"use strict"; (function(module) { if (typeof define === 'function' && define.amd) { define(['exports'], function(exports) { module(exports); }); } else if (typeof exports === 'object' && exports !== null && typeof exports.nodeName !== 'string') { module(exports); } else { module(typeof self !== 'undefined' ? self : this); } }(function($rt_exports) { let $rt_seed = 2463534242, $rt_nextId = () => { let x = $rt_seed; x ^= x << 13; x ^= x >>> 17; x ^= x << 5; $rt_seed = x; return x; }, $rt_wrapFunction0 = f => function() { return f(this); }, $rt_wrapFunction1 = f => function(p1) { return f(this, p1); }, $rt_wrapFunction2 = f => function(p1, p2) { return f(this, p1, p2); }, $rt_wrapFunction3 = f => function(p1, p2, p3) { return f(this, p1, p2, p3, p3); }, $rt_wrapFunction4 = f => function(p1, p2, p3, p4) { return f(this, p1, p2, p3, p4); }, $rt_mainStarter = f => (args, callback) => { if (!args) { args = []; } let javaArgs = $rt_createArray($rt_objcls(), args.length); for (let i = 0;i < args.length;++i) { javaArgs.data[i] = $rt_str(args[i]); } $rt_startThread(() => { f.call(null, javaArgs); }, callback); }, $rt_eraseClinit = target => target.$clinit = () => { }, $dbg_class = obj => { let cls = obj.constructor; let arrayDegree = 0; while (cls.$meta && cls.$meta.item) { ++arrayDegree; cls = cls.$meta.item; } let clsName = ""; if (cls.$meta.primitive) { clsName = cls.$meta.name; } else { clsName = cls.$meta ? cls.$meta.name || "a/" + cls.name : "@" + cls.name; } while (arrayDegree-- > 0) { clsName += "[]"; } return clsName; }, $rt_classWithoutFields = superclass => { if (superclass === 0) { return function() { }; } if (superclass === void 0) { superclass = $rt_objcls(); } return function() { superclass.call(this); }; }, $rt_cls = cls => jl_Class_getClass(cls), $rt_objcls = () => jl_Object, $rt_getThread = () => { { return jl_Thread_currentThread0(); } }, $rt_setThread = t => { { return jl_Thread_setCurrentThread(t); } }, $rt_createcls = () => { return { $array : null, classObject : null, $meta : { supertypes : [], superclass : null } }; }, $rt_createPrimitiveCls = (name, binaryName) => { let cls = $rt_createcls(); cls.$meta.primitive = true; cls.$meta.name = name; cls.$meta.binaryName = binaryName; cls.$meta.enum = false; cls.$meta.item = null; cls.$meta.simpleName = null; cls.$meta.declaringClass = null; cls.$meta.enclosingClass = null; return cls; }, $rt_booleancls = $rt_createPrimitiveCls("boolean", "Z"), $rt_charcls = $rt_createPrimitiveCls("char", "C"), $rt_bytecls = $rt_createPrimitiveCls("byte", "B"), $rt_shortcls = $rt_createPrimitiveCls("short", "S"), $rt_intcls = $rt_createPrimitiveCls("int", "I"), $rt_longcls = $rt_createPrimitiveCls("long", "J"), $rt_floatcls = $rt_createPrimitiveCls("float", "F"), $rt_doublecls = $rt_createPrimitiveCls("double", "D"), $rt_voidcls = $rt_createPrimitiveCls("void", "V"), $rt_numberConversionBuffer = new ArrayBuffer(16), $rt_numberConversionView = new DataView($rt_numberConversionBuffer), $rt_numberConversionFloatArray = new Float32Array($rt_numberConversionBuffer), $rt_numberConversionDoubleArray = new Float64Array($rt_numberConversionBuffer), $rt_numberConversionIntArray = new Int32Array($rt_numberConversionBuffer), $rt_doubleToRawLongBits, $rt_longBitsToDouble; if (typeof BigInt !== 'function') { $rt_doubleToRawLongBits = n => { $rt_numberConversionView.setFloat64(0, n, true); return new Long($rt_numberConversionView.getInt32(0, true), $rt_numberConversionView.getInt32(4, true)); }; $rt_longBitsToDouble = n => { $rt_numberConversionView.setInt32(0, n.lo, true); $rt_numberConversionView.setInt32(4, n.hi, true); return $rt_numberConversionView.getFloat64(0, true); }; } else if (typeof BigInt64Array !== 'function') { $rt_doubleToRawLongBits = n => { $rt_numberConversionView.setFloat64(0, n, true); let lo = $rt_numberConversionView.getInt32(0, true); let hi = $rt_numberConversionView.getInt32(4, true); return BigInt.asIntN(64, BigInt.asUintN(32, BigInt(lo)) | BigInt(hi) << BigInt(32)); }; $rt_longBitsToDouble = n => { $rt_numberConversionView.setFloat64(0, n, true); let lo = $rt_numberConversionView.getInt32(0, true); let hi = $rt_numberConversionView.getInt32(4, true); return BigInt.asIntN(64, BigInt.asUintN(32, BigInt(lo)) | BigInt(hi) << BigInt(32)); }; } else { let $rt_numberConversionLongArray = new BigInt64Array($rt_numberConversionBuffer); $rt_doubleToRawLongBits = n => { $rt_numberConversionDoubleArray[0] = n; return $rt_numberConversionLongArray[0]; }; $rt_longBitsToDouble = n => { $rt_numberConversionLongArray[0] = n; return $rt_numberConversionDoubleArray[0]; }; } let $rt_floatToRawIntBits = n => { $rt_numberConversionFloatArray[0] = n; return $rt_numberConversionIntArray[0]; }, $rt_intBitsToFloat = n => { $rt_numberConversionIntArray[0] = n; return $rt_numberConversionFloatArray[0]; }, $rt_equalDoubles = (a, b) => { if (a !== a) { return b !== b; } $rt_numberConversionDoubleArray[0] = a; $rt_numberConversionDoubleArray[1] = b; return $rt_numberConversionIntArray[0] === $rt_numberConversionIntArray[2] && $rt_numberConversionIntArray[1] === $rt_numberConversionIntArray[3]; }, $rt_compare = (a, b) => a > b ? 1 : a < b ? -1 : a === b ? 0 : 1, $rt_imul = Math.imul || function(a, b) { let ah = a >>> 16 & 0xFFFF; let al = a & 0xFFFF; let bh = b >>> 16 & 0xFFFF; let bl = b & 0xFFFF; return al * bl + (ah * bl + al * bh << 16 >>> 0) | 0; }, $rt_udiv = (a, b) => (a >>> 0) / (b >>> 0) >>> 0, $rt_umod = (a, b) => (a >>> 0) % (b >>> 0) >>> 0, $rt_ucmp = (a, b) => { a >>>= 0; b >>>= 0; return a < b ? -1 : a > b ? 1 : 0; }; function Long(lo, hi) { this.lo = lo | 0; this.hi = hi | 0; } Long.prototype.__teavm_class__ = () => { return "long"; }; let Long_isPositive = a => (a.hi & 0x80000000) === 0, Long_isNegative = a => (a.hi & 0x80000000) !== 0, Long_MAX_NORMAL = 1 << 18, Long_ZERO, Long_create, Long_fromInt, Long_fromNumber, Long_toNumber, Long_hi, Long_lo, Long_divRem; if (typeof BigInt !== "function") { Long.prototype.toString = function() { let result = []; let n = this; let positive = Long_isPositive(n); if (!positive) { n = Long_neg(n); } let radix = new Long(10, 0); do { let divRem = Long_divRem(n, radix); result.push(String.fromCharCode(48 + divRem[1].lo)); n = divRem[0]; }while (n.lo !== 0 || n.hi !== 0); result = (result.reverse()).join(''); return positive ? result : "-" + result; }; Long.prototype.valueOf = function() { return Long_toNumber(this); }; Long_ZERO = new Long(0, 0); Long_fromInt = val => new Long(val, -(val < 0) | 0); Long_fromNumber = val => val >= 0 ? new Long(val | 0, val / 0x100000000 | 0) : Long_neg(new Long( -val | 0, -val / 0x100000000 | 0)); Long_create = (lo, hi) => new Long(lo, hi); Long_toNumber = val => 0x100000000 * val.hi + (val.lo >>> 0); Long_hi = val => val.hi; Long_lo = val => val.lo; } else { Long_ZERO = BigInt(0); Long_create = (lo, hi) => BigInt.asIntN(64, BigInt.asUintN(64, BigInt(lo)) | BigInt.asUintN(64, BigInt(hi) << BigInt(32))); Long_fromInt = val => BigInt.asIntN(64, BigInt(val | 0)); Long_fromNumber = val => BigInt.asIntN(64, BigInt(val >= 0 ? Math.floor(val) : Math.ceil(val))); Long_toNumber = val => Number(val); Long_hi = val => Number(BigInt.asIntN(64, val >> BigInt(32))) | 0; Long_lo = val => Number(BigInt.asIntN(32, val)) | 0; } let Long_eq, Long_ne, Long_gt, Long_ge, Long_lt, Long_le, Long_compare, Long_ucompare, Long_add, Long_sub, Long_inc, Long_mul, Long_div, Long_rem, Long_udiv, Long_urem, Long_neg, Long_and, Long_or, Long_xor, Long_shl, Long_shr, Long_shru; if (typeof BigInt !== 'function') { Long_eq = (a, b) => a.hi === b.hi && a.lo === b.lo; Long_ne = (a, b) => a.hi !== b.hi || a.lo !== b.lo; Long_gt = (a, b) => { if (a.hi < b.hi) { return false; } if (a.hi > b.hi) { return true; } let x = a.lo >>> 1; let y = b.lo >>> 1; if (x !== y) { return x > y; } return (a.lo & 1) > (b.lo & 1); }; Long_ge = (a, b) => { if (a.hi < b.hi) { return false; } if (a.hi > b.hi) { return true; } let x = a.lo >>> 1; let y = b.lo >>> 1; if (x !== y) { return x >= y; } return (a.lo & 1) >= (b.lo & 1); }; Long_lt = (a, b) => { if (a.hi > b.hi) { return false; } if (a.hi < b.hi) { return true; } let x = a.lo >>> 1; let y = b.lo >>> 1; if (x !== y) { return x < y; } return (a.lo & 1) < (b.lo & 1); }; Long_le = (a, b) => { if (a.hi > b.hi) { return false; } if (a.hi < b.hi) { return true; } let x = a.lo >>> 1; let y = b.lo >>> 1; if (x !== y) { return x <= y; } return (a.lo & 1) <= (b.lo & 1); }; Long_add = (a, b) => { if (a.hi === a.lo >> 31 && b.hi === b.lo >> 31) { return Long_fromNumber(a.lo + b.lo); } else if (Math.abs(a.hi) < Long_MAX_NORMAL && Math.abs(b.hi) < Long_MAX_NORMAL) { return Long_fromNumber(Long_toNumber(a) + Long_toNumber(b)); } let a_lolo = a.lo & 0xFFFF; let a_lohi = a.lo >>> 16; let a_hilo = a.hi & 0xFFFF; let a_hihi = a.hi >>> 16; let b_lolo = b.lo & 0xFFFF; let b_lohi = b.lo >>> 16; let b_hilo = b.hi & 0xFFFF; let b_hihi = b.hi >>> 16; let lolo = a_lolo + b_lolo | 0; let lohi = a_lohi + b_lohi + (lolo >> 16) | 0; let hilo = a_hilo + b_hilo + (lohi >> 16) | 0; let hihi = a_hihi + b_hihi + (hilo >> 16) | 0; return new Long(lolo & 0xFFFF | (lohi & 0xFFFF) << 16, hilo & 0xFFFF | (hihi & 0xFFFF) << 16); }; Long_inc = a => { let lo = a.lo + 1 | 0; let hi = a.hi; if (lo === 0) { hi = hi + 1 | 0; } return new Long(lo, hi); }; Long_neg = a => Long_inc(new Long(a.lo ^ 0xFFFFFFFF, a.hi ^ 0xFFFFFFFF)); Long_sub = (a, b) => { if (a.hi === a.lo >> 31 && b.hi === b.lo >> 31) { return Long_fromNumber(a.lo - b.lo); } let a_lolo = a.lo & 0xFFFF; let a_lohi = a.lo >>> 16; let a_hilo = a.hi & 0xFFFF; let a_hihi = a.hi >>> 16; let b_lolo = b.lo & 0xFFFF; let b_lohi = b.lo >>> 16; let b_hilo = b.hi & 0xFFFF; let b_hihi = b.hi >>> 16; let lolo = a_lolo - b_lolo | 0; let lohi = a_lohi - b_lohi + (lolo >> 16) | 0; let hilo = a_hilo - b_hilo + (lohi >> 16) | 0; let hihi = a_hihi - b_hihi + (hilo >> 16) | 0; return new Long(lolo & 0xFFFF | (lohi & 0xFFFF) << 16, hilo & 0xFFFF | (hihi & 0xFFFF) << 16); }; Long_compare = (a, b) => { let r = a.hi - b.hi; if (r !== 0) { return r; } r = (a.lo >>> 1) - (b.lo >>> 1); if (r !== 0) { return r; } return (a.lo & 1) - (b.lo & 1); }; Long_ucompare = (a, b) => { let r = $rt_ucmp(a.hi, b.hi); if (r !== 0) { return r; } r = (a.lo >>> 1) - (b.lo >>> 1); if (r !== 0) { return r; } return (a.lo & 1) - (b.lo & 1); }; Long_mul = (a, b) => { let positive = Long_isNegative(a) === Long_isNegative(b); if (Long_isNegative(a)) { a = Long_neg(a); } if (Long_isNegative(b)) { b = Long_neg(b); } let a_lolo = a.lo & 0xFFFF; let a_lohi = a.lo >>> 16; let a_hilo = a.hi & 0xFFFF; let a_hihi = a.hi >>> 16; let b_lolo = b.lo & 0xFFFF; let b_lohi = b.lo >>> 16; let b_hilo = b.hi & 0xFFFF; let b_hihi = b.hi >>> 16; let lolo = 0; let lohi = 0; let hilo = 0; let hihi = 0; lolo = a_lolo * b_lolo | 0; lohi = lolo >>> 16; lohi = (lohi & 0xFFFF) + a_lohi * b_lolo | 0; hilo = hilo + (lohi >>> 16) | 0; lohi = (lohi & 0xFFFF) + a_lolo * b_lohi | 0; hilo = hilo + (lohi >>> 16) | 0; hihi = hilo >>> 16; hilo = (hilo & 0xFFFF) + a_hilo * b_lolo | 0; hihi = hihi + (hilo >>> 16) | 0; hilo = (hilo & 0xFFFF) + a_lohi * b_lohi | 0; hihi = hihi + (hilo >>> 16) | 0; hilo = (hilo & 0xFFFF) + a_lolo * b_hilo | 0; hihi = hihi + (hilo >>> 16) | 0; hihi = hihi + a_hihi * b_lolo + a_hilo * b_lohi + a_lohi * b_hilo + a_lolo * b_hihi | 0; let result = new Long(lolo & 0xFFFF | lohi << 16, hilo & 0xFFFF | hihi << 16); return positive ? result : Long_neg(result); }; Long_div = (a, b) => { if (Math.abs(a.hi) < Long_MAX_NORMAL && Math.abs(b.hi) < Long_MAX_NORMAL) { return Long_fromNumber(Long_toNumber(a) / Long_toNumber(b)); } return (Long_divRem(a, b))[0]; }; Long_udiv = (a, b) => { if (a.hi >= 0 && a.hi < Long_MAX_NORMAL && b.hi >= 0 && b.hi < Long_MAX_NORMAL) { return Long_fromNumber(Long_toNumber(a) / Long_toNumber(b)); } return (Long_udivRem(a, b))[0]; }; Long_rem = (a, b) => { if (Math.abs(a.hi) < Long_MAX_NORMAL && Math.abs(b.hi) < Long_MAX_NORMAL) { return Long_fromNumber(Long_toNumber(a) % Long_toNumber(b)); } return (Long_divRem(a, b))[1]; }; Long_urem = (a, b) => { if (a.hi >= 0 && a.hi < Long_MAX_NORMAL && b.hi >= 0 && b.hi < Long_MAX_NORMAL) { return Long_fromNumber(Long_toNumber(a) / Long_toNumber(b)); } return (Long_udivRem(a, b))[1]; }; Long_divRem = (a, b) => { if (b.lo === 0 && b.hi === 0) { throw new Error("Division by zero"); } let positive = Long_isNegative(a) === Long_isNegative(b); if (Long_isNegative(a)) { a = Long_neg(a); } if (Long_isNegative(b)) { b = Long_neg(b); } a = new LongInt(a.lo, a.hi, 0); b = new LongInt(b.lo, b.hi, 0); let q = LongInt_div(a, b); a = new Long(a.lo, a.hi); q = new Long(q.lo, q.hi); return positive ? [q, a] : [Long_neg(q), Long_neg(a)]; }; let Long_udivRem = (a, b) => { if (b.lo === 0 && b.hi === 0) { throw new Error("Division by zero"); } a = new LongInt(a.lo, a.hi, 0); b = new LongInt(b.lo, b.hi, 0); let q = LongInt_div(a, b); a = new Long(a.lo, a.hi); q = new Long(q.lo, q.hi); return [q, a]; }; Long_and = (a, b) => new Long(a.lo & b.lo, a.hi & b.hi); Long_or = (a, b) => new Long(a.lo | b.lo, a.hi | b.hi); Long_xor = (a, b) => new Long(a.lo ^ b.lo, a.hi ^ b.hi); Long_shl = (a, b) => { b &= 63; if (b === 0) { return a; } else if (b < 32) { return new Long(a.lo << b, a.lo >>> 32 - b | a.hi << b); } else if (b === 32) { return new Long(0, a.lo); } else { return new Long(0, a.lo << b - 32); } }; Long_shr = (a, b) => { b &= 63; if (b === 0) { return a; } else if (b < 32) { return new Long(a.lo >>> b | a.hi << 32 - b, a.hi >> b); } else if (b === 32) { return new Long(a.hi, a.hi >> 31); } else { return new Long(a.hi >> b - 32, a.hi >> 31); } }; Long_shru = (a, b) => { b &= 63; if (b === 0) { return a; } else if (b < 32) { return new Long(a.lo >>> b | a.hi << 32 - b, a.hi >>> b); } else if (b === 32) { return new Long(a.hi, 0); } else { return new Long(a.hi >>> b - 32, 0); } }; function LongInt(lo, hi, sup) { this.lo = lo; this.hi = hi; this.sup = sup; } let LongInt_mul = (a, b) => { let a_lolo = (a.lo & 0xFFFF) * b | 0; let a_lohi = (a.lo >>> 16) * b | 0; let a_hilo = (a.hi & 0xFFFF) * b | 0; let a_hihi = (a.hi >>> 16) * b | 0; let sup = a.sup * b | 0; a_lohi = a_lohi + (a_lolo >>> 16) | 0; a_hilo = a_hilo + (a_lohi >>> 16) | 0; a_hihi = a_hihi + (a_hilo >>> 16) | 0; sup = sup + (a_hihi >>> 16) | 0; a.lo = a_lolo & 0xFFFF | a_lohi << 16; a.hi = a_hilo & 0xFFFF | a_hihi << 16; a.sup = sup & 0xFFFF; }; let LongInt_sub = (a, b) => { let a_lolo = a.lo & 0xFFFF; let a_lohi = a.lo >>> 16; let a_hilo = a.hi & 0xFFFF; let a_hihi = a.hi >>> 16; let b_lolo = b.lo & 0xFFFF; let b_lohi = b.lo >>> 16; let b_hilo = b.hi & 0xFFFF; let b_hihi = b.hi >>> 16; a_lolo = a_lolo - b_lolo | 0; a_lohi = a_lohi - b_lohi + (a_lolo >> 16) | 0; a_hilo = a_hilo - b_hilo + (a_lohi >> 16) | 0; a_hihi = a_hihi - b_hihi + (a_hilo >> 16) | 0; let sup = a.sup - b.sup + (a_hihi >> 16) | 0; a.lo = a_lolo & 0xFFFF | a_lohi << 16; a.hi = a_hilo & 0xFFFF | a_hihi << 16; a.sup = sup; }; let LongInt_add = (a, b) => { let a_lolo = a.lo & 0xFFFF; let a_lohi = a.lo >>> 16; let a_hilo = a.hi & 0xFFFF; let a_hihi = a.hi >>> 16; let b_lolo = b.lo & 0xFFFF; let b_lohi = b.lo >>> 16; let b_hilo = b.hi & 0xFFFF; let b_hihi = b.hi >>> 16; a_lolo = a_lolo + b_lolo | 0; a_lohi = a_lohi + b_lohi + (a_lolo >> 16) | 0; a_hilo = a_hilo + b_hilo + (a_lohi >> 16) | 0; a_hihi = a_hihi + b_hihi + (a_hilo >> 16) | 0; let sup = a.sup + b.sup + (a_hihi >> 16) | 0; a.lo = a_lolo & 0xFFFF | a_lohi << 16; a.hi = a_hilo & 0xFFFF | a_hihi << 16; a.sup = sup; }; let LongInt_ucompare = (a, b) => { let r = a.sup - b.sup; if (r !== 0) { return r; } r = (a.hi >>> 1) - (b.hi >>> 1); if (r !== 0) { return r; } r = (a.hi & 1) - (b.hi & 1); if (r !== 0) { return r; } r = (a.lo >>> 1) - (b.lo >>> 1); if (r !== 0) { return r; } return (a.lo & 1) - (b.lo & 1); }; let LongInt_numOfLeadingZeroBits = a => { let n = 0; let d = 16; while (d > 0) { if (a >>> d !== 0) { a >>>= d; n = n + d | 0; } d = d / 2 | 0; } return 31 - n; }; let LongInt_shl = (a, b) => { if (b === 0) { return; } if (b < 32) { a.sup = (a.hi >>> 32 - b | a.sup << b) & 0xFFFF; a.hi = a.lo >>> 32 - b | a.hi << b; a.lo <<= b; } else if (b === 32) { a.sup = a.hi & 0xFFFF; a.hi = a.lo; a.lo = 0; } else if (b < 64) { a.sup = (a.lo >>> 64 - b | a.hi << b - 32) & 0xFFFF; a.hi = a.lo << b; a.lo = 0; } else if (b === 64) { a.sup = a.lo & 0xFFFF; a.hi = 0; a.lo = 0; } else { a.sup = a.lo << b - 64 & 0xFFFF; a.hi = 0; a.lo = 0; } }; let LongInt_shr = (a, b) => { if (b === 0) { return; } if (b === 32) { a.lo = a.hi; a.hi = a.sup; a.sup = 0; } else if (b < 32) { a.lo = a.lo >>> b | a.hi << 32 - b; a.hi = a.hi >>> b | a.sup << 32 - b; a.sup >>>= b; } else if (b === 64) { a.lo = a.sup; a.hi = 0; a.sup = 0; } else if (b < 64) { a.lo = a.hi >>> b - 32 | a.sup << 64 - b; a.hi = a.sup >>> b - 32; a.sup = 0; } else { a.lo = a.sup >>> b - 64; a.hi = 0; a.sup = 0; } }; let LongInt_copy = a => new LongInt(a.lo, a.hi, a.sup); let LongInt_div = (a, b) => { let bits = b.hi !== 0 ? LongInt_numOfLeadingZeroBits(b.hi) : LongInt_numOfLeadingZeroBits(b.lo) + 32; let sz = 1 + (bits / 16 | 0); let dividentBits = bits % 16; LongInt_shl(b, bits); LongInt_shl(a, dividentBits); let q = new LongInt(0, 0, 0); while (sz-- > 0) { LongInt_shl(q, 16); let digitA = (a.hi >>> 16) + 0x10000 * a.sup; let digitB = b.hi >>> 16; let digit = digitA / digitB | 0; let t = LongInt_copy(b); LongInt_mul(t, digit); if (LongInt_ucompare(t, a) >= 0) { while (LongInt_ucompare(t, a) > 0) { LongInt_sub(t, b); --digit; } } else { while (true) { let nextT = LongInt_copy(t); LongInt_add(nextT, b); if (LongInt_ucompare(nextT, a) > 0) { break; } t = nextT; ++digit; } } LongInt_sub(a, t); q.lo |= digit; LongInt_shl(a, 16); } LongInt_shr(a, bits + 16); return q; }; } else { Long_eq = (a, b) => a === b; Long_ne = (a, b) => a !== b; Long_gt = (a, b) => a > b; Long_ge = (a, b) => a >= b; Long_lt = (a, b) => a < b; Long_le = (a, b) => a <= b; Long_add = (a, b) => BigInt.asIntN(64, a + b); Long_inc = a => BigInt.asIntN(64, a + 1); Long_neg = a => BigInt.asIntN(64, -a); Long_sub = (a, b) => BigInt.asIntN(64, a - b); Long_compare = (a, b) => a < b ? -1 : a > b ? 1 : 0; Long_ucompare = (a, b) => { a = BigInt.asUintN(64, a); b = BigInt.asUintN(64, b); return a < b ? -1 : a > b ? 1 : 0; }; Long_mul = (a, b) => BigInt.asIntN(64, a * b); Long_div = (a, b) => BigInt.asIntN(64, a / b); Long_udiv = (a, b) => BigInt.asIntN(64, BigInt.asUintN(64, a) / BigInt.asUintN(64, b)); Long_rem = (a, b) => BigInt.asIntN(64, a % b); Long_urem = (a, b) => BigInt.asIntN(64, BigInt.asUintN(64, a) % BigInt.asUintN(64, b)); Long_and = (a, b) => BigInt.asIntN(64, a & b); Long_or = (a, b) => BigInt.asIntN(64, a | b); Long_xor = (a, b) => BigInt.asIntN(64, a ^ b); Long_shl = (a, b) => BigInt.asIntN(64, a << BigInt(b & 63)); Long_shr = (a, b) => BigInt.asIntN(64, a >> BigInt(b & 63)); Long_shru = (a, b) => BigInt.asIntN(64, BigInt.asUintN(64, a) >> BigInt(b & 63)); } let $rt_createArray = (cls, sz) => { let data = new Array(sz); data.fill(null); return new ($rt_arraycls(cls))(data); }, $rt_wrapArray = (cls, data) => new ($rt_arraycls(cls))(data), $rt_createUnfilledArray = (cls, sz) => new ($rt_arraycls(cls))(new Array(sz)), $rt_createLongArray, $rt_createLongArrayFromData; if (typeof BigInt64Array !== 'function') { $rt_createLongArray = sz => { let data = new Array(sz); let arr = new $rt_longArrayCls(data); data.fill(Long_ZERO); return arr; }; $rt_createLongArrayFromData = init => new $rt_longArrayCls(init); } else { $rt_createLongArray = sz => new $rt_longArrayCls(new BigInt64Array(sz)); $rt_createLongArrayFromData = data => { let buffer = new BigInt64Array(data.length); buffer.set(data); return new $rt_longArrayCls(buffer); }; } let $rt_createCharArray = sz => new $rt_charArrayCls(new Uint16Array(sz)), $rt_createCharArrayFromData = data => { let buffer = new Uint16Array(data.length); buffer.set(data); return new $rt_charArrayCls(buffer); }, $rt_createByteArray = sz => new $rt_byteArrayCls(new Int8Array(sz)), $rt_createByteArrayFromData = data => { let buffer = new Int8Array(data.length); buffer.set(data); return new $rt_byteArrayCls(buffer); }, $rt_createShortArray = sz => new $rt_shortArrayCls(new Int16Array(sz)), $rt_createShortArrayFromData = data => { let buffer = new Int16Array(data.length); buffer.set(data); return new $rt_shortArrayCls(buffer); }, $rt_createIntArray = sz => new $rt_intArrayCls(new Int32Array(sz)), $rt_createIntArrayFromData = data => { let buffer = new Int32Array(data.length); buffer.set(data); return new $rt_intArrayCls(buffer); }, $rt_createBooleanArray = sz => new $rt_booleanArrayCls(new Int8Array(sz)), $rt_createBooleanArrayFromData = data => { let buffer = new Int8Array(data.length); buffer.set(data); return new $rt_booleanArrayCls(buffer); }, $rt_createFloatArray = sz => new $rt_floatArrayCls(new Float32Array(sz)), $rt_createFloatArrayFromData = data => { let buffer = new Float32Array(data.length); buffer.set(data); return new $rt_floatArrayCls(buffer); }, $rt_createDoubleArray = sz => new $rt_doubleArrayCls(new Float64Array(sz)), $rt_createDoubleArrayFromData = data => { let buffer = new Float64Array(data.length); buffer.set(data); return new $rt_doubleArrayCls(buffer); }, $rt_arraycls = cls => { let result = cls.$array; if (result === null) { function JavaArray(data) { ($rt_objcls()).call(this); this.data = data; } JavaArray.prototype = Object.create(($rt_objcls()).prototype); JavaArray.prototype.type = cls; JavaArray.prototype.constructor = JavaArray; JavaArray.prototype.toString = function() { let str = "["; for (let i = 0;i < this.data.length;++i) { if (i > 0) { str += ", "; } str += this.data[i].toString(); } str += "]"; return str; }; JavaArray.prototype.$clone0 = function() { let dataCopy; if ('slice' in this.data) { dataCopy = this.data.slice(); } else { dataCopy = new this.data.constructor(this.data.length); for (let i = 0;i < dataCopy.length;++i) { dataCopy[i] = this.data[i]; } } return new ($rt_arraycls(this.type))(dataCopy); }; let name = "[" + cls.$meta.binaryName; JavaArray.$meta = { item : cls, supertypes : [$rt_objcls()], primitive : false, superclass : $rt_objcls(), name : name, binaryName : name, enum : false, simpleName : null, declaringClass : null, enclosingClass : null }; JavaArray.classObject = null; JavaArray.$array = null; result = JavaArray; cls.$array = JavaArray; } return result; }, $rt_createMultiArray = (cls, dimensions) => { let first = 0; for (let i = dimensions.length - 1;i >= 0;i = i - 1 | 0) { if (dimensions[i] === 0) { first = i; break; } } if (first > 0) { for (let i = 0;i < first;i = i + 1 | 0) { cls = $rt_arraycls(cls); } if (first === dimensions.length - 1) { return $rt_createArray(cls, dimensions[first]); } } let arrays = new Array($rt_primitiveArrayCount(dimensions, first)); let firstDim = dimensions[first] | 0; for (let i = 0;i < arrays.length;i = i + 1 | 0) { arrays[i] = $rt_createArray(cls, firstDim); } return $rt_createMultiArrayImpl(cls, arrays, dimensions, first); }, $rt_createIntMultiArray = dimensions => { let arrays = new Array($rt_primitiveArrayCount(dimensions, 0)); if (arrays.length === 0) { return $rt_createMultiArray($rt_intcls, dimensions); } let firstDim = dimensions[0] | 0; for (let i = 0;i < arrays.length;i = i + 1 | 0) { arrays[i] = $rt_createIntArray(firstDim); } return $rt_createMultiArrayImpl($rt_intcls, arrays, dimensions, 0); }, $rt_createFloatMultiArray = dimensions => { let arrays = new Array($rt_primitiveArrayCount(dimensions, 0)); if (arrays.length === 0) { return $rt_createMultiArray($rt_floatcls, dimensions); } let firstDim = dimensions[0] | 0; for (let i = 0;i < arrays.length;i = i + 1 | 0) { arrays[i] = $rt_createFloatArray(firstDim); } return $rt_createMultiArrayImpl($rt_floatcls, arrays, dimensions, 0); }, $rt_createDoubleMultiArray = dimensions => { let arrays = new Array($rt_primitiveArrayCount(dimensions, 0)); if (arrays.length === 0) { return $rt_createMultiArray($rt_doublecls, dimensions); } let firstDim = dimensions[0] | 0; for (let i = 0;i < arrays.length;i = i + 1 | 0) { arrays[i] = $rt_createDoubleArray(firstDim); } return $rt_createMultiArrayImpl($rt_doublecls, arrays, dimensions, 0); }, $rt_primitiveArrayCount = (dimensions, start) => { let val = dimensions[start + 1] | 0; for (let i = start + 2;i < dimensions.length;i = i + 1 | 0) { val = val * (dimensions[i] | 0) | 0; if (val === 0) { break; } } return val; }, $rt_createMultiArrayImpl = (cls, arrays, dimensions, start) => { let limit = arrays.length; for (let i = start + 1 | 0;i < dimensions.length;i = i + 1 | 0) { cls = $rt_arraycls(cls); let dim = dimensions[i]; let index = 0; let packedIndex = 0; while (index < limit) { let arr = $rt_createUnfilledArray(cls, dim); for (let j = 0;j < dim;j = j + 1 | 0) { arr.data[j] = arrays[index]; index = index + 1 | 0; } arrays[packedIndex] = arr; packedIndex = packedIndex + 1 | 0; } limit = packedIndex; } return arrays[0]; }, $rt_stringPool_instance, $rt_stringPool = strings => { $rt_stringClassInit(); $rt_stringPool_instance = new Array(strings.length); for (let i = 0;i < strings.length;++i) { $rt_stringPool_instance[i] = $rt_intern($rt_str(strings[i])); } }, $rt_s = index => $rt_stringPool_instance[index], $rt_charArrayToString = (array, offset, count) => { let result = ""; let limit = offset + count; for (let i = offset;i < limit;i = i + 1024 | 0) { let next = Math.min(limit, i + 1024 | 0); result += String.fromCharCode.apply(null, array.subarray(i, next)); } return result; }, $rt_fullArrayToString = array => $rt_charArrayToString(array, 0, array.length), $rt_fastStringToCharArray = string => { let array = new Uint16Array(string.length); for (let i = 0;i < array.length;++i) { array[i] = string.charCodeAt(i); } return new $rt_charArrayCls(array); }, $rt_str = str => str === null ? null : jl_String__init_(str), $rt_ustr = str => str === null ? null : str.$nativeString, $rt_stringClassInit = () => (() => {})(), $rt_intern; { $rt_intern = str => str; } let $rt_isInstance = (obj, cls) => obj instanceof $rt_objcls() && !!obj.constructor.$meta && $rt_isAssignable(obj.constructor, cls), $rt_isAssignable = (from, to) => { if (from === to) { return true; } let map = from.$meta.assignableCache; if (typeof map === 'undefined') { map = new Map(); from.$meta.assignableCache = map; } let cachedResult = map.get(to); if (typeof cachedResult !== 'undefined') { return cachedResult; } if (to.$meta.item !== null) { let result = from.$meta.item !== null && $rt_isAssignable(from.$meta.item, to.$meta.item); map.set(to, result); return result; } let supertypes = from.$meta.supertypes; for (let i = 0;i < supertypes.length;i = i + 1 | 0) { if ($rt_isAssignable(supertypes[i], to)) { map.set(to, true); return true; } } map.set(to, false); return false; }, $rt_throw = ex => { throw $rt_exception(ex); }, $rt_javaExceptionProp = Symbol("javaException"), $rt_exception = ex => { let err = ex.$jsException; if (!err) { let javaCause = $rt_throwableCause(ex); let jsCause = javaCause !== null ? javaCause.$jsException : void 0; let cause = typeof jsCause === "object" ? { cause : jsCause } : void 0; err = new JavaError("Java exception thrown", cause); if (typeof Error.captureStackTrace === "function") { Error.captureStackTrace(err); } err[$rt_javaExceptionProp] = ex; ex.$jsException = err; $rt_fillStack(err, ex); } return err; }, $rt_fillStack = (err, ex) => { if (typeof $rt_decodeStack === "function" && err.stack) { let stack = $rt_decodeStack(err.stack); let javaStack = $rt_createArray($rt_stecls(), stack.length); let elem; let noStack = false; for (let i = 0;i < stack.length;++i) { let element = stack[i]; elem = $rt_createStackElement($rt_str(element.className), $rt_str(element.methodName), $rt_str(element.fileName), element.lineNumber); if (elem == null) { noStack = true; break; } javaStack.data[i] = elem; } if (!noStack) { $rt_setStack(ex, javaStack); } } }, JavaError; if (typeof Reflect === 'object') { let defaultMessage = Symbol("defaultMessage"); JavaError = function JavaError(message, cause) { let self = Reflect.construct(Error, [void 0, cause], JavaError); Object.setPrototypeOf(self, JavaError.prototype); self[defaultMessage] = message; return self; } ; JavaError.prototype = Object.create(Error.prototype, { constructor : { configurable : true, writable : true, value : JavaError }, message : { get() { try { let javaException = this[$rt_javaExceptionProp]; if (typeof javaException === 'object') { let javaMessage = $rt_throwableMessage(javaException); if (typeof javaMessage === "object") { return javaMessage !== null ? javaMessage.toString() : null; } } return this[defaultMessage]; } catch (e){ return "Exception occurred trying to extract Java exception message: " + e; } } } }); } else { JavaError = Error; } let $rt_javaException = e => e instanceof Error && typeof e[$rt_javaExceptionProp] === 'object' ? e[$rt_javaExceptionProp] : null, $rt_jsException = e => typeof e.$jsException === 'object' ? e.$jsException : null, $rt_wrapException = err => { let ex = err[$rt_javaExceptionProp]; if (!ex) { ex = $rt_createException($rt_str("(JavaScript) " + err.toString())); err[$rt_javaExceptionProp] = ex; ex.$jsException = err; $rt_fillStack(err, ex); } return ex; }, $rt_createException = message => jl_RuntimeException__init_1(message), $rt_throwableMessage = t => jl_Throwable_getMessage(t), $rt_throwableCause = t => jl_Throwable_getCause(t), $rt_stecls = () => jl_StackTraceElement, $rt_createStackElement = (className, methodName, fileName, lineNumber) => { { return null; } }, $rt_setStack = (e, stack) => { }, $rt_createOutputFunction = outputFunction => { let buffer = ""; return msg => { let index = 0; while (true) { let next = msg.indexOf('\n', index); if (next < 0) { break; } outputFunction(buffer + msg.substring(index, next)); buffer = ""; index = next + 1; } buffer += msg.substring(index); }; }, $rt_putStdout = typeof $rt_putStdoutCustom === "function" ? $rt_putStdoutCustom : typeof console === "object" ? $rt_createOutputFunction(msg => console.info(msg)) : () => { }, $rt_putStderr = typeof $rt_putStderrCustom === "function" ? $rt_putStderrCustom : typeof console === "object" ? $rt_createOutputFunction(msg => console.error(msg)) : () => { }, $rt_packageData = null, $rt_packages = data => { let i = 0; let packages = new Array(data.length); for (let j = 0;j < data.length;++j) { let prefixIndex = data[i++]; let prefix = prefixIndex >= 0 ? packages[prefixIndex] : ""; packages[j] = prefix + data[i++] + "."; } $rt_packageData = packages; }, $rt_metadata = data => { let packages = $rt_packageData; let i = 0; while (i < data.length) { let cls = data[i++]; cls.$meta = { }; let m = cls.$meta; let className = data[i++]; m.name = className !== 0 ? className : null; if (m.name !== null) { let packageIndex = data[i++]; if (packageIndex >= 0) { m.name = packages[packageIndex] + m.name; } } m.binaryName = "L" + m.name + ";"; let superclass = data[i++]; m.superclass = superclass !== 0 ? superclass : null; m.supertypes = data[i++]; if (m.superclass) { m.supertypes.push(m.superclass); cls.prototype = Object.create(m.superclass.prototype); } else { cls.prototype = { }; } let flags = data[i++]; m.enum = (flags & 8) !== 0; m.flags = flags; m.primitive = false; m.item = null; cls.prototype.constructor = cls; cls.classObject = null; m.accessLevel = data[i++]; let innerClassInfo = data[i++]; if (innerClassInfo === 0) { m.simpleName = null; m.declaringClass = null; m.enclosingClass = null; } else { let enclosingClass = innerClassInfo[0]; m.enclosingClass = enclosingClass !== 0 ? enclosingClass : null; let declaringClass = innerClassInfo[1]; m.declaringClass = declaringClass !== 0 ? declaringClass : null; let simpleName = innerClassInfo[2]; m.simpleName = simpleName !== 0 ? simpleName : null; } let clinit = data[i++]; cls.$clinit = clinit !== 0 ? clinit : function() { }; let virtualMethods = data[i++]; if (virtualMethods !== 0) { for (let j = 0;j < virtualMethods.length;j += 2) { let name = virtualMethods[j]; let func = virtualMethods[j + 1]; if (typeof name === 'string') { name = [name]; } for (let k = 0;k < name.length;++k) { cls.prototype[name[k]] = func; } } } cls.$array = null; } }; function TeaVMThread(runner) { this.status = 3; this.stack = []; this.suspendCallback = null; this.runner = runner; this.attribute = null; this.completeCallback = null; } TeaVMThread.prototype.push = function() { for (let i = 0;i < arguments.length;++i) { this.stack.push(arguments[i]); } return this; }; TeaVMThread.prototype.s = TeaVMThread.prototype.push; TeaVMThread.prototype.pop = function() { return this.stack.pop(); }; TeaVMThread.prototype.l = TeaVMThread.prototype.pop; TeaVMThread.prototype.isResuming = function() { return this.status === 2; }; TeaVMThread.prototype.isSuspending = function() { return this.status === 1; }; TeaVMThread.prototype.suspend = function(callback) { this.suspendCallback = callback; this.status = 1; }; TeaVMThread.prototype.start = function(callback) { if (this.status !== 3) { throw new Error("Thread already started"); } if ($rt_currentNativeThread !== null) { throw new Error("Another thread is running"); } this.status = 0; this.completeCallback = callback ? callback : result => { if (result instanceof Error) { throw result; } }; this.run(); }; TeaVMThread.prototype.resume = function() { if ($rt_currentNativeThread !== null) { throw new Error("Another thread is running"); } this.status = 2; this.run(); }; TeaVMThread.prototype.run = function() { $rt_currentNativeThread = this; let result; try { result = this.runner(); } catch (e){ result = e; } finally { $rt_currentNativeThread = null; } if (this.suspendCallback !== null) { let self = this; let callback = this.suspendCallback; this.suspendCallback = null; callback(() => self.resume()); } else if (this.status === 0) { this.completeCallback(result); } }; let $rt_suspending = () => { let thread = $rt_nativeThread(); return thread != null && thread.isSuspending(); }, $rt_resuming = () => { let thread = $rt_nativeThread(); return thread != null && thread.isResuming(); }, $rt_startThread = (runner, callback) => (new TeaVMThread(runner)).start(callback), $rt_currentNativeThread = null, $rt_nativeThread = () => $rt_currentNativeThread, $rt_invalidPointer = () => { throw new Error("Invalid recorded state"); }; function jl_Object() { this.$monitor = null; this.$id$ = 0; } let jl_Object_monitorEnterSync = $o => { let var$2; if ($o.$monitor === null) { var$2 = new jl_Object$Monitor; var$2.$owner = jl_Thread_currentThread; $o.$monitor = var$2; } $o = $o.$monitor; var$2 = $o.$owner; if (var$2 === null) $o.$owner = jl_Thread_currentThread; else if (var$2 !== jl_Thread_currentThread) { var$2 = new jl_IllegalStateException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(0); $rt_throw(var$2); } $o.$count1 = $o.$count1 + 1 | 0; }, jl_Object_monitorExitSync = $o => { let var$2, var$3; if (!jl_Object_isEmptyMonitor($o)) { var$2 = $o.$monitor; if (var$2.$owner === jl_Thread_currentThread) { var$3 = var$2.$count1 - 1 | 0; var$2.$count1 = var$3; if (!var$3) var$2.$owner = null; jl_Object_isEmptyMonitor($o); return; } } $o = new jl_IllegalMonitorStateException; $o.$suppressionEnabled = 1; $o.$writableStackTrace = 1; $rt_throw($o); }, jl_Object_monitorEnter = $o => { jl_Object_monitorEnter0($o, 1); }, jl_Object_monitorEnter0 = ($o, $count) => { let var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$count = $thread.pop();$o = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($o.$monitor === null) { var$3 = new jl_Object$Monitor; var$3.$owner = jl_Thread_currentThread; $o.$monitor = var$3; } var$3 = $o.$monitor; if (var$3.$owner === null) var$3.$owner = jl_Thread_currentThread; if (var$3.$owner === jl_Thread_currentThread) { var$3.$count1 = var$3.$count1 + $count | 0; return; } $ptr = 1; case 1: jl_Object_monitorEnterWait$_asyncCall_$($o, $count); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($o, $count, var$3, $ptr); }, jl_Object_monitorEnterWait = ($o, $count, $callback) => { let $thread_0, $monitor, var$6; $thread_0 = jl_Thread_currentThread; $monitor = $o.$monitor; if ($monitor === null) { $monitor = new jl_Object$Monitor; $monitor.$owner = $thread_0; $o.$monitor = $monitor; if ($thread_0 !== $thread_0) jl_Thread_currentThread = $thread_0; jl_Thread_currentThread.$timeSliceStart = jl_System_currentTimeMillis(); $o = $o.$monitor; $o.$count1 = $o.$count1 + $count | 0; $o = null; $callback.$realAsyncCallback.$complete($o); return; } if ($monitor.$owner === null) { $monitor.$owner = $thread_0; if ($thread_0 !== $thread_0) jl_Thread_currentThread = $thread_0; jl_Thread_currentThread.$timeSliceStart = jl_System_currentTimeMillis(); $o = $o.$monitor; $o.$count1 = $o.$count1 + $count | 0; $o = null; $callback.$realAsyncCallback.$complete($o); return; } if ($monitor.$enteringThreads === null) $monitor.$enteringThreads = otp_Platform_createQueueJs$js_body$_30(); $monitor = $monitor.$enteringThreads; var$6 = new jl_Object$monitorEnterWait$lambda$_6_0; var$6.$_05 = $thread_0; var$6.$_1 = $o; var$6.$_2 = $count; var$6.$_3 = $callback; $callback = var$6; $monitor.push($callback); }, jl_Object_monitorExit = $o => { jl_Object_monitorExit0($o, 1); }, jl_Object_monitorExit0 = ($o, $count) => { let $monitor; if (!jl_Object_isEmptyMonitor($o)) { $monitor = $o.$monitor; if ($monitor.$owner === jl_Thread_currentThread) { $count = $monitor.$count1 - $count | 0; $monitor.$count1 = $count; if ($count > 0) return; $monitor.$owner = null; $monitor = $monitor.$enteringThreads; if ($monitor !== null && !($monitor.length ? 0 : 1)) { $monitor = new jl_Object$monitorExit$lambda$_8_0; $monitor.$_03 = $o; otp_Platform_schedule($monitor, 0); } else jl_Object_isEmptyMonitor($o); return; } } $o = new jl_IllegalMonitorStateException; $o.$suppressionEnabled = 1; $o.$writableStackTrace = 1; $rt_throw($o); }, jl_Object_waitForOtherThreads = $o => { let $monitor, $r, var$4; if (!jl_Object_isEmptyMonitor($o)) { $monitor = $o.$monitor; if ($monitor.$owner === null) { $o = $monitor.$enteringThreads; if ($o !== null && !($o.length ? 0 : 1)) { $o = $monitor.$enteringThreads.shift(); otji_JSWrapper_$callClinit(); if ($o !== null && !($o instanceof $rt_objcls())) $o = otji_JSWrapper_wrap($o); $r = $o; $monitor.$enteringThreads = null; $o = $r.$_05; $monitor = $r.$_1; var$4 = $r.$_2; $r = $r.$_3; if (jl_Thread_currentThread !== $o) jl_Thread_currentThread = $o; jl_Thread_currentThread.$timeSliceStart = jl_System_currentTimeMillis(); $monitor = $monitor.$monitor; $monitor.$owner = $o; $monitor.$count1 = $monitor.$count1 + var$4 | 0; $o = null; $r.$realAsyncCallback.$complete($o); } return; } } }, jl_Object_isEmptyMonitor = $this => { let $monitor, var$2; $monitor = $this.$monitor; if ($monitor === null) return 1; a: { if ($monitor.$owner === null) { var$2 = $monitor.$enteringThreads; if (!(var$2 !== null && !(var$2.length ? 0 : 1))) { $monitor = $monitor.$notifyListeners; if ($monitor === null) break a; if ($monitor.length ? 0 : 1) break a; } } return 0; } $this.$monitor = null; return 1; }, jl_Object__init_ = $this => { return; }, jl_Object__init_0 = () => { let var_0 = new jl_Object(); jl_Object__init_(var_0); return var_0; }, jl_Object_getClass = $this => { let var$1, var$2; var$1 = $this.constructor; if (var$1 === null) var$2 = null; else { var$2 = var$1.classObject; if (var$2 === null) { var$2 = new jl_Class; var$2.$platformClass = var$1; var$1.classObject = var$2; } } return var$2; }, jl_Object_hashCode = $this => { let var$1; var$1 = $this; if (!var$1.$id$) var$1.$id$ = $rt_nextId(); return $this.$id$; }, jl_Object_equals = ($this, $other) => { return $this !== $other ? 0 : 1; }, jl_Object_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.constructor; if (var$1 === null) var$2 = null; else { var$2 = var$1.classObject; if (var$2 === null) { var$2 = new jl_Class; var$2.$platformClass = var$1; var$1.classObject = var$2; } } if (var$2.$name1 === null) var$2.$name1 = $rt_str(var$2.$platformClass.$meta.name); var$1 = var$2.$name1; var$3 = $this; if (!var$3.$id$) var$3.$id$ = $rt_nextId(); var$2 = otci_IntegerUtil_toUnsignedLogRadixString($this.$id$, 4); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$4 = var$3.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$1); var$5 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$5, var$5 + 1 | 0); var$3.$buffer.data[var$5] = 64; var$4 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$2); var$1 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; var$5 = var$3.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, jl_Object_identity = $this => { let $platformThis; $platformThis = $this; if (!$platformThis.$id$) $platformThis.$id$ = $rt_nextId(); return $this.$id$; }, jl_Object_clone = $this => { let $result; if (!$rt_isInstance($this, jl_Cloneable) && $this.constructor.$meta.item === null) { $result = new jl_CloneNotSupportedException; $result.$suppressionEnabled = 1; $result.$writableStackTrace = 1; $rt_throw($result); } $result = otp_Platform_clone($this); $result.$id$ = $rt_nextId(); return $result; }, jl_Object_monitorEnterWait$_asyncCall_$ = (var$1, var$2) => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { jl_Object_monitorEnterWait(var$1, var$2, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nle_Client = $rt_classWithoutFields(), nle_Client_rootElement = null, nle_Client_instance = null, nle_Client_crashScreenOptsDump = null, nle_Client_isCrashed = 0, nle_Client_$callClinit = () => { nle_Client_$callClinit = $rt_eraseClinit(nle_Client); nle_Client__clinit_(); }, nle_Client__init_ = $this => { nle_Client_$callClinit(); }, nle_Client__init_0 = () => { let var_0 = new nle_Client(); nle_Client__init_(var_0); return var_0; }, nle_Client_main = $args => { let $newArgs, $ex, var$4, var$5, var$6, var$7, var$8, var$9, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$ex = $thread.pop();$newArgs = $thread.pop();$args = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nle_Client_$callClinit(); $newArgs = $rt_str(nle_Client_getEaglerOpts$js_body$_2()); if ($newArgs !== null) { $ex = new jl_StringBuilder; $ex.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ex, $ex.$length0, $rt_s(2)); jl_AbstractStringBuilder_insert($ex, $ex.$length0, $newArgs); var$4 = new jl_String; $args = $ex.$buffer; var$5 = $args.data; var$6 = $ex.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString($args.data, 0, var$6); nle_Client_crashScreenOptsDump = var$4; try { $ex = oj_JSONObject__init_1($newArgs); $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof oj_JSONException) { $ex = $$je; } else { throw $$e; } } $newArgs = jl_Throwable_toString($ex); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3)); var$8 = var$4.$length0; if ($newArgs === null) $newArgs = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$8, $newArgs); var$9 = new jl_String; $args = var$4.$buffer; var$5 = $args.data; var$6 = var$4.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($args.data, 0, var$6); alert($rt_ustr(var$9)); jl_Throwable_printStackTrace0($ex); return; } $ex = new jl_IndexOutOfBoundsException; $ex.$suppressionEnabled = 1; $ex.$writableStackTrace = 1; $rt_throw($ex); } $ex = new jl_IndexOutOfBoundsException; $ex.$suppressionEnabled = 1; $ex.$writableStackTrace = 1; $rt_throw($ex); } $ptr = 1; case 1: nle_Client_oldMain(); if ($rt_suspending()) { break main; } return; case 2: a: { try { nle_Client_newMain($ex); if ($rt_suspending()) { break main; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof oj_JSONException) { $ex = $$je; break a; } else { throw $$e; } } return; } $newArgs = jl_Throwable_toString($ex); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3)); var$8 = var$4.$length0; if ($newArgs === null) $newArgs = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$8, $newArgs); var$9 = new jl_String; $args = var$4.$buffer; var$5 = $args.data; var$6 = var$4.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($args.data, 0, var$6); alert($rt_ustr(var$9)); jl_Throwable_printStackTrace0($ex); return; } $ex = new jl_IndexOutOfBoundsException; $ex.$suppressionEnabled = 1; $ex.$writableStackTrace = 1; $rt_throw($ex); default: $rt_invalidPointer(); }} $rt_nativeThread().push($args, $newArgs, $ex, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nle_Client_newMain = $conf => { let $t, $serverWorkerURI, var$4, var$5, var$6, var$7, $containerEl, var$9, var$10, var$11, $assetsURI, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$assetsURI = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$containerEl = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$serverWorkerURI = $thread.pop();$t = $thread.pop();$conf = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nle_Client_$callClinit(); a: { $t = $rt_s(4); $serverWorkerURI = $conf.$map; if (!$t.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $t.$nativeString.length) break a; $t.$hashCode1 = (31 * $t.$hashCode1 | 0) + $t.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $t.$hashCode1; var$6 = $serverWorkerURI.$elementData.data; $serverWorkerURI = var$6[var$5 & (var$6.length - 1 | 0)]; while ($serverWorkerURI !== null) { if ($serverWorkerURI.$origKeyHash == var$5) { b: { var$7 = $serverWorkerURI.$key; if ($t !== var$7) { if ($t === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $t.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } $serverWorkerURI = $serverWorkerURI.$next3; } $serverWorkerURI = $serverWorkerURI === null ? null : $serverWorkerURI.$value1; if ($serverWorkerURI === null) { $conf = new oj_JSONException; oj_JSONObject_$callClinit(); $serverWorkerURI = new ji_StringWriter; $serverWorkerURI.$lock = $serverWorkerURI; var$7 = new jl_StringBuffer; var$7.$buffer = $rt_createCharArray(16); $serverWorkerURI.$buf0 = var$7; $serverWorkerURI.$lock = var$7; $ptr = 1; continue main; } if (!($serverWorkerURI instanceof jl_String)) { $serverWorkerURI = $rt_s(5); $conf = null; oj_JSONObject_$callClinit(); var$7 = new oj_JSONException; $containerEl = new ji_StringWriter; $containerEl.$lock = $containerEl; var$9 = new jl_StringBuffer; var$9.$buffer = $rt_createCharArray(16); $containerEl.$buf0 = var$9; $containerEl.$lock = var$9; $ptr = 2; continue main; } $containerEl = $serverWorkerURI; $t = window.document.getElementById($rt_ustr($containerEl)); nle_Client_rootElement = $t; if ($t === null) { $conf = new oj_JSONException; $t = new jl_StringBuilder; $t.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($t, $t.$length0, $rt_s(6)); var$4 = $t.$length0; if ($containerEl === null) $containerEl = $rt_s(1); jl_AbstractStringBuilder_insert($t, var$4, $containerEl); jl_AbstractStringBuilder_insert($t, $t.$length0, $rt_s(7)); $serverWorkerURI = new jl_String; var$6 = $t.$buffer; var$10 = var$6.data; var$11 = $t.$length0; var$5 = var$10.length; if (var$11 >= 0 && var$11 <= (var$5 - 0 | 0)) { $serverWorkerURI.$nativeString = $rt_charArrayToString(var$6.data, 0, var$11); $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $conf.$message = $serverWorkerURI; $rt_throw($conf); } $conf = new jl_IndexOutOfBoundsException; $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $rt_throw($conf); } c: { $t = null; var$7 = $conf.$map; if (!$rt_s(8).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(8).$nativeString.length) break c; $rt_s(8).$hashCode1 = (31 * $rt_s(8).$hashCode1 | 0) + $rt_s(8).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(8).$hashCode1; var$6 = var$7.$elementData.data; var$7 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$5) { d: { $containerEl = var$7.$key; if ($rt_s(8) !== $containerEl) { if ($rt_s(8) !== $containerEl) { if ($containerEl instanceof jl_String) { $containerEl = $containerEl; var$4 = $rt_s(8).$nativeString !== $containerEl.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$7 = var$7.$next3; } var$7 = var$7 === null ? null : var$7.$value1; oj_JSONObject_$callClinit(); $serverWorkerURI = oj_JSONObject_NULL; if (!(var$7 !== null && var$7 !== $serverWorkerURI ? 0 : 1)) $t = var$7.$toString(); e: { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_serverToJoinOnLaunch = $t; $t = $rt_s(9); $serverWorkerURI = $conf.$map; if (!$t.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $t.$nativeString.length) break e; $t.$hashCode1 = (31 * $t.$hashCode1 | 0) + $t.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $t.$hashCode1; var$6 = $serverWorkerURI.$elementData.data; $serverWorkerURI = var$6[var$5 & (var$6.length - 1 | 0)]; while ($serverWorkerURI !== null) { if ($serverWorkerURI.$origKeyHash == var$5) { f: { var$7 = $serverWorkerURI.$key; if ($t !== var$7) { if ($t === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $t.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break f; } } var$4 = 1; } if (var$4) break; } $serverWorkerURI = $serverWorkerURI.$next3; } $serverWorkerURI = $serverWorkerURI === null ? null : $serverWorkerURI.$value1; if ($serverWorkerURI === null) { $conf = new oj_JSONException; $serverWorkerURI = new ji_StringWriter; $serverWorkerURI.$lock = $serverWorkerURI; var$7 = new jl_StringBuffer; var$7.$buffer = $rt_createCharArray(16); $serverWorkerURI.$buf0 = var$7; $serverWorkerURI.$lock = var$7; $ptr = 3; continue main; } if ($serverWorkerURI instanceof jl_String) { g: { $assetsURI = $serverWorkerURI; if ($assetsURI.$nativeString.length > 256) { $serverWorkerURI = jl_String_substring($assetsURI, 0, 256); var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); var$4 = var$7.$length0; if ($serverWorkerURI === null) $serverWorkerURI = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, var$4, $serverWorkerURI); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(10)); $containerEl = new jl_String; var$6 = var$7.$buffer; var$10 = var$6.data; var$11 = var$7.$length0; var$5 = var$10.length; if (var$11 >= 0 && var$11 <= (var$5 - 0 | 0)) { $containerEl.$nativeString = $rt_charArrayToString(var$6.data, 0, var$11); if ($containerEl instanceof jl_Number && !oj_JSONObject_numberIsFinite($containerEl)) { $t = new oj_JSONException; $t.$suppressionEnabled = 1; $t.$writableStackTrace = 1; $t.$message = $rt_s(11); $rt_throw($t); } ju_HashMap_putImpl($conf.$map, $rt_s(9), $containerEl); h: { try { $t = oj_JSONObject_toString($conf, 0); break h; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } $t = null; } $serverWorkerURI = new jl_StringBuilder; $serverWorkerURI.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($serverWorkerURI, $serverWorkerURI.$length0, $rt_s(2)); var$4 = $serverWorkerURI.$length0; if ($t === null) $t = $rt_s(1); jl_AbstractStringBuilder_insert($serverWorkerURI, var$4, $t); $t = new jl_String; var$6 = $serverWorkerURI.$buffer; var$10 = var$6.data; var$11 = $serverWorkerURI.$length0; var$5 = var$10.length; if (var$11 >= 0 && var$11 <= (var$5 - 0 | 0)) { $t.$nativeString = $rt_charArrayToString(var$6.data, 0, var$11); nle_Client_crashScreenOptsDump = $t; break g; } $conf = new jl_IndexOutOfBoundsException; $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $rt_throw($conf); } $conf = new jl_IndexOutOfBoundsException; $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $rt_throw($conf); } } i: { $serverWorkerURI = $rt_s(12); var$7 = $conf.$map; if (!$rt_s(13).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(13).$nativeString.length) break i; $rt_s(13).$hashCode1 = (31 * $rt_s(13).$hashCode1 | 0) + $rt_s(13).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(13).$hashCode1; var$6 = var$7.$elementData.data; var$7 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$5) { j: { $containerEl = var$7.$key; if ($rt_s(13) !== $containerEl) { if ($rt_s(13) === $containerEl) var$4 = 1; else if (!($containerEl instanceof jl_String)) var$4 = 0; else { $containerEl = $containerEl; var$4 = $rt_s(13).$nativeString !== $containerEl.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break j; } } var$4 = 1; } if (var$4) break; } var$7 = var$7.$next3; } var$7 = var$7 === null ? null : var$7.$value1; $t = oj_JSONObject_NULL; if (!(var$7 !== null && var$7 !== $t ? 0 : 1)) $serverWorkerURI = var$7.$toString(); k: { var$7 = $rt_s(14); $containerEl = $conf.$map; if (!$rt_s(15).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(15).$nativeString.length) break k; $rt_s(15).$hashCode1 = (31 * $rt_s(15).$hashCode1 | 0) + $rt_s(15).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(15).$hashCode1; var$6 = $containerEl.$elementData.data; $containerEl = var$6[var$5 & (var$6.length - 1 | 0)]; while ($containerEl !== null) { if ($containerEl.$origKeyHash == var$5) { l: { var$9 = $containerEl.$key; if ($rt_s(15) !== var$9) { if ($rt_s(15) === var$9) var$4 = 1; else if (!(var$9 instanceof jl_String)) var$4 = 0; else { var$9 = var$9; var$4 = $rt_s(15).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break l; } } var$4 = 1; } if (var$4) break; } $containerEl = $containerEl.$next3; } $containerEl = $containerEl === null ? null : $containerEl.$value1; $t = oj_JSONObject_NULL; if (!($containerEl !== null && $containerEl !== $t ? 0 : 1)) var$7 = $containerEl.$toString(); nlea_EaglerAdapterImpl2_worldDatabaseName = var$7; nle_Client_setWindowErrorHandler$js_body$_11(otji_JS_function(new nle_Client$1, "call")); try { $t = nle_Client_rootElement; $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; } else { throw $$e; } } $conf = jl_Throwable_toString($t); $t = $rt_jsException($t); $t = $t === null ? $rt_s(16) : $rt_str($t.stack) === null ? $rt_s(16) : $rt_str($t.stack); $serverWorkerURI = new jl_StringBuilder; $serverWorkerURI.$buffer = $rt_createCharArray(16); var$4 = $serverWorkerURI.$length0; if ($conf === null) $conf = $rt_s(1); jl_AbstractStringBuilder_insert($serverWorkerURI, var$4, $conf); jl_AbstractStringBuilder_insert($serverWorkerURI, $serverWorkerURI.$length0, $rt_s(17)); var$4 = $serverWorkerURI.$length0; if ($t === null) $t = $rt_s(1); jl_AbstractStringBuilder_insert($serverWorkerURI, var$4, $t); $conf = new jl_String; var$6 = $serverWorkerURI.$buffer; var$10 = var$6.data; var$11 = $serverWorkerURI.$length0; var$5 = var$10.length; if (var$11 >= 0 && var$11 <= (var$5 - 0 | 0)) { $conf.$nativeString = $rt_charArrayToString(var$6.data, 0, var$11); nle_Client_showCrashScreen($conf); return; } $conf = new jl_IndexOutOfBoundsException; $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $rt_throw($conf); } $serverWorkerURI = $rt_s(5); $conf = null; var$7 = new oj_JSONException; $containerEl = new ji_StringWriter; $containerEl.$lock = $containerEl; var$9 = new jl_StringBuffer; var$9.$buffer = $rt_createCharArray(16); $containerEl.$buf0 = var$9; $containerEl.$lock = var$9; $ptr = 4; continue main; case 1: jl_Object_monitorEnter(var$7); if ($rt_suspending()) { break main; } a: { m: { try { n: { try { $t = ji_StringWriter_toString(oj_JSONObject_quote($t, $serverWorkerURI)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break n; } else { throw $$e; } } jl_Object_monitorExit(var$7); break a; } $t = $rt_s(18); jl_Object_monitorExit(var$7); break m; } catch ($$e) { $$je = $rt_wrapException($$e); $conf = $$je; } jl_Object_monitorExit(var$7); $rt_throw($conf); } } $serverWorkerURI = new jl_StringBuilder; $serverWorkerURI.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($serverWorkerURI, $serverWorkerURI.$length0, $rt_s(19)); var$4 = $serverWorkerURI.$length0; if ($t === null) $t = $rt_s(1); jl_AbstractStringBuilder_insert($serverWorkerURI, var$4, $t); jl_AbstractStringBuilder_insert($serverWorkerURI, $serverWorkerURI.$length0, $rt_s(20)); $t = new jl_String; var$6 = $serverWorkerURI.$buffer; var$10 = var$6.data; var$11 = $serverWorkerURI.$length0; var$5 = var$10.length; if (var$11 >= 0 && var$11 <= (var$5 - 0 | 0)) { $t.$nativeString = $rt_charArrayToString(var$6.data, 0, var$11); $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $conf.$message = $t; $rt_throw($conf); } $conf = new jl_IndexOutOfBoundsException; $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $rt_throw($conf); case 2: jl_Object_monitorEnter(var$9); if ($rt_suspending()) { break main; } a: { m: { try { n: { try { $t = ji_StringWriter_toString(oj_JSONObject_quote($t, $containerEl)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break n; } else { throw $$e; } } jl_Object_monitorExit(var$9); break a; } $t = $rt_s(18); jl_Object_monitorExit(var$9); break m; } catch ($$e) { $$je = $rt_wrapException($$e); $conf = $$je; } jl_Object_monitorExit(var$9); $rt_throw($conf); } } $containerEl = new jl_StringBuilder; $containerEl.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($containerEl, $containerEl.$length0, $rt_s(19)); var$4 = $containerEl.$length0; if ($t === null) $t = $rt_s(1); jl_AbstractStringBuilder_insert($containerEl, var$4, $t); jl_AbstractStringBuilder_insert($containerEl, $containerEl.$length0, $rt_s(21)); jl_AbstractStringBuilder_insert($containerEl, $containerEl.$length0, $serverWorkerURI); var$11 = $containerEl.$length0; jl_AbstractStringBuilder_insertSpace($containerEl, var$11, var$11 + 1 | 0); var$6 = $containerEl.$buffer; var$10 = var$6.data; var$10[var$11] = 46; $t = new jl_String; var$11 = $containerEl.$length0; var$5 = var$10.length; if (var$11 >= 0 && var$11 <= (var$5 - 0 | 0)) { $t.$nativeString = $rt_charArrayToString(var$6.data, 0, var$11); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $t; var$7.$cause = $conf; $rt_throw(var$7); } $conf = new jl_IndexOutOfBoundsException; $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $rt_throw($conf); case 3: jl_Object_monitorEnter(var$7); if ($rt_suspending()) { break main; } a: { m: { try { n: { try { $t = ji_StringWriter_toString(oj_JSONObject_quote($t, $serverWorkerURI)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break n; } else { throw $$e; } } jl_Object_monitorExit(var$7); break a; } $t = $rt_s(18); jl_Object_monitorExit(var$7); break m; } catch ($$e) { $$je = $rt_wrapException($$e); $conf = $$je; } jl_Object_monitorExit(var$7); $rt_throw($conf); } } $serverWorkerURI = new jl_StringBuilder; $serverWorkerURI.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($serverWorkerURI, $serverWorkerURI.$length0, $rt_s(19)); var$4 = $serverWorkerURI.$length0; if ($t === null) $t = $rt_s(1); jl_AbstractStringBuilder_insert($serverWorkerURI, var$4, $t); jl_AbstractStringBuilder_insert($serverWorkerURI, $serverWorkerURI.$length0, $rt_s(20)); $t = new jl_String; var$6 = $serverWorkerURI.$buffer; var$10 = var$6.data; var$11 = $serverWorkerURI.$length0; var$5 = var$10.length; if (var$11 >= 0 && var$11 <= (var$5 - 0 | 0)) { $t.$nativeString = $rt_charArrayToString(var$6.data, 0, var$11); $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $conf.$message = $t; $rt_throw($conf); } $conf = new jl_IndexOutOfBoundsException; $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $rt_throw($conf); case 4: jl_Object_monitorEnter(var$9); if ($rt_suspending()) { break main; } a: { m: { try { n: { try { $t = ji_StringWriter_toString(oj_JSONObject_quote($t, $containerEl)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break n; } else { throw $$e; } } jl_Object_monitorExit(var$9); break a; } $t = $rt_s(18); jl_Object_monitorExit(var$9); break m; } catch ($$e) { $$je = $rt_wrapException($$e); $conf = $$je; } jl_Object_monitorExit(var$9); $rt_throw($conf); } } $containerEl = new jl_StringBuilder; $containerEl.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($containerEl, $containerEl.$length0, $rt_s(19)); var$4 = $containerEl.$length0; if ($t === null) $t = $rt_s(1); jl_AbstractStringBuilder_insert($containerEl, var$4, $t); jl_AbstractStringBuilder_insert($containerEl, $containerEl.$length0, $rt_s(21)); jl_AbstractStringBuilder_insert($containerEl, $containerEl.$length0, $serverWorkerURI); var$11 = $containerEl.$length0; jl_AbstractStringBuilder_insertSpace($containerEl, var$11, var$11 + 1 | 0); var$6 = $containerEl.$buffer; var$10 = var$6.data; var$10[var$11] = 46; $t = new jl_String; var$11 = $containerEl.$length0; var$5 = var$10.length; if (var$11 >= 0 && var$11 <= (var$5 - 0 | 0)) { $t.$nativeString = $rt_charArrayToString(var$6.data, 0, var$11); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $t; var$7.$cause = $conf; $rt_throw(var$7); } $conf = new jl_IndexOutOfBoundsException; $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $rt_throw($conf); case 5: try { nlea_EaglerAdapterImpl2_initializeContext($t, $assetsURI, $serverWorkerURI); if ($rt_suspending()) { break main; } nms_ServerList_loadDefaultServers0($conf); $ptr = 6; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; } else { throw $$e; } } $conf = jl_Throwable_toString($t); $t = $rt_jsException($t); $t = $t === null ? $rt_s(16) : $rt_str($t.stack) === null ? $rt_s(16) : $rt_str($t.stack); $serverWorkerURI = new jl_StringBuilder; $serverWorkerURI.$buffer = $rt_createCharArray(16); var$4 = $serverWorkerURI.$length0; if ($conf === null) $conf = $rt_s(1); jl_AbstractStringBuilder_insert($serverWorkerURI, var$4, $conf); jl_AbstractStringBuilder_insert($serverWorkerURI, $serverWorkerURI.$length0, $rt_s(17)); var$4 = $serverWorkerURI.$length0; if ($t === null) $t = $rt_s(1); jl_AbstractStringBuilder_insert($serverWorkerURI, var$4, $t); $conf = new jl_String; var$6 = $serverWorkerURI.$buffer; var$10 = var$6.data; var$11 = $serverWorkerURI.$length0; var$5 = var$10.length; if (var$11 >= 0 && var$11 <= (var$5 - 0 | 0)) { $conf.$nativeString = $rt_charArrayToString(var$6.data, 0, var$11); nle_Client_showCrashScreen($conf); return; } $conf = new jl_IndexOutOfBoundsException; $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $rt_throw($conf); case 6: try { nle_AssetRepository_loadOverrides($conf); if ($rt_suspending()) { break main; } nle_LocalStorageManager_loadStorage(); $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; } else { throw $$e; } } $conf = jl_Throwable_toString($t); $t = $rt_jsException($t); $t = $t === null ? $rt_s(16) : $rt_str($t.stack) === null ? $rt_s(16) : $rt_str($t.stack); $serverWorkerURI = new jl_StringBuilder; $serverWorkerURI.$buffer = $rt_createCharArray(16); var$4 = $serverWorkerURI.$length0; if ($conf === null) $conf = $rt_s(1); jl_AbstractStringBuilder_insert($serverWorkerURI, var$4, $conf); jl_AbstractStringBuilder_insert($serverWorkerURI, $serverWorkerURI.$length0, $rt_s(17)); var$4 = $serverWorkerURI.$length0; if ($t === null) $t = $rt_s(1); jl_AbstractStringBuilder_insert($serverWorkerURI, var$4, $t); $conf = new jl_String; var$6 = $serverWorkerURI.$buffer; var$10 = var$6.data; var$11 = $serverWorkerURI.$length0; var$5 = var$10.length; if (var$11 >= 0 && var$11 <= (var$5 - 0 | 0)) { $conf.$nativeString = $rt_charArrayToString(var$6.data, 0, var$11); nle_Client_showCrashScreen($conf); return; } $conf = new jl_IndexOutOfBoundsException; $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $rt_throw($conf); case 7: a: { try { nle_Client_run0(); if ($rt_suspending()) { break main; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; break a; } else { throw $$e; } } return; } $conf = jl_Throwable_toString($t); $t = $rt_jsException($t); $t = $t === null ? $rt_s(16) : $rt_str($t.stack) === null ? $rt_s(16) : $rt_str($t.stack); $serverWorkerURI = new jl_StringBuilder; $serverWorkerURI.$buffer = $rt_createCharArray(16); var$4 = $serverWorkerURI.$length0; if ($conf === null) $conf = $rt_s(1); jl_AbstractStringBuilder_insert($serverWorkerURI, var$4, $conf); jl_AbstractStringBuilder_insert($serverWorkerURI, $serverWorkerURI.$length0, $rt_s(17)); var$4 = $serverWorkerURI.$length0; if ($t === null) $t = $rt_s(1); jl_AbstractStringBuilder_insert($serverWorkerURI, var$4, $t); $conf = new jl_String; var$6 = $serverWorkerURI.$buffer; var$10 = var$6.data; var$11 = $serverWorkerURI.$length0; var$5 = var$10.length; if (var$11 >= 0 && var$11 <= (var$5 - 0 | 0)) { $conf.$nativeString = $rt_charArrayToString(var$6.data, 0, var$11); nle_Client_showCrashScreen($conf); return; } $conf = new jl_IndexOutOfBoundsException; $conf.$suppressionEnabled = 1; $conf.$writableStackTrace = 1; $rt_throw($conf); default: $rt_invalidPointer(); }} $rt_nativeThread().push($conf, $t, $serverWorkerURI, var$4, var$5, var$6, var$7, $containerEl, var$9, var$10, var$11, $assetsURI, $ptr); }, nle_Client_oldMain = () => { let $e, $i, var$3, var$4, $sh, $t, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$t = $thread.pop();$sh = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$i = $thread.pop();$e = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nle_Client_$callClinit(); $e = otji_JS_unwrapStringArray(window.minecraftOpts); nle_Client_crashScreenOptsDump = $rt_s(22); $i = 0; a: { b: { while (true) { var$3 = $e.data; var$4 = var$3.length; if ($i >= var$4) { $sh = nle_Client_crashScreenOptsDump; $t = new jl_StringBuilder; $t.$buffer = $rt_createCharArray(16); $i = $t.$length0; if ($sh === null) $sh = $rt_s(1); jl_AbstractStringBuilder_insert($t, $i, $sh); jl_AbstractStringBuilder_insert($t, $t.$length0, $rt_s(23)); $sh = new jl_String; $e = $t.$buffer; var$7 = $e.data; var$8 = $t.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $sh.$nativeString = $rt_charArrayToString($e.data, 0, var$8); nle_Client_crashScreenOptsDump = $sh; nle_Client_setWindowErrorHandler$js_body$_11(otji_JS_function(new nle_Client$1, "call")); try { var$10 = window.document.getElementById($rt_ustr(var$3[0])); nle_Client_rootElement = var$10; $sh = var$3[1]; $t = $rt_s(12); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; } else { throw $$e; } } $sh = jl_Throwable_toString($t); $t = $rt_jsException($t); $t = $t === null ? $rt_s(16) : $rt_str($t.stack) === null ? $rt_s(16) : $rt_str($t.stack); var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); $i = var$10.$length0; if ($sh === null) $sh = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, $i, $sh); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(17)); $i = var$10.$length0; if ($t === null) $t = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, $i, $t); $sh = new jl_String; var$3 = var$10.$buffer; $e = var$3.data; var$4 = var$10.$length0; var$8 = $e.length; if (var$4 >= 0 && var$4 <= (var$8 - 0 | 0)) { $sh.$nativeString = $rt_charArrayToString(var$3.data, 0, var$4); nle_Client_showCrashScreen($sh); return; } $sh = new jl_IndexOutOfBoundsException; $sh.$suppressionEnabled = 1; $sh.$writableStackTrace = 1; $rt_throw($sh); } $sh = new jl_IndexOutOfBoundsException; $sh.$suppressionEnabled = 1; $sh.$writableStackTrace = 1; $rt_throw($sh); } if (var$3[$i].$nativeString.length <= 512) $sh = var$3[$i]; else { $sh = jl_String_substring(var$3[$i], 0, 512); var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); var$4 = var$11.$length0; if ($sh === null) $sh = $rt_s(1); jl_AbstractStringBuilder_insert(var$11, var$4, $sh); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(24)); $sh = new jl_String; var$3 = var$11.$buffer; var$7 = var$3.data; var$8 = var$11.$length0; var$12 = var$7.length; if (var$8 < 0) break a; if (var$8 > (var$12 - 0 | 0)) break a; $sh.$nativeString = $rt_charArrayToString(var$3.data, 0, var$8); } if ($i > 0) { var$13 = nle_Client_crashScreenOptsDump; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); var$4 = var$11.$length0; if (var$13 === null) var$13 = $rt_s(1); jl_AbstractStringBuilder_insert(var$11, var$4, var$13); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(25)); var$13 = new jl_String; var$3 = var$11.$buffer; var$7 = var$3.data; var$8 = var$11.$length0; var$12 = var$7.length; if (var$8 < 0) break b; if (var$8 > (var$12 - 0 | 0)) break b; var$13.$nativeString = $rt_charArrayToString(var$3.data, 0, var$8); nle_Client_crashScreenOptsDump = var$13; } var$13 = nle_Client_crashScreenOptsDump; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); var$4 = var$11.$length0; if (var$13 === null) var$13 = $rt_s(1); jl_AbstractStringBuilder_insert(var$11, var$4, var$13); var$4 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$4, var$4 + 1 | 0); var$11.$buffer.data[var$4] = 34; var$4 = var$11.$length0; if ($sh === null) $sh = $rt_s(1); jl_AbstractStringBuilder_insert(var$11, var$4, $sh); var$4 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$4, var$4 + 1 | 0); var$3 = var$11.$buffer; var$7 = var$3.data; var$7[var$4] = 34; $sh = new jl_String; var$8 = var$11.$length0; var$12 = var$7.length; if (var$8 < 0) break; if (var$8 > (var$12 - 0 | 0)) break; $sh.$nativeString = $rt_charArrayToString(var$3.data, 0, var$8); nle_Client_crashScreenOptsDump = $sh; $i = $i + 1 | 0; } $sh = new jl_IndexOutOfBoundsException; $sh.$suppressionEnabled = 1; $sh.$writableStackTrace = 1; $rt_throw($sh); } $sh = new jl_IndexOutOfBoundsException; $sh.$suppressionEnabled = 1; $sh.$writableStackTrace = 1; $rt_throw($sh); } $sh = new jl_IndexOutOfBoundsException; $sh.$suppressionEnabled = 1; $sh.$writableStackTrace = 1; $rt_throw($sh); case 1: try { nlea_EaglerAdapterImpl2_initializeContext(var$10, $sh, $t); if ($rt_suspending()) { break main; } nle_LocalStorageManager_loadStorage(); if (var$4 > 2 && jl_String_length(var$3[2]) > 0) nms_ServerList_loadDefaultServers(var$3[2]); if (var$4 > 3) nlea_EaglerAdapterImpl2_setServerToJoinOnLaunch(var$3[3]); $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; } else { throw $$e; } } $sh = jl_Throwable_toString($t); $t = $rt_jsException($t); $t = $t === null ? $rt_s(16) : $rt_str($t.stack) === null ? $rt_s(16) : $rt_str($t.stack); var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); $i = var$10.$length0; if ($sh === null) $sh = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, $i, $sh); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(17)); $i = var$10.$length0; if ($t === null) $t = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, $i, $t); $sh = new jl_String; var$3 = var$10.$buffer; $e = var$3.data; var$4 = var$10.$length0; var$8 = $e.length; if (var$4 >= 0 && var$4 <= (var$8 - 0 | 0)) { $sh.$nativeString = $rt_charArrayToString(var$3.data, 0, var$4); nle_Client_showCrashScreen($sh); return; } $sh = new jl_IndexOutOfBoundsException; $sh.$suppressionEnabled = 1; $sh.$writableStackTrace = 1; $rt_throw($sh); case 2: c: { try { nle_Client_run0(); if ($rt_suspending()) { break main; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; break c; } else { throw $$e; } } return; } $sh = jl_Throwable_toString($t); $t = $rt_jsException($t); $t = $t === null ? $rt_s(16) : $rt_str($t.stack) === null ? $rt_s(16) : $rt_str($t.stack); var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); $i = var$10.$length0; if ($sh === null) $sh = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, $i, $sh); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(17)); $i = var$10.$length0; if ($t === null) $t = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, $i, $t); $sh = new jl_String; var$3 = var$10.$buffer; $e = var$3.data; var$4 = var$10.$length0; var$8 = $e.length; if (var$4 >= 0 && var$4 <= (var$8 - 0 | 0)) { $sh.$nativeString = $rt_charArrayToString(var$3.data, 0, var$4); nle_Client_showCrashScreen($sh); return; } $sh = new jl_IndexOutOfBoundsException; $sh.$suppressionEnabled = 1; $sh.$writableStackTrace = 1; $rt_throw($sh); default: $rt_invalidPointer(); }} $rt_nativeThread().push($e, $i, var$3, var$4, $sh, $t, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nle_Client_run0 = () => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nle_Client_$callClinit(); if (jl_System_outCache === null) { var$1 = new otcic_JSStdoutPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$1; } $rt_putStdout(" -------- starting minecraft -------- "); $rt_putStdout("\n"); var$1 = nms_Minecraft__init_0(); nle_Client_instance = var$1; var$1.$running = 1; $ptr = 1; case 1: nms_Minecraft_startGame(var$1); if ($rt_suspending()) { break main; } if (!var$1.$running) { nlea_EaglerAdapterImpl2_$callClinit(); return; } $ptr = 2; case 2: nms_Minecraft_runGameLoop(var$1); if ($rt_suspending()) { break main; } if (!var$1.$running) { nlea_EaglerAdapterImpl2_$callClinit(); return; } continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$1, var$2, $ptr); }, nle_Client_showCrashScreen = $t => { let $str, var$3, var$4, $s, $doc, $img, var$8, var$9, var$10, $div, $$je; nle_Client_$callClinit(); a: { if (!nle_Client_isCrashed) { nle_Client_isCrashed = 1; $str = new jl_StringBuilder; $str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(26)); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(27)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(28)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(29)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(30)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(31)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(32)); nle_EaglerProfile_$callClinit(); $t = nle_EaglerProfile_username; jl_AbstractStringBuilder_insert($str, $str.$length0, $t); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(29)); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; $t = nle_Client_addWebGLToCrash(); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; $t = nle_Client_crashScreenOptsDump; jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(33)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(34)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getStringNav$js_body$_16("userAgent")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(33)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(36)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getStringNav$js_body$_16("vendor")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(33)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(37)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getStringNav$js_body$_16("language")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(33)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(38)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getStringNav$js_body$_16("hardwareConcurrency")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(33)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(39)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getStringNav$js_body$_16("deviceMemory")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(33)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(40)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getStringNav$js_body$_16("platform")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(33)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(41)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getStringNav$js_body$_16("product")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(42)); var$4 = nle_Client_rootElement.clientWidth; jl_AbstractStringBuilder_insert0($str, $str.$length0, var$4, 10); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(43)); var$4 = nle_Client_rootElement.clientHeight; jl_AbstractStringBuilder_insert0($str, $str.$length0, var$4, 10); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(44)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(45)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getString$js_body$_15("innerWidth")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(44)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(46)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getString$js_body$_15("innerHeight")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(44)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(47)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getString$js_body$_15("outerWidth")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(44)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(48)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getString$js_body$_15("outerHeight")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(44)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(49)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getString$js_body$_15("devicePixelRatio")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(50)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(51)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getStringScreen$js_body$_17("availWidth")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(50)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(52)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getStringScreen$js_body$_17("availHeight")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(50)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(53)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getStringScreen$js_body$_17("colorDepth")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(50)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(54)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getStringScreen$js_body$_17("pixelDepth")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(55)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(56)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getStringLocation$js_body$_18("href")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(57)); b: { try { $t = nle_Base64_encodeBase64String(nms_CompressedStreamTools_writeUncompressed(nle_LocalStorageManager_gameSettingsStorage)); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } $t = $rt_s(58); } jl_AbstractStringBuilder_insert($str, $str.$length0, $t); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(59)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(44)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(60)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(35)); $t = $rt_str(nle_Client_getString$js_body$_15("minecraftServer")); jl_AbstractStringBuilder_insert($str, $str.$length0, $t); var$3 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$3, var$3 + 1 | 0); $str.$buffer.data[var$3] = 10; $s = $rt_str(nle_Client_rootElement.getAttribute("style")); $t = nle_Client_rootElement; if ($s === null) $s = $rt_s(18); $doc = new jl_StringBuilder; $doc.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($doc, $doc.$length0, $s); jl_AbstractStringBuilder_insert($doc, $doc.$length0, $rt_s(61)); $img = new jl_String; var$8 = $doc.$buffer; var$9 = var$8.data; var$3 = $doc.$length0; var$10 = var$9.length; if (var$3 >= 0 && var$3 <= (var$10 - 0 | 0)) { $img.$nativeString = $rt_charArrayToString(var$8.data, 0, var$3); $t.setAttribute("style", $rt_ustr($img)); $doc = window.document; $img = $doc.createElement("img"); $div = $doc.createElement("div"); $img.setAttribute("style", "z-index:100;position:absolute;top:10px;left:calc(50% - 151px);"); $img.setAttribute("src", $rt_ustr(jl_String_substring($rt_s(62), 0, $rt_s(62).$nativeString.length))); $div.setAttribute("style", "z-index:100;position:absolute;top:135px;left:10%;right:10%;bottom:30px;background-color:white;border:1px solid #cccccc;overflow-x:hidden;overflow-y:scroll;overflow-wrap:break-word;white-space:pre-wrap;font: 14px monospace;padding:10px;"); nle_Client_rootElement.appendChild($img); nle_Client_rootElement.appendChild($div); $t = new jl_String; var$8 = $str.$buffer; var$9 = var$8.data; var$3 = $str.$length0; var$10 = var$9.length; if (var$3 >= 0 && var$3 <= (var$10 - 0 | 0)) { $t.$nativeString = $rt_charArrayToString(var$8.data, 0, var$3); $div.appendChild($doc.createTextNode($rt_ustr($t))); nlea_EaglerAdapterImpl2_removeEventHandlers(); break a; } $t = new jl_IndexOutOfBoundsException; $t.$suppressionEnabled = 1; $t.$writableStackTrace = 1; $rt_throw($t); } $t = new jl_IndexOutOfBoundsException; $t.$suppressionEnabled = 1; $t.$writableStackTrace = 1; $rt_throw($t); } } }, nle_Client_addWebGLToCrash = () => { let $ret, $ctx, var$3, var$4, var$5, var$6, var$7, var$8, var$9; nle_Client_$callClinit(); $ret = new jl_StringBuilder; $ret.$buffer = $rt_createCharArray(16); nlea_EaglerAdapterImpl2_$callClinit(); $ctx = nlea_EaglerAdapterImpl2_webgl; if ($ctx === null) { var$3 = window.document.createElement("canvas"); var$3.width = 64; var$3.height = 64; $ctx = var$3.getContext("webgl"); } if ($ctx === null) jl_AbstractStringBuilder_insert($ret, $ret.$length0, $rt_s(63)); else { if (nlea_EaglerAdapterImpl2_webgl !== null) { jl_AbstractStringBuilder_insert($ret, $ret.$length0, $rt_s(64)); var$3 = $rt_str($ctx.getParameter(7938)); jl_AbstractStringBuilder_insert($ret, $ret.$length0, var$3); var$4 = $ret.$length0; jl_AbstractStringBuilder_insertSpace($ret, var$4, var$4 + 1 | 0); $ret.$buffer.data[var$4] = 10; } a: { if ($ctx.getExtension("WEBGL_debug_renderer_info") !== null) { jl_AbstractStringBuilder_insert($ret, $ret.$length0, $rt_s(65)); var$3 = $rt_str($ctx.getParameter(37446)); jl_AbstractStringBuilder_insert($ret, $ret.$length0, var$3); var$4 = $ret.$length0; jl_AbstractStringBuilder_insertSpace($ret, var$4, var$4 + 1 | 0); $ret.$buffer.data[var$4] = 10; jl_AbstractStringBuilder_insert($ret, $ret.$length0, $rt_s(66)); $ctx = $rt_str($ctx.getParameter(37445)); jl_AbstractStringBuilder_insert($ret, $ret.$length0, $ctx); var$4 = $ret.$length0; jl_AbstractStringBuilder_insertSpace($ret, var$4, var$4 + 1 | 0); $ret.$buffer.data[var$4] = 10; } else { jl_AbstractStringBuilder_insert($ret, $ret.$length0, $rt_s(65)); var$3 = $rt_str($ctx.getParameter(7937)); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$6 = var$5.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$3); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(67)); var$3 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$4 = var$5.$length0; var$9 = var$8.length; if (var$4 >= 0 && var$4 <= (var$9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$4); jl_AbstractStringBuilder_insert($ret, $ret.$length0, var$3); var$4 = $ret.$length0; jl_AbstractStringBuilder_insertSpace($ret, var$4, var$4 + 1 | 0); $ret.$buffer.data[var$4] = 10; jl_AbstractStringBuilder_insert($ret, $ret.$length0, $rt_s(66)); $ctx = $rt_str($ctx.getParameter(7936)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$6 = var$3.$length0; if ($ctx === null) $ctx = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$6, $ctx); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(67)); $ctx = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$4 = var$3.$length0; var$9 = var$8.length; if (var$4 >= 0 && var$4 <= (var$9 - 0 | 0)) { $ctx.$nativeString = $rt_charArrayToString(var$7.data, 0, var$4); jl_AbstractStringBuilder_insert($ret, $ret.$length0, $ctx); var$4 = $ret.$length0; jl_AbstractStringBuilder_insertSpace($ret, var$4, var$4 + 1 | 0); $ret.$buffer.data[var$4] = 10; break a; } $ret = new jl_IndexOutOfBoundsException; $ret.$suppressionEnabled = 1; $ret.$writableStackTrace = 1; $rt_throw($ret); } $ret = new jl_IndexOutOfBoundsException; $ret.$suppressionEnabled = 1; $ret.$writableStackTrace = 1; $rt_throw($ret); } } jl_AbstractStringBuilder_insert($ret, $ret.$length0, $rt_s(68)); if (!nlea_DetectAnisotropicGlitch_known) { nlea_DetectAnisotropicGlitch_detected = nlea_DetectAnisotropicGlitch_detect(); nlea_DetectAnisotropicGlitch_known = 1; } var$4 = nlea_DetectAnisotropicGlitch_detected; jl_AbstractStringBuilder_insert($ret, $ret.$length0, !var$4 ? $rt_s(69) : $rt_s(70)); var$4 = $ret.$length0; jl_AbstractStringBuilder_insertSpace($ret, var$4, var$4 + 1 | 0); $ret.$buffer.data[var$4] = 10; } $ctx = new jl_String; var$7 = $ret.$buffer; var$8 = var$7.data; var$4 = $ret.$length0; var$9 = var$8.length; if (var$4 >= 0 && var$4 <= (var$9 - 0 | 0)) { $ctx.$nativeString = $rt_charArrayToString(var$7.data, 0, var$4); return $ctx; } $ret = new jl_IndexOutOfBoundsException; $ret.$suppressionEnabled = 1; $ret.$writableStackTrace = 1; $rt_throw($ret); }, nle_Client_showIncompatibleScreen = $t => { let $s, var$3, $doc, $img, var$6, var$7, var$8, var$9, $div, $r, $$je; nle_Client_$callClinit(); if (!nle_Client_isCrashed) { nle_Client_isCrashed = 1; $s = $rt_str(nle_Client_rootElement.getAttribute("style")); var$3 = nle_Client_rootElement; if ($s === null) $s = $rt_s(18); $doc = new jl_StringBuilder; $doc.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($doc, $doc.$length0, $s); jl_AbstractStringBuilder_insert($doc, $doc.$length0, $rt_s(61)); $img = new jl_String; var$6 = $doc.$buffer; var$7 = var$6.data; var$8 = $doc.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $img.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); var$3.setAttribute("style", $rt_ustr($img)); $doc = window.document; $img = $doc.createElement("img"); $div = $doc.createElement("div"); $img.setAttribute("style", "z-index:100;position:absolute;top:10px;left:calc(50% - 151px);"); $img.setAttribute("src", $rt_ustr(jl_String_substring($rt_s(62), 0, $rt_s(62).$nativeString.length))); $div.setAttribute("style", "z-index:100;position:absolute;top:135px;left:10%;right:10%;bottom:30px;background-color:white;border:1px solid #cccccc;overflow-x:hidden;overflow-y:scroll;font:18px sans-serif;padding:40px;"); nle_Client_rootElement.appendChild($img); nle_Client_rootElement.appendChild($div); $div.innerHTML = "

+ This device is incompatible with Eaglercraft :(

Issue:


Things you can try:

  1. Just try using Eaglercraft on a different device, it isn\'t a bug it\'s common sense
  2. If you are on a mobile device, please try a proper desktop or a laptop computer
  3. If you are using a device with no mouse cursor, please use a device with a mouse cursor
  4. If you are not using Chrome/Edge, try installing the latest Google Chrome
  5. If your browser is out of date, please update it to the latest version
  6. If you are using an old OS such as Windows 7, please try Windows 10 or 11
  7. If you have a GPU launched before 2009, WebGL 2.0 support may be impossible
"; $div.querySelector("#crashReason").appendChild($doc.createTextNode($rt_ustr($t))); $div.querySelector("#crashUserAgent").appendChild($doc.createTextNode($rt_ustr($rt_str(nle_Client_getStringNav$js_body$_16("userAgent"))))); nlea_EaglerAdapterImpl2_removeEventHandlers(); a: { try { $s = $rt_s(71); $t = window.document.createElement("canvas"); $t.width = 64; $t.height = 64; $r = $t.getContext("webgl"); if ($r === null) $r = $rt_s(71); else { $s = $rt_s(71); if ($r.getExtension("WEBGL_debug_renderer_info") !== null) { $s = $rt_s(71); $r = $rt_str($r.getParameter(37446)); } else { $s = $rt_s(71); $r = $rt_str($r.getParameter(7937)); if ($r !== null) { $s = $rt_s(71); $t = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append($t, $r), $rt_s(67)); $r = jl_StringBuilder_toString($t); $s = $rt_s(71); } } $s = $rt_s(71); if ($r === null) $r = $rt_s(71); else { $s = $r; $s = $rt_s(71); } } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } $r = $s; } $div.querySelector("#crashWebGL").appendChild($doc.createTextNode($rt_ustr($r))); } else { $t = new jl_IndexOutOfBoundsException; $t.$suppressionEnabled = 1; $t.$writableStackTrace = 1; $rt_throw($t); } } }, nle_Client__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; jl_String_EMPTY_CHARS = $rt_createCharArray(0); var$1 = new jl_String; var$1.$nativeString = ""; jl_String_EMPTY = var$1; jl_String_CASE_INSENSITIVE_ORDER = new jl_String$_clinit_$lambda$_115_0; jl_Integer_TYPE = $rt_cls($rt_intcls); jur_AbstractSet_counter = 1; jl_Character_TYPE = $rt_cls($rt_charcls); jl_Character_characterCache = $rt_createArray(jl_Character, 128); jur_AbstractCharClass$PredefinedCharacterClasses__clinit_(); jur_AbstractCharClass_charClasses = new jur_AbstractCharClass$PredefinedCharacterClasses; jl_Thread__clinit_(); nms_NBTBase__clinit_(); ju_Comparator$NaturalOrder_INSTANCE = new ju_Comparator$NaturalOrder; jl_Byte_TYPE = $rt_cls($rt_bytecls); var$2 = $rt_createArray(jl_Byte, 256); var$3 = var$2.data; var$4 = 0; var$5 = var$3.length; while (var$4 < var$5) { var$1 = new jl_Byte; var$1.$value2 = (var$4 - 128 | 0) << 24 >> 24; var$3[var$4] = var$1; var$4 = var$4 + 1 | 0; } jl_Byte_byteCache = var$2; jm_BigInteger__clinit_(); jl_Long_TYPE = $rt_cls($rt_longcls); jl_Float_TYPE = $rt_cls($rt_floatcls); jl_Double_TYPE = $rt_cls($rt_doublecls); var$1 = new jl_Boolean; var$1.$value9 = 1; jl_Boolean_TRUE = var$1; var$1 = new jl_Boolean; var$1.$value9 = 0; jl_Boolean_FALSE = var$1; jl_Boolean_TYPE = $rt_cls($rt_booleancls); jl_AbstractStringBuilder$Constants__clinit_(); otcit_FloatAnalyzer__clinit_(); otcit_DoubleAnalyzer__clinit_(); ju_Hashtable_EMPTY_ENUMERATION = new ju_Hashtable$1; ju_Hashtable_EMPTY_ITERATOR = new ju_Hashtable$2; jt_DecimalFormat__clinit_(); jm_RoundingMode__clinit_(); nms_MapColor__clinit_(); nms_EnumEnchantmentType__clinit_(); nms_BlockWood_woodType = $rt_wrapArray(jl_String, [$rt_s(72), $rt_s(73), $rt_s(74), $rt_s(75)]); nms_BlockSapling_WOOD_TYPES = $rt_wrapArray(jl_String, [$rt_s(72), $rt_s(73), $rt_s(74), $rt_s(75)]); nms_BlockLog_woodType = $rt_wrapArray(jl_String, [$rt_s(72), $rt_s(73), $rt_s(74), $rt_s(75)]); nms_BlockLeaves__clinit_(); var$1 = new nms_RegistryDefaulted; var$6 = new nms_BehaviorDefaultDispenseItem; var$1.$registryObjects = nms_RegistrySimple_func_111054_a(var$1); var$1.$defaultObject = var$6; nms_BlockDispenser_dispenseBehaviorRegistry = var$1; nms_BlockSandStone__clinit_(); nms_BlockBed__clinit_(); nms_BlockTallGrass_grassTypes = $rt_wrapArray(jl_String, [$rt_s(76), $rt_s(77), $rt_s(78)]); nms_BlockStep__clinit_(); nms_BlockStairs__clinit_(); nms_EnumMobType__clinit_(); nms_BlockRedstoneTorch__clinit_(); nms_BlockRedstoneRepeater__clinit_(); nms_BlockSilverfish_silverfishStoneTypes = $rt_wrapArray(jl_String, [$rt_s(79), $rt_s(80), $rt_s(81)]); nms_BlockStoneBrick__clinit_(); nms_BlockMushroomCap_field_94429_a = $rt_wrapArray(jl_String, [$rt_s(82), $rt_s(83)]); nms_BlockWoodSlab_woodType = $rt_wrapArray(jl_String, [$rt_s(72), $rt_s(73), $rt_s(74), $rt_s(75)]); nms_BlockWall_types = $rt_wrapArray(jl_String, [$rt_s(84), $rt_s(85)]); nms_BlockAnvil__clinit_(); nms_BlockQuartz__clinit_(); nms_EnumToolMaterial__clinit_(); var$1 = new jnci_UTF8Charset; var$2 = $rt_createArray(jl_String, 0); var$3 = var$2.data; jnc_Charset_checkCanonicalName($rt_s(86)); var$7 = var$3.length; var$4 = 0; while (var$4 < var$7) { jnc_Charset_checkCanonicalName(var$3[var$4]); var$4 = var$4 + 1 | 0; } var$1.$canonicalName = $rt_s(86); var$1.$aliases = var$2.$clone0(); jnci_UTF8Charset_INSTANCE = var$1; nms_ItemBow_bowPullIconNameArray = $rt_wrapArray(jl_String, [$rt_s(87), $rt_s(88), $rt_s(89)]); nms_SharedMonsterAttributes__clinit_(); nms_ItemArmor__clinit_(); nms_EnumArmorMaterial__clinit_(); var$1 = new nms_BehaviorDispenseMinecart; var$1.$behaviourDefaultDispenseItem = new nms_BehaviorDefaultDispenseItem; nms_ItemMinecart_dispenserMinecartBehavior = var$1; nms_ItemDye__clinit_(); nms_ItemPotion_field_77835_b = ju_LinkedHashMap__init_(); nms_ItemSkull__clinit_(); nms_ItemRecord__clinit_(); nms_AchievementMap__clinit_(); jl_Short_TYPE = $rt_cls($rt_shortcls); jm_Conversion__clinit_(); jt_DecimalFormat$Constants_doubleAnalysisResult = new otcit_DoubleAnalyzer$Result; jt_DecimalFormat$Constants_floatAnalysisResult = new otcit_FloatAnalyzer$Result; ju_Collections_EMPTY_SET = new ju_Collections$1; ju_Collections_EMPTY_MAP = new ju_Collections$2; ju_Collections_EMPTY_LIST = new ju_Collections$3; ju_Collections_EMPTY_ITERATOR = new ju_Collections$4; ju_Collections_EMPTY_LIST_ITERATOR = new ju_Collections$5; ju_Collections_reverseOrder = new ju_Collections$_clinit_$lambda$_59_0; nms_Score_field_96658_a = new nms_ScoreComparator; nms_MathHelper__clinit_(); jlr_Modifier__clinit_(); jl_Package__clinit_(); ju_Calendar__clinit_(); ju_GregorianCalendar__clinit_(); otcit_DateTimeZoneProvider__clinit_(); otcit_CachedDateTimeZone_cInfoCacheMask = 511; otcit_DateTimeZoneBuilder$RuleSet__clinit_(); nle_LocalStorageManager_achievementStorage = null; nle_LocalStorageManager_gameSettingsStorage = null; nle_LocalStorageManager_profileSettingsStorage = null; nle_AssetRepository_filePool = ju_HashMap__init_(); nle_AssetRepository_fileNameOverrides = ju_HashMap__init_(); nle_Base64__clinit_(); nle_BaseNCodec_CHUNK_SEPARATOR = $rt_createByteArrayFromData([13, 10]); nle_ConfigConstants__clinit_(); nms_ServerData_idCounter = 0; nms_Minecraft_memoryReserve = $rt_createByteArray(10485760); nms_Minecraft_debugChunkUpdates = 0; nms_Minecraft_debugChunkGeometryUpdates = 0; nle_EarlyLoadScreen_vbo = null; nle_EarlyLoadScreen_program = null; nleat_SelfDefence_canvas = null; nleat_SelfDefence_ignoreNextWindow = 0; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nleat_SelfDefence_capturedChildWindows = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nle_TextureLocation_locations = var$1; nms_Packet3Chat_maxChatLength = 119; nms_GLAllocation__clinit_(); nlea_DetectAnisotropicGlitch_known = 0; nlea_DetectAnisotropicGlitch_detected = 0; cjj_CRC32__clinit_(); var$1 = new jn_ByteOrder; var$1.$name17 = $rt_s(90); jn_ByteOrder_BIG_ENDIAN = var$1; var$1 = new jn_ByteOrder; var$1.$name17 = $rt_s(91); jn_ByteOrder_LITTLE_ENDIAN = var$1; nle_BaseNCodec$CodecPolicy__clinit_(); var$1 = new jnc_CodingErrorAction; var$1.$name10 = $rt_s(92); jnc_CodingErrorAction_IGNORE = var$1; var$1 = new jnc_CodingErrorAction; var$1.$name10 = $rt_s(93); jnc_CodingErrorAction_REPLACE = var$1; var$1 = new jnc_CodingErrorAction; var$1.$name10 = $rt_s(94); jnc_CodingErrorAction_REPORT = var$1; cjj_Inflate_mark = $rt_createByteArrayFromData([0, 0, (-1), (-1)]); var$1 = new jnc_CoderResult; var$1.$kind = 0; var$1.$length1 = 0; jnc_CoderResult_UNDERFLOW = var$1; var$1 = new jnc_CoderResult; var$1.$kind = 1; var$1.$length1 = 0; jnc_CoderResult_OVERFLOW = var$1; cjj_InfBlocks__clinit_(); cjj_InfTree__clinit_(); cjj_InfCodes__clinit_(); jl_ThreadLocal_NULL = new jl_Object; nms_AxisAlignedBB_theAABBLocalPool = new nms_AABBLocalPool; nle_IntegratedServer__clinit_(); nms_GameSettings__clinit_(); nms_RenderBlocks_fancyGrass = 1; nle_IntegratedServerLAN__clinit_(); nleg_FixedFunctionShader_instances = $rt_createArray(nleg_FixedFunctionShader, 4096); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nleg_FixedFunctionShader_instanceList = var$1; nleg_FixedFunctionShader_shaderSource = null; nlesrp_IPacketFFErrorCode__clinit_(); otcit_DoubleSynthesizer__clinit_(); var$3 = $rt_createArray(nleg_StreamBuffer$PoolInstance, 16); var$2 = var$3.data; nleg_StreamBuffer_pool = var$3; nleg_StreamBuffer_poolBufferID = 0; var$4 = 0; while (var$4 < 16) { var$1 = new nleg_StreamBuffer$PoolInstance; var$1.$vertexBuffer = null; var$1.$vertexBufferSize = 0; var$2[var$4] = var$1; var$4 = var$4 + 1 | 0; } var$2 = $rt_createArray(jl_String, 1); var$2.data[0] = $rt_s(95); nleav_VFile_altPathSeperator = var$2; nms_ChatAllowedCharacters__clinit_(); nms_ColorizerGrass_grassBuffer = $rt_createIntArray(65536); nms_ColorizerFoliage_foliageBuffer = $rt_createIntArray(65536); nms_GuiMultiplayer_threadsPending = 0; nms_GuiMultiplayer_lock = new jl_Object; nms_GuiMultiplayer_internetServerList = null; nms_GuiMultiplayer_lanServerList = null; nms_GuiMultiplayer_lastCooldown = Long_ZERO; nms_GuiMultiplayer_lastRefresh = Long_ZERO; nms_GuiMultiplayer_cooldownTimer = 0; nms_GuiMultiplayer_isLockedOut = 0; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_KeyBinding_keybindArray = var$1; nms_KeyBinding_hash = nms_IntHashMap__init_(); nms_EnumOptions__clinit_(); nle_EnumBrowser__clinit_(); nms_IMob_mobSelector = new nms_FilterIMob; nms_EntitySheep__clinit_(); nms_RenderBiped__clinit_(); nms_EntityWither_attackEntitySelector = new nms_EntityWitherAttackFilter; nms_EntityMinecart__clinit_(); nms_EntityHorse__clinit_(); nms_EnumMovingObjectType__clinit_(); nms_ModelSilverfish__clinit_(); var$1 = new nms_Vec3Pool; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$vec3Cache = var$6; var$1.$truncateArrayResetThreshold = (-1); var$1.$minimumSize = (-1); nms_Vec3_fakePool = var$1; nle_GuiScreenSingleplayerLoading_defaultTerminateAction = new nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_0; nle_GuiScreenSingleplayerLoading_defaultExceptionAction = new nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_1; nms_WorldProvider__clinit_(); nms_WorldGenBigTree__clinit_(); nms_EnumEntitySize__clinit_(); nms_Direction__clinit_(); nms_Facing__clinit_(); nlea_EaglerAdapterImpl2$RateLimit__clinit_(); nms_EnchantmentProtection__clinit_(); nms_EnchantmentDamage__clinit_(); nms_Packet51MapChunk_temp = $rt_createByteArray(196864); nms_Packet52MultiBlockChange_field_73449_e = $rt_createByteArray(0); nms_Packet56MapChunks_chunkDataNotCompressed = $rt_createByteArray(0); var$2 = $rt_createArray(jl_String, 4); var$3 = var$2.data; var$3[0] = $rt_s(96); var$3[1] = null; var$3[2] = null; var$3[3] = $rt_s(97); nms_Packet70GameEvent_clientMessage = var$2; nms_DamageSource__clinit_(); nle_RelayQuery$VersionMismatch__clinit_(); nms_EnumRarity__clinit_(); nms_EnumAction__clinit_(); nms_Chunk_totalBlockLightUpdates = 0; nms_PacketCount__clinit_(); nms_TileEntityFurnace__clinit_(); var$2 = $rt_createIntArray(1); var$2.data[0] = 3; nms_TileEntityBrewingStand_field_102017_a = var$2; nms_TileEntityBrewingStand_field_102016_b = $rt_createIntArrayFromData([0, 1, 2]); nms_EnumGameType__clinit_(); nle_GuiScreenLANConnect_lastCode = $rt_s(18); var$1 = new nleav_BooleanResult; var$1.$bool = 1; nleav_BooleanResult_TRUE = var$1; var$1 = new nleav_BooleanResult; var$1.$bool = 0; nleav_BooleanResult_FALSE = var$1; nms_WorldType__clinit_(); nms_EnumArt__clinit_(); nms_GuiCreateWorld__clinit_(); nms_MinecraftServer_mcServer = null; nms_EnumSkyBlock__clinit_(); nle_LANClientNetworkManager_initStateNames = $rt_wrapArray(jl_String, [$rt_s(98), $rt_s(99), $rt_s(100), $rt_s(101)]); nms_IEntitySelector_selectAnything = new nms_EntitySelectorAlive; nms_IEntitySelector_selectInventories = new nms_EntitySelectorInventory; nms_EnumCreatureAttribute__clinit_(); nms_EnumStatus__clinit_(); nlesrp_ICEServerSet$RelayType__clinit_(); cjj_Deflate__clinit_(); cjj_Tree__clinit_(); nms_IntCache__clinit_(); nle_Client_rootElement = null; nle_Client_instance = null; nle_Client_crashScreenOptsDump = null; nle_Client_isCrashed = 0; }, nle_Client_getEaglerOpts$js_body$_2 = () => { if (window.eaglercraftOpts) { return typeof window.eaglercraftOpts === "string" ? window.eaglercraftOpts : JSON.stringify(window.eaglercraftOpts); } else { return null; } }, nle_Client_setWindowErrorHandler$js_body$_11 = var$1 => { window.addEventListener("error", function(e) { var$1(typeof e.message === "string" ? e.message : null, typeof e.filename === "string" ? e.filename : null, typeof e.lineno === "number" ? e.lineno : 0, typeof e.colno === "number" ? e.colno : 0, typeof e.error === "undefined" ? null : e.error); }); }, nle_Client_getString$js_body$_15 = var$1 => { try { return "" + window[var$1]; } catch (e){ return ""; } }, nle_Client_getStringNav$js_body$_16 = var$1 => { try { return "" + window.navigator[var$1]; } catch (e){ return ""; } }, nle_Client_getStringScreen$js_body$_17 = var$1 => { try { return "" + window.screen[var$1]; } catch (e){ return ""; } }, nle_Client_getStringLocation$js_body$_18 = var$1 => { try { return "" + window.location[var$1]; } catch (e){ return ""; } }, jlr_AnnotatedElement = $rt_classWithoutFields(0), jlr_Type = $rt_classWithoutFields(0); function jl_Class() { let a = this; jl_Object.call(a); a.$name1 = null; a.$simpleName = null; a.$platformClass = null; a.$declaredMethods = null; } let jl_Class_reflectionInitialized = 0, jl_Class__init_0 = ($this, var$1) => { let var$2; $this.$platformClass = var$1; var$2 = $this; var$1.classObject = var$2; }, jl_Class__init_ = var_0 => { let var_1 = new jl_Class(); jl_Class__init_0(var_1, var_0); return var_1; }, jl_Class_getClass = $cls => { let $result; if ($cls === null) return null; $result = $cls.classObject; if ($result === null) { $result = new jl_Class; $result.$platformClass = $cls; $cls.classObject = $result; } return $result; }, jl_Class_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = (!($this.$platformClass.$meta.flags & 2) ? 0 : 1) ? $rt_s(102) : !($this.$platformClass.$meta.primitive ? 1 : 0) ? $rt_s(103) : $rt_s(18); if ($this.$name1 === null) $this.$name1 = $rt_str($this.$platformClass.$meta.name); var$2 = $this.$name1; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$1); var$4 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$2); var$1 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, jl_Class_getSimpleName = $this => { let $simpleName, var$2, var$3, var$4, var$5, $lastDot, $lastDollar, var$8; $simpleName = $this.$simpleName; if ($simpleName === null) { var$2 = $this.$platformClass.$meta.item === null ? 0 : 1; a: { if (var$2) { $simpleName = jl_Class_getSimpleName(jl_Class_getComponentType($this)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2 = var$3.$length0; if ($simpleName === null) $simpleName = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$2, $simpleName); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(104)); $simpleName = new jl_String; var$4 = var$3.$buffer; var$5 = var$4.data; $lastDot = var$3.$length0; $lastDollar = var$5.length; if ($lastDot >= 0 && $lastDot <= ($lastDollar - 0 | 0)) { $simpleName.$nativeString = $rt_charArrayToString(var$4.data, 0, $lastDot); break a; } $simpleName = new jl_IndexOutOfBoundsException; $simpleName.$suppressionEnabled = 1; $simpleName.$writableStackTrace = 1; $rt_throw($simpleName); } var$8 = $this.$platformClass.$meta.enclosingClass; if (var$8 === null) $simpleName = null; else { $simpleName = var$8.classObject; if ($simpleName === null) { $simpleName = new jl_Class; $simpleName.$platformClass = var$8; var$8.classObject = $simpleName; } } if ($simpleName !== null) { $simpleName = $rt_str($this.$platformClass.$meta.simpleName); if ($simpleName === null) $simpleName = $rt_s(18); } else { $simpleName = $rt_str($this.$platformClass.$meta.name); $lastDollar = jl_String_lastIndexOf($simpleName, 36, $simpleName.$nativeString.length - 1 | 0); if ($lastDollar == (-1)) { $lastDot = jl_String_lastIndexOf($simpleName, 46, $simpleName.$nativeString.length - 1 | 0); if ($lastDot != (-1)) $simpleName = jl_String_substring($simpleName, $lastDot + 1 | 0, $simpleName.$nativeString.length); } else { $simpleName = jl_String_substring($simpleName, $lastDollar + 1 | 0, $simpleName.$nativeString.length); if (0 >= $simpleName.$nativeString.length) { $simpleName = new jl_StringIndexOutOfBoundsException; $simpleName.$suppressionEnabled = 1; $simpleName.$writableStackTrace = 1; $rt_throw($simpleName); } if ($simpleName.$nativeString.charCodeAt(0) >= 48) { if (0 >= $simpleName.$nativeString.length) { $simpleName = new jl_StringIndexOutOfBoundsException; $simpleName.$suppressionEnabled = 1; $simpleName.$writableStackTrace = 1; $rt_throw($simpleName); } if ($simpleName.$nativeString.charCodeAt(0) <= 57) $simpleName = $rt_s(18); } } } } $this.$simpleName = $simpleName; } return $simpleName; }, jl_Class_isArray = $this => { return $this.$platformClass.$meta.item === null ? 0 : 1; }, jl_Class_getComponentType = $this => { let var$1, var$2; var$1 = $this.$platformClass.$meta.item; if (var$1 === null) var$2 = null; else { var$2 = var$1.classObject; if (var$2 === null) { var$2 = new jl_Class; var$2.$platformClass = var$1; var$1.classObject = var$2; } } return var$2; }, jl_Class_createMetadata = () => { nlea_EaglerAdapterImpl2$TextureGL.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [otjw_WebGLTexture], returnType : $rt_voidcls, callable : null }]; nms_EnumChatFormatting.$meta.methods = [ { name : "values", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(nms_EnumChatFormatting), callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_EnumChatFormatting, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String, $rt_intcls, $rt_charcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String, $rt_intcls, $rt_charcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "func_96298_a", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_charcls, callable : null }, { name : "func_96301_b", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_96302_c", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_96297_d", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_96300_b", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_EnumChatFormatting, callable : null }, { name : "func_96296_a", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_booleancls, $rt_booleancls], returnType : ju_Collection, callable : null }, { name : "$values", modifiers : 544, accessLevel : 1, parameterTypes : [], returnType : $rt_arraycls(nms_EnumChatFormatting), callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jl_String.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "initWithEmptyChars", modifiers : 256, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "borrowChars", modifiers : 256, accessLevel : 1, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls)], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 256, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "nativeString", modifiers : 256, accessLevel : 1, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls), $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "initWithCharArray", modifiers : 256, accessLevel : 1, parameterTypes : [$rt_arraycls($rt_charcls), $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "fromArray", modifiers : 512, accessLevel : 0, parameterTypes : [$rt_arraycls($rt_charcls)], returnType : jl_String, callable : null }, { name : "takeCharArray", modifiers : 256, accessLevel : 1, parameterTypes : [$rt_arraycls($rt_charcls)], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls), $rt_intcls, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls), $rt_intcls, $rt_intcls, jnc_Charset], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls), $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls)], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls), jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls), jnc_Charset], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_intcls), $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "initWithBytes", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_arraycls($rt_bytecls), $rt_intcls, $rt_intcls, jnc_Charset], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_StringBuilder], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "allocate", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "charAt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_charcls, callable : null }, { name : "codePointAt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "codePointBefore", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "codePointCount", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "offsetByCodePoints", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "length", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "charactersLength", modifiers : 256, accessLevel : 1, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "charactersGet", modifiers : 256, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_charcls, callable : null }, { name : "isEmpty", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isBlank", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getChars", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_arraycls($rt_charcls), $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "copyCharsToArray", modifiers : 256, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_arraycls($rt_charcls), $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "contentEquals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_StringBuffer], returnType : $rt_booleancls, callable : null }, { name : "contentEquals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_CharSequence], returnType : $rt_booleancls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_intcls, callable : null }, { name : "compareToIgnoreCase", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_intcls, callable : null }, { name : "startsWith", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "startsWith", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "regionMatches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls, $rt_intcls, jl_String, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "regionMatches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "endsWith", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "indexOf", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "indexOf", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "lastIndexOf", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "lastIndexOf", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "indexOf", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "indexOf", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_intcls, callable : null }, { name : "lastIndexOf", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "lastIndexOf", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_intcls, callable : null }, { name : "substring", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : jl_String, callable : null }, { name : "substringJS", modifiers : 768, accessLevel : 1, parameterTypes : [jl_Object, $rt_intcls, $rt_intcls], returnType : jl_Object, callable : null }, { name : "substring", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "subSequence", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : jl_CharSequence, callable : null }, { name : "concat", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_String, callable : null }, { name : "replace", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_charcls, $rt_charcls], returnType : jl_String, callable : null }, { name : "contains", modifiers : 0, accessLevel : 3, parameterTypes : [jl_CharSequence], returnType : $rt_booleancls, callable : null }, { name : "replace", modifiers : 0, accessLevel : 3, parameterTypes : [jl_CharSequence, jl_CharSequence], returnType : jl_String, callable : null }, { name : "trim", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "strip", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "stripJS", modifiers : 768, accessLevel : 1, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "stripLeading", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "stripLeadingJS", modifiers : 768, accessLevel : 1, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "stripTrailing", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "stripTrailingJS", modifiers : 768, accessLevel : 1, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toCharArray", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls($rt_charcls), callable : null }, { name : "chars", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jus_IntStream, callable : null }, { name : "codePoints", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jus_IntStream, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_String, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls)], returnType : jl_String, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls), $rt_intcls, $rt_intcls], returnType : jl_String, callable : null }, { name : "copyValueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls)], returnType : jl_String, callable : null }, { name : "copyValueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls), $rt_intcls, $rt_intcls], returnType : jl_String, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : jl_String, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : jl_String, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : jl_String, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : jl_String, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : jl_String, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "equalsIgnoreCase", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "getBytes", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "getBytes", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "getBytes", modifiers : 0, accessLevel : 3, parameterTypes : [jnc_Charset], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "fastCharArray", modifiers : 256, accessLevel : 1, parameterTypes : [], returnType : $rt_arraycls($rt_charcls), callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "toLowerCase", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toLowerCaseJS", modifiers : 768, accessLevel : 1, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "toLowerCaseJS", modifiers : 768, accessLevel : 1, parameterTypes : [jl_Object, jl_Object], returnType : jl_Object, callable : null }, { name : "toLowerCaseChars", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toLowerCaseCodePoints", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toLowerCase", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Locale], returnType : jl_String, callable : null }, { name : "toUpperCase", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toUpperCaseJS", modifiers : 768, accessLevel : 1, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "toUpperCaseJS", modifiers : 768, accessLevel : 1, parameterTypes : [jl_Object, jl_Object], returnType : jl_Object, callable : null }, { name : "toUpperCaseChars", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toUpperCaseCodePoints", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toUpperCase", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Locale], returnType : jl_String, callable : null }, { name : "intern", modifiers : 256, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "split", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_arraycls(jl_String), callable : null }, { name : "split", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_arraycls(jl_String), callable : null }, { name : "replaceAll", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String], returnType : jl_String, callable : null }, { name : "replaceFirst", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String], returnType : jl_String, callable : null }, { name : "format", modifiers : 8704, accessLevel : 3, parameterTypes : [jl_String, $rt_arraycls(jl_Object)], returnType : jl_String, callable : null }, { name : "format", modifiers : 8704, accessLevel : 3, parameterTypes : [ju_Locale, jl_String, $rt_arraycls(jl_Object)], returnType : jl_String, callable : null }, { name : "formatted", modifiers : 8192, accessLevel : 3, parameterTypes : [$rt_arraycls(jl_Object)], returnType : jl_String, callable : null }, { name : "join", modifiers : 8704, accessLevel : 3, parameterTypes : [jl_CharSequence, $rt_arraycls(jl_CharSequence)], returnType : jl_String, callable : null }, { name : "join", modifiers : 512, accessLevel : 3, parameterTypes : [jl_CharSequence, jl_Iterable], returnType : jl_String, callable : null }, { name : "repeat", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "lambda$static$0", modifiers : 544, accessLevel : 1, parameterTypes : [jl_String, jl_String], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jt_DecimalFormat$TextField.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "render", modifiers : 0, accessLevel : 3, parameterTypes : [jt_DecimalFormat, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jt_DecimalFormat$MinusField.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "render", modifiers : 0, accessLevel : 3, parameterTypes : [jt_DecimalFormat, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jlr_Method.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class, jl_String, $rt_intcls, $rt_intcls, jl_Class, $rt_arraycls(jl_Class), otcir_JSCallable], returnType : $rt_voidcls, callable : null }, { name : "getDeclaringClass", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Class, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getModifiers", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getReturnType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Class, callable : null }, { name : "getParameterTypes", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jl_Class), callable : null }, { name : "getParameterCount", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "invoke", modifiers : 8192, accessLevel : 3, parameterTypes : [jl_Object, $rt_arraycls(jl_Object)], returnType : jl_Object, callable : null }, { name : "isBridge", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isSynthetic", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isVarArgs", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; jl_Byte.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "intValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "longValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "floatValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "doubleValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "byteValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : jl_Byte, callable : null }, { name : "ensureByteCache", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : $rt_arraycls(jl_Byte), callable : null }, { name : "toString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : jl_String, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "hashCode", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_intcls, callable : null }, { name : "compare", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_bytecls, $rt_bytecls], returnType : $rt_intcls, callable : null }, { name : "compareUnsigned", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_bytecls, $rt_bytecls], returnType : $rt_intcls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Byte], returnType : $rt_intcls, callable : null }, { name : "toUnsignedInt", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_intcls, callable : null }, { name : "toUnsignedLong", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_longcls, callable : null }, { name : "parseByte", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_bytecls, callable : null }, { name : "parseByte", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_bytecls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : jl_Byte, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Byte, callable : null }, { name : "decode", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Byte, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jl_Integer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "toString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : jl_String, callable : null }, { name : "hashCode", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "toHexString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "toOctalString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "toBinaryString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "toString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "parseInt", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "parseInt", modifiers : 512, accessLevel : 3, parameterTypes : [jl_CharSequence, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "parseIntImpl", modifiers : 512, accessLevel : 1, parameterTypes : [jl_CharSequence, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "parseInt", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_intcls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : jl_Integer, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Integer, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_Integer, callable : null }, { name : "ensureIntegerCache", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "intValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "longValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "floatValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "doubleValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "getInteger", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Integer, callable : null }, { name : "getInteger", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : jl_Integer, callable : null }, { name : "getInteger", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, jl_Integer], returnType : jl_Integer, callable : null }, { name : "decode", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Integer, callable : null }, { name : "decodeDigit", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_charcls], returnType : $rt_intcls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Integer], returnType : $rt_intcls, callable : null }, { name : "compare", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "numberOfLeadingZeros", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "numberOfTrailingZeros", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "highestOneBit", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "lowestOneBit", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "bitCount", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "rotateLeft", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "rotateRight", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "reverse", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "reverseBytes", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "signum", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "divideUnsigned", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "remainderUnsigned", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "compareUnsigned", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jl_Enum.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "name", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "ordinal", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "equals", modifiers : 4, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "clone", modifiers : 4, accessLevel : 2, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "getDeclaringClass", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : jl_Class, callable : null }, { name : "compareTo", modifiers : 4, accessLevel : 3, parameterTypes : [jl_Enum], returnType : $rt_intcls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Class, jl_String], returnType : jl_Enum, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }]; jl_Object.$meta.methods = [ { name : "monitorEnterSync", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "monitorExitSync", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "monitorEnter", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "monitorEnter", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Object, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "createMonitor", modifiers : 512, accessLevel : 1, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "monitorEnterWait", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Object, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "monitorEnterWait", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Object, $rt_intcls, oti_AsyncCallback], returnType : $rt_voidcls, callable : null }, { name : "monitorExit", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "monitorExit", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Object, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "waitForOtherThreads", modifiers : 512, accessLevel : 1, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "isEmptyMonitor", modifiers : 4, accessLevel : 0, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "deleteMonitor", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "holdsLock", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "fakeInit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getClass", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : jl_Class, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "obfuscatedToString", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : jl_String, callable : null }, { name : "identity", modifiers : 4, accessLevel : 0, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "hashCodeLowLevel", modifiers : 768, accessLevel : 1, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "hashCodeLowLevelImpl", modifiers : 512, accessLevel : 1, parameterTypes : [otr_RuntimeObject], returnType : $rt_intcls, callable : null }, { name : "setHashCodeLowLevel", modifiers : 768, accessLevel : 1, parameterTypes : [jl_Object, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setHashCodeLowLevelImpl", modifiers : 512, accessLevel : 1, parameterTypes : [otr_RuntimeObject, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "identityLowLevel", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "identityOrMonitor", modifiers : 256, accessLevel : 1, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "identityOrMonitorLowLevel", modifiers : 512, accessLevel : 1, parameterTypes : [otr_RuntimeObject], returnType : $rt_intcls, callable : null }, { name : "setIdentity", modifiers : 256, accessLevel : 0, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setIdentityLowLevel", modifiers : 512, accessLevel : 1, parameterTypes : [otr_RuntimeObject, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "clone", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "cloneLowLevel", modifiers : 512, accessLevel : 1, parameterTypes : [otr_RuntimeObject], returnType : otr_RuntimeObject, callable : null }, { name : "notify", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "notifyAll", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "wait", modifiers : 4, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "wait", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_longcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "waitImpl", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_longcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "waitImpl", modifiers : 4, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_intcls, oti_AsyncCallback], returnType : $rt_voidcls, callable : null }, { name : "wait", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "finalize", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "lambda$monitorExit$2", modifiers : 544, accessLevel : 1, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "lambda$monitorExit$1", modifiers : 544, accessLevel : 1, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "lambda$monitorEnterWait$0", modifiers : 544, accessLevel : 1, parameterTypes : [jl_Thread, jl_Object, $rt_intcls, oti_AsyncCallback], returnType : $rt_voidcls, callable : null }, { name : "monitorEnterWait$_asyncCall_$", modifiers : 768, accessLevel : 0, parameterTypes : [jl_Object, $rt_intcls], returnType : jl_Object, callable : null }, { name : "waitImpl$_asyncCall_$", modifiers : 256, accessLevel : 0, parameterTypes : [$rt_longcls, $rt_intcls], returnType : jl_Object, callable : null }]; jlr_AccessibleObject.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setAccessible", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_arraycls(jlr_AccessibleObject), $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setAccessible", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isAccessible", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getAnnotation", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class], returnType : jla_Annotation, callable : null }, { name : "getAnnotations", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jla_Annotation), callable : null }, { name : "getDeclaredAnnotations", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jla_Annotation), callable : null }]; jl_Number.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "intValue", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "longValue", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "floatValue", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "doubleValue", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "byteValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "shortValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_shortcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_26.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_AbstractSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "find", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "findBack", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 1, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 1, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setType", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getQualifiedName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getNext", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }, { name : "processBackRefReplacement", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_JointSet, callable : null }, { name : "processSecondPass", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_SOLSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; nms_Render.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "doRender", modifiers : 1, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 1, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "bindEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nle_TextureLocation], returnType : $rt_voidcls, callable : null }, { name : "renderEntityOnFire", modifiers : 0, accessLevel : 1, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderShadow", modifiers : 0, accessLevel : 1, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getWorldFromRenderManager", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : nms_World, callable : null }, { name : "renderShadowOnBlock", modifiers : 0, accessLevel : 1, parameterTypes : [nms_Block, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_floatcls, $rt_floatcls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "renderOffsetAABB", modifiers : 512, accessLevel : 3, parameterTypes : [nms_AxisAlignedBB, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "renderAABB", modifiers : 512, accessLevel : 3, parameterTypes : [nms_AxisAlignedBB], returnType : $rt_voidcls, callable : null }, { name : "setRenderManager", modifiers : 0, accessLevel : 3, parameterTypes : [nms_RenderManager], returnType : $rt_voidcls, callable : null }, { name : "doRenderShadowAndFire", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getFontRendererFromRenderManager", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_FontRenderer, callable : null }, { name : "updateIcons", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IconRegister], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RendererLivingEntity.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setRenderPassModel", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase], returnType : $rt_voidcls, callable : null }, { name : "interpolateRotation", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderModel", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 1, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "renderLivingAt", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "rotateCorpse", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderSwingProgress", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "handleRotationFloat", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "renderEquippedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderArrowsStuckInEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "inheritRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "func_82408_c", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getDeathMaxRotation", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_floatcls, callable : null }, { name : "getColorMultiplier", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "passSpecialRender", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "func_110813_b", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_booleancls, callable : null }, { name : "func_96449_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, jl_String, $rt_floatcls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "renderLivingLabel", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, jl_String, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RenderLiving.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_130007_b", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLiving], returnType : $rt_booleancls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110828_a", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_doublecls, callable : null }, { name : "func_110827_b", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110813_b", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_booleancls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }]; nms_RenderSheep.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, nms_ModelBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setWoolColorAndRender", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySheep, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "func_110883_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySheep], returnType : nle_TextureLocation, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_ModelRenderer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "addChild", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelRenderer], returnType : $rt_voidcls, callable : null }, { name : "setTextureOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_ModelRenderer, callable : null }, { name : "addBox", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : nms_ModelRenderer, callable : null }, { name : "addBox", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : nms_ModelRenderer, callable : null }, { name : "addBox", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setRotationPoint", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "render", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderWithRotation", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "postRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "compileDisplayList", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setTextureSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_ModelRenderer, callable : null }]; jl_Object$monitorEnterWait$lambda$_6_0.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Thread, jl_Object, $rt_intcls, oti_AsyncCallback], returnType : $rt_voidcls, callable : null }, { name : "run", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_FSet$PossessiveFSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; jur_CISequenceSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "accepts", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_EntityList$_clinit_$lambda$_63_30.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_DotAllSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getNext", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "getType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; jur_EOISet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; nms_WorldRenderer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, ju_List, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setPosition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setupGLTranslation", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateRenderer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "distanceToEntitySquared", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_floatcls, callable : null }, { name : "setDontDraw", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "stopRendering", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getGLCallListForPass", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "updateInFrustum", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ICamera], returnType : $rt_voidcls, callable : null }, { name : "callOcclusionQueryList", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "shouldTryOcclusionQuery", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "skipAllRenderPasses", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "markDirty", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_NBTTagIntArray.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_arraycls($rt_intcls)], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "load", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataInput, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTBase, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_RenderLightningBolt.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "doRenderLightningBolt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLightningBolt, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110805_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLightningBolt], returnType : nle_TextureLocation, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }]; jur_PosAltGroupQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_50.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_UCISupplRangeSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractCharClass, jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractCharClass], returnType : $rt_voidcls, callable : null }, { name : "contains", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; nms_EnchantmentKnockback.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_RenderBoat.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderBoat", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityBoat, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getBoatTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityBoat], returnType : nle_TextureLocation, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EnchantmentProtection.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "calcModifierDamage", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_DamageSource], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "canApplyTogether", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Enchantment], returnType : $rt_booleancls, callable : null }, { name : "getFireTimeForEntity", modifiers : 512, accessLevel : 3, parameterTypes : [nms_Entity, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "func_92092_a", modifiers : 512, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls], returnType : $rt_doublecls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EnchantmentDamage.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "calcModifierLiving", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_EntityLivingBase], returnType : $rt_floatcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "canApplyTogether", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Enchantment], returnType : $rt_booleancls, callable : null }, { name : "canApply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_NBTTagFloat.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "load", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataInput, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTBase, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_20.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_EntityList$_clinit_$lambda$_63_21.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_RenderCaveSpider.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "scaleSpider", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityCaveSpider, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getCaveSpiderTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityCaveSpider], returnType : nle_TextureLocation, callable : null }, { name : "getSpiderTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySpider], returnType : nle_TextureLocation, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_MultiLineSOLSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractLineTerminator], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; nms_RenderWolf.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, nms_ModelBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getTailRotation", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityWolf, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "func_82447_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityWolf, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "func_110914_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityWolf], returnType : nle_TextureLocation, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "handleRotationFloat", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_RelAltGroupQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }]; otcit_DateTimeZoneBuilder$DSTZone.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_String, $rt_intcls, otcit_DateTimeZoneBuilder$Recurrence, otcit_DateTimeZoneBuilder$Recurrence], returnType : $rt_voidcls, callable : null }, { name : "getOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "getStandardOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "isFixed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "nextTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "previousTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "findMatchingRecurrence", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : otcit_DateTimeZoneBuilder$Recurrence, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [jl_StringBuilder], returnType : $rt_voidcls, callable : null }, { name : "readZone", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, otci_CharFlow], returnType : otcit_DateTimeZoneBuilder$DSTZone, callable : null }, { name : "asZoneRules", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jtz_ZoneRules, callable : null }]; jt_DateFormatElement$EraText.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jt_DateFormatSymbols], returnType : $rt_voidcls, callable : null }, { name : "format", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Calendar, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "parse", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, ju_Calendar, jt_ParsePosition], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jur_HangulDecomposedCharSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls), $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getNext", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "getDecomposedChar", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; jur_AheadFSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; jur_CICharSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_voidcls, callable : null }, { name : "accepts", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getChar", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_charcls, callable : null }]; jur_DotSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractLineTerminator], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getNext", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "getType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; otcit_DateTimeZoneBuilder$PrecalculatedZone.$meta.methods = [ { name : "create", modifiers : 512, accessLevel : 0, parameterTypes : [jl_String, $rt_booleancls, ju_ArrayList, otcit_DateTimeZoneBuilder$DSTZone], returnType : otcit_DateTimeZoneBuilder$PrecalculatedZone, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String, $rt_arraycls($rt_longcls), $rt_arraycls($rt_intcls), $rt_arraycls($rt_intcls), otcit_DateTimeZoneBuilder$DSTZone], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [jl_StringBuilder], returnType : $rt_voidcls, callable : null }, { name : "readZone", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, otci_CharFlow], returnType : otcit_StorableDateTimeZone, callable : null }, { name : "getOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "getStandardOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "isFixed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "nextTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "previousTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "isCachable", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "asZoneRules", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jtz_ZoneRules, callable : null }, { name : "createRule", modifiers : 0, accessLevel : 1, parameterTypes : [otcit_DateTimeZoneBuilder$OfYear, jt_ZoneOffset, jt_ZoneOffset, jt_ZoneOffset], returnType : jtz_ZoneOffsetTransitionRule, callable : null }]; jur_NegativeLookAhead.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_ArrayList, jur_FSet], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; nleav_VFile.$meta.methods = [ { name : "normalizePath", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_String, callable : null }, { name : "splitPath", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_arraycls(jl_String), callable : null }, { name : "createPath", modifiers : 8704, accessLevel : 3, parameterTypes : [$rt_arraycls(jl_Object)], returnType : jl_String, callable : null }, { name : "", modifiers : 8192, accessLevel : 3, parameterTypes : [$rt_arraycls(jl_Object)], returnType : $rt_voidcls, callable : null }, { name : "getInputStream", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ji_InputStream, callable : null }, { name : "getOutputStream", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ji_OutputStream, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isRelative", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "canRead", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getPath", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "canWrite", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getParent", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "exists", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "delete", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "renameTo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_booleancls], returnType : $rt_booleancls, callable : null }, { name : "length", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getBytes", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_arraycls($rt_bytecls), $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setCacheEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getAllBytes", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "getAllChars", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getAllLines", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jl_String), callable : null }, { name : "getAllBytes", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "setAllChars", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "setAllBytes", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls)], returnType : $rt_booleancls, callable : null }, { name : "setAllBytes", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls), $rt_booleancls], returnType : $rt_booleancls, callable : null }, { name : "list", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_List, callable : null }, { name : "deleteAll", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_16.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nms_EntityList$_clinit_$lambda$_63_22.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_EntityList$_clinit_$lambda$_63_14.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_EntityList$_clinit_$lambda$_63_45.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; ju_HashSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Collection], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [ju_HashMap], returnType : $rt_voidcls, callable : null }, { name : "add", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "clear", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "clone", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "contains", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "isEmpty", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "iterator", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Iterator, callable : null }, { name : "remove", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "size", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "newHashSet", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : ju_HashSet, callable : null }]; jur_NonCapJointSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_ArrayList, jur_FSet], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; jur_CIDecomposedCharSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_intcls), $rt_intcls], returnType : $rt_voidcls, callable : null }]; nle_IntegratedServerLAN$LANClient.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "handleICECandidates", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "handleDescription", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "handleSuccess", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "handleFailure", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "update", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "disconnect", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jm_BigInteger.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, ju_Random], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, ju_Random], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_arraycls($rt_bytecls)], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls)], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [$rt_intcls, $rt_intcls, $rt_arraycls($rt_intcls)], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [$rt_intcls, $rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [$rt_intcls, $rt_arraycls($rt_intcls)], returnType : $rt_voidcls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : jm_BigInteger, callable : null }, { name : "toByteArray", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "setFromString", modifiers : 512, accessLevel : 1, parameterTypes : [jm_BigInteger, jl_String, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "abs", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jm_BigInteger, callable : null }, { name : "negate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jm_BigInteger, callable : null }, { name : "add", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "subtract", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "signum", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "shiftRight", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_BigInteger, callable : null }, { name : "shiftLeft", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_BigInteger, callable : null }, { name : "shiftLeftOneBit", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : jm_BigInteger, callable : null }, { name : "bitLength", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "testBit", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "setBit", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_BigInteger, callable : null }, { name : "clearBit", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_BigInteger, callable : null }, { name : "flipBit", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_BigInteger, callable : null }, { name : "getLowestSetBit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "bitCount", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "not", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jm_BigInteger, callable : null }, { name : "and", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "or", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "xor", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "andNot", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "byteValueExact", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "shortValueExact", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_shortcls, callable : null }, { name : "intValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "intValueExact", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "longValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "longValueExact", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "floatValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "doubleValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : $rt_intcls, callable : null }, { name : "min", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "max", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "equalsArrays", modifiers : 0, accessLevel : 0, parameterTypes : [$rt_arraycls($rt_intcls)], returnType : $rt_booleancls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "gcd", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "multiply", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "pow", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_BigInteger, callable : null }, { name : "sqrt", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jm_BigInteger, callable : null }, { name : "divideAndRemainder", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : $rt_arraycls(jm_BigInteger), callable : null }, { name : "divide", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "remainder", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "modInverse", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "modPow", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger, jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "mod", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "isProbablePrime", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "nextProbablePrime", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jm_BigInteger, callable : null }, { name : "probablePrime", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, ju_Random], returnType : jm_BigInteger, callable : null }, { name : "cutOffLeadingZeroes", modifiers : 4, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isOne", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "putBytesPositiveToIntegers", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_arraycls($rt_bytecls)], returnType : $rt_voidcls, callable : null }, { name : "putBytesNegativeToIntegers", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_arraycls($rt_bytecls)], returnType : $rt_voidcls, callable : null }, { name : "getFirstNonzeroDigit", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "copy", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : jm_BigInteger, callable : null }, { name : "unCache", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getPowerOfTwo", modifiers : 512, accessLevel : 0, parameterTypes : [$rt_intcls], returnType : jm_BigInteger, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_UCIRangeSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractCharClass, jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractCharClass], returnType : $rt_voidcls, callable : null }, { name : "accepts", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; oj_JSONObject$Null.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "clone", modifiers : 4, accessLevel : 2, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_EntityList$_clinit_$lambda$_63_29.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jl_Float.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "intValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "longValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "floatValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "doubleValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : jl_Float, callable : null }, { name : "toString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : jl_String, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "equals", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "hashCode", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "isNaN", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "isInfinite", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "isFinite", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "parseFloat", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_floatcls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Float, callable : null }, { name : "isNaN", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isInfinite", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "compare", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Float], returnType : $rt_intcls, callable : null }, { name : "floatToRawIntBits", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "floatToIntBits", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "intBitsToFloat", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_floatcls, callable : null }, { name : "toHexString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : jl_String, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isNaN$js_body$_14", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject], returnType : otj_JSObject, callable : null }, { name : "isInfinite$js_body$_15", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject], returnType : otj_JSObject, callable : null }, { name : "isFinite$js_body$_16", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject], returnType : otj_JSObject, callable : null }, { name : "floatToRawIntBits$js_body$_23", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject], returnType : otj_JSObject, callable : null }, { name : "intBitsToFloat$js_body$_25", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject], returnType : otj_JSObject, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_19.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; jt_DateFormatElement$Numeric.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "format", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Calendar, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "parse", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, ju_Calendar, jt_ParsePosition], returnType : $rt_voidcls, callable : null }, { name : "processBeforeFormat", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "processAfterParse", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jur_UCIDecomposedCharSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_intcls), $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_8.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_EOLSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; otcit_AliasDateTimeZone.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, otcit_DateTimeZone], returnType : $rt_voidcls, callable : null }, { name : "getOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "getStandardOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "isFixed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "nextTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "previousTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [jl_StringBuilder], returnType : $rt_voidcls, callable : null }, { name : "asZoneRules", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jtz_ZoneRules, callable : null }]; nms_RenderOcelot.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "renderLivingOcelot", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityOcelot, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110874_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityOcelot], returnType : nle_TextureLocation, callable : null }, { name : "preRenderOcelot", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityOcelot, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_42.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_RenderSnowball.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Item, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Item], returnType : $rt_voidcls, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "func_77026_a", modifiers : 0, accessLevel : 1, parameterTypes : [nlea_Tessellator, nms_Icon], returnType : $rt_voidcls, callable : null }]; jur_PosPlusGroupQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_10.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; jt_DateFormatElement$NumericMonth.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "processBeforeFormat", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "processAfterParse", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_41.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_RenderHorse.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110847_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityHorse, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110846_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityHorse, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110849_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityHorse], returnType : nle_TextureLocation, callable : null }, { name : "func_110848_b", modifiers : 0, accessLevel : 1, parameterTypes : [nms_EntityHorse], returnType : nle_TextureLocation, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderModel", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_35.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_NBTTagCompound.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "load", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataInput, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getTags", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Collection, callable : null }, { name : "getId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "setTag", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, nms_NBTBase], returnType : $rt_voidcls, callable : null }, { name : "setByte", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "setShort", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_shortcls], returnType : $rt_voidcls, callable : null }, { name : "setInteger", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setLong", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "setFloat", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setDouble", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "setString", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String], returnType : $rt_voidcls, callable : null }, { name : "setByteArray", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_arraycls($rt_bytecls)], returnType : $rt_voidcls, callable : null }, { name : "setIntArray", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_arraycls($rt_intcls)], returnType : $rt_voidcls, callable : null }, { name : "setCompoundTag", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "setBoolean", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getTag", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_NBTBase, callable : null }, { name : "hasKey", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "getByte", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_bytecls, callable : null }, { name : "getShort", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_shortcls, callable : null }, { name : "getInteger", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_intcls, callable : null }, { name : "getLong", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_longcls, callable : null }, { name : "getFloat", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_floatcls, callable : null }, { name : "getDouble", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_doublecls, callable : null }, { name : "getString", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_String, callable : null }, { name : "getByteArray", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "getIntArray", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_arraycls($rt_intcls), callable : null }, { name : "getCompoundTag", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_NBTTagCompound, callable : null }, { name : "getTagList", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_NBTTagList, callable : null }, { name : "getBoolean", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "removeTag", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hasNoTags", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTBase, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getTagMap", modifiers : 512, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : ju_Map, callable : null }, { name : "getStringOrNull", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_String, callable : null }]; nms_BehaviorDispenseMinecart.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "dispenseStack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IBlockSource, nms_ItemStack], returnType : nms_ItemStack, callable : null }, { name : "playDispenseSound", modifiers : 0, accessLevel : 2, parameterTypes : [nms_IBlockSource], returnType : $rt_voidcls, callable : null }]; nlea_EaglerAdapterImpl2$AudioBufferSourceNodeX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [otjw_AudioBufferSourceNode, otjw_PannerNode, otjw_GainNode, $rt_booleancls], returnType : $rt_voidcls, callable : null }]; nms_ShapedRecipes.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_arraycls(nms_ItemStack), nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "getRecipeOutput", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryCrafting, nms_World], returnType : $rt_booleancls, callable : null }, { name : "checkMatch", modifiers : 0, accessLevel : 1, parameterTypes : [nms_InventoryCrafting, $rt_intcls, $rt_intcls, $rt_booleancls], returnType : $rt_booleancls, callable : null }, { name : "getCraftingResult", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryCrafting], returnType : nms_ItemStack, callable : null }, { name : "getRecipeSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "func_92100_c", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ShapedRecipes, callable : null }]; ju_LinkedHashMap$LinkedHashMapEntry.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_Object, jl_Object], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_Object, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "clone", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }]; nms_RenderXPOrb.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderTheXPOrb", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityXPOrb, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getExperienceOrbTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityXPOrb], returnType : nle_TextureLocation, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_NBTTagDouble.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "load", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataInput, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTBase, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jur_CIBackReferenceSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "accepts", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getNext", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "getString", modifiers : 0, accessLevel : 2, parameterTypes : [jur_MatchResultImpl], returnType : jl_String, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; nms_EnchantmentLootBonus.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, nms_EnumEnchantmentType], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "canApplyTogether", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Enchantment], returnType : $rt_booleancls, callable : null }]; nms_RenderEnderCrystal.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "doRenderEnderCrystal", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityEnderCrystal, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEnderCrystalTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityEnderCrystal], returnType : nle_TextureLocation, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_TexturePackDefault.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "loadDescription", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_98140_c", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "isCompatible", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_98139_b", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String], returnType : ji_InputStream, callable : null }, { name : "getResourceAsBytes", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_arraycls($rt_bytecls), callable : null }]; nms_EntityList$_clinit_$lambda$_63_5.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_2.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nms_RenderItemFrame.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateIcons", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IconRegister], returnType : $rt_voidcls, callable : null }, { name : "func_82404_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityItemFrame, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110788_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityItemFrame], returnType : nle_TextureLocation, callable : null }, { name : "renderFrameItemAsBlock", modifiers : 0, accessLevel : 1, parameterTypes : [nms_EntityItemFrame], returnType : $rt_voidcls, callable : null }, { name : "func_82402_b", modifiers : 0, accessLevel : 1, parameterTypes : [nms_EntityItemFrame], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_ReluctantQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_LeafSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }]; nms_NBTTagEnd.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "load", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataInput, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "getId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTBase, callable : null }]; jur_FSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getGroupIndex", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_49.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_TextureClock.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "updateAnimation", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_GroupQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; nms_EntityList$_clinit_$lambda$_63_7.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jt_DateFormatElement$NumericWeekday.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "processBeforeFormat", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "processAfterParse", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_21.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; otciu_UnicodeHelper$Range.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_arraycls($rt_bytecls)], returnType : $rt_voidcls, callable : null }]; jur_ReluctantAltQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_LeafSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_23.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_ModelBox.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelRenderer, $rt_intcls, $rt_intcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "render", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_78244_a", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_ModelBox, callable : null }]; jt_DateFormatElement$Year.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "format", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Calendar, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "parse", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, ju_Calendar, jt_ParsePosition], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EnchantmentArrowInfinite.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EnchantmentArrowDamage.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jur_BackReferencedSingleSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_FSet], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_SingleSet], returnType : $rt_voidcls, callable : null }, { name : "find", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "findBack", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "processBackRefReplacement", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_JointSet, callable : null }]; jur_UCIBackReferenceSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_EntityList$_clinit_$lambda$_63_31.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_EntityList$_clinit_$lambda$_63_37.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_StatCrafting.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getItemID", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_17.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nms_EntityList$_clinit_$lambda$_63_32.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_RenderSkeleton.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "scaleSkeleton", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySkeleton, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_82422_c", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_110860_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySkeleton], returnType : nle_TextureLocation, callable : null }, { name : "func_110856_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLiving], returnType : nle_TextureLocation, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_44.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; ju_Arrays$ArrayAsList.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls(jl_Object)], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_Object, callable : null }, { name : "set", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_Object], returnType : jl_Object, callable : null }, { name : "size", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_BehaviorDispenseArmor.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "dispenseStack", modifiers : 0, accessLevel : 2, parameterTypes : [nms_IBlockSource, nms_ItemStack], returnType : nms_ItemStack, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_7.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_15.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nms_EntityList$_clinit_$lambda$_63_2.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_CompositeRangeSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_AbstractSet, jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "getNext", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "getSurrogates", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "getWithoutSurrogates", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_43.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jt_DateFormatElement$Iso8601Timezone.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "format", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Calendar, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "parse", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, ju_Calendar, jt_ParsePosition], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_RenderBlaze.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderBlaze", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityBlaze, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getBlazeTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityBlaze], returnType : nle_TextureLocation, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nle_RelayServer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nle_RelayEntry], returnType : $rt_voidcls, callable : null }, { name : "isPrimary", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setPrimary", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getPing", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "getWorkingPing", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "getPingVersion", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getPingComment", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getPingVendor", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getPingCompatible", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nle_RelayQuery$VersionMismatch, callable : null }, { name : "pingBlocking", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "ping", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "update", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "close", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "openSocket", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nle_RelayServerSocket, callable : null }]; nms_RenderSpider.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setSpiderDeathMaxRotation", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySpider], returnType : $rt_floatcls, callable : null }, { name : "setSpiderEyeBrightness", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySpider, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getSpiderTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySpider], returnType : nle_TextureLocation, callable : null }, { name : "getDeathMaxRotation", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_floatcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_SupplRangeSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractCharClass, jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractCharClass], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "contains", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }, { name : "getChars", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jur_AbstractCharClass, callable : null }, { name : "getNext", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_0.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_RenderMooshroom.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "renderLivingMooshroom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityMooshroom, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getMooshroomTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityMooshroom], returnType : nle_TextureLocation, callable : null }, { name : "renderMooshroomEquippedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityMooshroom, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderEquippedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RenderDragon.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "rotateDragonBody", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityDragon, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderDragonModel", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityDragon, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderDragon", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityDragon, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEnderDragonTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityDragon], returnType : nle_TextureLocation, callable : null }, { name : "renderDragonDying", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityDragon, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderGlow", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityDragon, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "renderEquippedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "rotateCorpse", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderModel", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_CompositeGroupQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_Quantifier, jur_AbstractSet, jur_AbstractSet, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "reset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setQuantifier", modifiers : 0, accessLevel : 0, parameterTypes : [jur_Quantifier], returnType : $rt_voidcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_20.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nms_RenderMagmaCube.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getMagmaCubeTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityMagmaCube], returnType : nle_TextureLocation, callable : null }, { name : "scaleMagmaCube", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityMagmaCube, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RenderSnowMan.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderSnowmanPumpkin", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySnowman, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getSnowManTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySnowman], returnType : nle_TextureLocation, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "renderEquippedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; otcit_DateTimeZoneBuilder$Transition.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [$rt_longcls, otcit_DateTimeZoneBuilder$Transition], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [$rt_longcls, otcit_DateTimeZoneBuilder$Rule, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [$rt_longcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMillis", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "getWallOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getStandardOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getSaveMillis", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isTransitionFrom", modifiers : 0, accessLevel : 3, parameterTypes : [otcit_DateTimeZoneBuilder$Transition], returnType : $rt_booleancls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_6.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nle_EaglerProfile$EaglerProfileCape.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_arraycls($rt_bytecls), $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_TextureCompass.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "updateAnimation", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateCompass", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }]; nms_TexturePackFolder.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, nleav_VFile, nms_ITexturePack], returnType : $rt_voidcls, callable : null }, { name : "func_98139_b", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String], returnType : ji_InputStream, callable : null }, { name : "func_98140_c", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "isCompatible", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_RenderFallingSand.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "doRenderFallingSand", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityFallingSand, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getFallingSandTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityFallingSand], returnType : nle_TextureLocation, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }]; nms_NBTTagInt.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "load", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataInput, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTBase, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_ItemRecord.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "getIconFromDamage", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_Icon, callable : null }, { name : "onItemUse", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_EntityPlayer, nms_World, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "addInformation", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_EntityPlayer, ju_List, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getRecordTitle", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getRarity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : nms_EnumRarity, callable : null }, { name : "getRecord", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_ItemRecord, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_NBTTagLong.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "load", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataInput, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTBase, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jt_DateFormatElement$NumericHour.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "processBeforeFormat", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "processAfterParse", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jur_LowSurrogateCharSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_voidcls, callable : null }, { name : "getNext", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "find", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "findBack", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getChar", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; jur_UEOLSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; nms_ItemStack.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Block], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Block, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Block, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Item], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Item, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Item, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "loadItemStackFromNBT", modifiers : 512, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : nms_ItemStack, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "splitStack", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "getItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Item, callable : null }, { name : "getIconIndex", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Icon, callable : null }, { name : "getItemSpriteNumber", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "tryPlaceItemIntoWorld", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_World, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "getStrVsBlock", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Block], returnType : $rt_floatcls, callable : null }, { name : "useItemRightClick", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityPlayer], returnType : nms_ItemStack, callable : null }, { name : "onFoodEaten", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityPlayer], returnType : nms_ItemStack, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : nms_NBTTagCompound, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getMaxStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isStackable", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isItemStackDamageable", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getHasSubtypes", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isItemDamaged", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getItemDamageForDisplay", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getItemDamage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setItemDamage", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMaxDamage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "attemptDamageItem", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nle_EaglercraftRandom], returnType : $rt_booleancls, callable : null }, { name : "damageItem", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "hitEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "onBlockDestroyed", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "canHarvestBlock", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Block], returnType : $rt_booleancls, callable : null }, { name : "func_111282_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_EntityLivingBase], returnType : $rt_booleancls, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "areItemStackTagsEqual", modifiers : 512, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "areItemStacksEqual", modifiers : 512, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "isItemStackEqual", modifiers : 0, accessLevel : 1, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "isItemEqual", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getUnlocalizedName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "copyItemStack", modifiers : 512, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : nms_ItemStack, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "updateAnimation", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_Entity, $rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "onCrafting", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityPlayer, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMaxItemUseDuration", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getItemUseAction", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EnumAction, callable : null }, { name : "onPlayerStoppedUsing", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityPlayer, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "hasTagCompound", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getTagCompound", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTTagCompound, callable : null }, { name : "getEnchantmentTagList", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTTagList, callable : null }, { name : "setTagCompound", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getDisplayName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setItemName", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "func_135074_t", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "hasDisplayName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getTooltip", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, $rt_booleancls], returnType : ju_List, callable : null }, { name : "hasEffect", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getRarity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EnumRarity, callable : null }, { name : "isItemEnchantable", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "addEnchantment", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Enchantment, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isItemEnchanted", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setTagInfo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, nms_NBTBase], returnType : $rt_voidcls, callable : null }, { name : "canEditBlocks", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isOnItemFrame", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setItemFrame", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityItemFrame], returnType : $rt_voidcls, callable : null }, { name : "getItemFrame", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityItemFrame, callable : null }, { name : "getRepairCost", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setRepairCost", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_NonCapFSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; nms_EnchantmentWaterWorker.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jur_BackReferenceSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "find", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "findBack", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; jt_DateFormatElement$MonthText.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jt_DateFormatSymbols, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "format", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Calendar, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "parse", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, ju_Calendar, jt_ParsePosition], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EnchantmentUntouching.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "canApplyTogether", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Enchantment], returnType : $rt_booleancls, callable : null }, { name : "canApply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_47.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_14.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nms_EntityList$_clinit_$lambda$_63_24.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_RenderLeashKnot.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_110799_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLeashKnot, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getLeashKnotTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLeashKnot], returnType : nle_TextureLocation, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_34.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nle_RelayEntry.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String, $rt_booleancls], returnType : $rt_voidcls, callable : null }]; jt_DateFormatElement$AmPmText.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jt_DateFormatSymbols], returnType : $rt_voidcls, callable : null }, { name : "format", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Calendar, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "parse", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, ju_Calendar, jt_ParsePosition], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_RecipesMapExtending.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryCrafting, nms_World], returnType : $rt_booleancls, callable : null }, { name : "getCraftingResult", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryCrafting], returnType : nms_ItemStack, callable : null }]; nms_EntityList$_clinit_$lambda$_63_10.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_BehindFSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; nms_EntityList$_clinit_$lambda$_63_52.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_SupplCharSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "accepts", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "find", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "findBack", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getCodePoint", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }]; nms_RenderEnderman.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderEnderman", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityEnderman, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEndermanTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityEnderman], returnType : nle_TextureLocation, callable : null }, { name : "renderCarrying", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityEnderman, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderEyes", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityEnderman, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "renderEquippedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_9.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; jur_PositiveLookBehind.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_ArrayList, jur_FSet], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; nms_EntityList$_clinit_$lambda$_63_51.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_EnchantmentArrowFire.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; oj_JSONObject.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 8192, accessLevel : 3, parameterTypes : [oj_JSONObject, $rt_arraycls(jl_String)], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [oj_JSONTokener], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Map], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_Object, ju_Set], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 8192, accessLevel : 3, parameterTypes : [jl_Object, $rt_arraycls(jl_String)], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, ju_Locale], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "accumulate", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Object], returnType : oj_JSONObject, callable : null }, { name : "append", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Object], returnType : oj_JSONObject, callable : null }, { name : "doubleToString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : jl_String, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Object, callable : null }, { name : "getEnum", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class, jl_String], returnType : jl_Enum, callable : null }, { name : "getBoolean", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "getBigInteger", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jm_BigInteger, callable : null }, { name : "getBigDecimal", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jm_BigDecimal, callable : null }, { name : "getDouble", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_doublecls, callable : null }, { name : "getFloat", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_floatcls, callable : null }, { name : "getNumber", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Number, callable : null }, { name : "getInt", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_intcls, callable : null }, { name : "getJSONArray", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : oj_JSONArray, callable : null }, { name : "getJSONObject", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : oj_JSONObject, callable : null }, { name : "getLong", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_longcls, callable : null }, { name : "getNames", modifiers : 512, accessLevel : 3, parameterTypes : [oj_JSONObject], returnType : $rt_arraycls(jl_String), callable : null }, { name : "getNames", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_arraycls(jl_String), callable : null }, { name : "getString", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_String, callable : null }, { name : "has", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "increment", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : oj_JSONObject, callable : null }, { name : "isNull", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "keys", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Iterator, callable : null }, { name : "keySet", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Set, callable : null }, { name : "entrySet", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : ju_Set, callable : null }, { name : "length", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "clear", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isEmpty", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "names", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : oj_JSONArray, callable : null }, { name : "numberToString", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Number], returnType : jl_String, callable : null }, { name : "opt", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Object, callable : null }, { name : "optEnum", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class, jl_String], returnType : jl_Enum, callable : null }, { name : "optEnum", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class, jl_String, jl_Enum], returnType : jl_Enum, callable : null }, { name : "optBoolean", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "optBoolean", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_booleancls], returnType : $rt_booleancls, callable : null }, { name : "optBigDecimal", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jm_BigDecimal], returnType : jm_BigDecimal, callable : null }, { name : "objectToBigDecimal", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Object, jm_BigDecimal], returnType : jm_BigDecimal, callable : null }, { name : "objectToBigDecimal", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Object, jm_BigDecimal, $rt_booleancls], returnType : jm_BigDecimal, callable : null }, { name : "optBigInteger", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "objectToBigInteger", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Object, jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "optDouble", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_doublecls, callable : null }, { name : "optDouble", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_doublecls], returnType : $rt_doublecls, callable : null }, { name : "optFloat", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_floatcls, callable : null }, { name : "optFloat", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "optInt", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_intcls, callable : null }, { name : "optInt", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "optJSONArray", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : oj_JSONArray, callable : null }, { name : "optJSONObject", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : oj_JSONObject, callable : null }, { name : "optJSONObject", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, oj_JSONObject], returnType : oj_JSONObject, callable : null }, { name : "optLong", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_longcls, callable : null }, { name : "optLong", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_longcls], returnType : $rt_longcls, callable : null }, { name : "optNumber", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Number, callable : null }, { name : "optNumber", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Number], returnType : jl_Number, callable : null }, { name : "optString", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_String, callable : null }, { name : "optString", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String], returnType : jl_String, callable : null }, { name : "populateMap", modifiers : 0, accessLevel : 1, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "populateMap", modifiers : 0, accessLevel : 1, parameterTypes : [jl_Object, ju_Set], returnType : $rt_voidcls, callable : null }, { name : "isValidMethodName", modifiers : 512, accessLevel : 1, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "getKeyNameFromMethod", modifiers : 512, accessLevel : 1, parameterTypes : [jlr_Method], returnType : jl_String, callable : null }, { name : "getAnnotation", modifiers : 512, accessLevel : 1, parameterTypes : [jlr_Method, jl_Class], returnType : jla_Annotation, callable : null }, { name : "getAnnotationDepth", modifiers : 512, accessLevel : 1, parameterTypes : [jlr_Method, jl_Class], returnType : $rt_intcls, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_booleancls], returnType : oj_JSONObject, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, ju_Collection], returnType : oj_JSONObject, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_doublecls], returnType : oj_JSONObject, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_floatcls], returnType : oj_JSONObject, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : oj_JSONObject, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_longcls], returnType : oj_JSONObject, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, ju_Map], returnType : oj_JSONObject, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Object], returnType : oj_JSONObject, callable : null }, { name : "putOnce", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Object], returnType : oj_JSONObject, callable : null }, { name : "putOpt", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Object], returnType : oj_JSONObject, callable : null }, { name : "query", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Object, callable : null }, { name : "query", modifiers : 0, accessLevel : 3, parameterTypes : [oj_JSONPointer], returnType : jl_Object, callable : null }, { name : "optQuery", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Object, callable : null }, { name : "optQuery", modifiers : 0, accessLevel : 3, parameterTypes : [oj_JSONPointer], returnType : jl_Object, callable : null }, { name : "quote", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_String, callable : null }, { name : "quote", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, ji_Writer], returnType : ji_Writer, callable : null }, { name : "remove", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Object, callable : null }, { name : "similar", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "isNumberSimilar", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Number, jl_Number], returnType : $rt_booleancls, callable : null }, { name : "numberIsFinite", modifiers : 512, accessLevel : 1, parameterTypes : [jl_Number], returnType : $rt_booleancls, callable : null }, { name : "isDecimalNotation", modifiers : 512, accessLevel : 2, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "stringToNumber", modifiers : 512, accessLevel : 2, parameterTypes : [jl_String], returnType : jl_Number, callable : null }, { name : "stringToValue", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Object, callable : null }, { name : "testValidity", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "toJSONArray", modifiers : 0, accessLevel : 3, parameterTypes : [oj_JSONArray], returnType : oj_JSONArray, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "valueToString", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_String, callable : null }, { name : "wrap", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "wrap", modifiers : 512, accessLevel : 1, parameterTypes : [jl_Object, ju_Set], returnType : jl_Object, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [ji_Writer], returnType : ji_Writer, callable : null }, { name : "writeValue", modifiers : 516, accessLevel : 0, parameterTypes : [ji_Writer, jl_Object, $rt_intcls, $rt_intcls], returnType : ji_Writer, callable : null }, { name : "indent", modifiers : 516, accessLevel : 0, parameterTypes : [ji_Writer, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [ji_Writer, $rt_intcls, $rt_intcls], returnType : ji_Writer, callable : null }, { name : "toMap", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Map, callable : null }, { name : "wrongValueFormatException", modifiers : 512, accessLevel : 1, parameterTypes : [jl_String, jl_String, jl_Throwable], returnType : oj_JSONException, callable : null }, { name : "wrongValueFormatException", modifiers : 512, accessLevel : 1, parameterTypes : [jl_String, jl_String, jl_Object, jl_Throwable], returnType : oj_JSONException, callable : null }, { name : "recursivelyDefinedObjectException", modifiers : 512, accessLevel : 1, parameterTypes : [jl_String], returnType : oj_JSONException, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RenderCow.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "getCowTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityCow], returnType : nle_TextureLocation, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_Achievement.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String, $rt_intcls, $rt_intcls, nms_Item, nms_Achievement], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String, $rt_intcls, $rt_intcls, nms_Block, nms_Achievement], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String, $rt_intcls, $rt_intcls, nms_ItemStack, nms_Achievement], returnType : $rt_voidcls, callable : null }, { name : "setIndependent", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Achievement, callable : null }, { name : "setSpecial", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Achievement, callable : null }, { name : "registerAchievement", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Achievement, callable : null }, { name : "isAchievement", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getDescription", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setStatStringFormatter", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IStatStringFormat], returnType : nms_Achievement, callable : null }, { name : "getSpecial", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "registerStat", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_StatBase, callable : null }, { name : "initIndependentStat", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_StatBase, callable : null }]; nms_ServerData.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "getNBTCompound", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTTagCompound, callable : null }, { name : "getAcceptsTextures", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_78840_c", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setAcceptsTextures", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isHidingAddress", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setHideAddress", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getServerDataFromNBTCompound", modifiers : 512, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : nms_ServerData, callable : null }, { name : "setMOTDFromQuery", modifiers : 0, accessLevel : 3, parameterTypes : [nle_ServerQuery$QueryResponse], returnType : $rt_voidcls, callable : null }, { name : "setRateLimitError", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "refreshIcon", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "freeIcon", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_5.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nms_RenderFish.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "doRenderFishHook", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityFishHook, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110791_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityFishHook], returnType : nle_TextureLocation, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_48.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_EnchantmentDigging.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "canApply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }]; jnci_AsciiCharset.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "contains", modifiers : 0, accessLevel : 3, parameterTypes : [jnc_Charset], returnType : $rt_booleancls, callable : null }, { name : "newDecoder", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jnc_CharsetDecoder, callable : null }, { name : "newEncoder", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jnc_CharsetEncoder, callable : null }]; nleg_FixedFunctionShader.$meta.methods = [ { name : "refreshCoreGL", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "instance", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nleg_FixedFunctionShader, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_booleancls, $rt_booleancls, $rt_booleancls, $rt_booleancls, $rt_booleancls, $rt_booleancls, $rt_booleancls, $rt_booleancls, $rt_booleancls, $rt_booleancls, $rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setupArrayForProgram", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "useProgram", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "unuseProgram", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "optimize", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "update", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "lambda$new$0", modifiers : 32, accessLevel : 1, parameterTypes : [nlea_EaglerAdapterImpl2$BufferArrayGL, nlea_EaglerAdapterImpl2$BufferGL], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RenderItem.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "doRenderItem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityItem, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110796_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityItem], returnType : nle_TextureLocation, callable : null }, { name : "renderDroppedItem", modifiers : 0, accessLevel : 1, parameterTypes : [nms_EntityItem, nms_Icon, $rt_intcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderItemIntoGUI", modifiers : 0, accessLevel : 3, parameterTypes : [nms_FontRenderer, nms_RenderEngine, nms_ItemStack, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "renderItemAndEffectIntoGUI", modifiers : 0, accessLevel : 3, parameterTypes : [nms_FontRenderer, nms_RenderEngine, nms_ItemStack, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "renderGlint", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "renderItemOverlayIntoGUI", modifiers : 0, accessLevel : 3, parameterTypes : [nms_FontRenderer, nms_RenderEngine, nms_ItemStack, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "renderItemOverlayIntoGUI", modifiers : 0, accessLevel : 3, parameterTypes : [nms_FontRenderer, nms_RenderEngine, nms_ItemStack, $rt_intcls, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "renderQuad", modifiers : 0, accessLevel : 1, parameterTypes : [nlea_Tessellator, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "renderIcon", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, nms_Icon, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RenderVillager.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "shouldVillagerRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityVillager, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "renderVillager", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityVillager, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110902_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityVillager], returnType : nle_TextureLocation, callable : null }, { name : "renderVillagerEquipedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityVillager, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "preRenderVillager", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityVillager, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "renderEquippedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_NBTTagShort.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_shortcls], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "load", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataInput, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTBase, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_WatchableObject.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, jl_Object], returnType : $rt_voidcls, callable : null }, { name : "getDataValueId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setObject", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "getObject", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "getObjectType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isWatched", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setWatched", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setWatchableObjectWatched", modifiers : 512, accessLevel : 0, parameterTypes : [nms_WatchableObject, $rt_booleancls], returnType : $rt_booleancls, callable : null }]; ju_LinkedList.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Collection], returnType : $rt_voidcls, callable : null }, { name : "size", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "clear", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "listIterator", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_ListIterator, callable : null }, { name : "listIterator", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : ju_ListIterator, callable : null }, { name : "offer", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "remove", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "poll", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "element", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "peek", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "addFirst", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "addLast", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "offerFirst", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "offerLast", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "removeFirst", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "removeLast", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "pollFirst", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "pollLast", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "getFirst", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "getLast", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "peekFirst", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "peekLast", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "removeFirstOccurrence", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "removeLastOccurrence", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "push", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "pop", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "descendingIterator", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Iterator, callable : null }, { name : "reversed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_LinkedList, callable : null }, { name : "removeEntry", modifiers : 0, accessLevel : 1, parameterTypes : [ju_LinkedList$Entry], returnType : $rt_voidcls, callable : null }, { name : "reversed", modifiers : 96, accessLevel : 3, parameterTypes : [], returnType : ju_List, callable : null }, { name : "reversed", modifiers : 96, accessLevel : 3, parameterTypes : [], returnType : ju_SequencedCollection, callable : null }, { name : "reversed", modifiers : 96, accessLevel : 3, parameterTypes : [], returnType : ju_Deque, callable : null }]; jur_ReluctantGroupQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }]; jur_UCISequenceSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "accepts", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_EntityList$_clinit_$lambda$_63_33.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_SequenceSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "accepts", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "find", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "findBack", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }, { name : "indexOf", modifiers : 0, accessLevel : 2, parameterTypes : [jl_CharSequence, $rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "lastIndexOf", modifiers : 0, accessLevel : 2, parameterTypes : [jl_CharSequence, $rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "startsWith", modifiers : 0, accessLevel : 2, parameterTypes : [jl_CharSequence, $rt_intcls], returnType : $rt_booleancls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_4.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_RenderIronGolem.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "doRenderIronGolem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityIronGolem, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getIronGolemTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityIronGolem], returnType : nle_TextureLocation, callable : null }, { name : "rotateIronGolemCorpse", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityIronGolem, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderIronGolemEquippedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityIronGolem, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderEquippedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "rotateCorpse", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RenderPig.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, nms_ModelBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderSaddledPig", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPig, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getPigTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPig], returnType : nle_TextureLocation, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; otji_JSWrapper.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [otj_JSObject], returnType : $rt_voidcls, callable : null }, { name : "wrap", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "createWeakRef", modifiers : 768, accessLevel : 1, parameterTypes : [otj_JSObject], returnType : otjc_JSWeakRef, callable : null }, { name : "deref", modifiers : 768, accessLevel : 1, parameterTypes : [otjc_JSWeakRef], returnType : otj_JSObject, callable : null }, { name : "register", modifiers : 768, accessLevel : 1, parameterTypes : [otjc_JSFinalizationRegistry, otj_JSObject, otj_JSObject], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 768, accessLevel : 1, parameterTypes : [otjc_JSMap, otj_JSObject], returnType : otjc_JSWeakRef, callable : null }, { name : "set", modifiers : 768, accessLevel : 1, parameterTypes : [otjc_JSMap, otj_JSObject, otj_JSObject], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 768, accessLevel : 1, parameterTypes : [otjc_JSWeakMap, otj_JSObject], returnType : otjc_JSWeakRef, callable : null }, { name : "set", modifiers : 768, accessLevel : 1, parameterTypes : [otjc_JSWeakMap, otj_JSObject, otj_JSObject], returnType : $rt_voidcls, callable : null }, { name : "maybeWrap", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "directJavaToJs", modifiers : 768, accessLevel : 3, parameterTypes : [jl_Object], returnType : otj_JSObject, callable : null }, { name : "directJsToJava", modifiers : 768, accessLevel : 3, parameterTypes : [otj_JSObject], returnType : jl_Object, callable : null }, { name : "dependencyJavaToJs", modifiers : 768, accessLevel : 3, parameterTypes : [jl_Object], returnType : otj_JSObject, callable : null }, { name : "dependencyJsToJava", modifiers : 768, accessLevel : 3, parameterTypes : [otj_JSObject], returnType : jl_Object, callable : null }, { name : "wrapperToJs", modifiers : 768, accessLevel : 1, parameterTypes : [otji_JSWrapper], returnType : otj_JSObject, callable : null }, { name : "jsToWrapper", modifiers : 768, accessLevel : 1, parameterTypes : [otj_JSObject], returnType : otji_JSWrapper, callable : null }, { name : "isJava", modifiers : 768, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "isJava", modifiers : 768, accessLevel : 3, parameterTypes : [otj_JSObject], returnType : $rt_booleancls, callable : null }, { name : "isJSImplementation", modifiers : 768, accessLevel : 1, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "unwrap", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Object], returnType : otj_JSObject, callable : null }, { name : "maybeUnwrap", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Object], returnType : otj_JSObject, callable : null }, { name : "javaToJs", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Object], returnType : otj_JSObject, callable : null }, { name : "jsToJava", modifiers : 512, accessLevel : 3, parameterTypes : [otj_JSObject], returnType : jl_Object, callable : null }, { name : "isJs", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "isPrimitive", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Object, otj_JSObject], returnType : $rt_booleancls, callable : null }, { name : "instanceOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_Object, otj_JSObject], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "bigintTruncate", modifiers : 768, accessLevel : 1, parameterTypes : [otj_JSObject], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isUndefined", modifiers : 768, accessLevel : 1, parameterTypes : [otj_JSObject], returnType : $rt_booleancls, callable : null }, { name : "lambda$static$1", modifiers : 544, accessLevel : 1, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "lambda$static$0", modifiers : 544, accessLevel : 1, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "createWeakRef$js_body$_2", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject], returnType : otj_JSObject, callable : null }, { name : "deref$js_body$_3", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject], returnType : otj_JSObject, callable : null }, { name : "register$js_body$_4", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject, otj_JSObject, otj_JSObject], returnType : $rt_voidcls, callable : null }, { name : "get$js_body$_5", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject, otj_JSObject], returnType : otj_JSObject, callable : null }, { name : "set$js_body$_6", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject, otj_JSObject, otj_JSObject], returnType : $rt_voidcls, callable : null }, { name : "get$js_body$_7", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject, otj_JSObject], returnType : otj_JSObject, callable : null }, { name : "set$js_body$_8", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject, otj_JSObject, otj_JSObject], returnType : $rt_voidcls, callable : null }, { name : "bigintTruncate$js_body$_27", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject], returnType : otj_JSObject, callable : null }, { name : "isUndefined$js_body$_30", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject], returnType : otj_JSObject, callable : null }]; nms_RecipesMapCloning.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryCrafting, nms_World], returnType : $rt_booleancls, callable : null }, { name : "getCraftingResult", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryCrafting], returnType : nms_ItemStack, callable : null }, { name : "getRecipeSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getRecipeOutput", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_4.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nms_EntityList$_clinit_$lambda$_63_40.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_EntityList$_clinit_$lambda$_63_16.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_EntityList$_clinit_$lambda$_63_46.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_KeyBinding.$meta.methods = [ { name : "onTick", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setKeyBindState", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "unPressAllKeys", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "resetKeyBindingArrayAndHash", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isPressed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "unpressKey", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RenderWither.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_82418_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityWither, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110911_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityWither], returnType : nle_TextureLocation, callable : null }, { name : "func_82415_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityWither, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_82417_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityWither, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "func_82416_b", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityWither, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "inheritRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_8.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; jur_PossessiveGroupQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }]; nms_EntityEggInfo.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_RenderZombie.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_82421_b", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_82429_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityZombie, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "func_82426_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityZombie, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110863_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityZombie], returnType : nle_TextureLocation, callable : null }, { name : "func_82428_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityZombie, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_82427_a", modifiers : 0, accessLevel : 1, parameterTypes : [nms_EntityZombie], returnType : $rt_voidcls, callable : null }, { name : "func_82430_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityZombie, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_130005_c", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLiving, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110856_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLiving], returnType : nle_TextureLocation, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_130006_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLiving, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "renderEquippedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "rotateCorpse", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_JointSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_ArrayList, jur_FSet], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "getNext", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getGroup", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "processSecondPass", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_PosCompositeGroupQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_Quantifier, jur_AbstractSet, jur_AbstractSet, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_1.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_NBTTagByteArray.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_arraycls($rt_bytecls)], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "load", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataInput, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTBase, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jur_AltQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_LeafSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_19.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_PossessiveCompositeQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_Quantifier, jur_LeafSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }]; jl_Long.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : jl_Long, callable : null }, { name : "parseLong", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_longcls, callable : null }, { name : "parseLong", modifiers : 512, accessLevel : 3, parameterTypes : [jl_CharSequence, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_longcls, callable : null }, { name : "parseLongImpl", modifiers : 512, accessLevel : 1, parameterTypes : [jl_CharSequence, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_longcls, callable : null }, { name : "parseLong", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_longcls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : jl_Long, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Long, callable : null }, { name : "decode", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Long, callable : null }, { name : "decodeDigit", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_charcls], returnType : $rt_intcls, callable : null }, { name : "intValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "longValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "floatValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "doubleValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "toString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_intcls], returnType : jl_String, callable : null }, { name : "toHexString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : jl_String, callable : null }, { name : "toOctalString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : jl_String, callable : null }, { name : "toBinaryString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : jl_String, callable : null }, { name : "toString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : jl_String, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "hashCode", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "compare", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_longcls], returnType : $rt_intcls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Long], returnType : $rt_intcls, callable : null }, { name : "getLong", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Long, callable : null }, { name : "getLong", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, $rt_longcls], returnType : jl_Long, callable : null }, { name : "getLong", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, jl_Long], returnType : jl_Long, callable : null }, { name : "numberOfLeadingZeros", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "numberOfTrailingZeros", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "highestOneBit", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "lowestOneBit", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "bitCount", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "rotateLeft", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_intcls], returnType : $rt_longcls, callable : null }, { name : "rotateRight", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_intcls], returnType : $rt_longcls, callable : null }, { name : "reverse", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "reverseBytes", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "signum", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "divideUnsigned", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_longcls], returnType : $rt_longcls, callable : null }, { name : "remainderUnsigned", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_longcls], returnType : $rt_longcls, callable : null }, { name : "compareUnsigned", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_longcls], returnType : $rt_intcls, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; otcit_DateTimeZoneBuilder$RuleBasedZone.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_String, otcit_DateTimeZoneBuilder], returnType : $rt_voidcls, callable : null }, { name : "initZone", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "getStandardOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "isFixed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "nextTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "previousTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [jl_StringBuilder], returnType : $rt_voidcls, callable : null }, { name : "readZone", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, otci_CharFlow], returnType : otcit_StorableDateTimeZone, callable : null }, { name : "filterRules", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, ju_List], returnType : ju_List, callable : null }, { name : "asZoneRules", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jtz_ZoneRules, callable : null }]; nms_RenderFireball.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "doRenderFireball", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityFireball, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getFireballTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityFireball], returnType : nle_TextureLocation, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }]; jur_NegativeLookBehind.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_ArrayList, jur_FSet], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; nle_TextureLocation.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "freeTextures", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_NBTTagList.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "load", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataInput, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "appendTag", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTBase], returnType : $rt_voidcls, callable : null }, { name : "removeTag", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_NBTBase, callable : null }, { name : "tagAt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_NBTBase, callable : null }, { name : "tagCount", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTBase, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_38.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_13.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; jur_SingleSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_FSet], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "find", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "findBack", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }, { name : "processBackRefReplacement", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_JointSet, callable : null }, { name : "processSecondPass", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; ju_HashMap$HashEntry.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_Object, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_Object, jl_Object], returnType : $rt_voidcls, callable : null }, { name : "clone", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }]; nlea_EaglerAdapterImpl2$AudioBufferX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [otjw_AudioBuffer], returnType : $rt_voidcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_27.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_PreviousMatch.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; nms_RenderMinecart.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderTheMinecart", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityMinecart, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getMinecartTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityMinecart], returnType : nle_TextureLocation, callable : null }, { name : "renderBlockInMinecart", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityMinecart, $rt_floatcls, nms_Block, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_UnifiedQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_LeafSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_LeafQuantifierSet], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "find", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }]; jur_AltGroupQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }]; otcit_CachedDateTimeZone.$meta.methods = [ { name : "forZone", modifiers : 512, accessLevel : 3, parameterTypes : [otcit_StorableDateTimeZone], returnType : otcit_CachedDateTimeZone, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [otcit_StorableDateTimeZone], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [jl_StringBuilder], returnType : $rt_voidcls, callable : null }, { name : "getUncachedZone", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : otcit_DateTimeZone, callable : null }, { name : "getOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "getStandardOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "isFixed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "nextTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "previousTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "asZoneRules", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jtz_ZoneRules, callable : null }, { name : "getInfo", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : otcit_CachedDateTimeZone$Info, callable : null }, { name : "createInfo", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : otcit_CachedDateTimeZone$Info, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jnci_UTF8Charset.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "contains", modifiers : 0, accessLevel : 3, parameterTypes : [jnc_Charset], returnType : $rt_booleancls, callable : null }, { name : "newDecoder", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jnc_CharsetDecoder, callable : null }, { name : "newEncoder", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jnc_CharsetEncoder, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nle_EaglerProfile$EaglerProfileSkin.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_arraycls($rt_bytecls), $rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_3.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nms_EntityList$_clinit_$lambda$_63_12.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_RenderMinecartMobSpawner.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_98192_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityMinecartMobSpawner, $rt_floatcls, nms_Block, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "renderBlockInMinecart", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityMinecart, $rt_floatcls, nms_Block, $rt_intcls], returnType : $rt_voidcls, callable : null }]; ju_Currency.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [otcic_CurrencyResource], returnType : $rt_voidcls, callable : null }, { name : "initCurrencies", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getInstance", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : ju_Currency, callable : null }, { name : "getInstance", modifiers : 512, accessLevel : 3, parameterTypes : [ju_Locale], returnType : ju_Currency, callable : null }, { name : "getAvailableCurrencies", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : ju_Set, callable : null }, { name : "getCurrencyCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getSymbol", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getSymbol", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Locale], returnType : jl_String, callable : null }, { name : "getDefaultFractionDigits", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getNumericCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getDisplayName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDisplayName", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Locale], returnType : jl_String, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; jnci_UTF16Charset.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "contains", modifiers : 0, accessLevel : 3, parameterTypes : [jnc_Charset], returnType : $rt_booleancls, callable : null }, { name : "newDecoder", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jnc_CharsetDecoder, callable : null }, { name : "newEncoder", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jnc_CharsetEncoder, callable : null }]; jur_HighSurrogateCharSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_voidcls, callable : null }, { name : "getNext", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "find", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "findBack", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getChar", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; nms_RenderSilverfish.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getSilverfishDeathRotation", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySilverfish], returnType : $rt_floatcls, callable : null }, { name : "renderSilverfish", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntitySilverfish, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getSilverfishTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySilverfish], returnType : nle_TextureLocation, callable : null }, { name : "shouldSilverfishRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySilverfish, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getDeathMaxRotation", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_floatcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_PossessiveAltQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_LeafSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }]; jur_AtomicFSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getIndex", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; nms_EnchantmentDurability.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "canApply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "negateDamage", modifiers : 512, accessLevel : 3, parameterTypes : [nms_ItemStack, $rt_intcls, nle_EaglercraftRandom], returnType : $rt_booleancls, callable : null }]; jt_DateFormatElement$ConstantText.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "format", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Calendar, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "parse", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, ju_Calendar, jt_ParsePosition], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_6.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; jur_DecomposedCharSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_intcls), $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getNext", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getDecomposedChar", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "codePointAt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; nleg_EaglerAdapterGL30$DisplayList.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_RenderEntity.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }]; nms_EntityList$_clinit_$lambda$_63_25.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_UCISupplCharSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "accepts", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; nms_RenderBat.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_82443_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityBat, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getBatTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityBat], returnType : nle_TextureLocation, callable : null }, { name : "func_82442_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityBat, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_82445_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityBat, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "func_82444_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityBat, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "rotateCorpse", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderLivingAt", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RenderChicken.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "renderChicken", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityChicken, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getChickenTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityChicken], returnType : nle_TextureLocation, callable : null }, { name : "getWingRotation", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityChicken, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "handleRotationFloat", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RenderWitherSkull.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_82400_a", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "func_82399_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityWitherSkull, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110809_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityWitherSkull], returnType : nle_TextureLocation, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jt_DateFormatElement$WeekdayText.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jt_DateFormatSymbols, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "format", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Calendar, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "parse", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, ju_Calendar, jt_ParsePosition], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_RenderCreeper.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateCreeperScale", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityCreeper, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "updateCreeperColorMultiplier", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityCreeper, $rt_floatcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "renderCreeperPassModel", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityCreeper, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "func_77061_b", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityCreeper, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getCreeperTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityCreeper], returnType : nle_TextureLocation, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getColorMultiplier", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "inheritRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_11.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; jm_BigDecimal.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_longcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls), $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls), $rt_intcls, $rt_intcls, jm_MathContext], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls)], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls), jm_MathContext], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jm_MathContext], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, jm_MathContext], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger, jm_MathContext], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigInteger, $rt_intcls, jm_MathContext], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jm_MathContext], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls, jm_MathContext], returnType : $rt_voidcls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_intcls], returnType : jm_BigDecimal, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : jm_BigDecimal, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : jm_BigDecimal, callable : null }, { name : "add", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal], returnType : jm_BigDecimal, callable : null }, { name : "addAndMult10", modifiers : 512, accessLevel : 1, parameterTypes : [jm_BigDecimal, jm_BigDecimal, $rt_intcls], returnType : jm_BigDecimal, callable : null }, { name : "add", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal, jm_MathContext], returnType : jm_BigDecimal, callable : null }, { name : "subtract", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal], returnType : jm_BigDecimal, callable : null }, { name : "subtract", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal, jm_MathContext], returnType : jm_BigDecimal, callable : null }, { name : "multiply", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal], returnType : jm_BigDecimal, callable : null }, { name : "multiply", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal, jm_MathContext], returnType : jm_BigDecimal, callable : null }, { name : "divide", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal, $rt_intcls, $rt_intcls], returnType : jm_BigDecimal, callable : null }, { name : "divide", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal, $rt_intcls, jm_RoundingMode], returnType : jm_BigDecimal, callable : null }, { name : "divideBigIntegers", modifiers : 512, accessLevel : 1, parameterTypes : [jm_BigInteger, jm_BigInteger, $rt_intcls, jm_RoundingMode], returnType : jm_BigDecimal, callable : null }, { name : "dividePrimitiveLongs", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls, $rt_longcls, $rt_intcls, jm_RoundingMode], returnType : jm_BigDecimal, callable : null }, { name : "divide", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal, $rt_intcls], returnType : jm_BigDecimal, callable : null }, { name : "divide", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal, jm_RoundingMode], returnType : jm_BigDecimal, callable : null }, { name : "divide", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal], returnType : jm_BigDecimal, callable : null }, { name : "divide", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal, jm_MathContext], returnType : jm_BigDecimal, callable : null }, { name : "divideToIntegralValue", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal], returnType : jm_BigDecimal, callable : null }, { name : "divideToIntegralValue", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal, jm_MathContext], returnType : jm_BigDecimal, callable : null }, { name : "remainder", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal], returnType : jm_BigDecimal, callable : null }, { name : "remainder", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal, jm_MathContext], returnType : jm_BigDecimal, callable : null }, { name : "divideAndRemainder", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal], returnType : $rt_arraycls(jm_BigDecimal), callable : null }, { name : "divideAndRemainder", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal, jm_MathContext], returnType : $rt_arraycls(jm_BigDecimal), callable : null }, { name : "pow", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_BigDecimal, callable : null }, { name : "pow", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jm_MathContext], returnType : jm_BigDecimal, callable : null }, { name : "abs", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jm_BigDecimal, callable : null }, { name : "abs", modifiers : 0, accessLevel : 3, parameterTypes : [jm_MathContext], returnType : jm_BigDecimal, callable : null }, { name : "negate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jm_BigDecimal, callable : null }, { name : "negate", modifiers : 0, accessLevel : 3, parameterTypes : [jm_MathContext], returnType : jm_BigDecimal, callable : null }, { name : "plus", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jm_BigDecimal, callable : null }, { name : "plus", modifiers : 0, accessLevel : 3, parameterTypes : [jm_MathContext], returnType : jm_BigDecimal, callable : null }, { name : "signum", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isZero", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "scale", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "precision", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "unscaledValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jm_BigInteger, callable : null }, { name : "round", modifiers : 0, accessLevel : 3, parameterTypes : [jm_MathContext], returnType : jm_BigDecimal, callable : null }, { name : "setScale", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jm_RoundingMode], returnType : jm_BigDecimal, callable : null }, { name : "setScale", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : jm_BigDecimal, callable : null }, { name : "setScale", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_BigDecimal, callable : null }, { name : "movePointLeft", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_BigDecimal, callable : null }, { name : "movePoint", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : jm_BigDecimal, callable : null }, { name : "movePointRight", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_BigDecimal, callable : null }, { name : "scaleByPowerOfTen", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_BigDecimal, callable : null }, { name : "stripTrailingZeros", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jm_BigDecimal, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "min", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal], returnType : jm_BigDecimal, callable : null }, { name : "max", modifiers : 0, accessLevel : 3, parameterTypes : [jm_BigDecimal], returnType : jm_BigDecimal, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toEngineeringString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toPlainString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toBigInteger", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jm_BigInteger, callable : null }, { name : "toBigIntegerExact", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jm_BigInteger, callable : null }, { name : "longValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "longValueExact", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "intValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "intValueExact", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "shortValueExact", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_shortcls, callable : null }, { name : "byteValueExact", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "floatValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "doubleValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "ulp", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jm_BigDecimal, callable : null }, { name : "inplaceRound", modifiers : 0, accessLevel : 1, parameterTypes : [jm_MathContext], returnType : $rt_voidcls, callable : null }, { name : "longCompareTo", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls, $rt_longcls], returnType : $rt_intcls, callable : null }, { name : "smallRound", modifiers : 0, accessLevel : 1, parameterTypes : [jm_MathContext, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "roundingBehavior", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, jm_RoundingMode], returnType : $rt_intcls, callable : null }, { name : "valueExact", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_longcls, callable : null }, { name : "aproxPrecision", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "toIntScale", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "zeroScaledBy", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : jm_BigDecimal, callable : null }, { name : "getUnscaledValue", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : jm_BigInteger, callable : null }, { name : "setUnscaledValue", modifiers : 0, accessLevel : 1, parameterTypes : [jm_BigInteger], returnType : $rt_voidcls, callable : null }, { name : "bitLength", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "bitLength", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RenderWitch.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_82412_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityWitch, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getWitchTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityWitch], returnType : nle_TextureLocation, callable : null }, { name : "func_82411_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityWitch, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_82410_b", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_82409_b", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityWitch, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "renderEquippedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RecipesArmorDyes.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryCrafting, nms_World], returnType : $rt_booleancls, callable : null }, { name : "getCraftingResult", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryCrafting], returnType : nms_ItemStack, callable : null }, { name : "getRecipeSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getRecipeOutput", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }]; jt_DateFormatElement$GeneralTimezone.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Locale], returnType : $rt_voidcls, callable : null }, { name : "format", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Calendar, jl_StringBuffer], returnType : $rt_voidcls, callable : null }]; jl_Package.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getPackage", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Package, callable : null }, { name : "getAnnotation", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class], returnType : jla_Annotation, callable : null }, { name : "getAnnotations", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jla_Annotation), callable : null }, { name : "getDeclaredAnnotations", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jla_Annotation), callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; otcit_DateTimeZoneProvider$Score.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [otcit_DateTimeZone], returnType : $rt_voidcls, callable : null }]; nms_RenderSquid.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "renderLivingSquid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntitySquid, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getSquidTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySquid], returnType : nle_TextureLocation, callable : null }, { name : "rotateSquidsCorpse", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySquid, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "handleRotationFloat", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySquid, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "handleRotationFloat", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "rotateCorpse", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_39.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; ju_ArrayList.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Collection], returnType : $rt_voidcls, callable : null }, { name : "trimToSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "ensureCapacity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_Object, callable : null }, { name : "getFirst", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "getLast", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "size", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "clone", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "set", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_Object], returnType : jl_Object, callable : null }, { name : "add", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "add", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_Object], returnType : $rt_voidcls, callable : null }, { name : "addFirst", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "addLast", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "removeFirst", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "removeLast", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "checkIfNotEmpty", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "remove", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_Object, callable : null }, { name : "remove", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "clear", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "addAll", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, ju_Collection], returnType : $rt_booleancls, callable : null }, { name : "removeRange", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "checkIndex", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "checkIndexForAdd", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "replaceAll", modifiers : 0, accessLevel : 3, parameterTypes : [juf_UnaryOperator], returnType : $rt_voidcls, callable : null }, { name : "forEach", modifiers : 0, accessLevel : 3, parameterTypes : [juf_Consumer], returnType : $rt_voidcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "sort", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Comparator], returnType : $rt_voidcls, callable : null }]; jur_UMultiLineEOLSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; jur_CompositeQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_Quantifier, jur_LeafSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "reset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setQuantifier", modifiers : 0, accessLevel : 0, parameterTypes : [jur_Quantifier], returnType : $rt_voidcls, callable : null }]; nms_RecipeFireworks.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryCrafting, nms_World], returnType : $rt_booleancls, callable : null }, { name : "getCraftingResult", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryCrafting], returnType : nms_ItemStack, callable : null }, { name : "getRecipeSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getRecipeOutput", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }]; nms_EnchantmentArrowKnockback.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_28.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_TextureOffset.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; jur_PossessiveQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_LeafSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }]; nms_RenderPainting.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderThePainting", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPainting, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110806_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPainting], returnType : nle_TextureLocation, callable : null }, { name : "func_77010_a", modifiers : 0, accessLevel : 1, parameterTypes : [nms_EntityPainting, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_77008_a", modifiers : 0, accessLevel : 1, parameterTypes : [nms_EntityPainting, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlea_EaglerAdapterImpl2$MediaElementAudioSourceNodeX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [otjw_MediaElementAudioSourceNode, otjdh_HTMLAudioElement, otjw_PannerNode, otjw_GainNode, $rt_booleancls], returnType : $rt_voidcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_23.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nms_RenderTntMinecart.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_94146_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityMinecartTNT, $rt_floatcls, nms_Block, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "renderBlockInMinecart", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityMinecart, $rt_floatcls, nms_Block, $rt_intcls], returnType : $rt_voidcls, callable : null }]; otcit_DateTimeZoneBuilder$Rule.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [otcit_DateTimeZoneBuilder$Recurrence, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getFromYear", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getToYear", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getOfYear", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : otcit_DateTimeZoneBuilder$OfYear, callable : null }, { name : "getSaveMillis", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "next", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_intcls, $rt_intcls, ju_GregorianCalendar], returnType : $rt_longcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_3.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_EntityList$_clinit_$lambda$_63_11.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_EmptySet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "accepts", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "find", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "findBack", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; nms_RenderPlayer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setArmorModel", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "func_130220_b", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer, $rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderSpecials", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderPlayerScale", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_96450_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer, $rt_doublecls, $rt_doublecls, $rt_doublecls, jl_String, $rt_floatcls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "renderFirstPersonArm", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "renderPlayerSleep", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "rotatePlayer", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_96449_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, jl_String, $rt_floatcls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_82408_c", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "renderEquippedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "rotateCorpse", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderLivingAt", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_18.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nms_SpawnListEntry.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; jur_ReluctantCompositeQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_Quantifier, jur_LeafSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }]; nms_RenderGiantZombie.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "preRenderScale", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityGiantZombie, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getZombieTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityGiantZombie], returnType : nle_TextureLocation, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_13.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_0.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nms_EntityList$_clinit_$lambda$_63_9.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_RenderGhast.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_110867_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityGhast], returnType : nle_TextureLocation, callable : null }, { name : "preRenderGhast", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityGhast, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesi_IPCPacket15ThrowException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_arraycls(jl_String)], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, ju_List], returnType : $rt_voidcls, callable : null }, { name : "deserialize", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataInput], returnType : $rt_voidcls, callable : null }, { name : "serialize", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "id", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "size", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "log", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jl_Boolean.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Boolean], returnType : $rt_intcls, callable : null }, { name : "compare", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_booleancls, $rt_booleancls], returnType : $rt_intcls, callable : null }, { name : "parseBoolean", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "booleanValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : jl_Boolean, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Boolean, callable : null }, { name : "toString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : jl_String, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "hashCode", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "getBoolean", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "logicalAnd", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_booleancls, $rt_booleancls], returnType : $rt_booleancls, callable : null }, { name : "logicalOr", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_booleancls, $rt_booleancls], returnType : $rt_booleancls, callable : null }, { name : "logicalXor", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_booleancls, $rt_booleancls], returnType : $rt_booleancls, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntitySmokeFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_CharSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_voidcls, callable : null }, { name : "charCount", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "accepts", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "find", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "findBack", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getChar", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_charcls, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }]; nms_RenderSlime.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBase, nms_ModelBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "shouldSlimeRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySlime, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "scaleSlime", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySlime, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getSlimeTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntitySlime], returnType : nle_TextureLocation, callable : null }, { name : "preRenderCallback", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EnchantmentThorns.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "canApply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "func_92094_a", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, nle_EaglercraftRandom], returnType : $rt_booleancls, callable : null }, { name : "func_92095_b", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, nle_EaglercraftRandom], returnType : $rt_intcls, callable : null }, { name : "func_92096_a", modifiers : 512, accessLevel : 3, parameterTypes : [nms_Entity, nms_EntityLivingBase, nle_EaglercraftRandom], returnType : $rt_voidcls, callable : null }]; nms_RenderArrow.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderArrow", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityArrow, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getArrowTextures", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityArrow], returnType : nle_TextureLocation, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_12.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; nms_ShapelessRecipes.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, ju_List], returnType : $rt_voidcls, callable : null }, { name : "getRecipeOutput", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryCrafting, nms_World], returnType : $rt_booleancls, callable : null }, { name : "getCraftingResult", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryCrafting], returnType : nms_ItemStack, callable : null }, { name : "getRecipeSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_RenderTNTPrimed.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderPrimedTNT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityTNTPrimed, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110808_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityTNTPrimed], returnType : nle_TextureLocation, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }]; jur_DotQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_AbstractSet, $rt_intcls, jur_AbstractLineTerminator], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "find", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "findLineTerminator", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "findBackLineTerminator", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; jur_PositiveLookAhead.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_ArrayList, jur_FSet], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; jnci_Iso8859Charset.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "contains", modifiers : 0, accessLevel : 3, parameterTypes : [jnc_Charset], returnType : $rt_booleancls, callable : null }, { name : "newDecoder", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jnc_CharsetDecoder, callable : null }, { name : "newEncoder", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jnc_CharsetEncoder, callable : null }]; nms_EntityList$_clinit_$lambda$_63_15.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_WordBoundary.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isSpace", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_charcls, $rt_intcls, $rt_intcls, jl_CharSequence], returnType : $rt_booleancls, callable : null }]; nms_EntityRainFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jur_FinalSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; jur_UCICharSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_voidcls, callable : null }, { name : "accepts", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; nms_EnchantmentOxygen.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_18.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_RelCompositeGroupQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_Quantifier, jur_AbstractSet, jur_AbstractSet, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }]; nms_StatBasic.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String, nms_IStatType], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "registerStat", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_StatBase, callable : null }]; nms_NBTTagByte.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "load", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataInput, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTBase, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jl_Double.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "doubleValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "intValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "longValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "floatValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : jl_Double, callable : null }, { name : "toString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : jl_String, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Double, callable : null }, { name : "parseDouble", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_doublecls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "equals", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_doublecls, $rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "doubleEqualsJs", modifiers : 768, accessLevel : 1, parameterTypes : [$rt_doublecls, $rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "equalsWithBits", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_doublecls, $rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "hashCode", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_intcls, callable : null }, { name : "compare", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls], returnType : $rt_intcls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Double], returnType : $rt_intcls, callable : null }, { name : "isNaN", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isInfinite", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isNaN", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "isInfinite", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "isFinite", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "doubleToRawLongBits", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_longcls, callable : null }, { name : "doubleToLongBits", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_longcls, callable : null }, { name : "longBitsToDouble", modifiers : 768, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_doublecls, callable : null }, { name : "toHexString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : jl_String, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isNaN$js_body$_21", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject], returnType : otj_JSObject, callable : null }, { name : "isInfinite$js_body$_22", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject], returnType : otj_JSObject, callable : null }, { name : "isFinite$js_body$_23", modifiers : 768, accessLevel : 0, parameterTypes : [otj_JSObject], returnType : otj_JSObject, callable : null }]; nms_EnchantmentFireAspect.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EntityList$_clinit_$lambda$_63_17.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; nms_NBTTagString.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "load", modifiers : 0, accessLevel : 0, parameterTypes : [ji_DataInput, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTBase, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_1.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; otcit_DateTimeZoneBuilder$RuleSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [otcit_DateTimeZoneBuilder$RuleSet], returnType : $rt_voidcls, callable : null }, { name : "getStandardOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setStandardOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setFixedSavings", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "addRule", modifiers : 0, accessLevel : 3, parameterTypes : [otcit_DateTimeZoneBuilder$Rule], returnType : $rt_voidcls, callable : null }, { name : "setUpperLimit", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, otcit_DateTimeZoneBuilder$OfYear], returnType : $rt_voidcls, callable : null }, { name : "firstTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls, ju_GregorianCalendar], returnType : otcit_DateTimeZoneBuilder$Transition, callable : null }, { name : "nextTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_intcls, ju_GregorianCalendar], returnType : otcit_DateTimeZoneBuilder$Transition, callable : null }, { name : "getUpperLimit", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_longcls, callable : null }, { name : "buildTailZone", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : otcit_DateTimeZoneBuilder$DSTZone, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; oj_JSONArray.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [oj_JSONTokener], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Collection], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Iterable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [oj_JSONArray], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "iterator", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Iterator, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_Object, callable : null }, { name : "getBoolean", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "getDouble", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_doublecls, callable : null }, { name : "getFloat", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_floatcls, callable : null }, { name : "getNumber", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_Number, callable : null }, { name : "getEnum", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class, $rt_intcls], returnType : jl_Enum, callable : null }, { name : "getBigDecimal", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_BigDecimal, callable : null }, { name : "getBigInteger", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_BigInteger, callable : null }, { name : "getInt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getJSONArray", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : oj_JSONArray, callable : null }, { name : "getJSONObject", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : oj_JSONObject, callable : null }, { name : "getLong", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_longcls, callable : null }, { name : "getString", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "isNull", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "join", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_String, callable : null }, { name : "length", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "clear", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "opt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_Object, callable : null }, { name : "optBoolean", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "optBoolean", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_booleancls], returnType : $rt_booleancls, callable : null }, { name : "optDouble", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_doublecls, callable : null }, { name : "optDouble", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_doublecls], returnType : $rt_doublecls, callable : null }, { name : "optFloat", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_floatcls, callable : null }, { name : "optFloat", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "optInt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "optInt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "optEnum", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class, $rt_intcls], returnType : jl_Enum, callable : null }, { name : "optEnum", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class, $rt_intcls, jl_Enum], returnType : jl_Enum, callable : null }, { name : "optBigInteger", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jm_BigInteger], returnType : jm_BigInteger, callable : null }, { name : "optBigDecimal", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jm_BigDecimal], returnType : jm_BigDecimal, callable : null }, { name : "optJSONArray", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : oj_JSONArray, callable : null }, { name : "optJSONObject", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : oj_JSONObject, callable : null }, { name : "optLong", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_longcls, callable : null }, { name : "optLong", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_longcls], returnType : $rt_longcls, callable : null }, { name : "optNumber", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_Number, callable : null }, { name : "optNumber", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_Number], returnType : jl_Number, callable : null }, { name : "optString", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "optString", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String], returnType : jl_String, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Collection], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Map], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_booleancls], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, ju_Collection], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_doublecls], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_floatcls], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_longcls], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, ju_Map], returnType : oj_JSONArray, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_Object], returnType : oj_JSONArray, callable : null }, { name : "putAll", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Collection], returnType : oj_JSONArray, callable : null }, { name : "putAll", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Iterable], returnType : oj_JSONArray, callable : null }, { name : "putAll", modifiers : 0, accessLevel : 3, parameterTypes : [oj_JSONArray], returnType : oj_JSONArray, callable : null }, { name : "putAll", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : oj_JSONArray, callable : null }, { name : "query", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Object, callable : null }, { name : "query", modifiers : 0, accessLevel : 3, parameterTypes : [oj_JSONPointer], returnType : jl_Object, callable : null }, { name : "optQuery", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Object, callable : null }, { name : "optQuery", modifiers : 0, accessLevel : 3, parameterTypes : [oj_JSONPointer], returnType : jl_Object, callable : null }, { name : "remove", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_Object, callable : null }, { name : "similar", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "toJSONObject", modifiers : 0, accessLevel : 3, parameterTypes : [oj_JSONArray], returnType : oj_JSONObject, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [ji_Writer], returnType : ji_Writer, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [ji_Writer, $rt_intcls, $rt_intcls], returnType : ji_Writer, callable : null }, { name : "toList", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_List, callable : null }, { name : "isEmpty", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "addAll", modifiers : 0, accessLevel : 1, parameterTypes : [ju_Collection, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "addAll", modifiers : 0, accessLevel : 1, parameterTypes : [jl_Iterable, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "addAll", modifiers : 0, accessLevel : 1, parameterTypes : [jl_Object, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "wrongValueFormatException", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_intcls, jl_String, jl_Throwable], returnType : oj_JSONException, callable : null }, { name : "wrongValueFormatException", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_intcls, jl_String, jl_Object, jl_Throwable], returnType : oj_JSONException, callable : null }]; nms_TextureStitched.$meta.methods = [ { name : "makeTextureStitched", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_TextureStitched, callable : null }, { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "init", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Texture, ju_List, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "copyFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TextureStitched], returnType : $rt_voidcls, callable : null }, { name : "getOriginX", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getOriginY", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getIconWidth", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getIconHeight", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getMinU", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getMaxU", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getInterpolatedU", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_floatcls, callable : null }, { name : "getMinV", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getMaxV", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getInterpolatedV", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_floatcls, callable : null }, { name : "getIconName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getSheetWidth", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getSheetHeight", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "updateAnimation", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "readAnimationInfo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; jur_DotAllQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "find", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; jur_AtomicJointSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_ArrayList, jur_FSet], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "setNext", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "getNext", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; jur_MultiLineEOLSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }]; jur_RangeSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractCharClass, jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractCharClass], returnType : $rt_voidcls, callable : null }, { name : "accepts", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }, { name : "getChars", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jur_AbstractCharClass, callable : null }]; nms_EntityList$_clinit_$lambda$_63_36.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "apply", modifiers : 64, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "apply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : nms_Entity, callable : null }]; jur_LeafQuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_LeafSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setInnerSet", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }]; jt_DateFormatElement$Rfc822Timezone.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Locale], returnType : $rt_voidcls, callable : null }, { name : "format", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Calendar, jl_StringBuffer], returnType : $rt_voidcls, callable : null }]; otcit_FixedDateTimeZone.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "getStandardOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "getOffsetFromLocal", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "isFixed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "nextTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "previousTransition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [jl_StringBuilder], returnType : $rt_voidcls, callable : null }, { name : "readZone", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, otci_CharFlow], returnType : otcit_FixedDateTimeZone, callable : null }, { name : "asZoneRules", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jtz_ZoneRules, callable : null }]; nlesi_IPCPacketManager$_clinit_$lambda$_27_22.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 64, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlesi_IPCPacketBase, callable : null }]; jl_Class.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [otp_PlatformClass], returnType : $rt_voidcls, callable : null }, { name : "getClass", modifiers : 512, accessLevel : 3, parameterTypes : [otp_PlatformClass], returnType : jl_Class, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "obfuscatedToString", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getPlatformClass", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : otp_PlatformClass, callable : null }, { name : "isInstance", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "isInstanceLowLevel", modifiers : 0, accessLevel : 1, parameterTypes : [otr_RuntimeObject], returnType : $rt_booleancls, callable : null }, { name : "isAssignableFrom", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class], returnType : $rt_booleancls, callable : null }, { name : "isAssignableFromLowLevel", modifiers : 0, accessLevel : 1, parameterTypes : [otr_RuntimeClass], returnType : $rt_booleancls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getSimpleName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getSimpleNameCache", modifiers : 512, accessLevel : 1, parameterTypes : [jl_Class], returnType : jl_String, callable : null }, { name : "getSimpleNameCacheLowLevel", modifiers : 512, accessLevel : 1, parameterTypes : [otr_RuntimeClass], returnType : otr_RuntimeObject, callable : null }, { name : "setSimpleNameCache", modifiers : 512, accessLevel : 1, parameterTypes : [jl_Class, jl_String], returnType : $rt_voidcls, callable : null }, { name : "setSimpleNameCacheLowLevel", modifiers : 512, accessLevel : 1, parameterTypes : [otr_RuntimeClass, otr_RuntimeObject], returnType : $rt_voidcls, callable : null }, { name : "getNameCache", modifiers : 512, accessLevel : 1, parameterTypes : [jl_Class], returnType : jl_String, callable : null }, { name : "getNameCacheLowLevel", modifiers : 512, accessLevel : 1, parameterTypes : [otr_RuntimeClass], returnType : otr_RuntimeObject, callable : null }, { name : "setNameCache", modifiers : 512, accessLevel : 1, parameterTypes : [jl_Class, jl_String], returnType : $rt_voidcls, callable : null }, { name : "setNameCacheLowLevel", modifiers : 512, accessLevel : 1, parameterTypes : [otr_RuntimeClass, otr_RuntimeObject], returnType : $rt_voidcls, callable : null }, { name : "getCanonicalName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isSynthetic", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getCanonicalNameCache", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getCanonicalNameCacheLowLevel", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : otr_RuntimeObject, callable : null }, { name : "setCanonicalNameCache", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "setCanonicalNameCacheLowLevel", modifiers : 0, accessLevel : 1, parameterTypes : [otr_RuntimeObject], returnType : $rt_voidcls, callable : null }, { name : "isPrimitive", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isArray", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isEnum", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isInterface", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isLocalClass", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isMemberClass", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getComponentType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Class, callable : null }, { name : "getDeclaredFields", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jlr_Field), callable : null }, { name : "initReflection", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "createMetadata", modifiers : 768, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getFields", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jlr_Field), callable : null }, { name : "getDeclaredField", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jlr_Field, callable : null }, { name : "getField", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jlr_Field, callable : null }, { name : "findField", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String, ju_Set], returnType : jlr_Field, callable : null }, { name : "newEmptyInstance", modifiers : 256, accessLevel : 3, parameterTypes : [], returnType : otp_PlatformObject, callable : null }, { name : "getDeclaredConstructors", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jlr_Constructor), callable : null }, { name : "getConstructors", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jlr_Constructor), callable : null }, { name : "getDeclaredConstructor", modifiers : 8192, accessLevel : 3, parameterTypes : [$rt_arraycls(jl_Class)], returnType : jlr_Constructor, callable : null }, { name : "getConstructor", modifiers : 8192, accessLevel : 3, parameterTypes : [$rt_arraycls(jl_Class)], returnType : jlr_Constructor, callable : null }, { name : "getFieldsOfInterfaces", modifiers : 512, accessLevel : 1, parameterTypes : [jl_Class, ju_List, ju_Set], returnType : $rt_voidcls, callable : null }, { name : "getDeclaredMethods", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jlr_Method), callable : null }, { name : "getDeclaredMethod", modifiers : 8192, accessLevel : 3, parameterTypes : [jl_String, $rt_arraycls(jl_Class)], returnType : jlr_Method, callable : null }, { name : "getMethods", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jlr_Method), callable : null }, { name : "getMethod", modifiers : 8192, accessLevel : 3, parameterTypes : [jl_String, $rt_arraycls(jl_Class)], returnType : jlr_Method, callable : null }, { name : "findMethods", modifiers : 512, accessLevel : 1, parameterTypes : [jl_Class, ju_Map], returnType : $rt_voidcls, callable : null }, { name : "findMethod", modifiers : 512, accessLevel : 1, parameterTypes : [jl_Class, jlr_Method, jl_String, $rt_arraycls(jl_Class)], returnType : jlr_Method, callable : null }, { name : "getModifiers", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "desiredAssertionStatus", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getSuperclass", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Class, callable : null }, { name : "getInterfaces", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jl_Class), callable : null }, { name : "getEnumConstants", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jl_Object), callable : null }, { name : "cast", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "getClassLoader", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_ClassLoader, callable : null }, { name : "forName", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Class, callable : null }, { name : "forName", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, $rt_booleancls, jl_ClassLoader], returnType : jl_Class, callable : null }, { name : "initialize", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "newInstance", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "getDeclaringClass", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Class, callable : null }, { name : "getEnclosingClass", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Class, callable : null }, { name : "asSubclass", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class], returnType : jl_Class, callable : null }, { name : "isAnnotationPresent", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class], returnType : $rt_booleancls, callable : null }, { name : "getAnnotation", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class], returnType : jla_Annotation, callable : null }, { name : "getAnnotations", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jla_Annotation), callable : null }, { name : "getDeclaredAnnotations", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jla_Annotation), callable : null }, { name : "ensureAnnotationsByType", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getResourceAsStream", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : ji_InputStream, callable : null }, { name : "getPackage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Package, callable : null }]; jur_LeafSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "accepts", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence], returnType : $rt_intcls, callable : null }, { name : "matches", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_CharSequence, jur_MatchResultImpl], returnType : $rt_intcls, callable : null }, { name : "charCount", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }]; jnc_Charset.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String, $rt_arraycls(jl_String)], returnType : $rt_voidcls, callable : null }, { name : "checkCanonicalName", modifiers : 512, accessLevel : 1, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "isValidCharsetStart", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "forName", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jnc_Charset, callable : null }, { name : "defaultCharset", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : jnc_Charset, callable : null }, { name : "name", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "aliases", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : ju_Set, callable : null }, { name : "displayName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "contains", modifiers : 1, accessLevel : 3, parameterTypes : [jnc_Charset], returnType : $rt_booleancls, callable : null }, { name : "newDecoder", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jnc_CharsetDecoder, callable : null }, { name : "newEncoder", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jnc_CharsetEncoder, callable : null }, { name : "canEncode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "decode", modifiers : 4, accessLevel : 3, parameterTypes : [jn_ByteBuffer], returnType : jn_CharBuffer, callable : null }, { name : "encode", modifiers : 4, accessLevel : 3, parameterTypes : [jn_CharBuffer], returnType : jn_ByteBuffer, callable : null }, { name : "encode", modifiers : 4, accessLevel : 3, parameterTypes : [jl_String], returnType : jn_ByteBuffer, callable : null }, { name : "compareTo", modifiers : 4, accessLevel : 3, parameterTypes : [jnc_Charset], returnType : $rt_intcls, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }]; nms_Item.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setMaxStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_Item, callable : null }, { name : "getSpriteNumber", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getIconFromDamage", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_Icon, callable : null }, { name : "getIconIndex", modifiers : 4, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : nms_Icon, callable : null }, { name : "onItemUse", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_EntityPlayer, nms_World, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "getStrVsBlock", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_Block], returnType : $rt_floatcls, callable : null }, { name : "onItemRightClick", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_World, nms_EntityPlayer], returnType : nms_ItemStack, callable : null }, { name : "onEaten", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_World, nms_EntityPlayer], returnType : nms_ItemStack, callable : null }, { name : "getItemStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getMetadata", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getHasSubtypes", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setHasSubtypes", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls], returnType : nms_Item, callable : null }, { name : "getMaxDamage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setMaxDamage", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : nms_Item, callable : null }, { name : "isDamageable", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "hitEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_EntityLivingBase, nms_EntityLivingBase], returnType : $rt_booleancls, callable : null }, { name : "onBlockDestroyed", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_World, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, nms_EntityLivingBase], returnType : $rt_booleancls, callable : null }, { name : "canHarvestBlock", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Block], returnType : $rt_booleancls, callable : null }, { name : "itemInteractionForEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_EntityPlayer, nms_EntityLivingBase], returnType : $rt_booleancls, callable : null }, { name : "setFull3D", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Item, callable : null }, { name : "isFull3D", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "shouldRotateAroundWhenRendering", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setUnlocalizedName", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_Item, callable : null }, { name : "getUnlocalizedNameInefficiently", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : jl_String, callable : null }, { name : "getUnlocalizedName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getUnlocalizedName", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : jl_String, callable : null }, { name : "setContainerItem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Item], returnType : nms_Item, callable : null }, { name : "doesContainerItemLeaveCraftingGrid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getShareTag", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getContainerItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Item, callable : null }, { name : "hasContainerItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getStatName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getItemStackDisplayName", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : jl_String, callable : null }, { name : "getColorFromItemStack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_World, nms_Entity, $rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "onCreated", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_World, nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "isMap", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getItemUseAction", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : nms_EnumAction, callable : null }, { name : "getMaxItemUseDuration", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_intcls, callable : null }, { name : "onPlayerStoppedUsing", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_World, nms_EntityPlayer, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setPotionEffect", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String], returnType : nms_Item, callable : null }, { name : "getPotionEffect", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isPotionIngredient", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "addInformation", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_EntityPlayer, ju_List, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getItemDisplayName", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : jl_String, callable : null }, { name : "hasEffect", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getRarity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : nms_EnumRarity, callable : null }, { name : "isItemTool", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getMovingObjectPositionFromPlayer", modifiers : 0, accessLevel : 2, parameterTypes : [nms_World, nms_EntityPlayer, $rt_booleancls], returnType : nms_MovingObjectPosition, callable : null }, { name : "getItemEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "requiresMultipleRenderPasses", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getIconFromDamageForRenderPass", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_Icon, callable : null }, { name : "getSubItems", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_CreativeTabs, ju_List], returnType : $rt_voidcls, callable : null }, { name : "getCreativeTab", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_CreativeTabs, callable : null }, { name : "setCreativeTab", modifiers : 0, accessLevel : 3, parameterTypes : [nms_CreativeTabs], returnType : nms_Item, callable : null }, { name : "canItemEditBlocks", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getIsRepairable", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "registerIcons", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IconRegister], returnType : $rt_voidcls, callable : null }, { name : "setTextureName", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String], returnType : nms_Item, callable : null }, { name : "getIconString", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_BehaviorDefaultDispenseItem.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "dispense", modifiers : 4, accessLevel : 3, parameterTypes : [nms_IBlockSource, nms_ItemStack], returnType : nms_ItemStack, callable : null }, { name : "dispenseStack", modifiers : 0, accessLevel : 2, parameterTypes : [nms_IBlockSource, nms_ItemStack], returnType : nms_ItemStack, callable : null }, { name : "doDispense", modifiers : 512, accessLevel : 3, parameterTypes : [nms_World, nms_ItemStack, $rt_intcls, nms_EnumFacing, nms_IPosition], returnType : $rt_voidcls, callable : null }, { name : "playDispenseSound", modifiers : 0, accessLevel : 2, parameterTypes : [nms_IBlockSource], returnType : $rt_voidcls, callable : null }, { name : "spawnDispenseParticles", modifiers : 0, accessLevel : 2, parameterTypes : [nms_IBlockSource, nms_EnumFacing], returnType : $rt_voidcls, callable : null }, { name : "func_82488_a", modifiers : 0, accessLevel : 1, parameterTypes : [nms_EnumFacing], returnType : $rt_intcls, callable : null }]; nms_NBTBase.$meta.methods = [ { name : "write", modifiers : 1, accessLevel : 0, parameterTypes : [ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "load", modifiers : 1, accessLevel : 0, parameterTypes : [ji_DataInput, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getId", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "setName", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_NBTBase, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "readNamedTag", modifiers : 512, accessLevel : 3, parameterTypes : [ji_DataInput], returnType : nms_NBTBase, callable : null }, { name : "func_130104_b", modifiers : 512, accessLevel : 3, parameterTypes : [ji_DataInput, $rt_intcls], returnType : nms_NBTBase, callable : null }, { name : "writeNamedTag", modifiers : 512, accessLevel : 3, parameterTypes : [nms_NBTBase, ji_DataOutput], returnType : $rt_voidcls, callable : null }, { name : "newTag", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_bytecls, jl_String], returnType : nms_NBTBase, callable : null }, { name : "getTagName", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : jl_String, callable : null }, { name : "copy", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : nms_NBTBase, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jt_DateFormatElement.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "format", modifiers : 1, accessLevel : 3, parameterTypes : [ju_Calendar, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "parse", modifiers : 1, accessLevel : 3, parameterTypes : [jl_String, ju_Calendar, jt_ParsePosition], returnType : $rt_voidcls, callable : null }, { name : "matches", modifiers : 512, accessLevel : 0, parameterTypes : [jl_String, $rt_intcls, jl_String], returnType : $rt_booleancls, callable : null }, { name : "whichMatches", modifiers : 512, accessLevel : 0, parameterTypes : [jl_String, jt_ParsePosition, $rt_arraycls(jl_String)], returnType : $rt_intcls, callable : null }, { name : "tryParseFixedTimeZone", modifiers : 512, accessLevel : 0, parameterTypes : [jl_String, ju_Calendar, jt_ParsePosition], returnType : $rt_booleancls, callable : null }, { name : "parseHoursMinutes", modifiers : 512, accessLevel : 0, parameterTypes : [jl_String, ju_Calendar, jt_ParsePosition], returnType : $rt_voidcls, callable : null }, { name : "getStaticTimeZone", modifiers : 512, accessLevel : 0, parameterTypes : [$rt_intcls, $rt_intcls], returnType : ju_TimeZone, callable : null }]; ju_AbstractSequentialList.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_Object, callable : null }, { name : "set", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_Object], returnType : jl_Object, callable : null }, { name : "add", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_Object], returnType : $rt_voidcls, callable : null }, { name : "remove", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_Object, callable : null }, { name : "addAll", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, ju_Collection], returnType : $rt_booleancls, callable : null }, { name : "iterator", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Iterator, callable : null }, { name : "listIterator", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : ju_ListIterator, callable : null }]; nms_Enchantment.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, nms_EnumEnchantmentType], returnType : $rt_voidcls, callable : null }, { name : "getWeight", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getMinLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getMaxLevel", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getMinEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getMaxEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "calcModifierDamage", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_DamageSource], returnType : $rt_intcls, callable : null }, { name : "calcModifierLiving", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_EntityLivingBase], returnType : $rt_floatcls, callable : null }, { name : "canApplyTogether", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Enchantment], returnType : $rt_booleancls, callable : null }, { name : "setName", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_Enchantment, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getTranslatedName", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "canApply", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_WeightedRandomItem.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; ju_AbstractSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "removeAll", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Collection], returnType : $rt_booleancls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; ju_AbstractList.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "add", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "iterator", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Iterator, callable : null }, { name : "addAll", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, ju_Collection], returnType : $rt_booleancls, callable : null }, { name : "set", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_Object], returnType : jl_Object, callable : null }, { name : "add", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_Object], returnType : $rt_voidcls, callable : null }, { name : "remove", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_Object, callable : null }, { name : "indexOf", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "lastIndexOf", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "clear", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "listIterator", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_ListIterator, callable : null }, { name : "listIterator", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : ju_ListIterator, callable : null }, { name : "subList", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : ju_List, callable : null }, { name : "removeRange", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }]; otcit_StorableDateTimeZone.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 1, accessLevel : 3, parameterTypes : [jl_StringBuilder], returnType : $rt_voidcls, callable : null }, { name : "writeTime", modifiers : 512, accessLevel : 3, parameterTypes : [jl_StringBuilder, $rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "readTime", modifiers : 512, accessLevel : 3, parameterTypes : [otci_CharFlow], returnType : $rt_longcls, callable : null }, { name : "writeUnsignedTime", modifiers : 512, accessLevel : 3, parameterTypes : [jl_StringBuilder, $rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "readUnsignedTime", modifiers : 512, accessLevel : 3, parameterTypes : [otci_CharFlow], returnType : $rt_longcls, callable : null }, { name : "writeTimeArray", modifiers : 512, accessLevel : 3, parameterTypes : [jl_StringBuilder, $rt_arraycls($rt_intcls)], returnType : $rt_voidcls, callable : null }, { name : "readTimeArray", modifiers : 512, accessLevel : 3, parameterTypes : [otci_CharFlow, $rt_arraycls($rt_intcls)], returnType : $rt_voidcls, callable : null }, { name : "read", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, jl_String], returnType : otcit_StorableDateTimeZone, callable : null }]; ju_MapEntry.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_Object, jl_Object], returnType : $rt_voidcls, callable : null }, { name : "clone", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "getKey", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "getValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setValue", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_RenderBiped.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBiped, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ModelBiped, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_82421_b", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_110857_a", modifiers : 512, accessLevel : 3, parameterTypes : [nms_ItemArmor, $rt_intcls], returnType : nle_TextureLocation, callable : null }, { name : "func_110858_a", modifiers : 512, accessLevel : 3, parameterTypes : [nms_ItemArmor, $rt_intcls, jl_String], returnType : nle_TextureLocation, callable : null }, { name : "func_130006_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLiving, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "func_130013_c", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLiving, $rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "doRenderLiving", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLiving, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110856_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLiving], returnType : nle_TextureLocation, callable : null }, { name : "func_82420_a", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLiving, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "func_130005_c", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLiving, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_82422_c", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_82439_b", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "shouldRenderPass", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "renderEquippedItems", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : nle_TextureLocation, callable : null }, { name : "doRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jt_DateFormatElement$BaseTimezone.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Locale], returnType : $rt_voidcls, callable : null }, { name : "parse", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, ju_Calendar, jt_ParsePosition], returnType : $rt_voidcls, callable : null }, { name : "match", modifiers : 0, accessLevel : 3, parameterTypes : [jt_DateFormatElement$TrieNode, jl_String, jt_ParsePosition], returnType : ju_TimeZone, callable : null }, { name : "prepareTrie", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "prepareIdTrie", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jur_QuantifierSet.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet, jur_AbstractSet, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getInnerSet", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jur_AbstractSet, callable : null }, { name : "setInnerSet", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_voidcls, callable : null }, { name : "first", modifiers : 0, accessLevel : 3, parameterTypes : [jur_AbstractSet], returnType : $rt_booleancls, callable : null }, { name : "hasConsumed", modifiers : 0, accessLevel : 3, parameterTypes : [jur_MatchResultImpl], returnType : $rt_booleancls, callable : null }, { name : "processSecondPass", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_StatBase.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String, nms_IStatType], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "initIndependentStat", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_StatBase, callable : null }, { name : "registerStat", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_StatBase, callable : null }, { name : "isAchievement", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_75968_a", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getNumberFormat", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : jt_NumberFormat, callable : null }, { name : "getDecimalFormat", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : jt_DecimalFormat, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlea_EaglerAdapterImpl2$AudioSourceNodeX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [otjw_PannerNode, otjw_GainNode, $rt_booleancls], returnType : $rt_voidcls, callable : null }]; nms_TexturePackImplementation.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String, nleav_VFile, jl_String, nms_ITexturePack], returnType : $rt_voidcls, callable : null }, { name : "trimStringToGUIWidth", modifiers : 512, accessLevel : 1, parameterTypes : [jl_String], returnType : jl_String, callable : null }, { name : "loadThumbnailImage", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "loadDescription", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_98137_a", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_booleancls], returnType : ji_InputStream, callable : null }, { name : "getResourceAsBytes", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "func_98139_b", modifiers : 1, accessLevel : 2, parameterTypes : [jl_String], returnType : ji_InputStream, callable : null }, { name : "deleteTexturePack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_RenderEngine], returnType : $rt_voidcls, callable : null }, { name : "bindThumbnailTexture", modifiers : 0, accessLevel : 3, parameterTypes : [nms_RenderEngine], returnType : $rt_voidcls, callable : null }, { name : "func_98138_b", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_booleancls], returnType : $rt_booleancls, callable : null }, { name : "func_98140_c", modifiers : 1, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "getTexturePackID", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getTexturePackFileName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getFirstDescriptionLine", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getSecondDescriptionLine", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_EntityFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "multiplyVelocity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : nms_EntityFX, callable : null }, { name : "multipleParticleScaleBy", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : nms_EntityFX, callable : null }, { name : "setRBGColorF", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setAlphaF", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getRedColorF", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getGreenColorF", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getBlueColorF", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getFXLayer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "setParticleIcon", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Icon], returnType : $rt_voidcls, callable : null }, { name : "setParticleTextureIndex", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "nextTextureIndexX", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "canAttackWithItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; otcit_DateTimeZone.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getID", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getOffset", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "getStandardOffset", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "isStandardOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_booleancls, callable : null }, { name : "getOffsetFromLocal", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_intcls, callable : null }, { name : "convertUTCToLocal", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "convertLocalToUTC", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_booleancls, $rt_longcls], returnType : $rt_longcls, callable : null }, { name : "convertLocalToUTC", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_booleancls], returnType : $rt_longcls, callable : null }, { name : "getMillisKeepLocal", modifiers : 0, accessLevel : 3, parameterTypes : [otcit_DateTimeZone, $rt_longcls], returnType : $rt_longcls, callable : null }, { name : "adjustOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_booleancls], returnType : $rt_longcls, callable : null }, { name : "isFixed", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "nextTransition", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "previousTransition", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_longcls, callable : null }, { name : "asZoneRules", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jtz_ZoneRules, callable : null }]; ju_AbstractCollection.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isEmpty", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "contains", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "toArray", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jl_Object), callable : null }, { name : "toArray", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls(jl_Object)], returnType : $rt_arraycls(jl_Object), callable : null }, { name : "add", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "remove", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "containsAll", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Collection], returnType : $rt_booleancls, callable : null }, { name : "addAll", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Collection], returnType : $rt_booleancls, callable : null }, { name : "removeAll", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Collection], returnType : $rt_booleancls, callable : null }, { name : "retainAll", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Collection], returnType : $rt_booleancls, callable : null }, { name : "clear", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_Entity.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 1, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getDataWatcher", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_DataWatcher, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "preparePlayerToSpawn", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setDead", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setSize", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setRotation", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setPosition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "setAngles", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onEntityUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getMaxInPortalTime", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setOnFireFromLava", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setFire", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "extinguish", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "kill", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isOffsetPositionInLiquid", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "moveEntity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "doBlockCollisions", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "playStepSound", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "playSound", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "updateFallState", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_doublecls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getBoundingBox", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_AxisAlignedBB, callable : null }, { name : "dealFireDamage", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isImmuneToFire", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "isWet", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isInWater", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "handleWaterMovement", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isInsideOfMaterial", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Material], returnType : $rt_booleancls, callable : null }, { name : "getEyeHeight", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "handleLavaMovement", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "moveFlying", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getBrightness", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "setWorld", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "setPositionAndRotation", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setLocationAndAngles", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getDistanceToEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_floatcls, callable : null }, { name : "getDistanceSq", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_doublecls, callable : null }, { name : "getDistance", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_doublecls, callable : null }, { name : "getDistanceSqToEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_doublecls, callable : null }, { name : "onCollideWithPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "applyEntityCollision", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "addVelocity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "setBeenAttacked", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "canBePushed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "addToPlayerScore", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isInRangeToRenderVec3D", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3], returnType : $rt_booleancls, callable : null }, { name : "isInRangeToRenderDist", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "writeMountToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_booleancls, callable : null }, { name : "writeToNBTOptional", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_booleancls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "shouldSetPosAfterLoading", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getEntityString", modifiers : 4, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "readEntityFromNBT", modifiers : 1, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 1, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "onChunkLoad", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "newDoubleNBTList", modifiers : 8192, accessLevel : 2, parameterTypes : [$rt_arraycls($rt_doublecls)], returnType : nms_NBTTagList, callable : null }, { name : "newFloatNBTList", modifiers : 8192, accessLevel : 2, parameterTypes : [$rt_arraycls($rt_floatcls)], returnType : nms_NBTTagList, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "dropItem", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_EntityItem, callable : null }, { name : "dropItemWithOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_floatcls], returnType : nms_EntityItem, callable : null }, { name : "entityDropItem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, $rt_floatcls], returnType : nms_EntityItem, callable : null }, { name : "isEntityAlive", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isEntityInsideOpaqueBlock", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "interactFirst", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "getCollisionBox", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : nms_AxisAlignedBB, callable : null }, { name : "updateRidden", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateRiderPosition", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getYOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "getMountedYOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "mountEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "setPositionAndRotation2", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getCollisionBorderSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getLookVec", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Vec3, callable : null }, { name : "setInPortal", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getPortalCooldown", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setVelocity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "performHurtAnimation", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getLastActiveItems", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(nms_ItemStack), callable : null }, { name : "setCurrentItemOrArmor", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "isBurning", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isRiding", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isSneaking", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setSneaking", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isSprinting", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setSprinting", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isInvisible", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isInvisibleToPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "setInvisible", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isEating", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setEating", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getFlag", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "setFlag", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getAir", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setAir", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "onStruckByLightning", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLightningBolt], returnType : $rt_voidcls, callable : null }, { name : "onKillEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "pushOutOfBlocks", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "setInWeb", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getEntityName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getParts", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(nms_Entity), callable : null }, { name : "isEntityEqual", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "getRotationYawHead", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "setRotationYawHead", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "canAttackWithItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "hitByEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isEntityInvulnerable", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "copyLocationAndAnglesFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "copyDataFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "travelToDimension", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getBlockExplosionResistance", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Explosion, nms_World, $rt_intcls, $rt_intcls, $rt_intcls, nms_Block], returnType : $rt_floatcls, callable : null }, { name : "shouldExplodeBlock", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Explosion, nms_World, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "getMaxSafePointTries", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getTeleportDirection", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "doesEntityNotTriggerPressurePlate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "canRenderOnFire", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getUniqueID", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nle_ProfileUUID, callable : null }, { name : "isPushedByWater", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getTranslatedEntityName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; jl_Class$MethodSignature.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_String, $rt_arraycls(jl_Class), jl_Class], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_StitchHolder.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Texture], returnType : $rt_voidcls, callable : null }, { name : "func_98150_a", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Texture, callable : null }, { name : "getWidth", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getHeight", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "rotate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isRotated", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "ceil16", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "setNewDimension", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "compareToStitchHolder", modifiers : 0, accessLevel : 3, parameterTypes : [nms_StitchHolder], returnType : $rt_intcls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }]; nms_Texture.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, nle_EaglerImage], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, nle_EaglerImage], returnType : $rt_voidcls, callable : null }, { name : "getTextureRect", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : nms_Rect2i, callable : null }, { name : "fillRect", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Rect2i, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "copyFrom", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, nms_Texture, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "func_104062_b", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, nms_Texture], returnType : $rt_voidcls, callable : null }, { name : "transferFromImage", modifiers : 0, accessLevel : 3, parameterTypes : [nle_EaglerImage], returnType : $rt_voidcls, callable : null }, { name : "getTextureId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getGlTextureId", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getWidth", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getHeight", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getTextureName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "uploadTexture", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getTextureData", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }]; jl_Character.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_voidcls, callable : null }, { name : "charValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_charcls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : jl_Character, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "hashCode", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_intcls, callable : null }, { name : "toString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : jl_String, callable : null }, { name : "isValidCodePoint", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isBmpCodePoint", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isSupplementaryCodePoint", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isHighSurrogate", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isLowSurrogate", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isSurrogate", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isSurrogatePair", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls, $rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "charCount", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "toCodePoint", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls, $rt_charcls], returnType : $rt_intcls, callable : null }, { name : "codePointAt", modifiers : 512, accessLevel : 3, parameterTypes : [jl_CharSequence, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "codePointAt", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls), $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "codePointAt", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls), $rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "codePointBefore", modifiers : 512, accessLevel : 3, parameterTypes : [jl_CharSequence, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "codePointBefore", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls), $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "codePointBefore", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls), $rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "highSurrogate", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_charcls, callable : null }, { name : "lowSurrogate", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_charcls, callable : null }, { name : "toLowerCase", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_charcls, callable : null }, { name : "toLowerCase", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getLowerCaseMapping", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : otciu_CharMapping, callable : null }, { name : "acquireLowerCaseMapping", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : otpm_StringResource, callable : null }, { name : "toUpperCase", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_charcls, callable : null }, { name : "toUpperCase", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getUpperCaseMapping", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : otciu_CharMapping, callable : null }, { name : "acquireUpperCaseMapping", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : otpm_StringResource, callable : null }, { name : "toTitleCase", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "toTitleCase", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_charcls, callable : null }, { name : "getTitleCaseMapping", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : otciu_CharMapping, callable : null }, { name : "acquireTitleCaseMapping", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : otpm_StringResource, callable : null }, { name : "mapChar", modifiers : 512, accessLevel : 1, parameterTypes : [otciu_CharMapping, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "binarySearchTable", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_arraycls($rt_intcls), $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "digit", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "digit", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getNumericValue", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_intcls, callable : null }, { name : "getNumericValue", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "forDigit", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_charcls, callable : null }, { name : "isDigit", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isDigit", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "getDigitMapping", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : $rt_arraycls($rt_intcls), callable : null }, { name : "obtainDigitMapping", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : otpm_StringResource, callable : null }, { name : "getClasses", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : $rt_arraycls(otciu_UnicodeHelper$Range), callable : null }, { name : "obtainClasses", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : otpm_StringResource, callable : null }, { name : "toChars", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_arraycls($rt_charcls), $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "toChars", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_arraycls($rt_charcls), callable : null }, { name : "codePointCount", modifiers : 512, accessLevel : 3, parameterTypes : [jl_CharSequence, $rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "codePointCount", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls), $rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "offsetByCodePoints", modifiers : 512, accessLevel : 3, parameterTypes : [jl_CharSequence, $rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "offsetByCodePoints", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_charcls), $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "isISOControl", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isISOControl", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "getType", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_intcls, callable : null }, { name : "getType", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "isLowerCase", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isLowerCase", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isUpperCase", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isUpperCase", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isTitleCase", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isTitleCase", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isDefined", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isDefined", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isLetter", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isLetter", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isLetterOrDigit", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isLetterOrDigit", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isJavaLetter", modifiers : 640, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isJavaIdentifierStart", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isJavaIdentifierStart", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isJavaLetterOrDigit", modifiers : 640, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isJavaIdentifierPart", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isJavaIdentifierPart", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isAlphabetic", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isUnicodeIdentifierStart", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isUnicodeIdentifierStart", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isUnicodeIdentifierPart", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isUnicodeIdentifierPart", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isIdentifierIgnorable", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isIdentifierIgnorable", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isSpace", modifiers : 640, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isSpaceChar", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isSpaceChar", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isWhitespace", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_booleancls, callable : null }, { name : "isWhitespace", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Character], returnType : $rt_intcls, callable : null }, { name : "compare", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls, $rt_charcls], returnType : $rt_intcls, callable : null }, { name : "reverseBytes", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_charcls, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "acquireLowerCaseMapping$$create", modifiers : 768, accessLevel : 1, parameterTypes : [], returnType : otpm_StringResource, callable : null }, { name : "acquireUpperCaseMapping$$create", modifiers : 768, accessLevel : 1, parameterTypes : [], returnType : otpm_StringResource, callable : null }, { name : "acquireTitleCaseMapping$$create", modifiers : 768, accessLevel : 1, parameterTypes : [], returnType : otpm_StringResource, callable : null }, { name : "obtainDigitMapping$$create", modifiers : 768, accessLevel : 1, parameterTypes : [], returnType : otpm_StringResource, callable : null }, { name : "obtainClasses$$create", modifiers : 768, accessLevel : 1, parameterTypes : [], returnType : otpm_StringResource, callable : null }]; nms_ItemArmor.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_EnumArmorMaterial, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getColorFromItemStack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "requiresMultipleRenderPasses", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getItemEnchantability", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getArmorMaterial", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EnumArmorMaterial, callable : null }, { name : "hasColor", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getColor", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_intcls, callable : null }, { name : "getIconFromDamageForRenderPass", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_Icon, callable : null }, { name : "removeColor", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "func_82813_b", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getIsRepairable", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "registerIcons", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IconRegister], returnType : $rt_voidcls, callable : null }, { name : "onItemRightClick", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_World, nms_EntityPlayer], returnType : nms_ItemStack, callable : null }, { name : "func_94602_b", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_Icon, callable : null }, { name : "getMaxDamageArray", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_arraycls($rt_intcls), callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jm_RoundingMode.$meta.methods = [ { name : "values", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jm_RoundingMode), callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jm_RoundingMode, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jm_RoundingMode, callable : null }, { name : "$values", modifiers : 544, accessLevel : 1, parameterTypes : [], returnType : $rt_arraycls(jm_RoundingMode), callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_ItemMinecart.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "onItemUse", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_EntityPlayer, nms_World, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_RenderEnchantmentTable.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntityEnchantmentTableAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityEnchantmentTable, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntityAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_GuiButton.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "getHoverState", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls], returnType : $rt_intcls, callable : null }, { name : "drawButton", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Minecraft, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "mouseDragged", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Minecraft, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "mouseReleased", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "mousePressed", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Minecraft, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "func_82252_a", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_82251_b", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_AxisAlignedBB.$meta.methods = [ { name : "getBoundingBox", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_AxisAlignedBB, callable : null }, { name : "getAABBPool", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : nms_AABBPool, callable : null }, { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "setBounds", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_AxisAlignedBB, callable : null }, { name : "addCoord", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_AxisAlignedBB, callable : null }, { name : "expand", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_AxisAlignedBB, callable : null }, { name : "func_111270_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_AxisAlignedBB], returnType : nms_AxisAlignedBB, callable : null }, { name : "getOffsetBoundingBox", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_AxisAlignedBB, callable : null }, { name : "calculateXOffset", modifiers : 0, accessLevel : 3, parameterTypes : [nms_AxisAlignedBB, $rt_doublecls], returnType : $rt_doublecls, callable : null }, { name : "calculateYOffset", modifiers : 0, accessLevel : 3, parameterTypes : [nms_AxisAlignedBB, $rt_doublecls], returnType : $rt_doublecls, callable : null }, { name : "calculateZOffset", modifiers : 0, accessLevel : 3, parameterTypes : [nms_AxisAlignedBB, $rt_doublecls], returnType : $rt_doublecls, callable : null }, { name : "intersectsWith", modifiers : 0, accessLevel : 3, parameterTypes : [nms_AxisAlignedBB], returnType : $rt_booleancls, callable : null }, { name : "offset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_AxisAlignedBB, callable : null }, { name : "isVecInside", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3], returnType : $rt_booleancls, callable : null }, { name : "getAverageEdgeLength", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "contract", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_AxisAlignedBB, callable : null }, { name : "copy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_AxisAlignedBB, callable : null }, { name : "calculateIntercept", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3, nms_Vec3], returnType : nms_MovingObjectPosition, callable : null }, { name : "isVecInYZ", modifiers : 0, accessLevel : 1, parameterTypes : [nms_Vec3], returnType : $rt_booleancls, callable : null }, { name : "isVecInXZ", modifiers : 0, accessLevel : 1, parameterTypes : [nms_Vec3], returnType : $rt_booleancls, callable : null }, { name : "isVecInXY", modifiers : 0, accessLevel : 1, parameterTypes : [nms_Vec3], returnType : $rt_booleancls, callable : null }, { name : "setBB", modifiers : 0, accessLevel : 3, parameterTypes : [nms_AxisAlignedBB], returnType : $rt_voidcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_Slot.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IInventory, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "onSlotChange", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "onCrafting", modifiers : 0, accessLevel : 2, parameterTypes : [nms_ItemStack, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "onCrafting", modifiers : 0, accessLevel : 2, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "onPickupFromSlot", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "isItemValid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getStack", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "getHasStack", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "putStack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "onSlotChanged", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getSlotStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getBackgroundIconIndex", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Icon, callable : null }, { name : "decrStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "isSlotInInventory", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IInventory, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "canTakeStack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "func_111238_b", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; jur_Matcher$1.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jur_Matcher, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_TileEntitySkullRenderer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntitySkullAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntitySkull, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setTileEntityRenderer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityRenderer], returnType : $rt_voidcls, callable : null }, { name : "func_82393_a", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_intcls, $rt_floatcls, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntityAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_GuiButtonLanguage.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawButton", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Minecraft, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_RenderEndPortal.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderEndPortalTileEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityEndPortal, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_76907_a", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : jn_FloatBuffer, callable : null }, { name : "renderTileEntityAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_TileEntitySignRenderer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntitySignAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntitySign, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntityAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlea_EaglerAdapterImpl2$QueryGL.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [nleat_WebGLQuery], returnType : $rt_voidcls, callable : null }]; nms_TileEntityEnderChestRenderer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderEnderChest", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityEnderChest, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntityAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jt_DecimalFormat$CurrencyField.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "render", modifiers : 0, accessLevel : 3, parameterTypes : [jt_DecimalFormat, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_TileEntityRendererPiston.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderPiston", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityPiston, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onWorldChange", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntityAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }]; jt_DecimalFormat$PerMillField.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "render", modifiers : 0, accessLevel : 3, parameterTypes : [jt_DecimalFormat, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jt_DecimalFormat$PercentField.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "render", modifiers : 0, accessLevel : 3, parameterTypes : [jt_DecimalFormat, jl_StringBuffer], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_RangedAttribute.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "func_111117_a", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_RangedAttribute, callable : null }, { name : "func_111116_f", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "clampValue", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_doublecls, callable : null }]; nms_AttributeModifier.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_doublecls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nle_ProfileUUID, jl_String, $rt_doublecls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "notEmpty", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "inclusiveBetween", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getID", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nle_ProfileUUID, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getOperation", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getAmount", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "isSaved", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setSaved", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : nms_AttributeModifier, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_TileEntityMobSpawnerRenderer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntityMobSpawner", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityMobSpawner, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_98144_a", modifiers : 512, accessLevel : 3, parameterTypes : [nms_MobSpawnerBaseLogic, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntityAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }]; nms_TileEntityChestRenderer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntityChestAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityChest, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntityAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_Tuple.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object, jl_Object], returnType : $rt_voidcls, callable : null }, { name : "getFirst", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "getSecond", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }]; nms_TileEntityBeaconRenderer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntityBeaconAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityBeacon, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntityAt", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_SlotCreativeInventory.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_GuiContainerCreative, nms_Slot, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "onPickupFromSlot", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "isItemValid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getStack", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "getHasStack", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "putStack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "onSlotChanged", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getSlotStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getBackgroundIconIndex", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Icon, callable : null }, { name : "decrStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "isSlotInInventory", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IInventory, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "func_75240_a", modifiers : 512, accessLevel : 0, parameterTypes : [nms_SlotCreativeInventory], returnType : nms_Slot, callable : null }]; nms_BaseAttribute.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getAttributeUnlocalizedName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDefaultValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "getShouldWatch", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setShouldWatch", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : nms_BaseAttribute, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_TileEntitySpecialRenderer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderTileEntityAt", modifiers : 1, accessLevel : 3, parameterTypes : [nms_TileEntity, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "bindTexture", modifiers : 0, accessLevel : 2, parameterTypes : [nle_TextureLocation], returnType : $rt_voidcls, callable : null }, { name : "setTileEntityRenderer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityRenderer], returnType : $rt_voidcls, callable : null }, { name : "onWorldChange", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "getFontRenderer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_FontRenderer, callable : null }]; nms_Gui.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "drawHorizontalLine", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawVerticalLine", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawRect", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawGradientRect", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawCenteredString", modifiers : 0, accessLevel : 3, parameterTypes : [nms_FontRenderer, jl_String, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawString", modifiers : 0, accessLevel : 3, parameterTypes : [nms_FontRenderer, jl_String, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawTexturedModalRect", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawTexturedModelRectFromIcon", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, nms_Icon, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityDiggingFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, nms_Block, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "applyColourMultiplier", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : nms_EntityDiggingFX, callable : null }, { name : "applyRenderColor", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_EntityDiggingFX, callable : null }, { name : "getFXLayer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }]; jn_ByteBufferImpl.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_arraycls($rt_bytecls), $rt_intcls, $rt_intcls, $rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "slice", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }, { name : "duplicate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }, { name : "asReadOnlyBuffer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : jn_ByteBuffer, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_bytecls, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_bytecls], returnType : jn_ByteBuffer, callable : null }, { name : "compact", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }, { name : "isDirect", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isReadOnly", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getChar", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_charcls, callable : null }, { name : "putChar", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : jn_ByteBuffer, callable : null }, { name : "getChar", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_charcls, callable : null }, { name : "putChar", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_charcls], returnType : jn_ByteBuffer, callable : null }, { name : "asCharBuffer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_CharBuffer, callable : null }, { name : "getShort", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_shortcls, callable : null }, { name : "putShort", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_shortcls], returnType : jn_ByteBuffer, callable : null }, { name : "getShort", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_shortcls, callable : null }, { name : "putShort", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_shortcls], returnType : jn_ByteBuffer, callable : null }, { name : "asShortBuffer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_ShortBuffer, callable : null }, { name : "getInt", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "putInt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jn_ByteBuffer, callable : null }, { name : "getInt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "putInt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : jn_ByteBuffer, callable : null }, { name : "asIntBuffer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_IntBuffer, callable : null }, { name : "getFloat", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "putFloat", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : jn_ByteBuffer, callable : null }, { name : "putFloat", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_floatcls], returnType : jn_ByteBuffer, callable : null }, { name : "getFloat", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_floatcls, callable : null }, { name : "getDouble", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "putDouble", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : jn_ByteBuffer, callable : null }, { name : "getDouble", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_doublecls, callable : null }, { name : "putDouble", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_doublecls], returnType : jn_ByteBuffer, callable : null }, { name : "getLong", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "putLong", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : jn_ByteBuffer, callable : null }, { name : "getLong", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_longcls, callable : null }, { name : "putLong", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_longcls], returnType : jn_ByteBuffer, callable : null }, { name : "asLongBuffer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_LongBuffer, callable : null }, { name : "asFloatBuffer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_FloatBuffer, callable : null }, { name : "asDoubleBuffer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_DoubleBuffer, callable : null }]; jn_ByteBuffer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [$rt_intcls, $rt_intcls, $rt_arraycls($rt_bytecls), $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "allocateDirect", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jn_ByteBuffer, callable : null }, { name : "allocate", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jn_ByteBuffer, callable : null }, { name : "wrap", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls), $rt_intcls, $rt_intcls], returnType : jn_ByteBuffer, callable : null }, { name : "wrap", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls)], returnType : jn_ByteBuffer, callable : null }, { name : "slice", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }, { name : "duplicate", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }, { name : "asReadOnlyBuffer", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }, { name : "get", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_bytecls, callable : null }, { name : "put", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : jn_ByteBuffer, callable : null }, { name : "get", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_bytecls, callable : null }, { name : "put", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_bytecls], returnType : jn_ByteBuffer, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls), $rt_intcls, $rt_intcls], returnType : jn_ByteBuffer, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls)], returnType : jn_ByteBuffer, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [jn_ByteBuffer], returnType : jn_ByteBuffer, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls), $rt_intcls, $rt_intcls], returnType : jn_ByteBuffer, callable : null }, { name : "put", modifiers : 4, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls)], returnType : jn_ByteBuffer, callable : null }, { name : "hasArray", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "array", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "arrayOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "compact", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }, { name : "isDirect", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jn_ByteBuffer], returnType : $rt_intcls, callable : null }, { name : "order", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : jn_ByteOrder, callable : null }, { name : "order", modifiers : 4, accessLevel : 3, parameterTypes : [jn_ByteOrder], returnType : jn_ByteBuffer, callable : null }, { name : "getChar", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_charcls, callable : null }, { name : "putChar", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : jn_ByteBuffer, callable : null }, { name : "getChar", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_charcls, callable : null }, { name : "putChar", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_charcls], returnType : jn_ByteBuffer, callable : null }, { name : "asCharBuffer", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jn_CharBuffer, callable : null }, { name : "getShort", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_shortcls, callable : null }, { name : "putShort", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_shortcls], returnType : jn_ByteBuffer, callable : null }, { name : "getShort", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_shortcls, callable : null }, { name : "putShort", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_shortcls], returnType : jn_ByteBuffer, callable : null }, { name : "asShortBuffer", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jn_ShortBuffer, callable : null }, { name : "getInt", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "putInt", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jn_ByteBuffer, callable : null }, { name : "getInt", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "putInt", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : jn_ByteBuffer, callable : null }, { name : "asIntBuffer", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jn_IntBuffer, callable : null }, { name : "getLong", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "putLong", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : jn_ByteBuffer, callable : null }, { name : "getLong", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_longcls, callable : null }, { name : "putLong", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_longcls], returnType : jn_ByteBuffer, callable : null }, { name : "asLongBuffer", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jn_LongBuffer, callable : null }, { name : "getFloat", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "putFloat", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : jn_ByteBuffer, callable : null }, { name : "getFloat", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_floatcls, callable : null }, { name : "putFloat", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_floatcls], returnType : jn_ByteBuffer, callable : null }, { name : "asFloatBuffer", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jn_FloatBuffer, callable : null }, { name : "getDouble", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "putDouble", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : jn_ByteBuffer, callable : null }, { name : "getDouble", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_doublecls, callable : null }, { name : "putDouble", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_doublecls], returnType : jn_ByteBuffer, callable : null }, { name : "asDoubleBuffer", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jn_DoubleBuffer, callable : null }, { name : "mark", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }, { name : "reset", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }, { name : "clear", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }, { name : "flip", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }, { name : "rewind", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : jn_ByteBuffer, callable : null }, { name : "limit", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jn_ByteBuffer, callable : null }, { name : "position", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jn_ByteBuffer, callable : null }, { name : "array", modifiers : 96, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "rewind", modifiers : 96, accessLevel : 3, parameterTypes : [], returnType : jn_Buffer, callable : null }, { name : "flip", modifiers : 96, accessLevel : 3, parameterTypes : [], returnType : jn_Buffer, callable : null }, { name : "clear", modifiers : 96, accessLevel : 3, parameterTypes : [], returnType : jn_Buffer, callable : null }, { name : "reset", modifiers : 96, accessLevel : 3, parameterTypes : [], returnType : jn_Buffer, callable : null }, { name : "mark", modifiers : 96, accessLevel : 3, parameterTypes : [], returnType : jn_Buffer, callable : null }, { name : "limit", modifiers : 96, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jn_Buffer, callable : null }, { name : "position", modifiers : 96, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jn_Buffer, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }]; jn_Buffer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "capacity", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "position", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "position", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jn_Buffer, callable : null }, { name : "limit", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "limit", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jn_Buffer, callable : null }, { name : "mark", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_Buffer, callable : null }, { name : "reset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_Buffer, callable : null }, { name : "clear", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_Buffer, callable : null }, { name : "flip", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_Buffer, callable : null }, { name : "rewind", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jn_Buffer, callable : null }, { name : "remaining", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "hasRemaining", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isReadOnly", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "hasArray", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "array", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "arrayOffset", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isDirect", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_StitchSlot.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getStitchHolder", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_StitchHolder, callable : null }, { name : "getOriginX", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getOriginY", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "func_94182_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_StitchHolder], returnType : $rt_booleancls, callable : null }, { name : "getAllStitchSlots", modifiers : 0, accessLevel : 3, parameterTypes : [ju_List], returnType : $rt_voidcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_PotionEffect.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_PotionEffect], returnType : $rt_voidcls, callable : null }, { name : "combine", modifiers : 0, accessLevel : 3, parameterTypes : [nms_PotionEffect], returnType : $rt_voidcls, callable : null }, { name : "getPotionID", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getDuration", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getAmplifier", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setSplashPotion", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getIsAmbient", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase], returnType : $rt_booleancls, callable : null }, { name : "deincrementDuration", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "performEffect", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "getEffectName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "writeCustomPotionEffectToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : nms_NBTTagCompound, callable : null }, { name : "readCustomPotionEffectFromNBT", modifiers : 512, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : nms_PotionEffect, callable : null }, { name : "setPotionDurationMax", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getIsPotionDurationMax", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nleav_VirtualFilesystem$VFSFile.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [nleav_VirtualFilesystem, jl_String, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getPath", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getInputStream", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ji_InputStream, callable : null }, { name : "getOutputStream", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ji_OutputStream, callable : null }, { name : "getBytes", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_arraycls($rt_bytecls), $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setCacheEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getAllBytes", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "getAllChars", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getAllLines", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jl_String), callable : null }, { name : "getAllBytes", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "setAllChars", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_booleancls, callable : null }, { name : "setAllBytes", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls)], returnType : $rt_booleancls, callable : null }, { name : "setAllBytes", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls), $rt_booleancls], returnType : $rt_booleancls, callable : null }, { name : "sync", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "delete", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "rename", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_booleancls], returnType : $rt_booleancls, callable : null }, { name : "exists", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EnumOptions.$meta.methods = [ { name : "values", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(nms_EnumOptions), callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_EnumOptions, callable : null }, { name : "getEnumOptions", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_EnumOptions, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String, $rt_intcls, jl_String, $rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getEnumFloat", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getEnumBoolean", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "returnEnumOrdinal", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getEnumString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "$values", modifiers : 544, accessLevel : 1, parameterTypes : [], returnType : $rt_arraycls(nms_EnumOptions), callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EnumGameType.$meta.methods = [ { name : "values", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(nms_EnumGameType), callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_EnumGameType, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String, $rt_intcls, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "getID", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "configurePlayerCapabilities", modifiers : 0, accessLevel : 3, parameterTypes : [nms_PlayerCapabilities], returnType : $rt_voidcls, callable : null }, { name : "isAdventure", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isCreative", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isSurvivalOrAdventure", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getByID", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_EnumGameType, callable : null }, { name : "getByName", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_EnumGameType, callable : null }, { name : "$values", modifiers : 544, accessLevel : 1, parameterTypes : [], returnType : $rt_arraycls(nms_EnumGameType), callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nle_PKT.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_arraycls($rt_bytecls)], returnType : $rt_voidcls, callable : null }]; nms_Vec3.$meta.methods = [ { name : "createVectorHelper", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_Vec3, callable : null }, { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Vec3Pool, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "setComponents", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_Vec3, callable : null }, { name : "subtract", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3], returnType : nms_Vec3, callable : null }, { name : "normalize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Vec3, callable : null }, { name : "dotProduct", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3], returnType : $rt_doublecls, callable : null }, { name : "crossProduct", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3], returnType : nms_Vec3, callable : null }, { name : "addVector", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_Vec3, callable : null }, { name : "distanceTo", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3], returnType : $rt_doublecls, callable : null }, { name : "squareDistanceTo", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3], returnType : $rt_doublecls, callable : null }, { name : "squareDistanceTo", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_doublecls, callable : null }, { name : "lengthVector", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "getIntermediateWithXValue", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3, $rt_doublecls], returnType : nms_Vec3, callable : null }, { name : "getIntermediateWithYValue", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3, $rt_doublecls], returnType : nms_Vec3, callable : null }, { name : "getIntermediateWithZValue", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3, $rt_doublecls], returnType : nms_Vec3, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "rotateAroundX", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "rotateAroundY", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "rotateAroundZ", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_GuiSlider.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, nms_EnumOptions, jl_String, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getHoverState", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls], returnType : $rt_intcls, callable : null }, { name : "mouseDragged", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Minecraft, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "mousePressed", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Minecraft, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "mouseReleased", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_GuiSmallButton.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, nms_EnumOptions, jl_String], returnType : $rt_voidcls, callable : null }, { name : "returnEnumOptions", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EnumOptions, callable : null }]; nle_TextureTerrainMap$TerrainIconV2.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, nle_TextureTerrainMap, jl_String], returnType : $rt_voidcls, callable : null }, { name : "free", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getOriginX", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getOriginY", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getMinU", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getMaxU", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getInterpolatedU", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_floatcls, callable : null }, { name : "getMinV", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getMaxV", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getInterpolatedV", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_floatcls, callable : null }, { name : "getIconName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getSheetWidth", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getSheetHeight", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "updateAnimation", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "loadData", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getIconWidth", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getIconHeight", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_ChatLine.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getChatLineString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getUpdatedCounter", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getChatLineID", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_SaveFormatComparator.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String, $rt_longcls, $rt_longcls, nms_EnumGameType, $rt_booleancls, $rt_booleancls, $rt_booleancls, nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getFileName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDisplayName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "requiresConversion", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getLastTimePlayed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [nms_SaveFormatComparator], returnType : $rt_intcls, callable : null }, { name : "getEnumGameType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EnumGameType, callable : null }, { name : "isHardcoreModeEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getCheatsEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }]; otjc_JSUndefined.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "instance", modifiers : 768, accessLevel : 3, parameterTypes : [], returnType : otjc_JSUndefined, callable : null }, { name : "$static", modifiers : 512, accessLevel : 0, parameterTypes : [otjc_JSUndefined], returnType : $rt_voidcls, callable : null }, { name : "instance$js_body$_1", modifiers : 768, accessLevel : 0, parameterTypes : [], returnType : otj_JSObject, callable : null }]; otjc_JSMap.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 256, accessLevel : 3, parameterTypes : [otj_JSObject], returnType : otj_JSObject, callable : null }, { name : "has", modifiers : 256, accessLevel : 3, parameterTypes : [otj_JSObject], returnType : $rt_booleancls, callable : null }, { name : "set", modifiers : 256, accessLevel : 3, parameterTypes : [otj_JSObject, otj_JSObject], returnType : otjc_JSMap, callable : null }, { name : "delete", modifiers : 256, accessLevel : 3, parameterTypes : [otj_JSObject], returnType : $rt_booleancls, callable : null }, { name : "clear", modifiers : 256, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "create", modifiers : 896, accessLevel : 3, parameterTypes : [], returnType : otjc_JSMap, callable : null }, { name : "$static", modifiers : 512, accessLevel : 0, parameterTypes : [otjc_JSMap], returnType : $rt_voidcls, callable : null }, { name : "create$js_body$_6", modifiers : 768, accessLevel : 0, parameterTypes : [], returnType : otj_JSObject, callable : null }]; otjc_JSWeakMap.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "get", modifiers : 256, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "has", modifiers : 256, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "set", modifiers : 256, accessLevel : 3, parameterTypes : [jl_Object, jl_Object], returnType : otjc_JSWeakMap, callable : null }, { name : "remove", modifiers : 256, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "create", modifiers : 896, accessLevel : 3, parameterTypes : [], returnType : otjc_JSWeakMap, callable : null }, { name : "isSupported", modifiers : 768, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "$static", modifiers : 512, accessLevel : 0, parameterTypes : [otjc_JSWeakMap], returnType : $rt_voidcls, callable : null }, { name : "create$js_body$_5", modifiers : 768, accessLevel : 0, parameterTypes : [], returnType : otj_JSObject, callable : null }, { name : "isSupported$js_body$_6", modifiers : 768, accessLevel : 0, parameterTypes : [], returnType : otj_JSObject, callable : null }]; nleat_MessageChannel.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "supported", modifiers : 768, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getPort1", modifiers : 256, accessLevel : 3, parameterTypes : [], returnType : otjw_MessagePort, callable : null }, { name : "getPort2", modifiers : 256, accessLevel : 3, parameterTypes : [], returnType : otjw_MessagePort, callable : null }, { name : "$static", modifiers : 512, accessLevel : 0, parameterTypes : [nleat_MessageChannel], returnType : $rt_voidcls, callable : null }, { name : "supported$js_body$_1", modifiers : 768, accessLevel : 0, parameterTypes : [], returnType : otj_JSObject, callable : null }]; nms_Packet44UpdateAttributesSnapshot.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Packet44UpdateAttributes, jl_String, $rt_doublecls, ju_Collection], returnType : $rt_voidcls, callable : null }, { name : "func_142040_a", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_142041_b", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "func_142039_c", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Collection, callable : null }]; nle_LANServerList$LanServer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [nle_LANServerList, jl_String, nle_RelayServer, jl_String], returnType : $rt_voidcls, callable : null }, { name : "getLanServerMotd", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getLanServerRelay", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nle_RelayServer, callable : null }, { name : "getLanServerCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_BiomeGenHell.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_BiomeGenHills.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "decorate", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nle_EaglercraftRandom, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_BiomeGenMushroomIsland.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_BiomeGenForest.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getRandomWorldGenForTrees", modifiers : 0, accessLevel : 3, parameterTypes : [nle_EaglercraftRandom], returnType : nms_WorldGenerator, callable : null }]; nms_BiomeGenEnd.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getSkyColorByTemp", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }]; nle_ServerQuery$QueryResponse.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [oj_JSONObject, $rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls, $rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "isResponseString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isResponseJSON", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getResponseString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getResponseJSON", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : oj_JSONObject, callable : null }]; nms_BiomeGenSwamp.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getRandomWorldGenForTrees", modifiers : 0, accessLevel : 3, parameterTypes : [nle_EaglercraftRandom], returnType : nms_WorldGenerator, callable : null }, { name : "getBiomeGrassColor", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getBiomeFoliageColor", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_BiomeGenTaiga.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getRandomWorldGenForTrees", modifiers : 0, accessLevel : 3, parameterTypes : [nle_EaglercraftRandom], returnType : nms_WorldGenerator, callable : null }]; nms_BiomeGenDesert.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "decorate", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nle_EaglercraftRandom, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_BiomeGenBeach.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_ChunkPosition.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_BiomeGenOcean.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_BiomeGenJungle.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getRandomWorldGenForTrees", modifiers : 0, accessLevel : 3, parameterTypes : [nle_EaglercraftRandom], returnType : nms_WorldGenerator, callable : null }, { name : "getRandomWorldGenForGrass", modifiers : 0, accessLevel : 3, parameterTypes : [nle_EaglercraftRandom], returnType : nms_WorldGenerator, callable : null }, { name : "decorate", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nle_EaglercraftRandom, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_BiomeGenSnow.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_BiomeGenPlains.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_BiomeGenRiver.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_BiomeGenBase.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "createBiomeDecorator", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : nms_BiomeDecorator, callable : null }, { name : "setTemperatureRainfall", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : nms_BiomeGenBase, callable : null }, { name : "setMinMaxHeight", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : nms_BiomeGenBase, callable : null }, { name : "setDisableRain", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : nms_BiomeGenBase, callable : null }, { name : "getRandomWorldGenForTrees", modifiers : 0, accessLevel : 3, parameterTypes : [nle_EaglercraftRandom], returnType : nms_WorldGenerator, callable : null }, { name : "getRandomWorldGenForGrass", modifiers : 0, accessLevel : 3, parameterTypes : [nle_EaglercraftRandom], returnType : nms_WorldGenerator, callable : null }, { name : "setEnableSnow", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : nms_BiomeGenBase, callable : null }, { name : "setBiomeName", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String], returnType : nms_BiomeGenBase, callable : null }, { name : "func_76733_a", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : nms_BiomeGenBase, callable : null }, { name : "setColor", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : nms_BiomeGenBase, callable : null }, { name : "getSkyColorByTemp", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "HSBtoRGB", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getSpawnableList", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EnumCreatureType], returnType : ju_List, callable : null }, { name : "getEnableSnow", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "canSpawnLightningBolt", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isHighHumidity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getSpawningChance", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getIntRainfall", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getIntTemperature", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getFloatRainfall", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getFloatTemperature", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "decorate", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nle_EaglercraftRandom, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getBiomeGrassColor", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getBiomeFoliageColor", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlea_EaglerAdapterImpl2$RelayWorldsQueryRatelimitDummy.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [nlea_EaglerAdapterImpl2$RateLimit], returnType : $rt_voidcls, callable : null }, { name : "isQueryOpen", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isQueryFailed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isQueryRateLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlea_EaglerAdapterImpl2$RateLimit, callable : null }, { name : "close", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getWorlds", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_List, callable : null }, { name : "getCompatible", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nle_RelayQuery$VersionMismatch, callable : null }]; nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "isQueryOpen", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isQueryFailed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isQueryRateLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nlea_EaglerAdapterImpl2$RateLimit, callable : null }, { name : "close", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getWorlds", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_List, callable : null }, { name : "getCompatible", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nle_RelayQuery$VersionMismatch, callable : null }]; nms_EnumArt.$meta.methods = [ { name : "values", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(nms_EnumArt), callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : nms_EnumArt, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String, $rt_intcls, jl_String, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "$values", modifiers : 544, accessLevel : 1, parameterTypes : [], returnType : $rt_arraycls(nms_EnumArt), callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_SlotArmor.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [nms_ContainerPlayer, nms_IInventory, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getSlotStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isItemValid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getBackgroundIconIndex", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Icon, callable : null }]; nms_EntityCrit2FX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_Entity, jl_String], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getFXLayer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_GuiPlayerInfo.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; nms_MerchantRecipe.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_ItemStack, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_Item], returnType : $rt_voidcls, callable : null }, { name : "getItemToBuy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "getSecondItemToBuy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "hasSecondItemToBuy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getItemToSell", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "hasSameIDsAs", modifiers : 0, accessLevel : 3, parameterTypes : [nms_MerchantRecipe], returnType : $rt_booleancls, callable : null }, { name : "hasSameItemsAs", modifiers : 0, accessLevel : 3, parameterTypes : [nms_MerchantRecipe], returnType : $rt_booleancls, callable : null }, { name : "incrementToolUses", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_82783_a", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_82784_g", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_82785_h", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "readFromTags", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToTags", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTTagCompound, callable : null }]; nms_SlotCrafting.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_IInventory, nms_IInventory, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isItemValid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "decrStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "onCrafting", modifiers : 0, accessLevel : 2, parameterTypes : [nms_ItemStack, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "onCrafting", modifiers : 0, accessLevel : 2, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "onPickupFromSlot", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_ItemStack], returnType : $rt_voidcls, callable : null }]; nms_EntityPickupFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_Entity, nms_Entity, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getFXLayer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_ScoreHealthCriteria.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "func_96635_a", modifiers : 0, accessLevel : 3, parameterTypes : [ju_List], returnType : $rt_intcls, callable : null }, { name : "isReadOnly", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_ScoreDummyCriteria.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "func_96636_a", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_96635_a", modifiers : 0, accessLevel : 3, parameterTypes : [ju_List], returnType : $rt_intcls, callable : null }, { name : "isReadOnly", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nle_RelayQuery$VersionMismatch.$meta.methods = [ { name : "values", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(nle_RelayQuery$VersionMismatch), callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : nle_RelayQuery$VersionMismatch, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isCompatible", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "$values", modifiers : 544, accessLevel : 1, parameterTypes : [], returnType : $rt_arraycls(nle_RelayQuery$VersionMismatch), callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; ju_HashMap.$meta.methods = [ { name : "newElementArray", modifiers : 0, accessLevel : 0, parameterTypes : [$rt_intcls], returnType : $rt_arraycls(ju_HashMap$HashEntry), callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "calculateCapacity", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Map], returnType : $rt_voidcls, callable : null }, { name : "clear", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "clone", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "computeThreshold", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "containsKey", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "containsValue", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "entrySet", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Set, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "entryByKey", modifiers : 4, accessLevel : 0, parameterTypes : [jl_Object], returnType : ju_HashMap$HashEntry, callable : null }, { name : "findNonNullKeyEntry", modifiers : 4, accessLevel : 0, parameterTypes : [jl_Object, $rt_intcls, $rt_intcls], returnType : ju_HashMap$HashEntry, callable : null }, { name : "findNullKeyEntry", modifiers : 4, accessLevel : 0, parameterTypes : [], returnType : ju_HashMap$HashEntry, callable : null }, { name : "isEmpty", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "keySet", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Set, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object, jl_Object], returnType : jl_Object, callable : null }, { name : "putImpl", modifiers : 0, accessLevel : 1, parameterTypes : [jl_Object, jl_Object], returnType : jl_Object, callable : null }, { name : "createHashedEntry", modifiers : 0, accessLevel : 1, parameterTypes : [jl_Object, $rt_intcls, $rt_intcls], returnType : ju_HashMap$HashEntry, callable : null }, { name : "putAll", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Map], returnType : $rt_voidcls, callable : null }, { name : "putAllImpl", modifiers : 0, accessLevel : 0, parameterTypes : [ju_Map], returnType : $rt_voidcls, callable : null }, { name : "rehash", modifiers : 0, accessLevel : 0, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "rehash", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "remove", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "removeEntry", modifiers : 4, accessLevel : 0, parameterTypes : [ju_HashMap$HashEntry], returnType : $rt_voidcls, callable : null }, { name : "removeByKey", modifiers : 4, accessLevel : 0, parameterTypes : [jl_Object], returnType : ju_HashMap$HashEntry, callable : null }, { name : "size", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "values", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Collection, callable : null }, { name : "forEach", modifiers : 0, accessLevel : 3, parameterTypes : [juf_BiConsumer], returnType : $rt_voidcls, callable : null }, { name : "replaceAll", modifiers : 0, accessLevel : 3, parameterTypes : [juf_BiFunction], returnType : $rt_voidcls, callable : null }, { name : "areEqualKeys", modifiers : 512, accessLevel : 0, parameterTypes : [jl_Object, jl_Object], returnType : $rt_booleancls, callable : null }, { name : "capacity", modifiers : 512, accessLevel : 0, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "newHashMap", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : ju_HashMap, callable : null }]; nms_FlatLayerInfo.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getLayerCount", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getFillBlock", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getFillBlockMeta", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getMinY", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setMinY", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_EntityHorse.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setHorseType", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getHorseType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setHorseVariant", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getHorseVariant", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getEntityName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHorseWatchableBoolean", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "setHorseWatchableBoolean", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isAdultHorse", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isTame", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_110253_bW", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getOwnerName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setOwnerName", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getHorseSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "setScaleForAge", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isHorseJumping", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setHorseTamed", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setHorseJumping", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "allowLeashing", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_142017_o", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "isChested", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_110241_cb", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getHorseArmorIndex", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_intcls, callable : null }, { name : "isEatingHaystack", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isRearing", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_110205_ce", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getHasReproduced", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_110236_r", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_110242_l", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setChested", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setHasReproduced", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setHorseSaddled", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getTemper", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setTemper", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "increaseTemper", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "getTotalArmorValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "canBePushed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "prepareChunkForSpawn", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "dropChests", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_110266_cB", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110225_cC", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "func_110226_cD", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_110232_cE", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onInventoryChanged", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryBasic], returnType : $rt_voidcls, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getClosestHorse", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity, $rt_doublecls], returnType : nms_EntityHorse, callable : null }, { name : "getHorseJumpStrength", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isHorseSaddled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getAngrySoundName", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "playStepSound", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getMaxSpawnedInChunk", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getMaxTemper", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getSoundVolume", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getTalkInterval", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "func_110239_cn", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_110230_cF", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setHorseTexturePaths", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getHorseTexture", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getVariantTexturePaths", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jl_String), callable : null }, { name : "openGUI", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "interact", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "func_110237_h", modifiers : 0, accessLevel : 1, parameterTypes : [nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "func_110259_cr", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_110229_cs", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isMovementBlocked", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_110256_cu", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_110222_cv", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isBreedingItem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "func_110210_cH", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onDeath", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource], returnType : $rt_voidcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "openHorseMouth", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_110200_cJ", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setEating", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setEatingHaystack", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setRearing", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "makeHorseRear", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "makeHorseRearWithSound", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "dropChestItems", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "dropItemsInChest", modifiers : 0, accessLevel : 1, parameterTypes : [nms_Entity, nms_AnimalChest], returnType : $rt_voidcls, callable : null }, { name : "setTamedBy", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "moveEntityWithHeading", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "canMateWith", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAnimal], returnType : $rt_booleancls, callable : null }, { name : "createChild", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityAgeable, callable : null }, { name : "onSpawnWithEgg", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingData], returnType : nms_EntityLivingData, callable : null }, { name : "getGrassEatingAmount", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getRearingAmount", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "func_110201_q", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setJumpPower", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "spawnHorseParticles", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "updateRiderPosition", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_110267_cL", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "func_110245_cM", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "func_110203_cN", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "func_110211_v", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isOnLadder", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; ju_AbstractMap.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "size", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isEmpty", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "containsValue", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "containsKey", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "get", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "put", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object, jl_Object], returnType : jl_Object, callable : null }, { name : "putAll", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Map], returnType : $rt_voidcls, callable : null }, { name : "remove", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "entrySet", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : ju_Set, callable : null }, { name : "clear", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "keySet", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Set, callable : null }, { name : "values", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Collection, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "clone", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_Object, callable : null }]; nms_EntityAnimal.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "updateAITick", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "attackEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "procreate", modifiers : 0, accessLevel : 1, parameterTypes : [nms_EntityAnimal], returnType : $rt_voidcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "getBlockPathWeight", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_floatcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "findPlayerToAttack", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : nms_Entity, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getTalkInterval", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "canDespawn", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getExperiencePoints", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer], returnType : $rt_intcls, callable : null }, { name : "isBreedingItem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "interact", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "func_110196_bT", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isInLove", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "resetInLove", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "canMateWith", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAnimal], returnType : $rt_booleancls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }]; nms_EntityCreature.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "isMovementCeased", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "updateEntityActionState", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateWanderPath", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "attackEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getBlockPathWeight", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_floatcls, callable : null }, { name : "findPlayerToAttack", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : nms_Entity, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "hasPath", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setPathToEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_PathEntity], returnType : $rt_voidcls, callable : null }, { name : "getEntityToAttack", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Entity, callable : null }, { name : "setTarget", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "func_110173_bK", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_110176_b", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "setHomeArea", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getHomePosition", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ChunkCoordinates, callable : null }, { name : "func_110174_bM", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "detachHome", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "hasHome", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_110159_bB", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_142017_o", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityAgeable.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "createChild", modifiers : 1, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityAgeable, callable : null }, { name : "interact", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getGrowingAge", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "addGrowth", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setGrowingAge", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isChild", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setScaleForAge", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setSize", modifiers : 4, accessLevel : 2, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setScale", modifiers : 4, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }]; nms_EntityLiving.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getLookHelper", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityLookHelper, callable : null }, { name : "getMoveHelper", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityMoveHelper, callable : null }, { name : "getJumpHelper", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityJumpHelper, callable : null }, { name : "getNavigator", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_PathNavigate, callable : null }, { name : "getEntitySenses", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntitySenses, callable : null }, { name : "getAttackTarget", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityLivingBase, callable : null }, { name : "setAttackTarget", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "canAttackClass", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class], returnType : $rt_booleancls, callable : null }, { name : "eatGrassBonus", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getTalkInterval", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "playLivingSound", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onEntityUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getExperiencePoints", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer], returnType : $rt_intcls, callable : null }, { name : "spawnExplosionParticle", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_110146_f", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "setMoveForward", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setAIMoveSpeed", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "canDespawn", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "despawnEntity", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateAITasks", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateEntityActionState", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getVerticalFaceSpeed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "faceEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "updateRotation", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getRenderSizeModifier", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getMaxSpawnedInChunk", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getMaxSafePointTries", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getHeldItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "getCurrentItemOrArmor", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "func_130225_q", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "setCurrentItemOrArmor", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "getLastActiveItems", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(nms_ItemStack), callable : null }, { name : "dropEquipment", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "addRandomArmor", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getArmorPosition", modifiers : 512, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_intcls, callable : null }, { name : "getArmorItemForSlot", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_Item, callable : null }, { name : "enchantEquipment", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onSpawnWithEgg", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingData], returnType : nms_EntityLivingData, callable : null }, { name : "canBeSteered", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getEntityName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_110163_bv", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setCustomNameTag", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getCustomNameTag", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "hasCustomNameTag", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setAlwaysRenderNameTag", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getAlwaysRenderNameTag", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getAlwaysRenderNameTagForRender", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setEquipmentDropChance", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "canPickUpLoot", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setCanPickUpLoot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isNoDespawnRequired", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "interactFirst", modifiers : 4, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "interact", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "func_110159_bB", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "clearLeashed", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "allowLeashing", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getLeashed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getLeashedToEntity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Entity, callable : null }, { name : "setLeashedToEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "recreateLeash", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityLivingBase.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateFallState", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_doublecls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "canBreatheUnderwater", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "onEntityUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isChild", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "onDeathUpdate", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "decreaseAirSupply", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getExperiencePoints", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer], returnType : $rt_intcls, callable : null }, { name : "isPlayer", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getRNG", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nle_EaglercraftRandom, callable : null }, { name : "getAITarget", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityLivingBase, callable : null }, { name : "func_142015_aE", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setRevengeTarget", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "getLastAttacker", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityLivingBase, callable : null }, { name : "getLastAttackerTime", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setLastAttacker", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "getAge", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "updatePotionEffects", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "clearActivePotions", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getActivePotionEffects", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Collection, callable : null }, { name : "isPotionActive", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isPotionActive", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Potion], returnType : $rt_booleancls, callable : null }, { name : "getActivePotionEffect", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Potion], returnType : nms_PotionEffect, callable : null }, { name : "addPotionEffect", modifiers : 0, accessLevel : 3, parameterTypes : [nms_PotionEffect], returnType : $rt_voidcls, callable : null }, { name : "isPotionApplicable", modifiers : 0, accessLevel : 3, parameterTypes : [nms_PotionEffect], returnType : $rt_booleancls, callable : null }, { name : "isEntityUndead", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "removePotionEffectClient", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "removePotionEffect", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "onNewPotionEffect", modifiers : 0, accessLevel : 2, parameterTypes : [nms_PotionEffect], returnType : $rt_voidcls, callable : null }, { name : "onChangedPotionEffect", modifiers : 0, accessLevel : 2, parameterTypes : [nms_PotionEffect, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "onFinishedPotionEffect", modifiers : 0, accessLevel : 2, parameterTypes : [nms_PotionEffect], returnType : $rt_voidcls, callable : null }, { name : "heal", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getHealth", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "setHealth", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "renderBrokenItemStack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "onDeath", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource], returnType : $rt_voidcls, callable : null }, { name : "dropEquipment", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "knockBack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_floatcls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "dropRareDrop", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isOnLadder", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isEntityAlive", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "performHurtAnimation", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getTotalArmorValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "damageArmor", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "applyArmorCalculations", modifiers : 0, accessLevel : 2, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "applyPotionDamageCalculations", modifiers : 0, accessLevel : 2, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "damageEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "func_110142_aN", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_CombatTracker, callable : null }, { name : "func_94060_bK", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityLivingBase, callable : null }, { name : "getMaxHealth", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getArrowCountInEntity", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setArrowCountInEntity", modifiers : 4, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getArmSwingAnimationEnd", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "swingItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "kill", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateArmSwingProgress", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getEntityAttribute", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Attribute], returnType : nms_AttributeInstance, callable : null }, { name : "getAttributeMap", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_BaseAttributeMap, callable : null }, { name : "getCreatureAttribute", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EnumCreatureAttribute, callable : null }, { name : "getHeldItem", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "getCurrentItemOrArmor", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "setCurrentItemOrArmor", modifiers : 1, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "setSprinting", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getLastActiveItems", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(nms_ItemStack), callable : null }, { name : "getSoundVolume", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getSoundPitch", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "isMovementBlocked", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setPositionAndUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "dismountEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "getAlwaysRenderNameTagForRender", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getItemIcon", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, $rt_intcls], returnType : nms_Icon, callable : null }, { name : "jump", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "moveEntityWithHeading", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getAIMoveSpeed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "setAIMoveSpeed", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "attackEntityAsMob", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "isPlayerSleeping", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_110146_f", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateAITasks", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "collideWithNearbyEntities", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "collideWithEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "updateRidden", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setPositionAndRotation2", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "updateAITick", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateEntityActionState", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setJumping", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "onItemPickup", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "canEntityBeSeen", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "getLookVec", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Vec3, callable : null }, { name : "getLook", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : nms_Vec3, callable : null }, { name : "getSwingProgress", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getPosition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : nms_Vec3, callable : null }, { name : "rayTrace", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_floatcls], returnType : nms_MovingObjectPosition, callable : null }, { name : "isClientWorld", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "canBePushed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getEyeHeight", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "setBeenAttacked", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getRotationYawHead", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "setRotationYawHead", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getAbsorptionAmount", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "setAbsorptionAmount", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getTeam", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Team, callable : null }, { name : "isOnSameTeam", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase], returnType : $rt_booleancls, callable : null }, { name : "func_94057_bL", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_94062_bN", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isOnTeam", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Team], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityMinecartHopper.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getMinecartType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getDefaultDisplayTile", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Block, callable : null }, { name : "getDefaultDisplayTileOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getSizeInventory", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "interactFirst", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "onActivatorRailPass", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getBlocked", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setBlocked", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getWorldObj", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_World, callable : null }, { name : "getXPos", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "getYPos", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "getZPos", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_96112_aD", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "killMinecart", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "setTransferTicker", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "canTransfer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntityLeashKnot.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setDirection", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getWidthPixels", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getHeightPixels", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isInRangeToRenderDist", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "onBroken", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "writeToNBTOptional", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_booleancls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "interactFirst", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "onValidSurface", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_110129_a", modifiers : 512, accessLevel : 3, parameterTypes : [nms_World, $rt_intcls, $rt_intcls, $rt_intcls], returnType : nms_EntityLeashKnot, callable : null }, { name : "getKnotForBlock", modifiers : 512, accessLevel : 3, parameterTypes : [nms_World, $rt_intcls, $rt_intcls, $rt_intcls], returnType : nms_EntityLeashKnot, callable : null }]; nms_EntitySquid.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getSoundVolume", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isInWater", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "moveEntityWithHeading", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "updateEntityActionState", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntityFallingSand.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getWorld", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_World, callable : null }, { name : "setIsAnvil", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "canRenderOnFire", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntityMooshroom.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "interact", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "func_94900_c", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityMooshroom, callable : null }, { name : "spawnBabyAnimal", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityCow, callable : null }, { name : "createChild", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityAgeable, callable : null }]; nms_EntityWither.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isInvul", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateAITasks", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_82206_m", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setInWeb", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getTotalArmorValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "func_82214_u", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_doublecls, callable : null }, { name : "func_82208_v", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_doublecls, callable : null }, { name : "func_82213_w", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_doublecls, callable : null }, { name : "func_82204_b", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "func_82216_a", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "func_82209_a", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "attackEntityWithRangedAttack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "despawnEntity", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "addPotionEffect", modifiers : 0, accessLevel : 3, parameterTypes : [nms_PotionEffect], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_82207_a", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_floatcls, callable : null }, { name : "func_82210_r", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_floatcls, callable : null }, { name : "func_82212_n", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "func_82215_s", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getWatchedTargetId", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "func_82211_c", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isArmored", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getCreatureAttribute", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EnumCreatureAttribute, callable : null }, { name : "mountEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityClientPlayerMP.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Minecraft, nms_World, jl_String, nms_NetClientHandler], returnType : $rt_voidcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "heal", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "sendMotionUpdates", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "dropOneItem", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : nms_EntityItem, callable : null }, { name : "joinEntityItemWithWorld", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityItem], returnType : $rt_voidcls, callable : null }, { name : "sendChatMessage", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "swingItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "respawnPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "damageEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "closeScreen", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_92015_f", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setPlayerSPHealth", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "addStat", modifiers : 0, accessLevel : 3, parameterTypes : [nms_StatBase, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "incrementStat", modifiers : 0, accessLevel : 3, parameterTypes : [nms_StatBase, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "sendPlayerAbilities", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_110318_g", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_110322_i", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_142020_c", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "func_142021_k", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_EntityEnderman.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "findPlayerToAttack", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : nms_Entity, callable : null }, { name : "shouldAttackPlayer", modifiers : 0, accessLevel : 1, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "teleportRandomly", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "teleportToEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "teleportTo", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setCarried", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getCarried", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setCarryingData", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getCarryingData", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "isScreaming", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setScreaming", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityExpBottle.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getGravityVelocity", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "func_70182_d", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "func_70183_g", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "onImpact", modifiers : 0, accessLevel : 2, parameterTypes : [nms_MovingObjectPosition], returnType : $rt_voidcls, callable : null }]; nms_EntityOcelot.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateAITick", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "canDespawn", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getSoundVolume", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "attackEntityAsMob", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "interact", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "spawnBabyAnimal", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityOcelot, callable : null }, { name : "isBreedingItem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "canMateWith", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAnimal], returnType : $rt_booleancls, callable : null }, { name : "getTameSkin", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setTameSkin", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getEntityName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "onSpawnWithEgg", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingData], returnType : nms_EntityLivingData, callable : null }, { name : "createChild", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityAgeable, callable : null }]; nms_EntityWitherSkull.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getMotionFactor", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "isBurning", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getBlockExplosionResistance", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Explosion, nms_World, $rt_intcls, $rt_intcls, $rt_intcls, nms_Block], returnType : $rt_floatcls, callable : null }, { name : "onImpact", modifiers : 0, accessLevel : 2, parameterTypes : [nms_MovingObjectPosition], returnType : $rt_voidcls, callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isInvulnerable", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setInvulnerable", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }]; nms_EntityTNTPrimed.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "explode", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getTntPlacedBy", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityLivingBase, callable : null }]; nms_EntitySkeleton.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "playStepSound", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "attackEntityAsMob", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "getCreatureAttribute", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EnumCreatureAttribute, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateRidden", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onDeath", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource], returnType : $rt_voidcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "dropRareDrop", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "addRandomArmor", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onSpawnWithEgg", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingData], returnType : nms_EntityLivingData, callable : null }, { name : "setCombatTask", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "attackEntityWithRangedAttack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getSkeletonType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setSkeletonType", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "setCurrentItemOrArmor", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "getYOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }]; nms_EntityZombie.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getTotalArmorValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isChild", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setChild", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isVillager", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setVillager", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "attackEntityAsMob", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "playStepSound", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getCreatureAttribute", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EnumCreatureAttribute, callable : null }, { name : "dropRareDrop", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "addRandomArmor", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "onKillEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "onSpawnWithEgg", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingData], returnType : nms_EntityLivingData, callable : null }, { name : "interact", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "startConversion", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "canDespawn", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isConverting", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "convertToVillager", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getConversionTimeBoost", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityEnderEye.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isInRangeToRenderDist", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "moveTowards", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_intcls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "setVelocity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getBrightness", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "canAttackWithItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntityItemFrame.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getWidthPixels", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getHeightPixels", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isInRangeToRenderDist", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "onBroken", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "removeFrameFromMap", modifiers : 0, accessLevel : 1, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "getDisplayedItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "setDisplayedItem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "getRotation", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setItemRotation", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "interactFirst", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }]; nms_EntityMinecartTNT.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getMinecartType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getDefaultDisplayTile", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Block, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "killMinecart", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource], returnType : $rt_voidcls, callable : null }, { name : "explodeCart", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onActivatorRailPass", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "ignite", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_94104_d", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isIgnited", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getBlockExplosionResistance", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Explosion, nms_World, $rt_intcls, $rt_intcls, $rt_intcls, nms_Block], returnType : $rt_floatcls, callable : null }, { name : "shouldExplodeBlock", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Explosion, nms_World, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }]; nms_EntityIronGolem.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "updateAITick", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "decreaseAirSupply", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "collideWithEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "canAttackClass", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Class], returnType : $rt_booleancls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "attackEntityAsMob", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "getVillage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Village, callable : null }, { name : "getAttackTimer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setHoldingRose", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "playStepSound", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getHoldRoseTick", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isPlayerCreated", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setPlayerCreated", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "onDeath", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource], returnType : $rt_voidcls, callable : null }]; nms_EntityEnderCrystal.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }]; nms_EntityOtherPlayerMP.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, jl_String], returnType : $rt_voidcls, callable : null }, { name : "resetHeight", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "setPositionAndRotation2", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setCurrentItemOrArmor", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "getEyeHeight", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "sendChatToPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "canCommandSenderUseCommand", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String], returnType : $rt_booleancls, callable : null }, { name : "getPlayerCoordinates", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ChunkCoordinates, callable : null }]; nms_EntityMinecartEmpty.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "interactFirst", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "getMinecartType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EntitySheep.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "updateAITasks", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "func_70894_j", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "func_70890_k", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "interact", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "playStepSound", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getFleeceColor", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setFleeceColor", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getSheared", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setSheared", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getRandomFleeceColor", modifiers : 512, accessLevel : 3, parameterTypes : [nle_EaglercraftRandom], returnType : $rt_intcls, callable : null }, { name : "func_90015_b", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntitySheep, callable : null }, { name : "eatGrassBonus", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onSpawnWithEgg", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingData], returnType : nms_EntityLivingData, callable : null }, { name : "func_90014_a", modifiers : 0, accessLevel : 1, parameterTypes : [nms_EntityAnimal, nms_EntityAnimal], returnType : $rt_intcls, callable : null }, { name : "func_90013_b", modifiers : 0, accessLevel : 1, parameterTypes : [nms_EntityAnimal], returnType : $rt_intcls, callable : null }, { name : "createChild", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityAgeable, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityGhast.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "func_110182_bF", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateEntityActionState", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isCourseTraversable", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getSoundVolume", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getMaxSpawnedInChunk", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }]; nms_EntityBlaze.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getBrightness", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "attackEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isBurning", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_70845_n", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_70844_e", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isValidLightLevel", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntityLargeFireball.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onImpact", modifiers : 0, accessLevel : 2, parameterTypes : [nms_MovingObjectPosition], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }]; nms_EntityChicken.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "playStepSound", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "spawnBabyAnimal", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityChicken, callable : null }, { name : "isBreedingItem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "createChild", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityAgeable, callable : null }]; nms_EntitySilverfish.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "findPlayerToAttack", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : nms_Entity, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "attackEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "playStepSound", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateEntityActionState", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getBlockPathWeight", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_floatcls, callable : null }, { name : "isValidLightLevel", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getCreatureAttribute", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EnumCreatureAttribute, callable : null }]; nms_EntityDragon.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getMovementOffsets", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_floatcls], returnType : $rt_arraycls($rt_doublecls), callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateDragonEnderCrystal", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "collideWithEntities", modifiers : 0, accessLevel : 1, parameterTypes : [ju_List], returnType : $rt_voidcls, callable : null }, { name : "attackEntitiesInList", modifiers : 0, accessLevel : 1, parameterTypes : [ju_List], returnType : $rt_voidcls, callable : null }, { name : "setNewTarget", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "simplifyAngle", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_doublecls], returnType : $rt_floatcls, callable : null }, { name : "destroyBlocksInAABB", modifiers : 0, accessLevel : 1, parameterTypes : [nms_AxisAlignedBB], returnType : $rt_booleancls, callable : null }, { name : "attackEntityFromPart", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityDragonPart, nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "func_82195_e", modifiers : 0, accessLevel : 2, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "onDeathUpdate", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "createEnderPortal", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "despawnEntity", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getParts", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(nms_Entity), callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_82194_d", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_World, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getSoundVolume", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }]; nms_EntityPigZombie.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "findPlayerToAttack", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : nms_Entity, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "becomeAngryAt", modifiers : 0, accessLevel : 1, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "interact", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "dropRareDrop", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "addRandomArmor", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onSpawnWithEgg", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingData], returnType : nms_EntityLivingData, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntitySnowball.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onImpact", modifiers : 0, accessLevel : 2, parameterTypes : [nms_MovingObjectPosition], returnType : $rt_voidcls, callable : null }]; nms_EntityPig.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateAITasks", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "canBeSteered", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "playStepSound", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "interact", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getSaddled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setSaddled", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "onStruckByLightning", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLightningBolt], returnType : $rt_voidcls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "spawnBabyAnimal", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityPig, callable : null }, { name : "isBreedingItem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getAIControlledByPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityAIControlledByPlayer, callable : null }, { name : "createChild", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityAgeable, callable : null }]; nms_EntityCreeper.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getMaxSafePointTries", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "onDeath", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource], returnType : $rt_voidcls, callable : null }, { name : "attackEntityAsMob", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "getPowered", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getCreeperFlashIntensity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getCreeperState", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setCreeperState", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "onStruckByLightning", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLightningBolt], returnType : $rt_voidcls, callable : null }]; nms_EntityXPOrb.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "handleWaterMovement", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "dealFireDamage", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "onCollideWithPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "getXpValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getTextureByXP", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getXPSplit", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "canAttackWithItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntityItem.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "searchForOtherItemsNearby", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "combineItems", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityItem], returnType : $rt_booleancls, callable : null }, { name : "setAgeToCreativeDespawnTime", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "handleWaterMovement", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "dealFireDamage", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "onCollideWithPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "getEntityName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "canAttackWithItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "travelToDimension", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getEntityItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "setEntityItemStack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }]; nms_EntitySlime.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setSlimeSize", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getSlimeSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getSlimeParticle", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getJumpSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateEntityActionState", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "alterSquishAmount", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getJumpDelay", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "createInstance", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : nms_EntitySlime, callable : null }, { name : "setDead", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onCollideWithPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "canDamagePlayer", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getAttackStrength", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getSoundVolume", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getVerticalFaceSpeed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "makesSoundOnJump", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "makesSoundOnLand", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntityPotion.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityLivingBase, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityLivingBase, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "getGravityVelocity", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "func_70182_d", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "func_70183_g", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "setPotionDamage", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getPotionDamage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "onImpact", modifiers : 0, accessLevel : 2, parameterTypes : [nms_MovingObjectPosition], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }]; nms_EntityMagmaCube.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getTotalArmorValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getBrightness", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getSlimeParticle", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "createInstance", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : nms_EntitySlime, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isBurning", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getJumpDelay", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "alterSquishAmount", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "jump", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "canDamagePlayer", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getAttackStrength", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getJumpSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "handleLavaMovement", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "makesSoundOnLand", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntityFishHook.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isInRangeToRenderDist", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "calculateVelocity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setPositionAndRotation2", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setVelocity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "catchFish", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setDead", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityEnderPearl.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onImpact", modifiers : 0, accessLevel : 2, parameterTypes : [nms_MovingObjectPosition], returnType : $rt_voidcls, callable : null }]; nms_MapCoord.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_MapData, $rt_bytecls, $rt_bytecls, $rt_bytecls, $rt_bytecls], returnType : $rt_voidcls, callable : null }]; nms_EntityMinecartChest.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "killMinecart", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource], returnType : $rt_voidcls, callable : null }, { name : "getSizeInventory", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getMinecartType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getDefaultDisplayTile", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Block, callable : null }, { name : "getDefaultDisplayTileOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EntityEgg.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onImpact", modifiers : 0, accessLevel : 2, parameterTypes : [nms_MovingObjectPosition], returnType : $rt_voidcls, callable : null }]; nms_EntityFireworkRocket.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isInRangeToRenderDist", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "setVelocity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getBrightness", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "canAttackWithItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntityCow.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "playStepSound", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getSoundVolume", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "interact", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "spawnBabyAnimal", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityCow, callable : null }, { name : "createChild", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityAgeable, callable : null }]; nms_EntityBoat.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getCollisionBox", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : nms_AxisAlignedBB, callable : null }, { name : "getBoundingBox", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_AxisAlignedBB, callable : null }, { name : "canBePushed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getMountedYOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "performHurtAnimation", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setPositionAndRotation2", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setVelocity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateRiderPosition", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "interactFirst", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "setDamageTaken", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getDamageTaken", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "setTimeSinceHit", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getTimeSinceHit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setForwardDirection", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getForwardDirection", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "func_70270_d", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }]; nms_EntityCaveSpider.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "attackEntityAsMob", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "onSpawnWithEgg", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingData], returnType : nms_EntityLivingData, callable : null }]; nms_EntitySmallFireball.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onImpact", modifiers : 0, accessLevel : 2, parameterTypes : [nms_MovingObjectPosition], returnType : $rt_voidcls, callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }]; nms_EntityPainting.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getWidthPixels", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getHeightPixels", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "onBroken", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }]; nms_EntitySnowman.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "attackEntityWithRangedAttack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }]; nms_EntityWitch.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setAggressive", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getAggressive", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "applyPotionDamageCalculations", modifiers : 0, accessLevel : 2, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "attackEntityWithRangedAttack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityWolf.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setAttackTarget", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "updateAITick", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "playStepSound", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getSoundVolume", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getWolfShaking", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getShadingWhileShaking", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getShakeAngle", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getInterestedAngle", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getEyeHeight", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getVerticalFaceSpeed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "attackEntityAsMob", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "setTamed", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "interact", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "getTailRotation", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "isBreedingItem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getMaxSpawnedInChunk", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isAngry", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setAngry", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getCollarColor", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setCollarColor", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "spawnBabyAnimal", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityWolf, callable : null }, { name : "func_70918_i", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "canMateWith", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAnimal], returnType : $rt_booleancls, callable : null }, { name : "func_70922_bv", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "canDespawn", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_142018_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, nms_EntityLivingBase], returnType : $rt_booleancls, callable : null }, { name : "createChild", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityAgeable, callable : null }]; nms_EntityVillager.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "updateAITick", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "interact", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "canDespawn", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setProfession", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getProfession", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isMating", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setMating", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setPlaying", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isPlaying", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setRevengeTarget", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "onDeath", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource], returnType : $rt_voidcls, callable : null }, { name : "setCustomer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "getCustomer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityPlayer, callable : null }, { name : "isTrading", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "useRecipe", modifiers : 0, accessLevel : 3, parameterTypes : [nms_MerchantRecipe], returnType : $rt_voidcls, callable : null }, { name : "func_110297_a_", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "getRecipes", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : nms_MerchantRecipeList, callable : null }, { name : "adjustProbability", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "addDefaultEquipmentAndRecipies", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setRecipes", modifiers : 0, accessLevel : 3, parameterTypes : [nms_MerchantRecipeList], returnType : $rt_voidcls, callable : null }, { name : "addMerchantItem", modifiers : 512, accessLevel : 1, parameterTypes : [nms_MerchantRecipeList, $rt_intcls, nle_EaglercraftRandom, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getRandomSizedStack", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_intcls, nle_EaglercraftRandom], returnType : nms_ItemStack, callable : null }, { name : "getRandomCountForItem", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_intcls, nle_EaglercraftRandom], returnType : $rt_intcls, callable : null }, { name : "addBlacksmithItem", modifiers : 512, accessLevel : 1, parameterTypes : [nms_MerchantRecipeList, $rt_intcls, nle_EaglercraftRandom, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getRandomCountForBlacksmithItem", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_intcls, nle_EaglercraftRandom], returnType : $rt_intcls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "generateRandomParticles", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "onSpawnWithEgg", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingData], returnType : nms_EntityLivingData, callable : null }, { name : "func_82187_q", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_90012_b", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityVillager, callable : null }, { name : "allowLeashing", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "createChild", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAgeable], returnType : nms_EntityAgeable, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityArrow.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityLivingBase, nms_EntityLivingBase, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityLivingBase, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setThrowableHeading", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setPositionAndRotation2", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setVelocity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "onCollideWithPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "setDamage", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getDamage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "setKnockbackStrength", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "canAttackWithItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setIsCritical", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getIsCritical", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntitySpider.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "findPlayerToAttack", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : nms_Entity, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "playStepSound", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "attackEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getDropItemId", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "dropFewItems", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isOnLadder", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setInWeb", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getCreatureAttribute", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EnumCreatureAttribute, callable : null }, { name : "isPotionApplicable", modifiers : 0, accessLevel : 3, parameterTypes : [nms_PotionEffect], returnType : $rt_booleancls, callable : null }, { name : "isBesideClimbableBlock", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setBesideClimbableBlock", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "onSpawnWithEgg", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingData], returnType : nms_EntityLivingData, callable : null }]; nms_EntityMinecartFurnace.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getMinecartType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "killMinecart", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource], returnType : $rt_voidcls, callable : null }, { name : "updateOnTrack", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_doublecls, $rt_doublecls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "applyDrag", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "interactFirst", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "isMinecartPowered", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setMinecartPowered", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getDefaultDisplayTile", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Block, callable : null }, { name : "getDefaultDisplayTileData", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EntityGiantZombie.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getBlockPathWeight", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_floatcls, callable : null }]; nms_EntityMinecartMobSpawner.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getMinecartType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getDefaultDisplayTile", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Block, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_98039_d", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_MobSpawnerBaseLogic, callable : null }]; nms_EntityBat.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getSoundVolume", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getSoundPitch", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "canBePushed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "collideWithEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "collideWithNearbyEntities", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getIsBatHanging", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setIsBatHanging", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isAIEnabled", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateAITasks", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "updateFallState", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_doublecls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "doesEntityNotTriggerPressurePlate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntityFireball.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isInRangeToRenderDist", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityLivingBase, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getMotionFactor", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "onImpact", modifiers : 1, accessLevel : 2, parameterTypes : [nms_MovingObjectPosition], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getCollisionBorderSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getBrightness", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }]; nms_EntityGolem.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getLivingSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getHurtSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDeathSound", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getTalkInterval", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "canDespawn", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntityMob.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "findPlayerToAttack", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : nms_Entity, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "attackEntityAsMob", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "attackEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Entity, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getBlockPathWeight", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_floatcls, callable : null }, { name : "isValidLightLevel", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityWaterMob.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "canBreatheUnderwater", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getCanSpawnHere", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getTalkInterval", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "canDespawn", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getExperiencePoints", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer], returnType : $rt_intcls, callable : null }, { name : "onEntityUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityTameable.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "playTameEffect", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "isTamed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setTamed", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isSitting", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setSitting", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getOwnerName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setOwner", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "func_130012_q", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityLivingBase, callable : null }, { name : "func_70907_r", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityAISit, callable : null }, { name : "func_142018_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, nms_EntityLivingBase], returnType : $rt_booleancls, callable : null }, { name : "getTeam", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Team, callable : null }, { name : "isOnSameTeam", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase], returnType : $rt_booleancls, callable : null }, { name : "getOwner", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Entity, callable : null }]; nms_EntityHanging.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setDirection", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_70517_b", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_floatcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onValidSurface", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "hitByEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "moveEntity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "addVelocity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getWidthPixels", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getHeightPixels", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "onBroken", modifiers : 1, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "shouldSetPosAfterLoading", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntityFlying.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "updateFallState", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_doublecls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "moveEntityWithHeading", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "isOnLadder", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_EntityMinecart.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "createMinecart", modifiers : 512, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_intcls], returnType : nms_EntityMinecart, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getCollisionBox", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : nms_AxisAlignedBB, callable : null }, { name : "getBoundingBox", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_AxisAlignedBB, callable : null }, { name : "canBePushed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getMountedYOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "killMinecart", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource], returnType : $rt_voidcls, callable : null }, { name : "performHurtAnimation", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setDead", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onActivatorRailPass", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "func_94088_b", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "updateOnTrack", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_doublecls, $rt_doublecls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "applyDrag", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_70495_a", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_Vec3, callable : null }, { name : "func_70489_a", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_Vec3, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "applyEntityCollision", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "setPositionAndRotation2", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setVelocity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "setDamage", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getDamage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "setRollingAmplitude", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getRollingAmplitude", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setRollingDirection", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getRollingDirection", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getMinecartType", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getDisplayTile", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Block, callable : null }, { name : "getDefaultDisplayTile", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Block, callable : null }, { name : "getDisplayTileData", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getDefaultDisplayTileData", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getDisplayTileOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getDefaultDisplayTileOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setDisplayTile", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setDisplayTileData", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setDisplayTileOffset", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "hasDisplayTile", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setHasDisplayTile", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setMinecartName", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getEntityName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isInvNameLocalized", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_95999_t", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityAmbientCreature.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "allowLeashing", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "interact", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }]; nms_EntityPlayer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, jl_String], returnType : $rt_voidcls, callable : null }, { name : "applyEntityAttributes", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getItemInUse", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "getItemInUseCount", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isUsingItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getItemInUseDuration", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "stopUsingItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "clearItemInUse", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isBlocking", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getMaxInPortalTime", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getPortalCooldown", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "playSound", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "updateItemUse", modifiers : 0, accessLevel : 2, parameterTypes : [nms_ItemStack, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "onItemUseFinish", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "handleHealthUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_bytecls], returnType : $rt_voidcls, callable : null }, { name : "isMovementBlocked", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "closeScreen", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "mountEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "updateRidden", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "preparePlayerToSpawn", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateEntityActionState", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "collideWithPlayer", modifiers : 0, accessLevel : 1, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "getScore", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setScore", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "addScore", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "onDeath", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource], returnType : $rt_voidcls, callable : null }, { name : "addToPlayerScore", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "dropOneItem", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : nms_EntityItem, callable : null }, { name : "dropPlayerItem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : nms_EntityItem, callable : null }, { name : "dropPlayerItemWithRandomChoice", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, $rt_booleancls], returnType : nms_EntityItem, callable : null }, { name : "joinEntityItemWithWorld", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityItem], returnType : $rt_voidcls, callable : null }, { name : "getCurrentPlayerStrVsBlock", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Block, $rt_booleancls], returnType : $rt_floatcls, callable : null }, { name : "canHarvestBlock", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Block], returnType : $rt_booleancls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "displayGUIChest", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IInventory], returnType : $rt_voidcls, callable : null }, { name : "displayGUIHopper", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityHopper], returnType : $rt_voidcls, callable : null }, { name : "displayGUIHopperMinecart", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityMinecartHopper], returnType : $rt_voidcls, callable : null }, { name : "displayGUIHorse", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityHorse, nms_IInventory], returnType : $rt_voidcls, callable : null }, { name : "displayGUIEnchantment", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "displayGUIAnvil", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "displayGUIWorkbench", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getEyeHeight", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "resetHeight", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "canAttackPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "damageArmor", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getTotalArmorValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getArmorVisibility", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "damageEntity", modifiers : 0, accessLevel : 2, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "displayGUIFurnace", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityFurnace], returnType : $rt_voidcls, callable : null }, { name : "displayGUIDispenser", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityDispenser], returnType : $rt_voidcls, callable : null }, { name : "displayGUIEditSign", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntity], returnType : $rt_voidcls, callable : null }, { name : "displayGUIBrewingStand", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityBrewingStand], returnType : $rt_voidcls, callable : null }, { name : "displayGUIBeacon", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityBeacon], returnType : $rt_voidcls, callable : null }, { name : "displayGUIMerchant", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IMerchant, jl_String], returnType : $rt_voidcls, callable : null }, { name : "displayGUIBook", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "interactWith", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }, { name : "getCurrentEquippedItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "destroyCurrentEquippedItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getYOffset", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "attackTargetEntityWithCurrentItem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "onCriticalHit", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "onEnchantmentCritical", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "respawnPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setDead", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isEntityInsideOpaqueBlock", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "sleepInBedAt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : nms_EnumStatus, callable : null }, { name : "func_71013_b", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "wakeUpPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls, $rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isInBed", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "verifyRespawnCoordinates", modifiers : 512, accessLevel : 3, parameterTypes : [nms_World, nms_ChunkCoordinates, $rt_booleancls], returnType : nms_ChunkCoordinates, callable : null }, { name : "getBedOrientationInDegrees", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "isPlayerSleeping", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isPlayerFullyAsleep", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getSleepTimer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getHideCape", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "setHideCape", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "addChatMessage", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getBedLocation", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ChunkCoordinates, callable : null }, { name : "isSpawnForced", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setSpawnChunk", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ChunkCoordinates, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "triggerAchievement", modifiers : 0, accessLevel : 3, parameterTypes : [nms_StatBase], returnType : $rt_voidcls, callable : null }, { name : "addStat", modifiers : 0, accessLevel : 3, parameterTypes : [nms_StatBase, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "jump", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "moveEntityWithHeading", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getAIMoveSpeed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "addMovementStat", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "addMountedMovementStat", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "fall", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onKillEntity", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "setInWeb", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getItemIcon", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, $rt_intcls], returnType : nms_Icon, callable : null }, { name : "getCurrentArmor", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "addExperience", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "addExperienceLevel", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "xpBarCap", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "addExhaustion", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getFoodStats", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_FoodStats, callable : null }, { name : "canEat", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_booleancls, callable : null }, { name : "shouldHeal", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setItemInUse", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isCurrentToolAdventureModeExempt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "canPlayerEdit", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getExperiencePoints", modifiers : 0, accessLevel : 2, parameterTypes : [nms_EntityPlayer], returnType : $rt_intcls, callable : null }, { name : "isPlayer", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getEntityName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getAlwaysRenderNameTagForRender", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "clonePlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "canTriggerWalking", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "sendPlayerAbilities", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setGameType", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EnumGameType], returnType : $rt_voidcls, callable : null }, { name : "getCommandSenderName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getEntityWorld", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_World, callable : null }, { name : "getInventoryEnderChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_InventoryEnderChest, callable : null }, { name : "getCurrentItemOrArmor", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "getHeldItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "setCurrentItemOrArmor", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "isInvisibleToPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "getLastActiveItems", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(nms_ItemStack), callable : null }, { name : "getHideCape", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isPushedByWater", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getWorldScoreboard", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Scoreboard, callable : null }, { name : "getTeam", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Team, callable : null }, { name : "getTranslatedEntityName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setAbsorptionAmount", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getAbsorptionAmount", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }]; nms_EntityThrowable.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isInRangeToRenderDist", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, nms_EntityLivingBase], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "func_70182_d", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "func_70183_g", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "setThrowableHeading", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "setVelocity", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getGravityVelocity", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "onImpact", modifiers : 1, accessLevel : 2, parameterTypes : [nms_MovingObjectPosition], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getShadowSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getThrower", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityLivingBase, callable : null }]; nms_EntityMinecartContainer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "killMinecart", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource], returnType : $rt_voidcls, callable : null }, { name : "getStackInSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "decrStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "getStackInSlotOnClosing", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "setInventorySlotContents", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "onInventoryChanged", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isUseableByPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "openChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "closeChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isItemValidForSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getInvName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getInventoryStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "travelToDimension", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setDead", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "interactFirst", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "applyDrag", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityPlayerSP.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Minecraft, nms_World, jl_String, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "updateEntityActionState", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "canSprint", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "onLivingUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getFOVMultiplier", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "closeScreen", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "displayGUIEditSign", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntity], returnType : $rt_voidcls, callable : null }, { name : "displayGUIBook", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "displayGUIChest", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IInventory], returnType : $rt_voidcls, callable : null }, { name : "displayGUIHopper", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityHopper], returnType : $rt_voidcls, callable : null }, { name : "displayGUIHopperMinecart", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityMinecartHopper], returnType : $rt_voidcls, callable : null }, { name : "displayGUIHorse", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityHorse, nms_IInventory], returnType : $rt_voidcls, callable : null }, { name : "displayGUIWorkbench", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "displayGUIEnchantment", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "displayGUIAnvil", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "displayGUIFurnace", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityFurnace], returnType : $rt_voidcls, callable : null }, { name : "displayGUIBrewingStand", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityBrewingStand], returnType : $rt_voidcls, callable : null }, { name : "displayGUIBeacon", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityBeacon], returnType : $rt_voidcls, callable : null }, { name : "displayGUIDispenser", modifiers : 0, accessLevel : 3, parameterTypes : [nms_TileEntityDispenser], returnType : $rt_voidcls, callable : null }, { name : "displayGUIMerchant", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IMerchant, jl_String], returnType : $rt_voidcls, callable : null }, { name : "onCriticalHit", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "onEnchantmentCritical", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "onItemPickup", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isSneaking", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setPlayerSPHealth", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "addChatMessage", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "addStat", modifiers : 0, accessLevel : 3, parameterTypes : [nms_StatBase, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isBlockTranslucent", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "pushOutOfBlocks", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_booleancls, callable : null }, { name : "setSprinting", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setXPStats", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "sendChatToPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "canCommandSenderUseCommand", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String], returnType : $rt_booleancls, callable : null }, { name : "getPlayerCoordinates", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ChunkCoordinates, callable : null }, { name : "getHeldItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "playSound", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "isClientWorld", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isRidingHorse", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getHorseJumpPower", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "func_110318_g", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; ji_UnsupportedEncodingException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; nms_MapData.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "updateVisiblePlayers", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "func_82567_a", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, nms_World, jl_String, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getUpdatePacketData", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack, nms_World, nms_EntityPlayer], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "setColumnDirty", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "updateMPMapData", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls)], returnType : $rt_voidcls, callable : null }, { name : "func_82568_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : nms_MapInfo, callable : null }]; jnc_BufferUnderflowException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; ji_UTFDataFormatException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; jl_OutOfMemoryError.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; ju_DuplicateFormatFlagsException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getFlags", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; jl_ArithmeticException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; ju_IllegalFormatPrecisionException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getPrecision", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jl_ArrayStoreException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; jl_AssertionError.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_charcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_voidcls, callable : null }]; jn_BufferUnderflowException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_CreativeCrafting.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Minecraft], returnType : $rt_voidcls, callable : null }, { name : "sendContainerAndContentsToPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Container, ju_List], returnType : $rt_voidcls, callable : null }, { name : "sendSlotContents", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Container, $rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "sendProgressBarUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Container, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; ju_MissingResourceException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String, jl_String], returnType : $rt_voidcls, callable : null }, { name : "getClassName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getKey", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; cjj_GZIPException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; jl_IllegalStateException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }]; jl_RuntimeException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }]; nle_WorkerNetworkManager.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, nms_NetHandler], returnType : $rt_voidcls, callable : null }, { name : "setNetHandler", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NetHandler], returnType : $rt_voidcls, callable : null }, { name : "addToSendQueue", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Packet], returnType : $rt_voidcls, callable : null }, { name : "wakeThreads", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "processReadPackets", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "serverShutdown", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "networkShutdown", modifiers : 8192, accessLevel : 3, parameterTypes : [jl_String, $rt_arraycls(jl_Object)], returnType : $rt_voidcls, callable : null }, { name : "packetSize", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "closeConnections", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getServerURI", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; jnc_IllegalCharsetNameException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getCharsetName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; oj_JSONException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }]; ju_IllegalFormatCodePointException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getCodePoint", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jl_IllegalMonitorStateException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; jnc_UnmappableCharacterException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getLength", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getMessage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; jnc_CoderMalfunctionError.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }]; juz_DataFormatException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; ju_IllegalFormatConversionException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_charcls, jl_Class], returnType : $rt_voidcls, callable : null }, { name : "getConversion", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_charcls, callable : null }, { name : "getArgumentClass", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Class, callable : null }]; juz_ZipException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; jnc_BufferOverflowException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jl_StringIndexOutOfBoundsException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; jur_PatternSyntaxException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getPattern", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getMessage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDescription", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getIndex", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; ji_EOFException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; ju_ConcurrentModificationException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }]; ji_IOException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }]; ju_FormatFlagsConversionMismatchException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_charcls], returnType : $rt_voidcls, callable : null }, { name : "getFlags", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getConversion", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_charcls, callable : null }]; ju_IllegalFormatFlagsException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getFlags", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; jl_InstantiationException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; jl_CloneNotSupportedException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; jl_ClassCastException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; nms_EntityLightningBolt.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "isInRangeToRenderVec3D", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3], returnType : $rt_booleancls, callable : null }]; nms_EntityAITaskEntry.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityAITasks, $rt_intcls, nms_EntityAIBase], returnType : $rt_voidcls, callable : null }]; ju_UnknownFormatConversionException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getConversion", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; jl_IndexOutOfBoundsException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_StitcherException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_StitchHolder], returnType : $rt_voidcls, callable : null }]; nms_VillageCollection.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "func_82566_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "addVillagerPosition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "tick", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "removeAnnihilatedVillages", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getVillageList", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_List, callable : null }, { name : "findNearestVillage", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : nms_Village, callable : null }, { name : "dropOldestVillagerPosition", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "addNewDoorsToVillageOrCreateVillage", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "addUnassignedWoodenDoorsAroundToNewDoorsList", modifiers : 0, accessLevel : 1, parameterTypes : [nms_ChunkCoordinates], returnType : $rt_voidcls, callable : null }, { name : "getVillageDoorAt", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : nms_VillageDoorInfo, callable : null }, { name : "addDoorToNewListIfAppropriate", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isVillagerPositionPresent", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isWoodenDoorAt", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }]; jl_NumberFormatException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; ju_FormatterClosedException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_GuiFlatPresetsItem.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String, jl_String], returnType : $rt_voidcls, callable : null }]; jl_ArrayIndexOutOfBoundsException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; jn_BufferOverflowException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jl_IllegalArgumentException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }]; cjj_Inflate$Return.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [cjj_Inflate, $rt_intcls], returnType : $rt_voidcls, callable : null }]; jl_NegativeArraySizeException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; jnc_UnsupportedCharsetException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getCharsetName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; jn_ReadOnlyBufferException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jl_UnsupportedOperationException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }]; ju_NoSuchElementException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }]; jnc_MalformedInputException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getLength", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getMessage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_RenderGlobal.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Minecraft, nms_RenderEngine], returnType : $rt_voidcls, callable : null }, { name : "renderStars", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setWorldAndLoadRenderers", modifiers : 0, accessLevel : 3, parameterTypes : [nms_WorldClient], returnType : $rt_voidcls, callable : null }, { name : "loadRenderers", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderEntities", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Vec3, nms_ICamera, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getDebugInfoRenders", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDebugInfoShort", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getDebugInfoEntities", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "markRenderersForNewPosition", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "sortAndRender", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_intcls, $rt_doublecls], returnType : $rt_intcls, callable : null }, { name : "renderSortedRenderers", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_doublecls], returnType : $rt_intcls, callable : null }, { name : "renderAllRenderLists", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "updateClouds", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "renderSky", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderClouds", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "hasCloudFog", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "renderCloudsFancy", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "updateRenderers", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityLivingBase, $rt_booleancls], returnType : $rt_booleancls, callable : null }, { name : "drawBlockDamageTexture", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, nms_EntityPlayer, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "drawSelectionBox", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_MovingObjectPosition, $rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "drawOutlinedBoundingBox", modifiers : 0, accessLevel : 1, parameterTypes : [nms_AxisAlignedBB], returnType : $rt_voidcls, callable : null }, { name : "markBlocksForUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "markBlockForUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "markBlockForRenderUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "markBlockRangeForRenderUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "clipRenderersByFrustum", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ICamera, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "playRecord", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "playSound", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "playSoundToNearExcept", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, jl_String, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "spawnParticle", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "doSpawnParticle", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_EntityFX, callable : null }, { name : "onEntityCreate", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "onEntityDestroy", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_voidcls, callable : null }, { name : "deleteAllDisplayLists", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "broadcastSound", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "playAuxSFX", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "destroyBlockPartially", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "registerDestroyBlockIcons", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IconRegister], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jl_NoSuchMethodException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; ju_MissingFormatWidthException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getFormatSpecifier", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; jl_NullPointerException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_MinecraftError.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jn_InvalidMarkException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; jl_IllegalAccessException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; jl_ReflectiveOperationException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }]; nms_WorldSavedData.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 1, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 1, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "markDirty", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setDirty", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "isDirty", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; jl_VirtualMachineError.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }]; jl_Exception.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }]; nms_EntityWeatherEffect.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }]; jnc_CharacterCodingException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; ju_IllegalFormatException.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; jl_Error.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }]; jl_Throwable.$meta.methods = [ { name : "fakeInit", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String, jl_Throwable, $rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable, $rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "fakeInit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "fakeInit", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "fakeInit", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_String, jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "fakeInit", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 1, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }, { name : "fillInStackTrace", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Throwable, callable : null }, { name : "getMessage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getLocalizedMessage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getCause", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Throwable, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "initCause", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : jl_Throwable, callable : null }, { name : "printStackTrace", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "printStackTrace", modifiers : 0, accessLevel : 3, parameterTypes : [ji_PrintStream], returnType : $rt_voidcls, callable : null }, { name : "printStackTrace", modifiers : 0, accessLevel : 3, parameterTypes : [ji_PrintWriter], returnType : $rt_voidcls, callable : null }, { name : "getStackTrace", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jl_StackTraceElement), callable : null }, { name : "setStackTrace", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls(jl_StackTraceElement)], returnType : $rt_voidcls, callable : null }, { name : "getSuppressed", modifiers : 4, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls(jl_Throwable), callable : null }, { name : "addSuppressed", modifiers : 4, accessLevel : 3, parameterTypes : [jl_Throwable], returnType : $rt_voidcls, callable : null }]; nms_Score.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Scoreboard, nms_ScoreObjective, jl_String], returnType : $rt_voidcls, callable : null }, { name : "func_96649_a", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_96646_b", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_96648_a", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getScorePoints", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "func_96647_c", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_96645_d", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ScoreObjective, callable : null }, { name : "getPlayerName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_96650_f", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Scoreboard, callable : null }, { name : "func_96651_a", modifiers : 0, accessLevel : 3, parameterTypes : [ju_List], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_ScoreObjective.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Scoreboard, jl_String, nms_ScoreObjectiveCriteria], returnType : $rt_voidcls, callable : null }, { name : "getScoreboard", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Scoreboard, callable : null }, { name : "getName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "getCriteria", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ScoreObjectiveCriteria, callable : null }, { name : "getDisplayName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setDisplayName", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }]; nms_DestroyBlockProgress.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getPartialBlockX", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getPartialBlockY", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getPartialBlockZ", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setPartialBlockDamage", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getPartialBlockDamage", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setCloudUpdateTick", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getCreationCloudUpdateTick", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; jl_Short.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_shortcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "intValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "longValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "floatValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "doubleValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "shortValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_shortcls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_shortcls], returnType : jl_Short, callable : null }, { name : "ensureShortCache", modifiers : 512, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "toString", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_shortcls], returnType : jl_String, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "hashCode", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_shortcls], returnType : $rt_intcls, callable : null }, { name : "compare", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_shortcls, $rt_shortcls], returnType : $rt_intcls, callable : null }, { name : "compareUnsigned", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_shortcls, $rt_shortcls], returnType : $rt_intcls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Short], returnType : $rt_intcls, callable : null }, { name : "toUnsignedInt", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_shortcls], returnType : $rt_intcls, callable : null }, { name : "toUnsignedLong", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_shortcls], returnType : $rt_longcls, callable : null }, { name : "parseShort", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_shortcls, callable : null }, { name : "parseShort", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_shortcls, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls], returnType : jl_Short, callable : null }, { name : "valueOf", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Short, callable : null }, { name : "decode", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_Short, callable : null }, { name : "reverseBytes", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_shortcls], returnType : $rt_shortcls, callable : null }, { name : "compareTo", modifiers : 96, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_ScorePlayerTeam.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Scoreboard, jl_String], returnType : $rt_voidcls, callable : null }, { name : "func_96661_b", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_96669_c", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_96664_a", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getMembershipCollection", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Collection, callable : null }, { name : "getColorPrefix", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_96666_b", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getColorSuffix", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_96662_c", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "func_142053_d", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_String, callable : null }, { name : "formatPlayerName", modifiers : 512, accessLevel : 3, parameterTypes : [nms_Team, jl_String], returnType : jl_String, callable : null }, { name : "getAllowFriendlyFire", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setAllowFriendlyFire", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "func_98297_h", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_98300_b", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "func_98299_i", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "func_98298_a", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_Team.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isSameTeam", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Team], returnType : $rt_booleancls, callable : null }, { name : "func_96661_b", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_142053_d", modifiers : 1, accessLevel : 3, parameterTypes : [jl_String], returnType : jl_String, callable : null }, { name : "func_98297_h", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getAllowFriendlyFire", modifiers : 1, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_SlotBrewingStandPotion.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_IInventory, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isItemValid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getSlotStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "onPickupFromSlot", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "canHoldPotion", modifiers : 512, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }]; nlesrp_IPacket07LocalWorlds$LocalWorld.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String], returnType : $rt_voidcls, callable : null }]; nms_ContainerHorseInventorySlotSaddle.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [nms_ContainerHorseInventory, nms_IInventory, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isItemValid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }]; nms_SlotBrewingStandIngredient.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ContainerBrewingStand, nms_IInventory, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isItemValid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getSlotStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_SlotMerchantResult.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_IMerchant, nms_InventoryMerchant, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isItemValid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "decrStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "onCrafting", modifiers : 0, accessLevel : 2, parameterTypes : [nms_ItemStack, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "onCrafting", modifiers : 0, accessLevel : 2, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "onPickupFromSlot", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "func_75230_a", modifiers : 0, accessLevel : 1, parameterTypes : [nms_MerchantRecipe, nms_ItemStack, nms_ItemStack], returnType : $rt_booleancls, callable : null }]; nlesrp_ICEServerSet$RelayServer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [nlesrp_ICEServerSet$RelayType, jl_String, jl_String, jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [nlesrp_ICEServerSet$RelayType, jl_String], returnType : $rt_voidcls, callable : null }, { name : "getICEString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_ContainerRepairINNER2.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [nms_ContainerRepair, nms_IInventory, $rt_intcls, $rt_intcls, $rt_intcls, nms_World, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isItemValid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "canTakeStack", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "onPickupFromSlot", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_ItemStack], returnType : $rt_voidcls, callable : null }]; nms_SlotBeacon.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ContainerBeacon, nms_IInventory, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isItemValid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getSlotStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_SoundManager$QueuedSoundEvent.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_SlotFurnace.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_IInventory, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isItemValid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "decrStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "onPickupFromSlot", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "onCrafting", modifiers : 0, accessLevel : 2, parameterTypes : [nms_ItemStack, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "onCrafting", modifiers : 0, accessLevel : 2, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }]; nms_ContainerHorseInventorySlotArmor.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [nms_ContainerHorseInventory, nms_IInventory, $rt_intcls, $rt_intcls, $rt_intcls, nms_EntityHorse], returnType : $rt_voidcls, callable : null }, { name : "isItemValid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "func_111238_b", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_SlotEnchantment.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [nms_ContainerEnchantment, nms_IInventory, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isItemValid", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }]; nms_ChunkCoordIntPair.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "chunkXZ2Int", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_longcls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "getCenterXPos", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getCenterZPosition", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getChunkPosition", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ChunkPosition, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_ModifiableAttributeInstance.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_BaseAttributeMap, nms_Attribute], returnType : $rt_voidcls, callable : null }, { name : "func_111123_a", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Attribute, callable : null }, { name : "getBaseValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "setAttribute", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "func_111130_a", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : ju_Collection, callable : null }, { name : "func_111122_c", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_Collection, callable : null }, { name : "getModifier", modifiers : 0, accessLevel : 3, parameterTypes : [nle_ProfileUUID], returnType : nms_AttributeModifier, callable : null }, { name : "applyModifier", modifiers : 0, accessLevel : 3, parameterTypes : [nms_AttributeModifier], returnType : $rt_voidcls, callable : null }, { name : "func_111131_f", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "removeModifier", modifiers : 0, accessLevel : 3, parameterTypes : [nms_AttributeModifier], returnType : $rt_voidcls, callable : null }, { name : "func_142049_d", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getAttributeValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "func_111129_g", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_doublecls, callable : null }]; nlesrp_IPacket01ICEServers.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "read", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataInputStream], returnType : $rt_voidcls, callable : null }]; nlesrp_IPacket04Description.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "read", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataInputStream], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataOutputStream], returnType : $rt_voidcls, callable : null }, { name : "packetLength", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_TileEntityPiston.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getStoredBlockID", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getBlockMetadata", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isExtending", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getPistonOrientation", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "shouldRenderHead", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "getProgress", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getOffsetX", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getOffsetY", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "getOffsetZ", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "updatePushedObjects", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "clearPistonTileEntity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateEntity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }]; nlesrp_IPacket06ClientFailure.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "read", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataInputStream], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataOutputStream], returnType : $rt_voidcls, callable : null }, { name : "packetLength", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EntitySpellParticleFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setBaseSpellTextureIndex", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_EntityLavaFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getBrightness", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityBreakingFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, nms_Item], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, nms_Item, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, nms_Item, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getFXLayer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }]; nlesrp_IPacket69Pong.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String, jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "read", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataInputStream], returnType : $rt_voidcls, callable : null }]; nms_EntityCloudFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesrp_IPacket07LocalWorlds.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "read", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataInputStream], returnType : $rt_voidcls, callable : null }]; nms_EntityBubbleFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityLargeExplodeFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_RenderEngine, nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getFXLayer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityHeartFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesrp_IPacket00Handshake.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "read", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataInputStream], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataOutputStream], returnType : $rt_voidcls, callable : null }, { name : "packetLength", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_GuiButtonMerchant.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "drawButton", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Minecraft, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_GuiBeaconButtonCancel.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_GuiBeacon, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_82251_b", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nlesrp_IPacket05ClientSuccess.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "read", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataInputStream], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataOutputStream], returnType : $rt_voidcls, callable : null }, { name : "packetLength", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EntityNoteFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityFireworkStarterFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, nms_EffectRenderer, nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_92037_i", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "createParticle", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_arraycls($rt_intcls), $rt_arraycls($rt_intcls), $rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "createBall", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_doublecls, $rt_intcls, $rt_arraycls($rt_intcls), $rt_arraycls($rt_intcls), $rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "createShaped", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_doublecls, $rt_arraycls($rt_arraycls($rt_doublecls)), $rt_arraycls($rt_intcls), $rt_arraycls($rt_intcls), $rt_booleancls, $rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "createBurst", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_arraycls($rt_intcls), $rt_arraycls($rt_intcls), $rt_booleancls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "getFXLayer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EntitySnowShovelFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityPortalFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getBrightness", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityFlameFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getBrightness", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityAuraFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityReddustFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntitySuspendFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesrp_IPacket03ICECandidate.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "read", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataInputStream], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataOutputStream], returnType : $rt_voidcls, callable : null }, { name : "packetLength", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EntityFootStepFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_RenderEngine, nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getFXLayer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesrp_IPacketFEDisconnectClient.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "read", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataInputStream], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataOutputStream], returnType : $rt_voidcls, callable : null }, { name : "packetLength", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityFireworkSparkFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, nms_EffectRenderer], returnType : $rt_voidcls, callable : null }, { name : "setTrail", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setTwinkle", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "setColour", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setFadeColour", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getBoundingBox", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_AxisAlignedBB, callable : null }, { name : "canBePushed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getBrightness", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }]; nms_GuiBeaconButtonPower.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_GuiBeacon, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_82251_b", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_EntityHugeExplodeFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getFXLayer", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_EntityCritFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_GuiBeaconButtonConfirm.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_GuiBeacon, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_82251_b", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nlesrp_IPacketFFErrorCode.$meta.methods = [ { name : "code2string", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : jl_String, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "read", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataInputStream], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataOutputStream], returnType : $rt_voidcls, callable : null }, { name : "packetLength", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesrp_IPacket.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "register", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_intcls, jl_Class], returnType : $rt_voidcls, callable : null }, { name : "readPacket", modifiers : 512, accessLevel : 3, parameterTypes : [ji_DataInputStream], returnType : nlesrp_IPacket, callable : null }, { name : "writePacket", modifiers : 512, accessLevel : 3, parameterTypes : [nlesrp_IPacket], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "read", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataInputStream], returnType : $rt_voidcls, callable : null }, { name : "write", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataOutputStream], returnType : $rt_voidcls, callable : null }, { name : "packetLength", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "readASCII", modifiers : 512, accessLevel : 3, parameterTypes : [ji_InputStream, $rt_intcls], returnType : jl_String, callable : null }, { name : "writeASCII", modifiers : 512, accessLevel : 3, parameterTypes : [ji_OutputStream, jl_String], returnType : $rt_voidcls, callable : null }, { name : "readASCII8", modifiers : 512, accessLevel : 3, parameterTypes : [ji_InputStream], returnType : jl_String, callable : null }, { name : "writeASCII8", modifiers : 512, accessLevel : 3, parameterTypes : [ji_OutputStream, jl_String], returnType : $rt_voidcls, callable : null }, { name : "readASCII16", modifiers : 512, accessLevel : 3, parameterTypes : [ji_InputStream], returnType : jl_String, callable : null }, { name : "writeASCII16", modifiers : 512, accessLevel : 3, parameterTypes : [ji_OutputStream, jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityDropParticleFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, nms_Material], returnType : $rt_voidcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getBrightness", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_EntityExplodeFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_GuiRepair.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_InventoryPlayer, nms_World, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "initGui", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onGuiClosed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "drawGuiContainerForegroundLayer", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "keyTyped", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_charcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_135015_g", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "mouseClicked", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawScreen", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "drawGuiContainerBackgroundLayer", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_floatcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "sendContainerAndContentsToPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Container, ju_List], returnType : $rt_voidcls, callable : null }, { name : "sendSlotContents", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Container, $rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "sendProgressBarUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Container, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nlesrp_IPacket02NewClient.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "read", modifiers : 0, accessLevel : 3, parameterTypes : [ji_DataInputStream], returnType : $rt_voidcls, callable : null }]; nms_EntitySplashFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }]; nms_EntityEnchantmentTableParticleFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "getBrightnessForRender", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_intcls, callable : null }, { name : "getBrightness", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_floatcls], returnType : $rt_floatcls, callable : null }, { name : "onUpdate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_TileEntity.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "addMapping", modifiers : 512, accessLevel : 1, parameterTypes : [jl_Class, jl_String], returnType : $rt_voidcls, callable : null }, { name : "getWorldObj", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_World, callable : null }, { name : "setWorldObj", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_voidcls, callable : null }, { name : "hasWorldObj", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "updateEntity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "createAndLoadEntity", modifiers : 512, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : nms_TileEntity, callable : null }, { name : "getBlockMetadata", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "onInventoryChanged", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getDistanceFrom", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_doublecls, callable : null }, { name : "getMaxRenderDistanceSquared", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "getBlockType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Block, callable : null }, { name : "getDescriptionPacket", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Packet, callable : null }, { name : "isInvalid", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "invalidate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "validate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "receiveClientEvent", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "updateContainingBlockInfo", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getClassToNameMap", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : ju_Map, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_GuiContainer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Container], returnType : $rt_voidcls, callable : null }, { name : "initGui", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "drawScreen", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "drawItemStack", modifiers : 0, accessLevel : 1, parameterTypes : [nms_ItemStack, $rt_intcls, $rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "drawItemStackTooltip", modifiers : 0, accessLevel : 2, parameterTypes : [nms_ItemStack, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawCreativeTabHoveringText", modifiers : 0, accessLevel : 2, parameterTypes : [jl_String, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_102021_a", modifiers : 0, accessLevel : 2, parameterTypes : [ju_List, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawGuiContainerForegroundLayer", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawGuiContainerBackgroundLayer", modifiers : 1, accessLevel : 2, parameterTypes : [$rt_floatcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawSlotInventory", modifiers : 0, accessLevel : 1, parameterTypes : [nms_Slot], returnType : $rt_voidcls, callable : null }, { name : "func_94066_g", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getSlotAtPosition", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_Slot, callable : null }, { name : "mouseClicked", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "mouseClickMove", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "mouseMovedOrUp", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isMouseOverSlot", modifiers : 0, accessLevel : 1, parameterTypes : [nms_Slot, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "isPointInRegion", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "handleMouseClick", modifiers : 0, accessLevel : 2, parameterTypes : [nms_Slot, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "keyTyped", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_charcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "checkHotbarKeys", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "onGuiClosed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "doesGuiPauseGame", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "updateScreen", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_GuiBeaconButton.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, nle_TextureLocation, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawButton", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Minecraft, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_82255_b", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_82254_b", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }]; nms_GuiScreen.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "drawScreen", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "keyTyped", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_charcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getClipboardString", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setClipboardString", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "mouseClicked", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "mouseMovedOrUp", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "func_85041_a", modifiers : 0, accessLevel : 2, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "actionPerformed", modifiers : 0, accessLevel : 2, parameterTypes : [nms_GuiButton], returnType : $rt_voidcls, callable : null }, { name : "setWorldAndResolution", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Minecraft, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "initGui", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "handleInput", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "handleMouseInput", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "handleKeyboardInput", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateScreen", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "onGuiClosed", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "drawDefaultBackground", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "drawWorldBackground", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "drawBackground", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "doesGuiPauseGame", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "confirmClicked", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isCtrlKeyDown", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "isShiftKeyDown", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "blockHotKeys", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nle_ProfileUUID.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_longcls, $rt_longcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_arraycls($rt_bytecls)], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "long7", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : $rt_bytecls, callable : null }, { name : "long6", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : $rt_bytecls, callable : null }, { name : "long5", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : $rt_bytecls, callable : null }, { name : "long4", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : $rt_bytecls, callable : null }, { name : "long3", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : $rt_bytecls, callable : null }, { name : "long2", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : $rt_bytecls, callable : null }, { name : "long1", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : $rt_bytecls, callable : null }, { name : "long0", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls], returnType : $rt_bytecls, callable : null }, { name : "getBytes", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_arraycls($rt_bytecls), callable : null }, { name : "getMostSignificantBits", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "getLeastSignificantBits", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_longcls, callable : null }, { name : "randomUUID", modifiers : 512, accessLevel : 3, parameterTypes : [], returnType : nle_ProfileUUID, callable : null }, { name : "nibbleValue", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_charcls], returnType : $rt_intcls, callable : null }, { name : "parse4Nibbles", modifiers : 512, accessLevel : 1, parameterTypes : [jl_String, $rt_intcls], returnType : $rt_longcls, callable : null }, { name : "fromString", modifiers : 512, accessLevel : 3, parameterTypes : [jl_String], returnType : nle_ProfileUUID, callable : null }, { name : "fromString1", modifiers : 512, accessLevel : 1, parameterTypes : [jl_String], returnType : nle_ProfileUUID, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "digits", modifiers : 512, accessLevel : 1, parameterTypes : [$rt_longcls, $rt_intcls], returnType : jl_String, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }]; nms_EnchantmentData.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Enchantment, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_EntityFireworkOverlayFX.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 2, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : $rt_voidcls, callable : null }, { name : "renderParticle", modifiers : 0, accessLevel : 3, parameterTypes : [nlea_Tessellator, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }]; nms_WeightedRandomMinecart.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_MobSpawnerBaseLogic, nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_MobSpawnerBaseLogic, nms_NBTTagCompound, jl_String], returnType : $rt_voidcls, callable : null }, { name : "func_98220_a", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_NBTTagCompound, callable : null }]; nms_EntityDragonPart.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_IEntityMultiPart, jl_String, $rt_floatcls, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "entityInit", modifiers : 0, accessLevel : 2, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "readEntityFromNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeEntityToNBT", modifiers : 0, accessLevel : 2, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "canBeCollidedWith", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "attackEntityFrom", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_floatcls], returnType : $rt_booleancls, callable : null }, { name : "isEntityEqual", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity], returnType : $rt_booleancls, callable : null }]; nms_SoundManager$EntitySoundEvent.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Entity, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_BiomeCacheBlock.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_BiomeCache, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getBiomeGenAt", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_BiomeGenBase, callable : null }]; nms_CombatEntry.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_DamageSource, $rt_intcls, $rt_floatcls, $rt_floatcls, jl_String, $rt_floatcls], returnType : $rt_voidcls, callable : null }, { name : "getDamageSrc", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_DamageSource, callable : null }, { name : "func_94563_c", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "func_94559_f", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_94562_g", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_94558_h", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_94561_i", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }]; nms_GuiButtonNextPage.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls, $rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "drawButton", modifiers : 0, accessLevel : 3, parameterTypes : [nms_Minecraft, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_TileEntityRecordPlayer.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "func_96097_a", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ItemStack, callable : null }, { name : "func_96098_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_voidcls, callable : null }]; nms_TileEntityBeacon.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateEntity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "addEffectsToPlayers", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateState", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_82125_v_", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_floatcls, callable : null }, { name : "getPrimaryEffect", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getSecondaryEffect", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getLevels", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setLevels", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setPrimaryEffect", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "setSecondaryEffect", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getDescriptionPacket", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Packet, callable : null }, { name : "getMaxRenderDistanceSquared", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getSizeInventory", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getStackInSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "decrStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "getStackInSlotOnClosing", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "setInventorySlotContents", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "getInvName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isInvNameLocalized", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_94047_a", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getInventoryStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isUseableByPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "openChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "closeChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isItemValidForSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_TileEntityComparator.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getOutputSignal", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setOutputSignal", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_TileEntityChest.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getSizeInventory", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getStackInSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "decrStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "getStackInSlotOnClosing", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "setInventorySlotContents", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "getInvName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isInvNameLocalized", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setChestGuiName", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getInventoryStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isUseableByPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "updateContainingBlockInfo", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_90009_a", modifiers : 0, accessLevel : 1, parameterTypes : [nms_TileEntityChest, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "checkForAdjacentChests", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_94044_a", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "updateEntity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "receiveClientEvent", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "openChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "closeChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isItemValidForSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "invalidate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getChestType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }]; nms_TileEntityMobSpawner.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "updateEntity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getDescriptionPacket", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Packet, callable : null }, { name : "receiveClientEvent", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "getSpawnerLogic", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_MobSpawnerBaseLogic, callable : null }]; nms_TileEntityDispenser.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getSizeInventory", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getStackInSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "decrStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "getStackInSlotOnClosing", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "getRandomStackFromInventory", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setInventorySlotContents", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "addItem", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_intcls, callable : null }, { name : "getInvName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setCustomName", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "isInvNameLocalized", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getInventoryStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isUseableByPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "openChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "closeChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isItemValidForSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_booleancls, callable : null }]; nms_TileEntityEnchantmentTable.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "updateEntity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "func_94133_a", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "func_94135_b", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_94134_a", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_TileEntityNote.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "changePitch", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "triggerNote", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World, $rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_TileEntityDaylightDetector.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateEntity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_TileEntityFurnace.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getSizeInventory", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getStackInSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "decrStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "getStackInSlotOnClosing", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "setInventorySlotContents", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "getInvName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isInvNameLocalized", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setGuiDisplayName", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getInventoryStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getCookProgressScaled", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "getBurnTimeRemainingScaled", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_intcls, callable : null }, { name : "isBurning", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "updateEntity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "canSmelt", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "smeltItem", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getItemBurnTime", modifiers : 512, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_intcls, callable : null }, { name : "isItemFuel", modifiers : 512, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "isUseableByPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "openChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "closeChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isItemValidForSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getAccessibleSlotsFromSide", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_arraycls($rt_intcls), callable : null }, { name : "canInsertItem", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "canExtractItem", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_TileEntityEnderChest.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateEntity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "receiveClientEvent", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "invalidate", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "openChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "closeChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isUseableByPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }]; nms_TileEntityCommandBlock.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "setCommand", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getCommand", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "executeCommandOnPowered", modifiers : 0, accessLevel : 3, parameterTypes : [nms_World], returnType : $rt_intcls, callable : null }, { name : "getCommandSenderName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "setCommandSenderName", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "sendChatToPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "canCommandSenderUseCommand", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String], returnType : $rt_booleancls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getPlayerCoordinates", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_ChunkCoordinates, callable : null }, { name : "getEntityWorld", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_World, callable : null }, { name : "getDescriptionPacket", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Packet, callable : null }, { name : "func_96103_d", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "func_96102_a", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }]; nms_TileEntityBrewingStand.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getInvName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isInvNameLocalized", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "func_94131_a", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getSizeInventory", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "updateEntity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getBrewTime", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "canBrew", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "brewPotions", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getPotionResult", modifiers : 0, accessLevel : 1, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_intcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getStackInSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "decrStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "getStackInSlotOnClosing", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "setInventorySlotContents", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "getInventoryStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isUseableByPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "openChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "closeChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isItemValidForSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "setBrewTime", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getFilledSlots", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getAccessibleSlotsFromSide", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_arraycls($rt_intcls), callable : null }, { name : "canInsertItem", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "canExtractItem", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "", modifiers : 512, accessLevel : 0, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_TileEntityDropper.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getInvName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_TileEntityHopper.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "onInventoryChanged", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "getSizeInventory", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "getStackInSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "decrStackSize", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "getStackInSlotOnClosing", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "setInventorySlotContents", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_voidcls, callable : null }, { name : "getInvName", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }, { name : "isInvNameLocalized", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setInventoryName", modifiers : 0, accessLevel : 3, parameterTypes : [jl_String], returnType : $rt_voidcls, callable : null }, { name : "getInventoryStackLimit", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isUseableByPlayer", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_booleancls, callable : null }, { name : "openChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "closeChest", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "isItemValidForSlot", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "updateEntity", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "updateHopper", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "insertItemToInventory", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "suckItemsIntoHopper", modifiers : 512, accessLevel : 3, parameterTypes : [nms_Hopper], returnType : $rt_booleancls, callable : null }, { name : "insertStackFromInventory", modifiers : 512, accessLevel : 1, parameterTypes : [nms_Hopper, nms_IInventory, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "insertStackFromEntity", modifiers : 512, accessLevel : 3, parameterTypes : [nms_IInventory, nms_EntityItem], returnType : $rt_booleancls, callable : null }, { name : "insertStack", modifiers : 512, accessLevel : 3, parameterTypes : [nms_IInventory, nms_ItemStack, $rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "canInsertItemToInventory", modifiers : 512, accessLevel : 1, parameterTypes : [nms_IInventory, nms_ItemStack, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "canExtractItemFromInventory", modifiers : 512, accessLevel : 1, parameterTypes : [nms_IInventory, nms_ItemStack, $rt_intcls, $rt_intcls], returnType : $rt_booleancls, callable : null }, { name : "func_102014_c", modifiers : 512, accessLevel : 1, parameterTypes : [nms_IInventory, nms_ItemStack, $rt_intcls, $rt_intcls], returnType : nms_ItemStack, callable : null }, { name : "getOutputInventory", modifiers : 0, accessLevel : 1, parameterTypes : [], returnType : nms_IInventory, callable : null }, { name : "getInventoryAboveHopper", modifiers : 512, accessLevel : 3, parameterTypes : [nms_Hopper], returnType : nms_IInventory, callable : null }, { name : "getEntityAbove", modifiers : 512, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_EntityItem, callable : null }, { name : "getInventoryAtLocation", modifiers : 512, accessLevel : 3, parameterTypes : [nms_World, $rt_doublecls, $rt_doublecls, $rt_doublecls], returnType : nms_IInventory, callable : null }, { name : "areItemStacksEqualItem", modifiers : 512, accessLevel : 1, parameterTypes : [nms_ItemStack, nms_ItemStack], returnType : $rt_booleancls, callable : null }, { name : "getXPos", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "getYPos", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "getZPos", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_doublecls, callable : null }, { name : "setTransferCooldown", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "isCoolingDown", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }]; nms_TileEntityEndPortal.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }]; nms_TileEntitySkull.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getDescriptionPacket", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Packet, callable : null }, { name : "setSkullType", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, jl_String], returnType : $rt_voidcls, callable : null }, { name : "getSkullType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "func_82119_b", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "setSkullRotation", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getExtraType", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; ju_TreeMap$TreeNode.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 0, parameterTypes : [jl_Object], returnType : $rt_voidcls, callable : null }, { name : "balance", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_TreeMap$TreeNode, callable : null }, { name : "factor", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "rotateRight", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_TreeMap$TreeNode, callable : null }, { name : "rotateLeft", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : ju_TreeMap$TreeNode, callable : null }, { name : "fix", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "forward", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : ju_TreeMap$TreeNode, callable : null }, { name : "down", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : ju_TreeMap$TreeNode, callable : null }]; ju_AbstractMap$SimpleEntry.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object, jl_Object], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [ju_Map$Entry], returnType : $rt_voidcls, callable : null }, { name : "getValue", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "setValue", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : jl_Object, callable : null }, { name : "getKey", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_Object, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_TileEntitySign.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "writeToNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "readFromNBT", modifiers : 0, accessLevel : 3, parameterTypes : [nms_NBTTagCompound], returnType : $rt_voidcls, callable : null }, { name : "getDescriptionPacket", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_Packet, callable : null }, { name : "isEditable", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "setEditable", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_booleancls], returnType : $rt_voidcls, callable : null }, { name : "func_142010_a", modifiers : 0, accessLevel : 3, parameterTypes : [nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "func_142009_b", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : nms_EntityPlayer, callable : null }]; nms_PathPoint.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "makeHash", modifiers : 512, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_intcls, callable : null }, { name : "distanceTo", modifiers : 0, accessLevel : 3, parameterTypes : [nms_PathPoint], returnType : $rt_floatcls, callable : null }, { name : "func_75832_b", modifiers : 0, accessLevel : 3, parameterTypes : [nms_PathPoint], returnType : $rt_floatcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "isAssigned", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_booleancls, callable : null }, { name : "toString", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : jl_String, callable : null }]; nms_MapInfo.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_MapData, nms_EntityPlayer], returnType : $rt_voidcls, callable : null }, { name : "getPlayersOnMap", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ItemStack], returnType : $rt_arraycls($rt_bytecls), callable : null }]; nms_ChunkCoordinates.$meta.methods = [ { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ChunkCoordinates], returnType : $rt_voidcls, callable : null }, { name : "equals", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_booleancls, callable : null }, { name : "hashCode", modifiers : 0, accessLevel : 3, parameterTypes : [], returnType : $rt_intcls, callable : null }, { name : "compareChunkCoordinate", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ChunkCoordinates], returnType : $rt_intcls, callable : null }, { name : "set", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_voidcls, callable : null }, { name : "getDistanceSquared", modifiers : 0, accessLevel : 3, parameterTypes : [$rt_intcls, $rt_intcls, $rt_intcls], returnType : $rt_floatcls, callable : null }, { name : "getDistanceSquaredToChunkCoordinates", modifiers : 0, accessLevel : 3, parameterTypes : [nms_ChunkCoordinates], returnType : $rt_floatcls, callable : null }, { name : "compareTo", modifiers : 0, accessLevel : 3, parameterTypes : [jl_Object], returnType : $rt_intcls, callable : null }]; }, jl_Class_getDeclaredMethods = $this => { let $jsMethods, $count, $i, var$4, $jsMethod, var$6, $j, $jsParameterTypes, $parameterTypes, var$10, var$11, $returnType, var$13, var$14; if (!($this.$platformClass.$meta.primitive ? 1 : 0) && !($this.$platformClass.$meta.item === null ? 0 : 1)) { if ($this.$declaredMethods === null) { if (!jl_Class_reflectionInitialized) { jl_Class_reflectionInitialized = 1; jl_Class_createMetadata(); } $jsMethods = $this.$platformClass.$meta.methods; $this.$declaredMethods = $rt_createArray(jlr_Method, $jsMethods.length); $count = 0; $i = 0; while ($i < $jsMethods.length) { var$4 = $jsMethods[$i]; $jsMethod = var$4 === null ? null : !(var$4 instanceof $rt_objcls()) ? var$4 : var$4[$rt_jso_marker] === true ? var$4 : var$4.$js; var$6 = $rt_str($jsMethod.name); if (var$6 === $rt_s(105)) $j = 1; else if (!($rt_s(105) instanceof jl_String)) $j = 0; else { var$4 = $rt_s(105); $j = var$6.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!$j) { var$6 = $rt_str($jsMethod.name); if (var$6 === $rt_s(106)) $j = 1; else if (!($rt_s(106) instanceof jl_String)) $j = 0; else { var$4 = $rt_s(106); $j = var$6.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!$j) { $jsParameterTypes = $jsMethod.parameterTypes; $parameterTypes = $rt_createArray(jl_Class, $jsParameterTypes.length); var$10 = $parameterTypes.data; $j = 0; var$11 = var$10.length; while ($j < var$11) { $returnType = $jsParameterTypes[$j]; if ($returnType === null) var$13 = null; else { var$13 = $returnType.classObject; if (var$13 === null) { var$13 = new jl_Class; var$13.$platformClass = $returnType; $returnType.classObject = var$13; } } var$10[$j] = var$13; $j = $j + 1 | 0; } $jsParameterTypes = $jsMethod.returnType; if ($jsParameterTypes === null) $returnType = null; else { $returnType = $jsParameterTypes.classObject; if ($returnType === null) { $returnType = new jl_Class; $returnType.$platformClass = $jsParameterTypes; $jsParameterTypes.classObject = $returnType; } } var$10 = $this.$declaredMethods.data; $j = $count + 1 | 0; var$4 = new jlr_Method; var$6 = $rt_str($jsMethod.name); var$11 = $jsMethod.modifiers; var$14 = $jsMethod.accessLevel; $jsMethod = otji_JS_functionAsObject($jsMethod.callable, "call"); var$4.$declaringClass = $this; var$4.$name8 = var$6; var$4.$flags4 = var$11; var$4.$accessLevel = var$14; var$4.$returnType = $returnType; var$4.$parameterTypes = $parameterTypes; var$4.$callable = $jsMethod; var$10[$count] = var$4; $count = $j; } } $i = $i + 1 | 0; } $parameterTypes = $this.$declaredMethods; var$6 = $parameterTypes.constructor; if (var$6 === null) var$4 = null; else { var$4 = var$6.classObject; if (var$4 === null) { var$4 = new jl_Class; var$4.$platformClass = var$6; var$6.classObject = var$4; } } $jsMethod = var$4.$platformClass.$meta.item; if ($jsMethod === null) var$6 = null; else { var$6 = $jsMethod.classObject; if (var$6 === null) { var$6 = new jl_Class; var$6.$platformClass = $jsMethod; $jsMethod.classObject = var$6; } } if (var$6 === null) { var$4 = new jl_NullPointerException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if (var$6 === $rt_cls($rt_voidcls)) { var$4 = new jl_IllegalArgumentException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($count < 0) { var$4 = new jl_NegativeArraySizeException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } $parameterTypes = $parameterTypes.data; $jsMethods = jlr_Array_newInstanceImpl(var$6.$platformClass, $count); $i = $parameterTypes.length; if ($count < $i) $i = $count; $count = 0; while ($count < $i) { $jsMethods.data[$count] = $parameterTypes[$count]; $count = $count + 1 | 0; } $this.$declaredMethods = $jsMethods; } return $this.$declaredMethods.$clone0(); } return $rt_createArray(jlr_Method, 0); }, jl_Class_getMethod = ($this, $name, $parameterTypes) => { let $method; $method = jl_Class_findMethod($this, null, $name, $parameterTypes); if ($method !== null) return $method; $name = new jl_NoSuchMethodException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); }, jl_Class_findMethods = ($cls, $methods) => { let var$3, var$4, var$5, $method, $signature, $superclass, var$9, $iface, var$11, var$12, var$13; var$3 = (jl_Class_getDeclaredMethods($cls)).data; var$4 = var$3.length; var$5 = 0; while (var$5 < var$4) { $method = var$3[var$5]; if (!(otcir_Flags_getModifiers($method.$flags4, $method.$accessLevel) & 1) ? 0 : 1) { $signature = new jl_Class$MethodSignature; $superclass = $method.$name8; var$9 = $method.$parameterTypes.$clone0(); $iface = $method.$returnType; $signature.$name15 = $superclass; $signature.$parameterTypes0 = var$9; $signature.$returnType0 = $iface; var$11 = jl_Class$MethodSignature_hashCode($signature); var$9 = $methods.$elementData.data; $superclass = var$9[var$11 & (var$9.length - 1 | 0)]; while ($superclass !== null) { if ($superclass.$origKeyHash == var$11) { $iface = $superclass.$key; if ($signature !== $iface && !jl_Class$MethodSignature_equals($signature, $iface) ? 0 : 1) break; } $superclass = $superclass.$next3; } if (!($superclass === null ? 0 : 1)) ju_HashMap_putImpl($methods, $signature, $method); } var$5 = var$5 + 1 | 0; } if (!(!($cls.$platformClass.$meta.flags & 2) ? 0 : 1)) { $superclass = jl_Class_getSuperclass($cls); if ($superclass !== null) jl_Class_findMethods($superclass, $methods); } var$3 = (jl_Class_getInterfaces($cls)).data; var$12 = var$3.length; var$13 = 0; while (var$13 < var$12) { jl_Class_findMethods(var$3[var$13], $methods); var$13 = var$13 + 1 | 0; } }, jl_Class_findMethod = ($cls, $current, $name, $parameterTypes) => { let var$5, var$6, var$7, $method, var$9, $superclass, $iface, var$12, var$13; var$5 = (jl_Class_getDeclaredMethods($cls)).data; var$6 = var$5.length; var$7 = 0; while (var$7 < var$6) { $method = var$5[var$7]; var$9 = !(otcir_Flags_getModifiers($method.$flags4, $method.$accessLevel) & 1) ? 0 : 1; a: { if (var$9) { $superclass = $method.$name8; if ($superclass === $name) var$9 = 1; else if (!($name instanceof jl_String)) var$9 = 0; else { $iface = $name; var$9 = $superclass.$nativeString !== $iface.$nativeString ? 0 : 1; } if (var$9 && ju_Arrays_equals($method.$parameterTypes.$clone0(), $parameterTypes)) { if ($current !== null) { var$12 = $current.$returnType; if (!otp_Platform_isAssignable($method.$returnType.$platformClass, var$12.$platformClass)) break a; } $current = $method; } } } var$7 = var$7 + 1 | 0; } if (!(!($cls.$platformClass.$meta.flags & 2) ? 0 : 1)) { $superclass = jl_Class_getSuperclass($cls); if ($superclass !== null) $current = jl_Class_findMethod($superclass, $current, $name, $parameterTypes); } var$13 = (jl_Class_getInterfaces($cls)).data; var$6 = var$13.length; var$7 = 0; while (var$7 < var$6) { $current = jl_Class_findMethod(var$13[var$7], $current, $name, $parameterTypes); var$7 = var$7 + 1 | 0; } return $current; }, jl_Class_getSuperclass = $this => { let var$1, var$2; var$1 = $this.$platformClass.$meta.superclass; if (var$1 === null) var$2 = null; else { var$2 = var$1.classObject; if (var$2 === null) { var$2 = new jl_Class; var$2.$platformClass = var$1; var$1.classObject = var$2; } } return var$2; }, jl_Class_getInterfaces = $this => { let $supertypes, $filteredSupertypes, var$3, $j, $i, var$6, var$7, var$8, var$9; $supertypes = $this.$platformClass.$meta.supertypes; $filteredSupertypes = $rt_createArray(jl_Class, $supertypes.length); var$3 = $filteredSupertypes.data; $j = 0; $i = 0; while ($i < $supertypes.length) { if ($supertypes[$i] !== $this.$platformClass.$meta.superclass) { var$6 = $j + 1 | 0; var$7 = $supertypes[$i]; if (var$7 === null) var$8 = null; else { var$8 = var$7.classObject; if (var$8 === null) { var$8 = new jl_Class; var$8.$platformClass = var$7; var$7.classObject = var$8; } } var$3[$j] = var$8; $j = var$6; } $i = $i + 1 | 0; } var$6 = var$3.length; if (var$6 > $j) { var$8 = $filteredSupertypes.constructor; if (var$8 === null) var$9 = null; else { var$9 = var$8.classObject; if (var$9 === null) { var$9 = new jl_Class; var$9.$platformClass = var$8; var$8.classObject = var$9; } } var$7 = var$9.$platformClass.$meta.item; if (var$7 === null) var$8 = null; else { var$8 = var$7.classObject; if (var$8 === null) { var$8 = new jl_Class; var$8.$platformClass = var$7; var$7.classObject = var$8; } } if (var$8 === null) { var$9 = new jl_NullPointerException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; $rt_throw(var$9); } if (var$8 === $rt_cls($rt_voidcls)) { var$9 = new jl_IllegalArgumentException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; $rt_throw(var$9); } if ($j < 0) { var$9 = new jl_NegativeArraySizeException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; $rt_throw(var$9); } $supertypes = jlr_Array_newInstanceImpl(var$8.$platformClass, $j); if ($j < var$6) var$6 = $j; $j = 0; while ($j < var$6) { $supertypes.data[$j] = var$3[$j]; $j = $j + 1 | 0; } $filteredSupertypes = $supertypes; } return $filteredSupertypes; }, jl_Class_getClassLoader = $this => { jl_ClassLoader_$callClinit(); return jl_ClassLoader_systemClassLoader; }, jl_Class_newInstance = $this => { let $instance, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$instance = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $instance = $this.$platformClass; if (!otp_Platform_newInstancePrepared) { otp_Platform_prepareNewInstance(); otp_Platform_newInstancePrepared = 1; } $ptr = 1; case 1: $tmp = otp_Platform_newInstanceImpl($instance); if ($rt_suspending()) { break main; } $instance = $tmp; if ($instance !== null) return $instance; $instance = new jl_InstantiationException; $instance.$suppressionEnabled = 1; $instance.$writableStackTrace = 1; $rt_throw($instance); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $instance, $ptr); }, jl_Class_getPackage = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$name1 === null) $this.$name1 = $rt_str($this.$platformClass.$meta.name); var$1 = $this.$name1; var$1 = jl_String_substring(var$1, 0, jl_String_lastIndexOf(var$1, 46, var$1.$nativeString.length - 1 | 0) + 1 | 0); var$2 = jl_Package_packages; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!var$1.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = var$1.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if (var$1 !== var$6) { if (var$1 === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = var$1.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2 === null) { var$2 = new jl_Package; var$2.$name21 = var$1; ju_HashMap_putImpl(jl_Package_packages, var$1, var$2); } return var$2; }, otji_JS = $rt_classWithoutFields(), otji_JS__init_ = $this => { return; }, otji_JS__init_0 = () => { let var_0 = new otji_JS(); otji_JS__init_(var_0); return var_0; }, otji_JS_wrap = $array => { let var$2, $result, $i, var$5; if ($array === null) return null; $array = $array.data; var$2 = $array.length; $result = new Array(var$2); $i = 0; while ($i < var$2) { var$5 = $rt_ustr($array[$i]); $result[$i] = var$5; $i = $i + 1 | 0; } return $result; }, otji_JS_unwrapStringArray = $array => { let $result, var$3, $i, var$5, var$6; if ($array === null) return null; $result = $rt_createArray(jl_String, $array.length); var$3 = $result.data; $i = 0; var$5 = var$3.length; while ($i < var$5) { var$6 = $array[$i]; var$3[$i] = $rt_str(var$6 === null ? null : !(var$6 instanceof $rt_objcls()) ? var$6 : var$6[$rt_jso_marker] === true ? var$6 : var$6.$js); $i = $i + 1 | 0; } return $result; }, otji_JS_function = (var$1, var$2) => { let name = 'jso$functor$' + var$2; let result = var$1[name]; if (typeof result !== 'function') { let fn = function() { return var$1[var$2].apply(var$1, arguments); }; result = () => fn; var$1[name] = result; } return result(); }, otji_JS_functionAsObject = (var$1, var$2) => { if (typeof var$1 !== 'function') return var$1; let result = { }; result[var$2] = var$1; return result; }, otp_Platform = $rt_classWithoutFields(), otp_Platform_newInstancePrepared = 0, otp_Platform__init_ = $this => { return; }, otp_Platform__init_0 = () => { let var_0 = new otp_Platform(); otp_Platform__init_(var_0); return var_0; }, otp_Platform_clone = var$1 => { let copy = new var$1.constructor(); for (let field in var$1) { if (var$1.hasOwnProperty(field)) { copy[field] = var$1[field]; } } return copy; }, otp_Platform_isAssignable = (var$1, $to) => { let $supertypes, $i; if (var$1 === $to) return 1; $supertypes = var$1.$meta.supertypes; $i = 0; while ($i < $supertypes.length) { if (otp_Platform_isAssignable($supertypes[$i], $to)) return 1; $i = $i + 1 | 0; } return 0; }, otp_Platform_prepareNewInstance = () => { let c = '$$constructor$$'; jl_String[c] = jl_String__init_2; jl_Object[c] = jl_Object__init_; jl_RuntimeException[c] = jl_RuntimeException__init_; jl_ClassCastException[c] = jl_ClassCastException__init_; jl_StringBuilder[c] = jl_StringBuilder__init_0; jl_Exception[c] = jl_Exception__init_; nle_Client[c] = nle_Client__init_; oj_JSONObject[c] = oj_JSONObject__init_0; otji_JS[c] = otji_JS__init_; otp_Platform[c] = otp_Platform__init_; jl_Throwable[c] = jl_Throwable__init_; jl_AbstractStringBuilder[c] = jl_AbstractStringBuilder__init_0; jl_String$_clinit_$lambda$_115_0[c] = jl_String$_clinit_$lambda$_115_0__init_; otci_IntegerUtil[c] = otci_IntegerUtil__init_; nle_Client$1[c] = nle_Client$1__init_; nms_NBTTagCompound[c] = nms_NBTTagCompound__init_; ju_ArrayList[c] = ju_ArrayList__init_0; nms_NBTTagList[c] = nms_NBTTagList__init_; nle_EaglercraftRandom[c] = nle_EaglercraftRandom__init_; ji_IOException[c] = ji_IOException__init_1; nms_Minecraft[c] = nms_Minecraft__init_; nlea_EaglerAdapterImpl2[c] = nlea_EaglerAdapterImpl2__init_; nlea_EaglerAdapterImpl2$3[c] = nlea_EaglerAdapterImpl2$3__init_; nlea_EaglerAdapterImpl2$4[c] = nlea_EaglerAdapterImpl2$4__init_; nlea_EaglerAdapterImpl2$5[c] = nlea_EaglerAdapterImpl2$5__init_; nlea_EaglerAdapterImpl2$6[c] = nlea_EaglerAdapterImpl2$6__init_; nlea_EaglerAdapterImpl2$7[c] = nlea_EaglerAdapterImpl2$7__init_; nlea_EaglerAdapterImpl2$8[c] = nlea_EaglerAdapterImpl2$8__init_; nlea_EaglerAdapterImpl2$9[c] = nlea_EaglerAdapterImpl2$9__init_; nlea_EaglerAdapterImpl2$10[c] = nlea_EaglerAdapterImpl2$10__init_; nlea_EaglerAdapterImpl2$11[c] = nlea_EaglerAdapterImpl2$11__init_; nlea_EaglerAdapterImpl2$12[c] = nlea_EaglerAdapterImpl2$12__init_; ju_LinkedList[c] = ju_LinkedList__init_; nlea_EaglerAdapterImpl2$13[c] = nlea_EaglerAdapterImpl2$13__init_; nle_LocalStorageManager[c] = nle_LocalStorageManager__init_; oj_JSONObject$Null[c] = oj_JSONObject$Null__init_; oj_JSONArray[c] = oj_JSONArray__init_; nle_AssetRepository[c] = nle_AssetRepository__init_; ju_HashMap[c] = ju_HashMap__init_1; nle_Base64[c] = nle_Base64__init_0; nms_CompressedStreamTools[c] = nms_CompressedStreamTools__init_; nle_ConfigConstants[c] = nle_ConfigConstants__init_; jl_System[c] = jl_System__init_; otcic_JSStdoutPrintStream[c] = otcic_JSStdoutPrintStream__init_; nms_SoundManager[c] = nms_SoundManager__init_; ju_HashSet[c] = ju_HashSet__init_; jt_SimpleDateFormat[c] = jt_SimpleDateFormat__init_; nlea_EaglerAdapterImpl2$31[c] = nlea_EaglerAdapterImpl2$31__init_; nle_EarlyLoadScreen[c] = nle_EarlyLoadScreen__init_; nleat_SelfDefence[c] = nleat_SelfDefence__init_; nleat_SelfDefence$2[c] = nleat_SelfDefence$2__init_; nleat_SelfDefence$1[c] = nleat_SelfDefence$1__init_; otcic_JSStderrPrintStream[c] = otcic_JSStderrPrintStream__init_; otj_JSExceptions[c] = otj_JSExceptions__init_; nle_EaglerProfile[c] = nle_EaglerProfile__init_; jl_NullPointerException[c] = jl_NullPointerException__init_; jur_Pattern[c] = jur_Pattern__init_; ju_Objects[c] = ju_Objects__init_; jl_IndexOutOfBoundsException[c] = jl_IndexOutOfBoundsException__init_; otji_JSWrapper$_clinit_$lambda$_33_0[c] = otji_JSWrapper$_clinit_$lambda$_33_0__init_; otji_JSWrapper$_clinit_$lambda$_33_1[c] = otji_JSWrapper$_clinit_$lambda$_33_1__init_; jl_IllegalArgumentException[c] = jl_IllegalArgumentException__init_; nms_Packet3Chat[c] = nms_Packet3Chat__init_; nlea_EaglerAdapterImpl2$19[c] = nlea_EaglerAdapterImpl2$19__init_; nleg_EaglerAdapterGL30[c] = nleg_EaglerAdapterGL30__init_; nms_GLAllocation[c] = nms_GLAllocation__init_; jl_Math[c] = jl_Math__init_; jl_IllegalStateException[c] = jl_IllegalStateException__init_; cjj_CRC32[c] = cjj_CRC32__init_; nle_SHA1Digest[c] = nle_SHA1Digest__init_; nlea_DetectAnisotropicGlitch[c] = nlea_DetectAnisotropicGlitch__init_; ji_ByteArrayOutputStream[c] = ji_ByteArrayOutputStream__init_0; ju_Arrays[c] = ju_Arrays__init_; jt_DateFormatSymbols[c] = jt_DateFormatSymbols__init_; nleat_MessageChannel[c] = nleat_MessageChannel__init_; nlegv_Matrix4f[c] = nlegv_Matrix4f__init_; nlegv_Vector3f[c] = nlegv_Vector3f__init_; nlegv_Vector4f[c] = nlegv_Vector4f__init_; nleat_TeaVMUtils[c] = nleat_TeaVMUtils__init_; nleat_BufferConverter[c] = nleat_BufferConverter__init_; ji_EOFException[c] = ji_EOFException__init_; nms_GuiScreen[c] = nms_GuiScreen__init_; nms_Gui[c] = nms_Gui__init_; jl_UnsupportedOperationException[c] = jl_UnsupportedOperationException__init_; nms_NBTTagEnd[c] = nms_NBTTagEnd__init_; cjj_Inflater[c] = cjj_Inflater__init_0; jnc_Charset$Charsets[c] = jnc_Charset$Charsets__init_; jur_AheadFSet[c] = jur_AheadFSet__init_; jur_FinalSet[c] = jur_FinalSet__init_; jur_NonCapJointSet[c] = jur_NonCapJointSet__init_; jur_JointSet[c] = jur_JointSet__init_; otciu_CLDRHelper[c] = otciu_CLDRHelper__init_; otpp_ResourceAccessor[c] = otpp_ResourceAccessor__init_; cjj_ZStream[c] = cjj_ZStream__init_0; jl_AssertionError[c] = jl_AssertionError__init_; jl_ArrayStoreException[c] = jl_ArrayStoreException__init_; jur_CharClass[c] = jur_CharClass__init_; jnci_UTF8Charset[c] = jnci_UTF8Charset__init_; ju_GregorianCalendar[c] = ju_GregorianCalendar__init_1; otjc_JSObjects[c] = otjc_JSObjects__init_; otjc_JSUndefined[c] = otjc_JSUndefined__init_; cjj_GZIPException[c] = cjj_GZIPException__init_; jnc_StandardCharsets[c] = jnc_StandardCharsets__init_; jnc_CharacterCodingException[c] = jnc_CharacterCodingException__init_; jl_Error[c] = jl_Error__init_0; jlr_Array[c] = jlr_Array__init_; jur_FSet$PossessiveFSet[c] = jur_FSet$PossessiveFSet__init_; ju_BitSet[c] = ju_BitSet__init_; jur_SOLSet[c] = jur_SOLSet__init_0; jur_PreviousMatch[c] = jur_PreviousMatch__init_; jur_EOISet[c] = jur_EOISet__init_; jur_DotAllSet[c] = jur_DotAllSet__init_; jl_StringBuffer[c] = jl_StringBuffer__init_; cjj_Adler32[c] = cjj_Adler32__init_0; jnci_AsciiCharset[c] = jnci_AsciiCharset__init_; jnci_Iso8859Charset[c] = jnci_Iso8859Charset__init_; jur_AbstractCharClass$PredefinedCharacterClasses[c] = jur_AbstractCharClass$PredefinedCharacterClasses__init_; jl_NumberFormatException[c] = jl_NumberFormatException__init_0; jur_AbstractLineTerminator$1[c] = jur_AbstractLineTerminator$1__init_; jur_AbstractLineTerminator$2[c] = jur_AbstractLineTerminator$2__init_; jur_AbstractCharClass$LazySpace[c] = jur_AbstractCharClass$LazySpace__init_; jur_AbstractCharClass$LazyDigit[c] = jur_AbstractCharClass$LazyDigit__init_; jur_AbstractCharClass$LazyLower[c] = jur_AbstractCharClass$LazyLower__init_; jur_AbstractCharClass$LazyUpper[c] = jur_AbstractCharClass$LazyUpper__init_; jur_AbstractCharClass$LazyASCII[c] = jur_AbstractCharClass$LazyASCII__init_; jur_AbstractCharClass$LazyAlpha[c] = jur_AbstractCharClass$LazyAlpha__init_; jur_AbstractCharClass$LazyAlnum[c] = jur_AbstractCharClass$LazyAlnum__init_; jur_AbstractCharClass$LazyPunct[c] = jur_AbstractCharClass$LazyPunct__init_; jur_AbstractCharClass$LazyGraph[c] = jur_AbstractCharClass$LazyGraph__init_; jur_AbstractCharClass$LazyPrint[c] = jur_AbstractCharClass$LazyPrint__init_; jur_AbstractCharClass$LazyBlank[c] = jur_AbstractCharClass$LazyBlank__init_; jur_AbstractCharClass$LazyCntrl[c] = jur_AbstractCharClass$LazyCntrl__init_; jur_AbstractCharClass$LazyXDigit[c] = jur_AbstractCharClass$LazyXDigit__init_; jur_AbstractCharClass$LazyJavaLowerCase[c] = jur_AbstractCharClass$LazyJavaLowerCase__init_; jur_AbstractCharClass$LazyJavaUpperCase[c] = jur_AbstractCharClass$LazyJavaUpperCase__init_; jur_AbstractCharClass$LazyJavaWhitespace[c] = jur_AbstractCharClass$LazyJavaWhitespace__init_; jur_AbstractCharClass$LazyJavaMirrored[c] = jur_AbstractCharClass$LazyJavaMirrored__init_; jur_AbstractCharClass$LazyJavaDefined[c] = jur_AbstractCharClass$LazyJavaDefined__init_; jur_AbstractCharClass$LazyJavaDigit[c] = jur_AbstractCharClass$LazyJavaDigit__init_; jur_AbstractCharClass$LazyJavaIdentifierIgnorable[c] = jur_AbstractCharClass$LazyJavaIdentifierIgnorable__init_; jur_AbstractCharClass$LazyJavaISOControl[c] = jur_AbstractCharClass$LazyJavaISOControl__init_; jur_AbstractCharClass$LazyJavaJavaIdentifierPart[c] = jur_AbstractCharClass$LazyJavaJavaIdentifierPart__init_; jur_AbstractCharClass$LazyJavaJavaIdentifierStart[c] = jur_AbstractCharClass$LazyJavaJavaIdentifierStart__init_; jur_AbstractCharClass$LazyJavaLetter[c] = jur_AbstractCharClass$LazyJavaLetter__init_; jur_AbstractCharClass$LazyJavaLetterOrDigit[c] = jur_AbstractCharClass$LazyJavaLetterOrDigit__init_; jur_AbstractCharClass$LazyJavaSpaceChar[c] = jur_AbstractCharClass$LazyJavaSpaceChar__init_; jur_AbstractCharClass$LazyJavaTitleCase[c] = jur_AbstractCharClass$LazyJavaTitleCase__init_; jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart[c] = jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart__init_; jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart[c] = jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart__init_; jur_AbstractCharClass$LazyWord[c] = jur_AbstractCharClass$LazyWord__init_; jur_AbstractCharClass$LazyNonWord[c] = jur_AbstractCharClass$LazyNonWord__init_; jur_AbstractCharClass$LazyNonSpace[c] = jur_AbstractCharClass$LazyNonSpace__init_; jur_AbstractCharClass$LazyNonDigit[c] = jur_AbstractCharClass$LazyNonDigit__init_; jur_AbstractCharClass$LazySpecialsBlock[c] = jur_AbstractCharClass$LazySpecialsBlock__init_; jl_NegativeArraySizeException[c] = jl_NegativeArraySizeException__init_; cjj_InfTree[c] = cjj_InfTree__init_; jl_CloneNotSupportedException[c] = jl_CloneNotSupportedException__init_; otcit_DateTimeZoneProvider[c] = otcit_DateTimeZoneProvider__init_; ju_PriorityQueue[c] = ju_PriorityQueue__init_; otcit_DateTimeZoneProvider$1[c] = otcit_DateTimeZoneProvider$1__init_; otcit_DateTimeZoneProvider$detectTimezone$lambda$_4_0[c] = otcit_DateTimeZoneProvider$detectTimezone$lambda$_4_0__init_; otciu_UnicodeHelper[c] = otciu_UnicodeHelper__init_; otci_Base46[c] = otci_Base46__init_; ju_Comparator$NaturalOrder[c] = ju_Comparator$NaturalOrder__init_; otcit_DateTimeZoneBuilder[c] = otcit_DateTimeZoneBuilder__init_; otcit_DateTimeZoneBuilder$RuleSet[c] = otcit_DateTimeZoneBuilder$RuleSet__init_; jl_StringIndexOutOfBoundsException[c] = jl_StringIndexOutOfBoundsException__init_0; jn_ReadOnlyBufferException[c] = jn_ReadOnlyBufferException__init_; jn_BufferOverflowException[c] = jn_BufferOverflowException__init_; jnc_BufferUnderflowException[c] = jnc_BufferUnderflowException__init_; jnc_BufferOverflowException[c] = jnc_BufferOverflowException__init_; ju_NoSuchElementException[c] = ju_NoSuchElementException__init_; jl_IllegalMonitorStateException[c] = jl_IllegalMonitorStateException__init_; jl_StackOverflowError[c] = jl_StackOverflowError__init_; jl_VirtualMachineError[c] = jl_VirtualMachineError__init_; jl_Object$Monitor[c] = jl_Object$Monitor__init_; jl_Thread[c] = jl_Thread__init_; cjj_GZIPHeader[c] = cjj_GZIPHeader__init_; ji_StringWriter[c] = ji_StringWriter__init_; jl_ThreadLocal[c] = jl_ThreadLocal__init_; nle_IntegratedServer[c] = nle_IntegratedServer__init_; nlesi_IPCPacket09RequestResponse[c] = nlesi_IPCPacket09RequestResponse__init_; nlesi_IPCPacket0CPlayerChannel[c] = nlesi_IPCPacket0CPlayerChannel__init_; nlesi_IPCPacket0DProgressUpdate[c] = nlesi_IPCPacket0DProgressUpdate__init_; nlesi_IPCPacket14StringList[c] = nlesi_IPCPacket14StringList__init_0; nlesi_IPCPacket15ThrowException[c] = nlesi_IPCPacket15ThrowException__init_; nlesi_IPCPacket16NBTList[c] = nlesi_IPCPacket16NBTList__init_; nlesi_IPCPacketFFProcessKeepAlive[c] = nlesi_IPCPacketFFProcessKeepAlive__init_; nms_RenderBlocks[c] = nms_RenderBlocks__init_; ju_Date[c] = ju_Date__init_; ji_UTFDataFormatException[c] = ji_UTFDataFormatException__init_; jl_DefaultUncaughtExceptionHandler[c] = jl_DefaultUncaughtExceptionHandler__init_; nms_AABBLocalPool[c] = nms_AABBLocalPool__init_; nle_RelayManager[c] = nle_RelayManager__init_; nle_IntegratedServerLAN[c] = nle_IntegratedServerLAN__init_; nlesrp_IPacket02NewClient[c] = nlesrp_IPacket02NewClient__init_; nlesrp_IPacket03ICECandidate[c] = nlesrp_IPacket03ICECandidate__init_; nlesrp_IPacket04Description[c] = nlesrp_IPacket04Description__init_; nlesrp_IPacket05ClientSuccess[c] = nlesrp_IPacket05ClientSuccess__init_; nlesrp_IPacket06ClientFailure[c] = nlesrp_IPacket06ClientFailure__init_; nlesrp_IPacketFFErrorCode[c] = nlesrp_IPacketFFErrorCode__init_; nlesi_IPCPacketManager[c] = nlesi_IPCPacketManager__init_; nlesi_IPCInputStream[c] = nlesi_IPCInputStream__init_; nle_IntegratedState[c] = nle_IntegratedState__init_; nlesrp_IPacket[c] = nlesrp_IPacket__init_; nlesi_IPCOutputStream[c] = nlesi_IPCOutputStream__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_0[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_0__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_1[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_1__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_2[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_2__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_3[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_3__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_4[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_4__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_5[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_5__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_6[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_6__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_7[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_7__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_8[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_8__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_9[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_9__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_10[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_10__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_11[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_11__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_12[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_12__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_13[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_13__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_14[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_14__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_15[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_15__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_16[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_16__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_17[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_17__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_18[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_18__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_19[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_19__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_20[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_20__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_21[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_21__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_22[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_22__init_; nlesi_IPCPacketManager$_clinit_$lambda$_27_23[c] = nlesi_IPCPacketManager$_clinit_$lambda$_27_23__init_; nms_MathHelper[c] = nms_MathHelper__init_; jm_Multiplication[c] = jm_Multiplication__init_; otcit_DoubleSynthesizer[c] = otcit_DoubleSynthesizer__init_; jm_Conversion[c] = jm_Conversion__init_; jm_Elementary[c] = jm_Elementary__init_; otcit_DoubleAnalyzer[c] = otcit_DoubleAnalyzer__init_; nleg_StreamBuffer$PoolInstance[c] = nleg_StreamBuffer$PoolInstance__init_; otcit_DoubleAnalyzer$Result[c] = otcit_DoubleAnalyzer$Result__init_; nlesrp_IPacket00Handshake[c] = nlesrp_IPacket00Handshake__init_; nlesrp_IPacket01ICEServers[c] = nlesrp_IPacket01ICEServers__init_; nlesrp_IPacket07LocalWorlds[c] = nlesrp_IPacket07LocalWorlds__init_; nlesrp_IPacket69Pong[c] = nlesrp_IPacket69Pong__init_; nlesrp_IPacketFEDisconnectClient[c] = nlesrp_IPacketFEDisconnectClient__init_; jl_ArrayIndexOutOfBoundsException[c] = jl_ArrayIndexOutOfBoundsException__init_; jn_BufferUnderflowException[c] = jn_BufferUnderflowException__init_; nle_BaseNCodec$Context[c] = nle_BaseNCodec$Context__init_; nms_RenderManager[c] = nms_RenderManager__init_; nms_MouseHelper[c] = nms_MouseHelper__init_; nms_GuiMainMenu[c] = nms_GuiMainMenu__init_0; nms_GuiChat[c] = nms_GuiChat__init_0; nms_GuiSleepMP[c] = nms_GuiSleepMP__init_; ju_ConcurrentModificationException[c] = ju_ConcurrentModificationException__init_; jl_ArithmeticException[c] = jl_ArithmeticException__init_; ju_WeakHashMap[c] = ju_WeakHashMap__init_; nms_OpenGlHelper[c] = nms_OpenGlHelper__init_; nms_TextureManager[c] = nms_TextureManager__init_; nms_IntHashMap[c] = nms_IntHashMap__init_0; nms_ChatAllowedCharacters[c] = nms_ChatAllowedCharacters__init_; nms_ColorizerGrass[c] = nms_ColorizerGrass__init_; nms_ColorizerFoliage[c] = nms_ColorizerFoliage__init_; nms_MouseFilter[c] = nms_MouseFilter__init_; nms_StatList[c] = nms_StatList__init_; nms_RenderCaveSpider[c] = nms_RenderCaveSpider__init_; nms_RenderSpider[c] = nms_RenderSpider__init_; nms_ModelPig[c] = nms_ModelPig__init_; nms_ModelSheep2[c] = nms_ModelSheep2__init_; nms_ModelSheep1[c] = nms_ModelSheep1__init_; nms_ModelCow[c] = nms_ModelCow__init_0; nms_ModelWolf[c] = nms_ModelWolf__init_0; nms_ModelChicken[c] = nms_ModelChicken__init_; nms_ModelOcelot[c] = nms_ModelOcelot__init_; nms_RenderSilverfish[c] = nms_RenderSilverfish__init_; nms_RenderCreeper[c] = nms_RenderCreeper__init_; nms_RenderEnderman[c] = nms_RenderEnderman__init_; nms_RenderSnowMan[c] = nms_RenderSnowMan__init_; nms_RenderSkeleton[c] = nms_RenderSkeleton__init_; nms_RenderWitch[c] = nms_RenderWitch__init_; nms_RenderBlaze[c] = nms_RenderBlaze__init_; nms_RenderZombie[c] = nms_RenderZombie__init_; nms_RenderMagmaCube[c] = nms_RenderMagmaCube__init_; nms_RenderPlayer[c] = nms_RenderPlayer__init_; nms_ModelZombie[c] = nms_ModelZombie__init_; nms_RenderGhast[c] = nms_RenderGhast__init_; nms_ModelSquid[c] = nms_ModelSquid__init_; nms_RenderVillager[c] = nms_RenderVillager__init_; nms_RenderIronGolem[c] = nms_RenderIronGolem__init_; nms_RenderBat[c] = nms_RenderBat__init_; nms_RenderDragon[c] = nms_RenderDragon__init_; nms_RenderEnderCrystal[c] = nms_RenderEnderCrystal__init_; nms_RenderWither[c] = nms_RenderWither__init_; nms_RenderEntity[c] = nms_RenderEntity__init_; nms_RenderPainting[c] = nms_RenderPainting__init_; nms_RenderItemFrame[c] = nms_RenderItemFrame__init_; nms_RenderLeashKnot[c] = nms_RenderLeashKnot__init_; nms_RenderArrow[c] = nms_RenderArrow__init_; nms_RenderWitherSkull[c] = nms_RenderWitherSkull__init_; nms_RenderItem[c] = nms_RenderItem__init_0; nms_RenderXPOrb[c] = nms_RenderXPOrb__init_; nms_RenderTNTPrimed[c] = nms_RenderTNTPrimed__init_; nms_RenderFallingSand[c] = nms_RenderFallingSand__init_; nms_RenderTntMinecart[c] = nms_RenderTntMinecart__init_; nms_RenderMinecartMobSpawner[c] = nms_RenderMinecartMobSpawner__init_; nms_RenderMinecart[c] = nms_RenderMinecart__init_; nms_RenderBoat[c] = nms_RenderBoat__init_; nms_RenderFish[c] = nms_RenderFish__init_; nms_ModelHorse[c] = nms_ModelHorse__init_; nms_RenderLightningBolt[c] = nms_RenderLightningBolt__init_; nms_AchievementList[c] = nms_AchievementList__init_; nms_RenderList[c] = nms_RenderList__init_0; nlesi_IPCPacket0BPause[c] = nlesi_IPCPacket0BPause__init_; nms_StatCollector[c] = nms_StatCollector__init_; nle_DefaultSkinRenderer[c] = nle_DefaultSkinRenderer__init_; nms_DataWatcher[c] = nms_DataWatcher__init_; nle_LANServerList[c] = nle_LANServerList__init_; jm_BitLevel[c] = jm_BitLevel__init_; nms_TexturePackDefault[c] = nms_TexturePackDefault__init_; nle_EaglerMisc[c] = nle_EaglerMisc__init_; nms_ModelSpider[c] = nms_ModelSpider__init_0; nms_ModelSilverfish[c] = nms_ModelSilverfish__init_0; nms_ModelCreeper[c] = nms_ModelCreeper__init_; nms_ModelEnderman[c] = nms_ModelEnderman__init_0; nms_ModelSnowMan[c] = nms_ModelSnowMan__init_; nms_ModelSkeleton[c] = nms_ModelSkeleton__init_0; nms_ModelBiped[c] = nms_ModelBiped__init_1; nms_ModelBlaze[c] = nms_ModelBlaze__init_0; nms_ModelZombieVillager[c] = nms_ModelZombieVillager__init_0; nms_ModelMagmaCube[c] = nms_ModelMagmaCube__init_0; nms_ModelGhast[c] = nms_ModelGhast__init_; nms_ModelIronGolem[c] = nms_ModelIronGolem__init_0; nms_ModelBat[c] = nms_ModelBat__init_0; nms_ModelWither[c] = nms_ModelWither__init_0; nms_ModelLeashKnot[c] = nms_ModelLeashKnot__init_; nms_ModelSkeletonHead[c] = nms_ModelSkeletonHead__init_0; nms_ModelMinecart[c] = nms_ModelMinecart__init_; nms_ModelBoat[c] = nms_ModelBoat__init_0; nms_ItemStack[c] = nms_ItemStack__init_6; nms_PlayerCapabilities[c] = nms_PlayerCapabilities__init_; nms_EntityList[c] = nms_EntityList__init_; nlesi_IPCPacket00StartServer[c] = nlesi_IPCPacket00StartServer__init_; nlesi_IPCPacket01StopServer[c] = nlesi_IPCPacket01StopServer__init_; nlesi_IPCPacket02InitWorld[c] = nlesi_IPCPacket02InitWorld__init_; nlesi_IPCPacket03DeleteWorld[c] = nlesi_IPCPacket03DeleteWorld__init_; nlesi_IPCPacket04RenameWorld[c] = nlesi_IPCPacket04RenameWorld__init_; nlesi_IPCPacket05RequestData[c] = nlesi_IPCPacket05RequestData__init_; nlesi_IPCPacket06RenameWorldNBT[c] = nlesi_IPCPacket06RenameWorldNBT__init_; nlesi_IPCPacket07ImportWorld[c] = nlesi_IPCPacket07ImportWorld__init_; nlesi_IPCPacket0ASetWorldDifficulty[c] = nlesi_IPCPacket0ASetWorldDifficulty__init_; nlesi_IPCPacket0EListWorlds[c] = nlesi_IPCPacket0EListWorlds__init_; nlesi_IPCPacket0FListFiles[c] = nlesi_IPCPacket0FListFiles__init_; nlesi_IPCPacket10FileRead[c] = nlesi_IPCPacket10FileRead__init_; nlesi_IPCPacket12FileWrite[c] = nlesi_IPCPacket12FileWrite__init_; nlesi_IPCPacket13FileCopyMove[c] = nlesi_IPCPacket13FileCopyMove__init_; nlesi_IPCPacket18ClearPlayers[c] = nlesi_IPCPacket18ClearPlayers__init_; nlesi_IPCPacket17ConfigureLAN[c] = nlesi_IPCPacket17ConfigureLAN__init_; jlr_ReferenceQueue[c] = jlr_ReferenceQueue__init_; ji_UnsupportedEncodingException[c] = ji_UnsupportedEncodingException__init_; ju_Properties[c] = ju_Properties__init_; ju_TreeMap[c] = ju_TreeMap__init_; nms_TileEntitySign[c] = nms_TileEntitySign__init_; jt_DecimalFormat[c] = jt_DecimalFormat__init_0; ju_LinkedHashMap[c] = ju_LinkedHashMap__init_0; nms_EntityList$_clinit_$lambda$_63_0[c] = nms_EntityList$_clinit_$lambda$_63_0__init_; nms_EntityList$_clinit_$lambda$_63_1[c] = nms_EntityList$_clinit_$lambda$_63_1__init_; nms_EntityList$_clinit_$lambda$_63_2[c] = nms_EntityList$_clinit_$lambda$_63_2__init_; nms_EntityList$_clinit_$lambda$_63_3[c] = nms_EntityList$_clinit_$lambda$_63_3__init_; nms_EntityList$_clinit_$lambda$_63_4[c] = nms_EntityList$_clinit_$lambda$_63_4__init_; nms_EntityList$_clinit_$lambda$_63_5[c] = nms_EntityList$_clinit_$lambda$_63_5__init_; nms_EntityList$_clinit_$lambda$_63_6[c] = nms_EntityList$_clinit_$lambda$_63_6__init_; nms_EntityList$_clinit_$lambda$_63_7[c] = nms_EntityList$_clinit_$lambda$_63_7__init_; nms_EntityList$_clinit_$lambda$_63_8[c] = nms_EntityList$_clinit_$lambda$_63_8__init_; nms_EntityList$_clinit_$lambda$_63_9[c] = nms_EntityList$_clinit_$lambda$_63_9__init_; nms_EntityList$_clinit_$lambda$_63_10[c] = nms_EntityList$_clinit_$lambda$_63_10__init_; nms_EntityList$_clinit_$lambda$_63_11[c] = nms_EntityList$_clinit_$lambda$_63_11__init_; nms_EntityList$_clinit_$lambda$_63_12[c] = nms_EntityList$_clinit_$lambda$_63_12__init_; nms_EntityList$_clinit_$lambda$_63_13[c] = nms_EntityList$_clinit_$lambda$_63_13__init_; nms_EntityList$_clinit_$lambda$_63_14[c] = nms_EntityList$_clinit_$lambda$_63_14__init_; nms_EntityList$_clinit_$lambda$_63_15[c] = nms_EntityList$_clinit_$lambda$_63_15__init_; nms_EntityList$_clinit_$lambda$_63_16[c] = nms_EntityList$_clinit_$lambda$_63_16__init_; nms_EntityList$_clinit_$lambda$_63_17[c] = nms_EntityList$_clinit_$lambda$_63_17__init_; nms_EntityList$_clinit_$lambda$_63_18[c] = nms_EntityList$_clinit_$lambda$_63_18__init_; nms_EntityList$_clinit_$lambda$_63_19[c] = nms_EntityList$_clinit_$lambda$_63_19__init_; nms_EntityList$_clinit_$lambda$_63_20[c] = nms_EntityList$_clinit_$lambda$_63_20__init_; nms_EntityList$_clinit_$lambda$_63_21[c] = nms_EntityList$_clinit_$lambda$_63_21__init_; nms_EntityList$_clinit_$lambda$_63_22[c] = nms_EntityList$_clinit_$lambda$_63_22__init_; nms_EntityList$_clinit_$lambda$_63_23[c] = nms_EntityList$_clinit_$lambda$_63_23__init_; nms_EntityList$_clinit_$lambda$_63_24[c] = nms_EntityList$_clinit_$lambda$_63_24__init_; nms_EntityList$_clinit_$lambda$_63_25[c] = nms_EntityList$_clinit_$lambda$_63_25__init_; nms_EntityList$_clinit_$lambda$_63_26[c] = nms_EntityList$_clinit_$lambda$_63_26__init_; nms_EntityList$_clinit_$lambda$_63_27[c] = nms_EntityList$_clinit_$lambda$_63_27__init_; nms_EntityList$_clinit_$lambda$_63_28[c] = nms_EntityList$_clinit_$lambda$_63_28__init_; nms_EntityList$_clinit_$lambda$_63_29[c] = nms_EntityList$_clinit_$lambda$_63_29__init_; nms_EntityList$_clinit_$lambda$_63_30[c] = nms_EntityList$_clinit_$lambda$_63_30__init_; nms_EntityList$_clinit_$lambda$_63_31[c] = nms_EntityList$_clinit_$lambda$_63_31__init_; nms_EntityList$_clinit_$lambda$_63_32[c] = nms_EntityList$_clinit_$lambda$_63_32__init_; nms_EntityList$_clinit_$lambda$_63_33[c] = nms_EntityList$_clinit_$lambda$_63_33__init_; nms_EntityList$_clinit_$lambda$_63_34[c] = nms_EntityList$_clinit_$lambda$_63_34__init_; nms_EntityList$_clinit_$lambda$_63_35[c] = nms_EntityList$_clinit_$lambda$_63_35__init_; nms_EntityList$_clinit_$lambda$_63_36[c] = nms_EntityList$_clinit_$lambda$_63_36__init_; nms_EntityList$_clinit_$lambda$_63_37[c] = nms_EntityList$_clinit_$lambda$_63_37__init_; nms_EntityList$_clinit_$lambda$_63_38[c] = nms_EntityList$_clinit_$lambda$_63_38__init_; nms_EntityList$_clinit_$lambda$_63_39[c] = nms_EntityList$_clinit_$lambda$_63_39__init_; nms_EntityList$_clinit_$lambda$_63_40[c] = nms_EntityList$_clinit_$lambda$_63_40__init_; nms_EntityList$_clinit_$lambda$_63_41[c] = nms_EntityList$_clinit_$lambda$_63_41__init_; nms_EntityList$_clinit_$lambda$_63_42[c] = nms_EntityList$_clinit_$lambda$_63_42__init_; nms_EntityList$_clinit_$lambda$_63_43[c] = nms_EntityList$_clinit_$lambda$_63_43__init_; nms_EntityList$_clinit_$lambda$_63_44[c] = nms_EntityList$_clinit_$lambda$_63_44__init_; nms_EntityList$_clinit_$lambda$_63_45[c] = nms_EntityList$_clinit_$lambda$_63_45__init_; nms_EntityList$_clinit_$lambda$_63_46[c] = nms_EntityList$_clinit_$lambda$_63_46__init_; nms_EntityList$_clinit_$lambda$_63_47[c] = nms_EntityList$_clinit_$lambda$_63_47__init_; nms_EntityList$_clinit_$lambda$_63_48[c] = nms_EntityList$_clinit_$lambda$_63_48__init_; nms_EntityList$_clinit_$lambda$_63_49[c] = nms_EntityList$_clinit_$lambda$_63_49__init_; nms_EntityList$_clinit_$lambda$_63_50[c] = nms_EntityList$_clinit_$lambda$_63_50__init_; nms_EntityList$_clinit_$lambda$_63_51[c] = nms_EntityList$_clinit_$lambda$_63_51__init_; nms_EntityList$_clinit_$lambda$_63_52[c] = nms_EntityList$_clinit_$lambda$_63_52__init_; nms_StatTypeSimple[c] = nms_StatTypeSimple__init_; nms_StatTypeTime[c] = nms_StatTypeTime__init_; nms_StatTypeDistance[c] = nms_StatTypeDistance__init_; nms_StatTypeFloat[c] = nms_StatTypeFloat__init_; nms_PotionHelper[c] = nms_PotionHelper__init_; nlegv_Vector2f[c] = nlegv_Vector2f__init_; ju_Hashtable[c] = ju_Hashtable__init_0; nms_ChunkCoordinates[c] = nms_ChunkCoordinates__init_; nms_TileEntity[c] = nms_TileEntity__init_; nms_BehaviorDefaultDispenseItem[c] = nms_BehaviorDefaultDispenseItem__init_; jt_DecimalFormatSymbols[c] = jt_DecimalFormatSymbols__init_; nms_BehaviorDispenseArmor[c] = nms_BehaviorDispenseArmor__init_; nms_BehaviorDispenseMinecart[c] = nms_BehaviorDispenseMinecart__init_; nms_CraftingManager[c] = nms_CraftingManager__init_; nms_FurnaceRecipes[c] = nms_FurnaceRecipes__init_; nleg_StreamBuffer$StreamBufferInstance[c] = nleg_StreamBuffer$StreamBufferInstance__init_; nle_JDKBackports[c] = nle_JDKBackports__init_; nms_SharedMonsterAttributes[c] = nms_SharedMonsterAttributes__init_; ju_Hashtable$1[c] = ju_Hashtable$1__init_; ju_Hashtable$2[c] = ju_Hashtable$2__init_; nms_RegistrySimple[c] = nms_RegistrySimple__init_; nms_RecipesTools[c] = nms_RecipesTools__init_; nms_RecipesWeapons[c] = nms_RecipesWeapons__init_; nms_RecipesIngots[c] = nms_RecipesIngots__init_; nms_RecipesFood[c] = nms_RecipesFood__init_; nms_RecipesCrafting[c] = nms_RecipesCrafting__init_; nms_RecipesArmor[c] = nms_RecipesArmor__init_; nms_RecipesDyes[c] = nms_RecipesDyes__init_; nms_RecipesArmorDyes[c] = nms_RecipesArmorDyes__init_; nms_RecipesMapCloning[c] = nms_RecipesMapCloning__init_; nms_RecipesMapExtending[c] = nms_RecipesMapExtending__init_; nms_RecipeFireworks[c] = nms_RecipeFireworks__init_; otcic_CurrencyHelper[c] = otcic_CurrencyHelper__init_; ju_Collections[c] = ju_Collections__init_; ju_Collections$1[c] = ju_Collections$1__init_; ju_Collections$2[c] = ju_Collections$2__init_; ju_Collections$3[c] = ju_Collections$3__init_; ju_Collections$4[c] = ju_Collections$4__init_; ju_Collections$5[c] = ju_Collections$5__init_; ju_Collections$_clinit_$lambda$_59_0[c] = ju_Collections$_clinit_$lambda$_59_0__init_; nms_TileEntitySkull[c] = nms_TileEntitySkull__init_; nms_GuiGameOver[c] = nms_GuiGameOver__init_0; nms_GuiIngameMenu[c] = nms_GuiIngameMenu__init_0; nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0[c] = nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0__init_; jt_DecimalFormatParser[c] = jt_DecimalFormatParser__init_; nms_RenderHelper[c] = nms_RenderHelper__init_; ju_Formatter[c] = ju_Formatter__init_; ju_IllegalFormatException[c] = ju_IllegalFormatException__init_; ju_LinkedList$Entry[c] = ju_LinkedList$Entry__init_; nms_BossStatus[c] = nms_BossStatus__init_; nleav_SYS[c] = nleav_SYS__init_; nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_0[c] = nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_0__init_; nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_1[c] = nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_1__init_; ju_FormatterClosedException[c] = ju_FormatterClosedException__init_; nleav_VirtualFilesystem$AsyncHandlers[c] = nleav_VirtualFilesystem$AsyncHandlers__init_; nms_WorldGenSwamp[c] = nms_WorldGenSwamp__init_; ju_IdentityHashMap[c] = ju_IdentityHashMap__init_; nms_WorldGenBigMushroom[c] = nms_WorldGenBigMushroom__init_; nms_WorldGenReed[c] = nms_WorldGenReed__init_; nms_WorldGenCactus[c] = nms_WorldGenCactus__init_; nms_WorldGenWaterlily[c] = nms_WorldGenWaterlily__init_; jlr_Modifier[c] = jlr_Modifier__init_; jl_IllegalAccessException[c] = jl_IllegalAccessException__init_; jl_ReflectiveOperationException[c] = jl_ReflectiveOperationException__init_; jlr_InvocationTargetException[c] = jlr_InvocationTargetException__init_; jlr_AccessibleObject[c] = jlr_AccessibleObject__init_; jl_SecurityException[c] = jl_SecurityException__init_; jl_NoSuchMethodException[c] = jl_NoSuchMethodException__init_; nms_WorldInfo[c] = nms_WorldInfo__init_0; nms_Frustrum[c] = nms_Frustrum__init_; nms_Scoreboard[c] = nms_Scoreboard__init_; nms_Packet204ClientInfo[c] = nms_Packet204ClientInfo__init_; nms_Packet250CustomPayload[c] = nms_Packet250CustomPayload__init_0; nms_MovementInput[c] = nms_MovementInput__init_; nms_Packet2ClientProtocol[c] = nms_Packet2ClientProtocol__init_0; jt_DecimalFormat$MinusField[c] = jt_DecimalFormat$MinusField__init_; nms_ActiveRenderInfo[c] = nms_ActiveRenderInfo__init_; nms_ClippingHelperImpl[c] = nms_ClippingHelperImpl__init_; nms_ClippingHelper[c] = nms_ClippingHelper__init_; nms_FoodStats[c] = nms_FoodStats__init_; nms_Direction[c] = nms_Direction__init_; nlea_EaglerAdapterImpl2$18[c] = nlea_EaglerAdapterImpl2$18__init_; nms_MapStorage[c] = nms_MapStorage__init_0; nms_Facing[c] = nms_Facing__init_; nms_EnchantmentHelper[c] = nms_EnchantmentHelper__init_; jl_OutOfMemoryError[c] = jl_OutOfMemoryError__init_; jl_AbstractStringBuilder$Constants[c] = jl_AbstractStringBuilder$Constants__init_; otcit_FloatAnalyzer[c] = otcit_FloatAnalyzer__init_; otcit_FloatAnalyzer$Result[c] = otcit_FloatAnalyzer$Result__init_; jl_SystemClassLoader[c] = jl_SystemClassLoader__init_; nms_EnchantmentModifierDamage[c] = nms_EnchantmentModifierDamage__init_; nms_EnchantmentModifierLiving[c] = nms_EnchantmentModifierLiving__init_; nms_ScoreComparator[c] = nms_ScoreComparator__init_; nms_Packet0KeepAlive[c] = nms_Packet0KeepAlive__init_; nms_Packet1Login[c] = nms_Packet1Login__init_; nms_Packet4UpdateTime[c] = nms_Packet4UpdateTime__init_; nms_Packet5PlayerInventory[c] = nms_Packet5PlayerInventory__init_; nms_Packet6SpawnPosition[c] = nms_Packet6SpawnPosition__init_; nms_Packet7UseEntity[c] = nms_Packet7UseEntity__init_; nms_Packet8UpdateHealth[c] = nms_Packet8UpdateHealth__init_; nms_Packet9Respawn[c] = nms_Packet9Respawn__init_; nms_Packet10Flying[c] = nms_Packet10Flying__init_; nms_Packet11PlayerPosition[c] = nms_Packet11PlayerPosition__init_; nms_Packet12PlayerLook[c] = nms_Packet12PlayerLook__init_; nms_Packet13PlayerLookMove[c] = nms_Packet13PlayerLookMove__init_; nms_Packet14BlockDig[c] = nms_Packet14BlockDig__init_; nms_Packet15Place[c] = nms_Packet15Place__init_; nms_Packet16BlockItemSwitch[c] = nms_Packet16BlockItemSwitch__init_; nms_Packet17Sleep[c] = nms_Packet17Sleep__init_; nms_Packet18Animation[c] = nms_Packet18Animation__init_; nms_Packet19EntityAction[c] = nms_Packet19EntityAction__init_; nms_Packet20NamedEntitySpawn[c] = nms_Packet20NamedEntitySpawn__init_; nms_Packet22Collect[c] = nms_Packet22Collect__init_; nms_Packet23VehicleSpawn[c] = nms_Packet23VehicleSpawn__init_; nms_Packet24MobSpawn[c] = nms_Packet24MobSpawn__init_; nms_Packet25EntityPainting[c] = nms_Packet25EntityPainting__init_; nms_Packet26EntityExpOrb[c] = nms_Packet26EntityExpOrb__init_; nms_Packet27PlayerInput[c] = nms_Packet27PlayerInput__init_; nms_Packet28EntityVelocity[c] = nms_Packet28EntityVelocity__init_; nms_Packet29DestroyEntity[c] = nms_Packet29DestroyEntity__init_; nms_Packet30Entity[c] = nms_Packet30Entity__init_; nms_Packet31RelEntityMove[c] = nms_Packet31RelEntityMove__init_; nms_Packet32EntityLook[c] = nms_Packet32EntityLook__init_; nms_Packet33RelEntityMoveLook[c] = nms_Packet33RelEntityMoveLook__init_; nms_Packet34EntityTeleport[c] = nms_Packet34EntityTeleport__init_; nms_Packet35EntityHeadRotation[c] = nms_Packet35EntityHeadRotation__init_; nms_Packet38EntityStatus[c] = nms_Packet38EntityStatus__init_; nms_Packet39AttachEntity[c] = nms_Packet39AttachEntity__init_; nms_Packet40EntityMetadata[c] = nms_Packet40EntityMetadata__init_; nms_Packet41EntityEffect[c] = nms_Packet41EntityEffect__init_; nms_Packet42RemoveEntityEffect[c] = nms_Packet42RemoveEntityEffect__init_; nms_Packet43Experience[c] = nms_Packet43Experience__init_; nms_Packet44UpdateAttributes[c] = nms_Packet44UpdateAttributes__init_; nms_Packet51MapChunk[c] = nms_Packet51MapChunk__init_; nms_Packet52MultiBlockChange[c] = nms_Packet52MultiBlockChange__init_; nms_Packet53BlockChange[c] = nms_Packet53BlockChange__init_; nms_Packet54PlayNoteBlock[c] = nms_Packet54PlayNoteBlock__init_; nms_Packet55BlockDestroy[c] = nms_Packet55BlockDestroy__init_; nms_Packet56MapChunks[c] = nms_Packet56MapChunks__init_; nms_Packet60Explosion[c] = nms_Packet60Explosion__init_; nms_Packet61DoorChange[c] = nms_Packet61DoorChange__init_; nms_Packet62LevelSound[c] = nms_Packet62LevelSound__init_; nms_Packet63WorldParticles[c] = nms_Packet63WorldParticles__init_; nms_Packet70GameEvent[c] = nms_Packet70GameEvent__init_; nms_Packet71Weather[c] = nms_Packet71Weather__init_; nms_Packet100OpenWindow[c] = nms_Packet100OpenWindow__init_; nms_Packet101CloseWindow[c] = nms_Packet101CloseWindow__init_; nms_Packet102WindowClick[c] = nms_Packet102WindowClick__init_; nms_Packet103SetSlot[c] = nms_Packet103SetSlot__init_; nms_Packet104WindowItems[c] = nms_Packet104WindowItems__init_; nms_Packet105UpdateProgressbar[c] = nms_Packet105UpdateProgressbar__init_; nms_Packet106Transaction[c] = nms_Packet106Transaction__init_; nms_Packet107CreativeSetSlot[c] = nms_Packet107CreativeSetSlot__init_; nms_Packet108EnchantItem[c] = nms_Packet108EnchantItem__init_; nms_Packet130UpdateSign[c] = nms_Packet130UpdateSign__init_; nms_Packet131MapData[c] = nms_Packet131MapData__init_; nms_Packet132TileEntityData[c] = nms_Packet132TileEntityData__init_; nms_Packet133TileEditorOpen[c] = nms_Packet133TileEditorOpen__init_; nms_Packet200Statistic[c] = nms_Packet200Statistic__init_; nms_Packet201PlayerInfo[c] = nms_Packet201PlayerInfo__init_; nms_Packet202PlayerAbilities[c] = nms_Packet202PlayerAbilities__init_; nms_Packet203AutoComplete[c] = nms_Packet203AutoComplete__init_; nms_Packet205ClientCommand[c] = nms_Packet205ClientCommand__init_; nms_Packet206SetObjective[c] = nms_Packet206SetObjective__init_; nms_Packet207SetScore[c] = nms_Packet207SetScore__init_; nms_Packet208SetDisplayObjective[c] = nms_Packet208SetDisplayObjective__init_; nms_Packet209SetPlayerTeam[c] = nms_Packet209SetPlayerTeam__init_; nms_Packet252SharedKey[c] = nms_Packet252SharedKey__init_; nms_Packet253ServerAuthData[c] = nms_Packet253ServerAuthData__init_; nms_Packet254ServerPing[c] = nms_Packet254ServerPing__init_; nms_Packet255KickDisconnect[c] = nms_Packet255KickDisconnect__init_; nms_StringUtils[c] = nms_StringUtils__init_; nlea_EaglerAdapterImpl2$22[c] = nlea_EaglerAdapterImpl2$22__init_; otr_RuntimeObject[c] = otr_RuntimeObject__init_; ju_Random[c] = ju_Random__init_; otjc_JSMap[c] = otjc_JSMap__init_; otjc_JSWeakMap[c] = otjc_JSWeakMap__init_; otr_RuntimeClass[c] = otr_RuntimeClass__init_; jt_DateFormatElement$TrieNode[c] = jt_DateFormatElement$TrieNode__init_; nms_TileEntityRenderer[c] = nms_TileEntityRenderer__init_; nms_WorldChunkManager[c] = nms_WorldChunkManager__init_; nms_MinecraftError[c] = nms_MinecraftError__init_; jt_DecimalFormat$PerMillField[c] = jt_DecimalFormat$PerMillField__init_; jt_DecimalFormat$CurrencyField[c] = jt_DecimalFormat$CurrencyField__init_; jt_DecimalFormat$PercentField[c] = jt_DecimalFormat$PercentField__init_; oti_Structure[c] = oti_Structure__init_; otcir_Flags[c] = otcir_Flags__init_; otcir_Converter[c] = otcir_Converter__init_; nms_TileEntitySignRenderer[c] = nms_TileEntitySignRenderer__init_; nms_TileEntityMobSpawner[c] = nms_TileEntityMobSpawner__init_; nms_TileEntityMobSpawnerRenderer[c] = nms_TileEntityMobSpawnerRenderer__init_; nms_TileEntityPiston[c] = nms_TileEntityPiston__init_; nms_TileEntityRendererPiston[c] = nms_TileEntityRendererPiston__init_; nms_TileEntityChest[c] = nms_TileEntityChest__init_; nms_TileEntityChestRenderer[c] = nms_TileEntityChestRenderer__init_; nms_TileEntityEnderChest[c] = nms_TileEntityEnderChest__init_; nms_TileEntityEnderChestRenderer[c] = nms_TileEntityEnderChestRenderer__init_; nms_TileEntityEnchantmentTable[c] = nms_TileEntityEnchantmentTable__init_; nms_RenderEnchantmentTable[c] = nms_RenderEnchantmentTable__init_; nms_TileEntityEndPortal[c] = nms_TileEntityEndPortal__init_; nms_RenderEndPortal[c] = nms_RenderEndPortal__init_; nms_TileEntityBeacon[c] = nms_TileEntityBeacon__init_; nms_TileEntityBeaconRenderer[c] = nms_TileEntityBeaconRenderer__init_; nms_TileEntitySkullRenderer[c] = nms_TileEntitySkullRenderer__init_; nms_ModelSign[c] = nms_ModelSign__init_; nms_ModelChest[c] = nms_ModelChest__init_; nms_ModelLargeChest[c] = nms_ModelLargeChest__init_; nms_ModelBook[c] = nms_ModelBook__init_0; nms_GuiMainMenu$actionPerformed$lambda$_7_0[c] = nms_GuiMainMenu$actionPerformed$lambda$_7_0__init_; nms_ChestItemRenderHelper[c] = nms_ChestItemRenderHelper__init_; jm_Division[c] = jm_Division__init_; jl_StrictMath[c] = jl_StrictMath__init_; jt_DecimalFormat$Constants[c] = jt_DecimalFormat$Constants__init_; nms_PacketCount[c] = nms_PacketCount__init_; jn_InvalidMarkException[c] = jn_InvalidMarkException__init_; nms_TileEntityFurnace[c] = nms_TileEntityFurnace__init_; nms_TileEntityRecordPlayer[c] = nms_TileEntityRecordPlayer__init_; nms_TileEntityDispenser[c] = nms_TileEntityDispenser__init_; nms_TileEntityDropper[c] = nms_TileEntityDropper__init_0; nms_TileEntityNote[c] = nms_TileEntityNote__init_; nms_TileEntityBrewingStand[c] = nms_TileEntityBrewingStand__init_; nms_TileEntityCommandBlock[c] = nms_TileEntityCommandBlock__init_; nms_TileEntityDaylightDetector[c] = nms_TileEntityDaylightDetector__init_; nms_TileEntityHopper[c] = nms_TileEntityHopper__init_; nms_TileEntityComparator[c] = nms_TileEntityComparator__init_; nlea_EaglerAdapterImpl2$32[c] = nlea_EaglerAdapterImpl2$32__init_; nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl[c] = nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl__init_; jl_InstantiationException[c] = jl_InstantiationException__init_; nms_GameRules[c] = nms_GameRules__init_0; nms_GuiSelectWorld$confirmClicked$lambda$_9_0[c] = nms_GuiSelectWorld$confirmClicked$lambda$_9_0__init_; juz_Inflater[c] = juz_Inflater__init_; nms_GuiRenameWorld$actionPerformed$lambda$_5_0[c] = nms_GuiRenameWorld$actionPerformed$lambda$_5_0__init_; juz_DataFormatException[c] = juz_DataFormatException__init_; nms_LongHashMap[c] = nms_LongHashMap__init_; juz_CRC32[c] = juz_CRC32__init_; nlea_EaglerAdapterImpl2$34[c] = nlea_EaglerAdapterImpl2$34__init_; nlea_EaglerAdapterImpl2$35[c] = nlea_EaglerAdapterImpl2$35__init_; nlea_EaglerAdapterImpl2$36[c] = nlea_EaglerAdapterImpl2$36__init_; nlea_EaglerAdapterImpl2$37[c] = nlea_EaglerAdapterImpl2$37__init_; nlea_EaglerAdapterImpl2$38[c] = nlea_EaglerAdapterImpl2$38__init_; nms_GuiWinGame[c] = nms_GuiWinGame__init_; nms_Minecraft$launchIntegratedServer$lambda$_27_0[c] = nms_Minecraft$launchIntegratedServer$lambda$_27_0__init_; juz_ZipException[c] = juz_ZipException__init_; nle_GuiScreenNameWorldImport$updateScreen$lambda$_1_0[c] = nle_GuiScreenNameWorldImport$updateScreen$lambda$_1_0__init_; nms_MerchantRecipeList[c] = nms_MerchantRecipeList__init_; nms_WorldProviderSurface[c] = nms_WorldProviderSurface__init_; nms_EnumOptionsHelper[c] = nms_EnumOptionsHelper__init_; nms_WorldProviderHell[c] = nms_WorldProviderHell__init_; nms_WorldProviderEnd[c] = nms_WorldProviderEnd__init_; nms_InventoryEnderChest[c] = nms_InventoryEnderChest__init_; nms_FlatGeneratorInfo[c] = nms_FlatGeneratorInfo__init_; nms_InventoryCraftResult[c] = nms_InventoryCraftResult__init_; nms_EntityAITasks[c] = nms_EntityAITasks__init_0; nms_EntityWitherAttackFilter[c] = nms_EntityWitherAttackFilter__init_; nms_EntityHorseBredSelector[c] = nms_EntityHorseBredSelector__init_; nms_FilterIMob[c] = nms_FilterIMob__init_; nms_Village[c] = nms_Village__init_; nms_ServersideAttributeMap[c] = nms_ServersideAttributeMap__init_0; nms_LowerStringMap[c] = nms_LowerStringMap__init_; cjj_Deflater[c] = cjj_Deflater__init_; cjj_Tree[c] = cjj_Tree__init_; nms_EntityZombieINNER1[c] = nms_EntityZombieINNER1__init_; nms_SpiderEffectsGroupData[c] = nms_SpiderEffectsGroupData__init_; nms_EnchantmentNameParts[c] = nms_EnchantmentNameParts__init_; nms_WeightedRandom[c] = nms_WeightedRandom__init_; nms_EntitySelectorAlive[c] = nms_EntitySelectorAlive__init_; nms_EntitySelectorInventory[c] = nms_EntitySelectorInventory__init_; nms_Path[c] = nms_Path__init_; nms_IntCache[c] = nms_IntCache__init_; nms_RandomPositionGenerator[c] = nms_RandomPositionGenerator__init_; }, otp_Platform_newInstanceImpl = var$1 => { let thread = $rt_nativeThread(); if ($rt_resuming()) { let r = thread.pop(); var$1.$$constructor$$(r); if ($rt_suspending()) { return thread.push(r); } return r; } if (!var$1.hasOwnProperty("$$constructor$$")) { return null; } let r = new var$1(); var$1.$$constructor$$(r); if ($rt_suspending()) { thread.push(r); } return r; }, otp_Platform_launchThread = var$1 => { var$1.$run(); }, otp_Platform_schedule = (var$1, var$2) => { setTimeout(() => { otp_Platform_launchThread(var$1); }, var$2); }, otp_Platform_isPrimitive = var$1 => { return var$1.$meta.primitive ? 1 : 0; }, otp_Platform_getName = $cls => { return $rt_str($cls.$meta.name); }, otp_Platform_createQueueJs$js_body$_30 = () => { return []; }; function jl_Throwable() { let a = this; jl_Object.call(a); a.$message = null; a.$cause = null; a.$suppressionEnabled = 0; a.$writableStackTrace = 0; a.$suppressed = null; a.$stackTrace0 = null; } let jl_Throwable__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_Throwable__init_4 = () => { let var_0 = new jl_Throwable(); jl_Throwable__init_(var_0); return var_0; }, jl_Throwable__init_1 = ($this, $message) => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; $this.$message = $message; }, jl_Throwable__init_3 = var_0 => { let var_1 = new jl_Throwable(); jl_Throwable__init_1(var_1, var_0); return var_1; }, jl_Throwable__init_0 = ($this, $message, $cause) => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; $this.$message = $message; $this.$cause = $cause; }, jl_Throwable__init_2 = (var_0, var_1) => { let var_2 = new jl_Throwable(); jl_Throwable__init_0(var_2, var_0, var_1); return var_2; }, jl_Throwable_fillInStackTrace = $this => { return $this; }, jl_Throwable_getMessage = $this => { return $this.$message; }, jl_Throwable_getLocalizedMessage = $this => { return $this.$getMessage(); }, jl_Throwable_getCause = $this => { let var$1; var$1 = $this.$cause; if (var$1 === $this) var$1 = null; return var$1; }, jl_Throwable_toString = $this => { let $message, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; $message = $this.$getMessage(); var$2 = $this.constructor; if (var$2 === null) var$3 = null; else { var$3 = var$2.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$2; var$2.classObject = var$3; } } if (var$3.$name1 === null) var$3.$name1 = $rt_str(var$3.$platformClass.$meta.name); var$3 = var$3.$name1; if ($message === null) var$2 = $rt_s(18); else { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $message); var$2 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; var$7 = var$4.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$9 = var$4.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$9, var$3); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); var$2 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; var$7 = var$4.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); return var$2; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, jl_Throwable_printStackTrace0 = $this => { let var$1, var$2; if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } jl_Throwable_printStackTrace($this, jl_System_errCache); }, jl_Throwable_printStackTrace = ($this, $stream) => { let var$2, $message, var$4, var$5, var$6, var$7, var$8, var$9, $element; var$2 = $this.constructor; if (var$2 === null) $message = null; else { $message = var$2.classObject; if ($message === null) { $message = new jl_Class; $message.$platformClass = var$2; var$2.classObject = $message; } } if ($message.$name1 === null) $message.$name1 = $rt_str($message.$platformClass.$meta.name); var$2 = $message.$name1; if (var$2 === null) var$2 = $rt_s(1); $rt_putStderr($rt_ustr(var$2)); $message = $this.$getMessage(); if ($message !== null) { var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $message); var$4 = new jl_String; var$5 = var$2.$buffer; var$6 = var$5.data; var$7 = var$2.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); $rt_putStderr($rt_ustr(var$4)); } else { $stream = new jl_IndexOutOfBoundsException; $stream.$suppressionEnabled = 1; $stream.$writableStackTrace = 1; $rt_throw($stream); } } a: { $rt_putStderr("\n"); var$5 = $this.$stackTrace0; if (var$5 !== null) { var$5 = var$5.data; var$9 = var$5.length; var$7 = 0; while (true) { if (var$7 >= var$9) break a; $element = var$5[var$7]; $rt_putStderr("\tat "); var$2 = $rt_s(1); if ($element !== null) var$2 = $element.$toString(); if (var$2 === null) var$2 = $rt_s(1); $rt_putStderr($rt_ustr(var$2)); $rt_putStderr("\n"); var$7 = var$7 + 1 | 0; } } } var$2 = $this.$cause; if (var$2 !== null && var$2 !== $this) { $rt_putStderr("Caused by: "); jl_Throwable_printStackTrace($this.$cause, $stream); } }, jl_Throwable_addSuppressed = ($this, $exception) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; if (!$this.$suppressionEnabled) return; var$2 = $this.$suppressed; var$3 = var$2.data; var$4 = var$3.length; var$5 = var$4 + 1 | 0; var$6 = var$2.constructor; if (var$6 === null) var$7 = null; else { var$7 = var$6.classObject; if (var$7 === null) { var$7 = new jl_Class; var$7.$platformClass = var$6; var$6.classObject = var$7; } } var$8 = var$7.$platformClass.$meta.item; if (var$8 === null) var$6 = null; else { var$6 = var$8.classObject; if (var$6 === null) { var$6 = new jl_Class; var$6.$platformClass = var$8; var$8.classObject = var$6; } } if (var$6 === null) { $exception = new jl_NullPointerException; $exception.$suppressionEnabled = 1; $exception.$writableStackTrace = 1; $rt_throw($exception); } if (var$6 === $rt_cls($rt_voidcls)) { $exception = new jl_IllegalArgumentException; $exception.$suppressionEnabled = 1; $exception.$writableStackTrace = 1; $rt_throw($exception); } if (var$5 < 0) { $exception = new jl_NegativeArraySizeException; $exception.$suppressionEnabled = 1; $exception.$writableStackTrace = 1; $rt_throw($exception); } var$9 = jlr_Array_newInstanceImpl(var$6.$platformClass, var$5); if (var$5 < var$4) var$4 = var$5; var$5 = 0; while (var$5 < var$4) { var$9.data[var$5] = var$3[var$5]; var$5 = var$5 + 1 | 0; } var$2 = var$9; var$3 = var$2.data; $this.$suppressed = var$2; var$3[var$3.length - 1 | 0] = $exception; }, jl_Exception = $rt_classWithoutFields(jl_Throwable), jl_Exception__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_Exception__init_1 = () => { let var_0 = new jl_Exception(); jl_Exception__init_(var_0); return var_0; }, jl_Exception__init_0 = ($this, $message) => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; $this.$message = $message; }, jl_Exception__init_2 = var_0 => { let var_1 = new jl_Exception(); jl_Exception__init_0(var_1, var_0); return var_1; }, jl_RuntimeException = $rt_classWithoutFields(jl_Exception), jl_RuntimeException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_RuntimeException__init_2 = () => { let var_0 = new jl_RuntimeException(); jl_RuntimeException__init_(var_0); return var_0; }, jl_RuntimeException__init_0 = ($this, $message) => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; $this.$message = $message; }, jl_RuntimeException__init_1 = var_0 => { let var_1 = new jl_RuntimeException(); jl_RuntimeException__init_0(var_1, var_0); return var_1; }, jl_ClassCastException = $rt_classWithoutFields(jl_RuntimeException), jl_ClassCastException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_ClassCastException__init_0 = () => { let var_0 = new jl_ClassCastException(); jl_ClassCastException__init_(var_0); return var_0; }, ji_Serializable = $rt_classWithoutFields(0), jl_Comparable = $rt_classWithoutFields(0), jl_CharSequence = $rt_classWithoutFields(0); function jl_String() { jl_Object.call(this); this.$hashCode1 = 0; } let jl_String_EMPTY_CHARS = null, jl_String_EMPTY = null, jl_String_CASE_INSENSITIVE_ORDER = null, jl_String__init_2 = $this => { $this.$nativeString = ""; }, jl_String__init_5 = () => { let var_0 = new jl_String(); jl_String__init_2(var_0); return var_0; }, jl_String__init_4 = ($this, $characters) => { $this.$nativeString = $rt_charArrayToString($characters.data, 0, $characters.data.length); }, jl_String__init_6 = var_0 => { let var_1 = new jl_String(); jl_String__init_4(var_1, var_0); return var_1; }, jl_String__init_1 = (var$0, var$1) => { var$0.$nativeString = var$1; }, jl_String__init_ = var_0 => { let var_1 = new jl_String(); jl_String__init_1(var_1, var_0); return var_1; }, jl_String__init_3 = (var$0, var$1, $offset, $count) => { let var$4, var$5; var$4 = var$1.data.length; if ($offset >= 0 && $count >= 0 && $count <= (var$4 - $offset | 0)) { var$0.$nativeString = $rt_charArrayToString(var$1.data, $offset, $count); return; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); }, jl_String__init_0 = (var_0, var_1, var_2) => { let var_3 = new jl_String(); jl_String__init_3(var_3, var_0, var_1, var_2); return var_3; }, jl_String_charAt = ($this, $index) => { let var$2; if ($index >= 0 && $index < $this.$nativeString.length) return $this.$nativeString.charCodeAt($index); var$2 = new jl_StringIndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, jl_String_length = $this => { return $this.$nativeString.length; }, jl_String_compareTo0 = ($this, $anotherString) => { let $l, $l_0, $i, $a, $b; if ($this === $anotherString) return 0; $l = $this.$nativeString.length; $l_0 = $anotherString.$nativeString.length; if ($l < $l_0) $l_0 = $l; $i = 0; a: { b: { while (true) { if ($i >= $l_0) return $this.$nativeString.length - $anotherString.$nativeString.length | 0; if ($i < 0) break a; if ($i >= $this.$nativeString.length) break a; $a = $this.$nativeString.charCodeAt($i); if ($i < 0) break b; if ($i >= $anotherString.$nativeString.length) break b; $b = $a - $anotherString.$nativeString.charCodeAt($i) | 0; if ($b) break; $i = $i + 1 | 0; } return $b; } $anotherString = new jl_StringIndexOutOfBoundsException; $anotherString.$suppressionEnabled = 1; $anotherString.$writableStackTrace = 1; $rt_throw($anotherString); } $anotherString = new jl_StringIndexOutOfBoundsException; $anotherString.$suppressionEnabled = 1; $anotherString.$writableStackTrace = 1; $rt_throw($anotherString); }, jl_String_compareToIgnoreCase = ($this, $anotherString) => { let $l, $l_0, $i, $b, $a; if ($this === $anotherString) return 0; $l = $this.$nativeString.length; $l_0 = $anotherString.$nativeString.length; if ($l < $l_0) $l_0 = $l; $i = 0; a: { b: { while (true) { if ($i >= $l_0) return $this.$nativeString.length - $anotherString.$nativeString.length | 0; if ($i < 0) break a; if ($i >= $this.$nativeString.length) break a; $b = $this.$nativeString.charCodeAt($i); if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } $a = jl_Character_mapChar(jl_Character_lowerCaseMapping, $b) & 65535; if ($i < 0) break b; if ($i >= $anotherString.$nativeString.length) break b; $b = $anotherString.$nativeString.charCodeAt($i); if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } $b = $a - (jl_Character_mapChar(jl_Character_lowerCaseMapping, $b) & 65535) | 0; if ($b) break; $i = $i + 1 | 0; } return $b; } $anotherString = new jl_StringIndexOutOfBoundsException; $anotherString.$suppressionEnabled = 1; $anotherString.$writableStackTrace = 1; $rt_throw($anotherString); } $anotherString = new jl_StringIndexOutOfBoundsException; $anotherString.$suppressionEnabled = 1; $anotherString.$writableStackTrace = 1; $rt_throw($anotherString); }, jl_String_startsWith = ($this, $prefix, $toffset) => { let $i, var$4, var$5; if (($toffset + $prefix.$nativeString.length | 0) > $this.$nativeString.length) return 0; $i = 0; a: { b: { while ($i < $prefix.$nativeString.length) { if ($i < 0) break a; if ($i >= $prefix.$nativeString.length) break a; var$4 = $prefix.$nativeString.charCodeAt($i); var$5 = $toffset + 1 | 0; if ($toffset < 0) break b; if ($toffset >= $this.$nativeString.length) break b; if (var$4 != $this.$nativeString.charCodeAt($toffset)) return 0; $i = $i + 1 | 0; $toffset = var$5; } return 1; } $prefix = new jl_StringIndexOutOfBoundsException; $prefix.$suppressionEnabled = 1; $prefix.$writableStackTrace = 1; $rt_throw($prefix); } $prefix = new jl_StringIndexOutOfBoundsException; $prefix.$suppressionEnabled = 1; $prefix.$writableStackTrace = 1; $rt_throw($prefix); }, jl_String_startsWith0 = ($this, $prefix) => { if ($this === $prefix) return 1; return jl_String_startsWith($this, $prefix, 0); }, jl_String_endsWith = ($this, $suffix) => { let $j, $i, var$4, var$5; if ($this === $suffix) return 1; if ($suffix.$nativeString.length > $this.$nativeString.length) return 0; $j = 0; $i = $this.$nativeString.length - $suffix.$nativeString.length | 0; a: { b: { while ($i < $this.$nativeString.length) { if ($i < 0) break a; if ($i >= $this.$nativeString.length) break a; var$4 = $this.$nativeString.charCodeAt($i); var$5 = $j + 1 | 0; if ($j < 0) break b; if ($j >= $suffix.$nativeString.length) break b; if (var$4 != $suffix.$nativeString.charCodeAt($j)) return 0; $i = $i + 1 | 0; $j = var$5; } return 1; } $suffix = new jl_StringIndexOutOfBoundsException; $suffix.$suppressionEnabled = 1; $suffix.$writableStackTrace = 1; $rt_throw($suffix); } $suffix = new jl_StringIndexOutOfBoundsException; $suffix.$suppressionEnabled = 1; $suffix.$writableStackTrace = 1; $rt_throw($suffix); }, jl_String_indexOf = ($this, $ch, $i) => { let $bmpChar, $hi, $lo; if (0 > $i) $i = 0; if ($ch < 65536) { $bmpChar = $ch & 65535; while (true) { if ($i >= $this.$nativeString.length) return (-1); if ($this.$nativeString.charCodeAt($i) == $bmpChar) break; $i = $i + 1 | 0; } return $i; } $hi = (55296 | ($ch - 65536 | 0) >> 10 & 1023) & 65535; $lo = (56320 | $ch & 1023) & 65535; while (true) { if ($i >= ($this.$nativeString.length - 1 | 0)) return (-1); if ($this.$nativeString.charCodeAt($i) == $hi && $this.$nativeString.charCodeAt(($i + 1 | 0)) == $lo) break; $i = $i + 1 | 0; } return $i; }, jl_String_indexOf1 = ($this, $ch) => { return jl_String_indexOf($this, $ch, 0); }, jl_String_lastIndexOf = ($this, $ch, $fromIndex) => { let $i, $bmpChar, $hi, $lo; $i = $this.$nativeString.length - 1 | 0; if ($fromIndex < $i) $i = $fromIndex; if ($ch < 65536) { $bmpChar = $ch & 65535; while (true) { if ($i < 0) return (-1); if ($this.$nativeString.charCodeAt($i) == $bmpChar) break; $i = $i + (-1) | 0; } return $i; } $hi = (55296 | ($ch - 65536 | 0) >> 10 & 1023) & 65535; $lo = (56320 | $ch & 1023) & 65535; while (true) { if ($i < 1) return (-1); if ($this.$nativeString.charCodeAt($i) == $lo) { $ch = $i - 1 | 0; if ($this.$nativeString.charCodeAt($ch) == $hi) break; } $i = $i + (-1) | 0; } return $ch; }, jl_String_lastIndexOf1 = ($this, $ch) => { return jl_String_lastIndexOf($this, $ch, $this.$nativeString.length - 1 | 0); }, jl_String_indexOf0 = ($this, $str, $i) => { let $toIndex, $j, var$5, var$6; if (0 > $i) $i = 0; $toIndex = $this.$nativeString.length - $str.$nativeString.length | 0; a: { b: { c: while (true) { if ($i > $toIndex) return (-1); $j = 0; while (true) { if ($j >= $str.$nativeString.length) break c; var$5 = $i + $j | 0; if (var$5 < 0) break a; if (var$5 >= $this.$nativeString.length) break a; var$6 = $this.$nativeString.charCodeAt(var$5); if ($j < 0) break b; if ($j >= $str.$nativeString.length) break b; if (var$6 != $str.$nativeString.charCodeAt($j)) break; $j = $j + 1 | 0; } $i = $i + 1 | 0; } return $i; } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); }, jl_String_indexOf2 = ($this, $str) => { return jl_String_indexOf0($this, $str, 0); }, jl_String_lastIndexOf0 = ($this, $str, $fromIndex) => { let $i, $j, var$5; $i = $this.$nativeString.length - $str.$nativeString.length | 0; if ($fromIndex < $i) $i = $fromIndex; a: { b: { c: while (true) { if ($i < 0) return (-1); $j = 0; while (true) { if ($j >= $str.$nativeString.length) break c; var$5 = $i + $j | 0; if (var$5 < 0) break a; if (var$5 >= $this.$nativeString.length) break a; var$5 = $this.$nativeString.charCodeAt(var$5); if ($j < 0) break b; if ($j >= $str.$nativeString.length) break b; if (var$5 != $str.$nativeString.charCodeAt($j)) break; $j = $j + 1 | 0; } $i = $i + (-1) | 0; } return $i; } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); }, jl_String_substring = ($this, $beginIndex, $endIndex) => { let $length, var$4, var$5; $length = $this.$nativeString.length; var$4 = $rt_compare($beginIndex, $endIndex); if (!var$4) return jl_String_EMPTY; if (!$beginIndex && $endIndex == $length) return $this; if ($beginIndex >= 0 && var$4 <= 0 && $endIndex <= $length) return jl_String__init_($this.$nativeString.substring($beginIndex, $endIndex)); var$5 = new jl_StringIndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); }, jl_String_substring0 = ($this, $beginIndex) => { return jl_String_substring($this, $beginIndex, $this.$nativeString.length); }, jl_String_contains = ($this, $s) => { let $sz, $i, $j, var$5; $sz = $this.$nativeString.length - $s.$nativeString.length | 0; $i = 0; a: { b: { while ($i <= $sz) { $j = 0; while (true) { if ($j >= $s.$nativeString.length) return 1; var$5 = $i + $j | 0; if (var$5 < 0) break a; if (var$5 >= $this.$nativeString.length) break a; var$5 = $this.$nativeString.charCodeAt(var$5); if ($j < 0) break b; if ($j >= $s.$nativeString.length) break b; if (var$5 != $s.$nativeString.charCodeAt($j)) break; $j = $j + 1 | 0; } $i = $i + 1 | 0; } return 0; } $s = new jl_StringIndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $s = new jl_StringIndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); }, jl_String_replace = ($this, $target, $replacement) => { let $sb, $i, $sz, var$6, var$7, var$8, var$9, $j; if ($target === $replacement) return $this; if ($target.$nativeString.length ? 0 : 1) { $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); $i = 0; while (true) { if ($i >= $this.$nativeString.length) { $sz = $sb.$length0; if ($replacement === null) $replacement = $rt_s(1); jl_AbstractStringBuilder_insert($sb, $sz, $replacement); $target = new jl_String; var$6 = $sb.$buffer; var$7 = var$6.data; $i = $sb.$length0; var$8 = var$7.length; if ($i >= 0 && $i <= (var$8 - 0 | 0)) { $target.$nativeString = $rt_charArrayToString(var$6.data, 0, $i); return $target; } $target = new jl_IndexOutOfBoundsException; $target.$suppressionEnabled = 1; $target.$writableStackTrace = 1; $rt_throw($target); } jl_AbstractStringBuilder_insert($sb, $sb.$length0, $replacement === null ? $rt_s(1) : $replacement); if ($i < 0) break; if ($i >= $this.$nativeString.length) break; var$8 = $this.$nativeString.charCodeAt($i); $sz = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, $sz, $sz + 1 | 0); $sb.$buffer.data[$sz] = var$8; $i = $i + 1 | 0; } $target = new jl_StringIndexOutOfBoundsException; $target.$suppressionEnabled = 1; $target.$writableStackTrace = 1; $rt_throw($target); } if ($target.$nativeString.length == 1 && $replacement.$nativeString.length == 1) { if (0 >= $target.$nativeString.length) { $target = new jl_StringIndexOutOfBoundsException; $target.$suppressionEnabled = 1; $target.$writableStackTrace = 1; $rt_throw($target); } var$8 = $target.$nativeString.charCodeAt(0); if (0 >= $replacement.$nativeString.length) { $target = new jl_StringIndexOutOfBoundsException; $target.$suppressionEnabled = 1; $target.$writableStackTrace = 1; $rt_throw($target); } a: { b: { $i = $replacement.$nativeString.charCodeAt(0); if (var$8 != $i) { var$6 = $rt_createCharArray($this.$nativeString.length); var$7 = var$6.data; $sz = 0; while ($sz < $this.$nativeString.length) { if ($sz < 0) break a; if ($sz >= $this.$nativeString.length) break a; if ($this.$nativeString.charCodeAt($sz) == var$8) var$9 = $i; else { if ($sz < 0) break b; if ($sz >= $this.$nativeString.length) break b; var$9 = $this.$nativeString.charCodeAt($sz); } var$7[$sz] = var$9; $sz = $sz + 1 | 0; } $this = new jl_String; $this.$nativeString = ""; $this.$nativeString = $rt_fullArrayToString(var$6.data); } return $this; } $target = new jl_StringIndexOutOfBoundsException; $target.$suppressionEnabled = 1; $target.$writableStackTrace = 1; $rt_throw($target); } $target = new jl_StringIndexOutOfBoundsException; $target.$suppressionEnabled = 1; $target.$writableStackTrace = 1; $rt_throw($target); } $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); $sz = $this.$nativeString.length - $target.$nativeString.length | 0; $i = 0; c: { d: { e: while (true) { if ($i > $sz) { $target = jl_String_substring($this, $i, $this.$nativeString.length); $sz = $sb.$length0; if ($target === null) $target = $rt_s(1); jl_AbstractStringBuilder_insert($sb, $sz, $target); $target = new jl_String; var$6 = $sb.$buffer; var$7 = var$6.data; $i = $sb.$length0; var$8 = var$7.length; if ($i >= 0 && $i <= (var$8 - 0 | 0)) { $target.$nativeString = $rt_charArrayToString(var$6.data, 0, $i); return $target; } $target = new jl_IndexOutOfBoundsException; $target.$suppressionEnabled = 1; $target.$writableStackTrace = 1; $rt_throw($target); } $j = 0; f: { while ($j < $target.$nativeString.length) { var$9 = $i + $j | 0; if (var$9 < 0) break d; if (var$9 >= $this.$nativeString.length) break d; var$9 = $this.$nativeString.charCodeAt(var$9); if ($j < 0) break e; if ($j >= $target.$nativeString.length) break e; if (var$9 != $target.$nativeString.charCodeAt($j)) { if ($i < 0) break c; if ($i >= $this.$nativeString.length) break c; var$9 = $this.$nativeString.charCodeAt($i); var$8 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$8, var$8 + 1 | 0); $sb.$buffer.data[var$8] = var$9; break f; } $j = $j + 1 | 0; } jl_AbstractStringBuilder_insert($sb, $sb.$length0, $replacement === null ? $rt_s(1) : $replacement); $i = $i + ($target.$nativeString.length - 1 | 0) | 0; } $i = $i + 1 | 0; } $target = new jl_StringIndexOutOfBoundsException; $target.$suppressionEnabled = 1; $target.$writableStackTrace = 1; $rt_throw($target); } $target = new jl_StringIndexOutOfBoundsException; $target.$suppressionEnabled = 1; $target.$writableStackTrace = 1; $rt_throw($target); } $target = new jl_StringIndexOutOfBoundsException; $target.$suppressionEnabled = 1; $target.$writableStackTrace = 1; $rt_throw($target); }, jl_String_trim = $this => { let $lower, $upper, var$3; $lower = 0; $upper = $this.$nativeString.length - 1 | 0; a: { while (true) { if ($lower > $upper) break a; if ($lower < 0) break; if ($lower >= $this.$nativeString.length) break; if ($this.$nativeString.charCodeAt($lower) > 32) break a; $lower = $lower + 1 | 0; } var$3 = new jl_StringIndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } b: { while ($lower <= $upper) { if ($upper < 0) break b; if ($upper >= $this.$nativeString.length) break b; if ($this.$nativeString.charCodeAt($upper) > 32) break; $upper = $upper + (-1) | 0; } return jl_String_substring($this, $lower, $upper + 1 | 0); } var$3 = new jl_StringIndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); }, jl_String_toString = $this => { return $this; }, jl_String_valueOf = $obj => { return $obj === null ? $rt_s(1) : $obj.$toString(); }, jl_String_equals = ($this, $other) => { let $str; if ($this === $other) return 1; if (!($other instanceof jl_String)) return 0; $str = $other; return $this.$nativeString !== $str.$nativeString ? 0 : 1; }, jl_String_equalsIgnoreCase = ($this, $other) => { let $i, var$3, var$4; if ($this === $other) return 1; if ($other === null) return 0; if ($this.$nativeString.length != $other.$nativeString.length) return 0; $i = 0; a: { b: { while ($i < $this.$nativeString.length) { if ($i < 0) break a; if ($i >= $this.$nativeString.length) break a; var$3 = $this.$nativeString.charCodeAt($i); if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } var$4 = jl_Character_mapChar(jl_Character_lowerCaseMapping, var$3) & 65535; if ($i < 0) break b; if ($i >= $other.$nativeString.length) break b; var$3 = $other.$nativeString.charCodeAt($i); if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } if (var$4 != (jl_Character_mapChar(jl_Character_lowerCaseMapping, var$3) & 65535)) return 0; $i = $i + 1 | 0; } return 1; } $other = new jl_StringIndexOutOfBoundsException; $other.$suppressionEnabled = 1; $other.$writableStackTrace = 1; $rt_throw($other); } $other = new jl_StringIndexOutOfBoundsException; $other.$suppressionEnabled = 1; $other.$writableStackTrace = 1; $rt_throw($other); }, jl_String_hashCode = $this => { let $i; a: { if (!$this.$hashCode1) { $i = 0; while (true) { if ($i >= $this.$nativeString.length) break a; $this.$hashCode1 = (31 * $this.$hashCode1 | 0) + $this.$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } return $this.$hashCode1; }, jl_String_toLowerCase = $this => { let $lowerCase; $lowerCase = $this.$nativeString.toLowerCase(); if ($lowerCase !== $this.$nativeString) $this = jl_String__init_($lowerCase); return $this; }, jl_String_split = ($this, $regex) => { return jur_Pattern_split(jur_Pattern_compile($regex, 0), $this, 0); }, jl_String_split0 = ($this, $regex, $limit) => { return jur_Pattern_split(jur_Pattern_compile($regex, 0), $this, $limit); }, jl_String_replaceAll = ($this, $regex, $replacement) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $regex = jur_Matcher__init_(jur_Pattern_compile($regex, 0), $this); var$3 = new jl_StringBuffer; var$3.$buffer = $rt_createCharArray(16); $regex.$leftBound0 = 0; var$4 = $regex.$string.$nativeString.length; $regex.$rightBound0 = var$4; var$5 = $regex.$matchResult; var$6 = $regex.$string; var$7 = $regex.$leftBound0; var$5.$valid = 0; var$5.$mode0 = 2; var$8 = var$5.$groupBounds.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $regex = new jl_IllegalArgumentException; $regex.$suppressionEnabled = 1; $regex.$writableStackTrace = 1; $rt_throw($regex); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } var$8 = var$5.$consumers.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $regex = new jl_IllegalArgumentException; $regex.$suppressionEnabled = 1; $regex.$writableStackTrace = 1; $rt_throw($regex); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } if (var$6 !== null) var$5.$string1 = var$6; if (var$7 >= 0) { var$5.$leftBound = var$7; var$5.$rightBound = var$4; } var$5.$startIndex = var$5.$leftBound; $regex.$appendPos = 0; $regex.$replacement = null; var$5.$previousMatch = (-1); while (true) { if (!jur_Matcher_find($regex)) { $replacement = $regex.$string; $regex = jl_String_substring($replacement, $regex.$appendPos, $replacement.$nativeString.length); var$9 = $regex.$nativeString.length; jl_AbstractStringBuilder_insert3(var$3, var$3.$length0, $regex, 0, var$9); $regex = new jl_String; var$8 = var$3.$buffer; var$12 = var$8.data; var$13 = var$3.$length0; var$9 = var$12.length; if (var$13 >= 0 && var$13 <= (var$9 - 0 | 0)) { $regex.$nativeString = $rt_charArrayToString(var$8.data, 0, var$13); return $regex; } $regex = new jl_IndexOutOfBoundsException; $regex.$suppressionEnabled = 1; $regex.$writableStackTrace = 1; $rt_throw($regex); } $regex.$processedRepl = jur_Matcher_processReplacement($regex, $replacement); var$5 = $regex.$string; var$7 = $regex.$appendPos; var$6 = $regex.$matchResult; if (!var$6.$valid) { $regex = new jl_IllegalStateException; $regex.$suppressionEnabled = 1; $regex.$writableStackTrace = 1; $rt_throw($regex); } if (0 >= var$6.$groupCount) { $replacement = new jl_IndexOutOfBoundsException; $regex = new jl_StringBuilder; $regex.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_append0($regex, 0); var$3 = new jl_String; var$8 = $regex.$buffer; var$12 = var$8.data; var$13 = $regex.$length0; var$9 = var$12.length; if (var$13 >= 0 && var$13 <= (var$9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$8.data, 0, var$13); $replacement.$suppressionEnabled = 1; $replacement.$writableStackTrace = 1; $replacement.$message = var$3; $rt_throw($replacement); } $regex = new jl_IndexOutOfBoundsException; $regex.$suppressionEnabled = 1; $regex.$writableStackTrace = 1; $rt_throw($regex); } var$5 = jl_String_substring(var$5, var$7, var$6.$groupBounds.data[0]); var$11 = var$5.$nativeString.length; jl_AbstractStringBuilder_insert3(var$3, var$3.$length0, var$5, 0, var$11); var$5 = $regex.$processedRepl; jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$5); var$5 = $regex.$matchResult; if (!var$5.$valid) break; if (0 >= var$5.$groupCount) { $regex = new jl_IndexOutOfBoundsException; $replacement = new jl_StringBuilder; $replacement.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_append0($replacement, 0); var$3 = new jl_String; var$8 = $replacement.$buffer; var$12 = var$8.data; var$13 = $replacement.$length0; var$9 = var$12.length; if (var$13 >= 0 && var$13 <= (var$9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$8.data, 0, var$13); $regex.$suppressionEnabled = 1; $regex.$writableStackTrace = 1; $regex.$message = var$3; $rt_throw($regex); } $regex = new jl_IndexOutOfBoundsException; $regex.$suppressionEnabled = 1; $regex.$writableStackTrace = 1; $rt_throw($regex); } $regex.$appendPos = var$5.$groupBounds.data[1]; } $regex = new jl_IllegalStateException; $regex.$suppressionEnabled = 1; $regex.$writableStackTrace = 1; $rt_throw($regex); }, jl_String_format = ($format, $args) => { let var$3, var$4, var$5, var$6, var$7, var$8, $$je; var$3 = new ju_Formatter; ju_Locale_$callClinit(); var$4 = ju_Locale_defaultLocale; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$out1 = var$5; var$3.$locale1 = var$4; a: { try { if ($args === null) $args = $rt_createArray(jl_Object, 1); ju_Formatter$FormatWriter_write(ju_Formatter$FormatWriter__init_(var$3, var$5, var$4, $format, $args)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $format = $$je; } else { throw $$e; } } var$3.$ioException = $format; } var$3 = var$3.$out1; if (var$3 === null) { $format = new ju_FormatterClosedException; $format.$suppressionEnabled = 1; $format.$writableStackTrace = 1; $rt_throw($format); } $format = new jl_String; $args = var$3.$buffer; var$6 = $args.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $format.$nativeString = $rt_charArrayToString($args.data, 0, var$7); return $format; } $format = new jl_IndexOutOfBoundsException; $format.$suppressionEnabled = 1; $format.$writableStackTrace = 1; $rt_throw($format); }, jl_String_compareTo = ($this, var$1) => { let var$2, var$3, var$4, var$5; a: { b: { c: { var$1 = var$1; if ($this === var$1) var$2 = 0; else { var$3 = $this.$nativeString.length; var$4 = var$1.$nativeString.length; if (var$3 < var$4) var$4 = var$3; var$3 = 0; while (true) { if (var$3 >= var$4) { var$2 = $this.$nativeString.length - var$1.$nativeString.length | 0; break c; } if (var$3 < 0) break a; if (var$3 >= $this.$nativeString.length) break a; var$5 = $this.$nativeString.charCodeAt(var$3); if (var$3 < 0) break b; if (var$3 >= var$1.$nativeString.length) break b; var$2 = var$5 - var$1.$nativeString.charCodeAt(var$3) | 0; if (var$2) break; var$3 = var$3 + 1 | 0; } } } return var$2; } var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, jl_String__clinit_ = () => { let var$1; jl_String_EMPTY_CHARS = $rt_createCharArray(0); var$1 = new jl_String; var$1.$nativeString = ""; jl_String_EMPTY = var$1; jl_String_CASE_INSENSITIVE_ORDER = new jl_String$_clinit_$lambda$_115_0; }, jl_Number = $rt_classWithoutFields(), jl_Number__init_ = $this => { return; }; function jl_Integer() { jl_Number.call(this); this.$value0 = 0; } let jl_Integer_TYPE = null, jl_Integer_integerCache = null, jl_Integer__init_0 = ($this, $value) => { $this.$value0 = $value; }, jl_Integer__init_ = var_0 => { let var_1 = new jl_Integer(); jl_Integer__init_0(var_1, var_0); return var_1; }, jl_Integer_hashCode = $value => { return $value; }, jl_Integer_toHexString = $i => { return otci_IntegerUtil_toUnsignedLogRadixString($i, 4); }, jl_Integer_parseInt0 = ($s, $radix) => { if ($s !== null) return jl_Integer_parseIntImpl($s, 0, $s.$nativeString.length, $radix); $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $s.$message = $rt_s(108); $rt_throw($s); }, jl_Integer_parseIntImpl = ($s, $beginIndex, $endIndex, $radix) => { let $negative, $digit, $value, $maxValue, var$9, var$10, var$11, var$12, var$13, var$14; if ($beginIndex == $endIndex) { $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $s.$message = $rt_s(109); $rt_throw($s); } if ($radix >= 2 && $radix <= 36) { $negative = 0; if ($beginIndex >= 0 && $beginIndex < $s.$nativeString.length) { a: { switch ($s.$nativeString.charCodeAt($beginIndex)) { case 43: $digit = $beginIndex + 1 | 0; break a; case 45: $negative = 1; $digit = $beginIndex + 1 | 0; break a; default: } $digit = $beginIndex; } $value = 0; $maxValue = 1 + (2147483647 / $radix | 0) | 0; if ($digit == $endIndex) { $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } b: { while ($digit < $endIndex) { var$9 = $digit + 1 | 0; if ($digit < 0) break b; if ($digit >= $s.$nativeString.length) break b; $digit = jl_Integer_decodeDigit($s.$nativeString.charCodeAt($digit)); if ($digit < 0) { var$10 = new jl_NumberFormatException; var$11 = jl_String_substring($s, $beginIndex, $endIndex); $s = new jl_StringBuilder; $s.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(110)); $beginIndex = $s.$length0; if (var$11 === null) var$11 = $rt_s(1); jl_AbstractStringBuilder_insert($s, $beginIndex, var$11); var$12 = new jl_String; var$13 = $s.$buffer; var$14 = var$13.data; $endIndex = $s.$length0; $radix = var$14.length; if ($endIndex >= 0 && $endIndex <= ($radix - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString(var$13.data, 0, $endIndex); var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; var$10.$message = var$12; $rt_throw(var$10); } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } if ($digit >= $radix) { var$10 = new jl_NumberFormatException; var$11 = jl_String_substring($s, $beginIndex, $endIndex); $s = new jl_StringBuilder; $s.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(111)); jl_AbstractStringBuilder_insert0($s, $s.$length0, $radix, 10); jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(107)); $beginIndex = $s.$length0; if (var$11 === null) var$11 = $rt_s(1); jl_AbstractStringBuilder_insert($s, $beginIndex, var$11); var$12 = new jl_String; var$13 = $s.$buffer; var$14 = var$13.data; $endIndex = $s.$length0; $radix = var$14.length; if ($endIndex >= 0 && $endIndex <= ($radix - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString(var$13.data, 0, $endIndex); var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; var$10.$message = var$12; $rt_throw(var$10); } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } if ($value > $maxValue) { $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $s.$message = $rt_s(112); $rt_throw($s); } $value = $rt_imul($radix, $value) + $digit | 0; if ($value < 0) { if (var$9 == $endIndex && $value == (-2147483648) && $negative) return (-2147483648); var$10 = new jl_NumberFormatException; var$11 = jl_String_substring($s, $beginIndex, $endIndex); $s = new jl_StringBuilder; $s.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(113)); $beginIndex = $s.$length0; if (var$11 === null) var$11 = $rt_s(1); jl_AbstractStringBuilder_insert($s, $beginIndex, var$11); var$12 = new jl_String; var$13 = $s.$buffer; var$14 = var$13.data; $endIndex = $s.$length0; $radix = var$14.length; if ($endIndex >= 0 && $endIndex <= ($radix - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString(var$13.data, 0, $endIndex); var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; var$10.$message = var$12; $rt_throw(var$10); } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $digit = var$9; } if ($negative) $value = -$value | 0; return $value; } $s = new jl_StringIndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $s = new jl_StringIndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $s = new jl_NumberFormatException; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(114)); jl_AbstractStringBuilder_insert0(var$10, var$10.$length0, $radix, 10); var$12 = new jl_String; var$13 = var$10.$buffer; var$14 = var$13.data; $endIndex = var$10.$length0; $radix = var$14.length; if ($endIndex >= 0 && $endIndex <= ($radix - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString(var$13.data, 0, $endIndex); $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $s.$message = var$12; $rt_throw($s); } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); }, jl_Integer_parseInt = $s => { if ($s !== null) return jl_Integer_parseIntImpl($s, 0, $s.$nativeString.length, 10); $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $s.$message = $rt_s(108); $rt_throw($s); }, jl_Integer_valueOf0 = $s => { let var$2; if ($s === null) { $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $s.$message = $rt_s(108); $rt_throw($s); } var$2 = jl_Integer_parseIntImpl($s, 0, $s.$nativeString.length, 10); if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); $s = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { $s = new jl_Integer; $s.$value0 = var$2; } return $s; }, jl_Integer_valueOf = $i => { let var$2; if ($i >= (-128) && $i <= 127) { jl_Integer_ensureIntegerCache(); return jl_Integer_integerCache.data[$i + 128 | 0]; } var$2 = new jl_Integer; var$2.$value0 = $i; return var$2; }, jl_Integer_ensureIntegerCache = () => { let var$1, var$2, $j, var$4, var$5; a: { if (jl_Integer_integerCache === null) { var$1 = $rt_createArray(jl_Integer, 256); var$2 = var$1.data; jl_Integer_integerCache = var$1; $j = 0; var$4 = var$2.length; while (true) { if ($j >= var$4) break a; var$5 = new jl_Integer; var$5.$value0 = $j - 128 | 0; var$2[$j] = var$5; $j = $j + 1 | 0; } } } }, jl_Integer_intValue = $this => { return $this.$value0; }, jl_Integer_longValue = $this => { return Long_fromInt($this.$value0); }, jl_Integer_doubleValue = $this => { return $this.$value0; }, jl_Integer_toString = $this => { let var$1, var$2; var$1 = $this.$value0; var$2 = new jl_AbstractStringBuilder; var$2.$buffer = $rt_createCharArray(20); return (jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10)).$toString(); }, jl_Integer_hashCode0 = $this => { return $this.$value0; }, jl_Integer_equals = ($this, $other) => { if ($this === $other) return 1; return $other instanceof jl_Integer && $other.$value0 == $this.$value0 ? 1 : 0; }, jl_Integer_decodeDigit = $c => { if ($c >= 48 && $c <= 57) return $c - 48 | 0; if ($c >= 97 && $c <= 122) return ($c - 97 | 0) + 10 | 0; if ($c >= 65 && $c <= 90) return ($c - 65 | 0) + 10 | 0; return (-1); }, jl_Integer_numberOfLeadingZeros = $i => { let $n, var$3; if (!$i) return 32; $n = 0; var$3 = $i >>> 16 | 0; if (var$3) $n = 16; else var$3 = $i; $i = var$3 >>> 8 | 0; if (!$i) $i = var$3; else $n = $n | 8; var$3 = $i >>> 4 | 0; if (!var$3) var$3 = $i; else $n = $n | 4; $i = var$3 >>> 2 | 0; if (!$i) $i = var$3; else $n = $n | 2; if ($i >>> 1 | 0) $n = $n | 1; return (32 - $n | 0) - 1 | 0; }, jl_Integer_numberOfTrailingZeros = $i => { let $n, var$3; if (!$i) return 32; $n = 0; var$3 = $i << 16; if (var$3) $n = 16; else var$3 = $i; $i = var$3 << 8; if (!$i) $i = var$3; else $n = $n | 8; var$3 = $i << 4; if (!var$3) var$3 = $i; else $n = $n | 4; $i = var$3 << 2; if (!$i) $i = var$3; else $n = $n | 2; if ($i << 1) $n = $n | 1; return (32 - $n | 0) - 1 | 0; }, jl_Integer_compareTo = ($this, var$1) => { var$1 = var$1; return $rt_compare($this.$value0, var$1.$value0); }, jl_Integer__clinit_ = () => { jl_Integer_TYPE = $rt_cls($rt_intcls); }; function jl_AbstractStringBuilder() { let a = this; jl_Object.call(a); a.$buffer = null; a.$length0 = 0; } let jl_AbstractStringBuilder__init_0 = $this => { $this.$buffer = $rt_createCharArray(16); }, jl_AbstractStringBuilder__init_1 = () => { let var_0 = new jl_AbstractStringBuilder(); jl_AbstractStringBuilder__init_0(var_0); return var_0; }, jl_AbstractStringBuilder__init_ = ($this, $capacity) => { $this.$buffer = $rt_createCharArray($capacity); }, jl_AbstractStringBuilder__init_2 = var_0 => { let var_1 = new jl_AbstractStringBuilder(); jl_AbstractStringBuilder__init_(var_1, var_0); return var_1; }, jl_AbstractStringBuilder_append1 = ($this, $obj) => { jl_AbstractStringBuilder_insert($this, $this.$length0, $obj === null ? $rt_s(1) : $obj.$toString()); return $this; }, jl_AbstractStringBuilder_append = ($this, $string) => { return $this.$insert($this.$length0, $string); }, jl_AbstractStringBuilder_insert = ($this, $index, $string) => { let $i, $i_0, var$5; if ($index >= 0 && $index <= $this.$length0) { if ($string === null) $string = $rt_s(1); else if ($string.$nativeString.length ? 0 : 1) return $this; $this.$ensureCapacity($this.$length0 + $string.$nativeString.length | 0); $i = $this.$length0 - 1 | 0; while ($i >= $index) { $this.$buffer.data[$i + $string.$nativeString.length | 0] = $this.$buffer.data[$i]; $i = $i + (-1) | 0; } $this.$length0 = $this.$length0 + $string.$nativeString.length | 0; $i_0 = 0; a: { while ($i_0 < $string.$nativeString.length) { var$5 = $this.$buffer; $i = $index + 1 | 0; if ($i_0 < 0) break a; if ($i_0 >= $string.$nativeString.length) break a; var$5.data[$index] = $string.$nativeString.charCodeAt($i_0); $i_0 = $i_0 + 1 | 0; $index = $i; } return $this; } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); }, jl_AbstractStringBuilder_append0 = ($this, $value) => { return jl_AbstractStringBuilder_insert0($this, $this.$length0, $value, 10); }, jl_AbstractStringBuilder_append3 = ($this, $value, $radix) => { return jl_AbstractStringBuilder_insert0($this, $this.$length0, $value, $radix); }, jl_AbstractStringBuilder_insert0 = ($this, $target, $value, $radix) => { let $positive, var$5, var$6, $pos, $sz, $posLimit, var$10; $positive = 1; if ($value < 0) { $positive = 0; $value = -$value | 0; } a: { if ($rt_ucmp($value, $radix) < 0) { if ($positive) jl_AbstractStringBuilder_insertSpace($this, $target, $target + 1 | 0); else { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 2 | 0); var$5 = $this.$buffer.data; var$6 = $target + 1 | 0; var$5[$target] = 45; $target = var$6; } $this.$buffer.data[$target] = jl_Character_forDigit($value, $radix); } else { $pos = 1; $sz = 1; $posLimit = $rt_udiv((-1), $radix); b: { while (true) { var$10 = $rt_imul($pos, $radix); if ($rt_ucmp(var$10, $value) > 0) { var$10 = $pos; break b; } $sz = $sz + 1 | 0; if ($rt_ucmp(var$10, $posLimit) > 0) break; $pos = var$10; } } if (!$positive) $sz = $sz + 1 | 0; jl_AbstractStringBuilder_insertSpace($this, $target, $target + $sz | 0); if ($positive) $positive = $target; else { var$5 = $this.$buffer.data; $positive = $target + 1 | 0; var$5[$target] = 45; } while (true) { if (!var$10) break a; var$5 = $this.$buffer.data; $target = $positive + 1 | 0; var$5[$positive] = jl_Character_forDigit($rt_udiv($value, var$10), $radix); $value = $rt_umod($value, var$10); var$10 = $rt_udiv(var$10, $radix); $positive = $target; } } } return $this; }, jl_AbstractStringBuilder_insert2 = ($this, $target, $value, $radix) => { let $positive, var$5, var$6, var$7, $sz, $pos, $posLimit, var$11; $positive = 1; if (Long_lt($value, Long_ZERO)) { $positive = 0; $value = Long_neg($value); } a: { var$5 = Long_fromInt($radix); if (jl_Long_compareUnsigned($value, var$5) < 0) { if ($positive) jl_AbstractStringBuilder_insertSpace($this, $target, $target + 1 | 0); else { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 2 | 0); var$6 = $this.$buffer.data; var$7 = $target + 1 | 0; var$6[$target] = 45; $target = var$7; } $this.$buffer.data[$target] = jl_Character_forDigit(Long_lo($value), $radix); } else { $sz = 1; $pos = Long_fromInt(1); $posLimit = jl_Long_divideUnsigned(Long_fromInt(-1), var$5); b: { while (true) { var$11 = Long_mul($pos, var$5); if (jl_Long_compareUnsigned(var$11, $value) > 0) { var$11 = $pos; break b; } $sz = $sz + 1 | 0; if (jl_Long_compareUnsigned(var$11, $posLimit) > 0) break; $pos = var$11; } } if (!$positive) $sz = $sz + 1 | 0; jl_AbstractStringBuilder_insertSpace($this, $target, $target + $sz | 0); if ($positive) $positive = $target; else { var$6 = $this.$buffer.data; $positive = $target + 1 | 0; var$6[$target] = 45; } while (true) { if (Long_eq(var$11, Long_ZERO)) break a; var$6 = $this.$buffer.data; $target = $positive + 1 | 0; var$6[$positive] = jl_Character_forDigit(Long_lo((jl_Long_divideUnsigned($value, var$11))), $radix); $value = jl_Long_remainderUnsigned($value, var$11); var$11 = jl_Long_divideUnsigned(var$11, var$5); $positive = $target; } } } return $this; }, jl_AbstractStringBuilder_insert5 = ($this, $target, $value) => { let $mantissa, var$4, $number, $exp, $negative, $intPart, $sz, $digits, $zeros, $leadingZeros, $leadingZero, $i, $pos, $intDigit; $mantissa = $rt_compare($value, 0.0); if (!$mantissa) { if (1.0 / $value === Infinity) { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 3 | 0); var$4 = $this.$buffer.data; $mantissa = $target + 1 | 0; var$4[$target] = 48; $target = $mantissa + 1 | 0; var$4[$mantissa] = 46; var$4[$target] = 48; return $this; } jl_AbstractStringBuilder_insertSpace($this, $target, $target + 4 | 0); var$4 = $this.$buffer.data; $mantissa = $target + 1 | 0; var$4[$target] = 45; $target = $mantissa + 1 | 0; var$4[$mantissa] = 48; $mantissa = $target + 1 | 0; var$4[$target] = 46; var$4[$mantissa] = 48; return $this; } if (isNaN($value) ? 1 : 0) { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 3 | 0); var$4 = $this.$buffer.data; $mantissa = $target + 1 | 0; var$4[$target] = 78; $target = $mantissa + 1 | 0; var$4[$mantissa] = 97; var$4[$target] = 78; return $this; } if (!isFinite($value) ? 1 : 0) { if ($mantissa > 0) { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 8 | 0); $mantissa = $target; } else { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 9 | 0); var$4 = $this.$buffer.data; $mantissa = $target + 1 | 0; var$4[$target] = 45; } var$4 = $this.$buffer.data; $target = $mantissa + 1 | 0; var$4[$mantissa] = 73; $mantissa = $target + 1 | 0; var$4[$target] = 110; $target = $mantissa + 1 | 0; var$4[$mantissa] = 102; $mantissa = $target + 1 | 0; var$4[$target] = 105; $target = $mantissa + 1 | 0; var$4[$mantissa] = 110; $mantissa = $target + 1 | 0; var$4[$target] = 105; $target = $mantissa + 1 | 0; var$4[$mantissa] = 116; var$4[$target] = 121; return $this; } $number = jl_AbstractStringBuilder$Constants_floatAnalysisResult; otcit_FloatAnalyzer_analyze($value, $number); $mantissa = $number.$mantissa0; $exp = $number.$exponent0; $negative = $number.$sign3; $intPart = 1; $sz = 1; if ($negative) $sz = 2; $digits = 9; $zeros = jl_AbstractStringBuilder_trailingDecimalZeros0($mantissa); if ($zeros > 0) $digits = $digits - $zeros | 0; $leadingZeros = 0; $leadingZero = 0; if ($exp < 7 && $exp >= (-3)) { if ($exp < 0) { $intPart = 0; $leadingZeros = ( -$exp | 0) - 1 | 0; $leadingZero = 1; $sz = $sz + 1 | 0; $exp = 0; } else { $intPart = $exp + 1 | 0; $i = $intPart + 1 | 0; if ($digits > $i) $i = $digits; $exp = 0; $digits = $i; } } if ($exp) { $sz = $sz + 2 | 0; if (!($exp > (-10) && $exp < 10)) $sz = $sz + 1 | 0; if ($exp < 0) $sz = $sz + 1 | 0; } if ($exp && $digits == $intPart) $digits = $digits + 1 | 0; jl_AbstractStringBuilder_insertSpace($this, $target, $target + ($sz + ($digits + $leadingZeros | 0) | 0) | 0); if (!$negative) $sz = $target; else { var$4 = $this.$buffer.data; $sz = $target + 1 | 0; var$4[$target] = 45; } $pos = 100000000; if ($leadingZero) { var$4 = $this.$buffer.data; $target = $sz + 1 | 0; var$4[$sz] = 48; $sz = $target + 1 | 0; var$4[$target] = 46; while (true) { $target = $leadingZeros + (-1) | 0; if ($leadingZeros <= 0) break; $i = $sz + 1 | 0; var$4[$sz] = 48; $leadingZeros = $target; $sz = $i; } } $i = 0; while ($i < $digits) { if ($pos <= 0) $intDigit = 0; else { $intDigit = $mantissa / $pos | 0; $mantissa = $mantissa % $pos | 0; } var$4 = $this.$buffer.data; $target = $sz + 1 | 0; var$4[$sz] = (48 + $intDigit | 0) & 65535; $intPart = $intPart + (-1) | 0; if ($intPart) $sz = $target; else { $sz = $target + 1 | 0; var$4[$target] = 46; } $pos = $pos / 10 | 0; $i = $i + 1 | 0; } if ($exp) { var$4 = $this.$buffer.data; $target = $sz + 1 | 0; var$4[$sz] = 69; if ($exp >= 0) $mantissa = $target; else { $exp = -$exp | 0; $mantissa = $target + 1 | 0; var$4[$target] = 45; } if ($exp < 10) $i = $mantissa; else { $i = $mantissa + 1 | 0; var$4[$mantissa] = (48 + ($exp / 10 | 0) | 0) & 65535; } var$4[$i] = (48 + ($exp % 10 | 0) | 0) & 65535; } return $this; }, jl_AbstractStringBuilder_insert4 = ($this, $target, $value) => { let $intDigit, var$4, $number, $mantissa, $exp, $negative, $intPart, $sz, $digits, $zeros, $leadingZeros, $leadingZero, $pos, $i; $intDigit = $rt_compare($value, 0.0); if (!$intDigit) { if (1.0 / $value === Infinity) { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 3 | 0); var$4 = $this.$buffer.data; $intDigit = $target + 1 | 0; var$4[$target] = 48; $target = $intDigit + 1 | 0; var$4[$intDigit] = 46; var$4[$target] = 48; return $this; } jl_AbstractStringBuilder_insertSpace($this, $target, $target + 4 | 0); var$4 = $this.$buffer.data; $intDigit = $target + 1 | 0; var$4[$target] = 45; $target = $intDigit + 1 | 0; var$4[$intDigit] = 48; $intDigit = $target + 1 | 0; var$4[$target] = 46; var$4[$intDigit] = 48; return $this; } if (isNaN($value) ? 1 : 0) { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 3 | 0); var$4 = $this.$buffer.data; $intDigit = $target + 1 | 0; var$4[$target] = 78; $target = $intDigit + 1 | 0; var$4[$intDigit] = 97; var$4[$target] = 78; return $this; } if (!isFinite($value) ? 1 : 0) { if ($intDigit > 0) { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 8 | 0); $intDigit = $target; } else { jl_AbstractStringBuilder_insertSpace($this, $target, $target + 9 | 0); var$4 = $this.$buffer.data; $intDigit = $target + 1 | 0; var$4[$target] = 45; } var$4 = $this.$buffer.data; $target = $intDigit + 1 | 0; var$4[$intDigit] = 73; $intDigit = $target + 1 | 0; var$4[$target] = 110; $target = $intDigit + 1 | 0; var$4[$intDigit] = 102; $intDigit = $target + 1 | 0; var$4[$target] = 105; $target = $intDigit + 1 | 0; var$4[$intDigit] = 110; $intDigit = $target + 1 | 0; var$4[$target] = 105; $target = $intDigit + 1 | 0; var$4[$intDigit] = 116; var$4[$target] = 121; return $this; } $number = jl_AbstractStringBuilder$Constants_doubleAnalysisResult; otcit_DoubleAnalyzer_analyze($value, $number); $mantissa = $number.$mantissa; $exp = $number.$exponent; $negative = $number.$sign2; $intPart = 1; $sz = 1; if ($negative) $sz = 2; $digits = 18; $zeros = jl_AbstractStringBuilder_trailingDecimalZeros($mantissa); if ($zeros > 0) $digits = $digits - $zeros | 0; $leadingZeros = 0; $leadingZero = 0; if ($exp < 7 && $exp >= (-3)) { if ($exp < 0) { $intPart = 0; $leadingZeros = ( -$exp | 0) - 1 | 0; $leadingZero = 1; $sz = $sz + 1 | 0; $exp = 0; } else { $intPart = $exp + 1 | 0; $intDigit = $intPart + 1 | 0; if ($digits > $intDigit) $intDigit = $digits; $exp = 0; $digits = $intDigit; } } if ($exp) { $sz = $sz + 2 | 0; if (!($exp > (-10) && $exp < 10)) $sz = $sz + 1 | 0; if (!($exp > (-100) && $exp < 100)) $sz = $sz + 1 | 0; if ($exp < 0) $sz = $sz + 1 | 0; } if ($exp && $digits == $intPart) $digits = $digits + 1 | 0; jl_AbstractStringBuilder_insertSpace($this, $target, $target + ($sz + ($digits + $leadingZeros | 0) | 0) | 0); if (!$negative) $negative = $target; else { var$4 = $this.$buffer.data; $negative = $target + 1 | 0; var$4[$target] = 45; } $pos = Long_create(1569325056, 23283064); if ($leadingZero) { var$4 = $this.$buffer.data; $target = $negative + 1 | 0; var$4[$negative] = 48; $negative = $target + 1 | 0; var$4[$target] = 46; while (true) { $target = $leadingZeros + (-1) | 0; if ($leadingZeros <= 0) break; $intDigit = $negative + 1 | 0; var$4[$negative] = 48; $leadingZeros = $target; $negative = $intDigit; } } $i = 0; while ($i < $digits) { if (Long_le($pos, Long_ZERO)) $intDigit = 0; else { $intDigit = Long_lo(Long_div($mantissa, $pos)); $mantissa = Long_rem($mantissa, $pos); } var$4 = $this.$buffer.data; $target = $negative + 1 | 0; var$4[$negative] = (48 + $intDigit | 0) & 65535; $intPart = $intPart + (-1) | 0; if ($intPart) $negative = $target; else { $negative = $target + 1 | 0; var$4[$target] = 46; } $pos = Long_div($pos, Long_fromInt(10)); $i = $i + 1 | 0; } if ($exp) { var$4 = $this.$buffer.data; $leadingZeros = $negative + 1 | 0; var$4[$negative] = 69; if ($exp >= 0) $intDigit = $leadingZeros; else { $exp = -$exp | 0; $intDigit = $leadingZeros + 1 | 0; var$4[$leadingZeros] = 45; } if ($exp >= 100) { $target = $intDigit + 1 | 0; var$4[$intDigit] = (48 + ($exp / 100 | 0) | 0) & 65535; $exp = $exp % 100 | 0; $leadingZeros = $target + 1 | 0; var$4[$target] = (48 + ($exp / 10 | 0) | 0) & 65535; } else if ($exp < 10) $leadingZeros = $intDigit; else { $leadingZeros = $intDigit + 1 | 0; var$4[$intDigit] = (48 + ($exp / 10 | 0) | 0) & 65535; } var$4[$leadingZeros] = (48 + ($exp % 10 | 0) | 0) & 65535; } return $this; }, jl_AbstractStringBuilder_trailingDecimalZeros0 = $n => { let $result, $zeros, var$4; if (!($n % 1000000000 | 0)) return 9; $result = 0; $zeros = 1; if (!($n % 100000000 | 0)) { $result = 8; $zeros = 100000000; } var$4 = $zeros * 10000 | 0; if ($n % var$4 | 0) var$4 = $zeros; else $result = $result | 4; $zeros = var$4 * 100 | 0; if ($n % $zeros | 0) $zeros = var$4; else $result = $result | 2; if (!($n % ($zeros * 10 | 0) | 0)) $result = $result | 1; return $result; }, jl_AbstractStringBuilder_trailingDecimalZeros = $n => { let $zeros, $result, $bit, var$5, $i; $zeros = Long_fromInt(1); $result = 0; $bit = 16; var$5 = jl_AbstractStringBuilder$Constants_longLogPowersOfTen.data; $i = var$5.length - 1 | 0; while ($i >= 0) { if (Long_eq(Long_rem($n, Long_mul($zeros, var$5[$i])), Long_ZERO)) { $result = $result | $bit; $zeros = Long_mul($zeros, var$5[$i]); } $bit = $bit >>> 1 | 0; $i = $i + (-1) | 0; } return $result; }, jl_AbstractStringBuilder_append2 = ($this, $c) => { return $this.$insert2($this.$length0, $c); }, jl_AbstractStringBuilder_insert7 = ($this, $index, $c) => { jl_AbstractStringBuilder_insertSpace($this, $index, $index + 1 | 0); $this.$buffer.data[$index] = $c; return $this; }, jl_AbstractStringBuilder_insert1 = ($this, $index, $obj) => { jl_AbstractStringBuilder_insert($this, $index, $obj === null ? $rt_s(1) : $obj.$toString()); return $this; }, jl_AbstractStringBuilder_ensureCapacity = ($this, $capacity) => { let var$2, var$3, $newLength, var$5, var$6, var$7; var$2 = $this.$buffer.data; var$3 = var$2.length; if (var$3 >= $capacity) return; if (var$3 >= 1073741823) $newLength = 2147483647; else { var$5 = var$3 * 2 | 0; $newLength = 5; if (var$5 > $newLength) $newLength = var$5; if ($capacity > $newLength) $newLength = $capacity; } var$6 = $rt_createCharArray($newLength); if ($newLength < var$3) var$3 = $newLength; var$7 = var$6.data; $capacity = 0; while ($capacity < var$3) { var$7[$capacity] = var$2[$capacity]; $capacity = $capacity + 1 | 0; } $this.$buffer = var$6; }, jl_AbstractStringBuilder_toString = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = new jl_String; var$2 = $this.$buffer; var$3 = var$2.data; var$4 = $this.$length0; var$5 = var$3.length; if (var$4 >= 0 && var$4 <= (var$5 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$2.data, 0, var$4); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, jl_AbstractStringBuilder_insert3 = ($this, $index, $s, $i, $end) => { let var$5, var$6; if ($i <= $end && $end <= $s.$length() && $i >= 0) { jl_AbstractStringBuilder_insertSpace($this, $index, ($index + $end | 0) - $i | 0); while ($i < $end) { var$5 = $this.$buffer.data; var$6 = $index + 1 | 0; var$5[$index] = $s.$charAt($i); $i = $i + 1 | 0; $index = var$6; } return $this; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); }, jl_AbstractStringBuilder_insert6 = ($this, $index, $chars, $offset, $len) => { let var$5, var$6, var$7, var$8; jl_AbstractStringBuilder_insertSpace($this, $index, $index + $len | 0); var$5 = $len + $offset | 0; while ($offset < var$5) { var$6 = $chars.data; var$7 = $this.$buffer.data; $len = $index + 1 | 0; var$8 = $offset + 1 | 0; var$7[$index] = var$6[$offset]; $index = $len; $offset = var$8; } return $this; }, jl_AbstractStringBuilder_deleteCharAt = ($this, $i) => { let var$2, var$3, $i_0, var$5; if ($i >= 0) { var$2 = $this.$length0; if ($i < var$2) { var$2 = var$2 - 1 | 0; $this.$length0 = var$2; while ($i < var$2) { var$3 = $this.$buffer.data; $i_0 = $i + 1 | 0; var$3[$i] = var$3[$i_0]; $i = $i_0; } return $this; } } var$5 = new jl_StringIndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); }, jl_AbstractStringBuilder_delete = ($this, $start, $end) => { let var$3, var$4, $sz, $i, var$7, var$8; if ($start >= 0) { var$3 = $rt_compare($start, $end); if (var$3 <= 0) { var$4 = $this.$length0; if ($start <= var$4) { if (!var$3) return $this; if ($end > var$4) $end = var$4; $sz = var$4 - $end | 0; $this.$length0 = var$4 - ($end - $start | 0) | 0; $i = 0; while ($i < $sz) { var$7 = $this.$buffer.data; var$4 = $start + 1 | 0; var$3 = $end + 1 | 0; var$7[$start] = var$7[$end]; $i = $i + 1 | 0; $start = var$4; $end = var$3; } return $this; } } } var$8 = new jl_StringIndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); }, jl_AbstractStringBuilder_insertSpace = ($this, $start, $end) => { let var$3, $sz, $i, var$6; var$3 = $this.$length0; $sz = var$3 - $start | 0; $this.$ensureCapacity((var$3 + $end | 0) - $start | 0); $i = $sz - 1 | 0; while ($i >= 0) { var$6 = $this.$buffer.data; var$6[$end + $i | 0] = var$6[$start + $i | 0]; $i = $i + (-1) | 0; } $this.$length0 = $this.$length0 + ($end - $start | 0) | 0; }, jl_Appendable = $rt_classWithoutFields(0), jl_StringBuilder = $rt_classWithoutFields(jl_AbstractStringBuilder), jl_StringBuilder__init_0 = $this => { $this.$buffer = $rt_createCharArray(16); }, jl_StringBuilder__init_ = () => { let var_0 = new jl_StringBuilder(); jl_StringBuilder__init_0(var_0); return var_0; }, jl_StringBuilder_append = ($this, $obj) => { jl_AbstractStringBuilder_insert($this, $this.$length0, $obj === null ? $rt_s(1) : $obj.$toString()); return $this; }, jl_StringBuilder_append2 = ($this, $string) => { jl_AbstractStringBuilder_insert($this, $this.$length0, $string); return $this; }, jl_StringBuilder_append0 = ($this, $value) => { jl_AbstractStringBuilder_insert0($this, $this.$length0, $value, 10); return $this; }, jl_StringBuilder_append5 = ($this, $value) => { jl_AbstractStringBuilder_insert5($this, $this.$length0, $value); return $this; }, jl_StringBuilder_append1 = ($this, $c) => { let var$2; var$2 = $this.$length0; jl_AbstractStringBuilder_insertSpace($this, var$2, var$2 + 1 | 0); $this.$buffer.data[var$2] = $c; return $this; }, jl_StringBuilder_delete = ($this, $start, $end) => { jl_AbstractStringBuilder_delete($this, $start, $end); return $this; }, jl_StringBuilder_insert = ($this, $index, $string) => { jl_AbstractStringBuilder_insert($this, $index, $string); return $this; }, jl_StringBuilder_subSequence = ($this, var$1, var$2) => { let var$3, var$4, var$5, var$6; if (var$1 <= var$2 && var$1 >= 0 && var$2 <= $this.$length0) { var$3 = new jl_String; var$4 = $this.$buffer; var$5 = var$4.data; var$2 = var$2 - var$1 | 0; var$6 = var$5.length; if (var$1 >= 0 && var$2 >= 0 && var$2 <= (var$6 - var$1 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, var$1, var$2); return var$3; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); }, jl_StringBuilder_insert4 = ($this, var$1, var$2, var$3, var$4) => { let var$5, var$6, var$7, var$8; jl_AbstractStringBuilder_insertSpace($this, var$1, var$1 + var$4 | 0); var$5 = var$4 + var$3 | 0; while (var$3 < var$5) { var$6 = var$2.data; var$7 = $this.$buffer.data; var$4 = var$1 + 1 | 0; var$8 = var$3 + 1 | 0; var$7[var$1] = var$6[var$3]; var$1 = var$4; var$3 = var$8; } return $this; }, jl_StringBuilder_append4 = ($this, var$1, var$2, var$3) => { let var$4, var$5, var$6, var$7, var$8; var$4 = $this.$length0; jl_AbstractStringBuilder_insertSpace($this, var$4, var$4 + var$3 | 0); var$5 = var$3 + var$2 | 0; while (var$2 < var$5) { var$6 = var$1.data; var$7 = $this.$buffer.data; var$3 = var$4 + 1 | 0; var$8 = var$2 + 1 | 0; var$7[var$4] = var$6[var$2]; var$4 = var$3; var$2 = var$8; } return $this; }, jl_StringBuilder_insert3 = ($this, var$1, var$2, var$3, var$4) => { jl_AbstractStringBuilder_insert3($this, var$1, var$2, var$3, var$4); return $this; }, jl_StringBuilder_append3 = ($this, var$1, var$2, var$3) => { jl_AbstractStringBuilder_insert3($this, $this.$length0, var$1, var$2, var$3); return $this; }, jl_StringBuilder_charAt = ($this, var$1) => { let var$2; if (var$1 >= 0 && var$1 < $this.$length0) return $this.$buffer.data[var$1]; var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, jl_StringBuilder_length = $this => { return $this.$length0; }, jl_StringBuilder_toString = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = new jl_String; var$2 = $this.$buffer; var$3 = var$2.data; var$4 = $this.$length0; var$5 = var$3.length; if (var$4 >= 0 && var$4 <= (var$5 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$2.data, 0, var$4); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, jl_StringBuilder_ensureCapacity = ($this, var$1) => { jl_AbstractStringBuilder_ensureCapacity($this, var$1); }, jl_StringBuilder_insert1 = ($this, var$1, var$2) => { jl_AbstractStringBuilder_insert($this, var$1, var$2 === null ? $rt_s(1) : var$2.$toString()); return $this; }, jl_StringBuilder_insert2 = ($this, var$1, var$2) => { jl_AbstractStringBuilder_insertSpace($this, var$1, var$1 + 1 | 0); $this.$buffer.data[var$1] = var$2; return $this; }, jl_StringBuilder_insert0 = ($this, var$1, var$2) => { jl_AbstractStringBuilder_insert($this, var$1, var$2); return $this; }; function oj_JSONObject() { jl_Object.call(this); this.$map = null; } let oj_JSONObject_NUMBER_PATTERN = null, oj_JSONObject_NULL = null, oj_JSONObject_$callClinit = () => { oj_JSONObject_$callClinit = $rt_eraseClinit(oj_JSONObject); oj_JSONObject__clinit_(); }, oj_JSONObject__init_0 = $this => { oj_JSONObject_$callClinit(); $this.$map = ju_HashMap__init_(); }, oj_JSONObject__init_10 = () => { let var_0 = new oj_JSONObject(); oj_JSONObject__init_0(var_0); return var_0; }, oj_JSONObject__init_ = ($this, $x) => { let var$2, $c, $key, $value, var$6, var$7, var$8, var$9, var$10, var$11, $prev, $$je; oj_JSONObject_$callClinit(); $this.$map = ju_HashMap__init_(); a: { while (true) { if ($x.$usePrevious) { $x.$usePrevious = 0; var$2 = $x.$previous0; } else try { var$2 = $x.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $x = $$je; break; } else { throw $$e; } } if (var$2 > 0) { oj_JSONTokener_incrementIndexes($x, var$2); $c = var$2 & 65535; $x.$previous0 = $c; } else { $x.$eof = 1; $c = 0; } if (!$c) break a; if ($c > 32) break a; } $key = new oj_JSONException; $value = $x.$getMessage(); $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $key.$message = $value; $key.$cause = $x; $rt_throw($key); } if ($c != 123) { $value = new oj_JSONException; var$6 = $x.$index5; var$7 = $x.$character; var$8 = $x.$line; $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$6, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$7, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$8, 10); $c = $x.$length0; jl_AbstractStringBuilder_insertSpace($x, $c, $c + 1 | 0); var$9 = $x.$buffer; var$10 = var$9.data; var$10[$c] = 93; var$11 = new jl_String; $c = $x.$length0; $prev = var$10.length; if ($c >= 0 && $c <= ($prev - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(118)); jl_AbstractStringBuilder_insert($x, $x.$length0, var$11); $key = new jl_String; var$9 = $x.$buffer; var$10 = var$9.data; $c = $x.$length0; $prev = var$10.length; if ($c >= 0 && $c <= ($prev - 0 | 0)) { $key.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $value.$suppressionEnabled = 1; $value.$writableStackTrace = 1; $value.$message = $key; $rt_throw($value); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } b: { c: { while (true) { $prev = $x.$previous0; while (true) { if ($x.$usePrevious) { $x.$usePrevious = 0; var$2 = $x.$previous0; } else try { var$2 = $x.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $x = $$je; $key = new oj_JSONException; $value = $x.$getMessage(); $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $key.$message = $value; $key.$cause = $x; $rt_throw($key); } else { throw $$e; } } if (var$2 > 0) { oj_JSONTokener_incrementIndexes($x, var$2); $c = var$2 & 65535; $x.$previous0 = $c; } else { $x.$eof = 1; $c = 0; } if (!$c) break; if ($c > 32) break; } d: { switch ($c) { case 0: $value = new oj_JSONException; var$6 = $x.$index5; var$7 = $x.$character; var$8 = $x.$line; $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$6, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$7, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$8, 10); $c = $x.$length0; jl_AbstractStringBuilder_insertSpace($x, $c, $c + 1 | 0); var$9 = $x.$buffer; var$10 = var$9.data; var$10[$c] = 93; var$11 = new jl_String; $c = $x.$length0; $prev = var$10.length; if ($c >= 0 && $c <= ($prev - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(119)); jl_AbstractStringBuilder_insert($x, $x.$length0, var$11); $key = new jl_String; var$9 = $x.$buffer; var$10 = var$9.data; $c = $x.$length0; $prev = var$10.length; if ($c >= 0 && $c <= ($prev - 0 | 0)) { $key.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $value.$suppressionEnabled = 1; $value.$writableStackTrace = 1; $value.$message = $key; $rt_throw($value); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); case 91: case 123: break; case 125: return; default: break d; } if ($prev == 123) { $value = new oj_JSONException; var$6 = $x.$index5; var$7 = $x.$character; var$8 = $x.$line; $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$6, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$7, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$8, 10); $c = $x.$length0; jl_AbstractStringBuilder_insertSpace($x, $c, $c + 1 | 0); var$9 = $x.$buffer; var$10 = var$9.data; var$10[$c] = 93; var$11 = new jl_String; $c = $x.$length0; $prev = var$10.length; if ($c >= 0 && $c <= ($prev - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(120)); jl_AbstractStringBuilder_insert($x, $x.$length0, var$11); $key = new jl_String; var$9 = $x.$buffer; var$10 = var$9.data; $c = $x.$length0; $prev = var$10.length; if ($c >= 0 && $c <= ($prev - 0 | 0)) { $key.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $value.$suppressionEnabled = 1; $value.$writableStackTrace = 1; $value.$message = $key; $rt_throw($value); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } } if ($x.$usePrevious) break b; if (Long_le($x.$index5, Long_ZERO)) break b; oj_JSONTokener_decrementIndexes($x); $x.$usePrevious = 1; $x.$eof = 0; $key = (oj_JSONTokener_nextValue($x)).$toString(); while (true) { if ($x.$usePrevious) { $x.$usePrevious = 0; var$2 = $x.$previous0; } else try { var$2 = $x.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $x = $$je; $key = new oj_JSONException; $value = $x.$getMessage(); $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $key.$message = $value; $key.$cause = $x; $rt_throw($key); } else { throw $$e; } } if (var$2 > 0) { oj_JSONTokener_incrementIndexes($x, var$2); $c = var$2 & 65535; $x.$previous0 = $c; } else { $x.$eof = 1; $c = 0; } if (!$c) break; if ($c > 32) break; } if ($c != 58) { $value = new oj_JSONException; var$6 = $x.$index5; var$7 = $x.$character; var$8 = $x.$line; $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$6, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$7, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$8, 10); $c = $x.$length0; jl_AbstractStringBuilder_insertSpace($x, $c, $c + 1 | 0); var$9 = $x.$buffer; var$10 = var$9.data; var$10[$c] = 93; var$11 = new jl_String; $c = $x.$length0; $prev = var$10.length; if ($c >= 0 && $c <= ($prev - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(121)); jl_AbstractStringBuilder_insert($x, $x.$length0, var$11); $key = new jl_String; var$9 = $x.$buffer; var$10 = var$9.data; $c = $x.$length0; $prev = var$10.length; if ($c >= 0 && $c <= ($prev - 0 | 0)) { $key.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $value.$suppressionEnabled = 1; $value.$writableStackTrace = 1; $value.$message = $key; $rt_throw($value); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } if ($key !== null) { e: { $value = $this.$map; if (!$key.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= $key.$nativeString.length) break e; $key.$hashCode1 = (31 * $key.$hashCode1 | 0) + $key.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } $prev = $key.$hashCode1; var$9 = $value.$elementData.data; $value = var$9[$prev & (var$9.length - 1 | 0)]; while ($value !== null) { if ($value.$origKeyHash == $prev) { f: { var$11 = $value.$key; if ($key !== var$11) { if ($key === var$11) var$2 = 1; else if (!(var$11 instanceof jl_String)) var$2 = 0; else { var$11 = var$11; var$2 = $key.$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break f; } } var$2 = 1; } if (var$2) break; } $value = $value.$next3; } if (($value === null ? null : $value.$value1) !== null) { $value = new jl_StringBuilder; $value.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($value, $value.$length0, $rt_s(122)); var$2 = $value.$length0; if ($key === null) $key = $rt_s(1); jl_AbstractStringBuilder_insert($value, var$2, $key); $c = $value.$length0; jl_AbstractStringBuilder_insertSpace($value, $c, $c + 1 | 0); var$9 = $value.$buffer; var$10 = var$9.data; var$10[$c] = 34; var$11 = new jl_String; $c = $value.$length0; $prev = var$10.length; if ($c >= 0 && $c <= ($prev - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $key = new oj_JSONException; var$6 = $x.$index5; var$7 = $x.$character; var$8 = $x.$line; $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$6, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$7, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$8, 10); $c = $x.$length0; jl_AbstractStringBuilder_insertSpace($x, $c, $c + 1 | 0); var$9 = $x.$buffer; var$10 = var$9.data; var$10[$c] = 93; $value = new jl_String; $c = $x.$length0; $prev = var$10.length; if ($c >= 0 && $c <= ($prev - 0 | 0)) { $value.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, var$11); jl_AbstractStringBuilder_insert($x, $x.$length0, $value); $value = new jl_String; var$9 = $x.$buffer; var$10 = var$9.data; $c = $x.$length0; $prev = var$10.length; if ($c >= 0 && $c <= ($prev - 0 | 0)) { $value.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $key.$message = $value; $rt_throw($key); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } $value = oj_JSONTokener_nextValue($x); if ($value !== null) { if ($key === null) { $x = new jl_NullPointerException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $x.$message = $rt_s(123); $rt_throw($x); } if ($value instanceof jl_Number && !oj_JSONObject_numberIsFinite($value)) { $key = new oj_JSONException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $key.$message = $rt_s(11); $rt_throw($key); } ju_HashMap_putImpl($this.$map, $key, $value); } } while (true) { if ($x.$usePrevious) { $x.$usePrevious = 0; var$2 = $x.$previous0; } else try { var$2 = $x.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $x = $$je; $key = new oj_JSONException; $value = $x.$getMessage(); $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $key.$message = $value; $key.$cause = $x; $rt_throw($key); } else { throw $$e; } } if (var$2 > 0) { oj_JSONTokener_incrementIndexes($x, var$2); $c = var$2 & 65535; $x.$previous0 = $c; } else { $x.$eof = 1; $c = 0; } if (!$c) break; if ($c > 32) break; } switch ($c) { case 44: case 59: break; case 125: return; default: $value = new oj_JSONException; var$6 = $x.$index5; var$7 = $x.$character; var$8 = $x.$line; $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$6, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$7, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$8, 10); $c = $x.$length0; jl_AbstractStringBuilder_insertSpace($x, $c, $c + 1 | 0); var$9 = $x.$buffer; var$10 = var$9.data; var$10[$c] = 93; var$11 = new jl_String; $c = $x.$length0; $prev = var$10.length; if ($c >= 0 && $c <= ($prev - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(124)); jl_AbstractStringBuilder_insert($x, $x.$length0, var$11); $key = new jl_String; var$9 = $x.$buffer; var$10 = var$9.data; $c = $x.$length0; $prev = var$10.length; if ($c >= 0 && $c <= ($prev - 0 | 0)) { $key.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $value.$suppressionEnabled = 1; $value.$writableStackTrace = 1; $value.$message = $key; $rt_throw($value); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } while (true) { if ($x.$usePrevious) { $x.$usePrevious = 0; var$2 = $x.$previous0; } else try { var$2 = $x.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $x = $$je; $key = new oj_JSONException; $value = $x.$getMessage(); $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $key.$message = $value; $key.$cause = $x; $rt_throw($key); } else { throw $$e; } } if (var$2 > 0) { oj_JSONTokener_incrementIndexes($x, var$2); $c = var$2 & 65535; $x.$previous0 = $c; } else { $x.$eof = 1; $c = 0; } if (!$c) break; if ($c > 32) break; } if ($c == 125) break; if ($x.$usePrevious) break c; if (Long_le($x.$index5, Long_ZERO)) break c; oj_JSONTokener_decrementIndexes($x); $x.$usePrevious = 1; $x.$eof = 0; } return; } $key = new oj_JSONException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $key.$message = $rt_s(125); $rt_throw($key); } $key = new oj_JSONException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $key.$message = $rt_s(125); $rt_throw($key); }, oj_JSONObject__init_6 = var_0 => { let var_1 = new oj_JSONObject(); oj_JSONObject__init_(var_1, var_0); return var_1; }, oj_JSONObject__init_4 = ($this, $m) => { let var$2, var$3, var$4, var$5, var$6, $value; oj_JSONObject_$callClinit(); a: { if ($m === null) $this.$map = ju_HashMap__init_(); else { var$2 = new ju_HashMap; var$3 = $m.$elementCount; if (var$3 < 0) { $m = new jl_IllegalArgumentException; $m.$suppressionEnabled = 1; $m.$writableStackTrace = 1; $rt_throw($m); } var$3 = ju_HashMap_calculateCapacity(var$3); var$2.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$4.data; var$2.$elementData = var$4; var$2.$loadFactor = 0.75; var$2.$threshold = var$5.length * 0.75 | 0; $this.$map = var$2; var$6 = new ju_HashMap$EntryIterator; var$6.$associatedMap = $m; var$6.$expectedModCount = $m.$modCount0; var$6.$futureEntry0 = null; while (true) { if (!ju_HashMap$AbstractMapIterator_hasNext(var$6)) break a; ju_HashMap$AbstractMapIterator_makeNext(var$6); $m = var$6.$currentEntry0; var$2 = $m.$key; if (var$2 === null) { $m = new jl_NullPointerException; $m.$suppressionEnabled = 1; $m.$writableStackTrace = 1; $m.$message = $rt_s(123); $rt_throw($m); } $value = $m.$value1; if ($value !== null) ju_HashMap_putImpl($this.$map, var$2.$toString(), oj_JSONObject_wrap($value, null)); } } } }, oj_JSONObject__init_2 = var_0 => { let var_1 = new oj_JSONObject(); oj_JSONObject__init_4(var_1, var_0); return var_1; }, oj_JSONObject__init_5 = ($this, $bean) => { let var$2, var$3; oj_JSONObject_$callClinit(); $this.$map = ju_HashMap__init_(); var$2 = ju_IdentityHashMap__init_0(); if (var$2.$elementCount0 ? 0 : 1) { var$3 = new ju_SetFromMap; var$3.$map2 = var$2; oj_JSONObject_populateMap($this, $bean, var$3); return; } $bean = new jl_IllegalArgumentException; $bean.$suppressionEnabled = 1; $bean.$writableStackTrace = 1; $rt_throw($bean); }, oj_JSONObject__init_9 = var_0 => { let var_1 = new oj_JSONObject(); oj_JSONObject__init_5(var_1, var_0); return var_1; }, oj_JSONObject__init_8 = ($this, $bean, $objectsRecord) => { oj_JSONObject_$callClinit(); $this.$map = ju_HashMap__init_(); oj_JSONObject_populateMap($this, $bean, $objectsRecord); }, oj_JSONObject__init_3 = (var_0, var_1) => { let var_2 = new oj_JSONObject(); oj_JSONObject__init_8(var_2, var_0, var_1); return var_2; }, oj_JSONObject__init_7 = ($this, $source) => { let var$2, var$3; oj_JSONObject_$callClinit(); var$2 = new oj_JSONTokener; var$3 = new ji_StringReader; var$3.$lock0 = new jl_Object; if ($source !== null) { var$3.$string3 = $source; oj_JSONTokener__init_(var$2, var$3); oj_JSONObject__init_($this, var$2); return; } $source = new jl_NullPointerException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); }, oj_JSONObject__init_1 = var_0 => { let var_1 = new oj_JSONObject(); oj_JSONObject__init_7(var_1, var_0); return var_1; }, oj_JSONObject_getBoolean = ($this, $key) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $$je; if ($key === null) { $key = new oj_JSONException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $key.$message = $rt_s(123); $rt_throw($key); } a: { var$2 = $this.$map; if (!$key.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $key.$nativeString.length) break a; $key.$hashCode1 = (31 * $key.$hashCode1 | 0) + $key.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $key.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($key !== var$6) { if ($key === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $key.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } var$7 = var$2 === null ? null : var$2.$value1; if (var$7 === null) { var$2 = new oj_JSONException; oj_JSONObject_$callClinit(); var$6 = new ji_StringWriter; var$6.$lock = var$6; var$7 = new jl_StringBuffer; var$7.$buffer = $rt_createCharArray(16); var$6.$buf0 = var$7; var$6.$lock = var$7; jl_Object_monitorEnterSync(var$7); c: { d: { try { e: { try { $key = ji_StringWriter_toString(oj_JSONObject_quote($key, var$6)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break e; } else { throw $$e; } } jl_Object_monitorExitSync(var$7); break c; } $key = $rt_s(18); jl_Object_monitorExitSync(var$7); break d; } catch ($$e) { $$je = $rt_wrapException($$e); $key = $$je; } jl_Object_monitorExitSync(var$7); $rt_throw($key); } } var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(19)); var$3 = var$6.$length0; if ($key === null) $key = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$3, $key); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(20)); $key = new jl_String; var$5 = var$6.$buffer; var$8 = var$5.data; var$9 = var$6.$length0; var$4 = var$8.length; if (var$9 >= 0 && var$9 <= (var$4 - 0 | 0)) { $key.$nativeString = $rt_charArrayToString(var$5.data, 0, var$9); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $key; $rt_throw(var$2); } $key = new jl_IndexOutOfBoundsException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $rt_throw($key); } f: { if (!var$7.$equals(jl_Boolean_FALSE)) { var$3 = var$7 instanceof jl_String; if (!var$3) break f; if (!jl_String_equalsIgnoreCase(var$7, $rt_s(69))) break f; } return 0; } g: { if (!var$7.$equals(jl_Boolean_TRUE)) { if (!var$3) break g; if (!jl_String_equalsIgnoreCase(var$7, $rt_s(70))) break g; } return 1; } var$2 = null; oj_JSONObject_$callClinit(); var$7 = new oj_JSONException; var$10 = new ji_StringWriter; var$10.$lock = var$10; var$11 = new jl_StringBuffer; var$11.$buffer = $rt_createCharArray(16); var$10.$buf0 = var$11; var$10.$lock = var$11; jl_Object_monitorEnterSync(var$11); h: { i: { try { j: { try { $key = ji_StringWriter_toString(oj_JSONObject_quote($key, var$10)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break j; } else { throw $$e; } } jl_Object_monitorExitSync(var$11); break h; } $key = $rt_s(18); jl_Object_monitorExitSync(var$11); break i; } catch ($$e) { $$je = $rt_wrapException($$e); $key = $$je; } jl_Object_monitorExitSync(var$11); $rt_throw($key); } } var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(19)); var$3 = var$10.$length0; if ($key === null) $key = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, var$3, $key); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(21)); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(126)); var$9 = var$10.$length0; jl_AbstractStringBuilder_insertSpace(var$10, var$9, var$9 + 1 | 0); var$5 = var$10.$buffer; var$8 = var$5.data; var$8[var$9] = 46; $key = new jl_String; var$9 = var$10.$length0; var$4 = var$8.length; if (var$9 >= 0 && var$9 <= (var$4 - 0 | 0)) { $key.$nativeString = $rt_charArrayToString(var$5.data, 0, var$9); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $key; var$7.$cause = var$2; $rt_throw(var$7); } $key = new jl_IndexOutOfBoundsException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $rt_throw($key); }, oj_JSONObject_entrySet = $this => { let var$1, var$2; var$1 = $this.$map; var$2 = new ju_HashMap$HashMapEntrySet; var$2.$associatedMap0 = var$1; return var$2; }, oj_JSONObject_length = $this => { return $this.$map.$elementCount; }, oj_JSONObject_numberToString = $number => { let $string; oj_JSONObject_$callClinit(); if ($number === null) { $number = new oj_JSONException; $number.$suppressionEnabled = 1; $number.$writableStackTrace = 1; $number.$message = $rt_s(127); $rt_throw($number); } if ($number instanceof jl_Number && !oj_JSONObject_numberIsFinite($number)) { $string = new oj_JSONException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $string.$message = $rt_s(11); $rt_throw($string); } $string = $number.$toString(); if (jl_String_indexOf($string, 46, 0) > 0 && jl_String_indexOf($string, 101, 0) < 0 && jl_String_indexOf($string, 69, 0) < 0) { while (jl_String_endsWith($string, $rt_s(128))) { $string = jl_String_substring($string, 0, $string.$nativeString.length - 1 | 0); } if (jl_String_endsWith($string, $rt_s(129))) $string = jl_String_substring($string, 0, $string.$nativeString.length - 1 | 0); } return $string; }, oj_JSONObject_populateMap = ($this, $bean, $objectsRecord) => { let $method, $klass, $methods, $key, var$7, $includeSuperClass, $modifiers, var$10, $result, $$je; $method = $bean.constructor; if ($method === null) $klass = null; else { $klass = $method.classObject; if ($klass === null) { $klass = new jl_Class; $klass.$platformClass = $method; $method.classObject = $klass; } } jl_ClassLoader_$callClinit(); if (!(jl_ClassLoader_systemClassLoader === null ? 0 : 1)) $methods = jl_Class_getDeclaredMethods($klass); else { $method = ju_HashMap__init_(); jl_Class_findMethods($klass, $method); if ($method.$cachedValues === null) { $key = new ju_HashMap$2; $key.$this$01 = $method; $method.$cachedValues = $key; } $methods = ju_AbstractCollection_toArray($method.$cachedValues, $rt_createArray(jlr_Method, $method.$elementCount)); } $methods = $methods.data; var$7 = $methods.length; $includeSuperClass = 0; while ($includeSuperClass < var$7) { $method = $methods[$includeSuperClass]; $modifiers = otcir_Flags_getModifiers($method.$flags4, $method.$accessLevel); var$10 = !($modifiers & 1) ? 0 : 1; a: { if (!var$10) break a; if (!($modifiers & 8) ? 0 : 1) break a; if (($method.$parameterTypes.$clone0()).data.length) break a; if (!($method.$flags4 & 64) ? 0 : 1) break a; if ($method.$returnType === $rt_cls($rt_voidcls)) break a; $klass = $method.$name8; oj_JSONObject_$callClinit(); if ($rt_s(130) === $klass) var$10 = 1; else if (!($klass instanceof jl_String)) var$10 = 0; else { $result = $klass; var$10 = $rt_s(130).$nativeString !== $result.$nativeString ? 0 : 1; } b: { if (!var$10) { if ($rt_s(131) === $klass) var$10 = 1; else if (!($klass instanceof jl_String)) var$10 = 0; else { $result = $klass; var$10 = $rt_s(131).$nativeString !== $result.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 1; break b; } } var$10 = 0; } if (!var$10) break a; $key = oj_JSONObject_getKeyNameFromMethod($method); if ($key === null) break a; if ($key.$nativeString.length ? 0 : 1) break a; c: { try { d: { $result = jlr_Method_invoke($method, $bean, $rt_createArray(jl_Object, 0)); if ($result !== null) { if (ju_SetFromMap_contains($objectsRecord, $result)) $rt_throw(oj_JSONObject_recursivelyDefinedObjectException($key)); ju_SetFromMap_add($objectsRecord, $result); ju_HashMap_put($this.$map, $key, oj_JSONObject_wrap($result, $objectsRecord)); ju_SetFromMap_remove($objectsRecord, $result); if ($rt_isInstance($result, ji_Closeable)) try { $result.$close(); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_IllegalAccessException) { } else if ($$je instanceof jl_IllegalArgumentException) { break c; } else if ($$je instanceof jlr_InvocationTargetException) { break a; } else { throw $$e; } } break a; } } $includeSuperClass = $includeSuperClass + 1 | 0; } }, oj_JSONObject_getKeyNameFromMethod = $method => { let $ignoreDepth, $forcedNameDepth, $annotation, $name, $key, var$7, var$8, var$9; oj_JSONObject_$callClinit(); $ignoreDepth = oj_JSONObject_getAnnotationDepth($method, $rt_cls(oj_JSONPropertyIgnore)); if ($ignoreDepth > 0) { $forcedNameDepth = oj_JSONObject_getAnnotationDepth($method, $rt_cls(oj_JSONPropertyName)); if (!($forcedNameDepth >= 0 && $ignoreDepth > $forcedNameDepth)) return null; } $annotation = oj_JSONObject_getAnnotation($method, $rt_cls(oj_JSONPropertyName)); if ($annotation !== null && $annotation.$value() !== null && !($annotation.$value()).$isEmpty()) return $annotation.$value(); $name = $method.$name8; $ignoreDepth = $name === $rt_s(132) ? 1 : jl_String_startsWith($name, $rt_s(132), 0); if ($ignoreDepth && $name.$nativeString.length > 3) $key = jl_String_substring($name, 3, $name.$nativeString.length); else { $ignoreDepth = $name === $rt_s(133) ? 1 : jl_String_startsWith($name, $rt_s(133), 0); if ($ignoreDepth && $name.$nativeString.length > 2) $key = jl_String_substring($name, 2, $name.$nativeString.length); else return null; } if ($key.$nativeString.length) { if (0 >= $key.$nativeString.length) { $method = new jl_StringIndexOutOfBoundsException; $method.$suppressionEnabled = 1; $method.$writableStackTrace = 1; $rt_throw($method); } if (!(jl_Character_getType($key.$nativeString.charCodeAt(0)) != 2 ? 0 : 1)) { a: { if ($key.$nativeString.length == 1) { ju_Locale_$callClinit(); $method = ju_Locale_ROOT; $method = $key.$nativeString.toLocaleLowerCase((ju_Locale_toLanguageTag($method)).$nativeString); if ($method !== $key.$nativeString) $key = jl_String__init_($method); } else { if (1 >= $key.$nativeString.length) { $method = new jl_StringIndexOutOfBoundsException; $method.$suppressionEnabled = 1; $method.$writableStackTrace = 1; $rt_throw($method); } if (!(jl_Character_getType($key.$nativeString.charCodeAt(1)) != 1 ? 0 : 1)) { $method = jl_String_substring($key, 0, 1); ju_Locale_$callClinit(); $annotation = ju_Locale_ROOT; $annotation = $method.$nativeString.toLocaleLowerCase((ju_Locale_toLanguageTag($annotation)).$nativeString); if ($annotation !== $method.$nativeString) $method = jl_String__init_($annotation); $key = jl_String_substring($key, 1, $key.$nativeString.length); $annotation = new jl_StringBuilder; $annotation.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($annotation, $annotation.$length0, $method); $ignoreDepth = $annotation.$length0; if ($key === null) $key = $rt_s(1); jl_AbstractStringBuilder_insert($annotation, $ignoreDepth, $key); $key = new jl_String; var$7 = $annotation.$buffer; var$8 = var$7.data; $forcedNameDepth = $annotation.$length0; var$9 = var$8.length; if ($forcedNameDepth < 0) break a; if ($forcedNameDepth > (var$9 - 0 | 0)) break a; $key.$nativeString = $rt_charArrayToString(var$7.data, 0, $forcedNameDepth); } } return $key; } $method = new jl_IndexOutOfBoundsException; $method.$suppressionEnabled = 1; $method.$writableStackTrace = 1; $rt_throw($method); } } return null; }, oj_JSONObject_getAnnotation = ($m, $annotationClass) => { let $c, $i, $im, var$6, var$7, var$8, $$je; oj_JSONObject_$callClinit(); if ($m !== null && $annotationClass !== null) { $c = $m.$declaringClass; $i = $c.$platformClass.$meta.superclass; if ($i === null) $im = null; else { $im = $i.classObject; if ($im === null) { $im = new jl_Class; $im.$platformClass = $i; $i.classObject = $im; } } if ($im === null) return null; var$6 = (jl_Class_getInterfaces($c)).data; var$7 = var$6.length; var$8 = 0; a: while (true) { if (var$8 >= var$7) { b: { try { $m = oj_JSONObject_getAnnotation(jl_Class_getMethod(jl_Class_getSuperclass($c), jlr_Method_getName($m), jlr_Method_getParameterTypes($m)), $annotationClass); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_SecurityException) { break b; } else if ($$je instanceof jl_NoSuchMethodException) { return null; } else { throw $$e; } } return $m; } return null; } $i = var$6[var$8]; c: { d: { try { $im = oj_JSONObject_getAnnotation(jl_Class_getMethod($i, jlr_Method_getName($m), jlr_Method_getParameterTypes($m)), $annotationClass); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_SecurityException) { } else if ($$je instanceof jl_NoSuchMethodException) { break d; } else { throw $$e; } } break c; } } var$8 = var$8 + 1 | 0; } return $im; } return null; }, oj_JSONObject_getAnnotationDepth = ($m, $annotationClass) => { let $c, $i, $im, var$6, $d, var$8, $d_0, $$je; oj_JSONObject_$callClinit(); if ($m !== null && $annotationClass !== null) { $c = $m.$declaringClass; $i = $c.$platformClass.$meta.superclass; if ($i === null) $im = null; else { $im = $i.classObject; if ($im === null) { $im = new jl_Class; $im.$platformClass = $i; $i.classObject = $im; } } if ($im === null) return (-1); var$6 = (jl_Class_getInterfaces($c)).data; $d = var$6.length; var$8 = 0; a: while (true) { if (var$8 >= $d) { b: { c: { d: { try { $d = oj_JSONObject_getAnnotationDepth(jl_Class_getMethod(jl_Class_getSuperclass($c), jlr_Method_getName($m), jlr_Method_getParameterTypes($m)), $annotationClass); if ($d > 0) break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_SecurityException) { break c; } else if ($$je instanceof jl_NoSuchMethodException) { break b; } else { throw $$e; } } return (-1); } try { $d = $d + 1 | 0; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_SecurityException) { break c; } else if ($$je instanceof jl_NoSuchMethodException) { break b; } else { throw $$e; } } return $d; } return (-1); } return (-1); } $i = var$6[var$8]; e: { f: { try { $d_0 = oj_JSONObject_getAnnotationDepth(jl_Class_getMethod($i, jlr_Method_getName($m), jlr_Method_getParameterTypes($m)), $annotationClass); if ($d_0 <= 0) break e; $d_0 = $d_0 + 1 | 0; break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_SecurityException) { } else if ($$je instanceof jl_NoSuchMethodException) { break f; } else { throw $$e; } } break e; } } var$8 = var$8 + 1 | 0; } return $d_0; } return (-1); }, oj_JSONObject_quote0 = $string => { let $sw, var$3, $$je; oj_JSONObject_$callClinit(); $sw = new ji_StringWriter; $sw.$lock = $sw; var$3 = new jl_StringBuffer; var$3.$buffer = $rt_createCharArray(16); $sw.$buf0 = var$3; $sw.$lock = var$3; jl_Object_monitorEnterSync(var$3); a: { b: { try { try { $string = ji_StringWriter_toString(oj_JSONObject_quote($string, $sw)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break b; } else { throw $$e; } } jl_Object_monitorExitSync(var$3); } catch ($$e) { $$je = $rt_wrapException($$e); $string = $$je; break a; } return $string; } try { jl_Object_monitorExitSync(var$3); } catch ($$e) { $$je = $rt_wrapException($$e); $string = $$je; break a; } return $rt_s(18); } jl_Object_monitorExitSync(var$3); $rt_throw($string); }, oj_JSONObject_quote = ($string, $w) => { let $c, $len, var$5, var$6, $i, var$8, var$9, $hhhh, var$11; oj_JSONObject_$callClinit(); if ($string !== null && !($string.$nativeString.length ? 0 : 1)) { $c = 0; $len = $string.$nativeString.length; var$5 = $w.$buf0; var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 34; $i = 0; while (true) { if ($i >= $len) { $string = $w.$buf0; $c = $string.$length0; jl_AbstractStringBuilder_insertSpace($string, $c, $c + 1 | 0); $string.$buffer.data[$c] = 34; return $w; } if ($i < 0) break; if ($i >= $string.$nativeString.length) break; a: { var$8 = $string.$nativeString.charCodeAt($i); switch (var$8) { case 8: break; case 9: var$5 = $w.$buf0; jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(134)); break a; case 10: var$5 = $w.$buf0; jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(135)); break a; case 12: var$5 = $w.$buf0; jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(136)); break a; case 13: var$5 = $w.$buf0; jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(137)); break a; case 34: case 92: var$5 = $w.$buf0; $c = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, $c, $c + 1 | 0); var$5.$buffer.data[$c] = 92; var$5 = $w.$buf0; $c = var$8 & 65535; var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = $c; break a; case 47: if ($c == 60) { var$5 = $w.$buf0; var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 92; } var$5 = $w.$buf0; var$6 = var$8 & 65535; var$9 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$9, var$9 + 1 | 0); var$5.$buffer.data[var$9] = var$6; break a; default: if (var$8 >= 32 && !(var$8 >= 128 && var$8 < 160) && !(var$8 >= 8192 && var$8 < 8448)) { var$5 = $w.$buf0; $c = var$8 & 65535; var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = $c; break a; } var$5 = $w.$buf0; jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(138)); $hhhh = otci_IntegerUtil_toUnsignedLogRadixString(var$8, 4); var$5 = jl_String_substring($rt_s(139), 0, 0 + (4 - $hhhh.$nativeString.length | 0) | 0); var$11 = $w.$buf0; jl_AbstractStringBuilder_insert(var$11, var$11.$length0, var$5); var$5 = $w.$buf0; jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $hhhh); break a; } var$5 = $w.$buf0; jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(140)); } $i = $i + 1 | 0; $c = var$8; } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } var$5 = $w.$buf0; jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(141)); return $w; }, oj_JSONObject_numberIsFinite = $n => { let var$2; oj_JSONObject_$callClinit(); if ($n instanceof jl_Double) { var$2 = $n; if (!(!(!isFinite(var$2.$value10) ? 1 : 0) && !(isNaN(var$2.$value10) ? 1 : 0))) return 0; } a: { if ($n instanceof jl_Float) { $n = $n; if (!isFinite($n.$value3) ? 1 : 0) break a; if (isNaN($n.$value3) ? 1 : 0) break a; } return 1; } return 0; }, oj_JSONObject_isDecimalNotation = $val => { let var$2; oj_JSONObject_$callClinit(); a: { if (jl_String_indexOf($val, 46, 0) <= (-1) && jl_String_indexOf($val, 101, 0) <= (-1) && jl_String_indexOf($val, 69, 0) <= (-1)) { if ($rt_s(142) === $val) var$2 = 1; else if (!($val instanceof jl_String)) var$2 = 0; else { $val = $val; var$2 = $rt_s(142).$nativeString !== $val.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break a; } } var$2 = 1; } return var$2; }, oj_JSONObject_stringToNumber = $val => { let $initial, var$3, $bi, $bd, var$6, var$7, $at2, $at1, var$10, $d, $$je; oj_JSONObject_$callClinit(); if (0 >= $val.$nativeString.length) { $val = new jl_StringIndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $rt_throw($val); } $initial = $val.$nativeString.charCodeAt(0); var$3 = $rt_compare($initial, 48); if (!(var$3 >= 0 && $initial <= 57) && $initial != 45) { $bi = new jl_NumberFormatException; $bd = new jl_StringBuilder; $bd.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($bd, $bd.$length0, $rt_s(143)); jl_AbstractStringBuilder_insert($bd, $bd.$length0, $val); jl_AbstractStringBuilder_insert($bd, $bd.$length0, $rt_s(144)); $val = new jl_String; var$6 = $bd.$buffer; var$7 = var$6.data; $at2 = $bd.$length0; $at1 = var$7.length; if ($at2 >= 0 && $at2 <= ($at1 - 0 | 0)) { $val.$nativeString = $rt_charArrayToString(var$6.data, 0, $at2); $bi.$suppressionEnabled = 1; $bi.$writableStackTrace = 1; $bi.$message = $val; $rt_throw($bi); } $val = new jl_IndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $rt_throw($val); } if (!oj_JSONObject_isDecimalNotation($val)) { if (!var$3 && $val.$nativeString.length > 1) { if (1 >= $val.$nativeString.length) { $val = new jl_StringIndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $rt_throw($val); } $at1 = $val.$nativeString.charCodeAt(1); if ($at1 >= 48 && $at1 <= 57) { $bi = new jl_NumberFormatException; $bd = new jl_StringBuilder; $bd.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($bd, $bd.$length0, $rt_s(143)); jl_AbstractStringBuilder_insert($bd, $bd.$length0, $val); jl_AbstractStringBuilder_insert($bd, $bd.$length0, $rt_s(144)); $val = new jl_String; var$6 = $bd.$buffer; var$7 = var$6.data; $at2 = $bd.$length0; $at1 = var$7.length; if ($at2 >= 0 && $at2 <= ($at1 - 0 | 0)) { $val.$nativeString = $rt_charArrayToString(var$6.data, 0, $at2); $bi.$suppressionEnabled = 1; $bi.$writableStackTrace = 1; $bi.$message = $val; $rt_throw($bi); } $val = new jl_IndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $rt_throw($val); } } else if ($initial == 45 && $val.$nativeString.length > 2) { if (1 >= $val.$nativeString.length) { $val = new jl_StringIndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $rt_throw($val); } $at1 = $val.$nativeString.charCodeAt(1); if (2 >= $val.$nativeString.length) { $val = new jl_StringIndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $rt_throw($val); } $at2 = $val.$nativeString.charCodeAt(2); if ($at1 == 48 && $at2 >= 48 && $at2 <= 57) { $bi = new jl_NumberFormatException; $bd = new jl_StringBuilder; $bd.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($bd, $bd.$length0, $rt_s(143)); jl_AbstractStringBuilder_insert($bd, $bd.$length0, $val); jl_AbstractStringBuilder_insert($bd, $bd.$length0, $rt_s(144)); $val = new jl_String; var$6 = $bd.$buffer; var$7 = var$6.data; $at2 = $bd.$length0; $at1 = var$7.length; if ($at2 >= 0 && $at2 <= ($at1 - 0 | 0)) { $val.$nativeString = $rt_charArrayToString(var$6.data, 0, $at2); $bi.$suppressionEnabled = 1; $bi.$writableStackTrace = 1; $bi.$message = $val; $rt_throw($bi); } $val = new jl_IndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $rt_throw($val); } } $bi = jm_BigInteger__init_3($val, 10); if (jm_BitLevel_bitLength($bi) > 31) { if (jm_BitLevel_bitLength($bi) > 63) return $bi; var$10 = jm_BigInteger_longValue($bi); $val = new jl_Long; $val.$value7 = var$10; return $val; } $at2 = $rt_imul($bi.$sign1, $bi.$digits.data[0]); if ($at2 >= (-128) && $at2 <= 127) { jl_Integer_ensureIntegerCache(); $val = jl_Integer_integerCache.data[$at2 + 128 | 0]; } else { $val = new jl_Integer; $val.$value0 = $at2; } return $val; } a: { b: { try { $bd = jm_BigDecimal__init_0($val); if ($initial == 45 && !jm_BigDecimal_compareTo(jm_BigDecimal_ZERO, $bd)) break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { break a; } else { throw $$e; } } return $bd; } try { $bi = jl_Double_valueOf(-0.0); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { break a; } else { throw $$e; } } return $bi; } c: { d: { try { $d = jl_Double_valueOf0($val); if (jl_Double_isNaN($d)) break d; if (jl_Double_isInfinite($d)) break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { break c; } else { throw $$e; } } return $d; } try { $bi = new jl_NumberFormatException; $bd = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append($bd, $rt_s(143)), $val), $rt_s(144)); jl_NumberFormatException__init_($bi, jl_StringBuilder_toString($bd)); $rt_throw($bi); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } $bi = new jl_NumberFormatException; $bd = new jl_StringBuilder; $bd.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($bd, $bd.$length0, $rt_s(143)); jl_AbstractStringBuilder_insert($bd, $bd.$length0, $val); jl_AbstractStringBuilder_insert($bd, $bd.$length0, $rt_s(144)); $val = new jl_String; var$6 = $bd.$buffer; var$7 = var$6.data; $at2 = $bd.$length0; $at1 = var$7.length; if ($at2 >= 0 && $at2 <= ($at1 - 0 | 0)) { $val.$nativeString = $rt_charArrayToString(var$6.data, 0, $at2); $bi.$suppressionEnabled = 1; $bi.$writableStackTrace = 1; $bi.$message = $val; $rt_throw($bi); } $val = new jl_IndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $rt_throw($val); }, oj_JSONObject_stringToValue = $string => { let var$2, var$3, $initial, var$5, $$je; oj_JSONObject_$callClinit(); if ($rt_s(18) === $string) var$2 = 1; else if (!($string instanceof jl_String)) var$2 = 0; else { var$3 = $string; var$2 = $rt_s(18).$nativeString !== var$3.$nativeString ? 0 : 1; } if (var$2) return $string; if (jl_String_equalsIgnoreCase($rt_s(70), $string)) return jl_Boolean_TRUE; if (jl_String_equalsIgnoreCase($rt_s(69), $string)) return jl_Boolean_FALSE; if (jl_String_equalsIgnoreCase($rt_s(1), $string)) return oj_JSONObject_NULL; if (0 >= $string.$nativeString.length) { $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } $initial = $string.$nativeString.charCodeAt(0); if (!(!($initial >= 48 && $initial <= 57) && $initial != 45)) a: { try { var$5 = oj_JSONObject_stringToNumber($string); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } return var$5; } return $string; }, oj_JSONObject_toString0 = $this => { let var$1, $$je; a: { try { var$1 = oj_JSONObject_toString($this, 0); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } return var$1; } return null; }, oj_JSONObject_toString = ($this, $indentFactor) => { let $w, var$3, $$je; $w = new ji_StringWriter; $w.$lock = $w; var$3 = new jl_StringBuffer; var$3.$buffer = $rt_createCharArray(16); $w.$buf0 = var$3; $w.$lock = var$3; jl_Object_monitorEnterSync(var$3); a: { try { $w = ji_StringWriter_toString(oj_JSONObject_write($this, $w, $indentFactor, 0)); jl_Object_monitorExitSync(var$3); } catch ($$e) { $$je = $rt_wrapException($$e); $w = $$je; break a; } return $w; } jl_Object_monitorExitSync(var$3); $rt_throw($w); }, oj_JSONObject_wrap0 = $object => { oj_JSONObject_$callClinit(); return oj_JSONObject_wrap($object, null); }, oj_JSONObject_wrap = ($object, $objectsRecord) => { let $exception, $coll, $map, $objectPackage, $objectPackageName, $$je; oj_JSONObject_$callClinit(); a: { b: { c: { try { if (!oj_JSONObject$Null_equals(oj_JSONObject_NULL, $object)) break c; $object = oj_JSONObject_NULL; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof oj_JSONException) { $exception = $$je; break b; } else if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } return $object; } d: { try { e: { try { if ($object instanceof oj_JSONObject) break e; if ($object instanceof oj_JSONArray) break e; if (oj_JSONObject$Null_equals(oj_JSONObject_NULL, $object)) break e; if ($rt_isInstance($object, oj_JSONString)) break e; if ($object instanceof jl_Byte) break e; if ($object instanceof jl_Character) break e; if ($object instanceof jl_Short) break e; if ($object instanceof jl_Integer) break e; if ($object instanceof jl_Long) break e; if ($object instanceof jl_Boolean) break e; if ($object instanceof jl_Float) break e; if ($object instanceof jl_Double) break e; if ($object instanceof jl_String) break e; if ($object instanceof jm_BigInteger) break e; if ($object instanceof jm_BigDecimal) break e; if (!($object instanceof jl_Enum)) break d; else break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof oj_JSONException) { $exception = $$je; break b; } else { throw $$e; } } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } return $object; } f: { try { if (!$rt_isInstance($object, ju_Collection)) break f; $coll = $object; $object = oj_JSONArray__init_0($coll); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof oj_JSONException) { $exception = $$je; break b; } else if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } return $object; } g: { try { if (!jl_Class_isArray(jl_Object_getClass($object))) break g; $objectsRecord = oj_JSONArray__init_3($object); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof oj_JSONException) { $exception = $$je; break b; } else if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } return $objectsRecord; } h: { try { if (!$rt_isInstance($object, ju_Map)) break h; $map = $object; $object = oj_JSONObject__init_2($map); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof oj_JSONException) { $exception = $$je; break b; } else if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } return $object; } i: { try { j: { try { $objectPackage = jl_Class_getPackage(jl_Object_getClass($object)); if ($objectPackage !== null) break j; $objectPackageName = $rt_s(18); break i; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof oj_JSONException) { $exception = $$je; break b; } else { throw $$e; } } } try { $objectPackageName = jl_Package_getName($objectPackage); break i; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof oj_JSONException) { $exception = $$je; break b; } else { throw $$e; } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } } k: { try { l: { try { if (jl_String_startsWith0($objectPackageName, $rt_s(145))) break l; if (jl_String_startsWith0($objectPackageName, $rt_s(146))) break l; if (jl_Class_getClassLoader(jl_Object_getClass($object)) !== null) break k; else break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof oj_JSONException) { $exception = $$je; break b; } else { throw $$e; } } } try { $object = $object.$toString(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof oj_JSONException) { $exception = $$je; break b; } else { throw $$e; } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } return $object; } m: { try { if ($objectsRecord !== null) break m; $objectsRecord = oj_JSONObject__init_9($object); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof oj_JSONException) { $exception = $$je; break b; } else if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } return $objectsRecord; } try { $objectPackage = oj_JSONObject__init_3($object, $objectsRecord); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof oj_JSONException) { $exception = $$je; break b; } else if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } return $objectPackage; } $rt_throw($exception); } return null; }, oj_JSONObject_writeValue = ($writer, $value, $indentFactor, $indent) => { let $o, $e, $coll, $map, $numberAsString, var$10, var$11, var$12, var$13, var$14, $$je; oj_JSONObject_$callClinit(); a: { if ($value !== null && !$value.$equals(null)) { if ($rt_isInstance($value, oj_JSONString)) { b: { try { $o = $value.$toJSONString(); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $e = $$je; } else { throw $$e; } } $writer = new oj_JSONException; $value = $e.$getMessage(); $writer.$suppressionEnabled = 1; $writer.$writableStackTrace = 1; $writer.$message = $value; $writer.$cause = $e; $rt_throw($writer); } if ($o !== null) $value = $o.$toString(); else { $value = $value.$toString(); $coll = new ji_StringWriter; $coll.$lock = $coll; $map = new jl_StringBuffer; $map.$buffer = $rt_createCharArray(16); $coll.$buf0 = $map; $coll.$lock = $map; jl_Object_monitorEnterSync($map); c: { d: { try { e: { try { $value = ji_StringWriter_toString(oj_JSONObject_quote($value, $coll)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break e; } else { throw $$e; } } jl_Object_monitorExitSync($map); break c; } $value = $rt_s(18); jl_Object_monitorExitSync($map); break d; } catch ($$e) { $$je = $rt_wrapException($$e); $writer = $$je; } jl_Object_monitorExitSync($map); $rt_throw($writer); } } } $coll = $writer.$buf0; jl_AbstractStringBuilder_insert($coll, $coll.$length0, $value); break a; } if ($value instanceof jl_Number) { $numberAsString = oj_JSONObject_numberToString($value); $map = jur_Matcher__init_(oj_JSONObject_NUMBER_PATTERN, $numberAsString); $indent = $map.$leftBound0; $value = $map.$matchResult; $value.$valid = 0; $value.$mode0 = 2; var$10 = $value.$groupBounds.data; var$11 = 0; var$12 = var$10.length; if (var$11 > var$12) { $writer = new jl_IllegalArgumentException; $writer.$suppressionEnabled = 1; $writer.$writableStackTrace = 1; $rt_throw($writer); } while (var$11 < var$12) { var$13 = var$11 + 1 | 0; var$10[var$11] = (-1); var$11 = var$13; } var$10 = $value.$consumers.data; var$11 = 0; var$12 = var$10.length; if (var$11 > var$12) { $writer = new jl_IllegalArgumentException; $writer.$suppressionEnabled = 1; $writer.$writableStackTrace = 1; $rt_throw($writer); } while (var$11 < var$12) { var$13 = var$11 + 1 | 0; var$10[var$11] = (-1); var$11 = var$13; } $value.$startIndex = $value.$leftBound; $value.$mode0 = 2; $value.$startIndex = $indent; $indentFactor = $value.$previousMatch; if ($indentFactor < 0) $indentFactor = $indent; $value.$previousMatch = $indentFactor; if ($map.$start7.$matches($indent, $map.$string, $value) < 0) $indentFactor = 0; else { var$10 = $value.$groupBounds.data; if (var$10[0] == (-1)) { $indent = $value.$startIndex; var$10[0] = $indent; var$10[1] = $indent; } if (!$value.$valid) { $writer = new jl_IllegalStateException; $writer.$suppressionEnabled = 1; $writer.$writableStackTrace = 1; $rt_throw($writer); } if (0 >= $value.$groupCount) { $writer = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($writer, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($writer); } $value.$previousMatch = var$10[1]; $indentFactor = 1; } if (!$indentFactor) oj_JSONObject_quote($numberAsString, $writer); else { $value = $writer.$buf0; jl_AbstractStringBuilder_insert($value, $value.$length0, $numberAsString); } break a; } if ($value instanceof jl_Boolean) { $value = $value.$toString(); $coll = $writer.$buf0; jl_AbstractStringBuilder_insert($coll, $coll.$length0, $value); break a; } if ($value instanceof jl_Enum) { $map = $value.$name0; $value = new ji_StringWriter; $value.$lock = $value; $coll = new jl_StringBuffer; $coll.$buffer = $rt_createCharArray(16); $value.$buf0 = $coll; $value.$lock = $coll; jl_Object_monitorEnterSync($coll); f: { g: { try { h: { try { $value = ji_StringWriter_toString(oj_JSONObject_quote($map, $value)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break h; } else { throw $$e; } } jl_Object_monitorExitSync($coll); break f; } $value = $rt_s(18); jl_Object_monitorExitSync($coll); break g; } catch ($$e) { $$je = $rt_wrapException($$e); $writer = $$je; } jl_Object_monitorExitSync($coll); $rt_throw($writer); } } $coll = $writer.$buf0; jl_AbstractStringBuilder_insert($coll, $coll.$length0, $value); break a; } if ($value instanceof oj_JSONObject) { oj_JSONObject_write($value, $writer, $indentFactor, $indent); break a; } if ($value instanceof oj_JSONArray) { oj_JSONArray_write($value, $writer, $indentFactor, $indent); break a; } if ($rt_isInstance($value, ju_Map)) { oj_JSONObject_write(oj_JSONObject__init_2($value), $writer, $indentFactor, $indent); break a; } if ($rt_isInstance($value, ju_Collection)) { $coll = $value; $value = new oj_JSONArray; if ($coll === null) { $coll = new ju_ArrayList; $coll.$array = $rt_createArray(jl_Object, 10); $value.$myArrayList = $coll; } else { $map = new ju_ArrayList; var$14 = $coll.$size(); if (var$14 < 0) { $writer = new jl_IllegalArgumentException; $writer.$suppressionEnabled = 1; $writer.$writableStackTrace = 1; $rt_throw($writer); } $map.$array = $rt_createArray(jl_Object, var$14); $value.$myArrayList = $map; oj_JSONArray_addAll($value, $coll, 1); } oj_JSONArray_write($value, $writer, $indentFactor, $indent); break a; } $map = $value.constructor; if ($map === null) $coll = null; else { $coll = $map.classObject; if ($coll === null) { $coll = new jl_Class; $coll.$platformClass = $map; $map.classObject = $coll; } } if (!($coll.$platformClass.$meta.item === null ? 0 : 1)) { oj_JSONObject_quote($value.$toString(), $writer); break a; } $coll = new oj_JSONArray; $map = new ju_ArrayList; $map.$array = $rt_createArray(jl_Object, 10); $coll.$myArrayList = $map; $numberAsString = $value.constructor; if ($numberAsString === null) $map = null; else { $map = $numberAsString.classObject; if ($map === null) { $map = new jl_Class; $map.$platformClass = $numberAsString; $numberAsString.classObject = $map; } } if (!($map.$platformClass.$meta.item === null ? 0 : 1)) { $writer = new oj_JSONException; $writer.$suppressionEnabled = 1; $writer.$writableStackTrace = 1; $writer.$message = $rt_s(147); $rt_throw($writer); } oj_JSONArray_addAll0($coll, $value, 1); oj_JSONArray_write($coll, $writer, $indentFactor, $indent); } else { $coll = $writer.$buf0; jl_AbstractStringBuilder_insert($coll, $coll.$length0, $rt_s(1)); } } return $writer; }, oj_JSONObject_indent = ($writer, $indent) => { let $i, var$4, var$5; oj_JSONObject_$callClinit(); $i = 0; while ($i < $indent) { var$4 = $writer.$buf0; var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 32; $i = $i + 1 | 0; } }, oj_JSONObject_write = ($this, $writer, $indentFactor, $indent) => { let $needsComma, $length, $entry, $key, $e, $newIndent, $exception, $$je; a: { try { b: { $needsComma = 0; $length = oj_JSONObject_length($this); ji_StringWriter_write($writer, 123); if ($length == 1) { $entry = ju_HashMap$EntryIterator_next(ju_HashMap$HashMapEntrySet_iterator(oj_JSONObject_entrySet($this))); $key = ju_MapEntry_getKey($entry); ji_StringWriter_write0($writer, oj_JSONObject_quote0($key)); ji_StringWriter_write($writer, 58); if ($indentFactor > 0) ji_StringWriter_write($writer, 32); c: { try { oj_JSONObject_writeValue($writer, ju_MapEntry_getValue($entry), $indentFactor, $indent); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $e = $$je; } else { throw $$e; } } $writer = new oj_JSONException; $entry = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append($entry, $rt_s(148)), $key); oj_JSONException__init_($writer, jl_StringBuilder_toString($entry), $e); $rt_throw($writer); } } else if ($length) { $newIndent = $indent + $indentFactor | 0; $e = ju_HashMap$HashMapEntrySet_iterator(oj_JSONObject_entrySet($this)); while (true) { if (!ju_HashMap$AbstractMapIterator_hasNext($e)) { if ($indentFactor > 0) ji_StringWriter_write($writer, 10); oj_JSONObject_indent($writer, $indent); break b; } $entry = ju_HashMap$EntryIterator_next($e); if ($needsComma) ji_StringWriter_write($writer, 44); if ($indentFactor > 0) ji_StringWriter_write($writer, 10); oj_JSONObject_indent($writer, $newIndent); $key = ju_MapEntry_getKey($entry); ji_StringWriter_write0($writer, oj_JSONObject_quote0($key)); ji_StringWriter_write($writer, 58); if ($indentFactor > 0) ji_StringWriter_write($writer, 32); try { oj_JSONObject_writeValue($writer, ju_MapEntry_getValue($entry), $indentFactor, $newIndent); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $e = $$je; break; } else { throw $$e; } } $needsComma = 1; } $writer = new oj_JSONException; $entry = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append($entry, $rt_s(148)), $key); oj_JSONException__init_($writer, jl_StringBuilder_toString($entry), $e); $rt_throw($writer); } } ji_StringWriter_write($writer, 125); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $exception = $$je; break a; } else { throw $$e; } } return $writer; } $writer = new oj_JSONException; $e = $exception.$getMessage(); $writer.$suppressionEnabled = 1; $writer.$writableStackTrace = 1; $writer.$message = $e; $writer.$cause = $exception; $rt_throw($writer); }, oj_JSONObject_toMap = $this => { let $results, $value, var$3, var$4; $results = ju_HashMap__init_(); $value = $this.$map; var$3 = new ju_HashMap$EntryIterator; var$3.$associatedMap = $value; var$3.$expectedModCount = $value.$modCount0; var$3.$futureEntry0 = null; while (ju_HashMap$AbstractMapIterator_hasNext(var$3)) { a: { ju_HashMap$AbstractMapIterator_makeNext(var$3); var$4 = var$3.$currentEntry0; $value = var$4.$value1; if ($value !== null) { oj_JSONObject_$callClinit(); if (!($value === oj_JSONObject_NULL ? 1 : 0)) { if ($value instanceof oj_JSONObject) { $value = oj_JSONObject_toMap($value); break a; } if (!($value instanceof oj_JSONArray)) break a; $value = oj_JSONArray_toList($value); break a; } } $value = null; } ju_HashMap_putImpl($results, var$4.$key, $value); } return $results; }, oj_JSONObject_recursivelyDefinedObjectException = $key => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $$je; oj_JSONObject_$callClinit(); var$2 = new oj_JSONException; var$3 = new ji_StringWriter; var$3.$lock = var$3; var$4 = new jl_StringBuffer; var$4.$buffer = $rt_createCharArray(16); var$3.$buf0 = var$4; var$3.$lock = var$4; jl_Object_monitorEnterSync(var$4); a: { b: { try { c: { try { $key = ji_StringWriter_toString(oj_JSONObject_quote($key, var$3)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break c; } else { throw $$e; } } jl_Object_monitorExitSync(var$4); break a; } $key = $rt_s(18); jl_Object_monitorExitSync(var$4); break b; } catch ($$e) { $$je = $rt_wrapException($$e); $key = $$je; } jl_Object_monitorExitSync(var$4); $rt_throw($key); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(149)); var$5 = var$3.$length0; if ($key === null) $key = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$5, $key); $key = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; var$8 = var$3.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $key.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $key; return var$2; } $key = new jl_IndexOutOfBoundsException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $rt_throw($key); }, oj_JSONObject__clinit_ = () => { oj_JSONObject_NUMBER_PATTERN = jur_Pattern_compile($rt_s(150), 0); oj_JSONObject_NULL = new oj_JSONObject$Null; }, oj_JSONException = $rt_classWithoutFields(jl_RuntimeException), oj_JSONException__init_ = ($this, $message, $cause) => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; $this.$message = $message; $this.$cause = $cause; }, oj_JSONException__init_0 = (var_0, var_1) => { let var_2 = new oj_JSONException(); oj_JSONException__init_(var_2, var_0, var_1); return var_2; }, otci_IntegerUtil = $rt_classWithoutFields(), otci_IntegerUtil__init_ = $this => { return; }, otci_IntegerUtil__init_0 = () => { let var_0 = new otci_IntegerUtil(); otci_IntegerUtil__init_(var_0); return var_0; }, otci_IntegerUtil_toUnsignedLogRadixString = ($value, $radixLog2) => { let $radix, $mask, $sz, $chars, var$7, $pos, $target, $target_0, var$11; if (!$value) return $rt_s(128); $radix = 1 << $radixLog2; $mask = $radix - 1 | 0; $sz = (((32 - jl_Integer_numberOfLeadingZeros($value) | 0) + $radixLog2 | 0) - 1 | 0) / $radixLog2 | 0; $chars = $rt_createCharArray($sz); var$7 = $chars.data; $pos = $rt_imul($sz - 1 | 0, $radixLog2); $target = 0; while ($pos >= 0) { $target_0 = $target + 1 | 0; var$7[$target] = jl_Character_forDigit(($value >>> $pos | 0) & $mask, $radix); $pos = $pos - $radixLog2 | 0; $target = $target_0; } var$11 = new jl_String; var$11.$nativeString = $rt_charArrayToString($chars.data, 0, var$7.length); return var$11; }, otci_IntegerUtil_toUnsignedLogRadixString0 = ($value, $radixLog2) => { let $radix, $mask, $sz, $chars, var$7, $pos, $target, $target_0, var$11; if (Long_eq($value, Long_ZERO)) return $rt_s(128); $radix = 1 << $radixLog2; $mask = $radix - 1 | 0; $sz = (((64 - jl_Long_numberOfLeadingZeros($value) | 0) + $radixLog2 | 0) - 1 | 0) / $radixLog2 | 0; $chars = $rt_createCharArray($sz); var$7 = $chars.data; $pos = $rt_imul($sz - 1 | 0, $radixLog2); $target = 0; while ($pos >= 0) { $target_0 = $target + 1 | 0; var$7[$target] = jl_Character_forDigit(Long_lo(Long_shru($value, $pos)) & $mask, $radix); $pos = $pos - $radixLog2 | 0; $target = $target_0; } var$11 = new jl_String; var$11.$nativeString = $rt_charArrayToString($chars.data, 0, var$7.length); return var$11; }; function nms_ServerList() { let a = this; jl_Object.call(a); a.$mc17 = null; a.$servers = null; a.$allServers = null; } let nms_ServerList_forcedServers = null, nms_ServerList_random = null, nms_ServerList_hideDownDefaultServers = 0, nms_ServerList_$callClinit = () => { nms_ServerList_$callClinit = $rt_eraseClinit(nms_ServerList); nms_ServerList__clinit_(); }, nms_ServerList_loadDefaultServers = $base64 => { let $nbt, $cmp, $t, $i, $l, $list, $tag, $choice, $e, $$je; nms_ServerList_$callClinit(); a: { try { $nbt = nms_CompressedStreamTools_readUncompressed(nle_Base64_decodeBase64($base64)); nms_ServerList_hideDownDefaultServers = nms_NBTTagCompound_getBoolean($nbt, $rt_s(151)); nle_ConfigConstants_ayonullTitle = !nms_NBTTagCompound_hasKey($nbt, $rt_s(152)) ? null : nms_NBTTagCompound_getString($nbt, $rt_s(152)); $base64 = !nms_NBTTagCompound_hasKey($nbt, $rt_s(153)) ? null : nms_NBTTagCompound_getString($nbt, $rt_s(153)); b: { nle_ConfigConstants_ayonullLink = $base64; if (nms_NBTTagCompound_hasKey($nbt, $rt_s(154))) { $cmp = nms_NBTTagCompound_getCompoundTag($nbt, $rt_s(154)); $base64 = nms_NBTTagCompound_getStringOrNull($cmp, $rt_s(155)); nle_ConfigConstants_mainMenuItemLink = $base64; if ($base64 !== null) { nle_ConfigConstants_mainMenuItemLine0 = nms_NBTTagCompound_getStringOrNull($cmp, $rt_s(156)); nle_ConfigConstants_mainMenuItemLine1 = nms_NBTTagCompound_getStringOrNull($cmp, $rt_s(157)); nle_ConfigConstants_mainMenuItemLine2 = nms_NBTTagCompound_getStringOrNull($cmp, $rt_s(158)); } if (nms_NBTTagCompound_hasKey($cmp, $rt_s(159))) { nle_ConfigConstants_splashTexts = ju_ArrayList__init_(); $t = nms_NBTTagCompound_getTagList($cmp, $rt_s(159)); $i = 0; $l = nms_NBTTagList_tagCount($t); while (true) { if ($i >= $l) break b; nle_ConfigConstants_splashTexts.$add((nms_NBTTagList_tagAt($t, $i)).$data1); $i = $i + 1 | 0; } } } } ju_ArrayList_clear(nms_ServerList_forcedServers); $list = nms_NBTTagCompound_getTagList($nbt, $rt_s(160)); $i = 0; while ($i < nms_NBTTagList_tagCount($list)) { $tag = nms_NBTTagList_tagAt($list, $i); nms_NBTTagCompound_setBoolean($tag, $rt_s(161), 1); ju_ArrayList_add(nms_ServerList_forcedServers, nms_ServerData_getServerDataFromNBTCompound($tag)); $i = $i + 1 | 0; } $choice = nle_EaglercraftRandom_nextInt(nms_ServerList_random, 3); $cmp = ju_ArrayList__init_(); nle_ConfigConstants_relays = $cmp; ju_ArrayList_add($cmp, nle_RelayEntry__init_($rt_s(162), $rt_s(163), $choice ? 0 : 1)); ju_ArrayList_add(nle_ConfigConstants_relays, nle_RelayEntry__init_($rt_s(164), $rt_s(165), $choice != 1 ? 0 : 1)); ju_ArrayList_add(nle_ConfigConstants_relays, nle_RelayEntry__init_($rt_s(166), $rt_s(167), $choice != 2 ? 0 : 1)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($e); } }, nms_ServerList_loadDefaultServers0 = $json => { let $i, $mainMenu, $primary, var$5, $splashes, $primary_0, $addr, $newServer, $comment, var$11, var$12, $servers, var$14, $serverJSON, var$16, $relays, $relay, $$je; nms_ServerList_$callClinit(); $i = nms_ServerList_hideDownDefaultServers; $mainMenu = $json.$map; $primary = jl_String_hashCode($rt_s(168)); var$5 = $mainMenu.$elementData.data; $mainMenu = var$5[$primary & (var$5.length - 1 | 0)]; while ($mainMenu !== null) { if ($mainMenu.$origKeyHash == $primary) { $splashes = $mainMenu.$key; if ($rt_s(168) !== $splashes && !jl_String_equals($rt_s(168), $splashes) ? 0 : 1) break; } $mainMenu = $mainMenu.$next3; } $splashes = $mainMenu === null ? null : $mainMenu.$value1; oj_JSONObject_$callClinit(); $mainMenu = oj_JSONObject_NULL; $primary_0 = $splashes !== null && $splashes !== $mainMenu ? 0 : 1; a: { if (!$primary_0) { if ($splashes instanceof jl_Boolean) $i = $splashes.$value9; else { b: { try { $primary_0 = oj_JSONObject_getBoolean($json, $rt_s(168)); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } break a; } $i = $primary_0; } } } nms_ServerList_hideDownDefaultServers = $i; $mainMenu = nle_ConfigConstants_ayonullTitle; $splashes = $json.$map; $primary_0 = jl_String_hashCode($rt_s(152)); var$5 = $splashes.$elementData.data; $splashes = var$5[$primary_0 & (var$5.length - 1 | 0)]; while ($splashes !== null) { if ($splashes.$origKeyHash == $primary_0) { $addr = $splashes.$key; if ($rt_s(152) !== $addr && !jl_String_equals($rt_s(152), $addr) ? 0 : 1) break; } $splashes = $splashes.$next3; } $splashes = $splashes === null ? null : $splashes.$value1; $newServer = oj_JSONObject_NULL; if (!($splashes !== null && $splashes !== $newServer ? 0 : 1)) $mainMenu = $splashes.$toString(); c: { nle_ConfigConstants_ayonullTitle = $mainMenu; $mainMenu = nle_ConfigConstants_ayonullLink; $splashes = $json.$map; if (!$rt_s(153).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(153).$nativeString.length) break c; $rt_s(153).$hashCode1 = (31 * $rt_s(153).$hashCode1 | 0) + $rt_s(153).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } $i = $rt_s(153).$hashCode1; var$5 = $splashes.$elementData.data; $splashes = var$5[$i & (var$5.length - 1 | 0)]; while ($splashes !== null) { if ($splashes.$origKeyHash == $i) { d: { $addr = $splashes.$key; if ($rt_s(153) !== $addr) { if ($rt_s(153) === $addr) $primary_0 = 1; else if (!($addr instanceof jl_String)) $primary_0 = 0; else { $addr = $addr; $primary_0 = $rt_s(153).$nativeString !== $addr.$nativeString ? 0 : 1; } if (!$primary_0) { $primary_0 = 0; break d; } } $primary_0 = 1; } if ($primary_0) break; } $splashes = $splashes.$next3; } $splashes = $splashes === null ? null : $splashes.$value1; $newServer = oj_JSONObject_NULL; if (!($splashes !== null && $splashes !== $newServer ? 0 : 1)) $mainMenu = $splashes.$toString(); e: { nle_ConfigConstants_ayonullLink = $mainMenu; $mainMenu = null; $splashes = $json.$map; if (!$rt_s(154).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(154).$nativeString.length) break e; $rt_s(154).$hashCode1 = (31 * $rt_s(154).$hashCode1 | 0) + $rt_s(154).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } $i = $rt_s(154).$hashCode1; var$5 = $splashes.$elementData.data; $splashes = var$5[$i & (var$5.length - 1 | 0)]; while ($splashes !== null) { if ($splashes.$origKeyHash == $i) { f: { $addr = $splashes.$key; if ($rt_s(154) !== $addr) { if ($rt_s(154) === $addr) $primary_0 = 1; else if (!($addr instanceof jl_String)) $primary_0 = 0; else { $addr = $addr; $primary_0 = $rt_s(154).$nativeString !== $addr.$nativeString ? 0 : 1; } if (!$primary_0) { $primary_0 = 0; break f; } } $primary_0 = 1; } if ($primary_0) break; } $splashes = $splashes.$next3; } $newServer = $splashes === null ? null : $splashes.$value1; if ($newServer instanceof oj_JSONObject) $mainMenu = $newServer; g: { h: { if ($mainMenu !== null) { i: { $splashes = nle_ConfigConstants_mainMenuItemLink; $addr = $mainMenu.$map; if (!$rt_s(155).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(155).$nativeString.length) break i; $rt_s(155).$hashCode1 = (31 * $rt_s(155).$hashCode1 | 0) + $rt_s(155).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } $primary = $rt_s(155).$hashCode1; var$5 = $addr.$elementData.data; $addr = var$5[$primary & (var$5.length - 1 | 0)]; while ($addr !== null) { if ($addr.$origKeyHash == $primary) { j: { $comment = $addr.$key; if ($rt_s(155) !== $comment) { if ($rt_s(155) !== $comment) { if ($comment instanceof jl_String) { $comment = $comment; $i = $rt_s(155).$nativeString !== $comment.$nativeString ? 0 : 1; } else $i = 0; } else $i = 1; if (!$i) { $i = 0; break j; } } $i = 1; } if ($i) break; } $addr = $addr.$next3; } $addr = $addr === null ? null : $addr.$value1; $newServer = oj_JSONObject_NULL; if (!($addr !== null && $addr !== $newServer ? 0 : 1)) $splashes = $addr.$toString(); nle_ConfigConstants_mainMenuItemLink = $splashes; if ($splashes !== null) { k: { $splashes = nle_ConfigConstants_mainMenuItemLine0; $addr = $mainMenu.$map; if (!$rt_s(156).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(156).$nativeString.length) break k; $rt_s(156).$hashCode1 = (31 * $rt_s(156).$hashCode1 | 0) + $rt_s(156).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } $primary = $rt_s(156).$hashCode1; var$5 = $addr.$elementData.data; $addr = var$5[$primary & (var$5.length - 1 | 0)]; while ($addr !== null) { if ($addr.$origKeyHash == $primary) { l: { $comment = $addr.$key; if ($rt_s(156) !== $comment) { if ($rt_s(156) === $comment) $i = 1; else if (!($comment instanceof jl_String)) $i = 0; else { $comment = $comment; $i = $rt_s(156).$nativeString !== $comment.$nativeString ? 0 : 1; } if (!$i) { $i = 0; break l; } } $i = 1; } if ($i) break; } $addr = $addr.$next3; } $addr = $addr === null ? null : $addr.$value1; $newServer = oj_JSONObject_NULL; if (!($addr !== null && $addr !== $newServer ? 0 : 1)) $splashes = $addr.$toString(); m: { nle_ConfigConstants_mainMenuItemLine0 = $splashes; $splashes = nle_ConfigConstants_mainMenuItemLine1; $addr = $mainMenu.$map; if (!$rt_s(157).$hashCode1) { $primary_0 = 0; while (true) { if ($primary_0 >= $rt_s(157).$nativeString.length) break m; $rt_s(157).$hashCode1 = (31 * $rt_s(157).$hashCode1 | 0) + $rt_s(157).$nativeString.charCodeAt($primary_0) | 0; $primary_0 = $primary_0 + 1 | 0; } } } $primary = $rt_s(157).$hashCode1; var$5 = $addr.$elementData.data; $addr = var$5[$primary & (var$5.length - 1 | 0)]; while ($addr !== null) { if ($addr.$origKeyHash == $primary) { n: { $comment = $addr.$key; if ($rt_s(157) !== $comment) { if ($rt_s(157) !== $comment) { if ($comment instanceof jl_String) { $comment = $comment; $i = $rt_s(157).$nativeString !== $comment.$nativeString ? 0 : 1; } else $i = 0; } else $i = 1; if (!$i) { $i = 0; break n; } } $i = 1; } if ($i) break; } $addr = $addr.$next3; } $addr = $addr === null ? null : $addr.$value1; $newServer = oj_JSONObject_NULL; if (!($addr !== null && $addr !== $newServer ? 0 : 1)) $splashes = $addr.$toString(); o: { nle_ConfigConstants_mainMenuItemLine1 = $splashes; $splashes = nle_ConfigConstants_mainMenuItemLine2; $addr = $mainMenu.$map; if (!$rt_s(158).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(158).$nativeString.length) break o; $rt_s(158).$hashCode1 = (31 * $rt_s(158).$hashCode1 | 0) + $rt_s(158).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } $primary = $rt_s(158).$hashCode1; var$5 = $addr.$elementData.data; $addr = var$5[$primary & (var$5.length - 1 | 0)]; while ($addr !== null) { if ($addr.$origKeyHash == $primary) { p: { $comment = $addr.$key; if ($rt_s(158) !== $comment) { if ($rt_s(158) !== $comment) { if (!($comment instanceof jl_String)) $i = 0; else { $comment = $comment; $i = $rt_s(158).$nativeString !== $comment.$nativeString ? 0 : 1; } } else $i = 1; if (!$i) { $i = 0; break p; } } $i = 1; } if ($i) break; } $addr = $addr.$next3; } $addr = $addr === null ? null : $addr.$value1; $newServer = oj_JSONObject_NULL; if (!($addr !== null && $addr !== $newServer ? 0 : 1)) $splashes = $addr.$toString(); nle_ConfigConstants_mainMenuItemLine2 = $splashes; } q: { $i = nle_ConfigConstants_eaglercraftTitleLogo; $splashes = $mainMenu.$map; if (!$rt_s(169).$hashCode1) { $primary_0 = 0; while (true) { if ($primary_0 >= $rt_s(169).$nativeString.length) break q; $rt_s(169).$hashCode1 = (31 * $rt_s(169).$hashCode1 | 0) + $rt_s(169).$nativeString.charCodeAt($primary_0) | 0; $primary_0 = $primary_0 + 1 | 0; } } } var$11 = $rt_s(169).$hashCode1; var$5 = $splashes.$elementData.data; $splashes = var$5[var$11 & (var$5.length - 1 | 0)]; while ($splashes !== null) { if ($splashes.$origKeyHash == var$11) { r: { $addr = $splashes.$key; if ($rt_s(169) !== $addr) { if ($rt_s(169) === $addr) $primary_0 = 1; else if (!($addr instanceof jl_String)) $primary_0 = 0; else { $addr = $addr; $primary_0 = $rt_s(169).$nativeString !== $addr.$nativeString ? 0 : 1; } if (!$primary_0) { $primary_0 = 0; break r; } } $primary_0 = 1; } if ($primary_0) break; } $splashes = $splashes.$next3; } $addr = $splashes === null ? null : $splashes.$value1; $splashes = oj_JSONObject_NULL; $primary_0 = $addr !== null && $addr !== $splashes ? 0 : 1; s: { if (!$primary_0) { if ($addr instanceof jl_Boolean) $i = $addr.$value9; else { t: { try { $primary_0 = oj_JSONObject_getBoolean($mainMenu, $rt_s(169)); break t; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } break s; } $i = $primary_0; } } } u: { nle_ConfigConstants_eaglercraftTitleLogo = $i; $mainMenu = $mainMenu.$map; if (!$rt_s(159).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(159).$nativeString.length) break u; $rt_s(159).$hashCode1 = (31 * $rt_s(159).$hashCode1 | 0) + $rt_s(159).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } $primary = $rt_s(159).$hashCode1; var$5 = $mainMenu.$elementData.data; $mainMenu = var$5[$primary & (var$5.length - 1 | 0)]; while ($mainMenu !== null) { if ($mainMenu.$origKeyHash == $primary) { v: { $splashes = $mainMenu.$key; if ($rt_s(159) !== $splashes) { if ($rt_s(159) === $splashes) $i = 1; else if (!($splashes instanceof jl_String)) $i = 0; else { $splashes = $splashes; $i = $rt_s(159).$nativeString !== $splashes.$nativeString ? 0 : 1; } if (!$i) { $i = 0; break v; } } $i = 1; } if ($i) break; } $mainMenu = $mainMenu.$next3; } $newServer = $mainMenu === null ? null : $mainMenu.$value1; $splashes = !($newServer instanceof oj_JSONArray) ? null : $newServer; if ($splashes !== null) { $newServer = new ju_ArrayList; $newServer.$array = $rt_createArray(jl_Object, 10); nle_ConfigConstants_splashTexts = $newServer; $i = 0; $primary = $splashes.$myArrayList.$size0; while (true) { if ($i >= $primary) break h; w: { $newServer = nle_ConfigConstants_splashTexts; if ($i >= 0) { $mainMenu = $splashes.$myArrayList; $primary_0 = $rt_compare($i, $mainMenu.$size0); if ($primary_0 < 0) { if ($i < 0) break g; if ($primary_0 >= 0) break g; $mainMenu = $mainMenu.$array.data[$i]; break w; } } $mainMenu = null; } if ($mainMenu === null) { $json = new oj_JSONException; $newServer = new jl_StringBuilder; $newServer.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($newServer, $newServer.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($newServer, $newServer.$length0, $i, 10); jl_AbstractStringBuilder_insert($newServer, $newServer.$length0, $rt_s(20)); $mainMenu = new jl_String; var$5 = $newServer.$buffer; var$12 = var$5.data; $primary_0 = $newServer.$length0; $primary = var$12.length; if ($primary_0 >= 0 && $primary_0 <= ($primary - 0 | 0)) { $mainMenu.$nativeString = $rt_charArrayToString(var$5.data, 0, $primary_0); $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $json.$message = $mainMenu; $rt_throw($json); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } if (!($mainMenu instanceof jl_String)) { $json = null; $mainMenu = new oj_JSONException; $splashes = new jl_StringBuilder; $splashes.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($splashes, $splashes.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($splashes, $splashes.$length0, $i, 10); jl_AbstractStringBuilder_insert($splashes, $splashes.$length0, $rt_s(21)); jl_AbstractStringBuilder_insert($splashes, $splashes.$length0, $rt_s(171)); $primary_0 = $splashes.$length0; jl_AbstractStringBuilder_insertSpace($splashes, $primary_0, $primary_0 + 1 | 0); var$5 = $splashes.$buffer; var$12 = var$5.data; var$12[$primary_0] = 46; $newServer = new jl_String; $primary_0 = $splashes.$length0; $primary = var$12.length; if ($primary_0 >= 0 && $primary_0 <= ($primary - 0 | 0)) { $newServer.$nativeString = $rt_charArrayToString(var$5.data, 0, $primary_0); $mainMenu.$suppressionEnabled = 1; $mainMenu.$writableStackTrace = 1; $mainMenu.$message = $newServer; $mainMenu.$cause = $json; $rt_throw($mainMenu); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } $newServer.$add($mainMenu); $i = $i + 1 | 0; } } } } x: { $mainMenu = $json.$map; if (!$rt_s(160).$hashCode1) { $primary = 0; while (true) { if ($primary >= $rt_s(160).$nativeString.length) break x; $rt_s(160).$hashCode1 = (31 * $rt_s(160).$hashCode1 | 0) + $rt_s(160).$nativeString.charCodeAt($primary) | 0; $primary = $primary + 1 | 0; } } } $primary = $rt_s(160).$hashCode1; var$5 = $mainMenu.$elementData.data; $mainMenu = var$5[$primary & (var$5.length - 1 | 0)]; while ($mainMenu !== null) { if ($mainMenu.$origKeyHash == $primary) { y: { $splashes = $mainMenu.$key; if ($rt_s(160) !== $splashes) { if ($rt_s(160) !== $splashes) { if ($splashes instanceof jl_String) { $splashes = $splashes; $i = $rt_s(160).$nativeString !== $splashes.$nativeString ? 0 : 1; } else $i = 0; } else $i = 1; if (!$i) { $i = 0; break y; } } $i = 1; } if ($i) break; } $mainMenu = $mainMenu.$next3; } $newServer = $mainMenu === null ? null : $mainMenu.$value1; $servers = !($newServer instanceof oj_JSONArray) ? null : $newServer; z: { ba: { if ($servers !== null) { $newServer = nms_ServerList_forcedServers; var$5 = $newServer.$array; $i = 0; $primary_0 = $newServer.$size0; $mainMenu = null; if ($i > $primary_0) { $json = new jl_IllegalArgumentException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } while ($i < $primary_0) { var$12 = var$5.data; $primary = $i + 1 | 0; var$12[$i] = $mainMenu; $i = $primary; } $newServer.$size0 = 0; $newServer.$modCount = $newServer.$modCount + 1 | 0; $i = 0; var$14 = $servers.$myArrayList.$size0; while (true) { if ($i >= var$14) break ba; bb: { if ($i >= 0) { $newServer = $servers.$myArrayList; $primary_0 = $rt_compare($i, $newServer.$size0); if ($primary_0 < 0) { if ($i < 0) break z; if ($primary_0 >= 0) break z; $newServer = $newServer.$array.data[$i]; break bb; } } $newServer = null; } if ($newServer === null) { $json = new oj_JSONException; $newServer = new jl_StringBuilder; $newServer.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($newServer, $newServer.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($newServer, $newServer.$length0, $i, 10); jl_AbstractStringBuilder_insert($newServer, $newServer.$length0, $rt_s(20)); $mainMenu = new jl_String; var$5 = $newServer.$buffer; var$12 = var$5.data; $primary_0 = $newServer.$length0; $primary = var$12.length; if ($primary_0 >= 0 && $primary_0 <= ($primary - 0 | 0)) { $mainMenu.$nativeString = $rt_charArrayToString(var$5.data, 0, $primary_0); $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $json.$message = $mainMenu; $rt_throw($json); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } if (!($newServer instanceof oj_JSONObject)) { $json = null; $mainMenu = new oj_JSONException; $splashes = new jl_StringBuilder; $splashes.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($splashes, $splashes.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($splashes, $splashes.$length0, $i, 10); jl_AbstractStringBuilder_insert($splashes, $splashes.$length0, $rt_s(21)); jl_AbstractStringBuilder_insert($splashes, $splashes.$length0, $rt_s(172)); $primary_0 = $splashes.$length0; jl_AbstractStringBuilder_insertSpace($splashes, $primary_0, $primary_0 + 1 | 0); var$5 = $splashes.$buffer; var$12 = var$5.data; var$12[$primary_0] = 46; $newServer = new jl_String; $primary_0 = $splashes.$length0; $primary = var$12.length; if ($primary_0 >= 0 && $primary_0 <= ($primary - 0 | 0)) { $newServer.$nativeString = $rt_charArrayToString(var$5.data, 0, $primary_0); $mainMenu.$suppressionEnabled = 1; $mainMenu.$writableStackTrace = 1; $mainMenu.$message = $newServer; $mainMenu.$cause = $json; $rt_throw($mainMenu); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } bc: { $serverJSON = $newServer; $newServer = new nms_ServerData; $splashes = $serverJSON.$map; if (!$rt_s(173).$hashCode1) { $primary_0 = 0; while (true) { if ($primary_0 >= $rt_s(173).$nativeString.length) break bc; $rt_s(173).$hashCode1 = (31 * $rt_s(173).$hashCode1 | 0) + $rt_s(173).$nativeString.charCodeAt($primary_0) | 0; $primary_0 = $primary_0 + 1 | 0; } } } var$11 = $rt_s(173).$hashCode1; var$5 = $splashes.$elementData.data; $splashes = var$5[var$11 & (var$5.length - 1 | 0)]; while ($splashes !== null) { if ($splashes.$origKeyHash == var$11) { bd: { $addr = $splashes.$key; if ($rt_s(173) !== $addr) { if ($rt_s(173) === $addr) $primary_0 = 1; else if (!($addr instanceof jl_String)) $primary_0 = 0; else { $addr = $addr; $primary_0 = $rt_s(173).$nativeString !== $addr.$nativeString ? 0 : 1; } if (!$primary_0) { $primary_0 = 0; break bd; } } $primary_0 = 1; } if ($primary_0) break; } $splashes = $splashes.$next3; } $splashes = $splashes === null ? null : $splashes.$value1; if ($splashes === null) { $json = new oj_JSONException; $newServer = new ji_StringWriter; $newServer.$lock = $newServer; $splashes = new jl_StringBuffer; $splashes.$buffer = $rt_createCharArray(16); $newServer.$buf0 = $splashes; $newServer.$lock = $splashes; jl_Object_monitorEnterSync($splashes); be: { bf: { try { bg: { try { $newServer = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(173), $newServer)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bg; } else { throw $$e; } } jl_Object_monitorExitSync($splashes); break be; } $newServer = $rt_s(18); jl_Object_monitorExitSync($splashes); break bf; } catch ($$e) { $$je = $rt_wrapException($$e); $json = $$je; } jl_Object_monitorExitSync($splashes); $rt_throw($json); } } $mainMenu = new jl_StringBuilder; $mainMenu.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($mainMenu, $mainMenu.$length0, $rt_s(19)); $i = $mainMenu.$length0; if ($newServer === null) $newServer = $rt_s(1); jl_AbstractStringBuilder_insert($mainMenu, $i, $newServer); jl_AbstractStringBuilder_insert($mainMenu, $mainMenu.$length0, $rt_s(20)); $newServer = new jl_String; var$5 = $mainMenu.$buffer; var$12 = var$5.data; $primary_0 = $mainMenu.$length0; $primary = var$12.length; if ($primary_0 >= 0 && $primary_0 <= ($primary - 0 | 0)) { $newServer.$nativeString = $rt_charArrayToString(var$5.data, 0, $primary_0); $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $json.$message = $newServer; $rt_throw($json); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } if (!($splashes instanceof jl_String)) { $json = null; $splashes = new oj_JSONException; $addr = new ji_StringWriter; $addr.$lock = $addr; $comment = new jl_StringBuffer; $comment.$buffer = $rt_createCharArray(16); $addr.$buf0 = $comment; $addr.$lock = $comment; jl_Object_monitorEnterSync($comment); bh: { bi: { try { bj: { try { $mainMenu = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(173), $addr)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bj; } else { throw $$e; } } jl_Object_monitorExitSync($comment); break bh; } $mainMenu = $rt_s(18); jl_Object_monitorExitSync($comment); break bi; } catch ($$e) { $$je = $rt_wrapException($$e); $json = $$je; } jl_Object_monitorExitSync($comment); $rt_throw($json); } } $addr = new jl_StringBuilder; $addr.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($addr, $addr.$length0, $rt_s(19)); $i = $addr.$length0; if ($mainMenu === null) $mainMenu = $rt_s(1); jl_AbstractStringBuilder_insert($addr, $i, $mainMenu); jl_AbstractStringBuilder_insert($addr, $addr.$length0, $rt_s(21)); jl_AbstractStringBuilder_insert($addr, $addr.$length0, $rt_s(5)); $primary_0 = $addr.$length0; jl_AbstractStringBuilder_insertSpace($addr, $primary_0, $primary_0 + 1 | 0); var$5 = $addr.$buffer; var$12 = var$5.data; var$12[$primary_0] = 46; $newServer = new jl_String; $primary_0 = $addr.$length0; $primary = var$12.length; if ($primary_0 >= 0 && $primary_0 <= ($primary - 0 | 0)) { $newServer.$nativeString = $rt_charArrayToString(var$5.data, 0, $primary_0); $splashes.$suppressionEnabled = 1; $splashes.$writableStackTrace = 1; $splashes.$message = $newServer; $splashes.$cause = $json; $rt_throw($splashes); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } bk: { $comment = $splashes; $splashes = $serverJSON.$map; if (!$rt_s(174).$hashCode1) { $primary_0 = 0; while (true) { if ($primary_0 >= $rt_s(174).$nativeString.length) break bk; $rt_s(174).$hashCode1 = (31 * $rt_s(174).$hashCode1 | 0) + $rt_s(174).$nativeString.charCodeAt($primary_0) | 0; $primary_0 = $primary_0 + 1 | 0; } } } var$11 = $rt_s(174).$hashCode1; var$5 = $splashes.$elementData.data; $splashes = var$5[var$11 & (var$5.length - 1 | 0)]; while ($splashes !== null) { if ($splashes.$origKeyHash == var$11) { bl: { $addr = $splashes.$key; if ($rt_s(174) !== $addr) { if ($rt_s(174) === $addr) $primary_0 = 1; else if (!($addr instanceof jl_String)) $primary_0 = 0; else { $addr = $addr; $primary_0 = $rt_s(174).$nativeString !== $addr.$nativeString ? 0 : 1; } if (!$primary_0) { $primary_0 = 0; break bl; } } $primary_0 = 1; } if ($primary_0) break; } $splashes = $splashes.$next3; } $splashes = $splashes === null ? null : $splashes.$value1; if ($splashes === null) { $json = new oj_JSONException; $newServer = new ji_StringWriter; $newServer.$lock = $newServer; $splashes = new jl_StringBuffer; $splashes.$buffer = $rt_createCharArray(16); $newServer.$buf0 = $splashes; $newServer.$lock = $splashes; jl_Object_monitorEnterSync($splashes); bm: { bn: { try { bo: { try { $newServer = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(174), $newServer)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bo; } else { throw $$e; } } jl_Object_monitorExitSync($splashes); break bm; } $newServer = $rt_s(18); jl_Object_monitorExitSync($splashes); break bn; } catch ($$e) { $$je = $rt_wrapException($$e); $json = $$je; } jl_Object_monitorExitSync($splashes); $rt_throw($json); } } $mainMenu = new jl_StringBuilder; $mainMenu.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($mainMenu, $mainMenu.$length0, $rt_s(19)); $i = $mainMenu.$length0; if ($newServer === null) $newServer = $rt_s(1); jl_AbstractStringBuilder_insert($mainMenu, $i, $newServer); jl_AbstractStringBuilder_insert($mainMenu, $mainMenu.$length0, $rt_s(20)); $newServer = new jl_String; var$5 = $mainMenu.$buffer; var$12 = var$5.data; $primary_0 = $mainMenu.$length0; $primary = var$12.length; if ($primary_0 >= 0 && $primary_0 <= ($primary - 0 | 0)) { $newServer.$nativeString = $rt_charArrayToString(var$5.data, 0, $primary_0); $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $json.$message = $newServer; $rt_throw($json); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } if (!($splashes instanceof jl_String)) { $json = null; $splashes = new oj_JSONException; $addr = new ji_StringWriter; $addr.$lock = $addr; $comment = new jl_StringBuffer; $comment.$buffer = $rt_createCharArray(16); $addr.$buf0 = $comment; $addr.$lock = $comment; jl_Object_monitorEnterSync($comment); bp: { bq: { try { br: { try { $mainMenu = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(174), $addr)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break br; } else { throw $$e; } } jl_Object_monitorExitSync($comment); break bp; } $mainMenu = $rt_s(18); jl_Object_monitorExitSync($comment); break bq; } catch ($$e) { $$je = $rt_wrapException($$e); $json = $$je; } jl_Object_monitorExitSync($comment); $rt_throw($json); } } $addr = new jl_StringBuilder; $addr.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($addr, $addr.$length0, $rt_s(19)); $i = $addr.$length0; if ($mainMenu === null) $mainMenu = $rt_s(1); jl_AbstractStringBuilder_insert($addr, $i, $mainMenu); jl_AbstractStringBuilder_insert($addr, $addr.$length0, $rt_s(21)); jl_AbstractStringBuilder_insert($addr, $addr.$length0, $rt_s(5)); $primary_0 = $addr.$length0; jl_AbstractStringBuilder_insertSpace($addr, $primary_0, $primary_0 + 1 | 0); var$5 = $addr.$buffer; var$12 = var$5.data; var$12[$primary_0] = 46; $newServer = new jl_String; $primary_0 = $addr.$length0; $primary = var$12.length; if ($primary_0 >= 0 && $primary_0 <= ($primary - 0 | 0)) { $newServer.$nativeString = $rt_charArrayToString(var$5.data, 0, $primary_0); $splashes.$suppressionEnabled = 1; $splashes.$writableStackTrace = 1; $splashes.$message = $newServer; $splashes.$cause = $json; $rt_throw($splashes); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } bs: { nms_ServerData__init_($newServer, $comment, $splashes, 1); $primary_0 = 0; $splashes = $serverJSON.$map; if (!$rt_s(175).$hashCode1) { $primary = 0; while (true) { if ($primary >= $rt_s(175).$nativeString.length) break bs; $rt_s(175).$hashCode1 = (31 * $rt_s(175).$hashCode1 | 0) + $rt_s(175).$nativeString.charCodeAt($primary) | 0; $primary = $primary + 1 | 0; } } } var$16 = $rt_s(175).$hashCode1; var$5 = $splashes.$elementData.data; $splashes = var$5[var$16 & (var$5.length - 1 | 0)]; while ($splashes !== null) { if ($splashes.$origKeyHash == var$16) { bt: { $addr = $splashes.$key; if ($rt_s(175) !== $addr) { if ($rt_s(175) === $addr) $primary = 1; else if (!($addr instanceof jl_String)) $primary = 0; else { $addr = $addr; $primary = $rt_s(175).$nativeString !== $addr.$nativeString ? 0 : 1; } if (!$primary) { $primary = 0; break bt; } } $primary = 1; } if ($primary) break; } $splashes = $splashes.$next3; } $addr = $splashes === null ? null : $splashes.$value1; $splashes = oj_JSONObject_NULL; $primary = $addr !== null && $addr !== $splashes ? 0 : 1; bu: { if (!$primary) { if ($addr instanceof jl_Boolean) $primary_0 = $addr.$value9; else { bv: { try { $primary = oj_JSONObject_getBoolean($serverJSON, $rt_s(175)); break bv; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } break bu; } $primary_0 = $primary; } } } $newServer.$hideAddress = $primary_0; $mainMenu = nms_ServerList_forcedServers; ju_ArrayList_ensureCapacity($mainMenu, $mainMenu.$size0 + 1 | 0); var$5 = $mainMenu.$array.data; $primary = $mainMenu.$size0; $mainMenu.$size0 = $primary + 1 | 0; var$5[$primary] = $newServer; $mainMenu.$modCount = $mainMenu.$modCount + 1 | 0; $i = $i + 1 | 0; } } } bw: { $newServer = new ju_ArrayList; $newServer.$array = $rt_createArray(jl_Object, 10); nle_ConfigConstants_relays = $newServer; $json = $json.$map; if (!$rt_s(176).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(176).$nativeString.length) break bw; $rt_s(176).$hashCode1 = (31 * $rt_s(176).$hashCode1 | 0) + $rt_s(176).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } $i = $rt_s(176).$hashCode1; var$5 = $json.$elementData.data; $json = var$5[$i & (var$5.length - 1 | 0)]; while ($json !== null) { if ($json.$origKeyHash == $i) { bx: { $mainMenu = $json.$key; if ($rt_s(176) !== $mainMenu) { if ($rt_s(176) === $mainMenu) $primary_0 = 1; else if (!($mainMenu instanceof jl_String)) $primary_0 = 0; else { $mainMenu = $mainMenu; $primary_0 = $rt_s(176).$nativeString !== $mainMenu.$nativeString ? 0 : 1; } if (!$primary_0) { $primary_0 = 0; break bx; } } $primary_0 = 1; } if ($primary_0) break; } $json = $json.$next3; } $json = $json === null ? null : $json.$value1; $relays = !($json instanceof oj_JSONArray) ? null : $json; by: { bz: { if ($relays !== null) { $i = 0; var$14 = $relays.$myArrayList.$size0; while (true) { if ($i >= var$14) break bz; bA: { if ($i >= 0) { $json = $relays.$myArrayList; $primary_0 = $rt_compare($i, $json.$size0); if ($primary_0 < 0) { if ($i < 0) break by; if ($primary_0 >= 0) break by; $json = $json.$array.data[$i]; break bA; } } $json = null; } if ($json === null) { $json = new oj_JSONException; $newServer = new jl_StringBuilder; $newServer.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($newServer, $newServer.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($newServer, $newServer.$length0, $i, 10); jl_AbstractStringBuilder_insert($newServer, $newServer.$length0, $rt_s(20)); $mainMenu = new jl_String; var$5 = $newServer.$buffer; var$12 = var$5.data; $primary_0 = $newServer.$length0; $primary = var$12.length; if ($primary_0 >= 0 && $primary_0 <= ($primary - 0 | 0)) { $mainMenu.$nativeString = $rt_charArrayToString(var$5.data, 0, $primary_0); $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $json.$message = $mainMenu; $rt_throw($json); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } if (!($json instanceof oj_JSONObject)) { $json = null; $mainMenu = new oj_JSONException; $splashes = new jl_StringBuilder; $splashes.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($splashes, $splashes.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($splashes, $splashes.$length0, $i, 10); jl_AbstractStringBuilder_insert($splashes, $splashes.$length0, $rt_s(21)); jl_AbstractStringBuilder_insert($splashes, $splashes.$length0, $rt_s(172)); $primary_0 = $splashes.$length0; jl_AbstractStringBuilder_insertSpace($splashes, $primary_0, $primary_0 + 1 | 0); var$5 = $splashes.$buffer; var$12 = var$5.data; var$12[$primary_0] = 46; $newServer = new jl_String; $primary_0 = $splashes.$length0; $primary = var$12.length; if ($primary_0 >= 0 && $primary_0 <= ($primary - 0 | 0)) { $newServer.$nativeString = $rt_charArrayToString(var$5.data, 0, $primary_0); $mainMenu.$suppressionEnabled = 1; $mainMenu.$writableStackTrace = 1; $mainMenu.$message = $newServer; $mainMenu.$cause = $json; $rt_throw($mainMenu); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } bB: { $relay = $json; $addr = null; $newServer = $relay.$map; if (!$rt_s(177).$hashCode1) { $primary_0 = 0; while (true) { if ($primary_0 >= $rt_s(177).$nativeString.length) break bB; $rt_s(177).$hashCode1 = (31 * $rt_s(177).$hashCode1 | 0) + $rt_s(177).$nativeString.charCodeAt($primary_0) | 0; $primary_0 = $primary_0 + 1 | 0; } } } var$11 = $rt_s(177).$hashCode1; var$5 = $newServer.$elementData.data; $newServer = var$5[var$11 & (var$5.length - 1 | 0)]; while ($newServer !== null) { if ($newServer.$origKeyHash == var$11) { bC: { $mainMenu = $newServer.$key; if ($rt_s(177) !== $mainMenu) { if ($rt_s(177) !== $mainMenu) { if ($mainMenu instanceof jl_String) { $mainMenu = $mainMenu; $primary_0 = $rt_s(177).$nativeString !== $mainMenu.$nativeString ? 0 : 1; } else $primary_0 = 0; } else $primary_0 = 1; if (!$primary_0) { $primary_0 = 0; break bC; } } $primary_0 = 1; } if ($primary_0) break; } $newServer = $newServer.$next3; } $newServer = $newServer === null ? null : $newServer.$value1; $json = oj_JSONObject_NULL; if (!($newServer !== null && $newServer !== $json ? 0 : 1)) $addr = $newServer.$toString(); if ($addr === null) { bD: { $addr = null; $newServer = $relay.$map; if (!$rt_s(178).$hashCode1) { $primary_0 = 0; while (true) { if ($primary_0 >= $rt_s(178).$nativeString.length) break bD; $rt_s(178).$hashCode1 = (31 * $rt_s(178).$hashCode1 | 0) + $rt_s(178).$nativeString.charCodeAt($primary_0) | 0; $primary_0 = $primary_0 + 1 | 0; } } } var$11 = $rt_s(178).$hashCode1; var$5 = $newServer.$elementData.data; $newServer = var$5[var$11 & (var$5.length - 1 | 0)]; while ($newServer !== null) { if ($newServer.$origKeyHash == var$11) { bE: { $mainMenu = $newServer.$key; if ($rt_s(178) !== $mainMenu) { if ($rt_s(178) !== $mainMenu) { if ($mainMenu instanceof jl_String) { $mainMenu = $mainMenu; $primary_0 = $rt_s(178).$nativeString !== $mainMenu.$nativeString ? 0 : 1; } else $primary_0 = 0; } else $primary_0 = 1; if (!$primary_0) { $primary_0 = 0; break bE; } } $primary_0 = 1; } if ($primary_0) break; } $newServer = $newServer.$next3; } $newServer = $newServer === null ? null : $newServer.$value1; $json = oj_JSONObject_NULL; if (!($newServer !== null && $newServer !== $json ? 0 : 1)) $addr = $newServer.$toString(); if ($addr === null) { bF: { $newServer = $relay.$map; if (!$rt_s(179).$hashCode1) { $primary_0 = 0; while (true) { if ($primary_0 >= $rt_s(179).$nativeString.length) break bF; $rt_s(179).$hashCode1 = (31 * $rt_s(179).$hashCode1 | 0) + $rt_s(179).$nativeString.charCodeAt($primary_0) | 0; $primary_0 = $primary_0 + 1 | 0; } } } var$11 = $rt_s(179).$hashCode1; var$5 = $newServer.$elementData.data; $newServer = var$5[var$11 & (var$5.length - 1 | 0)]; while ($newServer !== null) { if ($newServer.$origKeyHash == var$11) { bG: { $mainMenu = $newServer.$key; if ($rt_s(179) !== $mainMenu) { if ($rt_s(179) === $mainMenu) $primary_0 = 1; else if (!($mainMenu instanceof jl_String)) $primary_0 = 0; else { $mainMenu = $mainMenu; $primary_0 = $rt_s(179).$nativeString !== $mainMenu.$nativeString ? 0 : 1; } if (!$primary_0) { $primary_0 = 0; break bG; } } $primary_0 = 1; } if ($primary_0) break; } $newServer = $newServer.$next3; } $newServer = $newServer === null ? null : $newServer.$value1; if ($newServer === null) { $newServer = new oj_JSONException; $mainMenu = new ji_StringWriter; $mainMenu.$lock = $mainMenu; $splashes = new jl_StringBuffer; $splashes.$buffer = $rt_createCharArray(16); $mainMenu.$buf0 = $splashes; $mainMenu.$lock = $splashes; jl_Object_monitorEnterSync($splashes); bH: { bI: { try { bJ: { try { $json = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(179), $mainMenu)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bJ; } else { throw $$e; } } jl_Object_monitorExitSync($splashes); break bH; } $json = $rt_s(18); jl_Object_monitorExitSync($splashes); break bI; } catch ($$e) { $$je = $rt_wrapException($$e); $json = $$je; } jl_Object_monitorExitSync($splashes); $rt_throw($json); } } $mainMenu = new jl_StringBuilder; $mainMenu.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($mainMenu, $mainMenu.$length0, $rt_s(19)); $i = $mainMenu.$length0; if ($json === null) $json = $rt_s(1); jl_AbstractStringBuilder_insert($mainMenu, $i, $json); jl_AbstractStringBuilder_insert($mainMenu, $mainMenu.$length0, $rt_s(20)); $json = new jl_String; var$5 = $mainMenu.$buffer; var$12 = var$5.data; $primary_0 = $mainMenu.$length0; $primary = var$12.length; if ($primary_0 >= 0 && $primary_0 <= ($primary - 0 | 0)) { $json.$nativeString = $rt_charArrayToString(var$5.data, 0, $primary_0); $newServer.$suppressionEnabled = 1; $newServer.$writableStackTrace = 1; $newServer.$message = $json; $rt_throw($newServer); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } if (!($newServer instanceof jl_String)) { $newServer = null; $splashes = new oj_JSONException; $addr = new ji_StringWriter; $addr.$lock = $addr; $comment = new jl_StringBuffer; $comment.$buffer = $rt_createCharArray(16); $addr.$buf0 = $comment; $addr.$lock = $comment; jl_Object_monitorEnterSync($comment); bK: { bL: { try { bM: { try { $json = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(179), $addr)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bM; } else { throw $$e; } } jl_Object_monitorExitSync($comment); break bK; } $json = $rt_s(18); jl_Object_monitorExitSync($comment); break bL; } catch ($$e) { $$je = $rt_wrapException($$e); $json = $$je; } jl_Object_monitorExitSync($comment); $rt_throw($json); } } $addr = new jl_StringBuilder; $addr.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($addr, $addr.$length0, $rt_s(19)); $i = $addr.$length0; if ($json === null) $json = $rt_s(1); jl_AbstractStringBuilder_insert($addr, $i, $json); jl_AbstractStringBuilder_insert($addr, $addr.$length0, $rt_s(21)); jl_AbstractStringBuilder_insert($addr, $addr.$length0, $rt_s(5)); $primary_0 = $addr.$length0; jl_AbstractStringBuilder_insertSpace($addr, $primary_0, $primary_0 + 1 | 0); var$5 = $addr.$buffer; var$12 = var$5.data; var$12[$primary_0] = 46; $json = new jl_String; $primary_0 = $addr.$length0; $primary = var$12.length; if ($primary_0 >= 0 && $primary_0 <= ($primary - 0 | 0)) { $json.$nativeString = $rt_charArrayToString(var$5.data, 0, $primary_0); $splashes.$suppressionEnabled = 1; $splashes.$writableStackTrace = 1; $splashes.$message = $json; $splashes.$cause = $newServer; $rt_throw($splashes); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } $addr = $newServer; } } bN: { $comment = null; $newServer = $relay.$map; if (!$rt_s(180).$hashCode1) { $primary_0 = 0; while (true) { if ($primary_0 >= $rt_s(180).$nativeString.length) break bN; $rt_s(180).$hashCode1 = (31 * $rt_s(180).$hashCode1 | 0) + $rt_s(180).$nativeString.charCodeAt($primary_0) | 0; $primary_0 = $primary_0 + 1 | 0; } } } var$11 = $rt_s(180).$hashCode1; var$5 = $newServer.$elementData.data; $newServer = var$5[var$11 & (var$5.length - 1 | 0)]; while ($newServer !== null) { if ($newServer.$origKeyHash == var$11) { bO: { $mainMenu = $newServer.$key; if ($rt_s(180) !== $mainMenu) { if ($rt_s(180) !== $mainMenu) { if ($mainMenu instanceof jl_String) { $mainMenu = $mainMenu; $primary_0 = $rt_s(180).$nativeString !== $mainMenu.$nativeString ? 0 : 1; } else $primary_0 = 0; } else $primary_0 = 1; if (!$primary_0) { $primary_0 = 0; break bO; } } $primary_0 = 1; } if ($primary_0) break; } $newServer = $newServer.$next3; } $newServer = $newServer === null ? null : $newServer.$value1; $json = oj_JSONObject_NULL; if (!($newServer !== null && $newServer !== $json ? 0 : 1)) $comment = $newServer.$toString(); if ($comment === null) { bP: { $comment = $rt_s(181); $newServer = $relay.$map; if (!$rt_s(182).$hashCode1) { $primary_0 = 0; while (true) { if ($primary_0 >= $rt_s(182).$nativeString.length) break bP; $rt_s(182).$hashCode1 = (31 * $rt_s(182).$hashCode1 | 0) + $rt_s(182).$nativeString.charCodeAt($primary_0) | 0; $primary_0 = $primary_0 + 1 | 0; } } } var$11 = $rt_s(182).$hashCode1; var$5 = $newServer.$elementData.data; $newServer = var$5[var$11 & (var$5.length - 1 | 0)]; while ($newServer !== null) { if ($newServer.$origKeyHash == var$11) { bQ: { $mainMenu = $newServer.$key; if ($rt_s(182) !== $mainMenu) { if ($rt_s(182) === $mainMenu) $primary_0 = 1; else if (!($mainMenu instanceof jl_String)) $primary_0 = 0; else { $mainMenu = $mainMenu; $primary_0 = $rt_s(182).$nativeString !== $mainMenu.$nativeString ? 0 : 1; } if (!$primary_0) { $primary_0 = 0; break bQ; } } $primary_0 = 1; } if ($primary_0) break; } $newServer = $newServer.$next3; } $newServer = $newServer === null ? null : $newServer.$value1; $json = oj_JSONObject_NULL; if (!($newServer !== null && $newServer !== $json ? 0 : 1)) $comment = $newServer.$toString(); } bR: { $primary_0 = 0; $newServer = $relay.$map; if (!$rt_s(161).$hashCode1) { $primary = 0; while (true) { if ($primary >= $rt_s(161).$nativeString.length) break bR; $rt_s(161).$hashCode1 = (31 * $rt_s(161).$hashCode1 | 0) + $rt_s(161).$nativeString.charCodeAt($primary) | 0; $primary = $primary + 1 | 0; } } } var$16 = $rt_s(161).$hashCode1; var$5 = $newServer.$elementData.data; $newServer = var$5[var$16 & (var$5.length - 1 | 0)]; while ($newServer !== null) { if ($newServer.$origKeyHash == var$16) { bS: { $mainMenu = $newServer.$key; if ($rt_s(161) !== $mainMenu) { if ($rt_s(161) === $mainMenu) $primary = 1; else if (!($mainMenu instanceof jl_String)) $primary = 0; else { $mainMenu = $mainMenu; $primary = $rt_s(161).$nativeString !== $mainMenu.$nativeString ? 0 : 1; } if (!$primary) { $primary = 0; break bS; } } $primary = 1; } if ($primary) break; } $newServer = $newServer.$next3; } $mainMenu = $newServer === null ? null : $newServer.$value1; $newServer = oj_JSONObject_NULL; $primary = $mainMenu !== null && $mainMenu !== $newServer ? 0 : 1; bT: { if (!$primary) { if ($mainMenu instanceof jl_Boolean) $primary_0 = $mainMenu.$value9; else { bU: { try { $primary = oj_JSONObject_getBoolean($relay, $rt_s(161)); break bU; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } break bT; } $primary_0 = $primary; } } } if (!$primary_0) { bV: { $primary_0 = 0; $newServer = $relay.$map; if (!$rt_s(183).$hashCode1) { $primary = 0; while (true) { if ($primary >= $rt_s(183).$nativeString.length) break bV; $rt_s(183).$hashCode1 = (31 * $rt_s(183).$hashCode1 | 0) + $rt_s(183).$nativeString.charCodeAt($primary) | 0; $primary = $primary + 1 | 0; } } } var$16 = $rt_s(183).$hashCode1; var$5 = $newServer.$elementData.data; $newServer = var$5[var$16 & (var$5.length - 1 | 0)]; while ($newServer !== null) { if ($newServer.$origKeyHash == var$16) { bW: { $mainMenu = $newServer.$key; if ($rt_s(183) !== $mainMenu) { if ($rt_s(183) === $mainMenu) $primary = 1; else if (!($mainMenu instanceof jl_String)) $primary = 0; else { $mainMenu = $mainMenu; $primary = $rt_s(183).$nativeString !== $mainMenu.$nativeString ? 0 : 1; } if (!$primary) { $primary = 0; break bW; } } $primary = 1; } if ($primary) break; } $newServer = $newServer.$next3; } $mainMenu = $newServer === null ? null : $newServer.$value1; $newServer = oj_JSONObject_NULL; $primary = $mainMenu !== null && $mainMenu !== $newServer ? 0 : 1; bX: { if (!$primary) { if ($mainMenu instanceof jl_Boolean) $primary_0 = $mainMenu.$value9; else { bY: { try { $primary = oj_JSONObject_getBoolean($relay, $rt_s(183)); break bY; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } break bX; } $primary_0 = $primary; } } } } $json = nle_ConfigConstants_relays; $newServer = new nle_RelayEntry; $newServer.$address1 = $addr; $newServer.$comment1 = $comment; $newServer.$primary0 = $primary_0; ju_ArrayList_ensureCapacity($json, $json.$size0 + 1 | 0); var$5 = $json.$array.data; $primary = $json.$size0; $json.$size0 = $primary + 1 | 0; var$5[$primary] = $newServer; $json.$modCount = $json.$modCount + 1 | 0; $i = $i + 1 | 0; } } } return; } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); } $json = new jl_IndexOutOfBoundsException; $json.$suppressionEnabled = 1; $json.$writableStackTrace = 1; $rt_throw($json); }, nms_ServerList_loadServerList = $this => { let var$1, var$2, $i, var$4, $dat, var$6, var$7, var$8, var$9, var$10, var$11, $servers, $dat_0, var$14; nms_ServerList_freeServerIcons($this); var$1 = $this.$servers; var$2 = var$1.$array; $i = 0; var$4 = var$1.$size0; $dat = null; if ($i > var$4) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while ($i < var$4) { var$6 = var$2.data; var$7 = $i + 1 | 0; var$6[$i] = $dat; $i = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$allServers; var$2 = var$1.$array; $i = 0; var$4 = var$1.$size0; $dat = null; if ($i > var$4) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while ($i < var$4) { var$6 = var$2.data; var$7 = $i + 1 | 0; var$6[$i] = $dat; $i = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = nms_ServerList_forcedServers; $i = 0; var$8 = var$1.$modCount; var$9 = var$1.$size(); while ($i >= var$9 ? 0 : 1) { if (var$8 < var$1.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$7 = $i + 1 | 0; $dat = var$1.$get($i); $dat.$pingSentTime = Long_fromInt(-1); $dat.$hasPing = 0; var$10 = $this.$servers; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$2 = var$10.$array.data; var$4 = var$10.$size0; var$10.$size0 = var$4 + 1 | 0; var$2[var$4] = $dat; var$10.$modCount = var$10.$modCount + 1 | 0; var$10 = $this.$allServers; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$2 = var$10.$array.data; var$4 = var$10.$size0; var$10.$size0 = var$4 + 1 | 0; var$2[var$4] = $dat; var$10.$modCount = var$10.$modCount + 1 | 0; $i = var$7; } a: { $dat = nle_LocalStorageManager_gameSettingsStorage; var$10 = $dat.$tagMap; if (!$rt_s(160).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(160).$nativeString.length) break a; $rt_s(160).$hashCode1 = (31 * $rt_s(160).$hashCode1 | 0) + $rt_s(160).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } $i = $rt_s(160).$hashCode1; var$2 = var$10.$elementData.data; var$10 = var$2[$i & (var$2.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == $i) { b: { var$11 = var$10.$key; if ($rt_s(160) !== var$11) { if ($rt_s(160) !== var$11) { if (var$11 instanceof jl_String) { var$11 = var$11; var$4 = $rt_s(160).$nativeString !== var$11.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } var$10 = var$10.$next3; } if (!(var$10 === null ? 0 : 1)) { $servers = new nms_NBTTagList; if ($rt_s(160) !== null) $servers.$name = $rt_s(160); else $servers.$name = $rt_s(18); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $servers.$tagList = var$1; } else { $dat = $dat.$tagMap; if ($rt_s(160) === null) { $dat = $dat.$elementData.data[0]; while ($dat !== null && $dat.$key !== null) { $dat = $dat.$next3; } } else { c: { if (!$rt_s(160).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(160).$nativeString.length) break c; $rt_s(160).$hashCode1 = (31 * $rt_s(160).$hashCode1 | 0) + $rt_s(160).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } $i = $rt_s(160).$hashCode1; var$2 = $dat.$elementData.data; $dat = var$2[$i & (var$2.length - 1 | 0)]; while ($dat !== null) { if ($dat.$origKeyHash == $i) { d: { var$10 = $dat.$key; if ($rt_s(160) !== var$10) { if ($rt_s(160) === var$10) var$4 = 1; else if (!(var$10 instanceof jl_String)) var$4 = 0; else { var$10 = var$10; var$4 = $rt_s(160).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } $dat = $dat.$next3; } } $servers = $dat === null ? null : $dat.$value1; } $i = 0; e: { while (true) { var$1 = $servers.$tagList; var$4 = $rt_compare($i, var$1.$size0); if (var$4 >= 0) break; if ($i < 0) break e; if (var$4 >= 0) break e; f: { var$1 = var$1.$array.data[$i]; $dat_0 = new nms_ServerData; $dat = var$1.$tagMap; if (!$rt_s(180).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(180).$nativeString.length) break f; $rt_s(180).$hashCode1 = (31 * $rt_s(180).$hashCode1 | 0) + $rt_s(180).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(180).$hashCode1; var$2 = $dat.$elementData.data; $dat = var$2[var$8 & (var$2.length - 1 | 0)]; while ($dat !== null) { if ($dat.$origKeyHash == var$8) { g: { var$10 = $dat.$key; if ($rt_s(180) !== var$10) { if ($rt_s(180) === var$10) var$4 = 1; else if (!(var$10 instanceof jl_String)) var$4 = 0; else { var$10 = var$10; var$4 = $rt_s(180).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break g; } } var$4 = 1; } if (var$4) break; } $dat = $dat.$next3; } if (!($dat === null ? 0 : 1)) var$14 = $rt_s(18); else { $dat = var$1.$tagMap; if ($rt_s(180) !== null) { h: { if (!$rt_s(180).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(180).$nativeString.length) break h; $rt_s(180).$hashCode1 = (31 * $rt_s(180).$hashCode1 | 0) + $rt_s(180).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(180).$hashCode1; var$2 = $dat.$elementData.data; $dat = var$2[var$8 & (var$2.length - 1 | 0)]; while ($dat !== null) { if ($dat.$origKeyHash == var$8) { i: { var$10 = $dat.$key; if ($rt_s(180) !== var$10) { if ($rt_s(180) !== var$10) { if (var$10 instanceof jl_String) { var$10 = var$10; var$4 = $rt_s(180).$nativeString !== var$10.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break i; } } var$4 = 1; } if (var$4) break; } $dat = $dat.$next3; } } else { $dat = $dat.$elementData.data[0]; while ($dat !== null && $dat.$key !== null) { $dat = $dat.$next3; } } var$14 = ($dat === null ? null : $dat.$value1).$data1; } j: { $dat = var$1.$tagMap; if (!$rt_s(184).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(184).$nativeString.length) break j; $rt_s(184).$hashCode1 = (31 * $rt_s(184).$hashCode1 | 0) + $rt_s(184).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(184).$hashCode1; var$2 = $dat.$elementData.data; $dat = var$2[var$8 & (var$2.length - 1 | 0)]; while ($dat !== null) { if ($dat.$origKeyHash == var$8) { k: { var$10 = $dat.$key; if ($rt_s(184) !== var$10) { if ($rt_s(184) === var$10) var$4 = 1; else if (var$10 instanceof jl_String) { var$10 = var$10; var$4 = $rt_s(184).$nativeString !== var$10.$nativeString ? 0 : 1; } else var$4 = 0; if (!var$4) { var$4 = 0; break k; } } var$4 = 1; } if (var$4) break; } $dat = $dat.$next3; } if (!($dat === null ? 0 : 1)) var$11 = $rt_s(18); else { $dat = var$1.$tagMap; if ($rt_s(184) === null) { $dat = $dat.$elementData.data[0]; while ($dat !== null && $dat.$key !== null) { $dat = $dat.$next3; } } else { l: { if (!$rt_s(184).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(184).$nativeString.length) break l; $rt_s(184).$hashCode1 = (31 * $rt_s(184).$hashCode1 | 0) + $rt_s(184).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(184).$hashCode1; var$2 = $dat.$elementData.data; $dat = var$2[var$8 & (var$2.length - 1 | 0)]; while ($dat !== null) { if ($dat.$origKeyHash == var$8) { m: { var$10 = $dat.$key; if ($rt_s(184) !== var$10) { if ($rt_s(184) === var$10) var$4 = 1; else if (!(var$10 instanceof jl_String)) var$4 = 0; else { var$10 = var$10; var$4 = $rt_s(184).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break m; } } var$4 = 1; } if (var$4) break; } $dat = $dat.$next3; } } var$11 = ($dat === null ? null : $dat.$value1).$data1; } n: { $dat = var$1.$tagMap; if (!$rt_s(161).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(161).$nativeString.length) break n; $rt_s(161).$hashCode1 = (31 * $rt_s(161).$hashCode1 | 0) + $rt_s(161).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(161).$hashCode1; var$2 = $dat.$elementData.data; $dat = var$2[var$8 & (var$2.length - 1 | 0)]; while ($dat !== null) { if ($dat.$origKeyHash == var$8) { o: { var$10 = $dat.$key; if ($rt_s(161) !== var$10) { if ($rt_s(161) === var$10) var$4 = 1; else if (!(var$10 instanceof jl_String)) var$4 = 0; else { var$10 = var$10; var$4 = $rt_s(161).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break o; } } var$4 = 1; } if (var$4) break; } $dat = $dat.$next3; } if (!($dat === null ? 0 : 1)) var$4 = 0; else { $dat = var$1.$tagMap; if ($rt_s(161) === null) { $dat = $dat.$elementData.data[0]; while ($dat !== null && $dat.$key !== null) { $dat = $dat.$next3; } } else { p: { if (!$rt_s(161).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(161).$nativeString.length) break p; $rt_s(161).$hashCode1 = (31 * $rt_s(161).$hashCode1 | 0) + $rt_s(161).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(161).$hashCode1; var$2 = $dat.$elementData.data; $dat = var$2[var$8 & (var$2.length - 1 | 0)]; while ($dat !== null) { if ($dat.$origKeyHash == var$8) { q: { var$10 = $dat.$key; if ($rt_s(161) !== var$10) { if ($rt_s(161) === var$10) var$4 = 1; else if (!(var$10 instanceof jl_String)) var$4 = 0; else { var$10 = var$10; var$4 = $rt_s(161).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break q; } } var$4 = 1; } if (var$4) break; } $dat = $dat.$next3; } } var$4 = ($dat === null ? null : $dat.$value1).$data; } var$4 = !var$4 ? 0 : 1; r: { nms_ServerData__init_($dat_0, var$14, var$11, var$4); $dat = var$1.$tagMap; if (!$rt_s(175).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(175).$nativeString.length) break r; $rt_s(175).$hashCode1 = (31 * $rt_s(175).$hashCode1 | 0) + $rt_s(175).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(175).$hashCode1; var$2 = $dat.$elementData.data; var$10 = var$2[var$8 & (var$2.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$8) { s: { $dat = var$10.$key; if ($rt_s(175) !== $dat) { if ($rt_s(175) === $dat) var$4 = 1; else if (!($dat instanceof jl_String)) var$4 = 0; else { $dat = $dat; var$4 = $rt_s(175).$nativeString !== $dat.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break s; } } var$4 = 1; } if (var$4) break; } var$10 = var$10.$next3; } if (!(var$10 === null ? 0 : 1)) var$4 = 0; else { var$1 = var$1.$tagMap; if ($rt_s(175) === null) { var$10 = var$1.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { t: { if (!$rt_s(175).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(175).$nativeString.length) break t; $rt_s(175).$hashCode1 = (31 * $rt_s(175).$hashCode1 | 0) + $rt_s(175).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$7 = $rt_s(175).$hashCode1; var$2 = var$1.$elementData.data; var$10 = var$2[var$7 & (var$2.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$7) { u: { var$1 = var$10.$key; if ($rt_s(175) !== var$1) { if ($rt_s(175) === var$1) var$4 = 1; else if (!(var$1 instanceof jl_String)) var$4 = 0; else { var$1 = var$1; var$4 = $rt_s(175).$nativeString !== var$1.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break u; } } var$4 = 1; } if (var$4) break; } var$10 = var$10.$next3; } } var$4 = (var$10 === null ? null : var$10.$value1).$data; } $dat_0.$hideAddress = !var$4 ? 0 : 1; var$1 = $this.$servers; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$2[var$7] = $dat_0; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$allServers; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$2[var$7] = $dat_0; var$1.$modCount = var$1.$modCount + 1 | 0; $i = $i + 1 | 0; } return; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nms_ServerList_saveServerList = $this => { let $servers, var$2, $i, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $$je; $servers = new nms_NBTTagList; $servers.$name = $rt_s(18); var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $servers.$tagList = var$2; nms_ServerList_$callClinit(); $i = nms_ServerList_forcedServers.$size0; while (true) { var$2 = $this.$allServers; var$4 = $rt_compare($i, var$2.$size0); if (var$4 >= 0) { var$2 = nle_LocalStorageManager_gameSettingsStorage.$tagMap; $servers.$name = $rt_s(160); ju_HashMap_putImpl(var$2, $rt_s(160), $servers); a: { try { nlea_EaglerAdapterImpl2_saveLocalStorage($rt_s(185), nms_CompressedStreamTools_writeUncompressed(nle_LocalStorageManager_gameSettingsStorage)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } return; } if ($i < 0) break; if (var$4 >= 0) break; var$2 = var$2.$array.data[$i]; var$5 = new nms_NBTTagCompound; var$5.$name = $rt_s(18); var$6 = ju_HashMap__init_(); var$5.$tagMap = var$6; var$7 = var$2.$serverName1; var$8 = new nms_NBTTagString; var$8.$name = $rt_s(180); var$8.$data1 = var$7; if (var$7 === null) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(186); $rt_throw(var$2); } ju_HashMap_putImpl(var$6, $rt_s(180), var$8); var$7 = var$2.$serverIP; var$6 = var$5.$tagMap; var$8 = new nms_NBTTagString; var$8.$name = $rt_s(184); var$8.$data1 = var$7; if (var$7 === null) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(186); $rt_throw(var$2); } ju_HashMap_putImpl(var$6, $rt_s(184), var$8); var$4 = (!var$2.$hideAddress ? 0 : 1) << 24 >> 24; var$7 = var$5.$tagMap; var$2 = new nms_NBTTagByte; var$2.$name = $rt_s(175); var$2.$data = var$4; ju_HashMap_putImpl(var$7, $rt_s(175), var$2); $servers.$tagType = 10; var$2 = $servers.$tagList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$9 = var$2.$array.data; var$10 = var$2.$size0; var$2.$size0 = var$10 + 1 | 0; var$9[var$10] = var$5; var$2.$modCount = var$2.$modCount + 1 | 0; $i = $i + 1 | 0; } $servers = new jl_IndexOutOfBoundsException; $servers.$suppressionEnabled = 1; $servers.$writableStackTrace = 1; $rt_throw($servers); }, nms_ServerList_freeServerIcons = $this => { let var$1, var$2, var$3, var$4, var$5, $dat, var$7, var$8, var$9, var$10; var$1 = $this.$allServers; var$2 = 0; var$3 = var$1.$modCount; var$4 = var$1.$size(); while (var$2 >= var$4 ? 0 : 1) { if (var$3 < var$1.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$5 = var$2 + 1 | 0; $dat = var$1.$get(var$2); var$7 = $dat.$currentQuery; if (var$7 !== null && var$7.$open0) { var$7.$open0 = 0; var$7.$sock.close(); } var$2 = $dat.$serverIconGL; if (var$2 != (-1)) { nleg_EaglerAdapterGL30_$callClinit(); var$8 = nleg_EaglerAdapterGL30_texObjects; if (var$2 < var$8.$size4 && var$2 >= 0) { var$9 = var$8.$values.data; var$10 = var$9[var$2]; var$9[var$2] = null; var$8.$allocatedObjects = var$8.$allocatedObjects - 1 | 0; } else var$10 = null; var$7 = var$10; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteTexture(var$7.$obj1); $dat.$serverIconGL = (-1); } $dat.$serverIconDirty = 0; $dat.$serverIconEnabled = 0; var$2 = var$5; } }, nms_ServerList_refreshServerPing = $this => { let var$1, var$2, var$3, var$4, $dat, var$6, var$7, var$8, var$9, var$10; var$1 = $this.$servers; var$2 = var$1.$array; var$3 = 0; var$4 = var$1.$size0; $dat = null; if (var$3 > var$4) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$3 < var$4) { var$6 = var$2.data; var$7 = var$3 + 1 | 0; var$6[var$3] = $dat; var$3 = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; $dat = $this.$allServers; var$4 = 0; var$8 = $dat.$modCount; var$7 = $dat.$size(); while (true) { if (!(var$4 >= var$7 ? 0 : 1)) { var$1 = $this.$servers; var$8 = 0; var$7 = var$1.$modCount; var$9 = var$1.$size(); while (var$8 >= var$9 ? 0 : 1) { if (var$7 < var$1.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$4 = var$8 + 1 | 0; $dat = var$1.$get(var$8); var$10 = $dat.$currentQuery; if (var$10 !== null && var$10.$open0) { var$10.$open0 = 0; var$10.$sock.close(); } $dat.$hasPing = 0; $dat.$pingSentTime = Long_fromInt(-1); var$8 = var$4; } return; } if (var$8 < $dat.$modCount) break; var$9 = var$4 + 1 | 0; var$10 = $dat.$get(var$4); ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$10; var$1.$modCount = var$1.$modCount + 1 | 0; var$4 = var$9; } var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nms_ServerList_updateServerPing = $this => { let $total, $dat, $itr, var$4, $i, $addr, var$7, $pkt, $r, var$10, var$11; $total = 0; $dat = $this.$servers; $itr = new ju_AbstractList$1; $itr.$this$00 = $dat; $itr.$modCount1 = $dat.$modCount; $itr.$size3 = $dat.$size(); $itr.$removeIndex = (-1); a: { b: { c: { while (true) { var$4 = $itr.$index0; if (!(var$4 >= $itr.$size3 ? 0 : 1)) break c; $i = $itr.$modCount1; $dat = $itr.$this$00; if ($i < $dat.$modCount) { $dat = new ju_ConcurrentModificationException; $dat.$suppressionEnabled = 1; $dat.$writableStackTrace = 1; $rt_throw($dat); } $itr.$removeIndex = var$4; $itr.$index0 = var$4 + 1 | 0; $dat = $dat.$get(var$4); if (Long_le($dat.$pingSentTime, Long_ZERO)) { $dat.$pingToServer = Long_fromInt(-2); $addr = $dat.$serverIP; var$4 = $addr === $rt_s(187) ? 1 : jl_String_startsWith($addr, $rt_s(187), 0); if (!var$4 && !($addr === $rt_s(188) ? 1 : jl_String_startsWith($addr, $rt_s(188), 0))) { nlea_EaglerAdapterImpl2_$callClinit(); var$7 = $rt_str(window.location.href); if (!(var$7 === $rt_s(189) ? 1 : jl_String_startsWith(var$7, $rt_s(189), 0))) { $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $rt_s(187)); var$4 = $pkt.$length0; if ($addr === null) $addr = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, var$4, $addr); $addr = new jl_String; $r = $pkt.$buffer; var$10 = $r.data; $i = $pkt.$length0; var$11 = var$10.length; if ($i < 0) break b; if ($i > (var$11 - 0 | 0)) break b; $addr.$nativeString = $rt_charArrayToString($r.data, 0, $i); } else { $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $rt_s(188)); var$4 = $pkt.$length0; if ($addr === null) $addr = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, var$4, $addr); $addr = new jl_String; $r = $pkt.$buffer; var$10 = $r.data; $i = $pkt.$length0; var$11 = var$10.length; if ($i < 0) break a; if ($i > (var$11 - 0 | 0)) break a; $addr.$nativeString = $rt_charArrayToString($r.data, 0, $i); } } nlea_EaglerAdapterImpl2_$callClinit(); $dat.$pingSentTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $dat.$currentQuery = nlea_EaglerAdapterImpl2$ServerQueryImpl__init_($rt_s(190), $addr); $total = $total + 1 | 0; } else { $addr = $dat.$currentQuery; if ($addr !== null) { if (!$dat.$hasPing) $total = $total + 1 | 0; if ($addr.$queryResponses.$size2 > 0) { while (true) { $addr = $dat.$currentQuery.$queryResponses; if ($addr.$size2 <= 0) $pkt = null; else { $addr = ju_LinkedList_listIterator($addr, 0); $pkt = ju_LinkedList$SequentialListIterator_next($addr); ju_LinkedList$SequentialListIterator_remove($addr); $pkt = $pkt; } if ($dat.$currentQuery.$queryResponses.$size2 > 0) continue; else break; } $addr = $pkt.$rateLimitStatus1; if ($addr !== null) { if ($addr === nlea_EaglerAdapterImpl2$RateLimit_LOCKED) nms_ServerData_setRateLimitError($dat, 1, $pkt.$rateLimitIsTCP); else if ($addr === nlea_EaglerAdapterImpl2$RateLimit_BLOCKED) nms_ServerData_setRateLimitError($dat, 0, $pkt.$rateLimitIsTCP); $addr = $dat.$currentQuery; $addr.$open0 = 0; $addr.$sock.close(); $dat.$pingToServer = Long_fromInt(-1); $dat.$hasPing = 1; } else if (jl_String_equalsIgnoreCase($pkt.$responseType, $rt_s(190)) && $pkt.$responseData instanceof oj_JSONObject) { nms_ServerData_setMOTDFromQuery($dat, $pkt); if (!$dat.$hasPing) { $dat.$pingToServer = Long_sub($pkt.$clientTime, $dat.$pingSentTime); $dat.$hasPing = 1; } } } if ($dat.$currentQuery.$queryResponsesBytes.$size2 > 0) { while (true) { $addr = $dat.$currentQuery.$queryResponsesBytes; if ($addr.$size2 <= 0) $r = null; else { $addr = ju_LinkedList_listIterator($addr, 0); $pkt = ju_LinkedList$SequentialListIterator_next($addr); ju_LinkedList$SequentialListIterator_remove($addr); $r = $pkt; } if ($dat.$currentQuery.$queryResponsesBytes.$size2 > 0) continue; else break; } $r = $r.data; if ($r.length == 16384) { if ($dat.$serverIcon === null) $dat.$serverIcon = $rt_createIntArray(4096); $i = 0; while ($i < 4096) { var$10 = $dat.$serverIcon.data; var$4 = $i * 4 | 0; var$10[$i] = ($r[var$4 + 3 | 0] & 255) << 24 | ($r[var$4] & 255) << 16 | ($r[var$4 + 1 | 0] & 255) << 8 | $r[var$4 + 2 | 0] & 255; $i = $i + 1 | 0; } $dat.$serverIconDirty = 1; } } if (!$dat.$currentQuery.$open0 && Long_gt($dat.$pingSentTime, Long_ZERO) && !$dat.$hasPing) { $dat.$pingToServer = Long_fromInt(-1); $dat.$hasPing = 1; } nms_ServerList_$callClinit(); if (nms_ServerList_hideDownDefaultServers && $dat.$isDefault && Long_eq($dat.$pingToServer, Long_fromInt(-1)) && $dat.$hasPing == 1) ju_AbstractList$1_remove($itr); } } if ($total >= 4) break; } } return; } $dat = new jl_IndexOutOfBoundsException; $dat.$suppressionEnabled = 1; $dat.$writableStackTrace = 1; $rt_throw($dat); } $dat = new jl_IndexOutOfBoundsException; $dat.$suppressionEnabled = 1; $dat.$writableStackTrace = 1; $rt_throw($dat); }, nms_ServerList__clinit_ = () => { let var$1, var$2; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_ServerList_forcedServers = var$1; var$1 = new nle_EaglercraftRandom; var$2 = Long_fromNumber(performance.now() * 1000000.0); var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = var$2; nms_ServerList_random = var$1; nms_ServerList_hideDownDefaultServers = 0; }, nlea_EaglerAdapterImpl2 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2_doc = null, nlea_EaglerAdapterImpl2_parent = null, nlea_EaglerAdapterImpl2_canvas = null, nlea_EaglerAdapterImpl2_webgl = null, nlea_EaglerAdapterImpl2_backBuffer = null, nlea_EaglerAdapterImpl2_backBufferColor = null, nlea_EaglerAdapterImpl2_backBufferDepth = null, nlea_EaglerAdapterImpl2_win = null, nlea_EaglerAdapterImpl2_loadedPackage = null, nlea_EaglerAdapterImpl2_contextmenu = null, nlea_EaglerAdapterImpl2_mousedown = null, nlea_EaglerAdapterImpl2_mouseup = null, nlea_EaglerAdapterImpl2_mousemove = null, nlea_EaglerAdapterImpl2_keydown = null, nlea_EaglerAdapterImpl2_keyup = null, nlea_EaglerAdapterImpl2_keypress = null, nlea_EaglerAdapterImpl2_wheel = null, nlea_EaglerAdapterImpl2_identifier = null, nlea_EaglerAdapterImpl2_integratedServerScript = null, nlea_EaglerAdapterImpl2_anisotropicFilteringSupported = 0, nlea_EaglerAdapterImpl2_vsyncSupport = 0, nlea_EaglerAdapterImpl2_vsyncTimeout = 0, nlea_EaglerAdapterImpl2_useDelayOnSwap = 0, nlea_EaglerAdapterImpl2_immediateContinueChannel = null, nlea_EaglerAdapterImpl2_currentMsgChannelContinueHack = null, nlea_EaglerAdapterImpl2_fileChooser = null, nlea_EaglerAdapterImpl2_mouseEvents = null, nlea_EaglerAdapterImpl2_keyEvents = null, nlea_EaglerAdapterImpl2_mouseX = 0, nlea_EaglerAdapterImpl2_mouseY = 0, nlea_EaglerAdapterImpl2_mouseDX = 0.0, nlea_EaglerAdapterImpl2_mouseDY = 0.0, nlea_EaglerAdapterImpl2_width = 0, nlea_EaglerAdapterImpl2_height = 0, nlea_EaglerAdapterImpl2_enableRepeatEvents = 0, nlea_EaglerAdapterImpl2_isWindowFocused = 0, nlea_EaglerAdapterImpl2_progId = 0; let nlea_EaglerAdapterImpl2_viewportCache = null, nlea_EaglerAdapterImpl2_currentProgram = 0, nlea_EaglerAdapterImpl2_imageLoadCanvas = null, nlea_EaglerAdapterImpl2_imageLoadContext = null, nlea_EaglerAdapterImpl2_currentVideo = null, nlea_EaglerAdapterImpl2_videoTexture = null, nlea_EaglerAdapterImpl2_videoIsLoaded = 0, nlea_EaglerAdapterImpl2_videoTexIsInitialized = 0, nlea_EaglerAdapterImpl2_frameRate = 0, nlea_EaglerAdapterImpl2_frameTimer = Long_ZERO, nlea_EaglerAdapterImpl2_currentVideoAudioSource = null, nlea_EaglerAdapterImpl2_currentVideoAudioGain = null, nlea_EaglerAdapterImpl2_currentVideoAudioGainValue = 0.0, nlea_EaglerAdapterImpl2_currentVideoAudioPanner = null, nlea_EaglerAdapterImpl2_currentVideoAudioX = 0.0, nlea_EaglerAdapterImpl2_currentVideoAudioY = 0.0, nlea_EaglerAdapterImpl2_currentVideoAudioZ = 0.0, nlea_EaglerAdapterImpl2_videosBuffer = null, nlea_EaglerAdapterImpl2_currentImage = null, nlea_EaglerAdapterImpl2_imageTexture = null, nlea_EaglerAdapterImpl2_imageIsLoaded = 0, nlea_EaglerAdapterImpl2_imageTexIsInitialized = 0, nlea_EaglerAdapterImpl2_imageFrameRate = 0, nlea_EaglerAdapterImpl2_imageFrameTimer = Long_ZERO, nlea_EaglerAdapterImpl2_imagesBuffer = null, nlea_EaglerAdapterImpl2_currentEvent = null, nlea_EaglerAdapterImpl2_currentEventK = null, nlea_EaglerAdapterImpl2_buttonStates = null, nlea_EaglerAdapterImpl2_keyStates = null, nlea_EaglerAdapterImpl2_mouseUngrabTimer = Long_ZERO, nlea_EaglerAdapterImpl2_mouseUngrabTimeout = 0, nlea_EaglerAdapterImpl2_syncTimer = null, nlea_EaglerAdapterImpl2_emptyJSString = null, nlea_EaglerAdapterImpl2_backBufferWidth = 0, nlea_EaglerAdapterImpl2_backBufferHeight = 0, nlea_EaglerAdapterImpl2_pointerLockFlag = 0, nlea_EaglerAdapterImpl2_dateFormatSS = null, nlea_EaglerAdapterImpl2_rateLimitedAddresses = null, nlea_EaglerAdapterImpl2_blockedAddresses = null, nlea_EaglerAdapterImpl2_sock = null, nlea_EaglerAdapterImpl2_sockIsConnecting = 0, nlea_EaglerAdapterImpl2_sockIsConnected = 0, nlea_EaglerAdapterImpl2_sockIsAlive = 0, nlea_EaglerAdapterImpl2_readPackets = null, nlea_EaglerAdapterImpl2_rateLimitStatus = null, nlea_EaglerAdapterImpl2_currentSockURI = null, nlea_EaglerAdapterImpl2_playbackId = 0, nlea_EaglerAdapterImpl2_audioElementId = 0, nlea_EaglerAdapterImpl2_loadedSoundFiles = null, nlea_EaglerAdapterImpl2_audioctx = null; let nlea_EaglerAdapterImpl2_masterVolumeNode = null, nlea_EaglerAdapterImpl2_musicVolumeNode = null, nlea_EaglerAdapterImpl2_playbackOffsetDelay = 0.0, nlea_EaglerAdapterImpl2_activeSoundEffects = null, nlea_EaglerAdapterImpl2_voiceClient = null, nlea_EaglerAdapterImpl2_voiceAvailableStat = 0, nlea_EaglerAdapterImpl2_voiceSignalHandlersInitialized = 0, nlea_EaglerAdapterImpl2_returnSignalHandler = null, nlea_EaglerAdapterImpl2_voiceAnalysers = null, nlea_EaglerAdapterImpl2_voiceGains = null, nlea_EaglerAdapterImpl2_voicePanners = null, nlea_EaglerAdapterImpl2_nearbyPlayers = null, nlea_EaglerAdapterImpl2_recentlyNearbyPlayers = null, nlea_EaglerAdapterImpl2_talkStatus = 0, nlea_EaglerAdapterImpl2_proximity = 0, nlea_EaglerAdapterImpl2_volumeListen = 0.0, nlea_EaglerAdapterImpl2_volumeSpeak = 0.0, nlea_EaglerAdapterImpl2_mutedSet = null, nlea_EaglerAdapterImpl2_speakingSet = null, nlea_EaglerAdapterImpl2_LWJGLKeyNames = null, nlea_EaglerAdapterImpl2_LWJGLKeyCodes = null, nlea_EaglerAdapterImpl2_appendbufferindex = 0, nlea_EaglerAdapterImpl2_appendbuffer = null, nlea_EaglerAdapterImpl2_workerMessageQueue = null, nlea_EaglerAdapterImpl2_server = null, nlea_EaglerAdapterImpl2_serverAlive = 0, nlea_EaglerAdapterImpl2_worldDatabaseName = null, nlea_EaglerAdapterImpl2_unpressCTRL = 0, nlea_EaglerAdapterImpl2_serverToJoinOnLaunch = null, nlea_EaglerAdapterImpl2_endianWasChecked = 0, nlea_EaglerAdapterImpl2_isBigEndian = 0, nlea_EaglerAdapterImpl2_isLittleEndian = 0, nlea_EaglerAdapterImpl2_relayQueryLimited = null, nlea_EaglerAdapterImpl2_relayQueryBlocked = null, nlea_EaglerAdapterImpl2_rtcLANClient = null, nlea_EaglerAdapterImpl2_clientLANinit = 0, nlea_EaglerAdapterImpl2_clientLANPacketBuffer = null, nlea_EaglerAdapterImpl2_clientICECandidate = null, nlea_EaglerAdapterImpl2_clientDescription = null, nlea_EaglerAdapterImpl2_clientDataChannelOpen = 0, nlea_EaglerAdapterImpl2_clientDataChannelClosed = 0, nlea_EaglerAdapterImpl2_rtcLANServer = null, nlea_EaglerAdapterImpl2_serverLANinit = 0, nlea_EaglerAdapterImpl2_serverLANEventBuffer = null, nlea_EaglerAdapterImpl2_steadyTimeFunc = null, nlea_EaglerAdapterImpl2_$callClinit = () => { nlea_EaglerAdapterImpl2_$callClinit = $rt_eraseClinit(nlea_EaglerAdapterImpl2); nlea_EaglerAdapterImpl2__clinit_(); }, nlea_EaglerAdapterImpl2__init_ = $this => { nlea_EaglerAdapterImpl2_$callClinit(); }, nlea_EaglerAdapterImpl2__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2(); nlea_EaglerAdapterImpl2__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2__wgetShaderHeader = () => { nlea_EaglerAdapterImpl2_$callClinit(); return $rt_s(191); }, nlea_EaglerAdapterImpl2_isSSLPage = () => { let var$1; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = $rt_str(window.location.href); return var$1 === $rt_s(189) ? 1 : jl_String_startsWith(var$1, $rt_s(189), 0); }; let nlea_EaglerAdapterImpl2_loadResource = $path => { let var$2, var$3, var$4, var$5, var$6, var$7; nlea_EaglerAdapterImpl2_$callClinit(); if ($path === $rt_s(192) ? 1 : jl_String_startsWith($path, $rt_s(192), 0)) $path = jl_String_substring($path, 1, $path.$nativeString.length); var$2 = nle_AssetRepository_filePool; if ($path === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$path.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $path.$nativeString.length) break a; $path.$hashCode1 = (31 * $path.$hashCode1 | 0) + $path.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $path.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($path !== var$6) { if ($path === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $path.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$7 = var$2 === null ? null : var$2.$value1; if (var$7 === null) return null; var$5 = var$7.data; $path = new nle_EaglerInputStream; $path.$mark0 = 0; $path.$buf1 = var$7; $path.$pos = 0; $path.$count = var$5.length; return $path; }, nlea_EaglerAdapterImpl2_loadResourceBytes = $path => { let var$2, var$3, var$4, var$5, var$6; nlea_EaglerAdapterImpl2_$callClinit(); if ($path === $rt_s(192) ? 1 : jl_String_startsWith($path, $rt_s(192), 0)) $path = jl_String_substring($path, 1, $path.$nativeString.length); var$2 = nle_AssetRepository_filePool; if ($path === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$path.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $path.$nativeString.length) break a; $path.$hashCode1 = (31 * $path.$hashCode1 | 0) + $path.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $path.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($path !== var$6) { if ($path === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $path.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } return var$2 === null ? null : var$2.$value1; }, nlea_EaglerAdapterImpl2_downloadAssetPack = ($assetPackageURI, $cb) => { let $request, var$4; nlea_EaglerAdapterImpl2_$callClinit(); $request = new XMLHttpRequest(); var$4 = "arraybuffer"; $request.responseType = var$4; $request.open("GET", $rt_ustr($assetPackageURI), !!1); $assetPackageURI = new nlea_EaglerAdapterImpl2$1; $assetPackageURI.$val$request = $request; $assetPackageURI.$val$cb9 = $cb; $assetPackageURI = otji_JS_function($assetPackageURI, "stateChanged"); $request.onreadystatechange = $assetPackageURI; $request.send(); }, nlea_EaglerAdapterImpl2_downloadURL = ($url, $cb) => { let var$3, $request, var$5; nlea_EaglerAdapterImpl2_$callClinit(); if ($url.$nativeString.length ? 0 : 1) { var$3 = $rt_createByteArray(0); $cb.$realAsyncCallback.$complete(var$3); return; } $request = new XMLHttpRequest(); var$5 = "arraybuffer"; $request.responseType = var$5; $request.open("GET", $rt_ustr($url), !!1); $url = new nlea_EaglerAdapterImpl2$2; $url.$val$request0 = $request; $url.$val$cb0 = $cb; $url = otji_JS_function($url, "stateChanged"); $request.onreadystatechange = $url; $request.send(); }, nlea_EaglerAdapterImpl2_initializeContext = ($rootElement, $assetPackageURI, $serverWorkerURI) => { let $s, $e, var$6, var$7, var$8, var$9, $sh, $iw, $r, $ih, $sw, $canvasStyle, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$canvasStyle = $thread.pop();$sw = $thread.pop();$ih = $thread.pop();$r = $thread.pop();$iw = $thread.pop();$sh = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$e = $thread.pop();$s = $thread.pop();$serverWorkerURI = $thread.pop();$assetPackageURI = $thread.pop();$rootElement = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_parent = $rootElement; $s = $rt_str($rootElement.getAttribute("style")); $e = nlea_EaglerAdapterImpl2_parent; if ($s === null) $s = $rt_s(18); var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $s); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(193)); var$7 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; $sh = var$6.$length0; $iw = var$9.length; if ($sh >= 0 && $sh <= ($iw - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$8.data, 0, $sh); $e.setAttribute("style", $rt_ustr(var$7)); $e = window; nlea_EaglerAdapterImpl2_win = $e; nlea_EaglerAdapterImpl2_doc = $e.document; nlea_EaglerAdapterImpl2_integratedServerScript = $serverWorkerURI; $r = nlea_EaglerAdapterImpl2_win.devicePixelRatio; $iw = nlea_EaglerAdapterImpl2_parent.clientWidth; $ih = nlea_EaglerAdapterImpl2_parent.clientHeight; $sw = $r * $iw | 0; $sh = $r * $ih | 0; $serverWorkerURI = nlea_EaglerAdapterImpl2_doc.createElement("canvas"); nlea_EaglerAdapterImpl2_canvas = $serverWorkerURI; $canvasStyle = $serverWorkerURI.style; $canvasStyle.setProperty("width", "100%"); $canvasStyle.setProperty("height", "100%"); $canvasStyle.setProperty("image-rendering", "pixelated"); nlea_EaglerAdapterImpl2_canvas.width = $sw; nlea_EaglerAdapterImpl2_canvas.height = $sh; $rootElement.appendChild(nlea_EaglerAdapterImpl2_canvas); a: { try { nlea_EaglerAdapterImpl2_doc.exitPointerLock(); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } nle_Client_showIncompatibleScreen($rt_s(194)); $rootElement = new jl_RuntimeException; $rootElement.$suppressionEnabled = 1; $rootElement.$writableStackTrace = 1; $rootElement.$message = $rt_s(194); $rt_throw($rootElement); } nleat_SelfDefence_init(nlea_EaglerAdapterImpl2_canvas); $rootElement = nlea_EaglerAdapterImpl2_canvas.getContext("webgl2", nlea_EaglerAdapterImpl2_youEagler$js_body$_26()); nlea_EaglerAdapterImpl2_webgl = $rootElement; if ($rootElement === null) { nle_Client_showIncompatibleScreen($rt_s(195)); $rootElement = new jl_RuntimeException; $assetPackageURI = $rt_str(nlea_EaglerAdapterImpl2_getNavString$js_body$_16("userAgent")); $serverWorkerURI = new jl_StringBuilder; $serverWorkerURI.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($serverWorkerURI, $serverWorkerURI.$length0, $rt_s(196)); $sw = $serverWorkerURI.$length0; if ($assetPackageURI === null) $assetPackageURI = $rt_s(1); jl_AbstractStringBuilder_insert($serverWorkerURI, $sw, $assetPackageURI); $sh = $serverWorkerURI.$length0; jl_AbstractStringBuilder_insertSpace($serverWorkerURI, $sh, $sh + 1 | 0); var$8 = $serverWorkerURI.$buffer; var$9 = var$8.data; var$9[$sh] = 41; $assetPackageURI = new jl_String; $sh = $serverWorkerURI.$length0; $iw = var$9.length; if ($sh >= 0 && $sh <= ($iw - 0 | 0)) { $assetPackageURI.$nativeString = $rt_charArrayToString(var$8.data, 0, $sh); $rootElement.$suppressionEnabled = 1; $rootElement.$writableStackTrace = 1; $rootElement.$message = $assetPackageURI; $rt_throw($rootElement); } $rootElement = new jl_IndexOutOfBoundsException; $rootElement.$suppressionEnabled = 1; $rootElement.$writableStackTrace = 1; $rt_throw($rootElement); } $serverWorkerURI = new nlea_EaglerAdapterImpl2$FramebufferGL; $rootElement = $rootElement.createFramebuffer(); $serverWorkerURI.$obj5 = $rootElement; nlea_EaglerAdapterImpl2_backBuffer = $serverWorkerURI; nlea_EaglerAdapterImpl2_webgl.bindFramebuffer(36160, $rootElement); $rootElement = new nlea_EaglerAdapterImpl2$RenderbufferGL; $canvasStyle = nlea_EaglerAdapterImpl2_webgl.createRenderbuffer(); $rootElement.$obj4 = $canvasStyle; nlea_EaglerAdapterImpl2_backBufferColor = $rootElement; nlea_EaglerAdapterImpl2_webgl.bindRenderbuffer(36161, $canvasStyle); $rootElement = nlea_EaglerAdapterImpl2_backBufferColor; nlea_EaglerAdapterImpl2_webgl.framebufferRenderbuffer(36160, 36064, 36161, $rootElement !== null ? $rootElement.$obj4 : null); $rootElement = new nlea_EaglerAdapterImpl2$RenderbufferGL; $canvasStyle = nlea_EaglerAdapterImpl2_webgl.createRenderbuffer(); $rootElement.$obj4 = $canvasStyle; nlea_EaglerAdapterImpl2_backBufferDepth = $rootElement; nlea_EaglerAdapterImpl2_webgl.bindRenderbuffer(36161, $canvasStyle); $rootElement = nlea_EaglerAdapterImpl2_backBufferDepth; nlea_EaglerAdapterImpl2_webgl.framebufferRenderbuffer(36160, 36096, 36161, $rootElement !== null ? $rootElement.$obj4 : null); if (!($sw == nlea_EaglerAdapterImpl2_backBufferWidth && $sh == nlea_EaglerAdapterImpl2_backBufferHeight)) { $rootElement = nlea_EaglerAdapterImpl2_backBufferColor; nlea_EaglerAdapterImpl2_webgl.bindRenderbuffer(36161, $rootElement !== null ? $rootElement.$obj4 : null); nlea_EaglerAdapterImpl2_webgl.renderbufferStorage(36161, 32856, $sw, $sh); $rootElement = nlea_EaglerAdapterImpl2_backBufferDepth; nlea_EaglerAdapterImpl2_webgl.bindRenderbuffer(36161, $rootElement !== null ? $rootElement.$obj4 : null); nlea_EaglerAdapterImpl2_webgl.renderbufferStorage(36161, 36012, $sw, $sh); nlea_EaglerAdapterImpl2_backBufferWidth = $sw; nlea_EaglerAdapterImpl2_backBufferHeight = $sh; } nlea_EaglerAdapterImpl2_anisotropicFilteringSupported = nlea_EaglerAdapterImpl2_webgl.getExtension("EXT_texture_filter_anisotropic") === null ? 0 : 1; $rootElement = nlea_EaglerAdapterImpl2_win; $e = new nlea_EaglerAdapterImpl2$3; nlea_EaglerAdapterImpl2_contextmenu = $e; $rootElement.addEventListener("contextmenu", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_canvas; $e = new nlea_EaglerAdapterImpl2$4; nlea_EaglerAdapterImpl2_mousedown = $e; $rootElement.addEventListener("mousedown", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_canvas; $e = new nlea_EaglerAdapterImpl2$5; nlea_EaglerAdapterImpl2_mouseup = $e; $rootElement.addEventListener("mouseup", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_canvas; $e = new nlea_EaglerAdapterImpl2$6; nlea_EaglerAdapterImpl2_mousemove = $e; $rootElement.addEventListener("mousemove", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = new nlea_EaglerAdapterImpl2$7; nlea_EaglerAdapterImpl2_keydown = $e; $rootElement.addEventListener("keydown", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = new nlea_EaglerAdapterImpl2$8; nlea_EaglerAdapterImpl2_keyup = $e; $rootElement.addEventListener("keyup", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = new nlea_EaglerAdapterImpl2$9; nlea_EaglerAdapterImpl2_keypress = $e; $rootElement.addEventListener("keypress", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_canvas; $e = new nlea_EaglerAdapterImpl2$10; nlea_EaglerAdapterImpl2_wheel = $e; $rootElement.addEventListener("wheel", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = new nlea_EaglerAdapterImpl2$11; $rootElement.addEventListener("blur", otji_JS_function($e, "handleEvent")); $rootElement = nlea_EaglerAdapterImpl2_win; $e = new nlea_EaglerAdapterImpl2$12; $rootElement.addEventListener("focus", otji_JS_function($e, "handleEvent")); nlea_EaglerAdapterImpl2_onBeforeCloseRegister$js_body$_235(); $ptr = 1; continue main; } $rootElement = new jl_IndexOutOfBoundsException; $rootElement.$suppressionEnabled = 1; $rootElement.$writableStackTrace = 1; $rt_throw($rootElement); case 1: nlea_EaglerAdapterImpl2_checkImmediateContinueSupport(); if ($rt_suspending()) { break main; } nlea_EaglerAdapterImpl2_vsyncTimeout = (-1); nlea_EaglerAdapterImpl2_vsyncSupport = 0; try { $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } if (jl_System_errCache === null) { $rootElement = new otcic_JSStderrPrintStream; $serverWorkerURI = new ji_ByteArrayOutputStream; $serverWorkerURI.$buf = $rt_createByteArray(32); $rootElement.$out0 = $serverWorkerURI; $serverWorkerURI = new jl_StringBuilder; $serverWorkerURI.$buffer = $rt_createCharArray(16); $rootElement.$sb = $serverWorkerURI; $rootElement.$buffer0 = $rt_createCharArray(32); $rootElement.$autoFlush = 0; $rootElement.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $rootElement; } $rt_putStderr("VSync is not supported on this browser!"); $rt_putStderr("\n"); nlea_EaglerAdapterImpl2_initFileChooser$js_body$_23(); $ptr = 3; continue main; case 2: b: { try { nlea_EaglerAdapterImpl2_asyncRequestAnimationFrame0(); if ($rt_suspending()) { break main; } nlea_EaglerAdapterImpl2_vsyncSupport = 1; break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } if (jl_System_errCache === null) { $rootElement = new otcic_JSStderrPrintStream; $serverWorkerURI = new ji_ByteArrayOutputStream; $serverWorkerURI.$buf = $rt_createByteArray(32); $rootElement.$out0 = $serverWorkerURI; $serverWorkerURI = new jl_StringBuilder; $serverWorkerURI.$buffer = $rt_createCharArray(16); $rootElement.$sb = $serverWorkerURI; $rootElement.$buffer0 = $rt_createCharArray(32); $rootElement.$autoFlush = 0; $rootElement.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $rootElement; } $rt_putStderr("VSync is not supported on this browser!"); $rt_putStderr("\n"); } nlea_EaglerAdapterImpl2_initFileChooser$js_body$_23(); $ptr = 3; case 3: nle_EarlyLoadScreen_paintScreen(); if ($rt_suspending()) { break main; } $ptr = 4; case 4: nlea_EaglerAdapterImpl2_downloadAssetPack$_asyncCall_$($assetPackageURI); if ($rt_suspending()) { break main; } b: { try { nle_AssetRepository_install(nlea_EaglerAdapterImpl2_loadedPackage); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($e); } $sw = nlea_EaglerAdapterImpl2_mouseEvents.$size2 ? 0 : 1; if ($sw && (nlea_EaglerAdapterImpl2_keyEvents.$size2 ? 0 : 1) && !(nlea_EaglerAdapterImpl2_hasBeenActive$js_body$_14() ? 1 : 0)) { $ptr = 5; continue main; } $rootElement = new AudioContext(); nlea_EaglerAdapterImpl2_audioctx = $rootElement; $rootElement = $rootElement.createGain(); nlea_EaglerAdapterImpl2_masterVolumeNode = $rootElement; $rootElement.gain.value = 1.0; nlea_EaglerAdapterImpl2_masterVolumeNode.connect(nlea_EaglerAdapterImpl2_audioctx.destination); $rootElement = nlea_EaglerAdapterImpl2_audioctx.createGain(); nlea_EaglerAdapterImpl2_musicVolumeNode = $rootElement; $rootElement.gain.value = 1.0; nlea_EaglerAdapterImpl2_musicVolumeNode.connect(nlea_EaglerAdapterImpl2_audioctx.destination); $rootElement = nlea_EaglerAdapterImpl2_mouseEvents; $rootElement.$firstEntry = null; $rootElement.$lastEntry = null; $rootElement.$size2 = 0; $rootElement.$modCount = $rootElement.$modCount + 1 | 0; $rootElement = nlea_EaglerAdapterImpl2_keyEvents; $rootElement.$firstEntry = null; $rootElement.$lastEntry = null; $rootElement.$size2 = 0; $rootElement.$modCount = $rootElement.$modCount + 1 | 0; $rootElement = new nlea_EaglerAdapterImpl2$13; setInterval(otji_JS_function($rootElement, "onTimer"), 5000); return; case 5: nle_EarlyLoadScreen_paintEnable(); if ($rt_suspending()) { break main; } $sw = nlea_EaglerAdapterImpl2_mouseEvents.$size2 ? 0 : 1; if ($sw && (nlea_EaglerAdapterImpl2_keyEvents.$size2 ? 0 : 1)) { $sw = 100; $ptr = 6; continue main; } $rootElement = new AudioContext(); nlea_EaglerAdapterImpl2_audioctx = $rootElement; $rootElement = $rootElement.createGain(); nlea_EaglerAdapterImpl2_masterVolumeNode = $rootElement; $rootElement.gain.value = 1.0; nlea_EaglerAdapterImpl2_masterVolumeNode.connect(nlea_EaglerAdapterImpl2_audioctx.destination); $rootElement = nlea_EaglerAdapterImpl2_audioctx.createGain(); nlea_EaglerAdapterImpl2_musicVolumeNode = $rootElement; $rootElement.gain.value = 1.0; nlea_EaglerAdapterImpl2_musicVolumeNode.connect(nlea_EaglerAdapterImpl2_audioctx.destination); $rootElement = nlea_EaglerAdapterImpl2_mouseEvents; $rootElement.$firstEntry = null; $rootElement.$lastEntry = null; $rootElement.$size2 = 0; $rootElement.$modCount = $rootElement.$modCount + 1 | 0; $rootElement = nlea_EaglerAdapterImpl2_keyEvents; $rootElement.$firstEntry = null; $rootElement.$lastEntry = null; $rootElement.$size2 = 0; $rootElement.$modCount = $rootElement.$modCount + 1 | 0; $rootElement = new nlea_EaglerAdapterImpl2$13; setInterval(otji_JS_function($rootElement, "onTimer"), 5000); return; case 6: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($sw); if ($rt_suspending()) { break main; } $sw = nlea_EaglerAdapterImpl2_mouseEvents.$size2 ? 0 : 1; if ($sw && (nlea_EaglerAdapterImpl2_keyEvents.$size2 ? 0 : 1)) { $sw = 100; continue main; } $rootElement = new AudioContext(); nlea_EaglerAdapterImpl2_audioctx = $rootElement; $rootElement = $rootElement.createGain(); nlea_EaglerAdapterImpl2_masterVolumeNode = $rootElement; $rootElement.gain.value = 1.0; nlea_EaglerAdapterImpl2_masterVolumeNode.connect(nlea_EaglerAdapterImpl2_audioctx.destination); $rootElement = nlea_EaglerAdapterImpl2_audioctx.createGain(); nlea_EaglerAdapterImpl2_musicVolumeNode = $rootElement; $rootElement.gain.value = 1.0; nlea_EaglerAdapterImpl2_musicVolumeNode.connect(nlea_EaglerAdapterImpl2_audioctx.destination); $rootElement = nlea_EaglerAdapterImpl2_mouseEvents; $rootElement.$firstEntry = null; $rootElement.$lastEntry = null; $rootElement.$size2 = 0; $rootElement.$modCount = $rootElement.$modCount + 1 | 0; $rootElement = nlea_EaglerAdapterImpl2_keyEvents; $rootElement.$firstEntry = null; $rootElement.$lastEntry = null; $rootElement.$size2 = 0; $rootElement.$modCount = $rootElement.$modCount + 1 | 0; $rootElement = new nlea_EaglerAdapterImpl2$13; setInterval(otji_JS_function($rootElement, "onTimer"), 5000); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($rootElement, $assetPackageURI, $serverWorkerURI, $s, $e, var$6, var$7, var$8, var$9, $sh, $iw, $r, $ih, $sw, $canvasStyle, $ptr); }, nlea_EaglerAdapterImpl2_removeEventHandlers = () => { let var$1, $screenImg, $$je; nlea_EaglerAdapterImpl2_$callClinit(); a: { try { var$1 = nlea_EaglerAdapterImpl2_win; $screenImg = nlea_EaglerAdapterImpl2_contextmenu; var$1.removeEventListener("contextmenu", otji_JS_function($screenImg, "handleEvent")); var$1 = nlea_EaglerAdapterImpl2_canvas; $screenImg = nlea_EaglerAdapterImpl2_mousedown; var$1.removeEventListener("mousedown", otji_JS_function($screenImg, "handleEvent")); var$1 = nlea_EaglerAdapterImpl2_canvas; $screenImg = nlea_EaglerAdapterImpl2_mouseup; var$1.removeEventListener("mouseup", otji_JS_function($screenImg, "handleEvent")); var$1 = nlea_EaglerAdapterImpl2_canvas; $screenImg = nlea_EaglerAdapterImpl2_mousemove; var$1.removeEventListener("mousemove", otji_JS_function($screenImg, "handleEvent")); var$1 = nlea_EaglerAdapterImpl2_win; $screenImg = nlea_EaglerAdapterImpl2_keydown; var$1.removeEventListener("keydown", otji_JS_function($screenImg, "handleEvent")); var$1 = nlea_EaglerAdapterImpl2_win; $screenImg = nlea_EaglerAdapterImpl2_keyup; var$1.removeEventListener("keyup", otji_JS_function($screenImg, "handleEvent")); var$1 = nlea_EaglerAdapterImpl2_win; $screenImg = nlea_EaglerAdapterImpl2_keypress; var$1.removeEventListener("keypress", otji_JS_function($screenImg, "handleEvent")); var$1 = nlea_EaglerAdapterImpl2_canvas; $screenImg = nlea_EaglerAdapterImpl2_wheel; var$1.removeEventListener("wheel", otji_JS_function($screenImg, "handleEvent")); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } b: { try { $screenImg = $rt_str(nlea_EaglerAdapterImpl2_canvas.toDataURL("image/png")); otjdx_Node_delete$static(nlea_EaglerAdapterImpl2_canvas); var$1 = nlea_EaglerAdapterImpl2_doc.createElement("img"); var$1.src = $rt_ustr($screenImg); var$1.width = nlea_EaglerAdapterImpl2_parent.clientWidth; var$1.height = nlea_EaglerAdapterImpl2_parent.clientHeight; nlea_EaglerAdapterImpl2_parent.appendChild(var$1); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } }, nlea_EaglerAdapterImpl2__wglViewport = ($p1, $p2, $p3, $p4) => { let var$5; nlea_EaglerAdapterImpl2_$callClinit(); var$5 = nlea_EaglerAdapterImpl2_viewportCache.data; var$5[0] = $p1; var$5[1] = $p2; var$5[2] = $p3; var$5[3] = $p4; nlea_EaglerAdapterImpl2_webgl.viewport($p1, $p2, $p3, $p4); }, nlea_EaglerAdapterImpl2__wglGetParameter = ($p1, $size, $ret) => { let var$4; nlea_EaglerAdapterImpl2_$callClinit(); if ($p1 == 2978) { var$4 = $ret.data; $ret = nlea_EaglerAdapterImpl2_viewportCache.data; var$4[0] = $ret[0]; var$4[1] = $ret[1]; var$4[2] = $ret[2]; var$4[3] = $ret[3]; } }, nlea_EaglerAdapterImpl2_loadPNG = $data => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$data = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); var$2 = $data.data.buffer; $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$(var$2); if ($rt_suspending()) { break main; } var$2 = $tmp; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($data, var$2, $ptr); }, nlea_EaglerAdapterImpl2_loadPNG0 = ($data, $ret) => { let var$3, $src, var$5; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_doc.createElement("img"); $src = new nlea_EaglerAdapterImpl2$14; $src.$val$toLoad = var$3; $src.$val$ret = $ret; var$3.addEventListener("load", otji_JS_function($src, "handleEvent")); var$5 = new nlea_EaglerAdapterImpl2$15; var$5.$val$toLoad0 = var$3; var$5.$val$ret0 = $ret; var$3.addEventListener("error", otji_JS_function(var$5, "handleEvent")); $src = $rt_str(nlea_EaglerAdapterImpl2_getDataURL$js_body$_127($data, "image/png")); if ($src !== null) var$3.src = $rt_ustr($src); else { $data = null; $ret.$realAsyncCallback.$complete($data); } }, nlea_EaglerAdapterImpl2_unloadVideo = () => { let var$1; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_videoTexture; if (var$1 !== null) { nlea_EaglerAdapterImpl2_webgl.deleteTexture(var$1.$obj1); nlea_EaglerAdapterImpl2_videoTexture = null; } var$1 = nlea_EaglerAdapterImpl2_currentVideo; if (var$1 !== null) { var$1.pause(); nlea_EaglerAdapterImpl2_currentVideo.src = ""; nlea_EaglerAdapterImpl2_currentVideo = null; } var$1 = nlea_EaglerAdapterImpl2_currentVideoAudioSource; if (var$1 !== null) var$1.disconnect(); }, nlea_EaglerAdapterImpl2_mouseGetEventButton = () => { let var$1, var$2, var$3, $b; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_currentEvent; if (var$1 !== null) { var$2 = $rt_str(var$1.type); if (var$2 === $rt_s(197)) var$3 = 1; else if (!($rt_s(197) instanceof jl_String)) var$3 = 0; else { var$1 = $rt_s(197); var$3 = var$2.$nativeString !== var$1.$nativeString ? 0 : 1; } if (!var$3) { $b = nlea_EaglerAdapterImpl2_currentEvent.button; if ($b == 1) $b = 2; else if ($b == 2) $b = 1; return $b; } } return (-1); }, nlea_EaglerAdapterImpl2_mouseGetEventDWheel = () => { let var$1, var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = $rt_str(nlea_EaglerAdapterImpl2_currentEvent.type); if ($rt_s(198) === var$1) var$2 = 1; else if (!(var$1 instanceof jl_String)) var$2 = 0; else { var$1 = var$1; var$2 = $rt_s(198).$nativeString !== var$1.$nativeString ? 0 : 1; } return !var$2 ? 0 : nlea_EaglerAdapterImpl2_currentEvent.deltaY === 0.0 ? 0 : nlea_EaglerAdapterImpl2_currentEvent.deltaY <= 0.0 ? 1 : (-1); }, nlea_EaglerAdapterImpl2_mouseSetGrabbed = $grabbed => { let $t, var$3, var$4; nlea_EaglerAdapterImpl2_$callClinit(); if (!$grabbed) { nlea_EaglerAdapterImpl2_mouseUngrabTimer = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $grabbed = nlea_EaglerAdapterImpl2_mouseUngrabTimeout; if ($grabbed) clearTimeout($grabbed); nlea_EaglerAdapterImpl2_mouseUngrabTimeout = 0; nlea_EaglerAdapterImpl2_doc.exitPointerLock(); } else { nlea_EaglerAdapterImpl2_canvas.requestPointerLock(); $t = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $grabbed = nlea_EaglerAdapterImpl2_mouseUngrabTimeout; if ($grabbed) clearTimeout($grabbed); nlea_EaglerAdapterImpl2_mouseUngrabTimeout = 0; var$3 = Long_sub($t, nlea_EaglerAdapterImpl2_mouseUngrabTimer); if (Long_lt(var$3, Long_fromInt(3000))) { var$4 = new nlea_EaglerAdapterImpl2$18; $grabbed = 3000 - Long_lo(var$3) | 0; nlea_EaglerAdapterImpl2_mouseUngrabTimeout = setTimeout(otji_JS_function(var$4, "onTimer"), $grabbed); } } }, nlea_EaglerAdapterImpl2_mouseGetEventY = () => { nlea_EaglerAdapterImpl2_$callClinit(); return nlea_EaglerAdapterImpl2_currentEvent === null ? (-1) : (nlea_EaglerAdapterImpl2_canvas.clientHeight - nlea_EaglerAdapterImpl2_currentEvent.clientY | 0) * nlea_EaglerAdapterImpl2_win.devicePixelRatio | 0; }, nlea_EaglerAdapterImpl2_keysNext = () => { let var$1, var$2, var$3, var$4; nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_unpressCTRL) { var$1 = nlea_EaglerAdapterImpl2_keyEvents; var$1.$firstEntry = null; var$1.$lastEntry = null; var$1.$size2 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; nlea_EaglerAdapterImpl2_currentEventK = null; var$2 = nlea_EaglerAdapterImpl2_keyStates.data; var$2[29] = 0; var$2[157] = 0; var$2[28] = 0; var$2[219] = 0; var$2[220] = 0; nlea_EaglerAdapterImpl2_unpressCTRL = 0; return 0; } nlea_EaglerAdapterImpl2_currentEventK = null; var$1 = nlea_EaglerAdapterImpl2_keyEvents; var$3 = var$1.$size2 ? 0 : 1; a: { if (!var$3) { var$1 = ju_LinkedList_listIterator(var$1, 0); var$4 = ju_LinkedList$SequentialListIterator_next(var$1); ju_LinkedList$SequentialListIterator_remove(var$1); otji_JSWrapper_$callClinit(); var$1 = var$4 === null ? null : var$4[$rt_jso_marker] === true ? var$4 : var$4.$js; nlea_EaglerAdapterImpl2_currentEventK = var$1; if (var$1 !== null) { var$3 = 1; break a; } } var$3 = 0; } return var$3; }, nlea_EaglerAdapterImpl2_getEventChar = () => { let $s, var$2; nlea_EaglerAdapterImpl2_$callClinit(); $s = nlea_EaglerAdapterImpl2_currentEventK; if ($s === null) return 0; $s = $rt_str($s.key); if (nlea_EaglerAdapterImpl2_currentEventK === null) var$2 = 32; else if ($s.$nativeString.length > 1) var$2 = 0; else { if (0 >= $s.$nativeString.length) { $s = new jl_StringIndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } var$2 = $s.$nativeString.charCodeAt(0); } return var$2; }, nlea_EaglerAdapterImpl2_isKeyDown = $p1 => { let var$2; nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_unpressCTRL) { var$2 = nlea_EaglerAdapterImpl2_keyStates.data; var$2[28] = 0; var$2[29] = 0; var$2[157] = 0; var$2[219] = 0; var$2[220] = 0; } return nlea_EaglerAdapterImpl2_keyStates.data[$p1]; }, nlea_EaglerAdapterImpl2_updateDisplay = ($fpsLimit, $vsync) => { let $r, $w, $h, $w2, $h2, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$h2 = $thread.pop();$w2 = $thread.pop();$h = $thread.pop();$w = $thread.pop();$r = $thread.pop();$vsync = $thread.pop();$fpsLimit = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); $r = nlea_EaglerAdapterImpl2_win.devicePixelRatio; $w = nlea_EaglerAdapterImpl2_parent.clientWidth; $h = nlea_EaglerAdapterImpl2_parent.clientHeight; $w2 = $w * $r | 0; $h2 = $h * $r | 0; if (nlea_EaglerAdapterImpl2_canvas.width != $w2) nlea_EaglerAdapterImpl2_canvas.width = $w2; if (nlea_EaglerAdapterImpl2_canvas.height != $h2) nlea_EaglerAdapterImpl2_canvas.height = $h2; nlea_EaglerAdapterImpl2_webgl.bindFramebuffer(36160, null); nlea_EaglerAdapterImpl2_webgl.bindFramebuffer(36008, nlea_EaglerAdapterImpl2_backBuffer.$obj5); nlea_EaglerAdapterImpl2_webgl.bindFramebuffer(36009, null); nlea_EaglerAdapterImpl2_webgl.blitFramebuffer(0, 0, nlea_EaglerAdapterImpl2_backBufferWidth, nlea_EaglerAdapterImpl2_backBufferHeight, 0, 0, $w2, $h2, 16384, 9728); nlea_EaglerAdapterImpl2_webgl.bindFramebuffer(36160, nlea_EaglerAdapterImpl2_backBuffer.$obj5); if (!($w2 == nlea_EaglerAdapterImpl2_backBufferWidth && $h2 == nlea_EaglerAdapterImpl2_backBufferHeight)) { var$8 = nlea_EaglerAdapterImpl2_backBufferColor; nlea_EaglerAdapterImpl2_webgl.bindRenderbuffer(36161, var$8 !== null ? var$8.$obj4 : null); nlea_EaglerAdapterImpl2_webgl.renderbufferStorage(36161, 32856, $w2, $h2); var$8 = nlea_EaglerAdapterImpl2_backBufferDepth; nlea_EaglerAdapterImpl2_webgl.bindRenderbuffer(36161, var$8 !== null ? var$8.$obj4 : null); nlea_EaglerAdapterImpl2_webgl.renderbufferStorage(36161, 36012, $w2, $h2); nlea_EaglerAdapterImpl2_backBufferWidth = $w2; nlea_EaglerAdapterImpl2_backBufferHeight = $h2; } if (!(nlea_EaglerAdapterImpl2_getVisibilityState$js_body$_195(nlea_EaglerAdapterImpl2_win.document) ? 1 : 0)) { nlea_EaglerAdapterImpl2_syncTimer.data[0] = Long_ZERO; $fpsLimit = 50; $ptr = 1; continue main; } if (nlea_EaglerAdapterImpl2_vsyncSupport && $vsync) { nlea_EaglerAdapterImpl2_syncTimer.data[0] = Long_ZERO; $ptr = 3; continue main; } if ($fpsLimit > 0) { var$9 = nlea_EaglerAdapterImpl2_syncTimer; $ptr = 2; continue main; } nlea_EaglerAdapterImpl2_syncTimer.data[0] = Long_ZERO; if (!nlea_EaglerAdapterImpl2_useDelayOnSwap && nlea_EaglerAdapterImpl2_immediateContinueChannel !== null) { $ptr = 6; continue main; } $fpsLimit = 0; $ptr = 4; continue main; case 1: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($fpsLimit); if ($rt_suspending()) { break main; } return; case 2: $tmp = nleg_EaglerAdapterGL30_sync($fpsLimit, var$9); if ($rt_suspending()) { break main; } $fpsLimit = $tmp; if ($fpsLimit) return; if (!nlea_EaglerAdapterImpl2_useDelayOnSwap && nlea_EaglerAdapterImpl2_immediateContinueChannel !== null) { $ptr = 7; continue main; } $fpsLimit = 0; $ptr = 5; continue main; case 3: nlea_EaglerAdapterImpl2_asyncRequestAnimationFrame$_asyncCall_$(); if ($rt_suspending()) { break main; } return; case 4: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($fpsLimit); if ($rt_suspending()) { break main; } return; case 5: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($fpsLimit); if ($rt_suspending()) { break main; } return; case 6: nlea_EaglerAdapterImpl2_immediateContinueTeaVM0$_asyncCall_$(); if ($rt_suspending()) { break main; } return; case 7: nlea_EaglerAdapterImpl2_immediateContinueTeaVM0$_asyncCall_$(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($fpsLimit, $vsync, $r, $w, $h, $w2, $h2, var$8, var$9, $ptr); }, nlea_EaglerAdapterImpl2_asyncRequestAnimationFrame0 = () => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); $ptr = 1; case 1: nlea_EaglerAdapterImpl2_asyncRequestAnimationFrame$_asyncCall_$(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($ptr); }, nlea_EaglerAdapterImpl2_asyncRequestAnimationFrame = $cb => { let var$2, $hasTimedOut, $timeout, var$5, var$6, var$7, var$8; nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_vsyncTimeout != (-1)) { var$2 = new jl_IllegalStateException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(199); $cb.$realAsyncCallback.$error(var$2); return; } $hasTimedOut = $rt_createBooleanArray(1); $hasTimedOut.data[0] = 0; $timeout = $rt_createIntArray(1); var$5 = $timeout.data; var$5[0] = (-1); var$6 = new nlea_EaglerAdapterImpl2$asyncRequestAnimationFrame$lambda$_198_0; var$6.$_07 = $hasTimedOut; var$6.$_10 = $timeout; var$6.$_20 = $cb; requestAnimationFrame(otji_JS_function(var$6, "onAnimationFrame")); var$7 = new nlea_EaglerAdapterImpl2$asyncRequestAnimationFrame$lambda$_198_1; var$7.$_09 = $hasTimedOut; var$7.$_11 = $cb; var$8 = setTimeout(otji_JS_function(var$7, "onTimer"), 50); var$5[0] = var$8; nlea_EaglerAdapterImpl2_vsyncTimeout = var$8; }, nlea_EaglerAdapterImpl2_immediateContinueTeaVM0 = $cb => { let var$2, var$3, $$je; nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_currentMsgChannelContinueHack !== null) { var$2 = new jl_IllegalStateException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(200); $cb.$realAsyncCallback.$error(var$2); return; } var$3 = new nlea_EaglerAdapterImpl2$immediateContinueTeaVM0$lambda$_203_0; var$3.$_02 = $cb; nlea_EaglerAdapterImpl2_currentMsgChannelContinueHack = var$3; a: { try { nlea_EaglerAdapterImpl2_immediateContinueChannel.port2.postMessage(nlea_EaglerAdapterImpl2_emptyJSString); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } nlea_EaglerAdapterImpl2_currentMsgChannelContinueHack = null; if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); var$3.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3.$sb = var$2; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } $rt_putStderr("Caught error posting immediate continue, using setTimeout instead"); $rt_putStderr("\n"); var$3 = new nlea_EaglerAdapterImpl2$immediateContinueTeaVM0$lambda$_203_1; var$3.$_01 = $cb; setTimeout(otji_JS_function(var$3, "onTimer"), 0); } }, nlea_EaglerAdapterImpl2_checkImmediateContinueSupport = () => { let $stat, var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$stat = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_immediateContinueChannel = null; $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_checkImmediateContinueSupport0(); if ($rt_suspending()) { break main; } $stat = $tmp; if (!$stat) return; if ($stat == 1) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr("MessageChannel fast immediate continue hack is incompatible with this browser due to actually continuing immediately!"); $rt_putStderr("\n"); } else if ($stat == 2) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr("MessageChannel fast immediate continue hack is incompatible with this browser due to startup check failing!"); $rt_putStderr("\n"); } else if ($stat == 3) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr("MessageChannel fast immediate continue hack is incompatible with this browser due to exceptions!"); $rt_putStderr("\n"); } nlea_EaglerAdapterImpl2_immediateContinueChannel = null; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($stat, var$2, var$3, $ptr); }, nlea_EaglerAdapterImpl2_checkImmediateContinueSupport0 = () => { let var$1, var$2, $checkMe, var$4, var$5, var$6, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$checkMe = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); a: { b: { try { if (typeof MessageChannel !== "undefined" ? 1 : 0) break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { break a; } else { throw $$e; } } return 0; } try { var$1 = new MessageChannel(); nlea_EaglerAdapterImpl2_immediateContinueChannel = var$1; var$2 = var$1.port1; var$1 = nlea_EaglerAdapterImpl2$19__init_0(); var$2.addEventListener("message", otji_JS_function(var$1, "handleEvent")); nlea_EaglerAdapterImpl2_immediateContinueChannel.port1.start(); nlea_EaglerAdapterImpl2_immediateContinueChannel.port2.start(); $checkMe = $rt_createBooleanArray(1); var$4 = $checkMe.data; var$4[0] = 0; var$1 = nlea_EaglerAdapterImpl2$checkImmediateContinueSupport0$lambda$_205_0__init_0($checkMe); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { break a; } else { throw $$e; } } c: { try { nlea_EaglerAdapterImpl2_currentMsgChannelContinueHack = var$1; var$5 = nlea_EaglerAdapterImpl2_immediateContinueChannel.port2; var$1 = nlea_EaglerAdapterImpl2_emptyJSString; var$5.postMessage(var$1); if (!var$4[0]) break c; nlea_EaglerAdapterImpl2_currentMsgChannelContinueHack = null; var$1 = nlea_EaglerAdapterImpl2_immediateContinueChannel; if (var$1 !== null) nlea_EaglerAdapterImpl2_safeShutdownChannel(var$1); nlea_EaglerAdapterImpl2_immediateContinueChannel = null; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { break a; } else { throw $$e; } } return 1; } try { var$6 = 10; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } nlea_EaglerAdapterImpl2_currentMsgChannelContinueHack = null; var$1 = nlea_EaglerAdapterImpl2_immediateContinueChannel; if (var$1 !== null) { d: { try { var$1.port1.close(); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } e: { try { var$1.port2.close(); break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } } nlea_EaglerAdapterImpl2_immediateContinueChannel = null; return 3; case 1: a: { b: { try { nlea_EaglerAdapterImpl2_sleep(var$6); if ($rt_suspending()) { break main; } nlea_EaglerAdapterImpl2_currentMsgChannelContinueHack = null; if (!var$4[0]) break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { break a; } else { throw $$e; } } return 0; } c: { try { var$1 = nlea_EaglerAdapterImpl2_immediateContinueChannel; if (var$1 === null) break c; nlea_EaglerAdapterImpl2_safeShutdownChannel(var$1); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { break a; } else { throw $$e; } } } try { nlea_EaglerAdapterImpl2_immediateContinueChannel = null; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { break a; } else { throw $$e; } } return 2; } nlea_EaglerAdapterImpl2_currentMsgChannelContinueHack = null; var$1 = nlea_EaglerAdapterImpl2_immediateContinueChannel; if (var$1 !== null) { f: { try { var$1.port1.close(); break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } g: { try { var$1.port2.close(); break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } } nlea_EaglerAdapterImpl2_immediateContinueChannel = null; return 3; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$1, var$2, $checkMe, var$4, var$5, var$6, $ptr); }, nlea_EaglerAdapterImpl2_safeShutdownChannel = $chan => { let $$je; nlea_EaglerAdapterImpl2_$callClinit(); a: { try { $chan.port1.close(); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } b: { try { $chan.port2.close(); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } }, nlea_EaglerAdapterImpl2_isFocused = () => { let $yee, $dee; nlea_EaglerAdapterImpl2_$callClinit(); $yee = document.pointerLockElement != null ? 1 : 0; $dee = nlea_EaglerAdapterImpl2_pointerLockFlag; nlea_EaglerAdapterImpl2_pointerLockFlag = $yee; if (!$dee && $yee) { nlea_EaglerAdapterImpl2_mouseDX = 0.0; nlea_EaglerAdapterImpl2_mouseDY = 0.0; } a: { b: { if (nlea_EaglerAdapterImpl2_isWindowFocused) { if (!$dee) break b; if ($yee) break b; } $dee = 0; break a; } $dee = 1; } return $dee; }, nlea_EaglerAdapterImpl2_saveScreenshot = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $$je; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.finish(); var$1 = nlea_EaglerAdapterImpl2_doc.createElement("canvas"); var$1.width = nlea_EaglerAdapterImpl2_canvas.width; var$1.height = nlea_EaglerAdapterImpl2_canvas.height; var$2 = var$1.getContext("2d", nlea_EaglerAdapterImpl2_youEagler2$js_body$_27()); var$2.imageSmoothingEnabled = !!0; var$2.fillStyle = "black"; var$2.fillRect(0.0, 0.0, nlea_EaglerAdapterImpl2_canvas.width, nlea_EaglerAdapterImpl2_canvas.height); var$3 = nlea_EaglerAdapterImpl2_canvas; var$2.drawImage(var$3, 0.0, 0.0, var$3.width, nlea_EaglerAdapterImpl2_canvas.height); var$4 = nlea_EaglerAdapterImpl2_dateFormatSS; var$5 = jl_System_currentTimeMillis(); var$2 = new jl_StringBuffer; var$2.$buffer = $rt_createCharArray(16); var$3 = new ju_GregorianCalendar; var$6 = var$4.$locale; ju_TimeZone_$callClinit(); if (ju_TimeZone_defaultTz === null) { var$7 = otcit_DateTimeZoneProvider_detectTimezone(); if (var$7 === null) var$8 = null; else { var$8 = new ju_IANATimeZone; var$8.$id5 = var$7.$iID; var$8.$underlyingZone = var$7; var$9 = var$7.$getStandardOffset(jl_System_currentTimeMillis()); var$8.$rawOffset = var$9; var$8.$diff = -var$9 | 0; } ju_TimeZone_defaultTz = var$8; if (var$8 === null) ju_TimeZone_defaultTz = ju_TimeZone_GMT; } var$7 = ju_TimeZone_defaultTz; a: { try { var$8 = jl_Object_clone(var$7); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { } else { throw $$e; } } var$8 = null; } var$8.$rawOffset = var$7.$rawOffset; var$8.$underlyingZone = var$7.$underlyingZone; ju_GregorianCalendar__init_(var$3, var$8, var$6); if (!(var$3.$isTimeSet && var$3.$areFieldsSet && Long_eq(var$3.$time, var$5))) { var$3.$time = var$5; var$3.$isTimeSet = 1; var$3.$areFieldsSet = 0; ju_GregorianCalendar_computeFields(var$3); var$3.$areFieldsSet = 1; } var$3.$zone = var$4.$calendar.$zone; var$3.$areFieldsSet = 0; var$10 = var$4.$elements0.data; var$9 = var$10.length; var$11 = 0; while (var$11 < var$9) { var$10[var$11].$format(var$3, var$2); var$11 = var$11 + 1 | 0; } var$3 = new jl_String; var$10 = var$2.$buffer; var$12 = var$10.data; var$11 = var$2.$length0; var$13 = var$12.length; if (var$11 >= 0 && var$11 <= (var$13 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$10.data, 0, var$11); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(201)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$3); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(202)); var$2 = new jl_String; var$10 = var$4.$buffer; var$12 = var$10.data; var$11 = var$4.$length0; var$13 = var$12.length; if (var$11 >= 0 && var$11 <= (var$13 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$10.data, 0, var$11); nlea_EaglerAdapterImpl2_saveScreenshot$js_body$_219($rt_ustr(var$2), var$1); return; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); }, nlea_EaglerAdapterImpl2_connectWebSocket = ($sockURI, $cb) => { let var$3, var$4, $$je; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_sockIsConnecting = 1; nlea_EaglerAdapterImpl2_sockIsConnected = 0; nlea_EaglerAdapterImpl2_sockIsAlive = 0; nlea_EaglerAdapterImpl2_rateLimitStatus = null; nlea_EaglerAdapterImpl2_currentSockURI = $sockURI; a: { try { $sockURI = new WebSocket($rt_ustr($sockURI)); nlea_EaglerAdapterImpl2_sock = $sockURI; break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } nlea_EaglerAdapterImpl2_sockIsConnecting = 0; nlea_EaglerAdapterImpl2_sockIsAlive = 0; return; } var$3 = "arraybuffer"; $sockURI.binaryType = var$3; $sockURI = nlea_EaglerAdapterImpl2_sock; var$4 = new nlea_EaglerAdapterImpl2$20; var$4.$val$cb7 = $cb; $sockURI.addEventListener("open", otji_JS_function(var$4, "handleEvent")); $sockURI = nlea_EaglerAdapterImpl2_sock; var$4 = new nlea_EaglerAdapterImpl2$21; var$4.$val$cb1 = $cb; $sockURI.addEventListener("close", otji_JS_function(var$4, "handleEvent")); $sockURI = nlea_EaglerAdapterImpl2_sock; var$3 = new nlea_EaglerAdapterImpl2$22; $sockURI.addEventListener("message", otji_JS_function(var$3, "handleEvent")); }, nlea_EaglerAdapterImpl2_endConnection = () => { let var$1; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_sock; if (!(var$1 !== null && var$1.readyState != 3)) nlea_EaglerAdapterImpl2_sockIsConnecting = 0; var$1 = nlea_EaglerAdapterImpl2_sock; if (var$1 !== null && !nlea_EaglerAdapterImpl2_sockIsConnecting) var$1.close(); }, nlea_EaglerAdapterImpl2_connectionOpen = () => { let var$1, var$2, var$3, var$4, var$5, var$6; nlea_EaglerAdapterImpl2_$callClinit(); nle_EaglerProfile_$callClinit(); var$1 = nle_EaglerProfile_username; var$2 = nle_IntegratedServer_openConnections; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!var$1.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = var$1.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if (var$1 !== var$6) { if (var$1 === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = var$1.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? 0 : 1; if (var$3 && nle_IntegratedServer_isWorldRunning()) return 1; if (!nlea_EaglerAdapterImpl2_clientDataChannelClosed) return 1; var$1 = nlea_EaglerAdapterImpl2_sock; if (!(var$1 !== null && var$1.readyState != 3)) nlea_EaglerAdapterImpl2_sockIsConnecting = 0; var$1 = nlea_EaglerAdapterImpl2_sock; return var$1 !== null && !nlea_EaglerAdapterImpl2_sockIsConnecting && var$1.readyState != 3 ? 1 : 0; }, nlea_EaglerAdapterImpl2_writePacket = $packet => { let var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_sock; if (var$2 !== null && !nlea_EaglerAdapterImpl2_sockIsConnecting) var$2.send($packet.data.buffer); }, nlea_EaglerAdapterImpl2_loadLocalStorage = $key => { let $strg, $s, var$4, $$je; nlea_EaglerAdapterImpl2_$callClinit(); a: { b: { try { $strg = nlea_EaglerAdapterImpl2_win.localStorage; if ($strg !== null) break b; $key = null; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { break a; } else { throw $$e; } } return $key; } try { $s = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append($s, $rt_s(203)), $key); $s = jl_StringBuilder_toString($s); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { break a; } else { throw $$e; } } c: { try { $s = $rt_str($strg.getItem($rt_ustr($s))); if ($s !== null) break c; $key = null; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { break a; } else { throw $$e; } } return $key; } try { var$4 = nle_Base64_decodeBase64($s); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { break a; } else { throw $$e; } } return var$4; } return null; }, nlea_EaglerAdapterImpl2_saveLocalStorage = ($key, $data) => { let $strg, var$4, $$je; nlea_EaglerAdapterImpl2_$callClinit(); a: { try { $strg = nlea_EaglerAdapterImpl2_win.localStorage; if ($strg !== null) { var$4 = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(203)), $key); $strg.setItem($rt_ustr(jl_StringBuilder_toString(var$4)), $rt_ustr(nle_Base64_encodeBase64String($data))); } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } }, nlea_EaglerAdapterImpl2_getFileChooserResult = () => { let var$1; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult = null; if (var$1 !== null) return nleat_TeaVMUtils_wrapByteArrayBuffer(var$1); return null; }, nlea_EaglerAdapterImpl2_setListenerPos = ($x, $y, $z, $vx, $vy, $vz, $pitch, $yaw) => { let var$9, $var2, $var3, $var4, $var5, $l; nlea_EaglerAdapterImpl2_$callClinit(); $vx = -$yaw * 0.01745329238474369; var$9 = nms_MathHelper_SIN_TABLE.data; $vx = $vx * 10430.3779296875; $var2 = var$9[($vx + 16384.0 | 0) & 65535]; $var3 = var$9[($vx | 0) & 65535]; $vx = $pitch * 0.01745329238474369 * 10430.3779296875; $var4 = -var$9[($vx + 16384.0 | 0) & 65535]; $var5 = var$9[($vx | 0) & 65535]; $l = nlea_EaglerAdapterImpl2_audioctx.listener; $l.setPosition($x, $y, $z); $x = -$var3 * $var4; $y = -$var5; $vy = -$var2 * $var4; $l.setOrientation($x, $y, $vy, 0.0, 1.0, 0.0); }, nlea_EaglerAdapterImpl2_setPlaybackOffsetDelay = $f => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_playbackOffsetDelay = $f; }, nlea_EaglerAdapterImpl2_setGainlessAudioVolume = ($oldGain, $f, $music) => { let $a, $aud, var$6, var$7, var$8, var$9; nlea_EaglerAdapterImpl2_$callClinit(); a: { if ($f !== $oldGain) { $a = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($a.$cachedValues === null) { $aud = new ju_HashMap$2; $aud.$this$01 = $a; $a.$cachedValues = $aud; } var$6 = $a.$cachedValues.$iterator(); var$7 = $rt_compare($oldGain, 0.0); var$8 = $rt_compare($f, 0.0); while (true) { if (!var$6.$hasNext()) break a; $a = var$6.$next(); if ($a.$music == $music && $a instanceof nlea_EaglerAdapterImpl2$MediaElementAudioSourceNodeX && $a.$gain === null) { $aud = $a.$audio; if (!var$7) { $aud.muted = !!0; var$9 = $f * $aud.volume; } else if (var$8) var$9 = $f * $aud.volume / $oldGain; else { $aud.muted = !!1; var$9 = $aud.volume / $oldGain; } if (var$9 > 1.0) var$9 = 1.0; $aud.volume = var$9; } } } } }, nlea_EaglerAdapterImpl2_decodeAudioAsync = ($buffer, $cb) => { let var$3, var$4, var$5; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_audioctx; var$4 = new nlea_EaglerAdapterImpl2$23; var$4.$val$cb = $cb; var$5 = new nlea_EaglerAdapterImpl2$24; var$5.$val$cb13 = $cb; var$3.decodeAudioData($buffer, otji_JS_function(var$4, "onSuccess"), otji_JS_function(var$5, "onError")); }, nlea_EaglerAdapterImpl2_getBufferFor = $fileName => { let $ret, var$3, var$4, var$5, $buf, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$buf = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$ret = $thread.pop();$fileName = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); $ret = nlea_EaglerAdapterImpl2_loadedSoundFiles; if ($fileName === null) { $ret = $ret.$elementData.data[0]; while ($ret !== null && $ret.$key !== null) { $ret = $ret.$next3; } } else { a: { if (!$fileName.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $fileName.$nativeString.length) break a; $fileName.$hashCode1 = (31 * $fileName.$hashCode1 | 0) + $fileName.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $fileName.$hashCode1; var$5 = $ret.$elementData.data; $ret = var$5[var$4 & (var$5.length - 1 | 0)]; while ($ret !== null) { if ($ret.$origKeyHash == var$4) { b: { $buf = $ret.$key; if ($fileName !== $buf) { if ($fileName === $buf) var$3 = 1; else if (!($buf instanceof jl_String)) var$3 = 0; else { $buf = $buf; var$3 = $fileName.$nativeString !== $buf.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } $ret = $ret.$next3; } } $ret = $ret === null ? null : $ret.$value1; if ($ret !== null) return $ret.$buffer4; $ret = !($fileName === $rt_s(192) ? 1 : jl_String_startsWith($fileName, $rt_s(192), 0)) ? $fileName : jl_String_substring($fileName, 1, $fileName.$nativeString.length); $buf = nle_AssetRepository_filePool; if ($ret === null) { $buf = $buf.$elementData.data[0]; while ($buf !== null && $buf.$key !== null) { $buf = $buf.$next3; } } else { c: { if (!$ret.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $ret.$nativeString.length) break c; $ret.$hashCode1 = (31 * $ret.$hashCode1 | 0) + $ret.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $ret.$hashCode1; var$5 = $buf.$elementData.data; $buf = var$5[var$4 & (var$5.length - 1 | 0)]; while ($buf !== null) { if ($buf.$origKeyHash == var$4) { d: { var$7 = $buf.$key; if ($ret !== var$7) { if ($ret === var$7) var$3 = 1; else if (!(var$7 instanceof jl_String)) var$3 = 0; else { var$7 = var$7; var$3 = $ret.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } $buf = $buf.$next3; } } var$8 = $buf === null ? null : $buf.$value1; if (var$8 === null) return null; var$3 = var$8.data.length; $buf = new Uint8Array(var$3); $buf.set(var$8.data); $ret = new nlea_EaglerAdapterImpl2$AudioBufferX; $buf = $buf.buffer; $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_decodeAudioAsync$_asyncCall_$($buf); if ($rt_suspending()) { break main; } $buf = $tmp; otji_JSWrapper_$callClinit(); $ret.$buffer4 = $buf === null ? null : $buf[$rt_jso_marker] === true ? $buf : $buf.$js; ju_HashMap_putImpl(nlea_EaglerAdapterImpl2_loadedSoundFiles, $fileName, $ret); return $ret.$buffer4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($fileName, $ret, var$3, var$4, var$5, $buf, var$7, var$8, $ptr); }, nlea_EaglerAdapterImpl2_beginPlayback = ($fileNamePre, $x, $y, $z, $volume, $pitch, $music) => { let $audioElement, $usingUrl, $theId, var$11, $fileName, $b, $lowerFileName, $p, $s, $c, $g, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$g = $thread.pop();$c = $thread.pop();$s = $thread.pop();$p = $thread.pop();$lowerFileName = $thread.pop();$b = $thread.pop();$fileName = $thread.pop();var$11 = $thread.pop();$theId = $thread.pop();$usingUrl = $thread.pop();$audioElement = $thread.pop();$music = $thread.pop();$pitch = $thread.pop();$volume = $thread.pop();$z = $thread.pop();$y = $thread.pop();$x = $thread.pop();$fileNamePre = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); if ($fileNamePre === $rt_s(192) ? 1 : jl_String_startsWith($fileNamePre, $rt_s(192), 0)) $fileNamePre = jl_String_substring($fileNamePre, 1, $fileNamePre.$nativeString.length); $audioElement = nle_AssetRepository_fileNameOverrides; if ($fileNamePre !== null) { a: { if (!$fileNamePre.$hashCode1) { $usingUrl = 0; while (true) { if ($usingUrl >= $fileNamePre.$nativeString.length) break a; $fileNamePre.$hashCode1 = (31 * $fileNamePre.$hashCode1 | 0) + $fileNamePre.$nativeString.charCodeAt($usingUrl) | 0; $usingUrl = $usingUrl + 1 | 0; } } } $theId = $fileNamePre.$hashCode1; var$11 = $audioElement.$elementData.data; $fileName = var$11[$theId & (var$11.length - 1 | 0)]; while ($fileName !== null) { if ($fileName.$origKeyHash == $theId) { b: { $b = $fileName.$key; if ($fileNamePre !== $b) { if ($fileNamePre !== $b) { if ($b instanceof jl_String) { $b = $b; $usingUrl = $fileNamePre.$nativeString !== $b.$nativeString ? 0 : 1; } else $usingUrl = 0; } else $usingUrl = 1; if (!$usingUrl) { $usingUrl = 0; break b; } } $usingUrl = 1; } if ($usingUrl) break; } $fileName = $fileName.$next3; } } else { $fileName = $audioElement.$elementData.data[0]; while ($fileName !== null && $fileName.$key !== null) { $fileName = $fileName.$next3; } } if (!($fileName === null ? 0 : 1)) $b = $fileNamePre; else { if ($fileNamePre === null) { $fileName = $audioElement.$elementData.data[0]; while ($fileName !== null && $fileName.$key !== null) { $fileName = $fileName.$next3; } } else { c: { if (!$fileNamePre.$hashCode1) { $usingUrl = 0; while (true) { if ($usingUrl >= $fileNamePre.$nativeString.length) break c; $fileNamePre.$hashCode1 = (31 * $fileNamePre.$hashCode1 | 0) + $fileNamePre.$nativeString.charCodeAt($usingUrl) | 0; $usingUrl = $usingUrl + 1 | 0; } } } $theId = $fileNamePre.$hashCode1; var$11 = $audioElement.$elementData.data; $fileName = var$11[$theId & (var$11.length - 1 | 0)]; while ($fileName !== null) { if ($fileName.$origKeyHash == $theId) { d: { $b = $fileName.$key; if ($fileNamePre !== $b) { if ($fileNamePre === $b) $usingUrl = 1; else if (!($b instanceof jl_String)) $usingUrl = 0; else { $b = $b; $usingUrl = $fileNamePre.$nativeString !== $b.$nativeString ? 0 : 1; } if (!$usingUrl) { $usingUrl = 0; break d; } } $usingUrl = 1; } if ($usingUrl) break; } $fileName = $fileName.$next3; } } $b = $fileName === null ? null : $fileName.$value1; } $fileName = $b; $audioElement = null; $b = $fileName.$nativeString.toLowerCase(); $lowerFileName = $b === $fileName.$nativeString ? $fileName : jl_String__init_($b); $b = nle_AssetRepository_fileNameOverrides; if ($fileNamePre === null) { $p = $b.$elementData.data[0]; while ($p !== null && $p.$key !== null) { $p = $p.$next3; } } else { e: { if (!$fileNamePre.$hashCode1) { $usingUrl = 0; while (true) { if ($usingUrl >= $fileNamePre.$nativeString.length) break e; $fileNamePre.$hashCode1 = (31 * $fileNamePre.$hashCode1 | 0) + $fileNamePre.$nativeString.charCodeAt($usingUrl) | 0; $usingUrl = $usingUrl + 1 | 0; } } } $theId = $fileNamePre.$hashCode1; var$11 = $b.$elementData.data; $p = var$11[$theId & (var$11.length - 1 | 0)]; while ($p !== null) { if ($p.$origKeyHash == $theId) { f: { $b = $p.$key; if ($fileNamePre !== $b) { if ($fileNamePre === $b) $usingUrl = 1; else if (!($b instanceof jl_String)) $usingUrl = 0; else { $b = $b; $usingUrl = $fileNamePre.$nativeString !== $b.$nativeString ? 0 : 1; } if (!$usingUrl) { $usingUrl = 0; break f; } } $usingUrl = 1; } if ($usingUrl) break; } $p = $p.$next3; } } $usingUrl = $p === null ? 0 : 1; $usingUrl = !$usingUrl && !($lowerFileName === $rt_s(204) ? 1 : jl_String_startsWith($lowerFileName, $rt_s(204), 0)) && !($lowerFileName === $rt_s(205) ? 1 : jl_String_startsWith($lowerFileName, $rt_s(205), 0)) && !($lowerFileName === $rt_s(206) ? 1 : jl_String_startsWith($lowerFileName, $rt_s(206), 0)) && !($lowerFileName === $rt_s(207) ? 1 : jl_String_startsWith($lowerFileName, $rt_s(207), 0)) ? 0 : 1; if ($usingUrl) { $audioElement = nlea_EaglerAdapterImpl2_win.document.createElement("audio"); $audioElement.autoplay = !!1; $audioElement.crossOrigin = "anonymous"; $audioElement.src = $rt_ustr($fileName); $s = nlea_EaglerAdapterImpl2_audioctx.createMediaElementSource($audioElement); $audioElement.playbackRate = $pitch; $c = nlea_EaglerAdapterImpl2_audioctx.createChannelMerger(1); $p = nlea_EaglerAdapterImpl2_audioctx.createPanner(); $p.setPosition($x, $y, $z); $p.maxDistance = $volume * 16.0 + 0.10000000149011612; $p.rolloffFactor = 1.0; $p.distanceModel = "linear"; $p.panningModel = "HRTF"; $p.coneInnerAngle = 360.0; $p.coneOuterAngle = 0.0; $p.coneOuterGain = 0.0; $p.setOrientation(0.0, 1.0, 0.0); $g = nlea_EaglerAdapterImpl2_audioctx.createGain(); $fileNamePre = $g.gain; if ($volume > 1.0) $volume = 1.0; $fileNamePre.value = $volume; $s.connect($c); $c.connect($g); $g.connect($p); $p.connect(!$music ? nlea_EaglerAdapterImpl2_masterVolumeNode : nlea_EaglerAdapterImpl2_musicVolumeNode); if (!$usingUrl) $s.start(0.0, nlea_EaglerAdapterImpl2_playbackOffsetDelay); $theId = nlea_EaglerAdapterImpl2_playbackId + 1 | 0; nlea_EaglerAdapterImpl2_playbackId = $theId; if (!$usingUrl) { $fileNamePre = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($theId >= (-128) && $theId <= 127) { jl_Integer_ensureIntegerCache(); $b = jl_Integer_integerCache.data[$theId + 128 | 0]; } else { $b = new jl_Integer; $b.$value0 = $theId; } $fileName = new nlea_EaglerAdapterImpl2$AudioBufferSourceNodeX; $fileName.$panner = $p; $fileName.$gain = $g; $fileName.$music = $music; $fileName.$source = $s; ju_HashMap_putImpl($fileNamePre, $b, $fileName); $b = new nlea_EaglerAdapterImpl2$27; $b.$val$theId2 = $theId; $s.onended = otji_JS_function($b, "handleEvent"); } else { $fileNamePre = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($theId >= (-128) && $theId <= 127) { jl_Integer_ensureIntegerCache(); $b = jl_Integer_integerCache.data[$theId + 128 | 0]; } else { $b = new jl_Integer; $b.$value0 = $theId; } $fileName = new nlea_EaglerAdapterImpl2$MediaElementAudioSourceNodeX; $fileName.$panner = $p; $fileName.$gain = $g; $fileName.$music = $music; $fileName.$source0 = $s; $fileName.$audio = $audioElement; ju_HashMap_putImpl($fileNamePre, $b, $fileName); $b = new nlea_EaglerAdapterImpl2$25; $b.$val$theId0 = $theId; $audioElement.addEventListener("canplay", otji_JS_function($b, "handleEvent")); $b = new nlea_EaglerAdapterImpl2$26; $b.$val$theId3 = $theId; $audioElement.addEventListener("ended", otji_JS_function($b, "handleEvent")); } return $theId; } $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_getBufferFor($fileName); if ($rt_suspending()) { break main; } $b = $tmp; if ($b === null) return (-1); $s = nlea_EaglerAdapterImpl2_audioctx.createBufferSource(); $s.buffer = $b; $fileNamePre = $s.playbackRate; $b = $pitch; $fileNamePre.value = $b; $c = nlea_EaglerAdapterImpl2_audioctx.createChannelMerger(1); $p = nlea_EaglerAdapterImpl2_audioctx.createPanner(); $p.setPosition($x, $y, $z); $p.maxDistance = $volume * 16.0 + 0.10000000149011612; $p.rolloffFactor = 1.0; $p.distanceModel = "linear"; $p.panningModel = "HRTF"; $p.coneInnerAngle = 360.0; $p.coneOuterAngle = 0.0; $p.coneOuterGain = 0.0; $p.setOrientation(0.0, 1.0, 0.0); $g = nlea_EaglerAdapterImpl2_audioctx.createGain(); $fileNamePre = $g.gain; if ($volume > 1.0) $volume = 1.0; $fileNamePre.value = $volume; $s.connect($c); $c.connect($g); $g.connect($p); $p.connect(!$music ? nlea_EaglerAdapterImpl2_masterVolumeNode : nlea_EaglerAdapterImpl2_musicVolumeNode); if (!$usingUrl) $s.start(0.0, nlea_EaglerAdapterImpl2_playbackOffsetDelay); $theId = nlea_EaglerAdapterImpl2_playbackId + 1 | 0; nlea_EaglerAdapterImpl2_playbackId = $theId; if (!$usingUrl) { $fileNamePre = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($theId >= (-128) && $theId <= 127) { jl_Integer_ensureIntegerCache(); $b = jl_Integer_integerCache.data[$theId + 128 | 0]; } else { $b = new jl_Integer; $b.$value0 = $theId; } $fileName = new nlea_EaglerAdapterImpl2$AudioBufferSourceNodeX; $fileName.$panner = $p; $fileName.$gain = $g; $fileName.$music = $music; $fileName.$source = $s; ju_HashMap_putImpl($fileNamePre, $b, $fileName); $b = new nlea_EaglerAdapterImpl2$27; $b.$val$theId2 = $theId; $s.onended = otji_JS_function($b, "handleEvent"); } else { $fileNamePre = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($theId >= (-128) && $theId <= 127) { jl_Integer_ensureIntegerCache(); $b = jl_Integer_integerCache.data[$theId + 128 | 0]; } else { $b = new jl_Integer; $b.$value0 = $theId; } $fileName = new nlea_EaglerAdapterImpl2$MediaElementAudioSourceNodeX; $fileName.$panner = $p; $fileName.$gain = $g; $fileName.$music = $music; $fileName.$source0 = $s; $fileName.$audio = $audioElement; ju_HashMap_putImpl($fileNamePre, $b, $fileName); $b = new nlea_EaglerAdapterImpl2$25; $b.$val$theId0 = $theId; $audioElement.addEventListener("canplay", otji_JS_function($b, "handleEvent")); $b = new nlea_EaglerAdapterImpl2$26; $b.$val$theId3 = $theId; $audioElement.addEventListener("ended", otji_JS_function($b, "handleEvent")); } return $theId; default: $rt_invalidPointer(); }} $rt_nativeThread().push($fileNamePre, $x, $y, $z, $volume, $pitch, $music, $audioElement, $usingUrl, $theId, var$11, $fileName, $b, $lowerFileName, $p, $s, $c, $g, $ptr); }, nlea_EaglerAdapterImpl2_beginPlaybackStatic = ($fileNamePre, $volume, $pitch, $music) => { let $s, $b, $usingUrl, var$8, var$9, var$10, $fileName, $g, $audioElement, $lowerFileName, $theId, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();$theId = $thread.pop();$lowerFileName = $thread.pop();$audioElement = $thread.pop();$g = $thread.pop();$fileName = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$usingUrl = $thread.pop();$b = $thread.pop();$s = $thread.pop();$music = $thread.pop();$pitch = $thread.pop();$volume = $thread.pop();$fileNamePre = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); if ($fileNamePre === $rt_s(192) ? 1 : jl_String_startsWith($fileNamePre, $rt_s(192), 0)) $fileNamePre = jl_String_substring($fileNamePre, 1, $fileNamePre.$nativeString.length); $s = nle_AssetRepository_fileNameOverrides; if ($fileNamePre === null) { $b = $s.$elementData.data[0]; while ($b !== null && $b.$key !== null) { $b = $b.$next3; } } else { a: { if (!$fileNamePre.$hashCode1) { $usingUrl = 0; while (true) { if ($usingUrl >= $fileNamePre.$nativeString.length) break a; $fileNamePre.$hashCode1 = (31 * $fileNamePre.$hashCode1 | 0) + $fileNamePre.$nativeString.charCodeAt($usingUrl) | 0; $usingUrl = $usingUrl + 1 | 0; } } } var$8 = $fileNamePre.$hashCode1; var$9 = $s.$elementData.data; $b = var$9[var$8 & (var$9.length - 1 | 0)]; while ($b !== null) { if ($b.$origKeyHash == var$8) { b: { var$10 = $b.$key; if ($fileNamePre !== var$10) { if ($fileNamePre === var$10) $usingUrl = 1; else if (!(var$10 instanceof jl_String)) $usingUrl = 0; else { var$10 = var$10; $usingUrl = $fileNamePre.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!$usingUrl) { $usingUrl = 0; break b; } } $usingUrl = 1; } if ($usingUrl) break; } $b = $b.$next3; } } if (!($b === null ? 0 : 1)) $b = $fileNamePre; else { if ($fileNamePre === null) { $b = $s.$elementData.data[0]; while ($b !== null && $b.$key !== null) { $b = $b.$next3; } } else { c: { if (!$fileNamePre.$hashCode1) { $usingUrl = 0; while (true) { if ($usingUrl >= $fileNamePre.$nativeString.length) break c; $fileNamePre.$hashCode1 = (31 * $fileNamePre.$hashCode1 | 0) + $fileNamePre.$nativeString.charCodeAt($usingUrl) | 0; $usingUrl = $usingUrl + 1 | 0; } } } var$8 = $fileNamePre.$hashCode1; var$9 = $s.$elementData.data; $b = var$9[var$8 & (var$9.length - 1 | 0)]; while ($b !== null) { if ($b.$origKeyHash == var$8) { d: { var$10 = $b.$key; if ($fileNamePre !== var$10) { if ($fileNamePre === var$10) $usingUrl = 1; else if (!(var$10 instanceof jl_String)) $usingUrl = 0; else { var$10 = var$10; $usingUrl = $fileNamePre.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!$usingUrl) { $usingUrl = 0; break d; } } $usingUrl = 1; } if ($usingUrl) break; } $b = $b.$next3; } } $b = $b === null ? null : $b.$value1; } $fileName = $b; $s = null; $g = null; $audioElement = null; $b = $fileName.$nativeString.toLowerCase(); $lowerFileName = $b === $fileName.$nativeString ? $fileName : jl_String__init_($b); $b = nle_AssetRepository_fileNameOverrides; if ($fileNamePre === null) { $b = $b.$elementData.data[0]; while ($b !== null && $b.$key !== null) { $b = $b.$next3; } } else { e: { if (!$fileNamePre.$hashCode1) { $usingUrl = 0; while (true) { if ($usingUrl >= $fileNamePre.$nativeString.length) break e; $fileNamePre.$hashCode1 = (31 * $fileNamePre.$hashCode1 | 0) + $fileNamePre.$nativeString.charCodeAt($usingUrl) | 0; $usingUrl = $usingUrl + 1 | 0; } } } var$8 = $fileNamePre.$hashCode1; var$9 = $b.$elementData.data; $b = var$9[var$8 & (var$9.length - 1 | 0)]; while ($b !== null) { if ($b.$origKeyHash == var$8) { f: { var$10 = $b.$key; if ($fileNamePre !== var$10) { if ($fileNamePre === var$10) $usingUrl = 1; else if (!(var$10 instanceof jl_String)) $usingUrl = 0; else { var$10 = var$10; $usingUrl = $fileNamePre.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!$usingUrl) { $usingUrl = 0; break f; } } $usingUrl = 1; } if ($usingUrl) break; } $b = $b.$next3; } } $usingUrl = $b === null ? 0 : 1; $usingUrl = !$usingUrl && !($lowerFileName === $rt_s(204) ? 1 : jl_String_startsWith($lowerFileName, $rt_s(204), 0)) && !($lowerFileName === $rt_s(205) ? 1 : jl_String_startsWith($lowerFileName, $rt_s(205), 0)) && !($lowerFileName === $rt_s(206) ? 1 : jl_String_startsWith($lowerFileName, $rt_s(206), 0)) && !($lowerFileName === $rt_s(207) ? 1 : jl_String_startsWith($lowerFileName, $rt_s(207), 0)) ? 0 : 1; if ($usingUrl) { $audioElement = nlea_EaglerAdapterImpl2_win.document.createElement("audio"); $audioElement.autoplay = !!1; $audioElement.src = $rt_ustr($fileName); $audioElement.playbackRate = $pitch; $theId = nlea_EaglerAdapterImpl2_playbackId + 1 | 0; nlea_EaglerAdapterImpl2_playbackId = $theId; if (!$usingUrl) { $b = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($theId >= (-128) && $theId <= 127) { jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[$theId + 128 | 0]; } else { var$10 = new jl_Integer; var$10.$value0 = $theId; } $lowerFileName = new nlea_EaglerAdapterImpl2$AudioBufferSourceNodeX; $lowerFileName.$panner = null; $lowerFileName.$gain = $g; $lowerFileName.$music = $music; $lowerFileName.$source = $s; ju_HashMap_putImpl($b, var$10, $lowerFileName); $fileNamePre = new nlea_EaglerAdapterImpl2$30; $fileNamePre.$val$theId4 = $theId; $s.onended = otji_JS_function($fileNamePre, "handleEvent"); } else { $fileNamePre = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($theId >= (-128) && $theId <= 127) { jl_Integer_ensureIntegerCache(); $b = jl_Integer_integerCache.data[$theId + 128 | 0]; } else { $b = new jl_Integer; $b.$value0 = $theId; } var$10 = new nlea_EaglerAdapterImpl2$MediaElementAudioSourceNodeX; $lowerFileName = null; $s = null; $g = null; var$10.$panner = $s; var$10.$gain = $g; var$10.$music = $music; var$10.$source0 = $lowerFileName; var$10.$audio = $audioElement; ju_HashMap_putImpl($fileNamePre, $b, var$10); $b = new nlea_EaglerAdapterImpl2$28; $b.$val$theId = $theId; $audioElement.addEventListener("canplay", otji_JS_function($b, "handleEvent")); $b = new nlea_EaglerAdapterImpl2$29; $b.$val$theId1 = $theId; $audioElement.addEventListener("ended", otji_JS_function($b, "handleEvent")); } return $theId; } $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_getBufferFor($fileName); if ($rt_suspending()) { break main; } $b = $tmp; if ($b === null) return (-1); $s = nlea_EaglerAdapterImpl2_audioctx.createBufferSource(); $s.buffer = $b; $s.playbackRate.value = $pitch; $g = nlea_EaglerAdapterImpl2_audioctx.createGain(); $fileNamePre = $g.gain; if ($volume > 1.0) $volume = 1.0; $fileNamePre.value = $volume; $s.connect($g); $b = !$music ? nlea_EaglerAdapterImpl2_masterVolumeNode : nlea_EaglerAdapterImpl2_musicVolumeNode; $g.connect($b); var$16 = nlea_EaglerAdapterImpl2_playbackOffsetDelay; $s.start(0.0, var$16); $theId = nlea_EaglerAdapterImpl2_playbackId + 1 | 0; nlea_EaglerAdapterImpl2_playbackId = $theId; if (!$usingUrl) { $b = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($theId >= (-128) && $theId <= 127) { jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[$theId + 128 | 0]; } else { var$10 = new jl_Integer; var$10.$value0 = $theId; } $lowerFileName = new nlea_EaglerAdapterImpl2$AudioBufferSourceNodeX; $lowerFileName.$panner = null; $lowerFileName.$gain = $g; $lowerFileName.$music = $music; $lowerFileName.$source = $s; ju_HashMap_putImpl($b, var$10, $lowerFileName); $fileNamePre = new nlea_EaglerAdapterImpl2$30; $fileNamePre.$val$theId4 = $theId; $s.onended = otji_JS_function($fileNamePre, "handleEvent"); } else { $fileNamePre = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($theId >= (-128) && $theId <= 127) { jl_Integer_ensureIntegerCache(); $b = jl_Integer_integerCache.data[$theId + 128 | 0]; } else { $b = new jl_Integer; $b.$value0 = $theId; } var$10 = new nlea_EaglerAdapterImpl2$MediaElementAudioSourceNodeX; $lowerFileName = null; $s = null; $g = null; var$10.$panner = $s; var$10.$gain = $g; var$10.$music = $music; var$10.$source0 = $lowerFileName; var$10.$audio = $audioElement; ju_HashMap_putImpl($fileNamePre, $b, var$10); $b = new nlea_EaglerAdapterImpl2$28; $b.$val$theId = $theId; $audioElement.addEventListener("canplay", otji_JS_function($b, "handleEvent")); $b = new nlea_EaglerAdapterImpl2$29; $b.$val$theId1 = $theId; $audioElement.addEventListener("ended", otji_JS_function($b, "handleEvent")); } return $theId; default: $rt_invalidPointer(); }} $rt_nativeThread().push($fileNamePre, $volume, $pitch, $music, $s, $b, $usingUrl, var$8, var$9, var$10, $fileName, $g, $audioElement, $lowerFileName, $theId, var$16, $ptr); }, nlea_EaglerAdapterImpl2_setPitch = ($id, $pitch) => { let $a, var$4, var$5, var$6, var$7; nlea_EaglerAdapterImpl2_$callClinit(); $a = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($id >= (-128) && $id <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[$id + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = $id; } if (var$4 === null) { $a = $a.$elementData.data[0]; while ($a !== null && $a.$key !== null) { $a = $a.$next3; } } else { var$5 = var$4.$value0; var$6 = $a.$elementData.data; $a = var$6[var$5 & (var$6.length - 1 | 0)]; while ($a !== null) { if ($a.$origKeyHash == var$5) { var$7 = $a.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $a = $a.$next3; } } $a = $a === null ? null : $a.$value1; if ($a !== null) { if ($a instanceof nlea_EaglerAdapterImpl2$AudioBufferSourceNodeX) $a.$source.playbackRate.value = $pitch; else if ($a instanceof nlea_EaglerAdapterImpl2$MediaElementAudioSourceNodeX) $a.$audio.playbackRate = $pitch; } }, nlea_EaglerAdapterImpl2_setVolume = ($id, $volume) => { let $a, $audioElem, var$5, var$6, var$7, $gainValue, $newVolume; nlea_EaglerAdapterImpl2_$callClinit(); $a = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($id >= (-128) && $id <= 127) { jl_Integer_ensureIntegerCache(); $audioElem = jl_Integer_integerCache.data[$id + 128 | 0]; } else { $audioElem = new jl_Integer; $audioElem.$value0 = $id; } if ($audioElem === null) { $a = $a.$elementData.data[0]; while ($a !== null && $a.$key !== null) { $a = $a.$next3; } } else { var$5 = $audioElem.$value0; var$6 = $a.$elementData.data; $a = var$6[var$5 & (var$6.length - 1 | 0)]; while ($a !== null) { if ($a.$origKeyHash == var$5) { var$7 = $a.$key; if ($audioElem !== var$7 && !($audioElem === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $a = $a.$next3; } } $a = $a === null ? null : $a.$value1; if ($a !== null) { if (!($a instanceof nlea_EaglerAdapterImpl2$MediaElementAudioSourceNodeX && $a.$gain === null)) { $a.$gain.gain.value = $volume <= 1.0 ? $volume : 1.0; $a = $a.$panner; if ($a !== null) $a.maxDistance = $volume * 16.0 + 0.10000000149011612; } else { $audioElem = $a.$audio; $a = !$a.$music ? nlea_EaglerAdapterImpl2_masterVolumeNode : nlea_EaglerAdapterImpl2_musicVolumeNode; $gainValue = $a.gain.value; if ($gainValue !== 0.0) { $audioElem.muted = !!0; $newVolume = $gainValue * $volume; } else { $audioElem.muted = !!1; $newVolume = $volume; } if ($newVolume > 1.0) $volume = 1.0; $audioElem.volume = $volume; } } }, nlea_EaglerAdapterImpl2_endSound = $id => { let $a, var$3, var$4, var$5, var$6, var$7; nlea_EaglerAdapterImpl2_$callClinit(); $a = nlea_EaglerAdapterImpl2_activeSoundEffects; var$3 = $rt_compare($id, (-128)); if (var$3 >= 0 && $id <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[$id + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = $id; } if (var$4 === null) { $a = $a.$elementData.data[0]; while ($a !== null && $a.$key !== null) { $a = $a.$next3; } } else { var$5 = var$4.$value0; var$6 = $a.$elementData.data; $a = var$6[var$5 & (var$6.length - 1 | 0)]; while ($a !== null) { if ($a.$origKeyHash == var$5) { var$7 = $a.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $a = $a.$next3; } } $a = $a === null ? null : $a.$value1; if ($a !== null) { if ($a instanceof nlea_EaglerAdapterImpl2$AudioBufferSourceNodeX) $a.$source.stop(); else if ($a instanceof nlea_EaglerAdapterImpl2$MediaElementAudioSourceNodeX) { $a = $a; $a.$audio.pause(); $a.$audio.src = ""; } $a = nlea_EaglerAdapterImpl2_activeSoundEffects; if (var$3 >= 0 && $id <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[$id + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = $id; } ju_HashMap_removeByKey($a, var$4); } }, nlea_EaglerAdapterImpl2_handleVoiceSignal = $data => { let $streamIn, $sig, $peerId, $offer, $peerId3, $candidate, $peerId4, $descJSON, $peerId2, $voicePlayers, $i, $ex, $servs, $$je; nlea_EaglerAdapterImpl2_$callClinit(); a: { b: { c: { d: { try { e: { $streamIn = ji_DataInputStream__init_(nle_EaglerInputStream__init_($data)); $sig = ji_FilterInputStream_read($streamIn); switch ($sig) { case 0: break d; case 1: $peerId = ji_DataInputStream_readUTF($streamIn); try { $offer = ji_DataInputStream_readBoolean($streamIn); nlea_EaglerAdapterImpl2_voiceClient.signalConnect($rt_ustr($peerId), !!$offer); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_EOFException) { } else { throw $$e; } } nlea_EaglerAdapterImpl2_sendVoiceRequest($peerId); break c; case 2: break; case 3: $peerId3 = ji_DataInputStream_readUTF($streamIn); $candidate = ji_DataInputStream_readUTF($streamIn); nlea_EaglerAdapterImpl2_voiceClient.signalICECandidate($rt_ustr($peerId3), $rt_ustr($candidate)); break c; case 4: $peerId4 = ji_DataInputStream_readUTF($streamIn); $descJSON = ji_DataInputStream_readUTF($streamIn); nlea_EaglerAdapterImpl2_voiceClient.signalDescription($rt_ustr($peerId4), $rt_ustr($descJSON)); break c; case 5: break e; default: $streamIn = jl_System_err(); $peerId = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append($peerId, $rt_s(208)), $sig), $rt_s(209)); otcic_JsConsolePrintStream_println($streamIn, jl_StringBuilder_toString($peerId)); break c; } $peerId2 = ji_DataInputStream_readUTF($streamIn); nlea_EaglerAdapterImpl2_voiceClient.signalDisconnect($rt_ustr($peerId2), !!1); break c; } $voicePlayers = $rt_createArray(jl_String, ji_DataInputStream_readInt($streamIn)); $i = 0; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $ex = $$je; break b; } else { throw $$e; } } $data = $voicePlayers.data; $sig = $data.length; while (true) { try { if ($i >= $sig) break; $data[$i] = ji_DataInputStream_readUTF($streamIn); $i = $i + 1 | 0; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $ex = $$je; break b; } else { throw $$e; } } } try { $i = 0; while ($i < $sig) { nlea_EaglerAdapterImpl2_sendVoiceRequestIfNeeded($data[$i]); $i = $i + 1 | 0; } break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $ex = $$je; break b; } else { throw $$e; } } } f: { try { if (ji_FilterInputStream_read($streamIn) != 1) { $sig = 0; break f; } $sig = 1; break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $ex = $$je; break b; } else { throw $$e; } } } try { nlea_EaglerAdapterImpl2_voiceAvailableStat = $sig; $servs = $rt_createArray(jl_String, ji_FilterInputStream_read($streamIn)); $i = 0; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $ex = $$je; break b; } else { throw $$e; } } $data = $servs.data; $sig = $data.length; while (true) { try { if ($i >= $sig) break; $data[$i] = ji_DataInputStream_readUTF($streamIn); $i = $i + 1 | 0; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $ex = $$je; break b; } else { throw $$e; } } } try { nlea_EaglerAdapterImpl2_voiceClient.setICEServers(otji_JS_wrap($servs)); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $ex = $$je; break b; } else { throw $$e; } } } break a; } if (jl_System_errCache === null) { $streamIn = new otcic_JSStderrPrintStream; $peerId = new ji_ByteArrayOutputStream; $peerId.$buf = $rt_createByteArray(32); $streamIn.$out0 = $peerId; $peerId = new jl_StringBuilder; $peerId.$buffer = $rt_createCharArray(16); $streamIn.$sb = $peerId; $streamIn.$buffer0 = $rt_createCharArray(32); $streamIn.$autoFlush = 0; $streamIn.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $streamIn; } jl_Throwable_printStackTrace($ex, jl_System_errCache); } }, nlea_EaglerAdapterImpl2_sendVoiceRequest = $username => { let $baos, $dos, $$je; nlea_EaglerAdapterImpl2_$callClinit(); a: { try { $baos = ji_ByteArrayOutputStream__init_2(); $dos = ji_DataOutputStream__init_($baos); ji_DataOutputStream_write0($dos, 0); ji_DataOutputStream_writeUTF($dos, $username); nlea_EaglerAdapterImpl2_returnSignalHandler.$accept(ji_ByteArrayOutputStream_toByteArray($baos)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } }, nlea_EaglerAdapterImpl2_sendVoiceRequestIfNeeded = $username => { nlea_EaglerAdapterImpl2_$callClinit(); }, nlea_EaglerAdapterImpl2_setVoiceProximity = $prox => { let var$2, var$3, var$4, $panner, var$6; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_voicePanners; if (var$2.$cachedValues === null) { var$3 = new ju_HashMap$2; var$3.$this$01 = var$2; var$2.$cachedValues = var$3; } var$2 = var$2.$cachedValues.$iterator(); var$4 = $prox; while (var$2.$hasNext()) { var$3 = var$2.$next(); otji_JSWrapper_$callClinit(); $panner = var$3 === null ? null : var$3[$rt_jso_marker] === true ? var$3 : var$3.$js; var$6 = nlea_EaglerAdapterImpl2_volumeListen * 2.0 * var$4 + 0.10000000149011612; $panner.maxDistance = var$6; } nlea_EaglerAdapterImpl2_proximity = $prox; }, nlea_EaglerAdapterImpl2_setVoiceListenVolume = $f => { let var$2, $username, var$4, var$5, var$6, $gain, var$8, var$9, var$10, var$11, var$12; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_voiceGains; if (var$2.$cachedKeySet === null) { $username = new ju_HashMap$1; $username.$this$0 = var$2; var$2.$cachedKeySet = $username; } var$2 = var$2.$cachedKeySet.$iterator(); var$4 = $rt_compare($f, 0.5); var$5 = 0.5 + ($f - 0.5) * 3.0; var$6 = $f * 2.0; while (var$2.$hasNext()) { $username = var$2.$next(); $gain = nlea_EaglerAdapterImpl2_voiceGains; if ($username === null) { $gain = $gain.$elementData.data[0]; while ($gain !== null && $gain.$key !== null) { $gain = $gain.$next3; } } else { a: { if (!$username.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $username.$nativeString.length) break a; $username.$hashCode1 = (31 * $username.$hashCode1 | 0) + $username.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $username.$hashCode1; var$10 = $gain.$elementData.data; $gain = var$10[var$9 & (var$10.length - 1 | 0)]; while ($gain !== null) { if ($gain.$origKeyHash == var$9) { b: { var$11 = $gain.$key; if ($username !== var$11) { if ($username === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $username.$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } $gain = $gain.$next3; } } $gain = $gain === null ? null : $gain.$value1; otji_JSWrapper_$callClinit(); $gain = $gain === null ? null : $gain[$rt_jso_marker] === true ? $gain : $gain.$js; var$12 = var$4 > 0 ? var$5 : $f; if (var$12 > 2.0) var$12 = 2.0; if (var$12 < 0.0) var$12 = 0.0; $gain.gain.value = var$12 * 2.0; $gain = nlea_EaglerAdapterImpl2_voicePanners; if ($username === null) { $gain = $gain.$elementData.data[0]; while ($gain !== null && $gain.$key !== null) { $gain = $gain.$next3; } } else { c: { if (!$username.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $username.$nativeString.length) break c; $username.$hashCode1 = (31 * $username.$hashCode1 | 0) + $username.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $username.$hashCode1; var$10 = $gain.$elementData.data; $gain = var$10[var$9 & (var$10.length - 1 | 0)]; while ($gain !== null) { if ($gain.$origKeyHash == var$9) { d: { var$11 = $gain.$key; if ($username !== var$11) { if ($username === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $username.$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break d; } } var$8 = 1; } if (var$8) break; } $gain = $gain.$next3; } } if ($gain === null ? 0 : 1) { $gain = nlea_EaglerAdapterImpl2_voicePanners; if ($username === null) { $gain = $gain.$elementData.data[0]; while ($gain !== null && $gain.$key !== null) { $gain = $gain.$next3; } } else { e: { if (!$username.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $username.$nativeString.length) break e; $username.$hashCode1 = (31 * $username.$hashCode1 | 0) + $username.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $username.$hashCode1; var$10 = $gain.$elementData.data; $gain = var$10[var$9 & (var$10.length - 1 | 0)]; while ($gain !== null) { if ($gain.$origKeyHash == var$9) { f: { var$11 = $gain.$key; if ($username !== var$11) { if ($username === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $username.$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break f; } } var$8 = 1; } if (var$8) break; } $gain = $gain.$next3; } } $username = $gain === null ? null : $gain.$value1; ($username === null ? null : $username[$rt_jso_marker] === true ? $username : $username.$js).maxDistance = var$6 * nlea_EaglerAdapterImpl2_proximity + 0.10000000149011612; } } nlea_EaglerAdapterImpl2_volumeListen = $f; }, nlea_EaglerAdapterImpl2_setVoiceSpeakVolume = $f => { nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_volumeSpeak !== $f) nlea_EaglerAdapterImpl2_voiceClient.setMicVolume($f); nlea_EaglerAdapterImpl2_volumeSpeak = $f; }; let nlea_EaglerAdapterImpl2__wAppendLowLevelBuffer = $arr => { let $a; nlea_EaglerAdapterImpl2_$callClinit(); otji_JSWrapper_$callClinit(); $a = $arr === null ? null : $arr[$rt_jso_marker] === true ? $arr : $arr.$js; if ((nlea_EaglerAdapterImpl2_appendbufferindex + $a.length | 0) < nlea_EaglerAdapterImpl2_appendbuffer.length) { nlea_EaglerAdapterImpl2_appendbuffer.set($a, nlea_EaglerAdapterImpl2_appendbufferindex); nlea_EaglerAdapterImpl2_appendbufferindex = nlea_EaglerAdapterImpl2_appendbufferindex + $a.length | 0; } }, nlea_EaglerAdapterImpl2_beginLoadingIntegratedServer = () => { let var$1, var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_server; if (var$1 !== null) var$1.terminate(); ju_HashMap_putImpl(nlea_EaglerAdapterImpl2_workerMessageQueue, $rt_s(210), new ju_LinkedList); if (jl_System_outCache === null) { var$1 = new otcic_JSStdoutPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$1; } $rt_putStdout("doing server worker shit"); $rt_putStdout("\n"); var$1 = nlea_EaglerAdapterImpl2_integratedServerScript; var$1 = new Worker($rt_ustr(var$1)); nlea_EaglerAdapterImpl2_server = var$1; var$2 = new nlea_EaglerAdapterImpl2$32; var$1.addEventListener("error", otji_JS_function(var$2, "handleEvent")); nlea_EaglerAdapterImpl2_sendWorkerStartPacket$js_body$_301(nlea_EaglerAdapterImpl2_server, $rt_ustr(nlea_EaglerAdapterImpl2_worldDatabaseName)); nlea_EaglerAdapterImpl2_registerPacketHandler$js_body$_299(nlea_EaglerAdapterImpl2_server, otji_JS_function(new nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl, "onMessage")); }, nlea_EaglerAdapterImpl2_sendToIntegratedServer = ($channel, $pkt) => { let var$3, var$4; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_server; var$4 = $pkt.data.buffer; nlea_EaglerAdapterImpl2_sendWorkerPacket$js_body$_300(var$3, $rt_ustr($channel), var$4); }, nlea_EaglerAdapterImpl2_enableChannel = $channel => { let var$2, var$3, var$4, var$5, $$je; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_workerMessageQueue; jl_Object_monitorEnterSync(var$2); a: { try { if (ju_HashMap_containsKey(var$2, $channel)) { var$3 = jl_System_err(); var$4 = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(211)), $channel), $rt_s(212)); otcic_JsConsolePrintStream_println(var$3, jl_StringBuilder_toString(var$4)); } else { var$3 = jl_System_out(); var$5 = jl_StringBuilder__init_(); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append(var$5, $rt_s(213)), $channel), 93); otcic_JsConsolePrintStream_println(var$3, jl_StringBuilder_toString(var$5)); ju_HashMap_put(nlea_EaglerAdapterImpl2_workerMessageQueue, $channel, ju_LinkedList__init_0()); } jl_Object_monitorExitSync(var$2); } catch ($$e) { $$je = $rt_wrapException($$e); $channel = $$je; break a; } return; } jl_Object_monitorExitSync(var$2); $rt_throw($channel); }, nlea_EaglerAdapterImpl2_disableChannel = $channel => { let var$2, var$3, var$4, $$je; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_workerMessageQueue; jl_Object_monitorEnterSync(var$2); a: { try { if (ju_HashMap_remove(var$2, $channel) === null) { var$3 = jl_System_err(); var$4 = jl_StringBuilder__init_(); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(214)), $channel), 39); otcic_JsConsolePrintStream_println(var$3, jl_StringBuilder_toString(var$4)); } var$3 = jl_System_out(); var$4 = jl_StringBuilder__init_(); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(215)), $channel), 93); otcic_JsConsolePrintStream_println(var$3, jl_StringBuilder_toString(var$4)); jl_Object_monitorExitSync(var$2); } catch ($$e) { $$je = $rt_wrapException($$e); $channel = $$je; break a; } return; } jl_Object_monitorExitSync(var$2); $rt_throw($channel); }, nlea_EaglerAdapterImpl2_recieveFromIntegratedServer = $channel => { let var$2, $list, var$4, $$je; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_workerMessageQueue; jl_Object_monitorEnterSync(var$2); a: { b: { try { $list = ju_HashMap_get(var$2, $channel); if ($list !== null) break b; $list = jl_System_err(); var$4 = jl_StringBuilder__init_(); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append(var$4, $rt_s(216)), $channel), 39); otcic_JsConsolePrintStream_println($list, jl_StringBuilder_toString(var$4)); $channel = null; jl_Object_monitorExitSync(var$2); } catch ($$e) { $$je = $rt_wrapException($$e); $channel = $$je; break a; } return $channel; } c: { try { if ($list.$size() <= 0) { $channel = null; break c; } $channel = $list.$remove2(0); break c; } catch ($$e) { $$je = $rt_wrapException($$e); $channel = $$je; break a; } } try { jl_Object_monitorExitSync(var$2); } catch ($$e) { $$je = $rt_wrapException($$e); $channel = $$je; break a; } return $channel; } jl_Object_monitorExitSync(var$2); $rt_throw($channel); }, nlea_EaglerAdapterImpl2_getClipboard = () => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_getClipboard$_asyncCall_$(); if ($rt_suspending()) { break main; } var$1 = $tmp; return var$1; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$1, $ptr); }, nlea_EaglerAdapterImpl2_getClipboard0 = $cb => { let $start, var$3; nlea_EaglerAdapterImpl2_$callClinit(); $start = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3 = new nlea_EaglerAdapterImpl2$33; var$3.$val$start = $start; var$3.$val$cb16 = $cb; nlea_EaglerAdapterImpl2_getClipboard0$js_body$_314(otji_JS_function(var$3, "resolveStr")); }, nlea_EaglerAdapterImpl2_setServerToJoinOnLaunch = $s => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_serverToJoinOnLaunch = $s; }, nlea_EaglerAdapterImpl2_isBigEndian0 = () => { let $buf, $bufW, $bufR, $knownBig1, $knownLittle1, $knownBig2, $knownLittle2, var$8, var$9, $checkIntegerA, $checkIntegerB; nlea_EaglerAdapterImpl2_$callClinit(); if (!nlea_EaglerAdapterImpl2_endianWasChecked) { $buf = new ArrayBuffer(4); $bufW = new Int32Array($buf); $bufR = new Uint8Array($buf); $bufW[0] = (-16777216); $knownBig1 = 0; if ($bufR[0] == 255 && !$bufR[1] && !$bufR[2] && !$bufR[3]) $knownBig1 = 1; $knownLittle1 = 0; if (!$bufR[0] && !$bufR[1] && !$bufR[2] && $bufR[3] == 255) $knownLittle1 = 1; $bufW[0] = 255; $knownBig2 = 0; if (!$bufR[0] && !$bufR[1] && !$bufR[2] && $bufR[3] == 255) $knownBig2 = 1; $knownLittle2 = 0; if ($bufR[0] == 255 && !$bufR[1] && !$bufR[2] && !$bufR[3]) $knownLittle2 = 1; if ($knownBig1 == $knownBig2 && $knownLittle1 == $knownLittle2 && $knownBig1 != $knownLittle1) { nlea_EaglerAdapterImpl2_isBigEndian = $knownBig1; nlea_EaglerAdapterImpl2_isLittleEndian = $knownLittle1; } a: { if (nlea_EaglerAdapterImpl2_isBigEndian) { if (jl_System_outCache === null) { $buf = new otcic_JSStdoutPrintStream; $bufW = new ji_ByteArrayOutputStream; $bufW.$buf = $rt_createByteArray(32); $buf.$out0 = $bufW; $bufW = new jl_StringBuilder; $bufW.$buffer = $rt_createCharArray(16); $buf.$sb = $bufW; $buf.$buffer0 = $rt_createCharArray(32); $buf.$autoFlush = 0; $buf.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $buf; } $rt_putStdout("This browser is BIG endian!"); $rt_putStdout("\n"); } else if (nlea_EaglerAdapterImpl2_isLittleEndian) { if (jl_System_outCache === null) { $buf = new otcic_JSStdoutPrintStream; $bufW = new ji_ByteArrayOutputStream; $bufW.$buf = $rt_createByteArray(32); $buf.$out0 = $bufW; $bufW = new jl_StringBuilder; $bufW.$buffer = $rt_createCharArray(16); $buf.$sb = $bufW; $buf.$buffer0 = $rt_createCharArray(32); $buf.$autoFlush = 0; $buf.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $buf; } $rt_putStdout("This browser is LITTLE endian!"); $rt_putStdout("\n"); } else { if (jl_System_outCache === null) { $buf = new otcic_JSStdoutPrintStream; $bufW = new ji_ByteArrayOutputStream; $bufW.$buf = $rt_createByteArray(32); $buf.$out0 = $bufW; $bufW = new jl_StringBuilder; $bufW.$buffer = $rt_createCharArray(16); $buf.$sb = $bufW; $buf.$buffer0 = $rt_createCharArray(32); $buf.$autoFlush = 0; $buf.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $buf; } $rt_putStdout("The byte order of this browser is inconsistent!"); $rt_putStdout("\n"); if (jl_System_outCache === null) { $buf = new otcic_JSStdoutPrintStream; $bufW = new ji_ByteArrayOutputStream; $bufW.$buf = $rt_createByteArray(32); $buf.$out0 = $bufW; $bufW = new jl_StringBuilder; $bufW.$buffer = $rt_createCharArray(16); $buf.$sb = $bufW; $buf.$buffer0 = $rt_createCharArray(32); $buf.$autoFlush = 0; $buf.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $buf; } $buf = !$knownBig1 ? $rt_s(217) : $rt_s(18); $bufW = new jl_StringBuilder; $bufW.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($bufW, $bufW.$length0, $rt_s(218)); jl_AbstractStringBuilder_insert($bufW, $bufW.$length0, $buf); jl_AbstractStringBuilder_insert($bufW, $bufW.$length0, $rt_s(219)); $buf = new jl_String; var$8 = $bufW.$buffer; var$9 = var$8.data; $checkIntegerA = $bufW.$length0; $checkIntegerB = var$9.length; if ($checkIntegerA >= 0 && $checkIntegerA <= ($checkIntegerB - 0 | 0)) { $buf.$nativeString = $rt_charArrayToString(var$8.data, 0, $checkIntegerA); $rt_putStdout($rt_ustr($buf)); $rt_putStdout("\n"); if (jl_System_outCache === null) { $buf = new otcic_JSStdoutPrintStream; $bufW = new ji_ByteArrayOutputStream; $bufW.$buf = $rt_createByteArray(32); $buf.$out0 = $bufW; $bufW = new jl_StringBuilder; $bufW.$buffer = $rt_createCharArray(16); $buf.$sb = $bufW; $buf.$buffer0 = $rt_createCharArray(32); $buf.$autoFlush = 0; $buf.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $buf; } $buf = !$knownLittle1 ? $rt_s(217) : $rt_s(18); $bufW = new jl_StringBuilder; $bufW.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($bufW, $bufW.$length0, $rt_s(218)); jl_AbstractStringBuilder_insert($bufW, $bufW.$length0, $buf); jl_AbstractStringBuilder_insert($bufW, $bufW.$length0, $rt_s(220)); $buf = new jl_String; var$8 = $bufW.$buffer; var$9 = var$8.data; $checkIntegerA = $bufW.$length0; $checkIntegerB = var$9.length; if ($checkIntegerA >= 0 && $checkIntegerA <= ($checkIntegerB - 0 | 0)) { $buf.$nativeString = $rt_charArrayToString(var$8.data, 0, $checkIntegerA); $rt_putStdout($rt_ustr($buf)); $rt_putStdout("\n"); if (jl_System_outCache === null) { $buf = new otcic_JSStdoutPrintStream; $bufW = new ji_ByteArrayOutputStream; $bufW.$buf = $rt_createByteArray(32); $buf.$out0 = $bufW; $bufW = new jl_StringBuilder; $bufW.$buffer = $rt_createCharArray(16); $buf.$sb = $bufW; $buf.$buffer0 = $rt_createCharArray(32); $buf.$autoFlush = 0; $buf.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $buf; } $buf = !$knownBig2 ? $rt_s(217) : $rt_s(18); $bufW = new jl_StringBuilder; $bufW.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($bufW, $bufW.$length0, $rt_s(221)); jl_AbstractStringBuilder_insert($bufW, $bufW.$length0, $buf); jl_AbstractStringBuilder_insert($bufW, $bufW.$length0, $rt_s(219)); $buf = new jl_String; var$8 = $bufW.$buffer; var$9 = var$8.data; $checkIntegerA = $bufW.$length0; $checkIntegerB = var$9.length; if ($checkIntegerA >= 0 && $checkIntegerA <= ($checkIntegerB - 0 | 0)) { $buf.$nativeString = $rt_charArrayToString(var$8.data, 0, $checkIntegerA); $rt_putStdout($rt_ustr($buf)); $rt_putStdout("\n"); if (jl_System_outCache === null) { $buf = new otcic_JSStdoutPrintStream; $bufW = new ji_ByteArrayOutputStream; $bufW.$buf = $rt_createByteArray(32); $buf.$out0 = $bufW; $bufW = new jl_StringBuilder; $bufW.$buffer = $rt_createCharArray(16); $buf.$sb = $bufW; $buf.$buffer0 = $rt_createCharArray(32); $buf.$autoFlush = 0; $buf.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $buf; } $buf = !$knownLittle2 ? $rt_s(217) : $rt_s(18); $bufW = new jl_StringBuilder; $bufW.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($bufW, $bufW.$length0, $rt_s(221)); jl_AbstractStringBuilder_insert($bufW, $bufW.$length0, $buf); jl_AbstractStringBuilder_insert($bufW, $bufW.$length0, $rt_s(220)); $buf = new jl_String; var$8 = $bufW.$buffer; var$9 = var$8.data; $checkIntegerA = $bufW.$length0; $checkIntegerB = var$9.length; if ($checkIntegerA >= 0 && $checkIntegerA <= ($checkIntegerB - 0 | 0)) { $buf.$nativeString = $rt_charArrayToString(var$8.data, 0, $checkIntegerA); $rt_putStdout($rt_ustr($buf)); $rt_putStdout("\n"); break a; } $buf = new jl_IndexOutOfBoundsException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf = new jl_IndexOutOfBoundsException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf = new jl_IndexOutOfBoundsException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf = new jl_IndexOutOfBoundsException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } } nlea_EaglerAdapterImpl2_endianWasChecked = 1; } return nlea_EaglerAdapterImpl2_isLittleEndian ? 0 : 1; }, nlea_EaglerAdapterImpl2_openRelayQuery = $addr => { let $millis, $l, var$4, var$5, var$6, var$7, var$8; nlea_EaglerAdapterImpl2_$callClinit(); $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $l = nlea_EaglerAdapterImpl2_relayQueryBlocked; if ($addr === null) { $l = $l.$elementData.data[0]; while ($l !== null && $l.$key !== null) { $l = $l.$next3; } } else { a: { if (!$addr.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $addr.$nativeString.length) break a; $addr.$hashCode1 = (31 * $addr.$hashCode1 | 0) + $addr.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $addr.$hashCode1; var$6 = $l.$elementData.data; $l = var$6[var$5 & (var$6.length - 1 | 0)]; while ($l !== null) { if ($l.$origKeyHash == var$5) { b: { var$7 = $l.$key; if ($addr !== var$7) { if ($addr === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $addr.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } $l = $l.$next3; } } $l = $l === null ? null : $l.$value1; if ($l !== null && Long_lt(Long_sub($millis, $l.$value7), Long_fromInt(60000))) { $addr = new nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy; $addr.$type5 = nlea_EaglerAdapterImpl2$RateLimit_LOCKED; return $addr; } $l = nlea_EaglerAdapterImpl2_relayQueryLimited; if ($addr === null) { $l = $l.$elementData.data[0]; while ($l !== null && $l.$key !== null) { $l = $l.$next3; } } else { c: { if (!$addr.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $addr.$nativeString.length) break c; $addr.$hashCode1 = (31 * $addr.$hashCode1 | 0) + $addr.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $addr.$hashCode1; var$6 = $l.$elementData.data; $l = var$6[var$5 & (var$6.length - 1 | 0)]; while ($l !== null) { if ($l.$origKeyHash == var$5) { d: { var$7 = $l.$key; if ($addr !== var$7) { if ($addr === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$8 = var$7; var$4 = $addr.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } $l = $l.$next3; } } $l = $l === null ? null : $l.$value1; if ($l !== null && Long_lt(Long_sub($millis, $l.$value7), Long_fromInt(10000))) { $addr = new nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy; $addr.$type5 = nlea_EaglerAdapterImpl2$RateLimit_BLOCKED; return $addr; } return nlea_EaglerAdapterImpl2$RelayQueryImpl__init_0($addr); }, nlea_EaglerAdapterImpl2_openRelayWorldsQuery = $addr => { let $millis, $l, var$4, var$5, var$6, var$7, var$8; nlea_EaglerAdapterImpl2_$callClinit(); $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $l = nlea_EaglerAdapterImpl2_relayQueryBlocked; if ($addr === null) { $l = $l.$elementData.data[0]; while ($l !== null && $l.$key !== null) { $l = $l.$next3; } } else { a: { if (!$addr.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $addr.$nativeString.length) break a; $addr.$hashCode1 = (31 * $addr.$hashCode1 | 0) + $addr.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $addr.$hashCode1; var$6 = $l.$elementData.data; $l = var$6[var$5 & (var$6.length - 1 | 0)]; while ($l !== null) { if ($l.$origKeyHash == var$5) { b: { var$7 = $l.$key; if ($addr !== var$7) { if ($addr === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $addr.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } $l = $l.$next3; } } $l = $l === null ? null : $l.$value1; if ($l !== null && Long_lt(Long_sub($millis, $l.$value7), Long_fromInt(60000))) { $addr = new nlea_EaglerAdapterImpl2$RelayWorldsQueryRatelimitDummy; $addr.$rateLimit = nlea_EaglerAdapterImpl2$RateLimit_LOCKED; return $addr; } $l = nlea_EaglerAdapterImpl2_relayQueryLimited; if ($addr === null) { $l = $l.$elementData.data[0]; while ($l !== null && $l.$key !== null) { $l = $l.$next3; } } else { c: { if (!$addr.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $addr.$nativeString.length) break c; $addr.$hashCode1 = (31 * $addr.$hashCode1 | 0) + $addr.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $addr.$hashCode1; var$6 = $l.$elementData.data; $l = var$6[var$5 & (var$6.length - 1 | 0)]; while ($l !== null) { if ($l.$origKeyHash == var$5) { d: { var$7 = $l.$key; if ($addr !== var$7) { if ($addr === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$8 = var$7; var$4 = $addr.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } $l = $l.$next3; } } $l = $l === null ? null : $l.$value1; if ($l !== null && Long_lt(Long_sub($millis, $l.$value7), Long_fromInt(10000))) { $addr = new nlea_EaglerAdapterImpl2$RelayWorldsQueryRatelimitDummy; $addr.$rateLimit = nlea_EaglerAdapterImpl2$RateLimit_BLOCKED; return $addr; } return nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl__init_($addr); }, nlea_EaglerAdapterImpl2_openRelayConnection = ($addr, $timeout) => { let $millis, $l, var$5, var$6, var$7, var$8; nlea_EaglerAdapterImpl2_$callClinit(); $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $l = nlea_EaglerAdapterImpl2_relayQueryBlocked; if ($addr === null) { $l = $l.$elementData.data[0]; while ($l !== null && $l.$key !== null) { $l = $l.$next3; } } else { a: { if (!$addr.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $addr.$nativeString.length) break a; $addr.$hashCode1 = (31 * $addr.$hashCode1 | 0) + $addr.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $addr.$hashCode1; var$7 = $l.$elementData.data; $l = var$7[var$6 & (var$7.length - 1 | 0)]; while ($l !== null) { if ($l.$origKeyHash == var$6) { b: { var$8 = $l.$key; if ($addr !== var$8) { if ($addr === var$8) var$5 = 1; else if (!(var$8 instanceof jl_String)) var$5 = 0; else { var$8 = var$8; var$5 = $addr.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break b; } } var$5 = 1; } if (var$5) break; } $l = $l.$next3; } } $l = $l === null ? null : $l.$value1; if ($l !== null && Long_lt(Long_sub($millis, $l.$value7), Long_fromInt(60000))) { $addr = new nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy; $addr.$limit2 = nlea_EaglerAdapterImpl2$RateLimit_LOCKED; return $addr; } $l = nlea_EaglerAdapterImpl2_relayQueryLimited; if ($addr === null) { $l = $l.$elementData.data[0]; while ($l !== null && $l.$key !== null) { $l = $l.$next3; } } else { c: { if (!$addr.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $addr.$nativeString.length) break c; $addr.$hashCode1 = (31 * $addr.$hashCode1 | 0) + $addr.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$6 = $addr.$hashCode1; var$7 = $l.$elementData.data; $l = var$7[var$6 & (var$7.length - 1 | 0)]; while ($l !== null) { if ($l.$origKeyHash == var$6) { d: { var$8 = $l.$key; if ($addr !== var$8) { if ($addr === var$8) var$5 = 1; else if (!(var$8 instanceof jl_String)) var$5 = 0; else { var$8 = var$8; var$5 = $addr.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break d; } } var$5 = 1; } if (var$5) break; } $l = $l.$next3; } } $l = $l === null ? null : $l.$value1; if ($l !== null && Long_lt(Long_sub($millis, $l.$value7), Long_fromInt(10000))) { $addr = new nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy; $addr.$limit2 = nlea_EaglerAdapterImpl2$RateLimit_BLOCKED; return $addr; } return nlea_EaglerAdapterImpl2$RelayServerSocketImpl__init_0($addr, $timeout); }, nlea_EaglerAdapterImpl2_clientLANSendPacket = $pkt => { let var$2, var$3; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_rtcLANClient; var$3 = $pkt.data.buffer; var$2.sendPacketToServer(var$3); }, nlea_EaglerAdapterImpl2_clientLANSetICEServersAndConnect = $servers => { let var$2, var$3, var$4, var$5, var$6; nlea_EaglerAdapterImpl2_$callClinit(); if (!nlea_EaglerAdapterImpl2_clientLANinit) { nlea_EaglerAdapterImpl2_clientLANinit = 1; var$2 = nlea_EaglerAdapterImpl2_rtcLANClient; var$3 = new nlea_EaglerAdapterImpl2$34; var$2.setDescriptionHandler(otji_JS_function(var$3, "call")); var$2 = nlea_EaglerAdapterImpl2_rtcLANClient; var$3 = new nlea_EaglerAdapterImpl2$35; var$2.setICECandidateHandler(otji_JS_function(var$3, "call")); var$2 = nlea_EaglerAdapterImpl2_rtcLANClient; var$3 = new nlea_EaglerAdapterImpl2$36; var$2.setRemoteDataChannelHandler(otji_JS_function(var$3, "call")); var$2 = nlea_EaglerAdapterImpl2_rtcLANClient; var$3 = new nlea_EaglerAdapterImpl2$37; var$2.setRemotePacketHandler(otji_JS_function(var$3, "call")); var$2 = nlea_EaglerAdapterImpl2_rtcLANClient; var$3 = new nlea_EaglerAdapterImpl2$38; var$2.setRemoteDisconnectHandler(otji_JS_function(var$3, "call")); } var$2 = nlea_EaglerAdapterImpl2_rtcLANClient; var$3 = "setICEServers"; if ($servers === null) var$4 = null; else { $servers = $servers.data; var$5 = $servers.length; var$4 = new Array(var$5); var$6 = 0; while (var$6 < var$5) { var$4[var$6] = $rt_ustr($servers[var$6]); var$6 = var$6 + 1 | 0; } } var$2[var$3](var$4); if (!(nlea_EaglerAdapterImpl2_rtcLANClient.getReadyState() != 2 && nlea_EaglerAdapterImpl2_rtcLANClient.getReadyState() != 1)) nlea_EaglerAdapterImpl2_rtcLANClient.signalRemoteDisconnect(!!1); nlea_EaglerAdapterImpl2_rtcLANClient.initializeClient(); nlea_EaglerAdapterImpl2_rtcLANClient.signalRemoteConnect(); }, nlea_EaglerAdapterImpl2_serverLANGetAllEvent = $clientId => { let $evt, $lst, var$4, var$5, var$6, var$7, var$8; nlea_EaglerAdapterImpl2_$callClinit(); $evt = nlea_EaglerAdapterImpl2_serverLANEventBuffer; if ($evt.$size2 <= 0) return null; $lst = null; var$4 = new ju_LinkedList$SequentialListIterator; var$5 = $evt.$firstEntry; var$6 = null; var$4.$this$02 = $evt; var$4.$version = $evt.$modCount; var$4.$nextEntry1 = var$5; var$4.$prevEntry = var$6; var$4.$index4 = 0; while (var$4.$nextEntry1 === null ? 0 : 1) { $evt = ju_LinkedList$SequentialListIterator_next(var$4); if (($evt.$getPeerId()).$equals($clientId)) { ju_LinkedList$SequentialListIterator_remove(var$4); if ($lst === null) { $lst = new ju_ArrayList; $lst.$array = $rt_createArray(jl_Object, 10); } ju_ArrayList_ensureCapacity($lst, $lst.$size0 + 1 | 0); var$7 = $lst.$array.data; var$8 = $lst.$size0; $lst.$size0 = var$8 + 1 | 0; var$7[var$8] = $evt; $lst.$modCount = $lst.$modCount + 1 | 0; } } return $lst; }, nlea_EaglerAdapterImpl2_serverLANWritePacket = ($peer, $data) => { let var$3, $sendData, $i, var$6, $i_0, var$8, $fragData; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = $data.data.length; if (var$3 <= 65280) { $sendData = $rt_createByteArray(var$3 + 1 | 0); $sendData.data[0] = 0; jl_System_fastArraycopy($data, 0, $sendData, 1, var$3); nlea_EaglerAdapterImpl2_rtcLANServer.sendPacketToRemoteClient($rt_ustr($peer), $sendData.data.buffer); } else { $i = 0; var$6 = var$3 % 65280 | 0; while ($i < var$3) { $i_0 = $i + 65280 | 0; var$8 = $rt_compare($i_0, var$3); $fragData = $rt_createByteArray((var$8 <= 0 ? 65280 : var$6) + 1 | 0); $sendData = $fragData.data; jl_System_fastArraycopy($data, $i, $fragData, 1, $sendData.length - 1 | 0); $sendData[0] = var$8 >= 0 ? 0 : 1; nlea_EaglerAdapterImpl2_rtcLANServer.sendPacketToRemoteClient($rt_ustr($peer), $fragData.data.buffer); $i = $i_0; } } }, nlea_EaglerAdapterImpl2_steadyTimeMillis = () => { nlea_EaglerAdapterImpl2_$callClinit(); return Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nlea_EaglerAdapterImpl2_sleep = var$1 => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); $ptr = 1; case 1: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$(var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$1, $ptr); }, nlea_EaglerAdapterImpl2_sleep0 = ($millis, $callback) => { let var$3; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = new nlea_EaglerAdapterImpl2$DumbSleepHandler; var$3.$callback = $callback; otp_Platform_schedule(var$3, $millis); }, nlea_EaglerAdapterImpl2_lambda$asyncRequestAnimationFrame$0 = ($hasTimedOut, $timeout, $cb, $d) => { let var$5, var$6, $$je; nlea_EaglerAdapterImpl2_$callClinit(); $hasTimedOut = $hasTimedOut.data; if (!$hasTimedOut[0]) { $hasTimedOut[0] = 1; var$5 = nlea_EaglerAdapterImpl2_vsyncTimeout; if (var$5 != (-1)) { if (var$5 == $timeout.data[0]) { a: { try { clearTimeout(var$5); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } nlea_EaglerAdapterImpl2_vsyncTimeout = (-1); } var$6 = null; $cb.$realAsyncCallback.$complete(var$6); } } }, nlea_EaglerAdapterImpl2__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; nlea_EaglerAdapterImpl2_doc = null; nlea_EaglerAdapterImpl2_parent = null; nlea_EaglerAdapterImpl2_canvas = null; nlea_EaglerAdapterImpl2_webgl = null; nlea_EaglerAdapterImpl2_backBuffer = null; nlea_EaglerAdapterImpl2_backBufferColor = null; nlea_EaglerAdapterImpl2_backBufferDepth = null; nlea_EaglerAdapterImpl2_win = null; nlea_EaglerAdapterImpl2_loadedPackage = null; nlea_EaglerAdapterImpl2_contextmenu = null; nlea_EaglerAdapterImpl2_mousedown = null; nlea_EaglerAdapterImpl2_mouseup = null; nlea_EaglerAdapterImpl2_mousemove = null; nlea_EaglerAdapterImpl2_keydown = null; nlea_EaglerAdapterImpl2_keyup = null; nlea_EaglerAdapterImpl2_keypress = null; nlea_EaglerAdapterImpl2_wheel = null; nlea_EaglerAdapterImpl2_identifier = $rt_createArray(jl_String, 0); nlea_EaglerAdapterImpl2_integratedServerScript = $rt_s(12); nlea_EaglerAdapterImpl2_anisotropicFilteringSupported = 0; nlea_EaglerAdapterImpl2_vsyncSupport = 0; nlea_EaglerAdapterImpl2_vsyncTimeout = (-1); nlea_EaglerAdapterImpl2_useDelayOnSwap = 0; nlea_EaglerAdapterImpl2_immediateContinueChannel = null; nlea_EaglerAdapterImpl2_currentMsgChannelContinueHack = null; nlea_EaglerAdapterImpl2_fileChooser = nlea_EaglerAdapterImpl2_initFileChooser$js_body$_23(); nlea_EaglerAdapterImpl2_mouseEvents = new ju_LinkedList; nlea_EaglerAdapterImpl2_keyEvents = new ju_LinkedList; nlea_EaglerAdapterImpl2_mouseX = 0; nlea_EaglerAdapterImpl2_mouseY = 0; nlea_EaglerAdapterImpl2_mouseDX = 0.0; nlea_EaglerAdapterImpl2_mouseDY = 0.0; nlea_EaglerAdapterImpl2_width = 0; nlea_EaglerAdapterImpl2_height = 0; nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; nlea_EaglerAdapterImpl2_isWindowFocused = 1; nlea_EaglerAdapterImpl2_progId = 0; nlea_EaglerAdapterImpl2_viewportCache = $rt_createIntArray(4); nlea_EaglerAdapterImpl2_currentProgram = (-1); nlea_EaglerAdapterImpl2_imageLoadCanvas = null; nlea_EaglerAdapterImpl2_imageLoadContext = null; nlea_EaglerAdapterImpl2_currentVideo = null; nlea_EaglerAdapterImpl2_videoTexture = null; nlea_EaglerAdapterImpl2_videoIsLoaded = 0; nlea_EaglerAdapterImpl2_videoTexIsInitialized = 0; nlea_EaglerAdapterImpl2_frameRate = 33; nlea_EaglerAdapterImpl2_frameTimer = Long_ZERO; nlea_EaglerAdapterImpl2_currentVideoAudioSource = null; nlea_EaglerAdapterImpl2_currentVideoAudioGain = null; nlea_EaglerAdapterImpl2_currentVideoAudioGainValue = 1.0; nlea_EaglerAdapterImpl2_currentVideoAudioPanner = null; nlea_EaglerAdapterImpl2_currentVideoAudioX = 0.0; nlea_EaglerAdapterImpl2_currentVideoAudioY = 0.0; nlea_EaglerAdapterImpl2_currentVideoAudioZ = 0.0; nlea_EaglerAdapterImpl2_videosBuffer = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_currentImage = null; nlea_EaglerAdapterImpl2_imageTexture = null; nlea_EaglerAdapterImpl2_imageIsLoaded = 0; nlea_EaglerAdapterImpl2_imageTexIsInitialized = 0; nlea_EaglerAdapterImpl2_imageFrameRate = 33; nlea_EaglerAdapterImpl2_imageFrameTimer = Long_ZERO; nlea_EaglerAdapterImpl2_imagesBuffer = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_currentEvent = null; nlea_EaglerAdapterImpl2_currentEventK = null; nlea_EaglerAdapterImpl2_buttonStates = $rt_createBooleanArray(8); nlea_EaglerAdapterImpl2_keyStates = $rt_createBooleanArray(256); nlea_EaglerAdapterImpl2_mouseUngrabTimer = Long_ZERO; nlea_EaglerAdapterImpl2_mouseUngrabTimeout = 0; nlea_EaglerAdapterImpl2_syncTimer = $rt_createLongArray(1); nlea_EaglerAdapterImpl2_emptyJSString = ""; nlea_EaglerAdapterImpl2_backBufferWidth = (-1); nlea_EaglerAdapterImpl2_backBufferHeight = (-1); nlea_EaglerAdapterImpl2_pointerLockFlag = 0; var$1 = new jt_SimpleDateFormat; ju_Locale_$callClinit(); var$2 = ju_Locale_defaultLocale; var$3 = new jt_DateFormatSymbols; var$3.$locale0 = var$2; var$1.$calendar = ju_GregorianCalendar__init_2(); var$3 = jt_DateFormatSymbols_clone(var$3); var$1.$dateFormatSymbols = var$3; var$4 = ju_Locale_defaultLocale; var$1.$locale = var$4; var$1.$pattern1 = $rt_s(222); var$5 = new jt_SimpleDatePatternParser; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$5.$elements = var$6; var$5.$symbols0 = var$3; var$5.$locale3 = var$4; jt_SimpleDatePatternParser_parsePattern(var$5, $rt_s(222)); var$1.$elements0 = ju_AbstractCollection_toArray(var$5.$elements, $rt_createArray(jt_DateFormatElement, 0)); var$1.$locale = var$2; nlea_EaglerAdapterImpl2_dateFormatSS = var$1; var$7 = new ju_HashSet; var$7.$backingMap = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_rateLimitedAddresses = var$7; var$7 = new ju_HashSet; var$7.$backingMap = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_blockedAddresses = var$7; nlea_EaglerAdapterImpl2_sock = null; nlea_EaglerAdapterImpl2_sockIsConnecting = 0; nlea_EaglerAdapterImpl2_sockIsConnected = 0; nlea_EaglerAdapterImpl2_sockIsAlive = 0; nlea_EaglerAdapterImpl2_readPackets = new ju_LinkedList; nlea_EaglerAdapterImpl2_rateLimitStatus = null; nlea_EaglerAdapterImpl2_currentSockURI = null; nlea_EaglerAdapterImpl2_playbackId = 0; nlea_EaglerAdapterImpl2_audioElementId = 0; nlea_EaglerAdapterImpl2_loadedSoundFiles = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_audioctx = null; nlea_EaglerAdapterImpl2_masterVolumeNode = null; nlea_EaglerAdapterImpl2_musicVolumeNode = null; nlea_EaglerAdapterImpl2_playbackOffsetDelay = 0.029999999329447746; nlea_EaglerAdapterImpl2_activeSoundEffects = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_voiceClient = null; nlea_EaglerAdapterImpl2_voiceAvailableStat = 0; nlea_EaglerAdapterImpl2_voiceSignalHandlersInitialized = 0; nlea_EaglerAdapterImpl2_returnSignalHandler = null; nlea_EaglerAdapterImpl2_voiceAnalysers = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_voiceGains = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_voicePanners = ju_HashMap__init_(); var$7 = new ju_HashSet; var$7.$backingMap = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_nearbyPlayers = var$7; var$1 = new nle_ExpiringSet; var$7 = new nlea_EaglerAdapterImpl2$31; var$1.$backingMap = ju_HashMap__init_(); var$1.$timestamps = ju_HashMap__init_(); var$1.$expiration = Long_fromInt(5000); var$1.$event = var$7; nlea_EaglerAdapterImpl2_recentlyNearbyPlayers = var$1; nlea_EaglerAdapterImpl2_talkStatus = 0; nlea_EaglerAdapterImpl2_proximity = 16; nlea_EaglerAdapterImpl2_volumeListen = 0.5; nlea_EaglerAdapterImpl2_volumeSpeak = 0.5; var$7 = new ju_HashSet; var$7.$backingMap = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_mutedSet = var$7; var$7 = new ju_HashSet; var$7.$backingMap = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_speakingSet = var$7; nlea_EaglerAdapterImpl2_LWJGLKeyNames = $rt_wrapArray(jl_String, [$rt_s(223), $rt_s(224), $rt_s(225), $rt_s(226), $rt_s(227), $rt_s(228), $rt_s(229), $rt_s(230), $rt_s(231), $rt_s(232), $rt_s(233), $rt_s(128), $rt_s(234), $rt_s(235), $rt_s(236), $rt_s(237), $rt_s(238), $rt_s(239), $rt_s(240), $rt_s(241), $rt_s(242), $rt_s(243), $rt_s(244), $rt_s(245), $rt_s(246), $rt_s(247), $rt_s(248), $rt_s(249), $rt_s(250), $rt_s(251), $rt_s(252), $rt_s(253), $rt_s(254), $rt_s(255), $rt_s(256), $rt_s(257), $rt_s(258), $rt_s(259), $rt_s(260), $rt_s(261), $rt_s(262), $rt_s(263), $rt_s(264), $rt_s(265), $rt_s(266), $rt_s(267), $rt_s(268), $rt_s(269), $rt_s(270), $rt_s(271), $rt_s(272), $rt_s(273), $rt_s(274), $rt_s(275), $rt_s(276), $rt_s(277), $rt_s(278), $rt_s(279), $rt_s(280), $rt_s(281), $rt_s(282), $rt_s(283), $rt_s(284), $rt_s(285), $rt_s(286), $rt_s(287), $rt_s(288), $rt_s(289), $rt_s(290), $rt_s(291), $rt_s(292), $rt_s(293), $rt_s(294), $rt_s(295), $rt_s(296), $rt_s(297), $rt_s(298), $rt_s(299), $rt_s(300), $rt_s(301), $rt_s(302), $rt_s(303), $rt_s(304), $rt_s(305), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(306), $rt_s(307), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(308), $rt_s(309), $rt_s(310), $rt_s(311), $rt_s(312), $rt_s(313), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(314), $rt_s(315), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(316), $rt_s(1), $rt_s(317), $rt_s(1), $rt_s(318), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(319), $rt_s(1), $rt_s(1), $rt_s(320), $rt_s(321), $rt_s(322), $rt_s(323), $rt_s(324), $rt_s(325), $rt_s(326), $rt_s(327), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(328), $rt_s(329), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(330), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(331), $rt_s(1), $rt_s(332), $rt_s(1), $rt_s(333), $rt_s(334), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(335), $rt_s(336), $rt_s(1), $rt_s(337), $rt_s(338), $rt_s(339), $rt_s(1), $rt_s(340), $rt_s(1), $rt_s(341), $rt_s(1), $rt_s(342), $rt_s(343), $rt_s(344), $rt_s(345), $rt_s(346), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(347), $rt_s(348), $rt_s(349), $rt_s(350), $rt_s(351), $rt_s(352), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1), $rt_s(1)]); nlea_EaglerAdapterImpl2_LWJGLKeyCodes = $rt_createIntArrayFromData([(-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), 14, 15, (-1), (-1), (-1), 28, (-1), (-1), 42, 29, 56, (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), 1, (-1), (-1), (-1), (-1), 57, 210, 201, 207, 199, 203, 200, 205, 208, 205, 208, (-1), (-1), 210, 211, 211, 11, 2, 3, 4, 5, 6, 7, 8, 9, 10, (-1), (-1), (-1), (-1), (-1), (-1), (-1), 30, 48, 46, 32, 18, 33, 34, 35, 23, 36, 37, 38, 50, 49, 24, 25, 16, 19, 31, 20, 22, 47, 17, 45, 21, 44, (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), 12, 52, 53, (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), 39, 13, 51, 12, 52, 53, (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), 26, 43, 27, 40]); nlea_EaglerAdapterImpl2_appendbufferindex = 0; nlea_EaglerAdapterImpl2_appendbuffer = new Int32Array(new ArrayBuffer(2100000)); nlea_EaglerAdapterImpl2_workerMessageQueue = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_server = null; nlea_EaglerAdapterImpl2_serverAlive = 0; nlea_EaglerAdapterImpl2_worldDatabaseName = $rt_s(14); nlea_EaglerAdapterImpl2_unpressCTRL = 0; nlea_EaglerAdapterImpl2_serverToJoinOnLaunch = null; nlea_EaglerAdapterImpl2_endianWasChecked = 0; nlea_EaglerAdapterImpl2_isBigEndian = 0; nlea_EaglerAdapterImpl2_isLittleEndian = 0; nlea_EaglerAdapterImpl2_relayQueryLimited = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_relayQueryBlocked = ju_HashMap__init_(); nlea_EaglerAdapterImpl2_rtcLANClient = null; nlea_EaglerAdapterImpl2_clientLANinit = 0; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); nlea_EaglerAdapterImpl2_clientLANPacketBuffer = var$7; nlea_EaglerAdapterImpl2_clientICECandidate = null; nlea_EaglerAdapterImpl2_clientDescription = null; nlea_EaglerAdapterImpl2_clientDataChannelOpen = 0; nlea_EaglerAdapterImpl2_clientDataChannelClosed = 1; nlea_EaglerAdapterImpl2_rtcLANServer = null; nlea_EaglerAdapterImpl2_serverLANinit = 0; nlea_EaglerAdapterImpl2_serverLANEventBuffer = new ju_LinkedList; nlea_EaglerAdapterImpl2_steadyTimeFunc = nlea_EaglerAdapterImpl2_getSteadyTimeFunc$js_body$_350(); }, nlea_EaglerAdapterImpl2_downloadAssetPack$_asyncCall_$ = var$1 => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nlea_EaglerAdapterImpl2_downloadAssetPack(var$1, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nlea_EaglerAdapterImpl2_downloadURL$_asyncCall_$ = var$1 => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nlea_EaglerAdapterImpl2_downloadURL(var$1, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$ = var$1 => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nlea_EaglerAdapterImpl2_loadPNG0(var$1, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nlea_EaglerAdapterImpl2_asyncRequestAnimationFrame$_asyncCall_$ = () => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nlea_EaglerAdapterImpl2_asyncRequestAnimationFrame(callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nlea_EaglerAdapterImpl2_immediateContinueTeaVM0$_asyncCall_$ = () => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nlea_EaglerAdapterImpl2_immediateContinueTeaVM0(callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nlea_EaglerAdapterImpl2_connectWebSocket$_asyncCall_$ = var$1 => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nlea_EaglerAdapterImpl2_connectWebSocket(var$1, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nlea_EaglerAdapterImpl2_decodeAudioAsync$_asyncCall_$ = var$1 => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nlea_EaglerAdapterImpl2_decodeAudioAsync(var$1, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nlea_EaglerAdapterImpl2_getClipboard$_asyncCall_$ = () => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nlea_EaglerAdapterImpl2_getClipboard0(callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nlea_EaglerAdapterImpl2_sleep$_asyncCall_$ = var$1 => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nlea_EaglerAdapterImpl2_sleep0(var$1, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nlea_EaglerAdapterImpl2_hasBeenActive$js_body$_14 = () => { if (window.navigator.userActivation) { return window.navigator.userActivation.hasBeenActive; } else { return false; } }, nlea_EaglerAdapterImpl2_getNavString$js_body$_16 = var$1 => { try { return "" + window.navigator[var$1]; } catch (e){ return ""; } }, nlea_EaglerAdapterImpl2_initFileChooser$js_body$_23 = () => { var ret = { inputElement : null, openFileChooser : function(ext, mime) { var el = ret.inputElement = document.createElement("input"); el.type = "file"; el.multiple = false; el.addEventListener("change", function(evt) { var f = ret.inputElement.files; if (f.length == 0) { ret.fileChooserResult = null; } else { ret.fileChooserResult = null; ret.fileChooserResultName = null; var phile = f[0]; (phile.arrayBuffer()).then(function(res) { ret.fileChooserResult = res; ret.fileChooserResultName = phile.name; console.log(ret); }); } }); el.accept = "." + ext; el.click(); }, fileChooserResult : null, fileChooserResultName : null }; return ret; }, nlea_EaglerAdapterImpl2_youEagler$js_body$_26 = () => { return { antialias : false, depth : true, powerPreference : "high-performance", desynchronized : true, preserveDrawingBuffer : false, premultipliedAlpha : false, alpha : false }; }, nlea_EaglerAdapterImpl2_youEagler2$js_body$_27 = () => { return { willReadFrequently : true }; }, nlea_EaglerAdapterImpl2_getDataURL$js_body$_127 = (var$1, var$2) => { return URL.createObjectURL(new Blob([var$1], { type : var$2 })); }, nlea_EaglerAdapterImpl2_getVisibilityState$js_body$_195 = var$1 => { return typeof var$1.visibilityState !== "string" || var$1.visibilityState === "visible"; }, nlea_EaglerAdapterImpl2_saveScreenshot$js_body$_219 = (var$1, var$2) => { var a = document.createElement("a"); a.href = var$2.toDataURL("image/png"); a.download = var$1; a.click(); }, nlea_EaglerAdapterImpl2_onBeforeCloseRegister$js_body$_235 = () => { window.onbeforeunload = function() { nlea_EaglerAdapterImpl2_onWindowUnload$jsocb$_0(); return false; }; }, nlea_EaglerAdapterImpl2_onWindowUnload$jsocb$_0 = () => { let $$je; nlea_EaglerAdapterImpl2_$callClinit(); a: { try { nlea_EaglerAdapterImpl2_saveLocalStorage($rt_s(353), nms_CompressedStreamTools_writeUncompressed(nle_LocalStorageManager_achievementStorage)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } b: { try { nlea_EaglerAdapterImpl2_saveLocalStorage($rt_s(185), nms_CompressedStreamTools_writeUncompressed(nle_LocalStorageManager_gameSettingsStorage)); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } c: { try { nlea_EaglerAdapterImpl2_saveLocalStorage($rt_s(354), nms_CompressedStreamTools_writeUncompressed(nle_LocalStorageManager_profileSettingsStorage)); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } }, nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249 = (var$1, var$2) => { window.dispatchEvent(new CustomEvent('eagTitleMusic', { detail : { playing : var$1, volume : var$2 } })); return; }, nlea_EaglerAdapterImpl2_registerPacketHandler$js_body$_299 = (var$1, var$2) => { var$1.onmessage = function(o) { var$2(o.data.ch, o.data.dat); }; }, nlea_EaglerAdapterImpl2_sendWorkerPacket$js_body$_300 = (var$1, var$2, var$3) => { var$1.postMessage({ ch : var$2, dat : var$3 }); }, nlea_EaglerAdapterImpl2_sendWorkerStartPacket$js_body$_301 = (var$1, var$2) => { var$1.postMessage({ worldDatabaseName : var$2 }); }, nlea_EaglerAdapterImpl2_downloadBytesImpl$js_body$_310 = (var$1, var$2) => { var hr = window.URL.createObjectURL(new Blob([var$2], { type : "octet/stream" })); var a = document.createElement("a"); a.href = hr; a.download = var$1; a.click(); window.URL.revokeObjectURL(hr); }, nlea_EaglerAdapterImpl2_getClipboard0$js_body$_314 = var$1 => { if (!window.navigator.clipboard) var$1(null); else (window.navigator.clipboard.readText()).then(function(s) { var$1(s); }, function(s) { var$1(null); }); }, nlea_EaglerAdapterImpl2_setClipboard$js_body$_315 = var$1 => { if (window.navigator.clipboard) window.navigator.clipboard.writeText(var$1); }, nlea_EaglerAdapterImpl2_getSteadyTimeFunc$js_body$_350 = () => { return typeof performance !== "undefined" && typeof performance.now === "function" ? performance.now.bind(performance) : function(epochStart) { return function() { return Date.now() - epochStart; }; }(Date.now()); }, nle_LocalStorageManager = $rt_classWithoutFields(); let nle_LocalStorageManager_achievementStorage = null, nle_LocalStorageManager_gameSettingsStorage = null, nle_LocalStorageManager_profileSettingsStorage = null, nle_LocalStorageManager__init_ = $this => { return; }, nle_LocalStorageManager__init_0 = () => { let var_0 = new nle_LocalStorageManager(); nle_LocalStorageManager__init_(var_0); return var_0; }, nle_LocalStorageManager_loadStorage = () => { let $a, $g, $p, var$4, $$je; a: { $a = nlea_EaglerAdapterImpl2_loadLocalStorage($rt_s(353)); $g = nlea_EaglerAdapterImpl2_loadLocalStorage($rt_s(185)); $p = nlea_EaglerAdapterImpl2_loadLocalStorage($rt_s(354)); if ($a !== null) try { nle_LocalStorageManager_achievementStorage = nms_CompressedStreamTools_readUncompressed($a); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } b: { if ($g !== null) try { nle_LocalStorageManager_gameSettingsStorage = nms_CompressedStreamTools_readUncompressed($g); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } c: { if ($p !== null) try { nle_LocalStorageManager_profileSettingsStorage = nms_CompressedStreamTools_readUncompressed($p); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } if (nle_LocalStorageManager_achievementStorage === null) { var$4 = new nms_NBTTagCompound; var$4.$name = $rt_s(18); var$4.$tagMap = ju_HashMap__init_(); nle_LocalStorageManager_achievementStorage = var$4; } if (nle_LocalStorageManager_gameSettingsStorage === null) { var$4 = new nms_NBTTagCompound; var$4.$name = $rt_s(18); var$4.$tagMap = ju_HashMap__init_(); nle_LocalStorageManager_gameSettingsStorage = var$4; } if (nle_LocalStorageManager_profileSettingsStorage === null) { var$4 = new nms_NBTTagCompound; var$4.$name = $rt_s(18); var$4.$tagMap = ju_HashMap__init_(); nle_LocalStorageManager_profileSettingsStorage = var$4; } }, nle_LocalStorageManager_hasMadeAchievement = $stat => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $$je; var$2 = $stat.$parentAchievement; if (var$2 !== null) { var$3 = nle_LocalStorageManager_achievementStorage; var$2 = var$2.$statGuid; var$4 = var$3.$tagMap; if (var$2 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { if (!var$2.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$2.$nativeString.length) break a; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$2.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { b: { var$8 = var$4.$key; if (var$2 !== var$8) { if (var$2 === var$8) var$5 = 1; else if (!(var$8 instanceof jl_String)) var$5 = 0; else { var$8 = var$8; var$5 = var$2.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break b; } } var$5 = 1; } if (var$5) break; } var$4 = var$4.$next3; } } if (!(var$4 === null ? 0 : 1)) var$6 = 0; else { var$3 = var$3.$tagMap; if (var$2 === null) { var$8 = var$3.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { c: { if (!var$2.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$2.$nativeString.length) break c; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$7 = var$3.$elementData.data; var$8 = var$7[var$5 & (var$7.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$5) { d: { var$3 = var$8.$key; if (var$2 !== var$3) { if (var$2 === var$3) var$6 = 1; else if (!(var$3 instanceof jl_String)) var$6 = 0; else { var$3 = var$3; var$6 = var$2.$nativeString !== var$3.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break d; } } var$6 = 1; } if (var$6) break; } var$8 = var$8.$next3; } } var$6 = (var$8 === null ? null : var$8.$value1).$data; } if (!(!var$6 ? 0 : 1)) return 0; } var$2 = nle_LocalStorageManager_achievementStorage; var$3 = $stat.$statGuid; var$4 = var$2.$tagMap; if (var$3 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { e: { if (!var$3.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$3.$nativeString.length) break e; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$6 = var$3.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { f: { var$8 = var$4.$key; if (var$3 !== var$8) { if (var$3 === var$8) var$5 = 1; else if (!(var$8 instanceof jl_String)) var$5 = 0; else { var$8 = var$8; var$5 = var$3.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break f; } } var$5 = 1; } if (var$5) break; } var$4 = var$4.$next3; } } if (!(var$4 === null ? 0 : 1)) var$6 = 0; else { var$2 = var$2.$tagMap; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { g: { if (!var$3.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$3.$nativeString.length) break g; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$6 = var$3.$hashCode1; var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { h: { var$4 = var$2.$key; if (var$3 !== var$4) { if (var$3 === var$4) var$5 = 1; else if (!(var$4 instanceof jl_String)) var$5 = 0; else { var$4 = var$4; var$5 = var$3.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break h; } } var$5 = 1; } if (var$5) break; } var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data; } if (!var$6 ? 0 : 1) return 0; var$2 = nle_LocalStorageManager_achievementStorage; $stat = $stat.$statGuid; var$3 = var$2.$tagMap; var$2 = new nms_NBTTagByte; if ($stat !== null) var$2.$name = $stat; else var$2.$name = $rt_s(18); var$2.$data = 1; ju_HashMap_putImpl(var$3, $stat, var$2); i: { try { nlea_EaglerAdapterImpl2_saveLocalStorage($rt_s(353), nms_CompressedStreamTools_writeUncompressed(nle_LocalStorageManager_achievementStorage)); break i; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } return 1; }, nle_LocalStorageManager__clinit_ = () => { nle_LocalStorageManager_achievementStorage = null; nle_LocalStorageManager_gameSettingsStorage = null; nle_LocalStorageManager_profileSettingsStorage = null; }; function oj_JSONTokener() { let a = this; jl_Object.call(a); a.$character = Long_ZERO; a.$eof = 0; a.$index5 = Long_ZERO; a.$line = Long_ZERO; a.$previous0 = 0; a.$reader = null; a.$usePrevious = 0; a.$characterPreviousLine = Long_ZERO; } let oj_JSONTokener__init_ = ($this, $reader) => { $this.$reader = $reader; $this.$eof = 0; $this.$usePrevious = 0; $this.$previous0 = 0; $this.$index5 = Long_ZERO; $this.$character = Long_fromInt(1); $this.$characterPreviousLine = Long_ZERO; $this.$line = Long_fromInt(1); }, oj_JSONTokener__init_0 = var_0 => { let var_1 = new oj_JSONTokener(); oj_JSONTokener__init_(var_1, var_0); return var_1; }, oj_JSONTokener_decrementIndexes = $this => { let var$1, var$2; $this.$index5 = Long_sub($this.$index5, Long_fromInt(1)); var$1 = $this.$previous0; if (var$1 != 13 && var$1 != 10) { var$2 = $this.$character; if (Long_gt(var$2, Long_ZERO)) $this.$character = Long_sub(var$2, Long_fromInt(1)); } else { $this.$line = Long_sub($this.$line, Long_fromInt(1)); $this.$character = $this.$characterPreviousLine; } }, oj_JSONTokener_incrementIndexes = ($this, $c) => { if ($c > 0) { $this.$index5 = Long_add($this.$index5, Long_fromInt(1)); if ($c == 13) { $this.$line = Long_add($this.$line, Long_fromInt(1)); $this.$characterPreviousLine = $this.$character; $this.$character = Long_ZERO; } else if ($c != 10) $this.$character = Long_add($this.$character, Long_fromInt(1)); else { if ($this.$previous0 != 13) { $this.$line = Long_add($this.$line, Long_fromInt(1)); $this.$characterPreviousLine = $this.$character; } $this.$character = Long_ZERO; } } }, oj_JSONTokener_next = ($this, $n) => { let $chars, var$3, $pos, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $$je; if (!$n) return $rt_s(18); $chars = $rt_createCharArray($n); var$3 = $chars.data; $pos = 0; while ($pos < $n) { if ($this.$usePrevious) { $this.$usePrevious = 0; var$5 = $this.$previous0; } else try { var$5 = $this.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { var$8 = $$je; var$6 = new oj_JSONException; var$7 = var$8.$getMessage(); var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; var$6.$message = var$7; var$6.$cause = var$8; $rt_throw(var$6); } else { throw $$e; } } if (var$5 > 0) { oj_JSONTokener_incrementIndexes($this, var$5); var$5 = var$5 & 65535; $this.$previous0 = var$5; } else { $this.$eof = 1; var$5 = 0; } var$3[$pos] = var$5; if ($this.$eof && !$this.$usePrevious ? 1 : 0) { var$6 = new oj_JSONException; var$9 = $this.$index5; var$10 = $this.$character; var$11 = $this.$line; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2(var$7, var$7.$length0, var$9, 10); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2(var$7, var$7.$length0, var$10, 10); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2(var$7, var$7.$length0, var$11, 10); $pos = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, $pos, $pos + 1 | 0); $chars = var$7.$buffer; var$3 = $chars.data; var$3[$pos] = 93; var$12 = new jl_String; $pos = var$7.$length0; var$5 = var$3.length; if ($pos >= 0 && $pos <= (var$5 - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString($chars.data, 0, $pos); var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(355)); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, var$12); var$8 = new jl_String; $chars = var$7.$buffer; var$3 = $chars.data; $pos = var$7.$length0; var$5 = var$3.length; if ($pos >= 0 && $pos <= (var$5 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString($chars.data, 0, $pos); var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; var$6.$message = var$8; $rt_throw(var$6); } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); } $pos = $pos + 1 | 0; } var$8 = new jl_String; var$8.$nativeString = $rt_charArrayToString($chars.data, 0, var$3.length); return var$8; }, oj_JSONTokener_nextString = ($this, $quote) => { let $sb, $c, $e, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $$je; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); a: while (true) { if ($this.$usePrevious) { $this.$usePrevious = 0; $c = $this.$previous0; } else try { $c = $this.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $sb = $$je; $e = new oj_JSONException; var$5 = $sb.$getMessage(); $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $e.$message = var$5; $e.$cause = $sb; $rt_throw($e); } else { throw $$e; } } if ($c > 0) { oj_JSONTokener_incrementIndexes($this, $c); $c = $c & 65535; $this.$previous0 = $c; } else { $this.$eof = 1; $c = 0; } b: { switch ($c) { case 0: case 10: case 13: $e = new oj_JSONException; var$6 = $this.$index5; var$7 = $this.$character; var$8 = $this.$line; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2(var$5, var$5.$length0, var$6, 10); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2(var$5, var$5.$length0, var$7, 10); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2(var$5, var$5.$length0, var$8, 10); $c = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, $c, $c + 1 | 0); var$9 = var$5.$buffer; var$10 = var$9.data; var$10[$c] = 93; var$11 = new jl_String; $c = var$5.$length0; var$12 = var$10.length; if ($c >= 0 && $c <= (var$12 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(356)); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$11); $sb = new jl_String; var$9 = var$5.$buffer; var$10 = var$9.data; $c = var$5.$length0; var$12 = var$10.length; if ($c >= 0 && $c <= (var$12 - 0 | 0)) { $sb.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $e.$message = $sb; $rt_throw($e); } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); case 92: break b; default: } if ($c == $quote) { $e = new jl_String; var$9 = $sb.$buffer; var$10 = var$9.data; $c = $sb.$length0; var$12 = var$10.length; if ($c >= 0 && $c <= (var$12 - 0 | 0)) { $e.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); return $e; } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } var$12 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$12, var$12 + 1 | 0); $sb.$buffer.data[var$12] = $c; continue a; } if ($this.$usePrevious) { $this.$usePrevious = 0; $c = $this.$previous0; } else try { $c = $this.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $sb = $$je; break; } else { throw $$e; } } if ($c > 0) { oj_JSONTokener_incrementIndexes($this, $c); $c = $c & 65535; $this.$previous0 = $c; } else { $this.$eof = 1; $c = 0; } switch ($c) { case 34: case 39: case 47: case 92: break; case 98: var$12 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$12, var$12 + 1 | 0); $sb.$buffer.data[var$12] = 8; continue a; case 102: var$12 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$12, var$12 + 1 | 0); $sb.$buffer.data[var$12] = 12; continue a; case 110: var$12 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$12, var$12 + 1 | 0); $sb.$buffer.data[var$12] = 10; continue a; case 114: var$12 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$12, var$12 + 1 | 0); $sb.$buffer.data[var$12] = 13; continue a; case 116: var$12 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$12, var$12 + 1 | 0); $sb.$buffer.data[var$12] = 9; continue a; case 117: try { jl_StringBuilder_append1($sb, jl_Integer_parseInt0(oj_JSONTokener_next($this, 4), 16) & 65535); continue a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { $e = $$je; var$5 = new oj_JSONException; var$6 = $this.$index5; var$7 = $this.$character; var$8 = $this.$line; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2(var$11, var$11.$length0, var$6, 10); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2(var$11, var$11.$length0, var$7, 10); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2(var$11, var$11.$length0, var$8, 10); $c = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, $c, $c + 1 | 0); var$9 = var$11.$buffer; var$10 = var$9.data; var$10[$c] = 93; var$13 = new jl_String; $c = var$11.$length0; var$12 = var$10.length; if ($c >= 0 && $c <= (var$12 - 0 | 0)) { var$13.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(357)); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, var$13); $sb = new jl_String; var$9 = var$11.$buffer; var$10 = var$9.data; $c = var$11.$length0; var$12 = var$10.length; if ($c >= 0 && $c <= (var$12 - 0 | 0)) { $sb.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $sb; var$5.$cause = $e; $rt_throw(var$5); } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } else { throw $$e; } } default: $e = new oj_JSONException; var$6 = $this.$index5; var$7 = $this.$character; var$8 = $this.$line; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2(var$5, var$5.$length0, var$6, 10); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2(var$5, var$5.$length0, var$7, 10); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2(var$5, var$5.$length0, var$8, 10); $c = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, $c, $c + 1 | 0); var$9 = var$5.$buffer; var$10 = var$9.data; var$10[$c] = 93; var$11 = new jl_String; $c = var$5.$length0; var$12 = var$10.length; if ($c >= 0 && $c <= (var$12 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(357)); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$11); $sb = new jl_String; var$9 = var$5.$buffer; var$10 = var$9.data; $c = var$5.$length0; var$12 = var$10.length; if ($c >= 0 && $c <= (var$12 - 0 | 0)) { $sb.$nativeString = $rt_charArrayToString(var$9.data, 0, $c); $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $e.$message = $sb; $rt_throw($e); } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } var$12 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$12, var$12 + 1 | 0); $sb.$buffer.data[var$12] = $c; } $e = new oj_JSONException; var$5 = $sb.$getMessage(); $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $e.$message = var$5; $e.$cause = $sb; $rt_throw($e); }, oj_JSONTokener_nextValue = $this => { let $c, $sb, $string, $e, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $$je; a: { while (true) { if ($this.$usePrevious) { $this.$usePrevious = 0; $c = $this.$previous0; } else try { $c = $this.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $sb = $$je; break; } else { throw $$e; } } if ($c > 0) { oj_JSONTokener_incrementIndexes($this, $c); $c = $c & 65535; $this.$previous0 = $c; } else { $this.$eof = 1; $c = 0; } if (!$c) break a; if ($c > 32) break a; } $string = new oj_JSONException; $e = $sb.$getMessage(); $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $string.$message = $e; $string.$cause = $sb; $rt_throw($string); } switch ($c) { case 34: case 39: break; case 91: if (!$this.$usePrevious && Long_gt($this.$index5, Long_ZERO)) { oj_JSONTokener_decrementIndexes($this); $this.$usePrevious = 1; $this.$eof = 0; b: { try { $sb = oj_JSONArray__init_5($this); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_StackOverflowError) { $e = $$je; break b; } else { throw $$e; } } return $sb; } $sb = new oj_JSONException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $sb.$message = $rt_s(358); $sb.$cause = $e; $rt_throw($sb); } $string = new oj_JSONException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $string.$message = $rt_s(125); $rt_throw($string); case 123: if (!$this.$usePrevious && Long_gt($this.$index5, Long_ZERO)) { oj_JSONTokener_decrementIndexes($this); $this.$usePrevious = 1; $this.$eof = 0; c: { try { $sb = oj_JSONObject__init_6($this); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_StackOverflowError) { $e = $$je; break c; } else { throw $$e; } } return $sb; } $sb = new oj_JSONException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $sb.$message = $rt_s(358); $sb.$cause = $e; $rt_throw($sb); } $string = new oj_JSONException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $string.$message = $rt_s(125); $rt_throw($string); default: $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); d: { while (true) { if ($c < 32) break d; if (jl_String_indexOf($rt_s(359), $c, 0) >= 0) break d; var$5 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$5, var$5 + 1 | 0); $sb.$buffer.data[var$5] = $c; if ($this.$usePrevious) { $this.$usePrevious = 0; $c = $this.$previous0; } else try { $c = $this.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $sb = $$je; break; } else { throw $$e; } } if ($c > 0) { oj_JSONTokener_incrementIndexes($this, $c); $c = $c & 65535; $this.$previous0 = $c; } else { $this.$eof = 1; $c = 0; } } $string = new oj_JSONException; $e = $sb.$getMessage(); $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $string.$message = $e; $string.$cause = $sb; $rt_throw($string); } if (!$this.$eof) { if (!$this.$usePrevious && Long_gt($this.$index5, Long_ZERO)) { oj_JSONTokener_decrementIndexes($this); $this.$usePrevious = 1; $this.$eof = 0; } else { $string = new oj_JSONException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $string.$message = $rt_s(125); $rt_throw($string); } } $string = new jl_String; var$6 = $sb.$buffer; var$7 = var$6.data; var$5 = $sb.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { $string.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $string = jl_String_trim($string); if ($rt_s(18) === $string) $c = 1; else if (!($string instanceof jl_String)) $c = 0; else { $e = $string; $c = $rt_s(18).$nativeString !== $e.$nativeString ? 0 : 1; } if (!$c) return oj_JSONObject_stringToValue($string); $string = new oj_JSONException; var$9 = $this.$index5; var$10 = $this.$character; var$11 = $this.$line; $e = new jl_StringBuilder; $e.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($e, $e.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2($e, $e.$length0, var$9, 10); jl_AbstractStringBuilder_insert($e, $e.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2($e, $e.$length0, var$10, 10); jl_AbstractStringBuilder_insert($e, $e.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2($e, $e.$length0, var$11, 10); var$5 = $e.$length0; jl_AbstractStringBuilder_insertSpace($e, var$5, var$5 + 1 | 0); var$6 = $e.$buffer; var$7 = var$6.data; var$7[var$5] = 93; var$12 = new jl_String; var$5 = $e.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $e = new jl_StringBuilder; $e.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($e, $e.$length0, $rt_s(360)); jl_AbstractStringBuilder_insert($e, $e.$length0, var$12); $sb = new jl_String; var$6 = $e.$buffer; var$7 = var$6.data; var$5 = $e.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { $sb.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $string.$message = $sb; $rt_throw($string); } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } return oj_JSONTokener_nextString($this, $c); }, nle_AssetRepository = $rt_classWithoutFields(), nle_AssetRepository_filePool = null, nle_AssetRepository_fileNameOverrides = null, nle_AssetRepository__init_ = $this => { return; }, nle_AssetRepository__init_0 = () => { let var_0 = new nle_AssetRepository(); nle_AssetRepository__init_(var_0); return var_0; }, nle_AssetRepository_loadOverrides = $json => { let $overrides, var$3, var$4, var$5, $val, $fileName, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$fileName = $thread.pop();$val = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$overrides = $thread.pop();$json = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $overrides = null; $json = $json.$map; if (!$rt_s(361).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(361).$nativeString.length) break a; $rt_s(361).$hashCode1 = (31 * $rt_s(361).$hashCode1 | 0) + $rt_s(361).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(361).$hashCode1; var$5 = $json.$elementData.data; $json = var$5[var$4 & (var$5.length - 1 | 0)]; while ($json !== null) { if ($json.$origKeyHash == var$4) { b: { $val = $json.$key; if ($rt_s(361) !== $val) { if ($rt_s(361) === $val) var$3 = 1; else if (!($val instanceof jl_String)) var$3 = 0; else { $val = $val; var$3 = $rt_s(361).$nativeString !== $val.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } $json = $json.$next3; } $json = $json === null ? null : $json.$value1; if ($json instanceof oj_JSONObject) $overrides = $json; c: { if ($overrides !== null) { $json = $overrides.$map; if ($json.$cachedKeySet === null) { $fileName = new ju_HashMap$1; $fileName.$this$0 = $json; $json.$cachedKeySet = $fileName; } $json = $json.$cachedKeySet.$iterator(); while (true) { if (!$json.$hasNext()) break c; $fileName = $json.$next(); if ($fileName === $rt_s(192) ? 1 : jl_String_startsWith($fileName, $rt_s(192), 0)) $fileName = jl_String_substring($fileName, 1, $fileName.$nativeString.length); $val = null; if ($fileName === null) var$8 = null; else { d: { var$9 = $overrides.$map; if (!$fileName.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $fileName.$nativeString.length) break d; $fileName.$hashCode1 = (31 * $fileName.$hashCode1 | 0) + $fileName.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $fileName.$hashCode1; var$5 = var$9.$elementData.data; var$9 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$3) { e: { var$8 = var$9.$key; if ($fileName !== var$8) { if ($fileName === var$8) var$10 = 1; else if (!(var$8 instanceof jl_String)) var$10 = 0; else { var$8 = var$8; var$10 = $fileName.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break e; } } var$10 = 1; } if (var$10) break; } var$9 = var$9.$next3; } var$8 = var$9 === null ? null : var$9.$value1; } oj_JSONObject_$callClinit(); var$9 = oj_JSONObject_NULL; if (!(var$8 !== null && var$8 !== var$9 ? 0 : 1)) $val = var$8.$toString(); if ($val !== null) { ju_HashMap_putImpl(nle_AssetRepository_fileNameOverrides, $fileName, $val); var$9 = $fileName.$nativeString.toLowerCase(); if (!jl_String_endsWith(var$9 === $fileName.$nativeString ? $fileName : jl_String__init_(var$9), $rt_s(362))) { var$9 = nle_AssetRepository_filePool; nlea_EaglerAdapterImpl2_$callClinit(); $ptr = 1; continue main; } } } } } return; case 1: $tmp = nlea_EaglerAdapterImpl2_downloadURL$_asyncCall_$($val); if ($rt_suspending()) { break main; } $val = $tmp; ju_HashMap_putImpl(var$9, $fileName, $val); while ($json.$hasNext()) { $fileName = $json.$next(); if ($fileName === $rt_s(192) ? 1 : jl_String_startsWith($fileName, $rt_s(192), 0)) $fileName = jl_String_substring($fileName, 1, $fileName.$nativeString.length); $val = null; if ($fileName === null) var$8 = null; else { f: { var$9 = $overrides.$map; if (!$fileName.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $fileName.$nativeString.length) break f; $fileName.$hashCode1 = (31 * $fileName.$hashCode1 | 0) + $fileName.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $fileName.$hashCode1; var$5 = var$9.$elementData.data; var$9 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$3) { g: { var$8 = var$9.$key; if ($fileName !== var$8) { if ($fileName === var$8) var$10 = 1; else if (!(var$8 instanceof jl_String)) var$10 = 0; else { var$8 = var$8; var$10 = $fileName.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break g; } } var$10 = 1; } if (var$10) break; } var$9 = var$9.$next3; } var$8 = var$9 === null ? null : var$9.$value1; } oj_JSONObject_$callClinit(); var$9 = oj_JSONObject_NULL; if (!(var$8 !== null && var$8 !== var$9 ? 0 : 1)) $val = var$8.$toString(); if ($val === null) continue; ju_HashMap_putImpl(nle_AssetRepository_fileNameOverrides, $fileName, $val); var$9 = $fileName.$nativeString.toLowerCase(); if (jl_String_endsWith(var$9 === $fileName.$nativeString ? $fileName : jl_String__init_(var$9), $rt_s(362))) continue; else { var$9 = nle_AssetRepository_filePool; nlea_EaglerAdapterImpl2_$callClinit(); continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($json, $overrides, var$3, var$4, var$5, $val, $fileName, var$8, var$9, var$10, $ptr); }, nle_AssetRepository_install = $pkg => { let var$2, $in, var$4, $header, $endCode, var$7, var$8, $i, $type, var$11, $l, var$13, var$14; var$2 = $pkg.data; $in = new nle_EaglerInputStream; $in.$mark0 = 0; $in.$buf1 = $pkg; $in.$pos = 0; var$4 = var$2.length; $in.$count = var$4; $header = $rt_createByteArray(8); $endCode = $header.data; var$7 = $endCode.length; nle_EaglerInputStream_read0($in, $header, 0, var$7); $header = $rt_createCharArray(var$7); var$8 = $header.data; $i = 0; while ($i < var$7) { var$8[$i] = $endCode[$i] & 255 & 65535; $i = $i + 1 | 0; } $type = new jl_String; $type.$nativeString = $rt_charArrayToString($header.data, 0, var$8.length); if ($rt_s(363) === $type) $i = 1; else if (!($type instanceof jl_String)) $i = 0; else { var$11 = $type; $i = $rt_s(363).$nativeString !== var$11.$nativeString ? 0 : 1; } a: { if ($i) { $l = var$4 - 16 | 0; if ($l < 1) { $in = new ji_IOException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $in.$message = $rt_s(364); $rt_throw($in); } $header = $rt_createByteArray(8).data; $header[0] = 58; $header[1] = 58; $header[2] = 58; $header[3] = 89; $header[4] = 69; $header[5] = 69; $header[6] = 58; $header[7] = 62; $i = 0; var$7 = var$4 - 8 | 0; while (true) { if ($i >= 8) { $in = new nle_EaglerInputStream; $in.$mark0 = 0; $in.$buf1 = $pkg; $in.$pos = 8; $l = 8 + $l | 0; if ($l < var$4) var$4 = $l; $in.$count = var$4; $in.$mark0 = 8; nle_AssetRepository_loadNew($in); break a; } if (var$2[var$7 + $i | 0] != $header[$i]) break; $i = $i + 1 | 0; } $in = new ji_IOException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $in.$message = $rt_s(365); $rt_throw($in); } if ($rt_s(366) === $type) $i = 1; else if (!($type instanceof jl_String)) $i = 0; else { var$11 = $type; $i = $rt_s(366).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!$i) { $in = new ji_IOException; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, $rt_s(367)); $i = var$13.$length0; if ($type === null) $type = $rt_s(1); jl_AbstractStringBuilder_insert(var$13, $i, $type); $l = var$13.$length0; jl_AbstractStringBuilder_insertSpace(var$13, $l, $l + 1 | 0); $pkg = var$13.$buffer; $header = $pkg.data; $header[$l] = 39; $type = new jl_String; $l = var$13.$length0; var$14 = $header.length; if ($l >= 0 && $l <= (var$14 - 0 | 0)) { $type.$nativeString = $rt_charArrayToString($pkg.data, 0, $l); $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $in.$message = $type; $rt_throw($in); } $in = new jl_IndexOutOfBoundsException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); } nle_AssetRepository_loadOld($in); } }, nle_AssetRepository_loadNew = $zis => { let $blockFile, $blockHead, $i, $load, $readType, $blockEnd, var$8, $vers, $zis_0, $compressionType, $crc32, var$13, var$14, $numFiles, $name, $blockType, $len2, $expectedCRC, $len, $$je; $blockFile = $zis.$pos; $blockHead = $zis.$count; if ($blockFile >= $blockHead) $i = (-1); else { $load = $zis.$buf1.data; $zis.$pos = $blockFile + 1 | 0; $i = $load[$blockFile] & 255; } $load = $rt_createCharArray($i); $readType = $load.data; $blockFile = 0; while ($blockFile < $i) { $blockEnd = $zis.$pos; if ($blockEnd >= $blockHead) $blockEnd = (-1); else { var$8 = $zis.$buf1.data; $zis.$pos = $blockEnd + 1 | 0; $blockEnd = var$8[$blockEnd] & 255; } $readType[$blockFile] = $blockEnd & 255 & 65535; $blockFile = $blockFile + 1 | 0; } $vers = new jl_String; $vers.$nativeString = $rt_charArrayToString($load.data, 0, $readType.length); if (!($vers === $rt_s(368) ? 1 : jl_String_startsWith($vers, $rt_s(368), 0))) { $zis = new ji_IOException; $zis_0 = new jl_StringBuilder; $zis_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(369)); $compressionType = $zis_0.$length0; if ($vers === null) $vers = $rt_s(1); jl_AbstractStringBuilder_insert($zis_0, $compressionType, $vers); $crc32 = new jl_String; $load = $zis_0.$buffer; $readType = $load.data; $blockFile = $zis_0.$length0; $blockEnd = $readType.length; if ($blockFile >= 0 && $blockFile <= ($blockEnd - 0 | 0)) { $crc32.$nativeString = $rt_charArrayToString($load.data, 0, $blockFile); $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $zis.$message = $crc32; $rt_throw($zis); } $zis = new jl_IndexOutOfBoundsException; $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $rt_throw($zis); } $blockEnd = $zis.$pos; $compressionType = $zis.$count; if ($blockEnd >= $compressionType) $blockFile = (-1); else { $load = $zis.$buf1.data; $zis.$pos = $blockEnd + 1 | 0; $blockFile = $load[$blockEnd] & 255; } var$13 = Long_fromInt($blockFile); $blockFile = $zis.$pos; var$14 = Long_fromInt($compressionType - $blockFile | 0); if (Long_ge(var$13, var$14)) var$13 = var$14; else if (Long_lt(var$13, Long_ZERO)) var$13 = Long_ZERO; $blockEnd = Long_lo(Long_add(Long_fromInt($blockFile), var$13)); $zis.$pos = $blockEnd; if ($blockEnd >= $compressionType) $blockEnd = (-1); else { $load = $zis.$buf1.data; $zis.$pos = $blockEnd + 1 | 0; $blockEnd = $load[$blockEnd] & 255; } $blockFile = $blockEnd << 8; $blockHead = $zis.$pos; if ($blockHead >= $compressionType) $blockEnd = (-1); else { $load = $zis.$buf1.data; $zis.$pos = $blockHead + 1 | 0; $blockEnd = $load[$blockHead] & 255; } var$13 = Long_fromInt($blockFile | $blockEnd); $blockFile = $zis.$pos; var$14 = Long_fromInt($compressionType - $blockFile | 0); if (Long_ge(var$13, var$14)) var$13 = var$14; else if (Long_lt(var$13, Long_ZERO)) var$13 = Long_ZERO; $blockEnd = Long_lo(Long_add(Long_fromInt($blockFile), var$13)); $zis.$pos = $blockEnd; var$13 = Long_fromInt(8); var$14 = Long_fromInt($compressionType - $blockEnd | 0); if (Long_ge(var$13, var$14)) var$13 = var$14; $blockFile = Long_lo(Long_add(Long_fromInt($blockEnd), var$13)); $zis.$pos = $blockFile; if ($blockFile >= $compressionType) $blockEnd = (-1); else { $load = $zis.$buf1.data; $zis.$pos = $blockFile + 1 | 0; $blockEnd = $load[$blockFile] & 255; } $blockEnd = $blockEnd << 24; $blockHead = $zis.$pos; if ($blockHead >= $compressionType) $blockHead = (-1); else { $load = $zis.$buf1.data; $zis.$pos = $blockHead + 1 | 0; $blockHead = $load[$blockHead] & 255; } $blockFile = $blockEnd | $blockHead << 16; $blockHead = $zis.$pos; if ($blockHead >= $compressionType) $blockHead = (-1); else { $load = $zis.$buf1.data; $zis.$pos = $blockHead + 1 | 0; $blockHead = $load[$blockHead] & 255; } $blockFile = $blockFile | $blockHead << 8; $blockHead = $zis.$pos; if ($blockHead >= $compressionType) $blockEnd = (-1); else { $load = $zis.$buf1.data; $zis.$pos = $blockHead + 1 | 0; $blockEnd = $load[$blockHead] & 255; } $numFiles = $blockFile | $blockEnd; $blockFile = $zis.$pos; if ($blockFile >= $compressionType) $compressionType = (-1); else { $load = $zis.$buf1.data; $zis.$pos = $blockFile + 1 | 0; $compressionType = $load[$blockFile] & 255; } a: { $compressionType = $compressionType & 65535; switch ($compressionType) { case 48: break a; case 71: $zis_0 = new cjj_GZIPInputStream; $crc32 = new cjj_Inflater; $name = new cjj_Adler32; $name.$s1 = Long_fromInt(1); $name.$s2 = Long_ZERO; $crc32.$adler = $name; $crc32.$finished = 0; $crc32.$finished = 0; $name = new cjj_Inflate; $name.$was = Long_fromInt(-1); $name.$need_bytes = (-1); $name.$crcbuf = $rt_createByteArray(4); $name.$gheader = null; $name.$tmp_string = null; $name.$z1 = $crc32; $crc32.$istate = $name; $blockEnd = cjj_Inflate_inflateInit($name, 31); if ($blockEnd) { $zis = new cjj_GZIPException; $zis_0 = new jl_StringBuilder; $zis_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($zis_0, $zis_0.$length0, $blockEnd, 10); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(107)); $crc32 = $crc32.$msg; jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $crc32); $crc32 = new jl_String; $load = $zis_0.$buffer; $readType = $load.data; $blockFile = $zis_0.$length0; $blockEnd = $readType.length; if ($blockFile >= 0 && $blockFile <= ($blockEnd - 0 | 0)) { $crc32.$nativeString = $rt_charArrayToString($load.data, 0, $blockFile); $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($zis); $zis.$message = $crc32; $rt_throw($zis); } $zis = new jl_IndexOutOfBoundsException; $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $rt_throw($zis); } cjj_InflaterInputStream__init_($zis_0, $zis, $crc32, 512, 1); $zis_0.$myinflater = 1; $zis = $zis_0; break a; case 90: $zis_0 = new cjj_InflaterInputStream; $crc32 = new cjj_Inflater; $name = new cjj_Adler32; $name.$s1 = Long_fromInt(1); $name.$s2 = Long_ZERO; $crc32.$adler = $name; $crc32.$finished = 0; $crc32.$finished = 0; $name = new cjj_Inflate; $name.$was = Long_fromInt(-1); $name.$need_bytes = (-1); $name.$crcbuf = $rt_createByteArray(4); $name.$gheader = null; $name.$tmp_string = null; $name.$z1 = $crc32; $crc32.$istate = $name; $compressionType = cjj_Inflate_inflateInit($name, 15); if ($compressionType) { $zis = new cjj_GZIPException; $zis_0 = new jl_StringBuilder; $zis_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($zis_0, $zis_0.$length0, $compressionType, 10); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(107)); $crc32 = $crc32.$msg; jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $crc32); $crc32 = new jl_String; $load = $zis_0.$buffer; $readType = $load.data; $blockFile = $zis_0.$length0; $blockEnd = $readType.length; if ($blockFile >= 0 && $blockFile <= ($blockEnd - 0 | 0)) { $crc32.$nativeString = $rt_charArrayToString($load.data, 0, $blockFile); $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($zis); $zis.$message = $crc32; $rt_throw($zis); } $zis = new jl_IndexOutOfBoundsException; $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $rt_throw($zis); } cjj_InflaterInputStream__init_($zis_0, $zis, $crc32, 512, 1); $zis_0.$myinflater = 1; $zis = $zis_0; break a; default: } $zis = new ji_IOException; $zis_0 = new jl_StringBuilder; $zis_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(370)); $blockFile = $zis_0.$length0; jl_AbstractStringBuilder_insertSpace($zis_0, $blockFile, $blockFile + 1 | 0); $load = $zis_0.$buffer; $readType = $load.data; $readType[$blockFile] = $compressionType; $crc32 = new jl_String; $blockFile = $zis_0.$length0; $blockEnd = $readType.length; if ($blockFile >= 0 && $blockFile <= ($blockEnd - 0 | 0)) { $crc32.$nativeString = $rt_charArrayToString($load.data, 0, $blockFile); $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $zis.$message = $crc32; $rt_throw($zis); } $zis = new jl_IndexOutOfBoundsException; $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $rt_throw($zis); } $crc32 = new cjj_CRC32; $crc32.$v = 0; $i = 0; b: while (true) { if ($i >= $numFiles) { if (($zis.$read() << 24 | $zis.$read() << 16 | $zis.$read() << 8 | $zis.$read()) == 1162757156) { $zis.$close(); return; } $zis = new ji_IOException; $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $zis.$message = $rt_s(371); $rt_throw($zis); } $blockType = $zis.$read() << 24 | $zis.$read() << 16 | $zis.$read() << 8 | $zis.$read(); if ($blockType == 1162757156) { $zis = new ji_IOException; $compressionType = $numFiles - $i | 0; $zis_0 = new jl_StringBuilder; $zis_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(372)); jl_AbstractStringBuilder_insert0($zis_0, $zis_0.$length0, $compressionType, 10); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(373)); $crc32 = new jl_String; $load = $zis_0.$buffer; $readType = $load.data; $blockFile = $zis_0.$length0; $blockEnd = $readType.length; if ($blockFile >= 0 && $blockFile <= ($blockEnd - 0 | 0)) { $crc32.$nativeString = $rt_charArrayToString($load.data, 0, $blockFile); $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $zis.$message = $crc32; $rt_throw($zis); } $zis = new jl_IndexOutOfBoundsException; $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $rt_throw($zis); } $len2 = $zis.$read(); $load = $rt_createCharArray($len2); $readType = $load.data; $expectedCRC = 0; while ($expectedCRC < $len2) { $readType[$expectedCRC] = $zis.$read() & 255 & 65535; $expectedCRC = $expectedCRC + 1 | 0; } c: { $name = new jl_String; $name.$nativeString = $rt_charArrayToString($load.data, 0, $readType.length); $len = $zis.$read() << 24 | $zis.$read() << 16 | $zis.$read() << 8 | $zis.$read(); if ($i) { if ($blockType != 1179208773) $zis.$skip(Long_fromInt($len)); else { $compressionType = $rt_compare($len, 5); if ($compressionType < 0) { $zis = new ji_IOException; $zis_0 = new jl_StringBuilder; $zis_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(374)); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $name); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(375)); $crc32 = new jl_String; $load = $zis_0.$buffer; $readType = $load.data; $blockFile = $zis_0.$length0; $blockEnd = $readType.length; if ($blockFile >= 0 && $blockFile <= ($blockEnd - 0 | 0)) { $crc32.$nativeString = $rt_charArrayToString($load.data, 0, $blockFile); $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $zis.$message = $crc32; $rt_throw($zis); } $zis = new jl_IndexOutOfBoundsException; $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $rt_throw($zis); } $expectedCRC = $zis.$read() << 24 | $zis.$read() << 16 | $zis.$read() << 8 | $zis.$read(); $load = $rt_createByteArray($len - 5 | 0); $zis.$read1($load); if ($compressionType > 0) { $readType = $load.data; $crc32.$v = 0; cjj_CRC32_update($crc32, $load, 0, $readType.length); if ($expectedCRC != Long_lo(Long_and(Long_fromInt($crc32.$v), Long_create(4294967295, 0)))) { $zis = new ji_IOException; $zis_0 = new jl_StringBuilder; $zis_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(374)); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $name); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(376)); $crc32 = new jl_String; $load = $zis_0.$buffer; $readType = $load.data; $blockFile = $zis_0.$length0; $blockEnd = $readType.length; if ($blockFile >= 0 && $blockFile <= ($blockEnd - 0 | 0)) { $crc32.$nativeString = $rt_charArrayToString($load.data, 0, $blockFile); $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $zis.$message = $crc32; $rt_throw($zis); } $zis = new jl_IndexOutOfBoundsException; $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $rt_throw($zis); } } if ($zis.$read() != 58) { $zis = new ji_IOException; $zis_0 = new jl_StringBuilder; $zis_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(374)); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $name); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(375)); $crc32 = new jl_String; $load = $zis_0.$buffer; $readType = $load.data; $blockFile = $zis_0.$length0; $blockEnd = $readType.length; if ($blockFile >= 0 && $blockFile <= ($blockEnd - 0 | 0)) { $crc32.$nativeString = $rt_charArrayToString($load.data, 0, $blockFile); $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $zis.$message = $crc32; $rt_throw($zis); } $zis = new jl_IndexOutOfBoundsException; $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $rt_throw($zis); } d: { ju_HashMap_putImpl(nle_AssetRepository_filePool, $name, $load); if (jl_String_endsWith($name, $rt_s(377))) try { $readType = $load.data; $len2 = ($readType[27375] & 255) << 24 | ($readType[27376] & 255) << 16 | ($readType[27377] & 255) << 8 | $readType[27378] & 255; if ((27383 + $len2 | 0) < $readType.length) nle_AssetRepository_loadNew(nle_EaglerInputStream__init_0($load, 27383, $len2)); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } } if ($zis.$read() == 62) break c; else { $zis = new ji_IOException; $zis_0 = new jl_StringBuilder; $zis_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(378)); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $name); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(375)); $crc32 = new jl_String; $load = $zis_0.$buffer; $readType = $load.data; $blockFile = $zis_0.$length0; $blockEnd = $readType.length; if ($blockFile >= 0 && $blockFile <= ($blockEnd - 0 | 0)) { $crc32.$nativeString = $rt_charArrayToString($load.data, 0, $blockFile); $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $zis.$message = $crc32; $rt_throw($zis); } $zis = new jl_IndexOutOfBoundsException; $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $rt_throw($zis); } } if ($blockType != 1212498244) { $zis = new ji_IOException; $zis_0 = new jl_StringBuilder; $zis_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(374)); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $name); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(379)); $crc32 = new jl_String; $load = $zis_0.$buffer; $readType = $load.data; $blockFile = $zis_0.$length0; $blockEnd = $readType.length; if ($blockFile >= 0 && $blockFile <= ($blockEnd - 0 | 0)) { $crc32.$nativeString = $rt_charArrayToString($load.data, 0, $blockFile); $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $zis.$message = $crc32; $rt_throw($zis); } $zis = new jl_IndexOutOfBoundsException; $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $rt_throw($zis); } $readType = $rt_createByteArray($len); $zis.$read1($readType); if ($rt_s(380) === $name) $compressionType = 1; else if (!($name instanceof jl_String)) $compressionType = 0; else { $vers = $name; $compressionType = $rt_s(380).$nativeString !== $vers.$nativeString ? 0 : 1; } if (!$compressionType) break b; $load = $readType.data; $compressionType = $load.length; $readType = $rt_createCharArray($compressionType); var$8 = $readType.data; $len2 = 0; while ($len2 < $compressionType) { var$8[$len2] = $load[$len2] & 255 & 65535; $len2 = $len2 + 1 | 0; } $vers = new jl_String; $vers.$nativeString = $rt_charArrayToString($readType.data, 0, var$8.length); if ($rt_s(381) === $vers) $compressionType = 1; else if (!($vers instanceof jl_String)) $compressionType = 0; else { $vers = $vers; $compressionType = $rt_s(381).$nativeString !== $vers.$nativeString ? 0 : 1; } if (!$compressionType) break b; if ($zis.$read() != 62) { $zis = new ji_IOException; $zis_0 = new jl_StringBuilder; $zis_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(378)); $compressionType = $zis_0.$length0; if ($name === null) $name = $rt_s(1); jl_AbstractStringBuilder_insert($zis_0, $compressionType, $name); jl_AbstractStringBuilder_insert($zis_0, $zis_0.$length0, $rt_s(375)); $crc32 = new jl_String; $load = $zis_0.$buffer; $readType = $load.data; $blockFile = $zis_0.$length0; $blockEnd = $readType.length; if ($blockFile >= 0 && $blockFile <= ($blockEnd - 0 | 0)) { $crc32.$nativeString = $rt_charArrayToString($load.data, 0, $blockFile); $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $zis.$message = $crc32; $rt_throw($zis); } $zis = new jl_IndexOutOfBoundsException; $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $rt_throw($zis); } } $i = $i + 1 | 0; } $zis = new ji_IOException; $zis.$suppressionEnabled = 1; $zis.$writableStackTrace = 1; $zis.$message = $rt_s(382); $rt_throw($zis); }, nle_AssetRepository_loadOld = $is => { let $in, var$3, $digest, $digest2, $dg, var$7, var$8, var$9, var$10, $file, $len, var$13, var$14; $in = new ji_DataInputStream; $in.$in = $is; $in.$buff = $rt_createByteArray(8); var$3 = ji_DataInputStream_readUnsignedShort($in); $digest = $rt_createByteArray(var$3); $digest2 = $rt_createCharArray(var$3); ji_DataInputStream_readFully($in, $digest, 0, var$3); ji_DataInputStream_convertUTF8WithBuf($digest, $digest2, 0, var$3); $in = new ji_DataInputStream; $dg = new cjj_InflaterInputStream; var$7 = new cjj_Inflater; var$8 = new cjj_Adler32; var$8.$s1 = Long_fromInt(1); var$8.$s2 = Long_ZERO; var$7.$adler = var$8; var$7.$finished = 0; var$7.$finished = 0; var$8 = new cjj_Inflate; var$8.$was = Long_fromInt(-1); var$8.$need_bytes = (-1); var$8.$crcbuf = $rt_createByteArray(4); var$8.$gheader = null; var$8.$tmp_string = null; var$8.$z1 = var$7; var$7.$istate = var$8; var$3 = cjj_Inflate_inflateInit(var$8, 15); if (var$3) { $is = new cjj_GZIPException; $in = new jl_StringBuilder; $in.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($in, $in.$length0, var$3, 10); jl_AbstractStringBuilder_insert($in, $in.$length0, $rt_s(107)); $dg = var$7.$msg; jl_AbstractStringBuilder_insert($in, $in.$length0, $dg); $dg = new jl_String; $digest = $in.$buffer; $digest2 = $digest.data; var$9 = $in.$length0; var$10 = $digest2.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $dg.$nativeString = $rt_charArrayToString($digest.data, 0, var$9); $is.$suppressionEnabled = 1; $is.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($is); $is.$message = $dg; $rt_throw($is); } $is = new jl_IndexOutOfBoundsException; $is.$suppressionEnabled = 1; $is.$writableStackTrace = 1; $rt_throw($is); } cjj_InflaterInputStream__init_($dg, $is, var$7, 512, 1); $dg.$myinflater = 1; $in.$in = $dg; $in.$buff = $rt_createByteArray(8); $dg = new nle_SHA1Digest; $dg.$xBuf = $rt_createByteArray(4); $dg.$xBufOff = 0; $dg.$X = $rt_createIntArray(80); nle_SHA1Digest_reset($dg); while (true) { var$3 = ji_DataInputStream_readUnsignedShort($in); $digest = $rt_createByteArray(var$3); $digest2 = $rt_createCharArray(var$3); ji_DataInputStream_readFully($in, $digest, 0, var$3); var$7 = ji_DataInputStream_convertUTF8WithBuf($digest, $digest2, 0, var$3); if ($rt_s(383) === var$7) var$3 = 1; else if (!(var$7 instanceof jl_String)) var$3 = 0; else { var$8 = var$7; var$3 = $rt_s(383).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$3) { if ($in.$in.$available() <= 0) { if ($rt_s(384) === var$7) var$3 = 1; else if (!(var$7 instanceof jl_String)) var$3 = 0; else { $in = var$7; var$3 = $rt_s(384).$nativeString !== $in.$nativeString ? 0 : 1; } if (var$3) return; } $is = new ji_IOException; $is.$suppressionEnabled = 1; $is.$writableStackTrace = 1; $is.$message = $rt_s(385); $rt_throw($is); } var$3 = ji_DataInputStream_readUnsignedShort($in); $digest = $rt_createByteArray(var$3); $digest2 = $rt_createCharArray(var$3); ji_DataInputStream_readFully($in, $digest, 0, var$3); var$8 = ji_DataInputStream_convertUTF8WithBuf($digest, $digest2, 0, var$3); $digest = $rt_createByteArray(20); $file = $digest.data; $digest2 = $rt_createByteArray(20); $in.$in.$read0($digest, 0, $file.length); $len = ji_DataInputStream_readInt($in); $file = $rt_createByteArray($len); var$13 = $file.data; $in.$in.$read0($file, 0, var$13.length); $is = nle_AssetRepository_filePool; if (var$8 === null) { var$14 = $is.$elementData.data[0]; while (var$14 !== null && var$14.$key !== null) { var$14 = var$14.$next3; } } else { a: { if (!var$8.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= var$8.$nativeString.length) break a; var$8.$hashCode1 = (31 * var$8.$hashCode1 | 0) + var$8.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = var$8.$hashCode1; var$13 = $is.$elementData.data; var$14 = var$13[var$3 & (var$13.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == var$3) { b: { $is = var$14.$key; if (var$8 !== $is) { if (var$8 === $is) var$9 = 1; else if (!($is instanceof jl_String)) var$9 = 0; else { $is = $is; var$9 = var$8.$nativeString !== $is.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break b; } } var$9 = 1; } if (var$9) break; } var$14 = var$14.$next3; } } if (var$14 === null ? 0 : 1) continue; nle_GeneralDigest_update0($dg, $file, 0, $len); nle_SHA1Digest_doFinal($dg, $digest2, 0); if (!ju_Arrays_equals0($digest, $digest2)) { $is = new ji_IOException; $in = new jl_StringBuilder; $in.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($in, $in.$length0, $rt_s(386)); var$3 = $in.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert($in, var$3, var$8); $dg = new jl_String; $digest = $in.$buffer; $digest2 = $digest.data; var$9 = $in.$length0; var$10 = $digest2.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $dg.$nativeString = $rt_charArrayToString($digest.data, 0, var$9); $is.$suppressionEnabled = 1; $is.$writableStackTrace = 1; $is.$message = $dg; $rt_throw($is); } $is = new jl_IndexOutOfBoundsException; $is.$suppressionEnabled = 1; $is.$writableStackTrace = 1; $rt_throw($is); } ju_HashMap_putImpl(nle_AssetRepository_filePool, var$8, $file); var$3 = ji_DataInputStream_readUnsignedShort($in); $digest = $rt_createByteArray(var$3); $digest2 = $rt_createCharArray(var$3); ji_DataInputStream_readFully($in, $digest, 0, var$3); var$7 = ji_DataInputStream_convertUTF8WithBuf($digest, $digest2, 0, var$3); if ($rt_s(387) === var$7) var$3 = 1; else if (!(var$7 instanceof jl_String)) var$3 = 0; else { var$7 = var$7; var$3 = $rt_s(387).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$3) break; } $is = new ji_IOException; $is.$suppressionEnabled = 1; $is.$writableStackTrace = 1; $is.$message = $rt_s(385); $rt_throw($is); }, nle_AssetRepository_getResource = $path => { let var$2, var$3, var$4, var$5, var$6; if ($path === $rt_s(192) ? 1 : jl_String_startsWith($path, $rt_s(192), 0)) $path = jl_String_substring($path, 1, $path.$nativeString.length); var$2 = nle_AssetRepository_filePool; if ($path === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$path.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $path.$nativeString.length) break a; $path.$hashCode1 = (31 * $path.$hashCode1 | 0) + $path.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $path.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($path !== var$6) { if ($path === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $path.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } return var$2 === null ? null : var$2.$value1; }, nle_AssetRepository__clinit_ = () => { nle_AssetRepository_filePool = ju_HashMap__init_(); nle_AssetRepository_fileNameOverrides = ju_HashMap__init_(); }, ju_Comparator = $rt_classWithoutFields(0), jl_String$_clinit_$lambda$_115_0 = $rt_classWithoutFields(), jl_String$_clinit_$lambda$_115_0__init_ = var$0 => { return; }, jl_String$_clinit_$lambda$_115_0__init_0 = () => { let var_0 = new jl_String$_clinit_$lambda$_115_0(); jl_String$_clinit_$lambda$_115_0__init_(var_0); return var_0; }; function jl_Character() { jl_Object.call(this); this.$value5 = 0; } let jl_Character_TYPE = null, jl_Character_digitMapping = null, jl_Character_upperCaseMapping = null, jl_Character_lowerCaseMapping = null, jl_Character_classMapping = null, jl_Character_characterCache = null, jl_Character_$$metadata$$0 = null, jl_Character_$$metadata$$1 = null, jl_Character_$$metadata$$3 = null, jl_Character_$$metadata$$4 = null, jl_Character_valueOf = $value => { let var$2, $result; var$2 = jl_Character_characterCache.data; if ($value >= var$2.length) { $result = new jl_Character; $result.$value5 = $value; return $result; } $result = var$2[$value]; if ($result === null) { $result = new jl_Character; $result.$value5 = $value; var$2[$value] = $result; } return $result; }, jl_Character_toString = $this => { let var$1, var$2, var$3, var$4; var$1 = $this.$value5; var$2 = new jl_String; var$3 = $rt_createCharArray(1); var$4 = var$3.data; var$4[0] = var$1; var$2.$nativeString = $rt_charArrayToString(var$3.data, 0, var$4.length); return var$2; }, jl_Character_equals = ($this, $other) => { if ($this === $other) return 1; return $other instanceof jl_Character && $other.$value5 == $this.$value5 ? 1 : 0; }, jl_Character_hashCode = $this => { return $this.$value5; }, jl_Character_codePointAt = ($a, $index, $limit) => { let var$4; if ($index < $limit && $index >= 0) { $a = $a.data; if ($limit <= $a.length) { if ($index < ($limit - 1 | 0) && (($a[$index] & 64512) != 55296 ? 0 : 1)) { $limit = $index + 1 | 0; if (($a[$limit] & 64512) != 56320 ? 0 : 1) return (($a[$index] & 1023) << 10 | $a[$limit] & 1023) + 65536 | 0; } return $a[$index]; } } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); }, jl_Character_mapChar = ($table, $codePoint) => { let $binSearchTable, $index; $binSearchTable = $table.$fastTable.data; if ($codePoint < $binSearchTable.length) return $codePoint + $binSearchTable[$codePoint] | 0; $binSearchTable = $table.$binarySearchTable0; $index = jl_Character_binarySearchTable($binSearchTable, $codePoint); if ($index >= 0) { $binSearchTable = $binSearchTable.data; $index = $index * 2 | 0; if ($index < $binSearchTable.length) return $codePoint + $binSearchTable[$index + 1 | 0] | 0; } return 0; }, jl_Character_binarySearchTable = ($data, $key) => { let $l, $u, $i, $e; $data = $data.data; $l = 0; $u = ($data.length / 2 | 0) - 1 | 0; while (true) { $i = ($l + $u | 0) / 2 | 0; $e = $rt_compare($data[$i * 2 | 0], $key); if (!$e) break; if ($e <= 0) { $l = $i + 1 | 0; if ($l > $u) return $i; } else { $u = $i - 1 | 0; if ($u < $l) return $u; } } return $i; }, jl_Character_getNumericValue = $codePoint => { let $digitMapping, $l, $u, $idx, var$6, $val; if (jl_Character_digitMapping === null) { if (jl_Character_$$metadata$$3 === null) jl_Character_$$metadata$$3 = jl_Character_obtainDigitMapping$$create(); jl_Character_digitMapping = otciu_UnicodeHelper_decodeIntPairsDiff((jl_Character_$$metadata$$3.value !== null ? $rt_str(jl_Character_$$metadata$$3.value) : null)); } $digitMapping = jl_Character_digitMapping.data; $l = 0; $u = ($digitMapping.length / 2 | 0) - 1 | 0; while ($u >= $l) { $idx = ($l + $u | 0) / 2 | 0; var$6 = $idx * 2 | 0; $val = $rt_compare($codePoint, $digitMapping[var$6]); if ($val > 0) $l = $idx + 1 | 0; else { if ($val >= 0) return $digitMapping[var$6 + 1 | 0]; $u = $idx - 1 | 0; } } return (-1); }, jl_Character_forDigit = ($digit, $radix) => { if ($radix >= 2 && $radix <= 36 && $digit >= 0 && $digit < $radix) return $digit < 10 ? (48 + $digit | 0) & 65535 : ((97 + $digit | 0) - 10 | 0) & 65535; return 0; }, jl_Character_toChars = $codePoint => { let var$2, var$3, var$4; if (!($codePoint >= 0 && $codePoint <= 1114111 ? 1 : 0)) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if ($codePoint < 65536) { var$3 = $rt_createCharArray(1); var$3.data[0] = $codePoint & 65535; return var$3; } var$3 = $rt_createCharArray(2); var$4 = var$3.data; var$4[0] = (55296 | ($codePoint - 65536 | 0) >> 10 & 1023) & 65535; var$4[1] = (56320 | $codePoint & 1023) & 65535; return var$3; }, jl_Character_getType = $codePoint => { let $l, $u, $classes, $i, $range; if ($codePoint > 0 && $codePoint <= 65535 ? 1 : 0) { $l = $codePoint & 65535 & 64512; $u = $l != 55296 ? 0 : 1; if (!$u && !($l != 56320 ? 0 : 1) ? 0 : 1) return 19; } if (jl_Character_classMapping === null) { if (jl_Character_$$metadata$$4 === null) jl_Character_$$metadata$$4 = jl_Character_obtainClasses$$create(); jl_Character_classMapping = otciu_UnicodeHelper_extractRle((jl_Character_$$metadata$$4.value !== null ? $rt_str(jl_Character_$$metadata$$4.value) : null)); } $classes = jl_Character_classMapping.data; $l = 0; $u = $classes.length - 1 | 0; while ($l <= $u) { $i = ($l + $u | 0) / 2 | 0; $range = $classes[$i]; if ($codePoint >= $range.$end1) $l = $i + 1 | 0; else { $u = $range.$start8; if ($codePoint >= $u) return $range.$data16.data[$codePoint - $u | 0]; $u = $i - 1 | 0; } } return 0; }, jl_Character_isIdentifierIgnorable = $codePoint => { a: { if (!($codePoint >= 0 && $codePoint <= 8) && !($codePoint >= 14 && $codePoint <= 27)) { if ($codePoint < 127) break a; if ($codePoint > 159) break a; } return 1; } return jl_Character_getType($codePoint) != 16 ? 0 : 1; }, jl_Character_compareTo = ($this, var$1) => { var$1 = var$1; return $this.$value5 - var$1.$value5 | 0; }, jl_Character__clinit_ = () => { jl_Character_TYPE = $rt_cls($rt_charcls); jl_Character_characterCache = $rt_createArray(jl_Character, 128); }, jl_Character_acquireLowerCaseMapping$$create = () => { return {"value" : ">W H#F#U 4%F#O #F#/ d%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #a1# #%# #%# #%# %%# #%# #%# #%# #%# #%# #%# #%# %%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #<+#%# #%# #%# \'.3#%# #%# #{1#%# #w1%%# %J\'#k1#o1#%# #w1#!3# #23#*3#%# \'23#:3# #>3#%# #%# #%# #N3#%# #N3# %%# #N3#%# #J3%%# #%# #R3#%# \'%# /)#%# #)#%# #)#%# #%# #%# #%# #%# #%# #%# #%# #%# %%# #%# #%# #%# #%# #%# #%# #%# #%# %)#%# #%# #8)#L%#%# #%# #%# #" + "%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #a+# #%# #%# #%# #%# #%# #%# #%# #%# #%# /B45#%# #,/#645# %%# #P1#!\'#*\'#%# #%# #%# #%# #%# <-%# #%# \'%# 1&++ %_## #Z#)k%%g%% #F#W hA# 1%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# +]%# %%# #?#%# %a+\'N\'AF#b &#%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# 3%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #^#%# #%# #%# #%# #%# #%# #%# %%# #%# #%# #%# #%# #%# #%# #%" + "# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# %*%r iB#oq-&# _?gejg#A1 o$#mo%&# {-%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# 3,4/# #%# #%# #%" + "# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# 3C1 1C1 1C1 1C1 1C1 3C/ 1C1 QC1 1C1 1C1 1C%8\'%G# 7i\')G# 7C%D)\' 7C%u)%?# 7X+%P+%G# L-q*/# \'Pw/#8m/# -6## |bA G%# kC.#U !r*%&# &#%# #,05#qX\'#H.5# %%# #%# #%# #e25#D05#q25#m25# #%# %%# 1865%%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# " + "#%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# 1%# #%# )%# (a=%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# G%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# y%%# #%# #%# #%# #%# #%# #%# \'%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #%# 5%# #%# #4Fd#%# #%# #%# #%# #%# )%# #<{p# %%# #%# \'%# #%# #%# #%# #%# #%# #%# #%# #%# #%# #P}p#}}p#m}p#D}p#P}p# #@yp#D{p#Lyp#Br#%# #%# #%# #%" + "# #%# #%# #%# #%# #,%#L}p#LJd#%# #%# -%# +%# #%# Y%# ,T5F#U TUg#r {%g#r >\'c#p Lnk%F# *J#F#b o@5F#b Jo=N#f "}; }, jl_Character_acquireUpperCaseMapping$$create = () => { return {"value" : "b# vH#O #H#/:+# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #,5# #\'# #\'# #\'# %\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# %\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# %\'# #\'# #\'#(;#N1# %\'# #\'# %\'# \'\'# +\'# %6)# \'\'#*/# \'_+# %\'# #\'# #\'# %\'# )\'# %\'# \'\'# #\'# %\'# \'\'# #J%# +\'#+# #\'#+# #\'#+# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'#L\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# %\'#+# #\'# \'\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'#" + " #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# \'\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# 1\'# %665% #\'# )\'# #\'# #\'# #\'# #\'#o25#c25#k25#03#}1# #y1% #m1# #q1#{}p# \'y1#k}p# #$3# #:{p#N}p# #,3#43#N}p#*05#B}p# %43# #B05#<3# %@3# /F.5# %P3# #J}p#P3# \'B{p#P3#$\'#L3%,\'# +T3# 5Jyp#>yp# Z\'_\'# x\'# #\'# \'\'\' #_+\' !#a##]#\' #H#CD##H#3m%#i%% #e%#P%# \'(%#D%#C# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'#i\'#P\'#=#(+# #4)# %\'# %\'# .#H#bP\'A #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# 3\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# " + "#\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# %\'# #\'# #\'# #\'# #\'# #\'# #\'#`# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'% &#,%n mB#ko%x %ko%\' RAC1 >$#yu+#uu+#Pu+#Hu+%Lu+#0u+#io+#>@d1 (+2Fd# \'oX\'# AJJd# N%\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #" + "\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# +X%# +\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'# #\'#A1 1A1 1A1 1A1 1A1 3A# #A# #A# #A% /A1 16\'%g\')B)%V+%s)%N+)A1 1A1 1A1 1A% #E# 5 { return {"value" : "&C*% %%%%%%%%%%%%%%%%%%A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%=,#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%_H#T#%%%%%%%%%%%%%%%%%%s+G%%%%%%%%%%%%%%%%%%_1G%%%%%%%%%%%%%%%%%%{CG%%%%%%%%%%%%%%%%%%2+G%%%%%%%%%%%%%%%%%%2+G%%%%%%%%%%%%%%%%%%2+G%%%%%%%%%%%%%%%%%%2+G%%%%%%%%%%%%%%%%%%2+G%%%%%%%%%%%%%%%%%%2+G%%%%%%%%%%%%%%%%%%2+G%%%%%%%%%%%%%%%%%%2+G%%%%%%%%%%%%%%%%%%2+G%%%%%%%%%%%%%%%%%%6)G%%%%%%%%%%%%%%%%%%2+G%%%%%%%%%%%%%%%%%%*\'G%%%%%%%%%%%%%%%%%%.9G%%%%%%%%%%%%%%%%%%*\'G%%%%%%%%%%%%%%%%%%!i#G" + "%%%%%%%%%%%%%%%%%%c#G%%%%%%%%%%%%%%%%%%*;G%%%%%%%%%%%%%%%%%%Z+G%%%%%%%%%%%%%%%%%%:/G%%%%%%%%%%%%%%%%%%=G%%%%%%%%%%%%%%%%%%{/G%%%%%%%%%%%%%%%%%%k\'G%%%%%%%%%%%%%%%%%%s+G%%%%%%%%%%%%%%%%%%=G%%%%%%%%%%%%%%%%%%R@dG%%%%%%%%%%%%%%%%%%R[G%%%%%%%%%%%%%%%%%%c#G%%%%%%%%%%%%%%%%%%_1G%%%%%%%%%%%%%%%%%%!#G%%%%%%%%%%%%%%%%%%k\'G%%%%%%%%%%%%%%%%%%cCG%%%%%%%%%%%%%%%%%%o*IG%%%%%%%%%%%%%%%%%%A%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%=,#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%c:#T#%%%%%%%%%%%%%%%%%%w&%G%%%%%" + "%%%%%%%%%%%%%BhG%%%%%%%%%%%%%%%%%%Z+G%%%%%%%%%%%%%%%%%%_%G%%%%%%%%%%%%%%%%%%>-G%%%%%%%%%%%%%%%%%%.9G%%%%%%%%%%%%%%%%%%w=G%%%%%%%%%%%%%%%%%%2+G%%%%%%%%%%%%%%%%%%>AG%%%%%%%%%%%%%%%%%%N)G%%%%%%%%%%%%%%%%%%N)G%%%%%%%%%%%%%%%%%%FEG%%%%%%%%%%%%%%%%%%N)G%%%%%%%%%%%%%%%%%%!dG%%%%%%%%%%%%%%%%%%g5G%%%%%%%%%%%%%%%%%%*\'G%%%%%%%%%%%%%%%%%%FEG%%%%%%%%%%%%%%%%%%*0EG%%%%%%%%%%%%%%%%%%k\'G%%%%%%%%%%%%%%%%%%s+G%%%%%%%%%%%%%%%%%%28UG%%%%%%%%%%%%%%%%%%%G%%%%%%%%%%%%%%%%%%%G%%%%%%%%%%%%%%%%%%%G%%%%%%%%%%%%%%%%%%%G%%%%%%%%%%%%%%%" + "%%%!8%G%%%%%%%%%%%%%%%%%%FEG%%%%%%%%%%%%%%%%%%sKG%%%%%%%%%%%%%%%%%%>&#G%%%%%%%%%%%%%%%%%%wN)G%%%%%%%%%%%%%%%%%%"}; }, jl_Character_obtainClasses$$create = () => { return {"value" : "PA-Y$;Y$679:95Y#J+Y#Z$Y#B;697<8:1=<=:L#<#Y#<,&?L$9B8:B(C9:C)!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!C#!#!#!#!#!#!#!#!C#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#B##!#!C$B##!#B##B$C#B%#B##B$C$B##B##!#!#B##!C#!#B##B$#!#B#C#&!C$F%!$#!$#!$#!#!#!#!#!#!#!#!C#!#!#!#!#!#!#!#!#!C#!$#!#B$#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!C(B##B#C#!#B%#!#!#!#!Cg&C?6_#?6>Y)./Q&-Y*>?Y%X#Y$:67Y,:98Y+-Q& Q+,%A#L\'Z$67%L+Z$67 E.A$[BA0G." + "H%\'H$G-A0^#!^%!^##B$C#B$#=!^#:B&^\'!=!=!=B%=#B%#F%#^#C#B#Z&!C%=:^##=L1KD!#K%,^#A%Z&^&Z#^%:^#:^#:^(:^@Z#^#:=:^@b:-% ^)6767^5Z#^(67b=2! :^?Z:^IZ\'^gA:^,A6L^^pL7b=X# :^*:^WZ)b=P! :b=Y$ 67676767676767L?^MZ&67Z@6767676767Z1b= % b:$# 6767676767676767676767Za6767ZA67b:#% ^QZ6^#Z\'^HA#^A b=J! BQCQ!#B$C#!#!#!#B%#!C#!C\'E#B$#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!C#^\'!#!#G$!#A&Y%,Y#CG #A&#A#FYA(%9A/\'F8A*F( F( F( F( F( F( F( F( GAY#>?>?Y$>?9>?Y*5Y#59>?Y#>?67676767Y" + "&%Y+U#Y%596Y.^#Y$676767675AC^; b=:! A-b=7$ A;^1-Y$=%&+6767676767^#6767676756W#=K*G%I#5E&^#K$%&9^# b&7! A#G#]#E#&5b&;! 9E$&A&FL b&?! ^#L%^+FA^EA,=F1^@ L+^?L)=L0^AL+^HL0b= & &b `G!&^b&b %b `(!F7%b&X2 A$^XA*FIE\'Y#b&-% %Y$F1J+F#A5!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#&\'H$9G+9%!#!#!#!#!#!#!#!#!#!#!#!#!#!#E#G#FhK+G#Y\'A)]8E*]#!#!#!#!#!#!#!C$!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#!#%C)!#!#B##!#!#!#!#%]#!#!#&!#!C$!#!#!#!#!#!#!#!#!#!#B&#B&#!#!#!#!#!#!#!#B%#!#A&!# # #!#!#A9E$!#&E##F(\'F$" + "\'F%\'F8I#G#)^%\'A$L\'^#;=A\'FUY%A)I#FSI1G#A)Y#J+A\'G3F\'Y$&9F#\'J+F=G)Y#F8G,I#A,9F>A$G$)FP\'I#G%I#G#I$Y. %J+A%Y#F&\'%F*J+F& FJG\'I#G#I#G#A*F$\'F)\')A#J+A#Y%F1%F\'^$&)\')FS\'&G$F#G#F&G#&\'&A9F#%Y#F,)G#I#Y#&E#)\'A+F\'A#F\'A#F\'A*F( F( CLA$FRA0\'LA#G$A%\'L*A(Y*A(F>L#9F>L$AAF)=F=G#A%L&Y(A*FWA$Y(F7A#L)F4A&L)F3A(Y%A-L(b 1! FkAXBTA.CTA(L\'FEG%A)J+b G% L@ FK G#5A#F#AmG$F>L+&A)F7G,L%Y&A7F3G%Y%AGF6L(A5F8A*)\')FVG0Y(A%L5J+\'F#G#&A*G$)FNI$G%I#G#Y#1Y%\'A+1A#F:A(J+A" + "\'G$FEG&)G) J+Y%&I#&A)FD\'Y#&A*G#)FQI$G*I#F%Y%G%9)\'J+&9&Y$ L5A,F3 F:I$G$I#\')G#Y\'\'F#\'A`F( & F% F0 F+9A\'FP\'I$G)A&J+A\'G#I# F)A#F#A#F7 F( F# F& G#&I#\'I%A#I#A#I$A#&A\')A&F&I#A#G(A$G&b ,# FVI$G)I#G$)\'F%Y&J+Y# 9\'F$A?FQI$G\')\'I%G#)G#F#9&A)J+b G# FPI$G%A#I%G#)G#Y8F%G#ACFQI$G)I#\')G#Y$&A,J+A\'Y.A4FL\')\'I#G\')\'&9A\'J+AWFF$A#&A/F%A)b&-\' b %E b&L! A&F.A$F*A(F+A#=G#9Q%b =*!GOA#G8A*b=U! A^b=W$ A+^HA#^^I#G$^$I\'Q)G)^#G(^?G%^_A6^dG$=b [! L5A-L5A-b=8! A*L:b (# B;C;B;C( C3B;C;! B#A#!A#B#A#B% B)C% # C( C,B;C;B# B%A#B) B" + "( C;B# B% B& !A$B( C;B;C;B;C;B;C;B;C;B;C;B;C=A#B::C::C\'B::C::C\'B::C::C\'B::C::C\'B::C::C\'!#A#JSb= ) GX^%GS^)\'^/\'^#Y&A0G& G0b 12 C+&C5A\'C\'b 6$ G( G2A#G( G# G&A&E`AB\'b Q! FNA$G(E(A#J+A%&=b & F?\'A2FMG%J+A&;b 1( F<%G%J+b G, F( F% F# F0 b&&$ A#L*G(AJBCCCG(%A%J+A%Y#b 2- L]=L$;L%AnLN=L0b #$ F% F< F# &A#& F+ F% & &A\'&A%& & & F$ F# &A#& & & & & F# &A#F% F( F% F% & F+ F2A&F$ F& F2AUZ#b /% ^MA%b=E! A-^0A#^0 ^0 ^FA+L.b=B# AY^>A.^MA%^*A(^#A/^\'b ;# b=]$ ]&b=9, A%^2A$^.A$b=X! A%b=@! A\'^-A%=A0^-A%^YA)^+A\'^IA)^?A#^#Apb=5& A-" + "^/A#^.A$^*A(^O ^(A)^/A%^*A(^*A(b=4# ^XAFJ+b \'1 &b %b %b ?<#&AA&b Y !&A\'&b =$ &A#&b ;!&A/&b PU!&A0&b M* &b CG b&?) b C8 &b *.!&A&&b ?!!&b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b %b 2R!1A?b1A! b # b\'Q$ b %b %b %b 1Y$3b %b %b %b ^a$3A#3b %b %b %b ^a$3"}; }; function otji_JSWrapper() { jl_Object.call(this); this.$js = null; } let otji_JSWrapper_hashCodes = null, otji_JSWrapper_wrappers = null, otji_JSWrapper_stringWrappers = null, otji_JSWrapper_numberWrappers = null, otji_JSWrapper_undefinedWrapper = null, otji_JSWrapper_stringFinalizationRegistry = null, otji_JSWrapper_numberFinalizationRegistry = null, otji_JSWrapper_hashCodeGen = 0, otji_JSWrapper_$callClinit = () => { otji_JSWrapper_$callClinit = $rt_eraseClinit(otji_JSWrapper); otji_JSWrapper__clinit_(); }, otji_JSWrapper_wrap = $o => { let $jsNumber, $type, $isObject, $existingRef, $existing, $wrapper, $wrapperAsJs; otji_JSWrapper_$callClinit(); if ($o === null) return null; $jsNumber = $o; $type = $rt_str(typeof $jsNumber); if ($type === $rt_s(388)) $isObject = 1; else if (!($rt_s(388) instanceof jl_String)) $isObject = 0; else { $existingRef = $rt_s(388); $isObject = $type.$nativeString !== $existingRef.$nativeString ? 0 : 1; } a: { if (!$isObject) { if ($type === $rt_s(389)) $isObject = 1; else if (!($rt_s(389) instanceof jl_String)) $isObject = 0; else { $existingRef = $rt_s(389); $isObject = $type.$nativeString !== $existingRef.$nativeString ? 0 : 1; } if (!$isObject) { $isObject = 0; break a; } } $isObject = 1; } if ($isObject && $o[$rt_jso_marker] === true) return $o; $o = otji_JSWrapper_wrappers; if ($o !== null) { if ($isObject) { $existingRef = $o.get($jsNumber); $existing = (typeof $existingRef == 'undefined' ? 1 : 0) ? void 0 : $existingRef.deref(); if (!(typeof $existing == 'undefined' ? 1 : 0)) return $existing; $wrapper = new otji_JSWrapper; $wrapper.$js = $jsNumber; otji_JSWrapper_wrappers.set($jsNumber, new WeakRef($wrapper)); return $wrapper; } if ($type === $rt_s(5)) $isObject = 1; else if (!($rt_s(5) instanceof jl_String)) $isObject = 0; else { $o = $rt_s(5); $isObject = $type.$nativeString !== $o.$nativeString ? 0 : 1; } if ($isObject) { $existingRef = otji_JSWrapper_stringWrappers.get($jsNumber); $existing = (typeof $existingRef == 'undefined' ? 1 : 0) ? void 0 : $existingRef.deref(); if (!(typeof $existing == 'undefined' ? 1 : 0)) return $existing; $wrapper = new otji_JSWrapper; $wrapper.$js = $jsNumber; $wrapperAsJs = $wrapper; otji_JSWrapper_stringWrappers.set($jsNumber, new WeakRef($wrapperAsJs)); otji_JSWrapper_register$js_body$_4(otji_JSWrapper_stringFinalizationRegistry, $wrapperAsJs, $jsNumber); return $wrapper; } if ($type === $rt_s(390)) $isObject = 1; else if (!($rt_s(390) instanceof jl_String)) $isObject = 0; else { $o = $rt_s(390); $isObject = $type.$nativeString !== $o.$nativeString ? 0 : 1; } if ($isObject) { $existingRef = otji_JSWrapper_numberWrappers.get($jsNumber); $existing = (typeof $existingRef == 'undefined' ? 1 : 0) ? void 0 : $existingRef.deref(); if (!(typeof $existing == 'undefined' ? 1 : 0)) return $existing; $wrapper = new otji_JSWrapper; $wrapper.$js = $jsNumber; $wrapperAsJs = $wrapper; otji_JSWrapper_numberWrappers.set($jsNumber, new WeakRef($wrapperAsJs)); otji_JSWrapper_register$js_body$_4(otji_JSWrapper_numberFinalizationRegistry, $wrapperAsJs, $jsNumber); return $wrapper; } if ($type === $rt_s(391)) $isObject = 1; else if (!($rt_s(391) instanceof jl_String)) $isObject = 0; else { $o = $rt_s(391); $isObject = $type.$nativeString !== $o.$nativeString ? 0 : 1; } if ($isObject) { $existingRef = otji_JSWrapper_undefinedWrapper; $existing = $existingRef === null ? void 0 : $existingRef.deref(); if (!(typeof $existing == 'undefined' ? 1 : 0)) return $existing; $wrapper = new otji_JSWrapper; $wrapper.$js = $jsNumber; otji_JSWrapper_undefinedWrapper = new WeakRef($wrapper); return $wrapper; } } $o = new otji_JSWrapper; $o.$js = $jsNumber; return $o; }, otji_JSWrapper_hashCode = $this => { let $type, $hashCode, $code, $s, $i; $type = $rt_str(typeof $this.$js); if ($type === $rt_s(388)) $hashCode = 1; else if (!($rt_s(388) instanceof jl_String)) $hashCode = 0; else { $code = $rt_s(388); $hashCode = $type.$nativeString !== $code.$nativeString ? 0 : 1; } if (!$hashCode) { if ($type === $rt_s(392)) $hashCode = 1; else if (!($rt_s(392) instanceof jl_String)) $hashCode = 0; else { $code = $rt_s(392); $hashCode = $type.$nativeString !== $code.$nativeString ? 0 : 1; } if (!$hashCode) { if ($type === $rt_s(389)) $hashCode = 1; else if (!($rt_s(389) instanceof jl_String)) $hashCode = 0; else { $code = $rt_s(389); $hashCode = $type.$nativeString !== $code.$nativeString ? 0 : 1; } if (!$hashCode) { if ($type === $rt_s(390)) $hashCode = 1; else if (!($rt_s(390) instanceof jl_String)) $hashCode = 0; else { $code = $rt_s(390); $hashCode = $type.$nativeString !== $code.$nativeString ? 0 : 1; } if ($hashCode) return $this.$js; if ($type === $rt_s(393)) $hashCode = 1; else if (!($rt_s(393) instanceof jl_String)) $hashCode = 0; else { $code = $rt_s(393); $hashCode = $type.$nativeString !== $code.$nativeString ? 0 : 1; } if ($hashCode) return BigInt.asIntN($this.$js, 32); if ($type === $rt_s(5)) $hashCode = 1; else if (!($rt_s(5) instanceof jl_String)) $hashCode = 0; else { $code = $rt_s(5); $hashCode = $type.$nativeString !== $code.$nativeString ? 0 : 1; } if ($hashCode) { $s = $this.$js; $hashCode = 0; $i = 0; while ($i < $s.length) { $hashCode = (31 * $hashCode | 0) + $s.charCodeAt($i) | 0; $i = $i + 1 | 0; } return $hashCode; } if ($type === $rt_s(394)) $hashCode = 1; else if (!($rt_s(394) instanceof jl_String)) $hashCode = 0; else { $code = $rt_s(394); $hashCode = $type.$nativeString !== $code.$nativeString ? 0 : 1; } if (!$hashCode) return 0; return $this.$js !== !!1 ? 0 : 1; } } } otji_JSWrapper_$callClinit(); $code = otji_JSWrapper_hashCodes.get($this.$js); $code = $code === null ? null : !($code instanceof $rt_objcls()) ? $code : $code[$rt_jso_marker] === true ? $code : $code.$js; if (typeof $code == 'undefined' ? 1 : 0) { $hashCode = otji_JSWrapper_hashCodeGen + 1 | 0; otji_JSWrapper_hashCodeGen = $hashCode; $code = $hashCode; otji_JSWrapper_hashCodes.set($this.$js, $code); } return $code; }, otji_JSWrapper_equals = ($this, $obj) => { if ($obj === $this) return 1; if ($obj === null) return 0; if (!($obj instanceof otji_JSWrapper)) return 0; return $this.$js !== $obj.$js ? 0 : 1; }, otji_JSWrapper_toString = $this => { return (typeof $this.$js == 'undefined' ? 1 : 0) ? $rt_s(391) : $rt_str($this.$js.toString()); }, otji_JSWrapper__clinit_ = () => { let var$1, var$2; otji_JSWrapper_hashCodes = new WeakMap(); otji_JSWrapper_wrappers = !(typeof WeakRef !== 'undefined' ? 1 : 0) ? null : new WeakMap(); otji_JSWrapper_stringWrappers = !(typeof WeakRef !== 'undefined' ? 1 : 0) ? null : new Map(); otji_JSWrapper_numberWrappers = !(typeof WeakRef !== 'undefined' ? 1 : 0) ? null : new Map(); if (otji_JSWrapper_stringWrappers === null) var$1 = null; else { var$2 = new otji_JSWrapper$_clinit_$lambda$_33_0; var$1 = new FinalizationRegistry(otji_JS_function(var$2, "accept")); } otji_JSWrapper_stringFinalizationRegistry = var$1; if (otji_JSWrapper_numberWrappers === null) var$1 = null; else { var$2 = new otji_JSWrapper$_clinit_$lambda$_33_1; var$1 = new FinalizationRegistry(otji_JS_function(var$2, "accept")); } otji_JSWrapper_numberFinalizationRegistry = var$1; }, otji_JSWrapper_register$js_body$_4 = (var$1, var$2, var$3) => { return var$1.register(var$2, var$3); }, otj_JSObject = $rt_classWithoutFields(0), otjc_JSString = $rt_classWithoutFields(), nle_Client$WindowErrorHandler = $rt_classWithoutFields(0), nle_Client$1 = $rt_classWithoutFields(), nle_Client$1__init_ = $this => { return; }, nle_Client$1__init_0 = () => { let var_0 = new nle_Client$1(); nle_Client$1__init_(var_0); return var_0; }, nle_Client$1_call = ($this, $message, $file, $line, $col, $error) => { let $str, var$7, var$8, var$9, var$10, var$11; $str = new jl_StringBuilder; $str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(395)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(396)); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(397)); if ($file === null) $file = $rt_s(398); var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $file); var$8 = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, var$8, var$8 + 1 | 0); var$7.$buffer.data[var$8] = 58; jl_AbstractStringBuilder_insert0(var$7, var$7.$length0, $line, 10); $line = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, $line, $line + 1 | 0); var$7.$buffer.data[$line] = 58; jl_AbstractStringBuilder_insert0(var$7, var$7.$length0, $col, 10); $file = new jl_String; var$9 = var$7.$buffer; var$10 = var$9.data; $col = var$7.$length0; var$11 = var$10.length; if ($col >= 0 && $col <= (var$11 - 0 | 0)) { $file.$nativeString = $rt_charArrayToString(var$9.data, 0, $col); jl_AbstractStringBuilder_insert($str, $str.$length0, $file); $col = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, $col, $col + 1 | 0); $str.$buffer.data[$col] = 10; jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(399)); $file = $error === null ? $rt_s(400) : $rt_str($error.name); jl_AbstractStringBuilder_insert($str, $str.$length0, $file); $col = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, $col, $col + 1 | 0); $str.$buffer.data[$col] = 10; if ($error !== null) { jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(401)); $file = $rt_str($error.message) === null ? $rt_s(1) : $rt_str($error.message); jl_AbstractStringBuilder_insert($str, $str.$length0, $file); $col = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, $col, $col + 1 | 0); $str.$buffer.data[$col] = 10; } if ($message !== null && !($error !== null && $rt_str($error.message) !== null && jl_String_endsWith($message, $rt_str($error.message)))) { jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(401)); jl_AbstractStringBuilder_insert($str, $str.$length0, $message); var$11 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$11, var$11 + 1 | 0); $str.$buffer.data[var$11] = 10; } jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(402)); $message = $rt_str($error.stack) === null ? $rt_s(403) : $rt_str($error.stack); jl_AbstractStringBuilder_insert($str, $str.$length0, $message); $col = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, $col, $col + 1 | 0); var$9 = $str.$buffer; var$10 = var$9.data; var$10[$col] = 10; $message = new jl_String; $col = $str.$length0; var$11 = var$10.length; if ($col >= 0 && $col <= (var$11 - 0 | 0)) { $message.$nativeString = $rt_charArrayToString(var$9.data, 0, $col); nle_Client_showCrashScreen($message); return; } $message = new jl_IndexOutOfBoundsException; $message.$suppressionEnabled = 1; $message.$writableStackTrace = 1; $rt_throw($message); } $message = new jl_IndexOutOfBoundsException; $message.$suppressionEnabled = 1; $message.$writableStackTrace = 1; $rt_throw($message); }, nle_Client$1_call$exported$0 = (var$0, var$1, var$2, var$3, var$4, var$5) => { nle_Client$1_call(var$0, $rt_str(var$1), $rt_str(var$2), var$3, var$4, var$5); }; function nle_BaseNCodec() { let a = this; jl_Object.call(a); a.$PAD = 61; a.$pad = 0; a.$unencodedBlockSize = 0; a.$encodedBlockSize = 0; a.$lineLength = 0; a.$chunkSeparatorLength = 0; a.$decodingPolicy = null; } let nle_BaseNCodec_CHUNK_SEPARATOR = null, nle_BaseNCodec_resizeBuffer = ($context, $minCapacity) => { let var$3, $oldCapacity, $newCapacity, var$6, var$7, var$8, var$9, $b; var$3 = $context.$buffer1; $oldCapacity = var$3.data.length; $newCapacity = $oldCapacity * 2 | 0; var$6 = $rt_compare($newCapacity + (-2147483648) | 0, $minCapacity + (-2147483648) | 0); if ((var$6 < 0 ? (-1) : var$6 ? 1 : 0) < 0) $newCapacity = $minCapacity; var$6 = $rt_compare($newCapacity + (-2147483648) | 0, (-9)); if ((var$6 < 0 ? (-1) : var$6 ? 1 : 0) <= 0) $minCapacity = $newCapacity; else { if ($minCapacity < 0) { $context = new jl_OutOfMemoryError; var$7 = Long_and(Long_fromInt($minCapacity), Long_create(4294967295, 0)); var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(404)); jl_AbstractStringBuilder_insert2(var$8, var$8.$length0, var$7, 10); var$9 = new jl_String; var$3 = var$8.$buffer; $b = var$3.data; $newCapacity = var$8.$length0; $oldCapacity = $b.length; if ($newCapacity >= 0 && $newCapacity <= ($oldCapacity - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$3.data, 0, $newCapacity); $context.$suppressionEnabled = 1; $context.$writableStackTrace = 1; $context.$message = var$9; $rt_throw($context); } $context = new jl_IndexOutOfBoundsException; $context.$suppressionEnabled = 1; $context.$writableStackTrace = 1; $rt_throw($context); } if ($minCapacity <= 2147483639) $minCapacity = 2147483639; } $b = $rt_createByteArray($minCapacity); jl_System_fastArraycopy(var$3, 0, $b, 0, $oldCapacity); $context.$buffer1 = $b; return $b; }, nle_BaseNCodec_containsAlphabetOrPad = ($this, $arrayOctet) => { let var$2, var$3, $element, var$5; if ($arrayOctet === null) return 0; $arrayOctet = $arrayOctet.data; var$2 = $arrayOctet.length; var$3 = 0; a: { while (var$3 < var$2) { $element = $arrayOctet[var$3]; if ($this.$pad == $element) break a; b: { if ($element >= 0) { var$5 = $this.$decodeTable.data; if ($element < var$5.length && var$5[$element] != (-1)) { $element = 1; break b; } } $element = 0; } if ($element) break a; var$3 = var$3 + 1 | 0; } return 0; } return 1; }, nle_BaseNCodec_ensureBufferSize = ($this, $size, $context) => { let var$3, var$4; a: { var$3 = $context.$buffer1; if (var$3 !== null) { var$3 = var$3.data; $size = $context.$pos0 + $size | 0; if (($size - var$3.length | 0) <= 0) break a; return nle_BaseNCodec_resizeBuffer($context, $size); } var$4 = 8192; if ($size > var$4) var$4 = $size; $context.$buffer1 = $rt_createByteArray(var$4); $context.$pos0 = 0; $context.$readPos = 0; } return $context.$buffer1; }, nle_BaseNCodec_getEncodedLength = ($this, $pArray) => { let var$2, var$3, $len, var$5; var$2 = $pArray.data.length; var$3 = $this.$unencodedBlockSize; $len = Long_mul(Long_fromInt(((var$2 + var$3 | 0) - 1 | 0) / var$3 | 0), Long_fromInt($this.$encodedBlockSize)); var$2 = $this.$lineLength; if (var$2 > 0) { var$5 = Long_fromInt(var$2); $len = Long_add($len, Long_mul(Long_div(Long_sub(Long_add($len, var$5), Long_fromInt(1)), var$5), Long_fromInt($this.$chunkSeparatorLength))); } return $len; }, nle_BaseNCodec_readResults = ($this, $b, $bPos, $len, $context) => { let var$5, $len_0, var$7; var$5 = $context.$buffer1; if (var$5 === null) return !$context.$eof0 ? 0 : (-1); $len_0 = $context.$pos0; var$7 = $context.$readPos; $len_0 = $len_0 - var$7 | 0; if ($len_0 < $len) $len = $len_0; jl_System_fastArraycopy(var$5, var$7, $b, $bPos, $len); $bPos = $context.$readPos + $len | 0; $context.$readPos = $bPos; if ($bPos >= $context.$pos0) $context.$buffer1 = null; return $len; }, nle_BaseNCodec__clinit_ = () => { nle_BaseNCodec_CHUNK_SEPARATOR = $rt_createByteArrayFromData([13, 10]); }; function nle_Base64() { let a = this; nle_BaseNCodec.call(a); a.$encodeTable = null; a.$decodeTable = null; a.$lineSeparator = null; a.$decodeSize = 0; a.$encodeSize = 0; } let nle_Base64_STANDARD_ENCODE_TABLE = null, nle_Base64_URL_SAFE_ENCODE_TABLE = null, nle_Base64_DECODE_TABLE = null, nle_Base64_decodeBase64 = $base64String => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $$je; var$2 = nle_Base64__init_(0, nle_BaseNCodec_CHUNK_SEPARATOR, 0, nle_BaseNCodec$CodecPolicy_LENIANT); jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$3 = jnc_Charset$Charsets_value; var$4 = $rt_s(86).$nativeString.toUpperCase(); var$5 = var$4 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$4); a: { if (!var$5.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$5.$nativeString.length) break a; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$8 = var$3.$elementData.data; var$3 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$7) { b: { var$4 = var$3.$key; if (var$5 !== var$4) { if (var$5 === var$4) var$6 = 1; else if (!(var$4 instanceof jl_String)) var$6 = 0; else { var$4 = var$4; var$6 = var$5.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$3 = var$3.$next3; } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { $base64String = new jnc_UnsupportedCharsetException; $base64String.$suppressionEnabled = 1; $base64String.$writableStackTrace = 1; $base64String.$charsetName = $rt_s(86); $rt_throw($base64String); } var$8 = $rt_fastStringToCharArray($base64String.$nativeString); var$9 = var$8.data.length; $base64String = new jn_CharBufferOverArray; var$10 = 0 + var$9 | 0; jl_Object__init_($base64String); $base64String.$mark = (-1); $base64String.$capacity = var$9; $base64String.$limit0 = var$9; $base64String.$position0 = 0; $base64String.$limit0 = var$10; $base64String.$start1 = 0; $base64String.$readOnly1 = 0; $base64String.$array1 = var$8; c: { try { $base64String = jnc_CharsetEncoder_encode(jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput(var$3.$newEncoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), $base64String); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { var$2 = $$je; } else { throw $$e; } } var$11 = new jl_AssertionError; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; var$11.$message = $rt_s(405); var$11.$cause = var$2; $rt_throw(var$11); } var$7 = $base64String.$position0; if (!var$7 && $base64String.$limit0 == $base64String.$capacity) var$8 = $base64String.$array0; else { var$8 = $rt_createByteArray($base64String.$limit0 - var$7 | 0); jn_ByteBuffer_get($base64String, var$8, 0, var$8.data.length); } if (var$8 !== null) { var$9 = var$8.data.length; if (var$9) { $base64String = new nle_BaseNCodec$Context; nle_Base64_decode(var$2, var$8, 0, var$9, $base64String); nle_Base64_decode(var$2, var$8, 0, (-1), $base64String); var$8 = $rt_createByteArray($base64String.$pos0); nle_BaseNCodec_readResults(var$2, var$8, 0, var$8.data.length, $base64String); } } return var$8; }, nle_Base64_encodeBase64 = ($binaryData, $isChunked, $urlSafe, $maxResultSize) => { let var$5, $b64, $len, var$8, var$9, var$10; if ($binaryData !== null) { var$5 = $binaryData.data.length; if (var$5) { $b64 = !$isChunked ? nle_Base64__init_(0, nle_BaseNCodec_CHUNK_SEPARATOR, $urlSafe, nle_BaseNCodec$CodecPolicy_LENIANT) : nle_Base64__init_(76, nle_BaseNCodec_CHUNK_SEPARATOR, $urlSafe, nle_BaseNCodec$CodecPolicy_LENIANT); $len = nle_BaseNCodec_getEncodedLength($b64, $binaryData); if (Long_le($len, Long_fromInt($maxResultSize))) { if (var$5 && var$5) { var$8 = new nle_BaseNCodec$Context; nle_Base64_encode($b64, $binaryData, 0, var$5, var$8); nle_Base64_encode($b64, $binaryData, 0, (-1), var$8); $binaryData = $rt_createByteArray(var$8.$pos0 - var$8.$readPos | 0); nle_BaseNCodec_readResults($b64, $binaryData, 0, $binaryData.data.length, var$8); } return $binaryData; } $b64 = new jl_IllegalArgumentException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(406)); jl_AbstractStringBuilder_insert2(var$8, var$8.$length0, $len, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(407)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $maxResultSize, 10); var$9 = new jl_String; $binaryData = var$8.$buffer; var$10 = $binaryData.data; $urlSafe = var$8.$length0; $maxResultSize = var$10.length; if ($urlSafe >= 0 && $urlSafe <= ($maxResultSize - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($binaryData.data, 0, $urlSafe); $b64.$suppressionEnabled = 1; $b64.$writableStackTrace = 1; $b64.$message = var$9; $rt_throw($b64); } $b64 = new jl_IndexOutOfBoundsException; $b64.$suppressionEnabled = 1; $b64.$writableStackTrace = 1; $rt_throw($b64); } } return $binaryData; }, nle_Base64_encodeBase64String = $binaryData => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $$je; var$2 = new jl_String; var$3 = nle_Base64_encodeBase64($binaryData, 0, 0, 2147483647); jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$4 = jnc_Charset$Charsets_value; var$5 = $rt_s(86).$nativeString.toUpperCase(); var$6 = var$5 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$5); a: { if (!var$6.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$6.$nativeString.length) break a; var$6.$hashCode1 = (31 * var$6.$hashCode1 | 0) + var$6.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$8 = var$6.$hashCode1; $binaryData = var$4.$elementData.data; var$4 = $binaryData[var$8 & ($binaryData.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$8) { b: { var$5 = var$4.$key; if (var$6 !== var$5) { if (var$6 === var$5) var$7 = 1; else if (!(var$5 instanceof jl_String)) var$7 = 0; else { var$5 = var$5; var$7 = var$6.$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$4 = var$4.$next3; } var$4 = var$4 === null ? null : var$4.$value1; if (var$4 === null) { var$2 = new jnc_UnsupportedCharsetException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$charsetName = $rt_s(86); $rt_throw(var$2); } var$9 = var$3.data.length; if (var$9 >= 0 && var$9 <= (var$9 - 0 | 0)) { var$5 = new jn_ByteBufferImpl; var$10 = 0 + var$9 | 0; var$5.$mark = (-1); var$5.$capacity = var$9; var$5.$limit0 = var$9; var$5.$order = jn_ByteOrder_BIG_ENDIAN; var$5.$start = 0; var$5.$array0 = var$3; var$5.$position0 = 0; var$5.$limit0 = var$10; var$5.$direct = 0; var$5.$readOnly0 = 0; c: { try { var$11 = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$4.$newDecoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$5); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { var$11 = $$je; } else { throw $$e; } } var$4 = new jl_AssertionError; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(405); var$4.$cause = var$11; $rt_throw(var$4); } var$8 = var$11.$position0; if (!var$8 && var$11.$limit0 == var$11.$capacity) $binaryData = var$11.$array1; else { $binaryData = $rt_createCharArray(var$11.$limit0 - var$8 | 0); jn_CharBuffer_get(var$11, $binaryData, 0, $binaryData.data.length); } var$2.$nativeString = $rt_fullArrayToString($binaryData.data); return var$2; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, nle_Base64__init_0 = $this => { nle_Base64__init_1($this, 0, nle_BaseNCodec_CHUNK_SEPARATOR, 0, nle_BaseNCodec$CodecPolicy_LENIANT); }, nle_Base64__init_2 = () => { let var_0 = new nle_Base64(); nle_Base64__init_0(var_0); return var_0; }, nle_Base64__init_1 = ($this, $lineLength, $lineSeparator, $urlSafe, $decodingPolicy) => { let var$5, $sep, var$7, var$8, var$9, var$10, var$11, var$12, $$je; var$5 = $lineSeparator === null ? 0 : $lineSeparator.data.length; $this.$PAD = 61; $this.$unencodedBlockSize = 3; $this.$encodedBlockSize = 4; $this.$lineLength = !($lineLength > 0 && var$5 > 0 ? 1 : 0) ? 0 : ($lineLength / 4 | 0) * 4 | 0; $this.$chunkSeparatorLength = var$5; $this.$pad = 61; $this.$decodingPolicy = $decodingPolicy; $this.$decodeTable = nle_Base64_DECODE_TABLE; if ($lineSeparator === null) { $this.$encodeSize = 4; $this.$lineSeparator = null; } else { if (nle_BaseNCodec_containsAlphabetOrPad($this, $lineSeparator)) { $sep = new jl_String; jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$7 = jnc_Charset$Charsets_value; var$8 = $rt_s(86).$nativeString.toUpperCase(); var$9 = var$8 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$8); a: { if (!var$9.$hashCode1) { $lineLength = 0; while (true) { if ($lineLength >= var$9.$nativeString.length) break a; var$9.$hashCode1 = (31 * var$9.$hashCode1 | 0) + var$9.$nativeString.charCodeAt($lineLength) | 0; $lineLength = $lineLength + 1 | 0; } } } $urlSafe = var$9.$hashCode1; var$10 = var$7.$elementData.data; var$7 = var$10[$urlSafe & (var$10.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == $urlSafe) { b: { var$8 = var$7.$key; if (var$9 !== var$8) { if (var$9 === var$8) $lineLength = 1; else if (!(var$8 instanceof jl_String)) $lineLength = 0; else { var$8 = var$8; $lineLength = var$9.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!$lineLength) { $lineLength = 0; break b; } } $lineLength = 1; } if ($lineLength) break; } var$7 = var$7.$next3; } var$8 = var$7 === null ? null : var$7.$value1; if (var$8 === null) { $sep = new jnc_UnsupportedCharsetException; $sep.$suppressionEnabled = 1; $sep.$writableStackTrace = 1; $sep.$charsetName = $rt_s(86); $rt_throw($sep); } $urlSafe = $lineSeparator.data.length; if ($urlSafe >= 0 && $urlSafe <= ($urlSafe - 0 | 0)) { $decodingPolicy = new jn_ByteBufferImpl; var$11 = 0 + $urlSafe | 0; $decodingPolicy.$mark = (-1); $decodingPolicy.$capacity = $urlSafe; $decodingPolicy.$limit0 = $urlSafe; $decodingPolicy.$order = jn_ByteOrder_BIG_ENDIAN; $decodingPolicy.$start = 0; $decodingPolicy.$array0 = $lineSeparator; $decodingPolicy.$position0 = 0; $decodingPolicy.$limit0 = var$11; $decodingPolicy.$direct = 0; $decodingPolicy.$readOnly0 = 0; c: { try { $decodingPolicy = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$8.$newDecoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), $decodingPolicy); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $sep = $$je; } else { throw $$e; } } var$7 = new jl_AssertionError; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $rt_s(405); var$7.$cause = $sep; $rt_throw(var$7); } var$12 = $decodingPolicy.$position0; if (!var$12 && $decodingPolicy.$limit0 == $decodingPolicy.$capacity) $lineSeparator = $decodingPolicy.$array1; else { $lineSeparator = $rt_createCharArray($decodingPolicy.$limit0 - var$12 | 0); jn_CharBuffer_get($decodingPolicy, $lineSeparator, 0, $lineSeparator.data.length); } $sep.$nativeString = $rt_fullArrayToString($lineSeparator.data); $decodingPolicy = new jl_IllegalArgumentException; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(408)); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $sep); $urlSafe = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, $urlSafe, $urlSafe + 1 | 0); $lineSeparator = var$7.$buffer; var$10 = $lineSeparator.data; var$10[$urlSafe] = 93; $sep = new jl_String; $urlSafe = var$7.$length0; var$12 = var$10.length; if ($urlSafe >= 0 && $urlSafe <= (var$12 - 0 | 0)) { $sep.$nativeString = $rt_charArrayToString($lineSeparator.data, 0, $urlSafe); $decodingPolicy.$suppressionEnabled = 1; $decodingPolicy.$writableStackTrace = 1; $decodingPolicy.$message = $sep; $rt_throw($decodingPolicy); } $decodingPolicy = new jl_IndexOutOfBoundsException; $decodingPolicy.$suppressionEnabled = 1; $decodingPolicy.$writableStackTrace = 1; $rt_throw($decodingPolicy); } $decodingPolicy = new jl_IndexOutOfBoundsException; $decodingPolicy.$suppressionEnabled = 1; $decodingPolicy.$writableStackTrace = 1; $rt_throw($decodingPolicy); } if ($lineLength <= 0) { $this.$encodeSize = 4; $this.$lineSeparator = null; } else { var$12 = $lineSeparator.data.length; $this.$encodeSize = 4 + var$12 | 0; var$10 = $rt_createByteArray(var$12); $this.$lineSeparator = var$10; jl_System_fastArraycopy($lineSeparator, 0, var$10, 0, var$12); } } $this.$decodeSize = $this.$encodeSize - 1 | 0; $this.$encodeTable = !$urlSafe ? nle_Base64_STANDARD_ENCODE_TABLE : nle_Base64_URL_SAFE_ENCODE_TABLE; }, nle_Base64__init_ = (var_0, var_1, var_2, var_3) => { let var_4 = new nle_Base64(); nle_Base64__init_1(var_4, var_0, var_1, var_2, var_3); return var_4; }, nle_Base64_decode = ($this, $in, $inPos, $inAvail, $context) => { let $i, $buffer, $buffer_0, var$8, $b, $result, var$11, var$12; if ($context.$eof0) return; if ($inAvail < 0) $context.$eof0 = 1; $i = 0; a: { while (true) { if ($i >= $inAvail) break a; $buffer = $in.data; $buffer_0 = nle_BaseNCodec_ensureBufferSize($this, $this.$decodeSize, $context); var$8 = $inPos + 1 | 0; $b = $buffer[$inPos]; if ($b == $this.$pad) break; if ($b >= 0) { $buffer = nle_Base64_DECODE_TABLE.data; if ($b < $buffer.length) { $result = $buffer[$b]; if ($result >= 0) { $inPos = ($context.$modulus + 1 | 0) % 4 | 0; $context.$modulus = $inPos; $result = ($context.$ibitWorkArea << 6) + $result | 0; $context.$ibitWorkArea = $result; if (!$inPos) { $buffer = $buffer_0.data; $inPos = $context.$pos0; $b = $inPos + 1 | 0; $context.$pos0 = $b; $buffer[$inPos] = ($result >> 16 & 255) << 24 >> 24; $inPos = $b + 1 | 0; $context.$pos0 = $inPos; $buffer[$b] = ($result >> 8 & 255) << 24 >> 24; $context.$pos0 = $inPos + 1 | 0; $buffer[$inPos] = ($result & 255) << 24 >> 24; } } } } $i = $i + 1 | 0; $inPos = var$8; } $context.$eof0 = 1; } b: { if ($context.$eof0 && $context.$modulus) { $buffer = nle_BaseNCodec_ensureBufferSize($this, $this.$decodeSize, $context); $inPos = $context.$modulus; switch ($inPos) { case 1: break; case 2: $inAvail = $this.$decodingPolicy !== nle_BaseNCodec$CodecPolicy_STRICT ? 0 : 1; if ($inAvail && $context.$ibitWorkArea & 15) { var$11 = new jl_IllegalArgumentException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; var$11.$message = $rt_s(409); $rt_throw(var$11); } $in = $buffer.data; $inAvail = $context.$ibitWorkArea >> 4; $context.$ibitWorkArea = $inAvail; $i = $context.$pos0; $context.$pos0 = $i + 1 | 0; $in[$i] = ($inAvail & 255) << 24 >> 24; break b; case 3: $inAvail = $this.$decodingPolicy !== nle_BaseNCodec$CodecPolicy_STRICT ? 0 : 1; if ($inAvail && $context.$ibitWorkArea & 3) { var$11 = new jl_IllegalArgumentException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; var$11.$message = $rt_s(409); $rt_throw(var$11); } $in = $buffer.data; $inPos = $context.$ibitWorkArea >> 2; $context.$ibitWorkArea = $inPos; $inAvail = $context.$pos0; $i = $inAvail + 1 | 0; $context.$pos0 = $i; $in[$inAvail] = ($inPos >> 8 & 255) << 24 >> 24; $context.$pos0 = $i + 1 | 0; $in[$i] = ($inPos & 255) << 24 >> 24; break b; default: $context = new jl_IllegalStateException; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(410)); jl_AbstractStringBuilder_insert0(var$11, var$11.$length0, $inPos, 10); var$12 = new jl_String; $in = var$11.$buffer; $buffer = $in.data; $inAvail = var$11.$length0; $i = $buffer.length; if ($inAvail >= 0 && $inAvail <= ($i - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString($in.data, 0, $inAvail); $context.$suppressionEnabled = 1; $context.$writableStackTrace = 1; $context.$message = var$12; $rt_throw($context); } $context = new jl_IndexOutOfBoundsException; $context.$suppressionEnabled = 1; $context.$writableStackTrace = 1; $rt_throw($context); } if ($this.$decodingPolicy !== nle_BaseNCodec$CodecPolicy_STRICT ? 0 : 1) { var$11 = new jl_IllegalArgumentException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; var$11.$message = $rt_s(411); $rt_throw(var$11); } } } }, nle_Base64_encode = ($this, $in, $inPos, $inAvail, $context) => { let $i, $buffer, $buffer_0, $savedPos, var$9, $b, var$11, var$12, var$13, var$14; if ($context.$eof0) return; a: { if ($inAvail >= 0) { $i = 0; while (true) { if ($i >= $inAvail) break a; $buffer = $in.data; $buffer_0 = nle_BaseNCodec_ensureBufferSize($this, $this.$encodeSize, $context); $savedPos = ($context.$modulus + 1 | 0) % 3 | 0; $context.$modulus = $savedPos; var$9 = $inPos + 1 | 0; $b = $buffer[$inPos]; if ($b < 0) $b = $b + 256 | 0; $b = ($context.$ibitWorkArea << 8) + $b | 0; $context.$ibitWorkArea = $b; if (0 == $savedPos) { $buffer = $buffer_0.data; $savedPos = $context.$pos0; $inPos = $savedPos + 1 | 0; $context.$pos0 = $inPos; var$11 = $this.$encodeTable.data; $buffer[$savedPos] = var$11[$b >> 18 & 63]; $savedPos = $inPos + 1 | 0; $context.$pos0 = $savedPos; $buffer[$inPos] = var$11[$b >> 12 & 63]; var$12 = $savedPos + 1 | 0; $context.$pos0 = var$12; $buffer[$savedPos] = var$11[$b >> 6 & 63]; $inPos = var$12 + 1 | 0; $context.$pos0 = $inPos; $buffer[var$12] = var$11[$b & 63]; $savedPos = $context.$currentLinePos + 4 | 0; $context.$currentLinePos = $savedPos; $b = $this.$lineLength; if ($b > 0 && $b <= $savedPos) { $buffer = $this.$lineSeparator; jl_System_fastArraycopy($buffer, 0, $buffer_0, $inPos, $buffer.data.length); $context.$pos0 = $context.$pos0 + $this.$lineSeparator.data.length | 0; $context.$currentLinePos = 0; } } $i = $i + 1 | 0; $inPos = var$9; } } $context.$eof0 = 1; if (0 == $context.$modulus && !$this.$lineLength) return; b: { c: { $buffer = nle_BaseNCodec_ensureBufferSize($this, $this.$encodeSize, $context); $savedPos = $context.$pos0; $inPos = $context.$modulus; switch ($inPos) { case 0: break; case 1: $buffer_0 = $buffer.data; $inPos = $savedPos + 1 | 0; $context.$pos0 = $inPos; $in = $this.$encodeTable; var$11 = $in.data; $i = $context.$ibitWorkArea; $buffer_0[$savedPos] = var$11[$i >> 2 & 63]; $inAvail = $inPos + 1 | 0; $context.$pos0 = $inAvail; $buffer_0[$inPos] = var$11[$i << 4 & 63]; if ($in !== nle_Base64_STANDARD_ENCODE_TABLE) break b; $inPos = $inAvail + 1 | 0; $context.$pos0 = $inPos; $b = $this.$pad; $buffer_0[$inAvail] = $b; $context.$pos0 = $inPos + 1 | 0; $buffer_0[$inPos] = $b; break b; case 2: break c; default: $context = new jl_IllegalStateException; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, $rt_s(410)); jl_AbstractStringBuilder_insert0(var$13, var$13.$length0, $inPos, 10); var$14 = new jl_String; $in = var$13.$buffer; $buffer = $in.data; $inAvail = var$13.$length0; $savedPos = $buffer.length; if ($inAvail >= 0 && $inAvail <= ($savedPos - 0 | 0)) { var$14.$nativeString = $rt_charArrayToString($in.data, 0, $inAvail); $context.$suppressionEnabled = 1; $context.$writableStackTrace = 1; $context.$message = var$14; $rt_throw($context); } $context = new jl_IndexOutOfBoundsException; $context.$suppressionEnabled = 1; $context.$writableStackTrace = 1; $rt_throw($context); } break b; } $buffer_0 = $buffer.data; $inAvail = $savedPos + 1 | 0; $context.$pos0 = $inAvail; $in = $this.$encodeTable; var$11 = $in.data; $b = $context.$ibitWorkArea; $buffer_0[$savedPos] = var$11[$b >> 10 & 63]; $inPos = $inAvail + 1 | 0; $context.$pos0 = $inPos; $buffer_0[$inAvail] = var$11[$b >> 4 & 63]; $inAvail = $inPos + 1 | 0; $context.$pos0 = $inAvail; $buffer_0[$inPos] = var$11[$b << 2 & 63]; if ($in === nle_Base64_STANDARD_ENCODE_TABLE) { $context.$pos0 = $inAvail + 1 | 0; $buffer_0[$inAvail] = $this.$pad; } } $inPos = $context.$currentLinePos; $inAvail = $context.$pos0; $inPos = $inPos + ($inAvail - $savedPos | 0) | 0; $context.$currentLinePos = $inPos; if ($this.$lineLength > 0 && $inPos > 0) { $in = $this.$lineSeparator; jl_System_fastArraycopy($in, 0, $buffer, $inAvail, $in.data.length); $context.$pos0 = $context.$pos0 + $this.$lineSeparator.data.length | 0; } } }, nle_Base64__clinit_ = () => { nle_Base64_STANDARD_ENCODE_TABLE = $rt_createByteArrayFromData([65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 43, 47]); nle_Base64_URL_SAFE_ENCODE_TABLE = $rt_createByteArrayFromData([65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 45, 95]); nle_Base64_DECODE_TABLE = $rt_createByteArrayFromData([(-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), (-1), 62, (-1), 62, (-1), 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, (-1), (-1), (-1), (-1), (-1), (-1), (-1), 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, (-1), (-1), (-1), (-1), 63, (-1), 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51]); }, nms_CompressedStreamTools = $rt_classWithoutFields(), nms_CompressedStreamTools__init_ = $this => { return; }, nms_CompressedStreamTools__init_0 = () => { let var_0 = new nms_CompressedStreamTools(); nms_CompressedStreamTools__init_(var_0); return var_0; }, nms_CompressedStreamTools_readUncompressed = $par0ArrayOfByte => { let var$2, $var1, $var2, var$5, var$6, $$je; var$2 = $par0ArrayOfByte.data; $var1 = new ji_DataInputStream; $var2 = new ji_BufferedInputStream; var$5 = new ji_ByteArrayInputStream; var$6 = var$2.length; var$5.$buf3 = $par0ArrayOfByte; var$5.$pos1 = 0; var$5.$mark1 = 0; var$5.$count0 = 0 + var$6 | 0; $var2.$in = var$5; $var2.$markpos = (-1); $var2.$buf2 = $rt_createByteArray(8192); $var1.$in = $var2; $var1.$buff = $rt_createByteArray(8); a: { try { $var2 = nms_CompressedStreamTools_read($var1); break a; } catch ($$e) { $$je = $rt_wrapException($$e); $var2 = $$je; } $var1.$in.$close(); $rt_throw($var2); } $var1.$in.$close(); return $var2; }, nms_CompressedStreamTools_writeUncompressed = $par0NBTTagCompound => { let $var1, $var2, var$4, var$5, var$6, var$7, var$8, $$je; $var1 = new ji_ByteArrayOutputStream; $var1.$buf = $rt_createByteArray(32); $var2 = new ji_DataOutputStream; $var2.$out0 = $var1; $var2.$buff0 = $rt_createByteArray(8); a: { try { nms_CompressedStreamTools_write($par0NBTTagCompound, $var2); break a; } catch ($$e) { $$je = $rt_wrapException($$e); $par0NBTTagCompound = $$je; } b: { try { $var2.$out0.$flush(); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $var2.$out0.$close(); $rt_throw($par0NBTTagCompound); } c: { try { $var2.$out0.$flush(); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $var2.$out0.$close(); var$4 = $var1.$buf.data; var$5 = $var1.$count2; var$6 = $rt_createByteArray(var$5); var$7 = var$4.length; if (var$5 < var$7) var$7 = var$5; var$8 = var$6.data; var$5 = 0; while (var$5 < var$7) { var$8[var$5] = var$4[var$5]; var$5 = var$5 + 1 | 0; } return var$6; }, nms_CompressedStreamTools_read = $par0DataInput => { let var$2, var$3, $var1, var$5, var$6; var$2 = $par0DataInput.$in.$read(); if (var$2 < 0) { $par0DataInput = new ji_EOFException; $par0DataInput.$suppressionEnabled = 1; $par0DataInput.$writableStackTrace = 1; $rt_throw($par0DataInput); } var$3 = var$2 << 24 >> 24; if (!var$3) { $var1 = new nms_NBTTagEnd; $var1.$name = $rt_s(18); } else { var$2 = ji_DataInputStream_readUnsignedShort($par0DataInput); var$5 = $rt_createByteArray(var$2); var$6 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($par0DataInput, var$5, 0, var$2); $var1 = nms_NBTBase_newTag(var$3, ji_DataInputStream_convertUTF8WithBuf(var$5, var$6, 0, var$2)); $var1.$load($par0DataInput, 0); } if ($var1 instanceof nms_NBTTagCompound) return $var1; $var1 = new ji_IOException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $var1.$message = $rt_s(412); $rt_throw($var1); }, nms_CompressedStreamTools_write = ($par0NBTTagCompound, $par1DataOutput) => { let var$3, var$4, var$5, var$6, var$7; $par1DataOutput.$out0.$write1(10); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; var$3 = $par0NBTTagCompound.$name; if (var$3 === null) var$3 = $rt_s(18); var$4 = ji_DataOutputStream_countUTFBytes($par1DataOutput, var$3); if (Long_gt(var$4, Long_fromInt(65535))) { $par0NBTTagCompound = new ji_IOException; $par0NBTTagCompound.$suppressionEnabled = 1; $par0NBTTagCompound.$writableStackTrace = 1; $par0NBTTagCompound.$message = $rt_s(413); $rt_throw($par0NBTTagCompound); } var$5 = Long_lo(var$4); var$6 = $rt_createByteArray(var$5 + 2 | 0); var$7 = var$6.data; var$7[0] = var$5 >> 8 << 24 >> 24; var$7[1] = var$5 << 24 >> 24; var$5 = ji_DataOutputStream_writeUTFBytesToBuffer($par1DataOutput, var$3, var$6, 2); $par1DataOutput.$out0.$write4(var$6, 0, var$5); $par1DataOutput.$written = $par1DataOutput.$written + var$5 | 0; nms_NBTTagCompound_write($par0NBTTagCompound, $par1DataOutput); }, ji_IOException = $rt_classWithoutFields(jl_Exception), ji_IOException__init_1 = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, ji_IOException__init_2 = () => { let var_0 = new ji_IOException(); ji_IOException__init_1(var_0); return var_0; }, ji_IOException__init_ = ($this, $message) => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; $this.$message = $message; }, ji_IOException__init_0 = var_0 => { let var_1 = new ji_IOException(); ji_IOException__init_(var_1, var_0); return var_1; }, nle_ConfigConstants = $rt_classWithoutFields(), nle_ConfigConstants_ayonullTitle = null, nle_ConfigConstants_ayonullLink = null, nle_ConfigConstants_mainMenuItemLine0 = null, nle_ConfigConstants_mainMenuItemLine1 = null, nle_ConfigConstants_mainMenuItemLine2 = null, nle_ConfigConstants_mainMenuItemLink = null, nle_ConfigConstants_splashTexts = null, nle_ConfigConstants_relays = null, nle_ConfigConstants_eaglercraftTitleLogo = 0, nle_ConfigConstants_panoramaBlur = 0, nle_ConfigConstants__init_ = $this => { return; }, nle_ConfigConstants__init_0 = () => { let var_0 = new nle_ConfigConstants(); nle_ConfigConstants__init_(var_0); return var_0; }, nle_ConfigConstants__clinit_ = () => { let var$1, var$2; nle_ConfigConstants_ayonullTitle = null; nle_ConfigConstants_ayonullLink = null; nle_ConfigConstants_mainMenuItemLine0 = null; nle_ConfigConstants_mainMenuItemLine1 = null; nle_ConfigConstants_mainMenuItemLine2 = null; nle_ConfigConstants_mainMenuItemLink = null; var$1 = $rt_wrapArray(jl_String, [$rt_s(414), $rt_s(415), $rt_s(416), $rt_s(417), $rt_s(418), $rt_s(419), $rt_s(420), $rt_s(421), $rt_s(422), $rt_s(423), $rt_s(424), $rt_s(425), $rt_s(426), $rt_s(427), $rt_s(428), $rt_s(429)]); var$2 = new ju_Arrays$ArrayAsList; var$2.$array2 = var$1; nle_ConfigConstants_splashTexts = var$2; nle_ConfigConstants_relays = null; nle_ConfigConstants_eaglercraftTitleLogo = 0; nle_ConfigConstants_panoramaBlur = 1; }, jl_Iterable = $rt_classWithoutFields(0), ju_Collection = $rt_classWithoutFields(0), ju_AbstractCollection = $rt_classWithoutFields(), ju_AbstractCollection__init_ = $this => { return; }, ju_AbstractCollection_isEmpty = $this => { return $this.$size() ? 0 : 1; }, ju_AbstractCollection_contains = ($this, $o) => { let $iter, $e; $iter = $this.$iterator(); while ($iter.$hasNext()) { $e = $iter.$next(); if ($e === $o ? 1 : $e !== null ? $e.$equals($o) : $o !== null ? 0 : 1) return 1; } return 0; }, ju_AbstractCollection_toArray = ($this, $a) => { let var$2, $i, var$4, $iter, var$6; var$2 = $a.data; $i = $this.$size(); var$4 = var$2.length; if (var$4 >= $i) while ($i < var$4) { var$2[$i] = null; $i = $i + 1 | 0; } else { $iter = $a.constructor; if ($iter === null) $a = null; else { $a = $iter.classObject; if ($a === null) { $a = new jl_Class; $a.$platformClass = $iter; $iter.classObject = $a; } } var$6 = $a.$platformClass.$meta.item; if (var$6 === null) $iter = null; else { $iter = var$6.classObject; if ($iter === null) { $iter = new jl_Class; $iter.$platformClass = var$6; var$6.classObject = $iter; } } if ($iter === null) { $a = new jl_NullPointerException; $a.$suppressionEnabled = 1; $a.$writableStackTrace = 1; $rt_throw($a); } if ($iter === $rt_cls($rt_voidcls)) { $a = new jl_IllegalArgumentException; $a.$suppressionEnabled = 1; $a.$writableStackTrace = 1; $rt_throw($a); } if ($i < 0) { $a = new jl_NegativeArraySizeException; $a.$suppressionEnabled = 1; $a.$writableStackTrace = 1; $rt_throw($a); } $a = jlr_Array_newInstanceImpl($iter.$platformClass, $i); } $i = 0; $iter = $this.$iterator(); while ($iter.$hasNext()) { var$6 = $a.data; var$4 = $i + 1 | 0; var$6[$i] = $iter.$next(); $i = var$4; } return $a; }, ju_AbstractCollection_remove = ($this, $o) => { let $iter, $e; $iter = $this.$iterator(); while ($iter.$hasNext()) { $e = $iter.$next(); if ($e === $o ? 1 : $e !== null ? $e.$equals($o) : $o !== null ? 0 : 1) { $iter.$remove0(); return 1; } } return 0; }, ju_AbstractCollection_addAll = ($this, $c) => { let $changed, $iter; $changed = 0; $iter = $c.$iterator(); while ($iter.$hasNext()) { if (!$this.$add($iter.$next())) continue; $changed = 1; } return $changed; }, ju_AbstractCollection_toString = $this => { let $sb, var$2, $iter, $e, var$5, var$6, var$7; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); var$2 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$2, var$2 + 1 | 0); $sb.$buffer.data[var$2] = 91; $iter = $this.$iterator(); if ($iter.$hasNext()) { $e = $iter.$next(); if ($e === $this) $e = $rt_s(430); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $e === null ? $rt_s(1) : $e.$toString()); } while ($iter.$hasNext()) { $e = $iter.$next(); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(25)); if ($e === $this) $e = $rt_s(430); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $e === null ? $rt_s(1) : $e.$toString()); } var$2 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$2, var$2 + 1 | 0); var$5 = $sb.$buffer; var$6 = var$5.data; var$6[var$2] = 93; $iter = new jl_String; var$2 = $sb.$length0; var$7 = var$6.length; if (var$2 >= 0 && var$2 <= (var$7 - 0 | 0)) { $iter.$nativeString = $rt_charArrayToString(var$5.data, 0, var$2); return $iter; } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); }, ju_SequencedCollection = $rt_classWithoutFields(0); let ju_List = $rt_classWithoutFields(0); function ju_AbstractList() { ju_AbstractCollection.call(this); this.$modCount = 0; } let ju_AbstractList__init_ = $this => { return; }, ju_AbstractList_add = ($this, $e) => { $this.$add0($this.$size(), $e); return 1; }, ju_AbstractList_iterator = $this => { let var$1; var$1 = new ju_AbstractList$1; var$1.$this$00 = $this; var$1.$modCount1 = $this.$modCount; var$1.$size3 = $this.$size(); var$1.$removeIndex = (-1); return var$1; }, ju_AbstractList_add0 = ($this, $index, $element) => { $element = new jl_UnsupportedOperationException; $element.$suppressionEnabled = 1; $element.$writableStackTrace = 1; $rt_throw($element); }, ju_AbstractList_remove = ($this, $index) => { let var$2; var$2 = new jl_UnsupportedOperationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, ju_AbstractList_hashCode = $this => { let $hashCode, $iter, $elem; $hashCode = 1; $iter = $this.$iterator(); while ($iter.$hasNext()) { $elem = $iter.$next(); $hashCode = (31 * $hashCode | 0) + ($elem !== null ? $elem.$hashCode() : 0) | 0; } return $hashCode; }, ju_AbstractList_equals = ($this, $other) => { let $list, $i, var$4; if (!$rt_isInstance($other, ju_List)) return 0; $list = $other; if ($this.$size() != $list.$size()) return 0; $i = 0; while ($i < $list.$size()) { $other = $this.$get($i); var$4 = $list.$get($i); if (!($other === var$4 ? 1 : $other !== null ? $other.$equals(var$4) : var$4 !== null ? 0 : 1)) return 0; $i = $i + 1 | 0; } return 1; }, jl_Cloneable = $rt_classWithoutFields(0), ju_RandomAccess = $rt_classWithoutFields(0); function ju_ArrayList() { let a = this; ju_AbstractList.call(a); a.$array = null; a.$size0 = 0; } let ju_ArrayList__init_0 = $this => { $this.$array = $rt_createArray(jl_Object, 10); }, ju_ArrayList__init_ = () => { let var_0 = new ju_ArrayList(); ju_ArrayList__init_0(var_0); return var_0; }, ju_ArrayList_ensureCapacity = ($this, $minCapacity) => { let var$2, var$3, var$4, $newLength, var$6, var$7, var$8, var$9, var$10, var$11; var$2 = $this.$array; var$3 = var$2.data; var$4 = var$3.length; if (var$4 < $minCapacity) { if (var$4 >= 1073741823) $newLength = 2147483647; else { var$6 = var$4 * 2 | 0; $newLength = 5; if (var$6 > $newLength) $newLength = var$6; if ($minCapacity > $newLength) $newLength = $minCapacity; } var$7 = var$2.constructor; if (var$7 === null) var$8 = null; else { var$8 = var$7.classObject; if (var$8 === null) { var$8 = new jl_Class; var$8.$platformClass = var$7; var$7.classObject = var$8; } } var$9 = var$8.$platformClass.$meta.item; if (var$9 === null) var$7 = null; else { var$7 = var$9.classObject; if (var$7 === null) { var$7 = new jl_Class; var$7.$platformClass = var$9; var$9.classObject = var$7; } } if (var$7 === null) { var$8 = new jl_NullPointerException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); } if (var$7 === $rt_cls($rt_voidcls)) { var$8 = new jl_IllegalArgumentException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); } if ($newLength < 0) { var$8 = new jl_NegativeArraySizeException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); } var$10 = jlr_Array_newInstanceImpl(var$7.$platformClass, $newLength); if ($newLength < var$4) var$4 = $newLength; var$11 = 0; while (var$11 < var$4) { var$10.data[var$11] = var$3[var$11]; var$11 = var$11 + 1 | 0; } $this.$array = var$10; } }, ju_ArrayList_get = ($this, $index) => { let var$2; if ($index >= 0 && $index < $this.$size0) return $this.$array.data[$index]; var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, ju_ArrayList_size = $this => { return $this.$size0; }, ju_ArrayList_set = ($this, $index, $element) => { let var$3, $old; if ($index >= 0 && $index < $this.$size0) { var$3 = $this.$array.data; $old = var$3[$index]; var$3[$index] = $element; return $old; } $element = new jl_IndexOutOfBoundsException; $element.$suppressionEnabled = 1; $element.$writableStackTrace = 1; $rt_throw($element); }, ju_ArrayList_add = ($this, $element) => { let var$2, var$3; ju_ArrayList_ensureCapacity($this, $this.$size0 + 1 | 0); var$2 = $this.$array.data; var$3 = $this.$size0; $this.$size0 = var$3 + 1 | 0; var$2[var$3] = $element; $this.$modCount = $this.$modCount + 1 | 0; return 1; }, ju_ArrayList_add0 = ($this, $index, $element) => { let var$3, $i, var$5; if ($index >= 0) { var$3 = $this.$size0; if ($index <= var$3) { ju_ArrayList_ensureCapacity($this, var$3 + 1 | 0); var$3 = $this.$size0; $i = var$3; while ($i > $index) { var$5 = $this.$array.data; var$5[$i] = var$5[$i - 1 | 0]; $i = $i + (-1) | 0; } $this.$array.data[$index] = $element; $this.$size0 = var$3 + 1 | 0; $this.$modCount = $this.$modCount + 1 | 0; return; } } $element = new jl_IndexOutOfBoundsException; $element.$suppressionEnabled = 1; $element.$writableStackTrace = 1; $rt_throw($element); }, ju_ArrayList_remove = ($this, $i) => { let var$2, var$3, $old, $i_0; if ($i >= 0) { var$2 = $this.$size0; if ($i < var$2) { var$3 = $this.$array.data; $old = var$3[$i]; var$2 = var$2 - 1 | 0; $this.$size0 = var$2; while ($i < var$2) { $i_0 = $i + 1 | 0; var$3[$i] = var$3[$i_0]; $i = $i_0; } var$3[var$2] = null; $this.$modCount = $this.$modCount + 1 | 0; return $old; } } $old = new jl_IndexOutOfBoundsException; $old.$suppressionEnabled = 1; $old.$writableStackTrace = 1; $rt_throw($old); }, ju_ArrayList_remove0 = ($this, $o) => { let var$2, $index, var$4; var$2 = $this.$size0; $index = 0; a: { b: { while (true) { if ($index >= var$2) { $index = (-1); break b; } if ($index < 0) break a; if ($index >= $this.$size0) break a; var$4 = $this.$array.data[$index]; if ($o === var$4 ? 1 : $o !== null ? $o.$equals(var$4) : var$4 !== null ? 0 : 1) break; $index = $index + 1 | 0; } } if ($index < 0) return 0; ju_ArrayList_remove($this, $index); return 1; } $o = new jl_IndexOutOfBoundsException; $o.$suppressionEnabled = 1; $o.$writableStackTrace = 1; $rt_throw($o); }, ju_ArrayList_clear = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $this.$array; var$2 = 0; var$3 = $this.$size0; var$4 = null; if (var$2 > var$3) { var$4 = new jl_IllegalArgumentException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } while (var$2 < var$3) { var$5 = var$1.data; var$6 = var$2 + 1 | 0; var$5[var$2] = var$4; var$2 = var$6; } $this.$size0 = 0; $this.$modCount = $this.$modCount + 1 | 0; }, ju_ArrayList_toString = $this => { let var$1, $length, $buffer, $i, var$5, var$6, var$7; var$1 = $this.$size0; if (!var$1) return $rt_s(104); $length = var$1 - 1 | 0; $buffer = new jl_StringBuilder; $buffer.$buffer = $rt_createCharArray(var$1 * 16 | 0); var$1 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$1, var$1 + 1 | 0); $buffer.$buffer.data[var$1] = 91; $i = 0; while ($i < $length) { var$5 = $this.$array.data; var$6 = var$5[$i] !== $this ? var$5[$i] : $rt_s(430); jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, var$6 === null ? $rt_s(1) : var$6.$toString()); jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $rt_s(25)); $i = $i + 1 | 0; } var$5 = $this.$array.data; var$6 = var$5[$length] !== $this ? var$5[$length] : $rt_s(430); jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, var$6 === null ? $rt_s(1) : var$6.$toString()); var$1 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$1, var$1 + 1 | 0); var$5 = $buffer.$buffer; var$7 = var$5.data; var$7[var$1] = 93; var$6 = new jl_String; var$1 = $buffer.$length0; $length = var$7.length; if (var$1 >= 0 && var$1 <= ($length - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$5.data, 0, var$1); return var$6; } $buffer = new jl_IndexOutOfBoundsException; $buffer.$suppressionEnabled = 1; $buffer.$writableStackTrace = 1; $rt_throw($buffer); }, ju_ArrayList_hashCode = $this => { let $result, $i, var$3; $result = 1; $i = 0; while ($i < $this.$size0) { $result = 31 * $result | 0; var$3 = $this.$array.data[$i]; $result = $result + (var$3 !== null ? var$3.$hashCode() : 0) | 0; $i = $i + 1 | 0; } return $result; }; function nms_NBTBase() { jl_Object.call(this); this.$name = null; } let nms_NBTBase_NBTTypes = null, nms_NBTBase_setName = ($this, $par1Str) => { if ($par1Str !== null) $this.$name = $par1Str; else $this.$name = $rt_s(18); return $this; }, nms_NBTBase_getName = $this => { let var$1; var$1 = $this.$name; if (var$1 === null) var$1 = $rt_s(18); return var$1; }, nms_NBTBase_newTag = ($par0, $par1Str) => { let var$3; switch ($par0) { case 0: $par1Str = new nms_NBTTagEnd; $par1Str.$name = $rt_s(18); return $par1Str; case 1: var$3 = new nms_NBTTagByte; if ($par1Str !== null) var$3.$name = $par1Str; else var$3.$name = $rt_s(18); return var$3; case 2: var$3 = new nms_NBTTagShort; if ($par1Str !== null) var$3.$name = $par1Str; else var$3.$name = $rt_s(18); return var$3; case 3: var$3 = new nms_NBTTagInt; if ($par1Str !== null) var$3.$name = $par1Str; else var$3.$name = $rt_s(18); return var$3; case 4: var$3 = new nms_NBTTagLong; if ($par1Str !== null) var$3.$name = $par1Str; else var$3.$name = $rt_s(18); return var$3; case 5: var$3 = new nms_NBTTagFloat; if ($par1Str !== null) var$3.$name = $par1Str; else var$3.$name = $rt_s(18); return var$3; case 6: var$3 = new nms_NBTTagDouble; if ($par1Str !== null) var$3.$name = $par1Str; else var$3.$name = $rt_s(18); return var$3; case 7: var$3 = new nms_NBTTagByteArray; if ($par1Str !== null) var$3.$name = $par1Str; else var$3.$name = $rt_s(18); return var$3; case 8: var$3 = new nms_NBTTagString; if ($par1Str !== null) var$3.$name = $par1Str; else var$3.$name = $rt_s(18); return var$3; case 9: var$3 = new nms_NBTTagList; if ($par1Str !== null) var$3.$name = $par1Str; else var$3.$name = $rt_s(18); $par1Str = new ju_ArrayList; $par1Str.$array = $rt_createArray(jl_Object, 10); var$3.$tagList = $par1Str; return var$3; case 10: var$3 = new nms_NBTTagCompound; if ($par1Str !== null) var$3.$name = $par1Str; else var$3.$name = $rt_s(18); var$3.$tagMap = ju_HashMap__init_(); return var$3; case 11: var$3 = new nms_NBTTagIntArray; if ($par1Str !== null) var$3.$name = $par1Str; else var$3.$name = $rt_s(18); return var$3; default: } return null; }, nms_NBTBase_equals = ($this, $par1Obj) => { let $var2, var$3; if (!($par1Obj instanceof nms_NBTBase)) return 0; a: { $var2 = $par1Obj; if ($this.$getId() != $var2.$getId()) var$3 = 0; else { b: { $par1Obj = $this.$name; if (!($par1Obj === null && $var2.$name !== null)) { if ($par1Obj === null) break b; if ($var2.$name !== null) break b; } var$3 = 0; break a; } if ($par1Obj !== null) { $var2 = $var2.$name; if ($par1Obj === $var2) var$3 = 1; else if (!($var2 instanceof jl_String)) var$3 = 0; else { $var2 = $var2; var$3 = $par1Obj.$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break a; } } var$3 = 1; } } return var$3; }, nms_NBTBase_hashCode = $this => { let var$1, var$2; a: { var$1 = $this.$name; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } return var$1.$hashCode1 ^ $this.$getId(); }, nms_NBTBase__clinit_ = () => { nms_NBTBase_NBTTypes = $rt_wrapArray(jl_String, [$rt_s(342), $rt_s(431), $rt_s(432), $rt_s(433), $rt_s(434), $rt_s(435), $rt_s(436), $rt_s(437), $rt_s(438), $rt_s(439), $rt_s(440), $rt_s(441)]); }; function nms_NBTTagString() { nms_NBTBase.call(this); this.$data1 = null; } let nms_NBTTagString_write = ($this, $par1DataOutput) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$data1; var$3 = ji_DataOutputStream_countUTFBytes($par1DataOutput, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $par1DataOutput = new ji_IOException; $par1DataOutput.$suppressionEnabled = 1; $par1DataOutput.$writableStackTrace = 1; $par1DataOutput.$message = $rt_s(413); $rt_throw($par1DataOutput); } var$4 = Long_lo(var$3); var$5 = $rt_createByteArray(var$4 + 2 | 0); var$6 = var$5.data; var$6[0] = var$4 >> 8 << 24 >> 24; var$6[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($par1DataOutput, var$2, var$5, 2); $par1DataOutput.$out0.$write4(var$5, 0, var$4); $par1DataOutput.$written = $par1DataOutput.$written + var$4 | 0; }, nms_NBTTagString_load = ($this, $par1DataInput, $par2) => { let var$3, var$4; $par2 = ji_DataInputStream_readUnsignedShort($par1DataInput); var$3 = $rt_createByteArray($par2); var$4 = $rt_createCharArray($par2); ji_DataInputStream_readFully($par1DataInput, var$3, 0, $par2); $this.$data1 = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, $par2); }, nms_NBTTagString_getId = $this => { return 8; }, nms_NBTTagString_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$data1; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nms_NBTTagString_copy = $this => { let var$1, var$2, var$3; var$1 = new nms_NBTTagString; var$2 = $this.$name; if (var$2 === null) var$2 = $rt_s(18); var$3 = $this.$data1; var$1.$name = var$2; var$1.$data1 = var$3; if (var$3 !== null) return var$1; var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(186); $rt_throw(var$2); }, nms_NBTTagString_equals = ($this, $par1Obj) => { let $var2, var$3; if (!nms_NBTBase_equals($this, $par1Obj)) return 0; a: { b: { $var2 = $par1Obj; $par1Obj = $this.$data1; if (!($par1Obj === null && $var2.$data1 === null)) { if ($par1Obj === null) break b; $var2 = $var2.$data1; if ($par1Obj === $var2) var$3 = 1; else if (!($var2 instanceof jl_String)) var$3 = 0; else { $var2 = $var2; var$3 = $par1Obj.$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$3) break b; } var$3 = 1; break a; } var$3 = 0; } return var$3; }, nms_NBTTagString_hashCode = $this => { let var$1, var$2, var$3; a: { var$1 = $this.$name; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } b: { var$2 = var$1.$hashCode1 ^ 8; var$1 = $this.$data1; if (!var$1.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= var$1.$nativeString.length) break b; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } return var$2 ^ var$1.$hashCode1; }; function nle_RelayEntry() { let a = this; jl_Object.call(a); a.$address1 = null; a.$comment1 = null; a.$primary0 = 0; } let nle_RelayEntry__init_0 = ($this, $address, $comment, $primary) => { $this.$address1 = $address; $this.$comment1 = $comment; $this.$primary0 = $primary; }, nle_RelayEntry__init_ = (var_0, var_1, var_2) => { let var_3 = new nle_RelayEntry(); nle_RelayEntry__init_0(var_3, var_0, var_1, var_2); return var_3; }; function nms_NBTTagCompound() { nms_NBTBase.call(this); this.$tagMap = null; } let nms_NBTTagCompound__init_ = $this => { $this.$name = $rt_s(18); $this.$tagMap = ju_HashMap__init_(); }, nms_NBTTagCompound__init_2 = () => { let var_0 = new nms_NBTTagCompound(); nms_NBTTagCompound__init_(var_0); return var_0; }, nms_NBTTagCompound__init_0 = ($this, $par1Str) => { if ($par1Str !== null) $this.$name = $par1Str; else $this.$name = $rt_s(18); $this.$tagMap = ju_HashMap__init_(); }, nms_NBTTagCompound__init_1 = var_0 => { let var_1 = new nms_NBTTagCompound(); nms_NBTTagCompound__init_0(var_1, var_0); return var_1; }, nms_NBTTagCompound_write = ($this, $par1DataOutput) => { let $var2, $var3, var$4, var$5, var$6, var$7, var$8; $var2 = $this.$tagMap; if ($var2.$cachedValues === null) { $var3 = new ju_HashMap$2; $var3.$this$01 = $var2; $var2.$cachedValues = $var3; } $var2 = $var2.$cachedValues.$iterator(); while ($var2.$hasNext()) { $var3 = $var2.$next(); var$4 = $var3.$getId(); $par1DataOutput.$out0.$write1(var$4); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; if ($var3.$getId()) { var$5 = $var3.$name; if (var$5 === null) var$5 = $rt_s(18); var$6 = ji_DataOutputStream_countUTFBytes($par1DataOutput, var$5); if (Long_gt(var$6, Long_fromInt(65535))) { $par1DataOutput = new ji_IOException; $par1DataOutput.$suppressionEnabled = 1; $par1DataOutput.$writableStackTrace = 1; $par1DataOutput.$message = $rt_s(413); $rt_throw($par1DataOutput); } var$4 = Long_lo(var$6); var$7 = $rt_createByteArray(var$4 + 2 | 0); var$8 = var$7.data; var$8[0] = var$4 >> 8 << 24 >> 24; var$8[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($par1DataOutput, var$5, var$7, 2); $par1DataOutput.$out0.$write4(var$7, 0, var$4); $par1DataOutput.$written = $par1DataOutput.$written + var$4 | 0; $var3.$write5($par1DataOutput); } } $par1DataOutput.$out0.$write1(0); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_NBTTagCompound_load = ($this, $par1DataInput, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; if ($par2 > 512) { $par1DataInput = new jl_RuntimeException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $par1DataInput.$message = $rt_s(442); $rt_throw($par1DataInput); } var$3 = $this.$tagMap; if (var$3.$elementCount > 0) { var$3.$elementCount = 0; var$4 = var$3.$elementData.data; var$5 = null; var$6 = 0; var$7 = var$4.length; if (var$6 > var$7) { $par1DataInput = new jl_IllegalArgumentException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } while (var$6 < var$7) { var$8 = var$6 + 1 | 0; var$4[var$6] = var$5; var$6 = var$8; } var$3.$modCount0 = var$3.$modCount0 + 1 | 0; } $par2 = $par2 + 1 | 0; var$9 = null; while (true) { var$8 = $par1DataInput.$in.$read(); if (var$8 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } var$7 = var$8 << 24 >> 24; if (var$7) { var$8 = ji_DataInputStream_readUnsignedShort($par1DataInput); var$4 = $rt_createByteArray(var$8); var$10 = $rt_createCharArray(var$8); ji_DataInputStream_readFully($par1DataInput, var$4, 0, var$8); var$3 = nms_NBTBase_newTag(var$7, ji_DataInputStream_convertUTF8WithBuf(var$4, var$10, 0, var$8)); var$3.$load($par1DataInput, $par2); } else { var$3 = new nms_NBTTagEnd; if (var$9 !== null) var$3.$name = var$9; else var$3.$name = $rt_s(18); } if (!var$3.$getId()) break; var$5 = $this.$tagMap; var$11 = var$3.$name; if (var$11 === null) var$11 = $rt_s(18); ju_HashMap_putImpl(var$5, var$11, var$3); } }, nms_NBTTagCompound_getId = $this => { return 10; }, nms_NBTTagCompound_setTag = ($this, $par1Str, $par2NBTBase) => { let var$3; var$3 = $this.$tagMap; if ($par1Str !== null) $par2NBTBase.$name = $par1Str; else $par2NBTBase.$name = $rt_s(18); ju_HashMap_putImpl(var$3, $par1Str, $par2NBTBase); }, nms_NBTTagCompound_setShort = ($this, $par1Str, $par2) => { let var$3, var$4; var$3 = $this.$tagMap; var$4 = new nms_NBTTagShort; if ($par1Str !== null) var$4.$name = $par1Str; else var$4.$name = $rt_s(18); var$4.$data2 = $par2; ju_HashMap_putImpl(var$3, $par1Str, var$4); }, nms_NBTTagCompound_setInteger = ($this, $par1Str, $par2) => { let var$3, var$4; var$3 = $this.$tagMap; var$4 = new nms_NBTTagInt; if ($par1Str !== null) var$4.$name = $par1Str; else var$4.$name = $rt_s(18); var$4.$data0 = $par2; ju_HashMap_putImpl(var$3, $par1Str, var$4); }, nms_NBTTagCompound_setLong = ($this, $par1Str, $par2) => { let var$3, var$4; var$3 = $this.$tagMap; var$4 = new nms_NBTTagLong; if ($par1Str !== null) var$4.$name = $par1Str; else var$4.$name = $rt_s(18); var$4.$data7 = $par2; ju_HashMap_putImpl(var$3, $par1Str, var$4); }, nms_NBTTagCompound_setFloat = ($this, $par1Str, $par2) => { let var$3, var$4; var$3 = $this.$tagMap; var$4 = new nms_NBTTagFloat; if ($par1Str !== null) var$4.$name = $par1Str; else var$4.$name = $rt_s(18); var$4.$data4 = $par2; ju_HashMap_putImpl(var$3, $par1Str, var$4); }, nms_NBTTagCompound_setBoolean = ($this, $par1Str, $par2) => { let var$3, var$4; $par2 = (!$par2 ? 0 : 1) << 24 >> 24; var$3 = $this.$tagMap; var$4 = new nms_NBTTagByte; if ($par1Str !== null) var$4.$name = $par1Str; else var$4.$name = $rt_s(18); var$4.$data = $par2; ju_HashMap_putImpl(var$3, $par1Str, var$4); }, nms_NBTTagCompound_hasKey = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } return var$2 === null ? 0 : 1; }, nms_NBTTagCompound_getByte = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break c; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } return var$3; }, nms_NBTTagCompound_getShort = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break c; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data2; } return var$3; }, nms_NBTTagCompound_getInteger = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break c; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } return var$3; }, nms_NBTTagCompound_getLong = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6, var$7; var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) var$7 = Long_ZERO; else { var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break c; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$data7; } return var$7; }, nms_NBTTagCompound_getFloat = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6, var$7; var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) var$7 = 0.0; else { var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break c; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$data4; } return var$7; }, nms_NBTTagCompound_getString = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) $par1Str = $rt_s(18); else { var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break c; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } $par1Str = (var$2 === null ? null : var$2.$value1).$data1; } return $par1Str; }, nms_NBTTagCompound_getCompoundTag = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) { var$2 = new nms_NBTTagCompound; if ($par1Str !== null) var$2.$name = $par1Str; else var$2.$name = $rt_s(18); var$2.$tagMap = ju_HashMap__init_(); } else { var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break c; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; } return var$2; }, nms_NBTTagCompound_getTagList = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) { var$2 = new nms_NBTTagList; if ($par1Str !== null) var$2.$name = $par1Str; else var$2.$name = $rt_s(18); $par1Str = new ju_ArrayList; $par1Str.$array = $rt_createArray(jl_Object, 10); var$2.$tagList = $par1Str; } else { var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break c; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; } return var$2; }, nms_NBTTagCompound_getBoolean = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $this.$tagMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break c; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } return !var$3 ? 0 : 1; }, nms_NBTTagCompound_toString = $this => { let var$1, $var2, var$3, var$4, var$5, var$6, $var3, var$8, var$9, var$10; var$1 = $this.$name; if (var$1 === null) var$1 = $rt_s(18); $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var2, $var2.$length0, var$1); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $rt_s(443)); var$1 = new jl_String; var$3 = $var2.$buffer; var$4 = var$3.data; var$5 = $var2.$length0; var$6 = var$4.length; if (var$5 >= 0 && var$5 <= (var$6 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$3.data, 0, var$5); $var2 = $this.$tagMap; if ($var2.$cachedKeySet === null) { $var3 = new ju_HashMap$1; $var3.$this$0 = $var2; $var2.$cachedKeySet = $var3; } $var2 = $var2.$cachedKeySet.$iterator(); while (true) { if (!$var2.$hasNext()) { $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var2, $var2.$length0, var$1); var$5 = $var2.$length0; jl_AbstractStringBuilder_insertSpace($var2, var$5, var$5 + 1 | 0); var$3 = $var2.$buffer; var$4 = var$3.data; var$4[var$5] = 93; var$1 = new jl_String; var$5 = $var2.$length0; var$6 = var$4.length; if (var$5 >= 0 && var$5 <= (var$6 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$3.data, 0, var$5); return var$1; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var3 = $var2.$next(); var$8 = $this.$tagMap; if ($var3 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { a: { if (!$var3.$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $var3.$nativeString.length) break a; $var3.$hashCode1 = (31 * $var3.$hashCode1 | 0) + $var3.$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$6 = $var3.$hashCode1; var$3 = var$8.$elementData.data; var$8 = var$3[var$6 & (var$3.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$6) { b: { var$10 = var$8.$key; if ($var3 !== var$10) { if ($var3 === var$10) var$9 = 1; else if (!(var$10 instanceof jl_String)) var$9 = 0; else { var$10 = var$10; var$9 = $var3.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break b; } } var$9 = 1; } if (var$9) break; } var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; var$8 = var$8 === null ? $rt_s(1) : var$8.$toString(); var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, var$1); var$9 = var$10.$length0; if ($var3 === null) $var3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, var$9, $var3); var$9 = var$10.$length0; jl_AbstractStringBuilder_insertSpace(var$10, var$9, var$9 + 1 | 0); var$10.$buffer.data[var$9] = 58; var$9 = var$10.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, var$9, var$8); var$9 = var$10.$length0; jl_AbstractStringBuilder_insertSpace(var$10, var$9, var$9 + 1 | 0); var$3 = var$10.$buffer; var$4 = var$3.data; var$4[var$9] = 44; var$1 = new jl_String; var$5 = var$10.$length0; var$6 = var$4.length; if (var$5 < 0) break; if (var$5 > (var$6 - 0 | 0)) break; var$1.$nativeString = $rt_charArrayToString(var$3.data, 0, var$5); } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); }, nms_NBTTagCompound_copy = $this => { let $var1, $var2, var$3, $var3, var$5, var$6, var$7, var$8; $var1 = new nms_NBTTagCompound; $var2 = $this.$name; if ($var2 === null) $var2 = $rt_s(18); $var1.$name = $var2; $var1.$tagMap = ju_HashMap__init_(); $var2 = $this.$tagMap; if ($var2.$cachedKeySet === null) { var$3 = new ju_HashMap$1; var$3.$this$0 = $var2; $var2.$cachedKeySet = var$3; } $var2 = $var2.$cachedKeySet.$iterator(); while ($var2.$hasNext()) { $var3 = $var2.$next(); var$3 = $this.$tagMap; if ($var3 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { if (!$var3.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $var3.$nativeString.length) break a; $var3.$hashCode1 = (31 * $var3.$hashCode1 | 0) + $var3.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $var3.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { b: { var$8 = var$3.$key; if ($var3 !== var$8) { if ($var3 === var$8) var$5 = 1; else if (!(var$8 instanceof jl_String)) var$5 = 0; else { var$8 = var$8; var$5 = $var3.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break b; } } var$5 = 1; } if (var$5) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; var$3 = var$3.$copy(); var$8 = $var1.$tagMap; if ($var3 !== null) var$3.$name = $var3; else var$3.$name = $rt_s(18); ju_HashMap_putImpl(var$8, $var3, var$3); } return $var1; }, nms_NBTTagCompound_equals = ($this, $par1Obj) => { let $var2, var$3; if (!nms_NBTBase_equals($this, $par1Obj)) return 0; $var2 = $par1Obj; $par1Obj = $this.$tagMap; var$3 = new ju_HashMap$HashMapEntrySet; var$3.$associatedMap0 = $par1Obj; $par1Obj = $var2.$tagMap; $var2 = new ju_HashMap$HashMapEntrySet; $var2.$associatedMap0 = $par1Obj; return ju_AbstractSet_equals(var$3, $var2); }, nms_NBTTagCompound_hashCode = $this => { let var$1, var$2; a: { var$1 = $this.$name; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } return var$1.$hashCode1 ^ 10 ^ ju_AbstractMap_hashCode($this.$tagMap); }, nms_NBTTagCompound_getStringOrNull = ($this, $string) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$tagMap; if ($string === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$string.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $string.$nativeString.length) break a; $string.$hashCode1 = (31 * $string.$hashCode1 | 0) + $string.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $string.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($string !== var$6) { if ($string === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $string.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) $string = null; else { var$2 = $this.$tagMap; if ($string === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$string.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $string.$nativeString.length) break c; $string.$hashCode1 = (31 * $string.$hashCode1 | 0) + $string.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $string.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($string !== var$6) { if ($string === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $string.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } $string = (var$2 === null ? null : var$2.$value1).$data1; } return $string; }; function nms_ServerData() { let a = this; jl_Object.call(a); a.$serverName1 = null; a.$serverIP = null; a.$id7 = 0; a.$populationInfo = null; a.$serverMOTD = null; a.$pingToServer = Long_ZERO; a.$pingSentTime = Long_ZERO; a.$field_82821_f = 0; a.$gameVersion = null; a.$hasPing = 0; a.$field_78842_g = 0; a.$acceptsTextures = 0; a.$currentQuery = null; a.$serverIcon = null; a.$serverIconDirty = 0; a.$serverIconEnabled = 0; a.$hasError = 0; a.$playerList0 = null; a.$serverIconGL = 0; a.$isDefault = 0; a.$hideAddress = 0; } let nms_ServerData_idCounter = 0, nms_ServerData__init_ = ($this, $par1Str, $par2Str, $isDefault) => { let var$4; $this.$field_82821_f = 78; $this.$gameVersion = $rt_s(444); $this.$hasPing = 0; $this.$field_78842_g = 1; $this.$acceptsTextures = 0; $this.$currentQuery = null; $this.$serverIcon = null; $this.$serverIconDirty = 0; $this.$serverIconEnabled = 0; $this.$hasError = 0; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$playerList0 = var$4; $this.$serverIconGL = (-1); $this.$hideAddress = 0; $this.$serverName1 = $par1Str; $this.$serverIP = $par2Str; $this.$isDefault = $isDefault; $isDefault = nms_ServerData_idCounter + 1 | 0; nms_ServerData_idCounter = $isDefault; $this.$id7 = $isDefault; }, nms_ServerData__init_0 = (var_0, var_1, var_2) => { let var_3 = new nms_ServerData(); nms_ServerData__init_(var_3, var_0, var_1, var_2); return var_3; }, nms_ServerData_hashCode = $this => { return $this.$id7; }, nms_ServerData_equals = ($this, $o) => { return $o instanceof nms_ServerData && $this.$id7 == $o.$id7 ? 1 : 0; }, nms_ServerData_getServerDataFromNBTCompound = $par0NBTTagCompound => { let $var1, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; a: { $var1 = new nms_ServerData; var$3 = $par0NBTTagCompound.$tagMap; if (!$rt_s(180).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(180).$nativeString.length) break a; $rt_s(180).$hashCode1 = (31 * $rt_s(180).$hashCode1 | 0) + $rt_s(180).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(180).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { b: { var$7 = var$3.$key; if ($rt_s(180) !== var$7) { if ($rt_s(180) === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(180).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } var$3 = var$3.$next3; } if (!(var$3 === null ? 0 : 1)) var$8 = $rt_s(18); else { var$3 = $par0NBTTagCompound.$tagMap; if ($rt_s(180) === null) { var$8 = var$3.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { c: { if (!$rt_s(180).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(180).$nativeString.length) break c; $rt_s(180).$hashCode1 = (31 * $rt_s(180).$hashCode1 | 0) + $rt_s(180).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = $rt_s(180).$hashCode1; var$6 = var$3.$elementData.data; var$8 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$5) { d: { var$3 = var$8.$key; if ($rt_s(180) !== var$3) { if ($rt_s(180) === var$3) var$4 = 1; else if (!(var$3 instanceof jl_String)) var$4 = 0; else { var$3 = var$3; var$4 = $rt_s(180).$nativeString !== var$3.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$8 = var$8.$next3; } } var$8 = (var$8 === null ? null : var$8.$value1).$data1; } e: { var$3 = $par0NBTTagCompound.$tagMap; if (!$rt_s(184).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(184).$nativeString.length) break e; $rt_s(184).$hashCode1 = (31 * $rt_s(184).$hashCode1 | 0) + $rt_s(184).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$9 = $rt_s(184).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { f: { var$7 = var$3.$key; if ($rt_s(184) !== var$7) { if ($rt_s(184) === var$7) var$5 = 1; else if (!(var$7 instanceof jl_String)) var$5 = 0; else { var$7 = var$7; var$5 = $rt_s(184).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break f; } } var$5 = 1; } if (var$5) break; } var$3 = var$3.$next3; } if (!(var$3 === null ? 0 : 1)) var$10 = $rt_s(18); else { var$3 = $par0NBTTagCompound.$tagMap; if ($rt_s(184) === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { g: { if (!$rt_s(184).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(184).$nativeString.length) break g; $rt_s(184).$hashCode1 = (31 * $rt_s(184).$hashCode1 | 0) + $rt_s(184).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$9 = $rt_s(184).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { h: { var$7 = var$3.$key; if ($rt_s(184) !== var$7) { if ($rt_s(184) === var$7) var$5 = 1; else if (!(var$7 instanceof jl_String)) var$5 = 0; else { var$7 = var$7; var$5 = $rt_s(184).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break h; } } var$5 = 1; } if (var$5) break; } var$3 = var$3.$next3; } } var$10 = (var$3 === null ? null : var$3.$value1).$data1; } i: { var$3 = $par0NBTTagCompound.$tagMap; if (!$rt_s(161).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(161).$nativeString.length) break i; $rt_s(161).$hashCode1 = (31 * $rt_s(161).$hashCode1 | 0) + $rt_s(161).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$9 = $rt_s(161).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { j: { var$7 = var$3.$key; if ($rt_s(161) !== var$7) { if ($rt_s(161) === var$7) var$5 = 1; else if (!(var$7 instanceof jl_String)) var$5 = 0; else { var$7 = var$7; var$5 = $rt_s(161).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break j; } } var$5 = 1; } if (var$5) break; } var$3 = var$3.$next3; } if (!(var$3 === null ? 0 : 1)) var$5 = 0; else { var$3 = $par0NBTTagCompound.$tagMap; if ($rt_s(161) === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { k: { if (!$rt_s(161).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(161).$nativeString.length) break k; $rt_s(161).$hashCode1 = (31 * $rt_s(161).$hashCode1 | 0) + $rt_s(161).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$9 = $rt_s(161).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { l: { var$7 = var$3.$key; if ($rt_s(161) !== var$7) { if ($rt_s(161) === var$7) var$5 = 1; else if (!(var$7 instanceof jl_String)) var$5 = 0; else { var$7 = var$7; var$5 = $rt_s(161).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break l; } } var$5 = 1; } if (var$5) break; } var$3 = var$3.$next3; } } var$5 = (var$3 === null ? null : var$3.$value1).$data; } var$5 = !var$5 ? 0 : 1; m: { nms_ServerData__init_($var1, var$8, var$10, var$5); var$3 = $par0NBTTagCompound.$tagMap; if (!$rt_s(175).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(175).$nativeString.length) break m; $rt_s(175).$hashCode1 = (31 * $rt_s(175).$hashCode1 | 0) + $rt_s(175).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$9 = $rt_s(175).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { n: { var$7 = var$3.$key; if ($rt_s(175) !== var$7) { if ($rt_s(175) === var$7) var$5 = 1; else if (!(var$7 instanceof jl_String)) var$5 = 0; else { var$7 = var$7; var$5 = $rt_s(175).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break n; } } var$5 = 1; } if (var$5) break; } var$3 = var$3.$next3; } if (!(var$3 === null ? 0 : 1)) var$5 = 0; else { $par0NBTTagCompound = $par0NBTTagCompound.$tagMap; if ($rt_s(175) === null) { $par0NBTTagCompound = $par0NBTTagCompound.$elementData.data[0]; while ($par0NBTTagCompound !== null && $par0NBTTagCompound.$key !== null) { $par0NBTTagCompound = $par0NBTTagCompound.$next3; } } else { o: { if (!$rt_s(175).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(175).$nativeString.length) break o; $rt_s(175).$hashCode1 = (31 * $rt_s(175).$hashCode1 | 0) + $rt_s(175).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$9 = $rt_s(175).$hashCode1; var$6 = $par0NBTTagCompound.$elementData.data; $par0NBTTagCompound = var$6[var$9 & (var$6.length - 1 | 0)]; while ($par0NBTTagCompound !== null) { if ($par0NBTTagCompound.$origKeyHash == var$9) { p: { var$3 = $par0NBTTagCompound.$key; if ($rt_s(175) !== var$3) { if ($rt_s(175) === var$3) var$5 = 1; else if (!(var$3 instanceof jl_String)) var$5 = 0; else { var$3 = var$3; var$5 = $rt_s(175).$nativeString !== var$3.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break p; } } var$5 = 1; } if (var$5) break; } $par0NBTTagCompound = $par0NBTTagCompound.$next3; } } var$5 = ($par0NBTTagCompound === null ? null : $par0NBTTagCompound.$value1).$data; } $var1.$hideAddress = !var$5 ? 0 : 1; return $var1; }, nms_ServerData_setMOTDFromQuery = ($this, $pkt) => { let $motdData, $motd, $i, var$5, var$6, $players, var$8, var$9, var$10, var$11, var$12, $$je; a: { $motdData = $pkt.$responseData; $motd = $motdData.$map; if (!$rt_s(445).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(445).$nativeString.length) break a; $rt_s(445).$hashCode1 = (31 * $rt_s(445).$hashCode1 | 0) + $rt_s(445).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } var$5 = $rt_s(445).$hashCode1; var$6 = $motd.$elementData.data; $motd = var$6[var$5 & (var$6.length - 1 | 0)]; while ($motd !== null) { if ($motd.$origKeyHash == var$5) { b: { $players = $motd.$key; if ($rt_s(445) !== $players) { if ($rt_s(445) === $players) $i = 1; else if (!($players instanceof jl_String)) $i = 0; else { $players = $players; $i = $rt_s(445).$nativeString !== $players.$nativeString ? 0 : 1; } if (!$i) { $i = 0; break b; } } $i = 1; } if ($i) break; } $motd = $motd.$next3; } $motd = $motd === null ? null : $motd.$value1; if ($motd !== null) { if ($motd instanceof oj_JSONArray) { c: { $motd = $motd.$myArrayList; var$5 = $motd.$size0; if (var$5 > 0) { if (var$5 > 1) { var$8 = $rt_compare(0, var$5); if (var$8 >= 0) $pkt = null; else { if (var$8 >= 0) { $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $pkt = $motd.$array.data[0]; } if ($pkt !== null) { if ($pkt instanceof jl_String) { $players = $pkt; var$8 = $rt_compare(1, var$5); if (var$8 >= 0) $pkt = null; else { if (var$8 >= 0) { $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $pkt = $motd.$array.data[1]; } if ($pkt === null) { $pkt = new oj_JSONException; $motd = new jl_StringBuilder; $motd.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($motd, $motd.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($motd, $motd.$length0, 1, 10); jl_StringBuilder_insert($motd, $motd.$length0, $rt_s(20)); $players = new jl_String; var$6 = $motd.$buffer; var$9 = var$6.data; var$8 = $motd.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $players.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $pkt.$message = $players; $rt_throw($pkt); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } if (!($pkt instanceof jl_String)) { $pkt = null; $players = new oj_JSONException; $motdData = new jl_StringBuilder; $motdData.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($motdData, $motdData.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($motdData, $motdData.$length0, 1, 10); jl_StringBuilder_insert($motdData, $motdData.$length0, $rt_s(21)); jl_StringBuilder_insert($motdData, $motdData.$length0, $rt_s(171)); var$8 = $motdData.$length0; jl_AbstractStringBuilder_insertSpace($motdData, var$8, var$8 + 1 | 0); var$6 = $motdData.$buffer; var$9 = var$6.data; var$9[var$8] = 46; $motd = new jl_String; var$8 = $motdData.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $motd.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $players.$suppressionEnabled = 1; $players.$writableStackTrace = 1; $players.$message = $motd; $players.$cause = $pkt; $rt_throw($players); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $pkt = $pkt; $motd = new jl_StringBuilder; $motd.$buffer = $rt_createCharArray(16); $i = $motd.$length0; if ($players === null) $players = $rt_s(1); jl_AbstractStringBuilder_insert($motd, $i, $players); var$8 = $motd.$length0; jl_AbstractStringBuilder_insertSpace($motd, var$8, var$8 + 1 | 0); $motd.$buffer.data[var$8] = 10; $i = $motd.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_AbstractStringBuilder_insert($motd, $i, $pkt); $pkt = new jl_String; var$6 = $motd.$buffer; var$9 = var$6.data; var$8 = $motd.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); break c; } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $pkt = null; $players = new oj_JSONException; $motdData = new jl_StringBuilder; $motdData.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($motdData, $motdData.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($motdData, $motdData.$length0, 0, 10); jl_StringBuilder_insert($motdData, $motdData.$length0, $rt_s(21)); jl_StringBuilder_insert($motdData, $motdData.$length0, $rt_s(171)); var$8 = $motdData.$length0; jl_AbstractStringBuilder_insertSpace($motdData, var$8, var$8 + 1 | 0); var$6 = $motdData.$buffer; var$9 = var$6.data; var$9[var$8] = 46; $motd = new jl_String; var$8 = $motdData.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $motd.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $players.$suppressionEnabled = 1; $players.$writableStackTrace = 1; $players.$message = $motd; $players.$cause = $pkt; $rt_throw($players); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $pkt = new oj_JSONException; $motd = new jl_StringBuilder; $motd.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($motd, $motd.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($motd, $motd.$length0, 0, 10); jl_StringBuilder_insert($motd, $motd.$length0, $rt_s(20)); $players = new jl_String; var$6 = $motd.$buffer; var$9 = var$6.data; var$8 = $motd.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $players.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $pkt.$message = $players; $rt_throw($pkt); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } var$8 = $rt_compare(0, var$5); if (var$8 >= 0) $pkt = null; else { if (var$8 >= 0) { $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $pkt = $motd.$array.data[0]; } if ($pkt === null) { $pkt = new oj_JSONException; $motd = new jl_StringBuilder; $motd.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($motd, $motd.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($motd, $motd.$length0, 0, 10); jl_StringBuilder_insert($motd, $motd.$length0, $rt_s(20)); $players = new jl_String; var$6 = $motd.$buffer; var$9 = var$6.data; var$8 = $motd.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $players.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $pkt.$message = $players; $rt_throw($pkt); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } if (!($pkt instanceof jl_String)) { $pkt = null; $players = new oj_JSONException; $motdData = new jl_StringBuilder; $motdData.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($motdData, $motdData.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($motdData, $motdData.$length0, 0, 10); jl_StringBuilder_insert($motdData, $motdData.$length0, $rt_s(21)); jl_StringBuilder_insert($motdData, $motdData.$length0, $rt_s(171)); var$8 = $motdData.$length0; jl_AbstractStringBuilder_insertSpace($motdData, var$8, var$8 + 1 | 0); var$6 = $motdData.$buffer; var$9 = var$6.data; var$9[var$8] = 46; $motd = new jl_String; var$8 = $motdData.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $motd.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $players.$suppressionEnabled = 1; $players.$writableStackTrace = 1; $players.$message = $motd; $players.$cause = $pkt; $rt_throw($players); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $pkt = $pkt; } else $pkt = $rt_s(18); } d: { $this.$serverMOTD = $pkt; $motd = $motdData.$map; if (!$rt_s(446).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(446).$nativeString.length) break d; $rt_s(446).$hashCode1 = (31 * $rt_s(446).$hashCode1 | 0) + $rt_s(446).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } var$5 = $rt_s(446).$hashCode1; var$6 = $motd.$elementData.data; $motd = var$6[var$5 & (var$6.length - 1 | 0)]; while ($motd !== null) { if ($motd.$origKeyHash == var$5) { e: { $players = $motd.$key; if ($rt_s(446) !== $players) { if ($rt_s(446) === $players) $i = 1; else if (!($players instanceof jl_String)) $i = 0; else { $players = $players; $i = $rt_s(446).$nativeString !== $players.$nativeString ? 0 : 1; } if (!$i) { $i = 0; break e; } } $i = 1; } if ($i) break; } $motd = $motd.$next3; } $motd = $motd === null ? null : $motd.$value1; if ($motd === null) { $motd = new oj_JSONException; oj_JSONObject_$callClinit(); $players = new ji_StringWriter; $players.$lock = $players; $motdData = new jl_StringBuffer; $motdData.$buffer = $rt_createCharArray(16); $players.$buf0 = $motdData; $players.$lock = $motdData; jl_Object_monitorEnterSync($motdData); f: { g: { try { h: { try { $pkt = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(446), $players)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break h; } else { throw $$e; } } jl_Object_monitorExitSync($motdData); break f; } $pkt = $rt_s(18); jl_Object_monitorExitSync($motdData); break g; } catch ($$e) { $$je = $rt_wrapException($$e); $pkt = $$je; } jl_Object_monitorExitSync($motdData); $rt_throw($pkt); } } $players = new jl_StringBuilder; $players.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($players, $players.$length0, $rt_s(19)); $i = $players.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_StringBuilder_insert($players, $i, $pkt); jl_StringBuilder_insert($players, $players.$length0, $rt_s(20)); $pkt = new jl_String; var$6 = $players.$buffer; var$9 = var$6.data; var$8 = $players.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $motd.$suppressionEnabled = 1; $motd.$writableStackTrace = 1; $motd.$message = $pkt; $rt_throw($motd); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } if ($motd instanceof jl_Number) $i = $motd.$intValue(); else i: { try { $i = jl_Integer_parseInt($motd.$toString()); break i; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $motd = $$je; } else { throw $$e; } } oj_JSONObject_$callClinit(); $motdData = new oj_JSONException; var$10 = new ji_StringWriter; var$10.$lock = var$10; var$11 = new jl_StringBuffer; var$11.$buffer = $rt_createCharArray(16); var$10.$buf0 = var$11; var$10.$lock = var$11; jl_Object_monitorEnterSync(var$11); j: { k: { try { l: { try { $pkt = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(446), var$10)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break l; } else { throw $$e; } } jl_Object_monitorExitSync(var$11); break j; } $pkt = $rt_s(18); jl_Object_monitorExitSync(var$11); break k; } catch ($$e) { $$je = $rt_wrapException($$e); $pkt = $$je; } jl_Object_monitorExitSync(var$11); $rt_throw($pkt); } } var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$10, var$10.$length0, $rt_s(19)); $i = var$10.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_StringBuilder_insert(var$10, $i, $pkt); jl_StringBuilder_insert(var$10, var$10.$length0, $rt_s(21)); jl_StringBuilder_insert(var$10, var$10.$length0, $rt_s(447)); var$8 = var$10.$length0; jl_AbstractStringBuilder_insertSpace(var$10, var$8, var$8 + 1 | 0); var$6 = var$10.$buffer; var$9 = var$6.data; var$9[var$8] = 46; $pkt = new jl_String; var$8 = var$10.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $motdData.$suppressionEnabled = 1; $motdData.$writableStackTrace = 1; $motdData.$message = $pkt; $motdData.$cause = $motd; $rt_throw($motdData); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } m: { $motd = $motdData.$map; if (!$rt_s(448).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(448).$nativeString.length) break m; $rt_s(448).$hashCode1 = (31 * $rt_s(448).$hashCode1 | 0) + $rt_s(448).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$12 = $rt_s(448).$hashCode1; var$6 = $motd.$elementData.data; $motd = var$6[var$12 & (var$6.length - 1 | 0)]; while ($motd !== null) { if ($motd.$origKeyHash == var$12) { n: { $players = $motd.$key; if ($rt_s(448) !== $players) { if ($rt_s(448) === $players) var$8 = 1; else if (!($players instanceof jl_String)) var$8 = 0; else { $players = $players; var$8 = $rt_s(448).$nativeString !== $players.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break n; } } var$8 = 1; } if (var$8) break; } $motd = $motd.$next3; } $motd = $motd === null ? null : $motd.$value1; if ($motd === null) { $motd = new oj_JSONException; oj_JSONObject_$callClinit(); $players = new ji_StringWriter; $players.$lock = $players; $motdData = new jl_StringBuffer; $motdData.$buffer = $rt_createCharArray(16); $players.$buf0 = $motdData; $players.$lock = $motdData; jl_Object_monitorEnterSync($motdData); o: { p: { try { q: { try { $pkt = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(448), $players)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break q; } else { throw $$e; } } jl_Object_monitorExitSync($motdData); break o; } $pkt = $rt_s(18); jl_Object_monitorExitSync($motdData); break p; } catch ($$e) { $$je = $rt_wrapException($$e); $pkt = $$je; } jl_Object_monitorExitSync($motdData); $rt_throw($pkt); } } $players = new jl_StringBuilder; $players.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($players, $players.$length0, $rt_s(19)); $i = $players.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_StringBuilder_insert($players, $i, $pkt); jl_StringBuilder_insert($players, $players.$length0, $rt_s(20)); $pkt = new jl_String; var$6 = $players.$buffer; var$9 = var$6.data; var$8 = $players.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $motd.$suppressionEnabled = 1; $motd.$writableStackTrace = 1; $motd.$message = $pkt; $rt_throw($motd); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } if ($motd instanceof jl_Number) var$8 = $motd.$intValue(); else r: { try { var$8 = jl_Integer_parseInt($motd.$toString()); break r; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $motd = $$je; } else { throw $$e; } } oj_JSONObject_$callClinit(); $motdData = new oj_JSONException; var$10 = new ji_StringWriter; var$10.$lock = var$10; var$11 = new jl_StringBuffer; var$11.$buffer = $rt_createCharArray(16); var$10.$buf0 = var$11; var$10.$lock = var$11; jl_Object_monitorEnterSync(var$11); s: { t: { try { u: { try { $pkt = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(448), var$10)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break u; } else { throw $$e; } } jl_Object_monitorExitSync(var$11); break s; } $pkt = $rt_s(18); jl_Object_monitorExitSync(var$11); break t; } catch ($$e) { $$je = $rt_wrapException($$e); $pkt = $$je; } jl_Object_monitorExitSync(var$11); $rt_throw($pkt); } } var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$10, var$10.$length0, $rt_s(19)); $i = var$10.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_StringBuilder_insert(var$10, $i, $pkt); jl_StringBuilder_insert(var$10, var$10.$length0, $rt_s(21)); jl_StringBuilder_insert(var$10, var$10.$length0, $rt_s(447)); var$8 = var$10.$length0; jl_AbstractStringBuilder_insertSpace(var$10, var$8, var$8 + 1 | 0); var$6 = var$10.$buffer; var$9 = var$6.data; var$9[var$8] = 46; $pkt = new jl_String; var$8 = var$10.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $motdData.$suppressionEnabled = 1; $motdData.$writableStackTrace = 1; $motdData.$message = $pkt; $motdData.$cause = $motd; $rt_throw($motdData); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($pkt, $pkt.$length0, $i, 10); var$5 = $pkt.$length0; jl_AbstractStringBuilder_insertSpace($pkt, var$5, var$5 + 1 | 0); $pkt.$buffer.data[var$5] = 47; jl_AbstractStringBuilder_insert0($pkt, $pkt.$length0, var$8, 10); $motd = new jl_String; var$6 = $pkt.$buffer; var$9 = var$6.data; var$8 = $pkt.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $motd.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$populationInfo = $motd; $pkt = $this.$playerList0; var$6 = $pkt.$array; $i = 0; var$8 = $pkt.$size0; $motd = null; if ($i > var$8) { $pkt = new jl_IllegalArgumentException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } while ($i < var$8) { var$9 = var$6.data; var$5 = $i + 1 | 0; var$9[$i] = $motd; $i = var$5; } v: { $pkt.$size0 = 0; $pkt.$modCount = $pkt.$modCount + 1 | 0; $motd = $motdData.$map; if (!$rt_s(449).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(449).$nativeString.length) break v; $rt_s(449).$hashCode1 = (31 * $rt_s(449).$hashCode1 | 0) + $rt_s(449).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } var$5 = $rt_s(449).$hashCode1; var$6 = $motd.$elementData.data; $motd = var$6[var$5 & (var$6.length - 1 | 0)]; while ($motd !== null) { if ($motd.$origKeyHash == var$5) { w: { $players = $motd.$key; if ($rt_s(449) !== $players) { if ($rt_s(449) === $players) $i = 1; else if (!($players instanceof jl_String)) $i = 0; else { $players = $players; $i = $rt_s(449).$nativeString !== $players.$nativeString ? 0 : 1; } if (!$i) { $i = 0; break w; } } $i = 1; } if ($i) break; } $motd = $motd.$next3; } $motd = $motd === null ? null : $motd.$value1; if ($motd === null) { $motd = new oj_JSONException; oj_JSONObject_$callClinit(); $players = new ji_StringWriter; $players.$lock = $players; $motdData = new jl_StringBuffer; $motdData.$buffer = $rt_createCharArray(16); $players.$buf0 = $motdData; $players.$lock = $motdData; jl_Object_monitorEnterSync($motdData); x: { y: { try { z: { try { $pkt = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(449), $players)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break z; } else { throw $$e; } } jl_Object_monitorExitSync($motdData); break x; } $pkt = $rt_s(18); jl_Object_monitorExitSync($motdData); break y; } catch ($$e) { $$je = $rt_wrapException($$e); $pkt = $$je; } jl_Object_monitorExitSync($motdData); $rt_throw($pkt); } } $players = new jl_StringBuilder; $players.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($players, $players.$length0, $rt_s(19)); $i = $players.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_StringBuilder_insert($players, $i, $pkt); jl_StringBuilder_insert($players, $players.$length0, $rt_s(20)); $pkt = new jl_String; var$6 = $players.$buffer; var$9 = var$6.data; var$8 = $players.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $motd.$suppressionEnabled = 1; $motd.$writableStackTrace = 1; $motd.$message = $pkt; $rt_throw($motd); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } if (!($motd instanceof oj_JSONArray)) { $motd = null; oj_JSONObject_$callClinit(); $motdData = new oj_JSONException; var$10 = new ji_StringWriter; var$10.$lock = var$10; var$11 = new jl_StringBuffer; var$11.$buffer = $rt_createCharArray(16); var$10.$buf0 = var$11; var$10.$lock = var$11; jl_Object_monitorEnterSync(var$11); ba: { bb: { try { bc: { try { $pkt = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(449), var$10)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bc; } else { throw $$e; } } jl_Object_monitorExitSync(var$11); break ba; } $pkt = $rt_s(18); jl_Object_monitorExitSync(var$11); break bb; } catch ($$e) { $$je = $rt_wrapException($$e); $pkt = $$je; } jl_Object_monitorExitSync(var$11); $rt_throw($pkt); } } var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$10, var$10.$length0, $rt_s(19)); $i = var$10.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_StringBuilder_insert(var$10, $i, $pkt); jl_StringBuilder_insert(var$10, var$10.$length0, $rt_s(21)); jl_StringBuilder_insert(var$10, var$10.$length0, $rt_s(450)); var$8 = var$10.$length0; jl_AbstractStringBuilder_insertSpace(var$10, var$8, var$8 + 1 | 0); var$6 = var$10.$buffer; var$9 = var$6.data; var$9[var$8] = 46; $pkt = new jl_String; var$8 = var$10.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $motdData.$suppressionEnabled = 1; $motdData.$writableStackTrace = 1; $motdData.$message = $pkt; $motdData.$cause = $motd; $rt_throw($motdData); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $players = $motd; $i = 0; var$12 = $players.$myArrayList.$size0; bd: while (true) { if ($i >= var$12) { $i = oj_JSONObject_getBoolean($motdData, $rt_s(451)); $this.$serverIconEnabled = $i; if (!$i) { $i = $this.$serverIconGL; if ($i != (-1)) { nleg_EaglerAdapterGL30_$callClinit(); $pkt = nleg_EaglerAdapterGL30_texObjects; if ($i < $pkt.$size4 && $i >= 0) { var$6 = $pkt.$values.data; $motd = var$6[$i]; var$6[$i] = null; $pkt.$allocatedObjects = $pkt.$allocatedObjects - 1 | 0; } else $motd = null; $pkt = $motd; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteTexture($pkt.$obj1); $this.$serverIconGL = (-1); } } $this.$hasError = 0; return; } be: { $pkt = $this.$playerList0; if ($i >= 0) { $motd = $players.$myArrayList; var$8 = $rt_compare($i, $motd.$size0); if (var$8 < 0) { if ($i < 0) break bd; if (var$8 >= 0) break bd; $motd = $motd.$array.data[$i]; break be; } } $motd = null; } if ($motd === null) { $pkt = new oj_JSONException; $motd = new jl_StringBuilder; $motd.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($motd, $motd.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($motd, $motd.$length0, $i, 10); jl_StringBuilder_insert($motd, $motd.$length0, $rt_s(20)); $players = new jl_String; var$6 = $motd.$buffer; var$9 = var$6.data; var$8 = $motd.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $players.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $pkt.$message = $players; $rt_throw($pkt); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } if (!($motd instanceof jl_String)) { $pkt = null; $players = new oj_JSONException; $motdData = new jl_StringBuilder; $motdData.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($motdData, $motdData.$length0, $rt_s(170)); jl_AbstractStringBuilder_insert0($motdData, $motdData.$length0, $i, 10); jl_StringBuilder_insert($motdData, $motdData.$length0, $rt_s(21)); jl_StringBuilder_insert($motdData, $motdData.$length0, $rt_s(171)); var$8 = $motdData.$length0; jl_AbstractStringBuilder_insertSpace($motdData, var$8, var$8 + 1 | 0); var$6 = $motdData.$buffer; var$9 = var$6.data; var$9[var$8] = 46; $motd = new jl_String; var$8 = $motdData.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $motd.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $players.$suppressionEnabled = 1; $players.$writableStackTrace = 1; $players.$message = $motd; $players.$cause = $pkt; $rt_throw($players); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $motd = $motd; ju_ArrayList_ensureCapacity($pkt, $pkt.$size0 + 1 | 0); var$6 = $pkt.$array.data; var$5 = $pkt.$size0; $pkt.$size0 = var$5 + 1 | 0; var$6[var$5] = $motd; $pkt.$modCount = $pkt.$modCount + 1 | 0; $i = $i + 1 | 0; } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $motd = null; oj_JSONObject_$callClinit(); $motdData = new oj_JSONException; var$10 = new ji_StringWriter; var$10.$lock = var$10; var$11 = new jl_StringBuffer; var$11.$buffer = $rt_createCharArray(16); var$10.$buf0 = var$11; var$10.$lock = var$11; jl_Object_monitorEnterSync(var$11); bf: { bg: { try { bh: { try { $pkt = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(445), var$10)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bh; } else { throw $$e; } } jl_Object_monitorExitSync(var$11); break bf; } $pkt = $rt_s(18); jl_Object_monitorExitSync(var$11); break bg; } catch ($$e) { $$je = $rt_wrapException($$e); $pkt = $$je; } jl_Object_monitorExitSync(var$11); $rt_throw($pkt); } } var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$10, var$10.$length0, $rt_s(19)); $i = var$10.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_StringBuilder_insert(var$10, $i, $pkt); jl_StringBuilder_insert(var$10, var$10.$length0, $rt_s(21)); jl_StringBuilder_insert(var$10, var$10.$length0, $rt_s(450)); var$8 = var$10.$length0; jl_AbstractStringBuilder_insertSpace(var$10, var$8, var$8 + 1 | 0); var$6 = var$10.$buffer; var$9 = var$6.data; var$9[var$8] = 46; $pkt = new jl_String; var$8 = var$10.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $motdData.$suppressionEnabled = 1; $motdData.$writableStackTrace = 1; $motdData.$message = $pkt; $motdData.$cause = $motd; $rt_throw($motdData); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $motd = new oj_JSONException; oj_JSONObject_$callClinit(); $players = new ji_StringWriter; $players.$lock = $players; $motdData = new jl_StringBuffer; $motdData.$buffer = $rt_createCharArray(16); $players.$buf0 = $motdData; $players.$lock = $motdData; jl_Object_monitorEnterSync($motdData); bi: { bj: { try { bk: { try { $pkt = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(445), $players)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bk; } else { throw $$e; } } jl_Object_monitorExitSync($motdData); break bi; } $pkt = $rt_s(18); jl_Object_monitorExitSync($motdData); break bj; } catch ($$e) { $$je = $rt_wrapException($$e); $pkt = $$je; } jl_Object_monitorExitSync($motdData); $rt_throw($pkt); } } $players = new jl_StringBuilder; $players.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($players, $players.$length0, $rt_s(19)); $i = $players.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_StringBuilder_insert($players, $i, $pkt); jl_StringBuilder_insert($players, $players.$length0, $rt_s(20)); $pkt = new jl_String; var$6 = $players.$buffer; var$9 = var$6.data; var$8 = $players.$length0; var$5 = var$9.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $motd.$suppressionEnabled = 1; $motd.$writableStackTrace = 1; $motd.$message = $pkt; $rt_throw($motd); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); }, nms_ServerData_setRateLimitError = ($this, $lock, $isTcp) => { let var$3, var$4, var$5, var$6, var$7, var$8; a: { if ($lock) { nms_EnumChatFormatting_$callClinit(); var$3 = nms_EnumChatFormatting_RED; var$4 = var$3 === null ? $rt_s(1) : var$3.$field_96304_B; var$3 = nms_EnumChatFormatting_GRAY; var$5 = var$3 === null ? $rt_s(1) : var$3.$field_96304_B; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); $lock = var$3.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $lock, var$4); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(452)); $lock = var$3.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $lock, var$5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(453)); var$4 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $isTcp = var$3.$length0; var$8 = var$7.length; if ($isTcp >= 0 && $isTcp <= (var$8 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$6.data, 0, $isTcp); $this.$serverMOTD = var$4; break a; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } if (!$isTcp) { nms_EnumChatFormatting_$callClinit(); var$3 = nms_EnumChatFormatting_RED; var$4 = var$3 === null ? $rt_s(1) : var$3.$field_96304_B; var$3 = nms_EnumChatFormatting_GRAY; var$5 = var$3 === null ? $rt_s(1) : var$3.$field_96304_B; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); $lock = var$3.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $lock, var$4); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(454)); $lock = var$3.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $lock, var$5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(455)); var$4 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $isTcp = var$3.$length0; var$8 = var$7.length; if ($isTcp >= 0 && $isTcp <= (var$8 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$6.data, 0, $isTcp); $this.$serverMOTD = var$4; break a; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } nms_EnumChatFormatting_$callClinit(); var$3 = nms_EnumChatFormatting_RED; var$4 = var$3 === null ? $rt_s(1) : var$3.$field_96304_B; var$3 = nms_EnumChatFormatting_GRAY; var$5 = var$3 === null ? $rt_s(1) : var$3.$field_96304_B; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); $lock = var$3.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $lock, var$4); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(456)); $lock = var$3.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $lock, var$5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(455)); var$4 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $isTcp = var$3.$length0; var$8 = var$7.length; if ($isTcp >= 0 && $isTcp <= (var$8 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$6.data, 0, $isTcp); $this.$serverMOTD = var$4; } else { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } } $this.$populationInfo = $rt_s(18); var$3 = $this.$playerList0; var$6 = var$3.$array; $lock = 0; $isTcp = var$3.$size0; var$4 = null; if ($lock > $isTcp) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } while ($lock < $isTcp) { var$7 = var$6.data; var$8 = $lock + 1 | 0; var$7[$lock] = var$4; $lock = var$8; } var$3.$size0 = 0; var$3.$modCount = var$3.$modCount + 1 | 0; $this.$serverIconEnabled = 0; $this.$hasError = 1; }, nms_ServerData_refreshIcon = $this => { let var$1, $buf, var$3, var$4, var$5, var$6, var$7, var$8; if (!$this.$serverIconEnabled) { var$1 = $this.$serverIconGL; if (var$1 != (-1)) { nleg_EaglerAdapterGL30_$callClinit(); $buf = nleg_EaglerAdapterGL30_texObjects; if (var$1 < $buf.$size4 && var$1 >= 0) { var$3 = $buf.$values.data; var$4 = var$3[var$1]; var$3[var$1] = null; $buf.$allocatedObjects = $buf.$allocatedObjects - 1 | 0; } else var$4 = null; $buf = var$4; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteTexture($buf.$obj1); $this.$serverIconGL = (-1); $this.$serverIconDirty = 0; } } else if ($this.$serverIconDirty && $this.$serverIcon !== null) { var$5 = $this.$serverIconGL; if (var$5 != (-1)) { $buf = nms_Minecraft_theMinecraft.$renderEngine; if (var$5 != $buf.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, var$5); $buf.$boundTexture = var$5; } } else { nleg_EaglerAdapterGL30_$callClinit(); $buf = nleg_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); var$4 = new nlea_EaglerAdapterImpl2$TextureGL; var$6 = nlea_EaglerAdapterImpl2_webgl.createTexture(); var$4.$w1 = (-1); var$4.$h0 = (-1); var$4.$nearest = 1; var$4.$anisotropic = 0; var$4.$obj1 = var$6; var$1 = nleg_GLObjectMap_register($buf, var$4); $this.$serverIconGL = var$1; $buf = nms_Minecraft_theMinecraft.$renderEngine; if (var$1 != $buf.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, var$1); $buf.$boundTexture = var$1; } nleg_EaglerAdapterGL30_glTexParameteri(3553, 10242, 10497); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10243, 10497); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9728); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9728); } nleg_EaglerAdapterGL30_$callClinit(); var$1 = nleg_EaglerAdapterGL30_isWebGL; if (var$1) { var$3 = $rt_createIntArray(4096); var$1 = var$3.data.length; $buf = new jn_IntBufferOverArray; var$7 = 0 + var$1 | 0; $buf.$mark = (-1); $buf.$capacity = var$1; $buf.$limit0 = var$1; $buf.$position0 = 0; $buf.$limit0 = var$7; $buf.$start3 = 0; $buf.$readOnly3 = 0; $buf.$array4 = var$3; } else { if (!var$1) { var$4 = new jn_ByteBufferImpl; var$3 = $rt_createByteArray(16384); var$4.$mark = (-1); var$4.$capacity = 16384; var$4.$limit0 = 16384; var$4.$order = jn_ByteOrder_BIG_ENDIAN; var$4.$start = 0; var$4.$array0 = var$3; var$4.$position0 = 0; var$4.$limit0 = 16384; var$4.$direct = 1; var$4.$readOnly0 = 0; var$4.$order = jn_ByteOrder_nativeOrder(); } else { var$3 = $rt_createByteArray(16384); var$1 = var$3.data.length; if (var$1 >= 0 && var$1 <= (var$1 - 0 | 0)) { var$4 = new jn_ByteBufferImpl; var$8 = 0 + var$1 | 0; var$4.$mark = (-1); var$4.$capacity = var$1; var$4.$limit0 = var$1; var$4.$order = jn_ByteOrder_BIG_ENDIAN; var$4.$start = 0; var$4.$array0 = var$3; var$4.$position0 = 0; var$4.$limit0 = var$8; var$4.$direct = 0; var$4.$readOnly0 = 0; } else { $buf = new jl_IndexOutOfBoundsException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } } $buf = jn_ByteBufferImpl_asIntBuffer(var$4); } var$3 = $this.$serverIcon; jn_IntBuffer_put($buf, var$3, 0, var$3.data.length); $buf.$limit0 = $buf.$position0; $buf.$position0 = 0; $buf.$mark = (-1); nleg_EaglerAdapterGL30_glTexImage2D(3553, 0, 6408, 64, 64, 0, 32993, 33639, $buf); $this.$serverIconDirty = 0; } }, nms_ServerData__clinit_ = () => { nms_ServerData_idCounter = 0; }, jl_System = $rt_classWithoutFields(), jl_System_outCache = null, jl_System_errCache = null, jl_System__init_ = $this => { return; }, jl_System__init_0 = () => { let var_0 = new jl_System(); jl_System__init_(var_0); return var_0; }, jl_System_out = () => { let var$1, var$2; if (jl_System_outCache === null) { var$1 = new otcic_JSStdoutPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$1; } return jl_System_outCache; }, jl_System_err = () => { let var$1, var$2; if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } return jl_System_errCache; }, jl_System_arraycopy = ($src, $srcPos, $dest, $destPos, $length) => { let var$6, $elem, $srcType, $targetType, $srcArray, $i, var$12, var$13, var$14, var$15; if ($src !== null && $dest !== null) { if ($srcPos >= 0 && $destPos >= 0 && $length >= 0 && ($srcPos + $length | 0) <= jlr_Array_getLength($src) && ($destPos + $length | 0) <= jlr_Array_getLength($dest)) { a: { b: { if ($src !== $dest) { var$6 = $src.constructor; if (var$6 === null) $elem = null; else { $elem = var$6.classObject; if ($elem === null) { $elem = new jl_Class; $elem.$platformClass = var$6; var$6.classObject = $elem; } } $srcType = jl_Class_getComponentType($elem); var$6 = $dest.constructor; if (var$6 === null) $elem = null; else { $elem = var$6.classObject; if ($elem === null) { $elem = new jl_Class; $elem.$platformClass = var$6; var$6.classObject = $elem; } } $targetType = jl_Class_getComponentType($elem); if ($srcType !== null && $targetType !== null) { if ($srcType === $targetType) break b; if (!($srcType.$platformClass.$meta.primitive ? 1 : 0) && !($targetType.$platformClass.$meta.primitive ? 1 : 0)) { $srcArray = $src; $i = 0; var$12 = $srcPos; while ($i < $length) { var$13 = $srcArray.data; var$14 = var$12 + 1 | 0; var$6 = var$13[var$12]; var$15 = $targetType.$platformClass; if (!(var$6 !== null && !(typeof var$6.constructor.$meta === 'undefined' ? 1 : 0) && otp_Platform_isAssignable(var$6.constructor, var$15) ? 1 : 0)) { jl_System_doArrayCopy($src, $srcPos, $dest, $destPos, $i); $src = new jl_ArrayStoreException; $src.$suppressionEnabled = 1; $src.$writableStackTrace = 1; $rt_throw($src); } $i = $i + 1 | 0; var$12 = var$14; } jl_System_doArrayCopy($src, $srcPos, $dest, $destPos, $length); return; } if (!($srcType.$platformClass.$meta.primitive ? 1 : 0)) break a; if ($targetType.$platformClass.$meta.primitive ? 1 : 0) break b; else break a; } $src = new jl_ArrayStoreException; $src.$suppressionEnabled = 1; $src.$writableStackTrace = 1; $rt_throw($src); } } jl_System_doArrayCopy($src, $srcPos, $dest, $destPos, $length); return; } $src = new jl_ArrayStoreException; $src.$suppressionEnabled = 1; $src.$writableStackTrace = 1; $rt_throw($src); } $src = new jl_IndexOutOfBoundsException; $src.$suppressionEnabled = 1; $src.$writableStackTrace = 1; $rt_throw($src); } $dest = new jl_NullPointerException; $dest.$suppressionEnabled = 1; $dest.$writableStackTrace = 1; $dest.$message = $rt_s(457); $rt_throw($dest); }, jl_System_fastArraycopy = ($src, $srcPos, $dest, $destPos, $length) => { if ($srcPos >= 0 && $destPos >= 0 && $length >= 0 && ($srcPos + $length | 0) <= jlr_Array_getLength($src) && ($destPos + $length | 0) <= jlr_Array_getLength($dest)) { jl_System_doArrayCopy($src, $srcPos, $dest, $destPos, $length); return; } $src = new jl_IndexOutOfBoundsException; $src.$suppressionEnabled = 1; $src.$writableStackTrace = 1; $rt_throw($src); }, jl_System_doArrayCopy = (var$1, var$2, var$3, var$4, var$5) => { if (var$5 !== 0) { if (typeof var$1.data.buffer !== 'undefined') { var$3.data.set(var$1.data.subarray(var$2, var$2 + var$5), var$4); } else if (var$1 !== var$3 || var$4 < var$2) { for (let i = 0;i < var$5;i = i + 1 | 0) { var$3.data[var$4++] = var$1.data[var$2++]; } } else { var$2 = var$2 + var$5 | 0; var$4 = var$4 + var$5 | 0; for (let i = 0;i < var$5;i = i + 1 | 0) { var$3.data[ --var$4] = var$1.data[ --var$2]; } } } }, jl_System_currentTimeMillis = () => { return Long_fromNumber((new Date()).getTime()); }; function nms_Minecraft() { let a = this; jl_Object.call(a); a.$currentServerData = null; a.$renderEngine = null; a.$playerController = null; a.$fullscreen = 0; a.$isGonnaTakeDatScreenShot = 0; a.$displayWidth = 0; a.$displayHeight = 0; a.$timer = null; a.$theWorld = null; a.$renderGlobal = null; a.$thePlayer = null; a.$renderViewEntity = null; a.$pointedEntityLiving = null; a.$effectRenderer = null; a.$isGamePaused = 0; a.$fontRenderer0 = null; a.$standardGalacticFontRenderer = null; a.$currentScreen = null; a.$loadingScreen = null; a.$entityRenderer = null; a.$leftClickCounter = 0; a.$tempDisplayHeight = 0; a.$theIntegratedServer = null; a.$guiAchievement = null; a.$ingameGUI = null; a.$skipRenderWorld = 0; a.$objectMouseOver = null; a.$gameSettings = null; a.$sndManager = null; a.$mouseHelper = null; a.$texturePackList = null; a.$rightClickDelayTimer = 0; a.$refreshTexturePacksScheduled = 0; a.$inGameHasFocus = 0; a.$systemTime = Long_ZERO; a.$joinPlayerCounter = 0; a.$myNetworkManager = null; a.$integratedServerIsRunning = 0; a.$field_83002_am = Long_ZERO; a.$defaultResourcePacks = null; a.$running = 0; a.$chunkUpdates = 0; a.$chunkGeometryUpdates = 0; a.$debug = null; a.$debugUpdateTime = Long_ZERO; a.$fpsCounter = 0; a.$prevFrameTime = Long_ZERO; a.$secondTimer = Long_ZERO; a.$shownPlayerMessages = null; a.$debugProfilerName = null; a.$messageOnLoginCounter = 0; a.$lanState = 0; a.$yeeState = 0; a.$checkGLErrors = 0; a.$wasPaused = 0; a.$titleMusicObj = 0; a.$reconnectAddress = null; } let nms_Minecraft_memoryReserve = null, nms_Minecraft_theMinecraft = null, nms_Minecraft_debugFPS = 0, nms_Minecraft_debugChunkUpdates = 0, nms_Minecraft_debugChunkGeometryUpdates = 0, nms_Minecraft__init_ = $this => { let var$1; $this.$isGonnaTakeDatScreenShot = 0; var$1 = new nms_Timer; var$1.$timerSpeed = 1.0; var$1.$timeSyncAdjustment = 1.0; var$1.$ticksPerSecond = 20.0; nlea_EaglerAdapterImpl2_$callClinit(); var$1.$lastSyncSysClock = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$1.$lastSyncHRClock = Long_div(Long_fromNumber(performance.now() * 1000000.0), Long_fromInt(1000000)); $this.$timer = var$1; $this.$sndManager = nms_SoundManager__init_0(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$field_83002_am = Long_fromInt(-1); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$defaultResourcePacks = var$1; $this.$running = 1; $this.$chunkUpdates = 0; $this.$chunkGeometryUpdates = 0; $this.$debug = $rt_s(18); $this.$debugUpdateTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$prevFrameTime = Long_fromInt(-1); $this.$secondTimer = Long_ZERO; var$1 = new ju_HashSet; var$1.$backingMap = ju_HashMap__init_(); $this.$shownPlayerMessages = var$1; $this.$debugProfilerName = $rt_s(458); $this.$messageOnLoginCounter = 0; $this.$lanState = 0; $this.$yeeState = 0; $this.$checkGLErrors = 0; $this.$wasPaused = 0; $this.$titleMusicObj = (-1); $this.$reconnectAddress = null; $this.$tempDisplayHeight = 480; $this.$fullscreen = 0; nms_Packet3Chat_maxChatLength = 32767; $this.$displayWidth = 854; $this.$displayHeight = 480; $this.$fullscreen = 0; nms_Minecraft_theMinecraft = $this; }, nms_Minecraft__init_0 = () => { let var_0 = new nms_Minecraft(); nms_Minecraft__init_(var_0); return var_0; }, nms_Minecraft_startGame = $this => { let $var2, $scr, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $s, var$11, var$12, var$13, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$s = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$scr = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_OpenGlHelper_defaultTexUnit = 33984; nms_OpenGlHelper_lightmapTexUnit = 33985; nms_TextureManager_instance = nms_TextureManager__init_0(); $this.$gameSettings = nms_GameSettings__init_($this); $var2 = new nms_TexturePackList; $ptr = 1; case 1: nms_TexturePackList__init_($var2, $this); if ($rt_suspending()) { break main; } $this.$texturePackList = $var2; $this.$renderEngine = nms_RenderEngine__init_($var2, $this.$gameSettings); $ptr = 2; case 2: nms_Minecraft_loadScreen($this); if ($rt_suspending()) { break main; } nms_ChatAllowedCharacters_getAllowedCharacters(); $var2 = new nms_FontRenderer; $scr = $this.$gameSettings; var$3 = $rt_s(459); var$4 = $this.$renderEngine; var$5 = 0; $ptr = 3; case 3: nms_FontRenderer__init_($var2, $scr, var$3, var$4, var$5); if ($rt_suspending()) { break main; } $this.$fontRenderer0 = $var2; $var2 = new nms_FontRenderer; $scr = $this.$gameSettings; var$3 = $rt_s(460); var$4 = $this.$renderEngine; var$5 = 0; $ptr = 4; case 4: nms_FontRenderer__init_($var2, $scr, var$3, var$4, var$5); if ($rt_suspending()) { break main; } $this.$standardGalacticFontRenderer = $var2; $var2 = $this.$gameSettings.$language; if ($var2 === null) { $ptr = 5; continue main; } nms_StringTranslate_$callClinit(); $scr = nms_StringTranslate_instance; var$5 = 0; $ptr = 6; continue main; case 5: a: { nms_Minecraft_loadScreen($this); if ($rt_suspending()) { break main; } $var2 = $this.$renderEngine; $scr = $rt_s(461); var$4 = $var2.$texturePack.$selectedTexturePack; var$3 = $var2.$textureContentsMap; if (!$scr.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $scr.$nativeString.length) break a; $scr.$hashCode1 = (31 * $scr.$hashCode1 | 0) + $scr.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = $scr.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { b: { var$7 = var$3.$key; if ($scr !== var$7) { if ($scr === var$7) var$8 = 1; else if (!(var$7 instanceof jl_String)) var$8 = 0; else { var$7 = var$7; var$8 = $scr.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$3 = var$3.$next3; } var$6 = var$3 === null ? null : var$3.$value1; if (var$6 === null) { $ptr = 7; continue main; } c: { nms_ColorizerGrass_grassBuffer = var$6; $var2 = $this.$renderEngine; $scr = $rt_s(462); var$4 = $var2.$texturePack.$selectedTexturePack; var$3 = $var2.$textureContentsMap; if (!$scr.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $scr.$nativeString.length) break c; $scr.$hashCode1 = (31 * $scr.$hashCode1 | 0) + $scr.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = $scr.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { d: { var$7 = var$3.$key; if ($scr !== var$7) { if ($scr === var$7) var$8 = 1; else if (!(var$7 instanceof jl_String)) var$8 = 0; else { var$7 = var$7; var$8 = $scr.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break d; } } var$8 = 1; } if (var$8) break; } var$3 = var$3.$next3; } var$6 = var$3 === null ? null : var$3.$value1; if (var$6 === null) { $ptr = 9; continue main; } nms_ColorizerFoliage_foliageBuffer = var$6; $this.$entityRenderer = nms_EntityRenderer__init_($this); $ptr = 11; continue main; case 6: nms_StringTranslate_setLanguage($scr, $var2, var$5); if ($rt_suspending()) { break main; } $ptr = 5; continue main; case 7: $tmp = var$4.$getResourceAsBytes($scr); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 !== null) { nlea_EaglerAdapterImpl2_$callClinit(); var$3 = var$6.data.buffer; $ptr = 8; continue main; } var$6 = $var2.$missingTextureImage.$data5; ju_HashMap_putImpl($var2.$textureContentsMap, $scr, var$6); e: { nms_ColorizerGrass_grassBuffer = var$6; $var2 = $this.$renderEngine; $scr = $rt_s(462); var$4 = $var2.$texturePack.$selectedTexturePack; var$3 = $var2.$textureContentsMap; if (!$scr.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $scr.$nativeString.length) break e; $scr.$hashCode1 = (31 * $scr.$hashCode1 | 0) + $scr.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = $scr.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { f: { var$7 = var$3.$key; if ($scr !== var$7) { if ($scr === var$7) var$8 = 1; else if (!(var$7 instanceof jl_String)) var$8 = 0; else { var$7 = var$7; var$8 = $scr.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break f; } } var$8 = 1; } if (var$8) break; } var$3 = var$3.$next3; } var$6 = var$3 === null ? null : var$3.$value1; if (var$6 === null) { $ptr = 9; continue main; } nms_ColorizerFoliage_foliageBuffer = var$6; $this.$entityRenderer = nms_EntityRenderer__init_($this); $ptr = 11; continue main; case 8: $tmp = nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$(var$3); if ($rt_suspending()) { break main; } var$3 = $tmp; var$6 = var$3.$data5; ju_HashMap_putImpl($var2.$textureContentsMap, $scr, var$6); a: { nms_ColorizerGrass_grassBuffer = var$6; $var2 = $this.$renderEngine; $scr = $rt_s(462); var$4 = $var2.$texturePack.$selectedTexturePack; var$3 = $var2.$textureContentsMap; if (!$scr.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $scr.$nativeString.length) break a; $scr.$hashCode1 = (31 * $scr.$hashCode1 | 0) + $scr.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = $scr.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { b: { var$7 = var$3.$key; if ($scr !== var$7) { if ($scr === var$7) var$8 = 1; else if (!(var$7 instanceof jl_String)) var$8 = 0; else { var$7 = var$7; var$8 = $scr.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$3 = var$3.$next3; } var$6 = var$3 === null ? null : var$3.$value1; if (var$6 === null) { $ptr = 9; continue main; } nms_ColorizerFoliage_foliageBuffer = var$6; $this.$entityRenderer = nms_EntityRenderer__init_($this); $ptr = 11; continue main; case 9: $tmp = var$4.$getResourceAsBytes($scr); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 !== null) { nlea_EaglerAdapterImpl2_$callClinit(); var$3 = var$6.data.buffer; $ptr = 10; continue main; } var$6 = $var2.$missingTextureImage.$data5; ju_HashMap_putImpl($var2.$textureContentsMap, $scr, var$6); nms_ColorizerFoliage_foliageBuffer = var$6; $this.$entityRenderer = nms_EntityRenderer__init_($this); $ptr = 11; continue main; case 10: $tmp = nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$(var$3); if ($rt_suspending()) { break main; } var$3 = $tmp; var$6 = var$3.$data5; ju_HashMap_putImpl($var2.$textureContentsMap, $scr, var$6); nms_ColorizerFoliage_foliageBuffer = var$6; $this.$entityRenderer = nms_EntityRenderer__init_($this); $ptr = 11; case 11: a: { nms_AchievementMap_init(); if ($rt_suspending()) { break main; } nms_StatList_$callClinit(); $var2 = nms_RenderManager__init_0(); nms_RenderManager_instance = $var2; $scr = new nms_ItemRenderer; nms_ItemRenderer_$callClinit(); var$3 = new nms_RenderBlocks; var$3.$useInventoryTint = 1; var$3.$minecraftRB = nms_Minecraft_theMinecraft; $scr.$renderBlocksInstance0 = var$3; $scr.$equippedItemSlot = (-1); $scr.$mc8 = $this; $scr.$mapItemRenderer = nms_MapItemRenderer__init_($this.$fontRenderer0, $this.$gameSettings, $this.$renderEngine); $var2.$itemRenderer = $scr; nms_AchievementList_$callClinit(); $var2 = nms_AchievementList_openInventory; $scr = new nms_StatStringFormatKeyInv; $scr.$mc16 = $this; $var2.$statStringFormatter = $scr; $this.$mouseHelper = new nms_MouseHelper; nms_Minecraft_checkGLError($this, $rt_s(463)); nleg_EaglerAdapterGL30_glEnable(3553); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clearDepth((-1.0)); nleg_EaglerAdapterGL30_glEnable(2929); var$8 = 518; switch (515) { case 514: var$8 = 514; break a; case 515: var$8 = 518; break a; case 516: var$8 = 513; break a; default: } } if (var$8 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_webgl.depthFunc(var$8); nleg_EaglerAdapterGL30_currentDepthFunc = var$8; } nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; if (1029 != nleg_EaglerAdapterGL30_currentCullFace) { nlea_EaglerAdapterImpl2_webgl.cullFace(1029); nleg_EaglerAdapterGL30_currentCullFace = 1029; } nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_matrixMode = 5888; nms_Minecraft_checkGLError($this, $rt_s(464)); nms_SoundManager_loadSoundSettings($this.$sndManager, $this.$gameSettings); $this.$renderGlobal = nms_RenderGlobal__init_($this, $this.$renderEngine); $var2 = $this.$renderEngine; $scr = $var2.$textureMapBlocks; $ptr = 12; case 12: nle_TextureTerrainMap_refreshTextures($scr); if ($rt_suspending()) { break main; } $var2 = $var2.$textureMapItems; $ptr = 13; case 13: a: { nms_TextureMap_refreshTextures($var2); if ($rt_suspending()) { break main; } nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, $this.$displayHeight); $this.$effectRenderer = nms_EffectRenderer__init_0($this.$theWorld, $this.$renderEngine); nms_Minecraft_checkGLError($this, $rt_s(465)); $var2 = new nms_GuiAchievement; nms_GuiAchievement_$callClinit(); nms_Gui_$callClinit(); $var2.$theGame = $this; $var2.$itemRender = nms_RenderItem__init_(); $this.$guiAchievement = $var2; $var2 = new nms_GuiIngame; nms_GuiIngame_$callClinit(); $scr = new nle_EaglercraftRandom; var$9 = Long_fromNumber(performance.now() * 1000000.0); $scr.$seed = Long_fromInt(69); $scr.$haveNextNextGaussian = 0; $scr.$seed = var$9; $var2.$rand5 = $scr; $var2.$recordPlaying = $rt_s(18); $var2.$prevVignetteBrightness = 1.0; $var2.$mc3 = $this; $scr = new nms_GuiNewChat; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $scr.$sentMessages = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $scr.$chatLines = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $scr.$field_96134_d = var$3; $scr.$mc7 = $this; $var2.$persistantChatGUI = $scr; $this.$ingameGUI = $var2; nms_ScaledResolution__init_0(new nms_ScaledResolution, $this.$gameSettings, $this.$displayWidth, $this.$displayHeight); if (nlea_EaglerAdapterImpl2_anisotropicFilteringSupported) { if (!nlea_DetectAnisotropicGlitch_known) { nlea_DetectAnisotropicGlitch_detected = nlea_DetectAnisotropicGlitch_detect(); nlea_DetectAnisotropicGlitch_known = 1; } if (nlea_DetectAnisotropicGlitch_detected) { var$5 = 1; break a; } } var$5 = 0; } nleg_EaglerAdapterGL30_enableAnisotropicPatch = var$5; nle_EaglerProfile_loadFromStorage(); $var2 = $this.$sndManager; $ptr = 14; case 14: nms_SoundManager_playTheTitleMusic($var2); if ($rt_suspending()) { break main; } $ptr = 15; case 15: nms_Minecraft_showIntroAnimation($this); if ($rt_suspending()) { break main; } $s = nlea_EaglerAdapterImpl2_serverToJoinOnLaunch; if ($s !== null) { $scr = new nle_GuiScreenEditProfile; var$3 = new nms_GuiConnecting; var$4 = nms_GuiMainMenu__init_(); var$7 = nms_ServerData__init_0($rt_s(466), $s, 0); nms_GuiScreen__init_(var$3); var$3.$cancelled = 0; var$3.$mc = $this; var$3.$field_98098_c = var$4; var$3.$clientHandler = null; var$3.$networkConnection = null; var$3.$uri = var$7.$serverIP; $var2 = null; var$4 = $rt_s(18); $ptr = 16; continue main; } $scr = nle_GuiScreenEditProfile__init_(nms_GuiMainMenu__init_()); $var2 = $this.$gameSettings; if ($var2.$enableVsync) $var2 = $scr; else if ($var2.$hideVsyncWarning) $var2 = $scr; else { $var2 = new nle_GuiScreenVSyncWarning; nms_GuiScreen__init_($var2); var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $var2.$messages = var$3; $var2.$top0 = 0; $var2.$cont = $scr; } $ptr = 17; continue main; case 16: nms_Minecraft_loadWorld($this, $var2, var$4); if ($rt_suspending()) { break main; } $this.$currentServerData = var$7; nle_GuiScreenEditProfile__init_0($scr, var$3); $var2 = $this.$gameSettings; if ($var2.$enableVsync) $var2 = $scr; else if ($var2.$hideVsyncWarning) $var2 = $scr; else { $var2 = new nle_GuiScreenVSyncWarning; nms_GuiScreen__init_($var2); var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $var2.$messages = var$3; $var2.$top0 = 0; $var2.$cont = $scr; } $ptr = 17; case 17: nms_Minecraft_displayGuiScreen($this, $var2); if ($rt_suspending()) { break main; } $var2 = new nms_LoadingScreenRenderer; $var2.$field_73727_a = $rt_s(18); $var2.$currentlyDisplayedText = $rt_s(18); $var2.$field_73723_d = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var2.$mc10 = $this; $this.$loadingScreen = $var2; $var2 = $rt_s(467); if ($var2 === $rt_s(192) ? 1 : jl_String_startsWith($var2, $rt_s(192), 0)) $var2 = jl_String_substring($var2, 1, $var2.$nativeString.length); $scr = nle_AssetRepository_filePool; if ($var2 === null) { $scr = $scr.$elementData.data[0]; while ($scr !== null && $scr.$key !== null) { $scr = $scr.$next3; } } else { g: { if (!$var2.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $var2.$nativeString.length) break g; $var2.$hashCode1 = (31 * $var2.$hashCode1 | 0) + $var2.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$8 = $var2.$hashCode1; var$6 = $scr.$elementData.data; $scr = var$6[var$8 & (var$6.length - 1 | 0)]; while ($scr !== null) { if ($scr.$origKeyHash == var$8) { h: { var$3 = $scr.$key; if ($var2 !== var$3) { if ($var2 === var$3) var$5 = 1; else if (!(var$3 instanceof jl_String)) var$5 = 0; else { var$3 = var$3; var$5 = $var2.$nativeString !== var$3.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break h; } } var$5 = 1; } if (var$5) break; } $scr = $scr.$next3; } } $var2 = $scr === null ? null : $scr.$value1; i: { j: { var$6 = $var2; if (var$6 !== null) { var$11 = var$6.data; $var2 = new jl_String; jnc_StandardCharsets_$callClinit(); $scr = jnc_StandardCharsets_UTF_8; var$12 = var$11.length; if (var$12 >= 0 && var$12 <= (var$12 - 0 | 0)) { var$3 = new jn_ByteBufferImpl; var$13 = 0 + var$12 | 0; var$3.$mark = (-1); var$3.$capacity = var$12; var$3.$limit0 = var$12; var$3.$order = jn_ByteOrder_BIG_ENDIAN; var$3.$start = 0; var$3.$array0 = var$6; var$3.$position0 = 0; var$3.$limit0 = var$13; var$3.$direct = 0; var$3.$readOnly0 = 0; k: { try { $scr = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(jnci_UTF8Charset_newDecoder($scr), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$3); break k; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $scr = $$je; } else { throw $$e; } } var$3 = new jl_AssertionError; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(405); var$3.$cause = $scr; $rt_throw(var$3); } var$12 = $scr.$position0; if (!var$12 && $scr.$limit0 == $scr.$capacity) var$6 = $scr.$array1; else { var$6 = $rt_createCharArray($scr.$limit0 - var$12 | 0); jn_CharBuffer_get($scr, var$6, 0, var$6.data.length); } l: { $var2.$nativeString = $rt_fullArrayToString(var$6.data); if (!$var2.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $var2.$nativeString.length) break l; $var2.$hashCode1 = (31 * $var2.$hashCode1 | 0) + $var2.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } if ($var2.$hashCode1 != 508925104) break j; else { var$5 = 1; break i; } } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } } var$5 = 0; } $this.$yeeState = var$5; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, $scr, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $s, var$11, var$12, var$13, $ptr); }, nms_Minecraft_showIntroAnimation = $this => { let $var1, var$2, $t1, $i, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $f, var$13, var$14, var$15, var$16, $t, $t_0, $i_0, var$20, $f_0, var$22, $f1, var$24, var$25, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();$f1 = $thread.pop();var$22 = $thread.pop();$f_0 = $thread.pop();var$20 = $thread.pop();$i_0 = $thread.pop();$t_0 = $thread.pop();$t = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$f = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$i = $thread.pop();$t1 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_ScaledResolution__init_0(new nms_ScaledResolution, $this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clearColor(1.0, 1.0, 1.0, 1.0); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_matrixMode = 5888; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); $var1 = nleg_EaglerAdapterGL30_deevis; $var1.$x = 0.0; $var1.$y = 0.0; $var1.$z = (-2000.0); $var1 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var1, $var1); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); $var1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var1.$sb = var$2; $var1.$buffer0 = $rt_createCharArray(32); $var1.$autoFlush = 0; $var1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var1; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glDisable(2912); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $t1 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $i = 0; var$5 = Long_add($t1, Long_fromInt(17)); $var1 = $rt_s(468); var$2 = $rt_s(469); var$6 = $rt_s(468); var$7 = $rt_s(469); var$8 = $rt_s(468); var$9 = $rt_s(469); if ($i < 20) { $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t1)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$13 = 1.0 - $f; var$14 = 0.0; if (var$13 >= var$14) var$14 = var$13 <= 1.0 ? var$13 : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(470); $ptr = 2; continue main; } $t = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $i = 0; var$5 = Long_add($t, Long_fromInt(17)); $var1 = $rt_s(468); var$2 = $rt_s(469); var$6 = $rt_s(468); var$7 = $rt_s(469); var$8 = $rt_s(468); var$9 = $rt_s(469); if ($i >= 20) { $i = 1600; $ptr = 1; continue main; } $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 0.0; if ($f >= var$14) var$14 = $f <= 1.0 ? $f : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(471); $ptr = 3; continue main; case 1: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($i); if ($rt_suspending()) { break main; } $t_0 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $i_0 = 0; var$5 = Long_add($t_0, Long_fromInt(17)); var$8 = $rt_s(468); var$9 = $rt_s(469); var$15 = $rt_s(468); var$16 = $rt_s(469); var$20 = $rt_s(468); var$11 = $rt_s(469); if ($i_0 < 21) { $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); $var1 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); $f_0 = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t_0)) / 340.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 1.0 - $f_0; var$13 = 0.0; if (var$14 >= var$13) var$13 = var$14 <= 1.0 ? var$14 : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$13; var$2 = $this.$renderEngine; var$6 = $rt_s(471); $ptr = 6; continue main; } nlea_EaglerAdapterImpl2_webgl.clear(16640); if ($this.$gameSettings.$enableVsync) { $i = 0; $i_0 = 1; $ptr = 4; continue main; } if (nle_EnumBrowser_getBrowser() !== nle_EnumBrowser_DESKTOP) { $i = 100; $ptr = 5; continue main; } $var1 = $this.$currentScreen; var$22 = $var1 !== null && $var1 instanceof nms_GuiMainMenu ? 2 : $this.$gameSettings.$limitFramerate; if (var$22 <= 0) $i = 0; else { nms_EntityRenderer_$callClinit(); $i = 200; if (var$22 == 1) $i = 120; if (var$22 == 2) $i = 35; } $i_0 = 0; $ptr = 10; continue main; case 2: $tmp = nms_RenderEngine_getTexture(var$15, var$16); if ($rt_suspending()) { break main; } $i_0 = $tmp; if ($i_0 != var$15.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $i_0); var$15.$boundTexture = $i_0; } nleg_EaglerAdapterGL30_glPushMatrix(); $f1 = 1.0 + 0.02500000037252903 * $f * $f; $f = (var$11.$scaledWidth - 256 | 0) / 2 | 0; var$24 = (var$11.$scaledHeight - 256 | 0) / 2 | 0; var$15 = nleg_EaglerAdapterGL30_deevis; var$15.$x = $f; var$15.$y = var$24; var$15.$z = 0.0; var$15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$15, var$15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$15 = new otcic_JSStderrPrintStream; var$16 = new ji_ByteArrayOutputStream; var$16.$buf = $rt_createByteArray(32); var$15.$out0 = var$16; var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); var$15.$sb = var$16; var$15.$buffer0 = $rt_createCharArray(32); var$15.$autoFlush = 0; var$15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$15; } $rt_putStderr($rt_ustr($var1)); $rt_putStderr($rt_ustr(var$2)); } $f = (-128.0) * ($f1 - 1.0); var$15 = nleg_EaglerAdapterGL30_deevis; var$15.$x = $f; var$15.$y = $f; var$15.$z = 0.0; var$15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$15, var$15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$15 = new otcic_JSStderrPrintStream; var$16 = new ji_ByteArrayOutputStream; var$16.$buf = $rt_createByteArray(32); var$15.$out0 = var$16; var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); var$15.$sb = var$16; var$15.$buffer0 = $rt_createCharArray(32); var$15.$autoFlush = 0; var$15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$15; } $rt_putStderr($rt_ustr(var$6)); $rt_putStderr($rt_ustr(var$7)); } var$15 = nleg_EaglerAdapterGL30_deevis; var$15.$x = $f1; var$15.$y = $f1; var$15.$z = 1.0; var$15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$15, var$15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$15 = new otcic_JSStderrPrintStream; var$16 = new ji_ByteArrayOutputStream; var$16.$buf = $rt_createByteArray(32); var$15.$out0 = var$16; var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); var$15.$sb = var$16; var$15.$buffer0 = $rt_createCharArray(32); var$15.$autoFlush = 0; var$15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$15; } $rt_putStderr($rt_ustr(var$8)); $rt_putStderr($rt_ustr(var$9)); } nms_Minecraft_scaledTessellator($this, 0, 0, 0, 0, 256, 256); nleg_EaglerAdapterGL30_glPopMatrix(); if ($this.$gameSettings.$enableVsync) { $i_0 = 0; var$22 = 1; $ptr = 7; continue main; } if (nle_EnumBrowser_getBrowser() === nle_EnumBrowser_DESKTOP) { var$15 = $this.$currentScreen; var$25 = var$15 !== null && var$15 instanceof nms_GuiMainMenu ? 2 : $this.$gameSettings.$limitFramerate; if (var$25 <= 0) $i_0 = 0; else { nms_EntityRenderer_$callClinit(); $i_0 = 200; if (var$25 == 1) $i_0 = 120; if (var$25 == 2) $i_0 = 35; } var$22 = 0; $ptr = 13; continue main; } $t = Long_sub(Long_add(var$5, Long_fromInt(17 * $i | 0)), Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc())); if (Long_gt($t, Long_ZERO)) { $i_0 = Long_lo($t); $ptr = 9; continue main; } $i = $i + 1 | 0; if ($i < 20) { $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t1)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$13 = 1.0 - $f; var$14 = 0.0; if (var$13 >= var$14) var$14 = var$13 <= 1.0 ? var$13 : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(470); continue main; } $t = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $i = 0; var$5 = Long_add($t, Long_fromInt(17)); $var1 = $rt_s(468); var$2 = $rt_s(469); var$6 = $rt_s(468); var$7 = $rt_s(469); var$8 = $rt_s(468); var$9 = $rt_s(469); if ($i >= 20) { $i = 1600; $ptr = 1; continue main; } $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 0.0; if ($f >= var$14) var$14 = $f <= 1.0 ? $f : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(471); $ptr = 3; case 3: $tmp = nms_RenderEngine_getTexture(var$15, var$16); if ($rt_suspending()) { break main; } $i_0 = $tmp; if ($i_0 != var$15.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $i_0); var$15.$boundTexture = $i_0; } nleg_EaglerAdapterGL30_glPushMatrix(); $f1 = 0.875 + 0.02500000037252903 * jl_Math_sqrt($f); $f = (var$11.$scaledWidth - 256 | 0) / 2 | 0; var$24 = (var$11.$scaledHeight - 256 | 0) / 2 | 0; var$15 = nleg_EaglerAdapterGL30_deevis; var$15.$x = $f; var$15.$y = var$24; var$15.$z = 0.0; var$15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$15, var$15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$15 = new otcic_JSStderrPrintStream; var$16 = new ji_ByteArrayOutputStream; var$16.$buf = $rt_createByteArray(32); var$15.$out0 = var$16; var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); var$15.$sb = var$16; var$15.$buffer0 = $rt_createCharArray(32); var$15.$autoFlush = 0; var$15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$15; } $rt_putStderr($rt_ustr($var1)); $rt_putStderr($rt_ustr(var$2)); } $f = (-128.0) * ($f1 - 1.0); var$15 = nleg_EaglerAdapterGL30_deevis; var$15.$x = $f; var$15.$y = $f; var$15.$z = 0.0; var$15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$15, var$15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$15 = new otcic_JSStderrPrintStream; var$16 = new ji_ByteArrayOutputStream; var$16.$buf = $rt_createByteArray(32); var$15.$out0 = var$16; var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); var$15.$sb = var$16; var$15.$buffer0 = $rt_createCharArray(32); var$15.$autoFlush = 0; var$15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$15; } $rt_putStderr($rt_ustr(var$6)); $rt_putStderr($rt_ustr(var$7)); } var$15 = nleg_EaglerAdapterGL30_deevis; var$15.$x = $f1; var$15.$y = $f1; var$15.$z = 1.0; var$15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$15, var$15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$15 = new otcic_JSStderrPrintStream; var$16 = new ji_ByteArrayOutputStream; var$16.$buf = $rt_createByteArray(32); var$15.$out0 = var$16; var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); var$15.$sb = var$16; var$15.$buffer0 = $rt_createCharArray(32); var$15.$autoFlush = 0; var$15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$15; } $rt_putStderr($rt_ustr(var$8)); $rt_putStderr($rt_ustr(var$9)); } nms_Minecraft_scaledTessellator($this, 0, 0, 0, 0, 256, 256); nleg_EaglerAdapterGL30_glPopMatrix(); if ($this.$gameSettings.$enableVsync) { $i_0 = 0; var$22 = 1; $ptr = 8; continue main; } if (nle_EnumBrowser_getBrowser() === nle_EnumBrowser_DESKTOP) { var$15 = $this.$currentScreen; var$25 = var$15 !== null && var$15 instanceof nms_GuiMainMenu ? 2 : $this.$gameSettings.$limitFramerate; if (var$25 <= 0) $i_0 = 0; else { nms_EntityRenderer_$callClinit(); $i_0 = 200; if (var$25 == 1) $i_0 = 120; if (var$25 == 2) $i_0 = 35; } var$22 = 0; $ptr = 15; continue main; } $t_0 = Long_sub(Long_add(var$5, Long_fromInt(17 * $i | 0)), Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc())); if (Long_gt($t_0, Long_ZERO)) { $i_0 = Long_lo($t_0); $ptr = 12; continue main; } $i = $i + 1 | 0; if ($i >= 20) { $i = 1600; $ptr = 1; continue main; } $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 0.0; if ($f >= var$14) var$14 = $f <= 1.0 ? $f : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(471); continue main; case 4: nlea_EaglerAdapterImpl2_updateDisplay($i, $i_0); if ($rt_suspending()) { break main; } $i = 100; $ptr = 5; case 5: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($i); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; while (nlea_EaglerAdapterImpl2_keysNext()) { } while (true) { nlea_EaglerAdapterImpl2_currentEvent = null; $var1 = nlea_EaglerAdapterImpl2_mouseEvents; $i = $var1.$size2 ? 0 : 1; a: { if (!$i) { $var1 = ju_LinkedList_listIterator($var1, 0); var$2 = ju_LinkedList$SequentialListIterator_next($var1); ju_LinkedList$SequentialListIterator_remove($var1); otji_JSWrapper_$callClinit(); $var1 = var$2 === null ? null : var$2[$rt_jso_marker] === true ? var$2 : var$2.$js; nlea_EaglerAdapterImpl2_currentEvent = $var1; if ($var1 !== null) { $i = 1; break a; } } $i = 0; } if (!$i) break; } return; case 6: $tmp = nms_RenderEngine_getTexture(var$2, var$6); if ($rt_suspending()) { break main; } $i = $tmp; if ($i != var$2.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $i); var$2.$boundTexture = $i; } nleg_EaglerAdapterGL30_glPushMatrix(); $f1 = 0.8999999761581421 + 0.02500000037252903 * $f_0 * $f_0; $f = ($var1.$scaledWidth - 256 | 0) / 2 | 0; var$24 = ($var1.$scaledHeight - 256 | 0) / 2 | 0; $var1 = nleg_EaglerAdapterGL30_deevis; $var1.$x = $f; $var1.$y = var$24; $var1.$z = 0.0; $var1 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var1, $var1); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); $var1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var1.$sb = var$2; $var1.$buffer0 = $rt_createCharArray(32); $var1.$autoFlush = 0; $var1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var1; } $rt_putStderr($rt_ustr(var$8)); $rt_putStderr($rt_ustr(var$9)); } $f = (-128.0) * ($f1 - 1.0); $var1 = nleg_EaglerAdapterGL30_deevis; $var1.$x = $f; $var1.$y = $f; $var1.$z = 0.0; $var1 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var1, $var1); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); $var1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var1.$sb = var$2; $var1.$buffer0 = $rt_createCharArray(32); $var1.$autoFlush = 0; $var1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var1; } $rt_putStderr($rt_ustr(var$15)); $rt_putStderr($rt_ustr(var$16)); } $var1 = nleg_EaglerAdapterGL30_deevis; $var1.$x = $f1; $var1.$y = $f1; $var1.$z = 1.0; $var1 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var1, $var1); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); $var1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var1.$sb = var$2; $var1.$buffer0 = $rt_createCharArray(32); $var1.$autoFlush = 0; $var1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var1; } $rt_putStderr($rt_ustr(var$20)); $rt_putStderr($rt_ustr(var$11)); } nms_Minecraft_scaledTessellator($this, 0, 0, 0, 0, 256, 256); nleg_EaglerAdapterGL30_glPopMatrix(); if ($this.$gameSettings.$enableVsync) { $i = 0; var$22 = 1; $ptr = 11; continue main; } if (nle_EnumBrowser_getBrowser() === nle_EnumBrowser_DESKTOP) { $var1 = $this.$currentScreen; var$25 = $var1 !== null && $var1 instanceof nms_GuiMainMenu ? 2 : $this.$gameSettings.$limitFramerate; if (var$25 <= 0) $i = 0; else { nms_EntityRenderer_$callClinit(); $i = 200; if (var$25 == 1) $i = 120; if (var$25 == 2) $i = 35; } var$22 = 0; $ptr = 16; continue main; } $t = Long_sub(Long_add(var$5, Long_fromInt(17 * $i_0 | 0)), Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc())); if (Long_gt($t, Long_ZERO)) { $i = Long_lo($t); $ptr = 14; continue main; } $i_0 = $i_0 + 1 | 0; if ($i_0 < 21) { $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); $var1 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); $f_0 = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t_0)) / 340.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 1.0 - $f_0; var$13 = 0.0; if (var$14 >= var$13) var$13 = var$14 <= 1.0 ? var$14 : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$13; var$2 = $this.$renderEngine; var$6 = $rt_s(471); continue main; } nlea_EaglerAdapterImpl2_webgl.clear(16640); if ($this.$gameSettings.$enableVsync) { $i = 0; $i_0 = 1; $ptr = 4; continue main; } if (nle_EnumBrowser_getBrowser() !== nle_EnumBrowser_DESKTOP) { $i = 100; $ptr = 5; continue main; } $var1 = $this.$currentScreen; var$22 = $var1 !== null && $var1 instanceof nms_GuiMainMenu ? 2 : $this.$gameSettings.$limitFramerate; if (var$22 <= 0) $i = 0; else { nms_EntityRenderer_$callClinit(); $i = 200; if (var$22 == 1) $i = 120; if (var$22 == 2) $i = 35; } $i_0 = 0; $ptr = 10; continue main; case 7: nlea_EaglerAdapterImpl2_updateDisplay($i_0, var$22); if ($rt_suspending()) { break main; } $t = Long_sub(Long_add(var$5, Long_fromInt(17 * $i | 0)), Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc())); if (Long_gt($t, Long_ZERO)) { $i_0 = Long_lo($t); $ptr = 9; continue main; } $i = $i + 1 | 0; if ($i < 20) { $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t1)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$13 = 1.0 - $f; var$14 = 0.0; if (var$13 >= var$14) var$14 = var$13 <= 1.0 ? var$13 : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(470); $ptr = 2; continue main; } $t = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $i = 0; var$5 = Long_add($t, Long_fromInt(17)); $var1 = $rt_s(468); var$2 = $rt_s(469); var$6 = $rt_s(468); var$7 = $rt_s(469); var$8 = $rt_s(468); var$9 = $rt_s(469); if ($i >= 20) { $i = 1600; $ptr = 1; continue main; } $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 0.0; if ($f >= var$14) var$14 = $f <= 1.0 ? $f : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(471); $ptr = 3; continue main; case 8: nlea_EaglerAdapterImpl2_updateDisplay($i_0, var$22); if ($rt_suspending()) { break main; } $t_0 = Long_sub(Long_add(var$5, Long_fromInt(17 * $i | 0)), Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc())); if (Long_gt($t_0, Long_ZERO)) { $i_0 = Long_lo($t_0); $ptr = 12; continue main; } $i = $i + 1 | 0; if ($i >= 20) { $i = 1600; $ptr = 1; continue main; } $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 0.0; if ($f >= var$14) var$14 = $f <= 1.0 ? $f : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(471); $ptr = 3; continue main; case 9: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($i_0); if ($rt_suspending()) { break main; } $i = $i + 1 | 0; if ($i < 20) { $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t1)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$13 = 1.0 - $f; var$14 = 0.0; if (var$13 >= var$14) var$14 = var$13 <= 1.0 ? var$13 : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(470); $ptr = 2; continue main; } $t = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $i = 0; var$5 = Long_add($t, Long_fromInt(17)); $var1 = $rt_s(468); var$2 = $rt_s(469); var$6 = $rt_s(468); var$7 = $rt_s(469); var$8 = $rt_s(468); var$9 = $rt_s(469); if ($i >= 20) { $i = 1600; $ptr = 1; continue main; } $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 0.0; if ($f >= var$14) var$14 = $f <= 1.0 ? $f : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(471); $ptr = 3; continue main; case 10: nlea_EaglerAdapterImpl2_updateDisplay($i, $i_0); if ($rt_suspending()) { break main; } $i = 100; $ptr = 5; continue main; case 11: nlea_EaglerAdapterImpl2_updateDisplay($i, var$22); if ($rt_suspending()) { break main; } $t = Long_sub(Long_add(var$5, Long_fromInt(17 * $i_0 | 0)), Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc())); if (Long_gt($t, Long_ZERO)) { $i = Long_lo($t); $ptr = 14; continue main; } $i_0 = $i_0 + 1 | 0; if ($i_0 < 21) { $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); $var1 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); $f_0 = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t_0)) / 340.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 1.0 - $f_0; var$13 = 0.0; if (var$14 >= var$13) var$13 = var$14 <= 1.0 ? var$14 : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$13; var$2 = $this.$renderEngine; var$6 = $rt_s(471); $ptr = 6; continue main; } nlea_EaglerAdapterImpl2_webgl.clear(16640); if ($this.$gameSettings.$enableVsync) { $i = 0; $i_0 = 1; $ptr = 4; continue main; } if (nle_EnumBrowser_getBrowser() !== nle_EnumBrowser_DESKTOP) { $i = 100; $ptr = 5; continue main; } $var1 = $this.$currentScreen; var$22 = $var1 !== null && $var1 instanceof nms_GuiMainMenu ? 2 : $this.$gameSettings.$limitFramerate; if (var$22 <= 0) $i = 0; else { nms_EntityRenderer_$callClinit(); $i = 200; if (var$22 == 1) $i = 120; if (var$22 == 2) $i = 35; } $i_0 = 0; $ptr = 10; continue main; case 12: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($i_0); if ($rt_suspending()) { break main; } $i = $i + 1 | 0; if ($i >= 20) { $i = 1600; $ptr = 1; continue main; } $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 0.0; if ($f >= var$14) var$14 = $f <= 1.0 ? $f : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(471); $ptr = 3; continue main; case 13: nlea_EaglerAdapterImpl2_updateDisplay($i_0, var$22); if ($rt_suspending()) { break main; } $t = Long_sub(Long_add(var$5, Long_fromInt(17 * $i | 0)), Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc())); if (Long_gt($t, Long_ZERO)) { $i_0 = Long_lo($t); $ptr = 9; continue main; } $i = $i + 1 | 0; if ($i < 20) { $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t1)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$13 = 1.0 - $f; var$14 = 0.0; if (var$13 >= var$14) var$14 = var$13 <= 1.0 ? var$13 : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(470); $ptr = 2; continue main; } $t = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $i = 0; var$5 = Long_add($t, Long_fromInt(17)); $var1 = $rt_s(468); var$2 = $rt_s(469); var$6 = $rt_s(468); var$7 = $rt_s(469); var$8 = $rt_s(468); var$9 = $rt_s(469); if ($i >= 20) { $i = 1600; $ptr = 1; continue main; } $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 0.0; if ($f >= var$14) var$14 = $f <= 1.0 ? $f : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(471); $ptr = 3; continue main; case 14: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($i); if ($rt_suspending()) { break main; } $i_0 = $i_0 + 1 | 0; if ($i_0 < 21) { $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); $var1 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); $f_0 = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t_0)) / 340.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 1.0 - $f_0; var$13 = 0.0; if (var$14 >= var$13) var$13 = var$14 <= 1.0 ? var$14 : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$13; var$2 = $this.$renderEngine; var$6 = $rt_s(471); $ptr = 6; continue main; } nlea_EaglerAdapterImpl2_webgl.clear(16640); if ($this.$gameSettings.$enableVsync) { $i = 0; $i_0 = 1; $ptr = 4; continue main; } if (nle_EnumBrowser_getBrowser() !== nle_EnumBrowser_DESKTOP) { $i = 100; $ptr = 5; continue main; } $var1 = $this.$currentScreen; var$22 = $var1 !== null && $var1 instanceof nms_GuiMainMenu ? 2 : $this.$gameSettings.$limitFramerate; if (var$22 <= 0) $i = 0; else { nms_EntityRenderer_$callClinit(); $i = 200; if (var$22 == 1) $i = 120; if (var$22 == 2) $i = 35; } $i_0 = 0; $ptr = 10; continue main; case 15: nlea_EaglerAdapterImpl2_updateDisplay($i_0, var$22); if ($rt_suspending()) { break main; } $t_0 = Long_sub(Long_add(var$5, Long_fromInt(17 * $i | 0)), Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc())); if (Long_gt($t_0, Long_ZERO)) { $i_0 = Long_lo($t_0); $ptr = 12; continue main; } $i = $i + 1 | 0; if ($i >= 20) { $i = 1600; $ptr = 1; continue main; } $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); var$11 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, var$11.$scaledWidth, var$11.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; $f = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t)) / 333.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 0.0; if ($f >= var$14) var$14 = $f <= 1.0 ? $f : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$14; var$15 = $this.$renderEngine; var$16 = $rt_s(471); $ptr = 3; continue main; case 16: nlea_EaglerAdapterImpl2_updateDisplay($i, var$22); if ($rt_suspending()) { break main; } $t = Long_sub(Long_add(var$5, Long_fromInt(17 * $i_0 | 0)), Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc())); if (Long_gt($t, Long_ZERO)) { $i = Long_lo($t); $ptr = 14; continue main; } $i_0 = $i_0 + 1 | 0; if ($i_0 < 21) { $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$10 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$10; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, var$10); $var1 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); $f_0 = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $t_0)) / 340.0; nlea_EaglerAdapterImpl2_webgl.clear(16640); var$14 = 1.0 - $f_0; var$13 = 0.0; if (var$14 >= var$13) var$13 = var$14 <= 1.0 ? var$14 : 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = var$13; var$2 = $this.$renderEngine; var$6 = $rt_s(471); $ptr = 6; continue main; } nlea_EaglerAdapterImpl2_webgl.clear(16640); if ($this.$gameSettings.$enableVsync) { $i = 0; $i_0 = 1; $ptr = 4; continue main; } if (nle_EnumBrowser_getBrowser() !== nle_EnumBrowser_DESKTOP) { $i = 100; $ptr = 5; continue main; } $var1 = $this.$currentScreen; var$22 = $var1 !== null && $var1 instanceof nms_GuiMainMenu ? 2 : $this.$gameSettings.$limitFramerate; if (var$22 <= 0) $i = 0; else { nms_EntityRenderer_$callClinit(); $i = 200; if (var$22 == 1) $i = 120; if (var$22 == 2) $i = 35; } $i_0 = 0; $ptr = 10; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $t1, $i, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $f, var$13, var$14, var$15, var$16, $t, $t_0, $i_0, var$20, $f_0, var$22, $f1, var$24, var$25, $ptr); }, nms_Minecraft_loadScreen = $this => { let $var4, $var1, var$3, var$4, $var3, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();$var4 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; $var4 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = $var4; $var1 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $var4); nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 1); nlea_EaglerAdapterImpl2_webgl.clearColor(1.0, 1.0, 1.0, 1.0); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, $var1.$scaledWidth, $var1.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); var$3 = nleg_EaglerAdapterGL30_deevis; var$3.$x = 0.0; var$3.$y = 0.0; var$3.$z = (-2000.0); var$3 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$3, var$3); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); var$3.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$3.$sb = var$4; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nlea_EaglerAdapterImpl2__wglViewport(0, 0, $this.$displayWidth, $this.$displayHeight); nlea_EaglerAdapterImpl2_webgl.clear(16640); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glDisable(2912); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; var$3 = $this.$renderEngine; var$4 = $rt_s(470); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture(var$3, var$4); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 != var$3.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $var3); var$3.$boundTexture = $var3; } nms_Minecraft_scaledTessellator($this, ($var1.$scaledWidth - 256 | 0) / 2 | 0, ($var1.$scaledHeight - 256 | 0) / 2 | 0, 0, 0, 256, 256); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2912); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; if ($this.$gameSettings.$enableVsync) { $var3 = 0; $var4 = 1; $ptr = 2; continue main; } if (nle_EnumBrowser_getBrowser() !== nle_EnumBrowser_DESKTOP) { $var3 = 0; var$6 = nleg_FixedFunctionShader_instanceList.$size0; a: { while ($var3 < var$6) { $var1 = nleg_FixedFunctionShader_instanceList; if ($var3 < 0) break a; if ($var3 >= $var1.$size0) break a; nleg_StreamBuffer_optimize($var1.$array.data[$var3].$streamBuffer); $var3 = $var3 + 1 | 0; } return; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var1 = $this.$currentScreen; var$6 = $var1 !== null && $var1 instanceof nms_GuiMainMenu ? 2 : $this.$gameSettings.$limitFramerate; if (var$6 <= 0) $var3 = 0; else { nms_EntityRenderer_$callClinit(); $var3 = 200; if (var$6 == 1) $var3 = 120; if (var$6 == 2) $var3 = 35; } $var4 = 0; $ptr = 3; continue main; case 2: nlea_EaglerAdapterImpl2_updateDisplay($var3, $var4); if ($rt_suspending()) { break main; } $var3 = 0; var$6 = nleg_FixedFunctionShader_instanceList.$size0; b: { while ($var3 < var$6) { $var1 = nleg_FixedFunctionShader_instanceList; if ($var3 < 0) break b; if ($var3 >= $var1.$size0) break b; nleg_StreamBuffer_optimize($var1.$array.data[$var3].$streamBuffer); $var3 = $var3 + 1 | 0; } return; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); case 3: nlea_EaglerAdapterImpl2_updateDisplay($var3, $var4); if ($rt_suspending()) { break main; } $var3 = 0; var$6 = nleg_FixedFunctionShader_instanceList.$size0; b: { while ($var3 < var$6) { $var1 = nleg_FixedFunctionShader_instanceList; if ($var3 < 0) break b; if ($var3 >= $var1.$size0) break b; nleg_StreamBuffer_optimize($var1.$array.data[$var3].$streamBuffer); $var3 = $var3 + 1 | 0; } return; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var4, $var1, var$3, var$4, $var3, var$6, $ptr); }, nms_Minecraft_scaledTessellator = ($this, $par1, $par2, $par3, $par4, $par5, $par6) => { let $var9, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var7; nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; var$8 = $par1 + 0 | 0; var$9 = $par2 + $par6 | 0; var$10 = ($par3 + 0 | 0) * 0.00390625; var$11 = ($par4 + $par6 | 0) * 0.00390625; $var9.$hasTexture = 1; var$12 = var$10; $var9.$textureU = var$12; var$13 = var$11; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, var$8, var$9, 0.0); var$10 = $par1 + $par5 | 0; var$14 = ($par3 + $par5 | 0) * 0.00390625; $var9.$hasTexture = 1; var$15 = var$14; $var9.$textureU = var$15; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, var$10, var$9, 0.0); var$11 = $par2 + 0 | 0; var$9 = ($par4 + 0 | 0) * 0.00390625; $var9.$hasTexture = 1; $var9.$textureU = var$15; $var7 = var$9; $var9.$textureV = $var7; nlea_Tessellator_addVertex($var9, var$10, var$11, 0.0); $var9.$hasTexture = 1; $var9.$textureU = var$12; $var9.$textureV = $var7; nlea_Tessellator_addVertex($var9, var$8, var$11, 0.0); nlea_Tessellator_draw($var9); }, nms_Minecraft_displayGuiScreen = ($this, $par1GuiScreen) => { let $var2, var$3, var$4, $var4, $var3, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1GuiScreen = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$currentScreen; if ($var2 !== null) { $ptr = 1; continue main; } if ($par1GuiScreen === null && $this.$theWorld === null) $par1GuiScreen = nms_GuiMainMenu__init_(); else if ($par1GuiScreen === null && nms_EntityLivingBase_getHealth($this.$thePlayer) <= 0.0) $par1GuiScreen = nms_GuiGameOver__init_(); if ($par1GuiScreen instanceof nms_GuiMainMenu) { $this.$gameSettings.$showDebugInfo = 0; var$3 = $this.$ingameGUI.$persistantChatGUI; $var2 = var$3.$field_96134_d; var$4 = $var2.$array; $var4 = 0; $var3 = $var2.$size0; var$7 = null; if ($var4 > $var3) { $par1GuiScreen = new jl_IllegalArgumentException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); } while ($var4 < $var3) { var$8 = var$4.data; var$9 = $var4 + 1 | 0; var$8[$var4] = var$7; $var4 = var$9; } $var2.$size0 = 0; $var2.$modCount = $var2.$modCount + 1 | 0; $var2 = var$3.$chatLines; var$8 = $var2.$array; $var3 = 0; var$9 = $var2.$size0; var$7 = null; if ($var3 > var$9) { $par1GuiScreen = new jl_IllegalArgumentException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); } while ($var3 < var$9) { var$4 = var$8.data; $var4 = $var3 + 1 | 0; var$4[$var3] = var$7; $var3 = $var4; } $var2.$size0 = 0; $var2.$modCount = $var2.$modCount + 1 | 0; $var2 = var$3.$sentMessages; var$4 = $var2.$array; $var4 = 0; $var3 = $var2.$size0; var$3 = null; if ($var4 > $var3) { $par1GuiScreen = new jl_IllegalArgumentException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); } while ($var4 < $var3) { var$8 = var$4.data; var$9 = $var4 + 1 | 0; var$8[$var4] = var$3; $var4 = var$9; } $var2.$size0 = 0; $var2.$modCount = $var2.$modCount + 1 | 0; } $this.$currentScreen = $par1GuiScreen; if ($par1GuiScreen === null) { if ($this.$inGameHasFocus) return; $this.$inGameHasFocus = 1; $par1GuiScreen = $this.$mouseHelper; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_mouseSetGrabbed(1); $par1GuiScreen.$deltaX = 0; $par1GuiScreen.$deltaY = 0; $par1GuiScreen = null; $ptr = 2; continue main; } $var2 = nms_KeyBinding_keybindArray; var$10 = 0; var$9 = $var2.$modCount; var$11 = $var2.$size(); while (true) { if (!(var$10 >= var$11 ? 0 : 1)) { $this.$inGameHasFocus = 0; nlea_EaglerAdapterImpl2_mouseSetGrabbed(0); $var2 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); $var3 = $var2.$scaledWidth; $var4 = $var2.$scaledHeight; $ptr = 3; continue main; } if (var$9 < $var2.$modCount) break; $var3 = var$10 + 1 | 0; var$3 = $var2.$get(var$10); var$3.$pressTime = 0; var$3.$pressed = 0; var$10 = $var3; } $par1GuiScreen = new ju_ConcurrentModificationException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); case 1: $var2.$onGuiClosed(); if ($rt_suspending()) { break main; } if ($par1GuiScreen === null && $this.$theWorld === null) $par1GuiScreen = nms_GuiMainMenu__init_(); else if ($par1GuiScreen === null && nms_EntityLivingBase_getHealth($this.$thePlayer) <= 0.0) $par1GuiScreen = nms_GuiGameOver__init_(); if ($par1GuiScreen instanceof nms_GuiMainMenu) { $this.$gameSettings.$showDebugInfo = 0; var$3 = $this.$ingameGUI.$persistantChatGUI; $var2 = var$3.$field_96134_d; var$4 = $var2.$array; $var4 = 0; $var3 = $var2.$size0; var$7 = null; if ($var4 > $var3) { $par1GuiScreen = new jl_IllegalArgumentException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); } while ($var4 < $var3) { var$8 = var$4.data; var$9 = $var4 + 1 | 0; var$8[$var4] = var$7; $var4 = var$9; } $var2.$size0 = 0; $var2.$modCount = $var2.$modCount + 1 | 0; $var2 = var$3.$chatLines; var$8 = $var2.$array; $var3 = 0; var$9 = $var2.$size0; var$7 = null; if ($var3 > var$9) { $par1GuiScreen = new jl_IllegalArgumentException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); } while ($var3 < var$9) { var$4 = var$8.data; $var4 = $var3 + 1 | 0; var$4[$var3] = var$7; $var3 = $var4; } $var2.$size0 = 0; $var2.$modCount = $var2.$modCount + 1 | 0; $var2 = var$3.$sentMessages; var$4 = $var2.$array; $var4 = 0; $var3 = $var2.$size0; var$3 = null; if ($var4 > $var3) { $par1GuiScreen = new jl_IllegalArgumentException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); } while ($var4 < $var3) { var$8 = var$4.data; var$9 = $var4 + 1 | 0; var$8[$var4] = var$3; $var4 = var$9; } $var2.$size0 = 0; $var2.$modCount = $var2.$modCount + 1 | 0; } $this.$currentScreen = $par1GuiScreen; if ($par1GuiScreen === null) { if ($this.$inGameHasFocus) return; $this.$inGameHasFocus = 1; $par1GuiScreen = $this.$mouseHelper; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_mouseSetGrabbed(1); $par1GuiScreen.$deltaX = 0; $par1GuiScreen.$deltaY = 0; $par1GuiScreen = null; $ptr = 2; continue main; } $var2 = nms_KeyBinding_keybindArray; var$10 = 0; var$9 = $var2.$modCount; var$11 = $var2.$size(); while (true) { if (!(var$10 >= var$11 ? 0 : 1)) { $this.$inGameHasFocus = 0; nlea_EaglerAdapterImpl2_mouseSetGrabbed(0); $var2 = nms_ScaledResolution__init_($this.$gameSettings, $this.$displayWidth, $this.$displayHeight); $var3 = $var2.$scaledWidth; $var4 = $var2.$scaledHeight; $ptr = 3; continue main; } if (var$9 < $var2.$modCount) break; $var3 = var$10 + 1 | 0; var$3 = $var2.$get(var$10); var$3.$pressTime = 0; var$3.$pressed = 0; var$10 = $var3; } $par1GuiScreen = new ju_ConcurrentModificationException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); case 2: nms_Minecraft_displayGuiScreen($this, $par1GuiScreen); if ($rt_suspending()) { break main; } $this.$leftClickCounter = 10000; return; case 3: nms_GuiScreen_setWorldAndResolution($par1GuiScreen, $this, $var3, $var4); if ($rt_suspending()) { break main; } $this.$skipRenderWorld = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiScreen, $var2, var$3, var$4, $var4, $var3, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_Minecraft_checkGLError = ($this, $par1Str) => { let var$2, $var3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; if (!$this.$checkGLErrors) return; a: { b: { while (true) { nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_webgl.getError(); if (var$2 == 37442) var$2 = (-100); if (!var$2) break; c: { switch (var$2) { case -100: break; case 1280: $var3 = $rt_s(472); break c; case 1281: $var3 = $rt_s(473); break c; case 1282: $var3 = $rt_s(474); break c; case 1285: $var3 = $rt_s(475); break c; default: $var3 = $rt_s(476); break c; } $var3 = $rt_s(477); } if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("########## GL ERROR ##########"); $rt_putStderr("\n"); if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); var$5.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$5.$sb = var$4; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(478)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $par1Str === null ? $rt_s(1) : $par1Str); var$5 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$9 = var$7.length; if (var$8 < 0) break a; if (var$8 > (var$9 - 0 | 0)) break a; var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $rt_putStderr($rt_ustr(var$5)); $rt_putStderr("\n"); if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$2, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $var3); $var3 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$10 = var$4.$length0; var$8 = var$7.length; if (var$10 < 0) break b; if (var$10 > (var$8 - 0 | 0)) break b; $var3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); $rt_putStderr($rt_ustr($var3)); $rt_putStderr("\n"); } return; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); }, nms_Minecraft_runGameLoop = $this => { let var$1, $var1, $var3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$refreshTexturePacksScheduled) { $this.$refreshTexturePacksScheduled = 0; var$1 = $this.$renderEngine; $ptr = 1; continue main; } nms_AABBPool_cleanPool(jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool)); var$1 = $this.$theWorld; if (var$1 !== null) nms_Vec3Pool_clear(var$1.$vecPool); nlea_EaglerAdapterImpl2_$callClinit(); if ($this.$isGamePaused && $this.$theWorld !== null) { var$1 = $this.$timer; $var1 = var$1.$renderPartialTicks; nms_Timer_updateTimer(var$1); $this.$timer.$renderPartialTicks = $var1; } else nms_Timer_updateTimer($this.$timer); performance.now(); $var3 = 0; if ($var3 < $this.$timer.$elapsedTicks) { $ptr = 2; continue main; } nle_IntegratedServer_processICP(); performance.now(); nms_Minecraft_checkGLError($this, $rt_s(479)); nms_RenderBlocks_fancyGrass = $this.$gameSettings.$fancyGraphics; nms_SoundManager_setListener($this.$sndManager, $this.$thePlayer, $this.$timer.$renderPartialTicks); if (!$this.$isGamePaused) { var$1 = $this.$sndManager; $ptr = 3; continue main; } nleg_EaglerAdapterGL30_glEnable(3553); if (!nlea_EaglerAdapterImpl2_isKeyDown(65)) { if ($this.$gameSettings.$enableVsync) { $var3 = 0; var$4 = 1; $ptr = 4; continue main; } if (nle_EnumBrowser_getBrowser() === nle_EnumBrowser_DESKTOP) { var$1 = $this.$currentScreen; var$5 = var$1 !== null && var$1 instanceof nms_GuiMainMenu ? 2 : $this.$gameSettings.$limitFramerate; if (var$5 <= 0) $var3 = 0; else { nms_EntityRenderer_$callClinit(); $var3 = 200; if (var$5 == 1) $var3 = 120; if (var$5 == 2) $var3 = 35; } var$4 = 0; $ptr = 7; continue main; } } var$1 = $this.$thePlayer; if (var$1 !== null && (!var$1.$sleeping && nms_Entity_isEntityInsideOpaqueBlock(var$1) ? 1 : 0)) $this.$gameSettings.$thirdPersonView = 0; nleg_EaglerAdapterGL30_glClearStack(); if (!$this.$skipRenderWorld) { var$1 = $this.$entityRenderer; $var1 = $this.$timer.$renderPartialTicks; $ptr = 6; continue main; } $this.$prevFrameTime = Long_fromNumber(performance.now() * 1000000.0); var$1 = $this.$guiAchievement; $ptr = 5; continue main; case 1: nms_RenderEngine_refreshTextures(var$1); if ($rt_suspending()) { break main; } nms_AABBPool_cleanPool(jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool)); var$1 = $this.$theWorld; if (var$1 !== null) nms_Vec3Pool_clear(var$1.$vecPool); nlea_EaglerAdapterImpl2_$callClinit(); if ($this.$isGamePaused && $this.$theWorld !== null) { var$1 = $this.$timer; $var1 = var$1.$renderPartialTicks; nms_Timer_updateTimer(var$1); $this.$timer.$renderPartialTicks = $var1; } else nms_Timer_updateTimer($this.$timer); performance.now(); $var3 = 0; if ($var3 < $this.$timer.$elapsedTicks) { $ptr = 2; continue main; } nle_IntegratedServer_processICP(); performance.now(); nms_Minecraft_checkGLError($this, $rt_s(479)); nms_RenderBlocks_fancyGrass = $this.$gameSettings.$fancyGraphics; nms_SoundManager_setListener($this.$sndManager, $this.$thePlayer, $this.$timer.$renderPartialTicks); if (!$this.$isGamePaused) { var$1 = $this.$sndManager; $ptr = 3; continue main; } nleg_EaglerAdapterGL30_glEnable(3553); if (!nlea_EaglerAdapterImpl2_isKeyDown(65)) { if ($this.$gameSettings.$enableVsync) { $var3 = 0; var$4 = 1; $ptr = 4; continue main; } if (nle_EnumBrowser_getBrowser() === nle_EnumBrowser_DESKTOP) { var$1 = $this.$currentScreen; var$5 = var$1 !== null && var$1 instanceof nms_GuiMainMenu ? 2 : $this.$gameSettings.$limitFramerate; if (var$5 <= 0) $var3 = 0; else { nms_EntityRenderer_$callClinit(); $var3 = 200; if (var$5 == 1) $var3 = 120; if (var$5 == 2) $var3 = 35; } var$4 = 0; $ptr = 7; continue main; } } var$1 = $this.$thePlayer; if (var$1 !== null && (!var$1.$sleeping && nms_Entity_isEntityInsideOpaqueBlock(var$1) ? 1 : 0)) $this.$gameSettings.$thirdPersonView = 0; nleg_EaglerAdapterGL30_glClearStack(); if (!$this.$skipRenderWorld) { var$1 = $this.$entityRenderer; $var1 = $this.$timer.$renderPartialTicks; $ptr = 6; continue main; } $this.$prevFrameTime = Long_fromNumber(performance.now() * 1000000.0); var$1 = $this.$guiAchievement; $ptr = 5; continue main; case 2: nms_Minecraft_runTick($this); if ($rt_suspending()) { break main; } $var3 = $var3 + 1 | 0; if ($var3 < $this.$timer.$elapsedTicks) { continue main; } nle_IntegratedServer_processICP(); performance.now(); nms_Minecraft_checkGLError($this, $rt_s(479)); nms_RenderBlocks_fancyGrass = $this.$gameSettings.$fancyGraphics; nms_SoundManager_setListener($this.$sndManager, $this.$thePlayer, $this.$timer.$renderPartialTicks); if (!$this.$isGamePaused) { var$1 = $this.$sndManager; $ptr = 3; continue main; } nleg_EaglerAdapterGL30_glEnable(3553); if (!nlea_EaglerAdapterImpl2_isKeyDown(65)) { if ($this.$gameSettings.$enableVsync) { $var3 = 0; var$4 = 1; $ptr = 4; continue main; } if (nle_EnumBrowser_getBrowser() === nle_EnumBrowser_DESKTOP) { var$1 = $this.$currentScreen; var$5 = var$1 !== null && var$1 instanceof nms_GuiMainMenu ? 2 : $this.$gameSettings.$limitFramerate; if (var$5 <= 0) $var3 = 0; else { nms_EntityRenderer_$callClinit(); $var3 = 200; if (var$5 == 1) $var3 = 120; if (var$5 == 2) $var3 = 35; } var$4 = 0; $ptr = 7; continue main; } } var$1 = $this.$thePlayer; if (var$1 !== null && (!var$1.$sleeping && nms_Entity_isEntityInsideOpaqueBlock(var$1) ? 1 : 0)) $this.$gameSettings.$thirdPersonView = 0; nleg_EaglerAdapterGL30_glClearStack(); if (!$this.$skipRenderWorld) { var$1 = $this.$entityRenderer; $var1 = $this.$timer.$renderPartialTicks; $ptr = 6; continue main; } $this.$prevFrameTime = Long_fromNumber(performance.now() * 1000000.0); var$1 = $this.$guiAchievement; $ptr = 5; continue main; case 3: nms_SoundManager_func_92071_g(var$1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3553); if (!nlea_EaglerAdapterImpl2_isKeyDown(65)) { if ($this.$gameSettings.$enableVsync) { $var3 = 0; var$4 = 1; $ptr = 4; continue main; } if (nle_EnumBrowser_getBrowser() === nle_EnumBrowser_DESKTOP) { var$1 = $this.$currentScreen; var$5 = var$1 !== null && var$1 instanceof nms_GuiMainMenu ? 2 : $this.$gameSettings.$limitFramerate; if (var$5 <= 0) $var3 = 0; else { nms_EntityRenderer_$callClinit(); $var3 = 200; if (var$5 == 1) $var3 = 120; if (var$5 == 2) $var3 = 35; } var$4 = 0; $ptr = 7; continue main; } } var$1 = $this.$thePlayer; if (var$1 !== null && (!var$1.$sleeping && nms_Entity_isEntityInsideOpaqueBlock(var$1) ? 1 : 0)) $this.$gameSettings.$thirdPersonView = 0; nleg_EaglerAdapterGL30_glClearStack(); if (!$this.$skipRenderWorld) { var$1 = $this.$entityRenderer; $var1 = $this.$timer.$renderPartialTicks; $ptr = 6; continue main; } $this.$prevFrameTime = Long_fromNumber(performance.now() * 1000000.0); var$1 = $this.$guiAchievement; $ptr = 5; continue main; case 4: nlea_EaglerAdapterImpl2_updateDisplay($var3, var$4); if ($rt_suspending()) { break main; } var$1 = $this.$thePlayer; if (var$1 !== null && (!var$1.$sleeping && nms_Entity_isEntityInsideOpaqueBlock(var$1) ? 1 : 0)) $this.$gameSettings.$thirdPersonView = 0; nleg_EaglerAdapterGL30_glClearStack(); if (!$this.$skipRenderWorld) { var$1 = $this.$entityRenderer; $var1 = $this.$timer.$renderPartialTicks; $ptr = 6; continue main; } $this.$prevFrameTime = Long_fromNumber(performance.now() * 1000000.0); var$1 = $this.$guiAchievement; $ptr = 5; case 5: nms_GuiAchievement_updateAchievementWindow(var$1); if ($rt_suspending()) { break main; } if (!$this.$fullscreen && !(nlea_EaglerAdapterImpl2_canvas.width == $this.$displayWidth && nlea_EaglerAdapterImpl2_canvas.height == $this.$displayHeight)) { $this.$displayWidth = nlea_EaglerAdapterImpl2_canvas.width; var$4 = nlea_EaglerAdapterImpl2_canvas.height; $this.$displayHeight = var$4; if ($this.$displayWidth <= 0) $this.$displayWidth = 1; if (var$4 <= 0) $this.$displayHeight = 1; $var3 = $this.$displayWidth; var$4 = $this.$displayHeight; $this.$displayWidth = $var3 > 0 ? $var3 : 1; $this.$displayHeight = var$4 > 0 ? var$4 : 1; if ($this.$currentScreen !== null) { var$1 = nms_ScaledResolution__init_($this.$gameSettings, $var3, var$4); var$4 = var$1.$scaledWidth; $var3 = var$1.$scaledHeight; var$1 = $this.$currentScreen; $ptr = 8; continue main; } } nms_Minecraft_checkGLError($this, $rt_s(480)); $var3 = 0; var$5 = nleg_FixedFunctionShader_instanceList.$size0; while (true) { if ($var3 >= var$5) { $this.$fpsCounter = $this.$fpsCounter + 1 | 0; if (Long_gt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$secondTimer), Long_fromInt(1000))) { nms_Minecraft_debugFPS = $this.$fpsCounter; $this.$fpsCounter = 0; nms_Minecraft_debugChunkUpdates = $this.$chunkUpdates; $this.$chunkUpdates = 0; nms_Minecraft_debugChunkGeometryUpdates = $this.$chunkGeometryUpdates; $this.$chunkGeometryUpdates = 0; $this.$secondTimer = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); } if ($this.$isGonnaTakeDatScreenShot) { $this.$isGonnaTakeDatScreenShot = 0; nlea_EaglerAdapterImpl2_saveScreenshot(); } return; } var$1 = nleg_FixedFunctionShader_instanceList; if ($var3 < 0) break; if ($var3 >= var$1.$size0) break; nleg_StreamBuffer_optimize(var$1.$array.data[$var3].$streamBuffer); $var3 = $var3 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); case 6: nms_EntityRenderer_updateCameraAndRender(var$1, $var1); if ($rt_suspending()) { break main; } $this.$prevFrameTime = Long_fromNumber(performance.now() * 1000000.0); var$1 = $this.$guiAchievement; $ptr = 5; continue main; case 7: nlea_EaglerAdapterImpl2_updateDisplay($var3, var$4); if ($rt_suspending()) { break main; } var$1 = $this.$thePlayer; if (var$1 !== null && (!var$1.$sleeping && nms_Entity_isEntityInsideOpaqueBlock(var$1) ? 1 : 0)) $this.$gameSettings.$thirdPersonView = 0; nleg_EaglerAdapterGL30_glClearStack(); if (!$this.$skipRenderWorld) { var$1 = $this.$entityRenderer; $var1 = $this.$timer.$renderPartialTicks; $ptr = 6; continue main; } $this.$prevFrameTime = Long_fromNumber(performance.now() * 1000000.0); var$1 = $this.$guiAchievement; $ptr = 5; continue main; case 8: nms_GuiScreen_setWorldAndResolution(var$1, $this, var$4, $var3); if ($rt_suspending()) { break main; } nms_Minecraft_checkGLError($this, $rt_s(480)); $var3 = 0; var$5 = nleg_FixedFunctionShader_instanceList.$size0; while (true) { if ($var3 >= var$5) { $this.$fpsCounter = $this.$fpsCounter + 1 | 0; if (Long_gt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$secondTimer), Long_fromInt(1000))) { nms_Minecraft_debugFPS = $this.$fpsCounter; $this.$fpsCounter = 0; nms_Minecraft_debugChunkUpdates = $this.$chunkUpdates; $this.$chunkUpdates = 0; nms_Minecraft_debugChunkGeometryUpdates = $this.$chunkGeometryUpdates; $this.$chunkGeometryUpdates = 0; $this.$secondTimer = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); } if ($this.$isGonnaTakeDatScreenShot) { $this.$isGonnaTakeDatScreenShot = 0; nlea_EaglerAdapterImpl2_saveScreenshot(); } return; } var$1 = nleg_FixedFunctionShader_instanceList; if ($var3 < 0) break; if ($var3 >= var$1.$size0) break; nleg_StreamBuffer_optimize(var$1.$array.data[$var3].$streamBuffer); $var3 = $var3 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, $var3, var$4, var$5, $ptr); }, nms_Minecraft_sendClickBlockToController = ($this, $par1, $par2) => { let var$3, $var3, $var4, $var5, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par2) $this.$leftClickCounter = 0; if (!(!$par1 && $this.$leftClickCounter > 0)) { if ($par2) { var$3 = $this.$objectMouseOver; if (var$3 !== null && var$3.$typeOfHit === nms_EnumMovingObjectType_TILE && !$par1) { $var3 = var$3.$blockX; $var4 = var$3.$blockY; $var5 = var$3.$blockZ; var$7 = $this.$playerController; $par1 = var$3.$sideHit; $ptr = 1; continue main; } } nms_PlayerControllerMP_resetBlockRemoving($this.$playerController); } return; case 1: nms_PlayerControllerMP_onPlayerDamageBlock(var$7, $var3, $var4, $var5, $par1); if ($rt_suspending()) { break main; } if (!nms_EntityPlayer_isCurrentToolAdventureModeExempt($this.$thePlayer, $var3, $var4, $var5)) return; var$7 = $this.$effectRenderer; $par1 = $this.$objectMouseOver.$sideHit; $ptr = 2; case 2: nms_EffectRenderer_addBlockHitEffects(var$7, $var3, $var4, $var5, $par1); if ($rt_suspending()) { break main; } var$7 = $this.$thePlayer; nms_EntityLivingBase_swingItem(var$7); var$8 = var$7.$sendQueue; var$3 = new nms_Packet18Animation; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$entityId1 = var$7.$entityId; var$3.$animate = 1; if (!var$8.$disconnected) var$8.$netManager.$addToSendQueue(var$3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, $var3, $var4, $var5, var$7, var$8, $ptr); }, nms_Minecraft_clickMouse = ($this, $par1) => { let var$2, var$3, var$4, var$5, $var2, $var9, $var5, $var3, $var4, $var6, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var5 = $thread.pop();$var9 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!(!$par1 && $this.$leftClickCounter > 0)) { if (!$par1) { var$2 = $this.$thePlayer; nms_EntityLivingBase_swingItem(var$2); var$3 = var$2.$sendQueue; var$4 = new nms_Packet18Animation; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$entityId1 = var$2.$entityId; var$4.$animate = 1; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$4); } var$5 = $rt_compare($par1, 1); if (!var$5) $this.$rightClickDelayTimer = 4; $var2 = 1; $var9 = $this.$thePlayer; var$2 = $var9.$inventory; $var5 = var$2.$currentItem; $var3 = $var5 < 9 && $var5 >= 0 ? var$2.$mainInventory.data[$var5] : null; a: { var$3 = $this.$objectMouseOver; if (var$3 !== null) { var$2 = var$3.$typeOfHit; if (var$2 !== nms_EnumMovingObjectType_ENTITY) { if (var$2 !== nms_EnumMovingObjectType_TILE) break a; $var4 = var$3.$blockX; $var5 = var$3.$blockY; $var6 = var$3.$blockZ; $var7 = var$3.$sideHit; if (!$par1) { var$2 = $this.$playerController; $ptr = 1; continue main; } $var8 = $var3 === null ? 0 : $var3.$stackSize; var$2 = $this.$playerController; var$4 = $this.$theWorld; var$3 = var$3.$hitVec; $ptr = 3; continue main; } if (!$par1) { var$2 = $this.$playerController; var$4 = var$3.$entityHit; $par1 = var$2.$mc6.$thePlayer.$inventory.$currentItem; if ($par1 != var$2.$currentPlayerItem) { var$2.$currentPlayerItem = $par1; var$3 = var$2.$netClientHandler; $var3 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var3.$id4 = $par1; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue($var3); } var$3 = var$2.$netClientHandler; var$2 = new nms_Packet7UseEntity; $var4 = $var9.$entityId; $var5 = var$4.$entityId; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$playerEntityId = $var4; var$2.$targetEntity = $var5; var$2.$isLeftClick = 1; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); $ptr = 2; continue main; } if (!var$5) { var$2 = $this.$playerController; var$4 = $this.$thePlayer; var$3 = $this.$objectMouseOver.$entityHit; $par1 = var$2.$mc6.$thePlayer.$inventory.$currentItem; if ($par1 != var$2.$currentPlayerItem) { var$2.$currentPlayerItem = $par1; $var3 = var$2.$netClientHandler; $var9 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var9.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var9.$id4 = $par1; if (!$var3.$disconnected) $var3.$netManager.$addToSendQueue($var9); } $var3 = var$2.$netClientHandler; var$2 = new nms_Packet7UseEntity; $var4 = var$4.$entityId; $var5 = var$3.$entityId; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$playerEntityId = $var4; var$2.$targetEntity = $var5; var$2.$isLeftClick = 0; if (!$var3.$disconnected) $var3.$netManager.$addToSendQueue(var$2); $ptr = 4; continue main; } } else if (!$par1 && (($this.$playerController.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) ? 0 : 1)) $this.$leftClickCounter = 10; } if ($var2 && !var$5) { var$2 = $this.$thePlayer; var$4 = var$2.$inventory; var$5 = var$4.$currentItem; $var9 = var$5 < 9 && var$5 >= 0 ? var$4.$mainInventory.data[var$5] : null; if ($var9 !== null) { var$4 = $this.$playerController; var$3 = $this.$theWorld; $ptr = 5; continue main; } } } return; case 1: nms_PlayerControllerMP_clickBlock(var$2, $var4, $var5, $var6, $var7); if ($rt_suspending()) { break main; } if ($var2 && !var$5) { var$2 = $this.$thePlayer; var$4 = var$2.$inventory; var$5 = var$4.$currentItem; $var9 = var$5 < 9 && var$5 >= 0 ? var$4.$mainInventory.data[var$5] : null; if ($var9 !== null) { var$4 = $this.$playerController; var$3 = $this.$theWorld; $ptr = 5; continue main; } } return; case 2: nms_EntityPlayer_attackTargetEntityWithCurrentItem($var9, var$4); if ($rt_suspending()) { break main; } if (var$5) { if ($var2 && !var$5) { var$2 = $this.$thePlayer; var$4 = var$2.$inventory; var$5 = var$4.$currentItem; $var9 = var$5 < 9 && var$5 >= 0 ? var$4.$mainInventory.data[var$5] : null; if ($var9 !== null) { var$4 = $this.$playerController; var$3 = $this.$theWorld; $ptr = 5; continue main; } } return; } var$2 = $this.$playerController; var$4 = $this.$thePlayer; var$3 = $this.$objectMouseOver.$entityHit; $par1 = var$2.$mc6.$thePlayer.$inventory.$currentItem; if ($par1 != var$2.$currentPlayerItem) { var$2.$currentPlayerItem = $par1; $var3 = var$2.$netClientHandler; $var9 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var9.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var9.$id4 = $par1; if (!$var3.$disconnected) $var3.$netManager.$addToSendQueue($var9); } $var3 = var$2.$netClientHandler; var$2 = new nms_Packet7UseEntity; $var4 = var$4.$entityId; $var5 = var$3.$entityId; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$playerEntityId = $var4; var$2.$targetEntity = $var5; var$2.$isLeftClick = 0; if (!$var3.$disconnected) $var3.$netManager.$addToSendQueue(var$2); $ptr = 4; continue main; case 3: $tmp = nms_PlayerControllerMP_onPlayerRightClick(var$2, $var9, var$4, $var3, $var4, $var5, $var6, $var7, var$3); if ($rt_suspending()) { break main; } $par1 = $tmp; if ($par1) { $var2 = 0; var$2 = $this.$thePlayer; nms_EntityLivingBase_swingItem(var$2); var$3 = var$2.$sendQueue; var$4 = new nms_Packet18Animation; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$entityId1 = var$2.$entityId; var$4.$animate = 1; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$4); } if ($var3 === null) return; $par1 = $var3.$stackSize; if (!$par1) { var$2 = $this.$thePlayer.$inventory; var$2.$mainInventory.data[var$2.$currentItem] = null; } else if (!($par1 == $var8 && !($this.$playerController.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1))) $this.$entityRenderer.$itemRenderer0.$equippedProgress = 0.0; if ($var2 && !var$5) { var$2 = $this.$thePlayer; var$4 = var$2.$inventory; var$5 = var$4.$currentItem; $var9 = var$5 < 9 && var$5 >= 0 ? var$4.$mainInventory.data[var$5] : null; if ($var9 !== null) { var$4 = $this.$playerController; var$3 = $this.$theWorld; $ptr = 5; continue main; } } return; case 4: $tmp = nms_EntityPlayer_interactWith(var$4, var$3); if ($rt_suspending()) { break main; } $par1 = $tmp; if ($par1) $var2 = 0; if ($var2 && !var$5) { var$2 = $this.$thePlayer; var$4 = var$2.$inventory; var$5 = var$4.$currentItem; $var9 = var$5 < 9 && var$5 >= 0 ? var$4.$mainInventory.data[var$5] : null; if ($var9 !== null) { var$4 = $this.$playerController; var$3 = $this.$theWorld; $ptr = 5; continue main; } } return; case 5: $tmp = nms_PlayerControllerMP_sendUseItem(var$4, var$2, var$3, $var9); if ($rt_suspending()) { break main; } $par1 = $tmp; if ($par1) $this.$entityRenderer.$itemRenderer0.$equippedProgress = 0.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, var$5, $var2, $var9, $var5, $var3, $var4, $var6, $var7, $var8, $ptr); }, nms_Minecraft_runTick = $this => { let $var8, var$2, var$3, var$4, var$5, var$6, var$7, $F3down, $var9, var$10, $var10, $var1, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var1 = $thread.pop();$var10 = $thread.pop();var$10 = $thread.pop();$var9 = $thread.pop();$F3down = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var8 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = $this.$rightClickDelayTimer; if ($var8 > 0) $this.$rightClickDelayTimer = $var8 - 1 | 0; $var8 = $this.$integratedServerIsRunning && $this.$theIntegratedServer !== null ? 1 : 0; a: { if ($var8 && $this.$theWorld !== null && $this.$thePlayer !== null) { var$2 = $this.$currentScreen; if (var$2 !== null && var$2.$doesGuiPauseGame()) { b: { if (nle_IntegratedServerLAN_lanRelaySocket === null) { nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_rtcLANServer.countPeers() <= 0) { $var8 = 0; break b; } } $var8 = 1; } if (!$var8) { $var8 = 1; break a; } } } $var8 = 0; } $this.$isGamePaused = $var8; if ($this.$wasPaused != $var8) { nle_IntegratedServer_setPaused($var8); $this.$wasPaused = $this.$isGamePaused; } c: { if ($this.$lanState && !(nle_IntegratedServerLAN_lanRelaySocket === null ? 0 : 1)) { $this.$lanState = 0; var$2 = $this.$thePlayer; if (var$2 !== null) { nms_EnumChatFormatting_$callClinit(); var$3 = nms_EnumChatFormatting_RED; var$4 = var$3 === null ? $rt_s(1) : var$3.$field_96304_B; nms_StatCollector_$callClinit(); var$5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(481)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); $var8 = var$3.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var8, var$4); $var8 = var$3.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var8, var$5); var$5 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); var$3 = var$2.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$2, var$2.$length0, jl_String_toString($rt_s(482))); jl_StringBuilder_insert0(var$2, var$2.$length0, jl_String_toString(var$5)); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); break c; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } if (!$this.$isGamePaused) nms_GuiIngame_updateTick($this.$ingameGUI); var$2 = $this.$entityRenderer; var$10 = 1.0; $ptr = 1; case 1: nms_EntityRenderer_getMouseOver(var$2, var$10); if ($rt_suspending()) { break main; } if (!$this.$isGamePaused && $this.$theWorld !== null) { var$2 = $this.$playerController; $var8 = var$2.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$2.$currentPlayerItem) { var$2.$currentPlayerItem = $var8; var$2 = var$2.$netClientHandler; var$3 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$id4 = $var8; if (!var$2.$disconnected) var$2.$netManager.$addToSendQueue(var$3); } } d: { if (!$this.$isGamePaused) { var$2 = $this.$renderEngine; var$3 = var$2.$textureMapBlocks.$iconList; $var10 = 0; $F3down = var$3.$modCount; $var9 = var$3.$size(); while (true) { if (!($var10 >= $var9 ? 0 : 1)) { var$2 = var$2.$textureMapItems.$listTextureStiched; $var10 = 0; $F3down = var$2.$modCount; $var9 = var$2.$size(); while (true) { if (!($var10 >= $var9 ? 0 : 1)) break d; if ($F3down < var$2.$modCount) break; $var8 = $var10 + 1 | 0; (var$2.$get($var10)).$updateAnimation(); $var10 = $var8; } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if ($F3down < var$3.$modCount) break; $var8 = $var10 + 1 | 0; nle_TextureTerrainMap$TerrainIconV2_updateAnimation(var$3.$get($var10)); $var10 = $var8; } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } e: { nle_DefaultSkinRenderer_deleteOldSkins(); var$2 = $this.$currentScreen; if (var$2 === null) { var$3 = $this.$thePlayer; if (var$3 !== null) { if (nms_EntityLivingBase_getHealth(var$3) <= 0.0) { var$2 = null; $ptr = 2; continue main; } if (!$this.$thePlayer.$sleeping) break e; if ($this.$theWorld === null) break e; var$2 = nms_GuiSleepMP__init_0(); $ptr = 6; continue main; } } if (var$2 !== null && var$2 instanceof nms_GuiSleepMP && !$this.$thePlayer.$sleeping) { var$2 = null; $ptr = 4; continue main; } } var$2 = $this.$currentScreen; if (var$2 !== null) $this.$leftClickCounter = 10000; if (var$2 !== null) { $ptr = 3; continue main; } if (nms_GuiMultiplayer_cooldownTimer > 0) { nlea_EaglerAdapterImpl2_$callClinit(); $var1 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (Long_gt(Long_sub($var1, nms_GuiMultiplayer_lastCooldown), Long_fromInt(5000))) { nms_GuiMultiplayer_cooldownTimer = nms_GuiMultiplayer_cooldownTimer - 1 | 0; nms_GuiMultiplayer_lastCooldown = $var1; } } var$2 = $this.$currentScreen; if (var$2 !== null && !var$2.$allowUserInput) { f: { var$2 = $this.$theWorld; if (var$2 === null) { var$2 = $this.$myNetworkManager; if (var$2 === null) { var$2 = $this.$entityRenderer; var$2.$startup = 0; var$2.$preStartup = 0; var$2.$asdfghjkl = 0; break f; } $ptr = 7; continue main; } var$3 = $this.$thePlayer; if (var$3 !== null) { $var8 = $this.$joinPlayerCounter + 1 | 0; $this.$joinPlayerCounter = $var8; if ($var8 == 30) { $this.$joinPlayerCounter = 0; nms_World_joinEntityInSurroundings(var$2, var$3); } $var8 = $this.$messageOnLoginCounter + 1 | 0; $this.$messageOnLoginCounter = $var8; if ($var8 == 100 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_GREEN; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(483)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } if ($this.$messageOnLoginCounter == 150 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_AQUA; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(484)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } if (!$this.$isGamePaused) { var$2 = $this.$entityRenderer; $ptr = 8; continue main; } if (!$this.$isGamePaused) nms_RenderGlobal_updateClouds($this.$renderGlobal); if (!$this.$isGamePaused) { var$2 = $this.$theWorld; $var8 = var$2.$lastLightningBolt; if ($var8 > 0) var$2.$lastLightningBolt = $var8 - 1 | 0; $ptr = 10; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; var$2.$spawnHostileMobs = var$2.$difficultySetting <= 0 ? 0 : 1; var$2.$spawnPeacefulMobs = 1; $ptr = 12; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; if (var$2 !== null) { var$3 = $this.$thePlayer; var$13 = var$3.$posX; $var10 = var$13 | 0; if (var$13 < $var10) $var10 = $var10 - 1 | 0; var$13 = var$3.$posY; $var9 = var$13 | 0; if (var$13 < $var9) $var9 = $var9 - 1 | 0; var$13 = var$3.$posZ; $F3down = var$13 | 0; if (var$13 < $F3down) $F3down = $F3down - 1 | 0; $ptr = 17; continue main; } } if (!$this.$isGamePaused) { var$2 = $this.$effectRenderer; $ptr = 11; continue main; } } var$2 = $this.$gameSettings; if (!(!(!var$2.$adderall && !$this.$entityRenderer.$asdfghjkl) && $this.$yeeState)) { var$3 = $this.$entityRenderer; var$3.$startup = 0; var$3.$preStartup = 0; var$2.$adderall = 0; var$3.$asdfghjkl = 0; } if ($this.$theWorld === null) { var$2 = $this.$sndManager; $ptr = 9; continue main; } var$2 = $this.$sndManager; $var8 = var$2.$titleMusic; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var8; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var9 = var$5.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var9) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { nlea_EaglerAdapterImpl2_endSound(var$2.$titleMusic); nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!0, var$2.$options.$musicVolume); } var$2.$titleMusic = (-1); var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; } var$3 = null; while (true) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_currentEvent = null; var$2 = nlea_EaglerAdapterImpl2_mouseEvents; $var8 = var$2.$size2 ? 0 : 1; g: { if (!$var8) { var$2 = ju_LinkedList_listIterator(var$2, 0); var$5 = ju_LinkedList$SequentialListIterator_next(var$2); ju_LinkedList$SequentialListIterator_remove(var$2); otji_JSWrapper_$callClinit(); var$2 = var$5 === null ? null : var$5[$rt_jso_marker] === true ? var$5 : var$5.$js; nlea_EaglerAdapterImpl2_currentEvent = var$2; if (var$2 !== null) { $var8 = 1; break g; } } $var8 = 0; } if (!$var8) { $var8 = $this.$leftClickCounter; if ($var8 > 0) $this.$leftClickCounter = $var8 - 1 | 0; $var10 = 0; var$14 = 0; var$5 = $rt_s(487); var$4 = $rt_s(469); h: while (true) { if (!nlea_EaglerAdapterImpl2_keysNext()) { $var8 = $this.$gameSettings.$chatVisibility == 2 ? 0 : 1; var$2 = $this.$gameSettings.$keyBindInventory; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down) { var$2 = new nms_GuiInventory; var$3 = $this.$thePlayer; var$5 = var$3.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen__init_(var$2); var$2.$xSize = 176; var$2.$ySize = 166; var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); var$2.$field_94077_p = var$4; var$2.$inventorySlots0 = var$5; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$3, nms_AchievementList_openInventory, 1); $ptr = 16; continue main; } while (true) { var$2 = $this.$gameSettings.$keyBindDrop; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if (!$F3down) break; var$2 = $this.$thePlayer; nms_GuiScreen_$callClinit(); var$15 = !(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1) ? 4 : 3; var$3 = var$2.$sendQueue; var$2 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$status = var$15; var$2.$xPosition0 = 0; var$2.$yPosition0 = 0; var$2.$zPosition = 0; var$2.$face = 0; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); } var$2 = $this.$gameSettings.$keyBindChat; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down && $var8) { var$2 = nms_GuiChat__init_(); $ptr = 19; continue main; } if ($this.$currentScreen === null && nlea_EaglerAdapterImpl2_isKeyDown(53) && $var8) { var$3 = new nms_GuiChat; nms_GuiScreen__init_(var$3); var$3.$field_73898_b = $rt_s(18); var$3.$sentHistoryCursor = (-1); var$3.$field_73897_d = 0; var$3.$field_73905_m = 0; var$3.$field_73903_n = 0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$field_73904_o = var$5; var$3.$clickedURI = null; var$3.$defaultInputFieldText = $rt_s(18); var$3.$defaultInputFieldText = $rt_s(192); $ptr = 21; continue main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { i: { var$18 = var$4.$key; if (var$5 !== var$18) { j: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break j; } } $var8 = 0; } if (!$var8) { $var8 = 0; break i; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; k: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break k; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break k; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$19 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$19 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } var$15 = $var8 ? 0 : 1; } else var$15 = 0; var$2 = nms_KeyBinding_hash; $var8 = var$19 ^ (var$19 >>> 20 | 0) ^ (var$19 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; l: { while (var$2 !== null) { if (var$2.$hashEntry == var$19) { var$2 = var$2.$valueEntry; break l; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$15; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 !== $rt_s(488)) { if ($rt_s(488) instanceof jl_String) { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } else $var8 = 0; } else $var8 = 1; $var8 = $var8 ? 0 : 1; } if ($var8) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else var$15 = (-1); var$2 = nms_KeyBinding_hash; $var8 = var$15 ^ (var$15 >>> 20 | 0) ^ (var$15 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; m: { while (var$2 !== null) { if (var$2.$hashEntry == var$15) { var$2 = var$2.$valueEntry; break m; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } $F3down = $this.$gameSettings.$keyBindFunction.$pressed && nlea_EaglerAdapterImpl2_isKeyDown(4) ? 1 : 0; if (Long_gt($this.$field_83002_am, Long_ZERO)) { if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$field_83002_am), Long_fromInt(6000))) { var$2 = new jl_RuntimeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(489); $rt_throw(var$2); } if (!(nlea_EaglerAdapterImpl2_isKeyDown(46) && $F3down)) $this.$field_83002_am = Long_fromInt(-1); } else if ($F3down && nlea_EaglerAdapterImpl2_isKeyDown(46)) $this.$field_83002_am = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } $var8 = $var8 ? 0 : 1; } n: { if ($var8) { o: { $var8 = $this.$isGonnaTakeDatScreenShot; if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = (-1); else { $var9 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var9 <= var$6.length && $var9 >= 0 ? var$6[$var9] : (-1); } if (var$15 == 3) { $var9 = 1; break o; } } $var9 = 0; } $this.$isGonnaTakeDatScreenShot = $var8 | $var9; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 != 87) { var$2 = $this.$currentScreen; if (var$2 !== null) { $ptr = 26; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 1 && $this.$currentScreen === null) { var$2 = nms_GuiIngameMenu__init_(); $ptr = 29; continue main; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 31) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr($rt_ustr(var$5)); $rt_putStderr($rt_ustr(var$4)); var$2 = $this.$sndManager; if (var$2 !== null) { var$3 = var$2.$soundevents; var$15 = var$3.$modCount; var$19 = var$3.$size(); var$20 = $var10; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$3.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$3.$get(var$20)).$id3); var$20 = $var9; } var$2 = var$2.$activerecords; var$15 = var$2.$modCount; var$19 = var$2.$size(); var$20 = var$14; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$2.$modCount) break h; $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$2.$get(var$20)).$value0); var$20 = $var9; } } nms_SoundManager_loadSoundSettings($this.$sndManager, $this.$gameSettings); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 20) { var$2 = $this.$renderEngine; $ptr = 30; continue main; } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 33) { $var8 = nlea_EaglerAdapterImpl2_isKeyDown(42) | nlea_EaglerAdapterImpl2_isKeyDown(54); nms_GameSettings_setOptionValue($this.$gameSettings, nms_EnumOptions_RENDER_DISTANCE, !$var8 ? 1 : (-1)); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 30) nms_RenderGlobal_loadRenderers($this.$renderGlobal); } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 35) { var$2 = $this.$gameSettings; var$2.$advancedItemTooltips = var$2.$advancedItemTooltips ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 48) nms_RenderManager_field_85095_o = nms_RenderManager_field_85095_o ? 0 : 1; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 25) { var$2 = $this.$gameSettings; var$2.$pauseOnLostFocus = var$2.$pauseOnLostFocus ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 2) { var$2 = $this.$gameSettings; var$2.$hideGUI = var$2.$hideGUI ? 0 : 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 4) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showDebugInfo = var$2.$showDebugInfo ? 0 : 1; var$2.$showDebugProfilerChart = 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 6) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { $var8 = var$2.$thirdPersonView + 1 | 0; var$2.$thirdPersonView = $var8; if ($var8 > 2) var$2.$thirdPersonView = 0; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 7) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showCoordinates = var$2.$showCoordinates ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 9) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) var$2.$smoothCamera = var$2.$smoothCamera ? 0 : 1; } if (!$this.$gameSettings.$keyBindFunction.$pressed) { $var9 = 0; while (true) { if ($var9 >= 9) break n; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == (2 + $var9 | 0)) $this.$thePlayer.$inventory.$currentItem = $var9; $var9 = $var9 + 1 | 0; } } } } } } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) var$14 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) var$14 = 1; else if (!($rt_s(490) instanceof jl_String)) var$14 = 0; else { var$2 = $rt_s(490); var$14 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; p: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break p; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$14; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; q: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break q; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } if (Long_le(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$systemTime), Long_fromInt(200))) { $var10 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var10) { nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory, $var10); var$2 = $this.$gameSettings; if (var$2.$noclip) { if ($var10 > 0) $var10 = 1; if ($var10 < 0) $var10 = (-1); var$2.$noclipRate = var$2.$noclipRate + $var10 * 0.25; } } var$2 = $this.$currentScreen; if (var$2 !== null) break; if (!($this.$inGameHasFocus && (document.pointerLockElement != null ? 1 : 0))) { var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $this.$inGameHasFocus = 1; var$2 = $this.$mouseHelper; nlea_EaglerAdapterImpl2_mouseSetGrabbed(1); var$2.$deltaX = 0; var$2.$deltaY = 0; $ptr = 20; continue main; } } } } $ptr = 18; continue main; case 2: nms_Minecraft_displayGuiScreen($this, var$2); if ($rt_suspending()) { break main; } var$2 = $this.$currentScreen; if (var$2 !== null) $this.$leftClickCounter = 10000; if (var$2 !== null) { $ptr = 3; continue main; } if (nms_GuiMultiplayer_cooldownTimer > 0) { nlea_EaglerAdapterImpl2_$callClinit(); $var1 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (Long_gt(Long_sub($var1, nms_GuiMultiplayer_lastCooldown), Long_fromInt(5000))) { nms_GuiMultiplayer_cooldownTimer = nms_GuiMultiplayer_cooldownTimer - 1 | 0; nms_GuiMultiplayer_lastCooldown = $var1; } } var$2 = $this.$currentScreen; if (var$2 !== null && !var$2.$allowUserInput) { r: { var$2 = $this.$theWorld; if (var$2 === null) { var$2 = $this.$myNetworkManager; if (var$2 === null) { var$2 = $this.$entityRenderer; var$2.$startup = 0; var$2.$preStartup = 0; var$2.$asdfghjkl = 0; break r; } $ptr = 7; continue main; } var$3 = $this.$thePlayer; if (var$3 !== null) { $var8 = $this.$joinPlayerCounter + 1 | 0; $this.$joinPlayerCounter = $var8; if ($var8 == 30) { $this.$joinPlayerCounter = 0; nms_World_joinEntityInSurroundings(var$2, var$3); } $var8 = $this.$messageOnLoginCounter + 1 | 0; $this.$messageOnLoginCounter = $var8; if ($var8 == 100 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_GREEN; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(483)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } if ($this.$messageOnLoginCounter == 150 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_AQUA; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(484)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } if (!$this.$isGamePaused) { var$2 = $this.$entityRenderer; $ptr = 8; continue main; } if (!$this.$isGamePaused) nms_RenderGlobal_updateClouds($this.$renderGlobal); if (!$this.$isGamePaused) { var$2 = $this.$theWorld; $var8 = var$2.$lastLightningBolt; if ($var8 > 0) var$2.$lastLightningBolt = $var8 - 1 | 0; $ptr = 10; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; var$2.$spawnHostileMobs = var$2.$difficultySetting <= 0 ? 0 : 1; var$2.$spawnPeacefulMobs = 1; $ptr = 12; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; if (var$2 !== null) { var$3 = $this.$thePlayer; var$13 = var$3.$posX; $var10 = var$13 | 0; if (var$13 < $var10) $var10 = $var10 - 1 | 0; var$13 = var$3.$posY; $var9 = var$13 | 0; if (var$13 < $var9) $var9 = $var9 - 1 | 0; var$13 = var$3.$posZ; $F3down = var$13 | 0; if (var$13 < $F3down) $F3down = $F3down - 1 | 0; $ptr = 17; continue main; } } if (!$this.$isGamePaused) { var$2 = $this.$effectRenderer; $ptr = 11; continue main; } } var$2 = $this.$gameSettings; if (!(!(!var$2.$adderall && !$this.$entityRenderer.$asdfghjkl) && $this.$yeeState)) { var$3 = $this.$entityRenderer; var$3.$startup = 0; var$3.$preStartup = 0; var$2.$adderall = 0; var$3.$asdfghjkl = 0; } if ($this.$theWorld === null) { var$2 = $this.$sndManager; $ptr = 9; continue main; } var$2 = $this.$sndManager; $var8 = var$2.$titleMusic; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var8; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var9 = var$5.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var9) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { nlea_EaglerAdapterImpl2_endSound(var$2.$titleMusic); nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!0, var$2.$options.$musicVolume); } var$2.$titleMusic = (-1); var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; } var$3 = null; while (true) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_currentEvent = null; var$2 = nlea_EaglerAdapterImpl2_mouseEvents; $var8 = var$2.$size2 ? 0 : 1; s: { if (!$var8) { var$2 = ju_LinkedList_listIterator(var$2, 0); var$5 = ju_LinkedList$SequentialListIterator_next(var$2); ju_LinkedList$SequentialListIterator_remove(var$2); otji_JSWrapper_$callClinit(); var$2 = var$5 === null ? null : var$5[$rt_jso_marker] === true ? var$5 : var$5.$js; nlea_EaglerAdapterImpl2_currentEvent = var$2; if (var$2 !== null) { $var8 = 1; break s; } } $var8 = 0; } if (!$var8) { $var8 = $this.$leftClickCounter; if ($var8 > 0) $this.$leftClickCounter = $var8 - 1 | 0; $var10 = 0; var$14 = 0; var$5 = $rt_s(487); var$4 = $rt_s(469); t: while (true) { if (!nlea_EaglerAdapterImpl2_keysNext()) { $var8 = $this.$gameSettings.$chatVisibility == 2 ? 0 : 1; var$2 = $this.$gameSettings.$keyBindInventory; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down) { var$2 = new nms_GuiInventory; var$3 = $this.$thePlayer; var$5 = var$3.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen__init_(var$2); var$2.$xSize = 176; var$2.$ySize = 166; var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); var$2.$field_94077_p = var$4; var$2.$inventorySlots0 = var$5; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$3, nms_AchievementList_openInventory, 1); $ptr = 16; continue main; } while (true) { var$2 = $this.$gameSettings.$keyBindDrop; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if (!$F3down) break; var$2 = $this.$thePlayer; nms_GuiScreen_$callClinit(); var$15 = !(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1) ? 4 : 3; var$3 = var$2.$sendQueue; var$2 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$status = var$15; var$2.$xPosition0 = 0; var$2.$yPosition0 = 0; var$2.$zPosition = 0; var$2.$face = 0; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); } var$2 = $this.$gameSettings.$keyBindChat; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down && $var8) { var$2 = nms_GuiChat__init_(); $ptr = 19; continue main; } if ($this.$currentScreen === null && nlea_EaglerAdapterImpl2_isKeyDown(53) && $var8) { var$3 = new nms_GuiChat; nms_GuiScreen__init_(var$3); var$3.$field_73898_b = $rt_s(18); var$3.$sentHistoryCursor = (-1); var$3.$field_73897_d = 0; var$3.$field_73905_m = 0; var$3.$field_73903_n = 0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$field_73904_o = var$5; var$3.$clickedURI = null; var$3.$defaultInputFieldText = $rt_s(18); var$3.$defaultInputFieldText = $rt_s(192); $ptr = 21; continue main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { u: { var$18 = var$4.$key; if (var$5 !== var$18) { v: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break v; } } $var8 = 0; } if (!$var8) { $var8 = 0; break u; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; w: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break w; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break w; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$19 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$19 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } var$15 = $var8 ? 0 : 1; } else var$15 = 0; var$2 = nms_KeyBinding_hash; $var8 = var$19 ^ (var$19 >>> 20 | 0) ^ (var$19 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; x: { while (var$2 !== null) { if (var$2.$hashEntry == var$19) { var$2 = var$2.$valueEntry; break x; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$15; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 !== $rt_s(488)) { if ($rt_s(488) instanceof jl_String) { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } else $var8 = 0; } else $var8 = 1; $var8 = $var8 ? 0 : 1; } if ($var8) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else var$15 = (-1); var$2 = nms_KeyBinding_hash; $var8 = var$15 ^ (var$15 >>> 20 | 0) ^ (var$15 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; l: { while (var$2 !== null) { if (var$2.$hashEntry == var$15) { var$2 = var$2.$valueEntry; break l; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } $F3down = $this.$gameSettings.$keyBindFunction.$pressed && nlea_EaglerAdapterImpl2_isKeyDown(4) ? 1 : 0; if (Long_gt($this.$field_83002_am, Long_ZERO)) { if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$field_83002_am), Long_fromInt(6000))) { var$2 = new jl_RuntimeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(489); $rt_throw(var$2); } if (!(nlea_EaglerAdapterImpl2_isKeyDown(46) && $F3down)) $this.$field_83002_am = Long_fromInt(-1); } else if ($F3down && nlea_EaglerAdapterImpl2_isKeyDown(46)) $this.$field_83002_am = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } $var8 = $var8 ? 0 : 1; } y: { if ($var8) { z: { $var8 = $this.$isGonnaTakeDatScreenShot; if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = (-1); else { $var9 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var9 <= var$6.length && $var9 >= 0 ? var$6[$var9] : (-1); } if (var$15 == 3) { $var9 = 1; break z; } } $var9 = 0; } $this.$isGonnaTakeDatScreenShot = $var8 | $var9; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 != 87) { var$2 = $this.$currentScreen; if (var$2 !== null) { $ptr = 26; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 1 && $this.$currentScreen === null) { var$2 = nms_GuiIngameMenu__init_(); $ptr = 29; continue main; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 31) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr($rt_ustr(var$5)); $rt_putStderr($rt_ustr(var$4)); var$2 = $this.$sndManager; if (var$2 !== null) { var$3 = var$2.$soundevents; var$15 = var$3.$modCount; var$19 = var$3.$size(); var$20 = $var10; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$3.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$3.$get(var$20)).$id3); var$20 = $var9; } var$2 = var$2.$activerecords; var$15 = var$2.$modCount; var$19 = var$2.$size(); var$20 = var$14; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$2.$modCount) break t; $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$2.$get(var$20)).$value0); var$20 = $var9; } } nms_SoundManager_loadSoundSettings($this.$sndManager, $this.$gameSettings); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 20) { var$2 = $this.$renderEngine; $ptr = 30; continue main; } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 33) { $var8 = nlea_EaglerAdapterImpl2_isKeyDown(42) | nlea_EaglerAdapterImpl2_isKeyDown(54); nms_GameSettings_setOptionValue($this.$gameSettings, nms_EnumOptions_RENDER_DISTANCE, !$var8 ? 1 : (-1)); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 30) nms_RenderGlobal_loadRenderers($this.$renderGlobal); } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 35) { var$2 = $this.$gameSettings; var$2.$advancedItemTooltips = var$2.$advancedItemTooltips ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 48) nms_RenderManager_field_85095_o = nms_RenderManager_field_85095_o ? 0 : 1; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 25) { var$2 = $this.$gameSettings; var$2.$pauseOnLostFocus = var$2.$pauseOnLostFocus ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 2) { var$2 = $this.$gameSettings; var$2.$hideGUI = var$2.$hideGUI ? 0 : 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 4) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showDebugInfo = var$2.$showDebugInfo ? 0 : 1; var$2.$showDebugProfilerChart = 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 6) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { $var8 = var$2.$thirdPersonView + 1 | 0; var$2.$thirdPersonView = $var8; if ($var8 > 2) var$2.$thirdPersonView = 0; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 7) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showCoordinates = var$2.$showCoordinates ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 9) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) var$2.$smoothCamera = var$2.$smoothCamera ? 0 : 1; } if (!$this.$gameSettings.$keyBindFunction.$pressed) { $var9 = 0; while (true) { if ($var9 >= 9) break y; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == (2 + $var9 | 0)) $this.$thePlayer.$inventory.$currentItem = $var9; $var9 = $var9 + 1 | 0; } } } } } } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) var$14 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) var$14 = 1; else if (!($rt_s(490) instanceof jl_String)) var$14 = 0; else { var$2 = $rt_s(490); var$14 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; ba: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break ba; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$14; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; bb: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break bb; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } if (Long_le(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$systemTime), Long_fromInt(200))) { $var10 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var10) { nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory, $var10); var$2 = $this.$gameSettings; if (var$2.$noclip) { if ($var10 > 0) $var10 = 1; if ($var10 < 0) $var10 = (-1); var$2.$noclipRate = var$2.$noclipRate + $var10 * 0.25; } } var$2 = $this.$currentScreen; if (var$2 !== null) break; if (!($this.$inGameHasFocus && (document.pointerLockElement != null ? 1 : 0))) { var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $this.$inGameHasFocus = 1; var$2 = $this.$mouseHelper; nlea_EaglerAdapterImpl2_mouseSetGrabbed(1); var$2.$deltaX = 0; var$2.$deltaY = 0; $ptr = 20; continue main; } } } } $ptr = 18; continue main; case 3: nms_GuiScreen_handleInput(var$2); if ($rt_suspending()) { break main; } var$2 = $this.$currentScreen; if (var$2 !== null) { $ptr = 5; continue main; } if (nms_GuiMultiplayer_cooldownTimer > 0) { nlea_EaglerAdapterImpl2_$callClinit(); $var1 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (Long_gt(Long_sub($var1, nms_GuiMultiplayer_lastCooldown), Long_fromInt(5000))) { nms_GuiMultiplayer_cooldownTimer = nms_GuiMultiplayer_cooldownTimer - 1 | 0; nms_GuiMultiplayer_lastCooldown = $var1; } } var$2 = $this.$currentScreen; if (var$2 !== null && !var$2.$allowUserInput) { bc: { var$2 = $this.$theWorld; if (var$2 === null) { var$2 = $this.$myNetworkManager; if (var$2 === null) { var$2 = $this.$entityRenderer; var$2.$startup = 0; var$2.$preStartup = 0; var$2.$asdfghjkl = 0; break bc; } $ptr = 7; continue main; } var$3 = $this.$thePlayer; if (var$3 !== null) { $var8 = $this.$joinPlayerCounter + 1 | 0; $this.$joinPlayerCounter = $var8; if ($var8 == 30) { $this.$joinPlayerCounter = 0; nms_World_joinEntityInSurroundings(var$2, var$3); } $var8 = $this.$messageOnLoginCounter + 1 | 0; $this.$messageOnLoginCounter = $var8; if ($var8 == 100 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_GREEN; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(483)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } if ($this.$messageOnLoginCounter == 150 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_AQUA; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(484)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } if (!$this.$isGamePaused) { var$2 = $this.$entityRenderer; $ptr = 8; continue main; } if (!$this.$isGamePaused) nms_RenderGlobal_updateClouds($this.$renderGlobal); if (!$this.$isGamePaused) { var$2 = $this.$theWorld; $var8 = var$2.$lastLightningBolt; if ($var8 > 0) var$2.$lastLightningBolt = $var8 - 1 | 0; $ptr = 10; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; var$2.$spawnHostileMobs = var$2.$difficultySetting <= 0 ? 0 : 1; var$2.$spawnPeacefulMobs = 1; $ptr = 12; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; if (var$2 !== null) { var$3 = $this.$thePlayer; var$13 = var$3.$posX; $var10 = var$13 | 0; if (var$13 < $var10) $var10 = $var10 - 1 | 0; var$13 = var$3.$posY; $var9 = var$13 | 0; if (var$13 < $var9) $var9 = $var9 - 1 | 0; var$13 = var$3.$posZ; $F3down = var$13 | 0; if (var$13 < $F3down) $F3down = $F3down - 1 | 0; $ptr = 17; continue main; } } if (!$this.$isGamePaused) { var$2 = $this.$effectRenderer; $ptr = 11; continue main; } } var$2 = $this.$gameSettings; if (!(!(!var$2.$adderall && !$this.$entityRenderer.$asdfghjkl) && $this.$yeeState)) { var$3 = $this.$entityRenderer; var$3.$startup = 0; var$3.$preStartup = 0; var$2.$adderall = 0; var$3.$asdfghjkl = 0; } if ($this.$theWorld === null) { var$2 = $this.$sndManager; $ptr = 9; continue main; } var$2 = $this.$sndManager; $var8 = var$2.$titleMusic; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var8; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var9 = var$5.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var9) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { nlea_EaglerAdapterImpl2_endSound(var$2.$titleMusic); nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!0, var$2.$options.$musicVolume); } var$2.$titleMusic = (-1); var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; } var$3 = null; while (true) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_currentEvent = null; var$2 = nlea_EaglerAdapterImpl2_mouseEvents; $var8 = var$2.$size2 ? 0 : 1; bd: { if (!$var8) { var$2 = ju_LinkedList_listIterator(var$2, 0); var$5 = ju_LinkedList$SequentialListIterator_next(var$2); ju_LinkedList$SequentialListIterator_remove(var$2); otji_JSWrapper_$callClinit(); var$2 = var$5 === null ? null : var$5[$rt_jso_marker] === true ? var$5 : var$5.$js; nlea_EaglerAdapterImpl2_currentEvent = var$2; if (var$2 !== null) { $var8 = 1; break bd; } } $var8 = 0; } if (!$var8) { $var8 = $this.$leftClickCounter; if ($var8 > 0) $this.$leftClickCounter = $var8 - 1 | 0; $var10 = 0; var$14 = 0; var$5 = $rt_s(487); var$4 = $rt_s(469); be: while (true) { if (!nlea_EaglerAdapterImpl2_keysNext()) { $var8 = $this.$gameSettings.$chatVisibility == 2 ? 0 : 1; var$2 = $this.$gameSettings.$keyBindInventory; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down) { var$2 = new nms_GuiInventory; var$3 = $this.$thePlayer; var$5 = var$3.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen__init_(var$2); var$2.$xSize = 176; var$2.$ySize = 166; var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); var$2.$field_94077_p = var$4; var$2.$inventorySlots0 = var$5; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$3, nms_AchievementList_openInventory, 1); $ptr = 16; continue main; } while (true) { var$2 = $this.$gameSettings.$keyBindDrop; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if (!$F3down) break; var$2 = $this.$thePlayer; nms_GuiScreen_$callClinit(); var$15 = !(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1) ? 4 : 3; var$3 = var$2.$sendQueue; var$2 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$status = var$15; var$2.$xPosition0 = 0; var$2.$yPosition0 = 0; var$2.$zPosition = 0; var$2.$face = 0; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); } var$2 = $this.$gameSettings.$keyBindChat; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down && $var8) { var$2 = nms_GuiChat__init_(); $ptr = 19; continue main; } if ($this.$currentScreen === null && nlea_EaglerAdapterImpl2_isKeyDown(53) && $var8) { var$3 = new nms_GuiChat; nms_GuiScreen__init_(var$3); var$3.$field_73898_b = $rt_s(18); var$3.$sentHistoryCursor = (-1); var$3.$field_73897_d = 0; var$3.$field_73905_m = 0; var$3.$field_73903_n = 0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$field_73904_o = var$5; var$3.$clickedURI = null; var$3.$defaultInputFieldText = $rt_s(18); var$3.$defaultInputFieldText = $rt_s(192); $ptr = 21; continue main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { bf: { var$18 = var$4.$key; if (var$5 !== var$18) { bg: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break bg; } } $var8 = 0; } if (!$var8) { $var8 = 0; break bf; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; bh: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break bh; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break bh; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$19 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$19 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } var$15 = $var8 ? 0 : 1; } else var$15 = 0; var$2 = nms_KeyBinding_hash; $var8 = var$19 ^ (var$19 >>> 20 | 0) ^ (var$19 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; bi: { while (var$2 !== null) { if (var$2.$hashEntry == var$19) { var$2 = var$2.$valueEntry; break bi; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$15; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 !== $rt_s(488)) { if ($rt_s(488) instanceof jl_String) { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } else $var8 = 0; } else $var8 = 1; $var8 = $var8 ? 0 : 1; } if ($var8) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else var$15 = (-1); var$2 = nms_KeyBinding_hash; $var8 = var$15 ^ (var$15 >>> 20 | 0) ^ (var$15 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; bj: { while (var$2 !== null) { if (var$2.$hashEntry == var$15) { var$2 = var$2.$valueEntry; break bj; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } $F3down = $this.$gameSettings.$keyBindFunction.$pressed && nlea_EaglerAdapterImpl2_isKeyDown(4) ? 1 : 0; if (Long_gt($this.$field_83002_am, Long_ZERO)) { if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$field_83002_am), Long_fromInt(6000))) { var$2 = new jl_RuntimeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(489); $rt_throw(var$2); } if (!(nlea_EaglerAdapterImpl2_isKeyDown(46) && $F3down)) $this.$field_83002_am = Long_fromInt(-1); } else if ($F3down && nlea_EaglerAdapterImpl2_isKeyDown(46)) $this.$field_83002_am = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } $var8 = $var8 ? 0 : 1; } bk: { if ($var8) { y: { $var8 = $this.$isGonnaTakeDatScreenShot; if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = (-1); else { $var9 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var9 <= var$6.length && $var9 >= 0 ? var$6[$var9] : (-1); } if (var$15 == 3) { $var9 = 1; break y; } } $var9 = 0; } $this.$isGonnaTakeDatScreenShot = $var8 | $var9; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 != 87) { var$2 = $this.$currentScreen; if (var$2 !== null) { $ptr = 26; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 1 && $this.$currentScreen === null) { var$2 = nms_GuiIngameMenu__init_(); $ptr = 29; continue main; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 31) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr($rt_ustr(var$5)); $rt_putStderr($rt_ustr(var$4)); var$2 = $this.$sndManager; if (var$2 !== null) { var$3 = var$2.$soundevents; var$15 = var$3.$modCount; var$19 = var$3.$size(); var$20 = $var10; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$3.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$3.$get(var$20)).$id3); var$20 = $var9; } var$2 = var$2.$activerecords; var$15 = var$2.$modCount; var$19 = var$2.$size(); var$20 = var$14; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$2.$modCount) break be; $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$2.$get(var$20)).$value0); var$20 = $var9; } } nms_SoundManager_loadSoundSettings($this.$sndManager, $this.$gameSettings); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 20) { var$2 = $this.$renderEngine; $ptr = 30; continue main; } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 33) { $var8 = nlea_EaglerAdapterImpl2_isKeyDown(42) | nlea_EaglerAdapterImpl2_isKeyDown(54); nms_GameSettings_setOptionValue($this.$gameSettings, nms_EnumOptions_RENDER_DISTANCE, !$var8 ? 1 : (-1)); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 30) nms_RenderGlobal_loadRenderers($this.$renderGlobal); } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 35) { var$2 = $this.$gameSettings; var$2.$advancedItemTooltips = var$2.$advancedItemTooltips ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 48) nms_RenderManager_field_85095_o = nms_RenderManager_field_85095_o ? 0 : 1; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 25) { var$2 = $this.$gameSettings; var$2.$pauseOnLostFocus = var$2.$pauseOnLostFocus ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 2) { var$2 = $this.$gameSettings; var$2.$hideGUI = var$2.$hideGUI ? 0 : 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 4) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showDebugInfo = var$2.$showDebugInfo ? 0 : 1; var$2.$showDebugProfilerChart = 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 6) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { $var8 = var$2.$thirdPersonView + 1 | 0; var$2.$thirdPersonView = $var8; if ($var8 > 2) var$2.$thirdPersonView = 0; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 7) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showCoordinates = var$2.$showCoordinates ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 9) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) var$2.$smoothCamera = var$2.$smoothCamera ? 0 : 1; } if (!$this.$gameSettings.$keyBindFunction.$pressed) { $var9 = 0; while (true) { if ($var9 >= 9) break bk; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == (2 + $var9 | 0)) $this.$thePlayer.$inventory.$currentItem = $var9; $var9 = $var9 + 1 | 0; } } } } } } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) var$14 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) var$14 = 1; else if (!($rt_s(490) instanceof jl_String)) var$14 = 0; else { var$2 = $rt_s(490); var$14 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; bl: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break bl; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$14; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; bm: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break bm; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } if (Long_le(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$systemTime), Long_fromInt(200))) { $var10 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var10) { nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory, $var10); var$2 = $this.$gameSettings; if (var$2.$noclip) { if ($var10 > 0) $var10 = 1; if ($var10 < 0) $var10 = (-1); var$2.$noclipRate = var$2.$noclipRate + $var10 * 0.25; } } var$2 = $this.$currentScreen; if (var$2 !== null) break; if (!($this.$inGameHasFocus && (document.pointerLockElement != null ? 1 : 0))) { var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $this.$inGameHasFocus = 1; var$2 = $this.$mouseHelper; nlea_EaglerAdapterImpl2_mouseSetGrabbed(1); var$2.$deltaX = 0; var$2.$deltaY = 0; $ptr = 20; continue main; } } } } $ptr = 18; continue main; case 4: nms_Minecraft_displayGuiScreen($this, var$2); if ($rt_suspending()) { break main; } var$2 = $this.$currentScreen; if (var$2 !== null) $this.$leftClickCounter = 10000; if (var$2 !== null) { $ptr = 3; continue main; } if (nms_GuiMultiplayer_cooldownTimer > 0) { nlea_EaglerAdapterImpl2_$callClinit(); $var1 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (Long_gt(Long_sub($var1, nms_GuiMultiplayer_lastCooldown), Long_fromInt(5000))) { nms_GuiMultiplayer_cooldownTimer = nms_GuiMultiplayer_cooldownTimer - 1 | 0; nms_GuiMultiplayer_lastCooldown = $var1; } } var$2 = $this.$currentScreen; if (var$2 !== null && !var$2.$allowUserInput) { r: { var$2 = $this.$theWorld; if (var$2 === null) { var$2 = $this.$myNetworkManager; if (var$2 === null) { var$2 = $this.$entityRenderer; var$2.$startup = 0; var$2.$preStartup = 0; var$2.$asdfghjkl = 0; break r; } $ptr = 7; continue main; } var$3 = $this.$thePlayer; if (var$3 !== null) { $var8 = $this.$joinPlayerCounter + 1 | 0; $this.$joinPlayerCounter = $var8; if ($var8 == 30) { $this.$joinPlayerCounter = 0; nms_World_joinEntityInSurroundings(var$2, var$3); } $var8 = $this.$messageOnLoginCounter + 1 | 0; $this.$messageOnLoginCounter = $var8; if ($var8 == 100 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_GREEN; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(483)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } if ($this.$messageOnLoginCounter == 150 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_AQUA; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(484)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } if (!$this.$isGamePaused) { var$2 = $this.$entityRenderer; $ptr = 8; continue main; } if (!$this.$isGamePaused) nms_RenderGlobal_updateClouds($this.$renderGlobal); if (!$this.$isGamePaused) { var$2 = $this.$theWorld; $var8 = var$2.$lastLightningBolt; if ($var8 > 0) var$2.$lastLightningBolt = $var8 - 1 | 0; $ptr = 10; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; var$2.$spawnHostileMobs = var$2.$difficultySetting <= 0 ? 0 : 1; var$2.$spawnPeacefulMobs = 1; $ptr = 12; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; if (var$2 !== null) { var$3 = $this.$thePlayer; var$13 = var$3.$posX; $var10 = var$13 | 0; if (var$13 < $var10) $var10 = $var10 - 1 | 0; var$13 = var$3.$posY; $var9 = var$13 | 0; if (var$13 < $var9) $var9 = $var9 - 1 | 0; var$13 = var$3.$posZ; $F3down = var$13 | 0; if (var$13 < $F3down) $F3down = $F3down - 1 | 0; $ptr = 17; continue main; } } if (!$this.$isGamePaused) { var$2 = $this.$effectRenderer; $ptr = 11; continue main; } } var$2 = $this.$gameSettings; if (!(!(!var$2.$adderall && !$this.$entityRenderer.$asdfghjkl) && $this.$yeeState)) { var$3 = $this.$entityRenderer; var$3.$startup = 0; var$3.$preStartup = 0; var$2.$adderall = 0; var$3.$asdfghjkl = 0; } if ($this.$theWorld === null) { var$2 = $this.$sndManager; $ptr = 9; continue main; } var$2 = $this.$sndManager; $var8 = var$2.$titleMusic; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var8; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var9 = var$5.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var9) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { nlea_EaglerAdapterImpl2_endSound(var$2.$titleMusic); nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!0, var$2.$options.$musicVolume); } var$2.$titleMusic = (-1); var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; } var$3 = null; while (true) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_currentEvent = null; var$2 = nlea_EaglerAdapterImpl2_mouseEvents; $var8 = var$2.$size2 ? 0 : 1; s: { if (!$var8) { var$2 = ju_LinkedList_listIterator(var$2, 0); var$5 = ju_LinkedList$SequentialListIterator_next(var$2); ju_LinkedList$SequentialListIterator_remove(var$2); otji_JSWrapper_$callClinit(); var$2 = var$5 === null ? null : var$5[$rt_jso_marker] === true ? var$5 : var$5.$js; nlea_EaglerAdapterImpl2_currentEvent = var$2; if (var$2 !== null) { $var8 = 1; break s; } } $var8 = 0; } if (!$var8) { $var8 = $this.$leftClickCounter; if ($var8 > 0) $this.$leftClickCounter = $var8 - 1 | 0; $var10 = 0; var$14 = 0; var$5 = $rt_s(487); var$4 = $rt_s(469); t: while (true) { if (!nlea_EaglerAdapterImpl2_keysNext()) { $var8 = $this.$gameSettings.$chatVisibility == 2 ? 0 : 1; var$2 = $this.$gameSettings.$keyBindInventory; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down) { var$2 = new nms_GuiInventory; var$3 = $this.$thePlayer; var$5 = var$3.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen__init_(var$2); var$2.$xSize = 176; var$2.$ySize = 166; var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); var$2.$field_94077_p = var$4; var$2.$inventorySlots0 = var$5; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$3, nms_AchievementList_openInventory, 1); $ptr = 16; continue main; } while (true) { var$2 = $this.$gameSettings.$keyBindDrop; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if (!$F3down) break; var$2 = $this.$thePlayer; nms_GuiScreen_$callClinit(); var$15 = !(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1) ? 4 : 3; var$3 = var$2.$sendQueue; var$2 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$status = var$15; var$2.$xPosition0 = 0; var$2.$yPosition0 = 0; var$2.$zPosition = 0; var$2.$face = 0; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); } var$2 = $this.$gameSettings.$keyBindChat; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down && $var8) { var$2 = nms_GuiChat__init_(); $ptr = 19; continue main; } if ($this.$currentScreen === null && nlea_EaglerAdapterImpl2_isKeyDown(53) && $var8) { var$3 = new nms_GuiChat; nms_GuiScreen__init_(var$3); var$3.$field_73898_b = $rt_s(18); var$3.$sentHistoryCursor = (-1); var$3.$field_73897_d = 0; var$3.$field_73905_m = 0; var$3.$field_73903_n = 0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$field_73904_o = var$5; var$3.$clickedURI = null; var$3.$defaultInputFieldText = $rt_s(18); var$3.$defaultInputFieldText = $rt_s(192); $ptr = 21; continue main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { u: { var$18 = var$4.$key; if (var$5 !== var$18) { v: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break v; } } $var8 = 0; } if (!$var8) { $var8 = 0; break u; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; w: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break w; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break w; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$19 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$19 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } var$15 = $var8 ? 0 : 1; } else var$15 = 0; var$2 = nms_KeyBinding_hash; $var8 = var$19 ^ (var$19 >>> 20 | 0) ^ (var$19 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; x: { while (var$2 !== null) { if (var$2.$hashEntry == var$19) { var$2 = var$2.$valueEntry; break x; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$15; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 !== $rt_s(488)) { if ($rt_s(488) instanceof jl_String) { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } else $var8 = 0; } else $var8 = 1; $var8 = $var8 ? 0 : 1; } if ($var8) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else var$15 = (-1); var$2 = nms_KeyBinding_hash; $var8 = var$15 ^ (var$15 >>> 20 | 0) ^ (var$15 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; l: { while (var$2 !== null) { if (var$2.$hashEntry == var$15) { var$2 = var$2.$valueEntry; break l; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } $F3down = $this.$gameSettings.$keyBindFunction.$pressed && nlea_EaglerAdapterImpl2_isKeyDown(4) ? 1 : 0; if (Long_gt($this.$field_83002_am, Long_ZERO)) { if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$field_83002_am), Long_fromInt(6000))) { var$2 = new jl_RuntimeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(489); $rt_throw(var$2); } if (!(nlea_EaglerAdapterImpl2_isKeyDown(46) && $F3down)) $this.$field_83002_am = Long_fromInt(-1); } else if ($F3down && nlea_EaglerAdapterImpl2_isKeyDown(46)) $this.$field_83002_am = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } $var8 = $var8 ? 0 : 1; } y: { if ($var8) { z: { $var8 = $this.$isGonnaTakeDatScreenShot; if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = (-1); else { $var9 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var9 <= var$6.length && $var9 >= 0 ? var$6[$var9] : (-1); } if (var$15 == 3) { $var9 = 1; break z; } } $var9 = 0; } $this.$isGonnaTakeDatScreenShot = $var8 | $var9; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 != 87) { var$2 = $this.$currentScreen; if (var$2 !== null) { $ptr = 26; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 1 && $this.$currentScreen === null) { var$2 = nms_GuiIngameMenu__init_(); $ptr = 29; continue main; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 31) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr($rt_ustr(var$5)); $rt_putStderr($rt_ustr(var$4)); var$2 = $this.$sndManager; if (var$2 !== null) { var$3 = var$2.$soundevents; var$15 = var$3.$modCount; var$19 = var$3.$size(); var$20 = $var10; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$3.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$3.$get(var$20)).$id3); var$20 = $var9; } var$2 = var$2.$activerecords; var$15 = var$2.$modCount; var$19 = var$2.$size(); var$20 = var$14; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$2.$modCount) break t; $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$2.$get(var$20)).$value0); var$20 = $var9; } } nms_SoundManager_loadSoundSettings($this.$sndManager, $this.$gameSettings); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 20) { var$2 = $this.$renderEngine; $ptr = 30; continue main; } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 33) { $var8 = nlea_EaglerAdapterImpl2_isKeyDown(42) | nlea_EaglerAdapterImpl2_isKeyDown(54); nms_GameSettings_setOptionValue($this.$gameSettings, nms_EnumOptions_RENDER_DISTANCE, !$var8 ? 1 : (-1)); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 30) nms_RenderGlobal_loadRenderers($this.$renderGlobal); } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 35) { var$2 = $this.$gameSettings; var$2.$advancedItemTooltips = var$2.$advancedItemTooltips ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 48) nms_RenderManager_field_85095_o = nms_RenderManager_field_85095_o ? 0 : 1; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 25) { var$2 = $this.$gameSettings; var$2.$pauseOnLostFocus = var$2.$pauseOnLostFocus ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 2) { var$2 = $this.$gameSettings; var$2.$hideGUI = var$2.$hideGUI ? 0 : 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 4) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showDebugInfo = var$2.$showDebugInfo ? 0 : 1; var$2.$showDebugProfilerChart = 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 6) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { $var8 = var$2.$thirdPersonView + 1 | 0; var$2.$thirdPersonView = $var8; if ($var8 > 2) var$2.$thirdPersonView = 0; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 7) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showCoordinates = var$2.$showCoordinates ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 9) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) var$2.$smoothCamera = var$2.$smoothCamera ? 0 : 1; } if (!$this.$gameSettings.$keyBindFunction.$pressed) { $var9 = 0; while (true) { if ($var9 >= 9) break y; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == (2 + $var9 | 0)) $this.$thePlayer.$inventory.$currentItem = $var9; $var9 = $var9 + 1 | 0; } } } } } } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) var$14 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) var$14 = 1; else if (!($rt_s(490) instanceof jl_String)) var$14 = 0; else { var$2 = $rt_s(490); var$14 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; ba: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break ba; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$14; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; bb: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break bb; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } if (Long_le(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$systemTime), Long_fromInt(200))) { $var10 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var10) { nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory, $var10); var$2 = $this.$gameSettings; if (var$2.$noclip) { if ($var10 > 0) $var10 = 1; if ($var10 < 0) $var10 = (-1); var$2.$noclipRate = var$2.$noclipRate + $var10 * 0.25; } } var$2 = $this.$currentScreen; if (var$2 !== null) break; if (!($this.$inGameHasFocus && (document.pointerLockElement != null ? 1 : 0))) { var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $this.$inGameHasFocus = 1; var$2 = $this.$mouseHelper; nlea_EaglerAdapterImpl2_mouseSetGrabbed(1); var$2.$deltaX = 0; var$2.$deltaY = 0; $ptr = 20; continue main; } } } } $ptr = 18; continue main; case 5: var$2.$updateScreen(); if ($rt_suspending()) { break main; } if (nms_GuiMultiplayer_cooldownTimer > 0) { nlea_EaglerAdapterImpl2_$callClinit(); $var1 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (Long_gt(Long_sub($var1, nms_GuiMultiplayer_lastCooldown), Long_fromInt(5000))) { nms_GuiMultiplayer_cooldownTimer = nms_GuiMultiplayer_cooldownTimer - 1 | 0; nms_GuiMultiplayer_lastCooldown = $var1; } } var$2 = $this.$currentScreen; if (var$2 !== null && !var$2.$allowUserInput) { bn: { var$2 = $this.$theWorld; if (var$2 === null) { var$2 = $this.$myNetworkManager; if (var$2 === null) { var$2 = $this.$entityRenderer; var$2.$startup = 0; var$2.$preStartup = 0; var$2.$asdfghjkl = 0; break bn; } $ptr = 7; continue main; } var$3 = $this.$thePlayer; if (var$3 !== null) { $var8 = $this.$joinPlayerCounter + 1 | 0; $this.$joinPlayerCounter = $var8; if ($var8 == 30) { $this.$joinPlayerCounter = 0; nms_World_joinEntityInSurroundings(var$2, var$3); } $var8 = $this.$messageOnLoginCounter + 1 | 0; $this.$messageOnLoginCounter = $var8; if ($var8 == 100 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_GREEN; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(483)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } if ($this.$messageOnLoginCounter == 150 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_AQUA; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(484)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } if (!$this.$isGamePaused) { var$2 = $this.$entityRenderer; $ptr = 8; continue main; } if (!$this.$isGamePaused) nms_RenderGlobal_updateClouds($this.$renderGlobal); if (!$this.$isGamePaused) { var$2 = $this.$theWorld; $var8 = var$2.$lastLightningBolt; if ($var8 > 0) var$2.$lastLightningBolt = $var8 - 1 | 0; $ptr = 10; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; var$2.$spawnHostileMobs = var$2.$difficultySetting <= 0 ? 0 : 1; var$2.$spawnPeacefulMobs = 1; $ptr = 12; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; if (var$2 !== null) { var$3 = $this.$thePlayer; var$13 = var$3.$posX; $var10 = var$13 | 0; if (var$13 < $var10) $var10 = $var10 - 1 | 0; var$13 = var$3.$posY; $var9 = var$13 | 0; if (var$13 < $var9) $var9 = $var9 - 1 | 0; var$13 = var$3.$posZ; $F3down = var$13 | 0; if (var$13 < $F3down) $F3down = $F3down - 1 | 0; $ptr = 17; continue main; } } if (!$this.$isGamePaused) { var$2 = $this.$effectRenderer; $ptr = 11; continue main; } } var$2 = $this.$gameSettings; if (!(!(!var$2.$adderall && !$this.$entityRenderer.$asdfghjkl) && $this.$yeeState)) { var$3 = $this.$entityRenderer; var$3.$startup = 0; var$3.$preStartup = 0; var$2.$adderall = 0; var$3.$asdfghjkl = 0; } if ($this.$theWorld === null) { var$2 = $this.$sndManager; $ptr = 9; continue main; } var$2 = $this.$sndManager; $var8 = var$2.$titleMusic; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var8; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var9 = var$5.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var9) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { nlea_EaglerAdapterImpl2_endSound(var$2.$titleMusic); nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!0, var$2.$options.$musicVolume); } var$2.$titleMusic = (-1); var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; } var$3 = null; while (true) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_currentEvent = null; var$2 = nlea_EaglerAdapterImpl2_mouseEvents; $var8 = var$2.$size2 ? 0 : 1; bo: { if (!$var8) { var$2 = ju_LinkedList_listIterator(var$2, 0); var$5 = ju_LinkedList$SequentialListIterator_next(var$2); ju_LinkedList$SequentialListIterator_remove(var$2); otji_JSWrapper_$callClinit(); var$2 = var$5 === null ? null : var$5[$rt_jso_marker] === true ? var$5 : var$5.$js; nlea_EaglerAdapterImpl2_currentEvent = var$2; if (var$2 !== null) { $var8 = 1; break bo; } } $var8 = 0; } if (!$var8) { $var8 = $this.$leftClickCounter; if ($var8 > 0) $this.$leftClickCounter = $var8 - 1 | 0; $var10 = 0; var$14 = 0; var$5 = $rt_s(487); var$4 = $rt_s(469); bp: while (true) { if (!nlea_EaglerAdapterImpl2_keysNext()) { $var8 = $this.$gameSettings.$chatVisibility == 2 ? 0 : 1; var$2 = $this.$gameSettings.$keyBindInventory; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down) { var$2 = new nms_GuiInventory; var$3 = $this.$thePlayer; var$5 = var$3.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen__init_(var$2); var$2.$xSize = 176; var$2.$ySize = 166; var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); var$2.$field_94077_p = var$4; var$2.$inventorySlots0 = var$5; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$3, nms_AchievementList_openInventory, 1); $ptr = 16; continue main; } while (true) { var$2 = $this.$gameSettings.$keyBindDrop; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if (!$F3down) break; var$2 = $this.$thePlayer; nms_GuiScreen_$callClinit(); var$15 = !(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1) ? 4 : 3; var$3 = var$2.$sendQueue; var$2 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$status = var$15; var$2.$xPosition0 = 0; var$2.$yPosition0 = 0; var$2.$zPosition = 0; var$2.$face = 0; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); } var$2 = $this.$gameSettings.$keyBindChat; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down && $var8) { var$2 = nms_GuiChat__init_(); $ptr = 19; continue main; } if ($this.$currentScreen === null && nlea_EaglerAdapterImpl2_isKeyDown(53) && $var8) { var$3 = new nms_GuiChat; nms_GuiScreen__init_(var$3); var$3.$field_73898_b = $rt_s(18); var$3.$sentHistoryCursor = (-1); var$3.$field_73897_d = 0; var$3.$field_73905_m = 0; var$3.$field_73903_n = 0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$field_73904_o = var$5; var$3.$clickedURI = null; var$3.$defaultInputFieldText = $rt_s(18); var$3.$defaultInputFieldText = $rt_s(192); $ptr = 21; continue main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { bq: { var$18 = var$4.$key; if (var$5 !== var$18) { br: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break br; } } $var8 = 0; } if (!$var8) { $var8 = 0; break bq; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; bs: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break bs; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break bs; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$19 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$19 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } var$15 = $var8 ? 0 : 1; } else var$15 = 0; var$2 = nms_KeyBinding_hash; $var8 = var$19 ^ (var$19 >>> 20 | 0) ^ (var$19 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; bt: { while (var$2 !== null) { if (var$2.$hashEntry == var$19) { var$2 = var$2.$valueEntry; break bt; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$15; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 !== $rt_s(488)) { if ($rt_s(488) instanceof jl_String) { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } else $var8 = 0; } else $var8 = 1; $var8 = $var8 ? 0 : 1; } if ($var8) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else var$15 = (-1); var$2 = nms_KeyBinding_hash; $var8 = var$15 ^ (var$15 >>> 20 | 0) ^ (var$15 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; bu: { while (var$2 !== null) { if (var$2.$hashEntry == var$15) { var$2 = var$2.$valueEntry; break bu; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } $F3down = $this.$gameSettings.$keyBindFunction.$pressed && nlea_EaglerAdapterImpl2_isKeyDown(4) ? 1 : 0; if (Long_gt($this.$field_83002_am, Long_ZERO)) { if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$field_83002_am), Long_fromInt(6000))) { var$2 = new jl_RuntimeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(489); $rt_throw(var$2); } if (!(nlea_EaglerAdapterImpl2_isKeyDown(46) && $F3down)) $this.$field_83002_am = Long_fromInt(-1); } else if ($F3down && nlea_EaglerAdapterImpl2_isKeyDown(46)) $this.$field_83002_am = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } $var8 = $var8 ? 0 : 1; } m: { if ($var8) { bk: { $var8 = $this.$isGonnaTakeDatScreenShot; if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = (-1); else { $var9 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var9 <= var$6.length && $var9 >= 0 ? var$6[$var9] : (-1); } if (var$15 == 3) { $var9 = 1; break bk; } } $var9 = 0; } $this.$isGonnaTakeDatScreenShot = $var8 | $var9; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 != 87) { var$2 = $this.$currentScreen; if (var$2 !== null) { $ptr = 26; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 1 && $this.$currentScreen === null) { var$2 = nms_GuiIngameMenu__init_(); $ptr = 29; continue main; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 31) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr($rt_ustr(var$5)); $rt_putStderr($rt_ustr(var$4)); var$2 = $this.$sndManager; if (var$2 !== null) { var$3 = var$2.$soundevents; var$15 = var$3.$modCount; var$19 = var$3.$size(); var$20 = $var10; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$3.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$3.$get(var$20)).$id3); var$20 = $var9; } var$2 = var$2.$activerecords; var$15 = var$2.$modCount; var$19 = var$2.$size(); var$20 = var$14; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$2.$modCount) break bp; $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$2.$get(var$20)).$value0); var$20 = $var9; } } nms_SoundManager_loadSoundSettings($this.$sndManager, $this.$gameSettings); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 20) { var$2 = $this.$renderEngine; $ptr = 30; continue main; } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 33) { $var8 = nlea_EaglerAdapterImpl2_isKeyDown(42) | nlea_EaglerAdapterImpl2_isKeyDown(54); nms_GameSettings_setOptionValue($this.$gameSettings, nms_EnumOptions_RENDER_DISTANCE, !$var8 ? 1 : (-1)); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 30) nms_RenderGlobal_loadRenderers($this.$renderGlobal); } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 35) { var$2 = $this.$gameSettings; var$2.$advancedItemTooltips = var$2.$advancedItemTooltips ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 48) nms_RenderManager_field_85095_o = nms_RenderManager_field_85095_o ? 0 : 1; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 25) { var$2 = $this.$gameSettings; var$2.$pauseOnLostFocus = var$2.$pauseOnLostFocus ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 2) { var$2 = $this.$gameSettings; var$2.$hideGUI = var$2.$hideGUI ? 0 : 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 4) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showDebugInfo = var$2.$showDebugInfo ? 0 : 1; var$2.$showDebugProfilerChart = 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 6) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { $var8 = var$2.$thirdPersonView + 1 | 0; var$2.$thirdPersonView = $var8; if ($var8 > 2) var$2.$thirdPersonView = 0; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 7) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showCoordinates = var$2.$showCoordinates ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 9) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) var$2.$smoothCamera = var$2.$smoothCamera ? 0 : 1; } if (!$this.$gameSettings.$keyBindFunction.$pressed) { $var9 = 0; while (true) { if ($var9 >= 9) break m; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == (2 + $var9 | 0)) $this.$thePlayer.$inventory.$currentItem = $var9; $var9 = $var9 + 1 | 0; } } } } } } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) var$14 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) var$14 = 1; else if (!($rt_s(490) instanceof jl_String)) var$14 = 0; else { var$2 = $rt_s(490); var$14 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; bv: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break bv; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$14; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; bw: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break bw; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } if (Long_le(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$systemTime), Long_fromInt(200))) { $var10 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var10) { nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory, $var10); var$2 = $this.$gameSettings; if (var$2.$noclip) { if ($var10 > 0) $var10 = 1; if ($var10 < 0) $var10 = (-1); var$2.$noclipRate = var$2.$noclipRate + $var10 * 0.25; } } var$2 = $this.$currentScreen; if (var$2 !== null) break; if (!($this.$inGameHasFocus && (document.pointerLockElement != null ? 1 : 0))) { var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $this.$inGameHasFocus = 1; var$2 = $this.$mouseHelper; nlea_EaglerAdapterImpl2_mouseSetGrabbed(1); var$2.$deltaX = 0; var$2.$deltaY = 0; $ptr = 20; continue main; } } } } $ptr = 18; continue main; case 6: nms_Minecraft_displayGuiScreen($this, var$2); if ($rt_suspending()) { break main; } var$2 = $this.$currentScreen; if (var$2 !== null) $this.$leftClickCounter = 10000; if (var$2 !== null) { $ptr = 3; continue main; } if (nms_GuiMultiplayer_cooldownTimer > 0) { nlea_EaglerAdapterImpl2_$callClinit(); $var1 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (Long_gt(Long_sub($var1, nms_GuiMultiplayer_lastCooldown), Long_fromInt(5000))) { nms_GuiMultiplayer_cooldownTimer = nms_GuiMultiplayer_cooldownTimer - 1 | 0; nms_GuiMultiplayer_lastCooldown = $var1; } } var$2 = $this.$currentScreen; if (var$2 !== null && !var$2.$allowUserInput) { r: { var$2 = $this.$theWorld; if (var$2 === null) { var$2 = $this.$myNetworkManager; if (var$2 === null) { var$2 = $this.$entityRenderer; var$2.$startup = 0; var$2.$preStartup = 0; var$2.$asdfghjkl = 0; break r; } $ptr = 7; continue main; } var$3 = $this.$thePlayer; if (var$3 !== null) { $var8 = $this.$joinPlayerCounter + 1 | 0; $this.$joinPlayerCounter = $var8; if ($var8 == 30) { $this.$joinPlayerCounter = 0; nms_World_joinEntityInSurroundings(var$2, var$3); } $var8 = $this.$messageOnLoginCounter + 1 | 0; $this.$messageOnLoginCounter = $var8; if ($var8 == 100 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_GREEN; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(483)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } if ($this.$messageOnLoginCounter == 150 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_AQUA; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(484)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } if (!$this.$isGamePaused) { var$2 = $this.$entityRenderer; $ptr = 8; continue main; } if (!$this.$isGamePaused) nms_RenderGlobal_updateClouds($this.$renderGlobal); if (!$this.$isGamePaused) { var$2 = $this.$theWorld; $var8 = var$2.$lastLightningBolt; if ($var8 > 0) var$2.$lastLightningBolt = $var8 - 1 | 0; $ptr = 10; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; var$2.$spawnHostileMobs = var$2.$difficultySetting <= 0 ? 0 : 1; var$2.$spawnPeacefulMobs = 1; $ptr = 12; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; if (var$2 !== null) { var$3 = $this.$thePlayer; var$13 = var$3.$posX; $var10 = var$13 | 0; if (var$13 < $var10) $var10 = $var10 - 1 | 0; var$13 = var$3.$posY; $var9 = var$13 | 0; if (var$13 < $var9) $var9 = $var9 - 1 | 0; var$13 = var$3.$posZ; $F3down = var$13 | 0; if (var$13 < $F3down) $F3down = $F3down - 1 | 0; $ptr = 17; continue main; } } if (!$this.$isGamePaused) { var$2 = $this.$effectRenderer; $ptr = 11; continue main; } } var$2 = $this.$gameSettings; if (!(!(!var$2.$adderall && !$this.$entityRenderer.$asdfghjkl) && $this.$yeeState)) { var$3 = $this.$entityRenderer; var$3.$startup = 0; var$3.$preStartup = 0; var$2.$adderall = 0; var$3.$asdfghjkl = 0; } if ($this.$theWorld === null) { var$2 = $this.$sndManager; $ptr = 9; continue main; } var$2 = $this.$sndManager; $var8 = var$2.$titleMusic; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var8; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var9 = var$5.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var9) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { nlea_EaglerAdapterImpl2_endSound(var$2.$titleMusic); nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!0, var$2.$options.$musicVolume); } var$2.$titleMusic = (-1); var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; } var$3 = null; while (true) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_currentEvent = null; var$2 = nlea_EaglerAdapterImpl2_mouseEvents; $var8 = var$2.$size2 ? 0 : 1; s: { if (!$var8) { var$2 = ju_LinkedList_listIterator(var$2, 0); var$5 = ju_LinkedList$SequentialListIterator_next(var$2); ju_LinkedList$SequentialListIterator_remove(var$2); otji_JSWrapper_$callClinit(); var$2 = var$5 === null ? null : var$5[$rt_jso_marker] === true ? var$5 : var$5.$js; nlea_EaglerAdapterImpl2_currentEvent = var$2; if (var$2 !== null) { $var8 = 1; break s; } } $var8 = 0; } if (!$var8) { $var8 = $this.$leftClickCounter; if ($var8 > 0) $this.$leftClickCounter = $var8 - 1 | 0; $var10 = 0; var$14 = 0; var$5 = $rt_s(487); var$4 = $rt_s(469); t: while (true) { if (!nlea_EaglerAdapterImpl2_keysNext()) { $var8 = $this.$gameSettings.$chatVisibility == 2 ? 0 : 1; var$2 = $this.$gameSettings.$keyBindInventory; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down) { var$2 = new nms_GuiInventory; var$3 = $this.$thePlayer; var$5 = var$3.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen__init_(var$2); var$2.$xSize = 176; var$2.$ySize = 166; var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); var$2.$field_94077_p = var$4; var$2.$inventorySlots0 = var$5; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$3, nms_AchievementList_openInventory, 1); $ptr = 16; continue main; } while (true) { var$2 = $this.$gameSettings.$keyBindDrop; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if (!$F3down) break; var$2 = $this.$thePlayer; nms_GuiScreen_$callClinit(); var$15 = !(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1) ? 4 : 3; var$3 = var$2.$sendQueue; var$2 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$status = var$15; var$2.$xPosition0 = 0; var$2.$yPosition0 = 0; var$2.$zPosition = 0; var$2.$face = 0; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); } var$2 = $this.$gameSettings.$keyBindChat; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down && $var8) { var$2 = nms_GuiChat__init_(); $ptr = 19; continue main; } if ($this.$currentScreen === null && nlea_EaglerAdapterImpl2_isKeyDown(53) && $var8) { var$3 = new nms_GuiChat; nms_GuiScreen__init_(var$3); var$3.$field_73898_b = $rt_s(18); var$3.$sentHistoryCursor = (-1); var$3.$field_73897_d = 0; var$3.$field_73905_m = 0; var$3.$field_73903_n = 0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$field_73904_o = var$5; var$3.$clickedURI = null; var$3.$defaultInputFieldText = $rt_s(18); var$3.$defaultInputFieldText = $rt_s(192); $ptr = 21; continue main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { u: { var$18 = var$4.$key; if (var$5 !== var$18) { v: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break v; } } $var8 = 0; } if (!$var8) { $var8 = 0; break u; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; w: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break w; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break w; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$19 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$19 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } var$15 = $var8 ? 0 : 1; } else var$15 = 0; var$2 = nms_KeyBinding_hash; $var8 = var$19 ^ (var$19 >>> 20 | 0) ^ (var$19 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; x: { while (var$2 !== null) { if (var$2.$hashEntry == var$19) { var$2 = var$2.$valueEntry; break x; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$15; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 !== $rt_s(488)) { if ($rt_s(488) instanceof jl_String) { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } else $var8 = 0; } else $var8 = 1; $var8 = $var8 ? 0 : 1; } if ($var8) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else var$15 = (-1); var$2 = nms_KeyBinding_hash; $var8 = var$15 ^ (var$15 >>> 20 | 0) ^ (var$15 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; l: { while (var$2 !== null) { if (var$2.$hashEntry == var$15) { var$2 = var$2.$valueEntry; break l; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } $F3down = $this.$gameSettings.$keyBindFunction.$pressed && nlea_EaglerAdapterImpl2_isKeyDown(4) ? 1 : 0; if (Long_gt($this.$field_83002_am, Long_ZERO)) { if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$field_83002_am), Long_fromInt(6000))) { var$2 = new jl_RuntimeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(489); $rt_throw(var$2); } if (!(nlea_EaglerAdapterImpl2_isKeyDown(46) && $F3down)) $this.$field_83002_am = Long_fromInt(-1); } else if ($F3down && nlea_EaglerAdapterImpl2_isKeyDown(46)) $this.$field_83002_am = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } $var8 = $var8 ? 0 : 1; } y: { if ($var8) { z: { $var8 = $this.$isGonnaTakeDatScreenShot; if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = (-1); else { $var9 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var9 <= var$6.length && $var9 >= 0 ? var$6[$var9] : (-1); } if (var$15 == 3) { $var9 = 1; break z; } } $var9 = 0; } $this.$isGonnaTakeDatScreenShot = $var8 | $var9; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 != 87) { var$2 = $this.$currentScreen; if (var$2 !== null) { $ptr = 26; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 1 && $this.$currentScreen === null) { var$2 = nms_GuiIngameMenu__init_(); $ptr = 29; continue main; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 31) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr($rt_ustr(var$5)); $rt_putStderr($rt_ustr(var$4)); var$2 = $this.$sndManager; if (var$2 !== null) { var$3 = var$2.$soundevents; var$15 = var$3.$modCount; var$19 = var$3.$size(); var$20 = $var10; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$3.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$3.$get(var$20)).$id3); var$20 = $var9; } var$2 = var$2.$activerecords; var$15 = var$2.$modCount; var$19 = var$2.$size(); var$20 = var$14; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$2.$modCount) break t; $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$2.$get(var$20)).$value0); var$20 = $var9; } } nms_SoundManager_loadSoundSettings($this.$sndManager, $this.$gameSettings); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 20) { var$2 = $this.$renderEngine; $ptr = 30; continue main; } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 33) { $var8 = nlea_EaglerAdapterImpl2_isKeyDown(42) | nlea_EaglerAdapterImpl2_isKeyDown(54); nms_GameSettings_setOptionValue($this.$gameSettings, nms_EnumOptions_RENDER_DISTANCE, !$var8 ? 1 : (-1)); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 30) nms_RenderGlobal_loadRenderers($this.$renderGlobal); } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 35) { var$2 = $this.$gameSettings; var$2.$advancedItemTooltips = var$2.$advancedItemTooltips ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 48) nms_RenderManager_field_85095_o = nms_RenderManager_field_85095_o ? 0 : 1; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 25) { var$2 = $this.$gameSettings; var$2.$pauseOnLostFocus = var$2.$pauseOnLostFocus ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 2) { var$2 = $this.$gameSettings; var$2.$hideGUI = var$2.$hideGUI ? 0 : 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 4) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showDebugInfo = var$2.$showDebugInfo ? 0 : 1; var$2.$showDebugProfilerChart = 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 6) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { $var8 = var$2.$thirdPersonView + 1 | 0; var$2.$thirdPersonView = $var8; if ($var8 > 2) var$2.$thirdPersonView = 0; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 7) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showCoordinates = var$2.$showCoordinates ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 9) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) var$2.$smoothCamera = var$2.$smoothCamera ? 0 : 1; } if (!$this.$gameSettings.$keyBindFunction.$pressed) { $var9 = 0; while (true) { if ($var9 >= 9) break y; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == (2 + $var9 | 0)) $this.$thePlayer.$inventory.$currentItem = $var9; $var9 = $var9 + 1 | 0; } } } } } } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) var$14 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) var$14 = 1; else if (!($rt_s(490) instanceof jl_String)) var$14 = 0; else { var$2 = $rt_s(490); var$14 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; ba: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break ba; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$14; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; bb: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break bb; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } if (Long_le(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$systemTime), Long_fromInt(200))) { $var10 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var10) { nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory, $var10); var$2 = $this.$gameSettings; if (var$2.$noclip) { if ($var10 > 0) $var10 = 1; if ($var10 < 0) $var10 = (-1); var$2.$noclipRate = var$2.$noclipRate + $var10 * 0.25; } } var$2 = $this.$currentScreen; if (var$2 !== null) break; if (!($this.$inGameHasFocus && (document.pointerLockElement != null ? 1 : 0))) { var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $this.$inGameHasFocus = 1; var$2 = $this.$mouseHelper; nlea_EaglerAdapterImpl2_mouseSetGrabbed(1); var$2.$deltaX = 0; var$2.$deltaY = 0; $ptr = 20; continue main; } } } } $ptr = 18; continue main; case 7: var$2.$processReadPackets(); if ($rt_suspending()) { break main; } var$2 = $this.$gameSettings; if (!(!(!var$2.$adderall && !$this.$entityRenderer.$asdfghjkl) && $this.$yeeState)) { var$3 = $this.$entityRenderer; var$3.$startup = 0; var$3.$preStartup = 0; var$2.$adderall = 0; var$3.$asdfghjkl = 0; } if ($this.$theWorld === null) { var$2 = $this.$sndManager; $ptr = 9; continue main; } var$2 = $this.$sndManager; $var8 = var$2.$titleMusic; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var8; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var9 = var$5.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var9) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { nlea_EaglerAdapterImpl2_endSound(var$2.$titleMusic); nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!0, var$2.$options.$musicVolume); } var$2.$titleMusic = (-1); var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; case 8: nms_EntityRenderer_updateRenderer(var$2); if ($rt_suspending()) { break main; } if (!$this.$isGamePaused) nms_RenderGlobal_updateClouds($this.$renderGlobal); if (!$this.$isGamePaused) { var$2 = $this.$theWorld; $var8 = var$2.$lastLightningBolt; if ($var8 > 0) var$2.$lastLightningBolt = $var8 - 1 | 0; $ptr = 10; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; var$2.$spawnHostileMobs = var$2.$difficultySetting <= 0 ? 0 : 1; var$2.$spawnPeacefulMobs = 1; $ptr = 12; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; if (var$2 !== null) { var$3 = $this.$thePlayer; var$13 = var$3.$posX; $var10 = var$13 | 0; if (var$13 < $var10) $var10 = $var10 - 1 | 0; var$13 = var$3.$posY; $var9 = var$13 | 0; if (var$13 < $var9) $var9 = $var9 - 1 | 0; var$13 = var$3.$posZ; $F3down = var$13 | 0; if (var$13 < $F3down) $F3down = $F3down - 1 | 0; $ptr = 17; continue main; } } if (!$this.$isGamePaused) { var$2 = $this.$effectRenderer; $ptr = 11; continue main; } var$2 = $this.$gameSettings; if (!(!(!var$2.$adderall && !$this.$entityRenderer.$asdfghjkl) && $this.$yeeState)) { var$3 = $this.$entityRenderer; var$3.$startup = 0; var$3.$preStartup = 0; var$2.$adderall = 0; var$3.$asdfghjkl = 0; } if ($this.$theWorld === null) { var$2 = $this.$sndManager; $ptr = 9; continue main; } var$2 = $this.$sndManager; $var8 = var$2.$titleMusic; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var8; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var9 = var$5.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var9) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { nlea_EaglerAdapterImpl2_endSound(var$2.$titleMusic); nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!0, var$2.$options.$musicVolume); } var$2.$titleMusic = (-1); var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; case 9: nms_SoundManager_playTheTitleMusic(var$2); if ($rt_suspending()) { break main; } var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; case 10: nms_World_updateEntities(var$2); if ($rt_suspending()) { break main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; var$2.$spawnHostileMobs = var$2.$difficultySetting <= 0 ? 0 : 1; var$2.$spawnPeacefulMobs = 1; $ptr = 12; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; if (var$2 !== null) { var$3 = $this.$thePlayer; var$13 = var$3.$posX; $var10 = var$13 | 0; if (var$13 < $var10) $var10 = $var10 - 1 | 0; var$13 = var$3.$posY; $var9 = var$13 | 0; if (var$13 < $var9) $var9 = $var9 - 1 | 0; var$13 = var$3.$posZ; $F3down = var$13 | 0; if (var$13 < $F3down) $F3down = $F3down - 1 | 0; $ptr = 17; continue main; } } if (!$this.$isGamePaused) { var$2 = $this.$effectRenderer; $ptr = 11; continue main; } var$2 = $this.$gameSettings; if (!(!(!var$2.$adderall && !$this.$entityRenderer.$asdfghjkl) && $this.$yeeState)) { var$3 = $this.$entityRenderer; var$3.$startup = 0; var$3.$preStartup = 0; var$2.$adderall = 0; var$3.$asdfghjkl = 0; } if ($this.$theWorld === null) { var$2 = $this.$sndManager; $ptr = 9; continue main; } var$2 = $this.$sndManager; $var8 = var$2.$titleMusic; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var8; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var9 = var$5.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var9) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { nlea_EaglerAdapterImpl2_endSound(var$2.$titleMusic); nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!0, var$2.$options.$musicVolume); } var$2.$titleMusic = (-1); var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; case 11: nms_EffectRenderer_updateEffects(var$2); if ($rt_suspending()) { break main; } var$2 = $this.$gameSettings; if (!(!(!var$2.$adderall && !$this.$entityRenderer.$asdfghjkl) && $this.$yeeState)) { var$3 = $this.$entityRenderer; var$3.$startup = 0; var$3.$preStartup = 0; var$2.$adderall = 0; var$3.$asdfghjkl = 0; } if ($this.$theWorld === null) { var$2 = $this.$sndManager; $ptr = 9; continue main; } var$2 = $this.$sndManager; $var8 = var$2.$titleMusic; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var8; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var9 = var$5.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var9) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { nlea_EaglerAdapterImpl2_endSound(var$2.$titleMusic); nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!0, var$2.$options.$musicVolume); } var$2.$titleMusic = (-1); var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; case 12: nms_WorldClient_tick(var$2); if ($rt_suspending()) { break main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; if (var$2 !== null) { var$3 = $this.$thePlayer; var$13 = var$3.$posX; $var10 = var$13 | 0; if (var$13 < $var10) $var10 = $var10 - 1 | 0; var$13 = var$3.$posY; $var9 = var$13 | 0; if (var$13 < $var9) $var9 = $var9 - 1 | 0; var$13 = var$3.$posZ; $F3down = var$13 | 0; if (var$13 < $F3down) $F3down = $F3down - 1 | 0; $ptr = 17; continue main; } } if (!$this.$isGamePaused) { var$2 = $this.$effectRenderer; $ptr = 11; continue main; } var$2 = $this.$gameSettings; if (!(!(!var$2.$adderall && !$this.$entityRenderer.$asdfghjkl) && $this.$yeeState)) { var$3 = $this.$entityRenderer; var$3.$startup = 0; var$3.$preStartup = 0; var$2.$adderall = 0; var$3.$asdfghjkl = 0; } if ($this.$theWorld === null) { var$2 = $this.$sndManager; $ptr = 9; continue main; } var$2 = $this.$sndManager; $var8 = var$2.$titleMusic; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var8; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var9 = var$5.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var9) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { nlea_EaglerAdapterImpl2_endSound(var$2.$titleMusic); nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!0, var$2.$options.$musicVolume); } var$2.$titleMusic = (-1); var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; case 13: nms_Minecraft_loadWorld0($this, var$2); if ($rt_suspending()) { break main; } var$3 = new nms_GuiConnecting; var$5 = nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()); var$4 = nms_ServerData__init_0($rt_s(491), $this.$reconnectAddress, 1); $ptr = 14; case 14: nms_GuiConnecting__init_(var$3, var$5, $this, var$4); if ($rt_suspending()) { break main; } $ptr = 15; case 15: nms_Minecraft_stopServerAndDisplayGuiScreen($this, var$3); if ($rt_suspending()) { break main; } $this.$reconnectAddress = null; nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; case 16: nms_Minecraft_displayGuiScreen($this, var$2); if ($rt_suspending()) { break main; } var$2 = $this.$gameSettings.$keyBindInventory; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down) { var$2 = new nms_GuiInventory; var$3 = $this.$thePlayer; var$5 = var$3.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen__init_(var$2); var$2.$xSize = 176; var$2.$ySize = 166; var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); var$2.$field_94077_p = var$4; var$2.$inventorySlots0 = var$5; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$3, nms_AchievementList_openInventory, 1); continue main; } while (true) { var$2 = $this.$gameSettings.$keyBindDrop; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if (!$F3down) break; var$2 = $this.$thePlayer; nms_GuiScreen_$callClinit(); var$15 = !(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1) ? 4 : 3; var$3 = var$2.$sendQueue; var$2 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$status = var$15; var$2.$xPosition0 = 0; var$2.$yPosition0 = 0; var$2.$zPosition = 0; var$2.$face = 0; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); } var$2 = $this.$gameSettings.$keyBindChat; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down && $var8) { var$2 = nms_GuiChat__init_(); $ptr = 19; continue main; } if ($this.$currentScreen === null && nlea_EaglerAdapterImpl2_isKeyDown(53) && $var8) { var$3 = new nms_GuiChat; nms_GuiScreen__init_(var$3); var$3.$field_73898_b = $rt_s(18); var$3.$sentHistoryCursor = (-1); var$3.$field_73897_d = 0; var$3.$field_73905_m = 0; var$3.$field_73903_n = 0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$field_73904_o = var$5; var$3.$clickedURI = null; var$3.$defaultInputFieldText = $rt_s(18); var$3.$defaultInputFieldText = $rt_s(192); $ptr = 21; continue main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { bx: { var$18 = var$4.$key; if (var$5 !== var$18) { by: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break by; } } $var8 = 0; } if (!$var8) { $var8 = 0; break bx; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; bz: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break bz; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break bz; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; case 17: nms_WorldClient_doVoidFogParticles(var$2, $var10, $var9, $F3down); if ($rt_suspending()) { break main; } if (!$this.$isGamePaused) { var$2 = $this.$effectRenderer; $ptr = 11; continue main; } var$2 = $this.$gameSettings; if (!(!(!var$2.$adderall && !$this.$entityRenderer.$asdfghjkl) && $this.$yeeState)) { var$3 = $this.$entityRenderer; var$3.$startup = 0; var$3.$preStartup = 0; var$2.$adderall = 0; var$3.$asdfghjkl = 0; } if ($this.$theWorld === null) { var$2 = $this.$sndManager; $ptr = 9; continue main; } var$2 = $this.$sndManager; $var8 = var$2.$titleMusic; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var8; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var9 = var$5.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var9) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { nlea_EaglerAdapterImpl2_endSound(var$2.$titleMusic); nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!0, var$2.$options.$musicVolume); } var$2.$titleMusic = (-1); var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; case 18: var$2.$handleMouseInput(); if ($rt_suspending()) { break main; } while (true) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_currentEvent = null; var$2 = nlea_EaglerAdapterImpl2_mouseEvents; $var8 = var$2.$size2 ? 0 : 1; bA: { if (!$var8) { var$2 = ju_LinkedList_listIterator(var$2, 0); var$5 = ju_LinkedList$SequentialListIterator_next(var$2); ju_LinkedList$SequentialListIterator_remove(var$2); otji_JSWrapper_$callClinit(); var$2 = var$5 === null ? null : var$5[$rt_jso_marker] === true ? var$5 : var$5.$js; nlea_EaglerAdapterImpl2_currentEvent = var$2; if (var$2 !== null) { $var8 = 1; break bA; } } $var8 = 0; } if (!$var8) { $var8 = $this.$leftClickCounter; if ($var8 > 0) $this.$leftClickCounter = $var8 - 1 | 0; $var10 = 0; var$14 = 0; var$5 = $rt_s(487); var$4 = $rt_s(469); bB: while (true) { if (!nlea_EaglerAdapterImpl2_keysNext()) { $var8 = $this.$gameSettings.$chatVisibility == 2 ? 0 : 1; var$2 = $this.$gameSettings.$keyBindInventory; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down) { var$2 = new nms_GuiInventory; var$3 = $this.$thePlayer; var$5 = var$3.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen__init_(var$2); var$2.$xSize = 176; var$2.$ySize = 166; var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); var$2.$field_94077_p = var$4; var$2.$inventorySlots0 = var$5; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$3, nms_AchievementList_openInventory, 1); $ptr = 16; continue main; } while (true) { var$2 = $this.$gameSettings.$keyBindDrop; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if (!$F3down) break; var$2 = $this.$thePlayer; nms_GuiScreen_$callClinit(); var$15 = !(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1) ? 4 : 3; var$3 = var$2.$sendQueue; var$2 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$status = var$15; var$2.$xPosition0 = 0; var$2.$yPosition0 = 0; var$2.$zPosition = 0; var$2.$face = 0; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); } var$2 = $this.$gameSettings.$keyBindChat; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down && $var8) { var$2 = nms_GuiChat__init_(); $ptr = 19; continue main; } if ($this.$currentScreen === null && nlea_EaglerAdapterImpl2_isKeyDown(53) && $var8) { var$3 = new nms_GuiChat; nms_GuiScreen__init_(var$3); var$3.$field_73898_b = $rt_s(18); var$3.$sentHistoryCursor = (-1); var$3.$field_73897_d = 0; var$3.$field_73905_m = 0; var$3.$field_73903_n = 0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$field_73904_o = var$5; var$3.$clickedURI = null; var$3.$defaultInputFieldText = $rt_s(18); var$3.$defaultInputFieldText = $rt_s(192); $ptr = 21; continue main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { bC: { var$18 = var$4.$key; if (var$5 !== var$18) { bD: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break bD; } } $var8 = 0; } if (!$var8) { $var8 = 0; break bC; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; bE: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break bE; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break bE; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$19 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$19 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } var$15 = $var8 ? 0 : 1; } else var$15 = 0; var$2 = nms_KeyBinding_hash; $var8 = var$19 ^ (var$19 >>> 20 | 0) ^ (var$19 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; bF: { while (var$2 !== null) { if (var$2.$hashEntry == var$19) { var$2 = var$2.$valueEntry; break bF; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$15; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 !== $rt_s(488)) { if ($rt_s(488) instanceof jl_String) { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } else $var8 = 0; } else $var8 = 1; $var8 = $var8 ? 0 : 1; } if ($var8) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else var$15 = (-1); var$2 = nms_KeyBinding_hash; $var8 = var$15 ^ (var$15 >>> 20 | 0) ^ (var$15 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; bG: { while (var$2 !== null) { if (var$2.$hashEntry == var$15) { var$2 = var$2.$valueEntry; break bG; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } $F3down = $this.$gameSettings.$keyBindFunction.$pressed && nlea_EaglerAdapterImpl2_isKeyDown(4) ? 1 : 0; if (Long_gt($this.$field_83002_am, Long_ZERO)) { if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$field_83002_am), Long_fromInt(6000))) { var$2 = new jl_RuntimeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(489); $rt_throw(var$2); } if (!(nlea_EaglerAdapterImpl2_isKeyDown(46) && $F3down)) $this.$field_83002_am = Long_fromInt(-1); } else if ($F3down && nlea_EaglerAdapterImpl2_isKeyDown(46)) $this.$field_83002_am = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } $var8 = $var8 ? 0 : 1; } bH: { if ($var8) { bI: { $var8 = $this.$isGonnaTakeDatScreenShot; if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = (-1); else { $var9 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var9 <= var$6.length && $var9 >= 0 ? var$6[$var9] : (-1); } if (var$15 == 3) { $var9 = 1; break bI; } } $var9 = 0; } $this.$isGonnaTakeDatScreenShot = $var8 | $var9; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 != 87) { var$2 = $this.$currentScreen; if (var$2 !== null) { $ptr = 26; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 1 && $this.$currentScreen === null) { var$2 = nms_GuiIngameMenu__init_(); $ptr = 29; continue main; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 31) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr($rt_ustr(var$5)); $rt_putStderr($rt_ustr(var$4)); var$2 = $this.$sndManager; if (var$2 !== null) { var$3 = var$2.$soundevents; var$15 = var$3.$modCount; var$19 = var$3.$size(); var$20 = $var10; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$3.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$3.$get(var$20)).$id3); var$20 = $var9; } var$2 = var$2.$activerecords; var$15 = var$2.$modCount; var$19 = var$2.$size(); var$20 = var$14; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$2.$modCount) break bB; $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$2.$get(var$20)).$value0); var$20 = $var9; } } nms_SoundManager_loadSoundSettings($this.$sndManager, $this.$gameSettings); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 20) { var$2 = $this.$renderEngine; $ptr = 30; continue main; } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 33) { $var8 = nlea_EaglerAdapterImpl2_isKeyDown(42) | nlea_EaglerAdapterImpl2_isKeyDown(54); nms_GameSettings_setOptionValue($this.$gameSettings, nms_EnumOptions_RENDER_DISTANCE, !$var8 ? 1 : (-1)); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 30) nms_RenderGlobal_loadRenderers($this.$renderGlobal); } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 35) { var$2 = $this.$gameSettings; var$2.$advancedItemTooltips = var$2.$advancedItemTooltips ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 48) nms_RenderManager_field_85095_o = nms_RenderManager_field_85095_o ? 0 : 1; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 25) { var$2 = $this.$gameSettings; var$2.$pauseOnLostFocus = var$2.$pauseOnLostFocus ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 2) { var$2 = $this.$gameSettings; var$2.$hideGUI = var$2.$hideGUI ? 0 : 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 4) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showDebugInfo = var$2.$showDebugInfo ? 0 : 1; var$2.$showDebugProfilerChart = 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 6) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { $var8 = var$2.$thirdPersonView + 1 | 0; var$2.$thirdPersonView = $var8; if ($var8 > 2) var$2.$thirdPersonView = 0; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 7) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showCoordinates = var$2.$showCoordinates ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 9) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) var$2.$smoothCamera = var$2.$smoothCamera ? 0 : 1; } if (!$this.$gameSettings.$keyBindFunction.$pressed) { $var9 = 0; while (true) { if ($var9 >= 9) break bH; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == (2 + $var9 | 0)) $this.$thePlayer.$inventory.$currentItem = $var9; $var9 = $var9 + 1 | 0; } } } } } } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) var$14 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) var$14 = 1; else if (!($rt_s(490) instanceof jl_String)) var$14 = 0; else { var$2 = $rt_s(490); var$14 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; bJ: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break bJ; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$14; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; bK: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break bK; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } if (Long_gt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$systemTime), Long_fromInt(200))) continue; $var10 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var10) { nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory, $var10); var$2 = $this.$gameSettings; if (var$2.$noclip) { if ($var10 > 0) $var10 = 1; if ($var10 < 0) $var10 = (-1); var$2.$noclipRate = var$2.$noclipRate + $var10 * 0.25; } } var$2 = $this.$currentScreen; if (var$2 !== null) break; if ($this.$inGameHasFocus && (document.pointerLockElement != null ? 1 : 0)) continue; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if (!$var8) continue; else { $this.$inGameHasFocus = 1; var$2 = $this.$mouseHelper; nlea_EaglerAdapterImpl2_mouseSetGrabbed(1); var$2.$deltaX = 0; var$2.$deltaY = 0; $ptr = 20; continue main; } } continue main; case 19: nms_Minecraft_displayGuiScreen($this, var$2); if ($rt_suspending()) { break main; } var$2 = $this.$gameSettings.$keyBindChat; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down && $var8) { var$2 = nms_GuiChat__init_(); continue main; } if ($this.$currentScreen === null && nlea_EaglerAdapterImpl2_isKeyDown(53) && $var8) { var$3 = new nms_GuiChat; nms_GuiScreen__init_(var$3); var$3.$field_73898_b = $rt_s(18); var$3.$sentHistoryCursor = (-1); var$3.$field_73897_d = 0; var$3.$field_73905_m = 0; var$3.$field_73903_n = 0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$field_73904_o = var$5; var$3.$clickedURI = null; var$3.$defaultInputFieldText = $rt_s(18); var$3.$defaultInputFieldText = $rt_s(192); $ptr = 21; continue main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { bL: { var$18 = var$4.$key; if (var$5 !== var$18) { bM: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break bM; } } $var8 = 0; } if (!$var8) { $var8 = 0; break bL; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; bN: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break bN; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break bN; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; case 20: nms_Minecraft_displayGuiScreen($this, var$3); if ($rt_suspending()) { break main; } $this.$leftClickCounter = 10000; while (true) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_currentEvent = null; var$2 = nlea_EaglerAdapterImpl2_mouseEvents; $var8 = var$2.$size2 ? 0 : 1; bA: { if (!$var8) { var$2 = ju_LinkedList_listIterator(var$2, 0); var$5 = ju_LinkedList$SequentialListIterator_next(var$2); ju_LinkedList$SequentialListIterator_remove(var$2); otji_JSWrapper_$callClinit(); var$2 = var$5 === null ? null : var$5[$rt_jso_marker] === true ? var$5 : var$5.$js; nlea_EaglerAdapterImpl2_currentEvent = var$2; if (var$2 !== null) { $var8 = 1; break bA; } } $var8 = 0; } if (!$var8) { $var8 = $this.$leftClickCounter; if ($var8 > 0) $this.$leftClickCounter = $var8 - 1 | 0; $var10 = 0; var$14 = 0; var$5 = $rt_s(487); var$4 = $rt_s(469); bB: while (true) { if (!nlea_EaglerAdapterImpl2_keysNext()) { $var8 = $this.$gameSettings.$chatVisibility == 2 ? 0 : 1; var$2 = $this.$gameSettings.$keyBindInventory; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down) { var$2 = new nms_GuiInventory; var$3 = $this.$thePlayer; var$5 = var$3.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen__init_(var$2); var$2.$xSize = 176; var$2.$ySize = 166; var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); var$2.$field_94077_p = var$4; var$2.$inventorySlots0 = var$5; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$3, nms_AchievementList_openInventory, 1); $ptr = 16; continue main; } while (true) { var$2 = $this.$gameSettings.$keyBindDrop; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if (!$F3down) break; var$2 = $this.$thePlayer; nms_GuiScreen_$callClinit(); var$15 = !(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1) ? 4 : 3; var$3 = var$2.$sendQueue; var$2 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$status = var$15; var$2.$xPosition0 = 0; var$2.$yPosition0 = 0; var$2.$zPosition = 0; var$2.$face = 0; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); } var$2 = $this.$gameSettings.$keyBindChat; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down && $var8) { var$2 = nms_GuiChat__init_(); $ptr = 19; continue main; } if ($this.$currentScreen === null && nlea_EaglerAdapterImpl2_isKeyDown(53) && $var8) { var$3 = new nms_GuiChat; nms_GuiScreen__init_(var$3); var$3.$field_73898_b = $rt_s(18); var$3.$sentHistoryCursor = (-1); var$3.$field_73897_d = 0; var$3.$field_73905_m = 0; var$3.$field_73903_n = 0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$field_73904_o = var$5; var$3.$clickedURI = null; var$3.$defaultInputFieldText = $rt_s(18); var$3.$defaultInputFieldText = $rt_s(192); $ptr = 21; continue main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { bC: { var$18 = var$4.$key; if (var$5 !== var$18) { bD: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break bD; } } $var8 = 0; } if (!$var8) { $var8 = 0; break bC; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; bE: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break bE; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break bE; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$19 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$19 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } var$15 = $var8 ? 0 : 1; } else var$15 = 0; var$2 = nms_KeyBinding_hash; $var8 = var$19 ^ (var$19 >>> 20 | 0) ^ (var$19 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; bF: { while (var$2 !== null) { if (var$2.$hashEntry == var$19) { var$2 = var$2.$valueEntry; break bF; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$15; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 !== $rt_s(488)) { if ($rt_s(488) instanceof jl_String) { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } else $var8 = 0; } else $var8 = 1; $var8 = $var8 ? 0 : 1; } if ($var8) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else var$15 = (-1); var$2 = nms_KeyBinding_hash; $var8 = var$15 ^ (var$15 >>> 20 | 0) ^ (var$15 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; bG: { while (var$2 !== null) { if (var$2.$hashEntry == var$15) { var$2 = var$2.$valueEntry; break bG; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } $F3down = $this.$gameSettings.$keyBindFunction.$pressed && nlea_EaglerAdapterImpl2_isKeyDown(4) ? 1 : 0; if (Long_gt($this.$field_83002_am, Long_ZERO)) { if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$field_83002_am), Long_fromInt(6000))) { var$2 = new jl_RuntimeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(489); $rt_throw(var$2); } if (!(nlea_EaglerAdapterImpl2_isKeyDown(46) && $F3down)) $this.$field_83002_am = Long_fromInt(-1); } else if ($F3down && nlea_EaglerAdapterImpl2_isKeyDown(46)) $this.$field_83002_am = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } $var8 = $var8 ? 0 : 1; } bH: { if ($var8) { bI: { $var8 = $this.$isGonnaTakeDatScreenShot; if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = (-1); else { $var9 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var9 <= var$6.length && $var9 >= 0 ? var$6[$var9] : (-1); } if (var$15 == 3) { $var9 = 1; break bI; } } $var9 = 0; } $this.$isGonnaTakeDatScreenShot = $var8 | $var9; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 != 87) { var$2 = $this.$currentScreen; if (var$2 !== null) { $ptr = 26; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 1 && $this.$currentScreen === null) { var$2 = nms_GuiIngameMenu__init_(); $ptr = 29; continue main; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 31) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr($rt_ustr(var$5)); $rt_putStderr($rt_ustr(var$4)); var$2 = $this.$sndManager; if (var$2 !== null) { var$3 = var$2.$soundevents; var$15 = var$3.$modCount; var$19 = var$3.$size(); var$20 = $var10; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$3.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$3.$get(var$20)).$id3); var$20 = $var9; } var$2 = var$2.$activerecords; var$15 = var$2.$modCount; var$19 = var$2.$size(); var$20 = var$14; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$2.$modCount) break bB; $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$2.$get(var$20)).$value0); var$20 = $var9; } } nms_SoundManager_loadSoundSettings($this.$sndManager, $this.$gameSettings); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 20) { var$2 = $this.$renderEngine; $ptr = 30; continue main; } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 33) { $var8 = nlea_EaglerAdapterImpl2_isKeyDown(42) | nlea_EaglerAdapterImpl2_isKeyDown(54); nms_GameSettings_setOptionValue($this.$gameSettings, nms_EnumOptions_RENDER_DISTANCE, !$var8 ? 1 : (-1)); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 30) nms_RenderGlobal_loadRenderers($this.$renderGlobal); } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 35) { var$2 = $this.$gameSettings; var$2.$advancedItemTooltips = var$2.$advancedItemTooltips ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 48) nms_RenderManager_field_85095_o = nms_RenderManager_field_85095_o ? 0 : 1; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 25) { var$2 = $this.$gameSettings; var$2.$pauseOnLostFocus = var$2.$pauseOnLostFocus ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 2) { var$2 = $this.$gameSettings; var$2.$hideGUI = var$2.$hideGUI ? 0 : 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 4) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showDebugInfo = var$2.$showDebugInfo ? 0 : 1; var$2.$showDebugProfilerChart = 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 6) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { $var8 = var$2.$thirdPersonView + 1 | 0; var$2.$thirdPersonView = $var8; if ($var8 > 2) var$2.$thirdPersonView = 0; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 7) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showCoordinates = var$2.$showCoordinates ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 9) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) var$2.$smoothCamera = var$2.$smoothCamera ? 0 : 1; } if (!$this.$gameSettings.$keyBindFunction.$pressed) { $var9 = 0; while (true) { if ($var9 >= 9) break bH; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == (2 + $var9 | 0)) $this.$thePlayer.$inventory.$currentItem = $var9; $var9 = $var9 + 1 | 0; } } } } } } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) var$14 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) var$14 = 1; else if (!($rt_s(490) instanceof jl_String)) var$14 = 0; else { var$2 = $rt_s(490); var$14 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; bJ: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break bJ; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$14; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if ($var8) { $var8 = nlea_EaglerAdapterImpl2_mouseGetEventButton() - 100 | 0; var$2 = nms_KeyBinding_hash; $F3down = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var10 = $F3down ^ ($F3down >>> 7 | 0) ^ ($F3down >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var10 & (var$6.length - 1 | 0)]; bK: { while (var$2 !== null) { if (var$2.$hashEntry == $var8) { var$2 = var$2.$valueEntry; break bK; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } if (Long_gt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$systemTime), Long_fromInt(200))) continue; $var10 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var10) { nms_InventoryPlayer_changeCurrentItem($this.$thePlayer.$inventory, $var10); var$2 = $this.$gameSettings; if (var$2.$noclip) { if ($var10 > 0) $var10 = 1; if ($var10 < 0) $var10 = (-1); var$2.$noclipRate = var$2.$noclipRate + $var10 * 0.25; } } var$2 = $this.$currentScreen; if (var$2 !== null) break; if ($this.$inGameHasFocus && (document.pointerLockElement != null ? 1 : 0)) continue; var$2 = nlea_EaglerAdapterImpl2_currentEvent; if (var$2 === null) $var8 = 0; else { var$5 = $rt_str(var$2.type); if (var$5 === $rt_s(490)) $var8 = 1; else if (!($rt_s(490) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(490); $var8 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } } if (!$var8) continue; else { $this.$inGameHasFocus = 1; var$2 = $this.$mouseHelper; nlea_EaglerAdapterImpl2_mouseSetGrabbed(1); var$2.$deltaX = 0; var$2.$deltaY = 0; continue main; } } $ptr = 18; continue main; case 21: nms_Minecraft_displayGuiScreen($this, var$3); if ($rt_suspending()) { break main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { bd: { var$18 = var$4.$key; if (var$5 !== var$18) { bO: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break bO; } } $var8 = 0; } if (!$var8) { $var8 = 0; break bd; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; bv: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break bv; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break bv; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; case 22: nms_Minecraft_clickMouse($this, $var8); if ($rt_suspending()) { break main; } var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) { $ptr = 25; continue main; } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; case 23: nms_Minecraft_clickMouse($this, $var8); if ($rt_suspending()) { break main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) { $ptr = 25; continue main; } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; case 24: var$4.$onPlayerStoppedUsing(var$3, var$5, var$2, $var8); if ($rt_suspending()) { break main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; case 25: nms_Minecraft_clickMiddleMouseButton($this); if ($rt_suspending()) { break main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) { continue main; } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; case 26: nms_GuiScreen_handleKeyboardInput(var$2); if ($rt_suspending()) { break main; } bP: while (true) { b: { if (!$this.$gameSettings.$keyBindFunction.$pressed) { $var9 = 0; while (true) { if ($var9 >= 9) break b; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == (2 + $var9 | 0)) $this.$thePlayer.$inventory.$currentItem = $var9; $var9 = $var9 + 1 | 0; } } } while (true) { if (!nlea_EaglerAdapterImpl2_keysNext()) { $var8 = $this.$gameSettings.$chatVisibility == 2 ? 0 : 1; var$2 = $this.$gameSettings.$keyBindInventory; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down) { var$2 = new nms_GuiInventory; var$3 = $this.$thePlayer; var$5 = var$3.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen__init_(var$2); var$2.$xSize = 176; var$2.$ySize = 166; var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); var$2.$field_94077_p = var$4; var$2.$inventorySlots0 = var$5; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$3, nms_AchievementList_openInventory, 1); $ptr = 16; continue main; } while (true) { var$2 = $this.$gameSettings.$keyBindDrop; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if (!$F3down) break; var$2 = $this.$thePlayer; nms_GuiScreen_$callClinit(); var$15 = !(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1) ? 4 : 3; var$3 = var$2.$sendQueue; var$2 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$status = var$15; var$2.$xPosition0 = 0; var$2.$yPosition0 = 0; var$2.$zPosition = 0; var$2.$face = 0; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); } var$2 = $this.$gameSettings.$keyBindChat; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down && $var8) { var$2 = nms_GuiChat__init_(); $ptr = 19; continue main; } if ($this.$currentScreen === null && nlea_EaglerAdapterImpl2_isKeyDown(53) && $var8) { var$3 = new nms_GuiChat; nms_GuiScreen__init_(var$3); var$3.$field_73898_b = $rt_s(18); var$3.$sentHistoryCursor = (-1); var$3.$field_73897_d = 0; var$3.$field_73905_m = 0; var$3.$field_73903_n = 0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$field_73904_o = var$5; var$3.$clickedURI = null; var$3.$defaultInputFieldText = $rt_s(18); var$3.$defaultInputFieldText = $rt_s(192); $ptr = 21; continue main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { bQ: { var$18 = var$4.$key; if (var$5 !== var$18) { bR: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break bR; } } $var8 = 0; } if (!$var8) { $var8 = 0; break bQ; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; bS: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break bS; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break bS; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$19 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else var$19 = (-1); var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { var$3 = $rt_str(var$2.type); if (var$3 !== $rt_s(488)) { if ($rt_s(488) instanceof jl_String) { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } else $var8 = 0; } else $var8 = 1; var$15 = $var8 ? 0 : 1; } else var$15 = 0; var$2 = nms_KeyBinding_hash; $var8 = var$19 ^ (var$19 >>> 20 | 0) ^ (var$19 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; by: { while (var$2 !== null) { if (var$2.$hashEntry == var$19) { var$2 = var$2.$valueEntry; break by; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$15; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { var$3 = $rt_str(var$2.type); if (var$3 !== $rt_s(488)) { if ($rt_s(488) instanceof jl_String) { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } else $var8 = 0; } else $var8 = 1; $var8 = $var8 ? 0 : 1; } else $var8 = 0; if ($var8) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else var$15 = (-1); var$2 = nms_KeyBinding_hash; $var8 = var$15 ^ (var$15 >>> 20 | 0) ^ (var$15 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; bT: { while (var$2 !== null) { if (var$2.$hashEntry == var$15) { var$2 = var$2.$valueEntry; break bT; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } $F3down = $this.$gameSettings.$keyBindFunction.$pressed && nlea_EaglerAdapterImpl2_isKeyDown(4) ? 1 : 0; if (Long_gt($this.$field_83002_am, Long_ZERO)) { if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$field_83002_am), Long_fromInt(6000))) { var$2 = new jl_RuntimeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(489); $rt_throw(var$2); } if (!(nlea_EaglerAdapterImpl2_isKeyDown(46) && $F3down)) $this.$field_83002_am = Long_fromInt(-1); } else if ($F3down && nlea_EaglerAdapterImpl2_isKeyDown(46)) $this.$field_83002_am = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } $var8 = $var8 ? 0 : 1; } if (!$var8) continue; bU: { $var8 = $this.$isGonnaTakeDatScreenShot; if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = (-1); else { $var9 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var9 <= var$6.length && $var9 >= 0 ? var$6[$var9] : (-1); } if (var$15 == 3) { $var9 = 1; break bU; } } $var9 = 0; } $this.$isGonnaTakeDatScreenShot = $var8 | $var9; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 != 87) break; } var$2 = $this.$currentScreen; if (var$2 !== null) { continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 1 && $this.$currentScreen === null) { var$2 = nms_GuiIngameMenu__init_(); $ptr = 29; continue main; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 31) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr($rt_ustr(var$5)); $rt_putStderr($rt_ustr(var$4)); var$2 = $this.$sndManager; if (var$2 !== null) { var$3 = var$2.$soundevents; var$15 = var$3.$modCount; var$19 = var$3.$size(); var$20 = $var10; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$3.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$3.$get(var$20)).$id3); var$20 = $var9; } var$2 = var$2.$activerecords; var$15 = var$2.$modCount; var$19 = var$2.$size(); var$20 = var$14; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$2.$modCount) break bP; $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$2.$get(var$20)).$value0); var$20 = $var9; } } nms_SoundManager_loadSoundSettings($this.$sndManager, $this.$gameSettings); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 20) { var$2 = $this.$renderEngine; $ptr = 30; continue main; } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 33) { $var8 = nlea_EaglerAdapterImpl2_isKeyDown(42) | nlea_EaglerAdapterImpl2_isKeyDown(54); nms_GameSettings_setOptionValue($this.$gameSettings, nms_EnumOptions_RENDER_DISTANCE, !$var8 ? 1 : (-1)); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 30) nms_RenderGlobal_loadRenderers($this.$renderGlobal); } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 35) { var$2 = $this.$gameSettings; var$2.$advancedItemTooltips = var$2.$advancedItemTooltips ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 48) nms_RenderManager_field_85095_o = nms_RenderManager_field_85095_o ? 0 : 1; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 25) { var$2 = $this.$gameSettings; var$2.$pauseOnLostFocus = var$2.$pauseOnLostFocus ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 2) { var$2 = $this.$gameSettings; var$2.$hideGUI = var$2.$hideGUI ? 0 : 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 4) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showDebugInfo = var$2.$showDebugInfo ? 0 : 1; var$2.$showDebugProfilerChart = 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 6) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { $var8 = var$2.$thirdPersonView + 1 | 0; var$2.$thirdPersonView = $var8; if ($var8 > 2) var$2.$thirdPersonView = 0; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 7) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showCoordinates = var$2.$showCoordinates ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down != 9) continue; var$2 = $this.$gameSettings; if (!var$2.$keyBindFunction.$pressed) continue; var$2.$smoothCamera = var$2.$smoothCamera ? 0 : 1; } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); case 27: nms_Minecraft_sendClickBlockToController($this, $var8, $F3down); if ($rt_suspending()) { break main; } bV: { var$2 = $this.$theWorld; if (var$2 === null) { var$2 = $this.$myNetworkManager; if (var$2 === null) { var$2 = $this.$entityRenderer; var$2.$startup = 0; var$2.$preStartup = 0; var$2.$asdfghjkl = 0; break bV; } $ptr = 7; continue main; } var$3 = $this.$thePlayer; if (var$3 !== null) { $var8 = $this.$joinPlayerCounter + 1 | 0; $this.$joinPlayerCounter = $var8; if ($var8 == 30) { $this.$joinPlayerCounter = 0; nms_World_joinEntityInSurroundings(var$2, var$3); } $var8 = $this.$messageOnLoginCounter + 1 | 0; $this.$messageOnLoginCounter = $var8; if ($var8 == 100 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_GREEN; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(483)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } if ($this.$messageOnLoginCounter == 150 && nle_IntegratedServer_isWorldRunning()) { nms_EnumChatFormatting_$callClinit(); var$2 = nms_EnumChatFormatting_AQUA; var$3 = var$2 === null ? $rt_s(1) : var$2.$field_96304_B; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var8 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $var8, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(484)); var$5 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); if ($this.$thePlayer !== null) { var$2 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2) !== null ? 0 : 1) { var$3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$3, var$5, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$2, var$2.$length0, var$5); var$3 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; $F3down = var$2.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } if (!$this.$isGamePaused) { var$2 = $this.$entityRenderer; $ptr = 8; continue main; } if (!$this.$isGamePaused) nms_RenderGlobal_updateClouds($this.$renderGlobal); if (!$this.$isGamePaused) { var$2 = $this.$theWorld; $var8 = var$2.$lastLightningBolt; if ($var8 > 0) var$2.$lastLightningBolt = $var8 - 1 | 0; $ptr = 10; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; var$2.$spawnHostileMobs = var$2.$difficultySetting <= 0 ? 0 : 1; var$2.$spawnPeacefulMobs = 1; $ptr = 12; continue main; } if (!$this.$isGamePaused) { var$2 = $this.$theWorld; if (var$2 !== null) { var$3 = $this.$thePlayer; var$13 = var$3.$posX; $var10 = var$13 | 0; if (var$13 < $var10) $var10 = $var10 - 1 | 0; var$13 = var$3.$posY; $var9 = var$13 | 0; if (var$13 < $var9) $var9 = $var9 - 1 | 0; var$13 = var$3.$posZ; $F3down = var$13 | 0; if (var$13 < $F3down) $F3down = $F3down - 1 | 0; $ptr = 17; continue main; } } if (!$this.$isGamePaused) { var$2 = $this.$effectRenderer; $ptr = 11; continue main; } } var$2 = $this.$gameSettings; if (!(!(!var$2.$adderall && !$this.$entityRenderer.$asdfghjkl) && $this.$yeeState)) { var$3 = $this.$entityRenderer; var$3.$startup = 0; var$3.$preStartup = 0; var$2.$adderall = 0; var$3.$asdfghjkl = 0; } if ($this.$theWorld === null) { var$2 = $this.$sndManager; $ptr = 9; continue main; } var$2 = $this.$sndManager; $var8 = var$2.$titleMusic; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var8; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var9 = var$5.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var9) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { nlea_EaglerAdapterImpl2_endSound(var$2.$titleMusic); nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!0, var$2.$options.$musicVolume); } var$2.$titleMusic = (-1); var$2 = $this.$reconnectAddress; if (var$2 !== null) { if ($this.$theWorld !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(485)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; $F3down = var$3.$length0; $var9 = var$7.length; if ($F3down >= 0 && $F3down <= ($var9 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, $F3down); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); var$5 = $this.$theWorld.$sendQueue0; var$2 = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$reason = $rt_s(486); if (!var$5.$disconnected) { var$5.$netManager.$addToSendQueue(var$2); var$5.$netManager.$serverShutdown(); } var$2 = null; $ptr = 13; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$reconnectAddress = null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$systemTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return; case 28: nms_Minecraft_clickMouse($this, $var8); if ($rt_suspending()) { break main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; case 29: nms_Minecraft_displayGuiScreen($this, var$2); if ($rt_suspending()) { break main; } if (nle_IntegratedServer_isWorldRunning() && !($this.$integratedServerIsRunning && $this.$theIntegratedServer !== null ? 1 : 0) && !nle_IntegratedServer_isPaused) { nle_IntegratedServer_statusState = 11; var$2 = new nlesi_IPCPacket0BPause; var$2.$pause = 0; nle_IntegratedServer_sendIPCPacket(var$2); } c: while (true) { while (true) { if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 31) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr($rt_ustr(var$5)); $rt_putStderr($rt_ustr(var$4)); var$2 = $this.$sndManager; if (var$2 !== null) { var$3 = var$2.$soundevents; var$15 = var$3.$modCount; var$19 = var$3.$size(); var$20 = $var10; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$3.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$3.$get(var$20)).$id3); var$20 = $var9; } var$2 = var$2.$activerecords; var$15 = var$2.$modCount; var$19 = var$2.$size(); var$20 = var$14; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$2.$modCount) break c; $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$2.$get(var$20)).$value0); var$20 = $var9; } } nms_SoundManager_loadSoundSettings($this.$sndManager, $this.$gameSettings); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 20) { var$2 = $this.$renderEngine; $ptr = 30; continue main; } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 33) { $var8 = nlea_EaglerAdapterImpl2_isKeyDown(42) | nlea_EaglerAdapterImpl2_isKeyDown(54); nms_GameSettings_setOptionValue($this.$gameSettings, nms_EnumOptions_RENDER_DISTANCE, !$var8 ? 1 : (-1)); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 30) nms_RenderGlobal_loadRenderers($this.$renderGlobal); } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 35) { var$2 = $this.$gameSettings; var$2.$advancedItemTooltips = var$2.$advancedItemTooltips ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 48) nms_RenderManager_field_85095_o = nms_RenderManager_field_85095_o ? 0 : 1; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 25) { var$2 = $this.$gameSettings; var$2.$pauseOnLostFocus = var$2.$pauseOnLostFocus ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $F3down = (-1); if ($F3down == 2) { var$2 = $this.$gameSettings; var$2.$hideGUI = var$2.$hideGUI ? 0 : 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 4) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showDebugInfo = var$2.$showDebugInfo ? 0 : 1; var$2.$showDebugProfilerChart = 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $F3down = (-1); if ($F3down == 6) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { $var8 = var$2.$thirdPersonView + 1 | 0; var$2.$thirdPersonView = $var8; if ($var8 > 2) var$2.$thirdPersonView = 0; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $F3down = (-1); if ($F3down == 7) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showCoordinates = var$2.$showCoordinates ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 9) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) var$2.$smoothCamera = var$2.$smoothCamera ? 0 : 1; } bW: { if (!$this.$gameSettings.$keyBindFunction.$pressed) { $var9 = 0; while (true) { if ($var9 >= 9) break bW; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == (2 + $var9 | 0)) $this.$thePlayer.$inventory.$currentItem = $var9; $var9 = $var9 + 1 | 0; } } } while (true) { if (!nlea_EaglerAdapterImpl2_keysNext()) { $var8 = $this.$gameSettings.$chatVisibility == 2 ? 0 : 1; var$2 = $this.$gameSettings.$keyBindInventory; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down) { var$2 = new nms_GuiInventory; var$3 = $this.$thePlayer; var$5 = var$3.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen__init_(var$2); var$2.$xSize = 176; var$2.$ySize = 166; var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); var$2.$field_94077_p = var$4; var$2.$inventorySlots0 = var$5; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$3, nms_AchievementList_openInventory, 1); $ptr = 16; continue main; } while (true) { var$2 = $this.$gameSettings.$keyBindDrop; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if (!$F3down) break; var$2 = $this.$thePlayer; nms_GuiScreen_$callClinit(); var$15 = !(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1) ? 4 : 3; var$3 = var$2.$sendQueue; var$2 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$status = var$15; var$2.$xPosition0 = 0; var$2.$yPosition0 = 0; var$2.$zPosition = 0; var$2.$face = 0; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); } var$2 = $this.$gameSettings.$keyBindChat; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down && $var8) { var$2 = nms_GuiChat__init_(); $ptr = 19; continue main; } if ($this.$currentScreen === null && nlea_EaglerAdapterImpl2_isKeyDown(53) && $var8) { var$3 = new nms_GuiChat; nms_GuiScreen__init_(var$3); var$3.$field_73898_b = $rt_s(18); var$3.$sentHistoryCursor = (-1); var$3.$field_73897_d = 0; var$3.$field_73905_m = 0; var$3.$field_73903_n = 0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$field_73904_o = var$5; var$3.$clickedURI = null; var$3.$defaultInputFieldText = $rt_s(18); var$3.$defaultInputFieldText = $rt_s(192); $ptr = 21; continue main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { bR: { var$18 = var$4.$key; if (var$5 !== var$18) { bX: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break bX; } } $var8 = 0; } if (!$var8) { $var8 = 0; break bR; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; bY: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break bY; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break bY; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$19 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$19 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } var$15 = $var8 ? 0 : 1; } var$2 = nms_KeyBinding_hash; $var8 = var$19 ^ (var$19 >>> 20 | 0) ^ (var$19 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; bZ: { while (var$2 !== null) { if (var$2.$hashEntry == var$19) { var$2 = var$2.$valueEntry; break bZ; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$15; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } $var8 = $var8 ? 0 : 1; } if ($var8) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } var$2 = nms_KeyBinding_hash; $var8 = var$15 ^ (var$15 >>> 20 | 0) ^ (var$15 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; b0: { while (var$2 !== null) { if (var$2.$hashEntry == var$15) { var$2 = var$2.$valueEntry; break b0; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } $F3down = $this.$gameSettings.$keyBindFunction.$pressed && nlea_EaglerAdapterImpl2_isKeyDown(4) ? 1 : 0; if (Long_gt($this.$field_83002_am, Long_ZERO)) { if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$field_83002_am), Long_fromInt(6000))) { var$2 = new jl_RuntimeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(489); $rt_throw(var$2); } if (!(nlea_EaglerAdapterImpl2_isKeyDown(46) && $F3down)) $this.$field_83002_am = Long_fromInt(-1); } else if ($F3down && nlea_EaglerAdapterImpl2_isKeyDown(46)) $this.$field_83002_am = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } $var8 = $var8 ? 0 : 1; } if (!$var8) continue; b1: { $var8 = $this.$isGonnaTakeDatScreenShot; if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = (-1); else { $var9 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var9 <= var$6.length && $var9 >= 0 ? var$6[$var9] : (-1); } if (var$15 == 3) { $var9 = 1; break b1; } } $var9 = 0; } $this.$isGonnaTakeDatScreenShot = $var8 | $var9; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 != 87) break; } var$2 = $this.$currentScreen; if (var$2 !== null) { $ptr = 26; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 != 1) continue; else break; } if ($this.$currentScreen !== null) continue; else { var$2 = nms_GuiIngameMenu__init_(); continue main; } } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); case 30: nms_RenderEngine_refreshTextures(var$2); if ($rt_suspending()) { break main; } nms_RenderGlobal_loadRenderers($this.$renderGlobal); nleg_FixedFunctionShader_refreshCoreGL(); bP: while (true) { if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $var9 = (-1); if ($var9 == 33) { $var8 = nlea_EaglerAdapterImpl2_isKeyDown(42) | nlea_EaglerAdapterImpl2_isKeyDown(54); nms_GameSettings_setOptionValue($this.$gameSettings, nms_EnumOptions_RENDER_DISTANCE, !$var8 ? 1 : (-1)); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 30) nms_RenderGlobal_loadRenderers($this.$renderGlobal); } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 35) { var$2 = $this.$gameSettings; var$2.$advancedItemTooltips = var$2.$advancedItemTooltips ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 48) nms_RenderManager_field_85095_o = nms_RenderManager_field_85095_o ? 0 : 1; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $F3down = (-1); if ($F3down == 25) { var$2 = $this.$gameSettings; var$2.$pauseOnLostFocus = var$2.$pauseOnLostFocus ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $F3down = (-1); if ($F3down == 2) { var$2 = $this.$gameSettings; var$2.$hideGUI = var$2.$hideGUI ? 0 : 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 4) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showDebugInfo = var$2.$showDebugInfo ? 0 : 1; var$2.$showDebugProfilerChart = 1; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == 6) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { $var8 = var$2.$thirdPersonView + 1 | 0; var$2.$thirdPersonView = $var8; if ($var8 > 2) var$2.$thirdPersonView = 0; } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $F3down = (-1); if ($F3down == 7) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) { var$2.$showCoordinates = var$2.$showCoordinates ? 0 : 1; nms_GameSettings_saveOptions(var$2); } } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else $F3down = (-1); if ($F3down == 9) { var$2 = $this.$gameSettings; if (var$2.$keyBindFunction.$pressed) var$2.$smoothCamera = var$2.$smoothCamera ? 0 : 1; } h: { if (!$this.$gameSettings.$keyBindFunction.$pressed) { $var9 = 0; while (true) { if ($var9 >= 9) break h; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $F3down = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $F3down = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($F3down == (2 + $var9 | 0)) $this.$thePlayer.$inventory.$currentItem = $var9; $var9 = $var9 + 1 | 0; } } } while (true) { if (!nlea_EaglerAdapterImpl2_keysNext()) { $var8 = $this.$gameSettings.$chatVisibility == 2 ? 0 : 1; var$2 = $this.$gameSettings.$keyBindInventory; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down) { var$2 = new nms_GuiInventory; var$3 = $this.$thePlayer; var$5 = var$3.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen__init_(var$2); var$2.$xSize = 176; var$2.$ySize = 166; var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); var$2.$field_94077_p = var$4; var$2.$inventorySlots0 = var$5; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$3, nms_AchievementList_openInventory, 1); $ptr = 16; continue main; } while (true) { var$2 = $this.$gameSettings.$keyBindDrop; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if (!$F3down) break; var$2 = $this.$thePlayer; nms_GuiScreen_$callClinit(); var$15 = !(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1) ? 4 : 3; var$3 = var$2.$sendQueue; var$2 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$status = var$15; var$2.$xPosition0 = 0; var$2.$yPosition0 = 0; var$2.$zPosition = 0; var$2.$face = 0; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); } var$2 = $this.$gameSettings.$keyBindChat; $var9 = var$2.$pressTime; if (!$var9) $F3down = 0; else { var$2.$pressTime = $var9 - 1 | 0; $F3down = 1; } if ($F3down && $var8) { var$2 = nms_GuiChat__init_(); $ptr = 19; continue main; } if ($this.$currentScreen === null && nlea_EaglerAdapterImpl2_isKeyDown(53) && $var8) { var$3 = new nms_GuiChat; nms_GuiScreen__init_(var$3); var$3.$field_73898_b = $rt_s(18); var$3.$sentHistoryCursor = (-1); var$3.$field_73897_d = 0; var$3.$field_73905_m = 0; var$3.$field_73903_n = 0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$field_73904_o = var$5; var$3.$clickedURI = null; var$3.$defaultInputFieldText = $rt_s(18); var$3.$defaultInputFieldText = $rt_s(192); $ptr = 21; continue main; } if ($this.$gameSettings.$keyBindSprint.$pressed && !nms_Entity_getFlag($this.$thePlayer, 3)) { var$2 = $this.$thePlayer; if ((var$2.$foodStats.$foodLevel <= 6.0 && !var$2.$capabilities.$allowFlying ? 0 : 1) && !var$2.$isCollidedHorizontally) { nms_Entity_setFlag(var$2, 3, 1); var$3 = nms_EntityLivingBase_getEntityAttribute(var$2, nms_SharedMonsterAttributes_movementSpeed); var$5 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$4 = var$3.$field_111135_e; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$16 = var$5.$msb; var$17 = var$5.$lsb; $var1 = Long_xor(var$16, var$17); $F3down = Long_hi($var1) ^ Long_lo($var1); var$6 = var$4.$elementData.data; var$4 = var$6[$F3down & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $F3down) { bQ: { var$18 = var$4.$key; if (var$5 !== var$18) { bR: { if (var$18 instanceof nle_ProfileUUID) { var$18 = var$18; if (Long_eq(var$18.$lsb, var$17) && Long_eq(var$18.$msb, var$16)) { $var8 = 1; break bR; } } $var8 = 0; } if (!$var8) { $var8 = 0; break bQ; } } $var8 = 1; } if ($var8) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 !== null) nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityLivingBase_sprintingSpeedBoostModifier); var$2.$sprintingTicksLeft = 600; } } var$2 = $this.$thePlayer; $var8 = var$2.$itemInUse === null ? 0 : 1; bS: { if (!$var8) { var$2 = $this.$gameSettings.$keyBindAttack; $F3down = var$2.$pressTime; if (!$F3down) $var8 = 0; else { var$2.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) { $var8 = 0; $ptr = 22; continue main; } if (nms_KeyBinding_isPressed($this.$gameSettings.$keyBindUseItem)) { $var8 = 1; $ptr = 23; continue main; } if (!nms_KeyBinding_isPressed($this.$gameSettings.$keyBindPickBlock)) break bS; $ptr = 25; continue main; } if (!$this.$gameSettings.$keyBindUseItem.$pressed) { var$3 = $this.$playerController; $var8 = var$3.$mc6.$thePlayer.$inventory.$currentItem; if ($var8 != var$3.$currentPlayerItem) { var$3.$currentPlayerItem = $var8; var$5 = var$3.$netClientHandler; var$4 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$id4 = $var8; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$4); } var$5 = var$3.$netClientHandler; var$3 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$status = 5; var$3.$xPosition0 = 0; var$3.$yPosition0 = 0; var$3.$zPosition = 0; var$3.$face = 255; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$3); var$3 = var$2.$itemInUse; if (var$3 !== null) { var$5 = var$2.$worldObj; $var8 = var$2.$itemInUseCount; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[var$3.$itemID]; $ptr = 24; continue main; } var$2.$itemInUse = null; var$2.$itemInUseCount = 0; if (!var$2.$worldObj.$isRemote) nms_Entity_setFlag(var$2, 4, 0); } while (true) { var$2 = $this.$gameSettings; var$3 = var$2.$keyBindAttack; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if ($var8) continue; else break; } while (true) { var$3 = var$2.$keyBindUseItem; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break; } while (true) { var$3 = var$2.$keyBindPickBlock; $F3down = var$3.$pressTime; if (!$F3down) $var8 = 0; else { var$3.$pressTime = $F3down - 1 | 0; $var8 = 1; } if (!$var8) break bS; } } if ($this.$gameSettings.$keyBindUseItem.$pressed && !$this.$rightClickDelayTimer && !($this.$thePlayer.$itemInUse === null ? 0 : 1)) { $var8 = 1; $ptr = 28; continue main; } $var8 = 0; $F3down = $this.$currentScreen === null && $this.$gameSettings.$keyBindAttack.$pressed && $this.$inGameHasFocus ? 1 : 0; $ptr = 27; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$19 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$19 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 !== $rt_s(488)) { if ($rt_s(488) instanceof jl_String) { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } else $var8 = 0; } else $var8 = 1; var$15 = $var8 ? 0 : 1; } var$2 = nms_KeyBinding_hash; $var8 = var$19 ^ (var$19 >>> 20 | 0) ^ (var$19 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; b2: { while (var$2 !== null) { if (var$2.$hashEntry == var$19) { var$2 = var$2.$valueEntry; break b2; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressed = var$15; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { var$3 = $rt_str(var$2.type); if (var$3 !== $rt_s(488)) { if ($rt_s(488) instanceof jl_String) { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } else $var8 = 0; } else $var8 = 1; $var8 = $var8 ? 0 : 1; } else $var8 = 0; if ($var8) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 !== null) { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } else var$15 = (-1); var$2 = nms_KeyBinding_hash; $var8 = var$15 ^ (var$15 >>> 20 | 0) ^ (var$15 >>> 12 | 0); $var9 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$6 = var$2.$slots.data; var$2 = var$6[$var9 & (var$6.length - 1 | 0)]; b3: { while (var$2 !== null) { if (var$2.$hashEntry == var$15) { var$2 = var$2.$valueEntry; break b3; } var$2 = var$2.$nextEntry; } var$2 = null; } var$2 = var$2; if (var$2 !== null) var$2.$pressTime = var$2.$pressTime + 1 | 0; } $F3down = $this.$gameSettings.$keyBindFunction.$pressed && nlea_EaglerAdapterImpl2_isKeyDown(4) ? 1 : 0; if (Long_gt($this.$field_83002_am, Long_ZERO)) { if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$field_83002_am), Long_fromInt(6000))) { var$2 = new jl_RuntimeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(489); $rt_throw(var$2); } if (!(nlea_EaglerAdapterImpl2_isKeyDown(46) && $F3down)) $this.$field_83002_am = Long_fromInt(-1); } else if ($F3down && nlea_EaglerAdapterImpl2_isKeyDown(46)) $this.$field_83002_am = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var8 = 0; else { var$3 = $rt_str(var$2.type); if (var$3 === $rt_s(488)) $var8 = 1; else if (!($rt_s(488) instanceof jl_String)) $var8 = 0; else { var$2 = $rt_s(488); $var8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } $var8 = $var8 ? 0 : 1; } if (!$var8) continue; b4: { $var8 = $this.$isGonnaTakeDatScreenShot; if ($this.$gameSettings.$keyBindFunction.$pressed) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) var$15 = (-1); else { $var9 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$15 = $var9 <= var$6.length && $var9 >= 0 ? var$6[$var9] : (-1); } if (var$15 == 3) { $var9 = 1; break b4; } } $var9 = 0; } $this.$isGonnaTakeDatScreenShot = $var8 | $var9; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 != 87) break; } var$2 = $this.$currentScreen; if (var$2 !== null) { $ptr = 26; continue main; } var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 1 && $this.$currentScreen === null) { var$2 = nms_GuiIngameMenu__init_(); $ptr = 29; continue main; } if ($F3down) { var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 == 31) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr($rt_ustr(var$5)); $rt_putStderr($rt_ustr(var$4)); var$2 = $this.$sndManager; if (var$2 !== null) { var$3 = var$2.$soundevents; var$15 = var$3.$modCount; var$19 = var$3.$size(); var$20 = $var10; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$3.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$3.$get(var$20)).$id3); var$20 = $var9; } var$2 = var$2.$activerecords; var$15 = var$2.$modCount; var$19 = var$2.$size(); var$20 = var$14; while (var$20 >= var$19 ? 0 : 1) { if (var$15 < var$2.$modCount) break bP; $var9 = var$20 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$2.$get(var$20)).$value0); var$20 = $var9; } } nms_SoundManager_loadSoundSettings($this.$sndManager, $this.$gameSettings); } } if (!$F3down) continue; var$2 = nlea_EaglerAdapterImpl2_currentEventK; if (var$2 === null) $var9 = (-1); else { $var8 = var$2.which; var$6 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var9 = $var8 <= var$6.length && $var8 >= 0 ? var$6[$var8] : (-1); } if ($var9 != 20) continue; else { var$2 = $this.$renderEngine; continue main; } } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var8, var$2, var$3, var$4, var$5, var$6, var$7, $F3down, $var9, var$10, $var10, $var1, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr); }, nms_Minecraft_stopServerAndDisplayGuiScreen = ($this, $par1GuiScreen) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiScreen = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = nle_IntegratedServer_statusState; if (var$2 && var$2 != (-2) && var$2 != (-1) ? 0 : 1) { $ptr = 1; continue main; } if (nle_IntegratedServer_isWorldRunning()) { nle_IntegratedServer_statusState = 4; nle_IntegratedServer_sendIPCPacket(new nlesi_IPCPacket01StopServer); } var$3 = nle_IntegratedServerLAN_lanRelaySocket; if (var$3 !== null) { var$3.$close(); nle_IntegratedServerLAN_lanRelaySocket = null; nle_IntegratedServerLAN_currentCode = null; } nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nle_IntegratedServerLAN_clients; if (var$3.$cachedValues === null) { var$4 = new ju_HashMap$2; var$4.$this$01 = var$3; var$3.$cachedValues = var$4; } var$3 = var$3.$cachedValues.$iterator(); while (var$3.$hasNext()) { nle_IntegratedServerLAN$LANClient_disconnect(var$3.$next()); } var$3 = nle_IntegratedServerLAN_clients; if (var$3.$elementCount > 0) { var$3.$elementCount = 0; var$5 = var$3.$elementData.data; var$4 = null; var$2 = 0; var$6 = var$5.length; if (var$2 > var$6) { $par1GuiScreen = new jl_IllegalArgumentException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); } while (var$2 < var$6) { var$7 = var$2 + 1 | 0; var$5[var$2] = var$4; var$2 = var$7; } var$3.$modCount0 = var$3.$modCount0 + 1 | 0; } var$4 = new nle_GuiScreenSingleplayerLoading; var$8 = new nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0; var$9 = nle_GuiScreenSingleplayerLoading_defaultExceptionAction; var$10 = nle_GuiScreenSingleplayerLoading_defaultTerminateAction; nms_GuiScreen__init_(var$4); var$4.$menu = $par1GuiScreen; var$4.$message0 = $rt_s(492); var$4.$checkTaskComplete = var$8; var$4.$onException = var$9; var$4.$taskKill = var$10; var$4.$lastStatus = nle_IntegratedServer_worldStatusString; var$4.$currentStatus = $rt_s(492); $ptr = 2; continue main; case 1: nms_Minecraft_displayGuiScreen($this, $par1GuiScreen); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($this, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiScreen, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_Minecraft_launchIntegratedServer = ($this, $folderName, $trim, $var6) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var6 = $thread.pop();$trim = $thread.pop();$folderName = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $trim = null; var$4 = $rt_s(18); $ptr = 1; case 1: nms_Minecraft_loadWorld($this, $trim, var$4); if ($rt_suspending()) { break main; } nle_IntegratedServer_loadWorld($folderName, $this.$gameSettings.$difficulty, $var6); var$5 = new nle_GuiScreenSingleplayerLoading; $trim = new nle_GuiScreenSingleplayerConnecting; var$4 = nms_GuiMainMenu__init_(); var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(493)); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $folderName === null ? $rt_s(1) : $folderName); $var6 = new jl_String; var$7 = var$6.$buffer; var$8 = var$7.data; var$9 = var$6.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $var6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); nms_GuiScreen__init_($trim); $trim.$netHandler0 = null; $trim.$menu0 = var$4; $trim.$message3 = $var6; $var6 = new jl_StringBuilder; $var6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var6, $var6.$length0, $rt_s(494)); var$10 = $var6.$length0; if ($folderName === null) $folderName = $rt_s(1); jl_AbstractStringBuilder_insert($var6, var$10, $folderName); var$6 = new jl_String; var$8 = $var6.$buffer; var$7 = var$8.data; var$11 = $var6.$length0; var$9 = var$7.length; if (var$11 >= 0 && var$11 <= (var$9 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$8.data, 0, var$11); $folderName = new nms_Minecraft$launchIntegratedServer$lambda$_27_0; $var6 = nle_GuiScreenSingleplayerLoading_defaultExceptionAction; var$4 = nle_GuiScreenSingleplayerLoading_defaultTerminateAction; nms_GuiScreen__init_(var$5); var$5.$menu = $trim; var$5.$message0 = var$6; var$5.$checkTaskComplete = $folderName; var$5.$onException = $var6; var$5.$taskKill = var$4; var$5.$lastStatus = nle_IntegratedServer_worldStatusString; var$5.$currentStatus = var$6; $ptr = 2; continue main; } $folderName = new jl_IndexOutOfBoundsException; $folderName.$suppressionEnabled = 1; $folderName.$writableStackTrace = 1; $rt_throw($folderName); } $folderName = new jl_IndexOutOfBoundsException; $folderName.$suppressionEnabled = 1; $folderName.$writableStackTrace = 1; $rt_throw($folderName); case 2: nms_Minecraft_displayGuiScreen($this, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $folderName, $trim, $var6, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_Minecraft_loadWorld0 = ($this, $par1WorldClient) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1WorldClient = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $rt_s(18); $ptr = 1; case 1: nms_Minecraft_loadWorld($this, $par1WorldClient, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1WorldClient, var$2, $ptr); }, nms_Minecraft_loadWorld = ($this, $par1WorldClient, $par2Str) => { let $var4, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();$par2Str = $thread.pop();$par1WorldClient = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1WorldClient === null) { $var4 = $this.$thePlayer; $var3 = $var4 === null ? null : $var4.$sendQueue; if ($var3 !== null) { $var4 = $var3.$netManager; if ($var4 !== null) $var4.$wakeThreads(); $var3.$netManager = null; $var3.$worldClient = null; } $var4 = $this.$myNetworkManager; if ($var4 !== null) $var4.$closeConnections(); $this.$myNetworkManager = null; } $this.$renderViewEntity = null; $var4 = $this.$loadingScreen; if ($var4 !== null) { $var4.$field_73724_e = 0; nms_LoadingScreenRenderer_func_73722_d($var4, $par2Str); $par2Str = $this.$loadingScreen; if ($par2Str.$mc10.$running) { $par2Str.$field_73723_d = Long_ZERO; $par2Str.$field_73727_a = $rt_s(18); var$5 = (-1); $ptr = 2; continue main; } if (!$par2Str.$field_73724_e) { $par1WorldClient = new nms_MinecraftError; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); } } if ($par1WorldClient === null && $this.$theWorld !== null) { $par2Str = $this.$texturePackList; if ($par2Str.$isDownloading) { $par2Str.$isDownloading = 0; $ptr = 3; continue main; } $this.$lanState = 0; if (nle_IntegratedServer_isWorldRunning()) { nle_IntegratedServer_statusState = 4; nle_IntegratedServer_sendIPCPacket(new nlesi_IPCPacket01StopServer); } $par2Str = nle_IntegratedServerLAN_lanRelaySocket; if ($par2Str !== null) { $par2Str.$close(); nle_IntegratedServerLAN_lanRelaySocket = null; nle_IntegratedServerLAN_currentCode = null; } nlea_EaglerAdapterImpl2_$callClinit(); $par2Str = nle_IntegratedServerLAN_clients; if ($par2Str.$cachedValues === null) { $var4 = new ju_HashMap$2; $var4.$this$01 = $par2Str; $par2Str.$cachedValues = $var4; } $par2Str = $par2Str.$cachedValues.$iterator(); while ($par2Str.$hasNext()) { nle_IntegratedServerLAN$LANClient_disconnect($par2Str.$next()); } $par2Str = nle_IntegratedServerLAN_clients; if ($par2Str.$elementCount > 0) { $par2Str.$elementCount = 0; var$6 = $par2Str.$elementData.data; $var4 = null; var$5 = 0; var$7 = var$6.length; if (var$5 > var$7) { $par1WorldClient = new jl_IllegalArgumentException; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); } while (var$5 < var$7) { var$8 = var$5 + 1 | 0; var$6[var$5] = $var4; var$5 = var$8; } $par2Str.$modCount0 = $par2Str.$modCount0 + 1 | 0; } $this.$currentServerData = null; $this.$integratedServerIsRunning = 0; } $par2Str = $this.$sndManager; $var4 = null; var$9 = 0.0; var$10 = 0.0; var$11 = 0.0; var$5 = 0; $ptr = 1; case 1: nms_SoundManager_playStreaming($par2Str, $var4, var$9, var$10, var$11, var$5); if ($rt_suspending()) { break main; } $par2Str = $this.$sndManager; $var4 = $par2Str.$soundevents; var$12 = 0; var$8 = $var4.$modCount; var$13 = $var4.$size(); while (true) { if (!(var$12 >= var$13 ? 0 : 1)) { $par2Str = $par2Str.$activerecords; var$12 = 0; var$8 = $par2Str.$modCount; var$13 = $par2Str.$size(); while (true) { if (!(var$12 >= var$13 ? 0 : 1)) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_unloadVideo(); $this.$theWorld = $par1WorldClient; if ($par1WorldClient === null) { $this.$thePlayer = null; $this.$systemTime = Long_ZERO; return; } $par2Str = $this.$renderGlobal; if ($par2Str !== null) nms_RenderGlobal_setWorldAndLoadRenderers($par2Str, $par1WorldClient); a: { $par2Str = $this.$effectRenderer; if ($par2Str !== null) { $par2Str.$worldObj7 = $par1WorldClient; var$5 = 0; while (true) { if (var$5 >= 4) break a; $var4 = $par2Str.$fxLayers.data[var$5]; var$6 = $var4.$array; var$7 = 0; var$8 = $var4.$size0; $var3 = null; if (var$7 > var$8) break; while (var$7 < var$8) { var$14 = var$6.data; var$13 = var$7 + 1 | 0; var$14[var$7] = $var3; var$7 = var$13; } $var4.$size0 = 0; $var4.$modCount = $var4.$modCount + 1 | 0; var$5 = var$5 + 1 | 0; } $par1WorldClient = new jl_IllegalArgumentException; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); } } if ($this.$thePlayer === null) { $par2Str = $this.$playerController; $var4 = new nms_EntityClientPlayerMP; var$15 = $par2Str.$mc6; nle_EaglerProfile_$callClinit(); $var3 = nle_EaglerProfile_username; $par2Str = $par2Str.$netClientHandler; nms_EntityPlayer__init_($var4, $par1WorldClient, $var3); $var4.$field_71162_ch = new nms_MouseFilter; $var4.$field_71160_ci = new nms_MouseFilter; $var4.$field_71161_cj = new nms_MouseFilter; $var4.$mc4 = var$15; $var4.$dimension = 0; $var4.$sendQueue = $par2Str; $this.$thePlayer = $var4; $var4.$rotationYaw = (-180.0); } nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; $par2Str = $this.$gameSettings; if (!($par2Str.$fancyGraphics && $par2Str.$ambientOcclusion)) { $par2Str = nms_StringTranslate_translateKey($var4, $rt_s(495)); $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var4, $var4.$length0, $rt_s(496)); var$5 = $var4.$length0; if ($par2Str === null) $par2Str = $rt_s(1); jl_AbstractStringBuilder_insert($var4, var$5, $par2Str); $par2Str = new jl_String; var$6 = $var4.$buffer; var$14 = var$6.data; var$7 = $var4.$length0; var$8 = var$14.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $par2Str.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7); if ($this.$thePlayer !== null) { $var4 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl($var4.$backingMap, $par2Str, $var4) !== null ? 0 : 1) { $var3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a($var3, $par2Str, 0, $var3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $var4 = new otcic_JSStdoutPrintStream; $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); $var4.$out0 = $var3; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); $var4.$sb = $var3; $var4.$buffer0 = $rt_createCharArray(32); $var4.$autoFlush = 0; $var4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var4; } $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1($var4, $var4.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1($var4, $var4.$length0, $par2Str); $par2Str = new jl_String; var$6 = $var4.$buffer; var$14 = var$6.data; var$7 = $var4.$length0; var$8 = var$14.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $par2Str.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7); $rt_putStdout($rt_ustr($par2Str)); $rt_putStdout("\n"); } else { $par1WorldClient = new jl_IndexOutOfBoundsException; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); } } } } else { $par1WorldClient = new jl_IndexOutOfBoundsException; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); } } if ($this.$thePlayer !== null) { $var4 = $this.$shownPlayerMessages; if (ju_HashMap_putImpl($var4.$backingMap, $rt_s(497), $var4) !== null ? 0 : 1) { $var3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a($var3, $rt_s(497), 0, $var3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $var4 = new otcic_JSStdoutPrintStream; $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); $var4.$out0 = $var3; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); $var4.$sb = $var3; $var4.$buffer0 = $rt_createCharArray(32); $var4.$autoFlush = 0; $var4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var4; } $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1($var4, $var4.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1($var4, $var4.$length0, $rt_s(497)); $par2Str = new jl_String; var$6 = $var4.$buffer; var$14 = var$6.data; var$7 = $var4.$length0; var$8 = var$14.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $par2Str.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7); $rt_putStdout($rt_ustr($par2Str)); $rt_putStdout("\n"); } else { $par1WorldClient = new jl_IndexOutOfBoundsException; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); } } } b: { if (!$this.$gameSettings.$showCoordinates) { nms_EnumChatFormatting_$callClinit(); $par2Str = nms_EnumChatFormatting_LIGHT_PURPLE; $var4 = $par2Str === null ? $rt_s(1) : $par2Str.$field_96304_B; $par2Str = new jl_StringBuilder; $par2Str.$buffer = $rt_createCharArray(16); var$5 = $par2Str.$length0; if ($var4 === null) $var4 = $rt_s(1); jl_AbstractStringBuilder_insert($par2Str, var$5, $var4); jl_AbstractStringBuilder_insert($par2Str, $par2Str.$length0, $rt_s(498)); $var4 = new jl_String; var$6 = $par2Str.$buffer; var$14 = var$6.data; var$7 = $par2Str.$length0; var$8 = var$14.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7); if ($this.$thePlayer !== null) { $par2Str = $this.$shownPlayerMessages; if (ju_HashMap_putImpl($par2Str.$backingMap, $var4, $par2Str) !== null ? 0 : 1) { $var3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a($var3, $var4, 0, $var3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $par2Str = new otcic_JSStdoutPrintStream; $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); $par2Str.$out0 = $var3; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); $par2Str.$sb = $var3; $par2Str.$buffer0 = $rt_createCharArray(32); $par2Str.$autoFlush = 0; $par2Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par2Str; } $par2Str = new jl_StringBuilder; $par2Str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1($par2Str, $par2Str.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1($par2Str, $par2Str.$length0, $var4); $var4 = new jl_String; var$6 = $par2Str.$buffer; var$14 = var$6.data; var$7 = $par2Str.$length0; var$8 = var$14.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7); $rt_putStdout($rt_ustr($var4)); $rt_putStdout("\n"); } else { $par1WorldClient = new jl_IndexOutOfBoundsException; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); } } } break b; } $par1WorldClient = new jl_IndexOutOfBoundsException; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); } nms_EnumChatFormatting_$callClinit(); $par2Str = nms_EnumChatFormatting_LIGHT_PURPLE; $var4 = $par2Str === null ? $rt_s(1) : $par2Str.$field_96304_B; $par2Str = new jl_StringBuilder; $par2Str.$buffer = $rt_createCharArray(16); var$5 = $par2Str.$length0; if ($var4 === null) $var4 = $rt_s(1); jl_AbstractStringBuilder_insert($par2Str, var$5, $var4); jl_AbstractStringBuilder_insert($par2Str, $par2Str.$length0, $rt_s(499)); $var4 = new jl_String; var$6 = $par2Str.$buffer; var$14 = var$6.data; var$7 = $par2Str.$length0; var$8 = var$14.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7); if ($this.$thePlayer !== null) { $par2Str = $this.$shownPlayerMessages; if (ju_HashMap_putImpl($par2Str.$backingMap, $var4, $par2Str) !== null ? 0 : 1) { $var3 = $this.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a($var3, $var4, 0, $var3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $par2Str = new otcic_JSStdoutPrintStream; $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); $par2Str.$out0 = $var3; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); $par2Str.$sb = $var3; $par2Str.$buffer0 = $rt_createCharArray(32); $par2Str.$autoFlush = 0; $par2Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par2Str; } $par2Str = new jl_StringBuilder; $par2Str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1($par2Str, $par2Str.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1($par2Str, $par2Str.$length0, $var4); $var4 = new jl_String; var$6 = $par2Str.$buffer; var$14 = var$6.data; var$7 = $par2Str.$length0; var$8 = var$14.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7); $rt_putStdout($rt_ustr($var4)); $rt_putStdout("\n"); } else { $par1WorldClient = new jl_IndexOutOfBoundsException; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); } } } } else { $par1WorldClient = new jl_IndexOutOfBoundsException; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); } } $this.$messageOnLoginCounter = 0; $par2Str = $this.$thePlayer; $par2Str.$yOffset = 1.6200000047683716; var$10 = 0.6000000238418579; var$9 = 1.7999999523162842; $ptr = 4; continue main; } if (var$8 < $par2Str.$modCount) break; var$7 = var$12 + 1 | 0; nlea_EaglerAdapterImpl2_endSound(($par2Str.$get(var$12)).$value0); var$12 = var$7; } $par1WorldClient = new ju_ConcurrentModificationException; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); } if (var$8 < $var4.$modCount) break; var$7 = var$12 + 1 | 0; nlea_EaglerAdapterImpl2_endSound(($var4.$get(var$12)).$id3); var$12 = var$7; } $par1WorldClient = new ju_ConcurrentModificationException; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); case 2: nms_LoadingScreenRenderer_setLoadingProgress($par2Str, var$5); if ($rt_suspending()) { break main; } $par2Str.$field_73723_d = Long_ZERO; if ($par1WorldClient === null && $this.$theWorld !== null) { $par2Str = $this.$texturePackList; if ($par2Str.$isDownloading) { $par2Str.$isDownloading = 0; $ptr = 3; continue main; } $this.$lanState = 0; if (nle_IntegratedServer_isWorldRunning()) { nle_IntegratedServer_statusState = 4; nle_IntegratedServer_sendIPCPacket(new nlesi_IPCPacket01StopServer); } $par2Str = nle_IntegratedServerLAN_lanRelaySocket; if ($par2Str !== null) { $par2Str.$close(); nle_IntegratedServerLAN_lanRelaySocket = null; nle_IntegratedServerLAN_currentCode = null; } nlea_EaglerAdapterImpl2_$callClinit(); $par2Str = nle_IntegratedServerLAN_clients; if ($par2Str.$cachedValues === null) { $var4 = new ju_HashMap$2; $var4.$this$01 = $par2Str; $par2Str.$cachedValues = $var4; } $par2Str = $par2Str.$cachedValues.$iterator(); while ($par2Str.$hasNext()) { nle_IntegratedServerLAN$LANClient_disconnect($par2Str.$next()); } $par2Str = nle_IntegratedServerLAN_clients; if ($par2Str.$elementCount > 0) { $par2Str.$elementCount = 0; var$6 = $par2Str.$elementData.data; $var4 = null; var$5 = 0; var$7 = var$6.length; if (var$5 > var$7) { $par1WorldClient = new jl_IllegalArgumentException; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); } while (var$5 < var$7) { var$8 = var$5 + 1 | 0; var$6[var$5] = $var4; var$5 = var$8; } $par2Str.$modCount0 = $par2Str.$modCount0 + 1 | 0; } $this.$currentServerData = null; $this.$integratedServerIsRunning = 0; } $par2Str = $this.$sndManager; $var4 = null; var$9 = 0.0; var$10 = 0.0; var$11 = 0.0; var$5 = 0; $ptr = 1; continue main; case 3: nms_TexturePackList_updateAvaliableTexturePacks($par2Str); if ($rt_suspending()) { break main; } $par2Str.$mc12.$refreshTexturePacksScheduled = 1; $this.$lanState = 0; if (nle_IntegratedServer_isWorldRunning()) { nle_IntegratedServer_statusState = 4; nle_IntegratedServer_sendIPCPacket(new nlesi_IPCPacket01StopServer); } $par2Str = nle_IntegratedServerLAN_lanRelaySocket; if ($par2Str !== null) { $par2Str.$close(); nle_IntegratedServerLAN_lanRelaySocket = null; nle_IntegratedServerLAN_currentCode = null; } nlea_EaglerAdapterImpl2_$callClinit(); $par2Str = nle_IntegratedServerLAN_clients; if ($par2Str.$cachedValues === null) { $var4 = new ju_HashMap$2; $var4.$this$01 = $par2Str; $par2Str.$cachedValues = $var4; } $par2Str = $par2Str.$cachedValues.$iterator(); while ($par2Str.$hasNext()) { nle_IntegratedServerLAN$LANClient_disconnect($par2Str.$next()); } $par2Str = nle_IntegratedServerLAN_clients; if ($par2Str.$elementCount > 0) { $par2Str.$elementCount = 0; var$6 = $par2Str.$elementData.data; $var4 = null; var$5 = 0; var$7 = var$6.length; if (var$5 > var$7) { $par1WorldClient = new jl_IllegalArgumentException; $par1WorldClient.$suppressionEnabled = 1; $par1WorldClient.$writableStackTrace = 1; $rt_throw($par1WorldClient); } while (var$5 < var$7) { var$8 = var$5 + 1 | 0; var$6[var$5] = $var4; var$5 = var$8; } $par2Str.$modCount0 = $par2Str.$modCount0 + 1 | 0; } $this.$currentServerData = null; $this.$integratedServerIsRunning = 0; $par2Str = $this.$sndManager; $var4 = null; var$9 = 0.0; var$10 = 0.0; var$11 = 0.0; var$5 = 0; $ptr = 1; continue main; case 4: nms_Entity_setSize($par2Str, var$10, var$9); if ($rt_suspending()) { break main; } $ptr = 5; case 5: nms_Entity_preparePlayerToSpawn($par2Str); if ($rt_suspending()) { break main; } $var4 = nms_EntityLivingBase_getEntityAttribute($par2Str, nms_SharedMonsterAttributes_maxHealth); if ($var4.$field_111133_g) { $var4.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var4); $var4.$field_111133_g = 0; } nms_EntityLivingBase_setHealth($par2Str, $var4.$field_111139_h); $par2Str.$deathTime = 0; $par2Str = $this.$thePlayer; var$5 = nms_World_spawnEntityInWorld($par1WorldClient, $par2Str); $var4 = $par1WorldClient.$entityList; ju_HashMap_putImpl($var4.$backingMap, $par2Str, $var4); if (!var$5) { $par1WorldClient = $par1WorldClient.$entitySpawnQueue; ju_HashMap_putImpl($par1WorldClient.$backingMap, $par2Str, $par1WorldClient); } $par1WorldClient = $this.$thePlayer; $par2Str = new nms_MovementInputFromOptions; $par2Str.$gameSettings0 = $this.$gameSettings; $par1WorldClient.$movementInput = $par2Str; nms_EnumGameType_configurePlayerCapabilities($this.$playerController.$currentGameType, $par1WorldClient.$capabilities); $this.$renderViewEntity = $this.$thePlayer; $this.$systemTime = Long_ZERO; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1WorldClient, $par2Str, $var4, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_Minecraft_setNetManager = ($this, $nm) => { $this.$myNetworkManager = $nm; }, nms_Minecraft_setDimensionAndSpawnPlayer = ($this, $par1) => { let var$2, var$3, $var2, $var3, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$theWorld; var$3 = var$2.$worldInfo; var$3.$spawnX = 8; var$3.$spawnY = 64; var$3.$spawnZ = 8; nms_WorldClient_removeAllEntities(var$2); $var2 = 0; $var3 = null; var$6 = $this.$thePlayer; if (var$6 === null) { $this.$renderViewEntity = null; var$7 = $this.$playerController; var$8 = $this.$theWorld; var$3 = new nms_EntityClientPlayerMP; var$6 = var$7.$mc6; nle_EaglerProfile_$callClinit(); var$2 = nle_EaglerProfile_username; var$7 = var$7.$netClientHandler; nms_EntityPlayer__init_(var$3, var$8, var$2); var$3.$field_71162_ch = new nms_MouseFilter; var$3.$field_71160_ci = new nms_MouseFilter; var$3.$field_71161_cj = new nms_MouseFilter; var$3.$mc4 = var$6; var$3.$dimension = 0; var$3.$sendQueue = var$7; $this.$thePlayer = var$3; var$3.$dimension = $par1; $this.$renderViewEntity = var$3; var$3.$yOffset = 1.6200000047683716; var$9 = 0.6000000238418579; var$10 = 1.7999999523162842; $ptr = 1; continue main; } $var2 = var$6.$entityId; var$7 = $this.$theWorld; var$2 = var$6.$riddenByEntity; if (var$2 !== null) { var$3 = null; $ptr = 3; continue main; } var$3 = var$6.$ridingEntity; if (var$3 !== null) { if (!var$6.$worldObj.$isRemote) { $ptr = 6; continue main; } var$2 = var$6.$ridingEntity; if (var$2 !== null) var$2.$riddenByEntity = null; var$6.$ridingEntity = null; } var$6.$isDead = 1; var$2 = var$6.$inventoryContainer; $ptr = 4; continue main; case 1: nms_Entity_setSize(var$3, var$9, var$10); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_Entity_preparePlayerToSpawn(var$3); if ($rt_suspending()) { break main; } var$2 = nms_EntityLivingBase_getEntityAttribute(var$3, nms_SharedMonsterAttributes_maxHealth); if (var$2.$field_111133_g) { var$2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$2); var$2.$field_111133_g = 0; } nms_EntityLivingBase_setHealth(var$3, var$2.$field_111139_h); var$3.$deathTime = 0; var$2 = $this.$thePlayer; var$2.$field_142022_ce = $var3; var$3 = $this.$theWorld; $par1 = nms_World_spawnEntityInWorld(var$3, var$2); var$6 = var$3.$entityList; ju_HashMap_putImpl(var$6.$backingMap, var$2, var$6); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } var$2 = $this.$thePlayer; var$2.$rotationYaw = (-180.0); var$3 = new nms_MovementInputFromOptions; var$3.$gameSettings0 = $this.$gameSettings; var$2.$movementInput = var$3; var$2.$entityId = $var2; nms_EnumGameType_configurePlayerCapabilities($this.$playerController.$currentGameType, var$2.$capabilities); if (!($this.$currentScreen instanceof nms_GuiGameOver)) return; var$2 = null; $ptr = 7; continue main; case 3: var$2.$mountEntity(var$3); if ($rt_suspending()) { break main; } var$3 = var$6.$ridingEntity; if (var$3 !== null) { if (!var$6.$worldObj.$isRemote) { $ptr = 6; continue main; } var$2 = var$6.$ridingEntity; if (var$2 !== null) var$2.$riddenByEntity = null; var$6.$ridingEntity = null; } var$6.$isDead = 1; var$2 = var$6.$inventoryContainer; $ptr = 4; case 4: nms_ContainerPlayer_onContainerClosed(var$2, var$6); if ($rt_suspending()) { break main; } var$2 = var$6.$openContainer; if (var$2 !== null) { $ptr = 5; continue main; } if (var$6 instanceof nms_EntityPlayer) { var$3 = var$7.$playerEntities; var$11 = var$3.$size0; var$12 = 0; a: { while (true) { var$13 = $rt_compare(var$12, var$11); if (var$13 >= 0) { var$12 = (-1); break a; } if (var$12 < 0) break; if (var$13 >= 0) break; var$2 = var$3.$array.data[var$12]; if (var$6 === var$2 ? 1 : var$6 === null ? (var$2 !== null ? 0 : 1) : !(var$2 instanceof nms_Entity) ? 0 : var$2.$entityId != var$6.$entityId ? 0 : 1) break a; var$12 = var$12 + 1 | 0; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if (var$12 >= 0) ju_ArrayList_remove(var$3, var$12); } var$2 = ju_HashMap_removeByKey(var$7.$entityList.$backingMap, var$6); $var3 = $this.$thePlayer.$field_142022_ce; $this.$renderViewEntity = null; var$7 = $this.$playerController; var$8 = $this.$theWorld; var$3 = new nms_EntityClientPlayerMP; var$6 = var$7.$mc6; nle_EaglerProfile_$callClinit(); var$2 = nle_EaglerProfile_username; var$7 = var$7.$netClientHandler; nms_EntityPlayer__init_(var$3, var$8, var$2); var$3.$field_71162_ch = new nms_MouseFilter; var$3.$field_71160_ci = new nms_MouseFilter; var$3.$field_71161_cj = new nms_MouseFilter; var$3.$mc4 = var$6; var$3.$dimension = 0; var$3.$sendQueue = var$7; $this.$thePlayer = var$3; var$3.$dimension = $par1; $this.$renderViewEntity = var$3; var$3.$yOffset = 1.6200000047683716; var$9 = 0.6000000238418579; var$10 = 1.7999999523162842; $ptr = 1; continue main; case 5: var$2.$onContainerClosed(var$6); if ($rt_suspending()) { break main; } if (var$6 instanceof nms_EntityPlayer) { var$3 = var$7.$playerEntities; var$11 = var$3.$size0; var$12 = 0; b: { while (true) { var$13 = $rt_compare(var$12, var$11); if (var$13 >= 0) { var$12 = (-1); break b; } if (var$12 < 0) break; if (var$13 >= 0) break; var$2 = var$3.$array.data[var$12]; if (var$6 === var$2 ? 1 : var$6 === null ? (var$2 !== null ? 0 : 1) : !(var$2 instanceof nms_Entity) ? 0 : var$2.$entityId != var$6.$entityId ? 0 : 1) break b; var$12 = var$12 + 1 | 0; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if (var$12 >= 0) ju_ArrayList_remove(var$3, var$12); } var$2 = ju_HashMap_removeByKey(var$7.$entityList.$backingMap, var$6); $var3 = $this.$thePlayer.$field_142022_ce; $this.$renderViewEntity = null; var$7 = $this.$playerController; var$8 = $this.$theWorld; var$3 = new nms_EntityClientPlayerMP; var$6 = var$7.$mc6; nle_EaglerProfile_$callClinit(); var$2 = nle_EaglerProfile_username; var$7 = var$7.$netClientHandler; nms_EntityPlayer__init_(var$3, var$8, var$2); var$3.$field_71162_ch = new nms_MouseFilter; var$3.$field_71160_ci = new nms_MouseFilter; var$3.$field_71161_cj = new nms_MouseFilter; var$3.$mc4 = var$6; var$3.$dimension = 0; var$3.$sendQueue = var$7; $this.$thePlayer = var$3; var$3.$dimension = $par1; $this.$renderViewEntity = var$3; var$3.$yOffset = 1.6200000047683716; var$9 = 0.6000000238418579; var$10 = 1.7999999523162842; $ptr = 1; continue main; case 6: nms_EntityLivingBase_dismountEntity(var$6, var$3); if ($rt_suspending()) { break main; } var$2 = var$6.$ridingEntity; if (var$2 !== null) var$2.$riddenByEntity = null; var$6.$ridingEntity = null; var$6.$isDead = 1; var$2 = var$6.$inventoryContainer; $ptr = 4; continue main; case 7: nms_Minecraft_displayGuiScreen($this, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, $var2, $var3, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_Minecraft_getNetHandler = $this => { let var$1; var$1 = $this.$thePlayer; return var$1 === null ? null : var$1.$sendQueue; }, nms_Minecraft_clickMiddleMouseButton = $this => { let $var8, $var1, $var3, $var4, var$5, $var5, $var6, $var7, $var2, $var9, $var11, $var10, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();$var10 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var2 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$var8 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var8 = $this.$objectMouseOver; if ($var8 !== null) { $var1 = $this.$thePlayer.$capabilities.$isCreativeMode; $var3 = 0; $var4 = 0; var$5 = $var8.$typeOfHit; if (var$5 === nms_EnumMovingObjectType_TILE) { $var5 = $var8.$blockX; $var6 = $var8.$blockY; $var7 = $var8.$blockZ; nms_Block_$callClinit(); $var8 = nms_Block_blocksList.data[nms_World_getBlockId($this.$theWorld, $var5, $var6, $var7)]; if ($var8 === null) return; $var2 = $var8.$idPicked($this.$theWorld, $var5, $var6, $var7); if (!$var2) return; nms_Item_$callClinit(); $var4 = nms_Item_itemsList.data[$var2].$hasSubtypes; $var9 = $var2 < 256 && !nms_Block_blocksList.data[$var8.$blockID].$isFlowerPot() ? $var2 : $var8.$blockID; $var11 = nms_Block_blocksList.data[$var9]; $var8 = $this.$theWorld; $ptr = 1; continue main; } if (var$5 === nms_EnumMovingObjectType_ENTITY) { $var11 = $var8.$entityHit; if ($var11 !== null && $var1) { b: { if ($var11 instanceof nms_EntityPainting) { nms_Item_$callClinit(); $var2 = nms_Item_painting.$itemID0; } else if ($var11 instanceof nms_EntityLeashKnot) { nms_Item_$callClinit(); $var2 = nms_Item_leash.$itemID0; } else if ($var11 instanceof nms_EntityItemFrame) { $var10 = $var11; $var11 = $var10.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[130]; if (var$5 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { $var2 = var$5.$value0; var$13 = $var11.$elementData.data; $var11 = var$13[$var2 & (var$13.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == $var2) { $var8 = $var11.$key; if (var$5 !== $var8 && !(var$5 === $var8 ? 1 : $var8 instanceof jl_Integer && $var8.$value0 == $var2 ? 1 : 0) ? 0 : 1) break; } $var11 = $var11.$next3; } } $var11 = $var11 === null ? null : $var11.$value1; if ($var11.$watchedObject === null) { nms_Item_$callClinit(); $var2 = nms_Item_itemFrame.$itemID0; } else { $var11 = $var10.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[130]; if (var$5 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { $var6 = var$5.$value0; var$13 = $var11.$elementData.data; $var11 = var$13[$var6 & (var$13.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == $var6) { $var8 = $var11.$key; if (var$5 !== $var8 && !(var$5 === $var8 ? 1 : $var8 instanceof jl_Integer && $var8.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } $var11 = $var11.$next3; } } $var2 = ($var11 === null ? null : $var11.$value1).$watchedObject.$itemID; $var11 = $var10.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[130]; if (var$5 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { $var6 = var$5.$value0; var$13 = $var11.$elementData.data; $var11 = var$13[$var6 & (var$13.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == $var6) { $var8 = $var11.$key; if (var$5 !== $var8 && !(var$5 === $var8 ? 1 : $var8 instanceof jl_Integer && $var8.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } $var11 = $var11.$next3; } } $var3 = ($var11 === null ? null : $var11.$value1).$watchedObject.$itemDamage; $var4 = 1; } } else if ($var11 instanceof nms_EntityMinecart) { $var11 = $var11; if ($var11.$getMinecartType() == 2) { nms_Item_$callClinit(); $var2 = nms_Item_minecartPowered.$itemID0; } else if ($var11.$getMinecartType() == 1) { nms_Item_$callClinit(); $var2 = nms_Item_minecartCrate.$itemID0; } else if ($var11.$getMinecartType() == 3) { nms_Item_$callClinit(); $var2 = nms_Item_minecartTnt.$itemID0; } else if ($var11.$getMinecartType() != 5) { nms_Item_$callClinit(); $var2 = nms_Item_minecartEmpty.$itemID0; } else { nms_Item_$callClinit(); $var2 = nms_Item_minecartHopper.$itemID0; } } else if ($var11 instanceof nms_EntityBoat) { nms_Item_$callClinit(); $var2 = nms_Item_boat.$itemID0; } else { nms_Item_$callClinit(); $var2 = nms_Item_monsterPlacer.$itemID0; nms_EntityList_$callClinit(); $var11 = $var11.constructor; if ($var11 === null) var$5 = null; else { var$5 = $var11.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = $var11; $var11.classObject = var$5; } } $var11 = nms_EntityList_classToIDMapping; if (var$5 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { $var8 = var$5; if (!$var8.$id$) $var8.$id$ = $rt_nextId(); $var6 = var$5.$id$; var$13 = $var11.$elementData.data; $var11 = var$13[$var6 & (var$13.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == $var6) { $var8 = $var11.$key; if (var$5 !== $var8 && !(var$5 !== $var8 ? 0 : 1) ? 0 : 1) break; } $var11 = $var11.$next3; } } if (!($var11 === null ? 0 : 1)) $var3 = 0; else { $var11 = nms_EntityList_classToIDMapping; if (var$5 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { $var8 = var$5; if (!$var8.$id$) $var8.$id$ = $rt_nextId(); $var6 = var$5.$id$; var$13 = $var11.$elementData.data; $var11 = var$13[$var6 & (var$13.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == $var6) { $var8 = $var11.$key; if (var$5 !== $var8 && !(var$5 !== $var8 ? 0 : 1) ? 0 : 1) break; } $var11 = $var11.$next3; } } $var3 = ($var11 === null ? null : $var11.$value1).$value0; } $var4 = 1; if ($var3 > 0) { $var11 = nms_EntityList_entityEggs; if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); $var8 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { $var8 = new jl_Integer; $var8.$value0 = $var3; } if ($var8 === null) { var$5 = $var11.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { $var6 = $var8.$value0; var$13 = $var11.$elementData.data; var$5 = var$13[$var6 & (var$13.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == $var6) { $var11 = var$5.$key; if ($var8 !== $var11 && !($var8 === $var11 ? 1 : $var11 instanceof jl_Integer && $var11.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } if (var$5 === null ? 0 : 1) break b; } return; } } nms_InventoryPlayer_setCurrentItem($this.$thePlayer.$inventory, $var2, $var3, $var4, $var1); if (!$var1) break a; $var11 = $this.$thePlayer; $var1 = $var11.$inventoryContainer.$inventorySlots.$size0 - 9 | 0; $var11 = $var11.$inventory; $var3 = $var11.$currentItem; $var5 = $var1 + $var3 | 0; $var8 = $this.$playerController; var$13 = $var11.$mainInventory; $var1 = var$13.data.length; if ($var3 >= $var1) { $var3 = $var3 - $var1 | 0; var$13 = $var11.$armorInventory; } $var10 = var$13.data[$var3]; if ($var8.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) { $var8 = $var8.$netClientHandler; $var11 = new nms_Packet107CreativeSetSlot; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var11.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var11.$slot = $var5; if ($var10 === null) var$5 = null; else { var$5 = new nms_ItemStack; $var1 = $var10.$itemID; $var3 = $var10.$stackSize; $var5 = $var10.$itemDamage; nms_ItemStack_$callClinit(); var$5.$itemID = $var1; var$5.$stackSize = $var3; var$5.$itemDamage = $var5; if ($var5 < 0) var$5.$itemDamage = 0; $var10 = $var10.$stackTagCompound; if ($var10 !== null) var$5.$stackTagCompound = nms_NBTTagCompound_copy($var10); } $var11.$itemStack0 = var$5; if (!$var8.$disconnected) $var8.$netManager.$addToSendQueue($var11); } break a; } } return; } } return; case 1: $tmp = $var11.$getDamageValue($var8, $var5, $var6, $var7); if ($rt_suspending()) { break main; } $var3 = $tmp; nms_InventoryPlayer_setCurrentItem($this.$thePlayer.$inventory, $var2, $var3, $var4, $var1); if ($var1) { $var11 = $this.$thePlayer; $var1 = $var11.$inventoryContainer.$inventorySlots.$size0 - 9 | 0; $var11 = $var11.$inventory; $var3 = $var11.$currentItem; $var5 = $var1 + $var3 | 0; $var8 = $this.$playerController; var$13 = $var11.$mainInventory; $var1 = var$13.data.length; if ($var3 >= $var1) { $var3 = $var3 - $var1 | 0; var$13 = $var11.$armorInventory; } $var10 = var$13.data[$var3]; if ($var8.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) { $var8 = $var8.$netClientHandler; $var11 = new nms_Packet107CreativeSetSlot; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var11.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var11.$slot = $var5; if ($var10 === null) var$5 = null; else { var$5 = new nms_ItemStack; $var1 = $var10.$itemID; $var3 = $var10.$stackSize; $var5 = $var10.$itemDamage; nms_ItemStack_$callClinit(); var$5.$itemID = $var1; var$5.$stackSize = $var3; var$5.$itemDamage = $var5; if ($var5 < 0) var$5.$itemDamage = 0; $var10 = $var10.$stackTagCompound; if ($var10 !== null) var$5.$stackTagCompound = nms_NBTTagCompound_copy($var10); } $var11.$itemStack0 = var$5; if (!$var8.$disconnected) $var8.$netManager.$addToSendQueue($var11); } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var8, $var1, $var3, $var4, var$5, $var5, $var6, $var7, $var2, $var9, $var11, $var10, var$13, $ptr); }, nms_Minecraft_getMinecraft = () => { return nms_Minecraft_theMinecraft; }, nms_Minecraft_isIntegratedServerRunning = $this => { return $this.$integratedServerIsRunning; }, nms_Minecraft__clinit_ = () => { nms_Minecraft_memoryReserve = $rt_createByteArray(10485760); nms_Minecraft_debugChunkUpdates = 0; nms_Minecraft_debugChunkGeometryUpdates = 0; }, otjde_EventListener = $rt_classWithoutFields(0), nlea_EaglerAdapterImpl2$3 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$3__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$3__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$3(); nlea_EaglerAdapterImpl2$3__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$3_handleEvent$exported$0 = (var$0, var$1) => { var$1.preventDefault(); var$1.stopPropagation(); }, nlea_EaglerAdapterImpl2$4 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$4__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$4__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$4(); nlea_EaglerAdapterImpl2$4__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$4_handleEvent = ($this, $evt) => { let $b, var$3, var$4, var$5, var$6; $b = $evt.button; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_buttonStates; if ($b == 1) $b = 2; else if ($b == 2) $b = 1; var$3.data[$b] = 1; var$4 = nlea_EaglerAdapterImpl2_mouseEvents; var$5 = otji_JSWrapper_wrap($evt); var$6 = var$4.$size2; if (var$6 >= 0) { ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator(var$4, var$6), var$5); $evt.preventDefault(); $evt.stopPropagation(); return; } $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; $rt_throw($evt); }, nlea_EaglerAdapterImpl2$4_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2$4_handleEvent(var$0, var$1); }, nlea_EaglerAdapterImpl2$5 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$5__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$5__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$5(); nlea_EaglerAdapterImpl2$5__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$5_handleEvent = ($this, $evt) => { let $b, var$3, var$4, var$5, var$6; $b = $evt.button; nlea_EaglerAdapterImpl2_$callClinit(); var$3 = nlea_EaglerAdapterImpl2_buttonStates; if ($b == 1) $b = 2; else if ($b == 2) $b = 1; var$3.data[$b] = 0; var$4 = nlea_EaglerAdapterImpl2_mouseEvents; var$5 = otji_JSWrapper_wrap($evt); var$6 = var$4.$size2; if (var$6 >= 0) { ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator(var$4, var$6), var$5); $evt.preventDefault(); $evt.stopPropagation(); return; } $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; $rt_throw($evt); }, nlea_EaglerAdapterImpl2$5_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2$5_handleEvent(var$0, var$1); }, nlea_EaglerAdapterImpl2$6 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$6__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$6__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$6(); nlea_EaglerAdapterImpl2$6__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$6_handleEvent = ($this, $evt) => { let var$2, var$3, var$4; nlea_EaglerAdapterImpl2_mouseX = $evt.offsetX * nlea_EaglerAdapterImpl2_win.devicePixelRatio | 0; nlea_EaglerAdapterImpl2_mouseY = (nlea_EaglerAdapterImpl2_canvas.clientHeight - $evt.offsetY | 0) * nlea_EaglerAdapterImpl2_win.devicePixelRatio | 0; nlea_EaglerAdapterImpl2_mouseDX = nlea_EaglerAdapterImpl2_mouseDX + $evt.movementX; nlea_EaglerAdapterImpl2_mouseDY = nlea_EaglerAdapterImpl2_mouseDY + -$evt.movementY; if (nlea_EaglerAdapterImpl2_hasBeenActive$js_body$_14() ? 1 : 0) { var$2 = nlea_EaglerAdapterImpl2_mouseEvents; var$3 = otji_JSWrapper_wrap($evt); var$4 = var$2.$size2; if (var$4 < 0) { $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; $rt_throw($evt); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator(var$2, var$4), var$3); } $evt.preventDefault(); $evt.stopPropagation(); }, nlea_EaglerAdapterImpl2$6_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2$6_handleEvent(var$0, var$1); }, nlea_EaglerAdapterImpl2$7 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$7__init_ = $this => { return; }; let nlea_EaglerAdapterImpl2$7__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$7(); nlea_EaglerAdapterImpl2$7__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$7_handleEvent$exported$0 = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, var$7; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_keyStates; var$3 = var$1.which; var$4 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$5 = var$3 <= var$4.length && var$3 >= 0 ? var$4[var$3] : (-1); var$2.data[var$5] = 1; var$6 = nlea_EaglerAdapterImpl2_keyEvents; var$7 = otji_JSWrapper_wrap(var$1); var$3 = var$6.$size2; if (var$3 >= 0) { ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator(var$6, var$3), var$7); var$1.preventDefault(); var$1.stopPropagation(); return; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nlea_EaglerAdapterImpl2$8 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$8__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$8__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$8(); nlea_EaglerAdapterImpl2$8__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$8_handleEvent$exported$0 = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, var$7; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_keyStates; var$3 = var$1.which; var$4 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; var$5 = var$3 <= var$4.length && var$3 >= 0 ? var$4[var$3] : (-1); var$2.data[var$5] = 0; var$6 = nlea_EaglerAdapterImpl2_keyEvents; var$7 = otji_JSWrapper_wrap(var$1); var$3 = var$6.$size2; if (var$3 >= 0) { ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator(var$6, var$3), var$7); var$1.preventDefault(); var$1.stopPropagation(); return; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nlea_EaglerAdapterImpl2$9 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$9__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$9__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$9(); nlea_EaglerAdapterImpl2$9__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$9_handleEvent$exported$0 = (var$0, var$1) => { let var$2, var$3, var$4; nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_enableRepeatEvents && (var$1.repeat ? 1 : 0)) { var$2 = nlea_EaglerAdapterImpl2_keyEvents; var$3 = otji_JSWrapper_wrap(var$1); var$4 = var$2.$size2; if (var$4 < 0) { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator(var$2, var$4), var$3); } var$1.preventDefault(); var$1.stopPropagation(); }, nlea_EaglerAdapterImpl2$10 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$10__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$10__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$10(); nlea_EaglerAdapterImpl2$10__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$10_handleEvent$exported$0 = (var$0, var$1) => { let var$2, var$3, var$4; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_mouseEvents; var$3 = otji_JSWrapper_wrap(var$1); var$4 = var$2.$size2; if (var$4 >= 0) { ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator(var$2, var$4), var$3); var$1.preventDefault(); var$1.stopPropagation(); return; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nlea_EaglerAdapterImpl2$11 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$11__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$11__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$11(); nlea_EaglerAdapterImpl2$11__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$11_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_isWindowFocused = 0; }, nlea_EaglerAdapterImpl2$12 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$12__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$12__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$12(); nlea_EaglerAdapterImpl2$12__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$12_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_isWindowFocused = 1; }, nle_EarlyLoadScreen = $rt_classWithoutFields(), nle_EarlyLoadScreen_vbo = null, nle_EarlyLoadScreen_program = null, nle_EarlyLoadScreen__init_ = $this => { return; }, nle_EarlyLoadScreen__init_0 = () => { let var_0 = new nle_EarlyLoadScreen(); nle_EarlyLoadScreen__init_(var_0); return var_0; }, nle_EarlyLoadScreen_paintScreen = () => { let $tex, var$2, $upload, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $x, $y, $vao, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$vao = $thread.pop();$y = $thread.pop();$x = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$upload = $thread.pop();var$2 = $thread.pop();$tex = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); $tex = new nlea_EaglerAdapterImpl2$TextureGL; var$2 = nlea_EaglerAdapterImpl2_webgl.createTexture(); $tex.$w1 = (-1); $tex.$h0 = (-1); $tex.$nearest = 1; $tex.$anisotropic = 0; $tex.$obj1 = var$2; nlea_EaglerAdapterImpl2_webgl.activeTexture(33984); nleg_EaglerAdapterGL30_glBindTexture0(3553, $tex); nlea_EaglerAdapterImpl2_webgl.texParameteri(3553, 10240, 9728); nlea_EaglerAdapterImpl2_webgl.texParameteri(3553, 10241, 9728); nlea_EaglerAdapterImpl2_webgl.texParameteri(3553, 10242, 33071); nlea_EaglerAdapterImpl2_webgl.texParameteri(3553, 10243, 33071); $upload = nle_Base64__init_(0, nle_BaseNCodec_CHUNK_SEPARATOR, 0, nle_BaseNCodec$CodecPolicy_LENIANT); jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$4 = jnc_Charset$Charsets_value; var$5 = $rt_s(86).$nativeString.toUpperCase(); var$6 = var$5 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$5); a: { if (!var$6.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$6.$nativeString.length) break a; var$6.$hashCode1 = (31 * var$6.$hashCode1 | 0) + var$6.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$8 = var$6.$hashCode1; var$9 = var$4.$elementData.data; var$4 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$8) { b: { var$5 = var$4.$key; if (var$6 !== var$5) { if (var$6 === var$5) var$7 = 1; else if (!(var$5 instanceof jl_String)) var$7 = 0; else { var$5 = var$5; var$7 = var$6.$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$4 = var$4.$next3; } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 === null) { var$2 = new jnc_UnsupportedCharsetException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$charsetName = $rt_s(86); $rt_throw(var$2); } var$9 = $rt_fastStringToCharArray($rt_s(500).$nativeString); var$10 = var$9.data.length; var$4 = new jn_CharBufferOverArray; var$11 = 0 + var$10 | 0; jn_Buffer__init_(var$4, var$10); var$4.$position0 = 0; var$4.$limit0 = var$11; var$4.$start1 = 0; var$4.$readOnly1 = 0; var$4.$array1 = var$9; c: { try { var$2 = jnc_CharsetEncoder_encode(jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput(var$5.$newEncoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$4); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $upload = $$je; } else { throw $$e; } } var$12 = new jl_AssertionError; var$12.$suppressionEnabled = 1; var$12.$writableStackTrace = 1; var$12.$message = $rt_s(405); var$12.$cause = $upload; $rt_throw(var$12); } var$8 = var$2.$position0; if (!var$8 && var$2.$limit0 == var$2.$capacity) var$9 = var$2.$array0; else { var$9 = $rt_createByteArray(var$2.$limit0 - var$8 | 0); jn_ByteBuffer_get(var$2, var$9, 0, var$9.data.length); } if (var$9 !== null) { var$10 = var$9.data.length; if (var$10) { var$2 = new nle_BaseNCodec$Context; nle_Base64_decode($upload, var$9, 0, var$10, var$2); nle_Base64_decode($upload, var$9, 0, (-1), var$2); var$9 = $rt_createByteArray(var$2.$pos0); nle_BaseNCodec_readResults($upload, var$9, 0, var$9.data.length, var$2); } } var$2 = var$9.data.buffer; $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$(var$2); if ($rt_suspending()) { break main; } var$2 = $tmp; var$2 = var$2; var$10 = nleg_EaglerAdapterGL30_isWebGL; if (var$10) { var$9 = $rt_createIntArray(36864); var$10 = var$9.data.length; $upload = new jn_IntBufferOverArray; var$11 = 0 + var$10 | 0; $upload.$mark = (-1); $upload.$capacity = var$10; $upload.$limit0 = var$10; $upload.$position0 = 0; $upload.$limit0 = var$11; $upload.$start3 = 0; $upload.$readOnly3 = 0; $upload.$array4 = var$9; } else { if (!var$10) { var$12 = new jn_ByteBufferImpl; var$9 = $rt_createByteArray(147456); var$12.$mark = (-1); var$12.$capacity = 147456; var$12.$limit0 = 147456; var$12.$order = jn_ByteOrder_BIG_ENDIAN; var$12.$start = 0; var$12.$array0 = var$9; var$12.$position0 = 0; var$12.$limit0 = 147456; var$12.$direct = 1; var$12.$readOnly0 = 0; var$12.$order = jn_ByteOrder_nativeOrder(); } else { var$9 = $rt_createByteArray(147456); var$10 = var$9.data.length; if (var$10 >= 0 && var$10 <= (var$10 - 0 | 0)) { var$12 = new jn_ByteBufferImpl; var$13 = 0 + var$10 | 0; var$12.$mark = (-1); var$12.$capacity = var$10; var$12.$limit0 = var$10; var$12.$order = jn_ByteOrder_BIG_ENDIAN; var$12.$start = 0; var$12.$array0 = var$9; var$12.$position0 = 0; var$12.$limit0 = var$13; var$12.$direct = 0; var$12.$readOnly0 = 0; } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } $upload = jn_ByteBufferImpl_asIntBuffer(var$12); } var$9 = var$2.$data5; jn_IntBuffer_put($upload, var$9, 0, var$9.data.length); $upload.$limit0 = $upload.$position0; $upload.$position0 = 0; $upload.$mark = (-1); nlea_EaglerAdapterImpl2_webgl.texImage2D(3553, 0, 6408, 192, 192, 0, 6408, 5121, nleat_BufferConverter_convertIntBufferUnsigned($upload)); $upload.$position0 = 0; $upload.$limit0 = $upload.$capacity; $upload.$mark = (-1); jn_IntBufferImpl_put($upload, (isNaN(0.0) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(0.0)); jn_IntBufferImpl_put($upload, (isNaN(0.0) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(0.0)); jn_IntBufferImpl_put($upload, (isNaN(0.0) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(0.0)); jn_IntBufferImpl_put($upload, (isNaN(1.0) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(1.0)); jn_IntBufferImpl_put($upload, (isNaN(1.0) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(1.0)); jn_IntBufferImpl_put($upload, (isNaN(0.0) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(0.0)); jn_IntBufferImpl_put($upload, (isNaN(1.0) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(1.0)); jn_IntBufferImpl_put($upload, (isNaN(0.0) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(0.0)); jn_IntBufferImpl_put($upload, (isNaN(0.0) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(0.0)); jn_IntBufferImpl_put($upload, (isNaN(1.0) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(1.0)); jn_IntBufferImpl_put($upload, (isNaN(1.0) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(1.0)); jn_IntBufferImpl_put($upload, (isNaN(1.0) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(1.0)); $upload.$limit0 = $upload.$position0; $upload.$position0 = 0; $upload.$mark = (-1); var$2 = new nlea_EaglerAdapterImpl2$BufferGL; var$5 = nlea_EaglerAdapterImpl2_webgl.createBuffer(); var$2.$obj2 = var$5; nle_EarlyLoadScreen_vbo = var$2; nlea_EaglerAdapterImpl2_webgl.bindBuffer(34962, var$5); nlea_EaglerAdapterImpl2_webgl.bufferData(34962, nleat_BufferConverter_convertIntBufferUnsigned($upload), 35044); var$4 = nlea_EaglerAdapterImpl2_webgl.createShader(35633); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(191)); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(501)); var$12 = new jl_String; var$9 = var$2.$buffer; var$14 = var$9.data; var$10 = var$2.$length0; var$8 = var$14.length; if (var$10 >= 0 && var$10 <= (var$8 - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString(var$9.data, 0, var$10); nlea_EaglerAdapterImpl2_webgl.shaderSource(var$4, $rt_ustr(var$12)); nlea_EaglerAdapterImpl2_webgl.compileShader(var$4); var$15 = nlea_EaglerAdapterImpl2_webgl.createShader(35632); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(191)); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(502)); var$12 = new jl_String; var$9 = var$2.$buffer; var$14 = var$9.data; var$10 = var$2.$length0; var$8 = var$14.length; if (var$10 >= 0 && var$10 <= (var$8 - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString(var$9.data, 0, var$10); nlea_EaglerAdapterImpl2_webgl.shaderSource(var$15, $rt_ustr(var$12)); nlea_EaglerAdapterImpl2_webgl.compileShader(var$15); var$2 = new nlea_EaglerAdapterImpl2$ProgramGL; var$12 = nlea_EaglerAdapterImpl2_webgl.createProgram(); var$2.$obj = var$12; var$7 = nlea_EaglerAdapterImpl2_progId + 1 | 0; nlea_EaglerAdapterImpl2_progId = var$7; var$2.$hashcode = var$7; nle_EarlyLoadScreen_program = var$2; nlea_EaglerAdapterImpl2_webgl.attachShader(var$12, var$4); var$2 = nle_EarlyLoadScreen_program; nlea_EaglerAdapterImpl2_webgl.attachShader(var$2.$obj, var$15); var$2 = nle_EarlyLoadScreen_program; nlea_EaglerAdapterImpl2_webgl.bindAttribLocation(var$2.$obj, 0, "a_pos"); var$2 = nle_EarlyLoadScreen_program; nlea_EaglerAdapterImpl2_webgl.linkProgram(var$2.$obj); var$2 = nle_EarlyLoadScreen_program; nlea_EaglerAdapterImpl2_webgl.detachShader(var$2.$obj, var$4); var$2 = nle_EarlyLoadScreen_program; nlea_EaglerAdapterImpl2_webgl.detachShader(var$2.$obj, var$15); nlea_EaglerAdapterImpl2_webgl.deleteShader(var$4); nlea_EaglerAdapterImpl2_webgl.deleteShader(var$15); var$7 = 50; $ptr = 2; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); case 2: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$(var$7); if ($rt_suspending()) { break main; } var$2 = nle_EarlyLoadScreen_program; if (var$2 !== null) { var$7 = nlea_EaglerAdapterImpl2_currentProgram; var$10 = var$2.$hashcode; if (var$7 != var$10) { nlea_EaglerAdapterImpl2_currentProgram = var$10; nlea_EaglerAdapterImpl2_webgl.useProgram(var$2.$obj); } } var$2 = nle_EarlyLoadScreen_program; var$2 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation(var$2.$obj, "tex"); if (var$2 === null) $upload = null; else { $upload = new nlea_EaglerAdapterImpl2$UniformGL; $upload.$obj0 = var$2; } if ($upload !== null) nlea_EaglerAdapterImpl2_webgl.uniform1i($upload.$obj0, 0); var$11 = nlea_EaglerAdapterImpl2_canvas.width; var$8 = nlea_EaglerAdapterImpl2_canvas.height; if (var$11 <= var$8) { $x = 1.0; $y = var$8 / var$11; } else { $x = var$11 / var$8; $y = 1.0; } nlea_EaglerAdapterImpl2_webgl.activeTexture(33984); nleg_EaglerAdapterGL30_glBindTexture0(3553, $tex); nlea_EaglerAdapterImpl2__wglViewport(0, 0, var$11, var$8); nlea_EaglerAdapterImpl2_webgl.clearColor(1.0, 1.0, 1.0, 1.0); nlea_EaglerAdapterImpl2_webgl.clear(16640); var$2 = nle_EarlyLoadScreen_program; var$2 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation(var$2.$obj, "aspect"); if (var$2 === null) $upload = null; else { $upload = new nlea_EaglerAdapterImpl2$UniformGL; $upload.$obj0 = var$2; } if ($upload !== null) nlea_EaglerAdapterImpl2_webgl.uniform2f($upload.$obj0, $x, $y); $vao = new nlea_EaglerAdapterImpl2$BufferArrayGL; $upload = nlea_EaglerAdapterImpl2_webgl.createVertexArray(); $vao.$obj3 = $upload; $vao.$isQuadBufferBound = 0; if (nleg_EaglerAdapterGL30_currentArray !== $vao) { nleg_EaglerAdapterGL30_currentArray = $vao; var$2 = nlea_EaglerAdapterImpl2_webgl; if ($vao === null) $upload = null; var$2.bindVertexArray($upload); } nlea_EaglerAdapterImpl2_webgl.enableVertexAttribArray(0); nlea_EaglerAdapterImpl2_webgl.vertexAttribPointer(0, 2, 5126, !!0, 8, 0); nlea_EaglerAdapterImpl2_webgl.drawArrays(4, 0, 6); nlea_EaglerAdapterImpl2_webgl.disableVertexAttribArray(0); var$7 = 0; var$10 = 0; $ptr = 3; case 3: nlea_EaglerAdapterImpl2_updateDisplay(var$7, var$10); if ($rt_suspending()) { break main; } var$7 = 20; $ptr = 4; case 4: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$(var$7); if ($rt_suspending()) { break main; } var$2 = nlea_EaglerAdapterImpl2_webgl; $upload = null; var$2.bindBuffer(34962, $upload); nleg_EaglerAdapterGL30_glBindTexture0(3553, null); var$2 = nlea_EaglerAdapterImpl2_webgl; $upload = $tex.$obj1; var$2.deleteTexture($upload); var$2 = nlea_EaglerAdapterImpl2_webgl; $upload = $vao.$obj3; var$2.deleteVertexArray($upload); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($tex, var$2, $upload, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $x, $y, $vao, $ptr); }, nle_EarlyLoadScreen_paintEnable = () => { let $tex, var$2, $vao, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $upload, var$13, $x, $y, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$y = $thread.pop();$x = $thread.pop();var$13 = $thread.pop();$upload = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$vao = $thread.pop();var$2 = $thread.pop();$tex = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); $tex = new nlea_EaglerAdapterImpl2$TextureGL; var$2 = nlea_EaglerAdapterImpl2_webgl.createTexture(); $tex.$w1 = (-1); $tex.$h0 = (-1); $tex.$nearest = 1; $tex.$anisotropic = 0; $tex.$obj1 = var$2; nleg_EaglerAdapterGL30_glActiveTexture(33984); nleg_EaglerAdapterGL30_glBindTexture0(3553, $tex); nlea_EaglerAdapterImpl2_webgl.texParameteri(3553, 10240, 9728); nlea_EaglerAdapterImpl2_webgl.texParameteri(3553, 10241, 9728); nlea_EaglerAdapterImpl2_webgl.texParameteri(3553, 10242, 33071); nlea_EaglerAdapterImpl2_webgl.texParameteri(3553, 10243, 33071); $vao = nle_Base64__init_(0, nle_BaseNCodec_CHUNK_SEPARATOR, 0, nle_BaseNCodec$CodecPolicy_LENIANT); jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$4 = jnc_Charset$Charsets_value; var$5 = $rt_s(86).$nativeString.toUpperCase(); var$6 = var$5 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$5); a: { if (!var$6.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$6.$nativeString.length) break a; var$6.$hashCode1 = (31 * var$6.$hashCode1 | 0) + var$6.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$8 = var$6.$hashCode1; var$9 = var$4.$elementData.data; var$4 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$8) { b: { var$5 = var$4.$key; if (var$6 !== var$5) { if (var$6 === var$5) var$7 = 1; else if (!(var$5 instanceof jl_String)) var$7 = 0; else { var$5 = var$5; var$7 = var$6.$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$4 = var$4.$next3; } var$5 = var$4 === null ? null : var$4.$value1; if (var$5 === null) { var$2 = new jnc_UnsupportedCharsetException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$charsetName = $rt_s(86); $rt_throw(var$2); } var$9 = $rt_fastStringToCharArray($rt_s(503).$nativeString); var$10 = var$9.data.length; var$4 = new jn_CharBufferOverArray; var$11 = 0 + var$10 | 0; jn_Buffer__init_(var$4, var$10); var$4.$position0 = 0; var$4.$limit0 = var$11; var$4.$start1 = 0; var$4.$readOnly1 = 0; var$4.$array1 = var$9; c: { try { var$2 = jnc_CharsetEncoder_encode(jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput(var$5.$newEncoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$4); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $vao = $$je; } else { throw $$e; } } $upload = new jl_AssertionError; $upload.$suppressionEnabled = 1; $upload.$writableStackTrace = 1; $upload.$message = $rt_s(405); $upload.$cause = $vao; $rt_throw($upload); } var$8 = var$2.$position0; if (!var$8 && var$2.$limit0 == var$2.$capacity) var$9 = var$2.$array0; else { var$9 = $rt_createByteArray(var$2.$limit0 - var$8 | 0); jn_ByteBuffer_get(var$2, var$9, 0, var$9.data.length); } if (var$9 !== null) { var$10 = var$9.data.length; if (var$10) { var$2 = new nle_BaseNCodec$Context; nle_Base64_decode($vao, var$9, 0, var$10, var$2); nle_Base64_decode($vao, var$9, 0, (-1), var$2); var$9 = $rt_createByteArray(var$2.$pos0); nle_BaseNCodec_readResults($vao, var$9, 0, var$9.data.length, var$2); } } var$2 = var$9.data.buffer; $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$(var$2); if ($rt_suspending()) { break main; } var$2 = $tmp; var$2 = var$2; var$10 = nleg_EaglerAdapterGL30_isWebGL; if (var$10) { var$9 = $rt_createIntArray(16384); var$10 = var$9.data.length; $upload = new jn_IntBufferOverArray; var$11 = 0 + var$10 | 0; $upload.$mark = (-1); $upload.$capacity = var$10; $upload.$limit0 = var$10; $upload.$position0 = 0; $upload.$limit0 = var$11; $upload.$start3 = 0; $upload.$readOnly3 = 0; $upload.$array4 = var$9; } else { if (!var$10) { $upload = new jn_ByteBufferImpl; var$9 = $rt_createByteArray(65536); $upload.$mark = (-1); $upload.$capacity = 65536; $upload.$limit0 = 65536; $upload.$order = jn_ByteOrder_BIG_ENDIAN; $upload.$start = 0; $upload.$array0 = var$9; $upload.$position0 = 0; $upload.$limit0 = 65536; $upload.$direct = 1; $upload.$readOnly0 = 0; $upload.$order = jn_ByteOrder_nativeOrder(); } else { var$9 = $rt_createByteArray(65536); var$10 = var$9.data.length; if (var$10 >= 0 && var$10 <= (var$10 - 0 | 0)) { $upload = new jn_ByteBufferImpl; var$13 = 0 + var$10 | 0; $upload.$mark = (-1); $upload.$capacity = var$10; $upload.$limit0 = var$10; $upload.$order = jn_ByteOrder_BIG_ENDIAN; $upload.$start = 0; $upload.$array0 = var$9; $upload.$position0 = 0; $upload.$limit0 = var$13; $upload.$direct = 0; $upload.$readOnly0 = 0; } else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } $upload = jn_ByteBufferImpl_asIntBuffer($upload); } var$9 = var$2.$data5; jn_IntBuffer_put($upload, var$9, 0, var$9.data.length); $upload.$limit0 = $upload.$position0; $upload.$position0 = 0; $upload.$mark = (-1); var$2 = nlea_EaglerAdapterImpl2_webgl; $vao = nleat_BufferConverter_convertIntBufferUnsigned($upload); var$2.texImage2D(3553, 0, 6408, 128, 128, 0, 6408, 5121, $vao); var$7 = 50; $ptr = 2; case 2: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$(var$7); if ($rt_suspending()) { break main; } var$2 = nle_EarlyLoadScreen_program; if (var$2 !== null) { var$7 = nlea_EaglerAdapterImpl2_currentProgram; var$10 = var$2.$hashcode; if (var$7 != var$10) { nlea_EaglerAdapterImpl2_currentProgram = var$10; nlea_EaglerAdapterImpl2_webgl.useProgram(var$2.$obj); } } var$8 = nlea_EaglerAdapterImpl2_canvas.width; var$11 = nlea_EaglerAdapterImpl2_canvas.height; if (var$8 <= var$11) { $x = 1.0; $y = var$11 / var$8; } else { $x = var$8 / var$11; $y = 1.0; } nleg_EaglerAdapterGL30_glActiveTexture(33984); nleg_EaglerAdapterGL30_glBindTexture0(3553, $tex); nlea_EaglerAdapterImpl2__wglViewport(0, 0, var$8, var$11); nlea_EaglerAdapterImpl2_webgl.clearColor(1.0, 1.0, 1.0, 1.0); nlea_EaglerAdapterImpl2_webgl.clear(16640); var$2 = nle_EarlyLoadScreen_program; var$2 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation(var$2.$obj, "aspect"); if (var$2 === null) $vao = null; else { $vao = new nlea_EaglerAdapterImpl2$UniformGL; $vao.$obj0 = var$2; } if ($vao !== null) nlea_EaglerAdapterImpl2_webgl.uniform2f($vao.$obj0, $x, $y); $vao = new nlea_EaglerAdapterImpl2$BufferArrayGL; $upload = nlea_EaglerAdapterImpl2_webgl.createVertexArray(); $vao.$obj3 = $upload; $vao.$isQuadBufferBound = 0; if (nleg_EaglerAdapterGL30_currentArray !== $vao) { nleg_EaglerAdapterGL30_currentArray = $vao; var$2 = nlea_EaglerAdapterImpl2_webgl; if ($vao === null) $upload = null; var$2.bindVertexArray($upload); } var$2 = nle_EarlyLoadScreen_vbo; $upload = nlea_EaglerAdapterImpl2_webgl; var$2 = var$2 !== null ? var$2.$obj2 : null; $upload.bindBuffer(34962, var$2); nlea_EaglerAdapterImpl2_webgl.enableVertexAttribArray(0); nlea_EaglerAdapterImpl2_webgl.vertexAttribPointer(0, 2, 5126, !!0, 8, 0); nlea_EaglerAdapterImpl2_webgl.drawArrays(4, 0, 6); nlea_EaglerAdapterImpl2_webgl.disableVertexAttribArray(0); var$7 = 0; var$10 = 0; $ptr = 3; case 3: nlea_EaglerAdapterImpl2_updateDisplay(var$7, var$10); if ($rt_suspending()) { break main; } var$7 = 20; $ptr = 4; case 4: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$(var$7); if ($rt_suspending()) { break main; } var$2 = nlea_EaglerAdapterImpl2_webgl; $upload = null; var$2.bindBuffer(34962, $upload); nleg_EaglerAdapterGL30_glBindTexture0(3553, null); var$2 = nlea_EaglerAdapterImpl2_webgl; $upload = $tex.$obj1; var$2.deleteTexture($upload); var$2 = nlea_EaglerAdapterImpl2_webgl; $vao = $vao.$obj3; var$2.deleteVertexArray($vao); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($tex, var$2, $vao, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $upload, var$13, $x, $y, $ptr); }, nle_EarlyLoadScreen__clinit_ = () => { nle_EarlyLoadScreen_vbo = null; nle_EarlyLoadScreen_program = null; }, otjb_TimerHandler = $rt_classWithoutFields(0), nlea_EaglerAdapterImpl2$13 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$13__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$13__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$13(); nlea_EaglerAdapterImpl2$13__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$13_onTimer = $this => { let var$1, $now, $v, $vids; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_videosBuffer.$elementCount ? 0 : 1; a: { if (!var$1) { $now = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $v = nlea_EaglerAdapterImpl2_videosBuffer; if ($v.$cachedValues === null) { $vids = new ju_HashMap$2; $vids.$this$01 = $v; $v.$cachedValues = $vids; } $vids = $v.$cachedValues.$iterator(); while (true) { if (!$vids.$hasNext()) break a; $v = $vids.$next(); if (Long_gt(Long_sub($now, $v.$requestedTime), Long_fromInt($v.$ttl))) { $v.$videoElement.src = ""; $vids.$remove0(); } } } } }, nlea_EaglerAdapterImpl2$13_onTimer$exported$0 = var$0 => { nlea_EaglerAdapterImpl2$13_onTimer(var$0); }, nleat_SelfDefence = $rt_classWithoutFields(), nleat_SelfDefence_canvas = null, nleat_SelfDefence_ignoreNextWindow = 0, nleat_SelfDefence_capturedChildWindows = null, nleat_SelfDefence__init_ = $this => { return; }, nleat_SelfDefence__init_0 = () => { let var_0 = new nleat_SelfDefence(); nleat_SelfDefence__init_(var_0); return var_0; }, nleat_SelfDefence_init = $legitCanvas => { let $i, var$3; nleat_SelfDefence_canvas = $legitCanvas; $i = 0; while ($i < 15) { $legitCanvas = new nleat_SelfDefence$1; var$3 = Long_toNumber(Long_fromNumber(jl_Math_randomImpl() * 25000.0)); setTimeout(otji_JS_function($legitCanvas, "onTimer"), var$3); $i = $i + 1 | 0; } nleat_SelfDefence_injectWindowCapture$js_body$_1(otji_JS_function(new nleat_SelfDefence$2, "call")); }, nleat_SelfDefence_run = $win => { let $$je; a: { try { nleat_SelfDefence_run0($win); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } }, nleat_SelfDefence_run0 = $win => { let $frms, $i, $l, $frm, $$je; $frms = $win.document; a: { try { nleat_SelfDefence_run00($frms); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } $frms = $win.frames; $i = 0; $l = $frms.length; while ($i < $l) { $win = $frms[$i]; $frm = $win === null ? null : !($win instanceof $rt_objcls()) ? $win : $win[$rt_jso_marker] === true ? $win : $win.$js; if (nleat_SelfDefence_checkFrame$js_body$_6($frm) ? 1 : 0) { $win = $frm.contentWindow; b: { try { nleat_SelfDefence_run0($win); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } } $i = $i + 1 | 0; } }, nleat_SelfDefence_run00 = $doc => { let $els, $i, $l, $canv; $els = $doc.getElementsByTagName("canvas"); $i = 0; $l = $els.length; while ($i < $l) { $doc = $els[$i]; $canv = $doc === null ? null : !($doc instanceof $rt_objcls()) ? $doc : $doc[$rt_jso_marker] === true ? $doc : $doc.$js; if (nleat_SelfDefence_canvas !== $canv && $canv.parentNode !== null) $canv.parentNode.removeChild($canv); $i = $i + 1 | 0; } }, nleat_SelfDefence__clinit_ = () => { let var$1; nleat_SelfDefence_canvas = null; nleat_SelfDefence_ignoreNextWindow = 0; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nleat_SelfDefence_capturedChildWindows = var$1; }, nleat_SelfDefence_injectWindowCapture$js_body$_1 = var$1 => { const ccb = var$1; const _open = window.open; window.open = (url, name, params) => { var rw = _open(url, name, params); ccb(rw); return rw; }; }, nleat_SelfDefence_checkFrame$js_body$_6 = var$1 => { try { var g = var$1.contentWindow; g["fuck_off"] = "dick"; return g["fuck_off"] === "dick"; } catch (e){ return false; } }, otj_JSExceptions = $rt_classWithoutFields(); let otj_JSExceptions__init_ = $this => { return; }, otj_JSExceptions__init_0 = () => { let var_0 = new otj_JSExceptions(); otj_JSExceptions__init_(var_0); return var_0; }, nle_EaglerProfile = $rt_classWithoutFields(), nle_EaglerProfile_username = null, nle_EaglerProfile_presetSkinId = 0, nle_EaglerProfile_customSkinId = 0, nle_EaglerProfile_presetCapeId = 0, nle_EaglerProfile_customCapeId = 0, nle_EaglerProfile_newSkinNotificationIndex = 0, nle_EaglerProfile_SKIN_DATA_SIZE = null, nle_EaglerProfile_CAPE_DATA_SIZE = null, nle_EaglerProfile_skins = null, nle_EaglerProfile_capes = null, nle_EaglerProfile_rand = null, nle_EaglerProfile_$callClinit = () => { nle_EaglerProfile_$callClinit = $rt_eraseClinit(nle_EaglerProfile); nle_EaglerProfile__clinit_(); }, nle_EaglerProfile__init_ = $this => { nle_EaglerProfile_$callClinit(); }, nle_EaglerProfile__init_0 = () => { let var_0 = new nle_EaglerProfile(); nle_EaglerProfile__init_(var_0); return var_0; }, nle_EaglerProfile_getSkinPacket = () => { let var$1, var$2, var$3, var$4, $d, var$6, $d2, $sz, var$9; nle_EaglerProfile_$callClinit(); var$1 = nle_EaglerProfile_presetSkinId; if (var$1 != (-1)) return $rt_createByteArrayFromData([4, var$1 << 24 >> 24]); var$2 = nle_EaglerProfile_skins; var$1 = nle_EaglerProfile_customSkinId; if (var$1 >= 0) { var$3 = $rt_compare(var$1, var$2.$size0); if (var$3 < 0) { var$4 = var$2.$array.data; $d = var$4[var$1].$data11; if ($d === null) return $rt_createByteArrayFromData([4, 0]); var$6 = $d.data.length; $d2 = $rt_createByteArray(1 + var$6 | 0); $sz = 0; a: { while (true) { var$9 = nle_EaglerProfile_SKIN_DATA_SIZE.data; if ($sz >= var$9.length) { $sz = (-1); break a; } if (var$6 == var$9[$sz]) break; $sz = $sz + 1 | 0; } } if ($sz < 0) return $rt_createByteArrayFromData([4, 0]); var$9 = $d2.data; var$9[0] = $sz << 24 >> 24; if (var$9[0] == 1) { if (!(var$1 >= 0 && var$3 < 0)) { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } else if (var$4[var$1].$slim) var$9[0] = 5; } if (var$9[0] == 3) { if (!(var$1 >= 0 && var$3 < 0)) { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } else if (var$4[var$1].$slim) var$9[0] = 6; } jl_System_fastArraycopy($d, 0, $d2, 1, var$6); return $d2; } } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, nle_EaglerProfile_getCapePacket = () => { let $sf, var$2, var$3, $sz, $d, $d2, var$7; nle_EaglerProfile_$callClinit(); $sf = nms_GameSettings_getSkinLayers(nms_Minecraft_theMinecraft.$gameSettings); var$2 = nle_EaglerProfile_presetCapeId; if (var$2 != (-1)) return $rt_createByteArrayFromData([2, $sf << 24 >> 24, var$2 << 24 >> 24]); var$3 = nle_EaglerProfile_capes; $sz = nle_EaglerProfile_customCapeId; if ($sz >= 0 && $sz < var$3.$size0) { $d = var$3.$array.data[$sz].$data15; if ($d === null) return $rt_createByteArrayFromData([2, $sf << 24 >> 24, 0]); var$2 = $d.data.length; $d2 = $rt_createByteArray(2 + var$2 | 0); $sz = 0; a: { while (true) { var$7 = nle_EaglerProfile_CAPE_DATA_SIZE.data; if ($sz >= var$7.length) { $sz = (-1); break a; } if (var$2 == var$7[$sz]) break; $sz = $sz + 1 | 0; } } if ($sz >= 0) { var$7 = $d2.data; var$7[0] = $sz << 24 >> 24; var$7[1] = $sf << 24 >> 24; jl_System_fastArraycopy($d, 0, $d2, 2, var$2); return $d2; } return $rt_createByteArrayFromData([2, $sf << 24 >> 24, 0]); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); }, nle_EaglerProfile_addSkin = ($name, $data, $slim) => { let $j, $l, var$6, $w, $t, var$9, $h, $im, var$12, $i; nle_EaglerProfile_$callClinit(); $j = 0; $l = nle_EaglerProfile_skins.$size0; a: { while (true) { if ($j >= $l) { $j = (-1); break a; } var$6 = nle_EaglerProfile_skins; if ($j < 0) break; if ($j >= var$6.$size0) break; if (jl_String_equalsIgnoreCase(var$6.$array.data[$j].$name16, $name)) break a; $j = $j + 1 | 0; } $name = new jl_IndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $w = $data.data.length; $t = 0; b: { while (true) { var$9 = nle_EaglerProfile_SKIN_DATA_SIZE.data; if ($t >= var$9.length) { $t = (-1); break b; } if ($w == var$9[$t]) break; $t = $t + 1 | 0; } } if ($t == (-1)) return (-1); c: { d: { switch ($t) { case 0: break d; case 1: case 5: break; default: break d; } $w = 64; $h = 64; break c; } $w = 64; $h = 32; } e: { f: { $im = nms_RenderEngine_setupTextureRaw(nms_Minecraft_theMinecraft.$renderEngine, $data, $w, $h); if ($j == (-1)) { var$6 = nle_EaglerProfile_skins; $j = var$6.$size0; var$12 = new nle_EaglerProfile$EaglerProfileSkin; var$12.$name16 = $name; var$12.$data11 = $data; var$12.$slim = $slim; var$12.$glTex = $im; ju_ArrayList_ensureCapacity(var$6, $j + 1 | 0); $data = var$6.$array.data; $i = var$6.$size0; var$6.$size0 = $i + 1 | 0; $data[$i] = var$12; var$6.$modCount = var$6.$modCount + 1 | 0; } else { $name = nle_EaglerProfile_skins; if ($j >= 0) { $i = $rt_compare($j, $name.$size0); if ($i < 0) { var$9 = $name.$array.data; var$9[$j].$glTex = $im; if ($j >= 0 && $i < 0) { var$9[$j].$data11 = $data; if ($j < 0) break e; if ($i >= 0) break e; var$9[$j].$slim = $slim; break f; } $name = new jl_IndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } } $name = new jl_IndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } } return $j; } $name = new jl_IndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); }, nle_EaglerProfile_addCape = ($name, $data) => { let $j, $l, var$5, $w, $t, var$8, $im, var$10, $i; nle_EaglerProfile_$callClinit(); $j = 0; $l = nle_EaglerProfile_capes.$size0; a: { while (true) { if ($j >= $l) { $j = (-1); break a; } var$5 = nle_EaglerProfile_capes; if ($j < 0) break; if ($j >= var$5.$size0) break; if (jl_String_equalsIgnoreCase(var$5.$array.data[$j].$name18, $name)) break a; $j = $j + 1 | 0; } $name = new jl_IndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $w = $data.data.length; $t = 0; b: { while (true) { var$8 = nle_EaglerProfile_CAPE_DATA_SIZE.data; if ($t >= var$8.length) { $t = (-1); break b; } if ($w == var$8[$t]) break; $t = $t + 1 | 0; } } if ($t == (-1)) return (-1); switch ($t) { case 0: break; default: } c: { d: { $im = nms_RenderEngine_setupTextureRaw(nms_Minecraft_theMinecraft.$renderEngine, $data, 32, 32); if ($j == (-1)) { var$5 = nle_EaglerProfile_capes; $j = var$5.$size0; var$10 = new nle_EaglerProfile$EaglerProfileCape; var$10.$name18 = $name; var$10.$data15 = $data; var$10.$glTex0 = $im; ju_ArrayList_ensureCapacity(var$5, $j + 1 | 0); $data = var$5.$array.data; $w = var$5.$size0; var$5.$size0 = $w + 1 | 0; $data[$w] = var$10; var$5.$modCount = var$5.$modCount + 1 | 0; } else { $name = nle_EaglerProfile_capes; if ($j >= 0) { $i = $rt_compare($j, $name.$size0); if ($i < 0) { var$8 = $name.$array.data; var$8[$j].$glTex0 = $im; if ($j < 0) break c; if ($i >= 0) break c; var$8[$j].$data15 = $data; break d; } } $name = new jl_IndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } } return $j; } $name = new jl_IndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); }, nle_EaglerProfile_loadFromStorage = () => { let $s, $s2, var$3, var$4, var$5, $k, var$7, $n, var$9, $ct, var$11; nle_EaglerProfile_$callClinit(); $s = nle_LocalStorageManager_profileSettingsStorage; $s2 = $s.$tagMap; if ($s2.$elementCount ? 0 : 1) { nle_GuiScreenEditProfile_$callClinit(); nle_EaglerProfile_newSkinNotificationIndex = nle_GuiScreenEditProfile_newDefaultNotice; } else { a: { if (!$rt_s(504).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(504).$nativeString.length) break a; $rt_s(504).$hashCode1 = (31 * $rt_s(504).$hashCode1 | 0) + $rt_s(504).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(504).$hashCode1; var$5 = $s2.$elementData.data; $s2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s2 !== null) { if ($s2.$origKeyHash == var$4) { b: { $k = $s2.$key; if ($rt_s(504) !== $k) { if ($rt_s(504) !== $k) { if ($k instanceof jl_String) { $k = $k; var$3 = $rt_s(504).$nativeString !== $k.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } $s2 = $s2.$next3; } if (!($s2 === null ? 0 : 1)) var$3 = 0; else { $s = $s.$tagMap; if ($rt_s(504) !== null) { c: { if (!$rt_s(504).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(504).$nativeString.length) break c; $rt_s(504).$hashCode1 = (31 * $rt_s(504).$hashCode1 | 0) + $rt_s(504).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(504).$hashCode1; var$5 = $s.$elementData.data; $s = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s !== null) { if ($s.$origKeyHash == var$4) { d: { $s2 = $s.$key; if ($rt_s(504) !== $s2) { if ($rt_s(504) !== $s2) { if ($s2 instanceof jl_String) { $s2 = $s2; var$3 = $rt_s(504).$nativeString !== $s2.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } $s = $s.$next3; } } else { $s = $s.$elementData.data[0]; while ($s !== null && $s.$key !== null) { $s = $s.$next3; } } var$3 = ($s === null ? null : $s.$value1).$data0; } e: { nle_EaglerProfile_presetSkinId = var$3; $s = nle_LocalStorageManager_profileSettingsStorage; $s2 = $s.$tagMap; if (!$rt_s(505).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(505).$nativeString.length) break e; $rt_s(505).$hashCode1 = (31 * $rt_s(505).$hashCode1 | 0) + $rt_s(505).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(505).$hashCode1; var$5 = $s2.$elementData.data; $s2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s2 !== null) { if ($s2.$origKeyHash == var$4) { f: { $k = $s2.$key; if ($rt_s(505) !== $k) { if ($rt_s(505) === $k) var$3 = 1; else if (!($k instanceof jl_String)) var$3 = 0; else { $k = $k; var$3 = $rt_s(505).$nativeString !== $k.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } $s2 = $s2.$next3; } if (!($s2 === null ? 0 : 1)) var$3 = 0; else { $s = $s.$tagMap; if ($rt_s(505) === null) { $s = $s.$elementData.data[0]; while ($s !== null && $s.$key !== null) { $s = $s.$next3; } } else { g: { if (!$rt_s(505).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(505).$nativeString.length) break g; $rt_s(505).$hashCode1 = (31 * $rt_s(505).$hashCode1 | 0) + $rt_s(505).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(505).$hashCode1; var$5 = $s.$elementData.data; $s = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s !== null) { if ($s.$origKeyHash == var$4) { h: { $s2 = $s.$key; if ($rt_s(505) !== $s2) { if ($rt_s(505) === $s2) var$3 = 1; else if (!($s2 instanceof jl_String)) var$3 = 0; else { $s2 = $s2; var$3 = $rt_s(505).$nativeString !== $s2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } $s = $s.$next3; } } var$3 = ($s === null ? null : $s.$value1).$data0; } i: { nle_EaglerProfile_customSkinId = var$3; $s = nle_LocalStorageManager_profileSettingsStorage; $s2 = $s.$tagMap; if (!$rt_s(506).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(506).$nativeString.length) break i; $rt_s(506).$hashCode1 = (31 * $rt_s(506).$hashCode1 | 0) + $rt_s(506).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(506).$hashCode1; var$5 = $s2.$elementData.data; $s2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s2 !== null) { if ($s2.$origKeyHash == var$4) { j: { $k = $s2.$key; if ($rt_s(506) !== $k) { if ($rt_s(506) === $k) var$3 = 1; else if (!($k instanceof jl_String)) var$3 = 0; else { $k = $k; var$3 = $rt_s(506).$nativeString !== $k.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } $s2 = $s2.$next3; } if (!($s2 === null ? 0 : 1)) var$3 = 0; else { $s = $s.$tagMap; if ($rt_s(506) !== null) { k: { if (!$rt_s(506).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(506).$nativeString.length) break k; $rt_s(506).$hashCode1 = (31 * $rt_s(506).$hashCode1 | 0) + $rt_s(506).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(506).$hashCode1; var$5 = $s.$elementData.data; $s = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s !== null) { if ($s.$origKeyHash == var$4) { l: { $s2 = $s.$key; if ($rt_s(506) !== $s2) { if ($rt_s(506) === $s2) var$3 = 1; else if ($s2 instanceof jl_String) { $s2 = $s2; var$3 = $rt_s(506).$nativeString !== $s2.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } $s = $s.$next3; } } else { $s = $s.$elementData.data[0]; while ($s !== null && $s.$key !== null) { $s = $s.$next3; } } var$3 = ($s === null ? null : $s.$value1).$data0; } m: { nle_EaglerProfile_presetCapeId = var$3; $s = nle_LocalStorageManager_profileSettingsStorage; $s2 = $s.$tagMap; if (!$rt_s(507).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(507).$nativeString.length) break m; $rt_s(507).$hashCode1 = (31 * $rt_s(507).$hashCode1 | 0) + $rt_s(507).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(507).$hashCode1; var$5 = $s2.$elementData.data; $s2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s2 !== null) { if ($s2.$origKeyHash == var$4) { n: { $k = $s2.$key; if ($rt_s(507) !== $k) { if ($rt_s(507) !== $k) { if ($k instanceof jl_String) { $k = $k; var$3 = $rt_s(507).$nativeString !== $k.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break n; } } var$3 = 1; } if (var$3) break; } $s2 = $s2.$next3; } if (!($s2 === null ? 0 : 1)) var$3 = 0; else { $s = $s.$tagMap; if ($rt_s(507) === null) { $s = $s.$elementData.data[0]; while ($s !== null && $s.$key !== null) { $s = $s.$next3; } } else { o: { if (!$rt_s(507).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(507).$nativeString.length) break o; $rt_s(507).$hashCode1 = (31 * $rt_s(507).$hashCode1 | 0) + $rt_s(507).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(507).$hashCode1; var$5 = $s.$elementData.data; $s = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s !== null) { if ($s.$origKeyHash == var$4) { p: { $s2 = $s.$key; if ($rt_s(507) !== $s2) { if ($rt_s(507) === $s2) var$3 = 1; else if (!($s2 instanceof jl_String)) var$3 = 0; else { $s2 = $s2; var$3 = $rt_s(507).$nativeString !== $s2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break p; } } var$3 = 1; } if (var$3) break; } $s = $s.$next3; } } var$3 = ($s === null ? null : $s.$value1).$data0; } q: { nle_EaglerProfile_customCapeId = var$3; $s = nle_LocalStorageManager_profileSettingsStorage; $s2 = $s.$tagMap; if (!$rt_s(180).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(180).$nativeString.length) break q; $rt_s(180).$hashCode1 = (31 * $rt_s(180).$hashCode1 | 0) + $rt_s(180).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(180).$hashCode1; var$5 = $s2.$elementData.data; $s2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s2 !== null) { if ($s2.$origKeyHash == var$4) { r: { $k = $s2.$key; if ($rt_s(180) !== $k) { if ($rt_s(180) === $k) var$3 = 1; else if (!($k instanceof jl_String)) var$3 = 0; else { $k = $k; var$3 = $rt_s(180).$nativeString !== $k.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break r; } } var$3 = 1; } if (var$3) break; } $s2 = $s2.$next3; } if (!($s2 === null ? 0 : 1)) $s = $rt_s(18); else { $s = $s.$tagMap; if ($rt_s(180) !== null) { s: { if (!$rt_s(180).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(180).$nativeString.length) break s; $rt_s(180).$hashCode1 = (31 * $rt_s(180).$hashCode1 | 0) + $rt_s(180).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(180).$hashCode1; var$5 = $s.$elementData.data; $s = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s !== null) { if ($s.$origKeyHash == var$4) { t: { $s2 = $s.$key; if ($rt_s(180) !== $s2) { if ($rt_s(180) !== $s2) { if ($s2 instanceof jl_String) { $s2 = $s2; var$3 = $rt_s(180).$nativeString !== $s2.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break t; } } var$3 = 1; } if (var$3) break; } $s = $s.$next3; } } else { $s = $s.$elementData.data[0]; while ($s !== null && $s.$key !== null) { $s = $s.$next3; } } $s = ($s === null ? null : $s.$value1).$data1; } u: { nle_EaglerProfile_username = $s; $s = nle_LocalStorageManager_profileSettingsStorage; $s2 = $s.$tagMap; if (!$rt_s(508).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(508).$nativeString.length) break u; $rt_s(508).$hashCode1 = (31 * $rt_s(508).$hashCode1 | 0) + $rt_s(508).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(508).$hashCode1; var$5 = $s2.$elementData.data; $s2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s2 !== null) { if ($s2.$origKeyHash == var$4) { v: { $k = $s2.$key; if ($rt_s(508) !== $k) { if ($rt_s(508) !== $k) { if ($k instanceof jl_String) { $k = $k; var$3 = $rt_s(508).$nativeString !== $k.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break v; } } var$3 = 1; } if (var$3) break; } $s2 = $s2.$next3; } if (!($s2 === null ? 0 : 1)) var$3 = 0; else { $s = $s.$tagMap; if ($rt_s(508) === null) { $s = $s.$elementData.data[0]; while ($s !== null && $s.$key !== null) { $s = $s.$next3; } } else { w: { if (!$rt_s(508).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(508).$nativeString.length) break w; $rt_s(508).$hashCode1 = (31 * $rt_s(508).$hashCode1 | 0) + $rt_s(508).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(508).$hashCode1; var$5 = $s.$elementData.data; $s = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s !== null) { if ($s.$origKeyHash == var$4) { x: { $s2 = $s.$key; if ($rt_s(508) !== $s2) { if ($rt_s(508) === $s2) var$3 = 1; else if (!($s2 instanceof jl_String)) var$3 = 0; else { $s2 = $s2; var$3 = $rt_s(508).$nativeString !== $s2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break x; } } var$3 = 1; } if (var$3) break; } $s = $s.$next3; } } var$3 = ($s === null ? null : $s.$value1).$data0; } nle_EaglerProfile_newSkinNotificationIndex = var$3; if (!var$3) { nle_GuiScreenEditProfile_$callClinit(); nle_EaglerProfile_newSkinNotificationIndex = nle_GuiScreenEditProfile_newDefaultNotice; } y: { var$7 = nle_LocalStorageManager_profileSettingsStorage; $s2 = var$7.$tagMap; if (!$rt_s(509).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(509).$nativeString.length) break y; $rt_s(509).$hashCode1 = (31 * $rt_s(509).$hashCode1 | 0) + $rt_s(509).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(509).$hashCode1; var$5 = $s2.$elementData.data; $s2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s2 !== null) { if ($s2.$origKeyHash == var$4) { z: { $k = $s2.$key; if ($rt_s(509) !== $k) { if ($rt_s(509) !== $k) { if ($k instanceof jl_String) { $k = $k; var$3 = $rt_s(509).$nativeString !== $k.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break z; } } var$3 = 1; } if (var$3) break; } $s2 = $s2.$next3; } if ($s2 === null ? 0 : 1) { var$7 = var$7.$tagMap; if ($rt_s(509) !== null) { ba: { if (!$rt_s(509).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(509).$nativeString.length) break ba; $rt_s(509).$hashCode1 = (31 * $rt_s(509).$hashCode1 | 0) + $rt_s(509).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(509).$hashCode1; var$5 = var$7.$elementData.data; var$7 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$4) { bb: { $s2 = var$7.$key; if ($rt_s(509) !== $s2) { if ($rt_s(509) !== $s2) { if ($s2 instanceof jl_String) { $s2 = $s2; var$3 = $rt_s(509).$nativeString !== $s2.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break bb; } } var$3 = 1; } if (var$3) break; } var$7 = var$7.$next3; } } else { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } $n = var$7 === null ? null : var$7.$value1; } else { $n = new nms_NBTTagCompound; if ($rt_s(509) !== null) $n.$name = $rt_s(509); else $n.$name = $rt_s(18); $n.$tagMap = ju_HashMap__init_(); } var$7 = $n.$tagMap; if (var$7.$cachedKeySet === null) { $s = new ju_HashMap$1; $s.$this$0 = var$7; var$7.$cachedKeySet = $s; } var$7 = var$7.$cachedKeySet.$iterator(); while (var$7.$hasNext()) { $s2 = var$7.$next(); $s = $n.$tagMap; if ($s2 !== null) { bc: { if (!$s2.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $s2.$nativeString.length) break bc; $s2.$hashCode1 = (31 * $s2.$hashCode1 | 0) + $s2.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $s2.$hashCode1; var$5 = $s.$elementData.data; $s = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s !== null) { if ($s.$origKeyHash == var$4) { bd: { $k = $s.$key; if ($s2 !== $k) { if ($s2 === $k) var$3 = 1; else if (!($k instanceof jl_String)) var$3 = 0; else { $k = $k; var$3 = $s2.$nativeString !== $k.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bd; } } var$3 = 1; } if (var$3) break; } $s = $s.$next3; } } else { $s = $s.$elementData.data[0]; while ($s !== null && $s.$key !== null) { $s = $s.$next3; } } $k = $s === null ? null : $s.$value1; if ($k.$getId() == 7) nle_EaglerProfile_addSkin($s2, $k.$byteArray, 0); else if ($k.$getId() == 10) { be: { $k = $k; var$9 = $k.$tagMap; if (!$rt_s(510).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(510).$nativeString.length) break be; $rt_s(510).$hashCode1 = (31 * $rt_s(510).$hashCode1 | 0) + $rt_s(510).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(510).$hashCode1; var$5 = var$9.$elementData.data; var$9 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$4) { bf: { $ct = var$9.$key; if ($rt_s(510) !== $ct) { if ($rt_s(510) === $ct) var$3 = 1; else if (!($ct instanceof jl_String)) var$3 = 0; else { $ct = $ct; var$3 = $rt_s(510).$nativeString !== $ct.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bf; } } var$3 = 1; } if (var$3) break; } var$9 = var$9.$next3; } if (!(var$9 === null ? 0 : 1)) var$11 = $rt_createByteArray(0); else { var$9 = $k.$tagMap; if ($rt_s(510) === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { bg: { if (!$rt_s(510).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(510).$nativeString.length) break bg; $rt_s(510).$hashCode1 = (31 * $rt_s(510).$hashCode1 | 0) + $rt_s(510).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(510).$hashCode1; var$5 = var$9.$elementData.data; var$9 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$4) { bh: { $ct = var$9.$key; if ($rt_s(510) !== $ct) { if ($rt_s(510) === $ct) var$3 = 1; else if (!($ct instanceof jl_String)) var$3 = 0; else { $ct = $ct; var$3 = $rt_s(510).$nativeString !== $ct.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bh; } } var$3 = 1; } if (var$3) break; } var$9 = var$9.$next3; } } var$11 = (var$9 === null ? null : var$9.$value1).$byteArray; } bi: { var$9 = $k.$tagMap; if (!$rt_s(511).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(511).$nativeString.length) break bi; $rt_s(511).$hashCode1 = (31 * $rt_s(511).$hashCode1 | 0) + $rt_s(511).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(511).$hashCode1; var$5 = var$9.$elementData.data; var$9 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$4) { bj: { $ct = var$9.$key; if ($rt_s(511) !== $ct) { if ($rt_s(511) === $ct) var$3 = 1; else if (!($ct instanceof jl_String)) var$3 = 0; else { $ct = $ct; var$3 = $rt_s(511).$nativeString !== $ct.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bj; } } var$3 = 1; } if (var$3) break; } var$9 = var$9.$next3; } if (!(var$9 === null ? 0 : 1)) var$3 = 0; else { $k = $k.$tagMap; if ($rt_s(511) === null) { $k = $k.$elementData.data[0]; while ($k !== null && $k.$key !== null) { $k = $k.$next3; } } else { bk: { if (!$rt_s(511).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(511).$nativeString.length) break bk; $rt_s(511).$hashCode1 = (31 * $rt_s(511).$hashCode1 | 0) + $rt_s(511).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(511).$hashCode1; var$5 = $k.$elementData.data; $k = var$5[var$4 & (var$5.length - 1 | 0)]; while ($k !== null) { if ($k.$origKeyHash == var$4) { bl: { var$9 = $k.$key; if ($rt_s(511) !== var$9) { if ($rt_s(511) === var$9) var$3 = 1; else if (!(var$9 instanceof jl_String)) var$3 = 0; else { var$9 = var$9; var$3 = $rt_s(511).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bl; } } var$3 = 1; } if (var$3) break; } $k = $k.$next3; } } var$3 = ($k === null ? null : $k.$value1).$data; } nle_EaglerProfile_addSkin($s2, var$11, !var$3 ? 0 : 1); } } bm: { var$7 = nle_LocalStorageManager_profileSettingsStorage; $s2 = var$7.$tagMap; if (!$rt_s(512).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(512).$nativeString.length) break bm; $rt_s(512).$hashCode1 = (31 * $rt_s(512).$hashCode1 | 0) + $rt_s(512).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(512).$hashCode1; var$5 = $s2.$elementData.data; $s2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s2 !== null) { if ($s2.$origKeyHash == var$4) { bn: { $k = $s2.$key; if ($rt_s(512) !== $k) { if ($rt_s(512) !== $k) { if ($k instanceof jl_String) { $k = $k; var$3 = $rt_s(512).$nativeString !== $k.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break bn; } } var$3 = 1; } if (var$3) break; } $s2 = $s2.$next3; } if ($s2 === null ? 0 : 1) { var$7 = var$7.$tagMap; if ($rt_s(512) !== null) { bo: { if (!$rt_s(512).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(512).$nativeString.length) break bo; $rt_s(512).$hashCode1 = (31 * $rt_s(512).$hashCode1 | 0) + $rt_s(512).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(512).$hashCode1; var$5 = var$7.$elementData.data; var$7 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$4) { bp: { $s2 = var$7.$key; if ($rt_s(512) !== $s2) { if ($rt_s(512) === $s2) var$3 = 1; else if (!($s2 instanceof jl_String)) var$3 = 0; else { $s2 = $s2; var$3 = $rt_s(512).$nativeString !== $s2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bp; } } var$3 = 1; } if (var$3) break; } var$7 = var$7.$next3; } } else { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } $n = var$7 === null ? null : var$7.$value1; } else { $n = new nms_NBTTagCompound; if ($rt_s(512) !== null) $n.$name = $rt_s(512); else $n.$name = $rt_s(18); $n.$tagMap = ju_HashMap__init_(); } var$7 = $n.$tagMap; if (var$7.$cachedKeySet === null) { $s = new ju_HashMap$1; $s.$this$0 = var$7; var$7.$cachedKeySet = $s; } var$7 = var$7.$cachedKeySet.$iterator(); while (var$7.$hasNext()) { $s2 = var$7.$next(); $s = $n.$tagMap; if ($s2 === null) { $s = $s.$elementData.data[0]; while ($s !== null && $s.$key !== null) { $s = $s.$next3; } } else { bq: { if (!$s2.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $s2.$nativeString.length) break bq; $s2.$hashCode1 = (31 * $s2.$hashCode1 | 0) + $s2.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $s2.$hashCode1; var$5 = $s.$elementData.data; $s = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s !== null) { if ($s.$origKeyHash == var$4) { br: { $k = $s.$key; if ($s2 !== $k) { if ($s2 === $k) var$3 = 1; else if (!($k instanceof jl_String)) var$3 = 0; else { $k = $k; var$3 = $s2.$nativeString !== $k.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break br; } } var$3 = 1; } if (var$3) break; } $s = $s.$next3; } } if (!($s === null ? 0 : 1)) { $ct = new nms_NBTTagCompound; if ($s2 !== null) $ct.$name = $s2; else $ct.$name = $rt_s(18); $ct.$tagMap = ju_HashMap__init_(); } else { $s = $n.$tagMap; if ($s2 === null) { $s = $s.$elementData.data[0]; while ($s !== null && $s.$key !== null) { $s = $s.$next3; } } else { bs: { if (!$s2.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $s2.$nativeString.length) break bs; $s2.$hashCode1 = (31 * $s2.$hashCode1 | 0) + $s2.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $s2.$hashCode1; var$5 = $s.$elementData.data; $s = var$5[var$4 & (var$5.length - 1 | 0)]; while ($s !== null) { if ($s.$origKeyHash == var$4) { bt: { $k = $s.$key; if ($s2 !== $k) { if ($s2 === $k) var$3 = 1; else if (!($k instanceof jl_String)) var$3 = 0; else { $k = $k; var$3 = $s2.$nativeString !== $k.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bt; } } var$3 = 1; } if (var$3) break; } $s = $s.$next3; } } $ct = $s === null ? null : $s.$value1; } bu: { $k = $ct.$tagMap; if (!$rt_s(510).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(510).$nativeString.length) break bu; $rt_s(510).$hashCode1 = (31 * $rt_s(510).$hashCode1 | 0) + $rt_s(510).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(510).$hashCode1; var$5 = $k.$elementData.data; $k = var$5[var$4 & (var$5.length - 1 | 0)]; while ($k !== null) { if ($k.$origKeyHash == var$4) { bv: { var$9 = $k.$key; if ($rt_s(510) !== var$9) { if ($rt_s(510) === var$9) var$3 = 1; else if (!(var$9 instanceof jl_String)) var$3 = 0; else { var$9 = var$9; var$3 = $rt_s(510).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bv; } } var$3 = 1; } if (var$3) break; } $k = $k.$next3; } if (!($k === null ? 0 : 1)) var$5 = $rt_createByteArray(0); else { $k = $ct.$tagMap; if ($rt_s(510) === null) { $k = $k.$elementData.data[0]; while ($k !== null && $k.$key !== null) { $k = $k.$next3; } } else { bw: { if (!$rt_s(510).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(510).$nativeString.length) break bw; $rt_s(510).$hashCode1 = (31 * $rt_s(510).$hashCode1 | 0) + $rt_s(510).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(510).$hashCode1; var$5 = $k.$elementData.data; $k = var$5[var$4 & (var$5.length - 1 | 0)]; while ($k !== null) { if ($k.$origKeyHash == var$4) { bx: { var$9 = $k.$key; if ($rt_s(510) !== var$9) { if ($rt_s(510) === var$9) var$3 = 1; else if (!(var$9 instanceof jl_String)) var$3 = 0; else { var$9 = var$9; var$3 = $rt_s(510).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bx; } } var$3 = 1; } if (var$3) break; } $k = $k.$next3; } } var$5 = ($k === null ? null : $k.$value1).$byteArray; } nle_EaglerProfile_addCape($s2, var$5); } } }, nle_EaglerProfile__clinit_ = () => { let var$1, $usernameDefaultWords, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; nle_EaglerProfile_newSkinNotificationIndex = 0; nle_EaglerProfile_SKIN_DATA_SIZE = $rt_createIntArrayFromData([8192, 16384, (-9), (-9), 1, 16384, (-9)]); nle_EaglerProfile_CAPE_DATA_SIZE = $rt_createIntArrayFromData([4096, (-9), 1]); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nle_EaglerProfile_skins = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nle_EaglerProfile_capes = var$1; $usernameDefaultWords = $rt_createArray(jl_String, 16).data; $usernameDefaultWords[0] = $rt_s(513); $usernameDefaultWords[1] = $rt_s(513); $usernameDefaultWords[2] = $rt_s(514); $usernameDefaultWords[3] = $rt_s(514); $usernameDefaultWords[4] = $rt_s(515); $usernameDefaultWords[5] = $rt_s(516); $usernameDefaultWords[6] = $rt_s(517); $usernameDefaultWords[7] = $rt_s(518); $usernameDefaultWords[8] = $rt_s(519); $usernameDefaultWords[9] = $rt_s(520); $usernameDefaultWords[10] = $rt_s(521); $usernameDefaultWords[11] = $rt_s(522); $usernameDefaultWords[12] = $rt_s(522); $usernameDefaultWords[13] = $rt_s(523); $usernameDefaultWords[14] = $rt_s(524); $usernameDefaultWords[15] = $rt_s(525); var$1 = new nle_EaglercraftRandom; var$3 = Long_fromNumber(performance.now() * 1000000.0); var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = var$3; nle_EaglerProfile_rand = var$1; while (true) { var$1 = nle_EaglerProfile_rand; var$4 = $usernameDefaultWords.length; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); var$7 = var$4 - 1 | 0; var$8 = var$4 & var$7; if (!var$8) var$9 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$4), Long_fromInt(var$6)), 31)); else while (true) { var$9 = var$6 % var$4 | 0; if (((var$6 - var$9 | 0) + var$7 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); } var$10 = $usernameDefaultWords[var$9]; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); if (!var$8) var$8 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$4), Long_fromInt(var$6)), 31)); else while (true) { var$8 = var$6 % var$4 | 0; if (((var$6 - var$8 | 0) + var$7 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); } var$11 = $usernameDefaultWords[var$8]; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$8 = Long_lo(Long_shru(var$5, 17)); while (true) { var$6 = var$8 % 90 | 0; if (((var$8 - var$6 | 0) + 89 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$8 = Long_lo(Long_shru(var$5, 17)); } var$4 = 10 + var$6 | 0; var$1 = new jl_StringBuilder; var$1.$buffer = $rt_createCharArray(16); var$7 = var$1.$length0; if (var$10 === null) var$10 = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, var$7, var$10); var$7 = var$1.$length0; if (var$11 === null) var$11 = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, var$7, var$11); jl_AbstractStringBuilder_insert0(var$1, var$1.$length0, var$4, 10); var$10 = new jl_String; var$12 = var$1.$buffer; var$13 = var$12.data; var$7 = var$1.$length0; var$8 = var$13.length; if (var$7 < 0) break; if (var$7 > (var$8 - 0 | 0)) break; var$10.$nativeString = $rt_charArrayToString(var$12.data, 0, var$7); nle_EaglerProfile_username = var$10; if (var$10.$nativeString.length > 16) continue; else { var$1 = nle_EaglerProfile_rand; nle_GuiScreenEditProfile_$callClinit(); var$4 = nle_GuiScreenEditProfile_defaultOptions.data.length; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$8 = Long_lo(Long_shru(var$5, 17)); var$7 = var$4 - 1 | 0; if (!(var$4 & var$7)) var$14 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$4), Long_fromInt(var$8)), 31)); else while (true) { var$14 = var$8 % var$4 | 0; if (((var$8 - var$14 | 0) + var$7 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$8 = Long_lo(Long_shru(var$5, 17)); } nle_EaglerProfile_presetSkinId = var$14; nle_EaglerProfile_customSkinId = (-1); return; } } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, jl_AutoCloseable = $rt_classWithoutFields(0), ji_Closeable = $rt_classWithoutFields(0), jl_Readable = $rt_classWithoutFields(0); function ji_Reader() { jl_Object.call(this); this.$lock0 = null; } function ji_StringReader() { let a = this; ji_Reader.call(a); a.$string3 = null; a.$index11 = 0; } let ji_StringReader_read0 = $this => { let var$1, var$2; var$1 = $this.$string3; if (var$1 === null) { var$1 = new ji_IOException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } if ($this.$index11 >= var$1.$nativeString.length) return (-1); var$1 = $this.$string3; var$2 = $this.$index11; $this.$index11 = var$2 + 1 | 0; if (var$2 >= 0 && var$2 < var$1.$nativeString.length) return var$1.$nativeString.charCodeAt(var$2); var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, ji_StringReader_read = ($this, $cbuf, $off, $n) => { let var$4, $n_0, $i, var$7, var$8; var$4 = $this.$string3; if (var$4 === null) { var$4 = new ji_IOException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($this.$index11 >= var$4.$nativeString.length) return (-1); $n_0 = $this.$string3.$nativeString.length - $this.$index11 | 0; if ($n_0 < $n) $n = $n_0; $i = 0; a: { while ($i < $n) { var$7 = $off + 1 | 0; var$4 = $this.$string3; var$8 = $this.$index11; $this.$index11 = var$8 + 1 | 0; if (var$8 < 0) break a; if (var$8 >= var$4.$nativeString.length) break a; $cbuf.data[$off] = var$4.$nativeString.charCodeAt(var$8); $i = $i + 1 | 0; $off = var$7; } return $n; } var$4 = new jl_StringIndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); }, ji_StringReader_close = $this => { $this.$string3 = null; }; function jur_Pattern() { let a = this; jl_Object.call(a); a.$lexemes = null; a.$flags1 = 0; a.$backRefs = null; a.$needsBackRefReplacement = 0; a.$globalGroupIndex = 0; a.$compCount = 0; a.$consCount = 0; a.$start9 = null; } let jur_Pattern_split = ($this, $inputSeq, $limit) => { let $res, $mat, $index, $curPos, var$7, var$8, var$9, var$10; $res = new ju_ArrayList; $res.$array = $rt_createArray(jl_Object, 10); $mat = jur_Matcher__init_($this, $inputSeq); $index = 0; $curPos = 0; if (!$inputSeq.$nativeString.length) { var$7 = $rt_createArray(jl_String, 1); var$7.data[0] = $rt_s(18); return var$7; } a: { while (true) { if (!jur_Matcher_find($mat)) break a; var$8 = $index + 1 | 0; if (var$8 >= $limit && $limit > 0) break a; var$9 = $mat.$matchResult; if (!var$9.$valid) { $inputSeq = new jl_IllegalStateException; $inputSeq.$suppressionEnabled = 1; $inputSeq.$writableStackTrace = 1; $rt_throw($inputSeq); } if (0 >= var$9.$groupCount) { $inputSeq = new jl_IndexOutOfBoundsException; $res = new jl_StringBuilder; $res.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($res, $res.$length0, 0, 10); $mat = new jl_String; var$7 = $res.$buffer; var$10 = var$7.data; $index = $res.$length0; $curPos = var$10.length; if ($index >= 0 && $index <= ($curPos - 0 | 0)) { $mat.$nativeString = $rt_charArrayToString(var$7.data, 0, $index); $inputSeq.$suppressionEnabled = 1; $inputSeq.$writableStackTrace = 1; $inputSeq.$message = $mat; $rt_throw($inputSeq); } $inputSeq = new jl_IndexOutOfBoundsException; $inputSeq.$suppressionEnabled = 1; $inputSeq.$writableStackTrace = 1; $rt_throw($inputSeq); } var$9 = jl_String_substring($inputSeq, $curPos, var$9.$groupBounds.data[0]); ju_ArrayList_ensureCapacity($res, $res.$size0 + 1 | 0); var$7 = $res.$array.data; $index = $res.$size0; $res.$size0 = $index + 1 | 0; var$7[$index] = var$9; $res.$modCount = $res.$modCount + 1 | 0; var$9 = $mat.$matchResult; if (!var$9.$valid) break; if (0 >= var$9.$groupCount) { $inputSeq = new jl_IndexOutOfBoundsException; $res = new jl_StringBuilder; $res.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($res, $res.$length0, 0, 10); $mat = new jl_String; var$7 = $res.$buffer; var$10 = var$7.data; $index = $res.$length0; $curPos = var$10.length; if ($index >= 0 && $index <= ($curPos - 0 | 0)) { $mat.$nativeString = $rt_charArrayToString(var$7.data, 0, $index); $inputSeq.$suppressionEnabled = 1; $inputSeq.$writableStackTrace = 1; $inputSeq.$message = $mat; $rt_throw($inputSeq); } $inputSeq = new jl_IndexOutOfBoundsException; $inputSeq.$suppressionEnabled = 1; $inputSeq.$writableStackTrace = 1; $rt_throw($inputSeq); } $curPos = var$9.$groupBounds.data[1]; $index = var$8; } $inputSeq = new jl_IllegalStateException; $inputSeq.$suppressionEnabled = 1; $inputSeq.$writableStackTrace = 1; $rt_throw($inputSeq); } b: { $inputSeq = jl_String_substring($inputSeq, $curPos, $inputSeq.$nativeString.length); ju_ArrayList_ensureCapacity($res, $res.$size0 + 1 | 0); var$7 = $res.$array.data; var$8 = $res.$size0; $res.$size0 = var$8 + 1 | 0; var$7[var$8] = $inputSeq; $res.$modCount = $res.$modCount + 1 | 0; $index = $index + 1 | 0; if (!$limit) { while (true) { $index = $index + (-1) | 0; if ($index < 0) break b; if ($index < 0) break; if ($index >= $res.$size0) break; if ($res.$array.data[$index].$nativeString.length) break b; ju_ArrayList_remove($res, $index); } $inputSeq = new jl_IndexOutOfBoundsException; $inputSeq.$suppressionEnabled = 1; $inputSeq.$writableStackTrace = 1; $rt_throw($inputSeq); } } if ($index < 0) $index = 0; return ju_AbstractCollection_toArray($res, $rt_createArray(jl_String, $index)); }, jur_Pattern_compile = ($pattern, $flags) => { let var$3; if ($pattern === null) { $pattern = new jl_NullPointerException; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $pattern.$message = $rt_s(526); $rt_throw($pattern); } if ($flags && ($flags | 255) != 255) { $pattern = new jl_IllegalArgumentException; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $pattern.$message = $rt_s(18); $rt_throw($pattern); } jur_AbstractSet_counter = 1; var$3 = new jur_Pattern; var$3.$backRefs = $rt_createArray(jur_FSet, 10); var$3.$globalGroupIndex = (-1); var$3.$compCount = (-1); var$3.$consCount = (-1); return jur_Pattern_compileImpl(var$3, $pattern, $flags); }, jur_Pattern_compileImpl = ($this, $pattern, $flags) => { let var$3, var$4, var$5; $this.$lexemes = jur_Lexer__init_($pattern, $flags); $this.$flags1 = $flags; $pattern = jur_Pattern_processExpression($this, (-1), $flags, null); $this.$start9 = $pattern; var$3 = $this.$lexemes; if (!var$3.$ch && !var$3.$lookAhead && var$3.$index == var$3.$patternFullLength && !(var$3.$curST === null ? 0 : 1) ? 1 : 0) { if ($this.$needsBackRefReplacement) $pattern.$processSecondPass(); return $this; } $pattern = new jur_PatternSyntaxException; var$4 = var$3.$orig; var$5 = var$3.$curToc; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $pattern.$index3 = (-1); $pattern.$desc = $rt_s(18); $pattern.$pattern = var$4; $pattern.$index3 = var$5; $rt_throw($pattern); }, jur_Pattern_processAlternations = ($this, $last) => { let $auxRange, var$3, var$4, var$5, $rangeSet, var$7; $auxRange = new jur_CharClass; var$3 = $this.$flags1; var$4 = (var$3 & 2) != 2 ? 0 : 1; var$5 = (var$3 & 64) != 64 ? 0 : 1; $rangeSet = new ju_BitSet; $rangeSet.$data3 = $rt_createIntArray(64); $auxRange.$lowHighSurrogates = $rangeSet; $rangeSet = new ju_BitSet; $rangeSet.$data3 = $rt_createIntArray(2); $auxRange.$bits = $rangeSet; $auxRange.$ci = var$4; $auxRange.$uci = var$5; while (true) { var$7 = $this.$lexemes; var$3 = var$7.$ch; if (!var$3 && !var$7.$lookAhead && var$7.$index == var$7.$patternFullLength && !(var$7.$curST === null ? 0 : 1) ? 1 : 0) break; var$5 = !var$3 && !var$7.$lookAhead && var$7.$index == var$7.$patternFullLength && !(var$7.$curST === null ? 0 : 1) ? 1 : 0; if (!(!var$5 && !(var$7.$curST === null ? 0 : 1) && (var$3 < 0 ? 0 : 1) ? 1 : 0)) break; var$5 = var$7.$lookAhead; if (var$5 && var$5 != (-536870788) && var$5 != (-536870871)) break; jur_Lexer_movePointer(var$7); jur_CharClass_add0($auxRange, var$7.$lookBack); $rangeSet = $this.$lexemes; if ($rangeSet.$ch != (-536870788)) continue; jur_Lexer_movePointer($rangeSet); } $rangeSet = jur_Pattern_processRangeSet($this, $auxRange); $rangeSet.$setNext($last); return $rangeSet; }, jur_Pattern_processExpression = ($this, $ch, $newFlags, $last) => { let $children, $saveFlags, $saveChangedFlags, $fSet, var$8, $child, var$10, var$11, var$12; $children = new ju_ArrayList; $children.$array = $rt_createArray(jl_Object, 10); $saveFlags = $this.$flags1; $saveChangedFlags = 0; if ($newFlags != $saveFlags) $this.$flags1 = $newFlags; a: { switch ($ch) { case -1073741784: $fSet = new jur_NonCapFSet; var$8 = $this.$consCount + 1 | 0; $this.$consCount = var$8; jur_FSet_$callClinit(); $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; $last = new jl_AbstractStringBuilder; $last.$buffer = $rt_createCharArray(20); $fSet.$index1 = (jl_AbstractStringBuilder_insert0($last, $last.$length0, $newFlags, 10)).$toString(); $fSet.$groupIndex0 = var$8; break a; case -536870872: case -268435416: break; case -134217688: case -67108824: $fSet = new jur_BehindFSet; var$8 = $this.$consCount + 1 | 0; $this.$consCount = var$8; jur_FSet_$callClinit(); $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; $last = new jl_AbstractStringBuilder; $last.$buffer = $rt_createCharArray(20); $fSet.$index1 = (jl_AbstractStringBuilder_insert0($last, $last.$length0, $newFlags, 10)).$toString(); $fSet.$groupIndex0 = var$8; break a; case -33554392: $fSet = new jur_AtomicFSet; var$8 = $this.$consCount + 1 | 0; $this.$consCount = var$8; jur_FSet_$callClinit(); $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; $last = new jl_AbstractStringBuilder; $last.$buffer = $rt_createCharArray(20); $fSet.$index1 = (jl_AbstractStringBuilder_insert0($last, $last.$length0, $newFlags, 10)).$toString(); $fSet.$groupIndex0 = var$8; break a; default: var$8 = $this.$globalGroupIndex + 1 | 0; $this.$globalGroupIndex = var$8; if ($last === null) { $fSet = jur_FinalSet__init_0(); $saveChangedFlags = 1; } else { $fSet = new jur_FSet; jur_FSet_$callClinit(); $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; $last = new jl_AbstractStringBuilder; $last.$buffer = $rt_createCharArray(20); $fSet.$index1 = (jl_AbstractStringBuilder_insert0($last, $last.$length0, $newFlags, 10)).$toString(); $fSet.$groupIndex0 = var$8; } $newFlags = $this.$globalGroupIndex; if ($newFlags <= (-1)) break a; if ($newFlags >= 10) break a; $this.$backRefs.data[$newFlags] = $fSet; break a; } $fSet = jur_AheadFSet__init_0(); } while (true) { $child = $this.$lexemes; var$10 = $child.$ch; var$11 = !var$10 && !$child.$lookAhead && $child.$index == $child.$patternFullLength && !($child.$curST === null ? 0 : 1) ? 1 : 0; var$11 = !var$11 && !($child.$curST === null ? 0 : 1) && (var$10 < 0 ? 0 : 1) ? 1 : 0; if (var$11 && $child.$lookAhead == (-536870788)) $child = jur_Pattern_processAlternations($this, $fSet); else if (var$10 == (-536870788)) { $child = new jur_EmptySet; var$11 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$11 + 1 | 0; $last = new jl_AbstractStringBuilder; $last.$buffer = $rt_createCharArray(20); $child.$index1 = (jl_AbstractStringBuilder_insert0($last, $last.$length0, var$11, 10)).$toString(); $child.$next4 = $fSet; $child.$charCount0 = 1; $child.$type0 = 1; $child.$charCount0 = 0; jur_Lexer_movePointer($this.$lexemes); } else { $child = jur_Pattern_processSubExpression($this, $fSet); $last = $this.$lexemes; if ($last.$ch == (-536870788)) jur_Lexer_movePointer($last); } if ($child !== null) { ju_ArrayList_ensureCapacity($children, $children.$size0 + 1 | 0); var$12 = $children.$array.data; var$10 = $children.$size0; $children.$size0 = var$10 + 1 | 0; var$12[var$10] = $child; $children.$modCount = $children.$modCount + 1 | 0; } $child = $this.$lexemes; var$11 = $child.$ch; if (!var$11 && !$child.$lookAhead && $child.$index == $child.$patternFullLength && !($child.$curST === null ? 0 : 1) ? 1 : 0) break; if (var$11 == (-536870871)) break; } if ($child.$lookBack == (-536870788)) { $child = new jur_EmptySet; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; $last = new jl_AbstractStringBuilder; $last.$buffer = $rt_createCharArray(20); $child.$index1 = (jl_AbstractStringBuilder_insert0($last, $last.$length0, $newFlags, 10)).$toString(); $child.$next4 = $fSet; $child.$charCount0 = 1; $child.$type0 = 1; $child.$charCount0 = 0; ju_ArrayList_ensureCapacity($children, $children.$size0 + 1 | 0); var$12 = $children.$array.data; var$11 = $children.$size0; $children.$size0 = var$11 + 1 | 0; var$12[var$11] = $child; $children.$modCount = $children.$modCount + 1 | 0; } if ($this.$flags1 != $saveFlags && !$saveChangedFlags) { $this.$flags1 = $saveFlags; $child = $this.$lexemes; $child.$flags = $saveFlags; $child.$lookAhead = $child.$ch; $child.$lookAheadST = $child.$curST; var$11 = $child.$curToc; $child.$index = var$11 + 1 | 0; $child.$lookAheadToc = var$11; jur_Lexer_movePointer($child); } switch ($ch) { case -1073741784: break; case -536870872: $child = new jur_PositiveLookAhead; $ch = jur_AbstractSet_counter; jur_AbstractSet_counter = $ch + 1 | 0; $last = new jl_AbstractStringBuilder; jl_Object__init_($last); $last.$buffer = $rt_createCharArray(20); $child.$index1 = (jl_AbstractStringBuilder_insert0($last, $last.$length0, $ch, 10)).$toString(); $child.$children = $children; $child.$fSet = $fSet; $child.$groupIndex = $fSet.$groupIndex0; return $child; case -268435416: $child = new jur_NegativeLookAhead; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; $last = new jl_AbstractStringBuilder; jl_Object__init_($last); $last.$buffer = $rt_createCharArray(20); $child.$index1 = (jl_AbstractStringBuilder_insert0($last, $last.$length0, $newFlags, 10)).$toString(); $child.$children = $children; $child.$fSet = $fSet; $child.$groupIndex = $fSet.$groupIndex0; return $child; case -134217688: $last = new jur_PositiveLookBehind; $ch = jur_AbstractSet_counter; jur_AbstractSet_counter = $ch + 1 | 0; $child = new jl_AbstractStringBuilder; jl_Object__init_($child); $child.$buffer = $rt_createCharArray(20); $last.$index1 = (jl_AbstractStringBuilder_insert0($child, $child.$length0, $ch, 10)).$toString(); $last.$children = $children; $last.$fSet = $fSet; $last.$groupIndex = $fSet.$groupIndex0; return $last; case -67108824: $last = new jur_NegativeLookBehind; $ch = jur_AbstractSet_counter; jur_AbstractSet_counter = $ch + 1 | 0; $child = new jl_AbstractStringBuilder; jl_Object__init_($child); $child.$buffer = $rt_createCharArray(20); $last.$index1 = (jl_AbstractStringBuilder_insert0($child, $child.$length0, $ch, 10)).$toString(); $last.$children = $children; $last.$fSet = $fSet; $last.$groupIndex = $fSet.$groupIndex0; return $last; case -33554392: $last = new jur_AtomicJointSet; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; $child = new jl_AbstractStringBuilder; $child.$buffer = $rt_createCharArray(20); $last.$index1 = (jl_AbstractStringBuilder_insert0($child, $child.$length0, $newFlags, 10)).$toString(); $last.$children = $children; $last.$fSet = $fSet; $last.$groupIndex = $fSet.$groupIndex0; return $last; default: $newFlags = $children.$size0; switch ($newFlags) { case 0: $last = new jur_EmptySet; $ch = jur_AbstractSet_counter; jur_AbstractSet_counter = $ch + 1 | 0; $children = new jl_AbstractStringBuilder; $children.$buffer = $rt_createCharArray(20); $last.$index1 = (jl_AbstractStringBuilder_insert0($children, $children.$length0, $ch, 10)).$toString(); $last.$next4 = $fSet; $last.$charCount0 = 1; $last.$type0 = 1; $last.$charCount0 = 0; return $last; case 1: $last = new jur_SingleSet; if (0 >= $newFlags) { $last = new jl_IndexOutOfBoundsException; $last.$suppressionEnabled = 1; $last.$writableStackTrace = 1; $rt_throw($last); } $children = $children.$array.data[0]; jur_JointSet__init_($last); $last.$kid = $children; $last.$fSet = $fSet; $last.$groupIndex = $fSet.$groupIndex0; return $last; default: } $last = new jur_JointSet; $ch = jur_AbstractSet_counter; jur_AbstractSet_counter = $ch + 1 | 0; $child = new jl_AbstractStringBuilder; $child.$buffer = $rt_createCharArray(20); $last.$index1 = (jl_AbstractStringBuilder_insert0($child, $child.$length0, $ch, 10)).$toString(); $last.$children = $children; $last.$fSet = $fSet; $last.$groupIndex = $fSet.$groupIndex0; return $last; } $child = new jur_NonCapJointSet; $ch = jur_AbstractSet_counter; jur_AbstractSet_counter = $ch + 1 | 0; $last = new jl_AbstractStringBuilder; $last.$buffer = $rt_createCharArray(20); $child.$index1 = (jl_AbstractStringBuilder_insert0($last, $last.$length0, $ch, 10)).$toString(); $child.$children = $children; $child.$fSet = $fSet; $child.$groupIndex = $fSet.$groupIndex0; return $child; }, jur_Pattern_processSequence = $this => { let $substring, var$2, var$3, $ch, var$5, var$6, var$7, var$8, var$9, var$10; $substring = new jl_StringBuffer; $substring.$buffer = $rt_createCharArray(16); while (true) { var$2 = $this.$lexemes; var$3 = var$2.$ch; if (!var$3 && !var$2.$lookAhead && var$2.$index == var$2.$patternFullLength && !(var$2.$curST === null ? 0 : 1) ? 1 : 0) break; $ch = !var$3 && !var$2.$lookAhead && var$2.$index == var$2.$patternFullLength && !(var$2.$curST === null ? 0 : 1) ? 1 : 0; if (!(!$ch && !(var$2.$curST === null ? 0 : 1) && (var$3 < 0 ? 0 : 1) ? 1 : 0)) break; if (var$3 <= 56319 && var$3 >= 55296 ? 1 : 0) break; if (var$3 <= 57343 && var$3 >= 56320 ? 1 : 0) break; var$5 = var$2.$lookAheadST; var$3 = var$5 === null ? 0 : 1; if (!(!var$3 && !var$2.$lookAhead)) { var$3 = var$5 === null ? 0 : 1; if (!(!var$3 && (var$2.$lookAhead < 0 ? 0 : 1))) { var$6 = var$2.$lookAhead; if (var$6 != (-536870871) && (var$6 & (-2147418113)) != (-2147483608) && var$6 != (-536870788) && var$6 != (-536870876)) break; } } jur_Lexer_movePointer(var$2); $ch = var$2.$lookBack; if (!($ch >= 65536 && $ch <= 1114111 ? 1 : 0)) { var$3 = $ch & 65535; $ch = $substring.$length0; jl_AbstractStringBuilder_insertSpace($substring, $ch, $ch + 1 | 0); $substring.$buffer.data[$ch] = var$3; } else { var$7 = (jl_Character_toChars($ch)).data; var$3 = 0; $ch = var$7.length; var$6 = $substring.$length0; jl_AbstractStringBuilder_insertSpace($substring, var$6, var$6 + $ch | 0); var$8 = $ch + var$3 | 0; while (var$3 < var$8) { var$9 = $substring.$buffer.data; var$10 = var$6 + 1 | 0; $ch = var$3 + 1 | 0; var$9[var$6] = var$7[var$3]; var$6 = var$10; var$3 = $ch; } } } $ch = $this.$flags1; if (!(($ch & 2) != 2 ? 0 : 1)) return jur_SequenceSet__init_($substring); if (!(($ch & 64) != 64 ? 0 : 1)) { var$2 = new jur_CISequenceSet; var$3 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$3 + 1 | 0; var$5 = new jl_AbstractStringBuilder; var$5.$buffer = $rt_createCharArray(20); var$2.$index1 = (jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$3, 10)).$toString(); var$2.$charCount0 = 1; var$5 = new jl_String; var$7 = $substring.$buffer; var$9 = var$7.data; $ch = $substring.$length0; var$6 = var$9.length; if ($ch >= 0 && $ch <= (var$6 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, $ch); var$2.$string4 = var$5; var$2.$charCount0 = $substring.$length0; return var$2; } $substring = new jl_IndexOutOfBoundsException; $substring.$suppressionEnabled = 1; $substring.$writableStackTrace = 1; $rt_throw($substring); } var$2 = new jur_UCISequenceSet; var$3 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$3 + 1 | 0; var$5 = new jl_AbstractStringBuilder; var$5.$buffer = $rt_createCharArray(20); var$2.$index1 = (jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$3, 10)).$toString(); var$2.$charCount0 = 1; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); $ch = 0; while (true) { var$3 = $rt_compare($ch, $substring.$length0); if (var$3 >= 0) { $substring = new jl_String; var$7 = var$5.$buffer; var$9 = var$7.data; var$6 = var$5.$length0; var$3 = var$9.length; if (var$6 >= 0 && var$6 <= (var$3 - 0 | 0)) { $substring.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); var$2.$string5 = $substring; var$2.$charCount0 = var$5.$length0; return var$2; } $substring = new jl_IndexOutOfBoundsException; $substring.$suppressionEnabled = 1; $substring.$writableStackTrace = 1; $rt_throw($substring); } if ($ch < 0) break; if (var$3 >= 0) break; var$3 = $substring.$buffer.data[$ch]; if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } var$3 = jl_Character_mapChar(jl_Character_upperCaseMapping, var$3) & 65535; if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } var$8 = jl_Character_mapChar(jl_Character_lowerCaseMapping, var$3) & 65535; var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = var$8; $ch = $ch + 1 | 0; } $substring = new jl_IndexOutOfBoundsException; $substring.$suppressionEnabled = 1; $substring.$writableStackTrace = 1; $rt_throw($substring); }, jur_Pattern_processDecomposedChar = $this => { let $codePoints, $curSymb, $curSymbIndex, var$4, var$5, var$6, $codePointsHangul, $readCodePoints, var$9; $codePoints = $rt_createIntArray(4); $curSymb = (-1); $curSymbIndex = (-1); var$4 = $this.$lexemes; var$5 = var$4.$ch; if (!(!var$5 && !var$4.$lookAhead && var$4.$index == var$4.$patternFullLength && !(var$4.$curST === null ? 0 : 1) ? 1 : 0)) { var$6 = !var$5 && !var$4.$lookAhead && var$4.$index == var$4.$patternFullLength && !(var$4.$curST === null ? 0 : 1) ? 1 : 0; if (!var$6 && !(var$4.$curST === null ? 0 : 1) && (var$5 < 0 ? 0 : 1) ? 1 : 0) { $codePointsHangul = $codePoints.data; jur_Lexer_movePointer(var$4); $curSymb = var$4.$lookBack; $codePointsHangul[0] = $curSymb; $curSymbIndex = $curSymb - 4352 | 0; } } if ($curSymbIndex >= 0 && $curSymbIndex < 19) { $codePointsHangul = $rt_createCharArray(3); $codePoints = $codePointsHangul.data; $codePoints[0] = $curSymb & 65535; var$4 = $this.$lexemes; var$6 = var$4.$ch; $readCodePoints = var$6 - 4449 | 0; if ($readCodePoints >= 0 && $readCodePoints < 21) { $codePoints[1] = var$6 & 65535; jur_Lexer_movePointer(var$4); var$4 = $this.$lexemes; var$6 = var$4.$ch; $curSymb = var$6 - 4519 | 0; if ($curSymb >= 0 && $curSymb < 28) { $codePoints[2] = var$6 & 65535; jur_Lexer_movePointer(var$4); var$4 = new jur_HangulDecomposedCharSet; jur_JointSet__init_(var$4); var$4.$decomposedChar = $codePointsHangul; var$4.$decomposedCharLength0 = 3; return var$4; } var$4 = new jur_HangulDecomposedCharSet; jur_JointSet__init_(var$4); var$4.$decomposedChar = $codePointsHangul; var$4.$decomposedCharLength0 = 2; return var$4; } $curSymb = $this.$flags1; if (!(($curSymb & 2) != 2 ? 0 : 1)) { var$4 = new jur_CharSet; $readCodePoints = $codePoints[0]; $curSymb = jur_AbstractSet_counter; jur_AbstractSet_counter = $curSymb + 1 | 0; var$9 = new jl_AbstractStringBuilder; var$9.$buffer = $rt_createCharArray(20); var$4.$index1 = (jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $curSymb, 10)).$toString(); var$4.$charCount0 = 1; var$4.$ch0 = $readCodePoints; return var$4; } if (!(($curSymb & 64) != 64 ? 0 : 1)) { var$4 = new jur_CICharSet; $readCodePoints = $codePoints[0]; $curSymb = jur_AbstractSet_counter; jur_AbstractSet_counter = $curSymb + 1 | 0; var$9 = new jl_AbstractStringBuilder; var$9.$buffer = $rt_createCharArray(20); var$4.$index1 = (jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $curSymb, 10)).$toString(); var$4.$charCount0 = 1; var$4.$ch2 = $readCodePoints; var$4.$supplement = jur_Pattern_getSupplement($readCodePoints); return var$4; } var$4 = new jur_UCICharSet; $readCodePoints = $codePoints[0]; $curSymb = jur_AbstractSet_counter; jur_AbstractSet_counter = $curSymb + 1 | 0; var$9 = new jl_AbstractStringBuilder; var$9.$buffer = $rt_createCharArray(20); var$4.$index1 = (jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $curSymb, 10)).$toString(); var$4.$charCount0 = 1; if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } $readCodePoints = jl_Character_mapChar(jl_Character_upperCaseMapping, $readCodePoints) & 65535; if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } var$4.$ch3 = jl_Character_mapChar(jl_Character_lowerCaseMapping, $readCodePoints) & 65535; return var$4; } $codePointsHangul = $codePoints.data; $curSymb = 1; while ($curSymb < 4) { var$4 = $this.$lexemes; var$6 = var$4.$ch; if (!var$6 && !var$4.$lookAhead && var$4.$index == var$4.$patternFullLength && !(var$4.$curST === null ? 0 : 1) ? 1 : 0) break; $readCodePoints = !var$6 && !var$4.$lookAhead && var$4.$index == var$4.$patternFullLength && !(var$4.$curST === null ? 0 : 1) ? 1 : 0; if (!(!$readCodePoints && !(var$4.$curST === null ? 0 : 1) && (var$6 < 0 ? 0 : 1) ? 1 : 0)) break; $readCodePoints = $curSymb + 1 | 0; jur_Lexer_movePointer(var$4); $codePointsHangul[$curSymb] = var$4.$lookBack; $curSymb = $readCodePoints; } if ($curSymb == 1) { $readCodePoints = $codePointsHangul[0]; if (!(jur_Lexer_singleDecompTable.$get4($readCodePoints) == jur_Lexer_singleDecompTableSize ? 0 : 1)) return jur_Pattern_processCharSet($this, $codePointsHangul[0]); } $curSymbIndex = $this.$flags1; if (!(($curSymbIndex & 2) != 2 ? 0 : 1)) { var$4 = new jur_DecomposedCharSet; jur_JointSet__init_(var$4); var$4.$readCharsForCodePoint = 1; var$4.$decomposedChar0 = $codePoints; var$4.$decomposedCharLength = $curSymb; return var$4; } if (($curSymbIndex & 64) != 64 ? 0 : 1) { var$4 = new jur_UCIDecomposedCharSet; jur_JointSet__init_(var$4); var$4.$readCharsForCodePoint = 1; var$4.$decomposedChar0 = $codePoints; var$4.$decomposedCharLength = $curSymb; return var$4; } var$4 = new jur_CIDecomposedCharSet; jur_JointSet__init_(var$4); var$4.$readCharsForCodePoint = 1; var$4.$decomposedChar0 = $codePoints; var$4.$decomposedCharLength = $curSymb; return var$4; }, jur_Pattern_processSubExpression = ($this, $last) => { let $term, var$3, var$4, $cur, $next, var$7, var$8, var$9; $term = $this.$lexemes; var$3 = $term.$ch; var$4 = !var$3 && !$term.$lookAhead && $term.$index == $term.$patternFullLength && !($term.$curST === null ? 0 : 1) ? 1 : 0; var$4 = !var$4 && !($term.$curST === null ? 0 : 1) && (var$3 < 0 ? 0 : 1) ? 1 : 0; if (var$4 && !($term.$lookAheadST === null ? 0 : 1) && ($term.$lookAhead < 0 ? 0 : 1)) { if (!(($this.$flags1 & 128) != 128 ? 0 : 1)) { var$4 = var$3 <= 56319 && var$3 >= 55296 ? 1 : 0; $cur = !var$4 && !(var$3 <= 57343 && var$3 >= 56320 ? 1 : 0) ? jur_Pattern_processSequence($this) : jur_Pattern_processQuantifier($this, $last, jur_Pattern_processTerminal($this, $last)); } else { $cur = jur_Pattern_processDecomposedChar($this); $next = $this.$lexemes; var$4 = $next.$ch; if (!(!var$4 && !$next.$lookAhead && $next.$index == $next.$patternFullLength && !($next.$curST === null ? 0 : 1) ? 1 : 0) && !(var$4 == (-536870871) && !($last instanceof jur_FinalSet)) && var$4 != (-536870788)) { var$7 = !var$4 && !$next.$lookAhead && $next.$index == $next.$patternFullLength && !($next.$curST === null ? 0 : 1) ? 1 : 0; if (!(!var$7 && !($next.$curST === null ? 0 : 1) && (var$4 < 0 ? 0 : 1) ? 1 : 0)) $cur = jur_Pattern_processQuantifier($this, $last, $cur); } } } else if (var$3 != (-536870871)) $cur = jur_Pattern_processQuantifier($this, $last, jur_Pattern_processTerminal($this, $last)); else { if ($last instanceof jur_FinalSet) { $last = new jur_PatternSyntaxException; $next = $term.$orig; var$7 = $term.$curToc; $last.$suppressionEnabled = 1; $last.$writableStackTrace = 1; $last.$index3 = (-1); $last.$desc = $rt_s(18); $last.$pattern = $next; $last.$index3 = var$7; $rt_throw($last); } $cur = new jur_EmptySet; var$4 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$4 + 1 | 0; $term = new jl_AbstractStringBuilder; $term.$buffer = $rt_createCharArray(20); $cur.$index1 = (jl_AbstractStringBuilder_insert0($term, $term.$length0, var$4, 10)).$toString(); $cur.$next4 = $last; $cur.$charCount0 = 1; $cur.$type0 = 1; $cur.$charCount0 = 0; } $term = $this.$lexemes; var$3 = $term.$ch; var$4 = !var$3 && !$term.$lookAhead && $term.$index == $term.$patternFullLength && !($term.$curST === null ? 0 : 1) ? 1 : 0; if (!var$4 && !(var$3 == (-536870871) && !($last instanceof jur_FinalSet)) && var$3 != (-536870788)) { $next = jur_Pattern_processSubExpression($this, $last); if ($cur instanceof jur_LeafQuantifierSet && !($cur instanceof jur_CompositeQuantifierSet) && !($cur instanceof jur_GroupQuantifierSet) && !($cur instanceof jur_AltQuantifierSet)) { $last = $cur; if (!$next.$first($last.$innerSet)) { $cur = new jur_UnifiedQuantifierSet; $term = $last.$innerSet; var$8 = $last.$next4; var$9 = $last.$type0; var$4 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$4 + 1 | 0; $last = new jl_AbstractStringBuilder; $last.$buffer = $rt_createCharArray(20); $cur.$index1 = (jl_AbstractStringBuilder_insert0($last, $last.$length0, var$4, 10)).$toString(); $cur.$next4 = var$8; $cur.$innerSet = $term; $cur.$type0 = var$9; $cur.$leaf = $term; $term.$setNext($cur); } } if (($next.$getType0() & 65535) != 43) $cur.$setNext($next); else $cur.$setNext($next.$innerSet); } else { if ($cur === null) return null; $cur.$setNext($last); } if (($cur.$getType0() & 65535) != 43) return $cur; return $cur.$innerSet; }, jur_Pattern_processQuantifier = ($this, $last, $term) => { let $q, $quant, var$5, $q_0, var$7, $leaf, var$9; $q = $this.$lexemes; $quant = $q.$ch; if ($term !== null && !($term instanceof jur_LeafSet)) { switch ($quant) { case -2147483606: jur_Lexer_movePointer($q); $q = new jur_PossessiveGroupQuantifierSet; var$5 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$5 + 1 | 0; $q_0 = new jl_AbstractStringBuilder; $q_0.$buffer = $rt_createCharArray(20); $q.$index1 = (jl_AbstractStringBuilder_insert0($q_0, $q_0.$length0, var$5, 10)).$toString(); $q.$next4 = $last; $q.$innerSet = $term; $q.$type0 = $quant; jur_FSet_$callClinit(); $term.$setNext(jur_FSet_posFSet); return $q; case -2147483605: jur_Lexer_movePointer($q); $q = new jur_PosPlusGroupQuantifierSet; var$7 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$7 + 1 | 0; $q_0 = new jl_AbstractStringBuilder; $q_0.$buffer = $rt_createCharArray(20); $q.$index1 = (jl_AbstractStringBuilder_insert0($q_0, $q_0.$length0, var$7, 10)).$toString(); $q.$next4 = $last; $q.$innerSet = $term; $q.$type0 = (-2147483606); jur_FSet_$callClinit(); $term.$setNext(jur_FSet_posFSet); return $q; case -2147483585: jur_Lexer_movePointer($q); $q = new jur_PosAltGroupQuantifierSet; var$7 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$7 + 1 | 0; $q_0 = new jl_AbstractStringBuilder; jl_Object__init_($q_0); $q_0.$buffer = $rt_createCharArray(20); $q.$index1 = (jl_AbstractStringBuilder_insert0($q_0, $q_0.$length0, var$7, 10)).$toString(); $q.$next4 = $last; $q.$innerSet = $term; $q.$type0 = (-536870849); jur_FSet_$callClinit(); $term.$setNext(jur_FSet_posFSet); return $q; case -2147483525: $q_0 = new jur_PosCompositeGroupQuantifierSet; $leaf = $q.$curST; jur_Lexer_movePointer($q); $q = $leaf; var$5 = $this.$compCount + 1 | 0; $this.$compCount = var$5; var$9 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$9 + 1 | 0; $leaf = new jl_AbstractStringBuilder; jl_Object__init_($leaf); $leaf.$buffer = $rt_createCharArray(20); $q_0.$index1 = (jl_AbstractStringBuilder_insert0($leaf, $leaf.$length0, var$9, 10)).$toString(); $q_0.$next4 = $last; $q_0.$innerSet = $term; $q_0.$type0 = (-536870849); $q_0.$quantifier = $q; $q_0.$setCounter = var$5; jur_FSet_$callClinit(); $term.$setNext(jur_FSet_posFSet); return $q_0; case -1073741782: case -1073741781: jur_Lexer_movePointer($q); $q = new jur_ReluctantGroupQuantifierSet; var$5 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$5 + 1 | 0; $q_0 = new jl_AbstractStringBuilder; $q_0.$buffer = $rt_createCharArray(20); $q.$index1 = (jl_AbstractStringBuilder_insert0($q_0, $q_0.$length0, var$5, 10)).$toString(); $q.$next4 = $last; $q.$innerSet = $term; $q.$type0 = $quant; $term.$setNext($q); return $q; case -1073741761: jur_Lexer_movePointer($q); $q = new jur_RelAltGroupQuantifierSet; var$7 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$7 + 1 | 0; $q_0 = new jl_AbstractStringBuilder; jl_Object__init_($q_0); $q_0.$buffer = $rt_createCharArray(20); $q.$index1 = (jl_AbstractStringBuilder_insert0($q_0, $q_0.$length0, var$7, 10)).$toString(); $q.$next4 = $last; $q.$innerSet = $term; $q.$type0 = (-536870849); $term.$setNext($last); return $q; case -1073741701: $q_0 = new jur_RelCompositeGroupQuantifierSet; $leaf = $q.$curST; jur_Lexer_movePointer($q); $q = $leaf; var$7 = $this.$compCount + 1 | 0; $this.$compCount = var$7; var$9 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$9 + 1 | 0; $leaf = new jl_AbstractStringBuilder; jl_Object__init_($leaf); $leaf.$buffer = $rt_createCharArray(20); $q_0.$index1 = (jl_AbstractStringBuilder_insert0($leaf, $leaf.$length0, var$9, 10)).$toString(); $q_0.$next4 = $last; $q_0.$innerSet = $term; $q_0.$type0 = (-536870849); $q_0.$quantifier = $q; $q_0.$setCounter = var$7; $term.$setNext($q_0); return $q_0; case -536870870: case -536870869: jur_Lexer_movePointer($q); if ($term.$getType0() != (-2147483602)) { $q = new jur_GroupQuantifierSet; var$5 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$5 + 1 | 0; $q_0 = new jl_AbstractStringBuilder; $q_0.$buffer = $rt_createCharArray(20); $q.$index1 = (jl_AbstractStringBuilder_insert0($q_0, $q_0.$length0, var$5, 10)).$toString(); $q.$next4 = $last; $q.$innerSet = $term; $q.$type0 = $quant; } else { var$7 = $this.$flags1; if ((var$7 & 32) != 32 ? 0 : 1) { $q = new jur_DotAllQuantifierSet; var$5 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$5 + 1 | 0; $q_0 = new jl_AbstractStringBuilder; $q_0.$buffer = $rt_createCharArray(20); $q.$index1 = (jl_AbstractStringBuilder_insert0($q_0, $q_0.$length0, var$5, 10)).$toString(); $q.$next4 = $last; $q.$innerSet = $term; $q.$type0 = $quant; } else { $q = new jur_DotQuantifierSet; if (!(var$7 & 1)) { $q_0 = jur_AbstractLineTerminator_unicodeLT; if ($q_0 === null) { $q_0 = new jur_AbstractLineTerminator$2; jur_AbstractLineTerminator_unicodeLT = $q_0; } } else { $q_0 = jur_AbstractLineTerminator_unixLT; if ($q_0 === null) { $q_0 = new jur_AbstractLineTerminator$1; jur_AbstractLineTerminator_unixLT = $q_0; } } var$5 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$5 + 1 | 0; $leaf = new jl_AbstractStringBuilder; $leaf.$buffer = $rt_createCharArray(20); $q.$index1 = (jl_AbstractStringBuilder_insert0($leaf, $leaf.$length0, var$5, 10)).$toString(); $q.$next4 = $last; $q.$innerSet = $term; $q.$type0 = $quant; $q.$lt = $q_0; } } $term.$setNext($q); return $q; case -536870849: jur_Lexer_movePointer($q); $q = new jur_AltGroupQuantifierSet; var$7 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$7 + 1 | 0; $q_0 = new jl_AbstractStringBuilder; $q_0.$buffer = $rt_createCharArray(20); $q.$index1 = (jl_AbstractStringBuilder_insert0($q_0, $q_0.$length0, var$7, 10)).$toString(); $q.$next4 = $last; $q.$innerSet = $term; $q.$type0 = (-536870849); $term.$setNext($last); return $q; case -536870789: $q_0 = new jur_CompositeGroupQuantifierSet; $leaf = $q.$curST; jur_Lexer_movePointer($q); $q = $leaf; var$7 = $this.$compCount + 1 | 0; $this.$compCount = var$7; var$9 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$9 + 1 | 0; $leaf = new jl_AbstractStringBuilder; $leaf.$buffer = $rt_createCharArray(20); $q_0.$index1 = (jl_AbstractStringBuilder_insert0($leaf, $leaf.$length0, var$9, 10)).$toString(); $q_0.$next4 = $last; $q_0.$innerSet = $term; $q_0.$type0 = (-536870849); $q_0.$quantifier = $q; $q_0.$setCounter = var$7; $term.$setNext($q_0); return $q_0; default: } return $term; } $leaf = null; if ($term !== null) $leaf = $term; switch ($quant) { case -2147483606: case -2147483605: jur_Lexer_movePointer($q); $q = new jur_PossessiveQuantifierSet; var$5 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$5 + 1 | 0; $term = new jl_AbstractStringBuilder; $term.$buffer = $rt_createCharArray(20); $q.$index1 = (jl_AbstractStringBuilder_insert0($term, $term.$length0, var$5, 10)).$toString(); $q.$next4 = $last; $q.$innerSet = $leaf; $q.$type0 = $quant; $q.$leaf = $leaf; $leaf.$next4 = $q; return $q; case -2147483585: jur_Lexer_movePointer($q); $term = new jur_PossessiveAltQuantifierSet; var$7 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$7 + 1 | 0; $q = new jl_AbstractStringBuilder; jl_Object__init_($q); $q.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0($q, $q.$length0, var$7, 10)).$toString(); $term.$next4 = $last; $term.$innerSet = $leaf; $term.$type0 = (-2147483585); $term.$leaf = $leaf; return $term; case -2147483525: $term = new jur_PossessiveCompositeQuantifierSet; $q_0 = $q.$curST; jur_Lexer_movePointer($q); $q = $q_0; var$7 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$7 + 1 | 0; $q_0 = new jl_AbstractStringBuilder; jl_Object__init_($q_0); $q_0.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0($q_0, $q_0.$length0, var$7, 10)).$toString(); $term.$next4 = $last; $term.$innerSet = $leaf; $term.$type0 = (-2147483525); $term.$leaf = $leaf; $term.$quantifier0 = $q; return $term; case -1073741782: case -1073741781: jur_Lexer_movePointer($q); $q = new jur_ReluctantQuantifierSet; var$5 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$5 + 1 | 0; $term = new jl_AbstractStringBuilder; $term.$buffer = $rt_createCharArray(20); $q.$index1 = (jl_AbstractStringBuilder_insert0($term, $term.$length0, var$5, 10)).$toString(); $q.$next4 = $last; $q.$innerSet = $leaf; $q.$type0 = $quant; $q.$leaf = $leaf; $leaf.$next4 = $q; return $q; case -1073741761: jur_Lexer_movePointer($q); $term = new jur_ReluctantAltQuantifierSet; var$7 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$7 + 1 | 0; $q = new jl_AbstractStringBuilder; jl_Object__init_($q); $q.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0($q, $q.$length0, var$7, 10)).$toString(); $term.$next4 = $last; $term.$innerSet = $leaf; $term.$type0 = (-1073741761); $term.$leaf = $leaf; return $term; case -1073741701: $term = new jur_ReluctantCompositeQuantifierSet; $q_0 = $q.$curST; jur_Lexer_movePointer($q); $q = $q_0; var$7 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$7 + 1 | 0; $q_0 = new jl_AbstractStringBuilder; jl_Object__init_($q_0); $q_0.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0($q_0, $q_0.$length0, var$7, 10)).$toString(); $term.$next4 = $last; $term.$innerSet = $leaf; $term.$type0 = (-1073741701); $term.$leaf = $leaf; $term.$quantifier0 = $q; return $term; case -536870870: case -536870869: jur_Lexer_movePointer($q); $q = new jur_LeafQuantifierSet; var$5 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$5 + 1 | 0; $term = new jl_AbstractStringBuilder; $term.$buffer = $rt_createCharArray(20); $q.$index1 = (jl_AbstractStringBuilder_insert0($term, $term.$length0, var$5, 10)).$toString(); $q.$next4 = $last; $q.$innerSet = $leaf; $q.$type0 = $quant; $q.$leaf = $leaf; $leaf.$next4 = $q; return $q; case -536870849: jur_Lexer_movePointer($q); $term = new jur_AltQuantifierSet; var$7 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$7 + 1 | 0; $q = new jl_AbstractStringBuilder; $q.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0($q, $q.$length0, var$7, 10)).$toString(); $term.$next4 = $last; $term.$innerSet = $leaf; $term.$type0 = (-536870849); $term.$leaf = $leaf; return $term; case -536870789: $term = new jur_CompositeQuantifierSet; $q_0 = $q.$curST; jur_Lexer_movePointer($q); $q = $q_0; var$7 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$7 + 1 | 0; $q_0 = new jl_AbstractStringBuilder; $q_0.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0($q_0, $q_0.$length0, var$7, 10)).$toString(); $term.$next4 = $last; $term.$innerSet = $leaf; $term.$type0 = (-536870789); $term.$leaf = $leaf; $term.$quantifier0 = $q; return $term; default: } return $term; }, jur_Pattern_processTerminal = ($this, $last) => { let $term, var$3, var$4, $ch, $newFlags, $cc, $negative, $number, var$10, var$11, var$12; $term = null; var$3 = $last instanceof jur_FinalSet; while (true) { a: { var$4 = $this.$lexemes; $ch = var$4.$ch; if (($ch & (-2147418113)) == (-2147483608)) { jur_Lexer_movePointer(var$4); $newFlags = ($ch & 16711680) >> 16; $ch = $ch & (-16711681); if ($ch == (-16777176)) $this.$flags1 = $newFlags; else { if ($ch != (-1073741784)) $newFlags = $this.$flags1; $term = jur_Pattern_processExpression($this, $ch, $newFlags, $last); var$4 = $this.$lexemes; if (var$4.$ch != (-536870871)) { $last = new jur_PatternSyntaxException; $cc = var$4.$orig; $negative = var$4.$curToc; $last.$suppressionEnabled = 1; $last.$writableStackTrace = 1; $last.$index3 = (-1); $last.$desc = $rt_s(18); $last.$pattern = $cc; $last.$index3 = $negative; $rt_throw($last); } jur_Lexer_movePointer(var$4); } } else { b: { c: { switch ($ch) { case -2147483599: case -2147483598: case -2147483597: case -2147483596: case -2147483595: case -2147483594: case -2147483593: case -2147483592: case -2147483591: $number = ($ch & 2147483647) - 48 | 0; if ($this.$globalGroupIndex < $number) { $term = new jur_PatternSyntaxException; $cc = var$4.$orig; $negative = var$4.$curToc; $term.$suppressionEnabled = 1; $term.$writableStackTrace = 1; $term.$index3 = (-1); $term.$desc = $rt_s(18); $term.$pattern = $cc; $term.$index3 = $negative; $rt_throw($term); } jur_Lexer_movePointer(var$4); var$10 = $this.$consCount + 1 | 0; $this.$consCount = var$10; $newFlags = $this.$flags1; if (!(($newFlags & 2) != 2 ? 0 : 1)) { $term = new jur_BackReferenceSet; jur_JointSet__init_($term); $term.$referencedGroup = $number; $term.$consCounter = var$10; } else if (!(($newFlags & 64) != 64 ? 0 : 1)) { $term = new jur_CIBackReferenceSet; jur_JointSet__init_($term); $term.$referencedGroup = $number; $term.$consCounter = var$10; } else { $term = new jur_UCIBackReferenceSet; jur_JointSet__init_($term); $term.$referencedGroup = $number; $term.$consCounter = var$10; } $this.$backRefs.data[$number].$isBackReferenced = 1; $this.$needsBackRefReplacement = 1; break a; case -2147483583: break; case -2147483582: jur_Lexer_movePointer(var$4); $term = new jur_WordBoundary; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; var$4 = new jl_AbstractStringBuilder; var$4.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newFlags, 10)).$toString(); $term.$positive = 0; break a; case -2147483577: jur_Lexer_movePointer(var$4); $term = jur_PreviousMatch__init_0(); break a; case -2147483558: jur_Lexer_movePointer(var$4); $term = new jur_EOLSet; $number = $this.$consCount + 1 | 0; $this.$consCount = $number; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; var$4 = new jl_AbstractStringBuilder; var$4.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newFlags, 10)).$toString(); $term.$consCounter0 = $number; break a; case -2147483550: jur_Lexer_movePointer(var$4); $term = new jur_WordBoundary; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; var$4 = new jl_AbstractStringBuilder; var$4.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newFlags, 10)).$toString(); $term.$positive = 1; break a; case -2147483526: jur_Lexer_movePointer(var$4); $term = jur_EOISet__init_0(); break a; case -536870876: jur_Lexer_movePointer(var$4); $number = $this.$consCount + 1 | 0; $this.$consCount = $number; $newFlags = $this.$flags1; if (($newFlags & 8) != 8 ? 0 : 1) { if (($newFlags & 1) != 1 ? 0 : 1) { $term = new jur_UMultiLineEOLSet; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; var$4 = new jl_AbstractStringBuilder; var$4.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newFlags, 10)).$toString(); $term.$consCounter3 = $number; break a; } $term = new jur_MultiLineEOLSet; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; var$4 = new jl_AbstractStringBuilder; var$4.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newFlags, 10)).$toString(); $term.$consCounter1 = $number; break a; } if (($newFlags & 1) != 1 ? 0 : 1) { $term = new jur_UEOLSet; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; var$4 = new jl_AbstractStringBuilder; var$4.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newFlags, 10)).$toString(); $term.$consCounter2 = $number; break a; } $term = new jur_EOLSet; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; var$4 = new jl_AbstractStringBuilder; var$4.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newFlags, 10)).$toString(); $term.$consCounter0 = $number; break a; case -536870866: break c; case -536870821: jur_Lexer_movePointer(var$4); $negative = 0; $term = $this.$lexemes; if ($term.$ch == (-536870818)) { $negative = 1; jur_Lexer_movePointer($term); } $term = jur_Pattern_processRangeSet($this, jur_Pattern_processRangeExpression($this, $negative)); $term.$setNext($last); var$4 = $this.$lexemes; $negative = var$4.$ch; if ($negative != (-536870819)) { $last = new jur_PatternSyntaxException; $cc = var$4.$orig; $negative = var$4.$curToc; $last.$suppressionEnabled = 1; $last.$writableStackTrace = 1; $last.$index3 = (-1); $last.$desc = $rt_s(18); $last.$pattern = $cc; $last.$index3 = $negative; $rt_throw($last); } var$4.$mode3 = 1; var$4.$lookAhead = $negative; var$4.$lookAheadST = var$4.$curST; var$4.$index = var$4.$lookAheadToc; var$4.$lookAheadToc = var$4.$curToc; jur_Lexer_movePointer(var$4); jur_Lexer_movePointer($this.$lexemes); break a; case -536870818: break b; case 0: $term = var$4.$curST; $cc = $term; if ($cc !== null) $term = jur_Pattern_processRangeSet($this, $cc); else { if (!$ch && !var$4.$lookAhead && var$4.$index == var$4.$patternFullLength && !($term === null ? 0 : 1) ? 1 : 0) { $term = new jur_EmptySet; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; var$4 = new jl_AbstractStringBuilder; var$4.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newFlags, 10)).$toString(); $term.$next4 = $last; $term.$charCount0 = 1; $term.$type0 = 1; $term.$charCount0 = 0; break a; } $term = new jur_CharSet; $number = $ch & 65535; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; var$4 = new jl_AbstractStringBuilder; var$4.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newFlags, 10)).$toString(); $term.$charCount0 = 1; $term.$ch0 = $number; } jur_Lexer_movePointer($this.$lexemes); break a; default: if ($ch >= 0 && !(var$4.$curST === null ? 0 : 1)) { $term = jur_Pattern_processCharSet($this, $ch); jur_Lexer_movePointer($this.$lexemes); break a; } if ($ch == (-536870788)) { $term = new jur_EmptySet; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; var$4 = new jl_AbstractStringBuilder; var$4.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newFlags, 10)).$toString(); $term.$next4 = $last; $term.$charCount0 = 1; $term.$type0 = 1; $term.$charCount0 = 0; break a; } if ($ch != (-536870871)) { $term = new jur_PatternSyntaxException; $last = var$4.$curST; if ($last === null ? 0 : 1) $last = $last.$toString(); else { $newFlags = $ch & 65535; $last = new jl_String; var$11 = $rt_createCharArray(1); var$12 = var$11.data; var$12[0] = $newFlags; $last.$nativeString = $rt_charArrayToString(var$11.data, 0, var$12.length); } var$4 = $this.$lexemes; $cc = var$4.$orig; $negative = var$4.$curToc; $term.$suppressionEnabled = 1; $term.$writableStackTrace = 1; $term.$index3 = (-1); $term.$desc = $last; $term.$pattern = $cc; $term.$index3 = $negative; $rt_throw($term); } if (var$3) { $last = new jur_PatternSyntaxException; $cc = var$4.$orig; $negative = var$4.$curToc; $last.$suppressionEnabled = 1; $last.$writableStackTrace = 1; $last.$index3 = (-1); $last.$desc = $rt_s(18); $last.$pattern = $cc; $last.$index3 = $negative; $rt_throw($last); } $term = new jur_EmptySet; $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; var$4 = new jl_AbstractStringBuilder; var$4.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newFlags, 10)).$toString(); $term.$next4 = $last; $term.$charCount0 = 1; $term.$type0 = 1; $term.$charCount0 = 0; break a; } jur_Lexer_movePointer(var$4); $term = jur_SOLSet__init_(); break a; } jur_Lexer_movePointer(var$4); $newFlags = $this.$flags1; if (($newFlags & 32) != 32 ? 0 : 1) { $term = jur_DotAllSet__init_0(); break a; } $term = new jur_DotSet; if (!($newFlags & 1)) { var$4 = jur_AbstractLineTerminator_unicodeLT; if (var$4 === null) { var$4 = new jur_AbstractLineTerminator$2; jur_AbstractLineTerminator_unicodeLT = var$4; } } else { var$4 = jur_AbstractLineTerminator_unixLT; if (var$4 === null) { var$4 = new jur_AbstractLineTerminator$1; jur_AbstractLineTerminator_unixLT = var$4; } } jur_JointSet__init_($term); $term.$lt0 = var$4; break a; } jur_Lexer_movePointer(var$4); $this.$consCount = $this.$consCount + 1 | 0; $negative = $this.$flags1; if (!(($negative & 8) != 8 ? 0 : 1)) $term = jur_SOLSet__init_(); else { $term = new jur_MultiLineSOLSet; if (!($negative & 1)) { $cc = jur_AbstractLineTerminator_unicodeLT; if ($cc === null) { $cc = new jur_AbstractLineTerminator$2; jur_AbstractLineTerminator_unicodeLT = $cc; } } else { $cc = jur_AbstractLineTerminator_unixLT; if ($cc === null) { $cc = new jur_AbstractLineTerminator$1; jur_AbstractLineTerminator_unixLT = $cc; } } $newFlags = jur_AbstractSet_counter; jur_AbstractSet_counter = $newFlags + 1 | 0; var$4 = new jl_AbstractStringBuilder; var$4.$buffer = $rt_createCharArray(20); $term.$index1 = (jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newFlags, 10)).$toString(); $term.$lt1 = $cc; } } } if ($ch != (-16777176)) break; } return $term; }, jur_Pattern_processRangeExpression = ($this, $alt) => { let $res, $cur, $negative, $cs, $buffer, $intersection, $notClosed, $firstInClass, var$10, var$11, $$je; $res = new jur_CharClass; $cur = $this.$flags1; $negative = ($cur & 2) != 2 ? 0 : 1; $cur = ($cur & 64) != 64 ? 0 : 1; $cs = new ju_BitSet; $cs.$data3 = $rt_createIntArray(64); $res.$lowHighSurrogates = $cs; $cs = new ju_BitSet; $cs.$data3 = $rt_createIntArray(2); $res.$bits = $cs; $res.$ci = $negative; $res.$uci = $cur; jur_AbstractCharClass_setNegative($res, $alt); $buffer = (-1); $intersection = 0; $notClosed = 0; $firstInClass = 1; a: { b: { c: while (true) { var$10 = $this.$lexemes; $alt = var$10.$ch; if (!$alt && !var$10.$lookAhead && var$10.$index == var$10.$patternFullLength && !(var$10.$curST === null ? 0 : 1) ? 1 : 0) break a; $notClosed = $alt == (-536870819) && !$firstInClass ? 0 : 1; if (!$notClosed) break a; d: { switch ($alt) { case -536870874: if ($buffer >= 0) jur_CharClass_add0($res, $buffer); $cs = $this.$lexemes; jur_Lexer_movePointer($cs); $buffer = $cs.$lookBack; $cs = $this.$lexemes; if ($cs.$ch != (-536870874)) { $buffer = 38; break d; } if ($cs.$lookAhead == (-536870821)) { jur_Lexer_movePointer($cs); $intersection = 1; $buffer = (-1); break d; } jur_Lexer_movePointer($cs); if ($firstInClass) { $res = jur_Pattern_processRangeExpression($this, 0); break d; } if ($this.$lexemes.$ch == (-536870819)) break d; jur_CharClass_intersection($res, jur_Pattern_processRangeExpression($this, 0)); break d; case -536870867: if (!$firstInClass) { $alt = var$10.$lookAhead; if ($alt != (-536870819) && $alt != (-536870821) && $buffer >= 0) { jur_Lexer_movePointer(var$10); var$10 = $this.$lexemes; $cur = var$10.$ch; if (var$10.$curST === null ? 0 : 1) break c; if ($cur < 0) { $alt = var$10.$lookAhead; if ($alt != (-536870819) && $alt != (-536870821) && $buffer >= 0) break c; } e: { try { if (jur_Lexer_isLetter($cur)) break e; $cur = $cur & 65535; break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { break b; } else { throw $$e; } } } try { jur_CharClass_add($res, $buffer, $cur); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { break b; } else { throw $$e; } } jur_Lexer_movePointer($this.$lexemes); $buffer = (-1); break d; } } if ($buffer >= 0) jur_CharClass_add0($res, $buffer); $buffer = 45; jur_Lexer_movePointer($this.$lexemes); break d; case -536870821: if ($buffer >= 0) { jur_CharClass_add0($res, $buffer); $buffer = (-1); } jur_Lexer_movePointer($this.$lexemes); $negative = 0; $cs = $this.$lexemes; if ($cs.$ch == (-536870818)) { jur_Lexer_movePointer($cs); $negative = 1; } if (!$intersection) jur_CharClass_union($res, jur_Pattern_processRangeExpression($this, $negative)); else jur_CharClass_intersection($res, jur_Pattern_processRangeExpression($this, $negative)); $intersection = 0; jur_Lexer_movePointer($this.$lexemes); break d; case -536870819: break; case -536870818: if ($buffer >= 0) jur_CharClass_add0($res, $buffer); $buffer = 94; jur_Lexer_movePointer($this.$lexemes); break d; case 0: if ($buffer >= 0) jur_CharClass_add0($res, $buffer); $cs = $this.$lexemes.$curST; if ($cs === null) $buffer = 0; else { jur_CharClass_add1($res, $cs); $buffer = (-1); } jur_Lexer_movePointer($this.$lexemes); break d; default: if ($buffer >= 0) jur_CharClass_add0($res, $buffer); $cs = $this.$lexemes; jur_Lexer_movePointer($cs); $buffer = $cs.$lookBack; break d; } if ($buffer >= 0) jur_CharClass_add0($res, $buffer); $buffer = 93; jur_Lexer_movePointer($this.$lexemes); } $firstInClass = 0; } $res = new jur_PatternSyntaxException; var$11 = var$10.$orig; $buffer = var$10.$curToc; $res.$suppressionEnabled = 1; $res.$writableStackTrace = 1; $res.$index3 = (-1); $res.$desc = $rt_s(18); $res.$pattern = var$11; $res.$index3 = $buffer; $rt_throw($res); } $res = new jur_PatternSyntaxException; var$10 = $this.$lexemes; var$11 = var$10.$orig; $buffer = var$10.$curToc; $res.$suppressionEnabled = 1; $res.$writableStackTrace = 1; $res.$index3 = (-1); $res.$desc = $rt_s(18); $res.$pattern = var$11; $res.$index3 = $buffer; $rt_throw($res); } if (!$notClosed) { if ($buffer >= 0) jur_CharClass_add0($res, $buffer); return $res; } $res = new jur_PatternSyntaxException; var$11 = var$10.$orig; $alt = var$10.$curToc - 1 | 0; $res.$suppressionEnabled = 1; $res.$writableStackTrace = 1; $res.$index3 = (-1); $res.$desc = $rt_s(18); $res.$pattern = var$11; $res.$index3 = $alt; $rt_throw($res); }, jur_Pattern_processCharSet = ($this, $ch) => { let $isSupplCodePoint, var$3, var$4, var$5, var$6, var$7; $isSupplCodePoint = $ch >= 65536 && $ch <= 1114111 ? 1 : 0; var$3 = $this.$flags1; if ((var$3 & 2) != 2 ? 0 : 1) { a: { if (!($ch >= 97 && $ch <= 122)) { if ($ch < 65) break a; if ($ch > 90) break a; } var$4 = new jur_CICharSet; $ch = $ch & 65535; var$5 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$5 + 1 | 0; var$6 = new jl_AbstractStringBuilder; var$6.$buffer = $rt_createCharArray(20); var$4.$index1 = (jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10)).$toString(); var$4.$charCount0 = 1; var$4.$ch2 = $ch; var$4.$supplement = jur_Pattern_getSupplement($ch); return var$4; } if (((var$3 & 64) != 64 ? 0 : 1) && $ch > 128) { if ($isSupplCodePoint) { var$4 = new jur_UCISupplCharSet; var$5 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$5 + 1 | 0; var$6 = new jl_AbstractStringBuilder; var$6.$buffer = $rt_createCharArray(20); var$4.$index1 = (jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10)).$toString(); var$4.$charCount0 = 1; var$4.$charCount0 = 2; if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } $ch = jl_Character_mapChar(jl_Character_upperCaseMapping, $ch); if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } var$4.$ch4 = jl_Character_mapChar(jl_Character_lowerCaseMapping, $ch); return var$4; } if ($ch <= 57343 && $ch >= 56320 ? 1 : 0) { var$4 = new jur_LowSurrogateCharSet; $ch = $ch & 65535; jur_JointSet__init_(var$4); var$4.$low = $ch; return var$4; } if ($ch <= 56319 && $ch >= 55296 ? 1 : 0) { var$4 = new jur_HighSurrogateCharSet; $ch = $ch & 65535; jur_JointSet__init_(var$4); var$4.$high = $ch; return var$4; } var$4 = new jur_UCICharSet; $ch = $ch & 65535; var$5 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$5 + 1 | 0; var$6 = new jl_AbstractStringBuilder; var$6.$buffer = $rt_createCharArray(20); var$4.$index1 = (jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10)).$toString(); var$4.$charCount0 = 1; if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } $ch = jl_Character_mapChar(jl_Character_upperCaseMapping, $ch) & 65535; if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } var$4.$ch3 = jl_Character_mapChar(jl_Character_lowerCaseMapping, $ch) & 65535; return var$4; } } if ($isSupplCodePoint) { var$4 = new jur_SupplCharSet; var$5 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$5 + 1 | 0; var$6 = new jl_AbstractStringBuilder; var$6.$buffer = $rt_createCharArray(20); var$4.$index1 = (jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10)).$toString(); var$4.$charCount0 = 1; var$4.$charCount0 = 2; var$4.$ch1 = $ch; var$7 = (jl_Character_toChars($ch)).data; var$4.$high0 = var$7[0]; var$4.$low0 = var$7[1]; return var$4; } if ($ch <= 57343 && $ch >= 56320 ? 1 : 0) { var$4 = new jur_LowSurrogateCharSet; $ch = $ch & 65535; jur_JointSet__init_(var$4); var$4.$low = $ch; return var$4; } if ($ch <= 56319 && $ch >= 55296 ? 1 : 0) { var$4 = new jur_HighSurrogateCharSet; $ch = $ch & 65535; jur_JointSet__init_(var$4); var$4.$high = $ch; return var$4; } var$4 = new jur_CharSet; $ch = $ch & 65535; var$5 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$5 + 1 | 0; var$6 = new jl_AbstractStringBuilder; var$6.$buffer = $rt_createCharArray(20); var$4.$index1 = (jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10)).$toString(); var$4.$charCount0 = 1; var$4.$ch0 = $ch; return var$4; }, jur_Pattern_processRangeSet = ($this, $charClass) => { let $surrogates, var$3, $lowHighSurrRangeSet, var$5, var$6, var$7; if (!jur_AbstractCharClass_hasLowHighSurrogates($charClass)) { if ($charClass.$mayContainSupplCodepoints) { if (!$charClass.$hasUCI()) { $surrogates = new jur_SupplRangeSet; jur_JointSet__init_($surrogates); $surrogates.$chars = $charClass.$getInstance(); $surrogates.$alt0 = $charClass.$alt; return $surrogates; } $surrogates = new jur_UCISupplRangeSet; jur_JointSet__init_($surrogates); $surrogates.$chars = $charClass.$getInstance(); $surrogates.$alt0 = $charClass.$alt; return $surrogates; } if ($charClass.$hasUCI()) { $surrogates = new jur_UCIRangeSet; var$3 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$3 + 1 | 0; $lowHighSurrRangeSet = new jl_AbstractStringBuilder; $lowHighSurrRangeSet.$buffer = $rt_createCharArray(20); $surrogates.$index1 = (jl_AbstractStringBuilder_insert0($lowHighSurrRangeSet, $lowHighSurrRangeSet.$length0, var$3, 10)).$toString(); $surrogates.$charCount0 = 1; $surrogates.$chars1 = $charClass.$getInstance(); $surrogates.$alt2 = $charClass.$alt; return $surrogates; } $surrogates = new jur_RangeSet; var$3 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$3 + 1 | 0; $lowHighSurrRangeSet = new jl_AbstractStringBuilder; $lowHighSurrRangeSet.$buffer = $rt_createCharArray(20); $surrogates.$index1 = (jl_AbstractStringBuilder_insert0($lowHighSurrRangeSet, $lowHighSurrRangeSet.$length0, var$3, 10)).$toString(); $surrogates.$charCount0 = 1; $surrogates.$chars0 = $charClass.$getInstance(); $surrogates.$alt1 = $charClass.$alt; return $surrogates; } $surrogates = jur_AbstractCharClass_getSurrogates($charClass); $lowHighSurrRangeSet = new jur_LowHighSurrogateRangeSet; jur_JointSet__init_($lowHighSurrRangeSet); $lowHighSurrRangeSet.$surrChars = $surrogates; $lowHighSurrRangeSet.$alt3 = $surrogates.$alt; if ($charClass.$mayContainSupplCodepoints) { if (!$charClass.$hasUCI()) { $surrogates = new jur_CompositeRangeSet; var$5 = new jur_SupplRangeSet; $charClass = jur_AbstractCharClass_getWithoutSurrogates($charClass); jur_JointSet__init_(var$5); var$5.$chars = $charClass; var$5.$alt0 = $charClass.$alt; jur_JointSet__init_($surrogates); $surrogates.$withoutSurrogates = var$5; $surrogates.$withSurrogates = $lowHighSurrRangeSet; return $surrogates; } $surrogates = new jur_CompositeRangeSet; var$5 = new jur_UCISupplRangeSet; $charClass = jur_AbstractCharClass_getWithoutSurrogates($charClass); jur_JointSet__init_(var$5); var$5.$chars = $charClass; var$5.$alt0 = $charClass.$alt; jur_JointSet__init_($surrogates); $surrogates.$withoutSurrogates = var$5; $surrogates.$withSurrogates = $lowHighSurrRangeSet; return $surrogates; } if ($charClass.$hasUCI()) { $surrogates = new jur_CompositeRangeSet; var$5 = new jur_UCIRangeSet; $charClass = jur_AbstractCharClass_getWithoutSurrogates($charClass); var$3 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$3 + 1 | 0; var$6 = new jl_AbstractStringBuilder; var$6.$buffer = $rt_createCharArray(20); var$5.$index1 = (jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$3, 10)).$toString(); var$5.$charCount0 = 1; var$5.$chars1 = $charClass; var$5.$alt2 = $charClass.$alt; jur_JointSet__init_($surrogates); $surrogates.$withoutSurrogates = var$5; $surrogates.$withSurrogates = $lowHighSurrRangeSet; return $surrogates; } $surrogates = new jur_CompositeRangeSet; var$5 = new jur_RangeSet; $charClass = jur_AbstractCharClass_getWithoutSurrogates($charClass); var$7 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$7 + 1 | 0; var$6 = new jl_AbstractStringBuilder; var$6.$buffer = $rt_createCharArray(20); var$5.$index1 = (jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$7, 10)).$toString(); var$5.$charCount0 = 1; var$5.$chars0 = $charClass; var$5.$alt1 = $charClass.$alt; jur_JointSet__init_($surrogates); $surrogates.$withoutSurrogates = var$5; $surrogates.$withSurrogates = $lowHighSurrRangeSet; return $surrogates; }, jur_Pattern_getSupplement = $ch => { if ($ch >= 97 && $ch <= 122) $ch = ($ch - 32 | 0) & 65535; else if ($ch >= 65 && $ch <= 90) $ch = ($ch + 32 | 0) & 65535; return $ch; }, jur_Pattern__init_ = $this => { $this.$backRefs = $rt_createArray(jur_FSet, 10); $this.$globalGroupIndex = (-1); $this.$compCount = (-1); $this.$consCount = (-1); }, jur_Pattern__init_0 = () => { let var_0 = new jur_Pattern(); jur_Pattern__init_(var_0); return var_0; }, oj_JSONObject$Null = $rt_classWithoutFields(), oj_JSONObject$Null__init_ = $this => { return; }, oj_JSONObject$Null__init_0 = () => { let var_0 = new oj_JSONObject$Null(); oj_JSONObject$Null__init_(var_0); return var_0; }, oj_JSONObject$Null_equals = ($this, $object) => { return $object !== null && $object !== $this ? 0 : 1; }, oj_JSONObject$Null_hashCode = $this => { return 0; }, oj_JSONObject$Null_toString = $this => { return $rt_s(1); }, ju_Objects = $rt_classWithoutFields(), ju_Objects__init_ = $this => { return; }, ju_Objects__init_0 = () => { let var_0 = new ju_Objects(); ju_Objects__init_(var_0); return var_0; }, ju_Objects_equals = ($a, $b) => { if ($a === $b) return 1; return $a !== null ? $a.$equals($b) : $b !== null ? 0 : 1; }, ju_Objects_checkFromIndexSize = ($fromIndex, $size, $length) => { let var$4; if ($fromIndex >= 0 && $size >= 0 && $size <= ($length - $fromIndex | 0)) return $fromIndex; var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); }; function nle_EaglercraftRandom() { let a = this; jl_Object.call(a); a.$seed = Long_ZERO; a.$nextNextGaussian = 0.0; a.$haveNextNextGaussian = 0; } let nle_EaglercraftRandom__init_ = $this => { let var$1; var$1 = Long_fromNumber(performance.now() * 1000000.0); $this.$seed = Long_fromInt(69); $this.$haveNextNextGaussian = 0; $this.$seed = var$1; }, nle_EaglercraftRandom__init_2 = () => { let var_0 = new nle_EaglercraftRandom(); nle_EaglercraftRandom__init_(var_0); return var_0; }, nle_EaglercraftRandom__init_0 = ($this, $seed) => { $this.$seed = Long_fromInt(69); $this.$haveNextNextGaussian = 0; $this.$seed = $seed; }, nle_EaglercraftRandom__init_1 = var_0 => { let var_1 = new nle_EaglercraftRandom(); nle_EaglercraftRandom__init_0(var_1, var_0); return var_1; }, nle_EaglercraftRandom_nextInt = ($this, $bound) => { let var$2, $u, $m, var$5; var$2 = Long_and(Long_add(Long_mul($this.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $this.$seed = var$2; $u = Long_lo(Long_shru(var$2, 17)); $m = $bound - 1 | 0; if (!($bound & $m)) var$5 = Long_lo(Long_shr(Long_mul(Long_fromInt($bound), Long_fromInt($u)), 31)); else while (true) { var$5 = $u % $bound | 0; if ((($u - var$5 | 0) + $m | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($this.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $this.$seed = var$2; $u = Long_lo(Long_shru(var$2, 17)); } return var$5; }, nle_EaglercraftRandom_nextFloat = $this => { let var$1; var$1 = Long_and(Long_add(Long_mul($this.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $this.$seed = var$1; return Long_lo(Long_shru(var$1, 24)) / 1.6777216E7; }, nle_EaglercraftRandom_nextGaussian = $this => { let var$1, var$2, var$3, $v1, $v2, $s, $multiplier; if ($this.$haveNextNextGaussian) { $this.$haveNextNextGaussian = 0; return $this.$nextNextGaussian; } while (true) { while (true) { var$1 = Long_and(Long_add(Long_mul($this.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $this.$seed = var$1; var$2 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$1, 22))), 27); var$3 = Long_and(Long_add(Long_mul(var$1, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $this.$seed = var$3; $v1 = 2.0 * Long_toNumber(Long_add(var$2, Long_fromInt(Long_lo(Long_shru(var$3, 21))))) * 1.1102230246251565E-16 - 1.0; var$3 = Long_and(Long_add(Long_mul(var$3, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $this.$seed = var$3; var$1 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$3, 22))), 27); var$2 = Long_and(Long_add(Long_mul(var$3, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $this.$seed = var$2; $v2 = 2.0 * Long_toNumber(Long_add(var$1, Long_fromInt(Long_lo(Long_shru(var$2, 21))))) * 1.1102230246251565E-16 - 1.0; $s = $v1 * $v1 + $v2 * $v2; if ($s >= 1.0) continue; else break; } if ($s === 0.0) continue; else break; } $multiplier = jl_Math_sqrt((-2.0) * jl_Math_log($s) / $s); $this.$nextNextGaussian = $v2 * $multiplier; $this.$haveNextNextGaussian = 1; return $v1 * $multiplier; }, ji_InputStream = $rt_classWithoutFields(), ji_InputStream__init_ = $this => { return; }, ji_InputStream_read = ($this, $b) => { return $this.$read0($b, 0, $b.data.length); }, ji_InputStream_read0 = ($this, $b, $off, $len) => { let $i, $bt, var$6, var$7; $i = 0; while ($i < $len) { $bt = $this.$read(); if ($bt < 0) { if (!$i) $i = (-1); return $i; } var$6 = $b.data; var$7 = $off + 1 | 0; var$6[$off] = $bt << 24 >> 24; $i = $i + 1 | 0; $off = var$7; } if ($len <= 0) $len = (-1); return $len; }, ji_InputStream_available = $this => { return 0; }, ji_InputStream_close = $this => { return; }; function ji_FilterInputStream() { ji_InputStream.call(this); this.$in = null; } let ji_FilterInputStream_read = $this => { return $this.$in.$read(); }, ji_FilterInputStream_read0 = ($this, $buffer) => { return $this.$read0($buffer, 0, $buffer.data.length); }, ji_DataInput = $rt_classWithoutFields(0); function ji_DataInputStream() { ji_FilterInputStream.call(this); this.$buff = null; } let ji_DataInputStream__init_0 = ($this, $in) => { $this.$in = $in; $this.$buff = $rt_createByteArray(8); }, ji_DataInputStream__init_ = var_0 => { let var_1 = new ji_DataInputStream(); ji_DataInputStream__init_0(var_1, var_0); return var_1; }, ji_DataInputStream_readBoolean = $this => { let $temp, var$2; $temp = $this.$in.$read(); if ($temp >= 0) return !$temp ? 0 : 1; var$2 = new ji_EOFException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, ji_DataInputStream_readByte = $this => { let $temp, var$2; $temp = $this.$in.$read(); if ($temp >= 0) return $temp << 24 >> 24; var$2 = new ji_EOFException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, ji_DataInputStream_readChar = $this => { let var$1, var$2, var$3, var$4; var$1 = 0; a: { while (var$1 < 2) { var$2 = $this.$in.$read0($this.$buff, var$1, 2 - var$1 | 0); if (var$2 == (-1)) { var$1 = var$2; break a; } var$1 = var$1 + var$2 | 0; } } if (var$1 < 0) { var$3 = new ji_EOFException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$4 = $this.$buff.data; return ((var$4[0] & 255) << 8 | var$4[1] & 255) & 65535; }, ji_DataInputStream_readFully = ($this, $buffer, $offset, $length) => { let var$4, $result; if ($length < 0) { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if (!$length) return; if ($this.$in === null) { var$4 = new jl_NullPointerException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($buffer === null) { var$4 = new jl_NullPointerException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($offset >= 0 && $offset <= ($buffer.data.length - $length | 0)) { while ($length > 0) { $result = $this.$in.$read0($buffer, $offset, $length); if ($result < 0) { var$4 = new ji_EOFException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } $offset = $offset + $result | 0; $length = $length - $result | 0; } return; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); }, ji_DataInputStream_readInt = $this => { let var$1, var$2, var$3, var$4; var$1 = 0; a: { while (var$1 < 4) { var$2 = $this.$in.$read0($this.$buff, var$1, 4 - var$1 | 0); if (var$2 == (-1)) { var$1 = var$2; break a; } var$1 = var$1 + var$2 | 0; } } if (var$1 < 0) { var$3 = new ji_EOFException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$4 = $this.$buff.data; return (var$4[0] & 255) << 24 | (var$4[1] & 255) << 16 | (var$4[2] & 255) << 8 | var$4[3] & 255; }, ji_DataInputStream_readLong = $this => { let $i2, var$2, var$3, var$4; $i2 = 0; a: { while ($i2 < 8) { var$2 = $this.$in.$read0($this.$buff, $i2, 8 - $i2 | 0); if (var$2 == (-1)) { $i2 = var$2; break a; } $i2 = $i2 + var$2 | 0; } } if ($i2 < 0) { var$3 = new ji_EOFException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$4 = $this.$buff.data; return Long_or(Long_shl(Long_and(Long_fromInt((var$4[0] & 255) << 24 | (var$4[1] & 255) << 16 | (var$4[2] & 255) << 8 | var$4[3] & 255), Long_create(4294967295, 0)), 32), Long_and(Long_fromInt((var$4[4] & 255) << 24 | (var$4[5] & 255) << 16 | (var$4[6] & 255) << 8 | var$4[7] & 255), Long_create(4294967295, 0))); }, ji_DataInputStream_readShort = $this => { let var$1, var$2, var$3, var$4; var$1 = 0; a: { while (var$1 < 2) { var$2 = $this.$in.$read0($this.$buff, var$1, 2 - var$1 | 0); if (var$2 == (-1)) { var$1 = var$2; break a; } var$1 = var$1 + var$2 | 0; } } if (var$1 < 0) { var$3 = new ji_EOFException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$4 = $this.$buff.data; return ((var$4[0] & 255) << 24 >> 16 | var$4[1] & 255) << 16 >> 16; }, ji_DataInputStream_readUnsignedShort = $this => { let var$1, var$2, var$3, var$4; var$1 = 0; a: { while (var$1 < 2) { var$2 = $this.$in.$read0($this.$buff, var$1, 2 - var$1 | 0); if (var$2 == (-1)) { var$1 = var$2; break a; } var$1 = var$1 + var$2 | 0; } } if (var$1 < 0) { var$3 = new ji_EOFException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$4 = $this.$buff.data; return ((var$4[0] & 255) << 8 | var$4[1] & 255) & 65535; }, ji_DataInputStream_readUTF = $this => { let var$1, var$2, var$3; var$1 = ji_DataInputStream_readUnsignedShort($this); var$2 = $rt_createByteArray(var$1); var$3 = $rt_createCharArray(var$1); ji_DataInputStream_readFully($this, var$2, 0, var$1); return ji_DataInputStream_convertUTF8WithBuf(var$2, var$3, 0, var$1); }, ji_DataInputStream_convertUTF8WithBuf = ($buf, $out, $offset, $utfSize) => { let $count, $s, var$7, var$8, var$9, var$10, $ch, $a, $b, $b_0, $c; $count = 0; $s = 0; while (true) { if ($count >= $utfSize) { $buf = $out.data; var$7 = new jl_String; $offset = $buf.length; if ($s >= 0 && $s <= ($offset - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString($out.data, 0, $s); return var$7; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } var$8 = $buf.data; var$9 = $out.data; var$10 = $count + 1 | 0; $ch = var$8[$offset + $count | 0] & 65535; var$9[$s] = $ch; $a = var$9[$s]; if ($ch < 128) $s = $s + 1 | 0; else if (($a & 224) == 192) { if (var$10 >= $utfSize) { var$7 = new ji_UTFDataFormatException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $rt_s(527); $rt_throw(var$7); } $count = var$10 + 1 | 0; $b = var$8[$offset + var$10 | 0]; if (($b & 192) != 128) { var$7 = new ji_UTFDataFormatException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $rt_s(528); $rt_throw(var$7); } $ch = $s + 1 | 0; var$9[$s] = (($a & 31) << 6 | $b & 63) & 65535; $s = $ch; var$10 = $count; } else { if (($a & 240) != 224) { var$7 = new ji_UTFDataFormatException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $rt_s(528); $rt_throw(var$7); } $count = var$10 + 1 | 0; if ($count >= $utfSize) { var$7 = new ji_UTFDataFormatException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $rt_s(528); $rt_throw(var$7); } $b_0 = var$8[$offset + var$10 | 0]; var$10 = $count + 1 | 0; $c = var$8[$offset + $count | 0]; if (($b_0 & 192) != 128) break; if (($c & 192) != 128) break; $b = $s + 1 | 0; var$9[$s] = (($a & 15) << 12 | ($b_0 & 63) << 6 | $c & 63) & 65535; $s = $b; } $count = var$10; } var$7 = new ji_UTFDataFormatException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $rt_s(528); $rt_throw(var$7); }; function ji_BufferedInputStream() { let a = this; ji_FilterInputStream.call(a); a.$buf2 = null; a.$count4 = 0; a.$marklimit = 0; a.$markpos = 0; a.$pos2 = 0; } let ji_BufferedInputStream_available = $this => { let $localIn, var$2; $localIn = $this.$in; if ($this.$buf2 !== null && $localIn !== null) return ($this.$count4 - $this.$pos2 | 0) + $localIn.$available() | 0; var$2 = new ji_IOException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(529); $rt_throw(var$2); }, ji_BufferedInputStream_close = $this => { let $localIn; $this.$buf2 = null; $localIn = $this.$in; $this.$in = null; if ($localIn !== null) $localIn.$close(); }, ji_BufferedInputStream_fillbuf = ($this, $localIn, $localBuf) => { let $bytesread, $result, var$5, $newLength, $newbuf; $bytesread = $this.$markpos; if ($bytesread != (-1)) { $result = $this.$pos2 - $bytesread | 0; var$5 = $this.$marklimit; if ($result < var$5) { a: { if (!$bytesread) { $result = $localBuf.data.length; if (var$5 > $result) { $newLength = $result * 2 | 0; if ($newLength <= var$5) var$5 = $newLength; $newbuf = $rt_createByteArray(var$5); jl_System_fastArraycopy($localBuf, 0, $newbuf, 0, $result); $this.$buf2 = $newbuf; $localBuf = $this.$buf2; break a; } } if ($bytesread > 0) jl_System_fastArraycopy($localBuf, $bytesread, $localBuf, 0, $localBuf.data.length - $bytesread | 0); } $newbuf = $localBuf.data; $result = $this.$pos2 - $this.$markpos | 0; $this.$pos2 = $result; $this.$count4 = 0; $this.$markpos = 0; $bytesread = $localIn.$read0($localBuf, $result, $newbuf.length - $result | 0); $this.$count4 = $bytesread <= 0 ? $this.$pos2 : $this.$pos2 + $bytesread | 0; return $bytesread; } } $result = $localIn.$read1($localBuf); if ($result > 0) { $this.$markpos = (-1); $this.$pos2 = 0; $this.$count4 = $result; } return $result; }, ji_BufferedInputStream_read0 = $this => { let $localBuf, $localIn, var$3, var$4, var$5; jl_Object_monitorEnterSync($this); try { $localBuf = $this.$buf2; $localIn = $this.$in; if ($localBuf !== null && $localIn !== null) { if ($this.$pos2 >= $this.$count4 && ji_BufferedInputStream_fillbuf($this, $localIn, $localBuf) == (-1)) return (-1); if ($localBuf !== $this.$buf2) { $localBuf = $this.$buf2; if ($localBuf === null) { $localIn = new ji_IOException; $localIn.$suppressionEnabled = 1; $localIn.$writableStackTrace = 1; $localIn.$message = $rt_s(529); $rt_throw($localIn); } } var$3 = $this.$count4; var$4 = $this.$pos2; if ((var$3 - var$4 | 0) <= 0) return (-1); $localBuf = $localBuf.data; $this.$pos2 = var$4 + 1 | 0; return $localBuf[var$4] & 255; } var$5 = new ji_IOException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(529); $rt_throw(var$5); } finally { jl_Object_monitorExitSync($this); } }, ji_BufferedInputStream_read = ($this, $buffer, $offset, $length) => { let $localBuf, $localIn, $required, $read, $copylength; jl_Object_monitorEnterSync($this); try { $localBuf = $this.$buf2; if ($localBuf === null) { $localIn = new ji_IOException; $localIn.$suppressionEnabled = 1; $localIn.$writableStackTrace = 1; $localIn.$message = $rt_s(529); $rt_throw($localIn); } if ($offset <= ($buffer.data.length - $length | 0) && $offset >= 0 && $length >= 0) { if (!$length) return 0; $localIn = $this.$in; if ($localIn === null) { $localIn = new ji_IOException; $localIn.$suppressionEnabled = 1; $localIn.$writableStackTrace = 1; $localIn.$message = $rt_s(529); $rt_throw($localIn); } $required = $this.$pos2; $read = $this.$count4; if ($required >= $read) $required = $length; else { $copylength = $read - $required | 0; if ($copylength >= $length) $copylength = $length; jl_System_fastArraycopy($localBuf, $required, $buffer, $offset, $copylength); $this.$pos2 = $this.$pos2 + $copylength | 0; if ($copylength != $length && $localIn.$available()) { $offset = $offset + $copylength | 0; $required = $length - $copylength | 0; } else return $copylength; } while (true) { if ($this.$markpos == (-1) && $required >= $localBuf.data.length) { $read = $localIn.$read0($buffer, $offset, $required); if ($read == (-1)) return $required != $length ? $length - $required | 0 : (-1); } else { if (ji_BufferedInputStream_fillbuf($this, $localIn, $localBuf) == (-1)) return $required != $length ? $length - $required | 0 : (-1); if ($localBuf !== $this.$buf2) { $localBuf = $this.$buf2; if ($localBuf === null) { $localIn = new ji_IOException; $localIn.$suppressionEnabled = 1; $localIn.$writableStackTrace = 1; $localIn.$message = $rt_s(529); $rt_throw($localIn); } } $read = $this.$count4; $copylength = $this.$pos2; $read = $read - $copylength | 0; if ($read >= $required) $read = $required; jl_System_fastArraycopy($localBuf, $copylength, $buffer, $offset, $read); $this.$pos2 = $this.$pos2 + $read | 0; } $required = $required - $read | 0; if (!$required) break; if (!$localIn.$available()) return $length - $required | 0; $offset = $offset + $read | 0; } return $length; } $localIn = new jl_IndexOutOfBoundsException; $localIn.$suppressionEnabled = 1; $localIn.$writableStackTrace = 1; $rt_throw($localIn); } finally { jl_Object_monitorExitSync($this); } }; function ji_ByteArrayInputStream() { let a = this; ji_InputStream.call(a); a.$buf3 = null; a.$pos1 = 0; a.$mark1 = 0; a.$count0 = 0; } let ji_ByteArrayInputStream__init_0 = ($this, $buf) => { let var$2; var$2 = $buf.data.length; $this.$buf3 = $buf; $this.$pos1 = 0; $this.$mark1 = 0; $this.$count0 = 0 + var$2 | 0; }, ji_ByteArrayInputStream__init_ = var_0 => { let var_1 = new ji_ByteArrayInputStream(); ji_ByteArrayInputStream__init_0(var_1, var_0); return var_1; }, ji_ByteArrayInputStream_read = $this => { let var$1, var$2, var$3; var$1 = $this.$pos1; if (var$1 >= $this.$count0) var$2 = (-1); else { var$3 = $this.$buf3.data; $this.$pos1 = var$1 + 1 | 0; var$2 = var$3[var$1] & 255; } return var$2; }, ji_ByteArrayInputStream_read0 = ($this, $b, $off, $bytesToRead) => { let $bytesToRead_0, $i, var$6, var$7, var$8; $bytesToRead_0 = $this.$count0 - $this.$pos1 | 0; if ($bytesToRead < $bytesToRead_0) $bytesToRead_0 = $bytesToRead; $i = 0; while ($i < $bytesToRead_0) { var$6 = $b.data; $bytesToRead = $off + 1 | 0; var$7 = $this.$buf3.data; var$8 = $this.$pos1; $this.$pos1 = var$8 + 1 | 0; var$6[$off] = var$7[var$8]; $i = $i + 1 | 0; $off = $bytesToRead; } if ($bytesToRead_0 <= 0) $bytesToRead_0 = (-1); return $bytesToRead_0; }, ji_ByteArrayInputStream_available = $this => { return $this.$count0 - $this.$pos1 | 0; }, ji_ByteArrayInputStream_close = $this => { return; }; function nms_NBTTagList() { let a = this; nms_NBTBase.call(a); a.$tagList = null; a.$tagType = 0; } let nms_NBTTagList__init_ = $this => { let var$1; $this.$name = $rt_s(18); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$tagList = var$1; }, nms_NBTTagList__init_0 = () => { let var_0 = new nms_NBTTagList(); nms_NBTTagList__init_(var_0); return var_0; }, nms_NBTTagList_write = ($this, $par1DataOutput) => { let var$2, var$3, $var2; var$2 = $this.$tagList; var$3 = var$2.$size0; if (var$3 ? 0 : 1) $this.$tagType = 1; else { if (0 >= var$3) { $par1DataOutput = new jl_IndexOutOfBoundsException; $par1DataOutput.$suppressionEnabled = 1; $par1DataOutput.$writableStackTrace = 1; $rt_throw($par1DataOutput); } $this.$tagType = var$2.$array.data[0].$getId(); } $var2 = $this.$tagType; $par1DataOutput.$out0.$write1($var2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; ji_DataOutputStream_writeInt($par1DataOutput, $this.$tagList.$size0); $var2 = 0; a: { while (true) { var$2 = $this.$tagList; var$3 = $rt_compare($var2, var$2.$size0); if (var$3 >= 0) break; if ($var2 < 0) break a; if (var$3 >= 0) break a; var$2.$array.data[$var2].$write5($par1DataOutput); $var2 = $var2 + 1 | 0; } return; } $par1DataOutput = new jl_IndexOutOfBoundsException; $par1DataOutput.$suppressionEnabled = 1; $par1DataOutput.$writableStackTrace = 1; $rt_throw($par1DataOutput); }, nms_NBTTagList_load = ($this, $par1DataInput, $par2) => { let $var3, var$4, $var4, var$6, $var5, var$8, var$9; if ($par2 > 512) { $par1DataInput = new jl_RuntimeException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $par1DataInput.$message = $rt_s(442); $rt_throw($par1DataInput); } $var3 = $par1DataInput.$in.$read(); if ($var3 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$tagType = $var3 << 24 >> 24; $var3 = ji_DataInputStream_readInt($par1DataInput); var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$tagList = var$4; $var4 = 0; var$4 = null; var$6 = $par2 + 1 | 0; while ($var4 < $var3) { $var5 = nms_NBTBase_newTag($this.$tagType, var$4); $var5.$load($par1DataInput, var$6); var$8 = $this.$tagList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$9 = var$8.$array.data; $par2 = var$8.$size0; var$8.$size0 = $par2 + 1 | 0; var$9[$par2] = $var5; var$8.$modCount = var$8.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } }, nms_NBTTagList_getId = $this => { return 9; }, nms_NBTTagList_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; a: { var$1 = $this.$tagList.$size0; switch ($this.$tagType) { case 0: break; case 1: var$2 = $rt_s(530); break a; case 2: var$2 = $rt_s(531); break a; case 3: var$2 = $rt_s(532); break a; case 4: var$2 = $rt_s(533); break a; case 5: var$2 = $rt_s(534); break a; case 6: var$2 = $rt_s(535); break a; case 7: var$2 = $rt_s(536); break a; case 8: var$2 = $rt_s(537); break a; case 9: var$2 = $rt_s(538); break a; case 10: var$2 = $rt_s(539); break a; case 11: var$2 = $rt_s(540); break a; default: var$2 = $rt_s(541); break a; } var$2 = $rt_s(542); } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$1, 10); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(543)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2); var$2 = new jl_String; var$4 = var$3.$buffer; var$5 = var$4.data; var$6 = var$3.$length0; var$1 = var$5.length; if (var$6 >= 0 && var$6 <= (var$1 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$2; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, nms_NBTTagList_tagAt = ($this, $par1) => { let var$2; var$2 = $this.$tagList; if ($par1 >= 0 && $par1 < var$2.$size0) return var$2.$array.data[$par1]; var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, nms_NBTTagList_tagCount = $this => { return $this.$tagList.$size0; }, nms_NBTTagList_copy = $this => { let $var1, var$2, $var2$index, var$4, var$5, $var2$index_0, $var4, $var3, var$9; $var1 = new nms_NBTTagList; var$2 = $this.$name; if (var$2 === null) var$2 = $rt_s(18); $var1.$name = var$2; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $var1.$tagList = var$2; $var1.$tagType = $this.$tagType; var$2 = $this.$tagList; $var2$index = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); while ($var2$index >= var$5 ? 0 : 1) { if (var$4 < var$2.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var2$index_0 = $var2$index + 1 | 0; $var4 = (var$2.$get($var2$index)).$copy(); $var3 = $var1.$tagList; ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); var$9 = $var3.$array.data; $var2$index = $var3.$size0; $var3.$size0 = $var2$index + 1 | 0; var$9[$var2$index] = $var4; $var3.$modCount = $var3.$modCount + 1 | 0; $var2$index = $var2$index_0; } return $var1; }, nms_NBTTagList_equals = ($this, $par1Obj) => { let $var2; if (nms_NBTBase_equals($this, $par1Obj)) { $var2 = $par1Obj; if ($this.$tagType == $var2.$tagType) return ju_AbstractList_equals($this.$tagList, $var2.$tagList); } return 0; }, nms_NBTTagList_hashCode = $this => { let var$1, var$2, var$3, var$4, var$5; a: { var$1 = $this.$name; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$2 = var$1.$hashCode1 ^ 9; var$1 = $this.$tagList; var$3 = 1; var$4 = 0; while (var$4 < var$1.$size0) { var$3 = 31 * var$3 | 0; var$5 = var$1.$array.data[var$4]; var$3 = var$3 + (var$5 !== null ? var$5.$hashCode() : 0) | 0; var$4 = var$4 + 1 | 0; } return var$2 ^ var$3; }, ji_Flushable = $rt_classWithoutFields(0), ji_OutputStream = $rt_classWithoutFields(), ji_OutputStream__init_ = $this => { return; }, ji_OutputStream_write = ($this, $b) => { $this.$write4($b, 0, $b.data.length); }, ji_OutputStream_close = $this => { return; }, ji_OutputStream_flush = $this => { return; }; function ji_FilterOutputStream() { ji_OutputStream.call(this); this.$out0 = null; } let ji_FilterOutputStream__init_ = ($this, $out) => { $this.$out0 = $out; }, ji_FilterOutputStream__init_0 = var_0 => { let var_1 = new ji_FilterOutputStream(); ji_FilterOutputStream__init_(var_1, var_0); return var_1; }; function ji_PrintStream() { let a = this; ji_FilterOutputStream.call(a); a.$autoFlush = 0; a.$sb = null; a.$buffer0 = null; a.$charset = null; } let ji_PrintStream__init_0 = ($this, $out, $autoFlush) => { $this.$out0 = $out; $out = new jl_StringBuilder; $out.$buffer = $rt_createCharArray(16); $this.$sb = $out; $this.$buffer0 = $rt_createCharArray(32); $this.$autoFlush = $autoFlush; $this.$charset = jnci_UTF8Charset_INSTANCE; }, ji_PrintStream__init_1 = (var_0, var_1) => { let var_2 = new ji_PrintStream(); ji_PrintStream__init_0(var_2, var_0, var_1); return var_2; }, ji_PrintStream__init_ = ($this, $out) => { $this.$out0 = $out; $out = new jl_StringBuilder; $out.$buffer = $rt_createCharArray(16); $this.$sb = $out; $this.$buffer0 = $rt_createCharArray(32); $this.$autoFlush = 0; $this.$charset = jnci_UTF8Charset_INSTANCE; }, ji_PrintStream__init_2 = var_0 => { let var_1 = new ji_PrintStream(); ji_PrintStream__init_(var_1, var_0); return var_1; }, otcic_JsConsolePrintStream = $rt_classWithoutFields(ji_PrintStream), otcic_JsConsolePrintStream_println = ($this, $s) => { $this.$print($s); $this.$print($rt_s(469)); }, otcic_JSStdoutPrintStream = $rt_classWithoutFields(otcic_JsConsolePrintStream), otcic_JSStdoutPrintStream__init_ = $this => { let var$1; var$1 = new ji_ByteArrayOutputStream; var$1.$buf = $rt_createByteArray(32); $this.$out0 = var$1; var$1 = new jl_StringBuilder; var$1.$buffer = $rt_createCharArray(16); $this.$sb = var$1; $this.$buffer0 = $rt_createCharArray(32); $this.$autoFlush = 0; $this.$charset = jnci_UTF8Charset_INSTANCE; }, otcic_JSStdoutPrintStream__init_0 = () => { let var_0 = new otcic_JSStdoutPrintStream(); otcic_JSStdoutPrintStream__init_(var_0); return var_0; }, otcic_JSStdoutPrintStream_print = ($this, $s) => { if ($s === null) $s = $rt_s(1); $rt_putStdout($rt_ustr($s)); }; function nms_Timer() { let a = this; jl_Object.call(a); a.$ticksPerSecond = 0.0; a.$lastHRTime = 0.0; a.$elapsedTicks = 0; a.$renderPartialTicks = 0.0; a.$timerSpeed = 0.0; a.$elapsedPartialTicks = 0.0; a.$lastSyncSysClock = Long_ZERO; a.$lastSyncHRClock = Long_ZERO; a.$field_74285_i = Long_ZERO; a.$timeSyncAdjustment = 0.0; } let nms_Timer_updateTimer = $this => { let var$1, $var3, $var5, $var7, $var11, $var13, var$7, var$8; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var3 = Long_sub(var$1, $this.$lastSyncSysClock); $var5 = Long_div(Long_fromNumber(performance.now() * 1000000.0), Long_fromInt(1000000)); $var7 = Long_toNumber($var5) / 1000.0; if (Long_le($var3, Long_fromInt(1000)) && Long_ge($var3, Long_ZERO)) { $var3 = Long_add($this.$field_74285_i, $var3); $this.$field_74285_i = $var3; if (Long_gt($var3, Long_fromInt(1000))) { $var11 = Long_toNumber($var3) / Long_toNumber(Long_sub($var5, $this.$lastSyncHRClock)); $var13 = $this.$timeSyncAdjustment; $this.$timeSyncAdjustment = $var13 + ($var11 - $var13) * 0.20000000298023224; $this.$lastSyncHRClock = $var5; $this.$field_74285_i = Long_ZERO; } if (Long_lt($this.$field_74285_i, Long_ZERO)) $this.$lastSyncHRClock = $var5; } else $this.$lastHRTime = $var7; $this.$lastSyncSysClock = var$1; $var13 = ($var7 - $this.$lastHRTime) * $this.$timeSyncAdjustment; $this.$lastHRTime = $var7; if ($var13 < 0.0) $var13 = 0.0; if ($var13 > 1.0) $var13 = 1.0; var$7 = $this.$elapsedPartialTicks + $var13 * $this.$timerSpeed * $this.$ticksPerSecond; $this.$elapsedPartialTicks = var$7; var$8 = var$7 | 0; $this.$elapsedTicks = var$8; var$7 = var$7 - var$8; $this.$elapsedPartialTicks = var$7; if (var$8 > 10) $this.$elapsedTicks = 10; $this.$renderPartialTicks = var$7; }; function nms_SoundManager() { let a = this; jl_Object.call(a); a.$options = null; a.$soundevents = null; a.$queuedsoundevents = null; a.$activerecords = null; a.$sounddefinitions = null; a.$soundrandom = null; a.$resetTimer = 0; a.$titleMusic = 0; } let nms_SoundManager_remapAdl = null, nms_SoundManager_$callClinit = () => { nms_SoundManager_$callClinit = $rt_eraseClinit(nms_SoundManager); nms_SoundManager__clinit_(); }, nms_SoundManager__init_ = $this => { let var$1, var$2; nms_SoundManager_$callClinit(); $this.$resetTimer = 0; $this.$titleMusic = (-1); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$soundevents = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$queuedsoundevents = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$activerecords = var$1; $this.$sounddefinitions = null; var$1 = new nle_EaglercraftRandom; var$2 = Long_fromNumber(performance.now() * 1000000.0); var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = var$2; $this.$soundrandom = var$1; }, nms_SoundManager__init_0 = () => { let var_0 = new nms_SoundManager(); nms_SoundManager__init_(var_0); return var_0; }, nms_SoundManager_loadSoundSettings = ($this, $par1GameSettings) => { let var$2, $file, $j, $l, var$6, var$7, $i, var$9, $c, $cc, $e, $$je; a: { b: { $this.$options = $par1GameSettings; var$2 = $par1GameSettings.$musicVolume; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_setGainlessAudioVolume(nlea_EaglerAdapterImpl2_musicVolumeNode.gain.value, var$2, 1); $par1GameSettings = nlea_EaglerAdapterImpl2_musicVolumeNode.gain; $file = var$2; $par1GameSettings.value = $file; var$2 = $this.$options.$soundVolume; nlea_EaglerAdapterImpl2_setGainlessAudioVolume(nlea_EaglerAdapterImpl2_masterVolumeNode.gain.value, var$2, 0); $par1GameSettings = nlea_EaglerAdapterImpl2_masterVolumeNode.gain; $file = var$2; $par1GameSettings.value = $file; if ($this.$sounddefinitions === null) { $this.$sounddefinitions = ju_HashMap__init_(); $j = 0; while (true) { if ($j >= 2) break b; $par1GameSettings = $j != 1 ? $rt_s(18) : $rt_s(544); $file = new jl_StringBuilder; $file.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($file, $file.$length0, $rt_s(545)); jl_AbstractStringBuilder_insert($file, $file.$length0, $par1GameSettings); $l = new jl_String; var$6 = $file.$buffer; var$7 = var$6.data; $i = $file.$length0; var$9 = var$7.length; if ($i < 0) break a; if ($i > (var$9 - 0 | 0)) break a; $l.$nativeString = $rt_charArrayToString(var$6.data, 0, $i); if ($l === $rt_s(192) ? 1 : jl_String_startsWith($l, $rt_s(192), 0)) $l = jl_String_substring($l, 1, $l.$nativeString.length); $par1GameSettings = nle_AssetRepository_filePool; if ($l === null) { $par1GameSettings = $par1GameSettings.$elementData.data[0]; while ($par1GameSettings !== null && $par1GameSettings.$key !== null) { $par1GameSettings = $par1GameSettings.$next3; } } else { c: { if (!$l.$hashCode1) { $c = 0; while (true) { if ($c >= $l.$nativeString.length) break c; $l.$hashCode1 = (31 * $l.$hashCode1 | 0) + $l.$nativeString.charCodeAt($c) | 0; $c = $c + 1 | 0; } } } var$9 = $l.$hashCode1; var$6 = $par1GameSettings.$elementData.data; $par1GameSettings = var$6[var$9 & (var$6.length - 1 | 0)]; while ($par1GameSettings !== null) { if ($par1GameSettings.$origKeyHash == var$9) { d: { $file = $par1GameSettings.$key; if ($l !== $file) { if ($l === $file) $c = 1; else if (!($file instanceof jl_String)) $c = 0; else { $file = $file; $c = $l.$nativeString !== $file.$nativeString ? 0 : 1; } if (!$c) { $c = 0; break d; } } $c = 1; } if ($c) break; } $par1GameSettings = $par1GameSettings.$next3; } } $par1GameSettings = $par1GameSettings === null ? null : $par1GameSettings.$value1; e: { var$6 = $par1GameSettings; if (var$6 !== null) { try { $file = nms_CompressedStreamTools_readUncompressed(var$6); if (!$j) nlea_EaglerAdapterImpl2_setPlaybackOffsetDelay(!nms_NBTTagCompound_hasKey($file, $rt_s(546)) ? 0.029999999329447746 : nms_NBTTagCompound_getFloat($file, $rt_s(546))); $l = nms_NBTTagCompound_getTagList($file, $rt_s(547)); $c = nms_NBTTagList_tagCount($l); $i = 0; while ($i < $c) { $cc = nms_NBTTagList_tagAt($l, $i); ju_HashMap_put($this.$sounddefinitions, nms_NBTTagCompound_getString($cc, $rt_s(548)), jl_Integer_valueOf(nms_NBTTagCompound_getByte($cc, $rt_s(549)) & 255)); $i = $i + 1 | 0; } break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($e); } } $j = $j + 1 | 0; } } } return; } $par1GameSettings = new jl_IndexOutOfBoundsException; $par1GameSettings.$suppressionEnabled = 1; $par1GameSettings.$writableStackTrace = 1; $rt_throw($par1GameSettings); }, nms_SoundManager_onSoundOptionsChanged = $this => { let var$1, var$2, var$3, var$4; var$1 = $this.$options.$musicVolume; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_setGainlessAudioVolume(nlea_EaglerAdapterImpl2_musicVolumeNode.gain.value, var$1, 1); nlea_EaglerAdapterImpl2_musicVolumeNode.gain.value = var$1; var$2 = $this.$options.$musicVolume; if (var$2 > 0.0) nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!($this.$titleMusic == (-1) ? 0 : 1), var$2); var$1 = $this.$options.$soundVolume; nlea_EaglerAdapterImpl2_setGainlessAudioVolume(nlea_EaglerAdapterImpl2_masterVolumeNode.gain.value, var$1, 0); var$3 = nlea_EaglerAdapterImpl2_masterVolumeNode.gain; var$4 = var$1; var$3.value = var$4; }, nms_SoundManager_setListener = ($this, $par1EntityLiving, $par2) => { let $x, $y, $z, $pitch, var$7, $yaw, var$9, $$je; a: { if ($par1EntityLiving === null) nlea_EaglerAdapterImpl2_setListenerPos(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); else { $x = $par1EntityLiving.$prevPosX; $y = $par1EntityLiving.$posX - $x; $z = $par2; $x = $x + $y * $z; $y = $par1EntityLiving.$prevPosY; $y = $y + ($par1EntityLiving.$posY - $y) * $z; $pitch = $par1EntityLiving.$prevPosZ; $z = $pitch + ($par1EntityLiving.$posZ - $pitch) * $z; var$7 = $par1EntityLiving.$prevRotationPitch; $pitch = var$7 + ($par1EntityLiving.$rotationPitch - var$7) * $par2; var$7 = $par1EntityLiving.$prevRotationYaw; $yaw = var$7 + ($par1EntityLiving.$rotationYaw - var$7) * $par2; try { nlea_EaglerAdapterImpl2_setListenerPos($x, $y, $z, $par1EntityLiving.$motionX, $par1EntityLiving.$motionY, $par1EntityLiving.$motionZ, $pitch, $yaw); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } if (jl_System_errCache === null) { $par1EntityLiving = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); $par1EntityLiving.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); $par1EntityLiving.$sb = var$9; $par1EntityLiving.$buffer0 = $rt_createCharArray(32); $par1EntityLiving.$autoFlush = 0; $par1EntityLiving.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLiving; } $rt_putStderr("AudioListener f***ed up again"); $rt_putStderr("\n"); } } }, nms_SoundManager_playStreaming = ($this, $par1Str, $par2, $par3, $par4, $music) => { let var$6, var$7, $snd, var$9, var$10, $record, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$record = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$snd = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$music = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $this.$activerecords; var$7 = 0; $snd = var$6.$modCount; var$9 = var$6.$size(); while (true) { if (!(var$7 >= var$9 ? 0 : 1)) { var$6 = $this.$activerecords; var$10 = var$6.$array; var$9 = 0; var$7 = var$6.$size0; $record = null; if (var$9 > var$7) { $par1Str = new jl_IllegalArgumentException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } while (var$9 < var$7) { var$12 = var$10.data; $snd = var$9 + 1 | 0; var$12[var$9] = $record; var$9 = $snd; } var$6.$size0 = 0; var$6.$modCount = var$6.$modCount + 1 | 0; if ($par1Str === null) return; var$12 = $rt_createCharArray($par1Str.$nativeString.length); var$10 = var$12.data; var$7 = 0; a: { while (true) { if (var$7 >= $par1Str.$nativeString.length) { var$13 = new jl_String; var$13.$nativeString = ""; var$13.$nativeString = $rt_fullArrayToString(var$12.data); var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(550)); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, var$13); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(362)); $record = new jl_String; var$12 = var$6.$buffer; var$10 = var$12.data; var$9 = var$6.$length0; var$7 = var$10.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { $record.$nativeString = $rt_charArrayToString(var$12.data, 0, var$9); var$14 = 1.0; var$15 = 1.0; $ptr = 1; continue main; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } if (var$7 < 0) break a; if (var$7 >= $par1Str.$nativeString.length) break a; if ($par1Str.$nativeString.charCodeAt(var$7) == 46) var$16 = 47; else { if (var$7 < 0) break; if (var$7 >= $par1Str.$nativeString.length) break; var$16 = $par1Str.$nativeString.charCodeAt(var$7); } var$10[var$7] = var$16; var$7 = var$7 + 1 | 0; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } if ($snd < var$6.$modCount) break; var$16 = var$7 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$6.$get(var$7)).$value0); var$7 = var$16; } $par1Str = new ju_ConcurrentModificationException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); case 1: $tmp = nlea_EaglerAdapterImpl2_beginPlayback($record, $par2, $par3, $par4, var$14, var$15, $music); if ($rt_suspending()) { break main; } $snd = $tmp; if ($snd != (-1)) { $par1Str = $this.$activerecords; if ($snd >= (-128) && $snd <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[$snd + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = $snd; } ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); var$12 = $par1Str.$array.data; $snd = $par1Str.$size0; $par1Str.$size0 = $snd + 1 | 0; var$12[$snd] = var$6; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } else { if (jl_System_errCache === null) { var$6 = new otcic_JSStderrPrintStream; $record = new ji_ByteArrayOutputStream; $record.$buf = $rt_createByteArray(32); var$6.$out0 = $record; $record = new jl_StringBuilder; $record.$buffer = $rt_createCharArray(16); var$6.$sb = $record; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$6; } var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(551)); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $par1Str); $par1Str = new jl_String; var$12 = var$6.$buffer; var$10 = var$12.data; $snd = var$6.$length0; var$9 = var$10.length; if ($snd >= 0 && $snd <= (var$9 - 0 | 0)) { $par1Str.$nativeString = $rt_charArrayToString(var$12.data, 0, $snd); $rt_putStderr($rt_ustr($par1Str)); $rt_putStderr("\n"); } else { $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2, $par3, $par4, $music, var$6, var$7, $snd, var$9, var$10, $record, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_SoundManager_updateSoundLocation = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5, var$6, $e, var$8, var$9, var$10, var$11, var$12, var$13, var$14; var$2 = $this.$soundevents; var$3 = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); while (var$3 >= var$5 ? 0 : 1) { if (var$4 < var$2.$modCount) { $par1Entity = new ju_ConcurrentModificationException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } var$6 = var$3 + 1 | 0; $e = var$2.$get(var$3); var$8 = $e.$e; if (!($par1Entity instanceof nms_Entity) ? 0 : $par1Entity.$entityId != var$8.$entityId ? 0 : 1) { var$3 = $e.$id3; var$9 = $par1Entity.$posX; var$10 = $par1Entity.$posY; var$11 = $par1Entity.$posZ; nlea_EaglerAdapterImpl2_$callClinit(); var$8 = nlea_EaglerAdapterImpl2_activeSoundEffects; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); $e = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { $e = new jl_Integer; $e.$value0 = var$3; } if ($e === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$12 = $e.$value0; var$13 = var$8.$elementData.data; var$8 = var$13[var$12 & (var$13.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$12) { var$14 = var$8.$key; if ($e !== var$14 && !($e === var$14 ? 1 : var$14 instanceof jl_Integer && var$14.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } $e = var$8 === null ? null : var$8.$value1; if ($e !== null) { $e = $e.$panner; if ($e !== null) $e.setPosition(var$9, var$10, var$11); } } var$3 = var$6; } }, nms_SoundManager_updateSoundLocation0 = ($this, $par1Entity, $par2Entity) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, $e, var$11, var$12, var$13, var$14, var$15, var$16; var$3 = $this.$soundevents; var$4 = 0; var$5 = var$3.$modCount; var$6 = var$3.$size(); var$7 = $par1Entity instanceof nms_Entity; var$8 = $par1Entity; while (var$4 >= var$6 ? 0 : 1) { if (var$5 < var$3.$modCount) { $par1Entity = new ju_ConcurrentModificationException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } var$9 = var$4 + 1 | 0; $e = var$3.$get(var$4); $par1Entity = $e.$e; if (!var$7 ? 0 : var$8.$entityId != $par1Entity.$entityId ? 0 : 1) { var$4 = $e.$id3; var$11 = $par2Entity.$posX; var$12 = $par2Entity.$posY; var$13 = $par2Entity.$posZ; nlea_EaglerAdapterImpl2_$callClinit(); $par1Entity = nlea_EaglerAdapterImpl2_activeSoundEffects; if (var$4 >= (-128) && var$4 <= 127) { jl_Integer_ensureIntegerCache(); $e = jl_Integer_integerCache.data[var$4 + 128 | 0]; } else { $e = new jl_Integer; $e.$value0 = var$4; } if ($e === null) { var$14 = $par1Entity.$elementData.data[0]; while (var$14 !== null && var$14.$key !== null) { var$14 = var$14.$next3; } } else { var$15 = $e.$value0; var$16 = $par1Entity.$elementData.data; var$14 = var$16[var$15 & (var$16.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == var$15) { $par1Entity = var$14.$key; if ($e !== $par1Entity && !($e === $par1Entity ? 1 : $par1Entity instanceof jl_Integer && $par1Entity.$value0 == var$15 ? 1 : 0) ? 0 : 1) break; } var$14 = var$14.$next3; } } $par1Entity = var$14 === null ? null : var$14.$value1; if ($par1Entity !== null) { $par1Entity = $par1Entity.$panner; if ($par1Entity !== null) $par1Entity.setPosition(var$11, var$12, var$13); } } var$4 = var$9; } }, nms_SoundManager_playEntitySound = ($this, $par1Str, $par2Entity, $par3, $par4, $par5) => { let $mc, $r, $c, var$9, $i, $ct, $rp, var$13, $path, var$15, var$16, $i_0, var$18, var$19, $v, $p, var$22, var$23, var$24, $e, var$26, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$26 = $thread.pop();$e = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$p = $thread.pop();$v = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$i_0 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$path = $thread.pop();var$13 = $thread.pop();$rp = $thread.pop();$ct = $thread.pop();$i = $thread.pop();var$9 = $thread.pop();$c = $thread.pop();$r = $thread.pop();$mc = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2Entity = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $mc = $this.$soundevents; $r = 0; $c = $mc.$modCount; var$9 = $mc.$size(); $i = $par2Entity instanceof nms_Entity; $ct = $par2Entity; while (true) { if (!($r >= var$9 ? 0 : 1)) { if ($this.$options.$soundVolume > 0.0 && $par3 > 0.0) { $mc = nms_Minecraft_theMinecraft; if (!$mc.$gameSettings.$adderall && !$mc.$entityRenderer.$asdfghjkl) $rp = $par1Str; else if ($mc.$entityRenderer.$startup <= 300) $rp = $par1Str; else { nms_SoundManager_$callClinit(); $ct = nms_SoundManager_remapAdl; if ($par1Str === null) { $ct = $ct.$elementData.data[0]; while ($ct !== null && $ct.$key !== null) { $ct = $ct.$next3; } } else { a: { if (!$par1Str.$hashCode1) { $par5 = 0; while (true) { if ($par5 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt($par5) | 0; $par5 = $par5 + 1 | 0; } } } $r = $par1Str.$hashCode1; var$13 = $ct.$elementData.data; $ct = var$13[$r & (var$13.length - 1 | 0)]; while ($ct !== null) { if ($ct.$origKeyHash == $r) { b: { $path = $ct.$key; if ($par1Str !== $path) { if ($par1Str === $path) $par5 = 1; else if (!($path instanceof jl_String)) $par5 = 0; else { $path = $path; $par5 = $par1Str.$nativeString !== $path.$nativeString ? 0 : 1; } if (!$par5) { $par5 = 0; break b; } } $par5 = 1; } if ($par5) break; } $ct = $ct.$next3; } } $rp = $ct === null ? null : $ct.$value1; if ($rp === null) $rp = $par1Str; else if ($rp === $rt_s(552) ? 1 : jl_String_startsWith($rp, $rt_s(552), 0)) $rp = jl_String_substring($rp, 1, $rp.$nativeString.length); else { $i = 4 - (($mc.$entityRenderer.$startup - 300 | 0) / 200 | 0) | 0; if ($i < 0) $i = 0; $ct = $this.$soundrandom; $c = 2 + $i | 0; var$15 = Long_and(Long_add(Long_mul($ct.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $ct.$seed = var$15; $r = Long_lo(Long_shru(var$15, 17)); $par5 = $c - 1 | 0; if (!($c & $par5)) $i = Long_lo(Long_shr(Long_mul(Long_fromInt($c), Long_fromInt($r)), 31)); else while (true) { $i = $r % $c | 0; if ((($r - $i | 0) + $par5 | 0) >= 0) break; var$15 = Long_and(Long_add(Long_mul($ct.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $ct.$seed = var$15; $r = Long_lo(Long_shru(var$15, 17)); } if ($i) $rp = $par1Str; } } $par1Str = $this.$sounddefinitions; if ($rp === null) { $par1Str = $par1Str.$elementData.data[0]; while ($par1Str !== null && $par1Str.$key !== null) { $par1Str = $par1Str.$next3; } } else { c: { if (!$rp.$hashCode1) { $par5 = 0; while (true) { if ($par5 >= $rp.$nativeString.length) break c; $rp.$hashCode1 = (31 * $rp.$hashCode1 | 0) + $rp.$nativeString.charCodeAt($par5) | 0; $par5 = $par5 + 1 | 0; } } } $r = $rp.$hashCode1; var$13 = $par1Str.$elementData.data; $par1Str = var$13[$r & (var$13.length - 1 | 0)]; while ($par1Str !== null) { if ($par1Str.$origKeyHash == $r) { d: { $ct = $par1Str.$key; if ($rp !== $ct) { if ($rp === $ct) $par5 = 1; else if (!($ct instanceof jl_String)) $par5 = 0; else { $ct = $ct; $par5 = $rp.$nativeString !== $ct.$nativeString ? 0 : 1; } if (!$par5) { $par5 = 0; break d; } } $par5 = 1; } if ($par5) break; } $par1Str = $par1Str.$next3; } } $ct = $par1Str === null ? null : $par1Str.$value1; if ($ct !== null) { e: { $c = $ct.$value0; if ($c <= 1) { var$13 = $rt_createCharArray($rp.$nativeString.length); var$16 = var$13.data; $par5 = 0; f: { while (true) { if ($par5 >= $rp.$nativeString.length) { $par1Str = new jl_String; $par1Str.$nativeString = ""; $par1Str.$nativeString = $rt_fullArrayToString(var$13.data); $ct = new jl_StringBuilder; $ct.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ct, $ct.$length0, $rt_s(553)); jl_AbstractStringBuilder_insert($ct, $ct.$length0, $par1Str); jl_AbstractStringBuilder_insert($ct, $ct.$length0, $rt_s(362)); $path = new jl_String; var$13 = $ct.$buffer; var$16 = var$13.data; $i = $ct.$length0; $r = var$16.length; if ($i >= 0 && $i <= ($r - 0 | 0)) { $path.$nativeString = $rt_charArrayToString(var$13.data, 0, $i); break e; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } if ($par5 < 0) break f; if ($par5 >= $rp.$nativeString.length) break f; if ($rp.$nativeString.charCodeAt($par5) == 46) $i = 47; else { if ($par5 < 0) break; if ($par5 >= $rp.$nativeString.length) break; $i = $rp.$nativeString.charCodeAt($par5); } var$16[$par5] = $i; $par5 = $par5 + 1 | 0; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = $this.$soundrandom; var$15 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$15; $r = Long_lo(Long_shru(var$15, 17)); $par5 = $c - 1 | 0; if (!($c & $par5)) $i = Long_lo(Long_shr(Long_mul(Long_fromInt($c), Long_fromInt($r)), 31)); else while (true) { $i = $r % $c | 0; if ((($r - $i | 0) + $par5 | 0) >= 0) break; var$15 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$15; $r = Long_lo(Long_shru(var$15, 17)); } $r = $i + 1 | 0; var$13 = $rt_createCharArray($rp.$nativeString.length); var$16 = var$13.data; $par5 = 0; g: { while (true) { if ($par5 >= $rp.$nativeString.length) { $par1Str = new jl_String; $par1Str.$nativeString = ""; $par1Str.$nativeString = $rt_fullArrayToString(var$13.data); $ct = new jl_StringBuilder; $ct.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ct, $ct.$length0, $rt_s(553)); jl_AbstractStringBuilder_insert($ct, $ct.$length0, $par1Str); jl_AbstractStringBuilder_insert0($ct, $ct.$length0, $r, 10); jl_AbstractStringBuilder_insert($ct, $ct.$length0, $rt_s(362)); $path = new jl_String; var$13 = $ct.$buffer; var$16 = var$13.data; $i = $ct.$length0; $r = var$16.length; if ($i >= 0 && $i <= ($r - 0 | 0)) { $path.$nativeString = $rt_charArrayToString(var$13.data, 0, $i); break e; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } if ($par5 < 0) break g; if ($par5 >= $rp.$nativeString.length) break g; if ($rp.$nativeString.charCodeAt($par5) == 46) $i = 47; else { if ($par5 < 0) break; if ($par5 >= $rp.$nativeString.length) break; $i = $rp.$nativeString.charCodeAt($par5); } var$16[$par5] = $i; $par5 = $par5 + 1 | 0; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $i_0 = nms_Minecraft_theMinecraft.$entityRenderer.$startup / 800.0; if ($i_0 > 1.0) $i_0 = 1.0; var$18 = $i_0 * $i_0; var$19 = $rt_compare(var$18, 0.0); if (var$19 <= 0) $v = 1.0; else { $par1Str = $this.$soundrandom; var$15 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$15; $v = 1.0 + (Long_lo(Long_shru(var$15, 24)) / 1.6777216E7 - 0.5) * var$18 * 0.6000000238418579; } if (var$19 <= 0) $p = 1.0; else { $par1Str = $this.$soundrandom; var$15 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$15; $p = 1.0 + (Long_lo(Long_shru(var$15, 24)) / 1.6777216E7 - 0.20000000298023224) * var$18 * 1.2999999523162842; } $par1Str = $this.$soundevents; $ct = new nms_SoundManager$EntitySoundEvent; var$22 = 0.0; var$23 = 0.0; var$24 = 0.0; $i_0 = $par3 * $v; $par3 = $i_0 * 0.800000011920929; $p = $par4 * $p; nlea_EaglerAdapterImpl2_$callClinit(); $par5 = 0; $ptr = 1; continue main; } if (jl_System_errCache === null) { $par1Str = new otcic_JSStderrPrintStream; $par2Entity = new ji_ByteArrayOutputStream; $par2Entity.$buf = $rt_createByteArray(32); $par1Str.$out0 = $par2Entity; $par2Entity = new jl_StringBuilder; $par2Entity.$buffer = $rt_createCharArray(16); $par1Str.$sb = $par2Entity; $par1Str.$buffer0 = $rt_createCharArray(32); $par1Str.$autoFlush = 0; $par1Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Str; } $par1Str = new jl_StringBuilder; $par1Str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1Str, $par1Str.$length0, $rt_s(554)); $par5 = $par1Str.$length0; if ($rp === null) $rp = $rt_s(1); jl_AbstractStringBuilder_insert($par1Str, $par5, $rp); $par2Entity = new jl_String; var$13 = $par1Str.$buffer; var$16 = var$13.data; $i = $par1Str.$length0; $r = var$16.length; if ($i >= 0 && $i <= ($r - 0 | 0)) { $par2Entity.$nativeString = $rt_charArrayToString(var$13.data, 0, $i); $rt_putStderr($rt_ustr($par2Entity)); $rt_putStderr("\n"); } else { $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } } return; } if ($c < $mc.$modCount) break; var$19 = $r + 1 | 0; $e = $mc.$get($r); $path = $e.$e; if (!$i ? 0 : $ct.$entityId != $path.$entityId ? 0 : 1) { $par5 = $e.$id3; $par3 = $par2Entity.$posX; $par4 = $par2Entity.$posY; $i_0 = $par2Entity.$posZ; nlea_EaglerAdapterImpl2_$callClinit(); $par1Str = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($par5 >= (-128) && $par5 <= 127) { jl_Integer_ensureIntegerCache(); $par2Entity = jl_Integer_integerCache.data[$par5 + 128 | 0]; } else { $par2Entity = new jl_Integer; $par2Entity.$value0 = $par5; } if ($par2Entity === null) { $par1Str = $par1Str.$elementData.data[0]; while ($par1Str !== null && $par1Str.$key !== null) { $par1Str = $par1Str.$next3; } } else { $r = $par2Entity.$value0; var$13 = $par1Str.$elementData.data; $par1Str = var$13[$r & (var$13.length - 1 | 0)]; while ($par1Str !== null) { if ($par1Str.$origKeyHash == $r) { $ct = $par1Str.$key; if ($par2Entity !== $ct && !($par2Entity === $ct ? 1 : $ct instanceof jl_Integer && $ct.$value0 == $r ? 1 : 0) ? 0 : 1) break; } $par1Str = $par1Str.$next3; } } $par1Str = $par1Str === null ? null : $par1Str.$value1; if ($par1Str !== null) { $par1Str = $par1Str.$panner; if ($par1Str !== null) $par1Str.setPosition($par3, $par4, $i_0); } return; } $r = var$19; } $par1Str = new ju_ConcurrentModificationException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); case 1: $tmp = nlea_EaglerAdapterImpl2_beginPlayback($path, var$22, var$23, var$24, $par3, $p, $par5); if ($rt_suspending()) { break main; } $r = $tmp; $ct.$e = $par2Entity; $ct.$id3 = $r; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); var$13 = $par1Str.$array.data; $i = $par1Str.$size0; $par1Str.$size0 = $i + 1 | 0; var$13[$i] = $ct; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; var$22 = $par2Entity.$posX; if (var$19 <= 0) $par3 = 0.0; else { $par1Str = $this.$soundrandom; var$15 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$15; $par3 = (Long_lo(Long_shru(var$15, 24)) / 1.6777216E7 - 0.5) * var$18 * 4.0; } var$22 = var$22 + $par3; var$23 = $par2Entity.$posY; if (var$19 <= 0) $par3 = 0.0; else { $par1Str = $this.$soundrandom; var$15 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$15; $par3 = (Long_lo(Long_shru(var$15, 24)) / 1.6777216E7 - 0.5) * var$18 * 4.0; } $par3 = var$23 + $par3; $par4 = $par2Entity.$posZ; if (var$19 <= 0) var$23 = 0.0; else { $par1Str = $this.$soundrandom; var$15 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$15; var$23 = (Long_lo(Long_shru(var$15, 24)) / 1.6777216E7 - 0.5) * var$18 * 4.0; } $par4 = $par4 + var$23; $par1Str = nlea_EaglerAdapterImpl2_activeSoundEffects; if ($r >= (-128) && $r <= 127) { jl_Integer_ensureIntegerCache(); $ct = jl_Integer_integerCache.data[$r + 128 | 0]; } else { $ct = new jl_Integer; $ct.$value0 = $r; } if ($ct === null) { $mc = $par1Str.$elementData.data[0]; while ($mc !== null && $mc.$key !== null) { $mc = $mc.$next3; } } else { $i = $ct.$value0; var$13 = $par1Str.$elementData.data; $mc = var$13[$i & (var$13.length - 1 | 0)]; while ($mc !== null) { if ($mc.$origKeyHash == $i) { $par1Str = $mc.$key; if ($ct !== $par1Str && !($ct === $par1Str ? 1 : $par1Str instanceof jl_Integer && $par1Str.$value0 == $i ? 1 : 0) ? 0 : 1) break; } $mc = $mc.$next3; } } $par1Str = $mc === null ? null : $mc.$value1; if ($par1Str !== null) { $par1Str = $par1Str.$panner; if ($par1Str !== null) $par1Str.setPosition(var$22, $par3, $par4); } if (var$18 > 0.30000001192092896) { $r = 24; $par1Str = $this.$soundrandom; var$26 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$26; if (Long_lo(Long_shru(var$26, $r)) / 1.6777216E7 * var$18 > 0.30000001192092896) { $ct = $this.$soundevents; $mc = new nms_SoundManager$EntitySoundEvent; var$22 = 0.0; var$23 = 0.0; var$24 = 0.0; var$15 = Long_and(Long_add(Long_mul(var$26, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$15; $par4 = $i_0 * (Long_lo(Long_shru(var$15, $r)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$15; $par3 = Long_lo(Long_shru(var$15, $r)) / 1.6777216E7; nms_SoundManager_$callClinit(); $par3 = $p * ($par3 * $par3 * 1.5 + 0.30000001192092896); $par5 = 0; $ptr = 2; continue main; } } return; case 2: $tmp = nlea_EaglerAdapterImpl2_beginPlayback($path, var$22, var$23, var$24, $par4, $par3, $par5); if ($rt_suspending()) { break main; } var$19 = $tmp; $mc.$e = $par2Entity; $mc.$id3 = var$19; ju_ArrayList_ensureCapacity($ct, $ct.$size0 + 1 | 0); var$13 = $ct.$array.data; $i = $ct.$size0; $ct.$size0 = $i + 1 | 0; var$13[$i] = $mc; $ct.$modCount = $ct.$modCount + 1 | 0; $par3 = $par2Entity.$posX; $par1Str = $this.$soundrandom; var$26 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$26; $par3 = $par3 + (Long_lo(Long_shru(var$26, $r)) / 1.6777216E7 - 0.5) * var$18 * 2.0; $par4 = $par2Entity.$posY; var$26 = Long_and(Long_add(Long_mul(var$26, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$26; $par4 = $par4 + (Long_lo(Long_shru(var$26, $r)) / 1.6777216E7 - 0.5) * var$18 * 2.0; var$22 = $par2Entity.$posZ; var$15 = Long_and(Long_add(Long_mul(var$26, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$15; var$22 = var$22 + (Long_lo(Long_shru(var$15, $r)) / 1.6777216E7 - 0.5) * var$18 * 2.0; $par1Str = nlea_EaglerAdapterImpl2_activeSoundEffects; if (var$19 >= (-128) && var$19 <= 127) { jl_Integer_ensureIntegerCache(); $ct = jl_Integer_integerCache.data[var$19 + 128 | 0]; } else { $ct = new jl_Integer; $ct.$value0 = var$19; } if ($ct === null) { $mc = $par1Str.$elementData.data[0]; while ($mc !== null && $mc.$key !== null) { $mc = $mc.$next3; } } else { $i = $ct.$value0; var$13 = $par1Str.$elementData.data; $mc = var$13[$i & (var$13.length - 1 | 0)]; while ($mc !== null) { if ($mc.$origKeyHash == $i) { $par1Str = $mc.$key; if ($ct !== $par1Str && !($ct === $par1Str ? 1 : $par1Str instanceof jl_Integer && $par1Str.$value0 == $i ? 1 : 0) ? 0 : 1) break; } $mc = $mc.$next3; } } $par1Str = $mc === null ? null : $mc.$value1; if ($par1Str !== null) { $par1Str = $par1Str.$panner; if ($par1Str !== null) $par1Str.setPosition($par3, $par4, var$22); } $par1Str = $this.$soundrandom; var$26 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$26; if (Long_lo(Long_shru(var$26, $r)) / 1.6777216E7 * var$18 <= 0.30000001192092896) return; $ct = $this.$soundevents; $mc = new nms_SoundManager$EntitySoundEvent; var$22 = 0.0; var$23 = 0.0; var$24 = 0.0; var$15 = Long_and(Long_add(Long_mul(var$26, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$15; $par4 = $i_0 * (Long_lo(Long_shru(var$15, $r)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$15; $par3 = Long_lo(Long_shru(var$15, $r)) / 1.6777216E7; nms_SoundManager_$callClinit(); $par3 = $p * ($par3 * $par3 * 1.5 + 0.30000001192092896); $par5 = 0; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2Entity, $par3, $par4, $par5, $mc, $r, $c, var$9, $i, $ct, $rp, var$13, $path, var$15, var$16, $i_0, var$18, var$19, $v, $p, var$22, var$23, var$24, $e, var$26, $ptr); }, nms_SoundManager_playSound = ($this, $par1Str, $par2, $par3, $par4, $par5, $par6) => { let $mc, $rp, $i, var$10, var$11, $ct, var$13, var$14, $r, $c, var$17, $path, $i_0, var$20, $v, $p, var$23, var$24, var$25, var$26, var$27, var$28, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$p = $thread.pop();$v = $thread.pop();var$20 = $thread.pop();$i_0 = $thread.pop();$path = $thread.pop();var$17 = $thread.pop();$c = $thread.pop();$r = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$ct = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$i = $thread.pop();$rp = $thread.pop();$mc = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$options.$soundVolume > 0.0 && $par5 > 0.0) { $mc = nms_Minecraft_theMinecraft; if (!$mc.$gameSettings.$adderall && !$mc.$entityRenderer.$asdfghjkl) $rp = $par1Str; else if ($mc.$entityRenderer.$startup <= 300) $rp = $par1Str; else { nms_SoundManager_$callClinit(); $rp = nms_SoundManager_remapAdl; if ($par1Str === null) { $rp = $rp.$elementData.data[0]; while ($rp !== null && $rp.$key !== null) { $rp = $rp.$next3; } } else { a: { if (!$par1Str.$hashCode1) { $i = 0; while (true) { if ($i >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } var$10 = $par1Str.$hashCode1; var$11 = $rp.$elementData.data; $rp = var$11[var$10 & (var$11.length - 1 | 0)]; while ($rp !== null) { if ($rp.$origKeyHash == var$10) { b: { $ct = $rp.$key; if ($par1Str !== $ct) { if ($par1Str === $ct) $i = 1; else if (!($ct instanceof jl_String)) $i = 0; else { $ct = $ct; $i = $par1Str.$nativeString !== $ct.$nativeString ? 0 : 1; } if (!$i) { $i = 0; break b; } } $i = 1; } if ($i) break; } $rp = $rp.$next3; } } $rp = $rp === null ? null : $rp.$value1; if ($rp === null) $rp = $par1Str; else if ($rp === $rt_s(552) ? 1 : jl_String_startsWith($rp, $rt_s(552), 0)) $rp = jl_String_substring($rp, 1, $rp.$nativeString.length); else { $i = 4 - (($mc.$entityRenderer.$startup - 300 | 0) / 200 | 0) | 0; if ($i < 0) $i = 0; $ct = $this.$soundrandom; $i = 2 + $i | 0; var$13 = Long_and(Long_add(Long_mul($ct.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $ct.$seed = var$13; var$14 = Long_lo(Long_shru(var$13, 17)); $r = $i - 1 | 0; if (!($i & $r)) var$10 = Long_lo(Long_shr(Long_mul(Long_fromInt($i), Long_fromInt(var$14)), 31)); else while (true) { var$10 = var$14 % $i | 0; if (((var$14 - var$10 | 0) + $r | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul($ct.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $ct.$seed = var$13; var$14 = Long_lo(Long_shru(var$13, 17)); } if (var$10) $rp = $par1Str; } } $par1Str = $this.$sounddefinitions; if ($rp === null) { $par1Str = $par1Str.$elementData.data[0]; while ($par1Str !== null && $par1Str.$key !== null) { $par1Str = $par1Str.$next3; } } else { c: { if (!$rp.$hashCode1) { $i = 0; while (true) { if ($i >= $rp.$nativeString.length) break c; $rp.$hashCode1 = (31 * $rp.$hashCode1 | 0) + $rp.$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } var$10 = $rp.$hashCode1; var$11 = $par1Str.$elementData.data; $par1Str = var$11[var$10 & (var$11.length - 1 | 0)]; while ($par1Str !== null) { if ($par1Str.$origKeyHash == var$10) { d: { $ct = $par1Str.$key; if ($rp !== $ct) { if ($rp === $ct) $i = 1; else if (!($ct instanceof jl_String)) $i = 0; else { $ct = $ct; $i = $rp.$nativeString !== $ct.$nativeString ? 0 : 1; } if (!$i) { $i = 0; break d; } } $i = 1; } if ($i) break; } $par1Str = $par1Str.$next3; } } $ct = $par1Str === null ? null : $par1Str.$value1; if ($ct !== null) { e: { $c = $ct.$value0; if ($c <= 1) { var$11 = $rt_createCharArray($rp.$nativeString.length); var$17 = var$11.data; var$10 = 0; f: { while (true) { if (var$10 >= $rp.$nativeString.length) { $par1Str = new jl_String; $par1Str.$nativeString = ""; $par1Str.$nativeString = $rt_fullArrayToString(var$11.data); $rp = new jl_StringBuilder; $rp.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($rp, $rp.$length0, $rt_s(553)); jl_AbstractStringBuilder_insert($rp, $rp.$length0, $par1Str); jl_AbstractStringBuilder_insert($rp, $rp.$length0, $rt_s(362)); $path = new jl_String; var$11 = $rp.$buffer; var$17 = var$11.data; $r = $rp.$length0; var$10 = var$17.length; if ($r >= 0 && $r <= (var$10 - 0 | 0)) { $path.$nativeString = $rt_charArrayToString(var$11.data, 0, $r); break e; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } if (var$10 < 0) break f; if (var$10 >= $rp.$nativeString.length) break f; if ($rp.$nativeString.charCodeAt(var$10) == 46) var$14 = 47; else { if (var$10 < 0) break; if (var$10 >= $rp.$nativeString.length) break; var$14 = $rp.$nativeString.charCodeAt(var$10); } var$17[var$10] = var$14; var$10 = var$10 + 1 | 0; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = $this.$soundrandom; var$13 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$13; var$10 = Long_lo(Long_shru(var$13, 17)); $i = $c - 1 | 0; if (!($c & $i)) $r = Long_lo(Long_shr(Long_mul(Long_fromInt($c), Long_fromInt(var$10)), 31)); else while (true) { $r = var$10 % $c | 0; if (((var$10 - $r | 0) + $i | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$13; var$10 = Long_lo(Long_shru(var$13, 17)); } $r = $r + 1 | 0; var$11 = $rt_createCharArray($rp.$nativeString.length); var$17 = var$11.data; var$14 = 0; g: { while (true) { if (var$14 >= $rp.$nativeString.length) { $par1Str = new jl_String; $par1Str.$nativeString = ""; $par1Str.$nativeString = $rt_fullArrayToString(var$11.data); $rp = new jl_StringBuilder; $rp.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($rp, $rp.$length0, $rt_s(553)); jl_AbstractStringBuilder_insert($rp, $rp.$length0, $par1Str); jl_AbstractStringBuilder_insert0($rp, $rp.$length0, $r, 10); jl_AbstractStringBuilder_insert($rp, $rp.$length0, $rt_s(362)); $path = new jl_String; var$11 = $rp.$buffer; var$17 = var$11.data; $r = $rp.$length0; var$10 = var$17.length; if ($r >= 0 && $r <= (var$10 - 0 | 0)) { $path.$nativeString = $rt_charArrayToString(var$11.data, 0, $r); break e; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } if (var$14 < 0) break g; if (var$14 >= $rp.$nativeString.length) break g; if ($rp.$nativeString.charCodeAt(var$14) == 46) $c = 47; else { if (var$14 < 0) break; if (var$14 >= $rp.$nativeString.length) break; $c = $rp.$nativeString.charCodeAt(var$14); } var$17[var$14] = $c; var$14 = var$14 + 1 | 0; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $i_0 = $mc.$entityRenderer.$startup / 800.0; if ($i_0 > 1.0) $i_0 = 1.0; var$20 = $i_0 * $i_0; $r = $rt_compare(var$20, 0.0); if ($r <= 0) $v = 1.0; else { $par1Str = $this.$soundrandom; var$13 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$13; $v = 1.0 + (Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 - 0.5) * var$20 * 0.6000000238418579; } if ($r <= 0) $p = 1.0; else { $par1Str = $this.$soundrandom; var$13 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$13; $p = 1.0 + (Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 - 0.20000000298023224) * var$20 * 1.2999999523162842; } if (var$20 > 0.30000001192092896) { $par1Str = $this.$soundrandom; var$23 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$23; $r = 24; $par2 = $par2 + (Long_lo(Long_shru(var$23, $r)) / 1.6777216E7 - 0.5) * var$20 * 3.0; var$23 = Long_and(Long_add(Long_mul(var$23, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$23; $par3 = $par3 + (Long_lo(Long_shru(var$23, $r)) / 1.6777216E7 - 0.5) * var$20 * 3.0; var$13 = Long_and(Long_add(Long_mul(var$23, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$13; $par4 = $par4 + (Long_lo(Long_shru(var$13, $r)) / 1.6777216E7 - 0.5) * var$20 * 3.0; $par1Str = $this.$soundrandom; var$23 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$23; if (Long_lo(Long_shru(var$23, $r)) / 1.6777216E7 * var$20 > 0.30000001192092896) { var$23 = Long_and(Long_add(Long_mul(var$23, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$23; var$24 = $par2 + (Long_lo(Long_shru(var$23, $r)) / 1.6777216E7 - 0.5) * var$20 * 3.0; var$23 = Long_and(Long_add(Long_mul(var$23, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$23; var$25 = $par3 + (Long_lo(Long_shru(var$23, $r)) / 1.6777216E7 - 0.5) * var$20 * 3.0; var$23 = Long_and(Long_add(Long_mul(var$23, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$23; var$26 = $par4 + (Long_lo(Long_shru(var$23, $r)) / 1.6777216E7 - 0.5) * var$20 * 3.0; var$27 = $par5 * $v; var$13 = Long_and(Long_add(Long_mul(var$23, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$13; $i_0 = var$27 * (Long_lo(Long_shru(var$13, $r)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929); var$28 = $par6 * $p; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$13; var$27 = Long_lo(Long_shru(var$13, $r)) / 1.6777216E7; nms_SoundManager_$callClinit(); var$28 = var$28 * (var$27 * var$27 * 1.5 + 0.30000001192092896); nlea_EaglerAdapterImpl2_$callClinit(); $i = 0; $ptr = 2; continue main; } } $par5 = $par5 * $v; $par6 = $par6 * $p; nlea_EaglerAdapterImpl2_$callClinit(); $i = 0; $ptr = 1; continue main; } if (jl_System_errCache === null) { $par1Str = new otcic_JSStderrPrintStream; $ct = new ji_ByteArrayOutputStream; $ct.$buf = $rt_createByteArray(32); $par1Str.$out0 = $ct; $ct = new jl_StringBuilder; $ct.$buffer = $rt_createCharArray(16); $par1Str.$sb = $ct; $par1Str.$buffer0 = $rt_createCharArray(32); $par1Str.$autoFlush = 0; $par1Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Str; } $par1Str = new jl_StringBuilder; $par1Str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1Str, $par1Str.$length0, $rt_s(554)); $i = $par1Str.$length0; if ($rp === null) $rp = $rt_s(1); jl_AbstractStringBuilder_insert($par1Str, $i, $rp); $rp = new jl_String; var$11 = $par1Str.$buffer; var$17 = var$11.data; $r = $par1Str.$length0; var$10 = var$17.length; if ($r >= 0 && $r <= (var$10 - 0 | 0)) { $rp.$nativeString = $rt_charArrayToString(var$11.data, 0, $r); $rt_putStderr($rt_ustr($rp)); $rt_putStderr("\n"); } else { $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } } return; case 1: nlea_EaglerAdapterImpl2_beginPlayback($path, $par2, $par3, $par4, $par5, $par6, $i); if ($rt_suspending()) { break main; } return; case 2: nlea_EaglerAdapterImpl2_beginPlayback($path, var$24, var$25, var$26, $i_0, var$28, $i); if ($rt_suspending()) { break main; } $par1Str = $this.$soundrandom; var$23 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$23; if (Long_lo(Long_shru(var$23, $r)) / 1.6777216E7 * var$20 <= 0.30000001192092896) { $par5 = $par5 * $v; $par6 = $par6 * $p; nlea_EaglerAdapterImpl2_$callClinit(); $i = 0; $ptr = 1; continue main; } var$23 = Long_and(Long_add(Long_mul(var$23, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$23; var$24 = $par2 + (Long_lo(Long_shru(var$23, $r)) / 1.6777216E7 - 0.5) * var$20 * 3.0; var$23 = Long_and(Long_add(Long_mul(var$23, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$23; var$25 = $par3 + (Long_lo(Long_shru(var$23, $r)) / 1.6777216E7 - 0.5) * var$20 * 3.0; var$23 = Long_and(Long_add(Long_mul(var$23, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$23; var$26 = $par4 + (Long_lo(Long_shru(var$23, $r)) / 1.6777216E7 - 0.5) * var$20 * 3.0; var$27 = $par5 * $v; var$13 = Long_and(Long_add(Long_mul(var$23, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$13; $i_0 = var$27 * (Long_lo(Long_shru(var$13, $r)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929); var$28 = $par6 * $p; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$13; var$27 = Long_lo(Long_shru(var$13, $r)) / 1.6777216E7; nms_SoundManager_$callClinit(); var$28 = var$28 * (var$27 * var$27 * 1.5 + 0.30000001192092896); nlea_EaglerAdapterImpl2_$callClinit(); $i = 0; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2, $par3, $par4, $par5, $par6, $mc, $rp, $i, var$10, var$11, $ct, var$13, var$14, $r, $c, var$17, $path, $i_0, var$20, $v, $p, var$23, var$24, var$25, var$26, var$27, var$28, $ptr); }, nms_SoundManager_playSoundFX = ($this, $par1Str, $par2, $par3) => { let $ct, var$5, var$6, var$7, $path, $c, var$10, $r, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$r = $thread.pop();var$10 = $thread.pop();$c = $thread.pop();$path = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$ct = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$options.$soundVolume > 0.0 && $par2 > 0.0) { $ct = $this.$sounddefinitions; if ($par1Str === null) { $ct = $ct.$elementData.data[0]; while ($ct !== null && $ct.$key !== null) { $ct = $ct.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $par1Str.$hashCode1; var$7 = $ct.$elementData.data; $ct = var$7[var$6 & (var$7.length - 1 | 0)]; while ($ct !== null) { if ($ct.$origKeyHash == var$6) { b: { $path = $ct.$key; if ($par1Str !== $path) { if ($par1Str === $path) var$5 = 1; else if (!($path instanceof jl_String)) var$5 = 0; else { $path = $path; var$5 = $par1Str.$nativeString !== $path.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break b; } } var$5 = 1; } if (var$5) break; } $ct = $ct.$next3; } } $ct = $ct === null ? null : $ct.$value1; if ($ct !== null) { c: { d: { $c = $ct.$value0; if ($c <= 1) { var$7 = $rt_createCharArray($par1Str.$nativeString.length); var$10 = var$7.data; var$6 = 0; e: { while (true) { if (var$6 >= $par1Str.$nativeString.length) { $path = new jl_String; $path.$nativeString = ""; $path.$nativeString = $rt_fullArrayToString(var$7.data); $par1Str = new jl_StringBuilder; $par1Str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1Str, $par1Str.$length0, $rt_s(553)); jl_AbstractStringBuilder_insert($par1Str, $par1Str.$length0, $path); jl_AbstractStringBuilder_insert($par1Str, $par1Str.$length0, $rt_s(362)); $path = new jl_String; var$7 = $par1Str.$buffer; var$10 = var$7.data; $r = $par1Str.$length0; var$6 = var$10.length; if ($r >= 0 && $r <= (var$6 - 0 | 0)) { $path.$nativeString = $rt_charArrayToString(var$7.data, 0, $r); break d; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } if (var$6 < 0) break e; if (var$6 >= $par1Str.$nativeString.length) break e; if ($par1Str.$nativeString.charCodeAt(var$6) == 46) var$12 = 47; else { if (var$6 < 0) break; if (var$6 >= $par1Str.$nativeString.length) break; var$12 = $par1Str.$nativeString.charCodeAt(var$6); } var$10[var$6] = var$12; var$6 = var$6 + 1 | 0; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $ct = $this.$soundrandom; var$13 = Long_and(Long_add(Long_mul($ct.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $ct.$seed = var$13; var$6 = Long_lo(Long_shru(var$13, 17)); var$5 = $c - 1 | 0; if (!($c & var$5)) $r = Long_lo(Long_shr(Long_mul(Long_fromInt($c), Long_fromInt(var$6)), 31)); else while (true) { $r = var$6 % $c | 0; if (((var$6 - $r | 0) + var$5 | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul($ct.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $ct.$seed = var$13; var$6 = Long_lo(Long_shru(var$13, 17)); } $r = $r + 1 | 0; var$7 = $rt_createCharArray($par1Str.$nativeString.length); var$10 = var$7.data; var$5 = 0; f: { while (true) { if (var$5 >= $par1Str.$nativeString.length) { $par1Str = new jl_String; $par1Str.$nativeString = ""; $par1Str.$nativeString = $rt_fullArrayToString(var$7.data); $ct = new jl_StringBuilder; $ct.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ct, $ct.$length0, $rt_s(553)); jl_AbstractStringBuilder_insert($ct, $ct.$length0, $par1Str); jl_AbstractStringBuilder_insert0($ct, $ct.$length0, $r, 10); jl_AbstractStringBuilder_insert($ct, $ct.$length0, $rt_s(362)); $path = new jl_String; var$7 = $ct.$buffer; var$10 = var$7.data; $r = $ct.$length0; var$6 = var$10.length; if ($r < 0) break c; if ($r > (var$6 - 0 | 0)) break c; $path.$nativeString = $rt_charArrayToString(var$7.data, 0, $r); break d; } if (var$5 < 0) break f; if (var$5 >= $par1Str.$nativeString.length) break f; if ($par1Str.$nativeString.charCodeAt(var$5) == 46) $c = 47; else { if (var$5 < 0) break; if (var$5 >= $par1Str.$nativeString.length) break; $c = $par1Str.$nativeString.charCodeAt(var$5); } var$10[var$5] = $c; var$5 = var$5 + 1 | 0; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } nlea_EaglerAdapterImpl2_$callClinit(); var$5 = 0; $ptr = 1; continue main; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } if (jl_System_errCache === null) { $ct = new otcic_JSStderrPrintStream; $path = new ji_ByteArrayOutputStream; $path.$buf = $rt_createByteArray(32); $ct.$out0 = $path; $path = new jl_StringBuilder; $path.$buffer = $rt_createCharArray(16); $ct.$sb = $path; $ct.$buffer0 = $rt_createCharArray(32); $ct.$autoFlush = 0; $ct.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $ct; } $ct = new jl_StringBuilder; $ct.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ct, $ct.$length0, $rt_s(554)); var$5 = $ct.$length0; if ($par1Str === null) $par1Str = $rt_s(1); jl_AbstractStringBuilder_insert($ct, var$5, $par1Str); $par1Str = new jl_String; var$7 = $ct.$buffer; var$10 = var$7.data; $r = $ct.$length0; var$6 = var$10.length; if ($r >= 0 && $r <= (var$6 - 0 | 0)) { $par1Str.$nativeString = $rt_charArrayToString(var$7.data, 0, $r); $rt_putStderr($rt_ustr($par1Str)); $rt_putStderr("\n"); } else { $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } } return; case 1: nlea_EaglerAdapterImpl2_beginPlaybackStatic($path, $par2, $par3, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2, $par3, $ct, var$5, var$6, var$7, $path, $c, var$10, $r, var$12, var$13, $ptr); }, nms_SoundManager_func_92071_g = $this => { let var$1, $e, $e2, var$4, var$5, var$6, var$7, $itr, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$itr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$e2 = $thread.pop();$e = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { var$1 = $this.$resetTimer + 1 | 0; $this.$resetTimer = var$1; if (!(var$1 % 20 | 0)) { $e = $this.$soundevents; $e2 = new ju_ArrayList; $e2.$array = $rt_createArray(jl_Object, 10); $this.$soundevents = $e2; var$4 = 0; var$5 = $e.$modCount; var$6 = $e.$size(); while (true) { if (!(var$4 >= var$6 ? 0 : 1)) break a; if (var$5 < $e.$modCount) break; var$7 = var$4 + 1 | 0; $e2 = $e.$get(var$4); var$4 = $e2.$id3; nlea_EaglerAdapterImpl2_$callClinit(); $itr = nlea_EaglerAdapterImpl2_activeSoundEffects; if (var$4 >= (-128) && var$4 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[var$4 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = var$4; } if (var$9 === null) { var$10 = $itr.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { var$4 = var$9.$value0; var$11 = $itr.$elementData.data; var$10 = var$11[var$4 & (var$11.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$4) { $itr = var$10.$key; if (var$9 !== $itr && !(var$9 === $itr ? 1 : $itr instanceof jl_Integer && $itr.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$10 = var$10.$next3; } } if (var$10 === null ? 0 : 1) { $itr = $this.$soundevents; ju_ArrayList_ensureCapacity($itr, $itr.$size0 + 1 | 0); var$11 = $itr.$array.data; var$4 = $itr.$size0; $itr.$size0 = var$4 + 1 | 0; var$11[var$4] = $e2; $itr.$modCount = $itr.$modCount + 1 | 0; } var$4 = var$7; } $e = new ju_ConcurrentModificationException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } } $e = $this.$queuedsoundevents; $itr = new ju_AbstractList$1; $itr.$this$00 = $e; $itr.$modCount1 = $e.$modCount; $itr.$size3 = $e.$size(); $itr.$removeIndex = (-1); while (true) { var$1 = $itr.$index0; if (!(var$1 >= $itr.$size3 ? 0 : 1)) break; var$7 = $itr.$modCount1; $e = $itr.$this$00; if (var$7 < $e.$modCount) { $e = new ju_ConcurrentModificationException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } $itr.$removeIndex = var$1; $itr.$index0 = var$1 + 1 | 0; $e = $e.$get(var$1); var$1 = $e.$timer1 - 1 | 0; $e.$timer1 = var$1; if (var$1 <= 0) { $e2 = $e.$sound; var$12 = $e.$x4; var$13 = $e.$y3; var$14 = $e.$z5; var$15 = $e.$volume; var$16 = $e.$pitch1; $ptr = 1; continue main; } } return; case 1: nms_SoundManager_playSound($this, $e2, var$12, var$13, var$14, var$15, var$16); if ($rt_suspending()) { break main; } ju_AbstractList$1_remove($itr); while (true) { var$1 = $itr.$index0; if (!(var$1 >= $itr.$size3 ? 0 : 1)) break; var$7 = $itr.$modCount1; $e = $itr.$this$00; if (var$7 < $e.$modCount) { $e = new ju_ConcurrentModificationException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } $itr.$removeIndex = var$1; $itr.$index0 = var$1 + 1 | 0; $e = $e.$get(var$1); var$1 = $e.$timer1 - 1 | 0; $e.$timer1 = var$1; if (var$1 > 0) continue; else { $e2 = $e.$sound; var$12 = $e.$x4; var$13 = $e.$y3; var$14 = $e.$z5; var$15 = $e.$volume; var$16 = $e.$pitch1; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $e, $e2, var$4, var$5, var$6, var$7, $itr, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_SoundManager_playTheTitleMusic = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { var$1 = $this.$titleMusic; if (var$1 != (-1)) { nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_activeSoundEffects; if (var$1 >= (-128) && var$1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$1; } if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } if (var$2 === null ? 0 : 1) break a; } if ($this.$options.$musicVolume > 0.0) { var$2 = $rt_s(555); var$7 = 1.0; var$8 = 1.0; var$9 = 1; $ptr = 1; continue main; } } return; case 1: $tmp = nlea_EaglerAdapterImpl2_beginPlaybackStatic(var$2, var$7, var$8, var$9); if ($rt_suspending()) { break main; } var$9 = $tmp; $this.$titleMusic = var$9; var$7 = $this.$options.$musicVolume; nlea_EaglerAdapterImpl2_fireTitleMusicEvent$js_body$_249(!!1, var$7); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_SoundManager__clinit_ = () => { let var$1; var$1 = ju_HashMap__init_(); nms_SoundManager_remapAdl = var$1; ju_HashMap_putImpl(var$1, $rt_s(556), $rt_s(557)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(558), $rt_s(559)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(560), $rt_s(559)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(561), $rt_s(562)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(563), $rt_s(562)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(564), $rt_s(565)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(566), $rt_s(567)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(568), $rt_s(562)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(569), $rt_s(562)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(570), $rt_s(571)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(572), $rt_s(565)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(573), $rt_s(567)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(574), $rt_s(565)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(575), $rt_s(576)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(577), $rt_s(565)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(578), $rt_s(565)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(579), $rt_s(565)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(580), $rt_s(567)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(581), $rt_s(582)); ju_HashMap_putImpl(nms_SoundManager_remapAdl, $rt_s(583), $rt_s(582)); }, ju_Set = $rt_classWithoutFields(0), ju_AbstractSet = $rt_classWithoutFields(ju_AbstractCollection), ju_AbstractSet_removeAll = ($this, $c) => { let $modified, $iter, $elem; $modified = 0; if ($this.$backingMap.$elementCount >= $c.$size()) { $iter = $c.$iterator(); while ($iter.$hasNext()) { $c = $iter.$next(); $c = ju_HashMap_removeByKey($this.$backingMap, $c); if (!(($c === null ? null : $c.$value1) === null ? 0 : 1)) continue; $modified = 1; } } else { $iter = $this.$backingMap; if ($iter.$cachedKeySet === null) { $elem = new ju_HashMap$1; $elem.$this$0 = $iter; $iter.$cachedKeySet = $elem; } $iter = $iter.$cachedKeySet.$iterator(); while ($iter.$hasNext()) { if ($c.$contains($iter.$next())) { $modified = 1; $iter.$remove0(); } } } return $modified; }, ju_AbstractSet_equals = ($this, $obj) => { let $other, $iter; if ($this === $obj) return 1; if (!$rt_isInstance($obj, ju_Set)) return 0; $other = $obj; if ($this.$size() != $other.$size()) return 0; $iter = $other.$iterator(); while ($iter.$hasNext()) { if ($this.$contains($iter.$next())) continue; else return 0; } return 1; }, ju_AbstractSet_hashCode = $this => { let $result, $e, $iter; $result = 0; $e = $this.$backingMap; if ($e.$cachedKeySet === null) { $iter = new ju_HashMap$1; $iter.$this$0 = $e; $e.$cachedKeySet = $iter; } $iter = $e.$cachedKeySet.$iterator(); while ($iter.$hasNext()) { $e = $iter.$next(); if ($e !== null) $result = $result + $e.$hashCode() | 0; } return $result; }; function ju_HashSet() { ju_AbstractSet.call(this); this.$backingMap = null; } let ju_HashSet__init_ = $this => { $this.$backingMap = ju_HashMap__init_(); }, ju_HashSet__init_0 = () => { let var_0 = new ju_HashSet(); ju_HashSet__init_(var_0); return var_0; }, ju_HashSet_add = ($this, $object) => { return ju_HashMap_putImpl($this.$backingMap, $object, $this) !== null ? 0 : 1; }, ju_HashSet_contains = ($this, $object) => { let var$2, var$3, var$4, var$5; var$2 = $this.$backingMap; if ($object === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = $object.$hashCode(); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($object !== var$5 && !$object.$equals(var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } return var$2 === null ? 0 : 1; }, ju_HashSet_iterator = $this => { let var$1, var$2; var$1 = $this.$backingMap; if (var$1.$cachedKeySet === null) { var$2 = new ju_HashMap$1; var$2.$this$0 = var$1; var$1.$cachedKeySet = var$2; } return var$1.$cachedKeySet.$iterator(); }, ju_HashSet_size = $this => { return $this.$backingMap.$elementCount; }; function nms_Packet() { let a = this; jl_Object.call(a); a.$creationTimeMillis = Long_ZERO; a.$isChunkDataPacket = 0; } let nms_Packet_packetIdToClassMap = null, nms_Packet_packetClassToIdMap = null, nms_Packet_clientPacketIdList = null, nms_Packet_serverPacketIdList = null, nms_Packet_receivedID = Long_ZERO, nms_Packet_receivedSize = Long_ZERO, nms_Packet_sentID = Long_ZERO, nms_Packet_sentSize = Long_ZERO, nms_Packet_$callClinit = () => { nms_Packet_$callClinit = $rt_eraseClinit(nms_Packet); nms_Packet__clinit_(); }, nms_Packet_addIdClassMapping = ($par0, $par1, $par2, $par3Class) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; nms_Packet_$callClinit(); var$5 = nms_Packet_packetIdToClassMap; var$6 = $par0 ^ ($par0 >>> 20 | 0) ^ ($par0 >>> 12 | 0); var$7 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$8 = var$5.$slots.data; var$5 = var$8[var$7 & (var$8.length - 1 | 0)]; a: { while (true) { if (var$5 === null) { var$5 = null; break a; } if (var$5.$hashEntry == $par0) break; var$5 = var$5.$nextEntry; } } if (var$5 === null ? 0 : 1) { $par3Class = new jl_IllegalArgumentException; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(584)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, $par0, 10); var$9 = new jl_String; var$8 = var$5.$buffer; var$10 = var$8.data; $par1 = var$5.$length0; $par2 = var$10.length; if ($par1 >= 0 && $par1 <= ($par2 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$8.data, 0, $par1); $par3Class.$suppressionEnabled = 1; $par3Class.$writableStackTrace = 1; $par3Class.$message = var$9; $rt_throw($par3Class); } $par3Class = new jl_IndexOutOfBoundsException; $par3Class.$suppressionEnabled = 1; $par3Class.$writableStackTrace = 1; $rt_throw($par3Class); } var$5 = nms_Packet_packetClassToIdMap; if ($par3Class === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$11 = $par3Class; if (!var$11.$id$) var$11.$id$ = $rt_nextId(); var$7 = $par3Class.$id$; var$8 = var$5.$elementData.data; var$5 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$7) { var$9 = var$5.$key; if ($par3Class !== var$9 && !($par3Class !== var$9 ? 0 : 1) ? 0 : 1) break; } var$5 = var$5.$next3; } } if (!(var$5 === null ? 0 : 1)) { nms_IntHashMap_addKey(nms_Packet_packetIdToClassMap, $par0, $par3Class); var$5 = nms_Packet_packetClassToIdMap; var$6 = $rt_compare($par0, (-128)); if (var$6 >= 0 && $par0 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$par0 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $par0; } ju_HashMap_putImpl(var$5, $par3Class, var$9); if ($par1) { $par3Class = nms_Packet_clientPacketIdList; if (var$6 >= 0 && $par0 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$par0 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $par0; } ju_HashMap_putImpl($par3Class.$backingMap, var$5, $par3Class); } if ($par2) { $par3Class = nms_Packet_serverPacketIdList; if (var$6 >= 0 && $par0 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$par0 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $par0; } ju_HashMap_putImpl($par3Class.$backingMap, var$5, $par3Class); } return; } var$5 = new jl_IllegalArgumentException; if ($par3Class === null) var$12 = $rt_s(1); else { var$9 = (!($par3Class.$platformClass.$meta.flags & 2) ? 0 : 1) ? $rt_s(102) : !($par3Class.$platformClass.$meta.primitive ? 1 : 0) ? $rt_s(103) : $rt_s(18); if ($par3Class.$name1 === null) $par3Class.$name1 = $rt_str($par3Class.$platformClass.$meta.name); var$12 = $par3Class.$name1; $par3Class = new jl_StringBuilder; $par3Class.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($par3Class, $par3Class.$length0, var$9); $par0 = $par3Class.$length0; if (var$12 === null) var$12 = $rt_s(1); jl_StringBuilder_insert($par3Class, $par0, var$12); var$12 = new jl_String; var$8 = $par3Class.$buffer; var$10 = var$8.data; $par1 = $par3Class.$length0; $par2 = var$10.length; if ($par1 >= 0 && $par1 <= ($par2 - 0 | 0)) var$12.$nativeString = $rt_charArrayToString(var$8.data, 0, $par1); else { $par3Class = new jl_IndexOutOfBoundsException; $par3Class.$suppressionEnabled = 1; $par3Class.$writableStackTrace = 1; $rt_throw($par3Class); } } $par3Class = new jl_StringBuilder; $par3Class.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par3Class, $par3Class.$length0, $rt_s(585)); jl_AbstractStringBuilder_insert($par3Class, $par3Class.$length0, var$12); var$9 = new jl_String; var$8 = $par3Class.$buffer; var$10 = var$8.data; $par1 = $par3Class.$length0; $par2 = var$10.length; if ($par1 >= 0 && $par1 <= ($par2 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$8.data, 0, $par1); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$9; $rt_throw(var$5); } $par3Class = new jl_IndexOutOfBoundsException; $par3Class.$suppressionEnabled = 1; $par3Class.$writableStackTrace = 1; $rt_throw($par3Class); }, nms_Packet_getNewPacket = $par1 => { let $var2, $var3, var$4, var$5, var$6, var$7, var$8, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Packet_$callClinit(); a: { b: { try { $var2 = nms_IntHashMap_lookup(nms_Packet_packetIdToClassMap, $par1); if ($var2 !== null) break b; $var2 = null; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var3 = $$je; break a; } else { throw $$e; } } return $var2; } try { $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var3 = $$je; } else { throw $$e; } } } if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); $var2.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $var2.$sb = var$4; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } jl_Throwable_printStackTrace($var3, jl_System_errCache); if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); $var2.$out0 = $var3; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); $var2.$sb = $var3; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $rt_s(586)); jl_AbstractStringBuilder_insert0($var2, $var2.$length0, $par1, 10); $var3 = new jl_String; var$5 = $var2.$buffer; var$6 = var$5.data; var$7 = $var2.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); $rt_putStderr($rt_ustr($var3)); $rt_putStderr("\n"); return null; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); case 1: a: { try { $tmp = jl_Class_newInstance($var2); if ($rt_suspending()) { break main; } $var2 = $tmp; $var2 = $var2; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var3 = $$je; break a; } else { throw $$e; } } return $var2; } if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); $var2.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $var2.$sb = var$4; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } jl_Throwable_printStackTrace($var3, jl_System_errCache); if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); $var2.$out0 = $var3; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); $var2.$sb = $var3; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $rt_s(586)); jl_AbstractStringBuilder_insert0($var2, $var2.$length0, $par1, 10); $var3 = new jl_String; var$5 = $var2.$buffer; var$6 = var$5.data; var$7 = $var2.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); $rt_putStderr($rt_ustr($var3)); $rt_putStderr("\n"); return null; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); default: $rt_invalidPointer(); }} $rt_nativeThread().push($par1, $var2, $var3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_Packet_getPacketId = $this => { let var$1, var$2, var$3, var$4, var$5; nms_Packet_$callClinit(); var$1 = nms_Packet_packetClassToIdMap; var$2 = $this.constructor; if (var$2 === null) var$3 = null; else { var$3 = var$2.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$2; var$2.classObject = var$3; } } if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$2 = var$3; if (!var$2.$id$) var$2.$id$ = $rt_nextId(); var$4 = var$3.$id$; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$2 = var$1.$key; if (var$3 !== var$2 && !(var$3 !== var$2 ? 0 : 1) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$value0; }, nms_Packet_readPacket = ($par1DataInputStream, $par2) => { let $var9, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var9 = $thread.pop();$par2 = $thread.pop();$par1DataInputStream = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Packet_$callClinit(); $var9 = $par1DataInputStream.$in.$read(); if ($var9 == (-1)) return null; a: { b: { if ($par2) { var$4 = nms_Packet_serverPacketIdList; if ($var9 >= (-128) && $var9 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var9 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var9; } var$4 = var$4.$backingMap; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } if (!(var$4 === null ? 0 : 1)) break b; } if ($par2) break a; var$4 = nms_Packet_clientPacketIdList; if ($var9 >= (-128) && $var9 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var9 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var9; } var$4 = var$4.$backingMap; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$9 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$9 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$9) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } if (var$4 === null ? 0 : 1) break a; } $par1DataInputStream = new ji_IOException; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(587)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $var9, 10); var$5 = new jl_String; var$7 = var$4.$buffer; var$10 = var$7.data; var$11 = var$4.$length0; var$9 = var$10.length; if (var$11 >= 0 && var$11 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$11); $par1DataInputStream.$suppressionEnabled = 1; $par1DataInputStream.$writableStackTrace = 1; $par1DataInputStream.$message = var$5; $rt_throw($par1DataInputStream); } $par1DataInputStream = new jl_IndexOutOfBoundsException; $par1DataInputStream.$suppressionEnabled = 1; $par1DataInputStream.$writableStackTrace = 1; $rt_throw($par1DataInputStream); } c: { try { var$4 = nms_IntHashMap_lookup(nms_Packet_packetIdToClassMap, $var9); if (var$4 === null) { var$4 = null; break c; } $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$4 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); var$5.$out0 = var$8; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); var$5.$sb = var$8; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } jl_Throwable_printStackTrace(var$4, jl_System_errCache); if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(586)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $var9, 10); var$5 = new jl_String; var$7 = var$4.$buffer; var$10 = var$7.data; var$11 = var$4.$length0; var$9 = var$10.length; if (var$11 >= 0 && var$11 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$11); $rt_putStderr($rt_ustr(var$5)); $rt_putStderr("\n"); var$4 = null; } else { $par1DataInputStream = new jl_IndexOutOfBoundsException; $par1DataInputStream.$suppressionEnabled = 1; $par1DataInputStream.$writableStackTrace = 1; $rt_throw($par1DataInputStream); } } if (var$4 !== null) { var$4.$readPacketData($par1DataInputStream); nms_Packet_receivedID = Long_add(nms_Packet_receivedID, Long_fromInt(1)); nms_Packet_receivedSize = Long_add(nms_Packet_receivedSize, Long_fromInt(var$4.$getPacketSize())); nms_PacketCount_countPacket($var9, Long_fromInt(var$4.$getPacketSize())); nms_Packet_receivedID = Long_add(nms_Packet_receivedID, Long_fromInt(1)); nms_Packet_receivedSize = Long_add(nms_Packet_receivedSize, Long_fromInt(var$4.$getPacketSize())); return var$4; } $par1DataInputStream = new ji_IOException; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(587)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $var9, 10); var$5 = new jl_String; var$7 = var$4.$buffer; var$10 = var$7.data; var$11 = var$4.$length0; var$9 = var$10.length; if (var$11 >= 0 && var$11 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$11); $par1DataInputStream.$suppressionEnabled = 1; $par1DataInputStream.$writableStackTrace = 1; $par1DataInputStream.$message = var$5; $rt_throw($par1DataInputStream); } $par1DataInputStream = new jl_IndexOutOfBoundsException; $par1DataInputStream.$suppressionEnabled = 1; $par1DataInputStream.$writableStackTrace = 1; $rt_throw($par1DataInputStream); case 1: d: { try { $tmp = jl_Class_newInstance(var$4); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = var$4; break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$4 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); var$5.$out0 = var$8; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); var$5.$sb = var$8; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } jl_Throwable_printStackTrace(var$4, jl_System_errCache); if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(586)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $var9, 10); var$5 = new jl_String; var$7 = var$4.$buffer; var$10 = var$7.data; var$11 = var$4.$length0; var$9 = var$10.length; if (var$11 >= 0 && var$11 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$11); $rt_putStderr($rt_ustr(var$5)); $rt_putStderr("\n"); var$4 = null; } else { $par1DataInputStream = new jl_IndexOutOfBoundsException; $par1DataInputStream.$suppressionEnabled = 1; $par1DataInputStream.$writableStackTrace = 1; $rt_throw($par1DataInputStream); } } if (var$4 !== null) { var$4.$readPacketData($par1DataInputStream); nms_Packet_receivedID = Long_add(nms_Packet_receivedID, Long_fromInt(1)); nms_Packet_receivedSize = Long_add(nms_Packet_receivedSize, Long_fromInt(var$4.$getPacketSize())); nms_PacketCount_countPacket($var9, Long_fromInt(var$4.$getPacketSize())); nms_Packet_receivedID = Long_add(nms_Packet_receivedID, Long_fromInt(1)); nms_Packet_receivedSize = Long_add(nms_Packet_receivedSize, Long_fromInt(var$4.$getPacketSize())); return var$4; } $par1DataInputStream = new ji_IOException; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(587)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $var9, 10); var$5 = new jl_String; var$7 = var$4.$buffer; var$10 = var$7.data; var$11 = var$4.$length0; var$9 = var$10.length; if (var$11 >= 0 && var$11 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$11); $par1DataInputStream.$suppressionEnabled = 1; $par1DataInputStream.$writableStackTrace = 1; $par1DataInputStream.$message = var$5; $rt_throw($par1DataInputStream); } $par1DataInputStream = new jl_IndexOutOfBoundsException; $par1DataInputStream.$suppressionEnabled = 1; $par1DataInputStream.$writableStackTrace = 1; $rt_throw($par1DataInputStream); default: $rt_invalidPointer(); }} $rt_nativeThread().push($par1DataInputStream, $par2, $var9, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_Packet_writePacket = ($par0Packet, $par1DataOutput) => { let var$3, var$4, var$5, var$6, var$7, var$8; nms_Packet_$callClinit(); var$3 = nms_Packet_packetClassToIdMap; var$4 = $par0Packet.constructor; if (var$4 === null) var$5 = null; else { var$5 = var$4.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = var$4; var$4.classObject = var$5; } } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$6 = var$5; if (!var$6.$id$) var$6.$id$ = $rt_nextId(); var$7 = var$5.$id$; var$8 = var$3.$elementData.data; var$3 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$7) { var$4 = var$3.$key; if (var$5 !== var$4 && !(var$5 !== var$4 ? 0 : 1) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = (var$3 === null ? null : var$3.$value1).$value0; $par1DataOutput.$out0.$write1(var$7); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; $par0Packet.$writePacketData($par1DataOutput); nms_Packet_sentID = Long_add(nms_Packet_sentID, Long_fromInt(1)); nms_Packet_sentSize = Long_add(nms_Packet_sentSize, Long_fromInt($par0Packet.$getPacketSize())); }, nms_Packet_writeString = ($par0Str, $par1DataOutput) => { nms_Packet_$callClinit(); if ($par0Str.$nativeString.length <= 32767) { ji_DataOutputStream_writeShort($par1DataOutput, $par0Str.$nativeString.length); ji_DataOutputStream_writeChars($par1DataOutput, $par0Str); return; } $par1DataOutput = new ji_IOException; $par1DataOutput.$suppressionEnabled = 1; $par1DataOutput.$writableStackTrace = 1; $par1DataOutput.$message = $rt_s(588); $rt_throw($par1DataOutput); }, nms_Packet_readString = ($par0DataInput, $par1) => { let $var2, $var3, $var4, var$6, var$7, var$8, var$9; nms_Packet_$callClinit(); $var2 = ji_DataInputStream_readShort($par0DataInput); if ($var2 <= $par1) { if ($var2 < 0) { $var3 = new ji_IOException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $var3.$message = $rt_s(589); $rt_throw($var3); } $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); $var4 = 0; while ($var4 < $var2) { $par1 = ji_DataInputStream_readChar($par0DataInput); var$6 = $var3.$length0; jl_AbstractStringBuilder_insertSpace($var3, var$6, var$6 + 1 | 0); $var3.$buffer.data[var$6] = $par1; $var4 = $var4 + 1 | 0; } $par0DataInput = new jl_String; var$7 = $var3.$buffer; var$8 = var$7.data; $var2 = $var3.$length0; $var4 = var$8.length; if ($var2 >= 0 && $var2 <= ($var4 - 0 | 0)) { $par0DataInput.$nativeString = $rt_charArrayToString(var$7.data, 0, $var2); return $par0DataInput; } $par0DataInput = new jl_IndexOutOfBoundsException; $par0DataInput.$suppressionEnabled = 1; $par0DataInput.$writableStackTrace = 1; $rt_throw($par0DataInput); } $par0DataInput = new ji_IOException; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $rt_s(590)); $var2 = $var2 << 16 >> 16; jl_AbstractStringBuilder_insert0($var3, $var3.$length0, $var2, 10); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $rt_s(591)); jl_AbstractStringBuilder_insert0($var3, $var3.$length0, $par1, 10); $var2 = $var3.$length0; jl_AbstractStringBuilder_insertSpace($var3, $var2, $var2 + 1 | 0); var$7 = $var3.$buffer; var$8 = var$7.data; var$8[$var2] = 41; var$9 = new jl_String; $var2 = $var3.$length0; $var4 = var$8.length; if ($var2 >= 0 && $var2 <= ($var4 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$7.data, 0, $var2); $par0DataInput.$suppressionEnabled = 1; $par0DataInput.$writableStackTrace = 1; $par0DataInput.$message = var$9; $rt_throw($par0DataInput); } $par0DataInput = new jl_IndexOutOfBoundsException; $par0DataInput.$suppressionEnabled = 1; $par0DataInput.$writableStackTrace = 1; $rt_throw($par0DataInput); }, nms_Packet_writeItemStack = ($par0ItemStack, $par1DataOutput) => { let var$3, $var2, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $$je; nms_Packet_$callClinit(); if ($par0ItemStack === null) ji_DataOutputStream_writeShort($par1DataOutput, (-1)); else { ji_DataOutputStream_writeShort($par1DataOutput, $par0ItemStack.$itemID); var$3 = $par0ItemStack.$stackSize; $par1DataOutput.$out0.$write1(var$3); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; ji_DataOutputStream_writeShort($par1DataOutput, $par0ItemStack.$itemDamage); $var2 = null; nms_Item_$callClinit(); var$5 = nms_Item_itemsList.data; var$6 = $par0ItemStack.$itemID; var$7 = var$5[var$6]; var$3 = var$7.$maxDamage > 0 && !var$7.$hasSubtypes ? 1 : 0; if (!(!var$3 && !var$5[var$6].$getShareTag())) $var2 = $par0ItemStack.$stackTagCompound; if ($var2 === null) ji_DataOutputStream_writeShort($par1DataOutput, (-1)); else { $par0ItemStack = new ji_ByteArrayOutputStream; $par0ItemStack.$buf = $rt_createByteArray(32); var$8 = new ji_DataOutputStream; var$7 = new cjj_GZIPOutputStream; var$9 = new cjj_Deflater; var$10 = new cjj_Adler32; var$10.$s1 = Long_fromInt(1); var$10.$s2 = Long_ZERO; var$9.$adler = var$10; var$9.$finished0 = 0; var$9.$finished0 = 0; var$10 = cjj_Deflate__init_0(var$9); var$9.$dstate = var$10; var$3 = cjj_Deflate_deflateInit0(var$10, (-1), 31); if (var$3) { $par0ItemStack = new cjj_GZIPException; $par1DataOutput = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($par1DataOutput); jl_AbstractStringBuilder_append0($par1DataOutput, var$3); jl_AbstractStringBuilder_append($par1DataOutput, $rt_s(107)); jl_AbstractStringBuilder_append($par1DataOutput, var$9.$msg); ji_IOException__init_($par0ItemStack, jl_AbstractStringBuilder_toString($par1DataOutput)); $rt_throw($par0ItemStack); } cjj_DeflaterOutputStream__init_(var$7, $par0ItemStack, var$9, 512, 1); var$7.$mydeflater = 1; var$8.$out0 = var$7; var$8.$buff0 = $rt_createByteArray(8); a: { try { nms_CompressedStreamTools_write($var2, var$8); break a; } catch ($$e) { $$je = $rt_wrapException($$e); $par0ItemStack = $$je; } b: { try { var$8.$out0.$flush(); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } var$8.$out0.$close(); $rt_throw($par0ItemStack); } c: { try { var$8.$out0.$flush(); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } var$8.$out0.$close(); var$11 = $par0ItemStack.$buf.data; var$3 = $par0ItemStack.$count2; var$5 = $rt_createByteArray(var$3); var$6 = var$11.length; if (var$3 < var$6) var$6 = var$3; var$12 = var$5.data; var$3 = 0; while (var$3 < var$6) { var$12[var$3] = var$11[var$3]; var$3 = var$3 + 1 | 0; } var$3 = var$12.length; ji_DataOutputStream_writeShort($par1DataOutput, var$3 << 16 >> 16); $par1DataOutput.$out0.$write4(var$5, 0, var$3); $par1DataOutput.$written = $par1DataOutput.$written + var$3 | 0; } } }, nms_Packet__clinit_ = () => { let var$1; nms_Packet_packetIdToClassMap = nms_IntHashMap__init_(); nms_Packet_packetClassToIdMap = ju_HashMap__init_(); var$1 = new ju_HashSet; var$1.$backingMap = ju_HashMap__init_(); nms_Packet_clientPacketIdList = var$1; var$1 = new ju_HashSet; var$1.$backingMap = ju_HashMap__init_(); nms_Packet_serverPacketIdList = var$1; nms_Packet_addIdClassMapping(0, 1, 1, $rt_cls(nms_Packet0KeepAlive)); nms_Packet_addIdClassMapping(1, 1, 1, $rt_cls(nms_Packet1Login)); nms_Packet_addIdClassMapping(2, 0, 1, $rt_cls(nms_Packet2ClientProtocol)); nms_Packet_addIdClassMapping(3, 1, 1, $rt_cls(nms_Packet3Chat)); nms_Packet_addIdClassMapping(4, 1, 0, $rt_cls(nms_Packet4UpdateTime)); nms_Packet_addIdClassMapping(5, 1, 0, $rt_cls(nms_Packet5PlayerInventory)); nms_Packet_addIdClassMapping(6, 1, 0, $rt_cls(nms_Packet6SpawnPosition)); nms_Packet_addIdClassMapping(7, 0, 1, $rt_cls(nms_Packet7UseEntity)); nms_Packet_addIdClassMapping(8, 1, 0, $rt_cls(nms_Packet8UpdateHealth)); nms_Packet_addIdClassMapping(9, 1, 1, $rt_cls(nms_Packet9Respawn)); nms_Packet_addIdClassMapping(10, 1, 1, $rt_cls(nms_Packet10Flying)); nms_Packet_addIdClassMapping(11, 1, 1, $rt_cls(nms_Packet11PlayerPosition)); nms_Packet_addIdClassMapping(12, 1, 1, $rt_cls(nms_Packet12PlayerLook)); nms_Packet_addIdClassMapping(13, 1, 1, $rt_cls(nms_Packet13PlayerLookMove)); nms_Packet_addIdClassMapping(14, 0, 1, $rt_cls(nms_Packet14BlockDig)); nms_Packet_addIdClassMapping(15, 0, 1, $rt_cls(nms_Packet15Place)); nms_Packet_addIdClassMapping(16, 1, 1, $rt_cls(nms_Packet16BlockItemSwitch)); nms_Packet_addIdClassMapping(17, 1, 0, $rt_cls(nms_Packet17Sleep)); nms_Packet_addIdClassMapping(18, 1, 1, $rt_cls(nms_Packet18Animation)); nms_Packet_addIdClassMapping(19, 0, 1, $rt_cls(nms_Packet19EntityAction)); nms_Packet_addIdClassMapping(20, 1, 0, $rt_cls(nms_Packet20NamedEntitySpawn)); nms_Packet_addIdClassMapping(22, 1, 0, $rt_cls(nms_Packet22Collect)); nms_Packet_addIdClassMapping(23, 1, 0, $rt_cls(nms_Packet23VehicleSpawn)); nms_Packet_addIdClassMapping(24, 1, 0, $rt_cls(nms_Packet24MobSpawn)); nms_Packet_addIdClassMapping(25, 1, 0, $rt_cls(nms_Packet25EntityPainting)); nms_Packet_addIdClassMapping(26, 1, 0, $rt_cls(nms_Packet26EntityExpOrb)); nms_Packet_addIdClassMapping(27, 0, 1, $rt_cls(nms_Packet27PlayerInput)); nms_Packet_addIdClassMapping(28, 1, 0, $rt_cls(nms_Packet28EntityVelocity)); nms_Packet_addIdClassMapping(29, 1, 0, $rt_cls(nms_Packet29DestroyEntity)); nms_Packet_addIdClassMapping(30, 1, 0, $rt_cls(nms_Packet30Entity)); nms_Packet_addIdClassMapping(31, 1, 0, $rt_cls(nms_Packet31RelEntityMove)); nms_Packet_addIdClassMapping(32, 1, 0, $rt_cls(nms_Packet32EntityLook)); nms_Packet_addIdClassMapping(33, 1, 0, $rt_cls(nms_Packet33RelEntityMoveLook)); nms_Packet_addIdClassMapping(34, 1, 0, $rt_cls(nms_Packet34EntityTeleport)); nms_Packet_addIdClassMapping(35, 1, 0, $rt_cls(nms_Packet35EntityHeadRotation)); nms_Packet_addIdClassMapping(38, 1, 0, $rt_cls(nms_Packet38EntityStatus)); nms_Packet_addIdClassMapping(39, 1, 0, $rt_cls(nms_Packet39AttachEntity)); nms_Packet_addIdClassMapping(40, 1, 0, $rt_cls(nms_Packet40EntityMetadata)); nms_Packet_addIdClassMapping(41, 1, 0, $rt_cls(nms_Packet41EntityEffect)); nms_Packet_addIdClassMapping(42, 1, 0, $rt_cls(nms_Packet42RemoveEntityEffect)); nms_Packet_addIdClassMapping(43, 1, 0, $rt_cls(nms_Packet43Experience)); nms_Packet_addIdClassMapping(44, 1, 0, $rt_cls(nms_Packet44UpdateAttributes)); nms_Packet_addIdClassMapping(51, 1, 0, $rt_cls(nms_Packet51MapChunk)); nms_Packet_addIdClassMapping(52, 1, 0, $rt_cls(nms_Packet52MultiBlockChange)); nms_Packet_addIdClassMapping(53, 1, 0, $rt_cls(nms_Packet53BlockChange)); nms_Packet_addIdClassMapping(54, 1, 0, $rt_cls(nms_Packet54PlayNoteBlock)); nms_Packet_addIdClassMapping(55, 1, 0, $rt_cls(nms_Packet55BlockDestroy)); nms_Packet_addIdClassMapping(56, 1, 0, $rt_cls(nms_Packet56MapChunks)); nms_Packet_addIdClassMapping(60, 1, 0, $rt_cls(nms_Packet60Explosion)); nms_Packet_addIdClassMapping(61, 1, 0, $rt_cls(nms_Packet61DoorChange)); nms_Packet_addIdClassMapping(62, 1, 0, $rt_cls(nms_Packet62LevelSound)); nms_Packet_addIdClassMapping(63, 1, 0, $rt_cls(nms_Packet63WorldParticles)); nms_Packet_addIdClassMapping(70, 1, 0, $rt_cls(nms_Packet70GameEvent)); nms_Packet_addIdClassMapping(71, 1, 0, $rt_cls(nms_Packet71Weather)); nms_Packet_addIdClassMapping(100, 1, 0, $rt_cls(nms_Packet100OpenWindow)); nms_Packet_addIdClassMapping(101, 1, 1, $rt_cls(nms_Packet101CloseWindow)); nms_Packet_addIdClassMapping(102, 0, 1, $rt_cls(nms_Packet102WindowClick)); nms_Packet_addIdClassMapping(103, 1, 0, $rt_cls(nms_Packet103SetSlot)); nms_Packet_addIdClassMapping(104, 1, 0, $rt_cls(nms_Packet104WindowItems)); nms_Packet_addIdClassMapping(105, 1, 0, $rt_cls(nms_Packet105UpdateProgressbar)); nms_Packet_addIdClassMapping(106, 1, 1, $rt_cls(nms_Packet106Transaction)); nms_Packet_addIdClassMapping(107, 1, 1, $rt_cls(nms_Packet107CreativeSetSlot)); nms_Packet_addIdClassMapping(108, 0, 1, $rt_cls(nms_Packet108EnchantItem)); nms_Packet_addIdClassMapping(130, 1, 1, $rt_cls(nms_Packet130UpdateSign)); nms_Packet_addIdClassMapping(131, 1, 0, $rt_cls(nms_Packet131MapData)); nms_Packet_addIdClassMapping(132, 1, 0, $rt_cls(nms_Packet132TileEntityData)); nms_Packet_addIdClassMapping(133, 1, 0, $rt_cls(nms_Packet133TileEditorOpen)); nms_Packet_addIdClassMapping(200, 1, 0, $rt_cls(nms_Packet200Statistic)); nms_Packet_addIdClassMapping(201, 1, 0, $rt_cls(nms_Packet201PlayerInfo)); nms_Packet_addIdClassMapping(202, 1, 1, $rt_cls(nms_Packet202PlayerAbilities)); nms_Packet_addIdClassMapping(203, 1, 1, $rt_cls(nms_Packet203AutoComplete)); nms_Packet_addIdClassMapping(204, 0, 1, $rt_cls(nms_Packet204ClientInfo)); nms_Packet_addIdClassMapping(205, 0, 1, $rt_cls(nms_Packet205ClientCommand)); nms_Packet_addIdClassMapping(206, 1, 0, $rt_cls(nms_Packet206SetObjective)); nms_Packet_addIdClassMapping(207, 1, 0, $rt_cls(nms_Packet207SetScore)); nms_Packet_addIdClassMapping(208, 1, 0, $rt_cls(nms_Packet208SetDisplayObjective)); nms_Packet_addIdClassMapping(209, 1, 0, $rt_cls(nms_Packet209SetPlayerTeam)); nms_Packet_addIdClassMapping(250, 1, 1, $rt_cls(nms_Packet250CustomPayload)); nms_Packet_addIdClassMapping(252, 1, 1, $rt_cls(nms_Packet252SharedKey)); nms_Packet_addIdClassMapping(253, 1, 0, $rt_cls(nms_Packet253ServerAuthData)); nms_Packet_addIdClassMapping(254, 0, 1, $rt_cls(nms_Packet254ServerPing)); nms_Packet_addIdClassMapping(255, 1, 1, $rt_cls(nms_Packet255KickDisconnect)); }; function nms_Packet3Chat() { let a = this; nms_Packet.call(a); a.$message1 = null; a.$isServer = 0; } let nms_Packet3Chat_maxChatLength = 0, nms_Packet3Chat__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$isServer = 1; }, nms_Packet3Chat__init_0 = () => { let var_0 = new nms_Packet3Chat(); nms_Packet3Chat__init_(var_0); return var_0; }, nms_Packet3Chat_readPacketData = ($this, $par1DataInput) => { $this.$message1 = nms_Packet_readString($par1DataInput, 32767); }, nms_Packet3Chat_writePacketData = ($this, $par1DataOutput) => { let var$2; var$2 = $this.$message1; nms_Packet_$callClinit(); if (var$2.$nativeString.length <= 32767) { ji_DataOutputStream_writeShort($par1DataOutput, var$2.$nativeString.length); ji_DataOutputStream_writeChars($par1DataOutput, var$2); return; } var$2 = new ji_IOException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(588); $rt_throw(var$2); }, nms_Packet3Chat_processPacket = ($this, $par1NetHandler) => { nms_NetClientHandler_handleChat($par1NetHandler, $this); }, nms_Packet3Chat_getPacketSize = $this => { return 2 + ($this.$message1.$nativeString.length * 2 | 0) | 0; }, nms_Packet3Chat__clinit_ = () => { nms_Packet3Chat_maxChatLength = 119; }, ju_AbstractSequentialList = $rt_classWithoutFields(ju_AbstractList), ju_AbstractSequentialList_get = ($this, $index) => { let $iter; if ($index >= 0) return ju_LinkedList$SequentialListIterator_next(ju_LinkedList_listIterator($this, $index)); $iter = new jl_IndexOutOfBoundsException; $iter.$suppressionEnabled = 1; $iter.$writableStackTrace = 1; $rt_throw($iter); }, ju_AbstractSequentialList_set = ($this, $index, $element) => { let $iter, $old, var$5; if ($index < 0) { $element = new jl_IndexOutOfBoundsException; $element.$suppressionEnabled = 1; $element.$writableStackTrace = 1; $rt_throw($element); } $iter = ju_LinkedList_listIterator($this, $index); $old = ju_LinkedList$SequentialListIterator_next($iter); var$5 = $iter.$currentEntry; if (var$5 === null) { $element = new jl_IllegalStateException; $element.$suppressionEnabled = 1; $element.$writableStackTrace = 1; $rt_throw($element); } if ($iter.$version >= $iter.$this$02.$modCount) { var$5.$item = $element; $iter.$currentEntry = null; return $old; } $element = new ju_ConcurrentModificationException; $element.$suppressionEnabled = 1; $element.$writableStackTrace = 1; $rt_throw($element); }, ju_AbstractSequentialList_add = ($this, $index, $element) => { if ($index >= 0) { ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($this, $index), $element); return; } $element = new jl_IndexOutOfBoundsException; $element.$suppressionEnabled = 1; $element.$writableStackTrace = 1; $rt_throw($element); }, ju_AbstractSequentialList_remove = ($this, $index) => { let $iter, $elem; if ($index >= 0) { $iter = ju_LinkedList_listIterator($this, $index); $elem = ju_LinkedList$SequentialListIterator_next($iter); ju_LinkedList$SequentialListIterator_remove($iter); return $elem; } $iter = new jl_IndexOutOfBoundsException; $iter.$suppressionEnabled = 1; $iter.$writableStackTrace = 1; $rt_throw($iter); }, ju_AbstractSequentialList_iterator = $this => { let var$1, var$2, var$3; var$1 = new ju_LinkedList$SequentialListIterator; var$2 = $this.$firstEntry; var$3 = null; var$1.$this$02 = $this; var$1.$version = $this.$modCount; var$1.$nextEntry1 = var$2; var$1.$prevEntry = var$3; var$1.$index4 = 0; return var$1; }, ju_Queue = $rt_classWithoutFields(0), ju_Deque = $rt_classWithoutFields(0); function ju_LinkedList() { let a = this; ju_AbstractSequentialList.call(a); a.$firstEntry = null; a.$lastEntry = null; a.$size2 = 0; } let ju_LinkedList__init_ = $this => { return; }, ju_LinkedList__init_0 = () => { let var_0 = new ju_LinkedList(); ju_LinkedList__init_(var_0); return var_0; }, ju_LinkedList_size = $this => { return $this.$size2; }, ju_LinkedList_clear = $this => { $this.$firstEntry = null; $this.$lastEntry = null; $this.$size2 = 0; $this.$modCount = $this.$modCount + 1 | 0; }, ju_LinkedList_listIterator = ($this, $index) => { let $prev, var$3, $next, $i, var$6; if ($index < 0) { $prev = new jl_IndexOutOfBoundsException; $prev.$suppressionEnabled = 1; $prev.$writableStackTrace = 1; $rt_throw($prev); } var$3 = $this.$size2; if ($index <= (var$3 / 2 | 0)) { $next = $this.$firstEntry; $i = 0; while ($i < $index) { $next = $next.$next5; $i = $i + 1 | 0; } $prev = new ju_LinkedList$SequentialListIterator; var$6 = $next === null ? null : $next.$previous1; $prev.$this$02 = $this; $prev.$version = $this.$modCount; $prev.$nextEntry1 = $next; $prev.$prevEntry = var$6; $prev.$index4 = $index; return $prev; } if ($index > var$3) { $prev = new jl_IndexOutOfBoundsException; $prev.$suppressionEnabled = 1; $prev.$writableStackTrace = 1; $rt_throw($prev); } $prev = $this.$lastEntry; $i = $index; while ($i < var$3) { $prev = $prev.$previous1; $i = $i + 1 | 0; } $next = new ju_LinkedList$SequentialListIterator; var$6 = $prev === null ? null : $prev.$next5; $next.$this$02 = $this; $next.$version = $this.$modCount; $next.$nextEntry1 = var$6; $next.$prevEntry = $prev; $next.$index4 = $index; return $next; }, ju_LinkedList_removeEntry = ($this, $entry) => { let var$2; var$2 = $entry.$previous1; if (var$2 === null) $this.$firstEntry = $entry.$next5; else var$2.$next5 = $entry.$next5; $entry = $entry.$next5; if ($entry === null) $this.$lastEntry = var$2; else $entry.$previous1 = var$2; $this.$size2 = $this.$size2 - 1 | 0; $this.$modCount = $this.$modCount + 1 | 0; }, ju_Map = $rt_classWithoutFields(0); function ju_AbstractMap() { let a = this; jl_Object.call(a); a.$cachedKeySet = null; a.$cachedValues = null; } let ju_AbstractMap__init_ = $this => { return; }, ju_AbstractMap_equals = ($this, $obj) => { let $other, $it, $entry, $$je; if ($this === $obj) return 1; if (!$rt_isInstance($obj, ju_Map)) return 0; $other = $obj; if ($this.$elementCount != $other.$elementCount) return 0; a: { try { $it = ju_HashMap$HashMapEntrySet_iterator(ju_HashMap_entrySet($this)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_ClassCastException) { break a; } else if ($$je instanceof jl_NullPointerException) { break a; } else { throw $$e; } } b: { c: { try { while (ju_HashMap$AbstractMapIterator_hasNext($it)) { $entry = ju_HashMap$EntryIterator_next($it); if (!ju_HashMap_containsKey($other, ju_MapEntry_getKey($entry))) break b; if (!ju_Objects_equals(ju_MapEntry_getValue($entry), ju_HashMap_get($other, ju_MapEntry_getKey($entry)))) break c; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_ClassCastException) { break a; } else if ($$je instanceof jl_NullPointerException) { break a; } else { throw $$e; } } return 1; } try { } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_ClassCastException) { break a; } else if ($$je instanceof jl_NullPointerException) { break a; } else { throw $$e; } } return 0; } try { } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_ClassCastException) { break a; } else if ($$je instanceof jl_NullPointerException) { break a; } else { throw $$e; } } return 0; } return 0; }, ju_AbstractMap_hashCode = $this => { let $result, $iter, var$3, var$4, var$5; $result = 0; $iter = new ju_HashMap$EntryIterator; $iter.$associatedMap = $this; $iter.$expectedModCount = $this.$modCount0; $iter.$futureEntry0 = null; while (ju_HashMap$AbstractMapIterator_hasNext($iter)) { ju_HashMap$AbstractMapIterator_makeNext($iter); var$3 = $iter.$currentEntry0; var$4 = var$3.$key; var$5 = var$4 !== null ? var$4.$hashCode() : 0; var$4 = var$3.$value1; $result = $result + (var$5 ^ (var$4 !== null ? var$4.$hashCode() : 0)) | 0; } return $result; }, ju_AbstractMap_toString = $this => { let $sb, var$2, $iter, var$4, var$5, var$6, var$7, var$8; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); var$2 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$2, var$2 + 1 | 0); $sb.$buffer.data[var$2] = 123; $iter = new ju_HashMap$EntryIterator; $iter.$associatedMap = $this; $iter.$expectedModCount = $this.$modCount0; $iter.$futureEntry0 = null; if (ju_HashMap$AbstractMapIterator_hasNext($iter)) { ju_HashMap$AbstractMapIterator_makeNext($iter); var$4 = $iter.$currentEntry0; var$5 = var$4.$key; if (var$5 === $this) var$5 = $rt_s(592); jl_AbstractStringBuilder_insert($sb, $sb.$length0, var$5 === null ? $rt_s(1) : var$5.$toString()); var$2 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$2, var$2 + 1 | 0); $sb.$buffer.data[var$2] = 61; var$5 = var$4.$value1; if (var$5 === $this) var$5 = $rt_s(592); jl_AbstractStringBuilder_insert($sb, $sb.$length0, var$5 === null ? $rt_s(1) : var$5.$toString()); } while (ju_HashMap$AbstractMapIterator_hasNext($iter)) { jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(25)); ju_HashMap$AbstractMapIterator_makeNext($iter); var$4 = $iter.$currentEntry0; var$5 = var$4.$key; if (var$5 === $this) var$5 = $rt_s(592); jl_AbstractStringBuilder_insert($sb, $sb.$length0, var$5 === null ? $rt_s(1) : var$5.$toString()); var$2 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$2, var$2 + 1 | 0); $sb.$buffer.data[var$2] = 61; var$5 = var$4.$value1; if (var$5 === $this) var$5 = $rt_s(592); jl_AbstractStringBuilder_insert($sb, $sb.$length0, var$5 === null ? $rt_s(1) : var$5.$toString()); } var$2 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$2, var$2 + 1 | 0); var$6 = $sb.$buffer; var$7 = var$6.data; var$7[var$2] = 125; var$5 = new jl_String; var$2 = $sb.$length0; var$8 = var$7.length; if (var$2 >= 0 && var$2 <= (var$8 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); return var$5; } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); }; function ju_HashMap() { let a = this; ju_AbstractMap.call(a); a.$elementCount = 0; a.$elementData = null; a.$modCount0 = 0; a.$loadFactor = 0.0; a.$threshold = 0; } let ju_HashMap_newElementArray = ($this, $s) => { return $rt_createArray(ju_HashMap$HashEntry, $s); }, ju_HashMap__init_1 = $this => { let var$1, var$2, var$3; var$1 = ju_HashMap_calculateCapacity(16); $this.$elementCount = 0; var$2 = $this.$newElementArray(var$1); var$3 = var$2.data; $this.$elementData = var$2; $this.$loadFactor = 0.75; $this.$threshold = var$3.length * 0.75 | 0; }, ju_HashMap__init_ = () => { let var_0 = new ju_HashMap(); ju_HashMap__init_1(var_0); return var_0; }, ju_HashMap__init_2 = ($this, $capacity) => { let var$2, var$3, var$4; if ($capacity < 0) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $capacity = ju_HashMap_calculateCapacity($capacity); $this.$elementCount = 0; var$3 = $this.$newElementArray($capacity); var$4 = var$3.data; $this.$elementData = var$3; $this.$loadFactor = 0.75; $this.$threshold = var$4.length * 0.75 | 0; }, ju_HashMap__init_0 = var_0 => { let var_1 = new ju_HashMap(); ju_HashMap__init_2(var_1, var_0); return var_1; }, ju_HashMap_calculateCapacity = $x => { let var$2; if ($x >= 1073741824) return 1073741824; if (!$x) return 16; var$2 = $x - 1 | 0; $x = var$2 | var$2 >> 1; $x = $x | $x >> 2; $x = $x | $x >> 4; $x = $x | $x >> 8; return ($x | $x >> 16) + 1 | 0; }, ju_HashMap_clear = $this => { let var$1, var$2, var$3, var$4, var$5; if ($this.$elementCount > 0) { $this.$elementCount = 0; var$1 = $this.$elementData.data; var$2 = null; var$3 = 0; var$4 = var$1.length; if (var$3 > var$4) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while (var$3 < var$4) { var$5 = var$3 + 1 | 0; var$1[var$3] = var$2; var$3 = var$5; } $this.$modCount0 = $this.$modCount0 + 1 | 0; } }, ju_HashMap_computeThreshold = $this => { $this.$threshold = $this.$elementData.data.length * $this.$loadFactor | 0; }, ju_HashMap_containsKey = ($this, $key) => { let $m, var$3, var$4, var$5; if ($key === null) { $m = $this.$elementData.data[0]; while ($m !== null && $m.$key !== null) { $m = $m.$next3; } } else { var$3 = $key.$hashCode(); var$4 = $this.$elementData.data; $m = var$4[var$3 & (var$4.length - 1 | 0)]; while ($m !== null) { if ($m.$origKeyHash == var$3) { var$5 = $m.$key; if ($key !== var$5 && !$key.$equals(var$5) ? 0 : 1) break; } $m = $m.$next3; } } return $m === null ? 0 : 1; }, ju_HashMap_containsValue = ($this, $value) => { let $i, var$3, $entry; a: { if ($value === null) { $i = 0; b: while (true) { var$3 = $this.$elementData.data; if ($i >= var$3.length) break a; $entry = var$3[$i]; while ($entry !== null) { if ($entry.$value1 === null) break b; $entry = $entry.$next3; } $i = $i + 1 | 0; } return 1; } $i = 0; c: while (true) { var$3 = $this.$elementData.data; if ($i >= var$3.length) break a; $entry = var$3[$i]; while ($entry !== null) { if ($value.$equals($entry.$value1)) break c; $entry = $entry.$next3; } $i = $i + 1 | 0; } return 1; } return 0; }, ju_HashMap_entrySet = $this => { let var$1; var$1 = new ju_HashMap$HashMapEntrySet; var$1.$associatedMap0 = $this; return var$1; }, ju_HashMap_get = ($this, $key) => { let $m, var$3, var$4, var$5; if ($key === null) { $m = $this.$elementData.data[0]; while ($m !== null && $m.$key !== null) { $m = $m.$next3; } } else { var$3 = $key.$hashCode(); var$4 = $this.$elementData.data; $m = var$4[var$3 & (var$4.length - 1 | 0)]; while ($m !== null) { if ($m.$origKeyHash == var$3) { var$5 = $m.$key; if ($key !== var$5 && !$key.$equals(var$5) ? 0 : 1) break; } $m = $m.$next3; } } if ($m === null) return null; return $m.$value1; }, ju_HashMap_entryByKey = ($this, $key) => { let $m, $hash, var$4, var$5; if ($key === null) { $m = $this.$elementData.data[0]; while ($m !== null && $m.$key !== null) { $m = $m.$next3; } } else { $hash = $key.$hashCode(); var$4 = $this.$elementData.data; $m = var$4[$hash & (var$4.length - 1 | 0)]; while ($m !== null) { if ($m.$origKeyHash == $hash) { var$5 = $m.$key; if ($key !== var$5 && !$key.$equals(var$5) ? 0 : 1) break; } $m = $m.$next3; } } return $m; }, ju_HashMap_findNonNullKeyEntry = ($this, $key, $index, $keyHash) => { let $m, var$5; $m = $this.$elementData.data[$index]; while ($m !== null) { if ($m.$origKeyHash == $keyHash) { var$5 = $m.$key; if ($key !== var$5 && !$key.$equals(var$5) ? 0 : 1) break; } $m = $m.$next3; } return $m; }, ju_HashMap_findNullKeyEntry = $this => { let $m; $m = $this.$elementData.data[0]; while ($m !== null && $m.$key !== null) { $m = $m.$next3; } return $m; }, ju_HashMap_put = ($this, $key, $value) => { return ju_HashMap_putImpl($this, $key, $value); }, ju_HashMap_putImpl = ($this, $key, $value) => { let var$3, $entry, $result, var$6, $hash, $index; if ($key === null) { var$3 = $this.$elementData.data; $entry = var$3[0]; while ($entry !== null && $entry.$key !== null) { $entry = $entry.$next3; } if ($entry === null) { $this.$modCount0 = $this.$modCount0 + 1 | 0; $result = null; $entry = new ju_HashMap$HashEntry; $key = null; $entry.$key = $result; $entry.$value1 = $key; $entry.$origKeyHash = 0; $entry.$next3 = var$3[0]; var$3[0] = $entry; var$6 = $this.$elementCount + 1 | 0; $this.$elementCount = var$6; if (var$6 > $this.$threshold) ju_HashMap_rehash($this, var$3.length); } } else { $hash = $key.$hashCode(); var$3 = $this.$elementData.data; $index = $hash & (var$3.length - 1 | 0); $entry = var$3[$index]; while ($entry !== null) { if ($entry.$origKeyHash == $hash) { $result = $entry.$key; if ($key !== $result && !$key.$equals($result) ? 0 : 1) break; } $entry = $entry.$next3; } if ($entry === null) { $this.$modCount0 = $this.$modCount0 + 1 | 0; $entry = new ju_HashMap$HashEntry; $result = null; $entry.$key = $key; $entry.$value1 = $result; $entry.$origKeyHash = $hash; var$3 = $this.$elementData.data; $entry.$next3 = var$3[$index]; var$3[$index] = $entry; var$6 = $this.$elementCount + 1 | 0; $this.$elementCount = var$6; if (var$6 > $this.$threshold) ju_HashMap_rehash($this, var$3.length); } } $result = $entry.$value1; $entry.$value1 = $value; return $result; }, ju_HashMap_rehash = ($this, $capacity) => { let $length, $newData, $i, var$5, $entry, $index, $next; $length = ju_HashMap_calculateCapacity(!$capacity ? 1 : $capacity << 1); $newData = $this.$newElementArray($length); $i = 0; $capacity = $length - 1 | 0; while (true) { var$5 = $this.$elementData.data; if ($i >= var$5.length) break; $entry = var$5[$i]; var$5[$i] = null; while ($entry !== null) { var$5 = $newData.data; $index = $entry.$origKeyHash & $capacity; $next = $entry.$next3; $entry.$next3 = var$5[$index]; var$5[$index] = $entry; $entry = $next; } $i = $i + 1 | 0; } var$5 = $newData.data; $this.$elementData = $newData; $this.$threshold = var$5.length * $this.$loadFactor | 0; }, ju_HashMap_remove = ($this, $key) => { let $entry; $entry = ju_HashMap_removeByKey($this, $key); if ($entry === null) return null; return $entry.$value1; }, ju_HashMap_removeEntry = ($this, $entry) => { let var$2, var$3, $index, $m, var$6; var$2 = $entry.$origKeyHash; var$3 = $this.$elementData.data; $index = var$2 & (var$3.length - 1 | 0); $m = var$3[$index]; if ($m === $entry) var$3[$index] = $entry.$next3; else { while (true) { var$6 = $m.$next3; if (var$6 === $entry) break; $m = var$6; } $m.$next3 = $entry.$next3; } $this.$modCount0 = $this.$modCount0 + 1 | 0; $this.$elementCount = $this.$elementCount - 1 | 0; }, ju_HashMap_removeByKey = ($this, $key) => { let $index, $last, $entry, $entry_0, $hash, var$7; a: { $index = 0; $last = null; if ($key === null) { $entry = $this.$elementData.data[0]; while ($entry !== null) { if ($entry.$key === null) break a; $entry_0 = $entry.$next3; $last = $entry; $entry = $entry_0; } } else { $hash = $key.$hashCode(); var$7 = $this.$elementData.data; $index = $hash & (var$7.length - 1 | 0); $entry = var$7[$index]; while ($entry !== null) { if ($entry.$origKeyHash == $hash) { $entry_0 = $entry.$key; if ($key !== $entry_0 && !$key.$equals($entry_0) ? 0 : 1) break; } $entry_0 = $entry.$next3; $last = $entry; $entry = $entry_0; } } } if ($entry === null) return null; if ($last !== null) $last.$next3 = $entry.$next3; else $this.$elementData.data[$index] = $entry.$next3; $this.$modCount0 = $this.$modCount0 + 1 | 0; $this.$elementCount = $this.$elementCount - 1 | 0; return $entry; }, ju_HashMap_areEqualKeys = ($key1, $key2) => { return $key1 !== $key2 && !$key1.$equals($key2) ? 0 : 1; }, jt_Format = $rt_classWithoutFields(); function jt_DateFormat() { jt_Format.call(this); this.$calendar = null; } function jt_SimpleDateFormat() { let a = this; jt_DateFormat.call(a); a.$dateFormatSymbols = null; a.$elements0 = null; a.$pattern1 = null; a.$locale = null; } let jt_SimpleDateFormat__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; ju_Locale_$callClinit(); var$1 = ju_Locale_defaultLocale; var$2 = var$1.$languageCode; var$1 = var$1.$countryCode; if (otciu_CLDRHelper_$$metadata$$14 === null) otciu_CLDRHelper_$$metadata$$14 = otciu_CLDRHelper_getDateFormatMap$$create(); var$3 = otciu_CLDRHelper_$$metadata$$14; if (var$1.$nativeString.length ? 0 : 1) var$1 = var$2; else { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert7(var$4, var$4.$length0, 45); jl_AbstractStringBuilder_insert1(var$4, var$4.$length0, var$1); var$1 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; var$7 = var$4.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); else $rt_throw(jl_IndexOutOfBoundsException__init_0()); } var$3 = ((var$3.hasOwnProperty($rt_ustr(var$1)) ? var$3[$rt_ustr(var$1)] : var$3.hasOwnProperty($rt_ustr(var$2)) ? var$3[$rt_ustr(var$2)] : var$3.root).mediumFormat !== null ? $rt_str((var$3.hasOwnProperty($rt_ustr(var$1)) ? var$3[$rt_ustr(var$1)] : var$3.hasOwnProperty($rt_ustr(var$2)) ? var$3[$rt_ustr(var$2)] : var$3.root).mediumFormat) : null); var$9 = ju_Locale_defaultLocale; var$1 = new jt_DateFormatSymbols; var$1.$locale0 = var$9; $this.$calendar = ju_GregorianCalendar__init_2(); var$1 = jt_DateFormatSymbols_clone(var$1); $this.$dateFormatSymbols = var$1; var$2 = ju_Locale_defaultLocale; $this.$locale = var$2; $this.$pattern1 = var$3; var$4 = new jt_SimpleDatePatternParser; var$3 = new ju_ArrayList; ju_AbstractList__init_(var$3); var$3.$array = $rt_createArray(jl_Object, 10); var$4.$elements = var$3; var$4.$symbols0 = var$1; var$4.$locale3 = var$2; jt_SimpleDatePatternParser_parsePattern(var$4, $this.$pattern1); $this.$elements0 = ju_AbstractCollection_toArray(var$4.$elements, $rt_createArray(jt_DateFormatElement, 0)); $this.$locale = var$9; }, jt_SimpleDateFormat__init_0 = () => { let var_0 = new jt_SimpleDateFormat(); jt_SimpleDateFormat__init_(var_0); return var_0; }; function nle_ExpiringSet() { let a = this; ju_HashSet.call(a); a.$expiration = Long_ZERO; a.$event = null; a.$timestamps = null; } let nle_ExpiringSet$ExpiringEvent = $rt_classWithoutFields(0), nlea_EaglerAdapterImpl2$31 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$31__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$31__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$31(); nlea_EaglerAdapterImpl2$31__init_(var_0); return var_0; }, nleg_EaglerAdapterGL30 = $rt_classWithoutFields(nlea_EaglerAdapterImpl2), nleg_EaglerAdapterGL30_isWebGL = 0, nleg_EaglerAdapterGL30_texObjects = null, nleg_EaglerAdapterGL30_enableTexture2D = 0, nleg_EaglerAdapterGL30_enableTexture2D_1 = 0, nleg_EaglerAdapterGL30_enableLighting = 0, nleg_EaglerAdapterGL30_enableAlphaTest = 0, nleg_EaglerAdapterGL30_alphaThresh = 0.0, nleg_EaglerAdapterGL30_isDepthTest = 0, nleg_EaglerAdapterGL30_currentDepthFunc = 0, nleg_EaglerAdapterGL30_isCullFace = 0, nleg_EaglerAdapterGL30_currentCullFace = 0, nleg_EaglerAdapterGL30_isPolygonOffset = 0, nleg_EaglerAdapterGL30_polygonOffset1 = 0.0, nleg_EaglerAdapterGL30_polygonOffset2 = 0.0, nleg_EaglerAdapterGL30_isBlend = 0, nleg_EaglerAdapterGL30_blendSRC = 0, nleg_EaglerAdapterGL30_blendDST = 0, nleg_EaglerAdapterGL30_colorMask = 0, nleg_EaglerAdapterGL30_isDepthMask = 0, nleg_EaglerAdapterGL30_isCompilingDisplayList = 0, nleg_EaglerAdapterGL30_compilingDisplayList = null, nleg_EaglerAdapterGL30_enableColorArray = 0, nleg_EaglerAdapterGL30_enableNormalArray = 0, nleg_EaglerAdapterGL30_enableTex0Array = 0, nleg_EaglerAdapterGL30_enableTex1Array = 0, nleg_EaglerAdapterGL30_enableAnisotropicFix = 0, nleg_EaglerAdapterGL30_anisotropicFixSerial = 0, nleg_EaglerAdapterGL30_anisotropicFixX = 0.0, nleg_EaglerAdapterGL30_anisotropicFixY = 0.0, nleg_EaglerAdapterGL30_colorSerial = 0, nleg_EaglerAdapterGL30_colorR = 0.0, nleg_EaglerAdapterGL30_colorG = 0.0, nleg_EaglerAdapterGL30_colorB = 0.0, nleg_EaglerAdapterGL30_colorA = 0.0, nleg_EaglerAdapterGL30_normalSerial = 0, nleg_EaglerAdapterGL30_normalX = 0.0, nleg_EaglerAdapterGL30_normalY = 0.0, nleg_EaglerAdapterGL30_normalZ = 0.0, nleg_EaglerAdapterGL30_selectedTex = 0, nleg_EaglerAdapterGL30_selectedClientTex = 0, nleg_EaglerAdapterGL30_boundTexI = null, nleg_EaglerAdapterGL30_boundTex = null, nleg_EaglerAdapterGL30_tex0Serial = 0, nleg_EaglerAdapterGL30_tex0X = 0.0, nleg_EaglerAdapterGL30_tex0Y = 0.0; let nleg_EaglerAdapterGL30_tex1Serial = 0, nleg_EaglerAdapterGL30_tex1X = 0.0, nleg_EaglerAdapterGL30_tex1Y = 0.0, nleg_EaglerAdapterGL30_boundTexture0 = null, nleg_EaglerAdapterGL30_enableAnisotropicPatch = 0, nleg_EaglerAdapterGL30_hintAnisotropicPatch = 0, nleg_EaglerAdapterGL30_swapRB = 0, nleg_EaglerAdapterGL30_enableTexGen = 0, nleg_EaglerAdapterGL30_enableColorMaterial = 0, nleg_EaglerAdapterGL30_texPlaneSerial = 0, nleg_EaglerAdapterGL30_texSSerial = 0, nleg_EaglerAdapterGL30_texS_plane = 0, nleg_EaglerAdapterGL30_texS_X = 0.0, nleg_EaglerAdapterGL30_texS_Y = 0.0, nleg_EaglerAdapterGL30_texS_Z = 0.0, nleg_EaglerAdapterGL30_texS_W = 0.0, nleg_EaglerAdapterGL30_texTSerial = 0, nleg_EaglerAdapterGL30_texT_plane = 0, nleg_EaglerAdapterGL30_texT_X = 0.0, nleg_EaglerAdapterGL30_texT_Y = 0.0, nleg_EaglerAdapterGL30_texT_Z = 0.0, nleg_EaglerAdapterGL30_texT_W = 0.0, nleg_EaglerAdapterGL30_texRSerial = 0, nleg_EaglerAdapterGL30_texR_plane = 0, nleg_EaglerAdapterGL30_texR_X = 0.0, nleg_EaglerAdapterGL30_texR_Y = 0.0, nleg_EaglerAdapterGL30_texR_Z = 0.0, nleg_EaglerAdapterGL30_texR_W = 0.0, nleg_EaglerAdapterGL30_texQSerial = 0, nleg_EaglerAdapterGL30_texQ_plane = 0, nleg_EaglerAdapterGL30_texQ_X = 0.0, nleg_EaglerAdapterGL30_texQ_Y = 0.0, nleg_EaglerAdapterGL30_texQ_Z = 0.0, nleg_EaglerAdapterGL30_texQ_W = 0.0, nleg_EaglerAdapterGL30_fogColorSerial = 0, nleg_EaglerAdapterGL30_fogColorR = 0.0, nleg_EaglerAdapterGL30_fogColorG = 0.0, nleg_EaglerAdapterGL30_fogColorB = 0.0, nleg_EaglerAdapterGL30_fogColorA = 0.0, nleg_EaglerAdapterGL30_fogCfgSerial = 0, nleg_EaglerAdapterGL30_fogMode = 0, nleg_EaglerAdapterGL30_fogEnabled = 0, nleg_EaglerAdapterGL30_fogStart = 0.0, nleg_EaglerAdapterGL30_fogEnd = 0.0, nleg_EaglerAdapterGL30_fogDensity = 0.0, nleg_EaglerAdapterGL30_bytesUploaded = 0, nleg_EaglerAdapterGL30_vertexDrawn = 0, nleg_EaglerAdapterGL30_triangleDrawn = 0, nleg_EaglerAdapterGL30_matrixMode = 0, nleg_EaglerAdapterGL30_matModelSerialCounter = 0; let nleg_EaglerAdapterGL30_matModelVSerial = null, nleg_EaglerAdapterGL30_matModelV = null, nleg_EaglerAdapterGL30_matModelPointer = 0, nleg_EaglerAdapterGL30_matProjSerialCounter = 0, nleg_EaglerAdapterGL30_matProjVSerial = null, nleg_EaglerAdapterGL30_matProjV = null, nleg_EaglerAdapterGL30_matProjPointer = 0, nleg_EaglerAdapterGL30_matTexSerialCounter = 0, nleg_EaglerAdapterGL30_matTexVSerial = null, nleg_EaglerAdapterGL30_matTexV = null, nleg_EaglerAdapterGL30_matTexPointer = 0, nleg_EaglerAdapterGL30_quadsToTrianglesBuffer = null, nleg_EaglerAdapterGL30_currentArray = null, nleg_EaglerAdapterGL30_displayLists = null, nleg_EaglerAdapterGL30_displayListsInitialized = null, nleg_EaglerAdapterGL30_deevis = null, nleg_EaglerAdapterGL30_lightPos0Serial = 0, nleg_EaglerAdapterGL30_lightPos1Serial = 0, nleg_EaglerAdapterGL30_lightPos0vec0 = null, nleg_EaglerAdapterGL30_lightPos1vec0 = null, nleg_EaglerAdapterGL30_lightPos0vec = null, nleg_EaglerAdapterGL30_lightPos1vec = null, nleg_EaglerAdapterGL30_tmpMat = null, nleg_EaglerAdapterGL30_overlayFBOBlending = 0, nleg_EaglerAdapterGL30_displayListId = 0, nleg_EaglerAdapterGL30_tmpTexGenPlane = null, nleg_EaglerAdapterGL30_shader = null, nleg_EaglerAdapterGL30_blankUploadArray = null, nleg_EaglerAdapterGL30_occlusion_vao = null, nleg_EaglerAdapterGL30_occlusion_vbo = null, nleg_EaglerAdapterGL30_occlusion_program = null, nleg_EaglerAdapterGL30_occlusion_matrix_m = null, nleg_EaglerAdapterGL30_occlusion_matrix_p = null, nleg_EaglerAdapterGL30_queryObjs = null, nleg_EaglerAdapterGL30_cachedOcclusionP = null, nleg_EaglerAdapterGL30_occlusionModel = null, nleg_EaglerAdapterGL30_occlusionProj = null, nleg_EaglerAdapterGL30_unprojA = null, nleg_EaglerAdapterGL30_unprojB = null, nleg_EaglerAdapterGL30_unprojC = null, nleg_EaglerAdapterGL30_lastBandwidthReset = Long_ZERO, nleg_EaglerAdapterGL30_lastBandwidth = 0, nleg_EaglerAdapterGL30_$callClinit = () => { nleg_EaglerAdapterGL30_$callClinit = $rt_eraseClinit(nleg_EaglerAdapterGL30); nleg_EaglerAdapterGL30__clinit_(); }, nleg_EaglerAdapterGL30__init_ = $this => { nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); }, nleg_EaglerAdapterGL30__init_0 = () => { let var_0 = new nleg_EaglerAdapterGL30(); nleg_EaglerAdapterGL30__init_(var_0); return var_0; }, nleg_EaglerAdapterGL30_glClearStack = () => { let var$1, var$2; nleg_EaglerAdapterGL30_$callClinit(); var$1 = nleg_EaglerAdapterGL30_matModelV.data; var$2 = var$1[0]; nlegv_Matrix4f_load(var$1[nleg_EaglerAdapterGL30_matModelPointer], var$2); nleg_EaglerAdapterGL30_matModelPointer = 0; var$1 = nleg_EaglerAdapterGL30_matProjV.data; var$2 = var$1[0]; nlegv_Matrix4f_load(var$1[nleg_EaglerAdapterGL30_matProjPointer], var$2); nleg_EaglerAdapterGL30_matProjPointer = 0; var$1 = nleg_EaglerAdapterGL30_matTexV.data; var$2 = var$1[0]; nlegv_Matrix4f_load(var$1[nleg_EaglerAdapterGL30_matTexPointer], var$2); nleg_EaglerAdapterGL30_matTexPointer = 0; }, nleg_EaglerAdapterGL30_getDisplayListCount = () => { nleg_EaglerAdapterGL30_$callClinit(); return nleg_EaglerAdapterGL30_displayListsInitialized.$elementCount; }, nleg_EaglerAdapterGL30_glEnable = $p1 => { let var$2; nleg_EaglerAdapterGL30_$callClinit(); a: { b: { c: { d: { e: { switch ($p1) { case -101: nleg_EaglerAdapterGL30_swapRB = 1; break a; case 2884: if (nleg_EaglerAdapterGL30_isCullFace) break a; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.enable(2884); nleg_EaglerAdapterGL30_isCullFace = 1; break a; case 2896: nleg_EaglerAdapterGL30_enableLighting = 1; break a; case 2903: nleg_EaglerAdapterGL30_enableColorMaterial = 1; break a; case 2912: nleg_EaglerAdapterGL30_fogEnabled = 1; break a; case 2929: break e; case 3008: nleg_EaglerAdapterGL30_enableAlphaTest = 1; break a; case 3042: break d; case 3168: case 3169: case 3170: case 3171: nleg_EaglerAdapterGL30_enableTexGen = 1; break a; case 3553: break b; case 32823: break c; case 32826: break; default: break a; } break a; } if (nleg_EaglerAdapterGL30_isDepthTest) break a; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.enable(2929); nleg_EaglerAdapterGL30_isDepthTest = 1; break a; } if (nleg_EaglerAdapterGL30_isBlend) break a; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.enable(3042); nleg_EaglerAdapterGL30_isBlend = 1; break a; } if (nleg_EaglerAdapterGL30_isPolygonOffset) break a; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.enable(32823); nleg_EaglerAdapterGL30_isPolygonOffset = 1; break a; } var$2 = nleg_EaglerAdapterGL30_selectedTex; if (!var$2) nleg_EaglerAdapterGL30_enableTexture2D = 1; if (var$2 == 1) nleg_EaglerAdapterGL30_enableTexture2D_1 = 1; } }, nleg_EaglerAdapterGL30_glDepthFunc = $p1 => { let $f; nleg_EaglerAdapterGL30_$callClinit(); a: { $f = 518; switch ($p1) { case 514: $f = 514; break a; case 515: $f = 518; break a; case 516: $f = 513; break a; default: } } if ($f != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc($f); nleg_EaglerAdapterGL30_currentDepthFunc = $f; } }, nleg_EaglerAdapterGL30_glMatrixMode = $p1 => { nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_matrixMode = $p1; }; let nleg_EaglerAdapterGL30_getMatrixIncrSerial = () => { let var$1, var$2, var$3; nleg_EaglerAdapterGL30_$callClinit(); switch (nleg_EaglerAdapterGL30_matrixMode) { case 5888: break; case 5889: var$1 = nleg_EaglerAdapterGL30_matProjVSerial.data; var$2 = nleg_EaglerAdapterGL30_matProjPointer; var$3 = nleg_EaglerAdapterGL30_matProjSerialCounter + 1 | 0; nleg_EaglerAdapterGL30_matProjSerialCounter = var$3; var$1[var$2] = var$3; return nleg_EaglerAdapterGL30_matProjV.data[var$2]; case 5890: var$1 = nleg_EaglerAdapterGL30_matTexVSerial.data; var$2 = nleg_EaglerAdapterGL30_matTexPointer; var$3 = nleg_EaglerAdapterGL30_matTexSerialCounter + 1 | 0; nleg_EaglerAdapterGL30_matTexSerialCounter = var$3; var$1[var$2] = var$3; return nleg_EaglerAdapterGL30_matTexV.data[var$2]; default: } var$1 = nleg_EaglerAdapterGL30_matModelVSerial.data; var$2 = nleg_EaglerAdapterGL30_matModelPointer; var$3 = nleg_EaglerAdapterGL30_matModelSerialCounter + 1 | 0; nleg_EaglerAdapterGL30_matModelSerialCounter = var$3; var$1[var$2] = var$3; return nleg_EaglerAdapterGL30_matModelV.data[var$2]; }, nleg_EaglerAdapterGL30_glLoadIdentity = () => { nleg_EaglerAdapterGL30_$callClinit(); nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); }, nleg_EaglerAdapterGL30_glOrtho = ($left, $right, $bottom, $top, $zNear, $zFar) => { let $res, var$8, var$9, var$10; nleg_EaglerAdapterGL30_$callClinit(); $res = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); var$8 = $right - $left; $res.$m00 = 2.0 / var$8; $res.$m01 = 0.0; $res.$m02 = 0.0; $res.$m03 = 0.0; $res.$m10 = 0.0; var$9 = $top - $bottom; $res.$m11 = 2.0 / var$9; $res.$m12 = 0.0; $res.$m13 = 0.0; $res.$m20 = 0.0; $res.$m21 = 0.0; var$10 = $zFar - $zNear; $res.$m22 = 2.0 / var$10; $res.$m23 = 0.0; $res.$m30 = -($right + $left) / var$8; $res.$m31 = -($top + $bottom) / var$9; $res.$m32 = ($zFar + $zNear) / var$10; $res.$m33 = 1.0; }, nleg_EaglerAdapterGL30_glTranslatef = ($p1, $p2, $p3) => { let var$4, var$5; nleg_EaglerAdapterGL30_$callClinit(); var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = $p1; var$4.$y = $p2; var$4.$z = $p3; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nleg_EaglerAdapterGL30_glDisable = $p1 => { let var$2; nleg_EaglerAdapterGL30_$callClinit(); a: { b: { c: { d: { e: { switch ($p1) { case -101: nleg_EaglerAdapterGL30_swapRB = 0; break a; case 2884: if (!nleg_EaglerAdapterGL30_isCullFace) break a; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.disable(2884); nleg_EaglerAdapterGL30_isCullFace = 0; break a; case 2896: nleg_EaglerAdapterGL30_enableLighting = 0; break a; case 2903: nleg_EaglerAdapterGL30_enableColorMaterial = 0; break a; case 2912: nleg_EaglerAdapterGL30_fogEnabled = 0; break a; case 2929: break e; case 3008: nleg_EaglerAdapterGL30_enableAlphaTest = 0; break a; case 3042: break d; case 3168: case 3169: case 3170: case 3171: nleg_EaglerAdapterGL30_enableTexGen = 0; break a; case 3553: break b; case 32823: break c; case 32826: break; default: break a; } break a; } if (!nleg_EaglerAdapterGL30_isDepthTest) break a; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.disable(2929); nleg_EaglerAdapterGL30_isDepthTest = 0; break a; } if (!nleg_EaglerAdapterGL30_isBlend) break a; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.disable(3042); nleg_EaglerAdapterGL30_isBlend = 0; break a; } if (!nleg_EaglerAdapterGL30_isPolygonOffset) break a; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.disable(32823); nleg_EaglerAdapterGL30_isPolygonOffset = 0; break a; } var$2 = nleg_EaglerAdapterGL30_selectedTex; if (!var$2) nleg_EaglerAdapterGL30_enableTexture2D = 0; if (var$2 == 1) nleg_EaglerAdapterGL30_enableTexture2D_1 = 0; } }, nleg_EaglerAdapterGL30_glColor4f = ($p1, $p2, $p3, $p4) => { nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $p1; nleg_EaglerAdapterGL30_colorG = $p2; nleg_EaglerAdapterGL30_colorB = $p3; nleg_EaglerAdapterGL30_colorA = $p4; }, nleg_EaglerAdapterGL30_copyModelToLightMatrix = () => { let var$1, var$2, var$3, var$4, var$5; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_lightPos0Serial = nleg_EaglerAdapterGL30_lightPos0Serial + 1 | 0; nleg_EaglerAdapterGL30_lightPos1Serial = nleg_EaglerAdapterGL30_lightPos1Serial + 1 | 0; var$1 = nleg_EaglerAdapterGL30_lightPos0vec0; var$2 = nleg_EaglerAdapterGL30_lightPos0vec; var$1.$x1 = var$2.$x1; var$1.$y1 = var$2.$y1; var$1.$z2 = var$2.$z2; var$1.$w = var$2.$w; var$1 = nleg_EaglerAdapterGL30_lightPos1vec0; var$3 = nleg_EaglerAdapterGL30_lightPos1vec; var$1.$x1 = var$3.$x1; var$1.$y1 = var$3.$y1; var$1.$z2 = var$3.$z2; var$1.$w = var$3.$w; var$2.$x1 = 0.20000000298023224; var$2.$y1 = 1.0; var$2.$z2 = (-0.699999988079071); var$2.$w = 0.0; var$4 = jl_Math_sqrt(1.5299999713897705); if (var$4 === 0.0) { var$1 = new jl_IllegalStateException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(593); $rt_throw(var$1); } var$5 = 1.0 / var$4; var$2.$x1 = var$2.$x1 * var$5; var$2.$y1 = var$2.$y1 * var$5; var$2.$z2 = var$2.$z2 * var$5; var$2.$w = var$2.$w * var$5; var$2 = nleg_EaglerAdapterGL30_lightPos1vec; var$2.$x1 = (-0.20000000298023224); var$2.$y1 = 1.0; var$2.$z2 = 0.699999988079071; var$2.$w = 0.0; var$4 = jl_Math_sqrt(1.5299999713897705); if (var$4 === 0.0) { var$1 = new jl_IllegalStateException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(593); $rt_throw(var$1); } var$5 = 1.0 / var$4; var$2.$x1 = var$2.$x1 * var$5; var$2.$y1 = var$2.$y1 * var$5; var$2.$z2 = var$2.$z2 * var$5; var$2.$w = var$2.$w * var$5; var$2 = nleg_EaglerAdapterGL30_matModelV.data[nleg_EaglerAdapterGL30_matModelPointer]; var$1 = nleg_EaglerAdapterGL30_lightPos0vec; var$2 = nlegv_Matrix4f_transform(var$2, var$1, var$1); var$5 = var$2.$x1; var$5 = var$5 * var$5; var$4 = var$2.$y1; var$5 = var$5 + var$4 * var$4; var$4 = var$2.$z2; var$5 = var$5 + var$4 * var$4; var$4 = var$2.$w; var$4 = jl_Math_sqrt(var$5 + var$4 * var$4); if (var$4 === 0.0) { var$1 = new jl_IllegalStateException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(593); $rt_throw(var$1); } var$5 = 1.0 / var$4; var$2.$x1 = var$2.$x1 * var$5; var$2.$y1 = var$2.$y1 * var$5; var$2.$z2 = var$2.$z2 * var$5; var$2.$w = var$2.$w * var$5; var$2 = nleg_EaglerAdapterGL30_matModelV.data[nleg_EaglerAdapterGL30_matModelPointer]; var$1 = nleg_EaglerAdapterGL30_lightPos1vec; var$2 = nlegv_Matrix4f_transform(var$2, var$1, var$1); var$5 = var$2.$x1; var$5 = var$5 * var$5; var$4 = var$2.$y1; var$5 = var$5 + var$4 * var$4; var$4 = var$2.$z2; var$5 = var$5 + var$4 * var$4; var$4 = var$2.$w; var$4 = jl_Math_sqrt(var$5 + var$4 * var$4); if (var$4 === 0.0) { var$1 = new jl_IllegalStateException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(593); $rt_throw(var$1); } var$5 = 1.0 / var$4; var$2.$x1 = var$2.$x1 * var$5; var$2.$y1 = var$2.$y1 * var$5; var$2.$z2 = var$2.$z2 * var$5; var$2.$w = var$2.$w * var$5; }, nleg_EaglerAdapterGL30_flipLightMatrix = () => { let var$1, var$2; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_lightPos0Serial = nleg_EaglerAdapterGL30_lightPos0Serial + 1 | 0; nleg_EaglerAdapterGL30_lightPos1Serial = nleg_EaglerAdapterGL30_lightPos1Serial + 1 | 0; var$1 = nleg_EaglerAdapterGL30_lightPos0vec; var$1.$x1 = -var$1.$x1; var$2 = nleg_EaglerAdapterGL30_lightPos1vec; var$2.$x1 = -var$2.$x1; var$1.$y1 = -var$1.$y1; var$2.$y1 = -var$2.$y1; var$1.$z2 = -var$1.$z2; var$2.$z2 = -var$2.$z2; }, nleg_EaglerAdapterGL30_glPushMatrix = () => { let var$1, var$2, var$3, var$4, var$5; nleg_EaglerAdapterGL30_$callClinit(); a: { switch (nleg_EaglerAdapterGL30_matrixMode) { case 5888: break; case 5889: var$1 = nleg_EaglerAdapterGL30_matProjPointer; var$2 = nleg_EaglerAdapterGL30_matProjV.data; if (var$1 < (var$2.length - 1 | 0)) { var$1 = var$1 + 1 | 0; nleg_EaglerAdapterGL30_matProjPointer = var$1; var$3 = var$2[var$1]; nlegv_Matrix4f_load(var$2[var$1 - 1 | 0], var$3); var$2 = nleg_EaglerAdapterGL30_matProjVSerial.data; var$1 = nleg_EaglerAdapterGL30_matProjPointer; var$2[var$1] = var$2[var$1 - 1 | 0]; break a; } if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); var$3.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$3.$sb = var$4; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } $rt_putStderr("projection matrix stack overflow"); $rt_putStderr("\n"); break a; case 5890: var$1 = nleg_EaglerAdapterGL30_matTexPointer; var$2 = nleg_EaglerAdapterGL30_matTexV.data; if (var$1 < (var$2.length - 1 | 0)) { var$1 = var$1 + 1 | 0; nleg_EaglerAdapterGL30_matTexPointer = var$1; var$3 = var$2[var$1]; nlegv_Matrix4f_load(var$2[var$1 - 1 | 0], var$3); var$2 = nleg_EaglerAdapterGL30_matTexVSerial.data; var$1 = nleg_EaglerAdapterGL30_matTexPointer; var$2[var$1] = var$2[var$1 - 1 | 0]; break a; } if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); var$3.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$3.$sb = var$4; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } $rt_putStderr("texture matrix stack overflow"); $rt_putStderr("\n"); break a; default: } var$5 = nleg_EaglerAdapterGL30_matModelPointer; var$2 = nleg_EaglerAdapterGL30_matModelV.data; if (var$5 < (var$2.length - 1 | 0)) { var$5 = var$5 + 1 | 0; nleg_EaglerAdapterGL30_matModelPointer = var$5; var$3 = var$2[var$5]; nlegv_Matrix4f_load(var$2[var$5 - 1 | 0], var$3); var$2 = nleg_EaglerAdapterGL30_matModelVSerial.data; var$5 = nleg_EaglerAdapterGL30_matModelPointer; var$2[var$5] = var$2[var$5 - 1 | 0]; } else { if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); var$3.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$3.$sb = var$4; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } $rt_putStderr("modelview matrix stack overflow"); $rt_putStderr("\n"); } } }, nleg_EaglerAdapterGL30_glRotatef = ($p1, $p2, $p3, $p4) => { let var$5, var$6; nleg_EaglerAdapterGL30_$callClinit(); var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = $p2; var$5.$y = $p3; var$5.$z = $p4; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($p1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nleg_EaglerAdapterGL30_glPopMatrix = () => { let var$1, var$2, var$3; nleg_EaglerAdapterGL30_$callClinit(); a: { b: { switch (nleg_EaglerAdapterGL30_matrixMode) { case 5888: break b; case 5889: break; case 5890: var$1 = nleg_EaglerAdapterGL30_matTexPointer; if (var$1 > 0) { nleg_EaglerAdapterGL30_matTexPointer = var$1 - 1 | 0; break a; } if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr("texture matrix stack underflow"); $rt_putStderr("\n"); break a; default: break b; } var$1 = nleg_EaglerAdapterGL30_matProjPointer; if (var$1 > 0) { nleg_EaglerAdapterGL30_matProjPointer = var$1 - 1 | 0; break a; } if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr("projection matrix stack underflow"); $rt_putStderr("\n"); break a; } var$1 = nleg_EaglerAdapterGL30_matModelPointer; if (var$1 > 0) nleg_EaglerAdapterGL30_matModelPointer = var$1 - 1 | 0; else { if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } var$2 = $rt_createArray(jl_StackTraceElement, 0).data[1].$declaringClass0; if (var$2 === null) var$2 = $rt_s(1); $rt_putStdout($rt_ustr(var$2)); $rt_putStdout("\n"); if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr("modelview matrix stack underflow"); $rt_putStderr("\n"); } } }, nleg_EaglerAdapterGL30_glScalef = ($p1, $p2, $p3) => { let var$4, var$5; nleg_EaglerAdapterGL30_$callClinit(); var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = $p1; var$4.$y = $p2; var$4.$z = $p3; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nleg_EaglerAdapterGL30_glBlendFunc = ($p1, $p2) => { let $i, $j; nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_overlayFBOBlending) { $i = $p1 | 65536; $j = $p2 | 65536; if (!(nleg_EaglerAdapterGL30_blendSRC == $i && nleg_EaglerAdapterGL30_blendDST == $j)) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.blendFuncSeparate($p1, $p2, 1, 771); nleg_EaglerAdapterGL30_blendSRC = $i; nleg_EaglerAdapterGL30_blendDST = $j; } } else if (!(nleg_EaglerAdapterGL30_blendSRC == $p1 && nleg_EaglerAdapterGL30_blendDST == $p2)) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.blendFunc($p1, $p2); nleg_EaglerAdapterGL30_blendSRC = $p1; nleg_EaglerAdapterGL30_blendDST = $p2; } }, nleg_EaglerAdapterGL30_glDepthMask = $p1 => { nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_isDepthMask != $p1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!$p1); nleg_EaglerAdapterGL30_isDepthMask = $p1; } }, nleg_EaglerAdapterGL30_glColorMask = ($p1, $p2, $p3, $p4) => { let $hsh; nleg_EaglerAdapterGL30_$callClinit(); $hsh = (!$p1 ? 0 : 1) | (!$p2 ? 0 : 2) | (!$p3 ? 0 : 4) | (!$p4 ? 0 : 8); if (nleg_EaglerAdapterGL30_colorMask != $hsh) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.colorMask(!!$p1, !!$p2, !!$p3, !!$p4); nleg_EaglerAdapterGL30_colorMask = $hsh; } }, nleg_EaglerAdapterGL30_updateAnisotropicPatch = () => { let var$1; nleg_EaglerAdapterGL30_$callClinit(); if (!nleg_EaglerAdapterGL30_selectedTex) { nleg_EaglerAdapterGL30_enableAnisotropicFix = 0; if (nleg_EaglerAdapterGL30_enableAnisotropicPatch) { var$1 = nleg_EaglerAdapterGL30_boundTexture0; if (var$1 !== null && var$1.$anisotropic && var$1.$nearest) { nleg_EaglerAdapterGL30_enableAnisotropicFix = 1; nleg_EaglerAdapterGL30_anisotropicFixSerial = nleg_EaglerAdapterGL30_anisotropicFixSerial + 1 | 0; nleg_EaglerAdapterGL30_anisotropicFixX = var$1.$w1; nleg_EaglerAdapterGL30_anisotropicFixY = var$1.$h0; } } } }, nleg_EaglerAdapterGL30_glBindTexture = ($p1, $p2) => { let var$3, $t; nleg_EaglerAdapterGL30_$callClinit(); var$3 = nleg_EaglerAdapterGL30_boundTexI.data; $p1 = nleg_EaglerAdapterGL30_selectedTex; if (var$3[$p1] != $p2) { $t = nleg_EaglerAdapterGL30_texObjects; $t = $p2 < $t.$size4 && $p2 >= 0 ? $t.$values.data[$p2] : null; if (nleg_EaglerAdapterGL30_boundTex.data[$p1] !== $t) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.bindTexture(3553, $t !== null ? $t.$obj1 : null); if (!nleg_EaglerAdapterGL30_selectedTex) { nleg_EaglerAdapterGL30_boundTexture0 = $t; nleg_EaglerAdapterGL30_updateAnisotropicPatch(); } nleg_EaglerAdapterGL30_boundTex.data[nleg_EaglerAdapterGL30_selectedTex] = $t; } nleg_EaglerAdapterGL30_boundTexI.data[nleg_EaglerAdapterGL30_selectedTex] = $p2; } }, nleg_EaglerAdapterGL30_glBindTexture0 = ($p1, $p2) => { let var$3; nleg_EaglerAdapterGL30_$callClinit(); var$3 = nleg_EaglerAdapterGL30_boundTexI.data; $p1 = nleg_EaglerAdapterGL30_selectedTex; var$3[$p1] = (-1); if (nleg_EaglerAdapterGL30_boundTex.data[$p1] !== $p2) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.bindTexture(3553, $p2 !== null ? $p2.$obj1 : null); if (!nleg_EaglerAdapterGL30_selectedTex) { nleg_EaglerAdapterGL30_boundTexture0 = $p2; nleg_EaglerAdapterGL30_updateAnisotropicPatch(); } nleg_EaglerAdapterGL30_boundTex.data[nleg_EaglerAdapterGL30_selectedTex] = $p2; } }, nleg_EaglerAdapterGL30_glTexParameteri = ($p1, $p2, $p3) => { let var$4; nleg_EaglerAdapterGL30_$callClinit(); if (!nleg_EaglerAdapterGL30_selectedTex) { var$4 = nleg_EaglerAdapterGL30_boundTexture0; if (var$4 !== null && $p2 == 10240) var$4.$nearest = $p3 != 9728 ? 0 : 1; } nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.texParameteri($p1, $p2, $p3); nleg_EaglerAdapterGL30_updateAnisotropicPatch(); }, nleg_EaglerAdapterGL30_glTexParameterf = ($p1, $p2, $p3) => { let var$4, var$5; nleg_EaglerAdapterGL30_$callClinit(); var$4 = $rt_compare($p2, (-103)); if (!var$4) { nlea_EaglerAdapterImpl2_$callClinit(); if (!nlea_EaglerAdapterImpl2_anisotropicFilteringSupported) return; } if (!nleg_EaglerAdapterGL30_selectedTex) { var$5 = nleg_EaglerAdapterGL30_boundTexture0; if (var$5 !== null && !var$4) var$5.$anisotropic = $p3 <= 1.0 ? 0 : 1; } if (!var$4) $p2 = 34046; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.texParameterf($p1, $p2, $p3); nleg_EaglerAdapterGL30_updateAnisotropicPatch(); }, nleg_EaglerAdapterGL30_glCallList = $p1 => { let $d, var$3, var$4, var$5, var$6, var$7; nleg_EaglerAdapterGL30_$callClinit(); if (!nleg_EaglerAdapterGL30_isCompilingDisplayList) { $d = nleg_EaglerAdapterGL30_displayListsInitialized; if ($p1 >= (-128) && $p1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$p1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $p1; } if (var$3 === null) { $d = $d.$elementData.data[0]; while ($d !== null && $d.$key !== null) { $d = $d.$next3; } } else { $p1 = var$3.$value0; var$4 = $d.$elementData.data; $d = var$4[$p1 & (var$4.length - 1 | 0)]; while ($d !== null) { if ($d.$origKeyHash == $p1) { var$5 = $d.$key; if (var$3 !== var$5 && !(var$3 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $p1 ? 1 : 0) ? 0 : 1) break; } $d = $d.$next3; } } $d = $d === null ? null : $d.$value1; if ($d !== null && $d.$listLength > 0) { var$3 = nleg_FixedFunctionShader_instance($d.$shaderMode | nleg_EaglerAdapterGL30_getShaderModeFlag1()); nleg_EaglerAdapterGL30_shader = var$3; var$5 = var$3.$globject; nlea_EaglerAdapterImpl2_$callClinit(); if (var$5 !== null) { $p1 = nlea_EaglerAdapterImpl2_currentProgram; var$6 = var$5.$hashcode; if ($p1 != var$6) { nlea_EaglerAdapterImpl2_currentProgram = var$6; nlea_EaglerAdapterImpl2_webgl.useProgram(var$5.$obj); } } nleg_FixedFunctionShader_update(var$3); var$3 = $d.$glarray; if (nleg_EaglerAdapterGL30_currentArray !== var$3) { nleg_EaglerAdapterGL30_currentArray = var$3; nlea_EaglerAdapterImpl2_webgl.bindVertexArray(var$3 !== null ? var$3.$obj3 : null); } nleg_EaglerAdapterGL30__wglDrawQuadArrays(0, $d.$listLength); var$6 = nleg_EaglerAdapterGL30_vertexDrawn; var$7 = $d.$listLength; nleg_EaglerAdapterGL30_vertexDrawn = var$6 + ((var$7 * 6 | 0) / 4 | 0) | 0; nleg_EaglerAdapterGL30_triangleDrawn = nleg_EaglerAdapterGL30_triangleDrawn + (var$7 / 2 | 0) | 0; } } }, nleg_EaglerAdapterGL30_glEndList = () => { let $f, $upload, var$3, var$4, var$5, var$6; nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { nleg_EaglerAdapterGL30_isCompilingDisplayList = 0; nlea_EaglerAdapterImpl2_$callClinit(); $f = new Int32Array(nlea_EaglerAdapterImpl2_appendbuffer.buffer, 0, nlea_EaglerAdapterImpl2_appendbufferindex); nlea_EaglerAdapterImpl2_appendbufferindex = 0; $upload = otji_JSWrapper_wrap($f); var$3 = ($upload === null ? null : $upload[$rt_jso_marker] === true ? $upload : $upload.$js).byteLength; if (var$3 > 0) { $f = nleg_EaglerAdapterGL30_compilingDisplayList; if ($f.$glbuffer === null) { var$4 = nleg_EaglerAdapterGL30_displayListsInitialized; var$5 = $f.$id8; if (var$5 >= (-128) && var$5 <= 127) { jl_Integer_ensureIntegerCache(); $f = jl_Integer_integerCache.data[var$5 + 128 | 0]; } else { $f = new jl_Integer; $f.$value0 = var$5; } ju_HashMap_putImpl(var$4, $f, nleg_EaglerAdapterGL30_compilingDisplayList); $f = nleg_EaglerAdapterGL30_compilingDisplayList; var$4 = new nlea_EaglerAdapterImpl2$BufferArrayGL; var$4.$obj3 = nlea_EaglerAdapterImpl2_webgl.createVertexArray(); var$4.$isQuadBufferBound = 0; $f.$glarray = var$4; $f = nleg_EaglerAdapterGL30_compilingDisplayList; var$4 = new nlea_EaglerAdapterImpl2$BufferGL; var$4.$obj2 = nlea_EaglerAdapterImpl2_webgl.createBuffer(); $f.$glbuffer = var$4; $f = nleg_FixedFunctionShader_instance(nleg_EaglerAdapterGL30_compilingDisplayList.$shaderMode); var$6 = nleg_EaglerAdapterGL30_compilingDisplayList.$glarray; if (nleg_EaglerAdapterGL30_currentArray !== var$6) { nleg_EaglerAdapterGL30_currentArray = var$6; nlea_EaglerAdapterImpl2_webgl.bindVertexArray(var$6 !== null ? var$6.$obj3 : null); } var$4 = nleg_EaglerAdapterGL30_compilingDisplayList.$glbuffer; nlea_EaglerAdapterImpl2_webgl.bindBuffer(34962, var$4 !== null ? var$4.$obj2 : null); nleg_FixedFunctionShader_setupArrayForProgram($f); } $f = nleg_EaglerAdapterGL30_compilingDisplayList.$glbuffer; nlea_EaglerAdapterImpl2_webgl.bindBuffer(34962, $f !== null ? $f.$obj2 : null); nlea_EaglerAdapterImpl2_webgl.bufferData(34962, $upload === null ? null : $upload[$rt_jso_marker] === true ? $upload : $upload.$js, 35044); nleg_EaglerAdapterGL30_bytesUploaded = nleg_EaglerAdapterGL30_bytesUploaded + var$3 | 0; } } }, nleg_EaglerAdapterGL30_glTexGen = ($p1, $p2, $p3) => { let $vec, var$5, var$6; nleg_EaglerAdapterGL30_$callClinit(); $vec = nleg_EaglerAdapterGL30_tmpTexGenPlane; var$5 = $p3.$position0; if (var$5 >= $p3.$limit0) { $p3 = new jn_BufferUnderflowException; $p3.$suppressionEnabled = 1; $p3.$writableStackTrace = 1; $rt_throw($p3); } $p3.$position0 = var$5 + 1 | 0; $vec.$x1 = $p3.$getElement(var$5); var$5 = $p3.$position0; if (var$5 >= $p3.$limit0) { $p3 = new jn_BufferUnderflowException; $p3.$suppressionEnabled = 1; $p3.$writableStackTrace = 1; $rt_throw($p3); } $p3.$position0 = var$5 + 1 | 0; $vec.$y1 = $p3.$getElement(var$5); var$5 = $p3.$position0; if (var$5 >= $p3.$limit0) { $p3 = new jn_BufferUnderflowException; $p3.$suppressionEnabled = 1; $p3.$writableStackTrace = 1; $rt_throw($p3); } $p3.$position0 = var$5 + 1 | 0; $vec.$z2 = $p3.$getElement(var$5); var$5 = $p3.$position0; if (var$5 >= $p3.$limit0) { $p3 = new jn_BufferUnderflowException; $p3.$suppressionEnabled = 1; $p3.$writableStackTrace = 1; $rt_throw($p3); } $p3.$position0 = var$5 + 1 | 0; $vec.$w = $p3.$getElement(var$5); var$6 = $rt_compare($p2, 9474); if (!var$6) { $p3 = nleg_EaglerAdapterGL30_tmpMat; $p3 = nlegv_Matrix4f_load(nleg_EaglerAdapterGL30_matModelV.data[nleg_EaglerAdapterGL30_matModelPointer], $p3); $p3 = nlegv_Matrix4f_invert($p3, $p3); nlegv_Matrix4f_transpose($p3, $p3); nlegv_Matrix4f_transform(nleg_EaglerAdapterGL30_tmpMat, $vec, $vec); } a: { switch ($p1) { case 8192: break; case 8193: nleg_EaglerAdapterGL30_texPlaneSerial = nleg_EaglerAdapterGL30_texPlaneSerial + 1 | 0; nleg_EaglerAdapterGL30_texTSerial = nleg_EaglerAdapterGL30_texTSerial + 1 | 0; nleg_EaglerAdapterGL30_texT_plane = var$6 ? 0 : 1; nleg_EaglerAdapterGL30_texT_X = $vec.$x1; nleg_EaglerAdapterGL30_texT_Y = $vec.$y1; nleg_EaglerAdapterGL30_texT_Z = $vec.$z2; nleg_EaglerAdapterGL30_texT_W = $vec.$w; break a; case 8194: nleg_EaglerAdapterGL30_texPlaneSerial = nleg_EaglerAdapterGL30_texPlaneSerial + 1 | 0; nleg_EaglerAdapterGL30_texRSerial = nleg_EaglerAdapterGL30_texRSerial + 1 | 0; nleg_EaglerAdapterGL30_texR_plane = var$6 ? 0 : 1; nleg_EaglerAdapterGL30_texR_X = $vec.$x1; nleg_EaglerAdapterGL30_texR_Y = $vec.$y1; nleg_EaglerAdapterGL30_texR_Z = $vec.$z2; nleg_EaglerAdapterGL30_texR_W = $vec.$w; break a; case 8195: nleg_EaglerAdapterGL30_texPlaneSerial = nleg_EaglerAdapterGL30_texPlaneSerial + 1 | 0; nleg_EaglerAdapterGL30_texQSerial = nleg_EaglerAdapterGL30_texQSerial + 1 | 0; nleg_EaglerAdapterGL30_texQ_plane = var$6 ? 0 : 1; nleg_EaglerAdapterGL30_texQ_X = $vec.$x1; nleg_EaglerAdapterGL30_texQ_Y = $vec.$y1; nleg_EaglerAdapterGL30_texQ_Z = $vec.$z2; nleg_EaglerAdapterGL30_texQ_W = $vec.$w; break a; default: break a; } nleg_EaglerAdapterGL30_texPlaneSerial = nleg_EaglerAdapterGL30_texPlaneSerial + 1 | 0; nleg_EaglerAdapterGL30_texSSerial = nleg_EaglerAdapterGL30_texSSerial + 1 | 0; nleg_EaglerAdapterGL30_texS_plane = var$6 ? 0 : 1; nleg_EaglerAdapterGL30_texS_X = $vec.$x1; nleg_EaglerAdapterGL30_texS_Y = $vec.$y1; nleg_EaglerAdapterGL30_texS_Z = $vec.$z2; nleg_EaglerAdapterGL30_texS_W = $vec.$w; } }, nleg_EaglerAdapterGL30_glTexImage2D = ($p1, $p2, $p3, $p4, $p5, $p6, $p7, $p8, $p9) => { let var$10; nleg_EaglerAdapterGL30_$callClinit(); if (!$p2 && !nleg_EaglerAdapterGL30_selectedTex) { var$10 = nleg_EaglerAdapterGL30_boundTexture0; if (var$10 !== null) { var$10.$w1 = $p4; var$10.$h0 = $p5; } } nleg_EaglerAdapterGL30_bytesUploaded = nleg_EaglerAdapterGL30_bytesUploaded + (($p9.$limit0 - $p9.$position0 | 0) * 4 | 0) | 0; nlea_EaglerAdapterImpl2_$callClinit(); var$10 = nlea_EaglerAdapterImpl2_webgl; $p9 = nleat_BufferConverter_convertIntBufferUnsigned($p9); var$10.texImage2D(3553, $p2, 32856, $p4, $p5, $p6, 6408, 5121, $p9); nleg_EaglerAdapterGL30_updateAnisotropicPatch(); }, nleg_EaglerAdapterGL30_glTexImage2D_2 = ($p1, $p2, $p3, $p4, $p5, $p6, $p7, $p8, $p9) => { let var$10; nleg_EaglerAdapterGL30_$callClinit(); if (!$p2 && !nleg_EaglerAdapterGL30_selectedTex) { var$10 = nleg_EaglerAdapterGL30_boundTexture0; if (var$10 !== null) { var$10.$w1 = $p4; var$10.$h0 = $p5; } } nleg_EaglerAdapterGL30_bytesUploaded = nleg_EaglerAdapterGL30_bytesUploaded + (($p9.$limit0 - $p9.$position0 | 0) * 4 | 0) | 0; nlea_EaglerAdapterImpl2_$callClinit(); var$10 = nlea_EaglerAdapterImpl2_webgl; $p9 = nleat_BufferConverter_convertIntBufferUnsigned($p9); var$10.texImage2D(3553, $p2, 32849, $p4, $p5, $p6, 6407, 5121, $p9); nleg_EaglerAdapterGL30_updateAnisotropicPatch(); }, nleg_EaglerAdapterGL30_getShaderModeFlag0 = () => { nleg_EaglerAdapterGL30_$callClinit(); return 0 | (!nleg_EaglerAdapterGL30_enableColorArray ? 0 : 1) | (!nleg_EaglerAdapterGL30_enableNormalArray ? 0 : 2) | (!nleg_EaglerAdapterGL30_enableTex0Array ? 0 : 4) | (!nleg_EaglerAdapterGL30_enableTex1Array ? 0 : 8); }, nleg_EaglerAdapterGL30_getShaderModeFlag1 = () => { let $mode, var$2, var$3; nleg_EaglerAdapterGL30_$callClinit(); $mode = 0 | (!nleg_EaglerAdapterGL30_enableTexGen ? 0 : 16) | (nleg_EaglerAdapterGL30_enableColorMaterial && nleg_EaglerAdapterGL30_enableLighting ? 32 : 0) | (!nleg_EaglerAdapterGL30_fogEnabled ? 0 : 64) | (!nleg_EaglerAdapterGL30_enableAlphaTest ? 0 : 128); var$2 = nleg_EaglerAdapterGL30_enableTexture2D; $mode = $mode | (!var$2 ? 0 : 256); var$3 = !nleg_EaglerAdapterGL30_enableTexture2D_1 ? 0 : 512; a: { b: { $mode = $mode | var$3; if (var$2) { if (nleg_EaglerAdapterGL30_enableAnisotropicFix) break b; if (nleg_EaglerAdapterGL30_hintAnisotropicPatch && nleg_EaglerAdapterGL30_enableAnisotropicPatch) break b; } var$2 = 0; break a; } var$2 = 1024; } return $mode | var$2 | (!nleg_EaglerAdapterGL30_swapRB ? 0 : 2048); }, nleg_EaglerAdapterGL30_getShaderModeFlag = () => { let $mode, var$2, var$3; nleg_EaglerAdapterGL30_$callClinit(); $mode = 0 | (!nleg_EaglerAdapterGL30_enableColorArray ? 0 : 1) | (!nleg_EaglerAdapterGL30_enableNormalArray ? 0 : 2) | (!nleg_EaglerAdapterGL30_enableTex0Array ? 0 : 4) | (!nleg_EaglerAdapterGL30_enableTex1Array ? 0 : 8) | (!nleg_EaglerAdapterGL30_enableTexGen ? 0 : 16) | (nleg_EaglerAdapterGL30_enableColorMaterial && nleg_EaglerAdapterGL30_enableLighting ? 32 : 0) | (!nleg_EaglerAdapterGL30_fogEnabled ? 0 : 64) | (!nleg_EaglerAdapterGL30_enableAlphaTest ? 0 : 128); var$2 = nleg_EaglerAdapterGL30_enableTexture2D; $mode = $mode | (!var$2 ? 0 : 256); var$3 = !nleg_EaglerAdapterGL30_enableTexture2D_1 ? 0 : 512; a: { b: { $mode = $mode | var$3; if (var$2) { if (nleg_EaglerAdapterGL30_enableAnisotropicFix) break b; if (nleg_EaglerAdapterGL30_hintAnisotropicPatch && nleg_EaglerAdapterGL30_enableAnisotropicPatch) break b; } var$2 = 0; break a; } var$2 = 1024; } return $mode | var$2 | (!nleg_EaglerAdapterGL30_swapRB ? 0 : 2048); }, nleg_EaglerAdapterGL30_glDrawArrays = ($p1, $p2, $p3, $buffer) => { let $sb, var$6, var$7, var$8, var$9, var$10, var$11; nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if ($p1 != 7) { if (jl_System_errCache === null) { $buffer = new otcic_JSStderrPrintStream; $sb = new ji_ByteArrayOutputStream; $sb.$buf = $rt_createByteArray(32); $buffer.$out0 = $sb; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); $buffer.$sb = $sb; $buffer.$buffer0 = $rt_createCharArray(32); $buffer.$autoFlush = 0; $buffer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $buffer; } $rt_putStderr("only GL_QUADS supported in a display list"); $rt_putStderr("\n"); } else { $sb = nleg_EaglerAdapterGL30_compilingDisplayList; $p1 = $sb.$shaderMode; if ($p1 == (-1)) $sb.$shaderMode = nleg_EaglerAdapterGL30_getShaderModeFlag0(); else if ($p1 != nleg_EaglerAdapterGL30_getShaderModeFlag0()) { if (jl_System_errCache === null) { $sb = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); $sb.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); $sb.$sb = var$6; $sb.$buffer0 = $rt_createCharArray(32); $sb.$autoFlush = 0; $sb.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sb; } $rt_putStderr("vertex format inconsistent in display list"); $rt_putStderr("\n"); } $sb = nleg_EaglerAdapterGL30_compilingDisplayList; $sb.$listLength = $sb.$listLength + $p3 | 0; nlea_EaglerAdapterImpl2__wAppendLowLevelBuffer($buffer); } } else { nlea_EaglerAdapterImpl2_$callClinit(); otji_JSWrapper_$callClinit(); var$7 = ($buffer === null ? null : $buffer[$rt_jso_marker] === true ? $buffer : $buffer.$js).byteLength; nleg_EaglerAdapterGL30_bytesUploaded = nleg_EaglerAdapterGL30_bytesUploaded + var$7 | 0; nleg_EaglerAdapterGL30_vertexDrawn = nleg_EaglerAdapterGL30_vertexDrawn + $p3 | 0; var$8 = nleg_FixedFunctionShader_instance(nleg_EaglerAdapterGL30_getShaderModeFlag()); nleg_EaglerAdapterGL30_shader = var$8; var$6 = var$8.$globject; if (var$6 !== null) { var$9 = nlea_EaglerAdapterImpl2_currentProgram; var$10 = var$6.$hashcode; if (var$9 != var$10) { nlea_EaglerAdapterImpl2_currentProgram = var$10; nlea_EaglerAdapterImpl2_webgl.useProgram(var$6.$obj); } } nleg_FixedFunctionShader_update(var$8); $sb = nleg_StreamBuffer_getBuffer(nleg_EaglerAdapterGL30_shader.$streamBuffer, var$7); var$11 = $sb.$vertexArray; if (nleg_EaglerAdapterGL30_currentArray !== var$11) { nleg_EaglerAdapterGL30_currentArray = var$11; nlea_EaglerAdapterImpl2_webgl.bindVertexArray(var$11 !== null ? var$11.$obj3 : null); } var$6 = $sb.$poolInstance.$vertexBuffer; nlea_EaglerAdapterImpl2_webgl.bindBuffer(34962, var$6 !== null ? var$6.$obj2 : null); $sb = nleg_EaglerAdapterGL30_shader; if (!$sb.$bufferIsInitialized) { $sb.$bufferIsInitialized = 1; $sb = nleg_EaglerAdapterGL30_blankUploadArray; nlea_EaglerAdapterImpl2_webgl.bufferData(34962, $sb === null ? null : $sb[$rt_jso_marker] === true ? $sb : $sb.$js, 35048); } nlea_EaglerAdapterImpl2_webgl.bufferSubData(34962, 0, $buffer === null ? null : $buffer[$rt_jso_marker] === true ? $buffer : $buffer.$js); if ($p1 == 7) { nleg_EaglerAdapterGL30__wglDrawQuadArrays($p2, $p3); nleg_EaglerAdapterGL30_triangleDrawn = nleg_EaglerAdapterGL30_triangleDrawn + ($p3 / 2 | 0) | 0; } else { a: { b: { switch ($p1) { case 1: break; case 2: case 4: break b; case 3: nleg_EaglerAdapterGL30_triangleDrawn = nleg_EaglerAdapterGL30_triangleDrawn + ($p3 - 1 | 0) | 0; break a; case 5: nleg_EaglerAdapterGL30_triangleDrawn = nleg_EaglerAdapterGL30_triangleDrawn + ($p3 - 2 | 0) | 0; break a; case 6: nleg_EaglerAdapterGL30_triangleDrawn = nleg_EaglerAdapterGL30_triangleDrawn + ($p3 - 2 | 0) | 0; break a; default: break b; } nleg_EaglerAdapterGL30_triangleDrawn = nleg_EaglerAdapterGL30_triangleDrawn + ($p3 / 2 | 0) | 0; break a; } nleg_EaglerAdapterGL30_triangleDrawn = nleg_EaglerAdapterGL30_triangleDrawn + ($p3 / 3 | 0) | 0; } nlea_EaglerAdapterImpl2_webgl.drawArrays($p1, $p2, $p3); } } }, nleg_EaglerAdapterGL30__wglDrawQuadArrays = ($p2, $p3) => { let var$3, $v1, $upload, $v3, var$7, $i, $v2, $v4, var$11; nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_quadsToTrianglesBuffer === null) { if (nleg_EaglerAdapterGL30_isWebGL) { var$3 = $rt_createIntArray(49200); $v1 = var$3.data.length; $upload = new jn_IntBufferOverArray; $v3 = 0 + $v1 | 0; $upload.$mark = (-1); $upload.$capacity = $v1; $upload.$limit0 = $v1; $upload.$position0 = 0; $upload.$limit0 = $v3; $upload.$start3 = 0; $upload.$readOnly3 = 0; $upload.$array4 = var$3; } else { var$7 = new jn_ByteBufferImpl; var$3 = $rt_createByteArray(196800); var$7.$mark = (-1); var$7.$capacity = 196800; var$7.$limit0 = 196800; var$7.$order = jn_ByteOrder_BIG_ENDIAN; var$7.$start = 0; var$7.$array0 = var$3; var$7.$position0 = 0; var$7.$limit0 = 196800; var$7.$direct = 1; var$7.$readOnly0 = 0; var$7.$order = jn_ByteOrder_nativeOrder(); $upload = jn_ByteBufferImpl_asIntBuffer(var$7); } $i = 0; while ($i < 16384) { $v1 = $i * 4 | 0; $v2 = $v1 + 1 | 0; $v3 = $v1 + 2 | 0; $v4 = $v1 + 3 | 0; $v2 = $v2 << 16; jn_IntBufferImpl_put($upload, $v1 | $v2); jn_IntBufferImpl_put($upload, $v4 | $v2); jn_IntBufferImpl_put($upload, $v3 | $v4 << 16); $i = $i + 1 | 0; } $upload.$limit0 = $upload.$position0; $upload.$position0 = 0; $upload.$mark = (-1); nlea_EaglerAdapterImpl2_$callClinit(); var$7 = new nlea_EaglerAdapterImpl2$BufferGL; var$11 = nlea_EaglerAdapterImpl2_webgl.createBuffer(); var$7.$obj2 = var$11; nleg_EaglerAdapterGL30_quadsToTrianglesBuffer = var$7; nlea_EaglerAdapterImpl2_webgl.bindBuffer(34963, var$11); nlea_EaglerAdapterImpl2_webgl.bufferData(34963, nleat_BufferConverter_convertIntBufferUnsigned($upload), 35044); } $upload = nleg_EaglerAdapterGL30_currentArray; if (!$upload.$isQuadBufferBound) { $upload.$isQuadBufferBound = 1; $upload = nleg_EaglerAdapterGL30_quadsToTrianglesBuffer; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.bindBuffer(34963, $upload !== null ? $upload.$obj2 : null); } $i = ($p3 * 6 | 0) / 4 | 0; $p2 = ($p2 * 6 | 0) / 4 | 0; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.drawElements(4, $i, 5123, $p2); }, nleg_EaglerAdapterGL30_initializeOcclusionObjects = () => { let $upload, $verts, var$3, var$4, $src, $i, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $$je; nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $upload = new nlea_EaglerAdapterImpl2$BufferArrayGL; $upload.$obj3 = nlea_EaglerAdapterImpl2_webgl.createVertexArray(); $upload.$isQuadBufferBound = 0; nleg_EaglerAdapterGL30_occlusion_vao = $upload; $upload = new nlea_EaglerAdapterImpl2$BufferGL; $upload.$obj2 = nlea_EaglerAdapterImpl2_webgl.createBuffer(); nleg_EaglerAdapterGL30_occlusion_vbo = $upload; if (nleg_EaglerAdapterGL30_isWebGL) { $verts = $rt_createIntArray(108); var$3 = $verts.data.length; $upload = new jn_IntBufferOverArray; var$4 = 0 + var$3 | 0; $upload.$mark = (-1); $upload.$capacity = var$3; $upload.$limit0 = var$3; $upload.$position0 = 0; $upload.$limit0 = var$4; $upload.$start3 = 0; $upload.$readOnly3 = 0; $upload.$array4 = $verts; } else { $src = new jn_ByteBufferImpl; $verts = $rt_createByteArray(432); $src.$mark = (-1); $src.$capacity = 432; $src.$limit0 = 432; $src.$order = jn_ByteOrder_BIG_ENDIAN; $src.$start = 0; $src.$array0 = $verts; $src.$position0 = 0; $src.$limit0 = 432; $src.$direct = 1; $src.$readOnly0 = 0; $src.$order = jn_ByteOrder_nativeOrder(); $upload = jn_ByteBufferImpl_asIntBuffer($src); } $verts = $rt_createFloatArray(108).data; $verts[0] = 0.0; $verts[1] = 0.0; $verts[2] = 0.0; $verts[3] = 0.0; $verts[4] = 0.0; $verts[5] = 1.0; $verts[6] = 0.0; $verts[7] = 1.0; $verts[8] = 1.0; $verts[9] = 1.0; $verts[10] = 1.0; $verts[11] = 0.0; $verts[12] = 0.0; $verts[13] = 0.0; $verts[14] = 0.0; $verts[15] = 0.0; $verts[16] = 1.0; $verts[17] = 0.0; $verts[18] = 1.0; $verts[19] = 0.0; $verts[20] = 1.0; $verts[21] = 0.0; $verts[22] = 0.0; $verts[23] = 0.0; $verts[24] = 1.0; $verts[25] = 0.0; $verts[26] = 0.0; $verts[27] = 1.0; $verts[28] = 1.0; $verts[29] = 0.0; $verts[30] = 1.0; $verts[31] = 0.0; $verts[32] = 0.0; $verts[33] = 0.0; $verts[34] = 0.0; $verts[35] = 0.0; $verts[36] = 0.0; $verts[37] = 0.0; $verts[38] = 0.0; $verts[39] = 0.0; $verts[40] = 1.0; $verts[41] = 1.0; $verts[42] = 0.0; $verts[43] = 1.0; $verts[44] = 0.0; $verts[45] = 1.0; $verts[46] = 0.0; $verts[47] = 1.0; $verts[48] = 0.0; $verts[49] = 0.0; $verts[50] = 1.0; $verts[51] = 0.0; $verts[52] = 0.0; $verts[53] = 0.0; $verts[54] = 0.0; $verts[55] = 1.0; $verts[56] = 1.0; $verts[57] = 0.0; $verts[58] = 0.0; $verts[59] = 1.0; $verts[60] = 1.0; $verts[61] = 0.0; $verts[62] = 1.0; $verts[63] = 1.0; $verts[64] = 1.0; $verts[65] = 1.0; $verts[66] = 1.0; $verts[67] = 0.0; $verts[68] = 0.0; $verts[69] = 1.0; $verts[70] = 1.0; $verts[71] = 0.0; $verts[72] = 1.0; $verts[73] = 0.0; $verts[74] = 0.0; $verts[75] = 1.0; $verts[76] = 1.0; $verts[77] = 1.0; $verts[78] = 1.0; $verts[79] = 0.0; $verts[80] = 1.0; $verts[81] = 1.0; $verts[82] = 1.0; $verts[83] = 1.0; $verts[84] = 1.0; $verts[85] = 1.0; $verts[86] = 0.0; $verts[87] = 0.0; $verts[88] = 1.0; $verts[89] = 0.0; $verts[90] = 1.0; $verts[91] = 1.0; $verts[92] = 1.0; $verts[93] = 0.0; $verts[94] = 1.0; $verts[95] = 0.0; $verts[96] = 0.0; $verts[97] = 1.0; $verts[98] = 1.0; $verts[99] = 1.0; $verts[100] = 1.0; $verts[101] = 1.0; $verts[102] = 0.0; $verts[103] = 1.0; $verts[104] = 1.0; $verts[105] = 1.0; $verts[106] = 0.0; $verts[107] = 1.0; $i = 0; while ($i < $verts.length) { jn_IntBufferImpl_put($upload, $rt_floatToRawIntBits($verts[$i])); $i = $i + 1 | 0; } $upload.$limit0 = $upload.$position0; $upload.$position0 = 0; $upload.$mark = (-1); $src = nleg_EaglerAdapterGL30_occlusion_vao; nlea_EaglerAdapterImpl2_webgl.bindVertexArray($src !== null ? $src.$obj3 : null); $src = nleg_EaglerAdapterGL30_occlusion_vbo; nlea_EaglerAdapterImpl2_webgl.bindBuffer(34962, $src !== null ? $src.$obj2 : null); nlea_EaglerAdapterImpl2_webgl.bufferData(34962, nleat_BufferConverter_convertIntBufferUnsigned($upload), 35044); nlea_EaglerAdapterImpl2_webgl.enableVertexAttribArray(0); nlea_EaglerAdapterImpl2_webgl.vertexAttribPointer(0, 3, 5126, !!0, 12, 0); var$7 = nlea_EaglerAdapterImpl2_webgl.createShader(35633); var$8 = nlea_EaglerAdapterImpl2_webgl.createShader(35632); $upload = $rt_s(594); if ($upload === $rt_s(192) ? 1 : jl_String_startsWith($upload, $rt_s(192), 0)) $upload = jl_String_substring($upload, 1, $upload.$nativeString.length); $src = nle_AssetRepository_filePool; if ($upload === null) { $src = $src.$elementData.data[0]; while ($src !== null && $src.$key !== null) { $src = $src.$next3; } } else { a: { if (!$upload.$hashCode1) { $i = 0; while (true) { if ($i >= $upload.$nativeString.length) break a; $upload.$hashCode1 = (31 * $upload.$hashCode1 | 0) + $upload.$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } var$9 = $upload.$hashCode1; $verts = $src.$elementData.data; $src = $verts[var$9 & ($verts.length - 1 | 0)]; while ($src !== null) { if ($src.$origKeyHash == var$9) { b: { var$10 = $src.$key; if ($upload !== var$10) { if ($upload !== var$10) { if (var$10 instanceof jl_String) { var$10 = var$10; $i = $upload.$nativeString !== var$10.$nativeString ? 0 : 1; } else $i = 0; } else $i = 1; if (!$i) { $i = 0; break b; } } $i = 1; } if ($i) break; } $src = $src.$next3; } } var$11 = $src === null ? null : $src.$value1; if (var$11 === null) $src = null; else { $src = new jl_String; jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$10 = jnc_Charset$Charsets_value; var$12 = $rt_s(86).$nativeString.toUpperCase(); var$13 = var$12 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$12); c: { if (!var$13.$hashCode1) { $i = 0; while (true) { if ($i >= var$13.$nativeString.length) break c; var$13.$hashCode1 = (31 * var$13.$hashCode1 | 0) + var$13.$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } var$9 = var$13.$hashCode1; $verts = var$10.$elementData.data; var$10 = $verts[var$9 & ($verts.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$9) { d: { var$12 = var$10.$key; if (var$13 !== var$12) { if (var$13 === var$12) $i = 1; else if (!(var$12 instanceof jl_String)) $i = 0; else { var$12 = var$12; $i = var$13.$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$i) { $i = 0; break d; } } $i = 1; } if ($i) break; } var$10 = var$10.$next3; } var$10 = var$10 === null ? null : var$10.$value1; if (var$10 === null) { $src = new jnc_UnsupportedCharsetException; $src.$suppressionEnabled = 1; $src.$writableStackTrace = 1; $src.$charsetName = $rt_s(86); $rt_throw($src); } var$3 = var$11.data.length; if (var$3 >= 0 && var$3 <= (var$3 - 0 | 0)) { var$12 = new jn_ByteBufferImpl; var$14 = 0 + var$3 | 0; var$12.$mark = (-1); var$12.$capacity = var$3; var$12.$limit0 = var$3; var$12.$order = jn_ByteOrder_BIG_ENDIAN; var$12.$start = 0; var$12.$array0 = var$11; var$12.$position0 = 0; var$12.$limit0 = var$14; var$12.$direct = 0; var$12.$readOnly0 = 0; e: { try { $upload = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$10.$newDecoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$12); break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $src = $$je; } else { throw $$e; } } var$7 = new jl_AssertionError; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $rt_s(405); var$7.$cause = $src; $rt_throw(var$7); } var$9 = $upload.$position0; if (!var$9 && $upload.$limit0 == $upload.$capacity) $verts = $upload.$array1; else { $verts = $rt_createCharArray($upload.$limit0 - var$9 | 0); jn_CharBuffer_get($upload, $verts, 0, $verts.data.length); } $src.$nativeString = $rt_fullArrayToString($verts.data); } else { $upload = new jl_IndexOutOfBoundsException; $upload.$suppressionEnabled = 1; $upload.$writableStackTrace = 1; $rt_throw($upload); } } $upload = new jl_StringBuilder; $upload.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($upload, $upload.$length0, $rt_s(191)); jl_AbstractStringBuilder_insert($upload, $upload.$length0, $rt_s(595)); jl_AbstractStringBuilder_insert($upload, $upload.$length0, $src === null ? $rt_s(1) : $src); var$12 = new jl_String; $verts = $upload.$buffer; var$11 = $verts.data; var$3 = $upload.$length0; var$9 = var$11.length; if (var$3 >= 0 && var$3 <= (var$9 - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString($verts.data, 0, var$3); nlea_EaglerAdapterImpl2_webgl.shaderSource(var$7, $rt_ustr(var$12)); $upload = new jl_StringBuilder; $upload.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($upload, $upload.$length0, $rt_s(191)); jl_AbstractStringBuilder_insert($upload, $upload.$length0, $rt_s(596)); $i = $upload.$length0; if ($src === null) $src = $rt_s(1); jl_AbstractStringBuilder_insert($upload, $i, $src); var$10 = new jl_String; $verts = $upload.$buffer; var$11 = $verts.data; var$3 = $upload.$length0; var$9 = var$11.length; if (var$3 >= 0 && var$3 <= (var$9 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($verts.data, 0, var$3); nlea_EaglerAdapterImpl2_webgl.shaderSource(var$8, $rt_ustr(var$10)); nlea_EaglerAdapterImpl2_webgl.compileShader(var$7); $i = nlea_EaglerAdapterImpl2_webgl.getShaderParameter(var$7, 35713) != 1 ? 0 : 1; f: { if (!$i) { if (jl_System_errCache === null) { $upload = new otcic_JSStderrPrintStream; $src = new ji_ByteArrayOutputStream; $src.$buf = $rt_createByteArray(32); $upload.$out0 = $src; $src = new jl_StringBuilder; $src.$buffer = $rt_createCharArray(16); $upload.$sb = $src; $upload.$buffer0 = $rt_createCharArray(32); $upload.$autoFlush = 0; $upload.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $upload; } $src = $rt_str(nlea_EaglerAdapterImpl2_webgl.getShaderInfoLog(var$7)); $upload = new jl_StringBuilder; $upload.$buffer = $rt_createCharArray(16); var$3 = $upload.$length0; jl_AbstractStringBuilder_insertSpace($upload, var$3, var$3 + 1 | 0); $upload.$buffer.data[var$3] = 10; var$3 = $upload.$length0; if ($src === null) $src = $rt_s(1); jl_AbstractStringBuilder_insert($upload, var$3, $src); var$10 = new jl_String; $verts = $upload.$buffer; var$11 = $verts.data; var$9 = $upload.$length0; var$4 = var$11.length; if (var$9 >= 0 && var$9 <= (var$4 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($verts.data, 0, var$9); $upload = jl_String_replace(var$10, $rt_s(469), $rt_s(597)); $src = new jl_StringBuilder; $src.$buffer = $rt_createCharArray(16); var$3 = $src.$length0; if ($upload === null) $upload = $rt_s(1); jl_AbstractStringBuilder_insert($src, var$3, $upload); var$3 = $src.$length0; jl_AbstractStringBuilder_insertSpace($src, var$3, var$3 + 1 | 0); $verts = $src.$buffer; var$11 = $verts.data; var$11[var$3] = 10; $upload = new jl_String; var$3 = $src.$length0; var$9 = var$11.length; if (var$3 >= 0 && var$3 <= (var$9 - 0 | 0)) { $upload.$nativeString = $rt_charArrayToString($verts.data, 0, var$3); $rt_putStderr($rt_ustr($upload)); $rt_putStderr("\n"); break f; } $upload = new jl_IndexOutOfBoundsException; $upload.$suppressionEnabled = 1; $upload.$writableStackTrace = 1; $rt_throw($upload); } $upload = new jl_IndexOutOfBoundsException; $upload.$suppressionEnabled = 1; $upload.$writableStackTrace = 1; $rt_throw($upload); } } nlea_EaglerAdapterImpl2_webgl.compileShader(var$8); $i = nlea_EaglerAdapterImpl2_webgl.getShaderParameter(var$8, 35713) != 1 ? 0 : 1; g: { if (!$i) { if (jl_System_errCache === null) { $upload = new otcic_JSStderrPrintStream; $src = new ji_ByteArrayOutputStream; $src.$buf = $rt_createByteArray(32); $upload.$out0 = $src; $src = new jl_StringBuilder; $src.$buffer = $rt_createCharArray(16); $upload.$sb = $src; $upload.$buffer0 = $rt_createCharArray(32); $upload.$autoFlush = 0; $upload.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $upload; } $src = $rt_str(nlea_EaglerAdapterImpl2_webgl.getShaderInfoLog(var$8)); $upload = new jl_StringBuilder; $upload.$buffer = $rt_createCharArray(16); var$3 = $upload.$length0; jl_AbstractStringBuilder_insertSpace($upload, var$3, var$3 + 1 | 0); $upload.$buffer.data[var$3] = 10; var$3 = $upload.$length0; if ($src === null) $src = $rt_s(1); jl_AbstractStringBuilder_insert($upload, var$3, $src); var$10 = new jl_String; $verts = $upload.$buffer; var$11 = $verts.data; var$9 = $upload.$length0; var$4 = var$11.length; if (var$9 >= 0 && var$9 <= (var$4 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($verts.data, 0, var$9); $upload = jl_String_replace(var$10, $rt_s(469), $rt_s(598)); $src = new jl_StringBuilder; $src.$buffer = $rt_createCharArray(16); var$3 = $src.$length0; if ($upload === null) $upload = $rt_s(1); jl_AbstractStringBuilder_insert($src, var$3, $upload); var$3 = $src.$length0; jl_AbstractStringBuilder_insertSpace($src, var$3, var$3 + 1 | 0); $verts = $src.$buffer; var$11 = $verts.data; var$11[var$3] = 10; $upload = new jl_String; var$3 = $src.$length0; var$9 = var$11.length; if (var$3 >= 0 && var$3 <= (var$9 - 0 | 0)) { $upload.$nativeString = $rt_charArrayToString($verts.data, 0, var$3); $rt_putStderr($rt_ustr($upload)); $rt_putStderr("\n"); break g; } $upload = new jl_IndexOutOfBoundsException; $upload.$suppressionEnabled = 1; $upload.$writableStackTrace = 1; $rt_throw($upload); } $upload = new jl_IndexOutOfBoundsException; $upload.$suppressionEnabled = 1; $upload.$writableStackTrace = 1; $rt_throw($upload); } } $upload = new nlea_EaglerAdapterImpl2$ProgramGL; var$10 = nlea_EaglerAdapterImpl2_webgl.createProgram(); $upload.$obj = var$10; $i = nlea_EaglerAdapterImpl2_progId + 1 | 0; nlea_EaglerAdapterImpl2_progId = $i; $upload.$hashcode = $i; nleg_EaglerAdapterGL30_occlusion_program = $upload; nlea_EaglerAdapterImpl2_webgl.attachShader(var$10, var$7); $upload = nleg_EaglerAdapterGL30_occlusion_program; nlea_EaglerAdapterImpl2_webgl.attachShader($upload.$obj, var$8); $upload = nleg_EaglerAdapterGL30_occlusion_program; nlea_EaglerAdapterImpl2_webgl.linkProgram($upload.$obj); $upload = nleg_EaglerAdapterGL30_occlusion_program; nlea_EaglerAdapterImpl2_webgl.detachShader($upload.$obj, var$7); $upload = nleg_EaglerAdapterGL30_occlusion_program; nlea_EaglerAdapterImpl2_webgl.detachShader($upload.$obj, var$8); nlea_EaglerAdapterImpl2_webgl.deleteShader(var$7); nlea_EaglerAdapterImpl2_webgl.deleteShader(var$8); $upload = nleg_EaglerAdapterGL30_occlusion_program; if (!(nlea_EaglerAdapterImpl2_webgl.getProgramParameter($upload.$obj, 35714) != 1 ? 0 : 1)) { if (jl_System_errCache === null) { $upload = new otcic_JSStderrPrintStream; $src = new ji_ByteArrayOutputStream; $src.$buf = $rt_createByteArray(32); $upload.$out0 = $src; $src = new jl_StringBuilder; $src.$buffer = $rt_createCharArray(16); $upload.$sb = $src; $upload.$buffer0 = $rt_createCharArray(32); $upload.$autoFlush = 0; $upload.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $upload; } $upload = nleg_EaglerAdapterGL30_occlusion_program; var$7 = $rt_str(nlea_EaglerAdapterImpl2_webgl.getProgramInfoLog($upload.$obj)); $upload = new jl_StringBuilder; $upload.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($upload, $upload.$length0, $rt_s(17)); $i = $upload.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert($upload, $i, var$7); var$7 = new jl_String; $verts = $upload.$buffer; var$11 = $verts.data; var$3 = $upload.$length0; var$9 = var$11.length; if (var$3 >= 0 && var$3 <= (var$9 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString($verts.data, 0, var$3); $upload = jl_String_replace(var$7, $rt_s(469), $rt_s(599)); if ($upload === null) $upload = $rt_s(1); $rt_putStderr($rt_ustr($upload)); $rt_putStderr("\n"); } else { $upload = new jl_IndexOutOfBoundsException; $upload.$suppressionEnabled = 1; $upload.$writableStackTrace = 1; $rt_throw($upload); } } $upload = nleg_EaglerAdapterGL30_occlusion_program; if ($upload !== null) { $i = nlea_EaglerAdapterImpl2_currentProgram; var$3 = $upload.$hashcode; if ($i != var$3) { nlea_EaglerAdapterImpl2_currentProgram = var$3; nlea_EaglerAdapterImpl2_webgl.useProgram($upload.$obj); } } $upload = nleg_EaglerAdapterGL30_occlusion_program; $src = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($upload.$obj, "matrix_m"); if ($src === null) $upload = null; else { $upload = new nlea_EaglerAdapterImpl2$UniformGL; $upload.$obj0 = $src; } nleg_EaglerAdapterGL30_occlusion_matrix_m = $upload; $upload = nleg_EaglerAdapterGL30_occlusion_program; $src = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($upload.$obj, "matrix_p"); if ($src === null) $upload = null; else { $upload = new nlea_EaglerAdapterImpl2$UniformGL; $upload.$obj0 = $src; } nleg_EaglerAdapterGL30_occlusion_matrix_p = $upload; return; } $upload = new jl_IndexOutOfBoundsException; $upload.$suppressionEnabled = 1; $upload.$writableStackTrace = 1; $rt_throw($upload); } $upload = new jl_IndexOutOfBoundsException; $upload.$suppressionEnabled = 1; $upload.$writableStackTrace = 1; $rt_throw($upload); }, nleg_EaglerAdapterGL30_glBindOcclusionBB = () => { let var$1, var$2, var$3, var$4, var$5; nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_occlusion_vao === null) nleg_EaglerAdapterGL30_initializeOcclusionObjects(); var$1 = nleg_EaglerAdapterGL30_occlusion_program; nlea_EaglerAdapterImpl2_$callClinit(); if (var$1 !== null) { var$2 = nlea_EaglerAdapterImpl2_currentProgram; var$3 = var$1.$hashcode; if (var$2 != var$3) { nlea_EaglerAdapterImpl2_currentProgram = var$3; nlea_EaglerAdapterImpl2_webgl.useProgram(var$1.$obj); } } var$1 = nleg_EaglerAdapterGL30_occlusion_vao; if (nleg_EaglerAdapterGL30_currentArray !== var$1) { nleg_EaglerAdapterGL30_currentArray = var$1; nlea_EaglerAdapterImpl2_webgl.bindVertexArray(var$1 !== null ? var$1.$obj3 : null); } var$1 = nleg_EaglerAdapterGL30_cachedOcclusionP; var$4 = nleg_EaglerAdapterGL30_matProjV.data[nleg_EaglerAdapterGL30_matProjPointer]; if (!(var$4 instanceof nlegv_Matrix4f && nlegv_Matrix4f_equal(var$1, var$4) ? 1 : 0)) { var$1 = nleg_EaglerAdapterGL30_cachedOcclusionP; nlegv_Matrix4f_load(nleg_EaglerAdapterGL30_matProjV.data[nleg_EaglerAdapterGL30_matProjPointer], var$1); nlegv_Matrix4f_store0(nleg_EaglerAdapterGL30_cachedOcclusionP, nleg_EaglerAdapterGL30_occlusionProj); var$1 = nleg_EaglerAdapterGL30_occlusion_matrix_p; var$5 = nleg_EaglerAdapterGL30_occlusionProj; if (var$1 !== null) nlea_EaglerAdapterImpl2_webgl.uniformMatrix4fv(var$1.$obj0, !!0, var$5.data); } }, nleg_EaglerAdapterGL30_glDrawOcclusionBB = ($posX, $posY, $posZ, $sizeX, $sizeY, $sizeZ) => { let var$7, var$8, var$9, var$10; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_glPushMatrix(); var$7 = $posX - $sizeX * 0.009999999776482582; $posY = $posY - $sizeY * 0.009999999776482582; $posX = $posZ - $sizeZ * 0.009999999776482582; var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = var$7; var$8.$y = $posY; var$8.$z = $posX; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); var$8.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$8.$sb = var$9; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $posX = $sizeX * 1.0199999809265137; $posY = $sizeY * 1.0199999809265137; $posZ = $sizeZ * 1.0199999809265137; var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = $posX; var$8.$y = $posY; var$8.$z = $posZ; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); var$8.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$8.$sb = var$9; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nlegv_Matrix4f_store0(nleg_EaglerAdapterGL30_matModelV.data[nleg_EaglerAdapterGL30_matModelPointer], nleg_EaglerAdapterGL30_occlusionModel); var$8 = nleg_EaglerAdapterGL30_occlusion_matrix_m; var$10 = nleg_EaglerAdapterGL30_occlusionModel; nlea_EaglerAdapterImpl2_$callClinit(); if (var$8 !== null) nlea_EaglerAdapterImpl2_webgl.uniformMatrix4fv(var$8.$obj0, !!0, var$10.data); nlea_EaglerAdapterImpl2_webgl.drawArrays(4, 0, 36); nleg_EaglerAdapterGL30_glPopMatrix(); }, nleg_EaglerAdapterGL30_glActiveTexture = $p1 => { let var$2, var$3; nleg_EaglerAdapterGL30_$callClinit(); a: { b: { c: { switch ($p1) { case 33984: break; case 33985: break c; default: break b; } if (!nleg_EaglerAdapterGL30_selectedTex) break a; nleg_EaglerAdapterGL30_selectedTex = 0; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.activeTexture(33984); break a; } if (nleg_EaglerAdapterGL30_selectedTex == 1) break a; nleg_EaglerAdapterGL30_selectedTex = 1; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.activeTexture(33985); break a; } if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); } }, nleg_EaglerAdapterGL30_gluUnProject = ($p1, $p2, $p3, $p4, $p5, $p6, $p7) => { nleg_EaglerAdapterGL30_$callClinit(); $p6 = $p6.data; nlegv_Matrix4f_load0(nleg_EaglerAdapterGL30_unprojA, $p4); nlegv_Matrix4f_load0(nleg_EaglerAdapterGL30_unprojB, $p5); $p4 = nleg_EaglerAdapterGL30_unprojA; $p5 = nleg_EaglerAdapterGL30_unprojB; nlegv_Matrix4f_mul($p4, $p5, $p5); $p4 = nleg_EaglerAdapterGL30_unprojB; nlegv_Matrix4f_invert($p4, $p4); $p5 = nleg_EaglerAdapterGL30_unprojC; $p1 = ($p1 - $p6[0]) / $p6[2] * 2.0 - 1.0; $p2 = ($p2 - $p6[1]) / $p6[3] * 2.0 - 1.0; $p5.$x1 = $p1; $p5.$y1 = $p2; $p5.$z2 = $p3; $p5.$w = 1.0; nlegv_Matrix4f_transform(nleg_EaglerAdapterGL30_unprojB, $p5, $p5); $p4 = nleg_EaglerAdapterGL30_unprojC; jn_FloatBufferImpl_put($p7, $p4.$x1 / $p4.$w); $p4 = nleg_EaglerAdapterGL30_unprojC; jn_FloatBufferImpl_put($p7, $p4.$y1 / $p4.$w); $p4 = nleg_EaglerAdapterGL30_unprojC; jn_FloatBufferImpl_put($p7, $p4.$z2 / $p4.$w); }, nleg_EaglerAdapterGL30_gluPerspective = ($fovy, $aspect, $zNear, $zFar) => { let $res, var$6, $cotangent; nleg_EaglerAdapterGL30_$callClinit(); $res = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); var$6 = $fovy * 0.01745329238474369 * 0.5; $cotangent = jl_Math_cos(var$6) / jl_Math_sin(var$6); $res.$m00 = $cotangent / $aspect; $res.$m01 = 0.0; $res.$m02 = 0.0; $res.$m03 = 0.0; $res.$m10 = 0.0; $res.$m11 = $cotangent; $res.$m12 = 0.0; $res.$m13 = 0.0; $res.$m20 = 0.0; $res.$m21 = 0.0; $fovy = $zFar + $zNear; $aspect = $zFar - $zNear; $res.$m22 = $fovy / $aspect; $res.$m23 = (-1.0); $res.$m30 = 0.0; $res.$m31 = 0.0; $res.$m32 = 2.0 * $zFar * $zNear / $aspect; $res.$m33 = 0.0; }, nleg_EaglerAdapterGL30_gluPerspectiveFlat = ($fovy, $aspect, $zNear, $zFar) => { let $res, var$6, $cotangent; nleg_EaglerAdapterGL30_$callClinit(); $res = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); var$6 = $fovy * 0.01745329238474369 * 0.5; $cotangent = jl_Math_cos(var$6) / jl_Math_sin(var$6); $res.$m00 = $cotangent / $aspect; $res.$m01 = 0.0; $res.$m02 = 0.0; $res.$m03 = 0.0; $res.$m10 = 0.0; $res.$m11 = $cotangent; $res.$m12 = 0.0; $res.$m13 = 0.0; $res.$m20 = 0.0; $res.$m21 = 0.0; $fovy = $zFar + $zNear; $aspect = $zFar - $zNear; $res.$m22 = $fovy / $aspect * 0.0010000000474974513; $res.$m23 = (-1.0); $res.$m30 = 0.0; $res.$m31 = 0.0; $res.$m32 = 2.0 * $zFar * $zNear / $aspect; $res.$m33 = 0.0; }, nleg_EaglerAdapterGL30_getBitsPerSecond = () => { nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); if (Long_gt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), nleg_EaglerAdapterGL30_lastBandwidthReset), Long_fromInt(1000))) { nleg_EaglerAdapterGL30_lastBandwidthReset = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); nleg_EaglerAdapterGL30_lastBandwidth = nleg_EaglerAdapterGL30_bytesUploaded * 8 | 0; nleg_EaglerAdapterGL30_bytesUploaded = 0; } return nleg_EaglerAdapterGL30_lastBandwidth; }, nleg_EaglerAdapterGL30_getVertexesPerSecond = () => { let $ret; nleg_EaglerAdapterGL30_$callClinit(); $ret = nleg_EaglerAdapterGL30_vertexDrawn; nleg_EaglerAdapterGL30_vertexDrawn = 0; return $ret; }, nleg_EaglerAdapterGL30_getTrianglesPerSecond = () => { let $ret; nleg_EaglerAdapterGL30_$callClinit(); $ret = nleg_EaglerAdapterGL30_triangleDrawn; nleg_EaglerAdapterGL30_triangleDrawn = 0; return $ret; }, nleg_EaglerAdapterGL30_sync = ($limitFramerate, $timerPtr) => { let $frameMillis, $millis, $remaining, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$remaining = $thread.pop();$millis = $thread.pop();$frameMillis = $thread.pop();$timerPtr = $thread.pop();$limitFramerate = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); if (!($limitFramerate > 0 && $limitFramerate <= 1000 ? 1 : 0)) $timerPtr.data[0] = Long_ZERO; else { $timerPtr = $timerPtr.data; $frameMillis = Long_div(Long_fromInt(1000), Long_fromInt($limitFramerate)); if (Long_eq($timerPtr[0], Long_ZERO)) { nlea_EaglerAdapterImpl2_$callClinit(); $timerPtr[0] = Long_add(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $frameMillis); } else { nlea_EaglerAdapterImpl2_$callClinit(); $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $remaining = Long_sub($timerPtr[0], $millis); if (Long_gt($remaining, Long_ZERO)) { if (nleg_EaglerAdapterGL30_isWebGL) { var$6 = nlea_EaglerAdapterImpl2_immediateContinueChannel; if (var$6 === null ? 0 : 1) { if (var$6 !== null) { $ptr = 3; continue main; } $limitFramerate = 0; $ptr = 2; continue main; } } $limitFramerate = Long_lo($remaining); $ptr = 1; continue main; } $frameMillis = Long_add($timerPtr[0], $frameMillis); $timerPtr[0] = $frameMillis; if (Long_lt($frameMillis, $millis)) $timerPtr[0] = $millis; } } return 0; case 1: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($limitFramerate); if ($rt_suspending()) { break main; } $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $frameMillis = Long_add($timerPtr[0], $frameMillis); $timerPtr[0] = $frameMillis; if (Long_lt($frameMillis, $millis)) $timerPtr[0] = $millis; return 1; case 2: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($limitFramerate); if ($rt_suspending()) { break main; } $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $remaining = Long_sub($timerPtr[0], $millis); if (Long_le($remaining, Long_ZERO)) { $frameMillis = Long_add($timerPtr[0], $frameMillis); $timerPtr[0] = $frameMillis; if (Long_lt($frameMillis, $millis)) $timerPtr[0] = $millis; return 1; } $limitFramerate = Long_lo($remaining); $ptr = 4; continue main; case 3: nlea_EaglerAdapterImpl2_immediateContinueTeaVM0$_asyncCall_$(); if ($rt_suspending()) { break main; } $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $remaining = Long_sub($timerPtr[0], $millis); if (Long_le($remaining, Long_ZERO)) { $frameMillis = Long_add($timerPtr[0], $frameMillis); $timerPtr[0] = $frameMillis; if (Long_lt($frameMillis, $millis)) $timerPtr[0] = $millis; return 1; } $limitFramerate = Long_lo($remaining); $ptr = 4; case 4: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($limitFramerate); if ($rt_suspending()) { break main; } $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $frameMillis = Long_add($timerPtr[0], $frameMillis); $timerPtr[0] = $frameMillis; if (Long_lt($frameMillis, $millis)) $timerPtr[0] = $millis; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($limitFramerate, $timerPtr, $frameMillis, $millis, $remaining, var$6, $ptr); }, nleg_EaglerAdapterGL30__clinit_ = () => { let var$1, $i, var$3, var$4; nlea_EaglerAdapterImpl2_$callClinit(); nleg_EaglerAdapterGL30_isWebGL = 1; var$1 = new nleg_GLObjectMap; var$1.$values = $rt_createArray(jl_Object, 256); var$1.$size4 = 256; var$1.$insertIndex = 0; var$1.$allocatedObjects = 0; nleg_EaglerAdapterGL30_texObjects = var$1; nleg_EaglerAdapterGL30_enableTexture2D = 0; nleg_EaglerAdapterGL30_enableTexture2D_1 = 0; nleg_EaglerAdapterGL30_enableLighting = 0; nleg_EaglerAdapterGL30_enableAlphaTest = 0; nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; nleg_EaglerAdapterGL30_isDepthTest = 0; nleg_EaglerAdapterGL30_currentDepthFunc = (-99999); nleg_EaglerAdapterGL30_isCullFace = 0; nleg_EaglerAdapterGL30_currentCullFace = (-99999); nleg_EaglerAdapterGL30_isPolygonOffset = 0; nleg_EaglerAdapterGL30_polygonOffset1 = (-999.9000244140625); nleg_EaglerAdapterGL30_polygonOffset2 = (-999.9000244140625); nleg_EaglerAdapterGL30_isBlend = 0; nleg_EaglerAdapterGL30_blendSRC = 0; nleg_EaglerAdapterGL30_blendDST = 0; nleg_EaglerAdapterGL30_colorMask = 15; nleg_EaglerAdapterGL30_isDepthMask = 1; nleg_EaglerAdapterGL30_isCompilingDisplayList = 0; nleg_EaglerAdapterGL30_compilingDisplayList = null; nleg_EaglerAdapterGL30_enableColorArray = 0; nleg_EaglerAdapterGL30_enableNormalArray = 0; nleg_EaglerAdapterGL30_enableTex0Array = 0; nleg_EaglerAdapterGL30_enableTex1Array = 0; nleg_EaglerAdapterGL30_enableAnisotropicFix = 0; nleg_EaglerAdapterGL30_anisotropicFixSerial = 0; nleg_EaglerAdapterGL30_anisotropicFixX = 1024.0; nleg_EaglerAdapterGL30_anisotropicFixY = 1024.0; nleg_EaglerAdapterGL30_colorSerial = 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_normalSerial = 0; nleg_EaglerAdapterGL30_normalX = 1.0; nleg_EaglerAdapterGL30_normalY = 0.0; nleg_EaglerAdapterGL30_normalZ = 0.0; nleg_EaglerAdapterGL30_selectedTex = 0; nleg_EaglerAdapterGL30_selectedClientTex = 0; nleg_EaglerAdapterGL30_boundTexI = $rt_createIntArray(2); nleg_EaglerAdapterGL30_boundTex = $rt_createArray(nlea_EaglerAdapterImpl2$TextureGL, 2); nleg_EaglerAdapterGL30_tex0Serial = 0; nleg_EaglerAdapterGL30_tex0X = 0.0; nleg_EaglerAdapterGL30_tex0Y = 0.0; nleg_EaglerAdapterGL30_tex1Serial = 0; nleg_EaglerAdapterGL30_tex1X = 0.0; nleg_EaglerAdapterGL30_tex1Y = 0.0; nleg_EaglerAdapterGL30_boundTexture0 = null; nleg_EaglerAdapterGL30_enableAnisotropicPatch = 0; nleg_EaglerAdapterGL30_hintAnisotropicPatch = 0; nleg_EaglerAdapterGL30_swapRB = 0; nleg_EaglerAdapterGL30_enableTexGen = 0; nleg_EaglerAdapterGL30_enableColorMaterial = 0; nleg_EaglerAdapterGL30_texPlaneSerial = 0; nleg_EaglerAdapterGL30_texSSerial = 0; nleg_EaglerAdapterGL30_texS_plane = 0; nleg_EaglerAdapterGL30_texS_X = 0.0; nleg_EaglerAdapterGL30_texS_Y = 0.0; nleg_EaglerAdapterGL30_texS_Z = 0.0; nleg_EaglerAdapterGL30_texS_W = 0.0; nleg_EaglerAdapterGL30_texTSerial = 0; nleg_EaglerAdapterGL30_texT_plane = 0; nleg_EaglerAdapterGL30_texT_X = 0.0; nleg_EaglerAdapterGL30_texT_Y = 0.0; nleg_EaglerAdapterGL30_texT_Z = 0.0; nleg_EaglerAdapterGL30_texT_W = 0.0; nleg_EaglerAdapterGL30_texRSerial = 0; nleg_EaglerAdapterGL30_texR_plane = 0; nleg_EaglerAdapterGL30_texR_X = 0.0; nleg_EaglerAdapterGL30_texR_Y = 0.0; nleg_EaglerAdapterGL30_texR_Z = 0.0; nleg_EaglerAdapterGL30_texR_W = 0.0; nleg_EaglerAdapterGL30_texQSerial = 0; nleg_EaglerAdapterGL30_texQ_plane = 0; nleg_EaglerAdapterGL30_texQ_X = 0.0; nleg_EaglerAdapterGL30_texQ_Y = 0.0; nleg_EaglerAdapterGL30_texQ_Z = 0.0; nleg_EaglerAdapterGL30_texQ_W = 0.0; nleg_EaglerAdapterGL30_fogColorSerial = 0; nleg_EaglerAdapterGL30_fogColorR = 1.0; nleg_EaglerAdapterGL30_fogColorG = 1.0; nleg_EaglerAdapterGL30_fogColorB = 1.0; nleg_EaglerAdapterGL30_fogColorA = 1.0; nleg_EaglerAdapterGL30_fogCfgSerial = 0; nleg_EaglerAdapterGL30_fogMode = 1; nleg_EaglerAdapterGL30_fogEnabled = 0; nleg_EaglerAdapterGL30_fogStart = 1.0; nleg_EaglerAdapterGL30_fogEnd = 1.0; nleg_EaglerAdapterGL30_fogDensity = 1.0; nleg_EaglerAdapterGL30_bytesUploaded = 0; nleg_EaglerAdapterGL30_vertexDrawn = 0; nleg_EaglerAdapterGL30_triangleDrawn = 0; nleg_EaglerAdapterGL30_matrixMode = 5888; nleg_EaglerAdapterGL30_matModelSerialCounter = 0; nleg_EaglerAdapterGL30_matModelVSerial = $rt_createIntArray(32); nleg_EaglerAdapterGL30_matModelV = $rt_createArray(nlegv_Matrix4f, 32); nleg_EaglerAdapterGL30_matModelPointer = 0; nleg_EaglerAdapterGL30_matProjSerialCounter = 0; nleg_EaglerAdapterGL30_matProjVSerial = $rt_createIntArray(6); nleg_EaglerAdapterGL30_matProjV = $rt_createArray(nlegv_Matrix4f, 6); nleg_EaglerAdapterGL30_matProjPointer = 0; nleg_EaglerAdapterGL30_matTexSerialCounter = 0; nleg_EaglerAdapterGL30_matTexVSerial = $rt_createIntArray(16); nleg_EaglerAdapterGL30_matTexV = $rt_createArray(nlegv_Matrix4f, 16); nleg_EaglerAdapterGL30_matTexPointer = 0; $i = 0; while (true) { var$3 = nleg_EaglerAdapterGL30_matModelV.data; if ($i >= var$3.length) break; var$1 = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity(var$1); var$3[$i] = var$1; $i = $i + 1 | 0; } $i = 0; while (true) { var$3 = nleg_EaglerAdapterGL30_matProjV.data; if ($i >= var$3.length) break; var$1 = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity(var$1); var$3[$i] = var$1; $i = $i + 1 | 0; } $i = 0; while (true) { var$3 = nleg_EaglerAdapterGL30_matTexV.data; if ($i >= var$3.length) break; var$1 = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity(var$1); var$3[$i] = var$1; $i = $i + 1 | 0; } nleg_EaglerAdapterGL30_quadsToTrianglesBuffer = null; nleg_EaglerAdapterGL30_currentArray = null; var$1 = new ju_HashMap; $i = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, $i); var$3 = var$4.data; var$1.$elementData = var$4; var$1.$loadFactor = 0.75; var$1.$threshold = var$3.length * 0.75 | 0; nleg_EaglerAdapterGL30_displayLists = var$1; var$1 = new ju_HashMap; $i = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, $i); var$3 = var$4.data; var$1.$elementData = var$4; var$1.$loadFactor = 0.75; var$1.$threshold = var$3.length * 0.75 | 0; nleg_EaglerAdapterGL30_displayListsInitialized = var$1; nleg_EaglerAdapterGL30_deevis = new nlegv_Vector3f; nleg_EaglerAdapterGL30_lightPos0Serial = 0; nleg_EaglerAdapterGL30_lightPos1Serial = 0; nleg_EaglerAdapterGL30_lightPos0vec0 = new nlegv_Vector4f; nleg_EaglerAdapterGL30_lightPos1vec0 = new nlegv_Vector4f; nleg_EaglerAdapterGL30_lightPos0vec = new nlegv_Vector4f; nleg_EaglerAdapterGL30_lightPos1vec = new nlegv_Vector4f; var$1 = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity(var$1); nleg_EaglerAdapterGL30_tmpMat = var$1; nleg_EaglerAdapterGL30_overlayFBOBlending = 0; nleg_EaglerAdapterGL30_displayListId = 0; nleg_EaglerAdapterGL30_tmpTexGenPlane = new nlegv_Vector4f; nleg_EaglerAdapterGL30_shader = null; nleg_EaglerAdapterGL30_blankUploadArray = otji_JSWrapper_wrap(new Int32Array(525000)); nleg_EaglerAdapterGL30_occlusion_vao = null; nleg_EaglerAdapterGL30_occlusion_vbo = null; nleg_EaglerAdapterGL30_occlusion_program = null; nleg_EaglerAdapterGL30_occlusion_matrix_m = null; nleg_EaglerAdapterGL30_occlusion_matrix_p = null; var$1 = new nleg_GLObjectMap; var$1.$values = $rt_createArray(jl_Object, 256); var$1.$size4 = 256; var$1.$insertIndex = 0; var$1.$allocatedObjects = 0; nleg_EaglerAdapterGL30_queryObjs = var$1; var$1 = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity(var$1); nleg_EaglerAdapterGL30_cachedOcclusionP = nlegv_Matrix4f_setZero(var$1); nleg_EaglerAdapterGL30_occlusionModel = $rt_createFloatArray(16); nleg_EaglerAdapterGL30_occlusionProj = $rt_createFloatArray(16); var$1 = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity(var$1); nleg_EaglerAdapterGL30_unprojA = var$1; var$1 = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity(var$1); nleg_EaglerAdapterGL30_unprojB = var$1; nleg_EaglerAdapterGL30_unprojC = new nlegv_Vector4f; nleg_EaglerAdapterGL30_lastBandwidthReset = Long_ZERO; nleg_EaglerAdapterGL30_lastBandwidth = 0; }, nms_GLAllocation = $rt_classWithoutFields(), nms_GLAllocation_field_74531_a = null, nms_GLAllocation_field_74530_b = null, nms_GLAllocation__init_ = $this => { return; }, nms_GLAllocation__init_0 = () => { let var_0 = new nms_GLAllocation(); nms_GLAllocation__init_(var_0); return var_0; }, nms_GLAllocation_generateTextureNames = () => { let var$1, var$2, var$3, $var0, var$5, var$6; nleg_EaglerAdapterGL30_$callClinit(); var$1 = nleg_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = new nlea_EaglerAdapterImpl2$TextureGL; var$3 = nlea_EaglerAdapterImpl2_webgl.createTexture(); var$2.$w1 = (-1); var$2.$h0 = (-1); var$2.$nearest = 1; var$2.$anisotropic = 0; var$2.$obj1 = var$3; $var0 = nleg_GLObjectMap_register(var$1, var$2); var$1 = nms_GLAllocation_field_74530_b; if ($var0 >= (-128) && $var0 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[$var0 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = $var0; } ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$5 = var$1.$array.data; var$6 = var$1.$size0; var$1.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; return $var0; }, nms_GLAllocation__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_GLAllocation_field_74531_a = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_GLAllocation_field_74530_b = var$1; }; function nle_EaglerImage() { let a = this; jl_Object.call(a); a.$data5 = null; a.$w0 = 0; a.$h = 0; a.$alpha = 0; } let nle_EaglerImage__init_0 = ($this, $pdata, $pw, $ph, $palpha) => { let var$5, var$6, var$7, $i; var$5 = $pdata.data; var$6 = var$5.length; if (var$6 != $rt_imul($pw, $ph)) { var$7 = new jl_IllegalArgumentException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $rt_s(600); $rt_throw(var$7); } a: { $this.$w0 = $pw; $this.$h = $ph; $this.$alpha = $palpha; if (!$palpha) { $i = 0; while (true) { if ($i >= var$6) break a; var$5[$i] = var$5[$i] | (-16777216); $i = $i + 1 | 0; } } } $this.$data5 = $pdata; }, nle_EaglerImage__init_ = (var_0, var_1, var_2, var_3) => { let var_4 = new nle_EaglerImage(); nle_EaglerImage__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; }, nle_EaglerImage_loadImage = $file => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$file = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); var$2 = $file.data.buffer; $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$(var$2); if ($rt_suspending()) { break main; } var$2 = $tmp; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($file, var$2, $ptr); }; function jn_Buffer() { let a = this; jl_Object.call(a); a.$capacity = 0; a.$position0 = 0; a.$limit0 = 0; a.$mark = 0; } let jn_Buffer__init_ = ($this, $capacity) => { $this.$mark = (-1); $this.$capacity = $capacity; $this.$limit0 = $capacity; }, jn_Buffer_position = ($this, $newPosition) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; if ($newPosition >= 0 && $newPosition <= $this.$limit0) { $this.$position0 = $newPosition; if ($newPosition < $this.$mark) $this.$mark = 0; return $this; } var$2 = new jl_IllegalArgumentException; var$3 = $this.$limit0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(601)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newPosition, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$3 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$3, var$3 + 1 | 0); var$5 = var$4.$buffer; var$6 = var$5.data; var$6[var$3] = 93; var$7 = new jl_String; var$3 = var$4.$length0; var$8 = var$6.length; if (var$3 >= 0 && var$3 <= (var$8 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$7; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, jn_Buffer_limit = ($this, $newLimit) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; if ($newLimit >= 0 && $newLimit <= $this.$capacity) { if ($this.$mark > $newLimit) $this.$mark = (-1); $this.$limit0 = $newLimit; if ($this.$position0 > $newLimit) $this.$position0 = $newLimit; return $this; } var$2 = new jl_IllegalArgumentException; var$3 = $this.$capacity; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(603)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $newLimit, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$3 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$3, var$3 + 1 | 0); var$5 = var$4.$buffer; var$6 = var$5.data; var$6[var$3] = 93; var$7 = new jl_String; var$3 = var$4.$length0; var$8 = var$6.length; if (var$3 >= 0 && var$3 <= (var$8 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$7; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, jn_IntBuffer = $rt_classWithoutFields(jn_Buffer), jn_IntBuffer_get = ($this, $dst, $offset, $length) => { let var$4, var$5, $i, var$7, var$8, var$9, $pos, var$11; if ($offset >= 0) { var$4 = $dst.data; var$5 = var$4.length; if ($offset <= var$5) { $i = $offset + $length | 0; if ($i > var$5) { var$7 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(604)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $i, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(605)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$5, 10); var$9 = new jl_String; $dst = var$8.$buffer; var$4 = $dst.data; $length = var$8.$length0; var$5 = var$4.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($dst.data, 0, $length); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } var$5 = $this.$limit0; $pos = $this.$position0; if ((var$5 - $pos | 0) < $length) { var$7 = new jn_BufferUnderflowException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } if ($length >= 0) { $i = 0; while ($i < $length) { var$11 = $offset + 1 | 0; var$5 = $pos + 1 | 0; var$4[$offset] = $this.$getElement0($pos); $i = $i + 1 | 0; $offset = var$11; $pos = var$5; } $this.$position0 = $this.$position0 + $length | 0; return $this; } var$7 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(606)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $length, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(607)); var$9 = new jl_String; $dst = var$8.$buffer; var$4 = $dst.data; $length = var$8.$length0; var$5 = var$4.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($dst.data, 0, $length); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } $dst = $dst.data; var$7 = new jl_IndexOutOfBoundsException; $length = $dst.length; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(608)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $offset, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $length, 10); $length = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, $length, $length + 1 | 0); $dst = var$8.$buffer; var$4 = $dst.data; var$4[$length] = 41; var$9 = new jl_String; $length = var$8.$length0; var$5 = var$4.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($dst.data, 0, $length); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); }, jn_IntBuffer_get0 = ($this, $dst) => { return jn_IntBuffer_get($this, $dst, 0, $dst.data.length); }, jn_IntBuffer_put = ($this, $src, $offset, $length) => { let var$4, var$5, $pos, var$7, $i, var$9, var$10, var$11; if ($this.$readOnly()) { var$4 = new jn_ReadOnlyBufferException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } var$5 = $this.$limit0; $pos = $this.$position0; if ((var$5 - $pos | 0) < $length) { var$4 = new jn_BufferOverflowException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($offset >= 0) { var$7 = $src.data; var$5 = var$7.length; if ($offset <= var$5) { $i = $offset + $length | 0; if ($i > var$5) { var$4 = new jl_IndexOutOfBoundsException; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(609)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $i, 10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(605)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, var$5, 10); var$10 = new jl_String; $src = var$9.$buffer; var$7 = $src.data; $length = var$9.$length0; var$5 = var$7.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($src.data, 0, $length); var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = var$10; $rt_throw(var$4); } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($length >= 0) { $i = 0; while ($i < $length) { var$11 = $pos + 1 | 0; var$5 = $offset + 1 | 0; $this.$putElement($pos, var$7[$offset]); $i = $i + 1 | 0; $pos = var$11; $offset = var$5; } $this.$position0 = $this.$position0 + $length | 0; return $this; } var$4 = new jl_IndexOutOfBoundsException; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(606)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $length, 10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(607)); var$10 = new jl_String; $src = var$9.$buffer; var$7 = $src.data; $length = var$9.$length0; var$5 = var$7.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($src.data, 0, $length); var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = var$10; $rt_throw(var$4); } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } } $src = $src.data; var$4 = new jl_IndexOutOfBoundsException; $length = $src.length; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(608)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $offset, 10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $length, 10); $length = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, $length, $length + 1 | 0); $src = var$9.$buffer; var$7 = $src.data; var$7[$length] = 41; var$10 = new jl_String; $length = var$9.$length0; var$5 = var$7.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($src.data, 0, $length); var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = var$10; $rt_throw(var$4); } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); }, jn_IntBuffer_limit = ($this, $newLimit) => { jn_Buffer_limit($this, $newLimit); return $this; }, jn_IntBuffer_position = ($this, $newPosition) => { jn_Buffer_position($this, $newPosition); return $this; }; function jl_Float() { jl_Number.call(this); this.$value3 = 0.0; } let jl_Float_TYPE = null, jl_Float_intValue = $this => { return $this.$value3 | 0; }, jl_Float_longValue = $this => { return Long_fromNumber($this.$value3); }, jl_Float_doubleValue = $this => { return $this.$value3; }, jl_Float_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$value3; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert5(var$2, var$2.$length0, var$1); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, jl_Float_equals = ($this, $other) => { let var$2, var$3, var$4; if ($this === $other) return 1; a: { if ($other instanceof jl_Float) { var$2 = $this.$value3; var$3 = $other.$value3; if (var$2 !== var$2 ? (var$3 === var$3 ? 0 : 1) : $rt_floatToRawIntBits(var$2) != $rt_floatToRawIntBits(var$3) ? 0 : 1) { var$4 = 1; break a; } } var$4 = 0; } return var$4; }, jl_Float_hashCode = $this => { let var$1; var$1 = $this.$value3; return (isNaN(var$1) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(var$1); }, jl_Float_compare = ($a, $b) => { let $diff, var$4, var$5; $diff = ($a <= $b ? 0 : 1) - ($b <= $a ? 0 : 1) | 0; if (!$diff) { var$4 = 1.0 / $a; var$5 = 1.0 / $b; $diff = (((var$4 <= var$5 ? 0 : 1) - (var$5 <= var$4 ? 0 : 1) | 0) + ($b !== $b ? 0 : 1) | 0) - ($a !== $a ? 0 : 1) | 0; } return $diff; }, jl_Float_compareTo = ($this, var$1) => { return jl_Float_compare($this.$value3, var$1.$value3); }, jl_Float__clinit_ = () => { jl_Float_TYPE = $rt_cls($rt_floatcls); }, nleat_SelfDefence$NewWindowCallback = $rt_classWithoutFields(0), nleat_SelfDefence$2 = $rt_classWithoutFields(), nleat_SelfDefence$2__init_ = $this => { return; }, nleat_SelfDefence$2__init_0 = () => { let var_0 = new nleat_SelfDefence$2(); nleat_SelfDefence$2__init_(var_0); return var_0; }, nleat_SelfDefence$2_call$exported$0 = (var$0, var$1) => { let var$2, var$3, var$4; if (!nleat_SelfDefence_ignoreNextWindow) { var$2 = nleat_SelfDefence_capturedChildWindows; var$1 = otji_JSWrapper_wrap(var$1); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; } nleat_SelfDefence_ignoreNextWindow = 0; }, nleat_SelfDefence$1 = $rt_classWithoutFields(), nleat_SelfDefence$1__init_ = $this => { return; }, nleat_SelfDefence$1__init_0 = () => { let var_0 = new nleat_SelfDefence$1(); nleat_SelfDefence$1__init_(var_0); return var_0; }, nleat_SelfDefence$1_onTimer = $this => { let var$1, var$2, $i, $l, $$je; var$1 = Long_toNumber(Long_fromNumber(jl_Math_randomImpl() * 25000.0)); setTimeout(otji_JS_function($this, "onTimer"), var$1); var$2 = window; a: { try { nleat_SelfDefence_run0(var$2); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } $i = 0; $l = nleat_SelfDefence_capturedChildWindows.$size0; b: { while ($i < $l) { var$2 = nleat_SelfDefence_capturedChildWindows; if ($i < 0) break b; if ($i >= var$2.$size0) break b; var$2 = var$2.$array.data[$i]; otji_JSWrapper_$callClinit(); var$2 = var$2 === null ? null : var$2[$rt_jso_marker] === true ? var$2 : var$2.$js; c: { try { nleat_SelfDefence_run0(var$2); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } $i = $i + 1 | 0; } return; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, nleat_SelfDefence$1_onTimer$exported$0 = var$0 => { nleat_SelfDefence$1_onTimer(var$0); }, jl_Math = $rt_classWithoutFields(), jl_Math__init_ = $this => { return; }, jl_Math__init_0 = () => { let var_0 = new jl_Math(); jl_Math__init_(var_0); return var_0; }, jl_Math_sin = var$1 => { return Math.sin(var$1); }, jl_Math_cos = var$1 => { return Math.cos(var$1); }, jl_Math_atan = var$1 => { return Math.atan(var$1); }, jl_Math_log = var$1 => { return Math.log(var$1); }, jl_Math_sqrt = var$1 => { return Math.sqrt(var$1); }, jl_Math_ceil = var$1 => { return Math.ceil(var$1); }, jl_Math_floor = var$1 => { return Math.floor(var$1); }, jl_Math_powImpl = (var$1, var$2) => { return Math.pow(var$1, var$2); }, jl_Math_atan2 = (var$1, var$2) => { return Math.atan2(var$1, var$2); }, jl_Math_randomImpl = () => { return Math.random(); }, jl_Math_min = (var$1, var$2) => { if (var$1 < var$2) var$2 = var$1; return var$2; }, jl_Math_max = ($a, $b) => { if ($a > $b) $b = $a; return $b; }, jl_Math_minImpl0 = (var$1, var$2) => { return Math.min(var$1, var$2); }, jl_Math_maxImpl0 = (var$1, var$2) => { return Math.max(var$1, var$2); }, jl_Math_minImpl = (var$1, var$2) => { return Math.min(var$1, var$2); }, jl_Math_maxImpl = (var$1, var$2) => { return Math.max(var$1, var$2); }, jl_Math_absImpl0 = var$1 => { return Math.abs(var$1); }, jl_Math_absImpl = var$1 => { return Math.abs(var$1); }, jl_Math_abs = var$1 => { return jl_Math_absImpl(var$1); }, jl_Math_sign = var$1 => { return Math.sign(var$1); }, jl_Math_sign0 = var$1 => { return Math.sign(var$1); }, otcic_JSStderrPrintStream = $rt_classWithoutFields(otcic_JsConsolePrintStream), otcic_JSStderrPrintStream__init_ = $this => { let var$1; var$1 = new ji_ByteArrayOutputStream; var$1.$buf = $rt_createByteArray(32); $this.$out0 = var$1; var$1 = new jl_StringBuilder; var$1.$buffer = $rt_createCharArray(16); $this.$sb = var$1; $this.$buffer0 = $rt_createCharArray(32); $this.$autoFlush = 0; $this.$charset = jnci_UTF8Charset_INSTANCE; }, otcic_JSStderrPrintStream__init_0 = () => { let var_0 = new otcic_JSStderrPrintStream(); otcic_JSStderrPrintStream__init_(var_0); return var_0; }, otcic_JSStderrPrintStream_print = ($this, $s) => { if ($s === null) $s = $rt_s(1); $rt_putStderr($rt_ustr($s)); }; function nle_EaglerInputStream() { let a = this; ji_InputStream.call(a); a.$buf1 = null; a.$pos = 0; a.$mark0 = 0; a.$count = 0; } let nle_EaglerInputStream__init_2 = ($this, $buf) => { let var$2; var$2 = $buf.data; $this.$mark0 = 0; $this.$buf1 = $buf; $this.$pos = 0; $this.$count = var$2.length; }, nle_EaglerInputStream__init_ = var_0 => { let var_1 = new nle_EaglerInputStream(); nle_EaglerInputStream__init_2(var_1, var_0); return var_1; }, nle_EaglerInputStream__init_1 = ($this, $buf, $offset, $length) => { let var$4, var$5; var$4 = $buf.data; $this.$mark0 = 0; $this.$buf1 = $buf; $this.$pos = $offset; $length = $offset + $length | 0; var$5 = var$4.length; if ($length < var$5) var$5 = $length; $this.$count = var$5; $this.$mark0 = $offset; }, nle_EaglerInputStream__init_0 = (var_0, var_1, var_2) => { let var_3 = new nle_EaglerInputStream(); nle_EaglerInputStream__init_1(var_3, var_0, var_1, var_2); return var_3; }, nle_EaglerInputStream_read = $this => { let var$1, var$2, var$3; var$1 = $this.$pos; if (var$1 >= $this.$count) var$2 = (-1); else { var$3 = $this.$buf1.data; $this.$pos = var$1 + 1 | 0; var$2 = var$3[var$1] & 255; } return var$2; }, nle_EaglerInputStream_read0 = ($this, $b, $off, $len) => { let var$4, var$5, $avail; var$4 = $this.$pos; var$5 = $this.$count; if (var$4 >= var$5) return (-1); $avail = var$5 - var$4 | 0; if ($len <= $avail) $avail = $len; if ($avail <= 0) return 0; jl_System_fastArraycopy($this.$buf1, var$4, $b, $off, $avail); $this.$pos = $this.$pos + $avail | 0; return $avail; }, nle_EaglerInputStream_skip = ($this, $n) => { let var$2, var$3, $k; var$2 = $this.$count; var$3 = $this.$pos; $k = Long_fromInt(var$2 - var$3 | 0); if (Long_ge($n, $k)) $n = $k; else if (Long_lt($n, Long_ZERO)) $n = Long_ZERO; $this.$pos = Long_lo(Long_add(Long_fromInt(var$3), $n)); return $n; }, nle_EaglerInputStream_available = $this => { return $this.$count - $this.$pos | 0; }, nle_EaglerInputStream_close = $this => { return; }, nle_EaglerInputStream_inputStreamToBytes = $is => { let $buf, $ret, $os, var$5, $$je; a: { b: { c: { try { if (!($is instanceof nle_EaglerInputStream)) break c; $buf = nle_EaglerInputStream_getAsArray($is); } catch ($$e) { $$je = $rt_wrapException($$e); $is = $$je; break b; } return $buf; } d: { try { if (!($is instanceof ji_ByteArrayInputStream)) break d; $ret = $rt_createByteArray(nle_EaglerInputStream_available($is)); ji_InputStream_read($is, $ret); } catch ($$e) { $$je = $rt_wrapException($$e); $is = $$je; break b; } return $ret; } try { $os = ji_ByteArrayOutputStream__init_(1024); $buf = $rt_createByteArray(1024); while (true) { var$5 = ji_InputStream_read($is, $buf); if (var$5 == (-1)) break; ji_ByteArrayOutputStream_write($os, $buf, 0, var$5); } $buf = ji_ByteArrayOutputStream_toByteArray($os); break a; } catch ($$e) { $$je = $rt_wrapException($$e); $is = $$je; } } $rt_throw($is); } return $buf; }, nle_EaglerInputStream_inputStreamToBytesNoClose = $is => { let $os, $buf, var$4, var$5, var$6, var$7, var$8; $os = new ji_ByteArrayOutputStream; $os.$buf = $rt_createByteArray(1024); $buf = $rt_createByteArray(1024); var$4 = $buf.data.length; while (true) { var$5 = juz_ZipInputStream_read($is, $buf, 0, var$4); if (var$5 == (-1)) break; ji_ByteArrayOutputStream_write($os, $buf, 0, var$5); } $buf = $os.$buf.data; var$6 = $os.$count2; var$7 = $rt_createByteArray(var$6); var$4 = $buf.length; if (var$6 < var$4) var$4 = var$6; var$8 = var$7.data; var$6 = 0; while (var$6 < var$4) { var$8[var$6] = $buf[var$6]; var$6 = var$6 + 1 | 0; } return var$7; }, nle_EaglerInputStream_getAsArray = $this => { let var$1, var$2, $ret; var$1 = $this.$pos; if (!var$1) { var$2 = $this.$count; $ret = $this.$buf1; if (var$2 == $ret.data.length) return $ret; } var$2 = $this.$count; $ret = $rt_createByteArray(var$2); jl_System_fastArraycopy($this.$buf1, var$1, $ret, 0, var$2); return $ret; }, nlea_DetectAnisotropicGlitch = $rt_classWithoutFields(), nlea_DetectAnisotropicGlitch_known = 0, nlea_DetectAnisotropicGlitch_detected = 0, nlea_DetectAnisotropicGlitch__init_ = $this => { return; }, nlea_DetectAnisotropicGlitch__init_0 = () => { let var_0 = new nlea_DetectAnisotropicGlitch(); nlea_DetectAnisotropicGlitch__init_(var_0); return var_0; }, nlea_DetectAnisotropicGlitch_detect = () => { let $vshSrc, var$2, $vsh, $fsh, $pr, $pixelsData, $tex, $vertsData, $buf, $arr, $readPx, $b; $vshSrc = window.document.createElement("canvas"); $vshSrc.width = 400; $vshSrc.height = 300; var$2 = $vshSrc.getContext("webgl2"); if (var$2 === null) { nle_Client_showIncompatibleScreen($rt_s(195)); $vshSrc = new jl_UnsupportedOperationException; $vshSrc.$suppressionEnabled = 1; $vshSrc.$writableStackTrace = 1; $vshSrc.$message = $rt_s(610); $rt_throw($vshSrc); } if (var$2.getExtension("EXT_texture_filter_anisotropic") === null) { if (jl_System_errCache === null) { $vshSrc = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); $vshSrc.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $vshSrc.$sb = var$2; $vshSrc.$buffer0 = $rt_createCharArray(32); $vshSrc.$autoFlush = 0; $vshSrc.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $vshSrc; } $rt_putStderr("WARNING: EXT_texture_filter_anisotropic is not supported!"); $rt_putStderr("\n"); return 0; } $vsh = var$2.createShader(35633); var$2.shaderSource($vsh, "#version 300 es\nprecision lowp float;in vec2 a_pos;out vec2 v_pos;void main() { gl_Position = vec4((v_pos = a_pos) * 2.0 - 1.0, 0.0, 1.0);}"); var$2.compileShader($vsh); if (!(var$2.getShaderParameter($vsh, 35713) ? 1 : 0)) { if (jl_System_errCache === null) { $vshSrc = new otcic_JSStderrPrintStream; $fsh = new ji_ByteArrayOutputStream; $fsh.$buf = $rt_createByteArray(32); $vshSrc.$out0 = $fsh; $fsh = new jl_StringBuilder; $fsh.$buffer = $rt_createCharArray(16); $vshSrc.$sb = $fsh; $vshSrc.$buffer0 = $rt_createCharArray(32); $vshSrc.$autoFlush = 0; $vshSrc.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $vshSrc; } $rt_putStderr("ERROR: Could not check for ANGLE Issue #4994, VERTEX_SHADER did not compile:"); $rt_putStderr("\n"); if (jl_System_errCache === null) { $vshSrc = new otcic_JSStderrPrintStream; $fsh = new ji_ByteArrayOutputStream; $fsh.$buf = $rt_createByteArray(32); $vshSrc.$out0 = $fsh; $fsh = new jl_StringBuilder; $fsh.$buffer = $rt_createCharArray(16); $vshSrc.$sb = $fsh; $vshSrc.$buffer0 = $rt_createCharArray(32); $vshSrc.$autoFlush = 0; $vshSrc.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $vshSrc; } $vshSrc = $rt_str(var$2.getShaderInfoLog($vsh)); if ($vshSrc === null) $vshSrc = $rt_s(1); $rt_putStderr($rt_ustr($vshSrc)); $rt_putStderr("\n"); var$2.deleteShader($vsh); return 0; } $fsh = var$2.createShader(35632); var$2.shaderSource($fsh, "#version 300 es\nprecision lowp float;precision lowp sampler2D;uniform sampler2D tex;in vec2 v_pos;out vec4 fragColor;void main() { fragColor = vec4(texture(tex, v_pos).rgb, 1.0);}"); var$2.compileShader($fsh); if (!(var$2.getShaderParameter($fsh, 35713) ? 1 : 0)) { if (jl_System_errCache === null) { $vshSrc = new otcic_JSStderrPrintStream; $pr = new ji_ByteArrayOutputStream; $pr.$buf = $rt_createByteArray(32); $vshSrc.$out0 = $pr; $pr = new jl_StringBuilder; $pr.$buffer = $rt_createCharArray(16); $vshSrc.$sb = $pr; $vshSrc.$buffer0 = $rt_createCharArray(32); $vshSrc.$autoFlush = 0; $vshSrc.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $vshSrc; } $rt_putStderr("ERROR: Could not check for ANGLE Issue #4994, FRAGMENT_SHADER did not compile:"); $rt_putStderr("\n"); if (jl_System_errCache === null) { $vshSrc = new otcic_JSStderrPrintStream; $pr = new ji_ByteArrayOutputStream; $pr.$buf = $rt_createByteArray(32); $vshSrc.$out0 = $pr; $pr = new jl_StringBuilder; $pr.$buffer = $rt_createCharArray(16); $vshSrc.$sb = $pr; $vshSrc.$buffer0 = $rt_createCharArray(32); $vshSrc.$autoFlush = 0; $vshSrc.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $vshSrc; } $vshSrc = $rt_str(var$2.getShaderInfoLog($fsh)); if ($vshSrc === null) $vshSrc = $rt_s(1); $rt_putStderr($rt_ustr($vshSrc)); $rt_putStderr("\n"); var$2.deleteShader($vsh); var$2.deleteShader($fsh); return 0; } $pr = var$2.createProgram(); var$2.attachShader($pr, $vsh); var$2.attachShader($pr, $fsh); var$2.bindAttribLocation($pr, 0, "a_pos"); var$2.bindAttribLocation($pr, 0, "fragColor"); var$2.linkProgram($pr); var$2.detachShader($pr, $vsh); var$2.detachShader($pr, $fsh); var$2.deleteShader($vsh); var$2.deleteShader($fsh); if (!(var$2.getProgramParameter($pr, 35714) ? 1 : 0)) { if (jl_System_errCache === null) { $vshSrc = new otcic_JSStderrPrintStream; $vsh = new ji_ByteArrayOutputStream; $vsh.$buf = $rt_createByteArray(32); $vshSrc.$out0 = $vsh; $vsh = new jl_StringBuilder; $vsh.$buffer = $rt_createCharArray(16); $vshSrc.$sb = $vsh; $vshSrc.$buffer0 = $rt_createCharArray(32); $vshSrc.$autoFlush = 0; $vshSrc.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $vshSrc; } $rt_putStderr("ERROR: Could not check for ANGLE Issue #4994, program did not link:"); $rt_putStderr("\n"); if (jl_System_errCache === null) { $vshSrc = new otcic_JSStderrPrintStream; $vsh = new ji_ByteArrayOutputStream; $vsh.$buf = $rt_createByteArray(32); $vshSrc.$out0 = $vsh; $vsh = new jl_StringBuilder; $vsh.$buffer = $rt_createCharArray(16); $vshSrc.$sb = $vsh; $vshSrc.$buffer0 = $rt_createCharArray(32); $vshSrc.$autoFlush = 0; $vshSrc.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $vshSrc; } $vshSrc = $rt_str(var$2.getProgramInfoLog($pr)); if ($vshSrc === null) $vshSrc = $rt_s(1); $rt_putStderr($rt_ustr($vshSrc)); $rt_putStderr("\n"); var$2.deleteProgram($pr); return 0; } var$2.useProgram($pr); var$2.uniform1i(var$2.getUniformLocation($pr, "tex"), 0); $pixelsData = $rt_createByteArrayFromData([0, 0, 0, (-1), 0, 0, 0, (-1), (-1), (-1), (-1), (-1), 0, 0, 0, (-1), 0, 0, 0, (-1), 0, 0, 0, (-1), (-1), (-1), (-1), (-1), 0, 0, 0, (-1), 0, 0, 0, (-1), 0, 0, 0, (-1), (-1), (-1), (-1), (-1), 0, 0, 0, (-1)]); $tex = var$2.createTexture(); var$2.bindTexture(3553, $tex); var$2.texParameteri(3553, 10242, 10497); var$2.texParameteri(3553, 10243, 10497); var$2.texParameteri(3553, 10241, 9986); var$2.texParameteri(3553, 10240, 9728); var$2.texParameterf(3553, 34046, 16.0); var$2.texImage2D(3553, 0, 6408, 4, 3, 0, 6408, 5121, new Uint8Array($pixelsData.data.buffer)); var$2.generateMipmap(3553); $vertsData = $rt_createFloatArrayFromData([0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 1.0, 1.0, 0.0, 1.0]); $buf = var$2.createBuffer(); var$2.bindBuffer(34962, $buf); var$2.bufferData(34962, $vertsData.data, 35044); $arr = var$2.createVertexArray(); var$2.bindVertexArray($arr); var$2.enableVertexAttribArray(0); var$2.vertexAttribPointer(0, 2, 5126, !!0, 8, 0); var$2.viewport(0, 0, 400, 300); var$2.drawArrays(4, 0, 6); var$2.deleteVertexArray($arr); var$2.deleteBuffer($buf); var$2.deleteTexture($tex); var$2.deleteProgram($pr); $readPx = new Uint8Array(4); var$2.readPixels(175, 150, 1, 1, 6408, 5121, $readPx); $b = !(($readPx[0] + $readPx[1] | 0) + $readPx[2] | 0) ? 0 : 1; if ($b) { if (jl_System_outCache === null) { $vshSrc = new otcic_JSStdoutPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); $vshSrc.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $vshSrc.$sb = var$2; $vshSrc.$buffer0 = $rt_createCharArray(32); $vshSrc.$autoFlush = 0; $vshSrc.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $vshSrc; } $rt_putStdout("ANGLE issue #4994 is unpatched on this browser, enabling anisotropic fix"); $rt_putStdout("\n"); } return $b; }, nlea_DetectAnisotropicGlitch__clinit_ = () => { nlea_DetectAnisotropicGlitch_known = 0; nlea_DetectAnisotropicGlitch_detected = 0; }, otjdx_Node = $rt_classWithoutFields(0), otjdx_Node_delete$static = $this => { if ($this.parentNode !== null) $this.parentNode.removeChild($this); }, jl_NullPointerException = $rt_classWithoutFields(jl_RuntimeException), jl_NullPointerException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_NullPointerException__init_0 = () => { let var_0 = new jl_NullPointerException(); jl_NullPointerException__init_(var_0); return var_0; }; function ji_BufferedReader() { let a = this; ji_Reader.call(a); a.$innerReader = null; a.$buffer2 = null; a.$index9 = 0; a.$count6 = 0; a.$eof2 = 0; a.$mark2 = 0; } let ji_BufferedReader__init_ = ($this, $innerReader) => { $this.$lock0 = new jl_Object; $this.$mark2 = (-1); $this.$innerReader = $innerReader; $this.$buffer2 = $rt_createCharArray(1024); }, ji_BufferedReader__init_0 = var_0 => { let var_1 = new ji_BufferedReader(); ji_BufferedReader__init_(var_1, var_0); return var_1; }, ji_BufferedReader_read = $this => { let var$1, var$2, var$3; if ($this.$innerReader === null) { var$1 = new ji_IOException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } if ($this.$index9 >= $this.$count6 && !ji_BufferedReader_fillBuffer($this, 0)) return (-1); var$2 = $this.$buffer2.data; var$3 = $this.$index9; $this.$index9 = var$3 + 1 | 0; return var$2[var$3]; }, ji_BufferedReader_close = $this => { let var$1; var$1 = $this.$innerReader; if (var$1 !== null) { var$1.$close(); $this.$innerReader = null; return; } var$1 = new ji_IOException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, ji_BufferedReader_readLine = $this => { let $line, var$2, $ch, var$4, var$5, var$6, var$7; if ($this.$innerReader === null) { $line = new ji_IOException; $line.$suppressionEnabled = 1; $line.$writableStackTrace = 1; $rt_throw($line); } if ($this.$eof2 && $this.$index9 >= $this.$count6) return null; $line = new jl_StringBuilder; $line.$buffer = $rt_createCharArray(16); a: { while (true) { if ($this.$index9 >= $this.$count6 && !ji_BufferedReader_fillBuffer($this, 0)) break a; var$2 = $this.$buffer2.data; $ch = $this.$index9; var$4 = $ch + 1 | 0; $this.$index9 = var$4; $ch = var$2[$ch]; if ($ch == 10) break; if ($ch == 13) { if (var$4 >= $this.$count6 && !ji_BufferedReader_fillBuffer($this, 0)) break a; var$2 = $this.$buffer2.data; var$4 = $this.$index9; if (var$2[var$4] != 10) break a; $this.$index9 = var$4 + 1 | 0; break a; } var$4 = $line.$length0; jl_AbstractStringBuilder_insertSpace($line, var$4, var$4 + 1 | 0); $line.$buffer.data[var$4] = $ch; } } var$5 = new jl_String; var$2 = $line.$buffer; var$6 = var$2.data; $ch = $line.$length0; var$7 = var$6.length; if ($ch >= 0 && $ch <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$2.data, 0, $ch); return var$5; } $line = new jl_IndexOutOfBoundsException; $line.$suppressionEnabled = 1; $line.$writableStackTrace = 1; $rt_throw($line); }, ji_BufferedReader_fillBuffer = ($this, $offset) => { let var$2, $charsRead; if ($this.$eof2) return 0; a: { while (true) { var$2 = $this.$buffer2; $charsRead = var$2.data.length; if ($offset >= $charsRead) break a; $charsRead = $this.$innerReader.$read3(var$2, $offset, $charsRead - $offset | 0); if ($charsRead == (-1)) { $this.$eof2 = 1; break a; } if (!$charsRead) break; $offset = $offset + $charsRead | 0; } } $this.$count6 = $offset; $this.$index9 = 0; $this.$mark2 = (-1); return 1; }; function oj_JSONArray() { jl_Object.call(this); this.$myArrayList = null; } let oj_JSONArray__init_ = $this => { let var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$myArrayList = var$1; }, oj_JSONArray__init_6 = () => { let var_0 = new oj_JSONArray(); oj_JSONArray__init_(var_0); return var_0; }, oj_JSONArray__init_4 = ($this, $x) => { let var$2, var$3, $nextChar, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $$je; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $this.$myArrayList = var$2; a: { while (true) { if ($x.$usePrevious) { $x.$usePrevious = 0; var$3 = $x.$previous0; } else try { var$3 = $x.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $x = $$je; break; } else { throw $$e; } } if (var$3 > 0) { oj_JSONTokener_incrementIndexes($x, var$3); $nextChar = var$3 & 65535; $x.$previous0 = $nextChar; } else { $x.$eof = 1; $nextChar = 0; } if (!$nextChar) break a; if ($nextChar > 32) break a; } var$2 = new oj_JSONException; var$5 = $x.$getMessage(); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$5; var$2.$cause = $x; $rt_throw(var$2); } if ($nextChar != 91) { var$5 = new oj_JSONException; var$6 = $x.$index5; var$7 = $x.$character; var$8 = $x.$line; $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$6, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$7, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$8, 10); $nextChar = $x.$length0; jl_AbstractStringBuilder_insertSpace($x, $nextChar, $nextChar + 1 | 0); var$9 = $x.$buffer; var$10 = var$9.data; var$10[$nextChar] = 93; var$11 = new jl_String; $nextChar = $x.$length0; var$12 = var$10.length; if ($nextChar >= 0 && $nextChar <= (var$12 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $nextChar); $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(611)); jl_AbstractStringBuilder_insert($x, $x.$length0, var$11); var$2 = new jl_String; var$9 = $x.$buffer; var$10 = var$9.data; $nextChar = $x.$length0; var$12 = var$10.length; if ($nextChar >= 0 && $nextChar <= (var$12 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$9.data, 0, $nextChar); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$2; $rt_throw(var$5); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } b: { while (true) { if ($x.$usePrevious) { $x.$usePrevious = 0; var$3 = $x.$previous0; } else try { var$3 = $x.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $x = $$je; break; } else { throw $$e; } } if (var$3 > 0) { oj_JSONTokener_incrementIndexes($x, var$3); $nextChar = var$3 & 65535; $x.$previous0 = $nextChar; } else { $x.$eof = 1; $nextChar = 0; } if (!$nextChar) break b; if ($nextChar > 32) break b; } var$2 = new oj_JSONException; var$5 = $x.$getMessage(); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$5; var$2.$cause = $x; $rt_throw(var$2); } if (!$nextChar) { var$5 = new oj_JSONException; var$6 = $x.$index5; var$7 = $x.$character; var$8 = $x.$line; $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$6, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$7, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$8, 10); $nextChar = $x.$length0; jl_AbstractStringBuilder_insertSpace($x, $nextChar, $nextChar + 1 | 0); var$9 = $x.$buffer; var$10 = var$9.data; var$10[$nextChar] = 93; var$11 = new jl_String; $nextChar = $x.$length0; var$12 = var$10.length; if ($nextChar >= 0 && $nextChar <= (var$12 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $nextChar); $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(612)); jl_AbstractStringBuilder_insert($x, $x.$length0, var$11); var$2 = new jl_String; var$9 = $x.$buffer; var$10 = var$9.data; $nextChar = $x.$length0; var$12 = var$10.length; if ($nextChar >= 0 && $nextChar <= (var$12 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$9.data, 0, $nextChar); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$2; $rt_throw(var$5); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } if ($nextChar == 93) return; if (!$x.$usePrevious && Long_gt($x.$index5, Long_ZERO)) { oj_JSONTokener_decrementIndexes($x); $x.$usePrevious = 1; $x.$eof = 0; c: { d: { e: { while (true) { while (true) { if ($x.$usePrevious) { $x.$usePrevious = 0; var$3 = $x.$previous0; } else try { var$3 = $x.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $x = $$je; var$2 = new oj_JSONException; var$5 = $x.$getMessage(); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$5; var$2.$cause = $x; $rt_throw(var$2); } else { throw $$e; } } if (var$3 > 0) { oj_JSONTokener_incrementIndexes($x, var$3); $nextChar = var$3 & 65535; $x.$previous0 = $nextChar; } else { $x.$eof = 1; $nextChar = 0; } if (!$nextChar) break; if ($nextChar > 32) break; } if ($nextChar != 44) { if ($x.$usePrevious) break d; if (Long_le($x.$index5, Long_ZERO)) break d; oj_JSONTokener_decrementIndexes($x); $x.$usePrevious = 1; $x.$eof = 0; var$2 = $this.$myArrayList; var$5 = oj_JSONTokener_nextValue($x); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$9 = var$2.$array.data; $nextChar = var$2.$size0; var$2.$size0 = $nextChar + 1 | 0; var$9[$nextChar] = var$5; var$2.$modCount = var$2.$modCount + 1 | 0; } else { if ($x.$usePrevious) break c; if (Long_le($x.$index5, Long_ZERO)) break c; oj_JSONTokener_decrementIndexes($x); $x.$usePrevious = 1; $x.$eof = 0; var$2 = $this.$myArrayList; oj_JSONObject_$callClinit(); var$5 = oj_JSONObject_NULL; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$9 = var$2.$array.data; $nextChar = var$2.$size0; var$2.$size0 = $nextChar + 1 | 0; var$9[$nextChar] = var$5; var$2.$modCount = var$2.$modCount + 1 | 0; } while (true) { if ($x.$usePrevious) { $x.$usePrevious = 0; var$3 = $x.$previous0; } else try { var$3 = $x.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $x = $$je; var$2 = new oj_JSONException; var$5 = $x.$getMessage(); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$5; var$2.$cause = $x; $rt_throw(var$2); } else { throw $$e; } } if (var$3 > 0) { oj_JSONTokener_incrementIndexes($x, var$3); $nextChar = var$3 & 65535; $x.$previous0 = $nextChar; } else { $x.$eof = 1; $nextChar = 0; } if (!$nextChar) break; if ($nextChar > 32) break; } switch ($nextChar) { case 0: var$5 = new oj_JSONException; var$6 = $x.$index5; var$7 = $x.$character; var$8 = $x.$line; $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$6, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$7, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$8, 10); $nextChar = $x.$length0; jl_AbstractStringBuilder_insertSpace($x, $nextChar, $nextChar + 1 | 0); var$9 = $x.$buffer; var$10 = var$9.data; var$10[$nextChar] = 93; var$11 = new jl_String; $nextChar = $x.$length0; var$12 = var$10.length; if ($nextChar >= 0 && $nextChar <= (var$12 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $nextChar); $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(612)); jl_AbstractStringBuilder_insert($x, $x.$length0, var$11); var$2 = new jl_String; var$9 = $x.$buffer; var$10 = var$9.data; $nextChar = $x.$length0; var$12 = var$10.length; if ($nextChar >= 0 && $nextChar <= (var$12 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$9.data, 0, $nextChar); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$2; $rt_throw(var$5); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); case 44: break; case 93: return; default: var$5 = new oj_JSONException; var$6 = $x.$index5; var$7 = $x.$character; var$8 = $x.$line; $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$6, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$7, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$8, 10); $nextChar = $x.$length0; jl_AbstractStringBuilder_insertSpace($x, $nextChar, $nextChar + 1 | 0); var$9 = $x.$buffer; var$10 = var$9.data; var$10[$nextChar] = 93; var$11 = new jl_String; $nextChar = $x.$length0; var$12 = var$10.length; if ($nextChar >= 0 && $nextChar <= (var$12 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $nextChar); $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(612)); jl_AbstractStringBuilder_insert($x, $x.$length0, var$11); var$2 = new jl_String; var$9 = $x.$buffer; var$10 = var$9.data; $nextChar = $x.$length0; var$12 = var$10.length; if ($nextChar >= 0 && $nextChar <= (var$12 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$9.data, 0, $nextChar); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$2; $rt_throw(var$5); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } while (true) { if ($x.$usePrevious) { $x.$usePrevious = 0; var$3 = $x.$previous0; } else try { var$3 = $x.$reader.$read(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $x = $$je; var$2 = new oj_JSONException; var$5 = $x.$getMessage(); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$5; var$2.$cause = $x; $rt_throw(var$2); } else { throw $$e; } } if (var$3 > 0) { oj_JSONTokener_incrementIndexes($x, var$3); $nextChar = var$3 & 65535; $x.$previous0 = $nextChar; } else { $x.$eof = 1; $nextChar = 0; } if (!$nextChar) break; if ($nextChar > 32) break; } if (!$nextChar) { var$5 = new oj_JSONException; var$6 = $x.$index5; var$7 = $x.$character; var$8 = $x.$line; $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$6, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(116)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$7, 10); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(117)); jl_AbstractStringBuilder_insert2($x, $x.$length0, var$8, 10); $nextChar = $x.$length0; jl_AbstractStringBuilder_insertSpace($x, $nextChar, $nextChar + 1 | 0); var$9 = $x.$buffer; var$10 = var$9.data; var$10[$nextChar] = 93; var$11 = new jl_String; $nextChar = $x.$length0; var$12 = var$10.length; if ($nextChar >= 0 && $nextChar <= (var$12 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $nextChar); $x = new jl_StringBuilder; $x.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($x, $x.$length0, $rt_s(612)); jl_AbstractStringBuilder_insert($x, $x.$length0, var$11); var$2 = new jl_String; var$9 = $x.$buffer; var$10 = var$9.data; $nextChar = $x.$length0; var$12 = var$10.length; if ($nextChar >= 0 && $nextChar <= (var$12 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$9.data, 0, $nextChar); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$2; $rt_throw(var$5); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } $x = new jl_IndexOutOfBoundsException; $x.$suppressionEnabled = 1; $x.$writableStackTrace = 1; $rt_throw($x); } if ($nextChar == 93) break; if ($x.$usePrevious) break e; if (Long_le($x.$index5, Long_ZERO)) break e; oj_JSONTokener_decrementIndexes($x); $x.$usePrevious = 1; $x.$eof = 0; } return; } var$2 = new oj_JSONException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(125); $rt_throw(var$2); } var$2 = new oj_JSONException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(125); $rt_throw(var$2); } var$2 = new oj_JSONException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(125); $rt_throw(var$2); } var$2 = new oj_JSONException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(125); $rt_throw(var$2); }, oj_JSONArray__init_5 = var_0 => { let var_1 = new oj_JSONArray(); oj_JSONArray__init_4(var_1, var_0); return var_1; }, oj_JSONArray__init_2 = ($this, $collection) => { let var$2, var$3; if ($collection === null) { $collection = new ju_ArrayList; $collection.$array = $rt_createArray(jl_Object, 10); $this.$myArrayList = $collection; } else { var$2 = new ju_ArrayList; var$3 = $collection.$size(); if (var$3 < 0) { $collection = new jl_IllegalArgumentException; $collection.$suppressionEnabled = 1; $collection.$writableStackTrace = 1; $rt_throw($collection); } var$2.$array = $rt_createArray(jl_Object, var$3); $this.$myArrayList = var$2; oj_JSONArray_addAll($this, $collection, 1); } }, oj_JSONArray__init_0 = var_0 => { let var_1 = new oj_JSONArray(); oj_JSONArray__init_2(var_1, var_0); return var_1; }, oj_JSONArray__init_1 = ($this, $array) => { let var$2, var$3; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $this.$myArrayList = var$2; var$3 = $array.constructor; if (var$3 === null) var$2 = null; else { var$2 = var$3.classObject; if (var$2 === null) { var$2 = new jl_Class; var$2.$platformClass = var$3; var$3.classObject = var$2; } } if (var$2.$platformClass.$meta.item === null ? 0 : 1) { oj_JSONArray_addAll0($this, $array, 1); return; } $array = new oj_JSONException; $array.$suppressionEnabled = 1; $array.$writableStackTrace = 1; $array.$message = $rt_s(147); $rt_throw($array); }, oj_JSONArray__init_3 = var_0 => { let var_1 = new oj_JSONArray(); oj_JSONArray__init_1(var_1, var_0); return var_1; }, oj_JSONArray_iterator = $this => { let var$1, var$2; var$1 = $this.$myArrayList; var$2 = new ju_AbstractList$1; var$2.$this$00 = var$1; var$2.$modCount1 = var$1.$modCount; var$2.$size3 = var$1.$size(); var$2.$removeIndex = (-1); return var$2; }, oj_JSONArray_length = $this => { return $this.$myArrayList.$size0; }, oj_JSONArray_toString0 = $this => { let var$1, $$je; a: { try { var$1 = oj_JSONArray_toString($this, 0); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } return var$1; } return null; }, oj_JSONArray_toString = ($this, $indentFactor) => { let $sw, var$3, $$je; $sw = new ji_StringWriter; $sw.$lock = $sw; var$3 = new jl_StringBuffer; var$3.$buffer = $rt_createCharArray(16); $sw.$buf0 = var$3; $sw.$lock = var$3; jl_Object_monitorEnterSync(var$3); a: { try { $sw = ji_StringWriter_toString(oj_JSONArray_write($this, $sw, $indentFactor, 0)); jl_Object_monitorExitSync(var$3); } catch ($$e) { $$je = $rt_wrapException($$e); $sw = $$je; break a; } return $sw; } jl_Object_monitorExitSync(var$3); $rt_throw($sw); }, oj_JSONArray_write = ($this, $writer, $indentFactor, $indent) => { let $needsComma, $length, $e, $newIndent, $i, var$9, $$je; a: { try { b: { $needsComma = 0; $length = oj_JSONArray_length($this); ji_StringWriter_write($writer, 91); if ($length == 1) c: { try { oj_JSONObject_writeValue($writer, ju_ArrayList_get($this.$myArrayList, 0), $indentFactor, $indent); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $e = $$je; } else { throw $$e; } } $rt_throw(oj_JSONException__init_0($rt_s(613), $e)); } else if ($length) { $newIndent = $indent + $indentFactor | 0; $i = 0; while (true) { if ($i >= $length) { if ($indentFactor > 0) ji_StringWriter_write($writer, 10); oj_JSONObject_indent($writer, $indent); break b; } if ($needsComma) ji_StringWriter_write($writer, 44); if ($indentFactor > 0) ji_StringWriter_write($writer, 10); oj_JSONObject_indent($writer, $newIndent); try { oj_JSONObject_writeValue($writer, ju_ArrayList_get($this.$myArrayList, $i), $indentFactor, $newIndent); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $e = $$je; break; } else { throw $$e; } } $needsComma = 1; $i = $i + 1 | 0; } $writer = new oj_JSONException; var$9 = jl_StringBuilder__init_(); jl_StringBuilder_append0(jl_StringBuilder_append(var$9, $rt_s(614)), $i); oj_JSONException__init_($writer, jl_StringBuilder_toString(var$9), $e); $rt_throw($writer); } } ji_StringWriter_write($writer, 93); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; break a; } else { throw $$e; } } return $writer; } $writer = new oj_JSONException; var$9 = $e.$getMessage(); $writer.$suppressionEnabled = 1; $writer.$writableStackTrace = 1; $writer.$message = var$9; $writer.$cause = $e; $rt_throw($writer); }, oj_JSONArray_toList = $this => { let $results, var$2, var$3, var$4, var$5, var$6, var$7, $element, var$9, var$10; $results = new ju_ArrayList; var$2 = $this.$myArrayList; var$3 = var$2.$size0; if (var$3 < 0) { $results = new jl_IllegalArgumentException; $results.$suppressionEnabled = 1; $results.$writableStackTrace = 1; $rt_throw($results); } $results.$array = $rt_createArray(jl_Object, var$3); var$4 = 0; var$5 = var$2.$modCount; var$6 = var$2.$size(); while (var$4 >= var$6 ? 0 : 1) { if (var$5 < var$2.$modCount) { $results = new ju_ConcurrentModificationException; $results.$suppressionEnabled = 1; $results.$writableStackTrace = 1; $rt_throw($results); } a: { var$7 = var$4 + 1 | 0; $element = var$2.$get(var$4); if ($element !== null) { oj_JSONObject_$callClinit(); if (!($element === oj_JSONObject_NULL ? 1 : 0)) { if ($element instanceof oj_JSONArray) { var$9 = oj_JSONArray_toList($element); ju_ArrayList_ensureCapacity($results, $results.$size0 + 1 | 0); var$10 = $results.$array.data; var$3 = $results.$size0; $results.$size0 = var$3 + 1 | 0; var$10[var$3] = var$9; $results.$modCount = $results.$modCount + 1 | 0; break a; } if (!($element instanceof oj_JSONObject)) { ju_ArrayList_ensureCapacity($results, $results.$size0 + 1 | 0); var$10 = $results.$array.data; var$4 = $results.$size0; $results.$size0 = var$4 + 1 | 0; var$10[var$4] = $element; $results.$modCount = $results.$modCount + 1 | 0; break a; } var$9 = oj_JSONObject_toMap($element); ju_ArrayList_ensureCapacity($results, $results.$size0 + 1 | 0); var$10 = $results.$array.data; var$4 = $results.$size0; $results.$size0 = var$4 + 1 | 0; var$10[var$4] = var$9; $results.$modCount = $results.$modCount + 1 | 0; break a; } } var$9 = null; ju_ArrayList_ensureCapacity($results, $results.$size0 + 1 | 0); var$10 = $results.$array.data; var$4 = $results.$size0; $results.$size0 = var$4 + 1 | 0; var$10[var$4] = var$9; $results.$modCount = $results.$modCount + 1 | 0; } var$4 = var$7; } return $results; }, oj_JSONArray_addAll = ($this, $collection, $wrap) => { let $o, var$4, var$5, var$6; a: { $o = $this.$myArrayList; ju_ArrayList_ensureCapacity($o, $o.$size0 + $collection.$size() | 0); if (!$wrap) { $collection = $collection.$iterator(); while (true) { if (!$collection.$hasNext()) break a; $o = $collection.$next(); oj_JSONObject_$callClinit(); if ($o instanceof jl_Number && !oj_JSONObject_numberIsFinite($o)) break; var$4 = $this.$myArrayList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = $o; var$4.$modCount = var$4.$modCount + 1 | 0; } $o = new oj_JSONException; $o.$suppressionEnabled = 1; $o.$writableStackTrace = 1; $o.$message = $rt_s(11); $rt_throw($o); } $collection = $collection.$iterator(); while ($collection.$hasNext()) { $o = $collection.$next(); oj_JSONObject_$callClinit(); var$4 = oj_JSONObject_wrap($o, null); if (var$4 instanceof jl_Number && !oj_JSONObject_numberIsFinite(var$4)) { $o = new oj_JSONException; $o.$suppressionEnabled = 1; $o.$writableStackTrace = 1; $o.$message = $rt_s(11); $rt_throw($o); } $o = $this.$myArrayList; ju_ArrayList_ensureCapacity($o, $o.$size0 + 1 | 0); var$5 = $o.$array.data; var$6 = $o.$size0; $o.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; $o.$modCount = $o.$modCount + 1 | 0; } } }, oj_JSONArray_addAll0 = ($this, $array, $wrap) => { let var$3, var$4, $length, $i, var$7, var$8, var$9; var$3 = $array.constructor; if (var$3 === null) var$4 = null; else { var$4 = var$3.classObject; if (var$4 === null) { var$4 = new jl_Class; var$4.$platformClass = var$3; var$3.classObject = var$4; } } $length = var$4.$platformClass.$meta.item === null ? 0 : 1; a: { if ($length) { b: { c: { $length = jlr_Array_getLength($array); var$4 = $this.$myArrayList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + $length | 0); if (!$wrap) { $i = 0; while (true) { if ($i >= $length) break c; if ($i < 0) break; if ($i >= jlr_Array_getLength($array)) break; var$3 = jlr_Array_getImpl($array, $i); oj_JSONObject_$callClinit(); if (var$3 instanceof jl_Number && !oj_JSONObject_numberIsFinite(var$3)) { var$4 = new oj_JSONException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(11); $rt_throw(var$4); } var$4 = $this.$myArrayList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $i = $i + 1 | 0; } $array = new jl_ArrayIndexOutOfBoundsException; $array.$suppressionEnabled = 1; $array.$writableStackTrace = 1; $rt_throw($array); } $i = 0; while ($i < $length) { if ($i < 0) break b; if ($i >= jlr_Array_getLength($array)) break b; var$3 = jlr_Array_getImpl($array, $i); oj_JSONObject_$callClinit(); var$3 = oj_JSONObject_wrap(var$3, null); if (var$3 instanceof jl_Number && !oj_JSONObject_numberIsFinite(var$3)) { var$4 = new oj_JSONException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(11); $rt_throw(var$4); } var$4 = $this.$myArrayList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $i = $i + 1 | 0; } } break a; } $array = new jl_ArrayIndexOutOfBoundsException; $array.$suppressionEnabled = 1; $array.$writableStackTrace = 1; $rt_throw($array); } if ($array instanceof oj_JSONArray) { var$4 = $this.$myArrayList; $array = $array.$myArrayList; $length = 0; var$8 = $array.$modCount; var$9 = $array.$size(); while ($length >= var$9 ? 0 : 1) { if (var$8 < $array.$modCount) { $array = new ju_ConcurrentModificationException; $array.$suppressionEnabled = 1; $array.$writableStackTrace = 1; $rt_throw($array); } $i = $length + 1 | 0; var$3 = $array.$get($length); ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; $length = var$4.$size0; var$4.$size0 = $length + 1 | 0; var$7[$length] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $length = $i; } } else if ($rt_isInstance($array, ju_Collection)) oj_JSONArray_addAll($this, $array, $wrap); else { if (!$rt_isInstance($array, jl_Iterable)) { var$4 = new oj_JSONException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(147); $rt_throw(var$4); } d: { $array = $array; if (!$wrap) { $array = $array.$iterator(); while (true) { if (!$array.$hasNext()) break d; var$4 = $array.$next(); oj_JSONObject_$callClinit(); if (var$4 instanceof jl_Number && !oj_JSONObject_numberIsFinite(var$4)) break; var$3 = $this.$myArrayList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; $wrap = var$3.$size0; var$3.$size0 = $wrap + 1 | 0; var$7[$wrap] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; } var$4 = new oj_JSONException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(11); $rt_throw(var$4); } $array = $array.$iterator(); while ($array.$hasNext()) { var$4 = $array.$next(); oj_JSONObject_$callClinit(); var$3 = oj_JSONObject_wrap(var$4, null); if (var$3 instanceof jl_Number && !oj_JSONObject_numberIsFinite(var$3)) { var$4 = new oj_JSONException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(11); $rt_throw(var$4); } var$4 = $this.$myArrayList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; $length = var$4.$size0; var$4.$size0 = $length + 1 | 0; var$7[$length] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; } } } } }, jl_IndexOutOfBoundsException = $rt_classWithoutFields(jl_RuntimeException), jl_IndexOutOfBoundsException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_IndexOutOfBoundsException__init_0 = () => { let var_0 = new jl_IndexOutOfBoundsException(); jl_IndexOutOfBoundsException__init_(var_0); return var_0; }, otjc_JSWeakRef = $rt_classWithoutFields(), otjc_JSFinalizationRegistryConsumer = $rt_classWithoutFields(0), otji_JSWrapper$_clinit_$lambda$_33_0 = $rt_classWithoutFields(), otji_JSWrapper$_clinit_$lambda$_33_0__init_ = var$0 => { return; }, otji_JSWrapper$_clinit_$lambda$_33_0__init_0 = () => { let var_0 = new otji_JSWrapper$_clinit_$lambda$_33_0(); otji_JSWrapper$_clinit_$lambda$_33_0__init_(var_0); return var_0; }, otji_JSWrapper$_clinit_$lambda$_33_0_accept$exported$0 = (var$0, var$1) => { let var$2; otji_JSWrapper_$callClinit(); var$1 = var$1 === null ? null : var$1 instanceof $rt_objcls() ? var$1 : otji_JSWrapper_wrap(var$1); var$2 = otji_JSWrapper_stringWrappers; var$1 = var$1 === null ? null : var$1[$rt_jso_marker] === true ? var$1 : var$1.$js; var$2.delete(var$1); }, otji_JSWrapper$_clinit_$lambda$_33_1 = $rt_classWithoutFields(), otji_JSWrapper$_clinit_$lambda$_33_1__init_ = var$0 => { return; }, otji_JSWrapper$_clinit_$lambda$_33_1__init_0 = () => { let var_0 = new otji_JSWrapper$_clinit_$lambda$_33_1(); otji_JSWrapper$_clinit_$lambda$_33_1__init_(var_0); return var_0; }, otji_JSWrapper$_clinit_$lambda$_33_1_accept$exported$0 = (var$0, var$1) => { let var$2; otji_JSWrapper_$callClinit(); var$1 = var$1 === null ? null : var$1 instanceof $rt_objcls() ? var$1 : otji_JSWrapper_wrap(var$1); var$2 = otji_JSWrapper_numberWrappers; var$1 = var$1 === null ? null : var$1[$rt_jso_marker] === true ? var$1 : var$1.$js; var$2.delete(var$1); }, ju_Arrays = $rt_classWithoutFields(), ju_Arrays__init_ = $this => { return; }, ju_Arrays__init_0 = () => { let var_0 = new ju_Arrays(); ju_Arrays__init_(var_0); return var_0; }, ju_Arrays_sort = ($a, $c) => { let var$3, $second, $chunkSize, var$6, $i, var$8, var$9, $i_0, var$11; var$3 = $a.data.length; if (!var$3) return; if ($c === null) $c = ju_Comparator$NaturalOrder_INSTANCE; $second = $rt_createArray(jl_Object, var$3); $chunkSize = 1; var$6 = $a; while ($chunkSize < var$3) { $i = 0; while (true) { var$8 = var$6.data.length; if ($i >= var$8) break; var$9 = $i + $chunkSize | 0; if (var$8 < var$9) var$9 = var$8; $i_0 = $i + (2 * $chunkSize | 0) | 0; if (var$8 >= $i_0) var$8 = $i_0; ju_Arrays_merge(var$6, $second, $i, var$9, var$8, $c); $i = $i_0; } $chunkSize = $chunkSize * 2 | 0; var$11 = var$6; var$6 = $second; $second = var$11; } a: { if (var$6 !== $a) { $i_0 = 0; while (true) { $a = var$6.data; if ($i_0 >= $a.length) break a; $second.data[$i_0] = $a[$i_0]; $i_0 = $i_0 + 1 | 0; } } } }, ju_Arrays_merge = ($a, $b, $from, $split, $to, $comp) => { let var$7, $from2, var$9, $p, $q, var$12, var$13; var$7 = $from; $from2 = $split; a: { b: { while ($from != $split) { if ($from2 == $to) break b; var$9 = $a.data; $p = var$9[$from]; $q = var$9[$from2]; if ($comp.$compare0($p, $q) > 0) { var$9 = $b.data; var$12 = var$7 + 1 | 0; var$9[var$7] = $q; $from2 = $from2 + 1 | 0; } else { var$9 = $b.data; var$12 = var$7 + 1 | 0; var$9[var$7] = $p; $from = $from + 1 | 0; } var$7 = var$12; } while (true) { if ($from2 >= $to) break a; var$13 = $b.data; var$9 = $a.data; $from = var$7 + 1 | 0; $split = $from2 + 1 | 0; var$13[var$7] = var$9[$from2]; var$7 = $from; $from2 = $split; } } while (true) { if ($from >= $split) break a; var$13 = $b.data; var$9 = $a.data; $from2 = var$7 + 1 | 0; $to = $from + 1 | 0; var$13[var$7] = var$9[$from]; var$7 = $from2; $from = $to; } } }, ju_Arrays_binarySearch0 = ($a, $fromIndex, $toIndex, $key) => { let var$5, $u, var$7, $i, $e; if ($fromIndex > $toIndex) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $u = $toIndex - 1 | 0; while (true) { if ($fromIndex > $u) return ( -$fromIndex | 0) - 1 | 0; var$7 = $a.data; $i = ($fromIndex + $u | 0) / 2 | 0; $e = var$7[$i]; if ($e == $key) break; if ($key >= $e) $fromIndex = $i + 1 | 0; else $u = $i - 1 | 0; } return $i; }, ju_Arrays_binarySearch = ($a, $fromIndex, $toIndex, $key) => { let var$5, $u, var$7, $i; if ($fromIndex > $toIndex) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $u = $toIndex - 1 | 0; while (true) { if ($fromIndex > $u) return ( -$fromIndex | 0) - 1 | 0; var$7 = $a.data; $i = ($fromIndex + $u | 0) / 2 | 0; $toIndex = Long_compare(var$7[$i], $key); if (!$toIndex) break; if ($toIndex <= 0) $fromIndex = $i + 1 | 0; else $u = $i - 1 | 0; } return $i; }, ju_Arrays_binarySearch1 = ($a, $fromIndex, $toIndex, $key) => { let var$5, $u, var$7, $i; if ($fromIndex > $toIndex) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $u = $toIndex - 1 | 0; while (true) { if ($fromIndex > $u) return ( -$fromIndex | 0) - 1 | 0; var$7 = $a.data; $i = ($fromIndex + $u | 0) / 2 | 0; $toIndex = $rt_compare(var$7[$i], $key); if (!$toIndex) break; if ($toIndex <= 0) $fromIndex = $i + 1 | 0; else $u = $i - 1 | 0; } return $i; }, ju_Arrays_equals1 = ($a, $a2) => { let var$3, var$4, var$5; if ($a === $a2) return 1; if ($a !== null && $a2 !== null) { $a = $a.data; $a2 = $a2.data; var$3 = $a.length; if (var$3 == $a2.length) { var$4 = 0; a: { while (true) { if (var$4 >= var$3) { var$4 = (-1); break a; } var$5 = var$4 + 0 | 0; if ($a[var$5] != $a2[var$5]) break; var$4 = var$4 + 1 | 0; } } return var$4 >= 0 ? 0 : 1; } } return 0; }, ju_Arrays_equals0 = ($a, $a2) => { let var$3, var$4, var$5; if ($a === $a2) return 1; if ($a !== null && $a2 !== null) { $a = $a.data; $a2 = $a2.data; var$3 = $a.length; if (var$3 == $a2.length) { var$4 = 0; a: { while (true) { if (var$4 >= var$3) { var$4 = (-1); break a; } var$5 = var$4 + 0 | 0; if ($a[var$5] != $a2[var$5]) break; var$4 = var$4 + 1 | 0; } } return var$4 >= 0 ? 0 : 1; } } return 0; }, ju_Arrays_equals = ($a, $a2) => { let var$3, var$4, var$5, var$6, var$7; if ($a === $a2) return 1; if ($a !== null && $a2 !== null) { $a = $a.data; $a2 = $a2.data; var$3 = $a.length; if (var$3 == $a2.length) { var$4 = 0; a: { while (true) { if (var$4 >= var$3) { var$4 = (-1); break a; } var$5 = var$4 + 0 | 0; var$6 = $a[var$5]; var$7 = $a2[var$5]; if (!(var$6 === var$7 ? 1 : var$6 !== null ? var$6.$equals(var$7) : var$7 !== null ? 0 : 1)) break; var$4 = var$4 + 1 | 0; } } return var$4 >= 0 ? 0 : 1; } } return 0; }, jl_IllegalArgumentException = $rt_classWithoutFields(jl_RuntimeException), jl_IllegalArgumentException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_IllegalArgumentException__init_0 = () => { let var_0 = new jl_IllegalArgumentException(); jl_IllegalArgumentException__init_(var_0); return var_0; }; function ju_Locale() { let a = this; jl_Object.call(a); a.$countryCode = null; a.$languageCode = null; a.$variantCode = null; } let ju_Locale_defaultLocale = null, ju_Locale_CANADA = null, ju_Locale_CANADA_FRENCH = null, ju_Locale_CHINA = null, ju_Locale_CHINESE = null, ju_Locale_ENGLISH = null, ju_Locale_FRANCE = null, ju_Locale_FRENCH = null, ju_Locale_GERMAN = null, ju_Locale_GERMANY = null, ju_Locale_ITALIAN = null, ju_Locale_ITALY = null, ju_Locale_JAPAN = null, ju_Locale_JAPANESE = null, ju_Locale_KOREA = null, ju_Locale_KOREAN = null, ju_Locale_PRC = null, ju_Locale_SIMPLIFIED_CHINESE = null, ju_Locale_TAIWAN = null, ju_Locale_TRADITIONAL_CHINESE = null, ju_Locale_UK = null, ju_Locale_US = null, ju_Locale_ROOT = null, ju_Locale_$callClinit = () => { ju_Locale_$callClinit = $rt_eraseClinit(ju_Locale); ju_Locale__clinit_(); }, ju_Locale__init_0 = ($this, $language, $country, $variant) => { let var$4; ju_Locale_$callClinit(); if ($language !== null && $country !== null && $variant !== null) { var$4 = $language.$nativeString.length ? 0 : 1; if (var$4 && ($country.$nativeString.length ? 0 : 1)) { $this.$languageCode = $rt_s(18); $this.$countryCode = $rt_s(18); $this.$variantCode = $variant; return; } $this.$languageCode = $language; $this.$countryCode = $country; $this.$variantCode = $variant; return; } $language = new jl_NullPointerException; $language.$suppressionEnabled = 1; $language.$writableStackTrace = 1; $rt_throw($language); }, ju_Locale__init_ = (var_0, var_1, var_2) => { let var_3 = new ju_Locale(); ju_Locale__init_0(var_3, var_0, var_1, var_2); return var_3; }, ju_Locale_equals = ($this, $object) => { let $o, var$3, var$4; if ($object === $this) return 1; if (!($object instanceof ju_Locale)) return 0; $o = $object; $object = $this.$languageCode; var$3 = $o.$languageCode; if ($object === var$3) var$4 = 1; else if (!(var$3 instanceof jl_String)) var$4 = 0; else { var$3 = var$3; var$4 = $object.$nativeString !== var$3.$nativeString ? 0 : 1; } a: { if (var$4) { $object = $this.$countryCode; var$3 = $o.$countryCode; if ($object === var$3) var$4 = 1; else if (!(var$3 instanceof jl_String)) var$4 = 0; else { var$3 = var$3; var$4 = $object.$nativeString !== var$3.$nativeString ? 0 : 1; } if (var$4) { $object = $this.$variantCode; $o = $o.$variantCode; if ($object === $o) var$4 = 1; else if (!($o instanceof jl_String)) var$4 = 0; else { $o = $o; var$4 = $object.$nativeString !== $o.$nativeString ? 0 : 1; } if (var$4) { var$4 = 1; break a; } } } var$4 = 0; } return var$4; }, ju_Locale_getDefault = () => { ju_Locale_$callClinit(); return ju_Locale_defaultLocale; }, ju_Locale_hashCode = $this => { let var$1, var$2, var$3, var$4; a: { var$1 = $this.$countryCode; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } b: { var$3 = var$1.$hashCode1; var$1 = $this.$languageCode; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break b; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } c: { var$2 = var$3 + var$1.$hashCode1 | 0; var$1 = $this.$variantCode; if (!var$1.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$1.$nativeString.length) break c; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } return var$2 + var$1.$hashCode1 | 0; }, ju_Locale_toLanguageTag = $this => { let $result, var$2, var$3, var$4, var$5, var$6, var$7, var$8; $result = new jl_StringBuilder; $result.$buffer = $rt_createCharArray(16); var$2 = !($this.$languageCode.$nativeString.length ? 0 : 1) ? $this.$languageCode : $rt_s(615); jl_AbstractStringBuilder_insert($result, $result.$length0, var$2); if (!($this.$countryCode.$nativeString.length ? 0 : 1)) { var$3 = $result.$length0; jl_AbstractStringBuilder_insertSpace($result, var$3, var$3 + 1 | 0); $result.$buffer.data[var$3] = 45; var$2 = $this.$countryCode; jl_AbstractStringBuilder_insert($result, $result.$length0, var$2); } if (!($this.$variantCode.$nativeString.length ? 0 : 1)) { var$3 = $result.$length0; if (var$3 > 0) { jl_AbstractStringBuilder_insertSpace($result, var$3, var$3 + 1 | 0); $result.$buffer.data[var$3] = 45; var$2 = $this.$variantCode; jl_AbstractStringBuilder_insert($result, $result.$length0, var$2); } } var$2 = new jl_String; var$4 = new jl_String; var$5 = $result.$buffer; var$6 = var$5.data; var$3 = $result.$length0; var$7 = var$6.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); var$5 = $rt_createCharArray(var$4.$nativeString.length); var$6 = var$5.data; var$8 = 0; var$3 = var$6.length; a: { while (var$8 < var$3) { if (var$8 < 0) break a; if (var$8 >= var$4.$nativeString.length) break a; var$6[var$8] = var$4.$nativeString.charCodeAt(var$8); var$8 = var$8 + 1 | 0; } var$2.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); return var$2; } $result = new jl_StringIndexOutOfBoundsException; $result.$suppressionEnabled = 1; $result.$writableStackTrace = 1; $rt_throw($result); } $result = new jl_IndexOutOfBoundsException; $result.$suppressionEnabled = 1; $result.$writableStackTrace = 1; $rt_throw($result); }, ju_Locale__clinit_ = () => { let $localeName, $countryIndex; $localeName = new ju_Locale; ju_Locale_$callClinit(); ju_Locale__init_0($localeName, $rt_s(616), $rt_s(617), $rt_s(18)); ju_Locale_CANADA = $localeName; ju_Locale_CANADA_FRENCH = ju_Locale__init_($rt_s(618), $rt_s(617), $rt_s(18)); ju_Locale_CHINA = ju_Locale__init_($rt_s(619), $rt_s(620), $rt_s(18)); ju_Locale_CHINESE = ju_Locale__init_($rt_s(619), $rt_s(18), $rt_s(18)); ju_Locale_ENGLISH = ju_Locale__init_($rt_s(616), $rt_s(18), $rt_s(18)); ju_Locale_FRANCE = ju_Locale__init_($rt_s(618), $rt_s(621), $rt_s(18)); ju_Locale_FRENCH = ju_Locale__init_($rt_s(618), $rt_s(18), $rt_s(18)); ju_Locale_GERMAN = ju_Locale__init_($rt_s(622), $rt_s(18), $rt_s(18)); ju_Locale_GERMANY = ju_Locale__init_($rt_s(622), $rt_s(623), $rt_s(18)); ju_Locale_ITALIAN = ju_Locale__init_($rt_s(624), $rt_s(18), $rt_s(18)); ju_Locale_ITALY = ju_Locale__init_($rt_s(624), $rt_s(625), $rt_s(18)); ju_Locale_JAPAN = ju_Locale__init_($rt_s(626), $rt_s(627), $rt_s(18)); ju_Locale_JAPANESE = ju_Locale__init_($rt_s(626), $rt_s(18), $rt_s(18)); ju_Locale_KOREA = ju_Locale__init_($rt_s(628), $rt_s(629), $rt_s(18)); ju_Locale_KOREAN = ju_Locale__init_($rt_s(628), $rt_s(18), $rt_s(18)); ju_Locale_PRC = ju_Locale__init_($rt_s(619), $rt_s(620), $rt_s(18)); ju_Locale_SIMPLIFIED_CHINESE = ju_Locale__init_($rt_s(619), $rt_s(620), $rt_s(18)); ju_Locale_TAIWAN = ju_Locale__init_($rt_s(619), $rt_s(630), $rt_s(18)); ju_Locale_TRADITIONAL_CHINESE = ju_Locale__init_($rt_s(619), $rt_s(630), $rt_s(18)); ju_Locale_UK = ju_Locale__init_($rt_s(616), $rt_s(631), $rt_s(18)); ju_Locale_US = ju_Locale__init_($rt_s(616), $rt_s(632), $rt_s(18)); ju_Locale_ROOT = ju_Locale__init_($rt_s(18), $rt_s(18), $rt_s(18)); if (otciu_CLDRHelper_$$metadata$$10 === null) otciu_CLDRHelper_$$metadata$$10 = otciu_CLDRHelper_getDefaultLocale$$create(); $localeName = (otciu_CLDRHelper_$$metadata$$10.value !== null ? $rt_str(otciu_CLDRHelper_$$metadata$$10.value) : null); $countryIndex = jl_String_indexOf($localeName, 95, 0); ju_Locale_defaultLocale = ju_Locale__init_(jl_String_substring($localeName, 0, $countryIndex), jl_String_substring($localeName, $countryIndex + 1 | 0, $localeName.$nativeString.length), $rt_s(18)); }; function nlea_EaglerAdapterImpl2$FramebufferGL() { jl_Object.call(this); this.$obj5 = null; } function nlea_EaglerAdapterImpl2$RenderbufferGL() { jl_Object.call(this); this.$obj4 = null; } let nleat_MessageChannel = $rt_classWithoutFields(), nleat_MessageChannel__init_ = $this => { otji_JSWrapper_wrap($this); }, nleat_MessageChannel__init_0 = () => { let var_0 = new nleat_MessageChannel(); nleat_MessageChannel__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$19 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$19__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$19__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$19(); nlea_EaglerAdapterImpl2$19__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$19_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_currentMsgChannelContinueHack; nlea_EaglerAdapterImpl2_currentMsgChannelContinueHack = null; if (var$1 !== null) var$1.$run(); }, jl_Runnable = $rt_classWithoutFields(0); function nlea_EaglerAdapterImpl2$checkImmediateContinueSupport0$lambda$_205_0() { jl_Object.call(this); this.$_08 = null; } let nlea_EaglerAdapterImpl2$checkImmediateContinueSupport0$lambda$_205_0__init_ = (var$0, var$1) => { var$0.$_08 = var$1; }, nlea_EaglerAdapterImpl2$checkImmediateContinueSupport0$lambda$_205_0__init_0 = var_0 => { let var_1 = new nlea_EaglerAdapterImpl2$checkImmediateContinueSupport0$lambda$_205_0(); nlea_EaglerAdapterImpl2$checkImmediateContinueSupport0$lambda$_205_0__init_(var_1, var_0); return var_1; }, nlea_EaglerAdapterImpl2$checkImmediateContinueSupport0$lambda$_205_0_run = var$0 => { let var$1; var$1 = var$0.$_08.data; nlea_EaglerAdapterImpl2_$callClinit(); var$1[0] = 1; }; function nlea_EaglerAdapterImpl2$TextureGL() { let a = this; jl_Object.call(a); a.$obj1 = null; a.$w1 = 0; a.$h0 = 0; a.$nearest = 0; a.$anisotropic = 0; } let nleat_TeaVMUtils = $rt_classWithoutFields(), nleat_TeaVMUtils__init_ = $this => { return; }, nleat_TeaVMUtils__init_0 = () => { let var_0 = new nleat_TeaVMUtils(); nleat_TeaVMUtils__init_(var_0); return var_0; }, nleat_TeaVMUtils_wrapByteArrayBuffer = var$1 => { return var$1 ? $rt_wrapArray($rt_bytecls, new Int8Array(var$1)) : null; }, nleat_BufferConverter = $rt_classWithoutFields(), nleat_BufferConverter__init_ = $this => { return; }, nleat_BufferConverter__init_0 = () => { let var_0 = new nleat_BufferConverter(); nleat_BufferConverter__init_(var_0); return var_0; }, nleat_BufferConverter_convertIntBufferUnsigned = $b => { let $ret, var$3, $p, $l; if (!$b.$isArrayPresent()) { $ret = $rt_createIntArray($b.$limit0 - $b.$position0 | 0); jn_IntBuffer_get($b, $ret, 0, $ret.data.length); return new Uint8Array($ret.data.buffer); } var$3 = $b.$position0; $p = var$3 << 2; $l = ($b.$limit0 - var$3 | 0) << 2; return new Uint8Array(($b.$getArray()).data.buffer, $p, $l); }; function nlea_EaglerAdapterImpl2$BufferGL() { jl_Object.call(this); this.$obj2 = null; } function nlea_EaglerAdapterImpl2$ShaderGL() { jl_Object.call(this); this.$obj7 = null; } function nlea_EaglerAdapterImpl2$ProgramGL() { let a = this; jl_Object.call(a); a.$obj = null; a.$hashcode = 0; } function nlea_EaglerAdapterImpl2$UniformGL() { jl_Object.call(this); this.$obj0 = null; } function nlea_EaglerAdapterImpl2$BufferArrayGL() { let a = this; jl_Object.call(a); a.$obj3 = null; a.$isQuadBufferBound = 0; } let oti_AsyncCallback = $rt_classWithoutFields(0); function otpp_AsyncCallbackWrapper() { jl_Object.call(this); this.$realAsyncCallback = null; } let otpp_AsyncCallbackWrapper_create = $realAsyncCallback => { let var$2; var$2 = new otpp_AsyncCallbackWrapper; var$2.$realAsyncCallback = $realAsyncCallback; return var$2; }, otpp_AsyncCallbackWrapper_complete = ($this, $result) => { $this.$realAsyncCallback.$complete($result); }, otpp_AsyncCallbackWrapper_error = ($this, $e) => { $this.$realAsyncCallback.$error($e); }, otja_ReadyStateChangeHandler = $rt_classWithoutFields(0); function nlea_EaglerAdapterImpl2$1() { let a = this; jl_Object.call(a); a.$val$request = null; a.$val$cb9 = null; } let nlea_EaglerAdapterImpl2$1_stateChanged$exported$0 = var$0 => { let var$1; if (var$0.$val$request.readyState == 4) { var$1 = nleat_TeaVMUtils_wrapByteArrayBuffer(var$0.$val$request.response); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_loadedPackage = var$1; var$0.$val$cb9.$realAsyncCallback.$complete($rt_s(633)); } }, otp_PlatformRunnable = $rt_classWithoutFields(0); function nlea_EaglerAdapterImpl2$DumbSleepHandler() { jl_Object.call(this); this.$callback = null; } let nlea_EaglerAdapterImpl2$DumbSleepHandler_run = $this => { let var$1, var$2; var$1 = $this.$callback; var$2 = null; var$1.$realAsyncCallback.$complete(var$2); }, otjb_AnimationFrameCallback = $rt_classWithoutFields(0); function nlea_EaglerAdapterImpl2$asyncRequestAnimationFrame$lambda$_198_0() { let a = this; jl_Object.call(a); a.$_07 = null; a.$_10 = null; a.$_20 = null; } let nlea_EaglerAdapterImpl2$asyncRequestAnimationFrame$lambda$_198_0_onAnimationFrame$exported$0 = (var$0, var$1) => { let var$2; var$2 = var$1; nlea_EaglerAdapterImpl2_lambda$asyncRequestAnimationFrame$0(var$0.$_07, var$0.$_10, var$0.$_20, var$2); }; function nlea_EaglerAdapterImpl2$asyncRequestAnimationFrame$lambda$_198_1() { let a = this; jl_Object.call(a); a.$_09 = null; a.$_11 = null; } let nlea_EaglerAdapterImpl2$asyncRequestAnimationFrame$lambda$_198_1_onTimer$exported$0 = var$0 => { let var$1, var$2, var$3; var$1 = var$0.$_09.data; var$2 = var$0.$_11; nlea_EaglerAdapterImpl2_$callClinit(); if (!var$1[0]) { var$1[0] = 1; if (nlea_EaglerAdapterImpl2_vsyncTimeout != (-1)) { nlea_EaglerAdapterImpl2_vsyncTimeout = (-1); var$3 = null; var$2.$realAsyncCallback.$complete(var$3); } } }, jl_IllegalStateException = $rt_classWithoutFields(jl_RuntimeException), jl_IllegalStateException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_IllegalStateException__init_0 = () => { let var_0 = new jl_IllegalStateException(); jl_IllegalStateException__init_(var_0); return var_0; }; function cjj_InflaterInputStream() { let a = this; ji_FilterInputStream.call(a); a.$inflater = null; a.$buf6 = null; a.$closed0 = 0; a.$eof1 = 0; a.$close_in = 0; a.$myinflater = 0; a.$byte1 = null; a.$b = null; } let cjj_InflaterInputStream__init_ = ($this, $in, $inflater, $size, $close_in) => { $this.$in = $in; $this.$closed0 = 0; $this.$eof1 = 0; $this.$close_in = 1; $this.$myinflater = 0; $this.$byte1 = $rt_createByteArray(1); $this.$b = $rt_createByteArray(512); if ($in !== null && $inflater !== null) { if ($size > 0) { $this.$inflater = $inflater; $this.$buf6 = $rt_createByteArray($size); $this.$close_in = $close_in; return; } $inflater = new jl_IllegalArgumentException; $inflater.$suppressionEnabled = 1; $inflater.$writableStackTrace = 1; $inflater.$message = $rt_s(634); $rt_throw($inflater); } $in = new jl_NullPointerException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); }, cjj_InflaterInputStream__init_0 = (var_0, var_1, var_2, var_3) => { let var_4 = new cjj_InflaterInputStream(); cjj_InflaterInputStream__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, cjj_InflaterInputStream_read0 = $this => { let var$1; if ($this.$closed0) { var$1 = new ji_IOException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(635); $rt_throw(var$1); } return cjj_InflaterInputStream_read($this, $this.$byte1, 0, 1) == (-1) ? (-1) : $this.$byte1.data[0] & 255; }, cjj_InflaterInputStream_read = ($this, $b, $off, $len) => { let var$4, $n, var$6, $err; if ($this.$closed0) { var$4 = new ji_IOException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(635); $rt_throw(var$4); } if ($b === null) { var$4 = new jl_NullPointerException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($off >= 0 && $len >= 0 && $len <= ($b.data.length - $off | 0)) { if (!$len) return 0; if ($this.$eof1) return (-1); $n = 0; var$4 = $this.$inflater; var$4.$next_out = $b; var$4.$next_out_index = $off; var$4.$avail_out = $len; a: { while (!$this.$eof1) { if (!$this.$inflater.$avail_in) cjj_InflaterInputStream_fill($this); var$4 = $this.$inflater; var$6 = var$4.$istate; if (var$6 === null) $err = (-2); else { $err = cjj_Inflate_inflate(var$6, 0); if ($err == 1) var$4.$finished = 1; } b: { var$4 = $this.$inflater; $len = var$4.$next_out_index; $n = $n + ($len - $off | 0) | 0; switch ($err) { case -3: var$6 = new ji_IOException; var$4 = var$4.$msg; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; var$6.$message = var$4; $rt_throw(var$6); case 1: case 2: break; default: break b; } $this.$eof1 = 1; if ($err == 2) return (-1); } if (!var$4.$avail_out) break a; $off = $len; } } return $n; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); }, cjj_InflaterInputStream_available = $this => { let var$1; if (!$this.$closed0) { if (!$this.$eof1) return 1; return 0; } var$1 = new ji_IOException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(635); $rt_throw(var$1); }, cjj_InflaterInputStream_skip = ($this, $n) => { let var$2, var$3, $max, $total, $len, var$7, var$8; if (Long_lt($n, Long_ZERO)) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(636); $rt_throw(var$2); } if ($this.$closed0) { var$2 = new ji_IOException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(635); $rt_throw(var$2); } var$3 = Long_fromInt(2147483647); if (Long_lt($n, var$3)) var$3 = $n; $max = Long_lo(var$3); $total = 0; a: { while (true) { if ($total >= $max) break a; $len = $max - $total | 0; var$7 = $this.$b; var$8 = var$7.data.length; if ($len <= var$8) var$8 = $len; $len = cjj_InflaterInputStream_read($this, var$7, 0, var$8); if ($len == (-1)) break; $total = $total + $len | 0; } $this.$eof1 = 1; } return Long_fromInt($total); }, cjj_InflaterInputStream_close = $this => { let var$1; if (!$this.$closed0) { if ($this.$myinflater) { var$1 = $this.$inflater; var$1.$finished = 1; var$1 = var$1.$istate; if (var$1 !== null) { var$1 = var$1.$blocks; if (var$1 !== null) { cjj_InfBlocks_reset(var$1); var$1.$window = null; var$1.$hufts = null; } } } if ($this.$close_in) $this.$in.$close(); $this.$closed0 = 1; } }, cjj_InflaterInputStream_fill = $this => { let var$1, var$2, $len; if ($this.$closed0) { var$1 = new ji_IOException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(635); $rt_throw(var$1); } a: { var$1 = $this.$in; var$2 = $this.$buf6; $len = var$1.$read0(var$2, 0, var$2.data.length); if ($len == (-1)) { var$1 = $this.$inflater.$istate; if (var$1.$wrap2) break a; if (var$1.$mode != 12 ? 0 : 1) break a; $this.$buf6.data[0] = 0; $len = 1; } cjj_ZStream_setInput($this.$inflater, $this.$buf6, 0, $len, 1); return; } if (Long_ne(var$1.$was, Long_fromInt(-1))) { var$1 = new ji_IOException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(637); $rt_throw(var$1); } var$1 = new ji_EOFException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(638); $rt_throw(var$1); }, cjj_GZIPInputStream = $rt_classWithoutFields(cjj_InflaterInputStream), cjj_Checksum = $rt_classWithoutFields(0); function cjj_CRC32() { jl_Object.call(this); this.$v = 0; } let cjj_CRC32_crc_table = null, cjj_CRC32__init_ = $this => { $this.$v = 0; }, cjj_CRC32__init_0 = () => { let var_0 = new cjj_CRC32(); cjj_CRC32__init_(var_0); return var_0; }, cjj_CRC32_update = ($this, $buf, $index, $len) => { let $c, var$5, var$6, var$7; $c = $this.$v ^ (-1); while (true) { $len = $len + (-1) | 0; if ($len < 0) break; var$5 = $buf.data; var$6 = cjj_CRC32_crc_table.data; var$7 = $index + 1 | 0; $c = var$6[($c ^ var$5[$index]) & 255] ^ ($c >>> 8 | 0); $index = var$7; } $this.$v = $c ^ (-1); }, cjj_CRC32_reset = $this => { $this.$v = 0; }, cjj_CRC32_reset0 = ($this, $vv) => { $this.$v = Long_lo(Long_and($vv, Long_create(4294967295, 0))); }, cjj_CRC32_getValue = $this => { return Long_and(Long_fromInt($this.$v), Long_create(4294967295, 0)); }, cjj_CRC32__clinit_ = () => { let var$1, var$2, $n, $k, var$5; cjj_CRC32_crc_table = null; var$1 = $rt_createIntArray(256); var$2 = var$1.data; cjj_CRC32_crc_table = var$1; $n = 0; while ($n < 256) { $k = 8; var$5 = $n; while (true) { $k = $k + (-1) | 0; if ($k < 0) break; if (!(var$5 & 1)) { var$5 = var$5 >>> 1 | 0; continue; } var$5 = (-306674912) ^ (var$5 >>> 1 | 0); } var$2[$n] = var$5; $n = $n + 1 | 0; } }; function nle_GeneralDigest() { let a = this; jl_Object.call(a); a.$xBuf = null; a.$xBufOff = 0; a.$byteCount = Long_ZERO; } let nle_GeneralDigest_update = ($this, $in) => { let var$2, var$3, var$4, var$5; var$2 = $this.$xBuf; var$3 = var$2.data; var$4 = $this.$xBufOff; var$5 = var$4 + 1 | 0; $this.$xBufOff = var$5; var$3[var$4] = $in; if (var$5 == var$3.length) { nle_SHA1Digest_processWord($this, var$2, 0); $this.$xBufOff = 0; } $this.$byteCount = Long_add($this.$byteCount, Long_fromInt(1)); }, nle_GeneralDigest_update0 = ($this, $in, $inOff, $len) => { let var$4; a: { while ($this.$xBufOff) { if ($len <= 0) break a; nle_GeneralDigest_update($this, $in.data[$inOff]); $inOff = $inOff + 1 | 0; $len = $len + (-1) | 0; } } while ($len > $this.$xBuf.data.length) { nle_SHA1Digest_processWord($this, $in, $inOff); var$4 = $this.$xBuf.data.length; $inOff = $inOff + var$4 | 0; $len = $len - var$4 | 0; $this.$byteCount = Long_add($this.$byteCount, Long_fromInt(var$4)); } while ($len > 0) { nle_GeneralDigest_update($this, $in.data[$inOff]); $inOff = $inOff + 1 | 0; $len = $len + (-1) | 0; } }; function nle_SHA1Digest() { let a = this; nle_GeneralDigest.call(a); a.$H1 = 0; a.$H2 = 0; a.$H3 = 0; a.$H4 = 0; a.$H5 = 0; a.$X = null; a.$xOff = 0; } let nle_SHA1Digest__init_ = $this => { $this.$xBuf = $rt_createByteArray(4); $this.$xBufOff = 0; $this.$X = $rt_createIntArray(80); nle_SHA1Digest_reset($this); }, nle_SHA1Digest__init_0 = () => { let var_0 = new nle_SHA1Digest(); nle_SHA1Digest__init_(var_0); return var_0; }, nle_SHA1Digest_processWord = ($this, $in, $inOff) => { let var$3, var$4, var$5; var$3 = $in.data; $in = $this.$X.data; var$4 = $this.$xOff; var$5 = var$4 + 1 | 0; $this.$xOff = var$5; $in[var$4] = (var$3[$inOff] & 255) << 24 | (var$3[$inOff + 1 | 0] & 255) << 16 | (var$3[$inOff + 2 | 0] & 255) << 8 | var$3[$inOff + 3 | 0] & 255; if (var$5 == 16) nle_SHA1Digest_processBlock($this); }, nle_SHA1Digest_unpackWord = ($this, $word, $out, $outOff) => { $out = $out.data; $out[$outOff] = ($word >>> 24 | 0) << 24 >> 24; $out[$outOff + 1 | 0] = ($word >>> 16 | 0) << 24 >> 24; $out[$outOff + 2 | 0] = ($word >>> 8 | 0) << 24 >> 24; $out[$outOff + 3 | 0] = $word << 24 >> 24; }, nle_SHA1Digest_doFinal = ($this, $out, $outOff) => { let var$3, var$4; var$3 = Long_shl($this.$byteCount, 3); nle_GeneralDigest_update($this, (-128)); while ($this.$xBufOff) { nle_GeneralDigest_update($this, 0); } if ($this.$xOff > 14) nle_SHA1Digest_processBlock($this); var$4 = $this.$X.data; var$4[14] = Long_hi(var$3); var$4[15] = Long_lo(Long_and(var$3, Long_fromInt(-1))); nle_SHA1Digest_processBlock($this); nle_SHA1Digest_unpackWord($this, $this.$H1, $out, $outOff); nle_SHA1Digest_unpackWord($this, $this.$H2, $out, $outOff + 4 | 0); nle_SHA1Digest_unpackWord($this, $this.$H3, $out, $outOff + 8 | 0); nle_SHA1Digest_unpackWord($this, $this.$H4, $out, $outOff + 12 | 0); nle_SHA1Digest_unpackWord($this, $this.$H5, $out, $outOff + 16 | 0); nle_SHA1Digest_reset($this); return 20; }, nle_SHA1Digest_reset = $this => { let $i, var$2; $this.$byteCount = Long_ZERO; $this.$xBufOff = 0; $i = 0; while (true) { var$2 = $this.$xBuf.data; if ($i >= var$2.length) break; var$2[$i] = 0; $i = $i + 1 | 0; } $this.$H1 = 1732584193; $this.$H2 = (-271733879); $this.$H3 = (-1732584194); $this.$H4 = 271733878; $this.$H5 = (-1009589776); $this.$xOff = 0; $i = 0; while (true) { var$2 = $this.$X.data; if ($i == var$2.length) break; var$2[$i] = 0; $i = $i + 1 | 0; } }, nle_SHA1Digest_processBlock = $this => { let $i, var$2, $A, $B, $C, $D, $E, $j, var$9, var$10, var$11, var$12, var$13, $t, $j_0; $i = 16; while ($i <= 79) { var$2 = $this.$X.data; $A = var$2[$i - 3 | 0] ^ var$2[$i - 8 | 0] ^ var$2[$i - 14 | 0] ^ var$2[$i - 16 | 0]; var$2[$i] = $A << 1 | ($A >>> 31 | 0); $i = $i + 1 | 0; } $A = $this.$H1; $B = $this.$H2; $C = $this.$H3; $D = $this.$H4; $E = $this.$H5; $j = 0; var$9 = $E; var$10 = $D; var$11 = $C; var$12 = $B; var$13 = $A; while ($j <= 19) { $t = ((((var$13 << 5 | (var$13 >>> 27 | 0)) + (var$12 & var$11 | (var$12 ^ (-1)) & var$10) | 0) + var$9 | 0) + $this.$X.data[$j] | 0) + 1518500249 | 0; $j_0 = var$12 << 30 | (var$12 >>> 2 | 0); $j = $j + 1 | 0; var$9 = var$10; var$10 = var$11; var$11 = $j_0; var$12 = var$13; var$13 = $t; } $j = 20; while ($j <= 39) { $t = ((((var$13 << 5 | (var$13 >>> 27 | 0)) + (var$12 ^ var$11 ^ var$10) | 0) + var$9 | 0) + $this.$X.data[$j] | 0) + 1859775393 | 0; $i = var$12 << 30 | (var$12 >>> 2 | 0); $j = $j + 1 | 0; var$9 = var$10; var$10 = var$11; var$11 = $i; var$12 = var$13; var$13 = $t; } $j = 40; while ($j <= 59) { $t = ((((var$13 << 5 | (var$13 >>> 27 | 0)) + (var$12 & var$11 | var$12 & var$10 | var$11 & var$10) | 0) + var$9 | 0) + $this.$X.data[$j] | 0) + (-1894007588) | 0; $i = var$12 << 30 | (var$12 >>> 2 | 0); $j = $j + 1 | 0; var$9 = var$10; var$10 = var$11; var$11 = $i; var$12 = var$13; var$13 = $t; } $j_0 = 60; while ($j_0 <= 79) { $t = ((((var$13 << 5 | (var$13 >>> 27 | 0)) + (var$12 ^ var$11 ^ var$10) | 0) + var$9 | 0) + $this.$X.data[$j_0] | 0) + (-899497514) | 0; $j = var$12 << 30 | (var$12 >>> 2 | 0); $j_0 = $j_0 + 1 | 0; var$9 = var$10; var$10 = var$11; var$11 = $j; var$12 = var$13; var$13 = $t; } $this.$H1 = $A + var$13 | 0; $this.$H2 = $B + var$12 | 0; $this.$H3 = $C + var$11 | 0; $this.$H4 = $D + var$10 | 0; $this.$H5 = $E + var$9 | 0; $this.$xOff = 0; $i = 0; while (true) { var$2 = $this.$X.data; if ($i == var$2.length) break; var$2[$i] = 0; $i = $i + 1 | 0; } }; function nms_Gui() { jl_Object.call(this); this.$zLevel = 0.0; } let nms_Gui_optionsBackground = null, nms_Gui_statIcons = null, nms_Gui_icons = null, nms_Gui_$callClinit = () => { nms_Gui_$callClinit = $rt_eraseClinit(nms_Gui); nms_Gui__clinit_(); }, nms_Gui__init_ = $this => { nms_Gui_$callClinit(); }, nms_Gui__init_0 = () => { let var_0 = new nms_Gui(); nms_Gui__init_(var_0); return var_0; }, nms_Gui_drawRect = ($par0, $par1, $par2, $par3, $par4) => { let var$6, $var10, $var6, $var7, $var8, $var9, var$12, var$13, var$14; nms_Gui_$callClinit(); if ($par0 >= $par2) { var$6 = $par2; $par2 = $par0; $par0 = var$6; } if ($par1 >= $par3) { var$6 = $par3; $par3 = $par1; $par1 = var$6; } $var10 = ($par4 >> 24 & 255) / 255.0; $var6 = ($par4 >> 16 & 255) / 255.0; $var7 = ($par4 >> 8 & 255) / 255.0; $var8 = ($par4 & 255) / 255.0; nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var6; nleg_EaglerAdapterGL30_colorG = $var7; nleg_EaglerAdapterGL30_colorB = $var8; nleg_EaglerAdapterGL30_colorA = $var10; if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; var$12 = $par2; var$13 = $par1; nlea_Tessellator_addVertex($var9, var$12, var$13, 0.0); var$14 = $par0; nlea_Tessellator_addVertex($var9, var$14, var$13, 0.0); var$13 = $par3; nlea_Tessellator_addVertex($var9, var$14, var$13, 0.0); nlea_Tessellator_addVertex($var9, var$12, var$13, 0.0); nlea_Tessellator_draw($var9); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glDisable(3042); }, nms_Gui_drawGradientRect = ($this, $par1, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8, $var9, $var10, $var11, $var12, $var13, $var14, $var15, var$16, var$17, var$18; $var7 = ($par5 >> 24 & 255) / 255.0; $var8 = ($par5 >> 16 & 255) / 255.0; $var9 = ($par5 >> 8 & 255) / 255.0; $var10 = ($par5 & 255) / 255.0; $var11 = ($par6 >> 24 & 255) / 255.0; $var12 = ($par6 >> 16 & 255) / 255.0; $var13 = ($par6 >> 8 & 255) / 255.0; $var14 = ($par6 & 255) / 255.0; nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nlea_Tessellator_$callClinit(); $var15 = nlea_Tessellator_instance; if ($var15.$isDrawing) nlea_Tessellator_draw($var15); $var15.$isDrawing = 1; $var15.$vertexCount = 0; $var15.$rawBufferIndex = 0; $var15.$addedVertices = 0; $var15.$drawMode = 7; $var15.$hasNormals = 0; $var15.$hasColor = 0; $var15.$hasTexture = 0; $var15.$hasBrightness = 0; $var15.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var15, $var8 * 255.0 | 0, $var9 * 255.0 | 0, $var10 * 255.0 | 0, $var7 * 255.0 | 0); var$16 = $par3; var$17 = $par2; nlea_Tessellator_addVertex($var15, var$16, var$17, $this.$zLevel); var$18 = $par1; nlea_Tessellator_addVertex($var15, var$18, var$17, $this.$zLevel); nlea_Tessellator_setColorRGBA($var15, $var12 * 255.0 | 0, $var13 * 255.0 | 0, $var14 * 255.0 | 0, $var11 * 255.0 | 0); var$17 = $par4; nlea_Tessellator_addVertex($var15, var$18, var$17, $this.$zLevel); nlea_Tessellator_addVertex($var15, var$16, var$17, $this.$zLevel); nlea_Tessellator_draw($var15); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glEnable(3553); }, nms_Gui_drawCenteredString = ($this, $par1FontRenderer, $par2Str, $par3, $par4, $par5) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2Str = $thread.pop();$par1FontRenderer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par3 = $par3 - (nms_FontRenderer_getStringWidth($par1FontRenderer, $par2Str) / 2 | 0) | 0; $par1FontRenderer.$randomStyle = 0; $par1FontRenderer.$boldStyle = 0; $par1FontRenderer.$italicStyle = 0; $par1FontRenderer.$underlineStyle = 0; $par1FontRenderer.$strikethroughStyle = 0; var$6 = $par3 + 1 | 0; var$7 = $par4 + 1 | 0; var$8 = 1; $ptr = 1; case 1: $tmp = nms_FontRenderer_renderString($par1FontRenderer, $par2Str, var$6, var$7, $par5, var$8); if ($rt_suspending()) { break main; } var$7 = $tmp; var$6 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($par1FontRenderer, $par2Str, $par3, $par4, $par5, var$6); if ($rt_suspending()) { break main; } $par3 = $tmp; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1FontRenderer, $par2Str, $par3, $par4, $par5, var$6, var$7, var$8, $ptr); }, nms_Gui_drawString = ($this, $par1FontRenderer, $par2Str, $par3, $par4, $par5) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2Str = $thread.pop();$par1FontRenderer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1FontRenderer.$randomStyle = 0; $par1FontRenderer.$boldStyle = 0; $par1FontRenderer.$italicStyle = 0; $par1FontRenderer.$underlineStyle = 0; $par1FontRenderer.$strikethroughStyle = 0; var$6 = $par3 + 1 | 0; var$7 = $par4 + 1 | 0; var$8 = 1; $ptr = 1; case 1: $tmp = nms_FontRenderer_renderString($par1FontRenderer, $par2Str, var$6, var$7, $par5, var$8); if ($rt_suspending()) { break main; } var$8 = $tmp; var$6 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($par1FontRenderer, $par2Str, $par3, $par4, $par5, var$6); if ($rt_suspending()) { break main; } $par3 = $tmp; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1FontRenderer, $par2Str, $par3, $par4, $par5, var$6, var$7, var$8, $ptr); }, nms_Gui_drawTexturedModalRect = ($this, $par1, $par2, $par3, $par4, $par5, $par6) => { let $var9, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var7; nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; var$8 = $par1 + 0 | 0; var$9 = $par2 + $par6 | 0; var$10 = $this.$zLevel; var$11 = ($par3 + 0 | 0) * 0.00390625; var$12 = ($par4 + $par6 | 0) * 0.00390625; $var9.$hasTexture = 1; var$13 = var$11; $var9.$textureU = var$13; var$14 = var$12; $var9.$textureV = var$14; nlea_Tessellator_addVertex($var9, var$8, var$9, var$10); var$10 = $par1 + $par5 | 0; var$11 = $this.$zLevel; var$12 = ($par3 + $par5 | 0) * 0.00390625; $var9.$hasTexture = 1; $var7 = var$12; $var9.$textureU = $var7; $var9.$textureV = var$14; nlea_Tessellator_addVertex($var9, var$10, var$9, var$11); var$9 = $par2 + 0 | 0; var$11 = $this.$zLevel; var$12 = ($par4 + 0 | 0) * 0.00390625; $var9.$hasTexture = 1; $var9.$textureU = $var7; var$14 = var$12; $var9.$textureV = var$14; nlea_Tessellator_addVertex($var9, var$10, var$9, var$11); var$10 = $this.$zLevel; $var9.$hasTexture = 1; $var9.$textureU = var$13; $var9.$textureV = var$14; nlea_Tessellator_addVertex($var9, var$8, var$9, var$10); nlea_Tessellator_draw($var9); }, nms_Gui_drawTexturedModelRectFromIcon = ($this, $par1, $par2, $par3Icon, $par4, $par5) => { let $var6, var$7, var$8, var$9, var$10, var$11, var$12; nlea_Tessellator_$callClinit(); $var6 = nlea_Tessellator_instance; if ($var6.$isDrawing) nlea_Tessellator_draw($var6); $var6.$isDrawing = 1; $var6.$vertexCount = 0; $var6.$rawBufferIndex = 0; $var6.$addedVertices = 0; $var6.$drawMode = 7; $var6.$hasNormals = 0; $var6.$hasColor = 0; $var6.$hasTexture = 0; $var6.$hasBrightness = 0; $var6.$isColorDisabled = 0; var$7 = $par1 + 0 | 0; var$8 = $par2 + $par5 | 0; var$9 = $this.$zLevel; var$10 = $par3Icon.$getMinU(); var$11 = $par3Icon.$getMaxV(); $var6.$hasTexture = 1; $var6.$textureU = var$10; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, var$7, var$8, var$9); var$9 = $par1 + $par4 | 0; var$10 = $this.$zLevel; var$11 = $par3Icon.$getMaxU(); var$12 = $par3Icon.$getMaxV(); $var6.$hasTexture = 1; $var6.$textureU = var$11; $var6.$textureV = var$12; nlea_Tessellator_addVertex($var6, var$9, var$8, var$10); var$8 = $par2 + 0 | 0; var$10 = $this.$zLevel; var$11 = $par3Icon.$getMaxU(); var$12 = $par3Icon.$getMinV(); $var6.$hasTexture = 1; $var6.$textureU = var$11; $var6.$textureV = var$12; nlea_Tessellator_addVertex($var6, var$9, var$8, var$10); var$9 = $this.$zLevel; var$10 = $par3Icon.$getMinU(); var$11 = $par3Icon.$getMinV(); $var6.$hasTexture = 1; $var6.$textureU = var$10; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, var$7, var$8, var$9); nlea_Tessellator_draw($var6); }, nms_Gui__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(639); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_Gui_optionsBackground = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(640); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_Gui_statIcons = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(641); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_Gui_icons = var$1; }; function nms_GuiScreen() { let a = this; nms_Gui.call(a); a.$mc = null; a.$width = 0; a.$height = 0; a.$buttonList = null; a.$allowUserInput = 0; a.$fontRenderer = null; a.$guiParticles = null; a.$selectedButton = null; a.$eventButton = 0; a.$field_85043_c = Long_ZERO; a.$field_92018_d = 0; } let nms_GuiScreen_tex_background = null, nms_GuiScreen_$callClinit = () => { nms_GuiScreen_$callClinit = $rt_eraseClinit(nms_GuiScreen); nms_GuiScreen__clinit_(); }, nms_GuiScreen__init_ = $this => { let var$1; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$buttonList = var$1; $this.$allowUserInput = 0; $this.$selectedButton = null; $this.$eventButton = 0; $this.$field_85043_c = Long_ZERO; $this.$field_92018_d = 0; }, nms_GuiScreen__init_0 = () => { let var_0 = new nms_GuiScreen(); nms_GuiScreen__init_(var_0); return var_0; }, nms_GuiScreen_keyTyped = ($this, $par1, $par2) => { return; }, nms_GuiScreen_mouseClicked = ($this, $par1, $par2, $par3) => { let $var4, $var5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { b: { if (!$par3) { $var4 = 0; while (true) { $var5 = $this.$buttonList; $par3 = $rt_compare($var4, $var5.$size0); if ($par3 >= 0) break b; if ($var4 < 0) break a; if ($par3 >= 0) break a; $var5 = $var5.$array.data[$var4]; if ($var5.$mousePressed($this.$mc, $par1, $par2)) { $this.$selectedButton = $var5; var$6 = $this.$mc.$sndManager; var$7 = $rt_s(642); var$8 = 1.0; var$9 = 1.0; $ptr = 1; continue main; } $var4 = $var4 + 1 | 0; } } } return; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 1: nms_SoundManager_playSoundFX(var$6, var$7, var$8, var$9); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $this.$actionPerformed($var5); if ($rt_suspending()) { break main; } a: { while (true) { $var4 = $var4 + 1 | 0; $var5 = $this.$buttonList; $par3 = $rt_compare($var4, $var5.$size0); if ($par3 >= 0) break; if ($var4 < 0) break a; if ($par3 >= 0) break a; $var5 = $var5.$array.data[$var4]; if (!$var5.$mousePressed($this.$mc, $par1, $par2)) continue; else { $this.$selectedButton = $var5; var$6 = $this.$mc.$sndManager; var$7 = $rt_s(642); var$8 = 1.0; var$9 = 1.0; $ptr = 1; continue main; } } return; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var5, var$6, var$7, var$8, var$9, $ptr); }, nms_GuiScreen_mouseMovedOrUp = ($this, $par1, $par2, $par3) => { let var$4; var$4 = $this.$selectedButton; if (var$4 !== null && !$par3) { var$4.$mouseReleased($par1, $par2); $this.$selectedButton = null; } }, nms_GuiScreen_func_85041_a = ($this, $par1, $par2, $par3, $par4) => { return; }, nms_GuiScreen_actionPerformed = ($this, $par1GuiButton) => { return; }, nms_GuiScreen_setWorldAndResolution = ($this, $par1Minecraft, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Minecraft = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = new nms_GuiParticle; nms_GuiParticle_$callClinit(); nms_Gui_$callClinit(); var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$4.$particles = var$5; var$4.$mc14 = $par1Minecraft; $this.$guiParticles = var$4; $this.$mc = $par1Minecraft; $this.$fontRenderer = $par1Minecraft.$fontRenderer0; $this.$width = $par2; $this.$height = $par3; $par1Minecraft = $this.$buttonList; var$6 = $par1Minecraft.$array; $par2 = 0; var$7 = $par1Minecraft.$size0; var$4 = null; if ($par2 > var$7) { $par1Minecraft = new jl_IllegalArgumentException; $par1Minecraft.$suppressionEnabled = 1; $par1Minecraft.$writableStackTrace = 1; $rt_throw($par1Minecraft); } while ($par2 < var$7) { var$8 = var$6.data; $par3 = $par2 + 1 | 0; var$8[$par2] = var$4; $par2 = $par3; } $par1Minecraft.$size0 = 0; $par1Minecraft.$modCount = $par1Minecraft.$modCount + 1 | 0; $ptr = 1; case 1: $this.$initGui(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Minecraft, $par2, $par3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_GuiScreen_initGui = $this => { return; }, nms_GuiScreen_handleInput = $this => { let var$1, var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_currentEvent = null; var$1 = nlea_EaglerAdapterImpl2_mouseEvents; var$2 = var$1.$size2 ? 0 : 1; a: { if (!var$2) { var$1 = ju_LinkedList_listIterator(var$1, 0); var$3 = ju_LinkedList$SequentialListIterator_next(var$1); ju_LinkedList$SequentialListIterator_remove(var$1); otji_JSWrapper_$callClinit(); var$1 = var$3 === null ? null : var$3[$rt_jso_marker] === true ? var$3 : var$3.$js; nlea_EaglerAdapterImpl2_currentEvent = var$1; if (var$1 !== null) { var$2 = 1; break a; } } var$2 = 0; } if (var$2) { $ptr = 1; continue main; } if (!nlea_EaglerAdapterImpl2_keysNext()) return; $ptr = 2; continue main; case 1: $this.$handleMouseInput(); if ($rt_suspending()) { break main; } nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_currentEvent = null; var$1 = nlea_EaglerAdapterImpl2_mouseEvents; var$2 = var$1.$size2 ? 0 : 1; a: { if (!var$2) { var$1 = ju_LinkedList_listIterator(var$1, 0); var$3 = ju_LinkedList$SequentialListIterator_next(var$1); ju_LinkedList$SequentialListIterator_remove(var$1); otji_JSWrapper_$callClinit(); var$1 = var$3 === null ? null : var$3[$rt_jso_marker] === true ? var$3 : var$3.$js; nlea_EaglerAdapterImpl2_currentEvent = var$1; if (var$1 !== null) { var$2 = 1; break a; } } var$2 = 0; } if (var$2) { continue main; } if (!nlea_EaglerAdapterImpl2_keysNext()) return; $ptr = 2; case 2: nms_GuiScreen_handleKeyboardInput($this); if ($rt_suspending()) { break main; } if (!nlea_EaglerAdapterImpl2_keysNext()) return; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); }, nms_GuiScreen_handleMouseInput = $this => { let var$1, $var2, $var1, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var1 = $thread.pop();$var2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_currentEvent; $var2 = var$1 === null ? (-1) : var$1.clientX * nlea_EaglerAdapterImpl2_win.devicePixelRatio | 0; $var1 = $rt_imul($var2, $this.$width) / $this.$mc.$displayWidth | 0; $var2 = ($this.$height - ($rt_imul(nlea_EaglerAdapterImpl2_mouseGetEventY(), $this.$height) / $this.$mc.$displayHeight | 0) | 0) - 1 | 0; var$1 = nlea_EaglerAdapterImpl2_currentEvent; if (var$1 === null) var$4 = 0; else { var$5 = $rt_str(var$1.type); if (var$5 === $rt_s(490)) var$4 = 1; else if (!($rt_s(490) instanceof jl_String)) var$4 = 0; else { var$1 = $rt_s(490); var$4 = var$5.$nativeString !== var$1.$nativeString ? 0 : 1; } } if (var$4) { if ($this.$mc.$gameSettings.$touchscreen) { var$4 = $this.$field_92018_d; $this.$field_92018_d = var$4 + 1 | 0; if (var$4 > 0) return; } $this.$eventButton = nlea_EaglerAdapterImpl2_mouseGetEventButton(); $this.$field_85043_c = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4 = $this.$eventButton; $ptr = 1; continue main; } if (nlea_EaglerAdapterImpl2_mouseGetEventButton() == (-1)) { if ($this.$eventButton != (-1) && Long_gt($this.$field_85043_c, Long_ZERO)) nlea_EaglerAdapterImpl2_steadyTimeFunc(); return; } if ($this.$mc.$gameSettings.$touchscreen) { var$4 = $this.$field_92018_d - 1 | 0; $this.$field_92018_d = var$4; if (var$4 > 0) return; } $this.$eventButton = (-1); var$4 = nlea_EaglerAdapterImpl2_mouseGetEventButton(); $ptr = 2; continue main; case 1: $this.$mouseClicked($var1, $var2, var$4); if ($rt_suspending()) { break main; } return; case 2: $this.$mouseMovedOrUp($var1, $var2, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var2, $var1, var$4, var$5, $ptr); }, nms_GuiScreen_handleKeyboardInput = $this => { let var$1, $var2, var$3, $var1, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var1 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_currentEventK; if (var$1 === null) $var2 = 0; else { var$3 = $rt_str(var$1.type); if (var$3 === $rt_s(488)) $var2 = 1; else if (!($rt_s(488) instanceof jl_String)) $var2 = 0; else { var$1 = $rt_s(488); $var2 = var$3.$nativeString !== var$1.$nativeString ? 0 : 1; } $var2 = $var2 ? 0 : 1; } if (!$var2) return; var$1 = nlea_EaglerAdapterImpl2_currentEventK; if (var$1 === null) $var1 = (-1); else { $var2 = var$1.which; var$5 = nlea_EaglerAdapterImpl2_LWJGLKeyCodes.data; $var1 = $var2 <= var$5.length && $var2 >= 0 ? var$5[$var2] : (-1); } $var2 = nlea_EaglerAdapterImpl2_getEventChar(); $ptr = 1; case 1: $this.$keyTyped($var2, $var1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var2, var$3, $var1, var$5, $ptr); }, nms_GuiScreen_updateScreen = $this => { return; }, nms_GuiScreen_onGuiClosed = $this => { return; }, nms_GuiScreen_drawDefaultBackground = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = 0; if ($this.$mc.$theWorld !== null) { nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); return; } $ptr = 1; case 1: nms_GuiScreen_drawBackground($this, var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_GuiScreen_drawWorldBackground = ($this, $par1) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$mc.$theWorld !== null) { nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); return; } $ptr = 1; case 1: nms_GuiScreen_drawBackground($this, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $ptr); }, nms_GuiScreen_drawBackground = ($this, $par1) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2912); nlea_Tessellator_$callClinit(); $var2 = nlea_Tessellator_instance; nms_GuiScreen_$callClinit(); var$3 = nms_GuiScreen_tex_background; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$3); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; if ($var2.$isDrawing) nlea_Tessellator_draw($var2); $var2.$isDrawing = 1; $var2.$vertexCount = 0; $var2.$rawBufferIndex = 0; $var2.$addedVertices = 0; $var2.$drawMode = 7; $var2.$hasNormals = 0; $var2.$hasColor = 0; $var2.$hasTexture = 0; $var2.$hasBrightness = 0; $var2.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var2, 64, 64, 64, 255); var$4 = $this.$height; var$5 = var$4; var$6 = var$4 / 32.0; var$7 = $par1; var$8 = var$6 + var$7; $var2.$hasTexture = 1; $var2.$textureU = 0.0; $var2.$textureV = var$8; nlea_Tessellator_addVertex($var2, 0.0, var$5, 0.0); var$4 = $this.$width; var$9 = var$4; var$10 = $this.$height; var$11 = var$10; var$8 = var$4 / 32.0; var$12 = var$10 / 32.0 + var$7; $var2.$hasTexture = 1; $var2.$textureU = var$8; $var2.$textureV = var$12; nlea_Tessellator_addVertex($var2, var$9, var$11, 0.0); var$4 = $this.$width; var$9 = var$4; var$8 = var$4 / 32.0; var$12 = $par1; $var2.$hasTexture = 1; $var2.$textureU = var$8; var$6 = var$12; $var2.$textureV = var$6; nlea_Tessellator_addVertex($var2, var$9, 0.0, 0.0); $var2.$hasTexture = 1; $var2.$textureU = 0.0; $var2.$textureV = var$6; nlea_Tessellator_addVertex($var2, 0.0, 0.0, 0.0); nlea_Tessellator_draw($var2); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_GuiScreen_doesGuiPauseGame = $this => { return 1; }, nms_GuiScreen__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(643); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiScreen_tex_background = var$1; }; function nle_GuiScreenEditProfile() { let a = this; nms_GuiScreen.call(a); a.$parent4 = null; a.$username0 = null; a.$dropDownOpen = 0; a.$dropDownOptions = null; a.$slotsVisible = 0; a.$selectedSlot = 0; a.$newSkinNotificationIndexCurrent = 0; a.$scrollPos = 0; a.$skinsHeight = 0; a.$dragging0 = 0; a.$mousex = 0; a.$mousey = 0; a.$newSkinWaitSteveOrAlex = 0; a.$screenTitle4 = null; a.$button0 = null; a.$button1 = null; a.$button2 = null; } let nle_GuiScreenEditProfile_gui = null, nle_GuiScreenEditProfile_defaultOptions = null, nle_GuiScreenEditProfile_newDefaultNotice = 0, nle_GuiScreenEditProfile_$callClinit = () => { nle_GuiScreenEditProfile_$callClinit = $rt_eraseClinit(nle_GuiScreenEditProfile); nle_GuiScreenEditProfile__clinit_(); }, nle_GuiScreenEditProfile__init_0 = ($this, $parent) => { nle_GuiScreenEditProfile_$callClinit(); nms_GuiScreen__init_($this); $this.$dropDownOpen = 0; $this.$slotsVisible = 0; $this.$selectedSlot = 0; $this.$newSkinNotificationIndexCurrent = 0; $this.$scrollPos = (-1); $this.$skinsHeight = 0; $this.$dragging0 = 0; $this.$mousex = 0; $this.$mousey = 0; $this.$newSkinWaitSteveOrAlex = 0; $this.$screenTitle4 = $rt_s(644); $this.$parent4 = $parent; nle_EaglerProfile_$callClinit(); $this.$newSkinNotificationIndexCurrent = nle_EaglerProfile_newSkinNotificationIndex; nle_GuiScreenEditProfile_reconcatDD($this); }, nle_GuiScreenEditProfile__init_ = var_0 => { let var_1 = new nle_GuiScreenEditProfile(); nle_GuiScreenEditProfile__init_0(var_1, var_0); return var_1; }, nle_GuiScreenEditProfile_reconcatDD = $this => { let var$1, var$2, $n, var$4, $i, var$6, var$7; nle_EaglerProfile_$callClinit(); var$1 = nle_EaglerProfile_skins; var$2 = var$1.$size0; $n = $rt_createArray(jl_String, var$2); var$4 = $n.data; $i = 0; var$6 = var$4.length; while (true) { if ($i >= var$6) { nle_GuiScreenEditProfile_$callClinit(); var$4 = nle_GuiScreenEditProfile_defaultOptions; $i = var$4.data.length; var$7 = $rt_createArray(jl_String, var$6 + $i | 0); jl_System_fastArraycopy($n, 0, var$7, 0, var$6); jl_System_fastArraycopy(var$4, 0, var$7, var$6, $i); $this.$dropDownOptions = var$7; return; } if ($i < 0) break; if ($i >= var$2) break; var$4[$i] = var$1.$array.data[$i].$name16; $i = $i + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nle_GuiScreenEditProfile_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; $this.$screenTitle4 = nms_StringTranslate_translateKey($var1, $rt_s(645)); var$2 = nms_GuiTextField__init_($this.$fontRenderer, (($this.$width / 2 | 0) - 20 | 0) + 1 | 0, (($this.$height / 6 | 0) + 24 | 0) + 1 | 0, 138, 20); $this.$username0 = var$2; if (!var$2.$isFocused0) var$2.$cursorCounter = 0; var$2.$isFocused0 = 1; nle_EaglerProfile_$callClinit(); var$3 = nle_EaglerProfile_username; var$4 = var$3.$nativeString.length; var$5 = var$2.$maxStringLength; if (var$4 <= var$5) var$2.$text = var$3; else var$2.$text = jl_String_substring(var$3, 0, var$5); var$2.$cursorPosition = var$2.$text.$nativeString.length; var$5 = var$2.$text.$nativeString.length; if (var$2.$cursorPosition < 0) var$2.$cursorPosition = 0; if (var$2.$cursorPosition > var$5) var$2.$cursorPosition = var$5; nms_GuiTextField_setSelectionPos(var$2, var$2.$cursorPosition); var$4 = nle_EaglerProfile_presetSkinId; $this.$selectedSlot = var$4 == (-1) ? nle_EaglerProfile_customSkinId : var$4 + nle_EaglerProfile_skins.$size0 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 100 | 0; var$8 = ($this.$height / 6 | 0) + 168 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(646)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 200; var$6.$xPosition = var$7; var$6.$yPosition = var$8; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = var$2; $this.$button0 = var$6; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$9 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$9[var$5] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 21 | 0; var$10 = ($this.$height / 6 | 0) + 110 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(647)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 2; var$6.$xPosition = var$5; var$6.$yPosition = var$10; var$6.$width0 = 71; var$6.$height0 = 20; var$6.$displayString = var$2; $this.$button1 = var$6; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$9 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$9[var$5] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$2 = $this.$buttonList; var$3 = new nms_GuiButton; var$5 = (($this.$width / 2 | 0) - 21 | 0) + 71 | 0; var$10 = ($this.$height / 6 | 0) + 110 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(648)); var$3.$width0 = 200; var$3.$height0 = 20; var$3.$enabled = 1; var$3.$drawButton0 = 1; var$3.$id0 = 3; var$3.$xPosition = var$5; var$3.$yPosition = var$10; var$3.$width0 = 72; var$3.$height0 = 20; var$3.$displayString = var$6; $this.$button2 = var$3; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$9 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$9[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; }, nle_GuiScreenEditProfile_drawScreen = ($this, $mx, $my, $par3) => { let $var1, $skid, $capesText, $eee, $color, $skinWidth, $cnt, $skinX, $skinY, $scrollerPos, var$14, var$15, var$16, var$17, $scrollerSize, $i, $skinHeight, $xx, $w, $idx, $yy, $mouseOver, $cc, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$cc = $thread.pop();$mouseOver = $thread.pop();$yy = $thread.pop();$idx = $thread.pop();$w = $thread.pop();$xx = $thread.pop();$skinHeight = $thread.pop();$i = $thread.pop();$scrollerSize = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$scrollerPos = $thread.pop();$skinY = $thread.pop();$skinX = $thread.pop();$cnt = $thread.pop();$skinWidth = $thread.pop();$color = $thread.pop();$eee = $thread.pop();$capesText = $thread.pop();$skid = $thread.pop();$var1 = $thread.pop();$par3 = $thread.pop();$my = $thread.pop();$mx = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; $skid = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $capesText = $this.$fontRenderer; $eee = $this.$screenTitle4; $color = $this.$width / 2 | 0; $skinWidth = 15; $skid = 16777215; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, $skid); if ($rt_suspending()) { break main; } $capesText = $this.$fontRenderer; $eee = $this.$screenTitle4; $color = $this.$width / 2 | 0; $skinWidth = 15; $skid = 16777215; $ptr = 2; case 2: nms_Gui_drawCenteredString($this, $capesText, $eee, $color, $skinWidth, $skid); if ($rt_suspending()) { break main; } $capesText = $this.$fontRenderer; $eee = nms_StringTranslate_translateKey($var1, $rt_s(649)); $skid = ($this.$width / 2 | 0) - 20 | 0; $color = ($this.$height / 6 | 0) + 8 | 0; $skinWidth = 10526880; $ptr = 3; case 3: nms_Gui_drawString($this, $capesText, $eee, $skid, $color, $skinWidth); if ($rt_suspending()) { break main; } $this.$newSkinNotificationIndexCurrent = 23948923; nle_GuiScreenEditProfile_$callClinit(); $cnt = nle_GuiScreenEditProfile_defaultOptions.data.length - 23948923 | 0; if ($cnt <= 0) { $capesText = $this.$fontRenderer; $eee = nms_StringTranslate_translateKey($var1, $rt_s(650)); $skid = ($this.$width / 2 | 0) - 20 | 0; $color = ($this.$height / 6 | 0) + 66 | 0; $skinWidth = 10526880; $ptr = 4; continue main; } $this.$mousex = $mx; $this.$mousey = $my; $skinX = ($this.$width / 2 | 0) - 120 | 0; $skinY = ($this.$height / 6 | 0) + 8 | 0; $skinWidth = $skinX + 80 | 0; $scrollerPos = $skinY + 130 | 0; nms_Gui_drawRect($skinX, $skinY, $skinWidth, $scrollerPos, (-6250336)); nms_Gui_drawRect($skinX + 1 | 0, $skinY + 1 | 0, $skinWidth - 1 | 0, $scrollerPos - 1 | 0, (-16777195)); nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = $skinX + 2 | 0; var$14 = $skinY - 9 | 0; $capesText = nleg_EaglerAdapterGL30_deevis; $capesText.$x = $par3; $capesText.$y = var$14; $capesText.$z = 0.0; $capesText = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $capesText, $capesText); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $capesText = new otcic_JSStderrPrintStream; $eee = new ji_ByteArrayOutputStream; $eee.$buf = $rt_createByteArray(32); jl_Object__init_($capesText); $capesText.$out0 = $eee; $eee = new jl_StringBuilder; jl_AbstractStringBuilder__init_($eee, 16); $capesText.$sb = $eee; $capesText.$buffer0 = $rt_createCharArray(32); $capesText.$autoFlush = 0; $capesText.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $capesText; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $capesText = nleg_EaglerAdapterGL30_deevis; $capesText.$x = 0.75; $capesText.$y = 0.75; $capesText.$z = 0.75; $capesText = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $capesText, $capesText); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $capesText = new otcic_JSStderrPrintStream; $eee = new ji_ByteArrayOutputStream; $eee.$buf = $rt_createByteArray(32); jl_Object__init_($capesText); $capesText.$out0 = $eee; $eee = new jl_StringBuilder; jl_AbstractStringBuilder__init_($eee, 16); $capesText.$sb = $eee; $capesText.$buffer0 = $rt_createCharArray(32); $capesText.$autoFlush = 0; $capesText.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $capesText; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $skid = $this.$selectedSlot; nle_EaglerProfile_$callClinit(); $skid = $skid - nle_EaglerProfile_skins.$size0 | 0; if ($skid < 0) $skid = 0; if (!nle_DefaultSkinRenderer_isStandardModel($skid) && !($skid != 18 && $skid != 28 ? 0 : 1)) { nleg_EaglerAdapterGL30_glPopMatrix(); $capesText = $this.$username0; $ptr = 5; continue main; } $capesText = nms_StringTranslate_translateKey($var1, $rt_s(651)); $color = 10526880; if ($mx > ($skinX - 10 | 0) && $my > ($skinY - 16 | 0) && $mx < $skinX + nms_FontRenderer_getStringWidth($this.$fontRenderer, $capesText) / 0.75 + 10.0 && $my < ($skinY + 7 | 0)) $color = (-3355580); $eee = $this.$fontRenderer; nms_EnumChatFormatting_$callClinit(); $var1 = nms_EnumChatFormatting_UNDERLINE; var$15 = $var1 === null ? $rt_s(1) : $var1.$field_96304_B; $var1 = new jl_StringBuilder; $var1.$buffer = $rt_createCharArray(16); $skid = $var1.$length0; if (var$15 === null) var$15 = $rt_s(1); jl_AbstractStringBuilder_insert($var1, $skid, var$15); $skid = $var1.$length0; if ($capesText === null) $capesText = $rt_s(1); jl_AbstractStringBuilder_insert($var1, $skid, $capesText); $capesText = new jl_String; var$16 = $var1.$buffer; var$17 = var$16.data; $skinWidth = $var1.$length0; $scrollerPos = var$17.length; if ($skinWidth >= 0 && $skinWidth <= ($scrollerPos - 0 | 0)) { $capesText.$nativeString = $rt_charArrayToString(var$16.data, 0, $skinWidth); $skid = 0; $skinWidth = 0; $ptr = 11; continue main; } $capesText = new jl_IndexOutOfBoundsException; $capesText.$suppressionEnabled = 1; $capesText.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($capesText); $rt_throw($capesText); case 4: nms_Gui_drawString($this, $capesText, $eee, $skid, $color, $skinWidth); if ($rt_suspending()) { break main; } $this.$mousex = $mx; $this.$mousey = $my; $skinX = ($this.$width / 2 | 0) - 120 | 0; $skinY = ($this.$height / 6 | 0) + 8 | 0; $skinWidth = $skinX + 80 | 0; $scrollerPos = $skinY + 130 | 0; nms_Gui_drawRect($skinX, $skinY, $skinWidth, $scrollerPos, (-6250336)); nms_Gui_drawRect($skinX + 1 | 0, $skinY + 1 | 0, $skinWidth - 1 | 0, $scrollerPos - 1 | 0, (-16777195)); nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = $skinX + 2 | 0; var$14 = $skinY - 9 | 0; $capesText = nleg_EaglerAdapterGL30_deevis; $capesText.$x = $par3; $capesText.$y = var$14; $capesText.$z = 0.0; $capesText = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $capesText, $capesText); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $capesText = new otcic_JSStderrPrintStream; $eee = new ji_ByteArrayOutputStream; $eee.$buf = $rt_createByteArray(32); jl_Object__init_($capesText); $capesText.$out0 = $eee; $eee = new jl_StringBuilder; jl_AbstractStringBuilder__init_($eee, 16); $capesText.$sb = $eee; $capesText.$buffer0 = $rt_createCharArray(32); $capesText.$autoFlush = 0; $capesText.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $capesText; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $capesText = nleg_EaglerAdapterGL30_deevis; $capesText.$x = 0.75; $capesText.$y = 0.75; $capesText.$z = 0.75; $capesText = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $capesText, $capesText); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $capesText = new otcic_JSStderrPrintStream; $eee = new ji_ByteArrayOutputStream; $eee.$buf = $rt_createByteArray(32); jl_Object__init_($capesText); $capesText.$out0 = $eee; $eee = new jl_StringBuilder; jl_AbstractStringBuilder__init_($eee, 16); $capesText.$sb = $eee; $capesText.$buffer0 = $rt_createCharArray(32); $capesText.$autoFlush = 0; $capesText.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $capesText; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $skid = $this.$selectedSlot; nle_EaglerProfile_$callClinit(); $skid = $skid - nle_EaglerProfile_skins.$size0 | 0; if ($skid < 0) $skid = 0; if (!nle_DefaultSkinRenderer_isStandardModel($skid) && !($skid != 18 && $skid != 28 ? 0 : 1)) { nleg_EaglerAdapterGL30_glPopMatrix(); $capesText = $this.$username0; $ptr = 5; continue main; } $capesText = nms_StringTranslate_translateKey($var1, $rt_s(651)); $color = 10526880; if ($mx > ($skinX - 10 | 0) && $my > ($skinY - 16 | 0) && $mx < $skinX + nms_FontRenderer_getStringWidth($this.$fontRenderer, $capesText) / 0.75 + 10.0 && $my < ($skinY + 7 | 0)) $color = (-3355580); $eee = $this.$fontRenderer; nms_EnumChatFormatting_$callClinit(); $var1 = nms_EnumChatFormatting_UNDERLINE; var$15 = $var1 === null ? $rt_s(1) : $var1.$field_96304_B; $var1 = new jl_StringBuilder; $var1.$buffer = $rt_createCharArray(16); $skid = $var1.$length0; if (var$15 === null) var$15 = $rt_s(1); jl_AbstractStringBuilder_insert($var1, $skid, var$15); $skid = $var1.$length0; if ($capesText === null) $capesText = $rt_s(1); jl_AbstractStringBuilder_insert($var1, $skid, $capesText); $capesText = new jl_String; var$16 = $var1.$buffer; var$17 = var$16.data; $skinWidth = $var1.$length0; $scrollerPos = var$17.length; if ($skinWidth >= 0 && $skinWidth <= ($scrollerPos - 0 | 0)) { $capesText.$nativeString = $rt_charArrayToString(var$16.data, 0, $skinWidth); $skid = 0; $skinWidth = 0; $ptr = 11; continue main; } $capesText = new jl_IndexOutOfBoundsException; $capesText.$suppressionEnabled = 1; $capesText.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($capesText); $rt_throw($capesText); case 5: a: { nms_GuiTextField_drawTextBox($capesText); if ($rt_suspending()) { break main; } if (!$this.$dropDownOpen && !$this.$newSkinWaitSteveOrAlex) { $skid = 0; $capesText = $this.$buttonList; $color = $rt_compare($skid, $capesText.$size0); if ($color >= 0) break a; if ($skid >= 0 && $color < 0) { $capesText = $capesText.$array.data[$skid]; $eee = $this.$mc; $ptr = 10; continue main; } $capesText = new jl_IndexOutOfBoundsException; $capesText.$suppressionEnabled = 1; $capesText.$writableStackTrace = 1; $rt_throw($capesText); } $skid = 0; $color = 0; $skinWidth = 0; $capesText = $this.$buttonList; $scrollerPos = $rt_compare($skinWidth, $capesText.$size0); if ($scrollerPos < 0) { if ($skinWidth >= 0 && $scrollerPos < 0) { $capesText = $capesText.$array.data[$skinWidth]; $eee = $this.$mc; $ptr = 9; continue main; } $capesText = new jl_IndexOutOfBoundsException; $capesText.$suppressionEnabled = 1; $capesText.$writableStackTrace = 1; $rt_throw($capesText); } } $skid = ($this.$width / 2 | 0) - 20 | 0; $color = ($this.$height / 6 | 0) + 82 | 0; $skinWidth = $skid + 140 | 0; $scrollerPos = $color + 22 | 0; nms_Gui_drawRect($skid, $color, $skinWidth, $scrollerPos, (-6250336)); $skinX = $skid + 1 | 0; $scrollerSize = $color + 1 | 0; $skinY = $skinWidth - 21 | 0; $scrollerPos = $scrollerPos - 1 | 0; nms_Gui_drawRect($skinX, $scrollerSize, $skinY, $scrollerPos, (-16777216)); nms_Gui_drawRect($skinWidth - 20 | 0, $scrollerSize, $skinWidth - 1 | 0, $scrollerPos, (-16777216)); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $capesText = nle_GuiScreenEditProfile_gui; $ptr = 6; case 6: nle_TextureLocation_bindTexture($capesText); if ($rt_suspending()) { break main; } nms_Gui_drawTexturedModalRect($this, $skinWidth - 18 | 0, $color + 3 | 0, 0, 240, 16, 16); $capesText = $this.$fontRenderer; $eee = $this.$dropDownOptions.data[$this.$selectedSlot]; $skinWidth = $skid + 5 | 0; $scrollerPos = $color + 7 | 0; $skinX = 14737632; $capesText.$randomStyle = 0; $capesText.$boldStyle = 0; $capesText.$italicStyle = 0; $capesText.$underlineStyle = 0; $capesText.$strikethroughStyle = 0; $scrollerSize = $skinWidth + 1 | 0; $skinY = $scrollerPos + 1 | 0; $i = 1; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString($capesText, $eee, $scrollerSize, $skinY, $skinX, $i); if ($rt_suspending()) { break main; } $skinY = $tmp; $scrollerSize = 0; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString($capesText, $eee, $skinWidth, $scrollerPos, $skinX, $scrollerSize); if ($rt_suspending()) { break main; } $skinWidth = $tmp; if ($cnt > 0) { nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = $skid; var$14 = $color - 11 | 0; $capesText = nleg_EaglerAdapterGL30_deevis; $capesText.$x = $par3; $capesText.$y = var$14; $capesText.$z = 0.0; $capesText = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $capesText, $capesText); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $capesText = new otcic_JSStderrPrintStream; $eee = new ji_ByteArrayOutputStream; $eee.$buf = $rt_createByteArray(32); jl_Object__init_($capesText); $capesText.$out0 = $eee; $eee = new jl_StringBuilder; jl_AbstractStringBuilder__init_($eee, 16); $capesText.$sb = $eee; $capesText.$buffer0 = $rt_createCharArray(32); $capesText.$autoFlush = 0; $capesText.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $capesText; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $capesText = nleg_EaglerAdapterGL30_deevis; $capesText.$x = 0.8999999761581421; $capesText.$y = 0.8999999761581421; $capesText.$z = 0.8999999761581421; $capesText = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $capesText, $capesText); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $capesText = new otcic_JSStderrPrintStream; $eee = new ji_ByteArrayOutputStream; $eee.$buf = $rt_createByteArray(32); jl_Object__init_($capesText); $capesText.$out0 = $eee; $eee = new jl_StringBuilder; jl_AbstractStringBuilder__init_($eee, 16); $capesText.$sb = $eee; $capesText.$buffer0 = $rt_createCharArray(32); $capesText.$autoFlush = 0; $capesText.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $capesText; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $capesText = $this.$fontRenderer; $eee = $cnt == 1 ? $rt_s(652) : $rt_s(18); $var1 = new jl_StringBuilder; $var1.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($var1, $var1.$length0, $cnt, 10); jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(653)); jl_AbstractStringBuilder_insert($var1, $var1.$length0, $eee); jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(654)); $eee = new jl_String; var$16 = $var1.$buffer; var$17 = var$16.data; $color = $var1.$length0; $skinWidth = var$17.length; if ($color >= 0 && $color <= ($skinWidth - 0 | 0)) { $eee.$nativeString = $rt_charArrayToString(var$16.data, 0, $color); $skid = 0; $color = 0; $skinWidth = (-2237014); $ptr = 12; continue main; } $capesText = new jl_IndexOutOfBoundsException; $capesText.$suppressionEnabled = 1; $capesText.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($capesText); $rt_throw($capesText); } $skid = ($this.$width / 2 | 0) - 20 | 0; $color = $this.$height; $skinWidth = ($color / 6 | 0) + 103 | 0; $scrollerPos = (($color - $skinWidth | 0) - 10 | 0) / 10 | 0; $this.$slotsVisible = $scrollerPos; $color = $this.$dropDownOptions.data.length; if ($scrollerPos > $color) $this.$slotsVisible = $color; $scrollerSize = $this.$slotsVisible; $scrollerPos = ($scrollerSize * 10 | 0) + 7 | 0; $this.$skinsHeight = $scrollerPos; if ($this.$scrollPos == (-1)) $this.$scrollPos = $this.$selectedSlot - 2 | 0; $skinY = $this.$scrollPos; $color = $color - $scrollerSize | 0; if ($skinY > $color) $this.$scrollPos = $color; if ($this.$scrollPos < 0) $this.$scrollPos = 0; if ($this.$dropDownOpen) { $skinX = $skid + 140 | 0; $color = $skinWidth + $scrollerPos | 0; nms_Gui_drawRect($skid, $skinWidth, $skinX, $color, (-6250336)); $scrollerSize = $skid + 1 | 0; $i = $skinWidth + 1 | 0; $skinY = $skinX - 1 | 0; nms_Gui_drawRect($scrollerSize, $i, $skinY, $color - 1 | 0, (-16777216)); $i = 0; $cnt = $skid + 5 | 0; $skinHeight = $skinWidth + 5 | 0; $xx = $cnt + 1 | 0; $color = $rt_compare($mx, $skid); $w = $rt_compare($mx, $skinX - 10 | 0); while (true) { $skid = $this.$slotsVisible; if ($i >= $skid) break; $skid = $i + $this.$scrollPos | 0; if ($skid < $this.$dropDownOptions.data.length) { $idx = $skid - nle_EaglerProfile_skins.$size0 | 0; if ($idx >= $this.$newSkinNotificationIndexCurrent) { $skid = $skinWidth + ($i * 10 | 0) | 0; nms_Gui_drawRect($scrollerSize, $skid + 4 | 0, $skinY, $skid + 14 | 0, 2013257096); } if ($this.$selectedSlot == ($i + $this.$scrollPos | 0)) { $skid = $skinWidth + ($i * 10 | 0) | 0; nms_Gui_drawRect($scrollerSize, $skid + 4 | 0, $skinY, $skid + 14 | 0, 2013265919); } else if ($color >= 0 && $w < 0) { $skid = $skinWidth + ($i * 10 | 0) | 0; if ($my >= ($skid + 5 | 0) && $my < ($skid + 15 | 0)) nms_Gui_drawRect($scrollerSize, $skid + 4 | 0, $skinY, $skid + 14 | 0, 1442840575); } $capesText = $this.$fontRenderer; $eee = $this.$dropDownOptions.data[$i + $this.$scrollPos | 0]; $skid = $skinHeight + ($i * 10 | 0) | 0; $yy = 14737632; $capesText.$randomStyle = 0; $capesText.$boldStyle = 0; $capesText.$italicStyle = 0; $capesText.$underlineStyle = 0; $capesText.$strikethroughStyle = 0; $mouseOver = $skid + 1 | 0; $cc = 1; $ptr = 15; continue main; } $i = $i + 1 | 0; } $skid = $rt_imul($scrollerPos, $skid); $color = $this.$dropDownOptions.data.length; $scrollerSize = $skid / $color | 0; $scrollerPos = $rt_imul($scrollerPos, $this.$scrollPos) / $color | 0; $skid = $skinX - 4 | 0; $color = $skinWidth + $scrollerPos | 0; nms_Gui_drawRect($skid, $color + 1 | 0, $skinY, $color + $scrollerSize | 0, (-7829368)); } $skid = $this.$width / 2 | 0; $xx = $skid - 80 | 0; $color = $this.$height / 6 | 0; $yy = $color + 130 | 0; if ($this.$newSkinWaitSteveOrAlex) { $skinWidth = $this.$selectedSlot; $capesText = nle_EaglerProfile_skins; $scrollerPos = $rt_compare($skinWidth, $capesText.$size0); if ($scrollerPos < 0) { $skid = 70; $color = 120; if ($skinWidth >= 0 && $scrollerPos < 0) { $eee = $capesText.$array.data[$skinWidth]; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clear(256); $skinWidth = ($this.$width / 2 | 0) - 90 | 0; $scrollerPos = $this.$height / 4 | 0; $skinX = $skinWidth + 35 | 0; $scrollerSize = $scrollerPos + 117 | 0; $mouseOver = $mx >= $skinWidth && $my >= $scrollerPos && $mx < ($skinWidth + $skid | 0) && $my < ($scrollerPos + $color | 0) ? 1 : 0; $cc = !$mouseOver ? (-11184811) : (-2237031); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nms_Gui_drawRect(0, 0, $this.$width, $this.$height, (-1157627904)); $skinY = $skinWidth + $skid | 0; $i = $scrollerPos + $color | 0; nms_Gui_drawRect($skinWidth, $scrollerPos, $skinY, $i, (-1157627904)); nleg_EaglerAdapterGL30_glDisable(3042); nms_Gui_drawRect($skinWidth, $scrollerPos, $skinWidth + 1 | 0, $i, $cc); nms_Gui_drawRect($skinWidth, $scrollerPos, $skinY, $scrollerPos + 1 | 0, $cc); nms_Gui_drawRect($skinY - 1 | 0, $scrollerPos, $skinY, $i, $cc); nms_Gui_drawRect($skinWidth, $i - 1 | 0, $skinY, $i, $cc); if ($mouseOver) { $capesText = $this.$fontRenderer; $var1 = $rt_s(655); $skinWidth = $i + 6 | 0; $ptr = 17; continue main; } $capesText = $this.$mc.$renderEngine; $skinWidth = $eee.$glTex; if ($skinWidth != $capesText.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $skinWidth); $capesText.$boundTexture = $skinWidth; } nle_DefaultSkinRenderer_renderAlexOrSteve($skinX, $scrollerSize, $mx, $my, 0); $skinWidth = ($this.$width / 2 | 0) + 20 | 0; $scrollerPos = $this.$height / 4 | 0; $skinX = $skinWidth + 35 | 0; $scrollerSize = $scrollerPos + 117 | 0; $skinY = $mx >= $skinWidth && $my >= $scrollerPos && $mx < ($skinWidth + $skid | 0) && $my < ($scrollerPos + $color | 0) ? 1 : 0; $i = !$skinY ? (-11184811) : (-2237031); nleg_EaglerAdapterGL30_glEnable(3042); $skid = $skinWidth + $skid | 0; $color = $scrollerPos + $color | 0; nms_Gui_drawRect($skinWidth, $scrollerPos, $skid, $color, (-1157627904)); nleg_EaglerAdapterGL30_glDisable(3042); nms_Gui_drawRect($skinWidth, $scrollerPos, $skinWidth + 1 | 0, $color, $i); nms_Gui_drawRect($skinWidth, $scrollerPos, $skid, $scrollerPos + 1 | 0, $i); nms_Gui_drawRect($skid - 1 | 0, $scrollerPos, $skid, $color, $i); nms_Gui_drawRect($skinWidth, $color - 1 | 0, $skid, $color, $i); if (!$skinY) { $capesText = $this.$mc.$renderEngine; $skid = $eee.$glTex; if ($skid != $capesText.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $skid); $capesText.$boundTexture = $skid; } nle_DefaultSkinRenderer_renderAlexOrSteve($skinX, $scrollerSize, $mx, $my, 1); return; } $capesText = $this.$fontRenderer; $var1 = $rt_s(656); $skid = $color + 8 | 0; $ptr = 18; continue main; } $capesText = new jl_IndexOutOfBoundsException; $capesText.$suppressionEnabled = 1; $capesText.$writableStackTrace = 1; $rt_throw($capesText); } } $skid = $skid - 120 | 0; $color = $color + 8 | 0; if (!nle_DefaultSkinRenderer_isPlayerPreviewNew($this.$selectedSlot)) { $skid = $this.$newSkinWaitSteveOrAlex; if ($skid) $mx = $this.$width / 2 | 0; if ($skid) $my = $this.$height / 2 | 0; $skid = $this.$selectedSlot; $ptr = 14; continue main; } $w = nms_FontRenderer_getStringWidth($this.$fontRenderer, $rt_s(657)) + 4 | 0; nleg_EaglerAdapterGL30_glPushMatrix(); $capesText = nleg_EaglerAdapterGL30_deevis; $capesText.$x = 0.75; $capesText.$y = 0.75; $capesText.$z = 0.75; $capesText = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $capesText, $capesText); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $capesText = new otcic_JSStderrPrintStream; $eee = new ji_ByteArrayOutputStream; $eee.$buf = $rt_createByteArray(32); jl_Object__init_($capesText); $capesText.$out0 = $eee; $eee = new jl_StringBuilder; jl_AbstractStringBuilder__init_($eee, 16); $capesText.$sb = $eee; $capesText.$buffer0 = $rt_createCharArray(32); $capesText.$autoFlush = 0; $capesText.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $capesText; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $capesText = $this.$fontRenderer; $eee = $rt_s(657); $skid = (($skid + 80 | 0) / 0.75 | 0) - $w | 0; $color = (($color + 130 | 0) / 0.75 | 0) - 12 | 0; $skinWidth = (-4474010); $ptr = 13; continue main; case 9: $capesText.$drawButton($eee, $skid, $color); if ($rt_suspending()) { break main; } $skinWidth = $skinWidth + 1 | 0; $capesText = $this.$buttonList; $scrollerPos = $rt_compare($skinWidth, $capesText.$size0); if ($scrollerPos < 0) { if ($skinWidth >= 0 && $scrollerPos < 0) { $capesText = $capesText.$array.data[$skinWidth]; $eee = $this.$mc; continue main; } $capesText = new jl_IndexOutOfBoundsException; $capesText.$suppressionEnabled = 1; $capesText.$writableStackTrace = 1; $rt_throw($capesText); } $skid = ($this.$width / 2 | 0) - 20 | 0; $color = ($this.$height / 6 | 0) + 82 | 0; $skinWidth = $skid + 140 | 0; $scrollerPos = $color + 22 | 0; nms_Gui_drawRect($skid, $color, $skinWidth, $scrollerPos, (-6250336)); $skinX = $skid + 1 | 0; $scrollerSize = $color + 1 | 0; $skinY = $skinWidth - 21 | 0; $scrollerPos = $scrollerPos - 1 | 0; nms_Gui_drawRect($skinX, $scrollerSize, $skinY, $scrollerPos, (-16777216)); nms_Gui_drawRect($skinWidth - 20 | 0, $scrollerSize, $skinWidth - 1 | 0, $scrollerPos, (-16777216)); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $capesText = nle_GuiScreenEditProfile_gui; $ptr = 6; continue main; case 10: $capesText.$drawButton($eee, $mx, $my); if ($rt_suspending()) { break main; } $skid = $skid + 1 | 0; $capesText = $this.$buttonList; $color = $rt_compare($skid, $capesText.$size0); if ($color < 0) { if ($skid >= 0 && $color < 0) { $capesText = $capesText.$array.data[$skid]; $eee = $this.$mc; continue main; } $capesText = new jl_IndexOutOfBoundsException; $capesText.$suppressionEnabled = 1; $capesText.$writableStackTrace = 1; $rt_throw($capesText); } $skid = ($this.$width / 2 | 0) - 20 | 0; $color = ($this.$height / 6 | 0) + 82 | 0; $skinWidth = $skid + 140 | 0; $scrollerPos = $color + 22 | 0; nms_Gui_drawRect($skid, $color, $skinWidth, $scrollerPos, (-6250336)); $skinX = $skid + 1 | 0; $scrollerSize = $color + 1 | 0; $skinY = $skinWidth - 21 | 0; $scrollerPos = $scrollerPos - 1 | 0; nms_Gui_drawRect($skinX, $scrollerSize, $skinY, $scrollerPos, (-16777216)); nms_Gui_drawRect($skinWidth - 20 | 0, $scrollerSize, $skinWidth - 1 | 0, $scrollerPos, (-16777216)); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $capesText = nle_GuiScreenEditProfile_gui; $ptr = 6; continue main; case 11: nms_Gui_drawString($this, $eee, $capesText, $skid, $skinWidth, $color); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); $capesText = $this.$username0; $ptr = 5; continue main; case 12: nms_Gui_drawString($this, $capesText, $eee, $skid, $color, $skinWidth); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); $skid = ($this.$width / 2 | 0) - 20 | 0; $color = $this.$height; $skinWidth = ($color / 6 | 0) + 103 | 0; $scrollerPos = (($color - $skinWidth | 0) - 10 | 0) / 10 | 0; $this.$slotsVisible = $scrollerPos; $color = $this.$dropDownOptions.data.length; if ($scrollerPos > $color) $this.$slotsVisible = $color; $scrollerSize = $this.$slotsVisible; $scrollerPos = ($scrollerSize * 10 | 0) + 7 | 0; $this.$skinsHeight = $scrollerPos; if ($this.$scrollPos == (-1)) $this.$scrollPos = $this.$selectedSlot - 2 | 0; $skinY = $this.$scrollPos; $color = $color - $scrollerSize | 0; if ($skinY > $color) $this.$scrollPos = $color; if ($this.$scrollPos < 0) $this.$scrollPos = 0; if ($this.$dropDownOpen) { $skinX = $skid + 140 | 0; $color = $skinWidth + $scrollerPos | 0; nms_Gui_drawRect($skid, $skinWidth, $skinX, $color, (-6250336)); $scrollerSize = $skid + 1 | 0; $i = $skinWidth + 1 | 0; $skinY = $skinX - 1 | 0; nms_Gui_drawRect($scrollerSize, $i, $skinY, $color - 1 | 0, (-16777216)); $i = 0; $cnt = $skid + 5 | 0; $skinHeight = $skinWidth + 5 | 0; $xx = $cnt + 1 | 0; $color = $rt_compare($mx, $skid); $w = $rt_compare($mx, $skinX - 10 | 0); while (true) { $skid = $this.$slotsVisible; if ($i >= $skid) break; $skid = $i + $this.$scrollPos | 0; if ($skid < $this.$dropDownOptions.data.length) { $idx = $skid - nle_EaglerProfile_skins.$size0 | 0; if ($idx >= $this.$newSkinNotificationIndexCurrent) { $skid = $skinWidth + ($i * 10 | 0) | 0; nms_Gui_drawRect($scrollerSize, $skid + 4 | 0, $skinY, $skid + 14 | 0, 2013257096); } if ($this.$selectedSlot == ($i + $this.$scrollPos | 0)) { $skid = $skinWidth + ($i * 10 | 0) | 0; nms_Gui_drawRect($scrollerSize, $skid + 4 | 0, $skinY, $skid + 14 | 0, 2013265919); } else if ($color >= 0 && $w < 0) { $skid = $skinWidth + ($i * 10 | 0) | 0; if ($my >= ($skid + 5 | 0) && $my < ($skid + 15 | 0)) nms_Gui_drawRect($scrollerSize, $skid + 4 | 0, $skinY, $skid + 14 | 0, 1442840575); } $capesText = $this.$fontRenderer; $eee = $this.$dropDownOptions.data[$i + $this.$scrollPos | 0]; $skid = $skinHeight + ($i * 10 | 0) | 0; $yy = 14737632; $capesText.$randomStyle = 0; $capesText.$boldStyle = 0; $capesText.$italicStyle = 0; $capesText.$underlineStyle = 0; $capesText.$strikethroughStyle = 0; $mouseOver = $skid + 1 | 0; $cc = 1; $ptr = 15; continue main; } $i = $i + 1 | 0; } $skid = $rt_imul($scrollerPos, $skid); $color = $this.$dropDownOptions.data.length; $scrollerSize = $skid / $color | 0; $scrollerPos = $rt_imul($scrollerPos, $this.$scrollPos) / $color | 0; $skid = $skinX - 4 | 0; $color = $skinWidth + $scrollerPos | 0; nms_Gui_drawRect($skid, $color + 1 | 0, $skinY, $color + $scrollerSize | 0, (-7829368)); } $skid = $this.$width / 2 | 0; $xx = $skid - 80 | 0; $color = $this.$height / 6 | 0; $yy = $color + 130 | 0; if ($this.$newSkinWaitSteveOrAlex) { $skinWidth = $this.$selectedSlot; $capesText = nle_EaglerProfile_skins; $scrollerPos = $rt_compare($skinWidth, $capesText.$size0); if ($scrollerPos < 0) { $skid = 70; $color = 120; if ($skinWidth >= 0 && $scrollerPos < 0) { $eee = $capesText.$array.data[$skinWidth]; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clear(256); $skinWidth = ($this.$width / 2 | 0) - 90 | 0; $scrollerPos = $this.$height / 4 | 0; $skinX = $skinWidth + 35 | 0; $scrollerSize = $scrollerPos + 117 | 0; $mouseOver = $mx >= $skinWidth && $my >= $scrollerPos && $mx < ($skinWidth + $skid | 0) && $my < ($scrollerPos + $color | 0) ? 1 : 0; $cc = !$mouseOver ? (-11184811) : (-2237031); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nms_Gui_drawRect(0, 0, $this.$width, $this.$height, (-1157627904)); $skinY = $skinWidth + $skid | 0; $i = $scrollerPos + $color | 0; nms_Gui_drawRect($skinWidth, $scrollerPos, $skinY, $i, (-1157627904)); nleg_EaglerAdapterGL30_glDisable(3042); nms_Gui_drawRect($skinWidth, $scrollerPos, $skinWidth + 1 | 0, $i, $cc); nms_Gui_drawRect($skinWidth, $scrollerPos, $skinY, $scrollerPos + 1 | 0, $cc); nms_Gui_drawRect($skinY - 1 | 0, $scrollerPos, $skinY, $i, $cc); nms_Gui_drawRect($skinWidth, $i - 1 | 0, $skinY, $i, $cc); if ($mouseOver) { $capesText = $this.$fontRenderer; $var1 = $rt_s(655); $skinWidth = $i + 6 | 0; $ptr = 17; continue main; } $capesText = $this.$mc.$renderEngine; $skinWidth = $eee.$glTex; if ($skinWidth != $capesText.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $skinWidth); $capesText.$boundTexture = $skinWidth; } nle_DefaultSkinRenderer_renderAlexOrSteve($skinX, $scrollerSize, $mx, $my, 0); $skinWidth = ($this.$width / 2 | 0) + 20 | 0; $scrollerPos = $this.$height / 4 | 0; $skinX = $skinWidth + 35 | 0; $scrollerSize = $scrollerPos + 117 | 0; $skinY = $mx >= $skinWidth && $my >= $scrollerPos && $mx < ($skinWidth + $skid | 0) && $my < ($scrollerPos + $color | 0) ? 1 : 0; $i = !$skinY ? (-11184811) : (-2237031); nleg_EaglerAdapterGL30_glEnable(3042); $skid = $skinWidth + $skid | 0; $color = $scrollerPos + $color | 0; nms_Gui_drawRect($skinWidth, $scrollerPos, $skid, $color, (-1157627904)); nleg_EaglerAdapterGL30_glDisable(3042); nms_Gui_drawRect($skinWidth, $scrollerPos, $skinWidth + 1 | 0, $color, $i); nms_Gui_drawRect($skinWidth, $scrollerPos, $skid, $scrollerPos + 1 | 0, $i); nms_Gui_drawRect($skid - 1 | 0, $scrollerPos, $skid, $color, $i); nms_Gui_drawRect($skinWidth, $color - 1 | 0, $skid, $color, $i); if (!$skinY) { $capesText = $this.$mc.$renderEngine; $skid = $eee.$glTex; if ($skid != $capesText.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $skid); $capesText.$boundTexture = $skid; } nle_DefaultSkinRenderer_renderAlexOrSteve($skinX, $scrollerSize, $mx, $my, 1); return; } $capesText = $this.$fontRenderer; $var1 = $rt_s(656); $skid = $color + 8 | 0; $ptr = 18; continue main; } $capesText = new jl_IndexOutOfBoundsException; $capesText.$suppressionEnabled = 1; $capesText.$writableStackTrace = 1; $rt_throw($capesText); } } $skid = $skid - 120 | 0; $color = $color + 8 | 0; if (!nle_DefaultSkinRenderer_isPlayerPreviewNew($this.$selectedSlot)) { $skid = $this.$newSkinWaitSteveOrAlex; if ($skid) $mx = $this.$width / 2 | 0; if ($skid) $my = $this.$height / 2 | 0; $skid = $this.$selectedSlot; $ptr = 14; continue main; } $w = nms_FontRenderer_getStringWidth($this.$fontRenderer, $rt_s(657)) + 4 | 0; nleg_EaglerAdapterGL30_glPushMatrix(); $capesText = nleg_EaglerAdapterGL30_deevis; $capesText.$x = 0.75; $capesText.$y = 0.75; $capesText.$z = 0.75; $capesText = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $capesText, $capesText); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $capesText = new otcic_JSStderrPrintStream; $eee = new ji_ByteArrayOutputStream; $eee.$buf = $rt_createByteArray(32); jl_Object__init_($capesText); $capesText.$out0 = $eee; $eee = new jl_StringBuilder; jl_AbstractStringBuilder__init_($eee, 16); $capesText.$sb = $eee; $capesText.$buffer0 = $rt_createCharArray(32); $capesText.$autoFlush = 0; $capesText.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $capesText; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $capesText = $this.$fontRenderer; $eee = $rt_s(657); $skid = (($skid + 80 | 0) / 0.75 | 0) - $w | 0; $color = (($color + 130 | 0) / 0.75 | 0) - 12 | 0; $skinWidth = (-4474010); $ptr = 13; case 13: nms_Gui_drawString($this, $capesText, $eee, $skid, $color, $skinWidth); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); $skid = $this.$newSkinWaitSteveOrAlex; if ($skid) $mx = $this.$width / 2 | 0; if ($skid) $my = $this.$height / 2 | 0; $skid = $this.$selectedSlot; $ptr = 14; case 14: nle_DefaultSkinRenderer_renderPlayerPreview($xx, $yy, $mx, $my, $skid); if ($rt_suspending()) { break main; } return; case 15: $tmp = nms_FontRenderer_renderString($capesText, $eee, $xx, $mouseOver, $yy, $cc); if ($rt_suspending()) { break main; } $cc = $tmp; $mouseOver = 0; $ptr = 16; case 16: $tmp = nms_FontRenderer_renderString($capesText, $eee, $cnt, $skid, $yy, $mouseOver); if ($rt_suspending()) { break main; } $skid = $tmp; if (nle_EaglerProfile_newSkinNotificationIndex <= $idx) nle_EaglerProfile_newSkinNotificationIndex = $idx + 1 | 0; while (true) { $i = $i + 1 | 0; $skid = $this.$slotsVisible; if ($i >= $skid) { $skid = $rt_imul($scrollerPos, $skid); $color = $this.$dropDownOptions.data.length; $scrollerSize = $skid / $color | 0; $scrollerPos = $rt_imul($scrollerPos, $this.$scrollPos) / $color | 0; $skid = $skinX - 4 | 0; $color = $skinWidth + $scrollerPos | 0; nms_Gui_drawRect($skid, $color + 1 | 0, $skinY, $color + $scrollerSize | 0, (-7829368)); $skid = $this.$width / 2 | 0; $xx = $skid - 80 | 0; $color = $this.$height / 6 | 0; $yy = $color + 130 | 0; if ($this.$newSkinWaitSteveOrAlex) { $skinWidth = $this.$selectedSlot; $capesText = nle_EaglerProfile_skins; $scrollerPos = $rt_compare($skinWidth, $capesText.$size0); if ($scrollerPos < 0) { $skid = 70; $color = 120; if ($skinWidth >= 0 && $scrollerPos < 0) { $eee = $capesText.$array.data[$skinWidth]; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clear(256); $skinWidth = ($this.$width / 2 | 0) - 90 | 0; $scrollerPos = $this.$height / 4 | 0; $skinX = $skinWidth + 35 | 0; $scrollerSize = $scrollerPos + 117 | 0; $mouseOver = $mx >= $skinWidth && $my >= $scrollerPos && $mx < ($skinWidth + $skid | 0) && $my < ($scrollerPos + $color | 0) ? 1 : 0; $cc = !$mouseOver ? (-11184811) : (-2237031); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nms_Gui_drawRect(0, 0, $this.$width, $this.$height, (-1157627904)); $skinY = $skinWidth + $skid | 0; $i = $scrollerPos + $color | 0; nms_Gui_drawRect($skinWidth, $scrollerPos, $skinY, $i, (-1157627904)); nleg_EaglerAdapterGL30_glDisable(3042); nms_Gui_drawRect($skinWidth, $scrollerPos, $skinWidth + 1 | 0, $i, $cc); nms_Gui_drawRect($skinWidth, $scrollerPos, $skinY, $scrollerPos + 1 | 0, $cc); nms_Gui_drawRect($skinY - 1 | 0, $scrollerPos, $skinY, $i, $cc); nms_Gui_drawRect($skinWidth, $i - 1 | 0, $skinY, $i, $cc); if ($mouseOver) { $capesText = $this.$fontRenderer; $var1 = $rt_s(655); $skinWidth = $i + 6 | 0; $ptr = 17; continue main; } $capesText = $this.$mc.$renderEngine; $skinWidth = $eee.$glTex; if ($skinWidth != $capesText.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $skinWidth); $capesText.$boundTexture = $skinWidth; } nle_DefaultSkinRenderer_renderAlexOrSteve($skinX, $scrollerSize, $mx, $my, 0); $skinWidth = ($this.$width / 2 | 0) + 20 | 0; $scrollerPos = $this.$height / 4 | 0; $skinX = $skinWidth + 35 | 0; $scrollerSize = $scrollerPos + 117 | 0; $skinY = $mx >= $skinWidth && $my >= $scrollerPos && $mx < ($skinWidth + $skid | 0) && $my < ($scrollerPos + $color | 0) ? 1 : 0; $i = !$skinY ? (-11184811) : (-2237031); nleg_EaglerAdapterGL30_glEnable(3042); $skid = $skinWidth + $skid | 0; $color = $scrollerPos + $color | 0; nms_Gui_drawRect($skinWidth, $scrollerPos, $skid, $color, (-1157627904)); nleg_EaglerAdapterGL30_glDisable(3042); nms_Gui_drawRect($skinWidth, $scrollerPos, $skinWidth + 1 | 0, $color, $i); nms_Gui_drawRect($skinWidth, $scrollerPos, $skid, $scrollerPos + 1 | 0, $i); nms_Gui_drawRect($skid - 1 | 0, $scrollerPos, $skid, $color, $i); nms_Gui_drawRect($skinWidth, $color - 1 | 0, $skid, $color, $i); if (!$skinY) { $capesText = $this.$mc.$renderEngine; $skid = $eee.$glTex; if ($skid != $capesText.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $skid); $capesText.$boundTexture = $skid; } nle_DefaultSkinRenderer_renderAlexOrSteve($skinX, $scrollerSize, $mx, $my, 1); return; } $capesText = $this.$fontRenderer; $var1 = $rt_s(656); $skid = $color + 8 | 0; $ptr = 18; continue main; } $capesText = new jl_IndexOutOfBoundsException; $capesText.$suppressionEnabled = 1; $capesText.$writableStackTrace = 1; $rt_throw($capesText); } } $skid = $skid - 120 | 0; $color = $color + 8 | 0; if (!nle_DefaultSkinRenderer_isPlayerPreviewNew($this.$selectedSlot)) { $skid = $this.$newSkinWaitSteveOrAlex; if ($skid) $mx = $this.$width / 2 | 0; if ($skid) $my = $this.$height / 2 | 0; $skid = $this.$selectedSlot; $ptr = 14; continue main; } $w = nms_FontRenderer_getStringWidth($this.$fontRenderer, $rt_s(657)) + 4 | 0; nleg_EaglerAdapterGL30_glPushMatrix(); $capesText = nleg_EaglerAdapterGL30_deevis; $capesText.$x = 0.75; $capesText.$y = 0.75; $capesText.$z = 0.75; $capesText = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $capesText, $capesText); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $capesText = new otcic_JSStderrPrintStream; $eee = new ji_ByteArrayOutputStream; $eee.$buf = $rt_createByteArray(32); jl_Object__init_($capesText); $capesText.$out0 = $eee; $eee = new jl_StringBuilder; jl_AbstractStringBuilder__init_($eee, 16); $capesText.$sb = $eee; $capesText.$buffer0 = $rt_createCharArray(32); $capesText.$autoFlush = 0; $capesText.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $capesText; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $capesText = $this.$fontRenderer; $eee = $rt_s(657); $skid = (($skid + 80 | 0) / 0.75 | 0) - $w | 0; $color = (($color + 130 | 0) / 0.75 | 0) - 12 | 0; $skinWidth = (-4474010); $ptr = 13; continue main; } $skid = $i + $this.$scrollPos | 0; if ($skid >= $this.$dropDownOptions.data.length) continue; else break; } $idx = $skid - nle_EaglerProfile_skins.$size0 | 0; if ($idx >= $this.$newSkinNotificationIndexCurrent) { $skid = $skinWidth + ($i * 10 | 0) | 0; nms_Gui_drawRect($scrollerSize, $skid + 4 | 0, $skinY, $skid + 14 | 0, 2013257096); } if ($this.$selectedSlot == ($i + $this.$scrollPos | 0)) { $skid = $skinWidth + ($i * 10 | 0) | 0; nms_Gui_drawRect($scrollerSize, $skid + 4 | 0, $skinY, $skid + 14 | 0, 2013265919); } else if ($color >= 0 && $w < 0) { $skid = $skinWidth + ($i * 10 | 0) | 0; if ($my >= ($skid + 5 | 0) && $my < ($skid + 15 | 0)) nms_Gui_drawRect($scrollerSize, $skid + 4 | 0, $skinY, $skid + 14 | 0, 1442840575); } $capesText = $this.$fontRenderer; $eee = $this.$dropDownOptions.data[$i + $this.$scrollPos | 0]; $skid = $skinHeight + ($i * 10 | 0) | 0; $yy = 14737632; $capesText.$randomStyle = 0; $capesText.$boldStyle = 0; $capesText.$italicStyle = 0; $capesText.$underlineStyle = 0; $capesText.$strikethroughStyle = 0; $mouseOver = $skid + 1 | 0; $cc = 1; $ptr = 15; continue main; case 17: nms_Gui_drawCenteredString($this, $capesText, $var1, $skinX, $skinWidth, $cc); if ($rt_suspending()) { break main; } $capesText = $this.$mc.$renderEngine; $skinWidth = $eee.$glTex; if ($skinWidth != $capesText.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $skinWidth); $capesText.$boundTexture = $skinWidth; } nle_DefaultSkinRenderer_renderAlexOrSteve($skinX, $scrollerSize, $mx, $my, 0); $skinWidth = ($this.$width / 2 | 0) + 20 | 0; $scrollerPos = $this.$height / 4 | 0; $skinX = $skinWidth + 35 | 0; $scrollerSize = $scrollerPos + 117 | 0; $skinY = $mx >= $skinWidth && $my >= $scrollerPos && $mx < ($skinWidth + $skid | 0) && $my < ($scrollerPos + $color | 0) ? 1 : 0; $i = !$skinY ? (-11184811) : (-2237031); nleg_EaglerAdapterGL30_glEnable(3042); $skid = $skinWidth + $skid | 0; $color = $scrollerPos + $color | 0; nms_Gui_drawRect($skinWidth, $scrollerPos, $skid, $color, (-1157627904)); nleg_EaglerAdapterGL30_glDisable(3042); nms_Gui_drawRect($skinWidth, $scrollerPos, $skinWidth + 1 | 0, $color, $i); nms_Gui_drawRect($skinWidth, $scrollerPos, $skid, $scrollerPos + 1 | 0, $i); nms_Gui_drawRect($skid - 1 | 0, $scrollerPos, $skid, $color, $i); nms_Gui_drawRect($skinWidth, $color - 1 | 0, $skid, $color, $i); if (!$skinY) { $capesText = $this.$mc.$renderEngine; $skid = $eee.$glTex; if ($skid != $capesText.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $skid); $capesText.$boundTexture = $skid; } nle_DefaultSkinRenderer_renderAlexOrSteve($skinX, $scrollerSize, $mx, $my, 1); return; } $capesText = $this.$fontRenderer; $var1 = $rt_s(656); $skid = $color + 8 | 0; $ptr = 18; case 18: nms_Gui_drawCenteredString($this, $capesText, $var1, $skinX, $skid, $i); if ($rt_suspending()) { break main; } $capesText = $this.$mc.$renderEngine; $skid = $eee.$glTex; if ($skid != $capesText.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $skid); $capesText.$boundTexture = $skid; } nle_DefaultSkinRenderer_renderAlexOrSteve($skinX, $scrollerSize, $mx, $my, 1); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $mx, $my, $par3, $var1, $skid, $capesText, $eee, $color, $skinWidth, $cnt, $skinX, $skinY, $scrollerPos, var$14, var$15, var$16, var$17, $scrollerSize, $i, $skinHeight, $xx, $w, $idx, $yy, $mouseOver, $cc, $ptr); }, nle_GuiScreenEditProfile_handleMouseInput = $this => { let $var1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_handleMouseInput($this); if ($rt_suspending()) { break main; } if ($this.$dropDownOpen) { $var1 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var1 < 0) $this.$scrollPos = $this.$scrollPos + 3 | 0; if ($var1 > 0) { $var1 = $this.$scrollPos - 3 | 0; $this.$scrollPos = $var1; if ($var1 < 0) $this.$scrollPos = 0; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $ptr); }, nle_GuiScreenEditProfile_save = $this => { let $skins, $i, var$3, $capes, var$5, $nbt, var$7, var$8, $l, var$10, $$je; $skins = !$this.$username0.$text.$nativeString.length ? $rt_s(1) : $this.$username0.$text; nle_EaglerProfile_$callClinit(); nle_EaglerProfile_username = $skins; $i = $this.$selectedSlot; var$3 = $i - nle_EaglerProfile_skins.$size0 | 0; nle_EaglerProfile_presetSkinId = var$3; if (var$3 >= 0) nle_EaglerProfile_customSkinId = (-1); else { nle_EaglerProfile_presetSkinId = (-1); nle_EaglerProfile_customSkinId = $i; } $skins = nle_LocalStorageManager_profileSettingsStorage; $i = nle_EaglerProfile_presetSkinId; $capes = $skins.$tagMap; $skins = new nms_NBTTagInt; $skins.$name = $rt_s(504); $skins.$data0 = $i; ju_HashMap_putImpl($capes, $rt_s(504), $skins); $skins = nle_LocalStorageManager_profileSettingsStorage; $i = nle_EaglerProfile_customSkinId; $capes = $skins.$tagMap; $skins = new nms_NBTTagInt; $skins.$name = $rt_s(505); $skins.$data0 = $i; ju_HashMap_putImpl($capes, $rt_s(505), $skins); $skins = nle_LocalStorageManager_profileSettingsStorage; $i = nle_EaglerProfile_presetCapeId; $capes = $skins.$tagMap; $skins = new nms_NBTTagInt; $skins.$name = $rt_s(506); $skins.$data0 = $i; ju_HashMap_putImpl($capes, $rt_s(506), $skins); $skins = nle_LocalStorageManager_profileSettingsStorage; $i = nle_EaglerProfile_customCapeId; $capes = $skins.$tagMap; $skins = new nms_NBTTagInt; $skins.$name = $rt_s(507); $skins.$data0 = $i; ju_HashMap_putImpl($capes, $rt_s(507), $skins); $skins = nle_LocalStorageManager_profileSettingsStorage; $i = nle_EaglerProfile_newSkinNotificationIndex; $capes = $skins.$tagMap; $skins = new nms_NBTTagInt; $skins.$name = $rt_s(508); $skins.$data0 = $i; ju_HashMap_putImpl($capes, $rt_s(508), $skins); $skins = nle_LocalStorageManager_profileSettingsStorage; $capes = nle_EaglerProfile_username; var$5 = $skins.$tagMap; $skins = new nms_NBTTagString; $skins.$name = $rt_s(180); $skins.$data1 = $capes; if ($capes === null) { $nbt = new jl_IllegalArgumentException; $nbt.$suppressionEnabled = 1; $nbt.$writableStackTrace = 1; $nbt.$message = $rt_s(186); $rt_throw($nbt); } ju_HashMap_putImpl(var$5, $rt_s(180), $skins); $skins = new nms_NBTTagCompound; $skins.$name = $rt_s(18); $nbt = new ju_HashMap; $i = ju_HashMap_calculateCapacity(16); $nbt.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, $i); var$8 = var$7.data; $nbt.$elementData = var$7; $nbt.$loadFactor = 0.75; $nbt.$threshold = var$8.length * 0.75 | 0; $skins.$tagMap = $nbt; $i = 0; $l = nle_EaglerProfile_skins.$size0; a: { b: { while (true) { if ($i >= $l) { $nbt = nle_LocalStorageManager_profileSettingsStorage.$tagMap; $skins.$name = $rt_s(509); ju_HashMap_putImpl($nbt, $rt_s(509), $skins); $capes = new nms_NBTTagCompound; $capes.$name = $rt_s(18); $skins = new ju_HashMap; $i = ju_HashMap_calculateCapacity(16); $skins.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, $i); var$8 = var$7.data; $skins.$elementData = var$7; $skins.$loadFactor = 0.75; $skins.$threshold = var$8.length * 0.75 | 0; $capes.$tagMap = $skins; $i = 0; $l = nle_EaglerProfile_capes.$size0; c: { while (true) { if ($i >= $l) { $skins = nle_LocalStorageManager_profileSettingsStorage.$tagMap; $capes.$name = $rt_s(512); ju_HashMap_putImpl($skins, $rt_s(512), $capes); d: { try { nlea_EaglerAdapterImpl2_saveLocalStorage($rt_s(354), nms_CompressedStreamTools_writeUncompressed(nle_LocalStorageManager_profileSettingsStorage)); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } return; } $nbt = new nms_NBTTagCompound; $nbt.$name = $rt_s(18); var$10 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$10.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$8 = var$7.data; var$10.$elementData = var$7; var$10.$loadFactor = 0.75; var$10.$threshold = var$8.length * 0.75 | 0; $nbt.$tagMap = var$10; var$5 = nle_EaglerProfile_capes; if ($i < 0) break c; if ($i >= var$5.$size0) break c; var$8 = var$5.$array.data[$i].$data15; var$5 = new nms_NBTTagByteArray; var$5.$name = $rt_s(510); var$5.$byteArray = var$8; ju_HashMap_putImpl(var$10, $rt_s(510), var$5); $skins = nle_EaglerProfile_capes; if ($i < 0) break; if ($i >= $skins.$size0) break; $skins = $skins.$array.data[$i].$name18; var$5 = $capes.$tagMap; if ($skins !== null) $nbt.$name = $skins; else $nbt.$name = $rt_s(18); ju_HashMap_putImpl(var$5, $skins, $nbt); $i = $i + 1 | 0; } $skins = new jl_IndexOutOfBoundsException; $skins.$suppressionEnabled = 1; $skins.$writableStackTrace = 1; $rt_throw($skins); } $skins = new jl_IndexOutOfBoundsException; $skins.$suppressionEnabled = 1; $skins.$writableStackTrace = 1; $rt_throw($skins); } $nbt = new nms_NBTTagCompound; $nbt.$name = $rt_s(18); var$10 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$10.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$8 = var$7.data; var$10.$elementData = var$7; var$10.$loadFactor = 0.75; var$10.$threshold = var$8.length * 0.75 | 0; $nbt.$tagMap = var$10; var$5 = nle_EaglerProfile_skins; if ($i < 0) break a; if ($i >= var$5.$size0) break a; var$8 = var$5.$array.data[$i].$data11; var$5 = new nms_NBTTagByteArray; var$5.$name = $rt_s(510); var$5.$byteArray = var$8; ju_HashMap_putImpl(var$10, $rt_s(510), var$5); var$5 = nle_EaglerProfile_skins; if ($i < 0) break b; if ($i >= var$5.$size0) break b; var$3 = (!var$5.$array.data[$i].$slim ? 0 : 1) << 24 >> 24; var$10 = $nbt.$tagMap; var$5 = new nms_NBTTagByte; var$5.$name = $rt_s(511); var$5.$data = var$3; ju_HashMap_putImpl(var$10, $rt_s(511), var$5); $capes = nle_EaglerProfile_skins; if ($i < 0) break; if ($i >= $capes.$size0) break; $capes = $capes.$array.data[$i].$name16; var$5 = $skins.$tagMap; if ($capes !== null) $nbt.$name = $capes; else $nbt.$name = $rt_s(18); ju_HashMap_putImpl(var$5, $capes, $nbt); $i = $i + 1 | 0; } $skins = new jl_IndexOutOfBoundsException; $skins.$suppressionEnabled = 1; $skins.$writableStackTrace = 1; $rt_throw($skins); } $skins = new jl_IndexOutOfBoundsException; $skins.$suppressionEnabled = 1; $skins.$writableStackTrace = 1; $rt_throw($skins); } $skins = new jl_IndexOutOfBoundsException; $skins.$suppressionEnabled = 1; $skins.$writableStackTrace = 1; $rt_throw($skins); }, nle_GuiScreenEditProfile_actionPerformed = ($this, $par1GuiButton) => { let var$2, $i, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$i = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$this.$dropDownOpen) { var$2 = $par1GuiButton.$id0; if (var$2 == 200) { nle_GuiScreenEditProfile_save($this); $par1GuiButton = $this.$mc; $i = $this.$parent4; $ptr = 1; continue main; } if (var$2 == 2) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_fileChooser.openFileChooser("png", "image/png"); } else if (var$2 == 3) { nle_EaglerProfile_$callClinit(); $par1GuiButton = nle_EaglerProfile_skins; var$2 = 0; var$4 = $par1GuiButton.$modCount; var$5 = $par1GuiButton.$size(); while (true) { if (!(var$2 >= var$5 ? 0 : 1)) { $par1GuiButton = nle_EaglerProfile_skins; var$6 = $par1GuiButton.$array; var$7 = 0; var$2 = $par1GuiButton.$size0; $i = null; if (var$7 > var$2) { $par1GuiButton = new jl_IllegalArgumentException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } while (var$7 < var$2) { var$8 = var$6.data; var$9 = var$7 + 1 | 0; var$8[var$7] = $i; var$7 = var$9; } $par1GuiButton.$size0 = 0; $par1GuiButton.$modCount = $par1GuiButton.$modCount + 1 | 0; nle_GuiScreenEditProfile_$callClinit(); $this.$dropDownOptions = nle_GuiScreenEditProfile_defaultOptions; $this.$selectedSlot = 0; nle_GuiScreenEditProfile_save($this); break a; } if (var$4 < $par1GuiButton.$modCount) break; var$9 = var$2 + 1 | 0; $i = $par1GuiButton.$get(var$2); var$10 = $this.$mc.$renderEngine; var$7 = $i.$glTex; $i = var$10.$textureNameToImageMap; var$10 = $i.$keySet0; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$11 = new jl_Integer; var$11.$value0 = var$7; } var$10 = ju_HashMap_removeByKey(var$10.$backingMap, var$11); nms_IntHashMap_removeEntry($i, var$7); nleg_EaglerAdapterGL30_$callClinit(); $i = nleg_EaglerAdapterGL30_texObjects; if (var$7 < $i.$size4 && var$7 >= 0) { var$6 = $i.$values.data; var$10 = var$6[var$7]; var$6[var$7] = null; $i.$allocatedObjects = $i.$allocatedObjects - 1 | 0; } else var$10 = null; $i = var$10; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteTexture($i.$obj1); var$2 = var$9; } $par1GuiButton = new ju_ConcurrentModificationException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } } } return; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, $i); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $i, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nle_GuiScreenEditProfile_updateScreen = $this => { let var$1, $skinX, $skinY, $i, $skinWidth, $scrollerSize, var$7, var$8, $rawSkin, var$10, $i2, $i3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$i3 = $thread.pop();$i2 = $thread.pop();var$10 = $thread.pop();$rawSkin = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$scrollerSize = $thread.pop();$skinWidth = $thread.pop();$i = $thread.pop();$skinY = $thread.pop();$skinX = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$username0; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; if (!$this.$dropDownOpen) $this.$dragging0 = 0; else { nlea_EaglerAdapterImpl2_$callClinit(); if (!nlea_EaglerAdapterImpl2_buttonStates.data[0]) $this.$dragging0 = 0; else { $skinX = ($this.$width / 2 | 0) - 20 | 0; $skinY = ($this.$height / 6 | 0) + 103 | 0; $i = $this.$mousex; $skinX = $skinX + 140 | 0; if ($i >= ($skinX - 10 | 0) && $i < $skinX) { $skinX = $this.$mousey; if ($skinX >= $skinY && $skinX < ($skinY + $this.$skinsHeight | 0)) $this.$dragging0 = 1; } if ($this.$dragging0) { $skinWidth = $this.$skinsHeight; $skinX = $rt_imul($skinWidth, $this.$slotsVisible); $i = $this.$dropDownOptions.data.length; $scrollerSize = $skinX / $i | 0; $this.$scrollPos = $rt_imul(($this.$mousey - $skinY | 0) - ($scrollerSize / 2 | 0) | 0, $i) / $skinWidth | 0; } } } nlea_EaglerAdapterImpl2_$callClinit(); var$7 = nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult = null; var$8 = var$7 !== null ? nleat_TeaVMUtils_wrapByteArrayBuffer(var$7) : null; if (var$8 !== null && var$8.data.length > 0) { var$1 = var$8.data.buffer; $ptr = 1; continue main; } return; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$(var$1); if ($rt_suspending()) { break main; } var$1 = $tmp; var$7 = var$1; $skinX = $rt_compare(var$7.$w0, 64); if (!(!$skinX && var$7.$h == 32) && !(!$skinX && var$7.$h == 64)) return; var$8 = var$7.$data5.data; $skinX = var$8.length; $rawSkin = $rt_createByteArray($skinX * 4 | 0); var$10 = $rawSkin.data; $i = 0; while ($i < $skinX) { $i2 = $i * 4 | 0; $i3 = var$8[$i]; var$10[$i2] = $i3 << 24 >> 24; var$10[$i2 + 1 | 0] = $i3 >> 8 << 24 >> 24; var$10[$i2 + 2 | 0] = $i3 >> 16 << 24 >> 24; var$10[$i2 + 3 | 0] = $i3 >> 24 << 24 >> 24; $i = $i + 1 | 0; } var$1 = $rt_str(nlea_EaglerAdapterImpl2_fileChooser.fileChooserResultName); if (var$1.$nativeString.length > 32) var$1 = jl_String_substring(var$1, 0, 32); if (var$7.$w0 == 64 && var$7.$h == 64) $this.$newSkinWaitSteveOrAlex = 1; $skinX = nle_EaglerProfile_addSkin(var$1, $rawSkin, 0); if ($skinX != (-1)) { $this.$selectedSlot = $skinX; nle_GuiScreenEditProfile_reconcatDD($this); nle_GuiScreenEditProfile_save($this); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $skinX, $skinY, $i, $skinWidth, $scrollerSize, var$7, var$8, $rawSkin, var$10, $i2, $i3, $ptr); }, nle_GuiScreenEditProfile_onGuiClosed = $this => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; }, nle_GuiScreenEditProfile_keyTyped = ($this, $par1, $par2) => { let $text, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$text = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $text = $this.$username0; $ptr = 1; case 1: nms_GuiTextField_textboxKeyTyped($text, $par1, $par2); if ($rt_suspending()) { break main; } $text = $this.$username0.$text; if ($text.$nativeString.length > 16) $text = jl_String_substring($text, 0, 16); var$4 = jur_Matcher__init_(jur_Pattern_compile($rt_s(658), 0), $text); $text = new jl_StringBuffer; $text.$buffer = $rt_createCharArray(16); var$4.$leftBound0 = 0; var$5 = var$4.$string.$nativeString.length; var$4.$rightBound0 = var$5; var$6 = var$4.$matchResult; var$7 = var$4.$string; var$8 = var$4.$leftBound0; var$6.$valid = 0; var$6.$mode0 = 2; var$9 = var$6.$groupBounds.data; $par1 = 0; var$10 = var$9.length; if ($par1 > var$10) { $text = new jl_IllegalArgumentException; jl_Exception__init_($text); $rt_throw($text); } while ($par1 < var$10) { var$11 = $par1 + 1 | 0; var$9[$par1] = (-1); $par1 = var$11; } var$9 = var$6.$consumers.data; var$10 = 0; var$11 = var$9.length; if (var$10 > var$11) { $text = new jl_IllegalArgumentException; jl_Exception__init_($text); $rt_throw($text); } while (var$10 < var$11) { var$12 = var$10 + 1 | 0; var$9[var$10] = (-1); var$10 = var$12; } if (var$7 !== null) var$6.$string1 = var$7; if (var$8 >= 0) { var$6.$leftBound = var$8; var$6.$rightBound = var$5; } var$6.$startIndex = var$6.$leftBound; var$4.$appendPos = 0; var$4.$replacement = null; var$6.$previousMatch = (-1); while (true) { if (!jur_Matcher_find(var$4)) { var$13 = var$4.$string; var$4 = jl_String_substring(var$13, var$4.$appendPos, var$13.$nativeString.length); var$11 = var$4.$nativeString.length; jl_AbstractStringBuilder_insert3($text, $text.$length0, var$4, 0, var$11); var$4 = new jl_String; var$9 = $text.$buffer; var$14 = var$9.data; var$10 = $text.$length0; var$11 = var$14.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$9.data, 0, var$10); $text = $this.$username0; $par1 = var$4.$nativeString.length; var$10 = $text.$maxStringLength; if ($par1 <= var$10) $text.$text = var$4; else $text.$text = jl_String_substring(var$4, 0, var$10); $text.$cursorPosition = $text.$text.$nativeString.length; var$10 = $text.$text.$nativeString.length; if ($text.$cursorPosition < 0) $text.$cursorPosition = 0; if ($text.$cursorPosition > var$10) $text.$cursorPosition = var$10; nms_GuiTextField_setSelectionPos($text, $text.$cursorPosition); if ($par2 == 200) { $par1 = $this.$selectedSlot; if ($par1 > 0) { $par1 = $par1 - 1 | 0; $this.$selectedSlot = $par1; $this.$scrollPos = $par1 - 2 | 0; } } if ($par2 == 208) { $par1 = $this.$selectedSlot; if ($par1 < ($this.$dropDownOptions.data.length - 1 | 0)) { $par1 = $par1 + 1 | 0; $this.$selectedSlot = $par1; $this.$scrollPos = $par1 - 2 | 0; } } return; } $text = new jl_IndexOutOfBoundsException; $text.$suppressionEnabled = 1; $text.$writableStackTrace = 1; $rt_throw($text); } var$4.$processedRepl = jur_Matcher_processReplacement(var$4, $rt_s(659)); var$6 = var$4.$string; $par1 = var$4.$appendPos; var$7 = var$4.$matchResult; if (!var$7.$valid) { $text = new jl_IllegalStateException; jl_RuntimeException__init_($text); $rt_throw($text); } if (0 >= var$7.$groupCount) { $text = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($text, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($text); } var$6 = jl_String_substring(var$6, $par1, var$7.$groupBounds.data[0]); var$10 = var$6.$nativeString.length; jl_AbstractStringBuilder_insert3($text, $text.$length0, var$6, 0, var$10); var$6 = var$4.$processedRepl; jl_AbstractStringBuilder_insert($text, $text.$length0, var$6); var$6 = var$4.$matchResult; if (!var$6.$valid) break; if (0 >= var$6.$groupCount) { $text = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($text, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($text); } var$4.$appendPos = var$6.$groupBounds.data[1]; } $text = new jl_IllegalStateException; jl_RuntimeException__init_($text); $rt_throw($text); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $text, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nle_GuiScreenEditProfile_mouseClicked = ($this, $par1, $par2, $par3) => { let $skinX, $skinY, $capesText, $type, $skid, $i, var$10, $skinHeight, $skinWidth, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$skinWidth = $thread.pop();$skinHeight = $thread.pop();var$10 = $thread.pop();$i = $thread.pop();$skid = $thread.pop();$type = $thread.pop();$capesText = $thread.pop();$skinY = $thread.pop();$skinX = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$newSkinWaitSteveOrAlex) { $par3 = $this.$width / 2 | 0; $skinX = $par3 - 90 | 0; $skinY = $this.$height / 4 | 0; if ($par1 >= $skinX && $par2 >= $skinY && $par1 < ($skinX + 70 | 0) && $par2 < ($skinY + 120 | 0)) { a: { $par1 = $this.$selectedSlot; nle_EaglerProfile_$callClinit(); $capesText = nle_EaglerProfile_skins; $par2 = $rt_compare($par1, $capesText.$size0); if ($par2 < 0) { $this.$newSkinWaitSteveOrAlex = 0; if ($par1 < 0) break a; if ($par2 >= 0) break a; $capesText.$array.data[$par1].$slim = 0; nle_GuiScreenEditProfile_save($this); } return; } $capesText = new jl_IndexOutOfBoundsException; $capesText.$suppressionEnabled = 1; $capesText.$writableStackTrace = 1; $rt_throw($capesText); } $par3 = $par3 + 20 | 0; if ($par1 >= $par3 && $par2 >= $skinY && $par1 < ($par3 + 70 | 0) && $par2 < ($skinY + 120 | 0)) { $par1 = $this.$selectedSlot; nle_EaglerProfile_$callClinit(); $capesText = nle_EaglerProfile_skins; $par2 = $rt_compare($par1, $capesText.$size0); if ($par2 < 0) { if ($par1 >= 0 && $par2 < 0) { $capesText.$array.data[$par1].$slim = 1; $this.$newSkinWaitSteveOrAlex = 0; nle_GuiScreenEditProfile_save($this); } else { $capesText = new jl_IndexOutOfBoundsException; $capesText.$suppressionEnabled = 1; $capesText.$writableStackTrace = 1; $rt_throw($capesText); } } } return; } b: { $type = $this.$selectedSlot; nle_EaglerProfile_$callClinit(); $capesText = nle_EaglerProfile_skins; $skid = $rt_compare($type, $capesText.$size0); if ($skid < 0) { $skinX = ($this.$width / 2 | 0) - 120 | 0; $skinY = ($this.$height / 6 | 0) + 18 | 0; if ($par1 >= $skinX && $par2 >= $skinY && $par1 < ($skinX + 80 | 0) && $par2 < ($skinY + 120 | 0) && $skid < 0) { if ($type >= 0 && $skid < 0) { $i = $capesText.$array.data[$type].$data11.data.length; $type = 0; c: { while (true) { var$10 = nle_EaglerProfile_SKIN_DATA_SIZE.data; if ($type >= var$10.length) { $type = (-1); break c; } if ($i == var$10[$type]) break; $type = $type + 1 | 0; } } if ($type != 1 && $type != 3) break b; $this.$newSkinWaitSteveOrAlex = 1; return; } $capesText = new jl_IndexOutOfBoundsException; $capesText.$suppressionEnabled = 1; $capesText.$writableStackTrace = 1; $rt_throw($capesText); } } } $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } nms_GuiTextField_mouseClicked($this.$username0, $par1, $par2, $par3); if (!$par3) { $i = $this.$width / 2 | 0; $skinX = ($i + 140 | 0) - 40 | 0; $skinY = ($this.$height / 6 | 0) + 82 | 0; if ($par1 >= $skinX && $par1 < ($skinX + 20 | 0) && $par2 >= $skinY && $par2 < ($skinY + 22 | 0)) { $par3 = $this.$dropDownOpen ? 0 : 1; $this.$dropDownOpen = $par3; } $skinX = $i - 20 | 0; $skinHeight = $this.$skinsHeight; $type = $rt_compare($par1, $skinX); if (!($type >= 0 && $par1 < ($skinX + 140 | 0) && $par2 >= $skinY && $par2 < (($skinY + $skinHeight | 0) + 22 | 0))) { $this.$dropDownOpen = 0; $this.$dragging0 = 0; } b: { $skid = $skinY + 21 | 0; if ($this.$dropDownOpen && !$this.$dragging0) { $i = 0; $skinY = $rt_compare($par1, ($skinX + 140 | 0) - 10 | 0); while (true) { if ($i >= $this.$slotsVisible) break b; $par3 = $i + $this.$scrollPos | 0; if ($par3 < $this.$dropDownOptions.data.length) { $skinX = $rt_compare($this.$selectedSlot, $par3); if ($skinX && $type >= 0 && $skinY < 0) { $skinWidth = $skid + ($i * 10 | 0) | 0; if ($par2 >= ($skinWidth + 5 | 0) && $par2 < ($skinWidth + 15 | 0) && $skinX) { $this.$selectedSlot = $par3; $this.$dropDownOpen = 0; $this.$dragging0 = 0; } } } $i = $i + 1 | 0; } } } $skid = $this.$selectedSlot - nle_EaglerProfile_skins.$size0 | 0; if ($skid < 0) $skid = 0; if (!(!nle_DefaultSkinRenderer_isStandardModel($skid) && !($skid != 18 && $skid != 28 ? 0 : 1))) { $i = ($this.$width / 2 | 0) - 120 | 0; $par3 = ($this.$height / 6 | 0) + 8 | 0; nms_StringTranslate_$callClinit(); $capesText = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $rt_s(651)); if ($par1 > ($i - 10 | 0) && $par2 > ($par3 - 16 | 0) && $par1 < $i + nms_FontRenderer_getStringWidth($this.$fontRenderer, $capesText) / 0.75 + 10.0 && $par2 < ($par3 + 7 | 0)) { nle_GuiScreenEditProfile_save($this); $capesText = $this.$mc.$sndManager; var$13 = $rt_s(642); var$14 = 1.0; var$15 = 1.0; $ptr = 2; continue main; } } } return; case 2: nms_SoundManager_playSoundFX($capesText, var$13, var$14, var$15); if ($rt_suspending()) { break main; } $capesText = $this.$mc; var$13 = nle_GuiScreenEditCape__init_($this, $this.$selectedSlot); $ptr = 3; case 3: nms_Minecraft_displayGuiScreen($capesText, var$13); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $skinX, $skinY, $capesText, $type, $skid, $i, var$10, $skinHeight, $skinWidth, var$13, var$14, var$15, $ptr); }, nle_GuiScreenEditProfile__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(660); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nle_GuiScreenEditProfile_gui = var$1; var$3 = $rt_createArray(jl_String, 33); var$5 = var$3.data; var$5[0] = $rt_s(661); var$5[1] = $rt_s(662); var$5[2] = $rt_s(663); var$5[3] = $rt_s(664); var$5[4] = $rt_s(665); var$5[5] = $rt_s(666); var$5[6] = $rt_s(667); var$5[7] = $rt_s(668); var$5[8] = $rt_s(669); var$5[9] = $rt_s(670); var$5[10] = $rt_s(671); var$5[11] = $rt_s(672); var$5[12] = $rt_s(673); var$5[13] = $rt_s(674); var$5[14] = $rt_s(675); var$5[15] = $rt_s(676); var$5[16] = $rt_s(677); var$5[17] = $rt_s(678); var$5[18] = $rt_s(679); var$5[19] = $rt_s(680); var$5[20] = $rt_s(681); var$5[21] = $rt_s(682); var$5[22] = $rt_s(683); var$5[23] = $rt_s(684); var$5[24] = $rt_s(685); var$5[25] = $rt_s(686); var$5[26] = $rt_s(687); var$5[27] = $rt_s(688); var$5[28] = $rt_s(689); var$5[29] = $rt_s(690); var$5[30] = $rt_s(691); var$5[31] = $rt_s(692); var$5[32] = $rt_s(693); nle_GuiScreenEditProfile_defaultOptions = var$3; nle_GuiScreenEditProfile_newDefaultNotice = var$5.length - 5 | 0; }; function ji_ByteArrayOutputStream() { let a = this; ji_OutputStream.call(a); a.$buf = null; a.$count2 = 0; } let ji_ByteArrayOutputStream__init_0 = $this => { $this.$buf = $rt_createByteArray(32); }, ji_ByteArrayOutputStream__init_2 = () => { let var_0 = new ji_ByteArrayOutputStream(); ji_ByteArrayOutputStream__init_0(var_0); return var_0; }, ji_ByteArrayOutputStream__init_1 = ($this, $size) => { $this.$buf = $rt_createByteArray($size); }, ji_ByteArrayOutputStream__init_ = var_0 => { let var_1 = new ji_ByteArrayOutputStream(); ji_ByteArrayOutputStream__init_1(var_1, var_0); return var_1; }, ji_ByteArrayOutputStream_write0 = ($this, $b) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$count2; var$3 = var$2 + 1 | 0; var$4 = $this.$buf.data; var$5 = var$4.length; if (var$5 < var$3) { var$6 = (var$5 * 3 | 0) / 2 | 0; if (var$3 > var$6) var$6 = var$3; var$7 = $rt_createByteArray(var$6); if (var$6 < var$5) var$5 = var$6; var$8 = var$7.data; var$6 = 0; while (var$6 < var$5) { var$8[var$6] = var$4[var$6]; var$6 = var$6 + 1 | 0; } $this.$buf = var$7; } var$7 = $this.$buf.data; $this.$count2 = var$3; var$7[var$2] = $b << 24 >> 24; }, ji_ByteArrayOutputStream_write = ($this, $b, $off, $len) => { let var$4, var$5, var$6, $i, var$8, var$9, var$10; var$4 = $this.$count2 + $len | 0; var$5 = $this.$buf.data; var$6 = var$5.length; if (var$6 < var$4) { $i = (var$6 * 3 | 0) / 2 | 0; if (var$4 > $i) $i = var$4; var$8 = $rt_createByteArray($i); if ($i < var$6) var$6 = $i; var$9 = var$8.data; $i = 0; while ($i < var$6) { var$9[$i] = var$5[$i]; $i = $i + 1 | 0; } $this.$buf = var$8; } $i = 0; while ($i < $len) { var$8 = $b.data; var$5 = $this.$buf.data; var$10 = $this.$count2; $this.$count2 = var$10 + 1 | 0; var$6 = $off + 1 | 0; var$5[var$10] = var$8[$off]; $i = $i + 1 | 0; $off = var$6; } }, ji_ByteArrayOutputStream_toByteArray = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$buf.data; var$2 = $this.$count2; var$3 = $rt_createByteArray(var$2); var$4 = var$1.length; if (var$2 < var$4) var$4 = var$2; var$5 = var$3.data; var$2 = 0; while (var$2 < var$4) { var$5[var$2] = var$1[var$2]; var$2 = var$2 + 1 | 0; } return var$3; }, ji_ByteArrayOutputStream_reset = $this => { $this.$count2 = 0; }, ji_DataOutput = $rt_classWithoutFields(0); function ji_DataOutputStream() { let a = this; ji_FilterOutputStream.call(a); a.$written = 0; a.$buff0 = null; } let ji_DataOutputStream__init_0 = ($this, $out) => { $this.$out0 = $out; $this.$buff0 = $rt_createByteArray(8); }, ji_DataOutputStream__init_ = var_0 => { let var_1 = new ji_DataOutputStream(); ji_DataOutputStream__init_0(var_1, var_0); return var_1; }, ji_DataOutputStream_write = ($this, $buffer, $offset, $count) => { let var$4; if ($buffer !== null) { $this.$out0.$write4($buffer, $offset, $count); $this.$written = $this.$written + $count | 0; return; } var$4 = new jl_NullPointerException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); }, ji_DataOutputStream_write0 = ($this, $oneByte) => { $this.$out0.$write1($oneByte); $this.$written = $this.$written + 1 | 0; }, ji_DataOutputStream_writeChars = ($this, $str) => { let $newBytes, var$3, $index, $newIndex; $newBytes = $rt_createByteArray($str.$nativeString.length * 2 | 0); var$3 = $newBytes.data; $index = 0; a: { b: { while ($index < $str.$nativeString.length) { $newIndex = !$index ? $index : $index * 2 | 0; if ($index < 0) break a; if ($index >= $str.$nativeString.length) break a; var$3[$newIndex] = $str.$nativeString.charCodeAt($index) >> 8 << 24 >> 24; $newIndex = $newIndex + 1 | 0; if ($index < 0) break b; if ($index >= $str.$nativeString.length) break b; var$3[$newIndex] = $str.$nativeString.charCodeAt($index) << 24 >> 24; $index = $index + 1 | 0; } $str = $this.$out0; $newIndex = var$3.length; $str.$write4($newBytes, 0, $newIndex); $this.$written = $this.$written + $newIndex | 0; return; } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); }, ji_DataOutputStream_writeInt = ($this, $val) => { let var$2, var$3; var$2 = $this.$buff0; var$3 = var$2.data; var$3[0] = $val >> 24 << 24 >> 24; var$3[1] = $val >> 16 << 24 >> 24; var$3[2] = $val >> 8 << 24 >> 24; var$3[3] = $val << 24 >> 24; $this.$out0.$write4(var$2, 0, 4); $this.$written = $this.$written + 4 | 0; }, ji_DataOutputStream_writeLong = ($this, $val) => { let var$2, var$3; var$2 = $this.$buff0; var$3 = var$2.data; var$3[0] = Long_lo(Long_shr($val, 56)) << 24 >> 24; var$3[1] = Long_lo(Long_shr($val, 48)) << 24 >> 24; var$3[2] = Long_lo(Long_shr($val, 40)) << 24 >> 24; var$3[3] = Long_hi($val) << 24 >> 24; var$3[4] = Long_lo(Long_shr($val, 24)) << 24 >> 24; var$3[5] = Long_lo(Long_shr($val, 16)) << 24 >> 24; var$3[6] = Long_lo(Long_shr($val, 8)) << 24 >> 24; var$3[7] = Long_lo($val) << 24 >> 24; $this.$out0.$write4(var$2, 0, 8); $this.$written = $this.$written + 8 | 0; }, ji_DataOutputStream_writeShort = ($this, $val) => { let var$2, var$3; var$2 = $this.$buff0; var$3 = var$2.data; var$3[0] = $val >> 8 << 24 >> 24; var$3[1] = $val << 24 >> 24; $this.$out0.$write4(var$2, 0, 2); $this.$written = $this.$written + 2 | 0; }, ji_DataOutputStream_writeUTF = ($this, $str) => { let $utfCount, var$3, $buffer, var$5; $utfCount = ji_DataOutputStream_countUTFBytes($this, $str); if (Long_gt($utfCount, Long_fromInt(65535))) { $str = new ji_IOException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $str.$message = $rt_s(413); $rt_throw($str); } var$3 = Long_lo($utfCount); $buffer = $rt_createByteArray(var$3 + 2 | 0); var$5 = $buffer.data; var$5[0] = var$3 >> 8 << 24 >> 24; var$5[1] = var$3 << 24 >> 24; var$3 = ji_DataOutputStream_writeUTFBytesToBuffer($this, $str, $buffer, 2); $this.$out0.$write4($buffer, 0, var$3); $this.$written = $this.$written + var$3 | 0; }, ji_DataOutputStream_countUTFBytes = ($this, $str) => { let $utfCount, $length, $i, $charValue; $utfCount = 0; $length = $str.$nativeString.length; $i = 0; a: { while ($i < $length) { if ($i < 0) break a; if ($i >= $str.$nativeString.length) break a; $charValue = $str.$nativeString.charCodeAt($i); $utfCount = $charValue > 0 && $charValue <= 127 ? $utfCount + 1 | 0 : $charValue > 2047 ? $utfCount + 3 | 0 : $utfCount + 2 | 0; $i = $i + 1 | 0; } return Long_fromInt($utfCount); } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); }, ji_DataOutputStream_writeUTFBytesToBuffer = ($this, $str, $buffer, $offset) => { let $length, $i, $charValue, var$7, var$8, var$9, var$10; $length = $str.$nativeString.length; $i = 0; a: { while ($i < $length) { if ($i < 0) break a; if ($i >= $str.$nativeString.length) break a; $charValue = $str.$nativeString.charCodeAt($i); if ($charValue > 0 && $charValue <= 127) { var$7 = $buffer.data; var$8 = $offset + 1 | 0; var$7[$offset] = $charValue << 24 >> 24; } else if ($charValue <= 2047) { var$7 = $buffer.data; var$9 = $offset + 1 | 0; var$7[$offset] = (192 | 31 & $charValue >> 6) << 24 >> 24; var$8 = var$9 + 1 | 0; var$7[var$9] = (128 | 63 & $charValue) << 24 >> 24; } else { var$7 = $buffer.data; var$10 = $offset + 1 | 0; var$7[$offset] = (224 | 15 & $charValue >> 12) << 24 >> 24; $offset = var$10 + 1 | 0; var$7[var$10] = (128 | 63 & $charValue >> 6) << 24 >> 24; var$8 = $offset + 1 | 0; var$7[$offset] = (128 | 63 & $charValue) << 24 >> 24; } $i = $i + 1 | 0; $offset = var$8; } return $offset; } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); }; function jnc_Charset() { let a = this; jl_Object.call(a); a.$canonicalName = null; a.$aliases = null; } let jnc_Charset_checkCanonicalName = $name => { let var$2, $i, $c; if ($name.$nativeString.length ? 0 : 1) { var$2 = new jnc_IllegalCharsetNameException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$charsetName0 = $name; $rt_throw(var$2); } if (0 >= $name.$nativeString.length) { $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } if (!jnc_Charset_isValidCharsetStart($name.$nativeString.charCodeAt(0))) { var$2 = new jnc_IllegalCharsetNameException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$charsetName0 = $name; $rt_throw(var$2); } $i = 1; a: { while ($i < $name.$nativeString.length) { if ($i < 0) break a; if ($i >= $name.$nativeString.length) break a; b: { $c = $name.$nativeString.charCodeAt($i); switch ($c) { case 43: case 45: case 46: case 58: case 95: break; default: if (jnc_Charset_isValidCharsetStart($c)) break b; else { var$2 = new jnc_IllegalCharsetNameException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$charsetName0 = $name; $rt_throw(var$2); } } } $i = $i + 1 | 0; } return; } $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); }, jnc_Charset_isValidCharsetStart = $c => { a: { b: { if (!($c >= 48 && $c <= 57) && !($c >= 97 && $c <= 122)) { if ($c < 65) break b; if ($c > 90) break b; } $c = 1; break a; } $c = 0; } return $c; }, jnc_Charset_forName = $charsetName => { let $charset, var$3, var$4, var$5, var$6, var$7, var$8; if ($charsetName === null) { $charsetName = new jl_IllegalArgumentException; $charsetName.$suppressionEnabled = 1; $charsetName.$writableStackTrace = 1; $charsetName.$message = $rt_s(694); $rt_throw($charsetName); } jnc_Charset_checkCanonicalName($charsetName); jnc_Charset$Charsets_$callClinit(); $charset = jnc_Charset$Charsets_value; var$3 = $charsetName.$nativeString.toUpperCase(); var$4 = var$3 === $charsetName.$nativeString ? $charsetName : jl_String__init_(var$3); a: { if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = $charset.$elementData.data; $charset = var$7[var$6 & (var$7.length - 1 | 0)]; while ($charset !== null) { if ($charset.$origKeyHash == var$6) { b: { var$3 = $charset.$key; if (var$4 !== var$3) { if (var$4 === var$3) var$8 = 1; else if (!(var$3 instanceof jl_String)) var$8 = 0; else { var$3 = var$3; var$8 = var$4.$nativeString !== var$3.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } $charset = $charset.$next3; } $charset = $charset === null ? null : $charset.$value1; if ($charset !== null) return $charset; $charset = new jnc_UnsupportedCharsetException; $charset.$suppressionEnabled = 1; $charset.$writableStackTrace = 1; $charset.$charsetName = $charsetName; $rt_throw($charset); }, jnc_Charset_compareTo = ($this, var$1) => { var$1 = var$1; return jl_String_compareToIgnoreCase($this.$canonicalName, var$1.$canonicalName); }; function jur_AbstractSet() { let a = this; jl_Object.call(a); a.$next4 = null; a.$isSecondPassVisited = 0; a.$index1 = null; a.$type0 = 0; } let jur_AbstractSet_counter = 0, jur_AbstractSet_find = ($this, $stringIndex, $testString, $matchResult) => { let $length; $length = $matchResult.$rightBound; while (true) { if ($stringIndex > $length) return (-1); if ($this.$matches($stringIndex, $testString, $matchResult) >= 0) break; $stringIndex = $stringIndex + 1 | 0; } return $stringIndex; }, jur_AbstractSet_findBack = ($this, $stringIndex, $startSearch, $testString, $matchResult) => { while (true) { if ($startSearch < $stringIndex) return (-1); if ($this.$matches($startSearch, $testString, $matchResult) >= 0) break; $startSearch = $startSearch + (-1) | 0; } return $startSearch; }, jur_AbstractSet_setType = ($this, $type) => { $this.$type0 = $type; }, jur_AbstractSet_getType = $this => { return $this.$type0; }, jur_AbstractSet_getQualifiedName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$index1; var$2 = $this.$getName(); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$4, var$4 + 1 | 0); var$3.$buffer.data[var$4] = 60; var$5 = var$3.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$5, var$1); var$4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$4, var$4 + 1 | 0); var$3.$buffer.data[var$4] = 58; var$5 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$5, var$2); var$4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$4, var$4 + 1 | 0); var$6 = var$3.$buffer; var$7 = var$6.data; var$7[var$4] = 62; var$1 = new jl_String; var$4 = var$3.$length0; var$8 = var$7.length; if (var$4 >= 0 && var$4 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$6.data, 0, var$4); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, jur_AbstractSet_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$index1; var$2 = $this.$getName(); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$4, var$4 + 1 | 0); var$3.$buffer.data[var$4] = 60; var$5 = var$3.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$5, var$1); var$4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$4, var$4 + 1 | 0); var$3.$buffer.data[var$4] = 58; var$5 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$5, var$2); var$4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$4, var$4 + 1 | 0); var$6 = var$3.$buffer; var$7 = var$6.data; var$7[var$4] = 62; var$1 = new jl_String; var$4 = var$3.$length0; var$8 = var$7.length; if (var$4 >= 0 && var$4 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$6.data, 0, var$4); return var$1; } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); }, jur_AbstractSet_getNext = $this => { return $this.$next4; }, jur_AbstractSet_setNext = ($this, $next) => { $this.$next4 = $next; }, jur_AbstractSet_first = ($this, $set) => { return 1; }, jur_AbstractSet_processBackRefReplacement = $this => { return null; }, jur_AbstractSet_processSecondPass = $this => { let $set; $this.$isSecondPassVisited = 1; $set = $this.$next4; if ($set !== null) { if (!$set.$isSecondPassVisited) { $set = $set.$processBackRefReplacement(); if ($set !== null) { $this.$next4.$isSecondPassVisited = 1; $this.$next4 = $set; } $this.$next4.$processSecondPass(); } else if ($set instanceof jur_SingleSet && $set.$fSet.$isBackReferenced) $this.$next4 = $set.$next4; } }, jur_AbstractSet__clinit_ = () => { jur_AbstractSet_counter = 1; }; function ju_Arrays$ArrayAsList() { ju_AbstractList.call(this); this.$array2 = null; } let ju_Arrays$ArrayAsList_get = ($this, $index) => { return $this.$array2.data[$index]; }, ju_Arrays$ArrayAsList_size = $this => { return $this.$array2.data.length; }; function jt_DateFormatSymbols() { let a = this; jl_Object.call(a); a.$locale0 = null; a.$ampms0 = null; a.$eras0 = null; a.$months0 = null; a.$shortMonths0 = null; a.$shortWeekdays = null; a.$weekdays = null; a.$zoneStrings = null; } let jt_DateFormatSymbols__init_ = $this => { ju_Locale_$callClinit(); $this.$locale0 = ju_Locale_defaultLocale; }, jt_DateFormatSymbols__init_0 = () => { let var_0 = new jt_DateFormatSymbols(); jt_DateFormatSymbols__init_(var_0); return var_0; }, jt_DateFormatSymbols_clone = $this => { let $symbols, var$2, var$3, $i, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $symbols = new jt_DateFormatSymbols; $symbols.$locale0 = $this.$locale0; var$2 = $this.$ampms0; if (var$2 !== null) { var$3 = var$2.data; $i = var$3.length; var$5 = var$2.constructor; if (var$5 !== null) { var$6 = var$5.classObject; if (var$6 === null) { var$6 = new jl_Class; var$6.$platformClass = var$5; var$5.classObject = var$6; } } else var$6 = null; var$7 = var$6.$platformClass.$meta.item; if (var$7 === null) var$5 = null; else { var$5 = var$7.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = var$7; var$7.classObject = var$5; } } if (var$5 === null) { $symbols = new jl_NullPointerException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if (var$5 === $rt_cls($rt_voidcls)) { $symbols = new jl_IllegalArgumentException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if ($i < 0) { $symbols = new jl_NegativeArraySizeException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } var$8 = jlr_Array_newInstanceImpl(var$5.$platformClass, $i); var$9 = 0; while (var$9 < $i) { var$8.data[var$9] = var$3[var$9]; var$9 = var$9 + 1 | 0; } $symbols.$ampms0 = var$8; } var$2 = $this.$eras0; if (var$2 !== null) { var$3 = var$2.data; $i = var$3.length; var$5 = var$2.constructor; if (var$5 === null) var$6 = null; else { var$6 = var$5.classObject; if (var$6 === null) { var$6 = new jl_Class; var$6.$platformClass = var$5; var$5.classObject = var$6; } } var$7 = var$6.$platformClass.$meta.item; if (var$7 === null) var$5 = null; else { var$5 = var$7.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = var$7; var$7.classObject = var$5; } } if (var$5 === null) { $symbols = new jl_NullPointerException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if (var$5 === $rt_cls($rt_voidcls)) { $symbols = new jl_IllegalArgumentException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if ($i < 0) { $symbols = new jl_NegativeArraySizeException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } var$8 = jlr_Array_newInstanceImpl(var$5.$platformClass, $i); var$9 = 0; while (var$9 < $i) { var$8.data[var$9] = var$3[var$9]; var$9 = var$9 + 1 | 0; } $symbols.$eras0 = var$8; } var$2 = $this.$months0; if (var$2 !== null) { var$3 = var$2.data; $i = var$3.length; var$5 = var$2.constructor; if (var$5 === null) var$6 = null; else { var$6 = var$5.classObject; if (var$6 === null) { var$6 = new jl_Class; var$6.$platformClass = var$5; var$5.classObject = var$6; } } var$7 = var$6.$platformClass.$meta.item; if (var$7 === null) var$5 = null; else { var$5 = var$7.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = var$7; var$7.classObject = var$5; } } if (var$5 === null) { $symbols = new jl_NullPointerException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if (var$5 === $rt_cls($rt_voidcls)) { $symbols = new jl_IllegalArgumentException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if ($i < 0) { $symbols = new jl_NegativeArraySizeException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } var$8 = jlr_Array_newInstanceImpl(var$5.$platformClass, $i); var$9 = 0; while (var$9 < $i) { var$8.data[var$9] = var$3[var$9]; var$9 = var$9 + 1 | 0; } $symbols.$months0 = var$8; } var$2 = $this.$shortMonths0; if (var$2 !== null) { var$3 = var$2.data; $i = var$3.length; var$5 = var$2.constructor; if (var$5 === null) var$6 = null; else { var$6 = var$5.classObject; if (var$6 === null) { var$6 = new jl_Class; var$6.$platformClass = var$5; var$5.classObject = var$6; } } var$7 = var$6.$platformClass.$meta.item; if (var$7 === null) var$5 = null; else { var$5 = var$7.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = var$7; var$7.classObject = var$5; } } if (var$5 === null) { $symbols = new jl_NullPointerException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if (var$5 === $rt_cls($rt_voidcls)) { $symbols = new jl_IllegalArgumentException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if ($i < 0) { $symbols = new jl_NegativeArraySizeException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } var$8 = jlr_Array_newInstanceImpl(var$5.$platformClass, $i); var$9 = 0; while (var$9 < $i) { var$8.data[var$9] = var$3[var$9]; var$9 = var$9 + 1 | 0; } $symbols.$shortMonths0 = var$8; } var$2 = $this.$shortWeekdays; if (var$2 !== null) { var$3 = var$2.data; var$2 = var$2.$clone0(); $i = var$3.length; var$5 = var$2.constructor; if (var$5 === null) var$6 = null; else { var$6 = var$5.classObject; if (var$6 === null) { var$6 = new jl_Class; var$6.$platformClass = var$5; var$5.classObject = var$6; } } var$7 = var$6.$platformClass.$meta.item; if (var$7 === null) var$5 = null; else { var$5 = var$7.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = var$7; var$7.classObject = var$5; } } if (var$5 === null) { $symbols = new jl_NullPointerException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if (var$5 === $rt_cls($rt_voidcls)) { $symbols = new jl_IllegalArgumentException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if ($i < 0) { $symbols = new jl_NegativeArraySizeException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } var$2 = var$2.data; var$6 = jlr_Array_newInstanceImpl(var$5.$platformClass, $i); var$9 = var$2.length; if ($i < var$9) var$9 = $i; $i = 0; while ($i < var$9) { var$6.data[$i] = var$2[$i]; $i = $i + 1 | 0; } $symbols.$shortWeekdays = var$6; } var$2 = $this.$weekdays; if (var$2 !== null) { var$3 = var$2.data; $i = var$3.length; var$5 = var$2.constructor; if (var$5 === null) var$6 = null; else { var$6 = var$5.classObject; if (var$6 === null) { var$6 = new jl_Class; var$6.$platformClass = var$5; var$5.classObject = var$6; } } var$7 = var$6.$platformClass.$meta.item; if (var$7 === null) var$5 = null; else { var$5 = var$7.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = var$7; var$7.classObject = var$5; } } if (var$5 === null) { $symbols = new jl_NullPointerException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if (var$5 === $rt_cls($rt_voidcls)) { $symbols = new jl_IllegalArgumentException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if ($i < 0) { $symbols = new jl_NegativeArraySizeException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } var$8 = jlr_Array_newInstanceImpl(var$5.$platformClass, $i); var$9 = 0; while (var$9 < $i) { var$8.data[var$9] = var$3[var$9]; var$9 = var$9 + 1 | 0; } $symbols.$weekdays = var$8; } a: { var$2 = $this.$zoneStrings; if (var$2 !== null) { $symbols.$zoneStrings = $rt_createArray($rt_arraycls(jl_String), var$2.data.length); $i = 0; while (true) { var$2 = $this.$zoneStrings.data; if ($i >= var$2.length) break a; var$3 = $symbols.$zoneStrings; var$10 = var$2[$i]; var$9 = var$2[$i].data.length; var$5 = var$10.constructor; if (var$5 === null) var$6 = null; else { var$6 = var$5.classObject; if (var$6 === null) { var$6 = new jl_Class; var$6.$platformClass = var$5; var$5.classObject = var$6; } } var$7 = var$6.$platformClass.$meta.item; if (var$7 === null) var$6 = null; else { var$6 = var$7.classObject; if (var$6 === null) { var$6 = new jl_Class; var$6.$platformClass = var$7; var$7.classObject = var$6; } } if (var$6 === null) { $symbols = new jl_NullPointerException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if (var$6 === $rt_cls($rt_voidcls)) { $symbols = new jl_IllegalArgumentException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } if (var$9 < 0) { $symbols = new jl_NegativeArraySizeException; $symbols.$suppressionEnabled = 1; $symbols.$writableStackTrace = 1; $rt_throw($symbols); } var$2 = var$10.data; var$8 = jlr_Array_newInstanceImpl(var$6.$platformClass, var$9); var$11 = var$2.length; if (var$9 < var$11) var$11 = var$9; var$9 = 0; while (var$9 < var$11) { var$8.data[var$9] = var$2[var$9]; var$9 = var$9 + 1 | 0; } var$3.data[$i] = var$8; $i = $i + 1 | 0; } } } return $symbols; }, jt_DateFormatSymbols_getShortWeekdays = $this => { let var$1, var$2, var$3, $cldrWeekdays, $i, var$6, var$7, $i_0; a: { if ($this.$shortWeekdays === null) { $this.$shortWeekdays = $rt_createArray(jl_String, 8); var$1 = $this.$locale0; var$2 = var$1.$languageCode; var$3 = var$1.$countryCode; if (otciu_CLDRHelper_$$metadata$$6 === null) otciu_CLDRHelper_$$metadata$$6 = otciu_CLDRHelper_getShortWeekdayMap$$create(); $cldrWeekdays = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$6, var$2, var$3); $i = 0; while (true) { if ($i >= 7) break a; var$6 = $cldrWeekdays.data; var$7 = $this.$shortWeekdays.data; $i_0 = $i + 1 | 0; var$7[$i_0] = var$6[$i]; $i = $i_0; } } } return $this.$shortWeekdays.$clone0(); }, jt_DateFormatSymbols_getWeekdays = $this => { let var$1, var$2, var$3, $cldrWeekdays, $i, var$6, var$7, $i_0; a: { if ($this.$weekdays === null) { $this.$weekdays = $rt_createArray(jl_String, 8); var$1 = $this.$locale0; var$2 = var$1.$languageCode; var$3 = var$1.$countryCode; if (otciu_CLDRHelper_$$metadata$$5 === null) otciu_CLDRHelper_$$metadata$$5 = otciu_CLDRHelper_getWeekdayMap$$create(); $cldrWeekdays = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$5, var$2, var$3); $i = 0; while (true) { if ($i >= 7) break a; var$6 = $cldrWeekdays.data; var$7 = $this.$weekdays.data; $i_0 = $i + 1 | 0; var$7[$i_0] = var$6[$i]; $i = $i_0; } } } return $this.$weekdays.$clone0(); }; function nleg_GLObjectMap() { let a = this; jl_Object.call(a); a.$values = null; a.$size4 = 0; a.$insertIndex = 0; a.$allocatedObjects = 0; } let nleg_GLObjectMap_register = ($this, $obj) => { let $start, var$3, var$4, var$5, var$6, var$7; $start = $this.$insertIndex; while (true) { var$3 = $this.$insertIndex + 1 | 0; $this.$insertIndex = var$3; var$4 = $this.$size4; if (var$3 >= var$4) $this.$insertIndex = 0; var$5 = $this.$insertIndex; if (var$5 == $start) { var$3 = var$4 + (var$4 / 2 | 0) | 0; $this.$size4 = var$3; var$6 = $this.$values; var$7 = $rt_createArray(jl_Object, var$3); $this.$values = var$7; jl_System_fastArraycopy(var$6, 0, var$7, 0, var$4); return nleg_GLObjectMap_register($this, $obj); } var$6 = $this.$values.data; if (var$6[var$5] !== null) continue; else break; } var$6[var$5] = $obj; $this.$allocatedObjects = $this.$allocatedObjects + 1 | 0; return var$5; }, nlegv_Matrix = $rt_classWithoutFields(); function nlegv_Matrix4f() { let a = this; nlegv_Matrix.call(a); a.$m00 = 0.0; a.$m01 = 0.0; a.$m02 = 0.0; a.$m03 = 0.0; a.$m10 = 0.0; a.$m11 = 0.0; a.$m12 = 0.0; a.$m13 = 0.0; a.$m20 = 0.0; a.$m21 = 0.0; a.$m22 = 0.0; a.$m23 = 0.0; a.$m30 = 0.0; a.$m31 = 0.0; a.$m32 = 0.0; a.$m33 = 0.0; } let nlegv_Matrix4f__init_ = $this => { nlegv_Matrix4f_setIdentity($this); }, nlegv_Matrix4f__init_0 = () => { let var_0 = new nlegv_Matrix4f(); nlegv_Matrix4f__init_(var_0); return var_0; }, nlegv_Matrix4f_setIdentity = $m => { $m.$m00 = 1.0; $m.$m01 = 0.0; $m.$m02 = 0.0; $m.$m03 = 0.0; $m.$m10 = 0.0; $m.$m11 = 1.0; $m.$m12 = 0.0; $m.$m13 = 0.0; $m.$m20 = 0.0; $m.$m21 = 0.0; $m.$m22 = 1.0; $m.$m23 = 0.0; $m.$m30 = 0.0; $m.$m31 = 0.0; $m.$m32 = 0.0; $m.$m33 = 1.0; return $m; }, nlegv_Matrix4f_setZero = $m => { $m.$m00 = 0.0; $m.$m01 = 0.0; $m.$m02 = 0.0; $m.$m03 = 0.0; $m.$m10 = 0.0; $m.$m11 = 0.0; $m.$m12 = 0.0; $m.$m13 = 0.0; $m.$m20 = 0.0; $m.$m21 = 0.0; $m.$m22 = 0.0; $m.$m23 = 0.0; $m.$m30 = 0.0; $m.$m31 = 0.0; $m.$m32 = 0.0; $m.$m33 = 0.0; return $m; }, nlegv_Matrix4f_load = ($src, $dest) => { if ($dest === null) { $dest = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity($dest); } $dest.$m00 = $src.$m00; $dest.$m01 = $src.$m01; $dest.$m02 = $src.$m02; $dest.$m03 = $src.$m03; $dest.$m10 = $src.$m10; $dest.$m11 = $src.$m11; $dest.$m12 = $src.$m12; $dest.$m13 = $src.$m13; $dest.$m20 = $src.$m20; $dest.$m21 = $src.$m21; $dest.$m22 = $src.$m22; $dest.$m23 = $src.$m23; $dest.$m30 = $src.$m30; $dest.$m31 = $src.$m31; $dest.$m32 = $src.$m32; $dest.$m33 = $src.$m33; return $dest; }, nlegv_Matrix4f_load0 = ($this, $buf) => { let var$2; var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m00 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m01 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m02 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m03 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m10 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m11 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m12 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m13 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m20 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m21 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m22 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m23 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m30 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m31 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 >= $buf.$limit0) { $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); } $buf.$position0 = var$2 + 1 | 0; $this.$m32 = $buf.$getElement(var$2); var$2 = $buf.$position0; if (var$2 < $buf.$limit0) { $buf.$position0 = var$2 + 1 | 0; $this.$m33 = $buf.$getElement(var$2); return $this; } $buf = new jn_BufferUnderflowException; $buf.$suppressionEnabled = 1; $buf.$writableStackTrace = 1; $rt_throw($buf); }, nlegv_Matrix4f_store = ($this, $buf) => { jn_FloatBufferImpl_put($buf, $this.$m00); jn_FloatBufferImpl_put($buf, $this.$m01); jn_FloatBufferImpl_put($buf, $this.$m02); jn_FloatBufferImpl_put($buf, $this.$m03); jn_FloatBufferImpl_put($buf, $this.$m10); jn_FloatBufferImpl_put($buf, $this.$m11); jn_FloatBufferImpl_put($buf, $this.$m12); jn_FloatBufferImpl_put($buf, $this.$m13); jn_FloatBufferImpl_put($buf, $this.$m20); jn_FloatBufferImpl_put($buf, $this.$m21); jn_FloatBufferImpl_put($buf, $this.$m22); jn_FloatBufferImpl_put($buf, $this.$m23); jn_FloatBufferImpl_put($buf, $this.$m30); jn_FloatBufferImpl_put($buf, $this.$m31); jn_FloatBufferImpl_put($buf, $this.$m32); jn_FloatBufferImpl_put($buf, $this.$m33); return $this; }, nlegv_Matrix4f_store0 = ($this, $buf) => { $buf = $buf.data; $buf[0] = $this.$m00; $buf[1] = $this.$m01; $buf[2] = $this.$m02; $buf[3] = $this.$m03; $buf[4] = $this.$m10; $buf[5] = $this.$m11; $buf[6] = $this.$m12; $buf[7] = $this.$m13; $buf[8] = $this.$m20; $buf[9] = $this.$m21; $buf[10] = $this.$m22; $buf[11] = $this.$m23; $buf[12] = $this.$m30; $buf[13] = $this.$m31; $buf[14] = $this.$m32; $buf[15] = $this.$m33; return $this; }, nlegv_Matrix4f_mul = ($left, $right, $dest) => { let var$4, $m12, $m31, var$7, $m13, var$9, $m20, $m30, $m21, $m00, var$14, var$15, var$16, var$17, $m01, var$19, $m33, var$21, var$22, $m02, var$24, var$25, var$26, var$27, $m03, $m32, $m22, $m10, $m11, $m23, var$34, var$35; if ($dest === null) { $dest = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity($dest); } var$4 = $left.$m00; $m12 = $right.$m00; $m31 = var$4 * $m12; var$7 = $left.$m10; $m13 = $right.$m01; $m31 = $m31 + var$7 * $m13; var$9 = $left.$m20; $m20 = $right.$m02; $m31 = $m31 + var$9 * $m20; $m30 = $left.$m30; $m21 = $right.$m03; $m00 = $m31 + $m30 * $m21; var$14 = $left.$m01; $m31 = var$14 * $m12; var$15 = $left.$m11; $m31 = $m31 + var$15 * $m13; var$16 = $left.$m21; $m31 = $m31 + var$16 * $m20; var$17 = $left.$m31; $m01 = $m31 + var$17 * $m21; var$19 = $left.$m02; $m31 = var$19 * $m12; $m33 = $left.$m12; $m31 = $m31 + $m33 * $m13; var$21 = $left.$m22; $m31 = $m31 + var$21 * $m20; var$22 = $left.$m32; $m02 = $m31 + var$22 * $m21; var$24 = $left.$m03; $m31 = var$24 * $m12; var$25 = $left.$m13; $m31 = $m31 + var$25 * $m13; var$26 = $left.$m23; $m31 = $m31 + var$26 * $m20; var$27 = $left.$m33; $m03 = $m31 + var$27 * $m21; $m20 = $right.$m10; $m31 = var$4 * $m20; $m21 = $right.$m11; $m32 = $m31 + var$7 * $m21; $m22 = $right.$m12; $m32 = $m32 + var$9 * $m22; $m13 = $right.$m13; $m10 = $m32 + $m30 * $m13; $m11 = var$14 * $m20 + var$15 * $m21 + var$16 * $m22 + var$17 * $m13; $m12 = var$19 * $m20 + $m33 * $m21 + var$21 * $m22 + var$22 * $m13; $m13 = var$24 * $m20 + var$25 * $m21 + var$26 * $m22 + var$27 * $m13; $m31 = $right.$m20; $m32 = var$4 * $m31; $m23 = $right.$m21; $m32 = $m32 + var$7 * $m23; var$34 = $right.$m22; $m32 = $m32 + var$9 * var$34; var$35 = $right.$m23; $m20 = $m32 + $m30 * var$35; $m21 = var$14 * $m31 + var$15 * $m23 + var$16 * var$34 + var$17 * var$35; $m22 = var$19 * $m31 + $m33 * $m23 + var$21 * var$34 + var$22 * var$35; $m23 = var$24 * $m31 + var$25 * $m23 + var$26 * var$34 + var$27 * var$35; var$34 = $right.$m30; $m31 = var$4 * var$34; var$4 = $right.$m31; $m31 = $m31 + var$7 * var$4; var$35 = $right.$m32; $m31 = $m31 + var$9 * var$35; var$9 = $right.$m33; $m30 = $m31 + $m30 * var$9; $m31 = var$14 * var$34 + var$15 * var$4 + var$16 * var$35 + var$17 * var$9; $m32 = var$19 * var$34 + $m33 * var$4 + var$21 * var$35 + var$22 * var$9; $m33 = var$24 * var$34 + var$25 * var$4 + var$26 * var$35 + var$27 * var$9; $dest.$m00 = $m00; $dest.$m01 = $m01; $dest.$m02 = $m02; $dest.$m03 = $m03; $dest.$m10 = $m10; $dest.$m11 = $m11; $dest.$m12 = $m12; $dest.$m13 = $m13; $dest.$m20 = $m20; $dest.$m21 = $m21; $dest.$m22 = $m22; $dest.$m23 = $m23; $dest.$m30 = $m30; $dest.$m31 = $m31; $dest.$m32 = $m32; $dest.$m33 = $m33; return $dest; }, nlegv_Matrix4f_transform = ($left, $right, $dest) => { let $w, var$5, var$6, var$7, var$8, $x, $y, $z; if ($dest === null) $dest = new nlegv_Vector4f; $w = $left.$m00; var$5 = $right.$x1; $w = $w * var$5; var$6 = $left.$m10; var$7 = $right.$y1; $w = $w + var$6 * var$7; var$6 = $left.$m20; var$8 = $right.$z2; $w = $w + var$6 * var$8; $x = $left.$m30; var$6 = $right.$w; $x = $w + $x * var$6; $y = $left.$m01 * var$5 + $left.$m11 * var$7 + $left.$m21 * var$8 + $left.$m31 * var$6; $z = $left.$m02 * var$5 + $left.$m12 * var$7 + $left.$m22 * var$8 + $left.$m32 * var$6; $w = $left.$m03 * var$5 + $left.$m13 * var$7 + $left.$m23 * var$8 + $left.$m33 * var$6; $dest.$x1 = $x; $dest.$y1 = $y; $dest.$z2 = $z; $dest.$w = $w; return $dest; }, nlegv_Matrix4f_scale = ($vec, $src, $dest) => { let var$4, var$5; if ($dest === null) { $dest = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity($dest); } var$4 = $src.$m00; var$5 = $vec.$x; $dest.$m00 = var$4 * var$5; $dest.$m01 = $src.$m01 * var$5; $dest.$m02 = $src.$m02 * var$5; $dest.$m03 = $src.$m03 * var$5; var$4 = $src.$m10; var$5 = $vec.$y; $dest.$m10 = var$4 * var$5; $dest.$m11 = $src.$m11 * var$5; $dest.$m12 = $src.$m12 * var$5; $dest.$m13 = $src.$m13 * var$5; var$4 = $src.$m20; var$5 = $vec.$z; $dest.$m20 = var$4 * var$5; $dest.$m21 = $src.$m21 * var$5; $dest.$m22 = $src.$m22 * var$5; $dest.$m23 = $src.$m23 * var$5; return $dest; }, nlegv_Matrix4f_rotate = ($angle, $axis, $src, $dest) => { let var$5, $c, $s, $oneminusc, $t11, $xy, $f22, $yz, $xz, $xs, $ys, $zs, $f00, $f01, $f02, $f10, $f11, $f12, $f20, $f21, var$25, $t00, var$27, $t01, $t02, $t03, $t10, $t12, $t13; if ($dest === null) { $dest = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity($dest); } var$5 = $angle; $c = jl_Math_cos(var$5); $s = jl_Math_sin(var$5); $oneminusc = 1.0 - $c; $angle = $axis.$x; $t11 = $axis.$y; $xy = $angle * $t11; $f22 = $axis.$z; $yz = $t11 * $f22; $xz = $angle * $f22; $xs = $angle * $s; $ys = $t11 * $s; $zs = $f22 * $s; $f00 = $angle * $angle * $oneminusc + $c; $angle = $xy * $oneminusc; $f01 = $angle + $zs; $s = $xz * $oneminusc; $f02 = $s - $ys; $f10 = $angle - $zs; $f11 = $t11 * $t11 * $oneminusc + $c; $angle = $yz * $oneminusc; $f12 = $angle + $xs; $f20 = $s + $ys; $f21 = $angle - $xs; $f22 = $f22 * $f22 * $oneminusc + $c; $angle = $src.$m00; $c = $angle * $f00; $s = $src.$m10; $c = $c + $s * $f01; var$25 = $src.$m20; $t00 = $c + var$25 * $f02; var$27 = $src.$m01; $c = var$27 * $f00; $xy = $src.$m11; $c = $c + $xy * $f01; $ys = $src.$m21; $t01 = $c + $ys * $f02; $zs = $src.$m02; $c = $zs * $f00; $yz = $src.$m12; $c = $c + $yz * $f01; $xs = $src.$m22; $t02 = $c + $xs * $f02; $xz = $src.$m03; $c = $xz * $f00; $f00 = $src.$m13; $c = $c + $f00 * $f01; $f01 = $src.$m23; $t03 = $c + $f01 * $f02; $t10 = $angle * $f10 + $s * $f11 + var$25 * $f12; $t11 = var$27 * $f10 + $xy * $f11 + $ys * $f12; $t12 = $zs * $f10 + $yz * $f11 + $xs * $f12; $t13 = $xz * $f10 + $f00 * $f11 + $f01 * $f12; $dest.$m20 = $angle * $f20 + $s * $f21 + var$25 * $f22; $dest.$m21 = var$27 * $f20 + $xy * $f21 + $ys * $f22; $dest.$m22 = $zs * $f20 + $yz * $f21 + $xs * $f22; $dest.$m23 = $xz * $f20 + $f00 * $f21 + $f01 * $f22; $dest.$m00 = $t00; $dest.$m01 = $t01; $dest.$m02 = $t02; $dest.$m03 = $t03; $dest.$m10 = $t10; $dest.$m11 = $t11; $dest.$m12 = $t12; $dest.$m13 = $t13; return $dest; }, nlegv_Matrix4f_translate = ($vec, $src, $dest) => { let var$4, var$5, var$6, var$7, var$8, var$9; if ($dest === null) { $dest = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity($dest); } var$4 = $dest.$m30; var$5 = $src.$m00; var$6 = $vec.$x; var$7 = var$5 * var$6; var$5 = $src.$m10; var$8 = $vec.$y; var$5 = var$7 + var$5 * var$8; var$7 = $src.$m20; var$9 = $vec.$z; $dest.$m30 = var$4 + var$5 + var$7 * var$9; $dest.$m31 = $dest.$m31 + $src.$m01 * var$6 + $src.$m11 * var$8 + $src.$m21 * var$9; $dest.$m32 = $dest.$m32 + $src.$m02 * var$6 + $src.$m12 * var$8 + $src.$m22 * var$9; $dest.$m33 = $dest.$m33 + $src.$m03 * var$6 + $src.$m13 * var$8 + $src.$m23 * var$9; return $dest; }, nlegv_Matrix4f_transpose = ($src, $dest) => { let $m00, $m01, $m02, $m03, $m10, $m11, $m12, $m13, $m20, $m21, $m22, $m23, $m30, $m31, $m32, $m33; if ($dest === null) { $dest = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity($dest); } $m00 = $src.$m00; $m01 = $src.$m10; $m02 = $src.$m20; $m03 = $src.$m30; $m10 = $src.$m01; $m11 = $src.$m11; $m12 = $src.$m21; $m13 = $src.$m31; $m20 = $src.$m02; $m21 = $src.$m12; $m22 = $src.$m22; $m23 = $src.$m32; $m30 = $src.$m03; $m31 = $src.$m13; $m32 = $src.$m23; $m33 = $src.$m33; $dest.$m00 = $m00; $dest.$m01 = $m01; $dest.$m02 = $m02; $dest.$m03 = $m03; $dest.$m10 = $m10; $dest.$m11 = $m11; $dest.$m12 = $m12; $dest.$m13 = $m13; $dest.$m20 = $m20; $dest.$m21 = $m21; $dest.$m22 = $m22; $dest.$m23 = $m23; $dest.$m30 = $m30; $dest.$m31 = $m31; $dest.$m32 = $m32; $dest.$m33 = $m33; return $dest; }, nlegv_Matrix4f_determinant = $this => { let var$1, var$2, var$3, var$4, var$5, $f, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21; var$1 = $this.$m00; var$2 = $this.$m11; var$3 = $this.$m22; var$4 = var$2 * var$3; var$5 = $this.$m33; $f = var$4 * var$5; var$7 = $this.$m12; var$8 = $this.$m23; var$9 = var$7 * var$8; var$10 = $this.$m31; $f = $f + var$9 * var$10; var$11 = $this.$m13; var$12 = $this.$m21; var$13 = var$11 * var$12; var$14 = $this.$m32; $f = $f + var$13 * var$14; var$15 = var$11 * var$3; $f = $f - var$15 * var$10; var$16 = var$2 * var$8; $f = $f - var$16 * var$14; var$17 = var$7 * var$12; $f = var$1 * ($f - var$17 * var$5); var$18 = $this.$m01; var$19 = $this.$m10; var$20 = var$19 * var$3; var$1 = var$20 * var$5; var$21 = $this.$m30; var$1 = var$1 + var$9 * var$21; var$9 = $this.$m20; var$11 = var$11 * var$9; var$1 = var$1 + var$11 * var$14 - var$15 * var$21; var$8 = var$19 * var$8; var$15 = var$1 - var$8 * var$14; var$1 = var$7 * var$9; var$3 = $f - var$18 * (var$15 - var$1 * var$5); $f = $this.$m02; var$15 = var$19 * var$12; var$16 = var$15 * var$5 + var$16 * var$21 + var$11 * var$10 - var$13 * var$21 - var$8 * var$10; var$2 = var$2 * var$9; return var$3 + $f * (var$16 - var$2 * var$5) - $this.$m03 * (var$15 * var$14 + var$4 * var$21 + var$1 * var$10 - var$17 * var$21 - var$20 * var$10 - var$2 * var$14); }, nlegv_Matrix4f_invert = ($src, $dest) => { let $determinant, $determinant_inv, var$5, var$6, $t33, $t32, $t31, var$10, $t23, $t21, $t22, var$14, $t11, $t30, $t10, var$18, $t00, var$20, var$21, var$22, $t20, $t12, var$25, var$26, $t13, $t01, var$29, $t02, $t03, var$32, var$33, var$34, var$35, var$36; $determinant = nlegv_Matrix4f_determinant($src); if ($determinant === 0.0) return null; if ($dest === null) { $dest = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity($dest); } $determinant_inv = 1.0 / $determinant; var$5 = $src.$m11; var$6 = $src.$m12; $t33 = $src.$m13; $t32 = $src.$m21; $t31 = $src.$m22; var$10 = $src.$m23; $t23 = $src.$m31; $t21 = $src.$m32; $t22 = $src.$m33; var$14 = $t31 * $t22 - var$10 * $t21; $determinant = var$5 * var$14; $t11 = var$10 * $t23; $t30 = $t32 * $t22; $t10 = $t11 - $t30; $determinant = $determinant + var$6 * $t10; var$18 = $t32 * $t21 - $t31 * $t23; $t00 = $determinant + $t33 * var$18; var$20 = $src.$m10; var$21 = $src.$m20; var$22 = $src.$m30; $determinant = var$20 * var$14; $t20 = var$10 * var$22 - var$21 * $t22; $t12 = $determinant + var$6 * $t20; var$25 = var$21 * $t21; var$26 = $t31 * var$22; $t13 = var$25 - var$26; $t01 = -($t12 + $t33 * $t13); $t12 = $t30 - $t11; $determinant = var$20 * $t12 + var$5 * $t20; var$29 = var$21 * $t23 - $t32 * var$22; $t02 = $determinant + $t33 * var$29; $determinant = var$20 * var$18; $t30 = var$26 - var$25; $t03 = -($determinant + var$5 * $t30 + var$6 * var$29); var$32 = $src.$m01; var$26 = $src.$m02; var$33 = $src.$m03; $t10 = -(var$32 * var$14 + var$26 * $t10 + var$33 * var$18); var$25 = $src.$m00; $t11 = var$25 * var$14 + var$26 * $t20 + var$33 * $t13; $t12 = -(var$25 * $t12 + var$32 * $t20 + var$33 * var$29); $t13 = var$25 * var$18 + var$32 * $t30 + var$26 * var$29; $determinant = var$6 * $t22 - $t33 * $t21; $t30 = var$32 * $determinant; var$34 = $t33 * $t23; var$35 = var$5 * $t22; $t30 = $t30 + var$26 * (var$34 - var$35); var$36 = var$5 * $t21 - var$6 * $t23; $t20 = $t30 + var$33 * var$36; $determinant = var$25 * $determinant; $t30 = $t33 * var$22 - var$20 * $t22; $determinant = $determinant + var$26 * $t30; var$14 = var$20 * $t21; var$18 = var$6 * var$22; $t21 = -($determinant + var$33 * (var$14 - var$18)); $determinant = var$25 * (var$35 - var$34) + var$32 * $t30; var$29 = var$20 * $t23 - var$5 * var$22; $t22 = $determinant + var$33 * var$29; $t23 = -(var$25 * var$36 + var$32 * (var$18 - var$14) + var$26 * var$29); $determinant = var$6 * var$10 - $t33 * $t31; $t30 = var$32 * $determinant; var$29 = $t33 * $t32; var$14 = var$5 * var$10; $t30 = $t30 + var$26 * (var$29 - var$14); var$34 = var$5 * $t31 - var$6 * $t32; $t30 = -($t30 + var$33 * var$34); $determinant = var$25 * $determinant; var$18 = $t33 * var$21 - var$20 * var$10; var$10 = $determinant + var$26 * var$18; $determinant = var$20 * $t31; $t33 = var$6 * var$21; $t31 = var$10 + var$33 * ($determinant - $t33); var$29 = var$25 * (var$14 - var$29) + var$32 * var$18; var$14 = var$20 * $t32 - var$5 * var$21; $t32 = -(var$29 + var$33 * var$14); $t33 = var$25 * var$34 + var$32 * ($t33 - $determinant) + var$26 * var$14; $dest.$m00 = $t00 * $determinant_inv; $dest.$m11 = $t11 * $determinant_inv; $dest.$m22 = $t22 * $determinant_inv; $dest.$m33 = $t33 * $determinant_inv; $dest.$m01 = $t10 * $determinant_inv; $dest.$m10 = $t01 * $determinant_inv; $dest.$m20 = $t02 * $determinant_inv; $dest.$m02 = $t20 * $determinant_inv; $dest.$m12 = $t21 * $determinant_inv; $dest.$m21 = $t12 * $determinant_inv; $dest.$m03 = $t30 * $determinant_inv; $dest.$m30 = $t03 * $determinant_inv; $dest.$m13 = $t31 * $determinant_inv; $dest.$m31 = $t13 * $determinant_inv; $dest.$m32 = $t23 * $determinant_inv; $dest.$m23 = $t32 * $determinant_inv; return $dest; }, nlegv_Matrix4f_equal = ($a, $b) => { let var$3; a: { b: { if ($a.$m00 !== $b.$m00) break b; if ($a.$m01 !== $b.$m01) break b; if ($a.$m02 !== $b.$m02) break b; if ($a.$m03 !== $b.$m03) break b; if ($a.$m10 !== $b.$m10) break b; if ($a.$m11 !== $b.$m11) break b; if ($a.$m12 !== $b.$m12) break b; if ($a.$m13 !== $b.$m13) break b; if ($a.$m20 !== $b.$m20) break b; if ($a.$m21 !== $b.$m21) break b; if ($a.$m22 !== $b.$m22) break b; if ($a.$m23 !== $b.$m23) break b; if ($a.$m30 !== $b.$m30) break b; if ($a.$m31 !== $b.$m31) break b; if ($a.$m32 !== $b.$m32) break b; if ($a.$m33 === $b.$m33) { var$3 = 1; break a; } } var$3 = 0; } return var$3; }, nlegv_ReadableVector = $rt_classWithoutFields(0), nlegv_Vector = $rt_classWithoutFields(), nlegv_ReadableVector2f = $rt_classWithoutFields(0), nlegv_ReadableVector3f = $rt_classWithoutFields(0), nlegv_WritableVector2f = $rt_classWithoutFields(0), nlegv_WritableVector3f = $rt_classWithoutFields(0); function nlegv_Vector3f() { let a = this; nlegv_Vector.call(a); a.$x = 0.0; a.$y = 0.0; a.$z = 0.0; } let nlegv_Vector3f__init_ = $this => { return; }, nlegv_Vector3f__init_0 = () => { let var_0 = new nlegv_Vector3f(); nlegv_Vector3f__init_(var_0); return var_0; }, nlegv_ReadableVector4f = $rt_classWithoutFields(0), nlegv_WritableVector4f = $rt_classWithoutFields(0); function nlegv_Vector4f() { let a = this; nlegv_Vector.call(a); a.$x1 = 0.0; a.$y1 = 0.0; a.$z2 = 0.0; a.$w = 0.0; } let nlegv_Vector4f__init_ = $this => { return; }, nlegv_Vector4f__init_0 = () => { let var_0 = new nlegv_Vector4f(); nlegv_Vector4f__init_(var_0); return var_0; }, nlegv_Vector4f_equals = ($this, $other) => { let var$2, var$3, var$4; if ($this === $other) return 1; if ($other === null) return 0; var$2 = $this.constructor; if (var$2 === null) var$3 = null; else { var$3 = var$2.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$2; var$2.classObject = var$3; } } var$4 = $other.constructor; if (var$4 === null) var$2 = null; else { var$2 = var$4.classObject; if (var$2 === null) { var$2 = new jl_Class; var$2.$platformClass = var$4; var$4.classObject = var$2; } } if (var$3 !== var$2) return 0; if ($this.$x1 === $other.$x1 && $this.$y1 === $other.$y1 && $this.$z2 === $other.$z2 && $this.$w === $other.$w) return 1; return 0; }; function jn_ByteBuffer() { let a = this; jn_Buffer.call(a); a.$start = 0; a.$array0 = null; a.$order = null; } let jn_ByteBuffer__init_ = ($this, $start, $capacity, $array, $position, $limit) => { $this.$mark = (-1); $this.$capacity = $capacity; $this.$limit0 = $capacity; $this.$order = jn_ByteOrder_BIG_ENDIAN; $this.$start = $start; $this.$array0 = $array; $this.$position0 = $position; $this.$limit0 = $limit; }, jn_ByteBuffer_get = ($this, $dst, $offset, $length) => { let var$4, var$5, $pos, var$7, var$8, var$9, var$10, $i, var$12; if ($offset >= 0) { var$4 = $dst.data; var$5 = var$4.length; if ($offset <= var$5) { $pos = $offset + $length | 0; if ($pos > var$5) { var$7 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(695)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $pos, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(605)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$5, 10); var$9 = new jl_String; $dst = var$8.$buffer; var$4 = $dst.data; $length = var$8.$length0; var$5 = var$4.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($dst.data, 0, $length); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } var$5 = $this.$limit0; var$10 = $this.$position0; if ((var$5 - var$10 | 0) < $length) { var$7 = new jn_BufferUnderflowException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } if ($length >= 0) { $pos = var$10 + $this.$start | 0; $i = 0; while ($i < $length) { var$12 = $offset + 1 | 0; $dst = $this.$array0.data; var$5 = $pos + 1 | 0; var$4[$offset] = $dst[$pos]; $i = $i + 1 | 0; $offset = var$12; $pos = var$5; } $this.$position0 = var$10 + $length | 0; return $this; } var$7 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(606)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $length, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(607)); var$9 = new jl_String; $dst = var$8.$buffer; var$4 = $dst.data; $length = var$8.$length0; var$5 = var$4.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($dst.data, 0, $length); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } $dst = $dst.data; var$7 = new jl_IndexOutOfBoundsException; $length = $dst.length; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(608)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $offset, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $length, 10); $length = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, $length, $length + 1 | 0); $dst = var$8.$buffer; var$4 = $dst.data; var$4[$length] = 41; var$9 = new jl_String; $length = var$8.$length0; var$5 = var$4.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($dst.data, 0, $length); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); }, jn_ByteBuffer_put = ($this, $src, $offset, $length) => { let var$4, var$5, var$6, var$7, $pos, var$9, var$10, $i, var$12; if (!$length) return $this; if ($this.$readOnly0) { var$4 = new jn_ReadOnlyBufferException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } var$5 = $this.$limit0; var$6 = $this.$position0; if ((var$5 - var$6 | 0) < $length) { var$4 = new jn_BufferOverflowException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($offset >= 0) { var$7 = $src.data; var$5 = var$7.length; if ($offset <= var$5) { $pos = $offset + $length | 0; if ($pos > var$5) { var$4 = new jl_IndexOutOfBoundsException; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(696)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $pos, 10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(605)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, var$5, 10); var$10 = new jl_String; $src = var$9.$buffer; var$7 = $src.data; $length = var$9.$length0; var$5 = var$7.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($src.data, 0, $length); var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = var$10; $rt_throw(var$4); } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($length >= 0) { $pos = var$6 + $this.$start | 0; $i = 0; while ($i < $length) { $src = $this.$array0.data; var$12 = $pos + 1 | 0; var$5 = $offset + 1 | 0; $src[$pos] = var$7[$offset]; $i = $i + 1 | 0; $pos = var$12; $offset = var$5; } $this.$position0 = var$6 + $length | 0; return $this; } var$4 = new jl_IndexOutOfBoundsException; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(606)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $length, 10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(607)); var$10 = new jl_String; $src = var$9.$buffer; var$7 = $src.data; $length = var$9.$length0; var$5 = var$7.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($src.data, 0, $length); var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = var$10; $rt_throw(var$4); } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } } $src = $src.data; var$4 = new jl_IndexOutOfBoundsException; $length = $src.length; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(608)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $offset, 10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $length, 10); $length = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, $length, $length + 1 | 0); $src = var$9.$buffer; var$7 = $src.data; var$7[$length] = 41; var$10 = new jl_String; $length = var$9.$length0; var$5 = var$7.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($src.data, 0, $length); var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = var$10; $rt_throw(var$4); } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); }, jn_ByteBuffer_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$1 = $this.$position0; var$2 = $this.$limit0; var$3 = $this.$capacity; var$4 = $this.$mark; if (var$4 < 0) var$5 = $rt_s(697); else { var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(115)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$4, 10); var$5 = new jl_String; var$7 = var$6.$buffer; var$8 = var$7.data; var$9 = var$6.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); else { var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); } } var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(698)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$1, 10); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(699)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$2, 10); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(700)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$3, 10); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(701)); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, var$5); var$2 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$2, var$2 + 1 | 0); var$7 = var$6.$buffer; var$8 = var$7.data; var$8[var$2] = 93; var$5 = new jl_String; var$2 = var$6.$length0; var$3 = var$8.length; if (var$2 >= 0 && var$2 <= (var$3 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$2); return var$5; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); }, jn_ByteBuffer_hashCode = $this => { let $hashCode, $i, $pos, var$4, var$5, var$6; $hashCode = 0; $i = $this.$position0; $pos = $i + $this.$start | 0; while ($i < $this.$limit0) { var$4 = 31 * $hashCode | 0; var$5 = $this.$array0.data; var$6 = $pos + 1 | 0; $hashCode = var$4 + var$5[$pos] | 0; $i = $i + 1 | 0; $pos = var$6; } return $hashCode; }, jn_ByteBuffer_equals = ($this, $obj) => { let $other, var$3, $a, $sz, var$6, $b, $i, var$9; if ($this === $obj) return 1; if (!($obj instanceof jn_ByteBuffer)) return 0; $other = $obj; var$3 = $this.$limit0; $a = $this.$position0; $sz = var$3 - $a | 0; var$3 = $other.$limit0; var$6 = $other.$position0; if ($sz != (var$3 - var$6 | 0)) return 0; $a = $a + $this.$start | 0; $b = var$6 + $other.$start | 0; $i = 0; while ($i < $sz) { var$9 = $this.$array0.data; var$6 = $a + 1 | 0; $a = var$9[$a]; var$9 = $other.$array0.data; var$3 = $b + 1 | 0; if ($a != var$9[$b]) return 0; $i = $i + 1 | 0; $a = var$6; $b = var$3; } return 1; }, jn_ByteBuffer_compareTo = ($this, $other) => { let $r, var$3, $sz, var$5, $sz_0, $a, $b, $i, var$10, var$11; if ($this === $other) return 0; $r = $this.$limit0; var$3 = $this.$position0; $sz = $r - var$3 | 0; var$5 = $other.$limit0; $r = $other.$position0; $sz_0 = var$5 - $r | 0; var$5 = $rt_compare($sz, $sz_0); if (var$5 < 0) $sz_0 = $sz; $a = var$3 + $this.$start | 0; $b = $r + $other.$start | 0; $i = 0; while (true) { if ($i >= $sz_0) return var$5; var$10 = $this.$array0.data; var$3 = $a + 1 | 0; $sz = var$10[$a]; var$10 = $other.$array0.data; var$11 = $b + 1 | 0; $r = $sz - var$10[$b] | 0; if ($r) break; $i = $i + 1 | 0; $a = var$3; $b = var$11; } return $r; }, jn_ByteBuffer_compareTo0 = ($this, var$1) => { return jn_ByteBuffer_compareTo($this, var$1); }; function jn_ByteOrder() { jl_Object.call(this); this.$name17 = null; } let jn_ByteOrder_BIG_ENDIAN = null, jn_ByteOrder_LITTLE_ENDIAN = null, jn_ByteOrder_nativeOrder0 = null, jn_ByteOrder_nativeOrder = () => { let $buffer; if (jn_ByteOrder_nativeOrder0 === null) { $buffer = new ArrayBuffer(2); (new Int16Array($buffer))[0] = 1; jn_ByteOrder_nativeOrder0 = (new Int8Array($buffer))[0] ? jn_ByteOrder_LITTLE_ENDIAN : jn_ByteOrder_BIG_ENDIAN; } return jn_ByteOrder_nativeOrder0; }, jn_ByteOrder__clinit_ = () => { let var$1; var$1 = new jn_ByteOrder; var$1.$name17 = $rt_s(90); jn_ByteOrder_BIG_ENDIAN = var$1; var$1 = new jn_ByteOrder; var$1.$name17 = $rt_s(91); jn_ByteOrder_LITTLE_ENDIAN = var$1; }, ji_EOFException = $rt_classWithoutFields(ji_IOException), ji_EOFException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, ji_EOFException__init_0 = () => { let var_0 = new ji_EOFException(); ji_EOFException__init_(var_0); return var_0; }, jl_UnsupportedOperationException = $rt_classWithoutFields(jl_RuntimeException), jl_UnsupportedOperationException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_UnsupportedOperationException__init_0 = () => { let var_0 = new jl_UnsupportedOperationException(); jl_UnsupportedOperationException__init_(var_0); return var_0; }, jnc_Charset$Charsets = $rt_classWithoutFields(), jnc_Charset$Charsets_value = null, jnc_Charset$Charsets_$callClinit = () => { jnc_Charset$Charsets_$callClinit = $rt_eraseClinit(jnc_Charset$Charsets); jnc_Charset$Charsets__clinit_(); }, jnc_Charset$Charsets__init_ = $this => { jnc_Charset$Charsets_$callClinit(); }, jnc_Charset$Charsets__init_0 = () => { let var_0 = new jnc_Charset$Charsets(); jnc_Charset$Charsets__init_(var_0); return var_0; }, jnc_Charset$Charsets__clinit_ = () => { let $charset, var$2, var$3, $charsets, var$5; $charset = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); $charset.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); $charsets = var$3.data; $charset.$elementData = var$3; $charset.$loadFactor = 0.75; $charset.$threshold = $charsets.length * 0.75 | 0; jnc_Charset$Charsets_value = $charset; $charsets = $rt_createArray(jnc_Charset, 6).data; jnc_StandardCharsets_$callClinit(); $charsets[0] = jnc_StandardCharsets_UTF_8; $charsets[1] = jnc_StandardCharsets_US_ASCII; $charsets[2] = jnc_StandardCharsets_ISO_8859_1; $charsets[3] = jnc_StandardCharsets_UTF_16; $charsets[4] = jnc_StandardCharsets_UTF_16BE; $charsets[5] = jnc_StandardCharsets_UTF_16LE; var$2 = $charsets.length; var$5 = 0; while (var$5 < var$2) { $charset = $charsets[var$5]; ju_HashMap_putImpl(jnc_Charset$Charsets_value, $charset.$canonicalName, $charset); var$5 = var$5 + 1 | 0; } }; function jnc_UnsupportedCharsetException() { jl_IllegalArgumentException.call(this); this.$charsetName = null; } function jur_FSet() { let a = this; jur_AbstractSet.call(a); a.$isBackReferenced = 0; a.$groupIndex0 = 0; } let jur_FSet_posFSet = null, jur_FSet_$callClinit = () => { jur_FSet_$callClinit = $rt_eraseClinit(jur_FSet); jur_FSet__clinit_(); }, jur_FSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $end, var$5, $shift; $end = $this.$groupIndex0; var$5 = $matchResult.$groupBounds.data; $shift = ($end * 2 | 0) + 1 | 0; $end = var$5[$shift]; var$5[$shift] = $stringIndex; $shift = $this.$next4.$matches($stringIndex, $testString, $matchResult); if ($shift < 0) { $stringIndex = $this.$groupIndex0; $matchResult.$groupBounds.data[($stringIndex * 2 | 0) + 1 | 0] = $end; } return $shift; }, jur_FSet_getGroupIndex = $this => { return $this.$groupIndex0; }, jur_FSet_getName = $this => { return $rt_s(702); }, jur_FSet_hasConsumed = ($this, $mr) => { return 0; }, jur_FSet__clinit_ = () => { jur_FSet_posFSet = jur_FSet$PossessiveFSet__init_0(); }; function jur_Lexer() { let a = this; jl_Object.call(a); a.$pattern0 = null; a.$flags = 0; a.$mode3 = 0; a.$savedMode = 0; a.$lookBack = 0; a.$ch = 0; a.$lookAhead = 0; a.$patternFullLength = 0; a.$curST = null; a.$lookAheadST = null; a.$index = 0; a.$prevNW = 0; a.$curToc = 0; a.$lookAheadToc = 0; a.$orig = null; } let jur_Lexer_decompTable = null, jur_Lexer_singleDecompTable = null, jur_Lexer_singleDecompTableSize = 0, jur_Lexer__init_0 = ($this, $pattern, $flags) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9; $this.$mode3 = 1; $this.$orig = $pattern; if (($flags & 16) > 0) { var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(703)); var$4 = 0; while (true) { var$5 = jl_String_indexOf0($pattern, $rt_s(704), var$4); if (var$5 < 0) break; var$6 = var$5 + 2 | 0; var$7 = jl_String_substring($pattern, var$4, var$6); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$7); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(705)); var$4 = var$6; } $pattern = jl_String_substring($pattern, var$4, $pattern.$nativeString.length); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $pattern); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(704)); $pattern = new jl_String; var$8 = var$3.$buffer; var$9 = var$8.data; var$4 = var$3.$length0; var$5 = var$9.length; if (var$4 >= 0 && var$4 <= (var$5 - 0 | 0)) $pattern.$nativeString = $rt_charArrayToString(var$8.data, 0, var$4); else { $pattern = new jl_IndexOutOfBoundsException; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $rt_throw($pattern); } } $this.$pattern0 = $rt_createCharArray($pattern.$nativeString.length + 2 | 0); var$9 = $rt_createCharArray($pattern.$nativeString.length); var$8 = var$9.data; var$4 = 0; var$5 = var$8.length; while (true) { if (var$4 >= var$5) { jl_System_fastArraycopy(var$9, 0, $this.$pattern0, 0, $pattern.$nativeString.length); var$8 = $this.$pattern0.data; var$6 = var$8.length; var$8[var$6 - 1 | 0] = 0; var$8[var$6 - 2 | 0] = 0; $this.$patternFullLength = var$6; $this.$flags = $flags; jur_Lexer_movePointer($this); jur_Lexer_movePointer($this); return; } if (var$4 < 0) break; if (var$4 >= $pattern.$nativeString.length) break; var$8[var$4] = $pattern.$nativeString.charCodeAt(var$4); var$4 = var$4 + 1 | 0; } $pattern = new jl_StringIndexOutOfBoundsException; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $rt_throw($pattern); }, jur_Lexer__init_ = (var_0, var_1) => { let var_2 = new jur_Lexer(); jur_Lexer__init_0(var_2, var_0, var_1); return var_2; }, jur_Lexer_movePointer = $this => { let $reread, $nonCap, var$3, $cs, var$5, var$6, $behind, $mod, $negative, var$10, $$je; $this.$lookBack = $this.$ch; $this.$ch = $this.$lookAhead; $this.$curST = $this.$lookAheadST; $this.$curToc = $this.$lookAheadToc; $this.$lookAheadToc = $this.$index; a: { while (true) { $reread = 0; $nonCap = $this.$index >= $this.$pattern0.data.length ? 0 : jur_Lexer_nextCodePoint($this); $this.$lookAhead = $nonCap; $this.$lookAheadST = null; if ($this.$mode3 == 4) { if ($nonCap != 92) return; $nonCap = $this.$index; var$3 = $this.$pattern0.data; if ($nonCap >= var$3.length) $nonCap = 0; else { $this.$prevNW = $nonCap; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = $nonCap + 1 | 0; $nonCap = var$3[$this.$prevNW]; } $this.$lookAhead = $nonCap; switch ($nonCap) { case 69: break; default: $this.$lookAhead = 92; $this.$index = $this.$prevNW; return; } $this.$mode3 = $this.$savedMode; $this.$lookAhead = $this.$index > ($this.$pattern0.data.length - 2 | 0) ? 0 : jur_Lexer_nextCodePoint($this); } b: { $nonCap = $this.$lookAhead; if ($nonCap == 92) { $nonCap = $this.$index >= ($this.$pattern0.data.length - 2 | 0) ? (-1) : jur_Lexer_nextCodePoint($this); c: { d: { $this.$lookAhead = $nonCap; switch ($nonCap) { case -1: $cs = new jur_PatternSyntaxException; var$5 = $this.$orig; $nonCap = $this.$index; $cs.$suppressionEnabled = 1; $cs.$writableStackTrace = 1; $cs.$index3 = (-1); $cs.$desc = $rt_s(18); $cs.$pattern = var$5; $cs.$index3 = $nonCap; $rt_throw($cs); case 0: case 1: case 2: case 3: case 4: case 5: case 6: case 7: case 8: case 9: case 10: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20: case 21: case 22: case 23: case 24: case 25: case 26: case 27: case 28: case 29: case 30: case 31: case 32: case 33: case 34: case 35: case 36: case 37: case 38: case 39: case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 58: case 59: case 60: case 61: case 62: case 63: case 64: case 91: case 92: case 93: case 94: case 95: case 96: case 118: break; case 48: $this.$lookAhead = jur_Lexer_readOctals($this); break b; case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: if ($this.$mode3 != 1) break b; $this.$lookAhead = (-2147483648) | $nonCap; break b; case 65: $this.$lookAhead = (-2147483583); break b; case 66: $this.$lookAhead = (-2147483582); break b; case 67: case 69: case 70: case 72: case 73: case 74: case 75: case 76: case 77: case 78: case 79: case 82: case 84: case 85: case 86: case 88: case 89: case 103: case 104: case 105: case 106: case 107: case 108: case 109: case 111: case 113: case 121: $cs = new jur_PatternSyntaxException; var$5 = $this.$orig; $nonCap = $this.$index; $cs.$suppressionEnabled = 1; $cs.$writableStackTrace = 1; $cs.$index3 = (-1); $cs.$desc = $rt_s(18); $cs.$pattern = var$5; $cs.$index3 = $nonCap; $rt_throw($cs); case 68: case 83: case 87: case 100: case 115: case 119: break d; case 71: $this.$lookAhead = (-2147483577); break b; case 80: case 112: break c; case 81: $this.$savedMode = $this.$mode3; $this.$mode3 = 4; $reread = 1; break b; case 90: $this.$lookAhead = (-2147483558); break b; case 97: $this.$lookAhead = 7; break b; case 98: $this.$lookAhead = (-2147483550); break b; case 99: $nonCap = $this.$index; var$3 = $this.$pattern0.data; if ($nonCap >= (var$3.length - 2 | 0)) { $cs = new jur_PatternSyntaxException; var$5 = $this.$orig; $cs.$suppressionEnabled = 1; $cs.$writableStackTrace = 1; $cs.$index3 = (-1); $cs.$desc = $rt_s(18); $cs.$pattern = var$5; $cs.$index3 = $nonCap; $rt_throw($cs); } $this.$prevNW = $nonCap; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = $nonCap + 1 | 0; $this.$lookAhead = var$3[$this.$prevNW] & 31; break b; case 101: $this.$lookAhead = 27; break b; case 102: $this.$lookAhead = 12; break b; case 110: $this.$lookAhead = 10; break b; case 114: $this.$lookAhead = 13; break b; case 116: $this.$lookAhead = 9; break b; case 117: $this.$lookAhead = jur_Lexer_readHex($this, 4); break b; case 120: $this.$lookAhead = jur_Lexer_readHex($this, 2); break b; case 122: $this.$lookAhead = (-2147483526); break b; default: } break b; } $cs = new jl_String; var$3 = $this.$pattern0; var$6 = var$3.data; $behind = $this.$prevNW; $mod = var$6.length; if ($behind < 0) break a; if (1 > ($mod - $behind | 0)) break a; $cs.$nativeString = $rt_charArrayToString(var$3.data, $behind, 1); $cs = jur_AbstractCharClass$PredefinedCharacterClasses_getObject(jur_AbstractCharClass_charClasses, $cs); if ($cs.$posValue === null) $cs.$posValue = $cs.$computeValue(); $this.$lookAheadST = $cs.$posValue; $this.$lookAhead = 0; break b; } $cs = jur_Lexer_parseCharClassName($this); $negative = 0; if ($this.$lookAhead == 80) $negative = 1; try { $this.$lookAheadST = jur_AbstractCharClass_getPredefinedClass($cs, $negative); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ju_MissingResourceException) { $cs = new jur_PatternSyntaxException; var$5 = $this.$orig; $nonCap = $this.$index; $cs.$suppressionEnabled = 1; $cs.$writableStackTrace = 1; $cs.$index3 = (-1); $cs.$desc = $rt_s(18); $cs.$pattern = var$5; $cs.$index3 = $nonCap; $rt_throw($cs); } else { throw $$e; } } $this.$lookAhead = 0; } else { $behind = $this.$mode3; if ($behind == 1) switch ($nonCap) { case 36: $this.$lookAhead = (-536870876); break b; case 40: var$3 = $this.$pattern0.data; $nonCap = $this.$index; if (var$3[$nonCap] != 63) { $this.$lookAhead = (-2147483608); break b; } $this.$prevNW = $nonCap; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = $nonCap + 1 | 0; $nonCap = $this.$pattern0.data[$this.$index]; $behind = 0; while (true) { e: { if ($behind) { $behind = 0; switch ($nonCap) { case 33: break; case 61: $this.$lookAhead = (-134217688); var$10 = $this.$index; $this.$prevNW = var$10; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = var$10 + 1 | 0; break e; default: $cs = new jur_PatternSyntaxException; var$5 = $this.$orig; $nonCap = $this.$index; $cs.$suppressionEnabled = 1; $cs.$writableStackTrace = 1; $cs.$index3 = (-1); $cs.$desc = $rt_s(18); $cs.$pattern = var$5; $cs.$index3 = $nonCap; $rt_throw($cs); } $this.$lookAhead = (-67108824); $negative = $this.$index; $this.$prevNW = $negative; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = $negative + 1 | 0; } else { switch ($nonCap) { case 33: break; case 60: $behind = $this.$index; $this.$prevNW = $behind; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = $behind + 1 | 0; $nonCap = $this.$pattern0.data[$this.$index]; $behind = 1; break e; case 61: $this.$lookAhead = (-536870872); $negative = $this.$index; $this.$prevNW = $negative; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = $negative + 1 | 0; break e; case 62: $this.$lookAhead = (-33554392); $negative = $this.$index; $this.$prevNW = $negative; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = $negative + 1 | 0; break e; default: $mod = jur_Lexer_readFlags($this); $this.$lookAhead = $mod; if ($mod < 256) { $this.$flags = $mod; $mod = $mod << 16; $this.$lookAhead = $mod; $this.$lookAhead = (-1073741784) | $mod; break e; } $mod = $mod & 255; $this.$lookAhead = $mod; $this.$flags = $mod; $mod = $mod << 16; $this.$lookAhead = $mod; $this.$lookAhead = (-16777176) | $mod; break e; } $this.$lookAhead = (-268435416); $negative = $this.$index; $this.$prevNW = $negative; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = $negative + 1 | 0; } } if (!$behind) break; } break b; case 41: $this.$lookAhead = (-536870871); break b; case 42: case 43: case 63: $behind = $this.$index; var$3 = $this.$pattern0.data; switch ($behind >= var$3.length ? 42 : var$3[$behind]) { case 43: $this.$lookAhead = $nonCap | (-2147483648); $this.$prevNW = $behind; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = $behind + 1 | 0; break b; case 63: $this.$lookAhead = $nonCap | (-1073741824); $this.$prevNW = $behind; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = $behind + 1 | 0; break b; default: } $this.$lookAhead = $nonCap | (-536870912); break b; case 46: $this.$lookAhead = (-536870866); break b; case 91: $this.$lookAhead = (-536870821); $this.$mode3 = 2; break b; case 93: if ($behind != 2) break b; $this.$lookAhead = (-536870819); break b; case 94: $this.$lookAhead = (-536870818); break b; case 123: $this.$lookAheadST = jur_Lexer_processQuantifier($this, $nonCap); break b; case 124: $this.$lookAhead = (-536870788); break b; default: } else if ($behind == 2) switch ($nonCap) { case 38: $this.$lookAhead = (-536870874); break b; case 45: $this.$lookAhead = (-536870867); break b; case 91: $this.$lookAhead = (-536870821); break b; case 93: $this.$lookAhead = (-536870819); break b; case 94: $this.$lookAhead = (-536870818); break b; default: } } } if ($reread) continue; else break; } return; } $cs = new jl_IndexOutOfBoundsException; $cs.$suppressionEnabled = 1; $cs.$writableStackTrace = 1; $rt_throw($cs); }, jur_Lexer_parseCharClassName = $this => { let $sb, $ch, var$3, var$4, var$5, var$6, var$7, var$8; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(10); $ch = $this.$index; var$3 = $this.$pattern0; var$4 = var$3.data; var$5 = var$4.length; if ($ch < (var$5 - 2 | 0)) { if (var$4[$ch] != 123) { $sb = new jl_String; $this.$prevNW = $ch; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = $ch + 1 | 0; var$6 = $this.$prevNW; if (var$6 >= 0 && 1 <= (var$5 - var$6 | 0)) { $sb.$nativeString = $rt_charArrayToString(var$3.data, var$6, 1); var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(706)); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $sb); $sb = new jl_String; var$3 = var$7.$buffer; var$4 = var$3.data; var$5 = var$7.$length0; var$6 = var$4.length; if (var$5 >= 0 && var$5 <= (var$6 - 0 | 0)) { $sb.$nativeString = $rt_charArrayToString(var$3.data, 0, var$5); return $sb; } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } $this.$prevNW = $ch; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = $ch + 1 | 0; $ch = 0; a: { while (true) { var$5 = $this.$index; var$3 = $this.$pattern0.data; if (var$5 >= (var$3.length - 2 | 0)) break; $this.$prevNW = var$5; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = var$5 + 1 | 0; $ch = var$3[$this.$prevNW]; if ($ch == 125) break a; var$5 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$5, var$5 + 1 | 0); $sb.$buffer.data[var$5] = $ch; } } if ($ch != 125) { $sb = new jur_PatternSyntaxException; var$8 = $this.$orig; $ch = $this.$index; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $sb.$index3 = (-1); $sb.$desc = $rt_s(18); $sb.$pattern = var$8; $sb.$index3 = $ch; $rt_throw($sb); } } $ch = $sb.$length0; if (!$ch) { $sb = new jur_PatternSyntaxException; var$8 = $this.$orig; $ch = $this.$index; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $sb.$index3 = (-1); $sb.$desc = $rt_s(18); $sb.$pattern = var$8; $sb.$index3 = $ch; $rt_throw($sb); } var$7 = new jl_String; var$3 = $sb.$buffer; var$6 = var$3.data.length; if ($ch >= 0 && $ch <= (var$6 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$3.data, 0, $ch); if (var$7.$nativeString.length == 1) { $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(706)); jl_AbstractStringBuilder_insert($sb, $sb.$length0, var$7); var$7 = new jl_String; var$3 = $sb.$buffer; var$4 = var$3.data; var$5 = $sb.$length0; var$6 = var$4.length; if (var$5 >= 0 && var$5 <= (var$6 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$3.data, 0, var$5); return var$7; } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } b: { c: { if (var$7.$nativeString.length > 3) { if (var$7 === $rt_s(706) ? 1 : jl_String_startsWith(var$7, $rt_s(706), 0)) break c; if (var$7 === $rt_s(707) ? 1 : jl_String_startsWith(var$7, $rt_s(707), 0)) break c; } break b; } var$7 = jl_String_substring(var$7, 2, var$7.$nativeString.length); } return var$7; } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); }, jur_Lexer_processQuantifier = ($this, $ch) => { let $sb, $min, $max, var$5, var$6, $mod, var$8, $$je; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(4); $min = (-1); $max = 2147483647; a: { while (true) { var$5 = $this.$index; var$6 = $this.$pattern0.data; if (var$5 >= var$6.length) break a; $this.$prevNW = var$5; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = var$5 + 1 | 0; $ch = var$6[$this.$prevNW]; if ($ch == 125) break a; if ($ch == 44 && $min < 0) try { $min = jl_Integer_parseInt0(jl_StringBuilder_toString($sb), 10); jl_StringBuilder_delete($sb, 0, jl_StringBuilder_length($sb)); continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { break; } else { throw $$e; } } $mod = $ch & 65535; var$5 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$5, var$5 + 1 | 0); $sb.$buffer.data[var$5] = $mod; } $sb = new jur_PatternSyntaxException; var$8 = $this.$orig; $ch = $this.$index; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $sb.$index3 = (-1); $sb.$desc = $rt_s(18); $sb.$pattern = var$8; $sb.$index3 = $ch; $rt_throw($sb); } if ($ch != 125) { $sb = new jur_PatternSyntaxException; var$8 = $this.$orig; $ch = $this.$index; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $sb.$index3 = (-1); $sb.$desc = $rt_s(18); $sb.$pattern = var$8; $sb.$index3 = $ch; $rt_throw($sb); } if ($sb.$length0 > 0) b: { try { $max = jl_Integer_parseInt0(jl_StringBuilder_toString($sb), 10); if ($min >= 0) break b; $min = $max; break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } $sb = new jur_PatternSyntaxException; var$8 = $this.$orig; $ch = $this.$index; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $sb.$index3 = (-1); $sb.$desc = $rt_s(18); $sb.$pattern = var$8; $sb.$index3 = $ch; $rt_throw($sb); } else if ($min < 0) { $sb = new jur_PatternSyntaxException; var$8 = $this.$orig; $ch = $this.$index; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $sb.$index3 = (-1); $sb.$desc = $rt_s(18); $sb.$pattern = var$8; $sb.$index3 = $ch; $rt_throw($sb); } if (($min | $max | ($max - $min | 0)) < 0) { $sb = new jur_PatternSyntaxException; var$8 = $this.$orig; $ch = $this.$index; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $sb.$index3 = (-1); $sb.$desc = $rt_s(18); $sb.$pattern = var$8; $sb.$index3 = $ch; $rt_throw($sb); } var$5 = $this.$index; var$6 = $this.$pattern0.data; $mod = var$5 >= var$6.length ? 42 : var$6[var$5]; c: { switch ($mod) { case 43: $this.$lookAhead = (-2147483525); $this.$prevNW = var$5; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = var$5 + 1 | 0; break c; case 63: $this.$lookAhead = (-1073741701); $this.$prevNW = var$5; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = var$5 + 1 | 0; break c; default: } $this.$lookAhead = (-536870789); } $sb = new jur_Quantifier; $sb.$min0 = $min; $sb.$max0 = $max; return $sb; }, jur_Lexer_isLetter = $ch => { return $ch < 0 ? 0 : 1; }, jur_Lexer_readHex = ($this, $max) => { let $st, $length, $i, var$5, var$6, var$7, var$8, var$9, $$je; $st = new jl_StringBuilder; $st.$buffer = $rt_createCharArray($max); $length = $this.$pattern0.data.length - 2 | 0; $i = 0; while (true) { var$5 = $rt_compare($i, $max); if (var$5 >= 0) break; var$6 = $this.$index; if (var$6 >= $length) break; var$7 = $this.$pattern0; $this.$prevNW = var$6; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = var$6 + 1 | 0; var$6 = var$7.data[$this.$prevNW]; var$8 = $st.$length0; jl_AbstractStringBuilder_insertSpace($st, var$8, var$8 + 1 | 0); $st.$buffer.data[var$8] = var$6; $i = $i + 1 | 0; } if (!var$5) a: { try { $max = jl_Integer_parseInt0(jl_StringBuilder_toString($st), 16); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { break a; } else { throw $$e; } } return $max; } $st = new jur_PatternSyntaxException; var$9 = $this.$orig; $max = $this.$index; $st.$suppressionEnabled = 1; $st.$writableStackTrace = 1; $st.$index3 = (-1); $st.$desc = $rt_s(18); $st.$pattern = var$9; $st.$index3 = $max; $rt_throw($st); }, jur_Lexer_readOctals = $this => { let $max, $i, var$3, $length, $first, var$6, var$7, var$8, var$9, var$10; $max = 3; $i = 1; var$3 = $this.$pattern0.data; $length = var$3.length - 2 | 0; $first = jl_Character_getNumericValue(var$3[$this.$index]); if ($first >= 8) $first = (-1); switch ($first) { case -1: break; default: if ($first > 3) $max = 2; var$6 = $this.$index; $this.$prevNW = var$6; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = var$6 + 1 | 0; a: { while (true) { if ($i >= $max) break a; var$7 = $this.$index; if (var$7 >= $length) break a; var$8 = jl_Character_getNumericValue($this.$pattern0.data[var$7]); if (var$8 >= 8) var$8 = (-1); if (var$8 < 0) break; $first = ($first * 8 | 0) + var$8 | 0; var$6 = $this.$index; $this.$prevNW = var$6; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = var$6 + 1 | 0; $i = $i + 1 | 0; } } return $first; } var$9 = new jur_PatternSyntaxException; var$10 = $this.$orig; $max = $this.$index; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; var$9.$index3 = (-1); var$9.$desc = $rt_s(18); var$9.$pattern = var$10; var$9.$index3 = $max; $rt_throw(var$9); }, jur_Lexer_readFlags = $this => { let $pos, $res, var$3, var$4, var$5, var$6, var$7; $pos = 1; $res = $this.$flags; a: while (true) { var$3 = $this.$index; var$4 = $this.$pattern0.data; if (var$3 >= var$4.length) { var$5 = new jur_PatternSyntaxException; var$6 = $this.$orig; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$index3 = (-1); var$5.$desc = $rt_s(18); var$5.$pattern = var$6; var$5.$index3 = var$3; $rt_throw(var$5); } b: { c: { switch (var$4[var$3]) { case 41: $this.$prevNW = var$3; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = var$3 + 1 | 0; return $res | 256; case 45: if (!$pos) { var$7 = new jur_PatternSyntaxException; var$6 = $this.$orig; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$index3 = (-1); var$7.$desc = $rt_s(18); var$7.$pattern = var$6; var$7.$index3 = var$3; $rt_throw(var$7); } $pos = 0; break b; case 58: break a; case 100: break c; case 105: $res = $pos ? $res | 2 : ($res ^ 2) & $res; break b; case 109: $res = $pos ? $res | 8 : ($res ^ 8) & $res; break b; case 115: $res = $pos ? $res | 32 : ($res ^ 32) & $res; break b; case 117: $res = $pos ? $res | 64 : ($res ^ 64) & $res; break b; case 120: $res = $pos ? $res | 4 : ($res ^ 4) & $res; break b; default: } break b; } $res = $pos ? $res | 1 : ($res ^ 1) & $res; } $this.$prevNW = var$3; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = var$3 + 1 | 0; } $this.$prevNW = var$3; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = var$3 + 1 | 0; return $res; }, jur_Lexer_skipComments = $this => { let $length, var$2, var$3, var$4; $length = $this.$pattern0.data.length - 2 | 0; $this.$index = $this.$index + 1 | 0; a: while (true) { var$2 = $this.$index; if (var$2 < $length) { b: { var$2 = $this.$pattern0.data[var$2]; switch (var$2) { case 9: case 10: case 11: case 12: case 13: case 28: case 29: case 30: case 31: break; case 160: case 8199: case 8239: var$2 = 0; break b; default: c: { switch (jl_Character_getType(var$2)) { case 12: case 13: case 14: break; default: var$2 = 0; break c; } var$2 = 1; } break b; } var$2 = 1; } if (var$2) { $this.$index = $this.$index + 1 | 0; continue; } } var$2 = $this.$index; if (var$2 >= $length) break; var$3 = $this.$pattern0.data; if (var$3[var$2] != 35) break; $this.$index = var$2 + 1 | 0; while (true) { var$4 = $this.$index; if (var$4 >= $length) continue a; var$2 = var$3[var$4]; if (var$2 != 10 && var$2 != 13 && var$2 != 133 && (var$2 | 1) != 8233 ? 0 : 1) continue a; $this.$index = var$4 + 1 | 0; } } return var$2; }, jur_Lexer_getHangulDecomposition = $ch => { let $sIndex, $l, $v, $t; $sIndex = $ch - 44032 | 0; if ($sIndex >= 0 && $sIndex < 11172) { $l = 4352 + ($sIndex / 588 | 0) | 0; $v = 4449 + (($sIndex % 588 | 0) / 28 | 0) | 0; $t = $sIndex % 28 | 0; return !$t ? $rt_createIntArrayFromData([$l, $v]) : $rt_createIntArrayFromData([$l, $v, 4519 + $t | 0]); } return null; }, jur_Lexer_hasDecompositionNonNullCanClass = $ch => { return ($ch != 832 ? 0 : 1) | ($ch != 833 ? 0 : 1) | ($ch != 835 ? 0 : 1) | ($ch != 836 ? 0 : 1); }, jur_Lexer_nextCodePoint = $this => { let var$1, $lowExpectedIndex, var$3, $high, $low; var$1 = $this.$pattern0; $lowExpectedIndex = $this.$index; $this.$prevNW = $lowExpectedIndex; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = $lowExpectedIndex + 1 | 0; var$1 = var$1.data; var$3 = $this.$prevNW; $high = var$1[var$3]; if (($high & 64512) != 55296 ? 0 : 1) { $lowExpectedIndex = var$3 + 1 | 0; var$1 = $this.$pattern0.data; if ($lowExpectedIndex < var$1.length) { $low = var$1[$lowExpectedIndex]; if (($low & 64512) != 56320 ? 0 : 1) { var$3 = $this.$index; $this.$prevNW = var$3; if ($this.$flags & 4) jur_Lexer_skipComments($this); else $this.$index = var$3 + 1 | 0; return (($high & 1023) << 10 | $low & 1023) + 65536 | 0; } } } return $high; }; function jur_PatternSyntaxException() { let a = this; jl_IllegalArgumentException.call(a); a.$desc = null; a.$pattern = null; a.$index3 = 0; } let jur_PatternSyntaxException_getMessage = $this => { let $filler, var$2, $temp, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $filler = $rt_s(18); var$2 = $this.$index3; if (var$2 >= 1) { $temp = $rt_createCharArray(var$2); var$4 = $temp.data; var$2 = 0; var$5 = var$4.length; if (var$2 > var$5) { $filler = new jl_IllegalArgumentException; $filler.$suppressionEnabled = 1; $filler.$writableStackTrace = 1; $rt_throw($filler); } while (var$2 < var$5) { var$6 = var$2 + 1 | 0; var$4[var$2] = 32; var$2 = var$6; } $filler = new jl_String; $filler.$nativeString = $rt_charArrayToString($temp.data, 0, var$5); } a: { var$7 = $this.$desc; var$8 = $this.$pattern; if (var$8 !== null && var$8.$nativeString.length) { var$9 = $this.$index3; var$8 = $this.$pattern; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$10, var$10.$length0, var$9, 10); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(25)); var$9 = var$10.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, var$9, var$8); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $filler); $filler = new jl_String; $temp = var$10.$buffer; var$4 = $temp.data; var$2 = var$10.$length0; var$5 = var$4.length; if (var$2 >= 0 && var$2 <= (var$5 - 0 | 0)) { $filler.$nativeString = $rt_charArrayToString($temp.data, 0, var$2); break a; } $filler = new jl_IndexOutOfBoundsException; $filler.$suppressionEnabled = 1; $filler.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($filler); $rt_throw($filler); } $filler = $rt_s(18); } var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); var$9 = var$8.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$9, var$7); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $filler); $filler = new jl_String; $temp = var$8.$buffer; var$4 = $temp.data; var$2 = var$8.$length0; var$5 = var$4.length; if (var$2 >= 0 && var$2 <= (var$5 - 0 | 0)) { $filler.$nativeString = $rt_charArrayToString($temp.data, 0, var$2); return $filler; } $filler = new jl_IndexOutOfBoundsException; $filler.$suppressionEnabled = 1; $filler.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($filler); $rt_throw($filler); }; function nlea_EaglerAdapterImpl2$2() { let a = this; jl_Object.call(a); a.$val$request0 = null; a.$val$cb0 = null; } let nlea_EaglerAdapterImpl2$2_stateChanged$exported$0 = var$0 => { let var$1, var$2; if (var$0.$val$request0.readyState == 4) { var$1 = var$0.$val$cb0; var$2 = nleat_TeaVMUtils_wrapByteArrayBuffer(var$0.$val$request0.response); var$1.$realAsyncCallback.$complete(var$2); } }, nms_NBTTagEnd = $rt_classWithoutFields(nms_NBTBase), nms_NBTTagEnd__init_ = $this => { $this.$name = $rt_s(18); }, nms_NBTTagEnd__init_0 = () => { let var_0 = new nms_NBTTagEnd(); nms_NBTTagEnd__init_(var_0); return var_0; }, nms_NBTTagEnd_load = ($this, $par1DataInput, $par2) => { return; }, nms_NBTTagEnd_write = ($this, $par1DataOutput) => { return; }, nms_NBTTagEnd_getId = $this => { return 0; }, nms_NBTTagEnd_toString = $this => { return $rt_s(342); }, nms_NBTTagEnd_copy = $this => { let var$1; var$1 = new nms_NBTTagEnd; var$1.$name = $rt_s(18); return var$1; }, otciu_CLDRHelper = $rt_classWithoutFields(), otciu_CLDRHelper_$$metadata$$0 = null, otciu_CLDRHelper_$$metadata$$1 = null, otciu_CLDRHelper_$$metadata$$2 = null, otciu_CLDRHelper_$$metadata$$3 = null, otciu_CLDRHelper_$$metadata$$4 = null, otciu_CLDRHelper_$$metadata$$5 = null, otciu_CLDRHelper_$$metadata$$6 = null, otciu_CLDRHelper_$$metadata$$7 = null, otciu_CLDRHelper_$$metadata$$10 = null, otciu_CLDRHelper_$$metadata$$12 = null, otciu_CLDRHelper_$$metadata$$13 = null, otciu_CLDRHelper_$$metadata$$14 = null, otciu_CLDRHelper_$$metadata$$17 = null, otciu_CLDRHelper_$$metadata$$20 = null, otciu_CLDRHelper_$$metadata$$21 = null, otciu_CLDRHelper__init_ = $this => { return; }, otciu_CLDRHelper__init_0 = () => { let var_0 = new otciu_CLDRHelper(); otciu_CLDRHelper__init_(var_0); return var_0; }, otciu_CLDRHelper_resolveDateFormatSymbols = ($map, $language, $country) => { let $localeCode, $arrayRes, var$6, $result, var$8, var$9, $i; if ($country.$nativeString.length ? 0 : 1) $localeCode = $language; else { $arrayRes = new jl_StringBuilder; $arrayRes.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($arrayRes, $arrayRes.$length0, $language === null ? $rt_s(1) : $language); var$6 = $arrayRes.$length0; jl_AbstractStringBuilder_insertSpace($arrayRes, var$6, var$6 + 1 | 0); $arrayRes.$buffer.data[var$6] = 45; jl_AbstractStringBuilder_insert($arrayRes, $arrayRes.$length0, $country); $localeCode = new jl_String; $result = $arrayRes.$buffer; var$8 = $result.data; var$9 = $arrayRes.$length0; var$6 = var$8.length; if (var$9 >= 0 && var$9 <= (var$6 - 0 | 0)) $localeCode.$nativeString = $rt_charArrayToString($result.data, 0, var$9); else { $map = new jl_IndexOutOfBoundsException; $map.$suppressionEnabled = 1; $map.$writableStackTrace = 1; $rt_throw($map); } } $arrayRes = $map.hasOwnProperty($rt_ustr($localeCode)) ? $map[$rt_ustr($localeCode)] : $map.hasOwnProperty($rt_ustr($language)) ? $map[$rt_ustr($language)] : $map.root; $result = $rt_createArray(jl_String, $arrayRes.length); var$8 = $result.data; $i = 0; var$6 = var$8.length; while ($i < var$6) { var$8[$i] = ($arrayRes[$i].value !== null ? $rt_str($arrayRes[$i].value) : null); $i = $i + 1 | 0; } return $result; }, otciu_CLDRHelper_getTimeZoneName = ($language, $country, $id) => { let $locale, $localization, $separator, var$7, var$8, var$9, $area, $territory, $timeZones; if ($country.$nativeString.length ? 0 : 1) $locale = $language; else { $localization = new jl_StringBuilder; $localization.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($localization, $localization.$length0, $language === null ? $rt_s(1) : $language); $separator = $localization.$length0; jl_AbstractStringBuilder_insertSpace($localization, $separator, $separator + 1 | 0); $localization.$buffer.data[$separator] = 45; jl_AbstractStringBuilder_insert($localization, $localization.$length0, $country); $locale = new jl_String; var$7 = $localization.$buffer; var$8 = var$7.data; $separator = $localization.$length0; var$9 = var$8.length; if ($separator >= 0 && $separator <= (var$9 - 0 | 0)) $locale.$nativeString = $rt_charArrayToString(var$7.data, 0, $separator); else { $language = new jl_IndexOutOfBoundsException; jl_Throwable__init_($language); $rt_throw($language); } } if (otciu_CLDRHelper_$$metadata$$7 === null) otciu_CLDRHelper_$$metadata$$7 = otciu_CLDRHelper_getTimeZoneLocalizationMap$$create(); if (otciu_CLDRHelper_$$metadata$$7.hasOwnProperty($rt_ustr($locale))) $language = $locale; if (otciu_CLDRHelper_$$metadata$$7 === null) otciu_CLDRHelper_$$metadata$$7 = otciu_CLDRHelper_getTimeZoneLocalizationMap$$create(); if (!otciu_CLDRHelper_$$metadata$$7.hasOwnProperty($rt_ustr($language))) return null; if (otciu_CLDRHelper_$$metadata$$7 === null) otciu_CLDRHelper_$$metadata$$7 = otciu_CLDRHelper_getTimeZoneLocalizationMap$$create(); $localization = otciu_CLDRHelper_$$metadata$$7[$rt_ustr($language)]; $separator = jl_String_indexOf($id, 47, 0); if ($separator < 0) return null; $area = jl_String_substring($id, 0, $separator); $territory = jl_String_substring($id, $separator + 1 | 0, $id.$nativeString.length); if (!$localization.timeZones.hasOwnProperty($rt_ustr($area))) return null; $timeZones = $localization.timeZones[$rt_ustr($area)]; if (!$timeZones.hasOwnProperty($rt_ustr($territory))) return null; return ($timeZones[$rt_ustr($territory)].value !== null ? $rt_str($timeZones[$rt_ustr($territory)].value) : null); }, otciu_CLDRHelper_getLikelySubtagsMap$$create = () => { return {"ksh": {"value" : "ksh-Latn-DE"}, "ksj": {"value" : "ksj-Latn-ZZ"}, "tdu": {"value" : "tdu-Latn-MY"}, "cch": {"value" : "cch-Latn-NG"}, "und-Khar": {"value" : "pra-Khar-PK"}, "gkn": {"value" : "gkn-Latn-ZZ"}, "ksr": {"value" : "ksr-Latn-ZZ"}, "und-Mani": {"value" : "xmn-Mani-CN"}, "gkp": {"value" : "gkp-Latn-ZZ"}, "xmf": {"value" : "xmf-Geor-GE"}, "ccp": {"value" : "ccp-Cakm-BD"}, "ted": {"value" : "ted-Latn-ZZ"}, "und-Mand": {"value" : "myz-Mand-IR"}, "ktb": {"value" : "ktb-Ethi-ZZ"}, "xmn": {"value" : "xmn-Mani-CN"}, "sd-Sind": {"value" : "sd-Sind-IN"}, "xmr": {"value" : "xmr-Merc-SD"}, "tem": {"value" : "tem-Latn-SL"}, "und-Mroo": {"value" : "mro-Mroo-BD"}, "teo": {"value" : "teo-Latn-UG"}, "tet": {"value" : "tet-Latn-TL"}, "ktm": {"value" : "ktm-Latn-ZZ"}, "glk": {"value" : "glk-Arab-IR"}, "kto": {"value" : "kto-Latn-ZZ"}, "ktr": {"value" : "ktr-Latn-MY"}, "und-Soyo": {"value" : "cmg-Soyo-MN"}, "xna": {"value" : "xna-Narb-SA"}, "tfi": {"value" : "tfi-Latn-ZZ"}, "kub": {"value" : "kub-Latn-ZZ"}, "kue": {"value" : "kue-Latn-ZZ"}, "kud": {"value" : "kud-Latn-ZZ"}, "xnr": {"value" : "xnr-Deva-IN"}, "ceb": {"value" : "ceb-Latn-PH"}, "kuj": {"value" : "kuj-Latn-ZZ"}, "kum": {"value" : "kum-Cyrl-RU"}, "kun": {"value" : "kun-Latn-ZZ"}, "gmm": {"value" : "gmm-Latn-ZZ"}, "kup": {"value" : "kup-Latn-ZZ"}, "kus": {"value" : "kus-Latn-ZZ"}, "gmv": {"value" : "gmv-Ethi-ZZ"}, "tgc": {"value" : "tgc-Latn-ZZ"}, "xog": {"value" : "xog-Latn-UG"}, "und-Arab-YT": {"value" : "swb-Arab-YT"}, "und-Latn-ET": {"value" : "en-Latn-ET"} , "xon": {"value" : "xon-Latn-ZZ"}, "ha-CM": {"value" : "ha-Arab-CM"}, "gnd": {"value" : "gnd-Latn-ZZ"}, "kvg": {"value" : "kvg-Latn-ZZ"}, "tgo": {"value" : "tgo-Latn-ZZ"}, "cfa": {"value" : "cfa-Latn-ZZ"}, "gng": {"value" : "gng-Latn-ZZ"}, "tgu": {"value" : "tgu-Latn-ZZ"}, "und-Latn-GE": {"value" : "ku-Latn-GE"}, "kvr": {"value" : "kvr-Latn-ID"}, "kvx": {"value" : "kvx-Arab-PK"}, "und-Gujr": {"value" : "gu-Gujr-IN"}, "thl": {"value" : "thl-Deva-NP"}, "xpr": {"value" : "xpr-Prti-IR"}, "thq": {"value" : "thq-Deva-NP"} , "god": {"value" : "god-Latn-ZZ"}, "gof": {"value" : "gof-Ethi-ZZ"}, "kwj": {"value" : "kwj-Latn-ZZ"}, "ky-Arab": {"value" : "ky-Arab-CN"}, "thr": {"value" : "thr-Deva-NP"}, "goi": {"value" : "goi-Latn-ZZ"}, "cgg": {"value" : "cgg-Latn-UG"}, "kwo": {"value" : "kwo-Latn-ZZ"}, "gom": {"value" : "gom-Deva-IN"}, "kwq": {"value" : "kwq-Latn-ZZ"}, "gon": {"value" : "gon-Telu-IN"}, "gos": {"value" : "gos-Latn-NL"}, "gor": {"value" : "gor-Latn-ID"}, "und-Latn-CY": {"value" : "tr-Latn-CY"}, "got": {"value" : "got-Goth-UA"} , "tif": {"value" : "tif-Latn-ZZ"}, "tig": {"value" : "tig-Ethi-ER"}, "kxa": {"value" : "kxa-Latn-ZZ"}, "kxc": {"value" : "kxc-Ethi-ZZ"}, "pag": {"value" : "pag-Latn-PH"}, "tik": {"value" : "tik-Latn-ZZ"}, "kxe": {"value" : "kxe-Latn-ZZ"}, "tim": {"value" : "tim-Latn-ZZ"}, "pal": {"value" : "pal-Phli-IR"}, "tio": {"value" : "tio-Latn-ZZ"}, "pam": {"value" : "pam-Latn-PH"}, "und-Marc": {"value" : "bo-Marc-CN"}, "pap": {"value" : "pap-Latn-AW"}, "und-Latn-CN": {"value" : "za-Latn-CN"}, "tiv": {"value" : "tiv-Latn-NG"} , "kxm": {"value" : "kxm-Thai-TH"}, "kxp": {"value" : "kxp-Arab-PK"}, "pau": {"value" : "pau-Latn-PW"}, "chk": {"value" : "chk-Latn-FM"}, "chm": {"value" : "chm-Cyrl-RU"}, "xrb": {"value" : "xrb-Latn-ZZ"}, "chp": {"value" : "chp-Latn-CA"}, "cho": {"value" : "cho-Latn-US"}, "kxw": {"value" : "kxw-Latn-ZZ"}, "und-Latn-DZ": {"value" : "fr-Latn-DZ"}, "chr": {"value" : "chr-Cher-US"}, "kxz": {"value" : "kxz-Latn-ZZ"}, "und-Batk": {"value" : "bbc-Batk-ID"}, "und-Bass": {"value" : "bsq-Bass-LR"}, "kye": {"value" : "kye-Latn-ZZ"}, "pbi": {"value" : "pbi-Latn-ZZ"}, "und-Deva-MU": {"value" : "bho-Deva-MU"}, "cic": {"value" : "cic-Latn-US"}, "und-Sgnw": {"value" : "ase-Sgnw-US"}, "xsa": {"value" : "xsa-Sarb-YE"}, "kyx": {"value" : "kyx-Latn-ZZ"}, "xsi": {"value" : "xsi-Latn-ZZ"}, "pcd": {"value" : "pcd-Latn-FR"}, "und-Latn-AM": {"value" : "ku-Latn-AM"}, "xsm": {"value" : "xsm-Latn-ZZ"}, "tkl": {"value" : "tkl-Latn-TK"}, "und-Thai-CN": {"value" : "lcp-Thai-CN"}, "grb": {"value" : "grb-Latn-ZZ"}, "xsr": {"value" : "xsr-Deva-NP"} , "und-Latn-AF": {"value" : "tk-Latn-AF"}, "grc": {"value" : "grc-Cprt-CY"}, "kzj": {"value" : "kzj-Latn-MY"}, "tkr": {"value" : "tkr-Latn-AZ"}, "cja": {"value" : "cja-Arab-KH"}, "pcm": {"value" : "pcm-Latn-NG"}, "tkt": {"value" : "tkt-Deva-NP"}, "und-Olck": {"value" : "sat-Olck-IN"}, "kzr": {"value" : "kzr-Latn-ZZ"}, "kzt": {"value" : "kzt-Latn-MY"}, "cjm": {"value" : "cjm-Cham-VN"}, "grt": {"value" : "grt-Beng-IN"}, "und-Arab-TJ": {"value" : "fa-Arab-TJ"}, "und-Arab-TG": {"value" : "apd-Arab-TG"}, "und-Arab-TH": {"value" : "mfa-Arab-TH"}, "und-Deva-PK": {"value" : "btv-Deva-PK"}, "grw": {"value" : "grw-Latn-ZZ"}, "cjv": {"value" : "cjv-Latn-ZZ"}, "pdc": {"value" : "pdc-Latn-US"}, "tlf": {"value" : "tlf-Latn-ZZ"}, "und-Arab-TR": {"value" : "az-Arab-TR"}, "ckb": {"value" : "ckb-Arab-IQ"}, "tly": {"value" : "tly-Latn-AZ"}, "pdt": {"value" : "pdt-Latn-CA"}, "tlx": {"value" : "tlx-Latn-ZZ"}, "ckl": {"value" : "ckl-Latn-ZZ"}, "cko": {"value" : "cko-Latn-ZZ"}, "gsw": {"value" : "gsw-Latn-CH"}, "ped": {"value" : "ped-Latn-ZZ"} , "tmh": {"value" : "tmh-Latn-NE"}, "cky": {"value" : "cky-Latn-ZZ"}, "kk-Arab": {"value" : "kk-Arab-CN"}, "und-Runr": {"value" : "non-Runr-SE"}, "cla": {"value" : "cla-Latn-ZZ"}, "peo": {"value" : "peo-Xpeo-IR"}, "tmy": {"value" : "tmy-Latn-ZZ"}, "pex": {"value" : "pex-Latn-ZZ"}, "ky-TR": {"value" : "ky-Latn-TR"}, "tnh": {"value" : "tnh-Latn-ZZ"}, "guc": {"value" : "guc-Latn-CO"}, "gub": {"value" : "gub-Latn-BR"}, "gud": {"value" : "gud-Latn-ZZ"}, "pfl": {"value" : "pfl-Latn-DE"}, "cme": {"value" : "cme-Latn-ZZ"} , "cmg": {"value" : "cmg-Soyo-MN"}, "gur": {"value" : "gur-Latn-GH"}, "xwe": {"value" : "xwe-Latn-ZZ"}, "guw": {"value" : "guw-Latn-ZZ"}, "tof": {"value" : "tof-Latn-ZZ"}, "gux": {"value" : "gux-Latn-ZZ"}, "guz": {"value" : "guz-Latn-KE"}, "tog": {"value" : "tog-Latn-MW"}, "gvf": {"value" : "gvf-Latn-ZZ"}, "toq": {"value" : "toq-Latn-ZZ"}, "gvr": {"value" : "gvr-Deva-NP"}, "und-Guru": {"value" : "pa-Guru-IN"}, "gvs": {"value" : "gvs-Latn-ZZ"}, "tpi": {"value" : "tpi-Latn-PG"}, "tpm": {"value" : "tpm-Latn-ZZ"} , "und-Tfng": {"value" : "zgh-Tfng-MA"}, "gwc": {"value" : "gwc-Arab-ZZ"}, "und-Arab-PK": {"value" : "ur-Arab-PK"}, "phl": {"value" : "phl-Arab-ZZ"}, "und-Aghb": {"value" : "lez-Aghb-RU"}, "phn": {"value" : "phn-Phnx-LB"}, "gwi": {"value" : "gwi-Latn-CA"}, "tpz": {"value" : "tpz-Latn-ZZ"}, "cop": {"value" : "cop-Copt-EG"}, "gwt": {"value" : "gwt-Arab-ZZ"}, "lab": {"value" : "lab-Lina-GR"}, "lad": {"value" : "lad-Hebr-IL"}, "lah": {"value" : "lah-Arab-PK"}, "pil": {"value" : "pil-Latn-ZZ"}, "lag": {"value" : "lag-Latn-TZ"}, "tqo": {"value" : "tqo-Latn-ZZ"}, "laj": {"value" : "laj-Latn-UG"}, "pip": {"value" : "pip-Latn-ZZ"}, "und-Khmr": {"value" : "km-Khmr-KH"}, "las": {"value" : "las-Latn-ZZ"}, "sd-Deva": {"value" : "sd-Deva-IN"}, "und-Khoj": {"value" : "sd-Khoj-IN"}, "cps": {"value" : "cps-Latn-PH"}, "kk-AF": {"value" : "kk-Arab-AF"}, "und-Arab-MU": {"value" : "ur-Arab-MU"}, "lbe": {"value" : "lbe-Cyrl-RU"}, "und-Arab-NG": {"value" : "ha-Arab-NG"}, "gyi": {"value" : "gyi-Latn-ZZ"}, "tru": {"value" : "tru-Latn-TR"} , "trw": {"value" : "trw-Arab-ZZ"}, "trv": {"value" : "trv-Latn-TW"}, "lbu": {"value" : "lbu-Latn-ZZ"}, "lbw": {"value" : "lbw-Latn-ID"}, "tsd": {"value" : "tsd-Grek-GR"}, "tsf": {"value" : "tsf-Deva-NP"}, "pka": {"value" : "pka-Brah-IN"}, "tsg": {"value" : "tsg-Latn-PH"}, "tsj": {"value" : "tsj-Tibt-BT"}, "und-Deva-FJ": {"value" : "hif-Deva-FJ"}, "pko": {"value" : "pko-Latn-KE"}, "lcm": {"value" : "lcm-Latn-ZZ"}, "crh": {"value" : "crh-Cyrl-UA"}, "lcp": {"value" : "lcp-Thai-CN"}, "tsw": {"value" : "tsw-Latn-ZZ"} , "crj": {"value" : "crj-Cans-CA"}, "crl": {"value" : "crl-Cans-CA"}, "und-Arab-MN": {"value" : "kk-Arab-MN"}, "crk": {"value" : "crk-Cans-CA"}, "crm": {"value" : "crm-Cans-CA"}, "und-Arab-MM": {"value" : "rhg-Arab-MM"}, "pla": {"value" : "pla-Latn-ZZ"}, "tte": {"value" : "tte-Latn-ZZ"}, "crs": {"value" : "crs-Latn-SC"}, "ttd": {"value" : "ttd-Latn-ZZ"}, "ldb": {"value" : "ldb-Latn-ZZ"}, "ttj": {"value" : "ttj-Latn-UG"}, "kk-CN": {"value" : "kk-Arab-CN"}, "und-Yiii": {"value" : "ii-Yiii-CN"}, "tts": {"value" : "tts-Thai-TH"}, "csb": {"value" : "csb-Latn-PL"}, "ttr": {"value" : "ttr-Latn-ZZ"}, "ttt": {"value" : "ttt-Latn-AZ"}, "csw": {"value" : "csw-Cans-CA"}, "tuh": {"value" : "tuh-Latn-ZZ"}, "led": {"value" : "led-Latn-ZZ"}, "tul": {"value" : "tul-Latn-ZZ"}, "lee": {"value" : "lee-Latn-ZZ"}, "tum": {"value" : "tum-Latn-MW"}, "und-Arab-KH": {"value" : "cja-Arab-KH"}, "tuq": {"value" : "tuq-Latn-ZZ"}, "ctd": {"value" : "ctd-Pauc-MM"}, "lem": {"value" : "lem-Latn-ZZ"}, "lep": {"value" : "lep-Lepc-IN"}, "pms": {"value" : "pms-Latn-IT"}, "leq": {"value" : "leq-Latn-ZZ"}, "und-Pauc": {"value" : "ctd-Pauc-MM"}, "und-Sogo": {"value" : "sog-Sogo-UZ"}, "leu": {"value" : "leu-Latn-ZZ"}, "lez": {"value" : "lez-Cyrl-RU"}, "tvd": {"value" : "tvd-Latn-ZZ"}, "mn-CN": {"value" : "mn-Mong-CN"}, "sr-TR": {"value" : "sr-Latn-TR"}, "png": {"value" : "png-Latn-ZZ"}, "tvl": {"value" : "tvl-Latn-TV"}, "und-Brah": {"value" : "pka-Brah-IN"}, "und-Brai": {"value" : "fr-Brai-FR"}, "pnn": {"value" : "pnn-Latn-ZZ"}, "tvu": {"value" : "tvu-Latn-ZZ"} , "pnt": {"value" : "pnt-Grek-GR"}, "uz-CN": {"value" : "uz-Cyrl-CN"}, "ha-SD": {"value" : "ha-Arab-SD"}, "twh": {"value" : "twh-Latn-ZZ"}, "und-Takr": {"value" : "doi-Takr-IN"}, "lgg": {"value" : "lgg-Latn-ZZ"}, "pon": {"value" : "pon-Latn-FM"}, "twq": {"value" : "twq-Latn-NE"}, "und-Arab-ID": {"value" : "ms-Arab-ID"}, "und-Arab-IN": {"value" : "ur-Arab-IN"}, "ppa": {"value" : "ppa-Deva-IN"}, "txg": {"value" : "txg-Tang-CN"}, "yam": {"value" : "yam-Latn-ZZ"}, "und-Talu": {"value" : "khb-Talu-CN"}, "yao": {"value" : "yao-Latn-MZ"}, "yap": {"value" : "yap-Latn-FM"}, "yas": {"value" : "yas-Latn-ZZ"}, "yat": {"value" : "yat-Latn-ZZ"}, "ppo": {"value" : "ppo-Latn-ZZ"}, "yav": {"value" : "yav-Latn-CM"}, "yay": {"value" : "yay-Latn-ZZ"}, "yaz": {"value" : "yaz-Latn-ZZ"}, "und-Tale": {"value" : "tdd-Tale-CN"}, "ybb": {"value" : "ybb-Latn-CM"}, "yba": {"value" : "yba-Latn-ZZ"}, "tya": {"value" : "tya-Latn-ZZ"}, "lia": {"value" : "lia-Latn-ZZ"}, "lid": {"value" : "lid-Latn-ZZ"}, "und-Latn-TW": {"value" : "trv-Latn-TW"} , "lif": {"value" : "lif-Deva-NP"}, "lih": {"value" : "lih-Latn-ZZ"}, "lig": {"value" : "lig-Latn-ZZ"}, "lij": {"value" : "lij-Latn-IT"}, "hag": {"value" : "hag-Latn-ZZ"}, "und-Latn-TN": {"value" : "fr-Latn-TN"}, "tyv": {"value" : "tyv-Cyrl-RU"}, "yby": {"value" : "yby-Latn-ZZ"}, "und-Arab-GB": {"value" : "ks-Arab-GB"}, "hak": {"value" : "hak-Hans-CN"}, "und-Taml": {"value" : "ta-Taml-IN"}, "ham": {"value" : "ham-Latn-ZZ"}, "lis": {"value" : "lis-Lisu-CN"}, "und-Latn-SY": {"value" : "fr-Latn-SY"}, "ky-Latn": {"value" : "ky-Latn-TR"}, "pra": {"value" : "pra-Khar-PK"}, "haw": {"value" : "haw-Latn-US"}, "haz": {"value" : "haz-Arab-AF"}, "ku-LB": {"value" : "ku-Arab-LB"}, "prd": {"value" : "prd-Arab-IR"}, "prg": {"value" : "prg-Latn-001"}, "tzm": {"value" : "tzm-Latn-MA"}, "hbb": {"value" : "hbb-Latn-ZZ"}, "und-Latn-UA": {"value" : "pl-Latn-UA"}, "ljp": {"value" : "ljp-Latn-ID"}, "und-Tang": {"value" : "txg-Tang-CN"}, "yue-Hans": {"value" : "yue-Hans-CN"}, "und-Latn-RU": {"value" : "krl-Latn-RU"}, "lki": {"value" : "lki-Arab-IR"}, "pss": {"value" : "pss-Latn-ZZ"}, "lkt": {"value" : "lkt-Latn-US"}, "sr-RO": {"value" : "sr-Latn-RO"}, "und-Arab-CN": {"value" : "ug-Arab-CN"}, "lle": {"value" : "lle-Latn-ZZ"}, "und-Cyrl": {"value" : "ru-Cyrl-RU"}, "uz-AF": {"value" : "uz-Arab-AF"}, "yer": {"value" : "yer-Latn-ZZ"}, "und-Beng": {"value" : "bn-Beng-BD"}, "ptp": {"value" : "ptp-Latn-ZZ"}, "lln": {"value" : "lln-Latn-ZZ"}, "sr-RU": {"value" : "sr-Latn-RU"}, "hdy": {"value" : "hdy-Ethi-ZZ"}, "unr-NP": {"value" : "unr-Deva-NP"} , "und-Mend": {"value" : "men-Mend-SL"}, "lmn": {"value" : "lmn-Telu-IN"}, "lmp": {"value" : "lmp-Latn-ZZ"}, "lmo": {"value" : "lmo-Latn-IT"}, "puu": {"value" : "puu-Latn-GA"}, "und-Arab-CC": {"value" : "ms-Arab-CC"}, "pal-Phlp": {"value" : "pal-Phlp-CN"}, "ygr": {"value" : "ygr-Latn-ZZ"}, "ygw": {"value" : "ygw-Latn-ZZ"}, "lns": {"value" : "lns-Latn-ZZ"}, "ky-CN": {"value" : "ky-Arab-CN"}, "lnu": {"value" : "lnu-Latn-ZZ"}, "pwa": {"value" : "pwa-Latn-ZZ"}, "und-Chrs": {"value" : "xco-Chrs-UZ"}, "und-Mahj": {"value" : "hi-Mahj-IN"}, "rif-NL": {"value" : "rif-Latn-NL"}, "loj": {"value" : "loj-Latn-ZZ"}, "lol": {"value" : "lol-Latn-CD"}, "lok": {"value" : "lok-Latn-ZZ"}, "lor": {"value" : "lor-Latn-ZZ"}, "und-Sora": {"value" : "srb-Sora-IN"}, "los": {"value" : "los-Latn-ZZ"}, "loz": {"value" : "loz-Latn-ZM"}, "und-202": {"value" : "en-Latn-NG"}, "und-Latn-MR": {"value" : "fr-Latn-MR"}, "ku-Yezi": {"value" : "ku-Yezi-GE"}, "hhy": {"value" : "hhy-Latn-ZZ"}, "hia": {"value" : "hia-Latn-ZZ"}, "hif": {"value" : "hif-Latn-FJ"} , "dad": {"value" : "dad-Latn-ZZ"}, "hih": {"value" : "hih-Latn-ZZ"}, "hig": {"value" : "hig-Latn-ZZ"}, "daf": {"value" : "daf-Latn-ZZ"}, "ubu": {"value" : "ubu-Latn-ZZ"}, "dah": {"value" : "dah-Latn-ZZ"}, "hil": {"value" : "hil-Latn-PH"}, "dag": {"value" : "dag-Latn-ZZ"}, "und-Mero": {"value" : "xmr-Mero-SD"}, "dak": {"value" : "dak-Latn-US"}, "und-Merc": {"value" : "xmr-Merc-SD"}, "dar": {"value" : "dar-Cyrl-RU"}, "dav": {"value" : "dav-Latn-KE"}, "lrc": {"value" : "lrc-Arab-IR"}, "yko": {"value" : "yko-Latn-ZZ"} , "und-Latn-MK": {"value" : "sq-Latn-MK"}, "und-Latn-MM": {"value" : "kac-Latn-MM"}, "dbd": {"value" : "dbd-Latn-ZZ"}, "und-Latn-MO": {"value" : "pt-Latn-MO"}, "und-Latn-MA": {"value" : "fr-Latn-MA"}, "und-Bali": {"value" : "ban-Bali-ID"}, "und-Tavt": {"value" : "blt-Tavt-VN"}, "dbq": {"value" : "dbq-Latn-ZZ"}, "yle": {"value" : "yle-Latn-ZZ"}, "ylg": {"value" : "ylg-Latn-ZZ"}, "und-Maka": {"value" : "mak-Maka-ID"}, "yll": {"value" : "yll-Latn-ZZ"}, "udm": {"value" : "udm-Cyrl-RU"}, "dcc": {"value" : "dcc-Arab-IN"} , "yml": {"value" : "yml-Latn-ZZ"}, "hla": {"value" : "hla-Latn-ZZ"}, "und-Latn-IR": {"value" : "tk-Latn-IR"}, "ltg": {"value" : "ltg-Latn-LV"}, "und-Latn-KM": {"value" : "fr-Latn-KM"}, "ddn": {"value" : "ddn-Latn-ZZ"}, "hlu": {"value" : "hlu-Hluw-TR"}, "lua": {"value" : "lua-Latn-CD"}, "und-Bamu": {"value" : "bax-Bamu-CM"}, "hmd": {"value" : "hmd-Plrd-CN"}, "ded": {"value" : "ded-Latn-ZZ"}, "luo": {"value" : "luo-Latn-KE"}, "und-142": {"value" : "zh-Hans-CN"}, "und-143": {"value" : "uz-Latn-UZ"}, "den": {"value" : "den-Latn-CA"}, "und-Gran": {"value" : "sa-Gran-IN"}, "hmt": {"value" : "hmt-Latn-ZZ"}, "uga": {"value" : "uga-Ugar-SY"}, "luz": {"value" : "luz-Arab-IR"}, "luy": {"value" : "luy-Latn-KE"}, "und-145": {"value" : "ar-Arab-SA"}, "und-Cakm": {"value" : "ccp-Cakm-BD"}, "und-Dupl": {"value" : "fr-Dupl-FR"}, "yon": {"value" : "yon-Latn-ZZ"}, "ug-MN": {"value" : "ug-Cyrl-MN"}, "hne": {"value" : "hne-Deva-IN"}, "hnd": {"value" : "hnd-Arab-PK"}, "hnj": {"value" : "hnj-Hmng-LA"}, "hno": {"value" : "hno-Arab-PK"} , "hnn": {"value" : "hnn-Latn-PH"}, "ug-KZ": {"value" : "ug-Cyrl-KZ"}, "und-154": {"value" : "en-Latn-GB"}, "und-155": {"value" : "de-Latn-DE"}, "und-150": {"value" : "ru-Cyrl-RU"}, "und-151": {"value" : "ru-Cyrl-RU"}, "und-Sylo": {"value" : "syl-Sylo-BD"}, "hoc": {"value" : "hoc-Deva-IN"}, "dga": {"value" : "dga-Latn-ZZ"}, "lwl": {"value" : "lwl-Thai-TH"}, "und-Ital": {"value" : "ett-Ital-IT"}, "hoj": {"value" : "hoj-Deva-IN"}, "dgh": {"value" : "dgh-Latn-ZZ"}, "dgi": {"value" : "dgi-Latn-ZZ"}, "dgl": {"value" : "dgl-Arab-ZZ"}, "hot": {"value" : "hot-Latn-ZZ"}, "dgr": {"value" : "dgr-Latn-CA"}, "dgz": {"value" : "dgz-Latn-ZZ"}, "yrb": {"value" : "yrb-Latn-ZZ"}, "yre": {"value" : "yre-Latn-ZZ"}, "und-Lyci": {"value" : "xlc-Lyci-TR"}, "und-Cans": {"value" : "cr-Cans-CA"}, "und-Hluw": {"value" : "hlu-Hluw-TR"}, "und-Nand": {"value" : "sa-Nand-IN"}, "yrl": {"value" : "yrl-Latn-BR"}, "dia": {"value" : "dia-Latn-ZZ"}, "und-Grek": {"value" : "el-Grek-GR"}, "und-Mong": {"value" : "mn-Mong-CN"}, "und-Lydi": {"value" : "xld-Lydi-TR"}, "yss": {"value" : "yss-Latn-ZZ"}, "und-Newa": {"value" : "new-Newa-NP"}, "lzh": {"value" : "lzh-Hans-CN"}, "dje": {"value" : "dje-Latn-NE"}, "lzz": {"value" : "lzz-Latn-TR"}, "uli": {"value" : "uli-Latn-FM"}, "hsb": {"value" : "hsb-Latn-DE"}, "und-Xsux": {"value" : "akk-Xsux-IQ"}, "hsn": {"value" : "hsn-Hans-CN"}, "und-Cari": {"value" : "xcr-Cari-TR"}, "und-Syrc": {"value" : "syr-Syrc-IQ"}, "yua": {"value" : "yua-Latn-MX"}, "yue": {"value" : "yue-Hant-HK"}, "umb": {"value" : "umb-Latn-AO"} , "yuj": {"value" : "yuj-Latn-ZZ"}, "yut": {"value" : "yut-Latn-ZZ"}, "yuw": {"value" : "yuw-Latn-ZZ"}, "und-Bopo": {"value" : "zh-Bopo-TW"}, "und-Yezi": {"value" : "ku-Yezi-GE"}, "und": {"value" : "en-Latn-US"}, "und-Egyp": {"value" : "egy-Egyp-EG"}, "und-Tglg": {"value" : "fil-Tglg-PH"}, "unr": {"value" : "unr-Beng-IN"}, "hui": {"value" : "hui-Latn-ZZ"}, "und-Elba": {"value" : "sq-Elba-AL"}, "unx": {"value" : "unx-Beng-IN"}, "und-Narb": {"value" : "xna-Narb-SA"}, "pa-PK": {"value" : "pa-Arab-PK"}, "und-Hebr-CA": {"value" : "yi-Hebr-CA"}, "uok": {"value" : "uok-Latn-ZZ"}, "und-Geor": {"value" : "ka-Geor-GE"}, "und-Shrd": {"value" : "sa-Shrd-IN"}, "dnj": {"value" : "dnj-Latn-CI"}, "und-Diak": {"value" : "dv-Diak-MV"}, "dob": {"value" : "dob-Latn-ZZ"}, "und-Mymr-TH": {"value" : "mnw-Mymr-TH"}, "doi": {"value" : "doi-Arab-IN"}, "dop": {"value" : "dop-Latn-ZZ"}, "und-Sund": {"value" : "su-Sund-ID"}, "dow": {"value" : "dow-Latn-ZZ"}, "sr-ME": {"value" : "sr-Latn-ME"}, "und-Hung": {"value" : "hu-Hung-HU"}, "mad": {"value" : "mad-Latn-ID"}, "mag": {"value" : "mag-Deva-IN"}, "maf": {"value" : "maf-Latn-CM"}, "mai": {"value" : "mai-Deva-IN"}, "mak": {"value" : "mak-Latn-ID"}, "man": {"value" : "man-Latn-GM"}, "mas": {"value" : "mas-Latn-KE"}, "maw": {"value" : "maw-Latn-ZZ"}, "maz": {"value" : "maz-Latn-MX"}, "uri": {"value" : "uri-Latn-ZZ"}, "mbh": {"value" : "mbh-Latn-ZZ"}, "urt": {"value" : "urt-Latn-ZZ"}, "mbo": {"value" : "mbo-Latn-ZZ"}, "urw": {"value" : "urw-Latn-ZZ"}, "mbq": {"value" : "mbq-Latn-ZZ"}, "mbu": {"value" : "mbu-Latn-ZZ"}, "und-Hebr-GB": {"value" : "yi-Hebr-GB"}, "usa": {"value" : "usa-Latn-ZZ"}, "mbw": {"value" : "mbw-Latn-ZZ"}, "mci": {"value" : "mci-Latn-ZZ"}, "dri": {"value" : "dri-Latn-ZZ"}, "mcq": {"value" : "mcq-Latn-ZZ"}, "drh": {"value" : "drh-Mong-CN"}, "mcp": {"value" : "mcp-Latn-ZZ"}, "mcr": {"value" : "mcr-Latn-ZZ"}, "mcu": {"value" : "mcu-Latn-ZZ"}, "drs": {"value" : "drs-Ethi-ZZ"}, "mda": {"value" : "mda-Latn-ZZ"}, "mdf": {"value" : "mdf-Cyrl-RU"}, "mde": {"value" : "mde-Arab-ZZ"}, "mdh": {"value" : "mdh-Latn-PH"}, "dsb": {"value" : "dsb-Latn-DE"}, "mdj": {"value" : "mdj-Latn-ZZ"}, "utr": {"value" : "utr-Latn-ZZ"}, "mdr": {"value" : "mdr-Latn-ID"}, "mdx": {"value" : "mdx-Ethi-ZZ"}, "mee": {"value" : "mee-Latn-ZZ"}, "med": {"value" : "med-Latn-ZZ"}, "mek": {"value" : "mek-Latn-ZZ"}, "men": {"value" : "men-Latn-SL"}, "az-RU": {"value" : "az-Cyrl-RU"}, "mis-Medf": {"value" : "mis-Medf-NG"}, "mer": {"value" : "mer-Latn-KE"}, "dtm": {"value" : "dtm-Latn-ML"}, "meu": {"value" : "meu-Latn-ZZ"}, "met": {"value" : "met-Latn-ZZ"}, "dtp": {"value" : "dtp-Latn-MY"}, "dts": {"value" : "dts-Latn-ZZ"}, "uvh": {"value" : "uvh-Latn-ZZ"}, "dty": {"value" : "dty-Deva-NP"}, "mfa": {"value" : "mfa-Arab-TH"}, "uvl": {"value" : "uvl-Latn-ZZ"}, "mfe": {"value" : "mfe-Latn-MU"}, "dua": {"value" : "dua-Latn-CM"}, "dud": {"value" : "dud-Latn-ZZ"}, "duc": {"value" : "duc-Latn-ZZ"}, "mfn": {"value" : "mfn-Latn-ZZ"}, "dug": {"value" : "dug-Latn-ZZ"}, "mfo": {"value" : "mfo-Latn-ZZ"}, "mfq": {"value" : "mfq-Latn-ZZ"}, "und-Phag": {"value" : "lzh-Phag-CN"}, "dva": {"value" : "dva-Latn-ZZ"}, "mgh": {"value" : "mgh-Latn-MZ"}, "mgl": {"value" : "mgl-Latn-ZZ"}, "mgo": {"value" : "mgo-Latn-CM"}, "mgp": {"value" : "mgp-Deva-NP"}, "mgy": {"value" : "mgy-Latn-TZ"}, "zag": {"value" : "zag-Latn-SD"}, "mhi": {"value" : "mhi-Latn-ZZ"}, "mhl": {"value" : "mhl-Latn-ZZ"}, "dww": {"value" : "dww-Latn-ZZ"}, "mif": {"value" : "mif-Latn-ZZ"}, "und-Mymr-IN": {"value" : "kht-Mymr-IN"}, "min": {"value" : "min-Latn-ID"}, "mis": {"value" : "mis-Hatr-IQ"}, "ian": {"value" : "ian-Latn-ZZ"}, "miw": {"value" : "miw-Latn-ZZ"}, "iar": {"value" : "iar-Latn-ZZ"}, "uz-Arab": {"value" : "uz-Arab-AF"}, "ibb": {"value" : "ibb-Latn-NG"}, "iba": {"value" : "iba-Latn-MY"}, "dyo": {"value" : "dyo-Latn-SN"}, "dyu": {"value" : "dyu-Latn-BF"}, "iby": {"value" : "iby-Latn-ZZ"}, "zdj": {"value" : "zdj-Arab-KM"}, "ica": {"value" : "ica-Latn-ZZ"}, "mki": {"value" : "mki-Arab-ZZ"}, "und-Wcho": {"value" : "nnp-Wcho-IN"}, "ich": {"value" : "ich-Latn-ZZ"}, "mkl": {"value" : "mkl-Latn-ZZ"} , "dzg": {"value" : "dzg-Latn-ZZ"}, "mkp": {"value" : "mkp-Latn-ZZ"}, "zea": {"value" : "zea-Latn-NL"}, "mkw": {"value" : "mkw-Latn-ZZ"}, "mle": {"value" : "mle-Latn-ZZ"}, "idd": {"value" : "idd-Latn-ZZ"}, "idi": {"value" : "idi-Latn-ZZ"}, "lif-Limb": {"value" : "lif-Limb-IN"}, "mlp": {"value" : "mlp-Latn-ZZ"}, "mls": {"value" : "mls-Latn-SD"}, "idu": {"value" : "idu-Latn-ZZ"}, "quc": {"value" : "quc-Latn-GT"}, "qug": {"value" : "qug-Latn-EC"}, "und-Jamo": {"value" : "ko-Jamo-KR"}, "mmo": {"value" : "mmo-Latn-ZZ"} , "mmu": {"value" : "mmu-Latn-ZZ"}, "mmx": {"value" : "mmx-Latn-ZZ"}, "zgh": {"value" : "zgh-Tfng-MA"}, "mna": {"value" : "mna-Latn-ZZ"}, "mnf": {"value" : "mnf-Latn-ZZ"}, "ife": {"value" : "ife-Latn-TG"}, "mni": {"value" : "mni-Beng-IN"}, "mnw": {"value" : "mnw-Mymr-MM"}, "moa": {"value" : "moa-Latn-ZZ"}, "moe": {"value" : "moe-Latn-CA"}, "igb": {"value" : "igb-Latn-ZZ"}, "ige": {"value" : "ige-Latn-ZZ"}, "moh": {"value" : "moh-Latn-CA"}, "und-Hebr-SE": {"value" : "yi-Hebr-SE"}, "zhx": {"value" : "zhx-Nshu-CN"} , "mos": {"value" : "mos-Latn-BF"}, "und-Shaw": {"value" : "en-Shaw-GB"}, "zia": {"value" : "zia-Latn-ZZ"}, "mox": {"value" : "mox-Latn-ZZ"}, "vag": {"value" : "vag-Latn-ZZ"}, "vai": {"value" : "vai-Vaii-LR"}, "van": {"value" : "van-Latn-ZZ"}, "mpp": {"value" : "mpp-Latn-ZZ"}, "mpt": {"value" : "mpt-Latn-ZZ"}, "mps": {"value" : "mps-Latn-ZZ"}, "mpx": {"value" : "mpx-Latn-ZZ"}, "und-Hebr-US": {"value" : "yi-Hebr-US"}, "hi-Latn": {"value" : "hi-Latn-IN"}, "mql": {"value" : "mql-Latn-ZZ"}, "und-Hebr-UA": {"value" : "yi-Hebr-UA"}, "mrd": {"value" : "mrd-Deva-NP"}, "zkt": {"value" : "zkt-Kits-CN"}, "mrj": {"value" : "mrj-Cyrl-RU"}, "ijj": {"value" : "ijj-Latn-ZZ"}, "mro": {"value" : "mro-Mroo-BD"}, "und-Modi": {"value" : "mr-Modi-IN"}, "ebu": {"value" : "ebu-Latn-KE"}, "zlm": {"value" : "zlm-Latn-TG"}, "arc-Palm": {"value" : "arc-Palm-SY"}, "ikk": {"value" : "ikk-Latn-ZZ"}, "ikt": {"value" : "ikt-Latn-CA"}, "ikw": {"value" : "ikw-Latn-ZZ"}, "vec": {"value" : "vec-Latn-IT"}, "ikx": {"value" : "ikx-Latn-ZZ"}, "zmi": {"value" : "zmi-Latn-MY"}, "mtc": {"value" : "mtc-Latn-ZZ"}, "mtf": {"value" : "mtf-Latn-ZZ"}, "vep": {"value" : "vep-Latn-RU"}, "zh-Bopo": {"value" : "zh-Bopo-TW"}, "mti": {"value" : "mti-Latn-ZZ"}, "und-Ethi": {"value" : "am-Ethi-ET"}, "mtr": {"value" : "mtr-Deva-IN"}, "und-Thai-LA": {"value" : "kdt-Thai-LA"}, "ilo": {"value" : "ilo-Latn-PH"}, "zne": {"value" : "zne-Latn-ZZ"}, "mua": {"value" : "mua-Latn-CM"}, "und-Thai-KH": {"value" : "kdt-Thai-KH"}, "imo": {"value" : "imo-Latn-ZZ"}, "mus": {"value" : "mus-Latn-US"}, "mur": {"value" : "mur-Latn-ZZ"}, "mva": {"value" : "mva-Latn-ZZ"}, "inh": {"value" : "inh-Cyrl-RU"}, "mvn": {"value" : "mvn-Latn-ZZ"}, "efi": {"value" : "efi-Latn-NG"}, "mvy": {"value" : "mvy-Arab-PK"}, "und-Java": {"value" : "jv-Java-ID"}, "mwk": {"value" : "mwk-Latn-ML"}, "mwr": {"value" : "mwr-Deva-IN"}, "und-021": {"value" : "en-Latn-US"}, "egl": {"value" : "egl-Latn-IT"}, "mww": {"value" : "mww-Hmnp-US"}, "mwv": {"value" : "mwv-Latn-ID"}, "iou": {"value" : "iou-Latn-ZZ"}, "und-029": {"value" : "es-Latn-CU"}, "vic": {"value" : "vic-Latn-SX"}, "egy": {"value" : "egy-Egyp-EG"}, "und-Ugar": {"value" : "uga-Ugar-SY"}, "mxc": {"value" : "mxc-Latn-ZW"}, "raj": {"value" : "raj-Deva-IN"}, "rai": {"value" : "rai-Latn-ZZ"}, "rao": {"value" : "rao-Latn-ZZ"}, "viv": {"value" : "viv-Latn-ZZ"}, "mxm": {"value" : "mxm-Latn-ZZ"}, "und-034": {"value" : "hi-Deva-IN"}, "und-030": {"value" : "zh-Hans-CN"}, "und-039": {"value" : "it-Latn-IT"}, "und-035": {"value" : "id-Latn-ID"}, "ug-Cyrl": {"value" : "ug-Cyrl-KZ"} , "myk": {"value" : "myk-Latn-ZZ"}, "mym": {"value" : "mym-Ethi-ZZ"}, "aai": {"value" : "aai-Latn-ZZ"}, "aak": {"value" : "aak-Latn-ZZ"}, "myw": {"value" : "myw-Latn-ZZ"}, "myv": {"value" : "myv-Cyrl-RU"}, "myx": {"value" : "myx-Latn-UG"}, "myz": {"value" : "myz-Mand-IR"}, "und-Sinh": {"value" : "si-Sinh-LK"}, "und-Sind": {"value" : "sd-Sind-IN"}, "aau": {"value" : "aau-Latn-ZZ"}, "rcf": {"value" : "rcf-Latn-RE"}, "und-Orkh": {"value" : "otk-Orkh-MN"}, "mzk": {"value" : "mzk-Latn-ZZ"}, "mzn": {"value" : "mzn-Arab-IR"}, "iri": {"value" : "iri-Latn-ZZ"}, "mzm": {"value" : "mzm-Latn-ZZ"}, "mzp": {"value" : "mzp-Latn-ZZ"}, "und-053": {"value" : "en-Latn-AU"}, "abi": {"value" : "abi-Latn-ZZ"}, "und-054": {"value" : "en-Latn-PG"}, "mzw": {"value" : "mzw-Latn-ZZ"}, "mzz": {"value" : "mzz-Latn-ZZ"}, "abr": {"value" : "abr-Latn-GH"}, "abq": {"value" : "abq-Cyrl-ZZ"}, "abt": {"value" : "abt-Latn-ZZ"}, "und-057": {"value" : "en-Latn-GU"}, "aby": {"value" : "aby-Latn-ZZ"}, "eka": {"value" : "eka-Latn-ZZ"}, "vls": {"value" : "vls-Latn-BE"}, "ace": {"value" : "ace-Latn-ID"}, "acd": {"value" : "acd-Latn-ZZ"}, "ach": {"value" : "ach-Latn-UG"}, "vmf": {"value" : "vmf-Latn-DE"}, "eky": {"value" : "eky-Kali-MM"}, "rej": {"value" : "rej-Latn-ID"}, "rel": {"value" : "rel-Latn-ZZ"}, "ada": {"value" : "ada-Latn-GH"}, "res": {"value" : "res-Latn-ZZ"}, "vmw": {"value" : "vmw-Latn-MZ"}, "ade": {"value" : "ade-Latn-ZZ"}, "adj": {"value" : "adj-Latn-ZZ"}, "und-Hira": {"value" : "ja-Hira-JP"}, "adp": {"value" : "adp-Tibt-BT"}, "adz": {"value" : "adz-Latn-ZZ"}, "ady": {"value" : "ady-Cyrl-RU"}, "ema": {"value" : "ema-Latn-ZZ"}, "und-Deva": {"value" : "hi-Deva-IN"}, "aeb": {"value" : "aeb-Arab-TN"}, "emi": {"value" : "emi-Latn-ZZ"}, "und-009": {"value" : "en-Latn-AU"}, "aey": {"value" : "aey-Latn-ZZ"}, "und-002": {"value" : "en-Latn-NG"}, "und-003": {"value" : "en-Latn-US"}, "und-005": {"value" : "pt-Latn-BR"}, "rgn": {"value" : "rgn-Latn-IT"}, "vot": {"value" : "vot-Latn-RU"}, "enn": {"value" : "enn-Latn-ZZ"}, "enq": {"value" : "enq-Latn-ZZ"} , "und-011": {"value" : "en-Latn-NG"}, "rhg": {"value" : "rhg-Arab-MM"}, "und-017": {"value" : "sw-Latn-CD"}, "und-018": {"value" : "en-Latn-ZA"}, "und-019": {"value" : "en-Latn-US"}, "und-013": {"value" : "es-Latn-MX"}, "und-014": {"value" : "sw-Latn-TZ"}, "und-015": {"value" : "ar-Arab-EG"}, "agc": {"value" : "agc-Latn-ZZ"}, "und-Zanb": {"value" : "cmg-Zanb-MN"}, "iwm": {"value" : "iwm-Latn-ZZ"}, "agd": {"value" : "agd-Latn-ZZ"}, "agg": {"value" : "agg-Latn-ZZ"}, "iws": {"value" : "iws-Latn-ZZ"}, "agm": {"value" : "agm-Latn-ZZ"}, "ago": {"value" : "ago-Latn-ZZ"}, "agq": {"value" : "agq-Latn-CM"}, "ria": {"value" : "ria-Latn-IN"}, "rif": {"value" : "rif-Tfng-MA"}, "nac": {"value" : "nac-Latn-ZZ"}, "naf": {"value" : "naf-Latn-ZZ"}, "nak": {"value" : "nak-Latn-ZZ"}, "nan": {"value" : "nan-Hans-CN"}, "aha": {"value" : "aha-Latn-ZZ"}, "nap": {"value" : "nap-Latn-IT"}, "naq": {"value" : "naq-Latn-NA"}, "zza": {"value" : "zza-Latn-TR"}, "nas": {"value" : "nas-Latn-ZZ"}, "ahl": {"value" : "ahl-Latn-ZZ"}, "en-Shaw": {"value" : "en-Shaw-GB"}, "und-Copt": {"value" : "cop-Copt-EG"}, "aho": {"value" : "aho-Ahom-IN"}, "vro": {"value" : "vro-Latn-EE"}, "rjs": {"value" : "rjs-Deva-NP"}, "nca": {"value" : "nca-Latn-ZZ"}, "ncf": {"value" : "ncf-Latn-ZZ"}, "nce": {"value" : "nce-Latn-ZZ"}, "nch": {"value" : "nch-Latn-MX"}, "izh": {"value" : "izh-Latn-RU"}, "izi": {"value" : "izi-Latn-ZZ"}, "rkt": {"value" : "rkt-Beng-BD"}, "nco": {"value" : "nco-Latn-ZZ"}, "eri": {"value" : "eri-Latn-ZZ"}, "ajg": {"value" : "ajg-Latn-ZZ"}, "ncu": {"value" : "ncu-Latn-ZZ"}, "ndc": {"value" : "ndc-Latn-MZ"}, "esg": {"value" : "esg-Gonm-IN"}, "nds": {"value" : "nds-Latn-DE"}, "akk": {"value" : "akk-Xsux-IQ"}, "esu": {"value" : "esu-Latn-US"}, "neb": {"value" : "neb-Latn-ZZ"}, "rmf": {"value" : "rmf-Latn-FI"}, "und-061": {"value" : "sm-Latn-WS"}, "und-Limb": {"value" : "lif-Limb-IN"}, "vun": {"value" : "vun-Latn-TZ"}, "ff-Adlm": {"value" : "ff-Adlm-GN"}, "vut": {"value" : "vut-Latn-ZZ"}, "rmo": {"value" : "rmo-Latn-CH"}, "ala": {"value" : "ala-Latn-ZZ"} , "rmt": {"value" : "rmt-Arab-IR"}, "rmu": {"value" : "rmu-Latn-SE"}, "ali": {"value" : "ali-Latn-ZZ"}, "nex": {"value" : "nex-Latn-ZZ"}, "new": {"value" : "new-Deva-NP"}, "aln": {"value" : "aln-Latn-XK"}, "etr": {"value" : "etr-Latn-ZZ"}, "und-Rohg": {"value" : "rhg-Rohg-MM"}, "ett": {"value" : "ett-Ital-IT"}, "rna": {"value" : "rna-Latn-ZZ"}, "etu": {"value" : "etu-Latn-ZZ"}, "alt": {"value" : "alt-Cyrl-RU"}, "etx": {"value" : "etx-Latn-ZZ"}, "rng": {"value" : "rng-Latn-MZ"}, "und-Linb": {"value" : "grc-Linb-GR"} , "und-Lina": {"value" : "lab-Lina-GR"}, "und-Jpan": {"value" : "ja-Jpan-JP"}, "man-GN": {"value" : "man-Nkoo-GN"}, "nfr": {"value" : "nfr-Latn-ZZ"}, "amm": {"value" : "amm-Latn-ZZ"}, "und-Arab": {"value" : "ar-Arab-EG"}, "amo": {"value" : "amo-Latn-NG"}, "amn": {"value" : "amn-Latn-ZZ"}, "rob": {"value" : "rob-Latn-ID"}, "amp": {"value" : "amp-Latn-ZZ"}, "ngb": {"value" : "ngb-Latn-ZZ"}, "rof": {"value" : "rof-Latn-TZ"}, "nga": {"value" : "nga-Latn-ZZ"}, "ngl": {"value" : "ngl-Latn-MZ"}, "roo": {"value" : "roo-Latn-ZZ"}, "anc": {"value" : "anc-Latn-ZZ"}, "ank": {"value" : "ank-Latn-ZZ"}, "ann": {"value" : "ann-Latn-ZZ"}, "und-Bhks": {"value" : "sa-Bhks-IN"}, "nhb": {"value" : "nhb-Latn-ZZ"}, "nhe": {"value" : "nhe-Latn-MX"}, "any": {"value" : "any-Latn-ZZ"}, "und-Orya": {"value" : "or-Orya-IN"}, "ewo": {"value" : "ewo-Latn-CM"}, "nhw": {"value" : "nhw-Latn-MX"}, "aoj": {"value" : "aoj-Latn-ZZ"}, "aom": {"value" : "aom-Latn-ZZ"}, "zh-Hanb": {"value" : "zh-Hanb-TW"}, "und-Kits": {"value" : "zkt-Kits-CN"} , "jab": {"value" : "jab-Latn-ZZ"}, "nif": {"value" : "nif-Latn-ZZ"}, "aoz": {"value" : "aoz-Latn-ID"}, "nij": {"value" : "nij-Latn-ID"}, "nii": {"value" : "nii-Latn-ZZ"}, "zh-PH": {"value" : "zh-Hant-PH"}, "nin": {"value" : "nin-Latn-ZZ"}, "zh-Hant": {"value" : "zh-Hant-TW"}, "zh-PF": {"value" : "zh-Hant-PF"}, "und-Ahom": {"value" : "aho-Ahom-IN"}, "apd": {"value" : "apd-Arab-TG"}, "apc": {"value" : "apc-Arab-ZZ"}, "ape": {"value" : "ape-Latn-ZZ"}, "jam": {"value" : "jam-Latn-JM"}, "zh-PA": {"value" : "zh-Hant-PA"} , "niu": {"value" : "niu-Latn-NU"}, "niz": {"value" : "niz-Latn-ZZ"}, "niy": {"value" : "niy-Latn-ZZ"}, "ext": {"value" : "ext-Latn-ES"}, "apr": {"value" : "apr-Latn-ZZ"}, "aps": {"value" : "aps-Latn-ZZ"}, "apz": {"value" : "apz-Latn-ZZ"}, "rro": {"value" : "rro-Latn-ZZ"}, "njo": {"value" : "njo-Latn-IN"}, "jbo": {"value" : "jbo-Latn-001"}, "jbu": {"value" : "jbu-Latn-ZZ"}, "zh-MO": {"value" : "zh-Hant-MO"}, "nkg": {"value" : "nkg-Latn-ZZ"}, "zh-MY": {"value" : "zh-Hant-MY"}, "arc": {"value" : "arc-Armi-IR"} , "nko": {"value" : "nko-Latn-ZZ"}, "arh": {"value" : "arh-Latn-ZZ"}, "pa-Arab": {"value" : "pa-Arab-PK"}, "und-Mtei": {"value" : "mni-Mtei-IN"}, "arn": {"value" : "arn-Latn-CL"}, "aro": {"value" : "aro-Latn-BO"}, "und-Cyrl-RO": {"value" : "bg-Cyrl-RO"}, "arq": {"value" : "arq-Arab-DZ"}, "ars": {"value" : "ars-Arab-SA"}, "arz": {"value" : "arz-Arab-EG"}, "ary": {"value" : "ary-Arab-MA"}, "rtm": {"value" : "rtm-Latn-FJ"}, "asa": {"value" : "asa-Latn-TZ"}, "und-Grek-TR": {"value" : "bgx-Grek-TR"}, "ase": {"value" : "ase-Sgnw-US"}, "asg": {"value" : "asg-Latn-ZZ"}, "aso": {"value" : "aso-Latn-ZZ"}, "ast": {"value" : "ast-Latn-ES"}, "rue": {"value" : "rue-Cyrl-UA"}, "rug": {"value" : "rug-Latn-SB"}, "nmg": {"value" : "nmg-Latn-CM"}, "ata": {"value" : "ata-Latn-ZZ"}, "jen": {"value" : "jen-Latn-ZZ"}, "atg": {"value" : "atg-Latn-ZZ"}, "atj": {"value" : "atj-Latn-CA"}, "nmz": {"value" : "nmz-Latn-ZZ"}, "unr-Deva": {"value" : "unr-Deva-NP"}, "nnf": {"value" : "nnf-Latn-ZZ"}, "nnh": {"value" : "nnh-Latn-CM"}, "nnk": {"value" : "nnk-Latn-ZZ"}, "nnm": {"value" : "nnm-Latn-ZZ"}, "nnp": {"value" : "nnp-Wcho-IN"}, "az-IR": {"value" : "az-Arab-IR"}, "und-Adlm": {"value" : "ff-Adlm-GN"}, "az-IQ": {"value" : "az-Arab-IQ"}, "und-Nbat": {"value" : "arc-Nbat-JO"}, "sd-Khoj": {"value" : "sd-Khoj-IN"}, "nod": {"value" : "nod-Lana-TH"}, "auy": {"value" : "auy-Latn-ZZ"}, "noe": {"value" : "noe-Deva-IN"}, "rwk": {"value" : "rwk-Latn-TZ"}, "und-Cyrl-MD": {"value" : "uk-Cyrl-MD"}, "rwo": {"value" : "rwo-Latn-ZZ"}, "non": {"value" : "non-Runr-SE"} , "nop": {"value" : "nop-Latn-ZZ"}, "jgk": {"value" : "jgk-Latn-ZZ"}, "jgo": {"value" : "jgo-Latn-CM"}, "und-Vaii": {"value" : "vai-Vaii-LR"}, "nou": {"value" : "nou-Latn-ZZ"}, "avl": {"value" : "avl-Arab-ZZ"}, "avn": {"value" : "avn-Latn-ZZ"}, "wae": {"value" : "wae-Latn-CH"}, "avt": {"value" : "avt-Latn-ZZ"}, "avu": {"value" : "avu-Latn-ZZ"}, "waj": {"value" : "waj-Latn-ZZ"}, "wal": {"value" : "wal-Ethi-ET"}, "wan": {"value" : "wan-Latn-ZZ"}, "zh-HK": {"value" : "zh-Hant-HK"}, "war": {"value" : "war-Latn-PH"} , "awa": {"value" : "awa-Deva-IN"}, "und-Plrd": {"value" : "hmd-Plrd-CN"}, "awb": {"value" : "awb-Latn-ZZ"}, "awo": {"value" : "awo-Latn-ZZ"}, "und-Knda": {"value" : "kn-Knda-IN"}, "zh-ID": {"value" : "zh-Hant-ID"}, "jib": {"value" : "jib-Latn-ZZ"}, "awx": {"value" : "awx-Latn-ZZ"}, "wbp": {"value" : "wbp-Latn-AU"}, "und-Sidd": {"value" : "sa-Sidd-IN"}, "fab": {"value" : "fab-Latn-ZZ"}, "wbr": {"value" : "wbr-Deva-IN"}, "faa": {"value" : "faa-Latn-ZZ"}, "wbq": {"value" : "wbq-Telu-IN"}, "und-Kali": {"value" : "eky-Kali-MM"}, "fag": {"value" : "fag-Latn-ZZ"}, "nqo": {"value" : "nqo-Nkoo-GN"}, "fai": {"value" : "fai-Latn-ZZ"}, "ryu": {"value" : "ryu-Kana-JP"}, "fan": {"value" : "fan-Latn-GQ"}, "wci": {"value" : "wci-Latn-ZZ"}, "nrb": {"value" : "nrb-Latn-ZZ"}, "und-Phlp": {"value" : "pal-Phlp-CN"}, "ayb": {"value" : "ayb-Latn-ZZ"}, "und-Phli": {"value" : "pal-Phli-IR"}, "cu-Glag": {"value" : "cu-Glag-BG"}, "und-Cyrl-XK": {"value" : "sr-Cyrl-XK"}, "az-Arab": {"value" : "az-Arab-IR"}, "ks-Deva": {"value" : "ks-Deva-IN"} , "und-Thai": {"value" : "th-Thai-TH"}, "nsk": {"value" : "nsk-Cans-CA"}, "nsn": {"value" : "nsn-Latn-ZZ"}, "nso": {"value" : "nso-Latn-ZA"}, "und-Thaa": {"value" : "dv-Thaa-MV"}, "und-Nshu": {"value" : "zhx-Nshu-CN"}, "nss": {"value" : "nss-Latn-ZZ"}, "zh-VN": {"value" : "zh-Hant-VN"}, "und-Hmnp": {"value" : "mww-Hmnp-US"}, "und-Kana": {"value" : "ja-Kana-JP"}, "und-Hmng": {"value" : "hnj-Hmng-LA"}, "wer": {"value" : "wer-Latn-ZZ"}, "zh-TW": {"value" : "zh-Hant-TW"}, "ntm": {"value" : "ntm-Latn-ZZ"}, "ntr": {"value" : "ntr-Latn-ZZ"}, "zh-US": {"value" : "zh-Hant-US"}, "und-Xpeo": {"value" : "peo-Xpeo-IR"}, "jmc": {"value" : "jmc-Latn-TZ"}, "nui": {"value" : "nui-Latn-ZZ"}, "jml": {"value" : "jml-Deva-NP"}, "nup": {"value" : "nup-Latn-ZZ"}, "und-Cyrl-SK": {"value" : "uk-Cyrl-SK"}, "nus": {"value" : "nus-Latn-SS"}, "nuv": {"value" : "nuv-Latn-ZZ"}, "nux": {"value" : "nux-Latn-ZZ"}, "zh-TH": {"value" : "zh-Hant-TH"}, "wgi": {"value" : "wgi-Latn-ZZ"}, "und-Phnx": {"value" : "phn-Phnx-LB"}, "und-Cyrl-TR": {"value" : "kbd-Cyrl-TR"}, "ffi": {"value" : "ffi-Latn-ZZ"}, "und-Elym": {"value" : "arc-Elym-IR"}, "ffm": {"value" : "ffm-Latn-ML"}, "und-Rjng": {"value" : "rej-Rjng-ID"}, "whg": {"value" : "whg-Latn-ZZ"}, "nwb": {"value" : "nwb-Latn-ZZ"}, "zh-SR": {"value" : "zh-Hant-SR"}, "wib": {"value" : "wib-Latn-ZZ"}, "und-Hebr": {"value" : "he-Hebr-IL"}, "saf": {"value" : "saf-Latn-GH"}, "sah": {"value" : "sah-Cyrl-RU"}, "saq": {"value" : "saq-Latn-KE"}, "wiu": {"value" : "wiu-Latn-ZZ"}, "sas": {"value" : "sas-Latn-ID"}, "wiv": {"value" : "wiv-Latn-ZZ"}, "nxq": {"value" : "nxq-Latn-CN"}, "sat": {"value" : "sat-Olck-IN"}, "nxr": {"value" : "nxr-Latn-ZZ"}, "sav": {"value" : "sav-Latn-SN"}, "saz": {"value" : "saz-Saur-IN"}, "wja": {"value" : "wja-Latn-ZZ"}, "sba": {"value" : "sba-Latn-ZZ"}, "sbe": {"value" : "sbe-Latn-ZZ"}, "wji": {"value" : "wji-Latn-ZZ"}, "mn-Mong": {"value" : "mn-Mong-CN"}, "und-419": {"value" : "es-Latn-419"}, "fia": {"value" : "fia-Arab-SD"}, "sbp": {"value" : "sbp-Latn-TZ"}, "und-NO": {"value" : "nb-Latn-NO"} , "nyn": {"value" : "nyn-Latn-UG"}, "nym": {"value" : "nym-Latn-TZ"}, "und-NL": {"value" : "nl-Latn-NL"}, "und-NP": {"value" : "ne-Deva-NP"}, "fil": {"value" : "fil-Latn-PH"}, "bal": {"value" : "bal-Arab-PK"}, "ban": {"value" : "ban-Latn-ID"}, "bap": {"value" : "bap-Deva-NP"}, "fit": {"value" : "fit-Latn-SE"}, "bar": {"value" : "bar-Latn-AT"}, "bas": {"value" : "bas-Latn-CM"}, "bav": {"value" : "bav-Latn-ZZ"}, "bax": {"value" : "bax-Bamu-CM"}, "jra": {"value" : "jra-Latn-ZZ"}, "sck": {"value" : "sck-Deva-IN"} , "nzi": {"value" : "nzi-Latn-GH"}, "scl": {"value" : "scl-Arab-ZZ"}, "sco": {"value" : "sco-Latn-GB"}, "scn": {"value" : "scn-Latn-IT"}, "aa": {"value" : "aa-Latn-ET"}, "bba": {"value" : "bba-Latn-ZZ"}, "und-MN": {"value" : "mn-Cyrl-MN"}, "ab": {"value" : "ab-Cyrl-GE"}, "und-MM": {"value" : "my-Mymr-MM"}, "und-Osma": {"value" : "so-Osma-SO"}, "bbc": {"value" : "bbc-Latn-ID"}, "scs": {"value" : "scs-Latn-CA"}, "und-ML": {"value" : "bm-Latn-ML"}, "bbb": {"value" : "bbb-Latn-ZZ"}, "und-MK": {"value" : "mk-Cyrl-MK"} , "ae": {"value" : "ae-Avst-IR"}, "und-MR": {"value" : "ar-Arab-MR"}, "af": {"value" : "af-Latn-ZA"}, "bbd": {"value" : "bbd-Latn-ZZ"}, "und-MQ": {"value" : "fr-Latn-MQ"}, "und-Wara": {"value" : "hoc-Wara-IN"}, "und-MO": {"value" : "zh-Hant-MO"}, "und-MV": {"value" : "dv-Thaa-MV"}, "und-MU": {"value" : "mfe-Latn-MU"}, "ak": {"value" : "ak-Latn-GH"}, "und-MT": {"value" : "mt-Latn-MT"}, "bbj": {"value" : "bbj-Latn-CM"}, "am": {"value" : "am-Ethi-ET"}, "und-MZ": {"value" : "pt-Latn-MZ"}, "an": {"value" : "an-Latn-ES"} , "und-MY": {"value" : "ms-Latn-MY"}, "und-MX": {"value" : "es-Latn-MX"}, "ar": {"value" : "ar-Arab-EG"}, "bbp": {"value" : "bbp-Latn-ZZ"}, "as": {"value" : "as-Beng-IN"}, "bbr": {"value" : "bbr-Latn-ZZ"}, "sdc": {"value" : "sdc-Latn-IT"}, "und-NC": {"value" : "fr-Latn-NC"}, "av": {"value" : "av-Cyrl-RU"}, "sdh": {"value" : "sdh-Arab-IR"}, "und-NA": {"value" : "af-Latn-NA"}, "ay": {"value" : "ay-Latn-BO"}, "az": {"value" : "az-Latn-AZ"}, "und-NE": {"value" : "ha-Latn-NE"}, "und-NI": {"value" : "es-Latn-NI"} , "ba": {"value" : "ba-Cyrl-RU"}, "wls": {"value" : "wls-Latn-WF"}, "und-Kore": {"value" : "ko-Kore-KR"}, "und-LK": {"value" : "si-Sinh-LK"}, "be": {"value" : "be-Cyrl-BY"}, "bcf": {"value" : "bcf-Latn-ZZ"}, "bg": {"value" : "bg-Cyrl-BG"}, "bch": {"value" : "bch-Latn-ZZ"}, "bi": {"value" : "bi-Latn-VU"}, "und-LU": {"value" : "fr-Latn-LU"}, "bci": {"value" : "bci-Latn-CI"}, "und-LT": {"value" : "lt-Latn-LT"}, "und-LS": {"value" : "st-Latn-LS"}, "bm": {"value" : "bm-Latn-ML"}, "bcn": {"value" : "bcn-Latn-ZZ"} , "bn": {"value" : "bn-Beng-BD"}, "und-LY": {"value" : "ar-Arab-LY"}, "bcm": {"value" : "bcm-Latn-ZZ"}, "bo": {"value" : "bo-Tibt-CN"}, "bco": {"value" : "bco-Latn-ZZ"}, "und-LV": {"value" : "lv-Latn-LV"}, "br": {"value" : "br-Latn-FR"}, "bcq": {"value" : "bcq-Ethi-ZZ"}, "bs": {"value" : "bs-Latn-BA"}, "bcu": {"value" : "bcu-Latn-ZZ"}, "sef": {"value" : "sef-Latn-CI"}, "und-MA": {"value" : "ar-Arab-MA"}, "sei": {"value" : "sei-Latn-MX"}, "seh": {"value" : "seh-Latn-MZ"}, "und-MF": {"value" : "fr-Latn-MF"} , "wmo": {"value" : "wmo-Latn-ZZ"}, "und-ME": {"value" : "sr-Latn-ME"}, "und-MD": {"value" : "ro-Latn-MD"}, "und-MC": {"value" : "fr-Latn-MC"}, "ca": {"value" : "ca-Latn-ES"}, "und-MG": {"value" : "mg-Latn-MG"}, "ses": {"value" : "ses-Latn-ML"}, "ce": {"value" : "ce-Cyrl-RU"}, "und-Cyrl-BA": {"value" : "sr-Cyrl-BA"}, "bdd": {"value" : "bdd-Latn-ZZ"}, "und-KP": {"value" : "ko-Kore-KP"}, "ch": {"value" : "ch-Latn-GU"}, "und-KM": {"value" : "ar-Arab-KM"}, "und-KR": {"value" : "ko-Kore-KR"}, "co": {"value" : "co-Latn-FR"}, "flr": {"value" : "flr-Latn-ZZ"}, "und-KW": {"value" : "ar-Arab-KW"}, "wnc": {"value" : "wnc-Latn-ZZ"}, "und-Dogr": {"value" : "doi-Dogr-IN"}, "cr": {"value" : "cr-Cans-CA"}, "cs": {"value" : "cs-Latn-CZ"}, "cu": {"value" : "cu-Cyrl-RU"}, "und-KZ": {"value" : "ru-Cyrl-KZ"}, "cv": {"value" : "cv-Cyrl-RU"}, "wni": {"value" : "wni-Arab-KM"}, "und-LA": {"value" : "lo-Laoo-LA"}, "cy": {"value" : "cy-Latn-GB"}, "und-LB": {"value" : "ar-Arab-LB"}, "und-LI": {"value" : "de-Latn-LI"}, "da": {"value" : "da-Latn-DK"}, "und-Cyrl-AL": {"value" : "mk-Cyrl-AL"}, "wnu": {"value" : "wnu-Latn-ZZ"}, "de": {"value" : "de-Latn-DE"}, "bef": {"value" : "bef-Latn-ZZ"}, "beh": {"value" : "beh-Latn-ZZ"}, "und-JO": {"value" : "ar-Arab-JO"}, "bej": {"value" : "bej-Arab-SD"}, "fmp": {"value" : "fmp-Latn-ZZ"}, "jut": {"value" : "jut-Latn-DK"}, "bem": {"value" : "bem-Latn-ZM"}, "und-JP": {"value" : "ja-Jpan-JP"}, "wob": {"value" : "wob-Latn-ZZ"}, "sga": {"value" : "sga-Ogam-IE"}, "bet": {"value" : "bet-Latn-ZZ"}, "dv": {"value" : "dv-Thaa-MV"}, "bex": {"value" : "bex-Latn-ZZ"}, "bew": {"value" : "bew-Latn-ID"}, "bez": {"value" : "bez-Latn-TZ"}, "dz": {"value" : "dz-Tibt-BT"}, "ms-ID": {"value" : "ms-Latn-ID"}, "wos": {"value" : "wos-Latn-ZZ"}, "und-KH": {"value" : "km-Khmr-KH"}, "und-KG": {"value" : "ky-Cyrl-KG"}, "sgs": {"value" : "sgs-Latn-LT"}, "und-KE": {"value" : "sw-Latn-KE"}, "ee": {"value" : "ee-Latn-GH"}, "bfd": {"value" : "bfd-Latn-CM"}, "sgw": {"value" : "sgw-Ethi-ZZ"}, "und-IN": {"value" : "hi-Deva-IN"}, "und-IL": {"value" : "he-Hebr-IL"}, "el": {"value" : "el-Grek-GR"}, "sgz": {"value" : "sgz-Latn-ZZ"}, "und-IR": {"value" : "fa-Arab-IR"}, "en": {"value" : "en-Latn-US"}, "und-IQ": {"value" : "ar-Arab-IQ"}, "und-Perm": {"value" : "kv-Perm-RU"}, "eo": {"value" : "eo-Latn-001"}, "bfq": {"value" : "bfq-Taml-IN"}, "es": {"value" : "es-Latn-ES"}, "und-IT": {"value" : "it-Latn-IT"}, "et": {"value" : "et-Latn-EE"}, "und-IS": {"value" : "is-Latn-IS"}, "eu": {"value" : "eu-Latn-ES"}, "bft": {"value" : "bft-Arab-PK"}, "bfy": {"value" : "bfy-Deva-IN"}, "shi": {"value" : "shi-Tfng-MA"}, "shk": {"value" : "shk-Latn-ZZ"}, "shn": {"value" : "shn-Mymr-MM"}, "fod": {"value" : "fod-Latn-ZZ"}, "fa": {"value" : "fa-Arab-IR"}, "bgc": {"value" : "bgc-Deva-IN"}, "ff": {"value" : "ff-Latn-SN"}, "shu": {"value" : "shu-Arab-ZZ"}, "fi": {"value" : "fi-Latn-FI"}, "fj": {"value" : "fj-Latn-FJ"}, "fon": {"value" : "fon-Latn-BJ"}, "und-HM": {"value" : "und-Latn-HM"}, "und-HK": {"value" : "zh-Hant-HK"}, "bgn": {"value" : "bgn-Arab-PK"}, "for": {"value" : "for-Latn-ZZ"}, "fo": {"value" : "fo-Latn-FO"}, "und-HN": {"value" : "es-Latn-HN"}, "fr": {"value" : "fr-Latn-FR"}, "und-HU": {"value" : "hu-Latn-HU"}, "und-HT": {"value" : "ht-Latn-HT"}, "ku-Arab": {"value" : "ku-Arab-IQ"}, "sid": {"value" : "sid-Latn-ET"}, "und-HR": {"value" : "hr-Latn-HR"}, "sig": {"value" : "sig-Latn-ZZ"}, "bgx": {"value" : "bgx-Grek-TR"}, "fy": {"value" : "fy-Latn-NL"}, "sim": {"value" : "sim-Latn-ZZ"}, "sil": {"value" : "sil-Latn-ZZ"}, "fpe": {"value" : "fpe-Latn-ZZ"}, "ga": {"value" : "ga-Latn-IE"}, "bhb": {"value" : "bhb-Deva-IN"}, "gd": {"value" : "gd-Latn-GB"}, "und-ID": {"value" : "id-Latn-ID"}, "und-IC": {"value" : "es-Latn-IC"}, "bhg": {"value" : "bhg-Latn-ZZ"}, "und-GH": {"value" : "ak-Latn-GH"}, "bhi": {"value" : "bhi-Deva-IN"}, "und-GF": {"value" : "fr-Latn-GF"}, "und-GE": {"value" : "ka-Geor-GE"}, "und-GL": {"value" : "kl-Latn-GL"}, "gl": {"value" : "gl-Latn-ES"}, "bhl": {"value" : "bhl-Latn-ZZ"}, "gn": {"value" : "gn-Latn-PY"}, "bho": {"value" : "bho-Deva-IN"}, "und-GP": {"value" : "fr-Latn-GP"}, "und-GN": {"value" : "fr-Latn-GN"}, "und-GT": {"value" : "es-Latn-GT"}, "und-GS": {"value" : "und-Latn-GS"}, "gu": {"value" : "gu-Gujr-IN"}, "und-GR": {"value" : "el-Grek-GR"}, "gv": {"value" : "gv-Latn-IM"}, "und-GQ": {"value" : "es-Latn-GQ"}, "und-Palm": {"value" : "arc-Palm-SY"}, "und-GW": {"value" : "pt-Latn-GW"}, "bhy": {"value" : "bhy-Latn-ZZ"}, "ha": {"value" : "ha-Latn-NG"}, "wrs": {"value" : "wrs-Latn-ZZ"}, "bib": {"value" : "bib-Latn-ZZ"}, "sjr": {"value" : "sjr-Latn-ZZ"} , "he": {"value" : "he-Hebr-IL"}, "big": {"value" : "big-Latn-ZZ"}, "hi": {"value" : "hi-Deva-IN"}, "und-Cyrl-GE": {"value" : "ab-Cyrl-GE"}, "bik": {"value" : "bik-Latn-PH"}, "bin": {"value" : "bin-Latn-NG"}, "und-Cham": {"value" : "cjm-Cham-VN"}, "und-FI": {"value" : "fi-Latn-FI"}, "bim": {"value" : "bim-Latn-ZZ"}, "ho": {"value" : "ho-Latn-PG"}, "tg-PK": {"value" : "tg-Arab-PK"}, "und-FO": {"value" : "fo-Latn-FO"}, "bio": {"value" : "bio-Latn-ZZ"}, "fqs": {"value" : "fqs-Latn-ZZ"}, "hr": {"value" : "hr-Latn-HR"} , "skc": {"value" : "skc-Latn-ZZ"}, "wsg": {"value" : "wsg-Gong-IN"}, "biq": {"value" : "biq-Latn-ZZ"}, "ht": {"value" : "ht-Latn-HT"}, "hu": {"value" : "hu-Latn-HU"}, "und-FR": {"value" : "fr-Latn-FR"}, "wsk": {"value" : "wsk-Latn-ZZ"}, "hy": {"value" : "hy-Armn-AM"}, "hz": {"value" : "hz-Latn-NA"}, "frc": {"value" : "frc-Latn-US"}, "ia": {"value" : "ia-Latn-001"}, "sks": {"value" : "sks-Latn-ZZ"}, "id": {"value" : "id-Latn-ID"}, "skr": {"value" : "skr-Arab-PK"}, "ig": {"value" : "ig-Latn-NG"}, "und-GA": {"value" : "fr-Latn-GA"}, "bji": {"value" : "bji-Ethi-ZZ"}, "ii": {"value" : "ii-Yiii-CN"}, "bjh": {"value" : "bjh-Latn-ZZ"}, "und-EE": {"value" : "et-Latn-EE"}, "ik": {"value" : "ik-Latn-US"}, "bjj": {"value" : "bjj-Deva-IN"}, "und-EC": {"value" : "es-Latn-EC"}, "und-Cprt": {"value" : "grc-Cprt-CY"}, "frp": {"value" : "frp-Latn-FR"}, "in": {"value" : "in-Latn-ID"}, "bjo": {"value" : "bjo-Latn-ZZ"}, "frs": {"value" : "frs-Latn-DE"}, "io": {"value" : "io-Latn-001"}, "und-EH": {"value" : "ar-Arab-EH"}, "bjn": {"value" : "bjn-Latn-ID"}, "frr": {"value" : "frr-Latn-DE"}, "und-EG": {"value" : "ar-Arab-EG"}, "is": {"value" : "is-Latn-IS"}, "sld": {"value" : "sld-Latn-ZZ"}, "bjr": {"value" : "bjr-Latn-ZZ"}, "it": {"value" : "it-Latn-IT"}, "iu": {"value" : "iu-Cans-CA"}, "und-ER": {"value" : "ti-Ethi-ER"}, "bjt": {"value" : "bjt-Latn-SN"}, "iw": {"value" : "iw-Hebr-IL"}, "und-Tirh": {"value" : "mai-Tirh-IN"}, "sli": {"value" : "sli-Latn-PL"}, "und-EU": {"value" : "en-Latn-GB"}, "wtm": {"value" : "wtm-Deva-IN"}, "sll": {"value" : "sll-Latn-ZZ"}, "und-ET": {"value" : "am-Ethi-ET"}, "bjz": {"value" : "bjz-Latn-ZZ"}, "und-ES": {"value" : "es-Latn-ES"}, "und-EZ": {"value" : "de-Latn-EZ"}, "ja": {"value" : "ja-Jpan-JP"}, "zh-GF": {"value" : "zh-Hant-GF"}, "bkc": {"value" : "bkc-Latn-ZZ"}, "zh-GB": {"value" : "zh-Hant-GB"}, "und-Cyrl-GR": {"value" : "mk-Cyrl-GR"}, "ji": {"value" : "ji-Hebr-UA"}, "und-DE": {"value" : "de-Latn-DE"}, "sly": {"value" : "sly-Latn-ID"}, "bkm": {"value" : "bkm-Latn-CM"}, "sma": {"value" : "sma-Latn-SE"} , "bkq": {"value" : "bkq-Latn-ZZ"}, "und-DK": {"value" : "da-Latn-DK"}, "und-DJ": {"value" : "aa-Latn-DJ"}, "bkv": {"value" : "bkv-Latn-ZZ"}, "jv": {"value" : "jv-Latn-ID"}, "bku": {"value" : "bku-Latn-PH"}, "jw": {"value" : "jw-Latn-ID"}, "und-DO": {"value" : "es-Latn-DO"}, "smj": {"value" : "smj-Latn-SE"}, "smn": {"value" : "smn-Latn-FI"}, "ka": {"value" : "ka-Geor-GE"}, "smq": {"value" : "smq-Latn-ZZ"}, "wuu": {"value" : "wuu-Hans-CN"}, "smp": {"value" : "smp-Samr-IL"}, "sms": {"value" : "sms-Latn-FI"} , "wuv": {"value" : "wuv-Latn-ZZ"}, "und-DZ": {"value" : "ar-Arab-DZ"}, "kg": {"value" : "kg-Latn-CD"}, "und-EA": {"value" : "es-Latn-EA"}, "ki": {"value" : "ki-Latn-KE"}, "kj": {"value" : "kj-Latn-NA"}, "kk": {"value" : "kk-Cyrl-KZ"}, "man-Nkoo": {"value" : "man-Nkoo-GN"}, "und-CD": {"value" : "sw-Latn-CD"}, "kl": {"value" : "kl-Latn-GL"}, "und-Telu": {"value" : "te-Telu-IN"}, "km": {"value" : "km-Khmr-KH"}, "kn": {"value" : "kn-Knda-IN"}, "ko": {"value" : "ko-Kore-KR"}, "und-CH": {"value" : "de-Latn-CH"} , "und-CG": {"value" : "fr-Latn-CG"}, "und-CF": {"value" : "fr-Latn-CF"}, "kr": {"value" : "kr-Latn-ZZ"}, "ks": {"value" : "ks-Arab-IN"}, "und-CL": {"value" : "es-Latn-CL"}, "snc": {"value" : "snc-Latn-ZZ"}, "ku": {"value" : "ku-Latn-TR"}, "blt": {"value" : "blt-Tavt-VN"}, "kv": {"value" : "kv-Cyrl-RU"}, "und-CI": {"value" : "fr-Latn-CI"}, "kw": {"value" : "kw-Latn-GB"}, "und-CP": {"value" : "und-Latn-CP"}, "und-CO": {"value" : "es-Latn-CO"}, "ky": {"value" : "ky-Cyrl-KG"}, "und-CN": {"value" : "zh-Hans-CN"} , "und-CM": {"value" : "fr-Latn-CM"}, "snk": {"value" : "snk-Latn-ML"}, "fub": {"value" : "fub-Arab-CM"}, "und-CR": {"value" : "es-Latn-CR"}, "fud": {"value" : "fud-Latn-WF"}, "snp": {"value" : "snp-Latn-ZZ"}, "la": {"value" : "la-Latn-VA"}, "und-CW": {"value" : "pap-Latn-CW"}, "fuf": {"value" : "fuf-Latn-GN"}, "lb": {"value" : "lb-Latn-LU"}, "und-CV": {"value" : "pt-Latn-CV"}, "fue": {"value" : "fue-Latn-ZZ"}, "und-CU": {"value" : "es-Latn-CU"}, "fuh": {"value" : "fuh-Latn-ZZ"}, "und-CZ": {"value" : "cs-Latn-CZ"} , "lg": {"value" : "lg-Latn-UG"}, "und-CY": {"value" : "el-Grek-CY"}, "bmh": {"value" : "bmh-Latn-ZZ"}, "snx": {"value" : "snx-Latn-ZZ"}, "li": {"value" : "li-Latn-NL"}, "sny": {"value" : "sny-Latn-ZZ"}, "wwa": {"value" : "wwa-Latn-ZZ"}, "bmk": {"value" : "bmk-Latn-ZZ"}, "und-Cher": {"value" : "chr-Cher-US"}, "fur": {"value" : "fur-Latn-IT"}, "ln": {"value" : "ln-Latn-CD"}, "und-BA": {"value" : "bs-Latn-BA"}, "fuq": {"value" : "fuq-Latn-NE"}, "lo": {"value" : "lo-Laoo-LA"}, "und-BG": {"value" : "bg-Cyrl-BG"} , "und-BF": {"value" : "fr-Latn-BF"}, "fuv": {"value" : "fuv-Latn-NG"}, "und-BE": {"value" : "nl-Latn-BE"}, "bmq": {"value" : "bmq-Latn-ML"}, "und-BD": {"value" : "bn-Beng-BD"}, "lt": {"value" : "lt-Latn-LT"}, "lu": {"value" : "lu-Latn-CD"}, "und-BJ": {"value" : "fr-Latn-BJ"}, "lv": {"value" : "lv-Latn-LV"}, "ogc": {"value" : "ogc-Latn-ZZ"}, "sog": {"value" : "sog-Sogd-UZ"}, "und-BI": {"value" : "rn-Latn-BI"}, "bmu": {"value" : "bmu-Latn-ZZ"}, "fuy": {"value" : "fuy-Latn-ZZ"}, "und-BH": {"value" : "ar-Arab-BH"} , "und-BO": {"value" : "es-Latn-BO"}, "und-BN": {"value" : "ms-Latn-BN"}, "sok": {"value" : "sok-Latn-ZZ"}, "und-BL": {"value" : "fr-Latn-BL"}, "und-BR": {"value" : "pt-Latn-BR"}, "und-BQ": {"value" : "pap-Latn-BQ"}, "soq": {"value" : "soq-Latn-ZZ"}, "und-BV": {"value" : "und-Latn-BV"}, "und-BT": {"value" : "dz-Tibt-BT"}, "sou": {"value" : "sou-Thai-TH"}, "bng": {"value" : "bng-Latn-ZZ"}, "mg": {"value" : "mg-Latn-MG"}, "und-BY": {"value" : "be-Cyrl-BY"}, "und-Glag": {"value" : "cu-Glag-BG"}, "mh": {"value" : "mh-Latn-MH"}, "mi": {"value" : "mi-Latn-NZ"}, "soy": {"value" : "soy-Latn-ZZ"}, "mk": {"value" : "mk-Cyrl-MK"}, "ml": {"value" : "ml-Mlym-IN"}, "bnm": {"value" : "bnm-Latn-ZZ"}, "mn": {"value" : "mn-Cyrl-MN"}, "mo": {"value" : "mo-Latn-RO"}, "und-Prti": {"value" : "xpr-Prti-IR"}, "fvr": {"value" : "fvr-Latn-SD"}, "und-AF": {"value" : "fa-Arab-AF"}, "bnp": {"value" : "bnp-Latn-ZZ"}, "mr": {"value" : "mr-Deva-IN"}, "und-AE": {"value" : "ar-Arab-AE"}, "ms": {"value" : "ms-Latn-MY"}, "spd": {"value" : "spd-Latn-ZZ"} , "und-AD": {"value" : "ca-Latn-AD"}, "mt": {"value" : "mt-Latn-MT"}, "my": {"value" : "my-Mymr-MM"}, "zh-BN": {"value" : "zh-Hant-BN"}, "und-AM": {"value" : "hy-Armn-AM"}, "spl": {"value" : "spl-Latn-ZZ"}, "und-AL": {"value" : "sq-Latn-AL"}, "und-AR": {"value" : "es-Latn-AR"}, "und-AQ": {"value" : "und-Latn-AQ"}, "na": {"value" : "na-Latn-NR"}, "und-AO": {"value" : "pt-Latn-AO"}, "nb": {"value" : "nb-Latn-NO"}, "nd": {"value" : "nd-Latn-ZW"}, "und-AT": {"value" : "de-Latn-AT"}, "ne": {"value" : "ne-Deva-NP"} , "sps": {"value" : "sps-Latn-ZZ"}, "und-AS": {"value" : "sm-Latn-AS"}, "und-AZ": {"value" : "az-Latn-AZ"}, "ng": {"value" : "ng-Latn-NA"}, "und-AX": {"value" : "sv-Latn-AX"}, "und-AW": {"value" : "nl-Latn-AW"}, "boj": {"value" : "boj-Latn-ZZ"}, "nl": {"value" : "nl-Latn-NL"}, "bon": {"value" : "bon-Latn-ZZ"}, "nn": {"value" : "nn-Latn-NO"}, "bom": {"value" : "bom-Latn-ZZ"}, "no": {"value" : "no-Latn-NO"}, "nr": {"value" : "nr-Latn-ZA"}, "arc-Nbat": {"value" : "arc-Nbat-JO"}, "und-Medf": {"value" : "mis-Medf-NG"} , "nv": {"value" : "nv-Latn-US"}, "kaa": {"value" : "kaa-Cyrl-UZ"}, "ny": {"value" : "ny-Latn-MW"}, "kac": {"value" : "kac-Latn-MM"}, "kab": {"value" : "kab-Latn-DZ"}, "kad": {"value" : "kad-Latn-ZZ"}, "kai": {"value" : "kai-Latn-ZZ"}, "oc": {"value" : "oc-Latn-FR"}, "zh-AU": {"value" : "zh-Hant-AU"}, "kaj": {"value" : "kaj-Latn-NG"}, "kam": {"value" : "kam-Latn-KE"}, "und-Tagb": {"value" : "tbw-Tagb-PH"}, "kao": {"value" : "kao-Latn-ML"}, "und-Ogam": {"value" : "sga-Ogam-IE"}, "om": {"value" : "om-Latn-ET"} , "srb": {"value" : "srb-Sora-IN"}, "or": {"value" : "or-Orya-IN"}, "tg-Arab": {"value" : "tg-Arab-PK"}, "os": {"value" : "os-Cyrl-GE"}, "und-Sogd": {"value" : "sog-Sogd-UZ"}, "bpy": {"value" : "bpy-Beng-IN"}, "kbd": {"value" : "kbd-Cyrl-RU"}, "srn": {"value" : "srn-Latn-SR"}, "pa": {"value" : "pa-Guru-IN"}, "srr": {"value" : "srr-Latn-SN"}, "bqc": {"value" : "bqc-Latn-ZZ"}, "und-Kthi": {"value" : "bho-Kthi-IN"}, "kbm": {"value" : "kbm-Latn-ZZ"}, "kbp": {"value" : "kbp-Latn-ZZ"}, "srx": {"value" : "srx-Deva-IN"} , "bqi": {"value" : "bqi-Arab-IR"}, "kbq": {"value" : "kbq-Latn-ZZ"}, "pl": {"value" : "pl-Latn-PL"}, "bqp": {"value" : "bqp-Latn-ZZ"}, "kbx": {"value" : "kbx-Latn-ZZ"}, "kby": {"value" : "kby-Arab-NE"}, "ps": {"value" : "ps-Arab-AF"}, "pt": {"value" : "pt-Latn-BR"}, "ssd": {"value" : "ssd-Latn-ZZ"}, "und-Nkoo": {"value" : "man-Nkoo-GN"}, "bqv": {"value" : "bqv-Latn-CI"}, "ssg": {"value" : "ssg-Latn-ZZ"}, "und-Mymr": {"value" : "my-Mymr-MM"}, "kcg": {"value" : "kcg-Latn-NG"}, "bra": {"value" : "bra-Deva-IN"} , "kck": {"value" : "kck-Latn-ZW"}, "kcl": {"value" : "kcl-Latn-ZZ"}, "okr": {"value" : "okr-Latn-ZZ"}, "ssy": {"value" : "ssy-Latn-ER"}, "brh": {"value" : "brh-Arab-PK"}, "okv": {"value" : "okv-Latn-ZZ"}, "kct": {"value" : "kct-Latn-ZZ"}, "und-Hani": {"value" : "zh-Hani-CN"}, "und-Bugi": {"value" : "bug-Bugi-ID"}, "und-Hang": {"value" : "ko-Hang-KR"}, "qu": {"value" : "qu-Latn-PE"}, "brx": {"value" : "brx-Deva-IN"}, "und-Samr": {"value" : "smp-Samr-IL"}, "brz": {"value" : "brz-Latn-ZZ"}, "stk": {"value" : "stk-Latn-ZZ"}, "und-Hano": {"value" : "hnn-Hano-PH"}, "kde": {"value" : "kde-Latn-TZ"}, "kdh": {"value" : "kdh-Arab-TG"}, "stq": {"value" : "stq-Latn-DE"}, "kdl": {"value" : "kdl-Latn-ZZ"}, "bsj": {"value" : "bsj-Latn-ZZ"}, "und-Hanb": {"value" : "zh-Hanb-TW"}, "kdt": {"value" : "kdt-Thai-TH"}, "rm": {"value" : "rm-Latn-CH"}, "rn": {"value" : "rn-Latn-BI"}, "ro": {"value" : "ro-Latn-RO"}, "sua": {"value" : "sua-Latn-ZZ"}, "und-Deva-BT": {"value" : "ne-Deva-BT"}, "bsq": {"value" : "bsq-Bass-LR"}, "bst": {"value" : "bst-Ethi-ZZ"}, "sue": {"value" : "sue-Latn-ZZ"}, "bss": {"value" : "bss-Latn-CM"}, "ru": {"value" : "ru-Cyrl-RU"}, "und-Buhd": {"value" : "bku-Buhd-PH"}, "rw": {"value" : "rw-Latn-RW"}, "kea": {"value" : "kea-Latn-CV"}, "suk": {"value" : "suk-Latn-TZ"}, "grc-Linb": {"value" : "grc-Linb-GR"}, "sa": {"value" : "sa-Deva-IN"}, "sc": {"value" : "sc-Latn-IT"}, "sus": {"value" : "sus-Latn-GN"}, "sd": {"value" : "sd-Arab-PK"}, "sur": {"value" : "sur-Latn-ZZ"}, "se": {"value" : "se-Latn-NO"}, "sg": {"value" : "sg-Latn-CF"}, "ken": {"value" : "ken-Latn-CM"}, "si": {"value" : "si-Sinh-LK"}, "und-Hant": {"value" : "zh-Hant-TW"}, "und-Hans": {"value" : "zh-Hans-CN"}, "sk": {"value" : "sk-Latn-SK"}, "sl": {"value" : "sl-Latn-SI"}, "sm": {"value" : "sm-Latn-WS"}, "sn": {"value" : "sn-Latn-ZW"}, "bto": {"value" : "bto-Latn-PH"}, "so": {"value" : "so-Latn-SO"}, "sq": {"value" : "sq-Latn-AL"}, "sr": {"value" : "sr-Cyrl-RS"}, "ss": {"value" : "ss-Latn-ZA"}, "kez": {"value" : "kez-Latn-ZZ"}, "st": {"value" : "st-Latn-ZA"} , "su": {"value" : "su-Latn-ID"}, "btt": {"value" : "btt-Latn-ZZ"}, "sv": {"value" : "sv-Latn-SE"}, "sw": {"value" : "sw-Latn-TZ"}, "btv": {"value" : "btv-Deva-PK"}, "ong": {"value" : "ong-Latn-ZZ"}, "ta": {"value" : "ta-Taml-IN"}, "onn": {"value" : "onn-Latn-ZZ"}, "bua": {"value" : "bua-Cyrl-RU"}, "bud": {"value" : "bud-Latn-ZZ"}, "buc": {"value" : "buc-Latn-YT"}, "te": {"value" : "te-Telu-IN"}, "tg": {"value" : "tg-Cyrl-TJ"}, "th": {"value" : "th-Thai-TH"}, "und-Gong": {"value" : "wsg-Gong-IN"}, "bug": {"value" : "bug-Latn-ID"}, "kfo": {"value" : "kfo-Latn-CI"}, "ons": {"value" : "ons-Latn-ZZ"}, "ti": {"value" : "ti-Ethi-ET"}, "kfr": {"value" : "kfr-Deva-IN"}, "tk": {"value" : "tk-Latn-TM"}, "tl": {"value" : "tl-Latn-PH"}, "und-Lisu": {"value" : "lis-Lisu-CN"}, "buk": {"value" : "buk-Latn-ZZ"}, "tn": {"value" : "tn-Latn-ZA"}, "bum": {"value" : "bum-Latn-CM"}, "to": {"value" : "to-Latn-TO"}, "buo": {"value" : "buo-Latn-ZZ"}, "swc": {"value" : "swc-Latn-CD"}, "tr": {"value" : "tr-Latn-TR"}, "und-Gonm": {"value" : "esg-Gonm-IN"}, "kfy": {"value" : "kfy-Deva-IN"}, "swb": {"value" : "swb-Arab-YT"}, "ts": {"value" : "ts-Latn-ZA"}, "tt": {"value" : "tt-Cyrl-RU"}, "bus": {"value" : "bus-Latn-ZZ"}, "swg": {"value" : "swg-Latn-DE"}, "buu": {"value" : "buu-Latn-ZZ"}, "ty": {"value" : "ty-Latn-PF"}, "kge": {"value" : "kge-Latn-ID"}, "kgf": {"value" : "kgf-Latn-ZZ"}, "swp": {"value" : "swp-Latn-ZZ"}, "bvb": {"value" : "bvb-Latn-GQ"}, "ug": {"value" : "ug-Arab-CN"}, "swv": {"value" : "swv-Deva-IN"}, "kgp": {"value" : "kgp-Latn-BR"} , "uk": {"value" : "uk-Cyrl-UA"}, "ur": {"value" : "ur-Arab-PK"}, "kk-IR": {"value" : "kk-Arab-IR"}, "khb": {"value" : "khb-Talu-CN"}, "kha": {"value" : "kha-Latn-IN"}, "uz": {"value" : "uz-Latn-UZ"}, "sxn": {"value" : "sxn-Latn-ID"}, "xav": {"value" : "xav-Latn-BR"}, "opm": {"value" : "opm-Latn-ZZ"}, "bwd": {"value" : "bwd-Latn-ZZ"}, "und-Mlym": {"value" : "ml-Mlym-IN"}, "ve": {"value" : "ve-Latn-ZA"}, "khn": {"value" : "khn-Deva-IN"}, "sxw": {"value" : "sxw-Latn-ZZ"}, "vi": {"value" : "vi-Latn-VN"}, "khq": {"value" : "khq-Latn-ML"}, "kht": {"value" : "kht-Mymr-IN"}, "khs": {"value" : "khs-Latn-ZZ"}, "vo": {"value" : "vo-Latn-001"}, "khw": {"value" : "khw-Arab-PK"}, "bwr": {"value" : "bwr-Latn-ZZ"}, "khz": {"value" : "khz-Latn-ZZ"}, "und-ZW": {"value" : "sn-Latn-ZW"}, "xbi": {"value" : "xbi-Latn-ZZ"}, "gaa": {"value" : "gaa-Latn-GH"}, "syl": {"value" : "syl-Beng-BD"}, "wa": {"value" : "wa-Latn-BE"}, "gag": {"value" : "gag-Latn-MD"}, "gaf": {"value" : "gaf-Latn-ZZ"}, "kij": {"value" : "kij-Latn-ZZ"}, "syr": {"value" : "syr-Syrc-IQ"}, "und-YE": {"value" : "ar-Arab-YE"}, "gah": {"value" : "gah-Latn-ZZ"}, "gaj": {"value" : "gaj-Latn-ZZ"}, "gam": {"value" : "gam-Latn-ZZ"}, "bxh": {"value" : "bxh-Latn-ZZ"}, "gan": {"value" : "gan-Hans-CN"}, "kiu": {"value" : "kiu-Latn-TR"}, "kiw": {"value" : "kiw-Latn-ZZ"}, "wo": {"value" : "wo-Latn-SN"}, "gaw": {"value" : "gaw-Latn-ZZ"}, "und-Sarb": {"value" : "xsa-Sarb-YE"}, "gay": {"value" : "gay-Latn-ID"}, "und-YT": {"value" : "fr-Latn-YT"}, "kjd": {"value" : "kjd-Latn-ZZ"} , "szl": {"value" : "szl-Latn-PL"}, "xco": {"value" : "xco-Chrs-UZ"}, "xcr": {"value" : "xcr-Cari-TR"}, "gba": {"value" : "gba-Latn-ZZ"}, "und-Mult": {"value" : "skr-Mult-PK"}, "kjg": {"value" : "kjg-Laoo-LA"}, "gbf": {"value" : "gbf-Latn-ZZ"}, "oro": {"value" : "oro-Latn-ZZ"}, "und-Hatr": {"value" : "mis-Hatr-IQ"}, "bye": {"value" : "bye-Latn-ZZ"}, "xh": {"value" : "xh-Latn-ZA"}, "gbm": {"value" : "gbm-Deva-IN"}, "oru": {"value" : "oru-Arab-ZZ"}, "kjs": {"value" : "kjs-Latn-ZZ"}, "byn": {"value" : "byn-Ethi-ER"} , "und-XK": {"value" : "sq-Latn-XK"}, "yue-CN": {"value" : "yue-Hans-CN"}, "und-Lepc": {"value" : "lep-Lepc-IN"}, "byr": {"value" : "byr-Latn-ZZ"}, "kjy": {"value" : "kjy-Latn-ZZ"}, "osa": {"value" : "osa-Osge-US"}, "bys": {"value" : "bys-Latn-ZZ"}, "byv": {"value" : "byv-Latn-CM"}, "gbz": {"value" : "gbz-Arab-IR"}, "gby": {"value" : "gby-Latn-ZZ"}, "byx": {"value" : "byx-Latn-ZZ"}, "kkc": {"value" : "kkc-Latn-ZZ"}, "und-VU": {"value" : "bi-Latn-VU"}, "bza": {"value" : "bza-Latn-ZZ"}, "und-Goth": {"value" : "got-Goth-UA"}, "kkj": {"value" : "kkj-Latn-CM"}, "bze": {"value" : "bze-Latn-ML"}, "und-Avst": {"value" : "ae-Avst-IR"}, "bzf": {"value" : "bzf-Latn-ZZ"}, "yi": {"value" : "yi-Hebr-001"}, "bzh": {"value" : "bzh-Latn-ZZ"}, "und-WF": {"value" : "fr-Latn-WF"}, "yo": {"value" : "yo-Latn-NG"}, "gcr": {"value" : "gcr-Latn-GF"}, "ota": {"value" : "ota-Arab-ZZ"}, "und-WS": {"value" : "sm-Latn-WS"}, "bzw": {"value" : "bzw-Latn-ZZ"}, "und-UZ": {"value" : "uz-Latn-UZ"}, "und-UY": {"value" : "es-Latn-UY"}, "otk": {"value" : "otk-Orkh-MN"}, "xes": {"value" : "xes-Latn-ZZ"}, "za": {"value" : "za-Latn-CN"}, "gde": {"value" : "gde-Latn-ZZ"}, "kln": {"value" : "kln-Latn-KE"}, "und-VA": {"value" : "it-Latn-VA"}, "zh": {"value" : "zh-Hans-CN"}, "gdn": {"value" : "gdn-Latn-ZZ"}, "klq": {"value" : "klq-Latn-ZZ"}, "und-Saur": {"value" : "saz-Saur-IN"}, "klt": {"value" : "klt-Latn-ZZ"}, "und-VE": {"value" : "es-Latn-VE"}, "gdr": {"value" : "gdr-Latn-ZZ"}, "klx": {"value" : "klx-Latn-ZZ"}, "und-VN": {"value" : "vi-Latn-VN"} , "kk-MN": {"value" : "kk-Arab-MN"}, "zu": {"value" : "zu-Latn-ZA"}, "und-Armn": {"value" : "hy-Armn-AM"}, "kmb": {"value" : "kmb-Latn-AO"}, "und-TR": {"value" : "tr-Latn-TR"}, "geb": {"value" : "geb-Latn-ZZ"}, "und-TW": {"value" : "zh-Hant-TW"}, "kmh": {"value" : "kmh-Latn-ZZ"}, "und-TV": {"value" : "tvl-Latn-TV"}, "und-TZ": {"value" : "sw-Latn-TZ"}, "kmo": {"value" : "kmo-Latn-ZZ"}, "gej": {"value" : "gej-Latn-ZZ"}, "und-UA": {"value" : "uk-Cyrl-UA"}, "gel": {"value" : "gel-Latn-ZZ"}, "kms": {"value" : "kms-Latn-ZZ"}, "kmu": {"value" : "kmu-Latn-ZZ"}, "kmw": {"value" : "kmw-Latn-ZZ"}, "und-Tibt": {"value" : "bo-Tibt-CN"}, "und-UG": {"value" : "sw-Latn-UG"}, "und-Armi": {"value" : "arc-Armi-IR"}, "gez": {"value" : "gez-Ethi-ET"}, "und-ST": {"value" : "pt-Latn-ST"}, "knf": {"value" : "knf-Latn-GW"}, "und-SR": {"value" : "nl-Latn-SR"}, "und-SV": {"value" : "es-Latn-SV"}, "und-SY": {"value" : "ar-Arab-SY"}, "knp": {"value" : "knp-Latn-ZZ"}, "gfk": {"value" : "gfk-Latn-ZZ"}, "und-TD": {"value" : "fr-Latn-TD"} , "und-TH": {"value" : "th-Thai-TH"}, "und-TG": {"value" : "fr-Latn-TG"}, "und-TF": {"value" : "fr-Latn-TF"}, "und-TM": {"value" : "tk-Latn-TM"}, "und-TL": {"value" : "pt-Latn-TL"}, "und-TK": {"value" : "tkl-Latn-TK"}, "und-TJ": {"value" : "tg-Cyrl-TJ"}, "und-TO": {"value" : "to-Latn-TO"}, "und-TN": {"value" : "ar-Arab-TN"}, "und-RS": {"value" : "sr-Cyrl-RS"}, "koi": {"value" : "koi-Cyrl-RU"}, "und-RW": {"value" : "rw-Latn-RW"}, "kok": {"value" : "kok-Deva-IN"}, "und-RU": {"value" : "ru-Cyrl-RU"}, "kol": {"value" : "kol-Latn-ZZ"}, "kos": {"value" : "kos-Latn-FM"}, "ggn": {"value" : "ggn-Deva-NP"}, "und-SD": {"value" : "ar-Arab-SD"}, "und-SC": {"value" : "fr-Latn-SC"}, "und-SA": {"value" : "ar-Arab-SA"}, "koz": {"value" : "koz-Latn-ZZ"}, "und-SE": {"value" : "sv-Latn-SE"}, "und-SK": {"value" : "sk-Latn-SK"}, "und-SJ": {"value" : "nb-Latn-SJ"}, "und-SI": {"value" : "sl-Latn-SI"}, "taj": {"value" : "taj-Deva-NP"}, "und-SO": {"value" : "so-Latn-SO"}, "tal": {"value" : "tal-Latn-ZZ"}, "und-SN": {"value" : "fr-Latn-SN"} , "und-Osge": {"value" : "osa-Osge-US"}, "und-SM": {"value" : "it-Latn-SM"}, "kpf": {"value" : "kpf-Latn-ZZ"}, "tan": {"value" : "tan-Latn-ZZ"}, "kpe": {"value" : "kpe-Latn-LR"}, "und-QO": {"value" : "en-Latn-DG"}, "taq": {"value" : "taq-Latn-ZZ"}, "kpo": {"value" : "kpo-Latn-ZZ"}, "kpr": {"value" : "kpr-Latn-ZZ"}, "kpx": {"value" : "kpx-Latn-ZZ"}, "ghs": {"value" : "ghs-Latn-ZZ"}, "und-Lana": {"value" : "nod-Lana-TH"}, "tbc": {"value" : "tbc-Latn-ZZ"}, "und-RE": {"value" : "fr-Latn-RE"}, "tbd": {"value" : "tbd-Latn-ZZ"}, "tbg": {"value" : "tbg-Latn-ZZ"}, "tbf": {"value" : "tbf-Latn-ZZ"}, "und-RO": {"value" : "ro-Latn-RO"}, "kqb": {"value" : "kqb-Latn-ZZ"}, "tbo": {"value" : "tbo-Latn-ZZ"}, "kqf": {"value" : "kqf-Latn-ZZ"}, "und-PT": {"value" : "pt-Latn-PT"}, "und-PS": {"value" : "ar-Arab-PS"}, "cad": {"value" : "cad-Latn-US"}, "und-PR": {"value" : "es-Latn-PR"}, "tbw": {"value" : "tbw-Latn-PH"}, "und-PY": {"value" : "gn-Latn-PY"}, "gim": {"value" : "gim-Latn-ZZ"}, "und-PW": {"value" : "pau-Latn-PW"}, "gil": {"value" : "gil-Latn-KI"}, "kqs": {"value" : "kqs-Latn-ZZ"}, "tbz": {"value" : "tbz-Latn-ZZ"}, "und-Laoo": {"value" : "lo-Laoo-LA"}, "can": {"value" : "can-Latn-ZZ"}, "und-QA": {"value" : "ar-Arab-QA"}, "kqy": {"value" : "kqy-Ethi-ZZ"}, "ms-CC": {"value" : "ms-Arab-CC"}, "tci": {"value" : "tci-Latn-ZZ"}, "krc": {"value" : "krc-Cyrl-RU"}, "krj": {"value" : "krj-Latn-PH"}, "kri": {"value" : "kri-Latn-SL"}, "ozm": {"value" : "ozm-Latn-ZZ"}, "und-OM": {"value" : "ar-Arab-OM"}, "krl": {"value" : "krl-Latn-RU"} , "gjk": {"value" : "gjk-Arab-PK"}, "cbj": {"value" : "cbj-Latn-ZZ"}, "gjn": {"value" : "gjn-Latn-ZZ"}, "tcy": {"value" : "tcy-Knda-IN"}, "xla": {"value" : "xla-Latn-ZZ"}, "krs": {"value" : "krs-Latn-ZZ"}, "xlc": {"value" : "xlc-Lyci-TR"}, "kru": {"value" : "kru-Deva-IN"}, "und-PA": {"value" : "es-Latn-PA"}, "xld": {"value" : "xld-Lydi-TR"}, "gju": {"value" : "gju-Arab-PK"}, "und-PE": {"value" : "es-Latn-PE"}, "tdd": {"value" : "tdd-Tale-CN"}, "tdg": {"value" : "tdg-Deva-NP"}, "tdh": {"value" : "tdh-Deva-NP"} , "und-PH": {"value" : "fil-Latn-PH"}, "und-PG": {"value" : "tpi-Latn-PG"}, "ksb": {"value" : "ksb-Latn-TZ"}, "und-PF": {"value" : "fr-Latn-PF"}, "und-PM": {"value" : "fr-Latn-PM"}, "ksd": {"value" : "ksd-Latn-ZZ"}, "und-PL": {"value" : "pl-Latn-PL"}, "und-PK": {"value" : "ur-Arab-PK"}, "ksf": {"value" : "ksf-Latn-CM"}}; }, otciu_CLDRHelper_getErasMap$$create = () => { return {"root": [{"value" : "BCE"}, {"value" : "CE"}], "en": [{"value" : "BC"}, {"value" : "AD"}]}; }, otciu_CLDRHelper_getAmPmMap$$create = () => { return {"root": [{"value" : "AM"}, {"value" : "PM"}], "en": [{"value" : "AM"}, {"value" : "PM"}]}; }, otciu_CLDRHelper_getMonthMap$$create = () => { return {"root": [{"value" : "M01"}, {"value" : "M02"}, {"value" : "M03"}, {"value" : "M04"}, {"value" : "M05"}, {"value" : "M06"}, {"value" : "M07"}, {"value" : "M08"}, {"value" : "M09"}, {"value" : "M10"}, {"value" : "M11"}, {"value" : "M12"}], "en": [{"value" : "January"}, {"value" : "February"}, {"value" : "March"}, {"value" : "April"}, {"value" : "May"}, {"value" : "June"}, {"value" : "July"}, {"value" : "August"}, {"value" : "September"}, {"value" : "October"}, {"value" : "November"}, {"value" : "December"} ]}; }, otciu_CLDRHelper_getShortMonthMap$$create = () => { return {"root": [{"value" : "M01"}, {"value" : "M02"}, {"value" : "M03"}, {"value" : "M04"}, {"value" : "M05"}, {"value" : "M06"}, {"value" : "M07"}, {"value" : "M08"}, {"value" : "M09"}, {"value" : "M10"}, {"value" : "M11"}, {"value" : "M12"}], "en": [{"value" : "Jan"}, {"value" : "Feb"}, {"value" : "Mar"}, {"value" : "Apr"}, {"value" : "May"}, {"value" : "Jun"}, {"value" : "Jul"}, {"value" : "Aug"}, {"value" : "Sep"}, {"value" : "Oct"}, {"value" : "Nov"}, {"value" : "Dec"}]}; }, otciu_CLDRHelper_getWeekdayMap$$create = () => { return {"root": [{"value" : "Sun"}, {"value" : "Mon"}, {"value" : "Tue"}, {"value" : "Wed"}, {"value" : "Thu"}, {"value" : "Fri"}, {"value" : "Sat"}], "en": [{"value" : "Sunday"}, {"value" : "Monday"}, {"value" : "Tuesday"}, {"value" : "Wednesday"}, {"value" : "Thursday"}, {"value" : "Friday"}, {"value" : "Saturday"}]}; }, otciu_CLDRHelper_getShortWeekdayMap$$create = () => { return {"root": [{"value" : "Sun"}, {"value" : "Mon"}, {"value" : "Tue"}, {"value" : "Wed"}, {"value" : "Thu"}, {"value" : "Fri"}, {"value" : "Sat"}], "en": [{"value" : "Sun"}, {"value" : "Mon"}, {"value" : "Tue"}, {"value" : "Wed"}, {"value" : "Thu"}, {"value" : "Fri"}, {"value" : "Sat"}]}; }, otciu_CLDRHelper_getTimeZoneLocalizationMap$$create = () => { return {"root": {"timeZones" : {"Asia": {"Gaza": {"value" : "Gaza"}, "Makassar": {"value" : "Makassar"}, "Ulaanbaatar": {"value" : "Ulaanbaatar"}, "Vladivostok": {"value" : "Vladivostok"}, "Tashkent": {"value" : "Tashkent"}, "Beirut": {"value" : "Beirut"}, "Qyzylorda": {"value" : "Qyzylorda"}, "Hong_Kong": {"value" : "Hong Kong"}, "Phnom_Penh": {"value" : "Phnom Penh"}, "Kabul": {"value" : "Kabul"}, "Riyadh": {"value" : "Riyadh"}, "Ashgabat": {"value" : "Ashgabat"}, "Chita": {"value" : "Chita"}, "Aqtau": {"value" : "Aqtau"}, "Tokyo": {"value" : "Tokyo"}, "Baku": {"value" : "Baku"}, "Aqtobe": {"value" : "Aqtobe"}, "Novosibirsk": {"value" : "Novosibirsk"}, "Kamchatka": {"value" : "Kamchatka"}, "Nicosia": {"value" : "Nicosia"}, "Pontianak": {"value" : "Pontianak"}, "Qostanay": {"value" : "Qostanay"}, "Barnaul": {"value" : "Barnaul"}, "Jerusalem": {"value" : "Jerusalem"}, "Kuala_Lumpur": {"value" : "Kuala Lumpur"}, "Novokuznetsk": {"value" : "Novokuznetsk"}, "Bahrain": {"value" : "Bahrain"}, "Kuching": {"value" : "Kuching"}, "Bangkok": {"value" : "Bangkok"}, "Srednekolymsk": {"value" : "Srednekolymsk"}, "Karachi": {"value" : "Karachi"}, "Aden": {"value" : "Aden"}, "Irkutsk": {"value" : "Irkutsk"}, "Hovd": {"value" : "Hovd"}, "Katmandu": {"value" : "Kathmandu"}, "Baghdad": {"value" : "Baghdad"}, "Samarkand": {"value" : "Samarkand"}, "Thimphu": {"value" : "Thimphu"}, "Dhaka": {"value" : "Dhaka"}, "Yerevan": {"value" : "Yerevan"}, "Muscat": {"value" : "Muscat"}, "Saigon": {"value" : "Ho Chi Minh"}, "Dili": {"value" : "Dili"}, "Singapore": {"value" : "Singapore"}, "Rangoon": {"value" : "Yangon"}, "Damascus": {"value" : "Damascus"}, "Taipei": {"value" : "Taipei"}, "Amman": {"value" : "Amman"}, "Choibalsan": {"value" : "Choibalsan"}, "Macau": {"value" : "Macao"}, "Jayapura": {"value" : "Jayapura"}, "Manila": {"value" : "Manila"}, "Oral": {"value" : "Oral"}, "Dubai": {"value" : "Dubai"}, "Yakutsk": {"value" : "Yakutsk"}, "Seoul": {"value" : "Seoul"}, "Hebron": {"value" : "Hebron"}, "Qatar": {"value" : "Qatar"}, "Bishkek": {"value" : "Bishkek"}, "Tomsk": {"value" : "Tomsk"}, "Colombo": {"value" : "Colombo"}, "Khandyga": {"value" : "Khandyga"}, "Yekaterinburg": {"value" : "Yekaterinburg"}, "Dushanbe": {"value" : "Dushanbe"}, "Famagusta": {"value" : "Famagusta"}, "Kuwait": {"value" : "Kuwait"}, "Magadan": {"value" : "Magadan"}, "Pyongyang": {"value" : "Pyongyang"}, "Tehran": {"value" : "Tehran"}, "Sakhalin": {"value" : "Sakhalin"}, "Calcutta": {"value" : "Kolkata"}, "Urumqi": {"value" : "Urumqi"}, "Shanghai": {"value" : "Shanghai"} , "Atyrau": {"value" : "Atyrau"}, "Almaty": {"value" : "Almaty"}, "Tbilisi": {"value" : "Tbilisi"}, "Anadyr": {"value" : "Anadyr"}, "Brunei": {"value" : "Brunei"}, "Krasnoyarsk": {"value" : "Krasnoyarsk"}, "Vientiane": {"value" : "Vientiane"}, "Omsk": {"value" : "Omsk"}, "Jakarta": {"value" : "Jakarta"}, "Ust-Nera": {"value" : "Ust-Nera"}}, "Pacific": {"Easter": {"value" : "Easter"}, "Fiji": {"value" : "Fiji"}, "Port_Moresby": {"value" : "Port Moresby"}, "Kiritimati": {"value" : "Kiritimati"}, "Kosrae": {"value" : "Kosrae"}, "Kwajalein": {"value" : "Kwajalein"}, "Auckland": {"value" : "Auckland"}, "Efate": {"value" : "Efate"}, "Johnston": {"value" : "Johnston"}, "Niue": {"value" : "Niue"}, "Majuro": {"value" : "Majuro"}, "Truk": {"value" : "Chuuk"}, "Ponape": {"value" : "Pohnpei"}, "Guadalcanal": {"value" : "Guadalcanal"}, "Guam": {"value" : "Guam"}, "Chatham": {"value" : "Chatham"}, "Midway": {"value" : "Midway"}, "Tahiti": {"value" : "Tahiti"}, "Pago_Pago": {"value" : "Pago Pago"}, "Galapagos": {"value" : "Galapagos"}, "Funafuti": {"value" : "Funafuti"}, "Marquesas": {"value" : "Marquesas"}, "Rarotonga": {"value" : "Rarotonga"}, "Tarawa": {"value" : "Tarawa"}, "Saipan": {"value" : "Saipan"}, "Gambier": {"value" : "Gambier"}, "Tongatapu": {"value" : "Tongatapu"}, "Wallis": {"value" : "Wallis"}, "Fakaofo": {"value" : "Fakaofo"}, "Wake": {"value" : "Wake"}, "Enderbury": {"value" : "Enderbury"}, "Pitcairn": {"value" : "Pitcairn"}, "Apia": {"value" : "Apia"}, "Noumea": {"value" : "Noumea"}, "Palau": {"value" : "Palau"}, "Nauru": {"value" : "Nauru"}, "Bougainville": {"value" : "Bougainville"}, "Norfolk": {"value" : "Norfolk"}}, "Etc": {"Unknown": {"value" : "Unknown"}}, "Europe": {"Belgrade": {"value" : "Belgrade"}, "Saratov": {"value" : "Saratov"}, "Gibraltar": {"value" : "Gibraltar"}, "Bucharest": {"value" : "Bucharest"}, "Dublin": {"value" : "Dublin"}, "Zaporozhye": {"value" : "Zaporozhye"}, "Kiev": {"value" : "Kiev"}, "Zurich": {"value" : "Zurich"}, "Copenhagen": {"value" : "Copenhagen"}, "Rome": {"value" : "Rome"}, "Zagreb": {"value" : "Zagreb"}, "Monaco": {"value" : "Monaco"}, "Luxembourg": {"value" : "Luxembourg"}, "Jersey": {"value" : "Jersey"}, "Istanbul": {"value" : "Istanbul"}, "Ulyanovsk": {"value" : "Ulyanovsk"}, "Samara": {"value" : "Samara"}, "Sarajevo": {"value" : "Sarajevo"}, "Chisinau": {"value" : "Chisinau"}, "Vatican": {"value" : "Vatican"}, "Brussels": {"value" : "Brussels"}, "Oslo": {"value" : "Oslo"}, "Warsaw": {"value" : "Warsaw"}, "Berlin": {"value" : "Berlin"}, "Lisbon": {"value" : "Lisbon"} , "Athens": {"value" : "Athens"}, "Podgorica": {"value" : "Podgorica"}, "San_Marino": {"value" : "San Marino"}, "Simferopol": {"value" : "Simferopol"}, "Bratislava": {"value" : "Bratislava"}, "Stockholm": {"value" : "Stockholm"}, "Prague": {"value" : "Prague"}, "Uzhgorod": {"value" : "Uzhgorod"}, "Astrakhan": {"value" : "Astrakhan"}, "Budapest": {"value" : "Budapest"}, "Madrid": {"value" : "Madrid"}, "Vaduz": {"value" : "Vaduz"}, "London": {"value" : "London"}, "Vilnius": {"value" : "Vilnius"}, "Isle_of_Man": {"value" : "Isle of Man"}, "Sofia": {"value" : "Sofia"}, "Kirov": {"value" : "Kirov"}, "Tallinn": {"value" : "Tallinn"}, "Moscow": {"value" : "Moscow"}, "Malta": {"value" : "Malta"}, "Busingen": {"value" : "Busingen"}, "Amsterdam": {"value" : "Amsterdam"}, "Andorra": {"value" : "Andorra"}, "Riga": {"value" : "Riga"}, "Vienna": {"value" : "Vienna"}, "Helsinki": {"value" : "Helsinki"}, "Minsk": {"value" : "Minsk"}, "Kaliningrad": {"value" : "Kaliningrad"}, "Ljubljana": {"value" : "Ljubljana"}, "Mariehamn": {"value" : "Mariehamn"}, "Skopje": {"value" : "Skopje"}, "Tirane": {"value" : "Tirane"}, "Guernsey": {"value" : "Guernsey"}, "Volgograd": {"value" : "Volgograd"}, "Paris": {"value" : "Paris"}}, "America": {"Belem": {"value" : "Belem"}, "Guayaquil": {"value" : "Guayaquil"}, "Costa_Rica": {"value" : "Costa Rica"}, "Hermosillo": {"value" : "Hermosillo"}, "Punta_Arenas": {"value" : "Punta Arenas"}, "Iqaluit": {"value" : "Iqaluit"}, "Godthab": {"value" : "Nuuk"}, "Jujuy": {"value" : "Jujuy"}, "El_Salvador": {"value" : "El Salvador"}, "Monterrey": {"value" : "Monterrey"}, "Bahia": {"value" : "Bahia"}, "Sao_Paulo": {"value" : "Sao Paulo"}, "Grenada": {"value" : "Grenada"}, "Grand_Turk": {"value" : "Grand Turk"}, "Montserrat": {"value" : "Montserrat"}, "Guadeloupe": {"value" : "Guadeloupe"}, "Panama": {"value" : "Panama"}, "Guatemala": {"value" : "Guatemala"}, "Guyana": {"value" : "Guyana"}, "Swift_Current": {"value" : "Swift Current"}, "Puerto_Rico": {"value" : "Puerto Rico"}, "Moncton": {"value" : "Moncton"}, "Danmarkshavn": {"value" : "Danmarkshavn"}, "Nome": {"value" : "Nome"}, "Porto_Velho": {"value" : "Porto Velho"}, "Cuiaba": {"value" : "Cuiaba"}, "Pangnirtung": {"value" : "Pangnirtung"}, "Kralendijk": {"value" : "Kralendijk"}, "Belize": {"value" : "Belize"}, "Anguilla": {"value" : "Anguilla"}, "Santiago": {"value" : "Santiago"}, "Boise": {"value" : "Boise"}, "Creston": {"value" : "Creston"}, "Miquelon": {"value" : "Miquelon"}, "Jamaica": {"value" : "Jamaica"}, "Buenos_Aires": {"value" : "Buenos Aires"}, "Rankin_Inlet": {"value" : "Rankin Inlet"}, "Toronto": {"value" : "Toronto"}, "Eirunepe": {"value" : "Eirunepe"}, "Dawson": {"value" : "Dawson"}, "Nassau": {"value" : "Nassau"}, "Vancouver": {"value" : "Vancouver"}, "Noronha": {"value" : "Noronha"}, "Regina": {"value" : "Regina"}, "St_Vincent": {"value" : "St. Vincent"}, "Scoresbysund": {"value" : "Ittoqqortoormiit"}, "Louisville": {"value" : "Louisville"}, "Aruba": {"value" : "Aruba"}, "Thule": {"value" : "Thule"}, "Rio_Branco": {"value" : "Rio Branco"}, "Los_Angeles": {"value" : "Los Angeles"}, "St_Thomas": {"value" : "St. Thomas"}, "Cordoba": {"value" : "Cordoba"}, "Cancun": {"value" : "Cancun"}, "Coral_Harbour": {"value" : "Atikokan"}, "Maceio": {"value" : "Maceio"}, "Sitka": {"value" : "Sitka"}, "Denver": {"value" : "Denver"}, "Cayman": {"value" : "Cayman"}, "Nipigon": {"value" : "Nipigon"}, "Thunder_Bay": {"value" : "Thunder Bay"}, "Havana": {"value" : "Havana"}, "Campo_Grande": {"value" : "Campo Grande"}, "Cambridge_Bay": {"value" : "Cambridge Bay"}, "Fortaleza": {"value" : "Fortaleza"}, "Managua": {"value" : "Managua"}, "Menominee": {"value" : "Menominee"}, "Halifax": {"value" : "Halifax"}, "Ojinaga": {"value" : "Ojinaga"}, "Glace_Bay": {"value" : "Glace Bay"}, "Lower_Princes": {"value" : "Lower Prince’s Quarter"}, "Mendoza": {"value" : "Mendoza"}, "Yakutat": {"value" : "Yakutat"}, "Detroit": {"value" : "Detroit"}, "Merida": {"value" : "Merida"}, "Bahia_Banderas": {"value" : "Bahia Banderas"}, "Matamoros": {"value" : "Matamoros"}, "St_Barthelemy": {"value" : "St. Barthelemy"} , "Boa_Vista": {"value" : "Boa Vista"}, "Metlakatla": {"value" : "Metlakatla"}, "Tortola": {"value" : "Tortola"}, "Inuvik": {"value" : "Inuvik"}, "Port_of_Spain": {"value" : "Port of Spain"}, "New_York": {"value" : "New York"}, "Paramaribo": {"value" : "Paramaribo"}, "Manaus": {"value" : "Manaus"}, "Resolute": {"value" : "Resolute"}, "Curacao": {"value" : "Curacao"}, "Bogota": {"value" : "Bogota"}, "Adak": {"value" : "Adak"}, "Caracas": {"value" : "Caracas"}, "Mazatlan": {"value" : "Mazatlan"}, "St_Kitts": {"value" : "St. Kitts"}, "Mexico_City": {"value" : "Mexico City"}, "Edmonton": {"value" : "Edmonton"}, "Araguaina": {"value" : "Araguaina"}, "Santo_Domingo": {"value" : "Santo Domingo"}, "Indianapolis": {"value" : "Indianapolis"}, "Whitehorse": {"value" : "Whitehorse"}, "Yellowknife": {"value" : "Yellowknife"}, "Asuncion": {"value" : "Asuncion"}, "Santarem": {"value" : "Santarem"}, "Antigua": {"value" : "Antigua"}, "Winnipeg": {"value" : "Winnipeg"}, "Recife": {"value" : "Recife"}, "Lima": {"value" : "Lima"} , "Martinique": {"value" : "Martinique"}, "Phoenix": {"value" : "Phoenix"}, "Goose_Bay": {"value" : "Goose Bay"}, "St_Johns": {"value" : "St. John’s"}, "Montevideo": {"value" : "Montevideo"}, "St_Lucia": {"value" : "St. Lucia"}, "Chicago": {"value" : "Chicago"}, "Chihuahua": {"value" : "Chihuahua"}, "La_Paz": {"value" : "La Paz"}, "Blanc-Sablon": {"value" : "Blanc-Sablon"}, "Catamarca": {"value" : "Catamarca"}, "Tijuana": {"value" : "Tijuana"}, "Barbados": {"value" : "Barbados"}, "Anchorage": {"value" : "Anchorage"}, "Port-au-Prince": {"value" : "Port-au-Prince"}, "Rainy_River": {"value" : "Rainy River"}, "Cayenne": {"value" : "Cayenne"}, "Tegucigalpa": {"value" : "Tegucigalpa"}, "Juneau": {"value" : "Juneau"}, "Marigot": {"value" : "Marigot"}, "Dawson_Creek": {"value" : "Dawson Creek"}, "Dominica": {"value" : "Dominica"}, "Fort_Nelson": {"value" : "Fort Nelson"}}, "Africa": {"Tunis": {"value" : "Tunis"}, "Maputo": {"value" : "Maputo"}, "Casablanca": {"value" : "Casablanca"}, "Johannesburg": {"value" : "Johannesburg"}, "Addis_Ababa": {"value" : "Addis Ababa"}, "Lagos": {"value" : "Lagos"}, "Accra": {"value" : "Accra"}, "Nairobi": {"value" : "Nairobi"}, "Brazzaville": {"value" : "Brazzaville"}, "Lubumbashi": {"value" : "Lubumbashi"}, "Banjul": {"value" : "Banjul"}, "Porto-Novo": {"value" : "Porto-Novo"}, "Lusaka": {"value" : "Lusaka"}, "Kigali": {"value" : "Kigali"}, "Ouagadougou": {"value" : "Ouagadougou"}, "Freetown": {"value" : "Freetown"}, "Ndjamena": {"value" : "Ndjamena"}, "Conakry": {"value" : "Conakry"} , "Niamey": {"value" : "Niamey"}, "Maseru": {"value" : "Maseru"}, "El_Aaiun": {"value" : "El Aaiun"}, "Sao_Tome": {"value" : "Sao Tome"}, "Ceuta": {"value" : "Ceuta"}, "Khartoum": {"value" : "Khartoum"}, "Algiers": {"value" : "Algiers"}, "Bangui": {"value" : "Bangui"}, "Bujumbura": {"value" : "Bujumbura"}, "Gaborone": {"value" : "Gaborone"}, "Juba": {"value" : "Juba"}, "Dar_es_Salaam": {"value" : "Dar es Salaam"}, "Windhoek": {"value" : "Windhoek"}, "Harare": {"value" : "Harare"}, "Tripoli": {"value" : "Tripoli"} , "Libreville": {"value" : "Libreville"}, "Malabo": {"value" : "Malabo"}, "Abidjan": {"value" : "Abidjan"}, "Luanda": {"value" : "Luanda"}, "Lome": {"value" : "Lome"}, "Nouakchott": {"value" : "Nouakchott"}, "Bissau": {"value" : "Bissau"}, "Kinshasa": {"value" : "Kinshasa"}, "Asmera": {"value" : "Asmara"}, "Mogadishu": {"value" : "Mogadishu"}, "Djibouti": {"value" : "Djibouti"}, "Douala": {"value" : "Douala"}, "Kampala": {"value" : "Kampala"}, "Dakar": {"value" : "Dakar"}, "Cairo": {"value" : "Cairo"}, "Blantyre": {"value" : "Blantyre"}, "Monrovia": {"value" : "Monrovia"}, "Mbabane": {"value" : "Mbabane"}, "Bamako": {"value" : "Bamako"}}, "Indian": {"Reunion": {"value" : "Reunion"}, "Maldives": {"value" : "Maldives"}, "Christmas": {"value" : "Christmas"}, "Antananarivo": {"value" : "Antananarivo"}, "Chagos": {"value" : "Chagos"}, "Mahe": {"value" : "Mahe"}, "Mayotte": {"value" : "Mayotte"}, "Kerguelen": {"value" : "Kerguelen"}, "Mauritius": {"value" : "Mauritius"}, "Cocos": {"value" : "Cocos"}, "Comoro": {"value" : "Comoro"}}, "Antarctica": {"Macquarie": {"value" : "Macquarie"}, "Palmer": {"value" : "Palmer"}, "Casey": {"value" : "Casey"}, "Troll": {"value" : "Troll"}, "Vostok": {"value" : "Vostok"}, "DumontDUrville": {"value" : "Dumont d’Urville"}, "Syowa": {"value" : "Syowa"}, "Mawson": {"value" : "Mawson"}, "McMurdo": {"value" : "McMurdo"}, "Davis": {"value" : "Davis"}, "Rothera": {"value" : "Rothera"}}, "Australia": {"Broken_Hill": {"value" : "Broken Hill"}, "Darwin": {"value" : "Darwin"}, "Brisbane": {"value" : "Brisbane"}, "Currie": {"value" : "Currie"}, "Lord_Howe": {"value" : "Lord Howe"}, "Lindeman": {"value" : "Lindeman"}, "Adelaide": {"value" : "Adelaide"}, "Perth": {"value" : "Perth"}, "Eucla": {"value" : "Eucla"}, "Melbourne": {"value" : "Melbourne"}, "Sydney": {"value" : "Sydney"}, "Hobart": {"value" : "Hobart"}}, "Arctic": {"Longyearbyen": {"value" : "Longyearbyen"}}, "Atlantic": {"St_Helena": {"value" : "St. Helena"}, "Reykjavik": {"value" : "Reykjavik"}, "Stanley": {"value" : "Stanley"}, "Madeira": {"value" : "Madeira"}, "Canary": {"value" : "Canary"}, "Faeroe": {"value" : "Faroe"}, "Bermuda": {"value" : "Bermuda"}, "Azores": {"value" : "Azores"}, "South_Georgia": {"value" : "South Georgia"}, "Cape_Verde": {"value" : "Cape Verde"}}}}, "en": {"timeZones" : {"Asia": {"Gaza": {"value" : "Gaza"}, "Makassar": {"value" : "Makassar"}, "Ulaanbaatar": {"value" : "Ulaanbaatar"}, "Vladivostok": {"value" : "Vladivostok"}, "Tashkent": {"value" : "Tashkent"}, "Beirut": {"value" : "Beirut"}, "Qyzylorda": {"value" : "Qyzylorda"}, "Hong_Kong": {"value" : "Hong Kong"}, "Phnom_Penh": {"value" : "Phnom Penh"}, "Kabul": {"value" : "Kabul"}, "Riyadh": {"value" : "Riyadh"}, "Ashgabat": {"value" : "Ashgabat"}, "Chita": {"value" : "Chita"}, "Aqtau": {"value" : "Aqtau"}, "Tokyo": {"value" : "Tokyo"}, "Baku": {"value" : "Baku"}, "Aqtobe": {"value" : "Aqtobe"}, "Novosibirsk": {"value" : "Novosibirsk"}, "Kamchatka": {"value" : "Kamchatka"}, "Nicosia": {"value" : "Nicosia"}, "Pontianak": {"value" : "Pontianak"}, "Qostanay": {"value" : "Kostanay"}, "Barnaul": {"value" : "Barnaul"}, "Jerusalem": {"value" : "Jerusalem"}, "Kuala_Lumpur": {"value" : "Kuala Lumpur"}, "Novokuznetsk": {"value" : "Novokuznetsk"}, "Bahrain": {"value" : "Bahrain"}, "Kuching": {"value" : "Kuching"}, "Bangkok": {"value" : "Bangkok"}, "Srednekolymsk": {"value" : "Srednekolymsk"}, "Karachi": {"value" : "Karachi"}, "Aden": {"value" : "Aden"}, "Irkutsk": {"value" : "Irkutsk"}, "Hovd": {"value" : "Hovd"}, "Katmandu": {"value" : "Kathmandu"}, "Baghdad": {"value" : "Baghdad"} , "Samarkand": {"value" : "Samarkand"}, "Thimphu": {"value" : "Thimphu"}, "Dhaka": {"value" : "Dhaka"}, "Yerevan": {"value" : "Yerevan"}, "Muscat": {"value" : "Muscat"}, "Saigon": {"value" : "Ho Chi Minh City"}, "Dili": {"value" : "Dili"}, "Singapore": {"value" : "Singapore"}, "Rangoon": {"value" : "Yangon"}, "Damascus": {"value" : "Damascus"}, "Taipei": {"value" : "Taipei"}, "Amman": {"value" : "Amman"}, "Choibalsan": {"value" : "Choibalsan"}, "Macau": {"value" : "Macao"}, "Jayapura": {"value" : "Jayapura"} , "Manila": {"value" : "Manila"}, "Oral": {"value" : "Oral"}, "Dubai": {"value" : "Dubai"}, "Yakutsk": {"value" : "Yakutsk"}, "Seoul": {"value" : "Seoul"}, "Hebron": {"value" : "Hebron"}, "Qatar": {"value" : "Qatar"}, "Bishkek": {"value" : "Bishkek"}, "Tomsk": {"value" : "Tomsk"}, "Colombo": {"value" : "Colombo"}, "Khandyga": {"value" : "Khandyga"}, "Yekaterinburg": {"value" : "Yekaterinburg"}, "Dushanbe": {"value" : "Dushanbe"}, "Famagusta": {"value" : "Famagusta"}, "Kuwait": {"value" : "Kuwait"}, "Magadan": {"value" : "Magadan"}, "Pyongyang": {"value" : "Pyongyang"}, "Tehran": {"value" : "Tehran"}, "Sakhalin": {"value" : "Sakhalin"}, "Calcutta": {"value" : "Kolkata"}, "Urumqi": {"value" : "Urumqi"}, "Shanghai": {"value" : "Shanghai"}, "Atyrau": {"value" : "Atyrau"}, "Almaty": {"value" : "Almaty"}, "Tbilisi": {"value" : "Tbilisi"}, "Anadyr": {"value" : "Anadyr"}, "Brunei": {"value" : "Brunei"}, "Krasnoyarsk": {"value" : "Krasnoyarsk"}, "Vientiane": {"value" : "Vientiane"}, "Omsk": {"value" : "Omsk"}, "Jakarta": {"value" : "Jakarta"}, "Ust-Nera": {"value" : "Ust-Nera"}}, "Pacific": {"Easter": {"value" : "Easter"}, "Fiji": {"value" : "Fiji"}, "Port_Moresby": {"value" : "Port Moresby"}, "Kiritimati": {"value" : "Kiritimati"}, "Kosrae": {"value" : "Kosrae"}, "Kwajalein": {"value" : "Kwajalein"}, "Auckland": {"value" : "Auckland"}, "Efate": {"value" : "Efate"}, "Johnston": {"value" : "Johnston"}, "Niue": {"value" : "Niue"}, "Majuro": {"value" : "Majuro"}, "Truk": {"value" : "Chuuk"}, "Ponape": {"value" : "Pohnpei"} , "Guadalcanal": {"value" : "Guadalcanal"}, "Guam": {"value" : "Guam"}, "Chatham": {"value" : "Chatham"}, "Midway": {"value" : "Midway"}, "Tahiti": {"value" : "Tahiti"}, "Pago_Pago": {"value" : "Pago Pago"}, "Galapagos": {"value" : "Galapagos"}, "Funafuti": {"value" : "Funafuti"}, "Marquesas": {"value" : "Marquesas"}, "Rarotonga": {"value" : "Rarotonga"}, "Tarawa": {"value" : "Tarawa"}, "Saipan": {"value" : "Saipan"}, "Gambier": {"value" : "Gambier"}, "Tongatapu": {"value" : "Tongatapu"}, "Wallis": {"value" : "Wallis"}, "Fakaofo": {"value" : "Fakaofo"}, "Wake": {"value" : "Wake"}, "Enderbury": {"value" : "Enderbury"}, "Pitcairn": {"value" : "Pitcairn"}, "Apia": {"value" : "Apia"}, "Noumea": {"value" : "Noumea"}, "Palau": {"value" : "Palau"}, "Nauru": {"value" : "Nauru"}, "Bougainville": {"value" : "Bougainville"}, "Norfolk": {"value" : "Norfolk"}}, "Etc": {"Unknown": {"value" : "Unknown City"}}, "Europe": {"Belgrade": {"value" : "Belgrade"}, "Saratov": {"value" : "Saratov"}, "Gibraltar": {"value" : "Gibraltar"} , "Bucharest": {"value" : "Bucharest"}, "Dublin": {"value" : "Dublin"}, "Zaporozhye": {"value" : "Zaporozhye"}, "Kiev": {"value" : "Kiev"}, "Zurich": {"value" : "Zurich"}, "Copenhagen": {"value" : "Copenhagen"}, "Rome": {"value" : "Rome"}, "Zagreb": {"value" : "Zagreb"}, "Monaco": {"value" : "Monaco"}, "Luxembourg": {"value" : "Luxembourg"}, "Jersey": {"value" : "Jersey"}, "Istanbul": {"value" : "Istanbul"}, "Ulyanovsk": {"value" : "Ulyanovsk"}, "Samara": {"value" : "Samara"}, "Sarajevo": {"value" : "Sarajevo"} , "Chisinau": {"value" : "Chisinau"}, "Vatican": {"value" : "Vatican"}, "Brussels": {"value" : "Brussels"}, "Oslo": {"value" : "Oslo"}, "Warsaw": {"value" : "Warsaw"}, "Berlin": {"value" : "Berlin"}, "Lisbon": {"value" : "Lisbon"}, "Athens": {"value" : "Athens"}, "Podgorica": {"value" : "Podgorica"}, "San_Marino": {"value" : "San Marino"}, "Simferopol": {"value" : "Simferopol"}, "Bratislava": {"value" : "Bratislava"}, "Stockholm": {"value" : "Stockholm"}, "Prague": {"value" : "Prague"}, "Uzhgorod": {"value" : "Uzhhorod"}, "Astrakhan": {"value" : "Astrakhan"}, "Budapest": {"value" : "Budapest"}, "Madrid": {"value" : "Madrid"}, "Vaduz": {"value" : "Vaduz"}, "London": {"value" : "London"}, "Vilnius": {"value" : "Vilnius"}, "Isle_of_Man": {"value" : "Isle of Man"}, "Sofia": {"value" : "Sofia"}, "Kirov": {"value" : "Kirov"}, "Tallinn": {"value" : "Tallinn"}, "Moscow": {"value" : "Moscow"}, "Malta": {"value" : "Malta"}, "Busingen": {"value" : "Busingen"}, "Amsterdam": {"value" : "Amsterdam"}, "Andorra": {"value" : "Andorra"}, "Riga": {"value" : "Riga"}, "Vienna": {"value" : "Vienna"}, "Helsinki": {"value" : "Helsinki"}, "Minsk": {"value" : "Minsk"}, "Kaliningrad": {"value" : "Kaliningrad"}, "Ljubljana": {"value" : "Ljubljana"}, "Mariehamn": {"value" : "Mariehamn"}, "Skopje": {"value" : "Skopje"}, "Tirane": {"value" : "Tirane"}, "Guernsey": {"value" : "Guernsey"}, "Volgograd": {"value" : "Volgograd"}, "Paris": {"value" : "Paris"}}, "America": {"Belem": {"value" : "Belem"}, "Guayaquil": {"value" : "Guayaquil"}, "Costa_Rica": {"value" : "Costa Rica"}, "Hermosillo": {"value" : "Hermosillo"}, "Punta_Arenas": {"value" : "Punta Arenas"}, "Iqaluit": {"value" : "Iqaluit"}, "Godthab": {"value" : "Nuuk"}, "Jujuy": {"value" : "Jujuy"}, "El_Salvador": {"value" : "El Salvador"}, "Monterrey": {"value" : "Monterrey"}, "Bahia": {"value" : "Bahia"}, "Sao_Paulo": {"value" : "Sao Paulo"}, "Grenada": {"value" : "Grenada"}, "Grand_Turk": {"value" : "Grand Turk"}, "Montserrat": {"value" : "Montserrat"}, "Guadeloupe": {"value" : "Guadeloupe"}, "Panama": {"value" : "Panama"}, "Guatemala": {"value" : "Guatemala"}, "Guyana": {"value" : "Guyana"}, "Swift_Current": {"value" : "Swift Current"}, "Puerto_Rico": {"value" : "Puerto Rico"}, "Moncton": {"value" : "Moncton"}, "Danmarkshavn": {"value" : "Danmarkshavn"}, "Nome": {"value" : "Nome"}, "Porto_Velho": {"value" : "Porto Velho"}, "Cuiaba": {"value" : "Cuiaba"}, "Pangnirtung": {"value" : "Pangnirtung"}, "Kralendijk": {"value" : "Kralendijk"}, "Belize": {"value" : "Belize"}, "Anguilla": {"value" : "Anguilla"} , "Santiago": {"value" : "Santiago"}, "Boise": {"value" : "Boise"}, "Creston": {"value" : "Creston"}, "Miquelon": {"value" : "Miquelon"}, "Jamaica": {"value" : "Jamaica"}, "Buenos_Aires": {"value" : "Buenos Aires"}, "Rankin_Inlet": {"value" : "Rankin Inlet"}, "Toronto": {"value" : "Toronto"}, "Eirunepe": {"value" : "Eirunepe"}, "Dawson": {"value" : "Dawson"}, "Nassau": {"value" : "Nassau"}, "Vancouver": {"value" : "Vancouver"}, "Noronha": {"value" : "Noronha"}, "Regina": {"value" : "Regina"}, "St_Vincent": {"value" : "St. Vincent"}, "Scoresbysund": {"value" : "Ittoqqortoormiit"}, "Louisville": {"value" : "Louisville"}, "Aruba": {"value" : "Aruba"}, "Thule": {"value" : "Thule"}, "Rio_Branco": {"value" : "Rio Branco"}, "Los_Angeles": {"value" : "Los Angeles"}, "St_Thomas": {"value" : "St. Thomas"}, "Cordoba": {"value" : "Cordoba"}, "Cancun": {"value" : "Cancun"}, "Coral_Harbour": {"value" : "Atikokan"}, "Maceio": {"value" : "Maceio"}, "Sitka": {"value" : "Sitka"}, "Denver": {"value" : "Denver"}, "Cayman": {"value" : "Cayman"}, "Nipigon": {"value" : "Nipigon"}, "Thunder_Bay": {"value" : "Thunder Bay"}, "Havana": {"value" : "Havana"}, "Campo_Grande": {"value" : "Campo Grande"}, "Cambridge_Bay": {"value" : "Cambridge Bay"}, "Fortaleza": {"value" : "Fortaleza"}, "Managua": {"value" : "Managua"}, "Menominee": {"value" : "Menominee"}, "Halifax": {"value" : "Halifax"}, "Ojinaga": {"value" : "Ojinaga"}, "Glace_Bay": {"value" : "Glace Bay"}, "Lower_Princes": {"value" : "Lower Prince’s Quarter"}, "Mendoza": {"value" : "Mendoza"} , "Yakutat": {"value" : "Yakutat"}, "Detroit": {"value" : "Detroit"}, "Merida": {"value" : "Merida"}, "Bahia_Banderas": {"value" : "Bahia Banderas"}, "Matamoros": {"value" : "Matamoros"}, "St_Barthelemy": {"value" : "St. Barthélemy"}, "Boa_Vista": {"value" : "Boa Vista"}, "Metlakatla": {"value" : "Metlakatla"}, "Tortola": {"value" : "Tortola"}, "Inuvik": {"value" : "Inuvik"}, "Port_of_Spain": {"value" : "Port of Spain"}, "New_York": {"value" : "New York"}, "Paramaribo": {"value" : "Paramaribo"}, "Manaus": {"value" : "Manaus"}, "Resolute": {"value" : "Resolute"}, "Curacao": {"value" : "Curaçao"}, "Bogota": {"value" : "Bogota"}, "Adak": {"value" : "Adak"}, "Caracas": {"value" : "Caracas"}, "Mazatlan": {"value" : "Mazatlan"}, "St_Kitts": {"value" : "St. Kitts"}, "Mexico_City": {"value" : "Mexico City"}, "Edmonton": {"value" : "Edmonton"}, "Araguaina": {"value" : "Araguaina"}, "Santo_Domingo": {"value" : "Santo Domingo"}, "Indianapolis": {"value" : "Indianapolis"}, "Whitehorse": {"value" : "Whitehorse"}, "Yellowknife": {"value" : "Yellowknife"}, "Asuncion": {"value" : "Asunción"}, "Santarem": {"value" : "Santarem"}, "Antigua": {"value" : "Antigua"}, "Winnipeg": {"value" : "Winnipeg"}, "Recife": {"value" : "Recife"}, "Lima": {"value" : "Lima"}, "Martinique": {"value" : "Martinique"}, "Phoenix": {"value" : "Phoenix"}, "Goose_Bay": {"value" : "Goose Bay"}, "St_Johns": {"value" : "St. John’s"}, "Montevideo": {"value" : "Montevideo"}, "St_Lucia": {"value" : "St. Lucia"}, "Chicago": {"value" : "Chicago"}, "Chihuahua": {"value" : "Chihuahua"}, "La_Paz": {"value" : "La Paz"}, "Blanc-Sablon": {"value" : "Blanc-Sablon"}, "Catamarca": {"value" : "Catamarca"}, "Tijuana": {"value" : "Tijuana"}, "Barbados": {"value" : "Barbados"}, "Anchorage": {"value" : "Anchorage"}, "Port-au-Prince": {"value" : "Port-au-Prince"}, "Rainy_River": {"value" : "Rainy River"}, "Cayenne": {"value" : "Cayenne"}, "Tegucigalpa": {"value" : "Tegucigalpa"}, "Juneau": {"value" : "Juneau"}, "Marigot": {"value" : "Marigot"}, "Dawson_Creek": {"value" : "Dawson Creek"} , "Dominica": {"value" : "Dominica"}, "Fort_Nelson": {"value" : "Fort Nelson"}}, "Africa": {"Tunis": {"value" : "Tunis"}, "Maputo": {"value" : "Maputo"}, "Casablanca": {"value" : "Casablanca"}, "Johannesburg": {"value" : "Johannesburg"}, "Addis_Ababa": {"value" : "Addis Ababa"}, "Lagos": {"value" : "Lagos"}, "Accra": {"value" : "Accra"}, "Nairobi": {"value" : "Nairobi"}, "Brazzaville": {"value" : "Brazzaville"}, "Lubumbashi": {"value" : "Lubumbashi"}, "Banjul": {"value" : "Banjul"}, "Porto-Novo": {"value" : "Porto-Novo"}, "Lusaka": {"value" : "Lusaka"}, "Kigali": {"value" : "Kigali"}, "Ouagadougou": {"value" : "Ouagadougou"}, "Freetown": {"value" : "Freetown"}, "Ndjamena": {"value" : "Ndjamena"}, "Conakry": {"value" : "Conakry"}, "Niamey": {"value" : "Niamey"}, "Maseru": {"value" : "Maseru"}, "El_Aaiun": {"value" : "El Aaiun"}, "Sao_Tome": {"value" : "São Tomé"}, "Ceuta": {"value" : "Ceuta"}, "Khartoum": {"value" : "Khartoum"}, "Algiers": {"value" : "Algiers"}, "Bangui": {"value" : "Bangui"}, "Bujumbura": {"value" : "Bujumbura"}, "Gaborone": {"value" : "Gaborone"}, "Juba": {"value" : "Juba"}, "Dar_es_Salaam": {"value" : "Dar es Salaam"}, "Windhoek": {"value" : "Windhoek"}, "Harare": {"value" : "Harare"}, "Tripoli": {"value" : "Tripoli"}, "Libreville": {"value" : "Libreville"}, "Malabo": {"value" : "Malabo"}, "Abidjan": {"value" : "Abidjan"}, "Luanda": {"value" : "Luanda"}, "Lome": {"value" : "Lome"}, "Nouakchott": {"value" : "Nouakchott"}, "Bissau": {"value" : "Bissau"}, "Kinshasa": {"value" : "Kinshasa"} , "Asmera": {"value" : "Asmara"}, "Mogadishu": {"value" : "Mogadishu"}, "Djibouti": {"value" : "Djibouti"}, "Douala": {"value" : "Douala"}, "Kampala": {"value" : "Kampala"}, "Dakar": {"value" : "Dakar"}, "Cairo": {"value" : "Cairo"}, "Blantyre": {"value" : "Blantyre"}, "Monrovia": {"value" : "Monrovia"}, "Mbabane": {"value" : "Mbabane"}, "Bamako": {"value" : "Bamako"}}, "Indian": {"Reunion": {"value" : "Réunion"}, "Maldives": {"value" : "Maldives"}, "Christmas": {"value" : "Christmas"}, "Antananarivo": {"value" : "Antananarivo"}, "Chagos": {"value" : "Chagos"}, "Mahe": {"value" : "Mahe"}, "Mayotte": {"value" : "Mayotte"}, "Kerguelen": {"value" : "Kerguelen"}, "Mauritius": {"value" : "Mauritius"}, "Cocos": {"value" : "Cocos"}, "Comoro": {"value" : "Comoro"}}, "Antarctica": {"Macquarie": {"value" : "Macquarie"}, "Palmer": {"value" : "Palmer"}, "Casey": {"value" : "Casey"}, "Troll": {"value" : "Troll"}, "Vostok": {"value" : "Vostok"}, "DumontDUrville": {"value" : "Dumont d’Urville"}, "Syowa": {"value" : "Syowa"}, "Mawson": {"value" : "Mawson"}, "McMurdo": {"value" : "McMurdo"}, "Davis": {"value" : "Davis"}, "Rothera": {"value" : "Rothera"}}, "Australia": {"Broken_Hill": {"value" : "Broken Hill"}, "Darwin": {"value" : "Darwin"}, "Brisbane": {"value" : "Brisbane"}, "Currie": {"value" : "Currie"}, "Lord_Howe": {"value" : "Lord Howe"}, "Lindeman": {"value" : "Lindeman"}, "Adelaide": {"value" : "Adelaide"}, "Perth": {"value" : "Perth"}, "Eucla": {"value" : "Eucla"}, "Melbourne": {"value" : "Melbourne"}, "Sydney": {"value" : "Sydney"}, "Hobart": {"value" : "Hobart"}}, "Arctic": {"Longyearbyen": {"value" : "Longyearbyen"}}, "Atlantic": {"St_Helena": {"value" : "St. Helena"}, "Reykjavik": {"value" : "Reykjavik"}, "Stanley": {"value" : "Stanley"}, "Madeira": {"value" : "Madeira"}, "Canary": {"value" : "Canary"}, "Faeroe": {"value" : "Faroe"}, "Bermuda": {"value" : "Bermuda"}, "Azores": {"value" : "Azores"}, "South_Georgia": {"value" : "South Georgia"}, "Cape_Verde": {"value" : "Cape Verde"}}}}}; }, otciu_CLDRHelper_getDefaultLocale$$create = () => { return {"value" : "en_GB"}; }, otciu_CLDRHelper_getMinimalDaysInFirstWeek$$create = () => { return {"DE": {"value" : 4}, "PT": {"value" : 4}, "DK": {"value" : 4}, "LT": {"value" : 4}, "LU": {"value" : 4}, "HU": {"value" : 4}, "MC": {"value" : 4}, "UM": {"value" : 1}, "IE": {"value" : 4}, "US": {"value" : 1}, "EE": {"value" : 4}, "AD": {"value" : 4}, "IM": {"value" : 4}, "MQ": {"value" : 4}, "IS": {"value" : 4}, "IT": {"value" : 4}, "VA": {"value" : 4}, "AN": {"value" : 4}, "ES": {"value" : 4}, "001": {"value" : 1}, "AT": {"value" : 4}, "RE": {"value" : 4}, "VI": {"value" : 1}, "AX": {"value" : 4}, "JE": {"value" : 4}, "NL": {"value" : 4}, "NO": {"value" : 4}, "BE": {"value" : 4}, "FI": {"value" : 4}, "RU": {"value" : 4}, "FJ": {"value" : 4}, "BG": {"value" : 4}, "FO": {"value" : 4}, "FR": {"value" : 4}, "SE": {"value" : 4}, "SJ": {"value" : 4}, "SK": {"value" : 4}, "SM": {"value" : 4}, "GB": {"value" : 4}, "GF": {"value" : 4}, "GG": {"value" : 4}, "GI": {"value" : 4}, "CH": {"value" : 4}, "GP": {"value" : 4}, "GR": {"value" : 4}, "GU": {"value" : 1}, "CZ": {"value" : 4}, "PL": {"value" : 4}, "LI": {"value" : 4}}; }, otciu_CLDRHelper_getFirstDayOfWeek$$create = () => { return {"PR": {"value" : 1}, "HK": {"value" : 1}, "PT": {"value" : 1}, "HN": {"value" : 1}, "PY": {"value" : 1}, "HR": {"value" : 2}, "YE": {"value" : 1}, "HU": {"value" : 2}, "QA": {"value" : 7}, "ID": {"value" : 1}, "IE": {"value" : 2}, "AD": {"value" : 2}, "IL": {"value" : 1}, "AE": {"value" : 7}, "AF": {"value" : 7}, "IN": {"value" : 1}, "AG": {"value" : 1}, "ZA": {"value" : 1}, "AI": {"value" : 2}, "IQ": {"value" : 7}, "IR": {"value" : 7}, "IS": {"value" : 2}, "AL": {"value" : 2}, "IT": {"value" : 2} , "AM": {"value" : 2}, "AN": {"value" : 2}, "001": {"value" : 2}, "AR": {"value" : 2}, "AS": {"value" : 1}, "AT": {"value" : 2}, "RE": {"value" : 2}, "AU": {"value" : 1}, "AX": {"value" : 2}, "AZ": {"value" : 2}, "RO": {"value" : 2}, "ZW": {"value" : 1}, "BA": {"value" : 2}, "RS": {"value" : 2}, "BD": {"value" : 1}, "BE": {"value" : 2}, "JM": {"value" : 1}, "RU": {"value" : 2}, "BG": {"value" : 2}, "JO": {"value" : 7}, "BH": {"value" : 7}, "JP": {"value" : 1}, "BM": {"value" : 2}, "BN": {"value" : 2}, "SA": {"value" : 1}, "BR": {"value" : 1}, "BS": {"value" : 1}, "SD": {"value" : 7}, "BT": {"value" : 1}, "SE": {"value" : 2}, "SG": {"value" : 1}, "BW": {"value" : 1}, "SI": {"value" : 2}, "BY": {"value" : 2}, "BZ": {"value" : 1}, "SK": {"value" : 2}, "KE": {"value" : 1}, "SM": {"value" : 2}, "KG": {"value" : 2}, "KH": {"value" : 1}, "CA": {"value" : 1}, "SV": {"value" : 1}, "CH": {"value" : 2}, "SY": {"value" : 7}, "KR": {"value" : 1}, "CL": {"value" : 2}, "CM": {"value" : 2}, "CN": {"value" : 1}, "CO": {"value" : 1}, "KW": {"value" : 7}, "CR": {"value" : 2}, "KZ": {"value" : 2}, "TH": {"value" : 1}, "LA": {"value" : 1}, "CY": {"value" : 2}, "LB": {"value" : 2}, "TJ": {"value" : 2}, "CZ": {"value" : 2}, "TM": {"value" : 2}, "LI": {"value" : 2}, "TR": {"value" : 2}, "LK": {"value" : 2}, "TT": {"value" : 1}, "DE": {"value" : 2}, "TW": {"value" : 1}, "DJ": {"value" : 7}, "DK": {"value" : 2}, "LT": {"value" : 2}, "DM": {"value" : 1}, "LU": {"value" : 2}, "LV": {"value" : 2}, "DO": {"value" : 1}, "UA": {"value" : 2} , "LY": {"value" : 7}, "DZ": {"value" : 7}, "MC": {"value" : 2}, "MD": {"value" : 2}, "ME": {"value" : 2}, "UM": {"value" : 1}, "MH": {"value" : 1}, "EC": {"value" : 2}, "MK": {"value" : 2}, "US": {"value" : 1}, "EE": {"value" : 2}, "MM": {"value" : 1}, "MN": {"value" : 2}, "EG": {"value" : 7}, "MO": {"value" : 1}, "MQ": {"value" : 2}, "UY": {"value" : 2}, "UZ": {"value" : 2}, "MT": {"value" : 1}, "MV": {"value" : 6}, "MX": {"value" : 1}, "VA": {"value" : 2}, "MY": {"value" : 2}, "MZ": {"value" : 1}, "ES": {"value" : 2}, "ET": {"value" : 1}, "VE": {"value" : 1}, "GB-alt-variant": {"value" : 1}, "VI": {"value" : 1}, "VN": {"value" : 2}, "NI": {"value" : 1}, "NL": {"value" : 2}, "NO": {"value" : 2}, "NP": {"value" : 1}, "FI": {"value" : 2}, "FJ": {"value" : 2}, "FO": {"value" : 2}, "FR": {"value" : 2}, "NZ": {"value" : 2}, "GB": {"value" : 2}, "WS": {"value" : 1}, "GE": {"value" : 2}, "OM": {"value" : 7}, "GF": {"value" : 2}, "GP": {"value" : 2}, "GR": {"value" : 2}, "GT": {"value" : 1}, "GU": {"value" : 1} , "PA": {"value" : 1}, "XK": {"value" : 2}, "PE": {"value" : 1}, "PH": {"value" : 1}, "PK": {"value" : 1}, "PL": {"value" : 2}}; }, otciu_CLDRHelper_getDateFormatMap$$create = () => { return {"root": {"fullFormat" : "y MMMM d, EEEE", "mediumFormat" : "y MMM d", "longFormat" : "y MMMM d", "shortFormat" : "y-MM-dd"}, "en": {"fullFormat" : "EEEE, MMMM d, y", "mediumFormat" : "MMM d, y", "longFormat" : "MMMM d, y", "shortFormat" : "M/d/yy"}}; }, otciu_CLDRHelper_getNumberFormatMap$$create = () => { return {"root": {"value" : "#,##0.###"}, "en": {"value" : "#,##0.###"}}; }, otciu_CLDRHelper_getDecimalDataMap$$create = () => { return {"root": {"exponentSeparator" : "E", "minusSign" : 45, "perMille" : 8240, "decimalSeparator" : 46, "listSeparator" : 59, "naN" : "NaN", "infinity" : "∞", "groupingSeparator" : 44, "percent" : 37}, "en": {"exponentSeparator" : "E", "minusSign" : 45, "perMille" : 8240, "decimalSeparator" : 46, "listSeparator" : 59, "naN" : "NaN", "infinity" : "∞", "groupingSeparator" : 44, "percent" : 37}}; }, otciu_CLDRHelper_getCurrencyMap$$create = () => { return {"root": {"UGS": {"symbol" : "UGS", "name" : "UGS"}, "FJD": {"symbol" : "FJD", "name" : "FJD"}, "MXN": {"symbol" : "MX$", "name" : "MXN"}, "STD": {"symbol" : "STD", "name" : "STD"}, "BRR": {"symbol" : "BRR", "name" : "BRR"}, "LVL": {"symbol" : "LVL", "name" : "LVL"}, "SCR": {"symbol" : "SCR", "name" : "SCR"}, "CDF": {"symbol" : "CDF", "name" : "CDF"}, "MXP": {"symbol" : "MXP", "name" : "MXP"}, "ZAL": {"symbol" : "ZAL", "name" : "ZAL"}, "BBD": {"symbol" : "BBD", "name" : "BBD"}, "HNL": {"symbol" : "HNL", "name" : "HNL"}, "UGX": {"symbol" : "UGX", "name" : "UGX"}, "LVR": {"symbol" : "LVR", "name" : "LVR"}, "MXV": {"symbol" : "MXV", "name" : "MXV"}, "ZAR": {"symbol" : "ZAR", "name" : "ZAR"}, "BRZ": {"symbol" : "BRZ", "name" : "BRZ"}, "STN": {"symbol" : "STN", "name" : "STN"}, "CUC": {"symbol" : "CUC", "name" : "CUC"}, "BSD": {"symbol" : "BSD", "name" : "BSD"}, "SDD": {"symbol" : "SDD", "name" : "SDD"}, "SDG": {"symbol" : "SDG", "name" : "SDG"}, "ZRN": {"symbol" : "ZRN", "name" : "ZRN"}, "IQD": {"symbol" : "IQD", "name" : "IQD"}, "SDP": {"symbol" : "SDP", "name" : "SDP"}, "CUP": {"symbol" : "CUP", "name" : "CUP"}, "GMD": {"symbol" : "GMD", "name" : "GMD"}, "TWD": {"symbol" : "NT$", "name" : "TWD"}, "RSD": {"symbol" : "RSD", "name" : "RSD"}, "ZRZ": {"symbol" : "ZRZ", "name" : "ZRZ"}, "UYI": {"symbol" : "UYI", "name" : "UYI"}, "MYR": {"symbol" : "MYR", "name" : "MYR"}, "FKP": {"symbol" : "FKP", "name" : "FKP"}, "UYP": {"symbol" : "UYP", "name" : "UYP"}, "XOF": {"symbol" : "CFA", "name" : "XOF"}, "ARA": {"symbol" : "ARA", "name" : "ARA"}, "UYU": {"symbol" : "UYU", "name" : "UYU"}, "SUR": {"symbol" : "SUR", "name" : "SUR"}, "UYW": {"symbol" : "UYW", "name" : "UYW"}, "CVE": {"symbol" : "CVE", "name" : "CVE"}, "OMR": {"symbol" : "OMR", "name" : "OMR"}, "KES": {"symbol" : "KES", "name" : "KES"}, "SEK": {"symbol" : "SEK", "name" : "SEK"}, "MZE": {"symbol" : "MZE", "name" : "MZE"}, "ARL": {"symbol" : "ARL", "name" : "ARL"}, "ARM": {"symbol" : "ARM", "name" : "ARM"}, "BTN": {"symbol" : "BTN", "name" : "BTN"}, "GNF": {"symbol" : "GNF", "name" : "GNF"}, "ARP": {"symbol" : "ARP", "name" : "ARP"}, "MZN": {"symbol" : "MZN", "name" : "MZN"}, "MZM": {"symbol" : "MZM", "name" : "MZM"}, "SVC": {"symbol" : "SVC", "name" : "SVC"}, "ARS": {"symbol" : "ARS", "name" : "ARS"}, "QAR": {"symbol" : "QAR", "name" : "QAR"}, "IRR": {"symbol" : "IRR", "name" : "IRR"}, "NLG": {"symbol" : "NLG", "name" : "NLG"}, "GNS": {"symbol" : "GNS", "name" : "GNS"}, "XPD": {"symbol" : "XPD", "name" : "XPD"}, "THB": {"symbol" : "THB", "name" : "THB"}, "UZS": {"symbol" : "UZS", "name" : "UZS"}, "XPF": {"symbol" : "CFPF", "name" : "XPF"}, "BDT": {"symbol" : "BDT", "name" : "BDT"}, "LYD": {"symbol" : "LYD", "name" : "LYD"}, "BUK": {"symbol" : "BUK", "name" : "BUK"}, "KWD": {"symbol" : "KWD", "name" : "KWD"}, "XPT": {"symbol" : "XPT", "name" : "XPT"}, "RUB": {"symbol" : "RUB", "name" : "RUB"}, "ISK": {"symbol" : "ISK", "name" : "ISK"}, "BEC": {"symbol" : "BEC", "name" : "BEC"}, "ISJ": {"symbol" : "ISJ", "name" : "ISJ"}, "BEF": {"symbol" : "BEF", "name" : "BEF"}, "MKD": {"symbol" : "MKD", "name" : "MKD"}, "BEL": {"symbol" : "BEL", "name" : "BEL"}, "RUR": {"symbol" : "RUR", "name" : "RUR"}, "DZD": {"symbol" : "DZD", "name" : "DZD"}, "PAB": {"symbol" : "PAB", "name" : "PAB"}, "MKN": {"symbol" : "MKN", "name" : "MKN"}, "SGD": {"symbol" : "SGD", "name" : "SGD"}, "KGS": {"symbol" : "KGS", "name" : "KGS"}, "HRD": {"symbol" : "HRD", "name" : "HRD"}, "XAF": {"symbol" : "FCFA", "name" : "XAF"}, "XAG": {"symbol" : "XAG", "name" : "XAG"}, "ATS": {"symbol" : "ATS", "name" : "ATS"}, "CHF": {"symbol" : "CHF", "name" : "CHF"}, "HRK": {"symbol" : "HRK", "name" : "HRK"}, "ITL": {"symbol" : "ITL", "name" : "ITL"}, "CHE": {"symbol" : "CHE", "name" : "CHE"}, "DJF": {"symbol" : "DJF", "name" : "DJF"}, "MLF": {"symbol" : "MLF", "name" : "MLF"}, "XRE": {"symbol" : "XRE", "name" : "XRE"}, "TZS": {"symbol" : "TZS", "name" : "TZS"}, "ADP": {"symbol" : "ADP", "name" : "ADP"}, "VND": {"symbol" : "₫", "name" : "VND"}, "XAU": {"symbol" : "XAU", "name" : "XAU"}, "AUD": {"symbol" : "A$", "name" : "AUD"}, "CHW": {"symbol" : "CHW", "name" : "CHW"}, "KHR": {"symbol" : "KHR", "name" : "KHR"}, "IDR": {"symbol" : "IDR", "name" : "IDR"}, "XBA": {"symbol" : "XBA", "name" : "XBA"}, "KYD": {"symbol" : "KYD", "name" : "KYD"}, "VNN": {"symbol" : "VNN", "name" : "VNN"}, "XBC": {"symbol" : "XBC", "name" : "XBC"}, "YDD": {"symbol" : "YDD", "name" : "YDD"}, "XBB": {"symbol" : "XBB", "name" : "XBB"}, "BWP": {"symbol" : "BWP", "name" : "BWP"}, "GQE": {"symbol" : "GQE", "name" : "GQE"}, "SHP": {"symbol" : "SHP", "name" : "SHP"}, "CYP": {"symbol" : "CYP", "name" : "CYP"}, "XBD": {"symbol" : "XBD", "name" : "XBD"}, "TJS": {"symbol" : "TJS", "name" : "TJS"}, "TJR": {"symbol" : "TJR", "name" : "TJR"}, "AED": {"symbol" : "AED", "name" : "AED"}, "RWF": {"symbol" : "RWF", "name" : "RWF"}, "DKK": {"symbol" : "DKK", "name" : "DKK"}, "BGL": {"symbol" : "BGL", "name" : "BGL"}, "ZWD": {"symbol" : "ZWD", "name" : "ZWD"}, "BGN": {"symbol" : "BGN", "name" : "BGN"}, "BGM": {"symbol" : "BGM", "name" : "BGM"}, "YUD": {"symbol" : "YUD", "name" : "YUD"}, "MMK": {"symbol" : "MMK", "name" : "MMK"}, "BGO": {"symbol" : "BGO", "name" : "BGO"}, "NOK": {"symbol" : "NOK", "name" : "NOK"}, "SYP": {"symbol" : "SYP", "name" : "SYP"}, "ZWL": {"symbol" : "ZWL", "name" : "ZWL"}, "YUM": {"symbol" : "YUM", "name" : "YUM"}, "LKR": {"symbol" : "LKR", "name" : "LKR"}, "YUN": {"symbol" : "YUN", "name" : "YUN"}, "ZWR": {"symbol" : "ZWR", "name" : "ZWR"}, "CZK": {"symbol" : "CZK", "name" : "CZK"}, "IEP": {"symbol" : "IEP", "name" : "IEP"}, "YUR": {"symbol" : "YUR", "name" : "YUR"}, "GRD": {"symbol" : "GRD", "name" : "GRD"}, "XCD": {"symbol" : "EC$", "name" : "XCD"}, "HTG": {"symbol" : "HTG", "name" : "HTG"}, "XSU": {"symbol" : "XSU", "name" : "XSU"}, "AFA": {"symbol" : "AFA", "name" : "AFA"}, "BHD": {"symbol" : "BHD", "name" : "BHD"}, "SIT": {"symbol" : "SIT", "name" : "SIT"}, "PTE": {"symbol" : "PTE", "name" : "PTE"}, "KZT": {"symbol" : "KZT", "name" : "KZT"}, "SZL": {"symbol" : "SZL", "name" : "SZL"}, "YER": {"symbol" : "YER", "name" : "YER"}, "AFN": {"symbol" : "AFN", "name" : "AFN"}, "BYB": {"symbol" : "BYB", "name" : "BYB"}, "RHD": {"symbol" : "RHD", "name" : "RHD"}, "AWG": {"symbol" : "AWG", "name" : "AWG"}, "NPR": {"symbol" : "NPR", "name" : "NPR"}, "MNT": {"symbol" : "MNT", "name" : "MNT"}, "GBP": {"symbol" : "£", "name" : "GBP"}, "BYN": {"symbol" : "BYN", "name" : "BYN"}, "XTS": {"symbol" : "XTS", "name" : "XTS"}, "HUF": {"symbol" : "HUF", "name" : "HUF"}, "BYR": {"symbol" : "BYR", "name" : "BYR"}, "BIF": {"symbol" : "BIF", "name" : "BIF"}, "XUA": {"symbol" : "XUA", "name" : "XUA"}, "XDR": {"symbol" : "XDR", "name" : "XDR"}, "BZD": {"symbol" : "BZD", "name" : "BZD"}, "MOP": {"symbol" : "MOP", "name" : "MOP"}, "NAD": {"symbol" : "NAD", "name" : "NAD"}, "SKK": {"symbol" : "SKK", "name" : "SKK"}, "PEI": {"symbol" : "PEI", "name" : "PEI"}, "TMM": {"symbol" : "TMM", "name" : "TMM"}, "PEN": {"symbol" : "PEN", "name" : "PEN"}, "WST": {"symbol" : "WST", "name" : "WST"}, "TMT": {"symbol" : "TMT", "name" : "TMT"}, "FRF": {"symbol" : "FRF", "name" : "FRF"}, "CLF": {"symbol" : "CLF", "name" : "CLF"}, "CLE": {"symbol" : "CLE", "name" : "CLE"}, "PES": {"symbol" : "PES", "name" : "PES"}, "GTQ": {"symbol" : "GTQ", "name" : "GTQ"}, "CLP": {"symbol" : "CLP", "name" : "CLP"}, "XEU": {"symbol" : "XEU", "name" : "XEU"}, "TND": {"symbol" : "TND", "name" : "TND"}, "SLL": {"symbol" : "SLL", "name" : "SLL"}, "XFO": {"symbol" : "XFO", "name" : "XFO"}, "DOP": {"symbol" : "DOP", "name" : "DOP"}, "KMF": {"symbol" : "KMF", "name" : "KMF"}, "XFU": {"symbol" : "XFU", "name" : "XFU"}, "GEK": {"symbol" : "GEK", "name" : "GEK"}, "GEL": {"symbol" : "GEL", "name" : "GEL"}, "MAD": {"symbol" : "MAD", "name" : "MAD"}, "MAF": {"symbol" : "MAF", "name" : "MAF"}, "AZM": {"symbol" : "AZM", "name" : "AZM"}, "TOP": {"symbol" : "TOP", "name" : "TOP"}, "AZN": {"symbol" : "AZN", "name" : "AZN"}, "PGK": {"symbol" : "PGK", "name" : "PGK"}, "CNH": {"symbol" : "CNH", "name" : "CNH"}, "UAH": {"symbol" : "UAH", "name" : "UAH"}, "UAK": {"symbol" : "UAK", "name" : "UAK"}, "ERN": {"symbol" : "ERN", "name" : "ERN"}, "TPE": {"symbol" : "TPE", "name" : "TPE"}, "MRO": {"symbol" : "MRO", "name" : "MRO"}, "CNX": {"symbol" : "CNX", "name" : "CNX"}, "CNY": {"symbol" : "CN¥", "name" : "CNY"}, "MRU": {"symbol" : "MRU", "name" : "MRU"}, "ESA": {"symbol" : "ESA", "name" : "ESA"}, "GWE": {"symbol" : "GWE", "name" : "GWE"}, "ESB": {"symbol" : "ESB", "name" : "ESB"}, "BMD": {"symbol" : "BMD", "name" : "BMD"}, "PHP": {"symbol" : "PHP", "name" : "PHP"}, "XXX": {"symbol" : "¤", "name" : "XXX"}, "PYG": {"symbol" : "PYG", "name" : "PYG"}, "JMD": {"symbol" : "JMD", "name" : "JMD"}, "GWP": {"symbol" : "GWP", "name" : "GWP"}, "ESP": {"symbol" : "ESP", "name" : "ESP"}, "COP": {"symbol" : "COP", "name" : "COP"}, "USD": {"symbol" : "US$", "name" : "USD"}, "COU": {"symbol" : "COU", "name" : "COU"}, "MCF": {"symbol" : "MCF", "name" : "MCF"}, "USN": {"symbol" : "USN", "name" : "USN"}, "ETB": {"symbol" : "ETB", "name" : "ETB"}, "VEB": {"symbol" : "VEB", "name" : "VEB"}, "ECS": {"symbol" : "ECS", "name" : "ECS"}, "USS": {"symbol" : "USS", "name" : "USS"}, "SOS": {"symbol" : "SOS", "name" : "SOS"}, "VEF": {"symbol" : "VEF", "name" : "VEF"}, "VUV": {"symbol" : "VUV", "name" : "VUV"}, "LAK": {"symbol" : "LAK", "name" : "LAK"}, "BND": {"symbol" : "BND", "name" : "BND"}, "ECV": {"symbol" : "ECV", "name" : "ECV"}, "ZMK": {"symbol" : "ZMK", "name" : "ZMK"}, "LRD": {"symbol" : "LRD", "name" : "LRD"}, "ALK": {"symbol" : "ALK", "name" : "ALK"}, "ALL": {"symbol" : "ALL", "name" : "ALL"}, "GHC": {"symbol" : "GHC", "name" : "GHC"}, "MTL": {"symbol" : "MTL", "name" : "MTL"}, "VES": {"symbol" : "VES", "name" : "VES"}, "ZMW": {"symbol" : "ZMW", "name" : "ZMW"}, "MTP": {"symbol" : "MTP", "name" : "MTP"}, "ILP": {"symbol" : "ILP", "name" : "ILP"}, "MDC": {"symbol" : "MDC", "name" : "MDC"}, "ILR": {"symbol" : "ILR", "name" : "ILR"}, "TRL": {"symbol" : "TRL", "name" : "TRL"}, "ILS": {"symbol" : "₪", "name" : "ILS"}, "GHS": {"symbol" : "GHS", "name" : "GHS"}, "GYD": {"symbol" : "GYD", "name" : "GYD"}, "KPW": {"symbol" : "KPW", "name" : "KPW"}, "BOB": {"symbol" : "BOB", "name" : "BOB"}, "MDL": {"symbol" : "MDL", "name" : "MDL"}, "AMD": {"symbol" : "AMD", "name" : "AMD"}, "TRY": {"symbol" : "TRY", "name" : "TRY"}, "LBP": {"symbol" : "LBP", "name" : "LBP"}, "BOL": {"symbol" : "BOL", "name" : "BOL"}, "JOD": {"symbol" : "JOD", "name" : "JOD"}, "HKD": {"symbol" : "HK$", "name" : "HKD"}, "BOP": {"symbol" : "BOP", "name" : "BOP"}, "EUR": {"symbol" : "€", "name" : "EUR"}, "LSL": {"symbol" : "LSL", "name" : "LSL"}, "CAD": {"symbol" : "CA$", "name" : "CAD"}, "BOV": {"symbol" : "BOV", "name" : "BOV"}, "EEK": {"symbol" : "EEK", "name" : "EEK"}, "MUR": {"symbol" : "MUR", "name" : "MUR"}, "ROL": {"symbol" : "ROL", "name" : "ROL"}, "GIP": {"symbol" : "GIP", "name" : "GIP"}, "RON": {"symbol" : "RON", "name" : "RON"}, "NGN": {"symbol" : "NGN", "name" : "NGN"}, "CRC": {"symbol" : "CRC", "name" : "CRC"}, "PKR": {"symbol" : "PKR", "name" : "PKR"}, "ANG": {"symbol" : "ANG", "name" : "ANG"}, "KRH": {"symbol" : "KRH", "name" : "KRH"}, "SRD": {"symbol" : "SRD", "name" : "SRD"}, "LTL": {"symbol" : "LTL", "name" : "LTL"}, "SAR": {"symbol" : "SAR", "name" : "SAR"}, "TTD": {"symbol" : "TTD", "name" : "TTD"}, "MVP": {"symbol" : "MVP", "name" : "MVP"}, "MVR": {"symbol" : "MVR", "name" : "MVR"}, "KRO": {"symbol" : "KRO", "name" : "KRO"}, "SRG": {"symbol" : "SRG", "name" : "SRG"}, "DDM": {"symbol" : "DDM", "name" : "DDM"}, "INR": {"symbol" : "₹", "name" : "INR"}, "LTT": {"symbol" : "LTT", "name" : "LTT"}, "KRW": {"symbol" : "₩", "name" : "KRW"}, "JPY": {"symbol" : "JP¥", "name" : "JPY"}, "AOA": {"symbol" : "AOA", "name" : "AOA"}, "PLN": {"symbol" : "PLN", "name" : "PLN"}, "SBD": {"symbol" : "SBD", "name" : "SBD"}, "CSD": {"symbol" : "CSD", "name" : "CSD"}, "CSK": {"symbol" : "CSK", "name" : "CSK"}, "LUC": {"symbol" : "LUC", "name" : "LUC"}, "LUF": {"symbol" : "LUF", "name" : "LUF"}, "AOK": {"symbol" : "AOK", "name" : "AOK"}, "PLZ": {"symbol" : "PLZ", "name" : "PLZ"}, "AON": {"symbol" : "AON", "name" : "AON"}, "MWK": {"symbol" : "MWK", "name" : "MWK"}, "LUL": {"symbol" : "LUL", "name" : "LUL"}, "AOR": {"symbol" : "AOR", "name" : "AOR"}, "BAD": {"symbol" : "BAD", "name" : "BAD"}, "MGA": {"symbol" : "MGA", "name" : "MGA"}, "NIC": {"symbol" : "NIC", "name" : "NIC"}, "FIM": {"symbol" : "FIM", "name" : "FIM"}, "DEM": {"symbol" : "DEM", "name" : "DEM"}, "MGF": {"symbol" : "MGF", "name" : "MGF"}, "BAM": {"symbol" : "BAM", "name" : "BAM"}, "BAN": {"symbol" : "BAN", "name" : "BAN"}, "EGP": {"symbol" : "EGP", "name" : "EGP"}, "SSP": {"symbol" : "SSP", "name" : "SSP"}, "BRC": {"symbol" : "BRC", "name" : "BRC"}, "BRB": {"symbol" : "BRB", "name" : "BRB"}, "BRE": {"symbol" : "BRE", "name" : "BRE"}, "NIO": {"symbol" : "NIO", "name" : "NIO"}, "NZD": {"symbol" : "NZ$", "name" : "NZD"}, "BRL": {"symbol" : "R$", "name" : "BRL"}, "BRN": {"symbol" : "BRN", "name" : "BRN"}}, "en": {"UGS": {"symbol" : "UGS", "name" : "Ugandan Shilling (1966–1987)"}, "FJD": {"symbol" : "FJD", "name" : "Fijian Dollar"}, "MXN": {"symbol" : "MX$", "name" : "Mexican Peso"}, "STD": {"symbol" : "STD", "name" : "São Tomé & Príncipe Dobra (1977–2017)"}, "BRR": {"symbol" : "BRR", "name" : "Brazilian Cruzeiro (1993–1994)"}, "LVL": {"symbol" : "LVL", "name" : "Latvian Lats"}, "SCR": {"symbol" : "SCR", "name" : "Seychellois Rupee"}, "CDF": {"symbol" : "CDF", "name" : "Congolese Franc"}, "MXP": {"symbol" : "MXP", "name" : "Mexican Silver Peso (1861–1992)"}, "ZAL": {"symbol" : "ZAL", "name" : "South African Rand (financial)"}, "BBD": {"symbol" : "BBD", "name" : "Barbadian Dollar"}, "HNL": {"symbol" : "HNL", "name" : "Honduran Lempira"}, "UGX": {"symbol" : "UGX", "name" : "Ugandan Shilling"}, "LVR": {"symbol" : "LVR", "name" : "Latvian Ruble"}, "MXV": {"symbol" : "MXV", "name" : "Mexican Investment Unit"}, "ZAR": {"symbol" : "ZAR", "name" : "South African Rand"}, "BRZ": {"symbol" : "BRZ", "name" : "Brazilian Cruzeiro (1942–1967)"}, "STN": {"symbol" : "STN", "name" : "São Tomé & Príncipe Dobra"}, "CUC": {"symbol" : "CUC", "name" : "Cuban Convertible Peso"}, "BSD": {"symbol" : "BSD", "name" : "Bahamian Dollar"}, "SDD": {"symbol" : "SDD", "name" : "Sudanese Dinar (1992–2007)"}, "SDG": {"symbol" : "SDG", "name" : "Sudanese Pound"}, "ZRN": {"symbol" : "ZRN", "name" : "Zairean New Zaire (1993–1998)"}, "IQD": {"symbol" : "IQD", "name" : "Iraqi Dinar"}, "SDP": {"symbol" : "SDP", "name" : "Sudanese Pound (1957–1998)"}, "CUP": {"symbol" : "CUP", "name" : "Cuban Peso"}, "GMD": {"symbol" : "GMD", "name" : "Gambian Dalasi"}, "TWD": {"symbol" : "NT$", "name" : "New Taiwan Dollar"}, "RSD": {"symbol" : "RSD", "name" : "Serbian Dinar"}, "ZRZ": {"symbol" : "ZRZ", "name" : "Zairean Zaire (1971–1993)"}, "UYI": {"symbol" : "UYI", "name" : "Uruguayan Peso (Indexed Units)"}, "MYR": {"symbol" : "MYR", "name" : "Malaysian Ringgit"}, "FKP": {"symbol" : "FKP", "name" : "Falkland Islands Pound"}, "UYP": {"symbol" : "UYP", "name" : "Uruguayan Peso (1975–1993)"}, "XOF": {"symbol" : "CFA", "name" : "West African CFA Franc"}, "ARA": {"symbol" : "ARA", "name" : "Argentine Austral"}, "UYU": {"symbol" : "UYU", "name" : "Uruguayan Peso"}, "SUR": {"symbol" : "SUR", "name" : "Soviet Rouble"}, "UYW": {"symbol" : "UYW", "name" : "Uruguayan Nominal Wage Index Unit"}, "CVE": {"symbol" : "CVE", "name" : "Cape Verdean Escudo"}, "OMR": {"symbol" : "OMR", "name" : "Omani Rial"}, "KES": {"symbol" : "KES", "name" : "Kenyan Shilling"}, "SEK": {"symbol" : "SEK", "name" : "Swedish Krona"}, "MZE": {"symbol" : "MZE", "name" : "Mozambican Escudo"}, "ARL": {"symbol" : "ARL", "name" : "Argentine Peso Ley (1970–1983)"}, "ARM": {"symbol" : "ARM", "name" : "Argentine Peso (1881–1970)"}, "BTN": {"symbol" : "BTN", "name" : "Bhutanese Ngultrum"}, "GNF": {"symbol" : "GNF", "name" : "Guinean Franc"}, "ARP": {"symbol" : "ARP", "name" : "Argentine Peso (1983–1985)"}, "MZN": {"symbol" : "MZN", "name" : "Mozambican Metical"}, "MZM": {"symbol" : "MZM", "name" : "Mozambican Metical (1980–2006)"}, "SVC": {"symbol" : "SVC", "name" : "Salvadoran Colón"}, "ARS": {"symbol" : "ARS", "name" : "Argentine Peso"}, "QAR": {"symbol" : "QAR", "name" : "Qatari Rial"}, "IRR": {"symbol" : "IRR", "name" : "Iranian Rial"}, "NLG": {"symbol" : "NLG", "name" : "Dutch Guilder"}, "GNS": {"symbol" : "GNS", "name" : "Guinean Syli"}, "XPD": {"symbol" : "XPD", "name" : "Palladium"}, "THB": {"symbol" : "THB", "name" : "Thai Baht"}, "UZS": {"symbol" : "UZS", "name" : "Uzbekistani Som"}, "XPF": {"symbol" : "CFPF", "name" : "CFP Franc"}, "BDT": {"symbol" : "BDT", "name" : "Bangladeshi Taka"}, "LYD": {"symbol" : "LYD", "name" : "Libyan Dinar"}, "BUK": {"symbol" : "BUK", "name" : "Burmese Kyat"}, "KWD": {"symbol" : "KWD", "name" : "Kuwaiti Dinar"}, "XPT": {"symbol" : "XPT", "name" : "Platinum"}, "RUB": {"symbol" : "RUB", "name" : "Russian Ruble"}, "ISK": {"symbol" : "ISK", "name" : "Icelandic Króna"}, "BEC": {"symbol" : "BEC", "name" : "Belgian Franc (convertible)"}, "ISJ": {"symbol" : "ISJ", "name" : "Icelandic Króna (1918–1981)"}, "BEF": {"symbol" : "BEF", "name" : "Belgian Franc"}, "MKD": {"symbol" : "MKD", "name" : "Macedonian Denar"}, "BEL": {"symbol" : "BEL", "name" : "Belgian Franc (financial)"}, "RUR": {"symbol" : "RUR", "name" : "Russian Ruble (1991–1998)"}, "DZD": {"symbol" : "DZD", "name" : "Algerian Dinar"}, "PAB": {"symbol" : "PAB", "name" : "Panamanian Balboa"} , "MKN": {"symbol" : "MKN", "name" : "Macedonian Denar (1992–1993)"}, "SGD": {"symbol" : "SGD", "name" : "Singapore Dollar"}, "KGS": {"symbol" : "KGS", "name" : "Kyrgystani Som"}, "HRD": {"symbol" : "HRD", "name" : "Croatian Dinar"}, "XAF": {"symbol" : "FCFA", "name" : "Central African CFA Franc"}, "XAG": {"symbol" : "XAG", "name" : "Silver"}, "ATS": {"symbol" : "ATS", "name" : "Austrian Schilling"}, "CHF": {"symbol" : "CHF", "name" : "Swiss Franc"}, "HRK": {"symbol" : "HRK", "name" : "Croatian Kuna"}, "ITL": {"symbol" : "ITL", "name" : "Italian Lira"}, "CHE": {"symbol" : "CHE", "name" : "WIR Euro"}, "DJF": {"symbol" : "DJF", "name" : "Djiboutian Franc"}, "MLF": {"symbol" : "MLF", "name" : "Malian Franc"}, "XRE": {"symbol" : "XRE", "name" : "RINET Funds"}, "TZS": {"symbol" : "TZS", "name" : "Tanzanian Shilling"}, "ADP": {"symbol" : "ADP", "name" : "Andorran Peseta"}, "VND": {"symbol" : "₫", "name" : "Vietnamese Dong"}, "XAU": {"symbol" : "XAU", "name" : "Gold"}, "AUD": {"symbol" : "A$", "name" : "Australian Dollar"} , "CHW": {"symbol" : "CHW", "name" : "WIR Franc"}, "KHR": {"symbol" : "KHR", "name" : "Cambodian Riel"}, "IDR": {"symbol" : "IDR", "name" : "Indonesian Rupiah"}, "XBA": {"symbol" : "XBA", "name" : "European Composite Unit"}, "KYD": {"symbol" : "KYD", "name" : "Cayman Islands Dollar"}, "VNN": {"symbol" : "VNN", "name" : "Vietnamese Dong (1978–1985)"}, "XBC": {"symbol" : "XBC", "name" : "European Unit of Account (XBC)"}, "YDD": {"symbol" : "YDD", "name" : "Yemeni Dinar"}, "XBB": {"symbol" : "XBB", "name" : "European Monetary Unit"}, "BWP": {"symbol" : "BWP", "name" : "Botswanan Pula"}, "GQE": {"symbol" : "GQE", "name" : "Equatorial Guinean Ekwele"}, "SHP": {"symbol" : "SHP", "name" : "St. Helena Pound"}, "CYP": {"symbol" : "CYP", "name" : "Cypriot Pound"}, "XBD": {"symbol" : "XBD", "name" : "European Unit of Account (XBD)"}, "TJS": {"symbol" : "TJS", "name" : "Tajikistani Somoni"}, "TJR": {"symbol" : "TJR", "name" : "Tajikistani Ruble"}, "AED": {"symbol" : "AED", "name" : "United Arab Emirates Dirham"}, "RWF": {"symbol" : "RWF", "name" : "Rwandan Franc"}, "DKK": {"symbol" : "DKK", "name" : "Danish Krone"}, "BGL": {"symbol" : "BGL", "name" : "Bulgarian Hard Lev"}, "ZWD": {"symbol" : "ZWD", "name" : "Zimbabwean Dollar (1980–2008)"}, "BGN": {"symbol" : "BGN", "name" : "Bulgarian Lev"}, "BGM": {"symbol" : "BGM", "name" : "Bulgarian Socialist Lev"}, "YUD": {"symbol" : "YUD", "name" : "Yugoslavian Hard Dinar (1966–1990)"}, "MMK": {"symbol" : "MMK", "name" : "Myanmar Kyat"}, "BGO": {"symbol" : "BGO", "name" : "Bulgarian Lev (1879–1952)"} , "NOK": {"symbol" : "NOK", "name" : "Norwegian Krone"}, "SYP": {"symbol" : "SYP", "name" : "Syrian Pound"}, "ZWL": {"symbol" : "ZWL", "name" : "Zimbabwean Dollar (2009)"}, "YUM": {"symbol" : "YUM", "name" : "Yugoslavian New Dinar (1994–2002)"}, "LKR": {"symbol" : "LKR", "name" : "Sri Lankan Rupee"}, "YUN": {"symbol" : "YUN", "name" : "Yugoslavian Convertible Dinar (1990–1992)"}, "ZWR": {"symbol" : "ZWR", "name" : "Zimbabwean Dollar (2008)"}, "CZK": {"symbol" : "CZK", "name" : "Czech Koruna"}, "IEP": {"symbol" : "IEP", "name" : "Irish Pound"}, "YUR": {"symbol" : "YUR", "name" : "Yugoslavian Reformed Dinar (1992–1993)"}, "GRD": {"symbol" : "GRD", "name" : "Greek Drachma"}, "XCD": {"symbol" : "EC$", "name" : "East Caribbean Dollar"}, "HTG": {"symbol" : "HTG", "name" : "Haitian Gourde"}, "XSU": {"symbol" : "XSU", "name" : "Sucre"}, "AFA": {"symbol" : "AFA", "name" : "Afghan Afghani (1927–2002)"}, "BHD": {"symbol" : "BHD", "name" : "Bahraini Dinar"}, "SIT": {"symbol" : "SIT", "name" : "Slovenian Tolar"}, "PTE": {"symbol" : "PTE", "name" : "Portuguese Escudo"}, "KZT": {"symbol" : "KZT", "name" : "Kazakhstani Tenge"}, "SZL": {"symbol" : "SZL", "name" : "Swazi Lilangeni"}, "YER": {"symbol" : "YER", "name" : "Yemeni Rial"}, "AFN": {"symbol" : "AFN", "name" : "Afghan Afghani"}, "BYB": {"symbol" : "BYB", "name" : "Belarusian Ruble (1994–1999)"}, "RHD": {"symbol" : "RHD", "name" : "Rhodesian Dollar"}, "AWG": {"symbol" : "AWG", "name" : "Aruban Florin"}, "NPR": {"symbol" : "NPR", "name" : "Nepalese Rupee"}, "MNT": {"symbol" : "MNT", "name" : "Mongolian Tugrik"}, "GBP": {"symbol" : "£", "name" : "British Pound"}, "BYN": {"symbol" : "BYN", "name" : "Belarusian Ruble"}, "XTS": {"symbol" : "XTS", "name" : "Testing Currency Code"}, "HUF": {"symbol" : "HUF", "name" : "Hungarian Forint"}, "BYR": {"symbol" : "BYR", "name" : "Belarusian Ruble (2000–2016)"}, "BIF": {"symbol" : "BIF", "name" : "Burundian Franc"}, "XUA": {"symbol" : "XUA", "name" : "ADB Unit of Account"}, "XDR": {"symbol" : "XDR", "name" : "Special Drawing Rights"}, "BZD": {"symbol" : "BZD", "name" : "Belize Dollar"}, "MOP": {"symbol" : "MOP", "name" : "Macanese Pataca"}, "NAD": {"symbol" : "NAD", "name" : "Namibian Dollar"}, "SKK": {"symbol" : "SKK", "name" : "Slovak Koruna"}, "PEI": {"symbol" : "PEI", "name" : "Peruvian Inti"}, "TMM": {"symbol" : "TMM", "name" : "Turkmenistani Manat (1993–2009)"}, "PEN": {"symbol" : "PEN", "name" : "Peruvian Sol"}, "WST": {"symbol" : "WST", "name" : "Samoan Tala"}, "TMT": {"symbol" : "TMT", "name" : "Turkmenistani Manat"}, "FRF": {"symbol" : "FRF", "name" : "French Franc"}, "CLF": {"symbol" : "CLF", "name" : "Chilean Unit of Account (UF)"}, "CLE": {"symbol" : "CLE", "name" : "Chilean Escudo"}, "PES": {"symbol" : "PES", "name" : "Peruvian Sol (1863–1965)"}, "GTQ": {"symbol" : "GTQ", "name" : "Guatemalan Quetzal"}, "CLP": {"symbol" : "CLP", "name" : "Chilean Peso"}, "XEU": {"symbol" : "XEU", "name" : "European Currency Unit"}, "TND": {"symbol" : "TND", "name" : "Tunisian Dinar"}, "SLL": {"symbol" : "SLL", "name" : "Sierra Leonean Leone"}, "XFO": {"symbol" : "XFO", "name" : "French Gold Franc"}, "DOP": {"symbol" : "DOP", "name" : "Dominican Peso"}, "KMF": {"symbol" : "KMF", "name" : "Comorian Franc"}, "XFU": {"symbol" : "XFU", "name" : "French UIC-Franc"}, "GEK": {"symbol" : "GEK", "name" : "Georgian Kupon Larit"}, "GEL": {"symbol" : "GEL", "name" : "Georgian Lari"}, "MAD": {"symbol" : "MAD", "name" : "Moroccan Dirham"}, "MAF": {"symbol" : "MAF", "name" : "Moroccan Franc"}, "AZM": {"symbol" : "AZM", "name" : "Azerbaijani Manat (1993–2006)"}, "TOP": {"symbol" : "TOP", "name" : "Tongan Paʻanga"}, "AZN": {"symbol" : "AZN", "name" : "Azerbaijani Manat"}, "PGK": {"symbol" : "PGK", "name" : "Papua New Guinean Kina"}, "CNH": {"symbol" : "CNH", "name" : "Chinese Yuan (offshore)"}, "UAH": {"symbol" : "UAH", "name" : "Ukrainian Hryvnia"}, "UAK": {"symbol" : "UAK", "name" : "Ukrainian Karbovanets"}, "ERN": {"symbol" : "ERN", "name" : "Eritrean Nakfa"}, "TPE": {"symbol" : "TPE", "name" : "Timorese Escudo"}, "MRO": {"symbol" : "MRO", "name" : "Mauritanian Ouguiya (1973–2017)"} , "CNX": {"symbol" : "CNX", "name" : "Chinese People’s Bank Dollar"}, "CNY": {"symbol" : "CN¥", "name" : "Chinese Yuan"}, "MRU": {"symbol" : "MRU", "name" : "Mauritanian Ouguiya"}, "ESA": {"symbol" : "ESA", "name" : "Spanish Peseta (A account)"}, "GWE": {"symbol" : "GWE", "name" : "Portuguese Guinea Escudo"}, "ESB": {"symbol" : "ESB", "name" : "Spanish Peseta (convertible account)"}, "BMD": {"symbol" : "BMD", "name" : "Bermudan Dollar"}, "PHP": {"symbol" : "PHP", "name" : "Philippine Piso"}, "XXX": {"symbol" : "¤", "name" : "Unknown Currency"}, "PYG": {"symbol" : "PYG", "name" : "Paraguayan Guarani"}, "JMD": {"symbol" : "JMD", "name" : "Jamaican Dollar"}, "GWP": {"symbol" : "GWP", "name" : "Guinea-Bissau Peso"}, "ESP": {"symbol" : "ESP", "name" : "Spanish Peseta"}, "COP": {"symbol" : "COP", "name" : "Colombian Peso"}, "USD": {"symbol" : "$", "name" : "US Dollar"}, "COU": {"symbol" : "COU", "name" : "Colombian Real Value Unit"}, "MCF": {"symbol" : "MCF", "name" : "Monegasque Franc"}, "USN": {"symbol" : "USN", "name" : "US Dollar (Next day)"}, "ETB": {"symbol" : "ETB", "name" : "Ethiopian Birr"}, "VEB": {"symbol" : "VEB", "name" : "Venezuelan Bolívar (1871–2008)"}, "ECS": {"symbol" : "ECS", "name" : "Ecuadorian Sucre"}, "USS": {"symbol" : "USS", "name" : "US Dollar (Same day)"}, "SOS": {"symbol" : "SOS", "name" : "Somali Shilling"}, "VEF": {"symbol" : "VEF", "name" : "Venezuelan Bolívar (2008–2018)"}, "VUV": {"symbol" : "VUV", "name" : "Vanuatu Vatu"}, "LAK": {"symbol" : "LAK", "name" : "Laotian Kip"}, "BND": {"symbol" : "BND", "name" : "Brunei Dollar"}, "ECV": {"symbol" : "ECV", "name" : "Ecuadorian Unit of Constant Value"}, "ZMK": {"symbol" : "ZMK", "name" : "Zambian Kwacha (1968–2012)"}, "LRD": {"symbol" : "LRD", "name" : "Liberian Dollar"}, "ALK": {"symbol" : "ALK", "name" : "Albanian Lek (1946–1965)"}, "ALL": {"symbol" : "ALL", "name" : "Albanian Lek"}, "GHC": {"symbol" : "GHC", "name" : "Ghanaian Cedi (1979–2007)"}, "MTL": {"symbol" : "MTL", "name" : "Maltese Lira"}, "VES": {"symbol" : "VES", "name" : "Venezuelan Bolívar"} , "ZMW": {"symbol" : "ZMW", "name" : "Zambian Kwacha"}, "MTP": {"symbol" : "MTP", "name" : "Maltese Pound"}, "ILP": {"symbol" : "ILP", "name" : "Israeli Pound"}, "MDC": {"symbol" : "MDC", "name" : "Moldovan Cupon"}, "ILR": {"symbol" : "ILR", "name" : "Israeli Shekel (1980–1985)"}, "TRL": {"symbol" : "TRL", "name" : "Turkish Lira (1922–2005)"}, "ILS": {"symbol" : "₪", "name" : "Israeli New Shekel"}, "GHS": {"symbol" : "GHS", "name" : "Ghanaian Cedi"}, "GYD": {"symbol" : "GYD", "name" : "Guyanaese Dollar"} , "KPW": {"symbol" : "KPW", "name" : "North Korean Won"}, "BOB": {"symbol" : "BOB", "name" : "Bolivian Boliviano"}, "MDL": {"symbol" : "MDL", "name" : "Moldovan Leu"}, "AMD": {"symbol" : "AMD", "name" : "Armenian Dram"}, "TRY": {"symbol" : "TRY", "name" : "Turkish Lira"}, "LBP": {"symbol" : "LBP", "name" : "Lebanese Pound"}, "BOL": {"symbol" : "BOL", "name" : "Bolivian Boliviano (1863–1963)"}, "JOD": {"symbol" : "JOD", "name" : "Jordanian Dinar"}, "HKD": {"symbol" : "HK$", "name" : "Hong Kong Dollar"}, "BOP": {"symbol" : "BOP", "name" : "Bolivian Peso"}, "EUR": {"symbol" : "€", "name" : "Euro"}, "LSL": {"symbol" : "LSL", "name" : "Lesotho Loti"}, "CAD": {"symbol" : "CA$", "name" : "Canadian Dollar"}, "BOV": {"symbol" : "BOV", "name" : "Bolivian Mvdol"}, "EEK": {"symbol" : "EEK", "name" : "Estonian Kroon"}, "MUR": {"symbol" : "MUR", "name" : "Mauritian Rupee"}, "ROL": {"symbol" : "ROL", "name" : "Romanian Leu (1952–2006)"}, "GIP": {"symbol" : "GIP", "name" : "Gibraltar Pound"}, "RON": {"symbol" : "RON", "name" : "Romanian Leu"}, "NGN": {"symbol" : "NGN", "name" : "Nigerian Naira"}, "CRC": {"symbol" : "CRC", "name" : "Costa Rican Colón"}, "PKR": {"symbol" : "PKR", "name" : "Pakistani Rupee"}, "ANG": {"symbol" : "ANG", "name" : "Netherlands Antillean Guilder"}, "KRH": {"symbol" : "KRH", "name" : "South Korean Hwan (1953–1962)"}, "SRD": {"symbol" : "SRD", "name" : "Surinamese Dollar"}, "LTL": {"symbol" : "LTL", "name" : "Lithuanian Litas"}, "SAR": {"symbol" : "SAR", "name" : "Saudi Riyal"}, "TTD": {"symbol" : "TTD", "name" : "Trinidad & Tobago Dollar"}, "MVP": {"symbol" : "MVP", "name" : "Maldivian Rupee (1947–1981)"}, "MVR": {"symbol" : "MVR", "name" : "Maldivian Rufiyaa"}, "KRO": {"symbol" : "KRO", "name" : "South Korean Won (1945–1953)"}, "SRG": {"symbol" : "SRG", "name" : "Surinamese Guilder"}, "DDM": {"symbol" : "DDM", "name" : "East German Mark"}, "INR": {"symbol" : "₹", "name" : "Indian Rupee"}, "LTT": {"symbol" : "LTT", "name" : "Lithuanian Talonas"}, "KRW": {"symbol" : "₩", "name" : "South Korean Won"}, "JPY": {"symbol" : "¥", "name" : "Japanese Yen"}, "AOA": {"symbol" : "AOA", "name" : "Angolan Kwanza"}, "PLN": {"symbol" : "PLN", "name" : "Polish Zloty"}, "SBD": {"symbol" : "SBD", "name" : "Solomon Islands Dollar"}, "CSD": {"symbol" : "CSD", "name" : "Serbian Dinar (2002–2006)"}, "CSK": {"symbol" : "CSK", "name" : "Czechoslovak Hard Koruna"}, "LUC": {"symbol" : "LUC", "name" : "Luxembourgian Convertible Franc"}, "LUF": {"symbol" : "LUF", "name" : "Luxembourgian Franc"}, "AOK": {"symbol" : "AOK", "name" : "Angolan Kwanza (1977–1991)"} , "PLZ": {"symbol" : "PLZ", "name" : "Polish Zloty (1950–1995)"}, "AON": {"symbol" : "AON", "name" : "Angolan New Kwanza (1990–2000)"}, "MWK": {"symbol" : "MWK", "name" : "Malawian Kwacha"}, "LUL": {"symbol" : "LUL", "name" : "Luxembourg Financial Franc"}, "AOR": {"symbol" : "AOR", "name" : "Angolan Readjusted Kwanza (1995–1999)"}, "BAD": {"symbol" : "BAD", "name" : "Bosnia-Herzegovina Dinar (1992–1994)"}, "MGA": {"symbol" : "MGA", "name" : "Malagasy Ariary"}, "NIC": {"symbol" : "NIC", "name" : "Nicaraguan Córdoba (1988–1991)"} , "FIM": {"symbol" : "FIM", "name" : "Finnish Markka"}, "DEM": {"symbol" : "DEM", "name" : "German Mark"}, "MGF": {"symbol" : "MGF", "name" : "Malagasy Franc"}, "BAM": {"symbol" : "BAM", "name" : "Bosnia-Herzegovina Convertible Mark"}, "BAN": {"symbol" : "BAN", "name" : "Bosnia-Herzegovina New Dinar (1994–1997)"}, "EGP": {"symbol" : "EGP", "name" : "Egyptian Pound"}, "SSP": {"symbol" : "SSP", "name" : "South Sudanese Pound"}, "BRC": {"symbol" : "BRC", "name" : "Brazilian Cruzado (1986–1989)"}, "BRB": {"symbol" : "BRB", "name" : "Brazilian New Cruzeiro (1967–1986)"}, "BRE": {"symbol" : "BRE", "name" : "Brazilian Cruzeiro (1990–1993)"}, "NIO": {"symbol" : "NIO", "name" : "Nicaraguan Córdoba"}, "NZD": {"symbol" : "NZ$", "name" : "New Zealand Dollar"}, "BRL": {"symbol" : "R$", "name" : "Brazilian Real"}, "BRN": {"symbol" : "BRN", "name" : "Brazilian New Cruzado (1989–1990)"}}}; }, otpp_ResourceAccessor = $rt_classWithoutFields(), otpp_ResourceAccessor__init_ = $this => { return; }, otpp_ResourceAccessor__init_0 = () => { let var_0 = new otpp_ResourceAccessor(); otpp_ResourceAccessor__init_(var_0); return var_0; }, otpp_ResourceAccessor_keys = var$1 => { let result = []; for (let key in var$1) { result.push(key); } return result; }; function nlea_EaglerAdapterImpl2$14() { let a = this; jl_Object.call(a); a.$val$toLoad = null; a.$val$ret = null; } let nlea_EaglerAdapterImpl2$14_handleEvent = ($this, var$1) => { let $dv, $pxlsDat, $pxls, $totalPixels, $pixels, var$7, $i, $j; nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_imageLoadCanvas === null) nlea_EaglerAdapterImpl2_imageLoadCanvas = nlea_EaglerAdapterImpl2_doc.createElement("canvas"); if (nlea_EaglerAdapterImpl2_imageLoadCanvas.width < $this.$val$toLoad.width) nlea_EaglerAdapterImpl2_imageLoadCanvas.width = $this.$val$toLoad.width; if (nlea_EaglerAdapterImpl2_imageLoadCanvas.height < $this.$val$toLoad.height) nlea_EaglerAdapterImpl2_imageLoadCanvas.height = $this.$val$toLoad.height; if (nlea_EaglerAdapterImpl2_imageLoadContext === null) { var$1 = nlea_EaglerAdapterImpl2_imageLoadCanvas.getContext("2d", nlea_EaglerAdapterImpl2_youEagler2$js_body$_27()); nlea_EaglerAdapterImpl2_imageLoadContext = var$1; var$1.imageSmoothingEnabled = !!0; } nlea_EaglerAdapterImpl2_imageLoadContext.clearRect(0.0, 0.0, $this.$val$toLoad.width, $this.$val$toLoad.height); var$1 = nlea_EaglerAdapterImpl2_imageLoadContext; $dv = $this.$val$toLoad; var$1.drawImage($dv, 0.0, 0.0, $dv.width, $this.$val$toLoad.height); $pxlsDat = nlea_EaglerAdapterImpl2_imageLoadContext.getImageData(0.0, 0.0, $this.$val$toLoad.width, $this.$val$toLoad.height); $pxls = $pxlsDat.data; $totalPixels = $rt_imul($pxlsDat.width, $pxlsDat.height); URL.revokeObjectURL($rt_ustr($rt_str($this.$val$toLoad.src))); if ($pxls.byteLength < $totalPixels << 2) { var$1 = $this.$val$ret; $dv = null; var$1.$realAsyncCallback.$complete($dv); return; } var$1 = $pxls.buffer; $dv = new DataView(var$1); $pixels = $rt_createIntArray($totalPixels); var$7 = $pixels.data; $i = 0; $totalPixels = var$7.length; while ($i < $totalPixels) { $j = $dv.getUint32($i << 2, !!0); var$7[$i] = $j >> 8 & 16777215 | ($j & 255) << 24; $i = $i + 1 | 0; } var$1 = $this.$val$ret; $dv = nle_EaglerImage__init_($pixels, $pxlsDat.width, $pxlsDat.height, 1); var$1.$realAsyncCallback.$complete($dv); }, nlea_EaglerAdapterImpl2$14_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2$14_handleEvent(var$0, var$1); }; function nlea_EaglerAdapterImpl2$15() { let a = this; jl_Object.call(a); a.$val$toLoad0 = null; a.$val$ret0 = null; } let nlea_EaglerAdapterImpl2$15_handleEvent$exported$0 = (var$0, var$1) => { let var$2; URL.revokeObjectURL($rt_ustr($rt_str(var$0.$val$toLoad0.src))); var$2 = var$0.$val$ret0; var$1 = null; var$2.$realAsyncCallback.$complete(var$1); }; function jn_ByteBufferImpl() { let a = this; jn_ByteBuffer.call(a); a.$direct = 0; a.$readOnly0 = 0; } let jn_ByteBufferImpl_get = ($this, $index) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; if ($index >= 0 && $index < $this.$limit0) return $this.$array0.data[$this.$start + $index | 0]; var$2 = new jl_IndexOutOfBoundsException; var$3 = $this.$limit0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(708)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $index, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$3 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$3, var$3 + 1 | 0); var$5 = var$4.$buffer; var$6 = var$5.data; var$6[var$3] = 41; var$7 = new jl_String; var$3 = var$4.$length0; var$8 = var$6.length; if (var$3 >= 0 && var$3 <= (var$8 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$7; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, jn_ByteBufferImpl_put = ($this, $index, $b) => { let var$3, var$4, var$5, var$6, var$7, var$8; if ($this.$readOnly0) { var$3 = new jn_ReadOnlyBufferException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } if ($index >= 0 && $index < $this.$limit0) { $this.$array0.data[$this.$start + $index | 0] = $b; return $this; } var$3 = new jl_IndexOutOfBoundsException; $b = $this.$limit0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(708)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $index, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $b, 10); $b = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, $b, $b + 1 | 0); var$5 = var$4.$buffer; var$6 = var$5.data; var$6[$b] = 41; var$7 = new jl_String; $b = var$4.$length0; var$8 = var$6.length; if ($b >= 0 && $b <= (var$8 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$5.data, 0, $b); var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = var$7; $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); }, jn_ByteBufferImpl_compact = $this => { let var$1, $dst, var$3, $sz, $src, $i, var$7, var$8, var$9; if ($this.$readOnly0) { var$1 = new jn_ReadOnlyBufferException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } a: { $dst = $this.$limit0; var$3 = $this.$position0; $sz = $dst - var$3 | 0; if (var$3 > 0) { $dst = $this.$start; $src = $dst + var$3 | 0; $i = 0; while (true) { if ($i >= $sz) break a; var$7 = $this.$array0.data; var$8 = $dst + 1 | 0; var$9 = $src + 1 | 0; var$7[$dst] = var$7[$src]; $i = $i + 1 | 0; $dst = var$8; $src = var$9; } } } $this.$position0 = $sz; $this.$limit0 = $this.$capacity; $this.$mark = (-1); return $this; }, jn_ByteBufferImpl_asIntBuffer = $this => { let var$1, var$2, $sz, var$4, var$5, var$6; var$1 = $this.$limit0; var$2 = $this.$position0; $sz = (var$1 - var$2 | 0) / 4 | 0; if ($this.$order !== jn_ByteOrder_BIG_ENDIAN) { var$4 = new jn_IntBufferOverByteBufferLittleEndian; var$5 = $this.$start + var$2 | 0; var$2 = $this.$readOnly0; var$4.$mark = (-1); var$4.$capacity = $sz; var$4.$limit0 = $sz; var$4.$position0 = 0; var$4.$limit0 = $sz; var$4.$start5 = var$5; var$4.$byteByffer0 = $this; var$4.$readOnly4 = var$2; return var$4; } var$4 = new jn_IntBufferOverByteBufferBigEndian; var$1 = $this.$start + var$2 | 0; var$6 = $this.$readOnly0; var$4.$mark = (-1); var$4.$capacity = $sz; var$4.$limit0 = $sz; var$4.$position0 = 0; var$4.$limit0 = $sz; var$4.$start5 = var$1; var$4.$byteByffer0 = $this; var$4.$readOnly4 = var$6; return var$4; }, jn_ByteBufferImpl_asFloatBuffer = $this => { let var$1, var$2, $sz, var$4, var$5, var$6; var$1 = $this.$limit0; var$2 = $this.$position0; $sz = (var$1 - var$2 | 0) / 4 | 0; if ($this.$order !== jn_ByteOrder_LITTLE_ENDIAN) { var$4 = new jn_FloatBufferOverByteBufferLittleEndian; var$5 = $this.$start + var$2 | 0; var$2 = $this.$readOnly0; var$4.$mark = (-1); var$4.$capacity = $sz; var$4.$limit0 = $sz; var$4.$position0 = 0; var$4.$limit0 = $sz; var$4.$start4 = var$5; var$4.$byteByffer = $this; var$4.$readOnly5 = var$2; return var$4; } var$4 = new jn_FloatBufferOverByteBufferBigEndian; var$1 = $this.$start + var$2 | 0; var$6 = $this.$readOnly0; var$4.$mark = (-1); var$4.$capacity = $sz; var$4.$limit0 = $sz; var$4.$position0 = 0; var$4.$limit0 = $sz; var$4.$start4 = var$1; var$4.$byteByffer = $this; var$4.$readOnly5 = var$6; return var$4; }, jn_IntBufferImpl = $rt_classWithoutFields(jn_IntBuffer), jn_IntBufferImpl_get = $this => { let var$1, var$2; var$1 = $this.$position0; if (var$1 < $this.$limit0) { $this.$position0 = var$1 + 1 | 0; return $this.$getElement0(var$1); } var$2 = new jn_BufferUnderflowException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, jn_IntBufferImpl_put = ($this, $b) => { let var$2, var$3; if ($this.$readOnly()) { var$2 = new jn_ReadOnlyBufferException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$3 = $this.$position0; if (var$3 < $this.$limit0) { $this.$position0 = var$3 + 1 | 0; $this.$putElement(var$3, $b); return $this; } var$2 = new jn_BufferOverflowException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, jn_IntBufferImpl_put0 = ($this, $index, $b) => { let var$3, var$4, var$5, var$6, var$7, var$8; if ($this.$readOnly()) { var$3 = new jn_ReadOnlyBufferException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } if ($index >= 0 && $index < $this.$limit0) { $this.$putElement($index, $b); return $this; } var$3 = new jl_IndexOutOfBoundsException; $b = $this.$limit0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(708)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $index, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $b, 10); $b = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, $b, $b + 1 | 0); var$5 = var$4.$buffer; var$6 = var$5.data; var$6[$b] = 41; var$7 = new jl_String; $b = var$4.$length0; var$8 = var$6.length; if ($b >= 0 && $b <= (var$8 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$5.data, 0, $b); var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = var$7; $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); }, jn_IntBufferImpl_isReadOnly = $this => { return $this.$readOnly(); }; function jn_IntBufferOverArray() { let a = this; jn_IntBufferImpl.call(a); a.$readOnly3 = 0; a.$start3 = 0; a.$array4 = null; } let jn_IntBufferOverArray_getElement = ($this, $index) => { return $this.$array4.data[$index + $this.$start3 | 0]; }, jn_IntBufferOverArray_putElement = ($this, $index, $value) => { $this.$array4.data[$index + $this.$start3 | 0] = $value; }, jn_IntBufferOverArray_isArrayPresent = $this => { return 1; }, jn_IntBufferOverArray_getArray = $this => { return $this.$array4; }, jn_IntBufferOverArray_readOnly = $this => { return $this.$readOnly3; }; function cjj_ZStream() { let a = this; jl_Object.call(a); a.$next_in = null; a.$next_in_index = 0; a.$avail_in = 0; a.$total_in = Long_ZERO; a.$next_out = null; a.$next_out_index = 0; a.$avail_out = 0; a.$total_out = Long_ZERO; a.$msg = null; a.$dstate = null; a.$istate = null; a.$data_type0 = 0; a.$adler = null; } let cjj_ZStream__init_0 = $this => { let var$1; var$1 = new cjj_Adler32; var$1.$s1 = Long_fromInt(1); var$1.$s2 = Long_ZERO; $this.$adler = var$1; }, cjj_ZStream__init_2 = () => { let var_0 = new cjj_ZStream(); cjj_ZStream__init_0(var_0); return var_0; }, cjj_ZStream__init_ = ($this, $adler) => { $this.$adler = $adler; }, cjj_ZStream__init_1 = var_0 => { let var_1 = new cjj_ZStream(); cjj_ZStream__init_(var_1, var_0); return var_1; }, cjj_ZStream_flush_pending = $this => { let var$1, $len, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$dstate; $len = var$1.$pending; var$3 = $this.$avail_out; if ($len <= var$3) var$3 = $len; if (!var$3) return; var$4 = var$1.$pending_buf; var$5 = var$4.data.length; var$6 = var$1.$pending_out; if (var$5 > var$6) { $len = $this.$next_out.data.length; var$7 = $this.$next_out_index; $len > var$7 && var$5 >= (var$6 + var$3 | 0) && $len >= (var$7 + var$3 | 0); } jl_System_fastArraycopy(var$4, var$6, $this.$next_out, $this.$next_out_index, var$3); $this.$next_out_index = $this.$next_out_index + var$3 | 0; var$1 = $this.$dstate; var$1.$pending_out = var$1.$pending_out + var$3 | 0; $this.$total_out = Long_add($this.$total_out, Long_fromInt(var$3)); $this.$avail_out = $this.$avail_out - var$3 | 0; $len = var$1.$pending - var$3 | 0; var$1.$pending = $len; if (!$len) var$1.$pending_out = 0; }, cjj_ZStream_read_buf = ($this, $buf, $start, $size) => { let $len; $len = $this.$avail_in; if ($len <= $size) $size = $len; if (!$size) return 0; $this.$avail_in = $len - $size | 0; if ($this.$dstate.$wrap3) $this.$adler.$update($this.$next_in, $this.$next_in_index, $size); jl_System_fastArraycopy($this.$next_in, $this.$next_in_index, $buf, $start, $size); $this.$next_in_index = $this.$next_in_index + $size | 0; $this.$total_in = Long_add($this.$total_in, Long_fromInt($size)); return $size; }, cjj_ZStream_setInput = ($this, $buf, $off, $len, $append) => { let var$5, $tmp_0; if ($len <= 0 && $append && $this.$next_in !== null) return; var$5 = $this.$avail_in; if (var$5 > 0 && $append) { $tmp_0 = $rt_createByteArray(var$5 + $len | 0); jl_System_fastArraycopy($this.$next_in, $this.$next_in_index, $tmp_0, 0, var$5); jl_System_fastArraycopy($buf, $off, $tmp_0, $this.$avail_in, $len); $this.$next_in = $tmp_0; $this.$next_in_index = 0; $this.$avail_in = $this.$avail_in + $len | 0; } else { $this.$next_in = $buf; $this.$next_in_index = $off; $this.$avail_in = $len; } }; function cjj_Inflater() { cjj_ZStream.call(this); this.$finished = 0; } let cjj_Inflater__init_0 = $this => { let var$1; var$1 = new cjj_Adler32; var$1.$s1 = Long_fromInt(1); var$1.$s2 = Long_ZERO; $this.$adler = var$1; $this.$finished = 0; $this.$finished = 0; var$1 = new cjj_Inflate; var$1.$was = Long_fromInt(-1); var$1.$need_bytes = (-1); var$1.$crcbuf = $rt_createByteArray(4); var$1.$gheader = null; var$1.$tmp_string = null; var$1.$z1 = $this; $this.$istate = var$1; cjj_Inflate_inflateInit(var$1, 15); }, cjj_Inflater__init_2 = () => { let var_0 = new cjj_Inflater(); cjj_Inflater__init_0(var_0); return var_0; }, cjj_Inflater__init_1 = ($this, $nowrap) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = 15; var$3 = new cjj_Adler32; var$3.$s1 = Long_fromInt(1); var$3.$s2 = Long_ZERO; $this.$adler = var$3; $this.$finished = 0; $this.$finished = 0; var$3 = new cjj_Inflate; var$3.$was = Long_fromInt(-1); var$3.$need_bytes = (-1); var$3.$crcbuf = $rt_createByteArray(4); var$3.$gheader = null; var$3.$tmp_string = null; var$3.$z1 = $this; $this.$istate = var$3; if ($nowrap) var$2 = (-15); var$4 = cjj_Inflate_inflateInit(var$3, var$2); if (!var$4) return; var$3 = new cjj_GZIPException; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$4, 10); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(107)); var$6 = $this.$msg; jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$6); var$6 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$2 = var$5.$length0; var$4 = var$8.length; if (var$2 >= 0 && var$2 <= (var$4 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$2); var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = var$6; $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); }, cjj_Inflater__init_ = var_0 => { let var_1 = new cjj_Inflater(); cjj_Inflater__init_1(var_1, var_0); return var_1; }; function nle_TextureLocation() { let a = this; jl_Object.call(a); a.$path = null; a.$glObject = 0; } let nle_TextureLocation_locations = null, nle_TextureLocation_bindTexture = $this => { let $r, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$r = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $r = nms_Minecraft_theMinecraft.$renderEngine; if ($this.$glObject != (-1)) { var$2 = $this.$glObject; if (var$2 != $r.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, var$2); $r.$boundTexture = var$2; } return; } var$3 = $this.$path; $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture($r, var$3); if ($rt_suspending()) { break main; } var$2 = $tmp; $this.$glObject = var$2; if (var$2 == (-1)) { if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); var$3.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$3.$sb = var$4; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } var$3 = $this.$path; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(709)); var$2 = var$4.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$2, var$3); var$3 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; var$7 = var$4.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); $rt_putStderr($rt_ustr(var$3)); $rt_putStderr("\n"); } else { $r = new jl_IndexOutOfBoundsException; $r.$suppressionEnabled = 1; $r.$writableStackTrace = 1; $rt_throw($r); } } var$2 = $this.$glObject; if (var$2 != $r.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, var$2); $r.$boundTexture = var$2; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $r, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nle_TextureLocation__clinit_ = () => { let var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nle_TextureLocation_locations = var$1; }; function jnc_IllegalCharsetNameException() { jl_IllegalArgumentException.call(this); this.$charsetName0 = null; } let jn_CharBuffer = $rt_classWithoutFields(jn_Buffer), jn_CharBuffer__init_ = ($this, $capacity, $position, $limit) => { $this.$mark = (-1); $this.$capacity = $capacity; $this.$limit0 = $capacity; $this.$position0 = $position; $this.$limit0 = $limit; }, jn_CharBuffer_get = ($this, $dst, $offset, $length) => { let var$4, var$5, $i, var$7, var$8, var$9, $pos, var$11, var$12; if ($offset >= 0) { var$4 = $dst.data; var$5 = var$4.length; if ($offset <= var$5) { $i = $offset + $length | 0; if ($i > var$5) { var$7 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(710)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $i, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(605)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$5, 10); var$9 = new jl_String; $dst = var$8.$buffer; var$4 = $dst.data; $length = var$8.$length0; var$5 = var$4.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($dst.data, 0, $length); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } var$5 = $this.$limit0; $pos = $this.$position0; if ((var$5 - $pos | 0) < $length) { var$7 = new jn_BufferUnderflowException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } if ($length >= 0) { $i = 0; var$11 = $pos; while ($i < $length) { var$12 = $offset + 1 | 0; var$5 = var$11 + 1 | 0; var$4[$offset] = $this.$array1.data[var$11 + $this.$start1 | 0]; $i = $i + 1 | 0; $offset = var$12; var$11 = var$5; } $this.$position0 = $pos + $length | 0; return $this; } var$7 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(606)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $length, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(607)); var$9 = new jl_String; $dst = var$8.$buffer; var$4 = $dst.data; $length = var$8.$length0; var$5 = var$4.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($dst.data, 0, $length); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } $dst = $dst.data; var$7 = new jl_IndexOutOfBoundsException; $length = $dst.length; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(608)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $offset, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $length, 10); $length = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, $length, $length + 1 | 0); $dst = var$8.$buffer; var$4 = $dst.data; var$4[$length] = 41; var$9 = new jl_String; $length = var$8.$length0; var$5 = var$4.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($dst.data, 0, $length); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); }, jn_CharBuffer_put0 = ($this, $src, $offset, $length) => { let var$4, var$5, $pos, var$7, $i, var$9, var$10, var$11, var$12; if ($this.$readOnly1) { var$4 = new jn_ReadOnlyBufferException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } var$5 = $this.$limit0; $pos = $this.$position0; if ((var$5 - $pos | 0) < $length) { var$4 = new jn_BufferOverflowException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($offset >= 0) { var$7 = $src.data; var$5 = var$7.length; if ($offset <= var$5) { $i = $offset + $length | 0; if ($i > var$5) { var$4 = new jl_IndexOutOfBoundsException; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(711)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $i, 10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(605)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, var$5, 10); var$10 = new jl_String; $src = var$9.$buffer; var$7 = $src.data; $length = var$9.$length0; var$5 = var$7.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($src.data, 0, $length); var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = var$10; $rt_throw(var$4); } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } if ($length >= 0) { $i = 0; var$11 = $pos; while ($i < $length) { var$12 = var$11 + 1 | 0; var$5 = $offset + 1 | 0; $this.$array1.data[var$11 + $this.$start1 | 0] = var$7[$offset]; $i = $i + 1 | 0; var$11 = var$12; $offset = var$5; } $this.$position0 = $pos + $length | 0; return $this; } var$4 = new jl_IndexOutOfBoundsException; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(606)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $length, 10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(607)); var$10 = new jl_String; $src = var$9.$buffer; var$7 = $src.data; $length = var$9.$length0; var$5 = var$7.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($src.data, 0, $length); var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = var$10; $rt_throw(var$4); } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } } $src = $src.data; var$4 = new jl_IndexOutOfBoundsException; $length = $src.length; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(608)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $offset, 10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $length, 10); $length = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, $length, $length + 1 | 0); $src = var$9.$buffer; var$7 = $src.data; var$7[$length] = 41; var$10 = new jl_String; $length = var$9.$length0; var$5 = var$7.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($src.data, 0, $length); var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = var$10; $rt_throw(var$4); } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); }, jn_CharBuffer_put = ($this, $src, $start, $end) => { let $sz, var$5, var$6, var$7, var$8, var$9, $pos, $pos_0; if ($this.$readOnly1) { $src = new jn_ReadOnlyBufferException; $src.$suppressionEnabled = 1; $src.$writableStackTrace = 1; $rt_throw($src); } $sz = $end - $start | 0; if (($this.$limit0 - $this.$position0 | 0) < $sz) { $src = new jn_BufferOverflowException; $src.$suppressionEnabled = 1; $src.$writableStackTrace = 1; $rt_throw($src); } if ($start >= 0 && $start <= $src.$nativeString.length) { if ($end > $src.$nativeString.length) { var$5 = new jl_IndexOutOfBoundsException; $sz = $src.$nativeString.length; $src = new jl_StringBuilder; $src.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($src, $src.$length0, $rt_s(711)); jl_AbstractStringBuilder_insert0($src, $src.$length0, $end, 10); jl_AbstractStringBuilder_insert($src, $src.$length0, $rt_s(712)); jl_AbstractStringBuilder_insert0($src, $src.$length0, $sz, 10); var$6 = new jl_String; var$7 = $src.$buffer; var$8 = var$7.data; $end = $src.$length0; var$9 = var$8.length; if ($end >= 0 && $end <= (var$9 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, $end); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$6; $rt_throw(var$5); } $src = new jl_IndexOutOfBoundsException; $src.$suppressionEnabled = 1; $src.$writableStackTrace = 1; $rt_throw($src); } if ($start <= $end) { $pos = $this.$position0; a: { while ($start < $end) { $pos_0 = $pos + 1 | 0; var$9 = $start + 1 | 0; if ($start < 0) break a; if ($start >= $src.$nativeString.length) break a; $this.$array1.data[$pos + $this.$start1 | 0] = $src.$nativeString.charCodeAt($start); $pos = $pos_0; $start = var$9; } $this.$position0 = $this.$position0 + $sz | 0; return $this; } $src = new jl_StringIndexOutOfBoundsException; $src.$suppressionEnabled = 1; $src.$writableStackTrace = 1; $rt_throw($src); } $src = new jl_IndexOutOfBoundsException; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(713)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, $start, 10); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(714)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, $end, 10); var$6 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; $end = var$5.$length0; var$9 = var$8.length; if ($end >= 0 && $end <= (var$9 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, $end); $src.$suppressionEnabled = 1; $src.$writableStackTrace = 1; $src.$message = var$6; $rt_throw($src); } $src = new jl_IndexOutOfBoundsException; $src.$suppressionEnabled = 1; $src.$writableStackTrace = 1; $rt_throw($src); } var$5 = new jl_IndexOutOfBoundsException; $sz = $src.$nativeString.length; $src = new jl_StringBuilder; $src.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($src, $src.$length0, $rt_s(713)); jl_AbstractStringBuilder_insert0($src, $src.$length0, $start, 10); jl_AbstractStringBuilder_insert($src, $src.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0($src, $src.$length0, $sz, 10); $end = $src.$length0; jl_AbstractStringBuilder_insertSpace($src, $end, $end + 1 | 0); var$7 = $src.$buffer; var$8 = var$7.data; var$8[$end] = 41; var$6 = new jl_String; $end = $src.$length0; var$9 = var$8.length; if ($end >= 0 && $end <= (var$9 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, $end); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$6; $rt_throw(var$5); } $src = new jl_IndexOutOfBoundsException; $src.$suppressionEnabled = 1; $src.$writableStackTrace = 1; $rt_throw($src); }, jur_NonCapFSet = $rt_classWithoutFields(jur_FSet), jur_NonCapFSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $gr, var$5; $gr = $this.$groupIndex0; var$5 = $matchResult.$consumers.data; var$5[$gr] = $stringIndex - var$5[$gr] | 0; return $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_NonCapFSet_getName = $this => { return $rt_s(715); }, jur_NonCapFSet_hasConsumed = ($this, $mr) => { return 0; }, jur_AheadFSet = $rt_classWithoutFields(jur_FSet), jur_AheadFSet__init_ = $this => { let var$1, var$2; jur_FSet_$callClinit(); var$1 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$1 + 1 | 0; var$2 = new jl_AbstractStringBuilder; var$2.$buffer = $rt_createCharArray(20); $this.$index1 = (jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10)).$toString(); $this.$groupIndex0 = (-1); }, jur_AheadFSet__init_0 = () => { let var_0 = new jur_AheadFSet(); jur_AheadFSet__init_(var_0); return var_0; }, jur_AheadFSet_matches = ($this, $stringIndex, $testString, $matchResult) => { return $stringIndex; }, jur_AheadFSet_getName = $this => { return $rt_s(716); }, jur_BehindFSet = $rt_classWithoutFields(jur_FSet), jur_BehindFSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $gr; $gr = $this.$groupIndex0; if ($matchResult.$consumers.data[$gr] != $stringIndex) $stringIndex = (-1); return $stringIndex; }, jur_BehindFSet_getName = $this => { return $rt_s(717); }; function jur_AtomicFSet() { jur_FSet.call(this); this.$index12 = 0; } let jur_AtomicFSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $gr, var$5; $gr = $this.$groupIndex0; var$5 = $matchResult.$consumers.data; var$5[$gr] = $stringIndex - var$5[$gr] | 0; $this.$index12 = $stringIndex; return $stringIndex; }, jur_AtomicFSet_getName = $this => { return $rt_s(718); }, jur_AtomicFSet_hasConsumed = ($this, $mr) => { return 0; }, jur_FinalSet = $rt_classWithoutFields(jur_FSet), jur_FinalSet__init_ = $this => { let var$1, var$2; jur_FSet_$callClinit(); var$1 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$1 + 1 | 0; var$2 = new jl_AbstractStringBuilder; var$2.$buffer = $rt_createCharArray(20); $this.$index1 = (jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10)).$toString(); $this.$groupIndex0 = 0; }, jur_FinalSet__init_0 = () => { let var_0 = new jur_FinalSet(); jur_FinalSet__init_(var_0); return var_0; }, jur_FinalSet_matches = ($this, $stringIndex, $testString, $matchResult) => { if ($matchResult.$mode0 != 1 && $stringIndex != $matchResult.$rightBound) return (-1); $matchResult.$valid = 1; $matchResult.$groupBounds.data[1] = $stringIndex; return $stringIndex; }, jur_FinalSet_getName = $this => { return $rt_s(719); }; function jur_LeafSet() { jur_AbstractSet.call(this); this.$charCount0 = 0; } let jur_LeafSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $shift; if (($stringIndex + $this.$charCount() | 0) > $matchResult.$rightBound) { $matchResult.$hitEnd = 1; return (-1); } $shift = $this.$accepts($stringIndex, $testString); if ($shift < 0) return (-1); return $this.$next4.$matches($stringIndex + $shift | 0, $testString, $matchResult); }, jur_LeafSet_charCount = $this => { return $this.$charCount0; }, jur_LeafSet_hasConsumed = ($this, $mr) => { return 1; }, jur_EmptySet = $rt_classWithoutFields(jur_LeafSet), jur_EmptySet_accepts = ($this, $stringIndex, $testString) => { return 0; }, jur_EmptySet_find = ($this, $stringIndex, $testString, $matchResult) => { let $strLength, $startStr, $low; $strLength = $matchResult.$rightBound; $startStr = $matchResult.$leftBound; a: { b: { while (true) { $low = $rt_compare($stringIndex, $strLength); if ($low > 0) return (-1); if ($low < 0) { if ($stringIndex < 0) break b; if ($stringIndex >= $testString.$nativeString.length) break b; if ((($testString.$nativeString.charCodeAt($stringIndex) & 64512) != 56320 ? 0 : 1) && $stringIndex > $startStr) { $low = $stringIndex - 1 | 0; if ($low < 0) break a; if ($low >= $testString.$nativeString.length) break a; if (($testString.$nativeString.charCodeAt($low) & 64512) != 55296 ? 0 : 1) { $stringIndex = $stringIndex + 1 | 0; continue; } } } if ($this.$next4.$matches($stringIndex, $testString, $matchResult) >= 0) break; $stringIndex = $stringIndex + 1 | 0; } return $stringIndex; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_EmptySet_findBack = ($this, $stringIndex, $startSearch, $testString, $matchResult) => { let $strLength, $startStr, var$7; $strLength = $matchResult.$rightBound; $startStr = $matchResult.$leftBound; a: { b: { while (true) { if ($startSearch < $stringIndex) return (-1); if ($startSearch < $strLength) { if ($startSearch < 0) break b; if ($startSearch >= $testString.$nativeString.length) break b; if ((($testString.$nativeString.charCodeAt($startSearch) & 64512) != 56320 ? 0 : 1) && $startSearch > $startStr) { var$7 = $startSearch - 1 | 0; if (var$7 < 0) break a; if (var$7 >= $testString.$nativeString.length) break a; if (($testString.$nativeString.charCodeAt(var$7) & 64512) != 55296 ? 0 : 1) { $startSearch = $startSearch + (-1) | 0; continue; } } } if ($this.$next4.$matches($startSearch, $testString, $matchResult) >= 0) break; $startSearch = $startSearch + (-1) | 0; } return $startSearch; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_EmptySet_getName = $this => { return $rt_s(720); }, jur_EmptySet_hasConsumed = ($this, $mr) => { return 0; }; function jur_JointSet() { let a = this; jur_AbstractSet.call(a); a.$children = null; a.$fSet = null; a.$groupIndex = 0; } let jur_JointSet__init_ = $this => { let var$1, var$2; var$1 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$1 + 1 | 0; var$2 = new jl_AbstractStringBuilder; var$2.$buffer = $rt_createCharArray(20); $this.$index1 = (jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10)).$toString(); }, jur_JointSet__init_0 = () => { let var_0 = new jur_JointSet(); jur_JointSet__init_(var_0); return var_0; }, jur_JointSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $e, $size, var$6, $shift, $start, $i; $e = $this.$children; if ($e === null) return (-1); $size = $this.$groupIndex; var$6 = $matchResult.$groupBounds.data; $shift = $size * 2 | 0; $start = var$6[$shift]; var$6[$shift] = $stringIndex; $size = $e.$size0; $i = 0; a: { while (true) { if ($i >= $size) { $stringIndex = $this.$groupIndex; $matchResult.$groupBounds.data[$stringIndex * 2 | 0] = $start; return (-1); } $e = $this.$children; if ($i < 0) break a; if ($i >= $e.$size0) break a; $shift = $e.$array.data[$i].$matches($stringIndex, $testString, $matchResult); if ($shift >= 0) break; $i = $i + 1 | 0; } return $shift; } $testString = new jl_IndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_JointSet_setNext = ($this, $next) => { $this.$fSet.$next4 = $next; }, jur_JointSet_getName = $this => { return $rt_s(721); }, jur_JointSet_first = ($this, $set) => { let var$2, $i$index, var$4, var$5, $i$index_0; a: { var$2 = $this.$children; if (var$2 !== null) { $i$index = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); while (true) { if (!($i$index >= var$5 ? 0 : 1)) break a; if (var$4 < var$2.$modCount) { $set = new ju_ConcurrentModificationException; $set.$suppressionEnabled = 1; $set.$writableStackTrace = 1; $rt_throw($set); } $i$index_0 = $i$index + 1 | 0; if ((var$2.$get($i$index)).$first($set)) break; $i$index = $i$index_0; } return 1; } } return 0; }, jur_JointSet_hasConsumed = ($this, $matchResult) => { let var$2, var$3, var$4; var$2 = $this.$groupIndex; var$3 = $matchResult.$groupBounds.data; var$2 = var$2 * 2 | 0; var$4 = var$2 + 1 | 0; return var$3[var$4] >= 0 && var$3[var$2] == var$3[var$4] ? 0 : 1; }, jur_JointSet_processSecondPass = $this => { let $child, $childrenSize, $i, $set; $this.$isSecondPassVisited = 1; $child = $this.$fSet; if ($child !== null && !$child.$isSecondPassVisited) jur_AbstractSet_processSecondPass($child); a: { b: { $child = $this.$children; if ($child !== null) { $childrenSize = $child.$size0; $i = 0; while (true) { if ($i >= $childrenSize) break b; $child = $this.$children; if ($i < 0) break a; if ($i >= $child.$size0) break a; $child = $child.$array.data[$i]; $set = $child.$processBackRefReplacement(); if ($set === null) $set = $child; else { $child.$isSecondPassVisited = 1; ju_ArrayList_remove($this.$children, $i); ju_ArrayList_add0($this.$children, $i, $set); } if (!$set.$isSecondPassVisited) $set.$processSecondPass(); $i = $i + 1 | 0; } } } if ($this.$next4 !== null) jur_AbstractSet_processSecondPass($this); return; } $child = new jl_IndexOutOfBoundsException; $child.$suppressionEnabled = 1; $child.$writableStackTrace = 1; $rt_throw($child); }, jur_NonCapJointSet = $rt_classWithoutFields(jur_JointSet), jur_NonCapJointSet__init_ = $this => { jur_JointSet__init_($this); }, jur_NonCapJointSet__init_0 = () => { let var_0 = new jur_NonCapJointSet(); jur_NonCapJointSet__init_(var_0); return var_0; }, jur_NonCapJointSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $i, var$5, $start, $size, $e, $shift; $i = $this.$groupIndex; var$5 = $matchResult.$consumers.data; $start = var$5[$i]; var$5[$i] = $stringIndex; $size = $this.$children.$size0; $i = 0; a: { while (true) { if ($i >= $size) { $stringIndex = $this.$groupIndex; $matchResult.$consumers.data[$stringIndex] = $start; return (-1); } $e = $this.$children; if ($i < 0) break a; if ($i >= $e.$size0) break a; $shift = $e.$array.data[$i].$matches($stringIndex, $testString, $matchResult); if ($shift >= 0) break; $i = $i + 1 | 0; } return $shift; } $testString = new jl_IndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_NonCapJointSet_getName = $this => { return $rt_s(722); }, jur_NonCapJointSet_hasConsumed = ($this, $matchResult) => { let $cons; $cons = $this.$groupIndex; return !$matchResult.$consumers.data[$cons] ? 0 : 1; }, jur_AtomicJointSet = $rt_classWithoutFields(jur_NonCapJointSet), jur_AtomicJointSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $shift, var$5, $start, $size, $i, $e; $shift = $this.$groupIndex; var$5 = $matchResult.$consumers.data; $start = var$5[$shift]; var$5[$shift] = $stringIndex; $size = $this.$children.$size0; $i = 0; a: { while ($i < $size) { $e = $this.$children; if ($i < 0) break a; if ($i >= $e.$size0) break a; if ($e.$array.data[$i].$matches($stringIndex, $testString, $matchResult) >= 0) return $this.$next4.$matches($this.$fSet.$index12, $testString, $matchResult); $i = $i + 1 | 0; } $stringIndex = $this.$groupIndex; $matchResult.$consumers.data[$stringIndex] = $start; return (-1); } $testString = new jl_IndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_AtomicJointSet_setNext = ($this, $next) => { $this.$next4 = $next; }, jur_AtomicJointSet_getName = $this => { return $rt_s(722); }, jur_PositiveLookAhead = $rt_classWithoutFields(jur_AtomicJointSet), jur_PositiveLookAhead_matches = ($this, $stringIndex, $testString, $matchResult) => { let $size, $i, $e; $size = $this.$children.$size0; $i = 0; a: { while ($i < $size) { $e = $this.$children; if ($i < 0) break a; if ($i >= $e.$size0) break a; if ($e.$array.data[$i].$matches($stringIndex, $testString, $matchResult) >= 0) return $this.$next4.$matches($stringIndex, $testString, $matchResult); $i = $i + 1 | 0; } return (-1); } $testString = new jl_IndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_PositiveLookAhead_hasConsumed = ($this, $matchResult) => { return 0; }, jur_PositiveLookAhead_getName = $this => { return $rt_s(723); }, jur_NegativeLookAhead = $rt_classWithoutFields(jur_AtomicJointSet), jur_NegativeLookAhead_matches = ($this, $stringIndex, $testString, $matchResult) => { let $size, $i, $e; $size = $this.$children.$size0; $i = 0; a: { while (true) { if ($i >= $size) return $this.$next4.$matches($stringIndex, $testString, $matchResult); $e = $this.$children; if ($i < 0) break a; if ($i >= $e.$size0) break a; if ($e.$array.data[$i].$matches($stringIndex, $testString, $matchResult) >= 0) break; $i = $i + 1 | 0; } return (-1); } $testString = new jl_IndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_NegativeLookAhead_hasConsumed = ($this, $matchResult) => { return 0; }, jur_NegativeLookAhead_getName = $this => { return $rt_s(724); }, jur_PositiveLookBehind = $rt_classWithoutFields(jur_AtomicJointSet), jur_PositiveLookBehind_matches = ($this, $stringIndex, $testString, $matchResult) => { let $size, $leftBound, $shift, $i, $e; $size = $this.$children.$size0; $leftBound = $matchResult.$transparentBounds ? 0 : $matchResult.$leftBound; a: { b: { $shift = $this.$next4.$matches($stringIndex, $testString, $matchResult); if ($shift >= 0) { $i = $this.$groupIndex; $matchResult.$consumers.data[$i] = $stringIndex; $i = 0; while (true) { if ($i >= $size) break b; $e = $this.$children; if ($i < 0) break a; if ($i >= $e.$size0) break a; if ($e.$array.data[$i].$findBack($leftBound, $stringIndex, $testString, $matchResult) >= 0) { $stringIndex = $this.$groupIndex; $matchResult.$consumers.data[$stringIndex] = (-1); return $shift; } $i = $i + 1 | 0; } } } return (-1); } $testString = new jl_IndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_PositiveLookBehind_hasConsumed = ($this, $matchResult) => { return 0; }, jur_PositiveLookBehind_getName = $this => { return $rt_s(725); }, jur_NegativeLookBehind = $rt_classWithoutFields(jur_AtomicJointSet), jur_NegativeLookBehind_matches = ($this, $stringIndex, $testString, $matchResult) => { let $size, $i, $e; $size = $this.$children.$size0; $i = $this.$groupIndex; $matchResult.$consumers.data[$i] = $stringIndex; $i = 0; a: { while (true) { if ($i >= $size) return $this.$next4.$matches($stringIndex, $testString, $matchResult); $e = $this.$children; if ($i < 0) break a; if ($i >= $e.$size0) break a; if ($e.$array.data[$i].$findBack(0, $stringIndex, $testString, $matchResult) >= 0) break; $i = $i + 1 | 0; } return (-1); } $testString = new jl_IndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_NegativeLookBehind_hasConsumed = ($this, $matchResult) => { return 0; }, jur_NegativeLookBehind_getName = $this => { return $rt_s(726); }; function jur_SingleSet() { jur_JointSet.call(this); this.$kid = null; } let jur_SingleSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $shift, var$5, $start; $shift = $this.$groupIndex; var$5 = $matchResult.$groupBounds.data; $shift = $shift * 2 | 0; $start = var$5[$shift]; var$5[$shift] = $stringIndex; $shift = $this.$kid.$matches($stringIndex, $testString, $matchResult); if ($shift >= 0) return $shift; $shift = $this.$groupIndex; $matchResult.$groupBounds.data[$shift * 2 | 0] = $start; return (-1); }, jur_SingleSet_find = ($this, $stringIndex, $testString, $matchResult) => { let $res; $res = $this.$kid.$find0($stringIndex, $testString, $matchResult); if ($res >= 0) { $stringIndex = $this.$groupIndex; $matchResult.$groupBounds.data[$stringIndex * 2 | 0] = $res; } return $res; }, jur_SingleSet_findBack = ($this, $stringIndex, $lastIndex, $testString, $matchResult) => { let $res; $res = $this.$kid.$findBack($stringIndex, $lastIndex, $testString, $matchResult); if ($res >= 0) { $stringIndex = $this.$groupIndex; $matchResult.$groupBounds.data[$stringIndex * 2 | 0] = $res; } return $res; }, jur_SingleSet_first = ($this, $set) => { return $this.$kid.$first($set); }, jur_SingleSet_processBackRefReplacement = $this => { let $set, var$2, var$3, var$4, var$5; $set = new jur_BackReferencedSingleSet; var$2 = $this.$kid; var$3 = $this.$fSet; var$4 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$4 + 1 | 0; var$5 = new jl_AbstractStringBuilder; var$5.$buffer = $rt_createCharArray(20); $set.$index1 = (jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$4, 10)).$toString(); $set.$kid = var$2; $set.$fSet = var$3; $set.$groupIndex = var$3.$groupIndex0; $this.$next4 = $set; return $set; }, jur_SingleSet_processSecondPass = $this => { let $set; $this.$isSecondPassVisited = 1; $set = $this.$fSet; if ($set !== null && !$set.$isSecondPassVisited) jur_AbstractSet_processSecondPass($set); $set = $this.$kid; if ($set !== null && !$set.$isSecondPassVisited) { $set = $set.$processBackRefReplacement(); if ($set !== null) { $this.$kid.$isSecondPassVisited = 1; $this.$kid = $set; } $this.$kid.$processSecondPass(); } }; function jl_Enum() { let a = this; jl_Object.call(a); a.$name0 = null; a.$ordinal = 0; } let jl_Enum_toString = $this => { return $this.$name0; }, jl_Enum_equals = ($this, $other) => { return $this !== $other ? 0 : 1; }, jl_Enum_hashCode = $this => { let var$1; var$1 = $this; if (!var$1.$id$) var$1.$id$ = $rt_nextId(); return $this.$id$; }, jl_Enum_compareTo = ($this, var$1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$1 = var$1; var$2 = var$1.constructor; if (var$2 === null) var$3 = null; else { var$3 = var$2.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$2; var$2.classObject = var$3; } } var$2 = var$3.$platformClass.$meta.superclass; if (var$2 === null) var$4 = null; else { var$4 = var$2.classObject; if (var$4 === null) { var$4 = new jl_Class; var$4.$platformClass = var$2; var$2.classObject = var$4; } } if (!(var$4 !== $rt_cls(jl_Enum) ? 0 : 1)) { var$2 = var$3.$platformClass.$meta.superclass; if (var$2 !== null) { var$3 = var$2.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$2; var$2.classObject = var$3; } } else var$3 = null; } var$2 = $this.constructor; if (var$2 !== null) { var$4 = var$2.classObject; if (var$4 === null) { var$4 = new jl_Class; var$4.$platformClass = var$2; var$2.classObject = var$4; } } else var$4 = null; var$2 = var$4.$platformClass.$meta.superclass; if (var$2 === null) var$5 = null; else { var$5 = var$2.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = var$2; var$2.classObject = var$5; } } if (!(var$5 !== $rt_cls(jl_Enum) ? 0 : 1)) { var$2 = var$4.$platformClass.$meta.superclass; if (var$2 === null) var$4 = null; else { var$4 = var$2.classObject; if (var$4 === null) { var$4 = new jl_Class; var$4.$platformClass = var$2; var$2.classObject = var$4; } } } if (var$3 === var$4) return $rt_compare($this.$ordinal, var$1.$ordinal); var$2 = new jl_IllegalArgumentException; var$4 = $this.constructor; if (var$4 === null) var$5 = null; else { var$5 = var$4.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = var$4; var$4.classObject = var$5; } } var$4 = var$5.$platformClass.$meta.superclass; if (var$4 === null) var$6 = null; else { var$6 = var$4.classObject; if (var$6 === null) { var$6 = new jl_Class; var$6.$platformClass = var$4; var$4.classObject = var$6; } } if (!(var$6 !== $rt_cls(jl_Enum) ? 0 : 1)) { var$4 = var$5.$platformClass.$meta.superclass; if (var$4 === null) var$5 = null; else { var$5 = var$4.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = var$4; var$4.classObject = var$5; } } } var$1 = var$1.constructor; if (var$1 === null) var$7 = null; else { var$7 = var$1.classObject; if (var$7 === null) { var$7 = new jl_Class; var$7.$platformClass = var$1; var$1.classObject = var$7; } } var$6 = var$7.$platformClass.$meta.superclass; if (var$6 === null) var$3 = null; else { var$3 = var$6.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$6; var$6.classObject = var$3; } } if (!(var$3 !== $rt_cls(jl_Enum) ? 0 : 1)) { var$1 = var$7.$platformClass.$meta.superclass; if (var$1 === null) var$7 = null; else { var$7 = var$1.classObject; if (var$7 === null) { var$7 = new jl_Class; var$7.$platformClass = var$1; var$1.classObject = var$7; } } } var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(727)); var$8 = var$6.$length0; if (var$5 === null) var$1 = $rt_s(1); else { var$1 = (!(var$5.$platformClass.$meta.flags & 2) ? 0 : 1) ? $rt_s(102) : !otp_Platform_isPrimitive(var$5.$platformClass) ? $rt_s(103) : $rt_s(18); if (var$5.$name1 === null) var$5.$name1 = otp_Platform_getName(var$5.$platformClass); var$5 = var$5.$name1; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$4); jl_AbstractStringBuilder_append1(var$4, var$1); jl_AbstractStringBuilder_append1(var$4, var$5); var$1 = jl_AbstractStringBuilder_toString(var$4); } jl_AbstractStringBuilder_insert(var$6, var$8, var$1); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(728)); var$9 = var$6.$length0; if (var$7 === null) var$1 = $rt_s(1); else { var$1 = (!(var$7.$platformClass.$meta.flags & 2) ? 0 : 1) ? $rt_s(102) : !otp_Platform_isPrimitive(var$7.$platformClass) ? $rt_s(103) : $rt_s(18); if (var$7.$name1 === null) var$7.$name1 = otp_Platform_getName(var$7.$platformClass); var$5 = var$7.$name1; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$4); jl_AbstractStringBuilder_append1(var$4, var$1); jl_AbstractStringBuilder_append1(var$4, var$5); var$1 = jl_AbstractStringBuilder_toString(var$4); } jl_AbstractStringBuilder_insert(var$6, var$9, var$1); var$1 = new jl_String; var$10 = var$6.$buffer; var$11 = var$10.data; var$12 = var$6.$length0; var$8 = var$11.length; if (var$12 >= 0 && var$12 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$10.data, 0, var$12); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$1; $rt_throw(var$2); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); }, nle_BaseNCodec$CodecPolicy = $rt_classWithoutFields(jl_Enum), nle_BaseNCodec$CodecPolicy_STRICT = null, nle_BaseNCodec$CodecPolicy_LENIANT = null, nle_BaseNCodec$CodecPolicy_$VALUES = null, nle_BaseNCodec$CodecPolicy__clinit_ = () => { let var$1, var$2; var$1 = new nle_BaseNCodec$CodecPolicy; var$1.$name0 = $rt_s(729); var$1.$ordinal = 0; nle_BaseNCodec$CodecPolicy_STRICT = var$1; var$2 = new nle_BaseNCodec$CodecPolicy; var$2.$name0 = $rt_s(730); var$2.$ordinal = 1; nle_BaseNCodec$CodecPolicy_LENIANT = var$2; nle_BaseNCodec$CodecPolicy_$VALUES = $rt_wrapArray(nle_BaseNCodec$CodecPolicy, [var$1, var$2]); }; function nms_NBTTagByte() { nms_NBTBase.call(this); this.$data = 0; } let nms_NBTTagByte_write = ($this, $par1DataOutput) => { let var$2; var$2 = $this.$data; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_NBTTagByte_load = ($this, $par1DataInput, $par2) => { $par2 = $par1DataInput.$in.$read(); if ($par2 >= 0) { $this.$data = $par2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_NBTTagByte_getId = $this => { return 1; }, nms_NBTTagByte_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$data; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$1 = var$1 << 24 >> 24; jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nms_NBTTagByte_copy = $this => { let var$1, var$2, var$3; var$1 = new nms_NBTTagByte; var$2 = $this.$name; if (var$2 === null) var$2 = $rt_s(18); var$3 = $this.$data; var$1.$name = var$2; var$1.$data = var$3; return var$1; }, nms_NBTTagByte_equals = ($this, $par1Obj) => { let $var2; if (!nms_NBTBase_equals($this, $par1Obj)) return 0; $var2 = $par1Obj; return $this.$data != $var2.$data ? 0 : 1; }, nms_NBTTagByte_hashCode = $this => { let var$1, var$2; a: { var$1 = $this.$name; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } return var$1.$hashCode1 ^ 1 ^ $this.$data; }; function nms_NBTTagShort() { nms_NBTBase.call(this); this.$data2 = 0; } let nms_NBTTagShort_write = ($this, $par1DataOutput) => { ji_DataOutputStream_writeShort($par1DataOutput, $this.$data2); }, nms_NBTTagShort_load = ($this, $par1DataInput, $par2) => { $this.$data2 = ji_DataInputStream_readShort($par1DataInput); }, nms_NBTTagShort_getId = $this => { return 2; }, nms_NBTTagShort_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$data2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$1 = var$1 << 16 >> 16; jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nms_NBTTagShort_copy = $this => { let var$1, var$2, var$3; var$1 = new nms_NBTTagShort; var$2 = $this.$name; if (var$2 === null) var$2 = $rt_s(18); var$3 = $this.$data2; var$1.$name = var$2; var$1.$data2 = var$3; return var$1; }, nms_NBTTagShort_equals = ($this, $par1Obj) => { let $var2; if (!nms_NBTBase_equals($this, $par1Obj)) return 0; $var2 = $par1Obj; return $this.$data2 != $var2.$data2 ? 0 : 1; }, nms_NBTTagShort_hashCode = $this => { let var$1, var$2; a: { var$1 = $this.$name; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } return var$1.$hashCode1 ^ 2 ^ $this.$data2; }; function nms_NBTTagInt() { nms_NBTBase.call(this); this.$data0 = 0; } let nms_NBTTagInt_write = ($this, $par1DataOutput) => { ji_DataOutputStream_writeInt($par1DataOutput, $this.$data0); }, nms_NBTTagInt_load = ($this, $par1DataInput, $par2) => { $this.$data0 = ji_DataInputStream_readInt($par1DataInput); }, nms_NBTTagInt_getId = $this => { return 3; }, nms_NBTTagInt_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$data0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nms_NBTTagInt_copy = $this => { let var$1, var$2, var$3; var$1 = new nms_NBTTagInt; var$2 = $this.$name; if (var$2 === null) var$2 = $rt_s(18); var$3 = $this.$data0; var$1.$name = var$2; var$1.$data0 = var$3; return var$1; }, nms_NBTTagInt_equals = ($this, $par1Obj) => { let $var2; if (!nms_NBTBase_equals($this, $par1Obj)) return 0; $var2 = $par1Obj; return $this.$data0 != $var2.$data0 ? 0 : 1; }, nms_NBTTagInt_hashCode = $this => { let var$1, var$2; a: { var$1 = $this.$name; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } return var$1.$hashCode1 ^ 3 ^ $this.$data0; }; function nms_NBTTagLong() { nms_NBTBase.call(this); this.$data7 = Long_ZERO; } let nms_NBTTagLong_write = ($this, $par1DataOutput) => { ji_DataOutputStream_writeLong($par1DataOutput, $this.$data7); }, nms_NBTTagLong_load = ($this, $par1DataInput, $par2) => { $this.$data7 = ji_DataInputStream_readLong($par1DataInput); }, nms_NBTTagLong_getId = $this => { return 4; }, nms_NBTTagLong_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$data7; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert2(var$2, var$2.$length0, var$1, 10); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nms_NBTTagLong_copy = $this => { let var$1, var$2, var$3; var$1 = new nms_NBTTagLong; var$2 = $this.$name; if (var$2 === null) var$2 = $rt_s(18); var$3 = $this.$data7; var$1.$name = var$2; var$1.$data7 = var$3; return var$1; }, nms_NBTTagLong_equals = ($this, $par1Obj) => { let $var2; if (!nms_NBTBase_equals($this, $par1Obj)) return 0; $var2 = $par1Obj; return Long_ne($this.$data7, $var2.$data7) ? 0 : 1; }, nms_NBTTagLong_hashCode = $this => { let var$1, var$2, var$3; a: { var$1 = $this.$name; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$2 = var$1.$hashCode1 ^ 4; var$3 = $this.$data7; return var$2 ^ Long_lo(Long_xor(var$3, Long_shru(var$3, 32))); }; function nms_NBTTagFloat() { nms_NBTBase.call(this); this.$data4 = 0.0; } let nms_NBTTagFloat_write = ($this, $par1DataOutput) => { let var$2; var$2 = $this.$data4; ji_DataOutputStream_writeInt($par1DataOutput, (isNaN(var$2) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(var$2)); }, nms_NBTTagFloat_load = ($this, $par1DataInput, $par2) => { $this.$data4 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); }, nms_NBTTagFloat_getId = $this => { return 5; }, nms_NBTTagFloat_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$data4; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert5(var$2, var$2.$length0, var$1); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nms_NBTTagFloat_copy = $this => { let var$1, var$2, var$3; var$1 = new nms_NBTTagFloat; var$2 = $this.$name; if (var$2 === null) var$2 = $rt_s(18); var$3 = $this.$data4; var$1.$name = var$2; var$1.$data4 = var$3; return var$1; }, nms_NBTTagFloat_equals = ($this, $par1Obj) => { let $var2; if (!nms_NBTBase_equals($this, $par1Obj)) return 0; $var2 = $par1Obj; return $this.$data4 !== $var2.$data4 ? 0 : 1; }, nms_NBTTagFloat_hashCode = $this => { let var$1, var$2, var$3; a: { var$1 = $this.$name; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$2 = var$1.$hashCode1 ^ 5; var$3 = $this.$data4; return var$2 ^ ((isNaN(var$3) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(var$3)); }; function nms_NBTTagDouble() { nms_NBTBase.call(this); this.$data6 = 0.0; } let nms_NBTTagDouble_write = ($this, $par1DataOutput) => { let var$2; var$2 = $this.$data6; ji_DataOutputStream_writeLong($par1DataOutput, !(isNaN(var$2) ? 1 : 0) ? $rt_doubleToRawLongBits(var$2) : Long_create(0, 2146959360)); }, nms_NBTTagDouble_load = ($this, $par1DataInput, $par2) => { $this.$data6 = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); }, nms_NBTTagDouble_getId = $this => { return 6; }, nms_NBTTagDouble_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$data6; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert4(var$2, var$2.$length0, var$1); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nms_NBTTagDouble_copy = $this => { let var$1, var$2, var$3; var$1 = new nms_NBTTagDouble; var$2 = $this.$name; if (var$2 === null) var$2 = $rt_s(18); var$3 = $this.$data6; var$1.$name = var$2; var$1.$data6 = var$3; return var$1; }, nms_NBTTagDouble_equals = ($this, $par1Obj) => { let $var2; if (!nms_NBTBase_equals($this, $par1Obj)) return 0; $var2 = $par1Obj; return $this.$data6 !== $var2.$data6 ? 0 : 1; }, nms_NBTTagDouble_hashCode = $this => { let var$1, $var1, var$3, var$4; var$1 = $this.$data6; $var1 = !(isNaN(var$1) ? 1 : 0) ? $rt_doubleToRawLongBits(var$1) : Long_create(0, 2146959360); a: { var$3 = $this.$name; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } return var$3.$hashCode1 ^ 6 ^ Long_lo(Long_xor($var1, Long_shru($var1, 32))); }; function nms_NBTTagByteArray() { nms_NBTBase.call(this); this.$byteArray = null; } let nms_NBTTagByteArray_write = ($this, $par1DataOutput) => { let var$2, var$3; ji_DataOutputStream_writeInt($par1DataOutput, $this.$byteArray.data.length); var$2 = $this.$byteArray; var$3 = var$2.data.length; $par1DataOutput.$out0.$write4(var$2, 0, var$3); $par1DataOutput.$written = $par1DataOutput.$written + var$3 | 0; }, nms_NBTTagByteArray_load = ($this, $par1DataInput, $par2) => { let var$3, var$4; var$3 = $rt_createByteArray(ji_DataInputStream_readInt($par1DataInput)); var$4 = var$3.data; $this.$byteArray = var$3; ji_DataInputStream_readFully($par1DataInput, var$3, 0, var$4.length); }, nms_NBTTagByteArray_getId = $this => { return 7; }, nms_NBTTagByteArray_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$byteArray.data.length; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$3, var$3 + 1 | 0); var$2.$buffer.data[var$3] = 91; jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(731)); var$4 = new jl_String; var$5 = var$2.$buffer; var$6 = var$5.data; var$7 = var$2.$length0; var$3 = var$6.length; if (var$7 >= 0 && var$7 <= (var$3 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); return var$4; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nms_NBTTagByteArray_copy = $this => { let var$1, var$2, $var1, var$4, var$5; var$1 = $this.$byteArray; var$2 = var$1.data.length; $var1 = $rt_createByteArray(var$2); jl_System_fastArraycopy(var$1, 0, $var1, 0, var$2); var$4 = new nms_NBTTagByteArray; var$5 = $this.$name; if (var$5 === null) var$5 = $rt_s(18); var$4.$name = var$5; var$4.$byteArray = $var1; return var$4; }, nms_NBTTagByteArray_equals = ($this, $par1Obj) => { return !nms_NBTBase_equals($this, $par1Obj) ? 0 : ju_Arrays_equals0($this.$byteArray, $par1Obj.$byteArray); }, nms_NBTTagByteArray_hashCode = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; a: { var$1 = $this.$name; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$2 = var$1.$hashCode1 ^ 7; var$3 = $this.$byteArray; if (var$3 === null) var$4 = 0; else { var$4 = 1; var$5 = 0; while (true) { var$6 = var$3.data; if (var$5 >= var$6.length) break; var$4 = (31 * var$4 | 0) + var$6[var$5] | 0; var$5 = var$5 + 1 | 0; } } return var$2 ^ var$4; }; function nms_NBTTagIntArray() { nms_NBTBase.call(this); this.$intArray = null; } let nms_NBTTagIntArray_write = ($this, $par1DataOutput) => { let $var2, var$3; ji_DataOutputStream_writeInt($par1DataOutput, $this.$intArray.data.length); $var2 = 0; while (true) { var$3 = $this.$intArray.data; if ($var2 >= var$3.length) break; ji_DataOutputStream_writeInt($par1DataOutput, var$3[$var2]); $var2 = $var2 + 1 | 0; } }, nms_NBTTagIntArray_load = ($this, $par1DataInput, $par2) => { let $var3, $var4; $var3 = ji_DataInputStream_readInt($par1DataInput); $this.$intArray = $rt_createIntArray($var3); $var4 = 0; while ($var4 < $var3) { $this.$intArray.data[$var4] = ji_DataInputStream_readInt($par1DataInput); $var4 = $var4 + 1 | 0; } }, nms_NBTTagIntArray_getId = $this => { return 11; }, nms_NBTTagIntArray_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$intArray.data.length; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$3, var$3 + 1 | 0); var$2.$buffer.data[var$3] = 91; jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(731)); var$4 = new jl_String; var$5 = var$2.$buffer; var$6 = var$5.data; var$7 = var$2.$length0; var$3 = var$6.length; if (var$7 >= 0 && var$7 <= (var$3 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); return var$4; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nms_NBTTagIntArray_copy = $this => { let var$1, var$2, $var1, var$4, var$5; var$1 = $this.$intArray; var$2 = var$1.data.length; $var1 = $rt_createIntArray(var$2); jl_System_fastArraycopy(var$1, 0, $var1, 0, var$2); var$4 = new nms_NBTTagIntArray; var$5 = $this.$name; if (var$5 === null) var$5 = $rt_s(18); var$4.$name = var$5; var$4.$intArray = $var1; return var$4; }, nms_NBTTagIntArray_equals = ($this, $par1Obj) => { let $var2, var$3, var$4; if (!nms_NBTBase_equals($this, $par1Obj)) return 0; a: { b: { $var2 = $par1Obj; var$3 = $this.$intArray; if (!(var$3 === null && $var2.$intArray === null)) { if (var$3 === null) break b; if (!ju_Arrays_equals1(var$3, $var2.$intArray)) break b; } var$4 = 1; break a; } var$4 = 0; } return var$4; }, nms_NBTTagIntArray_hashCode = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; a: { var$1 = $this.$name; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$2 = var$1.$hashCode1 ^ 11; var$3 = $this.$intArray; if (var$3 === null) var$4 = 0; else { var$4 = 1; var$5 = 0; while (true) { var$6 = var$3.data; if (var$5 >= var$6.length) break; var$4 = (31 * var$4 | 0) + var$6[var$5] | 0; var$5 = var$5 + 1 | 0; } } return var$2 ^ var$4; }, jnci_UTF8Charset = $rt_classWithoutFields(jnc_Charset), jnci_UTF8Charset_INSTANCE = null, jnci_UTF8Charset__init_ = $this => { let var$1, var$2, var$3, var$4; var$1 = $rt_createArray(jl_String, 0); var$2 = var$1.data; jnc_Charset_checkCanonicalName($rt_s(86)); var$3 = var$2.length; var$4 = 0; while (var$4 < var$3) { jnc_Charset_checkCanonicalName(var$2[var$4]); var$4 = var$4 + 1 | 0; } $this.$canonicalName = $rt_s(86); $this.$aliases = var$1.$clone0(); }, jnci_UTF8Charset__init_0 = () => { let var_0 = new jnci_UTF8Charset(); jnci_UTF8Charset__init_(var_0); return var_0; }, jnci_UTF8Charset_newDecoder = $this => { let var$1; var$1 = new jnci_UTF8Decoder; jnc_CharsetDecoder__init_(var$1, $this, 0.3333333432674408, 0.5); var$1.$inArray = $rt_createByteArray(512); var$1.$outArray = $rt_createCharArray(512); return var$1; }, jnci_UTF8Charset_newEncoder = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = new jnci_UTF8Encoder; var$2 = $rt_createByteArray(1); var$3 = var$2.data; var$3[0] = 63; var$4 = jnc_CodingErrorAction_REPORT; var$1.$malformedAction0 = var$4; var$1.$unmappableAction = var$4; var$5 = var$3.length; if (var$5 && var$5 >= var$1.$maxBytesPerChar) { var$1.$charset0 = $this; var$1.$replacement1 = var$2.$clone0(); var$1.$averageBytesPerChar = 2.0; var$1.$maxBytesPerChar = 4.0; var$1.$inArray0 = $rt_createCharArray(512); var$1.$outArray0 = $rt_createByteArray(512); return var$1; } var$4 = new jl_IllegalArgumentException; jl_Throwable__init_1(var$4, $rt_s(732)); $rt_throw(var$4); }, jnci_UTF8Charset__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; var$1 = new jnci_UTF8Charset; var$2 = $rt_createArray(jl_String, 0); var$3 = var$2.data; jnc_Charset_checkCanonicalName($rt_s(86)); var$4 = var$3.length; var$5 = 0; while (var$5 < var$4) { jnc_Charset_checkCanonicalName(var$3[var$5]); var$5 = var$5 + 1 | 0; } var$1.$canonicalName = $rt_s(86); var$1.$aliases = var$2.$clone0(); jnci_UTF8Charset_INSTANCE = var$1; }; function ju_Calendar() { let a = this; jl_Object.call(a); a.$areFieldsSet = 0; a.$fields = null; a.$isSet = null; a.$isTimeSet = 0; a.$time = Long_ZERO; a.$lastTimeFieldSet = 0; a.$lastDateFieldSet = 0; a.$lenient = 0; a.$firstDayOfWeek = 0; a.$minimalDaysInFirstWeek = 0; a.$zone = null; } let ju_Calendar_fieldNames = null, ju_Calendar_firstDayOfWeekCache = 0, ju_Calendar_minimalDaysInFirstWeekCache = 0, ju_Calendar_cacheFor = null, ju_Calendar_resolveFirstDayOfWeek = $locale => { let var$2, $dayMap, $country, var$5; if ($locale === ju_Calendar_cacheFor) { var$2 = ju_Calendar_firstDayOfWeekCache; if (var$2 >= 0) return var$2; } $dayMap = $locale.$languageCode; $country = $locale.$countryCode; if ($country.$nativeString.length ? 0 : 1) { if (otciu_CLDRHelper_$$metadata$$0 === null) otciu_CLDRHelper_$$metadata$$0 = otciu_CLDRHelper_getLikelySubtagsMap$$create(); $locale = otciu_CLDRHelper_$$metadata$$0; if ($locale.hasOwnProperty($rt_ustr($dayMap))) $dayMap = ($locale[$rt_ustr($dayMap)].value !== null ? $rt_str($locale[$rt_ustr($dayMap)].value) : null); var$5 = jl_String_lastIndexOf($dayMap, 95, $dayMap.$nativeString.length - 1 | 0); $country = var$5 <= 0 ? $rt_s(18) : jl_String_substring($dayMap, var$5 + 1 | 0, $dayMap.$nativeString.length); } if (otciu_CLDRHelper_$$metadata$$13 === null) otciu_CLDRHelper_$$metadata$$13 = otciu_CLDRHelper_getFirstDayOfWeek$$create(); $dayMap = otciu_CLDRHelper_$$metadata$$13; var$2 = $dayMap.hasOwnProperty($rt_ustr($country)) ? $dayMap[$rt_ustr($country)].value : $dayMap[$rt_ustr($rt_s(733))].value; ju_Calendar_firstDayOfWeekCache = var$2; return var$2; }, ju_Calendar_resolveMinimalDaysInFirstWeek = $locale => { let var$2, $dayMap, $country, var$5; if ($locale === ju_Calendar_cacheFor) { var$2 = ju_Calendar_minimalDaysInFirstWeekCache; if (var$2 >= 0) return var$2; } $dayMap = $locale.$languageCode; $country = $locale.$countryCode; if ($country.$nativeString.length ? 0 : 1) { if (otciu_CLDRHelper_$$metadata$$0 === null) otciu_CLDRHelper_$$metadata$$0 = otciu_CLDRHelper_getLikelySubtagsMap$$create(); $locale = otciu_CLDRHelper_$$metadata$$0; if ($locale.hasOwnProperty($rt_ustr($dayMap))) $dayMap = ($locale[$rt_ustr($dayMap)].value !== null ? $rt_str($locale[$rt_ustr($dayMap)].value) : null); var$5 = jl_String_lastIndexOf($dayMap, 95, $dayMap.$nativeString.length - 1 | 0); $country = var$5 <= 0 ? $rt_s(18) : jl_String_substring($dayMap, var$5 + 1 | 0, $dayMap.$nativeString.length); } if (otciu_CLDRHelper_$$metadata$$12 === null) otciu_CLDRHelper_$$metadata$$12 = otciu_CLDRHelper_getMinimalDaysInFirstWeek$$create(); $dayMap = otciu_CLDRHelper_$$metadata$$12; var$2 = $dayMap.hasOwnProperty($rt_ustr($country)) ? $dayMap[$rt_ustr($country)].value : $dayMap[$rt_ustr($rt_s(733))].value; ju_Calendar_minimalDaysInFirstWeekCache = var$2; return var$2; }, ju_Calendar_set = ($this, $field, $value) => { $this.$fields.data[$field] = $value; $this.$isSet.data[$field] = 1; $this.$areFieldsSet = 0; $this.$isTimeSet = 0; if ($field > 2 && $field < 9) $this.$lastDateFieldSet = $field; if (!($field != 10 && $field != 11)) $this.$lastTimeFieldSet = $field; if ($field == 9) $this.$lastTimeFieldSet = 10; }, ju_Calendar__clinit_ = () => { ju_Calendar_fieldNames = $rt_wrapArray(jl_String, [$rt_s(734), $rt_s(735), $rt_s(736), $rt_s(737), $rt_s(738), $rt_s(739), $rt_s(740), $rt_s(741), $rt_s(742), $rt_s(743), $rt_s(744), $rt_s(745), $rt_s(746), $rt_s(747), $rt_s(748), $rt_s(749), $rt_s(750)]); ju_Calendar_firstDayOfWeekCache = (-1); ju_Calendar_minimalDaysInFirstWeekCache = (-1); }, otjc_JSObjects = $rt_classWithoutFields(), otjc_JSObjects__init_ = $this => { return; }, otjc_JSObjects__init_0 = () => { let var_0 = new otjc_JSObjects(); otjc_JSObjects__init_(var_0); return var_0; }, otjc_JSUndefined = $rt_classWithoutFields(), otjc_JSUndefined__init_ = $this => { otji_JSWrapper_wrap($this); }, otjc_JSUndefined__init_0 = () => { let var_0 = new otjc_JSUndefined(); otjc_JSUndefined__init_(var_0); return var_0; }; function nlea_EaglerAdapterImpl2$immediateContinueTeaVM0$lambda$_203_0() { jl_Object.call(this); this.$_02 = null; } let nlea_EaglerAdapterImpl2$immediateContinueTeaVM0$lambda$_203_0_run = var$0 => { let var$1, var$2; var$1 = var$0.$_02; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = null; var$1.$realAsyncCallback.$complete(var$2); }; function nlea_EaglerAdapterImpl2$immediateContinueTeaVM0$lambda$_203_1() { jl_Object.call(this); this.$_01 = null; } let nlea_EaglerAdapterImpl2$immediateContinueTeaVM0$lambda$_203_1_onTimer$exported$0 = var$0 => { let var$1, var$2; var$1 = var$0.$_01; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = null; var$1.$realAsyncCallback.$complete(var$2); }, jnc_StandardCharsets = $rt_classWithoutFields(), jnc_StandardCharsets_UTF_8 = null, jnc_StandardCharsets_US_ASCII = null, jnc_StandardCharsets_ISO_8859_1 = null, jnc_StandardCharsets_UTF_16 = null, jnc_StandardCharsets_UTF_16BE = null, jnc_StandardCharsets_UTF_16LE = null, jnc_StandardCharsets_$callClinit = () => { jnc_StandardCharsets_$callClinit = $rt_eraseClinit(jnc_StandardCharsets); jnc_StandardCharsets__clinit_(); }, jnc_StandardCharsets__init_ = $this => { jnc_StandardCharsets_$callClinit(); }, jnc_StandardCharsets__init_0 = () => { let var_0 = new jnc_StandardCharsets(); jnc_StandardCharsets__init_(var_0); return var_0; }, jnc_StandardCharsets__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; jnc_StandardCharsets_UTF_8 = jnci_UTF8Charset_INSTANCE; var$1 = new jnci_AsciiCharset; var$2 = $rt_createArray(jl_String, 0); var$3 = var$2.data; jnc_Charset_checkCanonicalName($rt_s(751)); var$4 = var$3.length; var$5 = 0; while (var$5 < var$4) { jnc_Charset_checkCanonicalName(var$3[var$5]); var$5 = var$5 + 1 | 0; } var$1.$canonicalName = $rt_s(751); var$1.$aliases = var$2.$clone0(); jnc_StandardCharsets_US_ASCII = var$1; var$1 = new jnci_Iso8859Charset; var$2 = $rt_createArray(jl_String, 0); var$3 = var$2.data; jnc_Charset_checkCanonicalName($rt_s(752)); var$4 = var$3.length; var$5 = 0; while (var$5 < var$4) { jnc_Charset_checkCanonicalName(var$3[var$5]); var$5 = var$5 + 1 | 0; } var$1.$canonicalName = $rt_s(752); var$1.$aliases = var$2.$clone0(); jnc_StandardCharsets_ISO_8859_1 = var$1; var$6 = new jnci_UTF16Charset; var$2 = $rt_createArray(jl_String, 0); var$3 = var$2.data; jnc_Charset_checkCanonicalName($rt_s(753)); var$7 = var$3.length; var$8 = 0; while (var$8 < var$7) { jnc_Charset_checkCanonicalName(var$3[var$8]); var$8 = var$8 + 1 | 0; } var$6.$canonicalName = $rt_s(753); var$6.$aliases = var$2.$clone0(); var$6.$bom = 1; var$6.$littleEndian = 0; jnc_StandardCharsets_UTF_16 = var$6; var$1 = new jnci_UTF16Charset; var$2 = $rt_createArray(jl_String, 0); var$3 = var$2.data; jnc_Charset_checkCanonicalName($rt_s(754)); var$7 = var$3.length; var$8 = 0; while (var$8 < var$7) { jnc_Charset_checkCanonicalName(var$3[var$8]); var$8 = var$8 + 1 | 0; } var$1.$canonicalName = $rt_s(754); var$1.$aliases = var$2.$clone0(); var$1.$bom = 0; var$1.$littleEndian = 0; jnc_StandardCharsets_UTF_16BE = var$1; var$1 = new jnci_UTF16Charset; var$2 = $rt_createArray(jl_String, 0); var$3 = var$2.data; jnc_Charset_checkCanonicalName($rt_s(755)); var$7 = var$3.length; var$8 = 0; while (var$8 < var$7) { jnc_Charset_checkCanonicalName(var$3[var$8]); var$8 = var$8 + 1 | 0; } var$1.$canonicalName = $rt_s(755); var$1.$aliases = var$2.$clone0(); var$1.$bom = 0; var$1.$littleEndian = 1; jnc_StandardCharsets_UTF_16LE = var$1; }; function jnc_CodingErrorAction() { jl_Object.call(this); this.$name10 = null; } let jnc_CodingErrorAction_IGNORE = null, jnc_CodingErrorAction_REPLACE = null, jnc_CodingErrorAction_REPORT = null, jnc_CodingErrorAction__clinit_ = () => { let var$1; var$1 = new jnc_CodingErrorAction; var$1.$name10 = $rt_s(92); jnc_CodingErrorAction_IGNORE = var$1; var$1 = new jnc_CodingErrorAction; var$1.$name10 = $rt_s(93); jnc_CodingErrorAction_REPLACE = var$1; var$1 = new jnc_CodingErrorAction; var$1.$name10 = $rt_s(94); jnc_CodingErrorAction_REPORT = var$1; }; function jnc_CharsetDecoder() { let a = this; jl_Object.call(a); a.$charset1 = null; a.$averageCharsPerByte = 0.0; a.$maxCharsPerByte = 0.0; a.$replacement0 = null; a.$malformedAction = null; a.$unmappableAction0 = null; a.$state0 = 0; } let jnc_CharsetDecoder__init_ = ($this, $cs, $averageCharsPerByte, $maxCharsPerByte) => { let var$4, var$5, var$6, var$7, var$8, var$9; $this.$replacement0 = $rt_s(756); var$4 = jnc_CodingErrorAction_REPORT; $this.$malformedAction = var$4; $this.$unmappableAction0 = var$4; if ($averageCharsPerByte <= 0.0) { $cs = new jl_IllegalArgumentException; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(757)); jl_AbstractStringBuilder_insert5(var$4, var$4.$length0, $averageCharsPerByte); var$5 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $cs.$suppressionEnabled = 1; $cs.$writableStackTrace = 1; $cs.$message = var$5; $rt_throw($cs); } $cs = new jl_IndexOutOfBoundsException; $cs.$suppressionEnabled = 1; $cs.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($cs); $rt_throw($cs); } if ($maxCharsPerByte > 0.0) { $this.$charset1 = $cs; $this.$averageCharsPerByte = $averageCharsPerByte; $this.$maxCharsPerByte = $maxCharsPerByte; return; } $cs = new jl_IllegalArgumentException; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(758)); jl_AbstractStringBuilder_insert5(var$4, var$4.$length0, $maxCharsPerByte); var$5 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $cs.$suppressionEnabled = 1; $cs.$writableStackTrace = 1; $cs.$message = var$5; $rt_throw($cs); } $cs = new jl_IndexOutOfBoundsException; $cs.$suppressionEnabled = 1; $cs.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($cs); $rt_throw($cs); }, jnc_CharsetDecoder_onMalformedInput = ($this, $newAction) => { let var$2; if ($newAction !== null) { $this.$malformedAction = $newAction; return $this; } var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(759); $rt_throw(var$2); }, jnc_CharsetDecoder_implOnMalformedInput = ($this, $newAction) => { return; }, jnc_CharsetDecoder_onUnmappableCharacter = ($this, $newAction) => { let var$2; if ($newAction !== null) { $this.$unmappableAction0 = $newAction; return $this; } var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(759); $rt_throw(var$2); }, jnc_CharsetDecoder_implOnUnmappableCharacter = ($this, $newAction) => { return; }, jnc_CharsetDecoder_decode0 = ($this, $in, $out, $endOfInput) => { let var$4, $result, $e, var$7, var$8, $$je; var$4 = $this.$state0; if (!(var$4 == 2 && !$endOfInput) && var$4 != 3) { $this.$state0 = $endOfInput ? 2 : 1; while (true) { try { $result = jnci_BufferedDecoder_decodeLoop($this, $in, $out); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_RuntimeException) { $e = $$je; $in = new jnc_CoderMalfunctionError; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $in.$cause = $e; $rt_throw($in); } else { throw $$e; } } var$4 = $result.$kind; if (var$4 != 1 ? 0 : 1) break; if (var$4 ? 0 : 1) { if ($endOfInput) { $endOfInput = $in.$position0; var$7 = $in.$limit0; if ($endOfInput >= var$7 ? 0 : 1) { if ($this.$malformedAction === jnc_CodingErrorAction_REPORT) { var$7 = var$7 - $endOfInput | 0; $in = new jnc_CoderResult; $in.$kind = 2; $in.$length1 = var$7; return $in; } if (($out.$limit0 - $out.$position0 | 0) <= $this.$replacement0.$nativeString.length) return jnc_CoderResult_OVERFLOW; var$7 = $in.$position0; jn_Buffer_position($in, var$7 + ($in.$limit0 - var$7 | 0) | 0); if ($this.$malformedAction === jnc_CodingErrorAction_REPLACE) { $in = $this.$replacement0; jn_CharBuffer_put($out, $in, 0, $in.$nativeString.length); } } } return $result; } if (var$4 != 2 ? 0 : 1) { $e = $this.$malformedAction; if ($e === jnc_CodingErrorAction_REPORT) return $result; if ($e === jnc_CodingErrorAction_REPLACE) { if (($out.$limit0 - $out.$position0 | 0) < $this.$replacement0.$nativeString.length) return jnc_CoderResult_OVERFLOW; $e = $this.$replacement0; jn_CharBuffer_put($out, $e, 0, $e.$nativeString.length); } var$8 = $in.$position0; var$4 = $result.$kind; var$7 = var$4 != 2 ? 0 : 1; if (!(!var$7 && !(var$4 != 3 ? 0 : 1) ? 0 : 1)) { $in = new jl_UnsupportedOperationException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); } jn_Buffer_position($in, var$8 + $result.$length1 | 0); } else if (var$4 != 3 ? 0 : 1) { $e = $this.$unmappableAction0; if ($e === jnc_CodingErrorAction_REPORT) return $result; if ($e === jnc_CodingErrorAction_REPLACE) { if (($out.$limit0 - $out.$position0 | 0) < $this.$replacement0.$nativeString.length) return jnc_CoderResult_OVERFLOW; $e = $this.$replacement0; jn_CharBuffer_put($out, $e, 0, $e.$nativeString.length); } var$8 = $in.$position0; var$4 = $result.$kind; var$7 = var$4 != 2 ? 0 : 1; if (!(!var$7 && !(var$4 != 3 ? 0 : 1) ? 0 : 1)) { $in = new jl_UnsupportedOperationException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); } jn_Buffer_position($in, var$8 + $result.$length1 | 0); } } return $result; } $in = new jl_IllegalStateException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); }, jnc_CharsetDecoder_decode = ($this, $in) => { let var$2, var$3, var$4, $out, $result, var$7, var$8, var$9, var$10, var$11, var$12; var$2 = $this.$state0; if (var$2 && var$2 != 3) { $in = new jl_IllegalStateException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); } var$3 = $in.$limit0 - $in.$position0 | 0; if (!var$3) { $in = new jn_CharBufferOverArray; var$4 = $rt_createCharArray(0); $in.$mark = (-1); $in.$capacity = 0; $in.$limit0 = 0; $in.$position0 = 0; $in.$limit0 = 0; $in.$start1 = 0; $in.$readOnly1 = 0; $in.$array1 = var$4; return $in; } if (var$2) $this.$state0 = 0; var$3 = var$3 * $this.$averageCharsPerByte | 0; if (8 > var$3) var$3 = 8; if (var$3 < 0) { $in = new jl_IllegalArgumentException; $out = new jl_StringBuilder; $out.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($out, $out.$length0, $rt_s(760)); jl_AbstractStringBuilder_insert0($out, $out.$length0, var$3, 10); $result = new jl_String; var$4 = $out.$buffer; var$7 = var$4.data; var$3 = $out.$length0; var$8 = var$7.length; if (var$3 >= 0 && var$3 <= (var$8 - 0 | 0)) { $result.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $in.$message = $result; $rt_throw($in); } $in = new jl_IndexOutOfBoundsException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); } $out = new jn_CharBufferOverArray; var$4 = $rt_createCharArray(var$3); $out.$mark = (-1); $out.$capacity = var$3; $out.$limit0 = var$3; $out.$position0 = 0; $out.$limit0 = var$3; $out.$start1 = 0; $out.$readOnly1 = 0; $out.$array1 = var$4; a: while (true) { $result = jnc_CharsetDecoder_decode0($this, $in, $out, 0); var$2 = $result.$kind; if (var$2 ? 0 : 1) { $in = jnc_CharsetDecoder_decode0($this, $in, $out, 1); var$3 = $in.$kind; var$2 = var$3 != 2 ? 0 : 1; var$2 = !var$2 && !(var$3 != 3 ? 0 : 1) ? 0 : 1; b: { if (var$2) { switch (var$3) { case 0: break; case 1: $in = new jnc_BufferOverflowException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); case 2: $out = new jnc_MalformedInputException; var$2 = $in.$length1; $out.$suppressionEnabled = 1; $out.$writableStackTrace = 1; $out.$length6 = var$2; $rt_throw($out); case 3: $out = new jnc_UnmappableCharacterException; var$2 = $in.$length1; $out.$suppressionEnabled = 1; $out.$writableStackTrace = 1; $out.$length5 = var$2; $rt_throw($out); default: break b; } $in = new jnc_BufferUnderflowException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); } } while (true) { var$3 = $this.$state0; if (var$3 != 3 && var$3 != 2) { $in = new jl_IllegalStateException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); } $this.$state0 = 3; if (jnc_CoderResult_UNDERFLOW.$kind ? 0 : 1) break; var$4 = $out.$array1.data; var$8 = var$4.length; var$3 = var$8 * 2 | 0; if (8 > var$3) var$3 = 8; var$7 = $rt_createCharArray(var$3); if (var$3 < var$8) var$8 = var$3; var$9 = var$7.data; var$2 = 0; while (var$2 < var$8) { var$9[var$2] = var$4[var$2]; var$2 = var$2 + 1 | 0; } var$3 = var$9.length; $in = new jn_CharBufferOverArray; var$10 = 0 + var$3 | 0; $in.$mark = (-1); $in.$capacity = var$3; $in.$limit0 = var$3; $in.$position0 = 0; $in.$limit0 = var$10; $in.$start1 = 0; $in.$readOnly1 = 0; $in.$array1 = var$7; jn_Buffer_position($in, $out.$position0); $out = $in; } $out.$limit0 = $out.$position0; $out.$position0 = 0; $out.$mark = (-1); return $out; } if (var$2 != 1 ? 0 : 1) { var$4 = $out.$array1.data; var$8 = var$4.length; var$3 = var$8 * 2 | 0; if (8 > var$3) var$3 = 8; var$7 = $rt_createCharArray(var$3); if (var$3 < var$8) var$8 = var$3; var$9 = var$7.data; var$2 = 0; while (var$2 < var$8) { var$9[var$2] = var$4[var$2]; var$2 = var$2 + 1 | 0; } var$11 = var$9.length; var$12 = new jn_CharBufferOverArray; var$8 = 0 + var$11 | 0; var$12.$mark = (-1); var$12.$capacity = var$11; var$12.$limit0 = var$11; var$12.$position0 = 0; var$12.$limit0 = var$8; var$12.$start1 = 0; var$12.$readOnly1 = 0; var$12.$array1 = var$7; jn_Buffer_position(var$12, $out.$position0); $out = var$12; } var$3 = $result.$kind; var$2 = var$3 != 2 ? 0 : 1; if (!(!var$2 && !(var$3 != 3 ? 0 : 1) ? 0 : 1)) continue; switch (var$3) { case 0: break a; case 1: $in = new jnc_BufferOverflowException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); case 2: $in = new jnc_MalformedInputException; var$2 = $result.$length1; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $in.$length6 = var$2; $rt_throw($in); case 3: $in = new jnc_UnmappableCharacterException; var$2 = $result.$length1; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $in.$length5 = var$2; $rt_throw($in); default: } } $in = new jnc_BufferUnderflowException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); }, jnc_CharsetDecoder_implFlush = ($this, $out) => { return jnc_CoderResult_UNDERFLOW; }, jnc_CharsetDecoder_implReset = $this => { return; }, jnc_CharacterCodingException = $rt_classWithoutFields(ji_IOException), jnc_CharacterCodingException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jnc_CharacterCodingException__init_0 = () => { let var_0 = new jnc_CharacterCodingException(); jnc_CharacterCodingException__init_(var_0); return var_0; }, jl_Error = $rt_classWithoutFields(jl_Throwable), jl_Error__init_0 = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_Error__init_2 = () => { let var_0 = new jl_Error(); jl_Error__init_0(var_0); return var_0; }, jl_Error__init_ = ($this, $message, $cause) => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; $this.$message = $message; $this.$cause = $cause; }, jl_Error__init_1 = (var_0, var_1) => { let var_2 = new jl_Error(); jl_Error__init_(var_2, var_0, var_1); return var_2; }, jl_AssertionError = $rt_classWithoutFields(jl_Error), jl_AssertionError__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_AssertionError__init_0 = () => { let var_0 = new jl_AssertionError(); jl_AssertionError__init_(var_0); return var_0; }, jlr_Array = $rt_classWithoutFields(), jlr_Array__init_ = $this => { return; }, jlr_Array__init_0 = () => { let var_0 = new jlr_Array(); jlr_Array__init_(var_0); return var_0; }, jlr_Array_getLength = var$1 => { if (var$1 === null || var$1.constructor.$meta.item === 'undefined') { $rt_throw(jl_IllegalArgumentException__init_0()); } return var$1.data.length; }, jlr_Array_newInstanceImpl = (var$1, var$2) => { if (var$1.$meta.primitive) { switch (var$1) { } ; } return $rt_createArray(var$1, var$2); }, jlr_Array_getImpl = (var$1, var$2) => { var item = var$1.data[var$2]; var type = var$1.constructor.$meta.item; if (type === $rt_booleancls) { return jl_Boolean_valueOf(item); } else if (type === $rt_bytecls) { return jl_Byte_valueOf(item); } else if (type === $rt_shortcls) { return jl_Short_valueOf(item); } else if (type === $rt_charcls) { return jl_Character_valueOf(item); } else if (type === $rt_intcls) { return jl_Integer_valueOf(item); } else if (type === $rt_longcls) { return jl_Long_valueOf(item); } else if (type === $rt_floatcls) { return jl_Float_valueOf(item); } else if (type === $rt_doublecls) { return jl_Double_valueOf(item); } else { return item; } }, jl_ArrayStoreException = $rt_classWithoutFields(jl_RuntimeException), jl_ArrayStoreException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_ArrayStoreException__init_0 = () => { let var_0 = new jl_ArrayStoreException(); jl_ArrayStoreException__init_(var_0); return var_0; }, jur_SpecialToken = $rt_classWithoutFields(); function jur_AbstractCharClass() { let a = this; jur_SpecialToken.call(a); a.$alt = 0; a.$altSurrogates = 0; a.$lowHighSurrogates = null; a.$charClassWithoutSurrogates = null; a.$charClassWithSurrogates = null; a.$mayContainSupplCodepoints = 0; } let jur_AbstractCharClass_charClasses = null, jur_AbstractCharClass_getBits = $this => { return null; }, jur_AbstractCharClass_getLowHighSurrogates = $this => { return $this.$lowHighSurrogates; }, jur_AbstractCharClass_hasLowHighSurrogates = $this => { return !$this.$altSurrogates ? (ju_BitSet_nextSetBit($this.$lowHighSurrogates, 0) >= 2048 ? 0 : 1) : ju_BitSet_nextClearBit($this.$lowHighSurrogates, 0) >= 2048 ? 0 : 1; }, jur_AbstractCharClass_mayContainSupplCodepoints = $this => { return $this.$mayContainSupplCodepoints; }, jur_AbstractCharClass_getInstance = $this => { return $this; }, jur_AbstractCharClass_getSurrogates = $this => { let $lHS, var$2; if ($this.$charClassWithSurrogates === null) { $lHS = $this.$getLowHighSurrogates(); var$2 = new jur_AbstractCharClass$1; var$2.$this$042 = $this; var$2.$val$lHS = $lHS; $lHS = new ju_BitSet; $lHS.$data3 = $rt_createIntArray(64); var$2.$lowHighSurrogates = $lHS; $this.$charClassWithSurrogates = var$2; jur_AbstractCharClass_setNegative(var$2, $this.$altSurrogates); } return $this.$charClassWithSurrogates; }, jur_AbstractCharClass_getWithoutSurrogates = $this => { let $lHS, var$2; if ($this.$charClassWithoutSurrogates === null) { $lHS = $this.$getLowHighSurrogates(); var$2 = new jur_AbstractCharClass$2; var$2.$this$033 = $this; var$2.$val$lHS0 = $lHS; var$2.$val$thisClass = $this; $lHS = new ju_BitSet; $lHS.$data3 = $rt_createIntArray(64); var$2.$lowHighSurrogates = $lHS; $this.$charClassWithoutSurrogates = var$2; jur_AbstractCharClass_setNegative(var$2, $this.$alt); $this.$charClassWithoutSurrogates.$mayContainSupplCodepoints = $this.$mayContainSupplCodepoints; } return $this.$charClassWithoutSurrogates; }, jur_AbstractCharClass_hasUCI = $this => { return 0; }, jur_AbstractCharClass_setNegative = ($this, $value) => { let var$2; var$2 = $this.$alt; if (var$2 ^ $value) { $this.$alt = var$2 ? 0 : 1; $this.$altSurrogates = $this.$altSurrogates ? 0 : 1; } if (!$this.$mayContainSupplCodepoints) $this.$mayContainSupplCodepoints = 1; return $this; }, jur_AbstractCharClass_isNegative = $this => { return $this.$alt; }, jur_AbstractCharClass_getPredefinedClass = ($name, $negative) => { $name = jur_AbstractCharClass$PredefinedCharacterClasses_getObject(jur_AbstractCharClass_charClasses, $name); if (!$negative && $name.$posValue === null) $name.$posValue = $name.$computeValue(); else if ($negative && $name.$negValue === null) $name.$negValue = jur_AbstractCharClass_setNegative($name.$computeValue(), 1); return $negative ? $name.$negValue : $name.$posValue; }, jur_AbstractCharClass__clinit_ = () => { jur_AbstractCharClass_charClasses = new jur_AbstractCharClass$PredefinedCharacterClasses; }; function ju_MissingResourceException() { let a = this; jl_RuntimeException.call(a); a.$className0 = null; a.$key3 = null; } function jur_CharClass() { let a = this; jur_AbstractCharClass.call(a); a.$ci = 0; a.$uci = 0; a.$hasUCI0 = 0; a.$invertedSurrogates = 0; a.$inverted = 0; a.$hideBits = 0; a.$bits = null; a.$nonBitSet = null; } let jur_CharClass__init_ = $this => { let var$1; var$1 = new ju_BitSet; var$1.$data3 = $rt_createIntArray(64); $this.$lowHighSurrogates = var$1; var$1 = new ju_BitSet; var$1.$data3 = $rt_createIntArray(2); $this.$bits = var$1; }, jur_CharClass__init_0 = () => { let var_0 = new jur_CharClass(); jur_CharClass__init_(var_0); return var_0; }, jur_CharClass_add0 = ($this, $ch) => { let var$2; a: { if ($this.$ci) { b: { if (!($ch >= 97 && $ch <= 122)) { if ($ch < 65) break b; if ($ch > 90) break b; } if ($this.$inverted) { ju_BitSet_clear($this.$bits, jur_Pattern_getSupplement($ch & 65535)); break a; } ju_BitSet_set0($this.$bits, jur_Pattern_getSupplement($ch & 65535)); break a; } if ($this.$uci && $ch > 128) { $this.$hasUCI0 = 1; if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } $ch = jl_Character_mapChar(jl_Character_upperCaseMapping, $ch); if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } $ch = jl_Character_mapChar(jl_Character_lowerCaseMapping, $ch); } } } var$2 = $ch <= 56319 && $ch >= 55296 ? 1 : 0; if (!(!var$2 && !($ch <= 57343 && $ch >= 56320 ? 1 : 0))) { if ($this.$invertedSurrogates) ju_BitSet_clear($this.$lowHighSurrogates, $ch - 55296 | 0); else ju_BitSet_set0($this.$lowHighSurrogates, $ch - 55296 | 0); } if ($this.$inverted) ju_BitSet_clear($this.$bits, $ch); else ju_BitSet_set0($this.$bits, $ch); if (!$this.$mayContainSupplCodepoints && ($ch >= 65536 && $ch <= 1114111 ? 1 : 0)) $this.$mayContainSupplCodepoints = 1; return $this; }, jur_CharClass_add1 = ($this, $cc) => { let $curAlt, $nb, var$4; if (!$this.$mayContainSupplCodepoints && $cc.$mayContainSupplCodepoints) $this.$mayContainSupplCodepoints = 1; if ($this.$invertedSurrogates) { if (!$cc.$altSurrogates) ju_BitSet_andNot($this.$lowHighSurrogates, $cc.$getLowHighSurrogates()); else ju_BitSet_and($this.$lowHighSurrogates, $cc.$getLowHighSurrogates()); } else if (!$cc.$altSurrogates) ju_BitSet_or($this.$lowHighSurrogates, $cc.$getLowHighSurrogates()); else { ju_BitSet_xor($this.$lowHighSurrogates, $cc.$getLowHighSurrogates()); ju_BitSet_and($this.$lowHighSurrogates, $cc.$getLowHighSurrogates()); $this.$altSurrogates = $this.$altSurrogates ? 0 : 1; $this.$invertedSurrogates = 1; } if (!$this.$hideBits && $cc.$getBits() !== null) { if ($this.$inverted) { if (!$cc.$alt) ju_BitSet_andNot($this.$bits, $cc.$getBits()); else ju_BitSet_and($this.$bits, $cc.$getBits()); } else if (!$cc.$alt) ju_BitSet_or($this.$bits, $cc.$getBits()); else { ju_BitSet_xor($this.$bits, $cc.$getBits()); ju_BitSet_and($this.$bits, $cc.$getBits()); $this.$alt = $this.$alt ? 0 : 1; $this.$inverted = 1; } } else { $curAlt = $this.$alt; $nb = $this.$nonBitSet; if ($nb !== null) { if (!$curAlt) { var$4 = new jur_CharClass$5; var$4.$this$049 = $this; var$4.$val$curAlt10 = $curAlt; var$4.$val$nb0 = $nb; var$4.$val$cc = $cc; $cc = new ju_BitSet; $cc.$data3 = $rt_createIntArray(64); var$4.$lowHighSurrogates = $cc; $this.$nonBitSet = var$4; } else { var$4 = new jur_CharClass$4; var$4.$this$056 = $this; var$4.$val$curAlt6 = $curAlt; var$4.$val$nb3 = $nb; var$4.$val$cc2 = $cc; $cc = new ju_BitSet; $cc.$data3 = $rt_createIntArray(64); var$4.$lowHighSurrogates = $cc; $this.$nonBitSet = var$4; } } else { if ($curAlt && !$this.$inverted && ($this.$bits.$length2 ? 0 : 1)) { $nb = new jur_CharClass$1; $nb.$this$039 = $this; $nb.$val$cc3 = $cc; $cc = new ju_BitSet; $cc.$data3 = $rt_createIntArray(64); $nb.$lowHighSurrogates = $cc; $this.$nonBitSet = $nb; } else if (!$curAlt) { $nb = new jur_CharClass$3; $nb.$this$015 = $this; $nb.$val$curAlt0 = $curAlt; $nb.$val$cc1 = $cc; $cc = new ju_BitSet; $cc.$data3 = $rt_createIntArray(64); $nb.$lowHighSurrogates = $cc; $this.$nonBitSet = $nb; } else { $nb = new jur_CharClass$2; $nb.$this$014 = $this; $nb.$val$curAlt = $curAlt; $nb.$val$cc0 = $cc; $cc = new ju_BitSet; $cc.$data3 = $rt_createIntArray(64); $nb.$lowHighSurrogates = $cc; $this.$nonBitSet = $nb; } $this.$hideBits = 1; } } return $this; }, jur_CharClass_add = ($this, $i, $end) => { let var$3; if ($i > $end) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } a: { b: { if (!$this.$ci) { if ($end < 55296) break b; if ($i > 57343) break b; } $end = $end + 1 | 0; while (true) { if ($i >= $end) break a; jur_CharClass_add0($this, $i); $i = $i + 1 | 0; } } if ($this.$inverted) ju_BitSet_clear0($this.$bits, $i, $end + 1 | 0); else ju_BitSet_set($this.$bits, $i, $end + 1 | 0); } return $this; }, jur_CharClass_union = ($this, $clazz) => { let $curAlt, var$3, $nb, var$5; if (!$this.$mayContainSupplCodepoints && $clazz.$mayContainSupplCodepoints) $this.$mayContainSupplCodepoints = 1; if ($clazz.$hasUCI0) $this.$hasUCI0 = 1; $curAlt = $this.$altSurrogates; if (!($curAlt ^ $clazz.$altSurrogates)) { if (!$curAlt) ju_BitSet_or($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); else ju_BitSet_and($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); } else if ($curAlt) ju_BitSet_andNot($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); else { ju_BitSet_xor($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); ju_BitSet_and($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); $this.$altSurrogates = 1; } a: { if (!$this.$hideBits) { var$3 = $clazz.$hideBits; if ((!var$3 ? $clazz.$bits : null) !== null) { $curAlt = $this.$alt; if (!($curAlt ^ $clazz.$alt)) { if (!$curAlt) { ju_BitSet_or($this.$bits, !var$3 ? $clazz.$bits : null); break a; } ju_BitSet_and($this.$bits, !var$3 ? $clazz.$bits : null); break a; } if ($curAlt) { ju_BitSet_andNot($this.$bits, !var$3 ? $clazz.$bits : null); break a; } ju_BitSet_xor($this.$bits, !var$3 ? $clazz.$bits : null); ju_BitSet_and($this.$bits, !$clazz.$hideBits ? $clazz.$bits : null); $this.$alt = 1; break a; } } $curAlt = $this.$alt; $nb = $this.$nonBitSet; if ($nb !== null) { if (!$curAlt) { var$5 = new jur_CharClass$11; var$5.$this$028 = $this; var$5.$val$curAlt2 = $curAlt; var$5.$val$nb4 = $nb; var$5.$val$clazz1 = $clazz; $clazz = new ju_BitSet; $clazz.$data3 = $rt_createIntArray(64); var$5.$lowHighSurrogates = $clazz; $this.$nonBitSet = var$5; } else { var$5 = new jur_CharClass$10; var$5.$this$044 = $this; var$5.$val$curAlt9 = $curAlt; var$5.$val$nb = $nb; var$5.$val$clazz = $clazz; $clazz = new ju_BitSet; $clazz.$data3 = $rt_createIntArray(64); var$5.$lowHighSurrogates = $clazz; $this.$nonBitSet = var$5; } } else { if (!$this.$inverted && ($this.$bits.$length2 ? 0 : 1)) { if (!$curAlt) { $nb = new jur_CharClass$7; $nb.$this$043 = $this; $nb.$val$clazz5 = $clazz; $clazz = new ju_BitSet; $clazz.$data3 = $rt_createIntArray(64); $nb.$lowHighSurrogates = $clazz; $this.$nonBitSet = $nb; } else { $nb = new jur_CharClass$6; $nb.$this$037 = $this; $nb.$val$clazz9 = $clazz; $clazz = new ju_BitSet; $clazz.$data3 = $rt_createIntArray(64); $nb.$lowHighSurrogates = $clazz; $this.$nonBitSet = $nb; } } else if (!$curAlt) { $nb = new jur_CharClass$9; $nb.$this$024 = $this; $nb.$val$clazz0 = $clazz; $nb.$val$curAlt3 = $curAlt; $clazz = new ju_BitSet; $clazz.$data3 = $rt_createIntArray(64); $nb.$lowHighSurrogates = $clazz; $this.$nonBitSet = $nb; } else { $nb = new jur_CharClass$8; $nb.$this$018 = $this; $nb.$val$clazz7 = $clazz; $nb.$val$curAlt7 = $curAlt; $clazz = new ju_BitSet; $clazz.$data3 = $rt_createIntArray(64); $nb.$lowHighSurrogates = $clazz; $this.$nonBitSet = $nb; } $this.$hideBits = 1; } } }, jur_CharClass_intersection = ($this, $clazz) => { let $curAlt, var$3, $nb, var$5; if (!$this.$mayContainSupplCodepoints && $clazz.$mayContainSupplCodepoints) $this.$mayContainSupplCodepoints = 1; if ($clazz.$hasUCI0) $this.$hasUCI0 = 1; $curAlt = $this.$altSurrogates; if (!($curAlt ^ $clazz.$altSurrogates)) { if (!$curAlt) ju_BitSet_and($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); else ju_BitSet_or($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); } else if (!$curAlt) ju_BitSet_andNot($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); else { ju_BitSet_xor($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); ju_BitSet_and($this.$lowHighSurrogates, $clazz.$lowHighSurrogates); $this.$altSurrogates = 0; } a: { if (!$this.$hideBits) { var$3 = $clazz.$hideBits; if ((!var$3 ? $clazz.$bits : null) !== null) { $curAlt = $this.$alt; if (!($curAlt ^ $clazz.$alt)) { if (!$curAlt) { ju_BitSet_and($this.$bits, !var$3 ? $clazz.$bits : null); break a; } ju_BitSet_or($this.$bits, !var$3 ? $clazz.$bits : null); break a; } if (!$curAlt) { ju_BitSet_andNot($this.$bits, !var$3 ? $clazz.$bits : null); break a; } ju_BitSet_xor($this.$bits, !var$3 ? $clazz.$bits : null); ju_BitSet_and($this.$bits, !$clazz.$hideBits ? $clazz.$bits : null); $this.$alt = 0; break a; } } $curAlt = $this.$alt; $nb = $this.$nonBitSet; if ($nb !== null) { if (!$curAlt) { var$5 = new jur_CharClass$17; var$5.$this$048 = $this; var$5.$val$curAlt5 = $curAlt; var$5.$val$nb2 = $nb; var$5.$val$clazz6 = $clazz; $clazz = new ju_BitSet; $clazz.$data3 = $rt_createIntArray(64); var$5.$lowHighSurrogates = $clazz; $this.$nonBitSet = var$5; } else { var$5 = new jur_CharClass$16; var$5.$this$038 = $this; var$5.$val$curAlt8 = $curAlt; var$5.$val$nb1 = $nb; var$5.$val$clazz3 = $clazz; $clazz = new ju_BitSet; $clazz.$data3 = $rt_createIntArray(64); var$5.$lowHighSurrogates = $clazz; $this.$nonBitSet = var$5; } } else { if (!$this.$inverted && ($this.$bits.$length2 ? 0 : 1)) { if (!$curAlt) { $nb = new jur_CharClass$13; $nb.$this$029 = $this; $nb.$val$clazz8 = $clazz; $clazz = new ju_BitSet; $clazz.$data3 = $rt_createIntArray(64); $nb.$lowHighSurrogates = $clazz; $this.$nonBitSet = $nb; } else { $nb = new jur_CharClass$12; $nb.$this$055 = $this; $nb.$val$clazz4 = $clazz; $clazz = new ju_BitSet; $clazz.$data3 = $rt_createIntArray(64); $nb.$lowHighSurrogates = $clazz; $this.$nonBitSet = $nb; } } else if (!$curAlt) { $nb = new jur_CharClass$15; $nb.$this$021 = $this; $nb.$val$clazz10 = $clazz; $nb.$val$curAlt1 = $curAlt; $clazz = new ju_BitSet; $clazz.$data3 = $rt_createIntArray(64); $nb.$lowHighSurrogates = $clazz; $this.$nonBitSet = $nb; } else { $nb = new jur_CharClass$14; $nb.$this$022 = $this; $nb.$val$clazz2 = $clazz; $nb.$val$curAlt4 = $curAlt; $clazz = new ju_BitSet; $clazz.$data3 = $rt_createIntArray(64); $nb.$lowHighSurrogates = $clazz; $this.$nonBitSet = $nb; } $this.$hideBits = 1; } } }, jur_CharClass_contains = ($this, $ch) => { let var$2; var$2 = $this.$nonBitSet; if (var$2 !== null) return $this.$alt ^ var$2.$contains0($ch); return $this.$alt ^ ju_BitSet_get($this.$bits, $ch); }, jur_CharClass_getBits = $this => { if (!$this.$hideBits) return $this.$bits; return null; }, jur_CharClass_getLowHighSurrogates = $this => { return $this.$lowHighSurrogates; }, jur_CharClass_getInstance = $this => { let $bs, $res; if ($this.$nonBitSet !== null) return $this; $bs = !$this.$hideBits ? $this.$bits : null; $res = new jur_CharClass$18; $res.$this$047 = $this; $res.$val$bs = $bs; $bs = new ju_BitSet; $bs.$data3 = $rt_createIntArray(64); $res.$lowHighSurrogates = $bs; return jur_AbstractCharClass_setNegative($res, $this.$alt); }, jur_CharClass_toString = $this => { let $temp, $i, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $temp = new jl_StringBuilder; $temp.$buffer = $rt_createCharArray(16); $i = ju_BitSet_nextSetBit($this.$bits, 0); while ($i >= 0) { var$3 = (jl_Character_toChars($i)).data; var$4 = 0; var$5 = var$3.length; var$6 = $temp.$length0; jl_AbstractStringBuilder_insertSpace($temp, var$6, var$6 + var$5 | 0); var$5 = var$5 + var$4 | 0; while (var$4 < var$5) { var$7 = $temp.$buffer.data; var$8 = var$6 + 1 | 0; var$9 = var$4 + 1 | 0; var$7[var$6] = var$3[var$4]; var$6 = var$8; var$4 = var$9; } var$6 = $temp.$length0; jl_AbstractStringBuilder_insertSpace($temp, var$6, var$6 + 1 | 0); $temp.$buffer.data[var$6] = 124; $i = ju_BitSet_nextSetBit($this.$bits, $i + 1 | 0); } var$4 = $temp.$length0; if (var$4 > 0) jl_AbstractStringBuilder_deleteCharAt($temp, var$4 - 1 | 0); var$10 = new jl_String; var$3 = $temp.$buffer; var$7 = var$3.data; var$4 = $temp.$length0; var$6 = var$7.length; if (var$4 >= 0 && var$4 <= (var$6 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$3.data, 0, var$4); return var$10; } $temp = new jl_IndexOutOfBoundsException; $temp.$suppressionEnabled = 1; $temp.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($temp); $rt_throw($temp); }, jur_CharClass_hasUCI = $this => { return $this.$hasUCI0; }; function jur_QuantifierSet() { jur_AbstractSet.call(this); this.$innerSet = null; } let jur_QuantifierSet_getInnerSet = $this => { return $this.$innerSet; }, jur_QuantifierSet_first = ($this, $set) => { return !$this.$innerSet.$first($set) && !$this.$next4.$first($set) ? 0 : 1; }, jur_QuantifierSet_hasConsumed = ($this, $mr) => { return 1; }, jur_QuantifierSet_processSecondPass = $this => { let $set; $this.$isSecondPassVisited = 1; $set = $this.$next4; if ($set !== null && !$set.$isSecondPassVisited) { $set = $set.$processBackRefReplacement(); if ($set !== null) { $this.$next4.$isSecondPassVisited = 1; $this.$next4 = $set; } $this.$next4.$processSecondPass(); } $set = $this.$innerSet; if ($set !== null) { if (!$set.$isSecondPassVisited) { $set = $set.$processBackRefReplacement(); if ($set !== null) { $this.$innerSet.$isSecondPassVisited = 1; $this.$innerSet = $set; } $this.$innerSet.$processSecondPass(); } else if ($set instanceof jur_SingleSet && $set.$fSet.$isBackReferenced) $this.$innerSet = $set.$next4; } }; function jur_LeafQuantifierSet() { jur_QuantifierSet.call(this); this.$leaf = null; } let jur_LeafQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $i, var$5; $i = 0; a: { while (($stringIndex + $this.$leaf.$charCount() | 0) <= $matchResult.$rightBound) { var$5 = $this.$leaf.$accepts($stringIndex, $testString); if (var$5 <= 0) break a; $stringIndex = $stringIndex + var$5 | 0; $i = $i + 1 | 0; } } while (true) { if ($i < 0) return (-1); var$5 = $this.$next4.$matches($stringIndex, $testString, $matchResult); if (var$5 >= 0) break; $stringIndex = $stringIndex - $this.$leaf.$charCount() | 0; $i = $i + (-1) | 0; } return var$5; }, jur_LeafQuantifierSet_getName = $this => { return $rt_s(761); }; function jur_CompositeQuantifierSet() { jur_LeafQuantifierSet.call(this); this.$quantifier0 = null; } let jur_CompositeQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let var$4, $min, $max, $i, $shift; var$4 = $this.$quantifier0; $min = var$4.$min0; $max = var$4.$max0; $i = 0; while (true) { if ($i >= $min) { a: { while ($i < $max) { if (($stringIndex + $this.$leaf.$charCount() | 0) > $matchResult.$rightBound) break a; $shift = $this.$leaf.$accepts($stringIndex, $testString); if ($shift < 1) break a; $stringIndex = $stringIndex + $shift | 0; $i = $i + 1 | 0; } } while (true) { if ($i < $min) return (-1); $shift = $this.$next4.$matches($stringIndex, $testString, $matchResult); if ($shift >= 0) break; $stringIndex = $stringIndex - $this.$leaf.$charCount() | 0; $i = $i + (-1) | 0; } return $shift; } if (($stringIndex + $this.$leaf.$charCount() | 0) > $matchResult.$rightBound) { $matchResult.$hitEnd = 1; return (-1); } $shift = $this.$leaf.$accepts($stringIndex, $testString); if ($shift < 1) break; $stringIndex = $stringIndex + $shift | 0; $i = $i + 1 | 0; } return (-1); }, jur_CompositeQuantifierSet_getName = $this => { return jur_Quantifier_toString($this.$quantifier0); }, jur_GroupQuantifierSet = $rt_classWithoutFields(jur_QuantifierSet), jur_GroupQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $nextIndex; if (!$this.$innerSet.$hasConsumed($matchResult)) return $this.$next4.$matches($stringIndex, $testString, $matchResult); $nextIndex = $this.$innerSet.$matches($stringIndex, $testString, $matchResult); if ($nextIndex >= 0) return $nextIndex; return $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_GroupQuantifierSet_getName = $this => { return $rt_s(762); }, jur_AltQuantifierSet = $rt_classWithoutFields(jur_LeafQuantifierSet), jur_AltQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $shift; $shift = $this.$innerSet.$matches($stringIndex, $testString, $matchResult); if ($shift < 0) $shift = $this.$next4.$matches($stringIndex, $testString, $matchResult); return $shift; }, jur_AltQuantifierSet_setNext = ($this, $next) => { $this.$next4 = $next; $this.$innerSet.$setNext($next); }, jur_UnifiedQuantifierSet = $rt_classWithoutFields(jur_LeafQuantifierSet), jur_UnifiedQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { while (($stringIndex + $this.$leaf.$charCount() | 0) <= $matchResult.$rightBound && $this.$leaf.$accepts($stringIndex, $testString) > 0) { $stringIndex = $stringIndex + $this.$leaf.$charCount() | 0; } return $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_UnifiedQuantifierSet_find = ($this, $stringIndex, $testString, $matchResult) => { let $startSearch, $newSearch, $newSearch_0; $startSearch = $this.$next4.$find0($stringIndex, $testString, $matchResult); if ($startSearch < 0) return (-1); $newSearch = $startSearch - $this.$leaf.$charCount() | 0; while ($newSearch >= $stringIndex && $this.$leaf.$accepts($newSearch, $testString) > 0) { $newSearch_0 = $newSearch - $this.$leaf.$charCount() | 0; $startSearch = $newSearch; $newSearch = $newSearch_0; } return $startSearch; }; function ju_GregorianCalendar() { let a = this; ju_Calendar.call(a); a.$gregorianCutover = Long_ZERO; a.$changeYear = 0; a.$julianSkew = 0; a.$isCached = 0; a.$cachedFields = null; a.$nextMidnightMillis = Long_ZERO; a.$lastMidnightMillis = Long_ZERO; a.$currentYearSkew = 0; a.$lastYearSkew = 0; } let ju_GregorianCalendar_daysInMonth = null, ju_GregorianCalendar_daysInYear = null, ju_GregorianCalendar_maximums = null, ju_GregorianCalendar_minimums = null, ju_GregorianCalendar_leastMaximums = null, ju_GregorianCalendar__init_1 = $this => { let var$1, var$2, var$3, var$4, $$je; ju_Locale_$callClinit(); var$1 = ju_Locale_defaultLocale; ju_TimeZone_$callClinit(); if (ju_TimeZone_defaultTz === null) { var$2 = otcit_DateTimeZoneProvider_detectTimezone(); if (var$2 === null) var$3 = null; else { var$3 = new ju_IANATimeZone; var$3.$id5 = var$2.$iID; var$3.$underlyingZone = var$2; var$4 = var$2.$getStandardOffset(jl_System_currentTimeMillis()); var$3.$rawOffset = var$4; var$3.$diff = -var$4 | 0; } ju_TimeZone_defaultTz = var$3; if (var$3 === null) ju_TimeZone_defaultTz = ju_TimeZone_GMT; } var$2 = ju_TimeZone_defaultTz; a: { try { var$3 = jl_Object_clone(var$2); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { } else { throw $$e; } } var$3 = null; } var$3.$rawOffset = var$2.$rawOffset; var$3.$underlyingZone = var$2.$underlyingZone; ju_GregorianCalendar__init_($this, var$3, var$1); }, ju_GregorianCalendar__init_2 = () => { let var_0 = new ju_GregorianCalendar(); ju_GregorianCalendar__init_1(var_0); return var_0; }, ju_GregorianCalendar__init_3 = ($this, $locale) => { let var$2, var$3, var$4, $$je; ju_TimeZone_$callClinit(); if (ju_TimeZone_defaultTz === null) { var$2 = otcit_DateTimeZoneProvider_detectTimezone(); if (var$2 === null) var$3 = null; else { var$3 = new ju_IANATimeZone; var$3.$id5 = var$2.$iID; var$3.$underlyingZone = var$2; var$4 = var$2.$getStandardOffset(jl_System_currentTimeMillis()); var$3.$rawOffset = var$4; var$3.$diff = -var$4 | 0; } ju_TimeZone_defaultTz = var$3; if (var$3 === null) ju_TimeZone_defaultTz = ju_TimeZone_GMT; } var$2 = ju_TimeZone_defaultTz; a: { try { var$3 = jl_Object_clone(var$2); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { } else { throw $$e; } } var$3 = null; } var$3.$rawOffset = var$2.$rawOffset; var$3.$underlyingZone = var$2.$underlyingZone; ju_GregorianCalendar__init_($this, var$3, $locale); }, ju_GregorianCalendar__init_0 = var_0 => { let var_1 = new ju_GregorianCalendar(); ju_GregorianCalendar__init_3(var_1, var_0); return var_1; }, ju_GregorianCalendar__init_ = ($this, $timezone, $locale) => { let var$3; $this.$fields = $rt_createIntArray(17); $this.$isSet = $rt_createBooleanArray(17); $this.$areFieldsSet = 0; $this.$isTimeSet = 0; $this.$lenient = 1; $this.$zone = $timezone; $this.$areFieldsSet = 0; $this.$fields = $rt_createIntArray(17); $this.$isSet = $rt_createBooleanArray(17); $this.$areFieldsSet = 0; $this.$isTimeSet = 0; $this.$lenient = 1; $this.$firstDayOfWeek = ju_Calendar_resolveFirstDayOfWeek($locale); $this.$isCached = 0; $this.$minimalDaysInFirstWeek = ju_Calendar_resolveMinimalDaysInFirstWeek($locale); $this.$isCached = 0; ju_Calendar_cacheFor = $locale; $this.$gregorianCutover = Long_create(4184124416, 4294964450); $this.$changeYear = 1582; $this.$julianSkew = 13; $this.$cachedFields = $rt_createIntArrayFromData([0, 0, 0, 0, 0, 0, 0, 0, 0, 0]); $this.$currentYearSkew = 10; var$3 = jl_System_currentTimeMillis(); if (!($this.$isTimeSet && $this.$areFieldsSet && Long_eq($this.$time, var$3))) { $this.$time = var$3; $this.$isTimeSet = 1; $this.$areFieldsSet = 0; ju_GregorianCalendar_computeFields($this); $this.$areFieldsSet = 1; } }, ju_GregorianCalendar__init_4 = (var_0, var_1) => { let var_2 = new ju_GregorianCalendar(); ju_GregorianCalendar__init_(var_2, var_0, var_1); return var_2; }, ju_GregorianCalendar_add = ($this, $field, $value) => { let $multiplier, var$4, var$5, $days, $month, var$8; if (!$value) return; if ($field >= 0 && $field < 15) { $this.$isCached = 0; if (!$field) { if (!$this.$isTimeSet) { ju_GregorianCalendar_computeTime($this); $this.$isTimeSet = 1; } if (!$this.$areFieldsSet) { ju_GregorianCalendar_computeFields($this); $this.$areFieldsSet = 1; } if ($this.$fields.data[0] != 1) { if ($value <= 0) return; ju_Calendar_set($this, 0, 1); } else { if ($value >= 0) return; ju_Calendar_set($this, 0, 0); } if (!$this.$isTimeSet) { ju_GregorianCalendar_computeTime($this); $this.$isTimeSet = 1; } if (!$this.$areFieldsSet) { ju_GregorianCalendar_computeFields($this); $this.$areFieldsSet = 1; } return; } if ($field != 1 && $field != 2) { $multiplier = Long_ZERO; if (!$this.$isTimeSet) { ju_GregorianCalendar_computeTime($this); $this.$isTimeSet = 1; } a: { switch ($field) { case 3: case 4: case 8: $multiplier = Long_fromInt(604800000); break a; case 5: case 6: case 7: $multiplier = Long_fromInt(86400000); break a; case 9: $multiplier = Long_fromInt(43200000); break a; case 10: case 11: $this.$time = Long_add($this.$time, Long_mul(Long_fromInt($value), Long_fromInt(3600000))); break a; case 12: $this.$time = Long_add($this.$time, Long_mul(Long_fromInt($value), Long_fromInt(60000))); break a; case 13: $this.$time = Long_add($this.$time, Long_mul(Long_fromInt($value), Long_fromInt(1000))); break a; case 14: $this.$time = Long_add($this.$time, Long_fromInt($value)); break a; default: } } if (Long_gt($multiplier, Long_ZERO)) { var$4 = $this.$time; var$5 = $this.$zone; $days = (var$5.$rawOffset + var$5.$diff | 0) + var$5.$underlyingZone.$getOffset(var$4) | 0; var$4 = Long_add($this.$time, Long_mul(Long_fromInt($value), $multiplier)); $this.$time = var$4; var$5 = $this.$zone; $value = (var$5.$rawOffset + var$5.$diff | 0) + var$5.$underlyingZone.$getOffset(var$4) | 0; if ($value != $days) $this.$time = Long_add($this.$time, Long_fromInt($days - $value | 0)); } $this.$areFieldsSet = 0; if (!$this.$isTimeSet) { ju_GregorianCalendar_computeTime($this); $this.$isTimeSet = 1; } if (!$this.$areFieldsSet) { ju_GregorianCalendar_computeFields($this); $this.$areFieldsSet = 1; } return; } if (!$this.$isTimeSet) { ju_GregorianCalendar_computeTime($this); $this.$isTimeSet = 1; } if (!$this.$areFieldsSet) { ju_GregorianCalendar_computeFields($this); $this.$areFieldsSet = 1; } if ($field == 2) { $month = $this.$fields.data[2] + $value | 0; if ($month >= 0) $value = $month / 12 | 0; else { $value = ($month - 11 | 0) / 12 | 0; $month = 12 + ($month % 12 | 0) | 0; } ju_Calendar_set($this, 2, $month % 12 | 0); } ju_Calendar_set($this, 1, $this.$fields.data[1] + $value | 0); $field = ju_GregorianCalendar_isLeapYear($this, $this.$fields.data[1]); var$8 = $this.$fields.data; $value = var$8[2]; $days = $field && $value == 1 ? ju_GregorianCalendar_daysInMonth.data[$value] + 1 | 0 : ju_GregorianCalendar_daysInMonth.data[$value]; if (var$8[5] > $days) ju_Calendar_set($this, 5, $days); if (!$this.$isTimeSet) { ju_GregorianCalendar_computeTime($this); $this.$isTimeSet = 1; } if (!$this.$areFieldsSet) { ju_GregorianCalendar_computeFields($this); $this.$areFieldsSet = 1; } return; } var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); }, ju_GregorianCalendar_fullFieldsCalc = ($this, $timeVal, $millis, $zoneOffset) => { let $days, var$5, var$6, $dayOfYear, var$8, $month, $leapYear, $date, var$12, $week, var$14, $daysFromStart; $days = Long_div($timeVal, Long_fromInt(86400000)); if ($millis < 0) { $millis = $millis + 86400000 | 0; $days = Long_sub($days, Long_fromInt(1)); } $millis = $millis + $zoneOffset | 0; while ($millis < 0) { $millis = $millis + 86400000 | 0; $days = Long_sub($days, Long_fromInt(1)); } while ($millis >= 86400000) { $millis = $millis - 86400000 | 0; $days = Long_add($days, Long_fromInt(1)); } var$5 = Long_fromInt($zoneOffset); var$6 = Long_add($timeVal, var$5); $dayOfYear = ju_GregorianCalendar_computeYearAndDay($this, $days, var$6); var$8 = $this.$fields.data; var$8[6] = $dayOfYear; if (var$8[1] == $this.$changeYear && Long_le($this.$gregorianCutover, var$6)) $dayOfYear = $dayOfYear + $this.$currentYearSkew | 0; $month = $dayOfYear / 32 | 0; $leapYear = ju_GregorianCalendar_isLeapYear($this, var$8[1]); $date = $dayOfYear - ($leapYear && $month > 1 ? ju_GregorianCalendar_daysInYear.data[$month] + 1 | 0 : ju_GregorianCalendar_daysInYear.data[$month]) | 0; if ($date > ($leapYear && $month == 1 ? ju_GregorianCalendar_daysInMonth.data[$month] + 1 | 0 : ju_GregorianCalendar_daysInMonth.data[$month])) { $date = $date - ($leapYear && $month == 1 ? ju_GregorianCalendar_daysInMonth.data[$month] + 1 | 0 : ju_GregorianCalendar_daysInMonth.data[$month]) | 0; $month = $month + 1 | 0; } var$8 = $this.$fields; var$6 = Long_sub($days, Long_fromInt(3)); $dayOfYear = Long_lo(Long_rem(var$6, Long_fromInt(7))); if (Long_lt(var$6, Long_ZERO) && $dayOfYear < 0) $dayOfYear = $dayOfYear + 7 | 0; var$8.data[7] = $dayOfYear + 1 | 0; var$12 = $this.$zone; $week = (var$12.$rawOffset + var$12.$diff | 0) + var$12.$underlyingZone.$getOffset($timeVal) | 0; var$8 = $this.$fields.data; if (var$8[1] > 0) $week = $week - $zoneOffset | 0; var$8[16] = $week; if (!$week) var$14 = $days; else { $millis = $millis + $week | 0; if ($millis < 0) { $millis = $millis + 86400000 | 0; var$14 = Long_sub($days, Long_fromInt(1)); } else if ($millis < 86400000) var$14 = $days; else { $millis = $millis - 86400000 | 0; var$14 = Long_add($days, Long_fromInt(1)); } if (Long_ne($days, var$14)) { $days = Long_add(Long_sub($timeVal, var$5), Long_fromInt($week)); $week = ju_GregorianCalendar_computeYearAndDay($this, var$14, $days); var$8 = $this.$fields.data; var$8[6] = $week; if (var$8[1] == $this.$changeYear && Long_le($this.$gregorianCutover, $days)) $week = $week + $this.$currentYearSkew | 0; $month = $week / 32 | 0; $leapYear = ju_GregorianCalendar_isLeapYear($this, var$8[1]); $date = $week - ($leapYear && $month > 1 ? ju_GregorianCalendar_daysInYear.data[$month] + 1 | 0 : ju_GregorianCalendar_daysInYear.data[$month]) | 0; if ($date > ($leapYear && $month == 1 ? ju_GregorianCalendar_daysInMonth.data[$month] + 1 | 0 : ju_GregorianCalendar_daysInMonth.data[$month])) { $date = $date - ($leapYear && $month == 1 ? ju_GregorianCalendar_daysInMonth.data[$month] + 1 | 0 : ju_GregorianCalendar_daysInMonth.data[$month]) | 0; $month = $month + 1 | 0; } var$8 = $this.$fields; $timeVal = Long_sub(var$14, Long_fromInt(3)); $daysFromStart = Long_lo(Long_rem($timeVal, Long_fromInt(7))); if (Long_lt($timeVal, Long_ZERO) && $daysFromStart < 0) $daysFromStart = $daysFromStart + 7 | 0; var$8.data[7] = $daysFromStart + 1 | 0; } } var$8 = $this.$fields.data; var$8[14] = $millis % 1000 | 0; $millis = $millis / 1000 | 0; var$8[13] = $millis % 60 | 0; $millis = $millis / 60 | 0; var$8[12] = $millis % 60 | 0; var$8[11] = ($millis / 60 | 0) % 24 | 0; var$8[9] = var$8[11] <= 11 ? 0 : 1; var$8[10] = var$8[11] % 12 | 0; if (var$8[1] > 0) var$8[0] = 1; else { var$8[0] = 0; var$8[1] = ( -var$8[1] | 0) + 1 | 0; } var$8[2] = $month; var$8[5] = $date; $zoneOffset = $date - 1 | 0; var$8[8] = ($zoneOffset / 7 | 0) + 1 | 0; $timeVal = Long_sub(Long_sub(var$14, Long_fromInt($date)), Long_fromInt(2)); $days = Long_fromInt($this.$firstDayOfWeek - 1 | 0); $timeVal = Long_sub($timeVal, $days); $millis = Long_lo(Long_rem($timeVal, Long_fromInt(7))); if (Long_lt($timeVal, Long_ZERO) && $millis < 0) $millis = $millis + 7 | 0; var$8[4] = (($zoneOffset + $millis | 0) / 7 | 0) + 1 | 0; $timeVal = Long_sub(Long_sub(Long_sub(var$14, Long_fromInt(3)), Long_fromInt(var$8[6] - 1 | 0)), $days); $daysFromStart = Long_lo(Long_rem($timeVal, Long_fromInt(7))); if (Long_lt($timeVal, Long_ZERO) && $daysFromStart < 0) $daysFromStart = $daysFromStart + 7 | 0; $millis = ((var$8[6] - 1 | 0) + $daysFromStart | 0) / 7 | 0; $zoneOffset = 7 - $daysFromStart | 0; $dayOfYear = $this.$minimalDaysInFirstWeek; $week = $millis + ($zoneOffset < $dayOfYear ? 0 : 1) | 0; if (!$week) { $timeVal = Long_fromInt($daysFromStart - (!ju_GregorianCalendar_isLeapYear($this, var$8[1] - 1 | 0) ? 1 : 2) | 0); $daysFromStart = Long_lo(Long_rem($timeVal, Long_fromInt(7))); if (Long_lt($timeVal, Long_ZERO) && $daysFromStart < 0) $daysFromStart = $daysFromStart + 7 | 0; var$8[3] = (7 - $daysFromStart | 0) < $this.$minimalDaysInFirstWeek ? 52 : 53; } else { $millis = var$8[6]; $zoneOffset = !$leapYear ? 366 : 367; $timeVal = Long_fromInt($daysFromStart + (!$leapYear ? 1 : 2) | 0); $month = Long_lo(Long_rem($timeVal, Long_fromInt(7))); if (Long_lt($timeVal, Long_ZERO) && $month < 0) $month = $month + 7 | 0; if ($millis < ($zoneOffset - $month | 0)) var$8[3] = $week; else { $timeVal = Long_fromInt($daysFromStart + (!$leapYear ? 1 : 2) | 0); $daysFromStart = Long_lo(Long_rem($timeVal, Long_fromInt(7))); if (Long_lt($timeVal, Long_ZERO) && $daysFromStart < 0) $daysFromStart = $daysFromStart + 7 | 0; if ((7 - $daysFromStart | 0) >= $dayOfYear) $week = 1; var$8[3] = $week; } } }, ju_GregorianCalendar_cachedFieldsCheckAndGet = ($this, $timeVal, $newTimeMillis, $newTimeMillisAdjusted, $millis, $zoneOffset) => { let var$6, $dstOffset, var$8, var$9, var$10; a: { b: { var$6 = $this.$fields.data; $dstOffset = var$6[16]; if ($this.$isCached) { var$8 = $this.$nextMidnightMillis; if (Long_lt($newTimeMillis, var$8)) { var$9 = $this.$lastMidnightMillis; if (Long_gt($newTimeMillis, var$9)) { var$10 = $this.$cachedFields.data; if (var$10[4] == $zoneOffset && !(!$dstOffset && Long_ge($newTimeMillisAdjusted, var$8))) { if (!$dstOffset) break b; if (Long_gt($newTimeMillisAdjusted, var$9)) break b; } } } } ju_GregorianCalendar_fullFieldsCalc($this, $timeVal, $millis, $zoneOffset); $this.$isCached = 0; break a; } var$6[1] = var$10[0]; var$6[2] = var$10[1]; var$6[5] = var$10[2]; var$6[7] = var$10[3]; var$6[0] = var$10[5]; var$6[3] = var$10[6]; var$6[4] = var$10[7]; var$6[6] = var$10[8]; var$6[8] = var$10[9]; } }, ju_GregorianCalendar_computeFields = $this => { let var$1, var$2, var$3, var$4, $millis, var$6, $dstOffset, $offset, $newTime, $i, var$11; var$1 = $this.$time; var$2 = $this.$zone; var$3 = (var$2.$rawOffset + var$2.$diff | 0) + var$2.$underlyingZone.$getOffset(var$1) | 0; if (!$this.$isSet.data[15]) $this.$fields.data[15] = var$3; var$4 = $this.$time; $millis = Long_lo(Long_rem(var$4, Long_fromInt(86400000))); var$6 = $this.$fields.data; $dstOffset = var$6[16]; $offset = var$3 + $dstOffset | 0; $newTime = Long_add(var$4, Long_fromInt($offset)); $i = Long_compare(var$4, Long_ZERO); if ($i > 0 && Long_lt($newTime, Long_ZERO) && $offset > 0) $newTime = Long_create(4294967295, 2147483647); else if ($i < 0 && Long_gt($newTime, Long_ZERO) && $offset < 0) $newTime = Long_create(0, 2147483648); if (!$this.$isCached) ju_GregorianCalendar_fullFieldsCalc($this, var$4, $millis, var$3); else { $offset = (($millis >= 0 ? $millis : $millis + 86400000 | 0) + var$3 | 0) + $dstOffset | 0; if ($offset < 0) $offset = $offset + 86400000 | 0; else if ($offset >= 86400000) $offset = $offset - 86400000 | 0; var$6[14] = $offset % 1000 | 0; $offset = $offset / 1000 | 0; var$6[13] = $offset % 60 | 0; $offset = $offset / 60 | 0; var$6[12] = $offset % 60 | 0; var$6[11] = ($offset / 60 | 0) % 24 | 0; var$6[9] = var$6[11] <= 11 ? 0 : 1; var$6[10] = var$6[11] % 12 | 0; $offset = Long_compare($newTime, Long_ZERO); ju_GregorianCalendar_cachedFieldsCheckAndGet($this, var$4, $newTime, $offset > 0 && $offset < 0 && !$dstOffset ? Long_create(4294967295, 2147483647) : $offset >= 0 ? $newTime : $offset <= 0 ? $newTime : $dstOffset ? Long_create(0, 2147483648) : $newTime, $millis, var$3); } $i = 0; while ($i < 17) { $this.$isSet.data[$i] = 1; $i = $i + 1 | 0; } if (!$this.$isCached && Long_ne($newTime, Long_create(4294967295, 2147483647)) && Long_ne($newTime, Long_create(0, 2147483648))) { var$11 = $this.$cachedFields.data; var$6 = $this.$fields.data; var$11[0] = var$6[1]; var$11[1] = var$6[2]; var$11[2] = var$6[5]; var$11[3] = var$6[7]; var$11[4] = var$3; var$11[5] = var$6[0]; var$11[6] = var$6[3]; var$11[7] = var$6[4]; var$11[8] = var$6[6]; var$11[9] = var$6[8]; $this.$nextMidnightMillis = Long_add($newTime, Long_fromInt(((0 + ((((23 - var$6[11] | 0) * 60 | 0) * 60 | 0) * 1000 | 0) | 0) + (((59 - var$6[12] | 0) * 60 | 0) * 1000 | 0) | 0) + ((59 - var$6[13] | 0) * 1000 | 0) | 0)); $this.$lastMidnightMillis = Long_sub($newTime, Long_fromInt(((((var$6[11] * 60 | 0) * 60 | 0) * 1000 | 0) + ((var$6[12] * 60 | 0) * 1000 | 0) | 0) + (var$6[13] * 1000 | 0) | 0)); $this.$isCached = 1; } }, ju_GregorianCalendar_computeTime = $this => { let var$1, var$2, var$3, $hour, $timeVal, $year, $weekMonthSet, $useMonth, $useWeekYear, $days, var$11, $skew, $dayOfWeek, var$14, $skew_0, $leapYear, $month, $useDate; a: { if (!$this.$lenient) { b: { c: { var$1 = $this.$isSet.data; if (var$1[11]) { var$2 = $this.$fields.data; if (var$2[11] >= 0 && var$2[11] <= 23) break c; var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } if (var$1[10]) { var$2 = $this.$fields.data; if (var$2[10] < 0) break b; if (var$2[10] > 11) break b; } } d: { if (var$1[12]) { var$2 = $this.$fields.data; if (var$2[12] < 0) break d; if (var$2[12] > 59) break d; } e: { if (var$1[13]) { var$2 = $this.$fields.data; if (var$2[13] < 0) break e; if (var$2[13] > 59) break e; } f: { if (var$1[14]) { var$2 = $this.$fields.data; if (var$2[14] < 0) break f; if (var$2[14] > 999) break f; } if (var$1[3]) { var$2 = $this.$fields.data; if (!(var$2[3] >= 1 && var$2[3] <= 53)) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } } g: { if (var$1[7]) { var$2 = $this.$fields.data; if (var$2[7] < 1) break g; if (var$2[7] > 7) break g; } if (var$1[8]) { var$2 = $this.$fields.data; if (!(var$2[8] >= 1 && var$2[8] <= 6)) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } } h: { if (var$1[4]) { var$2 = $this.$fields.data; if (var$2[4] < 1) break h; if (var$2[4] > 6) break h; } if (var$1[9]) { var$2 = $this.$fields.data; if (var$2[9] && var$2[9] != 1) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } } if (var$1[10]) { var$2 = $this.$fields.data; if (!(var$2[10] >= 0 && var$2[10] <= 11)) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } } i: { if (var$1[1]) { if (var$1[0]) { var$2 = $this.$fields.data; if (!var$2[0] && !(var$2[1] >= 1 && var$2[1] <= 292269054)) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } } var$2 = $this.$fields.data; if (var$2[1] < 1) break i; if (var$2[1] > 292278994) break i; } if (!var$1[2]) break a; var$1 = $this.$fields.data; if (var$1[2] >= 0 && var$1[2] <= 11) break a; var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } } $hour = Long_ZERO; var$1 = $this.$isSet.data; if (var$1[11] && $this.$lastTimeFieldSet != 10) $hour = Long_fromInt($this.$fields.data[11]); else if (var$1[10]) { var$2 = $this.$fields.data; $hour = Long_fromInt((var$2[9] * 12 | 0) + var$2[10] | 0); } $timeVal = Long_mul($hour, Long_fromInt(3600000)); if (var$1[12]) $timeVal = Long_add($timeVal, Long_mul(Long_fromInt($this.$fields.data[12]), Long_fromInt(60000))); if (var$1[13]) $timeVal = Long_add($timeVal, Long_mul(Long_fromInt($this.$fields.data[13]), Long_fromInt(1000))); if (var$1[14]) $timeVal = Long_add($timeVal, Long_fromInt($this.$fields.data[14])); $year = !var$1[1] ? 1970 : $this.$fields.data[1]; if (var$1[0]) { var$2 = $this.$fields.data; if (var$2[0] && var$2[0] != 1) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } if (!var$2[0]) $year = 1 - $year | 0; } $weekMonthSet = !var$1[4] && !var$1[8] ? 0 : 1; $useMonth = !(!var$1[5] && !var$1[2] && !$weekMonthSet) && $this.$lastDateFieldSet != 6 ? 1 : 0; if ($useMonth) { $useWeekYear = $this.$lastDateFieldSet; if (!($useWeekYear != 7 && $useWeekYear != 3)) { if (var$1[3] && var$1[7]) $useMonth = $useWeekYear != 3 && $weekMonthSet && var$1[7] ? 1 : 0; else if (var$1[6]) $useMonth = var$1[5] && var$1[2] ? 1 : 0; } } if (!$useMonth) { $useWeekYear = var$1[3] && $this.$lastDateFieldSet != 6 ? 1 : 0; if ($useWeekYear && var$1[6]) $useWeekYear = var$1[7]; $days = ju_GregorianCalendar_daysFromBaseYear($this, $year); if (!$useWeekYear) { var$1 = $this.$isSet.data; if (var$1[6]) { if (!$this.$lenient) { var$1 = $this.$fields.data; if (!(var$1[6] >= 1 && var$1[6] <= (365 + (!ju_GregorianCalendar_isLeapYear($this, $year) ? 0 : 1) | 0))) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } } $days = Long_add($days, Long_fromInt($this.$fields.data[6] - 1 | 0)); } else if (var$1[7]) { var$11 = Long_sub(Long_fromInt($this.$fields.data[7] - 1 | 0), Long_sub($days, Long_fromInt(3))); $skew = Long_lo(Long_rem(var$11, Long_fromInt(7))); if (Long_lt(var$11, Long_ZERO) && $skew < 0) $skew = $skew + 7 | 0; $days = Long_add($days, Long_fromInt($skew)); } } else { $dayOfWeek = !$this.$isSet.data[7] ? $this.$firstDayOfWeek - 1 | 0 : $this.$fields.data[7] - 1 | 0; var$11 = Long_sub($days, Long_fromInt(3)); var$14 = Long_sub(var$11, Long_fromInt($this.$firstDayOfWeek - 1 | 0)); $skew = Long_lo(Long_rem(var$14, Long_fromInt(7))); if (Long_lt(var$14, Long_ZERO) && $skew < 0) $skew = $skew + 7 | 0; $skew_0 = ($this.$fields.data[3] - 1 | 0) * 7 | 0; var$11 = Long_sub(Long_fromInt($skew + $dayOfWeek | 0), var$11); $leapYear = Long_lo(Long_rem(var$11, Long_fromInt(7))); if (Long_lt(var$11, Long_ZERO) && $leapYear < 0) $leapYear = $leapYear + 7 | 0; $days = Long_add($days, Long_fromInt(($skew_0 + $leapYear | 0) - $skew | 0)); if ((7 - $skew | 0) < $this.$minimalDaysInFirstWeek) $days = Long_add($days, Long_fromInt(7)); } } else { $month = $this.$fields.data[2]; $year = $year + ($month / 12 | 0) | 0; $skew_0 = $month % 12 | 0; if ($skew_0 < 0) { $year = $year + (-1) | 0; $skew_0 = $skew_0 + 12 | 0; } $leapYear = ju_GregorianCalendar_isLeapYear($this, $year); $days = Long_add(ju_GregorianCalendar_daysFromBaseYear($this, $year), Long_fromInt($leapYear && $skew_0 > 1 ? ju_GregorianCalendar_daysInYear.data[$skew_0] + 1 | 0 : ju_GregorianCalendar_daysInYear.data[$skew_0])); var$1 = $this.$isSet.data; $useDate = var$1[5]; if ($useDate) { $useWeekYear = $this.$lastDateFieldSet; if (!($useWeekYear != 7 && $useWeekYear != 4 && $useWeekYear != 8)) $useDate = var$1[7] && $weekMonthSet ? 0 : 1; } if ($useDate) { if (!$this.$lenient) { var$1 = $this.$fields.data; if (!(var$1[5] >= 1 && var$1[5] <= ($leapYear && $skew_0 == 1 ? ju_GregorianCalendar_daysInMonth.data[$skew_0] + 1 | 0 : ju_GregorianCalendar_daysInMonth.data[$skew_0]))) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } } $days = Long_add($days, Long_fromInt($this.$fields.data[5] - 1 | 0)); } else { $dayOfWeek = !var$1[7] ? $this.$firstDayOfWeek - 1 | 0 : $this.$fields.data[7] - 1 | 0; if (var$1[4] && $this.$lastDateFieldSet != 8) { var$11 = Long_sub(Long_sub($days, Long_fromInt(3)), Long_fromInt($this.$firstDayOfWeek - 1 | 0)); $skew_0 = Long_lo(Long_rem(var$11, Long_fromInt(7))); if (Long_lt(var$11, Long_ZERO) && $skew_0 < 0) $skew_0 = $skew_0 + 7 | 0; $leapYear = ($this.$fields.data[4] - 1 | 0) * 7 | 0; $hour = Long_sub(Long_fromInt($skew_0 + $dayOfWeek | 0), Long_sub($days, Long_fromInt(2))); $useWeekYear = Long_lo(Long_rem($hour, Long_fromInt(7))); if (Long_lt($hour, Long_ZERO) && $useWeekYear < 0) $useWeekYear = $useWeekYear + 7 | 0; $days = Long_add($days, Long_fromInt(($leapYear + $useWeekYear | 0) - $skew_0 | 0)); } else if (var$1[8]) { var$2 = $this.$fields.data; if (var$2[8] >= 0) { var$11 = Long_sub(Long_fromInt($dayOfWeek), Long_sub($days, Long_fromInt(3))); $skew = Long_lo(Long_rem(var$11, Long_fromInt(7))); if (Long_lt(var$11, Long_ZERO) && $skew < 0) $skew = $skew + 7 | 0; $days = Long_add($days, Long_fromInt($skew + ((var$2[8] - 1 | 0) * 7 | 0) | 0)); } else { $weekMonthSet = $leapYear && $skew_0 == 1 ? ju_GregorianCalendar_daysInMonth.data[$skew_0] + 1 | 0 : ju_GregorianCalendar_daysInMonth.data[$skew_0]; var$11 = Long_sub(Long_fromInt($dayOfWeek), Long_sub(Long_add($days, Long_fromInt($leapYear && $skew_0 == 1 ? ju_GregorianCalendar_daysInMonth.data[$skew_0] + 1 | 0 : ju_GregorianCalendar_daysInMonth.data[$skew_0])), Long_fromInt(3))); $skew = Long_lo(Long_rem(var$11, Long_fromInt(7))); if (Long_lt(var$11, Long_ZERO) && $skew < 0) $skew = $skew + 7 | 0; $days = Long_add($days, Long_fromInt(($weekMonthSet + $skew | 0) + (var$2[8] * 7 | 0) | 0)); } } else if (var$1[7]) { var$11 = Long_sub($days, Long_fromInt(3)); var$14 = Long_sub(var$11, Long_fromInt($this.$firstDayOfWeek - 1 | 0)); $skew = Long_lo(Long_rem(var$14, Long_fromInt(7))); if (Long_lt(var$14, Long_ZERO) && $skew < 0) $skew = $skew + 7 | 0; var$11 = Long_sub(Long_fromInt($skew + $dayOfWeek | 0), var$11); $skew_0 = Long_lo(Long_rem(var$11, Long_fromInt(7))); if (Long_lt(var$11, Long_ZERO) && $skew_0 < 0) $skew_0 = $skew_0 + 7 | 0; var$11 = Long_fromInt($skew_0 - $skew | 0); $skew = Long_lo(Long_rem(var$11, Long_fromInt(7))); if (Long_lt(var$11, Long_ZERO) && $skew < 0) $skew = $skew + 7 | 0; $days = Long_add($days, Long_fromInt($skew)); } } } $this.$lastDateFieldSet = 0; $hour = Long_add($timeVal, Long_mul($days, Long_fromInt(86400000))); $useWeekYear = $this.$changeYear; if ($year == $useWeekYear) { $timeVal = $this.$gregorianCutover; var$11 = Long_mul(Long_fromInt((($useWeekYear / 100 | 0) - ($useWeekYear / 400 | 0) | 0) - 2 | 0), Long_fromInt(86400000)); if (Long_ge($hour, Long_add($timeVal, var$11))) $hour = Long_sub($hour, var$11); } var$3 = $this.$zone; $this.$time = Long_sub($hour, Long_fromInt((var$3.$rawOffset + var$3.$diff | 0) + var$3.$underlyingZone.$getOffset($hour) | 0)); }, ju_GregorianCalendar_computeYearAndDay = ($this, $dayCount, $localTime) => { let $year, var$4, var$5, var$6; $year = 1970; $localTime = Long_ge($localTime, $this.$gregorianCutover) ? $dayCount : Long_sub($dayCount, Long_fromInt($this.$julianSkew)); while (true) { var$4 = Long_lo(Long_div($localTime, Long_fromInt(365))); if (!var$4) break; $year = $year + var$4 | 0; $localTime = Long_sub($dayCount, ju_GregorianCalendar_daysFromBaseYear($this, $year)); } if (Long_lt($localTime, Long_ZERO)) { $year = $year - 1 | 0; var$5 = !ju_GregorianCalendar_isLeapYear($this, $year) ? 365 : 366; var$6 = $this.$changeYear; if ($year == var$6) var$5 = var$5 - $this.$currentYearSkew | 0; if ($year == (var$6 - 1 | 0)) var$5 = var$5 - $this.$lastYearSkew | 0; $localTime = Long_add($localTime, Long_fromInt(var$5)); } $this.$fields.data[1] = $year; return Long_lo($localTime) + 1 | 0; }, ju_GregorianCalendar_daysFromBaseYear = ($this, $iyear) => { let $year, $days, var$4; $year = Long_fromInt($iyear); if (Long_lt($year, Long_fromInt(1970))) { if (Long_le($year, Long_fromInt($this.$changeYear))) return Long_add(Long_add(Long_mul(Long_sub($year, Long_fromInt(1970)), Long_fromInt(365)), Long_div(Long_sub($year, Long_fromInt(1972)), Long_fromInt(4))), Long_fromInt($this.$julianSkew)); $days = Long_add(Long_mul(Long_sub($year, Long_fromInt(1970)), Long_fromInt(365)), Long_div(Long_sub($year, Long_fromInt(1972)), Long_fromInt(4))); $year = Long_sub($year, Long_fromInt(2000)); return Long_add(Long_sub($days, Long_div($year, Long_fromInt(100))), Long_div($year, Long_fromInt(400))); } $days = Long_add(Long_mul(Long_sub($year, Long_fromInt(1970)), Long_fromInt(365)), Long_div(Long_sub($year, Long_fromInt(1969)), Long_fromInt(4))); var$4 = $this.$changeYear; $iyear = Long_compare($year, Long_fromInt(var$4)); return $iyear > 0 ? Long_sub($days, Long_sub(Long_div(Long_sub($year, Long_fromInt(1901)), Long_fromInt(100)), Long_div(Long_sub($year, Long_fromInt(1601)), Long_fromInt(400)))) : !$iyear ? Long_add($days, Long_fromInt($this.$currentYearSkew)) : Long_ne($year, Long_fromInt(var$4 - 1 | 0)) ? Long_add($days, Long_fromInt($this.$julianSkew)) : Long_add($days, Long_fromInt($this.$lastYearSkew)); }, ju_GregorianCalendar_isLeapYear = ($this, $year) => { if ($year <= $this.$changeYear) return $year % 4 | 0 ? 0 : 1; a: { b: { if (!($year % 4 | 0)) { if ($year % 100 | 0) break b; if (!($year % 400 | 0)) break b; } $year = 0; break a; } $year = 1; } return $year; }, ju_GregorianCalendar__clinit_ = () => { ju_GregorianCalendar_daysInMonth = $rt_createByteArrayFromData([31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]); ju_GregorianCalendar_daysInYear = $rt_createIntArrayFromData([0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334]); ju_GregorianCalendar_maximums = $rt_createIntArrayFromData([1, 292278994, 11, 53, 6, 31, 366, 7, 6, 1, 11, 23, 59, 59, 999, 50400000, 7200000]); ju_GregorianCalendar_minimums = $rt_createIntArrayFromData([0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, (-46800000), 0]); ju_GregorianCalendar_leastMaximums = $rt_createIntArrayFromData([1, 292269054, 11, 50, 3, 28, 355, 7, 3, 1, 11, 23, 59, 59, 999, 50400000, 1200000]); }, cjj_GZIPException = $rt_classWithoutFields(ji_IOException), cjj_GZIPException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, cjj_GZIPException__init_0 = () => { let var_0 = new cjj_GZIPException(); cjj_GZIPException__init_(var_0); return var_0; }, jur_AbstractCharClass$PredefinedCharacterClasses = $rt_classWithoutFields(), jur_AbstractCharClass$PredefinedCharacterClasses_space = null, jur_AbstractCharClass$PredefinedCharacterClasses_digit = null, jur_AbstractCharClass$PredefinedCharacterClasses_contents = null, jur_AbstractCharClass$PredefinedCharacterClasses__init_ = $this => { return; }, jur_AbstractCharClass$PredefinedCharacterClasses__init_0 = () => { let var_0 = new jur_AbstractCharClass$PredefinedCharacterClasses(); jur_AbstractCharClass$PredefinedCharacterClasses__init_(var_0); return var_0; }, jur_AbstractCharClass$PredefinedCharacterClasses_getObject = ($this, $name) => { let $i, $row, var$4, var$5, var$6; $i = 0; while (true) { $row = jur_AbstractCharClass$PredefinedCharacterClasses_contents.data; if ($i >= $row.length) { var$4 = new ju_MissingResourceException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(18); var$4.$className0 = $rt_s(18); var$4.$key3 = $name; $rt_throw(var$4); } $row = $row[$i].data; var$5 = $row[0]; if ($name === var$5) var$6 = 1; else if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $name.$nativeString !== var$5.$nativeString ? 0 : 1; } if (var$6) break; $i = $i + 1 | 0; } return $row[1]; }, jur_AbstractCharClass$PredefinedCharacterClasses__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = new jur_AbstractCharClass$LazySpace; jur_AbstractCharClass$PredefinedCharacterClasses_space = var$1; var$2 = new jur_AbstractCharClass$LazyDigit; jur_AbstractCharClass$PredefinedCharacterClasses_digit = var$2; var$3 = $rt_createArray($rt_arraycls(jl_Object), 194); var$4 = var$3.data; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(763); var$6[1] = new jur_AbstractCharClass$LazyLower; var$4[0] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(764); var$6[1] = new jur_AbstractCharClass$LazyUpper; var$4[1] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(765); var$6[1] = new jur_AbstractCharClass$LazyASCII; var$4[2] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(766); var$6[1] = new jur_AbstractCharClass$LazyAlpha; var$4[3] = var$5; var$4[4] = $rt_wrapArray(jl_Object, [$rt_s(767), var$2]); var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(768); var$6[1] = new jur_AbstractCharClass$LazyAlnum; var$4[5] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(769); var$6[1] = new jur_AbstractCharClass$LazyPunct; var$4[6] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(770); var$6[1] = new jur_AbstractCharClass$LazyGraph; var$4[7] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(771); var$6[1] = new jur_AbstractCharClass$LazyPrint; var$4[8] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(772); var$6[1] = new jur_AbstractCharClass$LazyBlank; var$4[9] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(773); var$6[1] = new jur_AbstractCharClass$LazyCntrl; var$4[10] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(774); var$6[1] = new jur_AbstractCharClass$LazyXDigit; var$4[11] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(775); var$6[1] = new jur_AbstractCharClass$LazyJavaLowerCase; var$4[12] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(776); var$6[1] = new jur_AbstractCharClass$LazyJavaUpperCase; var$4[13] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(777); var$6[1] = new jur_AbstractCharClass$LazyJavaWhitespace; var$4[14] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(778); var$6[1] = new jur_AbstractCharClass$LazyJavaMirrored; var$4[15] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(779); var$6[1] = new jur_AbstractCharClass$LazyJavaDefined; var$4[16] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(780); var$6[1] = new jur_AbstractCharClass$LazyJavaDigit; var$4[17] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(781); var$6[1] = new jur_AbstractCharClass$LazyJavaIdentifierIgnorable; var$4[18] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(782); var$6[1] = new jur_AbstractCharClass$LazyJavaISOControl; var$4[19] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(783); var$6[1] = new jur_AbstractCharClass$LazyJavaJavaIdentifierPart; var$4[20] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(784); var$6[1] = new jur_AbstractCharClass$LazyJavaJavaIdentifierStart; var$4[21] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(785); var$6[1] = new jur_AbstractCharClass$LazyJavaLetter; var$4[22] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(786); var$6[1] = new jur_AbstractCharClass$LazyJavaLetterOrDigit; var$4[23] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(787); var$6[1] = new jur_AbstractCharClass$LazyJavaSpaceChar; var$4[24] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(788); var$6[1] = new jur_AbstractCharClass$LazyJavaTitleCase; var$4[25] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(789); var$6[1] = new jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart; var$4[26] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(790); var$6[1] = new jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart; var$4[27] = var$5; var$4[28] = $rt_wrapArray(jl_Object, [$rt_s(791), var$1]); var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(792); var$6[1] = new jur_AbstractCharClass$LazyWord; var$4[29] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(239); var$6[1] = new jur_AbstractCharClass$LazyNonWord; var$4[30] = var$5; var$4[31] = $rt_wrapArray(jl_Object, [$rt_s(652), var$1]); var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(253); var$6[1] = new jur_AbstractCharClass$LazyNonSpace; var$4[32] = var$5; var$4[33] = $rt_wrapArray(jl_Object, [$rt_s(793), var$2]); var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(254); var$6[1] = new jur_AbstractCharClass$LazyNonDigit; var$4[34] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(794); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 0; var$1.$end = 127; var$6[1] = var$1; var$4[35] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(795); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 128; var$1.$end = 255; var$6[1] = var$1; var$4[36] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(796); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 256; var$1.$end = 383; var$6[1] = var$1; var$4[37] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(797); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 384; var$1.$end = 591; var$6[1] = var$1; var$4[38] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(798); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 592; var$1.$end = 687; var$6[1] = var$1; var$4[39] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(799); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 688; var$1.$end = 767; var$6[1] = var$1; var$4[40] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(800); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 768; var$1.$end = 879; var$6[1] = var$1; var$4[41] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(801); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 880; var$1.$end = 1023; var$6[1] = var$1; var$4[42] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(802); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 1024; var$1.$end = 1279; var$6[1] = var$1; var$4[43] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(803); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 1280; var$1.$end = 1327; var$6[1] = var$1; var$4[44] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(804); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 1328; var$1.$end = 1423; var$6[1] = var$1; var$4[45] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(805); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 1424; var$1.$end = 1535; var$6[1] = var$1; var$4[46] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(806); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 1536; var$1.$end = 1791; var$6[1] = var$1; var$4[47] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(807); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 1792; var$1.$end = 1871; var$6[1] = var$1; var$4[48] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(808); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 1872; var$1.$end = 1919; var$6[1] = var$1; var$4[49] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(809); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 1920; var$1.$end = 1983; var$6[1] = var$1; var$4[50] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(810); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 2304; var$1.$end = 2431; var$6[1] = var$1; var$4[51] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(811); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 2432; var$1.$end = 2559; var$6[1] = var$1; var$4[52] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(812); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 2560; var$1.$end = 2687; var$6[1] = var$1; var$4[53] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(813); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 2688; var$1.$end = 2815; var$6[1] = var$1; var$4[54] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(814); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 2816; var$1.$end = 2943; var$6[1] = var$1; var$4[55] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(815); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 2944; var$1.$end = 3071; var$6[1] = var$1; var$4[56] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(816); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 3072; var$1.$end = 3199; var$6[1] = var$1; var$4[57] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(817); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 3200; var$1.$end = 3327; var$6[1] = var$1; var$4[58] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(818); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 3328; var$1.$end = 3455; var$6[1] = var$1; var$4[59] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(819); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 3456; var$1.$end = 3583; var$6[1] = var$1; var$4[60] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(820); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 3584; var$1.$end = 3711; var$6[1] = var$1; var$4[61] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(821); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 3712; var$1.$end = 3839; var$6[1] = var$1; var$4[62] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(822); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 3840; var$1.$end = 4095; var$6[1] = var$1; var$4[63] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(823); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 4096; var$1.$end = 4255; var$6[1] = var$1; var$4[64] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(824); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 4256; var$1.$end = 4351; var$6[1] = var$1; var$4[65] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(825); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 4352; var$1.$end = 4607; var$6[1] = var$1; var$4[66] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(826); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 4608; var$1.$end = 4991; var$6[1] = var$1; var$4[67] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(827); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 4992; var$1.$end = 5023; var$6[1] = var$1; var$4[68] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(828); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 5024; var$1.$end = 5119; var$6[1] = var$1; var$4[69] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(829); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 5120; var$1.$end = 5759; var$6[1] = var$1; var$4[70] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(830); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 5760; var$1.$end = 5791; var$6[1] = var$1; var$4[71] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(831); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 5792; var$1.$end = 5887; var$6[1] = var$1; var$4[72] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(832); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 5888; var$1.$end = 5919; var$6[1] = var$1; var$4[73] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(833); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 5920; var$1.$end = 5951; var$6[1] = var$1; var$4[74] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(834); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 5952; var$1.$end = 5983; var$6[1] = var$1; var$4[75] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(835); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 5984; var$1.$end = 6015; var$6[1] = var$1; var$4[76] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(836); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 6016; var$1.$end = 6143; var$6[1] = var$1; var$4[77] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(837); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 6144; var$1.$end = 6319; var$6[1] = var$1; var$4[78] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(838); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 6400; var$1.$end = 6479; var$6[1] = var$1; var$4[79] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(839); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 6480; var$1.$end = 6527; var$6[1] = var$1; var$4[80] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(840); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 6528; var$1.$end = 6623; var$6[1] = var$1; var$4[81] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(841); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 6624; var$1.$end = 6655; var$6[1] = var$1; var$4[82] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(842); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 6656; var$1.$end = 6687; var$6[1] = var$1; var$4[83] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(843); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 7424; var$1.$end = 7551; var$6[1] = var$1; var$4[84] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(844); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 7552; var$1.$end = 7615; var$6[1] = var$1; var$4[85] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(845); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 7616; var$1.$end = 7679; var$6[1] = var$1; var$4[86] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(846); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 7680; var$1.$end = 7935; var$6[1] = var$1; var$4[87] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(847); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 7936; var$1.$end = 8191; var$6[1] = var$1; var$4[88] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(848); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 8192; var$1.$end = 8303; var$6[1] = var$1; var$4[89] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(849); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 8304; var$1.$end = 8351; var$6[1] = var$1; var$4[90] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(850); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 8352; var$1.$end = 8399; var$6[1] = var$1; var$4[91] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(851); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 8400; var$1.$end = 8447; var$6[1] = var$1; var$4[92] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(852); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 8448; var$1.$end = 8527; var$6[1] = var$1; var$4[93] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(853); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 8528; var$1.$end = 8591; var$6[1] = var$1; var$4[94] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(854); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 8592; var$1.$end = 8703; var$6[1] = var$1; var$4[95] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(855); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 8704; var$1.$end = 8959; var$6[1] = var$1; var$4[96] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(856); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 8960; var$1.$end = 9215; var$6[1] = var$1; var$4[97] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(857); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 9216; var$1.$end = 9279; var$6[1] = var$1; var$4[98] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(858); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 9280; var$1.$end = 9311; var$6[1] = var$1; var$4[99] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(859); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 9312; var$1.$end = 9471; var$6[1] = var$1; var$4[100] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(860); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 9472; var$1.$end = 9599; var$6[1] = var$1; var$4[101] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(861); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 9600; var$1.$end = 9631; var$6[1] = var$1; var$4[102] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(862); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 9632; var$1.$end = 9727; var$6[1] = var$1; var$4[103] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(863); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 9728; var$1.$end = 9983; var$6[1] = var$1; var$4[104] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(864); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 9984; var$1.$end = 10175; var$6[1] = var$1; var$4[105] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(865); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 10176; var$1.$end = 10223; var$6[1] = var$1; var$4[106] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(866); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 10224; var$1.$end = 10239; var$6[1] = var$1; var$4[107] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(867); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 10240; var$1.$end = 10495; var$6[1] = var$1; var$4[108] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(868); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 10496; var$1.$end = 10623; var$6[1] = var$1; var$4[109] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(869); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 10624; var$1.$end = 10751; var$6[1] = var$1; var$4[110] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(870); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 10752; var$1.$end = 11007; var$6[1] = var$1; var$4[111] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(871); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 11008; var$1.$end = 11263; var$6[1] = var$1; var$4[112] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(872); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 11264; var$1.$end = 11359; var$6[1] = var$1; var$4[113] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(873); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 11392; var$1.$end = 11519; var$6[1] = var$1; var$4[114] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(874); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 11520; var$1.$end = 11567; var$6[1] = var$1; var$4[115] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(875); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 11568; var$1.$end = 11647; var$6[1] = var$1; var$4[116] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(876); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 11648; var$1.$end = 11743; var$6[1] = var$1; var$4[117] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(877); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 11776; var$1.$end = 11903; var$6[1] = var$1; var$4[118] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(878); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 11904; var$1.$end = 12031; var$6[1] = var$1; var$4[119] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(879); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 12032; var$1.$end = 12255; var$6[1] = var$1; var$4[120] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(880); var$1 = new jur_AbstractCharClass$LazyRange; var$1.$start0 = 12272; var$1.$end = 12287; var$6[1] = var$1; var$4[121] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(881); var$6[1] = jur_AbstractCharClass$LazyRange__init_(12288, 12351); var$4[122] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(882); var$6[1] = jur_AbstractCharClass$LazyRange__init_(12352, 12447); var$4[123] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(883); var$6[1] = jur_AbstractCharClass$LazyRange__init_(12448, 12543); var$4[124] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(884); var$6[1] = jur_AbstractCharClass$LazyRange__init_(12544, 12591); var$4[125] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(885); var$6[1] = jur_AbstractCharClass$LazyRange__init_(12592, 12687); var$4[126] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(886); var$6[1] = jur_AbstractCharClass$LazyRange__init_(12688, 12703); var$4[127] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(887); var$6[1] = jur_AbstractCharClass$LazyRange__init_(12704, 12735); var$4[128] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(888); var$6[1] = jur_AbstractCharClass$LazyRange__init_(12736, 12783); var$4[129] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(889); var$6[1] = jur_AbstractCharClass$LazyRange__init_(12784, 12799); var$4[130] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(890); var$6[1] = jur_AbstractCharClass$LazyRange__init_(12800, 13055); var$4[131] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(891); var$6[1] = jur_AbstractCharClass$LazyRange__init_(13056, 13311); var$4[132] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(892); var$6[1] = jur_AbstractCharClass$LazyRange__init_(13312, 19893); var$4[133] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(893); var$6[1] = jur_AbstractCharClass$LazyRange__init_(19904, 19967); var$4[134] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(894); var$6[1] = jur_AbstractCharClass$LazyRange__init_(19968, 40959); var$4[135] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(895); var$6[1] = jur_AbstractCharClass$LazyRange__init_(40960, 42127); var$4[136] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(896); var$6[1] = jur_AbstractCharClass$LazyRange__init_(42128, 42191); var$4[137] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(897); var$6[1] = jur_AbstractCharClass$LazyRange__init_(42752, 42783); var$4[138] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(898); var$6[1] = jur_AbstractCharClass$LazyRange__init_(43008, 43055); var$4[139] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(899); var$6[1] = jur_AbstractCharClass$LazyRange__init_(44032, 55203); var$4[140] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(900); var$6[1] = jur_AbstractCharClass$LazyRange__init_(55296, 56191); var$4[141] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(901); var$6[1] = jur_AbstractCharClass$LazyRange__init_(56192, 56319); var$4[142] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(902); var$6[1] = jur_AbstractCharClass$LazyRange__init_(56320, 57343); var$4[143] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(903); var$6[1] = jur_AbstractCharClass$LazyRange__init_(57344, 63743); var$4[144] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(904); var$6[1] = jur_AbstractCharClass$LazyRange__init_(63744, 64255); var$4[145] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(905); var$6[1] = jur_AbstractCharClass$LazyRange__init_(64256, 64335); var$4[146] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(906); var$6[1] = jur_AbstractCharClass$LazyRange__init_(64336, 65023); var$4[147] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(907); var$6[1] = jur_AbstractCharClass$LazyRange__init_(65024, 65039); var$4[148] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(908); var$6[1] = jur_AbstractCharClass$LazyRange__init_(65040, 65055); var$4[149] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(909); var$6[1] = jur_AbstractCharClass$LazyRange__init_(65056, 65071); var$4[150] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(910); var$6[1] = jur_AbstractCharClass$LazyRange__init_(65072, 65103); var$4[151] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(911); var$6[1] = jur_AbstractCharClass$LazyRange__init_(65104, 65135); var$4[152] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(912); var$6[1] = jur_AbstractCharClass$LazyRange__init_(65136, 65279); var$4[153] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(913); var$6[1] = jur_AbstractCharClass$LazyRange__init_(65280, 65519); var$4[154] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(914); var$6[1] = jur_AbstractCharClass$LazyRange__init_(0, 1114111); var$4[155] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(915); var$6[1] = new jur_AbstractCharClass$LazySpecialsBlock; var$4[156] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(916); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(0, 1); var$4[157] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(917); var$6[1] = jur_AbstractCharClass$LazyCategoryScope__init_(62, 1); var$4[158] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(918); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(1, 1); var$4[159] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(919); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(2, 1); var$4[160] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(920); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(3, 0); var$4[161] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(921); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(4, 0); var$4[162] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(922); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(5, 1); var$4[163] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(923); var$6[1] = jur_AbstractCharClass$LazyCategoryScope__init_(448, 1); var$4[164] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(924); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(6, 1); var$4[165] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(925); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(7, 0); var$4[166] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(926); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(8, 1); var$4[167] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(271); var$6[1] = jur_AbstractCharClass$LazyCategoryScope__init_(3584, 1); var$4[168] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(927); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(9, 1); var$4[169] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(928); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(10, 1); var$4[170] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(929); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(11, 1); var$4[171] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(930); var$6[1] = jur_AbstractCharClass$LazyCategoryScope__init_(28672, 0); var$4[172] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(931); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(12, 0); var$4[173] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(932); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(13, 0); var$4[174] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(933); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(14, 0); var$4[175] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(934); var$6[1] = jur_AbstractCharClass$LazyCategoryScope__init_2(983040, 1, 1); var$4[176] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(935); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(15, 0); var$4[177] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(936); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(16, 1); var$4[178] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(937); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(18, 1); var$4[179] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(938); var$6[1] = jur_AbstractCharClass$LazyCategory__init_0(19, 0, 1); var$4[180] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(939); var$6[1] = jur_AbstractCharClass$LazyCategoryScope__init_(1643118592, 1); var$4[181] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(940); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(20, 0); var$4[182] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(941); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(21, 0); var$4[183] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(942); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(22, 0); var$4[184] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(943); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(23, 0); var$4[185] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(944); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(24, 1); var$4[186] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(945); var$6[1] = jur_AbstractCharClass$LazyCategoryScope__init_(2113929216, 1); var$4[187] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(946); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(25, 1); var$4[188] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(947); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(26, 0); var$4[189] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(948); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(27, 0); var$4[190] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(949); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(28, 1); var$4[191] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(950); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(29, 0); var$4[192] = var$5; var$5 = $rt_createArray(jl_Object, 2); var$6 = var$5.data; var$6[0] = $rt_s(951); var$6[1] = jur_AbstractCharClass$LazyCategory__init_(30, 0); var$4[193] = var$5; jur_AbstractCharClass$PredefinedCharacterClasses_contents = var$3; }; function jur_AbstractCharClass$LazyCharClass() { let a = this; jl_Object.call(a); a.$posValue = null; a.$negValue = null; } let jur_AbstractCharClass$LazyCharClass_getValue = ($this, $negative) => { if (!$negative && $this.$posValue === null) $this.$posValue = $this.$computeValue(); else if ($negative && $this.$negValue === null) $this.$negValue = jur_AbstractCharClass_setNegative($this.$computeValue(), 1); if ($negative) return $this.$negValue; return $this.$posValue; }, jl_NumberFormatException = $rt_classWithoutFields(jl_IllegalArgumentException), jl_NumberFormatException__init_0 = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_NumberFormatException__init_2 = () => { let var_0 = new jl_NumberFormatException(); jl_NumberFormatException__init_0(var_0); return var_0; }, jl_NumberFormatException__init_ = ($this, $message) => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; $this.$message = $message; }, jl_NumberFormatException__init_1 = var_0 => { let var_1 = new jl_NumberFormatException(); jl_NumberFormatException__init_(var_1, var_0); return var_1; }; function jur_Quantifier() { let a = this; jur_SpecialToken.call(a); a.$min0 = 0; a.$max0 = 0; } let jur_Quantifier_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$min0; var$2 = $this.$max0; if (var$2 == 2147483647) var$3 = $rt_s(18); else { var$3 = new jl_AbstractStringBuilder; var$3.$buffer = $rt_createCharArray(20); var$3 = (jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$2, 10)).$toString(); } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$2 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$2, var$2 + 1 | 0); var$4.$buffer.data[var$2] = 123; jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$1, 10); var$1 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$1, var$1 + 1 | 0); var$4.$buffer.data[var$1] = 44; var$5 = var$4.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$3); var$1 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$1, var$1 + 1 | 0); var$6 = var$4.$buffer; var$7 = var$6.data; var$7[var$1] = 125; var$3 = new jl_String; var$1 = var$4.$length0; var$2 = var$7.length; if (var$1 >= 0 && var$1 <= (var$2 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$1); return var$3; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); }, jur_FSet$PossessiveFSet = $rt_classWithoutFields(jur_AbstractSet), jur_FSet$PossessiveFSet__init_ = $this => { let var$1, var$2; var$1 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$1 + 1 | 0; var$2 = new jl_AbstractStringBuilder; var$2.$buffer = $rt_createCharArray(20); $this.$index1 = (jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10)).$toString(); }, jur_FSet$PossessiveFSet__init_0 = () => { let var_0 = new jur_FSet$PossessiveFSet(); jur_FSet$PossessiveFSet__init_(var_0); return var_0; }, jur_FSet$PossessiveFSet_matches = ($this, $stringIndex, $testString, $matchResult) => { return $stringIndex; }, jur_FSet$PossessiveFSet_getName = $this => { return $rt_s(952); }, jur_FSet$PossessiveFSet_hasConsumed = ($this, $mr) => { return 0; }; function ju_BitSet() { let a = this; jl_Object.call(a); a.$data3 = null; a.$length2 = 0; } let ju_BitSet__init_ = $this => { $this.$data3 = $rt_createIntArray(2); }, ju_BitSet__init_0 = () => { let var_0 = new ju_BitSet(); ju_BitSet__init_(var_0); return var_0; }, ju_BitSet_set0 = ($this, $bitIndex) => { let var$2, $index, var$4; if ($bitIndex < 0) { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $index = $bitIndex / 32 | 0; if ($bitIndex >= $this.$length2) { ju_BitSet_ensureCapacity($this, $index + 1 | 0); $this.$length2 = $bitIndex + 1 | 0; } var$4 = $this.$data3.data; var$4[$index] = var$4[$index] | 1 << ($bitIndex % 32 | 0); }, ju_BitSet_set = ($this, $fromIndex, $toIndex) => { let $fromDataIndex, $toDataIndex, var$5, var$6, $i, var$8; if ($fromIndex >= 0) { $fromDataIndex = $rt_compare($fromIndex, $toIndex); if ($fromDataIndex <= 0) { if (!$fromDataIndex) return; $fromDataIndex = $fromIndex / 32 | 0; $toDataIndex = $toIndex / 32 | 0; if ($toIndex > $this.$length2) { ju_BitSet_ensureCapacity($this, $toDataIndex + 1 | 0); $this.$length2 = $toIndex; } if ($fromDataIndex == $toDataIndex) { var$5 = $this.$data3.data; $toDataIndex = var$5[$fromDataIndex]; var$6 = (-1) << ($fromIndex % 32 | 0); $fromIndex = $toIndex % 32 | 0; var$5[$fromDataIndex] = $toDataIndex | var$6 & (!$fromIndex ? 0 : (-1) >>> (32 - $fromIndex | 0) | 0); } else { var$5 = $this.$data3.data; var$5[$fromDataIndex] = var$5[$fromDataIndex] | (-1) << ($fromIndex % 32 | 0); $i = $fromDataIndex + 1 | 0; while ($i < $toDataIndex) { var$5[$i] = (-1); $i = $i + 1 | 0; } if ($toIndex & 31) { $i = var$5[$toDataIndex]; $fromIndex = $toIndex % 32 | 0; var$5[$toDataIndex] = $i | (!$fromIndex ? 0 : (-1) >>> (32 - $fromIndex | 0) | 0); } } return; } } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); }, ju_BitSet_clear = ($this, $bitIndex) => { let var$2, $index, var$4, var$5, var$6; if ($bitIndex < 0) { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $index = $bitIndex / 32 | 0; var$4 = $this.$data3.data; if ($index < var$4.length) { var$5 = var$4[$index]; var$6 = ($bitIndex % 32 | 0) & 31; var$4[$index] = var$5 & ((-2) << var$6 | ((-2) >>> (32 - var$6 | 0) | 0)); if ($bitIndex == ($this.$length2 - 1 | 0)) ju_BitSet_recalculateLength($this); } }, ju_BitSet_clear0 = ($this, $fromIndex, $toIndex) => { let $fromDataIndex, $toDataIndex, var$5, $i, var$7, var$8; if ($fromIndex >= 0 && $fromIndex <= $toIndex) { $fromDataIndex = $this.$length2; if ($fromIndex >= $fromDataIndex) return; if ($fromDataIndex < $toIndex) $toIndex = $fromDataIndex; if ($fromIndex == $toIndex) return; $fromDataIndex = $fromIndex / 32 | 0; $toDataIndex = $toIndex / 32 | 0; if ($fromDataIndex == $toDataIndex) { var$5 = $this.$data3.data; $i = var$5[$fromDataIndex]; $fromIndex = $fromIndex % 32 | 0; var$5[$fromDataIndex] = $i & ((!$fromIndex ? 0 : (-1) >>> (32 - $fromIndex | 0) | 0) | (-1) << ($toIndex % 32 | 0)); } else { var$5 = $this.$data3.data; var$7 = var$5[$fromDataIndex]; $fromIndex = $fromIndex % 32 | 0; var$5[$fromDataIndex] = var$7 & (!$fromIndex ? 0 : (-1) >>> (32 - $fromIndex | 0) | 0); $i = $fromDataIndex + 1 | 0; while ($i < $toDataIndex) { var$5[$i] = 0; $i = $i + 1 | 0; } if ($toIndex & 31) var$5[$toDataIndex] = var$5[$toDataIndex] & (-1) << ($toIndex % 32 | 0); } ju_BitSet_recalculateLength($this); return; } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); }, ju_BitSet_get = ($this, $bitIndex) => { let var$2, $index, var$4; if ($bitIndex < 0) { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $index = $bitIndex / 32 | 0; var$4 = $this.$data3.data; return $index < var$4.length && var$4[$index] & 1 << ($bitIndex % 32 | 0) ? 1 : 0; }, ju_BitSet_nextSetBit = ($this, $fromIndex) => { let var$2, $top, $index, var$5, $i; if ($fromIndex < 0) { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $top = $this.$length2; if ($fromIndex >= $top) return (-1); $index = $fromIndex / 32 | 0; var$5 = $this.$data3.data; $i = var$5[$index] >>> ($fromIndex % 32 | 0) | 0; if ($i) return jl_Integer_numberOfTrailingZeros($i) + $fromIndex | 0; $top = ($top + 31 | 0) / 32 | 0; $i = $index + 1 | 0; while ($i < $top) { if (var$5[$i]) return ($i * 32 | 0) + jl_Integer_numberOfTrailingZeros(var$5[$i]) | 0; $i = $i + 1 | 0; } return (-1); }, ju_BitSet_nextClearBit = ($this, $fromIndex) => { let var$2, var$3, $index, var$5, $top, $i; if ($fromIndex < 0) { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$3 = $this.$length2; if ($fromIndex >= var$3) return $fromIndex; $index = $fromIndex / 32 | 0; var$5 = $this.$data3.data; $top = (var$5[$index] ^ (-1)) >>> ($fromIndex % 32 | 0) | 0; if ($top) return jl_Integer_numberOfTrailingZeros($top) + $fromIndex | 0; $top = (var$3 + 31 | 0) / 32 | 0; $i = $index + 1 | 0; while ($i < $top) { if (var$5[$i] != (-1)) return ($i * 32 | 0) + jl_Integer_numberOfTrailingZeros(var$5[$i] ^ (-1)) | 0; $i = $i + 1 | 0; } return var$3; }, ju_BitSet_ensureCapacity = ($this, $capacity) => { let var$2, var$3, $newArrayLength, $newArrayLength_0, var$6, var$7; var$2 = $this.$data3.data; var$3 = var$2.length; if (var$3 >= $capacity) return; $newArrayLength = ($capacity * 3 | 0) / 2 | 0; $newArrayLength_0 = (var$3 * 2 | 0) + 1 | 0; if ($newArrayLength > $newArrayLength_0) $newArrayLength_0 = $newArrayLength; var$6 = $rt_createIntArray($newArrayLength_0); if ($newArrayLength_0 < var$3) var$3 = $newArrayLength_0; var$7 = var$6.data; $capacity = 0; while ($capacity < var$3) { var$7[$capacity] = var$2[$capacity]; $capacity = $capacity + 1 | 0; } $this.$data3 = var$6; }, ju_BitSet_recalculateLength = $this => { let $top, $i, $sz; $top = ($this.$length2 + 31 | 0) / 32 | 0; $this.$length2 = $top * 32 | 0; $i = $top - 1 | 0; a: { while (true) { if ($i < 0) break a; $sz = jl_Integer_numberOfLeadingZeros($this.$data3.data[$i]); if ($sz < 32) break; $i = $i + (-1) | 0; $this.$length2 = $this.$length2 - 32 | 0; } $this.$length2 = $this.$length2 - $sz | 0; } }, ju_BitSet_intersects = ($this, $set) => { let var$2, $sz, var$4, $sz_0, $i; var$2 = $this.$data3.data; $sz = var$2.length; var$4 = $set.$data3.data; $sz_0 = var$4.length; if ($sz < $sz_0) $sz_0 = $sz; $i = 0; while ($i < $sz_0) { if (var$2[$i] & var$4[$i]) return 1; $i = $i + 1 | 0; } return 0; }, ju_BitSet_and = ($this, $set) => { let var$2, var$3, var$4, $sz, $i, var$7, var$8; var$2 = $this.$data3.data; var$3 = var$2.length; var$4 = $set.$data3.data; $sz = var$4.length; if (var$3 < $sz) $sz = var$3; $i = 0; while ($i < $sz) { var$2[$i] = var$2[$i] & var$4[$i]; $i = $i + 1 | 0; } while ($sz < var$3) { var$2[$sz] = 0; $sz = $sz + 1 | 0; } var$7 = $this.$length2; var$8 = $set.$length2; if (var$7 < var$8) var$8 = var$7; $this.$length2 = var$8; ju_BitSet_recalculateLength($this); }, ju_BitSet_andNot = ($this, $set) => { let var$2, $sz, var$4, $sz_0, $i; var$2 = $this.$data3.data; $sz = var$2.length; var$4 = $set.$data3.data; $sz_0 = var$4.length; if ($sz < $sz_0) $sz_0 = $sz; $i = 0; while ($i < $sz_0) { var$2[$i] = var$2[$i] & (var$4[$i] ^ (-1)); $i = $i + 1 | 0; } ju_BitSet_recalculateLength($this); }, ju_BitSet_or = ($this, $set) => { let $sz, $sz_0, var$4, var$5, $i; $sz = $this.$length2; $sz_0 = $set.$length2; if ($sz > $sz_0) $sz_0 = $sz; $this.$length2 = $sz_0; ju_BitSet_ensureCapacity($this, ($sz_0 + 31 | 0) / 32 | 0); var$4 = $this.$data3.data; $sz = var$4.length; var$5 = $set.$data3.data; $sz_0 = var$5.length; if ($sz < $sz_0) $sz_0 = $sz; $i = 0; while ($i < $sz_0) { var$4[$i] = var$4[$i] | var$5[$i]; $i = $i + 1 | 0; } }, ju_BitSet_xor = ($this, $set) => { let $sz, $i, var$4, var$5, $sz_0; $sz = $this.$length2; $i = $set.$length2; if ($sz > $i) $i = $sz; $this.$length2 = $i; ju_BitSet_ensureCapacity($this, ($i + 31 | 0) / 32 | 0); var$4 = $this.$data3.data; $sz = var$4.length; var$5 = $set.$data3.data; $sz_0 = var$5.length; if ($sz < $sz_0) $sz_0 = $sz; $i = 0; while ($i < $sz_0) { var$4[$i] = var$4[$i] ^ var$5[$i]; $i = $i + 1 | 0; } ju_BitSet_recalculateLength($this); }; function jur_LowHighSurrogateRangeSet() { let a = this; jur_JointSet.call(a); a.$surrChars = null; a.$alt3 = 0; } let jur_LowHighSurrogateRangeSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $startStr, $strLength, var$6, $ch, $low, $high; $startStr = $matchResult.$leftBound; $strLength = $matchResult.$rightBound; var$6 = $stringIndex + 1 | 0; $strLength = $rt_compare(var$6, $strLength); if ($strLength > 0) { $matchResult.$hitEnd = 1; return (-1); } if ($stringIndex >= 0 && $stringIndex < $testString.$nativeString.length) { $ch = $testString.$nativeString.charCodeAt($stringIndex); if (!$this.$surrChars.$contains0($ch)) return (-1); $low = $ch & 64512; $high = $low != 55296 ? 0 : 1; a: { if ($high) { if ($strLength >= 0) break a; if (var$6 >= 0 && var$6 < $testString.$nativeString.length) { if (($testString.$nativeString.charCodeAt(var$6) & 64512) != 56320 ? 0 : 1) return (-1); break a; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } if (($low != 56320 ? 0 : 1) && $stringIndex > $startStr) { $high = $stringIndex - 1 | 0; if ($high >= 0 && $high < $testString.$nativeString.length) { if (!(($testString.$nativeString.charCodeAt($high) & 64512) != 55296 ? 0 : 1)) break a; return (-1); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } return $this.$next4.$matches(var$6, $testString, $matchResult); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_LowHighSurrogateRangeSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = !$this.$alt3 ? $rt_s(953) : $rt_s(954); var$2 = $this.$surrChars.$toString(); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(955)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$1); var$4 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$2); var$1 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }; function jur_CompositeRangeSet() { let a = this; jur_JointSet.call(a); a.$withoutSurrogates = null; a.$withSurrogates = null; } let jur_CompositeRangeSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $shift; $shift = $this.$withoutSurrogates.$matches($stringIndex, $testString, $matchResult); if ($shift < 0) $shift = jur_LowHighSurrogateRangeSet_matches($this.$withSurrogates, $stringIndex, $testString, $matchResult); if ($shift >= 0) return $shift; return (-1); }, jur_CompositeRangeSet_setNext = ($this, $next) => { $this.$next4 = $next; $this.$withSurrogates.$next4 = $next; $this.$withoutSurrogates.$setNext($next); }, jur_CompositeRangeSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$1 = $this.$withoutSurrogates; var$2 = $this.$withSurrogates; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(956)); var$4 = var$3.$length0; if (var$1 === null) var$1 = $rt_s(1); else { var$5 = var$1.$index1; var$1 = var$1.$getName(); var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$6); jl_AbstractStringBuilder_append2(var$6, 60); jl_AbstractStringBuilder_append1(var$6, var$5); jl_AbstractStringBuilder_append2(var$6, 58); jl_AbstractStringBuilder_append1(var$6, var$1); jl_AbstractStringBuilder_append2(var$6, 62); var$1 = jl_AbstractStringBuilder_toString(var$6); } jl_AbstractStringBuilder_insert(var$3, var$4, var$1); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(957)); var$4 = var$3.$length0; if (var$2 === null) var$1 = $rt_s(1); else { var$1 = var$2.$index1; var$5 = !var$2.$alt3 ? $rt_s(953) : $rt_s(954); var$2 = var$2.$surrChars.$toString(); var$6 = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$6, $rt_s(955)), var$5), var$2); var$5 = jl_StringBuilder_toString(var$6); var$2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$2); jl_AbstractStringBuilder_append2(var$2, 60); jl_AbstractStringBuilder_append1(var$2, var$1); jl_AbstractStringBuilder_append2(var$2, 58); jl_AbstractStringBuilder_append1(var$2, var$5); jl_AbstractStringBuilder_append2(var$2, 62); var$1 = jl_AbstractStringBuilder_toString(var$2); } jl_AbstractStringBuilder_insert(var$3, var$4, var$1); var$1 = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$9 = var$3.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, jur_CompositeRangeSet_hasConsumed = ($this, $matchResult) => { return 1; }, jur_CompositeRangeSet_first = ($this, $set) => { return 1; }; function jur_SupplRangeSet() { let a = this; jur_JointSet.call(a); a.$chars = null; a.$alt0 = 0; } let jur_SupplRangeSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $strLength, $low, $high, $offset; a: { $strLength = $matchResult.$rightBound; if ($stringIndex < $strLength) { $low = $stringIndex + 1 | 0; if ($stringIndex >= 0 && $stringIndex < $testString.$nativeString.length) { $high = $testString.$nativeString.charCodeAt($stringIndex); if ($this.$contains0($high)) { $offset = $this.$next4.$matches($low, $testString, $matchResult); if ($offset > 0) return $offset; } if ($low >= $strLength) break a; $strLength = $low + 1 | 0; if ($low >= 0 && $low < $testString.$nativeString.length) { $low = $testString.$nativeString.charCodeAt($low); $stringIndex = ($high & 64512) != 55296 ? 0 : 1; if (!($stringIndex && (($low & 64512) != 56320 ? 0 : 1) ? 1 : 0)) break a; if (!$this.$contains0((($high & 1023) << 10 | $low & 1023) + 65536 | 0)) break a; else return $this.$next4.$matches($strLength, $testString, $matchResult); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } return (-1); }, jur_SupplRangeSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = !$this.$alt0 ? $rt_s(953) : $rt_s(954); var$2 = $this.$chars.$toString(); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(955)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$1); var$4 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$2); var$1 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, jur_SupplRangeSet_contains = ($this, $ch) => { return $this.$chars.$contains0($ch); }, jur_SupplRangeSet_first = ($this, $set) => { let var$2, var$3; if ($set instanceof jur_SupplCharSet) return $this.$chars.$contains0($set.$ch1); if ($set instanceof jur_CharSet) return $this.$chars.$contains0($set.$ch0); if ($set instanceof jur_SupplRangeSet) { var$2 = $this.$chars; $set = $set.$chars; return var$2.$getBits() !== null && $set.$getBits() !== null ? ju_BitSet_intersects(var$2.$getBits(), $set.$getBits()) : 1; } if (!($set instanceof jur_RangeSet)) return 1; var$2 = $this.$chars; var$3 = $set.$chars0; return var$2.$getBits() !== null && var$3.$getBits() !== null ? ju_BitSet_intersects(var$2.$getBits(), var$3.$getBits()) : 1; }, jur_SupplRangeSet_getChars = $this => { return $this.$chars; }, jur_SupplRangeSet_setNext = ($this, $next) => { $this.$next4 = $next; }, jur_SupplRangeSet_hasConsumed = ($this, $mr) => { return 1; }, jur_UCISupplRangeSet = $rt_classWithoutFields(jur_SupplRangeSet), jur_UCISupplRangeSet_contains = ($this, $ch) => { let var$2; var$2 = $this.$chars; if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } $ch = jl_Character_mapChar(jl_Character_upperCaseMapping, $ch); if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } return var$2.$contains0(jl_Character_mapChar(jl_Character_lowerCaseMapping, $ch)); }, jur_UCISupplRangeSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = !$this.$alt0 ? $rt_s(953) : $rt_s(954); var$2 = $this.$chars.$toString(); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(958)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$1); var$4 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$2); var$1 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }; function jur_UCIRangeSet() { let a = this; jur_LeafSet.call(a); a.$chars1 = null; a.$alt2 = 0; } let jur_UCIRangeSet_accepts = ($this, $strIndex, $testString) => { let var$3; var$3 = $this.$chars1; if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { $strIndex = $testString.$nativeString.charCodeAt($strIndex); if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } $strIndex = jl_Character_mapChar(jl_Character_upperCaseMapping, $strIndex) & 65535; if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } return !var$3.$contains0(jl_Character_mapChar(jl_Character_lowerCaseMapping, $strIndex) & 65535) ? (-1) : 1; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_UCIRangeSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = !$this.$alt2 ? $rt_s(953) : $rt_s(954); var$2 = $this.$chars1.$toString(); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(958)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$1); var$4 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$2); var$1 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }; function jur_RangeSet() { let a = this; jur_LeafSet.call(a); a.$chars0 = null; a.$alt1 = 0; } let jur_RangeSet_accepts = ($this, $strIndex, $testString) => { let var$3; var$3 = $this.$chars0; if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) return !var$3.$contains0($testString.$nativeString.charCodeAt($strIndex)) ? (-1) : 1; $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_RangeSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = !$this.$alt1 ? $rt_s(953) : $rt_s(954); var$2 = $this.$chars0.$toString(); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(955)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$1); var$4 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$2); var$1 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, jur_RangeSet_first = ($this, $set) => { let var$2, var$3; if ($set instanceof jur_CharSet) return $this.$chars0.$contains0($set.$ch0); if ($set instanceof jur_RangeSet) { var$2 = $this.$chars0; $set = $set.$chars0; return var$2.$getBits() !== null && $set.$getBits() !== null ? ju_BitSet_intersects(var$2.$getBits(), $set.$getBits()) : 1; } if (!($set instanceof jur_SupplRangeSet)) { if (!($set instanceof jur_SupplCharSet)) return 1; return 0; } var$2 = $this.$chars0; var$3 = $set.$chars; return var$2.$getBits() !== null && var$3.$getBits() !== null ? ju_BitSet_intersects(var$2.$getBits(), var$3.$getBits()) : 1; }; function jur_HangulDecomposedCharSet() { let a = this; jur_JointSet.call(a); a.$decomposedChar = null; a.$decomposedCharUTF160 = null; a.$decomposedCharLength0 = 0; } let jur_HangulDecomposedCharSet_setNext = ($this, $next) => { $this.$next4 = $next; }, jur_HangulDecomposedCharSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; if ($this.$decomposedCharUTF160 === null) { var$1 = new jl_String; var$2 = $this.$decomposedChar; var$1.$nativeString = $rt_charArrayToString(var$2.data, 0, var$2.data.length); $this.$decomposedCharUTF160 = var$1; } var$3 = $this.$decomposedCharUTF160; var$1 = new jl_StringBuilder; var$1.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$1, var$1.$length0, $rt_s(959)); var$4 = var$1.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, var$4, var$3); var$5 = new jl_String; var$2 = var$1.$buffer; var$6 = var$2.data; var$7 = var$1.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$2.data, 0, var$7); return var$5; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, jur_HangulDecomposedCharSet_matches = ($this, $strIndex, $testString, $matchResult) => { let $rightBound, $decompSyllable, $vIndex, $tIndex, var$8, $curSymb, $decompCurSymb, $i, $lIndex; $rightBound = $matchResult.$rightBound; $decompSyllable = $rt_createIntArray(3); $vIndex = (-1); $tIndex = (-1); if ($strIndex >= $rightBound) return (-1); var$8 = $strIndex + 1 | 0; if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { $curSymb = $testString.$nativeString.charCodeAt($strIndex); $decompCurSymb = jur_Lexer_getHangulDecomposition($curSymb); if ($decompCurSymb !== null) { $decompSyllable = $decompCurSymb.data; $i = 0; $strIndex = $decompSyllable.length; $lIndex = $this.$decomposedCharLength0; if ($strIndex != $lIndex) return (-1); while (true) { if ($i >= $lIndex) return $this.$next4.$matches(var$8, $testString, $matchResult); if ($decompSyllable[$i] != $this.$decomposedChar.data[$i]) break; $i = $i + 1 | 0; } return (-1); } $decompCurSymb = $decompSyllable.data; $decompCurSymb[0] = $curSymb; $lIndex = $curSymb - 4352 | 0; if ($lIndex >= 0 && $lIndex < 19) { if (var$8 < $rightBound) { if (var$8 >= 0 && var$8 < $testString.$nativeString.length) { $curSymb = $testString.$nativeString.charCodeAt(var$8); $vIndex = $curSymb - 4449 | 0; } else { $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } if ($vIndex >= 0 && $vIndex < 21) { $strIndex = var$8 + 1 | 0; $decompCurSymb[1] = $curSymb; if ($strIndex < $rightBound) { if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { $curSymb = $testString.$nativeString.charCodeAt($strIndex); $tIndex = $curSymb - 4519 | 0; } else { $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } if ($tIndex >= 0 && $tIndex < 28) { a: { $strIndex = $strIndex + 1 | 0; $decompCurSymb[2] = $curSymb; if ($this.$decomposedCharLength0 == 3) { $lIndex = $decompCurSymb[0]; $decompSyllable = $this.$decomposedChar.data; if ($lIndex == $decompSyllable[0] && $decompCurSymb[1] == $decompSyllable[1] && $decompCurSymb[2] == $decompSyllable[2]) { $strIndex = $this.$next4.$matches($strIndex, $testString, $matchResult); break a; } } $strIndex = (-1); } return $strIndex; } b: { if ($this.$decomposedCharLength0 == 2) { $lIndex = $decompCurSymb[0]; $decompSyllable = $this.$decomposedChar.data; if ($lIndex == $decompSyllable[0] && $decompCurSymb[1] == $decompSyllable[1]) { $strIndex = $this.$next4.$matches($strIndex, $testString, $matchResult); break b; } } $strIndex = (-1); } return $strIndex; } return (-1); } return (-1); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_HangulDecomposedCharSet_first = ($this, $set) => { let var$2, var$3, var$4; a: { if ($set instanceof jur_HangulDecomposedCharSet) { $set = $set; if ($set.$decomposedCharUTF160 === null) { var$2 = new jl_String; var$3 = $set.$decomposedChar; var$2.$nativeString = $rt_charArrayToString(var$3.data, 0, var$3.data.length); $set.$decomposedCharUTF160 = var$2; } var$2 = $set.$decomposedCharUTF160; if ($this.$decomposedCharUTF160 === null) { $set = new jl_String; var$3 = $this.$decomposedChar; $set.$nativeString = $rt_charArrayToString(var$3.data, 0, var$3.data.length); $this.$decomposedCharUTF160 = $set; } $set = $this.$decomposedCharUTF160; if (var$2 === $set) var$4 = 1; else if (!($set instanceof jl_String)) var$4 = 0; else { $set = $set; var$4 = var$2.$nativeString !== $set.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break a; } } var$4 = 1; } return var$4; }, jur_HangulDecomposedCharSet_hasConsumed = ($this, $matchResult) => { return 1; }; function jur_CharSet() { jur_LeafSet.call(this); this.$ch0 = 0; } let jur_CharSet_charCount = $this => { return 1; }, jur_CharSet_accepts = ($this, $strIndex, $testString) => { let var$3; var$3 = $this.$ch0; if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) return var$3 != $testString.$nativeString.charCodeAt($strIndex) ? (-1) : 1; $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_CharSet_find = ($this, $strIndex, $testStr, $matchResult) => { let $strLength, var$5, var$6, var$7, var$8; if ($testStr instanceof jl_String) { $strLength = $matchResult.$rightBound; while (true) { if ($strIndex >= $strLength) return (-1); var$5 = jl_String_indexOf($testStr, $this.$ch0, $strIndex); if (var$5 < 0) return (-1); var$6 = $this.$next4; $strIndex = var$5 + 1 | 0; if (var$6.$matches($strIndex, $testStr, $matchResult) >= 0) break; } return var$5; } var$7 = $matchResult.$rightBound; a: { b: { while (true) { if ($strIndex > var$7) { $strIndex = (-1); break b; } var$8 = $strIndex + 1 | 0; if (var$8 > $matchResult.$rightBound) { $matchResult.$hitEnd = 1; var$5 = (-1); } else { var$5 = $this.$ch0; if ($strIndex < 0) break a; if ($strIndex >= $testStr.$nativeString.length) break a; var$5 = var$5 != $testStr.$nativeString.charCodeAt($strIndex) ? (-1) : 1; var$5 = var$5 < 0 ? (-1) : $this.$next4.$matches($strIndex + var$5 | 0, $testStr, $matchResult); } if (var$5 >= 0) break; $strIndex = var$8; } } return $strIndex; } $testStr = new jl_StringIndexOutOfBoundsException; $testStr.$suppressionEnabled = 1; $testStr.$writableStackTrace = 1; $rt_throw($testStr); }, jur_CharSet_findBack = ($this, $strIndex, $lastIndex, $testStr, $matchResult) => { let var$5, var$6; if ($testStr instanceof jl_String) { a: { while (true) { if ($lastIndex < $strIndex) return (-1); $lastIndex = jl_String_lastIndexOf($testStr, $this.$ch0, $lastIndex); if ($lastIndex < 0) break a; if ($lastIndex < $strIndex) break a; if ($this.$next4.$matches($lastIndex + 1 | 0, $testStr, $matchResult) >= 0) break; $lastIndex = $lastIndex + (-1) | 0; } return $lastIndex; } return (-1); } b: { c: { while (true) { if ($lastIndex < $strIndex) { $lastIndex = (-1); break c; } if (($lastIndex + 1 | 0) > $matchResult.$rightBound) { $matchResult.$hitEnd = 1; var$5 = (-1); } else { var$6 = $this.$ch0; if ($lastIndex < 0) break b; if ($lastIndex >= $testStr.$nativeString.length) break b; var$5 = var$6 != $testStr.$nativeString.charCodeAt($lastIndex) ? (-1) : 1; var$5 = var$5 < 0 ? (-1) : $this.$next4.$matches($lastIndex + var$5 | 0, $testStr, $matchResult); } if (var$5 >= 0) break; $lastIndex = $lastIndex + (-1) | 0; } } return $lastIndex; } $testStr = new jl_StringIndexOutOfBoundsException; $testStr.$suppressionEnabled = 1; $testStr.$writableStackTrace = 1; $rt_throw($testStr); }, jur_CharSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$ch0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$3, var$3 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[var$3] = var$1; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); return var$6; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, jur_CharSet_first = ($this, $set) => { let var$2, var$3, var$4, var$5; if ($set instanceof jur_CharSet) return $set.$ch0 != $this.$ch0 ? 0 : 1; if (!($set instanceof jur_RangeSet)) { if ($set instanceof jur_SupplRangeSet) return $set.$contains0($this.$ch0); if (!($set instanceof jur_SupplCharSet)) return 1; return 0; } $set = $set; var$2 = $this.$ch0; var$3 = new jl_String; var$4 = $rt_createCharArray(1); var$5 = var$4.data; var$5[0] = var$2; var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$5.length); $set = $set.$chars0; if (0 >= var$3.$nativeString.length) { $set = new jl_StringIndexOutOfBoundsException; $set.$suppressionEnabled = 1; $set.$writableStackTrace = 1; $rt_throw($set); } return (!$set.$contains0(var$3.$nativeString.charCodeAt(0)) ? (-1) : 1) <= 0 ? 0 : 1; }; function jur_UCICharSet() { jur_LeafSet.call(this); this.$ch3 = 0; } let jur_UCICharSet_accepts = ($this, $strIndex, $testString) => { let var$3; var$3 = $this.$ch3; if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { $strIndex = $testString.$nativeString.charCodeAt($strIndex); if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } $strIndex = jl_Character_mapChar(jl_Character_upperCaseMapping, $strIndex) & 65535; if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } return var$3 != (jl_Character_mapChar(jl_Character_lowerCaseMapping, $strIndex) & 65535) ? (-1) : 1; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_UCICharSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$ch3; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(960)); var$3 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$3, var$3 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[var$3] = var$1; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); return var$6; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }; function jur_CICharSet() { let a = this; jur_LeafSet.call(a); a.$ch2 = 0; a.$supplement = 0; } let jur_CICharSet_accepts = ($this, $strIndex, $testString) => { let var$3; var$3 = $this.$ch2; if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { a: { b: { if (var$3 != $testString.$nativeString.charCodeAt($strIndex)) { var$3 = $this.$supplement; if ($strIndex < 0) break a; if ($strIndex >= $testString.$nativeString.length) break a; if (var$3 != $testString.$nativeString.charCodeAt($strIndex)) { $strIndex = (-1); break b; } } $strIndex = 1; } return $strIndex; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_CICharSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$ch2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(961)); var$3 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$3, var$3 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[var$3] = var$1; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); return var$6; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }; function jur_DecomposedCharSet() { let a = this; jur_JointSet.call(a); a.$readCharsForCodePoint = 0; a.$decomposedCharUTF16 = null; a.$decomposedChar0 = null; a.$decomposedCharLength = 0; } let jur_DecomposedCharSet_setNext = ($this, $next) => { $this.$next4 = $next; }, jur_DecomposedCharSet_matches = ($this, $strIndex, $testString, $matchResult) => { let $decCodePoint, $rightBound, $curChar, var$7, $decCurCodePoint, var$9, var$10; $decCodePoint = $rt_createIntArray(4); $rightBound = $matchResult.$rightBound; if ($strIndex >= $rightBound) return (-1); $curChar = jur_DecomposedCharSet_codePointAt($this, $strIndex, $testString, $rightBound); var$7 = $strIndex + $this.$readCharsForCodePoint | 0; $decCurCodePoint = jur_Lexer_decompTable.$get7($curChar); if ($decCurCodePoint === null) { var$9 = $decCodePoint.data; $strIndex = 1; var$9[0] = $curChar; } else { $strIndex = $decCurCodePoint.data.length; jl_System_fastArraycopy($decCurCodePoint, 0, $decCodePoint, 0, $strIndex); $strIndex = 0 + $strIndex | 0; } a: { if (var$7 < $rightBound) { $decCurCodePoint = $decCodePoint.data; $curChar = jur_DecomposedCharSet_codePointAt($this, var$7, $testString, $rightBound); while ($strIndex < 4) { if (!jur_Lexer_hasDecompositionNonNullCanClass($curChar)) { var$10 = $strIndex + 1 | 0; $decCurCodePoint[$strIndex] = $curChar; } else { var$9 = (jur_Lexer_decompTable.$get7($curChar)).data; if (var$9.length != 2) { var$10 = $strIndex + 1 | 0; $decCurCodePoint[$strIndex] = var$9[0]; } else { $curChar = $strIndex + 1 | 0; $decCurCodePoint[$strIndex] = var$9[0]; var$10 = $curChar + 1 | 0; $decCurCodePoint[$curChar] = var$9[1]; } } var$7 = var$7 + $this.$readCharsForCodePoint | 0; if (var$7 >= $rightBound) { $strIndex = var$10; break a; } $curChar = jur_DecomposedCharSet_codePointAt($this, var$7, $testString, $rightBound); $strIndex = var$10; } } } if ($strIndex != $this.$decomposedCharLength) return (-1); var$9 = $decCodePoint.data; $curChar = 0; while (true) { if ($curChar >= $strIndex) return $this.$next4.$matches(var$7, $testString, $matchResult); if (var$9[$curChar] != $this.$decomposedChar0.data[$curChar]) break; $curChar = $curChar + 1 | 0; } return (-1); }, jur_DecomposedCharSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; if ($this.$decomposedCharUTF16 === null) { var$1 = new jl_StringBuilder; var$1.$buffer = $rt_createCharArray(16); var$2 = 0; while (var$2 < $this.$decomposedCharLength) { var$3 = jl_Character_toChars($this.$decomposedChar0.data[var$2]); var$4 = var$3.data.length; jl_AbstractStringBuilder_insert6(var$1, var$1.$length0, var$3, 0, var$4); var$2 = var$2 + 1 | 0; } var$5 = new jl_String; var$3 = var$1.$buffer; var$6 = var$3.data; var$7 = var$1.$length0; var$4 = var$6.length; if (var$7 >= 0 && var$7 <= (var$4 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$3.data, 0, var$7); $this.$decomposedCharUTF16 = var$5; } else { var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } } var$8 = $this.$decomposedCharUTF16; var$1 = new jl_StringBuilder; var$1.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$1, var$1.$length0, $rt_s(962)); var$2 = var$1.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, var$2, var$8); var$5 = new jl_String; var$3 = var$1.$buffer; var$6 = var$3.data; var$7 = var$1.$length0; var$4 = var$6.length; if (var$7 >= 0 && var$7 <= (var$4 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$3.data, 0, var$7); return var$5; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, jur_DecomposedCharSet_codePointAt = ($this, $strIndex, $testString, $rightBound) => { let $curChar, $low, $curCodePointUTF16, var$7; a: { $this.$readCharsForCodePoint = 1; if ($strIndex >= ($rightBound - 1 | 0)) { if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { $curChar = $testString.$nativeString.charCodeAt($strIndex); break a; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $rightBound = $strIndex + 1 | 0; if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { $curChar = $testString.$nativeString.charCodeAt($strIndex); if ($rightBound >= 0 && $rightBound < $testString.$nativeString.length) { $low = $testString.$nativeString.charCodeAt($rightBound); $strIndex = ($curChar & 64512) != 55296 ? 0 : 1; if ($strIndex && (($low & 64512) != 56320 ? 0 : 1) ? 1 : 0) { $curCodePointUTF16 = $rt_createCharArray(2); var$7 = $curCodePointUTF16.data; var$7[0] = $curChar; var$7[1] = $low; $curChar = jl_Character_codePointAt($curCodePointUTF16, 0, var$7.length); $this.$readCharsForCodePoint = 2; } break a; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } return $curChar; }, jur_DecomposedCharSet_first = ($this, $set) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; a: { if ($set instanceof jur_DecomposedCharSet) { $set = $set; if ($set.$decomposedCharUTF16 === null) { var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = 0; while (var$3 < $set.$decomposedCharLength) { var$4 = jl_Character_toChars($set.$decomposedChar0.data[var$3]); var$5 = var$4.data.length; jl_AbstractStringBuilder_insert6(var$2, var$2.$length0, var$4, 0, var$5); var$3 = var$3 + 1 | 0; } var$6 = new jl_String; var$4 = var$2.$buffer; var$7 = var$4.data; var$8 = var$2.$length0; var$5 = var$7.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$8); $set.$decomposedCharUTF16 = var$6; } else { $set = new jl_IndexOutOfBoundsException; jl_Throwable__init_($set); $rt_throw($set); } } var$6 = $set.$decomposedCharUTF16; if ($this.$decomposedCharUTF16 === null) { $set = new jl_StringBuilder; $set.$buffer = $rt_createCharArray(16); var$3 = 0; while (var$3 < $this.$decomposedCharLength) { var$4 = jl_Character_toChars($this.$decomposedChar0.data[var$3]); var$5 = var$4.data.length; jl_AbstractStringBuilder_insert6($set, $set.$length0, var$4, 0, var$5); var$3 = var$3 + 1 | 0; } var$2 = new jl_String; var$4 = $set.$buffer; var$7 = var$4.data; var$5 = $set.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$4.data, 0, var$5); $this.$decomposedCharUTF16 = var$2; } else { $set = new jl_IndexOutOfBoundsException; jl_Throwable__init_($set); $rt_throw($set); } } $set = $this.$decomposedCharUTF16; if (var$6 === $set) var$3 = 1; else if (!($set instanceof jl_String)) var$3 = 0; else { $set = $set; var$3 = var$6.$nativeString !== $set.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break a; } } var$3 = 1; } return var$3; }, jur_DecomposedCharSet_hasConsumed = ($this, $matchResult) => { return 1; }, jur_UCIDecomposedCharSet = $rt_classWithoutFields(jur_DecomposedCharSet), jur_CIDecomposedCharSet = $rt_classWithoutFields(jur_DecomposedCharSet), jur_PossessiveGroupQuantifierSet = $rt_classWithoutFields(jur_GroupQuantifierSet), jur_PossessiveGroupQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $stringIndex_0; while (true) { $stringIndex_0 = $this.$innerSet.$matches($stringIndex, $testString, $matchResult); if ($stringIndex_0 <= 0) break; $stringIndex = $stringIndex_0; } return $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_PosPlusGroupQuantifierSet = $rt_classWithoutFields(jur_GroupQuantifierSet), jur_PosPlusGroupQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $nextIndex; $nextIndex = $this.$innerSet.$matches($stringIndex, $testString, $matchResult); if ($nextIndex < 0) return (-1); if ($nextIndex > $stringIndex) { while (true) { $stringIndex = $this.$innerSet.$matches($nextIndex, $testString, $matchResult); if ($stringIndex <= $nextIndex) break; $nextIndex = $stringIndex; } $stringIndex = $nextIndex; } return $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_AltGroupQuantifierSet = $rt_classWithoutFields(jur_GroupQuantifierSet), jur_AltGroupQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $nextIndex; if (!$this.$innerSet.$hasConsumed($matchResult)) return $this.$next4.$matches($stringIndex, $testString, $matchResult); $nextIndex = $this.$innerSet.$matches($stringIndex, $testString, $matchResult); if ($nextIndex >= 0) return $nextIndex; return $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_AltGroupQuantifierSet_setNext = ($this, $next) => { $this.$next4 = $next; $this.$innerSet.$setNext($next); }, jur_PosAltGroupQuantifierSet = $rt_classWithoutFields(jur_AltGroupQuantifierSet), jur_PosAltGroupQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $nextIndex; $nextIndex = $this.$innerSet.$matches($stringIndex, $testString, $matchResult); if ($nextIndex <= 0) $nextIndex = $stringIndex; return $this.$next4.$matches($nextIndex, $testString, $matchResult); }, jur_PosAltGroupQuantifierSet_setNext = ($this, $next) => { $this.$next4 = $next; }; function jur_CompositeGroupQuantifierSet() { let a = this; jur_GroupQuantifierSet.call(a); a.$quantifier = null; a.$setCounter = 0; } let jur_CompositeGroupQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $enterCounter, var$5, $nextIndex, var$7; $enterCounter = $this.$setCounter; $enterCounter = $matchResult.$compQuantCounters.data[$enterCounter]; if (!$this.$innerSet.$hasConsumed($matchResult)) return $this.$next4.$matches($stringIndex, $testString, $matchResult); if ($enterCounter >= $this.$quantifier.$max0) return $this.$next4.$matches($stringIndex, $testString, $matchResult); var$5 = $this.$setCounter; $enterCounter = $enterCounter + 1 | 0; $matchResult.$compQuantCounters.data[var$5] = $enterCounter; $nextIndex = $this.$innerSet.$matches($stringIndex, $testString, $matchResult); if ($nextIndex >= 0) { $stringIndex = $this.$setCounter; $matchResult.$compQuantCounters.data[$stringIndex] = 0; return $nextIndex; } $nextIndex = $this.$setCounter; $enterCounter = $enterCounter + (-1) | 0; var$7 = $matchResult.$compQuantCounters.data; var$7[$nextIndex] = $enterCounter; if ($enterCounter >= $this.$quantifier.$min0) return $this.$next4.$matches($stringIndex, $testString, $matchResult); var$7[$nextIndex] = 0; return (-1); }, jur_CompositeGroupQuantifierSet_getName = $this => { return jur_Quantifier_toString($this.$quantifier); }, jur_PosCompositeGroupQuantifierSet = $rt_classWithoutFields(jur_CompositeGroupQuantifierSet), jur_PosCompositeGroupQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $counter, $max, $nextIndex; $counter = 0; $max = $this.$quantifier.$max0; a: { while (true) { $nextIndex = $this.$innerSet.$matches($stringIndex, $testString, $matchResult); if ($nextIndex <= $stringIndex) break a; if ($counter >= $max) break; $counter = $counter + 1 | 0; $stringIndex = $nextIndex; } } if ($nextIndex < 0 && $counter < $this.$quantifier.$min0) return (-1); return $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_ReluctantGroupQuantifierSet = $rt_classWithoutFields(jur_GroupQuantifierSet), jur_ReluctantGroupQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $res; if (!$this.$innerSet.$hasConsumed($matchResult)) return $this.$next4.$matches($stringIndex, $testString, $matchResult); $res = $this.$next4.$matches($stringIndex, $testString, $matchResult); if ($res >= 0) return $res; return $this.$innerSet.$matches($stringIndex, $testString, $matchResult); }, jur_RelAltGroupQuantifierSet = $rt_classWithoutFields(jur_AltGroupQuantifierSet), jur_RelAltGroupQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $nextIndex; if (!$this.$innerSet.$hasConsumed($matchResult)) return $this.$next4.$matches($stringIndex, $testString, $matchResult); $nextIndex = $this.$next4.$matches($stringIndex, $testString, $matchResult); if ($nextIndex < 0) $nextIndex = $this.$innerSet.$matches($stringIndex, $testString, $matchResult); return $nextIndex; }, jur_RelCompositeGroupQuantifierSet = $rt_classWithoutFields(jur_CompositeGroupQuantifierSet), jur_RelCompositeGroupQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $nextIndex, $enterCounter, var$6; $nextIndex = $this.$setCounter; $enterCounter = $matchResult.$compQuantCounters.data[$nextIndex]; if (!$this.$innerSet.$hasConsumed($matchResult)) return $this.$next4.$matches($stringIndex, $testString, $matchResult); var$6 = $this.$quantifier; if ($enterCounter >= var$6.$max0) { $nextIndex = $this.$setCounter; $matchResult.$compQuantCounters.data[$nextIndex] = 0; return $this.$next4.$matches($stringIndex, $testString, $matchResult); } if ($enterCounter < var$6.$min0) { $nextIndex = $this.$setCounter; $matchResult.$compQuantCounters.data[$nextIndex] = $enterCounter + 1 | 0; $nextIndex = $this.$innerSet.$matches($stringIndex, $testString, $matchResult); } else { $nextIndex = $this.$next4.$matches($stringIndex, $testString, $matchResult); if ($nextIndex >= 0) { $stringIndex = $this.$setCounter; $matchResult.$compQuantCounters.data[$stringIndex] = 0; return $nextIndex; } $nextIndex = $this.$setCounter; $matchResult.$compQuantCounters.data[$nextIndex] = $enterCounter + 1 | 0; $nextIndex = $this.$innerSet.$matches($stringIndex, $testString, $matchResult); } return $nextIndex; }, jur_DotAllQuantifierSet = $rt_classWithoutFields(jur_QuantifierSet), jur_DotAllQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $strLength; $strLength = $matchResult.$rightBound; if ($strLength > $stringIndex) return $this.$next4.$findBack($stringIndex, $strLength, $testString, $matchResult); return $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_DotAllQuantifierSet_find = ($this, $stringIndex, $testString, $matchResult) => { let $strLength; $strLength = $matchResult.$rightBound; if ($this.$next4.$findBack($stringIndex, $strLength, $testString, $matchResult) >= 0) return $stringIndex; return (-1); }, jur_DotAllQuantifierSet_getName = $this => { return $rt_s(963); }; function jur_DotQuantifierSet() { jur_QuantifierSet.call(this); this.$lt = null; } let jur_DotQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $strLength, $startSearch, var$6; $strLength = $matchResult.$rightBound; $startSearch = $stringIndex; a: { while (true) { if ($startSearch >= $strLength) { $startSearch = (-1); break a; } var$6 = $this.$lt; if ($startSearch < 0) break; if ($startSearch >= $testString.$nativeString.length) break; if (var$6.$isLineTerminator($testString.$nativeString.charCodeAt($startSearch))) break a; $startSearch = $startSearch + 1 | 0; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } if ($startSearch >= 0) $strLength = $startSearch; if ($strLength > $stringIndex) return $this.$next4.$findBack($stringIndex, $strLength, $testString, $matchResult); return $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_DotQuantifierSet_find = ($this, $stringIndex, $testString, $matchResult) => { let $strLength, $res, $nextSearch, var$7, $leftBound; $strLength = $matchResult.$rightBound; $res = $this.$next4.$find0($stringIndex, $testString, $matchResult); if ($res < 0) return (-1); $nextSearch = $res; a: { while (true) { if ($nextSearch >= $strLength) { $nextSearch = (-1); break a; } var$7 = $this.$lt; if ($nextSearch < 0) break; if ($nextSearch >= $testString.$nativeString.length) break; if (var$7.$isLineTerminator($testString.$nativeString.charCodeAt($nextSearch))) break a; $nextSearch = $nextSearch + 1 | 0; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } if ($nextSearch >= 0) $strLength = $nextSearch; $nextSearch = $this.$next4.$findBack($res, $strLength, $testString, $matchResult); if ($res > $nextSearch) $nextSearch = $res; if ($nextSearch <= 0) $leftBound = $nextSearch ? (-1) : 0; else { $leftBound = $nextSearch - 1 | 0; b: { while (true) { if ($leftBound < $stringIndex) { $leftBound = (-1); break b; } $matchResult = $this.$lt; if ($leftBound < 0) break; if ($leftBound >= $testString.$nativeString.length) break; if ($matchResult.$isLineTerminator($testString.$nativeString.charCodeAt($leftBound))) break b; $leftBound = $leftBound + (-1) | 0; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } if ($leftBound >= $stringIndex) $stringIndex = $leftBound >= $nextSearch ? $leftBound : $leftBound + 1 | 0; return $stringIndex; }, jur_DotQuantifierSet_getName = $this => { return $rt_s(964); }, jur_AbstractLineTerminator = $rt_classWithoutFields(), jur_AbstractLineTerminator_unixLT = null, jur_AbstractLineTerminator_unicodeLT = null, jur_PossessiveQuantifierSet = $rt_classWithoutFields(jur_LeafQuantifierSet), jur_PossessiveQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let var$4; a: { while (true) { if (($stringIndex + $this.$leaf.$charCount() | 0) > $matchResult.$rightBound) break a; var$4 = $this.$leaf.$accepts($stringIndex, $testString); if (var$4 < 1) break; $stringIndex = $stringIndex + var$4 | 0; } } return $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_PossessiveAltQuantifierSet = $rt_classWithoutFields(jur_AltQuantifierSet), jur_PossessiveAltQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let var$4; if (($stringIndex + $this.$leaf.$charCount() | 0) <= $matchResult.$rightBound) { var$4 = $this.$leaf.$accepts($stringIndex, $testString); if (var$4 >= 1) $stringIndex = $stringIndex + var$4 | 0; } return $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_PossessiveCompositeQuantifierSet = $rt_classWithoutFields(jur_CompositeQuantifierSet), jur_PossessiveCompositeQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let var$4, $min, $max, $i, $shift; var$4 = $this.$quantifier0; $min = var$4.$min0; $max = var$4.$max0; $i = 0; while (true) { if ($i >= $min) { a: { while (true) { if ($i >= $max) break a; if (($stringIndex + $this.$leaf.$charCount() | 0) > $matchResult.$rightBound) break a; $shift = $this.$leaf.$accepts($stringIndex, $testString); if ($shift < 1) break; $stringIndex = $stringIndex + $shift | 0; $i = $i + 1 | 0; } } return $this.$next4.$matches($stringIndex, $testString, $matchResult); } if (($stringIndex + $this.$leaf.$charCount() | 0) > $matchResult.$rightBound) { $matchResult.$hitEnd = 1; return (-1); } $shift = $this.$leaf.$accepts($stringIndex, $testString); if ($shift < 1) break; $stringIndex = $stringIndex + $shift | 0; $i = $i + 1 | 0; } return (-1); }, jur_ReluctantQuantifierSet = $rt_classWithoutFields(jur_LeafQuantifierSet), jur_ReluctantQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let var$4; while (true) { var$4 = $this.$next4.$matches($stringIndex, $testString, $matchResult); if (var$4 >= 0) break; if (($stringIndex + $this.$leaf.$charCount() | 0) <= $matchResult.$rightBound) { var$4 = $this.$leaf.$accepts($stringIndex, $testString); $stringIndex = $stringIndex + var$4 | 0; } if (var$4 < 1) return (-1); } return var$4; }, jur_ReluctantAltQuantifierSet = $rt_classWithoutFields(jur_AltQuantifierSet), jur_ReluctantAltQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $shift; $shift = $this.$next4.$matches($stringIndex, $testString, $matchResult); if ($shift >= 0) return $shift; return $this.$innerSet.$matches($stringIndex, $testString, $matchResult); }, jur_ReluctantCompositeQuantifierSet = $rt_classWithoutFields(jur_CompositeQuantifierSet), jur_ReluctantCompositeQuantifierSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let var$4, $min, $max, $i, var$8, var$9; var$4 = $this.$quantifier0; $min = var$4.$min0; $max = var$4.$max0; $i = 0; while (true) { if ($i >= $min) { a: { while (true) { var$8 = $this.$next4.$matches($stringIndex, $testString, $matchResult); if (var$8 >= 0) break; if (($stringIndex + $this.$leaf.$charCount() | 0) <= $matchResult.$rightBound) { var$8 = $this.$leaf.$accepts($stringIndex, $testString); $stringIndex = $stringIndex + var$8 | 0; $i = $i + 1 | 0; } if (var$8 < 1) break a; if ($i > $max) break a; } return var$8; } return (-1); } if (($stringIndex + $this.$leaf.$charCount() | 0) > $matchResult.$rightBound) { $matchResult.$hitEnd = 1; return (-1); } var$9 = $this.$leaf.$accepts($stringIndex, $testString); if (var$9 < 1) break; $stringIndex = $stringIndex + var$9 | 0; $i = $i + 1 | 0; } return (-1); }, jur_SOLSet = $rt_classWithoutFields(jur_AbstractSet), jur_SOLSet__init_0 = $this => { let var$1, var$2; var$1 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$1 + 1 | 0; var$2 = new jl_AbstractStringBuilder; var$2.$buffer = $rt_createCharArray(20); $this.$index1 = (jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10)).$toString(); }, jur_SOLSet__init_ = () => { let var_0 = new jur_SOLSet(); jur_SOLSet__init_0(var_0); return var_0; }, jur_SOLSet_matches = ($this, $strIndex, $testString, $matchResult) => { if ($strIndex && !($matchResult.$anchoringBounds && $strIndex == $matchResult.$leftBound)) return (-1); return $this.$next4.$matches($strIndex, $testString, $matchResult); }, jur_SOLSet_hasConsumed = ($this, $matchResult) => { return 0; }, jur_SOLSet_getName = $this => { return $rt_s(965); }; function jur_WordBoundary() { jur_AbstractSet.call(this); this.$positive = 0; } let jur_WordBoundary_matches = ($this, $stringIndex, $testString, $matchResult) => { let $ch1, $ch2, $leftBound; if ($stringIndex >= $matchResult.$rightBound) $ch1 = 32; else if ($stringIndex >= 0 && $stringIndex < $testString.$nativeString.length) $ch1 = $testString.$nativeString.charCodeAt($stringIndex); else { $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } if (!$stringIndex) $ch2 = 32; else { $ch2 = $stringIndex - 1 | 0; if ($ch2 >= 0 && $ch2 < $testString.$nativeString.length) $ch2 = $testString.$nativeString.charCodeAt($ch2); else { $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } $leftBound = $matchResult.$transparentBounds ? 0 : $matchResult.$leftBound; return ($ch1 != 32 && !jur_WordBoundary_isSpace($this, $ch1, $stringIndex, $leftBound, $testString) ? 0 : 1) ^ ($ch2 != 32 && !jur_WordBoundary_isSpace($this, $ch2, $stringIndex - 1 | 0, $leftBound, $testString) ? 0 : 1) ^ $this.$positive ? (-1) : $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_WordBoundary_hasConsumed = ($this, $matchResult) => { return 0; }, jur_WordBoundary_getName = $this => { return $rt_s(966); }, jur_WordBoundary_isSpace = ($this, $ch, $index, $leftBound, $testString) => { let var$5; a: { b: { switch (jl_Character_getType($ch)) { case 1: case 2: case 3: case 4: case 5: case 9: break; case 6: case 7: case 8: break b; default: break b; } var$5 = 1; break a; } var$5 = 0; } if (!var$5 && $ch != 95) { c: { d: { if (jl_Character_getType($ch) == 6) while (true) { $index = $index + (-1) | 0; if ($index < $leftBound) break d; if ($index < 0) break c; if ($index >= $testString.$nativeString.length) break c; e: { f: { var$5 = $testString.$nativeString.charCodeAt($index); switch (jl_Character_getType(var$5)) { case 1: case 2: case 3: case 4: case 5: case 9: break; case 6: case 7: case 8: break f; default: break f; } $ch = 1; break e; } $ch = 0; } if ($ch) return 0; if (jl_Character_getType(var$5) != 6) return 1; } } return 1; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } return 0; }, jur_PreviousMatch = $rt_classWithoutFields(jur_AbstractSet), jur_PreviousMatch__init_ = $this => { let var$1, var$2; var$1 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$1 + 1 | 0; var$2 = new jl_AbstractStringBuilder; var$2.$buffer = $rt_createCharArray(20); $this.$index1 = (jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10)).$toString(); }, jur_PreviousMatch__init_0 = () => { let var_0 = new jur_PreviousMatch(); jur_PreviousMatch__init_(var_0); return var_0; }, jur_PreviousMatch_matches = ($this, $stringIndex, $testString, $matchResult) => { if ($stringIndex != $matchResult.$previousMatch) return (-1); return $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_PreviousMatch_hasConsumed = ($this, $matchResult) => { return 0; }, jur_PreviousMatch_getName = $this => { return $rt_s(967); }; function jur_EOLSet() { jur_AbstractSet.call(this); this.$consCounter0 = 0; } let jur_EOLSet_matches = ($this, $strIndex, $testString, $matchResult) => { let $rightBound, $ch, var$6; $rightBound = !$matchResult.$anchoringBounds ? $testString.$nativeString.length : $matchResult.$rightBound; if ($strIndex >= $rightBound) { $ch = $this.$consCounter0; $matchResult.$consumers.data[$ch] = 0; return $this.$next4.$matches($strIndex, $testString, $matchResult); } a: { $rightBound = $rightBound - $strIndex | 0; if ($rightBound == 2) { if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { if ($testString.$nativeString.charCodeAt($strIndex) != 13) break a; var$6 = $strIndex + 1 | 0; if (var$6 >= 0 && var$6 < $testString.$nativeString.length) { if ($testString.$nativeString.charCodeAt(var$6) != 10) break a; $ch = $this.$consCounter0; $matchResult.$consumers.data[$ch] = 0; return $this.$next4.$matches($strIndex, $testString, $matchResult); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } b: { c: { if ($rightBound == 1) { if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { $ch = $testString.$nativeString.charCodeAt($strIndex); if ($ch == 10) break b; if ($ch == 13) break b; if ($ch == 133) break b; if (($ch | 1) != 8233) break c; else break b; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } return (-1); } $rightBound = $this.$consCounter0; $matchResult.$consumers.data[$rightBound] = 0; return $this.$next4.$matches($strIndex, $testString, $matchResult); }, jur_EOLSet_hasConsumed = ($this, $matchResult) => { let var$2, var$3, $res; var$2 = $this.$consCounter0; var$3 = $matchResult.$consumers.data; $res = !var$3[var$2] ? 0 : 1; var$3[var$2] = (-1); return $res; }, jur_EOLSet_getName = $this => { return $rt_s(968); }, jur_EOISet = $rt_classWithoutFields(jur_AbstractSet), jur_EOISet__init_ = $this => { let var$1, var$2; var$1 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$1 + 1 | 0; var$2 = new jl_AbstractStringBuilder; var$2.$buffer = $rt_createCharArray(20); $this.$index1 = (jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10)).$toString(); }, jur_EOISet__init_0 = () => { let var_0 = new jur_EOISet(); jur_EOISet__init_(var_0); return var_0; }, jur_EOISet_matches = ($this, $stringIndex, $testString, $matchResult) => { if ($stringIndex < (!$matchResult.$transparentBounds ? $matchResult.$rightBound : $testString.$nativeString.length)) return (-1); $matchResult.$hitEnd = 1; $matchResult.$requireEnd = 1; return $this.$next4.$matches($stringIndex, $testString, $matchResult); }, jur_EOISet_hasConsumed = ($this, $matchResult) => { return 0; }, jur_EOISet_getName = $this => { return $rt_s(969); }; function jur_MultiLineSOLSet() { jur_AbstractSet.call(this); this.$lt1 = null; } let jur_MultiLineSOLSet_matches = ($this, $strIndex, $testString, $matchResult) => { let var$4, var$5; a: { b: { c: { if ($strIndex != $matchResult.$rightBound) { if (!$strIndex) break b; if ($matchResult.$anchoringBounds && $strIndex == $matchResult.$leftBound) break b; var$4 = $this.$lt1; var$5 = $strIndex - 1 | 0; if (var$5 >= 0 && var$5 < $testString.$nativeString.length) { var$5 = $testString.$nativeString.charCodeAt(var$5); if ($strIndex < 0) break a; if ($strIndex >= $testString.$nativeString.length) break a; if (!var$4.$isAfterLineTerminator(var$5, $testString.$nativeString.charCodeAt($strIndex))) break c; else break b; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } return (-1); } return $this.$next4.$matches($strIndex, $testString, $matchResult); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_MultiLineSOLSet_hasConsumed = ($this, $matchResult) => { return 0; }, jur_MultiLineSOLSet_getName = $this => { return $rt_s(970); }, jur_DotAllSet = $rt_classWithoutFields(jur_JointSet), jur_DotAllSet__init_ = $this => { let var$1, var$2; var$1 = jur_AbstractSet_counter; jur_AbstractSet_counter = var$1 + 1 | 0; var$2 = new jl_AbstractStringBuilder; var$2.$buffer = $rt_createCharArray(20); $this.$index1 = (jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10)).$toString(); }, jur_DotAllSet__init_0 = () => { let var_0 = new jur_DotAllSet(); jur_DotAllSet__init_(var_0); return var_0; }, jur_DotAllSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $strLength, var$5, $high, $low, var$8; $strLength = $matchResult.$rightBound; var$5 = $stringIndex + 1 | 0; if (var$5 > $strLength) { $matchResult.$hitEnd = 1; return (-1); } if ($stringIndex >= 0 && $stringIndex < $testString.$nativeString.length) { $high = $rt_compare($testString.$nativeString.charCodeAt($stringIndex) & 64512, 55296); $low = $high ? 0 : 1; a: { if ($low) { var$8 = $stringIndex + 2 | 0; if (var$8 <= $strLength) { if (var$5 >= 0 && var$5 < $testString.$nativeString.length) { $low = $testString.$nativeString.charCodeAt(var$5); $stringIndex = $high ? 0 : 1; if (!($stringIndex && (($low & 64512) != 56320 ? 0 : 1) ? 1 : 0)) break a; else return $this.$next4.$matches(var$8, $testString, $matchResult); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } } return $this.$next4.$matches(var$5, $testString, $matchResult); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_DotAllSet_getName = $this => { return $rt_s(971); }, jur_DotAllSet_setNext = ($this, $next) => { $this.$next4 = $next; }, jur_DotAllSet_getType = $this => { return (-2147483602); }, jur_DotAllSet_hasConsumed = ($this, $matchResult) => { return 1; }; function jur_DotSet() { jur_JointSet.call(this); this.$lt0 = null; } let jur_DotSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $strLength, var$5, $high, var$7, $low, var$9; $strLength = $matchResult.$rightBound; var$5 = $stringIndex + 1 | 0; if (var$5 > $strLength) { $matchResult.$hitEnd = 1; return (-1); } if ($stringIndex >= 0 && $stringIndex < $testString.$nativeString.length) { $high = $testString.$nativeString.charCodeAt($stringIndex); var$7 = $rt_compare($high & 64512, 55296); $low = var$7 ? 0 : 1; a: { if ($low) { var$9 = $stringIndex + 2 | 0; if (var$9 <= $strLength) { if (var$5 >= 0 && var$5 < $testString.$nativeString.length) { $low = $testString.$nativeString.charCodeAt(var$5); $stringIndex = var$7 ? 0 : 1; if (!($stringIndex && (($low & 64512) != 56320 ? 0 : 1) ? 1 : 0)) break a; else return $this.$lt0.$isLineTerminator((($high & 1023) << 10 | $low & 1023) + 65536 | 0) ? (-1) : $this.$next4.$matches(var$9, $testString, $matchResult); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } } return $this.$lt0.$isLineTerminator($high) ? (-1) : $this.$next4.$matches(var$5, $testString, $matchResult); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_DotSet_getName = $this => { return $rt_s(129); }, jur_DotSet_setNext = ($this, $next) => { $this.$next4 = $next; }, jur_DotSet_getType = $this => { return (-2147483602); }, jur_DotSet_hasConsumed = ($this, $matchResult) => { return 1; }; function jur_UEOLSet() { jur_AbstractSet.call(this); this.$consCounter2 = 0; } let jur_UEOLSet_matches = ($this, $strIndex, $testString, $matchResult) => { let $rightBound, var$5; $rightBound = !$matchResult.$anchoringBounds ? $testString.$nativeString.length : $matchResult.$rightBound; if ($strIndex >= $rightBound) { $rightBound = $this.$consCounter2; $matchResult.$consumers.data[$rightBound] = 0; return $this.$next4.$matches($strIndex, $testString, $matchResult); } a: { if (($rightBound - $strIndex | 0) == 1) { if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { if ($testString.$nativeString.charCodeAt($strIndex) != 10) break a; else { var$5 = $this.$consCounter2; $matchResult.$consumers.data[var$5] = 1; return $this.$next4.$matches($strIndex + 1 | 0, $testString, $matchResult); } } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } return (-1); }, jur_UEOLSet_hasConsumed = ($this, $matchResult) => { let var$2, var$3, $res; var$2 = $this.$consCounter2; var$3 = $matchResult.$consumers.data; $res = !var$3[var$2] ? 0 : 1; var$3[var$2] = (-1); return $res; }, jur_UEOLSet_getName = $this => { return $rt_s(968); }; function jur_UMultiLineEOLSet() { jur_AbstractSet.call(this); this.$consCounter3 = 0; } let jur_UMultiLineEOLSet_matches = ($this, $strIndex, $testString, $matchResult) => { let $strDif; if ((!$matchResult.$anchoringBounds ? $testString.$nativeString.length - $strIndex | 0 : $matchResult.$rightBound - $strIndex | 0) <= 0) { $strDif = $this.$consCounter3; $matchResult.$consumers.data[$strDif] = 0; return $this.$next4.$matches($strIndex, $testString, $matchResult); } if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { if ($testString.$nativeString.charCodeAt($strIndex) != 10) return (-1); $strDif = $this.$consCounter3; $matchResult.$consumers.data[$strDif] = 1; return $this.$next4.$matches($strIndex + 1 | 0, $testString, $matchResult); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_UMultiLineEOLSet_hasConsumed = ($this, $matchResult) => { let var$2, var$3, $res; var$2 = $this.$consCounter3; var$3 = $matchResult.$consumers.data; $res = !var$3[var$2] ? 0 : 1; var$3[var$2] = (-1); return $res; }, jur_UMultiLineEOLSet_getName = $this => { return $rt_s(972); }; function jur_MultiLineEOLSet() { jur_AbstractSet.call(this); this.$consCounter1 = 0; } let jur_MultiLineEOLSet_matches = ($this, $strIndex, $testString, $matchResult) => { let $strDif, $ch1, $ch2; $strDif = !$matchResult.$anchoringBounds ? $testString.$nativeString.length - $strIndex | 0 : $matchResult.$rightBound - $strIndex | 0; if (!$strDif) { $strDif = $this.$consCounter1; $matchResult.$consumers.data[$strDif] = 0; return $this.$next4.$matches($strIndex, $testString, $matchResult); } a: { if ($strDif < 2) { if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { $ch1 = $testString.$nativeString.charCodeAt($strIndex); $ch2 = 97; break a; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { $ch1 = $testString.$nativeString.charCodeAt($strIndex); $strDif = $strIndex + 1 | 0; if ($strDif >= 0 && $strDif < $testString.$nativeString.length) { $ch2 = $testString.$nativeString.charCodeAt($strDif); break a; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } switch ($ch1) { case 10: case 133: case 8232: case 8233: $strDif = $this.$consCounter1; $matchResult.$consumers.data[$strDif] = 0; return $this.$next4.$matches($strIndex, $testString, $matchResult); case 13: if ($ch2 != 10) { $strDif = $this.$consCounter1; $matchResult.$consumers.data[$strDif] = 0; return $this.$next4.$matches($strIndex, $testString, $matchResult); } $strDif = $this.$consCounter1; $matchResult.$consumers.data[$strDif] = 0; return $this.$next4.$matches($strIndex, $testString, $matchResult); default: } return (-1); }, jur_MultiLineEOLSet_hasConsumed = ($this, $matchResult) => { let var$2, var$3, $res; var$2 = $this.$consCounter1; var$3 = $matchResult.$consumers.data; $res = !var$3[var$2] ? 0 : 1; var$3[var$2] = (-1); return $res; }, jur_MultiLineEOLSet_getName = $this => { return $rt_s(973); }; function jur_CIBackReferenceSet() { let a = this; jur_JointSet.call(a); a.$referencedGroup = 0; a.$consCounter = 0; } let jur_CIBackReferenceSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $group, $i, var$6, var$7, var$8; $group = jur_CIBackReferenceSet_getString($this, $matchResult); if ($group !== null && ($stringIndex + $group.$nativeString.length | 0) <= $matchResult.$rightBound) { $i = 0; a: { b: { c: { d: { while (true) { if ($i >= $group.$nativeString.length) { var$6 = $this.$consCounter; $matchResult.$consumers.data[var$6] = $group.$nativeString.length; return $this.$next4.$matches($stringIndex + $group.$nativeString.length | 0, $testString, $matchResult); } if ($i < 0) break c; if ($i >= $group.$nativeString.length) break c; var$7 = $group.$nativeString.charCodeAt($i); var$8 = $stringIndex + $i | 0; if (var$8 < 0) break d; if (var$8 >= $testString.$nativeString.length) break d; if (var$7 != $testString.$nativeString.charCodeAt(var$8)) { if ($i < 0) break a; if ($i >= $group.$nativeString.length) break a; var$6 = jur_Pattern_getSupplement($group.$nativeString.charCodeAt($i)); if (var$8 < 0) break b; if (var$8 >= $testString.$nativeString.length) break b; if (var$6 != $testString.$nativeString.charCodeAt(var$8)) break; } $i = $i + 1 | 0; } return (-1); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } return (-1); }, jur_CIBackReferenceSet_setNext = ($this, $next) => { $this.$next4 = $next; }, jur_CIBackReferenceSet_getString = ($this, $matchResult) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$referencedGroup; var$3 = $matchResult.$groupBounds.data; var$4 = var$2 * 2 | 0; var$5 = var$3[var$4]; var$6 = var$3[var$4 + 1 | 0]; return (var$6 | var$5 | (var$6 - var$5 | 0)) >= 0 && var$6 <= $matchResult.$string1.$nativeString.length ? jl_String_substring($matchResult.$string1, var$5, var$6) : null; }, jur_CIBackReferenceSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$groupIndex; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(974)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, jur_CIBackReferenceSet_hasConsumed = ($this, $matchResult) => { let var$2, var$3, $res; var$2 = $this.$consCounter; var$3 = $matchResult.$consumers.data; $res = !var$3[var$2] ? 0 : 1; var$3[var$2] = (-1); return $res; }, jur_BackReferenceSet = $rt_classWithoutFields(jur_CIBackReferenceSet), jur_BackReferenceSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $group, $shift, var$6; $group = jur_CIBackReferenceSet_getString($this, $matchResult); if ($group !== null && ($stringIndex + $group.$nativeString.length | 0) <= $matchResult.$rightBound) { $shift = !jl_String_startsWith($testString, $group, $stringIndex) ? (-1) : $group.$nativeString.length; if ($shift < 0) return (-1); var$6 = $this.$consCounter; $matchResult.$consumers.data[var$6] = $shift; return $this.$next4.$matches($stringIndex + $shift | 0, $testString, $matchResult); } return (-1); }, jur_BackReferenceSet_find = ($this, $strIndex, $testString, $matchResult) => { let $group, $strLength, var$6; $group = jur_CIBackReferenceSet_getString($this, $matchResult); $strLength = $matchResult.$leftBound; if ($group !== null && ($strIndex + $group.$nativeString.length | 0) <= $strLength) { while (true) { if ($strIndex > $strLength) return (-1); var$6 = jl_String_indexOf0($testString, $group, $strIndex); if (var$6 < 0) return (-1); if ($this.$next4.$matches(var$6 + $group.$nativeString.length | 0, $testString, $matchResult) >= 0) break; $strIndex = var$6 + 1 | 0; } return var$6; } return (-1); }, jur_BackReferenceSet_findBack = ($this, $strIndex, $lastIndex, $testString, $matchResult) => { let $group, var$6; $group = jur_CIBackReferenceSet_getString($this, $matchResult); if ($group === null) return (-1); a: { while (true) { if ($lastIndex < $strIndex) return (-1); var$6 = jl_String_lastIndexOf0($testString, $group, $lastIndex); if (var$6 < 0) break a; if (var$6 < $strIndex) break a; if ($this.$next4.$matches(var$6 + $group.$nativeString.length | 0, $testString, $matchResult) >= 0) break; $lastIndex = var$6 + (-1) | 0; } return var$6; } return (-1); }, jur_BackReferenceSet_first = ($this, $set) => { return 1; }, jur_BackReferenceSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$groupIndex; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(975)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }; function jur_UCIBackReferenceSet() { jur_CIBackReferenceSet.call(this); this.$groupIndex1 = 0; } let jur_UCIBackReferenceSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let var$4, var$5, var$6, var$7, $i, $group; var$4 = $this.$referencedGroup; var$5 = $matchResult.$groupBounds.data; var$6 = var$4 * 2 | 0; var$7 = var$5[var$6]; $i = var$5[var$6 + 1 | 0]; $group = ($i | var$7 | ($i - var$7 | 0)) >= 0 && $i <= $matchResult.$string1.$nativeString.length ? jl_String_substring($matchResult.$string1, var$7, $i) : null; if ($group !== null && ($stringIndex + $group.$nativeString.length | 0) <= $matchResult.$rightBound) { $i = 0; a: { b: { while (true) { if ($i >= $group.$nativeString.length) { var$4 = $this.$consCounter; $matchResult.$consumers.data[var$4] = $group.$nativeString.length; return $this.$next4.$matches($stringIndex + $group.$nativeString.length | 0, $testString, $matchResult); } if ($i < 0) break a; if ($i >= $group.$nativeString.length) break a; var$4 = $group.$nativeString.charCodeAt($i); if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } var$4 = jl_Character_mapChar(jl_Character_upperCaseMapping, var$4) & 65535; if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } var$6 = jl_Character_mapChar(jl_Character_lowerCaseMapping, var$4) & 65535; var$7 = $stringIndex + $i | 0; if (var$7 < 0) break b; if (var$7 >= $testString.$nativeString.length) break b; var$4 = $testString.$nativeString.charCodeAt(var$7); if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } var$4 = jl_Character_mapChar(jl_Character_upperCaseMapping, var$4) & 65535; if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } if (var$6 != (jl_Character_mapChar(jl_Character_lowerCaseMapping, var$4) & 65535)) break; $i = $i + 1 | 0; } return (-1); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } return (-1); }, jur_UCIBackReferenceSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$groupIndex1; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(976)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, jl_StringBuffer = $rt_classWithoutFields(jl_AbstractStringBuilder), jl_StringBuffer__init_ = $this => { $this.$buffer = $rt_createCharArray(16); }, jl_StringBuffer__init_0 = () => { let var_0 = new jl_StringBuffer(); jl_StringBuffer__init_(var_0); return var_0; }, jl_StringBuffer_insert0 = ($this, var$1, var$2, var$3, var$4) => { let var$5, var$6, var$7, var$8; jl_AbstractStringBuilder_insertSpace($this, var$1, var$1 + var$4 | 0); var$5 = var$4 + var$3 | 0; while (var$3 < var$5) { var$6 = var$2.data; var$7 = $this.$buffer.data; var$4 = var$1 + 1 | 0; var$8 = var$3 + 1 | 0; var$7[var$1] = var$6[var$3]; var$1 = var$4; var$3 = var$8; } return $this; }, jl_StringBuffer_append0 = ($this, var$1, var$2, var$3) => { let var$4, var$5, var$6, var$7, var$8; var$4 = $this.$length0; jl_AbstractStringBuilder_insertSpace($this, var$4, var$4 + var$3 | 0); var$5 = var$3 + var$2 | 0; while (var$2 < var$5) { var$6 = var$1.data; var$7 = $this.$buffer.data; var$3 = var$4 + 1 | 0; var$8 = var$2 + 1 | 0; var$7[var$4] = var$6[var$2]; var$4 = var$3; var$2 = var$8; } return $this; }, jl_StringBuffer_insert = ($this, var$1, var$2, var$3, var$4) => { jl_AbstractStringBuilder_insert3($this, var$1, var$2, var$3, var$4); return $this; }, jl_StringBuffer_append = ($this, var$1, var$2, var$3) => { jl_AbstractStringBuilder_insert3($this, $this.$length0, var$1, var$2, var$3); return $this; }, jl_StringBuffer_toString = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = new jl_String; var$2 = $this.$buffer; var$3 = var$2.data; var$4 = $this.$length0; var$5 = var$3.length; if (var$4 >= 0 && var$4 <= (var$5 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$2.data, 0, var$4); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, jl_StringBuffer_ensureCapacity = ($this, var$1) => { jl_AbstractStringBuilder_ensureCapacity($this, var$1); }, jl_StringBuffer_insert2 = ($this, var$1, var$2) => { jl_AbstractStringBuilder_insertSpace($this, var$1, var$1 + 1 | 0); $this.$buffer.data[var$1] = var$2; return $this; }, jl_StringBuffer_insert1 = ($this, var$1, var$2) => { jl_AbstractStringBuilder_insert($this, var$1, var$2); return $this; }; function jur_SequenceSet() { let a = this; jur_LeafSet.call(a); a.$string2 = null; a.$leftToRight = null; a.$rightToLeft = null; } let jur_SequenceSet__init_0 = ($this, $substring) => { let $j, var$3, var$4, var$5, var$6, var$7; $j = jur_AbstractSet_counter; jur_AbstractSet_counter = $j + 1 | 0; var$3 = new jl_AbstractStringBuilder; var$3.$buffer = $rt_createCharArray(20); $this.$index1 = (jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, $j, 10)).$toString(); $this.$charCount0 = 1; var$3 = new jl_String; var$4 = $substring.$buffer; var$5 = var$4.data; var$6 = $substring.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); $this.$string2 = var$3; $j = $substring.$length0; $this.$charCount0 = $j; $this.$leftToRight = jur_SequenceSet$IntHash__init_($j); $this.$rightToLeft = jur_SequenceSet$IntHash__init_($this.$charCount0); $j = 0; a: { b: { while ($j < ($this.$charCount0 - 1 | 0)) { $substring = $this.$leftToRight; var$3 = $this.$string2; if ($j < 0) break a; if ($j >= var$3.$nativeString.length) break a; jur_SequenceSet$IntHash_put($substring, var$3.$nativeString.charCodeAt($j), ($this.$charCount0 - $j | 0) - 1 | 0); $substring = $this.$rightToLeft; var$3 = $this.$string2; var$6 = ($this.$charCount0 - $j | 0) - 1 | 0; if (var$6 < 0) break b; if (var$6 >= var$3.$nativeString.length) break b; jur_SequenceSet$IntHash_put($substring, var$3.$nativeString.charCodeAt(var$6), ($this.$charCount0 - $j | 0) - 1 | 0); $j = $j + 1 | 0; } return; } $substring = new jl_StringIndexOutOfBoundsException; $substring.$suppressionEnabled = 1; $substring.$writableStackTrace = 1; $rt_throw($substring); } $substring = new jl_StringIndexOutOfBoundsException; $substring.$suppressionEnabled = 1; $substring.$writableStackTrace = 1; $rt_throw($substring); } $substring = new jl_IndexOutOfBoundsException; $substring.$suppressionEnabled = 1; $substring.$writableStackTrace = 1; $rt_throw($substring); }, jur_SequenceSet__init_ = var_0 => { let var_1 = new jur_SequenceSet(); jur_SequenceSet__init_0(var_1, var_0); return var_1; }, jur_SequenceSet_accepts = ($this, $strIndex, $testString) => { let var$3, var$4, var$5, var$6; var$3 = 0; a: { b: { c: { while (var$3 < $this.$charCount0) { var$4 = var$3 + $strIndex | 0; if (var$4 < 0) break a; if (var$4 >= $testString.$nativeString.length) break a; var$5 = $testString.$nativeString.charCodeAt(var$4); var$6 = $this.$string2; if (var$3 < 0) break b; if (var$3 >= var$6.$nativeString.length) break b; if (var$5 != var$6.$nativeString.charCodeAt(var$3)) { $strIndex = 0; break c; } var$3 = var$3 + 1 | 0; } $strIndex = 1; } return !$strIndex ? (-1) : $this.$charCount0; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_SequenceSet_find = ($this, $strIndex, $testString, $matchResult) => { let $strLength, var$5; $strLength = $matchResult.$rightBound; while (true) { if ($strIndex > $strLength) return (-1); var$5 = jur_SequenceSet_indexOf($this, $testString, $strIndex, $strLength); if (var$5 < 0) return (-1); if ($this.$next4.$matches(var$5 + $this.$charCount0 | 0, $testString, $matchResult) >= 0) break; $strIndex = var$5 + 1 | 0; } return var$5; }, jur_SequenceSet_findBack = ($this, $strIndex, $lastIndex, $testString, $matchResult) => { while (true) { if ($lastIndex < $strIndex) return (-1); $lastIndex = jur_SequenceSet_lastIndexOf($this, $testString, $strIndex, $lastIndex); if ($lastIndex < 0) return (-1); if ($this.$next4.$matches($lastIndex + $this.$charCount0 | 0, $testString, $matchResult) >= 0) break; $lastIndex = $lastIndex + (-1) | 0; } return $lastIndex; }, jur_SequenceSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$string2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(977)); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, jur_SequenceSet_first = ($this, $set) => { let var$2, var$3, var$4; if ($set instanceof jur_CharSet) { var$2 = $set.$ch0; $set = $this.$string2; if (0 < $set.$nativeString.length) return var$2 != $set.$nativeString.charCodeAt(0) ? 0 : 1; $set = new jl_StringIndexOutOfBoundsException; $set.$suppressionEnabled = 1; $set.$writableStackTrace = 1; $rt_throw($set); } if ($set instanceof jur_RangeSet) { $set = $set; var$3 = jl_String_substring($this.$string2, 0, 1); $set = $set.$chars0; if (0 >= var$3.$nativeString.length) { $set = new jl_StringIndexOutOfBoundsException; $set.$suppressionEnabled = 1; $set.$writableStackTrace = 1; $rt_throw($set); } return (!$set.$contains0(var$3.$nativeString.charCodeAt(0)) ? (-1) : 1) <= 0 ? 0 : 1; } if (!($set instanceof jur_SupplRangeSet)) { if (!($set instanceof jur_SupplCharSet)) return 1; a: { if ($this.$string2.$nativeString.length > 1) { var$4 = $set.$ch1; $set = $this.$string2; if (0 >= $set.$nativeString.length) { $set = new jl_StringIndexOutOfBoundsException; $set.$suppressionEnabled = 1; $set.$writableStackTrace = 1; $rt_throw($set); } var$2 = $set.$nativeString.charCodeAt(0); $set = $this.$string2; if (1 >= $set.$nativeString.length) { $set = new jl_StringIndexOutOfBoundsException; $set.$suppressionEnabled = 1; $set.$writableStackTrace = 1; $rt_throw($set); } if (var$4 == (((var$2 & 1023) << 10 | $set.$nativeString.charCodeAt(1) & 1023) + 65536 | 0)) { var$2 = 1; break a; } } var$2 = 0; } return var$2; } $set = $set; var$3 = $this.$string2; if (0 >= var$3.$nativeString.length) { $set = new jl_StringIndexOutOfBoundsException; $set.$suppressionEnabled = 1; $set.$writableStackTrace = 1; $rt_throw($set); } b: { c: { if (!$set.$contains0(var$3.$nativeString.charCodeAt(0))) { if ($this.$string2.$nativeString.length <= 1) break c; var$3 = $this.$string2; if (0 >= var$3.$nativeString.length) { $set = new jl_StringIndexOutOfBoundsException; $set.$suppressionEnabled = 1; $set.$writableStackTrace = 1; $rt_throw($set); } var$2 = var$3.$nativeString.charCodeAt(0); var$3 = $this.$string2; if (1 >= var$3.$nativeString.length) { $set = new jl_StringIndexOutOfBoundsException; $set.$suppressionEnabled = 1; $set.$writableStackTrace = 1; $rt_throw($set); } if (!$set.$contains0(((var$2 & 1023) << 10 | var$3.$nativeString.charCodeAt(1) & 1023) + 65536 | 0)) break c; } var$2 = 1; break b; } var$2 = 0; } return var$2; }, jur_SequenceSet_indexOf = ($this, $str, $i, $to) => { let var$4, var$5, $last, $ch, var$8, var$9; var$4 = $this.$string2; var$5 = $this.$charCount0 - 1 | 0; if (var$5 >= 0 && var$5 < var$4.$nativeString.length) { $last = var$4.$nativeString.charCodeAt(var$5); a: { b: { c: { while (true) { var$5 = $this.$charCount0; if ($i > ($to - var$5 | 0)) return (-1); var$5 = ($i + var$5 | 0) - 1 | 0; if (var$5 < 0) break c; if (var$5 >= $str.$nativeString.length) break c; $ch = $str.$nativeString.charCodeAt(var$5); if ($ch == $last) { var$5 = 0; d: { while (var$5 < $this.$charCount0) { var$8 = var$5 + $i | 0; if (var$8 < 0) break a; if (var$8 >= $str.$nativeString.length) break a; var$9 = $str.$nativeString.charCodeAt(var$8); var$4 = $this.$string2; if (var$5 < 0) break b; if (var$5 >= var$4.$nativeString.length) break b; if (var$9 != var$4.$nativeString.charCodeAt(var$5)) { var$5 = 0; break d; } var$5 = var$5 + 1 | 0; } var$5 = 1; } if (var$5) break; } $i = $i + jur_SequenceSet$IntHash_get($this.$leftToRight, $ch) | 0; } return $i; } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); }, jur_SequenceSet_lastIndexOf = ($this, $str, $to, $i) => { let var$4, $first, $delta, $ch, $size, var$9; var$4 = $this.$string2; if (0 >= var$4.$nativeString.length) { $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); } $first = var$4.$nativeString.charCodeAt(0); $delta = ($str.$nativeString.length - $i | 0) - $this.$charCount0 | 0; if ($delta <= 0) $i = $i + $delta | 0; a: { b: { c: { while (true) { if ($i < $to) return (-1); if ($i < 0) break c; if ($i >= $str.$nativeString.length) break c; $ch = $str.$nativeString.charCodeAt($i); if ($ch == $first) { $delta = 0; d: { while ($delta < $this.$charCount0) { $size = $delta + $i | 0; if ($size < 0) break a; if ($size >= $str.$nativeString.length) break a; var$9 = $str.$nativeString.charCodeAt($size); var$4 = $this.$string2; if ($delta < 0) break b; if ($delta >= var$4.$nativeString.length) break b; if (var$9 != var$4.$nativeString.charCodeAt($delta)) { $delta = 0; break d; } $delta = $delta + 1 | 0; } $delta = 1; } if ($delta) break; } $i = $i - jur_SequenceSet$IntHash_get($this.$rightToLeft, $ch) | 0; } return $i; } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); } $str = new jl_StringIndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); }; function jur_UCISequenceSet() { jur_LeafSet.call(this); this.$string5 = null; } let jur_UCISequenceSet_accepts = ($this, $strIndex, $testString) => { let $i, var$4, var$5, var$6, var$7; $i = 0; a: { b: { while (true) { if ($i >= $this.$string5.$nativeString.length) return $this.$string5.$nativeString.length; var$4 = $this.$string5; if ($i < 0) break a; if ($i >= var$4.$nativeString.length) break a; var$5 = var$4.$nativeString.charCodeAt($i); var$6 = $strIndex + $i | 0; if (var$6 < 0) break b; if (var$6 >= $testString.$nativeString.length) break b; var$7 = $testString.$nativeString.charCodeAt(var$6); if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } var$7 = jl_Character_mapChar(jl_Character_upperCaseMapping, var$7) & 65535; if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } if (var$5 != (jl_Character_mapChar(jl_Character_lowerCaseMapping, var$7) & 65535)) break; $i = $i + 1 | 0; } return (-1); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_UCISequenceSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$string5; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(978)); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }; function jur_CISequenceSet() { jur_LeafSet.call(this); this.$string4 = null; } let jur_CISequenceSet_accepts = ($this, $strIndex, $testString) => { let $i, var$4, var$5, var$6, var$7; $i = 0; a: { b: { c: { d: { while (true) { if ($i >= $this.$string4.$nativeString.length) return $this.$string4.$nativeString.length; var$4 = $this.$string4; if ($i < 0) break c; if ($i >= var$4.$nativeString.length) break c; var$5 = var$4.$nativeString.charCodeAt($i); var$6 = $strIndex + $i | 0; if (var$6 < 0) break d; if (var$6 >= $testString.$nativeString.length) break d; if (var$5 != $testString.$nativeString.charCodeAt(var$6)) { var$4 = $this.$string4; if ($i < 0) break a; if ($i >= var$4.$nativeString.length) break a; var$7 = jur_Pattern_getSupplement(var$4.$nativeString.charCodeAt($i)); if (var$6 < 0) break b; if (var$6 >= $testString.$nativeString.length) break b; if (var$7 != $testString.$nativeString.charCodeAt(var$6)) break; } $i = $i + 1 | 0; } return (-1); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_CISequenceSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$string4; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(979)); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }; function cjj_Adler32() { let a = this; jl_Object.call(a); a.$s1 = Long_ZERO; a.$s2 = Long_ZERO; } let cjj_Adler32__init_0 = $this => { $this.$s1 = Long_fromInt(1); $this.$s2 = Long_ZERO; }, cjj_Adler32__init_ = () => { let var_0 = new cjj_Adler32(); cjj_Adler32__init_0(var_0); return var_0; }, cjj_Adler32_reset = ($this, $init) => { $this.$s1 = Long_and($init, Long_fromInt(65535)); $this.$s2 = Long_and(Long_shr($init, 16), Long_fromInt(65535)); }, cjj_Adler32_reset0 = $this => { $this.$s1 = Long_fromInt(1); $this.$s2 = Long_ZERO; }, cjj_Adler32_getValue = $this => { return Long_or(Long_shl($this.$s2, 16), $this.$s1); }, cjj_Adler32_update = ($this, $buf, $index, $len) => { let var$4, var$5, $len1, $len2, var$8, $k, var$10; if ($len == 1) { $buf = $buf.data; var$4 = Long_add($this.$s1, Long_fromInt($buf[$index] & 255)); $this.$s1 = var$4; var$5 = Long_add($this.$s2, var$4); $this.$s2 = var$5; $this.$s1 = Long_rem(var$4, Long_fromInt(65521)); $this.$s2 = Long_rem(var$5, Long_fromInt(65521)); return; } $len1 = $len / 5552 | 0; $len2 = $len % 5552 | 0; while (true) { var$8 = $len1 + (-1) | 0; if ($len1 <= 0) break; $k = 5552; while (true) { $len1 = $k + (-1) | 0; if ($k <= 0) break; var$10 = $buf.data; var$4 = $this.$s1; $len = $index + 1 | 0; var$4 = Long_add(var$4, Long_fromInt(var$10[$index] & 255)); $this.$s1 = var$4; $this.$s2 = Long_add($this.$s2, var$4); $k = $len1; $index = $len; } $this.$s1 = Long_rem($this.$s1, Long_fromInt(65521)); $this.$s2 = Long_rem($this.$s2, Long_fromInt(65521)); $len1 = var$8; } while (true) { $len = $len2 + (-1) | 0; if ($len2 <= 0) break; var$10 = $buf.data; var$4 = $this.$s1; var$8 = $index + 1 | 0; var$4 = Long_add(var$4, Long_fromInt(var$10[$index] & 255)); $this.$s1 = var$4; $this.$s2 = Long_add($this.$s2, var$4); $len2 = $len; $index = var$8; } $this.$s1 = Long_rem($this.$s1, Long_fromInt(65521)); $this.$s2 = Long_rem($this.$s2, Long_fromInt(65521)); }; function cjj_Inflate() { let a = this; jl_Object.call(a); a.$mode = 0; a.$method0 = 0; a.$was = Long_ZERO; a.$need = Long_ZERO; a.$marker = 0; a.$wrap2 = 0; a.$wbits = 0; a.$blocks = null; a.$z1 = null; a.$flags2 = 0; a.$need_bytes = 0; a.$crcbuf = null; a.$gheader = null; a.$tmp_string = null; } let cjj_Inflate_mark = null, cjj_Inflate__init_0 = ($this, $z) => { $this.$was = Long_fromInt(-1); $this.$need_bytes = (-1); $this.$crcbuf = $rt_createByteArray(4); $this.$gheader = null; $this.$tmp_string = null; $this.$z1 = $z; }, cjj_Inflate__init_ = var_0 => { let var_1 = new cjj_Inflate(); cjj_Inflate__init_0(var_1, var_0); return var_1; }, cjj_Inflate_inflateInit = ($this, $w) => { let var$2, var$3; var$2 = $this.$z1; var$2.$msg = null; $this.$blocks = null; $this.$wrap2 = 0; if ($w < 0) $w = -$w | 0; else if ($w & 1073741824) { $this.$wrap2 = 4; $w = $w & (-1073741825); if ($w < 48) $w = $w & 15; } else if ($w & (-32)) { $this.$wrap2 = 4; $w = $w & 15; } else { $this.$wrap2 = ($w >> 4) + 1 | 0; if ($w < 48) $w = $w & 15; } if ($w >= 8 && $w <= 15) { $this.$wbits = $w; var$3 = cjj_InfBlocks__init_0(var$2, 1 << $w); $this.$blocks = var$3; var$2 = $this.$z1; if (var$2 !== null) { var$2.$total_out = Long_ZERO; var$2.$total_in = Long_ZERO; var$2.$msg = null; $this.$mode = 14; $this.$need_bytes = (-1); cjj_InfBlocks_reset(var$3); } return 0; } return (-2); }, cjj_Inflate_inflate = ($this, $f) => { let $e, var$3, $r, var$5, var$6, var$7, var$8, var$9, $b, $foo, var$12, $$je; $e = $this.$z1; if ($e !== null && $e.$next_in !== null) { var$3 = $f != 4 ? 0 : (-5); $r = (-5); a: { b: { c: { d: { e: { f: { g: { h: { i: while (true) { j: { k: { l: { m: { n: { o: { p: { q: { r: { s: { t: { u: { v: { w: { switch ($this.$mode) { case 6: $this.$mode = 13; $this.$z1.$msg = $rt_s(980); $this.$marker = 0; return (-2); case 7: break w; case 12: break e; case 13: return (-3); case 14: if (!$this.$wrap2) { $this.$mode = 7; continue i; } try { $r = cjj_Inflate_readBytes($this, 2, $r, var$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } $f = $this.$wrap2; var$5 = $rt_compare($f, 4); if (!(var$5 && !($f & 2))) { var$6 = $this.$need; if (Long_eq(var$6, Long_fromInt(35615))) { if (!var$5) $this.$wrap2 = 2; var$7 = $this.$z1; $e = new cjj_CRC32; $e.$v = 0; var$7.$adler = $e; $f = 0; while ($f < 2) { $this.$crcbuf.data[$f] = Long_lo(Long_and(var$6, Long_fromInt(255))) << 24 >> 24; var$6 = Long_shr(var$6, 8); $f = $f + 1 | 0; } $e.$update($this.$crcbuf, 0, 2); if ($this.$gheader === null) { $e = new cjj_GZIPHeader; $e.$text3 = 0; $e.$fhcrc = 0; $e.$os = 255; $e.$done = 0; $e.$mtime = Long_ZERO; $this.$gheader = $e; } $this.$mode = 23; continue i; } } if ($f & 2) { $this.$mode = 13; $this.$z1.$msg = $rt_s(981); continue i; } $this.$flags2 = 0; var$8 = $this.$need; var$9 = Long_lo(var$8) & 255; $this.$method0 = var$9; $b = Long_lo(Long_shr(var$8, 8)) & 255; if (!($f & 1 && !(((var$9 << 8) + $b | 0) % 31 | 0)) && (var$9 & 15) != 8) { if (var$5) { $this.$mode = 13; $this.$z1.$msg = $rt_s(981); continue i; } $e = $this.$z1; $e.$next_in_index = $e.$next_in_index - 2 | 0; $e.$avail_in = $e.$avail_in + 2 | 0; $e.$total_in = Long_sub($e.$total_in, Long_fromInt(2)); $this.$wrap2 = 0; $this.$mode = 7; continue i; } if ((var$9 & 15) != 8) { $this.$mode = 13; $this.$z1.$msg = $rt_s(982); continue i; } if (!var$5) $this.$wrap2 = 1; if (((var$9 >> 4) + 8 | 0) > $this.$wbits) { $this.$mode = 13; $this.$z1.$msg = $rt_s(983); continue i; } $e = $this.$z1; var$7 = new cjj_Adler32; var$7.$s1 = Long_fromInt(1); var$7.$s2 = Long_ZERO; $e.$adler = var$7; if ($b & 32) { $this.$mode = 2; break d; } $this.$mode = 7; continue i; case 23: try { $r = cjj_Inflate_readBytes($this, 2, $r, var$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } var$8 = $this.$need; $f = Long_lo(var$8) & 65535; $this.$flags2 = $f; if (($f & 255) != 8) { $this.$z1.$msg = $rt_s(982); $this.$mode = 13; continue i; } if ($f & 57344) { $this.$z1.$msg = $rt_s(984); $this.$mode = 13; continue i; } if ($f & 512) { var$9 = 0; while (var$9 < 2) { $this.$crcbuf.data[var$9] = Long_lo(Long_and(var$8, Long_fromInt(255))) << 24 >> 24; var$8 = Long_shr(var$8, 8); var$9 = var$9 + 1 | 0; } $this.$z1.$adler.$update($this.$crcbuf, 0, 2); } $this.$mode = 16; break p; case 2: break d; case 3: break c; case 4: break b; case 5: var$3 = $r; break a; case 8: break v; case 9: break u; case 10: break t; case 11: break s; case 15: break r; case 16: break p; case 17: break o; case 18: break n; case 19: break q; case 20: break l; case 21: break k; case 22: break; default: return (-2); } break j; } $r = cjj_InfBlocks_proc($this.$blocks, $r); if ($r == (-3)) { $this.$mode = 13; $this.$marker = 0; continue i; } if (!$r) $r = var$3; if ($r != 1) break i; $this.$was = $this.$z1.$adler.$getValue0(); cjj_InfBlocks_reset($this.$blocks); if (!$this.$wrap2) { $this.$mode = 12; $r = var$3; continue i; } $this.$mode = 8; $r = var$3; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return $r; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); $foo = $e.$next_in.data; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_and(Long_fromInt(($foo[$f] & 255) << 24), Long_create(4278190080, 0)); $this.$mode = 9; $r = var$3; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return $r; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$8 = $this.$need; $foo = $e.$next_in.data; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_add(var$8, Long_and(Long_fromInt(($foo[$f] & 255) << 16), Long_fromInt(16711680))); $this.$mode = 10; $r = var$3; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return $r; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$8 = $this.$need; $foo = $e.$next_in.data; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_add(var$8, Long_and(Long_fromInt(($foo[$f] & 255) << 8), Long_fromInt(65280))); $this.$mode = 11; $r = var$3; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return $r; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$8 = $this.$need; $foo = $e.$next_in.data; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; var$8 = Long_add(var$8, Long_and(Long_fromInt($foo[$f]), Long_fromInt(255))); $this.$need = var$8; $f = $this.$flags2; if ($f) $this.$need = Long_and(Long_or(Long_or(Long_or(Long_shr(Long_and(var$8, Long_fromInt(-16777216)), 24), Long_shr(Long_and(var$8, Long_fromInt(16711680)), 8)), Long_shl(Long_and(var$8, Long_fromInt(65280)), 8)), Long_shl(Long_and(var$8, Long_fromInt(65535)), 24)), Long_create(4294967295, 0)); $r = Long_lo($this.$was); var$8 = $this.$need; if ($r != Long_lo(var$8)) $e.$msg = $rt_s(985); else if ($f) { $e = $this.$gheader; if ($e !== null) $e.$crc1 = var$8; } $this.$mode = 15; $r = var$3; } if (!($this.$wrap2 && $this.$flags2)) { $e = $this.$z1.$msg; if ($e === null) break f; if ($e === $rt_s(985)) $f = 1; else if (!($rt_s(985) instanceof jl_String)) $f = 0; else { var$7 = $rt_s(985); $f = $e.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!$f) break f; $this.$mode = 13; $this.$marker = 5; continue i; } try { $r = cjj_Inflate_readBytes($this, 4, $r, var$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } $e = $this.$z1.$msg; if ($e !== null) { if ($e === $rt_s(985)) $f = 1; else if (!($rt_s(985) instanceof jl_String)) $f = 0; else { var$7 = $rt_s(985); $f = $e.$nativeString !== var$7.$nativeString ? 0 : 1; } if ($f) { $this.$mode = 13; $this.$marker = 5; continue i; } } var$8 = $this.$need; $e = $this.$z1; if (Long_eq(var$8, Long_and($e.$total_out, Long_create(4294967295, 0)))) { $e.$msg = null; break f; } $e.$msg = $rt_s(986); $this.$mode = 13; continue i; } break m; } try { $r = cjj_Inflate_readBytes($this, 4, $r, var$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } $e = $this.$gheader; if ($e !== null) $e.$time2 = $this.$need; if ($this.$flags2 & 512) { var$8 = $this.$need; var$9 = 0; while (var$9 < 4) { $this.$crcbuf.data[var$9] = Long_lo(Long_and(var$8, Long_fromInt(255))) << 24 >> 24; var$8 = Long_shr(var$8, 8); var$9 = var$9 + 1 | 0; } $this.$z1.$adler.$update($this.$crcbuf, 0, 4); } $this.$mode = 17; } try { $r = cjj_Inflate_readBytes($this, 2, $r, var$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } $e = $this.$gheader; if ($e !== null) { $f = Long_lo($this.$need); $e.$xflags = $f & 255; $e.$os = $f >> 8 & 255; } if ($this.$flags2 & 512) { var$8 = $this.$need; var$9 = 0; while (var$9 < 2) { $this.$crcbuf.data[var$9] = Long_lo(Long_and(var$8, Long_fromInt(255))) << 24 >> 24; var$8 = Long_shr(var$8, 8); var$9 = var$9 + 1 | 0; } $this.$z1.$adler.$update($this.$crcbuf, 0, 2); } $this.$mode = 18; } if (!($this.$flags2 & 1024)) { $e = $this.$gheader; if ($e !== null) $e.$extra = null; } else { try { $r = cjj_Inflate_readBytes($this, 2, $r, var$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } $e = $this.$gheader; if ($e !== null) $e.$extra = $rt_createByteArray(Long_lo($this.$need) & 65535); if ($this.$flags2 & 512) { var$8 = $this.$need; var$9 = 0; while (var$9 < 2) { $this.$crcbuf.data[var$9] = Long_lo(Long_and(var$8, Long_fromInt(255))) << 24 >> 24; var$8 = Long_shr(var$8, 8); var$9 = var$9 + 1 | 0; } $this.$z1.$adler.$update($this.$crcbuf, 0, 2); } } $this.$mode = 19; } if (!($this.$flags2 & 1024)) { $e = $this.$gheader; if ($e !== null) $e.$extra = null; } else x: { try { $r = cjj_Inflate_readBytes0($this, $r, var$3); if ($this.$gheader === null) break x; $foo = ji_ByteArrayOutputStream_toByteArray($this.$tmp_string); var$12 = $foo.data; $this.$tmp_string = null; $f = var$12.length; var$12 = $this.$gheader.$extra; if ($f != var$12.data.length) { $this.$z1.$msg = $rt_s(987); $this.$mode = 13; continue i; } jl_System_fastArraycopy($foo, 0, var$12, 0, $f); break x; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } } $this.$mode = 20; } y: { if (!($this.$flags2 & 2048)) { $e = $this.$gheader; if ($e !== null) $e.$name14 = null; } else { z: { try { $r = cjj_Inflate_readString($this, $r, var$3); $e = $this.$gheader; if ($e === null) break z; $e.$name14 = ji_ByteArrayOutputStream_toByteArray($this.$tmp_string); break z; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; break h; } else { throw $$e; } } } try { $this.$tmp_string = null; break y; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; break h; } else { throw $$e; } } } } $this.$mode = 21; } ba: { if (!($this.$flags2 & 4096)) { $e = $this.$gheader; if ($e !== null) $e.$comment0 = null; } else { bb: { try { $r = cjj_Inflate_readString($this, $r, var$3); $e = $this.$gheader; if ($e === null) break bb; $e.$comment0 = ji_ByteArrayOutputStream_toByteArray($this.$tmp_string); break bb; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; break g; } else { throw $$e; } } } try { $this.$tmp_string = null; break ba; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; break g; } else { throw $$e; } } } } $this.$mode = 22; } if ($this.$flags2 & 512) { try { $r = cjj_Inflate_readBytes($this, 2, $r, var$3); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_Inflate$Return) { $e = $$je; return $e.$r; } else { throw $$e; } } $e = $this.$gheader; if ($e !== null) $e.$hcrc = Long_lo(Long_and($this.$need, Long_fromInt(65535))); if (Long_ne($this.$need, Long_and($this.$z1.$adler.$getValue0(), Long_fromInt(65535)))) { $this.$mode = 13; $this.$z1.$msg = $rt_s(988); $this.$marker = 5; continue; } } $e = $this.$z1; var$7 = new cjj_CRC32; var$7.$v = 0; $e.$adler = var$7; $this.$mode = 7; } return $r; } return $e.$r; } return $e.$r; } $this.$mode = 12; } return 1; } $e = $this.$z1; var$9 = $e.$avail_in; if (!var$9) return $r; $e.$avail_in = var$9 - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); $foo = $e.$next_in.data; $r = $e.$next_in_index; $e.$next_in_index = $r + 1 | 0; $this.$need = Long_and(Long_fromInt(($foo[$r] & 255) << 24), Long_create(4278190080, 0)); $this.$mode = 3; $r = var$3; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return $r; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$8 = $this.$need; $foo = $e.$next_in.data; $r = $e.$next_in_index; $e.$next_in_index = $r + 1 | 0; $this.$need = Long_add(var$8, Long_and(Long_fromInt(($foo[$r] & 255) << 16), Long_fromInt(16711680))); $this.$mode = 4; $r = var$3; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return $r; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$8 = $this.$need; $foo = $e.$next_in.data; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; $this.$need = Long_add(var$8, Long_and(Long_fromInt(($foo[$f] & 255) << 8), Long_fromInt(65280))); $this.$mode = 5; } $e = $this.$z1; $f = $e.$avail_in; if (!$f) return var$3; $e.$avail_in = $f - 1 | 0; $e.$total_in = Long_add($e.$total_in, Long_fromInt(1)); var$8 = $this.$need; $foo = $e.$next_in.data; $f = $e.$next_in_index; $e.$next_in_index = $f + 1 | 0; var$8 = Long_add(var$8, Long_and(Long_fromInt($foo[$f]), Long_fromInt(255))); $this.$need = var$8; $e.$adler.$reset0(var$8); $this.$mode = 6; return 2; } if ($f == 4 && $this.$mode == 14) return 0; return (-2); }, cjj_Inflate_readBytes = ($this, $n, $r, $f) => { let var$4, var$5, var$6, var$7, var$8; if ($this.$need_bytes == (-1)) { $this.$need_bytes = $n; $this.$need = Long_ZERO; } while (true) { var$4 = $this.$need_bytes; if (var$4 <= 0) { if ($n == 2) $this.$need = Long_and($this.$need, Long_fromInt(65535)); else if ($n == 4) $this.$need = Long_and($this.$need, Long_create(4294967295, 0)); $this.$need_bytes = (-1); return $r; } var$5 = $this.$z1; var$6 = var$5.$avail_in; if (!var$6) break; var$5.$avail_in = var$6 - 1 | 0; var$5.$total_in = Long_add(var$5.$total_in, Long_fromInt(1)); var$7 = $this.$need; var$8 = var$5.$next_in.data; var$6 = var$5.$next_in_index; var$5.$next_in_index = var$6 + 1 | 0; $this.$need = Long_or(var$7, Long_fromInt((var$8[var$6] & 255) << (($n - var$4 | 0) * 8 | 0))); $this.$need_bytes = var$4 - 1 | 0; $r = $f; } var$5 = new cjj_Inflate$Return; var$5.$this$016 = $this; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$r = $r; $rt_throw(var$5); }, cjj_Inflate_readString = ($this, $r, $f) => { let var$3, var$4, var$5, var$6; if ($this.$tmp_string === null) { var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); $this.$tmp_string = var$3; } while (true) { var$3 = $this.$z1; var$4 = var$3.$avail_in; if (!var$4) { var$3 = new cjj_Inflate$Return; var$3.$this$016 = $this; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$r = $r; $rt_throw(var$3); } var$3.$avail_in = var$4 - 1 | 0; var$3.$total_in = Long_add(var$3.$total_in, Long_fromInt(1)); var$5 = var$3.$next_in; var$6 = var$5.data; $r = var$3.$next_in_index; var$4 = var$6[$r]; if (var$4) ji_ByteArrayOutputStream_write($this.$tmp_string, var$5, $r, 1); var$3 = $this.$z1; var$3.$adler.$update(var$3.$next_in, var$3.$next_in_index, 1); var$3 = $this.$z1; var$3.$next_in_index = var$3.$next_in_index + 1 | 0; if (!var$4) break; $r = $f; } return $f; }, cjj_Inflate_readBytes0 = ($this, $r, $f) => { let var$3, var$4; if ($this.$tmp_string === null) { var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); $this.$tmp_string = var$3; } while (Long_gt($this.$need, Long_ZERO)) { var$3 = $this.$z1; var$4 = var$3.$avail_in; if (!var$4) { var$3 = new cjj_Inflate$Return; var$3.$this$016 = $this; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$r = $r; $rt_throw(var$3); } var$3.$avail_in = var$4 - 1 | 0; var$3.$total_in = Long_add(var$3.$total_in, Long_fromInt(1)); ji_ByteArrayOutputStream_write($this.$tmp_string, var$3.$next_in, var$3.$next_in_index, 1); var$3 = $this.$z1; var$3.$adler.$update(var$3.$next_in, var$3.$next_in_index, 1); var$3 = $this.$z1; var$3.$next_in_index = var$3.$next_in_index + 1 | 0; $this.$need = Long_sub($this.$need, Long_fromInt(1)); $r = $f; } return $r; }, cjj_Inflate__clinit_ = () => { cjj_Inflate_mark = $rt_createByteArrayFromData([0, 0, (-1), (-1)]); }, jnci_AsciiCharset = $rt_classWithoutFields(jnc_Charset), jnci_AsciiCharset__init_ = $this => { let var$1, var$2, var$3, var$4; var$1 = $rt_createArray(jl_String, 0); var$2 = var$1.data; jnc_Charset_checkCanonicalName($rt_s(751)); var$3 = var$2.length; var$4 = 0; while (var$4 < var$3) { jnc_Charset_checkCanonicalName(var$2[var$4]); var$4 = var$4 + 1 | 0; } $this.$canonicalName = $rt_s(751); $this.$aliases = var$1.$clone0(); }, jnci_AsciiCharset__init_0 = () => { let var_0 = new jnci_AsciiCharset(); jnci_AsciiCharset__init_(var_0); return var_0; }, jnci_AsciiCharset_newDecoder = $this => { let var$1; var$1 = new jnci_AsciiDecoder; jnc_CharsetDecoder__init_(var$1, $this, 1.0, 1.0); var$1.$inArray = $rt_createByteArray(512); var$1.$outArray = $rt_createCharArray(512); return var$1; }, jnci_AsciiCharset_newEncoder = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = new jnci_AsciiEncoder; var$2 = $rt_createByteArray(1); var$3 = var$2.data; var$3[0] = 63; var$4 = jnc_CodingErrorAction_REPORT; var$1.$malformedAction0 = var$4; var$1.$unmappableAction = var$4; var$5 = var$3.length; if (var$5 && var$5 >= var$1.$maxBytesPerChar) { var$1.$charset0 = $this; var$1.$replacement1 = var$2.$clone0(); var$1.$averageBytesPerChar = 1.0; var$1.$maxBytesPerChar = 1.0; var$1.$inArray0 = $rt_createCharArray(512); var$1.$outArray0 = $rt_createByteArray(512); return var$1; } var$4 = new jl_IllegalArgumentException; jl_Throwable__init_1(var$4, $rt_s(732)); $rt_throw(var$4); }, jnci_Iso8859Charset = $rt_classWithoutFields(jnc_Charset), jnci_Iso8859Charset__init_ = $this => { let var$1, var$2, var$3, var$4; var$1 = $rt_createArray(jl_String, 0); var$2 = var$1.data; jnc_Charset_checkCanonicalName($rt_s(752)); var$3 = var$2.length; var$4 = 0; while (var$4 < var$3) { jnc_Charset_checkCanonicalName(var$2[var$4]); var$4 = var$4 + 1 | 0; } $this.$canonicalName = $rt_s(752); $this.$aliases = var$1.$clone0(); }, jnci_Iso8859Charset__init_0 = () => { let var_0 = new jnci_Iso8859Charset(); jnci_Iso8859Charset__init_(var_0); return var_0; }, jnci_Iso8859Charset_newDecoder = $this => { let var$1; var$1 = new jnci_Iso8859Decoder; jnc_CharsetDecoder__init_(var$1, $this, 1.0, 1.0); var$1.$inArray = $rt_createByteArray(512); var$1.$outArray = $rt_createCharArray(512); return var$1; }, jnci_Iso8859Charset_newEncoder = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = new jnci_Iso8859Encoder; var$2 = $rt_createByteArray(1); var$3 = var$2.data; var$3[0] = 63; var$4 = jnc_CodingErrorAction_REPORT; var$1.$malformedAction0 = var$4; var$1.$unmappableAction = var$4; var$5 = var$3.length; if (var$5 && var$5 >= var$1.$maxBytesPerChar) { var$1.$charset0 = $this; var$1.$replacement1 = var$2.$clone0(); var$1.$averageBytesPerChar = 1.0; var$1.$maxBytesPerChar = 1.0; var$1.$inArray0 = $rt_createCharArray(512); var$1.$outArray0 = $rt_createByteArray(512); return var$1; } var$4 = new jl_IllegalArgumentException; jl_Throwable__init_1(var$4, $rt_s(732)); $rt_throw(var$4); }; function jnci_UTF16Charset() { let a = this; jnc_Charset.call(a); a.$bom = 0; a.$littleEndian = 0; } let jnci_UTF16Charset_newDecoder = $this => { let var$1, var$2, var$3; var$1 = new jnci_UTF16Decoder; var$2 = $this.$bom; var$3 = $this.$littleEndian; jnc_CharsetDecoder__init_(var$1, $this, 0.5, 0.5); var$1.$inArray = $rt_createByteArray(512); var$1.$outArray = $rt_createCharArray(512); var$1.$bom1 = var$2; var$1.$littleEndian0 = var$3; return var$1; }, jnci_UTF16Charset_newEncoder = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = new jnci_UTF16Encoder; var$2 = $this.$bom; var$3 = $this.$littleEndian; var$4 = $rt_createByteArray(1); var$5 = var$4.data; var$5[0] = 63; var$6 = jnc_CodingErrorAction_REPORT; var$1.$malformedAction0 = var$6; var$1.$unmappableAction = var$6; var$7 = var$5.length; if (var$7 && var$7 >= var$1.$maxBytesPerChar) { var$1.$charset0 = $this; var$1.$replacement1 = var$4.$clone0(); var$1.$averageBytesPerChar = 2.0; var$1.$maxBytesPerChar = 4.0; var$1.$inArray0 = $rt_createCharArray(512); var$1.$outArray0 = $rt_createByteArray(512); var$1.$bom0 = var$2; var$1.$littleEndian1 = var$3; return var$1; } var$6 = new jl_IllegalArgumentException; jl_Throwable__init_1(var$6, $rt_s(732)); $rt_throw(var$6); }, jn_CharBufferImpl = $rt_classWithoutFields(jn_CharBuffer), jn_CharBufferImpl_compact = $this => { let var$1, var$2, $src, $sz, $i, var$6, var$7, var$8; if ($this.$readOnly1) { var$1 = new jn_ReadOnlyBufferException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } a: { var$2 = $this.$limit0; $src = $this.$position0; $sz = var$2 - $src | 0; if ($src > 0) { $i = 0; while (true) { if ($i >= $sz) break a; var$2 = $src + 1 | 0; var$6 = $this.$array1.data; var$7 = $this.$start1; var$8 = var$6[$src + var$7 | 0]; var$6[$i + var$7 | 0] = var$8; $i = $i + 1 | 0; $src = var$2; } } } $this.$position0 = $sz; $this.$limit0 = $this.$capacity; $this.$mark = (-1); return $this; }; function jn_CharBufferOverArray() { let a = this; jn_CharBufferImpl.call(a); a.$readOnly1 = 0; a.$start1 = 0; a.$array1 = null; } function jnc_CoderResult() { let a = this; jl_Object.call(a); a.$kind = 0; a.$length1 = 0; } let jnc_CoderResult_UNDERFLOW = null, jnc_CoderResult_OVERFLOW = null, jnc_CoderResult__clinit_ = () => { let var$1; var$1 = new jnc_CoderResult; var$1.$kind = 0; var$1.$length1 = 0; jnc_CoderResult_UNDERFLOW = var$1; var$1 = new jnc_CoderResult; var$1.$kind = 1; var$1.$length1 = 0; jnc_CoderResult_OVERFLOW = var$1; }, jnc_CoderMalfunctionError = $rt_classWithoutFields(jl_Error); function jur_UCISupplCharSet() { jur_LeafSet.call(this); this.$ch4 = 0; } let jur_UCISupplCharSet_accepts = ($this, $strIndex, $testString) => { let $low, $high; $low = $strIndex + 1 | 0; if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { $high = $testString.$nativeString.charCodeAt($strIndex); if ($low >= 0 && $low < $testString.$nativeString.length) { $low = $testString.$nativeString.charCodeAt($low); $strIndex = $this.$ch4; $low = (($high & 1023) << 10 | $low & 1023) + 65536 | 0; if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } $low = jl_Character_mapChar(jl_Character_upperCaseMapping, $low); if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } return $strIndex != jl_Character_mapChar(jl_Character_lowerCaseMapping, $low) ? (-1) : 2; } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_UCISupplCharSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = new jl_String; var$2 = jl_Character_toChars($this.$ch4); var$1.$nativeString = $rt_charArrayToString(var$2.data, 0, var$2.data.length); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(960)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$1); var$1 = new jl_String; var$2 = var$3.$buffer; var$4 = var$2.data; var$5 = var$3.$length0; var$6 = var$4.length; if (var$5 >= 0 && var$5 <= (var$6 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$2.data, 0, var$5); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }; function jur_LowSurrogateCharSet() { jur_JointSet.call(this); this.$low = 0; } let jur_LowSurrogateCharSet_setNext = ($this, $next) => { $this.$next4 = $next; }, jur_LowSurrogateCharSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let var$4, $low; var$4 = $stringIndex + 1 | 0; if (var$4 > $matchResult.$rightBound) { $matchResult.$hitEnd = 1; return (-1); } if ($stringIndex >= 0 && $stringIndex < $testString.$nativeString.length) { a: { $low = $testString.$nativeString.charCodeAt($stringIndex); if ($stringIndex > $matchResult.$leftBound) { $stringIndex = $stringIndex - 1 | 0; if ($stringIndex >= 0 && $stringIndex < $testString.$nativeString.length) { if (!(($testString.$nativeString.charCodeAt($stringIndex) & 64512) != 55296 ? 0 : 1)) break a; return (-1); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } if ($this.$low != $low) return (-1); return $this.$next4.$matches(var$4, $testString, $matchResult); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_LowSurrogateCharSet_find = ($this, $strIndex, $testStr, $matchResult) => { let var$4, $startStr, $strLength, var$7, var$8; if (!($testStr instanceof jl_String)) { var$4 = $matchResult.$rightBound; a: { while (true) { if ($strIndex > var$4) { $strIndex = (-1); break a; } if (jur_LowSurrogateCharSet_matches($this, $strIndex, $testStr, $matchResult) >= 0) break; $strIndex = $strIndex + 1 | 0; } } return $strIndex; } $startStr = $matchResult.$leftBound; $strLength = $matchResult.$rightBound; b: { while (true) { if ($strIndex >= $strLength) return (-1); var$7 = jl_String_indexOf($testStr, $this.$low, $strIndex); if (var$7 < 0) return (-1); if (var$7 > $startStr) { $strIndex = var$7 - 1 | 0; if ($strIndex < 0) break b; if ($strIndex >= $testStr.$nativeString.length) break b; if (($testStr.$nativeString.charCodeAt($strIndex) & 64512) != 55296 ? 0 : 1) { $strIndex = var$7 + 1 | 0; continue; } } var$8 = $this.$next4; $strIndex = var$7 + 1 | 0; if (var$8.$matches($strIndex, $testStr, $matchResult) >= 0) break; } return var$7; } $testStr = new jl_StringIndexOutOfBoundsException; $testStr.$suppressionEnabled = 1; $testStr.$writableStackTrace = 1; $rt_throw($testStr); }, jur_LowSurrogateCharSet_findBack = ($this, $strIndex, $lastIndex, $testStr, $matchResult) => { let $startStr, var$6; if (!($testStr instanceof jl_String)) { a: { while (true) { if ($lastIndex < $strIndex) { $lastIndex = (-1); break a; } if (jur_LowSurrogateCharSet_matches($this, $lastIndex, $testStr, $matchResult) >= 0) break; $lastIndex = $lastIndex + (-1) | 0; } } return $lastIndex; } $startStr = $matchResult.$leftBound; b: { c: { while (true) { if ($lastIndex < $strIndex) return (-1); var$6 = jl_String_lastIndexOf($testStr, $this.$low, $lastIndex); if (var$6 < 0) break c; if (var$6 < $strIndex) break c; if (var$6 > $startStr) { $lastIndex = var$6 - 1 | 0; if ($lastIndex < 0) break b; if ($lastIndex >= $testStr.$nativeString.length) break b; if (($testStr.$nativeString.charCodeAt($lastIndex) & 64512) != 55296 ? 0 : 1) { $lastIndex = var$6 + (-2) | 0; continue; } } if ($this.$next4.$matches(var$6 + 1 | 0, $testStr, $matchResult) >= 0) break; $lastIndex = var$6 + (-1) | 0; } return var$6; } return (-1); } $testStr = new jl_StringIndexOutOfBoundsException; $testStr.$suppressionEnabled = 1; $testStr.$writableStackTrace = 1; $rt_throw($testStr); }, jur_LowSurrogateCharSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$low; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$3, var$3 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[var$3] = var$1; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); return var$6; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, jur_LowSurrogateCharSet_first = ($this, $set) => { if ($set instanceof jur_CharSet) return 0; if ($set instanceof jur_RangeSet) return 0; if ($set instanceof jur_SupplRangeSet) return 0; if ($set instanceof jur_SupplCharSet) return 0; if ($set instanceof jur_HighSurrogateCharSet) return 0; if (!($set instanceof jur_LowSurrogateCharSet)) return 1; return $set.$low != $this.$low ? 0 : 1; }, jur_LowSurrogateCharSet_hasConsumed = ($this, $matchResult) => { return 1; }; function jur_HighSurrogateCharSet() { jur_JointSet.call(this); this.$high = 0; } let jur_HighSurrogateCharSet_setNext = ($this, $next) => { $this.$next4 = $next; }, jur_HighSurrogateCharSet_matches = ($this, $stringIndex, $testString, $matchResult) => { let $strLength, var$5, $high; $strLength = $matchResult.$rightBound; var$5 = $stringIndex + 1 | 0; $strLength = $rt_compare(var$5, $strLength); if ($strLength > 0) { $matchResult.$hitEnd = 1; return (-1); } if ($stringIndex >= 0 && $stringIndex < $testString.$nativeString.length) { a: { $high = $testString.$nativeString.charCodeAt($stringIndex); if ($strLength < 0) { if (var$5 >= 0 && var$5 < $testString.$nativeString.length) { if (!(($testString.$nativeString.charCodeAt(var$5) & 64512) != 56320 ? 0 : 1)) break a; return (-1); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } } if ($this.$high != $high) return (-1); return $this.$next4.$matches(var$5, $testString, $matchResult); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_HighSurrogateCharSet_find = ($this, $strIndex, $testStr, $matchResult) => { let $strLength, var$5; if (!($testStr instanceof jl_String)) { $strLength = $matchResult.$rightBound; a: { while (true) { if ($strIndex > $strLength) { $strIndex = (-1); break a; } if (jur_HighSurrogateCharSet_matches($this, $strIndex, $testStr, $matchResult) >= 0) break; $strIndex = $strIndex + 1 | 0; } } return $strIndex; } $strLength = $matchResult.$rightBound; b: { while (true) { if ($strIndex >= $strLength) return (-1); var$5 = jl_String_indexOf($testStr, $this.$high, $strIndex); if (var$5 < 0) return (-1); $strIndex = var$5 + 1 | 0; if ($strIndex < $strLength) { if ($strIndex < 0) break b; if ($strIndex >= $testStr.$nativeString.length) break b; if (($testStr.$nativeString.charCodeAt($strIndex) & 64512) != 56320 ? 0 : 1) { $strIndex = var$5 + 2 | 0; continue; } } if ($this.$next4.$matches($strIndex, $testStr, $matchResult) >= 0) break; } return var$5; } $testStr = new jl_StringIndexOutOfBoundsException; $testStr.$suppressionEnabled = 1; $testStr.$writableStackTrace = 1; $rt_throw($testStr); }, jur_HighSurrogateCharSet_findBack = ($this, $strIndex, $lastIndex, $testStr, $matchResult) => { let $strLength, var$6; if (!($testStr instanceof jl_String)) { a: { while (true) { if ($lastIndex < $strIndex) { $lastIndex = (-1); break a; } if (jur_HighSurrogateCharSet_matches($this, $lastIndex, $testStr, $matchResult) >= 0) break; $lastIndex = $lastIndex + (-1) | 0; } } return $lastIndex; } $strLength = $matchResult.$rightBound; b: { c: { while (true) { if ($lastIndex < $strIndex) return (-1); var$6 = jl_String_lastIndexOf($testStr, $this.$high, $lastIndex); if (var$6 < 0) break c; if (var$6 < $strIndex) break c; $lastIndex = var$6 + 1 | 0; if ($lastIndex < $strLength) { if ($lastIndex < 0) break b; if ($lastIndex >= $testStr.$nativeString.length) break b; if (($testStr.$nativeString.charCodeAt($lastIndex) & 64512) != 56320 ? 0 : 1) { $lastIndex = var$6 + (-1) | 0; continue; } } if ($this.$next4.$matches($lastIndex, $testStr, $matchResult) >= 0) break; $lastIndex = var$6 + (-1) | 0; } return var$6; } return (-1); } $testStr = new jl_StringIndexOutOfBoundsException; $testStr.$suppressionEnabled = 1; $testStr.$writableStackTrace = 1; $rt_throw($testStr); }, jur_HighSurrogateCharSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$high; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$3, var$3 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[var$3] = var$1; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); return var$6; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, jur_HighSurrogateCharSet_first = ($this, $set) => { if ($set instanceof jur_CharSet) return 0; if ($set instanceof jur_RangeSet) return 0; if ($set instanceof jur_SupplRangeSet) return 0; if ($set instanceof jur_SupplCharSet) return 0; if ($set instanceof jur_LowSurrogateCharSet) return 0; if (!($set instanceof jur_HighSurrogateCharSet)) return 1; return $set.$high != $this.$high ? 0 : 1; }, jur_HighSurrogateCharSet_hasConsumed = ($this, $matchResult) => { return 1; }; function jur_SupplCharSet() { let a = this; jur_LeafSet.call(a); a.$high0 = 0; a.$low0 = 0; a.$ch1 = 0; } let jur_SupplCharSet_accepts = ($this, $strIndex, $testString) => { let $low, $high; $low = $strIndex + 1 | 0; if ($strIndex >= 0 && $strIndex < $testString.$nativeString.length) { $high = $testString.$nativeString.charCodeAt($strIndex); if ($low >= 0 && $low < $testString.$nativeString.length) { $low = $testString.$nativeString.charCodeAt($low); return $this.$high0 == $high && $this.$low0 == $low ? 2 : (-1); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); } $testString = new jl_StringIndexOutOfBoundsException; $testString.$suppressionEnabled = 1; $testString.$writableStackTrace = 1; $rt_throw($testString); }, jur_SupplCharSet_find = ($this, $strIndex, $testStr, $matchResult) => { let $strLength, $ch, var$6, var$7; if ($testStr instanceof jl_String) { $strLength = $matchResult.$rightBound; a: { while ($strIndex < $strLength) { $strIndex = jl_String_indexOf($testStr, $this.$high0, $strIndex); if ($strIndex < 0) return (-1); $strIndex = $strIndex + 1 | 0; if ($strIndex >= $strLength) continue; if ($strIndex < 0) break a; if ($strIndex >= $testStr.$nativeString.length) break a; $ch = $testStr.$nativeString.charCodeAt($strIndex); if ($this.$low0 == $ch && $this.$next4.$matches($strIndex + 1 | 0, $testStr, $matchResult) >= 0) return $strIndex + (-1) | 0; $strIndex = $strIndex + 1 | 0; } return (-1); } $testStr = new jl_StringIndexOutOfBoundsException; $testStr.$suppressionEnabled = 1; $testStr.$writableStackTrace = 1; $rt_throw($testStr); } var$6 = $matchResult.$rightBound; b: { c: { d: { while (true) { if ($strIndex > var$6) { $strIndex = (-1); break d; } if (($strIndex + $this.$charCount0 | 0) > $matchResult.$rightBound) { $matchResult.$hitEnd = 1; var$7 = (-1); } else { $ch = $strIndex + 1 | 0; if ($strIndex < 0) break b; if ($strIndex >= $testStr.$nativeString.length) break b; $strLength = $testStr.$nativeString.charCodeAt($strIndex); if ($ch < 0) break c; if ($ch >= $testStr.$nativeString.length) break c; $ch = $testStr.$nativeString.charCodeAt($ch); var$7 = $this.$high0 == $strLength && $this.$low0 == $ch ? 2 : (-1); var$7 = var$7 < 0 ? (-1) : $this.$next4.$matches($strIndex + var$7 | 0, $testStr, $matchResult); } if (var$7 >= 0) break; $strIndex = $strIndex + 1 | 0; } } return $strIndex; } $testStr = new jl_StringIndexOutOfBoundsException; $testStr.$suppressionEnabled = 1; $testStr.$writableStackTrace = 1; $rt_throw($testStr); } $testStr = new jl_StringIndexOutOfBoundsException; $testStr.$suppressionEnabled = 1; $testStr.$writableStackTrace = 1; $rt_throw($testStr); }, jur_SupplCharSet_findBack = ($this, $strIndex, $lastIndex, $testStr, $matchResult) => { let var$5, var$6, var$7; if ($testStr instanceof jl_String) { a: { b: { while (true) { if ($lastIndex < $strIndex) return (-1); $lastIndex = jl_String_lastIndexOf($testStr, $this.$low0, $lastIndex) + (-1) | 0; if ($lastIndex < 0) break b; if ($lastIndex < $strIndex) break b; var$5 = $this.$high0; if ($lastIndex < 0) break a; if ($lastIndex >= $testStr.$nativeString.length) break a; if (var$5 == $testStr.$nativeString.charCodeAt($lastIndex) && $this.$next4.$matches($lastIndex + 2 | 0, $testStr, $matchResult) >= 0) break; $lastIndex = $lastIndex + (-1) | 0; } return $lastIndex; } return (-1); } $testStr = new jl_StringIndexOutOfBoundsException; $testStr.$suppressionEnabled = 1; $testStr.$writableStackTrace = 1; $rt_throw($testStr); } c: { d: { e: { while (true) { if ($lastIndex < $strIndex) { $lastIndex = (-1); break e; } if (($lastIndex + $this.$charCount0 | 0) > $matchResult.$rightBound) { $matchResult.$hitEnd = 1; var$5 = (-1); } else { var$6 = $lastIndex + 1 | 0; if ($lastIndex < 0) break c; if ($lastIndex >= $testStr.$nativeString.length) break c; var$7 = $testStr.$nativeString.charCodeAt($lastIndex); if (var$6 < 0) break d; if (var$6 >= $testStr.$nativeString.length) break d; var$6 = $testStr.$nativeString.charCodeAt(var$6); var$5 = $this.$high0 == var$7 && $this.$low0 == var$6 ? 2 : (-1); var$5 = var$5 < 0 ? (-1) : $this.$next4.$matches($lastIndex + var$5 | 0, $testStr, $matchResult); } if (var$5 >= 0) break; $lastIndex = $lastIndex + (-1) | 0; } } return $lastIndex; } $testStr = new jl_StringIndexOutOfBoundsException; $testStr.$suppressionEnabled = 1; $testStr.$writableStackTrace = 1; $rt_throw($testStr); } $testStr = new jl_StringIndexOutOfBoundsException; $testStr.$suppressionEnabled = 1; $testStr.$writableStackTrace = 1; $rt_throw($testStr); }, jur_SupplCharSet_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$high0; var$2 = $this.$low0; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$4, var$4 + 1 | 0); var$3.$buffer.data[var$4] = var$1; var$1 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$1, var$1 + 1 | 0); var$5 = var$3.$buffer; var$6 = var$5.data; var$6[var$1] = var$2; var$7 = new jl_String; var$2 = var$3.$length0; var$4 = var$6.length; if (var$2 >= 0 && var$2 <= (var$4 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$5.data, 0, var$2); return var$7; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); }, jur_SupplCharSet_first = ($this, $set) => { if ($set instanceof jur_SupplCharSet) return $set.$ch1 != $this.$ch1 ? 0 : 1; if ($set instanceof jur_SupplRangeSet) return $set.$contains0($this.$ch1); if ($set instanceof jur_CharSet) return 0; if (!($set instanceof jur_RangeSet)) return 1; return 0; }, jur_AbstractLineTerminator$1 = $rt_classWithoutFields(jur_AbstractLineTerminator), jur_AbstractLineTerminator$1__init_ = $this => { return; }, jur_AbstractLineTerminator$1__init_0 = () => { let var_0 = new jur_AbstractLineTerminator$1(); jur_AbstractLineTerminator$1__init_(var_0); return var_0; }, jur_AbstractLineTerminator$1_isLineTerminator = ($this, $ch) => { return $ch != 10 ? 0 : 1; }, jur_AbstractLineTerminator$1_isAfterLineTerminator = ($this, $ch, $ch2) => { return $ch != 10 ? 0 : 1; }, jur_AbstractLineTerminator$2 = $rt_classWithoutFields(jur_AbstractLineTerminator), jur_AbstractLineTerminator$2__init_ = $this => { return; }, jur_AbstractLineTerminator$2__init_0 = () => { let var_0 = new jur_AbstractLineTerminator$2(); jur_AbstractLineTerminator$2__init_(var_0); return var_0; }, jur_AbstractLineTerminator$2_isLineTerminator = ($this, $ch) => { return $ch != 10 && $ch != 13 && $ch != 133 && ($ch | 1) != 8233 ? 0 : 1; }, jur_AbstractLineTerminator$2_isAfterLineTerminator = ($this, $ch, $ch2) => { a: { b: { if ($ch != 10 && $ch != 133 && ($ch | 1) != 8233) { if ($ch != 13) break b; if ($ch2 == 10) break b; } $ch = 1; break a; } $ch = 0; } return $ch; }; function jur_SequenceSet$IntHash() { let a = this; jl_Object.call(a); a.$table = null; a.$values0 = null; a.$mask = 0; a.$size10 = 0; } let jur_SequenceSet$IntHash__init_0 = ($this, $size) => { let var$2, var$3; while (true) { var$2 = $this.$mask; if ($size < var$2) break; $this.$mask = var$2 << 1 | 1; } var$3 = var$2 << 1 | 1; $this.$mask = var$3; var$3 = var$3 + 1 | 0; $this.$table = $rt_createIntArray(var$3); $this.$values0 = $rt_createIntArray(var$3); $this.$size10 = $size; }, jur_SequenceSet$IntHash__init_ = var_0 => { let var_1 = new jur_SequenceSet$IntHash(); jur_SequenceSet$IntHash__init_0(var_1, var_0); return var_1; }, jur_SequenceSet$IntHash_put = ($this, $key, $value) => { let $i, var$4, $hashCode, var$6; $i = 0; var$4 = $this.$mask; $hashCode = $key & var$4; while (true) { var$6 = $this.$table.data; if (!var$6[$hashCode]) break; if (var$6[$hashCode] == $key) break; $i = ($i + 1 | 0) & var$4; $hashCode = ($hashCode + $i | 0) & var$4; } var$6[$hashCode] = $key; $this.$values0.data[$hashCode] = $value; }, jur_SequenceSet$IntHash_get = ($this, $key) => { let var$2, $hashCode, $i, $storedKey; var$2 = $this.$mask; $hashCode = $key & var$2; $i = 0; while (true) { $storedKey = $this.$table.data[$hashCode]; if (!$storedKey) break; if ($storedKey == $key) return $this.$values0.data[$hashCode]; $i = ($i + 1 | 0) & var$2; $hashCode = ($hashCode + $i | 0) & var$2; } return $this.$size10; }; function ju_TimeZone() { jl_Object.call(this); this.$id5 = null; } let ju_TimeZone_defaultTz = null, ju_TimeZone_GMT = null, ju_TimeZone_$callClinit = () => { ju_TimeZone_$callClinit = $rt_eraseClinit(ju_TimeZone); ju_TimeZone__clinit_(); }, ju_TimeZone_detectTimezone = () => { let $innerTz, var$2, var$3; ju_TimeZone_$callClinit(); $innerTz = otcit_DateTimeZoneProvider_detectTimezone(); if ($innerTz === null) var$2 = null; else { var$2 = new ju_IANATimeZone; var$2.$id5 = $innerTz.$iID; var$2.$underlyingZone = $innerTz; var$3 = $innerTz.$getStandardOffset(jl_System_currentTimeMillis()); var$2.$rawOffset = var$3; var$2.$diff = -var$3 | 0; } return var$2; }, ju_TimeZone_getTimeZone = $name => { let $jodaZone, $hour, $sign, $position, $formattedName, var$7, $index, $raw, $minute, $$je; ju_TimeZone_$callClinit(); $jodaZone = otcit_DateTimeZoneProvider_getTimeZone($name); if ($jodaZone !== null) { $name = new ju_IANATimeZone; $name.$id5 = $jodaZone.$iID; $name.$underlyingZone = $jodaZone; $hour = $jodaZone.$getStandardOffset(jl_System_currentTimeMillis()); $name.$rawOffset = $hour; $name.$diff = -$hour | 0; return $name; } $hour = $name === $rt_s(989) ? 1 : jl_String_startsWith($name, $rt_s(989), 0); a: { if ($hour && $name.$nativeString.length > 3) { if (3 >= $name.$nativeString.length) { $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $sign = $name.$nativeString.charCodeAt(3); if (!($sign != 43 && $sign != 45)) { $position = $rt_createIntArray(1); $formattedName = ju_TimeZone_formatTimeZoneName($name, 4); $hour = ju_TimeZone_parseNumber($formattedName, 4, $position); if ($hour >= 0 && $hour <= 23) { var$7 = $position.data; $index = var$7[0]; if ($index == (-1)) break a; else { b: { c: { $raw = $rt_imul($hour, 3600000); if ($index < $formattedName.$nativeString.length) { if ($index >= 0 && $index < $formattedName.$nativeString.length) { if ($formattedName.$nativeString.charCodeAt($index) != 58) break c; else { $minute = ju_TimeZone_parseNumber($formattedName, $index + 1 | 0, $position); if (var$7[0] != (-1) && $minute >= 0 && $minute <= 59) { $raw = $raw + ($minute * 60000 | 0) | 0; break b; } $name = ju_TimeZone_GMT; d: { try { $jodaZone = jl_Object_clone($name); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { } else { throw $$e; } } $jodaZone = null; } $jodaZone.$rawOffset = $name.$rawOffset; $jodaZone.$underlyingZone = $name.$underlyingZone; return $jodaZone; } } $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } } if ($index > 6) $raw = $hour * 60000 | 0; } if ($sign == 45) $raw = -$raw | 0; $name = new ju_IANATimeZone; $jodaZone = new otcit_FixedDateTimeZone; $jodaZone.$iID = $formattedName; $jodaZone.$iWallOffset0 = $raw; $jodaZone.$iStandardOffset3 = $raw; $name.$id5 = $formattedName; $name.$underlyingZone = $jodaZone; jl_System_currentTimeMillis(); $hour = $jodaZone.$iStandardOffset3; $name.$rawOffset = $hour; $name.$diff = -$hour | 0; return $name; } } $name = ju_TimeZone_GMT; e: { try { $jodaZone = jl_Object_clone($name); break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { } else { throw $$e; } } $jodaZone = null; } $jodaZone.$rawOffset = $name.$rawOffset; $jodaZone.$underlyingZone = $name.$underlyingZone; return $jodaZone; } } } $name = ju_TimeZone_GMT; f: { try { $jodaZone = jl_Object_clone($name); break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { } else { throw $$e; } } $jodaZone = null; } $jodaZone.$rawOffset = $name.$rawOffset; $jodaZone.$underlyingZone = $name.$underlyingZone; return $jodaZone; }, ju_TimeZone_formatTimeZoneName = ($name, $offset) => { let $buf, $length, var$5, var$6, var$7, var$8, var$9; ju_TimeZone_$callClinit(); $buf = new jl_StringBuilder; $buf.$buffer = $rt_createCharArray(16); $length = $name.$nativeString.length; var$5 = jl_String_substring($name, 0, $offset); jl_AbstractStringBuilder_insert($buf, $buf.$length0, var$5); a: { b: { while (true) { if ($offset >= $length) { var$5 = new jl_String; var$6 = $buf.$buffer; var$7 = var$6.data; var$8 = $buf.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); if (jl_String_indexOf0(var$5, $rt_s(990), 0) == (-1)) { var$8 = $buf.$length0; jl_AbstractStringBuilder_insertSpace($buf, var$8, var$8 + 1 | 0); $buf.$buffer.data[var$8] = 58; jl_AbstractStringBuilder_insert($buf, $buf.$length0, $rt_s(991)); } var$5 = new jl_String; var$6 = $buf.$buffer; var$7 = var$6.data; var$8 = $buf.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); if (jl_String_indexOf0(var$5, $rt_s(990), 0) == 5) { jl_AbstractStringBuilder_insertSpace($buf, 4, 5); $buf.$buffer.data[4] = 48; } $name = new jl_String; var$6 = $buf.$buffer; var$7 = var$6.data; var$8 = $buf.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $name.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); return $name; } $name = new jl_IndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $name = new jl_IndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $name = new jl_IndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } if ($offset < 0) break b; if ($offset >= $name.$nativeString.length) break b; var$9 = jl_Character_getNumericValue($name.$nativeString.charCodeAt($offset)); if (var$9 >= 10) var$9 = (-1); if (var$9 == (-1)) { if ($offset < 0) break; if ($offset >= $name.$nativeString.length) break; if ($name.$nativeString.charCodeAt($offset) == 58) { var$9 = $buf.$length0; jl_AbstractStringBuilder_insertSpace($buf, var$9, var$9 + 1 | 0); $buf.$buffer.data[var$9] = 58; } } else { if ($offset < 0) break a; if ($offset >= $name.$nativeString.length) break a; var$9 = $name.$nativeString.charCodeAt($offset); var$8 = $buf.$length0; jl_AbstractStringBuilder_insertSpace($buf, var$8, var$8 + 1 | 0); $buf.$buffer.data[var$8] = var$9; if (($length - ($offset + 1 | 0) | 0) == 2) { var$9 = $buf.$length0; jl_AbstractStringBuilder_insertSpace($buf, var$9, var$9 + 1 | 0); $buf.$buffer.data[var$9] = 58; } } $offset = $offset + 1 | 0; } $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); }, ju_TimeZone_parseNumber = ($string, $offset, $position) => { let $length, $result, var$6, $digit; ju_TimeZone_$callClinit(); $length = $string.$nativeString.length; $result = 0; var$6 = $offset; a: { while (true) { if (var$6 >= $length) break a; if (var$6 < 0) break; if (var$6 >= $string.$nativeString.length) break; $digit = jl_Character_getNumericValue($string.$nativeString.charCodeAt(var$6)); if ($digit >= 10) $digit = (-1); if ($digit == (-1)) break a; var$6 = var$6 + 1 | 0; $result = ($result * 10 | 0) + $digit | 0; } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } if (var$6 == $offset) var$6 = (-1); $position.data[0] = var$6; return $result; }, ju_TimeZone__clinit_ = () => { let var$1, var$2, var$3; var$1 = new ju_IANATimeZone; var$2 = new otcit_FixedDateTimeZone; var$2.$iID = $rt_s(989); var$2.$iWallOffset0 = 0; var$2.$iStandardOffset3 = 0; ju_TimeZone_$callClinit(); var$1.$id5 = $rt_s(989); var$1.$underlyingZone = var$2; jl_System_currentTimeMillis(); var$3 = var$2.$iStandardOffset3; var$1.$rawOffset = var$3; var$1.$diff = -var$3 | 0; ju_TimeZone_GMT = var$1; }; function cjj_InfBlocks() { let a = this; jl_Object.call(a); a.$mode1 = 0; a.$left1 = 0; a.$table0 = 0; a.$index10 = 0; a.$blens = null; a.$bb = null; a.$tb = null; a.$bl = null; a.$bd = null; a.$tl = null; a.$td = null; a.$tli = null; a.$tdi = null; a.$codes = null; a.$last0 = 0; a.$bitk = 0; a.$bitb = 0; a.$hufts = null; a.$window = null; a.$end0 = 0; a.$read6 = 0; a.$write7 = 0; a.$check = 0; a.$inftree = null; a.$z3 = null; } let cjj_InfBlocks_inflate_mask = null, cjj_InfBlocks_border = null, cjj_InfBlocks__init_ = ($this, $z, $w) => { let var$3; $this.$bb = $rt_createIntArray(1); $this.$tb = $rt_createIntArray(1); $this.$bl = $rt_createIntArray(1); $this.$bd = $rt_createIntArray(1); $this.$tl = $rt_createArray($rt_arraycls($rt_intcls), 1); $this.$td = $rt_createArray($rt_arraycls($rt_intcls), 1); $this.$tli = $rt_createIntArray(1); $this.$tdi = $rt_createIntArray(1); var$3 = new cjj_InfTree; var$3.$hn = null; var$3.$v0 = null; var$3.$c = null; var$3.$r0 = null; var$3.$u = null; var$3.$x2 = null; $this.$inftree = var$3; $this.$z3 = $z; var$3 = new cjj_InfCodes; var$3.$tree_index = 0; var$3.$z4 = $z; var$3.$s = $this; $this.$codes = var$3; $this.$hufts = $rt_createIntArray(4320); $this.$window = $rt_createByteArray($w); $this.$end0 = $w; $this.$check = $z.$istate.$wrap2 ? 1 : 0; $this.$mode1 = 0; cjj_InfBlocks_reset($this); }, cjj_InfBlocks__init_0 = (var_0, var_1) => { let var_2 = new cjj_InfBlocks(); cjj_InfBlocks__init_(var_2, var_0, var_1); return var_2; }, cjj_InfBlocks_reset = $this => { let var$1; var$1 = $this.$mode1; var$1 != 4 && var$1 != 5; $this.$mode1 = 0; $this.$bitk = 0; $this.$bitb = 0; $this.$write7 = 0; $this.$read6 = 0; if ($this.$check) $this.$z3.$adler.$reset(); }, cjj_InfBlocks_proc = ($this, $r) => { let var$2, $p, $n, $b, $k, $q, $j, $m, var$10, $i, $t, $c, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $i_0; var$2 = $this.$z3; $p = var$2.$next_in_index; $n = var$2.$avail_in; $b = $this.$bitb; $k = $this.$bitk; $q = $this.$write7; $j = $this.$read6; $m = $q >= $j ? $this.$end0 - $q | 0 : ($j - $q | 0) - 1 | 0; a: { b: { c: { d: { e: while (true) { f: { g: { h: { i: { j: { switch ($this.$mode1) { case 2: break f; case 9: $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); case 0: break j; case 1: break; case 3: while ($k < 14) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z3.$next_in.data; $j = $p + 1 | 0; $b = $b | (var$10[$p] & 255) << $k; $k = $k + 8 | 0; $p = $j; } $j = $b & 16383; $this.$table0 = $j; $i = $j & 31; if ($i > 29) break d; $j = $j >> 5 & 31; if ($j > 29) break d; k: { l: { $j = (258 + $i | 0) + $j | 0; var$10 = $this.$blens; if (var$10 !== null) { var$10 = var$10.data; if (var$10.length >= $j) break l; } $this.$blens = $rt_createIntArray($j); break k; } $i = 0; while (true) { if ($i >= $j) break k; var$10[$i] = 0; $i = $i + 1 | 0; } } $b = $b >>> 14 | 0; $k = $k + (-14) | 0; $this.$index10 = 0; $this.$mode1 = 4; break i; case 4: break i; case 5: break h; case 6: break g; case 7: break b; case 8: break a; default: $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, (-2)); } while ($k < 32) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z3.$next_in.data; $j = $p + 1 | 0; $b = $b | (var$10[$p] & 255) << $k; $k = $k + 8 | 0; $p = $j; } $j = (($b ^ (-1)) >>> 16 | 0) & 65535; $i = $b & 65535; if ($j != $i) { $this.$mode1 = 9; var$2 = $this.$z3; var$2.$msg = $rt_s(992); $this.$bitb = $b; $this.$bitk = $k; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); } $this.$left1 = $i; $k = 0; $this.$mode1 = $i ? 2 : !$this.$last0 ? 0 : 7; $b = $k; continue e; } while ($k < 3) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z3.$next_in.data; $j = $p + 1 | 0; $b = $b | (var$10[$p] & 255) << $k; $k = $k + 8 | 0; $p = $j; } m: { $t = $b & 7; $this.$last0 = $t & 1; switch ($t >>> 1 | 0) { case 0: $j = $b >>> 3 | 0; $i = $k + (-3) | 0; $c = $i & 7; $b = $j >>> $c | 0; $k = $i - $c | 0; $this.$mode1 = 1; break m; case 1: var$10 = $this.$bl.data; var$14 = $this.$bd.data; var$15 = $this.$tl.data; var$16 = $this.$td.data; var$10[0] = 9; var$14[0] = 5; var$15[0] = cjj_InfTree_fixed_tl; var$16[0] = cjj_InfTree_fixed_td; var$17 = $this.$codes; $i = var$10[0]; $c = var$14[0]; var$10 = var$15[0]; var$14 = var$16[0]; var$17.$mode2 = 0; var$17.$lbits = $i << 24 >> 24; var$17.$dbits = $c << 24 >> 24; var$17.$ltree = var$10; var$17.$ltree_index = 0; var$17.$dtree = var$14; var$17.$dtree_index = 0; var$17.$tree = null; $b = $b >>> 3 | 0; $k = $k + (-3) | 0; $this.$mode1 = 6; break m; case 2: $b = $b >>> 3 | 0; $k = $k + (-3) | 0; $this.$mode1 = 3; break m; case 3: $r = $b >>> 3 | 0; $j = $k + (-3) | 0; $this.$mode1 = 9; var$2 = $this.$z3; var$2.$msg = $rt_s(993); $this.$bitb = $r; $this.$bitk = $j; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); default: } } continue e; } while (true) { $j = $this.$index10; if ($j >= (4 + ($this.$table0 >>> 10 | 0) | 0)) break; while ($k < 3) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z3.$next_in.data; $i = $p + 1 | 0; $b = $b | (var$10[$p] & 255) << $k; $k = $k + 8 | 0; $p = $i; } var$14 = $this.$blens.data; var$10 = cjj_InfBlocks_border.data; $this.$index10 = $j + 1 | 0; var$14[var$10[$j]] = $b & 7; $b = $b >>> 3 | 0; $k = $k + (-3) | 0; } while (true) { $j = $this.$index10; if ($j >= 19) break; var$14 = $this.$blens.data; var$10 = cjj_InfBlocks_border.data; $this.$index10 = $j + 1 | 0; var$14[var$10[$j]] = 0; } var$10 = $this.$bb; var$10.data[0] = 7; $j = cjj_InfTree_inflate_trees_bits($this.$inftree, $this.$blens, var$10, $this.$tb, $this.$hufts, $this.$z3); if ($j) { if ($j == (-3)) { $this.$blens = null; $this.$mode1 = 9; } $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, $j); } $this.$index10 = 0; $this.$mode1 = 5; } while (true) { $j = $this.$table0; $i = $this.$index10; $c = $j & 31; $m = 258 + $c | 0; $j = $j >> 5 & 31; $m = $m + $j | 0; if ($i >= $m) break; $j = $this.$bb.data[0]; while ($k < $j) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z3.$next_in.data; $c = $p + 1 | 0; $b = $b | (var$10[$p] & 255) << $k; $k = $k + 8 | 0; $p = $c; } var$10 = $this.$tb.data; var$18 = $this.$hufts.data; $c = var$10[0]; var$14 = cjj_InfBlocks_inflate_mask.data; var$19 = var$18[(($c + ($b & var$14[$j]) | 0) * 3 | 0) + 1 | 0]; $c = var$18[((var$10[0] + ($b & var$14[var$19]) | 0) * 3 | 0) + 2 | 0]; var$20 = $rt_compare($c, 16); if (var$20 < 0) { $b = $b >>> var$19 | 0; $k = $k - var$19 | 0; var$10 = $this.$blens.data; $this.$index10 = $i + 1 | 0; var$10[$i] = $c; } else { $j = $rt_compare($c, 18); $i_0 = !$j ? 7 : $c - 14 | 0; $j = $j ? 3 : 11; while ($k < (var$19 + $i_0 | 0)) { if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $r = 0; $n = $n + (-1) | 0; var$10 = $this.$z3.$next_in.data; $c = $p + 1 | 0; $b = $b | (var$10[$p] & 255) << $k; $k = $k + 8 | 0; $p = $c; } $c = $b >>> var$19 | 0; $t = $k - var$19 | 0; $j = $j + ($c & var$14[$i_0]) | 0; $b = $c >>> $i_0 | 0; $k = $t - $i_0 | 0; if (($i + $j | 0) > $m) break c; if (!var$20 && $i < 1) break c; $m = var$20 ? 0 : $this.$blens.data[$i - 1 | 0]; while (true) { var$10 = $this.$blens.data; $c = $i + 1 | 0; var$10[$i] = $m; $j = $j + (-1) | 0; if (!$j) break; $i = $c; } $this.$index10 = $c; } } $this.$tb.data[0] = (-1); var$10 = $this.$bl; var$10.data[0] = 9; var$14 = $this.$bd; var$14.data[0] = 6; $j = cjj_InfTree_inflate_trees_dynamic($this.$inftree, 257 + $c | 0, 1 + $j | 0, $this.$blens, var$10, var$14, $this.$tli, $this.$tdi, $this.$hufts, $this.$z3); if ($j) { if ($j == (-3)) { $this.$blens = null; $this.$mode1 = 9; } $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, $j); } var$2 = $this.$codes; $j = $this.$bl.data[0]; $i = $this.$bd.data[0]; var$10 = $this.$hufts; $m = $this.$tli.data[0]; $c = $this.$tdi.data[0]; var$2.$mode2 = 0; var$2.$lbits = $j << 24 >> 24; var$2.$dbits = $i << 24 >> 24; var$2.$ltree = var$10; var$2.$ltree_index = $m; var$2.$dtree = var$10; var$2.$dtree_index = $c; var$2.$tree = null; $this.$mode1 = 6; } $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; $r = cjj_InfCodes_proc($this.$codes, $r); if ($r != 1) break e; $r = 0; var$2 = $this.$z3; $p = var$2.$next_in_index; $n = var$2.$avail_in; $b = $this.$bitb; $k = $this.$bitk; $q = $this.$write7; $j = $this.$read6; $m = $q >= $j ? $this.$end0 - $q | 0 : ($j - $q | 0) - 1 | 0; if ($this.$last0) { $this.$mode1 = 7; break b; } $this.$mode1 = 0; continue e; } if (!$n) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } if (!$m) { $j = $this.$end0; if ($q == $j) { $i = $this.$read6; if ($i) { $q = 0; $m = $q >= $i ? $j - $q | 0 : ($i - $q | 0) - 1 | 0; } } if (!$m) { $this.$write7 = $q; $r = cjj_InfBlocks_inflate_flush($this, $r); $q = $this.$write7; $j = $this.$read6; $m = $q >= $j ? $this.$end0 - $q | 0 : ($j - $q | 0) - 1 | 0; $i = $this.$end0; if ($q == $i && $j) { $q = 0; $m = $q >= $j ? $i - $q | 0 : ($j - $q | 0) - 1 | 0; } if (!$m) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } } } $r = 0; $j = $this.$left1; if ($j > $n) $j = $n; if ($j > $m) $j = $m; jl_System_fastArraycopy($this.$z3.$next_in, $p, $this.$window, $q, $j); $p = $p + $j | 0; $n = $n - $j | 0; $q = $q + $j | 0; $m = $m - $j | 0; $j = $this.$left1 - $j | 0; $this.$left1 = $j; if ($j) continue; $this.$mode1 = !$this.$last0 ? 0 : 7; } return cjj_InfBlocks_inflate_flush($this, $r); } $this.$mode1 = 9; var$2 = $this.$z3; var$2.$msg = $rt_s(994); $this.$bitb = $b; $this.$bitk = $k; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); } $this.$blens = null; $this.$mode1 = 9; var$2 = $this.$z3; var$2.$msg = $rt_s(995); $this.$bitb = $b; $this.$bitk = $k; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, (-3)); } $this.$write7 = $q; $r = cjj_InfBlocks_inflate_flush($this, $r); $q = $this.$write7; $j = $this.$read6; if ($j != $q) { $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, $r); } $this.$mode1 = 8; } $this.$bitb = $b; $this.$bitk = $k; var$2 = $this.$z3; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt($p - var$2.$next_in_index | 0)); var$2.$next_in_index = $p; $this.$write7 = $q; return cjj_InfBlocks_inflate_flush($this, 1); }, cjj_InfBlocks_inflate_flush = ($this, $r) => { let var$2, $p, $q, var$5, $n, var$7; var$2 = $this.$z3; $p = var$2.$next_out_index; $q = $this.$read6; var$5 = $this.$write7; if ($q > var$5) var$5 = $this.$end0; $n = var$5 - $q | 0; var$5 = var$2.$avail_out; if ($n > var$5) $n = var$5; if ($n && $r == (-5)) $r = 0; var$2.$avail_out = var$5 - $n | 0; var$2.$total_out = Long_add(var$2.$total_out, Long_fromInt($n)); if ($this.$check && $n > 0) var$2.$adler.$update($this.$window, $q, $n); jl_System_fastArraycopy($this.$window, $q, $this.$z3.$next_out, $p, $n); var$5 = $p + $n | 0; var$7 = $q + $n | 0; $p = $this.$end0; if (var$7 == $p) { if ($this.$write7 == $p) $this.$write7 = 0; $p = $this.$write7 - 0 | 0; var$2 = $this.$z3; $q = var$2.$avail_out; if ($p > $q) $p = $q; if ($p && $r == (-5)) $r = 0; var$2.$avail_out = $q - $p | 0; var$2.$total_out = Long_add(var$2.$total_out, Long_fromInt($p)); if ($this.$check && $p > 0) var$2.$adler.$update($this.$window, 0, $p); jl_System_fastArraycopy($this.$window, 0, $this.$z3.$next_out, var$5, $p); var$5 = var$5 + $p | 0; var$7 = 0 + $p | 0; } $this.$z3.$next_out_index = var$5; $this.$read6 = var$7; return $r; }, cjj_InfBlocks__clinit_ = () => { cjj_InfBlocks_inflate_mask = $rt_createIntArrayFromData([0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535]); cjj_InfBlocks_border = $rt_createIntArrayFromData([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]); }, jur_AbstractCharClass$LazySpace = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazySpace__init_ = $this => { return; }, jur_AbstractCharClass$LazySpace__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazySpace(); jur_AbstractCharClass$LazySpace__init_(var_0); return var_0; }, jur_AbstractCharClass$LazySpace_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add0(jur_CharClass_add(var$1, 9, 13), 32); }, jur_AbstractCharClass$LazyDigit = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyDigit__init_ = $this => { return; }, jur_AbstractCharClass$LazyDigit__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyDigit(); jur_AbstractCharClass$LazyDigit__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyDigit_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add(var$1, 48, 57); }, jur_AbstractCharClass$LazyLower = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyLower__init_ = $this => { return; }, jur_AbstractCharClass$LazyLower__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyLower(); jur_AbstractCharClass$LazyLower__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyLower_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add(var$1, 97, 122); }, jur_AbstractCharClass$LazyUpper = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyUpper__init_ = $this => { return; }, jur_AbstractCharClass$LazyUpper__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyUpper(); jur_AbstractCharClass$LazyUpper__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyUpper_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add(var$1, 65, 90); }, jur_AbstractCharClass$LazyASCII = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyASCII__init_ = $this => { return; }, jur_AbstractCharClass$LazyASCII__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyASCII(); jur_AbstractCharClass$LazyASCII__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyASCII_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add(var$1, 0, 127); }, jur_AbstractCharClass$LazyAlpha = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyAlpha__init_ = $this => { return; }, jur_AbstractCharClass$LazyAlpha__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyAlpha(); jur_AbstractCharClass$LazyAlpha__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyAlpha_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add(jur_CharClass_add(var$1, 97, 122), 65, 90); }, jur_AbstractCharClass$LazyAlnum = $rt_classWithoutFields(jur_AbstractCharClass$LazyAlpha), jur_AbstractCharClass$LazyAlnum__init_ = $this => { return; }, jur_AbstractCharClass$LazyAlnum__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyAlnum(); jur_AbstractCharClass$LazyAlnum__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyAlnum_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add(jur_CharClass_add(jur_CharClass_add(var$1, 97, 122), 65, 90), 48, 57); }, jur_AbstractCharClass$LazyPunct = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyPunct__init_ = $this => { return; }, jur_AbstractCharClass$LazyPunct__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyPunct(); jur_AbstractCharClass$LazyPunct__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyPunct_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add(jur_CharClass_add(jur_CharClass_add(var$1, 33, 64), 91, 96), 123, 126); }, jur_AbstractCharClass$LazyGraph = $rt_classWithoutFields(jur_AbstractCharClass$LazyAlnum), jur_AbstractCharClass$LazyGraph__init_ = $this => { return; }, jur_AbstractCharClass$LazyGraph__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyGraph(); jur_AbstractCharClass$LazyGraph__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyGraph_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add(jur_CharClass_add(jur_CharClass_add(jur_CharClass_add(jur_CharClass_add(jur_CharClass_add(var$1, 97, 122), 65, 90), 48, 57), 33, 64), 91, 96), 123, 126); }, jur_AbstractCharClass$LazyPrint = $rt_classWithoutFields(jur_AbstractCharClass$LazyGraph), jur_AbstractCharClass$LazyPrint__init_ = $this => { return; }, jur_AbstractCharClass$LazyPrint__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyPrint(); jur_AbstractCharClass$LazyPrint__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyPrint_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add0(jur_CharClass_add(jur_CharClass_add(jur_CharClass_add(jur_CharClass_add(jur_CharClass_add(jur_CharClass_add(var$1, 97, 122), 65, 90), 48, 57), 33, 64), 91, 96), 123, 126), 32); }, jur_AbstractCharClass$LazyBlank = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyBlank__init_ = $this => { return; }; let jur_AbstractCharClass$LazyBlank__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyBlank(); jur_AbstractCharClass$LazyBlank__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyBlank_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add0(jur_CharClass_add0(var$1, 32), 9); }, jur_AbstractCharClass$LazyCntrl = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyCntrl__init_ = $this => { return; }, jur_AbstractCharClass$LazyCntrl__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyCntrl(); jur_AbstractCharClass$LazyCntrl__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyCntrl_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add0(jur_CharClass_add(var$1, 0, 31), 127); }, jur_AbstractCharClass$LazyXDigit = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyXDigit__init_ = $this => { return; }, jur_AbstractCharClass$LazyXDigit__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyXDigit(); jur_AbstractCharClass$LazyXDigit__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyXDigit_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add(jur_CharClass_add(jur_CharClass_add(var$1, 48, 57), 97, 102), 65, 70); }, jur_AbstractCharClass$LazyJavaLowerCase = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaLowerCase__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaLowerCase__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaLowerCase(); jur_AbstractCharClass$LazyJavaLowerCase__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaLowerCase_computeValue = $this => { let $chCl, var$2; $chCl = new jur_AbstractCharClass$LazyJavaLowerCase$1; $chCl.$this$051 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; $chCl.$mayContainSupplCodepoints = 1; return $chCl; }, jur_AbstractCharClass$LazyJavaUpperCase = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaUpperCase__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaUpperCase__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaUpperCase(); jur_AbstractCharClass$LazyJavaUpperCase__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaUpperCase_computeValue = $this => { let $chCl, var$2; $chCl = new jur_AbstractCharClass$LazyJavaUpperCase$1; $chCl.$this$040 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; $chCl.$mayContainSupplCodepoints = 1; return $chCl; }, jur_AbstractCharClass$LazyJavaWhitespace = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaWhitespace__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaWhitespace__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaWhitespace(); jur_AbstractCharClass$LazyJavaWhitespace__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaWhitespace_computeValue = $this => { let var$1, var$2; var$1 = new jur_AbstractCharClass$LazyJavaWhitespace$1; var$1.$this$050 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; return var$1; }, jur_AbstractCharClass$LazyJavaMirrored = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaMirrored__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaMirrored__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaMirrored(); jur_AbstractCharClass$LazyJavaMirrored__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaMirrored_computeValue = $this => { let var$1, var$2; var$1 = new jur_AbstractCharClass$LazyJavaMirrored$1; var$1.$this$030 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; return var$1; }, jur_AbstractCharClass$LazyJavaDefined = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaDefined__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaDefined__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaDefined(); jur_AbstractCharClass$LazyJavaDefined__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaDefined_computeValue = $this => { let $chCl, var$2; $chCl = new jur_AbstractCharClass$LazyJavaDefined$1; $chCl.$this$035 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; ju_BitSet_set(var$2, 0, 2048); $chCl.$mayContainSupplCodepoints = 1; return $chCl; }, jur_AbstractCharClass$LazyJavaDigit = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaDigit__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaDigit__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaDigit(); jur_AbstractCharClass$LazyJavaDigit__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaDigit_computeValue = $this => { let $chCl, var$2; $chCl = new jur_AbstractCharClass$LazyJavaDigit$1; $chCl.$this$041 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; $chCl.$mayContainSupplCodepoints = 1; return $chCl; }, jur_AbstractCharClass$LazyJavaIdentifierIgnorable = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaIdentifierIgnorable__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaIdentifierIgnorable__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaIdentifierIgnorable(); jur_AbstractCharClass$LazyJavaIdentifierIgnorable__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaIdentifierIgnorable_computeValue = $this => { let $chCl, var$2; $chCl = new jur_AbstractCharClass$LazyJavaIdentifierIgnorable$1; $chCl.$this$046 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; $chCl.$mayContainSupplCodepoints = 1; return $chCl; }, jur_AbstractCharClass$LazyJavaISOControl = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaISOControl__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaISOControl__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaISOControl(); jur_AbstractCharClass$LazyJavaISOControl__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaISOControl_computeValue = $this => { let var$1, var$2; var$1 = new jur_AbstractCharClass$LazyJavaISOControl$1; var$1.$this$032 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; return var$1; }, jur_AbstractCharClass$LazyJavaJavaIdentifierPart = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaJavaIdentifierPart__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaJavaIdentifierPart__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaJavaIdentifierPart(); jur_AbstractCharClass$LazyJavaJavaIdentifierPart__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaJavaIdentifierPart_computeValue = $this => { let $chCl, var$2; $chCl = new jur_AbstractCharClass$LazyJavaJavaIdentifierPart$1; $chCl.$this$026 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; $chCl.$mayContainSupplCodepoints = 1; return $chCl; }, jur_AbstractCharClass$LazyJavaJavaIdentifierStart = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaJavaIdentifierStart__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaJavaIdentifierStart__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaJavaIdentifierStart(); jur_AbstractCharClass$LazyJavaJavaIdentifierStart__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaJavaIdentifierStart_computeValue = $this => { let $chCl, var$2; $chCl = new jur_AbstractCharClass$LazyJavaJavaIdentifierStart$1; $chCl.$this$045 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; $chCl.$mayContainSupplCodepoints = 1; return $chCl; }; let jur_AbstractCharClass$LazyJavaLetter = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaLetter__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaLetter__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaLetter(); jur_AbstractCharClass$LazyJavaLetter__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaLetter_computeValue = $this => { let $chCl, var$2; $chCl = new jur_AbstractCharClass$LazyJavaLetter$1; $chCl.$this$034 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; $chCl.$mayContainSupplCodepoints = 1; return $chCl; }, jur_AbstractCharClass$LazyJavaLetterOrDigit = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaLetterOrDigit__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaLetterOrDigit__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaLetterOrDigit(); jur_AbstractCharClass$LazyJavaLetterOrDigit__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaLetterOrDigit_computeValue = $this => { let $chCl, var$2; $chCl = new jur_AbstractCharClass$LazyJavaLetterOrDigit$1; $chCl.$this$054 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; $chCl.$mayContainSupplCodepoints = 1; return $chCl; }, jur_AbstractCharClass$LazyJavaSpaceChar = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaSpaceChar__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaSpaceChar__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaSpaceChar(); jur_AbstractCharClass$LazyJavaSpaceChar__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaSpaceChar_computeValue = $this => { let var$1, var$2; var$1 = new jur_AbstractCharClass$LazyJavaSpaceChar$1; var$1.$this$031 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; return var$1; }, jur_AbstractCharClass$LazyJavaTitleCase = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaTitleCase__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaTitleCase__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaTitleCase(); jur_AbstractCharClass$LazyJavaTitleCase__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaTitleCase_computeValue = $this => { let var$1, var$2; var$1 = new jur_AbstractCharClass$LazyJavaTitleCase$1; var$1.$this$052 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; return var$1; }, jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart(); jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart_computeValue = $this => { let $chCl, var$2; $chCl = new jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart$1; $chCl.$this$027 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; $chCl.$mayContainSupplCodepoints = 1; return $chCl; }, jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart__init_ = $this => { return; }, jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart(); jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart_computeValue = $this => { let $chCl, var$2; $chCl = new jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart$1; $chCl.$this$057 = $this; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; $chCl.$mayContainSupplCodepoints = 1; return $chCl; }, jur_AbstractCharClass$LazyWord = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazyWord__init_ = $this => { return; }, jur_AbstractCharClass$LazyWord__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyWord(); jur_AbstractCharClass$LazyWord__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyWord_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add0(jur_CharClass_add(jur_CharClass_add(jur_CharClass_add(var$1, 97, 122), 65, 90), 48, 57), 95); }, jur_AbstractCharClass$LazyNonWord = $rt_classWithoutFields(jur_AbstractCharClass$LazyWord), jur_AbstractCharClass$LazyNonWord__init_ = $this => { return; }, jur_AbstractCharClass$LazyNonWord__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyNonWord(); jur_AbstractCharClass$LazyNonWord__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyNonWord_computeValue = $this => { let $chCl, var$2; $chCl = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); $chCl.$bits = var$2; $chCl = jur_AbstractCharClass_setNegative(jur_CharClass_add0(jur_CharClass_add(jur_CharClass_add(jur_CharClass_add($chCl, 97, 122), 65, 90), 48, 57), 95), 1); $chCl.$mayContainSupplCodepoints = 1; return $chCl; }, jur_AbstractCharClass$LazyNonSpace = $rt_classWithoutFields(jur_AbstractCharClass$LazySpace), jur_AbstractCharClass$LazyNonSpace__init_ = $this => { return; }, jur_AbstractCharClass$LazyNonSpace__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyNonSpace(); jur_AbstractCharClass$LazyNonSpace__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyNonSpace_computeValue = $this => { let $chCl, var$2; $chCl = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); $chCl.$bits = var$2; $chCl = jur_AbstractCharClass_setNegative(jur_CharClass_add0(jur_CharClass_add($chCl, 9, 13), 32), 1); $chCl.$mayContainSupplCodepoints = 1; return $chCl; }, jur_AbstractCharClass$LazyNonDigit = $rt_classWithoutFields(jur_AbstractCharClass$LazyDigit), jur_AbstractCharClass$LazyNonDigit__init_ = $this => { return; }, jur_AbstractCharClass$LazyNonDigit__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazyNonDigit(); jur_AbstractCharClass$LazyNonDigit__init_(var_0); return var_0; }, jur_AbstractCharClass$LazyNonDigit_computeValue = $this => { let $chCl, var$2; $chCl = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); $chCl.$bits = var$2; $chCl = jur_AbstractCharClass_setNegative(jur_CharClass_add($chCl, 48, 57), 1); $chCl.$mayContainSupplCodepoints = 1; return $chCl; }; function jur_AbstractCharClass$LazyRange() { let a = this; jur_AbstractCharClass$LazyCharClass.call(a); a.$start0 = 0; a.$end = 0; } let jur_AbstractCharClass$LazyRange__init_0 = ($this, $start, $end) => { $this.$start0 = $start; $this.$end = $end; }, jur_AbstractCharClass$LazyRange__init_ = (var_0, var_1) => { let var_2 = new jur_AbstractCharClass$LazyRange(); jur_AbstractCharClass$LazyRange__init_0(var_2, var_0, var_1); return var_2; }, jur_AbstractCharClass$LazyRange_computeValue = $this => { let $chCl, var$2; $chCl = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); $chCl.$bits = var$2; return jur_CharClass_add($chCl, $this.$start0, $this.$end); }, jur_AbstractCharClass$LazySpecialsBlock = $rt_classWithoutFields(jur_AbstractCharClass$LazyCharClass), jur_AbstractCharClass$LazySpecialsBlock__init_ = $this => { return; }, jur_AbstractCharClass$LazySpecialsBlock__init_0 = () => { let var_0 = new jur_AbstractCharClass$LazySpecialsBlock(); jur_AbstractCharClass$LazySpecialsBlock__init_(var_0); return var_0; }, jur_AbstractCharClass$LazySpecialsBlock_computeValue = $this => { let var$1, var$2; var$1 = new jur_CharClass; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(64); var$1.$lowHighSurrogates = var$2; var$2 = new ju_BitSet; var$2.$data3 = $rt_createIntArray(2); var$1.$bits = var$2; return jur_CharClass_add(jur_CharClass_add(var$1, 65279, 65279), 65520, 65533); }; function jur_AbstractCharClass$LazyCategory() { let a = this; jur_AbstractCharClass$LazyCharClass.call(a); a.$category1 = 0; a.$mayContainSupplCodepoints1 = 0; a.$containsAllSurrogates = 0; } let jur_AbstractCharClass$LazyCategory__init_2 = ($this, $cat, $mayContainSupplCodepoints) => { $this.$mayContainSupplCodepoints1 = $mayContainSupplCodepoints; $this.$category1 = $cat; }, jur_AbstractCharClass$LazyCategory__init_ = (var_0, var_1) => { let var_2 = new jur_AbstractCharClass$LazyCategory(); jur_AbstractCharClass$LazyCategory__init_2(var_2, var_0, var_1); return var_2; }, jur_AbstractCharClass$LazyCategory__init_1 = ($this, $cat, $mayContainSupplCodepoints, $containsAllSurrogates) => { $this.$containsAllSurrogates = $containsAllSurrogates; $this.$mayContainSupplCodepoints1 = $mayContainSupplCodepoints; $this.$category1 = $cat; }, jur_AbstractCharClass$LazyCategory__init_0 = (var_0, var_1, var_2) => { let var_3 = new jur_AbstractCharClass$LazyCategory(); jur_AbstractCharClass$LazyCategory__init_1(var_3, var_0, var_1, var_2); return var_3; }, jur_AbstractCharClass$LazyCategory_computeValue = $this => { let $chCl, var$2, var$3; $chCl = new jur_UnicodeCategory; var$2 = $this.$category1; var$3 = new ju_BitSet; var$3.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$3; $chCl.$category = var$2; if ($this.$containsAllSurrogates) ju_BitSet_set(var$3, 0, 2048); $chCl.$mayContainSupplCodepoints = $this.$mayContainSupplCodepoints1; return $chCl; }; function jur_AbstractCharClass$LazyCategoryScope() { let a = this; jur_AbstractCharClass$LazyCharClass.call(a); a.$category0 = 0; a.$mayContainSupplCodepoints0 = 0; a.$containsAllSurrogates0 = 0; } let jur_AbstractCharClass$LazyCategoryScope__init_0 = ($this, $cat, $mayContainSupplCodepoints) => { $this.$mayContainSupplCodepoints0 = $mayContainSupplCodepoints; $this.$category0 = $cat; }, jur_AbstractCharClass$LazyCategoryScope__init_ = (var_0, var_1) => { let var_2 = new jur_AbstractCharClass$LazyCategoryScope(); jur_AbstractCharClass$LazyCategoryScope__init_0(var_2, var_0, var_1); return var_2; }, jur_AbstractCharClass$LazyCategoryScope__init_1 = ($this, $cat, $mayContainSupplCodepoints, $containsAllSurrogates) => { $this.$containsAllSurrogates0 = $containsAllSurrogates; $this.$mayContainSupplCodepoints0 = $mayContainSupplCodepoints; $this.$category0 = $cat; }, jur_AbstractCharClass$LazyCategoryScope__init_2 = (var_0, var_1, var_2) => { let var_3 = new jur_AbstractCharClass$LazyCategoryScope(); jur_AbstractCharClass$LazyCategoryScope__init_1(var_3, var_0, var_1, var_2); return var_3; }, jur_AbstractCharClass$LazyCategoryScope_computeValue = $this => { let $chCl, var$2, var$3; $chCl = new jur_UnicodeCategoryScope; var$2 = $this.$category0; var$3 = new ju_BitSet; var$3.$data3 = $rt_createIntArray(64); $chCl.$lowHighSurrogates = var$3; $chCl.$category = var$2; if ($this.$containsAllSurrogates0) ju_BitSet_set(var$3, 0, 2048); $chCl.$mayContainSupplCodepoints = $this.$mayContainSupplCodepoints0; return $chCl; }, jl_NegativeArraySizeException = $rt_classWithoutFields(jl_RuntimeException), jl_NegativeArraySizeException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_NegativeArraySizeException__init_0 = () => { let var_0 = new jl_NegativeArraySizeException(); jl_NegativeArraySizeException__init_(var_0); return var_0; }, jur_IntHash = $rt_classWithoutFields(); function cjj_InfTree() { let a = this; jl_Object.call(a); a.$hn = null; a.$v0 = null; a.$c = null; a.$r0 = null; a.$u = null; a.$x2 = null; } let cjj_InfTree_fixed_tl = null, cjj_InfTree_fixed_td = null, cjj_InfTree_cplens = null, cjj_InfTree_cplext = null, cjj_InfTree_cpdist = null, cjj_InfTree_cpdext = null, cjj_InfTree__init_ = $this => { $this.$hn = null; $this.$v0 = null; $this.$c = null; $this.$r0 = null; $this.$u = null; $this.$x2 = null; }, cjj_InfTree__init_0 = () => { let var_0 = new cjj_InfTree(); cjj_InfTree__init_(var_0); return var_0; }, cjj_InfTree_huft_build = ($this, $b, $bindex, $n, $s, $d, $e, $t, $m, $hp, $hn, $v) => { let $p, $i, var$14, var$15, $a, $l, $j, $y, $xp, $mask, $w, $f, var$24, var$25, $h, $q, $z, $a_0; $p = 0; $i = $n; while (true) { var$14 = $b.data; var$15 = $this.$c.data; $a = var$14[$bindex + $p | 0]; var$15[$a] = var$15[$a] + 1 | 0; $p = $p + 1 | 0; $i = $i + (-1) | 0; if (!$i) break; } if (var$15[0] == $n) { $b = $t.data; $d = $m.data; $b[0] = (-1); $d[0] = 0; return 0; } $b = $m.data; $l = $b[0]; $j = 1; a: { while (true) { if ($j > 15) break a; if (var$15[$j]) break; $j = $j + 1 | 0; } } if ($l < $j) $l = $j; $p = 15; b: { while (true) { if (!$p) break b; if (var$15[$p]) break; $p = $p + (-1) | 0; } } if ($l > $p) $l = $p; $b[0] = $l; $y = 1 << $j; $xp = $j; while (true) { if ($xp >= $p) { $i = $y - var$15[$p] | 0; if ($i < 0) return (-3); var$15[$p] = var$15[$p] + $i | 0; $b = $this.$x2.data; $mask = 0; $b[1] = $mask; $w = 1; $xp = 2; $f = $p; while (true) { $f = $f + (-1) | 0; if (!$f) break; $mask = $mask + var$15[$w] | 0; $b[$xp] = $mask; $xp = $xp + 1 | 0; $w = $w + 1 | 0; } $a = 0; $xp = 0; while (true) { $f = var$14[$bindex + $xp | 0]; if ($f) { $m = $v.data; $w = $b[$f]; $b[$f] = $w + 1 | 0; $m[$w] = $a; } $xp = $xp + 1 | 0; $a = $a + 1 | 0; if ($a >= $n) break; } $xp = $b[$p]; var$24 = 0; $b[0] = var$24; var$25 = 0; $h = (-1); $w = -$l | 0; $this.$u.data[0] = 0; $q = 0; $z = 0; c: while (true) { if ($j > $p) return $i && $p != 1 ? (-5) : 0; $a = $this.$c.data[$j]; while (true) { $a_0 = $a + (-1) | 0; if (!$a) break; $y = $a_0 + 1 | 0; while (true) { $f = $w + $l | 0; if ($j <= $f) break; $h = $h + 1 | 0; $mask = $p - $f | 0; if ($mask > $l) $mask = $l; d: { $w = $j - $f | 0; $bindex = 1 << $w; if ($bindex > $y) { $bindex = $bindex - $y | 0; if ($w < $mask) { $n = $j; while (true) { $w = $w + 1 | 0; if ($w >= $mask) break; $bindex = $bindex << 1; $b = $this.$c.data; $n = $n + 1 | 0; if ($bindex <= $b[$n]) break d; $bindex = $bindex - $b[$n] | 0; } } } } $m = $hn.data; $z = 1 << $w; if (($m[0] + $z | 0) > 1440) break c; $b = $this.$u.data; $q = $m[0]; $b[$h] = $q; $m[0] = $m[0] + $z | 0; if (!$h) { $t.data[0] = $q; $w = $f; continue; } $this.$x2.data[$h] = var$24; $m = $this.$r0; var$15 = $m.data; var$15[0] = $w << 24 >> 24; var$15[1] = $l << 24 >> 24; $mask = var$24 >>> ($f - $l | 0) | 0; $n = $h - 1 | 0; var$15[2] = ($q - $b[$n] | 0) - $mask | 0; jl_System_fastArraycopy($m, 0, $hp, ($b[$n] + $mask | 0) * 3 | 0, 3); $w = $f; } var$15 = $this.$r0.data; $f = $j - $w | 0; var$15[1] = $f << 24 >> 24; if (var$25 >= $xp) var$15[0] = 192; else { var$14 = $v.data; if (var$14[var$25] >= $s) { $b = $e.data; $m = $d.data; var$15[0] = (($b[var$14[var$25] - $s | 0] + 16 | 0) + 64 | 0) << 24 >> 24; $n = var$25 + 1 | 0; var$15[2] = $m[var$14[var$25] - $s | 0]; var$25 = $n; } else { var$15[0] = (var$14[var$25] >= 256 ? 96 : 0) << 24 >> 24; $n = var$25 + 1 | 0; var$15[2] = var$14[var$25]; var$25 = $n; } } $f = 1 << $f; $bindex = var$24 >>> $w | 0; while ($bindex < $z) { jl_System_fastArraycopy($this.$r0, 0, $hp, ($q + $bindex | 0) * 3 | 0, 3); $bindex = $bindex + $f | 0; } $bindex = 1 << ($j - 1 | 0); while (var$24 & $bindex) { var$24 = var$24 ^ $bindex; $bindex = $bindex >>> 1 | 0; } var$24 = var$24 ^ $bindex; $mask = (1 << $w) - 1 | 0; while ((var$24 & $mask) != $this.$x2.data[$h]) { $h = $h + (-1) | 0; $w = $w - $l | 0; $mask = (1 << $w) - 1 | 0; } $a = $a_0; } $j = $j + 1 | 0; } return (-3); } $a = $y - var$15[$xp] | 0; if ($a < 0) break; $xp = $xp + 1 | 0; $y = $a << 1; } return (-3); }, cjj_InfTree_inflate_trees_bits = ($this, $c, $bb, $tb, $hp, $z) => { let var$6, $result; cjj_InfTree_initWorkArea($this, 19); var$6 = $this.$hn; var$6.data[0] = 0; $result = cjj_InfTree_huft_build($this, $c, 0, 19, 19, null, null, $tb, $bb, $hp, var$6, $this.$v0); if ($result == (-3)) $z.$msg = $rt_s(996); else if (!($result != (-5) && $bb.data[0])) { $z.$msg = $rt_s(997); $result = (-3); } return $result; }, cjj_InfTree_inflate_trees_dynamic = ($this, $nl, $nd, $c, $bl, $bd, $tl, $td, $hp, $z) => { let var$10, $result; cjj_InfTree_initWorkArea($this, 288); var$10 = $this.$hn; var$10.data[0] = 0; $result = cjj_InfTree_huft_build($this, $c, 0, $nl, 257, cjj_InfTree_cplens, cjj_InfTree_cplext, $tl, $bl, $hp, var$10, $this.$v0); if (!$result && $bl.data[0]) { cjj_InfTree_initWorkArea($this, 288); $nd = cjj_InfTree_huft_build($this, $c, $nl, $nd, 0, cjj_InfTree_cpdist, cjj_InfTree_cpdext, $td, $bd, $hp, $this.$hn, $this.$v0); if (!$nd && !(!$bd.data[0] && $nl > 257)) return 0; if ($nd == (-3)) $z.$msg = $rt_s(998); else if ($nd == (-5)) { $z.$msg = $rt_s(999); $nd = (-3); } else if ($nd != (-4)) { $z.$msg = $rt_s(1000); $nd = (-3); } return $nd; } if ($result == (-3)) $z.$msg = $rt_s(1001); else if ($result != (-4)) { $z.$msg = $rt_s(1002); $result = (-3); } return $result; }, cjj_InfTree_initWorkArea = ($this, $vsize) => { let $i; if ($this.$hn === null) { $this.$hn = $rt_createIntArray(1); $this.$v0 = $rt_createIntArray($vsize); $this.$c = $rt_createIntArray(16); $this.$r0 = $rt_createIntArray(3); $this.$u = $rt_createIntArray(15); $this.$x2 = $rt_createIntArray(16); } if ($this.$v0.data.length < $vsize) $this.$v0 = $rt_createIntArray($vsize); $i = 0; while ($i < $vsize) { $this.$v0.data[$i] = 0; $i = $i + 1 | 0; } $i = 0; while ($i < 16) { $this.$c.data[$i] = 0; $i = $i + 1 | 0; } $i = 0; while ($i < 3) { $this.$r0.data[$i] = 0; $i = $i + 1 | 0; } jl_System_fastArraycopy($this.$c, 0, $this.$u, 0, 15); jl_System_fastArraycopy($this.$c, 0, $this.$x2, 0, 16); }, cjj_InfTree__clinit_ = () => { cjj_InfTree_fixed_tl = $rt_createIntArrayFromData([96, 7, 256, 0, 8, 80, 0, 8, 16, 84, 8, 115, 82, 7, 31, 0, 8, 112, 0, 8, 48, 0, 9, 192, 80, 7, 10, 0, 8, 96, 0, 8, 32, 0, 9, 160, 0, 8, 0, 0, 8, 128, 0, 8, 64, 0, 9, 224, 80, 7, 6, 0, 8, 88, 0, 8, 24, 0, 9, 144, 83, 7, 59, 0, 8, 120, 0, 8, 56, 0, 9, 208, 81, 7, 17, 0, 8, 104, 0, 8, 40, 0, 9, 176, 0, 8, 8, 0, 8, 136, 0, 8, 72, 0, 9, 240, 80, 7, 4, 0, 8, 84, 0, 8, 20, 85, 8, 227, 83, 7, 43, 0, 8, 116, 0, 8, 52, 0, 9, 200, 81, 7, 13, 0, 8, 100, 0, 8, 36, 0, 9, 168, 0, 8, 4, 0, 8, 132, 0, 8, 68, 0, 9, 232, 80, 7, 8, 0, 8, 92, 0, 8, 28, 0, 9, 152, 84, 7, 83, 0, 8, 124, 0, 8, 60, 0, 9, 216, 82, 7, 23, 0, 8, 108, 0, 8, 44, 0, 9, 184, 0, 8, 12, 0, 8, 140, 0, 8, 76, 0, 9, 248, 80, 7, 3, 0, 8, 82, 0, 8, 18, 85, 8, 163, 83, 7, 35, 0, 8, 114, 0, 8, 50, 0, 9, 196, 81, 7, 11, 0, 8, 98, 0, 8, 34, 0, 9, 164, 0, 8, 2, 0, 8, 130, 0, 8, 66, 0, 9, 228, 80, 7, 7, 0, 8, 90, 0, 8, 26, 0, 9, 148, 84, 7, 67, 0, 8, 122, 0, 8, 58, 0, 9, 212, 82, 7, 19, 0, 8, 106, 0, 8, 42, 0, 9, 180, 0, 8, 10, 0, 8, 138, 0, 8, 74, 0, 9, 244, 80, 7, 5, 0, 8, 86, 0, 8, 22, 192, 8, 0, 83, 7, 51, 0, 8, 118, 0, 8, 54, 0, 9, 204, 81, 7, 15, 0, 8, 102, 0, 8, 38, 0, 9, 172, 0, 8, 6, 0, 8, 134, 0, 8, 70, 0, 9, 236, 80, 7, 9, 0, 8, 94, 0, 8, 30, 0, 9, 156, 84, 7, 99, 0, 8, 126, 0, 8, 62, 0, 9, 220, 82, 7, 27, 0, 8, 110, 0, 8, 46, 0, 9, 188, 0, 8, 14, 0, 8, 142, 0, 8, 78, 0, 9, 252, 96, 7, 256, 0, 8, 81, 0, 8, 17, 85, 8, 131, 82, 7, 31, 0, 8, 113, 0, 8, 49, 0, 9, 194, 80, 7, 10, 0, 8, 97, 0, 8, 33, 0, 9, 162, 0, 8, 1, 0, 8, 129, 0, 8, 65, 0, 9, 226, 80, 7, 6, 0, 8, 89, 0, 8, 25, 0, 9, 146, 83, 7, 59, 0, 8, 121, 0, 8, 57, 0, 9, 210, 81, 7, 17, 0, 8, 105, 0, 8, 41, 0, 9, 178, 0, 8, 9, 0, 8, 137, 0, 8, 73, 0, 9, 242, 80, 7, 4, 0, 8, 85, 0, 8, 21, 80, 8, 258, 83, 7, 43, 0, 8, 117, 0, 8, 53, 0, 9, 202, 81, 7, 13, 0, 8, 101, 0, 8, 37, 0, 9, 170, 0, 8, 5, 0, 8, 133, 0, 8, 69, 0, 9, 234, 80, 7, 8, 0, 8, 93, 0, 8, 29, 0, 9, 154, 84, 7, 83, 0, 8, 125, 0, 8, 61, 0, 9, 218, 82, 7, 23, 0, 8, 109, 0, 8, 45, 0, 9, 186, 0, 8, 13, 0, 8, 141, 0, 8, 77, 0, 9, 250, 80, 7, 3, 0, 8, 83, 0, 8, 19, 85, 8, 195, 83, 7, 35, 0, 8, 115, 0, 8, 51, 0, 9, 198, 81, 7, 11, 0, 8, 99, 0, 8, 35, 0, 9, 166, 0, 8, 3, 0, 8, 131, 0, 8, 67, 0, 9, 230, 80, 7, 7, 0, 8, 91, 0, 8, 27, 0, 9, 150, 84, 7, 67, 0, 8, 123, 0, 8, 59, 0, 9, 214, 82, 7, 19, 0, 8, 107, 0, 8, 43, 0, 9, 182, 0, 8, 11, 0, 8, 139, 0, 8, 75, 0, 9, 246, 80, 7, 5, 0, 8, 87, 0, 8, 23, 192, 8, 0, 83, 7, 51, 0, 8, 119, 0, 8, 55, 0, 9, 206, 81, 7, 15, 0, 8, 103, 0, 8, 39, 0, 9, 174, 0, 8, 7, 0, 8, 135, 0, 8, 71, 0, 9, 238, 80, 7, 9, 0, 8, 95, 0, 8, 31, 0, 9, 158, 84, 7, 99, 0, 8, 127, 0, 8, 63, 0, 9, 222, 82, 7, 27, 0, 8, 111, 0, 8, 47, 0, 9, 190, 0, 8, 15, 0, 8, 143, 0, 8, 79, 0, 9, 254, 96, 7, 256, 0, 8, 80, 0, 8, 16, 84, 8, 115, 82, 7, 31, 0, 8, 112, 0, 8, 48, 0, 9, 193, 80, 7, 10, 0, 8, 96, 0, 8, 32, 0, 9, 161, 0, 8, 0, 0, 8, 128, 0, 8, 64, 0, 9, 225, 80, 7, 6, 0, 8, 88, 0, 8, 24, 0, 9, 145, 83, 7, 59, 0, 8, 120, 0, 8, 56, 0, 9, 209, 81, 7, 17, 0, 8, 104, 0, 8, 40, 0, 9, 177, 0, 8, 8, 0, 8, 136, 0, 8, 72, 0, 9, 241, 80, 7, 4, 0, 8, 84, 0, 8, 20, 85, 8, 227, 83, 7, 43, 0, 8, 116, 0, 8, 52, 0, 9, 201, 81, 7, 13, 0, 8, 100, 0, 8, 36, 0, 9, 169, 0, 8, 4, 0, 8, 132, 0, 8, 68, 0, 9, 233, 80, 7, 8, 0, 8, 92, 0, 8, 28, 0, 9, 153, 84, 7, 83, 0, 8, 124, 0, 8, 60, 0, 9, 217, 82, 7, 23, 0, 8, 108, 0, 8, 44, 0, 9, 185, 0, 8, 12, 0, 8, 140, 0, 8, 76, 0, 9, 249, 80, 7, 3, 0, 8, 82, 0, 8, 18, 85, 8, 163, 83, 7, 35, 0, 8, 114, 0, 8, 50, 0, 9, 197, 81, 7, 11, 0, 8, 98, 0, 8, 34, 0, 9, 165, 0, 8, 2, 0, 8, 130, 0, 8, 66, 0, 9, 229, 80, 7, 7, 0, 8, 90, 0, 8, 26, 0, 9, 149, 84, 7, 67, 0, 8, 122, 0, 8, 58, 0, 9, 213, 82, 7, 19, 0, 8, 106, 0, 8, 42, 0, 9, 181, 0, 8, 10, 0, 8, 138, 0, 8, 74, 0, 9, 245, 80, 7, 5, 0, 8, 86, 0, 8, 22, 192, 8, 0, 83, 7, 51, 0, 8, 118, 0, 8, 54, 0, 9, 205, 81, 7, 15, 0, 8, 102, 0, 8, 38, 0, 9, 173, 0, 8, 6, 0, 8, 134, 0, 8, 70, 0, 9, 237, 80, 7, 9, 0, 8, 94, 0, 8, 30, 0, 9, 157, 84, 7, 99, 0, 8, 126, 0, 8, 62, 0, 9, 221, 82, 7, 27, 0, 8, 110, 0, 8, 46, 0, 9, 189, 0, 8, 14, 0, 8, 142, 0, 8, 78, 0, 9, 253, 96, 7, 256, 0, 8, 81, 0, 8, 17, 85, 8, 131, 82, 7, 31, 0, 8, 113, 0, 8, 49, 0, 9, 195, 80, 7, 10, 0, 8, 97, 0, 8, 33, 0, 9, 163, 0, 8, 1, 0, 8, 129, 0, 8, 65, 0, 9, 227, 80, 7, 6, 0, 8, 89, 0, 8, 25, 0, 9, 147, 83, 7, 59, 0, 8, 121, 0, 8, 57, 0, 9, 211, 81, 7, 17, 0, 8, 105, 0, 8, 41, 0, 9, 179, 0, 8, 9, 0, 8, 137, 0, 8, 73, 0, 9, 243, 80, 7, 4, 0, 8, 85, 0, 8, 21, 80, 8, 258, 83, 7, 43, 0, 8, 117, 0, 8, 53, 0, 9, 203, 81, 7, 13, 0, 8, 101, 0, 8, 37, 0, 9, 171, 0, 8, 5, 0, 8, 133, 0, 8, 69, 0, 9, 235, 80, 7, 8, 0, 8, 93, 0, 8, 29, 0, 9, 155, 84, 7, 83, 0, 8, 125, 0, 8, 61, 0, 9, 219, 82, 7, 23, 0, 8, 109, 0, 8, 45, 0, 9, 187, 0, 8, 13, 0, 8, 141, 0, 8, 77, 0, 9, 251, 80, 7, 3, 0, 8, 83, 0, 8, 19, 85, 8, 195, 83, 7, 35, 0, 8, 115, 0, 8, 51, 0, 9, 199, 81, 7, 11, 0, 8, 99, 0, 8, 35, 0, 9, 167, 0, 8, 3, 0, 8, 131, 0, 8, 67, 0, 9, 231, 80, 7, 7, 0, 8, 91, 0, 8, 27, 0, 9, 151, 84, 7, 67, 0, 8, 123, 0, 8, 59, 0, 9, 215, 82, 7, 19, 0, 8, 107, 0, 8, 43, 0, 9, 183, 0, 8, 11, 0, 8, 139, 0, 8, 75, 0, 9, 247, 80, 7, 5, 0, 8, 87, 0, 8, 23, 192, 8, 0, 83, 7, 51, 0, 8, 119, 0, 8, 55, 0, 9, 207, 81, 7, 15, 0, 8, 103, 0, 8, 39, 0, 9, 175, 0, 8, 7, 0, 8, 135, 0, 8, 71, 0, 9, 239, 80, 7, 9, 0, 8, 95, 0, 8, 31, 0, 9, 159, 84, 7, 99, 0, 8, 127, 0, 8, 63, 0, 9, 223, 82, 7, 27, 0, 8, 111, 0, 8, 47, 0, 9, 191, 0, 8, 15, 0, 8, 143, 0, 8, 79, 0, 9, 255]); cjj_InfTree_fixed_td = $rt_createIntArrayFromData([80, 5, 1, 87, 5, 257, 83, 5, 17, 91, 5, 4097, 81, 5, 5, 89, 5, 1025, 85, 5, 65, 93, 5, 16385, 80, 5, 3, 88, 5, 513, 84, 5, 33, 92, 5, 8193, 82, 5, 9, 90, 5, 2049, 86, 5, 129, 192, 5, 24577, 80, 5, 2, 87, 5, 385, 83, 5, 25, 91, 5, 6145, 81, 5, 7, 89, 5, 1537, 85, 5, 97, 93, 5, 24577, 80, 5, 4, 88, 5, 769, 84, 5, 49, 92, 5, 12289, 82, 5, 13, 90, 5, 3073, 86, 5, 193, 192, 5, 24577]); cjj_InfTree_cplens = $rt_createIntArrayFromData([3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0]); cjj_InfTree_cplext = $rt_createIntArrayFromData([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0, 112, 112]); cjj_InfTree_cpdist = $rt_createIntArrayFromData([1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577]); cjj_InfTree_cpdext = $rt_createIntArrayFromData([0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13]); }; function cjj_InfCodes() { let a = this; jl_Object.call(a); a.$mode2 = 0; a.$len0 = 0; a.$tree = null; a.$tree_index = 0; a.$need0 = 0; a.$lit = 0; a.$get12 = 0; a.$dist = 0; a.$lbits = 0; a.$dbits = 0; a.$ltree = null; a.$ltree_index = 0; a.$dtree = null; a.$dtree_index = 0; a.$z4 = null; a.$s = null; } let cjj_InfCodes_inflate_mask = null, cjj_InfCodes_proc = ($this, $r) => { let var$2, var$3, $n, var$5, var$6, $q, $f, $m, var$10, var$11, $j, $tindex, $e; var$2 = $this.$z4; var$3 = var$2.$next_in_index; $n = var$2.$avail_in; var$2 = $this.$s; var$5 = var$2.$bitb; var$6 = var$2.$bitk; $q = var$2.$write7; $f = var$2.$read6; $m = $q >= $f ? var$2.$end0 - $q | 0 : ($f - $q | 0) - 1 | 0; a: { b: while (true) { c: { d: { e: { f: { g: { switch ($this.$mode2) { case 0: break f; case 2: $f = $this.$get12; while (var$6 < $f) { if (!$n) { var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z4; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write7 = $q; return cjj_InfBlocks_inflate_flush(var$2, $r); } $r = 0; $n = $n + (-1) | 0; var$11 = $this.$z4.$next_in.data; $j = var$3 + 1 | 0; var$5 = var$5 | (var$11[var$3] & 255) << var$6; var$6 = var$6 + 8 | 0; var$3 = $j; } $this.$len0 = $this.$len0 + (var$5 & cjj_InfCodes_inflate_mask.data[$f]) | 0; var$5 = var$5 >> $f; var$6 = var$6 - $f | 0; $this.$need0 = $this.$dbits; $this.$tree = $this.$dtree; $this.$tree_index = $this.$dtree_index; $this.$mode2 = 3; break g; case 4: $j = $this.$get12; while (var$6 < $j) { if (!$n) { var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z4; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write7 = $q; return cjj_InfBlocks_inflate_flush(var$2, $r); } $r = 0; $n = $n + (-1) | 0; var$11 = $this.$z4.$next_in.data; $f = var$3 + 1 | 0; var$5 = var$5 | (var$11[var$3] & 255) << var$6; var$6 = var$6 + 8 | 0; var$3 = $f; } $this.$dist = $this.$dist + (var$5 & cjj_InfCodes_inflate_mask.data[$j]) | 0; var$5 = var$5 >> $j; var$6 = var$6 - $j | 0; $this.$mode2 = 5; break c; case 6: break d; case 7: if (var$6 > 7) { var$6 = var$6 + (-8) | 0; $n = $n + 1 | 0; var$3 = var$3 + (-1) | 0; } var$2 = $this.$s; var$2.$write7 = $q; $r = cjj_InfBlocks_inflate_flush(var$2, $r); var$2 = $this.$s; $q = var$2.$write7; $f = var$2.$read6; if ($f != $q) { var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z4; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write7 = $q; return cjj_InfBlocks_inflate_flush(var$2, $r); } $this.$mode2 = 8; break a; case 9: var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z4; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write7 = $q; return cjj_InfBlocks_inflate_flush(var$2, (-3)); case 1: break e; case 3: break; case 5: break c; case 8: break a; default: var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z4; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write7 = $q; return cjj_InfBlocks_inflate_flush(var$2, (-2)); } } $f = $this.$need0; while (var$6 < $f) { if (!$n) { var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z4; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write7 = $q; return cjj_InfBlocks_inflate_flush(var$2, $r); } $r = 0; $n = $n + (-1) | 0; var$11 = $this.$z4.$next_in.data; $j = var$3 + 1 | 0; var$5 = var$5 | (var$11[var$3] & 255) << var$6; var$6 = var$6 + 8 | 0; var$3 = $j; } $f = ($this.$tree_index + (var$5 & cjj_InfCodes_inflate_mask.data[$f]) | 0) * 3 | 0; var$11 = $this.$tree.data; $j = $f + 1 | 0; var$5 = var$5 >> var$11[$j]; var$6 = var$6 - var$11[$j] | 0; $j = var$11[$f]; if ($j & 16) { $this.$get12 = $j & 15; $this.$dist = var$11[$f + 2 | 0]; $this.$mode2 = 4; continue b; } if ($j & 64) { $this.$mode2 = 9; var$2 = $this.$z4; var$2.$msg = $rt_s(1003); var$10 = $this.$s; var$10.$bitb = var$5; var$10.$bitk = var$6; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt(var$3 - var$2.$next_in_index | 0)); var$2.$next_in_index = var$3; var$10.$write7 = $q; return cjj_InfBlocks_inflate_flush(var$10, (-3)); } $this.$need0 = $j; $this.$tree_index = ($f / 3 | 0) + var$11[$f + 2 | 0] | 0; continue b; } if ($m >= 258 && $n >= 10) { var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z4; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write7 = $q; $r = cjj_InfCodes_inflate_fast($this, $this.$lbits, $this.$dbits, $this.$ltree, $this.$ltree_index, $this.$dtree, $this.$dtree_index, var$2, var$10); var$2 = $this.$z4; var$3 = var$2.$next_in_index; $n = var$2.$avail_in; var$2 = $this.$s; var$5 = var$2.$bitb; var$6 = var$2.$bitk; $q = var$2.$write7; $f = var$2.$read6; $m = $q >= $f ? var$2.$end0 - $q | 0 : ($f - $q | 0) - 1 | 0; if ($r) { $this.$mode2 = $r != 1 ? 9 : 7; continue b; } } $this.$need0 = $this.$lbits; $this.$tree = $this.$ltree; $this.$tree_index = $this.$ltree_index; $this.$mode2 = 1; } $j = $this.$need0; while (var$6 < $j) { if (!$n) { var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z4; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write7 = $q; return cjj_InfBlocks_inflate_flush(var$2, $r); } $r = 0; $n = $n + (-1) | 0; var$11 = $this.$z4.$next_in.data; $f = var$3 + 1 | 0; var$5 = var$5 | (var$11[var$3] & 255) << var$6; var$6 = var$6 + 8 | 0; var$3 = $f; } $tindex = ($this.$tree_index + (var$5 & cjj_InfCodes_inflate_mask.data[$j]) | 0) * 3 | 0; var$11 = $this.$tree.data; $f = $tindex + 1 | 0; var$5 = var$5 >>> var$11[$f] | 0; var$6 = var$6 - var$11[$f] | 0; $e = var$11[$tindex]; if (!$e) { $this.$lit = var$11[$tindex + 2 | 0]; $this.$mode2 = 6; continue b; } if ($e & 16) { $this.$get12 = $e & 15; $this.$len0 = var$11[$tindex + 2 | 0]; $this.$mode2 = 2; continue b; } if (!($e & 64)) { $this.$need0 = $e; $this.$tree_index = ($tindex / 3 | 0) + var$11[$tindex + 2 | 0] | 0; continue b; } if (!($e & 32)) { $this.$mode2 = 9; var$2 = $this.$z4; var$2.$msg = $rt_s(1004); var$10 = $this.$s; var$10.$bitb = var$5; var$10.$bitk = var$6; var$2.$avail_in = $n; var$2.$total_in = Long_add(var$2.$total_in, Long_fromInt(var$3 - var$2.$next_in_index | 0)); var$2.$next_in_index = var$3; var$10.$write7 = $q; return cjj_InfBlocks_inflate_flush(var$10, (-3)); } $this.$mode2 = 7; continue b; } if ($m) $f = $q; else { var$2 = $this.$s; $j = var$2.$end0; if ($q != $j) $f = $q; else { $tindex = var$2.$read6; if (!$tindex) $f = $q; else { $f = 0; $m = $f >= $tindex ? $j - $f | 0 : ($tindex - $f | 0) - 1 | 0; } } if (!$m) { var$2.$write7 = $f; $r = cjj_InfBlocks_inflate_flush(var$2, $r); var$2 = $this.$s; $f = var$2.$write7; $j = var$2.$read6; $m = $f >= $j ? var$2.$end0 - $f | 0 : ($j - $f | 0) - 1 | 0; $tindex = var$2.$end0; if ($f == $tindex && $j) { $f = 0; $m = $f >= $j ? $tindex - $f | 0 : ($j - $f | 0) - 1 | 0; } if (!$m) { var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z4; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write7 = $f; return cjj_InfBlocks_inflate_flush(var$2, $r); } } } $r = 0; var$11 = $this.$s.$window.data; $q = $f + 1 | 0; var$11[$f] = $this.$lit << 24 >> 24; $m = $m + (-1) | 0; $this.$mode2 = 0; continue b; } $f = $q - $this.$dist | 0; while ($f < 0) { $f = $f + $this.$s.$end0 | 0; } while ($this.$len0) { if ($m) $j = $q; else { var$2 = $this.$s; $tindex = var$2.$end0; if ($q != $tindex) $j = $q; else { $e = var$2.$read6; if (!$e) $j = $q; else { $j = 0; $m = $j >= $e ? $tindex - $j | 0 : ($e - $j | 0) - 1 | 0; } } if (!$m) { var$2.$write7 = $j; $r = cjj_InfBlocks_inflate_flush(var$2, $r); var$2 = $this.$s; $j = var$2.$write7; $tindex = var$2.$read6; $m = $j >= $tindex ? var$2.$end0 - $j | 0 : ($tindex - $j | 0) - 1 | 0; $e = var$2.$end0; if ($j == $e && $tindex) { $j = 0; $m = $j >= $tindex ? $e - $j | 0 : ($tindex - $j | 0) - 1 | 0; } if (!$m) break b; } } var$2 = $this.$s; var$11 = var$2.$window.data; $q = $j + 1 | 0; $tindex = $f + 1 | 0; var$11[$j] = var$11[$f]; $m = $m + (-1) | 0; $f = $tindex == var$2.$end0 ? 0 : $tindex; $this.$len0 = $this.$len0 - 1 | 0; } $this.$mode2 = 0; } var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z4; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write7 = $j; return cjj_InfBlocks_inflate_flush(var$2, $r); } var$2 = $this.$s; var$2.$bitb = var$5; var$2.$bitk = var$6; var$10 = $this.$z4; var$10.$avail_in = $n; var$10.$total_in = Long_add(var$10.$total_in, Long_fromInt(var$3 - var$10.$next_in_index | 0)); var$10.$next_in_index = var$3; var$2.$write7 = $q; return cjj_InfBlocks_inflate_flush(var$2, 1); }, cjj_InfCodes_inflate_fast = ($this, $bl, $bd, $tl, $tl_index, $td, $td_index, $s, $z) => { let $p, $n, $b, $k, $q, $r, $m, var$16, $ml, $md, var$19, $t, $tp_index_t_3, $d, var$23, $c; $p = $z.$next_in_index; $n = $z.$avail_in; $b = $s.$bitb; $k = $s.$bitk; $q = $s.$write7; $r = $s.$read6; $m = $q >= $r ? $s.$end0 - $q | 0 : ($r - $q | 0) - 1 | 0; var$16 = cjj_InfCodes_inflate_mask.data; $ml = var$16[$bl]; $md = var$16[$bd]; while (true) { if ($k < 20) { $n = $n + (-1) | 0; var$16 = $z.$next_in.data; $bl = $p + 1 | 0; $b = $b | (var$16[$p] & 255) << $k; $k = $k + 8 | 0; $p = $bl; continue; } a: { var$19 = $tl.data; $t = $b & $ml; $tp_index_t_3 = ($tl_index + $t | 0) * 3 | 0; $bd = var$19[$tp_index_t_3]; if (!$bd) { $bl = $tp_index_t_3 + 1 | 0; $b = $b >> var$19[$bl]; $k = $k - var$19[$bl] | 0; var$16 = $s.$window.data; $d = $q + 1 | 0; var$16[$q] = var$19[$tp_index_t_3 + 2 | 0] << 24 >> 24; $m = $m + (-1) | 0; } else { while (true) { $bl = $tp_index_t_3 + 1 | 0; $b = $b >> var$19[$bl]; $k = $k - var$19[$bl] | 0; if ($bd & 16) { $bd = $bd & 15; $bl = var$19[$tp_index_t_3 + 2 | 0]; var$23 = cjj_InfCodes_inflate_mask.data; $c = $bl + ($b & var$23[$bd]) | 0; $bl = $b >> $bd; $bd = $k - $bd | 0; while ($bd < 15) { $n = $n + (-1) | 0; var$16 = $z.$next_in.data; $r = $p + 1 | 0; $bl = $bl | (var$16[$p] & 255) << $bd; $bd = $bd + 8 | 0; $p = $r; } var$16 = $td.data; $r = $bl & $md; $d = ($td_index + $r | 0) * 3 | 0; $b = var$16[$d]; while (true) { $k = $d + 1 | 0; $bl = $bl >> var$16[$k]; $bd = $bd - var$16[$k] | 0; if ($b & 16) break; if ($b & 64) { $z.$msg = $rt_s(1003); $tl_index = $z.$avail_in - $n | 0; $td_index = $bd >> 3; if ($td_index < $tl_index) $tl_index = $td_index; $td_index = $n + $tl_index | 0; $r = $p - $tl_index | 0; $bd = $bd - ($tl_index << 3) | 0; $s.$bitb = $bl; $s.$bitk = $bd; $z.$avail_in = $td_index; $z.$total_in = Long_add($z.$total_in, Long_fromInt($r - $z.$next_in_index | 0)); $z.$next_in_index = $r; $s.$write7 = $q; return (-3); } $r = ($r + var$16[$d + 2 | 0] | 0) + ($bl & var$23[$b]) | 0; $d = ($td_index + $r | 0) * 3 | 0; $b = var$16[$d]; } $r = $b & 15; while ($bd < $r) { $n = $n + (-1) | 0; var$19 = $z.$next_in.data; $b = $p + 1 | 0; $bl = $bl | (var$19[$p] & 255) << $bd; $bd = $bd + 8 | 0; $p = $b; } $d = var$16[$d + 2 | 0] + ($bl & var$23[$r]) | 0; $b = $bl >> $r; $k = $bd - $r | 0; $m = $m - $c | 0; if ($q >= $d) { $r = $q - $d | 0; $bl = $q - $r | 0; if ($bl > 0 && 2 > $bl) { var$16 = $s.$window.data; $bl = $q + 1 | 0; $bd = $r + 1 | 0; var$16[$q] = var$16[$r]; $q = $bl + 1 | 0; $r = $bd + 1 | 0; var$16[$bl] = var$16[$bd]; $c = $c + (-2) | 0; } else { var$16 = $s.$window; jl_System_fastArraycopy(var$16, $r, var$16, $q, 2); $q = $q + 2 | 0; $r = $r + 2 | 0; $c = $c + (-2) | 0; } } else { $r = $q - $d | 0; while (true) { $bl = $s.$end0; $r = $r + $bl | 0; if ($r >= 0) break; } $bl = $bl - $r | 0; if ($c > $bl) { $c = $c - $bl | 0; $bd = $q - $r | 0; if ($bd > 0 && $bl > $bd) { $bd = $q; while (true) { var$16 = $s.$window.data; $q = $bd + 1 | 0; $d = $r + 1 | 0; var$16[$bd] = var$16[$r]; $bl = $bl + (-1) | 0; if (!$bl) break; $bd = $q; $r = $d; } } else { var$16 = $s.$window; jl_System_fastArraycopy(var$16, $r, var$16, $q, $bl); $q = $q + $bl | 0; } $r = 0; } } $bl = $q - $r | 0; if ($bl > 0 && $c > $bl) { while (true) { var$16 = $s.$window.data; $d = $q + 1 | 0; $bl = $r + 1 | 0; var$16[$q] = var$16[$r]; $c = $c + (-1) | 0; if (!$c) break; $q = $d; $r = $bl; } break a; } var$16 = $s.$window; jl_System_fastArraycopy(var$16, $r, var$16, $q, $c); $d = $q + $c | 0; break a; } if ($bd & 64) { if ($bd & 32) { $c = $z.$avail_in - $n | 0; $bl = $k >> 3; if ($bl < $c) $c = $bl; $bl = $n + $c | 0; $bd = $p - $c | 0; $tl_index = $k - ($c << 3) | 0; $s.$bitb = $b; $s.$bitk = $tl_index; $z.$avail_in = $bl; $z.$total_in = Long_add($z.$total_in, Long_fromInt($bd - $z.$next_in_index | 0)); $z.$next_in_index = $bd; $s.$write7 = $q; return 1; } $z.$msg = $rt_s(1004); $c = $z.$avail_in - $n | 0; $bl = $k >> 3; if ($bl < $c) $c = $bl; $bl = $n + $c | 0; $bd = $p - $c | 0; $tl_index = $k - ($c << 3) | 0; $s.$bitb = $b; $s.$bitk = $tl_index; $z.$avail_in = $bl; $z.$total_in = Long_add($z.$total_in, Long_fromInt($bd - $z.$next_in_index | 0)); $z.$next_in_index = $bd; $s.$write7 = $q; return (-3); } $t = ($t + var$19[$tp_index_t_3 + 2 | 0] | 0) + ($b & cjj_InfCodes_inflate_mask.data[$bd]) | 0; $tp_index_t_3 = ($tl_index + $t | 0) * 3 | 0; $bd = var$19[$tp_index_t_3]; if (!$bd) break; } $bl = $tp_index_t_3 + 1 | 0; $b = $b >> var$19[$bl]; $k = $k - var$19[$bl] | 0; var$16 = $s.$window.data; $d = $q + 1 | 0; var$16[$q] = var$19[$tp_index_t_3 + 2 | 0] << 24 >> 24; $m = $m + (-1) | 0; } } if ($m < 258) break; if ($n < 10) break; $q = $d; } $c = $z.$avail_in - $n | 0; $bl = $k >> 3; if ($bl < $c) $c = $bl; $bl = $n + $c | 0; $bd = $p - $c | 0; $tl_index = $k - ($c << 3) | 0; $s.$bitb = $b; $s.$bitk = $tl_index; $z.$avail_in = $bl; $z.$total_in = Long_add($z.$total_in, Long_fromInt($bd - $z.$next_in_index | 0)); $z.$next_in_index = $bd; $s.$write7 = $d; return 0; }, cjj_InfCodes__clinit_ = () => { cjj_InfCodes_inflate_mask = $rt_createIntArrayFromData([0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535]); }, jl_CloneNotSupportedException = $rt_classWithoutFields(jl_Exception), jl_CloneNotSupportedException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_CloneNotSupportedException__init_0 = () => { let var_0 = new jl_CloneNotSupportedException(); jl_CloneNotSupportedException__init_(var_0); return var_0; }; function ju_IANATimeZone() { let a = this; ju_TimeZone.call(a); a.$underlyingZone = null; a.$rawOffset = 0; a.$diff = 0; } let ju_IANATimeZone_clone = $this => { let var$1, $$je; a: { try { var$1 = jl_Object_clone($this); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { } else { throw $$e; } } var$1 = null; } var$1.$rawOffset = $this.$rawOffset; var$1.$underlyingZone = $this.$underlyingZone; return var$1; }; function otcit_DateTimeZone() { jl_Object.call(this); this.$iID = null; } let otcit_StorableDateTimeZone = $rt_classWithoutFields(otcit_DateTimeZone), otcit_StorableDateTimeZone_readTimeArray = ($flow, $array) => { let $index, var$4, var$5, $count, $t, var$8, var$9, var$10; $index = 0; while (true) { var$4 = $array.data; if ($index >= var$4.length) break; var$5 = otci_Base46_decodeUnsigned($flow); $count = var$5 / 2 | 0; if (var$5 % 2 | 0) $count = -$count | 0; if ($count < 0) { var$5 = $count ^ (-1); while (true) { $t = var$5 + (-1) | 0; if (var$5 <= 0) break; $count = $index + 1 | 0; var$8 = Long_fromInt(otci_Base46_decodeUnsigned($flow)); var$9 = Long_div(var$8, Long_fromInt(2)); if (Long_ne(Long_rem(var$8, Long_fromInt(2)), Long_ZERO)) var$9 = Long_neg(var$9); var$4[$index] = Long_lo((Long_ne(Long_and(var$9, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$9, 1) : Long_mul(Long_shr(var$9, 1), Long_fromInt(1800000)))); var$5 = $t; $index = $count; } } else { var$8 = Long_fromInt(otci_Base46_decodeUnsigned($flow)); var$9 = Long_div(var$8, Long_fromInt(2)); if (Long_ne(Long_rem(var$8, Long_fromInt(2)), Long_ZERO)) var$9 = Long_neg(var$9); $t = Long_lo((Long_ne(Long_and(var$9, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$9, 1) : Long_mul(Long_shr(var$9, 1), Long_fromInt(1800000)))); while (true) { var$5 = $count + (-1) | 0; if ($count <= 0) break; var$10 = $index + 1 | 0; var$4[$index] = $t; $count = var$5; $index = var$10; } } } }; function otcit_FixedDateTimeZone() { let a = this; otcit_StorableDateTimeZone.call(a); a.$iWallOffset0 = 0; a.$iStandardOffset3 = 0; } let otcit_FixedDateTimeZone_getOffset = ($this, $instant) => { return $this.$iWallOffset0; }, otcit_FixedDateTimeZone_getStandardOffset = ($this, $instant) => { return $this.$iStandardOffset3; }, otcit_FixedDateTimeZone_previousTransition = ($this, $instant) => { return $instant; }, otcit_DateTimeZoneProvider = $rt_classWithoutFields(), otcit_DateTimeZoneProvider_cache = null, otcit_DateTimeZoneProvider_$$metadata$$0 = null, otcit_DateTimeZoneProvider__init_ = $this => { return; }, otcit_DateTimeZoneProvider__init_0 = () => { let var_0 = new otcit_DateTimeZoneProvider(); otcit_DateTimeZoneProvider__init_(var_0); return var_0; }, otcit_DateTimeZoneProvider_getTimeZone = $id => { let var$2, var$3, var$4, var$5, var$6; var$2 = otcit_DateTimeZoneProvider_cache; if ($id === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$id.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $id.$nativeString.length) break a; $id.$hashCode1 = (31 * $id.$hashCode1 | 0) + $id.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $id.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($id !== var$6) { if ($id === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $id.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) ju_HashMap_putImpl(otcit_DateTimeZoneProvider_cache, $id, otcit_DateTimeZoneProvider_createTimeZone($id)); var$2 = otcit_DateTimeZoneProvider_cache; if ($id === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$id.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $id.$nativeString.length) break c; $id.$hashCode1 = (31 * $id.$hashCode1 | 0) + $id.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $id.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($id !== var$6) { if ($id === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $id.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } return var$2 === null ? null : var$2.$value1; }, otcit_DateTimeZoneProvider_createTimeZone = $id => { let $res, $data, $flow, var$5, var$6, var$7, var$8, $aliasId, var$10, var$11, var$12, var$13, var$14; $res = otcit_DateTimeZoneProvider_getTimeZoneResource($id); if ($res === null) return null; $data = ($res.data !== null ? $rt_str($res.data) : null); $flow = new otci_CharFlow; var$5 = $rt_createCharArray($data.$nativeString.length); var$6 = var$5.data; var$7 = 0; var$8 = var$6.length; while (true) { if (var$7 >= var$8) { $flow.$characters = var$5; if (otci_Base46_decodeUnsigned($flow) == 4) { $aliasId = jl_String_substring($data, $flow.$pointer, $data.$nativeString.length); $res = new otcit_AliasDateTimeZone; $data = otcit_DateTimeZoneProvider_getTimeZone($aliasId); if ($id !== null) { $res.$iID = $id; $res.$innerZone = $data; return $res; } $res = new jl_IllegalArgumentException; $res.$suppressionEnabled = 1; $res.$writableStackTrace = 1; $res.$message = $rt_s(1005); $rt_throw($res); } $res = new otci_CharFlow; var$5 = $rt_createCharArray($data.$nativeString.length); var$6 = var$5.data; var$7 = 0; var$8 = var$6.length; while (true) { if (var$7 >= var$8) { a: { b: { $res.$characters = var$5; var$7 = otci_Base46_decodeUnsigned($res); switch (var$7) { case 0: break; case 1: var$10 = Long_fromInt(otci_Base46_decodeUnsigned($res)); var$11 = Long_div(var$10, Long_fromInt(2)); if (Long_ne(Long_rem(var$10, Long_fromInt(2)), Long_ZERO)) var$11 = Long_neg(var$11); var$7 = Long_lo((Long_ne(Long_and(var$11, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$11, 1) : Long_mul(Long_shr(var$11, 1), Long_fromInt(1800000)))); var$12 = Long_fromInt(otci_Base46_decodeUnsigned($res)); var$11 = Long_div(var$12, Long_fromInt(2)); if (Long_ne(Long_rem(var$12, Long_fromInt(2)), Long_ZERO)) var$11 = Long_neg(var$11); var$8 = Long_lo((Long_ne(Long_and(var$11, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$11, 1) : Long_mul(Long_shr(var$11, 1), Long_fromInt(1800000)))); $res = new otcit_FixedDateTimeZone; if ($id !== null) { $res.$iID = $id; $res.$iWallOffset0 = var$7; $res.$iStandardOffset3 = var$8; break a; } $res = new jl_IllegalArgumentException; $res.$suppressionEnabled = 1; $res.$writableStackTrace = 1; $res.$message = $rt_s(1005); $rt_throw($res); case 2: case 4: break b; case 3: var$10 = Long_fromInt(otci_Base46_decodeUnsigned($res)); var$11 = Long_div(var$10, Long_fromInt(2)); if (Long_ne(Long_rem(var$10, Long_fromInt(2)), Long_ZERO)) var$11 = Long_neg(var$11); var$7 = Long_lo((Long_ne(Long_and(var$11, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$11, 1) : Long_mul(Long_shr(var$11, 1), Long_fromInt(1800000)))); $data = otcit_DateTimeZoneBuilder$OfYear_read($res); var$12 = Long_fromInt(otci_Base46_decodeUnsigned($res)); var$11 = Long_div(var$12, Long_fromInt(2)); if (Long_ne(Long_rem(var$12, Long_fromInt(2)), Long_ZERO)) var$11 = Long_neg(var$11); var$8 = Long_lo((Long_ne(Long_and(var$11, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$11, 1) : Long_mul(Long_shr(var$11, 1), Long_fromInt(1800000)))); $aliasId = new otcit_DateTimeZoneBuilder$Recurrence; $aliasId.$iOfYear = $data; $aliasId.$iSaveMillis = var$8; $data = otcit_DateTimeZoneBuilder$OfYear_read($res); var$12 = Long_fromInt(otci_Base46_decodeUnsigned($res)); var$11 = Long_div(var$12, Long_fromInt(2)); if (Long_ne(Long_rem(var$12, Long_fromInt(2)), Long_ZERO)) var$11 = Long_neg(var$11); var$8 = Long_lo((Long_ne(Long_and(var$11, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$11, 1) : Long_mul(Long_shr(var$11, 1), Long_fromInt(1800000)))); $flow = new otcit_DateTimeZoneBuilder$Recurrence; $flow.$iOfYear = $data; $flow.$iSaveMillis = var$8; $res = new otcit_DateTimeZoneBuilder$DSTZone; if ($id === null) { $res = new jl_IllegalArgumentException; $res.$suppressionEnabled = 1; $res.$writableStackTrace = 1; $res.$message = $rt_s(1005); $rt_throw($res); } $res.$iID = $id; $id = new ju_GregorianCalendar; if (otcit_DateTimeZoneBuilder_gmtCache === null) otcit_DateTimeZoneBuilder_gmtCache = ju_TimeZone_getTimeZone($rt_s(1006)); var$13 = otcit_DateTimeZoneBuilder_gmtCache; ju_Locale_$callClinit(); ju_GregorianCalendar__init_($id, var$13, ju_Locale_defaultLocale); $res.$calendar0 = $id; $res.$iStandardOffset2 = var$7; $res.$iStartRecurrence = $aliasId; $res.$iEndRecurrence = $flow; break a; case 5: $res = otcit_DateTimeZoneBuilder$RuleBasedZone_readZone($id, $res); break a; default: break b; } $res = otcit_DateTimeZoneBuilder$PrecalculatedZone_readZone($id, $res); break a; } $id = new jl_IllegalArgumentException; $res = new jl_StringBuilder; $res.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($res, $res.$length0, $rt_s(1007)); jl_AbstractStringBuilder_insert0($res, $res.$length0, var$7, 10); $data = new jl_String; var$5 = $res.$buffer; var$6 = var$5.data; var$8 = $res.$length0; var$14 = var$6.length; if (var$8 >= 0 && var$8 <= (var$14 - 0 | 0)) { $data.$nativeString = $rt_charArrayToString(var$5.data, 0, var$8); $id.$suppressionEnabled = 1; $id.$writableStackTrace = 1; $id.$message = $data; $rt_throw($id); } $id = new jl_IndexOutOfBoundsException; $id.$suppressionEnabled = 1; $id.$writableStackTrace = 1; $rt_throw($id); } return $res; } if (var$7 < 0) break; if (var$7 >= $data.$nativeString.length) break; var$6[var$7] = $data.$nativeString.charCodeAt(var$7); var$7 = var$7 + 1 | 0; } $id = new jl_StringIndexOutOfBoundsException; $id.$suppressionEnabled = 1; $id.$writableStackTrace = 1; $rt_throw($id); } if (var$7 < 0) break; if (var$7 >= $data.$nativeString.length) break; var$6[var$7] = $data.$nativeString.charCodeAt(var$7); var$7 = var$7 + 1 | 0; } $id = new jl_StringIndexOutOfBoundsException; $id.$suppressionEnabled = 1; $id.$writableStackTrace = 1; $rt_throw($id); }, otcit_DateTimeZoneProvider_getIds = () => { let $ids, $area, var$3, var$4, var$5, var$6, $areaName, var$8, var$9, var$10, $id, var$12, var$13, var$14, var$15; $ids = new ju_ArrayList; $ids.$array = $rt_createArray(jl_Object, 10); if (otcit_DateTimeZoneProvider_$$metadata$$0 === null) otcit_DateTimeZoneProvider_$$metadata$$0 = otcit_DateTimeZoneProvider_getResource$$create(); $area = otpp_ResourceAccessor_keys(otcit_DateTimeZoneProvider_$$metadata$$0); var$3 = $area.length; var$4 = $rt_createArray(jl_String, var$3).data; var$5 = 0; while (var$5 < var$3) { var$4[var$5] = ($area[var$5] !== null ? $rt_str($area[var$5]) : null); var$5 = var$5 + 1 | 0; } var$5 = var$4.length; var$6 = 0; a: { while (var$6 < var$5) { $areaName = var$4[var$6]; if (otcit_DateTimeZoneProvider_$$metadata$$0 === null) otcit_DateTimeZoneProvider_$$metadata$$0 = otcit_DateTimeZoneProvider_getResource$$create(); $area = otpp_ResourceAccessor_keys(otcit_DateTimeZoneProvider_$$metadata$$0[$rt_ustr($areaName)]); var$3 = $area.length; var$8 = $rt_createArray(jl_String, var$3).data; var$9 = 0; while (var$9 < var$3) { var$8[var$9] = ($area[var$9] !== null ? $rt_str($area[var$9]) : null); var$9 = var$9 + 1 | 0; } var$9 = var$8.length; var$10 = 0; while (var$10 < var$9) { $id = var$8[var$10]; if (!($areaName.$nativeString.length ? 0 : 1)) { $area = new jl_StringBuilder; $area.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($area, $area.$length0, $areaName); var$12 = $area.$length0; jl_AbstractStringBuilder_insertSpace($area, var$12, var$12 + 1 | 0); $area.$buffer.data[var$12] = 47; var$3 = $area.$length0; if ($id === null) $id = $rt_s(1); jl_AbstractStringBuilder_insert($area, var$3, $id); $id = new jl_String; var$13 = $area.$buffer; var$14 = var$13.data; var$12 = $area.$length0; var$15 = var$14.length; if (var$12 < 0) break a; if (var$12 > (var$15 - 0 | 0)) break a; $id.$nativeString = $rt_charArrayToString(var$13.data, 0, var$12); } ju_ArrayList_ensureCapacity($ids, $ids.$size0 + 1 | 0); var$13 = $ids.$array.data; var$12 = $ids.$size0; $ids.$size0 = var$12 + 1 | 0; var$13[var$12] = $id; $ids.$modCount = $ids.$modCount + 1 | 0; var$10 = var$10 + 1 | 0; } var$6 = var$6 + 1 | 0; } return ju_AbstractCollection_toArray($ids, $rt_createArray(jl_String, $ids.$size0)); } $ids = new jl_IndexOutOfBoundsException; $ids.$suppressionEnabled = 1; $ids.$writableStackTrace = 1; $rt_throw($ids); }, otcit_DateTimeZoneProvider_detectTimezone = () => { let $zones, $time, $offset, var$4, $tzOffset, var$6, $id, $timeInQueue, $tzOffset_0, $j, var$11, $scoreTable, $i, $tz, $zoneMap, $queue, $score, var$18, $prev, $prevZones, var$21; $zones = new ju_ArrayList; $zones.$array = $rt_createArray(jl_Object, 10); $time = jl_System_currentTimeMillis(); $offset = -(new Date(Long_toNumber(jl_System_currentTimeMillis()))).getTimezoneOffset() | 0; var$4 = (otcit_DateTimeZoneProvider_getIds()).data; $tzOffset = var$4.length; var$6 = 0; while (var$6 < $tzOffset) { $id = var$4[var$6]; $timeInQueue = otcit_DateTimeZoneProvider_cache; if ($id === null) { $timeInQueue = $timeInQueue.$elementData.data[0]; while ($timeInQueue !== null && $timeInQueue.$key !== null) { $timeInQueue = $timeInQueue.$next3; } } else { a: { if (!$id.$hashCode1) { $tzOffset_0 = 0; while (true) { if ($tzOffset_0 >= $id.$nativeString.length) break a; $id.$hashCode1 = (31 * $id.$hashCode1 | 0) + $id.$nativeString.charCodeAt($tzOffset_0) | 0; $tzOffset_0 = $tzOffset_0 + 1 | 0; } } } $j = $id.$hashCode1; var$11 = $timeInQueue.$elementData.data; $timeInQueue = var$11[$j & (var$11.length - 1 | 0)]; while ($timeInQueue !== null) { if ($timeInQueue.$origKeyHash == $j) { b: { $scoreTable = $timeInQueue.$key; if ($id !== $scoreTable) { if ($id === $scoreTable) $tzOffset_0 = 1; else if (!($scoreTable instanceof jl_String)) $tzOffset_0 = 0; else { $scoreTable = $scoreTable; $tzOffset_0 = $id.$nativeString !== $scoreTable.$nativeString ? 0 : 1; } if (!$tzOffset_0) { $tzOffset_0 = 0; break b; } } $tzOffset_0 = 1; } if ($tzOffset_0) break; } $timeInQueue = $timeInQueue.$next3; } } if (!($timeInQueue === null ? 0 : 1)) ju_HashMap_putImpl(otcit_DateTimeZoneProvider_cache, $id, otcit_DateTimeZoneProvider_createTimeZone($id)); $timeInQueue = otcit_DateTimeZoneProvider_cache; if ($id === null) { $timeInQueue = $timeInQueue.$elementData.data[0]; while ($timeInQueue !== null && $timeInQueue.$key !== null) { $timeInQueue = $timeInQueue.$next3; } } else { c: { if (!$id.$hashCode1) { $tzOffset_0 = 0; while (true) { if ($tzOffset_0 >= $id.$nativeString.length) break c; $id.$hashCode1 = (31 * $id.$hashCode1 | 0) + $id.$nativeString.charCodeAt($tzOffset_0) | 0; $tzOffset_0 = $tzOffset_0 + 1 | 0; } } } $i = $id.$hashCode1; var$11 = $timeInQueue.$elementData.data; $timeInQueue = var$11[$i & (var$11.length - 1 | 0)]; while ($timeInQueue !== null) { if ($timeInQueue.$origKeyHash == $i) { d: { $scoreTable = $timeInQueue.$key; if ($id !== $scoreTable) { if ($id === $scoreTable) $tzOffset_0 = 1; else if (!($scoreTable instanceof jl_String)) $tzOffset_0 = 0; else { $scoreTable = $scoreTable; $tzOffset_0 = $id.$nativeString !== $scoreTable.$nativeString ? 0 : 1; } if (!$tzOffset_0) { $tzOffset_0 = 0; break d; } } $tzOffset_0 = 1; } if ($tzOffset_0) break; } $timeInQueue = $timeInQueue.$next3; } } $tz = $timeInQueue === null ? null : $timeInQueue.$value1; if (!($tz instanceof otcit_AliasDateTimeZone)) { $tzOffset_0 = ($tz.$getOffset($time) / 60000 | 0) - $offset | 0; if ($tzOffset_0 < 0) $tzOffset_0 = -$tzOffset_0 | 0; if ($tzOffset_0 <= 120 && Long_ne($tz.$previousTransition($time), $time)) { $timeInQueue = new otcit_DateTimeZoneProvider$Score; $timeInQueue.$tz = $tz; ju_ArrayList_ensureCapacity($zones, $zones.$size0 + 1 | 0); var$11 = $zones.$array.data; $i = $zones.$size0; $zones.$size0 = $i + 1 | 0; var$11[$i] = $timeInQueue; $zones.$modCount = $zones.$modCount + 1 | 0; } } var$6 = var$6 + 1 | 0; } $scoreTable = new ju_ArrayList; $scoreTable.$array = $rt_createArray(jl_Object, 10); $tzOffset_0 = 0; $tzOffset = $zones.$modCount; var$6 = $zones.$size(); while (true) { if (!($tzOffset_0 >= var$6 ? 0 : 1)) { $zoneMap = ju_HashMap__init_(); $queue = new ju_PriorityQueue; $tzOffset = $zones.$size0; $timeInQueue = new otcit_DateTimeZoneProvider$1; if ($tzOffset < 1) { $zones = new jl_IllegalArgumentException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } $queue.$data9 = $rt_createArray(jl_Object, $tzOffset); $queue.$originalComparator0 = $timeInQueue; $queue.$comparator0 = $timeInQueue; $timeInQueue = new ju_HashSet; $timeInQueue.$backingMap = ju_HashMap__init_(); $id = new jl_Long; $id.$value7 = $time; if (!ju_PriorityQueue_offer($queue, $id)) { $zones = new jl_IllegalStateException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } $score = new jl_Long; $score.$value7 = $time; $id = new ju_ArrayList; $offset = $zones.$size0; if ($offset < 0) { $zones = new jl_IllegalArgumentException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } $id.$array = $rt_createArray(jl_Object, $offset); $i = 0; $tzOffset_0 = $zones.$modCount; $zones.$size(); $offset = 0; while (true) { var$4 = $id.$array.data; $tzOffset = var$4.length; if ($offset >= $tzOffset) { $id.$size0 = $tzOffset; ju_HashMap_putImpl($zoneMap, $score, $id); e: { f: { g: { h: { i: { j: { k: { l: while (true) { var$6 = $queue.$size5; if (var$6 ? 0 : 1) break e; if ($scoreTable.$size0 <= 1) break e; if (var$6 ? 0 : 1) { $zones = new ju_NoSuchElementException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } if (!var$6) $zones = null; else { $zones = $queue.$data9.data[0]; ju_PriorityQueue_removeAt($queue, 0); } var$18 = $zones.$value7; $id = new jl_Long; $id.$value7 = var$18; $zones = ju_HashMap_removeByKey($timeInQueue.$backingMap, $id); $zones = new jl_Long; $zones.$value7 = var$18; $zones = ju_HashMap_removeByKey($zoneMap, $zones); $zones = $zones === null ? null : $zones.$value1; $offset = -(new Date(Long_toNumber(var$18))).getTimezoneOffset() | 0; $tz = $zones.$iterator(); while ($tz.$hasNext()) { $score = $tz.$next(); $prev = $score.$tz.$previousTransition(var$18); if (Long_eq($prev, var$18)) { if (0 >= $scoreTable.$size0) { $zones = new jl_IndexOutOfBoundsException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } if ($scoreTable.$array.data[0] === $score) break l; ju_ArrayList_remove0($scoreTable, $score); } else { $tzOffset = ($score.$tz.$getOffset(var$18) / 60000 | 0) - $offset | 0; if ($tzOffset < 0) $tzOffset = -$tzOffset | 0; if ($tzOffset > 120) { ju_ArrayList_remove0($scoreTable, $score); continue; } $prevZones = new jl_Long; $prevZones.$value7 = $prev; $tzOffset_0 = Long_lo($prev) ^ Long_hi($prev); var$4 = $zoneMap.$elementData.data; $zones = var$4[$tzOffset_0 & (var$4.length - 1 | 0)]; while ($zones !== null) { if ($zones.$origKeyHash == $tzOffset_0) { $id = $zones.$key; if ($prevZones !== $id && !($prevZones === $id ? 1 : $id instanceof jl_Long && Long_eq($id.$value7, $prev) ? 1 : 0) ? 0 : 1) break; } $zones = $zones.$next3; } $zones = $zones === null ? null : $zones.$value1; if ($zones === null) { $zones = new ju_ArrayList; $zones.$array = $rt_createArray(jl_Object, 10); ju_HashMap_putImpl($zoneMap, $prevZones, $zones); } $zones.$add($score); $id = new jl_Long; $id.$value7 = $prev; if (ju_HashMap_putImpl($timeInQueue.$backingMap, $id, $timeInQueue) !== null ? 0 : 1) { $zones = new jl_Long; $zones.$value7 = $prev; if (!ju_PriorityQueue_offer($queue, $zones)) { $zones = new jl_IllegalStateException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } } } } $tzOffset = $scoreTable.$size0; if ($tzOffset == 1) break f; if (0 >= $tzOffset) { $zones = new jl_IndexOutOfBoundsException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } if (Long_eq($scoreTable.$array.data[0].$tz.$previousTransition(var$18), var$18)) break f; $j = $scoreTable.$size0; if ($j > 1) { $i = $rt_compare(0, $j); if ($i >= 0) { $zones = new jl_IndexOutOfBoundsException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } var$4 = $scoreTable.$array.data; $tzOffset = var$4[0].$value11 + 2880 | 0; if (1 >= $j) { $zones = new jl_IndexOutOfBoundsException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } if ($tzOffset < var$4[1].$value11) { if ($i < 0) return var$4[0].$tz; $zones = new jl_IndexOutOfBoundsException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } } $i = $j - 1 | 0; while ($i >= 0) { if ($i < 0) break g; if ($i >= $scoreTable.$size0) break g; $score = $scoreTable.$array.data[$i]; $tzOffset_0 = $score.$tz.$getOffset(var$18) / 60000 | 0; if ($tzOffset_0 != $offset) { $tzOffset = $score.$value11; var$6 = Long_lo(Long_div(Long_sub($time, var$18), Long_fromInt(60000))); $tzOffset_0 = $tzOffset_0 - $offset | 0; if ($tzOffset_0 < 0) $tzOffset_0 = -$tzOffset_0 | 0; $score.$value11 = $tzOffset + ($rt_imul(var$6, $tzOffset_0) / 30 | 0) | 0; } $j = $i + 1 | 0; while (true) { $tzOffset_0 = $scoreTable.$size0; var$21 = $rt_compare($j, $tzOffset_0); if (var$21 >= 0) break; $tzOffset = $score.$value11; if ($j < 0) break j; if (var$21 >= 0) break j; var$4 = $scoreTable.$array.data; if ($tzOffset <= var$4[$j].$value11) break; $tzOffset = $j - 1 | 0; if ($j < 0) break h; if (var$21 >= 0) break h; $zones = var$4[$j]; if ($tzOffset < 0) break i; if ($tzOffset >= $tzOffset_0) break i; var$4[$tzOffset] = $zones; $j = $j + 1 | 0; } $tzOffset = $j - 1 | 0; if ($tzOffset < 0) break k; if ($tzOffset >= $tzOffset_0) break k; $scoreTable.$array.data[$tzOffset] = $score; $i = $i + (-1) | 0; } $time = var$18; } return $score.$tz; } $zones = new jl_IndexOutOfBoundsException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } $zones = new jl_IndexOutOfBoundsException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } $zones = new jl_IndexOutOfBoundsException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } $zones = new jl_IndexOutOfBoundsException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } $zones = new jl_IndexOutOfBoundsException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } if (0 < $scoreTable.$size0) return $scoreTable.$array.data[0].$tz; $zones = new jl_IndexOutOfBoundsException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } if (0 < $scoreTable.$size0) return $scoreTable.$array.data[0].$tz; $zones = new jl_IndexOutOfBoundsException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } if ($tzOffset_0 < $zones.$modCount) break; var$6 = $i + 1 | 0; var$4[$offset] = $zones.$get($i); $offset = $offset + 1 | 0; $i = var$6; } $zones = new ju_ConcurrentModificationException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); } if ($tzOffset < $zones.$modCount) break; $i = $tzOffset_0 + 1 | 0; $timeInQueue = $zones.$get($tzOffset_0); ju_ArrayList_ensureCapacity($scoreTable, $scoreTable.$size0 + 1 | 0); var$4 = $scoreTable.$array.data; $tzOffset_0 = $scoreTable.$size0; $scoreTable.$size0 = $tzOffset_0 + 1 | 0; var$4[$tzOffset_0] = $timeInQueue; $scoreTable.$modCount = $scoreTable.$modCount + 1 | 0; $tzOffset_0 = $i; } $zones = new ju_ConcurrentModificationException; $zones.$suppressionEnabled = 1; $zones.$writableStackTrace = 1; $rt_throw($zones); }, otcit_DateTimeZoneProvider_getTimeZoneResource = $locationName => { let $sepIndex, $areaName, $area; $sepIndex = jl_String_indexOf($locationName, 47, 0); if ($sepIndex < 0) $areaName = $rt_s(18); else { $areaName = jl_String_substring($locationName, 0, $sepIndex); $locationName = jl_String_substring($locationName, $sepIndex + 1 | 0, $locationName.$nativeString.length); } if (otcit_DateTimeZoneProvider_$$metadata$$0 === null) otcit_DateTimeZoneProvider_$$metadata$$0 = otcit_DateTimeZoneProvider_getResource$$create(); if (!otcit_DateTimeZoneProvider_$$metadata$$0.hasOwnProperty($rt_ustr($areaName))) return null; if (otcit_DateTimeZoneProvider_$$metadata$$0 === null) otcit_DateTimeZoneProvider_$$metadata$$0 = otcit_DateTimeZoneProvider_getResource$$create(); $area = otcit_DateTimeZoneProvider_$$metadata$$0[$rt_ustr($areaName)]; return !$area.hasOwnProperty($rt_ustr($locationName)) ? null : $area[$rt_ustr($locationName)]; }, otcit_DateTimeZoneProvider__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; otcit_DateTimeZoneProvider_cache = var$1; }, otcit_DateTimeZoneProvider_getResource$$create = () => { return {"": {"PRC": {"data" : ")Asia/Shanghai"}, "Singapore": {"data" : ")Asia/Singapore"}, "UTC": {"data" : ")Etc/UTC"}, "Hongkong": {"data" : ")Asia/Hong_Kong"}, "Egypt": {"data" : ")Africa/Cairo"}, "UCT": {"data" : ")Etc/UTC"}, "WET": {"data" : "+# 9{q#/\')%=)1/#%3\'=) %# 5%) %d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Kwajalein": {"data" : ")Pacific/Kwajalein"}, "NZ": {"data" : ")Pacific/Auckland"}, "Libya": {"data" : ")Africa/Tripoli"}, "Portugal": {"data" : ")Europe/Lisbon"}, "Iceland": {"data" : ")Atlantic/Reykjavik"} , "Zulu": {"data" : ")Etc/UTC"}, "EST5EDT": {"data" : "+# tUFm#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "Iran": {"data" : ")Asia/Tehran"}, "PST8PDT": {"data" : "+# H#UFm#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "Eire": {"data" : ")Europe/Dublin"}, "Poland": {"data" : ")Europe/Warsaw"}, "GB": {"data" : ")Europe/London"}, "CST6CDT": {"data" : "+# (#UFm#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "} , "GMT-0": {"data" : ")Etc/GMT"}, "GMT+0": {"data" : ")Etc/GMT"}, "Universal": {"data" : ")Etc/UTC"}, "GMT0": {"data" : ")Etc/GMT"}, "Japan": {"data" : ")Asia/Tokyo"}, "EST": {"data" : "+# t# "}, "ROC": {"data" : ")Asia/Taipei"}, "HST": {"data" : "+# i## "}, "NZ-CHAT": {"data" : ")Pacific/Chatham"}, "Navajo": {"data" : ")America/Denver"}, "GMT": {"data" : ")Etc/GMT"}, "Greenwich": {"data" : ")Etc/GMT"}, "MST": {"data" : "+# 8## "}, "MST7MDT": {"data" : "+# 8#UFm#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "} , "ROK": {"data" : ")Asia/Seoul"}, "W-SU": {"data" : ")Europe/Moscow"}, "Cuba": {"data" : ")America/Havana"}, "CET": {"data" : "+# 1f>m##))>#!%1 #)5%) %\'7)^%11\'\'73^%1 z#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 %#13b1 F#/7)%=11/#53\'=1 %#15%1 %d53\'=1 [ 5\'\'=11^ 55\'=1 "}, "Turkey": {"data" : ")Europe/Istanbul"}, "EET": {"data" : "+# A9{q#/\')%=)1/#%3\'=) %# 5%) %d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Israel": {"data" : ")Asia/Jerusalem"}, "GB-Eire": {"data" : ")Europe/London"}, "Jamaica": {"data" : ")America/Jamaica"} , "MET": {"data" : "+# 1f>m##))>#!%1 #)5%) %\'7)^%11\'\'73^%1 z#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 %#13b1 F#/7)%=11/#53\'=1 %#15%1 %d53\'=1 [ 5\'\'=11^ 55\'=1 "}}, "Europe": {"Belgrade": {"data" : "+/ .V2F)#yi#)#% 1#P%))j!% 1=\'#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 %#13b1 #)#% 1##1+A111##13b1 1#]#)72# 117/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Saratov": {"data" : "+3 :XHs3#Lm# /% Q#O)-v bAG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11z1\'2#1 Q-?/))% 1 O53\'=1 K,#5\'\'=11n1\'B#1 b#\'1\':#1 Q1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 b#/15.#1 Q#+1911 b# "} , "Gibraltar": {"data" : "+) 06i.##ii#)1) B%V##1+v11 #15%1 %#1)A11 #13f1 %#1\' #13>#1 %#1\'>#11 #13:#1 %#1\'6#11 #15*#1 %#1)-11 #15-1 %#1\'.#11 #15A1 %#7)b=11 \'73b=1 #7)E=11%\'7)b=11\'W75)=1 O#7)E=11%\'7)b=11%#7)E=11%\'7)b=11%#7)E=11%#7)b=11%#7)E=11%\'7)b=11%#7)E=11%#7)b=11 #77b=1 %#7%!#=11%#7+)=)A +71E=)1\'+7))=)A #73b=)1%#7))%)A #7/E=)1 \'75)=1 #7)E=11%#1\'b11 #1)U)A #11I)1 #17)1 %#1\'Y11 #15B#1 %#1)-11 #15>#1 %+7)Y=11++75v=1 %#7)b=11 ?75)=1 ;#7)E=11%\'7)b=11%#7)E=11#))Y1 1#,#)#% 117/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "} , "Bucharest": {"data" : "+/ c4HX+#8k#)5% c4HX+#i#)/&# A=%#1+v 1 ?75%= ;;7))= 1g##)+2# 1 #-3\'= %#))5!%1 #-3\'=) \'1\':#1 A-3/7)%=11\'d53\'=1 [ 5\'\'=11K)#% A1O#))5!%1 #-3\'=) M+5\'\'= 1++53\'= \')#% A1h//)%= 1\'d-3\'= [ -\'\'= 1^ -5\'= \')#% A-ld%3\'=) [ %\'\'=)1^ %5\'=) "}, "Dublin": {"data" : "+7 q6PB##ii#)1) q6PB##X#1+v11q6PB###15%1 Q #1+v11 #15%1 %#1)A11 #13f1 %#1\' #13>#1 %#1\'>#11 #13:#1 %#1\'6#11 #15*#1 %#1)-11 #15-1 #)99 !#\'#1\'6#11 #15*#1 %#1)-11 #15-1 %#1\'.#11 #15A1 %#7)b=11 \'73b=1 #7)E=11%\'7)b=11\'W75)=1 O#7)E=11%\'7)b=11%#7)E=11%\'7)b=11%#7)E=11%#7)b=11%#7)E=11%\'7)b=11%#7)E=11%#7)b=11 #77b=1 %#7%!#=11#1%*#11 #;1591 #\'1\'b11 ##17)1 #\'1)j1 v\'#1\'b11 #1)U)A #11I)1 #17)1 %#1\'Y11 #15B#1 %#1)-11 #15>#1 %+7)Y=11++75v=1 %#7)b=11 ?75)=1 ;#7)E=11%\'7)b=11%#7)E=11%\'7)b=11%#7)E=11%+5\'\'=11+?75!#=1" + " 3/7\'n=11%#1%j11#)52# 1=-# 5B#13%C\'\'b=1 CC\'5!#=13% %\'\'=) C\'5!#=)3%7\'5z=)3% %5\'=)3 "}, "Zaporozhye": {"data" : ")Europe/Kyiv"}, "Kiev": {"data" : ")Europe/Kyiv"}, "Zurich": {"data" : "+) !L0o##Xg#)/b F2FX##m#)-% 1)&%\'/+%%)1\'\'/5%%1 e#)#% 113/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Copenhagen": {"data" : ")Europe/Berlin"}, "Belfast": {"data" : ")Europe/London"}, "Rome": {"data" : "+- kP,a%#0i#)9Q kP,a%#4# 5B#!% 1U!##)-1 1 \')5% #))% 1%#)\'I 1 #)5= %#)\') 1 #)55 %#)\'v 1 #)3n r#)-^ 1)#17)1 %#1\':#11 #1511 #)3I 15\'#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 #)-1 1>#\'#1\':#11 #1511 %#1))11 #13f1 %#)))11 #)3^) %#1\'f11 #1591 %#1\'b 1 #155 %#1%:#11 #15-1 j+7+z= 1+#)3*# %+73z= #1-% 1%#1+B# 1 #53\'= %\'7+z= 1\'#53\'= %#15% %#1-- 1 \'53\'= #1+.# 1%#1-% 1 +53\'= \'#1+># 1%+7+z= 1\'#15% %#13># \')#% 15//\')%=)1+# 5%) %d%3\'=) [ %\'\'=)1^ %5\'=) "} , "Zagreb": {"data" : ")Europe/Belgrade"}, "Monaco": {"data" : ")Europe/Paris"}, "Luxembourg": {"data" : ")Europe/Brussels"}, "Kyiv": {"data" : "+3 Z}{R-#ii#)#% Z}{R-#y#)+) A#;)-v Q#O)3r 11\'#1)%11)#17)1 %#1\':#11 #1511 #)79 QA|#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11r)/%11A#\')3:#9 A1[/7)%=11\'d53\'=1 [ 5\'\'=11^ 55\'=1 #)+U A-hd%3\'=) [ %\'\'=)1^ %5\'=) "}, "Tiraspol": {"data" : ")Europe/Chisinau"}, "Jersey": {"data" : ")Europe/London"}, "Istanbul": {"data" : "+; kia4-#ii#)#% !i>:-#@#)5% AV#9#)+% 1 #)5% 1#)\'6# 1 #)5*# %#))- 1 #)5- %#)\'.# 1 #)5A )#)+U 1 \')5% #)+% 1^#)/% 1 #)59 #)9% 1%#)3v %#))% 1-#)5A %#)-% 1 #)5% %\'/)b= 1\'3/5)= +#))I 1%#))b 1%#))z 1M#)/^ 1%#)5># %#)+^ 1 #)5% E#)--)1 //5B#=1 +#)\'B#11%#)\'z11%#)\'v11%\'/)%=11\'\'/5^=1 #)-:# #)-:# Q=7//5B#=1 #)\'v11%\'/)%=11\'\'/5^=1 #)-:# 5#)/B#11 #)5)1 \')7%1 AE\'#)/B#11 #)5)1 )#1)r)1 #136#) %?5\'\'=)1?G53\'=) \'#1\'r)1%O5\'\'=)1KK55\'=) \')#% A-8#d%3\'=) [ %\'\'=)1^ %5\'=) ` \'2#) A## \'6#) A-H#d%3\'=) [ %\'\'=)1^ %5\'=" + ") l \'>#) A## \'B#) A-T#d%3\'=) [ %\'\'=)1^ %5\'=) p 5*#)1A## 7A) A-X#d%3\'=) [ %\'\'=)1^ %5\'=) t)3= Q# "}, "Ulyanovsk": {"data" : "+3 !HBD5#Lm# /% Q#O)-v bAG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11v1\'.#1 Q-C/))% 1 O53\'=1 K,#5\'\'=11n1\'B#1 A-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 Q1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 b#/15.#1 Q#+1\'2#1 b# "}, "Samara": {"data" : "+5 J,{e5#Lm# /% Q#O)-v b#7)#2# bA[#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11v1\'.#1 Q-C/))% 1 O53\'=1 K,#5\'\'=11n1\'B#1 A-K/))% 1 O53\'=1 K,#5\'\'=11n13:#1 Q##)5r9 b1K/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 #1\'6#1 Q-0#O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 b# "} , "Nicosia": {"data" : ")Asia/Nicosia"}, "Sarajevo": {"data" : ")Europe/Belgrade"}, "Chisinau": {"data" : "+5 2#!%1 #)5%) %\'7)^%11\'\'73^%1 # 7Mz :# #1\'E 1 \'75%9!% #1\'%!%1%#1%Y!%1 #15!#!% %#1\'Y!%1 #15*#!% %#1\'*#!%1 775%9!% 3#1)v!%1%#1\':#!%1%#1)1!%1%#1)f!%1%#1)E!%1%#1)Y!%1 K75)=1 G#1)v11%#1)U11%#1)n11%#1)-11%#1\'.#11%#1)A11%#1\'B#11%#1)n11%#1)111%#1\'2#11%#1)b11 #17n1 %#1%*#11#1+r1 1A$#\'7)^%11\'\'73^%1 z#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 #)3- 193#1%*#111#13f1 %#1))11 #13b1 %#1+n11 #15=1 D#)#% 19 /\')%=)1/#%3\'=) %# 5%) %d%3\'=) [ %\'\'=)1^ %5\'=) "} , "Oslo": {"data" : ")Europe/Berlin"}, "Warsaw": {"data" : "+3 wF,P)#ii#)#% wF,P)#T#)15 11%#))>#!%1 #)5%) %\'7)^%11\'\'73^%1 #)3b9 A) \'13b1 #1)^11/)-% 1)3\'13b1 #1)^11x)-!#1 1A$#\'7)^%11\'\'73^%1 z#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 #)5% 1r0#\'13b1 #1)^11*##1)-11 #)511 %#)):# 1 #)7% %#1)Y 1 #15=1 %#1+111 +75%=1 \'#1)j11%#1)I11A#1-))1 \'53\'=) #1\'>#)1%#1+B#)1 +75%=) \'#1)-)1%/5+\'=)1++53\'=) W)#% 15 /7)%=)1/#53\'=) %#15%) %d53\'=) [ 5\'\'=)1?)#% 11O/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "} , "Berlin": {"data" : "++ V:oq%#@k#))% 1M!##))>#!%1 #)5%) %\'7)^%11\'\'73^%1 z#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 %#13b1 #)+ 1- #)+A #)3[ #17j1 \')#% 1A #1)Y11 #15=1 %+75%=1 +#1)991 #1+M1A #)-:#91%#1)j11%#1)I11D#)#% 15//\')%=)1+# 5%) %d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Lisbon": {"data" : "+1 ,8Z{##yi#)#% ,8Z{##8# #% g#1#)-f!%1 #)7%) %#1%6#!%1 315Y!% /#1\'%!%1%#1%6#!%1%#1%:#!%1%#1%6#!%1-#1)b!%1 #15Y!% )#1)f!%1 /75%9!% +#1)E!%1%#1)Y!%1%#1)r!%1)#1)j!%1 \'75%9!% #1))!%1)#1)=!%1 375%9!% /#1\'>#!%1%#1)j!%1%#1)-!%1%#1\'.#!%1%#1)^!%1 #17j!% %#1%&#!%1 \'155!% #1)5!%1%/7\'A9!%1/#1)*#w#A #11^w#1 /75 !% +#1)fw#A +71*#9w#1\'\'7)v9w#A%#7)%9!%1 #75%9!% %l7)%=11ll75%=1 \'))-1 1#K)3.#) I<#l7)%=11ll75%=1 Q#1\'2# 1 #13*# %\'7)%= 1\'#15% %/53\'=) +#5\'\'= 1%\'5\'\'=)1%#5\'\'=11#13*#) -;/7)%=)1\'d53\'=) [ 5\'\'=)1O132#) 11`/" + "\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) # \'B#) -hd%3\'=) [ %\'\'=)1^ %5\'=) "}, "Athens": {"data" : "+- Vwu(+#Hk#)3Y Vwu(+#x)/6#ec6# A-b#)/= 1 #)3% E#))= 1#))># 19G#)/= 1 #)3% E#))= 1%#)7)9 %#)\'># 1 #)51 \'))1 A^\'#)\'># 1 #)51 E#)/% 1 #)7) !##1)Q 1 #17.# %#1)M11 #15I1 %\'7)%=11\'#13.#1 %#)3&#A %#))%j1 #)3:#1 %#))% 1 #)36# \')#% A13/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Podgorica": {"data" : ")Europe/Belgrade"}, "San_Marino": {"data" : ")Europe/Rome"}, "Simferopol": {"data" : "+? 6c>>/#ii#)#% :@@#1 b##15.#1 Q# "} , "Bratislava": {"data" : ")Europe/Prague"}, "Stockholm": {"data" : ")Europe/Berlin"}, "Prague": {"data" : "+/ J4B*\'#Lg#)#% J4B*\'#m#)5% 1M*##))>#!%1 #)5%) %\'7)^%11\'\'73^%1 z#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 %#13b1 #)+E 11 #7)%%11 #15%1 %#1+911 /75%=1 -)9%931#\')%!#1 11\'#1+911 /75%=1 +\'7)^=11%#1)E11@#)#% 15+/\')%=)1+# 5%) %d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Uzhgorod": {"data" : ")Europe/Kyiv"}, "Astrakhan": {"data" : "+3 _Zu<5#am#)+% Q#;)-v bAG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11v1\'.#1 Q-C/))% 1 O53\'=1 K,#5\'\'=11n1\'B#1 b#\'1\':#1 Q1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 b#/15.#1 Q#+1\'2#1 b# "} , "Budapest": {"data" : "+- wo4*)#4k#)7% 11.##))>#!%1 #)5%) %\'7)^%11\'\'73^%1 #)#% 1- \'))^11\'+/3^%9 #))511x))=!% 1=\'#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 %#13b1 #)#% 1j4#+/3^%9 #))511*##)+%!%1 #)7%) %#1\'B#11 #)5=1 %+7)1=11++75%=1 5#)+!# 1 #)5- %#)+z11 #)5)9 %\'/-%=11\'\'-3\'=9 !##))9 1 #)36#) %+-\'\'= 1++-3\'=) \')#% 11?/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Madrid": {"data" : "+) T(@j#ak# #% bf#))^!%1 \'159*% #))9!%15#))b!%1 #151*% )#))f!%1 /75%9*% +#))E!%1%#))^ 1%#))r!%1A#)-b!%1 #15)*% %#)))!%1 #))>#!%A #)5- 1%#15=*% \')\'b!% 1^\'#15=*% -#)+)!%1 #)3%) %//)U9!%1/\'/5%=) %\'-3\'=) -#))>#!%1 #)5)) *#\'/)Q9!%1\'\'/5%=) %#)\'2#!%1 \'-3\'=) #)))!%1%#1))11 #15%1 \')#% 15+/\')%=)1+# 5%) %d%3\'=) [ %\'\'=)1^ %5\'=) "} , "Vaduz": {"data" : ")Europe/Zurich"}, "London": {"data" : "++ ei(\'#@g#)9% Z%!\'#1+v11 #15%1 %#1)A11 #13f1 %#1\' #13>#1 %#1\'>#11 #13:#1 %#1\'6#11 #15*#1 %#1)-11 #15-1 %#1\'.#11 #15A1 %#7)b=11 \'73b=1 #7)E=11%\'7)b=11\'W75)=1 O#7)E=11%\'7)b=11%#7)E=11%\'7)b=11%#7)E=11%#7)b=11%#7)E=11%\'7)b=11%#7)E=11%#7)b=11 #77b=1 %#7%!#=11%#7+)=)A +71E=)1\'+7))=)A #73b=)1%#7))%)A #7/E=)1 \'75)=1 #7)E=11%#1\'b11 #1)U)A #11I)1 #17)1 %#1\'Y11 #15B#1 %#1)-11 #15>#1 %+7)Y=11++75v=1 %#7)b=11 ?75)=1 ;#7)E=11%\'7)b=11%#7)E=11%\'7)b=11%#7)E=11%+5\'\'=11+?75!#=1 3/7\'n=11%#1%j11#)52# 1#/ 5B#1 =K?75!#" + "=1 #1%j111C7\'b=11CC75!#=1 %[%\'\'=)1[C\'5!#=) %7\'5z=) \')#% -hd%3\'=) [ %\'\'=)1^ %5\'=) "}, "Vilnius": {"data" : "+? smaH+#ii#)#% wF,P)#]#)#% _*e,+#+)5I 1#\')/Q A##)5E 1#t)1- Q#\')-&# 19\'#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 #)1% QA$##)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11v1\'.#1 A-C/))% 1 O53\'=1 K,#5\'\'=11n13:#1 A1[/7)%=11\'d53\'=1 [ 5\'\'=11^ 55\'=1 +)#% A## \':#) 1-pd%3\'=) [ %\'\'=)1^ %5\'=) / 5B#) A#3)#% A-(#d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Isle_of_Man": {"data" : ")Europe/London"}, "Sofia": {"data" : "+5 gJ{})#ii#)#% !i>:-#[)7># A#,%)7)9 1=+#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 %#13b1 #)#% 1##)))9 A#P#)\'B#!% A5 #)\'B#!%1 #)5%) %+/)%9!%1+#)3:#) %#)32#1 \')3.#9 A-7/7)%=11\'d53\'=1 [ 5\'\'=11K)#% A1[//)%= 1\'d-3\'= [ -\'\'= 1^ -5\'= \')#% A-ld%3\'=) [ %\'\'=)1^ %5\'=) "}, "Kirov": {"data" : "+1 J42_5#Lm# /% Q#O)-v bAG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11v1\'.#1 Q-C/))% 1 O53\'=1 K,#5\'\'=11n1\'B#1 b#\'1\':#1 Q1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 b#/15.#1 Q# "} , "Tallinn": {"data" : "+; ke*>+#ii#)#% ke*>+#a#)%% 11+#))>#!%1 #)5%) %\'7)^%11\'\'73^%1 \')/% ke*>+#+)+% A#p)19 Q#\')3^ 19\'#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 #)3z QA$##)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11v1\'.#11A##13 A1S/7)%=11\'d53\'=1 [ 5\'\'=11^ 55\'=1 +)3z A-pd%3\'=) [ %\'\'=)1^ %5\'=) /)5B#A A#/)%v A-$#d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Moscow": {"data" : "+7 !DT&1#ii#)#% !DT&1#X#)/- >V*,1=%#)/%!%1 #)96# %#)+B#w#A #)3b)1%#)+B#!%A # /% 1 #)1b # /% QE\'#)+B#w#A #)3b)1%#)+B#!%A # /% 1 #)1b )#)%Y!%1 #)\'r!%A #)3% 1 #)5% #)5% Q=+#)+B#!%A # /% 1 #)1b )#)%Y!%1 #)\'r!%A #)3% 1 #)5% \')5% A#C)-v QAG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 A-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 Q1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 b#/15.#1 Q# "} , "Malta": {"data" : "+) V!2,\'#@k#)7) 1N#!##)-1 1 \')5% #))% 1%#)\'I 1 #)5= %#)\') 1 #)55 %#)\'v 1 #)3n r#)-^ 1)#17)1 %#1\':#11 #1511 %#1))11 #13f1 %#)))11 #)3^) %#1\'f11 #1591 %#1\'b 1 #155 %#1%:#11 #15-1 j+7+z= 1+#)3*# %+73z= #1-% 1%#1+B# 1 #53\'= %\'7+z= 1\'#53\'= %#15% %#1-- 1 \'53\'= %)\'B# 1= #1\'B# 1 #13:# %#1)v 1 #13b %3/)^=1137/3^=1 #)\'B#11\')#% 113/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Busingen": {"data" : ")Europe/Zurich"}, "Amsterdam": {"data" : ")Europe/Brussels"}, "Andorra": {"data" : "+) 6*{=#ak#)#% #}#)3># 1#e#)\'B#1 11C/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Riga": {"data" : "+? .g*2+#ii#)#% .g*2+#a#))^11.g*2+##)3b9 .g*2+#\'))%11.g*2+##)+z9 .g*2+#?)+M A#[)15 Q#\')/% 19\'#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 #)5U QA$##)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11v5\'\'=11A##53\'=1 A) ?5\'\'=11??53\'=1 \')#v A-ld%3\'=) [ %\'\'=)1^ %5\'=) 3)%:# A#\')#) A-|d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Vienna": {"data" : "+1 V*.P\'#@k#))% 11!##))>#!%1 #)5%) %\'7)^%11\'\'73^%1 +)#% 1) #1)511 #13U1 t1)%1 1E$#\'7)^%11\'\'73^%1 z#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 %#13b1 #1))111##1)Q1 1#\')#% 1E0##1)511 #13U1 .##1)Y11 #15=1 %\'75%=1 \'#1)911%#1)j11F##))9 1 #)36# \')#% 113/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "} , "Helsinki": {"data" : "+) _B,B+#ai#)+B# _B,B+#u#)+% A1v#))- 1 #)51) c#\'-\'\'=11\'\'-3\'=9 \')#% A1;/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Minsk": {"data" : "+3 FZsu+#ii#)#% *D6u+#y#)+) A#;)-v Q#O)-6# 19\'#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 #)/- QA$##)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11r)#% Q#\'1\'B#1 A1K/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 Q# "}, "Kaliningrad": {"data" : "+/ .V2F)#@k#))% 1M!##))>#!%1 #)5%) %\'7)^%11\'\'73^%1 z#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 %#13b1 #))I A9\'#1)-11 #)511 %#)):# 1 #)7% %#1)Y 1 #15=1 #))= QA,##)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11v1\'.#1 A1C/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 Q#/15.#1 A# "} , "Ljubljana": {"data" : ")Europe/Belgrade"}, "Mariehamn": {"data" : ")Europe/Helsinki"}, "Skopje": {"data" : ")Europe/Belgrade"}, "Tirane": {"data" : "+) *,Z8)#8m#)#% 1#0#)-b 1*# #)-b 1)#)7)9 %#)\':#11 #))I9 B##)+1 1 #)5) %#)+% 1 #)5) %#)+) 1 #)5- %#)+A 1 #)5) %#)+9 1 #)5% %#)+5 1 #)3># %#)+- 1 #)51 %#)).# 1 #)32# %#)+) 1 #)5- %#))j 1 #)5% %#))% 1#)/% 11?/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Guernsey": {"data" : ")Europe/London"}, "Volgograd": {"data" : "+7 V6(R3#Pm#)#- Q#K)-v b#D#)7M bAi##)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11z1\'2#1 Q-?/))% 1 O53\'=1 K,#5\'\'=11n1\'B#1 b#\'1\':#1 Q1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 b#/15.#1 Q#3156#1 b#+192#1 Q# "} , "Paris": {"data" : "+/ _N&O#8k#)\'b _N&O#t)\'M >#5#1-Y!%1 /75%=!% +#1\'&#!%1%#1\'E!%1%#1\'%!%1%#1%Y!%1 #15!#!% %#1\'Y!%1 #15*#!% %#1\'*#!%1 d75%9!% `#1+.#!%1%#1\':#!%1%#1)1!%1%#1)f!%1%#1)E!%1%#1)Y!%1%#1)r!%1%#1)Q!%1%#1)j!%1%#1))!%1%#1\'*#!%1%#1)=!%1%#1\'>#!%1%#1)j!%1%#1)-!%1%#1\'.#!%1%#1)^!%1 #17j!% %#)%*#11#)-Y!% 1A$#\'7)^%11\'\'73^%1 z#1)%11)#17)1 %#1\':#11 #1511 %\'7)%%11\'#15)1 #)1*# 9\'#)\':#1A #)5191%#))-1A #)5A)1%#)))1A #)3b9 #)3b9 19\'#))-1A #)5A)1%#)))1A #)3b9 B##)\'6#)1 #)3.#) \')#% 19 /\')%=)1/#%3\'=) %# 5%) %d%3\'=) [ %\'\'=)1^ %5\'=) "} }, "Africa": {"Tunis": {"data" : "+\' k$J2%#mi#)+Q _N&O#@#)\'M 1*#6##1)^!%1 #17j!% %#1%*#!%1%#)59 %#)\'E 1 #)7)9 %#)\':#11 #))f1 #))*#11 #)511 %\'/)%%11\'#)5A %#)3b F##1)># 1 #13&# %#1+% 1 #15% I#1-% 1 +53\'= \'#1\'.# 1%#1+% 1^#1+% 1 #13>#) %+5\'\'=11++55\'=1 "}, "Maputo": {"data" : "+% &ZB}-#ik#)\'% A# "}, "Casablanca": {"data" : "++ qJkZ##4m#)5.# ^.##)3Q 1 #)7n %#)%*# 15#)7j 5#)-M 1 #)5:# f#)-- #)5% =#)-&# 1 #)3% )\')+% 1\'#)1% %#)36# %#)-% 1 #)11 ;)\'b 1#+)#% 6#C#)-% 1 #)11 >##)-% 1 #)3% %#)-% 1 #)1v %#)+) 1 #)1A %#))- 1 #)/B# %\'-)\'=11\'#)/r9 #)1r11 #)3>#9 %#)/=9 #)1I11 7-5\'=9 33-\'\'=113#)-6#9 #)1)11%#)-Y9 #)/n11%#)-59 #)/I11%#)+v9 #)/)11%#)+U9 #)-f11#)56#9 1J-77-5\'=9 33-\'\'=11\'#)+v9 #)/)11%#)+U9 #)-f11%#)+593 #)-E1 %#))n93 #)+B#1 %#))M93 #)+b1 %#)\'2#93 #)+A1 %#)\'n93 #))!#1 %#)\'I93 #))Y1 %#)%!#93 #))91 %#)%^" + "93 #)\'z1 %#)%=93 #)\'Y1 %#)#!#93 #)\'51 %#)#Y93 #)%j1 #)9>#93%#)%I1 #)9z93%#)#.#1 #)9Y93%#)#j1 #)76#93%#)#E1 #)7r93 #)9*#1 %#)7593 #)9f1 %#)56#93 #)9E1 %#)5n93 #)7!#1 %#)5193 #)7^1 %#)3.#93 #)5B#1 %#)3j93 #)5!#1 %#)3)93 #)5Y1 %#)1*#93 #)3:#1 %#)1I93 #)3v1 %#)1)93 #)3U1 %#)/] #)16#1 %#)/E93 #)1r1 %#)/%93 #)151 %#)-!#93 #)/6#1 %#)-=93 #)/n1 %#)+>#93 #)/11 %#)+^93 #)-.#1 %#)+=93 #)-j1 %#))6#93 #)-)1 %#))U93 #)+*#1 %#))593 #)+I1 %#)\'6#93 #)+)1 %#)\'Q93 #))!#1 %#)\'193 #))A1 %#)%f93 #)\'B#1 %#)%E93 #)\'!#1 %#)" + "%%93 #)\'=1 %#)#b93 #)%2#1 %#)#A93 #)%Q1 #)9B#93%#)%11 #)9b93%#)#2#1 #)9=93%#)#M1 #)7z93%#)#-1 #)7Y93 #)9.#1 %#)7993 #)9M1 %#)5v93 #)9)1 %#)5U93 #)7f1 %#)5593 #)7E1 %#)3r93 #)7%1 %#)3M93 #)5b1 %#)12#93 #)5A1 %#)1n93 #)3>#1 %#)1M93 #)3^1 %#)/.#93 #)391 %#)/j93 #)1z1 %#)/I93 #)1Y1 %#)-*#93 #)191 %#)-b93 #)/v1 %#)-%93 #)/U1 %#)+] #)-6#1 %#)+b93 #)-r1 %#))>#93 #)-M1 %#))z93 #)+2#1 %#))Y93 #)+n1 %#)\'>#93 #)+M1 "}, "Johannesburg": {"data" : "+\' s40!-###)-% 1 #)3% %#)-% 1 #)1v %#)+) 1 #)1A %#))- 1 #)/B# %\'-)\'=11\'#)/r9 #)1r11 #)3>#9 %#)/=9 #)1I11 7-5\'=9 33-\'\'=113#)-6#9 #)1)11%#)-Y9 #)/n11%#)-59 #)/I11%#)+v9 #)/)11%#)+U9 #)-f11#)56#9 1J-77-5\'=9 33-\'\'=11\'#)+v9 #)/)11%#)+U9 #)-f11%#)+593 #)-E1 %#))n93 #)+B#1 %#))M93 #)+b1 %#)\'2#93 #)+A1 %#)\'n93 #))!#1 %#)\'I93 #))Y1 %#)%!#93 #))91 %#)%^93 #)\'z1 %#)%=93 #)\'Y1 %#)#!#93 #)\'51 %#)#Y93 #)%j1 #)9>#93%#)%I1 #)9z93%#)#.#1 " + " #)9Y93%#)#j1 #)76#93%#)#E1 #)7r93 #)9*#1 %#)7593 #)9f1 %#)56#93 #)9E1 %#)5n93 #)7!#1 %#)5193 #)7^1 %#)3.#93 #)5B#1 %#)3j93 #)5!#1 %#)3)93 #)5Y1 %#)1*#93 #)3:#1 %#)1I93 #)3v1 %#)1)93 #)3U1 %#)/] #)16#1 %#)/E93 #)1r1 %#)/%93 #)151 %#)-!#93 #)/6#1 %#)-=93 #)/n1 %#)+>#93 #)/11 %#)+^93 #)-.#1 %#)+=93 #)-j1 %#))6#93 #)-)1 %#))U93 #)+*#1 %#))593 #)+I1 %#)\'6#93 #)+)1 %#)\'Q93 #))!#1 %#)\'193 #))A1 %#)%f93 #)\'B#1 %#)%E93 #)\'!#1 %#)%%93 #)\'=1 %#)#b93 #)%2#1 %#)#A93 #)%Q1 #)9B#93%#)%11 #)9b93%#)#2#1 #)9=93%#)#M" + "1 #)7z93%#)#-1 #)7Y93 #)9.#1 %#)7993 #)9M1 %#)5v93 #)9)1 %#)5U93 #)7f1 %#)5593 #)7E1 %#)3r93 #)7%1 %#)3M93 #)5b1 %#)12#93 #)5A1 %#)1n93 #)3>#1 %#)1M93 #)3^1 %#)/.#93 #)391 %#)/j93 #)1z1 %#)/I93 #)1Y1 %#)-*#93 #)191 %#)-b93 #)/v1 %#)-%93 #)/U1 %#)+] #)-6#1 %#)+b93 #)-r1 %#))>#93 #)-M1 %#))z93 #)+2#1 %#))Y93 #)+n1 %#)\'>#93 #)+M1 "}, "Sao_Tome": {"data" : "++ kmFJ##yi#)#% ,8Z{##8# #% #]))#%) 1#\')#%1 # "}, "Ceuta": {"data" : "+3 P*J.##ak# #% #h)+9!%1 ##)5=!% #;)#% E;\'159*% #))9!%15#))b!%1 #151*% )#))f!%1 /75%9*% +#))E!%1%#))^ 1%#))r!%1#)#% #a#)#% E #)-- #)5% =#)-&# 1 #)3% )\')+% 1\'#)1% %#)36# %#)-% 1 #)11 ;)\'b 1#+)#% 11G/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "} , "Khartoum": {"data" : "+) Vwq{-#}m#)#% A1c##)+% 1 `)5^ [#))># 1%W-)\'= 1`)#^&# Q#h)7% A# "}, "Algiers": {"data" : "+5 6g(^#8k#)\'b _N&O#t)\'M M5#1-Y!%1 /75%=!% +#1\'&#!%1%#1\'E!%1%#1\'%!%1%#1%Y!%1 #15!#!% %#1\'Y!%1 #1-v!% j#13M!%1 #)7n) \')%*#1 15\'#13M!%1 #)7n) 5\'/)%%11\'#)5A1 %#)3b) \')5= #K)#:# 1#?))Y 9p\'/)%%11 #)3b) .##1)*#!%1 #13.#!% 9#)+9 1 #)5v #)5v 19;#1)*#!%1 #13.#!% 9#)+9 1 #)5v %#)\'&#)1 #)3z9 \')5.# 1\'#)\'&#)1 #)3z9 )#))*# 1 #)5B#1 \')+% 1# "}, "Bangui": {"data" : ")Africa/Lagos"} , "Bujumbura": {"data" : ")Africa/Maputo"}, "Gaborone": {"data" : ")Africa/Maputo"}, "Juba": {"data" : "+) .&oi-#}m#)#% A1c##)+% 1 `)5^ [#))># 1%W-)\'= 1`)#^&# Q#x)%% A# "}, "Dar_es_Salaam": {"data" : ")Africa/Nairobi"}, "Windhoek": {"data" : "+- Z$__\'## 1%#)#% /)#% A#$#)#% 1A0##)#% .#+))% 1+/)5% #))9 1%#))1 1 #)5- %+))% 1++)5% \')+1 A#;)3># 11G+))% 1++)5% A#))1 1 #)51 #)51 A#`)7I1 11`#))1 1 #)51 b#-\'\'5)1 #-5\'51 #)5*#1 A# "} , "Libreville": {"data" : ")Africa/Lagos"}, "Malabo": {"data" : ")Africa/Lagos"}, "Abidjan": {"data" : "+% uqip#0m#)#% # "}, "Luanda": {"data" : ")Africa/Lagos"}, "Lome": {"data" : ")Africa/Abidjan"}, "Nouakchott": {"data" : ")Africa/Abidjan"}, "Bissau": {"data" : "+\' Dya@\'#0m# #%) 3#i%)#% # "}, "Asmara": {"data" : ")Africa/Nairobi"}, "Kinshasa": {"data" : ")Africa/Lagos"}, "Asmera": {"data" : ")Africa/Asmara"}, "Timbuktu": {"data" : ")Africa/Abidjan"}, "Mogadishu": {"data" : ")Africa/Nairobi"}, "Djibouti": {"data" : ")Africa/Nairobi"}, "Douala": {"data" : ")Africa/Lagos"}, "Kampala": {"data" : ")Africa/Nairobi"}, "Dakar": {"data" : ")Africa/Abidjan"}, "Cairo": {"data" : "+% VcVc-#]k#)5% AN#g##)/^ 1 #)5% %#))^ 1 #)3b %+))% 1+#)52# %+)7% #))b 1Q#)+I 1 \')5% #)+% 1%|)+%)1|;)3>#9 %8#)5%9 S#)/*#)1%#)/Q)1%3)+%)1%#)+9)1%3)+%)1%`5)\'5 1`K-5%5 %#)3z %#/3)5 %#-3%5 %#)1v %#)1M #)3I 1 #-5%5 1#)+b 1 #)-2# #)1% 1 #-5%5 E -)\'5 1 -7%5 "}, "Blantyre": {"data" : ")Africa/Maputo"}, "Monrovia": {"data" : "+) L8B>%#qi#)#% L8B>%#]#)\'% u8eD%#@%)#= # "}, "Mbabane": {"data" : ")Africa/Johannesburg"}, "Bamako": {"data" : ")Africa/Abidjan"}}, "Canada": {"Yukon": {"data" : ")America/Whitehorse"}, "Mountain": {"data" : ")America/Edmonton"}, "Pacific": {"data" : ")America/Vancouver"}, "Central": {"data" : ")America/Winnipeg"}, "Eastern": {"data" : ")America/Toronto"}, "Newfoundland": {"data" : ")America/St_Johns"}, "Saskatchewan": {"data" : ")America/Regina"}, "Atlantic": {"data" : ")America/Halifax"}}, "Asia": {"Tashkent": {"data" : "++ {TJq=#am#)+) r#;)-v %/))% 1/+)5% %O53\'=1 K,#5\'\'=11n)\'B#1 r-K/))% 1 O53\'=1 K,#5\'\'=11j)#% r# "}, "Beirut": {"data" : "+% Zq,Z/#ii#)#% A&#g##)\'6# 1 #)5*# %#))- 1 #)5- %#)\'.# 1 #)5A %#))z 1 #)3b N#3)+% 133)5% M#)-z 1 7)5% 33)+% 1%#))># 1 #)3># 9/)+% 1/?)5b /#)-% 1%#)+I 1%+)+% 1 #)51 % -\'\'= 1 7-3\'= % -5\'= "}, "Hong_Kong": {"data" : "+- _Z(NQ#mk# 5:#N# F##]#)-^91F###)5%A)F###)9*# V##3)7j1 F#Y%#))v 1 #19%= %#1)U=1 #17>#= %#1+)=1 3756#== /3/)%==1 O/5B#== KK/\'j==1%O/)b==1OO/5b== /#)9>#=19#)+U=1 #)5v= "} , "Kabul": {"data" : "+\' {(Po=#4k#)#% b#H%)#% j# "}, "Chita": {"data" : "+1 &:*@Q#Lm#)9^ F##O)-v V#AG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 F#-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 V#1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 g##/15.#1 F##+)\'2#1 V## "}, "Baku": {"data" : "+/ s8_a5#am#)+) Q#L#)\'% b1&#/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 Q-K/))% 1 O53\'=1 K,#5\'\'=11j53\'=1 b#3)#% b-` %\'\'=)1+d%3\'=) % %5\'=) \')#% b) l-\'\'=A1ll-5\'=I "}, "Kathmandu": {"data" : "+\' k}Je!f#Xm#)7I w##C)-v *%AG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 w#-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 *%1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 #1\'6#1 w#-0#O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 *%# "}, "Istanbul": {"data" : ")Europe/Istanbul"}, "Nicosia": {"data" : "+\' s}(0/#Tm#)7Y AEB%#))U 1 #)5Q %#)+^ 1 #)5M %//)%= 1/#)3*# %#)5) %l-3\'= dh-\'\'= 1#)3% A-h %\'\'=)1+d%3\'=) % %5\'=) "}, "Pontianak": {"data" : "+3 2$@JO#}k#)+% 2$@JO#(#)7% >##K)#:# V##/)3!# >##/)+% F##+)+% >##[)#% F##(#)#% 6## "}, "Qostanay": {"data" : "+5 6!J];#am#)+) b#;)-v r#8%))% 1r##)5% &##\'))% r1\'/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 b-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 r1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 915B#1 &##t)\'% r# "} , "Kuala_Lumpur": {"data" : ")Asia/Singapore"}, "Hanoi": {"data" : "+1 Ra{aM#uk#)/% J# r#t)\'.# r5B##/))= 1 #/5)= 9#)-% 1 \')7% #))^ 1 "}, "Aden": {"data" : ")Asia/Riyadh"}, "Irkutsk": {"data" : "+1 !8FBM#ii#)#% !8FBM#i#)#*# 6##K)-v F#AG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 6#-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 F#1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 V##/15.#1 F## "} , "Hovd": {"data" : "+\' c@w]G#qk#)1% &##4\')#% 6#E5\'))% 1\'#)5% )W-\'\'= 1[[-3\'= -#-)\'911 7-3\'91 33-\'\'911E\'-\'\'911\'\'-3\'9 "}, "Katmandu": {"data" : ")Asia/Kathmandu"}, "Ashkhabad": {"data" : ")Asia/Ashgabat"}, "Samarkand": {"data" : "+/ 6gPB=#am#)+) b#;)-v r#8%))% 1r##)5% &##\'))% r1\'/))% 1/+)5% %O53\'=1 K,#5\'\'=11j)#% r# "}, "Thimphu": {"data" : "+\' V{26G#ao#)1^ z#i#)5% &## "}, "Ujung_Pandang": {"data" : ")Asia/Makassar"}, "Muscat": {"data" : ")Asia/Dubai"}, "Amman": {"data" : "+\' *LFc/#}m#)#% AF#o##)-9 1 +)5% \'/)+% 1\'#)7% %#)5% %#))># 1 #)3># =#))% 1 #)5% %+/)%5 1+3/5%5 \'#)+A 1%#))2# 1%#))f 1 #)32# %#))I 1 \'/5%5 7/)%5 13#/3^5 %/73^5 %#1/% 1 /53\'5 +\'5\'\'1 1%K-)%5 1G#15&# %#15^ %#53\'5 %755\'5 )#)9r %?-)%5 1?C55\'5 #-\'%5 1#156# Q# "}, "Choibalsan": {"data" : "++ :(# %//+%= 1///3j= \')1I V#13//+%= 1///3j= 2#\'/+A=11\'\'/5A=9 "}, "Hebron": {"data" : "+- oN.R/#]k#)5% AEg## +B#*%1 # 3>#*% # 7b*%1)3 5B#*% /\' \'B#*%1%\' )^*%1)# +z*%A # 1B#*%1 \' 5B#*% %)+^ A9E#)+I 1 \')5% #)+% 1%C)+%)1C;)3>#9 %#)5%9 \')-5 AN#K# )2#*%1 # 3v*% f#)/= 1 #)5U %#))r 1 #)1B# 5#11)*%1 #13U*% 1#1+5*%1 #11*#*% %#))Y 1 #)3% %#)+j 1 #)3= %#))^ 1 #)3U %#))I 1 #)31 %#))># 1 #)3- %#)\'*# 1 #)1.# %#)\'&# 1 #)3% %#)\':# 1 #)39 %#))) 1 #)35 %#))% 1 #)16# %#)\'B# 1 #)3- %#)\'^ 1 #)3b #)#% A5/7/)%5 13#/3^5 %/73^5 %#1/% 1 /53\'5 -)#% Ak) ;/)^5 1;3/5^5 %#)5%) %#)511 %\'))% 1\'#)3z " + "%#)3U1 %\'-\'\'5 1\'#)3% %#)31) %#)\'.# 1 #)1M %#))%ec6#1 #)1% #)1># 1 #)3># %+-)%5 1+#)3v) %#)32# %#)5&# %#)\'6# 1 #)5!#) %+-\'>#9)1++-5>#9) %#)\':# 1 #-5>#9 %\'-\'>#9 1\'#)5&#) %#)5:#) %#)\'2# 1 W-5>#91 S#)):#11%#))r11%#))Q11%8#-\'>#911l#)5j1 %#)5I1 %#)3*#1 %#)3f1 %#)3%1 #)5r11 4#-5>#91 0##)1 #)5511%#)1b1 #)32#11%#)1%1 #)3n11%#)/!#1 #)3-11%#)/^1 #)1.#11%#)->#1 #)1j11%#)-z1 #)1-11%#)-91 #)/*#11%#)+:#1 #)/I11%#)+v1 #)/)11%#)+91 #)- %#))2#1 #)-A11%#))Q1 #)+B#11%#))11 #)+!#11%#)+A11%#)):#11%#)" + ")Y11%#))911% -\'>#911E#)5r1 %#)5Q1 %#)511 %#)3n1 %#)3I1 #)5z11 -5>#91 %#)3)1 #)5Y11%#)1j1 #)5911%#)1I1 #)3v11%#)/*#1 #)3Q11%#)/f1 #)3111%#)/E1 #)1r11%#)- #)1Q11%#)-^1 #)/2#11%#)-=1 #)/n11%#)+!#1 #)/M11%#)+^1 #)-.#11%#)):#1 #)-f11%#))v1 #)-E11%#))U1 #)+*#11 "}, "Yekaterinburg": {"data" : "+1 >F&!;#@m#)/- s<}&9#/)/^A b#O)-v rAG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 b-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 r1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 &##/15.#1 r# "} , "Famagusta": {"data" : "++ k]o:/#Tm#)7Y AEB%#))U 1 #)5Q %#)+^ 1 #)5M %//)%= 1/#)3*# %#)5) %l-3\'= dh-\'\'= 1#)3% A-h %\'\'=)1+d%3\'=) % %5\'=) t)3A Q#\' 5:#) A-X# %\'\'=)1+d%3\'=) % %5\'=) "}, "Tel_Aviv": {"data" : ")Asia/Jerusalem"}, "Kuwait": {"data" : ")Asia/Riyadh"}, "Calcutta": {"data" : ")Asia/Kolkata"}, "Urumqi": {"data" : "+% .BmiE#qm#)#% &## "}, "Shanghai": {"data" : "+\' {eZ$U#ak#)#% F#Yj#))U 1 #)5% v#)-% 1 #)5U %#)\'^ 1 #)7) %#)#B# 1-#)3) %#)+^ 1 #)5% %#))^ 1 #)7% %\')+% 1\'\')5% #)+6# F#-Z##)+111 7/3M=1 33/)M=11 "} , "Atyrau": {"data" : "+3 .J4.7#am#)+) Q#;)-v r#8%)5% &##\'))% r1\'/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 b-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 r1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 M1\'6#1 b-`O53\'=1 K,#5\'\'=11[[55\'=1 915B#1 r# "}, "Tbilisi": {"data" : "+7 Z8mX3#ii#)#% Z8mX3#y#)+) Q#L#)\'% b1&#/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 Q-K/))% 1 O53\'=1 K,#5\'\'=11j)#% Q)O -\'\'= 1+d-3\'= %-3\'= b-W -\'\'= 1+d-3\'= % -5\'= #-5\'= 1b#\'-\'\'= b-d -\'\'= 1+d-3\'= % -5\'= C)-2# Q-tO53\'=1 K,#5\'\'=11[[55\'=1 5-\'\'=1 b# "} , "Anadyr": {"data" : "+1 &gL&n#am#)+) *%#;)-v :%9G#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %1)% *%Aa%#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 w#-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 *%1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 #1\'6#1 w#-0#O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 *%# "}, "Brunei": {"data" : ")Asia/Kuching"}, "Vientiane": {"data" : ")Asia/Bangkok"}, "Jakarta": {"data" : "+3 Za@uM#4i#)1I Za@uM#L% 9B#aiokU 6NuVO#G)7% >##K)\'!# V##/)3!# >##/)+% F##+)+% >##[)#% 6## "} , "Gaza": {"data" : "+9 F&yD/#]k#)5% AEg## +B#*%1 # 3>#*% # 7b*%1)3 5B#*% /\' \'B#*%1%\' )^*%1)# +z*%A # 1B#*%1 \' 5B#*% %)+^ A9E#)+I 1 \')5% #)+% 1%C)+%)1C;)3>#9 %#)5%9 \')-5 AN#K# )2#*%1 # 3v*% f#)/= 1 #)5U %#))r 1 #)1B# 5#11)*%1 #13U*% 1#1+5*%1 #11*#*% %#))Y 1 #)3% %#)+j 1 #)3= %#))^ 1 #)3U %#))I 1 #)31 %#))># 1 #)3- %#)\'*# 1 #)1.# %#)\'&# 1 #)3% %#)\':# 1 #)39 %#))) 1 #)35 %#))% 1 #)16# %#)\'B# 1 #)3- %#)\'^ 1 #)3b #)#% A5/7/)%5 13#/3^5 %/73^5 %#1/% 1 /53\'5 -)#% AE ;/)^5 1;3/5^5 %#)5%) %#)511 %\'))% 1\'#)3z %" + "#)3U1 %\'-\'\'5 1\'#)3% #)1:# A##)3% A=+\'))% 1 #)3U1 %\'-\'\'5 1\'#)3% %#)31) %#)\'.# 1 #)1M #)#% A##)\'2#ec6# AA+\'-\'\'5 1 #)31) %#)\'.# 1 #)1M %#))%ec6#1 #)1% #)1># 1 #)3># #)1% A#\')#% A:)\'#))%ec6#1 #)1% #)1># 1 #)3># %+-)%5 1+#)3v) %#)32# %#)5&# %#)\'6# 1 #)5!#) %+-\'>#9)1++-5>#9) %#)\':# 1 #-5>#9 %\'-\'>#9 1\'#)5&#) %#)5:#) %#)\'2# 1 W-5>#91 S#)):#11%#))r11%#))Q11%8#-\'>#911l#)5j1 %#)5I1 %#)3*#1 %#)3f1 %#)3%1 #)5r11 4#-5>#91 0##)1 #)5511%#)1b1 #)32#11%#)1%1 #)3n11%#)/!#1 #)3-11%#)/^1 #)1.#11%#)->#" + "1 #)1j11%#)-z1 #)1-11%#)-91 #)/*#11%#)+:#1 #)/I11%#)+v1 #)/)11%#)+91 #)- %#))2#1 #)-A11%#))Q1 #)+B#11%#))11 #)+!#11%#)+A11%#)):#11%#))Y11%#))911% -\'>#911E#)5r1 %#)5Q1 %#)511 %#)3n1 %#)3I1 #)5z11 -5>#91 %#)3)1 #)5Y11%#)1j1 #)5911%#)1I1 #)3v11%#)/*#1 #)3Q11%#)/f1 #)3111%#)/E1 #)1r11%#)- #)1Q11%#)-^1 #)/2#11%#)-=1 #)/n11%#)+!#1 #)/M11%#)+^1 #)-.#11%#)):#1 #)-f11%#))v1 #)-E11%#))U1 #)+*#11 "}, "Makassar": {"data" : "++ ..ZXS#Pm#)#% ..ZXS#S)7% F##K)%E V##/)3!# F## "}, "Ulaanbaatar": {"data" : "+\' gN0wM#qk#)1% 6##4\')#% F#E5\'))% 1\'#)5% )W-\'\'= 1[[-3\'= -#-)\'911 7-3\'91 33-\'\'911E\'-\'\'911\'\'-3\'9 "}, "Harbin": {"data" : ")Asia/Shanghai"}, "Vladivostok": {"data" : "+/ wga:Y#Xm#)7^ V##C)-v g#AG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 V#-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 g#1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 w##/15.#1 g## "}, "Qyzylorda": {"data" : "+9 w>a$=#am#)+) b#;)-v r#8%))% 1r##)5% &##\'))% r1\'/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 b-K/))% 1 O53\'=1 K,#5\'\'=11n13:#1 r-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 &#-O/))% 1 O53\'=1 K,#5\'\'=11j1\':#1 r1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 915B#1 &##[)9v r# "} , "Phnom_Penh": {"data" : ")Asia/Bangkok"}, "Riyadh": {"data" : "+% Vcg!5#ao#)\'Y Q# "}, "Ashgabat": {"data" : "++ ocmP9#am#)+) b#;)-v r16%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n)\'B#1 b-K/))% 1 O53\'=1 K,#5\'\'=11j)#n1 r# "}, "Aqtau": {"data" : "+3 R# V#1_%#/+)= 1 //3A92% +#/))= 1%\'/+)= 1 "} , "Novosibirsk": {"data" : "+3 o.kiC#Lm#)9YQ &##O)-v 6#AG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 &#-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 6#-O/))% 1 O53\'=1 K,#5\'\'=11f)+!# S/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 6##/15.#1 &##+1/ 6## "}, "Barnaul": {"data" : "+3 .6!{C#Lm#)9I &##O)-v 6#AG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 &#-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 6#-O/))% 1 O53\'=1 K,#5\'\'=11^)+6# [/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 6##/15.#1 &##+1\'2#1 6## "} , "Jerusalem": {"data" : "+\' N*HT/#ii#)#% *]oR/#a#)#% Ac\'z# +B#*%1 # 3>#*% # 7b*%1)3 5B#*% /\' \'B#*%1%\' )^*%1)# +z*%A # 1B#*%1 \' 5B#*% # )>#*%1%# )^*%1 # 3Y*% %# \'B#*%1 # 7I*% %# )n*%1 # 5j*% %# )M*%1 # 3Q*% %# -Q*%1 # 3M*% %# -M*%1 # 3I*% %# -)*%1 # 3:#*% %# )2#*%1 # 3v*% f#)/= 1 #)5U %#))r 1 #)1B# 5#11)*%1 #13U*% 1#1+5*%1 #11*#*% %#))Y 1 #)3% %#)+j 1 #)3= %#))^ 1 #)3U %#))I 1 #)31 %#))># 1 #)3- %#)\'*# 1 #)1.# %#)\'&# 1 #)3% %#)\':# 1 #)39 %#))) 1 #)35 %#))% 1 #)16# %#)\'B# 1 #)3- %#)\'^ 1 #)3b %#)\'v 1 #)3Y %#)\'r 1 #)" + "39 %#)))11 #)3-1 %#))Y11 #)59) %#))E)1 #)3&#) %#)\':#)1 #)5=) %#)\'6#)1 #)5-) %#))=)1 #)3z) %?-)%511?#)5E1 %#)5%1 %#)3b1 %#)551 %#)32#1 %#)3Q1 %#)5)1 %#)3!#1 % /\'!#511 -5\'=1 "}, "Kolkata": {"data" : "+1 {eRyE#]g#)-6# >Z4yE#d)#% 66u4C#X#)#% z#T#)5% 1z#\')+^ z##)3% 1z#/)5^ z# "}, "Kuching": {"data" : "++ gc2_O#im#)\'% >##?)#% F#));)3Y sH>(#;;)9Y \')%b V##/)3Q F## "}, "Dacca": {"data" : ")Asia/Dhaka"}, "Baghdad": {"data" : "+) V6(R3#4k#)#% g_uP3#8#)#% Q#m%)+% QA #)+% 1 +)5% \'#)\'B# 1%\'))% 1 753\'=) 335\'\'=)1%d1)%91dd15%9 "} , "Dhaka": {"data" : "+/ VkgDG#4k#)#% >Z4yE#8%)5% .##\')+^ z##)3% .##G)3># &##T%)#% &#) #)-n!%1 #)9B#eP(#6##/)#% 6NuVO#7)3% >##\')%b V##/)3Q >##X# 9B#F# F## "} , "Rangoon": {"data" : ")Asia/Yangon"}, "Damascus": {"data" : "+\' :m!k/#Pm#)#% Ak# //)^=11///5%=1 c##)):#11 #)5%1 %+)+%11+#)3>#1 %#)5%1 %#)3>#1 %#)) K)5%1 GO)+%11\'\')3%1 5\'))E11\'\')5%1 )#)%b11 #)5E1 %#)\'%11 \')5B#1 #)\'^11%#)\'B#11 #)5%1 %#))%11 #)3>#1 %#))% 1 \')5% #))A 1%#)\'.# 1 #)3*# %+))% 1+O)5% C\'-\'\'% 1%?))% 1 #)3z %#-\'\'5 1 #/7%5 %#/)%5 1 #)7% %#-\'\'5 1%\'/)%5 1%K-\'\'5 1WW-5\'5 #)56# Q# "}, "Taipei": {"data" : "+) 6s>&U#Lk#)#% F##m#)5% V##C)3v) F#^%#)+^ 1 #)5% %#))^ 1 #)7% %/)+% 1//)5% %#)\'% 1 +)7% \';))% 13;)5% \'\')-% 1U\'))% 1\'\')5% 1#)/% 1 #)5% "} , "Macau": {"data" : "+) :# F##]#)9v!% V#-%\'))>#!%1\'#)7f!% %#)3>#!% +)5% F#.#/\'))>#!%1 #)3>#!% -#1)>#!%1 #13>#!% %#1)n!%1 #17>#!% %#1+)!%1 #15B#!% %\'7)%9!%1\'\'55\'9!% %#1\'B#!%1 #156#!% %\'7)%9!%1\'#17%!% %\'55\'9!% +7\'f9!%1\'#175!% %C/7%== ??/\'j==1%C/)b==1C\'/5b=5 %G/5b== /#)9>#=1)\'/)b==1-#)+U=1 #/5b== "}, "Manila": {"data" : "++ (!48,##4g#)9B# J$FyS#H%)+M F#)Z##)7% 1%#)%% 7)+% V##+)7% F#5?#)%% f#))Q 1 #)/% &##)\'z 1 #)3v "}, "Ulan_Bator": {"data" : ")Asia/Ulaanbaatar"}, "Kashgar": {"data" : ")Asia/Urumqi"}, "Qatar": {"data" : "+\' >{8&7#Pm#)#% b#<%)-% Q# "}, "Bishkek": {"data" : "+- Z}g}?#am#)+) r#;)-v %/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 r-K/))% 1 O53\'=1 K,#5\'\'=11n)1B#1 r1%37)== 133-3\'= %C-\'\'=51C?-5\'=5 \')1Q &## "}, "Chongqing": {"data" : ")Asia/Shanghai"}, "Tomsk": {"data" : "+3 N>{4E#Lm#)9z &##O)-v 6#AG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 &#-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 6#1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 A)+%9 &#-lO53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 6##/15.#1 &##+1+:#1 6## "} , "Colombo": {"data" : "+3 ooR,C#ii#)#% N{q,C#0#)#% z#X#)#5 )z##)3% 1z#/)5b1 z#8%)+*# .###)5.#% &##K))^% z# "}, "Khandyga": {"data" : "+3 V&y&[#Lm#)9^ F##O)-v V#AG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 F#-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 V#1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 9)#% g#-tO53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 w###13U g##/15.#1 V## "}, "Dushanbe": {"data" : "++ .ZTg=#am#)+) r#;)-v %/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#11r##13E1 r# "}, "Magadan": {"data" : "+1 Ns<@b#am#)+) g##;)-v w#AG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 g#-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 w#1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 *%#/15.#1 g##+1) w## "}, "Pyongyang": {"data" : "+- s$8{U#}k#))% N##3)#% V##L#)1&# V##(\')1^ N##/)+1&% V## "}, "Tehran": {"data" : "++ BX:$7#@m#)#% BX:$7#p)-U Y-,##)#% w%#)\'v!%1 #)5v #)5v b=y%#)#% w%#)\'v!%1 #)5v %#)\'*# 1 #)15) %#)+2# 1 #)3n #)#% YZ#\'#)\'*# 1 #)15) %#)+2# 1 #)3n %#)\'v 1 #)3!# M#)+- 1%/)\'z 133)3z %#)\'v 1 #)3v %+)\'z 1++)3z %#)\'v 1 #)3v %+)\'z 1++)3z %#)\'v 1 #)3v %#)\'z 1 #)3z -#)\'v 1 #)3v %+)\'z 1++)3z %#)\'v 1 #)3v %+)\'z 1++)3z %#)\'v 1 #)3v %+)\'z 1++)3z %#)\'v 1 #)3v %\')\'z 1\'\')3z "} , "Sakhalin": {"data" : "+3 !$HX^#qk#)1!# V##i#)1*# w#A(##)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 g#-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 w#1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 U5\'\'=1 g#-WO53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 w##/15.#1 g##+1\'2#1 w## "}, "Yangon": {"data" : "++ :egZI#ii#)#% :egZI#i#)#% .##|)+% V##/)+- .## "}, "Almaty": {"data" : "+/ *0yNA#am#)+) r#;)-v %/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 r-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 915B#1 &##t)\'% r# "} , "Krasnoyarsk": {"data" : "+/ *TouG#Pm#)#9 &##K)-v 6#AG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 &#-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 6#1O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 F##/15.#1 6## "}, "Omsk": {"data" : "+/ F6ae?#Lm#)7Y r#O)-v &#AG#)%Y!%1 #)\'r!%A #)3% 1 #)5% Z%/))% 1/+)5% %O53\'=1 K,#5\'\'=11n1\'B#1 r-K/))% 1 O53\'=1 K,#5\'\'=11j1#n1 O/))% 1 O53\'=1 K,#5\'\'=11[[55\'=1 \'1\'2#1 6##/15.#1 &## "}, "Macao": {"data" : ")Asia/Macau"}, "Ho_Chi_Minh": {"data" : "+5 J#9 # 7!#A1%# \':#9 %# \'Y9 \'+\'5E=A1 [\'\'E=9 W# 3>#A1%W\'5E=A15 \'Y9 (#6#K[\'\'E=9 W# 3>#A1%W\'5E=A1 # )Q9 %+\'\'E=9 +\'\'5E=A1%# 3bA1%7\'\'E=9 7;\'5E=A1 # \'>#9 %#\'\'E=9 # 32#A1%# )19 O\'5E=A1K?\'\'E=9 %# \'>#9 %#\'\'E=9 %#\')%=9 %#\'+)=9 #\'1b=A1%+\')!#=9 ++\'3)=A1)+\'+E=9 ++\'1E=A1% \'))=9 +\'3)=A1%#\'3E=A1% \'3)=A1 "} , "Fiji": {"data" : "+% wViBn#f#H\')5% i##`)9B# J%# "}, "Pohnpei": {"data" : ")Pacific/Guadalcanal"}, "Chuuk": {"data" : ")Pacific/Port_Moresby"}, "Yap": {"data" : ")Pacific/Chuuk"}, "Kosrae": {"data" : "+5 0g,8v#4g#)9B# B#&# EC/3!#= 1??/\'!#= %\'/#!#= \'#/5!#= 1 "}, "Johnston": {"data" : ")Pacific/Honolulu"}, "Niue": {"data" : "+\' yooHj#uo#)5b (__Jj#S)/% y## "} , "Majuro": {"data" : ")Pacific/Tarawa"}, "Truk": {"data" : ")Pacific/Chuuk"}, "Ponape": {"data" : ")Pacific/Pohnpei"}, "Guadalcanal": {"data" : "+% !,T#11q###)+v&# q#5`\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 +)-A1 i## "}, "Guam": {"data" : "+- uyy.!##4g#)9B# Z(]$`#P%)#% g##i#)9I V##/)/B# g#Y^#)-2#11)#)#:#1 9#)3%11)#)#.#ec6# #)-z11 #)1B#1 %\'-)\'=11\'\'/3%=1 )#)9b11%#)% )#)+.#11 #)1z4!28\' %#)) #)16#1 $#)9!# g## "}, "Chatham": {"data" : "+\' ke>@p#8i#)7) _o:Fp#H\')#% FN8!tE6##77%=m:HH)1%#5%\'=m:HH) W55\'=m:HH)1SW7\'%=m:HH) #75A=m:HH)1%d75%=m:HH)1dh7\'^=m:HH) 53\'=m:HH)1% 7)%=m:HH) "}, "Midway": {"data" : ")Pacific/Pago_Pago"}, "Kanton": {"data" : "+) #8o#)1B# ,%#q#)5% y##`)9B# :%# "}, "Tahiti": {"data" : "+% <@.(b#0m#)5% i## "}, "Pago_Pago": {"data" : "+\' gk!Xr## :%# "}, "Wake": {"data" : ")Pacific/Tarawa"} , "Samoa": {"data" : ")Pacific/Pago_Pago"}, "Enderbury": {"data" : ")Pacific/Kanton"}, "Pitcairn": {"data" : "+\' X!}sW#ak#)#% P##8)))2# H## "}, "Apia": {"data" : "++ R}mBr## :%5\'#-3\'= 1%#/)%9A #-3\'991%G/)%=A GC-3\'=91 "}, "Noumea": {"data" : "+% 2(_ah#0m#)#U w#1o%\'/9%= 1 \')%2# f#19%11%#1\')1 "}, "Palau": {"data" : "+\' ik4B&##4g#)9B# g6DoY#P%)#% V## "}, "Nauru": {"data" : "++ >k8kh#Tm#)#^ !%#x)1:# V##/)3A !%#P#)%I1 *%# "}, "Bougainville": {"data" : "+- gJ>Bd#ii#)#% gB.T`#`)#% g##(%)/% V##/)1v g##$\')96#1 w## "}, "Norfolk": {"data" : "+/ B0Z!j#ak#)#% !# 1%\'/\'^= \'#/5^= 1 "}, "Costa_Rica": {"data" : "+\' u4!$E#4k#)#% u4!$E#D#)#^ (#5R%\'-%\'= 1\'\'/-%= M\'/#^9 1\'#)/% %#)\'^ "}, "Hermosillo": {"data" : "+3 (&JkO#Xm# #%Y 8##7)-I!% (##/)7^ 8#)%#)+%!%1 #)5% \'))% (##K))&# 8##?)#Y H##x)#% 8#1t#)%Q 1 #)/># !%3/)%=1133-5\'=1 %)#% 8## "}, "Punta_Arenas": {"data" : "+= }uH4?#4k#)#% Dy00?#t)#I t#;)/% Dy00?#+)3I d#\')/% Dy00?#C)3% t) 3)3% 1/3))% #)3% d#K)-% t##)1% d#3)1:# 1t#\'))% t##)+v!% dB#p3))% V## 7-A1%# \'>#9 # 7!#A1%# \':#9 %# \'Y9 \'+\'5E=A1 [\'\'E=9 W# 3>#A1%W\'5E=A1 # )Q9 %+\'\'E=9 +\'\'5E=A1%# 3bA1%7\'\'E=9 7;\'5E=A1 # \'>#9 %#\'\'E=9 # 32#A1%# )19 O\'5E=A1K?\'\'E=9 %# \'>#9 %#\'\'E=9 %#\')%=9 %#\'+)=9 #\'1b=A1%+\')!#=9 ++\'3)=A1)+\'+E=9 ++\'1E=A1))91 S# "} , "Iqaluit": {"data" : "+) #Lo#)1% tA$##)+*#11 #)7% !##)%E11-# 1Y!%1 #)3>#1 2#[-)\'=11[P#-5\'=1 pp/)%=11=)5B#1 (#-,#S-)\'=11SH#-5\'=1 pp/)%=119)5:#1 t50#S-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Godthab": {"data" : ")America/Nuuk"}, "Jujuy": {"data" : ")America/Argentina/Jujuy"}, "El_Salvador": {"data" : "+% 4mg,G#Tm#)#% (#)s%\'/+%= 1\'\'-3\'= "}, "Monterrey": {"data" : "+) 4# !%3/)%=1133-5\'=1 %#/+%=11 #-3\'=1 %t/)%=11tt-5\'=1 "} , "Bahia": {"data" : "++ (Ns81#8m#)#% S{#f#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1%#)#:# #)5^ 1%#)%M #)5v 1%#)%f #)5r 1%#)%E #)5*# 1%#)#B# +/5M= 1\'\'/%^= %#)%M #)59 1%#)%b #)59 1%#)\'% #)5M 1%#)%v #)5- 1%#)%2# \'/5A= 1 7/%^= 3#)7- 1%#)5n 1#)3&# S#C)5b S53#)%*# #/5A= 1%G/5^= 1G//%^= %#/%z= #)5v S# "}, "Indiana/Winamac": {"data" : "+1 <,0VE#ui# 7jV# (#5R#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% (#1 [-)\'=11[C-3\'=1 %\'-5\'=1 %/-3\'=1 \'))>#1 t#C)#% t1(## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11))#% t#T#)))1 (#5e#e#-5\'=1 @#K-)\'=11%p/)%=11% /\'A=11 /7%=1 #)\'M1 t1i#e#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "} , "Sao_Paulo": {"data" : "+) T@i}3#8m#)#% SAf#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1#)5!# 1S#\')#% S2%\'#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1%#)#:# #)5^ 1%#)%M #)5v 1%#)%f #)5r 1%#)%E #)5*# 1%#)#B# +/5M= 1\'\'/%^= %#)%M #)59 1%#)%b #)59 1%#)\'% #)5M 1%#)%v #)5- 1%#)%2# \'/5A= 1 7/%^= 3#)7- 1%#)5n 1%#)7) 1%#)5b 1%#)75 1%#)%*# #/5A= 1%G/5^= 1G//%^= %#/%z= %\'/%^= %#/%z= %//%^= \'#/7%= 1 "} , "Grenada": {"data" : ")America/Puerto_Rico"}, "Grand_Turk": {"data" : "+- e4V8?#4k#)#% a>DLA#|)%% t#y%)#% t9Se#-5\'=1 D##-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 C)\'A1 d#/)\'M9 t18%e#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Montserrat": {"data" : ")America/Puerto_Rico"}, "Guadeloupe": {"data" : ")America/Puerto_Rico"}, "Panama": {"data" : "+\' (2H&C#4k#)#% 8R$.C#l))z t# "}, "Guatemala": {"data" : "+% L0gFG#Hm#)55 (#AF%#)7*# 1%#)%&# E#)+v 1 #)3z A#)\'!# 1 #)3= ^#))># 1 #)5% "}, "Guyana": {"data" : "++ (R]L9#,m#)1% d#3)\'% $qi&9#]%)1% S#h)\':#) d# "}, "Swift_Current": {"data" : "++ iNR,O#qk#)3% 8#5U#))Y11 #)52#1 &##)%E11-# 1Y!%1 #)3>#1 \'-)\'=1 8#9\'# 1Y!%1 #-3\'=1 %#/)A=11 #/5A=1 %K-)\'=11KK-3\'=1 =)#% 8#5=#-)\'=11 #-5\'=1 )+-)\'=11+#-5\'=1 %\'-3\'=1 O-)\'=1 (## "}, "Puerto_Rico": {"data" : "+) 4T{0=#Xk#)\'6#&# d#u#)+- d5(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% d# "}, "Moncton": {"data" : "+3 }#1 \')#% d5?+/3v9) #)+1)150#-)\'=110#K-3\'=1 %`-5\'=1 \')#% d58## 1Y!%1 #)3>#1 :#S-)\'=11SH#-5\'=1 pp/)%=11U)#% d1(%0#-)\'=11``-5\'=1 vW/)%=ec6#1WW-5\'=ec6# \')#% d1L#H#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "} , "Danmarkshavn": {"data" : "+) 4m*!)#@m#)/6# S#m%))91 S5//\')%=)1+# 5%) %d%3\'=) [ %\'\'=)1^ %5\'=) #)#% # "}, "Fort_Wayne": {"data" : ")America/Indiana/Indianapolis"}, "Nome": {"data" : "+3 RT4et#4i#)5nT**cK }LDLh#L#)1r&# y##q#)#% y#5(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% y##x))% y##+)#% y#=(## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11-)5>#1 X#-de#-5\'=1 D##-%\'=11%K-)\'=11-)7># X#9de#-5\'=1 D##-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "Porto_Velho": {"data" : "+\' 4T6c;#8m#)#% dvf#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1#)3Q d# "}, "Cuiaba": {"data" : "+) i6.$9#8m#)#% d{#f#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1%#)#:# #)5^ 1%#)%M #)5v 1%#)%f #)5r 1%#)%E #)5*# 1%#)#B# +/5M= 1\'\'/%^= %#)%M #)59 1%#)%b #)59 1%#)\'% #)5M 1%#)%v #)5- 1%#)%2# \'/5A= 1 7/%^= 3#)7- 1%#)5n 1#)3&# d#\')5% dY/7/%^= /#)5n 1%#)7) 1%#)5b 1%#)75 1%#)%*# #/5A= 1%G/5^= 1G//%^= %#/%z= %\'/%^= %#/%z= %//%^= \'#/7%= 1 "} , "Pangnirtung": {"data" : ")America/Iqaluit"}, "Kralendijk": {"data" : ")America/Curacao"}, "Indiana/Vincennes": {"data" : "+1 ]i:iE#ui# 7jV# (#5R#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% (#E #-)\'=11 #-3\'=1 =\'-)\'=11\';-3\'=1 3#)+% 1%?-)\'=11/#-5\'=1 %#-3\'=1 %\'-5\'=1 \')).#1 t#7)#% t1(## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11))#% t#T#)))1 (#5e#e#-5\'=1 @#K-)\'=11%p/)%=11% /\'A=11 /7%=1 #)711 t1i#e#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Indiana/Indianapolis": {"data" : "+7 yogLE#ui# 7jV# (#)R#\'-\'\'=11\'\'-5\'=1 \')#% (#)v#)-z11 W-3\'=1 Q)#% (#5(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% (#-7#)-z11 W-3\'=1 CC-)\'=11\')) t#+)3:#1 (##\'))2#1 t#O)#% t1(## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11))#% t#T#)#% t5e#e#-5\'=1 @#K-)\'=11%p/)%=11% /\'A=11 /7%=1 "} , "Belize": {"data" : "+% ],uuE#0m#))% (#M9$#/5)= )|$#/%E= #)-6# 1-# 1Y!%1 #)9b )t/5)= )pt/%E= 5#)95 1%#)%E A#)9j 1%#)%Q "}, "Indiana/Marengo": {"data" : "+3 }uXPE#ui# 7jV# (#5R#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 ;)#% (#1 #-)\'=11 #-3\'=1 -;-)\'=11;;-3\'=1 \'))>#1 t#C)#% t5(## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911#)#911(###)52#1 t5?e#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11I)#% t#@#)#% t5e#e#-5\'=1 @#K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "Anguilla": {"data" : ")America/Puerto_Rico"} , "Argentina/Ushuaia": {"data" : "+5 # d##)-r S13#)\'- =#)9># 1%\'/\'^= \'#/5^= 1#)5j S# "}, "Santiago": {"data" : "+= Dy00?#4k#)#% Dy00?#t)#I t#;)/% Dy00?#+)3I d#\')/% Dy00?#C)3% t) 3)3% 1/3))% #)3% d#K)-% t##)1% d#3)/^ 1d##)1:# 1t#\'))% t##)+v!% dR#p3))% V## 7-A1%# \'>#9 # 7!#A1%# \':#9 %# \'Y9 \'+\'5E=A1 [\'\'E=9 W# 3>#A1%W\'5E=A1 # )Q9 %+\'\'E=9 +\'\'5E=A1%# 3bA1%7\'\'E=9 7;\'5E=A1 # \'>#9 %#\'\'E=9 # 32#A1%# )19 O\'5E=A1K?\'\'E=9 %# \'>#9 %#\'\'E=9 %#\')%=9 %#\'+)=9 #\'1b=A1%+\')!#=9 ++\'3)=A1)+\'+E=9 ++\'1E=A1% \'))=9 +\'3)=A1%#\'3E=A1% \'3)=A1 "} , "Argentina/Catamarca": {"data" : "+9 T}k*=#Dk#)5B# (_2i;#0#)+% d#K)9% dn #)9% 1%#))% #)5^ 1%C)\'% C?)7% 1%#)/% 1%#)-^ #)5^ 1)#)1% #)5^ 1-#)\'% #)5% 1f#)5% #)9^ 1%+)\'% ++)5^ 1%#))) \'/5%= 1 \'/)%= #)55 S=+\'/5%= 1 \'/)%= 5#)#!# 1 #)+% Y#)9% 1%3/\'%= 3//5^= 1%)\'- d##)5r S1/#)9% 1%3/\'%= 3//5^= 1=#/5%= 1#)5- d-K3/\'%= 9#/5%= 1%#)\'- #)\'- S#3)-% d##)-r S13#)\'- =#)9># 1%\'/\'^= \'#/5^= 1#)5j S# "}, "Argentina/ComodRivadavia": {"data" : ")America/Argentina/Catamarca"}, "Boise": {"data" : "++ H6*wQ#ui# 7jg# H#)R#\'-\'\'=11\'\'-5\'=1 3)+U1 8#A7\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911#)#% 8###)%-1 8#A?e#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "Creston": {"data" : ")America/Phoenix"}, "Miquelon": {"data" : "+) u${$9#,m#)-^ d#$\')+% S#?)#% S5WS-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Jamaica": {"data" : "++ a>DLA#4k#)#% a>DLA#|)%% t#e%)#% t5?e#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11))#% t# "}, "Buenos_Aires": {"data" : ")America/Argentina/Buenos_Aires"}, "Rankin_Inlet": {"data" : "+) #,q#)#% (#5S# 1Y!%1 #)3>#1 2#[-)\'=11[P#-5\'=1 pp/)%=119)5:#1 t#\'))%9 (#54#S-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Toronto": {"data" : "+- ],y!C#Hk#)#% t)!##))Y11 #)52#1 \')#% tU #)\'>#&%1 #)5.# %#)+)11 #)3.# %#)+^11 #)3^1 %\'/+A=11\'3/3^=1 +//+%=11 K/3*#=1 GG/)*#=11%+-)\'=11+\'-3\'=1 /1%E1 t5(##))Y11 #)52#1 &##)%E11-# 1Y!%1 #)3>#1 \')#% t9C+-)\'=115/-3\'=1 +4#-)\'=11(#\'-7\'=1 %7-3\'=1 %d-5\'=1 \')#% t=<## 1Y!%1 #)3>#1 :#S-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "} , "Eirunepe": {"data" : "+/ yR(}=#8m#)#% tvf#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1#)3Q t#7)36# t5\'#)%E #)5*# 1%#)#B# +/5M= 1\'\'/%^= %)3z t#[)-&# d#7)7I t# "}, "Dawson": {"data" : "+- 4H$u[#]k#)1r X#=j#))Y11 #)52#1 %#)+*#11 #)7% !##)%E11-# 1Y!%1 #)3>#1 t)#% X#) #-)\'= A #-5\'=1 C)56# H##?)#% H#=T## 1Y!%1 #)3>#1 :#S-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%=1 W)7% 8## "} , "Argentina/Mendoza": {"data" : "+A u0eg=#Dk#)5B# (_2i;#0#)+% d#K)9% dn #)9% 1%#))% #)5^ 1%C)\'% C?)7% 1%#)/% 1%#)-^ #)5^ 1)#)1% #)5^ 1-#)\'% #)5% 1f#)5% #)9^ 1%+)\'% ++)5^ 1%#))) \'/5%= 1 \'/)%= #)55 S=+\'/5%= 1 \'/)%= 5#)#!# 1 #)+% Y#)9% 1%3/\'%= 3//5^= 1))\'1 d##)5^ 1d#\')\'% d##)5^ 1d#\')\'% d##)5j S13#)9% 1%3/\'%= 3//5^= 1=#/5%= 1#)5- d-K3/\'%= 9#/5%= 1%#)\'- #)\'- S#3)+!# d##)3.# S13#)\'- =#)9># 1%\'/\'^= \'#/5^= 1#)5j S# "}, "Nassau": {"data" : ")America/Toronto"} , "Vancouver": {"data" : "+\' <@:FU#yi#)#% H#EN##))Y11 #)52#1 &##)%E11-# 1Y!%1 #)3>#1 %i#-)\'=11i##)3:#1 %[-3\'=1 %y#-5\'=1 n)#% H#5WS-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Noronha": {"data" : "+/ e}cy-#8m#)#% C*#f#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1%#)#:# #)5^ 1%#)%M #)5v 1#)3f C#G)3># C9\'#)\'% #)5M 1%#)%v #)5- 1%#)%2# \'/5A= 1%)5^ C#\')3U C1\'#)%2# \'/5A= 1 7/%^= 3#)7- 1#)5% C# "} , "Argentina/Cordoba": {"data" : "+3 (_2i;#Dk#)5B# (_2i;#0#)+% d#K)9% dn #)9% 1%#))% #)5^ 1%C)\'% C?)7% 1%#)/% 1%#)-^ #)5^ 1)#)1% #)5^ 1-#)\'% #)5% 1f#)5% #)9^ 1%+)\'% ++)5^ 1%#))) \'/5%= 1 \'/)%= #)55 S=+\'/5%= 1 \'/)%= 5#)#!# 1 #)+% Y#)9% 1%3/\'%= 3//5^= 1%)\'- d##)5r S1/#)9% 1%3/\'%= 3//5^= 1=#/5%= 1#)5- d-K3/\'%= 9#/5%= 1%#)\'- #)\'- S5\'#/5%= 1%#)\'- =#)9># 1%\'/\'^= \'#/5^= 1 "}, "Argentina/La_Rioja": {"data" : "+9 Hw>@=#Dk#)5B# (_2i;#0#)+% d#K)9% dn #)9% 1%#))% #)5^ 1%C)\'% C?)7% 1%#)/% 1%#)-^ #)5^ 1)#)1% #)5^ 1-#)\'% #)5% 1f#)5% #)9^ 1%+)\'% ++)5^ 1%#))) \'/5%= 1 \'/)%= #)55 S=+\'/5%= 1 \'/)%= 5#)#!# 1 #)+% Y#)9% 1%3/\'%= 3//5^= 1%)\'% d##)+= S1/#)9% 1%3/\'%= 3//5^= 1=#/5%= 1#)5- d-K3/\'%= 9#/5%= 1%#)\'- #)\'- S#3)-% d##)-r S13#)\'- =#)9># 1%\'/\'^= \'#/5^= 1#)5j S# "} , "Regina": {"data" : "+\' }8.JM#qk#)3% 8#fU#))Y11 #)52#1 Q3/+%= 133/5%= -3/)A= 13#/5A= %#/5%= %+/5A= %#)%E11-# 1Y!%1 #-3\'=1 %#/)A=11 #/5A=1 %K-)\'=11KK-3\'=1 )#-)\'=11 #-5\'=1 \'-)\'=1 (## "}, "St_Vincent": {"data" : ")America/Puerto_Rico"}, "Scoresbysund": {"data" : "++ i{]c)#@m#)/6# C#m%))91 C1//7)%=11+#15%1 %d53\'=1 [ 5\'\'=11#)\':# 313/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) 8#)\'B# C-}#d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Louisville": {"data" : ")America/Kentucky/Louisville"}, "Aruba": {"data" : ")America/Puerto_Rico"} , "North_Dakota/Center": {"data" : "+\' yF*eK#ui# 7j_# 8#MR#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11Y)5*#1 (#5,#e#-5\'=1 @#K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "Thule": {"data" : "+% 8&Fg=#@m#)/6# d9:\'\'-\'\'=11\'\'-3\'=1 %W/)%=11WW-5\'=1 % /\'A=11 /7%=1 "}, "Argentina/San_Juan": {"data" : "+9 $(ia=#Dk#)5B# (_2i;#0#)+% d#K)9% dn #)9% 1%#))% #)5^ 1%C)\'% C?)7% 1%#)/% 1%#)-^ #)5^ 1)#)1% #)5^ 1-#)\'% #)5% 1f#)5% #)9^ 1%+)\'% ++)5^ 1%#))) \'/5%= 1 \'/)%= #)55 S=+\'/5%= 1 \'/)%= 5#)#!# 1 #)+% Y#)9% 1%3/\'%= 3//5^= 1%)\'% d##)+= S1/#)9% 1%3/\'%= 3//5^= 1=#/5%= 1#)5- d-K3/\'%= 9#/5%= 1%#)\'- #)\'- S#3)+B# d##)/*# S13#)\'- =#)9># 1%\'/\'^= \'#/5^= 1#)5j S# "} , "Rio_Branco": {"data" : "++ PwaR=#8m#)#% tvf#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1#)3Q t#t)-&# d#7)7I t# "}, "Los_Angeles": {"data" : "+) 0Z2BS#ui# 7jg# H#5R#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% H#5)#)\'Y4!28\'1%#)#%1 %d-)\'=)1dO-3\'=1 %3-5\'=1 \')#% H#I|# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "St_Thomas": {"data" : ")America/Puerto_Rico"}, "Cordoba": {"data" : ")America/Argentina/Cordoba"}, "Cancun": {"data" : "++ XogXE#Xm# #%Q (##X%)9!# t1D##)%Q 1 #)/># !%3/)%=1133-5\'=1 ))1)1 (#A,%#)%Q 1 #)/># !%3/)%=1133-5\'=1 %#/+%=11 #-3\'=1 %t/)%=11tt-5\'=1 =)%%1 t# "}, "Coral_Harbour": {"data" : ")America/Panama"}, "Ensenada": {"data" : ")America/Tijuana"}, "Maceio": {"data" : "+3 <0:_/#8m#)#% S*#f#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1%#)#:# #)5^ 1%#)%M #)5v 1#)3f S#7)5U S5+#)#B# +/5M= 1\'\'/%^= %#)%M #)59 1#)31 S#/)3># S9\'#)\'% #)5M 1%#)%v #)5- 1%#)%2# \'/5A= 1%)5z S#\')3U S1\'#)%2# \'/5A= 1 7/%^= 3#)7- 1#)5% S# "} , "Sitka": {"data" : "+1 FF,2&##4i#)5nB# ,]L![#L#)1r&# H##q#)#% H#5(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% H##$#)#% H#=(## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11-)5>#1 X#-de#-5\'=1 D##-%\'=11%K-)\'=11-)7># X#9de#-5\'=1 D##-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "Denver": {"data" : "+- PNHPM#ui# 7j_# 8#)R#\'-\'\'=11\'\'-5\'=1 \')#% 8#- \'-\'\'=11\'#-5\'=1 %#)+z1 x)#% 8#5(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% 8#10#\'-\'\'=11 #)+z1 w#\'-)\'=11\'\'-5\'=1 \')#% 8#I|# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "} , "Porto_Acre": {"data" : ")America/Rio_Branco"}, "Cayman": {"data" : ")America/Panama"}, "Nipigon": {"data" : ")America/Toronto"}, "Thunder_Bay": {"data" : ")America/Toronto"}, "Havana": {"data" : "+\' PZB_C#4k#)#% 0ga_C#T#)/n&# tc#-#)-I 1 #)5I Q+/-%= 1++/3%= -\'/-%= 1\'\'/3%= n#)-% 1 #)3># %#)+:# 1 #)5) %#))A 1 \'/3A= #))Y 1%C-)\'= 1C+-5\'= %+)5A %+-5\'= %#)+= 1 S/5A= O\'/\'^= 1%3/+5= 1%//\'Y= 1%?/)%= 1;375A= %#159 %#15Q %\'5\'\'= 1\'755\'= //7)%= 1%#5\'\'= 1)355\'= /#7\'A= 1%#7\'^= 1%\'7\'A= 1%#7\'^= 1 #17U %#1)% 1 77%= % 7\'A= 1 "} , "Campo_Grande": {"data" : "+% (o_c7#8m#)#% dN%f#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1%#)#:# #)5^ 1%#)%M #)5v 1%#)%f #)5r 1%#)%E #)5*# 1%#)#B# +/5M= 1\'\'/%^= %#)%M #)59 1%#)%b #)59 1%#)\'% #)5M 1%#)%v #)5- 1%#)%2# \'/5A= 1 7/%^= 3#)7- 1%#)5n 1%#)7) 1%#)5b 1%#)75 1%#)%*# #/5A= 1%G/5^= 1G//%^= %#/%z= %\'/%^= %#/%z= %//%^= \'#/7%= 1 "}, "Rosario": {"data" : ")America/Argentina/Cordoba"}, "Cambridge_Bay": {"data" : "+- #Pm#)#% 8#A\'#)+*#11 #)7% !##)%E11-# 1Y!%1 #)3>#1 2#[-)\'=11[P#-5\'=1 pp/)%=11=)5B#1 (#-,#S-)\'=11SH#-5\'=1 pp/)%=119)5:#1 t##)75 (##\'))%9 8#54#S-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Fortaleza": {"data" : "+/ 8wc81#8m#)#% S*#f#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1%#)#:# #)5^ 1%#)%M #)5v 1#)3f S#G)3># S9\'#)\'% #)5M 1%#)%v #)5- 1%#)%2# \'/5A= 1%)5z S#\')3U S1\'#)%2# \'/5A= 1 7/%^= 3#)7- 1#)5% S# "} , "Managua": {"data" : "+3 ]T}NE#4k#)#% L,0PE#y#)-!# (##e#)+% t#+)%b (#)1\'/\'b= 1\'\'/-!#% S)#%A t##)3&# (##\')#% t#3)#% (#9l\'/\'b= 1\'\'/-!#% *##))I 1 #/5%= %#))>#11 #/5%=) "}, "Menominee": {"data" : "++ iV*kE#}i#)3j&# (#5J#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% (#1 #-)\'=11 #-3\'=1 r#-)\'=11 #-5\'=1 /))2#1 t#3)):#1 (#I8## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "Halifax": {"data" : "+/ @J:];#ek#)-^ d)Y#))% 1 #)5% +)#% d) #))Y11 #)52#1 \')#% dJ#/#))% 1 #)5% 1#)+E 1 #)1:# %#)+9 1 \')35 #))># 1%+/+%= 1+#)31 %#)3^ %#)36# %#)+b 1 #)3U %#)+% 1 #)3.# %//+A= 1/#)3E %#)3- %#)3^ %\'/3&#% #)+% 1%#))># 1 #)5) %#)+r 1 #)3b %#)-) 1 #)3># %#)-% 1 #)3Y %\'/+%= 1\'3/3&#% +#)+6# 1%\'/+%= 1\'1%E1 d5(##))Y11 #)52#1 &##)%E11-# 1Y!%1 #)3>#1 \')#% dIG3/3&#% \'\'/+%= 15/-)\'=11//-3\'=1 )/-)\'=11//-3\'=1 )/-)\'=11//-3\'=1 -O-)\'=11OO-5\'=1 \')#% d=<## 1Y!%1 #)3>#1 :#S-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%" + "=1 "}, "Ojinaga": {"data" : "+7 HFoDM#Xm# #%Y 8##7)-I!% (##/)7^ 8#)%#)+%!%1 #)5% \'))% (##m%)#% (#1$%#)%Q 1 #)/># !%3/)%=1133-5\'=1 ))#% (###/)%=9 8#A,%#)%Q 1 #)/># !%3/)%=1133-5\'=1 %#/+%=11 #-3\'=1 %t/)%=11tt-5\'=1 Q)#% 8#1u#e#-5\'=1 pp/)%=11% /\'A=11 /7%=1 `)5>#1 (###)7># (#1H%e#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Argentina/Tucuman": {"data" : "+7 Lu4};#Dk#)5B# (_2i;#0#)+% d#K)9% dn #)9% 1%#))% #)5^ 1%C)\'% C?)7% 1%#)/% 1%#)-^ #)5^ 1)#)1% #)5^ 1-#)\'% #)5% 1f#)5% #)9^ 1%+)\'% ++)5^ 1%#))) \'/5%= 1 \'/)%= #)55 S=+\'/5%= 1 \'/)%= 5#)#!# 1 #)+% Y#)9% 1%3/\'%= 3//5^= 1%)\'- d##)5r S1/#)9% 1%3/\'%= 3//5^= 1=#/5%= 1#)5- d-K3/\'%= 9#/5%= 1%#)\'- #)\'- S#3)-% d##)-U S13#)\'- =#)9># 1%\'/\'^= \'#/5^= 1 "} , "Glace_Bay": {"data" : "+- HN:q9#ek#)-^ d5b#))Y11 #)52#1 &##)%E11-# 1Y!%1 #)3>#1 C)#% d1?/-)\'=11//-3\'=1 )/-)\'=11//-3\'=1 #)#% d#l)#% d1d/-)\'=11//-3\'=1 -O-)\'=11OO-5\'=1 \')#% d=<## 1Y!%1 #)3>#1 :#S-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Lower_Princes": {"data" : ")America/Curacao"}, "Indiana/Petersburg": {"data" : "+1 8BmcE#ui# 7jV# (#5R#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 K)#% (#1 #)+% 1 7-3\'=1 3C-)\'=11//-5\'=1 \'))*#1 t#\')5>#1 (#=x# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11E)5>#1 t#<#)))1 (#5e#e#-5\'=1 @#K-)\'=11%p/)%=11% /\'A=11 /7%=1 #)711 t1i#e#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "} , "Montreal": {"data" : ")America/Toronto"}, "Mendoza": {"data" : ")America/Argentina/Mendoza"}, "Yakutat": {"data" : "+/ VoL6$##4i#)5n(8eJQ y2,{[#L#)1r&# X##q#)#% X#5(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% X##$#)#% X#=(## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11-)7># X#9de#-5\'=1 D##-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "Detroit": {"data" : "+5 Hg&mC#qk#)#% (##K)+^1 t#4#)#% t5(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% t))#-)\'=11 #-3\'=1 p)-Yec6# t1|# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=111)#% t#3)#% t98## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11#)#% t##))2#1 t=Ce#-5\'=1 H##)#911%#-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "} , "Santa_Isabel": {"data" : ")America/Tijuana"}, "Merida": {"data" : "+) qoq4G#Xm# #%Q (##X%)9!# t#\')9) (#AH##)%Q 1 #)/># !%3/)%=1133-5\'=1 %#/+%=11 #-3\'=1 %t/)%=11tt-5\'=1 "}, "Bahia_Banderas": {"data" : "+3 eL&VM#Xm# #%Y 8##7)-I!% (##/)7^ 8#)%#)+%!%1 #)5% \'))% (##K))&# 8##?)#Y H##x)#% 8#At#)%Q 1 #)/># !%3/)%=1133-5\'=1 %#/+%=11 #-3\'=1 %t/)%=11tt-5\'=1 Q))11 (#1G#/+%=11 #-3\'=1 %t/)%=11tt-5\'=1 "}, "Matamoros": {"data" : "++ 0##Xm# #%Q (##u%)#% (#-xe#-5\'=1 @#K-)\'=11%p/)%=11f)#% (#Ae##)%Q 1 #)/># !%3/)%=1133-5\'=1 %#/+%=11 #-3\'=1 %t/)%=11tt-5\'=1 Q)#% (#1u#e#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "} , "Indiana/Vevay": {"data" : "+- @V}6E#ui# 7jV# (#5R#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 G))*#1 t#`)#% t1(## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11#)#% t#L#)#% t5e#e#-5\'=1 @#K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "St_Barthelemy": {"data" : ")America/Port_of_Spain"}, "Argentina/San_Luis": {"data" : "+A ](F6=#Dk#)5B# (_2i;#0#)+% d#K)9% dn #)9% 1%#))% #)5^ 1%C)\'% C?)7% 1%#)/% 1%#)-^ #)5^ 1)#)1% #)5^ 1-#)\'% #)5% 1f#)5% #)9^ 1%+)\'% ++)5^ 1%#))) \'/5%= 1 \'/)%= #)55 S=+\'/5%= 1 \'/)%= 5#)#!# 1 #)+% Y#)9% 1%3/\'%= 3//5^= 1))#% 1S##)\'Y d##)5^ 1d#\')\'% d##)-% S#C)5- 1d#\')\'- S#3)+B# d##)/*# S13#)\'- =#)9># 1%\'/\'^= \'#/5^= 1#)#v d) \'/\'A= +\'/5A= 1\')5M S# "} , "Boa_Vista": {"data" : "++ yZ@!;#8m#)#% dvf#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1#)3Q d#O)3># d9\'#)\'% #)5M 1%#)%v #)5- 1%#)%2# \'/5A= 1%)5^ d# "}, "Indiana/Tell_City": {"data" : "+1 ]ycXE#ui# 7jV# (#5R#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% (#1E#)+% 1 7-3\'=1 3?-)\'=11++-5\'=1 \')).#1 t#/)5:#1 (#1|# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=111))2#1 t1(## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11))#% t#T#)))1 (#5e#e#-5\'=1 @#K-)\'=11%p/)%=11% /\'A=11 /7%=1 "} , "Metlakatla": {"data" : "+5 N:u{&##4i#)5n${w>S $ia4Y#L#)1r&# H##q#)#% H#5(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% H##$#)#% H#=(## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11-)5>#1 H##H#)7%1 X#1,%e#-5\'=1 pp/)%=11% /\'A=11 /7%=1 O)711 H##\')#r1 X#1<%e#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Tortola": {"data" : ")America/Puerto_Rico"}, "Nuuk": {"data" : "++ 0c6*7#@m#)/6# S#m%))91 S5//\')%=)1+# 5%) %d%3\'=) [ %\'\'=)1^ %5\'=) 4# \'.#) C## 5:#) C-y#d%3\'=) [ %\'\'=)1^ %5\'=) "} , "Argentina/Jujuy": {"data" : "+; Xc$!=#Dk#)5B# (_2i;#0#)+% d#K)9% dn #)9% 1%#))% #)5^ 1%C)\'% C?)7% 1%#)/% 1%#)-^ #)5^ 1)#)1% #)5^ 1-#)\'% #)5% 1f#)5% #)9^ 1%+)\'% ++)5^ 1%#))) \'/5%= 1 \'/)%= #)55 S=+\'/5%= 1 \'/)%= 5#)#!# 1 #)+% Y#)9% 1%3/\'%= 3//5^= 1))\'1 d##)56# 1d#\')\'f d##)59 1S#\')#% S13#)9% 1%3/\'%= 3//5^= 1=#/5%= 1#)5- d-K3/\'%= 9#/5%= 1%#)\'- #)\'- S5\'#/5%= 1%#)\'- =#)9># 1%\'/\'^= \'#/5^= 1#)5j S# "}, "North_Dakota/New_Salem": {"data" : "+\' iJ4gK#ui# 7j_# 8#MR#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11-)5.#1 (#5X#e#-5\'=1 @#K-)\'=11%p/)%=11% /\'A=11 /7%=1 "} , "Inuvik": {"data" : "+) #yo#)#% H#1C# 1Y!%1 #)3>#1 2#[-)\'=11[P#-5\'=1 2#-)\'=1 8#1P## 1Y!%1 #)3>#1 2#[-)\'=11[P#-5\'=1 .#)#% 8#=T## 1Y!%1 #)3>#1 :#S-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Port_of_Spain": {"data" : ")America/Puerto_Rico"}, "New_York": {"data" : "+- eTwq?#ui# 7jN# t)R#\'-\'\'=11\'\'-5\'=1 \')#% t1 #-\'\'=11 #-5\'=1 %}#-)\'=11}#L#-3\'=1 Q)#% t5(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% t50##-\'\'=11 #-5\'=1 %}#-)\'=11}#L#-3\'=1 %O-5\'=1 \')#% tI|# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "} , "Paramaribo": {"data" : "++ @B*o7#,m#)#% m$Xo7#(#)#% Pkwm7#K)5% [#e#)5% S# "}, "Manaus": {"data" : "++ eewq9#8m#)#% dvf#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1#)3Q d#7)36# d5\'#)%E #)5*# 1%#)#B# +/5M= 1\'\'/%^= %)3z d# "}, "Resolute": {"data" : "+- #ao#)1B# (#5+# 1Y!%1 #)3>#1 2#[-)\'=11[P#-5\'=1 pp/)%=119)5:#1 t#\'))%9 (#-4#S-)\'=11SH#-5\'=1 pp/)%=11#)5:#1 t#\')\'M9 (#1L#H#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "} , "Curacao": {"data" : ")America/Puerto_Rico"}, "North_Dakota/Beulah": {"data" : "+\' ykmmK#ui# 7j_# 8#UR#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 /)7=1 (#1u#e#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Bogota": {"data" : "+\' ,$Ps?#yi#)\'U ,$Ps?#@#)7!# t)F\'#)+- 1%#)%= "}, "Ciudad_Juarez": {"data" : "+7 q!6oM#Xm# #%Y 8##7)-I!% (##/)7^ 8#)%#)+%!%1 #)5% \'))% (##m%)#% (#1$%#)%Q 1 #)/># !%3/)%=1133-5\'=1 ))#% (###/)%=9 8#A,%#)%Q 1 #)/># !%3/)%=1133-5\'=1 %#/+%=11 #-3\'=1 %t/)%=11tt-5\'=1 Q)#% 8#1u#e#-5\'=1 pp/)%=11% /\'A=11 /7%=1 `)5>#1 (###)7># 8#1H%e#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "} , "Adak": {"data" : "+3 wV8>p#4i#)5n8,ZNI XJ@sl#L#)1r&# y##q#)#% y#5(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% y##x))% y##+)#% y#=(## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11-)5>#1 i#-de#-5\'=1 D##-%\'=11%K-)\'=11-)7># i#9de#-5\'=1 D##-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "Caracas": {"data" : "+- Te.B=#4k#)#% e0}@=#|)%Q l#@%)#% d#q#)9E9 l#G)+%5 d# "}, "Mazatlan": {"data" : "+1 TiTmM#Xm# #%Y 8##7)-I!% (##/)7^ 8#)%#)+%!%1 #)5% \'))% (##K))&# 8##?)#Y H##x)#% 8#At#)%Q 1 #)/># !%3/)%=1133-5\'=1 %#/+%=11 #-3\'=1 %t/)%=11tt-5\'=1 "} , "St_Kitts": {"data" : ")America/Puerto_Rico"}, "Argentina/Salta": {"data" : "+5 D]2$=#Dk#)5B# (_2i;#0#)+% d#K)9% dn #)9% 1%#))% #)5^ 1%C)\'% C?)7% 1%#)/% 1%#)-^ #)5^ 1)#)1% #)5^ 1-#)\'% #)5% 1f#)5% #)9^ 1%+)\'% ++)5^ 1%#))) \'/5%= 1 \'/)%= #)55 S=+\'/5%= 1 \'/)%= 5#)#!# 1 #)+% Y#)9% 1%3/\'%= 3//5^= 1%)\'- d##)5r S1/#)9% 1%3/\'%= 3//5^= 1=#/5%= 1#)5- d-K3/\'%= 9#/5%= 1%#)\'- #)\'- S5\'#/5%= 1%#)\'- =#)9># 1%\'/\'^= \'#/5^= 1#)5j S# "}, "Mexico_City": {"data" : "+/ D}s8K#Xm# #%Y 8##7)-I!% (##/)7^ 8#)%#)+%!%1 #)5% \'))% (#Y\'#)+%!%1 #)5% A#)%5 1 #)-*# %#)9E 1%#))% )#)9b 1%#)+% 9#)%Q 1 #)/># !%3/)%=1133-5\'=1 %#/+%=11 #-3\'=1 #)3>#1 (##\')%r (#1\'#/+%=11 #-3\'=1 %t/)%=11tt-5\'=1 "} , "Edmonton": {"data" : "+\' }8*@Q#uk#)3% 8#UQ\'/)A=11\'#)52#1 %#)+2#1 %/-)\'=11/#-5\'=1 %+-3\'=1 n#)%E11-# 1Y!%1 #-3\'=1 )#-)\'=11 #-3\'=1 *#[-)\'=11[P#-5\'=1 n)#% 8#5WS-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Kentucky/Louisville": {"data" : "+3 ,DmDE#ui# 7jV# (#)R#\'-\'\'=11\'\'-5\'=1 +)#% (#1 #)+%11 #)3%1 r#-)\'=11 #-3\'=1 \')#% (#5(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% (#=7#-)\'=11 #-3\'=1 5#-)\'=ec6#1 #)-)1 1O-)\'=11O7-3\'=1 %7-5\'=1 #)/!#1 t#?)#% t5$## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911#)#911(###)52#1 tA?e#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "} , "Araguaina": {"data" : "+/ $aD@5#8m#)#% S*#f#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1%#)#:# #)5^ 1%#)%M #)5v 1#)3f S#7)3Y Sb+#)#B# +/5M= 1\'\'/%^= %#)%M #)59 1%#)%b #)59 1%#)\'% #)5M 1%#)%v #)5- 1%#)%2# \'/5A= 1 7/%^= 3#)7- 1%#)5n 1#)3&# S#G)5v S13G/5^= 1G//%^= %#/%z= %\'/%^= %)3% S# "}, "Santo_Domingo": {"data" : "+- X_F}=#4k#)#% T$F!?#u#))%&# t9J##)5># 1%#)%6# )3-5\'= )/#)%v %#)#r %+)#v #)52# d#0#)5:#1 t-L#e#-5\'=1 @#K-)\'=11%p/)%=119)9-) d# "} , "Indiana/Knox": {"data" : "+/ (VBVE#ui# 7jV# (#5R#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 +)#% (#5 [-)\'=11[?-3\'=1 %\'-5\'=1 %\'-3\'=1 %+-5\'=1 \')):#1 t#\')52#1 (#Al# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11^)52#1 t#`)))1 (#5e#e#-5\'=1 @#K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "Indianapolis": {"data" : ")America/Indiana/Indianapolis"}, "Whitehorse": {"data" : "+- i>{yY#]k#)1r X#=j#))Y11 #)52#1 %#)+*#11 #)7% !##)%E11-# 1Y!%1 #)3>#1 t)#% X#) #-)\'= A #-5\'=1 \')%2# H##[)#% H#=T## 1Y!%1 #)3>#1 :#S-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%=1 W)7% 8## "} , "Yellowknife": {"data" : ")America/Edmonton"}, "Kentucky/Monticello": {"data" : "++ X:q2E#ui# 7jV# (#5R#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% (##|)#% (#A$## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=119)5:#1 t5L#e#-5\'=1 @#K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "Asuncion": {"data" : "++ 8VgB9#4k#)#% 8VgB9#m#)5I d#m#)5% S#+))% dz%W)5% 1W/)\'% %S))% +#)5z 1%#)5% 1%#)59 1%#)\'% #)55 1%#)\'B# +)5% 1\'\'-%\'= %#)\'% 7/5%= 13#-%\'= %//\'%= %+/)%= +\'/3%= 1%7/5^= 133/\'A= % /5%= 1 +/)A= % /\'z= "} , "Santarem": {"data" : "+) 4]Ne7#8m#)#% dvf#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1#)3Q d#t)-&# S# "}, "Antigua": {"data" : ")America/Puerto_Rico"}, "Virgin": {"data" : ")America/St_Thomas"}, "Winnipeg": {"data" : "+\' 8Z0oI#(k#)/b (#&#:##))!# 1 #)3f )#))Y11 #)52#1 n#)+b11 #)3.#1 5#)%E11-# 1Y!%1 #-3\'=1 %#)+Q11 #)5U1 %+-)\'=11++-3\'=1 %#)+%11 #)3>#1 %G-)\'=11G?-3\'=1 %#-5\'=1 %#-3\'=1 -#-)\'=11 #)3z1 -t5)\'=11te#55\'=1 ll7)%=11\')#% (#5H#S-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "} , "Recife": {"data" : "+/ m]4N/#8m#)#% S*#f#)5-z1%\'))% \'#)5- 1f/)9% 1+#))b) %\'))% %#)\'% I#)9E 1%#)\'% %#)#B# 1 #)\'B# #)9% 1%+)\'% +\')7% 1j#)7) 1%#)\'^ #)5*# 1%#)%Y #)5*# 1%#)%= #)5b 1%#)#:# #)5^ 1%#)%M #)5v 1#)3f S#G)3># S9\'#)\'% #)5M 1%#)%v #)5- 1%#)%2# \'/5A= 1%)5^ S#\')3U S1\'#)%2# \'/5A= 1 7/%^= 3#)7- 1#)5% S# "}, "Lima": {"data" : "+\' }PwPA#4k#)#% ysuRA#l)/6# tI>##)#% 1 #))% \'-3\'= 1 \'/\'&#= !%\')#% 1\'\'))% -#)#% 1 #))% 1#)#% 1 #))% "}, "Shiprock": {"data" : ")America/Denver"}, "Martinique": {"data" : "++ X_J*;#4k#)#% X_J*;#x)+% d#$\'))9 1d##)36# d# "}, "Phoenix": {"data" : "+/ PsB$Q#ui# 7j_# 8#-R#\'-\'\'=11\'\'-5\'=1 !##)%E11+)#%ec6# 8###))%ec6# 8#%+#)%E11+)5%ec6# 8##$#)#% 8#1|# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=115)\'v 8## "}, "Goose_Bay": {"data" : "+5 T4sy9#yi#)#% umw<7#P#)#% umw<7) #))Y11 #)52#1 \')#% umw<7#d)\'># [#\')#% [1d`/+%=!%1``-5\'=!% %7/+E% 177/5)% \')+M [5(##))Y11 #)52#1 &##)%E11-# 1Y!%1 #)3>#1 \')#% [=K7/+E% 177/5)% 53/+A=1133/5)=1 %T#-)\'=11T#C-3\'=1 %0#-5\'=1 r)\'^1 dE`T#-)\'=11T#C-3\'=1 %0#-5\'=1 %#/)%=ec6#1 p-5\'=ec6# l#/)%=ec6#A%h/)%=ec6#1%3/\'A=ec6#13//7%=ec6# \')7% d1]#H#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "} , "St_Johns": {"data" : "+1 umw<7#yi#)#% umw<7)J##))A11 #)3f1 \')#% umw<7) #))Y11 #)52#1 \')#% umw<79+#))A11 #)3f1 )#)+5!%1 #)1Q!% %`/+%=!%1``-5\'=!% #)\'># [9d#)+5!%1 #)1Q!% %`/+%=!%1``-5\'=!% %7/+E% 177/5)% \')+M [5(##))Y11 #)52#1 &##)%E11-# 1Y!%1 #)3>#1 \')#% [UK7/+E% 177/5)% 53/+A=1133/5)=1 %T#-)\'=11T#C-3\'=1 %0#-5\'=1 %#/)%=ec6#1 p-5\'=ec6# l#/)%=ec6#A%h/)%=ec6#1%3/\'A=ec6#13//7%=ec6# \')7% [1]#H#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "}, "Montevideo": {"data" : "+7 HoF&9#}k#)-I HoF&9#S)+% d#/)5% [A +)5% )\'+))% =7-5\'= )3?-)%= +#)5% )%#)52# )%#)1% )%#)9Y )#)9Y SAC?-)%= #)1% )%#)9Y )%#)\'Y b#)+&# ) #)7^ %#)#f 1 #)\'9 #)#% SA\'#)+&# ) #)7^ %#)#f 1 #)\'9 5#))1 1 #)3.# -#)+2# ) #)9% #)#% S9/#))1 1 #)3.# -#)+2# ) #)9% )#))*# 1 #)-Y #)#% SI+#)+2# ) #)9% )#))*# 1 #)-Y )#))!# 1 #)/b )#)#U 9 #)\'I ) #)3% #)9z 1#)#% S9+#))!# 1 #)/b )#)#U 9 #)\'I ) #)3% #)9z 1#)\'I S9+#))!# 1 #)/b )#)#U 9 #)\'I ) #)3% #)9z 1#)9z S:#+#))!# 1 #)/b )#)#U 9 #)\'I ) #)3% " + " #)9z 1%#)\'># %#)9n 1%#)\'9 #)91 1%\'/\'%= \'#)9f 1%#)):# 1%#)\'b =#)9Y 1%#)%6# #)9M 1%#)\'5 #)5:# 1%#)%*# \'/5v= 1 \'/\'%= #)5j 1%#)%6# M#)3n 1%#)\'2#1 #)5E11%G/\'A=1 GC/5%=11 "}, "St_Lucia": {"data" : ")America/Puerto_Rico"}, "Knox_IN": {"data" : ")America/Indiana/Knox"}, "Chicago": {"data" : "+1 DXLkE#ui# 7jV# (#)R#\'-\'\'=11\'\'-5\'=1 \')#% (#5 #)-U11 \'-5\'=1 #-\'\'=11%y#-)\'=11y#H#-3\'=1 j)\'%1 t##)7^1 (#1d\'-5\'=1 #-\'\'=11%y#-)\'=11y#H#-3\'=1 Q)#% (#5(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% (#50#\'-5\'=1 #-\'\'=11%y#-)\'=11y#H#-3\'=1 %O-5\'=1 \')#% (#I|# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "} , "Chihuahua": {"data" : "+3 $T:gM#Xm# #%Y 8##7)-I!% (##/)7^ 8#)%#)+%!%1 #)5% \'))% (##m%)#% (#1$%#)%Q 1 #)/># !%3/)%=1133-5\'=1 ))#% (###/)%=9 8#A,%#)%Q 1 #)/># !%3/)%=1133-5\'=1 %#/+%=11 #-3\'=1 %t/)%=11tt-5\'=1 #)5>#1 (## "}, "La_Paz": {"data" : "+) qc.Z=#4k#)#% qc.Z=#m#)5^ 1qc.Z=#\')\'v d# "}, "Blanc-Sablon": {"data" : ")America/Puerto_Rico"}, "Catamarca": {"data" : ")America/Argentina/Catamarca"}, "Tijuana": {"data" : "+G yo**S#Xm# #%Y 8##+)#% H##/)-I!% 8##/)7^ H##\'))% 1H###)3># H##O))&# 1H##/ 1Y!%1H###)7Q H##/))5 1H##\')#Y H##7)#% H#-7#)#%1 %d-)\'=)1dO-3\'=1 #)#% H##`)#% H#1Ge#-5\'=1 D##-%\'=11%K-)\'=11%p/)%=11I)#% H#9$%#)%Q 1 #)/># !%3/)%=1133-5\'=1 %#/+%=11 #-3\'=1 #)#% H#-P#e#-5\'=1 @#K-)\'=11%p/)%=111)%r H#1\'#/+%=11 #-3\'=1 %t/)%=11tt-5\'=1 Q)#% H#1u#e#-5\'=1 pp/)%=11% /\'A=11 /7%=1 "} , "Barbados": {"data" : "+) q.$k9#,m#)16# d9B## )nI1 # 1B#Q %# +)I1 # 35Q %# )II) # 3IQ #)#% d1\'# +)I1 # 35Q %# )II) # 3IQ \')#% d=\'# )II) # 3IQ J##)-Q11 \'/5%=1 +/)^=11\'#)3>#1 %#)3*#1 "}, "Atka": {"data" : ")America/Adak"}, "Anchorage": {"data" : "+1 cL0&|#4i#)5n]&VBO mTH.b#L#)1r&# i##q#)#% i#=(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=119))% i##+)#% i#=(## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=11-)5>#1 X#-de#-5\'=1 D##-%\'=11%K-)\'=11-)7># X#9de#-5\'=1 D##-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "} , "Port-au-Prince": {"data" : "+\' 4]FP?#4k#)#% (oVN?#4#)#&#&# tMs%#)+A 1%/-)\'= 133-5\'= %G7)%=)1GG55\'=) A\'/)%= 1\'\'-5\'= 9//\'A=11///7%=1 ) /\'A=11 /7%=1 "}, "Rainy_River": {"data" : ")America/Winnipeg"}, "Cayenne": {"data" : "+\' uu.67#,m#)/% d#L%)5% S# "}, "Tegucigalpa": {"data" : "+% u}2cE#Tm#))% (#1s%\'/+%= 1\'\'-3\'= j#/+%= 1 #/1%% "}, "Juneau": {"data" : "+5 20oB&##4i#)5nDFu!S @sgmY#L#)1r&# H##q#)#% H#5(#\'-\'\'=11\'\'-5\'=1 !##)%E11-# 1Y!%1 #)3>#1 \')#% H##$#)#% H#=(## 1Y!%1 #)3>#1 ze#-5\'=1 e#;-)\'=11%#)#911%#-%\'=11%K-)\'=119))2#1 X#-We#-5\'=1 D##-%\'=11%K-)\'=119)5.#1 H#-We#-5\'=1 D##-%\'=11%K-)\'=11-)5>#1 X#-de#-5\'=1 D##-%\'=11%K-)\'=11-)7># X#9de#-5\'=1 D##-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "} , "Marigot": {"data" : ")America/Port_of_Spain"}, "Atikokan": {"data" : ")America/Panama"}, "Argentina/Rio_Gallegos": {"data" : "+5 e]_o=#Dk#)5B# (_2i;#0#)+% d#K)9% dn #)9% 1%#))% #)5^ 1%C)\'% C?)7% 1%#)/% 1%#)-^ #)5^ 1)#)1% #)5^ 1-#)\'% #)5% 1f#)5% #)9^ 1%+)\'% ++)5^ 1%#))) \'/5%= 1 \'/)%= #)55 SA+\'/5%= 1 \'/)%= 5#)#!# 1 #)+% Y#)9% 1%3/\'%= 3//5^= 1=#/5%= 1#)5- d-K3/\'%= 9#/5%= 1%#)\'- #)\'- S#3)-% d##)-r S13#)\'- =#)9># 1%\'/\'^= \'#/5^= 1#)5j S# "}, "Dawson_Creek": {"data" : "+) D4oiS#yi#)#% H#5N##))Y11 #)52#1 &##)%E11-# 1Y!%1 #)3>#1 +)#% H#1\'i#-)\'=11i##)3:#1 %[-3\'=1 %y#-5\'=1 N#)1>#1 8## "}, "Dominica": {"data" : ")America/Puerto_Rico"}, "Fort_Nelson": {"data" : "+- aF,>U#yi#)#% H#=N##))Y11 #)52#1 &##)%E11-# 1Y!%1 #)3>#1 %i#-)\'=11i##)3:#1 #)#% H##\')#% H#1\'i#-)\'=11i##)3:#1 %[-3\'=1 %y#-5\'=1 n)#% H#5WS-)\'=11SH#-5\'=1 pp/)%=11% /\'A=11 /7%=1 C)\'A1 8## "}}, "Brazil": {"DeNoronha": {"data" : ")America/Noronha"}, "West": {"data" : ")America/Manaus"}, "Acre": {"data" : ")America/Rio_Branco"}, "East": {"data" : ")America/Sao_Paulo"}}, "Indian": {"Reunion": {"data" : ")Asia/Dubai"}, "Maldives": {"data" : "+\' *yug?#ii#)#% *yug?#P\')#% r# "}, "Christmas": {"data" : ")Asia/Bangkok"}, "Antananarivo": {"data" : ")Africa/Nairobi"}, "Chagos": {"data" : "+\' FJ6R?#yk#)#% r#u\')#% &## "}, "Mahe": {"data" : ")Asia/Dubai"}, "Mayotte": {"data" : ")Africa/Nairobi"}, "Kerguelen": {"data" : ")Indian/Maldives"}, "Mauritius": {"data" : "+% &{*@9#yk#)#% b1:\'#)5I 1%#)\'v *##-5\'=11%#-\'\'=1 "} , "Cocos": {"data" : ")Asia/Yangon"}, "Comoro": {"data" : ")Africa/Nairobi"}}, "Mexico": {"General": {"data" : ")America/Mexico_City"}, "BajaNorte": {"data" : ")America/Tijuana"}, "BajaSur": {"data" : ")America/Mazatlan"}}, "Antarctica": {"Macquarie": {"data" : "+3 #Xk#)7% g##h)5%11g##\')%% g#) #1#%11 #5\'\'=1 +1)% #<#)\'*# g#%7\'5\'\'=1 $#)#% g#r0%\'7\'%=1 *%#75%=11%#7\':#=1 h55\'=11d+7\'A=1 %#5%\'=1 %C7\'%=1 %\'5\'\'=1 %+7\'%=1 #75^=11%/7\'^=1 /#75z=11%+55\'=11%C75%=11C[5\'\'=1 7#51\'=11% 75%=115#7)%=1 %#5\'\'=1 % 7)%=1 +)#% 1g##\')#% g#-K 75%=119#5\'\'=1 % 7)%=1 "} , "Palmer": {"data" : "++ #Lq#)#% d=+#)5% #)9^ 1%+)\'% ++)5^ 1%#))) \'/5%= 1 \'/)%= #)55 S1+\'/5%= 1 \'/)%= 5#)#!# 1 #)+% C)+% d&#K[\'\'E=9 W# 3>#A1%W\'5E=A1 # )Q9 %+\'\'E=9 +\'\'5E=A1%# 3bA1%7\'\'E=9 7;\'5E=A1 # \'>#9 %#\'\'E=9 # 32#A1%# )19 O\'5E=A1K?\'\'E=9 %# \'>#9 %#\'\'E=9 %#\')%=9 %#\'+)=9 #\'1b=A1%+\')!#=9 ++\'3)=A1)+\'+E=9 ++\'1E=A1))91 S# "}, "Casey": {"data" : "+E #]q#)#% F##i#)5j1 w##\')\'51 F##\')56#1 w##\' %vN# F##3)5z w##+)\'MA F###)5=A w##\')\'f9 F###)519 w##\')\'A9 F###)51ec6# w##\')\'Y F###)5-ec6# w##\')\'U F###)5)ec6# w##\')\'E9 F## "} , "Troll": {"data" : "+% #4u#)%Q ) %\'\'=)A\' %5\'=) "}, "Vostok": {"data" : "++ #,q#)9b 6##]#)%% ##)7% 6##<#)9j1 r# "}, "DumontDUrville": {"data" : ")Pacific/Port_Moresby"}, "Syowa": {"data" : ")Asia/Riyadh"}, "South_Pole": {"data" : ")Antarctica/McMurdo"}, "Mawson": {"data" : "+\' #}o#)%U &##H%)5j1 r# "}, "McMurdo": {"data" : ")Pacific/Auckland"}, "Davis": {"data" : "+1 #,q#)#U 6##?)7% #7)%% 6##i#)5j1 r#\' \'Ig# 6##\')56#1 r#\' %vg# 6## "}, "Rothera": {"data" : "+% #yq#)9% S# "}}, "Arctic": {"Longyearbyen": {"data" : ")Europe/Oslo"}}, "Australia": {"Lord_Howe": {"data" : "+) &w}*f#Hk#)%% g##i\')\'% o#- /-5\'=11+//\'%=1 #-5\'=1)#)/% o#Y3/-5\'=11+//\'%=1 #-5\'=1)%//\'^=1 /#)5n1)%S-5\'=1)G7/\'%=1 %G-\'\'=1 7#-1\'=1)%;-5\'=1)\'#/)%=1 %#-\'\'=1 % /)%=1 /5%=1) "}, "Lindeman": {"data" : "+) JaDy`#Hk#)#% g#=z#1#%11 #5\'\'=1 *##1#%11 #5\'\'=1 #132#11%\'5\'\'=1 \'#15-118#)#% g#1 #55\'=11%#5%\'=1 f+55\'=11\'+7\'%=1 #)/% g#) \'55\'=11 \'7\'%=1 "}, "Tasmania": {"data" : ")Australia/Hobart"} , "Victoria": {"data" : ")Australia/Melbourne"}, "West": {"data" : ")Australia/Perth"}, "Adelaide": {"data" : "+) {@mc[#Hk#)%% V##3)+% _#=j#1#%11 #5\'\'=1 *##1#%11 #5\'\'=1 #132#11%\'5\'\'=1 \'#15-118#)#% _#^ [55\'=11%#15n11%t55\'=11T##1%2#1 %S7\'%=1 %37\'^=1 %#1\'-1 %#1\'z1 %#1\'=1 %#1\'r1 %K5\'\'=1 %#1))1 %#5\'\'=1 % 7)%=1 75%=11 "}, "Perth": {"data" : "+\' 2TXoQ#Hk#)9% F#=z#1#%11 #5\'\'=1 *##1#%11 #5\'\'=1 #132#11%\'5\'\'=1 \'#15-11#)/% F#EB##55\'=11%#7\'%=1 A#55\'=11%#7\'%=1 =#17f11%#7\'%=1 Y#19-11%+5\'\'=1 +\'55\'=11 "} , "South": {"data" : ")Australia/Adelaide"}, "Eucla": {"data" : "+\' B$}ZW#Hk#)9% N>N.Y=z#1#%11 #5\'\'=1 *##1#%11 #5\'\'=1 #132#11%\'5\'\'=1 \'#15-11#)/% N>N.YEB##55\'=11%#7\'%=1 A#55\'=11%#7\'%=1 =#17f11%#7\'%=1 Y#19-11%+5\'\'=1 +\'55\'=11 "}, "LHI": {"data" : ")Australia/Lord_Howe"}, "Melbourne": {"data" : "+\' BDi(`#Hk#)%% g#=z#1#%11 #5\'\'=1 *##1#%11 #5\'\'=1 #132#11%\'5\'\'=1 \'#15-118#)#% g#Y [55\'=11W#5%\'=1 %S7\'%=1 %37\'^=1 3\'75^=11%O55\'=11C/7\'%=1 %K5\'\'=1 7#51\'=11%;55\'=11\'#7)%=1 %#5\'\'=1 % 7)%=1 75%=11 "} , "Hobart": {"data" : "+) oRyV`#Hk#)3% g#1v#75%=11%#5\'\'=1 \'75z=11 \'7\'%=1 #)5&# g#=+#1#%11 #5\'\'=1 *##1#%11 #5\'\'=1 #132#11%\'5\'\'=1 \'#15-11(#)#% g#r0%\'7\'%=1 *%#75%=11%#7\':#=1 h55\'=11d+7\'A=1 %#5%\'=1 %C7\'%=1 %\'5\'\'=1 %+7\'%=1 #75^=11%/7\'^=1 /#75z=11%+55\'=11%C75%=11C[5\'\'=1 7#51\'=11% 75%=115#7)%=1 %#5\'\'=1 % 7)%=1 "}, "Broken_Hill": {"data" : "+- &w(@^#Hk#)%% g##\')1!# V##/)+% _#=j#1#%11 #5\'\'=1 *##1#%11 #5\'\'=1 #132#11%\'5\'\'=1 \'#15-118#)#% _#M [55\'=11W#1%2#1 %C7\'%=1 %#7)%=1 %+7\'%=1 %/7\'^=1 /#15n11%S55\'=11G77\'%=1 %G5\'\'=1 7#51\'=11#)#% _#=Wt55\'=11W#1\'r1 %K5\'\'=1 %#1))1 %#5\'\'=1 % 7)%=1 75%=11 "} , "Darwin": {"data" : "+\' o:D&Y#Hk#)%% V##3)+% _#=j#1#%11 #5\'\'=1 *##1#%11 #5\'\'=1 #132#11%\'5\'\'=1 \'#15-11 "}, "ACT": {"data" : ")Australia/Sydney"}, "Brisbane": {"data" : "+\' 2,@mb#Hk#)#% g#=z#1#%11 #5\'\'=1 *##1#%11 #5\'\'=1 #132#11%\'5\'\'=1 \'#15-118#)#% g#1 #55\'=11%#5%\'=1 f+55\'=11\'+7\'%=1 "}, "NSW": {"data" : ")Australia/Sydney"}, "Currie": {"data" : ")Australia/Hobart"}, "Yancowinna": {"data" : ")Australia/Broken_Hill"}, "Canberra": {"data" : ")Australia/Sydney"}, "North": {"data" : ")Australia/Darwin"}, "Sydney": {"data" : "+\' .wFHb#Hk#)%% g#=z#1#%11 #5\'\'=1 *##1#%11 #5\'\'=1 #132#11%\'5\'\'=1 \'#15-118#)#% g#b [55\'=11W#1%2#1 %C7\'%=1 %#7)%=1 %+7\'%=1 %/7\'^=1 /#15n11%S55\'=11G77\'%=1 %G5\'\'=1 7#51\'=11%;55\'=11\'#7)%=1 %#5\'\'=1 % 7)%=1 75%=11 "}, "Queensland": {"data" : ")Australia/Brisbane"}}, "Chile": {"EasterIsland": {"data" : ")Pacific/Easter"}, "Continental": {"data" : ")America/Santiago"}}, "Atlantic": {"St_Helena": {"data" : ")Africa/Abidjan"}, "Reykjavik": {"data" : ")Africa/Abidjan"}, "Stanley": {"data" : "+- @gTF9#4k#)#% @gTF9#|)\'Q d9*#\'-3\'= 1 3/\'n= /#)5% 1%+-3\'= 1%#)#% g##-3\'= 1#)+% S5i##)#% g##-3\'= 1%\'-)\'= \'#)3b 1%`/3E= 1^)3^ d9\'\'-)\'= \'#)3b 1%`/3E= 1[[/)b= %G/)^=1 GG/3%=11#)351 S# "}, "Faroe": {"data" : "+\' DyeJ##}k#)#M #4\')#% 13/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Madeira": {"data" : "+; ]#!%1%#1)j!%1%#1)-!%1%#1\'.#!%1%#1)^!%1 #17j!% %#1%&#!%1 \'155!% #1)5!%1%/7\'A9!%1/#1)*#w#A #11^w#1 /75 !% -1)*#w# 39+\'155!% #1)5!%1%/7\'A9!%1/#1)*#w#A #11^w#1 /75 !% -11^w# 3A+\'155!% #1)5!%1%/7\'A9!%1/#1)*#w#A #11^w#1 /75 !% +#1)fw#A +71*#9w#1)1)fw# 39\'/7\'A9!%1/#1)*#w#A #11^w#1 /75 !% +#1)fw#A +71*#9w" + "#1)116#w# 3=\'/7\'A9!%1/#1)*#w#A #11^w#1 /75 !% +#1)fw#A +71*#9w#1\'\'7)v9w#A%1)zw# 35+/7\'A9!%1//75 !% +#1)fw#A +71*#9w#1\'\'7)v9w#A%11.#w# 35+/7\'A9!%1//75 !% +#1)fw#A +71*#9w#1\'\'7)v9w#A#1)vw# 35//7\'A9!%1//75 !% +#1)fw#A +71*#9w#1\'\'7)v9w#A#11*#w# 3E//7\'A9!%1//75 !% +#1)fw#A +71*#9w#1\'\'7)v9w#A%#7)%9!%1 #75%9!% %l7)%=11ll75%=1 \'))-1 Ipl7)%=11ll75%=1 Q#1\'2# 1 #13*# %\'7)%= 1\'#15% %/53\'=) +#5\'\'= 1%\'5\'\'=)1%#5\'\'=11#13*#) 1;/\')%=)1\'d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Canary": {"data" : "++ #) #P#1)9 1 ## 36#) 5//\')%=)1+# 5%) %d%3\'=) [ %\'\'=)1^ %5\'=) "}, "Faeroe": {"data" : ")Atlantic/Faroe"}, "Jan_Mayen": {"data" : ")Europe/Berlin"}, "Bermuda": {"data" : "++ T4Bu;#4k#)#% T4Bu;12##))9 1 #)5% %#))Y 1 #)3b S)#%1 dYS#))Y 1 #)3b &##)#M11 #)5j1 %#)\'v11 #)5B#1 %\'/\'A=11\'\'/7%=1 )#/+^=11 #/3A=1 %3/+z=1133/3%=1 1#/+z=11 #-5\'=1 l))6#1 d1<## 1Y!%1 #)3>#1 :#S-)\'=11SH#-5\'=1 >#)#% d9Ge#-5\'=1 D##-%\'=11%K-)\'=11%p/)%=11% /\'A=11 /7%=1 "}, "Azores": {"data" : "+? 0Z.P+#yi#)#% 4TF.-#8# #%1 CJ#1#)-f!%1 #)7%) %#1%6#!%1 315Y!% /#1\'%!%1%#1%6#!%1%#1%:#!%1%#1%6#!%1-#1)b!%1 #15Y!% )#1)f!%1 /75%9!% +#1)E!%1%#1)Y!%1%#1)r!%1)#1)j!%1 \'75%9!% #1))!%1)#1)=!%1 375%9!% /#1\'>#!%1%#1)j!%1%#1)-!%1%#1\'.#!%1%#1)^!%1 #17j!% %#1%&#!%1 \'155!% #1)5!%1%/7\'A9!%1/#1)*#w#A #11^w#1 /75 !% -1)*#w# C9+\'155!% #1)5!%1%/7\'A9!%1/#1)*#w#A #11^w#1 /75 !% -11^w# CA+\'155!% #1)5!%1%/7\'A9!%1/#1)*#w#A #11^w#1 /75 !% +#1)fw#A +71*#9w#1)1)fw# C9\'/7\'A9!%1/#1)*#w#A #11^w#1 /75 !% +#1)fw#A +71*#9w" + "#1)116#w# C=\'/7\'A9!%1/#1)*#w#A #11^w#1 /75 !% +#1)fw#A +71*#9w#1\'\'7)v9w#A%1)zw# C5+/7\'A9!%1//75 !% +#1)fw#A +71*#9w#1\'\'7)v9w#A%11.#w# C5+/7\'A9!%1//75 !% +#1)fw#A +71*#9w#1\'\'7)v9w#A#1)vw# C5//7\'A9!%1//75 !% +#1)fw#A +71*#9w#1\'\'7)v9w#A#11*#w# CE//7\'A9!%1//75 !% +#1)fw#A +71*#9w#1\'\'7)v9w#A%#7)%9!%1 #75%9!% %l7)%=11ll75%=1 \'))-1 3Ipl7)%=11ll75%=1 Q#1\'2# 1 #13*# %\'7)%= 1\'#15% %/53\'=) +#5\'\'= 1%\'5\'\'=)1%#5\'\'=11#13*#) 3-;/7)%=)1\'d53\'=) [ 5\'\'=)1O132#) -`/\')%=)1\'d%3\'=) [ %\'\'=)1S \'6#) 31d/\')%=)1\'d%3\'=) [ %" + "\'\'=)1^ %5\'=) "}, "South_Georgia": {"data" : "+% i_>o/#4k#)#% C# "}, "Cape_Verde": {"data" : "++ X2y$+#0m# #%1 C#@#)3% 1C#/)5^ C#@#)7*#1 3# "}}, "US": {"Aleutian": {"data" : ")America/Adak"}, "Mountain": {"data" : ")America/Denver"}, "Pacific": {"data" : ")America/Los_Angeles"}, "East-Indiana": {"data" : ")America/Indiana/Indianapolis"}, "Hawaii": {"data" : ")Pacific/Honolulu"}, "Alaska": {"data" : ")America/Anchorage"}, "Central": {"data" : ")America/Chicago"}, "Eastern": {"data" : ")America/New_York"} , "Indiana-Starke": {"data" : ")America/Indiana/Knox"}, "Arizona": {"data" : ")America/Phoenix"}, "Samoa": {"data" : ")Pacific/Pago_Pago"}, "Michigan": {"data" : ")America/Detroit"}}}; }, otciu_UnicodeHelper = $rt_classWithoutFields(), otciu_UnicodeHelper__init_ = $this => { return; }, otciu_UnicodeHelper__init_0 = () => { let var_0 = new otciu_UnicodeHelper(); otciu_UnicodeHelper__init_(var_0); return var_0; }, otciu_UnicodeHelper_decodeIntPairsDiff = $text => { let $flow, $data, var$4, $sz, var$6, $j, $lastKey, $lastValue, $i, var$11, var$12; $flow = new otci_CharFlow; $data = $rt_createCharArray($text.$nativeString.length); var$4 = $data.data; $sz = 0; var$6 = var$4.length; while (true) { if ($sz >= var$6) { $flow.$characters = $data; $sz = otci_Base46_decodeUnsigned($flow); $data = $rt_createIntArray($sz * 2 | 0); var$4 = $data.data; $j = 0; $lastKey = 0; $lastValue = 0; $i = 0; while ($i < $sz) { var$11 = otci_Base46_decodeUnsigned($flow); var$12 = var$11 / 2 | 0; if (var$11 % 2 | 0) var$12 = -var$12 | 0; $lastKey = $lastKey + var$12 | 0; var$11 = otci_Base46_decodeUnsigned($flow); var$6 = var$11 / 2 | 0; if (var$11 % 2 | 0) var$6 = -var$6 | 0; $lastValue = $lastValue + var$6 | 0; var$6 = $j + 1 | 0; var$4[$j] = $lastKey; $j = var$6 + 1 | 0; var$4[var$6] = $lastValue; $i = $i + 1 | 0; } return $data; } if ($sz < 0) break; if ($sz >= $text.$nativeString.length) break; var$4[$sz] = $text.$nativeString.charCodeAt($sz); $sz = $sz + 1 | 0; } $text = new jl_StringIndexOutOfBoundsException; $text.$suppressionEnabled = 1; $text.$writableStackTrace = 1; $rt_throw($text); }, otciu_UnicodeHelper_decodeCaseMapping = $text => { let $flow, $data, var$4, $sz, var$6, $last, $i, var$9, var$10, var$11; $flow = new otci_CharFlow; $data = $rt_createCharArray($text.$nativeString.length); var$4 = $data.data; $sz = 0; var$6 = var$4.length; while (true) { if ($sz >= var$6) { $flow.$characters = $data; $sz = otci_Base46_decodeUnsigned($flow); $data = $rt_createIntArray($sz * 2 | 0); var$4 = $data.data; $last = 0; $i = 0; while ($i < $sz) { $last = $last + otci_Base46_decodeUnsigned($flow) | 0; var$6 = $i * 2 | 0; var$4[var$6] = $last; var$9 = var$6 + 1 | 0; var$10 = otci_Base46_decodeUnsigned($flow); var$11 = var$10 / 2 | 0; if (var$10 % 2 | 0) var$11 = -var$11 | 0; var$4[var$9] = var$11; $i = $i + 1 | 0; } return $data; } if ($sz < 0) break; if ($sz >= $text.$nativeString.length) break; var$4[$sz] = $text.$nativeString.charCodeAt($sz); $sz = $sz + 1 | 0; } $text = new jl_StringIndexOutOfBoundsException; $text.$suppressionEnabled = 1; $text.$writableStackTrace = 1; $rt_throw($text); }, otciu_UnicodeHelper_createCharMapping = $data => { let $result, var$3, $last, $lastValue, $i, var$7, $key, $value, var$10, var$11, var$12; $result = $rt_createIntArray(65536); var$3 = $result.data; $last = 0; $lastValue = 0; $i = 0; a: { while (true) { var$7 = $data.data; if ($i >= var$7.length) break a; $key = var$7[$i]; $value = var$7[$i + 1 | 0]; var$10 = var$3.length; if ($key < var$10) var$10 = $key; else if ($key == $last) break; if ($last > var$10) { var$11 = new jl_IllegalArgumentException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; $rt_throw(var$11); } while ($last < var$10) { var$12 = $last + 1 | 0; var$3[$last] = $lastValue; $last = var$12; } $i = $i + 2 | 0; $last = var$10; $lastValue = $value; } } var$11 = new otciu_CharMapping; var$11.$binarySearchTable0 = $data; var$11.$fastTable = $result; return var$11; }, otciu_UnicodeHelper_decodeByte = $c => { if ($c > 92) return (($c - 32 | 0) - 2 | 0) << 24 >> 24; if ($c <= 34) return ($c - 32 | 0) << 24 >> 24; return (($c - 32 | 0) - 1 | 0) << 24 >> 24; }, otciu_UnicodeHelper_extractRle = $encoded => { let $ranges, var$3, var$4, $index, $rangeIndex, $codePoint, $i, var$9, var$10, $b, $count, $pos, $j, $digit, $buffer, var$17, var$18, var$19; $ranges = $rt_createArray(otciu_UnicodeHelper$Range, 16384); var$3 = $ranges.data; var$4 = $rt_createByteArray(16384).data; $index = 0; $rangeIndex = 0; $codePoint = 0; $i = 0; a: { b: { c: { while (true) { if ($i >= $encoded.$nativeString.length) { var$9 = $ranges.constructor; if (var$9 === null) $encoded = null; else { $encoded = var$9.classObject; if ($encoded === null) { $encoded = new jl_Class; $encoded.$platformClass = var$9; var$9.classObject = $encoded; } } $encoded = jl_Class_getComponentType($encoded); if ($encoded === null) { $encoded = new jl_NullPointerException; $encoded.$suppressionEnabled = 1; $encoded.$writableStackTrace = 1; $rt_throw($encoded); } if ($encoded === $rt_cls($rt_voidcls)) { $encoded = new jl_IllegalArgumentException; $encoded.$suppressionEnabled = 1; $encoded.$writableStackTrace = 1; $rt_throw($encoded); } if ($rangeIndex < 0) { $encoded = new jl_NegativeArraySizeException; $encoded.$suppressionEnabled = 1; $encoded.$writableStackTrace = 1; $rt_throw($encoded); } var$10 = jlr_Array_newInstanceImpl($encoded.$platformClass, $rangeIndex); $index = var$3.length; if ($rangeIndex < $index) $index = $rangeIndex; $rangeIndex = 0; while ($rangeIndex < $index) { var$10.data[$rangeIndex] = var$3[$rangeIndex]; $rangeIndex = $rangeIndex + 1 | 0; } return var$10; } if ($i < 0) break c; if ($i >= $encoded.$nativeString.length) break c; $b = otciu_UnicodeHelper_decodeByte($encoded.$nativeString.charCodeAt($i)); if ($b == 64) { $i = $i + 1 | 0; if ($i < 0) break b; if ($i >= $encoded.$nativeString.length) break b; $b = otciu_UnicodeHelper_decodeByte($encoded.$nativeString.charCodeAt($i)); $count = 0; $pos = 1; $j = 0; while ($j < 3) { $i = $i + 1 | 0; if ($i < 0) break a; if ($i >= $encoded.$nativeString.length) break a; $count = $count | $rt_imul($pos, otciu_UnicodeHelper_decodeByte($encoded.$nativeString.charCodeAt($i))); $pos = $pos * 64 | 0; $j = $j + 1 | 0; } } else if ($b < 32) $count = 1; else { $b = ($b - 32 | 0) << 24 >> 24; $i = $i + 1 | 0; if ($i < 0) break; if ($i >= $encoded.$nativeString.length) break; $count = otciu_UnicodeHelper_decodeByte($encoded.$nativeString.charCodeAt($i)); } if (!$b && $count >= 128) { if ($index > 0) { $digit = $rangeIndex + 1 | 0; var$9 = new otciu_UnicodeHelper$Range; $b = $codePoint + $index | 0; $buffer = $rt_createByteArray($index); $j = var$4.length; if ($index < $j) $j = $index; var$17 = $buffer.data; var$18 = 0; while (var$18 < $j) { var$17[var$18] = var$4[var$18]; var$18 = var$18 + 1 | 0; } var$9.$start8 = $codePoint; var$9.$end1 = $b; var$9.$data16 = $buffer; var$3[$rangeIndex] = var$9; $rangeIndex = $digit; } $codePoint = $codePoint + ($index + $count | 0) | 0; $index = 0; } else { $pos = $index + $count | 0; $j = var$4.length; if ($pos < $j) var$18 = $rangeIndex; else { var$18 = $rangeIndex + 1 | 0; var$9 = new otciu_UnicodeHelper$Range; var$19 = $codePoint + $index | 0; $buffer = $rt_createByteArray($index); if ($index < $j) $j = $index; var$17 = $buffer.data; $index = 0; while ($index < $j) { var$17[$index] = var$4[$index]; $index = $index + 1 | 0; } var$9.$start8 = $codePoint; var$9.$end1 = var$19; var$9.$data16 = $buffer; var$3[$rangeIndex] = var$9; $codePoint = $codePoint + $pos | 0; $index = 0; } while (true) { $rangeIndex = $count + (-1) | 0; if ($count <= 0) break; $digit = $index + 1 | 0; var$4[$index] = $b; $index = $digit; $count = $rangeIndex; } $rangeIndex = var$18; } $i = $i + 1 | 0; } $encoded = new jl_StringIndexOutOfBoundsException; $encoded.$suppressionEnabled = 1; $encoded.$writableStackTrace = 1; $rt_throw($encoded); } $encoded = new jl_StringIndexOutOfBoundsException; $encoded.$suppressionEnabled = 1; $encoded.$writableStackTrace = 1; $rt_throw($encoded); } $encoded = new jl_StringIndexOutOfBoundsException; $encoded.$suppressionEnabled = 1; $encoded.$writableStackTrace = 1; $rt_throw($encoded); } $encoded = new jl_StringIndexOutOfBoundsException; $encoded.$suppressionEnabled = 1; $encoded.$writableStackTrace = 1; $rt_throw($encoded); }; function otciu_CharMapping() { let a = this; jl_Object.call(a); a.$binarySearchTable0 = null; a.$fastTable = null; } let ju_AbstractQueue = $rt_classWithoutFields(ju_AbstractCollection); function ju_PriorityQueue() { let a = this; ju_AbstractQueue.call(a); a.$data9 = null; a.$comparator0 = null; a.$originalComparator0 = null; a.$size5 = 0; a.$version0 = 0; } let ju_PriorityQueue__init_ = $this => { let var$1; var$1 = null; $this.$data9 = $rt_createArray(jl_Object, 1); $this.$originalComparator0 = var$1; $this.$comparator0 = ju_Comparator$NaturalOrder_INSTANCE; }, ju_PriorityQueue__init_0 = () => { let var_0 = new ju_PriorityQueue(); ju_PriorityQueue__init_(var_0); return var_0; }, ju_PriorityQueue_offer = ($this, $e) => { let $current, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $current_0; if ($e === null) { $e = new jl_NullPointerException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } $current = $this.$size5 + 1 | 0; var$3 = $this.$data9; var$4 = var$3.data; var$5 = var$4.length; if (var$5 < $current) { var$6 = (var$5 * 3 | 0) / 2 | 0; if ($current > var$6) var$6 = $current; var$7 = var$3.constructor; if (var$7 === null) var$8 = null; else { var$8 = var$7.classObject; if (var$8 === null) { var$8 = new jl_Class; var$8.$platformClass = var$7; var$7.classObject = var$8; } } var$8 = jl_Class_getComponentType(var$8); if (var$8 === null) { $e = new jl_NullPointerException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } if (var$8 === $rt_cls($rt_voidcls)) { $e = new jl_IllegalArgumentException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } if (var$6 < 0) { $e = new jl_NegativeArraySizeException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } var$9 = jlr_Array_newInstanceImpl(var$8.$platformClass, var$6); if (var$6 < var$5) var$5 = var$6; $current = 0; while ($current < var$5) { var$9.data[$current] = var$4[$current]; $current = $current + 1 | 0; } $this.$data9 = var$9; } $current = $this.$size5; while ($current > 0) { $current_0 = ($current - 1 | 0) / 2 | 0; if ($this.$comparator0.$compare0($e, $this.$data9.data[$current_0]) >= 0) break; var$3 = $this.$data9.data; var$3[$current] = var$3[$current_0]; $current = $current_0; } $this.$data9.data[$current] = $e; $this.$size5 = $this.$size5 + 1 | 0; $this.$version0 = $this.$version0 + 1 | 0; return 1; }, ju_PriorityQueue_size = $this => { return $this.$size5; }, ju_PriorityQueue_removeAt = ($this, $index) => { let $item, $next, $next_0, var$5, var$6, var$7; $this.$version0 = $this.$version0 + 1 | 0; $item = $this.$data9.data[$this.$size5 - 1 | 0]; a: { while (true) { $next = ($index * 2 | 0) + 1 | 0; $next_0 = $next + 1 | 0; var$5 = $this.$size5; if ($next >= var$5) break; if ($next_0 < var$5) { var$6 = $this.$comparator0; var$7 = $this.$data9.data; if (var$6.$compare0(var$7[$next], var$7[$next_0]) >= 0) $next = $next_0; } if ($this.$comparator0.$compare0($item, $this.$data9.data[$next]) <= 0) break a; var$7 = $this.$data9.data; var$7[$index] = var$7[$next]; $index = $next; } } var$7 = $this.$data9.data; var$7[$index] = $item; $index = $this.$size5 - 1 | 0; $this.$size5 = $index; var$7[$index] = null; }, otcit_DateTimeZoneProvider$1 = $rt_classWithoutFields(), otcit_DateTimeZoneProvider$1__init_ = $this => { return; }, otcit_DateTimeZoneProvider$1__init_0 = () => { let var_0 = new otcit_DateTimeZoneProvider$1(); otcit_DateTimeZoneProvider$1__init_(var_0); return var_0; }, otcit_DateTimeZoneProvider$1_compare = ($this, var$1, var$2) => { var$1 = var$1; return Long_compare(var$2.$value7, var$1.$value7); }; function jl_Long() { jl_Number.call(this); this.$value7 = Long_ZERO; } let jl_Long_TYPE = null, jl_Long_valueOf = $value => { let var$2; var$2 = new jl_Long; var$2.$value7 = $value; return var$2; }, jl_Long_parseLongImpl = ($s, $beginIndex, $endIndex, $radix) => { let $negative, $digit, $value, var$8, $maxValue, var$10, var$11, var$12, var$13, var$14, var$15; if ($radix >= 2 && $radix <= 36) { if ($beginIndex == $endIndex) { $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $s.$message = $rt_s(109); $rt_throw($s); } $negative = 0; if ($beginIndex >= 0 && $beginIndex < $s.$nativeString.length) { a: { switch ($s.$nativeString.charCodeAt($beginIndex)) { case 43: $digit = $beginIndex + 1 | 0; break a; case 45: $negative = 1; $digit = $beginIndex + 1 | 0; break a; default: } $digit = $beginIndex; } $value = Long_ZERO; var$8 = Long_fromInt($radix); $maxValue = Long_add(Long_fromInt(1), Long_div(Long_create(4294967295, 2147483647), var$8)); if ($digit == $endIndex) { $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } b: { while ($digit < $endIndex) { var$10 = $digit + 1 | 0; if ($digit < 0) break b; if ($digit >= $s.$nativeString.length) break b; $digit = jl_Long_decodeDigit($s.$nativeString.charCodeAt($digit)); if ($digit < 0) { var$11 = new jl_NumberFormatException; $s = jl_String_substring($s, $beginIndex, $endIndex); var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$12, var$12.$length0, $rt_s(110)); $beginIndex = var$12.$length0; if ($s === null) $s = $rt_s(1); jl_AbstractStringBuilder_insert(var$12, $beginIndex, $s); $s = new jl_String; var$13 = var$12.$buffer; var$14 = var$13.data; $endIndex = var$12.$length0; $radix = var$14.length; if ($endIndex >= 0 && $endIndex <= ($radix - 0 | 0)) { $s.$nativeString = $rt_charArrayToString(var$13.data, 0, $endIndex); var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; var$11.$message = $s; $rt_throw(var$11); } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } if ($digit >= $radix) { var$11 = new jl_NumberFormatException; var$15 = jl_String_substring($s, $beginIndex, $endIndex); $s = new jl_StringBuilder; $s.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(111)); jl_AbstractStringBuilder_insert0($s, $s.$length0, $radix, 10); jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(107)); $beginIndex = $s.$length0; if (var$15 === null) var$15 = $rt_s(1); jl_AbstractStringBuilder_insert($s, $beginIndex, var$15); var$12 = new jl_String; var$13 = $s.$buffer; var$14 = var$13.data; $endIndex = $s.$length0; $radix = var$14.length; if ($endIndex >= 0 && $endIndex <= ($radix - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString(var$13.data, 0, $endIndex); var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; var$11.$message = var$12; $rt_throw(var$11); } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } if (Long_gt($value, $maxValue)) { $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $s.$message = $rt_s(1008); $rt_throw($s); } $value = Long_add(Long_mul(var$8, $value), Long_fromInt($digit)); if (Long_lt($value, Long_ZERO)) { if (var$10 == $endIndex && Long_eq($value, Long_create(0, 2147483648)) && $negative) return Long_create(0, 2147483648); var$11 = new jl_NumberFormatException; var$15 = jl_String_substring($s, $beginIndex, $endIndex); var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$12, var$12.$length0, $rt_s(1009)); $beginIndex = var$12.$length0; if (var$15 === null) var$15 = $rt_s(1); jl_AbstractStringBuilder_insert(var$12, $beginIndex, var$15); $s = new jl_String; var$13 = var$12.$buffer; var$14 = var$13.data; $radix = var$12.$length0; $beginIndex = var$14.length; if ($radix >= 0 && $radix <= ($beginIndex - 0 | 0)) { $s.$nativeString = $rt_charArrayToString(var$13.data, 0, $radix); var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; var$11.$message = $s; $rt_throw(var$11); } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $digit = var$10; } if ($negative) $value = Long_neg($value); return $value; } $s = new jl_StringIndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $s = new jl_StringIndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $s = new jl_NumberFormatException; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(114)); jl_AbstractStringBuilder_insert0(var$11, var$11.$length0, $radix, 10); var$12 = new jl_String; var$13 = var$11.$buffer; var$14 = var$13.data; $endIndex = var$11.$length0; $radix = var$14.length; if ($endIndex >= 0 && $endIndex <= ($radix - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString(var$13.data, 0, $endIndex); $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $s.$message = var$12; $rt_throw($s); } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); }, jl_Long_parseLong = $s => { if ($s !== null) return jl_Long_parseLongImpl($s, 0, $s.$nativeString.length, 10); $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $s.$message = $rt_s(108); $rt_throw($s); }, jl_Long_decodeDigit = $c => { if ($c >= 48 && $c <= 57) return $c - 48 | 0; if ($c >= 97 && $c <= 122) return ($c - 97 | 0) + 10 | 0; if ($c >= 65 && $c <= 90) return ($c - 65 | 0) + 10 | 0; return (-1); }, jl_Long_intValue = $this => { return Long_lo($this.$value7); }, jl_Long_longValue = $this => { return $this.$value7; }, jl_Long_doubleValue = $this => { return Long_toNumber($this.$value7); }, jl_Long_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$value7; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert2(var$2, var$2.$length0, var$1, 10); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$2); $rt_throw(var$2); }, jl_Long_hashCode = $this => { let var$1; var$1 = $this.$value7; return Long_lo(var$1) ^ Long_hi(var$1); }, jl_Long_equals = ($this, $other) => { if ($this === $other) return 1; return $other instanceof jl_Long && Long_eq($other.$value7, $this.$value7) ? 1 : 0; }, jl_Long_numberOfLeadingZeros = $i => { let $n, var$3; if (Long_eq($i, Long_ZERO)) return 64; $n = 0; var$3 = Long_shru($i, 32); if (Long_ne(var$3, Long_ZERO)) $n = 32; else var$3 = $i; $i = Long_shru(var$3, 16); if (Long_eq($i, Long_ZERO)) $i = var$3; else $n = $n | 16; var$3 = Long_shru($i, 8); if (Long_eq(var$3, Long_ZERO)) var$3 = $i; else $n = $n | 8; $i = Long_shru(var$3, 4); if (Long_eq($i, Long_ZERO)) $i = var$3; else $n = $n | 4; var$3 = Long_shru($i, 2); if (Long_eq(var$3, Long_ZERO)) var$3 = $i; else $n = $n | 2; if (Long_ne(Long_shru(var$3, 1), Long_ZERO)) $n = $n | 1; return (64 - $n | 0) - 1 | 0; }, jl_Long_divideUnsigned = (var$1, var$2) => { return Long_udiv(var$1, var$2); }, jl_Long_remainderUnsigned = (var$1, var$2) => { return Long_urem(var$1, var$2); }, jl_Long_compareUnsigned = (var$1, var$2) => { return Long_ucompare(var$1, var$2); }, jl_Long_compareTo = ($this, var$1) => { var$1 = var$1; return Long_compare($this.$value7, var$1.$value7); }, jl_Long__clinit_ = () => { jl_Long_TYPE = $rt_cls($rt_longcls); }; function otcit_AliasDateTimeZone() { otcit_StorableDateTimeZone.call(this); this.$innerZone = null; } let otcit_AliasDateTimeZone_getOffset = ($this, $instant) => { return $this.$innerZone.$getOffset($instant); }, otcit_AliasDateTimeZone_getStandardOffset = ($this, $instant) => { return $this.$innerZone.$getStandardOffset($instant); }, otcit_AliasDateTimeZone_previousTransition = ($this, $instant) => { return $this.$innerZone.$previousTransition($instant); }; function otcit_DateTimeZoneProvider$Score() { let a = this; jl_Object.call(a); a.$tz = null; a.$value11 = 0; } let juf_Function = $rt_classWithoutFields(0), otcit_DateTimeZoneProvider$detectTimezone$lambda$_4_0 = $rt_classWithoutFields(), otcit_DateTimeZoneProvider$detectTimezone$lambda$_4_0__init_ = var$0 => { return; }, otcit_DateTimeZoneProvider$detectTimezone$lambda$_4_0__init_0 = () => { let var_0 = new otcit_DateTimeZoneProvider$detectTimezone$lambda$_4_0(); otcit_DateTimeZoneProvider$detectTimezone$lambda$_4_0__init_(var_0); return var_0; }; function otciu_UnicodeHelper$Range() { let a = this; jl_Object.call(a); a.$start8 = 0; a.$end1 = 0; a.$data16 = null; } function otci_CharFlow() { let a = this; jl_Object.call(a); a.$characters = null; a.$pointer = 0; } let otci_Base46 = $rt_classWithoutFields(), otci_Base46__init_ = $this => { return; }, otci_Base46__init_0 = () => { let var_0 = new otci_Base46(); otci_Base46__init_(var_0); return var_0; }, otci_Base46_decodeUnsigned = $seq => { let $number, $pos, var$4, $hasMore, $digit; $number = 0; $pos = 1; while (true) { var$4 = $seq.$characters.data; $hasMore = $seq.$pointer; $seq.$pointer = $hasMore + 1 | 0; $digit = var$4[$hasMore]; $digit = $digit < 34 ? $digit - 32 | 0 : $digit >= 92 ? ($digit - 32 | 0) - 2 | 0 : ($digit - 32 | 0) - 1 | 0; $hasMore = ($digit % 2 | 0) != 1 ? 0 : 1; $number = $number + $rt_imul($pos, $digit / 2 | 0) | 0; $pos = $pos * 46 | 0; if (!$hasMore) break; } return $number; }, otci_Base46_decodeUnsignedLong = $seq => { let $number, $pos, var$4, $digit, var$6, $hasMore; $number = Long_ZERO; $pos = Long_fromInt(1); while (true) { var$4 = $seq.$characters.data; $digit = $seq.$pointer; $seq.$pointer = $digit + 1 | 0; var$6 = var$4[$digit]; $digit = var$6 < 34 ? var$6 - 32 | 0 : var$6 >= 92 ? (var$6 - 32 | 0) - 2 | 0 : (var$6 - 32 | 0) - 1 | 0; $hasMore = ($digit % 2 | 0) != 1 ? 0 : 1; $number = Long_add($number, Long_mul($pos, Long_fromInt($digit / 2 | 0))); $pos = Long_mul($pos, Long_fromInt(46)); if (!$hasMore) break; } return $number; }, ju_Comparator$NaturalOrder = $rt_classWithoutFields(), ju_Comparator$NaturalOrder_INSTANCE = null, ju_Comparator$NaturalOrder__init_ = $this => { return; }, ju_Comparator$NaturalOrder__init_0 = () => { let var_0 = new ju_Comparator$NaturalOrder(); ju_Comparator$NaturalOrder__init_(var_0); return var_0; }, ju_Comparator$NaturalOrder_compare = ($this, $o1, $o2) => { return $o1.$compareTo1($o2); }, ju_Comparator$NaturalOrder__clinit_ = () => { ju_Comparator$NaturalOrder_INSTANCE = new ju_Comparator$NaturalOrder; }; function otcit_DateTimeZoneBuilder$PrecalculatedZone() { let a = this; otcit_StorableDateTimeZone.call(a); a.$iTransitions = null; a.$iWallOffsets = null; a.$iStandardOffsets = null; a.$iTailZone = null; } let otcit_DateTimeZoneBuilder$PrecalculatedZone_create = ($id, $outputID, $transitions, $tailZone) => { let $size, $trans, var$7, $wallOffsets, var$9, $standardOffsets, var$11, $last, $i, var$14, $tr; $size = $transitions.$size0; if (!$size) { $id = new jl_IllegalArgumentException; $id.$suppressionEnabled = 1; $id.$writableStackTrace = 1; $rt_throw($id); } $trans = $rt_createLongArray($size); var$7 = $trans.data; $wallOffsets = $rt_createIntArray($size); var$9 = $wallOffsets.data; $standardOffsets = $rt_createIntArray($size); var$11 = $standardOffsets.data; $last = null; $i = 0; while (true) { var$14 = $rt_compare($i, $size); if (var$14 >= 0) { $transitions = new otcit_DateTimeZoneBuilder$PrecalculatedZone; if (!$outputID) $id = $rt_s(18); if ($id !== null) { $transitions.$iID = $id; $transitions.$iTransitions = $trans; $transitions.$iWallOffsets = $wallOffsets; $transitions.$iStandardOffsets = $standardOffsets; $transitions.$iTailZone = $tailZone; return $transitions; } $transitions = new jl_IllegalArgumentException; $transitions.$suppressionEnabled = 1; $transitions.$writableStackTrace = 1; $transitions.$message = $rt_s(1005); $rt_throw($transitions); } if ($i < 0) break; if (var$14 >= 0) break; $tr = $transitions.$array.data[$i]; if ($last === null) var$14 = 1; else a: { b: { if (Long_gt($tr.$iMillis, $last.$iMillis)) { if ($tr.$iWallOffset != $last.$iWallOffset) break b; if ($tr.$iStandardOffset0 != $last.$iStandardOffset0) break b; } var$14 = 0; break a; } var$14 = 1; } if (!var$14) { $transitions = new jl_IllegalArgumentException; $transitions.$suppressionEnabled = 1; $transitions.$writableStackTrace = 1; $transitions.$message = $id; $rt_throw($transitions); } var$7[$i] = $tr.$iMillis; var$9[$i] = $tr.$iWallOffset; var$11[$i] = $tr.$iStandardOffset0; $i = $i + 1 | 0; $last = $tr; } $id = new jl_IndexOutOfBoundsException; $id.$suppressionEnabled = 1; $id.$writableStackTrace = 1; $rt_throw($id); }, otcit_DateTimeZoneBuilder$PrecalculatedZone_readZone = ($id, $flow) => { let $length, $firstLongIsMin, $transitions, $wallOffsets, $standardOffsets, var$8, var$9, var$10, var$11, $i, var$13, $tailZone, var$15, var$16, var$17, $result; $length = otci_Base46_decodeUnsigned($flow); $firstLongIsMin = !($length & 1) ? 0 : 1; a: { $length = $length >>> 1 | 0; $transitions = $rt_createLongArray($length); $wallOffsets = $rt_createIntArray($length); $standardOffsets = $rt_createIntArray($length); if (!$firstLongIsMin) { var$8 = Long_fromInt(otci_Base46_decodeUnsigned($flow)); var$9 = Long_div(var$8, Long_fromInt(2)); if (Long_ne(Long_rem(var$8, Long_fromInt(2)), Long_ZERO)) var$9 = Long_neg(var$9); var$10 = Long_ne(Long_and(var$9, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$9, 1) : Long_mul(Long_shr(var$9, 1), Long_fromInt(1800000)); var$11 = $transitions.data; var$11[0] = var$10; $i = 1; while (true) { if ($i >= $length) break a; var$10 = var$11[$i - 1 | 0]; var$9 = Long_fromInt(otci_Base46_decodeUnsigned($flow)); var$13 = Long_div(var$9, Long_fromInt(2)); if (Long_ne(Long_rem(var$9, Long_fromInt(2)), Long_ZERO)) var$13 = Long_neg(var$13); var$11[$i] = Long_add(Long_add(var$10, Long_ne(Long_and(var$13, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$13, 1) : Long_mul(Long_shr(var$13, 1), Long_fromInt(1800000))), Long_fromInt(657000000)); $i = $i + 1 | 0; } } var$11 = $transitions.data; var$11[0] = Long_create(0, 2147483648); if (var$11.length > 1) { var$8 = Long_fromInt(otci_Base46_decodeUnsigned($flow)); var$9 = Long_div(var$8, Long_fromInt(2)); if (Long_ne(Long_rem(var$8, Long_fromInt(2)), Long_ZERO)) var$9 = Long_neg(var$9); var$11[1] = Long_ne(Long_and(var$9, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$9, 1) : Long_mul(Long_shr(var$9, 1), Long_fromInt(1800000)); $i = 2; while ($i < $length) { var$13 = var$11[$i - 1 | 0]; var$8 = Long_fromInt(otci_Base46_decodeUnsigned($flow)); var$9 = Long_div(var$8, Long_fromInt(2)); if (Long_ne(Long_rem(var$8, Long_fromInt(2)), Long_ZERO)) var$9 = Long_neg(var$9); var$11[$i] = Long_add(Long_add(var$13, Long_ne(Long_and(var$9, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$9, 1) : Long_mul(Long_shr(var$9, 1), Long_fromInt(1800000))), Long_fromInt(657000000)); $i = $i + 1 | 0; } } } otcit_StorableDateTimeZone_readTimeArray($flow, $wallOffsets); otcit_StorableDateTimeZone_readTimeArray($flow, $standardOffsets); var$11 = $flow.$characters.data; $firstLongIsMin = $flow.$pointer; $length = $firstLongIsMin + 1 | 0; $flow.$pointer = $length; if (var$11[$firstLongIsMin] != 121) $tailZone = null; else { $flow.$pointer = $length + 1 | 0; var$8 = Long_fromInt(otci_Base46_decodeUnsigned($flow)); var$9 = Long_div(var$8, Long_fromInt(2)); if (Long_ne(Long_rem(var$8, Long_fromInt(2)), Long_ZERO)) var$9 = Long_neg(var$9); $length = Long_lo((Long_ne(Long_and(var$9, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$9, 1) : Long_mul(Long_shr(var$9, 1), Long_fromInt(1800000)))); $tailZone = otcit_DateTimeZoneBuilder$OfYear_read($flow); var$8 = Long_fromInt(otci_Base46_decodeUnsigned($flow)); var$9 = Long_div(var$8, Long_fromInt(2)); if (Long_ne(Long_rem(var$8, Long_fromInt(2)), Long_ZERO)) var$9 = Long_neg(var$9); $firstLongIsMin = Long_lo((Long_ne(Long_and(var$9, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$9, 1) : Long_mul(Long_shr(var$9, 1), Long_fromInt(1800000)))); var$15 = new otcit_DateTimeZoneBuilder$Recurrence; var$15.$iOfYear = $tailZone; var$15.$iSaveMillis = $firstLongIsMin; $tailZone = otcit_DateTimeZoneBuilder$OfYear_read($flow); var$8 = Long_fromInt(otci_Base46_decodeUnsigned($flow)); var$9 = Long_div(var$8, Long_fromInt(2)); if (Long_ne(Long_rem(var$8, Long_fromInt(2)), Long_ZERO)) var$9 = Long_neg(var$9); $firstLongIsMin = Long_lo((Long_ne(Long_and(var$9, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$9, 1) : Long_mul(Long_shr(var$9, 1), Long_fromInt(1800000)))); var$16 = new otcit_DateTimeZoneBuilder$Recurrence; var$16.$iOfYear = $tailZone; var$16.$iSaveMillis = $firstLongIsMin; $tailZone = new otcit_DateTimeZoneBuilder$DSTZone; if ($id === null) { $flow = new jl_IllegalArgumentException; $flow.$suppressionEnabled = 1; $flow.$writableStackTrace = 1; $flow.$message = $rt_s(1005); $rt_throw($flow); } $tailZone.$iID = $id; $flow = new ju_GregorianCalendar; if (otcit_DateTimeZoneBuilder_gmtCache === null) otcit_DateTimeZoneBuilder_gmtCache = ju_TimeZone_getTimeZone($rt_s(1006)); var$17 = otcit_DateTimeZoneBuilder_gmtCache; ju_Locale_$callClinit(); ju_GregorianCalendar__init_($flow, var$17, ju_Locale_defaultLocale); $tailZone.$calendar0 = $flow; $tailZone.$iStandardOffset2 = $length; $tailZone.$iStartRecurrence = var$15; $tailZone.$iEndRecurrence = var$16; } $result = new otcit_DateTimeZoneBuilder$PrecalculatedZone; if ($id === null) { $flow = new jl_IllegalArgumentException; $flow.$suppressionEnabled = 1; $flow.$writableStackTrace = 1; $flow.$message = $rt_s(1005); $rt_throw($flow); } $result.$iID = $id; $result.$iTransitions = $transitions; $result.$iWallOffsets = $wallOffsets; $result.$iStandardOffsets = $standardOffsets; $result.$iTailZone = $tailZone; if (otcit_DateTimeZoneBuilder$PrecalculatedZone_isCachable($result)) { if ($result instanceof otcit_CachedDateTimeZone) $result = $result; else { $id = new otcit_CachedDateTimeZone; $flow = $result.$iID; if ($flow === null) { $flow = new jl_IllegalArgumentException; $flow.$suppressionEnabled = 1; $flow.$writableStackTrace = 1; $flow.$message = $rt_s(1005); $rt_throw($flow); } $id.$iID = $flow; $id.$iInfoCache = $rt_createArray(otcit_CachedDateTimeZone$Info, otcit_CachedDateTimeZone_cInfoCacheMask + 1 | 0); $id.$iZone = $result; $result = $id; } } return $result; }, otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset = ($this, $instant) => { let $transitions, var$3, $i, var$5, var$6, var$7, var$8, var$9, var$10, $$je; $transitions = $this.$iTransitions; var$3 = $transitions.data.length; $i = ju_Arrays_binarySearch($transitions, 0, var$3, $instant); if ($i >= 0) return $this.$iWallOffsets.data[$i]; var$5 = $i ^ (-1); if (var$5 < var$3) { if (var$5 <= 0) return 0; return $this.$iWallOffsets.data[var$5 - 1 | 0]; } var$6 = $this.$iTailZone; if (var$6 === null) return $this.$iWallOffsets.data[var$5 - 1 | 0]; var$5 = var$6.$iStandardOffset2; var$7 = var$6.$iStartRecurrence; var$8 = var$6.$iEndRecurrence; a: { b: { try { var$9 = otcit_DateTimeZoneBuilder$Recurrence_next(var$7, $instant, var$5, otcit_DateTimeZoneBuilder$Recurrence_getSaveMillis(var$8), var$6.$calendar0); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_IllegalArgumentException) { break b; } else if ($$je instanceof jl_ArithmeticException) { break b; } else { throw $$e; } } break a; } var$9 = $instant; } c: { d: { try { var$10 = otcit_DateTimeZoneBuilder$Recurrence_next(var$8, $instant, var$5, otcit_DateTimeZoneBuilder$Recurrence_getSaveMillis(var$7), var$6.$calendar0); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_IllegalArgumentException) { break d; } else if ($$je instanceof jl_ArithmeticException) { break d; } else { throw $$e; } } break c; } var$10 = $instant; } if (Long_gt(var$9, var$10)) var$8 = var$7; return var$5 + var$8.$iSaveMillis | 0; }, otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset = ($this, $instant) => { let $transitions, var$3, $i, var$5, var$6; $transitions = $this.$iTransitions; var$3 = $transitions.data.length; $i = ju_Arrays_binarySearch($transitions, 0, var$3, $instant); if ($i >= 0) return $this.$iStandardOffsets.data[$i]; var$5 = $i ^ (-1); if (var$5 < var$3) { if (var$5 <= 0) return 0; return $this.$iStandardOffsets.data[var$5 - 1 | 0]; } var$6 = $this.$iTailZone; if (var$6 !== null) return var$6.$iStandardOffset2; return $this.$iStandardOffsets.data[var$5 - 1 | 0]; }, otcit_DateTimeZoneBuilder$PrecalculatedZone_nextTransition = ($this, $instant) => { let $transitions, var$3, var$4, $i, var$6, var$7, $end; $transitions = $this.$iTransitions; var$3 = $transitions.data; var$4 = var$3.length; $i = ju_Arrays_binarySearch($transitions, 0, var$4, $instant); var$6 = $i < 0 ? $i ^ (-1) : $i + 1 | 0; if (var$6 < var$4) return var$3[var$6]; var$7 = $this.$iTailZone; if (var$7 === null) return $instant; $end = var$3[var$4 - 1 | 0]; if (Long_ge($instant, $end)) $end = $instant; return otcit_DateTimeZoneBuilder$DSTZone_nextTransition(var$7, $end); }, otcit_DateTimeZoneBuilder$PrecalculatedZone_previousTransition = ($this, $instant) => { let $transitions, var$3, var$4, $i, var$6, $prev, var$8; $transitions = $this.$iTransitions; var$3 = $transitions.data; var$4 = var$3.length; $i = ju_Arrays_binarySearch($transitions, 0, var$4, $instant); if ($i >= 0) { if (Long_le($instant, Long_create(0, 2147483648))) return $instant; return Long_sub($instant, Long_fromInt(1)); } var$6 = $i ^ (-1); if (var$6 < var$4) { if (var$6 > 0) { $prev = var$3[var$6 - 1 | 0]; if (Long_gt($prev, Long_create(0, 2147483648))) return Long_sub($prev, Long_fromInt(1)); } return $instant; } var$8 = $this.$iTailZone; if (var$8 !== null) { $prev = otcit_DateTimeZoneBuilder$DSTZone_previousTransition(var$8, $instant); if (Long_lt($prev, $instant)) return $prev; } $prev = var$3[var$6 - 1 | 0]; if (Long_le($prev, Long_create(0, 2147483648))) return $instant; return Long_sub($prev, Long_fromInt(1)); }, otcit_DateTimeZoneBuilder$PrecalculatedZone_isCachable = $this => { let $transitions, var$2, $distances, $count, $i, $diff; if ($this.$iTailZone !== null) return 1; $transitions = $this.$iTransitions.data; var$2 = $transitions.length; if (var$2 <= 1) return 0; $distances = 0.0; $count = 0; $i = 1; while ($i < var$2) { $diff = Long_sub($transitions[$i], $transitions[$i - 1 | 0]); if (Long_lt($diff, Long_create(3028857856, 14))) { $distances = $distances + Long_toNumber($diff); $count = $count + 1 | 0; } $i = $i + 1 | 0; } if ($count > 0 && $distances / $count / 8.64E7 >= 25.0) return 1; return 0; }; function otcit_DateTimeZoneBuilder$DSTZone() { let a = this; otcit_StorableDateTimeZone.call(a); a.$iStandardOffset2 = 0; a.$iStartRecurrence = null; a.$iEndRecurrence = null; a.$calendar0 = null; } let otcit_DateTimeZoneBuilder$DSTZone_getOffset = ($this, $instant) => { let var$2, var$3, var$4, var$5, var$6, $$je; var$2 = $this.$iStandardOffset2; var$3 = $this.$iStartRecurrence; var$4 = $this.$iEndRecurrence; a: { b: { try { var$5 = otcit_DateTimeZoneBuilder$Recurrence_next(var$3, $instant, var$2, otcit_DateTimeZoneBuilder$Recurrence_getSaveMillis(var$4), $this.$calendar0); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_IllegalArgumentException) { break b; } else if ($$je instanceof jl_ArithmeticException) { break b; } else { throw $$e; } } break a; } var$5 = $instant; } c: { d: { try { var$6 = otcit_DateTimeZoneBuilder$Recurrence_next(var$4, $instant, var$2, otcit_DateTimeZoneBuilder$Recurrence_getSaveMillis(var$3), $this.$calendar0); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_IllegalArgumentException) { break d; } else if ($$je instanceof jl_ArithmeticException) { break d; } else { throw $$e; } } break c; } var$6 = $instant; } if (Long_gt(var$5, var$6)) var$4 = var$3; return var$2 + var$4.$iSaveMillis | 0; }, otcit_DateTimeZoneBuilder$DSTZone_getStandardOffset = ($this, $instant) => { return $this.$iStandardOffset2; }, otcit_DateTimeZoneBuilder$DSTZone_nextTransition = ($this, $end) => { let $standardOffset, $startRecurrence, $endRecurrence, $start, var$6, $end_0, $$je; $standardOffset = $this.$iStandardOffset2; $startRecurrence = $this.$iStartRecurrence; $endRecurrence = $this.$iEndRecurrence; a: { b: { try { c: { try { $start = otcit_DateTimeZoneBuilder$Recurrence_next($startRecurrence, $end, $standardOffset, otcit_DateTimeZoneBuilder$Recurrence_getSaveMillis($endRecurrence), $this.$calendar0); var$6 = Long_compare($end, Long_ZERO); if (var$6 <= 0) break c; if (Long_ge($start, Long_ZERO)) break c; $start = $end; break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_IllegalArgumentException) { break b; } else { throw $$e; } } } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_ArithmeticException) { } else { throw $$e; } } } $start = $end; } d: { e: { try { f: { try { $end_0 = otcit_DateTimeZoneBuilder$Recurrence_next($endRecurrence, $end, $standardOffset, otcit_DateTimeZoneBuilder$Recurrence_getSaveMillis($startRecurrence), $this.$calendar0); if (var$6 <= 0) break f; if (Long_ge($end_0, Long_ZERO)) break f; $end_0 = $end; break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_IllegalArgumentException) { break e; } else { throw $$e; } } } break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_ArithmeticException) { } else { throw $$e; } } } $end_0 = $end; } if (Long_gt($start, $end_0)) $start = $end_0; return $start; }, otcit_DateTimeZoneBuilder$DSTZone_previousTransition = ($this, $instant) => { let $end, $standardOffset, $startRecurrence, $endRecurrence, $start, var$7, $end_0, $$je; $end = Long_add($instant, Long_fromInt(1)); $standardOffset = $this.$iStandardOffset2; $startRecurrence = $this.$iStartRecurrence; $endRecurrence = $this.$iEndRecurrence; a: { b: { try { c: { try { $start = otcit_DateTimeZoneBuilder$Recurrence_previous($startRecurrence, $end, $standardOffset, otcit_DateTimeZoneBuilder$Recurrence_getSaveMillis($endRecurrence)); var$7 = Long_compare($end, Long_ZERO); if (var$7 >= 0) break c; if (Long_le($start, Long_ZERO)) break c; $start = $end; break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_IllegalArgumentException) { break b; } else { throw $$e; } } } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_ArithmeticException) { } else { throw $$e; } } } $start = $end; } d: { e: { try { f: { try { $end_0 = otcit_DateTimeZoneBuilder$Recurrence_previous($endRecurrence, $end, $standardOffset, otcit_DateTimeZoneBuilder$Recurrence_getSaveMillis($startRecurrence)); if (var$7 >= 0) break f; if (Long_le($end_0, Long_ZERO)) break f; $end_0 = $end; break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_IllegalArgumentException) { break e; } else { throw $$e; } } } break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_ArithmeticException) { } else { throw $$e; } } } $end_0 = $end; } if (Long_gt($start, $end_0)) $end_0 = $start; return Long_sub($end_0, Long_fromInt(1)); }; function otcit_DateTimeZoneBuilder$RuleBasedZone() { let a = this; otcit_StorableDateTimeZone.call(a); a.$builder = null; a.$zone0 = null; } let otcit_DateTimeZoneBuilder$RuleBasedZone_getOffset = ($this, $instant) => { if ($this.$zone0 === null) $this.$zone0 = otcit_DateTimeZoneBuilder_toDateTimeZone($this.$builder, $this.$iID, 1); return $this.$zone0.$getOffset($instant); }, otcit_DateTimeZoneBuilder$RuleBasedZone_getStandardOffset = ($this, $instant) => { if ($this.$zone0 === null) $this.$zone0 = otcit_DateTimeZoneBuilder_toDateTimeZone($this.$builder, $this.$iID, 1); return $this.$zone0.$getStandardOffset($instant); }, otcit_DateTimeZoneBuilder$RuleBasedZone_previousTransition = ($this, $instant) => { if ($this.$zone0 === null) $this.$zone0 = otcit_DateTimeZoneBuilder_toDateTimeZone($this.$builder, $this.$iID, 1); return $this.$zone0.$previousTransition($instant); }, otcit_DateTimeZoneBuilder$RuleBasedZone_readZone = ($id, $flow) => { let $builder, var$4, $ruleSetCount, $currentYear, $i, $rs, var$9, var$10, $ruleCount, $j, $toYear, $fromYear, $year, $recurrence, var$17, var$18; $builder = new otcit_DateTimeZoneBuilder; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $builder.$iRuleSets = var$4; $ruleSetCount = otci_Base46_decodeUnsigned($flow); $currentYear = (-2147483648); $i = 0; while ($i < $ruleSetCount) { $rs = new otcit_DateTimeZoneBuilder$RuleSet; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $rs.$iRules = var$4; $rs.$iUpperYear = 2147483647; var$9 = Long_fromInt(otci_Base46_decodeUnsigned($flow)); var$10 = Long_div(var$9, Long_fromInt(2)); if (Long_ne(Long_rem(var$9, Long_fromInt(2)), Long_ZERO)) var$10 = Long_neg(var$10); $rs.$iInitialSaveMillis = Long_lo((Long_ne(Long_and(var$10, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$10, 1) : Long_mul(Long_shr(var$10, 1), Long_fromInt(1800000)))); var$9 = Long_fromInt(otci_Base46_decodeUnsigned($flow)); var$10 = Long_div(var$9, Long_fromInt(2)); if (Long_ne(Long_rem(var$9, Long_fromInt(2)), Long_ZERO)) var$10 = Long_neg(var$10); $rs.$iStandardOffset1 = Long_lo((Long_ne(Long_and(var$10, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$10, 1) : Long_mul(Long_shr(var$10, 1), Long_fromInt(1800000)))); $ruleCount = otci_Base46_decodeUnsigned($flow); if ($ruleCount & 1) $rs.$iInitialNameKey = $rt_s(1010); $ruleCount = $ruleCount >>> 1 | 0; $j = 0; while ($j < $ruleCount) { $toYear = otci_Base46_decodeUnsigned($flow); $fromYear = $toYear / 2 | 0; if ($toYear % 2 | 0) $fromYear = -$fromYear | 0; if ($currentYear != (-2147483648)) $fromYear = $fromYear + $currentYear | 0; $toYear = otci_Base46_decodeUnsigned($flow); if (!$toYear) { $year = 2147483647; $currentYear = $fromYear; } else { $year = $toYear + (-1) | 0; $currentYear = !($year & 1) ? $year >>> 1 | 0 : ( -($year >>> 1 | 0) | 0) - 1 | 0; if ($fromYear != (-2147483648)) $currentYear = $currentYear + $fromYear | 0; $year = $currentYear; } var$4 = otcit_DateTimeZoneBuilder$OfYear_read($flow); var$9 = Long_fromInt(otci_Base46_decodeUnsigned($flow)); var$10 = Long_div(var$9, Long_fromInt(2)); if (Long_ne(Long_rem(var$9, Long_fromInt(2)), Long_ZERO)) var$10 = Long_neg(var$10); $toYear = Long_lo((Long_ne(Long_and(var$10, Long_fromInt(1)), Long_ZERO) ? Long_shr(var$10, 1) : Long_mul(Long_shr(var$10, 1), Long_fromInt(1800000)))); $recurrence = new otcit_DateTimeZoneBuilder$Recurrence; $recurrence.$iOfYear = var$4; $recurrence.$iSaveMillis = $toYear; var$4 = $rs.$iRules; var$17 = new otcit_DateTimeZoneBuilder$Rule; var$17.$iRecurrence = $recurrence; var$17.$iFromYear = $fromYear; var$17.$iToYear = $year; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$18 = var$4.$array.data; $fromYear = var$4.$size0; var$4.$size0 = $fromYear + 1 | 0; var$18[$fromYear] = var$17; var$4.$modCount = var$4.$modCount + 1 | 0; $j = $j + 1 | 0; } $year = otci_Base46_decodeUnsigned($flow); if (!$year) $rs.$iUpperYear = 2147483647; else { $year = $year + (-1) | 0; $year = !($year & 1) ? $year >>> 1 | 0 : ( -($year >>> 1 | 0) | 0) - 1 | 0; $currentYear = $currentYear != (-2147483648) ? $year + $currentYear | 0 : $year; $rs.$iUpperYear = $currentYear; $rs.$iUpperOfYear = otcit_DateTimeZoneBuilder$OfYear_read($flow); } var$4 = $builder.$iRuleSets; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$18 = var$4.$array.data; $fromYear = var$4.$size0; var$4.$size0 = $fromYear + 1 | 0; var$18[$fromYear] = $rs; var$4.$modCount = var$4.$modCount + 1 | 0; $i = $i + 1 | 0; } $flow = new otcit_DateTimeZoneBuilder$RuleBasedZone; if ($id !== null) { $flow.$iID = $id; $flow.$builder = $builder; return $flow; } $flow = new jl_IllegalArgumentException; $flow.$suppressionEnabled = 1; $flow.$writableStackTrace = 1; $flow.$message = $rt_s(1005); $rt_throw($flow); }; function otcit_CachedDateTimeZone() { let a = this; otcit_StorableDateTimeZone.call(a); a.$iZone = null; a.$iInfoCache = null; } let otcit_CachedDateTimeZone_cInfoCacheMask = 0, otcit_CachedDateTimeZone_getOffset = ($this, $instant) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; var$2 = Long_hi($instant); var$3 = $this.$iInfoCache.data; var$4 = var$2 & otcit_CachedDateTimeZone_cInfoCacheMask; var$5 = var$3[var$4]; if (!(var$5 !== null && Long_hi(var$5.$iPeriodStart) == var$2)) { var$6 = Long_and($instant, Long_create(0, 4294967295)); var$5 = new otcit_CachedDateTimeZone$Info; var$7 = $this.$iZone; var$5.$iOffset = (-2147483648); var$5.$iStandardOffset = (-2147483648); var$5.$iPeriodStart = var$6; var$5.$iZoneRef = var$7; var$8 = Long_or(var$6, Long_create(4294967295, 0)); var$7 = var$5; a: { while (true) { var$9 = otcit_DateTimeZoneBuilder$PrecalculatedZone_nextTransition($this.$iZone, var$6); if (Long_eq(var$9, var$6)) break a; if (Long_gt(var$9, var$8)) break; var$10 = new otcit_CachedDateTimeZone$Info; var$11 = $this.$iZone; var$10.$iOffset = (-2147483648); var$10.$iStandardOffset = (-2147483648); var$10.$iPeriodStart = var$9; var$10.$iZoneRef = var$11; var$7.$iNextInfo = var$10; var$6 = var$9; var$7 = var$10; } } var$3[var$4] = var$5; } b: { var$7 = var$5.$iNextInfo; if (var$7 !== null) { var$6 = var$7.$iPeriodStart; if (Long_ge($instant, var$6)) { c: { var$5 = var$7.$iNextInfo; if (var$5 !== null) { var$8 = var$5.$iPeriodStart; if (Long_ge($instant, var$8)) { d: { var$7 = var$5.$iNextInfo; if (var$7 !== null) { var$6 = var$7.$iPeriodStart; if (Long_ge($instant, var$6)) { e: { var$5 = var$7.$iNextInfo; if (var$5 !== null) { var$8 = var$5.$iPeriodStart; if (Long_ge($instant, var$8)) { f: { var$7 = var$5.$iNextInfo; if (var$7 !== null) { var$6 = var$7.$iPeriodStart; if (Long_ge($instant, var$6)) { g: { var$5 = var$7.$iNextInfo; if (var$5 !== null) { var$8 = var$5.$iPeriodStart; if (Long_ge($instant, var$8)) { h: { var$7 = var$5.$iNextInfo; if (var$7 !== null) { var$6 = var$7.$iPeriodStart; if (Long_ge($instant, var$6)) { var$5 = var$7.$iNextInfo; if (var$5 !== null && Long_ge($instant, var$5.$iPeriodStart)) var$4 = otcit_CachedDateTimeZone$Info_getOffset(var$5, $instant); else { if (var$7.$iOffset == (-2147483648)) var$7.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$7.$iZoneRef, var$6); var$4 = var$7.$iOffset; } break h; } } if (var$5.$iOffset == (-2147483648)) var$5.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$5.$iZoneRef, var$8); var$4 = var$5.$iOffset; } break g; } } if (var$7.$iOffset == (-2147483648)) var$7.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$7.$iZoneRef, var$6); var$4 = var$7.$iOffset; } break f; } } if (var$5.$iOffset == (-2147483648)) var$5.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$5.$iZoneRef, var$8); var$4 = var$5.$iOffset; } break e; } } if (var$7.$iOffset == (-2147483648)) var$7.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$7.$iZoneRef, var$6); var$4 = var$7.$iOffset; } break d; } } if (var$5.$iOffset == (-2147483648)) var$5.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$5.$iZoneRef, var$8); var$4 = var$5.$iOffset; } break c; } } if (var$7.$iOffset == (-2147483648)) var$7.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$7.$iZoneRef, var$6); var$4 = var$7.$iOffset; } break b; } } if (var$5.$iOffset == (-2147483648)) var$5.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$5.$iZoneRef, var$5.$iPeriodStart); var$4 = var$5.$iOffset; } return var$4; }, otcit_CachedDateTimeZone_getStandardOffset = ($this, $instant) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; var$2 = Long_hi($instant); var$3 = $this.$iInfoCache.data; var$4 = var$2 & otcit_CachedDateTimeZone_cInfoCacheMask; var$5 = var$3[var$4]; if (!(var$5 !== null && Long_hi(var$5.$iPeriodStart) == var$2)) { var$6 = Long_and($instant, Long_create(0, 4294967295)); var$5 = new otcit_CachedDateTimeZone$Info; var$7 = $this.$iZone; var$5.$iOffset = (-2147483648); var$5.$iStandardOffset = (-2147483648); var$5.$iPeriodStart = var$6; var$5.$iZoneRef = var$7; var$8 = Long_or(var$6, Long_create(4294967295, 0)); var$7 = var$5; a: { while (true) { var$9 = otcit_DateTimeZoneBuilder$PrecalculatedZone_nextTransition($this.$iZone, var$6); if (Long_eq(var$9, var$6)) break a; if (Long_gt(var$9, var$8)) break; var$10 = new otcit_CachedDateTimeZone$Info; var$11 = $this.$iZone; var$10.$iOffset = (-2147483648); var$10.$iStandardOffset = (-2147483648); var$10.$iPeriodStart = var$9; var$10.$iZoneRef = var$11; var$7.$iNextInfo = var$10; var$6 = var$9; var$7 = var$10; } } var$3[var$4] = var$5; } b: { var$7 = var$5.$iNextInfo; if (var$7 !== null) { var$6 = var$7.$iPeriodStart; if (Long_ge($instant, var$6)) { c: { var$5 = var$7.$iNextInfo; if (var$5 !== null) { var$8 = var$5.$iPeriodStart; if (Long_ge($instant, var$8)) { d: { var$7 = var$5.$iNextInfo; if (var$7 !== null) { var$6 = var$7.$iPeriodStart; if (Long_ge($instant, var$6)) { e: { var$5 = var$7.$iNextInfo; if (var$5 !== null) { var$8 = var$5.$iPeriodStart; if (Long_ge($instant, var$8)) { f: { var$7 = var$5.$iNextInfo; if (var$7 !== null) { var$6 = var$7.$iPeriodStart; if (Long_ge($instant, var$6)) { g: { var$5 = var$7.$iNextInfo; if (var$5 !== null) { var$8 = var$5.$iPeriodStart; if (Long_ge($instant, var$8)) { h: { var$7 = var$5.$iNextInfo; if (var$7 !== null) { var$6 = var$7.$iPeriodStart; if (Long_ge($instant, var$6)) { var$5 = var$7.$iNextInfo; if (var$5 !== null && Long_ge($instant, var$5.$iPeriodStart)) var$4 = otcit_CachedDateTimeZone$Info_getStandardOffset(var$5, $instant); else { if (var$7.$iStandardOffset == (-2147483648)) var$7.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$7.$iZoneRef, var$6); var$4 = var$7.$iStandardOffset; } break h; } } if (var$5.$iStandardOffset == (-2147483648)) var$5.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$5.$iZoneRef, var$8); var$4 = var$5.$iStandardOffset; } break g; } } if (var$7.$iStandardOffset == (-2147483648)) var$7.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$7.$iZoneRef, var$6); var$4 = var$7.$iStandardOffset; } break f; } } if (var$5.$iStandardOffset == (-2147483648)) var$5.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$5.$iZoneRef, var$8); var$4 = var$5.$iStandardOffset; } break e; } } if (var$7.$iStandardOffset == (-2147483648)) var$7.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$7.$iZoneRef, var$6); var$4 = var$7.$iStandardOffset; } break d; } } if (var$5.$iStandardOffset == (-2147483648)) var$5.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$5.$iZoneRef, var$8); var$4 = var$5.$iStandardOffset; } break c; } } if (var$7.$iStandardOffset == (-2147483648)) var$7.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$7.$iZoneRef, var$6); var$4 = var$7.$iStandardOffset; } break b; } } if (var$5.$iStandardOffset == (-2147483648)) var$5.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$5.$iZoneRef, var$5.$iPeriodStart); var$4 = var$5.$iStandardOffset; } return var$4; }, otcit_CachedDateTimeZone_previousTransition = ($this, $instant) => { return otcit_DateTimeZoneBuilder$PrecalculatedZone_previousTransition($this.$iZone, $instant); }, otcit_CachedDateTimeZone__clinit_ = () => { otcit_CachedDateTimeZone_cInfoCacheMask = 511; }; function otcit_DateTimeZoneBuilder$Recurrence() { let a = this; jl_Object.call(a); a.$iOfYear = null; a.$iSaveMillis = 0; } let otcit_DateTimeZoneBuilder$Recurrence_next = ($this, $instant, $standardOffset, $saveMillis, $calendar) => { return otcit_DateTimeZoneBuilder$OfYear_next($this.$iOfYear, $instant, $standardOffset, $saveMillis, $calendar); }, otcit_DateTimeZoneBuilder$Recurrence_previous = ($this, $instant, $standardOffset, $saveMillis) => { return otcit_DateTimeZoneBuilder$OfYear_previous($this.$iOfYear, $instant, $standardOffset, $saveMillis); }, otcit_DateTimeZoneBuilder$Recurrence_getSaveMillis = $this => { return $this.$iSaveMillis; }; function otcit_DateTimeZoneBuilder() { jl_Object.call(this); this.$iRuleSets = null; } let otcit_DateTimeZoneBuilder_gmtCache = null, otcit_DateTimeZoneBuilder__init_ = $this => { let var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$iRuleSets = var$1; }, otcit_DateTimeZoneBuilder__init_0 = () => { let var_0 = new otcit_DateTimeZoneBuilder(); otcit_DateTimeZoneBuilder__init_(var_0); return var_0; }, otcit_DateTimeZoneBuilder_toDateTimeZone = ($this, $id, $outputID) => { let $transitions, $tailZone, $millis, $ruleSetCount, $calendar, $zone, $i, var$10, var$11, $tr, $next, $rs, var$15, var$16, var$17, var$18, var$19, var$20; if ($id === null) { $id = new jl_IllegalArgumentException; $id.$suppressionEnabled = 1; $id.$writableStackTrace = 1; $rt_throw($id); } $transitions = new ju_ArrayList; $transitions.$array = $rt_createArray(jl_Object, 10); $tailZone = null; $millis = Long_create(0, 2147483648); $ruleSetCount = $this.$iRuleSets.$size0; $calendar = new ju_GregorianCalendar; if (otcit_DateTimeZoneBuilder_gmtCache === null) otcit_DateTimeZoneBuilder_gmtCache = ju_TimeZone_getTimeZone($rt_s(1006)); $zone = otcit_DateTimeZoneBuilder_gmtCache; ju_Locale_$callClinit(); ju_GregorianCalendar__init_($calendar, $zone, ju_Locale_defaultLocale); $i = 0; var$10 = $ruleSetCount - 1 | 0; a: { b: while (true) { if ($i >= $ruleSetCount) { var$11 = $transitions.$size0; if (!var$11) { if ($tailZone !== null) return $tailZone; $transitions = new otcit_FixedDateTimeZone; $transitions.$iID = $id; $transitions.$iWallOffset0 = 0; $transitions.$iStandardOffset3 = 0; return $transitions; } if (var$11 == 1 && $tailZone === null) { if (0 >= var$11) { $id = new jl_IndexOutOfBoundsException; $id.$suppressionEnabled = 1; $id.$writableStackTrace = 1; $rt_throw($id); } $tr = $transitions.$array.data[0]; var$11 = $tr.$iWallOffset; $outputID = $tr.$iStandardOffset0; $transitions = new otcit_FixedDateTimeZone; $transitions.$iID = $id; $transitions.$iWallOffset0 = var$11; $transitions.$iStandardOffset3 = $outputID; return $transitions; } $zone = otcit_DateTimeZoneBuilder$PrecalculatedZone_create($id, $outputID, $transitions, $tailZone); if (!otcit_DateTimeZoneBuilder$PrecalculatedZone_isCachable($zone)) return $zone; if ($zone instanceof otcit_CachedDateTimeZone) $id = $zone; else { $id = new otcit_CachedDateTimeZone; $transitions = $zone.$iID; if ($transitions === null) { $transitions = new jl_IllegalArgumentException; $transitions.$suppressionEnabled = 1; $transitions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($transitions); $transitions.$message = $rt_s(1005); $rt_throw($transitions); } $id.$iID = $transitions; $id.$iInfoCache = $rt_createArray(otcit_CachedDateTimeZone$Info, otcit_CachedDateTimeZone_cInfoCacheMask + 1 | 0); $id.$iZone = $zone; } return $id; } $next = $this.$iRuleSets; if ($i < 0) break a; if ($i >= $next.$size0) break a; $rs = $next.$array.data[$i]; $next = otcit_DateTimeZoneBuilder$RuleSet_firstTransition($rs, $millis, $calendar); if ($next !== null) { otcit_DateTimeZoneBuilder_addTransition($this, $transitions, $next); $millis = $next.$iMillis; var$11 = $next.$iWallOffset - $next.$iStandardOffset0 | 0; $next = new otcit_DateTimeZoneBuilder$RuleSet; $next.$iStandardOffset1 = $rs.$iStandardOffset1; $tr = new ju_ArrayList; var$15 = $rs.$iRules; var$16 = var$15.$size0; if (var$16 < 0) { $id = new jl_IllegalArgumentException; $id.$suppressionEnabled = 1; $id.$writableStackTrace = 1; $rt_throw($id); } $tr.$array = $rt_createArray(jl_Object, var$16); var$16 = var$15.$modCount; var$15.$size(); var$17 = 0; var$18 = 0; while (true) { var$19 = $tr.$array.data; var$20 = var$19.length; if (var$17 >= var$20) break; if (var$16 < var$15.$modCount) break b; var$20 = var$18 + 1 | 0; var$19[var$17] = var$15.$get(var$18); var$17 = var$17 + 1 | 0; var$18 = var$20; } $tr.$size0 = var$20; $next.$iRules = $tr; $next.$iInitialSaveMillis = $rs.$iInitialSaveMillis; $next.$iUpperYear = $rs.$iUpperYear; $next.$iUpperOfYear = $rs.$iUpperOfYear; c: { while (true) { $zone = otcit_DateTimeZoneBuilder$RuleSet_nextTransition($next, $millis, var$11, $calendar); if ($zone === null) break c; if (otcit_DateTimeZoneBuilder_addTransition($this, $transitions, $zone) && $tailZone !== null) break; $millis = $zone.$iMillis; var$11 = $zone.$iWallOffset - $zone.$iStandardOffset0 | 0; if ($tailZone !== null) continue; if ($i != var$10) continue; $tailZone = otcit_DateTimeZoneBuilder$RuleSet_buildTailZone($next, $id); } } var$20 = $next.$iUpperYear; $millis = var$20 == 2147483647 ? Long_create(4294967295, 2147483647) : otcit_DateTimeZoneBuilder$OfYear_setInstant($next.$iUpperOfYear, var$20, $next.$iStandardOffset1, var$11); } $i = $i + 1 | 0; } $id = new ju_ConcurrentModificationException; $id.$suppressionEnabled = 1; $id.$writableStackTrace = 1; $rt_throw($id); } $id = new jl_IndexOutOfBoundsException; $id.$suppressionEnabled = 1; $id.$writableStackTrace = 1; $rt_throw($id); }, otcit_DateTimeZoneBuilder_addTransition = ($this, $transitions, $tr) => { let $size, var$4, var$5, $last, $offsetForLast, $offsetForNew, $lastLocal; $size = $transitions.$size0; if (!$size) { ju_ArrayList_ensureCapacity($transitions, $size + 1 | 0); var$4 = $transitions.$array.data; $size = $transitions.$size0; $transitions.$size0 = $size + 1 | 0; var$4[$size] = $tr; $transitions.$modCount = $transitions.$modCount + 1 | 0; return 1; } var$5 = $size - 1 | 0; if (var$5 >= 0 && var$5 < $size) { var$4 = $transitions.$array.data; $last = var$4[var$5]; if ($last === null) $offsetForLast = 1; else a: { b: { if (Long_gt($tr.$iMillis, $last.$iMillis)) { if ($tr.$iWallOffset != $last.$iWallOffset) break b; if ($tr.$iStandardOffset0 != $last.$iStandardOffset0) break b; } $offsetForLast = 0; break a; } $offsetForLast = 1; } if (!$offsetForLast) return 0; $offsetForLast = 0; if ($size >= 2) { $offsetForLast = $size - 2 | 0; if ($offsetForLast >= 0 && $offsetForLast < $size) $offsetForLast = var$4[$offsetForLast].$iWallOffset; else { $transitions = new jl_IndexOutOfBoundsException; $transitions.$suppressionEnabled = 1; $transitions.$writableStackTrace = 1; $rt_throw($transitions); } } $offsetForNew = $last.$iWallOffset; $lastLocal = Long_add($last.$iMillis, Long_fromInt($offsetForLast)); if (Long_eq(Long_add($tr.$iMillis, Long_fromInt($offsetForNew)), $lastLocal)) { ju_ArrayList_remove($transitions, var$5); return otcit_DateTimeZoneBuilder_addTransition($this, $transitions, $tr); } ju_ArrayList_ensureCapacity($transitions, $size + 1 | 0); var$4 = $transitions.$array.data; $size = $transitions.$size0; $transitions.$size0 = $size + 1 | 0; var$4[$size] = $tr; $transitions.$modCount = $transitions.$modCount + 1 | 0; return 1; } $transitions = new jl_IndexOutOfBoundsException; $transitions.$suppressionEnabled = 1; $transitions.$writableStackTrace = 1; $rt_throw($transitions); }; function otcit_DateTimeZoneBuilder$RuleSet() { let a = this; jl_Object.call(a); a.$iStandardOffset1 = 0; a.$iRules = null; a.$iInitialNameKey = null; a.$iInitialSaveMillis = 0; a.$iUpperYear = 0; a.$iUpperOfYear = null; } let otcit_DateTimeZoneBuilder$RuleSet_YEAR_LIMIT = 0, otcit_DateTimeZoneBuilder$RuleSet__init_ = $this => { let var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$iRules = var$1; $this.$iUpperYear = 2147483647; }, otcit_DateTimeZoneBuilder$RuleSet__init_0 = () => { let var_0 = new otcit_DateTimeZoneBuilder$RuleSet(); otcit_DateTimeZoneBuilder$RuleSet__init_(var_0); return var_0; }, otcit_DateTimeZoneBuilder$RuleSet_firstTransition = ($this, $firstMillis, $calendar) => { let $saveMillis, var$4, $copy, $first, var$7, var$8, var$9, $millis, $rule; if ($this.$iInitialNameKey !== null) { $calendar = new otcit_DateTimeZoneBuilder$Transition; $saveMillis = $this.$iStandardOffset1; var$4 = $saveMillis + $this.$iInitialSaveMillis | 0; $calendar.$iMillis = $firstMillis; $calendar.$iWallOffset = var$4; $calendar.$iStandardOffset0 = $saveMillis; return $calendar; } $copy = new ju_ArrayList; $first = $this.$iRules; $saveMillis = $first.$size0; if ($saveMillis < 0) { $calendar = new jl_IllegalArgumentException; $calendar.$suppressionEnabled = 1; $calendar.$writableStackTrace = 1; $rt_throw($calendar); } $copy.$array = $rt_createArray(jl_Object, $saveMillis); var$7 = 0; var$8 = $first.$modCount; $first.$size(); $saveMillis = 0; while (true) { var$9 = $copy.$array.data; var$4 = var$9.length; if ($saveMillis >= var$4) { $copy.$size0 = var$4; $millis = Long_create(0, 2147483648); $saveMillis = 0; $first = null; a: { while (true) { $rule = otcit_DateTimeZoneBuilder$RuleSet_nextTransition($this, $millis, $saveMillis, $calendar); if ($rule === null) break; $millis = $rule.$iMillis; $saveMillis = Long_compare($millis, $firstMillis); if (!$saveMillis) { $first = new otcit_DateTimeZoneBuilder$Transition; $first.$iMillis = $firstMillis; $first.$iWallOffset = $rule.$iWallOffset; $first.$iStandardOffset0 = $rule.$iStandardOffset0; break a; } if ($saveMillis > 0) { b: { if ($first === null) { $calendar = $this.$iRules; var$4 = 0; var$7 = $calendar.$modCount; var$8 = $calendar.$size(); while (true) { if (!(var$4 >= var$8 ? 0 : 1)) break b; if (var$7 < $calendar.$modCount) break; $saveMillis = var$4 + 1 | 0; var$4 = ($calendar.$get(var$4)).$iRecurrence.$iSaveMillis; if (!var$4) { $first = new otcit_DateTimeZoneBuilder$Transition; $saveMillis = $this.$iStandardOffset1; $first.$iMillis = $firstMillis; $first.$iWallOffset = $saveMillis + var$4 | 0; $first.$iStandardOffset0 = $saveMillis; break b; } var$4 = $saveMillis; } $calendar = new ju_ConcurrentModificationException; $calendar.$suppressionEnabled = 1; $calendar.$writableStackTrace = 1; $rt_throw($calendar); } } if ($first !== null) break a; $first = new otcit_DateTimeZoneBuilder$Transition; $saveMillis = $this.$iStandardOffset1; $first.$iMillis = $firstMillis; $first.$iWallOffset = $saveMillis; $first.$iStandardOffset0 = $saveMillis; break a; } $first = new otcit_DateTimeZoneBuilder$Transition; $first.$iMillis = $firstMillis; $first.$iWallOffset = $rule.$iWallOffset; $first.$iStandardOffset0 = $rule.$iStandardOffset0; $saveMillis = $rule.$iWallOffset - $rule.$iStandardOffset0 | 0; } } $this.$iRules = $copy; return $first; } if (var$8 < $first.$modCount) break; var$4 = var$7 + 1 | 0; var$9[$saveMillis] = $first.$get(var$7); $saveMillis = $saveMillis + 1 | 0; var$7 = var$4; } $calendar = new ju_ConcurrentModificationException; $calendar.$suppressionEnabled = 1; $calendar.$writableStackTrace = 1; $rt_throw($calendar); }, otcit_DateTimeZoneBuilder$RuleSet_nextTransition = ($this, $instant, $saveMillis, $calendar) => { let $nextRule, $nextMillis, $nextYear, $rule, $it, var$9, var$10, var$11, $next; $nextRule = null; $nextMillis = Long_create(4294967295, 2147483647); $nextYear = 2147483647; $rule = $this.$iRules; $it = new ju_AbstractList$1; $it.$this$00 = $rule; $it.$modCount1 = $rule.$modCount; $it.$size3 = $rule.$size(); $it.$removeIndex = (-1); while (true) { var$9 = $it.$index0; if (!(var$9 >= $it.$size3 ? 0 : 1)) { if ($nextRule === null) return null; if (!($calendar.$isTimeSet && $calendar.$areFieldsSet && Long_eq($calendar.$time, $nextMillis))) { $calendar.$time = $nextMillis; $calendar.$isTimeSet = 1; $calendar.$areFieldsSet = 0; ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (!$calendar.$areFieldsSet) { ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } if ($calendar.$fields.data[1] >= otcit_DateTimeZoneBuilder$RuleSet_YEAR_LIMIT) return null; var$10 = $this.$iUpperYear; if (var$10 < 2147483647 && Long_ge($nextMillis, otcit_DateTimeZoneBuilder$OfYear_setInstant($this.$iUpperOfYear, var$10, $this.$iStandardOffset1, $saveMillis))) return null; $calendar = new otcit_DateTimeZoneBuilder$Transition; $saveMillis = $this.$iStandardOffset1; $calendar.$iMillis = $nextMillis; $calendar.$iWallOffset = $saveMillis + $nextRule.$iRecurrence.$iSaveMillis | 0; $calendar.$iStandardOffset0 = $saveMillis; return $calendar; } var$11 = $it.$modCount1; $rule = $it.$this$00; if (var$11 < $rule.$modCount) break; $it.$removeIndex = var$9; $it.$index0 = var$9 + 1 | 0; $rule = $rule.$get(var$9); if ($rule.$iFromYear > $nextYear) continue; $next = otcit_DateTimeZoneBuilder$Rule_next($rule, $instant, $this.$iStandardOffset1, $saveMillis, $calendar); if (Long_le($next, $instant)) { ju_AbstractList$1_remove($it); continue; } if (Long_le($next, $nextMillis)) { if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (!$calendar.$areFieldsSet) { ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } $nextYear = $calendar.$fields.data[1]; $nextRule = $rule; $nextMillis = $next; } } $calendar = new ju_ConcurrentModificationException; $calendar.$suppressionEnabled = 1; $calendar.$writableStackTrace = 1; $rt_throw($calendar); }, otcit_DateTimeZoneBuilder$RuleSet_buildTailZone = ($this, $id) => { let $startRule, var$3, var$4, $endRule, var$6, var$7, var$8; $startRule = $this.$iRules; var$3 = $startRule.$size0; if (var$3 == 2) { if (0 >= var$3) { $id = new jl_IndexOutOfBoundsException; $id.$suppressionEnabled = 1; $id.$writableStackTrace = 1; $rt_throw($id); } var$4 = $startRule.$array.data; $startRule = var$4[0]; if (1 >= var$3) { $id = new jl_IndexOutOfBoundsException; $id.$suppressionEnabled = 1; $id.$writableStackTrace = 1; $rt_throw($id); } $endRule = var$4[1]; if ($startRule.$iToYear == 2147483647 && $endRule.$iToYear == 2147483647) { var$6 = new otcit_DateTimeZoneBuilder$DSTZone; var$7 = $this.$iStandardOffset1; $startRule = $startRule.$iRecurrence; $endRule = $endRule.$iRecurrence; if ($id === null) { $startRule = new jl_IllegalArgumentException; $startRule.$suppressionEnabled = 1; $startRule.$writableStackTrace = 1; $startRule.$message = $rt_s(1005); $rt_throw($startRule); } var$6.$iID = $id; $id = new ju_GregorianCalendar; if (otcit_DateTimeZoneBuilder_gmtCache === null) otcit_DateTimeZoneBuilder_gmtCache = ju_TimeZone_getTimeZone($rt_s(1006)); var$8 = otcit_DateTimeZoneBuilder_gmtCache; ju_Locale_$callClinit(); ju_GregorianCalendar__init_($id, var$8, ju_Locale_defaultLocale); var$6.$calendar0 = $id; var$6.$iStandardOffset2 = var$7; var$6.$iStartRecurrence = $startRule; var$6.$iEndRecurrence = $endRule; return var$6; } } return null; }, otcit_DateTimeZoneBuilder$RuleSet__clinit_ = () => { let $calendar, var$2, var$3, var$4, var$5, $$je; $calendar = new ju_GregorianCalendar; ju_Locale_$callClinit(); var$2 = ju_Locale_defaultLocale; ju_TimeZone_$callClinit(); if (ju_TimeZone_defaultTz === null) { var$3 = otcit_DateTimeZoneProvider_detectTimezone(); if (var$3 === null) var$4 = null; else { var$4 = new ju_IANATimeZone; var$4.$id5 = var$3.$iID; var$4.$underlyingZone = var$3; var$5 = var$3.$getStandardOffset(jl_System_currentTimeMillis()); var$4.$rawOffset = var$5; var$4.$diff = -var$5 | 0; } ju_TimeZone_defaultTz = var$4; if (var$4 === null) ju_TimeZone_defaultTz = ju_TimeZone_GMT; } var$3 = ju_TimeZone_defaultTz; a: { try { var$4 = jl_Object_clone(var$3); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { } else { throw $$e; } } var$4 = null; } var$4.$rawOffset = var$3.$rawOffset; var$4.$underlyingZone = var$3.$underlyingZone; ju_GregorianCalendar__init_($calendar, var$4, var$2); if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (!$calendar.$areFieldsSet) { ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } otcit_DateTimeZoneBuilder$RuleSet_YEAR_LIMIT = $calendar.$fields.data[1] + 100 | 0; }; function otcit_DateTimeZoneBuilder$Rule() { let a = this; jl_Object.call(a); a.$iRecurrence = null; a.$iFromYear = 0; a.$iToYear = 0; } let otcit_DateTimeZoneBuilder$Rule_next = ($this, $instant, $standardOffset, $saveMillis, $calendar) => { let $wallOffset, $year, var$7, var$8, $next; $wallOffset = $standardOffset + $saveMillis | 0; if (Long_eq($instant, Long_create(0, 2147483648))) $year = (-2147483648); else { var$7 = Long_add($instant, Long_fromInt($wallOffset)); if (!($calendar.$isTimeSet && $calendar.$areFieldsSet && Long_eq($calendar.$time, var$7))) { $calendar.$time = var$7; $calendar.$isTimeSet = 1; $calendar.$areFieldsSet = 0; ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (!$calendar.$areFieldsSet) { ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } $year = $calendar.$fields.data[1]; } if ($year > $this.$iToYear) return $instant; if ($year >= $this.$iFromYear) var$8 = $instant; else { if (!($calendar.$isTimeSet && $calendar.$areFieldsSet && Long_eq($calendar.$time, Long_ZERO))) { $calendar.$time = Long_ZERO; $calendar.$isTimeSet = 1; $calendar.$areFieldsSet = 0; ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } ju_Calendar_set($calendar, 1, $this.$iFromYear); if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } var$8 = Long_sub(Long_sub($calendar.$time, Long_fromInt($wallOffset)), Long_fromInt(1)); } $next = otcit_DateTimeZoneBuilder$OfYear_next($this.$iRecurrence.$iOfYear, var$8, $standardOffset, $saveMillis, $calendar); if (Long_le($next, $instant)) $instant = $next; else { var$8 = Long_add($next, Long_fromInt($wallOffset)); if (!($calendar.$isTimeSet && $calendar.$areFieldsSet && Long_eq($calendar.$time, var$8))) { $calendar.$time = var$8; $calendar.$isTimeSet = 1; $calendar.$areFieldsSet = 0; ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (!$calendar.$areFieldsSet) { ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } if ($calendar.$fields.data[1] <= $this.$iToYear) $instant = $next; } return $instant; }; function otcit_DateTimeZoneBuilder$OfYear() { let a = this; jl_Object.call(a); a.$iMode = 0; a.$iMonthOfYear = 0; a.$iDayOfMonth = 0; a.$iDayOfWeek = 0; a.$iAdvance = 0; a.$iMillisOfDay = 0; } let otcit_DateTimeZoneBuilder$OfYear__init_ = ($this, $mode, $monthOfYear, $dayOfMonth, $dayOfWeek, $advanceDayOfWeek, $millisOfDay) => { let var$7, var$8, var$9, var$10, var$11; if ($mode != 117 && $mode != 119 && $mode != 115) { var$7 = new jl_IllegalArgumentException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1011)); $monthOfYear = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, $monthOfYear, $monthOfYear + 1 | 0); var$9 = var$8.$buffer; var$10 = var$9.data; var$10[$monthOfYear] = $mode; var$11 = new jl_String; $monthOfYear = var$8.$length0; $dayOfMonth = var$10.length; if ($monthOfYear >= 0 && $monthOfYear <= ($dayOfMonth - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, $monthOfYear); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$11; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } $this.$iMode = $mode; $this.$iMonthOfYear = $monthOfYear; $this.$iDayOfMonth = $dayOfMonth; $this.$iDayOfWeek = $dayOfWeek; $this.$iAdvance = $advanceDayOfWeek; $this.$iMillisOfDay = $millisOfDay; }, otcit_DateTimeZoneBuilder$OfYear__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5) => { let var_6 = new otcit_DateTimeZoneBuilder$OfYear(); otcit_DateTimeZoneBuilder$OfYear__init_(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; }, otcit_DateTimeZoneBuilder$OfYear_read = $flow => { let $flags, $advance, $hasDayOfWeek, $mode, $monthOfYear, $modeBits, $dayOfMonth, $dayOfWeek, var$10; $flags = otci_Base46_decodeUnsigned($flow); $advance = !($flags & 1) ? 0 : 1; $hasDayOfWeek = !($flags & 2) ? 0 : 1; a: { switch (($flags >>> 2 | 0) & 3) { case 1: $mode = 119; break a; case 2: $mode = 115; break a; default: } $mode = 117; } $monthOfYear = otci_Base46_decodeUnsigned($flow); $modeBits = otci_Base46_decodeUnsigned($flow); $dayOfMonth = $modeBits / 2 | 0; if ($modeBits % 2 | 0) $dayOfMonth = -$dayOfMonth | 0; if (!$hasDayOfWeek) $dayOfWeek = 0; else { $hasDayOfWeek = otci_Base46_decodeUnsigned($flow); $dayOfWeek = $hasDayOfWeek / 2 | 0; if ($hasDayOfWeek % 2 | 0) $dayOfWeek = -$dayOfWeek | 0; } var$10 = otci_Base46_decodeUnsignedLong($flow); return otcit_DateTimeZoneBuilder$OfYear__init_0($mode, $monthOfYear, $dayOfMonth, $dayOfWeek, $advance, Long_lo((Long_ne(Long_and(var$10, Long_fromInt(1)), Long_ZERO) ? Long_shru(var$10, 1) : Long_mul(Long_shru(var$10, 1), Long_fromInt(1800000))))); }, otcit_DateTimeZoneBuilder$OfYear_setInstant = ($this, $year, $offset, $saveMillis) => { let var$4, var$5, $calendar; var$4 = $this.$iMode; if (var$4 == 119) $offset = $offset + $saveMillis | 0; else if (var$4 != 115) $offset = 0; if (otcit_DateTimeZoneBuilder_gmtCache === null) otcit_DateTimeZoneBuilder_gmtCache = ju_TimeZone_getTimeZone($rt_s(1006)); var$5 = otcit_DateTimeZoneBuilder_gmtCache; $calendar = new ju_GregorianCalendar; ju_Locale_$callClinit(); ju_GregorianCalendar__init_($calendar, var$5, ju_Locale_defaultLocale); if (!($calendar.$isTimeSet && $calendar.$areFieldsSet && Long_eq($calendar.$time, Long_ZERO))) { $calendar.$time = Long_ZERO; $calendar.$isTimeSet = 1; $calendar.$areFieldsSet = 0; ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } ju_Calendar_set($calendar, 1, $year); ju_Calendar_set($calendar, 2, $this.$iMonthOfYear - 1 | 0); ju_Calendar_set($calendar, 10, 0); ju_Calendar_set($calendar, 12, 0); ju_Calendar_set($calendar, 13, 0); ju_Calendar_set($calendar, 14, 0); ju_GregorianCalendar_add($calendar, 14, $this.$iMillisOfDay); $year = $this.$iDayOfMonth; if ($year >= 0) ju_Calendar_set($calendar, 5, $year); else { ju_Calendar_set($calendar, 5, 1); ju_GregorianCalendar_add($calendar, 2, 1); ju_GregorianCalendar_add($calendar, 5, $this.$iDayOfMonth); } if ($this.$iDayOfWeek) otcit_DateTimeZoneBuilder$OfYear_setDayOfWeek($this, $calendar); if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } return Long_sub($calendar.$time, Long_fromInt($offset)); }, otcit_DateTimeZoneBuilder$OfYear_next = ($this, $instant, $offset, $saveMillis, $calendar) => { let var$5, var$6, var$7; var$5 = $this.$iMode; if (var$5 == 119) $offset = $offset + $saveMillis | 0; else if (var$5 != 115) $offset = 0; var$6 = Long_fromInt($offset); var$7 = Long_add($instant, var$6); if (!($calendar.$isTimeSet && $calendar.$areFieldsSet && Long_eq($calendar.$time, var$7))) { $calendar.$time = var$7; $calendar.$isTimeSet = 1; $calendar.$areFieldsSet = 0; ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } ju_Calendar_set($calendar, 2, $this.$iMonthOfYear - 1 | 0); ju_Calendar_set($calendar, 5, 1); ju_Calendar_set($calendar, 11, 0); ju_Calendar_set($calendar, 12, 0); ju_Calendar_set($calendar, 13, 0); ju_Calendar_set($calendar, 14, 0); ju_GregorianCalendar_add($calendar, 14, $this.$iMillisOfDay); otcit_DateTimeZoneBuilder$OfYear_setDayOfMonthNext($this, $calendar); if (!$this.$iDayOfWeek) { if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (Long_le($calendar.$time, var$7)) { ju_GregorianCalendar_add($calendar, 1, 1); otcit_DateTimeZoneBuilder$OfYear_setDayOfMonthNext($this, $calendar); } } else { otcit_DateTimeZoneBuilder$OfYear_setDayOfWeek($this, $calendar); if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (Long_le($calendar.$time, var$7)) { ju_GregorianCalendar_add($calendar, 1, 1); ju_Calendar_set($calendar, 2, $this.$iMonthOfYear - 1 | 0); otcit_DateTimeZoneBuilder$OfYear_setDayOfMonthNext($this, $calendar); otcit_DateTimeZoneBuilder$OfYear_setDayOfWeek($this, $calendar); } } if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } return Long_sub($calendar.$time, var$6); }, otcit_DateTimeZoneBuilder$OfYear_previous = ($this, $instant, $offset, $saveMillis) => { let var$4, var$5, $calendar, var$7; var$4 = $this.$iMode; if (var$4 == 119) $offset = $offset + $saveMillis | 0; else if (var$4 != 115) $offset = 0; var$5 = Long_fromInt($offset); $instant = Long_add($instant, var$5); $calendar = new ju_GregorianCalendar; if (otcit_DateTimeZoneBuilder_gmtCache === null) otcit_DateTimeZoneBuilder_gmtCache = ju_TimeZone_getTimeZone($rt_s(1006)); var$7 = otcit_DateTimeZoneBuilder_gmtCache; ju_Locale_$callClinit(); ju_GregorianCalendar__init_($calendar, var$7, ju_Locale_defaultLocale); if (!($calendar.$isTimeSet && $calendar.$areFieldsSet && Long_eq($calendar.$time, $instant))) { $calendar.$time = $instant; $calendar.$isTimeSet = 1; $calendar.$areFieldsSet = 0; ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } ju_Calendar_set($calendar, 2, $this.$iMonthOfYear - 1 | 0); ju_Calendar_set($calendar, 5, 1); ju_Calendar_set($calendar, 11, 0); ju_Calendar_set($calendar, 12, 0); ju_Calendar_set($calendar, 13, 0); ju_Calendar_set($calendar, 14, 0); ju_GregorianCalendar_add($calendar, 14, $this.$iMillisOfDay); otcit_DateTimeZoneBuilder$OfYear_setDayOfMonthPrevious($this, $calendar); if (!$this.$iDayOfWeek) { if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (Long_ge($calendar.$time, $instant)) { ju_GregorianCalendar_add($calendar, 1, (-1)); otcit_DateTimeZoneBuilder$OfYear_setDayOfMonthPrevious($this, $calendar); } } else { otcit_DateTimeZoneBuilder$OfYear_setDayOfWeek($this, $calendar); if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (Long_ge($calendar.$time, $instant)) { ju_GregorianCalendar_add($calendar, 1, (-1)); ju_Calendar_set($calendar, 2, $this.$iMonthOfYear - 1 | 0); otcit_DateTimeZoneBuilder$OfYear_setDayOfMonthPrevious($this, $calendar); otcit_DateTimeZoneBuilder$OfYear_setDayOfWeek($this, $calendar); } } if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } return Long_sub($calendar.$time, var$5); }, otcit_DateTimeZoneBuilder$OfYear_setDayOfMonthNext = ($this, $calendar) => { let var$2; if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (!$calendar.$areFieldsSet) { ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } a: { if ($calendar.$fields.data[2] == 1) { if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (!$calendar.$areFieldsSet) { ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } if ($calendar.$fields.data[5] == 29) while (true) { if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (!$calendar.$areFieldsSet) { ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } if (ju_GregorianCalendar_isLeapYear($calendar, $calendar.$fields.data[1])) break a; ju_GregorianCalendar_add($calendar, 1, 1); } } } var$2 = $this.$iDayOfMonth; if (var$2 >= 0) ju_Calendar_set($calendar, 5, var$2); else { ju_Calendar_set($calendar, 5, 1); ju_GregorianCalendar_add($calendar, 2, 1); ju_GregorianCalendar_add($calendar, 5, $this.$iDayOfMonth); } }, otcit_DateTimeZoneBuilder$OfYear_setDayOfMonthPrevious = ($this, $calendar) => { let var$2; if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (!$calendar.$areFieldsSet) { ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } a: { if ($calendar.$fields.data[2] == 1) { if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (!$calendar.$areFieldsSet) { ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } if ($calendar.$fields.data[5] == 29) while (true) { if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (!$calendar.$areFieldsSet) { ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } if (ju_GregorianCalendar_isLeapYear($calendar, $calendar.$fields.data[1])) break a; ju_GregorianCalendar_add($calendar, 1, (-1)); } } } var$2 = $this.$iDayOfMonth; if (var$2 >= 0) ju_Calendar_set($calendar, 5, var$2); else { ju_Calendar_set($calendar, 5, 1); ju_GregorianCalendar_add($calendar, 2, 1); ju_GregorianCalendar_add($calendar, 5, $this.$iDayOfMonth); } }, otcit_DateTimeZoneBuilder$OfYear_setDayOfWeek = ($this, $calendar) => { let $dayOfWeek, $daysToAdd; if (!$calendar.$isTimeSet) { ju_GregorianCalendar_computeTime($calendar); $calendar.$isTimeSet = 1; } if (!$calendar.$areFieldsSet) { ju_GregorianCalendar_computeFields($calendar); $calendar.$areFieldsSet = 1; } $dayOfWeek = $calendar.$fields.data[7]; $daysToAdd = ($this.$iDayOfWeek == 7 ? 1 : $dayOfWeek + 1 | 0) - $dayOfWeek | 0; if ($daysToAdd) { if (!$this.$iAdvance) { if ($daysToAdd > 0) $daysToAdd = $daysToAdd + (-7) | 0; } else if ($daysToAdd < 0) $daysToAdd = $daysToAdd + 7 | 0; ju_GregorianCalendar_add($calendar, 5, $daysToAdd); } }; function otcit_CachedDateTimeZone$Info() { let a = this; jl_Object.call(a); a.$iPeriodStart = Long_ZERO; a.$iZoneRef = null; a.$iNextInfo = null; a.$iOffset = 0; a.$iStandardOffset = 0; } let otcit_CachedDateTimeZone$Info_getOffset = ($this, $millis) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$iNextInfo; if (var$2 !== null) { var$3 = var$2.$iPeriodStart; if (Long_ge($millis, var$3)) { a: { var$4 = var$2.$iNextInfo; if (var$4 !== null) { var$5 = var$4.$iPeriodStart; if (Long_ge($millis, var$5)) { b: { var$2 = var$4.$iNextInfo; if (var$2 !== null) { var$3 = var$2.$iPeriodStart; if (Long_ge($millis, var$3)) { c: { var$4 = var$2.$iNextInfo; if (var$4 !== null) { var$5 = var$4.$iPeriodStart; if (Long_ge($millis, var$5)) { d: { var$2 = var$4.$iNextInfo; if (var$2 !== null) { var$3 = var$2.$iPeriodStart; if (Long_ge($millis, var$3)) { e: { var$4 = var$2.$iNextInfo; if (var$4 !== null) { var$5 = var$4.$iPeriodStart; if (Long_ge($millis, var$5)) { f: { var$2 = var$4.$iNextInfo; if (var$2 !== null) { var$3 = var$2.$iPeriodStart; if (Long_ge($millis, var$3)) { g: { var$4 = var$2.$iNextInfo; if (var$4 !== null) { var$5 = var$4.$iPeriodStart; if (Long_ge($millis, var$5)) { var$2 = var$4.$iNextInfo; if (var$2 !== null && Long_ge($millis, var$2.$iPeriodStart)) var$6 = otcit_CachedDateTimeZone$Info_getOffset(var$2, $millis); else { if (var$4.$iOffset == (-2147483648)) var$4.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$4.$iZoneRef, var$5); var$6 = var$4.$iOffset; } break g; } } if (var$2.$iOffset == (-2147483648)) var$2.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$2.$iZoneRef, var$3); var$6 = var$2.$iOffset; } break f; } } if (var$4.$iOffset == (-2147483648)) var$4.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$4.$iZoneRef, var$5); var$6 = var$4.$iOffset; } break e; } } if (var$2.$iOffset == (-2147483648)) var$2.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$2.$iZoneRef, var$3); var$6 = var$2.$iOffset; } break d; } } if (var$4.$iOffset == (-2147483648)) var$4.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$4.$iZoneRef, var$5); var$6 = var$4.$iOffset; } break c; } } if (var$2.$iOffset == (-2147483648)) var$2.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$2.$iZoneRef, var$3); var$6 = var$2.$iOffset; } break b; } } if (var$4.$iOffset == (-2147483648)) var$4.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$4.$iZoneRef, var$5); var$6 = var$4.$iOffset; } break a; } } if (var$2.$iOffset == (-2147483648)) var$2.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset(var$2.$iZoneRef, var$3); var$6 = var$2.$iOffset; } return var$6; } } if ($this.$iOffset == (-2147483648)) $this.$iOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset($this.$iZoneRef, $this.$iPeriodStart); return $this.$iOffset; }, otcit_CachedDateTimeZone$Info_getStandardOffset = ($this, $millis) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$iNextInfo; if (var$2 !== null) { var$3 = var$2.$iPeriodStart; if (Long_ge($millis, var$3)) { a: { var$4 = var$2.$iNextInfo; if (var$4 !== null) { var$5 = var$4.$iPeriodStart; if (Long_ge($millis, var$5)) { b: { var$2 = var$4.$iNextInfo; if (var$2 !== null) { var$3 = var$2.$iPeriodStart; if (Long_ge($millis, var$3)) { c: { var$4 = var$2.$iNextInfo; if (var$4 !== null) { var$5 = var$4.$iPeriodStart; if (Long_ge($millis, var$5)) { d: { var$2 = var$4.$iNextInfo; if (var$2 !== null) { var$3 = var$2.$iPeriodStart; if (Long_ge($millis, var$3)) { e: { var$4 = var$2.$iNextInfo; if (var$4 !== null) { var$5 = var$4.$iPeriodStart; if (Long_ge($millis, var$5)) { f: { var$2 = var$4.$iNextInfo; if (var$2 !== null) { var$3 = var$2.$iPeriodStart; if (Long_ge($millis, var$3)) { g: { var$4 = var$2.$iNextInfo; if (var$4 !== null) { var$5 = var$4.$iPeriodStart; if (Long_ge($millis, var$5)) { var$2 = var$4.$iNextInfo; if (var$2 !== null && Long_ge($millis, var$2.$iPeriodStart)) var$6 = otcit_CachedDateTimeZone$Info_getStandardOffset(var$2, $millis); else { if (var$4.$iStandardOffset == (-2147483648)) var$4.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$4.$iZoneRef, var$5); var$6 = var$4.$iStandardOffset; } break g; } } if (var$2.$iStandardOffset == (-2147483648)) var$2.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$2.$iZoneRef, var$3); var$6 = var$2.$iStandardOffset; } break f; } } if (var$4.$iStandardOffset == (-2147483648)) var$4.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$4.$iZoneRef, var$5); var$6 = var$4.$iStandardOffset; } break e; } } if (var$2.$iStandardOffset == (-2147483648)) var$2.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$2.$iZoneRef, var$3); var$6 = var$2.$iStandardOffset; } break d; } } if (var$4.$iStandardOffset == (-2147483648)) var$4.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$4.$iZoneRef, var$5); var$6 = var$4.$iStandardOffset; } break c; } } if (var$2.$iStandardOffset == (-2147483648)) var$2.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$2.$iZoneRef, var$3); var$6 = var$2.$iStandardOffset; } break b; } } if (var$4.$iStandardOffset == (-2147483648)) var$4.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$4.$iZoneRef, var$5); var$6 = var$4.$iStandardOffset; } break a; } } if (var$2.$iStandardOffset == (-2147483648)) var$2.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset(var$2.$iZoneRef, var$3); var$6 = var$2.$iStandardOffset; } return var$6; } } if ($this.$iStandardOffset == (-2147483648)) $this.$iStandardOffset = otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset($this.$iZoneRef, $this.$iPeriodStart); return $this.$iStandardOffset; }, jl_StringIndexOutOfBoundsException = $rt_classWithoutFields(jl_IndexOutOfBoundsException), jl_StringIndexOutOfBoundsException__init_0 = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_StringIndexOutOfBoundsException__init_ = () => { let var_0 = new jl_StringIndexOutOfBoundsException(); jl_StringIndexOutOfBoundsException__init_0(var_0); return var_0; }; function jn_IntBufferOverByteBuffer() { let a = this; jn_IntBufferImpl.call(a); a.$byteByffer0 = null; a.$readOnly4 = 0; a.$start5 = 0; } let jn_IntBufferOverByteBuffer_isArrayPresent = $this => { return 0; }, jn_IntBufferOverByteBuffer_getArray = $this => { let var$1; var$1 = new jl_UnsupportedOperationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, jn_IntBufferOverByteBuffer_readOnly = $this => { return $this.$readOnly4; }, jn_IntBufferOverByteBufferLittleEndian = $rt_classWithoutFields(jn_IntBufferOverByteBuffer), jn_IntBufferOverByteBufferLittleEndian_getElement = ($this, $index) => { let var$2; var$2 = $this.$byteByffer0.$array0.data; $index = $this.$start5 + ($index * 4 | 0) | 0; return var$2[$index] & 255 | (var$2[$index + 1 | 0] & 255) << 8 | (var$2[$index + 2 | 0] & 255) << 16 | (var$2[$index + 3 | 0] & 255) << 24; }, jn_IntBufferOverByteBufferLittleEndian_putElement = ($this, $index, $value) => { let var$3; var$3 = $this.$byteByffer0.$array0.data; $index = $this.$start5 + ($index * 4 | 0) | 0; var$3[$index] = $value << 24 >> 24; var$3[$index + 1 | 0] = $value >> 8 << 24 >> 24; var$3[$index + 2 | 0] = $value >> 16 << 24 >> 24; var$3[$index + 3 | 0] = $value >> 24 << 24 >> 24; }, jn_IntBufferOverByteBufferBigEndian = $rt_classWithoutFields(jn_IntBufferOverByteBuffer), jn_IntBufferOverByteBufferBigEndian_getElement = ($this, $index) => { let var$2; var$2 = $this.$byteByffer0.$array0.data; $index = $this.$start5 + ($index * 4 | 0) | 0; return (var$2[$index] & 255) << 24 | (var$2[$index + 1 | 0] & 255) << 16 | (var$2[$index + 2 | 0] & 255) << 8 | var$2[$index + 3 | 0] & 255; }, jn_IntBufferOverByteBufferBigEndian_putElement = ($this, $index, $value) => { let var$3; var$3 = $this.$byteByffer0.$array0.data; $index = $this.$start5 + ($index * 4 | 0) | 0; var$3[$index] = $value >> 24 << 24 >> 24; var$3[$index + 1 | 0] = $value >> 16 << 24 >> 24; var$3[$index + 2 | 0] = $value >> 8 << 24 >> 24; var$3[$index + 3 | 0] = $value << 24 >> 24; }, jn_ReadOnlyBufferException = $rt_classWithoutFields(jl_UnsupportedOperationException), jn_ReadOnlyBufferException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jn_ReadOnlyBufferException__init_0 = () => { let var_0 = new jn_ReadOnlyBufferException(); jn_ReadOnlyBufferException__init_(var_0); return var_0; }, jn_BufferOverflowException = $rt_classWithoutFields(jl_RuntimeException), jn_BufferOverflowException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jn_BufferOverflowException__init_0 = () => { let var_0 = new jn_BufferOverflowException(); jn_BufferOverflowException__init_(var_0); return var_0; }, ju_Map$Entry = $rt_classWithoutFields(0); function ju_MapEntry() { let a = this; jl_Object.call(a); a.$key = null; a.$value1 = null; } let ju_MapEntry_equals = ($this, $object) => { let $entry, var$3, var$4; if ($this === $object) return 1; if (!$rt_isInstance($object, ju_Map$Entry)) return 0; $entry = $object; $object = $this.$key; var$3 = $entry.$getKey(); var$4 = $object === var$3 ? 1 : $object !== null ? $object.$equals(var$3) : var$3 !== null ? 0 : 1; a: { if (var$4) { $object = $this.$value1; $entry = $entry.$getValue(); if ($object === $entry ? 1 : $object !== null ? $object.$equals($entry) : $entry !== null ? 0 : 1) { var$4 = 1; break a; } } var$4 = 0; } return var$4; }, ju_MapEntry_getKey = $this => { return $this.$key; }, ju_MapEntry_getValue = $this => { return $this.$value1; }, ju_MapEntry_hashCode = $this => { let var$1, var$2; var$1 = $this.$key; var$2 = var$1 !== null ? var$1.$hashCode() : 0; var$1 = $this.$value1; return var$2 ^ (var$1 !== null ? var$1.$hashCode() : 0); }, ju_MapEntry_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$key; var$2 = $this.$value1; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$1 === null ? $rt_s(1) : var$1.$toString()); var$4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$4, var$4 + 1 | 0); var$3.$buffer.data[var$4] = 61; jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2 === null ? $rt_s(1) : var$2.$toString()); var$1 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$4 = var$3.$length0; var$7 = var$6.length; if (var$4 >= 0 && var$4 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, jnc_BufferUnderflowException = $rt_classWithoutFields(jl_RuntimeException), jnc_BufferUnderflowException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jnc_BufferUnderflowException__init_0 = () => { let var_0 = new jnc_BufferUnderflowException(); jnc_BufferUnderflowException__init_(var_0); return var_0; }, jnc_BufferOverflowException = $rt_classWithoutFields(jl_RuntimeException), jnc_BufferOverflowException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jnc_BufferOverflowException__init_0 = () => { let var_0 = new jnc_BufferOverflowException(); jnc_BufferOverflowException__init_(var_0); return var_0; }; function jnc_MalformedInputException() { jnc_CharacterCodingException.call(this); this.$length6 = 0; } let jnc_MalformedInputException_getMessage = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$length6; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1012)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }; function jnc_UnmappableCharacterException() { jnc_CharacterCodingException.call(this); this.$length5 = 0; } let jnc_UnmappableCharacterException_getMessage = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$length5; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1013)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, jl_VirtualMachineError = $rt_classWithoutFields(jl_Error), jl_VirtualMachineError__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_VirtualMachineError__init_0 = () => { let var_0 = new jl_VirtualMachineError(); jl_VirtualMachineError__init_(var_0); return var_0; }, jl_StackOverflowError = $rt_classWithoutFields(jl_VirtualMachineError), jl_StackOverflowError__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_StackOverflowError__init_0 = () => { let var_0 = new jl_StackOverflowError(); jl_StackOverflowError__init_(var_0); return var_0; }; function jl_Boolean() { jl_Object.call(this); this.$value9 = 0; } let jl_Boolean_TRUE = null, jl_Boolean_FALSE = null, jl_Boolean_TYPE = null, jl_Boolean_toString = $this => { return !$this.$value9 ? $rt_s(69) : $rt_s(70); }, jl_Boolean_hashCode = $this => { return !$this.$value9 ? 1237 : 1231; }, jl_Boolean_equals = ($this, $obj) => { if ($this === $obj) return 1; return $obj instanceof jl_Boolean && $obj.$value9 == $this.$value9 ? 1 : 0; }, jl_Boolean_compareTo = ($this, var$1) => { let var$2; var$1 = var$1; var$2 = $this.$value9; return var$2 == var$1.$value9 ? 0 : !var$2 ? (-1) : 1; }, jl_Boolean__clinit_ = () => { let var$1; var$1 = new jl_Boolean; var$1.$value9 = 1; jl_Boolean_TRUE = var$1; var$1 = new jl_Boolean; var$1.$value9 = 0; jl_Boolean_FALSE = var$1; jl_Boolean_TYPE = $rt_cls($rt_booleancls); }; function nlea_EaglerAdapterImpl2$BufferedVideo() { let a = this; jl_Object.call(a); a.$videoElement = null; a.$requestedTime = Long_ZERO; a.$ttl = 0; } function ju_HashMap$HashEntry() { let a = this; ju_MapEntry.call(a); a.$origKeyHash = 0; a.$next3 = null; } function jur_AbstractCharClass$1() { let a = this; jur_AbstractCharClass.call(a); a.$val$lHS = null; a.$this$042 = null; } let jur_AbstractCharClass$1_contains = ($this, $ch) => { let $index; $index = $ch - 55296 | 0; return $index >= 0 && $index < 2048 ? $this.$altSurrogates ^ ju_BitSet_get($this.$val$lHS, $index) : 0; }; function jur_AbstractCharClass$2() { let a = this; jur_AbstractCharClass.call(a); a.$val$lHS0 = null; a.$val$thisClass = null; a.$this$033 = null; } let jur_AbstractCharClass$2_contains = ($this, $ch) => { let $index, $containslHS; $index = $ch - 55296 | 0; $containslHS = $index >= 0 && $index < 2048 ? $this.$altSurrogates ^ ju_BitSet_get($this.$val$lHS0, $index) : 0; return $this.$val$thisClass.$contains0($ch) && !$containslHS ? 1 : 0; }; function jur_CharClass$18() { let a = this; jur_AbstractCharClass.call(a); a.$val$bs = null; a.$this$047 = null; } let jur_CharClass$18_contains = ($this, $ch) => { return $this.$alt ^ ju_BitSet_get($this.$val$bs, $ch); }, jur_CharClass$18_toString = $this => { let $temp, $i, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $temp = new jl_StringBuilder; $temp.$buffer = $rt_createCharArray(16); $i = ju_BitSet_nextSetBit($this.$val$bs, 0); while ($i >= 0) { var$3 = (jl_Character_toChars($i)).data; var$4 = 0; var$5 = var$3.length; var$6 = $temp.$length0; jl_AbstractStringBuilder_insertSpace($temp, var$6, var$6 + var$5 | 0); var$5 = var$5 + var$4 | 0; while (var$4 < var$5) { var$7 = $temp.$buffer.data; var$8 = var$6 + 1 | 0; var$9 = var$4 + 1 | 0; var$7[var$6] = var$3[var$4]; var$6 = var$8; var$4 = var$9; } var$6 = $temp.$length0; jl_AbstractStringBuilder_insertSpace($temp, var$6, var$6 + 1 | 0); $temp.$buffer.data[var$6] = 124; $i = ju_BitSet_nextSetBit($this.$val$bs, $i + 1 | 0); } var$4 = $temp.$length0; if (var$4 > 0) jl_AbstractStringBuilder_deleteCharAt($temp, var$4 - 1 | 0); var$10 = new jl_String; var$3 = $temp.$buffer; var$7 = var$3.data; var$4 = $temp.$length0; var$6 = var$7.length; if (var$4 >= 0 && var$4 <= (var$6 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$3.data, 0, var$4); return var$10; } $temp = new jl_IndexOutOfBoundsException; $temp.$suppressionEnabled = 1; $temp.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($temp); $rt_throw($temp); }; function jur_CharClass$1() { let a = this; jur_AbstractCharClass.call(a); a.$val$cc3 = null; a.$this$039 = null; } let jur_CharClass$1_contains = ($this, $ch) => { return $this.$val$cc3.$contains0($ch); }; function jur_CharClass$3() { let a = this; jur_AbstractCharClass.call(a); a.$val$curAlt0 = 0; a.$val$cc1 = null; a.$this$015 = null; } let jur_CharClass$3_contains = ($this, $ch) => { return !($this.$val$curAlt0 ^ ju_BitSet_get($this.$this$015.$bits, $ch)) && !($this.$val$curAlt0 ^ $this.$this$015.$inverted ^ $this.$val$cc1.$contains0($ch)) ? 0 : 1; }; function jur_CharClass$2() { let a = this; jur_AbstractCharClass.call(a); a.$val$curAlt = 0; a.$val$cc0 = null; a.$this$014 = null; } let jur_CharClass$2_contains = ($this, $ch) => { return !($this.$val$curAlt ^ ju_BitSet_get($this.$this$014.$bits, $ch)) && !($this.$val$curAlt ^ $this.$this$014.$inverted ^ $this.$val$cc0.$contains0($ch)) ? 1 : 0; }; function jur_CharClass$5() { let a = this; jur_AbstractCharClass.call(a); a.$val$curAlt10 = 0; a.$val$nb0 = null; a.$val$cc = null; a.$this$049 = null; } let jur_CharClass$5_contains = ($this, $ch) => { return $this.$val$curAlt10 ^ (!$this.$val$nb0.$contains0($ch) && !$this.$val$cc.$contains0($ch) ? 0 : 1); }; function jur_CharClass$4() { let a = this; jur_AbstractCharClass.call(a); a.$val$curAlt6 = 0; a.$val$nb3 = null; a.$val$cc2 = null; a.$this$056 = null; } let jur_CharClass$4_contains = ($this, $ch) => { return $this.$val$curAlt6 ^ (!$this.$val$nb3.$contains0($ch) && !$this.$val$cc2.$contains0($ch) ? 0 : 1) ? 0 : 1; }; function jur_CharClass$7() { let a = this; jur_AbstractCharClass.call(a); a.$val$clazz5 = null; a.$this$043 = null; } let jur_CharClass$7_contains = ($this, $ch) => { let var$2, var$3; var$2 = $this.$val$clazz5; var$3 = var$2.$nonBitSet; return var$3 !== null ? var$2.$alt ^ var$3.$contains0($ch) : var$2.$alt ^ ju_BitSet_get(var$2.$bits, $ch); }; function jur_CharClass$6() { let a = this; jur_AbstractCharClass.call(a); a.$val$clazz9 = null; a.$this$037 = null; } let jur_CharClass$6_contains = ($this, $ch) => { let var$2, var$3; var$2 = $this.$val$clazz9; var$3 = var$2.$nonBitSet; return (var$3 !== null ? var$2.$alt ^ var$3.$contains0($ch) : var$2.$alt ^ ju_BitSet_get(var$2.$bits, $ch)) ? 0 : 1; }; function jur_CharClass$9() { let a = this; jur_AbstractCharClass.call(a); a.$val$clazz0 = null; a.$val$curAlt3 = 0; a.$this$024 = null; } let jur_CharClass$9_contains = ($this, $ch) => { let var$2, var$3, var$4; var$2 = $this.$val$clazz0; var$3 = var$2.$nonBitSet; var$4 = var$3 !== null ? var$2.$alt ^ var$3.$contains0($ch) : var$2.$alt ^ ju_BitSet_get(var$2.$bits, $ch); return !var$4 && !($this.$val$curAlt3 ^ ju_BitSet_get($this.$this$024.$bits, $ch)) ? 0 : 1; }; function jur_CharClass$8() { let a = this; jur_AbstractCharClass.call(a); a.$val$clazz7 = null; a.$val$curAlt7 = 0; a.$this$018 = null; } let jur_CharClass$8_contains = ($this, $ch) => { let var$2, var$3, var$4; var$2 = $this.$val$clazz7; var$3 = var$2.$nonBitSet; var$4 = var$3 !== null ? var$2.$alt ^ var$3.$contains0($ch) : var$2.$alt ^ ju_BitSet_get(var$2.$bits, $ch); return !var$4 && !($this.$val$curAlt7 ^ ju_BitSet_get($this.$this$018.$bits, $ch)) ? 1 : 0; }; function jur_CharClass$11() { let a = this; jur_AbstractCharClass.call(a); a.$val$curAlt2 = 0; a.$val$nb4 = null; a.$val$clazz1 = null; a.$this$028 = null; } let jur_CharClass$11_contains = ($this, $ch) => { let var$2, var$3; a: { if (!($this.$val$curAlt2 ^ $this.$val$nb4.$contains0($ch))) { var$2 = $this.$val$clazz1; var$3 = var$2.$nonBitSet; if (!(var$3 !== null ? var$2.$alt ^ var$3.$contains0($ch) : var$2.$alt ^ ju_BitSet_get(var$2.$bits, $ch))) { $ch = 0; break a; } } $ch = 1; } return $ch; }; function jur_CharClass$10() { let a = this; jur_AbstractCharClass.call(a); a.$val$curAlt9 = 0; a.$val$nb = null; a.$val$clazz = null; a.$this$044 = null; } let jur_CharClass$10_contains = ($this, $ch) => { let var$2, var$3; a: { if (!($this.$val$curAlt9 ^ $this.$val$nb.$contains0($ch))) { var$2 = $this.$val$clazz; var$3 = var$2.$nonBitSet; if (!(var$3 !== null ? var$2.$alt ^ var$3.$contains0($ch) : var$2.$alt ^ ju_BitSet_get(var$2.$bits, $ch))) { $ch = 1; break a; } } $ch = 0; } return $ch; }; function jur_CharClass$13() { let a = this; jur_AbstractCharClass.call(a); a.$val$clazz8 = null; a.$this$029 = null; } let jur_CharClass$13_contains = ($this, $ch) => { let var$2, var$3; var$2 = $this.$val$clazz8; var$3 = var$2.$nonBitSet; return var$3 !== null ? var$2.$alt ^ var$3.$contains0($ch) : var$2.$alt ^ ju_BitSet_get(var$2.$bits, $ch); }; function jur_CharClass$12() { let a = this; jur_AbstractCharClass.call(a); a.$val$clazz4 = null; a.$this$055 = null; } let jur_CharClass$12_contains = ($this, $ch) => { let var$2, var$3; var$2 = $this.$val$clazz4; var$3 = var$2.$nonBitSet; return (var$3 !== null ? var$2.$alt ^ var$3.$contains0($ch) : var$2.$alt ^ ju_BitSet_get(var$2.$bits, $ch)) ? 0 : 1; }; function jur_CharClass$15() { let a = this; jur_AbstractCharClass.call(a); a.$val$clazz10 = null; a.$val$curAlt1 = 0; a.$this$021 = null; } let jur_CharClass$15_contains = ($this, $ch) => { let var$2, var$3, var$4; var$2 = $this.$val$clazz10; var$3 = var$2.$nonBitSet; var$4 = var$3 !== null ? var$2.$alt ^ var$3.$contains0($ch) : var$2.$alt ^ ju_BitSet_get(var$2.$bits, $ch); return var$4 && $this.$val$curAlt1 ^ ju_BitSet_get($this.$this$021.$bits, $ch) ? 1 : 0; }; function jur_CharClass$14() { let a = this; jur_AbstractCharClass.call(a); a.$val$clazz2 = null; a.$val$curAlt4 = 0; a.$this$022 = null; } let jur_CharClass$14_contains = ($this, $ch) => { let var$2, var$3, var$4; var$2 = $this.$val$clazz2; var$3 = var$2.$nonBitSet; var$4 = var$3 !== null ? var$2.$alt ^ var$3.$contains0($ch) : var$2.$alt ^ ju_BitSet_get(var$2.$bits, $ch); return var$4 && $this.$val$curAlt4 ^ ju_BitSet_get($this.$this$022.$bits, $ch) ? 0 : 1; }; function jur_CharClass$17() { let a = this; jur_AbstractCharClass.call(a); a.$val$curAlt5 = 0; a.$val$nb2 = null; a.$val$clazz6 = null; a.$this$048 = null; } let jur_CharClass$17_contains = ($this, $ch) => { let var$2, var$3; a: { if ($this.$val$curAlt5 ^ $this.$val$nb2.$contains0($ch)) { var$2 = $this.$val$clazz6; var$3 = var$2.$nonBitSet; if (var$3 !== null ? var$2.$alt ^ var$3.$contains0($ch) : var$2.$alt ^ ju_BitSet_get(var$2.$bits, $ch)) { $ch = 1; break a; } } $ch = 0; } return $ch; }; function jur_CharClass$16() { let a = this; jur_AbstractCharClass.call(a); a.$val$curAlt8 = 0; a.$val$nb1 = null; a.$val$clazz3 = null; a.$this$038 = null; } let jur_CharClass$16_contains = ($this, $ch) => { let var$2, var$3; a: { if ($this.$val$curAlt8 ^ $this.$val$nb1.$contains0($ch)) { var$2 = $this.$val$clazz3; var$3 = var$2.$nonBitSet; if (var$3 !== null ? var$2.$alt ^ var$3.$contains0($ch) : var$2.$alt ^ ju_BitSet_get(var$2.$bits, $ch)) { $ch = 0; break a; } } $ch = 1; } return $ch; }, ju_NoSuchElementException = $rt_classWithoutFields(jl_RuntimeException), ju_NoSuchElementException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, ju_NoSuchElementException__init_0 = () => { let var_0 = new ju_NoSuchElementException(); ju_NoSuchElementException__init_(var_0); return var_0; }, ju_Iterator = $rt_classWithoutFields(0); function ju_AbstractList$1() { let a = this; jl_Object.call(a); a.$index0 = 0; a.$modCount1 = 0; a.$size3 = 0; a.$removeIndex = 0; a.$this$00 = null; } let ju_AbstractList$1_hasNext = $this => { return $this.$index0 >= $this.$size3 ? 0 : 1; }, ju_AbstractList$1_next = $this => { let var$1, var$2, var$3; var$1 = $this.$modCount1; var$2 = $this.$this$00; if (var$1 >= var$2.$modCount) { var$3 = $this.$index0; $this.$removeIndex = var$3; $this.$index0 = var$3 + 1 | 0; return var$2.$get(var$3); } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, ju_AbstractList$1_remove = $this => { let var$1, var$2, var$3; var$1 = $this.$removeIndex; if (var$1 < 0) { var$2 = new jl_IllegalStateException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$3 = $this.$modCount1; var$2 = $this.$this$00; if (var$3 < var$2.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$2.$remove2(var$1); $this.$modCount1 = $this.$this$00.$modCount; var$1 = $this.$removeIndex; var$3 = $this.$index0; if (var$1 < var$3) $this.$index0 = var$3 - 1 | 0; $this.$size3 = $this.$size3 - 1 | 0; $this.$removeIndex = (-1); }; function jl_Object$Monitor() { let a = this; jl_Object.call(a); a.$enteringThreads = null; a.$notifyListeners = null; a.$owner = null; a.$count1 = 0; } let jl_Object$Monitor__init_ = $this => { $this.$owner = jl_Thread_currentThread; }, jl_Object$Monitor__init_0 = () => { let var_0 = new jl_Object$Monitor(); jl_Object$Monitor__init_(var_0); return var_0; }; function jl_Thread() { let a = this; jl_Object.call(a); a.$id9 = Long_ZERO; a.$timeSliceStart = Long_ZERO; a.$yieldCount = 0; a.$finishedLock = null; a.$key2 = null; a.$name20 = null; a.$alive0 = 0; a.$target0 = null; } let jl_Thread_mainThread = null, jl_Thread_currentThread = null, jl_Thread_nextId = 0, jl_Thread_activeCount = 0, jl_Thread_defaultUncaughtExceptionHandler = null, jl_Thread__init_ = $this => { let var$1, var$2, var$3; var$1 = null; var$2 = null; $this.$finishedLock = new jl_Object; $this.$alive0 = 1; $this.$name20 = var$2; $this.$target0 = var$1; var$3 = jl_Thread_nextId; jl_Thread_nextId = var$3 + 1 | 0; $this.$id9 = Long_fromInt(var$3); }, jl_Thread__init_0 = () => { let var_0 = new jl_Thread(); jl_Thread__init_(var_0); return var_0; }, jl_Thread_setCurrentThread = $thread_0 => { if (jl_Thread_currentThread !== $thread_0) jl_Thread_currentThread = $thread_0; jl_Thread_currentThread.$timeSliceStart = jl_System_currentTimeMillis(); }, jl_Thread_currentThread0 = () => { return jl_Thread_currentThread; }, jl_Thread_yield = () => { let $currentThread, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$currentThread = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $currentThread = jl_Thread_currentThread; var$2 = $currentThread.$yieldCount + 1 | 0; $currentThread.$yieldCount = var$2; if (var$2 < 30) return; $currentThread.$yieldCount = 0; if (Long_ge(Long_add($currentThread.$timeSliceStart, Long_fromInt(100)), jl_System_currentTimeMillis())) return; $ptr = 1; case 1: jl_Thread_switchContext$_asyncCall_$($currentThread); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($currentThread, var$2, $ptr); }, jl_Thread_switchContext = ($thread_0, $callback) => { let var$3; var$3 = new jl_Thread$switchContext$lambda$_19_0; var$3.$_010 = $thread_0; var$3.$_12 = $callback; otp_Platform_schedule(var$3, 0); }, jl_Thread__clinit_ = () => { let var$1, var$2, var$3; var$1 = new jl_Thread; var$2 = null; var$1.$finishedLock = new jl_Object; var$1.$alive0 = 1; var$1.$name20 = $rt_s(1014); var$1.$target0 = var$2; var$3 = jl_Thread_nextId; jl_Thread_nextId = var$3 + 1 | 0; var$1.$id9 = Long_fromInt(var$3); jl_Thread_mainThread = var$1; jl_Thread_currentThread = var$1; jl_Thread_nextId = 1; jl_Thread_activeCount = 1; jl_Thread_defaultUncaughtExceptionHandler = new jl_DefaultUncaughtExceptionHandler; }, jl_Thread_switchContext$_asyncCall_$ = var$1 => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { jl_Thread_switchContext(var$1, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, jl_IllegalMonitorStateException = $rt_classWithoutFields(jl_RuntimeException), jl_IllegalMonitorStateException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_IllegalMonitorStateException__init_0 = () => { let var_0 = new jl_IllegalMonitorStateException(); jl_IllegalMonitorStateException__init_(var_0); return var_0; }; function nms_AxisAlignedBB() { let a = this; jl_Object.call(a); a.$minX = 0.0; a.$minY = 0.0; a.$minZ = 0.0; a.$maxX = 0.0; a.$maxY = 0.0; a.$maxZ = 0.0; } let nms_AxisAlignedBB_theAABBLocalPool = null, nms_AxisAlignedBB_addCoord = ($this, $par1, $par3, $par5) => { let $var7, $var9, $var11, $var13, $var15, $var17, var$10, var$11, var$12, var$13, var$14, var$15, var$16; $var7 = $this.$minX; $var9 = $this.$minY; $var11 = $this.$minZ; $var13 = $this.$maxX; $var15 = $this.$maxY; $var17 = $this.$maxZ; var$10 = $rt_compare($par1, 0.0); if (var$10 < 0) $var7 = $var7 + $par1; if (var$10 > 0) $var13 = $var13 + $par1; var$10 = $rt_compare($par3, 0.0); if (var$10 < 0) $var9 = $var9 + $par3; if (var$10 > 0) $var15 = $var15 + $par3; var$10 = $rt_compare($par5, 0.0); if (var$10 < 0) $var11 = $var11 + $par5; if (var$10 > 0) $var17 = $var17 + $par5; var$11 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$11.$nextPoolIndex; var$12 = var$11.$listAABB; var$13 = var$12.$size0; var$14 = $rt_compare(var$10, var$13); if (var$14 >= 0) { var$15 = new nms_AxisAlignedBB; var$15.$minX = $var7; var$15.$minY = $var9; var$15.$minZ = $var11; var$15.$maxX = $var13; var$15.$maxY = $var15; var$15.$maxZ = $var17; ju_ArrayList_ensureCapacity(var$12, var$13 + 1 | 0); var$16 = var$12.$array.data; var$14 = var$12.$size0; var$12.$size0 = var$14 + 1 | 0; var$16[var$14] = var$15; var$12.$modCount = var$12.$modCount + 1 | 0; } else if (var$10 >= 0 && var$14 < 0) { var$15 = var$12.$array.data[var$10]; var$15.$minX = $var7; var$15.$minY = $var9; var$15.$minZ = $var11; var$15.$maxX = $var13; var$15.$maxY = $var15; var$15.$maxZ = $var17; } else { var$12 = new jl_IndexOutOfBoundsException; var$12.$suppressionEnabled = 1; var$12.$writableStackTrace = 1; $rt_throw(var$12); } var$11.$nextPoolIndex = var$11.$nextPoolIndex + 1 | 0; return var$15; }, nms_AxisAlignedBB_calculateXOffset = ($this, $par1AxisAlignedBB, $par2) => { let $var4, $var4_0; if ($par1AxisAlignedBB.$maxY > $this.$minY && $par1AxisAlignedBB.$minY < $this.$maxY) { if ($par1AxisAlignedBB.$maxZ > $this.$minZ && $par1AxisAlignedBB.$minZ < $this.$maxZ) { if ($par2 <= 0.0) $var4 = $par2; else { $var4 = $par1AxisAlignedBB.$maxX; $var4_0 = $this.$minX; if ($var4 > $var4_0) $var4 = $par2; else { $var4 = $var4_0 - $var4; if ($var4 >= $par2) $var4 = $par2; } } if ($var4 >= 0.0) $var4_0 = $var4; else { $par2 = $par1AxisAlignedBB.$minX; $var4_0 = $this.$maxX; if ($par2 < $var4_0) $var4_0 = $var4; else { $var4_0 = $var4_0 - $par2; if ($var4_0 <= $var4) $var4_0 = $var4; } } return $var4_0; } return $par2; } return $par2; }, nms_AxisAlignedBB_calculateYOffset = ($this, $par1AxisAlignedBB, $par2) => { let $var4, $var4_0; if ($par1AxisAlignedBB.$maxX > $this.$minX && $par1AxisAlignedBB.$minX < $this.$maxX) { if ($par1AxisAlignedBB.$maxZ > $this.$minZ && $par1AxisAlignedBB.$minZ < $this.$maxZ) { if ($par2 <= 0.0) $var4 = $par2; else { $var4 = $par1AxisAlignedBB.$maxY; $var4_0 = $this.$minY; if ($var4 > $var4_0) $var4 = $par2; else { $var4 = $var4_0 - $var4; if ($var4 >= $par2) $var4 = $par2; } } if ($var4 >= 0.0) $var4_0 = $var4; else { $par2 = $par1AxisAlignedBB.$minY; $var4_0 = $this.$maxY; if ($par2 < $var4_0) $var4_0 = $var4; else { $var4_0 = $var4_0 - $par2; if ($var4_0 <= $var4) $var4_0 = $var4; } } return $var4_0; } return $par2; } return $par2; }, nms_AxisAlignedBB_calculateZOffset = ($this, $par1AxisAlignedBB, $par2) => { let $var4, $var4_0; if ($par1AxisAlignedBB.$maxX > $this.$minX && $par1AxisAlignedBB.$minX < $this.$maxX) { if ($par1AxisAlignedBB.$maxY > $this.$minY && $par1AxisAlignedBB.$minY < $this.$maxY) { if ($par2 <= 0.0) $var4 = $par2; else { $var4 = $par1AxisAlignedBB.$maxZ; $var4_0 = $this.$minZ; if ($var4 > $var4_0) $var4 = $par2; else { $var4 = $var4_0 - $var4; if ($var4 >= $par2) $var4 = $par2; } } if ($var4 >= 0.0) $var4_0 = $var4; else { $par2 = $par1AxisAlignedBB.$minZ; $var4_0 = $this.$maxZ; if ($par2 < $var4_0) $var4_0 = $var4; else { $var4_0 = $var4_0 - $par2; if ($var4_0 <= $var4) $var4_0 = $var4; } } return $var4_0; } return $par2; } return $par2; }, nms_AxisAlignedBB_intersectsWith = ($this, $par1AxisAlignedBB) => { return $par1AxisAlignedBB.$maxX > $this.$minX && $par1AxisAlignedBB.$minX < $this.$maxX ? ($par1AxisAlignedBB.$maxY > $this.$minY && $par1AxisAlignedBB.$minY < $this.$maxY ? ($par1AxisAlignedBB.$maxZ > $this.$minZ && $par1AxisAlignedBB.$minZ < $this.$maxZ ? 1 : 0) : 0) : 0; }, nms_AxisAlignedBB_isVecInside = ($this, $par1Vec3) => { let var$2, var$3; var$2 = $par1Vec3.$xCoord; if (var$2 > $this.$minX && var$2 < $this.$maxX) { var$2 = $par1Vec3.$yCoord; if (var$2 > $this.$minY && var$2 < $this.$maxY) { var$2 = $par1Vec3.$zCoord; var$3 = var$2 > $this.$minZ && var$2 < $this.$maxZ ? 1 : 0; } else var$3 = 0; } else var$3 = 0; return var$3; }, nms_AxisAlignedBB_calculateIntercept = ($this, $par1Vec3, $par2Vec3) => { let $var3, $var4, $var5, $var6, $var7, $var8, $var9, var$10, var$11, var$12, var$13, var$14, var$15, $var10; $var3 = nms_Vec3_getIntermediateWithXValue($par1Vec3, $par2Vec3, $this.$minX); $var4 = nms_Vec3_getIntermediateWithXValue($par1Vec3, $par2Vec3, $this.$maxX); $var5 = nms_Vec3_getIntermediateWithYValue($par1Vec3, $par2Vec3, $this.$minY); $var6 = nms_Vec3_getIntermediateWithYValue($par1Vec3, $par2Vec3, $this.$maxY); $var7 = nms_Vec3_getIntermediateWithZValue($par1Vec3, $par2Vec3, $this.$minZ); $var8 = nms_Vec3_getIntermediateWithZValue($par1Vec3, $par2Vec3, $this.$maxZ); if (!nms_AxisAlignedBB_isVecInYZ($this, $var3)) $var3 = null; if (!nms_AxisAlignedBB_isVecInYZ($this, $var4)) $var4 = null; if (!nms_AxisAlignedBB_isVecInXZ($this, $var5)) $var5 = null; if (!nms_AxisAlignedBB_isVecInXZ($this, $var6)) $var6 = null; if (!nms_AxisAlignedBB_isVecInXY($this, $var7)) $var7 = null; if (!nms_AxisAlignedBB_isVecInXY($this, $var8)) $var8 = null; $var9 = null; if ($var3 !== null) $var9 = $var3; a: { if ($var4 !== null) { if ($var9 !== null) { var$10 = $var4.$xCoord; var$11 = $par1Vec3.$xCoord; var$10 = var$10 - var$11; var$12 = $var4.$yCoord; var$13 = $par1Vec3.$yCoord; var$12 = var$12 - var$13; var$14 = $var4.$zCoord; var$15 = $par1Vec3.$zCoord; var$14 = var$14 - var$15; var$14 = var$10 * var$10 + var$12 * var$12 + var$14 * var$14; var$10 = $var9.$xCoord - var$11; var$11 = $var9.$yCoord - var$13; var$12 = $var9.$zCoord - var$15; if (var$14 >= var$10 * var$10 + var$11 * var$11 + var$12 * var$12) break a; } $var9 = $var4; } } b: { if ($var5 !== null) { if ($var9 !== null) { var$10 = $var5.$xCoord; var$11 = $par1Vec3.$xCoord; var$10 = var$10 - var$11; var$12 = $var5.$yCoord; var$13 = $par1Vec3.$yCoord; var$12 = var$12 - var$13; var$14 = $var5.$zCoord; var$15 = $par1Vec3.$zCoord; var$14 = var$14 - var$15; var$12 = var$10 * var$10 + var$12 * var$12 + var$14 * var$14; var$10 = $var9.$xCoord - var$11; var$11 = $var9.$yCoord - var$13; var$13 = $var9.$zCoord - var$15; if (var$12 >= var$10 * var$10 + var$11 * var$11 + var$13 * var$13) break b; } $var9 = $var5; } } c: { if ($var6 !== null) { if ($var9 !== null) { var$10 = $var6.$xCoord; var$11 = $par1Vec3.$xCoord; var$10 = var$10 - var$11; var$12 = $var6.$yCoord; var$13 = $par1Vec3.$yCoord; var$12 = var$12 - var$13; var$14 = $var6.$zCoord; var$15 = $par1Vec3.$zCoord; var$14 = var$14 - var$15; var$14 = var$10 * var$10 + var$12 * var$12 + var$14 * var$14; var$10 = $var9.$xCoord - var$11; var$11 = $var9.$yCoord - var$13; var$12 = $var9.$zCoord - var$15; if (var$14 >= var$10 * var$10 + var$11 * var$11 + var$12 * var$12) break c; } $var9 = $var6; } } d: { if ($var7 !== null) { if ($var9 !== null) { var$10 = $var7.$xCoord; var$11 = $par1Vec3.$xCoord; var$10 = var$10 - var$11; var$12 = $var7.$yCoord; var$14 = $par1Vec3.$yCoord; var$12 = var$12 - var$14; var$13 = $var7.$zCoord; var$15 = $par1Vec3.$zCoord; var$13 = var$13 - var$15; var$13 = var$10 * var$10 + var$12 * var$12 + var$13 * var$13; var$10 = $var9.$xCoord - var$11; var$11 = $var9.$yCoord - var$14; var$12 = $var9.$zCoord - var$15; if (var$13 >= var$10 * var$10 + var$11 * var$11 + var$12 * var$12) break d; } $var9 = $var7; } } e: { if ($var8 !== null) { if ($var9 !== null) { var$10 = $var8.$xCoord; var$11 = $par1Vec3.$xCoord; var$10 = var$10 - var$11; var$12 = $var8.$yCoord; var$13 = $par1Vec3.$yCoord; var$12 = var$12 - var$13; var$14 = $var8.$zCoord; var$15 = $par1Vec3.$zCoord; var$14 = var$14 - var$15; var$14 = var$10 * var$10 + var$12 * var$12 + var$14 * var$14; var$11 = $var9.$xCoord - var$11; var$12 = $var9.$yCoord - var$13; var$10 = $var9.$zCoord - var$15; if (var$14 >= var$11 * var$11 + var$12 * var$12 + var$10 * var$10) break e; } $var9 = $var8; } } if ($var9 === null) return null; $var10 = (-1); if ($var9 === $var3) $var10 = 4; if ($var9 === $var4) $var10 = 5; if ($var9 === $var5) $var10 = 0; if ($var9 === $var6) $var10 = 1; if ($var9 === $var7) $var10 = 2; if ($var9 === $var8) $var10 = 3; $par1Vec3 = new nms_MovingObjectPosition; $par1Vec3.$typeOfHit = nms_EnumMovingObjectType_TILE; $par1Vec3.$blockX = 0; $par1Vec3.$blockY = 0; $par1Vec3.$blockZ = 0; $par1Vec3.$sideHit = $var10; $par1Vec3.$hitVec = nms_Vec3Pool_getVecFromPool($var9.$myVec3LocalPool, $var9.$xCoord, $var9.$yCoord, $var9.$zCoord); return $par1Vec3; }, nms_AxisAlignedBB_isVecInYZ = ($this, $par1Vec3) => { let var$2, var$3; a: { if ($par1Vec3 === null) var$2 = 0; else { var$3 = $par1Vec3.$yCoord; if (var$3 >= $this.$minY && var$3 <= $this.$maxY) { var$3 = $par1Vec3.$zCoord; if (var$3 >= $this.$minZ && var$3 <= $this.$maxZ) { var$2 = 1; break a; } } var$2 = 0; } } return var$2; }, nms_AxisAlignedBB_isVecInXZ = ($this, $par1Vec3) => { let var$2, var$3; a: { if ($par1Vec3 === null) var$2 = 0; else { var$3 = $par1Vec3.$xCoord; if (var$3 >= $this.$minX && var$3 <= $this.$maxX) { var$3 = $par1Vec3.$zCoord; if (var$3 >= $this.$minZ && var$3 <= $this.$maxZ) { var$2 = 1; break a; } } var$2 = 0; } } return var$2; }, nms_AxisAlignedBB_isVecInXY = ($this, $par1Vec3) => { let var$2, var$3; a: { if ($par1Vec3 === null) var$2 = 0; else { var$3 = $par1Vec3.$xCoord; if (var$3 >= $this.$minX && var$3 <= $this.$maxX) { var$3 = $par1Vec3.$yCoord; if (var$3 >= $this.$minY && var$3 <= $this.$maxY) { var$2 = 1; break a; } } var$2 = 0; } } return var$2; }, nms_AxisAlignedBB_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$1 = $this.$minX; var$2 = $this.$minY; var$3 = $this.$minZ; var$4 = $this.$maxX; var$5 = $this.$maxY; var$6 = $this.$maxZ; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(1015)); jl_AbstractStringBuilder_insert4(var$7, var$7.$length0, var$1); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert4(var$7, var$7.$length0, var$2); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert4(var$7, var$7.$length0, var$3); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(1016)); jl_AbstractStringBuilder_insert4(var$7, var$7.$length0, var$4); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert4(var$7, var$7.$length0, var$5); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert4(var$7, var$7.$length0, var$6); var$8 = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, var$8, var$8 + 1 | 0); var$9 = var$7.$buffer; var$10 = var$9.data; var$10[var$8] = 93; var$11 = new jl_String; var$8 = var$7.$length0; var$12 = var$10.length; if (var$8 >= 0 && var$8 <= (var$12 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$9.data, 0, var$8); return var$11; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$7); $rt_throw(var$7); }, nms_AxisAlignedBB__clinit_ = () => { nms_AxisAlignedBB_theAABBLocalPool = new nms_AABBLocalPool; }, nle_IntegratedServer = $rt_classWithoutFields(), nle_IntegratedServer_loadLocale = null, nle_IntegratedServer_loadStats = null, nle_IntegratedServer_isPaused = 0, nle_IntegratedServer_integratedServerTPS = null, nle_IntegratedServer_relayManager = null, nle_IntegratedServer_statusState = 0, nle_IntegratedServer_worldStatusString = null, nle_IntegratedServer_worldStatusProgress = 0.0, nle_IntegratedServer_exceptions = null, nle_IntegratedServer_worlds = null, nle_IntegratedServer_logException = 0, nle_IntegratedServer_callFailed = 0, nle_IntegratedServer_exportResponse = null, nle_IntegratedServer_openConnections = null, nle_IntegratedServer__init_ = $this => { return; }, nle_IntegratedServer__init_0 = () => { let var_0 = new nle_IntegratedServer(); nle_IntegratedServer__init_(var_0); return var_0; }, nle_IntegratedServer_getTPS = () => { return nle_IntegratedServer_integratedServerTPS; }, nle_IntegratedServer_begin = ($locale, $stats) => { let var$3, var$4, var$5, var$6, var$7, var$8; a: { nle_IntegratedServer_logException = 1; if (nle_IntegratedServer_statusState >= 0) { nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_serverAlive && nlea_EaglerAdapterImpl2_server !== null ? 1 : 0) { var$3 = 1; break a; } } var$3 = 0; } if (var$3) { if (jl_System_outCache === null) { var$4 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_Object__init_(var$5); var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$4; } $rt_putStdout("FUCK"); $rt_putStdout("\n"); } else { if (jl_System_outCache === null) { var$4 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_Object__init_(var$5); var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$4; } $rt_putStdout("beginning?"); $rt_putStdout("\n"); var$4 = nle_IntegratedServer_openConnections; if (var$4.$elementCount > 0) { var$4.$elementCount = 0; var$6 = var$4.$elementData.data; var$5 = null; var$3 = 0; var$7 = var$6.length; if (var$3 > var$7) { var$4 = new jl_IllegalArgumentException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } while (var$3 < var$7) { var$8 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$8; } var$4.$modCount0 = var$4.$modCount0 + 1 | 0; } var$4 = nle_IntegratedServer_exceptions; var$4.$firstEntry = null; var$4.$lastEntry = null; var$4.$size2 = 0; var$4.$modCount = var$4.$modCount + 1 | 0; nle_IntegratedServer_statusState = (-1); nle_IntegratedServer_isPaused = 0; nle_IntegratedServer_loadLocale = $locale; nle_IntegratedServer_loadStats = $stats; var$4 = nle_IntegratedServer_integratedServerTPS; var$4.$firstEntry = null; var$4.$lastEntry = null; var$4.$size2 = 0; var$4.$modCount = var$4.$modCount + 1 | 0; nlea_EaglerAdapterImpl2_beginLoadingIntegratedServer(); } }, nle_IntegratedServer_isWorldRunning = () => { let var$1; var$1 = nle_IntegratedServer_statusState; return var$1 != 3 && var$1 != 9 && var$1 != 2 && var$1 != 11 ? 0 : 1; }, nle_IntegratedServer_loadWorld = ($name, $difficulty, $gen) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; var$4 = nle_IntegratedServer_statusState; if (!(var$4 ? 0 : 1)) { $name = nle_IntegratedState_getStateName(var$4); $gen = new jl_StringBuilder; $gen.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($gen, $gen.$length0, $rt_s(1017)); jl_AbstractStringBuilder_insert0($gen, $gen.$length0, var$4, 10); jl_AbstractStringBuilder_insert($gen, $gen.$length0, $rt_s(1018)); $difficulty = $gen.$length0; if ($name === null) $name = $rt_s(1); jl_AbstractStringBuilder_insert($gen, $difficulty, $name); jl_AbstractStringBuilder_insert($gen, $gen.$length0, $rt_s(1019)); $name = new jl_String; var$5 = $gen.$buffer; var$6 = var$5.data; var$4 = $gen.$length0; var$7 = var$6.length; if (var$4 >= 0 && var$4 <= (var$7 - 0 | 0)) { $name.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4); $gen = new jl_IllegalStateException; $gen.$suppressionEnabled = 1; $gen.$writableStackTrace = 1; $gen.$message = $name; $rt_throw($gen); } $name = new jl_IndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } var$8 = nle_IntegratedServer_integratedServerTPS; var$8.$firstEntry = null; var$8.$lastEntry = null; var$8.$size2 = 0; var$8.$modCount = var$8.$modCount + 1 | 0; nle_IntegratedServer_statusState = 2; nle_IntegratedServer_isPaused = 0; if ($gen !== null) { var$8 = new nlesi_IPCPacket02InitWorld; var$4 = $gen.$hardcoreEnabled ? 2 : !($gen.$theGameType0 !== nms_EnumGameType_CREATIVE ? 0 : 1) ? 0 : 1; var$9 = $gen.$terrainType1.$worldTypeId0; var$10 = $gen.$field_82751_h; var$11 = $gen.$seed0; var$12 = $gen.$commandsAllowed0; var$13 = $gen.$mapFeaturesEnabled; var$7 = $gen.$bonusChestEnabled; var$8.$worldName6 = $name; var$8.$gamemode = var$4 << 24 >> 24; var$8.$worldType0 = var$9 << 24 >> 24; var$8.$worldArgs = var$10; var$8.$seed2 = var$11; var$8.$cheats = var$12; var$8.$structures = var$13; var$8.$bonusChest = var$7; nle_IntegratedServer_sendIPCPacket(var$8); } var$8 = new nlesi_IPCPacket00StartServer; nle_EaglerProfile_$callClinit(); $gen = nle_EaglerProfile_username; var$8.$worldName3 = $name; var$8.$ownerName = $gen; var$8.$initialDifficulty = $difficulty; nle_IntegratedServer_sendIPCPacket(var$8); }, nle_IntegratedServer_setPaused = $pause => { let var$2, var$3; var$2 = nle_IntegratedServer_statusState; if (var$2 != 3 && var$2 != 9) return; if (nle_IntegratedServer_isPaused != $pause) { if (!$pause) nle_IntegratedServer_statusState = 3; else nle_IntegratedServer_statusState = 9; var$3 = new nlesi_IPCPacket0BPause; var$3.$pause = $pause; nle_IntegratedServer_sendIPCPacket(var$3); nle_IntegratedServer_isPaused = $pause; } }, nle_IntegratedServer_worldStatusErrors = () => { let $i, $t, var$3, var$4, var$5; $i = nle_IntegratedServer_exceptions.$size2; if ($i <= 0) return null; $t = $rt_createArray(nlesi_IPCPacket15ThrowException, $i); var$3 = $t.data; $i = 0; var$4 = var$3.length; while (true) { if ($i >= var$4) { var$5 = nle_IntegratedServer_exceptions; var$5.$firstEntry = null; var$5.$lastEntry = null; var$5.$size2 = 0; var$5.$modCount = var$5.$modCount + 1 | 0; return $t; } var$5 = nle_IntegratedServer_exceptions; if ($i < 0) break; var$3[$i] = ju_LinkedList$SequentialListIterator_next(ju_LinkedList_listIterator(var$5, $i)); $i = $i + 1 | 0; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); }, nle_IntegratedServer_exportWorld = ($name, $format) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$3 = nle_IntegratedServer_statusState; if (!(var$3 ? 0 : 1)) { $name = nle_IntegratedState_getStateName(var$3); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1017)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1018)); $format = var$4.$length0; if ($name === null) $name = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $format, $name); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1019)); $name = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; var$3 = var$4.$length0; var$7 = var$6.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { $name.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); var$4 = new jl_IllegalStateException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $name; $rt_throw(var$4); } $name = new jl_IndexOutOfBoundsException; jl_Throwable__init_($name); $rt_throw($name); } a: { nle_IntegratedServer_statusState = 13; if ($format == 1) { var$4 = new jl_String; var$5 = $rt_createCharArray(3); var$6 = var$5.data; var$6[0] = 253; var$6[1] = 233; var$6[2] = 233; var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$6.length); nle_EaglerProfile_$callClinit(); var$8 = nle_EaglerProfile_username; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$3 = var$9.$length0; if ($name === null) $name = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, var$3, $name); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, var$4); var$3 = var$9.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, var$3, var$8); $name = new jl_String; var$5 = var$9.$buffer; var$6 = var$5.data; var$7 = var$9.$length0; var$10 = var$6.length; if (var$7 < 0) break a; if (var$7 > (var$10 - 0 | 0)) break a; $name.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); } var$4 = new nlesi_IPCPacket05RequestData; $format = $format << 24 >> 24; var$4.$worldName1 = $name; var$4.$request = $format; nle_IntegratedServer_sendIPCPacket(var$4); return; } $name = new jl_IndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($name); $rt_throw($name); }, nle_IntegratedServer_processICP = () => { let $packet, $pkt, var$3, $id, var$5, var$6, $e, $newConnection, $pkt_0, $t, var$11, var$12, var$13, var$14, var$15, $$je; nlea_EaglerAdapterImpl2_$callClinit(); if (!(nlea_EaglerAdapterImpl2_serverAlive && nlea_EaglerAdapterImpl2_server !== null ? 1 : 0)) { $packet = nle_IntegratedServerLAN_lanRelaySocket; if ($packet === null ? 0 : 1) { if ($packet !== null) { $packet.$close(); nle_IntegratedServerLAN_lanRelaySocket = null; nle_IntegratedServerLAN_currentCode = null; } $packet = nle_IntegratedServerLAN_clients; if ($packet.$cachedValues === null) { $pkt = new ju_HashMap$2; $pkt.$this$01 = $packet; $packet.$cachedValues = $pkt; } $packet = $packet.$cachedValues.$iterator(); while ($packet.$hasNext()) { nle_IntegratedServerLAN$LANClient_disconnect($packet.$next()); } $packet = nle_IntegratedServerLAN_clients; if ($packet.$elementCount > 0) { $packet.$elementCount = 0; var$3 = $packet.$elementData.data; $pkt = null; $id = 0; var$5 = var$3.length; if ($id > var$5) { $packet = new jl_IllegalArgumentException; $packet.$suppressionEnabled = 1; $packet.$writableStackTrace = 1; $rt_throw($packet); } while ($id < var$5) { var$6 = $id + 1 | 0; var$3[$id] = $pkt; $id = var$6; } $packet.$modCount0 = $packet.$modCount0 + 1 | 0; } } return; } a: { b: while (true) { $packet = nlea_EaglerAdapterImpl2_recieveFromIntegratedServer($rt_s(210)); if ($packet === null) { nle_IntegratedServerLAN_updateLANServer(); return; } c: { try { $packet = nlesi_IPCPacketManager_IPCDeserialize($packet.$data13); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $packet = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); $packet.$out0 = $pkt; $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); $packet.$sb = $pkt; $packet.$buffer0 = $rt_createCharArray(32); $packet.$autoFlush = 0; $packet.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $packet; } $rt_putStderr("Failed to deserialize IPC packet: "); jl_Throwable_printStackTrace0($e); continue b; } $id = $packet.$id(); d: { try { e: { f: { g: { h: { i: { switch ($id) { case 9: $pkt = $packet; if (nle_IntegratedServer_statusState == 13) { nle_IntegratedServer_statusState = 0; nle_IntegratedServer_exportResponse = $pkt.$response; break e; } $newConnection = jl_System_err(); $pkt_0 = nle_IntegratedState_getStateName(nle_IntegratedServer_statusState); $pkt = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append($pkt, $rt_s(1020)), $pkt_0), $rt_s(1021)); otcic_JsConsolePrintStream_println($newConnection, jl_StringBuilder_toString($pkt)); break e; case 12: $pkt_0 = $packet; $newConnection = ju_HashMap_get(nle_IntegratedServer_openConnections, $pkt_0.$channel); if ($newConnection === null) break b; $t = jl_System_out(); var$11 = $pkt_0.$channel; $pkt = jl_StringBuilder__init_(); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append($pkt, $rt_s(1022)), var$11), 93); otcic_JsConsolePrintStream_println($t, jl_StringBuilder_toString($pkt)); nle_WorkerNetworkManager_closeConnections($newConnection); ju_HashMap_remove(nle_IntegratedServer_openConnections, $pkt_0.$channel); $pkt_0 = $pkt_0.$channel; $pkt = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append($pkt, $rt_s(1023)), $pkt_0); nlea_EaglerAdapterImpl2_disableChannel(jl_StringBuilder_toString($pkt)); break e; case 13: $pkt_0 = $packet; nle_IntegratedServer_worldStatusString = $pkt_0.$updateMessage; nle_IntegratedServer_worldStatusProgress = $pkt_0.$updateProgress; if (!nle_IntegratedServer_logException) break e; $pkt = jl_System_out(); $e = $pkt_0.$updateMessage; var$12 = $pkt_0.$updateProgress; if (var$12 <= 0.0) $t = $rt_s(18); else { var$13 = var$12 * 100.0 | 0; $pkt_0 = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append($pkt_0, $rt_s(1024)), var$13), $rt_s(1025)); $t = jl_StringBuilder_toString($pkt_0); } $pkt_0 = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append($pkt_0, $rt_s(1026)), $e), 34), $t); otcic_JsConsolePrintStream_println($pkt, jl_StringBuilder_toString($pkt_0)); break e; case 20: break; case 21: break h; case 22: break g; case 255: break f; default: break i; } $pkt = $packet; if ($pkt.$opCode != 3) break e; ju_LinkedList_clear(nle_IntegratedServer_integratedServerTPS); ju_AbstractCollection_addAll(nle_IntegratedServer_integratedServerTPS, $pkt.$stringList); break e; } $pkt_0 = jl_System_err(); $pkt = jl_Integer_toHexString($id); $newConnection = jl_Class_getSimpleName(jl_Object_getClass($packet)); $t = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append($t, $rt_s(1027)), $pkt), $rt_s(1028)), $newConnection), $rt_s(1029)); otcic_JsConsolePrintStream_println($pkt_0, jl_StringBuilder_toString($t)); break e; } $pkt = nle_IntegratedServer_exceptions; $e = $packet; ju_AbstractList_add($pkt, $e); if (nle_IntegratedServer_logException) nlesi_IPCPacket15ThrowException_log($e); if (ju_LinkedList_size(nle_IntegratedServer_exceptions) <= 64) break e; ju_AbstractSequentialList_remove(nle_IntegratedServer_exceptions, 0); break e; } $pkt = $packet; if (!$pkt.$opCode0 && nle_IntegratedServer_statusState == 10) { nle_IntegratedServer_statusState = 0; ju_LinkedList_clear(nle_IntegratedServer_worlds); ju_AbstractCollection_addAll(nle_IntegratedServer_worlds, $pkt.$nbtTagList); break e; } $newConnection = jl_System_err(); $pkt_0 = jl_Integer_toHexString($id); $t = jl_Class_getSimpleName(jl_Object_getClass($packet)); var$14 = $pkt.$opCode0; var$13 = nle_IntegratedServer_statusState; var$11 = nle_IntegratedState_getStateName(var$13); $pkt = jl_StringBuilder__init_(); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append($pkt, $rt_s(1027)), $pkt_0), $rt_s(1028)), $t), $rt_s(1030)), var$14), $rt_s(1031)), var$13), $rt_s(1018)), var$11), 39); otcic_JsConsolePrintStream_println($newConnection, jl_StringBuilder_toString($pkt)); break e; } $pkt = $packet; nle_IntegratedState_isACKValidInState($pkt.$ack, nle_IntegratedServer_statusState); switch ($pkt.$ack) { case 0: nle_IntegratedServer_statusState = 3; nle_IntegratedServer_isPaused = 0; break e; case 1: break; case 3: case 4: case 7: case 18: case 19: case 24: nle_IntegratedServer_statusState = 0; break e; case 11: nle_IntegratedServer_statusState = !nle_IntegratedServer_isPaused ? 3 : 9; break e; case 254: $pkt_0 = jl_System_err(); $newConnection = nle_IntegratedState_getStateName(nle_IntegratedServer_statusState); $pkt = jl_StringBuilder__init_(); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append($pkt, $rt_s(1032)), $newConnection), 39); otcic_JsConsolePrintStream_println($pkt_0, jl_StringBuilder_toString($pkt)); nle_IntegratedServer_statusState = 0; nle_IntegratedServer_callFailed = 1; break e; case 255: otcic_JsConsolePrintStream_println(jl_System_out(), $rt_s(1033)); nle_IntegratedServer_sendIPCPacket(nlesi_IPCPacket14StringList__init_(1, nle_IntegratedServer_loadLocale)); nle_IntegratedServer_sendIPCPacket(nlesi_IPCPacket14StringList__init_(2, nle_IntegratedServer_loadStats)); $pkt = null; nle_IntegratedServer_loadStats = $pkt; nle_IntegratedServer_loadLocale = $pkt; nle_IntegratedServer_statusState = 0; break e; default: $newConnection = jl_System_err(); $e = jl_Integer_toHexString($id); $t = jl_Class_getSimpleName(jl_Object_getClass($packet)); $pkt_0 = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append($pkt_0, $rt_s(1034)), $e), $rt_s(1028)), $t), $rt_s(1029)); otcic_JsConsolePrintStream_println($newConnection, jl_StringBuilder_toString($pkt_0)); break e; } nle_IntegratedServer_statusState = 0; } break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $pkt = new otcic_JSStderrPrintStream; $e = new ji_ByteArrayOutputStream; $e.$buf = $rt_createByteArray(32); $pkt.$out0 = $e; $e = new jl_StringBuilder; $e.$buffer = $rt_createCharArray(16); $pkt.$sb = $e; $pkt.$buffer0 = $rt_createCharArray(32); $pkt.$autoFlush = 0; $pkt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $pkt; } $pkt = otci_IntegerUtil_toUnsignedLogRadixString($id, 4); $e = $packet.constructor; if ($e === null) $packet = null; else { $packet = $e.classObject; if ($packet === null) { $packet = new jl_Class; $packet.$platformClass = $e; $e.classObject = $packet; } } $e = jl_Class_getSimpleName($packet); $packet = new jl_StringBuilder; $packet.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($packet, $packet.$length0, $rt_s(1035)); $id = $packet.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_AbstractStringBuilder_insert($packet, $id, $pkt); jl_AbstractStringBuilder_insert($packet, $packet.$length0, $rt_s(1028)); $id = $packet.$length0; if ($e === null) $e = $rt_s(1); jl_AbstractStringBuilder_insert($packet, $id, $e); $id = $packet.$length0; jl_AbstractStringBuilder_insertSpace($packet, $id, $id + 1 | 0); var$3 = $packet.$buffer; var$15 = var$3.data; var$15[$id] = 39; $pkt = new jl_String; var$13 = $packet.$length0; var$14 = var$15.length; if (var$13 < 0) break a; if (var$13 > (var$14 - 0 | 0)) break a; $pkt.$nativeString = $rt_charArrayToString(var$3.data, 0, var$13); $rt_putStderr($rt_ustr($pkt)); $rt_putStderr("\n"); jl_Throwable_printStackTrace0($t); } } return; } $packet = new jl_IndexOutOfBoundsException; $packet.$suppressionEnabled = 1; $packet.$writableStackTrace = 1; $rt_throw($packet); }, nle_IntegratedServer_sendIPCPacket = $pkt => { let $e, var$3, var$4, var$5, var$6, $serialized, var$8, var$9, $$je; a: { try { nlea_EaglerAdapterImpl2_sendToIntegratedServer($rt_s(210), nlesi_IPCPacketManager_IPCSerialize($pkt)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); var$3.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$3.$sb = var$4; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } var$3 = otci_IntegerUtil_toUnsignedLogRadixString($pkt.$id(), 4); var$4 = $pkt.constructor; if (var$4 === null) $pkt = null; else { $pkt = var$4.classObject; if ($pkt === null) { $pkt = new jl_Class; $pkt.$platformClass = var$4; var$4.classObject = $pkt; } } $pkt = jl_Class_getSimpleName($pkt); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1036)); var$5 = var$4.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$3); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1028)); var$5 = var$4.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, $pkt); var$6 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$6, var$6 + 1 | 0); $serialized = var$4.$buffer; var$8 = $serialized.data; var$8[var$6] = 39; $pkt = new jl_String; var$9 = var$4.$length0; var$5 = var$8.length; if (var$9 >= 0 && var$9 <= (var$5 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString($serialized.data, 0, var$9); $rt_putStderr($rt_ustr($pkt)); $rt_putStderr("\n"); jl_Throwable_printStackTrace0($e); } else { $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } } }, nle_IntegratedServer_openConnection = ($channel, $netHandler) => { let $newConnection, var$4, var$5, var$6, var$7, var$8, var$9; $newConnection = nle_IntegratedServer_openConnections; if ($channel === null) { $newConnection = $newConnection.$elementData.data[0]; while ($newConnection !== null && $newConnection.$key !== null) { $newConnection = $newConnection.$next3; } } else { a: { if (!$channel.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $channel.$nativeString.length) break a; $channel.$hashCode1 = (31 * $channel.$hashCode1 | 0) + $channel.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $channel.$hashCode1; var$6 = $newConnection.$elementData.data; $newConnection = var$6[var$5 & (var$6.length - 1 | 0)]; while ($newConnection !== null) { if ($newConnection.$origKeyHash == var$5) { b: { var$7 = $newConnection.$key; if ($channel !== var$7) { if ($channel === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $channel.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } $newConnection = $newConnection.$next3; } } $newConnection = $newConnection === null ? null : $newConnection.$value1; if ($newConnection !== null) return $newConnection; if (jl_System_outCache === null) { $newConnection = new otcic_JSStdoutPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); $newConnection.$out0 = var$7; var$7 = new jl_StringBuilder; jl_Object__init_(var$7); var$7.$buffer = $rt_createCharArray(16); $newConnection.$sb = var$7; $newConnection.$buffer0 = $rt_createCharArray(32); $newConnection.$autoFlush = 0; $newConnection.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $newConnection; } $newConnection = new jl_StringBuilder; $newConnection.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($newConnection, $newConnection.$length0, $rt_s(1037)); jl_AbstractStringBuilder_insert($newConnection, $newConnection.$length0, $channel === null ? $rt_s(1) : $channel); var$5 = $newConnection.$length0; jl_AbstractStringBuilder_insertSpace($newConnection, var$5, var$5 + 1 | 0); var$6 = $newConnection.$buffer; var$8 = var$6.data; var$8[var$5] = 93; var$7 = new jl_String; var$9 = $newConnection.$length0; var$5 = var$8.length; if (var$9 >= 0 && var$9 <= (var$5 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$6.data, 0, var$9); $rt_putStdout($rt_ustr(var$7)); $rt_putStdout("\n"); $newConnection = new jl_StringBuilder; $newConnection.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($newConnection, $newConnection.$length0, $rt_s(1023)); jl_AbstractStringBuilder_insert($newConnection, $newConnection.$length0, $channel === null ? $rt_s(1) : $channel); var$7 = new jl_String; var$6 = $newConnection.$buffer; var$8 = var$6.data; var$9 = $newConnection.$length0; var$5 = var$8.length; if (var$9 >= 0 && var$9 <= (var$5 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$6.data, 0, var$9); nlea_EaglerAdapterImpl2_enableChannel(var$7); $newConnection = new nlesi_IPCPacket0CPlayerChannel; $newConnection.$channel = $channel; $newConnection.$open3 = 1; nle_IntegratedServer_sendIPCPacket($newConnection); $newConnection = new nle_WorkerNetworkManager; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); $newConnection.$sendBuffer0 = var$7; $newConnection.$ipcChannel = $channel; $newConnection.$theNetHandler0 = $netHandler; $newConnection.$hasClosed = 0; ju_HashMap_putImpl(nle_IntegratedServer_openConnections, $channel, $newConnection); return $newConnection; } $channel = new jl_IndexOutOfBoundsException; $channel.$suppressionEnabled = 1; $channel.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($channel); $rt_throw($channel); } $channel = new jl_IndexOutOfBoundsException; $channel.$suppressionEnabled = 1; $channel.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($channel); $rt_throw($channel); }, nle_IntegratedServer_closeChannel = $channel => { let $newConnection, var$3, var$4, var$5, var$6, var$7, var$8, var$9; $newConnection = nle_IntegratedServer_openConnections; if ($channel === null) { $newConnection = $newConnection.$elementData.data[0]; while ($newConnection !== null && $newConnection.$key !== null) { $newConnection = $newConnection.$next3; } } else { a: { if (!$channel.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $channel.$nativeString.length) break a; $channel.$hashCode1 = (31 * $channel.$hashCode1 | 0) + $channel.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $channel.$hashCode1; var$5 = $newConnection.$elementData.data; $newConnection = var$5[var$4 & (var$5.length - 1 | 0)]; while ($newConnection !== null) { if ($newConnection.$origKeyHash == var$4) { b: { var$6 = $newConnection.$key; if ($channel !== var$6) { if ($channel === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $channel.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } $newConnection = $newConnection.$next3; } } $newConnection = $newConnection === null ? null : $newConnection.$value1; if ($newConnection === null) return; if (jl_System_outCache === null) { var$6 = new otcic_JSStdoutPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); var$6.$out0 = var$7; var$7 = new jl_StringBuilder; jl_Object__init_(var$7); var$7.$buffer = $rt_createCharArray(16); var$6.$sb = var$7; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$6; } var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(1022)); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $channel === null ? $rt_s(1) : $channel); var$8 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$8, var$8 + 1 | 0); var$5 = var$6.$buffer; var$9 = var$5.data; var$9[var$8] = 93; var$7 = new jl_String; var$8 = var$6.$length0; var$4 = var$9.length; if (var$8 >= 0 && var$8 <= (var$4 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$5.data, 0, var$8); $rt_putStdout($rt_ustr(var$7)); $rt_putStdout("\n"); if (!$newConnection.$hasClosed) { $newConnection.$hasClosed = 1; nle_IntegratedServer_closeChannel($newConnection.$ipcChannel); } ju_HashMap_removeByKey(nle_IntegratedServer_openConnections, $channel); $newConnection = new jl_StringBuilder; $newConnection.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($newConnection, $newConnection.$length0, $rt_s(1023)); jl_AbstractStringBuilder_insert($newConnection, $newConnection.$length0, $channel === null ? $rt_s(1) : $channel); var$6 = new jl_String; var$5 = $newConnection.$buffer; var$9 = var$5.data; var$8 = $newConnection.$length0; var$4 = var$9.length; if (var$8 >= 0 && var$8 <= (var$4 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$5.data, 0, var$8); nlea_EaglerAdapterImpl2_disableChannel(var$6); $newConnection = new nlesi_IPCPacket0CPlayerChannel; $newConnection.$channel = $channel; $newConnection.$open3 = 0; nle_IntegratedServer_sendIPCPacket($newConnection); return; } $channel = new jl_IndexOutOfBoundsException; $channel.$suppressionEnabled = 1; $channel.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($channel); $rt_throw($channel); } $channel = new jl_IndexOutOfBoundsException; $channel.$suppressionEnabled = 1; $channel.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($channel); $rt_throw($channel); }, nle_IntegratedServer__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; nle_IntegratedServer_loadLocale = null; nle_IntegratedServer_loadStats = null; nle_IntegratedServer_isPaused = 0; nle_IntegratedServer_integratedServerTPS = new ju_LinkedList; var$1 = new nle_RelayManager; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$relays = var$2; var$1.$lastPingThrough = Long_ZERO; var$1.$brokenServers = new ju_LinkedList; nle_IntegratedServer_relayManager = var$1; nle_IntegratedServer_statusState = (-2); nle_IntegratedServer_worldStatusString = $rt_s(18); nle_IntegratedServer_worldStatusProgress = 0.0; nle_IntegratedServer_exceptions = new ju_LinkedList; nle_IntegratedServer_worlds = new ju_LinkedList; nle_IntegratedServer_logException = 0; nle_IntegratedServer_callFailed = 0; nle_IntegratedServer_exportResponse = null; var$1 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$4.data; var$1.$elementData = var$4; var$1.$loadFactor = 0.75; var$1.$threshold = var$5.length * 0.75 | 0; nle_IntegratedServer_openConnections = var$1; }; function nms_GameSettings() { let a = this; jl_Object.call(a); a.$musicVolume = 0.0; a.$soundVolume = 0.0; a.$mouseSensitivity = 0.0; a.$invertMouse = 0; a.$renderDistance = 0; a.$viewBobbing = 0; a.$anaglyph = 0; a.$advancedOpengl = 0; a.$limitFramerate = 0; a.$fancyGraphics = 0; a.$enableFog = 0; a.$ambientOcclusion = 0; a.$clouds = 0; a.$skin = null; a.$chatVisibility = 0; a.$chatColours = 0; a.$chatLinks = 0; a.$chatLinksPrompt = 0; a.$chatOpacity = 0.0; a.$serverTextures = 0; a.$enableVsync = 0; a.$hideVsyncWarning = 0; a.$hideServerAddress = 0; a.$advancedItemTooltips = 0; a.$pauseOnLostFocus = 0; a.$showCape = 0; a.$touchscreen = 0; a.$antialiasMode = 0; a.$overrideWidth = 0; a.$overrideHeight = 0; a.$heldItemTooltips = 0; a.$chatScale = 0.0; a.$chatWidth = 0.0; a.$chatHeightUnfocused = 0.0; a.$chatHeightFocused = 0.0; a.$keyBindForward = null; a.$keyBindLeft = null; a.$keyBindBack = null; a.$keyBindRight = null; a.$keyBindJump = null; a.$keyBindInventory = null; a.$keyBindDrop = null; a.$keyBindChat = null; a.$keyBindSneak = null; a.$keyBindAttack = null; a.$keyBindUseItem = null; a.$keyBindPlayerList = null; a.$keyBindPickBlock = null; a.$keyBindSprint = null; a.$keyBindZoom = null; a.$keyBindFunction = null; a.$keyBindings = null; a.$mc11 = null; a.$difficulty = 0; a.$hideGUI = 0; a.$thirdPersonView = 0; a.$showDebugInfo = 0; a.$showDebugProfilerChart = 0; a.$showCoordinates = 0; a.$lastServer = null; a.$noclip = 0; a.$smoothCamera = 0; a.$debugCamEnable = 0; a.$noclipRate = 0.0; a.$debugCamRate = 0.0; a.$fovSetting = 0.0; a.$gammaSetting = 0.0; a.$guiScale = 0; a.$particleSetting = 0; a.$language = null; a.$showSkinJacket = 0; a.$showSkinHat = 0; a.$showSkinLeftArm = 0; a.$showSkinRightArm = 0; a.$showSkinLeftLeg = 0; a.$showSkinRightLeg = 0; a.$allowFNAWSkins = 0; a.$showOtherCapes = 0; a.$chunkUpdatePerFrame = 0; a.$voiceListenRadius = 0; a.$voiceListenVolume = 0.0; a.$voiceSpeakVolume = 0.0; a.$voicePTTKey = 0; a.$hideJoinCode = 0; a.$relayTimeout = 0; a.$adderall = 0; } let nms_GameSettings_RENDER_DISTANCES = null, nms_GameSettings_DIFFICULTIES = null, nms_GameSettings_GUISCALES = null, nms_GameSettings_CHAT_VISIBILITIES = null, nms_GameSettings_PARTICLES = null, nms_GameSettings_LIMIT_FRAMERATES = null, nms_GameSettings_AMBIENT_OCCLUSIONS = null, nms_GameSettings_ANTIALIASING = null, nms_GameSettings__init_0 = ($this, $par1Minecraft) => { let var$2, var$3, var$4, var$5, var$6, var$7; $this.$musicVolume = 1.0; $this.$soundVolume = 1.0; $this.$mouseSensitivity = 0.5; $this.$invertMouse = 0; $this.$renderDistance = 2; $this.$viewBobbing = 1; $this.$anaglyph = 0; $this.$advancedOpengl = 0; $this.$limitFramerate = 0; $this.$fancyGraphics = 0; $this.$enableFog = 1; $this.$ambientOcclusion = 0; $this.$clouds = 0; $this.$skin = $rt_s(1038); $this.$chatVisibility = 0; $this.$chatColours = 1; $this.$chatLinks = 1; $this.$chatLinksPrompt = 1; $this.$chatOpacity = 1.0; $this.$serverTextures = 1; $this.$enableVsync = 1; $this.$hideVsyncWarning = 1; $this.$hideServerAddress = 0; $this.$advancedItemTooltips = 0; $this.$pauseOnLostFocus = 1; $this.$showCape = 1; $this.$touchscreen = 0; $this.$antialiasMode = 1; $this.$overrideWidth = 0; $this.$overrideHeight = 0; $this.$heldItemTooltips = 1; $this.$chatScale = 1.0; $this.$chatWidth = 1.0; $this.$chatHeightUnfocused = 0.44366195797920227; $this.$chatHeightFocused = 1.0; var$2 = new nms_KeyBinding; var$2.$keyDescription = $rt_s(1039); var$2.$keyCode = 17; var$3 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$4[var$5] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, 17, var$2); $this.$keyBindForward = var$2; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1040); var$3.$keyCode = 30; var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, 30, var$3); $this.$keyBindLeft = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1041); var$3.$keyCode = 31; var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, 31, var$3); $this.$keyBindBack = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1042); var$3.$keyCode = 32; var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, 32, var$3); $this.$keyBindRight = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1043); var$3.$keyCode = 57; var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, 57, var$3); $this.$keyBindJump = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1044); var$3.$keyCode = 18; var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, 18, var$3); $this.$keyBindInventory = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1045); var$3.$keyCode = 16; var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, 16, var$3); $this.$keyBindDrop = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1046); var$3.$keyCode = 20; var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, 20, var$3); $this.$keyBindChat = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1047); var$3.$keyCode = 42; var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, 42, var$3); $this.$keyBindSneak = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1048); var$3.$keyCode = (-100); var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, (-100), var$3); $this.$keyBindAttack = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1049); var$3.$keyCode = (-99); var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, (-99), var$3); $this.$keyBindUseItem = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1050); var$3.$keyCode = 15; var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, 15, var$3); $this.$keyBindPlayerList = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1051); var$3.$keyCode = (-98); var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, (-98), var$3); $this.$keyBindPickBlock = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1052); var$3.$keyCode = 19; var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, 19, var$3); $this.$keyBindSprint = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1053); var$3.$keyCode = 46; var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, 46, var$3); $this.$keyBindZoom = var$3; var$3 = new nms_KeyBinding; var$3.$keyDescription = $rt_s(1054); var$3.$keyCode = 33; var$2 = nms_KeyBinding_keybindArray; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; nms_IntHashMap_addKey(nms_KeyBinding_hash, 33, var$3); $this.$keyBindFunction = var$3; $this.$language = $rt_s(1055); $this.$showSkinJacket = 1; $this.$showSkinHat = 1; $this.$showSkinLeftArm = 1; $this.$showSkinRightArm = 1; $this.$showSkinLeftLeg = 1; $this.$showSkinRightLeg = 1; $this.$allowFNAWSkins = 1; $this.$showOtherCapes = 1; $this.$chunkUpdatePerFrame = 0; $this.$voiceListenRadius = 16; $this.$voiceListenVolume = 0.5; $this.$voiceSpeakVolume = 0.5; $this.$voicePTTKey = 47; $this.$hideJoinCode = 0; $this.$relayTimeout = 4; $this.$adderall = 0; var$4 = $rt_createArray(nms_KeyBinding, 16); var$7 = var$4.data; var$7[0] = $this.$keyBindAttack; var$7[1] = $this.$keyBindUseItem; var$7[2] = $this.$keyBindForward; var$7[3] = $this.$keyBindLeft; var$7[4] = $this.$keyBindBack; var$7[5] = $this.$keyBindRight; var$7[6] = $this.$keyBindJump; var$7[7] = $this.$keyBindSneak; var$7[8] = $this.$keyBindDrop; var$7[9] = $this.$keyBindInventory; var$7[10] = $this.$keyBindChat; var$7[11] = $this.$keyBindPlayerList; var$7[12] = $this.$keyBindPickBlock; var$7[13] = $this.$keyBindSprint; var$7[14] = $this.$keyBindZoom; var$7[15] = var$3; $this.$keyBindings = var$4; $this.$difficulty = 1; $this.$hideGUI = 0; $this.$thirdPersonView = 0; $this.$showDebugInfo = 0; $this.$showDebugProfilerChart = 1; $this.$showCoordinates = 1; $this.$lastServer = $rt_s(18); $this.$noclip = 0; $this.$smoothCamera = 0; $this.$debugCamEnable = 0; $this.$noclipRate = 1.0; $this.$debugCamRate = 1.0; $this.$fovSetting = 0.0; $this.$gammaSetting = 1.0; $this.$guiScale = 3; $this.$particleSetting = 0; $this.$language = $rt_s(1055); $this.$mc11 = $par1Minecraft; nms_GameSettings_loadOptions($this); }, nms_GameSettings__init_ = var_0 => { let var_1 = new nms_GameSettings(); nms_GameSettings__init_0(var_1, var_0); return var_1; }, nms_GameSettings_setOptionFloatValue = ($this, $par1EnumOptions, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; if ($par1EnumOptions === nms_EnumOptions_MUSIC) { $this.$musicVolume = $par2; nms_SoundManager_onSoundOptionsChanged($this.$mc11.$sndManager); } if ($par1EnumOptions === nms_EnumOptions_SOUND) { $this.$soundVolume = $par2; nms_SoundManager_onSoundOptionsChanged($this.$mc11.$sndManager); } if ($par1EnumOptions === nms_EnumOptions_SENSITIVITY) $this.$mouseSensitivity = $par2; if ($par1EnumOptions === nms_EnumOptions_FOV) $this.$fovSetting = $par2; if ($par1EnumOptions === nms_EnumOptions_GAMMA) $this.$gammaSetting = $par2; a: { if ($par1EnumOptions === nms_EnumOptions_CHAT_OPACITY) { $this.$chatOpacity = $par2; var$3 = $this.$mc11.$ingameGUI.$persistantChatGUI; var$4 = var$3.$field_96134_d; var$5 = var$4.$array; var$6 = 0; var$7 = var$4.$size0; var$8 = null; if (var$6 > var$7) { $par1EnumOptions = new jl_IllegalArgumentException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; $rt_throw($par1EnumOptions); } while (var$6 < var$7) { var$9 = var$5.data; var$10 = var$6 + 1 | 0; var$9[var$6] = var$8; var$6 = var$10; } var$4.$size0 = 0; var$4.$modCount = var$4.$modCount + 1 | 0; var$3.$field_73768_d = 0; var$3.$field_73769_e = 0; var$7 = var$3.$chatLines.$size0 - 1 | 0; while (true) { if (var$7 < 0) break a; var$8 = var$3.$chatLines; if (var$7 < 0) break; if (var$7 >= var$8.$size0) break; var$8 = var$8.$array.data[var$7]; nms_GuiNewChat_func_96129_a(var$3, var$8.$lineString, var$8.$chatLineID, var$8.$updateCounterCreated, 1); var$7 = var$7 + (-1) | 0; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; $rt_throw($par1EnumOptions); } } b: { if ($par1EnumOptions === nms_EnumOptions_CHAT_HEIGHT_FOCUSED) { $this.$chatHeightFocused = $par2; var$8 = $this.$mc11.$ingameGUI.$persistantChatGUI; var$3 = var$8.$field_96134_d; var$5 = var$3.$array; var$6 = 0; var$7 = var$3.$size0; var$4 = null; if (var$6 > var$7) { $par1EnumOptions = new jl_IllegalArgumentException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; $rt_throw($par1EnumOptions); } while (var$6 < var$7) { var$9 = var$5.data; var$10 = var$6 + 1 | 0; var$9[var$6] = var$4; var$6 = var$10; } var$3.$size0 = 0; var$3.$modCount = var$3.$modCount + 1 | 0; var$8.$field_73768_d = 0; var$8.$field_73769_e = 0; var$7 = var$8.$chatLines.$size0 - 1 | 0; while (true) { if (var$7 < 0) break b; var$3 = var$8.$chatLines; if (var$7 < 0) break; if (var$7 >= var$3.$size0) break; var$3 = var$3.$array.data[var$7]; nms_GuiNewChat_func_96129_a(var$8, var$3.$lineString, var$3.$chatLineID, var$3.$updateCounterCreated, 1); var$7 = var$7 + (-1) | 0; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; $rt_throw($par1EnumOptions); } } c: { if ($par1EnumOptions === nms_EnumOptions_CHAT_HEIGHT_UNFOCUSED) { $this.$chatHeightUnfocused = $par2; var$8 = $this.$mc11.$ingameGUI.$persistantChatGUI; var$3 = var$8.$field_96134_d; var$5 = var$3.$array; var$6 = 0; var$7 = var$3.$size0; var$4 = null; if (var$6 > var$7) { $par1EnumOptions = new jl_IllegalArgumentException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; $rt_throw($par1EnumOptions); } while (var$6 < var$7) { var$9 = var$5.data; var$10 = var$6 + 1 | 0; var$9[var$6] = var$4; var$6 = var$10; } var$3.$size0 = 0; var$3.$modCount = var$3.$modCount + 1 | 0; var$8.$field_73768_d = 0; var$8.$field_73769_e = 0; var$7 = var$8.$chatLines.$size0 - 1 | 0; while (true) { if (var$7 < 0) break c; var$3 = var$8.$chatLines; if (var$7 < 0) break; if (var$7 >= var$3.$size0) break; var$3 = var$3.$array.data[var$7]; nms_GuiNewChat_func_96129_a(var$8, var$3.$lineString, var$3.$chatLineID, var$3.$updateCounterCreated, 1); var$7 = var$7 + (-1) | 0; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; $rt_throw($par1EnumOptions); } } d: { if ($par1EnumOptions === nms_EnumOptions_CHAT_WIDTH) { $this.$chatWidth = $par2; var$8 = $this.$mc11.$ingameGUI.$persistantChatGUI; var$3 = var$8.$field_96134_d; var$5 = var$3.$array; var$6 = 0; var$7 = var$3.$size0; var$4 = null; if (var$6 > var$7) { $par1EnumOptions = new jl_IllegalArgumentException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; $rt_throw($par1EnumOptions); } while (var$6 < var$7) { var$9 = var$5.data; var$10 = var$6 + 1 | 0; var$9[var$6] = var$4; var$6 = var$10; } var$3.$size0 = 0; var$3.$modCount = var$3.$modCount + 1 | 0; var$8.$field_73768_d = 0; var$8.$field_73769_e = 0; var$7 = var$8.$chatLines.$size0 - 1 | 0; while (true) { if (var$7 < 0) break d; var$3 = var$8.$chatLines; if (var$7 < 0) break; if (var$7 >= var$3.$size0) break; var$3 = var$3.$array.data[var$7]; nms_GuiNewChat_func_96129_a(var$8, var$3.$lineString, var$3.$chatLineID, var$3.$updateCounterCreated, 1); var$7 = var$7 + (-1) | 0; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; $rt_throw($par1EnumOptions); } } e: { if ($par1EnumOptions === nms_EnumOptions_CHAT_SCALE) { $this.$chatScale = $par2; $par1EnumOptions = $this.$mc11.$ingameGUI.$persistantChatGUI; var$8 = $par1EnumOptions.$field_96134_d; var$5 = var$8.$array; var$6 = 0; var$7 = var$8.$size0; var$3 = null; if (var$6 > var$7) { $par1EnumOptions = new jl_IllegalArgumentException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; $rt_throw($par1EnumOptions); } while (var$6 < var$7) { var$9 = var$5.data; var$10 = var$6 + 1 | 0; var$9[var$6] = var$3; var$6 = var$10; } var$8.$size0 = 0; var$8.$modCount = var$8.$modCount + 1 | 0; $par1EnumOptions.$field_73768_d = 0; $par1EnumOptions.$field_73769_e = 0; var$7 = $par1EnumOptions.$chatLines.$size0 - 1 | 0; while (var$7 >= 0) { var$8 = $par1EnumOptions.$chatLines; if (var$7 < 0) break e; if (var$7 >= var$8.$size0) break e; var$8 = var$8.$array.data[var$7]; nms_GuiNewChat_func_96129_a($par1EnumOptions, var$8.$lineString, var$8.$chatLineID, var$8.$updateCounterCreated, 1); var$7 = var$7 + (-1) | 0; } } return; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; $rt_throw($par1EnumOptions); }, nms_GameSettings_setOptionValue = ($this, $par1EnumOptions, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; if ($par1EnumOptions === nms_EnumOptions_INVERT_MOUSE) $this.$invertMouse = $this.$invertMouse ? 0 : 1; a: { if ($par1EnumOptions === nms_EnumOptions_RENDER_DISTANCE) { $this.$renderDistance = ($this.$renderDistance + $par2 | 0) & 3; if (nle_IntegratedServer_isWorldRunning()) { b: { var$3 = nms_Minecraft_theMinecraft; if (var$3.$thePlayer !== null) { var$4 = var$3.$shownPlayerMessages; if (ju_HashMap_putImpl(var$4.$backingMap, $rt_s(1056), var$4) !== null ? 0 : 1) { var$5 = var$3.$thePlayer.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$5, $rt_s(1056), 0, var$5.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$4 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$4; } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$4, var$4.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1(var$4, var$4.$length0, $rt_s(1056)); var$6 = new jl_String; var$7 = var$4.$buffer; var$8 = var$7.data; var$9 = var$4.$length0; var$10 = var$8.length; if (var$9 < 0) break b; if (var$9 > (var$10 - 0 | 0)) break b; var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); $rt_putStdout($rt_ustr(var$6)); $rt_putStdout("\n"); } } break a; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; $rt_throw($par1EnumOptions); } } } if ($par1EnumOptions === nms_EnumOptions_GUI_SCALE) $this.$guiScale = ($this.$guiScale + $par2 | 0) & 3; if ($par1EnumOptions === nms_EnumOptions_PARTICLES) $this.$particleSetting = ($this.$particleSetting + $par2 | 0) % 3 | 0; if ($par1EnumOptions === nms_EnumOptions_VIEW_BOBBING) $this.$viewBobbing = $this.$viewBobbing ? 0 : 1; if ($par1EnumOptions === nms_EnumOptions_RENDER_CLOUDS) $this.$clouds = $this.$clouds ? 0 : 1; if ($par1EnumOptions === nms_EnumOptions_ENABLE_FOG) $this.$enableFog = $this.$enableFog ? 0 : 1; if ($par1EnumOptions === nms_EnumOptions_FRAMERATE_LIMIT) $this.$limitFramerate = (($this.$limitFramerate + $par2 | 0) + 3 | 0) % 3 | 0; if ($par1EnumOptions === nms_EnumOptions_CHUNK_UPDATES) $this.$chunkUpdatePerFrame = ($this.$chunkUpdatePerFrame + $par2 | 0) % 5 | 0; if ($par1EnumOptions === nms_EnumOptions_DIFFICULTY) $this.$difficulty = ($this.$difficulty + $par2 | 0) & 3; if ($par1EnumOptions === nms_EnumOptions_GRAPHICS) { $this.$fancyGraphics = $this.$fancyGraphics ? 0 : 1; nms_RenderGlobal_loadRenderers($this.$mc11.$renderGlobal); } if ($par1EnumOptions === nms_EnumOptions_AMBIENT_OCCLUSION) { $this.$ambientOcclusion = ($this.$ambientOcclusion + $par2 | 0) % 3 | 0; nms_RenderGlobal_loadRenderers($this.$mc11.$renderGlobal); } if ($par1EnumOptions === nms_EnumOptions_CHAT_VISIBILITY) $this.$chatVisibility = ($this.$chatVisibility + $par2 | 0) % 3 | 0; if ($par1EnumOptions === nms_EnumOptions_CHAT_COLOR) $this.$chatColours = $this.$chatColours ? 0 : 1; if ($par1EnumOptions === nms_EnumOptions_CHAT_LINKS) $this.$chatLinks = $this.$chatLinks ? 0 : 1; if ($par1EnumOptions === nms_EnumOptions_CHAT_LINKS_PROMPT) $this.$chatLinksPrompt = $this.$chatLinksPrompt ? 0 : 1; if ($par1EnumOptions === nms_EnumOptions_USE_SERVER_TEXTURES) $this.$serverTextures = $this.$serverTextures ? 0 : 1; if ($par1EnumOptions === nms_EnumOptions_SHOW_CAPE) $this.$showCape = $this.$showCape ? 0 : 1; if ($par1EnumOptions === nms_EnumOptions_ANTIALIASING) $this.$antialiasMode = ($this.$antialiasMode + $par2 | 0) % 5 | 0; c: { if ($par1EnumOptions === nms_EnumOptions_ADDERALL) { $this.$adderall = $this.$adderall ? 0 : 1; var$6 = $this.$mc11.$sndManager; var$4 = var$6.$soundevents; var$11 = 0; var$9 = var$4.$modCount; var$10 = var$4.$size(); while (true) { if (!(var$11 >= var$10 ? 0 : 1)) { var$6 = var$6.$activerecords; var$11 = 0; var$9 = var$6.$modCount; var$10 = var$6.$size(); while (true) { if (!(var$11 >= var$10 ? 0 : 1)) break c; if (var$9 < var$6.$modCount) break; var$12 = var$11 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$6.$get(var$11)).$value0); var$11 = var$12; } $par1EnumOptions = new ju_ConcurrentModificationException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; $rt_throw($par1EnumOptions); } if (var$9 < var$4.$modCount) break; var$12 = var$11 + 1 | 0; nlea_EaglerAdapterImpl2_endSound((var$4.$get(var$11)).$id3); var$11 = var$12; } $par1EnumOptions = new ju_ConcurrentModificationException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; $rt_throw($par1EnumOptions); } } if ($par1EnumOptions === nms_EnumOptions_VSYNC) $this.$enableVsync = $this.$enableVsync ? 0 : 1; nms_GameSettings_saveOptions($this); }, nms_GameSettings_getOptionFloatValue = ($this, $par1EnumOptions) => { let var$2; a: { if ($par1EnumOptions === nms_EnumOptions_FOV) { var$2 = $this.$fovSetting; break a; } if ($par1EnumOptions === nms_EnumOptions_GAMMA) { var$2 = $this.$gammaSetting; break a; } if ($par1EnumOptions === nms_EnumOptions_MUSIC) { var$2 = $this.$musicVolume; break a; } if ($par1EnumOptions === nms_EnumOptions_SOUND) { var$2 = $this.$soundVolume; break a; } if ($par1EnumOptions === nms_EnumOptions_SENSITIVITY) { var$2 = $this.$mouseSensitivity; break a; } if ($par1EnumOptions === nms_EnumOptions_CHAT_OPACITY) { var$2 = $this.$chatOpacity; break a; } if ($par1EnumOptions === nms_EnumOptions_CHAT_HEIGHT_FOCUSED) { var$2 = $this.$chatHeightFocused; break a; } if ($par1EnumOptions === nms_EnumOptions_CHAT_HEIGHT_UNFOCUSED) { var$2 = $this.$chatHeightUnfocused; break a; } if ($par1EnumOptions === nms_EnumOptions_CHAT_SCALE) { var$2 = $this.$chatScale; break a; } if ($par1EnumOptions !== nms_EnumOptions_CHAT_WIDTH) { var$2 = 0.0; break a; } var$2 = $this.$chatWidth; } return var$2; }, nms_GameSettings_getOptionOrdinalValue = ($this, $par1EnumOptions) => { a: { nms_EnumOptionsHelper_$callClinit(); switch (nms_EnumOptionsHelper_enumOptionsMappingHelperArray.data[$par1EnumOptions.$ordinal]) { case 1: break; case 2: return $this.$viewBobbing; case 3: return $this.$anaglyph; case 4: case 10: case 11: case 16: break a; case 5: return $this.$clouds; case 6: return $this.$chatColours; case 7: return $this.$chatLinks; case 8: return $this.$chatLinksPrompt; case 9: return $this.$serverTextures; case 12: return $this.$enableVsync; case 13: return $this.$showCape; case 14: return $this.$touchscreen; case 15: return $this.$enableFog; case 17: return $this.$adderall; default: break a; } return $this.$invertMouse; } return 0; }, nms_GameSettings_getKeyBinding = ($this, $par1EnumOptions) => { let $var2, var$3, var$4, $var4, var$6, var$7, var$8, var$9, var$10, $var5; nms_StringTranslate_$callClinit(); $var2 = nms_StringTranslate_instance; var$3 = nms_StringTranslate_translateKey($var2, $par1EnumOptions.$enumString); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $var4 = var$4.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $var4, var$3); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(107)); var$6 = new jl_String; var$7 = var$4.$buffer; var$8 = var$7.data; var$9 = var$4.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); if ($par1EnumOptions.$enumFloat) { a: { b: { $var5 = nms_GameSettings_getOptionFloatValue($this, $par1EnumOptions); if ($par1EnumOptions === nms_EnumOptions_SENSITIVITY) { if ($var5 === 0.0) { $par1EnumOptions = nms_StringTranslate_translateKey($var2, $rt_s(1057)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$6); $var4 = var$3.$length0; if ($par1EnumOptions === null) $par1EnumOptions = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $par1EnumOptions); var$6 = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$9 = var$3.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($var5 !== 1.0) { $var4 = $var5 * 200.0 | 0; $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); jl_AbstractStringBuilder_insert0($par1EnumOptions, $par1EnumOptions.$length0, $var4, 10); var$9 = $par1EnumOptions.$length0; jl_AbstractStringBuilder_insertSpace($par1EnumOptions, var$9, var$9 + 1 | 0); var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$8[var$9] = 37; var$6 = new jl_String; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } $par1EnumOptions = nms_StringTranslate_translateKey($var2, $rt_s(1058)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$6); $var4 = var$3.$length0; if ($par1EnumOptions === null) $par1EnumOptions = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $par1EnumOptions); var$6 = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$9 = var$3.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions === nms_EnumOptions_FOV) { if ($var5 === 0.0) { $par1EnumOptions = nms_StringTranslate_translateKey($var2, $rt_s(1059)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$6); $var4 = var$3.$length0; if ($par1EnumOptions === null) $par1EnumOptions = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $par1EnumOptions); var$6 = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$9 = var$3.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($var5 !== 1.0) { $var4 = 70.0 + $var5 * 40.0 | 0; $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); jl_AbstractStringBuilder_insert0($par1EnumOptions, $par1EnumOptions.$length0, $var4, 10); var$6 = new jl_String; var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } $par1EnumOptions = nms_StringTranslate_translateKey($var2, $rt_s(1060)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$6); $var4 = var$3.$length0; if ($par1EnumOptions === null) $par1EnumOptions = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $par1EnumOptions); var$6 = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$9 = var$3.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions === nms_EnumOptions_GAMMA) { if ($var5 === 0.0) { $par1EnumOptions = nms_StringTranslate_translateKey($var2, $rt_s(1061)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$6); $var4 = var$3.$length0; if ($par1EnumOptions === null) $par1EnumOptions = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $par1EnumOptions); var$6 = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$9 = var$3.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($var5 !== 1.0) { $var4 = $var5 * 100.0 | 0; $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); var$10 = $par1EnumOptions.$length0; jl_AbstractStringBuilder_insertSpace($par1EnumOptions, var$10, var$10 + 1 | 0); $par1EnumOptions.$buffer.data[var$10] = 43; jl_AbstractStringBuilder_insert0($par1EnumOptions, $par1EnumOptions.$length0, $var4, 10); var$9 = $par1EnumOptions.$length0; jl_AbstractStringBuilder_insertSpace($par1EnumOptions, var$9, var$9 + 1 | 0); var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$8[var$9] = 37; var$6 = new jl_String; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } $par1EnumOptions = nms_StringTranslate_translateKey($var2, $rt_s(1062)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$6); $var4 = var$3.$length0; if ($par1EnumOptions === null) $par1EnumOptions = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $par1EnumOptions); var$6 = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$9 = var$3.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions === nms_EnumOptions_CHAT_OPACITY) { $var4 = $var5 * 90.0 + 10.0 | 0; $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); jl_AbstractStringBuilder_insert0($par1EnumOptions, $par1EnumOptions.$length0, $var4, 10); var$9 = $par1EnumOptions.$length0; jl_AbstractStringBuilder_insertSpace($par1EnumOptions, var$9, var$9 + 1 | 0); var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$8[var$9] = 37; var$6 = new jl_String; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions === nms_EnumOptions_CHAT_HEIGHT_UNFOCUSED) { $var5 = $var5 * 160.0 + 20.0; var$9 = $var5 | 0; if ($var5 < var$9) var$9 = var$9 - 1 | 0; $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); jl_AbstractStringBuilder_insert0($par1EnumOptions, $par1EnumOptions.$length0, var$9, 10); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, $rt_s(1063)); var$6 = new jl_String; var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions === nms_EnumOptions_CHAT_HEIGHT_FOCUSED) { $var5 = $var5 * 160.0 + 20.0; var$9 = $var5 | 0; if ($var5 < var$9) var$9 = var$9 - 1 | 0; $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); jl_AbstractStringBuilder_insert0($par1EnumOptions, $par1EnumOptions.$length0, var$9, 10); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, $rt_s(1063)); var$6 = new jl_String; var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions === nms_EnumOptions_CHAT_WIDTH) { $var5 = $var5 * 280.0 + 40.0; var$9 = $var5 | 0; if ($var5 < var$9) var$9 = var$9 - 1 | 0; $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); jl_AbstractStringBuilder_insert0($par1EnumOptions, $par1EnumOptions.$length0, var$9, 10); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, $rt_s(1063)); var$6 = new jl_String; var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($var5 !== 0.0) { $var4 = $var5 * 100.0 | 0; $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); jl_AbstractStringBuilder_insert0($par1EnumOptions, $par1EnumOptions.$length0, $var4, 10); var$9 = $par1EnumOptions.$length0; jl_AbstractStringBuilder_insertSpace($par1EnumOptions, var$9, var$9 + 1 | 0); var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$8[var$9] = 37; var$6 = new jl_String; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break b; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } $par1EnumOptions = nms_StringTranslate_translateKey($var2, $rt_s(1064)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$6); $var4 = var$3.$length0; if ($par1EnumOptions === null) $par1EnumOptions = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $par1EnumOptions); var$6 = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$9 = var$3.$length0; var$10 = var$8.length; if (var$9 < 0) break a; if (var$9 > (var$10 - 0 | 0)) break a; var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); } return var$6; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions.$enumBoolean) { c: { d: { if (!nms_GameSettings_getOptionOrdinalValue($this, $par1EnumOptions)) { $par1EnumOptions = nms_StringTranslate_translateKey($var2, $rt_s(1064)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$6); $var4 = var$3.$length0; if ($par1EnumOptions === null) $par1EnumOptions = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $par1EnumOptions); $par1EnumOptions = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$9 = var$3.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $par1EnumOptions.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break d; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } $par1EnumOptions = nms_StringTranslate_translateKey($var2, $rt_s(1065)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$6); $var4 = var$3.$length0; if ($par1EnumOptions === null) $par1EnumOptions = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $par1EnumOptions); $par1EnumOptions = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$9 = var$3.$length0; var$10 = var$8.length; if (var$9 < 0) break c; if (var$9 > (var$10 - 0 | 0)) break c; $par1EnumOptions.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); } return $par1EnumOptions; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } e: { f: { if ($par1EnumOptions === nms_EnumOptions_RENDER_DISTANCE) { var$7 = nms_GameSettings_RENDER_DISTANCES; $var4 = $this.$renderDistance; if (!($var4 >= 0 && $var4 < var$7.data.length)) $var4 = 0; var$7 = var$7.data; var$3 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, var$7[$var4]); $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); $var4 = $par1EnumOptions.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($par1EnumOptions, $var4, var$3); var$6 = new jl_String; var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break f; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions === nms_EnumOptions_DIFFICULTY) { var$7 = nms_GameSettings_DIFFICULTIES; $var4 = $this.$difficulty; if (!($var4 >= 0 && $var4 < var$7.data.length)) $var4 = 0; var$7 = var$7.data; var$3 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, var$7[$var4]); $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); $var4 = $par1EnumOptions.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($par1EnumOptions, $var4, var$3); var$6 = new jl_String; var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break f; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions === nms_EnumOptions_GUI_SCALE) { var$7 = nms_GameSettings_GUISCALES; $var4 = $this.$guiScale; if (!($var4 >= 0 && $var4 < var$7.data.length)) $var4 = 0; var$7 = var$7.data; var$3 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, var$7[$var4]); $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); $var4 = $par1EnumOptions.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($par1EnumOptions, $var4, var$3); var$6 = new jl_String; var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break f; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions === nms_EnumOptions_CHAT_VISIBILITY) { var$7 = nms_GameSettings_CHAT_VISIBILITIES; $var4 = $this.$chatVisibility; if (!($var4 >= 0 && $var4 < var$7.data.length)) $var4 = 0; var$7 = var$7.data; var$3 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, var$7[$var4]); $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); $var4 = $par1EnumOptions.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($par1EnumOptions, $var4, var$3); var$6 = new jl_String; var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break f; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions === nms_EnumOptions_PARTICLES) { var$7 = nms_GameSettings_PARTICLES; $var4 = $this.$particleSetting; if (!($var4 >= 0 && $var4 < var$7.data.length)) $var4 = 0; var$7 = var$7.data; var$3 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, var$7[$var4]); $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); $var4 = $par1EnumOptions.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($par1EnumOptions, $var4, var$3); var$6 = new jl_String; var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break f; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions === nms_EnumOptions_FRAMERATE_LIMIT) { var$7 = nms_GameSettings_LIMIT_FRAMERATES; $var4 = $this.$limitFramerate; if (!($var4 >= 0 && $var4 < var$7.data.length)) $var4 = 0; var$7 = var$7.data; var$3 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, var$7[$var4]); $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); $var4 = $par1EnumOptions.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($par1EnumOptions, $var4, var$3); var$6 = new jl_String; var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break f; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions === nms_EnumOptions_AMBIENT_OCCLUSION) { var$7 = nms_GameSettings_AMBIENT_OCCLUSIONS; $var4 = $this.$ambientOcclusion; if (!($var4 >= 0 && $var4 < var$7.data.length)) $var4 = 0; var$7 = var$7.data; var$3 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, var$7[$var4]); $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); $var4 = $par1EnumOptions.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($par1EnumOptions, $var4, var$3); var$6 = new jl_String; var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break f; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions !== nms_EnumOptions_ANTIALIASING) { if ($par1EnumOptions === nms_EnumOptions_CHUNK_UPDATES) { $var4 = $this.$chunkUpdatePerFrame + 1 | 0; $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); jl_AbstractStringBuilder_insert0($par1EnumOptions, $par1EnumOptions.$length0, $var4, 10); var$6 = new jl_String; var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break f; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } if ($par1EnumOptions !== nms_EnumOptions_GRAPHICS) break f; if (!$this.$fancyGraphics) { $par1EnumOptions = nms_StringTranslate_translateKey($var2, $rt_s(1066)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$6); $var4 = var$3.$length0; if ($par1EnumOptions === null) $par1EnumOptions = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $par1EnumOptions); var$6 = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$9 = var$3.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break f; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } $par1EnumOptions = nms_StringTranslate_translateKey($var2, $rt_s(1067)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$6); $var4 = var$3.$length0; if ($par1EnumOptions === null) $par1EnumOptions = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $par1EnumOptions); var$6 = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$9 = var$3.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); break f; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } var$7 = nms_GameSettings_ANTIALIASING; $var4 = $this.$antialiasMode; if (!($var4 >= 0 && $var4 < var$7.data.length)) $var4 = 0; var$7 = var$7.data; var$3 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, var$7[$var4]); $par1EnumOptions = new jl_StringBuilder; $par1EnumOptions.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EnumOptions, $par1EnumOptions.$length0, var$6); $var4 = $par1EnumOptions.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($par1EnumOptions, $var4, var$3); var$6 = new jl_String; var$7 = $par1EnumOptions.$buffer; var$8 = var$7.data; var$9 = $par1EnumOptions.$length0; var$10 = var$8.length; if (var$9 < 0) break e; if (var$9 > (var$10 - 0 | 0)) break e; var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); } return var$6; } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); } $par1EnumOptions = new jl_IndexOutOfBoundsException; $par1EnumOptions.$suppressionEnabled = 1; $par1EnumOptions.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EnumOptions); $rt_throw($par1EnumOptions); }, nms_GameSettings_loadOptions = $this => { let $yee, var$2, var$3, var$4, var$5, var$6, var$7, $var4; $yee = nle_LocalStorageManager_gameSettingsStorage; var$2 = $yee.$tagMap; if (var$2.$elementCount ? 0 : 1) nle_RelayManager_load(nle_IntegratedServer_relayManager, null); else { var$3 = jl_String_hashCode($rt_s(1068)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1068) !== var$5 && !jl_String_equals($rt_s(1068), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1068)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1068) !== var$5 && !jl_String_equals($rt_s(1068), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; if ($rt_s(1068) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_String_hashCode($rt_s(1068)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1068) !== var$5 && !jl_String_equals($rt_s(1068), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data4; } else var$6 = 0.0; $this.$musicVolume = var$6; } var$2 = $yee.$tagMap; var$7 = jl_String_hashCode($rt_s(1069)); var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$5 = var$2.$key; if ($rt_s(1069) !== var$5 && !jl_String_equals($rt_s(1069), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1069)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1069) !== var$5 && !jl_String_equals($rt_s(1069), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$6 = 0.0; else { var$2 = $yee.$tagMap; if ($rt_s(1069) !== null) { var$3 = jl_String_hashCode($rt_s(1069)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1069) !== var$5 && !jl_String_equals($rt_s(1069), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data4; } $this.$soundVolume = var$6; } var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1070)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1070) !== var$5 && !jl_String_equals($rt_s(1070), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1070)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1070) !== var$5 && !jl_String_equals($rt_s(1070), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; if ($rt_s(1070) !== null) { var$3 = jl_String_hashCode($rt_s(1070)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1070) !== var$5 && !jl_String_equals($rt_s(1070), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data4; } else var$6 = 0.0; $this.$mouseSensitivity = var$6; } var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1071)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1071) !== var$5 && !jl_String_equals($rt_s(1071), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1071)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1071) !== var$5 && !jl_String_equals($rt_s(1071), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$6 = 0.0; else { var$2 = $yee.$tagMap; if ($rt_s(1071) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_String_hashCode($rt_s(1071)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1071) !== var$5 && !jl_String_equals($rt_s(1071), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data4; } $this.$fovSetting = var$6; } var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1072)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1072) !== var$5 && !jl_String_equals($rt_s(1072), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1072)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1072) !== var$5 && !jl_String_equals($rt_s(1072), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$6 = 0.0; else { var$2 = $yee.$tagMap; if ($rt_s(1072) !== null) { var$3 = jl_String_hashCode($rt_s(1072)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1072) !== var$5 && !jl_String_equals($rt_s(1072), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data4; } $this.$gammaSetting = var$6; } var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1073)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1073) !== var$5 && !jl_String_equals($rt_s(1073), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1073)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1073) !== var$5 && !jl_String_equals($rt_s(1073), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var4 = 0; else { var$2 = $yee.$tagMap; if ($rt_s(1073) !== null) { var$3 = jl_String_hashCode($rt_s(1073)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1073) !== var$5 && !jl_String_equals($rt_s(1073), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$data; } $this.$invertMouse = !$var4 ? 0 : 1; } var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1074)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1074) !== var$5 && !jl_String_equals($rt_s(1074), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1074)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1074) !== var$5 && !jl_String_equals($rt_s(1074), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; if ($rt_s(1074) !== null) { var$3 = jl_String_hashCode($rt_s(1074)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1074) !== var$5 && !jl_String_equals($rt_s(1074), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$data0; } else $var4 = 0; $this.$renderDistance = $var4; } var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1075)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1075) !== var$5 && !jl_String_equals($rt_s(1075), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1075)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1075) !== var$5 && !jl_String_equals($rt_s(1075), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var4 = 0; else { var$2 = $yee.$tagMap; if ($rt_s(1075) !== null) { var$3 = jl_String_hashCode($rt_s(1075)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1075) !== var$5 && !jl_String_equals($rt_s(1075), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$data0; } $this.$guiScale = $var4; } var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1076)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1076) !== var$5 && !jl_String_equals($rt_s(1076), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1076)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1076) !== var$5 && !jl_String_equals($rt_s(1076), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; if ($rt_s(1076) !== null) { var$3 = jl_String_hashCode($rt_s(1076)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1076) !== var$5 && !jl_String_equals($rt_s(1076), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$data0; } else $var4 = 0; $this.$particleSetting = $var4; } var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1077)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1077) !== var$5 && !jl_String_equals($rt_s(1077), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1077)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1077) !== var$5 && !jl_String_equals($rt_s(1077), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var4 = 0; else { var$2 = $yee.$tagMap; if ($rt_s(1077) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_String_hashCode($rt_s(1077)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1077) !== var$5 && !jl_String_equals($rt_s(1077), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$data; } $this.$viewBobbing = !$var4 ? 0 : 1; } var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1078)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1078) !== var$5 && !jl_String_equals($rt_s(1078), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1078)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1078) !== var$5 && !jl_String_equals($rt_s(1078), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var4 = 0; else { var$2 = $yee.$tagMap; if ($rt_s(1078) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_String_hashCode($rt_s(1078)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1078) !== var$5 && !jl_String_equals($rt_s(1078), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$data; } $this.$anaglyph = !$var4 ? 0 : 1; } var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1079)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1079) !== var$5 && !jl_String_equals($rt_s(1079), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1079)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1079) !== var$5 && !jl_String_equals($rt_s(1079), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; if ($rt_s(1079) !== null) { var$3 = jl_String_hashCode($rt_s(1079)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1079) !== var$5 && !jl_String_equals($rt_s(1079), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$data0; } else $var4 = 0; $this.$limitFramerate = $var4; } var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1080)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1080) !== var$5 && !jl_String_equals($rt_s(1080), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1080)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1080) !== var$5 && !jl_String_equals($rt_s(1080), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; if ($rt_s(1080) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_String_hashCode($rt_s(1080)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1080) !== var$5 && !jl_String_equals($rt_s(1080), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$data; } else $var4 = 0; $this.$fancyGraphics = !$var4 ? 0 : 1; } var$2 = $yee.$tagMap; var$3 = jl_String_hashCode($rt_s(1081)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1081) !== var$5 && !jl_String_equals($rt_s(1081), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { a: { var$2 = $yee.$tagMap; if (!$rt_s(1081).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(1081).$nativeString.length) break a; $rt_s(1081).$hashCode1 = (31 * $rt_s(1081).$hashCode1 | 0) + $rt_s(1081).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$7 = $rt_s(1081).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { b: { var$5 = var$2.$key; if ($rt_s(1081) !== var$5) { if ($rt_s(1081) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var4 = $rt_s(1081).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var4 = 0; } else $var4 = 1; if (!$var4) { $var4 = 0; break b; } } $var4 = 1; } if ($var4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var4 = 0; else { var$2 = $yee.$tagMap; if ($rt_s(1081) !== null) { c: { if (!$rt_s(1081).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(1081).$nativeString.length) break c; $rt_s(1081).$hashCode1 = (31 * $rt_s(1081).$hashCode1 | 0) + $rt_s(1081).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$7 = $rt_s(1081).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { d: { var$5 = var$2.$key; if ($rt_s(1081) !== var$5) { if ($rt_s(1081) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var4 = $rt_s(1081).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var4 = 0; } else $var4 = 1; if (!$var4) { $var4 = 0; break d; } } $var4 = 1; } if ($var4) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$data0; } $this.$ambientOcclusion = $var4; } e: { var$2 = $yee.$tagMap; if (!$rt_s(1082).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(1082).$nativeString.length) break e; $rt_s(1082).$hashCode1 = (31 * $rt_s(1082).$hashCode1 | 0) + $rt_s(1082).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$7 = $rt_s(1082).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$5 = var$2.$key; if ($rt_s(1082) !== var$5 && !jl_String_equals($rt_s(1082), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { f: { var$2 = $yee.$tagMap; if (!$rt_s(1082).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(1082).$nativeString.length) break f; $rt_s(1082).$hashCode1 = (31 * $rt_s(1082).$hashCode1 | 0) + $rt_s(1082).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$7 = $rt_s(1082).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { g: { var$5 = var$2.$key; if ($rt_s(1082) !== var$5) { if ($rt_s(1082) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var4 = $rt_s(1082).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var4 = 0; } else $var4 = 1; if (!$var4) { $var4 = 0; break g; } } $var4 = 1; } if ($var4) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $yee.$tagMap; if ($rt_s(1082) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { h: { if (!$rt_s(1082).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(1082).$nativeString.length) break h; $rt_s(1082).$hashCode1 = (31 * $rt_s(1082).$hashCode1 | 0) + $rt_s(1082).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$7 = $rt_s(1082).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { i: { var$5 = var$2.$key; if ($rt_s(1082) !== var$5) { if ($rt_s(1082) === var$5) $var4 = 1; else if (!(var$5 instanceof jl_String)) $var4 = 0; else { var$5 = var$5; $var4 = $rt_s(1082).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break i; } } $var4 = 1; } if ($var4) break; } var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$data; } else $var4 = 0; $this.$clouds = !$var4 ? 0 : 1; } j: { var$2 = $yee.$tagMap; if (!$rt_s(1083).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(1083).$nativeString.length) break j; $rt_s(1083).$hashCode1 = (31 * $rt_s(1083).$hashCode1 | 0) + $rt_s(1083).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$7 = $rt_s(1083).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { k: { var$5 = var$2.$key; if ($rt_s(1083) !== var$5) { if ($rt_s(1083) === var$5) $var4 = 1; else if (!(var$5 instanceof jl_String)) $var4 = 0; else { var$5 = var$5; $var4 = $rt_s(1083).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break k; } } $var4 = 1; } if ($var4) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { l: { var$2 = $yee.$tagMap; if (!$rt_s(1083).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(1083).$nativeString.length) break l; $rt_s(1083).$hashCode1 = (31 * $rt_s(1083).$hashCode1 | 0) + $rt_s(1083).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$7 = $rt_s(1083).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { m: { var$5 = var$2.$key; if ($rt_s(1083) !== var$5) { if ($rt_s(1083) === var$5) $var4 = 1; else if (!(var$5 instanceof jl_String)) $var4 = 0; else { var$5 = var$5; $var4 = $rt_s(1083).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break m; } } $var4 = 1; } if ($var4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var4 = 0; else { var$2 = $yee.$tagMap; if ($rt_s(1083) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { n: { if (!$rt_s(1083).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(1083).$nativeString.length) break n; $rt_s(1083).$hashCode1 = (31 * $rt_s(1083).$hashCode1 | 0) + $rt_s(1083).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$7 = $rt_s(1083).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { o: { var$5 = var$2.$key; if ($rt_s(1083) !== var$5) { if ($rt_s(1083) === var$5) $var4 = 1; else if (!(var$5 instanceof jl_String)) $var4 = 0; else { var$5 = var$5; $var4 = $rt_s(1083).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break o; } } $var4 = 1; } if ($var4) break; } var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$data; } $this.$enableFog = !$var4 ? 0 : 1; } p: { var$2 = $yee.$tagMap; if (!$rt_s(1084).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(1084).$nativeString.length) break p; $rt_s(1084).$hashCode1 = (31 * $rt_s(1084).$hashCode1 | 0) + $rt_s(1084).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$7 = $rt_s(1084).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { q: { var$5 = var$2.$key; if ($rt_s(1084) !== var$5) { if ($rt_s(1084) === var$5) $var4 = 1; else if (!(var$5 instanceof jl_String)) $var4 = 0; else { var$5 = var$5; $var4 = $rt_s(1084).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break q; } } $var4 = 1; } if ($var4) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) $this.$lastServer = nms_NBTTagCompound_getString($yee, $rt_s(1084)); r: { var$2 = $yee.$tagMap; if (!$rt_s(37).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(37).$nativeString.length) break r; $rt_s(37).$hashCode1 = (31 * $rt_s(37).$hashCode1 | 0) + $rt_s(37).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$7 = $rt_s(37).$hashCode1; if (ju_HashMap_findNonNullKeyEntry(var$2, $rt_s(37), var$7 & (var$2.$elementData.data.length - 1 | 0), var$7) === null ? 0 : 1) $this.$language = nms_NBTTagCompound_getString($yee, $rt_s(37)); if (ju_HashMap_entryByKey($yee.$tagMap, $rt_s(1085)) === null ? 0 : 1) $this.$chatVisibility = nms_NBTTagCompound_getInteger($yee, $rt_s(1085)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1086))) $this.$chatColours = nms_NBTTagCompound_getBoolean($yee, $rt_s(1086)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1087))) $this.$chatLinks = nms_NBTTagCompound_getBoolean($yee, $rt_s(1087)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1088))) $this.$chatLinksPrompt = nms_NBTTagCompound_getBoolean($yee, $rt_s(1088)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1089))) $this.$chatOpacity = nms_NBTTagCompound_getFloat($yee, $rt_s(1089)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1090))) $this.$hideServerAddress = nms_NBTTagCompound_getBoolean($yee, $rt_s(1090)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1091))) $this.$advancedItemTooltips = nms_NBTTagCompound_getBoolean($yee, $rt_s(1091)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1092))) $this.$pauseOnLostFocus = nms_NBTTagCompound_getBoolean($yee, $rt_s(1092)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1093))) $this.$showCape = nms_NBTTagCompound_getBoolean($yee, $rt_s(1093)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1094))) $this.$touchscreen = nms_NBTTagCompound_getBoolean($yee, $rt_s(1094)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1095))) $this.$overrideHeight = nms_NBTTagCompound_getInteger($yee, $rt_s(1095)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1096))) $this.$overrideWidth = nms_NBTTagCompound_getInteger($yee, $rt_s(1096)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1097))) $this.$antialiasMode = nms_NBTTagCompound_getInteger($yee, $rt_s(1097)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1098))) $this.$heldItemTooltips = nms_NBTTagCompound_getBoolean($yee, $rt_s(1098)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1099))) $this.$chatHeightFocused = nms_NBTTagCompound_getFloat($yee, $rt_s(1099)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1100))) $this.$chatHeightUnfocused = nms_NBTTagCompound_getFloat($yee, $rt_s(1100)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1101))) $this.$chatScale = nms_NBTTagCompound_getFloat($yee, $rt_s(1101)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1102))) $this.$chatWidth = nms_NBTTagCompound_getFloat($yee, $rt_s(1102)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1103))) $this.$showCoordinates = nms_NBTTagCompound_getBoolean($yee, $rt_s(1103)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1104))) $this.$showSkinJacket = nms_NBTTagCompound_getBoolean($yee, $rt_s(1104)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1105))) $this.$showSkinHat = nms_NBTTagCompound_getBoolean($yee, $rt_s(1105)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1106))) $this.$showSkinLeftArm = nms_NBTTagCompound_getBoolean($yee, $rt_s(1106)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1107))) $this.$showSkinRightArm = nms_NBTTagCompound_getBoolean($yee, $rt_s(1107)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1108))) $this.$showSkinLeftLeg = nms_NBTTagCompound_getBoolean($yee, $rt_s(1108)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1109))) $this.$showSkinRightLeg = nms_NBTTagCompound_getBoolean($yee, $rt_s(1109)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1110))) $this.$allowFNAWSkins = nms_NBTTagCompound_getBoolean($yee, $rt_s(1110)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1111))) $this.$showOtherCapes = nms_NBTTagCompound_getBoolean($yee, $rt_s(1111)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1112))) $this.$chunkUpdatePerFrame = nms_NBTTagCompound_getInteger($yee, $rt_s(1112)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1113))) $this.$voiceListenVolume = nms_NBTTagCompound_getFloat($yee, $rt_s(1113)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1114))) $this.$voiceSpeakVolume = nms_NBTTagCompound_getFloat($yee, $rt_s(1114)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1115))) $this.$voicePTTKey = nms_NBTTagCompound_getInteger($yee, $rt_s(1115)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1116))) $this.$voiceListenRadius = nms_NBTTagCompound_getInteger($yee, $rt_s(1116)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1117))) $this.$difficulty = nms_NBTTagCompound_getByte($yee, $rt_s(1117)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1118))) $this.$hideJoinCode = nms_NBTTagCompound_getBoolean($yee, $rt_s(1118)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1119))) $this.$relayTimeout = nms_NBTTagCompound_getByte($yee, $rt_s(1119)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(467))) $this.$adderall = nms_NBTTagCompound_getBoolean($yee, $rt_s(467)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1120))) $this.$skin = nms_NBTTagCompound_getString($yee, $rt_s(1120)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1121))) $this.$enableVsync = nms_NBTTagCompound_getBoolean($yee, $rt_s(1121)); if (nms_NBTTagCompound_hasKey($yee, $rt_s(1122))) $this.$hideVsyncWarning = nms_NBTTagCompound_getBoolean($yee, $rt_s(1122)); $var4 = $this.$voiceListenRadius; if ($var4 < 5) $this.$voiceListenRadius = 5; else if ($var4 > 22) $this.$voiceListenRadius = 22; nlea_EaglerAdapterImpl2_setVoiceListenVolume($this.$voiceListenVolume); nlea_EaglerAdapterImpl2_setVoiceSpeakVolume($this.$voiceSpeakVolume); nlea_EaglerAdapterImpl2_setVoiceProximity($this.$voiceListenRadius); $var4 = 0; while (true) { var$4 = $this.$keyBindings.data; if ($var4 >= var$4.length) break; if (nms_NBTTagCompound_hasKey($yee, var$4[$var4].$keyDescription)) { var$4 = $this.$keyBindings.data; var$4[$var4].$keyCode = nms_NBTTagCompound_getInteger($yee, var$4[$var4].$keyDescription); } $var4 = $var4 + 1 | 0; } nms_KeyBinding_resetKeyBindingArrayAndHash(); nle_RelayManager_load(nle_IntegratedServer_relayManager, nms_NBTTagCompound_getTagList(nle_LocalStorageManager_gameSettingsStorage, $rt_s(176))); } }, nms_GameSettings_saveOptions = $this => { let $yee, var$2, var$3, var$4, $var4, var$6, var$7, var$8, var$9, $$je; $yee = nle_LocalStorageManager_gameSettingsStorage; var$2 = $this.$musicVolume; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(1068); var$4.$data4 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1068), var$4); var$2 = $this.$soundVolume; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(1069); var$4.$data4 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1069), var$4); var$2 = $this.$mouseSensitivity; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(1070); var$4.$data4 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1070), var$4); var$2 = $this.$fovSetting; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(1071); var$4.$data4 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1071), var$4); var$2 = $this.$gammaSetting; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(1072); var$4.$data4 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1072), var$4); $var4 = (!$this.$invertMouse ? 0 : 1) << 24 >> 24; var$4 = $yee.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1073); var$3.$data = $var4; ju_HashMap_putImpl(var$4, $rt_s(1073), var$3); $var4 = $this.$renderDistance; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(1074); var$4.$data0 = $var4; ju_HashMap_putImpl(var$3, $rt_s(1074), var$4); $var4 = $this.$guiScale; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(1075); var$4.$data0 = $var4; ju_HashMap_putImpl(var$3, $rt_s(1075), var$4); $var4 = $this.$particleSetting; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(1076); var$4.$data0 = $var4; ju_HashMap_putImpl(var$3, $rt_s(1076), var$4); $var4 = (!$this.$viewBobbing ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1077); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1077), var$4); $var4 = (!$this.$anaglyph ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1078); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1078), var$4); $var4 = $this.$limitFramerate; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(1079); var$4.$data0 = $var4; ju_HashMap_putImpl(var$3, $rt_s(1079), var$4); $var4 = (!$this.$fancyGraphics ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1080); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1080), var$4); $var4 = $this.$ambientOcclusion; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(1081); var$4.$data0 = $var4; ju_HashMap_putImpl(var$3, $rt_s(1081), var$4); $var4 = (!$this.$clouds ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1082); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1082), var$4); $var4 = (!$this.$enableFog ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1083); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1083), var$4); var$4 = $this.$lastServer; var$6 = $yee.$tagMap; var$3 = new nms_NBTTagString; var$3.$name = $rt_s(1084); var$3.$data1 = var$4; if (var$4 === null) { var$7 = new jl_IllegalArgumentException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $rt_s(186); $rt_throw(var$7); } ju_HashMap_putImpl(var$6, $rt_s(1084), var$3); var$4 = $this.$language; var$6 = $yee.$tagMap; var$3 = new nms_NBTTagString; var$3.$name = $rt_s(37); var$3.$data1 = var$4; if (var$4 === null) { var$7 = new jl_IllegalArgumentException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $rt_s(186); $rt_throw(var$7); } ju_HashMap_putImpl(var$6, $rt_s(37), var$3); $var4 = $this.$chatVisibility; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(1085); var$4.$data0 = $var4; ju_HashMap_putImpl(var$3, $rt_s(1085), var$4); $var4 = (!$this.$chatColours ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1086); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1086), var$4); $var4 = (!$this.$chatLinks ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1087); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1087), var$4); $var4 = (!$this.$chatLinksPrompt ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1088); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1088), var$4); var$2 = $this.$chatOpacity; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(1089); var$4.$data4 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1089), var$4); $var4 = (!$this.$hideServerAddress ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1090); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1090), var$4); $var4 = (!$this.$advancedItemTooltips ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1091); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1091), var$4); $var4 = (!$this.$pauseOnLostFocus ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1092); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1092), var$4); $var4 = (!$this.$showCape ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1093); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1093), var$4); $var4 = (!$this.$touchscreen ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1094); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1094), var$4); $var4 = $this.$overrideHeight; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(1095); var$4.$data0 = $var4; ju_HashMap_putImpl(var$3, $rt_s(1095), var$4); $var4 = $this.$overrideWidth; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(1096); var$4.$data0 = $var4; ju_HashMap_putImpl(var$3, $rt_s(1096), var$4); $var4 = $this.$antialiasMode; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(1097); var$4.$data0 = $var4; ju_HashMap_putImpl(var$3, $rt_s(1097), var$4); $var4 = (!$this.$heldItemTooltips ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1098); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1098), var$4); var$2 = $this.$chatHeightFocused; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(1099); var$4.$data4 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1099), var$4); var$2 = $this.$chatHeightUnfocused; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(1100); var$4.$data4 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1100), var$4); var$2 = $this.$chatScale; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(1101); var$4.$data4 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1101), var$4); var$2 = $this.$chatWidth; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(1102); var$4.$data4 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1102), var$4); $var4 = (!$this.$showCoordinates ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1103); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1103), var$4); $var4 = (!$this.$showSkinJacket ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1104); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1104), var$4); $var4 = (!$this.$showSkinHat ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1105); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1105), var$4); $var4 = (!$this.$showSkinLeftArm ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1106); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1106), var$4); $var4 = (!$this.$showSkinRightArm ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1107); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1107), var$4); $var4 = (!$this.$showSkinLeftLeg ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1108); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1108), var$4); $var4 = (!$this.$showSkinRightLeg ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1109); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1109), var$4); $var4 = (!$this.$allowFNAWSkins ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1110); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1110), var$4); $var4 = (!$this.$showOtherCapes ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1111); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1111), var$4); $var4 = $this.$chunkUpdatePerFrame; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(1112); var$4.$data0 = $var4; ju_HashMap_putImpl(var$3, $rt_s(1112), var$4); var$2 = $this.$voiceListenVolume; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(1113); var$4.$data4 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1113), var$4); var$2 = $this.$voiceSpeakVolume; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(1114); var$4.$data4 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1114), var$4); $var4 = $this.$voicePTTKey; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(1115); var$4.$data0 = $var4; ju_HashMap_putImpl(var$3, $rt_s(1115), var$4); $var4 = $this.$voiceListenRadius; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(1116); var$4.$data0 = $var4; ju_HashMap_putImpl(var$3, $rt_s(1116), var$4); $var4 = $this.$difficulty << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1117); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1117), var$4); $var4 = (!$this.$hideJoinCode ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1118); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1118), var$4); $var4 = $this.$relayTimeout << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1119); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1119), var$4); $var4 = (!$this.$adderall ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(467); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(467), var$4); var$4 = $this.$skin; var$6 = $yee.$tagMap; var$3 = new nms_NBTTagString; var$3.$name = $rt_s(1120); var$3.$data1 = var$4; if (var$4 === null) { var$7 = new jl_IllegalArgumentException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $rt_s(186); $rt_throw(var$7); } ju_HashMap_putImpl(var$6, $rt_s(1120), var$3); $var4 = (!$this.$enableVsync ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1121); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1121), var$4); $var4 = (!$this.$hideVsyncWarning ? 0 : 1) << 24 >> 24; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1122); var$4.$data = $var4; ju_HashMap_putImpl(var$3, $rt_s(1122), var$4); $var4 = 0; while (true) { var$8 = $this.$keyBindings.data; if ($var4 >= var$8.length) break; var$7 = var$8[$var4].$keyDescription; var$9 = var$8[$var4].$keyCode; var$3 = $yee.$tagMap; var$4 = new nms_NBTTagInt; if (var$7 !== null) var$4.$name = var$7; else var$4.$name = $rt_s(18); var$4.$data0 = var$9; ju_HashMap_putImpl(var$3, var$7, var$4); $var4 = $var4 + 1 | 0; } a: { try { nlea_EaglerAdapterImpl2_saveLocalStorage($rt_s(185), nms_CompressedStreamTools_writeUncompressed(nle_LocalStorageManager_gameSettingsStorage)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } nms_GameSettings_sendSettingsToServer($this); }, nms_GameSettings_sendSettingsToServer = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$1 = $this.$mc11.$thePlayer; if (var$1 !== null) { var$2 = var$1.$sendQueue; var$1 = new nms_Packet204ClientInfo; var$3 = $this.$language; var$4 = $this.$renderDistance; var$5 = $this.$chatVisibility; var$6 = $this.$chatColours; var$7 = $this.$difficulty; var$8 = $this.$showCape; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$1.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$1.$language0 = var$3; var$1.$renderDistance1 = var$4; var$1.$chatVisisble = var$5; var$1.$chatColours0 = var$6; var$1.$gameDifficulty = var$7; var$1.$showCape0 = var$8; if (!var$2.$disconnected) var$2.$netManager.$addToSendQueue(var$1); var$1 = $this.$mc11.$thePlayer.$sendQueue; var$3 = new nms_Packet250CustomPayload; var$9 = $rt_createByteArray(1); var$10 = var$9.data; var$10[0] = nms_GameSettings_getSkinLayers($this) << 24 >> 24; var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$channel0 = $rt_s(1123); var$3.$data10 = var$9; var$4 = var$10.length; var$3.$length4 = var$4; if (var$4 > 32767) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(1124); $rt_throw(var$2); } if (!var$1.$disconnected) var$1.$netManager.$addToSendQueue(var$3); } }, nms_GameSettings_getSkinLayers = $this => { let $skinLayersByte; $skinLayersByte = 0; if ($this.$showSkinJacket) $skinLayersByte = 1; if ($this.$showSkinHat) $skinLayersByte = $skinLayersByte | 2; if ($this.$showSkinLeftArm) $skinLayersByte = $skinLayersByte | 4; if ($this.$showSkinRightArm) $skinLayersByte = $skinLayersByte | 8; if ($this.$showSkinLeftLeg) $skinLayersByte = $skinLayersByte | 16; if ($this.$showSkinRightLeg) $skinLayersByte = $skinLayersByte | 32; return $skinLayersByte; }, nms_GameSettings__clinit_ = () => { nms_GameSettings_RENDER_DISTANCES = $rt_wrapArray(jl_String, [$rt_s(1125), $rt_s(1126), $rt_s(1127), $rt_s(1128)]); nms_GameSettings_DIFFICULTIES = $rt_wrapArray(jl_String, [$rt_s(1129), $rt_s(1130), $rt_s(1131), $rt_s(1132)]); nms_GameSettings_GUISCALES = $rt_wrapArray(jl_String, [$rt_s(1133), $rt_s(1134), $rt_s(1135), $rt_s(1136)]); nms_GameSettings_CHAT_VISIBILITIES = $rt_wrapArray(jl_String, [$rt_s(1137), $rt_s(1138), $rt_s(1139)]); nms_GameSettings_PARTICLES = $rt_wrapArray(jl_String, [$rt_s(1140), $rt_s(1141), $rt_s(1142)]); nms_GameSettings_LIMIT_FRAMERATES = $rt_wrapArray(jl_String, [$rt_s(1143), $rt_s(1144), $rt_s(1145)]); nms_GameSettings_AMBIENT_OCCLUSIONS = $rt_wrapArray(jl_String, [$rt_s(1146), $rt_s(1147), $rt_s(1148)]); nms_GameSettings_ANTIALIASING = $rt_wrapArray(jl_String, [$rt_s(1149), $rt_s(1150), $rt_s(1151), $rt_s(1152), $rt_s(1153)]); }; function nms_RenderBlocks() { let a = this; jl_Object.call(a); a.$blockAccess = null; a.$overrideBlockTexture = null; a.$flipTexture = 0; a.$renderAllFaces = 0; a.$useInventoryTint = 0; a.$renderMinX = 0.0; a.$renderMaxX = 0.0; a.$renderMinY = 0.0; a.$renderMaxY = 0.0; a.$renderMinZ = 0.0; a.$renderMaxZ = 0.0; a.$lockBlockBounds = 0; a.$partialRenderBounds = 0; a.$minecraftRB = null; a.$uvRotateEast = 0; a.$uvRotateWest = 0; a.$uvRotateSouth = 0; a.$uvRotateNorth = 0; a.$uvRotateTop = 0; a.$uvRotateBottom = 0; a.$enableAO = 0; a.$aoLightValueScratchXYZNNN = 0.0; a.$aoLightValueScratchXYNN = 0.0; a.$aoLightValueScratchXYZNNP = 0.0; a.$aoLightValueScratchYZNN = 0.0; a.$aoLightValueScratchYZNP = 0.0; a.$aoLightValueScratchXYZPNN = 0.0; a.$aoLightValueScratchXYPN = 0.0; a.$aoLightValueScratchXYZPNP = 0.0; a.$aoLightValueScratchXYZNPN = 0.0; a.$aoLightValueScratchXYNP = 0.0; a.$aoLightValueScratchXYZNPP = 0.0; a.$aoLightValueScratchYZPN = 0.0; a.$aoLightValueScratchXYZPPN = 0.0; a.$aoLightValueScratchXYPP = 0.0; a.$aoLightValueScratchYZPP = 0.0; a.$aoLightValueScratchXYZPPP = 0.0; a.$aoLightValueScratchXZNN = 0.0; a.$aoLightValueScratchXZPN = 0.0; a.$aoLightValueScratchXZNP = 0.0; a.$aoLightValueScratchXZPP = 0.0; a.$aoBrightnessXYZNNN = 0; a.$aoBrightnessXYNN = 0; a.$aoBrightnessXYZNNP = 0; a.$aoBrightnessYZNN = 0; a.$aoBrightnessYZNP = 0; a.$aoBrightnessXYZPNN = 0; a.$aoBrightnessXYPN = 0; a.$aoBrightnessXYZPNP = 0; a.$aoBrightnessXYZNPN = 0; a.$aoBrightnessXYNP = 0; a.$aoBrightnessXYZNPP = 0; a.$aoBrightnessYZPN = 0; a.$aoBrightnessXYZPPN = 0; a.$aoBrightnessXYPP = 0; a.$aoBrightnessYZPP = 0; a.$aoBrightnessXYZPPP = 0; a.$aoBrightnessXZNN = 0; a.$aoBrightnessXZPN = 0; a.$aoBrightnessXZNP = 0; a.$aoBrightnessXZPP = 0; a.$brightnessTopLeft = 0; a.$brightnessBottomLeft = 0; a.$brightnessBottomRight = 0; a.$brightnessTopRight = 0; a.$colorRedTopLeft = 0.0; a.$colorRedBottomLeft = 0.0; a.$colorRedBottomRight = 0.0; a.$colorRedTopRight = 0.0; a.$colorGreenTopLeft = 0.0; a.$colorGreenBottomLeft = 0.0; a.$colorGreenBottomRight = 0.0; a.$colorGreenTopRight = 0.0; a.$colorBlueTopLeft = 0.0; a.$colorBlueBottomLeft = 0.0; a.$colorBlueBottomRight = 0.0; a.$colorBlueTopRight = 0.0; } let nms_RenderBlocks_fancyGrass = 0, nms_RenderBlocks__init_ = $this => { $this.$useInventoryTint = 1; $this.$minecraftRB = nms_Minecraft_theMinecraft; }, nms_RenderBlocks__init_0 = () => { let var_0 = new nms_RenderBlocks(); nms_RenderBlocks__init_(var_0); return var_0; }, nms_RenderBlocks_setOverrideBlockTexture = ($this, $par1Icon) => { $this.$overrideBlockTexture = $par1Icon; }, nms_RenderBlocks_clearOverrideBlockTexture = $this => { $this.$overrideBlockTexture = null; }, nms_RenderBlocks_hasOverrideBlockTexture = $this => { return $this.$overrideBlockTexture === null ? 0 : 1; }, nms_RenderBlocks_setRenderBounds = ($this, $par1, $par3, $par5, $par7, $par9, $par11) => { let var$7; if (!$this.$lockBlockBounds) { a: { b: { $this.$renderMinX = $par1; $this.$renderMaxX = $par7; $this.$renderMinY = $par3; $this.$renderMaxY = $par9; $this.$renderMinZ = $par5; $this.$renderMaxZ = $par11; if ($this.$minecraftRB.$gameSettings.$ambientOcclusion >= 2) { if ($par1 > 0.0) break b; if ($par7 < 1.0) break b; if ($par3 > 0.0) break b; if ($par9 < 1.0) break b; if ($par5 > 0.0) break b; if ($par11 < 1.0) break b; } var$7 = 0; break a; } var$7 = 1; } $this.$partialRenderBounds = var$7; } }, nms_RenderBlocks_setRenderBoundsFromBlock = ($this, $par1Block) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; if (!$this.$lockBlockBounds) { a: { b: { var$2 = $par1Block.$minX0; $this.$renderMinX = var$2; var$3 = $par1Block.$maxX0; $this.$renderMaxX = var$3; var$4 = $par1Block.$minY0; $this.$renderMinY = var$4; var$5 = $par1Block.$maxY0; $this.$renderMaxY = var$5; var$6 = $par1Block.$minZ0; $this.$renderMinZ = var$6; var$7 = $par1Block.$maxZ0; $this.$renderMaxZ = var$7; if ($this.$minecraftRB.$gameSettings.$ambientOcclusion >= 2) { if (var$2 > 0.0) break b; if (var$3 < 1.0) break b; if (var$4 > 0.0) break b; if (var$5 < 1.0) break b; if (var$6 > 0.0) break b; if (var$7 < 1.0) break b; } var$8 = 0; break a; } var$8 = 1; } $this.$partialRenderBounds = var$8; } }, nms_RenderBlocks_overrideBlockBounds = ($this, $par1, $par3, $par5, $par7, $par9, $par11) => { let var$7; a: { b: { $this.$renderMinX = $par1; $this.$renderMaxX = $par7; $this.$renderMinY = $par3; $this.$renderMaxY = $par9; $this.$renderMinZ = $par5; $this.$renderMaxZ = $par11; $this.$lockBlockBounds = 1; if ($this.$minecraftRB.$gameSettings.$ambientOcclusion >= 2) { if ($par1 > 0.0) break b; if ($par7 < 1.0) break b; if ($par3 > 0.0) break b; if ($par9 < 1.0) break b; if ($par5 > 0.0) break b; if ($par11 < 1.0) break b; } var$7 = 0; break a; } var$7 = 1; } $this.$partialRenderBounds = var$7; }, nms_RenderBlocks_renderBlockByRenderType = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Block = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $par1Block.$getRenderType(); if ($var5 == (-1)) return 0; var$6 = $this.$blockAccess; $ptr = 1; case 1: a: { $par1Block.$setBlockBoundsBasedOnState(var$6, $par2, $par3, $par4); if ($rt_suspending()) { break main; } nms_RenderBlocks_setRenderBoundsFromBlock($this, $par1Block); if (!$var5) { $par2 = nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 4) { $par2 = nms_RenderBlocks_renderBlockFluids($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 31) { $par2 = nms_RenderBlocks_renderBlockLog($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 1) { $par2 = nms_RenderBlocks_renderCrossedSquares($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 2) { $par2 = nms_RenderBlocks_renderBlockTorch($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 20) { $par2 = nms_RenderBlocks_renderBlockVine($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 11) { $par2 = nms_RenderBlocks_renderBlockFence($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 39) { $par2 = nms_RenderBlocks_renderBlockQuartz($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 5) { $par2 = nms_RenderBlocks_renderBlockRedstoneWire($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 13) { $par2 = nms_RenderBlocks_renderBlockCactus($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 9) { $par2 = nms_RenderBlocks_renderBlockMinecartTrack($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 19) { $par2 = nms_RenderBlocks_renderBlockStem($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 23) { $par2 = nms_RenderBlocks_renderBlockLilyPad($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 6) { nlea_Tessellator_$callClinit(); var$6 = nlea_Tessellator_instance; var$7 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); var$6.$hasBrightness = 1; var$6.$brightness = var$7; nlea_Tessellator_setColorRGBA(var$6, 255, 255, 255, 255); nms_RenderBlocks_renderBlockCropsImpl($this, $par1Block, $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4), $par2, $par3 - 0.0625, $par4); $par2 = 1; break a; } if ($var5 == 3) { $par2 = nms_RenderBlocks_renderBlockFire($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 8) { $par2 = nms_RenderBlocks_renderBlockLadder($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 7) { $par2 = nms_RenderBlocks_renderBlockDoor($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 10) { $par1Block = $par1Block; if (!($this.$blockAccess.$getBlockMetadata($par2, $par3, $par4) & 4)) { $par1Block.$minX0 = 0.0; $par1Block.$minY0 = 0.0; $par1Block.$minZ0 = 0.0; $par1Block.$maxX0 = 1.0; $par1Block.$maxY0 = 0.5; $par1Block.$maxZ0 = 1.0; } else { $par1Block.$minX0 = 0.0; $par1Block.$minY0 = 0.5; $par1Block.$minZ0 = 0.0; $par1Block.$maxX0 = 1.0; $par1Block.$maxY0 = 1.0; $par1Block.$maxZ0 = 1.0; } nms_RenderBlocks_setRenderBoundsFromBlock($this, $par1Block); nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); var$7 = nms_BlockStairs_func_82542_g($par1Block, $this.$blockAccess, $par2, $par3, $par4); nms_RenderBlocks_setRenderBoundsFromBlock($this, $par1Block); nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); if (var$7 && nms_BlockStairs_func_82544_h($par1Block, $this.$blockAccess, $par2, $par3, $par4)) { nms_RenderBlocks_setRenderBoundsFromBlock($this, $par1Block); nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); } $par2 = 1; break a; } if ($var5 == 27) { $par2 = nms_RenderBlocks_renderBlockDragonEgg($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 32) { $par2 = nms_RenderBlocks_renderBlockWall($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 12) { $par2 = nms_RenderBlocks_renderBlockLever($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 29) { $par2 = nms_RenderBlocks_renderBlockTripWireSource($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 30) { $par2 = nms_RenderBlocks_renderBlockTripWire($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 14) { $par2 = nms_RenderBlocks_renderBlockBed($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 15) { $par1Block = $par1Block; $ptr = 2; continue main; } if ($var5 == 36) { nms_RenderBlocks_renderBlockRedstoneLogicMetadata($this, $par1Block, $par2, $par3, $par4, $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4) & 3); $par2 = 1; break a; } if ($var5 == 37) { $par2 = nms_RenderBlocks_renderBlockComparator($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 16) { $par2 = nms_RenderBlocks_renderPistonBase($this, $par1Block, $par2, $par3, $par4, 0); break a; } if ($var5 == 17) { $par2 = nms_RenderBlocks_renderPistonExtension($this, $par1Block, $par2, $par3, $par4, 1); break a; } if ($var5 == 18) { $par2 = nms_RenderBlocks_renderBlockPane($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 21) { $par2 = nms_RenderBlocks_renderBlockFenceGate($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 24) { $par2 = nms_RenderBlocks_renderBlockCauldron($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 33) { $par1Block = $par1Block; $ptr = 3; continue main; } if ($var5 == 35) { $par2 = nms_RenderBlocks_renderBlockAnvilMetadata($this, $par1Block, $par2, $par3, $par4, $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4)); break a; } if ($var5 == 25) { $par2 = nms_RenderBlocks_renderBlockBrewingStand($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 26) { $par2 = nms_RenderBlocks_renderBlockEndPortalFrame($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 28) { $par2 = nms_RenderBlocks_renderBlockCocoa($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 == 34) { $par2 = nms_RenderBlocks_renderBlockBeacon($this, $par1Block, $par2, $par3, $par4); break a; } if ($var5 != 38) { $par2 = 0; break a; } $par2 = nms_RenderBlocks_renderBlockHopper($this, $par1Block, $par2, $par3, $par4); } return $par2; case 2: $tmp = nms_RenderBlocks_renderBlockRepeater($this, $par1Block, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; case 3: $tmp = nms_RenderBlocks_renderBlockFlowerpot($this, $par1Block, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Block, $par2, $par3, $par4, $var5, var$6, var$7, $ptr); }, nms_RenderBlocks_renderBlockEndPortalFrame = ($this, $par1BlockEndPortalFrame, $par2, $par3, $par4) => { let $var5, $var6; $var5 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); $var6 = $var5 & 3; if (!$var6) $this.$uvRotateTop = 3; else if ($var6 == 3) $this.$uvRotateTop = 1; else if ($var6 == 1) $this.$uvRotateTop = 2; if (!(!($var5 & 4) ? 0 : 1)) { nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 0.8125, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1BlockEndPortalFrame, $par2, $par3, $par4); $this.$uvRotateTop = 0; return 1; } $this.$renderAllFaces = 1; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 0.8125, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1BlockEndPortalFrame, $par2, $par3, $par4); $this.$overrideBlockTexture = $par1BlockEndPortalFrame.$field_94399_b; nms_RenderBlocks_setRenderBounds($this, 0.25, 0.8125, 0.25, 0.75, 1.0, 0.75); nms_RenderBlocks_renderStandardBlock($this, $par1BlockEndPortalFrame, $par2, $par3, $par4); $this.$renderAllFaces = 0; $this.$overrideBlockTexture = null; $this.$uvRotateTop = 0; return 1; }, nms_RenderBlocks_renderBlockBed = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var25, var$10, var$11, var$12, $var28, $var30, $var32, $var34, var$17, $var36, $var38, var$20, $var40, var$22, $var42, $var44, var$25, var$26, var$27, $var52, $var54, $var56, $var58, $var60, var$33, $var62, $var63, var$36; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; $var6 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); $var7 = $var6 & 3; $var8 = !($var6 & 8) ? 0 : 1; $var25 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); $var5.$hasBrightness = 1; $var5.$brightness = $var25; nlea_Tessellator_setColorRGBA($var5, 127, 127, 127, 255); var$10 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 0); if (var$10 === null) { if (jl_System_outCache === null) { var$11 = new otcic_JSStdoutPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); var$11.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); var$11.$sb = var$12; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$11; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$10 === null) a: { b: { var$10 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$10 = var$10.$textureMapBlocks.$missingImage; break a; } var$10 = var$10.$textureMapItems.$missingTextureStiched; } $var28 = var$10.$getMinU(); $var30 = var$10.$getMaxU(); $var32 = var$10.$getMinV(); $var34 = var$10.$getMaxV(); var$17 = $par2; $var36 = var$17 + $this.$renderMinX; $var38 = var$17 + $this.$renderMaxX; var$20 = $par3; $var40 = var$20 + $this.$renderMinY + 0.1875; var$22 = $par4; $var42 = var$22 + $this.$renderMinZ; $var44 = var$22 + $this.$renderMaxZ; $var5.$hasTexture = 1; var$25 = $var28; $var5.$textureU = var$25; var$26 = $var34; $var5.$textureV = var$26; nlea_Tessellator_addVertex($var5, $var36, $var40, $var44); $var5.$hasTexture = 1; $var5.$textureU = var$25; var$27 = $var32; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, $var36, $var40, $var42); $var5.$hasTexture = 1; var$25 = $var30; $var5.$textureU = var$25; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, $var38, $var40, $var42); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = var$26; nlea_Tessellator_addVertex($var5, $var38, $var40, $var44); $var6 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3 + 1 | 0, $par4); $var5.$hasBrightness = 1; $var5.$brightness = $var6; nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); var$10 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 1); if (var$10 === null) { if (jl_System_outCache === null) { var$11 = new otcic_JSStdoutPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); var$11.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); var$11.$sb = var$12; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$11; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$10 === null) c: { d: { var$10 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break d; default: break d; } var$10 = var$10.$textureMapBlocks.$missingImage; break c; } var$10 = var$10.$textureMapItems.$missingTextureStiched; } $var30 = var$10.$getMinU(); $var32 = var$10.$getMaxU(); $var28 = var$10.$getMinV(); $var34 = var$10.$getMaxV(); if (!$var7) { $var36 = $var30; $var38 = $var34; $var40 = $var32; $var42 = $var28; } else if ($var7 == 2) { $var36 = $var32; $var38 = $var28; $var40 = $var30; $var42 = $var34; $var52 = $var30; $var54 = $var28; $var30 = $var32; $var28 = $var34; $var32 = $var52; $var34 = $var54; } else if ($var7 != 3) { $var36 = $var32; $var38 = $var28; $var40 = $var30; $var42 = $var34; } else { $var36 = $var30; $var38 = $var34; $var40 = $var32; $var42 = $var28; $var52 = $var30; $var54 = $var28; $var30 = $var32; $var28 = $var34; $var32 = $var52; $var34 = $var54; } $var52 = var$17 + $this.$renderMinX; $var54 = var$17 + $this.$renderMaxX; $var56 = var$20 + $this.$renderMaxY; $var58 = var$22 + $this.$renderMinZ; $var60 = var$22 + $this.$renderMaxZ; $var5.$hasTexture = 1; $var5.$textureU = $var40; $var5.$textureV = $var34; nlea_Tessellator_addVertex($var5, $var54, $var56, $var60); $var5.$hasTexture = 1; $var5.$textureU = $var30; $var5.$textureV = $var38; nlea_Tessellator_addVertex($var5, $var54, $var56, $var58); $var5.$hasTexture = 1; $var5.$textureU = $var36; $var5.$textureV = $var28; nlea_Tessellator_addVertex($var5, $var52, $var56, $var58); $var5.$hasTexture = 1; $var5.$textureU = $var32; $var5.$textureV = $var42; nlea_Tessellator_addVertex($var5, $var52, $var56, $var60); var$33 = nms_Direction_directionToFacing.data; $var62 = var$33[$var7]; if ($var8) $var62 = var$33[nms_Direction_rotateOpposite.data[$var7]]; e: { f: { g: { $var63 = 4; switch ($var7) { case 0: break; case 1: $var63 = 3; break f; case 3: $var63 = 2; break e; case 2: break g; default: break g; } $var63 = 5; break e; } } } if ($var62 != 2 && !(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3, $par4 - 1 | 0, 2))) { $var6 = $this.$renderMinZ > 0.0 ? $var25 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4 - 1 | 0); $var5.$hasBrightness = 1; $var5.$brightness = $var6; nlea_Tessellator_setColorRGBA($var5, 204, 204, 204, 255); $this.$flipTexture = $var63 != 2 ? 0 : 1; var$10 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 2); if (var$10 === null) { if (jl_System_outCache === null) { var$11 = new otcic_JSStdoutPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); var$11.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); var$11.$sb = var$12; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$11; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$10 === null) h: { i: { var$10 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break i; default: break i; } var$10 = var$10.$textureMapBlocks.$missingImage; break h; } var$10 = var$10.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZNeg($this, $par1Block, var$17, var$20, var$22, var$10); } if ($var62 != 3 && !(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3, $par4 + 1 | 0, 3))) { $var6 = $this.$renderMaxZ < 1.0 ? $var25 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4 + 1 | 0); $var5.$hasBrightness = 1; $var5.$brightness = $var6; nlea_Tessellator_setColorRGBA($var5, 204, 204, 204, 255); $this.$flipTexture = $var63 != 3 ? 0 : 1; var$11 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 3); if (var$11 === null) { if (jl_System_outCache === null) { var$10 = new otcic_JSStdoutPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); var$10.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); var$10.$sb = var$12; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$10; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) j: { k: { var$10 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break k; default: break k; } var$11 = var$10.$textureMapBlocks.$missingImage; break j; } var$11 = var$10.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZPos($this, $par1Block, var$17, var$20, var$22, var$11); } if ($var62 != 4 && !(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2 - 1 | 0, $par3, $par4, 4))) { var$36 = $this.$renderMinZ > 0.0 ? $var25 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2 - 1 | 0, $par3, $par4); $var5.$hasBrightness = 1; $var5.$brightness = var$36; nlea_Tessellator_setColorRGBA($var5, 153, 153, 153, 255); $this.$flipTexture = $var63 != 4 ? 0 : 1; var$10 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 4); if (var$10 === null) { if (jl_System_outCache === null) { var$11 = new otcic_JSStdoutPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); var$11.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); var$11.$sb = var$12; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$11; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$10 === null) l: { m: { var$10 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break m; default: break m; } var$10 = var$10.$textureMapBlocks.$missingImage; break l; } var$10 = var$10.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXNeg($this, $par1Block, var$17, var$20, var$22, var$10); } if ($var62 != 5 && !(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2 + 1 | 0, $par3, $par4, 5))) { if ($this.$renderMaxZ >= 1.0) $var25 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2 + 1 | 0, $par3, $par4); $var5.$hasBrightness = 1; $var5.$brightness = $var25; nlea_Tessellator_setColorRGBA($var5, 153, 153, 153, 255); $this.$flipTexture = $var63 != 5 ? 0 : 1; var$10 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 5); if (var$10 === null) { if (jl_System_outCache === null) { $var5 = new otcic_JSStdoutPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); $var5.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); $var5.$sb = var$11; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var5; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$10 === null) n: { o: { var$10 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break o; default: break o; } var$10 = var$10.$textureMapBlocks.$missingImage; break n; } var$10 = var$10.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXPos($this, $par1Block, var$17, var$20, var$22, var$10); } $this.$flipTexture = 0; return 1; }, nms_RenderBlocks_renderBlockBrewingStand = ($this, $par1BlockBrewingStand, $par2, $par3, $par4) => { let $var5, var$6, $var17, $var13, $var11, var$10, var$11, var$12, $var33, $var14, $var16, $var24, $var28, var$18, $var18, $var20, $var22, $var26, $var30, $var6; nms_RenderBlocks_setRenderBounds($this, 0.4375, 0.0, 0.4375, 0.5625, 0.875, 0.5625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockBrewingStand, $par2, $par3, $par4); $this.$overrideBlockTexture = $par1BlockBrewingStand.$theIcon0; $this.$renderAllFaces = 1; nms_RenderBlocks_setRenderBounds($this, 0.5625, 0.0, 0.3125, 0.9375, 0.125, 0.6875); nms_RenderBlocks_renderStandardBlock($this, $par1BlockBrewingStand, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.125, 0.0, 0.0625, 0.5, 0.125, 0.4375); nms_RenderBlocks_renderStandardBlock($this, $par1BlockBrewingStand, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.125, 0.0, 0.5625, 0.5, 0.125, 0.9375); nms_RenderBlocks_renderStandardBlock($this, $par1BlockBrewingStand, $par2, $par3, $par4); $this.$renderAllFaces = 0; $this.$overrideBlockTexture = null; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; var$6 = $this.$blockAccess; nms_Block_$callClinit(); $var17 = var$6.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[var$6.$getBlockId($par2, $par3, $par4)]); $var5.$hasBrightness = 1; $var5.$brightness = $var17; $var13 = 1.0; nms_EntityRenderer_$callClinit(); if (!nms_EntityRenderer_anaglyphEnable) { $var11 = $var13; var$10 = $var13; } else { $var11 = 1.0; $var13 = 1.0; var$10 = $var13; } nlea_Tessellator_setColorRGBA($var5, 1.0 * $var11 * 255.0 | 0, 1.0 * var$10 * 255.0 | 0, 1.0 * $var13 * 255.0 | 0, 255); var$11 = $par1BlockBrewingStand.$blockIcon; if (var$11 === null) { if (jl_System_outCache === null) { var$6 = new otcic_JSStdoutPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); var$6.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); var$6.$sb = var$12; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$6; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) a: { b: { var$6 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$11 = var$6.$textureMapBlocks.$missingImage; break a; } var$11 = var$6.$textureMapItems.$missingTextureStiched; } var$6 = $this.$overrideBlockTexture; if (!(var$6 === null ? 0 : 1)) var$6 = var$11; $var33 = var$6.$getMinV(); $var14 = var$6.$getMaxV(); $var16 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); $var17 = 0; $var24 = $par2 + 0.5; $var28 = $par4 + 0.5; var$18 = $par3 + 1 | 0; $var13 = $var33; $var33 = $par3 + 0 | 0; $var11 = $var14; while ($var17 < 3) { $var18 = $var17 * 3.141592653589793 * 2.0 / 3.0 + 1.5707963267948966; $var20 = var$6.$getInterpolatedU(8.0); $var22 = var$6.$getMaxU(); if ($var16 & 1 << $var17) $var22 = var$6.$getMinU(); $var26 = $var24 + jl_Math_sin($var18) * 8.0 / 16.0; $var30 = $var28 + jl_Math_cos($var18) * 8.0 / 16.0; $var5.$hasTexture = 1; var$10 = $var20; $var5.$textureU = var$10; $var5.$textureV = $var13; nlea_Tessellator_addVertex($var5, $var24, var$18, $var28); $var5.$hasTexture = 1; $var5.$textureU = var$10; $var5.$textureV = $var11; nlea_Tessellator_addVertex($var5, $var24, $var33, $var28); $var5.$hasTexture = 1; $var6 = $var22; $var5.$textureU = $var6; $var5.$textureV = $var11; nlea_Tessellator_addVertex($var5, $var26, $var33, $var30); $var5.$hasTexture = 1; $var5.$textureU = $var6; $var5.$textureV = $var13; nlea_Tessellator_addVertex($var5, $var26, var$18, $var30); $var5.$hasTexture = 1; $var5.$textureU = $var6; $var5.$textureV = $var13; nlea_Tessellator_addVertex($var5, $var26, var$18, $var30); $var5.$hasTexture = 1; $var5.$textureU = $var6; $var5.$textureV = $var11; nlea_Tessellator_addVertex($var5, $var26, $var33, $var30); $var5.$hasTexture = 1; $var5.$textureU = var$10; $var5.$textureV = $var11; nlea_Tessellator_addVertex($var5, $var24, $var33, $var28); $var5.$hasTexture = 1; $var5.$textureU = var$10; $var5.$textureV = $var13; nlea_Tessellator_addVertex($var5, $var24, var$18, $var28); $var17 = $var17 + 1 | 0; } $par1BlockBrewingStand.$minX0 = 0.0; $par1BlockBrewingStand.$minY0 = 0.0; $par1BlockBrewingStand.$minZ0 = 0.0; $par1BlockBrewingStand.$maxX0 = 1.0; $par1BlockBrewingStand.$maxY0 = 0.125; $par1BlockBrewingStand.$maxZ0 = 1.0; return 1; }, nms_RenderBlocks_renderBlockCauldron = ($this, $par1BlockCauldron, $par2, $par3, $par4) => { let $var5, $var15, var$7, $var13, $var11, $var12, var$11, var$12, var$13, var$14, $var14, $var17; nms_RenderBlocks_renderStandardBlock($this, $par1BlockCauldron, $par2, $par3, $par4); nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; $var15 = $this.$blockAccess; nms_Block_$callClinit(); var$7 = $var15.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[$var15.$getBlockId($par2, $par3, $par4)]); $var5.$hasBrightness = 1; $var5.$brightness = var$7; $var13 = 1.0; nms_EntityRenderer_$callClinit(); if (!nms_EntityRenderer_anaglyphEnable) { $var11 = $var13; $var12 = $var13; } else { $var11 = 1.0; $var13 = 1.0; $var12 = $var13; } nlea_Tessellator_setColorRGBA($var5, 1.0 * $var11 * 255.0 | 0, 1.0 * $var12 * 255.0 | 0, 1.0 * $var13 * 255.0 | 0, 255); $var15 = $par1BlockCauldron.$blockIcon; $var11 = $par2; var$11 = $var11 - 1.0 + 0.125; var$12 = $par3; var$13 = $par4; nms_RenderBlocks_renderFaceXPos($this, $par1BlockCauldron, var$11, var$12, var$13, $var15); nms_RenderBlocks_renderFaceXNeg($this, $par1BlockCauldron, $var11 + 1.0 - 0.125, var$12, var$13, $var15); var$14 = $par2; $var11 = $par4; nms_RenderBlocks_renderFaceZPos($this, $par1BlockCauldron, var$14, var$12, $var11 - 1.0 + 0.125, $var15); nms_RenderBlocks_renderFaceZNeg($this, $par1BlockCauldron, var$14, var$12, $var11 + 1.0 - 0.125, $var15); if ($rt_s(1154) === $rt_s(1154)) $var14 = 1; else if (!($rt_s(1154) instanceof jl_String)) $var14 = 0; else { $var15 = $rt_s(1154); $var14 = $rt_s(1154).$nativeString !== $var15.$nativeString ? 0 : 1; } if ($var14) $var17 = nms_Block_cauldron.$field_94378_a; else { if ($rt_s(1154) === $rt_s(1155)) $var14 = 1; else if (!($rt_s(1155) instanceof jl_String)) $var14 = 0; else { $var15 = $rt_s(1155); $var14 = $rt_s(1154).$nativeString !== $var15.$nativeString ? 0 : 1; } $var17 = !$var14 ? null : nms_Block_cauldron.$cauldronBottomIcon; } $var11 = $par3; $var13 = $var11 - 1.0; nms_RenderBlocks_renderFaceYPos($this, $par1BlockCauldron, var$14, $var13 + 0.25, var$13, $var17); nms_RenderBlocks_renderFaceYNeg($this, $par1BlockCauldron, var$14, $var11 + 1.0 - 0.75, var$13, $var17); $var14 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); if ($var14 > 0) { $var15 = nms_BlockFluid_getFluidIcon($rt_s(1156)); if ($var14 > 3) $var14 = 3; nms_RenderBlocks_renderFaceYPos($this, $par1BlockCauldron, var$14, $var13 + (6.0 + $var14 * 3.0) / 16.0, var$13, $var15); } return 1; }, nms_RenderBlocks_renderBlockFlowerpot = ($this, $par1BlockFlowerPot, $par2, $par3, $par4) => { let $var5, $var17, var$7, var$8, var$9, $var14, $var12, var$12, var$13, var$14, var$15, var$16, $var19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var19 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var12 = $thread.pop();$var14 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var17 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1BlockFlowerPot = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderBlocks_renderStandardBlock($this, $par1BlockFlowerPot, $par2, $par3, $par4); nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; $var17 = $this.$blockAccess; nms_Block_$callClinit(); var$7 = $var17.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[$var17.$getBlockId($par2, $par3, $par4)]); $var5.$hasBrightness = 1; $var5.$brightness = var$7; var$8 = $par1BlockFlowerPot.$blockIcon; if (var$8 === null) { if (jl_System_outCache === null) { var$9 = new otcic_JSStdoutPrintStream; $var17 = new ji_ByteArrayOutputStream; $var17.$buf = $rt_createByteArray(32); var$9.$out0 = $var17; $var17 = new jl_StringBuilder; $var17.$buffer = $rt_createCharArray(16); var$9.$sb = $var17; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$9; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$8 === null) a: { b: { $var17 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$8 = $var17.$textureMapBlocks.$missingImage; break a; } var$8 = $var17.$textureMapItems.$missingTextureStiched; } $var14 = 1.0; nms_EntityRenderer_$callClinit(); if (!nms_EntityRenderer_anaglyphEnable) { $var12 = $var14; var$12 = $var14; } else { $var12 = 1.0; $var14 = 1.0; var$12 = $var14; } nlea_Tessellator_setColorRGBA($var5, 1.0 * $var12 * 255.0 | 0, 1.0 * var$12 * 255.0 | 0, 1.0 * $var14 * 255.0 | 0, 255); $var14 = $par2; var$13 = $var14 - 0.5 + 0.18649999797344208; var$14 = $par3; var$15 = $par4; nms_RenderBlocks_renderFaceXPos($this, $par1BlockFlowerPot, var$13, var$14, var$15, var$8); nms_RenderBlocks_renderFaceXNeg($this, $par1BlockFlowerPot, $var14 + 0.5 - 0.18649999797344208, var$14, var$15, var$8); var$16 = $par2; var$12 = $par4; nms_RenderBlocks_renderFaceZPos($this, $par1BlockFlowerPot, var$16, var$14, var$12 - 0.5 + 0.18649999797344208, var$8); nms_RenderBlocks_renderFaceZNeg($this, $par1BlockFlowerPot, var$16, var$14, var$12 + 0.5 - 0.18649999797344208, var$8); var$13 = $par3 - 0.5 + 0.18649999797344208 + 0.1875; var$8 = nms_Block_dirt.$getIcon(1, 0); if (var$8 === null) { if (jl_System_outCache === null) { $var17 = new otcic_JSStdoutPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); $var17.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); $var17.$sb = var$9; $var17.$buffer0 = $rt_createCharArray(32); $var17.$autoFlush = 0; $var17.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var17; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$8 === null) c: { d: { $var17 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break d; default: break d; } var$8 = $var17.$textureMapBlocks.$missingImage; break c; } var$8 = $var17.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYPos($this, $par1BlockFlowerPot, var$16, var$13, var$15, var$8); $var19 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); if ($var19) { e: { f: { g: { $var17 = null; switch ($var19) { case 1: break; case 2: $var17 = nms_Block_plantYellow; break f; case 7: $var17 = nms_Block_mushroomRed; break e; case 8: $var17 = nms_Block_mushroomBrown; break e; case 3: case 4: case 5: case 6: break g; default: break g; } $var17 = nms_Block_plantRed; break e; } } } $var5.$xOffset = $var5.$xOffset + 0.0; $var5.$yOffset0 = $var5.$yOffset0 + 0.25; $var5.$zOffset = $var5.$zOffset + 0.0; if ($var17 !== null) { $ptr = 1; continue main; } if ($var19 == 9) { $this.$renderAllFaces = 1; nms_RenderBlocks_setRenderBounds($this, 0.375, 0.0, 0.375, 0.625, 0.25, 0.625); nms_RenderBlocks_renderStandardBlock($this, nms_Block_cactus, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.375, 0.25, 0.375, 0.625, 0.5, 0.625); nms_RenderBlocks_renderStandardBlock($this, nms_Block_cactus, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.375, 0.5, 0.375, 0.625, 0.75, 0.625); nms_RenderBlocks_renderStandardBlock($this, nms_Block_cactus, $par2, $par3, $par4); $this.$renderAllFaces = 0; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); } else if ($var19 == 3) nms_RenderBlocks_drawCrossedSquares($this, nms_Block_sapling, 0, var$16, var$14, var$15, 0.75); else if ($var19 == 5) nms_RenderBlocks_drawCrossedSquares($this, nms_Block_sapling, 2, var$16, var$14, var$15, 0.75); else if ($var19 == 4) nms_RenderBlocks_drawCrossedSquares($this, nms_Block_sapling, 1, var$16, var$14, var$15, 0.75); else if ($var19 == 6) nms_RenderBlocks_drawCrossedSquares($this, nms_Block_sapling, 3, var$16, var$14, var$15, 0.75); else if ($var19 == 11) { $par1BlockFlowerPot = $this.$blockAccess; $par3 = !$par1BlockFlowerPot.$getBlockMetadata($par2, $par3, $par4) ? 16777215 : ($par1BlockFlowerPot.$getBiomeGenForCoords($par2, $par4)).$getBiomeGrassColor(); nlea_Tessellator_setColorRGBA($var5, 1.0 * ($par3 >> 16 & 255) / 255.0 * 255.0 | 0, 1.0 * ($par3 >> 8 & 255) / 255.0 * 255.0 | 0, 1.0 * ($par3 & 255) / 255.0 * 255.0 | 0, 255); nms_RenderBlocks_drawCrossedSquares($this, nms_Block_tallGrass, 2, var$16, var$14, var$15, 0.75); } else if ($var19 == 10) nms_RenderBlocks_drawCrossedSquares($this, nms_Block_deadBush, 2, var$16, var$14, var$15, 0.75); $var5.$xOffset = $var5.$xOffset + -0.0; $var5.$yOffset0 = $var5.$yOffset0 + (-0.25); $var5.$zOffset = $var5.$zOffset + -0.0; } return 1; case 1: nms_RenderBlocks_renderBlockByRenderType($this, $var17, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var5.$xOffset = $var5.$xOffset + -0.0; $var5.$yOffset0 = $var5.$yOffset0 + (-0.25); $var5.$zOffset = $var5.$zOffset + -0.0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1BlockFlowerPot, $par2, $par3, $par4, $var5, $var17, var$7, var$8, var$9, $var14, $var12, var$12, var$13, var$14, var$15, var$16, $var19, $ptr); }, nms_RenderBlocks_renderBlockAnvilMetadata = ($this, $par1BlockAnvil, $par2, $par3, $par4, $par5) => { let $var6, var$7, var$8, $var14, $var12, var$11; nlea_Tessellator_$callClinit(); $var6 = nlea_Tessellator_instance; var$7 = $this.$blockAccess; nms_Block_$callClinit(); var$8 = var$7.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[var$7.$getBlockId($par2, $par3, $par4)]); $var6.$hasBrightness = 1; $var6.$brightness = var$8; $var14 = 1.0; nms_EntityRenderer_$callClinit(); if (!nms_EntityRenderer_anaglyphEnable) { $var12 = $var14; var$11 = $var14; } else { $var12 = 1.0; $var14 = 1.0; var$11 = $var14; } $var12 = 1.0 * $var12; var$11 = 1.0 * var$11; $var14 = 1.0 * $var14; nlea_Tessellator_setColorRGBA($var6, $var12 * 255.0 | 0, var$11 * 255.0 | 0, $var14 * 255.0 | 0, 255); return nms_RenderBlocks_renderBlockAnvilOrient($this, $par1BlockAnvil, $par2, $par3, $par4, $par5, 0); }, nms_RenderBlocks_renderBlockAnvilOrient = ($this, $par1BlockAnvil, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8; $var7 = $par6 ? 0 : $par5 & 3; a: { $var8 = 0; switch ($var7) { case 0: $this.$uvRotateSouth = 2; $this.$uvRotateNorth = 1; $this.$uvRotateTop = 3; $this.$uvRotateBottom = 3; break a; case 1: $this.$uvRotateEast = 1; $this.$uvRotateWest = 2; $this.$uvRotateTop = 2; $this.$uvRotateBottom = 1; $var8 = 1; break a; case 2: $this.$uvRotateSouth = 1; $this.$uvRotateNorth = 2; break a; case 3: $this.$uvRotateEast = 2; $this.$uvRotateWest = 1; $this.$uvRotateTop = 1; $this.$uvRotateBottom = 2; $var8 = 1; break a; default: } } nms_RenderBlocks_renderBlockAnvilRotate($this, $par1BlockAnvil, $par2, $par3, $par4, 3, nms_RenderBlocks_renderBlockAnvilRotate($this, $par1BlockAnvil, $par2, $par3, $par4, 2, nms_RenderBlocks_renderBlockAnvilRotate($this, $par1BlockAnvil, $par2, $par3, $par4, 1, nms_RenderBlocks_renderBlockAnvilRotate($this, $par1BlockAnvil, $par2, $par3, $par4, 0, 0.0, 0.75, 0.25, 0.75, $var8, $par6, $par5), 0.5, 0.0625, 0.625, $var8, $par6, $par5), 0.25, 0.3125, 0.5, $var8, $par6, $par5), 0.625, 0.375, 1.0, $var8, $par6, $par5); nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); $this.$uvRotateEast = 0; $this.$uvRotateWest = 0; $this.$uvRotateSouth = 0; $this.$uvRotateNorth = 0; $this.$uvRotateTop = 0; $this.$uvRotateBottom = 0; return 1; }, nms_RenderBlocks_renderBlockAnvilRotate = ($this, $par1BlockAnvil, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $par11, $par12) => { let var$13, var$14, var$15, var$16, var$17, $var14, var$19, var$20, var$21, var$22; if (!$par10) { var$13 = $par9; $par9 = $par7; $par7 = var$13; } $par9 = $par9 / 2.0; var$13 = $par7 / 2.0; $par1BlockAnvil.$field_82521_b = $par5; var$14 = 0.5 - $par9; var$15 = $par6; var$16 = 0.5 - var$13; var$17 = 0.5 + $par9; $par7 = $par6 + $par8; nms_RenderBlocks_setRenderBounds($this, var$14, var$15, var$16, var$17, $par7, 0.5 + var$13); if ($par11) { nlea_Tessellator_$callClinit(); $var14 = nlea_Tessellator_instance; if ($var14.$isDrawing) nlea_Tessellator_draw($var14); $var14.$isDrawing = 1; $var14.$vertexCount = 0; $var14.$rawBufferIndex = 0; $var14.$addedVertices = 0; $var14.$drawMode = 7; $var14.$hasNormals = 0; $var14.$hasColor = 0; $var14.$hasTexture = 0; $var14.$hasBrightness = 0; $var14.$isColorDisabled = 0; nlea_Tessellator_setNormal($var14, 0.0, (-1.0), 0.0); var$19 = $par1BlockAnvil.$blockIcon; if (var$19 === null) { if (jl_System_outCache === null) { var$20 = new otcic_JSStdoutPrintStream; var$21 = new ji_ByteArrayOutputStream; var$21.$buf = $rt_createByteArray(32); var$20.$out0 = var$21; var$21 = new jl_StringBuilder; var$21.$buffer = $rt_createCharArray(16); var$20.$sb = var$21; var$20.$buffer0 = $rt_createCharArray(32); var$20.$autoFlush = 0; var$20.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$20; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$19 === null) a: { b: { var$19 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$19 = var$19.$textureMapBlocks.$missingImage; break a; } var$19 = var$19.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYNeg($this, $par1BlockAnvil, 0.0, 0.0, 0.0, var$19); nlea_Tessellator_draw($var14); if ($var14.$isDrawing) nlea_Tessellator_draw($var14); $var14.$isDrawing = 1; $var14.$vertexCount = 0; $var14.$rawBufferIndex = 0; $var14.$addedVertices = 0; $var14.$drawMode = 7; $var14.$hasNormals = 0; $var14.$hasColor = 0; $var14.$hasTexture = 0; $var14.$hasBrightness = 0; $var14.$isColorDisabled = 0; nlea_Tessellator_setNormal($var14, 0.0, 1.0, 0.0); if ($par1BlockAnvil.$field_82521_b != 3) var$19 = $par1BlockAnvil.$blockIcon; else { $par2 = $par12 >> 2; var$22 = $par1BlockAnvil.$iconArray8.data; var$19 = var$22[$par2 % var$22.length | 0]; } if (var$19 === null) { if (jl_System_outCache === null) { var$20 = new otcic_JSStdoutPrintStream; var$21 = new ji_ByteArrayOutputStream; var$21.$buf = $rt_createByteArray(32); var$20.$out0 = var$21; var$21 = new jl_StringBuilder; var$21.$buffer = $rt_createCharArray(16); var$20.$sb = var$21; var$20.$buffer0 = $rt_createCharArray(32); var$20.$autoFlush = 0; var$20.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$20; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$19 === null) c: { d: { var$19 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break d; default: break d; } var$19 = var$19.$textureMapBlocks.$missingImage; break c; } var$19 = var$19.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYPos($this, $par1BlockAnvil, 0.0, 0.0, 0.0, var$19); nlea_Tessellator_draw($var14); if ($var14.$isDrawing) nlea_Tessellator_draw($var14); $var14.$isDrawing = 1; $var14.$vertexCount = 0; $var14.$rawBufferIndex = 0; $var14.$addedVertices = 0; $var14.$drawMode = 7; $var14.$hasNormals = 0; $var14.$hasColor = 0; $var14.$hasTexture = 0; $var14.$hasBrightness = 0; $var14.$isColorDisabled = 0; nlea_Tessellator_setNormal($var14, 0.0, 0.0, (-1.0)); var$19 = $par1BlockAnvil.$blockIcon; if (var$19 === null) { if (jl_System_outCache === null) { var$20 = new otcic_JSStdoutPrintStream; var$21 = new ji_ByteArrayOutputStream; var$21.$buf = $rt_createByteArray(32); var$20.$out0 = var$21; var$21 = new jl_StringBuilder; var$21.$buffer = $rt_createCharArray(16); var$20.$sb = var$21; var$20.$buffer0 = $rt_createCharArray(32); var$20.$autoFlush = 0; var$20.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$20; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$19 === null) e: { f: { var$19 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break f; default: break f; } var$19 = var$19.$textureMapBlocks.$missingImage; break e; } var$19 = var$19.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZNeg($this, $par1BlockAnvil, 0.0, 0.0, 0.0, var$19); nlea_Tessellator_draw($var14); if ($var14.$isDrawing) nlea_Tessellator_draw($var14); $var14.$isDrawing = 1; $var14.$vertexCount = 0; $var14.$rawBufferIndex = 0; $var14.$addedVertices = 0; $var14.$drawMode = 7; $var14.$hasNormals = 0; $var14.$hasColor = 0; $var14.$hasTexture = 0; $var14.$hasBrightness = 0; $var14.$isColorDisabled = 0; nlea_Tessellator_setNormal($var14, 0.0, 0.0, 1.0); var$20 = $par1BlockAnvil.$blockIcon; if (var$20 === null) { if (jl_System_outCache === null) { var$19 = new otcic_JSStdoutPrintStream; var$21 = new ji_ByteArrayOutputStream; var$21.$buf = $rt_createByteArray(32); var$19.$out0 = var$21; var$21 = new jl_StringBuilder; var$21.$buffer = $rt_createCharArray(16); var$19.$sb = var$21; var$19.$buffer0 = $rt_createCharArray(32); var$19.$autoFlush = 0; var$19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$19; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$20 === null) g: { h: { var$19 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break h; default: break h; } var$20 = var$19.$textureMapBlocks.$missingImage; break g; } var$20 = var$19.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZPos($this, $par1BlockAnvil, 0.0, 0.0, 0.0, var$20); nlea_Tessellator_draw($var14); if ($var14.$isDrawing) nlea_Tessellator_draw($var14); $var14.$isDrawing = 1; $var14.$vertexCount = 0; $var14.$rawBufferIndex = 0; $var14.$addedVertices = 0; $var14.$drawMode = 7; $var14.$hasNormals = 0; $var14.$hasColor = 0; $var14.$hasTexture = 0; $var14.$hasBrightness = 0; $var14.$isColorDisabled = 0; nlea_Tessellator_setNormal($var14, (-1.0), 0.0, 0.0); var$20 = $par1BlockAnvil.$blockIcon; if (var$20 === null) { if (jl_System_outCache === null) { var$19 = new otcic_JSStdoutPrintStream; var$21 = new ji_ByteArrayOutputStream; var$21.$buf = $rt_createByteArray(32); var$19.$out0 = var$21; var$21 = new jl_StringBuilder; var$21.$buffer = $rt_createCharArray(16); var$19.$sb = var$21; var$19.$buffer0 = $rt_createCharArray(32); var$19.$autoFlush = 0; var$19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$19; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$20 === null) i: { j: { var$19 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break j; default: break j; } var$20 = var$19.$textureMapBlocks.$missingImage; break i; } var$20 = var$19.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXNeg($this, $par1BlockAnvil, 0.0, 0.0, 0.0, var$20); nlea_Tessellator_draw($var14); if ($var14.$isDrawing) nlea_Tessellator_draw($var14); $var14.$isDrawing = 1; $var14.$vertexCount = 0; $var14.$rawBufferIndex = 0; $var14.$addedVertices = 0; $var14.$drawMode = 7; $var14.$hasNormals = 0; $var14.$hasColor = 0; $var14.$hasTexture = 0; $var14.$hasBrightness = 0; $var14.$isColorDisabled = 0; nlea_Tessellator_setNormal($var14, 1.0, 0.0, 0.0); var$20 = $par1BlockAnvil.$blockIcon; if (var$20 === null) { if (jl_System_outCache === null) { var$19 = new otcic_JSStdoutPrintStream; var$21 = new ji_ByteArrayOutputStream; var$21.$buf = $rt_createByteArray(32); var$19.$out0 = var$21; var$21 = new jl_StringBuilder; var$21.$buffer = $rt_createCharArray(16); var$19.$sb = var$21; var$19.$buffer0 = $rt_createCharArray(32); var$19.$autoFlush = 0; var$19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$19; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$20 === null) k: { l: { var$19 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break l; default: break l; } var$20 = var$19.$textureMapBlocks.$missingImage; break k; } var$20 = var$19.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXPos($this, $par1BlockAnvil, 0.0, 0.0, 0.0, var$20); nlea_Tessellator_draw($var14); } else nms_RenderBlocks_renderStandardBlock($this, $par1BlockAnvil, $par2, $par3, $par4); return $par7; }, nms_RenderBlocks_renderBlockTorch = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, $var6, var$7; $var5 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); nlea_Tessellator_$callClinit(); $var6 = nlea_Tessellator_instance; var$7 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); $var6.$hasBrightness = 1; $var6.$brightness = var$7; nlea_Tessellator_setColorRGBA($var6, 255, 255, 255, 255); if ($var5 == 1) nms_RenderBlocks_renderTorchAtAngle($this, $par1Block, $par2 - 0.09999999403953552, $par3 + 0.20000000298023224, $par4, (-0.4000000059604645), 0.0, 0); else if ($var5 == 2) nms_RenderBlocks_renderTorchAtAngle($this, $par1Block, $par2 + 0.09999999403953552, $par3 + 0.20000000298023224, $par4, 0.4000000059604645, 0.0, 0); else if ($var5 == 3) nms_RenderBlocks_renderTorchAtAngle($this, $par1Block, $par2, $par3 + 0.20000000298023224, $par4 - 0.09999999403953552, 0.0, (-0.4000000059604645), 0); else if ($var5 != 4) nms_RenderBlocks_renderTorchAtAngle($this, $par1Block, $par2, $par3, $par4, 0.0, 0.0, 0); else nms_RenderBlocks_renderTorchAtAngle($this, $par1Block, $par2, $par3 + 0.20000000298023224, $par4 + 0.09999999403953552, 0.0, 0.4000000059604645, 0); return 1; }, nms_RenderBlocks_renderBlockRepeater = ($this, $par1BlockRedstoneRepeater, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, var$9, var$10, $var9, $var11, $var12, $var14, $var16, $var18, var$17, var$18, $var21, $var22, $var23, $var24, var$23, var$24, var$25, var$26, var$27, $var25, var$29, $var31, $var27, $var29, var$33, var$34, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();$var29 = $thread.pop();$var27 = $thread.pop();$var31 = $thread.pop();var$29 = $thread.pop();$var25 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1BlockRedstoneRepeater = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); $var6 = $var5 & 3; $var7 = ($var5 & 12) >> 2; nlea_Tessellator_$callClinit(); $var8 = nlea_Tessellator_instance; var$9 = $this.$blockAccess; nms_Block_$callClinit(); var$10 = var$9.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[var$9.$getBlockId($par2, $par3, $par4)]); $var8.$hasBrightness = 1; $var8.$brightness = var$10; var$10 = 255; nlea_Tessellator_setColorRGBA($var8, var$10, var$10, var$10, 255); $var9 = (-0.1875); var$9 = $this.$blockAccess; $ptr = 1; case 1: $tmp = nms_BlockRedstoneLogic_func_94482_f($par1BlockRedstoneRepeater, var$9, $par2, $par3, $par4, $var5); if ($rt_suspending()) { break main; } $var5 = $tmp; $var11 = $var5 <= 0 ? 0 : 1; a: { $var12 = 0.0; $var14 = 0.0; $var16 = 0.0; $var18 = 0.0; switch ($var6) { case 0: $var18 = (-0.3125); $var14 = nms_BlockRedstoneRepeater_repeaterTorchOffset.data[$var7]; break a; case 1: $var16 = 0.3125; $var12 = -nms_BlockRedstoneRepeater_repeaterTorchOffset.data[$var7]; break a; case 2: $var18 = 0.3125; $var14 = -nms_BlockRedstoneRepeater_repeaterTorchOffset.data[$var7]; break a; case 3: $var16 = (-0.3125); $var12 = nms_BlockRedstoneRepeater_repeaterTorchOffset.data[$var7]; break a; default: } } if (!$var11) nms_RenderBlocks_renderTorchAtAngle($this, $par1BlockRedstoneRepeater, $par2 + $var12, $par3 + $var9, $par4 + $var14, 0.0, 0.0, 0); else { var$9 = nms_Block_bedrock.$getIcon(1, 0); if (var$9 === null) { if (jl_System_outCache === null) { var$17 = new otcic_JSStdoutPrintStream; var$18 = new ji_ByteArrayOutputStream; var$18.$buf = $rt_createByteArray(32); var$17.$out0 = var$18; var$18 = new jl_StringBuilder; var$18.$buffer = $rt_createCharArray(16); var$17.$sb = var$18; var$17.$buffer0 = $rt_createCharArray(32); var$17.$autoFlush = 0; var$17.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$17; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$9 === null) b: { c: { var$9 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break c; default: break c; } var$9 = var$9.$textureMapBlocks.$missingImage; break b; } var$9 = var$9.$textureMapItems.$missingTextureStiched; } d: { $this.$overrideBlockTexture = var$9; $var21 = 2.0; $var22 = 14.0; $var23 = 7.0; $var24 = 9.0; switch ($var6) { case 1: case 3: $var21 = 7.0; $var22 = 9.0; $var23 = 2.0; $var24 = 14.0; break d; case 0: case 2: break; default: } } var$23 = $var21 / 16.0; var$24 = $var12; var$25 = var$23 + var$24; var$26 = $var23 / 16.0; var$27 = $var14; $var25 = var$26 + var$27; var$29 = $var22 / 16.0; $var31 = var$29 + var$24; var$24 = $var24 / 16.0; nms_RenderBlocks_setRenderBounds($this, var$25, 0.125, $var25, $var31, 0.25, var$24 + var$27); $var25 = var$9.$getInterpolatedU($var21); $var27 = var$9.$getInterpolatedV($var23); $var29 = var$9.$getInterpolatedU($var22); $var31 = var$9.$getInterpolatedV($var24); $var23 = $par2; var$33 = $var23 + var$23 + $var12; var$25 = $par3 + 0.25; $var21 = $par4; var$34 = $var21 + var$26 + $var14; $var8.$hasTexture = 1; $var22 = $var25; $var8.$textureU = $var22; $var24 = $var27; $var8.$textureV = $var24; nlea_Tessellator_addVertex($var8, var$33, var$25, var$34); $var25 = $var21 + var$24 + $var14; $var8.$hasTexture = 1; $var8.$textureU = $var22; $var22 = $var31; $var8.$textureV = $var22; nlea_Tessellator_addVertex($var8, var$33, var$25, $var25); $var27 = $var23 + var$29 + $var12; $var8.$hasTexture = 1; $var21 = $var29; $var8.$textureU = $var21; $var8.$textureV = $var22; nlea_Tessellator_addVertex($var8, $var27, var$25, $var25); $var8.$hasTexture = 1; $var8.$textureU = $var21; $var8.$textureV = $var24; nlea_Tessellator_addVertex($var8, $var27, var$25, var$34); nms_RenderBlocks_renderStandardBlock($this, $par1BlockRedstoneRepeater, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 0.125, 1.0); $this.$overrideBlockTexture = null; } var$9 = $this.$blockAccess; $var6 = var$9.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[var$9.$getBlockId($par2, $par3, $par4)]); $var8.$hasBrightness = 1; $var8.$brightness = $var6; nlea_Tessellator_setColorRGBA($var8, var$10, var$10, var$10, 255); nms_RenderBlocks_renderTorchAtAngle($this, $par1BlockRedstoneRepeater, $par2 + $var16, $par3 + $var9, $par4 + $var18, 0.0, 0.0, 0); nms_RenderBlocks_renderBlockRedstoneLogicMetadata($this, $par1BlockRedstoneRepeater, $par2, $par3, $par4, $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4) & 3); return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1BlockRedstoneRepeater, $par2, $par3, $par4, $var5, $var6, $var7, $var8, var$9, var$10, $var9, $var11, $var12, $var14, $var16, $var18, var$17, var$18, $var21, $var22, $var23, $var24, var$23, var$24, var$25, var$26, var$27, $var25, var$29, $var31, $var27, $var29, var$33, var$34, $ptr); }, nms_RenderBlocks_renderBlockComparator = ($this, $par1BlockComparator, $par2, $par3, $par4) => { let $var5, $var18, var$7, $var6, $var7, $var8, $var10, $var12, $var14, $var16, var$15, var$16, var$17, var$18, var$19, var$20; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; $var18 = $this.$blockAccess; nms_Block_$callClinit(); var$7 = $var18.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[$var18.$getBlockId($par2, $par3, $par4)]); $var5.$hasBrightness = 1; $var5.$brightness = var$7; nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); $var6 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); $var7 = $var6 & 3; $var8 = 0.0; $var10 = (-0.1875); $var12 = 0.0; $var14 = 0.0; $var16 = 0.0; if (!(($var6 & 4) != 4 ? 0 : 1)) { $var10 = (-0.375); $var18 = nms_Block_torchRedstoneIdle.$getIcon(0, 0); } else $var18 = nms_Block_torchRedstoneActive.$getIcon(0, 0); a: { switch ($var7) { case 0: $var12 = (-0.3125); $var16 = 1.0; break a; case 1: $var8 = 0.3125; $var14 = (-1.0); break a; case 2: $var12 = 0.3125; $var16 = (-1.0); break a; case 3: $var8 = (-0.3125); $var14 = 1.0; break a; default: } } var$15 = $par2; var$16 = var$15 + 0.25 * $var14; var$17 = var$16 + 0.1875 * $var16; var$18 = $par3 - 0.1875; var$19 = $par4; var$20 = var$19 + 0.25 * $var16; nms_RenderBlocks_renderTorchAtAngle($this, $par1BlockComparator, var$17, var$18, var$20 + 0.1875 * $var14, 0.0, 0.0, $var6); nms_RenderBlocks_renderTorchAtAngle($this, $par1BlockComparator, var$16 + (-0.1875) * $var16, var$18, var$20 + (-0.1875) * $var14, 0.0, 0.0, $var6); $this.$overrideBlockTexture = $var18; nms_RenderBlocks_renderTorchAtAngle($this, $par1BlockComparator, var$15 + $var8, $par3 + $var10, var$19 + $var12, 0.0, 0.0, $var6); $this.$overrideBlockTexture = null; nms_RenderBlocks_renderBlockRedstoneLogicMetadata($this, $par1BlockComparator, $par2, $par3, $par4, $var7); return 1; }, nms_RenderBlocks_renderBlockRedstoneLogicMetadata = ($this, $par1BlockRedstoneLogic, $par2, $par3, $par4, $par5) => { let $var6, var$7, var$8, var$9, $var9, $var11, $var13, $var15, $var19, $var23, $var27, $var29, $var35, var$19, var$20, var$21, var$22, var$23, $var17, var$25, var$26, var$27; nms_RenderBlocks_renderStandardBlock($this, $par1BlockRedstoneLogic, $par2, $par3, $par4); nlea_Tessellator_$callClinit(); $var6 = nlea_Tessellator_instance; var$7 = $this.$blockAccess; nms_Block_$callClinit(); var$8 = var$7.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[var$7.$getBlockId($par2, $par3, $par4)]); $var6.$hasBrightness = 1; $var6.$brightness = var$8; nlea_Tessellator_setColorRGBA($var6, 255, 255, 255, 255); $par1BlockRedstoneLogic = $par1BlockRedstoneLogic.$getIcon(1, $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4)); if ($par1BlockRedstoneLogic === null) { if (jl_System_outCache === null) { var$7 = new otcic_JSStdoutPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); var$7.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$7.$sb = var$9; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$7; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($par1BlockRedstoneLogic === null) a: { b: { $par1BlockRedstoneLogic = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $par1BlockRedstoneLogic = $par1BlockRedstoneLogic.$textureMapBlocks.$missingImage; break a; } $par1BlockRedstoneLogic = $par1BlockRedstoneLogic.$textureMapItems.$missingTextureStiched; } $var9 = $par1BlockRedstoneLogic.$getMinU(); $var11 = $par1BlockRedstoneLogic.$getMaxU(); $var13 = $par1BlockRedstoneLogic.$getMinV(); $var15 = $par1BlockRedstoneLogic.$getMaxV(); $var19 = $par2 + 1 | 0; $var23 = $par2 + 0 | 0; $var27 = $par4 + 0 | 0; $var29 = $par4 + 1 | 0; $var35 = $par3 + 0.125; if ($par5 == 2) { var$19 = $var23; var$20 = $var19; var$21 = $var29; var$22 = $var27; } else if ($par5 == 3) { var$19 = $var19; var$23 = $var23; var$20 = $var23; var$21 = $var29; $var17 = $var27; var$22 = $var29; $var23 = var$23; $var29 = $var17; } else if ($par5 != 1) { var$19 = $var19; var$20 = $var23; var$23 = $var23; var$21 = $var27; var$22 = $var29; $var17 = $var29; $var23 = $var19; $var19 = var$23; $var29 = $var27; $var27 = $var17; } else { var$19 = $var23; var$20 = $var19; var$22 = $var23; var$21 = $var27; var$23 = $var29; $var17 = $var29; $var23 = var$20; var$20 = $var19; $var19 = var$22; $var29 = var$23; var$22 = $var27; $var27 = $var17; } $var6.$hasTexture = 1; var$25 = $var9; $var6.$textureU = var$25; var$26 = $var13; $var6.$textureV = var$26; nlea_Tessellator_addVertex($var6, var$20, $var35, var$21); $var6.$hasTexture = 1; $var6.$textureU = var$25; var$27 = $var15; $var6.$textureV = var$27; nlea_Tessellator_addVertex($var6, $var19, $var35, var$22); $var6.$hasTexture = 1; var$25 = $var11; $var6.$textureU = var$25; $var6.$textureV = var$27; nlea_Tessellator_addVertex($var6, var$19, $var35, $var27); $var6.$hasTexture = 1; $var6.$textureU = var$25; $var6.$textureV = var$26; nlea_Tessellator_addVertex($var6, $var23, $var35, $var29); }, nms_RenderBlocks_renderPistonBase = ($this, $par1Block, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; $var6 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); $var7 = !$par5 && !($var6 & 8) ? 0 : 1; $var8 = $var6 & 7; if (!$var7) { a: { b: { switch ($var8) { case 0: $this.$uvRotateEast = 3; $this.$uvRotateWest = 3; $this.$uvRotateSouth = 3; $this.$uvRotateNorth = 3; break b; case 1: break b; case 2: break; case 3: $this.$uvRotateSouth = 2; $this.$uvRotateNorth = 1; $this.$uvRotateTop = 3; $this.$uvRotateBottom = 3; break a; case 4: $this.$uvRotateEast = 1; $this.$uvRotateWest = 2; $this.$uvRotateTop = 2; $this.$uvRotateBottom = 1; break a; case 5: $this.$uvRotateEast = 2; $this.$uvRotateWest = 1; $this.$uvRotateTop = 1; $this.$uvRotateBottom = 2; break a; default: break b; } $this.$uvRotateSouth = 1; $this.$uvRotateNorth = 2; break a; } } nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); $this.$uvRotateEast = 0; $this.$uvRotateWest = 0; $this.$uvRotateSouth = 0; $this.$uvRotateNorth = 0; $this.$uvRotateTop = 0; $this.$uvRotateBottom = 0; } else { c: { switch ($var8) { case 0: $this.$uvRotateEast = 3; $this.$uvRotateWest = 3; $this.$uvRotateSouth = 3; $this.$uvRotateNorth = 3; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.25, 0.0, 1.0, 1.0, 1.0); break c; case 1: break; case 2: $this.$uvRotateSouth = 1; $this.$uvRotateNorth = 2; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.25, 1.0, 1.0, 1.0); break c; case 3: $this.$uvRotateSouth = 2; $this.$uvRotateNorth = 1; $this.$uvRotateTop = 3; $this.$uvRotateBottom = 3; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 0.75); break c; case 4: $this.$uvRotateEast = 1; $this.$uvRotateWest = 2; $this.$uvRotateTop = 2; $this.$uvRotateBottom = 1; nms_RenderBlocks_setRenderBounds($this, 0.25, 0.0, 0.0, 1.0, 1.0, 1.0); break c; case 5: $this.$uvRotateEast = 2; $this.$uvRotateWest = 1; $this.$uvRotateTop = 1; $this.$uvRotateBottom = 2; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 0.75, 1.0, 1.0); break c; default: break c; } nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 0.75, 1.0); } var$9 = $par1Block; var$10 = $this.$renderMinX; var$11 = $this.$renderMinY; var$12 = $this.$renderMinZ; var$13 = $this.$renderMaxX; var$14 = $this.$renderMaxY; var$15 = $this.$renderMaxZ; var$9.$minX0 = var$10; var$9.$minY0 = var$11; var$9.$minZ0 = var$12; var$9.$maxX0 = var$13; var$9.$maxY0 = var$14; var$9.$maxZ0 = var$15; nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); $this.$uvRotateEast = 0; $this.$uvRotateWest = 0; $this.$uvRotateSouth = 0; $this.$uvRotateNorth = 0; $this.$uvRotateTop = 0; $this.$uvRotateBottom = 0; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); var$10 = $this.$renderMinX; var$11 = $this.$renderMinY; var$12 = $this.$renderMinZ; var$13 = $this.$renderMaxX; var$14 = $this.$renderMaxY; var$15 = $this.$renderMaxZ; var$9.$minX0 = var$10; var$9.$minY0 = var$11; var$9.$minZ0 = var$12; var$9.$maxX0 = var$13; var$9.$maxY0 = var$14; var$9.$maxZ0 = var$15; } return 1; }, nms_RenderBlocks_renderPistonRodUD = ($this, $par1, $par3, $par5, $par7, $par9, $par11, $par13, $par14) => { let $var16, var$10, $var17, $var18, $var20, $var22, $var24, var$16, var$17, var$18; $var16 = nms_BlockPistonBase_getPistonBaseIcon($rt_s(1157)); var$10 = $this.$overrideBlockTexture; if (!(var$10 === null ? 0 : 1)) var$10 = $var16; nlea_Tessellator_$callClinit(); $var17 = nlea_Tessellator_instance; $var18 = var$10.$getMinU(); $var20 = var$10.$getMinV(); $var22 = var$10.$getInterpolatedU($par14); $var24 = var$10.$getInterpolatedV(4.0); var$16 = $par13 * 255.0 | 0; nlea_Tessellator_setColorRGBA($var17, var$16, var$16, var$16, 255); $var17.$hasTexture = 1; var$17 = $var22; $var17.$textureU = var$17; var$18 = $var20; $var17.$textureV = var$18; nlea_Tessellator_addVertex($var17, $par1, $par7, $par9); $var17.$hasTexture = 1; $par13 = $var18; $var17.$textureU = $par13; $var17.$textureV = var$18; nlea_Tessellator_addVertex($var17, $par1, $par5, $par9); $var17.$hasTexture = 1; $var17.$textureU = $par13; $par13 = $var24; $var17.$textureV = $par13; nlea_Tessellator_addVertex($var17, $par3, $par5, $par11); $var17.$hasTexture = 1; $var17.$textureU = var$17; $var17.$textureV = $par13; nlea_Tessellator_addVertex($var17, $par3, $par7, $par11); }, nms_RenderBlocks_renderPistonRodSN = ($this, $par1, $par3, $par5, $par7, $par9, $par11, $par13, $par14) => { let $var16, var$10, $var17, $var18, $var20, $var22, $var24, var$16, var$17, var$18; $var16 = nms_BlockPistonBase_getPistonBaseIcon($rt_s(1157)); var$10 = $this.$overrideBlockTexture; if (!(var$10 === null ? 0 : 1)) var$10 = $var16; nlea_Tessellator_$callClinit(); $var17 = nlea_Tessellator_instance; $var18 = var$10.$getMinU(); $var20 = var$10.$getMinV(); $var22 = var$10.$getInterpolatedU($par14); $var24 = var$10.$getInterpolatedV(4.0); var$16 = $par13 * 255.0 | 0; nlea_Tessellator_setColorRGBA($var17, var$16, var$16, var$16, 255); $var17.$hasTexture = 1; var$17 = $var22; $var17.$textureU = var$17; var$18 = $var20; $var17.$textureV = var$18; nlea_Tessellator_addVertex($var17, $par1, $par5, $par11); $var17.$hasTexture = 1; $par13 = $var18; $var17.$textureU = $par13; $var17.$textureV = var$18; nlea_Tessellator_addVertex($var17, $par1, $par5, $par9); $var17.$hasTexture = 1; $var17.$textureU = $par13; $par13 = $var24; $var17.$textureV = $par13; nlea_Tessellator_addVertex($var17, $par3, $par7, $par9); $var17.$hasTexture = 1; $var17.$textureU = var$17; $var17.$textureV = $par13; nlea_Tessellator_addVertex($var17, $par3, $par7, $par11); }, nms_RenderBlocks_renderPistonRodEW = ($this, $par1, $par3, $par5, $par7, $par9, $par11, $par13, $par14) => { let $var16, var$10, $var17, $var18, $var20, $var22, $var24, var$16, var$17, var$18; $var16 = nms_BlockPistonBase_getPistonBaseIcon($rt_s(1157)); var$10 = $this.$overrideBlockTexture; if (!(var$10 === null ? 0 : 1)) var$10 = $var16; nlea_Tessellator_$callClinit(); $var17 = nlea_Tessellator_instance; $var18 = var$10.$getMinU(); $var20 = var$10.$getMinV(); $var22 = var$10.$getInterpolatedU($par14); $var24 = var$10.$getInterpolatedV(4.0); var$16 = $par13 * 255.0 | 0; nlea_Tessellator_setColorRGBA($var17, var$16, var$16, var$16, 255); $var17.$hasTexture = 1; $par13 = $var22; $var17.$textureU = $par13; var$17 = $var20; $var17.$textureV = var$17; nlea_Tessellator_addVertex($var17, $par3, $par5, $par9); $var17.$hasTexture = 1; var$18 = $var18; $var17.$textureU = var$18; $var17.$textureV = var$17; nlea_Tessellator_addVertex($var17, $par1, $par5, $par9); $var17.$hasTexture = 1; $var17.$textureU = var$18; var$17 = $var24; $var17.$textureV = var$17; nlea_Tessellator_addVertex($var17, $par1, $par7, $par11); $var17.$hasTexture = 1; $var17.$textureU = $par13; $var17.$textureV = var$17; nlea_Tessellator_addVertex($var17, $par3, $par7, $par11); }, nms_RenderBlocks_renderPistonExtension = ($this, $par1Block, $par2, $par3, $par4, $par5) => { let $var7, $var11, $var12, $var13, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17; $var7 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4) & 7; $var11 = $par1Block.$getBlockBrightness($this.$blockAccess, $par2, $par3, $par4); $var12 = !$par5 ? 0.5 : 1.0; $var13 = !$par5 ? 8.0 : 16.0; a: { switch ($var7) { case 0: $this.$uvRotateEast = 3; $this.$uvRotateWest = 3; $this.$uvRotateSouth = 3; $this.$uvRotateNorth = 3; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 0.25, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); var$10 = $par2; var$11 = var$10 + 0.375; var$12 = var$10 + 0.625; var$10 = $par3 + 0.25; var$13 = var$10; var$14 = var$10 + $var12; $var12 = $par4; var$15 = $var12 + 0.625; var$10 = $var11 * 0.800000011920929; nms_RenderBlocks_renderPistonRodUD($this, var$11, var$12, var$13, var$14, var$15, var$15, var$10, $var13); var$16 = $var12 + 0.375; nms_RenderBlocks_renderPistonRodUD($this, var$12, var$11, var$13, var$14, var$16, var$16, var$10, $var13); $var11 = $var11 * 0.6000000238418579; nms_RenderBlocks_renderPistonRodUD($this, var$11, var$11, var$13, var$14, var$16, var$15, $var11, $var13); nms_RenderBlocks_renderPistonRodUD($this, var$12, var$12, var$13, var$14, var$15, var$16, $var11, $var13); break a; case 1: break; case 2: $this.$uvRotateSouth = 1; $this.$uvRotateNorth = 2; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 0.25); nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); var$10 = $par2; var$11 = var$10 + 0.375; var$17 = $par3; var$12 = var$17 + 0.625; var$13 = var$17 + 0.375; var$17 = $par4 + 0.25; var$14 = var$17; var$15 = var$17 + $var12; $var12 = $var11 * 0.6000000238418579; nms_RenderBlocks_renderPistonRodSN($this, var$11, var$11, var$12, var$13, var$14, var$15, $var12, $var13); var$16 = var$10 + 0.625; nms_RenderBlocks_renderPistonRodSN($this, var$16, var$16, var$13, var$12, var$14, var$15, $var12, $var13); nms_RenderBlocks_renderPistonRodSN($this, var$11, var$16, var$13, var$13, var$14, var$15, $var11 * 0.5, $var13); nms_RenderBlocks_renderPistonRodSN($this, var$16, var$11, var$12, var$12, var$14, var$15, $var11, $var13); break a; case 3: $this.$uvRotateSouth = 2; $this.$uvRotateNorth = 1; $this.$uvRotateTop = 3; $this.$uvRotateBottom = 3; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.75, 1.0, 1.0, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); var$10 = $par2; var$11 = var$10 + 0.375; var$17 = $par3; var$12 = var$17 + 0.625; var$13 = var$17 + 0.375; var$17 = $par4 - 0.25 + 1.0; var$14 = var$17 - $var12; var$15 = var$17; $var12 = $var11 * 0.6000000238418579; nms_RenderBlocks_renderPistonRodSN($this, var$11, var$11, var$12, var$13, var$14, var$15, $var12, $var13); var$16 = var$10 + 0.625; nms_RenderBlocks_renderPistonRodSN($this, var$16, var$16, var$13, var$12, var$14, var$15, $var12, $var13); nms_RenderBlocks_renderPistonRodSN($this, var$11, var$16, var$13, var$13, var$14, var$15, $var11 * 0.5, $var13); nms_RenderBlocks_renderPistonRodSN($this, var$16, var$11, var$12, var$12, var$14, var$15, $var11, $var13); break a; case 4: $this.$uvRotateEast = 1; $this.$uvRotateWest = 2; $this.$uvRotateTop = 2; $this.$uvRotateBottom = 1; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 0.25, 1.0, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); var$10 = $par2 + 0.25; var$11 = var$10; var$12 = var$10 + $var12; $var12 = $par3; var$13 = $var12 + 0.375; var$10 = $par4; var$14 = var$10 + 0.625; var$15 = var$10 + 0.375; nms_RenderBlocks_renderPistonRodEW($this, var$11, var$12, var$13, var$13, var$14, var$15, $var11 * 0.5, $var13); var$16 = $var12 + 0.625; nms_RenderBlocks_renderPistonRodEW($this, var$11, var$12, var$16, var$16, var$15, var$14, $var11, $var13); $var11 = $var11 * 0.6000000238418579; nms_RenderBlocks_renderPistonRodEW($this, var$11, var$12, var$13, var$16, var$15, var$15, $var11, $var13); nms_RenderBlocks_renderPistonRodEW($this, var$11, var$12, var$16, var$13, var$14, var$14, $var11, $var13); break a; case 5: $this.$uvRotateEast = 2; $this.$uvRotateWest = 1; $this.$uvRotateTop = 1; $this.$uvRotateBottom = 2; nms_RenderBlocks_setRenderBounds($this, 0.75, 0.0, 0.0, 1.0, 1.0, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); var$10 = $par2 - 0.25 + 1.0; var$11 = var$10 - $var12; var$12 = var$10; $var12 = $par3; var$13 = $var12 + 0.375; var$10 = $par4; var$14 = var$10 + 0.625; var$15 = var$10 + 0.375; nms_RenderBlocks_renderPistonRodEW($this, var$11, var$12, var$13, var$13, var$14, var$15, $var11 * 0.5, $var13); var$16 = $var12 + 0.625; nms_RenderBlocks_renderPistonRodEW($this, var$11, var$12, var$16, var$16, var$15, var$14, $var11, $var13); $var11 = $var11 * 0.6000000238418579; nms_RenderBlocks_renderPistonRodEW($this, var$11, var$12, var$13, var$16, var$15, var$15, $var11, $var13); nms_RenderBlocks_renderPistonRodEW($this, var$11, var$12, var$16, var$13, var$14, var$14, $var11, $var13); break a; default: break a; } nms_RenderBlocks_setRenderBounds($this, 0.0, 0.75, 0.0, 1.0, 1.0, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); var$10 = $par2; var$11 = var$10 + 0.375; var$12 = var$10 + 0.625; var$10 = $par3 - 0.25 + 1.0; var$13 = var$10 - $var12; var$14 = var$10; $var12 = $par4; var$15 = $var12 + 0.625; var$10 = $var11 * 0.800000011920929; nms_RenderBlocks_renderPistonRodUD($this, var$11, var$12, var$13, var$14, var$15, var$15, var$10, $var13); var$16 = $var12 + 0.375; nms_RenderBlocks_renderPistonRodUD($this, var$12, var$11, var$13, var$14, var$16, var$16, var$10, $var13); $var11 = $var11 * 0.6000000238418579; nms_RenderBlocks_renderPistonRodUD($this, var$11, var$11, var$13, var$14, var$16, var$15, $var11, $var13); nms_RenderBlocks_renderPistonRodUD($this, var$12, var$12, var$13, var$14, var$15, var$16, $var11, $var13); } $this.$uvRotateEast = 0; $this.$uvRotateWest = 0; $this.$uvRotateSouth = 0; $this.$uvRotateNorth = 0; $this.$uvRotateTop = 0; $this.$uvRotateBottom = 0; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return 1; }, nms_RenderBlocks_renderBlockLever = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var32, $var28, $var29, var$13, $var13, $var15, $var17, $var19, $var21, var$19, $var27, var$21, $var31, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, $var23, var$32, var$33, var$34, var$35, var$36, var$37, $var30, var$39; $var5 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); $var6 = $var5 & 7; $var7 = ($var5 & 8) <= 0 ? 0 : 1; nlea_Tessellator_$callClinit(); $var8 = nlea_Tessellator_instance; $var9 = $this.$overrideBlockTexture === null ? 0 : 1; if (!$var9) { nms_Block_$callClinit(); $var32 = nms_Block_cobblestone.$getIcon(1, 0); if ($var32 === null) { if (jl_System_outCache === null) { $var28 = new otcic_JSStdoutPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var28.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var28.$sb = $var29; $var28.$buffer0 = $rt_createCharArray(32); $var28.$autoFlush = 0; $var28.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var28; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var32 === null) a: { b: { $var32 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $var32 = $var32.$textureMapBlocks.$missingImage; break a; } $var32 = $var32.$textureMapItems.$missingTextureStiched; } $this.$overrideBlockTexture = $var32; } c: { var$13 = $rt_compare($var6, 5); if (!var$13) { nms_RenderBlocks_setRenderBounds($this, 0.3125, 0.0, 0.25, 0.6875, 0.1875, 0.75); break c; } if ($var6 == 6) { nms_RenderBlocks_setRenderBounds($this, 0.25, 0.0, 0.3125, 0.75, 0.1875, 0.6875); break c; } if ($var6 == 4) { nms_RenderBlocks_setRenderBounds($this, 0.3125, 0.25, 0.8125, 0.6875, 0.75, 1.0); break c; } if ($var6 == 3) { nms_RenderBlocks_setRenderBounds($this, 0.3125, 0.25, 0.0, 0.6875, 0.75, 0.1875); break c; } if ($var6 == 2) { nms_RenderBlocks_setRenderBounds($this, 0.8125, 0.25, 0.3125, 1.0, 0.75, 0.6875); break c; } if ($var6 == 1) { nms_RenderBlocks_setRenderBounds($this, 0.0, 0.25, 0.3125, 0.1875, 0.75, 0.6875); break c; } if (!$var6) { nms_RenderBlocks_setRenderBounds($this, 0.25, 0.8125, 0.3125, 0.75, 1.0, 0.6875); break c; } if ($var6 != 7) break c; nms_RenderBlocks_setRenderBounds($this, 0.3125, 0.8125, 0.25, 0.6875, 1.0, 0.75); } nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); if (!$var9) $this.$overrideBlockTexture = null; $var5 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); $var8.$hasBrightness = 1; $var8.$brightness = $var5; $var13 = 1.0; if (nms_Block_lightValue.data[$par1Block.$blockID] > 0) $var13 = 1.0; $var5 = $var13 * 255.0 | 0; nlea_Tessellator_setColorRGBA($var8, $var5, $var5, $var5, 255); $var32 = $par1Block.$getIcon(0, 0); if ($var32 === null) { if (jl_System_outCache === null) { $par1Block = new otcic_JSStdoutPrintStream; $var28 = new ji_ByteArrayOutputStream; $var28.$buf = $rt_createByteArray(32); $par1Block.$out0 = $var28; $var28 = new jl_StringBuilder; $var28.$buffer = $rt_createCharArray(16); $par1Block.$sb = $var28; $par1Block.$buffer0 = $rt_createCharArray(32); $par1Block.$autoFlush = 0; $par1Block.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par1Block; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var32 === null) d: { e: { $par1Block = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break e; default: break e; } $var32 = $par1Block.$textureMapBlocks.$missingImage; break d; } $var32 = $par1Block.$textureMapItems.$missingTextureStiched; } $par1Block = $this.$overrideBlockTexture; if (!($par1Block === null ? 0 : 1)) $par1Block = $var32; $var15 = $par1Block.$getMinU(); $var17 = $par1Block.$getMinV(); $var19 = $par1Block.$getMaxU(); $var21 = $par1Block.$getMaxV(); var$19 = $rt_createArray(nms_Vec3, 8).data; var$19[0] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), (-0.0625), 0.0, (-0.0625)); var$19[1] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), 0.0625, 0.0, (-0.0625)); var$19[2] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), 0.0625, 0.0, 0.0625); var$19[3] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), (-0.0625), 0.0, 0.0625); var$19[4] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), (-0.0625), 0.625, (-0.0625)); var$19[5] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), 0.0625, 0.625, (-0.0625)); var$19[6] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), 0.0625, 0.625, 0.0625); var$19[7] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), (-0.0625), 0.625, 0.0625); $var27 = 0; var$21 = $rt_compare($var6, 6); $var5 = $rt_compare($var6, 4); $var9 = $rt_compare($var6, 3); $var31 = $rt_compare($var6, 2); var$23 = $rt_compare($var6, 1); var$24 = $par2 + 0.5; var$25 = $par3; var$26 = var$25 + 0.5; var$27 = $par4 + 0.5; var$28 = $rt_compare($var6, 7); var$29 = var$25 + 0.125; var$30 = var$25 + 0.875; while ($var27 < 8) { if (!$var7) { $var32 = var$19[$var27]; $var32.$zCoord = $var32.$zCoord + 0.0625; $var32 = var$19[$var27]; $var23 = nms_MathHelper_SIN_TABLE.data; $var13 = $var23[9102]; var$25 = $var23[58255]; var$32 = $var32.$xCoord; var$33 = $var32.$yCoord; var$34 = $var13; var$35 = var$33 * var$34; var$36 = $var32.$zCoord; var$37 = var$25; var$35 = var$35 + var$36 * var$37; var$33 = var$36 * var$34 - var$33 * var$37; $var32.$xCoord = var$32; $var32.$yCoord = var$35; $var32.$zCoord = var$33; } else { $var32 = var$19[$var27]; $var32.$zCoord = $var32.$zCoord - 0.0625; $var32 = var$19[$var27]; $var23 = nms_MathHelper_SIN_TABLE.data; var$25 = $var23[23665]; $var13 = $var23[7281]; var$32 = $var32.$xCoord; var$33 = $var32.$yCoord; var$34 = var$25; var$35 = var$33 * var$34; var$36 = $var32.$zCoord; var$37 = $var13; var$35 = var$35 + var$36 * var$37; var$33 = var$36 * var$34 - var$33 * var$37; $var32.$xCoord = var$32; $var32.$yCoord = var$35; $var32.$zCoord = var$33; } if (!($var6 && var$28)) { $var32 = var$19[$var27]; $var23 = nms_MathHelper_SIN_TABLE.data; var$25 = $var23[49152]; $var13 = $var23[32768]; var$32 = $var32.$xCoord; var$33 = var$25; var$34 = var$32 * var$33; var$35 = $var32.$yCoord; var$36 = $var13; var$34 = var$34 + var$35 * var$36; var$32 = var$35 * var$33 - var$32 * var$36; var$33 = $var32.$zCoord; $var32.$xCoord = var$34; $var32.$yCoord = var$32; $var32.$zCoord = var$33; } if (!(var$21 && $var6)) { $var32 = var$19[$var27]; $var23 = nms_MathHelper_SIN_TABLE.data; var$25 = $var23[32768]; $var13 = $var23[16384]; var$33 = $var32.$xCoord; var$32 = var$25; var$34 = var$33 * var$32; var$35 = $var32.$zCoord; var$36 = $var13; var$37 = var$34 + var$35 * var$36; var$34 = $var32.$yCoord; var$32 = var$35 * var$32 - var$33 * var$36; $var32.$xCoord = var$37; $var32.$yCoord = var$34; $var32.$zCoord = var$32; } if ($var6 > 0 && var$13 < 0) { $var32 = var$19[$var27]; $var32.$yCoord = $var32.$yCoord - 0.375; $var32 = var$19[$var27]; $var23 = nms_MathHelper_SIN_TABLE.data; var$25 = $var23[32768]; $var13 = $var23[16384]; var$32 = $var32.$xCoord; var$33 = $var32.$yCoord; var$34 = var$25; var$35 = var$33 * var$34; var$36 = $var32.$zCoord; var$37 = $var13; var$35 = var$35 + var$36 * var$37; var$33 = var$36 * var$34 - var$33 * var$37; $var32.$xCoord = var$32; $var32.$yCoord = var$35; $var32.$zCoord = var$33; if (!$var5) { $var32 = var$19[$var27]; $var13 = $var23[16384]; var$25 = $var23[0]; var$32 = $var32.$xCoord; var$33 = $var13; var$34 = var$32 * var$33; var$35 = $var32.$zCoord; var$36 = var$25; var$34 = var$34 + var$35 * var$36; var$37 = $var32.$yCoord; var$32 = var$35 * var$33 - var$32 * var$36; $var32.$xCoord = var$34; $var32.$yCoord = var$37; $var32.$zCoord = var$32; } if (!$var9) { $var32 = var$19[$var27]; var$25 = $var23[49152]; $var13 = $var23[32768]; var$32 = $var32.$xCoord; var$33 = var$25; var$34 = var$32 * var$33; var$35 = $var32.$zCoord; var$36 = $var13; var$34 = var$34 + var$35 * var$36; var$37 = $var32.$yCoord; var$32 = var$35 * var$33 - var$32 * var$36; $var32.$xCoord = var$34; $var32.$yCoord = var$37; $var32.$zCoord = var$32; } if (!$var31) { $var32 = var$19[$var27]; var$25 = $var23[32768]; $var13 = $var23[16384]; var$32 = $var32.$xCoord; var$33 = var$25; var$34 = var$32 * var$33; var$35 = $var32.$zCoord; var$36 = $var13; var$34 = var$34 + var$35 * var$36; var$37 = $var32.$yCoord; var$32 = var$35 * var$33 - var$32 * var$36; $var32.$xCoord = var$34; $var32.$yCoord = var$37; $var32.$zCoord = var$32; } if (!var$23) { $var32 = var$19[$var27]; var$25 = $var23[0]; $var13 = $var23[49152]; var$33 = $var32.$xCoord; var$32 = var$25; var$34 = var$33 * var$32; var$35 = $var32.$zCoord; var$36 = $var13; var$34 = var$34 + var$35 * var$36; var$37 = $var32.$yCoord; var$32 = var$35 * var$32 - var$33 * var$36; $var32.$xCoord = var$34; $var32.$yCoord = var$37; $var32.$zCoord = var$32; } $var32 = var$19[$var27]; $var32.$xCoord = $var32.$xCoord + var$24; $var32 = var$19[$var27]; $var32.$yCoord = $var32.$yCoord + var$26; $var32 = var$19[$var27]; $var32.$zCoord = $var32.$zCoord + var$27; } else if ($var6 && var$28) { $var32 = var$19[$var27]; $var32.$xCoord = $var32.$xCoord + var$24; $var32 = var$19[$var27]; $var32.$yCoord = $var32.$yCoord + var$29; $var32 = var$19[$var27]; $var32.$zCoord = $var32.$zCoord + var$27; } else { $var32 = var$19[$var27]; $var32.$xCoord = $var32.$xCoord + var$24; $var32 = var$19[$var27]; $var32.$yCoord = $var32.$yCoord + var$30; $var32 = var$19[$var27]; $var32.$zCoord = $var32.$zCoord + var$27; } $var27 = $var27 + 1 | 0; } $var32 = null; $var28 = null; $var29 = null; $var30 = null; $var31 = 0; while ($var31 < 6) { if (!$var31) { $var15 = $par1Block.$getInterpolatedU(7.0); $var17 = $par1Block.$getInterpolatedV(6.0); $var19 = $par1Block.$getInterpolatedU(9.0); $var21 = $par1Block.$getInterpolatedV(8.0); } else if ($var31 == 2) { $var15 = $par1Block.$getInterpolatedU(7.0); $var17 = $par1Block.$getInterpolatedV(6.0); $var19 = $par1Block.$getInterpolatedU(9.0); $var21 = $par1Block.$getMaxV(); } if (!$var31) { $var32 = var$19[0]; $var28 = var$19[1]; $var29 = var$19[2]; $var30 = var$19[3]; } else if ($var31 == 1) { $var32 = var$19[7]; $var28 = var$19[6]; $var29 = var$19[5]; $var30 = var$19[4]; } else if ($var31 == 2) { $var32 = var$19[1]; $var28 = var$19[0]; $var29 = var$19[4]; $var30 = var$19[5]; } else if ($var31 == 3) { $var32 = var$19[2]; $var28 = var$19[1]; $var29 = var$19[5]; $var30 = var$19[6]; } else if ($var31 == 4) { $var32 = var$19[3]; $var28 = var$19[2]; $var29 = var$19[6]; $var30 = var$19[7]; } else if ($var31 == 5) { $var32 = var$19[0]; $var28 = var$19[3]; $var29 = var$19[7]; $var30 = var$19[4]; } var$32 = $var32.$xCoord; var$33 = $var32.$yCoord; var$34 = $var32.$zCoord; $var8.$hasTexture = 1; var$25 = $var15; $var8.$textureU = var$25; var$39 = $var21; $var8.$textureV = var$39; nlea_Tessellator_addVertex($var8, var$32, var$33, var$34); var$32 = $var28.$xCoord; var$33 = $var28.$yCoord; var$34 = $var28.$zCoord; $var8.$hasTexture = 1; $var13 = $var19; $var8.$textureU = $var13; $var8.$textureV = var$39; nlea_Tessellator_addVertex($var8, var$32, var$33, var$34); var$32 = $var29.$xCoord; var$33 = $var29.$yCoord; var$34 = $var29.$zCoord; $var8.$hasTexture = 1; $var8.$textureU = $var13; $var13 = $var17; $var8.$textureV = $var13; nlea_Tessellator_addVertex($var8, var$32, var$33, var$34); var$32 = $var30.$xCoord; var$33 = $var30.$yCoord; var$34 = $var30.$zCoord; $var8.$hasTexture = 1; $var8.$textureU = var$25; $var8.$textureV = $var13; nlea_Tessellator_addVertex($var8, var$32, var$33, var$34); $var31 = $var31 + 1 | 0; } return 1; }, nms_RenderBlocks_renderBlockTripWireSource = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var34, var$13, $var62, var$15, $var46, $var17, var$18, $var19, $var21, $var23, $var25, var$23, $var31, var$25, var$26, $var54, var$28, var$29, $var27, $var49, $var65, $var52, $var56, $var58, $var60, var$37, $var32, $var33, $var39, $var50, $var42, var$43, var$44; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; $var6 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); $var7 = $var6 & 3; $var8 = ($var6 & 4) != 4 ? 0 : 1; $var9 = ($var6 & 8) != 8 ? 0 : 1; $var10 = $this.$blockAccess.$doesBlockHaveSolidTopSurface($par2, $par3 - 1 | 0, $par4) ? 0 : 1; $var11 = $this.$overrideBlockTexture === null ? 0 : 1; if (!$var11) { nms_Block_$callClinit(); $var34 = nms_Block_planks.$getIcon(1, 0); if ($var34 === null) { if (jl_System_outCache === null) { var$13 = new otcic_JSStdoutPrintStream; $var62 = new ji_ByteArrayOutputStream; $var62.$buf = $rt_createByteArray(32); var$13.$out0 = $var62; $var62 = new jl_StringBuilder; $var62.$buffer = $rt_createCharArray(16); var$13.$sb = $var62; var$13.$buffer0 = $rt_createCharArray(32); var$13.$autoFlush = 0; var$13.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$13; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var34 === null) a: { b: { $var34 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $var34 = $var34.$textureMapBlocks.$missingImage; break a; } $var34 = $var34.$textureMapItems.$missingTextureStiched; } $this.$overrideBlockTexture = $var34; } var$15 = $rt_compare($var7, 2); if (!var$15) nms_RenderBlocks_setRenderBounds($this, 0.375, 0.050000011920928955, 0.875, 0.625, 0.550000011920929, 1.0); else if (!$var7) nms_RenderBlocks_setRenderBounds($this, 0.375, 0.050000011920928955, 0.0, 0.625, 0.550000011920929, 0.125); else if ($var7 == 1) nms_RenderBlocks_setRenderBounds($this, 0.875, 0.050000011920928955, 0.375, 1.0, 0.550000011920929, 0.625); else if ($var7 == 3) nms_RenderBlocks_setRenderBounds($this, 0.0, 0.050000011920928955, 0.375, 0.125, 0.550000011920929, 0.625); nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); if (!$var11) $this.$overrideBlockTexture = null; $var46 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); $var5.$hasBrightness = 1; $var5.$brightness = $var46; $var17 = 1.0; if (nms_Block_lightValue.data[$par1Block.$blockID] > 0) $var17 = 1.0; $var6 = $var17 * 255.0 | 0; nlea_Tessellator_setColorRGBA($var5, $var6, $var6, $var6, 255); $var34 = $par1Block.$getIcon(0, 0); if ($var34 === null) { if (jl_System_outCache === null) { var$13 = new otcic_JSStdoutPrintStream; $var62 = new ji_ByteArrayOutputStream; $var62.$buf = $rt_createByteArray(32); var$13.$out0 = $var62; $var62 = new jl_StringBuilder; $var62.$buffer = $rt_createCharArray(16); var$13.$sb = $var62; var$13.$buffer0 = $rt_createCharArray(32); var$13.$autoFlush = 0; var$13.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$13; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var34 === null) c: { d: { $var34 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break d; default: break d; } $var34 = $var34.$textureMapBlocks.$missingImage; break c; } $var34 = $var34.$textureMapItems.$missingTextureStiched; } var$18 = $this.$overrideBlockTexture; if (!(var$18 === null ? 0 : 1)) var$18 = $var34; $var19 = var$18.$getMinU(); $var21 = var$18.$getMinV(); $var23 = var$18.$getMaxU(); $var25 = var$18.$getMaxV(); var$23 = $rt_createArray(nms_Vec3, 8).data; var$23[0] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), (-0.046875), 0.0, (-0.046875)); var$23[1] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), 0.046875, 0.0, (-0.046875)); var$23[2] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), 0.046875, 0.0, 0.046875); var$23[3] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), (-0.046875), 0.0, 0.046875); var$23[4] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), (-0.046875), 0.3125, (-0.046875)); var$23[5] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), 0.046875, 0.3125, (-0.046875)); var$23[6] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), 0.046875, 0.3125, 0.046875); var$23[7] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), (-0.046875), 0.3125, 0.046875); $var31 = 0; $var11 = $rt_compare($var7, 1); $var6 = $rt_compare($var7, 3); var$25 = $par2; var$26 = var$25 + 0.5; $var54 = $par3 + 0.3125; var$28 = $par4; var$29 = var$28 + 0.5; while ($var31 < 8) { $var34 = var$23[$var31]; $var34.$zCoord = $var34.$zCoord + 0.0625; if ($var9) { $var34 = var$23[$var31]; $var27 = nms_MathHelper_SIN_TABLE.data; $var49 = $var27[21845]; $var17 = $var27[5461]; $var65 = $var34.$xCoord; $var52 = $var34.$yCoord; $var56 = $var49; $var58 = $var52 * $var56; $var60 = $var34.$zCoord; var$37 = $var17; $var58 = $var58 + $var60 * var$37; $var52 = $var60 * $var56 - $var52 * var$37; $var34.$xCoord = $var65; $var34.$yCoord = $var58; $var34.$zCoord = $var52; $var34 = var$23[$var31]; $var34.$yCoord = $var34.$yCoord - 0.4375; } else if (!$var8) { $var34 = var$23[$var31]; $var27 = nms_MathHelper_SIN_TABLE.data; $var49 = $var27[9102]; $var17 = $var27[58255]; $var65 = $var34.$xCoord; $var52 = $var34.$yCoord; $var56 = $var49; $var58 = $var52 * $var56; $var60 = $var34.$zCoord; var$37 = $var17; $var58 = $var58 + $var60 * var$37; $var52 = $var60 * $var56 - $var52 * var$37; $var34.$xCoord = $var65; $var34.$yCoord = $var58; $var34.$zCoord = $var52; $var34 = var$23[$var31]; $var34.$yCoord = $var34.$yCoord - 0.375; } else { $var34 = var$23[$var31]; $var27 = nms_MathHelper_SIN_TABLE.data; $var17 = $var27[17294]; $var49 = $var27[910]; $var65 = $var34.$xCoord; $var52 = $var34.$yCoord; $var58 = $var17; $var56 = $var52 * $var58; $var60 = $var34.$zCoord; var$37 = $var49; $var56 = $var56 + $var60 * var$37; $var52 = $var60 * $var58 - $var52 * var$37; $var34.$xCoord = $var65; $var34.$yCoord = $var56; $var34.$zCoord = $var52; $var34 = var$23[$var31]; $var34.$yCoord = $var34.$yCoord - 0.4375; } $var34 = var$23[$var31]; $var27 = nms_MathHelper_SIN_TABLE.data; $var17 = $var27[32768]; $var49 = $var27[16384]; $var65 = $var34.$xCoord; $var52 = $var34.$yCoord; $var56 = $var17; $var58 = $var52 * $var56; $var60 = $var34.$zCoord; var$37 = $var49; $var58 = $var58 + $var60 * var$37; $var52 = $var60 * $var56 - $var52 * var$37; $var34.$xCoord = $var65; $var34.$yCoord = $var58; $var34.$zCoord = $var52; if (!var$15) { $var34 = var$23[$var31]; $var17 = $var27[16384]; $var49 = $var27[0]; $var65 = $var34.$xCoord; $var52 = $var17; $var56 = $var65 * $var52; $var58 = $var34.$zCoord; $var60 = $var49; $var56 = $var56 + $var58 * $var60; var$37 = $var34.$yCoord; $var65 = $var58 * $var52 - $var65 * $var60; $var34.$xCoord = $var56; $var34.$yCoord = var$37; $var34.$zCoord = $var65; } if (!$var7) { $var34 = var$23[$var31]; $var17 = $var27[49152]; $var49 = $var27[32768]; $var65 = $var34.$xCoord; $var52 = $var17; $var56 = $var65 * $var52; $var58 = $var34.$zCoord; $var60 = $var49; $var56 = $var56 + $var58 * $var60; var$37 = $var34.$yCoord; $var65 = $var58 * $var52 - $var65 * $var60; $var34.$xCoord = $var56; $var34.$yCoord = var$37; $var34.$zCoord = $var65; } if (!$var11) { $var34 = var$23[$var31]; $var17 = $var27[32768]; $var49 = $var27[16384]; $var65 = $var34.$xCoord; $var52 = $var17; $var56 = $var65 * $var52; $var58 = $var34.$zCoord; $var60 = $var49; $var56 = $var56 + $var58 * $var60; var$37 = $var34.$yCoord; $var65 = $var58 * $var52 - $var65 * $var60; $var34.$xCoord = $var56; $var34.$yCoord = var$37; $var34.$zCoord = $var65; } if (!$var6) { $var34 = var$23[$var31]; $var17 = $var27[0]; $var49 = $var27[49152]; $var65 = $var34.$xCoord; $var52 = $var17; $var56 = $var65 * $var52; $var58 = $var34.$zCoord; $var60 = $var49; $var56 = $var56 + $var58 * $var60; var$37 = $var34.$yCoord; $var65 = $var58 * $var52 - $var65 * $var60; $var34.$xCoord = $var56; $var34.$yCoord = var$37; $var34.$zCoord = $var65; } $var34 = var$23[$var31]; $var34.$xCoord = $var34.$xCoord + var$26; $var34 = var$23[$var31]; $var34.$yCoord = $var34.$yCoord + $var54; $var34 = var$23[$var31]; $var34.$zCoord = $var34.$zCoord + var$29; $var31 = $var31 + 1 | 0; } $var62 = null; $var32 = null; $var33 = null; $var34 = null; $var39 = 0; while ($var39 < 6) { if (!$var39) { $var62 = var$23[0]; $var32 = var$23[1]; $var33 = var$23[2]; $var34 = var$23[3]; $var19 = var$18.$getInterpolatedU(7.0); $var21 = var$18.$getInterpolatedV(9.0); $var23 = var$18.$getInterpolatedU(9.0); $var25 = var$18.$getInterpolatedV(11.0); } else if ($var39 == 1) { $var62 = var$23[7]; $var32 = var$23[6]; $var33 = var$23[5]; $var34 = var$23[4]; } else if ($var39 == 2) { $var62 = var$23[1]; $var32 = var$23[0]; $var33 = var$23[4]; $var34 = var$23[5]; $var19 = var$18.$getInterpolatedU(7.0); $var21 = var$18.$getInterpolatedV(9.0); $var23 = var$18.$getInterpolatedU(9.0); $var25 = var$18.$getInterpolatedV(16.0); } else if ($var39 == 3) { $var62 = var$23[2]; $var32 = var$23[1]; $var33 = var$23[5]; $var34 = var$23[6]; } else if ($var39 == 4) { $var62 = var$23[3]; $var32 = var$23[2]; $var33 = var$23[6]; $var34 = var$23[7]; } else if ($var39 == 5) { $var62 = var$23[0]; $var32 = var$23[3]; $var33 = var$23[7]; $var34 = var$23[4]; } $var65 = $var62.$xCoord; $var52 = $var62.$yCoord; $var56 = $var62.$zCoord; $var5.$hasTexture = 1; $var17 = $var19; $var5.$textureU = $var17; $var50 = $var25; $var5.$textureV = $var50; nlea_Tessellator_addVertex($var5, $var65, $var52, $var56); $var65 = $var32.$xCoord; $var52 = $var32.$yCoord; $var56 = $var32.$zCoord; $var5.$hasTexture = 1; $var49 = $var23; $var5.$textureU = $var49; $var5.$textureV = $var50; nlea_Tessellator_addVertex($var5, $var65, $var52, $var56); $var65 = $var33.$xCoord; $var52 = $var33.$yCoord; $var56 = $var33.$zCoord; $var5.$hasTexture = 1; $var5.$textureU = $var49; $var49 = $var21; $var5.$textureV = $var49; nlea_Tessellator_addVertex($var5, $var65, $var52, $var56); $var65 = $var34.$xCoord; $var52 = $var34.$yCoord; $var56 = $var34.$zCoord; $var5.$hasTexture = 1; $var5.$textureU = $var17; $var5.$textureV = $var49; nlea_Tessellator_addVertex($var5, $var65, $var52, $var56); $var39 = $var39 + 1 | 0; } var$23[0] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), (-0.09375), 0.0, (-0.09375)); var$23[1] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), 0.09375, 0.0, (-0.09375)); var$23[2] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), 0.09375, 0.0, 0.09375); var$23[3] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), (-0.09375), 0.0, 0.09375); var$23[4] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), (-0.09375), 0.03125, (-0.09375)); var$23[5] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), 0.09375, 0.03125, (-0.09375)); var$23[6] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), 0.09375, 0.03125, 0.09375); var$23[7] = nms_Vec3Pool_getVecFromPool($this.$blockAccess.$getWorldVec3Pool(), (-0.09375), 0.03125, 0.09375); $var42 = 0; while ($var42 < 8) { var$13 = var$23[$var42]; var$13.$zCoord = var$13.$zCoord + 0.21875; if ($var9) { var$13 = var$23[$var42]; var$13.$yCoord = var$13.$yCoord - 0.09375; var$13 = var$23[$var42]; var$13.$zCoord = var$13.$zCoord - 0.1625; var$13 = var$23[$var42]; $var27 = nms_MathHelper_SIN_TABLE.data; $var17 = $var27[16384]; $var49 = $var27[0]; $var65 = var$13.$xCoord; $var52 = var$13.$yCoord; $var56 = $var17; $var58 = $var52 * $var56; $var60 = var$13.$zCoord; var$37 = $var49; $var58 = $var58 + $var60 * var$37; $var52 = $var60 * $var56 - $var52 * var$37; var$13.$xCoord = $var65; var$13.$yCoord = $var58; var$13.$zCoord = $var52; } else if (!$var8) { var$13 = var$23[$var42]; $var27 = nms_MathHelper_SIN_TABLE.data; $var17 = $var27[25486]; $var49 = $var27[9102]; $var65 = var$13.$xCoord; $var52 = var$13.$yCoord; $var56 = $var17; $var58 = $var52 * $var56; $var60 = var$13.$zCoord; var$37 = $var49; $var58 = $var58 + $var60 * var$37; $var52 = $var60 * $var56 - $var52 * var$37; var$13.$xCoord = $var65; var$13.$yCoord = $var58; var$13.$zCoord = $var52; } else { var$13 = var$23[$var42]; var$13.$yCoord = var$13.$yCoord + 0.015625; var$13 = var$23[$var42]; var$13.$zCoord = var$13.$zCoord - 0.171875; var$13 = var$23[$var42]; $var27 = nms_MathHelper_SIN_TABLE.data; $var17 = $var27[18204]; $var49 = $var27[1820]; $var65 = var$13.$xCoord; $var52 = var$13.$yCoord; $var56 = $var17; $var58 = $var52 * $var56; $var60 = var$13.$zCoord; var$37 = $var49; $var58 = $var58 + $var60 * var$37; $var52 = $var60 * $var56 - $var52 * var$37; var$13.$xCoord = $var65; var$13.$yCoord = $var58; var$13.$zCoord = $var52; } if (!var$15) { var$13 = var$23[$var42]; $var27 = nms_MathHelper_SIN_TABLE.data; $var17 = $var27[16384]; $var49 = $var27[0]; $var65 = var$13.$xCoord; $var52 = $var17; $var56 = $var65 * $var52; $var58 = var$13.$zCoord; $var60 = $var49; $var56 = $var56 + $var58 * $var60; var$37 = var$13.$yCoord; $var65 = $var58 * $var52 - $var65 * $var60; var$13.$xCoord = $var56; var$13.$yCoord = var$37; var$13.$zCoord = $var65; } if (!$var7) { var$13 = var$23[$var42]; $var27 = nms_MathHelper_SIN_TABLE.data; $var17 = $var27[49152]; $var49 = $var27[32768]; $var65 = var$13.$xCoord; $var52 = $var17; $var56 = $var65 * $var52; $var58 = var$13.$zCoord; $var60 = $var49; $var56 = $var56 + $var58 * $var60; var$37 = var$13.$yCoord; $var65 = $var58 * $var52 - $var65 * $var60; var$13.$xCoord = $var56; var$13.$yCoord = var$37; var$13.$zCoord = $var65; } if (!$var11) { var$13 = var$23[$var42]; $var27 = nms_MathHelper_SIN_TABLE.data; $var17 = $var27[32768]; $var49 = $var27[16384]; $var65 = var$13.$xCoord; $var52 = $var17; $var56 = $var65 * $var52; $var58 = var$13.$zCoord; $var60 = $var49; $var56 = $var56 + $var58 * $var60; var$37 = var$13.$yCoord; $var65 = $var58 * $var52 - $var65 * $var60; var$13.$xCoord = $var56; var$13.$yCoord = var$37; var$13.$zCoord = $var65; } if (!$var6) { var$13 = var$23[$var42]; $var27 = nms_MathHelper_SIN_TABLE.data; $var17 = $var27[0]; $var49 = $var27[49152]; $var65 = var$13.$xCoord; $var52 = $var17; $var56 = $var65 * $var52; $var58 = var$13.$zCoord; $var60 = $var49; $var56 = $var56 + $var58 * $var60; var$37 = var$13.$yCoord; $var65 = $var58 * $var52 - $var65 * $var60; var$13.$xCoord = $var56; var$13.$yCoord = var$37; var$13.$zCoord = $var65; } var$13 = var$23[$var42]; var$13.$xCoord = var$13.$xCoord + var$26; var$13 = var$23[$var42]; var$13.$yCoord = var$13.$yCoord + $var54; var$13 = var$23[$var42]; var$13.$zCoord = var$13.$zCoord + var$29; $var42 = $var42 + 1 | 0; } $var46 = 0; while ($var46 < 6) { if (!$var46) { $var62 = var$23[0]; $var32 = var$23[1]; $var33 = var$23[2]; $var34 = var$23[3]; $var19 = var$18.$getInterpolatedU(5.0); $var21 = var$18.$getInterpolatedV(3.0); $var23 = var$18.$getInterpolatedU(11.0); $var25 = var$18.$getInterpolatedV(9.0); } else if ($var46 == 1) { $var62 = var$23[7]; $var32 = var$23[6]; $var33 = var$23[5]; $var34 = var$23[4]; } else if ($var46 == 2) { $var62 = var$23[1]; $var32 = var$23[0]; $var33 = var$23[4]; $var34 = var$23[5]; $var19 = var$18.$getInterpolatedU(5.0); $var21 = var$18.$getInterpolatedV(3.0); $var23 = var$18.$getInterpolatedU(11.0); $var25 = var$18.$getInterpolatedV(5.0); } else if ($var46 == 3) { $var62 = var$23[2]; $var32 = var$23[1]; $var33 = var$23[5]; $var34 = var$23[6]; } else if ($var46 == 4) { $var62 = var$23[3]; $var32 = var$23[2]; $var33 = var$23[6]; $var34 = var$23[7]; } else if ($var46 == 5) { $var62 = var$23[0]; $var32 = var$23[3]; $var33 = var$23[7]; $var34 = var$23[4]; } $var65 = $var62.$xCoord; $var52 = $var62.$yCoord; $var54 = $var62.$zCoord; $var5.$hasTexture = 1; $var17 = $var19; $var5.$textureU = $var17; $var50 = $var25; $var5.$textureV = $var50; nlea_Tessellator_addVertex($var5, $var65, $var52, $var54); $var65 = $var32.$xCoord; $var52 = $var32.$yCoord; $var54 = $var32.$zCoord; $var5.$hasTexture = 1; $var49 = $var23; $var5.$textureU = $var49; $var5.$textureV = $var50; nlea_Tessellator_addVertex($var5, $var65, $var52, $var54); $var65 = $var33.$xCoord; $var52 = $var33.$yCoord; $var54 = $var33.$zCoord; $var5.$hasTexture = 1; $var5.$textureU = $var49; $var49 = $var21; $var5.$textureV = $var49; nlea_Tessellator_addVertex($var5, $var65, $var52, $var54); $var65 = $var34.$xCoord; $var52 = $var34.$yCoord; $var54 = $var34.$zCoord; $var5.$hasTexture = 1; $var5.$textureU = $var17; $var5.$textureV = $var49; nlea_Tessellator_addVertex($var5, $var65, $var52, $var54); $var46 = $var46 + 1 | 0; } if ($var8) { $var65 = var$23[0].$yCoord; $var34 = nms_Block_tripWire.$getIcon(1, 0); if ($var34 === null) { if (jl_System_outCache === null) { var$13 = new otcic_JSStdoutPrintStream; $var62 = new ji_ByteArrayOutputStream; $var62.$buf = $rt_createByteArray(32); var$13.$out0 = $var62; $var62 = new jl_StringBuilder; $var62.$buffer = $rt_createCharArray(16); var$13.$sb = $var62; var$13.$buffer0 = $rt_createCharArray(32); var$13.$autoFlush = 0; var$13.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$13; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var34 === null) e: { f: { switch (0) { case 0: break; case 1: break f; default: break f; } break e; } } $var52 = var$18.$getMinU(); $var54 = var$18.$getInterpolatedV(!$var8 ? 0.0 : 2.0); $var56 = var$18.$getMaxU(); $var58 = var$18.$getInterpolatedV(!$var8 ? 2.0 : 4.0); $var60 = (!$var10 ? 1.5 : 3.5) / 16.0; $var6 = $par1Block.$getBlockBrightness($this.$blockAccess, $par2, $par3, $par4) * 0.75 * 255.0 | 0; nlea_Tessellator_setColorRGBA($var5, $var6, $var6, $var6, 255); if (!var$15) { $var17 = $par2; var$25 = $var17 + 0.484375; var$26 = $par3 + $var60; $var60 = var$28 + 0.25; $var5.$hasTexture = 1; $var49 = $var52; $var5.$textureU = $var49; var$43 = $var54; $var5.$textureV = var$43; nlea_Tessellator_addVertex($var5, var$25, var$26, $var60); $var52 = $var17 + 0.515625; $var5.$hasTexture = 1; $var5.$textureU = $var49; $var50 = $var58; $var5.$textureV = $var50; nlea_Tessellator_addVertex($var5, $var52, var$26, $var60); $var5.$hasTexture = 1; $var17 = $var56; $var5.$textureU = $var17; $var5.$textureV = $var50; nlea_Tessellator_addVertex($var5, $var52, var$26, var$28); $var5.$hasTexture = 1; $var5.$textureU = $var17; $var5.$textureV = var$43; nlea_Tessellator_addVertex($var5, var$25, var$26, var$28); $var5.$hasTexture = 1; $var5.$textureU = $var49; $var5.$textureV = var$43; nlea_Tessellator_addVertex($var5, var$25, $var65, var$29); $var5.$hasTexture = 1; $var5.$textureU = $var49; $var5.$textureV = $var50; nlea_Tessellator_addVertex($var5, $var52, $var65, var$29); $var5.$hasTexture = 1; $var5.$textureU = $var17; $var5.$textureV = $var50; nlea_Tessellator_addVertex($var5, $var52, var$26, $var60); $var5.$hasTexture = 1; $var5.$textureU = $var17; $var5.$textureV = var$43; nlea_Tessellator_addVertex($var5, var$25, var$26, $var60); } else if (!$var7) { $var17 = $par2; var$25 = $var17 + 0.484375; var$26 = $par3 + $var60; var$28 = var$28 + 0.75; $var5.$hasTexture = 1; $var49 = $var52; $var5.$textureU = $var49; var$43 = $var54; $var5.$textureV = var$43; nlea_Tessellator_addVertex($var5, var$25, var$26, var$28); $var52 = $var17 + 0.515625; $var5.$hasTexture = 1; $var5.$textureU = $var49; $var50 = $var58; $var5.$textureV = $var50; nlea_Tessellator_addVertex($var5, $var52, var$26, var$28); $var5.$hasTexture = 1; $var17 = $var56; $var5.$textureU = $var17; $var5.$textureV = $var50; nlea_Tessellator_addVertex($var5, $var52, $var65, var$29); $var5.$hasTexture = 1; $var5.$textureU = $var17; $var5.$textureV = var$43; nlea_Tessellator_addVertex($var5, var$25, $var65, var$29); $var65 = $par4 + 1 | 0; $var5.$hasTexture = 1; $var5.$textureU = $var49; $var5.$textureV = var$43; nlea_Tessellator_addVertex($var5, var$25, var$26, $var65); $var5.$hasTexture = 1; $var5.$textureU = $var49; $var5.$textureV = $var50; nlea_Tessellator_addVertex($var5, $var52, var$26, $var65); $var5.$hasTexture = 1; $var5.$textureU = $var17; $var5.$textureV = $var50; nlea_Tessellator_addVertex($var5, $var52, var$26, var$28); $var5.$hasTexture = 1; $var5.$textureU = $var17; $var5.$textureV = var$43; nlea_Tessellator_addVertex($var5, var$25, var$26, var$28); } else if (!$var11) { var$28 = $par3 + $var60; $var17 = $par4; var$29 = $var17 + 0.515625; $var5.$hasTexture = 1; var$43 = $var52; $var5.$textureU = var$43; var$44 = $var58; $var5.$textureV = var$44; nlea_Tessellator_addVertex($var5, var$25, var$28, var$29); $var52 = var$25 + 0.25; $var5.$hasTexture = 1; $var50 = $var56; $var5.$textureU = $var50; $var5.$textureV = var$44; nlea_Tessellator_addVertex($var5, $var52, var$28, var$29); $var56 = $var17 + 0.484375; $var5.$hasTexture = 1; $var5.$textureU = $var50; $var49 = $var54; $var5.$textureV = $var49; nlea_Tessellator_addVertex($var5, $var52, var$28, $var56); $var5.$hasTexture = 1; $var5.$textureU = var$43; $var5.$textureV = $var49; nlea_Tessellator_addVertex($var5, var$25, var$28, $var56); $var5.$hasTexture = 1; $var5.$textureU = var$43; $var5.$textureV = var$44; nlea_Tessellator_addVertex($var5, $var52, var$28, var$29); $var5.$hasTexture = 1; $var5.$textureU = $var50; $var5.$textureV = var$44; nlea_Tessellator_addVertex($var5, var$26, $var65, var$29); $var5.$hasTexture = 1; $var5.$textureU = $var50; $var5.$textureV = $var49; nlea_Tessellator_addVertex($var5, var$26, $var65, $var56); $var5.$hasTexture = 1; $var5.$textureU = var$43; $var5.$textureV = $var49; nlea_Tessellator_addVertex($var5, $var52, var$28, $var56); } else { $var17 = $par4; var$28 = $var17 + 0.515625; $var5.$hasTexture = 1; var$43 = $var52; $var5.$textureU = var$43; var$44 = $var58; $var5.$textureV = var$44; nlea_Tessellator_addVertex($var5, var$26, $var65, var$28); $var52 = var$25 + 0.75; var$25 = $par3 + $var60; $var5.$hasTexture = 1; $var50 = $var56; $var5.$textureU = $var50; $var5.$textureV = var$44; nlea_Tessellator_addVertex($var5, $var52, var$25, var$28); $var56 = $var17 + 0.484375; $var5.$hasTexture = 1; $var5.$textureU = $var50; $var49 = $var54; $var5.$textureV = $var49; nlea_Tessellator_addVertex($var5, $var52, var$25, $var56); $var5.$hasTexture = 1; $var5.$textureU = var$43; $var5.$textureV = $var49; nlea_Tessellator_addVertex($var5, var$26, $var65, $var56); $var5.$hasTexture = 1; $var5.$textureU = var$43; $var5.$textureV = var$44; nlea_Tessellator_addVertex($var5, $var52, var$25, var$28); $var65 = $par2 + 1 | 0; $var5.$hasTexture = 1; $var5.$textureU = $var50; $var5.$textureV = var$44; nlea_Tessellator_addVertex($var5, $var65, var$25, var$28); $var5.$hasTexture = 1; $var5.$textureU = $var50; $var5.$textureV = $var49; nlea_Tessellator_addVertex($var5, $var65, var$25, $var56); $var5.$hasTexture = 1; $var5.$textureU = var$43; $var5.$textureV = $var49; nlea_Tessellator_addVertex($var5, $var52, var$25, $var56); } } return 1; }, nms_RenderBlocks_renderBlockTripWire = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, $var7, $var8, $var9, $var21, $var11, $var13, $var15, $var17, $var19, $var22, $var23, $var24, $var10, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; var$6 = $par1Block.$getIcon(0, 0); if (var$6 === null) { if (jl_System_outCache === null) { var$7 = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$7; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$6 === null) a: { b: { var$7 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$6 = var$7.$textureMapBlocks.$missingImage; break a; } var$6 = var$7.$textureMapItems.$missingTextureStiched; } $var7 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); $var8 = ($var7 & 4) != 4 ? 0 : 1; $var9 = ($var7 & 2) != 2 ? 0 : 1; var$7 = $this.$overrideBlockTexture; if (!(var$7 === null ? 0 : 1)) var$7 = var$6; $var21 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); $var5.$hasBrightness = 1; $var5.$brightness = $var21; $var21 = $par1Block.$getBlockBrightness($this.$blockAccess, $par2, $par3, $par4) * 0.75 * 255.0 | 0; nlea_Tessellator_setColorRGBA($var5, $var21, $var21, $var21, 255); $var11 = var$7.$getMinU(); $var13 = var$7.$getInterpolatedV(!$var8 ? 0.0 : 2.0); $var15 = var$7.$getMaxU(); $var17 = var$7.$getInterpolatedV(!$var8 ? 2.0 : 4.0); $var19 = (!$var9 ? 1.5 : 3.5) / 16.0; $var21 = nms_BlockTripWire_func_72148_a($this.$blockAccess, $par2, $par3, $par4, $var7, 1); $var22 = nms_BlockTripWire_func_72148_a($this.$blockAccess, $par2, $par3, $par4, $var7, 3); $var23 = nms_BlockTripWire_func_72148_a($this.$blockAccess, $par2, $par3, $par4, $var7, 2); $var24 = nms_BlockTripWire_func_72148_a($this.$blockAccess, $par2, $par3, $par4, $var7, 0); if (!$var23 && !$var22 && !$var24 && !$var21) { $var23 = 1; $var24 = 1; } if ($var23) { $var10 = $par2; var$22 = $var10 + 0.484375; var$23 = $par3 + $var19; var$24 = $par4; var$25 = var$24 + 0.25; $var5.$hasTexture = 1; var$26 = $var11; $var5.$textureU = var$26; var$27 = $var13; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$25); var$28 = $var10 + 0.515625; $var5.$hasTexture = 1; $var5.$textureU = var$26; var$29 = $var17; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$28, var$23, var$25); $var5.$hasTexture = 1; $var10 = $var15; $var5.$textureU = $var10; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$28, var$23, var$24); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$24); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$24); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$28, var$23, var$24); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$28, var$23, var$25); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$25); } c: { if (!$var23) { if (!$var24) break c; if ($var22) break c; if ($var21) break c; } var$26 = $par2; var$22 = var$26 + 0.484375; var$23 = $par3 + $var19; var$25 = $par4; var$24 = var$25 + 0.5; $var5.$hasTexture = 1; $var10 = $var11; $var5.$textureU = $var10; var$29 = $var13; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$22, var$23, var$24); var$28 = var$26 + 0.515625; $var5.$hasTexture = 1; $var5.$textureU = $var10; var$27 = $var17; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$28, var$23, var$24); var$25 = var$25 + 0.25; $var5.$hasTexture = 1; var$26 = $var15; $var5.$textureU = var$26; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$28, var$23, var$25); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$22, var$23, var$25); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$22, var$23, var$25); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$28, var$23, var$25); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$28, var$23, var$24); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$22, var$23, var$24); } d: { if (!$var24) { if (!$var23) break d; if ($var22) break d; if ($var21) break d; } $var10 = $par2; var$22 = $var10 + 0.484375; var$23 = $par3 + $var19; var$24 = $par4; var$25 = var$24 + 0.75; $var5.$hasTexture = 1; var$26 = $var11; $var5.$textureU = var$26; var$27 = $var13; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$25); var$28 = $var10 + 0.515625; $var5.$hasTexture = 1; $var5.$textureU = var$26; var$29 = $var17; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$28, var$23, var$25); var$24 = var$24 + 0.5; $var5.$hasTexture = 1; $var10 = $var15; $var5.$textureU = $var10; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$28, var$23, var$24); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$24); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$24); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$28, var$23, var$24); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$28, var$23, var$25); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$25); } if ($var24) { $var10 = $par2; var$22 = $var10 + 0.484375; var$23 = $par3 + $var19; var$24 = $par4 + 1 | 0; $var5.$hasTexture = 1; var$26 = $var11; $var5.$textureU = var$26; var$27 = $var13; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$24); var$25 = $var10 + 0.515625; $var5.$hasTexture = 1; $var5.$textureU = var$26; var$29 = $var17; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$25, var$23, var$24); var$28 = $par4 + 0.75; $var5.$hasTexture = 1; $var10 = $var15; $var5.$textureU = $var10; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$25, var$23, var$28); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$28); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$28); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$25, var$23, var$28); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$25, var$23, var$24); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$24); } if ($var21) { var$22 = $par2; var$23 = $par3 + $var19; $var10 = $par4; var$24 = $var10 + 0.515625; $var5.$hasTexture = 1; var$26 = $var11; $var5.$textureU = var$26; var$27 = $var17; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$24); var$25 = var$22 + 0.25; $var5.$hasTexture = 1; var$29 = $var15; $var5.$textureU = var$29; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$25, var$23, var$24); var$28 = $var10 + 0.484375; $var5.$hasTexture = 1; $var5.$textureU = var$29; $var10 = $var13; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$25, var$23, var$28); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$22, var$23, var$28); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$22, var$23, var$28); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$25, var$23, var$28); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$25, var$23, var$24); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$24); } e: { if (!$var21) { if (!$var22) break e; if ($var23) break e; if ($var24) break e; } var$24 = $par2; var$25 = var$24 + 0.25; var$22 = $par3 + $var19; var$26 = $par4; var$23 = var$26 + 0.515625; $var5.$hasTexture = 1; $var10 = $var11; $var5.$textureU = $var10; var$29 = $var17; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$25, var$22, var$23); var$24 = var$24 + 0.5; $var5.$hasTexture = 1; var$27 = $var15; $var5.$textureU = var$27; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$24, var$22, var$23); var$28 = var$26 + 0.484375; $var5.$hasTexture = 1; $var5.$textureU = var$27; var$26 = $var13; $var5.$textureV = var$26; nlea_Tessellator_addVertex($var5, var$24, var$22, var$28); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$26; nlea_Tessellator_addVertex($var5, var$25, var$22, var$28); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$26; nlea_Tessellator_addVertex($var5, var$25, var$22, var$28); $var5.$hasTexture = 1; $var5.$textureU = var$27; $var5.$textureV = var$26; nlea_Tessellator_addVertex($var5, var$24, var$22, var$28); $var5.$hasTexture = 1; $var5.$textureU = var$27; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$24, var$22, var$23); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$25, var$22, var$23); } f: { if (!$var22) { if (!$var21) break f; if ($var23) break f; if ($var24) break f; } var$24 = $par2; var$25 = var$24 + 0.5; var$28 = $par3 + $var19; $var10 = $par4; var$22 = $var10 + 0.515625; $var5.$hasTexture = 1; var$26 = $var11; $var5.$textureU = var$26; var$27 = $var17; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$25, var$28, var$22); var$23 = var$24 + 0.75; $var5.$hasTexture = 1; var$29 = $var15; $var5.$textureU = var$29; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$23, var$28, var$22); var$24 = $var10 + 0.484375; $var5.$hasTexture = 1; $var5.$textureU = var$29; $var10 = $var13; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$23, var$28, var$24); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$25, var$28, var$24); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$25, var$28, var$24); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$23, var$28, var$24); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$23, var$28, var$22); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$25, var$28, var$22); } if ($var22) { var$22 = $par2 + 0.75; var$23 = $par3 + $var19; $var10 = $par4; var$24 = $var10 + 0.515625; $var5.$hasTexture = 1; var$26 = $var11; $var5.$textureU = var$26; var$27 = $var17; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$24); $var17 = $par2 + 1 | 0; $var5.$hasTexture = 1; var$29 = $var15; $var5.$textureU = var$29; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, $var17, var$23, var$24); $var15 = $var10 + 0.484375; $var5.$hasTexture = 1; $var5.$textureU = var$29; $var10 = $var13; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, $var17, var$23, $var15); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$22, var$23, $var15); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$22, var$23, $var15); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, $var17, var$23, $var15); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, $var17, var$23, var$24); $var5.$hasTexture = 1; $var5.$textureU = var$26; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, var$22, var$23, var$24); } return 1; }, nms_RenderBlocks_renderBlockFire = ($this, $par1BlockFire, $par2, $par3, $par4) => { let $var5, var$6, $var6, $var7, var$9, var$10, $var9, $var11, $var13, $var15, var$15, $var22, $var20, $var26, var$19, var$20, $var24, $var28, var$23, $var30, var$25, var$26, $var17, $var36, $var19, var$30, $var18, $var20_0, var$33, $var32, var$35; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; var$6 = $par1BlockFire.$iconArray2.data; $var6 = var$6[0]; $var7 = var$6[1]; $par1BlockFire = $this.$overrideBlockTexture; if (!($par1BlockFire === null ? 0 : 1)) $par1BlockFire = $var6; a: { nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); var$9 = $this.$blockAccess; nms_Block_$callClinit(); var$10 = var$9.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[var$9.$getBlockId($par2, $par3, $par4)]); $var5.$hasBrightness = 1; $var5.$brightness = var$10; $var9 = $par1BlockFire.$getMinU(); $var11 = $par1BlockFire.$getMinV(); $var13 = $par1BlockFire.$getMaxU(); $var15 = $par1BlockFire.$getMaxV(); $par1BlockFire = $this.$blockAccess; var$15 = $par3 - 1 | 0; if (!$par1BlockFire.$doesBlockHaveSolidTopSurface($par2, var$15, $par4)) { $par1BlockFire = nms_Block_fire; var$9 = $this.$blockAccess; if (!($par1BlockFire.$chanceToEncourageFire.data[var$9.$getBlockId($par2, var$15, $par4)] <= 0 ? 0 : 1)) { if (((($par2 + $par3 | 0) + $par4 | 0) & 1) == 1) { $var9 = $var7.$getMinU(); $var11 = $var7.$getMinV(); $var13 = $var7.$getMaxU(); $var15 = $var7.$getMaxV(); } if ((((($par2 / 2 | 0) + ($par3 / 2 | 0) | 0) + ($par4 / 2 | 0) | 0) & 1) != 1) { $var22 = $var9; $var9 = $var13; $var13 = $var22; } $par1BlockFire = nms_Block_fire; var$9 = $this.$blockAccess; var$15 = $par2 - 1 | 0; if ($par1BlockFire.$chanceToEncourageFire.data[var$9.$getBlockId(var$15, $par3, $par4)] <= 0 ? 0 : 1) { $var22 = $par2 + 0.20000000298023224; $var20 = $par3 + 1.399999976158142 + 0.0625; $var26 = $par4 + 1 | 0; $var5.$hasTexture = 1; var$19 = $var9; $var5.$textureU = var$19; var$20 = $var11; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var22, $var20, $var26); $var24 = $par2 + 0 | 0; $var28 = ($par3 + 0 | 0) + 0.0625; $var5.$hasTexture = 1; $var5.$textureU = var$19; var$23 = $var15; $var5.$textureV = var$23; nlea_Tessellator_addVertex($var5, $var24, $var28, $var26); $var30 = $par4 + 0 | 0; $var5.$hasTexture = 1; var$25 = $var13; $var5.$textureU = var$25; $var5.$textureV = var$23; nlea_Tessellator_addVertex($var5, $var24, $var28, $var30); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var22, $var20, $var30); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var22, $var20, $var30); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = var$23; nlea_Tessellator_addVertex($var5, $var24, $var28, $var30); $var5.$hasTexture = 1; $var5.$textureU = var$19; $var5.$textureV = var$23; nlea_Tessellator_addVertex($var5, $var24, $var28, $var26); $var5.$hasTexture = 1; $var5.$textureU = var$19; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var22, $var20, $var26); } $par1BlockFire = nms_Block_fire; var$9 = $this.$blockAccess; var$26 = $par2 + 1 | 0; if ($par1BlockFire.$chanceToEncourageFire.data[var$9.$getBlockId(var$26, $par3, $par4)] <= 0 ? 0 : 1) { $var22 = var$26 - 0.20000000298023224; $var20 = $par3 + 1.399999976158142 + 0.0625; $var26 = $par4 + 0 | 0; $var5.$hasTexture = 1; var$19 = $var13; $var5.$textureU = var$19; var$20 = $var11; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var22, $var20, $var26); $var24 = var$26 - 0 | 0; $var28 = ($par3 + 0 | 0) + 0.0625; $var5.$hasTexture = 1; $var5.$textureU = var$19; var$23 = $var15; $var5.$textureV = var$23; nlea_Tessellator_addVertex($var5, $var24, $var28, $var26); $var30 = $par4 + 1 | 0; $var5.$hasTexture = 1; var$25 = $var9; $var5.$textureU = var$25; $var5.$textureV = var$23; nlea_Tessellator_addVertex($var5, $var24, $var28, $var30); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var22, $var20, $var30); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var22, $var20, $var30); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = var$23; nlea_Tessellator_addVertex($var5, $var24, $var28, $var30); $var5.$hasTexture = 1; $var5.$textureU = var$19; $var5.$textureV = var$23; nlea_Tessellator_addVertex($var5, $var24, $var28, $var26); $var5.$hasTexture = 1; $var5.$textureU = var$19; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var22, $var20, $var26); } var$9 = nms_Block_fire; $par1BlockFire = $this.$blockAccess; var$15 = $par4 - 1 | 0; if (var$9.$chanceToEncourageFire.data[$par1BlockFire.$getBlockId($par2, $par3, var$15)] <= 0 ? 0 : 1) { $var28 = $par2 + 0 | 0; $var30 = $par3 + 1.399999976158142 + 0.0625; $var22 = $par4 + 0.20000000298023224; $var5.$hasTexture = 1; var$19 = $var9; $var5.$textureU = var$19; var$20 = $var11; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var28, $var30, $var22); $var20 = ($par3 + 0 | 0) + 0.0625; $var26 = $par4 + 0 | 0; $var5.$hasTexture = 1; $var5.$textureU = var$19; var$23 = $var15; $var5.$textureV = var$23; nlea_Tessellator_addVertex($var5, $var28, $var20, $var26); $var24 = var$26; $var5.$hasTexture = 1; var$25 = $var13; $var5.$textureU = var$25; $var5.$textureV = var$23; nlea_Tessellator_addVertex($var5, $var24, $var20, $var26); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var24, $var30, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var24, $var30, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = var$23; nlea_Tessellator_addVertex($var5, $var24, $var20, $var26); $var5.$hasTexture = 1; $var5.$textureU = var$19; $var5.$textureV = var$23; nlea_Tessellator_addVertex($var5, $var28, $var20, $var26); $var5.$hasTexture = 1; $var5.$textureU = var$19; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var28, $var30, $var22); } $par1BlockFire = nms_Block_fire; var$9 = $this.$blockAccess; var$15 = $par4 + 1 | 0; if ($par1BlockFire.$chanceToEncourageFire.data[var$9.$getBlockId($par2, $par3, var$15)] <= 0 ? 0 : 1) { $var24 = var$26; $var28 = $par3 + 1.399999976158142 + 0.0625; $var30 = var$15 - 0.20000000298023224; $var5.$hasTexture = 1; $var17 = $var13; $var5.$textureU = $var17; $var36 = $var11; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var24, $var28, $var30); $var22 = ($par3 + 0 | 0) + 0.0625; $var20 = var$15 - 0 | 0; $var5.$hasTexture = 1; $var5.$textureU = $var17; var$25 = $var15; $var5.$textureV = var$25; nlea_Tessellator_addVertex($var5, $var24, $var22, $var20); $var26 = $par2 + 0 | 0; $var5.$hasTexture = 1; $var19 = $var9; $var5.$textureU = $var19; $var5.$textureV = var$25; nlea_Tessellator_addVertex($var5, $var26, $var22, $var20); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var26, $var28, $var30); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var26, $var28, $var30); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var5.$textureV = var$25; nlea_Tessellator_addVertex($var5, $var26, $var22, $var20); $var5.$hasTexture = 1; $var5.$textureU = $var17; $var5.$textureV = var$25; nlea_Tessellator_addVertex($var5, $var24, $var22, $var20); $var5.$hasTexture = 1; $var5.$textureU = $var17; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var24, $var28, $var30); } $par1BlockFire = nms_Block_fire; var$9 = $this.$blockAccess; $par3 = $par3 + 1 | 0; if ($par1BlockFire.$chanceToEncourageFire.data[var$9.$getBlockId($par2, $par3, $par4)] <= 0 ? 0 : 1) { $var22 = $par2 + 0.5; $var20 = $var22 + 0.5; $var22 = $var22 - 0.5; $var26 = $par4 + 0.5; $var24 = $var26 + 0.5; $var26 = $var26 - 0.5; $var9 = $var6.$getMinU(); $var28 = $var6.$getMinV(); $var30 = $var6.$getMaxU(); $var15 = $var6.$getMaxV(); if ((($par2 + $par3 | 0) + $par4 | 0) & 1) { $var22 = $par2 + 0 | 0; $var20 = $par3 + (-0.20000000298023224); $var5.$hasTexture = 1; var$25 = $var30; $var5.$textureU = var$25; $var19 = $var28; $var5.$textureV = $var19; nlea_Tessellator_addVertex($var5, $var22, $var20, $var24); $var28 = $par3 + 0 | 0; $var5.$hasTexture = 1; $var5.$textureU = var$25; $var17 = $var15; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var22, $var28, $var26); $var30 = var$26; $var5.$hasTexture = 1; var$25 = $var9; $var5.$textureU = var$25; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var30, $var28, $var26); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var19; nlea_Tessellator_addVertex($var5, $var30, $var20, $var24); $var9 = $var7.$getMinU(); $var15 = $var7.$getMinV(); $var11 = $var7.$getMaxU(); $var13 = $var7.$getMaxV(); $var5.$hasTexture = 1; var$25 = $var11; $var5.$textureU = var$25; $var19 = $var15; $var5.$textureV = $var19; nlea_Tessellator_addVertex($var5, $var30, $var20, $var26); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var17 = $var13; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var30, $var28, $var24); $var5.$hasTexture = 1; var$25 = $var9; $var5.$textureU = var$25; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var22, $var28, $var24); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var19; nlea_Tessellator_addVertex($var5, $var22, $var20, $var26); } else { $var26 = $par3 + (-0.20000000298023224); $var24 = $par4 + 0 | 0; $var5.$hasTexture = 1; var$25 = $var30; $var5.$textureU = var$25; $var19 = $var28; $var5.$textureV = $var19; nlea_Tessellator_addVertex($var5, $var22, $var26, $var24); $var28 = $par3 + 0 | 0; $var5.$hasTexture = 1; $var5.$textureU = var$25; $var17 = $var15; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var20, $var28, $var24); $var30 = var$15; $var5.$hasTexture = 1; var$25 = $var9; $var5.$textureU = var$25; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var20, $var28, $var30); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var19; nlea_Tessellator_addVertex($var5, $var22, $var26, $var30); $var9 = $var7.$getMinU(); $var11 = $var7.$getMinV(); $var13 = $var7.$getMaxU(); $var15 = $var7.$getMaxV(); $var5.$hasTexture = 1; $var17 = $var13; $var5.$textureU = $var17; var$25 = $var11; $var5.$textureV = var$25; nlea_Tessellator_addVertex($var5, $var20, $var26, $var30); $var5.$hasTexture = 1; $var5.$textureU = $var17; $var19 = $var15; $var5.$textureV = $var19; nlea_Tessellator_addVertex($var5, $var22, $var28, $var30); $var5.$hasTexture = 1; $var17 = $var9; $var5.$textureU = $var17; $var5.$textureV = $var19; nlea_Tessellator_addVertex($var5, $var22, $var28, $var24); $var5.$hasTexture = 1; $var5.$textureU = $var17; $var5.$textureV = var$25; nlea_Tessellator_addVertex($var5, $var20, $var26, $var24); } } break a; } } var$30 = $par2 + 0.5; $var18 = var$30 + 0.2; $var20_0 = var$30 - 0.2; var$33 = $par4 + 0.5; $var22 = var$33 + 0.2; $var24 = var$33 - 0.2; $var26 = var$30 - 0.3; $var28 = var$30 + 0.3; $var30 = var$33 - 0.3; $var32 = var$33 + 0.3; $var20 = $par3 + 1.399999976158142; var$35 = $par4 + 1 | 0; $var5.$hasTexture = 1; $var19 = $var13; $var5.$textureU = $var19; $var36 = $var11; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var26, $var20, var$35); $var11 = $par3 + 0 | 0; $var5.$hasTexture = 1; $var5.$textureU = $var19; $var17 = $var15; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var18, $var11, var$35); $var15 = $par4 + 0 | 0; $var5.$hasTexture = 1; var$25 = $var9; $var5.$textureU = var$25; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var18, $var11, $var15); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var26, $var20, $var15); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var28, $var20, $var15); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var20_0, $var11, $var15); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var20_0, $var11, var$35); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var28, $var20, var$35); $var28 = $var7.$getMinU(); $var13 = $var7.$getMinV(); $var18 = $var7.$getMaxU(); $var9 = $var7.$getMaxV(); $var26 = $par2 + 1 | 0; $var5.$hasTexture = 1; $var19 = $var18; $var5.$textureU = $var19; $var36 = $var13; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var26, $var20, $var32); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var17 = $var9; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var26, $var11, $var24); $var9 = $par2 + 0 | 0; $var5.$hasTexture = 1; var$25 = $var28; $var5.$textureU = var$25; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var9, $var11, $var24); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var9, $var20, $var32); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var9, $var20, $var30); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var9, $var11, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var26, $var11, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var26, $var20, $var30); $var20_0 = var$30 - 0.5; $var32 = var$30 + 0.5; $var22 = var$33 - 0.5; $var30 = var$33 + 0.5; $var18 = var$30 - 0.4; $var13 = var$30 + 0.4; $var24 = var$33 - 0.4; $var28 = var$33 + 0.4; $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var18, $var20, $var15); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var20_0, $var11, $var15); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var20_0, $var11, var$35); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var18, $var20, var$35); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var13, $var20, var$35); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var32, $var11, var$35); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var32, $var11, $var15); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var13, $var20, $var15); $var32 = $var6.$getMinU(); var$30 = $var6.$getMinV(); $var15 = $var6.$getMaxU(); $var13 = $var6.$getMaxV(); $var5.$hasTexture = 1; $var19 = $var32; $var5.$textureU = $var19; $var36 = var$30; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var9, $var20, $var28); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var17 = $var13; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var9, $var11, $var30); $var5.$hasTexture = 1; var$25 = $var15; $var5.$textureU = var$25; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var26, $var11, $var30); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var26, $var20, $var28); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var26, $var20, $var24); $var5.$hasTexture = 1; $var5.$textureU = $var19; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var26, $var11, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var17; nlea_Tessellator_addVertex($var5, $var9, $var11, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var9, $var20, $var24); } return 1; }, nms_RenderBlocks_renderBlockRedstoneWire = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, $var29, $var12, $var13, $var14, $var15, var$16, $var20, $var21, var$19, $var22, var$21, $var23, var$23, var$24, $var24, $var25, var$27, $var26, $var27, $var28, var$31, var$32, var$33, var$34, var$35, var$36, var$37, $var30, $var31, $var32, var$41, var$42, var$43, var$44; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; $var6 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); $var7 = nms_BlockRedstoneWire_getRedstoneWireIcon($rt_s(1158)); $var8 = nms_BlockRedstoneWire_getRedstoneWireIcon($rt_s(1159)); $var9 = nms_BlockRedstoneWire_getRedstoneWireIcon($rt_s(1160)); $var10 = nms_BlockRedstoneWire_getRedstoneWireIcon($rt_s(1161)); $var29 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); $var5.$hasBrightness = 1; $var5.$brightness = $var29; $var12 = $var6 / 15.0; $var13 = $var12 * 0.6000000238418579 + 0.4000000059604645; if (!$var6) $var13 = 0.30000001192092896; $var12 = $var12 * $var12; $var14 = $var12 * 0.699999988079071 - 0.5; $var15 = $var12 * 0.6000000238418579 - 0.699999988079071; if ($var14 < 0.0) $var14 = 0.0; if ($var15 < 0.0) $var15 = 0.0; nlea_Tessellator_setColorRGBA($var5, $var13 * 255.0 | 0, $var14 * 255.0 | 0, $var15 * 255.0 | 0, 255); $par1Block = $this.$blockAccess; var$16 = $par2 - 1 | 0; $var20 = !nms_BlockRedstoneWire_isPowerProviderOrWire($par1Block, var$16, $par3, $par4, 1) && !(!$this.$blockAccess.$isBlockNormalCube(var$16, $par3, $par4) && nms_BlockRedstoneWire_isPowerProviderOrWire($this.$blockAccess, var$16, $par3 - 1 | 0, $par4, (-1))) ? 0 : 1; $par1Block = $this.$blockAccess; $var6 = $par2 + 1 | 0; $var21 = !nms_BlockRedstoneWire_isPowerProviderOrWire($par1Block, $var6, $par3, $par4, 3) && !(!$this.$blockAccess.$isBlockNormalCube($var6, $par3, $par4) && nms_BlockRedstoneWire_isPowerProviderOrWire($this.$blockAccess, $var6, $par3 - 1 | 0, $par4, (-1))) ? 0 : 1; $par1Block = $this.$blockAccess; var$19 = $par4 - 1 | 0; $var22 = !nms_BlockRedstoneWire_isPowerProviderOrWire($par1Block, $par2, $par3, var$19, 2) && !(!$this.$blockAccess.$isBlockNormalCube($par2, $par3, var$19) && nms_BlockRedstoneWire_isPowerProviderOrWire($this.$blockAccess, $par2, $par3 - 1 | 0, var$19, (-1))) ? 0 : 1; $par1Block = $this.$blockAccess; var$21 = $par4 + 1 | 0; $var23 = !nms_BlockRedstoneWire_isPowerProviderOrWire($par1Block, $par2, $par3, var$21, 0) && !(!$this.$blockAccess.$isBlockNormalCube($par2, $par3, var$21) && nms_BlockRedstoneWire_isPowerProviderOrWire($this.$blockAccess, $par2, $par3 - 1 | 0, var$21, (-1))) ? 0 : 1; $par1Block = $this.$blockAccess; var$23 = $par3 + 1 | 0; if (!$par1Block.$isBlockNormalCube($par2, var$23, $par4)) { if ($this.$blockAccess.$isBlockNormalCube(var$16, $par3, $par4) && nms_BlockRedstoneWire_isPowerProviderOrWire($this.$blockAccess, var$16, var$23, $par4, (-1))) $var20 = 1; if ($this.$blockAccess.$isBlockNormalCube($var6, $par3, $par4) && nms_BlockRedstoneWire_isPowerProviderOrWire($this.$blockAccess, $var6, var$23, $par4, (-1))) $var21 = 1; if ($this.$blockAccess.$isBlockNormalCube($par2, $par3, var$19) && nms_BlockRedstoneWire_isPowerProviderOrWire($this.$blockAccess, $par2, var$23, var$19, (-1))) $var22 = 1; if ($this.$blockAccess.$isBlockNormalCube($par2, $par3, var$21) && nms_BlockRedstoneWire_isPowerProviderOrWire($this.$blockAccess, $par2, var$23, var$21, (-1))) $var23 = 1; } var$24 = $par2 + 0 | 0; $var24 = var$24; $var25 = $var6; var$27 = $par4 + 0 | 0; $var26 = var$27; $var27 = var$21; $var28 = 0; if (!(!$var20 && !$var21) && !$var22 && !$var23) $var28 = 1; if (!(!$var22 && !$var23) && !$var21 && !$var20) $var28 = 2; if ($var28) { if ($var28 != 1) { var$31 = $var25; var$32 = $par3 + 0.015625; var$33 = $var27; var$34 = $var8.$getMaxU(); var$35 = $var8.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$34; $var5.$textureV = var$35; nlea_Tessellator_addVertex($var5, var$31, var$32, var$33); var$34 = $var26; var$35 = $var8.$getMinU(); var$36 = $var8.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$35; $var5.$textureV = var$36; nlea_Tessellator_addVertex($var5, var$31, var$32, var$34); var$35 = $var24; var$36 = $var8.$getMinU(); var$37 = $var8.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$35, var$32, var$34); var$36 = $var8.$getMaxU(); var$37 = $var8.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$35, var$32, var$33); nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); var$36 = $var10.$getMaxU(); var$37 = $var10.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$32, var$33); var$36 = $var10.$getMinU(); var$37 = $var10.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$32, var$34); var$31 = $var10.$getMinU(); var$36 = $var10.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$36; nlea_Tessellator_addVertex($var5, var$35, var$32, var$34); var$31 = $var10.$getMaxU(); var$34 = $var10.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$34; nlea_Tessellator_addVertex($var5, var$35, var$32, var$33); } else { var$33 = $var25; var$34 = $par3 + 0.015625; var$35 = $var27; var$31 = $var8.$getMaxU(); var$32 = $var8.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$32; nlea_Tessellator_addVertex($var5, var$33, var$34, var$35); var$36 = $var26; var$31 = $var8.$getMaxU(); var$32 = $var8.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$32; nlea_Tessellator_addVertex($var5, var$33, var$34, var$36); var$37 = $var24; var$31 = $var8.$getMinU(); var$32 = $var8.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$32; nlea_Tessellator_addVertex($var5, var$37, var$34, var$36); var$31 = $var8.$getMinU(); var$32 = $var8.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$32; nlea_Tessellator_addVertex($var5, var$37, var$34, var$35); nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); var$31 = $var10.$getMaxU(); var$32 = $var10.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$32; nlea_Tessellator_addVertex($var5, var$33, var$34, var$35); var$31 = $var10.$getMaxU(); var$32 = $var10.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$32; nlea_Tessellator_addVertex($var5, var$33, var$34, var$36); var$31 = $var10.$getMinU(); var$32 = $var10.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$32; nlea_Tessellator_addVertex($var5, var$37, var$34, var$36); var$31 = $var10.$getMinU(); var$32 = $var10.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$32; nlea_Tessellator_addVertex($var5, var$37, var$34, var$35); } } else { $var29 = 0; $var30 = 0; $var31 = 16; $var32 = 16; if (!$var20) $var24 = $var24 + 0.3125; if (!$var20) $var29 = 5; if (!$var21) $var25 = $var25 - 0.3125; if (!$var21) $var31 = 11; if (!$var22) $var26 = $var26 + 0.3125; if (!$var22) $var30 = 5; if (!$var23) $var27 = $var27 - 0.3125; if (!$var23) $var32 = 11; var$31 = $var25; var$32 = $par3 + 0.015625; var$33 = $var27; var$34 = $var31; var$35 = $var7.$getInterpolatedU(var$34); var$36 = $var32; var$37 = $var7.$getInterpolatedV(var$36); $var5.$hasTexture = 1; $var5.$textureU = var$35; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$32, var$33); var$35 = $var26; var$41 = $var7.$getInterpolatedU(var$34); var$42 = $var30; var$37 = $var7.$getInterpolatedV(var$42); $var5.$hasTexture = 1; $var5.$textureU = var$41; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$32, var$35); var$37 = $var24; var$41 = $var29; var$43 = $var7.$getInterpolatedU(var$41); var$44 = $var7.$getInterpolatedV(var$42); $var5.$hasTexture = 1; $var5.$textureU = var$43; $var5.$textureV = var$44; nlea_Tessellator_addVertex($var5, var$37, var$32, var$35); var$43 = $var7.$getInterpolatedU(var$41); var$44 = $var7.$getInterpolatedV(var$36); $var5.$hasTexture = 1; $var5.$textureU = var$43; $var5.$textureV = var$44; nlea_Tessellator_addVertex($var5, var$37, var$32, var$33); nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); var$43 = $var9.$getInterpolatedU(var$34); var$44 = $var9.$getInterpolatedV(var$36); $var5.$hasTexture = 1; $var5.$textureU = var$43; $var5.$textureV = var$44; nlea_Tessellator_addVertex($var5, var$31, var$32, var$33); var$34 = $var9.$getInterpolatedU(var$34); var$43 = $var9.$getInterpolatedV(var$42); $var5.$hasTexture = 1; $var5.$textureU = var$34; $var5.$textureV = var$43; nlea_Tessellator_addVertex($var5, var$31, var$32, var$35); var$31 = $var9.$getInterpolatedU(var$41); var$34 = $var9.$getInterpolatedV(var$42); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$34; nlea_Tessellator_addVertex($var5, var$37, var$32, var$35); var$31 = $var9.$getInterpolatedU(var$41); var$34 = $var9.$getInterpolatedV(var$36); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$34; nlea_Tessellator_addVertex($var5, var$37, var$32, var$33); } if (!$this.$blockAccess.$isBlockNormalCube($par2, var$23, $par4)) { if ($this.$blockAccess.$isBlockNormalCube(var$16, $par3, $par4) && $this.$blockAccess.$getBlockId(var$16, var$23, $par4) == nms_Block_redstoneWire.$blockID) { nlea_Tessellator_setColorRGBA($var5, 1.0 * $var13 * 255.0 | 0, 1.0 * $var14 * 255.0 | 0, 1.0 * $var15 * 255.0 | 0, 255); var$31 = $par2 + 0.015625; var$32 = var$23 + 0.02187499962747097; var$33 = var$21; var$34 = $var8.$getMaxU(); var$35 = $var8.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$34; $var5.$textureV = var$35; nlea_Tessellator_addVertex($var5, var$31, var$32, var$33); var$34 = $par3 + 0 | 0; var$35 = $var8.$getMinU(); var$36 = $var8.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$35; $var5.$textureV = var$36; nlea_Tessellator_addVertex($var5, var$31, var$34, var$33); var$35 = var$27; var$36 = $var8.$getMinU(); var$37 = $var8.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$34, var$35); var$36 = $var8.$getMaxU(); var$37 = $var8.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$32, var$35); nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); var$36 = $var10.$getMaxU(); var$37 = $var10.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$32, var$33); var$36 = $var10.$getMinU(); var$37 = $var10.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$34, var$33); var$33 = $var10.$getMinU(); var$36 = $var10.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$33; $var5.$textureV = var$36; nlea_Tessellator_addVertex($var5, var$31, var$34, var$35); var$33 = $var10.$getMaxU(); var$34 = $var10.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$33; $var5.$textureV = var$34; nlea_Tessellator_addVertex($var5, var$31, var$32, var$35); } if ($this.$blockAccess.$isBlockNormalCube($var6, $par3, $par4) && $this.$blockAccess.$getBlockId($var6, var$23, $par4) == nms_Block_redstoneWire.$blockID) { nlea_Tessellator_setColorRGBA($var5, 1.0 * $var13 * 255.0 | 0, 1.0 * $var14 * 255.0 | 0, 1.0 * $var15 * 255.0 | 0, 255); var$31 = $var6 - 0.015625; var$32 = $par3 + 0 | 0; var$33 = var$21; var$34 = $var8.$getMinU(); var$35 = $var8.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$34; $var5.$textureV = var$35; nlea_Tessellator_addVertex($var5, var$31, var$32, var$33); var$34 = var$23 + 0.02187499962747097; var$35 = $var8.$getMaxU(); var$36 = $var8.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$35; $var5.$textureV = var$36; nlea_Tessellator_addVertex($var5, var$31, var$34, var$33); var$35 = var$27; var$36 = $var8.$getMaxU(); var$37 = $var8.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$34, var$35); var$36 = $var8.$getMinU(); var$37 = $var8.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$32, var$35); nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); var$36 = $var10.$getMinU(); var$37 = $var10.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$32, var$33); var$36 = $var10.$getMaxU(); var$37 = $var10.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$34, var$33); var$33 = $var10.$getMaxU(); var$36 = $var10.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$33; $var5.$textureV = var$36; nlea_Tessellator_addVertex($var5, var$31, var$34, var$35); var$33 = $var10.$getMinU(); var$34 = $var10.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$33; $var5.$textureV = var$34; nlea_Tessellator_addVertex($var5, var$31, var$32, var$35); } if ($this.$blockAccess.$isBlockNormalCube($par2, $par3, var$19) && $this.$blockAccess.$getBlockId($par2, var$23, var$19) == nms_Block_redstoneWire.$blockID) { nlea_Tessellator_setColorRGBA($var5, 1.0 * $var13 * 255.0 | 0, 1.0 * $var14 * 255.0 | 0, 1.0 * $var15 * 255.0 | 0, 255); var$31 = $var6; var$32 = $par3 + 0 | 0; var$33 = $par4 + 0.015625; var$34 = $var8.$getMinU(); var$35 = $var8.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$34; $var5.$textureV = var$35; nlea_Tessellator_addVertex($var5, var$31, var$32, var$33); var$34 = var$23 + 0.02187499962747097; var$35 = $var8.$getMaxU(); var$36 = $var8.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$35; $var5.$textureV = var$36; nlea_Tessellator_addVertex($var5, var$31, var$34, var$33); var$35 = var$24; var$36 = $var8.$getMaxU(); var$37 = $var8.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$35, var$34, var$33); var$36 = $var8.$getMinU(); var$37 = $var8.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$35, var$32, var$33); nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); var$36 = $var10.$getMinU(); var$37 = $var10.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$32, var$33); var$36 = $var10.$getMaxU(); var$37 = $var10.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$34, var$33); var$31 = $var10.$getMaxU(); var$36 = $var10.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$36; nlea_Tessellator_addVertex($var5, var$35, var$34, var$33); var$31 = $var10.$getMinU(); var$34 = $var10.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$34; nlea_Tessellator_addVertex($var5, var$35, var$32, var$33); } if ($this.$blockAccess.$isBlockNormalCube($par2, $par3, var$21) && $this.$blockAccess.$getBlockId($par2, var$23, var$21) == nms_Block_redstoneWire.$blockID) { nlea_Tessellator_setColorRGBA($var5, 1.0 * $var13 * 255.0 | 0, 1.0 * $var14 * 255.0 | 0, 1.0 * $var15 * 255.0 | 0, 255); var$31 = $var6; var$32 = var$23 + 0.02187499962747097; var$33 = var$21 - 0.015625; var$34 = $var8.$getMaxU(); var$35 = $var8.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$34; $var5.$textureV = var$35; nlea_Tessellator_addVertex($var5, var$31, var$32, var$33); var$34 = $par3 + 0 | 0; var$35 = $var8.$getMinU(); var$36 = $var8.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$35; $var5.$textureV = var$36; nlea_Tessellator_addVertex($var5, var$31, var$34, var$33); var$35 = var$24; var$36 = $var8.$getMinU(); var$37 = $var8.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$35, var$34, var$33); var$36 = $var8.$getMaxU(); var$37 = $var8.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$35, var$32, var$33); nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); var$36 = $var10.$getMaxU(); var$37 = $var10.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$32, var$33); var$36 = $var10.$getMinU(); var$37 = $var10.$getMinV(); $var5.$hasTexture = 1; $var5.$textureU = var$36; $var5.$textureV = var$37; nlea_Tessellator_addVertex($var5, var$31, var$34, var$33); var$31 = $var10.$getMinU(); var$36 = $var10.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$36; nlea_Tessellator_addVertex($var5, var$35, var$34, var$33); var$31 = $var10.$getMaxU(); var$34 = $var10.$getMaxV(); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$34; nlea_Tessellator_addVertex($var5, var$35, var$32, var$33); } } return 1; }, nms_RenderBlocks_renderBlockMinecartTrack = ($this, $par1BlockRailBase, $par2, $par3, $par4) => { let $var5, $var6, var$7, var$8, var$9, var$10, $var8, $var10, $var12, $var14, $var18, $var22, $var26, $var28, $var34, var$20, $var16, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; $var6 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); var$7 = $par1BlockRailBase.$getIcon(0, $var6); if (var$7 === null) { if (jl_System_outCache === null) { var$8 = new otcic_JSStdoutPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); var$8.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$8.$sb = var$9; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$8; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$7 === null) a: { b: { var$8 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$7 = var$8.$textureMapBlocks.$missingImage; break a; } var$7 = var$8.$textureMapItems.$missingTextureStiched; } var$8 = $this.$overrideBlockTexture; if (!(var$8 === null ? 0 : 1)) var$8 = var$7; if ($par1BlockRailBase.$isPowered) $var6 = $var6 & 7; $par1BlockRailBase = $this.$blockAccess; var$10 = $par1BlockRailBase.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[$par1BlockRailBase.$getBlockId($par2, $par3, $par4)]); $var5.$hasBrightness = 1; $var5.$brightness = var$10; nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); $var8 = var$8.$getMinU(); $var10 = var$8.$getMinV(); $var12 = var$8.$getMaxU(); $var14 = var$8.$getMaxV(); $var18 = $par2 + 1 | 0; $var22 = $par2 + 0 | 0; $var26 = $par4 + 0 | 0; $var28 = $par4 + 1 | 0; $var34 = $par3 + 0.0625; if ($var6 != 1 && $var6 != 2 && $var6 != 3 && $var6 != 7) { if ($var6 == 8) { var$20 = $var22; $var16 = $var18; var$22 = $var18; var$23 = $var28; var$24 = $var26; var$25 = $var26; var$26 = $var22; $var18 = $var16; $var22 = var$22; var$27 = $var28; $var26 = var$24; $var28 = var$25; } else if ($var6 != 9) { var$20 = $var18; $var16 = $var22; var$23 = $var26; var$22 = $var28; var$26 = $var18; $var18 = $var16; var$27 = $var26; $var26 = var$22; } else { var$20 = $var18; var$26 = $var22; $var16 = $var18; var$23 = $var28; var$27 = $var26; var$22 = $var26; $var18 = $var22; $var22 = $var16; $var26 = $var28; $var28 = var$22; } } else { var$20 = $var22; var$26 = $var18; var$23 = $var26; var$27 = $var28; } if ($var6 != 2 && $var6 != 4) { if ($var6 != 3 && $var6 != 5) { var$25 = $var34; var$22 = $var34; $var16 = $var34; var$24 = $var34; $var34 = var$22; } else { var$22 = $var34 + 1.0; var$25 = var$22; $var16 = $var34; var$24 = $var34; $var34 = var$22; } } else { var$24 = $var34 + 1.0; var$25 = $var34; $var16 = var$24; } $var5.$hasTexture = 1; var$28 = $var12; $var5.$textureU = var$28; var$29 = $var10; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$26, $var16, var$27); $var5.$hasTexture = 1; $var5.$textureU = var$28; var$30 = $var14; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, var$20, var$25, $var28); $var5.$hasTexture = 1; var$31 = $var8; $var5.$textureU = var$31; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var22, $var34, $var26); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, $var18, var$24, var$23); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, $var18, var$24, var$23); $var5.$hasTexture = 1; $var5.$textureU = var$31; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var22, $var34, $var26); $var5.$hasTexture = 1; $var5.$textureU = var$28; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, var$20, var$25, $var28); $var5.$hasTexture = 1; $var5.$textureU = var$28; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, var$26, $var16, var$27); return 1; }, nms_RenderBlocks_renderBlockLadder = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, $var15, $var20, $var9, $var11, $var13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $var18; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; var$6 = $par1Block.$getIcon(0, 0); if (var$6 === null) { if (jl_System_outCache === null) { var$7 = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$7; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$6 === null) a: { b: { var$8 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$6 = var$8.$textureMapBlocks.$missingImage; break a; } var$6 = var$8.$textureMapItems.$missingTextureStiched; } var$8 = $this.$overrideBlockTexture; if (!(var$8 === null ? 0 : 1)) var$8 = var$6; $var15 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); $var5.$hasBrightness = 1; $var5.$brightness = $var15; nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); $var20 = var$8.$getMinU(); $var9 = var$8.$getMinV(); $var11 = var$8.$getMaxU(); $var13 = var$8.$getMaxV(); $var15 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); if ($var15 == 5) { var$14 = $par2 + 0.05000000074505806; var$15 = ($par3 + 1 | 0) + 0.0; var$16 = ($par4 + 1 | 0) + 0.0; $var5.$hasTexture = 1; var$17 = $var20; $var5.$textureU = var$17; var$18 = $var9; $var5.$textureV = var$18; nlea_Tessellator_addVertex($var5, var$14, var$15, var$16); var$19 = ($par3 + 0 | 0) - 0.0; $var5.$hasTexture = 1; $var5.$textureU = var$17; var$20 = $var13; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, var$14, var$19, var$16); var$16 = ($par4 + 0 | 0) - 0.0; $var5.$hasTexture = 1; var$17 = $var11; $var5.$textureU = var$17; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, var$14, var$19, var$16); $var5.$hasTexture = 1; $var5.$textureU = var$17; $var5.$textureV = var$18; nlea_Tessellator_addVertex($var5, var$14, var$15, var$16); } if ($var15 == 4) { var$19 = ($par2 + 1 | 0) - 0.05000000074505806; var$14 = ($par3 + 0 | 0) - 0.0; var$15 = ($par4 + 1 | 0) + 0.0; $var5.$hasTexture = 1; var$17 = $var11; $var5.$textureU = var$17; var$18 = $var13; $var5.$textureV = var$18; nlea_Tessellator_addVertex($var5, var$19, var$14, var$15); var$16 = ($par3 + 1 | 0) + 0.0; $var5.$hasTexture = 1; $var5.$textureU = var$17; var$20 = $var9; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, var$19, var$16, var$15); var$15 = ($par4 + 0 | 0) - 0.0; $var5.$hasTexture = 1; var$17 = $var20; $var5.$textureU = var$17; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, var$19, var$16, var$15); $var5.$hasTexture = 1; $var5.$textureU = var$17; $var5.$textureV = var$18; nlea_Tessellator_addVertex($var5, var$19, var$14, var$15); } if ($var15 == 3) { var$16 = ($par2 + 1 | 0) + 0.0; var$14 = ($par3 + 0 | 0) - 0.0; var$15 = $par4 + 0.05000000074505806; $var5.$hasTexture = 1; var$17 = $var11; $var5.$textureU = var$17; var$20 = $var13; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, var$16, var$14, var$15); var$19 = ($par3 + 1 | 0) + 0.0; $var5.$hasTexture = 1; $var5.$textureU = var$17; var$18 = $var9; $var5.$textureV = var$18; nlea_Tessellator_addVertex($var5, var$16, var$19, var$15); var$16 = ($par2 + 0 | 0) - 0.0; $var5.$hasTexture = 1; var$17 = $var20; $var5.$textureU = var$17; $var5.$textureV = var$18; nlea_Tessellator_addVertex($var5, var$16, var$19, var$15); $var5.$hasTexture = 1; $var5.$textureU = var$17; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, var$16, var$14, var$15); } if ($var15 == 2) { var$14 = ($par2 + 1 | 0) + 0.0; var$15 = ($par3 + 1 | 0) + 0.0; $var18 = ($par4 + 1 | 0) - 0.05000000074505806; $var5.$hasTexture = 1; var$17 = $var20; $var5.$textureU = var$17; var$20 = $var9; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, var$14, var$15, $var18); $var20 = ($par3 + 0 | 0) - 0.0; $var5.$hasTexture = 1; $var5.$textureU = var$17; var$18 = $var13; $var5.$textureV = var$18; nlea_Tessellator_addVertex($var5, var$14, $var20, $var18); $var9 = ($par2 + 0 | 0) - 0.0; $var5.$hasTexture = 1; var$17 = $var11; $var5.$textureU = var$17; $var5.$textureV = var$18; nlea_Tessellator_addVertex($var5, $var9, $var20, $var18); $var5.$hasTexture = 1; $var5.$textureU = var$17; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var9, var$15, $var18); } return 1; }, nms_RenderBlocks_renderBlockVine = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, $var8, $var9, $var10, $var11, $var19, $var20, $var12, $var14, $var18, var$18, var$19, var$20, var$21, var$22, var$23; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; var$6 = $par1Block.$getIcon(0, 0); if (var$6 === null) { if (jl_System_outCache === null) { var$7 = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$7; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$6 === null) a: { b: { var$6 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$6 = var$6.$textureMapBlocks.$missingImage; break a; } var$6 = var$6.$textureMapItems.$missingTextureStiched; } var$7 = $this.$overrideBlockTexture; if (!(var$7 === null ? 0 : 1)) var$7 = var$6; $var8 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); $var5.$hasBrightness = 1; $var5.$brightness = $var8; $var8 = $par1Block.$colorMultiplier($this.$blockAccess, $par2, $par3, $par4); $var9 = ($var8 >> 16 & 255) / 255.0; $var10 = ($var8 >> 8 & 255) / 255.0; $var11 = ($var8 & 255) / 255.0; nlea_Tessellator_setColorRGBA($var5, 1.0 * $var9 * 255.0 | 0, 1.0 * $var10 * 255.0 | 0, 1.0 * $var11 * 255.0 | 0, 255); $var19 = var$7.$getMinU(); $var20 = var$7.$getMinV(); $var12 = var$7.$getMaxU(); $var14 = var$7.$getMaxV(); $var18 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); if ($var18 & 2) { var$18 = $par2 + 0.05000000074505806; var$19 = $par3 + 1 | 0; var$20 = $par4 + 1 | 0; $var5.$hasTexture = 1; $var11 = $var19; $var5.$textureU = $var11; var$21 = $var20; $var5.$textureV = var$21; nlea_Tessellator_addVertex($var5, var$18, var$19, var$20); var$22 = $par3 + 0 | 0; $var5.$hasTexture = 1; $var5.$textureU = $var11; $var10 = $var14; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$18, var$22, var$20); var$23 = $par4 + 0 | 0; $var5.$hasTexture = 1; $var9 = $var12; $var5.$textureU = $var9; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$18, var$22, var$23); $var5.$hasTexture = 1; $var5.$textureU = $var9; $var5.$textureV = var$21; nlea_Tessellator_addVertex($var5, var$18, var$19, var$23); $var5.$hasTexture = 1; $var5.$textureU = $var9; $var5.$textureV = var$21; nlea_Tessellator_addVertex($var5, var$18, var$19, var$23); $var5.$hasTexture = 1; $var5.$textureU = $var9; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$18, var$22, var$23); $var5.$hasTexture = 1; $var5.$textureU = $var11; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$18, var$22, var$20); $var5.$hasTexture = 1; $var5.$textureU = $var11; $var5.$textureV = var$21; nlea_Tessellator_addVertex($var5, var$18, var$19, var$20); } if ($var18 & 8) { var$18 = ($par2 + 1 | 0) - 0.05000000074505806; var$19 = $par3 + 0 | 0; var$20 = $par4 + 1 | 0; $var5.$hasTexture = 1; $var10 = $var12; $var5.$textureU = $var10; $var11 = $var14; $var5.$textureV = $var11; nlea_Tessellator_addVertex($var5, var$18, var$19, var$20); var$22 = $par3 + 1 | 0; $var5.$hasTexture = 1; $var5.$textureU = $var10; $var9 = $var20; $var5.$textureV = $var9; nlea_Tessellator_addVertex($var5, var$18, var$22, var$20); var$23 = $par4 + 0 | 0; $var5.$hasTexture = 1; var$21 = $var19; $var5.$textureU = var$21; $var5.$textureV = $var9; nlea_Tessellator_addVertex($var5, var$18, var$22, var$23); $var5.$hasTexture = 1; $var5.$textureU = var$21; $var5.$textureV = $var11; nlea_Tessellator_addVertex($var5, var$18, var$19, var$23); $var5.$hasTexture = 1; $var5.$textureU = var$21; $var5.$textureV = $var11; nlea_Tessellator_addVertex($var5, var$18, var$19, var$23); $var5.$hasTexture = 1; $var5.$textureU = var$21; $var5.$textureV = $var9; nlea_Tessellator_addVertex($var5, var$18, var$22, var$23); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = $var9; nlea_Tessellator_addVertex($var5, var$18, var$22, var$20); $var5.$hasTexture = 1; $var5.$textureU = $var10; $var5.$textureV = $var11; nlea_Tessellator_addVertex($var5, var$18, var$19, var$20); } if ($var18 & 4) { var$18 = $par2 + 1 | 0; var$19 = $par3 + 0 | 0; var$20 = $par4 + 0.05000000074505806; $var5.$hasTexture = 1; $var11 = $var12; $var5.$textureU = $var11; var$21 = $var14; $var5.$textureV = var$21; nlea_Tessellator_addVertex($var5, var$18, var$19, var$20); var$22 = $par3 + 1 | 0; $var5.$hasTexture = 1; $var5.$textureU = $var11; $var10 = $var20; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$18, var$22, var$20); var$23 = $par2 + 0 | 0; $var5.$hasTexture = 1; $var9 = $var19; $var5.$textureU = $var9; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$23, var$22, var$20); $var5.$hasTexture = 1; $var5.$textureU = $var9; $var5.$textureV = var$21; nlea_Tessellator_addVertex($var5, var$23, var$19, var$20); $var5.$hasTexture = 1; $var5.$textureU = $var9; $var5.$textureV = var$21; nlea_Tessellator_addVertex($var5, var$23, var$19, var$20); $var5.$hasTexture = 1; $var5.$textureU = $var9; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$23, var$22, var$20); $var5.$hasTexture = 1; $var5.$textureU = $var11; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$18, var$22, var$20); $var5.$hasTexture = 1; $var5.$textureU = $var11; $var5.$textureV = var$21; nlea_Tessellator_addVertex($var5, var$18, var$19, var$20); } if ($var18 & 1) { var$18 = $par2 + 1 | 0; var$19 = $par3 + 1 | 0; var$20 = ($par4 + 1 | 0) - 0.05000000074505806; $var5.$hasTexture = 1; $var9 = $var19; $var5.$textureU = $var9; $var10 = $var20; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$18, var$19, var$20); var$22 = $par3 + 0 | 0; $var5.$hasTexture = 1; $var5.$textureU = $var9; var$21 = $var14; $var5.$textureV = var$21; nlea_Tessellator_addVertex($var5, var$18, var$22, var$20); var$23 = $par2 + 0 | 0; $var5.$hasTexture = 1; $var11 = $var12; $var5.$textureU = $var11; $var5.$textureV = var$21; nlea_Tessellator_addVertex($var5, var$23, var$22, var$20); $var5.$hasTexture = 1; $var5.$textureU = $var11; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$23, var$19, var$20); $var5.$hasTexture = 1; $var5.$textureU = $var11; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$23, var$19, var$20); $var5.$hasTexture = 1; $var5.$textureU = $var11; $var5.$textureV = var$21; nlea_Tessellator_addVertex($var5, var$23, var$22, var$20); $var5.$hasTexture = 1; $var5.$textureU = $var9; $var5.$textureV = var$21; nlea_Tessellator_addVertex($var5, var$18, var$22, var$20); $var5.$hasTexture = 1; $var5.$textureU = $var9; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$18, var$19, var$20); } $par1Block = $this.$blockAccess; $par3 = $par3 + 1 | 0; if ($par1Block.$isBlockNormalCube($par2, $par3, $par4)) { var$18 = $par2 + 1 | 0; var$19 = $par3 - 0.05000000074505806; var$20 = $par4 + 0 | 0; $var5.$hasTexture = 1; $var9 = $var19; $var5.$textureU = $var9; $var10 = $var20; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$18, var$19, var$20); $var19 = $par4 + 1 | 0; $var5.$hasTexture = 1; $var5.$textureU = $var9; $var11 = $var14; $var5.$textureV = $var11; nlea_Tessellator_addVertex($var5, var$18, var$19, $var19); var$18 = $par2 + 0 | 0; $var5.$hasTexture = 1; $var9 = $var12; $var5.$textureU = $var9; $var5.$textureV = $var11; nlea_Tessellator_addVertex($var5, var$18, var$19, $var19); $var5.$hasTexture = 1; $var5.$textureU = $var9; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$18, var$19, var$20); } return 1; }, nms_RenderBlocks_renderBlockPane = ($this, $par1BlockPane, $par2, $par3, $par4) => { let $var5, $var6, $var65, var$8, $var14, $var12, var$11, var$12, var$13, $var67, $var16, $var18, $var20, $var22, $var24, $var26, $var28, $var30, $var32, $var34, $var36, var$26, $var38, $var40, $var42, var$30, $var44, $var46, $var48, $var50, $var52, var$36, $var54, $var55, var$39, $var56, var$41, $var57, var$43, $var58, $var59, var$46, var$47, $var7, var$49; $var5 = $this.$blockAccess.$getHeight(); nlea_Tessellator_$callClinit(); $var6 = nlea_Tessellator_instance; $var65 = $this.$blockAccess; nms_Block_$callClinit(); var$8 = $var65.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[$var65.$getBlockId($par2, $par3, $par4)]); $var6.$hasBrightness = 1; $var6.$brightness = var$8; $var14 = 1.0; nms_EntityRenderer_$callClinit(); if (!nms_EntityRenderer_anaglyphEnable) { $var12 = $var14; var$11 = $var14; } else { $var12 = 1.0; $var14 = 1.0; var$11 = $var14; } nlea_Tessellator_setColorRGBA($var6, 1.0 * $var12 * 255.0 | 0, 1.0 * var$11 * 255.0 | 0, 1.0 * $var14 * 255.0 | 0, 255); $var65 = $this.$overrideBlockTexture; if (!($var65 === null ? 0 : 1)) { $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); var$12 = $par1BlockPane.$blockIcon; if (var$12 === null) { if (jl_System_outCache === null) { $var65 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var65.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var65.$sb = var$13; $var65.$buffer0 = $rt_createCharArray(32); $var65.$autoFlush = 0; $var65.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var65; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$12 === null) a: { b: { $var65 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$12 = $var65.$textureMapBlocks.$missingImage; break a; } var$12 = $var65.$textureMapItems.$missingTextureStiched; } $var65 = $par1BlockPane.$theIcon7; } else var$12 = $var65; $var67 = var$12.$getMinU(); $var16 = var$12.$getInterpolatedU(8.0); $var18 = var$12.$getMaxU(); $var20 = var$12.$getMinV(); $var22 = var$12.$getMaxV(); $var24 = $var65.$getInterpolatedU(7.0); $var26 = $var65.$getInterpolatedU(9.0); $var28 = $var65.$getMinV(); $var30 = $var65.$getInterpolatedV(8.0); $var32 = $var65.$getMaxV(); $var34 = $par2; $var36 = $var34 + 0.5; var$26 = $par2 + 1 | 0; $var38 = var$26; $var40 = $par4; $var42 = $var40 + 0.5; var$30 = $par4 + 1 | 0; $var44 = var$30; $var46 = $var36 - 0.0625; $var48 = $var36 + 0.0625; $var50 = $var42 - 0.0625; $var52 = $var42 + 0.0625; $var65 = $this.$blockAccess; var$36 = $par4 - 1 | 0; var$8 = $var65.$getBlockId($par2, $par3, var$36); $var54 = !nms_Block_opaqueCubeLookup.data[var$8] && var$8 != $par1BlockPane.$blockID && var$8 != nms_Block_glass.$blockID ? 0 : 1; var$8 = $this.$blockAccess.$getBlockId($par2, $par3, var$30); $var55 = !nms_Block_opaqueCubeLookup.data[var$8] && var$8 != $par1BlockPane.$blockID && var$8 != nms_Block_glass.$blockID ? 0 : 1; $var65 = $this.$blockAccess; var$39 = $par2 - 1 | 0; var$8 = $var65.$getBlockId(var$39, $par3, $par4); $var56 = !nms_Block_opaqueCubeLookup.data[var$8] && var$8 != $par1BlockPane.$blockID && var$8 != nms_Block_glass.$blockID ? 0 : 1; var$41 = $this.$blockAccess.$getBlockId(var$26, $par3, $par4); $var57 = !nms_Block_opaqueCubeLookup.data[var$41] && var$41 != $par1BlockPane.$blockID && var$41 != nms_Block_glass.$blockID ? 0 : 1; $var65 = $this.$blockAccess; var$43 = $par3 + 1 | 0; $var58 = $var65.$getBlockId($par2, var$43, $par4) != $par1BlockPane.$blockID ? nms_Block_shouldSideBeRendered($par1BlockPane, $var65, $par2, var$43, $par4, 1) : 0; $var65 = $this.$blockAccess; var$8 = $par3 - 1 | 0; $var59 = $var65.$getBlockId($par2, var$8, $par4) != $par1BlockPane.$blockID ? nms_Block_shouldSideBeRendered($par1BlockPane, $var65, $par2, var$8, $par4, 0) : 0; c: { d: { if (!($var56 && $var57)) { if ($var56) break d; if ($var57) break d; if ($var54) break d; if ($var55) break d; } var$46 = var$43; $var6.$hasTexture = 1; $var12 = $var67; $var6.$textureU = $var12; var$11 = $var20; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var42); var$47 = $par3 + 0 | 0; $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var22; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$47, $var42); $var6.$hasTexture = 1; $var7 = $var18; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$47, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$47, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$47, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var42); if ($var58) { var$46 = var$46 + 0.01; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var32; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var28; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$46, $var52); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var50); } else { var$49 = $rt_compare($par3, $var5 - 1 | 0); if (var$49 < 0 && $this.$blockAccess.$isAirBlock(var$39, var$43, $par4)) { var$47 = var$46 + 0.01; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var30; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$47, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var32; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var52); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$47, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$47, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$47, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$47, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$47, $var50); } if (var$49 < 0 && $this.$blockAccess.$isAirBlock(var$26, var$43, $par4)) { var$46 = var$46 + 0.01; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var28; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var30; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$46, $var52); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var50); } } if ($var59) { var$46 = $par3 - 0.01; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var32; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var28; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$46, $var52); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var50); break c; } var$49 = $rt_compare($par3, 1); if (var$49 > 0 && $this.$blockAccess.$isAirBlock(var$39, var$8, $par4)) { var$46 = $par3 - 0.01; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var30; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var32; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); } if (var$49 <= 0) break c; if (!$this.$blockAccess.$isAirBlock(var$26, var$8, $par4)) break c; var$46 = $par3 - 0.01; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var28; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var30; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$46, $var52); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var50); break c; } if ($var56 && !$var57) { var$46 = var$43; $var6.$hasTexture = 1; $var12 = $var67; $var6.$textureU = $var12; var$11 = $var20; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var42); var$47 = $par3 + 0 | 0; $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var22; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$47, $var42); $var6.$hasTexture = 1; $var7 = $var16; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$47, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var42); if (!$var55 && !$var54) { $var6.$hasTexture = 1; $var12 = $var24; $var6.$textureU = $var12; var$11 = $var28; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var32; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var52); $var6.$hasTexture = 1; $var7 = $var26; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); } e: { if (!$var58) { if ($par3 >= ($var5 - 1 | 0)) break e; if (!$this.$blockAccess.$isAirBlock(var$39, var$43, $par4)) break e; } var$46 = var$46 + 0.01; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var30; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var32; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); } if (!$var59) { if ($par3 <= 1) break c; if (!$this.$blockAccess.$isAirBlock(var$39, var$8, $par4)) break c; } var$46 = $par3 - 0.01; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var30; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var32; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var34, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var34, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); } else if (!$var56 && $var57) { var$46 = var$43; $var6.$hasTexture = 1; $var12 = $var16; $var6.$textureU = $var12; var$11 = $var20; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var42); var$47 = $par3 + 0 | 0; $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var22; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var42); $var6.$hasTexture = 1; $var7 = $var18; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$47, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$47, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var42); if (!$var55 && !$var54) { $var6.$hasTexture = 1; $var12 = $var24; $var6.$textureU = $var12; var$11 = $var28; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var32; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var50); $var6.$hasTexture = 1; $var7 = $var26; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$47, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); } f: { if (!$var58) { if ($par3 >= ($var5 - 1 | 0)) break f; if (!$this.$blockAccess.$isAirBlock(var$26, var$43, $par4)) break f; } var$46 = var$46 + 0.01; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var28; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var30; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$46, $var52); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var50); } if (!$var59) { if ($par3 <= 1) break c; if (!$this.$blockAccess.$isAirBlock(var$26, var$8, $par4)) break c; } var$46 = $par3 - 0.01; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var28; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var30; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$46, $var52); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var38, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var52); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, var$46, $var50); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var38, var$46, $var50); } } g: { h: { if (!($var54 && $var55)) { if ($var56) break h; if ($var57) break h; if ($var54) break h; if ($var55) break h; } $var16 = var$43; $var6.$hasTexture = 1; $var12 = $var67; $var6.$textureU = $var12; var$11 = $var20; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, $var16, $var44); $var67 = $par3 + 0 | 0; $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var22; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, $var67, $var44); $var6.$hasTexture = 1; $var7 = $var18; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, $var16, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, $var16, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, $var16, $var44); if ($var58) { $var67 = $var16 + 0.005; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var32; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var28; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var40); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var40); } else { var$41 = $rt_compare($par3, $var5 - 1 | 0); if (var$41 < 0 && $this.$blockAccess.$isAirBlock($par2, var$43, var$36)) { $var67 = $var16 + 0.005; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var28; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var30; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); } if (var$41 < 0 && $this.$blockAccess.$isAirBlock($par2, var$43, var$30)) { $var67 = $var16 + 0.005; $var6.$hasTexture = 1; $var12 = $var24; $var6.$textureU = $var12; var$11 = $var30; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var32; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var44); $var6.$hasTexture = 1; $var7 = $var26; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var44); } } if ($var59) { $var67 = $par3 - 0.005; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var32; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var28; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var40); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var40); break g; } $par4 = $rt_compare($par3, 1); if ($par4 > 0 && $this.$blockAccess.$isAirBlock($par2, var$8, var$36)) { $var67 = $par3 - 0.005; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var28; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var30; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); } if ($par4 <= 0) break g; if (!$this.$blockAccess.$isAirBlock($par2, var$8, var$30)) break g; $var67 = $par3 - 0.005; $var6.$hasTexture = 1; $var12 = $var24; $var6.$textureU = $var12; var$11 = $var30; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var32; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var44); $var6.$hasTexture = 1; $var7 = $var26; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var44); break g; } if ($var54 && !$var55) { $var18 = var$43; $var6.$hasTexture = 1; $var12 = $var67; $var6.$textureU = $var12; var$11 = $var20; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, $var18, $var40); $var67 = $par3 + 0 | 0; $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var22; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, $var67, $var40); $var6.$hasTexture = 1; $var7 = $var16; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, $var18, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, $var18, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, $var18, $var40); if (!$var57 && !$var56) { $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var14 = $var28; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var18, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; var$11 = $var32; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var18, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var18, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var18, $var42); } i: { if (!$var58) { if ($par3 >= ($var5 - 1 | 0)) break i; if (!$this.$blockAccess.$isAirBlock($par2, var$43, var$36)) break i; } $var67 = $var18 + 0.005; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var28; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var30; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); } if (!$var59) { if ($par3 <= 1) break g; if (!$this.$blockAccess.$isAirBlock($par2, var$8, var$36)) break g; } $var67 = $par3 - 0.005; $var6.$hasTexture = 1; $var12 = $var26; $var6.$textureU = $var12; var$11 = $var28; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var30; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var7 = $var24; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var40); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); } else if (!$var54 && $var55) { $var67 = var$43; $var6.$hasTexture = 1; $var12 = $var16; $var6.$textureU = $var12; var$11 = $var20; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, $var67, $var42); $var16 = $par3 + 0 | 0; $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var22; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, $var16, $var42); $var6.$hasTexture = 1; $var7 = $var18; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, $var16, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, $var16, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var36, $var16, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var36, $var67, $var42); if (!$var57 && !$var56) { $var6.$hasTexture = 1; $var12 = $var24; $var6.$textureU = $var12; var$11 = $var28; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var32; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var16, $var42); $var6.$hasTexture = 1; $var7 = $var26; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var16, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var16, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var16, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); } j: { if (!$var58) { if ($par3 >= ($var5 - 1 | 0)) break j; if (!$this.$blockAccess.$isAirBlock($par2, var$43, var$30)) break j; } $var67 = $var67 + 0.005; $var6.$hasTexture = 1; var$11 = $var24; $var6.$textureU = var$11; $var7 = $var30; $var6.$textureV = $var7; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = var$11; $var12 = $var32; $var6.$textureV = $var12; nlea_Tessellator_addVertex($var6, $var46, $var67, $var44); $var6.$hasTexture = 1; $var14 = $var26; $var6.$textureU = $var14; $var6.$textureV = $var12; nlea_Tessellator_addVertex($var6, $var48, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var14; $var6.$textureV = $var7; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = var$11; $var6.$textureV = $var7; nlea_Tessellator_addVertex($var6, $var46, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = var$11; $var6.$textureV = $var12; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var14; $var6.$textureV = $var12; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var14; $var6.$textureV = $var7; nlea_Tessellator_addVertex($var6, $var48, $var67, $var44); } if (!$var59) { if ($par3 <= 1) break g; if (!$this.$blockAccess.$isAirBlock($par2, var$8, var$30)) break g; } $var67 = $par3 - 0.005; $var6.$hasTexture = 1; $var12 = $var24; $var6.$textureU = $var12; var$11 = $var30; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var14 = $var32; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var44); $var6.$hasTexture = 1; $var7 = $var26; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var46, $var67, $var44); $var6.$hasTexture = 1; $var6.$textureU = $var12; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var46, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = $var14; nlea_Tessellator_addVertex($var6, $var48, $var67, $var42); $var6.$hasTexture = 1; $var6.$textureU = $var7; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, $var48, $var67, $var44); } } return 1; }, nms_RenderBlocks_renderCrossedSquares = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, $var7, $var11, $var12, $var13, var$10, $var19, $var20, $var15, $var17; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; $var7 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); $var5.$hasBrightness = 1; $var5.$brightness = $var7; $var7 = $par1Block.$colorMultiplier($this.$blockAccess, $par2, $par3, $par4); $var11 = ($var7 >> 16 & 255) / 255.0; $var12 = ($var7 >> 8 & 255) / 255.0; $var13 = ($var7 & 255) / 255.0; nms_EntityRenderer_$callClinit(); if (nms_EntityRenderer_anaglyphEnable) { var$10 = $var11 * 30.0; $var11 = (var$10 + $var12 * 59.0 + $var13 * 11.0) / 100.0; $var12 = (var$10 + $var12 * 70.0) / 100.0; $var13 = (var$10 + $var13 * 70.0) / 100.0; } nlea_Tessellator_setColorRGBA($var5, 1.0 * $var11 * 255.0 | 0, 1.0 * $var12 * 255.0 | 0, 1.0 * $var13 * 255.0 | 0, 255); $var19 = $par2; $var20 = $par3; $var15 = $par4; if ($par1Block === nms_Block_tallGrass) { $var17 = Long_xor(Long_xor(Long_fromInt($rt_imul($par2, 3129871)), Long_mul(Long_fromInt($par4), Long_fromInt(116129781))), Long_fromInt($par3)); $var17 = Long_add(Long_mul(Long_mul($var17, $var17), Long_fromInt(42317861)), Long_mul($var17, Long_fromInt(11))); $var19 = $var19 + (Long_toNumber(Long_and(Long_shr($var17, 16), Long_fromInt(15))) / 15.0 - 0.5) * 0.5; $var20 = $var20 + (Long_toNumber(Long_and(Long_shr($var17, 20), Long_fromInt(15))) / 15.0 - 1.0) * 0.2; $var15 = $var15 + (Long_toNumber(Long_and(Long_shr($var17, 24), Long_fromInt(15))) / 15.0 - 0.5) * 0.5; } nms_RenderBlocks_drawCrossedSquares($this, $par1Block, $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4), $var19, $var20, $var15, 1.0); return 1; }, nms_RenderBlocks_renderBlockStem = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, $var6, var$7, $var15, var$9, $var12, $var13, $var14, var$13, var$14, var$15, var$16; $var5 = $par1Block; nlea_Tessellator_$callClinit(); $var6 = nlea_Tessellator_instance; $par1Block = $this.$blockAccess; nms_Block_$callClinit(); var$7 = $par1Block.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[$par1Block.$getBlockId($par2, $par3, $par4)]); $var6.$hasBrightness = 1; $var6.$brightness = var$7; $var15 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); var$9 = ($var15 * 32 | 0) << 16 | (255 - ($var15 * 8 | 0) | 0) << 8 | ($var15 * 4 | 0); $var12 = (var$9 >> 16 & 255) / 255.0; $var13 = (var$9 >> 8 & 255) / 255.0; $var14 = (var$9 & 255) / 255.0; nms_EntityRenderer_$callClinit(); if (nms_EntityRenderer_anaglyphEnable) { var$13 = $var12 * 30.0; $var12 = (var$13 + $var13 * 59.0 + $var14 * 11.0) / 100.0; $var13 = (var$13 + $var13 * 70.0) / 100.0; $var14 = (var$13 + $var14 * 70.0) / 100.0; } nlea_Tessellator_setColorRGBA($var6, 1.0 * $var12 * 255.0 | 0, 1.0 * $var13 * 255.0 | 0, 1.0 * $var14 * 255.0 | 0, 255); nms_BlockStem_setBlockBoundsBasedOnState($var5, $this.$blockAccess, $par2, $par3, $par4); $var15 = nms_BlockStem_getState($var5, $this.$blockAccess, $par2, $par3, $par4); if ($var15 < 0) nms_RenderBlocks_renderBlockStemSmall($this, $var5, $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4), $this.$renderMaxY, $par2, $par3 - 0.0625, $par4); else { var$7 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); var$14 = $par2; var$15 = $par3 - 0.0625; var$16 = $par4; nms_RenderBlocks_renderBlockStemSmall($this, $var5, var$7, 0.5, var$14, var$15, var$16); nms_RenderBlocks_renderBlockStemBig($this, $var5, $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4), $var15, $this.$renderMaxY, var$14, var$15, var$16); } return 1; }, nms_RenderBlocks_renderTorchAtAngle = ($this, $par1Block, $par2, $par4, $par6, $par8, $par10, $par12) => { let $var13, var$9, var$10, $var15, $var17, $var19, $var21, $var23, $var25, $var27, $var29, $var31, $var33, $var35, $var37, var$23, var$24, $var39, $var41, $var43, $var45, var$29, $var49, var$31, var$32, var$33, var$34, var$35; nlea_Tessellator_$callClinit(); $var13 = nlea_Tessellator_instance; var$9 = $par1Block.$getIcon(0, $par12); if (var$9 === null) { if (jl_System_outCache === null) { $par1Block = new otcic_JSStdoutPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); $par1Block.$out0 = var$10; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); $par1Block.$sb = var$10; $par1Block.$buffer0 = $rt_createCharArray(32); $par1Block.$autoFlush = 0; $par1Block.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par1Block; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$9 === null) a: { b: { $par1Block = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$9 = $par1Block.$textureMapBlocks.$missingImage; break a; } var$9 = $par1Block.$textureMapItems.$missingTextureStiched; } $par1Block = $this.$overrideBlockTexture; if (!($par1Block === null ? 0 : 1)) $par1Block = var$9; $var15 = $par1Block.$getMinU(); $var17 = $par1Block.$getMinV(); $var19 = $par1Block.$getMaxU(); $var21 = $par1Block.$getMaxV(); $var23 = $par1Block.$getInterpolatedU(7.0); $var25 = $par1Block.$getInterpolatedV(6.0); $var27 = $par1Block.$getInterpolatedU(9.0); $var29 = $par1Block.$getInterpolatedV(8.0); $var31 = $par1Block.$getInterpolatedU(7.0); $var33 = $par1Block.$getInterpolatedV(13.0); $var35 = $par1Block.$getInterpolatedU(9.0); $var37 = $par1Block.$getInterpolatedV(15.0); var$23 = $par2 + 0.5; var$24 = $par6 + 0.5; $var39 = var$23 - 0.5; $var41 = var$23 + 0.5; $var43 = var$24 - 0.5; $var45 = var$24 + 0.5; var$29 = var$23 + $par8 * 0.375; $par2 = var$29 - 0.0625; $par6 = $par4 + 0.625; $var49 = var$24 + $par10 * 0.375; var$31 = $var49 - 0.0625; $var13.$hasTexture = 1; var$32 = $var23; $var13.$textureU = var$32; var$33 = $var25; $var13.$textureV = var$33; nlea_Tessellator_addVertex($var13, $par2, $par6, var$31); $var49 = $var49 + 0.0625; $var13.$hasTexture = 1; $var13.$textureU = var$32; var$34 = $var29; $var13.$textureV = var$34; nlea_Tessellator_addVertex($var13, $par2, $par6, $var49); $par2 = var$29 + 0.0625; $var13.$hasTexture = 1; var$32 = $var27; $var13.$textureU = var$32; $var13.$textureV = var$34; nlea_Tessellator_addVertex($var13, $par2, $par6, $var49); $var13.$hasTexture = 1; $var13.$textureU = var$32; $var13.$textureV = var$33; nlea_Tessellator_addVertex($var13, $par2, $par6, var$31); $par2 = var$23 + 0.0625; $par6 = $par2 + $par8; $var29 = var$24 - 0.0625; $var49 = $var29 + $par10; $var13.$hasTexture = 1; var$32 = $var35; $var13.$textureU = var$32; var$34 = $var33; $var13.$textureV = var$34; nlea_Tessellator_addVertex($var13, $par6, $par4, $var49); $var33 = var$24 + 0.0625; $var35 = $var33 + $par10; $var13.$hasTexture = 1; $var13.$textureU = var$32; var$32 = $var37; $var13.$textureV = var$32; nlea_Tessellator_addVertex($var13, $par6, $par4, $var35); var$31 = var$23 - 0.0625; $var27 = var$31 + $par8; $var13.$hasTexture = 1; var$33 = $var31; $var13.$textureU = var$33; $var13.$textureV = var$32; nlea_Tessellator_addVertex($var13, $var27, $par4, $var35); $var13.$hasTexture = 1; $var13.$textureU = var$33; $var13.$textureV = var$34; nlea_Tessellator_addVertex($var13, $var27, $par4, $var49); $par6 = $par4 + 1.0; $var13.$hasTexture = 1; var$33 = $var15; $var13.$textureU = var$33; var$35 = $var17; $var13.$textureV = var$35; nlea_Tessellator_addVertex($var13, var$31, $par6, $var43); $par4 = $par4 + 0.0; $var31 = $var43 + $par10; $var13.$hasTexture = 1; $var13.$textureU = var$33; var$34 = $var21; $var13.$textureV = var$34; nlea_Tessellator_addVertex($var13, $var27, $par4, $var31); $par10 = $var45 + $par10; $var13.$hasTexture = 1; var$32 = $var19; $var13.$textureU = var$32; $var13.$textureV = var$34; nlea_Tessellator_addVertex($var13, $var27, $par4, $par10); $var13.$hasTexture = 1; $var13.$textureU = var$32; $var13.$textureV = var$35; nlea_Tessellator_addVertex($var13, var$31, $par6, $var45); $var13.$hasTexture = 1; $var13.$textureU = var$33; $var13.$textureV = var$35; nlea_Tessellator_addVertex($var13, $par2, $par6, $var45); $var19 = var$23 + $par8 + 0.0625; $var13.$hasTexture = 1; $var13.$textureU = var$33; $var13.$textureV = var$34; nlea_Tessellator_addVertex($var13, $var19, $par4, $par10); $var13.$hasTexture = 1; $var13.$textureU = var$32; $var13.$textureV = var$34; nlea_Tessellator_addVertex($var13, $var19, $par4, $var31); $var13.$hasTexture = 1; $var13.$textureU = var$32; $var13.$textureV = var$35; nlea_Tessellator_addVertex($var13, $par2, $par6, $var43); $var13.$hasTexture = 1; $var13.$textureU = var$33; $var13.$textureV = var$35; nlea_Tessellator_addVertex($var13, $var39, $par6, $var33); $par2 = $var39 + $par8; $var13.$hasTexture = 1; $var13.$textureU = var$33; $var13.$textureV = var$34; nlea_Tessellator_addVertex($var13, $par2, $par4, $var35); $par8 = $var41 + $par8; $var13.$hasTexture = 1; $var13.$textureU = var$32; $var13.$textureV = var$34; nlea_Tessellator_addVertex($var13, $par8, $par4, $var35); $var13.$hasTexture = 1; $var13.$textureU = var$32; $var13.$textureV = var$35; nlea_Tessellator_addVertex($var13, $var41, $par6, $var33); $var13.$hasTexture = 1; $var13.$textureU = var$33; $var13.$textureV = var$35; nlea_Tessellator_addVertex($var13, $var41, $par6, $var29); $var13.$hasTexture = 1; $var13.$textureU = var$33; $var13.$textureV = var$34; nlea_Tessellator_addVertex($var13, $par8, $par4, $var49); $var13.$hasTexture = 1; $var13.$textureU = var$32; $var13.$textureV = var$34; nlea_Tessellator_addVertex($var13, $par2, $par4, $var49); $var13.$hasTexture = 1; $var13.$textureU = var$32; $var13.$textureV = var$35; nlea_Tessellator_addVertex($var13, $var39, $par6, $var29); }, nms_RenderBlocks_drawCrossedSquares = ($this, $par1Block, $par2, $par3, $par5, $par7, $par9) => { let $var10, var$8, var$9, $var12, $var14, $var16, $var18, var$14, $var20, $var22, $var24, $var26, $var28, var$20, var$21, var$22; nlea_Tessellator_$callClinit(); $var10 = nlea_Tessellator_instance; $par1Block = $par1Block.$getIcon(0, $par2); if ($par1Block === null) { if (jl_System_outCache === null) { var$8 = new otcic_JSStdoutPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); var$8.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$8.$sb = var$9; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$8; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($par1Block === null) a: { b: { $par1Block = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $par1Block = $par1Block.$textureMapBlocks.$missingImage; break a; } $par1Block = $par1Block.$textureMapItems.$missingTextureStiched; } var$8 = $this.$overrideBlockTexture; if (!(var$8 === null ? 0 : 1)) var$8 = $par1Block; $var12 = var$8.$getMinU(); $var14 = var$8.$getMinV(); $var16 = var$8.$getMaxU(); $var18 = var$8.$getMaxV(); var$14 = $par9; $var20 = 0.45 * var$14; $par3 = $par3 + 0.5; $var22 = $par3 - $var20; $var24 = $par3 + $var20; $par3 = $par7 + 0.5; $var26 = $par3 - $var20; $var28 = $par3 + $var20; $par3 = $par5 + var$14; $var10.$hasTexture = 1; $par9 = $var12; $var10.$textureU = $par9; var$20 = $var14; $var10.$textureV = var$20; nlea_Tessellator_addVertex($var10, $var22, $par3, $var26); $par5 = $par5 + 0.0; $var10.$hasTexture = 1; $var10.$textureU = $par9; var$21 = $var18; $var10.$textureV = var$21; nlea_Tessellator_addVertex($var10, $var22, $par5, $var26); $var10.$hasTexture = 1; var$22 = $var16; $var10.$textureU = var$22; $var10.$textureV = var$21; nlea_Tessellator_addVertex($var10, $var24, $par5, $var28); $var10.$hasTexture = 1; $var10.$textureU = var$22; $var10.$textureV = var$20; nlea_Tessellator_addVertex($var10, $var24, $par3, $var28); $var10.$hasTexture = 1; $var10.$textureU = $par9; $var10.$textureV = var$20; nlea_Tessellator_addVertex($var10, $var24, $par3, $var28); $var10.$hasTexture = 1; $var10.$textureU = $par9; $var10.$textureV = var$21; nlea_Tessellator_addVertex($var10, $var24, $par5, $var28); $var10.$hasTexture = 1; $var10.$textureU = var$22; $var10.$textureV = var$21; nlea_Tessellator_addVertex($var10, $var22, $par5, $var26); $var10.$hasTexture = 1; $var10.$textureU = var$22; $var10.$textureV = var$20; nlea_Tessellator_addVertex($var10, $var22, $par3, $var26); $var10.$hasTexture = 1; $var10.$textureU = $par9; $var10.$textureV = var$20; nlea_Tessellator_addVertex($var10, $var22, $par3, $var28); $var10.$hasTexture = 1; $var10.$textureU = $par9; $var10.$textureV = var$21; nlea_Tessellator_addVertex($var10, $var22, $par5, $var28); $var10.$hasTexture = 1; $var10.$textureU = var$22; $var10.$textureV = var$21; nlea_Tessellator_addVertex($var10, $var24, $par5, $var26); $var10.$hasTexture = 1; $var10.$textureU = var$22; $var10.$textureV = var$20; nlea_Tessellator_addVertex($var10, $var24, $par3, $var26); $var10.$hasTexture = 1; $var10.$textureU = $par9; $var10.$textureV = var$20; nlea_Tessellator_addVertex($var10, $var24, $par3, $var26); $var10.$hasTexture = 1; $var10.$textureU = $par9; $var10.$textureV = var$21; nlea_Tessellator_addVertex($var10, $var24, $par5, $var26); $var10.$hasTexture = 1; $var10.$textureU = var$22; $var10.$textureV = var$21; nlea_Tessellator_addVertex($var10, $var22, $par5, $var28); $var10.$hasTexture = 1; $var10.$textureU = var$22; $var10.$textureV = var$20; nlea_Tessellator_addVertex($var10, $var22, $par3, $var28); }, nms_RenderBlocks_renderBlockStemSmall = ($this, $par1Block, $par2, $par3, $par5, $par7, $par9) => { let $var11, var$8, var$9, $var13, $var15, $var17, $var19, $var21, $var23, $var25, $var27, var$18, var$19, var$20, var$21; nlea_Tessellator_$callClinit(); $var11 = nlea_Tessellator_instance; $par1Block = $par1Block.$getIcon(0, $par2); if ($par1Block === null) { if (jl_System_outCache === null) { var$8 = new otcic_JSStdoutPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); var$8.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$8.$sb = var$9; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$8; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($par1Block === null) a: { b: { $par1Block = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $par1Block = $par1Block.$textureMapBlocks.$missingImage; break a; } $par1Block = $par1Block.$textureMapItems.$missingTextureStiched; } var$8 = $this.$overrideBlockTexture; if (!(var$8 === null ? 0 : 1)) var$8 = $par1Block; $var13 = var$8.$getMinU(); $var15 = var$8.$getMinV(); $var17 = var$8.$getMaxU(); $var19 = var$8.$getInterpolatedV($par3 * 16.0); $par5 = $par5 + 0.5; $var21 = $par5 - 0.44999998807907104; $var23 = $par5 + 0.44999998807907104; $par5 = $par9 + 0.5; $var25 = $par5 - 0.44999998807907104; $var27 = $par5 + 0.44999998807907104; $par3 = $par7 + $par3; $var11.$hasTexture = 1; var$18 = $var13; $var11.$textureU = var$18; var$19 = $var15; $var11.$textureV = var$19; nlea_Tessellator_addVertex($var11, $var21, $par3, $var25); $par5 = $par7 + 0.0; $var11.$hasTexture = 1; $var11.$textureU = var$18; var$20 = $var19; $var11.$textureV = var$20; nlea_Tessellator_addVertex($var11, $var21, $par5, $var25); $var11.$hasTexture = 1; var$21 = $var17; $var11.$textureU = var$21; $var11.$textureV = var$20; nlea_Tessellator_addVertex($var11, $var23, $par5, $var27); $var11.$hasTexture = 1; $var11.$textureU = var$21; $var11.$textureV = var$19; nlea_Tessellator_addVertex($var11, $var23, $par3, $var27); $var11.$hasTexture = 1; $var11.$textureU = var$18; $var11.$textureV = var$19; nlea_Tessellator_addVertex($var11, $var23, $par3, $var27); $var11.$hasTexture = 1; $var11.$textureU = var$18; $var11.$textureV = var$20; nlea_Tessellator_addVertex($var11, $var23, $par5, $var27); $var11.$hasTexture = 1; $var11.$textureU = var$21; $var11.$textureV = var$20; nlea_Tessellator_addVertex($var11, $var21, $par5, $var25); $var11.$hasTexture = 1; $var11.$textureU = var$21; $var11.$textureV = var$19; nlea_Tessellator_addVertex($var11, $var21, $par3, $var25); $var11.$hasTexture = 1; $var11.$textureU = var$18; $var11.$textureV = var$19; nlea_Tessellator_addVertex($var11, $var21, $par3, $var27); $var11.$hasTexture = 1; $var11.$textureU = var$18; $var11.$textureV = var$20; nlea_Tessellator_addVertex($var11, $var21, $par5, $var27); $var11.$hasTexture = 1; $var11.$textureU = var$21; $var11.$textureV = var$20; nlea_Tessellator_addVertex($var11, $var23, $par5, $var25); $var11.$hasTexture = 1; $var11.$textureU = var$21; $var11.$textureV = var$19; nlea_Tessellator_addVertex($var11, $var23, $par3, $var25); $var11.$hasTexture = 1; $var11.$textureU = var$18; $var11.$textureV = var$19; nlea_Tessellator_addVertex($var11, $var23, $par3, $var25); $var11.$hasTexture = 1; $var11.$textureU = var$18; $var11.$textureV = var$20; nlea_Tessellator_addVertex($var11, $var23, $par5, $var25); $var11.$hasTexture = 1; $var11.$textureU = var$21; $var11.$textureV = var$20; nlea_Tessellator_addVertex($var11, $var21, $par5, $var27); $var11.$hasTexture = 1; $var11.$textureU = var$21; $var11.$textureV = var$19; nlea_Tessellator_addVertex($var11, $var21, $par3, $var27); }, nms_RenderBlocks_renderBlockLilyPad = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, $var8, $var10, $var12, $var14, $var16, $var18, var$15, $var19, $var20, $var21, $var22, var$20, var$21, var$22, var$23, var$24, var$25, var$26, $var7, var$28, var$29; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; var$6 = $par1Block.$getIcon(1, 0); if (var$6 === null) { if (jl_System_outCache === null) { var$7 = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$7; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$6 === null) a: { b: { var$6 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$6 = var$6.$textureMapBlocks.$missingImage; break a; } var$6 = var$6.$textureMapItems.$missingTextureStiched; } var$7 = $this.$overrideBlockTexture; if (!(var$7 === null ? 0 : 1)) var$7 = var$6; $var8 = var$7.$getMinU(); $var10 = var$7.$getMinV(); $var12 = var$7.$getMaxU(); $var14 = var$7.$getMaxV(); $var16 = Long_xor(Long_xor(Long_fromInt($rt_imul($par2, 3129871)), Long_mul(Long_fromInt($par4), Long_fromInt(116129781))), Long_fromInt($par3)); $var18 = Long_lo(Long_and(Long_shr(Long_add(Long_mul(Long_mul($var16, $var16), Long_fromInt(42317861)), Long_mul($var16, Long_fromInt(11))), 16), Long_fromInt(3))); var$15 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); $var5.$hasBrightness = 1; $var5.$brightness = var$15; $var19 = $par2 + 0.5; $var20 = $par4 + 0.5; $var21 = ($var18 & 1) * 0.5 * (1 - ((($var18 / 2 | 0) % 2 | 0) * 2 | 0) | 0); $par2 = $var18 + 1 | 0; $var22 = ($par2 & 1) * 0.5 * (1 - ((($par2 / 2 | 0) % 2 | 0) * 2 | 0) | 0); $par2 = $par1Block.$getBlockColor(); nlea_Tessellator_setColorRGBA($var5, ($par2 >>> 16 | 0) & 255, ($par2 >>> 8 | 0) & 255, $par2 & 255, 255); var$20 = $var19 + $var21; var$21 = var$20 - $var22; var$22 = $par3 + 0.015625; var$23 = $var20 + $var21; var$24 = var$23 + $var22; $var5.$hasTexture = 1; var$25 = $var8; $var5.$textureU = var$25; var$26 = $var10; $var5.$textureV = var$26; nlea_Tessellator_addVertex($var5, var$21, var$22, var$24); $var8 = var$20 + $var22; var$20 = $var20 - $var21; $var10 = var$20 + $var22; $var5.$hasTexture = 1; $var7 = $var12; $var5.$textureU = $var7; $var5.$textureV = var$26; nlea_Tessellator_addVertex($var5, $var8, var$22, $var10); $var19 = $var19 - $var21; $var12 = $var19 + $var22; var$28 = var$20 - $var22; $var5.$hasTexture = 1; $var5.$textureU = $var7; var$20 = $var14; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var12, var$22, var$28); $var14 = $var19 - $var22; var$29 = var$23 - $var22; $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var14, var$22, var$29); $par2 = ($par1Block.$getBlockColor() & 16711422) >> 1; nlea_Tessellator_setColorRGBA($var5, ($par2 >>> 16 | 0) & 255, ($par2 >>> 8 | 0) & 255, $par2 & 255, 255); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var14, var$22, var$29); $var5.$hasTexture = 1; $var5.$textureU = $var7; $var5.$textureV = var$20; nlea_Tessellator_addVertex($var5, $var12, var$22, var$28); $var5.$hasTexture = 1; $var5.$textureU = $var7; $var5.$textureV = var$26; nlea_Tessellator_addVertex($var5, $var8, var$22, $var10); $var5.$hasTexture = 1; $var5.$textureU = var$25; $var5.$textureV = var$26; nlea_Tessellator_addVertex($var5, var$21, var$22, var$24); return 1; }, nms_RenderBlocks_renderBlockStemBig = ($this, $par1BlockStem, $par2, $par3, $par4, $par6, $par8, $par10) => { let $var12, $var13, $var14, $var16, $var18, $var20, var$14, $var22, $var24, $var26, $var28, var$19, var$20, var$21, var$22; nlea_Tessellator_$callClinit(); $var12 = nlea_Tessellator_instance; $var13 = $par1BlockStem.$theIcon8; $par1BlockStem = $this.$overrideBlockTexture; if (!($par1BlockStem === null ? 0 : 1)) $par1BlockStem = $var13; $var14 = $par1BlockStem.$getMinU(); $var16 = $par1BlockStem.$getMinV(); $var18 = $par1BlockStem.$getMaxU(); $var20 = $par1BlockStem.$getMaxV(); var$14 = $par6 + 0.5; $var22 = var$14 - 0.5; $var24 = var$14 + 0.5; $par10 = $par10 + 0.5; $var26 = $par10 - 0.5; $var28 = $par10 + 0.5; if (((($par3 + 1 | 0) / 2 | 0) % 2 | 0) != 1) { $par6 = $var14; $var14 = $var18; $var18 = $par6; } if ($par3 >= 2) { $par4 = $par8 + $par4; $var12.$hasTexture = 1; var$19 = $var18; $var12.$textureU = var$19; var$20 = $var16; $var12.$textureV = var$20; nlea_Tessellator_addVertex($var12, var$14, $par4, $var28); $par6 = $par8 + 0.0; $var12.$hasTexture = 1; $var12.$textureU = var$19; var$21 = $var20; $var12.$textureV = var$21; nlea_Tessellator_addVertex($var12, var$14, $par6, $var28); $var12.$hasTexture = 1; var$22 = $var14; $var12.$textureU = var$22; $var12.$textureV = var$21; nlea_Tessellator_addVertex($var12, var$14, $par6, $var26); $var12.$hasTexture = 1; $var12.$textureU = var$22; $var12.$textureV = var$20; nlea_Tessellator_addVertex($var12, var$14, $par4, $var26); $var12.$hasTexture = 1; $var12.$textureU = var$22; $var12.$textureV = var$20; nlea_Tessellator_addVertex($var12, var$14, $par4, $var26); $var12.$hasTexture = 1; $var12.$textureU = var$22; $var12.$textureV = var$21; nlea_Tessellator_addVertex($var12, var$14, $par6, $var26); $var12.$hasTexture = 1; $var12.$textureU = var$19; $var12.$textureV = var$21; nlea_Tessellator_addVertex($var12, var$14, $par6, $var28); $var12.$hasTexture = 1; $var12.$textureU = var$19; $var12.$textureV = var$20; nlea_Tessellator_addVertex($var12, var$14, $par4, $var28); } else { $par4 = $par8 + $par4; $var12.$hasTexture = 1; var$19 = $var18; $var12.$textureU = var$19; var$20 = $var16; $var12.$textureV = var$20; nlea_Tessellator_addVertex($var12, $var22, $par4, $par10); $par6 = $par8 + 0.0; $var12.$hasTexture = 1; $var12.$textureU = var$19; var$21 = $var20; $var12.$textureV = var$21; nlea_Tessellator_addVertex($var12, $var22, $par6, $par10); $var12.$hasTexture = 1; var$22 = $var14; $var12.$textureU = var$22; $var12.$textureV = var$21; nlea_Tessellator_addVertex($var12, $var24, $par6, $par10); $var12.$hasTexture = 1; $var12.$textureU = var$22; $var12.$textureV = var$20; nlea_Tessellator_addVertex($var12, $var24, $par4, $par10); $var12.$hasTexture = 1; $var12.$textureU = var$22; $var12.$textureV = var$20; nlea_Tessellator_addVertex($var12, $var24, $par4, $par10); $var12.$hasTexture = 1; $var12.$textureU = var$22; $var12.$textureV = var$21; nlea_Tessellator_addVertex($var12, $var24, $par6, $par10); $var12.$hasTexture = 1; $var12.$textureU = var$19; $var12.$textureV = var$21; nlea_Tessellator_addVertex($var12, $var22, $par6, $par10); $var12.$hasTexture = 1; $var12.$textureU = var$19; $var12.$textureV = var$20; nlea_Tessellator_addVertex($var12, $var22, $par4, $par10); } }, nms_RenderBlocks_renderBlockCropsImpl = ($this, $par1Block, $par2, $par3, $par5, $par7) => { let $var9, var$7, var$8, $var11, $var13, $var15, $var17, $var19, $var21, $var23, $var25, var$17, var$18, var$19, var$20, var$21; nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; var$7 = $par1Block.$getIcon(0, $par2); if (var$7 === null) { if (jl_System_outCache === null) { $par1Block = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $par1Block.$out0 = var$8; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); $par1Block.$sb = var$8; $par1Block.$buffer0 = $rt_createCharArray(32); $par1Block.$autoFlush = 0; $par1Block.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par1Block; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$7 === null) a: { b: { $par1Block = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$7 = $par1Block.$textureMapBlocks.$missingImage; break a; } var$7 = $par1Block.$textureMapItems.$missingTextureStiched; } $par1Block = $this.$overrideBlockTexture; if (!($par1Block === null ? 0 : 1)) $par1Block = var$7; $var11 = $par1Block.$getMinU(); $var13 = $par1Block.$getMinV(); $var15 = $par1Block.$getMaxU(); $var17 = $par1Block.$getMaxV(); $par3 = $par3 + 0.5; $var19 = $par3 - 0.25; $var21 = $par3 + 0.25; $par7 = $par7 + 0.5; $var23 = $par7 - 0.5; $var25 = $par7 + 0.5; var$17 = $par5 + 1.0; $var9.$hasTexture = 1; var$18 = $var11; $var9.$textureU = var$18; var$19 = $var13; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $var19, var$17, $var23); $par5 = $par5 + 0.0; $var9.$hasTexture = 1; $var9.$textureU = var$18; var$20 = $var17; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $var19, $par5, $var23); $var9.$hasTexture = 1; var$21 = $var15; $var9.$textureU = var$21; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $var19, $par5, $var25); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $var19, var$17, $var25); $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $var19, var$17, $var25); $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $var19, $par5, $var25); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $var19, $par5, $var23); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $var19, var$17, $var23); $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $var21, var$17, $var25); $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $var21, $par5, $var25); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $var21, $par5, $var23); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $var21, var$17, $var23); $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $var21, var$17, $var23); $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $var21, $par5, $var23); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $var21, $par5, $var25); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $var21, var$17, $var25); $var13 = $par3 - 0.5; $par3 = $par3 + 0.5; $var15 = $par7 - 0.25; $par7 = $par7 + 0.25; $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $var13, var$17, $var15); $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $var13, $par5, $var15); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $par3, $par5, $var15); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $par3, var$17, $var15); $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $par3, var$17, $var15); $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $par3, $par5, $var15); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $var13, $par5, $var15); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $var13, var$17, $var15); $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $par3, var$17, $par7); $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $par3, $par5, $par7); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $var13, $par5, $par7); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $var13, var$17, $par7); $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $var13, var$17, $par7); $var9.$hasTexture = 1; $var9.$textureU = var$18; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $var13, $par5, $par7); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$20; nlea_Tessellator_addVertex($var9, $par3, $par5, $par7); $var9.$hasTexture = 1; $var9.$textureU = var$21; $var9.$textureV = var$19; nlea_Tessellator_addVertex($var9, $par3, var$17, $par7); }, nms_RenderBlocks_renderBlockFluids = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, var$11, $var59, $var11, var$14, var$15, var$16, var$17, var$18, $var13, $var22, $var23, $var24, $var26, $var28, $var30, var$26, var$27, $var35, $var36, $var50, $var46, $var40, $var36_0, $var44, $var46_0, $var40_0, $var12, $var53, $var52, $var51, $var32, $var47, $var43, $var45, $var32_0, $var45_0, $var45_1, $var45_2, $var43_0, $var43_1, var$51, var$52, var$53, $var49, $var54, $var55; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; $var6 = $par1Block.$colorMultiplier($this.$blockAccess, $par2, $par3, $par4); $var7 = ($var6 >> 16 & 255) / 255.0; $var8 = ($var6 >> 8 & 255) / 255.0; $var9 = ($var6 & 255) / 255.0; $var10 = $par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3 + 1 | 0, $par4, 1); var$11 = $this.$blockAccess; $var59 = $par3 - 1 | 0; $var11 = $par1Block.$shouldSideBeRendered(var$11, $par2, $var59, $par4, 0); var$14 = $rt_createBooleanArray(4).data; var$11 = $this.$blockAccess; var$15 = $par4 - 1 | 0; var$14[0] = $par1Block.$shouldSideBeRendered(var$11, $par2, $par3, var$15, 2); var$11 = $this.$blockAccess; var$16 = $par4 + 1 | 0; var$14[1] = $par1Block.$shouldSideBeRendered(var$11, $par2, $par3, var$16, 3); var$11 = $this.$blockAccess; var$17 = $par2 - 1 | 0; var$14[2] = $par1Block.$shouldSideBeRendered(var$11, var$17, $par3, $par4, 4); var$11 = $this.$blockAccess; var$18 = $par2 + 1 | 0; var$14[3] = $par1Block.$shouldSideBeRendered(var$11, var$18, $par3, $par4, 5); if (!$var10 && !$var11 && !var$14[0] && !var$14[1] && !var$14[2] && !var$14[3]) return 0; $var13 = 0; $var22 = $par1Block.$blockMaterial; $var23 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); $var24 = nms_RenderBlocks_getFluidHeight($this, $par2, $par3, $par4, $var22); $var26 = nms_RenderBlocks_getFluidHeight($this, $par2, $par3, var$16, $var22); $var28 = nms_RenderBlocks_getFluidHeight($this, var$18, $par3, var$16, $var22); $var30 = nms_RenderBlocks_getFluidHeight($this, var$18, $par3, $par4, $var22); if (!(!$this.$renderAllFaces && !$var10)) { $var13 = 1; var$26 = $par1Block.$getIcon(1, $var23); if (var$26 === null) { if (jl_System_outCache === null) { var$11 = new otcic_JSStdoutPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); var$11.$out0 = var$27; var$27 = new jl_StringBuilder; var$27.$buffer = $rt_createCharArray(16); var$11.$sb = var$27; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$11; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$26 === null) a: { b: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$26 = var$11.$textureMapBlocks.$missingImage; break a; } var$26 = var$11.$textureMapItems.$missingTextureStiched; } $var35 = nms_BlockFluid_getFlowDirection($this.$blockAccess, $par2, $par3, $par4, $var22); $var6 = $rt_compare($var35, (-999.0)); if ($var6 > 0) { var$26 = $par1Block.$getIcon(2, $var23); if (var$26 === null) { if (jl_System_outCache === null) { var$11 = new otcic_JSStdoutPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); var$11.$out0 = var$27; var$27 = new jl_StringBuilder; var$27.$buffer = $rt_createCharArray(16); var$11.$sb = var$27; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$11; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$26 === null) c: { d: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break d; default: break d; } var$26 = var$11.$textureMapBlocks.$missingImage; break c; } var$26 = var$11.$textureMapItems.$missingTextureStiched; } } $var24 = $var24 - 0.0010000000474974513; $var26 = $var26 - 0.0010000000474974513; $var28 = $var28 - 0.0010000000474974513; $var30 = $var30 - 0.0010000000474974513; if ($var6 < 0) { $var36 = var$26.$getInterpolatedU(0.0); $var50 = var$26.$getInterpolatedV(0.0); $var46 = var$26.$getInterpolatedV(16.0); $var40 = var$26.$getInterpolatedU(16.0); $var36_0 = $var36; $var44 = $var50; $var46_0 = $var46; $var40_0 = $var40; } else { $var12 = nms_MathHelper_SIN_TABLE.data; $var53 = $var35 * 10430.3779296875; $var52 = $var12[($var53 | 0) & 65535] * 0.25; $var53 = $var12[($var53 + 16384.0 | 0) & 65535] * 0.25; $var51 = -$var53; $var32 = 8.0 + ($var51 - $var52) * 16.0; $var36_0 = var$26.$getInterpolatedU($var32); $var36 = 8.0 + ($var51 + $var52) * 16.0; $var44 = var$26.$getInterpolatedV($var36); $var36 = var$26.$getInterpolatedU($var36); $var47 = 8.0 + ($var53 + $var52) * 16.0; $var46_0 = var$26.$getInterpolatedV($var47); $var40_0 = var$26.$getInterpolatedU($var47); $var47 = 8.0 + ($var53 - $var52) * 16.0; $var46 = var$26.$getInterpolatedV($var47); $var40 = var$26.$getInterpolatedU($var47); $var50 = var$26.$getInterpolatedV($var32); } $var10 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); $var5.$hasBrightness = 1; $var5.$brightness = $var10; nlea_Tessellator_setColorRGBA($var5, 1.0 * $var7 * 255.0 | 0, 1.0 * $var8 * 255.0 | 0, 1.0 * $var9 * 255.0 | 0, 255); $var32 = $par2 + 0 | 0; $var47 = $par3; $var43 = $var47 + $var24; $var45 = $par4 + 0 | 0; $var5.$hasTexture = 1; $var5.$textureU = $var36_0; $var5.$textureV = $var44; nlea_Tessellator_addVertex($var5, $var32, $var43, $var45); $var36_0 = $var47 + $var26; $var44 = var$16; $var5.$hasTexture = 1; $var5.$textureU = $var36; $var5.$textureV = $var46_0; nlea_Tessellator_addVertex($var5, $var32, $var36_0, $var44); $var32 = var$18; $var36_0 = $var47 + $var28; $var5.$hasTexture = 1; $var5.$textureU = $var40_0; $var5.$textureV = $var46; nlea_Tessellator_addVertex($var5, $var32, $var36_0, $var44); $var36_0 = $var47 + $var30; $var5.$hasTexture = 1; $var5.$textureU = $var40; $var5.$textureV = $var50; nlea_Tessellator_addVertex($var5, $var32, $var36_0, $var45); } if (!(!$this.$renderAllFaces && !$var11)) { $var13 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var59, $par4); $var5.$hasBrightness = 1; $var5.$brightness = $var13; nlea_Tessellator_setColorRGBA($var5, 127, 127, 127, 255); $var32 = $par2; $var32_0 = $par3 + 0.0010000000474974513; $var36_0 = $par4; var$26 = $par1Block.$getIcon(0, 0); if (var$26 === null) { if (jl_System_outCache === null) { var$27 = new otcic_JSStdoutPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); var$27.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); var$27.$sb = var$11; var$27.$buffer0 = $rt_createCharArray(32); var$27.$autoFlush = 0; var$27.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$27; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$26 === null) e: { f: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break f; default: break f; } var$26 = var$11.$textureMapBlocks.$missingImage; break e; } var$26 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYNeg($this, $par1Block, $var32, $var32_0, $var36_0, var$26); $var13 = 1; } $var59 = 0; $var32_0 = $par3; $var44 = $par3 + 0 | 0; $var47 = $par2; $var43 = var$18; $var45 = $par4; $var45_0 = $var45 + 0.0010000000474974513; $var45_1 = var$16; $var45_2 = $var45_1 - 0.0010000000474974513; $var43_0 = $var47 + 0.0010000000474974513; $var43_1 = $var43 - 0.0010000000474974513; while ($var59 < 4) { $var10 = !$var59 ? var$15 : $par4; var$16 = $rt_compare($var59, 1); if (!var$16) $var10 = $var10 + 1 | 0; var$51 = $rt_compare($var59, 2); var$52 = !var$51 ? var$17 : $par2; if ($var59 == 3) var$52 = var$52 + 1 | 0; var$53 = $par1Block.$getIcon($var59 + 2 | 0, $var23); if (var$53 === null) { if (jl_System_outCache === null) { var$27 = new otcic_JSStdoutPrintStream; $var22 = new ji_ByteArrayOutputStream; $var22.$buf = $rt_createByteArray(32); var$27.$out0 = $var22; $var22 = new jl_StringBuilder; $var22.$buffer = $rt_createCharArray(16); var$27.$sb = $var22; var$27.$buffer0 = $rt_createCharArray(32); var$27.$autoFlush = 0; var$27.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$27; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$53 === null) g: { h: { var$27 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break h; default: break h; } var$53 = var$27.$textureMapBlocks.$missingImage; break g; } var$53 = var$27.$textureMapItems.$missingTextureStiched; } if (!(!$this.$renderAllFaces && !var$14[$var59])) { if (!$var59) { $var32 = $var24; $var46_0 = $var30; $var40_0 = $var47; $var46 = $var43; $var40 = $var45_0; $var49 = $var45_0; } else if (!var$16) { $var32 = $var28; $var46_0 = $var26; $var40_0 = $var43; $var46 = $var47; $var40 = $var45_2; $var49 = $var45_2; } else if (var$51) { $var32 = $var30; $var46_0 = $var28; $var40_0 = $var43_1; $var46 = $var43_1; $var40 = $var45; $var49 = $var45_1; } else { $var32 = $var26; $var46_0 = $var24; $var40_0 = $var43_0; $var46 = $var43_0; $var40 = $var45_1; $var49 = $var45; } $var13 = 1; $var51 = var$53.$getInterpolatedU(0.0); $var52 = var$53.$getInterpolatedU(8.0); $var53 = var$53.$getInterpolatedV((1.0 - $var32) * 16.0 * 0.5); $var54 = var$53.$getInterpolatedV((1.0 - $var46_0) * 16.0 * 0.5); $var55 = var$53.$getInterpolatedV(8.0); $var6 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, var$52, $par3, $var10); $var5.$hasBrightness = 1; $var5.$brightness = $var6; $var35 = 1.0 * (var$51 >= 0 ? 0.6000000238418579 : 0.800000011920929); nlea_Tessellator_setColorRGBA($var5, $var35 * $var7 * 255.0 | 0, $var35 * $var8 * 255.0 | 0, $var35 * $var9 * 255.0 | 0, 255); $var32 = $var32_0 + $var32; $var36_0 = $var51; $var36 = $var53; $var5.$hasTexture = 1; $var53 = $var36_0; $var5.$textureU = $var53; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var40_0, $var32, $var40); $var32 = $var32_0 + $var46_0; $var36_0 = $var52; $var36 = $var54; $var5.$hasTexture = 1; $var35 = $var36_0; $var5.$textureU = $var35; $var5.$textureV = $var36; nlea_Tessellator_addVertex($var5, $var46, $var32, $var49); $var32 = $var55; $var5.$hasTexture = 1; $var5.$textureU = $var35; $var35 = $var32; $var5.$textureV = $var35; nlea_Tessellator_addVertex($var5, $var46, $var44, $var49); $var5.$hasTexture = 1; $var5.$textureU = $var53; $var5.$textureV = $var35; nlea_Tessellator_addVertex($var5, $var40_0, $var44, $var40); } $var59 = $var59 + 1 | 0; } $this.$renderMinY = 0.0; $this.$renderMaxY = 1.0; return $var13; }, nms_RenderBlocks_getFluidHeight = ($this, $par1, $par2, $par3, $par4Material) => { let $var5, $var6, $var7, var$8, $var8, $var10, $var11, $var12; $var5 = 0; $var6 = 0.0; $var7 = 0; var$8 = $par2 + 1 | 0; while (true) { if ($var7 >= 4) return 1.0 - $var6 / $var5; $var8 = $par1 - ($var7 & 1) | 0; $var10 = $par3 - ($var7 >> 1 & 1) | 0; if ($this.$blockAccess.$getBlockMaterial($var8, var$8, $var10) === $par4Material) break; $var11 = $this.$blockAccess.$getBlockMaterial($var8, $par2, $var10); if ($var11 === $par4Material) { $var12 = $this.$blockAccess.$getBlockMetadata($var8, $par2, $var10); $var8 = $rt_compare($var12, 8); if (!($var8 < 0 && $var12)) { $var6 = $var6 + (($var8 >= 0 ? 0 : $var12) + 1 | 0) / 9.0 * 10.0; $var5 = $var5 + 10 | 0; } if ($var8 >= 0) $var12 = 0; $var6 = $var6 + ($var12 + 1 | 0) / 9.0; $var5 = $var5 + 1 | 0; } else if (!$var11.$isSolid()) { $var6 = $var6 + 1.0; $var5 = $var5 + 1 | 0; } $var7 = $var7 + 1 | 0; } return 1.0; }, nms_RenderBlocks_renderBlockSandFalling = ($this, $par1Block, $par2World, $par3, $par4, $par5, $par6) => { let $var11, var$8, var$9; nlea_Tessellator_$callClinit(); $var11 = nlea_Tessellator_instance; if ($var11.$isDrawing) nlea_Tessellator_draw($var11); $var11.$isDrawing = 1; $var11.$vertexCount = 0; $var11.$rawBufferIndex = 0; $var11.$addedVertices = 0; $var11.$drawMode = 7; $var11.$hasNormals = 0; $var11.$hasColor = 0; $var11.$hasTexture = 0; $var11.$hasBrightness = 0; $var11.$isColorDisabled = 0; $par3 = $par1Block.$getMixedBrightnessForBlock($par2World, $par3, $par4, $par5); $var11.$hasBrightness = 1; $var11.$brightness = $par3; nlea_Tessellator_setColorRGBA($var11, 127, 127, 127, 255); $par2World = $par1Block.$getIcon(0, $par6); if ($par2World === null) { if (jl_System_outCache === null) { var$8 = new otcic_JSStdoutPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$8); var$8.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); var$8.$sb = var$9; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$8; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($par2World === null) a: { b: { $par2World = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $par2World = $par2World.$textureMapBlocks.$missingImage; break a; } $par2World = $par2World.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYNeg($this, $par1Block, (-0.5), (-0.5), (-0.5), $par2World); nlea_Tessellator_setColorRGBA($var11, 255, 255, 255, 255); $par2World = $par1Block.$getIcon(1, $par6); if ($par2World === null) { if (jl_System_outCache === null) { var$8 = new otcic_JSStdoutPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$8); var$8.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); var$8.$sb = var$9; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$8; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($par2World === null) c: { d: { $par2World = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break d; default: break d; } $par2World = $par2World.$textureMapBlocks.$missingImage; break c; } $par2World = $par2World.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYPos($this, $par1Block, (-0.5), (-0.5), (-0.5), $par2World); nlea_Tessellator_setColorRGBA($var11, 204, 204, 204, 255); var$8 = $par1Block.$getIcon(2, $par6); if (var$8 === null) { if (jl_System_outCache === null) { $par2World = new otcic_JSStdoutPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par2World); $par2World.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); $par2World.$sb = var$9; $par2World.$buffer0 = $rt_createCharArray(32); $par2World.$autoFlush = 0; $par2World.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par2World; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$8 === null) e: { f: { $par2World = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break f; default: break f; } var$8 = $par2World.$textureMapBlocks.$missingImage; break e; } var$8 = $par2World.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZNeg($this, $par1Block, (-0.5), (-0.5), (-0.5), var$8); nlea_Tessellator_setColorRGBA($var11, 204, 204, 204, 255); var$8 = $par1Block.$getIcon(3, $par6); if (var$8 === null) { if (jl_System_outCache === null) { $par2World = new otcic_JSStdoutPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par2World); $par2World.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); $par2World.$sb = var$9; $par2World.$buffer0 = $rt_createCharArray(32); $par2World.$autoFlush = 0; $par2World.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par2World; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$8 === null) g: { h: { $par2World = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break h; default: break h; } var$8 = $par2World.$textureMapBlocks.$missingImage; break g; } var$8 = $par2World.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZPos($this, $par1Block, (-0.5), (-0.5), (-0.5), var$8); nlea_Tessellator_setColorRGBA($var11, 153, 153, 153, 255); var$8 = $par1Block.$getIcon(4, $par6); if (var$8 === null) { if (jl_System_outCache === null) { $par2World = new otcic_JSStdoutPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par2World); $par2World.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); $par2World.$sb = var$9; $par2World.$buffer0 = $rt_createCharArray(32); $par2World.$autoFlush = 0; $par2World.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par2World; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$8 === null) i: { j: { $par2World = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break j; default: break j; } var$8 = $par2World.$textureMapBlocks.$missingImage; break i; } var$8 = $par2World.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXNeg($this, $par1Block, (-0.5), (-0.5), (-0.5), var$8); nlea_Tessellator_setColorRGBA($var11, 153, 153, 153, 255); var$8 = $par1Block.$getIcon(5, $par6); if (var$8 === null) { if (jl_System_outCache === null) { $par2World = new otcic_JSStdoutPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par2World); $par2World.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); $par2World.$sb = var$9; $par2World.$buffer0 = $rt_createCharArray(32); $par2World.$autoFlush = 0; $par2World.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par2World; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$8 === null) k: { l: { $par2World = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break l; default: break l; } var$8 = $par2World.$textureMapBlocks.$missingImage; break k; } var$8 = $par2World.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXPos($this, $par1Block, (-0.5), (-0.5), (-0.5), var$8); nlea_Tessellator_draw($var11); }, nms_RenderBlocks_renderStandardBlock = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, $var9, $var10, $var11, var$9, var$10, var$11; $var5 = $par1Block.$colorMultiplier($this.$blockAccess, $par2, $par3, $par4); $var9 = ($var5 >> 16 & 255) / 255.0; $var10 = ($var5 >> 8 & 255) / 255.0; $var11 = ($var5 & 255) / 255.0; nms_EntityRenderer_$callClinit(); if (nms_EntityRenderer_anaglyphEnable) { var$9 = $var9 * 30.0; $var9 = (var$9 + $var10 * 59.0 + $var11 * 11.0) / 100.0; $var10 = (var$9 + $var10 * 70.0) / 100.0; $var11 = (var$9 + $var11 * 70.0) / 100.0; } var$10 = nms_Minecraft_theMinecraft; var$11 = var$10 !== null && var$10.$gameSettings.$ambientOcclusion ? 1 : 0; return var$11 && !nms_Block_lightValue.data[$par1Block.$blockID] ? (!$this.$partialRenderBounds ? nms_RenderBlocks_renderStandardBlockWithAmbientOcclusion($this, $par1Block, $par2, $par3, $par4, $var9, $var10, $var11) : nms_RenderBlocks_renderStandardBlockWithAmbientOcclusionPartial($this, $par1Block, $par2, $par3, $par4, $var9, $var10, $var11)) : nms_RenderBlocks_renderStandardBlockWithColorMultiplier($this, $par1Block, $par2, $par3, $par4, $var9, $var10, $var11); }, nms_RenderBlocks_renderBlockLog = ($this, $par1Block, $par2, $par3, $par4) => { let $var6, $var7; $var6 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4) & 12; if ($var6 == 4) { $this.$uvRotateEast = 1; $this.$uvRotateWest = 1; $this.$uvRotateTop = 1; $this.$uvRotateBottom = 1; } else if ($var6 == 8) { $this.$uvRotateSouth = 1; $this.$uvRotateNorth = 1; } $var7 = nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); $this.$uvRotateSouth = 0; $this.$uvRotateEast = 0; $this.$uvRotateWest = 0; $this.$uvRotateNorth = 0; $this.$uvRotateTop = 0; $this.$uvRotateBottom = 0; return $var7; }, nms_RenderBlocks_renderBlockQuartz = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, $var6; $var5 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); if ($var5 == 3) { $this.$uvRotateEast = 1; $this.$uvRotateWest = 1; $this.$uvRotateTop = 1; $this.$uvRotateBottom = 1; } else if ($var5 == 4) { $this.$uvRotateSouth = 1; $this.$uvRotateNorth = 1; } $var6 = nms_RenderBlocks_renderStandardBlock($this, $par1Block, $par2, $par3, $par4); $this.$uvRotateSouth = 0; $this.$uvRotateEast = 0; $this.$uvRotateWest = 0; $this.$uvRotateNorth = 0; $this.$uvRotateTop = 0; $this.$uvRotateBottom = 0; return $var6; }; let nms_RenderBlocks_renderStandardBlockWithAmbientOcclusion = ($this, $par1Block, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $var13, $var14, $var15, var$12, var$13, $var17, $var16, $var16_0, $var17_0, $var18, var$19, $var19, $var16_1, $var18_0, $var21, $var21_0, var$25, var$26, var$27, $var21_1, var$29, var$30, var$31, $var19_0, var$33, $var21_2, var$35; $this.$enableAO = 1; $var8 = 0; $var13 = 1; $var14 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); nlea_Tessellator_$callClinit(); $var15 = nlea_Tessellator_instance; $var15.$hasBrightness = 1; $var15.$brightness = 983055; $var15 = $par1Block.$getIcon(1, 0); if ($var15 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var15 === null) a: { b: { $var15 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $var15 = $var15.$textureMapBlocks.$missingImage; break a; } $var15 = $var15.$textureMapItems.$missingTextureStiched; } $var15 = $var15.$getIconName(); if ($var15 !== $rt_s(1162)) { if ($rt_s(1162) instanceof jl_String) { var$12 = $rt_s(1162); $var17 = $var15.$nativeString !== var$12.$nativeString ? 0 : 1; } else $var17 = 0; } else $var17 = 1; if ($var17) $var13 = 0; else if ($this.$overrideBlockTexture === null ? 0 : 1) $var13 = 0; if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3 - 1 | 0, $par4, 0))) { if ($this.$renderMinY <= 0.0) $par3 = $par3 + (-1) | 0; $var15 = $this.$blockAccess; $var16 = $par2 - 1 | 0; $this.$aoBrightnessXYNN = $par1Block.$getMixedBrightnessForBlock($var15, $var16, $par3, $par4); $var15 = $this.$blockAccess; $var16_0 = $par4 - 1 | 0; $this.$aoBrightnessYZNN = $par1Block.$getMixedBrightnessForBlock($var15, $par2, $par3, $var16_0); $var15 = $this.$blockAccess; $var17_0 = $par4 + 1 | 0; $this.$aoBrightnessYZNP = $par1Block.$getMixedBrightnessForBlock($var15, $par2, $par3, $var17_0); $var15 = $this.$blockAccess; $var18 = $par2 + 1 | 0; $this.$aoBrightnessXYPN = $par1Block.$getMixedBrightnessForBlock($var15, $var18, $par3, $par4); $this.$aoLightValueScratchXYNN = !$this.$blockAccess.$isBlockNormalCube($var16, $par3, $par4) ? 1.0 : 0.20000000298023224; $this.$aoLightValueScratchYZNN = !$this.$blockAccess.$isBlockNormalCube($par2, $par3, $var16_0) ? 1.0 : 0.20000000298023224; $this.$aoLightValueScratchYZNP = !$this.$blockAccess.$isBlockNormalCube($par2, $par3, $var17_0) ? 1.0 : 0.20000000298023224; $this.$aoLightValueScratchXYPN = !$this.$blockAccess.$isBlockNormalCube($var18, $par3, $par4) ? 1.0 : 0.20000000298023224; var$19 = nms_Block_canBlockGrass.data; $var15 = $this.$blockAccess; $var19 = $par3 - 1 | 0; $var16_1 = var$19[$var15.$getBlockId($var18, $var19, $par4)]; $var17 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var16, $var19, $par4)]; $var18_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var19, $var17_0)]; $var19 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var19, $var16_0)]; if (!$var19 && !$var17) { $this.$aoLightValueScratchXYZNNN = $this.$aoLightValueScratchXYNN; $this.$aoBrightnessXYZNNN = $this.$aoBrightnessXYNN; } else { $this.$aoLightValueScratchXYZNNN = !$this.$blockAccess.$isBlockNormalCube($var16, $par3, $var16_0) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var16, $par3, $var16_0); } if (!$var18_0 && !$var17) { $this.$aoLightValueScratchXYZNNP = $this.$aoLightValueScratchXYNN; $this.$aoBrightnessXYZNNP = $this.$aoBrightnessXYNN; } else { $this.$aoLightValueScratchXYZNNP = !$this.$blockAccess.$isBlockNormalCube($var16, $par3, $var17_0) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var16, $par3, $var17_0); } if (!$var19 && !$var16_1) { $this.$aoLightValueScratchXYZPNN = $this.$aoLightValueScratchXYPN; $this.$aoBrightnessXYZPNN = $this.$aoBrightnessXYPN; } else { $this.$aoLightValueScratchXYZPNN = !$this.$blockAccess.$isBlockNormalCube($var18, $par3, $var16_0) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var18, $par3, $var16_0); } if (!$var18_0 && !$var16_1) { $this.$aoLightValueScratchXYZPNP = $this.$aoLightValueScratchXYPN; $this.$aoBrightnessXYZPNP = $this.$aoBrightnessXYPN; } else { $this.$aoLightValueScratchXYZPNP = !$this.$blockAccess.$isBlockNormalCube($var18, $par3, $var17_0) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var18, $par3, $var17_0); } $var8 = $rt_compare($this.$renderMinY, 0.0); if ($var8 <= 0) $par3 = $par3 + 1 | 0; $var8 = $var8 > 0 && $this.$blockAccess.$isBlockOpaqueCube($par2, $par3 - 1 | 0, $par4) ? $var14 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3 - 1 | 0, $par4); $var21 = !$this.$blockAccess.$isBlockNormalCube($par2, $par3 - 1 | 0, $par4) ? 1.0 : 0.20000000298023224; $var21_0 = $this.$aoLightValueScratchXYZNNP; var$25 = $this.$aoLightValueScratchXYNN; $var21_0 = $var21_0 + var$25; var$26 = $this.$aoLightValueScratchYZNP; $var21_0 = ($var21_0 + var$26 + $var21) / 4.0; var$26 = var$26 + $var21 + $this.$aoLightValueScratchXYZPNP; var$27 = $this.$aoLightValueScratchXYPN; var$26 = (var$26 + var$27) / 4.0; $var21_1 = $this.$aoLightValueScratchYZNN; var$27 = ($var21 + $var21_1 + var$27 + $this.$aoLightValueScratchXYZPNN) / 4.0; var$25 = (var$25 + $this.$aoLightValueScratchXYZNNN + $var21 + $var21_1) / 4.0; $var17 = $this.$aoBrightnessXYZNNP; $var18_0 = $this.$aoBrightnessXYNN; $var19 = $this.$aoBrightnessYZNP; if (!$var17) $var17 = $var8; $this.$brightnessTopLeft = ((($var17 + (!$var18_0 ? $var8 : $var18_0) | 0) + (!$var19 ? $var8 : $var19) | 0) + $var8 | 0) >> 2 & 16711935; $var17 = $this.$aoBrightnessXYZPNP; $var16 = $this.$aoBrightnessXYPN; if (!$var19) $var19 = $var8; if (!$var17) $var17 = $var8; $this.$brightnessTopRight = ((($var19 + $var17 | 0) + (!$var16 ? $var8 : $var16) | 0) + $var8 | 0) >> 2 & 16711935; $var17 = $this.$aoBrightnessYZNN; $var19 = $this.$aoBrightnessXYZPNN; $var16_0 = !$var17 ? $var8 : $var17; if (!$var16) $var16 = $var8; if (!$var19) $var19 = $var8; $this.$brightnessBottomRight = ((($var16_0 + $var16 | 0) + $var19 | 0) + $var8 | 0) >> 2 & 16711935; $var19 = $this.$aoBrightnessXYZNNN; if (!$var18_0) $var18_0 = $var8; if (!$var19) $var19 = $var8; if (!$var17) $var17 = $var8; $this.$brightnessBottomLeft = ((($var18_0 + $var19 | 0) + $var17 | 0) + $var8 | 0) >> 2 & 16711935; if (!$var13) { $this.$colorRedTopRight = 0.5; $this.$colorRedBottomRight = 0.5; $this.$colorRedBottomLeft = 0.5; $this.$colorRedTopLeft = 0.5; $this.$colorGreenTopRight = 0.5; $this.$colorGreenBottomRight = 0.5; $this.$colorGreenBottomLeft = 0.5; $this.$colorGreenTopLeft = 0.5; $this.$colorBlueTopRight = 0.5; $this.$colorBlueBottomRight = 0.5; $this.$colorBlueBottomLeft = 0.5; $this.$colorBlueTopLeft = 0.5; } else { $var21_1 = $par5 * 0.5; $this.$colorRedTopRight = $var21_1; $this.$colorRedBottomRight = $var21_1; $this.$colorRedBottomLeft = $var21_1; $this.$colorRedTopLeft = $var21_1; $var21_1 = $par6 * 0.5; $this.$colorGreenTopRight = $var21_1; $this.$colorGreenBottomRight = $var21_1; $this.$colorGreenBottomLeft = $var21_1; $this.$colorGreenTopLeft = $var21_1; $var21_1 = $par7 * 0.5; $this.$colorBlueTopRight = $var21_1; $this.$colorBlueBottomRight = $var21_1; $this.$colorBlueBottomLeft = $var21_1; $this.$colorBlueTopLeft = $var21_1; } $this.$colorRedTopLeft = $this.$colorRedTopLeft * $var21_0; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $var21_0; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $var21_0; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * var$25; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * var$25; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * var$25; $this.$colorRedBottomRight = $this.$colorRedBottomRight * var$27; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * var$27; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * var$27; $this.$colorRedTopRight = $this.$colorRedTopRight * var$26; $this.$colorGreenTopRight = $this.$colorGreenTopRight * var$26; $this.$colorBlueTopRight = $this.$colorBlueTopRight * var$26; var$29 = $par2; var$30 = $par3; var$31 = $par4; $var15 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 0); if ($var15 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var15 === null) c: { d: { $var15 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break d; default: break d; } $var15 = $var15.$textureMapBlocks.$missingImage; break c; } $var15 = $var15.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYNeg($this, $par1Block, var$29, var$30, var$31, $var15); $var8 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3 + 1 | 0, $par4, 1))) { if ($this.$renderMaxY >= 1.0) $par3 = $par3 + 1 | 0; $var15 = $this.$blockAccess; $var8 = $par2 - 1 | 0; $this.$aoBrightnessXYNP = $par1Block.$getMixedBrightnessForBlock($var15, $var8, $par3, $par4); $var15 = $this.$blockAccess; $var17 = $par2 + 1 | 0; $this.$aoBrightnessXYPP = $par1Block.$getMixedBrightnessForBlock($var15, $var17, $par3, $par4); $var15 = $this.$blockAccess; $var18_0 = $par4 - 1 | 0; $this.$aoBrightnessYZPN = $par1Block.$getMixedBrightnessForBlock($var15, $par2, $par3, $var18_0); $var15 = $this.$blockAccess; $var19 = $par4 + 1 | 0; $this.$aoBrightnessYZPP = $par1Block.$getMixedBrightnessForBlock($var15, $par2, $par3, $var19); $this.$aoLightValueScratchXYNP = !$this.$blockAccess.$isBlockNormalCube($var8, $par3, $par4) ? 1.0 : 0.20000000298023224; $this.$aoLightValueScratchXYPP = !$this.$blockAccess.$isBlockNormalCube($var17, $par3, $par4) ? 1.0 : 0.20000000298023224; $this.$aoLightValueScratchYZPN = !$this.$blockAccess.$isBlockNormalCube($par2, $par3, $var18_0) ? 1.0 : 0.20000000298023224; $this.$aoLightValueScratchYZPP = !$this.$blockAccess.$isBlockNormalCube($par2, $par3, $var19) ? 1.0 : 0.20000000298023224; var$19 = nms_Block_canBlockGrass.data; $var15 = $this.$blockAccess; $var16 = $par3 + 1 | 0; $var16_0 = var$19[$var15.$getBlockId($var17, $var16, $par4)]; $var17_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var8, $var16, $par4)]; $var18 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var16, $var19)]; $var19_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var16, $var18_0)]; if (!$var19_0 && !$var17_0) { $this.$aoLightValueScratchXYZNPN = $this.$aoLightValueScratchXYNP; $this.$aoBrightnessXYZNPN = $this.$aoBrightnessXYNP; } else { $this.$aoLightValueScratchXYZNPN = !$this.$blockAccess.$isBlockNormalCube($var8, $par3, $var18_0) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var8, $par3, $var18_0); } if (!$var19_0 && !$var16_0) { $this.$aoLightValueScratchXYZPPN = $this.$aoLightValueScratchXYPP; $this.$aoBrightnessXYZPPN = $this.$aoBrightnessXYPP; } else { $this.$aoLightValueScratchXYZPPN = !$this.$blockAccess.$isBlockNormalCube($var17, $par3, $var18_0) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var17, $par3, $var18_0); } if (!$var18 && !$var17_0) { $this.$aoLightValueScratchXYZNPP = $this.$aoLightValueScratchXYNP; $this.$aoBrightnessXYZNPP = $this.$aoBrightnessXYNP; } else { $this.$aoLightValueScratchXYZNPP = !$this.$blockAccess.$isBlockNormalCube($var8, $par3, $var19) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var8, $par3, $var19); } if (!$var18 && !$var16_0) { $this.$aoLightValueScratchXYZPPP = $this.$aoLightValueScratchXYPP; $this.$aoBrightnessXYZPPP = $this.$aoBrightnessXYPP; } else { $this.$aoLightValueScratchXYZPPP = !$this.$blockAccess.$isBlockNormalCube($var17, $par3, $var19) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var17, $par3, $var19); } $var8 = $rt_compare($this.$renderMaxY, 1.0); if ($var8 >= 0) $par3 = $par3 + (-1) | 0; $var8 = $var8 < 0 && $this.$blockAccess.$isBlockOpaqueCube($par2, $par3 + 1 | 0, $par4) ? $var14 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3 + 1 | 0, $par4); $var21 = !$this.$blockAccess.$isBlockNormalCube($par2, $par3 + 1 | 0, $par4) ? 1.0 : 0.20000000298023224; $var21_0 = $this.$aoLightValueScratchXYZNPP; var$25 = $this.$aoLightValueScratchXYNP; $var21_0 = $var21_0 + var$25; var$26 = $this.$aoLightValueScratchYZPP; $var21_0 = ($var21_0 + var$26 + $var21) / 4.0; var$26 = var$26 + $var21 + $this.$aoLightValueScratchXYZPPP; var$27 = $this.$aoLightValueScratchXYPP; var$26 = (var$26 + var$27) / 4.0; $var21_1 = $this.$aoLightValueScratchYZPN; var$27 = ($var21 + $var21_1 + var$27 + $this.$aoLightValueScratchXYZPPN) / 4.0; var$25 = (var$25 + $this.$aoLightValueScratchXYZNPN + $var21 + $var21_1) / 4.0; $var17 = $this.$aoBrightnessXYZNPP; $var18_0 = $this.$aoBrightnessXYNP; $var19 = $this.$aoBrightnessYZPP; if (!$var17) $var17 = $var8; $this.$brightnessTopRight = ((($var17 + (!$var18_0 ? $var8 : $var18_0) | 0) + (!$var19 ? $var8 : $var19) | 0) + $var8 | 0) >> 2 & 16711935; $var17 = $this.$aoBrightnessXYZPPP; $var16 = $this.$aoBrightnessXYPP; if (!$var19) $var19 = $var8; if (!$var17) $var17 = $var8; $this.$brightnessTopLeft = ((($var19 + $var17 | 0) + (!$var16 ? $var8 : $var16) | 0) + $var8 | 0) >> 2 & 16711935; $var17 = $this.$aoBrightnessYZPN; $var19 = $this.$aoBrightnessXYZPPN; $var16_0 = !$var17 ? $var8 : $var17; if (!$var16) $var16 = $var8; if (!$var19) $var19 = $var8; $this.$brightnessBottomLeft = ((($var16_0 + $var16 | 0) + $var19 | 0) + $var8 | 0) >> 2 & 16711935; $var19 = $this.$aoBrightnessXYZNPN; if (!$var18_0) $var18_0 = $var8; if (!$var19) $var19 = $var8; if (!$var17) $var17 = $var8; $this.$brightnessBottomRight = ((($var18_0 + $var19 | 0) + $var17 | 0) + $var8 | 0) >> 2 & 16711935; $this.$colorRedTopRight = $par5; $this.$colorRedBottomRight = $par5; $this.$colorRedBottomLeft = $par5; $this.$colorRedTopLeft = $par5; $this.$colorGreenTopRight = $par6; $this.$colorGreenBottomRight = $par6; $this.$colorGreenBottomLeft = $par6; $this.$colorGreenTopLeft = $par6; $this.$colorBlueTopRight = $par7; $this.$colorBlueBottomRight = $par7; $this.$colorBlueBottomLeft = $par7; $this.$colorBlueTopLeft = $par7; $this.$colorRedTopLeft = $par5 * var$26; $this.$colorGreenTopLeft = $par6 * var$26; $this.$colorBlueTopLeft = $par7 * var$26; $this.$colorRedBottomLeft = $par5 * var$27; $this.$colorGreenBottomLeft = $par6 * var$27; $this.$colorBlueBottomLeft = $par7 * var$27; $this.$colorRedBottomRight = $par5 * var$25; $this.$colorGreenBottomRight = $par6 * var$25; $this.$colorBlueBottomRight = $par7 * var$25; $this.$colorRedTopRight = $par5 * $var21_0; $this.$colorGreenTopRight = $par6 * $var21_0; $this.$colorBlueTopRight = $par7 * $var21_0; var$29 = $par2; var$30 = $par3; var$31 = $par4; $var15 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 1); if ($var15 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var15 === null) e: { f: { $var15 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break f; default: break f; } $var15 = $var15.$textureMapBlocks.$missingImage; break e; } $var15 = $var15.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYPos($this, $par1Block, var$29, var$30, var$31, $var15); $var8 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3, $par4 - 1 | 0, 2))) { if ($this.$renderMinZ <= 0.0) $par4 = $par4 + (-1) | 0; $var15 = $this.$blockAccess; $var8 = $par2 - 1 | 0; $this.$aoLightValueScratchXZNN = !$var15.$isBlockNormalCube($var8, $par3, $par4) ? 1.0 : 0.20000000298023224; $var15 = $this.$blockAccess; $var17 = $par3 - 1 | 0; $this.$aoLightValueScratchYZNN = !$var15.$isBlockNormalCube($par2, $var17, $par4) ? 1.0 : 0.20000000298023224; $var15 = $this.$blockAccess; $var18_0 = $par3 + 1 | 0; $this.$aoLightValueScratchYZPN = !$var15.$isBlockNormalCube($par2, $var18_0, $par4) ? 1.0 : 0.20000000298023224; $var15 = $this.$blockAccess; $var19 = $par2 + 1 | 0; $this.$aoLightValueScratchXZPN = !$var15.$isBlockNormalCube($var19, $par3, $par4) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXZNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var8, $par3, $par4); $this.$aoBrightnessYZNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var17, $par4); $this.$aoBrightnessYZPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var18_0, $par4); $this.$aoBrightnessXZPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var19, $par3, $par4); var$19 = nms_Block_canBlockGrass.data; $var15 = $this.$blockAccess; $var16 = $par4 - 1 | 0; $var16_0 = var$19[$var15.$getBlockId($var19, $par3, $var16)]; $var17_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var8, $par3, $var16)]; $var18 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var18_0, $var16)]; $var19_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var17, $var16)]; if (!$var17_0 && !$var19_0) { $this.$aoLightValueScratchXYZNNN = $this.$aoLightValueScratchXZNN; $this.$aoBrightnessXYZNNN = $this.$aoBrightnessXZNN; } else { $this.$aoLightValueScratchXYZNNN = !$this.$blockAccess.$isBlockNormalCube($var8, $var17, $par4) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var8, $var17, $par4); } if (!$var17_0 && !$var18) { $this.$aoLightValueScratchXYZNPN = $this.$aoLightValueScratchXZNN; $this.$aoBrightnessXYZNPN = $this.$aoBrightnessXZNN; } else { $this.$aoLightValueScratchXYZNPN = !$this.$blockAccess.$isBlockNormalCube($var8, $var18_0, $par4) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var8, $var18_0, $par4); } if (!$var16_0 && !$var19_0) { $this.$aoLightValueScratchXYZPNN = $this.$aoLightValueScratchXZPN; $this.$aoBrightnessXYZPNN = $this.$aoBrightnessXZPN; } else { $this.$aoLightValueScratchXYZPNN = !$this.$blockAccess.$isBlockNormalCube($var19, $var17, $par4) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var19, $var17, $par4); } if (!$var16_0 && !$var18) { $this.$aoLightValueScratchXYZPPN = $this.$aoLightValueScratchXZPN; $this.$aoBrightnessXYZPPN = $this.$aoBrightnessXZPN; } else { $this.$aoLightValueScratchXYZPPN = !$this.$blockAccess.$isBlockNormalCube($var19, $var18_0, $par4) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var19, $var18_0, $par4); } $var8 = $rt_compare($this.$renderMinZ, 0.0); if ($var8 <= 0) $par4 = $par4 + 1 | 0; $var8 = $var8 > 0 && $this.$blockAccess.$isBlockOpaqueCube($par2, $par3, $par4 - 1 | 0) ? $var14 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4 - 1 | 0); $var21_0 = !$this.$blockAccess.$isBlockNormalCube($par2, $par3, $par4 - 1 | 0) ? 1.0 : 0.20000000298023224; $var21_1 = $this.$aoLightValueScratchXZNN; var$25 = $var21_1 + $this.$aoLightValueScratchXYZNPN + $var21_0; var$26 = $this.$aoLightValueScratchYZPN; var$25 = (var$25 + var$26) / 4.0; var$26 = $var21_0 + var$26; var$27 = $this.$aoLightValueScratchXZPN; var$26 = (var$26 + var$27 + $this.$aoLightValueScratchXYZPPN) / 4.0; var$33 = $this.$aoLightValueScratchYZNN; var$27 = (var$33 + $var21_0 + $this.$aoLightValueScratchXYZPNN + var$27) / 4.0; $var21_0 = ($this.$aoLightValueScratchXYZNNN + $var21_1 + var$33 + $var21_0) / 4.0; $var19 = $this.$aoBrightnessXZNN; $var16_0 = $this.$aoBrightnessXYZNPN; $var16 = $this.$aoBrightnessYZPN; $var17 = !$var19 ? $var8 : $var19; if (!$var16_0) $var16_0 = $var8; $this.$brightnessTopLeft = ((($var17 + $var16_0 | 0) + (!$var16 ? $var8 : $var16) | 0) + $var8 | 0) >> 2 & 16711935; $var16_0 = $this.$aoBrightnessXZPN; $var18_0 = $this.$aoBrightnessXYZPPN; if (!$var16) $var16 = $var8; $var17 = !$var16_0 ? $var8 : $var16_0; if (!$var18_0) $var18_0 = $var8; $this.$brightnessBottomLeft = ((($var16 + $var17 | 0) + $var18_0 | 0) + $var8 | 0) >> 2 & 16711935; $var16 = $this.$aoBrightnessYZNN; $var17 = $this.$aoBrightnessXYZPNN; $var18_0 = !$var16 ? $var8 : $var16; if (!$var17) $var17 = $var8; if (!$var16_0) $var16_0 = $var8; $this.$brightnessBottomRight = ((($var18_0 + $var17 | 0) + $var16_0 | 0) + $var8 | 0) >> 2 & 16711935; $var17 = $this.$aoBrightnessXYZNNN; if (!$var17) $var17 = $var8; if (!$var19) $var19 = $var8; if (!$var16) $var16 = $var8; $this.$brightnessTopRight = ((($var17 + $var19 | 0) + $var16 | 0) + $var8 | 0) >> 2 & 16711935; if (!$var13) { $this.$colorRedTopRight = 0.800000011920929; $this.$colorRedBottomRight = 0.800000011920929; $this.$colorRedBottomLeft = 0.800000011920929; $this.$colorRedTopLeft = 0.800000011920929; $this.$colorGreenTopRight = 0.800000011920929; $this.$colorGreenBottomRight = 0.800000011920929; $this.$colorGreenBottomLeft = 0.800000011920929; $this.$colorGreenTopLeft = 0.800000011920929; $this.$colorBlueTopRight = 0.800000011920929; $this.$colorBlueBottomRight = 0.800000011920929; $this.$colorBlueBottomLeft = 0.800000011920929; $this.$colorBlueTopLeft = 0.800000011920929; } else { $var21_1 = $par5 * 0.800000011920929; $this.$colorRedTopRight = $var21_1; $this.$colorRedBottomRight = $var21_1; $this.$colorRedBottomLeft = $var21_1; $this.$colorRedTopLeft = $var21_1; $var21_1 = $par6 * 0.800000011920929; $this.$colorGreenTopRight = $var21_1; $this.$colorGreenBottomRight = $var21_1; $this.$colorGreenBottomLeft = $var21_1; $this.$colorGreenTopLeft = $var21_1; $var21_1 = $par7 * 0.800000011920929; $this.$colorBlueTopRight = $var21_1; $this.$colorBlueBottomRight = $var21_1; $this.$colorBlueBottomLeft = $var21_1; $this.$colorBlueTopLeft = $var21_1; } $this.$colorRedTopLeft = $this.$colorRedTopLeft * var$25; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * var$25; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * var$25; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * var$26; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * var$26; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * var$26; $this.$colorRedBottomRight = $this.$colorRedBottomRight * var$27; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * var$27; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * var$27; $this.$colorRedTopRight = $this.$colorRedTopRight * $var21_0; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $var21_0; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $var21_0; $var15 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 2); if ($var15 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var15 === null) g: { h: { $var15 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break h; default: break h; } $var15 = $var15.$textureMapBlocks.$missingImage; break g; } $var15 = $var15.$textureMapItems.$missingTextureStiched; } var$29 = $par2; var$30 = $par3; var$31 = $par4; nms_RenderBlocks_renderFaceZNeg($this, $par1Block, var$29, var$30, var$31, $var15); if (nms_RenderBlocks_fancyGrass) { $var15 = $var15.$getIconName(); if ($var15 === $rt_s(1163)) $var8 = 1; else if (!($rt_s(1163) instanceof jl_String)) $var8 = 0; else { var$12 = $rt_s(1163); $var8 = $var15.$nativeString !== var$12.$nativeString ? 0 : 1; } if ($var8 && !($this.$overrideBlockTexture === null ? 0 : 1)) { $this.$colorRedTopLeft = $this.$colorRedTopLeft * $par5; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $par5; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $par5; $this.$colorRedTopRight = $this.$colorRedTopRight * $par5; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $par6; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $par6; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $par6; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $par6; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $par7; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $par7; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $par7; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $par7; nms_RenderBlocks_renderFaceZNeg($this, $par1Block, var$29, var$30, var$31, nms_Block_grass.$iconGrassSideOverlay); } } $var8 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3, $par4 + 1 | 0, 3))) { if ($this.$renderMaxZ >= 1.0) $par4 = $par4 + 1 | 0; $var15 = $this.$blockAccess; $var16_0 = $par2 - 1 | 0; $this.$aoLightValueScratchXZNP = !$var15.$isBlockNormalCube($var16_0, $par3, $par4) ? 1.0 : 0.20000000298023224; $var15 = $this.$blockAccess; $var18 = $par2 + 1 | 0; $this.$aoLightValueScratchXZPP = !$var15.$isBlockNormalCube($var18, $par3, $par4) ? 1.0 : 0.20000000298023224; $var15 = $this.$blockAccess; $var19_0 = $par3 - 1 | 0; $this.$aoLightValueScratchYZNP = !$var15.$isBlockNormalCube($par2, $var19_0, $par4) ? 1.0 : 0.20000000298023224; $var15 = $this.$blockAccess; $var8 = $par3 + 1 | 0; $this.$aoLightValueScratchYZPP = !$var15.$isBlockNormalCube($par2, $var8, $par4) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXZNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var16_0, $par3, $par4); $this.$aoBrightnessXZPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var18, $par3, $par4); $this.$aoBrightnessYZNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var19_0, $par4); $this.$aoBrightnessYZPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var8, $par4); var$19 = nms_Block_canBlockGrass.data; $var15 = $this.$blockAccess; $var17 = $par4 + 1 | 0; $var16 = var$19[$var15.$getBlockId($var18, $par3, $var17)]; $var17_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var16_0, $par3, $var17)]; $var18_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var8, $var17)]; $var19 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var19_0, $var17)]; if (!$var17_0 && !$var19) { $this.$aoLightValueScratchXYZNNP = $this.$aoLightValueScratchXZNP; $this.$aoBrightnessXYZNNP = $this.$aoBrightnessXZNP; } else { $this.$aoLightValueScratchXYZNNP = !$this.$blockAccess.$isBlockNormalCube($var16_0, $var19_0, $par4) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var16_0, $var19_0, $par4); } if (!$var17_0 && !$var18_0) { $this.$aoLightValueScratchXYZNPP = $this.$aoLightValueScratchXZNP; $this.$aoBrightnessXYZNPP = $this.$aoBrightnessXZNP; } else { $this.$aoLightValueScratchXYZNPP = !$this.$blockAccess.$isBlockNormalCube($var16_0, $var8, $par4) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var16_0, $var8, $par4); } if (!$var16 && !$var19) { $this.$aoLightValueScratchXYZPNP = $this.$aoLightValueScratchXZPP; $this.$aoBrightnessXYZPNP = $this.$aoBrightnessXZPP; } else { $this.$aoLightValueScratchXYZPNP = !$this.$blockAccess.$isBlockNormalCube($var18, $var19_0, $par4) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var18, $var19_0, $par4); } if (!$var16 && !$var18_0) { $this.$aoLightValueScratchXYZPPP = $this.$aoLightValueScratchXZPP; $this.$aoBrightnessXYZPPP = $this.$aoBrightnessXZPP; } else { $this.$aoLightValueScratchXYZPPP = !$this.$blockAccess.$isBlockNormalCube($var18, $var8, $par4) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var18, $var8, $par4); } $var8 = $rt_compare($this.$renderMaxZ, 1.0); if ($var8 >= 0) $par4 = $par4 + (-1) | 0; $var8 = $var8 < 0 && $this.$blockAccess.$isBlockOpaqueCube($par2, $par3, $par4 + 1 | 0) ? $var14 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4 + 1 | 0); $var21_2 = !$this.$blockAccess.$isBlockNormalCube($par2, $par3, $par4 + 1 | 0) ? 1.0 : 0.20000000298023224; $var21_0 = $this.$aoLightValueScratchXZNP; var$25 = $var21_0 + $this.$aoLightValueScratchXYZNPP + $var21_2; var$26 = $this.$aoLightValueScratchYZPP; var$25 = (var$25 + var$26) / 4.0; var$26 = $var21_2 + var$26; var$27 = $this.$aoLightValueScratchXZPP; var$26 = (var$26 + var$27 + $this.$aoLightValueScratchXYZPPP) / 4.0; $var21_1 = $this.$aoLightValueScratchYZNP; var$27 = ($var21_1 + $var21_2 + $this.$aoLightValueScratchXYZPNP + var$27) / 4.0; $var21_0 = ($this.$aoLightValueScratchXYZNNP + $var21_0 + $var21_1 + $var21_2) / 4.0; $var17 = $this.$aoBrightnessXZNP; $var18_0 = $this.$aoBrightnessXYZNPP; $var19 = $this.$aoBrightnessYZPP; $var16 = !$var17 ? $var8 : $var17; if (!$var18_0) $var18_0 = $var8; $this.$brightnessTopLeft = ((($var16 + $var18_0 | 0) + (!$var19 ? $var8 : $var19) | 0) + $var8 | 0) >> 2 & 16711935; $var18_0 = $this.$aoBrightnessXZPP; $var16 = $this.$aoBrightnessXYZPPP; if (!$var19) $var19 = $var8; $var16_0 = !$var18_0 ? $var8 : $var18_0; if (!$var16) $var16 = $var8; $this.$brightnessTopRight = ((($var19 + $var16_0 | 0) + $var16 | 0) + $var8 | 0) >> 2 & 16711935; $var19 = $this.$aoBrightnessYZNP; $var16 = $this.$aoBrightnessXYZPNP; $var16_0 = !$var19 ? $var8 : $var19; if (!$var16) $var16 = $var8; if (!$var18_0) $var18_0 = $var8; $this.$brightnessBottomRight = ((($var16_0 + $var16 | 0) + $var18_0 | 0) + $var8 | 0) >> 2 & 16711935; $var18_0 = $this.$aoBrightnessXYZNNP; if (!$var18_0) $var18_0 = $var8; if (!$var17) $var17 = $var8; if (!$var19) $var19 = $var8; $this.$brightnessBottomLeft = ((($var18_0 + $var17 | 0) + $var19 | 0) + $var8 | 0) >> 2 & 16711935; if (!$var13) { $this.$colorRedTopRight = 0.800000011920929; $this.$colorRedBottomRight = 0.800000011920929; $this.$colorRedBottomLeft = 0.800000011920929; $this.$colorRedTopLeft = 0.800000011920929; $this.$colorGreenTopRight = 0.800000011920929; $this.$colorGreenBottomRight = 0.800000011920929; $this.$colorGreenBottomLeft = 0.800000011920929; $this.$colorGreenTopLeft = 0.800000011920929; $this.$colorBlueTopRight = 0.800000011920929; $this.$colorBlueBottomRight = 0.800000011920929; $this.$colorBlueBottomLeft = 0.800000011920929; $this.$colorBlueTopLeft = 0.800000011920929; } else { $var21_1 = $par5 * 0.800000011920929; $this.$colorRedTopRight = $var21_1; $this.$colorRedBottomRight = $var21_1; $this.$colorRedBottomLeft = $var21_1; $this.$colorRedTopLeft = $var21_1; $var21_1 = $par6 * 0.800000011920929; $this.$colorGreenTopRight = $var21_1; $this.$colorGreenBottomRight = $var21_1; $this.$colorGreenBottomLeft = $var21_1; $this.$colorGreenTopLeft = $var21_1; $var21_1 = $par7 * 0.800000011920929; $this.$colorBlueTopRight = $var21_1; $this.$colorBlueBottomRight = $var21_1; $this.$colorBlueBottomLeft = $var21_1; $this.$colorBlueTopLeft = $var21_1; } $this.$colorRedTopLeft = $this.$colorRedTopLeft * var$25; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * var$25; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * var$25; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $var21_0; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $var21_0; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $var21_0; $this.$colorRedBottomRight = $this.$colorRedBottomRight * var$27; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * var$27; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * var$27; $this.$colorRedTopRight = $this.$colorRedTopRight * var$26; $this.$colorGreenTopRight = $this.$colorGreenTopRight * var$26; $this.$colorBlueTopRight = $this.$colorBlueTopRight * var$26; var$35 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 3); if (var$35 === null) { if (jl_System_outCache === null) { $var15 = new otcic_JSStdoutPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); $var15.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $var15.$sb = var$12; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var15; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$35 === null) i: { j: { $var15 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break j; default: break j; } var$35 = $var15.$textureMapBlocks.$missingImage; break i; } var$35 = $var15.$textureMapItems.$missingTextureStiched; } var$29 = $par2; var$30 = $par3; var$31 = $par4; $var15 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 3); if ($var15 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var15 === null) k: { l: { $var15 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break l; default: break l; } $var15 = $var15.$textureMapBlocks.$missingImage; break k; } $var15 = $var15.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZPos($this, $par1Block, var$29, var$30, var$31, $var15); if (nms_RenderBlocks_fancyGrass) { $var15 = var$35.$getIconName(); if ($var15 !== $rt_s(1163)) { if ($rt_s(1163) instanceof jl_String) { var$12 = $rt_s(1163); $var8 = $var15.$nativeString !== var$12.$nativeString ? 0 : 1; } else $var8 = 0; } else $var8 = 1; if ($var8 && !($this.$overrideBlockTexture === null ? 0 : 1)) { $this.$colorRedTopLeft = $this.$colorRedTopLeft * $par5; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $par5; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $par5; $this.$colorRedTopRight = $this.$colorRedTopRight * $par5; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $par6; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $par6; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $par6; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $par6; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $par7; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $par7; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $par7; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $par7; nms_RenderBlocks_renderFaceZPos($this, $par1Block, var$29, var$30, var$31, nms_Block_grass.$iconGrassSideOverlay); } } $var8 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2 - 1 | 0, $par3, $par4, 4))) { if ($this.$renderMinX <= 0.0) $par2 = $par2 + (-1) | 0; $var15 = $this.$blockAccess; $var8 = $par3 - 1 | 0; $this.$aoLightValueScratchXYNN = !$var15.$isBlockNormalCube($par2, $var8, $par4) ? 1.0 : 0.20000000298023224; $var15 = $this.$blockAccess; $var17 = $par4 - 1 | 0; $this.$aoLightValueScratchXZNN = !$var15.$isBlockNormalCube($par2, $par3, $var17) ? 1.0 : 0.20000000298023224; $var15 = $this.$blockAccess; $var18_0 = $par4 + 1 | 0; $this.$aoLightValueScratchXZNP = !$var15.$isBlockNormalCube($par2, $par3, $var18_0) ? 1.0 : 0.20000000298023224; $var15 = $this.$blockAccess; $var19 = $par3 + 1 | 0; $this.$aoLightValueScratchXYNP = !$var15.$isBlockNormalCube($par2, $var19, $par4) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var8, $par4); $this.$aoBrightnessXZNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $var17); $this.$aoBrightnessXZNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $var18_0); $this.$aoBrightnessXYNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var19, $par4); var$19 = nms_Block_canBlockGrass.data; $var15 = $this.$blockAccess; $var16 = $par2 - 1 | 0; $var16_0 = var$19[$var15.$getBlockId($var16, $var19, $par4)]; $var17_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var16, $var8, $par4)]; $var18 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var16, $par3, $var17)]; $var19_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var16, $par3, $var18_0)]; if (!$var18 && !$var17_0) { $this.$aoLightValueScratchXYZNNN = $this.$aoLightValueScratchXZNN; $this.$aoBrightnessXYZNNN = $this.$aoBrightnessXZNN; } else { $this.$aoLightValueScratchXYZNNN = !$this.$blockAccess.$isBlockNormalCube($par2, $var8, $var17) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var8, $var17); } if (!$var19_0 && !$var17_0) { $this.$aoLightValueScratchXYZNNP = $this.$aoLightValueScratchXZNP; $this.$aoBrightnessXYZNNP = $this.$aoBrightnessXZNP; } else { $this.$aoLightValueScratchXYZNNP = !$this.$blockAccess.$isBlockNormalCube($par2, $var8, $var18_0) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var8, $var18_0); } if (!$var18 && !$var16_0) { $this.$aoLightValueScratchXYZNPN = $this.$aoLightValueScratchXZNN; $this.$aoBrightnessXYZNPN = $this.$aoBrightnessXZNN; } else { $this.$aoLightValueScratchXYZNPN = !$this.$blockAccess.$isBlockNormalCube($par2, $var19, $var17) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var19, $var17); } if (!$var19_0 && !$var16_0) { $this.$aoLightValueScratchXYZNPP = $this.$aoLightValueScratchXZNP; $this.$aoBrightnessXYZNPP = $this.$aoBrightnessXZNP; } else { $this.$aoLightValueScratchXYZNPP = !$this.$blockAccess.$isBlockNormalCube($par2, $var19, $var18_0) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var19, $var18_0); } $var8 = $rt_compare($this.$renderMinX, 0.0); if ($var8 <= 0) $par2 = $par2 + 1 | 0; $var8 = $var8 > 0 && $this.$blockAccess.$isBlockOpaqueCube($par2 - 1 | 0, $par3, $par4) ? $var14 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2 - 1 | 0, $par3, $par4); $var21_2 = !$this.$blockAccess.$isBlockNormalCube($par2 - 1 | 0, $par3, $par4) ? 1.0 : 0.20000000298023224; $var21_0 = $this.$aoLightValueScratchXYNN; var$25 = $var21_0 + $this.$aoLightValueScratchXYZNNP + $var21_2; var$26 = $this.$aoLightValueScratchXZNP; var$25 = (var$25 + var$26) / 4.0; var$26 = $var21_2 + var$26; var$27 = $this.$aoLightValueScratchXYNP; var$26 = (var$26 + var$27 + $this.$aoLightValueScratchXYZNPP) / 4.0; $var21_1 = $this.$aoLightValueScratchXZNN; var$27 = ($var21_1 + $var21_2 + $this.$aoLightValueScratchXYZNPN + var$27) / 4.0; $var21_0 = ($this.$aoLightValueScratchXYZNNN + $var21_0 + $var21_1 + $var21_2) / 4.0; $var19 = $this.$aoBrightnessXYNN; $var16 = $this.$aoBrightnessXYZNNP; $var16_0 = $this.$aoBrightnessXZNP; $var17 = !$var19 ? $var8 : $var19; if (!$var16) $var16 = $var8; $this.$brightnessTopRight = ((($var17 + $var16 | 0) + (!$var16_0 ? $var8 : $var16_0) | 0) + $var8 | 0) >> 2 & 16711935; $var16 = $this.$aoBrightnessXYNP; $var17 = $this.$aoBrightnessXYZNPP; if (!$var16_0) $var16_0 = $var8; $var18_0 = !$var16 ? $var8 : $var16; if (!$var17) $var17 = $var8; $this.$brightnessTopLeft = ((($var16_0 + $var18_0 | 0) + $var17 | 0) + $var8 | 0) >> 2 & 16711935; $var17 = $this.$aoBrightnessXZNN; $var18_0 = $this.$aoBrightnessXYZNPN; $var16_0 = !$var17 ? $var8 : $var17; if (!$var18_0) $var18_0 = $var8; if (!$var16) $var16 = $var8; $this.$brightnessBottomLeft = ((($var16_0 + $var18_0 | 0) + $var16 | 0) + $var8 | 0) >> 2 & 16711935; $var18_0 = $this.$aoBrightnessXYZNNN; if (!$var18_0) $var18_0 = $var8; if (!$var19) $var19 = $var8; if (!$var17) $var17 = $var8; $this.$brightnessBottomRight = ((($var18_0 + $var19 | 0) + $var17 | 0) + $var8 | 0) >> 2 & 16711935; if (!$var13) { $this.$colorRedTopRight = 0.6000000238418579; $this.$colorRedBottomRight = 0.6000000238418579; $this.$colorRedBottomLeft = 0.6000000238418579; $this.$colorRedTopLeft = 0.6000000238418579; $this.$colorGreenTopRight = 0.6000000238418579; $this.$colorGreenBottomRight = 0.6000000238418579; $this.$colorGreenBottomLeft = 0.6000000238418579; $this.$colorGreenTopLeft = 0.6000000238418579; $this.$colorBlueTopRight = 0.6000000238418579; $this.$colorBlueBottomRight = 0.6000000238418579; $this.$colorBlueBottomLeft = 0.6000000238418579; $this.$colorBlueTopLeft = 0.6000000238418579; } else { $var21_1 = $par5 * 0.6000000238418579; $this.$colorRedTopRight = $var21_1; $this.$colorRedBottomRight = $var21_1; $this.$colorRedBottomLeft = $var21_1; $this.$colorRedTopLeft = $var21_1; $var21_1 = $par6 * 0.6000000238418579; $this.$colorGreenTopRight = $var21_1; $this.$colorGreenBottomRight = $var21_1; $this.$colorGreenBottomLeft = $var21_1; $this.$colorGreenTopLeft = $var21_1; $var21_1 = $par7 * 0.6000000238418579; $this.$colorBlueTopRight = $var21_1; $this.$colorBlueBottomRight = $var21_1; $this.$colorBlueBottomLeft = $var21_1; $this.$colorBlueTopLeft = $var21_1; } $this.$colorRedTopLeft = $this.$colorRedTopLeft * var$26; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * var$26; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * var$26; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * var$27; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * var$27; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * var$27; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $var21_0; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $var21_0; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $var21_0; $this.$colorRedTopRight = $this.$colorRedTopRight * var$25; $this.$colorGreenTopRight = $this.$colorGreenTopRight * var$25; $this.$colorBlueTopRight = $this.$colorBlueTopRight * var$25; $var15 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 4); if ($var15 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var15 === null) m: { n: { $var15 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break n; default: break n; } $var15 = $var15.$textureMapBlocks.$missingImage; break m; } $var15 = $var15.$textureMapItems.$missingTextureStiched; } var$29 = $par2; var$30 = $par3; var$31 = $par4; nms_RenderBlocks_renderFaceXNeg($this, $par1Block, var$29, var$30, var$31, $var15); if (nms_RenderBlocks_fancyGrass) { $var15 = $var15.$getIconName(); if ($var15 === $rt_s(1163)) $var8 = 1; else if (!($rt_s(1163) instanceof jl_String)) $var8 = 0; else { var$12 = $rt_s(1163); $var8 = $var15.$nativeString !== var$12.$nativeString ? 0 : 1; } if ($var8 && !($this.$overrideBlockTexture === null ? 0 : 1)) { $this.$colorRedTopLeft = $this.$colorRedTopLeft * $par5; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $par5; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $par5; $this.$colorRedTopRight = $this.$colorRedTopRight * $par5; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $par6; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $par6; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $par6; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $par6; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $par7; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $par7; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $par7; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $par7; nms_RenderBlocks_renderFaceXNeg($this, $par1Block, var$29, var$30, var$31, nms_Block_grass.$iconGrassSideOverlay); } } $var8 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2 + 1 | 0, $par3, $par4, 5))) { if ($this.$renderMaxX >= 1.0) $par2 = $par2 + 1 | 0; $var15 = $this.$blockAccess; $var8 = $par3 - 1 | 0; $this.$aoLightValueScratchXYPN = !$var15.$isBlockNormalCube($par2, $var8, $par4) ? 1.0 : 0.20000000298023224; $var15 = $this.$blockAccess; $var17 = $par4 - 1 | 0; $this.$aoLightValueScratchXZPN = !$var15.$isBlockNormalCube($par2, $par3, $var17) ? 1.0 : 0.20000000298023224; $var15 = $this.$blockAccess; $var18_0 = $par4 + 1 | 0; $this.$aoLightValueScratchXZPP = !$var15.$isBlockNormalCube($par2, $par3, $var18_0) ? 1.0 : 0.20000000298023224; $var15 = $this.$blockAccess; $var19 = $par3 + 1 | 0; $this.$aoLightValueScratchXYPP = !$var15.$isBlockNormalCube($par2, $var19, $par4) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var8, $par4); $this.$aoBrightnessXZPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $var17); $this.$aoBrightnessXZPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $var18_0); $this.$aoBrightnessXYPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var19, $par4); var$19 = nms_Block_canBlockGrass.data; $var15 = $this.$blockAccess; $var16 = $par2 + 1 | 0; $var16_0 = var$19[$var15.$getBlockId($var16, $var19, $par4)]; $var17_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var16, $var8, $par4)]; $var18 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var16, $par3, $var18_0)]; $var19_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var16, $par3, $var17)]; if (!$var17_0 && !$var19_0) { $this.$aoLightValueScratchXYZPNN = $this.$aoLightValueScratchXZPN; $this.$aoBrightnessXYZPNN = $this.$aoBrightnessXZPN; } else { $this.$aoLightValueScratchXYZPNN = !$this.$blockAccess.$isBlockNormalCube($par2, $var8, $var17) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var8, $var17); } if (!$var17_0 && !$var18) { $this.$aoLightValueScratchXYZPNP = $this.$aoLightValueScratchXZPP; $this.$aoBrightnessXYZPNP = $this.$aoBrightnessXZPP; } else { $this.$aoLightValueScratchXYZPNP = !$this.$blockAccess.$isBlockNormalCube($par2, $var8, $var18_0) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var8, $var18_0); } if (!$var16_0 && !$var19_0) { $this.$aoLightValueScratchXYZPPN = $this.$aoLightValueScratchXZPN; $this.$aoBrightnessXYZPPN = $this.$aoBrightnessXZPN; } else { $this.$aoLightValueScratchXYZPPN = !$this.$blockAccess.$isBlockNormalCube($par2, $var19, $var17) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var19, $var17); } if (!$var16_0 && !$var18) { $this.$aoLightValueScratchXYZPPP = $this.$aoLightValueScratchXZPP; $this.$aoBrightnessXYZPPP = $this.$aoBrightnessXZPP; } else { $this.$aoLightValueScratchXYZPPP = !$this.$blockAccess.$isBlockNormalCube($par2, $var19, $var18_0) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var19, $var18_0); } $var8 = $rt_compare($this.$renderMaxX, 1.0); if ($var8 >= 0) $par2 = $par2 + (-1) | 0; if (!($var8 < 0 && $this.$blockAccess.$isBlockOpaqueCube($par2 + 1 | 0, $par3, $par4))) $var14 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2 + 1 | 0, $par3, $par4); $var21_1 = !$this.$blockAccess.$isBlockNormalCube($par2 + 1 | 0, $par3, $par4) ? 1.0 : 0.20000000298023224; $var21_0 = $this.$aoLightValueScratchXYPN; var$25 = $var21_0 + $this.$aoLightValueScratchXYZPNP + $var21_1; var$26 = $this.$aoLightValueScratchXZPP; var$25 = (var$25 + var$26) / 4.0; $var21_0 = $this.$aoLightValueScratchXYZPNN + $var21_0; var$27 = $this.$aoLightValueScratchXZPN; $var21_0 = ($var21_0 + var$27 + $var21_1) / 4.0; var$27 = var$27 + $var21_1 + $this.$aoLightValueScratchXYZPPN; var$33 = $this.$aoLightValueScratchXYPP; var$27 = (var$27 + var$33) / 4.0; var$26 = ($var21_1 + var$26 + var$33 + $this.$aoLightValueScratchXYZPPP) / 4.0; $var8 = $this.$aoBrightnessXYPN; $var17 = $this.$aoBrightnessXYZPNP; $var18_0 = $this.$aoBrightnessXZPP; $var19 = !$var8 ? $var14 : $var8; if (!$var17) $var17 = $var14; $this.$brightnessTopLeft = ((($var19 + $var17 | 0) + (!$var18_0 ? $var14 : $var18_0) | 0) + $var14 | 0) >> 2 & 16711935; $var17 = $this.$aoBrightnessXYPP; $var19 = $this.$aoBrightnessXYZPPP; if (!$var18_0) $var18_0 = $var14; $var16 = !$var17 ? $var14 : $var17; if (!$var19) $var19 = $var14; $this.$brightnessTopRight = ((($var18_0 + $var16 | 0) + $var19 | 0) + $var14 | 0) >> 2 & 16711935; $var18_0 = $this.$aoBrightnessXZPN; $var19 = $this.$aoBrightnessXYZPPN; $var16 = !$var18_0 ? $var14 : $var18_0; if (!$var19) $var19 = $var14; if (!$var17) $var17 = $var14; $this.$brightnessBottomRight = ((($var16 + $var19 | 0) + $var17 | 0) + $var14 | 0) >> 2 & 16711935; $var17 = $this.$aoBrightnessXYZPNN; if (!$var17) $var17 = $var14; if (!$var8) $var8 = $var14; if (!$var18_0) $var18_0 = $var14; $this.$brightnessBottomLeft = ((($var17 + $var8 | 0) + $var18_0 | 0) + $var14 | 0) >> 2 & 16711935; if (!$var13) { $this.$colorRedTopRight = 0.6000000238418579; $this.$colorRedBottomRight = 0.6000000238418579; $this.$colorRedBottomLeft = 0.6000000238418579; $this.$colorRedTopLeft = 0.6000000238418579; $this.$colorGreenTopRight = 0.6000000238418579; $this.$colorGreenBottomRight = 0.6000000238418579; $this.$colorGreenBottomLeft = 0.6000000238418579; $this.$colorGreenTopLeft = 0.6000000238418579; $this.$colorBlueTopRight = 0.6000000238418579; $this.$colorBlueBottomRight = 0.6000000238418579; $this.$colorBlueBottomLeft = 0.6000000238418579; $this.$colorBlueTopLeft = 0.6000000238418579; } else { $var21_1 = $par5 * 0.6000000238418579; $this.$colorRedTopRight = $var21_1; $this.$colorRedBottomRight = $var21_1; $this.$colorRedBottomLeft = $var21_1; $this.$colorRedTopLeft = $var21_1; $var21_1 = $par6 * 0.6000000238418579; $this.$colorGreenTopRight = $var21_1; $this.$colorGreenBottomRight = $var21_1; $this.$colorGreenBottomLeft = $var21_1; $this.$colorGreenTopLeft = $var21_1; $var21_1 = $par7 * 0.6000000238418579; $this.$colorBlueTopRight = $var21_1; $this.$colorBlueBottomRight = $var21_1; $this.$colorBlueBottomLeft = $var21_1; $this.$colorBlueTopLeft = $var21_1; } $this.$colorRedTopLeft = $this.$colorRedTopLeft * var$25; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * var$25; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * var$25; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $var21_0; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $var21_0; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $var21_0; $this.$colorRedBottomRight = $this.$colorRedBottomRight * var$27; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * var$27; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * var$27; $this.$colorRedTopRight = $this.$colorRedTopRight * var$26; $this.$colorGreenTopRight = $this.$colorGreenTopRight * var$26; $this.$colorBlueTopRight = $this.$colorBlueTopRight * var$26; $var15 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 5); if ($var15 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var15 === null) $var15 = nms_RenderEngine_getMissingIcon($this.$minecraftRB.$renderEngine, 0); var$29 = $par2; var$30 = $par3; var$31 = $par4; nms_RenderBlocks_renderFaceXPos($this, $par1Block, var$29, var$30, var$31, $var15); if (nms_RenderBlocks_fancyGrass && jl_String_equals($var15.$getIconName(), $rt_s(1163)) && !nms_RenderBlocks_hasOverrideBlockTexture($this)) { $this.$colorRedTopLeft = $this.$colorRedTopLeft * $par5; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $par5; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $par5; $this.$colorRedTopRight = $this.$colorRedTopRight * $par5; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $par6; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $par6; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $par6; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $par6; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $par7; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $par7; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $par7; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $par7; nms_RenderBlocks_renderFaceXPos($this, $par1Block, var$29, var$30, var$31, nms_Block_grass.$iconGrassSideOverlay); } $var8 = 1; } $this.$enableAO = 0; return $var8; }, nms_RenderBlocks_renderStandardBlockWithAmbientOcclusionPartial = ($this, $par1Block, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $var13, $var14, $var15, $var30, var$13, $var26, $var27, $var28, var$17, $var19, $var16, $var17, $var18, $var21, $var25, $var22, $var23, $var24, $var21_0, var$28, var$29, var$30, $var16_0, $var17_0, $var19_0, var$34, var$35, var$36, var$37, var$38, var$39, var$40, var$41, var$42, var$43, var$44, var$45, $var29, $var23_0, $var24_0; $this.$enableAO = 1; $var8 = 0; $var13 = 1; $var14 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); nlea_Tessellator_$callClinit(); $var15 = nlea_Tessellator_instance; $var15.$hasBrightness = 1; $var15.$brightness = 983055; $var30 = $par1Block.$getIcon(1, 0); if ($var30 === null) { if (jl_System_outCache === null) { $var15 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var15.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var15.$sb = var$13; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var15; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var30 === null) a: { b: { $var30 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $var30 = $var30.$textureMapBlocks.$missingImage; break a; } $var30 = $var30.$textureMapItems.$missingTextureStiched; } $var30 = $var30.$getIconName(); if ($var30 === $rt_s(1162)) $var26 = 1; else if (!($rt_s(1162) instanceof jl_String)) $var26 = 0; else { $var15 = $rt_s(1162); $var26 = $var30.$nativeString !== $var15.$nativeString ? 0 : 1; } if ($var26) $var13 = 0; else if ($this.$overrideBlockTexture === null ? 0 : 1) $var13 = 0; if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3 - 1 | 0, $par4, 0))) { if ($this.$renderMinY <= 0.0) $par3 = $par3 + (-1) | 0; $var30 = $this.$blockAccess; $var27 = $par2 - 1 | 0; $this.$aoBrightnessXYNN = $par1Block.$getMixedBrightnessForBlock($var30, $var27, $par3, $par4); $var30 = $this.$blockAccess; $var28 = $par4 - 1 | 0; $this.$aoBrightnessYZNN = $par1Block.$getMixedBrightnessForBlock($var30, $par2, $par3, $var28); $var30 = $this.$blockAccess; $var8 = $par4 + 1 | 0; $this.$aoBrightnessYZNP = $par1Block.$getMixedBrightnessForBlock($var30, $par2, $par3, $var8); $var30 = $this.$blockAccess; $var26 = $par2 + 1 | 0; $this.$aoBrightnessXYPN = $par1Block.$getMixedBrightnessForBlock($var30, $var26, $par3, $par4); $this.$aoLightValueScratchXYNN = !$this.$blockAccess.$isBlockNormalCube($var27, $par3, $par4) ? 1.0 : 0.20000000298023224; $this.$aoLightValueScratchYZNN = !$this.$blockAccess.$isBlockNormalCube($par2, $par3, $var28) ? 1.0 : 0.20000000298023224; $this.$aoLightValueScratchYZNP = !$this.$blockAccess.$isBlockNormalCube($par2, $par3, $var8) ? 1.0 : 0.20000000298023224; $this.$aoLightValueScratchXYPN = !$this.$blockAccess.$isBlockNormalCube($var26, $par3, $par4) ? 1.0 : 0.20000000298023224; var$17 = nms_Block_canBlockGrass.data; $var30 = $this.$blockAccess; $var19 = $par3 - 1 | 0; $var16 = var$17[$var30.$getBlockId($var26, $var19, $par4)]; $var17 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var27, $var19, $par4)]; $var18 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var19, $var8)]; $var19 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var19, $var28)]; if (!$var19 && !$var17) { $this.$aoLightValueScratchXYZNNN = $this.$aoLightValueScratchXYNN; $this.$aoBrightnessXYZNNN = $this.$aoBrightnessXYNN; } else { $this.$aoLightValueScratchXYZNNN = !$this.$blockAccess.$isBlockNormalCube($var27, $par3, $var28) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var27, $par3, $var28); } if (!$var18 && !$var17) { $this.$aoLightValueScratchXYZNNP = $this.$aoLightValueScratchXYNN; $this.$aoBrightnessXYZNNP = $this.$aoBrightnessXYNN; } else { $this.$aoLightValueScratchXYZNNP = !$this.$blockAccess.$isBlockNormalCube($var27, $par3, $var8) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var27, $par3, $var8); } if (!$var19 && !$var16) { $this.$aoLightValueScratchXYZPNN = $this.$aoLightValueScratchXYPN; $this.$aoBrightnessXYZPNN = $this.$aoBrightnessXYPN; } else { $this.$aoLightValueScratchXYZPNN = !$this.$blockAccess.$isBlockNormalCube($var26, $par3, $var28) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var26, $par3, $var28); } if (!$var18 && !$var16) { $this.$aoLightValueScratchXYZPNP = $this.$aoLightValueScratchXYPN; $this.$aoBrightnessXYZPNP = $this.$aoBrightnessXYPN; } else { $this.$aoLightValueScratchXYZPNP = !$this.$blockAccess.$isBlockNormalCube($var26, $par3, $var8) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var26, $par3, $var8); } $var8 = $rt_compare($this.$renderMinY, 0.0); if ($var8 <= 0) $par3 = $par3 + 1 | 0; $var8 = $var8 > 0 && $this.$blockAccess.$isBlockOpaqueCube($par2, $par3 - 1 | 0, $par4) ? $var14 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3 - 1 | 0, $par4); $var21 = !$this.$blockAccess.$isBlockNormalCube($par2, $par3 - 1 | 0, $par4) ? 1.0 : 0.20000000298023224; $var25 = $this.$aoLightValueScratchXYZNNP; $var22 = $this.$aoLightValueScratchXYNN; $var25 = $var25 + $var22; $var23 = $this.$aoLightValueScratchYZNP; $var25 = ($var25 + $var23 + $var21) / 4.0; $var23 = $var23 + $var21 + $this.$aoLightValueScratchXYZPNP; $var24 = $this.$aoLightValueScratchXYPN; $var23 = ($var23 + $var24) / 4.0; $var21_0 = $this.$aoLightValueScratchYZNN; $var24 = ($var21 + $var21_0 + $var24 + $this.$aoLightValueScratchXYZPNN) / 4.0; $var22 = ($var22 + $this.$aoLightValueScratchXYZNNN + $var21 + $var21_0) / 4.0; $var26 = $this.$aoBrightnessXYZNNP; $var19 = $this.$aoBrightnessXYNN; $var16 = $this.$aoBrightnessYZNP; if (!$var26) $var26 = $var8; $this.$brightnessTopLeft = ((($var26 + (!$var19 ? $var8 : $var19) | 0) + (!$var16 ? $var8 : $var16) | 0) + $var8 | 0) >> 2 & 16711935; $var26 = $this.$aoBrightnessXYZPNP; $var17 = $this.$aoBrightnessXYPN; if (!$var16) $var16 = $var8; if (!$var26) $var26 = $var8; $this.$brightnessTopRight = ((($var16 + $var26 | 0) + (!$var17 ? $var8 : $var17) | 0) + $var8 | 0) >> 2 & 16711935; $var26 = $this.$aoBrightnessYZNN; $var16 = $this.$aoBrightnessXYZPNN; $var18 = !$var26 ? $var8 : $var26; if (!$var17) $var17 = $var8; if (!$var16) $var16 = $var8; $this.$brightnessBottomRight = ((($var18 + $var17 | 0) + $var16 | 0) + $var8 | 0) >> 2 & 16711935; $var16 = $this.$aoBrightnessXYZNNN; if (!$var19) $var19 = $var8; if (!$var16) $var16 = $var8; if (!$var26) $var26 = $var8; $this.$brightnessBottomLeft = ((($var19 + $var16 | 0) + $var26 | 0) + $var8 | 0) >> 2 & 16711935; if (!$var13) { $this.$colorRedTopRight = 0.5; $this.$colorRedBottomRight = 0.5; $this.$colorRedBottomLeft = 0.5; $this.$colorRedTopLeft = 0.5; $this.$colorGreenTopRight = 0.5; $this.$colorGreenBottomRight = 0.5; $this.$colorGreenBottomLeft = 0.5; $this.$colorGreenTopLeft = 0.5; $this.$colorBlueTopRight = 0.5; $this.$colorBlueBottomRight = 0.5; $this.$colorBlueBottomLeft = 0.5; $this.$colorBlueTopLeft = 0.5; } else { $var21_0 = $par5 * 0.5; $this.$colorRedTopRight = $var21_0; $this.$colorRedBottomRight = $var21_0; $this.$colorRedBottomLeft = $var21_0; $this.$colorRedTopLeft = $var21_0; $var21_0 = $par6 * 0.5; $this.$colorGreenTopRight = $var21_0; $this.$colorGreenBottomRight = $var21_0; $this.$colorGreenBottomLeft = $var21_0; $this.$colorGreenTopLeft = $var21_0; $var21_0 = $par7 * 0.5; $this.$colorBlueTopRight = $var21_0; $this.$colorBlueBottomRight = $var21_0; $this.$colorBlueBottomLeft = $var21_0; $this.$colorBlueTopLeft = $var21_0; } $this.$colorRedTopLeft = $this.$colorRedTopLeft * $var25; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $var25; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $var25; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $var22; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $var22; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $var22; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $var24; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $var24; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $var24; $this.$colorRedTopRight = $this.$colorRedTopRight * $var23; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $var23; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $var23; var$28 = $par2; var$29 = $par3; var$30 = $par4; $var30 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 0); if ($var30 === null) { if (jl_System_outCache === null) { $var15 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var15.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var15.$sb = var$13; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var15; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var30 === null) c: { d: { $var30 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break d; default: break d; } $var30 = $var30.$textureMapBlocks.$missingImage; break c; } $var30 = $var30.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYNeg($this, $par1Block, var$28, var$29, var$30, $var30); $var8 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3 + 1 | 0, $par4, 1))) { if ($this.$renderMaxY >= 1.0) $par3 = $par3 + 1 | 0; $var30 = $this.$blockAccess; $var8 = $par2 - 1 | 0; $this.$aoBrightnessXYNP = $par1Block.$getMixedBrightnessForBlock($var30, $var8, $par3, $par4); $var30 = $this.$blockAccess; $var26 = $par2 + 1 | 0; $this.$aoBrightnessXYPP = $par1Block.$getMixedBrightnessForBlock($var30, $var26, $par3, $par4); $var30 = $this.$blockAccess; $var19 = $par4 - 1 | 0; $this.$aoBrightnessYZPN = $par1Block.$getMixedBrightnessForBlock($var30, $par2, $par3, $var19); $var30 = $this.$blockAccess; $var16 = $par4 + 1 | 0; $this.$aoBrightnessYZPP = $par1Block.$getMixedBrightnessForBlock($var30, $par2, $par3, $var16); $this.$aoLightValueScratchXYNP = !$this.$blockAccess.$isBlockNormalCube($var8, $par3, $par4) ? 1.0 : 0.20000000298023224; $this.$aoLightValueScratchXYPP = !$this.$blockAccess.$isBlockNormalCube($var26, $par3, $par4) ? 1.0 : 0.20000000298023224; $this.$aoLightValueScratchYZPN = !$this.$blockAccess.$isBlockNormalCube($par2, $par3, $var19) ? 1.0 : 0.20000000298023224; $this.$aoLightValueScratchYZPP = !$this.$blockAccess.$isBlockNormalCube($par2, $par3, $var16) ? 1.0 : 0.20000000298023224; var$17 = nms_Block_canBlockGrass.data; $var30 = $this.$blockAccess; $var17 = $par3 + 1 | 0; $var16_0 = var$17[$var30.$getBlockId($var26, $var17, $par4)]; $var17_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var8, $var17, $par4)]; $var18 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var17, $var16)]; $var19_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var17, $var19)]; if (!$var19_0 && !$var17_0) { $this.$aoLightValueScratchXYZNPN = $this.$aoLightValueScratchXYNP; $this.$aoBrightnessXYZNPN = $this.$aoBrightnessXYNP; } else { $this.$aoLightValueScratchXYZNPN = !$this.$blockAccess.$isBlockNormalCube($var8, $par3, $var19) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var8, $par3, $var19); } if (!$var19_0 && !$var16_0) { $this.$aoLightValueScratchXYZPPN = $this.$aoLightValueScratchXYPP; $this.$aoBrightnessXYZPPN = $this.$aoBrightnessXYPP; } else { $this.$aoLightValueScratchXYZPPN = !$this.$blockAccess.$isBlockNormalCube($var26, $par3, $var19) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var26, $par3, $var19); } if (!$var18 && !$var17_0) { $this.$aoLightValueScratchXYZNPP = $this.$aoLightValueScratchXYNP; $this.$aoBrightnessXYZNPP = $this.$aoBrightnessXYNP; } else { $this.$aoLightValueScratchXYZNPP = !$this.$blockAccess.$isBlockNormalCube($var8, $par3, $var16) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZNPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var8, $par3, $var16); } if (!$var18 && !$var16_0) { $this.$aoLightValueScratchXYZPPP = $this.$aoLightValueScratchXYPP; $this.$aoBrightnessXYZPPP = $this.$aoBrightnessXYPP; } else { $this.$aoLightValueScratchXYZPPP = !$this.$blockAccess.$isBlockNormalCube($var26, $par3, $var16) ? 1.0 : 0.20000000298023224; $this.$aoBrightnessXYZPPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var26, $par3, $var16); } $var8 = $rt_compare($this.$renderMaxY, 1.0); if ($var8 >= 0) $par3 = $par3 + (-1) | 0; $var8 = $var8 < 0 && $this.$blockAccess.$isBlockOpaqueCube($par2, $par3 + 1 | 0, $par4) ? $var14 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3 + 1 | 0, $par4); $var21 = !$this.$blockAccess.$isBlockNormalCube($par2, $par3 + 1 | 0, $par4) ? 1.0 : 0.20000000298023224; $var25 = $this.$aoLightValueScratchXYZNPP; $var22 = $this.$aoLightValueScratchXYNP; $var25 = $var25 + $var22; $var23 = $this.$aoLightValueScratchYZPP; $var25 = ($var25 + $var23 + $var21) / 4.0; $var23 = $var23 + $var21 + $this.$aoLightValueScratchXYZPPP; $var24 = $this.$aoLightValueScratchXYPP; $var23 = ($var23 + $var24) / 4.0; $var21_0 = $this.$aoLightValueScratchYZPN; $var24 = ($var21 + $var21_0 + $var24 + $this.$aoLightValueScratchXYZPPN) / 4.0; $var22 = ($var22 + $this.$aoLightValueScratchXYZNPN + $var21 + $var21_0) / 4.0; $this.$brightnessTopRight = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXYZNPP, $this.$aoBrightnessXYNP, $this.$aoBrightnessYZPP, $var8); $this.$brightnessTopLeft = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessYZPP, $this.$aoBrightnessXYZPPP, $this.$aoBrightnessXYPP, $var8); $this.$brightnessBottomLeft = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessYZPN, $this.$aoBrightnessXYPP, $this.$aoBrightnessXYZPPN, $var8); $this.$brightnessBottomRight = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXYNP, $this.$aoBrightnessXYZNPN, $this.$aoBrightnessYZPN, $var8); $this.$colorRedTopRight = $par5; $this.$colorRedBottomRight = $par5; $this.$colorRedBottomLeft = $par5; $this.$colorRedTopLeft = $par5; $this.$colorGreenTopRight = $par6; $this.$colorGreenBottomRight = $par6; $this.$colorGreenBottomLeft = $par6; $this.$colorGreenTopLeft = $par6; $this.$colorBlueTopRight = $par7; $this.$colorBlueBottomRight = $par7; $this.$colorBlueBottomLeft = $par7; $this.$colorBlueTopLeft = $par7; $this.$colorRedTopLeft = $par5 * $var23; $this.$colorGreenTopLeft = $par6 * $var23; $this.$colorBlueTopLeft = $par7 * $var23; $this.$colorRedBottomLeft = $par5 * $var24; $this.$colorGreenBottomLeft = $par6 * $var24; $this.$colorBlueBottomLeft = $par7 * $var24; $this.$colorRedBottomRight = $par5 * $var22; $this.$colorGreenBottomRight = $par6 * $var22; $this.$colorBlueBottomRight = $par7 * $var22; $this.$colorRedTopRight = $par5 * $var25; $this.$colorGreenTopRight = $par6 * $var25; $this.$colorBlueTopRight = $par7 * $var25; nms_RenderBlocks_renderFaceYPos($this, $par1Block, $par2, $par3, $par4, nms_RenderBlocks_getBlockIcon($this, $par1Block, $this.$blockAccess, $par2, $par3, $par4, 1)); $var8 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3, $par4 - 1 | 0, 2))) { if ($this.$renderMinZ <= 0.0) $par4 = $par4 + (-1) | 0; $var30 = $this.$blockAccess; $var8 = $par2 - 1 | 0; $this.$aoLightValueScratchXZNN = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $var8, $par3, $par4); $var30 = $this.$blockAccess; $var26 = $par3 - 1 | 0; $this.$aoLightValueScratchYZNN = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $par2, $var26, $par4); $var30 = $this.$blockAccess; $var19 = $par3 + 1 | 0; $this.$aoLightValueScratchYZPN = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $par2, $var19, $par4); $var30 = $this.$blockAccess; $var16 = $par2 + 1 | 0; $this.$aoLightValueScratchXZPN = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $var16, $par3, $par4); $this.$aoBrightnessXZNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var8, $par3, $par4); $this.$aoBrightnessYZNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var26, $par4); $this.$aoBrightnessYZPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var19, $par4); $this.$aoBrightnessXZPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var16, $par3, $par4); var$17 = nms_Block_canBlockGrass.data; $var30 = $this.$blockAccess; $var17 = $par4 - 1 | 0; $var16_0 = var$17[$var30.$getBlockId($var16, $par3, $var17)]; $var17_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var8, $par3, $var17)]; $var18 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var19, $var17)]; $var19_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var26, $var17)]; if (!$var17_0 && !$var19_0) { $this.$aoLightValueScratchXYZNNN = $this.$aoLightValueScratchXZNN; $this.$aoBrightnessXYZNNN = $this.$aoBrightnessXZNN; } else { $this.$aoLightValueScratchXYZNNN = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $var8, $var26, $par4); $this.$aoBrightnessXYZNNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var8, $var26, $par4); } if (!$var17_0 && !$var18) { $this.$aoLightValueScratchXYZNPN = $this.$aoLightValueScratchXZNN; $this.$aoBrightnessXYZNPN = $this.$aoBrightnessXZNN; } else { $this.$aoLightValueScratchXYZNPN = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $var8, $var19, $par4); $this.$aoBrightnessXYZNPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var8, $var19, $par4); } if (!$var16_0 && !$var19_0) { $this.$aoLightValueScratchXYZPNN = $this.$aoLightValueScratchXZPN; $this.$aoBrightnessXYZPNN = $this.$aoBrightnessXZPN; } else { $this.$aoLightValueScratchXYZPNN = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $var16, $var26, $par4); $this.$aoBrightnessXYZPNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var16, $var26, $par4); } if (!$var16_0 && !$var18) { $this.$aoLightValueScratchXYZPPN = $this.$aoLightValueScratchXZPN; $this.$aoBrightnessXYZPPN = $this.$aoBrightnessXZPN; } else { $this.$aoLightValueScratchXYZPPN = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $var16, $var19, $par4); $this.$aoBrightnessXYZPPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var16, $var19, $par4); } $var26 = $rt_compare($this.$renderMinZ, 0.0); if ($var26 <= 0) $par4 = $par4 + 1 | 0; $var17 = $var26 > 0 && $this.$blockAccess.$isBlockOpaqueCube($par2, $par3, $par4 - 1 | 0) ? $var14 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4 - 1 | 0); $var21 = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $par2, $par3, $par4 - 1 | 0); $var25 = $this.$aoLightValueScratchXZNN; $var22 = $var25 + $this.$aoLightValueScratchXYZNPN + $var21; $var23 = $this.$aoLightValueScratchYZPN; $var22 = ($var22 + $var23) / 4.0; $var23 = $var21 + $var23; $var24 = $this.$aoLightValueScratchXZPN; $var23 = ($var23 + $var24 + $this.$aoLightValueScratchXYZPPN) / 4.0; $var21_0 = $this.$aoLightValueScratchYZNN; $var24 = ($var21_0 + $var21 + $this.$aoLightValueScratchXYZPNN + $var24) / 4.0; $var25 = ($this.$aoLightValueScratchXYZNNN + $var25 + $var21_0 + $var21) / 4.0; var$28 = $var22; var$29 = $this.$renderMaxY; var$30 = var$28 * var$29; var$34 = $this.$renderMinX; var$35 = 1.0 - var$34; var$36 = var$30 * var$35; var$37 = $var23; var$38 = $this.$renderMinY; var$39 = var$37 * var$38; var$40 = var$39 * var$34; var$36 = var$36 + var$40; var$41 = $var24; var$42 = 1.0 - var$29; var$43 = var$41 * var$42; var$36 = var$36 + var$43 * var$34; var$44 = $var25; var$42 = var$44 * var$42; $var25 = var$36 + var$42 * var$35; var$45 = $this.$renderMaxX; var$36 = 1.0 - var$45; $var22 = var$30 * var$36 + var$37 * var$29 * var$45 + var$43 * var$45 + var$42 * var$36; var$28 = var$28 * var$38; var$29 = var$28 * var$36 + var$39 * var$45; var$30 = 1.0 - var$38; var$37 = var$41 * var$30; var$29 = var$29 + var$37 * var$45; var$30 = var$44 * var$30; $var23 = var$29 + var$30 * var$36; $var24 = var$28 * var$35 + var$40 + var$37 * var$34 + var$30 * var$35; $var26 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXZNN, $this.$aoBrightnessXYZNPN, $this.$aoBrightnessYZPN, $var17); $var27 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessYZPN, $this.$aoBrightnessXZPN, $this.$aoBrightnessXYZPPN, $var17); $var28 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessYZNN, $this.$aoBrightnessXYZPNN, $this.$aoBrightnessXZPN, $var17); $var29 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXYZNNN, $this.$aoBrightnessXZNN, $this.$aoBrightnessYZNN, $var17); var$28 = $this.$renderMaxY; var$30 = $this.$renderMinX; var$29 = 1.0 - var$30; var$35 = var$28 * var$29; var$34 = var$28 * var$30; var$28 = 1.0 - var$28; $this.$brightnessTopLeft = nms_RenderBlocks_mixAoBrightness($this, $var26, $var27, $var28, $var29, var$35, var$34, var$28 * var$30, var$28 * var$29); var$28 = $this.$renderMaxY; var$30 = $this.$renderMaxX; var$29 = 1.0 - var$30; var$35 = var$28 * var$29; var$34 = var$28 * var$30; var$28 = 1.0 - var$28; $this.$brightnessBottomLeft = nms_RenderBlocks_mixAoBrightness($this, $var26, $var27, $var28, $var29, var$35, var$34, var$28 * var$30, var$28 * var$29); var$28 = $this.$renderMinY; var$30 = $this.$renderMaxX; var$29 = 1.0 - var$30; var$35 = var$28 * var$29; var$34 = var$28 * var$30; var$28 = 1.0 - var$28; $this.$brightnessBottomRight = nms_RenderBlocks_mixAoBrightness($this, $var26, $var27, $var28, $var29, var$35, var$34, var$28 * var$30, var$28 * var$29); var$28 = $this.$renderMinY; var$30 = $this.$renderMinX; var$29 = 1.0 - var$30; var$35 = var$28 * var$29; var$34 = var$28 * var$30; var$28 = 1.0 - var$28; $this.$brightnessTopRight = nms_RenderBlocks_mixAoBrightness($this, $var26, $var27, $var28, $var29, var$35, var$34, var$28 * var$30, var$28 * var$29); if (!$var13) { $this.$colorRedTopRight = 0.800000011920929; $this.$colorRedBottomRight = 0.800000011920929; $this.$colorRedBottomLeft = 0.800000011920929; $this.$colorRedTopLeft = 0.800000011920929; $this.$colorGreenTopRight = 0.800000011920929; $this.$colorGreenBottomRight = 0.800000011920929; $this.$colorGreenBottomLeft = 0.800000011920929; $this.$colorGreenTopLeft = 0.800000011920929; $this.$colorBlueTopRight = 0.800000011920929; $this.$colorBlueBottomRight = 0.800000011920929; $this.$colorBlueBottomLeft = 0.800000011920929; $this.$colorBlueTopLeft = 0.800000011920929; } else { $var21_0 = $par5 * 0.800000011920929; $this.$colorRedTopRight = $var21_0; $this.$colorRedBottomRight = $var21_0; $this.$colorRedBottomLeft = $var21_0; $this.$colorRedTopLeft = $var21_0; $var21_0 = $par6 * 0.800000011920929; $this.$colorGreenTopRight = $var21_0; $this.$colorGreenBottomRight = $var21_0; $this.$colorGreenBottomLeft = $var21_0; $this.$colorGreenTopLeft = $var21_0; $var21_0 = $par7 * 0.800000011920929; $this.$colorBlueTopRight = $var21_0; $this.$colorBlueBottomRight = $var21_0; $this.$colorBlueBottomLeft = $var21_0; $this.$colorBlueTopLeft = $var21_0; } $this.$colorRedTopLeft = $this.$colorRedTopLeft * $var25; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $var25; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $var25; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $var22; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $var22; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $var22; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $var23; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $var23; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $var23; $this.$colorRedTopRight = $this.$colorRedTopRight * $var24; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $var24; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $var24; $var30 = nms_RenderBlocks_getBlockIcon($this, $par1Block, $this.$blockAccess, $par2, $par3, $par4, 2); var$28 = $par2; var$29 = $par3; var$30 = $par4; nms_RenderBlocks_renderFaceZNeg($this, $par1Block, var$28, var$29, var$30, $var30); if (nms_RenderBlocks_fancyGrass && jl_String_equals($var30.$getIconName(), $rt_s(1163)) && !nms_RenderBlocks_hasOverrideBlockTexture($this)) { $this.$colorRedTopLeft = $this.$colorRedTopLeft * $par5; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $par5; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $par5; $this.$colorRedTopRight = $this.$colorRedTopRight * $par5; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $par6; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $par6; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $par6; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $par6; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $par7; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $par7; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $par7; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $par7; nms_RenderBlocks_renderFaceZNeg($this, $par1Block, var$28, var$29, var$30, nms_BlockGrass_getIconSideOverlay()); } $var8 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3, $par4 + 1 | 0, 3))) { if ($this.$renderMaxZ >= 1.0) $par4 = $par4 + 1 | 0; $var30 = $this.$blockAccess; $var8 = $par2 - 1 | 0; $this.$aoLightValueScratchXZNP = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $var8, $par3, $par4); $var30 = $this.$blockAccess; $var26 = $par2 + 1 | 0; $this.$aoLightValueScratchXZPP = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $var26, $par3, $par4); $var30 = $this.$blockAccess; $var19 = $par3 - 1 | 0; $this.$aoLightValueScratchYZNP = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $par2, $var19, $par4); $var30 = $this.$blockAccess; $var16 = $par3 + 1 | 0; $this.$aoLightValueScratchYZPP = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $par2, $var16, $par4); $this.$aoBrightnessXZNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var8, $par3, $par4); $this.$aoBrightnessXZPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var26, $par3, $par4); $this.$aoBrightnessYZNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var19, $par4); $this.$aoBrightnessYZPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var16, $par4); var$17 = nms_Block_canBlockGrass.data; $var30 = $this.$blockAccess; $var17 = $par4 + 1 | 0; $var16_0 = var$17[$var30.$getBlockId($var26, $par3, $var17)]; $var17_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var8, $par3, $var17)]; $var18 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var16, $var17)]; $var19_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($par2, $var19, $var17)]; if (!$var17_0 && !$var19_0) { $this.$aoLightValueScratchXYZNNP = $this.$aoLightValueScratchXZNP; $this.$aoBrightnessXYZNNP = $this.$aoBrightnessXZNP; } else { $this.$aoLightValueScratchXYZNNP = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $var8, $var19, $par4); $this.$aoBrightnessXYZNNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var8, $var19, $par4); } if (!$var17_0 && !$var18) { $this.$aoLightValueScratchXYZNPP = $this.$aoLightValueScratchXZNP; $this.$aoBrightnessXYZNPP = $this.$aoBrightnessXZNP; } else { $this.$aoLightValueScratchXYZNPP = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $var8, $var16, $par4); $this.$aoBrightnessXYZNPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var8, $var16, $par4); } if (!$var16_0 && !$var19_0) { $this.$aoLightValueScratchXYZPNP = $this.$aoLightValueScratchXZPP; $this.$aoBrightnessXYZPNP = $this.$aoBrightnessXZPP; } else { $this.$aoLightValueScratchXYZPNP = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $var26, $var19, $par4); $this.$aoBrightnessXYZPNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var26, $var19, $par4); } if (!$var16_0 && !$var18) { $this.$aoLightValueScratchXYZPPP = $this.$aoLightValueScratchXZPP; $this.$aoBrightnessXYZPPP = $this.$aoBrightnessXZPP; } else { $this.$aoLightValueScratchXYZPPP = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $var26, $var16, $par4); $this.$aoBrightnessXYZPPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $var26, $var16, $par4); } $var8 = $rt_compare($this.$renderMaxZ, 1.0); if ($var8 >= 0) $par4 = $par4 + (-1) | 0; $var8 = $var8 < 0 && $this.$blockAccess.$isBlockOpaqueCube($par2, $par3, $par4 + 1 | 0) ? $var14 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4 + 1 | 0); $var21_0 = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $par2, $par3, $par4 + 1 | 0); $var25 = $this.$aoLightValueScratchXZNP; $var22 = $var25 + $this.$aoLightValueScratchXYZNPP + $var21_0; $var23 = $this.$aoLightValueScratchYZPP; $var22 = ($var22 + $var23) / 4.0; $var23 = $var21_0 + $var23; $var24 = $this.$aoLightValueScratchXZPP; $var23 = ($var23 + $var24 + $this.$aoLightValueScratchXYZPPP) / 4.0; $var23_0 = $this.$aoLightValueScratchYZNP; $var24 = ($var23_0 + $var21_0 + $this.$aoLightValueScratchXYZPNP + $var24) / 4.0; $var25 = ($this.$aoLightValueScratchXYZNNP + $var25 + $var23_0 + $var21_0) / 4.0; var$28 = $var22; var$29 = $this.$renderMaxY; var$30 = var$28 * var$29; var$34 = $this.$renderMinX; var$35 = 1.0 - var$34; var$36 = var$30 * var$35; var$37 = $var23; var$38 = var$37 * var$29; var$36 = var$36 + var$38 * var$34; var$39 = $var24; var$29 = 1.0 - var$29; var$40 = var$39 * var$29; var$36 = var$36 + var$40 * var$34; var$41 = $var25; var$29 = var$41 * var$29; $var25 = var$36 + var$29 * var$35; var$42 = $this.$renderMinY; var$28 = var$28 * var$42; var$43 = var$28 * var$35; var$36 = var$37 * var$42; var$43 = var$43 + var$36 * var$34; var$42 = 1.0 - var$42; var$37 = var$39 * var$42; var$39 = var$43 + var$37 * var$34; var$34 = var$41 * var$42; $var24 = var$39 + var$34 * var$35; var$39 = $this.$renderMaxX; var$35 = 1.0 - var$39; $var21_0 = var$28 * var$35 + var$36 * var$39 + var$37 * var$39 + var$34 * var$35; $var22 = var$30 * var$35 + var$38 * var$39 + var$40 * var$39 + var$29 * var$35; $var26 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXZNP, $this.$aoBrightnessXYZNPP, $this.$aoBrightnessYZPP, $var8); $var27 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessYZPP, $this.$aoBrightnessXZPP, $this.$aoBrightnessXYZPPP, $var8); $var28 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessYZNP, $this.$aoBrightnessXYZPNP, $this.$aoBrightnessXZPP, $var8); $var29 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXYZNNP, $this.$aoBrightnessXZNP, $this.$aoBrightnessYZNP, $var8); var$28 = $this.$renderMaxY; var$30 = $this.$renderMinX; var$29 = 1.0 - var$30; var$35 = var$28 * var$29; var$34 = 1.0 - var$28; $this.$brightnessTopLeft = nms_RenderBlocks_mixAoBrightness($this, $var26, $var29, $var28, $var27, var$35, var$34 * var$29, var$34 * var$30, var$28 * var$30); var$28 = $this.$renderMinY; var$30 = $this.$renderMinX; var$29 = 1.0 - var$30; var$35 = var$28 * var$29; var$34 = 1.0 - var$28; $this.$brightnessBottomLeft = nms_RenderBlocks_mixAoBrightness($this, $var26, $var29, $var28, $var27, var$35, var$34 * var$29, var$34 * var$30, var$28 * var$30); var$28 = $this.$renderMinY; var$30 = $this.$renderMaxX; var$29 = 1.0 - var$30; var$35 = var$28 * var$29; var$34 = 1.0 - var$28; $this.$brightnessBottomRight = nms_RenderBlocks_mixAoBrightness($this, $var26, $var29, $var28, $var27, var$35, var$34 * var$29, var$34 * var$30, var$28 * var$30); var$28 = $this.$renderMaxY; var$30 = $this.$renderMaxX; var$29 = 1.0 - var$30; var$35 = var$28 * var$29; var$34 = 1.0 - var$28; $this.$brightnessTopRight = nms_RenderBlocks_mixAoBrightness($this, $var26, $var29, $var28, $var27, var$35, var$34 * var$29, var$34 * var$30, var$28 * var$30); if (!$var13) { $this.$colorRedTopRight = 0.800000011920929; $this.$colorRedBottomRight = 0.800000011920929; $this.$colorRedBottomLeft = 0.800000011920929; $this.$colorRedTopLeft = 0.800000011920929; $this.$colorGreenTopRight = 0.800000011920929; $this.$colorGreenBottomRight = 0.800000011920929; $this.$colorGreenBottomLeft = 0.800000011920929; $this.$colorGreenTopLeft = 0.800000011920929; $this.$colorBlueTopRight = 0.800000011920929; $this.$colorBlueBottomRight = 0.800000011920929; $this.$colorBlueBottomLeft = 0.800000011920929; $this.$colorBlueTopLeft = 0.800000011920929; } else { $var23 = $par5 * 0.800000011920929; $this.$colorRedTopRight = $var23; $this.$colorRedBottomRight = $var23; $this.$colorRedBottomLeft = $var23; $this.$colorRedTopLeft = $var23; $var23 = $par6 * 0.800000011920929; $this.$colorGreenTopRight = $var23; $this.$colorGreenBottomRight = $var23; $this.$colorGreenBottomLeft = $var23; $this.$colorGreenTopLeft = $var23; $var23 = $par7 * 0.800000011920929; $this.$colorBlueTopRight = $var23; $this.$colorBlueBottomRight = $var23; $this.$colorBlueBottomLeft = $var23; $this.$colorBlueTopLeft = $var23; } $this.$colorRedTopLeft = $this.$colorRedTopLeft * $var25; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $var25; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $var25; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $var24; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $var24; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $var24; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $var21_0; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $var21_0; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $var21_0; $this.$colorRedTopRight = $this.$colorRedTopRight * $var22; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $var22; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $var22; $var30 = nms_RenderBlocks_getBlockIcon($this, $par1Block, $this.$blockAccess, $par2, $par3, $par4, 3); var$28 = $par2; var$29 = $par3; var$30 = $par4; nms_RenderBlocks_renderFaceZPos($this, $par1Block, var$28, var$29, var$30, nms_RenderBlocks_getBlockIcon($this, $par1Block, $this.$blockAccess, $par2, $par3, $par4, 3)); if (nms_RenderBlocks_fancyGrass && jl_String_equals($var30.$getIconName(), $rt_s(1163)) && !nms_RenderBlocks_hasOverrideBlockTexture($this)) { $this.$colorRedTopLeft = $this.$colorRedTopLeft * $par5; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $par5; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $par5; $this.$colorRedTopRight = $this.$colorRedTopRight * $par5; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $par6; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $par6; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $par6; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $par6; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $par7; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $par7; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $par7; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $par7; nms_RenderBlocks_renderFaceZPos($this, $par1Block, var$28, var$29, var$30, nms_BlockGrass_getIconSideOverlay()); } $var8 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2 - 1 | 0, $par3, $par4, 4))) { if ($this.$renderMinX <= 0.0) $par2 = $par2 + (-1) | 0; $var30 = $this.$blockAccess; $var8 = $par3 - 1 | 0; $this.$aoLightValueScratchXYNN = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $par2, $var8, $par4); $var30 = $this.$blockAccess; $var26 = $par4 - 1 | 0; $this.$aoLightValueScratchXZNN = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $par2, $par3, $var26); $var30 = $this.$blockAccess; $var19 = $par4 + 1 | 0; $this.$aoLightValueScratchXZNP = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $par2, $par3, $var19); $var30 = $this.$blockAccess; $var16 = $par3 + 1 | 0; $this.$aoLightValueScratchXYNP = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $par2, $var16, $par4); $this.$aoBrightnessXYNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var8, $par4); $this.$aoBrightnessXZNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $var26); $this.$aoBrightnessXZNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $var19); $this.$aoBrightnessXYNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var16, $par4); var$17 = nms_Block_canBlockGrass.data; $var30 = $this.$blockAccess; $var17 = $par2 - 1 | 0; $var16_0 = var$17[$var30.$getBlockId($var17, $var16, $par4)]; $var17_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var17, $var8, $par4)]; $var18 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var17, $par3, $var26)]; $var19_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var17, $par3, $var19)]; if (!$var18 && !$var17_0) { $this.$aoLightValueScratchXYZNNN = $this.$aoLightValueScratchXZNN; $this.$aoBrightnessXYZNNN = $this.$aoBrightnessXZNN; } else { $this.$aoLightValueScratchXYZNNN = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $par2, $var8, $var26); $this.$aoBrightnessXYZNNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var8, $var26); } if (!$var19_0 && !$var17_0) { $this.$aoLightValueScratchXYZNNP = $this.$aoLightValueScratchXZNP; $this.$aoBrightnessXYZNNP = $this.$aoBrightnessXZNP; } else { $this.$aoLightValueScratchXYZNNP = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $par2, $var8, $var19); $this.$aoBrightnessXYZNNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var8, $var19); } if (!$var18 && !$var16_0) { $this.$aoLightValueScratchXYZNPN = $this.$aoLightValueScratchXZNN; $this.$aoBrightnessXYZNPN = $this.$aoBrightnessXZNN; } else { $this.$aoLightValueScratchXYZNPN = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $par2, $var16, $var26); $this.$aoBrightnessXYZNPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var16, $var26); } if (!$var19_0 && !$var16_0) { $this.$aoLightValueScratchXYZNPP = $this.$aoLightValueScratchXZNP; $this.$aoBrightnessXYZNPP = $this.$aoBrightnessXZNP; } else { $this.$aoLightValueScratchXYZNPP = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $par2, $var16, $var19); $this.$aoBrightnessXYZNPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var16, $var19); } $var8 = $rt_compare($this.$renderMinX, 0.0); if ($var8 <= 0) $par2 = $par2 + 1 | 0; $var8 = $var8 > 0 && $this.$blockAccess.$isBlockOpaqueCube($par2 - 1 | 0, $par3, $par4) ? $var14 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2 - 1 | 0, $par3, $par4); $var21_0 = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $par2 - 1 | 0, $par3, $par4); $var25 = $this.$aoLightValueScratchXYNN; $var22 = $var25 + $this.$aoLightValueScratchXYZNNP + $var21_0; $var23 = $this.$aoLightValueScratchXZNP; $var22 = ($var22 + $var23) / 4.0; $var23 = $var21_0 + $var23; $var24 = $this.$aoLightValueScratchXYNP; $var23 = ($var23 + $var24 + $this.$aoLightValueScratchXYZNPP) / 4.0; $var23_0 = $this.$aoLightValueScratchXZNN; $var24 = ($var23_0 + $var21_0 + $this.$aoLightValueScratchXYZNPN + $var24) / 4.0; $var25 = ($this.$aoLightValueScratchXYZNNN + $var25 + $var23_0 + $var21_0) / 4.0; var$28 = $var23; var$29 = $this.$renderMaxY; var$30 = var$28 * var$29; var$35 = $this.$renderMaxZ; var$34 = var$30 * var$35; var$36 = $var24; var$37 = var$36 * var$29; var$38 = 1.0 - var$35; var$34 = var$34 + var$37 * var$38; var$39 = $var25; var$29 = 1.0 - var$29; var$40 = var$39 * var$29; var$34 = var$34 + var$40 * var$38; var$41 = $var22; var$29 = var$41 * var$29; $var25 = var$34 + var$29 * var$35; var$34 = $this.$renderMinZ; var$30 = var$30 * var$34; var$42 = 1.0 - var$34; $var22 = var$30 + var$37 * var$42 + var$40 * var$42 + var$29 * var$34; var$29 = $this.$renderMinY; var$28 = var$28 * var$29; var$30 = var$28 * var$34; var$36 = var$36 * var$29; var$30 = var$30 + var$36 * var$42; var$29 = 1.0 - var$29; var$37 = var$39 * var$29; var$30 = var$30 + var$37 * var$42; var$29 = var$41 * var$29; $var23 = var$30 + var$29 * var$34; $var24 = var$28 * var$35 + var$36 * var$38 + var$37 * var$38 + var$29 * var$35; $var26 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXYNN, $this.$aoBrightnessXYZNNP, $this.$aoBrightnessXZNP, $var8); $var27 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXZNP, $this.$aoBrightnessXYNP, $this.$aoBrightnessXYZNPP, $var8); $var28 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXZNN, $this.$aoBrightnessXYZNPN, $this.$aoBrightnessXYNP, $var8); $var29 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXYZNNN, $this.$aoBrightnessXYNN, $this.$aoBrightnessXZNN, $var8); var$28 = $this.$renderMaxY; var$29 = $this.$renderMaxZ; var$30 = var$28 * var$29; var$35 = 1.0 - var$29; var$34 = var$28 * var$35; var$28 = 1.0 - var$28; $this.$brightnessTopLeft = nms_RenderBlocks_mixAoBrightness($this, $var27, $var28, $var29, $var26, var$30, var$34, var$28 * var$35, var$28 * var$29); var$28 = $this.$renderMaxY; var$29 = $this.$renderMinZ; var$30 = var$28 * var$29; var$35 = 1.0 - var$29; var$34 = var$28 * var$35; var$28 = 1.0 - var$28; $this.$brightnessBottomLeft = nms_RenderBlocks_mixAoBrightness($this, $var27, $var28, $var29, $var26, var$30, var$34, var$28 * var$35, var$28 * var$29); var$28 = $this.$renderMinY; var$29 = $this.$renderMinZ; var$30 = var$28 * var$29; var$35 = 1.0 - var$29; var$34 = var$28 * var$35; var$28 = 1.0 - var$28; $this.$brightnessBottomRight = nms_RenderBlocks_mixAoBrightness($this, $var27, $var28, $var29, $var26, var$30, var$34, var$28 * var$35, var$28 * var$29); var$28 = $this.$renderMinY; var$29 = $this.$renderMaxZ; var$30 = var$28 * var$29; var$35 = 1.0 - var$29; var$34 = var$28 * var$35; var$28 = 1.0 - var$28; $this.$brightnessTopRight = nms_RenderBlocks_mixAoBrightness($this, $var27, $var28, $var29, $var26, var$30, var$34, var$28 * var$35, var$28 * var$29); if (!$var13) { $this.$colorRedTopRight = 0.6000000238418579; $this.$colorRedBottomRight = 0.6000000238418579; $this.$colorRedBottomLeft = 0.6000000238418579; $this.$colorRedTopLeft = 0.6000000238418579; $this.$colorGreenTopRight = 0.6000000238418579; $this.$colorGreenBottomRight = 0.6000000238418579; $this.$colorGreenBottomLeft = 0.6000000238418579; $this.$colorGreenTopLeft = 0.6000000238418579; $this.$colorBlueTopRight = 0.6000000238418579; $this.$colorBlueBottomRight = 0.6000000238418579; $this.$colorBlueBottomLeft = 0.6000000238418579; $this.$colorBlueTopLeft = 0.6000000238418579; } else { $var21_0 = $par5 * 0.6000000238418579; $this.$colorRedTopRight = $var21_0; $this.$colorRedBottomRight = $var21_0; $this.$colorRedBottomLeft = $var21_0; $this.$colorRedTopLeft = $var21_0; $var21_0 = $par6 * 0.6000000238418579; $this.$colorGreenTopRight = $var21_0; $this.$colorGreenBottomRight = $var21_0; $this.$colorGreenBottomLeft = $var21_0; $this.$colorGreenTopLeft = $var21_0; $var21_0 = $par7 * 0.6000000238418579; $this.$colorBlueTopRight = $var21_0; $this.$colorBlueBottomRight = $var21_0; $this.$colorBlueBottomLeft = $var21_0; $this.$colorBlueTopLeft = $var21_0; } $this.$colorRedTopLeft = $this.$colorRedTopLeft * $var25; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $var25; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $var25; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $var22; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $var22; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $var22; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $var23; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $var23; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $var23; $this.$colorRedTopRight = $this.$colorRedTopRight * $var24; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $var24; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $var24; $var30 = nms_RenderBlocks_getBlockIcon($this, $par1Block, $this.$blockAccess, $par2, $par3, $par4, 4); var$28 = $par2; var$29 = $par3; var$30 = $par4; nms_RenderBlocks_renderFaceXNeg($this, $par1Block, var$28, var$29, var$30, $var30); if (nms_RenderBlocks_fancyGrass && jl_String_equals($var30.$getIconName(), $rt_s(1163)) && !nms_RenderBlocks_hasOverrideBlockTexture($this)) { $this.$colorRedTopLeft = $this.$colorRedTopLeft * $par5; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $par5; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $par5; $this.$colorRedTopRight = $this.$colorRedTopRight * $par5; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $par6; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $par6; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $par6; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $par6; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $par7; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $par7; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $par7; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $par7; nms_RenderBlocks_renderFaceXNeg($this, $par1Block, var$28, var$29, var$30, nms_BlockGrass_getIconSideOverlay()); } $var8 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2 + 1 | 0, $par3, $par4, 5))) { if ($this.$renderMaxX >= 1.0) $par2 = $par2 + 1 | 0; $var30 = $this.$blockAccess; $var8 = $par3 - 1 | 0; $this.$aoLightValueScratchXYPN = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $par2, $var8, $par4); $var30 = $this.$blockAccess; $var26 = $par4 - 1 | 0; $this.$aoLightValueScratchXZPN = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $par2, $par3, $var26); $var30 = $this.$blockAccess; $var19 = $par4 + 1 | 0; $this.$aoLightValueScratchXZPP = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $par2, $par3, $var19); $var30 = $this.$blockAccess; $var16 = $par3 + 1 | 0; $this.$aoLightValueScratchXYPP = nms_Block_getAmbientOcclusionLightValue($par1Block, $var30, $par2, $var16, $par4); $this.$aoBrightnessXYPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var8, $par4); $this.$aoBrightnessXZPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $var26); $this.$aoBrightnessXZPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $var19); $this.$aoBrightnessXYPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var16, $par4); var$17 = nms_Block_canBlockGrass.data; $var30 = $this.$blockAccess; $var17 = $par2 + 1 | 0; $var16_0 = var$17[$var30.$getBlockId($var17, $var16, $par4)]; $var17_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var17, $var8, $par4)]; $var18 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var17, $par3, $var19)]; $var19_0 = nms_Block_canBlockGrass.data[$this.$blockAccess.$getBlockId($var17, $par3, $var26)]; if (!$var17_0 && !$var19_0) { $this.$aoLightValueScratchXYZPNN = $this.$aoLightValueScratchXZPN; $this.$aoBrightnessXYZPNN = $this.$aoBrightnessXZPN; } else { $this.$aoLightValueScratchXYZPNN = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $par2, $var8, $var26); $this.$aoBrightnessXYZPNN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var8, $var26); } if (!$var17_0 && !$var18) { $this.$aoLightValueScratchXYZPNP = $this.$aoLightValueScratchXZPP; $this.$aoBrightnessXYZPNP = $this.$aoBrightnessXZPP; } else { $this.$aoLightValueScratchXYZPNP = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $par2, $var8, $var19); $this.$aoBrightnessXYZPNP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var8, $var19); } if (!$var16_0 && !$var19_0) { $this.$aoLightValueScratchXYZPPN = $this.$aoLightValueScratchXZPN; $this.$aoBrightnessXYZPPN = $this.$aoBrightnessXZPN; } else { $this.$aoLightValueScratchXYZPPN = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $par2, $var16, $var26); $this.$aoBrightnessXYZPPN = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var16, $var26); } if (!$var16_0 && !$var18) { $this.$aoLightValueScratchXYZPPP = $this.$aoLightValueScratchXZPP; $this.$aoBrightnessXYZPPP = $this.$aoBrightnessXZPP; } else { $this.$aoLightValueScratchXYZPPP = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $par2, $var16, $var19); $this.$aoBrightnessXYZPPP = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $var16, $var19); } $var8 = $rt_compare($this.$renderMaxX, 1.0); if ($var8 >= 0) $par2 = $par2 + (-1) | 0; if (!($var8 < 0 && $this.$blockAccess.$isBlockOpaqueCube($par2 + 1 | 0, $par3, $par4))) $var14 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2 + 1 | 0, $par3, $par4); $var21_0 = nms_Block_getAmbientOcclusionLightValue($par1Block, $this.$blockAccess, $par2 + 1 | 0, $par3, $par4); $var25 = $this.$aoLightValueScratchXYPN; $var22 = $var25 + $this.$aoLightValueScratchXYZPNP + $var21_0; $var23 = $this.$aoLightValueScratchXZPP; $var22 = ($var22 + $var23) / 4.0; $var25 = $this.$aoLightValueScratchXYZPNN + $var25; $var24 = $this.$aoLightValueScratchXZPN; $var23_0 = ($var25 + $var24 + $var21_0) / 4.0; $var25 = $var24 + $var21_0 + $this.$aoLightValueScratchXYZPPN; $var24 = $this.$aoLightValueScratchXYPP; $var24_0 = ($var25 + $var24) / 4.0; $var25 = ($var21_0 + $var23 + $var24 + $this.$aoLightValueScratchXYZPPP) / 4.0; var$28 = $var22; var$30 = $this.$renderMinY; var$29 = 1.0 - var$30; var$35 = var$28 * var$29; var$34 = $this.$renderMaxZ; var$36 = var$35 * var$34; var$37 = $var23_0; var$29 = var$37 * var$29; var$38 = 1.0 - var$34; var$36 = var$36 + var$29 * var$38; var$39 = $var24_0; var$40 = var$39 * var$30; var$36 = var$36 + var$40 * var$38; var$41 = $var25; var$30 = var$41 * var$30; $var25 = var$36 + var$30 * var$34; var$36 = $this.$renderMinZ; var$35 = var$35 * var$36; var$42 = 1.0 - var$36; $var22 = var$35 + var$29 * var$42 + var$40 * var$42 + var$30 * var$36; var$30 = $this.$renderMaxY; var$29 = 1.0 - var$30; var$28 = var$28 * var$29; var$35 = var$28 * var$36; var$29 = var$37 * var$29; var$35 = var$35 + var$29 * var$42; var$37 = var$39 * var$30; var$35 = var$35 + var$37 * var$42; var$30 = var$41 * var$30; $var23 = var$35 + var$30 * var$36; $var24 = var$28 * var$34 + var$29 * var$38 + var$37 * var$38 + var$30 * var$34; $var26 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXYPN, $this.$aoBrightnessXYZPNP, $this.$aoBrightnessXZPP, $var14); $var27 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXZPP, $this.$aoBrightnessXYPP, $this.$aoBrightnessXYZPPP, $var14); $var28 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXZPN, $this.$aoBrightnessXYZPPN, $this.$aoBrightnessXYPP, $var14); $var29 = nms_RenderBlocks_getAoBrightness($this, $this.$aoBrightnessXYZPNN, $this.$aoBrightnessXYPN, $this.$aoBrightnessXZPN, $var14); var$29 = $this.$renderMinY; var$28 = 1.0 - var$29; var$30 = $this.$renderMaxZ; var$35 = var$28 * var$30; var$34 = 1.0 - var$30; $this.$brightnessTopLeft = nms_RenderBlocks_mixAoBrightness($this, $var26, $var29, $var28, $var27, var$35, var$28 * var$34, var$29 * var$34, var$29 * var$30); var$29 = $this.$renderMinY; var$28 = 1.0 - var$29; var$30 = $this.$renderMinZ; var$35 = var$28 * var$30; var$34 = 1.0 - var$30; $this.$brightnessBottomLeft = nms_RenderBlocks_mixAoBrightness($this, $var26, $var29, $var28, $var27, var$35, var$28 * var$34, var$29 * var$34, var$29 * var$30); var$29 = $this.$renderMaxY; var$28 = 1.0 - var$29; var$30 = $this.$renderMinZ; var$35 = var$28 * var$30; var$34 = 1.0 - var$30; $this.$brightnessBottomRight = nms_RenderBlocks_mixAoBrightness($this, $var26, $var29, $var28, $var27, var$35, var$28 * var$34, var$29 * var$34, var$29 * var$30); var$29 = $this.$renderMaxY; var$28 = 1.0 - var$29; var$30 = $this.$renderMaxZ; var$35 = var$28 * var$30; var$34 = 1.0 - var$30; $this.$brightnessTopRight = nms_RenderBlocks_mixAoBrightness($this, $var26, $var29, $var28, $var27, var$35, var$28 * var$34, var$29 * var$34, var$29 * var$30); if (!$var13) { $this.$colorRedTopRight = 0.6000000238418579; $this.$colorRedBottomRight = 0.6000000238418579; $this.$colorRedBottomLeft = 0.6000000238418579; $this.$colorRedTopLeft = 0.6000000238418579; $this.$colorGreenTopRight = 0.6000000238418579; $this.$colorGreenBottomRight = 0.6000000238418579; $this.$colorGreenBottomLeft = 0.6000000238418579; $this.$colorGreenTopLeft = 0.6000000238418579; $this.$colorBlueTopRight = 0.6000000238418579; $this.$colorBlueBottomRight = 0.6000000238418579; $this.$colorBlueBottomLeft = 0.6000000238418579; $this.$colorBlueTopLeft = 0.6000000238418579; } else { $var21_0 = $par5 * 0.6000000238418579; $this.$colorRedTopRight = $var21_0; $this.$colorRedBottomRight = $var21_0; $this.$colorRedBottomLeft = $var21_0; $this.$colorRedTopLeft = $var21_0; $var21_0 = $par6 * 0.6000000238418579; $this.$colorGreenTopRight = $var21_0; $this.$colorGreenBottomRight = $var21_0; $this.$colorGreenBottomLeft = $var21_0; $this.$colorGreenTopLeft = $var21_0; $var21_0 = $par7 * 0.6000000238418579; $this.$colorBlueTopRight = $var21_0; $this.$colorBlueBottomRight = $var21_0; $this.$colorBlueBottomLeft = $var21_0; $this.$colorBlueTopLeft = $var21_0; } $this.$colorRedTopLeft = $this.$colorRedTopLeft * $var25; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $var25; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $var25; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $var22; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $var22; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $var22; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $var23; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $var23; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $var23; $this.$colorRedTopRight = $this.$colorRedTopRight * $var24; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $var24; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $var24; $var30 = nms_RenderBlocks_getBlockIcon($this, $par1Block, $this.$blockAccess, $par2, $par3, $par4, 5); var$28 = $par2; var$29 = $par3; var$30 = $par4; nms_RenderBlocks_renderFaceXPos($this, $par1Block, var$28, var$29, var$30, $var30); if (nms_RenderBlocks_fancyGrass && jl_String_equals($var30.$getIconName(), $rt_s(1163)) && !nms_RenderBlocks_hasOverrideBlockTexture($this)) { $this.$colorRedTopLeft = $this.$colorRedTopLeft * $par5; $this.$colorRedBottomLeft = $this.$colorRedBottomLeft * $par5; $this.$colorRedBottomRight = $this.$colorRedBottomRight * $par5; $this.$colorRedTopRight = $this.$colorRedTopRight * $par5; $this.$colorGreenTopLeft = $this.$colorGreenTopLeft * $par6; $this.$colorGreenBottomLeft = $this.$colorGreenBottomLeft * $par6; $this.$colorGreenBottomRight = $this.$colorGreenBottomRight * $par6; $this.$colorGreenTopRight = $this.$colorGreenTopRight * $par6; $this.$colorBlueTopLeft = $this.$colorBlueTopLeft * $par7; $this.$colorBlueBottomLeft = $this.$colorBlueBottomLeft * $par7; $this.$colorBlueBottomRight = $this.$colorBlueBottomRight * $par7; $this.$colorBlueTopRight = $this.$colorBlueTopRight * $par7; nms_RenderBlocks_renderFaceXPos($this, $par1Block, var$28, var$29, var$30, nms_BlockGrass_getIconSideOverlay()); } $var8 = 1; } $this.$enableAO = 0; return $var8; }, nms_RenderBlocks_getAoBrightness = ($this, $par1, $par2, $par3, $par4) => { if (!$par1) $par1 = $par4; if (!$par2) $par2 = $par4; if (!$par3) $par3 = $par4; return ((($par1 + $par2 | 0) + $par3 | 0) + $par4 | 0) >> 2 & 16711935; }, nms_RenderBlocks_mixAoBrightness = ($this, $par1, $par2, $par3, $par4, $par5, $par7, $par9, $par11) => { return ((($par1 >> 16 & 255) * $par5 + ($par2 >> 16 & 255) * $par7 + ($par3 >> 16 & 255) * $par9 + ($par4 >> 16 & 255) * $par11 | 0) & 255) << 16 | (($par1 & 255) * $par5 + ($par2 & 255) * $par7 + ($par3 & 255) * $par9 + ($par4 & 255) * $par11 | 0) & 255; }, nms_RenderBlocks_renderStandardBlockWithColorMultiplier = ($this, $par1Block, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $var9, $var10, $var12, $var13, $var14, $var15, $var16, var$16, var$17, var$18, var$19, var$20, var$21, $var26, var$23, var$24, var$25, var$26, var$27, var$28, var$29; $this.$enableAO = 0; nlea_Tessellator_$callClinit(); $var8 = nlea_Tessellator_instance; $var9 = 0; $var10 = 0.5; $var12 = 0.800000011920929; $var13 = 0.6000000238418579; $var14 = 1.0 * $par5; $var15 = 1.0 * $par6; $var16 = 1.0 * $par7; nms_Block_$callClinit(); if ($par1Block === nms_Block_grass) { var$16 = $var10; var$17 = $var12; var$18 = $var13; var$19 = $var10; var$20 = $var12; var$21 = $var13; } else { var$16 = $var10 * $par5; var$17 = $var12 * $par5; var$18 = $var13 * $par5; var$19 = $var10 * $par6; var$20 = $var12 * $par6; var$21 = $var13 * $par6; $var10 = $var10 * $par7; $var12 = $var12 * $par7; $var13 = $var13 * $par7; } $var26 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3 - 1 | 0, $par4, 0))) { var$23 = $this.$renderMinY > 0.0 ? $var26 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3 - 1 | 0, $par4); $var8.$hasBrightness = 1; $var8.$brightness = var$23; nlea_Tessellator_setColorRGBA($var8, var$16 * 255.0 | 0, var$19 * 255.0 | 0, $var10 * 255.0 | 0, 255); var$24 = $par2; var$25 = $par3; var$26 = $par4; var$27 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 0); if (var$27 === null) { if (jl_System_outCache === null) { var$28 = new otcic_JSStdoutPrintStream; var$29 = new ji_ByteArrayOutputStream; var$29.$buf = $rt_createByteArray(32); var$28.$out0 = var$29; var$29 = new jl_StringBuilder; var$29.$buffer = $rt_createCharArray(16); var$28.$sb = var$29; var$28.$buffer0 = $rt_createCharArray(32); var$28.$autoFlush = 0; var$28.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$28; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$27 === null) a: { b: { var$27 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$27 = var$27.$textureMapBlocks.$missingImage; break a; } var$27 = var$27.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYNeg($this, $par1Block, var$24, var$25, var$26, var$27); $var9 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3 + 1 | 0, $par4, 1))) { $var9 = $this.$renderMaxY < 1.0 ? $var26 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3 + 1 | 0, $par4); $var8.$hasBrightness = 1; $var8.$brightness = $var9; nlea_Tessellator_setColorRGBA($var8, $var14 * 255.0 | 0, $var15 * 255.0 | 0, $var16 * 255.0 | 0, 255); var$24 = $par2; var$25 = $par3; var$26 = $par4; var$27 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 1); if (var$27 === null) { if (jl_System_outCache === null) { var$28 = new otcic_JSStdoutPrintStream; var$29 = new ji_ByteArrayOutputStream; var$29.$buf = $rt_createByteArray(32); var$28.$out0 = var$29; var$29 = new jl_StringBuilder; var$29.$buffer = $rt_createCharArray(16); var$28.$sb = var$29; var$28.$buffer0 = $rt_createCharArray(32); var$28.$autoFlush = 0; var$28.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$28; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$27 === null) c: { d: { var$27 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break d; default: break d; } var$27 = var$27.$textureMapBlocks.$missingImage; break c; } var$27 = var$27.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYPos($this, $par1Block, var$24, var$25, var$26, var$27); $var9 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3, $par4 - 1 | 0, 2))) { $var9 = $this.$renderMinZ > 0.0 ? $var26 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4 - 1 | 0); $var8.$hasBrightness = 1; $var8.$brightness = $var9; nlea_Tessellator_setColorRGBA($var8, var$17 * 255.0 | 0, var$20 * 255.0 | 0, $var12 * 255.0 | 0, 255); var$27 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 2); if (var$27 === null) { if (jl_System_outCache === null) { var$28 = new otcic_JSStdoutPrintStream; var$29 = new ji_ByteArrayOutputStream; var$29.$buf = $rt_createByteArray(32); var$28.$out0 = var$29; var$29 = new jl_StringBuilder; var$29.$buffer = $rt_createCharArray(16); var$28.$sb = var$29; var$28.$buffer0 = $rt_createCharArray(32); var$28.$autoFlush = 0; var$28.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$28; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$27 === null) e: { f: { var$27 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break f; default: break f; } var$27 = var$27.$textureMapBlocks.$missingImage; break e; } var$27 = var$27.$textureMapItems.$missingTextureStiched; } var$24 = $par2; var$25 = $par3; var$26 = $par4; nms_RenderBlocks_renderFaceZNeg($this, $par1Block, var$24, var$25, var$26, var$27); if (nms_RenderBlocks_fancyGrass) { var$27 = var$27.$getIconName(); if (var$27 !== $rt_s(1163)) { if ($rt_s(1163) instanceof jl_String) { var$28 = $rt_s(1163); $var9 = var$27.$nativeString !== var$28.$nativeString ? 0 : 1; } else $var9 = 0; } else $var9 = 1; if ($var9 && !($this.$overrideBlockTexture === null ? 0 : 1)) { nlea_Tessellator_setColorRGBA($var8, var$17 * $par5 * 255.0 | 0, var$20 * $par6 * 255.0 | 0, $var12 * $par7 * 255.0 | 0, 255); nms_RenderBlocks_renderFaceZNeg($this, $par1Block, var$24, var$25, var$26, nms_Block_grass.$iconGrassSideOverlay); } } $var9 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3, $par4 + 1 | 0, 3))) { var$23 = $this.$renderMaxZ < 1.0 ? $var26 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4 + 1 | 0); $var8.$hasBrightness = 1; $var8.$brightness = var$23; nlea_Tessellator_setColorRGBA($var8, var$17 * 255.0 | 0, var$20 * 255.0 | 0, $var12 * 255.0 | 0, 255); var$27 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 3); if (var$27 === null) { if (jl_System_outCache === null) { var$28 = new otcic_JSStdoutPrintStream; var$29 = new ji_ByteArrayOutputStream; var$29.$buf = $rt_createByteArray(32); var$28.$out0 = var$29; var$29 = new jl_StringBuilder; var$29.$buffer = $rt_createCharArray(16); var$28.$sb = var$29; var$28.$buffer0 = $rt_createCharArray(32); var$28.$autoFlush = 0; var$28.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$28; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$27 === null) g: { h: { var$27 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break h; default: break h; } var$27 = var$27.$textureMapBlocks.$missingImage; break g; } var$27 = var$27.$textureMapItems.$missingTextureStiched; } var$24 = $par2; var$25 = $par3; var$26 = $par4; nms_RenderBlocks_renderFaceZPos($this, $par1Block, var$24, var$25, var$26, var$27); if (nms_RenderBlocks_fancyGrass) { var$27 = var$27.$getIconName(); if (var$27 === $rt_s(1163)) $var9 = 1; else if (!($rt_s(1163) instanceof jl_String)) $var9 = 0; else { var$28 = $rt_s(1163); $var9 = var$27.$nativeString !== var$28.$nativeString ? 0 : 1; } if ($var9 && !($this.$overrideBlockTexture === null ? 0 : 1)) { nlea_Tessellator_setColorRGBA($var8, var$17 * $par5 * 255.0 | 0, var$20 * $par6 * 255.0 | 0, $var12 * $par7 * 255.0 | 0, 255); nms_RenderBlocks_renderFaceZPos($this, $par1Block, var$24, var$25, var$26, nms_Block_grass.$iconGrassSideOverlay); } } $var9 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2 - 1 | 0, $par3, $par4, 4))) { $var9 = $this.$renderMinX > 0.0 ? $var26 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2 - 1 | 0, $par3, $par4); $var8.$hasBrightness = 1; $var8.$brightness = $var9; nlea_Tessellator_setColorRGBA($var8, var$18 * 255.0 | 0, var$21 * 255.0 | 0, $var13 * 255.0 | 0, 255); var$27 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 4); if (var$27 === null) { if (jl_System_outCache === null) { var$28 = new otcic_JSStdoutPrintStream; var$29 = new ji_ByteArrayOutputStream; var$29.$buf = $rt_createByteArray(32); var$28.$out0 = var$29; var$29 = new jl_StringBuilder; var$29.$buffer = $rt_createCharArray(16); var$28.$sb = var$29; var$28.$buffer0 = $rt_createCharArray(32); var$28.$autoFlush = 0; var$28.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$28; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$27 === null) i: { j: { var$27 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break j; default: break j; } var$27 = var$27.$textureMapBlocks.$missingImage; break i; } var$27 = var$27.$textureMapItems.$missingTextureStiched; } var$24 = $par2; var$25 = $par3; var$26 = $par4; nms_RenderBlocks_renderFaceXNeg($this, $par1Block, var$24, var$25, var$26, var$27); if (nms_RenderBlocks_fancyGrass) { var$27 = var$27.$getIconName(); if (var$27 === $rt_s(1163)) $var9 = 1; else if (!($rt_s(1163) instanceof jl_String)) $var9 = 0; else { var$28 = $rt_s(1163); $var9 = var$27.$nativeString !== var$28.$nativeString ? 0 : 1; } if ($var9 && !($this.$overrideBlockTexture === null ? 0 : 1)) { nlea_Tessellator_setColorRGBA($var8, var$18 * $par5 * 255.0 | 0, var$21 * $par6 * 255.0 | 0, $var13 * $par7 * 255.0 | 0, 255); nms_RenderBlocks_renderFaceXNeg($this, $par1Block, var$24, var$25, var$26, nms_Block_grass.$iconGrassSideOverlay); } } $var9 = 1; } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2 + 1 | 0, $par3, $par4, 5))) { if ($this.$renderMaxX >= 1.0) $var26 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2 + 1 | 0, $par3, $par4); $var8.$hasBrightness = 1; $var8.$brightness = $var26; nlea_Tessellator_setColorRGBA($var8, var$18 * 255.0 | 0, var$21 * 255.0 | 0, $var13 * 255.0 | 0, 255); var$27 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 5); if (var$27 === null) { if (jl_System_outCache === null) { var$28 = new otcic_JSStdoutPrintStream; var$29 = new ji_ByteArrayOutputStream; var$29.$buf = $rt_createByteArray(32); var$28.$out0 = var$29; var$29 = new jl_StringBuilder; var$29.$buffer = $rt_createCharArray(16); var$28.$sb = var$29; var$28.$buffer0 = $rt_createCharArray(32); var$28.$autoFlush = 0; var$28.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$28; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$27 === null) k: { l: { var$27 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break l; default: break l; } var$27 = var$27.$textureMapBlocks.$missingImage; break k; } var$27 = var$27.$textureMapItems.$missingTextureStiched; } var$24 = $par2; var$25 = $par3; var$26 = $par4; nms_RenderBlocks_renderFaceXPos($this, $par1Block, var$24, var$25, var$26, var$27); if (nms_RenderBlocks_fancyGrass) { var$27 = var$27.$getIconName(); if (var$27 === $rt_s(1163)) $par2 = 1; else if (!($rt_s(1163) instanceof jl_String)) $par2 = 0; else { var$28 = $rt_s(1163); $par2 = var$27.$nativeString !== var$28.$nativeString ? 0 : 1; } if ($par2 && !($this.$overrideBlockTexture === null ? 0 : 1)) { nlea_Tessellator_setColorRGBA($var8, var$18 * $par5 * 255.0 | 0, var$21 * $par6 * 255.0 | 0, $var13 * $par7 * 255.0 | 0, 255); nms_RenderBlocks_renderFaceXPos($this, $par1Block, var$24, var$25, var$26, nms_Block_grass.$iconGrassSideOverlay); } } $var9 = 1; } return $var9; }, nms_RenderBlocks_renderBlockCocoa = ($this, $par1BlockCocoa, $par2, $par3, $par4) => { let $var5, $var9, $var7, $var6, $var8, $var10, $var11, $var42, $var12, $var38, $var18, $var20, $var22, $var24, $var26, $var28, $var14, $var32, $var34, $var36, $var16, $var40, var$27, var$28, var$29, var$30; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; $var9 = $this.$blockAccess; nms_Block_$callClinit(); $var7 = $var9.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[$var9.$getBlockId($par2, $par3, $par4)]); $var5.$hasBrightness = 1; $var5.$brightness = $var7; nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); $var6 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); $var7 = $var6 & 3; $var8 = ($var6 & 12) >> 2; $var10 = $var8 >= 0 && $var8 < $par1BlockCocoa.$iconArray1.data.length ? $var8 : $par1BlockCocoa.$iconArray1.data.length - 1 | 0; a: { $var9 = $par1BlockCocoa.$iconArray1.data[$var10]; $var11 = $var8 * 2 | 0; $var10 = 4 + $var11 | 0; $var11 = 5 + $var11 | 0; $var42 = $var10; $var12 = 15.0 - $var42; $var38 = $var11; $var18 = 4.0 + $var38; $var20 = $var9.$getInterpolatedU($var12); $var22 = $var9.$getInterpolatedU(15.0); $var24 = $var9.$getInterpolatedV(4.0); $var26 = $var9.$getInterpolatedV($var18); $var28 = 0.0; switch ($var7) { case 0: $var28 = 8.0 - ($var10 / 2 | 0); break a; case 1: $var28 = 1.0; $var12 = 8.0 - ($var10 / 2 | 0); break a; case 2: $var28 = 8.0 - ($var10 / 2 | 0); $var12 = 1.0; break a; case 3: $var14 = 8.0 - ($var10 / 2 | 0); $var28 = $var12; $var12 = $var14; break a; default: } $var12 = 0.0; } $var14 = $par2; $var32 = $var14 + $var28 / 16.0; $var34 = $var14 + ($var28 + $var42) / 16.0; $var28 = $par3; $var36 = $var28 + (12.0 - $var38) / 16.0; $var38 = $var28 + 0.75; $var16 = $par4; $var40 = $var16 + $var12 / 16.0; $var42 = $var16 + ($var12 + $var42) / 16.0; $var5.$hasTexture = 1; var$27 = $var20; $var5.$textureU = var$27; var$28 = $var26; $var5.$textureV = var$28; nlea_Tessellator_addVertex($var5, $var32, $var36, $var40); $var5.$hasTexture = 1; var$29 = $var22; $var5.$textureU = var$29; $var5.$textureV = var$28; nlea_Tessellator_addVertex($var5, $var32, $var36, $var42); $var5.$hasTexture = 1; $var5.$textureU = var$29; var$30 = $var24; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var32, $var38, $var42); $var5.$hasTexture = 1; $var5.$textureU = var$27; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var32, $var38, $var40); $var5.$hasTexture = 1; $var5.$textureU = var$27; $var5.$textureV = var$28; nlea_Tessellator_addVertex($var5, $var34, $var36, $var42); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = var$28; nlea_Tessellator_addVertex($var5, $var34, $var36, $var40); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var34, $var38, $var40); $var5.$hasTexture = 1; $var5.$textureU = var$27; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var34, $var38, $var42); $var5.$hasTexture = 1; $var5.$textureU = var$27; $var5.$textureV = var$28; nlea_Tessellator_addVertex($var5, $var34, $var36, $var40); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = var$28; nlea_Tessellator_addVertex($var5, $var32, $var36, $var40); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var32, $var38, $var40); $var5.$hasTexture = 1; $var5.$textureU = var$27; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var34, $var38, $var40); $var5.$hasTexture = 1; $var5.$textureU = var$27; $var5.$textureV = var$28; nlea_Tessellator_addVertex($var5, $var32, $var36, $var42); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = var$28; nlea_Tessellator_addVertex($var5, $var34, $var36, $var42); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var34, $var38, $var42); $var5.$hasTexture = 1; $var5.$textureU = var$27; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var32, $var38, $var42); if ($var8 >= 2) $var10 = $var10 - 1 | 0; b: { $var12 = $var9.$getMinU(); $var22 = $var10; $var20 = $var9.$getInterpolatedU($var22); $var24 = $var9.$getMinV(); $var22 = $var9.$getInterpolatedV($var22); $var5.$hasTexture = 1; var$28 = $var12; $var5.$textureU = var$28; var$30 = $var22; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var32, $var38, $var42); $var5.$hasTexture = 1; var$27 = $var20; $var5.$textureU = var$27; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var34, $var38, $var42); $var5.$hasTexture = 1; $var5.$textureU = var$27; var$29 = $var24; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, $var34, $var38, $var40); $var5.$hasTexture = 1; $var5.$textureU = var$28; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, $var32, $var38, $var40); $var5.$hasTexture = 1; $var5.$textureU = var$28; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, $var32, $var36, $var40); $var5.$hasTexture = 1; $var5.$textureU = var$27; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, $var34, $var36, $var40); $var5.$hasTexture = 1; $var5.$textureU = var$27; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var34, $var36, $var42); $var5.$hasTexture = 1; $var5.$textureU = var$28; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var32, $var36, $var42); $var32 = $var9.$getInterpolatedU(12.0); $var34 = $var9.$getMaxU(); $var36 = $var9.$getMinV(); $var24 = $var9.$getInterpolatedV(4.0); $var22 = 8.0; $var40 = 0.0; switch ($var7) { case 0: break; case 1: $var22 = 0.0; $var40 = 8.0; $var42 = $var34; $var34 = $var32; $var32 = $var42; break b; case 2: $var22 = 8.0; $var40 = 0.0; $var42 = $var34; $var34 = $var32; $var32 = $var42; break b; case 3: $var22 = 12.0; $var40 = 8.0; break b; default: $var42 = $var34; $var34 = $var32; $var32 = $var42; break b; } $var22 = 8.0; $var40 = 12.0; } $var42 = $var14 + $var22 / 16.0; $var14 = $var14 + ($var22 + 4.0) / 16.0; $var28 = $var28 + 1.0; $var22 = $var16 + $var40 / 16.0; $var16 = $var16 + ($var40 + 4.0) / 16.0; if (!($var7 != 2 && $var7)) { $var5.$hasTexture = 1; var$29 = $var32; $var5.$textureU = var$29; var$27 = $var24; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, $var42, $var38, $var22); $var5.$hasTexture = 1; var$30 = $var34; $var5.$textureU = var$30; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, $var42, $var38, $var16); $var5.$hasTexture = 1; $var5.$textureU = var$30; var$28 = $var36; $var5.$textureV = var$28; nlea_Tessellator_addVertex($var5, $var42, $var28, $var16); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = var$28; nlea_Tessellator_addVertex($var5, $var42, $var28, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$30; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, $var42, $var38, $var16); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = var$27; nlea_Tessellator_addVertex($var5, $var42, $var38, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$29; $var5.$textureV = var$28; nlea_Tessellator_addVertex($var5, $var42, $var28, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$30; $var5.$textureV = var$28; nlea_Tessellator_addVertex($var5, $var42, $var28, $var16); } else if (!($var7 != 1 && $var7 != 3)) { $var5.$hasTexture = 1; var$28 = $var34; $var5.$textureU = var$28; var$30 = $var24; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var14, $var38, $var22); $var5.$hasTexture = 1; var$27 = $var32; $var5.$textureU = var$27; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var42, $var38, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$27; var$29 = $var36; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, $var42, $var28, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$28; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, $var14, $var28, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$27; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var42, $var38, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$28; $var5.$textureV = var$30; nlea_Tessellator_addVertex($var5, $var14, $var38, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$28; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, $var14, $var28, $var22); $var5.$hasTexture = 1; $var5.$textureU = var$27; $var5.$textureV = var$29; nlea_Tessellator_addVertex($var5, $var42, $var28, $var22); } return 1; }, nms_RenderBlocks_renderBlockBeacon = ($this, $par1BlockBeacon, $par2, $par3, $par4) => { let var$5, var$6, var$7; nms_Block_$callClinit(); var$5 = nms_Block_glass.$getIcon(1, 0); if (var$5 === null) { if (jl_System_outCache === null) { var$6 = new otcic_JSStdoutPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); var$6.$out0 = var$7; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); var$6.$sb = var$7; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$6; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$5 === null) a: { b: { var$5 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$5 = var$5.$textureMapBlocks.$missingImage; break a; } var$5 = var$5.$textureMapItems.$missingTextureStiched; } $this.$overrideBlockTexture = var$5; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1BlockBeacon, $par2, $par3, $par4); $this.$renderAllFaces = 1; var$5 = nms_Block_obsidian.$getIcon(1, 0); if (var$5 === null) { if (jl_System_outCache === null) { var$6 = new otcic_JSStdoutPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); var$6.$out0 = var$7; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); var$6.$sb = var$7; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$6; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$5 === null) c: { d: { var$5 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break d; default: break d; } var$5 = var$5.$textureMapBlocks.$missingImage; break c; } var$5 = var$5.$textureMapItems.$missingTextureStiched; } $this.$overrideBlockTexture = var$5; nms_RenderBlocks_setRenderBounds($this, 0.125, 0.0062500000931322575, 0.125, 0.875, 0.1875, 0.875); nms_RenderBlocks_renderStandardBlock($this, $par1BlockBeacon, $par2, $par3, $par4); var$5 = nms_Block_beacon.$blockIcon; if (var$5 === null) { if (jl_System_outCache === null) { var$6 = new otcic_JSStdoutPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); var$6.$out0 = var$7; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); var$6.$sb = var$7; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$6; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$5 === null) e: { f: { var$5 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break f; default: break f; } var$5 = var$5.$textureMapBlocks.$missingImage; break e; } var$5 = var$5.$textureMapItems.$missingTextureStiched; } $this.$overrideBlockTexture = var$5; nms_RenderBlocks_setRenderBounds($this, 0.1875, 0.1875, 0.1875, 0.8125, 0.875, 0.8125); nms_RenderBlocks_renderStandardBlock($this, $par1BlockBeacon, $par2, $par3, $par4); $this.$renderAllFaces = 0; $this.$overrideBlockTexture = null; return 1; }, nms_RenderBlocks_renderBlockCactus = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, $var9, $var10, $var11, var$9; $var5 = $par1Block.$colorMultiplier($this.$blockAccess, $par2, $par3, $par4); $var9 = ($var5 >> 16 & 255) / 255.0; $var10 = ($var5 >> 8 & 255) / 255.0; $var11 = ($var5 & 255) / 255.0; nms_EntityRenderer_$callClinit(); if (nms_EntityRenderer_anaglyphEnable) { var$9 = $var9 * 30.0; $var9 = (var$9 + $var10 * 59.0 + $var11 * 11.0) / 100.0; $var10 = (var$9 + $var10 * 70.0) / 100.0; $var11 = (var$9 + $var11 * 70.0) / 100.0; } return nms_RenderBlocks_renderBlockCactusImpl($this, $par1Block, $par2, $par3, $par4, $var9, $var10, $var11); }, nms_RenderBlocks_renderBlockCactusImpl = ($this, $par1Block, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $var14, $var15, $var16, $var17, $var18, $var19, $var20, $var21, $var22, $var23, $var24, $var25, $var27, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, var$32, var$33, var$34; nlea_Tessellator_$callClinit(); $var8 = nlea_Tessellator_instance; $var14 = 0.5 * $par5; $var15 = 1.0 * $par5; $var16 = 0.800000011920929 * $par5; $var17 = 0.6000000238418579 * $par5; $var18 = 0.5 * $par6; $var19 = 1.0 * $par6; $var20 = 0.800000011920929 * $par6; $var21 = 0.6000000238418579 * $par6; $var22 = 0.5 * $par7; $var23 = 1.0 * $par7; $var24 = 0.800000011920929 * $par7; $var25 = 0.6000000238418579 * $par7; $var27 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3 - 1 | 0, $par4, 0))) { var$22 = $this.$renderMinY > 0.0 ? $var27 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3 - 1 | 0, $par4); $var8.$hasBrightness = 1; $var8.$brightness = var$22; nlea_Tessellator_setColorRGBA($var8, $var14 * 255.0 | 0, $var18 * 255.0 | 0, $var22 * 255.0 | 0, 255); var$23 = $par2; var$24 = $par3; var$25 = $par4; var$26 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 0); if (var$26 === null) { if (jl_System_outCache === null) { var$27 = new otcic_JSStdoutPrintStream; var$28 = new ji_ByteArrayOutputStream; var$28.$buf = $rt_createByteArray(32); var$27.$out0 = var$28; var$28 = new jl_StringBuilder; var$28.$buffer = $rt_createCharArray(16); var$27.$sb = var$28; var$27.$buffer0 = $rt_createCharArray(32); var$27.$autoFlush = 0; var$27.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$27; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$26 === null) a: { b: { var$26 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } var$26 = var$26.$textureMapBlocks.$missingImage; break a; } var$26 = var$26.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYNeg($this, $par1Block, var$23, var$24, var$25, var$26); } if (!(!$this.$renderAllFaces && !$par1Block.$shouldSideBeRendered($this.$blockAccess, $par2, $par3 + 1 | 0, $par4, 1))) { var$29 = $this.$renderMaxY < 1.0 ? $var27 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3 + 1 | 0, $par4); $var8.$hasBrightness = 1; $var8.$brightness = var$29; nlea_Tessellator_setColorRGBA($var8, $var15 * 255.0 | 0, $var19 * 255.0 | 0, $var23 * 255.0 | 0, 255); var$23 = $par2; var$24 = $par3; var$25 = $par4; var$27 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 1); if (var$27 === null) { if (jl_System_outCache === null) { var$26 = new otcic_JSStdoutPrintStream; var$28 = new ji_ByteArrayOutputStream; var$28.$buf = $rt_createByteArray(32); var$26.$out0 = var$28; var$28 = new jl_StringBuilder; var$28.$buffer = $rt_createCharArray(16); var$26.$sb = var$28; var$26.$buffer0 = $rt_createCharArray(32); var$26.$autoFlush = 0; var$26.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$26; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$27 === null) c: { d: { var$26 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break d; default: break d; } var$27 = var$26.$textureMapBlocks.$missingImage; break c; } var$27 = var$26.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYPos($this, $par1Block, var$23, var$24, var$25, var$27); } $var8.$hasBrightness = 1; $var8.$brightness = $var27; nlea_Tessellator_setColorRGBA($var8, $var16 * 255.0 | 0, $var20 * 255.0 | 0, $var24 * 255.0 | 0, 255); $var8.$xOffset = $var8.$xOffset + 0.0; $var8.$yOffset0 = $var8.$yOffset0 + 0.0; $var8.$zOffset = $var8.$zOffset + 0.0625; var$23 = $par2; var$30 = $par3; var$31 = $par4; var$28 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 2); if (var$28 === null) { if (jl_System_outCache === null) { var$26 = new otcic_JSStdoutPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); var$26.$out0 = var$27; var$27 = new jl_StringBuilder; var$27.$buffer = $rt_createCharArray(16); var$26.$sb = var$27; var$26.$buffer0 = $rt_createCharArray(32); var$26.$autoFlush = 0; var$26.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$26; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$28 === null) e: { f: { var$26 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break f; default: break f; } var$28 = var$26.$textureMapBlocks.$missingImage; break e; } var$28 = var$26.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZNeg($this, $par1Block, var$23, var$30, var$31, var$28); var$32 = $var8.$xOffset + 0.0; $var8.$xOffset = var$32; var$33 = $var8.$yOffset0 + 0.0; $var8.$yOffset0 = var$33; var$34 = $var8.$zOffset + (-0.0625); $var8.$zOffset = var$34; $var8.$xOffset = var$32 + 0.0; $var8.$yOffset0 = var$33 + 0.0; $var8.$zOffset = var$34 + (-0.0625); var$27 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 3); if (var$27 === null) { if (jl_System_outCache === null) { var$26 = new otcic_JSStdoutPrintStream; var$28 = new ji_ByteArrayOutputStream; var$28.$buf = $rt_createByteArray(32); var$26.$out0 = var$28; var$28 = new jl_StringBuilder; var$28.$buffer = $rt_createCharArray(16); var$26.$sb = var$28; var$26.$buffer0 = $rt_createCharArray(32); var$26.$autoFlush = 0; var$26.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$26; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$27 === null) g: { h: { var$26 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break h; default: break h; } var$27 = var$26.$textureMapBlocks.$missingImage; break g; } var$27 = var$26.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZPos($this, $par1Block, var$23, var$30, var$31, var$27); $var8.$xOffset = $var8.$xOffset + 0.0; $var8.$yOffset0 = $var8.$yOffset0 + 0.0; $var8.$zOffset = $var8.$zOffset + 0.0625; nlea_Tessellator_setColorRGBA($var8, $var17 * 255.0 | 0, $var21 * 255.0 | 0, $var25 * 255.0 | 0, 255); $var8.$xOffset = $var8.$xOffset + 0.0625; $var8.$yOffset0 = $var8.$yOffset0 + 0.0; $var8.$zOffset = $var8.$zOffset + 0.0; var$27 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 4); if (var$27 === null) { if (jl_System_outCache === null) { var$26 = new otcic_JSStdoutPrintStream; var$28 = new ji_ByteArrayOutputStream; var$28.$buf = $rt_createByteArray(32); var$26.$out0 = var$28; var$28 = new jl_StringBuilder; var$28.$buffer = $rt_createCharArray(16); var$26.$sb = var$28; var$26.$buffer0 = $rt_createCharArray(32); var$26.$autoFlush = 0; var$26.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$26; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$27 === null) i: { j: { var$26 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break j; default: break j; } var$27 = var$26.$textureMapBlocks.$missingImage; break i; } var$27 = var$26.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXNeg($this, $par1Block, var$23, var$30, var$31, var$27); var$32 = $var8.$xOffset + (-0.0625); $var8.$xOffset = var$32; var$33 = $var8.$yOffset0 + 0.0; $var8.$yOffset0 = var$33; var$34 = $var8.$zOffset + 0.0; $var8.$zOffset = var$34; $var8.$xOffset = var$32 + (-0.0625); $var8.$yOffset0 = var$33 + 0.0; $var8.$zOffset = var$34 + 0.0; var$27 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 5); if (var$27 === null) { if (jl_System_outCache === null) { var$26 = new otcic_JSStdoutPrintStream; var$28 = new ji_ByteArrayOutputStream; var$28.$buf = $rt_createByteArray(32); var$26.$out0 = var$28; var$28 = new jl_StringBuilder; var$28.$buffer = $rt_createCharArray(16); var$26.$sb = var$28; var$26.$buffer0 = $rt_createCharArray(32); var$26.$autoFlush = 0; var$26.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$26; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$27 === null) k: { l: { var$26 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break l; default: break l; } var$27 = var$26.$textureMapBlocks.$missingImage; break k; } var$27 = var$26.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXPos($this, $par1Block, var$23, var$30, var$31, var$27); $var8.$xOffset = $var8.$xOffset + 0.0625; $var8.$yOffset0 = $var8.$yOffset0 + 0.0; $var8.$zOffset = $var8.$zOffset + 0.0; return 1; }, nms_RenderBlocks_renderBlockFence = ($this, $par1BlockFence, $par2, $par3, $par4) => { let var$5, $var8, $var9, var$8, $var10, $var12, $var11, $var13, $var18, $var19, $var16, $var17; nms_RenderBlocks_setRenderBounds($this, 0.375, 0.0, 0.375, 0.625, 1.0, 0.625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFence, $par2, $par3, $par4); var$5 = 1; $var8 = 0; $var9 = 0; var$8 = $this.$blockAccess; $var10 = $par2 - 1 | 0; if (!(!nms_BlockFence_canConnectFenceTo($par1BlockFence, var$8, $var10, $par3, $par4) && !nms_BlockFence_canConnectFenceTo($par1BlockFence, $this.$blockAccess, $par2 + 1 | 0, $par3, $par4))) $var8 = 1; var$8 = $this.$blockAccess; $var12 = $par4 - 1 | 0; if (!(!nms_BlockFence_canConnectFenceTo($par1BlockFence, var$8, $par2, $par3, $var12) && !nms_BlockFence_canConnectFenceTo($par1BlockFence, $this.$blockAccess, $par2, $par3, $par4 + 1 | 0))) $var9 = 1; $var10 = nms_BlockFence_canConnectFenceTo($par1BlockFence, $this.$blockAccess, $var10, $par3, $par4); $var11 = nms_BlockFence_canConnectFenceTo($par1BlockFence, $this.$blockAccess, $par2 + 1 | 0, $par3, $par4); $var12 = nms_BlockFence_canConnectFenceTo($par1BlockFence, $this.$blockAccess, $par2, $par3, $var12); $var13 = nms_BlockFence_canConnectFenceTo($par1BlockFence, $this.$blockAccess, $par2, $par3, $par4 + 1 | 0); if (!$var8 && !$var9) $var8 = 1; $var18 = 0.4375; $var19 = 0.5625; $var16 = !$var10 ? $var18 : 0.0; $var17 = !$var11 ? $var19 : 1.0; if ($var12) $var18 = 0.0; if ($var13) $var19 = 1.0; if ($var8) { nms_RenderBlocks_setRenderBounds($this, $var16, 0.75, 0.4375, $var17, 0.9375, 0.5625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFence, $par2, $par3, $par4); var$5 = 1; } if ($var9) { nms_RenderBlocks_setRenderBounds($this, 0.4375, 0.75, $var18, 0.5625, 0.9375, $var19); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFence, $par2, $par3, $par4); var$5 = 1; } if ($var8) { nms_RenderBlocks_setRenderBounds($this, $var16, 0.375, 0.4375, $var17, 0.5625, 0.5625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFence, $par2, $par3, $par4); var$5 = 1; } if ($var9) { nms_RenderBlocks_setRenderBounds($this, 0.4375, 0.375, $var18, 0.5625, 0.5625, $var19); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFence, $par2, $par3, $par4); var$5 = 1; } nms_BlockFence_setBlockBoundsBasedOnState($par1BlockFence, $this.$blockAccess, $par2, $par3, $par4); return var$5; }, nms_RenderBlocks_renderBlockWall = ($this, $par1BlockWall, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, $var11; $var5 = nms_BlockWall_canConnectWallTo($par1BlockWall, $this.$blockAccess, $par2 - 1 | 0, $par3, $par4); $var6 = nms_BlockWall_canConnectWallTo($par1BlockWall, $this.$blockAccess, $par2 + 1 | 0, $par3, $par4); $var7 = nms_BlockWall_canConnectWallTo($par1BlockWall, $this.$blockAccess, $par2, $par3, $par4 - 1 | 0); $var8 = nms_BlockWall_canConnectWallTo($par1BlockWall, $this.$blockAccess, $par2, $par3, $par4 + 1 | 0); $var9 = $var7 && $var8 && !$var5 && !$var6 ? 1 : 0; $var10 = !$var7 && !$var8 && $var5 && $var6 ? 1 : 0; $var11 = $this.$blockAccess.$isAirBlock($par2, $par3 + 1 | 0, $par4); if (!(!$var9 && !$var10) && $var11) { if (!$var9) { nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.3125, 1.0, 0.8125, 0.6875); nms_RenderBlocks_renderStandardBlock($this, $par1BlockWall, $par2, $par3, $par4); } else { nms_RenderBlocks_setRenderBounds($this, 0.3125, 0.0, 0.0, 0.6875, 0.8125, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1BlockWall, $par2, $par3, $par4); } } else { nms_RenderBlocks_setRenderBounds($this, 0.25, 0.0, 0.25, 0.75, 1.0, 0.75); nms_RenderBlocks_renderStandardBlock($this, $par1BlockWall, $par2, $par3, $par4); if ($var5) { nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.3125, 0.25, 0.8125, 0.6875); nms_RenderBlocks_renderStandardBlock($this, $par1BlockWall, $par2, $par3, $par4); } if ($var6) { nms_RenderBlocks_setRenderBounds($this, 0.75, 0.0, 0.3125, 1.0, 0.8125, 0.6875); nms_RenderBlocks_renderStandardBlock($this, $par1BlockWall, $par2, $par3, $par4); } if ($var7) { nms_RenderBlocks_setRenderBounds($this, 0.3125, 0.0, 0.0, 0.6875, 0.8125, 0.25); nms_RenderBlocks_renderStandardBlock($this, $par1BlockWall, $par2, $par3, $par4); } if ($var8) { nms_RenderBlocks_setRenderBounds($this, 0.3125, 0.0, 0.75, 0.6875, 0.8125, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1BlockWall, $par2, $par3, $par4); } } nms_BlockWall_setBlockBoundsBasedOnState($par1BlockWall, $this.$blockAccess, $par2, $par3, $par4); return 1; }, nms_RenderBlocks_renderBlockDragonEgg = ($this, $par1BlockDragonEgg, $par2, $par3, $par4) => { let $var6, $var7, $var8, $var9, $var10, $var11, $var12, var$12, var$13, var$14; $var6 = 0; $var7 = 0; while ($var7 < 8) { $var8 = 0; $var9 = 1; if (!$var7) $var8 = 2; if ($var7 == 1) $var8 = 3; if ($var7 == 2) $var8 = 4; if ($var7 == 3) { $var8 = 5; $var9 = 2; } if ($var7 == 4) { $var8 = 6; $var9 = 3; } if ($var7 == 5) { $var8 = 7; $var9 = 5; } if ($var7 == 6) { $var8 = 6; $var9 = 2; } if ($var7 == 7) $var8 = 3; $var10 = $var8 / 16.0; $var11 = 1.0 - $var6 / 16.0; $var6 = $var6 + $var9 | 0; $var12 = 1.0 - $var6 / 16.0; var$12 = 0.5 - $var10; var$13 = $var12; var$14 = 0.5 + $var10; nms_RenderBlocks_setRenderBounds($this, var$12, var$13, var$12, var$14, $var11, var$14); nms_RenderBlocks_renderStandardBlock($this, $par1BlockDragonEgg, $par2, $par3, $par4); $var7 = $var7 + 1 | 0; } nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return 1; }, nms_RenderBlocks_renderBlockFenceGate = ($this, $par1BlockFenceGate, $par2, $par3, $par4) => { let $var6, $var7, $var8, $var9, $var10, $var11, $var12, $var13, $var14, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21; $var6 = $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4); $var7 = !($var6 & 4) ? 0 : 1; a: { b: { $var8 = $var6 & 3; $var9 = 0.375; $var10 = 0.5625; $var11 = 0.75; $var12 = 0.9375; $var13 = 0.3125; $var14 = 1.0; $var6 = $rt_compare($var8, 2); if (!($var6 && $var8)) { var$14 = $this.$blockAccess.$getBlockId($par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); if (var$14 == nms_Block_cobblestoneWall.$blockID && $this.$blockAccess.$getBlockId($par2 + 1 | 0, $par3, $par4) == nms_Block_cobblestoneWall.$blockID) break b; } if ($var8 != 3 && $var8 != 1) break a; var$15 = $this.$blockAccess.$getBlockId($par2, $par3, $par4 - 1 | 0); nms_Block_$callClinit(); if (var$15 != nms_Block_cobblestoneWall.$blockID) break a; if ($this.$blockAccess.$getBlockId($par2, $par3, $par4 + 1 | 0) != nms_Block_cobblestoneWall.$blockID) break a; } $var9 = 0.1875; $var10 = 0.375; $var11 = 0.5625; $var12 = 0.75; $var13 = 0.125; $var14 = 0.8125; } $this.$renderAllFaces = 1; var$15 = $rt_compare($var8, 3); if (var$15 && $var8 != 1) { var$16 = $var13; var$17 = $var14; nms_RenderBlocks_setRenderBounds($this, 0.0, var$16, 0.4375, 0.125, var$17, 0.5625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.875, var$16, 0.4375, 1.0, var$17, 0.5625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); } else { $this.$uvRotateTop = 1; var$16 = $var13; var$17 = $var14; nms_RenderBlocks_setRenderBounds($this, 0.4375, var$16, 0.0, 0.5625, var$17, 0.125); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.4375, var$16, 0.875, 0.5625, var$17, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); $this.$uvRotateTop = 0; } if (!$var7) { if (var$15 && $var8 != 1) { var$16 = $var9; var$17 = $var12; nms_RenderBlocks_setRenderBounds($this, 0.375, var$16, 0.4375, 0.5, var$17, 0.5625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.5, var$16, 0.4375, 0.625, var$17, 0.5625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); var$18 = $var10; nms_RenderBlocks_setRenderBounds($this, 0.625, var$16, 0.4375, 0.875, var$18, 0.5625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); var$19 = $var11; nms_RenderBlocks_setRenderBounds($this, 0.625, var$19, 0.4375, 0.875, var$17, 0.5625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.125, var$16, 0.4375, 0.375, var$18, 0.5625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.125, var$19, 0.4375, 0.375, var$17, 0.5625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); } else { $this.$uvRotateTop = 1; var$16 = $var9; var$17 = $var12; nms_RenderBlocks_setRenderBounds($this, 0.4375, var$16, 0.375, 0.5625, var$17, 0.5); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.4375, var$16, 0.5, 0.5625, var$17, 0.625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); var$20 = $var10; nms_RenderBlocks_setRenderBounds($this, 0.4375, var$16, 0.625, 0.5625, var$20, 0.875); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); var$19 = $var11; nms_RenderBlocks_setRenderBounds($this, 0.4375, var$19, 0.625, 0.5625, var$17, 0.875); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.4375, var$16, 0.125, 0.5625, var$20, 0.375); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.4375, var$19, 0.125, 0.5625, var$17, 0.375); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); } } else { if (!($var6 && $var8)) $this.$uvRotateTop = 1; if (!var$15) { var$16 = $var9; var$17 = $var12; nms_RenderBlocks_setRenderBounds($this, 0.8125, var$16, 0.0, 0.9375, var$17, 0.125); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.8125, var$16, 0.875, 0.9375, var$17, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); var$20 = $var10; nms_RenderBlocks_setRenderBounds($this, 0.5625, var$16, 0.0, 0.8125, var$20, 0.125); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.5625, var$16, 0.875, 0.8125, var$20, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); var$16 = $var11; nms_RenderBlocks_setRenderBounds($this, 0.5625, var$16, 0.0, 0.8125, var$17, 0.125); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.5625, var$16, 0.875, 0.8125, var$17, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); } else if ($var8 == 1) { var$16 = $var9; var$21 = $var12; nms_RenderBlocks_setRenderBounds($this, 0.0625, var$16, 0.0, 0.1875, var$21, 0.125); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.0625, var$16, 0.875, 0.1875, var$21, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); var$17 = $var10; nms_RenderBlocks_setRenderBounds($this, 0.1875, var$16, 0.0, 0.4375, var$17, 0.125); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.1875, var$16, 0.875, 0.4375, var$17, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); var$16 = $var11; nms_RenderBlocks_setRenderBounds($this, 0.1875, var$16, 0.0, 0.4375, var$21, 0.125); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.1875, var$16, 0.875, 0.4375, var$21, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); } else if (!$var8) { var$16 = $var9; var$17 = $var12; nms_RenderBlocks_setRenderBounds($this, 0.0, var$16, 0.8125, 0.125, var$17, 0.9375); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.875, var$16, 0.8125, 1.0, var$17, 0.9375); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); var$20 = $var10; nms_RenderBlocks_setRenderBounds($this, 0.0, var$16, 0.5625, 0.125, var$20, 0.8125); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.875, var$16, 0.5625, 1.0, var$20, 0.8125); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); var$16 = $var11; nms_RenderBlocks_setRenderBounds($this, 0.0, var$16, 0.5625, 0.125, var$17, 0.8125); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.875, var$16, 0.5625, 1.0, var$17, 0.8125); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); } else if (!$var6) { var$16 = $var9; var$17 = $var12; nms_RenderBlocks_setRenderBounds($this, 0.0, var$16, 0.0625, 0.125, var$17, 0.1875); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.875, var$16, 0.0625, 1.0, var$17, 0.1875); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); var$20 = $var10; nms_RenderBlocks_setRenderBounds($this, 0.0, var$16, 0.1875, 0.125, var$20, 0.4375); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.875, var$16, 0.1875, 1.0, var$20, 0.4375); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); var$16 = $var11; nms_RenderBlocks_setRenderBounds($this, 0.0, var$16, 0.1875, 0.125, var$17, 0.4375); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); nms_RenderBlocks_setRenderBounds($this, 0.875, var$16, 0.1875, 1.0, var$17, 0.4375); nms_RenderBlocks_renderStandardBlock($this, $par1BlockFenceGate, $par2, $par3, $par4); } } $this.$renderAllFaces = 0; $this.$uvRotateTop = 0; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); return 1; }, nms_RenderBlocks_renderBlockHopper = ($this, $par1BlockHopper, $par2, $par3, $par4) => { let $var5, var$6, var$7, $var13, $var11, var$10, $var6; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; var$6 = $this.$blockAccess; nms_Block_$callClinit(); var$7 = var$6.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[var$6.$getBlockId($par2, $par3, $par4)]); $var5.$hasBrightness = 1; $var5.$brightness = var$7; $var13 = 1.0; nms_EntityRenderer_$callClinit(); if (!nms_EntityRenderer_anaglyphEnable) { $var11 = $var13; var$10 = $var13; } else { $var11 = 1.0; $var13 = 1.0; var$10 = $var13; } $var11 = 1.0 * $var11; var$10 = 1.0 * var$10; $var6 = 1.0 * $var13; nlea_Tessellator_setColorRGBA($var5, $var11 * 255.0 | 0, var$10 * 255.0 | 0, $var6 * 255.0 | 0, 255); return nms_RenderBlocks_renderBlockHopperMetadata($this, $par1BlockHopper, $par2, $par3, $par4, $this.$blockAccess.$getBlockMetadata($par2, $par3, $par4), 0); }, nms_RenderBlocks_renderBlockHopperMetadata = ($this, $par1BlockHopper, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8, $var25, $var24, var$11, var$12, $var18, $var16, $var13, $var11, $var26, $var27, var$19; nlea_Tessellator_$callClinit(); $var7 = nlea_Tessellator_instance; $var8 = $par5 & 7; nms_RenderBlocks_setRenderBounds($this, 0.0, 0.625, 0.0, 1.0, 1.0, 1.0); if (!$par6) nms_RenderBlocks_renderStandardBlock($this, $par1BlockHopper, $par2, $par3, $par4); else { if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 0.0, (-1.0), 0.0); $var25 = $par1BlockHopper.$hopperIcon; if ($var25 === null) { if (jl_System_outCache === null) { $var24 = new otcic_JSStdoutPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); $var24.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); $var24.$sb = var$11; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var24; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var25 === null) a: { b: { $var25 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $var25 = $var25.$textureMapBlocks.$missingImage; break a; } $var25 = $var25.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYNeg($this, $par1BlockHopper, 0.0, 0.0, 0.0, $var25); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 0.0, 1.0, 0.0); $var24 = $par1BlockHopper.$hopperTopIcon; if ($var24 === null) { if (jl_System_outCache === null) { $var25 = new otcic_JSStdoutPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); $var25.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); $var25.$sb = var$11; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var25; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var24 === null) c: { d: { $var25 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break d; default: break d; } $var24 = $var25.$textureMapBlocks.$missingImage; break c; } $var24 = $var25.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYPos($this, $par1BlockHopper, 0.0, 0.0, 0.0, $var24); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 0.0, 0.0, (-1.0)); $var25 = $par1BlockHopper.$hopperIcon; if ($var25 === null) { if (jl_System_outCache === null) { $var24 = new otcic_JSStdoutPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); $var24.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); $var24.$sb = var$11; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var24; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var25 === null) e: { f: { $var25 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break f; default: break f; } $var25 = $var25.$textureMapBlocks.$missingImage; break e; } $var25 = $var25.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZNeg($this, $par1BlockHopper, 0.0, 0.0, 0.0, $var25); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 0.0, 0.0, 1.0); $var24 = $par1BlockHopper.$hopperIcon; if ($var24 === null) { if (jl_System_outCache === null) { $var25 = new otcic_JSStdoutPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); $var25.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); $var25.$sb = var$11; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var25; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var24 === null) g: { h: { $var25 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break h; default: break h; } $var24 = $var25.$textureMapBlocks.$missingImage; break g; } $var24 = $var25.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZPos($this, $par1BlockHopper, 0.0, 0.0, 0.0, $var24); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, (-1.0), 0.0, 0.0); $var24 = $par1BlockHopper.$hopperIcon; if ($var24 === null) { if (jl_System_outCache === null) { $var25 = new otcic_JSStdoutPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); $var25.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); $var25.$sb = var$11; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var25; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var24 === null) i: { j: { $var25 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break j; default: break j; } $var24 = $var25.$textureMapBlocks.$missingImage; break i; } $var24 = $var25.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXNeg($this, $par1BlockHopper, 0.0, 0.0, 0.0, $var24); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 1.0, 0.0, 0.0); $var24 = $par1BlockHopper.$hopperIcon; if ($var24 === null) { if (jl_System_outCache === null) { $var25 = new otcic_JSStdoutPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); $var25.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); $var25.$sb = var$11; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var25; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($var24 === null) k: { l: { $var25 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break l; default: break l; } $var24 = $var25.$textureMapBlocks.$missingImage; break k; } $var24 = $var25.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXPos($this, $par1BlockHopper, 0.0, 0.0, 0.0, $var24); nlea_Tessellator_draw($var7); } if (!$par6) { $var25 = $this.$blockAccess; nms_Block_$callClinit(); var$12 = $var25.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[$var25.$getBlockId($par2, $par3, $par4)]); $var7.$hasBrightness = 1; $var7.$brightness = var$12; $var18 = 1.0; nms_EntityRenderer_$callClinit(); if (!nms_EntityRenderer_anaglyphEnable) { $var16 = $var18; $var13 = $var18; } else { $var16 = 1.0; $var18 = 1.0; $var13 = $var18; } nlea_Tessellator_setColorRGBA($var7, 1.0 * $var16 * 255.0 | 0, 1.0 * $var13 * 255.0 | 0, 1.0 * $var18 * 255.0 | 0, 255); } if ($rt_s(1164) === $rt_s(1164)) $par5 = 1; else if (!($rt_s(1164) instanceof jl_String)) $par5 = 0; else { $var24 = $rt_s(1164); $par5 = $rt_s(1164).$nativeString !== $var24.$nativeString ? 0 : 1; } if ($par5) { nms_Block_$callClinit(); $var24 = nms_Block_hopperBlock.$hopperIcon; } else { if ($rt_s(1164) === $rt_s(1165)) $par5 = 1; else if (!($rt_s(1165) instanceof jl_String)) $par5 = 0; else { $var24 = $rt_s(1165); $par5 = $rt_s(1164).$nativeString !== $var24.$nativeString ? 0 : 1; } if (!$par5) $var24 = null; else { nms_Block_$callClinit(); $var24 = nms_Block_hopperBlock.$hopperInsideIcon; } } if ($rt_s(1165) === $rt_s(1164)) $par5 = 1; else if (!($rt_s(1164) instanceof jl_String)) $par5 = 0; else { var$11 = $rt_s(1164); $par5 = $rt_s(1165).$nativeString !== var$11.$nativeString ? 0 : 1; } if ($par5) { nms_Block_$callClinit(); $var25 = nms_Block_hopperBlock.$hopperIcon; } else { if ($rt_s(1165) === $rt_s(1165)) $par5 = 1; else if (!($rt_s(1165) instanceof jl_String)) $par5 = 0; else { var$11 = $rt_s(1165); $par5 = $rt_s(1165).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!$par5) $var25 = null; else { nms_Block_$callClinit(); $var25 = nms_Block_hopperBlock.$hopperInsideIcon; } } if (!$par6) { $var11 = $par2; $var26 = $var11 - 1.0 + 0.125; $var27 = $par3; var$19 = $par4; nms_RenderBlocks_renderFaceXPos($this, $par1BlockHopper, $var26, $var27, var$19, $var24); nms_RenderBlocks_renderFaceXNeg($this, $par1BlockHopper, $var11 + 1.0 - 0.125, $var27, var$19, $var24); $var26 = $par2; $var11 = $par4; nms_RenderBlocks_renderFaceZPos($this, $par1BlockHopper, $var26, $var27, $var11 - 1.0 + 0.125, $var24); nms_RenderBlocks_renderFaceZNeg($this, $par1BlockHopper, $var26, $var27, $var11 + 1.0 - 0.125, $var24); nms_RenderBlocks_renderFaceYPos($this, $par1BlockHopper, $var26, $par3 - 1.0 + 0.625, var$19, $var25); } else { if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 1.0, 0.0, 0.0); nms_RenderBlocks_renderFaceXPos($this, $par1BlockHopper, (-0.875), 0.0, 0.0, $var24); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, (-1.0), 0.0, 0.0); nms_RenderBlocks_renderFaceXNeg($this, $par1BlockHopper, 0.875, 0.0, 0.0, $var24); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 0.0, 0.0, 1.0); nms_RenderBlocks_renderFaceZPos($this, $par1BlockHopper, 0.0, 0.0, (-0.875), $var24); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 0.0, 0.0, (-1.0)); nms_RenderBlocks_renderFaceZNeg($this, $par1BlockHopper, 0.0, 0.0, 0.875, $var24); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 0.0, 1.0, 0.0); nms_RenderBlocks_renderFaceYPos($this, $par1BlockHopper, 0.0, (-0.375), 0.0, $var25); nlea_Tessellator_draw($var7); } $this.$overrideBlockTexture = $var24; nms_RenderBlocks_setRenderBounds($this, 0.25, 0.25, 0.25, 0.75, 0.623, 0.75); if (!$par6) nms_RenderBlocks_renderStandardBlock($this, $par1BlockHopper, $par2, $par3, $par4); else { if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 1.0, 0.0, 0.0); nms_RenderBlocks_renderFaceXPos($this, $par1BlockHopper, 0.0, 0.0, 0.0, $var24); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, (-1.0), 0.0, 0.0); nms_RenderBlocks_renderFaceXNeg($this, $par1BlockHopper, 0.0, 0.0, 0.0, $var24); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 0.0, 0.0, 1.0); nms_RenderBlocks_renderFaceZPos($this, $par1BlockHopper, 0.0, 0.0, 0.0, $var24); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 0.0, 0.0, (-1.0)); nms_RenderBlocks_renderFaceZNeg($this, $par1BlockHopper, 0.0, 0.0, 0.0, $var24); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 0.0, 1.0, 0.0); nms_RenderBlocks_renderFaceYPos($this, $par1BlockHopper, 0.0, 0.0, 0.0, $var24); nlea_Tessellator_draw($var7); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setNormal($var7, 0.0, (-1.0), 0.0); nms_RenderBlocks_renderFaceYNeg($this, $par1BlockHopper, 0.0, 0.0, 0.0, $var24); nlea_Tessellator_draw($var7); } if (!$par6) { $this.$overrideBlockTexture = $var24; if (!$var8) { nms_RenderBlocks_setRenderBounds($this, 0.375, 0.0, 0.375, 0.625, 0.25, 0.625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockHopper, $par2, $par3, $par4); } if ($var8 == 2) { nms_RenderBlocks_setRenderBounds($this, 0.375, 0.25, 0.0, 0.625, 0.5, 0.25); nms_RenderBlocks_renderStandardBlock($this, $par1BlockHopper, $par2, $par3, $par4); } if ($var8 == 3) { nms_RenderBlocks_setRenderBounds($this, 0.375, 0.25, 0.75, 0.625, 0.5, 1.0); nms_RenderBlocks_renderStandardBlock($this, $par1BlockHopper, $par2, $par3, $par4); } if ($var8 == 4) { nms_RenderBlocks_setRenderBounds($this, 0.0, 0.25, 0.375, 0.25, 0.5, 0.625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockHopper, $par2, $par3, $par4); } if ($var8 == 5) { nms_RenderBlocks_setRenderBounds($this, 0.75, 0.25, 0.375, 1.0, 0.5, 0.625); nms_RenderBlocks_renderStandardBlock($this, $par1BlockHopper, $par2, $par3, $par4); } } $this.$overrideBlockTexture = null; return 1; }, nms_RenderBlocks_renderBlockDoor = ($this, $par1Block, $par2, $par3, $par4) => { let $var5, $var12, $var6, var$8, var$9, var$10, var$11, var$12, var$13, var$14; a: { nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; if (!($this.$blockAccess.$getBlockMetadata($par2, $par3, $par4) & 8)) { if ($this.$blockAccess.$getBlockId($par2, $par3 + 1 | 0, $par4) == $par1Block.$blockID) break a; return 0; } if ($this.$blockAccess.$getBlockId($par2, $par3 - 1 | 0, $par4) != $par1Block.$blockID) return 0; } $var12 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4); $var6 = $this.$renderMinY > 0.0 ? $var12 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3 - 1 | 0, $par4); $var5.$hasBrightness = 1; $var5.$brightness = $var6; nlea_Tessellator_setColorRGBA($var5, 127, 127, 127, 255); var$8 = $par2; var$9 = $par3; var$10 = $par4; var$11 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) b: { c: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break c; default: break c; } var$11 = var$11.$textureMapBlocks.$missingImage; break b; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYNeg($this, $par1Block, var$8, var$9, var$10, var$11); var$14 = $this.$renderMaxY < 1.0 ? $var12 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3 + 1 | 0, $par4); $var5.$hasBrightness = 1; $var5.$brightness = var$14; nlea_Tessellator_setColorRGBA($var5, 255, 255, 255, 255); var$11 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 1); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) d: { e: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break e; default: break e; } var$11 = var$11.$textureMapBlocks.$missingImage; break d; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYPos($this, $par1Block, var$8, var$9, var$10, var$11); var$14 = $this.$renderMinZ > 0.0 ? $var12 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4 - 1 | 0); $var5.$hasBrightness = 1; $var5.$brightness = var$14; nlea_Tessellator_setColorRGBA($var5, 204, 204, 204, 255); var$11 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 2); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) f: { g: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break g; default: break g; } var$11 = var$11.$textureMapBlocks.$missingImage; break f; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZNeg($this, $par1Block, var$8, var$9, var$10, var$11); $this.$flipTexture = 0; var$14 = $this.$renderMaxZ < 1.0 ? $var12 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2, $par3, $par4 + 1 | 0); $var5.$hasBrightness = 1; $var5.$brightness = var$14; nlea_Tessellator_setColorRGBA($var5, 204, 204, 204, 255); var$11 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 3); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) h: { i: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break i; default: break i; } var$11 = var$11.$textureMapBlocks.$missingImage; break h; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZPos($this, $par1Block, var$8, var$9, var$10, var$11); $this.$flipTexture = 0; var$14 = $this.$renderMinX > 0.0 ? $var12 : $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2 - 1 | 0, $par3, $par4); $var5.$hasBrightness = 1; $var5.$brightness = var$14; nlea_Tessellator_setColorRGBA($var5, 153, 153, 153, 255); var$11 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 4); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) j: { k: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break k; default: break k; } var$11 = var$11.$textureMapBlocks.$missingImage; break j; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXNeg($this, $par1Block, var$8, var$9, var$10, var$11); $this.$flipTexture = 0; if ($this.$renderMaxX >= 1.0) $var12 = $par1Block.$getMixedBrightnessForBlock($this.$blockAccess, $par2 + 1 | 0, $par3, $par4); $var5.$hasBrightness = 1; $var5.$brightness = $var12; nlea_Tessellator_setColorRGBA($var5, 153, 153, 153, 255); var$11 = $par1Block.$getBlockTexture($this.$blockAccess, $par2, $par3, $par4, 5); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) l: { m: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break m; default: break m; } var$11 = var$11.$textureMapBlocks.$missingImage; break l; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXPos($this, $par1Block, var$8, var$9, var$10, var$11); $this.$flipTexture = 0; return 1; }, nms_RenderBlocks_renderFaceYNeg = ($this, $par1Block, $par2, $par4, $par6, $par8Icon) => { let $var9, $var10, $var12, $var14, $var16, var$11, var$12, var$13, var$14, var$15, $var26, $var28, $var30, $var32, $var34, var$21; nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; $par1Block = $this.$overrideBlockTexture; if (!($par1Block === null ? 0 : 1)) $par1Block = $par8Icon; $var10 = $par1Block.$getInterpolatedU($this.$renderMinX * 16.0); $var12 = $par1Block.$getInterpolatedU($this.$renderMaxX * 16.0); $var14 = $par1Block.$getInterpolatedV($this.$renderMinZ * 16.0); $var16 = $par1Block.$getInterpolatedV($this.$renderMaxZ * 16.0); if (!($this.$renderMinX >= 0.0 && $this.$renderMaxX <= 1.0)) { $var10 = $par1Block.$getMinU(); $var12 = $par1Block.$getMaxU(); } if (!($this.$renderMinZ >= 0.0 && $this.$renderMaxZ <= 1.0)) { $var14 = $par1Block.$getMinV(); $var16 = $par1Block.$getMaxV(); } var$11 = $this.$uvRotateBottom; if (var$11 == 2) { $var12 = $par1Block.$getInterpolatedU($this.$renderMinZ * 16.0); $var14 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMaxX * 16.0); $var10 = $par1Block.$getInterpolatedU($this.$renderMaxZ * 16.0); $var16 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMinX * 16.0); var$12 = $var12; var$13 = $var16; var$14 = $var10; var$15 = $var14; } else if (var$11 == 1) { $var10 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMaxZ * 16.0); $var16 = $par1Block.$getInterpolatedV($this.$renderMinX * 16.0); $var12 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMinZ * 16.0); $var14 = $par1Block.$getInterpolatedV($this.$renderMaxX * 16.0); var$12 = $var12; var$13 = $var16; var$14 = $var10; var$15 = $var14; } else if (var$11 != 3) { var$12 = $var10; var$13 = $var14; var$14 = $var12; var$15 = $var16; } else { $var10 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMinX * 16.0); $var12 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMaxX * 16.0); $var14 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMinZ * 16.0); $var16 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMaxZ * 16.0); var$12 = $var10; var$13 = $var14; var$14 = $var12; var$15 = $var16; } $var26 = $par2 + $this.$renderMinX; $var28 = $par2 + $this.$renderMaxX; $var30 = $par4 + $this.$renderMinY; $var32 = $par6 + $this.$renderMinZ; $var34 = $par6 + $this.$renderMaxZ; if (!$this.$enableAO) { $var9.$hasTexture = 1; $var9.$textureU = $var10; $var9.$textureV = $var16; nlea_Tessellator_addVertex($var9, $var26, $var30, $var34); $var9.$hasTexture = 1; $var9.$textureU = var$12; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, $var26, $var30, $var32); $var9.$hasTexture = 1; $var9.$textureU = $var12; $var9.$textureV = $var14; nlea_Tessellator_addVertex($var9, $var28, $var30, $var32); $var9.$hasTexture = 1; $var9.$textureU = var$14; $var9.$textureV = var$15; nlea_Tessellator_addVertex($var9, $var28, $var30, $var34); } else { nlea_Tessellator_setColorRGBA($var9, $this.$colorRedTopLeft * 255.0 | 0, $this.$colorGreenTopLeft * 255.0 | 0, $this.$colorBlueTopLeft * 255.0 | 0, 255); var$21 = $this.$brightnessTopLeft; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = $var10; $var9.$textureV = $var16; nlea_Tessellator_addVertex($var9, $var26, $var30, $var34); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedBottomLeft * 255.0 | 0, $this.$colorGreenBottomLeft * 255.0 | 0, $this.$colorBlueBottomLeft * 255.0 | 0, 255); var$21 = $this.$brightnessBottomLeft; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = var$12; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, $var26, $var30, $var32); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedBottomRight * 255.0 | 0, $this.$colorGreenBottomRight * 255.0 | 0, $this.$colorBlueBottomRight * 255.0 | 0, 255); var$21 = $this.$brightnessBottomRight; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = $var12; $var9.$textureV = $var14; nlea_Tessellator_addVertex($var9, $var28, $var30, $var32); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedTopRight * 255.0 | 0, $this.$colorGreenTopRight * 255.0 | 0, $this.$colorBlueTopRight * 255.0 | 0, 255); var$11 = $this.$brightnessTopRight; $var9.$hasBrightness = 1; $var9.$brightness = var$11; $var9.$hasTexture = 1; $var9.$textureU = var$14; $var9.$textureV = var$15; nlea_Tessellator_addVertex($var9, $var28, $var30, $var34); } }, nms_RenderBlocks_renderFaceYPos = ($this, $par1Block, $par2, $par4, $par6, $par8Icon) => { let $var9, $var10, $var12, $var14, $var16, var$11, var$12, var$13, var$14, var$15, $var26, $var28, $var30, $var32, $var34, var$21; nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; $par1Block = $this.$overrideBlockTexture; if (!($par1Block === null ? 0 : 1)) $par1Block = $par8Icon; $var10 = $par1Block.$getInterpolatedU($this.$renderMinX * 16.0); $var12 = $par1Block.$getInterpolatedU($this.$renderMaxX * 16.0); $var14 = $par1Block.$getInterpolatedV($this.$renderMinZ * 16.0); $var16 = $par1Block.$getInterpolatedV($this.$renderMaxZ * 16.0); if (!($this.$renderMinX >= 0.0 && $this.$renderMaxX <= 1.0)) { $var10 = $par1Block.$getMinU(); $var12 = $par1Block.$getMaxU(); } if (!($this.$renderMinZ >= 0.0 && $this.$renderMaxZ <= 1.0)) { $var14 = $par1Block.$getMinV(); $var16 = $par1Block.$getMaxV(); } var$11 = $this.$uvRotateTop; if (var$11 == 1) { $var12 = $par1Block.$getInterpolatedU($this.$renderMinZ * 16.0); $var14 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMaxX * 16.0); $var10 = $par1Block.$getInterpolatedU($this.$renderMaxZ * 16.0); $var16 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMinX * 16.0); var$12 = $var12; var$13 = $var16; var$14 = $var10; var$15 = $var14; } else if (var$11 == 2) { $var10 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMaxZ * 16.0); $var16 = $par1Block.$getInterpolatedV($this.$renderMinX * 16.0); $var12 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMinZ * 16.0); $var14 = $par1Block.$getInterpolatedV($this.$renderMaxX * 16.0); var$12 = $var12; var$13 = $var16; var$14 = $var10; var$15 = $var14; } else if (var$11 != 3) { var$12 = $var10; var$13 = $var14; var$14 = $var12; var$15 = $var16; } else { $var10 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMinX * 16.0); $var12 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMaxX * 16.0); $var14 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMinZ * 16.0); $var16 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMaxZ * 16.0); var$12 = $var10; var$13 = $var14; var$14 = $var12; var$15 = $var16; } $var26 = $par2 + $this.$renderMinX; $var28 = $par2 + $this.$renderMaxX; $var30 = $par4 + $this.$renderMaxY; $var32 = $par6 + $this.$renderMinZ; $var34 = $par6 + $this.$renderMaxZ; if (!$this.$enableAO) { $var9.$hasTexture = 1; $var9.$textureU = var$14; $var9.$textureV = var$15; nlea_Tessellator_addVertex($var9, $var28, $var30, $var34); $var9.$hasTexture = 1; $var9.$textureU = $var12; $var9.$textureV = $var14; nlea_Tessellator_addVertex($var9, $var28, $var30, $var32); $var9.$hasTexture = 1; $var9.$textureU = var$12; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, $var26, $var30, $var32); $var9.$hasTexture = 1; $var9.$textureU = $var10; $var9.$textureV = $var16; nlea_Tessellator_addVertex($var9, $var26, $var30, $var34); } else { nlea_Tessellator_setColorRGBA($var9, $this.$colorRedTopLeft * 255.0 | 0, $this.$colorGreenTopLeft * 255.0 | 0, $this.$colorBlueTopLeft * 255.0 | 0, 255); var$21 = $this.$brightnessTopLeft; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = var$14; $var9.$textureV = var$15; nlea_Tessellator_addVertex($var9, $var28, $var30, $var34); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedBottomLeft * 255.0 | 0, $this.$colorGreenBottomLeft * 255.0 | 0, $this.$colorBlueBottomLeft * 255.0 | 0, 255); var$21 = $this.$brightnessBottomLeft; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = $var12; $var9.$textureV = $var14; nlea_Tessellator_addVertex($var9, $var28, $var30, $var32); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedBottomRight * 255.0 | 0, $this.$colorGreenBottomRight * 255.0 | 0, $this.$colorBlueBottomRight * 255.0 | 0, 255); var$21 = $this.$brightnessBottomRight; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = var$12; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, $var26, $var30, $var32); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedTopRight * 255.0 | 0, $this.$colorGreenTopRight * 255.0 | 0, $this.$colorBlueTopRight * 255.0 | 0, 255); var$11 = $this.$brightnessTopRight; $var9.$hasBrightness = 1; $var9.$brightness = var$11; $var9.$hasTexture = 1; $var9.$textureU = $var10; $var9.$textureV = $var16; nlea_Tessellator_addVertex($var9, $var26, $var30, $var34); } }, nms_RenderBlocks_renderFaceZNeg = ($this, $par1Block, $par2, $par4, $par6, $par8Icon) => { let $var9, $var10, $var12, $var14, $var16, var$11, var$12, var$13, var$14, var$15, $var26, $var28, $var30, $var32, $var34, var$21; nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; $par1Block = $this.$overrideBlockTexture; if (!($par1Block === null ? 0 : 1)) $par1Block = $par8Icon; $var10 = $par1Block.$getInterpolatedU($this.$renderMinX * 16.0); $var12 = $par1Block.$getInterpolatedU($this.$renderMaxX * 16.0); $var14 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMinY * 16.0); if (!$this.$flipTexture) { var$11 = $var12; $var12 = $var10; $var10 = var$11; } if (!($this.$renderMinX >= 0.0 && $this.$renderMaxX <= 1.0)) { $var12 = $par1Block.$getMinU(); $var10 = $par1Block.$getMaxU(); } if (!($this.$renderMinY >= 0.0 && $this.$renderMaxY <= 1.0)) { $var14 = $par1Block.$getMinV(); $var16 = $par1Block.$getMaxV(); } var$12 = $this.$uvRotateEast; if (var$12 == 2) { $var10 = $par1Block.$getInterpolatedU($this.$renderMinY * 16.0); $var14 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMinX * 16.0); $var12 = $par1Block.$getInterpolatedU($this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMaxX * 16.0); var$11 = $var10; var$13 = $var16; var$14 = $var12; var$15 = $var14; } else if (var$12 == 1) { $var12 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV($this.$renderMaxX * 16.0); $var10 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMinY * 16.0); $var14 = $par1Block.$getInterpolatedV($this.$renderMinX * 16.0); var$11 = $var10; var$13 = $var16; var$14 = $var12; var$15 = $var14; } else if (var$12 != 3) { var$11 = $var12; var$13 = $var14; var$14 = $var10; var$15 = $var16; } else { $var12 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMinX * 16.0); $var10 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMaxX * 16.0); $var14 = $par1Block.$getInterpolatedV($this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV($this.$renderMinY * 16.0); var$11 = $var12; var$13 = $var14; var$14 = $var10; var$15 = $var16; } $var26 = $par2 + $this.$renderMinX; $var28 = $par2 + $this.$renderMaxX; $var30 = $par4 + $this.$renderMinY; $var32 = $par4 + $this.$renderMaxY; $var34 = $par6 + $this.$renderMinZ; if (!$this.$enableAO) { $var9.$hasTexture = 1; $var9.$textureU = $var10; $var9.$textureV = $var14; nlea_Tessellator_addVertex($var9, $var26, $var32, $var34); $var9.$hasTexture = 1; $var9.$textureU = var$11; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, $var28, $var32, $var34); $var9.$hasTexture = 1; $var9.$textureU = $var12; $var9.$textureV = $var16; nlea_Tessellator_addVertex($var9, $var28, $var30, $var34); $var9.$hasTexture = 1; $var9.$textureU = var$14; $var9.$textureV = var$15; nlea_Tessellator_addVertex($var9, $var26, $var30, $var34); } else { nlea_Tessellator_setColorRGBA($var9, $this.$colorRedTopLeft * 255.0 | 0, $this.$colorGreenTopLeft * 255.0 | 0, $this.$colorBlueTopLeft * 255.0 | 0, 255); var$21 = $this.$brightnessTopLeft; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = $var10; $var9.$textureV = $var14; nlea_Tessellator_addVertex($var9, $var26, $var32, $var34); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedBottomLeft * 255.0 | 0, $this.$colorGreenBottomLeft * 255.0 | 0, $this.$colorBlueBottomLeft * 255.0 | 0, 255); var$21 = $this.$brightnessBottomLeft; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = var$11; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, $var28, $var32, $var34); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedBottomRight * 255.0 | 0, $this.$colorGreenBottomRight * 255.0 | 0, $this.$colorBlueBottomRight * 255.0 | 0, 255); var$21 = $this.$brightnessBottomRight; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = $var12; $var9.$textureV = $var16; nlea_Tessellator_addVertex($var9, $var28, $var30, $var34); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedTopRight * 255.0 | 0, $this.$colorGreenTopRight * 255.0 | 0, $this.$colorBlueTopRight * 255.0 | 0, 255); var$12 = $this.$brightnessTopRight; $var9.$hasBrightness = 1; $var9.$brightness = var$12; $var9.$hasTexture = 1; $var9.$textureU = var$14; $var9.$textureV = var$15; nlea_Tessellator_addVertex($var9, $var26, $var30, $var34); } }, nms_RenderBlocks_renderFaceZPos = ($this, $par1Block, $par2, $par4, $par6, $par8Icon) => { let $var9, $var10, $var12, $var14, $var16, var$11, var$12, var$13, var$14, var$15, $var26, $var28, $var30, $var32, $var34, var$21; nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; $par1Block = $this.$overrideBlockTexture; if (!($par1Block === null ? 0 : 1)) $par1Block = $par8Icon; $var10 = $par1Block.$getInterpolatedU($this.$renderMinX * 16.0); $var12 = $par1Block.$getInterpolatedU($this.$renderMaxX * 16.0); $var14 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMinY * 16.0); if (!$this.$flipTexture) { var$11 = $var12; $var12 = $var10; $var10 = var$11; } if (!($this.$renderMinX >= 0.0 && $this.$renderMaxX <= 1.0)) { $var12 = $par1Block.$getMinU(); $var10 = $par1Block.$getMaxU(); } if (!($this.$renderMinY >= 0.0 && $this.$renderMaxY <= 1.0)) { $var14 = $par1Block.$getMinV(); $var16 = $par1Block.$getMaxV(); } var$12 = $this.$uvRotateWest; if (var$12 == 1) { $var10 = $par1Block.$getInterpolatedU($this.$renderMinY * 16.0); $var16 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMinX * 16.0); $var12 = $par1Block.$getInterpolatedU($this.$renderMaxY * 16.0); $var14 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMaxX * 16.0); var$11 = $var10; var$13 = $var14; var$14 = $var12; var$15 = $var16; } else if (var$12 == 2) { $var12 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV($this.$renderMinX * 16.0); $var10 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMinY * 16.0); $var14 = $par1Block.$getInterpolatedV($this.$renderMaxX * 16.0); var$11 = $var10; var$13 = $var14; var$14 = $var12; var$15 = $var16; } else if (var$12 != 3) { var$11 = $var12; var$13 = $var16; var$14 = $var10; var$15 = $var14; } else { $var12 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMinX * 16.0); $var10 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMaxX * 16.0); $var14 = $par1Block.$getInterpolatedV($this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV($this.$renderMinY * 16.0); var$11 = $var12; var$13 = $var16; var$14 = $var10; var$15 = $var14; } $var26 = $par2 + $this.$renderMinX; $var28 = $par2 + $this.$renderMaxX; $var30 = $par4 + $this.$renderMinY; $var32 = $par4 + $this.$renderMaxY; $var34 = $par6 + $this.$renderMaxZ; if (!$this.$enableAO) { $var9.$hasTexture = 1; $var9.$textureU = var$11; $var9.$textureV = var$15; nlea_Tessellator_addVertex($var9, $var26, $var32, $var34); $var9.$hasTexture = 1; $var9.$textureU = $var12; $var9.$textureV = $var16; nlea_Tessellator_addVertex($var9, $var26, $var30, $var34); $var9.$hasTexture = 1; $var9.$textureU = var$14; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, $var28, $var30, $var34); $var9.$hasTexture = 1; $var9.$textureU = $var10; $var9.$textureV = $var14; nlea_Tessellator_addVertex($var9, $var28, $var32, $var34); } else { nlea_Tessellator_setColorRGBA($var9, $this.$colorRedTopLeft * 255.0 | 0, $this.$colorGreenTopLeft * 255.0 | 0, $this.$colorBlueTopLeft * 255.0 | 0, 255); var$21 = $this.$brightnessTopLeft; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = var$11; $var9.$textureV = var$15; nlea_Tessellator_addVertex($var9, $var26, $var32, $var34); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedBottomLeft * 255.0 | 0, $this.$colorGreenBottomLeft * 255.0 | 0, $this.$colorBlueBottomLeft * 255.0 | 0, 255); var$21 = $this.$brightnessBottomLeft; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = $var12; $var9.$textureV = $var16; nlea_Tessellator_addVertex($var9, $var26, $var30, $var34); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedBottomRight * 255.0 | 0, $this.$colorGreenBottomRight * 255.0 | 0, $this.$colorBlueBottomRight * 255.0 | 0, 255); var$12 = $this.$brightnessBottomRight; $var9.$hasBrightness = 1; $var9.$brightness = var$12; $var9.$hasTexture = 1; $var9.$textureU = var$14; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, $var28, $var30, $var34); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedTopRight * 255.0 | 0, $this.$colorGreenTopRight * 255.0 | 0, $this.$colorBlueTopRight * 255.0 | 0, 255); var$12 = $this.$brightnessTopRight; $var9.$hasBrightness = 1; $var9.$brightness = var$12; $var9.$hasTexture = 1; $var9.$textureU = $var10; $var9.$textureV = $var14; nlea_Tessellator_addVertex($var9, $var28, $var32, $var34); } }, nms_RenderBlocks_renderFaceXNeg = ($this, $par1Block, $par2, $par4, $par6, $par8Icon) => { let $var9, $var10, $var12, $var14, $var16, var$11, var$12, var$13, var$14, var$15, $var26, $var28, $var30, $var32, $var34, var$21; nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; $par1Block = $this.$overrideBlockTexture; if (!($par1Block === null ? 0 : 1)) $par1Block = $par8Icon; $var10 = $par1Block.$getInterpolatedU($this.$renderMinZ * 16.0); $var12 = $par1Block.$getInterpolatedU($this.$renderMaxZ * 16.0); $var14 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMinY * 16.0); if (!$this.$flipTexture) { var$11 = $var12; $var12 = $var10; $var10 = var$11; } if (!($this.$renderMinZ >= 0.0 && $this.$renderMaxZ <= 1.0)) { $var12 = $par1Block.$getMinU(); $var10 = $par1Block.$getMaxU(); } if (!($this.$renderMinY >= 0.0 && $this.$renderMaxY <= 1.0)) { $var14 = $par1Block.$getMinV(); $var16 = $par1Block.$getMaxV(); } var$12 = $this.$uvRotateNorth; if (var$12 == 1) { $var10 = $par1Block.$getInterpolatedU($this.$renderMinY * 16.0); $var14 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMaxZ * 16.0); $var12 = $par1Block.$getInterpolatedU($this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMinZ * 16.0); var$13 = $var10; var$14 = $var16; var$11 = $var12; var$15 = $var14; } else if (var$12 == 2) { $var12 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV($this.$renderMinZ * 16.0); $var10 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMinY * 16.0); $var14 = $par1Block.$getInterpolatedV($this.$renderMaxZ * 16.0); var$13 = $var10; var$14 = $var16; var$11 = $var12; var$15 = $var14; } else if (var$12 != 3) { var$13 = $var12; var$14 = $var14; var$11 = $var10; var$15 = $var16; } else { $var12 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMinZ * 16.0); $var10 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMaxZ * 16.0); $var14 = $par1Block.$getInterpolatedV($this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV($this.$renderMinY * 16.0); var$13 = $var12; var$14 = $var14; var$11 = $var10; var$15 = $var16; } $var26 = $par2 + $this.$renderMinX; $var28 = $par4 + $this.$renderMinY; $var30 = $par4 + $this.$renderMaxY; $var32 = $par6 + $this.$renderMinZ; $var34 = $par6 + $this.$renderMaxZ; if (!$this.$enableAO) { $var9.$hasTexture = 1; $var9.$textureU = $var10; $var9.$textureV = $var14; nlea_Tessellator_addVertex($var9, $var26, $var30, $var34); $var9.$hasTexture = 1; $var9.$textureU = var$13; $var9.$textureV = var$14; nlea_Tessellator_addVertex($var9, $var26, $var30, $var32); $var9.$hasTexture = 1; $var9.$textureU = $var12; $var9.$textureV = $var16; nlea_Tessellator_addVertex($var9, $var26, $var28, $var32); $var9.$hasTexture = 1; $var9.$textureU = var$11; $var9.$textureV = var$15; nlea_Tessellator_addVertex($var9, $var26, $var28, $var34); } else { nlea_Tessellator_setColorRGBA($var9, $this.$colorRedTopLeft * 255.0 | 0, $this.$colorGreenTopLeft * 255.0 | 0, $this.$colorBlueTopLeft * 255.0 | 0, 255); var$21 = $this.$brightnessTopLeft; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = $var10; $var9.$textureV = $var14; nlea_Tessellator_addVertex($var9, $var26, $var30, $var34); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedBottomLeft * 255.0 | 0, $this.$colorGreenBottomLeft * 255.0 | 0, $this.$colorBlueBottomLeft * 255.0 | 0, 255); var$21 = $this.$brightnessBottomLeft; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = var$13; $var9.$textureV = var$14; nlea_Tessellator_addVertex($var9, $var26, $var30, $var32); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedBottomRight * 255.0 | 0, $this.$colorGreenBottomRight * 255.0 | 0, $this.$colorBlueBottomRight * 255.0 | 0, 255); var$21 = $this.$brightnessBottomRight; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = $var12; $var9.$textureV = $var16; nlea_Tessellator_addVertex($var9, $var26, $var28, $var32); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedTopRight * 255.0 | 0, $this.$colorGreenTopRight * 255.0 | 0, $this.$colorBlueTopRight * 255.0 | 0, 255); var$12 = $this.$brightnessTopRight; $var9.$hasBrightness = 1; $var9.$brightness = var$12; $var9.$hasTexture = 1; $var9.$textureU = var$11; $var9.$textureV = var$15; nlea_Tessellator_addVertex($var9, $var26, $var28, $var34); } }, nms_RenderBlocks_renderFaceXPos = ($this, $par1Block, $par2, $par4, $par6, $par8Icon) => { let $var9, $var10, $var12, $var14, $var16, var$11, var$12, var$13, var$14, var$15, $var26, $var28, $var30, $var32, $var34, var$21; nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; $par1Block = $this.$overrideBlockTexture; if (!($par1Block === null ? 0 : 1)) $par1Block = $par8Icon; $var10 = $par1Block.$getInterpolatedU($this.$renderMinZ * 16.0); $var12 = $par1Block.$getInterpolatedU($this.$renderMaxZ * 16.0); $var14 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMinY * 16.0); if (!$this.$flipTexture) { var$11 = $var12; $var12 = $var10; $var10 = var$11; } if (!($this.$renderMinZ >= 0.0 && $this.$renderMaxZ <= 1.0)) { $var12 = $par1Block.$getMinU(); $var10 = $par1Block.$getMaxU(); } if (!($this.$renderMinY >= 0.0 && $this.$renderMaxY <= 1.0)) { $var14 = $par1Block.$getMinV(); $var16 = $par1Block.$getMaxV(); } var$12 = $this.$uvRotateSouth; if (var$12 == 2) { $var10 = $par1Block.$getInterpolatedU($this.$renderMinY * 16.0); $var14 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMinZ * 16.0); $var12 = $par1Block.$getInterpolatedU($this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV(16.0 - $this.$renderMaxZ * 16.0); var$13 = $var10; var$14 = $var16; var$11 = $var12; var$15 = $var14; } else if (var$12 == 1) { $var12 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV($this.$renderMaxZ * 16.0); $var10 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMinY * 16.0); $var14 = $par1Block.$getInterpolatedV($this.$renderMinZ * 16.0); var$13 = $var10; var$14 = $var16; var$11 = $var12; var$15 = $var14; } else if (var$12 != 3) { var$13 = $var12; var$14 = $var14; var$11 = $var10; var$15 = $var16; } else { $var12 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMinZ * 16.0); $var10 = $par1Block.$getInterpolatedU(16.0 - $this.$renderMaxZ * 16.0); $var14 = $par1Block.$getInterpolatedV($this.$renderMaxY * 16.0); $var16 = $par1Block.$getInterpolatedV($this.$renderMinY * 16.0); var$13 = $var12; var$14 = $var14; var$11 = $var10; var$15 = $var16; } $var26 = $par2 + $this.$renderMaxX; $var28 = $par4 + $this.$renderMinY; $var30 = $par4 + $this.$renderMaxY; $var32 = $par6 + $this.$renderMinZ; $var34 = $par6 + $this.$renderMaxZ; if (!$this.$enableAO) { $var9.$hasTexture = 1; $var9.$textureU = $var12; $var9.$textureV = $var16; nlea_Tessellator_addVertex($var9, $var26, $var28, $var34); $var9.$hasTexture = 1; $var9.$textureU = var$11; $var9.$textureV = var$15; nlea_Tessellator_addVertex($var9, $var26, $var28, $var32); $var9.$hasTexture = 1; $var9.$textureU = $var10; $var9.$textureV = $var14; nlea_Tessellator_addVertex($var9, $var26, $var30, $var32); $var9.$hasTexture = 1; $var9.$textureU = var$13; $var9.$textureV = var$14; nlea_Tessellator_addVertex($var9, $var26, $var30, $var34); } else { nlea_Tessellator_setColorRGBA($var9, $this.$colorRedTopLeft * 255.0 | 0, $this.$colorGreenTopLeft * 255.0 | 0, $this.$colorBlueTopLeft * 255.0 | 0, 255); var$21 = $this.$brightnessTopLeft; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = $var12; $var9.$textureV = $var16; nlea_Tessellator_addVertex($var9, $var26, $var28, $var34); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedBottomLeft * 255.0 | 0, $this.$colorGreenBottomLeft * 255.0 | 0, $this.$colorBlueBottomLeft * 255.0 | 0, 255); var$21 = $this.$brightnessBottomLeft; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = var$11; $var9.$textureV = var$15; nlea_Tessellator_addVertex($var9, $var26, $var28, $var32); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedBottomRight * 255.0 | 0, $this.$colorGreenBottomRight * 255.0 | 0, $this.$colorBlueBottomRight * 255.0 | 0, 255); var$21 = $this.$brightnessBottomRight; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = $var10; $var9.$textureV = $var14; nlea_Tessellator_addVertex($var9, $var26, $var30, $var32); nlea_Tessellator_setColorRGBA($var9, $this.$colorRedTopRight * 255.0 | 0, $this.$colorGreenTopRight * 255.0 | 0, $this.$colorBlueTopRight * 255.0 | 0, 255); var$21 = $this.$brightnessTopRight; $var9.$hasBrightness = 1; $var9.$brightness = var$21; $var9.$hasTexture = 1; $var9.$textureU = var$13; $var9.$textureV = var$14; nlea_Tessellator_addVertex($var9, $var26, $var30, $var34); } }, nms_RenderBlocks_renderBlockAsItem = ($this, $par1Block, $par2, $par3) => { let $var4, $var6, $var5, $var7, $var8, $var9, $var14, var$11, var$12, var$13, $var15, $var16, $var17, $var11, $var12, $var13, var$20, var$21, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var14 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Block = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_Tessellator_$callClinit(); $var4 = nlea_Tessellator_instance; $var6 = $par1Block.$blockID; nms_Block_$callClinit(); $var5 = $var6 != nms_Block_grass.$blockID ? 0 : 1; nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9728); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9728); if (!($par1Block !== nms_Block_dispenser && $par1Block !== nms_Block_dropper && $par1Block !== nms_Block_furnaceIdle)) $par2 = 3; if ($this.$useInventoryTint) { $var6 = $par1Block.$getRenderColor($par2); if ($var5) $var6 = 16777215; $var7 = ($var6 >> 16 & 255) / 255.0; $var8 = ($var6 >> 8 & 255) / 255.0; $var9 = ($var6 & 255) / 255.0; $var7 = $var7 * $par3; $var8 = $var8 * $par3; $var9 = $var9 * $par3; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var7; nleg_EaglerAdapterGL30_colorG = $var8; nleg_EaglerAdapterGL30_colorB = $var9; nleg_EaglerAdapterGL30_colorA = 1.0; } a: { $var6 = $par1Block.$getRenderType(); nms_RenderBlocks_setRenderBoundsFromBlock($this, $par1Block); if (!($var6 && $var6 != 31 && $var6 != 39 && $var6 != 16 && $var6 != 26)) { if ($var6 == 16) $par2 = 1; $par1Block.$setBlockBoundsForItemRender(); nms_RenderBlocks_setRenderBoundsFromBlock($this, $par1Block); nleg_EaglerAdapterGL30_glRotatef(90.0, 0.0, 1.0, 0.0); nleg_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, (-1.0), 0.0); nms_RenderBlocks_renderFaceYNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 0, $par2)); nlea_Tessellator_draw($var4); if ($var5 && $this.$useInventoryTint) { $var14 = $par1Block.$getRenderColor($par2); nleg_EaglerAdapterGL30_glColor4f(($var14 >> 16 & 255) / 255.0 * $par3, ($var14 >> 8 & 255) / 255.0 * $par3, ($var14 & 255) / 255.0 * $par3, 1.0); } nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 1.0, 0.0); nms_RenderBlocks_renderFaceYPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 1, $par2)); nlea_Tessellator_draw($var4); if ($var5 && $this.$useInventoryTint) nleg_EaglerAdapterGL30_glColor4f($par3, $par3, $par3, 1.0); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 0.0, (-1.0)); nms_RenderBlocks_renderFaceZNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 2, $par2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 0.0, 1.0); nms_RenderBlocks_renderFaceZPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 3, $par2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, (-1.0), 0.0, 0.0); nms_RenderBlocks_renderFaceXNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 4, $par2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 1.0, 0.0, 0.0); nms_RenderBlocks_renderFaceXPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 5, $par2)); nlea_Tessellator_draw($var4); nleg_EaglerAdapterGL30_glTranslatef(0.5, 0.5, 0.5); break a; } if ($var6 == 1) { if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 0.0, (-1.0), 0.0); nms_RenderBlocks_drawCrossedSquares($this, $par1Block, $par2, (-0.5), (-0.5), (-0.5), 1.0); nlea_Tessellator_draw($var4); break a; } if ($var6 == 19) { if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 0.0, (-1.0), 0.0); $par1Block.$setBlockBoundsForItemRender(); nms_RenderBlocks_renderBlockStemSmall($this, $par1Block, $par2, $this.$renderMaxY, (-0.5), (-0.5), (-0.5)); nlea_Tessellator_draw($var4); break a; } if ($var6 == 23) { if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 0.0, (-1.0), 0.0); $par1Block.$setBlockBoundsForItemRender(); nlea_Tessellator_draw($var4); break a; } if ($var6 == 13) { $par1Block.$setBlockBoundsForItemRender(); var$11 = nleg_EaglerAdapterGL30_deevis; var$11.$x = (-0.5); var$11.$y = (-0.5); var$11.$z = (-0.5); var$11 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$11, var$11); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$11 = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); var$11.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); var$11.$sb = var$12; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$11; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 0.0, (-1.0), 0.0); var$11 = $par1Block.$getIcon(0, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) b: { c: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break c; default: break c; } var$11 = var$11.$textureMapBlocks.$missingImage; break b; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYNeg($this, $par1Block, 0.0, 0.0, 0.0, var$11); nlea_Tessellator_draw($var4); if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 0.0, 1.0, 0.0); var$11 = $par1Block.$getIcon(1, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) d: { e: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break e; default: break e; } var$11 = var$11.$textureMapBlocks.$missingImage; break d; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYPos($this, $par1Block, 0.0, 0.0, 0.0, var$11); nlea_Tessellator_draw($var4); if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 0.0, 0.0, (-1.0)); $var4.$xOffset = $var4.$xOffset + 0.0; $var4.$yOffset0 = $var4.$yOffset0 + 0.0; $var4.$zOffset = $var4.$zOffset + 0.0625; var$11 = $par1Block.$getIcon(2, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) f: { g: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break g; default: break g; } var$11 = var$11.$textureMapBlocks.$missingImage; break f; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZNeg($this, $par1Block, 0.0, 0.0, 0.0, var$11); $var4.$xOffset = $var4.$xOffset + 0.0; $var4.$yOffset0 = $var4.$yOffset0 + 0.0; $var4.$zOffset = $var4.$zOffset + (-0.0625); nlea_Tessellator_draw($var4); if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 0.0, 0.0, 1.0); $var4.$xOffset = $var4.$xOffset + 0.0; $var4.$yOffset0 = $var4.$yOffset0 + 0.0; $var4.$zOffset = $var4.$zOffset + (-0.0625); var$11 = $par1Block.$getIcon(3, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) h: { i: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break i; default: break i; } var$11 = var$11.$textureMapBlocks.$missingImage; break h; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZPos($this, $par1Block, 0.0, 0.0, 0.0, var$11); $var4.$xOffset = $var4.$xOffset + 0.0; $var4.$yOffset0 = $var4.$yOffset0 + 0.0; $var4.$zOffset = $var4.$zOffset + 0.0625; nlea_Tessellator_draw($var4); if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, (-1.0), 0.0, 0.0); $var4.$xOffset = $var4.$xOffset + 0.0625; $var4.$yOffset0 = $var4.$yOffset0 + 0.0; $var4.$zOffset = $var4.$zOffset + 0.0; var$11 = $par1Block.$getIcon(4, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) j: { k: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break k; default: break k; } var$11 = var$11.$textureMapBlocks.$missingImage; break j; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXNeg($this, $par1Block, 0.0, 0.0, 0.0, var$11); $var4.$xOffset = $var4.$xOffset + (-0.0625); $var4.$yOffset0 = $var4.$yOffset0 + 0.0; $var4.$zOffset = $var4.$zOffset + 0.0; nlea_Tessellator_draw($var4); if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 1.0, 0.0, 0.0); $var4.$xOffset = $var4.$xOffset + (-0.0625); $var4.$yOffset0 = $var4.$yOffset0 + 0.0; $var4.$zOffset = $var4.$zOffset + 0.0; var$11 = $par1Block.$getIcon(5, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) l: { m: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break m; default: break m; } var$11 = var$11.$textureMapBlocks.$missingImage; break l; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXPos($this, $par1Block, 0.0, 0.0, 0.0, var$11); $var4.$xOffset = $var4.$xOffset + 0.0625; $var4.$yOffset0 = $var4.$yOffset0 + 0.0; $var4.$zOffset = $var4.$zOffset + 0.0; nlea_Tessellator_draw($var4); $par1Block = nleg_EaglerAdapterGL30_deevis; $par1Block.$x = 0.5; $par1Block.$y = 0.5; $par1Block.$z = 0.5; $par1Block = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Block, $par1Block); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Block = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); $par1Block.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); $par1Block.$sb = var$11; $par1Block.$buffer0 = $rt_createCharArray(32); $par1Block.$autoFlush = 0; $par1Block.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Block; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break a; } if ($var6 == 22) { var$11 = nleg_EaglerAdapterGL30_deevis; var$11.$x = 0.0; var$11.$y = 1.0; var$11.$z = 0.0; var$11 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.5707963705062866, nleg_EaglerAdapterGL30_deevis, var$11, var$11); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$11 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; $var4.$buf = $rt_createByteArray(32); var$11.$out0 = $var4; $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); var$11.$sb = $var4; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$11; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$11 = nleg_EaglerAdapterGL30_deevis; var$11.$x = (-0.5); var$11.$y = (-0.5); var$11.$z = (-0.5); var$11 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$11, var$11); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$11 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; $var4.$buf = $rt_createByteArray(32); var$11.$out0 = $var4; $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); var$11.$sb = $var4; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$11; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ChestItemRenderHelper_$callClinit(); var$11 = nms_ChestItemRenderHelper_instance; $ptr = 1; continue main; } if ($var6 == 6) { if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 0.0, (-1.0), 0.0); nms_RenderBlocks_renderBlockCropsImpl($this, $par1Block, $par2, (-0.5), (-0.5), (-0.5)); nlea_Tessellator_draw($var4); break a; } if ($var6 == 2) { if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 0.0, (-1.0), 0.0); nms_RenderBlocks_renderTorchAtAngle($this, $par1Block, (-0.5), (-0.5), (-0.5), 0.0, 0.0, 0); nlea_Tessellator_draw($var4); break a; } if ($var6 != 10) { if ($var6 != 27) { if ($var6 == 11) { $var14 = 0; while ($var14 < 4) { if (!$var14) nms_RenderBlocks_setRenderBounds($this, 0.375, 0.0, 0.0, 0.625, 1.0, 0.25); if ($var14 == 1) nms_RenderBlocks_setRenderBounds($this, 0.375, 0.0, 0.75, 0.625, 1.0, 1.0); if ($var14 == 2) nms_RenderBlocks_setRenderBounds($this, 0.4375, 0.8125, (-0.125), 0.5625, 0.9375, 1.125); if ($var14 == 3) nms_RenderBlocks_setRenderBounds($this, 0.4375, 0.3125, (-0.125), 0.5625, 0.4375, 1.125); nleg_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, (-1.0), 0.0); nms_RenderBlocks_renderFaceYNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSide($this, $par1Block, 0)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 1.0, 0.0); nms_RenderBlocks_renderFaceYPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSide($this, $par1Block, 1)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 0.0, (-1.0)); nms_RenderBlocks_renderFaceZNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSide($this, $par1Block, 2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 0.0, 1.0); nms_RenderBlocks_renderFaceZPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSide($this, $par1Block, 3)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, (-1.0), 0.0, 0.0); nms_RenderBlocks_renderFaceXNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSide($this, $par1Block, 4)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 1.0, 0.0, 0.0); nms_RenderBlocks_renderFaceXPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSide($this, $par1Block, 5)); nlea_Tessellator_draw($var4); nleg_EaglerAdapterGL30_glTranslatef(0.5, 0.5, 0.5); $var14 = $var14 + 1 | 0; } nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); break a; } if ($var6 == 21) { $var14 = 0; while (true) { if ($var14 >= 3) break a; if (!$var14) nms_RenderBlocks_setRenderBounds($this, 0.4375, 0.30000001192092896, 0.0, 0.5625, 1.0, 0.125); if ($var14 == 1) nms_RenderBlocks_setRenderBounds($this, 0.4375, 0.30000001192092896, 0.875, 0.5625, 1.0, 1.0); if ($var14 == 2) nms_RenderBlocks_setRenderBounds($this, 0.4375, 0.5, 0.0, 0.5625, 0.9375, 1.0); nleg_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, (-1.0), 0.0); nms_RenderBlocks_renderFaceYNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSide($this, $par1Block, 0)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 1.0, 0.0); nms_RenderBlocks_renderFaceYPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSide($this, $par1Block, 1)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 0.0, (-1.0)); nms_RenderBlocks_renderFaceZNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSide($this, $par1Block, 2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 0.0, 1.0); nms_RenderBlocks_renderFaceZPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSide($this, $par1Block, 3)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, (-1.0), 0.0, 0.0); nms_RenderBlocks_renderFaceXNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSide($this, $par1Block, 4)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 1.0, 0.0, 0.0); nms_RenderBlocks_renderFaceXPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSide($this, $par1Block, 5)); nlea_Tessellator_draw($var4); nleg_EaglerAdapterGL30_glTranslatef(0.5, 0.5, 0.5); $var14 = $var14 + 1 | 0; } } if ($var6 == 32) { $var14 = 0; while ($var14 < 2) { if (!$var14) nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.3125, 1.0, 0.8125, 0.6875); if ($var14 == 1) nms_RenderBlocks_setRenderBounds($this, 0.25, 0.0, 0.25, 0.75, 1.0, 0.75); nleg_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, (-1.0), 0.0); nms_RenderBlocks_renderFaceYNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 0, $par2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 1.0, 0.0); nms_RenderBlocks_renderFaceYPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 1, $par2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 0.0, (-1.0)); nms_RenderBlocks_renderFaceZNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 2, $par2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 0.0, 1.0); nms_RenderBlocks_renderFaceZPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 3, $par2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, (-1.0), 0.0, 0.0); nms_RenderBlocks_renderFaceXNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 4, $par2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 1.0, 0.0, 0.0); nms_RenderBlocks_renderFaceXPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 5, $par2)); nlea_Tessellator_draw($var4); nleg_EaglerAdapterGL30_glTranslatef(0.5, 0.5, 0.5); $var14 = $var14 + 1 | 0; } nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); break a; } if ($var6 == 35) { nleg_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); nms_RenderBlocks_renderBlockAnvilOrient($this, $par1Block, 0, 0, 0, $par2, 1); nleg_EaglerAdapterGL30_glTranslatef(0.5, 0.5, 0.5); break a; } if ($var6 != 34) { if ($var6 != 38) break a; nleg_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); nms_RenderBlocks_renderBlockHopperMetadata($this, $par1Block, 0, 0, 0, 0, 1); nleg_EaglerAdapterGL30_glTranslatef(0.5, 0.5, 0.5); break a; } $var14 = 0; while ($var14 < 3) { if (!$var14) { nms_RenderBlocks_setRenderBounds($this, 0.125, 0.0, 0.125, 0.875, 0.1875, 0.875); nms_RenderBlocks_setOverrideBlockTexture($this, nms_RenderBlocks_getBlockIcon0($this, nms_Block_obsidian)); } else if ($var14 == 1) { nms_RenderBlocks_setRenderBounds($this, 0.1875, 0.1875, 0.1875, 0.8125, 0.875, 0.8125); nms_RenderBlocks_setOverrideBlockTexture($this, nms_RenderBlocks_getBlockIcon0($this, nms_Block_beacon)); } else if ($var14 == 2) { nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); nms_RenderBlocks_setOverrideBlockTexture($this, nms_RenderBlocks_getBlockIcon0($this, nms_Block_glass)); } nleg_EaglerAdapterGL30_glTranslatef((-0.5), (-0.5), (-0.5)); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, (-1.0), 0.0); nms_RenderBlocks_renderFaceYNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 0, $par2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 1.0, 0.0); nms_RenderBlocks_renderFaceYPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 1, $par2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 0.0, (-1.0)); nms_RenderBlocks_renderFaceZNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 2, $par2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 0.0, 0.0, 1.0); nms_RenderBlocks_renderFaceZPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 3, $par2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, (-1.0), 0.0, 0.0); nms_RenderBlocks_renderFaceXNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 4, $par2)); nlea_Tessellator_draw($var4); nlea_Tessellator_startDrawingQuads($var4); nlea_Tessellator_setNormal($var4, 1.0, 0.0, 0.0); nms_RenderBlocks_renderFaceXPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSideAndMetadata($this, $par1Block, 5, $par2)); nlea_Tessellator_draw($var4); nleg_EaglerAdapterGL30_glTranslatef(0.5, 0.5, 0.5); $var14 = $var14 + 1 | 0; } nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); nms_RenderBlocks_clearOverrideBlockTexture($this); break a; } $var14 = 0; var$11 = nleg_EaglerAdapterGL30_deevis; var$11.$x = (-0.5); var$11.$y = (-0.5); var$11.$z = (-0.5); var$11 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$11, var$11); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$11 = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); var$11.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); var$11.$sb = var$12; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$11; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; $var15 = 0; while ($var15 < 8) { $var16 = 0; $var17 = 1; if (!$var15) $var16 = 2; if ($var15 == 1) $var16 = 3; if ($var15 == 2) $var16 = 4; if ($var15 == 3) { $var16 = 5; $var17 = 2; } if ($var15 == 4) { $var16 = 6; $var17 = 3; } if ($var15 == 5) { $var16 = 7; $var17 = 5; } if ($var15 == 6) { $var16 = 6; $var17 = 2; } if ($var15 == 7) $var16 = 3; $var11 = $var16 / 16.0; $var12 = 1.0 - $var14 / 16.0; $var14 = $var14 + $var17 | 0; $var13 = 1.0 - $var14 / 16.0; var$20 = 0.5 - $var11; var$21 = $var13; var$22 = 0.5 + $var11; nms_RenderBlocks_setRenderBounds($this, var$20, var$21, var$20, var$22, $var12, var$22); nlea_Tessellator_setNormal($var4, 0.0, (-1.0), 0.0); var$11 = $par1Block.$getIcon(0, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$23 = new otcic_JSStdoutPrintStream; var$24 = new ji_ByteArrayOutputStream; var$24.$buf = $rt_createByteArray(32); var$23.$out0 = var$24; var$24 = new jl_StringBuilder; var$24.$buffer = $rt_createCharArray(16); var$23.$sb = var$24; var$23.$buffer0 = $rt_createCharArray(32); var$23.$autoFlush = 0; var$23.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$23; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) n: { o: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break o; default: break o; } var$11 = var$11.$textureMapBlocks.$missingImage; break n; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYNeg($this, $par1Block, 0.0, 0.0, 0.0, var$11); nlea_Tessellator_setNormal($var4, 0.0, 1.0, 0.0); var$11 = $par1Block.$getIcon(1, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$23 = new otcic_JSStdoutPrintStream; var$24 = new ji_ByteArrayOutputStream; var$24.$buf = $rt_createByteArray(32); var$23.$out0 = var$24; var$24 = new jl_StringBuilder; var$24.$buffer = $rt_createCharArray(16); var$23.$sb = var$24; var$23.$buffer0 = $rt_createCharArray(32); var$23.$autoFlush = 0; var$23.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$23; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) p: { q: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break q; default: break q; } var$11 = var$11.$textureMapBlocks.$missingImage; break p; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYPos($this, $par1Block, 0.0, 0.0, 0.0, var$11); nlea_Tessellator_setNormal($var4, 0.0, 0.0, (-1.0)); var$11 = $par1Block.$getIcon(2, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$23 = new otcic_JSStdoutPrintStream; var$24 = new ji_ByteArrayOutputStream; var$24.$buf = $rt_createByteArray(32); var$23.$out0 = var$24; var$24 = new jl_StringBuilder; var$24.$buffer = $rt_createCharArray(16); var$23.$sb = var$24; var$23.$buffer0 = $rt_createCharArray(32); var$23.$autoFlush = 0; var$23.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$23; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) r: { s: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break s; default: break s; } var$11 = var$11.$textureMapBlocks.$missingImage; break r; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZNeg($this, $par1Block, 0.0, 0.0, 0.0, var$11); nlea_Tessellator_setNormal($var4, 0.0, 0.0, 1.0); nms_RenderBlocks_renderFaceZPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getIconSafe($this, $par1Block.$getIcon(3, 0))); nlea_Tessellator_setNormal($var4, (-1.0), 0.0, 0.0); nms_RenderBlocks_renderFaceXNeg($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getIconSafe($this, nms_Block_getBlockTextureFromSide($par1Block, 4))); nlea_Tessellator_setNormal($var4, 1.0, 0.0, 0.0); nms_RenderBlocks_renderFaceXPos($this, $par1Block, 0.0, 0.0, 0.0, nms_RenderBlocks_getBlockIconFromSide($this, $par1Block, 5)); $var15 = $var15 + 1 | 0; } nlea_Tessellator_draw($var4); $par1Block = nleg_EaglerAdapterGL30_deevis; $par1Block.$x = 0.5; $par1Block.$y = 0.5; $par1Block.$z = 0.5; $par1Block = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Block, $par1Block); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Block = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); $par1Block.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); $par1Block.$sb = var$11; $par1Block.$buffer0 = $rt_createCharArray(32); $par1Block.$autoFlush = 0; $par1Block.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Block; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0); break a; } $var14 = 0; while (true) { if ($var14 >= 2) break a; if (!$var14) nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.0, 1.0, 1.0, 0.5); if ($var14 == 1) nms_RenderBlocks_setRenderBounds($this, 0.0, 0.0, 0.5, 1.0, 0.5, 1.0); var$11 = nleg_EaglerAdapterGL30_deevis; var$11.$x = (-0.5); var$11.$y = (-0.5); var$11.$z = (-0.5); var$11 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$11, var$11); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$11 = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); var$11.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); var$11.$sb = var$12; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$11; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 0.0, (-1.0), 0.0); var$11 = $par1Block.$getIcon(0, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) t: { u: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break u; default: break u; } var$11 = var$11.$textureMapBlocks.$missingImage; break t; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYNeg($this, $par1Block, 0.0, 0.0, 0.0, var$11); nlea_Tessellator_draw($var4); if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 0.0, 1.0, 0.0); var$11 = $par1Block.$getIcon(1, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) v: { w: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break w; default: break w; } var$11 = var$11.$textureMapBlocks.$missingImage; break v; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceYPos($this, $par1Block, 0.0, 0.0, 0.0, var$11); nlea_Tessellator_draw($var4); if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 0.0, 0.0, (-1.0)); var$11 = $par1Block.$getIcon(2, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) x: { y: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break y; default: break y; } var$11 = var$11.$textureMapBlocks.$missingImage; break x; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZNeg($this, $par1Block, 0.0, 0.0, 0.0, var$11); nlea_Tessellator_draw($var4); if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 0.0, 0.0, 1.0); var$11 = $par1Block.$getIcon(3, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) z: { ba: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break ba; default: break ba; } var$11 = var$11.$textureMapBlocks.$missingImage; break z; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceZPos($this, $par1Block, 0.0, 0.0, 0.0, var$11); nlea_Tessellator_draw($var4); if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, (-1.0), 0.0, 0.0); var$12 = $par1Block.$getIcon(4, 0); if (var$12 === null) { if (jl_System_outCache === null) { var$13 = new otcic_JSStdoutPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); var$13.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); var$13.$sb = var$11; var$13.$buffer0 = $rt_createCharArray(32); var$13.$autoFlush = 0; var$13.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$13; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$12 === null) bb: { bc: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break bc; default: break bc; } var$12 = var$11.$textureMapBlocks.$missingImage; break bb; } var$12 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXNeg($this, $par1Block, 0.0, 0.0, 0.0, var$12); nlea_Tessellator_draw($var4); if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setNormal($var4, 1.0, 0.0, 0.0); var$11 = $par1Block.$getIcon(5, 0); if (var$11 === null) { if (jl_System_outCache === null) { var$12 = new otcic_JSStdoutPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$12; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if (var$11 === null) bd: { be: { var$11 = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break be; default: break be; } var$11 = var$11.$textureMapBlocks.$missingImage; break bd; } var$11 = var$11.$textureMapItems.$missingTextureStiched; } nms_RenderBlocks_renderFaceXPos($this, $par1Block, 0.0, 0.0, 0.0, var$11); nlea_Tessellator_draw($var4); var$11 = nleg_EaglerAdapterGL30_deevis; var$11.$x = 0.5; var$11.$y = 0.5; var$11.$z = 0.5; var$11 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$11, var$11); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$11 = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); var$11.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); var$11.$sb = var$12; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$11; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var14 = $var14 + 1 | 0; } } return; case 1: nms_ChestItemRenderHelper_renderChest(var$11, $par1Block, $par2, $par3); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_lightPos0Serial = nleg_EaglerAdapterGL30_lightPos0Serial + 1 | 0; nleg_EaglerAdapterGL30_lightPos1Serial = nleg_EaglerAdapterGL30_lightPos1Serial + 1 | 0; $par1Block = nleg_EaglerAdapterGL30_lightPos0vec; var$11 = nleg_EaglerAdapterGL30_lightPos0vec0; $par1Block.$x1 = var$11.$x1; $par1Block.$y1 = var$11.$y1; $par1Block.$z2 = var$11.$z2; $par1Block.$w = var$11.$w; $par1Block = nleg_EaglerAdapterGL30_lightPos1vec; var$11 = nleg_EaglerAdapterGL30_lightPos1vec0; $par1Block.$x1 = var$11.$x1; $par1Block.$y1 = var$11.$y1; $par1Block.$z2 = var$11.$z2; $par1Block.$w = var$11.$w; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Block, $par2, $par3, $var4, $var6, $var5, $var7, $var8, $var9, $var14, var$11, var$12, var$13, $var15, $var16, $var17, $var11, $var12, $var13, var$20, var$21, var$22, var$23, var$24, $ptr); }, nms_RenderBlocks_renderItemIn3d = $par0 => { a: { if (!$par0) { $par0 = 1; break a; } if ($par0 == 31) { $par0 = 1; break a; } if ($par0 == 39) { $par0 = 1; break a; } if ($par0 == 13) { $par0 = 1; break a; } if ($par0 == 10) { $par0 = 1; break a; } if ($par0 == 11) { $par0 = 1; break a; } if ($par0 == 27) { $par0 = 1; break a; } if ($par0 == 22) { $par0 = 1; break a; } if ($par0 == 21) { $par0 = 1; break a; } if ($par0 == 16) { $par0 = 1; break a; } if ($par0 == 26) { $par0 = 1; break a; } if ($par0 == 32) { $par0 = 1; break a; } if ($par0 == 34) { $par0 = 1; break a; } if ($par0 != 35) { $par0 = 0; break a; } $par0 = 1; } return $par0; }, nms_RenderBlocks_getBlockIcon = ($this, $par1Block, $par2IBlockAccess, $par3, $par4, $par5, $par6) => { let var$7; $par1Block = $par1Block.$getBlockTexture($par2IBlockAccess, $par3, $par4, $par5, $par6); if ($par1Block === null) { if (jl_System_outCache === null) { $par2IBlockAccess = new otcic_JSStdoutPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); $par2IBlockAccess.$out0 = var$7; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); $par2IBlockAccess.$sb = var$7; $par2IBlockAccess.$buffer0 = $rt_createCharArray(32); $par2IBlockAccess.$autoFlush = 0; $par2IBlockAccess.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par2IBlockAccess; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($par1Block === null) a: { b: { $par1Block = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $par1Block = $par1Block.$textureMapBlocks.$missingImage; break a; } $par1Block = $par1Block.$textureMapItems.$missingTextureStiched; } return $par1Block; }, nms_RenderBlocks_getBlockIconFromSideAndMetadata = ($this, $par1Block, $par2, $par3) => { let var$4, var$5; $par1Block = $par1Block.$getIcon($par2, $par3); if ($par1Block === null) { if (jl_System_outCache === null) { var$4 = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$4; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($par1Block === null) a: { b: { $par1Block = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $par1Block = $par1Block.$textureMapBlocks.$missingImage; break a; } $par1Block = $par1Block.$textureMapItems.$missingTextureStiched; } return $par1Block; }, nms_RenderBlocks_getBlockIconFromSide = ($this, $par1Block, $par2) => { let var$3, var$4; $par1Block = $par1Block.$getIcon($par2, 0); if ($par1Block === null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); var$3.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$3.$sb = var$4; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($par1Block === null) a: { b: { $par1Block = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $par1Block = $par1Block.$textureMapBlocks.$missingImage; break a; } $par1Block = $par1Block.$textureMapItems.$missingTextureStiched; } return $par1Block; }, nms_RenderBlocks_getBlockIcon0 = ($this, $par1Block) => { let var$2, var$3; $par1Block = $par1Block.$getIcon(1, 0); if ($par1Block === null) { if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($par1Block === null) a: { b: { $par1Block = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $par1Block = $par1Block.$textureMapBlocks.$missingImage; break a; } $par1Block = $par1Block.$textureMapItems.$missingTextureStiched; } return $par1Block; }, nms_RenderBlocks_getIconSafe = ($this, $par1Icon) => { let var$2, var$3; if ($par1Icon === null) { if (jl_System_outCache === null) { var$2 = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$2; } $rt_putStdout("fuck"); $rt_putStdout("\n"); } if ($par1Icon === null) a: { b: { $par1Icon = $this.$minecraftRB.$renderEngine; switch (0) { case 0: break; case 1: break b; default: break b; } $par1Icon = $par1Icon.$textureMapBlocks.$missingImage; break a; } $par1Icon = $par1Icon.$textureMapItems.$missingTextureStiched; } return $par1Icon; }, nms_RenderBlocks__clinit_ = () => { nms_RenderBlocks_fancyGrass = 1; }; function jt_SimpleDatePatternParser() { let a = this; jl_Object.call(a); a.$symbols0 = null; a.$locale3 = null; a.$elements = null; a.$index7 = 0; a.$pattern2 = null; } let jt_SimpleDatePatternParser_parsePattern = ($this, $pattern) => { let $sb, var$3, $rep, $c, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $sb = $this.$elements; var$3 = $sb.$array; $rep = 0; $c = $sb.$size0; var$6 = null; if ($rep > $c) { $pattern = new jl_IllegalArgumentException; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $rt_throw($pattern); } while ($rep < $c) { var$7 = var$3.data; var$8 = $rep + 1 | 0; var$7[$rep] = var$6; $rep = var$8; } $sb.$size0 = 0; $sb.$modCount = $sb.$modCount + 1 | 0; $this.$pattern2 = $pattern; $this.$index7 = 0; a: { b: { c: { d: { while ($this.$index7 < $pattern.$nativeString.length) { $rep = $this.$index7; if ($rep < 0) break c; if ($rep >= $pattern.$nativeString.length) break c; e: { f: { g: { $c = $pattern.$nativeString.charCodeAt($rep); switch ($c) { case 39: break; case 40: case 41: case 42: case 43: case 44: case 45: case 46: case 47: case 48: case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: case 58: case 59: case 60: case 61: case 62: case 63: case 64: case 65: case 66: case 67: case 73: case 74: case 78: case 79: case 80: case 81: case 82: case 84: case 85: case 86: case 91: case 92: case 93: case 94: case 95: case 96: case 98: case 101: case 102: case 103: case 105: case 106: case 108: case 110: case 111: case 112: case 113: case 114: case 116: case 118: case 120: break g; case 68: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$Numeric; var$8 = 3; var$6.$field = 6; var$6.$length3 = $rep; if ($rep > var$8) var$8 = $rep; var$6.$maxLength = var$8; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $rep = $sb.$size0; $sb.$size0 = $rep + 1 | 0; var$3[$rep] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 69: case 99: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$WeekdayText; var$9 = $this.$symbols0; $rep = $rep > 3 ? 0 : 1; var$6.$weeks = jt_DateFormatSymbols_getWeekdays(var$9); var$6.$shortWeeks = jt_DateFormatSymbols_getShortWeekdays(var$9); var$6.$abbreviated0 = $rep; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 70: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$Numeric; var$8 = 2; var$6.$field = 8; var$6.$length3 = $rep; if ($rep > var$8) var$8 = $rep; var$6.$maxLength = var$8; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 71: jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$EraText; var$9 = $this.$symbols0; if (var$9.$eras0 === null) { var$10 = var$9.$locale0; var$11 = var$10.$languageCode; var$12 = var$10.$countryCode; if (otciu_CLDRHelper_$$metadata$$1 === null) otciu_CLDRHelper_$$metadata$$1 = otciu_CLDRHelper_getErasMap$$create(); var$9.$eras0 = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$1, var$11, var$12); } var$6.$eras = var$9.$eras0.$clone0(); ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 72: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$Numeric; var$8 = 2; var$6.$field = 11; var$6.$length3 = $rep; if ($rep > var$8) var$8 = $rep; var$6.$maxLength = var$8; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 75: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$Numeric; var$8 = 2; var$6.$field = 10; var$6.$length3 = $rep; if ($rep > var$8) var$8 = $rep; var$6.$maxLength = var$8; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 76: case 77: break f; case 83: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$Numeric; var$8 = 3; var$6.$field = 14; var$6.$length3 = $rep; if ($rep > var$8) var$8 = $rep; var$6.$maxLength = var$8; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 87: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$Numeric; var$8 = 1; var$6.$field = 4; var$6.$length3 = $rep; if ($rep > var$8) var$8 = $rep; var$6.$maxLength = var$8; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 88: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); if ($rep > 3) { $pattern = new jl_IllegalArgumentException; $rep = $this.$index7; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(1166)); jl_AbstractStringBuilder_insert0($sb, $sb.$length0, $rep, 10); var$6 = new jl_String; var$3 = $sb.$buffer; var$7 = var$3.data; $c = $sb.$length0; var$8 = var$7.length; if ($c >= 0 && $c <= (var$8 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$3.data, 0, $c); $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $pattern.$message = var$6; $rt_throw($pattern); } $pattern = new jl_IndexOutOfBoundsException; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $rt_throw($pattern); } $sb = $this.$elements; var$6 = new jt_DateFormatElement$Iso8601Timezone; var$6.$size7 = $rep; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 89: case 121: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); if ($rep == 2) { $sb = $this.$elements; var$6 = new jt_DateFormatElement$Year; var$6.$field0 = 1; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; } $sb = $this.$elements; var$6 = new jt_DateFormatElement$Numeric; var$8 = 8; var$6.$field = 1; var$6.$length3 = $rep; if ($rep > var$8) var$8 = $rep; var$6.$maxLength = var$8; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 90: jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$Rfc822Timezone; var$6.$locale4 = $this.$locale3; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 97: jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$AmPmText; var$9 = $this.$symbols0; if (var$9.$ampms0 === null) { var$10 = var$9.$locale0; var$11 = var$10.$languageCode; var$12 = var$10.$countryCode; if (otciu_CLDRHelper_$$metadata$$2 === null) otciu_CLDRHelper_$$metadata$$2 = otciu_CLDRHelper_getAmPmMap$$create(); var$9.$ampms0 = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$2, var$11, var$12); } var$6.$ampms = var$9.$ampms0.$clone0(); ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 100: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$Numeric; var$8 = 2; var$6.$field = 5; var$6.$length3 = $rep; if ($rep > var$8) var$8 = $rep; var$6.$maxLength = var$8; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 104: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$NumericHour; var$13 = 2; var$6.$field = 10; var$6.$length3 = $rep; if ($rep > var$13) var$13 = $rep; var$6.$maxLength = var$13; var$6.$limit1 = 12; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 107: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$NumericHour; var$13 = 2; var$6.$field = 11; var$6.$length3 = $rep; if ($rep > var$13) var$13 = $rep; var$6.$maxLength = var$13; var$6.$limit1 = 24; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 109: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$Numeric; var$8 = 2; var$6.$field = 12; var$6.$length3 = $rep; if ($rep > var$8) var$8 = $rep; var$6.$maxLength = var$8; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 115: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$Numeric; var$8 = 2; var$6.$field = 13; var$6.$length3 = $rep; if ($rep > var$8) var$8 = $rep; var$6.$maxLength = var$8; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 117: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$NumericWeekday; var$8 = 1; var$6.$field = 7; var$6.$length3 = $rep; if ($rep > var$8) var$8 = $rep; var$6.$maxLength = var$8; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 119: $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$Numeric; var$8 = 2; var$6.$field = 3; var$6.$length3 = $rep; if ($rep > var$8) var$8 = $rep; var$6.$maxLength = var$8; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; case 122: jt_SimpleDatePatternParser_parseRepetitions($this); $sb = $this.$elements; var$6 = new jt_DateFormatElement$GeneralTimezone; var$6.$locale4 = $this.$locale3; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; break e; default: break g; } $this.$index7 = $this.$index7 + 1 | 0; jt_SimpleDatePatternParser_parseQuoted($this); break e; } if (jt_SimpleDatePatternParser_isControl($this, $c)) { jt_SimpleDatePatternParser_parseRepetitions($this); break e; } $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); while ($this.$index7 < $pattern.$nativeString.length) { $rep = $this.$index7; if ($rep < 0) break b; if ($rep >= $pattern.$nativeString.length) break b; if (jt_SimpleDatePatternParser_isControl($this, $pattern.$nativeString.charCodeAt($rep))) break; $c = $this.$index7; $this.$index7 = $c + 1 | 0; if ($c < 0) break a; if ($c >= $pattern.$nativeString.length) break a; $c = $pattern.$nativeString.charCodeAt($c); $rep = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, $rep, $rep + 1 | 0); $sb.$buffer.data[$rep] = $c; } var$6 = $this.$elements; var$9 = new jt_DateFormatElement$ConstantText; var$10 = new jl_String; var$3 = $sb.$buffer; var$7 = var$3.data; $c = $sb.$length0; var$8 = var$7.length; if ($c < 0) break d; if ($c > (var$8 - 0 | 0)) break d; var$10.$nativeString = $rt_charArrayToString(var$3.data, 0, $c); var$9.$textConstant = var$10; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; $c = var$6.$size0; var$6.$size0 = $c + 1 | 0; var$3[$c] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; break e; } $rep = jt_SimpleDatePatternParser_parseRepetitions($this); $c = $rt_compare($rep, 2); if ($c <= 0) { $sb = $this.$elements; var$6 = new jt_DateFormatElement$NumericMonth; var$13 = 2; var$6.$field = 2; var$6.$length3 = $rep; if ($c > 0) var$13 = $rep; var$6.$maxLength = var$13; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; } else { $sb = $this.$elements; var$6 = new jt_DateFormatElement$MonthText; var$9 = $this.$symbols0; $rep = $rep != 3 ? 0 : 1; if (var$9.$months0 === null) { var$10 = var$9.$locale0; var$11 = var$10.$languageCode; var$12 = var$10.$countryCode; if (otciu_CLDRHelper_$$metadata$$3 === null) otciu_CLDRHelper_$$metadata$$3 = otciu_CLDRHelper_getMonthMap$$create(); var$9.$months0 = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$3, var$11, var$12); } var$6.$months = var$9.$months0.$clone0(); if (var$9.$shortMonths0 === null) { var$10 = var$9.$locale0; var$11 = var$10.$languageCode; var$12 = var$10.$countryCode; if (otciu_CLDRHelper_$$metadata$$4 === null) otciu_CLDRHelper_$$metadata$$4 = otciu_CLDRHelper_getShortMonthMap$$create(); var$9.$shortMonths0 = otciu_CLDRHelper_resolveDateFormatSymbols(otciu_CLDRHelper_$$metadata$$4, var$11, var$12); } var$6.$shortMonths = var$9.$shortMonths0.$clone0(); var$6.$abbreviated = $rep; ju_ArrayList_ensureCapacity($sb, $sb.$size0 + 1 | 0); var$3 = $sb.$array.data; $c = $sb.$size0; $sb.$size0 = $c + 1 | 0; var$3[$c] = var$6; $sb.$modCount = $sb.$modCount + 1 | 0; } } } return; } $pattern = new jl_IndexOutOfBoundsException; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $rt_throw($pattern); } $pattern = new jl_StringIndexOutOfBoundsException; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $rt_throw($pattern); } $pattern = new jl_StringIndexOutOfBoundsException; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $rt_throw($pattern); } $pattern = new jl_StringIndexOutOfBoundsException; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $rt_throw($pattern); }, jt_SimpleDatePatternParser_isControl = ($this, $c) => { a: { b: { if ($c != 39 && !($c >= 97 && $c <= 122)) { if ($c < 65) break b; if ($c > 90) break b; } $c = 1; break a; } $c = 0; } return $c; }, jt_SimpleDatePatternParser_parseQuoted = $this => { let $sb, var$2, $c, var$4, var$5, var$6, var$7, var$8, var$9; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); a: { b: { while (true) { if ($this.$index7 >= $this.$pattern2.$nativeString.length) break a; var$2 = $this.$pattern2; $c = $this.$index7; $this.$index7 = $c + 1 | 0; if ($c < 0) break b; if ($c >= var$2.$nativeString.length) break b; $c = var$2.$nativeString.charCodeAt($c); if ($c != 39) { var$4 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$4, var$4 + 1 | 0); $sb.$buffer.data[var$4] = $c; } else { if ($this.$index7 >= $this.$pattern2.$nativeString.length) break a; var$2 = $this.$pattern2; var$4 = $this.$index7; if (var$4 < 0) break; if (var$4 >= var$2.$nativeString.length) break; if (var$2.$nativeString.charCodeAt(var$4) != 39) break a; $c = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, $c, $c + 1 | 0); $sb.$buffer.data[$c] = 39; $this.$index7 = $this.$index7 + 1 | 0; } } $sb = new jl_StringIndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } $sb = new jl_StringIndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); } var$2 = $this.$elements; var$5 = new jt_DateFormatElement$ConstantText; var$6 = new jl_String; var$7 = $sb.$buffer; var$8 = var$7.data; $c = $sb.$length0; var$9 = var$8.length; if ($c >= 0 && $c <= (var$9 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, $c); var$5.$textConstant = var$6; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$7 = var$2.$array.data; $c = var$2.$size0; var$2.$size0 = $c + 1 | 0; var$7[$c] = var$5; var$2.$modCount = var$2.$modCount + 1 | 0; return; } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; $rt_throw($sb); }, jt_SimpleDatePatternParser_parseRepetitions = $this => { let $count, var$2, var$3, $orig, var$5; $count = 1; var$2 = $this.$pattern2; var$3 = $this.$index7; $this.$index7 = var$3 + 1 | 0; if (var$3 >= 0 && var$3 < var$2.$nativeString.length) { $orig = var$2.$nativeString.charCodeAt(var$3); a: { while ($this.$index7 < $this.$pattern2.$nativeString.length) { var$2 = $this.$pattern2; var$5 = $this.$index7; if (var$5 < 0) break a; if (var$5 >= var$2.$nativeString.length) break a; if (var$2.$nativeString.charCodeAt(var$5) != $orig) break; $this.$index7 = $this.$index7 + 1 | 0; $count = $count + 1 | 0; } return $count; } var$2 = new jl_StringIndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$2 = new jl_StringIndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, jt_DateFormatElement = $rt_classWithoutFields(), otp_PlatformQueue = $rt_classWithoutFields(); function jl_Object$monitorExit$lambda$_8_0() { jl_Object.call(this); this.$_03 = null; } let jl_Object$monitorExit$lambda$_8_0_run = var$0 => { jl_Object_waitForOtherThreads(var$0.$_03); }; function cjj_Inflate$Return() { let a = this; jl_Exception.call(a); a.$r = 0; a.$this$016 = null; } function cjj_GZIPHeader() { let a = this; jl_Object.call(a); a.$text3 = 0; a.$fhcrc = 0; a.$time2 = Long_ZERO; a.$xflags = 0; a.$os = 0; a.$extra = null; a.$name14 = null; a.$comment0 = null; a.$hcrc = 0; a.$crc1 = Long_ZERO; a.$done = 0; a.$mtime = Long_ZERO; } let cjj_GZIPHeader__init_ = $this => { $this.$text3 = 0; $this.$fhcrc = 0; $this.$os = 255; $this.$done = 0; $this.$mtime = Long_ZERO; }, cjj_GZIPHeader__init_0 = () => { let var_0 = new cjj_GZIPHeader(); cjj_GZIPHeader__init_(var_0); return var_0; }, cjj_GZIPHeader_put = ($this, $d) => { let $flag, var$3, $xfl, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $flag = 0; if ($this.$text3) $flag = 1; if ($this.$fhcrc) $flag = $flag | 2; var$3 = $this.$extra; if (var$3 !== null) $flag = $flag | 4; if ($this.$name14 !== null) $flag = $flag | 8; if ($this.$comment0 !== null) $flag = $flag | 16; $xfl = 0; var$5 = $d.$level; if (var$5 == 1) $xfl = 4; else if (var$5 == 9) $xfl = 2; var$6 = $d.$pending_buf; var$7 = var$6.data; var$8 = $d.$pending; var$9 = var$8 + 1 | 0; $d.$pending = var$9; var$7[var$8] = 31; var$5 = var$9 + 1 | 0; $d.$pending = var$5; var$7[var$9] = (-117); var$10 = var$5 + 1 | 0; $d.$pending = var$10; var$7[var$5] = 8; var$5 = $flag << 24 >> 24; var$8 = var$10 + 1 | 0; $d.$pending = var$8; var$7[var$10] = var$5; var$11 = $this.$mtime; $flag = Long_lo(var$11) << 24 >> 24; var$5 = var$8 + 1 | 0; $d.$pending = var$5; var$7[var$8] = $flag; $flag = Long_lo(Long_shr(var$11, 8)) << 24 >> 24; var$8 = var$5 + 1 | 0; $d.$pending = var$8; var$7[var$5] = $flag; $flag = Long_lo(Long_shr(var$11, 16)) << 24 >> 24; var$5 = var$8 + 1 | 0; $d.$pending = var$5; var$7[var$8] = $flag; $flag = Long_lo(Long_shr(var$11, 24)) << 24 >> 24; var$10 = var$5 + 1 | 0; $d.$pending = var$10; var$7[var$5] = $flag; $flag = $xfl << 24 >> 24; var$5 = var$10 + 1 | 0; $d.$pending = var$5; var$7[var$10] = $flag; $flag = $this.$os << 24 >> 24; var$10 = var$5 + 1 | 0; $d.$pending = var$10; var$7[var$5] = $flag; if (var$3 !== null) { $flag = var$3.data.length; var$5 = $flag << 24 >> 24; var$8 = var$10 + 1 | 0; $d.$pending = var$8; var$7[var$10] = var$5; var$10 = $flag >> 8 << 24 >> 24; var$5 = var$8 + 1 | 0; $d.$pending = var$5; var$7[var$8] = var$10; jl_System_fastArraycopy(var$3, 0, var$6, var$5, $flag); $d.$pending = $d.$pending + $flag | 0; } var$6 = $this.$name14; if (var$6 !== null) { var$10 = var$6.data.length; jl_System_fastArraycopy(var$6, 0, $d.$pending_buf, $d.$pending, var$10); var$5 = $d.$pending + var$10 | 0; $d.$pending = var$5; var$6 = $d.$pending_buf.data; $d.$pending = var$5 + 1 | 0; var$6[var$5] = 0; } var$6 = $this.$comment0; if (var$6 !== null) { var$10 = var$6.data.length; jl_System_fastArraycopy(var$6, 0, $d.$pending_buf, $d.$pending, var$10); var$5 = $d.$pending + var$10 | 0; $d.$pending = var$5; var$6 = $d.$pending_buf.data; $d.$pending = var$5 + 1 | 0; var$6[var$5] = 0; } }; function ji_Writer() { jl_Object.call(this); this.$lock = null; } function ji_StringWriter() { ji_Writer.call(this); this.$buf0 = null; } let ji_StringWriter__init_ = $this => { let var$1; $this.$lock = $this; var$1 = new jl_StringBuffer; var$1.$buffer = $rt_createCharArray(16); $this.$buf0 = var$1; $this.$lock = var$1; }, ji_StringWriter__init_0 = () => { let var_0 = new ji_StringWriter(); ji_StringWriter__init_(var_0); return var_0; }, ji_StringWriter_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $this.$buf0; var$2 = new jl_String; var$3 = var$1.$buffer; var$4 = var$3.data; var$5 = var$1.$length0; var$6 = var$4.length; if (var$5 >= 0 && var$5 <= (var$6 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$3.data, 0, var$5); return var$2; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, ji_StringWriter_write = ($this, $oneChar) => { let var$2, var$3; var$2 = $this.$buf0; $oneChar = $oneChar & 65535; var$3 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$3, var$3 + 1 | 0); var$2.$buffer.data[var$3] = $oneChar; }, ji_StringWriter_write0 = ($this, $str) => { let var$2; var$2 = $this.$buf0; jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $str); }; function jl_Double() { jl_Number.call(this); this.$value10 = 0.0; } let jl_Double_TYPE = null, jl_Double_doubleValue = $this => { return $this.$value10; }, jl_Double_intValue = $this => { return $this.$value10 | 0; }, jl_Double_longValue = $this => { return Long_fromNumber($this.$value10); }, jl_Double_valueOf = $d => { let var$2; var$2 = new jl_Double; var$2.$value10 = $d; return var$2; }, jl_Double_valueOf0 = $string => { let var$2; var$2 = jl_Double_parseDouble($string); $string = new jl_Double; $string.$value10 = var$2; return $string; }, jl_Double_parseDouble = $string => { let $start, $end, var$4, $negative, $c, $mantissa, $exp, $hasOneDigit, $mantissaPos, $negativeExp, $numExp; if ($string.$nativeString.length ? 0 : 1) { $string = new jl_NumberFormatException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } $start = 0; $end = $string.$nativeString.length; while ($start >= 0 && $start < $string.$nativeString.length) { if ($string.$nativeString.charCodeAt($start) > 32) { while (true) { var$4 = $end - 1 | 0; if (var$4 < 0) break; if (var$4 >= $string.$nativeString.length) break; if ($string.$nativeString.charCodeAt(var$4) > 32) { $negative = 0; if ($start >= 0 && $start < $string.$nativeString.length) { if ($string.$nativeString.charCodeAt($start) == 45) { $start = $start + 1 | 0; $negative = 1; } else if (!($start >= 0 && $start < $string.$nativeString.length)) { $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } else if ($string.$nativeString.charCodeAt($start) == 43) $start = $start + 1 | 0; if ($start == $end) { $string = new jl_NumberFormatException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } if ($start >= 0 && $start < $string.$nativeString.length) { a: { $c = $string.$nativeString.charCodeAt($start); $mantissa = Long_ZERO; $exp = (-1); $hasOneDigit = 0; $mantissaPos = Long_create(2808348672, 232830643); if ($c != 46) { $hasOneDigit = 1; if ($c >= 48 && $c <= 57) { b: { while (true) { if ($start >= $end) break b; if ($start < 0) break; if ($start >= $string.$nativeString.length) break; if ($string.$nativeString.charCodeAt($start) != 48) break b; $start = $start + 1 | 0; } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } while (true) { if ($start >= $end) break a; if ($start < 0) break; if ($start >= $string.$nativeString.length) break; $c = $string.$nativeString.charCodeAt($start); if ($c < 48) break a; if ($c > 57) break a; if (Long_gt($mantissaPos, Long_ZERO)) { $mantissa = Long_add($mantissa, Long_mul($mantissaPos, Long_fromInt($c - 48 | 0))); $mantissaPos = jl_Long_divideUnsigned($mantissaPos, Long_fromInt(10)); } $exp = $exp + 1 | 0; $start = $start + 1 | 0; } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } $string = new jl_NumberFormatException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } } if ($start < $end) { if (!($start >= 0 && $start < $string.$nativeString.length)) { $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } else if ($string.$nativeString.charCodeAt($start) == 46) { $start = $start + 1 | 0; c: { while (true) { if ($start >= $end) break c; if ($start < 0) break; if ($start >= $string.$nativeString.length) break; $negativeExp = $string.$nativeString.charCodeAt($start); var$4 = $rt_compare($negativeExp, 48); if (var$4 < 0) break c; if ($negativeExp > 57) break c; if (Long_eq($mantissa, Long_ZERO) && !var$4) $exp = $exp + (-1) | 0; else if (Long_gt($mantissaPos, Long_ZERO)) { $mantissa = Long_add($mantissa, Long_mul($mantissaPos, Long_fromInt($negativeExp - 48 | 0))); $mantissaPos = jl_Long_divideUnsigned($mantissaPos, Long_fromInt(10)); } $start = $start + 1 | 0; $hasOneDigit = 1; } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } if (!$hasOneDigit) { $string = new jl_NumberFormatException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } } } d: { if ($start < $end) { if ($start >= 0 && $start < $string.$nativeString.length) { $c = $string.$nativeString.charCodeAt($start); if ($c != 101 && $c != 69) { $string = new jl_NumberFormatException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } $c = $start + 1 | 0; $negativeExp = 0; if ($c == $end) { $string = new jl_NumberFormatException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } if ($c >= 0 && $c < $string.$nativeString.length) { if ($string.$nativeString.charCodeAt($c) == 45) { $c = $c + 1 | 0; $negativeExp = 1; } else if (!($c >= 0 && $c < $string.$nativeString.length)) { $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } else if ($string.$nativeString.charCodeAt($c) == 43) $c = $c + 1 | 0; $numExp = 0; $hasOneDigit = 0; e: { while (true) { if ($c >= $end) break e; if ($c < 0) break; if ($c >= $string.$nativeString.length) break; $start = $string.$nativeString.charCodeAt($c); if ($start < 48) break e; if ($start > 57) break e; $numExp = (10 * $numExp | 0) + ($start - 48 | 0) | 0; $hasOneDigit = 1; $c = $c + 1 | 0; } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } if (!$hasOneDigit) { $string = new jl_NumberFormatException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } if ($negativeExp) $numExp = -$numExp | 0; $exp = $exp + $numExp | 0; break d; } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } } return otcit_DoubleSynthesizer_synthesizeDouble($mantissa, $exp, $negative); } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } $end = $end + (-1) | 0; } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } $start = $start + 1 | 0; if ($start == $end) { $string = new jl_NumberFormatException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } } $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); }, jl_Double_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$value10; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert4(var$2, var$2.$length0, var$1); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$2); $rt_throw(var$2); }, jl_Double_equals = ($this, $other) => { if ($this === $other) return 1; return $other instanceof jl_Double && $rt_equalDoubles($this.$value10, $other.$value10) ? 1 : 0; }, jl_Double_hashCode = $this => { let var$1, var$2; var$1 = $this.$value10; var$2 = !(isNaN(var$1) ? 1 : 0) ? $rt_doubleToRawLongBits(var$1) : Long_create(0, 2146959360); return Long_hi(var$2) ^ Long_lo(var$2); }, jl_Double_compare = ($a, $b) => { let $diff, var$4, var$5; $diff = ($a <= $b ? 0 : 1) - ($b <= $a ? 0 : 1) | 0; if (!$diff) { var$4 = 1.0 / $a; var$5 = 1.0 / $b; $diff = (((var$4 <= var$5 ? 0 : 1) - (var$5 <= var$4 ? 0 : 1) | 0) + ($b !== $b ? 0 : 1) | 0) - ($a !== $a ? 0 : 1) | 0; } return $diff; }, jl_Double_isNaN = $this => { return isNaN($this.$value10) ? 1 : 0; }, jl_Double_isInfinite = $this => { return !isFinite($this.$value10) ? 1 : 0; }, jl_Double_compareTo = ($this, var$1) => { return jl_Double_compare($this.$value10, var$1.$value10); }, jl_Double__clinit_ = () => { jl_Double_TYPE = $rt_cls($rt_doublecls); }; function jm_BigDecimal() { let a = this; jl_Number.call(a); a.$toStringImage = null; a.$hashCode3 = 0; a.$intVal = null; a.$bitLength0 = 0; a.$smallValue = Long_ZERO; a.$scale0 = 0; a.$precision1 = 0; } let jm_BigDecimal_ZERO = null, jm_BigDecimal_ONE = null, jm_BigDecimal_TEN = null, jm_BigDecimal_FIVE_POW = null, jm_BigDecimal_TEN_POW = null, jm_BigDecimal_LONG_TEN_POW = null, jm_BigDecimal_LONG_FIVE_POW = null, jm_BigDecimal_LONG_FIVE_POW_BIT_LENGTH = null, jm_BigDecimal_LONG_TEN_POW_BIT_LENGTH = null, jm_BigDecimal_BI_SCALED_BY_ZERO = null, jm_BigDecimal_ZERO_SCALED_BY = null, jm_BigDecimal_CH_ZEROS = null, jm_BigDecimal_$callClinit = () => { jm_BigDecimal_$callClinit = $rt_eraseClinit(jm_BigDecimal); jm_BigDecimal__clinit_(); }, jm_BigDecimal__init_ = ($this, $in, $offset, $len) => { let $last, $unscaledBuffer, var$6, var$7, var$8, $counter, $wasNonZero, var$11, var$12, var$13, var$14, var$15, var$16, $bufLength, var$18, $newScale, var$20, var$21; jm_BigDecimal_$callClinit(); $last = $offset + ($len - 1 | 0) | 0; if ($in === null) { $unscaledBuffer = new jl_NullPointerException; $unscaledBuffer.$suppressionEnabled = 1; $unscaledBuffer.$writableStackTrace = 1; $rt_throw($unscaledBuffer); } var$6 = $in.data; var$7 = var$6.length; if ($last < var$7 && $offset >= 0 && $len > 0 && $last >= 0) { $unscaledBuffer = new jl_StringBuilder; $unscaledBuffer.$buffer = $rt_createCharArray($len); if ($offset > $last) var$8 = $offset; else if (var$6[$offset] != 43) var$8 = $offset; else { $offset = $offset + 1 | 0; var$8 = $offset; } $counter = 0; $wasNonZero = 0; while (true) { var$11 = $rt_compare(var$8, $last); if (var$11 > 0) break; if (var$6[var$8] == 46) break; if (var$6[var$8] == 101) break; if (var$6[var$8] == 69) break; if (!$wasNonZero) { if (var$6[var$8] != 48) $wasNonZero = 1; else $counter = $counter + 1 | 0; } var$8 = var$8 + 1 | 0; } var$12 = var$8 - $offset | 0; $len = $unscaledBuffer.$length0; jl_AbstractStringBuilder_insertSpace($unscaledBuffer, $len, $len + var$12 | 0); var$13 = var$12 + $offset | 0; while ($offset < var$13) { var$14 = $unscaledBuffer.$buffer.data; var$15 = $len + 1 | 0; var$16 = $offset + 1 | 0; var$14[$len] = var$6[$offset]; $len = var$15; $offset = var$16; } var$13 = 0 + var$12 | 0; if (var$11 <= 0 && var$6[var$8] == 46) { var$15 = var$8 + 1 | 0; var$8 = var$15; while (var$8 <= $last && var$6[var$8] != 101 && var$6[var$8] != 69) { if (!$wasNonZero) { if (var$6[var$8] != 48) $wasNonZero = 1; else $counter = $counter + 1 | 0; } var$8 = var$8 + 1 | 0; } var$16 = var$8 - var$15 | 0; $this.$scale0 = var$16; var$13 = var$13 + var$16 | 0; $offset = $unscaledBuffer.$length0; jl_AbstractStringBuilder_insertSpace($unscaledBuffer, $offset, $offset + var$16 | 0); var$16 = var$16 + var$15 | 0; while (var$15 < var$16) { var$14 = $unscaledBuffer.$buffer.data; $bufLength = $offset + 1 | 0; $len = var$15 + 1 | 0; var$14[$offset] = var$6[var$15]; $offset = $bufLength; var$15 = $len; } } else $this.$scale0 = 0; a: { if (var$8 <= $last && !(var$6[var$8] != 101 && var$6[var$8] != 69)) { $len = var$8 + 1 | 0; if ($len > $last) var$16 = $len; else if (var$6[$len] != 43) var$16 = $len; else { var$16 = $len + 1 | 0; if (var$16 > $last) var$16 = $len; else if (var$6[var$16] == 45) var$16 = $len; } $offset = ($last + 1 | 0) - var$16 | 0; var$18 = new jl_String; if (var$16 >= 0 && $offset >= 0 && $offset <= (var$7 - var$16 | 0)) { var$18.$nativeString = $rt_charArrayToString($in.data, var$16, $offset); $newScale = Long_sub(Long_fromInt($this.$scale0), Long_fromInt(jl_Integer_parseIntImpl(var$18, 0, var$18.$nativeString.length, 10))); $offset = Long_lo($newScale); $this.$scale0 = $offset; if (Long_eq($newScale, Long_fromInt($offset))) break a; $unscaledBuffer = new jl_NumberFormatException; $unscaledBuffer.$suppressionEnabled = 1; $unscaledBuffer.$writableStackTrace = 1; $unscaledBuffer.$message = $rt_s(1167); $rt_throw($unscaledBuffer); } $unscaledBuffer = new jl_IndexOutOfBoundsException; $unscaledBuffer.$suppressionEnabled = 1; $unscaledBuffer.$writableStackTrace = 1; $rt_throw($unscaledBuffer); } } b: { if (var$13 >= 19) { var$18 = new jm_BigInteger; var$20 = new jl_String; $in = $unscaledBuffer.$buffer; var$14 = $in.data; $len = $unscaledBuffer.$length0; $last = var$14.length; if ($len >= 0 && $len <= ($last - 0 | 0)) { var$20.$nativeString = $rt_charArrayToString($in.data, 0, $len); jm_BigInteger__init_(var$18, var$20, 10); $this.$intVal = var$18; $len = jm_BitLevel_bitLength(var$18); $this.$bitLength0 = $len; if ($len < 64) $this.$smallValue = jm_BigInteger_longValue(var$18); break b; } $unscaledBuffer = new jl_IndexOutOfBoundsException; $unscaledBuffer.$suppressionEnabled = 1; $unscaledBuffer.$writableStackTrace = 1; $rt_throw($unscaledBuffer); } var$18 = new jl_String; $in = $unscaledBuffer.$buffer; var$14 = $in.data; $len = $unscaledBuffer.$length0; $last = var$14.length; if ($len >= 0 && $len <= ($last - 0 | 0)) { var$18.$nativeString = $rt_charArrayToString($in.data, 0, $len); var$21 = jl_Long_parseLongImpl(var$18, 0, var$18.$nativeString.length, 10); $this.$smallValue = var$21; if (Long_lt(var$21, Long_ZERO)) var$21 = Long_xor(var$21, Long_fromInt(-1)); $this.$bitLength0 = 64 - jl_Long_numberOfLeadingZeros(var$21) | 0; } else { $unscaledBuffer = new jl_IndexOutOfBoundsException; $unscaledBuffer.$suppressionEnabled = 1; $unscaledBuffer.$writableStackTrace = 1; $rt_throw($unscaledBuffer); } } $last = $unscaledBuffer.$length0; $offset = $last - $counter | 0; $this.$precision1 = $offset; if (0 >= $last) { $unscaledBuffer = new jl_IndexOutOfBoundsException; $unscaledBuffer.$suppressionEnabled = 1; $unscaledBuffer.$writableStackTrace = 1; $rt_throw($unscaledBuffer); } if ($unscaledBuffer.$buffer.data[0] == 45) $this.$precision1 = $offset - 1 | 0; return; } $unscaledBuffer = new jl_NumberFormatException; $unscaledBuffer.$suppressionEnabled = 1; $unscaledBuffer.$writableStackTrace = 1; $rt_throw($unscaledBuffer); }, jm_BigDecimal__init_2 = (var_0, var_1, var_2) => { let var_3 = new jm_BigDecimal(); jm_BigDecimal__init_(var_3, var_0, var_1, var_2); return var_3; }, jm_BigDecimal__init_1 = ($this, $val) => { let var$2, var$3, var$4, var$5; jm_BigDecimal_$callClinit(); var$2 = $rt_createCharArray($val.$nativeString.length); var$3 = var$2.data; var$4 = 0; var$5 = var$3.length; a: { while (var$4 < var$5) { if (var$4 < 0) break a; if (var$4 >= $val.$nativeString.length) break a; var$3[var$4] = $val.$nativeString.charCodeAt(var$4); var$4 = var$4 + 1 | 0; } jm_BigDecimal__init_($this, var$2, 0, $val.$nativeString.length); return; } $val = new jl_StringIndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $rt_throw($val); }, jm_BigDecimal__init_0 = var_0 => { let var_1 = new jm_BigDecimal(); jm_BigDecimal__init_1(var_1, var_0); return var_1; }, jm_BigDecimal_valueOf = ($unscaledVal, $scale) => { let var$3, var$4, var$5; jm_BigDecimal_$callClinit(); if (!$scale) { var$3 = Long_compare($unscaledVal, Long_ZERO); if (var$3 >= 0 && Long_lt($unscaledVal, Long_fromInt(11))) var$4 = jm_BigDecimal_BI_SCALED_BY_ZERO.data[Long_lo($unscaledVal)]; else { var$4 = new jm_BigDecimal; var$4.$smallValue = $unscaledVal; var$4.$scale0 = 0; if (var$3 < 0) $unscaledVal = Long_xor($unscaledVal, Long_fromInt(-1)); var$4.$bitLength0 = 64 - jl_Long_numberOfLeadingZeros($unscaledVal) | 0; } return var$4; } var$3 = Long_compare($unscaledVal, Long_ZERO); if (!var$3 && $scale >= 0) { var$5 = jm_BigDecimal_ZERO_SCALED_BY.data; if ($scale < var$5.length) return var$5[$scale]; } var$4 = new jm_BigDecimal; var$4.$smallValue = $unscaledVal; var$4.$scale0 = $scale; if (var$3 < 0) $unscaledVal = Long_xor($unscaledVal, Long_fromInt(-1)); var$4.$bitLength0 = 64 - jl_Long_numberOfLeadingZeros($unscaledVal) | 0; return var$4; }, jm_BigDecimal_multiply = ($this, $multiplicand) => { let $newScale, var$3, var$4, var$5, var$6, var$7, var$8; $newScale = Long_add(Long_fromInt($this.$scale0), Long_fromInt($multiplicand.$scale0)); var$3 = $this.$bitLength0; if (!(!var$3 && Long_ne($this.$smallValue, Long_fromInt(-1)) ? 1 : 0)) { var$4 = $multiplicand.$bitLength0; if (!(!var$4 && Long_ne($multiplicand.$smallValue, Long_fromInt(-1)) ? 1 : 0)) { if ((var$3 + var$4 | 0) < 64) { var$5 = Long_mul($this.$smallValue, $multiplicand.$smallValue); jm_BigDecimal_$callClinit(); if (Long_lt($newScale, Long_fromInt(-2147483648))) { $multiplicand = new jl_ArithmeticException; $multiplicand.$suppressionEnabled = 1; $multiplicand.$writableStackTrace = 1; $multiplicand.$message = $rt_s(1168); $rt_throw($multiplicand); } if (Long_le($newScale, Long_fromInt(2147483647))) return jm_BigDecimal_valueOf(var$5, Long_lo($newScale)); $multiplicand = new jl_ArithmeticException; $multiplicand.$suppressionEnabled = 1; $multiplicand.$writableStackTrace = 1; $multiplicand.$message = $rt_s(1169); $rt_throw($multiplicand); } var$6 = new jm_BigDecimal; if ($this.$intVal === null) $this.$intVal = jm_BigInteger_valueOf($this.$smallValue); var$7 = $this.$intVal; if ($multiplicand.$intVal === null) $multiplicand.$intVal = jm_BigInteger_valueOf($multiplicand.$smallValue); $multiplicand = $multiplicand.$intVal; if (!$multiplicand.$sign1) $multiplicand = jm_BigInteger_ZERO; else if (!var$7.$sign1) $multiplicand = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $multiplicand = jm_Multiplication_karatsuba(var$7, $multiplicand); } jm_BigDecimal_$callClinit(); if (Long_lt($newScale, Long_fromInt(-2147483648))) { $multiplicand = new jl_ArithmeticException; $multiplicand.$suppressionEnabled = 1; $multiplicand.$writableStackTrace = 1; $multiplicand.$message = $rt_s(1168); $rt_throw($multiplicand); } if (Long_gt($newScale, Long_fromInt(2147483647))) { $multiplicand = new jl_ArithmeticException; $multiplicand.$suppressionEnabled = 1; $multiplicand.$writableStackTrace = 1; $multiplicand.$message = $rt_s(1169); $rt_throw($multiplicand); } var$4 = Long_lo($newScale); if ($multiplicand === null) { $multiplicand = new jl_NullPointerException; $multiplicand.$suppressionEnabled = 1; $multiplicand.$writableStackTrace = 1; $rt_throw($multiplicand); } var$6.$scale0 = var$4; var$6.$intVal = $multiplicand; var$8 = jm_BitLevel_bitLength($multiplicand); var$6.$bitLength0 = var$8; if (var$8 < 64) var$6.$smallValue = jm_BigInteger_longValue($multiplicand); return var$6; } } jm_BigDecimal_$callClinit(); var$4 = Long_lo($newScale); if (Long_eq($newScale, Long_fromInt(var$4))) $multiplicand = jm_BigDecimal_valueOf(Long_ZERO, var$4); else if (Long_lt($newScale, Long_ZERO)) { $multiplicand = new jm_BigDecimal; $multiplicand.$smallValue = Long_ZERO; $multiplicand.$scale0 = (-2147483648); $multiplicand.$bitLength0 = 32 - jl_Integer_numberOfLeadingZeros(0) | 0; } else { $multiplicand = new jm_BigDecimal; $multiplicand.$smallValue = Long_ZERO; $multiplicand.$scale0 = 2147483647; $multiplicand.$bitLength0 = 32 - jl_Integer_numberOfLeadingZeros(0) | 0; } return $multiplicand; }, jm_BigDecimal_precision = $this => { let var$1, $bitLength, $doubleUnsc, var$4; var$1 = $this.$precision1; if (var$1 > 0) return var$1; $bitLength = $this.$bitLength0; $doubleUnsc = 1.0; if ($bitLength >= 1024) { var$1 = 1.0 + ($bitLength - 1 | 0) * 0.3010299956639812 | 0; if ($this.$intVal === null) $this.$intVal = jm_BigInteger_valueOf($this.$smallValue); if ((jm_BigInteger_divide($this.$intVal, jm_Multiplication_powerOf10(Long_fromInt(var$1)))).$sign1) var$1 = var$1 + 1 | 0; } else { if ($bitLength >= 64) { if ($this.$intVal === null) $this.$intVal = jm_BigInteger_valueOf($this.$smallValue); $doubleUnsc = jm_Conversion_bigInteger2Double($this.$intVal); } else if ($bitLength >= 1) $doubleUnsc = Long_toNumber($this.$smallValue); $doubleUnsc = jl_Math_absImpl($doubleUnsc); var$4 = otcit_DoubleAnalyzer_resultForLog10; otcit_DoubleAnalyzer_analyze($doubleUnsc, var$4); var$1 = var$4.$exponent; if (var$1 < 0 && Long_gt(var$4.$mantissa, Long_create(1569325056, 23283064))) var$1 = var$1 + 1 | 0; var$1 = 1 + var$1 | 0; } $this.$precision1 = var$1; return var$1; }, jm_BigDecimal_compareTo = ($this, $val) => { let var$2, $thisSign, $valueSign, $diffPrecision, $diffScale, var$7, var$8, $thisUnscaled, $valUnscaled; if ($this.$bitLength0 < 64) { var$2 = $this.$smallValue; $thisSign = Long_lo(Long_or(Long_shr(var$2, 63), Long_shru(Long_neg(var$2), 63))); } else { if ($this.$intVal === null) $this.$intVal = jm_BigInteger_valueOf($this.$smallValue); $thisSign = $this.$intVal.$sign1; } if ($val.$bitLength0 < 64) { var$2 = $val.$smallValue; $valueSign = Long_lo(Long_or(Long_shr(var$2, 63), Long_shru(Long_neg(var$2), 63))); } else { if ($val.$intVal === null) $val.$intVal = jm_BigInteger_valueOf($val.$smallValue); $valueSign = $val.$intVal.$sign1; } $valueSign = $rt_compare($thisSign, $valueSign); if ($valueSign) { if ($valueSign >= 0) return 1; return (-1); } $valueSign = $this.$scale0; $diffPrecision = $val.$scale0; if ($valueSign == $diffPrecision && $this.$bitLength0 < 64 && $val.$bitLength0 < 64) { $thisSign = Long_compare($this.$smallValue, $val.$smallValue); return $thisSign < 0 ? (-1) : $thisSign <= 0 ? 0 : 1; } $diffScale = Long_sub(Long_fromInt($valueSign), Long_fromInt($diffPrecision)); var$7 = $this.$precision1; if (var$7 <= 0) var$7 = (($this.$bitLength0 - 1 | 0) * 0.3010299956639812 | 0) + 1 | 0; $valueSign = $val.$precision1; if ($valueSign <= 0) $valueSign = (($val.$bitLength0 - 1 | 0) * 0.3010299956639812 | 0) + 1 | 0; var$8 = Long_fromInt(var$7 - $valueSign | 0); if (Long_gt(var$8, Long_add($diffScale, Long_fromInt(1)))) return $thisSign; if (Long_lt(var$8, Long_sub($diffScale, Long_fromInt(1)))) return -$thisSign | 0; if ($this.$intVal === null) $this.$intVal = jm_BigInteger_valueOf($this.$smallValue); $thisUnscaled = $this.$intVal; if ($val.$intVal === null) $val.$intVal = jm_BigInteger_valueOf($val.$smallValue); $valUnscaled = $val.$intVal; $thisSign = Long_compare($diffScale, Long_ZERO); if ($thisSign < 0) { $val = jm_Multiplication_powerOf10(Long_neg($diffScale)); $thisUnscaled = !$val.$sign1 ? jm_BigInteger_ZERO : !$thisUnscaled.$sign1 ? jm_BigInteger_ZERO : jm_Multiplication_karatsuba($thisUnscaled, $val); } else if ($thisSign > 0) { $val = jm_Multiplication_powerOf10($diffScale); $valUnscaled = !$val.$sign1 ? jm_BigInteger_ZERO : !$valUnscaled.$sign1 ? jm_BigInteger_ZERO : jm_Multiplication_karatsuba($valUnscaled, $val); } return jm_BigInteger_compareTo($thisUnscaled, $valUnscaled); }, jm_BigDecimal_equals = ($this, $x) => { let $x1, var$3; if ($this === $x) return 1; if (!($x instanceof jm_BigDecimal)) return 0; a: { b: { c: { $x1 = $x; if ($x1.$scale0 == $this.$scale0) { if ($this.$bitLength0 >= 64) { if (!jm_BigInteger_equals($this.$intVal, $x1.$intVal)) break c; else break b; } if (Long_eq($x1.$smallValue, $this.$smallValue)) break b; } } var$3 = 0; break a; } var$3 = 1; } return var$3; }, jm_BigDecimal_hashCode = $this => { let var$1, var$2; var$1 = $this.$hashCode3; if (var$1) return var$1; if ($this.$bitLength0 >= 64) { var$1 = (17 * jm_BigInteger_hashCode($this.$intVal) | 0) + $this.$scale0 | 0; $this.$hashCode3 = var$1; return var$1; } var$2 = $this.$smallValue; var$1 = Long_lo(var$2); $this.$hashCode3 = var$1; var$1 = (33 * var$1 | 0) + Long_hi(var$2) | 0; $this.$hashCode3 = var$1; var$1 = (17 * var$1 | 0) + $this.$scale0 | 0; $this.$hashCode3 = var$1; return var$1; }, jm_BigDecimal_toString = $this => { let $result, $intString, $begin, $end, $exponent, var$6, var$7, var$8, var$9, var$10, var$11, var$12; $result = $this.$toStringImage; if ($result !== null) return $result; if ($this.$bitLength0 < 32) { $result = jm_Conversion_toDecimalScaledString0($this.$smallValue, $this.$scale0); $this.$toStringImage = $result; return $result; } if ($this.$intVal === null) $this.$intVal = jm_BigInteger_valueOf($this.$smallValue); $intString = jm_Conversion_toDecimalScaledString($this.$intVal, 0); if (!$this.$scale0) return $intString; if ($this.$intVal === null) $this.$intVal = jm_BigInteger_valueOf($this.$smallValue); $begin = $this.$intVal.$sign1 >= 0 ? 1 : 2; $end = $intString.$nativeString.length; $exponent = Long_sub(Long_add(Long_neg(Long_fromInt($this.$scale0)), Long_fromInt($end)), Long_fromInt($begin)); $result = new jl_StringBuilder; $result.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($result, $result.$length0, $intString); var$6 = $this.$scale0; if (var$6 > 0 && Long_ge($exponent, Long_fromInt(-6))) { if (Long_ge($exponent, Long_ZERO)) { $begin = $end - var$6 | 0; jl_AbstractStringBuilder_insertSpace($result, $begin, $begin + 1 | 0); $result.$buffer.data[$begin] = 46; } else { jl_AbstractStringBuilder_insert($result, $begin - 1 | 0, $rt_s(1170)); var$7 = $begin + 1 | 0; jm_BigDecimal_$callClinit(); var$8 = jm_BigDecimal_CH_ZEROS; $begin = 0; var$6 = ( -Long_lo($exponent) | 0) - 1 | 0; jl_AbstractStringBuilder_insertSpace($result, var$7, var$7 + var$6 | 0); $end = var$6 + $begin | 0; while ($begin < $end) { var$9 = var$8.data; var$10 = $result.$buffer.data; var$11 = var$7 + 1 | 0; var$6 = $begin + 1 | 0; var$10[var$7] = var$9[$begin]; var$7 = var$11; $begin = var$6; } } } else { if (($end - $begin | 0) >= 1) { jl_AbstractStringBuilder_insertSpace($result, $begin, $begin + 1 | 0); $result.$buffer.data[$begin] = 46; $end = $end + 1 | 0; } var$6 = $end + 1 | 0; jl_AbstractStringBuilder_insertSpace($result, $end, var$6); $result.$buffer.data[$end] = 69; if (Long_le($exponent, Long_ZERO)) var$6 = $end; else { jl_AbstractStringBuilder_insertSpace($result, var$6, var$6 + 1 | 0); $result.$buffer.data[var$6] = 43; } var$11 = var$6 + 1 | 0; $intString = new jl_StringBuilder; $intString.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert2($intString, $intString.$length0, $exponent, 10); var$12 = new jl_String; var$8 = $intString.$buffer; var$10 = var$8.data; var$6 = $intString.$length0; $end = var$10.length; if (var$6 >= 0 && var$6 <= ($end - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString(var$8.data, 0, var$6); jl_AbstractStringBuilder_insert($result, var$11, var$12); } else { $result = new jl_IndexOutOfBoundsException; jl_Throwable__init_($result); $rt_throw($result); } } $intString = new jl_String; var$8 = $result.$buffer; var$10 = var$8.data; var$6 = $result.$length0; $end = var$10.length; if (var$6 >= 0 && var$6 <= ($end - 0 | 0)) { $intString.$nativeString = $rt_charArrayToString(var$8.data, 0, var$6); $this.$toStringImage = $intString; return $intString; } $result = new jl_IndexOutOfBoundsException; $result.$suppressionEnabled = 1; $result.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($result); $rt_throw($result); }, jm_BigDecimal_toBigInteger = $this => { let var$1, var$2, var$3; var$1 = $this.$scale0; if (var$1 && !(!$this.$bitLength0 && Long_ne($this.$smallValue, Long_fromInt(-1)) ? 1 : 0)) { if (var$1 >= 0) { if ($this.$intVal === null) $this.$intVal = jm_BigInteger_valueOf($this.$smallValue); return jm_BigInteger_divide($this.$intVal, jm_Multiplication_powerOf10(Long_fromInt($this.$scale0))); } if ($this.$intVal === null) $this.$intVal = jm_BigInteger_valueOf($this.$smallValue); var$2 = $this.$intVal; var$3 = jm_Multiplication_powerOf10(Long_neg(Long_fromInt($this.$scale0))); return !var$3.$sign1 ? jm_BigInteger_ZERO : !var$2.$sign1 ? jm_BigInteger_ZERO : jm_Multiplication_karatsuba(var$2, var$3); } if ($this.$intVal === null) $this.$intVal = jm_BigInteger_valueOf($this.$smallValue); return $this.$intVal; }, jm_BigDecimal_longValue = $this => { let var$1, var$2, var$3; a: { var$1 = $this.$scale0; if (var$1 > (-64)) { var$2 = $this.$precision1; if (var$2 <= 0) var$2 = (($this.$bitLength0 - 1 | 0) * 0.3010299956639812 | 0) + 1 | 0; if (var$1 <= var$2) { var$3 = jm_BigInteger_longValue(jm_BigDecimal_toBigInteger($this)); break a; } } var$3 = Long_ZERO; } return var$3; }, jm_BigDecimal_intValue = $this => { let var$1, var$2, var$3; a: { var$1 = $this.$scale0; if (var$1 > (-32)) { var$2 = $this.$precision1; if (var$2 <= 0) var$2 = (($this.$bitLength0 - 1 | 0) * 0.3010299956639812 | 0) + 1 | 0; if (var$1 <= var$2) { var$3 = jm_BigDecimal_toBigInteger($this); var$2 = $rt_imul(var$3.$sign1, var$3.$digits.data[0]); break a; } } var$2 = 0; } return var$2; }, jm_BigDecimal_doubleValue = $this => { let $powerOfTwo, $sign, $exponent, $mantisa, $mantisa_0, $compRem, $quotAndRem, $k, $powerOfTen, $lowestSetBit, $discardedSize, var$12, var$13, var$14, var$15, var$16, var$17, $bits; if ($this.$bitLength0 < 64) { $powerOfTwo = $this.$smallValue; $sign = Long_lo(Long_or(Long_shr($powerOfTwo, 63), Long_shru(Long_neg($powerOfTwo), 63))); } else { if ($this.$intVal === null) $this.$intVal = jm_BigInteger_valueOf($this.$smallValue); $sign = $this.$intVal.$sign1; } $exponent = 1076; $powerOfTwo = Long_sub(Long_fromInt($this.$bitLength0), Long_fromNumber($this.$scale0 / 0.3010299956639812)); if (Long_ge($powerOfTwo, Long_fromInt(-1074)) && $sign) { if (Long_gt($powerOfTwo, Long_fromInt(1025))) return $sign * Infinity; if ($this.$intVal === null) $this.$intVal = jm_BigInteger_valueOf($this.$smallValue); $mantisa = $this.$intVal; if ($mantisa.$sign1 < 0) { $mantisa_0 = new jm_BigInteger; $compRem = $mantisa.$numberLength; $quotAndRem = $mantisa.$digits; $mantisa_0.$firstNonzeroDigit = (-2); $mantisa_0.$sign1 = 1; $mantisa_0.$numberLength = $compRem; $mantisa_0.$digits = $quotAndRem; $mantisa = $mantisa_0; } $k = $this.$scale0; if ($k <= 0) { $mantisa_0 = jm_Multiplication_powerOf10(Long_fromInt( -$k | 0)); $mantisa = !$mantisa_0.$sign1 ? jm_BigInteger_ZERO : !$mantisa.$sign1 ? jm_BigInteger_ZERO : jm_Multiplication_karatsuba($mantisa, $mantisa_0); } else { $powerOfTen = jm_Multiplication_powerOf10(Long_fromInt($k)); $k = 100 - Long_lo($powerOfTwo) | 0; if ($k > 0) { if ($k && $mantisa.$sign1) { if ($k <= 0) $mantisa = jm_BitLevel_shiftRight($mantisa, -$k | 0); else { $compRem = $k >> 5; $lowestSetBit = $k & 31; $discardedSize = ($mantisa.$numberLength + $compRem | 0) + ($lowestSetBit ? 1 : 0) | 0; $quotAndRem = $rt_createIntArray($discardedSize); jm_BitLevel_shiftLeft($quotAndRem, $mantisa.$digits, $compRem, $lowestSetBit); $mantisa_0 = new jm_BigInteger; $compRem = $mantisa.$sign1; $mantisa_0.$firstNonzeroDigit = (-2); $mantisa_0.$sign1 = $compRem; $mantisa_0.$numberLength = $discardedSize; $mantisa_0.$digits = $quotAndRem; jm_BigInteger_cutOffLeadingZeroes($mantisa_0); $mantisa = $mantisa_0; } } $exponent = $exponent - $k | 0; } $quotAndRem = (jm_BigInteger_divideAndRemainder($mantisa, $powerOfTen)).data; $mantisa = $quotAndRem[1]; var$12 = $mantisa.$sign1; if (var$12) { $k = $mantisa.$numberLength; $compRem = $k + 1 | 0; var$13 = $rt_createIntArray($compRem); var$14 = var$13.data; var$15 = $mantisa.$digits; $lowestSetBit = 0; var$16 = 0; while (var$16 < $k) { var$17 = var$15.data[var$16]; var$14[var$16] = var$17 << 1 | $lowestSetBit; $lowestSetBit = var$17 >>> 31 | 0; var$16 = var$16 + 1 | 0; } if ($lowestSetBit) var$14[$k] = $lowestSetBit; $mantisa = new jm_BigInteger; $mantisa.$firstNonzeroDigit = (-2); $mantisa.$sign1 = var$12; $mantisa.$numberLength = $compRem; $mantisa.$digits = var$13; jm_BigInteger_cutOffLeadingZeroes($mantisa); } $compRem = jm_BigInteger_compareTo($mantisa, $powerOfTen); $mantisa = $quotAndRem[0]; if ($mantisa.$sign1) { $discardedSize = ($mantisa.$numberLength + 0 | 0) + 1 | 0; $quotAndRem = $rt_createIntArray($discardedSize); jm_BitLevel_shiftLeft($quotAndRem, $mantisa.$digits, 0, 2); $mantisa_0 = new jm_BigInteger; $k = $mantisa.$sign1; $mantisa_0.$firstNonzeroDigit = (-2); $mantisa_0.$sign1 = $k; $mantisa_0.$numberLength = $discardedSize; $mantisa_0.$digits = $quotAndRem; jm_BigInteger_cutOffLeadingZeroes($mantisa_0); $mantisa = $mantisa_0; } $mantisa = jm_Elementary_add($mantisa, jm_BigInteger_valueOf(Long_fromInt(($rt_imul($compRem, $compRem + 3 | 0) / 2 | 0) + 1 | 0))); $exponent = $exponent + (-2) | 0; } $k = $mantisa.$sign1; if (!$k) $lowestSetBit = (-1); else { if ($mantisa.$firstNonzeroDigit == (-2)) { if (!$k) $k = (-1); else { $k = 0; while (!$mantisa.$digits.data[$k]) { $k = $k + 1 | 0; } } $mantisa.$firstNonzeroDigit = $k; } $compRem = $mantisa.$firstNonzeroDigit; $lowestSetBit = ($compRem << 5) + jl_Integer_numberOfTrailingZeros($mantisa.$digits.data[$compRem]) | 0; } $discardedSize = jm_BitLevel_bitLength($mantisa) - 54 | 0; if ($discardedSize <= 0) { $bits = Long_shl(jm_BigInteger_longValue($mantisa), -$discardedSize | 0); $powerOfTwo = Long_ne(Long_and($bits, Long_fromInt(3)), Long_fromInt(3)) ? $bits : Long_add($bits, Long_fromInt(2)); } else { if ($discardedSize && $mantisa.$sign1) { if ($discardedSize > 0) $mantisa = jm_BitLevel_shiftRight($mantisa, $discardedSize); else { $k = -$discardedSize | 0; $compRem = $k >> 5; $k = $k & 31; var$16 = ($mantisa.$numberLength + $compRem | 0) + ($k ? 1 : 0) | 0; $quotAndRem = $rt_createIntArray(var$16); jm_BitLevel_shiftLeft($quotAndRem, $mantisa.$digits, $compRem, $k); $mantisa_0 = new jm_BigInteger; $k = $mantisa.$sign1; $mantisa_0.$firstNonzeroDigit = (-2); $mantisa_0.$sign1 = $k; $mantisa_0.$numberLength = var$16; $mantisa_0.$digits = $quotAndRem; jm_BigInteger_cutOffLeadingZeroes($mantisa_0); $mantisa = $mantisa_0; } } $bits = jm_BigInteger_longValue($mantisa); $powerOfTwo = !(Long_eq(Long_and($bits, Long_fromInt(1)), Long_fromInt(1)) && $lowestSetBit < $discardedSize) && Long_ne(Long_and($bits, Long_fromInt(3)), Long_fromInt(3)) ? $bits : Long_add($bits, Long_fromInt(2)); } if (Long_eq(Long_and($powerOfTwo, Long_create(0, 4194304)), Long_ZERO)) { $powerOfTwo = Long_shr($powerOfTwo, 1); $exponent = $exponent + $discardedSize | 0; } else { $powerOfTwo = Long_shr($powerOfTwo, 2); $exponent = $exponent + ($discardedSize + 1 | 0) | 0; } if ($exponent > 2046) return $sign * Infinity; if ($exponent <= 0) { if ($exponent < (-53)) return $sign * 0.0; a: { $powerOfTwo = Long_shr($bits, 1); $bits = Long_and($powerOfTwo, Long_shru(Long_fromInt(-1), 63 + $exponent | 0)); $powerOfTwo = Long_shr($powerOfTwo, -$exponent | 0); if (Long_ne(Long_and($powerOfTwo, Long_fromInt(3)), Long_fromInt(3))) { if (Long_ne(Long_and($powerOfTwo, Long_fromInt(1)), Long_fromInt(1))) break a; if (Long_eq($bits, Long_ZERO)) break a; if ($lowestSetBit >= $discardedSize) break a; } $powerOfTwo = Long_add($powerOfTwo, Long_fromInt(1)); } $exponent = 0; $powerOfTwo = Long_shr($powerOfTwo, 1); } return $rt_longBitsToDouble(Long_or(Long_or(Long_and(Long_fromInt($sign), Long_create(0, 2147483648)), Long_shl(Long_fromInt($exponent), 52)), Long_and($powerOfTwo, Long_create(4294967295, 1048575)))); } return $sign * 0.0; }, jm_BigDecimal_compareTo0 = ($this, var$1) => { return jm_BigDecimal_compareTo($this, var$1); }, jm_BigDecimal__clinit_ = () => { let var$1, var$2, var$3, var$4, $i, $j, var$7; var$1 = new jm_BigDecimal; jm_BigDecimal_$callClinit(); var$1.$smallValue = Long_ZERO; var$1.$scale0 = 0; var$1.$bitLength0 = 32 - jl_Integer_numberOfLeadingZeros(0) | 0; jm_BigDecimal_ZERO = var$1; var$1 = new jm_BigDecimal; var$1.$smallValue = Long_fromInt(1); var$1.$scale0 = 0; var$1.$bitLength0 = 32 - jl_Integer_numberOfLeadingZeros(1) | 0; jm_BigDecimal_ONE = var$1; var$1 = new jm_BigDecimal; var$1.$smallValue = Long_fromInt(10); var$1.$scale0 = 0; var$1.$bitLength0 = 32 - jl_Integer_numberOfLeadingZeros(10) | 0; jm_BigDecimal_TEN = var$1; var$2 = $rt_createLongArray(19); var$3 = var$2.data; var$3[0] = Long_fromInt(1); var$3[1] = Long_fromInt(10); var$3[2] = Long_fromInt(100); var$3[3] = Long_fromInt(1000); var$3[4] = Long_fromInt(10000); var$3[5] = Long_fromInt(100000); var$3[6] = Long_fromInt(1000000); var$3[7] = Long_fromInt(10000000); var$3[8] = Long_fromInt(100000000); var$3[9] = Long_fromInt(1000000000); var$3[10] = Long_create(1410065408, 2); var$3[11] = Long_create(1215752192, 23); var$3[12] = Long_create(3567587328, 232); var$3[13] = Long_create(1316134912, 2328); var$3[14] = Long_create(276447232, 23283); var$3[15] = Long_create(2764472320, 232830); var$3[16] = Long_create(1874919424, 2328306); var$3[17] = Long_create(1569325056, 23283064); var$3[18] = Long_create(2808348672, 232830643); jm_BigDecimal_LONG_TEN_POW = var$2; var$2 = $rt_createLongArray(28); var$4 = var$2.data; var$4[0] = Long_fromInt(1); var$4[1] = Long_fromInt(5); var$4[2] = Long_fromInt(25); var$4[3] = Long_fromInt(125); var$4[4] = Long_fromInt(625); var$4[5] = Long_fromInt(3125); var$4[6] = Long_fromInt(15625); var$4[7] = Long_fromInt(78125); var$4[8] = Long_fromInt(390625); var$4[9] = Long_fromInt(1953125); var$4[10] = Long_fromInt(9765625); var$4[11] = Long_fromInt(48828125); var$4[12] = Long_fromInt(244140625); var$4[13] = Long_fromInt(1220703125); var$4[14] = Long_create(1808548329, 1); var$4[15] = Long_create(452807053, 7); var$4[16] = Long_create(2264035265, 35); var$4[17] = Long_create(2730241733, 177); var$4[18] = Long_create(766306777, 888); var$4[19] = Long_create(3831533885, 4440); var$4[20] = Long_create(1977800241, 22204); var$4[21] = Long_create(1299066613, 111022); var$4[22] = Long_create(2200365769, 555111); var$4[23] = Long_create(2411894253, 2775557); var$4[24] = Long_create(3469536673, 13877787); var$4[25] = Long_create(167814181, 69388939); var$4[26] = Long_create(839070905, 346944695); var$4[27] = Long_create(4195354525, 1734723475); jm_BigDecimal_LONG_FIVE_POW = var$2; jm_BigDecimal_LONG_FIVE_POW_BIT_LENGTH = $rt_createIntArray(var$4.length); jm_BigDecimal_LONG_TEN_POW_BIT_LENGTH = $rt_createIntArray(var$3.length); jm_BigDecimal_BI_SCALED_BY_ZERO = $rt_createArray(jm_BigDecimal, 11); jm_BigDecimal_ZERO_SCALED_BY = $rt_createArray(jm_BigDecimal, 11); jm_BigDecimal_CH_ZEROS = $rt_createCharArray(100); $i = 0; while ($i < jm_BigDecimal_ZERO_SCALED_BY.data.length) { var$2 = jm_BigDecimal_BI_SCALED_BY_ZERO; var$1 = new jm_BigDecimal; var$1.$smallValue = Long_fromInt($i); var$1.$scale0 = 0; $j = $i >= 0 ? $i : $i ^ (-1); var$2 = var$2.data; var$1.$bitLength0 = 32 - jl_Integer_numberOfLeadingZeros($j) | 0; var$2[$i] = var$1; var$2 = jm_BigDecimal_ZERO_SCALED_BY.data; var$1 = new jm_BigDecimal; var$1.$smallValue = Long_ZERO; var$1.$scale0 = $i; var$1.$bitLength0 = 32 - jl_Integer_numberOfLeadingZeros(0) | 0; var$2[$i] = var$1; jm_BigDecimal_CH_ZEROS.data[$i] = 48; $i = $i + 1 | 0; } while (true) { var$2 = jm_BigDecimal_CH_ZEROS.data; if ($i >= var$2.length) break; var$2[$i] = 48; $i = $i + 1 | 0; } $j = 0; while (true) { var$2 = jm_BigDecimal_LONG_FIVE_POW_BIT_LENGTH.data; if ($j >= var$2.length) break; var$7 = jm_BigDecimal_LONG_FIVE_POW.data[$j]; if (Long_lt(var$7, Long_ZERO)) var$7 = Long_xor(var$7, Long_fromInt(-1)); var$2[$j] = 64 - jl_Long_numberOfLeadingZeros(var$7) | 0; $j = $j + 1 | 0; } $j = 0; while (true) { var$2 = jm_BigDecimal_LONG_TEN_POW_BIT_LENGTH.data; if ($j >= var$2.length) break; var$7 = jm_BigDecimal_LONG_TEN_POW.data[$j]; if (Long_lt(var$7, Long_ZERO)) var$7 = Long_xor(var$7, Long_fromInt(-1)); var$2[$j] = 64 - jl_Long_numberOfLeadingZeros(var$7) | 0; $j = $j + 1 | 0; } jm_Multiplication_$callClinit(); jm_BigDecimal_TEN_POW = jm_Multiplication_bigTenPows; jm_BigDecimal_FIVE_POW = jm_Multiplication_bigFivePows; }; function jm_BigInteger() { let a = this; jl_Number.call(a); a.$digits = null; a.$numberLength = 0; a.$sign1 = 0; a.$firstNonzeroDigit = 0; a.$hashCode2 = 0; } let jm_BigInteger_ZERO = null, jm_BigInteger_ONE = null, jm_BigInteger_TWO = null, jm_BigInteger_TEN = null, jm_BigInteger_MINUS_ONE = null, jm_BigInteger_SMALL_VALUES = null, jm_BigInteger_TWO_POWS = null, jm_BigInteger__init_ = ($this, $val, $radix) => { let var$3; $this.$firstNonzeroDigit = (-2); if ($val === null) { $val = new jl_NullPointerException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $rt_throw($val); } if ($radix >= 2 && $radix <= 36) { if ($val.$nativeString.length) { jm_BigInteger_setFromString($this, $val, $radix); return; } $val = new jl_NumberFormatException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $val.$message = $rt_s(1171); $rt_throw($val); } var$3 = new jl_NumberFormatException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(1172); $rt_throw(var$3); }, jm_BigInteger__init_3 = (var_0, var_1) => { let var_2 = new jm_BigInteger(); jm_BigInteger__init_(var_2, var_0, var_1); return var_2; }, jm_BigInteger__init_1 = ($this, $sign, $val) => { let var$3; $this.$firstNonzeroDigit = (-2); $this.$sign1 = $sign; if (Long_eq(Long_and($val, Long_create(0, 4294967295)), Long_ZERO)) { $this.$numberLength = 1; var$3 = $rt_createIntArray(1); var$3.data[0] = Long_lo($val); $this.$digits = var$3; } else { $this.$numberLength = 2; $this.$digits = $rt_createIntArrayFromData([Long_lo($val), Long_hi($val)]); } }, jm_BigInteger__init_0 = (var_0, var_1) => { let var_2 = new jm_BigInteger(); jm_BigInteger__init_1(var_2, var_0, var_1); return var_2; }, jm_BigInteger__init_4 = ($this, $signum, $digits) => { let var$3, var$4; var$3 = $digits.data; $this.$firstNonzeroDigit = (-2); var$4 = var$3.length; if (var$4) { $this.$sign1 = $signum; $this.$numberLength = var$4; $this.$digits = $digits; jm_BigInteger_cutOffLeadingZeroes($this); } else { $this.$sign1 = 0; $this.$numberLength = 1; $digits = $rt_createIntArray(1); $digits.data[0] = 0; $this.$digits = $digits; } }, jm_BigInteger__init_2 = (var_0, var_1) => { let var_2 = new jm_BigInteger(); jm_BigInteger__init_4(var_2, var_0, var_1); return var_2; }, jm_BigInteger_valueOf = $val => { if (Long_lt($val, Long_ZERO)) { if (Long_eq($val, Long_fromInt(-1))) return jm_BigInteger_MINUS_ONE; return jm_BigInteger__init_0((-1), Long_neg($val)); } if (Long_gt($val, Long_fromInt(10))) return jm_BigInteger__init_0(1, $val); return jm_BigInteger_SMALL_VALUES.data[Long_lo($val)]; }, jm_BigInteger_setFromString = ($bi, $val, $radix) => { let $stringLength, $sign, $substrStart, $substrStart_0, $charsPerInt, $bigRadixDigitsLength, $topChars, $digits, $bigRadix, $digitIndex, var$14, var$15, var$16, $bigRadixDigit, var$18; $stringLength = $val.$nativeString.length; if (0 >= $val.$nativeString.length) { $bi = new jl_StringIndexOutOfBoundsException; $bi.$suppressionEnabled = 1; $bi.$writableStackTrace = 1; $rt_throw($bi); } if ($val.$nativeString.charCodeAt(0) != 45) { $sign = 1; $substrStart = 0; $substrStart_0 = $stringLength; } else { $sign = (-1); $substrStart = 1; $substrStart_0 = $stringLength + (-1) | 0; } $charsPerInt = jm_Conversion_digitFitInInt.data[$radix]; $bigRadixDigitsLength = $substrStart_0 / $charsPerInt | 0; $topChars = $substrStart_0 % $charsPerInt | 0; if ($topChars) $bigRadixDigitsLength = $bigRadixDigitsLength + 1 | 0; $digits = $rt_createIntArray($bigRadixDigitsLength); $bigRadix = jm_Conversion_bigRadices.data[$radix - 2 | 0]; $digitIndex = 0; if (!$topChars) $topChars = $charsPerInt; var$14 = $digits.data; $substrStart_0 = $substrStart + $topChars | 0; var$15 = Long_and(Long_fromInt($bigRadix), Long_create(4294967295, 0)); while ($substrStart < $stringLength) { var$16 = jl_String_substring($val, $substrStart, $substrStart_0); if (var$16 === null) { $bi = new jl_NumberFormatException; $bi.$suppressionEnabled = 1; $bi.$writableStackTrace = 1; $bi.$message = $rt_s(108); $rt_throw($bi); } $bigRadixDigit = jl_Integer_parseIntImpl(var$16, 0, var$16.$nativeString.length, $radix); jm_Multiplication_$callClinit(); var$18 = Long_ZERO; $topChars = 0; while ($topChars < $digitIndex) { var$18 = Long_add(Long_add(Long_mul(Long_and(Long_fromInt(var$14[$topChars]), Long_create(4294967295, 0)), var$15), Long_and(Long_fromInt(Long_lo(var$18)), Long_create(4294967295, 0))), Long_ZERO); var$14[$topChars] = Long_lo(var$18); var$18 = Long_shru(var$18, 32); $topChars = $topChars + 1 | 0; } $bigRadixDigitsLength = Long_lo(var$18) + jm_Elementary_inplaceAdd($digits, $digitIndex, $bigRadixDigit) | 0; $bigRadixDigit = $digitIndex + 1 | 0; var$14[$digitIndex] = $bigRadixDigitsLength; $bigRadixDigitsLength = $substrStart_0 + $charsPerInt | 0; $digitIndex = $bigRadixDigit; $substrStart = $substrStart_0; $substrStart_0 = $bigRadixDigitsLength; } $bi.$sign1 = $sign; $bi.$numberLength = $digitIndex; $bi.$digits = $digits; jm_BigInteger_cutOffLeadingZeroes($bi); }, jm_BigInteger_testBit = ($this, $n) => { let var$2, $intCount, var$4, $digit, var$6, $firstNonZeroDigit; if (!$n) return !($this.$digits.data[0] & 1) ? 0 : 1; if ($n < 0) { var$2 = new jl_ArithmeticException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(1173); $rt_throw(var$2); } $intCount = $n >> 5; if ($intCount >= $this.$numberLength) return $this.$sign1 >= 0 ? 0 : 1; var$4 = $this.$digits.data; $digit = var$4[$intCount]; $n = 1 << ($n & 31); var$6 = $this.$sign1; if (var$6 < 0) { if ($this.$firstNonzeroDigit == (-2)) { if (!var$6) var$6 = (-1); else { var$6 = 0; while (!var$4[var$6]) { var$6 = var$6 + 1 | 0; } } $this.$firstNonzeroDigit = var$6; } $firstNonZeroDigit = $this.$firstNonzeroDigit; if ($intCount < $firstNonZeroDigit) return 0; $digit = $firstNonZeroDigit == $intCount ? -$digit | 0 : $digit ^ (-1); } return !($digit & $n) ? 0 : 1; }, jm_BigInteger_intValue = $this => { return $rt_imul($this.$sign1, $this.$digits.data[0]); }, jm_BigInteger_longValue = $this => { let $value, var$2; if ($this.$numberLength <= 1) $value = Long_and(Long_fromInt($this.$digits.data[0]), Long_create(4294967295, 0)); else { var$2 = $this.$digits.data; $value = Long_or(Long_shl(Long_fromInt(var$2[1]), 32), Long_and(Long_fromInt(var$2[0]), Long_create(4294967295, 0))); } return Long_mul(Long_fromInt($this.$sign1), $value); }, jm_BigInteger_doubleValue = $this => { return jm_Conversion_bigInteger2Double($this); }, jm_BigInteger_compareTo = ($this, $val) => { let var$2, var$3, var$4, var$5; var$2 = $this.$sign1; var$3 = $val.$sign1; var$4 = $rt_compare(var$2, var$3); if (var$4 > 0) return 1; if (var$4 < 0) return (-1); var$4 = $this.$numberLength; var$5 = $rt_compare(var$4, $val.$numberLength); if (var$5 > 0) return var$2; if (var$5 < 0) return -var$3 | 0; return $rt_imul(var$2, jm_Elementary_compareArrays($this.$digits, $val.$digits, var$4)); }, jm_BigInteger_hashCode = $this => { let $i, var$2; $i = $this.$hashCode2; if ($i) return $i; $i = 0; while (true) { var$2 = $this.$digits.data; if ($i >= var$2.length) break; $this.$hashCode2 = ($this.$hashCode2 * 33 | 0) + var$2[$i] | 0; $i = $i + 1 | 0; } $i = $rt_imul($this.$hashCode2, $this.$sign1); $this.$hashCode2 = $i; return $i; }, jm_BigInteger_equals = ($this, $x) => { let $x1, var$3, var$4, var$5; if ($this === $x) return 1; if (!($x instanceof jm_BigInteger)) return 0; a: { $x1 = $x; if ($this.$sign1 == $x1.$sign1) { var$3 = $this.$numberLength; if (var$3 == $x1.$numberLength) { var$4 = $x1.$digits; var$3 = var$3 - 1 | 0; while (var$3 >= 0) { var$5 = var$4.data; if ($this.$digits.data[var$3] != var$5[var$3]) break; var$3 = var$3 + (-1) | 0; } if (var$3 >= 0 ? 0 : 1) { var$3 = 1; break a; } } } var$3 = 0; } return var$3; }, jm_BigInteger_toString = $this => { return jm_Conversion_toDecimalScaledString($this, 0); }, jm_BigInteger_pow = ($this, $exp) => { let var$2, $x, var$4, var$5, var$6, var$7; if ($exp < 0) { var$2 = new jl_ArithmeticException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(1174); $rt_throw(var$2); } if (!$exp) return jm_BigInteger_ONE; if ($exp != 1 && !jm_BigInteger_equals($this, jm_BigInteger_ONE) && !jm_BigInteger_equals($this, jm_BigInteger_ZERO)) { if (jm_BigInteger_testBit($this, 0)) return jm_Multiplication_pow($this, $exp); $x = 1; while (!jm_BigInteger_testBit($this, $x)) { $x = $x + 1 | 0; } var$2 = jm_BigInteger_getPowerOfTwo($rt_imul($x, $exp)); if ($x && $this.$sign1) { if ($x > 0) $this = jm_BitLevel_shiftRight($this, $x); else { $x = -$x | 0; var$4 = $x >> 5; $x = $x & 31; var$5 = ($this.$numberLength + var$4 | 0) + ($x ? 1 : 0) | 0; var$6 = $rt_createIntArray(var$5); jm_BitLevel_shiftLeft(var$6, $this.$digits, var$4, $x); var$7 = new jm_BigInteger; $x = $this.$sign1; var$7.$firstNonzeroDigit = (-2); var$7.$sign1 = $x; var$7.$numberLength = var$5; var$7.$digits = var$6; jm_BigInteger_cutOffLeadingZeroes(var$7); $this = var$7; } } var$7 = jm_BigInteger_pow($this, $exp); if (!var$7.$sign1) var$2 = jm_BigInteger_ZERO; else if (!var$2.$sign1) var$2 = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); var$2 = jm_Multiplication_karatsuba(var$2, var$7); } return var$2; } return $this; }, jm_BigInteger_divideAndRemainder = ($this, $divisor) => { let $divisorSign, $divisorLen, $divisorDigits, $thisDigits, $thisLen, $cmp, $thisSign, $quotientLength, $quotientSign, $quotientDigits, $remainderDigits, $result0, $result1; $divisorSign = $divisor.$sign1; if (!$divisorSign) { $divisor = new jl_ArithmeticException; $divisor.$suppressionEnabled = 1; $divisor.$writableStackTrace = 1; $divisor.$message = $rt_s(1175); $rt_throw($divisor); } $divisorLen = $divisor.$numberLength; $divisorDigits = $divisor.$digits; if ($divisorLen == 1) return jm_Division_divideAndRemainderByInteger($this, $divisorDigits.data[0], $divisorSign); $thisDigits = $this.$digits; $thisLen = $this.$numberLength; $cmp = $rt_compare($thisLen, $divisorLen); if ((!$cmp ? jm_Elementary_compareArrays($thisDigits, $divisorDigits, $thisLen) : $cmp <= 0 ? (-1) : 1) < 0) return $rt_wrapArray(jm_BigInteger, [jm_BigInteger_ZERO, $this]); $thisSign = $this.$sign1; $quotientLength = ($thisLen - $divisorLen | 0) + 1 | 0; $quotientSign = $thisSign != $divisorSign ? (-1) : 1; $quotientDigits = $rt_createIntArray($quotientLength); $remainderDigits = jm_Division_divide($quotientDigits, $quotientLength, $thisDigits, $thisLen, $divisorDigits, $divisorLen); $result0 = new jm_BigInteger; $result0.$firstNonzeroDigit = (-2); $result0.$sign1 = $quotientSign; $result0.$numberLength = $quotientLength; $result0.$digits = $quotientDigits; $result1 = new jm_BigInteger; $result1.$firstNonzeroDigit = (-2); $result1.$sign1 = $thisSign; $result1.$numberLength = $divisorLen; $result1.$digits = $remainderDigits; jm_BigInteger_cutOffLeadingZeroes($result0); jm_BigInteger_cutOffLeadingZeroes($result1); return $rt_wrapArray(jm_BigInteger, [$result0, $result1]); }, jm_BigInteger_divide = ($this, $divisor) => { let $divisorSign, $divisorLen, var$4, $thisSign, $resDigits, $thisLen, $val, $cmp, $resLength, $resSign, $result; $divisorSign = $divisor.$sign1; if (!$divisorSign) { $divisor = new jl_ArithmeticException; $divisor.$suppressionEnabled = 1; $divisor.$writableStackTrace = 1; $divisor.$message = $rt_s(1175); $rt_throw($divisor); } $divisorLen = $divisor.$numberLength; var$4 = $rt_compare($divisorLen, 1); if (!var$4 && $divisor.$digits.data[0] == 1 ? 1 : 0) { if ($divisorSign <= 0) { $divisorSign = $this.$sign1; if (!$divisorSign) $divisor = $this; else { $divisor = new jm_BigInteger; $divisorSign = -$divisorSign | 0; $thisSign = $this.$numberLength; $resDigits = $this.$digits; $divisor.$firstNonzeroDigit = (-2); $divisor.$sign1 = $divisorSign; $divisor.$numberLength = $thisSign; $divisor.$digits = $resDigits; } $this = $divisor; } return $this; } $thisSign = $this.$sign1; $thisLen = $this.$numberLength; if (($thisLen + $divisorLen | 0) == 2) { $val = Long_div(Long_and(Long_fromInt($this.$digits.data[0]), Long_create(4294967295, 0)), Long_and(Long_fromInt($divisor.$digits.data[0]), Long_create(4294967295, 0))); if ($thisSign != $divisorSign) $val = Long_neg($val); return jm_BigInteger_valueOf($val); } $cmp = $rt_compare($thisLen, $divisorLen); $cmp = !$cmp ? jm_Elementary_compareArrays($this.$digits, $divisor.$digits, $thisLen) : $cmp <= 0 ? (-1) : 1; if (!$cmp) return $thisSign != $divisorSign ? jm_BigInteger_MINUS_ONE : jm_BigInteger_ONE; if ($cmp == (-1)) return jm_BigInteger_ZERO; $resLength = ($thisLen - $divisorLen | 0) + 1 | 0; $resDigits = $rt_createIntArray($resLength); $resSign = $thisSign != $divisorSign ? (-1) : 1; if (var$4) jm_Division_divide($resDigits, $resLength, $this.$digits, $thisLen, $divisor.$digits, $divisorLen); else jm_Division_divideArrayByInt($resDigits, $this.$digits, $thisLen, $divisor.$digits.data[0]); $result = new jm_BigInteger; $result.$firstNonzeroDigit = (-2); $result.$sign1 = $resSign; $result.$numberLength = $resLength; $result.$digits = $resDigits; jm_BigInteger_cutOffLeadingZeroes($result); return $result; }, jm_BigInteger_remainder = ($this, $divisor) => { let $thisLen, $divisorLen, $qLen, $resDigits, $result; if (!$divisor.$sign1) { $divisor = new jl_ArithmeticException; $divisor.$suppressionEnabled = 1; $divisor.$writableStackTrace = 1; $divisor.$message = $rt_s(1175); $rt_throw($divisor); } $thisLen = $this.$numberLength; $divisorLen = $divisor.$numberLength; $qLen = $rt_compare($thisLen, $divisorLen); if ((!$qLen ? jm_Elementary_compareArrays($this.$digits, $divisor.$digits, $thisLen) : $qLen <= 0 ? (-1) : 1) == (-1)) return $this; $resDigits = $rt_createIntArray($divisorLen); if ($divisorLen != 1) $resDigits = jm_Division_divide(null, ($thisLen - $divisorLen | 0) + 1 | 0, $this.$digits, $thisLen, $divisor.$digits, $divisorLen); else $resDigits.data[0] = jm_Division_remainderArrayByInt($this.$digits, $thisLen, $divisor.$digits.data[0]); $result = new jm_BigInteger; $thisLen = $this.$sign1; $result.$firstNonzeroDigit = (-2); $result.$sign1 = $thisLen; $result.$numberLength = $divisorLen; $result.$digits = $resDigits; jm_BigInteger_cutOffLeadingZeroes($result); return $result; }, jm_BigInteger_cutOffLeadingZeroes = $this => { let var$1, var$2, var$3; while (true) { var$1 = $this.$numberLength; if (var$1 <= 0) break; var$2 = $this.$digits.data; var$1 = var$1 - 1 | 0; $this.$numberLength = var$1; if (var$2[var$1]) break; } var$2 = $this.$digits.data; var$3 = $this.$numberLength; $this.$numberLength = var$3 + 1 | 0; if (!var$2[var$3]) $this.$sign1 = 0; }, jm_BigInteger_getPowerOfTwo = $exp => { let $resDigits, $intCount, $bitN, var$5, var$6; $resDigits = jm_BigInteger_TWO_POWS.data; if ($exp < $resDigits.length) return $resDigits[$exp]; $intCount = $exp >> 5; $bitN = $exp & 31; var$5 = $intCount + 1 | 0; $resDigits = $rt_createIntArray(var$5); $resDigits.data[$intCount] = 1 << $bitN; var$6 = new jm_BigInteger; var$6.$firstNonzeroDigit = (-2); var$6.$sign1 = 1; var$6.$numberLength = var$5; var$6.$digits = $resDigits; return var$6; }, jm_BigInteger_compareTo0 = ($this, var$1) => { return jm_BigInteger_compareTo($this, var$1); }, jm_BigInteger__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $i; var$1 = new jm_BigInteger; var$1.$firstNonzeroDigit = (-2); var$1.$sign1 = 0; var$1.$numberLength = 1; var$2 = $rt_createIntArray(1); var$2.data[0] = 0; var$1.$digits = var$2; jm_BigInteger_ZERO = var$1; var$3 = new jm_BigInteger; var$3.$firstNonzeroDigit = (-2); var$3.$sign1 = 1; var$3.$numberLength = 1; var$2 = $rt_createIntArray(1); var$2.data[0] = 1; var$3.$digits = var$2; jm_BigInteger_ONE = var$3; var$4 = new jm_BigInteger; var$4.$firstNonzeroDigit = (-2); var$4.$sign1 = 1; var$4.$numberLength = 1; var$2 = $rt_createIntArray(1); var$2.data[0] = 2; var$4.$digits = var$2; jm_BigInteger_TWO = var$4; var$5 = new jm_BigInteger; var$5.$firstNonzeroDigit = (-2); var$5.$sign1 = 1; var$5.$numberLength = 1; var$2 = $rt_createIntArray(1); var$2.data[0] = 10; var$5.$digits = var$2; jm_BigInteger_TEN = var$5; var$6 = new jm_BigInteger; var$6.$firstNonzeroDigit = (-2); var$6.$sign1 = (-1); var$6.$numberLength = 1; var$2 = $rt_createIntArray(1); var$2.data[0] = 1; var$6.$digits = var$2; jm_BigInteger_MINUS_ONE = var$6; var$2 = $rt_createArray(jm_BigInteger, 11); var$7 = var$2.data; var$7[0] = var$1; var$7[1] = var$3; var$7[2] = var$4; var$1 = new jm_BigInteger; var$1.$firstNonzeroDigit = (-2); var$1.$sign1 = 1; var$1.$numberLength = 1; var$8 = $rt_createIntArray(1); var$8.data[0] = 3; var$1.$digits = var$8; var$7[3] = var$1; var$1 = new jm_BigInteger; var$1.$firstNonzeroDigit = (-2); var$1.$sign1 = 1; var$1.$numberLength = 1; var$8 = $rt_createIntArray(1); var$8.data[0] = 4; var$1.$digits = var$8; var$7[4] = var$1; var$1 = new jm_BigInteger; var$1.$firstNonzeroDigit = (-2); var$1.$sign1 = 1; var$1.$numberLength = 1; var$8 = $rt_createIntArray(1); var$8.data[0] = 5; var$1.$digits = var$8; var$7[5] = var$1; var$1 = new jm_BigInteger; var$1.$firstNonzeroDigit = (-2); var$1.$sign1 = 1; var$1.$numberLength = 1; var$8 = $rt_createIntArray(1); var$8.data[0] = 6; var$1.$digits = var$8; var$7[6] = var$1; var$1 = new jm_BigInteger; var$1.$firstNonzeroDigit = (-2); var$1.$sign1 = 1; var$1.$numberLength = 1; var$8 = $rt_createIntArray(1); var$8.data[0] = 7; var$1.$digits = var$8; var$7[7] = var$1; var$1 = new jm_BigInteger; var$1.$firstNonzeroDigit = (-2); var$1.$sign1 = 1; var$1.$numberLength = 1; var$8 = $rt_createIntArray(1); var$8.data[0] = 8; var$1.$digits = var$8; var$7[8] = var$1; var$1 = new jm_BigInteger; var$1.$firstNonzeroDigit = (-2); var$1.$sign1 = 1; var$1.$numberLength = 1; var$8 = $rt_createIntArray(1); var$8.data[0] = 9; var$1.$digits = var$8; var$7[9] = var$1; var$7[10] = var$5; jm_BigInteger_SMALL_VALUES = var$2; jm_BigInteger_TWO_POWS = $rt_createArray(jm_BigInteger, 32); $i = 0; while (true) { var$2 = jm_BigInteger_TWO_POWS.data; if ($i >= var$2.length) break; var$2[$i] = jm_BigInteger_valueOf(Long_shl(Long_fromInt(1), $i)); $i = $i + 1 | 0; } }; function nms_AABBPool() { let a = this; jl_Object.call(a); a.$maxNumCleans = 0; a.$numEntriesToRemove = 0; a.$listAABB = null; a.$nextPoolIndex = 0; a.$maxPoolIndex = 0; a.$numCleans = 0; } let nms_AABBPool_cleanPool = $this => { let $var1, $var1_0, var$3; $var1 = $this.$nextPoolIndex; if ($var1 > $this.$maxPoolIndex) $this.$maxPoolIndex = $var1; $var1_0 = $this.$numCleans; $this.$numCleans = $var1_0 + 1 | 0; if ($var1_0 == $this.$maxNumCleans) { $var1 = $this.$maxPoolIndex; $var1_0 = $this.$listAABB.$size0 - $this.$numEntriesToRemove | 0; if ($var1 > $var1_0) $var1_0 = $var1; while (true) { var$3 = $this.$listAABB; if (var$3.$size0 <= $var1_0) break; ju_ArrayList_remove(var$3, $var1_0); } $this.$maxPoolIndex = 0; $this.$numCleans = 0; } $this.$nextPoolIndex = 0; }; function nms_RenderEngine() { let a = this; jl_Object.call(a); a.$textureMap = null; a.$textureContentsMap = null; a.$textureNameToImageMap = null; a.$imageData = null; a.$urlToImageDataMap = null; a.$options3 = null; a.$texturePack = null; a.$missingTextureImage = null; a.$textureMapBlocks = null; a.$textureMapItems = null; a.$boundTexture = 0; } let nms_RenderEngine__init_0 = ($this, $par1TexturePackList, $par2GameSettings) => { let var$3, $missingTex, var$5, var$6, var$7, var$8, $i, var$10, var$11; $this.$textureMap = ju_HashMap__init_(); $this.$textureContentsMap = ju_HashMap__init_(); $this.$textureNameToImageMap = nms_IntHashMap__init_(); $this.$urlToImageDataMap = ju_HashMap__init_(); nleg_EaglerAdapterGL30_$callClinit(); var$3 = nleg_EaglerAdapterGL30_isWebGL; if (var$3) { $missingTex = $rt_createIntArray(4194304); var$3 = $missingTex.data.length; var$5 = new jn_IntBufferOverArray; var$6 = 0 + var$3 | 0; var$5.$mark = (-1); var$5.$capacity = var$3; var$5.$limit0 = var$3; var$5.$position0 = 0; var$5.$limit0 = var$6; var$5.$start3 = 0; var$5.$readOnly3 = 0; var$5.$array4 = $missingTex; } else { if (!var$3) { var$5 = new jn_ByteBufferImpl; $missingTex = $rt_createByteArray(16777216); var$5.$mark = (-1); var$5.$capacity = 16777216; var$5.$limit0 = 16777216; var$5.$order = jn_ByteOrder_BIG_ENDIAN; var$5.$start = 0; var$5.$array0 = $missingTex; var$5.$position0 = 0; var$5.$limit0 = 16777216; var$5.$direct = 1; var$5.$readOnly0 = 0; var$5.$order = jn_ByteOrder_nativeOrder(); } else { $missingTex = $rt_createByteArray(16777216); var$3 = $missingTex.data.length; if (var$3 >= 0 && var$3 <= (var$3 - 0 | 0)) { var$5 = new jn_ByteBufferImpl; var$7 = 0 + var$3 | 0; var$5.$mark = (-1); var$5.$capacity = var$3; var$5.$limit0 = var$3; var$5.$order = jn_ByteOrder_BIG_ENDIAN; var$5.$start = 0; var$5.$array0 = $missingTex; var$5.$position0 = 0; var$5.$limit0 = var$7; var$5.$direct = 0; var$5.$readOnly0 = 0; } else { $par1TexturePackList = new jl_IndexOutOfBoundsException; $par1TexturePackList.$suppressionEnabled = 1; $par1TexturePackList.$writableStackTrace = 1; $rt_throw($par1TexturePackList); } } var$5 = jn_ByteBufferImpl_asIntBuffer(var$5); } $this.$imageData = var$5; $this.$texturePack = $par1TexturePackList; $this.$options3 = $par2GameSettings; $missingTex = $rt_createIntArray(256); var$8 = $missingTex.data; $i = 0; while ($i < 256) { var$8[$i] = (($i / 16 | 0) + ($i % 16 | 0) | 0) % 2 | 0 ? (-16777216) : (-65281); $i = $i + 1 | 0; } $par1TexturePackList = nle_EaglerImage__init_($missingTex, 16, 16, 1); $this.$missingTextureImage = $par1TexturePackList; $this.$textureMapBlocks = nle_TextureTerrainMap__init_0(1024, $rt_s(1176), $rt_s(1177), $par1TexturePackList); $par1TexturePackList = new nms_TextureMap; var$10 = $this.$missingTextureImage; nms_TextureMap_$callClinit(); $par1TexturePackList.$mapTexturesStiched = ju_HashMap__init_(); var$11 = new ju_ArrayList; var$11.$array = $rt_createArray(jl_Object, 10); $par1TexturePackList.$listTextureStiched = var$11; $par1TexturePackList.$textureStichedMap = ju_HashMap__init_(); $par1TexturePackList.$textureType = 1; $par1TexturePackList.$textureName2 = $rt_s(1178); $par1TexturePackList.$basePath = $rt_s(1179); $par1TexturePackList.$textureExt = $rt_s(202); $par1TexturePackList.$missingImage0 = var$10; $this.$textureMapItems = $par1TexturePackList; }, nms_RenderEngine__init_ = (var_0, var_1) => { let var_2 = new nms_RenderEngine(); nms_RenderEngine__init_0(var_2, var_0, var_1); return var_2; }, nms_RenderEngine_getTexture = ($this, $par1Str) => { let $var3, $var2, $var5, $var6, $var7, var$7, $var9, var$9, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var9 = $thread.pop();var$7 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var2 = $thread.pop();$var3 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1Str === $rt_s(1180)) $var3 = 1; else if (!($rt_s(1180) instanceof jl_String)) $var3 = 0; else { $var2 = $rt_s(1180); $var3 = $par1Str.$nativeString !== $var2.$nativeString ? 0 : 1; } if ($var3) return $this.$textureMapBlocks.$texture; if ($par1Str === $rt_s(1181)) $var3 = 1; else if (!($rt_s(1181) instanceof jl_String)) $var3 = 0; else { $var2 = $rt_s(1181); $var3 = $par1Str.$nativeString !== $var2.$nativeString ? 0 : 1; } if ($var3) { $par1Str = $this.$textureMapItems.$atlasTexture; if ($par1Str.$textureDepth == 1) nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit + 0 | 0); nleg_EaglerAdapterGL30_glBindTexture($par1Str.$textureTarget, $par1Str.$glTextureId); if (!$par1Str.$textureNotModified) nms_Texture_uploadTexture($par1Str); return $this.$textureMapItems.$atlasTexture.$glTextureId; } $var2 = $this.$textureMap; if ($par1Str === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $par1Str.$hashCode1; $var6 = $var2.$elementData.data; $var2 = $var6[$var5 & ($var6.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { b: { $var7 = $var2.$key; if ($par1Str !== $var7) { if ($par1Str === $var7) $var3 = 1; else if (!($var7 instanceof jl_String)) $var3 = 0; else { $var7 = $var7; $var3 = $par1Str.$nativeString !== $var7.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break b; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 !== null) return $var2.$value0; try { var$7 = $par1Str; $var3 = nms_GLAllocation_generateTextureNames(); $var9 = jl_String_startsWith0($par1Str, $rt_s(1182)); if (!$var9) $var2 = $par1Str; else { var$7 = $par1Str; $var2 = jl_String_substring0($par1Str, 6); var$7 = $var2; } var$7 = $var2; $var5 = jl_String_startsWith0($var2, $rt_s(1183)); if ($var5) { var$7 = $var2; $var2 = jl_String_substring0($var2, 7); var$7 = $var2; } var$7 = $var2; $var7 = $this.$texturePack; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var7); nleg_EaglerAdapterGL30_$callClinit(); $var2 = nleg_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); $var7 = new nlea_EaglerAdapterImpl2$TextureGL; $par1Str = nlea_EaglerAdapterImpl2_webgl.createTexture(); $var7.$w1 = (-1); $var7.$h0 = (-1); $var7.$nearest = 1; $var7.$anisotropic = 0; $var7.$obj1 = $par1Str; var$9 = nleg_GLObjectMap_register($var2, $var7); $par1Str = nms_GLAllocation_field_74530_b; $var5 = $rt_compare(var$9, (-128)); if ($var5 >= 0 && var$9 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$9; } ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var6 = $par1Str.$array.data; $var9 = $par1Str.$size0; $par1Str.$size0 = $var9 + 1 | 0; $var6[$var9] = $var2; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; nms_RenderEngine_setupTextureExt($this, $this.$missingTextureImage, var$9, 0, 0); $par1Str = $this.$textureMap; if ($var5 >= 0 && var$9 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$9; } ju_HashMap_putImpl($par1Str, var$7, $var2); return var$9; case 1: try { $tmp = nms_TexturePackList_getSelectedTexturePack($var7); if ($rt_suspending()) { break main; } $var7 = $tmp; $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var7); nleg_EaglerAdapterGL30_$callClinit(); $var2 = nleg_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); $var7 = new nlea_EaglerAdapterImpl2$TextureGL; $par1Str = nlea_EaglerAdapterImpl2_webgl.createTexture(); $var7.$w1 = (-1); $var7.$h0 = (-1); $var7.$nearest = 1; $var7.$anisotropic = 0; $var7.$obj1 = $par1Str; var$9 = nleg_GLObjectMap_register($var2, $var7); $par1Str = nms_GLAllocation_field_74530_b; $var5 = $rt_compare(var$9, (-128)); if ($var5 >= 0 && var$9 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$9; } ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var6 = $par1Str.$array.data; $var9 = $par1Str.$size0; $par1Str.$size0 = $var9 + 1 | 0; $var6[$var9] = $var2; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; nms_RenderEngine_setupTextureExt($this, $this.$missingTextureImage, var$9, 0, 0); $par1Str = $this.$textureMap; if ($var5 >= 0 && var$9 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$9; } ju_HashMap_putImpl($par1Str, var$7, $var2); return var$9; case 2: c: { d: { try { $tmp = $var7.$getResourceAsBytes($var2); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 !== null) break d; var$7 = $var2; nms_RenderEngine_setupTextureExt($this, $this.$missingTextureImage, $var3, $var9, $var5); var$7 = $var2; ju_HashMap_put($this.$textureMap, $par1Str, jl_Integer_valueOf($var3)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; break c; } else { throw $$e; } } return $var3; } try { var$7 = $var2; $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; } else { throw $$e; } } } jl_Throwable_printStackTrace0($var7); nleg_EaglerAdapterGL30_$callClinit(); $var2 = nleg_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); $var7 = new nlea_EaglerAdapterImpl2$TextureGL; $par1Str = nlea_EaglerAdapterImpl2_webgl.createTexture(); $var7.$w1 = (-1); $var7.$h0 = (-1); $var7.$nearest = 1; $var7.$anisotropic = 0; $var7.$obj1 = $par1Str; var$9 = nleg_GLObjectMap_register($var2, $var7); $par1Str = nms_GLAllocation_field_74530_b; $var5 = $rt_compare(var$9, (-128)); if ($var5 >= 0 && var$9 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$9; } ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var6 = $par1Str.$array.data; $var9 = $par1Str.$size0; $par1Str.$size0 = $var9 + 1 | 0; $var6[$var9] = $var2; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; nms_RenderEngine_setupTextureExt($this, $this.$missingTextureImage, var$9, 0, 0); $par1Str = $this.$textureMap; if ($var5 >= 0 && var$9 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$9; } ju_HashMap_putImpl($par1Str, var$7, $var2); return var$9; case 3: c: { try { $tmp = nle_EaglerImage_loadImage($var6); if ($rt_suspending()) { break main; } $var7 = $tmp; nms_RenderEngine_setupTextureExt($this, $var7, $var3, $var9, $var5); var$7 = $var2; ju_HashMap_put($this.$textureMap, $par1Str, jl_Integer_valueOf($var3)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var7 = $$je; break c; } else { throw $$e; } } return $var3; } jl_Throwable_printStackTrace0($var7); nleg_EaglerAdapterGL30_$callClinit(); $var2 = nleg_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); $var7 = new nlea_EaglerAdapterImpl2$TextureGL; $par1Str = nlea_EaglerAdapterImpl2_webgl.createTexture(); $var7.$w1 = (-1); $var7.$h0 = (-1); $var7.$nearest = 1; $var7.$anisotropic = 0; $var7.$obj1 = $par1Str; var$9 = nleg_GLObjectMap_register($var2, $var7); $par1Str = nms_GLAllocation_field_74530_b; $var5 = $rt_compare(var$9, (-128)); if ($var5 >= 0 && var$9 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$9; } ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var6 = $par1Str.$array.data; $var9 = $par1Str.$size0; $par1Str.$size0 = $var9 + 1 | 0; $var6[$var9] = $var2; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; nms_RenderEngine_setupTextureExt($this, $this.$missingTextureImage, var$9, 0, 0); $par1Str = $this.$textureMap; if ($var5 >= 0 && var$9 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$9; } ju_HashMap_putImpl($par1Str, var$7, $var2); return var$9; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $var3, $var2, $var5, $var6, $var7, var$7, $var9, var$9, $ptr); }, nms_RenderEngine_setupTextureExt = ($this, $par1BufferedImage, $par2, $par3, $par4) => { let $var5, $var6, $var7, var$8; if ($par2 != $this.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $par2); $this.$boundTexture = $par2; } nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9728); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9728); if ($par3) { nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9729); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9729); } if (!$par4) { nleg_EaglerAdapterGL30_glTexParameteri(3553, 10242, 10497); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10243, 10497); } else { nleg_EaglerAdapterGL30_glTexParameteri(3553, 10242, 33071); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10243, 33071); } $var5 = $par1BufferedImage.$w0; $var6 = $par1BufferedImage.$h; $var7 = $par1BufferedImage.$data5; $par1BufferedImage = $this.$options3; if ($par1BufferedImage !== null && $par1BufferedImage.$anaglyph) $var7 = nms_RenderEngine_colorToAnaglyph($this, $var7); var$8 = $var7.data; $par1BufferedImage = $this.$imageData; $par1BufferedImage.$position0 = 0; $par1BufferedImage.$limit0 = $par1BufferedImage.$capacity; $par1BufferedImage.$mark = (-1); $par3 = var$8.length; jn_IntBuffer_put($par1BufferedImage, $var7, 0, $par3); $par1BufferedImage = $this.$imageData; jn_Buffer_position($par1BufferedImage, 0); jn_Buffer_limit($par1BufferedImage, $par3); nleg_EaglerAdapterGL30_glTexImage2D(3553, 0, 6408, $var5, $var6, 0, 32993, 33639, $this.$imageData); }, nms_RenderEngine_setupTextureRaw = ($this, $data, $w, $h) => { let var$4, var$5, var$6, var$7, var$8, var$9, $upload, $i, var$12, var$13; nleg_EaglerAdapterGL30_$callClinit(); var$4 = nleg_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); var$5 = new nlea_EaglerAdapterImpl2$TextureGL; var$6 = nlea_EaglerAdapterImpl2_webgl.createTexture(); var$5.$w1 = (-1); var$5.$h0 = (-1); var$5.$nearest = 1; var$5.$anisotropic = 0; var$5.$obj1 = var$6; var$7 = nleg_GLObjectMap_register(var$4, var$5); var$4 = nms_GLAllocation_field_74530_b; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$7; } ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$8 = var$4.$array.data; var$9 = var$4.$size0; var$4.$size0 = var$9 + 1 | 0; var$8[var$9] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; if (var$7 != $this.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, var$7); $this.$boundTexture = var$7; } var$8 = $data.data; nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9728); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9728); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10242, 33071); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10243, 33071); var$4 = $this.$imageData; var$4.$position0 = 0; var$4.$limit0 = var$4.$capacity; var$4.$mark = (-1); $upload = $rt_createIntArray(var$8.length / 4 | 0); $data = $upload.data; $i = 0; var$12 = $data.length; while ($i < var$12) { var$13 = $i * 4 | 0; $data[$i] = (var$8[var$13 + 3 | 0] & 255) << 24 | (var$8[var$13 + 2 | 0] & 255) << 16 | (var$8[var$13 + 1 | 0] & 255) << 8 | var$8[var$13] & 255; $i = $i + 1 | 0; } var$4 = jn_IntBuffer_put(var$4, $upload, 0, var$12); var$4.$limit0 = var$4.$position0; var$4.$position0 = 0; var$4.$mark = (-1); nleg_EaglerAdapterGL30_glTexImage2D(3553, 0, 6408, $w, $h, 0, 32993, 33639, $this.$imageData); return var$7; }, nms_RenderEngine_colorToAnaglyph = ($this, $par1ArrayOfInteger) => { let var$2, $var2, var$4, $var3, $var4, $var5, $var6, $var7, $var10; $par1ArrayOfInteger = $par1ArrayOfInteger.data; var$2 = $par1ArrayOfInteger.length; $var2 = $rt_createIntArray(var$2); var$4 = $var2.data; $var3 = 0; while ($var3 < var$2) { $var4 = $par1ArrayOfInteger[$var3] >> 24 & 255; $var5 = $par1ArrayOfInteger[$var3] >> 16 & 255; $var6 = $par1ArrayOfInteger[$var3] >> 8 & 255; $var7 = $par1ArrayOfInteger[$var3] & 255; $var10 = $var5 * 30 | 0; var$4[$var3] = $var4 << 24 | ((($var10 + ($var6 * 59 | 0) | 0) + ($var7 * 11 | 0) | 0) / 100 | 0) << 16 | (($var10 + ($var6 * 70 | 0) | 0) / 100 | 0) << 8 | (($var10 + ($var7 * 70 | 0) | 0) / 100 | 0); $var3 = $var3 + 1 | 0; } return $var2; }, nms_RenderEngine_createTextureFromBytes = ($this, $par1ArrayOfInteger, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8; if ($par4 != $this.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $par4); $this.$boundTexture = $par4; } nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9728); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9728); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10242, 10497); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10243, 10497); var$5 = $this.$options3; if (var$5 !== null && var$5.$anaglyph) $par1ArrayOfInteger = nms_RenderEngine_colorToAnaglyph($this, $par1ArrayOfInteger); var$6 = $par1ArrayOfInteger.data; var$5 = $this.$imageData; var$5.$position0 = 0; var$5.$limit0 = var$5.$capacity; var$5.$mark = (-1); var$7 = var$6.length; jn_IntBuffer_put(var$5, $par1ArrayOfInteger, 0, var$7); var$5 = $this.$imageData; jn_Buffer_position(var$5, 0); jn_Buffer_limit(var$5, var$7); var$5 = $this.$imageData; switch (3553) { case 3553: break; default: } nleg_EaglerAdapterGL30_bytesUploaded = nleg_EaglerAdapterGL30_bytesUploaded + ((var$5.$limit0 - var$5.$position0 | 0) * 4 | 0) | 0; nlea_EaglerAdapterImpl2_$callClinit(); var$8 = nlea_EaglerAdapterImpl2_webgl; var$5 = nleat_BufferConverter_convertIntBufferUnsigned(var$5); var$8.texSubImage2D(3553, 0, 0, 0, $par2, $par3, 6408, 5121, var$5); }, nms_RenderEngine_refreshTextures = $this => { let $var4, var$2, $var7, $var3, $var1, $var6, $var11, $var2, $var12, var$10, $var9, $var8, $var4_0, $var5, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$var4_0 = $thread.pop();$var8 = $thread.pop();$var9 = $thread.pop();var$10 = $thread.pop();$var12 = $thread.pop();$var2 = $thread.pop();$var11 = $thread.pop();$var6 = $thread.pop();$var1 = $thread.pop();$var3 = $thread.pop();$var7 = $thread.pop();var$2 = $thread.pop();$var4 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = nle_TextureLocation_locations; var$2 = 0; $var7 = $var4.$modCount; $var3 = $var4.$size(); while (true) { if (!(var$2 >= $var3 ? 0 : 1)) { $var1 = $this.$texturePack.$selectedTexturePack; $var4 = $this.$textureMapBlocks; $ptr = 1; continue main; } if ($var7 < $var4.$modCount) break; $var6 = var$2 + 1 | 0; ($var4.$get(var$2)).$glObject = (-1); var$2 = $var6; } $var4 = new ju_ConcurrentModificationException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); case 1: nle_TextureTerrainMap_refreshTextures($var4); if ($rt_suspending()) { break main; } $var4 = $this.$textureMapItems; $ptr = 2; case 2: nms_TextureMap_refreshTextures($var4); if ($rt_suspending()) { break main; } $var4 = $this.$textureNameToImageMap.$keySet0.$backingMap; if ($var4.$cachedKeySet === null) { $var11 = new ju_HashMap$1; $var11.$this$0 = $var4; $var4.$cachedKeySet = $var11; } $var2 = $var4.$cachedKeySet.$iterator(); while ($var2.$hasNext()) { $var3 = ($var2.$next()).$value0; $var4 = $this.$textureNameToImageMap; $var12 = $var3 ^ ($var3 >>> 20 | 0) ^ ($var3 >>> 12 | 0); $var7 = $var12 ^ ($var12 >>> 7 | 0) ^ ($var12 >>> 4 | 0); var$10 = $var4.$slots.data; $var4 = var$10[$var7 & (var$10.length - 1 | 0)]; a: { while ($var4 !== null) { if ($var4.$hashEntry == $var3) { $var4 = $var4.$valueEntry; break a; } $var4 = $var4.$nextEntry; } $var4 = null; } nms_RenderEngine_setupTextureExt($this, $var4, $var3, 0, 0); } $var4 = $this.$textureMap; if ($var4.$cachedKeySet === null) { $var11 = new ju_HashMap$1; $var11.$this$0 = $var4; $var4.$cachedKeySet = $var11; } $var4 = $var4.$cachedKeySet.$iterator(); while ($var4.$hasNext()) { $var11 = $var4.$next(); try { $var12 = jl_Integer_intValue(ju_HashMap_get($this.$textureMap, $var11)); $var6 = jl_String_startsWith0($var11, $rt_s(1182)); if ($var6) $var11 = jl_String_substring0($var11, 6); $var7 = jl_String_startsWith0($var11, $rt_s(1183)); if ($var7) $var11 = jl_String_substring0($var11, 7); $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var9 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var9); } $var4 = $this.$textureContentsMap; if ($var4.$cachedKeySet === null) { $var11 = new ju_HashMap$1; $var11.$this$0 = $var4; $var4.$cachedKeySet = $var11; } $var4 = $var4.$cachedKeySet.$iterator(); while ($var4.$hasNext()) { $var11 = $var4.$next(); try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); } $var11 = nms_Minecraft_theMinecraft; $var4 = $var11.$fontRenderer0; $var4_0 = $var11.$texturePackList.$selectedTexturePack; $var11 = $rt_s(1184); $ptr = 3; case 3: $tmp = $var4_0.$getResourceAsBytes($var11); if ($rt_suspending()) { break main; } var$10 = $tmp; $var4.$glyphWidth = var$10; $var11 = $var4.$fontTextureName; $ptr = 4; case 4: nms_FontRenderer_readFontTexture($var4, $var11); if ($rt_suspending()) { break main; } $var11 = nms_Minecraft_theMinecraft; $var4 = $var11.$standardGalacticFontRenderer; $var4_0 = $var11.$texturePackList.$selectedTexturePack; $var11 = $rt_s(1184); $ptr = 5; case 5: $tmp = $var4_0.$getResourceAsBytes($var11); if ($rt_suspending()) { break main; } var$10 = $tmp; $var4.$glyphWidth = var$10; $var11 = $var4.$fontTextureName; $ptr = 6; case 6: nms_FontRenderer_readFontTexture($var4, $var11); if ($rt_suspending()) { break main; } return; case 7: try { $tmp = $var1.$getResourceAsBytes($var11); if ($rt_suspending()) { break main; } var$10 = $tmp; $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var8 = $$je; } else { throw $$e; } } while (true) { jl_Throwable_printStackTrace0($var8); if (!$var4.$hasNext()) break; $var11 = $var4.$next(); try { continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var8 = $$je; continue; } else { throw $$e; } } } $var11 = nms_Minecraft_theMinecraft; $var4 = $var11.$fontRenderer0; $var4_0 = $var11.$texturePackList.$selectedTexturePack; $var11 = $rt_s(1184); $ptr = 3; continue main; case 8: b: { try { $tmp = nlea_EaglerAdapterImpl2_loadPNG(var$10); if ($rt_suspending()) { break main; } $var4_0 = $tmp; if ($var4_0 === null) $rt_throw(ji_IOException__init_0($rt_s(1185))); jl_System_fastArraycopy($var4_0.$data5, 0, ju_HashMap_get($this.$textureContentsMap, $var11), 0, $var4_0.$data5.data.length); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); } while ($var4.$hasNext()) { $var11 = $var4.$next(); try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); } $var11 = nms_Minecraft_theMinecraft; $var4 = $var11.$fontRenderer0; $var4_0 = $var11.$texturePackList.$selectedTexturePack; $var11 = $rt_s(1184); $ptr = 3; continue main; case 9: try { $tmp = $var1.$getResourceAsBytes($var11); if ($rt_suspending()) { break main; } var$10 = $tmp; $ptr = 10; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var9 = $$je; } else { throw $$e; } } c: while (true) { jl_Throwable_printStackTrace0($var9); if (!$var4.$hasNext()) break; $var11 = $var4.$next(); d: { e: { try { $var12 = jl_Integer_intValue(ju_HashMap_get($this.$textureMap, $var11)); $var6 = jl_String_startsWith0($var11, $rt_s(1182)); if ($var6) break e; break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var9 = $$je; continue c; } else { throw $$e; } } } try { $var11 = jl_String_substring0($var11, 6); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var9 = $$je; continue c; } else { throw $$e; } } } f: { g: { try { $var7 = jl_String_startsWith0($var11, $rt_s(1183)); if ($var7) break g; break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var9 = $$je; continue c; } else { throw $$e; } } } try { $var11 = jl_String_substring0($var11, 7); break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var9 = $$je; continue c; } else { throw $$e; } } } try { continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var9 = $$je; continue; } else { throw $$e; } } } $var4 = $this.$textureContentsMap; if ($var4.$cachedKeySet === null) { $var11 = new ju_HashMap$1; $var11.$this$0 = $var4; $var4.$cachedKeySet = $var11; } $var4 = $var4.$cachedKeySet.$iterator(); while ($var4.$hasNext()) { $var11 = $var4.$next(); try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); } $var11 = nms_Minecraft_theMinecraft; $var4 = $var11.$fontRenderer0; $var4_0 = $var11.$texturePackList.$selectedTexturePack; $var11 = $rt_s(1184); $ptr = 3; continue main; case 10: b: { try { $tmp = nlea_EaglerAdapterImpl2_loadPNG(var$10); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 === null) $rt_throw(ji_IOException__init_0($rt_s(1185))); nms_RenderEngine_setupTextureExt($this, $var5, $var12, $var6, $var7); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var9 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var9); } while ($var4.$hasNext()) { $var11 = $var4.$next(); try { $var12 = jl_Integer_intValue(ju_HashMap_get($this.$textureMap, $var11)); $var6 = jl_String_startsWith0($var11, $rt_s(1182)); if ($var6) $var11 = jl_String_substring0($var11, 6); $var7 = jl_String_startsWith0($var11, $rt_s(1183)); if ($var7) $var11 = jl_String_substring0($var11, 7); $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var9 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var9); } $var4 = $this.$textureContentsMap; if ($var4.$cachedKeySet === null) { $var11 = new ju_HashMap$1; $var11.$this$0 = $var4; $var4.$cachedKeySet = $var11; } $var4 = $var4.$cachedKeySet.$iterator(); while ($var4.$hasNext()) { $var11 = $var4.$next(); try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var8 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var8); } $var11 = nms_Minecraft_theMinecraft; $var4 = $var11.$fontRenderer0; $var4_0 = $var11.$texturePackList.$selectedTexturePack; $var11 = $rt_s(1184); $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var4, var$2, $var7, $var3, $var1, $var6, $var11, $var2, $var12, var$10, $var9, $var8, $var4_0, $var5, $ptr); }, nms_RenderEngine_getMissingIcon = ($this, $par1) => { a: { switch ($par1) { case 0: break; case 1: break a; default: break a; } return $this.$textureMapBlocks.$missingImage; } return $this.$textureMapItems.$missingTextureStiched; }, nms_IBlockAccess = $rt_classWithoutFields(0); function nms_World() { let a = this; jl_Object.call(a); a.$loadedEntityList = null; a.$unloadedEntityList = null; a.$loadedTileEntityList = null; a.$addedTileEntityList = null; a.$entityRemoval = null; a.$playerEntities = null; a.$weatherEffects = null; a.$cloudColour = Long_ZERO; a.$skylightSubtracted = 0; a.$updateLCG = 0; a.$DIST_HASH_MAGIC = 1013904223; a.$prevRainingStrength = 0.0; a.$rainingStrength = 0.0; a.$prevThunderingStrength = 0.0; a.$thunderingStrength = 0.0; a.$lastLightningBolt = 0; a.$difficultySetting = 0; a.$rand0 = null; a.$provider = null; a.$worldAccesses = null; a.$chunkProvider = null; a.$saveHandler = null; a.$worldInfo = null; a.$mapStorage = null; a.$villageCollectionObj = null; a.$villageSiegeObj = null; a.$vecPool = null; a.$theCalendar = null; a.$worldScoreboard = null; a.$collidingBoundingBoxes = null; a.$scanningTileEntities = 0; a.$spawnHostileMobs = 0; a.$spawnPeacefulMobs = 0; a.$activeChunkSet = null; a.$ambientTickCountdown = 0; a.$lightUpdateBlockList = null; a.$isRemote = 0; } let nms_World_getBiomeGenForCoords = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8; var$3 = $par1 >> 4; var$4 = $par2 >> 4; var$5 = $this.$chunkProvider; var$6 = var$5.$chunkMapping; var$7 = Long_or(Long_and(Long_fromInt(var$3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$4), Long_create(4294967295, 0)), 32)); var$3 = Long_lo(Long_xor(var$7, Long_shru(var$7, 32))); var$3 = var$3 ^ (var$3 >>> 20 | 0) ^ (var$3 >>> 12 | 0); var$4 = var$3 ^ (var$3 >>> 7 | 0) ^ (var$3 >>> 4 | 0); var$8 = var$6.$hashArray.data; var$6 = var$8[var$4 & (var$8.length - 1 | 0)]; a: { while (var$6 !== null) { if (Long_eq(var$6.$key1, var$7)) { var$6 = var$6.$value6; break a; } var$6 = var$6.$nextEntry0; } var$6 = null; } var$6 = var$6; if (var$6 === null) var$6 = var$5.$blankChunk; if (var$6 === null) return $this.$provider.$worldChunkMgr.$getBiomeGenAt($par1, $par2); return nms_Chunk_getBiomeGenForWorldCoords(var$6, $par1 & 15, $par2 & 15, $this.$provider.$worldChunkMgr); }, nms_World__init_ = ($this, $par1ISaveHandler, $par2Str, $par3WorldProvider, $par4WorldSettings) => { let $var7, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $$je; $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $this.$loadedEntityList = $var7; $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $this.$unloadedEntityList = $var7; $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $this.$loadedTileEntityList = $var7; $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $this.$addedTileEntityList = $var7; $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $this.$entityRemoval = $var7; $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $this.$playerEntities = $var7; $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $this.$weatherEffects = $var7; $this.$cloudColour = Long_fromInt(16777215); $this.$updateLCG = Long_lo(Long_shru(Long_and(Long_add(Long_mul(Long_fromNumber(performance.now() * 1000000.0), Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)), 16)); $this.$DIST_HASH_MAGIC = 1013904223; $var7 = new nle_EaglercraftRandom; var$6 = Long_fromNumber(performance.now() * 1000000.0); $var7.$seed = Long_fromInt(69); $var7.$haveNextNextGaussian = 0; $var7.$seed = var$6; $this.$rand0 = $var7; $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $this.$worldAccesses = $var7; $var7 = new nms_VillageSiege; $var7.$field_75536_c = (-1); $var7.$worldObj16 = $this; $this.$villageSiegeObj = $var7; $var7 = new nms_Vec3Pool; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); $var7.$vec3Cache = var$7; $var7.$truncateArrayResetThreshold = 300; $var7.$minimumSize = 2000; $this.$vecPool = $var7; $var7 = new ju_GregorianCalendar; ju_Locale_$callClinit(); var$8 = ju_Locale_defaultLocale; ju_TimeZone_$callClinit(); if (ju_TimeZone_defaultTz === null) { var$7 = otcit_DateTimeZoneProvider_detectTimezone(); if (var$7 === null) var$9 = null; else { var$9 = new ju_IANATimeZone; var$9.$id5 = var$7.$iID; var$9.$underlyingZone = var$7; var$10 = var$7.$getStandardOffset(jl_System_currentTimeMillis()); var$9.$rawOffset = var$10; var$9.$diff = -var$10 | 0; } ju_TimeZone_defaultTz = var$9; if (var$9 === null) ju_TimeZone_defaultTz = ju_TimeZone_GMT; } var$7 = ju_TimeZone_defaultTz; a: { try { var$9 = jl_Object_clone(var$7); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { } else { throw $$e; } } var$9 = null; } var$9.$rawOffset = var$7.$rawOffset; var$9.$underlyingZone = var$7.$underlyingZone; ju_GregorianCalendar__init_($var7, var$9, var$8); $this.$theCalendar = $var7; $this.$worldScoreboard = nms_Scoreboard__init_0(); $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $this.$collidingBoundingBoxes = $var7; $this.$spawnHostileMobs = 1; $this.$spawnPeacefulMobs = 1; $var7 = new ju_HashSet; var$7 = new ju_HashMap; var$10 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$10); var$12 = var$11.data; var$7.$elementData = var$11; var$7.$loadFactor = 0.75; var$7.$threshold = var$12.length * 0.75 | 0; $var7.$backingMap = var$7; $this.$activeChunkSet = $var7; $var7 = $this.$rand0; var$13 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$13; var$14 = Long_lo(Long_shru(var$13, 17)); while (true) { var$15 = var$14 % 12000 | 0; if (((var$14 - var$15 | 0) + 11999 | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$13; var$14 = Long_lo(Long_shru(var$13, 17)); } b: { $this.$ambientTickCountdown = var$15; $this.$lightUpdateBlockList = $rt_createIntArray(32768); $this.$saveHandler = $par1ISaveHandler; $this.$worldInfo = nms_WorldInfo__init_1($par4WorldSettings, $par2Str); $this.$provider = $par3WorldProvider; $par1ISaveHandler = nms_MapStorage__init_(); $this.$mapStorage = $par1ISaveHandler; $par1ISaveHandler = $par1ISaveHandler.$loadedDataMap; if (!$rt_s(1186).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(1186).$nativeString.length) break b; $rt_s(1186).$hashCode1 = (31 * $rt_s(1186).$hashCode1 | 0) + $rt_s(1186).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$15 = $rt_s(1186).$hashCode1; var$12 = $par1ISaveHandler.$elementData.data; $par1ISaveHandler = var$12[var$15 & (var$12.length - 1 | 0)]; while ($par1ISaveHandler !== null) { if ($par1ISaveHandler.$origKeyHash == var$15) { c: { $par2Str = $par1ISaveHandler.$key; if ($rt_s(1186) !== $par2Str) { if ($rt_s(1186) === $par2Str) var$10 = 1; else if (!($par2Str instanceof jl_String)) var$10 = 0; else { $par2Str = $par2Str; var$10 = $rt_s(1186).$nativeString !== $par2Str.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break c; } } var$10 = 1; } if (var$10) break; } $par1ISaveHandler = $par1ISaveHandler.$next3; } $par1ISaveHandler = $par1ISaveHandler === null ? null : $par1ISaveHandler.$value1; d: { $var7 = $par1ISaveHandler; if ($var7 !== null) { $this.$villageCollectionObj = $var7; $var7.$worldObj15 = $this; $par1ISaveHandler = $var7.$villageList; var$16 = 0; var$14 = $par1ISaveHandler.$modCount; var$15 = $par1ISaveHandler.$size(); while (true) { if (!(var$16 >= var$15 ? 0 : 1)) break d; if (var$14 < $par1ISaveHandler.$modCount) break; var$10 = var$16 + 1 | 0; nms_Village_func_82691_a($par1ISaveHandler.$get(var$16), $this); var$16 = var$10; } $par1ISaveHandler = new ju_ConcurrentModificationException; $par1ISaveHandler.$suppressionEnabled = 1; $par1ISaveHandler.$writableStackTrace = 1; $rt_throw($par1ISaveHandler); } e: { $par1ISaveHandler = new nms_VillageCollection; $par1ISaveHandler.$mapName = $rt_s(1186); $par2Str = new ju_ArrayList; $par2Str.$array = $rt_createArray(jl_Object, 10); $par1ISaveHandler.$villagerPositionsList = $par2Str; $par2Str = new ju_ArrayList; $par2Str.$array = $rt_createArray(jl_Object, 10); $par1ISaveHandler.$newDoors = $par2Str; $par2Str = new ju_ArrayList; $par2Str.$array = $rt_createArray(jl_Object, 10); $par1ISaveHandler.$villageList = $par2Str; $par1ISaveHandler.$worldObj15 = $this; $par1ISaveHandler.$dirty = 1; $this.$villageCollectionObj = $par1ISaveHandler; $par2Str = $this.$mapStorage; $var7 = $par2Str.$loadedDataMap; if (!$rt_s(1186).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(1186).$nativeString.length) break e; $rt_s(1186).$hashCode1 = (31 * $rt_s(1186).$hashCode1 | 0) + $rt_s(1186).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$15 = $rt_s(1186).$hashCode1; var$12 = $var7.$elementData.data; $var7 = var$12[var$15 & (var$12.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$15) { f: { var$7 = $var7.$key; if ($rt_s(1186) !== var$7) { if ($rt_s(1186) === var$7) var$10 = 1; else if (!(var$7 instanceof jl_String)) var$10 = 0; else { var$7 = var$7; var$10 = $rt_s(1186).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break f; } } var$10 = 1; } if (var$10) break; } $var7 = $var7.$next3; } if ($var7 === null ? 0 : 1) { $var7 = $par2Str.$loadedDataList; var$7 = ju_HashMap_removeByKey($par2Str.$loadedDataMap, $rt_s(1186)); var$7 = var$7 === null ? null : var$7.$value1; var$15 = $var7.$size0; var$10 = 0; g: { while (true) { if (var$10 >= var$15) { var$10 = (-1); break g; } if (var$10 < 0) break; if (var$10 >= $var7.$size0) break; var$9 = $var7.$array.data[var$10]; if (var$7 === var$9 ? 1 : var$7 !== null ? var$7.$equals(var$9) : var$9 !== null ? 0 : 1) break g; var$10 = var$10 + 1 | 0; } $par1ISaveHandler = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ISaveHandler); $rt_throw($par1ISaveHandler); } if (var$10 >= 0) ju_ArrayList_remove($var7, var$10); } ju_HashMap_putImpl($par2Str.$loadedDataMap, $rt_s(1186), $par1ISaveHandler); $par2Str = $par2Str.$loadedDataList; ju_ArrayList_ensureCapacity($par2Str, $par2Str.$size0 + 1 | 0); var$12 = $par2Str.$array.data; var$14 = $par2Str.$size0; $par2Str.$size0 = var$14 + 1 | 0; var$12[var$14] = $par1ISaveHandler; $par2Str.$modCount = $par2Str.$modCount + 1 | 0; } $par3WorldProvider.$worldObj11 = $this; $par2Str = $this.$worldInfo; $par3WorldProvider.$terrainType0 = $par2Str.$terrainType; $par3WorldProvider.$field_82913_c = $par2Str.$generatorOptions; $par3WorldProvider.$registerWorldChunkManager(); $par3WorldProvider.$generateLightBrightnessTable(); $par1ISaveHandler = new nms_ChunkProviderClient; $par2Str = new nms_LongHashMap; $par2Str.$hashArray = $rt_createArray(nms_LongHashMapEntry, 16); $par2Str.$capacity0 = 12; $par2Str.$percentUseable = 0.75; $par1ISaveHandler.$chunkMapping = $par2Str; $par2Str = new ju_ArrayList; $par2Str.$array = $rt_createArray(jl_Object, 10); $par1ISaveHandler.$chunkListing = $par2Str; $par2Str = new nms_EmptyChunk; nms_Chunk__init_0($par2Str, $this, 0, 0); $par1ISaveHandler.$blankChunk = $par2Str; $par1ISaveHandler.$worldObj12 = $this; $this.$clientChunkProvider = $par1ISaveHandler; $this.$chunkProvider = $par1ISaveHandler; var$10 = nms_World_calculateSkylightSubtracted($this, 1.0); if (var$10 != $this.$skylightSubtracted) $this.$skylightSubtracted = var$10; $par1ISaveHandler = $this.$worldInfo; if ($par1ISaveHandler.$raining) { $this.$rainingStrength = 1.0; if ($par1ISaveHandler.$thundering) $this.$thunderingStrength = 1.0; } }, nms_World_getBlockId = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10; if ($par1 >= (-30000000) && $par3 >= (-30000000) && $par1 < 30000000 && $par3 < 30000000) { if ($par2 < 0) return 0; if ($par2 >= 256) return 0; var$4 = $par1 >> 4; var$5 = $par3 >> 4; var$6 = $this.$chunkProvider; var$7 = var$6.$chunkMapping; var$8 = Long_or(Long_and(Long_fromInt(var$4), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$5), Long_create(4294967295, 0)), 32)); var$5 = Long_lo(Long_xor(var$8, Long_shru(var$8, 32))); var$5 = var$5 ^ (var$5 >>> 20 | 0) ^ (var$5 >>> 12 | 0); var$9 = var$5 ^ (var$5 >>> 7 | 0) ^ (var$5 >>> 4 | 0); var$10 = var$7.$hashArray.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; a: { while (var$7 !== null) { if (Long_eq(var$7.$key1, var$8)) { var$7 = var$7.$value6; break a; } var$7 = var$7.$nextEntry0; } var$7 = null; } var$7 = var$7; if (var$7 === null) var$7 = var$6.$blankChunk; return var$7.$getBlockID($par1 & 15, $par2, $par3 & 15); } return 0; }, nms_World_isAirBlock = ($this, $par1, $par2, $par3) => { return nms_World_getBlockId($this, $par1, $par2, $par3) ? 0 : 1; }, nms_World_checkChunksExist = ($this, $par1, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8; if ($par5 >= 0 && $par2 < 256) { $var7 = $par1 >> 4; $par1 = $par3 >> 4; $par2 = $par4 >> 4; $par3 = $par6 >> 4; while ($var7 <= $par2) { $var8 = $par1; while ($var8 <= $par3) { $var8 = $var8 + 1 | 0; } $var7 = $var7 + 1 | 0; } return 1; } return 0; }, nms_World_setBlock = ($this, $par1, $par2, $par3, $par4, $par5, $par6) => { let $var8, var$8, var$9, $var10, var$11, var$12, $var9, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var9 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var8 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 >= (-30000000) && $par3 >= (-30000000) && $par1 < 30000000 && $par3 < 30000000) { if ($par2 < 0) return 0; if ($par2 >= 256) return 0; $var8 = $par1 >> 4; var$8 = $par3 >> 4; var$9 = $this.$chunkProvider; $var10 = var$9.$chunkMapping; var$11 = Long_or(Long_and(Long_fromInt($var8), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$8), Long_create(4294967295, 0)), 32)); $var8 = Long_lo(Long_xor(var$11, Long_shru(var$11, 32))); $var8 = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); var$8 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$12 = $var10.$hashArray.data; $var10 = var$12[var$8 & (var$12.length - 1 | 0)]; a: { while ($var10 !== null) { if (Long_eq($var10.$key1, var$11)) { $var10 = $var10.$value6; break a; } $var10 = $var10.$nextEntry0; } $var10 = null; } $var10 = $var10; if ($var10 === null) $var10 = var$9.$blankChunk; $var8 = 0; var$8 = $par6 & 1; if (var$8) $var8 = $var10.$getBlockID($par1 & 15, $par2, $par3 & 15); $var9 = $par1 & 15; var$14 = $par3 & 15; $ptr = 1; continue main; } return 0; case 1: $tmp = $var10.$setBlockIDWithMetadata($var9, $par2, var$14, $par4, $par5); if ($rt_suspending()) { break main; } $var9 = $tmp; if (!$this.$provider.$hasNoSky) nms_World_updateLightByType($this, nms_EnumSkyBlock_Sky, $par1, $par2, $par3); nms_World_updateLightByType($this, nms_EnumSkyBlock_Block, $par1, $par2, $par3); if ($var9) { b: { if ($par6 & 2 && !($this.$isRemote && $par6 & 4)) { $par5 = 0; var$14 = $par1 - 1 | 0; var$15 = $par2 - 1 | 0; var$16 = $par3 - 1 | 0; var$17 = $par1 + 1 | 0; var$18 = $par2 + 1 | 0; var$19 = $par3 + 1 | 0; while (true) { $var10 = $this.$worldAccesses; $par6 = $rt_compare($par5, $var10.$size0); if ($par6 >= 0) break b; if ($par5 < 0) break; if ($par6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var10.$array.data[$par5], var$14, var$15, var$16, var$17, var$18, var$19); $par5 = $par5 + 1 | 0; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); } } $par5 = $this.$isRemote; if (!$par5 && var$8) { $par6 = $par1 - 1 | 0; if (!$par5) { $par5 = nms_World_getBlockId($this, $par6, $par2, $par3); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par5]; if ($var10 !== null) { $ptr = 2; continue main; } } $par6 = $par1 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par6, $par2, $par3); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par5]; if ($var10 !== null) { $ptr = 3; continue main; } } $par6 = $par2 - 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par6, $par3); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par5]; if ($var10 !== null) { $ptr = 4; continue main; } } $par5 = $par2 + 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par5, $par3); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 5; continue main; } } $par5 = $par3 - 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par2, $par5); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 6; continue main; } } $par5 = $par3 + 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par2, $par5); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 7; continue main; } } nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par4]; if ($var10 !== null && $var10.$hasComparatorInputOverride()) { $ptr = 8; continue main; } } } return $var9; case 2: $var10.$onNeighborBlockChange($this, $par6, $par2, $par3, $var8); if ($rt_suspending()) { break main; } $par6 = $par1 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par6, $par2, $par3); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par5]; if ($var10 !== null) { $ptr = 3; continue main; } } $par6 = $par2 - 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par6, $par3); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par5]; if ($var10 !== null) { $ptr = 4; continue main; } } $par5 = $par2 + 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par5, $par3); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 5; continue main; } } $par5 = $par3 - 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par2, $par5); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 6; continue main; } } $par5 = $par3 + 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par2, $par5); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 7; continue main; } } nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par4]; if ($var10 !== null && $var10.$hasComparatorInputOverride()) { $ptr = 8; continue main; } return $var9; case 3: $var10.$onNeighborBlockChange($this, $par6, $par2, $par3, $var8); if ($rt_suspending()) { break main; } $par6 = $par2 - 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par6, $par3); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par5]; if ($var10 !== null) { $ptr = 4; continue main; } } $par5 = $par2 + 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par5, $par3); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 5; continue main; } } $par5 = $par3 - 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par2, $par5); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 6; continue main; } } $par5 = $par3 + 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par2, $par5); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 7; continue main; } } nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par4]; if ($var10 !== null && $var10.$hasComparatorInputOverride()) { $ptr = 8; continue main; } return $var9; case 4: $var10.$onNeighborBlockChange($this, $par1, $par6, $par3, $var8); if ($rt_suspending()) { break main; } $par5 = $par2 + 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par5, $par3); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 5; continue main; } } $par5 = $par3 - 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par2, $par5); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 6; continue main; } } $par5 = $par3 + 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par2, $par5); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 7; continue main; } } nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par4]; if ($var10 !== null && $var10.$hasComparatorInputOverride()) { $ptr = 8; continue main; } return $var9; case 5: $var10.$onNeighborBlockChange($this, $par1, $par5, $par3, $var8); if ($rt_suspending()) { break main; } $par5 = $par3 - 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par2, $par5); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 6; continue main; } } $par5 = $par3 + 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par2, $par5); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 7; continue main; } } nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par4]; if ($var10 !== null && $var10.$hasComparatorInputOverride()) { $ptr = 8; continue main; } return $var9; case 6: $var10.$onNeighborBlockChange($this, $par1, $par2, $par5, $var8); if ($rt_suspending()) { break main; } $par5 = $par3 + 1 | 0; if (!$this.$isRemote) { $par6 = nms_World_getBlockId($this, $par1, $par2, $par5); nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par6]; if ($var10 !== null) { $ptr = 7; continue main; } } nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par4]; if ($var10 !== null && $var10.$hasComparatorInputOverride()) { $ptr = 8; continue main; } return $var9; case 7: $var10.$onNeighborBlockChange($this, $par1, $par2, $par5, $var8); if ($rt_suspending()) { break main; } nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par4]; if ($var10 !== null && $var10.$hasComparatorInputOverride()) { $ptr = 8; continue main; } return $var9; case 8: nms_World_func_96440_m($this, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return $var9; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5, $par6, $var8, var$8, var$9, $var10, var$11, var$12, $var9, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_World_getBlockMaterial = ($this, $par1, $par2, $par3) => { let $var4, var$5; $var4 = nms_World_getBlockId($this, $par1, $par2, $par3); if (!$var4) { nms_Material_$callClinit(); var$5 = nms_Material_air; } else { nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[$var4].$blockMaterial; } return var$5; }, nms_World_getBlockMetadata = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10; if ($par1 >= (-30000000) && $par3 >= (-30000000) && $par1 < 30000000 && $par3 < 30000000) { if ($par2 < 0) return 0; if ($par2 >= 256) return 0; var$4 = $par1 >> 4; var$5 = $par3 >> 4; var$6 = $this.$chunkProvider; var$7 = var$6.$chunkMapping; var$8 = Long_or(Long_and(Long_fromInt(var$4), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$5), Long_create(4294967295, 0)), 32)); var$5 = Long_lo(Long_xor(var$8, Long_shru(var$8, 32))); var$5 = var$5 ^ (var$5 >>> 20 | 0) ^ (var$5 >>> 12 | 0); var$9 = var$5 ^ (var$5 >>> 7 | 0) ^ (var$5 >>> 4 | 0); var$10 = var$7.$hashArray.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; a: { while (var$7 !== null) { if (Long_eq(var$7.$key1, var$8)) { var$7 = var$7.$value6; break a; } var$7 = var$7.$nextEntry0; } var$7 = null; } var$7 = var$7; if (var$7 === null) var$7 = var$6.$blankChunk; return var$7.$getBlockMetadata($par1 & 15, $par2, $par3 & 15); } return 0; }, nms_World_setBlockMetadataWithNotify = ($this, $par1, $par2, $par3, $par4, $par5) => { let $var8, $var7, $var11, var$9, var$10, $var9, var$12, $var10, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var10 = $thread.pop();var$12 = $thread.pop();$var9 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var11 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 >= (-30000000) && $par3 >= (-30000000) && $par1 < 30000000 && $par3 < 30000000) { if ($par2 < 0) return 0; if ($par2 >= 256) return 0; $var8 = $par1 >> 4; $var7 = $par3 >> 4; $var11 = $this.$chunkProvider; var$9 = $var11.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt($var8), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var7), Long_create(4294967295, 0)), 32)); $var7 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); $var7 = $var7 ^ ($var7 >>> 20 | 0) ^ ($var7 >>> 12 | 0); $var9 = $var7 ^ ($var7 >>> 7 | 0) ^ ($var7 >>> 4 | 0); var$12 = var$9.$hashArray.data; var$9 = var$12[$var9 & (var$12.length - 1 | 0)]; a: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$10)) { var$9 = var$9.$value6; break a; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = $var11.$blankChunk; $var7 = $par1 & 15; $var8 = $par3 & 15; $ptr = 1; continue main; } return 0; case 1: $tmp = var$9.$setBlockMetadata($var7, $par2, $var8, $par4); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var9) { b: { $var10 = var$9.$getBlockID($var7, $par2, $var8); if ($par5 & 2 && !($this.$isRemote && $par5 & 4)) { $par4 = 0; $var8 = $par1 - 1 | 0; var$14 = $par2 - 1 | 0; var$15 = $par3 - 1 | 0; var$16 = $par1 + 1 | 0; var$17 = $par2 + 1 | 0; var$18 = $par3 + 1 | 0; while (true) { $var11 = $this.$worldAccesses; $var7 = $rt_compare($par4, $var11.$size0); if ($var7 >= 0) break b; if ($par4 < 0) break; if ($var7 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var11.$array.data[$par4], $var8, var$14, var$15, var$16, var$17, var$18); $par4 = $par4 + 1 | 0; } $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); } } $par4 = $this.$isRemote; if (!$par4 && $par5 & 1) { $par5 = $par1 - 1 | 0; if (!$par4) { $par4 = nms_World_getBlockId($this, $par5, $par2, $par3); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par4]; if ($var11 !== null) { $ptr = 2; continue main; } } $par4 = $par1 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par4, $par2, $par3); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 3; continue main; } } $par4 = $par2 - 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par4, $par3); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 4; continue main; } } $par4 = $par2 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par4, $par3); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 5; continue main; } } $par4 = $par3 - 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par4); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 6; continue main; } } $par4 = $par3 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par4); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 7; continue main; } } nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$var10]; if ($var11 !== null && $var11.$hasComparatorInputOverride()) { $ptr = 8; continue main; } } } return $var9; case 2: $var11.$onNeighborBlockChange($this, $par5, $par2, $par3, $var10); if ($rt_suspending()) { break main; } $par4 = $par1 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par4, $par2, $par3); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 3; continue main; } } $par4 = $par2 - 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par4, $par3); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 4; continue main; } } $par4 = $par2 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par4, $par3); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 5; continue main; } } $par4 = $par3 - 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par4); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 6; continue main; } } $par4 = $par3 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par4); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 7; continue main; } } nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$var10]; if ($var11 !== null && $var11.$hasComparatorInputOverride()) { $ptr = 8; continue main; } return $var9; case 3: $var11.$onNeighborBlockChange($this, $par4, $par2, $par3, $var10); if ($rt_suspending()) { break main; } $par4 = $par2 - 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par4, $par3); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 4; continue main; } } $par4 = $par2 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par4, $par3); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 5; continue main; } } $par4 = $par3 - 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par4); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 6; continue main; } } $par4 = $par3 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par4); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 7; continue main; } } nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$var10]; if ($var11 !== null && $var11.$hasComparatorInputOverride()) { $ptr = 8; continue main; } return $var9; case 4: $var11.$onNeighborBlockChange($this, $par1, $par4, $par3, $var10); if ($rt_suspending()) { break main; } $par4 = $par2 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par4, $par3); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 5; continue main; } } $par4 = $par3 - 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par4); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 6; continue main; } } $par4 = $par3 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par4); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 7; continue main; } } nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$var10]; if ($var11 !== null && $var11.$hasComparatorInputOverride()) { $ptr = 8; continue main; } return $var9; case 5: $var11.$onNeighborBlockChange($this, $par1, $par4, $par3, $var10); if ($rt_suspending()) { break main; } $par4 = $par3 - 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par4); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 6; continue main; } } $par4 = $par3 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par4); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 7; continue main; } } nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$var10]; if ($var11 !== null && $var11.$hasComparatorInputOverride()) { $ptr = 8; continue main; } return $var9; case 6: $var11.$onNeighborBlockChange($this, $par1, $par2, $par4, $var10); if ($rt_suspending()) { break main; } $par4 = $par3 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par4); nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par5]; if ($var11 !== null) { $ptr = 7; continue main; } } nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$var10]; if ($var11 !== null && $var11.$hasComparatorInputOverride()) { $ptr = 8; continue main; } return $var9; case 7: $var11.$onNeighborBlockChange($this, $par1, $par2, $par4, $var10); if ($rt_suspending()) { break main; } nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$var10]; if ($var11 !== null && $var11.$hasComparatorInputOverride()) { $ptr = 8; continue main; } return $var9; case 8: nms_World_func_96440_m($this, $par1, $par2, $par3, $var10); if ($rt_suspending()) { break main; } return $var9; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5, $var8, $var7, $var11, var$9, var$10, $var9, var$12, $var10, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_World_destroyBlock = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_World_getBlockId($this, $par1, $par2, $par3); if ($var5 <= 0) return 0; $var6 = nms_World_getBlockMetadata($this, $par1, $par2, $par3); var$7 = 2001; var$8 = $var5 + ($var6 << 12) | 0; var$9 = null; var$10 = 0; var$11 = $this.$worldAccesses; var$12 = $rt_compare(var$10, var$11.$size0); if (var$12 >= 0) { if (!$par4) { $par4 = 0; var$10 = 0; var$12 = 3; $ptr = 1; continue main; } nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var5]; $par4 = 0; var$13 = 1.0; $ptr = 2; continue main; } if (var$10 >= 0 && var$12 < 0) { var$11 = var$11.$array.data[var$10]; $ptr = 3; continue main; } var$9 = new jl_IndexOutOfBoundsException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$9); $rt_throw(var$9); case 1: $tmp = nms_World_setBlock($this, $par1, $par2, $par3, $par4, var$10, var$12); if ($rt_suspending()) { break main; } $par1 = $tmp; return $par1; case 2: var$9.$dropBlockAsItemWithChance($this, $par1, $par2, $par3, $var6, var$13, $par4); if ($rt_suspending()) { break main; } $par4 = 0; var$10 = 0; var$12 = 3; $ptr = 1; continue main; case 3: nms_RenderGlobal_playAuxSFX(var$11, var$9, var$7, $par1, $par2, $par3, var$8); if ($rt_suspending()) { break main; } var$10 = var$10 + 1 | 0; var$11 = $this.$worldAccesses; var$12 = $rt_compare(var$10, var$11.$size0); if (var$12 >= 0) { if (!$par4) { $par4 = 0; var$10 = 0; var$12 = 3; $ptr = 1; continue main; } nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var5]; $par4 = 0; var$13 = 1.0; $ptr = 2; continue main; } if (var$10 >= 0 && var$12 < 0) { var$11 = var$11.$array.data[var$10]; continue main; } var$9 = new jl_IndexOutOfBoundsException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$9); $rt_throw(var$9); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $var5, $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_World_notifyBlocksOfNeighborChange = ($this, $par1, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par5 != 4) { var$6 = $par1 - 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, var$6, $par2, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 1; continue main; } } } if ($par5 != 5) { var$6 = $par1 + 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, var$6, $par2, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 2; continue main; } } } if ($par5) { var$6 = $par2 - 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, $par1, var$6, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 3; continue main; } } } if ($par5 != 1) { var$6 = $par2 + 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, $par1, var$6, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 4; continue main; } } } if ($par5 != 2) { var$6 = $par3 - 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, $par1, $par2, var$6); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 5; continue main; } } } if ($par5 != 3) { $par3 = $par3 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par5]; if (var$8 !== null) { $ptr = 6; continue main; } } } return; case 1: var$8.$onNeighborBlockChange($this, var$6, $par2, $par3, $par4); if ($rt_suspending()) { break main; } if ($par5 != 5) { var$6 = $par1 + 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, var$6, $par2, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 2; continue main; } } } if ($par5) { var$6 = $par2 - 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, $par1, var$6, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 3; continue main; } } } if ($par5 != 1) { var$6 = $par2 + 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, $par1, var$6, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 4; continue main; } } } if ($par5 != 2) { var$6 = $par3 - 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, $par1, $par2, var$6); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 5; continue main; } } } if ($par5 != 3) { $par3 = $par3 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par5]; if (var$8 !== null) { $ptr = 6; continue main; } } } return; case 2: var$8.$onNeighborBlockChange($this, var$6, $par2, $par3, $par4); if ($rt_suspending()) { break main; } if ($par5) { var$6 = $par2 - 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, $par1, var$6, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 3; continue main; } } } if ($par5 != 1) { var$6 = $par2 + 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, $par1, var$6, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 4; continue main; } } } if ($par5 != 2) { var$6 = $par3 - 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, $par1, $par2, var$6); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 5; continue main; } } } if ($par5 != 3) { $par3 = $par3 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par5]; if (var$8 !== null) { $ptr = 6; continue main; } } } return; case 3: var$8.$onNeighborBlockChange($this, $par1, var$6, $par3, $par4); if ($rt_suspending()) { break main; } if ($par5 != 1) { var$6 = $par2 + 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, $par1, var$6, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 4; continue main; } } } if ($par5 != 2) { var$6 = $par3 - 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, $par1, $par2, var$6); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 5; continue main; } } } if ($par5 != 3) { $par3 = $par3 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par5]; if (var$8 !== null) { $ptr = 6; continue main; } } } return; case 4: var$8.$onNeighborBlockChange($this, $par1, var$6, $par3, $par4); if ($rt_suspending()) { break main; } if ($par5 != 2) { var$6 = $par3 - 1 | 0; if (!$this.$isRemote) { var$7 = nms_World_getBlockId($this, $par1, $par2, var$6); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 5; continue main; } } } if ($par5 != 3) { $par3 = $par3 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par5]; if (var$8 !== null) { $ptr = 6; continue main; } } } return; case 5: var$8.$onNeighborBlockChange($this, $par1, $par2, var$6, $par4); if ($rt_suspending()) { break main; } if ($par5 != 3) { $par3 = $par3 + 1 | 0; if (!$this.$isRemote) { $par5 = nms_World_getBlockId($this, $par1, $par2, $par3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par5]; if (var$8 !== null) { $ptr = 6; continue main; } } } return; case 6: var$8.$onNeighborBlockChange($this, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5, var$6, var$7, var$8, $ptr); }, nms_World_getBlockLightValue_do = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, var$11, var$12, var$13, var$14; if ($par1 >= (-30000000) && $par3 >= (-30000000) && $par1 < 30000000 && $par3 < 30000000) { if ($par4) { $var5 = nms_World_getBlockId($this, $par1, $par2, $par3); nms_Block_$callClinit(); if (nms_Block_useNeighborBrightness.data[$var5]) { $var6 = nms_World_getBlockLightValue_do($this, $par1, $par2 + 1 | 0, $par3, 0); $var7 = nms_World_getBlockLightValue_do($this, $par1 + 1 | 0, $par2, $par3, 0); $var8 = nms_World_getBlockLightValue_do($this, $par1 - 1 | 0, $par2, $par3, 0); $var9 = nms_World_getBlockLightValue_do($this, $par1, $par2, $par3 + 1 | 0, 0); $var10 = nms_World_getBlockLightValue_do($this, $par1, $par2, $par3 - 1 | 0, 0); if ($var7 <= $var6) $var7 = $var6; if ($var8 <= $var7) $var8 = $var7; if ($var9 <= $var8) $var9 = $var8; if ($var10 <= $var9) $var10 = $var9; return $var10; } } if ($par2 < 0) return 0; if ($par2 >= 256) $par2 = 255; $var6 = $par1 >> 4; $par4 = $par3 >> 4; var$11 = $this.$chunkProvider; var$12 = var$11.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt($var6), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($par4), Long_create(4294967295, 0)), 32)); $par4 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); $par4 = $par4 ^ ($par4 >>> 20 | 0) ^ ($par4 >>> 12 | 0); $var6 = $par4 ^ ($par4 >>> 7 | 0) ^ ($par4 >>> 4 | 0); var$14 = var$12.$hashArray.data; var$12 = var$14[$var6 & (var$14.length - 1 | 0)]; a: { while (var$12 !== null) { if (Long_eq(var$12.$key1, var$13)) { var$12 = var$12.$value6; break a; } var$12 = var$12.$nextEntry0; } var$12 = null; } var$12 = var$12; if (var$12 === null) var$12 = var$11.$blankChunk; return var$12.$getBlockLightValue($par1 & 15, $par2, $par3 & 15, $this.$skylightSubtracted); } return 15; }, nms_World_getSkyBlockTypeBrightness = ($this, $par1EnumSkyBlock, $par2, $par3, $par4) => { let $var5, $var6, var$7, var$8, var$9, $var8, $var9, var$12, $var12, $var10, $var11; if ($this.$provider.$hasNoSky && $par1EnumSkyBlock === nms_EnumSkyBlock_Sky) return 0; if ($par3 < 0) $par3 = 0; if ($par3 >= 256) return $par1EnumSkyBlock.$defaultLightValue; if ($par2 >= (-30000000) && $par4 >= (-30000000) && $par2 < 30000000 && $par4 < 30000000) { $var5 = $par2 >> 4; $var6 = $par4 >> 4; nms_Block_$callClinit(); if (!nms_Block_useNeighborBrightness.data[nms_World_getBlockId($this, $par2, $par3, $par4)]) { var$7 = $this.$chunkProvider; var$8 = var$7.$chunkMapping; var$9 = Long_or(Long_and(Long_fromInt($var5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var6), Long_create(4294967295, 0)), 32)); $var8 = Long_lo(Long_xor(var$9, Long_shru(var$9, 32))); $var9 = $var8 ^ ($var8 >>> 20 | 0) ^ ($var8 >>> 12 | 0); $var8 = $var9 ^ ($var9 >>> 7 | 0) ^ ($var9 >>> 4 | 0); var$12 = var$8.$hashArray.data; var$8 = var$12[$var8 & (var$12.length - 1 | 0)]; a: { while (var$8 !== null) { if (Long_eq(var$8.$key1, var$9)) { var$8 = var$8.$value6; break a; } var$8 = var$8.$nextEntry0; } var$8 = null; } var$8 = var$8; if (var$8 === null) var$8 = var$7.$blankChunk; return var$8.$getSavedLightValue($par1EnumSkyBlock, $par2 & 15, $par3, $par4 & 15); } $var12 = nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $par2, $par3 + 1 | 0, $par4); $var8 = nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $par2 + 1 | 0, $par3, $par4); $var9 = nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $par2 - 1 | 0, $par3, $par4); $var10 = nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $par2, $par3, $par4 + 1 | 0); $var11 = nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $par2, $par3, $par4 - 1 | 0); if ($var8 <= $var12) $var8 = $var12; if ($var9 <= $var8) $var9 = $var8; if ($var10 <= $var9) $var10 = $var9; if ($var11 <= $var10) $var11 = $var10; return $var11; } return $par1EnumSkyBlock.$defaultLightValue; }, nms_World_getSavedLightValue = ($this, $par1EnumSkyBlock, $par2, $par3, $par4) => { let $var5, $var6, var$7, var$8, var$9, var$10; if ($par3 < 0) $par3 = 0; if ($par3 >= 256) $par3 = 255; if ($par2 >= (-30000000) && $par4 >= (-30000000) && $par2 < 30000000 && $par4 < 30000000) { $var5 = $par2 >> 4; $var6 = $par4 >> 4; var$7 = $this.$chunkProvider; var$8 = var$7.$chunkMapping; var$9 = Long_or(Long_and(Long_fromInt($var5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var6), Long_create(4294967295, 0)), 32)); $var6 = Long_lo(Long_xor(var$9, Long_shru(var$9, 32))); $var6 = $var6 ^ ($var6 >>> 20 | 0) ^ ($var6 >>> 12 | 0); $var6 = $var6 ^ ($var6 >>> 7 | 0) ^ ($var6 >>> 4 | 0); var$10 = var$8.$hashArray.data; var$8 = var$10[$var6 & (var$10.length - 1 | 0)]; a: { while (var$8 !== null) { if (Long_eq(var$8.$key1, var$9)) { var$8 = var$8.$value6; break a; } var$8 = var$8.$nextEntry0; } var$8 = null; } var$8 = var$8; if (var$8 === null) var$8 = var$7.$blankChunk; return var$8.$getSavedLightValue($par1EnumSkyBlock, $par2 & 15, $par3, $par4 & 15); } return $par1EnumSkyBlock.$defaultLightValue; }, nms_World_setLightValue = ($this, $par1EnumSkyBlock, $par2, $par3, $par4, $par5) => { let $var7, var$7, var$8, var$9, var$10, var$11, var$12, var$13; a: { b: { if ($par2 >= (-30000000) && $par4 >= (-30000000) && $par2 < 30000000 && $par4 < 30000000 && $par3 >= 0 && $par3 < 256) { $var7 = $par2 >> 4; var$7 = $par4 >> 4; var$8 = $this.$chunkProvider; var$9 = var$8.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt($var7), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), 32)); $var7 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); $var7 = $var7 ^ ($var7 >>> 20 | 0) ^ ($var7 >>> 12 | 0); var$7 = $var7 ^ ($var7 >>> 7 | 0) ^ ($var7 >>> 4 | 0); var$11 = var$9.$hashArray.data; var$9 = var$11[var$7 & (var$11.length - 1 | 0)]; c: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$10)) { var$9 = var$9.$value6; break c; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$8.$blankChunk; var$9.$setLightValue($par1EnumSkyBlock, $par2 & 15, $par3, $par4 & 15, $par5); $var7 = 0; $par5 = $par2 - 1 | 0; var$7 = $par3 - 1 | 0; var$12 = $par4 - 1 | 0; $par2 = $par2 + 1 | 0; $par3 = $par3 + 1 | 0; $par4 = $par4 + 1 | 0; while (true) { $par1EnumSkyBlock = $this.$worldAccesses; var$13 = $rt_compare($var7, $par1EnumSkyBlock.$size0); if (var$13 >= 0) break b; if ($var7 < 0) break a; if (var$13 >= 0) break a; nms_RenderGlobal_markBlocksForUpdate($par1EnumSkyBlock.$array.data[$var7], $par5, var$7, var$12, $par2, $par3, $par4); $var7 = $var7 + 1 | 0; } } } return; } $par1EnumSkyBlock = new jl_IndexOutOfBoundsException; $par1EnumSkyBlock.$suppressionEnabled = 1; $par1EnumSkyBlock.$writableStackTrace = 1; $rt_throw($par1EnumSkyBlock); }, nms_World_getLightBrightnessForSkyBlocks = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6; $var5 = nms_World_getSkyBlockTypeBrightness($this, nms_EnumSkyBlock_Sky, $par1, $par2, $par3); $var6 = nms_World_getSkyBlockTypeBrightness($this, nms_EnumSkyBlock_Block, $par1, $par2, $par3); if ($var6 >= $par4) $par4 = $var6; return $var5 << 20 | $par4 << 4; }, nms_World_getBrightness = ($this, $par1, $par2, $par3, $par4) => { let $var5; $var5 = nms_World_getBlockLightValue_do($this, $par1, $par2, $par3, 1); if ($var5 >= $par4) $par4 = $var5; return $this.$provider.$lightBrightnessTable.data[$par4]; }, nms_World_getLightBrightness = ($this, $par1, $par2, $par3) => { return $this.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do($this, $par1, $par2, $par3, 1)]; }, nms_World_rayTraceBlocks_do_do = ($this, $par1Vec3, $par2Vec3, $par3, $par4) => { let var$5, $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, $var13, $var39, $var40, $var41, $var15, $var17, $var19, $var35, $var36, $var21, $var23, $var25, var$26, $var27, var$28, $var29, var$30, $var31, $var42, $var34, $var37, $var14, $var38, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var38 = $thread.pop();$var14 = $thread.pop();$var37 = $thread.pop();$var34 = $thread.pop();$var42 = $thread.pop();$var31 = $thread.pop();var$30 = $thread.pop();$var29 = $thread.pop();var$28 = $thread.pop();$var27 = $thread.pop();var$26 = $thread.pop();$var25 = $thread.pop();$var23 = $thread.pop();$var21 = $thread.pop();$var36 = $thread.pop();$var35 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var41 = $thread.pop();$var40 = $thread.pop();$var39 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2Vec3 = $thread.pop();$par1Vec3 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!(isNaN($par1Vec3.$xCoord) ? 1 : 0) && !(isNaN($par1Vec3.$yCoord) ? 1 : 0) && !(isNaN($par1Vec3.$zCoord) ? 1 : 0)) { if (!(isNaN($par2Vec3.$xCoord) ? 1 : 0) && !(isNaN($par2Vec3.$yCoord) ? 1 : 0) && !(isNaN($par2Vec3.$zCoord) ? 1 : 0)) { var$5 = $par2Vec3.$xCoord; $var5 = var$5 | 0; if (var$5 < $var5) $var5 = $var5 - 1 | 0; var$5 = $par2Vec3.$yCoord; $var6 = var$5 | 0; if (var$5 < $var6) $var6 = $var6 - 1 | 0; var$5 = $par2Vec3.$zCoord; $var7 = var$5 | 0; if (var$5 < $var7) $var7 = $var7 - 1 | 0; var$5 = $par1Vec3.$xCoord; $var8 = var$5 | 0; if (var$5 < $var8) $var8 = $var8 - 1 | 0; var$5 = $par1Vec3.$yCoord; $var9 = var$5 | 0; if (var$5 < $var9) $var9 = $var9 - 1 | 0; var$5 = $par1Vec3.$zCoord; $var10 = var$5 | 0; if (var$5 < $var10) $var10 = $var10 - 1 | 0; $var11 = nms_World_getBlockId($this, $var8, $var9, $var10); $var12 = nms_World_getBlockMetadata($this, $var8, $var9, $var10); nms_Block_$callClinit(); $var13 = nms_Block_blocksList.data[$var11]; if ($par4 && $var13 !== null) { $ptr = 1; continue main; } if ($var11 > 0 && $var13.$canCollideCheck($var12, $par3)) { $ptr = 2; continue main; } $var12 = 200; a: { while (true) { $var11 = $var12 + (-1) | 0; if ($var12 < 0) break; if (isNaN($par1Vec3.$xCoord) ? 1 : 0) break a; if (isNaN($par1Vec3.$yCoord) ? 1 : 0) break a; if (isNaN($par1Vec3.$zCoord) ? 1 : 0) break a; if ($var8 == $var5 && $var9 == $var6 && $var10 == $var7) return null; $var39 = 1; $var40 = 1; $var41 = 1; $var15 = 999.0; $var17 = 999.0; $var19 = 999.0; $var35 = $rt_compare($var5, $var8); if ($var35 > 0) $var15 = $var8 + 1.0; else if ($var35 >= 0) $var39 = 0; else $var15 = $var8 + 0.0; $var36 = $rt_compare($var6, $var9); if ($var36 > 0) $var17 = $var9 + 1.0; else if ($var36 >= 0) $var40 = 0; else $var17 = $var9 + 0.0; $var8 = $rt_compare($var7, $var10); if ($var8 > 0) $var19 = $var10 + 1.0; else if ($var8 >= 0) $var41 = 0; else $var19 = $var10 + 0.0; $var21 = 999.0; $var23 = 999.0; $var25 = 999.0; var$26 = $par2Vec3.$xCoord; var$5 = $par1Vec3.$xCoord; $var27 = var$26 - var$5; var$26 = $par2Vec3.$yCoord; var$28 = $par1Vec3.$yCoord; $var29 = var$26 - var$28; var$26 = $par2Vec3.$zCoord; var$30 = $par1Vec3.$zCoord; $var31 = var$26 - var$30; if ($var39) $var21 = ($var15 - var$5) / $var27; if ($var40) $var23 = ($var17 - var$28) / $var29; if ($var41) $var25 = ($var19 - var$30) / $var31; if ($var21 < $var23 && $var21 < $var25) { $var42 = $var35 <= 0 ? 5 : 4; $par1Vec3.$xCoord = $var15; $par1Vec3.$yCoord = var$28 + $var29 * $var21; $par1Vec3.$zCoord = var$30 + $var31 * $var21; } else if ($var23 >= $var25) { $var42 = $var8 <= 0 ? 3 : 2; $par1Vec3.$xCoord = var$5 + $var27 * $var25; $par1Vec3.$yCoord = var$28 + $var29 * $var25; $par1Vec3.$zCoord = $var19; } else { $var42 = $var36 <= 0 ? 1 : 0; $par1Vec3.$xCoord = var$5 + $var27 * $var23; $par1Vec3.$yCoord = $var17; $par1Vec3.$zCoord = var$30 + $var31 * $var23; } $var34 = nms_Vec3Pool_getVecFromPool($this.$vecPool, $par1Vec3.$xCoord, $par1Vec3.$yCoord, $par1Vec3.$zCoord); var$5 = $par1Vec3.$xCoord; $var8 = var$5 | 0; if (var$5 < $var8) $var8 = $var8 - 1 | 0; var$5 = $var8; $var34.$xCoord = var$5; $var8 = var$5 | 0; if ($var42 == 5) { $var8 = $var8 + (-1) | 0; $var34.$xCoord = var$5 + 1.0; } var$5 = $par1Vec3.$yCoord; $var9 = var$5 | 0; if (var$5 < $var9) $var9 = $var9 - 1 | 0; var$5 = $var9; $var34.$yCoord = var$5; $var9 = var$5 | 0; if ($var42 == 1) { $var9 = $var9 + (-1) | 0; $var34.$yCoord = var$5 + 1.0; } var$26 = $par1Vec3.$zCoord; $var35 = var$26 | 0; if (var$26 < $var35) $var35 = $var35 - 1 | 0; var$26 = $var35; $var34.$zCoord = var$26; $var10 = var$26 | 0; if ($var42 == 3) { $var10 = $var10 + (-1) | 0; $var34.$zCoord = var$26 + 1.0; } $var35 = nms_World_getBlockId($this, $var8, $var9, $var10); $var36 = nms_World_getBlockMetadata($this, $var8, $var9, $var10); $var37 = nms_Block_blocksList.data[$var35]; if ($par4 && $var37 !== null) { $ptr = 3; continue main; } if ($var35 > 0 && $var37.$canCollideCheck($var36, $par3)) { $ptr = 4; continue main; } $var12 = $var11; } return null; } return null; } return null; } return null; case 1: $tmp = $var13.$getCollisionBoundingBoxFromPool($this, $var8, $var9, $var10); if ($rt_suspending()) { break main; } $var14 = $tmp; if ($var14 !== null && $var11 > 0 && $var13.$canCollideCheck($var12, $par3)) { $ptr = 2; continue main; } $var12 = 200; b: { while (true) { $var11 = $var12 + (-1) | 0; if ($var12 < 0) break; if (isNaN($par1Vec3.$xCoord) ? 1 : 0) break b; if (isNaN($par1Vec3.$yCoord) ? 1 : 0) break b; if (isNaN($par1Vec3.$zCoord) ? 1 : 0) break b; if ($var8 == $var5 && $var9 == $var6 && $var10 == $var7) return null; $var39 = 1; $var40 = 1; $var41 = 1; $var15 = 999.0; $var17 = 999.0; $var19 = 999.0; $var35 = $rt_compare($var5, $var8); if ($var35 > 0) $var15 = $var8 + 1.0; else if ($var35 >= 0) $var39 = 0; else $var15 = $var8 + 0.0; $var36 = $rt_compare($var6, $var9); if ($var36 > 0) $var17 = $var9 + 1.0; else if ($var36 >= 0) $var40 = 0; else $var17 = $var9 + 0.0; $var8 = $rt_compare($var7, $var10); if ($var8 > 0) $var19 = $var10 + 1.0; else if ($var8 >= 0) $var41 = 0; else $var19 = $var10 + 0.0; $var21 = 999.0; $var23 = 999.0; $var25 = 999.0; var$26 = $par2Vec3.$xCoord; var$5 = $par1Vec3.$xCoord; $var27 = var$26 - var$5; var$26 = $par2Vec3.$yCoord; var$28 = $par1Vec3.$yCoord; $var29 = var$26 - var$28; var$26 = $par2Vec3.$zCoord; var$30 = $par1Vec3.$zCoord; $var31 = var$26 - var$30; if ($var39) $var21 = ($var15 - var$5) / $var27; if ($var40) $var23 = ($var17 - var$28) / $var29; if ($var41) $var25 = ($var19 - var$30) / $var31; if ($var21 < $var23 && $var21 < $var25) { $var42 = $var35 <= 0 ? 5 : 4; $par1Vec3.$xCoord = $var15; $par1Vec3.$yCoord = var$28 + $var29 * $var21; $par1Vec3.$zCoord = var$30 + $var31 * $var21; } else if ($var23 >= $var25) { $var42 = $var8 <= 0 ? 3 : 2; $par1Vec3.$xCoord = var$5 + $var27 * $var25; $par1Vec3.$yCoord = var$28 + $var29 * $var25; $par1Vec3.$zCoord = $var19; } else { $var42 = $var36 <= 0 ? 1 : 0; $par1Vec3.$xCoord = var$5 + $var27 * $var23; $par1Vec3.$yCoord = $var17; $par1Vec3.$zCoord = var$30 + $var31 * $var23; } $var34 = nms_Vec3Pool_getVecFromPool($this.$vecPool, $par1Vec3.$xCoord, $par1Vec3.$yCoord, $par1Vec3.$zCoord); var$5 = $par1Vec3.$xCoord; $var8 = var$5 | 0; if (var$5 < $var8) $var8 = $var8 - 1 | 0; var$5 = $var8; $var34.$xCoord = var$5; $var8 = var$5 | 0; if ($var42 == 5) { $var8 = $var8 + (-1) | 0; $var34.$xCoord = var$5 + 1.0; } var$5 = $par1Vec3.$yCoord; $var9 = var$5 | 0; if (var$5 < $var9) $var9 = $var9 - 1 | 0; var$5 = $var9; $var34.$yCoord = var$5; $var9 = var$5 | 0; if ($var42 == 1) { $var9 = $var9 + (-1) | 0; $var34.$yCoord = var$5 + 1.0; } var$26 = $par1Vec3.$zCoord; $var35 = var$26 | 0; if (var$26 < $var35) $var35 = $var35 - 1 | 0; var$26 = $var35; $var34.$zCoord = var$26; $var10 = var$26 | 0; if ($var42 == 3) { $var10 = $var10 + (-1) | 0; $var34.$zCoord = var$26 + 1.0; } $var35 = nms_World_getBlockId($this, $var8, $var9, $var10); $var36 = nms_World_getBlockMetadata($this, $var8, $var9, $var10); $var37 = nms_Block_blocksList.data[$var35]; if ($par4 && $var37 !== null) { $ptr = 3; continue main; } if ($var35 > 0 && $var37.$canCollideCheck($var36, $par3)) { $ptr = 4; continue main; } $var12 = $var11; } return null; } return null; case 2: $tmp = $var13.$collisionRayTrace($this, $var8, $var9, $var10, $par1Vec3, $par2Vec3); if ($rt_suspending()) { break main; } $var14 = $tmp; if ($var14 !== null) return $var14; $var12 = 200; b: { while (true) { $var11 = $var12 + (-1) | 0; if ($var12 < 0) break; if (isNaN($par1Vec3.$xCoord) ? 1 : 0) break b; if (isNaN($par1Vec3.$yCoord) ? 1 : 0) break b; if (isNaN($par1Vec3.$zCoord) ? 1 : 0) break b; if ($var8 == $var5 && $var9 == $var6 && $var10 == $var7) return null; $var39 = 1; $var40 = 1; $var41 = 1; $var15 = 999.0; $var17 = 999.0; $var19 = 999.0; $var35 = $rt_compare($var5, $var8); if ($var35 > 0) $var15 = $var8 + 1.0; else if ($var35 >= 0) $var39 = 0; else $var15 = $var8 + 0.0; $var36 = $rt_compare($var6, $var9); if ($var36 > 0) $var17 = $var9 + 1.0; else if ($var36 >= 0) $var40 = 0; else $var17 = $var9 + 0.0; $var8 = $rt_compare($var7, $var10); if ($var8 > 0) $var19 = $var10 + 1.0; else if ($var8 >= 0) $var41 = 0; else $var19 = $var10 + 0.0; $var21 = 999.0; $var23 = 999.0; $var25 = 999.0; var$26 = $par2Vec3.$xCoord; var$5 = $par1Vec3.$xCoord; $var27 = var$26 - var$5; var$26 = $par2Vec3.$yCoord; var$28 = $par1Vec3.$yCoord; $var29 = var$26 - var$28; var$26 = $par2Vec3.$zCoord; var$30 = $par1Vec3.$zCoord; $var31 = var$26 - var$30; if ($var39) $var21 = ($var15 - var$5) / $var27; if ($var40) $var23 = ($var17 - var$28) / $var29; if ($var41) $var25 = ($var19 - var$30) / $var31; if ($var21 < $var23 && $var21 < $var25) { $var42 = $var35 <= 0 ? 5 : 4; $par1Vec3.$xCoord = $var15; $par1Vec3.$yCoord = var$28 + $var29 * $var21; $par1Vec3.$zCoord = var$30 + $var31 * $var21; } else if ($var23 >= $var25) { $var42 = $var8 <= 0 ? 3 : 2; $par1Vec3.$xCoord = var$5 + $var27 * $var25; $par1Vec3.$yCoord = var$28 + $var29 * $var25; $par1Vec3.$zCoord = $var19; } else { $var42 = $var36 <= 0 ? 1 : 0; $par1Vec3.$xCoord = var$5 + $var27 * $var23; $par1Vec3.$yCoord = $var17; $par1Vec3.$zCoord = var$30 + $var31 * $var23; } $var34 = nms_Vec3Pool_getVecFromPool($this.$vecPool, $par1Vec3.$xCoord, $par1Vec3.$yCoord, $par1Vec3.$zCoord); var$5 = $par1Vec3.$xCoord; $var8 = var$5 | 0; if (var$5 < $var8) $var8 = $var8 - 1 | 0; var$5 = $var8; $var34.$xCoord = var$5; $var8 = var$5 | 0; if ($var42 == 5) { $var8 = $var8 + (-1) | 0; $var34.$xCoord = var$5 + 1.0; } var$5 = $par1Vec3.$yCoord; $var9 = var$5 | 0; if (var$5 < $var9) $var9 = $var9 - 1 | 0; var$5 = $var9; $var34.$yCoord = var$5; $var9 = var$5 | 0; if ($var42 == 1) { $var9 = $var9 + (-1) | 0; $var34.$yCoord = var$5 + 1.0; } var$26 = $par1Vec3.$zCoord; $var35 = var$26 | 0; if (var$26 < $var35) $var35 = $var35 - 1 | 0; var$26 = $var35; $var34.$zCoord = var$26; $var10 = var$26 | 0; if ($var42 == 3) { $var10 = $var10 + (-1) | 0; $var34.$zCoord = var$26 + 1.0; } $var35 = nms_World_getBlockId($this, $var8, $var9, $var10); $var36 = nms_World_getBlockMetadata($this, $var8, $var9, $var10); $var37 = nms_Block_blocksList.data[$var35]; if ($par4 && $var37 !== null) { $ptr = 3; continue main; } if ($var35 > 0 && $var37.$canCollideCheck($var36, $par3)) { $ptr = 4; continue main; } $var12 = $var11; } return null; } return null; case 3: c: { $tmp = $var37.$getCollisionBoundingBoxFromPool($this, $var8, $var9, $var10); if ($rt_suspending()) { break main; } $var13 = $tmp; if ($var13 !== null && $var35 > 0) { $var12 = $var37.$canCollideCheck($var36, $par3); if ($var12) break c; } d: { while (true) { $var12 = $var11; $var11 = $var12 + (-1) | 0; if ($var12 < 0) return null; if (isNaN($par1Vec3.$xCoord) ? 1 : 0) break d; if (isNaN($par1Vec3.$yCoord) ? 1 : 0) break d; if (isNaN($par1Vec3.$zCoord) ? 1 : 0) break d; if ($var8 == $var5 && $var9 == $var6 && $var10 == $var7) break; $var39 = 1; $var40 = 1; $var41 = 1; $var15 = 999.0; $var17 = 999.0; $var19 = 999.0; $var35 = $rt_compare($var5, $var8); if ($var35 > 0) $var15 = $var8 + 1.0; else if ($var35 >= 0) $var39 = 0; else $var15 = $var8 + 0.0; $var36 = $rt_compare($var6, $var9); if ($var36 > 0) $var17 = $var9 + 1.0; else if ($var36 >= 0) $var40 = 0; else $var17 = $var9 + 0.0; $var8 = $rt_compare($var7, $var10); if ($var8 > 0) $var19 = $var10 + 1.0; else if ($var8 >= 0) $var41 = 0; else $var19 = $var10 + 0.0; $var21 = 999.0; $var23 = 999.0; $var25 = 999.0; var$26 = $par2Vec3.$xCoord; var$5 = $par1Vec3.$xCoord; $var27 = var$26 - var$5; var$26 = $par2Vec3.$yCoord; var$28 = $par1Vec3.$yCoord; $var29 = var$26 - var$28; var$26 = $par2Vec3.$zCoord; var$30 = $par1Vec3.$zCoord; $var31 = var$26 - var$30; if ($var39) $var21 = ($var15 - var$5) / $var27; if ($var40) $var23 = ($var17 - var$28) / $var29; if ($var41) $var25 = ($var19 - var$30) / $var31; if ($var21 < $var23 && $var21 < $var25) { $var42 = $var35 <= 0 ? 5 : 4; $par1Vec3.$xCoord = $var15; $par1Vec3.$yCoord = var$28 + $var29 * $var21; $par1Vec3.$zCoord = var$30 + $var31 * $var21; } else if ($var23 >= $var25) { $var42 = $var8 <= 0 ? 3 : 2; $par1Vec3.$xCoord = var$5 + $var27 * $var25; $par1Vec3.$yCoord = var$28 + $var29 * $var25; $par1Vec3.$zCoord = $var19; } else { $var42 = $var36 <= 0 ? 1 : 0; $par1Vec3.$xCoord = var$5 + $var27 * $var23; $par1Vec3.$yCoord = $var17; $par1Vec3.$zCoord = var$30 + $var31 * $var23; } $var34 = nms_Vec3Pool_getVecFromPool($this.$vecPool, $par1Vec3.$xCoord, $par1Vec3.$yCoord, $par1Vec3.$zCoord); var$5 = $par1Vec3.$xCoord; $var8 = var$5 | 0; if (var$5 < $var8) $var8 = $var8 - 1 | 0; var$5 = $var8; $var34.$xCoord = var$5; $var8 = var$5 | 0; if ($var42 == 5) { $var8 = $var8 + (-1) | 0; $var34.$xCoord = var$5 + 1.0; } var$5 = $par1Vec3.$yCoord; $var9 = var$5 | 0; if (var$5 < $var9) $var9 = $var9 - 1 | 0; var$5 = $var9; $var34.$yCoord = var$5; $var9 = var$5 | 0; if ($var42 == 1) { $var9 = $var9 + (-1) | 0; $var34.$yCoord = var$5 + 1.0; } var$26 = $par1Vec3.$zCoord; $var35 = var$26 | 0; if (var$26 < $var35) $var35 = $var35 - 1 | 0; var$26 = $var35; $var34.$zCoord = var$26; $var10 = var$26 | 0; if ($var42 == 3) { $var10 = $var10 + (-1) | 0; $var34.$zCoord = var$26 + 1.0; } $var35 = nms_World_getBlockId($this, $var8, $var9, $var10); $var36 = nms_World_getBlockMetadata($this, $var8, $var9, $var10); $var37 = nms_Block_blocksList.data[$var35]; if ($par4 && $var37 !== null) { continue main; } if ($var35 <= 0) continue; $var12 = $var37.$canCollideCheck($var36, $par3); if (!$var12) continue; else break c; } return null; } return null; } $ptr = 4; case 4: $tmp = $var37.$collisionRayTrace($this, $var8, $var9, $var10, $par1Vec3, $par2Vec3); if ($rt_suspending()) { break main; } $var38 = $tmp; if ($var38 !== null) return $var38; d: { while (true) { $var12 = $var11; $var11 = $var12 + (-1) | 0; if ($var12 < 0) return null; if (isNaN($par1Vec3.$xCoord) ? 1 : 0) break d; if (isNaN($par1Vec3.$yCoord) ? 1 : 0) break d; if (isNaN($par1Vec3.$zCoord) ? 1 : 0) break d; if ($var8 == $var5 && $var9 == $var6 && $var10 == $var7) break; $var39 = 1; $var40 = 1; $var41 = 1; $var15 = 999.0; $var17 = 999.0; $var19 = 999.0; $var35 = $rt_compare($var5, $var8); if ($var35 > 0) $var15 = $var8 + 1.0; else if ($var35 >= 0) $var39 = 0; else $var15 = $var8 + 0.0; $var36 = $rt_compare($var6, $var9); if ($var36 > 0) $var17 = $var9 + 1.0; else if ($var36 >= 0) $var40 = 0; else $var17 = $var9 + 0.0; $var8 = $rt_compare($var7, $var10); if ($var8 > 0) $var19 = $var10 + 1.0; else if ($var8 >= 0) $var41 = 0; else $var19 = $var10 + 0.0; $var21 = 999.0; $var23 = 999.0; $var25 = 999.0; var$26 = $par2Vec3.$xCoord; var$5 = $par1Vec3.$xCoord; $var27 = var$26 - var$5; var$26 = $par2Vec3.$yCoord; var$28 = $par1Vec3.$yCoord; $var29 = var$26 - var$28; var$26 = $par2Vec3.$zCoord; var$30 = $par1Vec3.$zCoord; $var31 = var$26 - var$30; if ($var39) $var21 = ($var15 - var$5) / $var27; if ($var40) $var23 = ($var17 - var$28) / $var29; if ($var41) $var25 = ($var19 - var$30) / $var31; if ($var21 < $var23 && $var21 < $var25) { $var42 = $var35 <= 0 ? 5 : 4; $par1Vec3.$xCoord = $var15; $par1Vec3.$yCoord = var$28 + $var29 * $var21; $par1Vec3.$zCoord = var$30 + $var31 * $var21; } else if ($var23 >= $var25) { $var42 = $var8 <= 0 ? 3 : 2; $par1Vec3.$xCoord = var$5 + $var27 * $var25; $par1Vec3.$yCoord = var$28 + $var29 * $var25; $par1Vec3.$zCoord = $var19; } else { $var42 = $var36 <= 0 ? 1 : 0; $par1Vec3.$xCoord = var$5 + $var27 * $var23; $par1Vec3.$yCoord = $var17; $par1Vec3.$zCoord = var$30 + $var31 * $var23; } $var34 = nms_Vec3Pool_getVecFromPool($this.$vecPool, $par1Vec3.$xCoord, $par1Vec3.$yCoord, $par1Vec3.$zCoord); var$5 = $par1Vec3.$xCoord; $var8 = var$5 | 0; if (var$5 < $var8) $var8 = $var8 - 1 | 0; var$5 = $var8; $var34.$xCoord = var$5; $var8 = var$5 | 0; if ($var42 == 5) { $var8 = $var8 + (-1) | 0; $var34.$xCoord = var$5 + 1.0; } var$5 = $par1Vec3.$yCoord; $var9 = var$5 | 0; if (var$5 < $var9) $var9 = $var9 - 1 | 0; var$5 = $var9; $var34.$yCoord = var$5; $var9 = var$5 | 0; if ($var42 == 1) { $var9 = $var9 + (-1) | 0; $var34.$yCoord = var$5 + 1.0; } var$26 = $par1Vec3.$zCoord; $var35 = var$26 | 0; if (var$26 < $var35) $var35 = $var35 - 1 | 0; var$26 = $var35; $var34.$zCoord = var$26; $var10 = var$26 | 0; if ($var42 == 3) { $var10 = $var10 + (-1) | 0; $var34.$zCoord = var$26 + 1.0; } $var35 = nms_World_getBlockId($this, $var8, $var9, $var10); $var36 = nms_World_getBlockMetadata($this, $var8, $var9, $var10); $var37 = nms_Block_blocksList.data[$var35]; if ($par4 && $var37 !== null) { $ptr = 3; continue main; } if ($var35 <= 0) continue; if (!$var37.$canCollideCheck($var36, $par3)) continue; else { continue main; } } return null; } return null; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Vec3, $par2Vec3, $par3, $par4, var$5, $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, $var13, $var39, $var40, $var41, $var15, $var17, $var19, $var35, $var36, $var21, $var23, $var25, var$26, $var27, var$28, $var29, var$30, $var31, $var42, $var34, $var37, $var14, $var38, $ptr); }, nms_World_playSoundAtEntity = ($this, $par1Entity, $par2Str, $par3, $par4) => { let $var5, var$6; a: { b: { if ($par1Entity !== null && $par2Str !== null) { $var5 = 0; while (true) { var$6 = $rt_compare($var5, $this.$worldAccesses.$size0); if (var$6 >= 0) break b; if ($var5 < 0) break a; if (var$6 >= 0) break a; $var5 = $var5 + 1 | 0; } } } return; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); }, nms_World_playSoundToNearExcept = ($this, $par1EntityPlayer, $par2Str, $par3, $par4) => { let $var5, var$6; a: { b: { if ($par1EntityPlayer !== null && $par2Str !== null) { $var5 = 0; while (true) { var$6 = $rt_compare($var5, $this.$worldAccesses.$size0); if (var$6 >= 0) break b; if ($var5 < 0) break a; if (var$6 >= 0) break a; $var5 = $var5 + 1 | 0; } } } return; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); }, nms_World_spawnEntityInWorld = ($this, $par1Entity) => { let var$2, $var2, $var3, $var4, var$6, $var5, var$8, var$9, var$10; var$2 = $par1Entity.$posX / 16.0; $var2 = var$2 | 0; if (var$2 < $var2) $var2 = $var2 - 1 | 0; var$2 = $par1Entity.$posZ / 16.0; $var3 = var$2 | 0; if (var$2 < $var3) $var3 = $var3 - 1 | 0; $var4 = $par1Entity.$forceSpawn; var$6 = $par1Entity instanceof nms_EntityPlayer; if (var$6) $var4 = 1; if (var$6) { $var5 = $par1Entity; var$8 = $this.$playerEntities; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$9 = var$8.$array.data; $var4 = var$8.$size0; var$8.$size0 = $var4 + 1 | 0; var$9[$var4] = $var5; var$8.$modCount = var$8.$modCount + 1 | 0; } $var5 = $this.$chunkProvider; var$8 = $var5.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt($var2), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), 32)); $var4 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); $var4 = $var4 ^ ($var4 >>> 20 | 0) ^ ($var4 >>> 12 | 0); $var3 = $var4 ^ ($var4 >>> 7 | 0) ^ ($var4 >>> 4 | 0); var$9 = var$8.$hashArray.data; var$8 = var$9[$var3 & (var$9.length - 1 | 0)]; a: { while (var$8 !== null) { if (Long_eq(var$8.$key1, var$10)) { var$8 = var$8.$value6; break a; } var$8 = var$8.$nextEntry0; } var$8 = null; } var$8 = var$8; if (var$8 === null) var$8 = $var5.$blankChunk; var$8.$addEntity($par1Entity); $var5 = $this.$loadedEntityList; ju_ArrayList_ensureCapacity($var5, $var5.$size0 + 1 | 0); var$9 = $var5.$array.data; var$6 = $var5.$size0; $var5.$size0 = var$6 + 1 | 0; var$9[var$6] = $par1Entity; $var5.$modCount = $var5.$modCount + 1 | 0; $var4 = 0; while (true) { var$6 = $rt_compare($var4, $this.$worldAccesses.$size0); if (var$6 >= 0) { if (ju_HashSet_contains($this.$entitySpawnQueue, $par1Entity)) $par1Entity = ju_HashMap_removeByKey($this.$entitySpawnQueue.$backingMap, $par1Entity); return 1; } if ($var4 < 0) break; if (var$6 >= 0) break; $var4 = $var4 + 1 | 0; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); }, nms_World_getCollidingBoundingBoxes = ($this, $par1Entity, $par2AxisAlignedBB) => { let $var12, var$4, var$5, $var11, $var15, var$8, $var5, var$10, $var3, $var4, $var6, $var7, $var8, $var10, var$17, var$18, var$19, var$20, $var14, $var13, $var16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var16 = $thread.pop();$var13 = $thread.pop();$var14 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$10 = $thread.pop();$var5 = $thread.pop();var$8 = $thread.pop();$var15 = $thread.pop();$var11 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var12 = $thread.pop();$par2AxisAlignedBB = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var12 = $this.$collidingBoundingBoxes; var$4 = $var12.$array; var$5 = 0; $var11 = $var12.$size0; $var15 = null; if (var$5 > $var11) { $par1Entity = new jl_IllegalArgumentException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } while (var$5 < $var11) { var$8 = var$4.data; $var5 = var$5 + 1 | 0; var$8[var$5] = $var15; var$5 = $var5; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; var$10 = $par2AxisAlignedBB.$minX; $var3 = var$10 | 0; if (var$10 < $var3) $var3 = $var3 - 1 | 0; var$10 = $par2AxisAlignedBB.$maxX + 1.0; $var4 = var$10 | 0; if (var$10 < $var4) $var4 = $var4 - 1 | 0; var$10 = $par2AxisAlignedBB.$minY; $var5 = var$10 | 0; if (var$10 < $var5) $var5 = $var5 - 1 | 0; var$10 = $par2AxisAlignedBB.$maxY + 1.0; $var6 = var$10 | 0; if (var$10 < $var6) $var6 = $var6 - 1 | 0; var$10 = $par2AxisAlignedBB.$minZ; $var7 = var$10 | 0; if (var$10 < $var7) $var7 = $var7 - 1 | 0; var$10 = $par2AxisAlignedBB.$maxZ + 1.0; $var8 = var$10 | 0; if (var$10 < $var8) $var8 = $var8 - 1 | 0; var$5 = $var5 - 1 | 0; while ($var3 < $var4) { $var10 = $var7; while ($var10 < $var8) { $var11 = var$5; while ($var11 < $var6) { nms_Block_$callClinit(); $var12 = nms_Block_blocksList.data[nms_World_getBlockId($this, $var3, $var11, $var10)]; if ($var12 !== null) { $var15 = $this.$collidingBoundingBoxes; $ptr = 1; continue main; } $var11 = $var11 + 1 | 0; } $var10 = $var10 + 1 | 0; } $var3 = $var3 + 1 | 0; } var$10 = $par2AxisAlignedBB.$minX - 0.25; var$17 = $par2AxisAlignedBB.$minY - 0.25; var$18 = $par2AxisAlignedBB.$minZ - 0.25; var$19 = $par2AxisAlignedBB.$maxX + 0.25; var$20 = $par2AxisAlignedBB.$maxY + 0.25; $var14 = $par2AxisAlignedBB.$maxZ + 0.25; $var15 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var11 = $var15.$nextPoolIndex; $var12 = $var15.$listAABB; var$5 = $var12.$size0; $var5 = $rt_compare($var11, var$5); if ($var5 >= 0) { $var13 = new nms_AxisAlignedBB; $var13.$minX = var$10; $var13.$minY = var$17; $var13.$minZ = var$18; $var13.$maxX = var$19; $var13.$maxY = var$20; $var13.$maxZ = $var14; ju_ArrayList_ensureCapacity($var12, var$5 + 1 | 0); var$4 = $var12.$array.data; $var11 = $var12.$size0; $var12.$size0 = $var11 + 1 | 0; var$4[$var11] = $var13; $var12.$modCount = $var12.$modCount + 1 | 0; } else if ($var11 >= 0 && $var5 < 0) { $var13 = $var12.$array.data[$var11]; $var13.$minX = var$10; $var13.$minY = var$17; $var13.$minZ = var$18; $var13.$maxX = var$19; $var13.$maxY = var$20; $var13.$maxZ = $var14; } else { $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } $var15.$nextPoolIndex = $var15.$nextPoolIndex + 1 | 0; $var15 = nms_World_getEntitiesWithinAABBExcludingEntity($this, $par1Entity, $var13, null); $var16 = 0; a: { b: { while (true) { var$5 = $rt_compare($var16, $var15.$size0); if (var$5 >= 0) break; if ($var16 < 0) break a; if (var$5 >= 0) break a; $var13 = $var15.$array.data[$var16].$getBoundingBox(); if ($var13 !== null && nms_AxisAlignedBB_intersectsWith($var13, $par2AxisAlignedBB)) { $var12 = $this.$collidingBoundingBoxes; ju_ArrayList_ensureCapacity($var12, $var12.$size0 + 1 | 0); var$4 = $var12.$array.data; $var11 = $var12.$size0; $var12.$size0 = $var11 + 1 | 0; var$4[$var11] = $var13; $var12.$modCount = $var12.$modCount + 1 | 0; } if ($var16 < 0) break b; if ($var16 >= $var15.$size0) break b; $var12 = $par1Entity.$getCollisionBox($var15.$array.data[$var16]); if ($var12 !== null && nms_AxisAlignedBB_intersectsWith($var12, $par2AxisAlignedBB)) { $var13 = $this.$collidingBoundingBoxes; ju_ArrayList_ensureCapacity($var13, $var13.$size0 + 1 | 0); var$4 = $var13.$array.data; $var11 = $var13.$size0; $var13.$size0 = $var11 + 1 | 0; var$4[$var11] = $var12; $var13.$modCount = $var13.$modCount + 1 | 0; } $var16 = $var16 + 1 | 0; } return $this.$collidingBoundingBoxes; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); case 1: $var12.$addCollisionBoxesToList($this, $var3, $var11, $var10, $par2AxisAlignedBB, $var15, $par1Entity); if ($rt_suspending()) { break main; } c: while (true) { $var11 = $var11 + 1 | 0; while ($var11 >= $var6) { $var10 = $var10 + 1 | 0; while ($var10 >= $var8) { $var3 = $var3 + 1 | 0; if ($var3 >= $var4) break c; $var10 = $var7; } $var11 = var$5; } nms_Block_$callClinit(); $var12 = nms_Block_blocksList.data[nms_World_getBlockId($this, $var3, $var11, $var10)]; if ($var12 === null) continue; else { $var15 = $this.$collidingBoundingBoxes; continue main; } } var$10 = $par2AxisAlignedBB.$minX - 0.25; var$17 = $par2AxisAlignedBB.$minY - 0.25; var$18 = $par2AxisAlignedBB.$minZ - 0.25; var$19 = $par2AxisAlignedBB.$maxX + 0.25; var$20 = $par2AxisAlignedBB.$maxY + 0.25; $var14 = $par2AxisAlignedBB.$maxZ + 0.25; $var15 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var11 = $var15.$nextPoolIndex; $var12 = $var15.$listAABB; var$5 = $var12.$size0; $var5 = $rt_compare($var11, var$5); if ($var5 >= 0) { $var13 = new nms_AxisAlignedBB; $var13.$minX = var$10; $var13.$minY = var$17; $var13.$minZ = var$18; $var13.$maxX = var$19; $var13.$maxY = var$20; $var13.$maxZ = $var14; ju_ArrayList_ensureCapacity($var12, var$5 + 1 | 0); var$4 = $var12.$array.data; $var11 = $var12.$size0; $var12.$size0 = $var11 + 1 | 0; var$4[$var11] = $var13; $var12.$modCount = $var12.$modCount + 1 | 0; } else if ($var11 >= 0 && $var5 < 0) { $var13 = $var12.$array.data[$var11]; $var13.$minX = var$10; $var13.$minY = var$17; $var13.$minZ = var$18; $var13.$maxX = var$19; $var13.$maxY = var$20; $var13.$maxZ = $var14; } else { $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } $var15.$nextPoolIndex = $var15.$nextPoolIndex + 1 | 0; $var15 = nms_World_getEntitiesWithinAABBExcludingEntity($this, $par1Entity, $var13, null); $var16 = 0; d: { e: { while (true) { var$5 = $rt_compare($var16, $var15.$size0); if (var$5 >= 0) break; if ($var16 < 0) break d; if (var$5 >= 0) break d; $var13 = $var15.$array.data[$var16].$getBoundingBox(); if ($var13 !== null && nms_AxisAlignedBB_intersectsWith($var13, $par2AxisAlignedBB)) { $var12 = $this.$collidingBoundingBoxes; ju_ArrayList_ensureCapacity($var12, $var12.$size0 + 1 | 0); var$4 = $var12.$array.data; $var11 = $var12.$size0; $var12.$size0 = $var11 + 1 | 0; var$4[$var11] = $var13; $var12.$modCount = $var12.$modCount + 1 | 0; } if ($var16 < 0) break e; if ($var16 >= $var15.$size0) break e; $var12 = $par1Entity.$getCollisionBox($var15.$array.data[$var16]); if ($var12 !== null && nms_AxisAlignedBB_intersectsWith($var12, $par2AxisAlignedBB)) { $var13 = $this.$collidingBoundingBoxes; ju_ArrayList_ensureCapacity($var13, $var13.$size0 + 1 | 0); var$4 = $var13.$array.data; $var11 = $var13.$size0; $var13.$size0 = $var11 + 1 | 0; var$4[$var11] = $var12; $var13.$modCount = $var13.$modCount + 1 | 0; } $var16 = $var16 + 1 | 0; } return $this.$collidingBoundingBoxes; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2AxisAlignedBB, $var12, var$4, var$5, $var11, $var15, var$8, $var5, var$10, $var3, $var4, $var6, $var7, $var8, $var10, var$17, var$18, var$19, var$20, $var14, $var13, $var16, $ptr); }, nms_World_getCollidingBlockBounds = ($this, $par1AxisAlignedBB) => { let $var11, var$3, $var9, $var10, var$6, var$7, $var2, var$9, $var3, $var4, $var5, $var6, $var7, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$9 = $thread.pop();$var2 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$3 = $thread.pop();$var11 = $thread.pop();$par1AxisAlignedBB = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var11 = $this.$collidingBoundingBoxes; var$3 = $var11.$array; $var9 = 0; $var10 = $var11.$size0; var$6 = null; if ($var9 > $var10) { $par1AxisAlignedBB = new jl_IllegalArgumentException; $par1AxisAlignedBB.$suppressionEnabled = 1; $par1AxisAlignedBB.$writableStackTrace = 1; $rt_throw($par1AxisAlignedBB); } while ($var9 < $var10) { var$7 = var$3.data; $var2 = $var9 + 1 | 0; var$7[$var9] = var$6; $var9 = $var2; } $var11.$size0 = 0; $var11.$modCount = $var11.$modCount + 1 | 0; var$9 = $par1AxisAlignedBB.$minX; $var2 = var$9 | 0; if (var$9 < $var2) $var2 = $var2 - 1 | 0; var$9 = $par1AxisAlignedBB.$maxX + 1.0; $var3 = var$9 | 0; if (var$9 < $var3) $var3 = $var3 - 1 | 0; var$9 = $par1AxisAlignedBB.$minY; $var4 = var$9 | 0; if (var$9 < $var4) $var4 = $var4 - 1 | 0; var$9 = $par1AxisAlignedBB.$maxY + 1.0; $var5 = var$9 | 0; if (var$9 < $var5) $var5 = $var5 - 1 | 0; var$9 = $par1AxisAlignedBB.$minZ; $var6 = var$9 | 0; if (var$9 < $var6) $var6 = $var6 - 1 | 0; var$9 = $par1AxisAlignedBB.$maxZ + 1.0; $var7 = var$9 | 0; if (var$9 < $var7) $var7 = $var7 - 1 | 0; $var4 = $var4 - 1 | 0; var$15 = null; while ($var2 < $var3) { $var9 = $var6; while ($var9 < $var7) { $var10 = $var4; while ($var10 < $var5) { nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[nms_World_getBlockId($this, $var2, $var10, $var9)]; if ($var11 !== null) { var$6 = $this.$collidingBoundingBoxes; $ptr = 1; continue main; } $var10 = $var10 + 1 | 0; } $var9 = $var9 + 1 | 0; } $var2 = $var2 + 1 | 0; } return $this.$collidingBoundingBoxes; case 1: $var11.$addCollisionBoxesToList($this, $var2, $var10, $var9, $par1AxisAlignedBB, var$6, var$15); if ($rt_suspending()) { break main; } a: while (true) { $var10 = $var10 + 1 | 0; while ($var10 >= $var5) { $var9 = $var9 + 1 | 0; while ($var9 >= $var7) { $var2 = $var2 + 1 | 0; if ($var2 >= $var3) break a; $var9 = $var6; } $var10 = $var4; } nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[nms_World_getBlockId($this, $var2, $var10, $var9)]; if ($var11 === null) continue; else { var$6 = $this.$collidingBoundingBoxes; continue main; } } return $this.$collidingBoundingBoxes; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1AxisAlignedBB, $var11, var$3, $var9, $var10, var$6, var$7, $var2, var$9, $var3, $var4, $var5, $var6, $var7, var$15, $ptr); }, nms_World_calculateSkylightSubtracted = ($this, $par1) => { let $var3, var$3, $var2, var$5; $var3 = $this.$provider.$calculateCelestialAngle($this.$worldInfo.$worldTime, $par1) * 3.1415927410125732 * 2.0; $var3 = 1.0 - (nms_MathHelper_SIN_TABLE.data[($var3 * 10430.3779296875 + 16384.0 | 0) & 65535] * 2.0 + 0.5); if ($var3 < 0.0) $var3 = 0.0; if ($var3 > 1.0) $var3 = 1.0; var$3 = 1.0 - $var3; $var3 = $this.$prevRainingStrength; $var2 = $var3 + ($this.$rainingStrength - $var3) * $par1; var$5 = var$3 * (1.0 - $var2 * 5.0 / 16.0); $var3 = $this.$prevThunderingStrength; return (1.0 - var$5 * (1.0 - ($var3 + ($this.$thunderingStrength - $var3) * $par1) * $var2 * 5.0 / 16.0)) * 11.0 | 0; }, nms_World_getSunBrightness = ($this, $par1) => { let $var3, var$3, $var2, var$5; $var3 = $this.$provider.$calculateCelestialAngle($this.$worldInfo.$worldTime, $par1) * 3.1415927410125732 * 2.0; $var3 = 1.0 - (nms_MathHelper_SIN_TABLE.data[($var3 * 10430.3779296875 + 16384.0 | 0) & 65535] * 2.0 + 0.20000000298023224); if ($var3 < 0.0) $var3 = 0.0; if ($var3 > 1.0) $var3 = 1.0; var$3 = 1.0 - $var3; $var3 = $this.$prevRainingStrength; $var2 = $var3 + ($this.$rainingStrength - $var3) * $par1; var$5 = var$3 * (1.0 - $var2 * 5.0 / 16.0); $var3 = $this.$prevThunderingStrength; return var$5 * (1.0 - ($var3 + ($this.$thunderingStrength - $var3) * $par1) * $var2 * 5.0 / 16.0) * 0.800000011920929 + 0.20000000298023224; }, nms_World_getSkyColor = ($this, $par1Entity, $par2) => { let $var3, $var4, var$5, $var5, $var6, $var7, $var9, $var10, $var11, $var12, $var13, $var14, $var15, $var16; $var3 = $this.$provider.$calculateCelestialAngle($this.$worldInfo.$worldTime, $par2) * 3.1415927410125732 * 2.0; $var4 = nms_MathHelper_SIN_TABLE.data[($var3 * 10430.3779296875 + 16384.0 | 0) & 65535] * 2.0 + 0.5; if ($var4 < 0.0) $var4 = 0.0; if ($var4 > 1.0) $var4 = 1.0; var$5 = $par1Entity.$posX; $var5 = var$5 | 0; if (var$5 < $var5) $var5 = $var5 - 1 | 0; var$5 = $par1Entity.$posZ; $var6 = var$5 | 0; if (var$5 < $var6) $var6 = $var6 - 1 | 0; $var7 = nms_World_getBiomeGenForCoords($this, $var5, $var6); $var9 = $var7.$getSkyColorByTemp($var7.$temperature); $var10 = ($var9 >> 16 & 255) / 255.0; $var11 = ($var9 >> 8 & 255) / 255.0; $var12 = ($var9 & 255) / 255.0; $var3 = $var10 * $var4; $var10 = $var11 * $var4; $var4 = $var12 * $var4; $var11 = $this.$prevRainingStrength; $var13 = $var11 + ($this.$rainingStrength - $var11) * $par2; if ($var13 > 0.0) { $var14 = ($var3 * 0.30000001192092896 + $var10 * 0.5899999737739563 + $var4 * 0.10999999940395355) * 0.6000000238418579; $var15 = 1.0 - $var13 * 0.75; $var3 = $var3 * $var15; $var11 = $var14 * (1.0 - $var15); $var3 = $var3 + $var11; $var10 = $var10 * $var15 + $var11; $var4 = $var4 * $var15 + $var11; } $var11 = $this.$prevThunderingStrength; $var14 = ($var11 + ($this.$thunderingStrength - $var11) * $par2) * $var13; if ($var14 > 0.0) { $var15 = ($var3 * 0.30000001192092896 + $var10 * 0.5899999737739563 + $var4 * 0.10999999940395355) * 0.20000000298023224; $var16 = 1.0 - $var14 * 0.75; $var3 = $var3 * $var16; $var11 = $var15 * (1.0 - $var16); $var3 = $var3 + $var11; $var10 = $var10 * $var16 + $var11; $var4 = $var4 * $var16 + $var11; } $var9 = $this.$lastLightningBolt; if ($var9 > 0) { $var15 = $var9 - $par2; if ($var15 > 1.0) $var15 = 1.0; $par2 = $var15 * 0.44999998807907104; $var11 = 1.0 - $par2; $var3 = $var3 * $var11; $var12 = 0.800000011920929 * $par2; $var3 = $var3 + $var12; $var10 = $var10 * $var11 + $var12; $var4 = $var4 * $var11 + 1.0 * $par2; } return nms_Vec3Pool_getVecFromPool($this.$vecPool, $var3, $var10, $var4); }, nms_World_getCloudColour = ($this, $par1) => { let $var3, var$3, $var4, $var5, $var6, $var8, $var7, $var9, $var9_0, $var8_0, $var10; $var3 = $this.$provider.$calculateCelestialAngle($this.$worldInfo.$worldTime, $par1) * 3.1415927410125732 * 2.0; $var3 = nms_MathHelper_SIN_TABLE.data[($var3 * 10430.3779296875 + 16384.0 | 0) & 65535] * 2.0 + 0.5; if ($var3 < 0.0) $var3 = 0.0; if ($var3 > 1.0) $var3 = 1.0; var$3 = $this.$cloudColour; $var4 = Long_toNumber(Long_and(Long_shr(var$3, 16), Long_fromInt(255))) / 255.0; $var5 = Long_toNumber(Long_and(Long_shr(var$3, 8), Long_fromInt(255))) / 255.0; $var6 = Long_toNumber(Long_and(var$3, Long_fromInt(255))) / 255.0; $var8 = $this.$prevRainingStrength; $var7 = $var8 + ($this.$rainingStrength - $var8) * $par1; if ($var7 > 0.0) { $var8 = ($var4 * 0.30000001192092896 + $var5 * 0.5899999737739563 + $var6 * 0.10999999940395355) * 0.6000000238418579; $var9 = 1.0 - $var7 * 0.949999988079071; $var9_0 = $var4 * $var9; $var8 = $var8 * (1.0 - $var9); $var4 = $var9_0 + $var8; $var5 = $var5 * $var9 + $var8; $var6 = $var6 * $var9 + $var8; } $var8 = $var3 * 0.8999999761581421 + 0.10000000149011612; $var9 = $var4 * $var8; $var8 = $var5 * $var8; $var3 = $var6 * ($var3 * 0.8500000238418579 + 0.15000000596046448); $var9_0 = $this.$prevThunderingStrength; $var8_0 = ($var9_0 + ($this.$thunderingStrength - $var9_0) * $par1) * $var7; if ($var8_0 > 0.0) { $var9_0 = ($var9 * 0.30000001192092896 + $var8 * 0.5899999737739563 + $var3 * 0.10999999940395355) * 0.20000000298023224; $var10 = 1.0 - $var8_0 * 0.949999988079071; $var9 = $var9 * $var10; $par1 = $var9_0 * (1.0 - $var10); $var9 = $var9 + $par1; $var8 = $var8 * $var10 + $par1; $var3 = $var3 * $var10 + $par1; } return nms_Vec3Pool_getVecFromPool($this.$vecPool, $var9, $var8, $var3); }, nms_World_getTopSolidOrLiquidBlock = ($this, $par1, $par2) => { let $var5, $var4, var$5, var$6, var$7, var$8, var$9; $var5 = $par1 >> 4; $var4 = $par2 >> 4; var$5 = $this.$chunkProvider; var$6 = var$5.$chunkMapping; var$7 = Long_or(Long_and(Long_fromInt($var5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var4), Long_create(4294967295, 0)), 32)); $var4 = Long_lo(Long_xor(var$7, Long_shru(var$7, 32))); $var4 = $var4 ^ ($var4 >>> 20 | 0) ^ ($var4 >>> 12 | 0); $var5 = $var4 ^ ($var4 >>> 7 | 0) ^ ($var4 >>> 4 | 0); var$8 = var$6.$hashArray.data; var$6 = var$8[$var5 & (var$8.length - 1 | 0)]; a: { while (var$6 !== null) { if (Long_eq(var$6.$key1, var$7)) { var$6 = var$6.$value6; break a; } var$6 = var$6.$nextEntry0; } var$6 = null; } var$9 = var$6; if (var$9 === null) var$9 = var$5.$blankChunk; var$8 = var$9.$storageArrays.data; $var4 = var$8.length - 1 | 0; b: { while ($var4 >= 0) { if (var$8[$var4] !== null) { $var4 = var$8[$var4].$yBase; break b; } $var4 = $var4 + (-1) | 0; } $var4 = 0; } $var4 = $var4 + 15 | 0; $par1 = $par1 & 15; $par2 = $par2 & 15; while ($var4 > 0) { $var5 = var$9.$getBlockID($par1, $var4, $par2); if ($var5) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$blockMaterial.$blocksMovement() && nms_Block_blocksList.data[$var5].$blockMaterial !== nms_Material_leaves) return $var4 + 1 | 0; } $var4 = $var4 + (-1) | 0; } return (-1); }, nms_World_getStarBrightness = ($this, $par1) => { let $var3; $par1 = $this.$provider.$calculateCelestialAngle($this.$worldInfo.$worldTime, $par1) * 3.1415927410125732 * 2.0; $var3 = 1.0 - (nms_MathHelper_SIN_TABLE.data[($par1 * 10430.3779296875 + 16384.0 | 0) & 65535] * 2.0 + 0.25); if ($var3 < 0.0) $var3 = 0.0; if ($var3 > 1.0) $var3 = 1.0; return $var3 * $var3 * 0.5; }, nms_World_updateEntities = $this => { let $var1, $var12, $var10, $var2, $var9, $var3, var$7, var$8, $var14, var$10, $var13, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var13 = $thread.pop();var$10 = $thread.pop();$var14 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();$var9 = $thread.pop();$var2 = $thread.pop();$var10 = $thread.pop();$var12 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 0; $var12 = $this.$weatherEffects; $var10 = $rt_compare($var1, $var12.$size0); if ($var10 < 0) { if ($var1 >= 0 && $var10 < 0) { $var2 = $var12.$array.data[$var1]; $var2.$ticksExisted = $var2.$ticksExisted + 1 | 0; $ptr = 1; continue main; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = $this.$loadedEntityList; $var9 = $this.$unloadedEntityList; if ($var9 === null) { $var12 = new jl_NullPointerException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $var12.$message = $rt_s(18); $rt_throw($var12); } $var2 = new ju_AbstractList$1; $var2.$this$00 = $var12; $var2.$modCount1 = $var12.$modCount; $var2.$size3 = $var12.$size(); $var2.$removeIndex = (-1); a: while (true) { $var1 = $var2.$index0; if (!($var1 >= $var2.$size3 ? 0 : 1)) { $var1 = 0; while (true) { $var12 = $this.$unloadedEntityList; $var10 = $rt_compare($var1, $var12.$size0); if ($var10 >= 0) { $var1 = 0; b: { while (true) { $var12 = $this.$unloadedEntityList; $var3 = $var12.$size0; $var10 = $rt_compare($var1, $var3); if ($var10 >= 0) { var$7 = $var12.$array; $var1 = 0; $var9 = null; if ($var1 > $var3) { $var12 = new jl_IllegalArgumentException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } while ($var1 < $var3) { var$8 = var$7.data; $var10 = $var1 + 1 | 0; var$8[$var1] = $var9; $var1 = $var10; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; $var1 = 0; c: { while (true) { $var12 = $this.$loadedEntityList; $var10 = $rt_compare($var1, $var12.$size0); if ($var10 >= 0) { $this.$scanningTileEntities = 1; $var12 = $this.$loadedTileEntityList; $var14 = new ju_AbstractList$1; $var14.$this$00 = $var12; $var14.$modCount1 = $var12.$modCount; $var14.$size3 = $var12.$size(); $var14.$removeIndex = (-1); var$10 = 1; while (true) { $var1 = $var14.$index0; if (!($var1 >= $var14.$size3 ? 0 : 1)) { $this.$scanningTileEntities = 0; $var12 = $this.$entityRemoval; $var1 = $var12.$size0 ? 0 : 1; d: { if (!$var1) { $var9 = $this.$loadedTileEntityList; $var2 = new ju_AbstractList$1; $var2.$this$00 = $var9; $var2.$modCount1 = $var9.$modCount; $var2.$size3 = $var9.$size(); $var2.$removeIndex = (-1); e: while (true) { $var1 = $var2.$index0; if (!($var1 >= $var2.$size3 ? 0 : 1)) { $var12 = $this.$entityRemoval; var$7 = $var12.$array; $var3 = 0; $var1 = $var12.$size0; $var9 = null; if ($var3 > $var1) { $var12 = new jl_IllegalArgumentException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } while ($var3 < $var1) { var$8 = var$7.data; $var10 = $var3 + 1 | 0; var$8[$var3] = $var9; $var3 = $var10; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; break d; } $var3 = $var2.$modCount1; $var9 = $var2.$this$00; if ($var3 < $var9.$modCount) { $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var2.$removeIndex = $var1; $var2.$index0 = $var1 + 1 | 0; $var9 = $var9.$get($var1); $var13 = $var12.$modCount; var$12 = $var12.$size(); var$10 = 0; f: { while (true) { if (!(var$10 >= var$12 ? 0 : 1)) { $var1 = 0; break f; } if ($var13 < $var12.$modCount) break e; $var3 = var$10 + 1 | 0; $var14 = $var12.$get(var$10); if ($var14 === $var9 ? 1 : $var14 !== null ? $var14.$equals($var9) : $var9 !== null ? 0 : 1) break; var$10 = $var3; } $var1 = 1; } if ($var1) ju_AbstractList$1_remove($var2); } $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } } $var1 = $this.$addedTileEntityList.$size0 ? 0 : 1; g: { if (!$var1) { $var10 = 0; var$10 = 0; h: { while (true) { $var12 = $this.$addedTileEntityList; $var3 = $var12.$size0; $var1 = $rt_compare($var10, $var3); if ($var1 >= 0) { var$7 = $var12.$array; $var1 = 0; $var9 = null; if ($var1 > $var3) { $var12 = new jl_IllegalArgumentException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } while ($var1 < $var3) { var$8 = var$7.data; $var10 = $var1 + 1 | 0; var$8[$var1] = $var9; $var1 = $var10; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; break g; } if ($var10 < 0) break; if ($var1 >= 0) break; $var12 = $var12.$array.data[$var10]; if (!$var12.$tileEntityInvalid) { $var9 = $this.$loadedTileEntityList; $var13 = $var9.$modCount; var$12 = $var9.$size(); var$13 = var$10; i: { while (true) { if (!(var$13 >= var$12 ? 0 : 1)) { $var1 = 0; break i; } if ($var13 < $var9.$modCount) { $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var3 = var$13 + 1 | 0; $var2 = $var9.$get(var$13); if ($var2 === $var12 ? 1 : $var2 !== null ? $var2.$equals($var12) : $var12 !== null ? 0 : 1) break; var$13 = $var3; } $var1 = 1; } if (!$var1) { $var9 = $this.$loadedTileEntityList; ju_ArrayList_ensureCapacity($var9, $var9.$size0 + 1 | 0); var$7 = $var9.$array.data; $var3 = $var9.$size0; $var9.$size0 = $var3 + 1 | 0; var$7[$var3] = $var12; $var9.$modCount = $var9.$modCount + 1 | 0; } $var1 = $var12.$xCoord0; $var3 = $var1 >> 4; $var13 = $var12.$zCoord0; var$12 = $var13 >> 4; $var9 = $this.$chunkProvider; $var2 = $var9.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$12), Long_create(4294967295, 0)), 32)); $var3 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var3 = $var3 ^ ($var3 >>> 20 | 0) ^ ($var3 >>> 12 | 0); var$13 = $var3 ^ ($var3 >>> 7 | 0) ^ ($var3 >>> 4 | 0); var$7 = $var2.$hashArray.data; $var2 = var$7[var$13 & (var$7.length - 1 | 0)]; j: { while ($var2 !== null) { if (Long_eq($var2.$key1, var$14)) { $var2 = $var2.$value6; break j; } $var2 = $var2.$nextEntry0; } $var2 = null; } $var2 = $var2; if ($var2 === null) $var2 = $var9.$blankChunk; if ($var2 !== null) { $var3 = $var1 & 15; var$12 = $var12.$yCoord0; $var1 = $var13 & 15; $ptr = 5; continue main; } $var1 = $var12.$xCoord0; $var3 = $var12.$yCoord0; $var13 = $var12.$zCoord0; var$12 = 0; var$13 = $var1 - 1 | 0; var$15 = $var3 - 1 | 0; var$16 = $var13 - 1 | 0; var$17 = $var1 + 1 | 0; $var3 = $var3 + 1 | 0; $var13 = $var13 + 1 | 0; while (true) { $var12 = $this.$worldAccesses; $var1 = $rt_compare(var$12, $var12.$size0); if ($var1 >= 0) break; if (var$12 < 0) break h; if ($var1 >= 0) break h; nms_RenderGlobal_markBlocksForUpdate($var12.$array.data[var$12], var$13, var$15, var$16, var$17, $var3, $var13); var$12 = var$12 + 1 | 0; } } $var10 = $var10 + 1 | 0; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } } return; } $var10 = $var14.$modCount1; $var12 = $var14.$this$00; if ($var10 < $var12.$modCount) break; $var14.$removeIndex = $var1; $var14.$index0 = $var1 + 1 | 0; $var9 = $var12.$get($var1); if (!$var9.$tileEntityInvalid && ($var9.$worldObj0 === null ? 0 : 1)) { $var1 = $var9.$yCoord0; if ($var1 >= 0 && $var1 < 256 ? var$10 : 0) { $ptr = 3; continue main; } } if ($var9.$tileEntityInvalid) { ju_AbstractList$1_remove($var14); $var1 = $var9.$xCoord0; $var10 = $var1 >> 4; $var3 = $var9.$zCoord0; $var13 = $var3 >> 4; $var12 = $this.$chunkProvider; $var2 = $var12.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var10), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var13), Long_create(4294967295, 0)), 32)); $var10 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var10 = $var10 ^ ($var10 >>> 20 | 0) ^ ($var10 >>> 12 | 0); var$12 = $var10 ^ ($var10 >>> 7 | 0) ^ ($var10 >>> 4 | 0); var$7 = $var2.$hashArray.data; $var2 = var$7[var$12 & (var$7.length - 1 | 0)]; k: { while ($var2 !== null) { if (Long_eq($var2.$key1, var$14)) { $var2 = $var2.$value6; break k; } $var2 = $var2.$nextEntry0; } $var2 = null; } $var2 = $var2; if ($var2 === null) $var2 = $var12.$blankChunk; if ($var2 !== null) { $var1 = $var1 & 15; $var10 = $var9.$yCoord0; $var3 = $var3 & 15; $ptr = 4; continue main; } } } $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } if ($var1 < 0) break; if ($var10 >= 0) break; l: { $var2 = $var12.$array.data[$var1]; $var12 = $var2.$ridingEntity; if ($var12 !== null) { if (!$var12.$isDead && $var12.$riddenByEntity === $var2) break l; $var12.$riddenByEntity = null; $var2.$ridingEntity = null; } if (!$var2.$isDead) { $var10 = 1; $ptr = 2; continue main; } if ($var2.$isDead) { $var3 = $var2.$chunkCoordX; $var13 = $var2.$chunkCoordZ; if ($var2.$addedToChunk) { $var12 = $this.$chunkProvider; $var9 = $var12.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var13), Long_create(4294967295, 0)), 32)); $var10 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var10 = $var10 ^ ($var10 >>> 20 | 0) ^ ($var10 >>> 12 | 0); $var13 = $var10 ^ ($var10 >>> 7 | 0) ^ ($var10 >>> 4 | 0); var$7 = $var9.$hashArray.data; $var9 = var$7[$var13 & (var$7.length - 1 | 0)]; m: { while ($var9 !== null) { if (Long_eq($var9.$key1, var$14)) { $var9 = $var9.$value6; break m; } $var9 = $var9.$nextEntry0; } $var9 = null; } $var9 = $var9; if ($var9 === null) $var9 = $var12.$blankChunk; $var9.$removeEntity($var2); } $var12 = $this.$loadedEntityList; $var10 = $var1 + (-1) | 0; ju_ArrayList_remove($var12, $var1); $var1 = 0; while (true) { $var3 = $rt_compare($var1, $this.$worldAccesses.$size0); if ($var3 >= 0) break; if ($var1 < 0) break c; if ($var3 >= 0) break c; $var1 = $var1 + 1 | 0; } if (ju_HashSet_contains($this.$entityList, $var2)) { if ($var2.$isEntityAlive()) { $var12 = $this.$entitySpawnQueue; ju_HashMap_putImpl($var12.$backingMap, $var2, $var12); } else $var12 = ju_HashMap_removeByKey($this.$entityList.$backingMap, $var2); } $var1 = $var10; } } $var1 = $var1 + 1 | 0; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } if ($var1 < 0) break; if ($var10 >= 0) break; $var12 = $var12.$array.data[$var1]; $var10 = 0; while (true) { $var3 = $rt_compare($var10, $this.$worldAccesses.$size0); if ($var3 >= 0) break; if ($var10 < 0) break b; if ($var3 >= 0) break b; $var10 = $var10 + 1 | 0; } if (ju_HashSet_contains($this.$entityList, $var12)) { if ($var12.$isEntityAlive()) { $var9 = $this.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var12, $var9); } else $var12 = ju_HashMap_removeByKey($this.$entityList.$backingMap, $var12); } $var1 = $var1 + 1 | 0; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } if ($var1 < 0) break; if ($var10 >= 0) break; $var2 = $var12.$array.data[$var1]; $var3 = $var2.$chunkCoordX; $var13 = $var2.$chunkCoordZ; if ($var2.$addedToChunk) { $var12 = $this.$chunkProvider; $var9 = $var12.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var13), Long_create(4294967295, 0)), 32)); $var10 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var10 = $var10 ^ ($var10 >>> 20 | 0) ^ ($var10 >>> 12 | 0); $var13 = $var10 ^ ($var10 >>> 7 | 0) ^ ($var10 >>> 4 | 0); var$7 = $var9.$hashArray.data; $var9 = var$7[$var13 & (var$7.length - 1 | 0)]; n: { while ($var9 !== null) { if (Long_eq($var9.$key1, var$14)) { $var9 = $var9.$value6; break n; } $var9 = $var9.$nextEntry0; } $var9 = null; } $var9 = $var9; if ($var9 === null) $var9 = $var12.$blankChunk; $var9.$removeEntity($var2); } $var1 = $var1 + 1 | 0; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var3 = $var2.$modCount1; $var12 = $var2.$this$00; if ($var3 < $var12.$modCount) { $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var2.$removeIndex = $var1; $var2.$index0 = $var1 + 1 | 0; $var12 = $var12.$get($var1); $var13 = $var9.$modCount; var$12 = $var9.$size(); var$10 = 0; o: { while (true) { if (!(var$10 >= var$12 ? 0 : 1)) { $var1 = 0; break o; } if ($var13 < $var9.$modCount) break a; $var3 = var$10 + 1 | 0; $var14 = $var9.$get(var$10); if ($var14 === $var12 ? 1 : $var14 !== null ? $var14.$equals($var12) : $var12 !== null ? 0 : 1) break; var$10 = $var3; } $var1 = 1; } if ($var1) ju_AbstractList$1_remove($var2); } $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); case 1: $var2.$onUpdate(); if ($rt_suspending()) { break main; } if (!$var2.$isDead) $var10 = $var1; else { $var12 = $this.$weatherEffects; $var10 = $var1 + (-1) | 0; ju_ArrayList_remove($var12, $var1); } $var1 = $var10 + 1 | 0; $var12 = $this.$weatherEffects; $var10 = $rt_compare($var1, $var12.$size0); if ($var10 < 0) { if ($var1 >= 0 && $var10 < 0) { $var2 = $var12.$array.data[$var1]; $var2.$ticksExisted = $var2.$ticksExisted + 1 | 0; continue main; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = $this.$loadedEntityList; $var9 = $this.$unloadedEntityList; if ($var9 === null) { $var12 = new jl_NullPointerException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $var12.$message = $rt_s(18); $rt_throw($var12); } $var2 = new ju_AbstractList$1; $var2.$this$00 = $var12; $var2.$modCount1 = $var12.$modCount; $var2.$size3 = $var12.$size(); $var2.$removeIndex = (-1); p: while (true) { $var1 = $var2.$index0; if (!($var1 >= $var2.$size3 ? 0 : 1)) { $var1 = 0; while (true) { $var12 = $this.$unloadedEntityList; $var10 = $rt_compare($var1, $var12.$size0); if ($var10 >= 0) { $var1 = 0; q: { while (true) { $var12 = $this.$unloadedEntityList; $var3 = $var12.$size0; $var10 = $rt_compare($var1, $var3); if ($var10 >= 0) { var$7 = $var12.$array; $var1 = 0; $var9 = null; if ($var1 > $var3) { $var12 = new jl_IllegalArgumentException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } while ($var1 < $var3) { var$8 = var$7.data; $var10 = $var1 + 1 | 0; var$8[$var1] = $var9; $var1 = $var10; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; $var1 = 0; r: { while (true) { $var12 = $this.$loadedEntityList; $var10 = $rt_compare($var1, $var12.$size0); if ($var10 >= 0) { $this.$scanningTileEntities = 1; $var12 = $this.$loadedTileEntityList; $var14 = new ju_AbstractList$1; $var14.$this$00 = $var12; $var14.$modCount1 = $var12.$modCount; $var14.$size3 = $var12.$size(); $var14.$removeIndex = (-1); var$10 = 1; while (true) { $var1 = $var14.$index0; if (!($var1 >= $var14.$size3 ? 0 : 1)) { $this.$scanningTileEntities = 0; $var12 = $this.$entityRemoval; $var1 = $var12.$size0 ? 0 : 1; s: { if (!$var1) { $var9 = $this.$loadedTileEntityList; $var2 = new ju_AbstractList$1; $var2.$this$00 = $var9; $var2.$modCount1 = $var9.$modCount; $var2.$size3 = $var9.$size(); $var2.$removeIndex = (-1); t: while (true) { $var1 = $var2.$index0; if (!($var1 >= $var2.$size3 ? 0 : 1)) { $var12 = $this.$entityRemoval; var$7 = $var12.$array; $var3 = 0; $var1 = $var12.$size0; $var9 = null; if ($var3 > $var1) { $var12 = new jl_IllegalArgumentException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } while ($var3 < $var1) { var$8 = var$7.data; $var10 = $var3 + 1 | 0; var$8[$var3] = $var9; $var3 = $var10; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; break s; } $var3 = $var2.$modCount1; $var9 = $var2.$this$00; if ($var3 < $var9.$modCount) { $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var2.$removeIndex = $var1; $var2.$index0 = $var1 + 1 | 0; $var9 = $var9.$get($var1); $var13 = $var12.$modCount; var$12 = $var12.$size(); var$10 = 0; u: { while (true) { if (!(var$10 >= var$12 ? 0 : 1)) { $var1 = 0; break u; } if ($var13 < $var12.$modCount) break t; $var3 = var$10 + 1 | 0; $var14 = $var12.$get(var$10); if ($var14 === $var9 ? 1 : $var14 !== null ? $var14.$equals($var9) : $var9 !== null ? 0 : 1) break; var$10 = $var3; } $var1 = 1; } if ($var1) ju_AbstractList$1_remove($var2); } $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } } $var1 = $this.$addedTileEntityList.$size0 ? 0 : 1; v: { if (!$var1) { $var10 = 0; var$10 = 0; w: { while (true) { $var12 = $this.$addedTileEntityList; $var3 = $var12.$size0; $var1 = $rt_compare($var10, $var3); if ($var1 >= 0) { var$7 = $var12.$array; $var1 = 0; $var9 = null; if ($var1 > $var3) { $var12 = new jl_IllegalArgumentException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } while ($var1 < $var3) { var$8 = var$7.data; $var10 = $var1 + 1 | 0; var$8[$var1] = $var9; $var1 = $var10; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; break v; } if ($var10 < 0) break; if ($var1 >= 0) break; $var12 = $var12.$array.data[$var10]; if (!$var12.$tileEntityInvalid) { $var9 = $this.$loadedTileEntityList; $var13 = $var9.$modCount; var$12 = $var9.$size(); var$13 = var$10; x: { while (true) { if (!(var$13 >= var$12 ? 0 : 1)) { $var1 = 0; break x; } if ($var13 < $var9.$modCount) { $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var3 = var$13 + 1 | 0; $var2 = $var9.$get(var$13); if ($var2 === $var12 ? 1 : $var2 !== null ? $var2.$equals($var12) : $var12 !== null ? 0 : 1) break; var$13 = $var3; } $var1 = 1; } if (!$var1) { $var9 = $this.$loadedTileEntityList; ju_ArrayList_ensureCapacity($var9, $var9.$size0 + 1 | 0); var$7 = $var9.$array.data; $var3 = $var9.$size0; $var9.$size0 = $var3 + 1 | 0; var$7[$var3] = $var12; $var9.$modCount = $var9.$modCount + 1 | 0; } $var1 = $var12.$xCoord0; $var3 = $var1 >> 4; $var13 = $var12.$zCoord0; var$12 = $var13 >> 4; $var9 = $this.$chunkProvider; $var2 = $var9.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$12), Long_create(4294967295, 0)), 32)); $var3 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var3 = $var3 ^ ($var3 >>> 20 | 0) ^ ($var3 >>> 12 | 0); var$13 = $var3 ^ ($var3 >>> 7 | 0) ^ ($var3 >>> 4 | 0); var$7 = $var2.$hashArray.data; $var2 = var$7[var$13 & (var$7.length - 1 | 0)]; y: { while ($var2 !== null) { if (Long_eq($var2.$key1, var$14)) { $var2 = $var2.$value6; break y; } $var2 = $var2.$nextEntry0; } $var2 = null; } $var2 = $var2; if ($var2 === null) $var2 = $var9.$blankChunk; if ($var2 !== null) { $var3 = $var1 & 15; var$12 = $var12.$yCoord0; $var1 = $var13 & 15; $ptr = 5; continue main; } $var1 = $var12.$xCoord0; $var3 = $var12.$yCoord0; $var13 = $var12.$zCoord0; var$12 = 0; var$13 = $var1 - 1 | 0; var$15 = $var3 - 1 | 0; var$16 = $var13 - 1 | 0; var$17 = $var1 + 1 | 0; $var3 = $var3 + 1 | 0; $var13 = $var13 + 1 | 0; while (true) { $var12 = $this.$worldAccesses; $var1 = $rt_compare(var$12, $var12.$size0); if ($var1 >= 0) break; if (var$12 < 0) break w; if ($var1 >= 0) break w; nms_RenderGlobal_markBlocksForUpdate($var12.$array.data[var$12], var$13, var$15, var$16, var$17, $var3, $var13); var$12 = var$12 + 1 | 0; } } $var10 = $var10 + 1 | 0; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } } return; } $var10 = $var14.$modCount1; $var12 = $var14.$this$00; if ($var10 < $var12.$modCount) break; $var14.$removeIndex = $var1; $var14.$index0 = $var1 + 1 | 0; $var9 = $var12.$get($var1); if (!$var9.$tileEntityInvalid && ($var9.$worldObj0 === null ? 0 : 1)) { $var1 = $var9.$yCoord0; if ($var1 >= 0 && $var1 < 256 ? var$10 : 0) { $ptr = 3; continue main; } } if ($var9.$tileEntityInvalid) { ju_AbstractList$1_remove($var14); $var1 = $var9.$xCoord0; $var10 = $var1 >> 4; $var3 = $var9.$zCoord0; $var13 = $var3 >> 4; $var12 = $this.$chunkProvider; $var2 = $var12.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var10), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var13), Long_create(4294967295, 0)), 32)); $var10 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var10 = $var10 ^ ($var10 >>> 20 | 0) ^ ($var10 >>> 12 | 0); var$12 = $var10 ^ ($var10 >>> 7 | 0) ^ ($var10 >>> 4 | 0); var$7 = $var2.$hashArray.data; $var2 = var$7[var$12 & (var$7.length - 1 | 0)]; z: { while ($var2 !== null) { if (Long_eq($var2.$key1, var$14)) { $var2 = $var2.$value6; break z; } $var2 = $var2.$nextEntry0; } $var2 = null; } $var2 = $var2; if ($var2 === null) $var2 = $var12.$blankChunk; if ($var2 !== null) { $var1 = $var1 & 15; $var10 = $var9.$yCoord0; $var3 = $var3 & 15; $ptr = 4; continue main; } } } $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } if ($var1 < 0) break; if ($var10 >= 0) break; ba: { $var2 = $var12.$array.data[$var1]; $var12 = $var2.$ridingEntity; if ($var12 !== null) { if (!$var12.$isDead && $var12.$riddenByEntity === $var2) break ba; $var12.$riddenByEntity = null; $var2.$ridingEntity = null; } if (!$var2.$isDead) { $var10 = 1; $ptr = 2; continue main; } if ($var2.$isDead) { $var3 = $var2.$chunkCoordX; $var13 = $var2.$chunkCoordZ; if ($var2.$addedToChunk) { $var12 = $this.$chunkProvider; $var9 = $var12.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var13), Long_create(4294967295, 0)), 32)); $var10 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var10 = $var10 ^ ($var10 >>> 20 | 0) ^ ($var10 >>> 12 | 0); $var13 = $var10 ^ ($var10 >>> 7 | 0) ^ ($var10 >>> 4 | 0); var$7 = $var9.$hashArray.data; $var9 = var$7[$var13 & (var$7.length - 1 | 0)]; bb: { while ($var9 !== null) { if (Long_eq($var9.$key1, var$14)) { $var9 = $var9.$value6; break bb; } $var9 = $var9.$nextEntry0; } $var9 = null; } $var9 = $var9; if ($var9 === null) $var9 = $var12.$blankChunk; $var9.$removeEntity($var2); } $var12 = $this.$loadedEntityList; $var10 = $var1 + (-1) | 0; ju_ArrayList_remove($var12, $var1); $var1 = 0; while (true) { $var3 = $rt_compare($var1, $this.$worldAccesses.$size0); if ($var3 >= 0) break; if ($var1 < 0) break r; if ($var3 >= 0) break r; $var1 = $var1 + 1 | 0; } if (ju_HashSet_contains($this.$entityList, $var2)) { if ($var2.$isEntityAlive()) { $var12 = $this.$entitySpawnQueue; ju_HashMap_putImpl($var12.$backingMap, $var2, $var12); } else $var12 = ju_HashMap_removeByKey($this.$entityList.$backingMap, $var2); } $var1 = $var10; } } $var1 = $var1 + 1 | 0; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } if ($var1 < 0) break; if ($var10 >= 0) break; $var12 = $var12.$array.data[$var1]; $var10 = 0; while (true) { $var3 = $rt_compare($var10, $this.$worldAccesses.$size0); if ($var3 >= 0) break; if ($var10 < 0) break q; if ($var3 >= 0) break q; $var10 = $var10 + 1 | 0; } if (ju_HashSet_contains($this.$entityList, $var12)) { if ($var12.$isEntityAlive()) { $var9 = $this.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var12, $var9); } else $var12 = ju_HashMap_removeByKey($this.$entityList.$backingMap, $var12); } $var1 = $var1 + 1 | 0; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } if ($var1 < 0) break; if ($var10 >= 0) break; $var2 = $var12.$array.data[$var1]; $var3 = $var2.$chunkCoordX; $var13 = $var2.$chunkCoordZ; if ($var2.$addedToChunk) { $var12 = $this.$chunkProvider; $var9 = $var12.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var13), Long_create(4294967295, 0)), 32)); $var10 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var10 = $var10 ^ ($var10 >>> 20 | 0) ^ ($var10 >>> 12 | 0); $var13 = $var10 ^ ($var10 >>> 7 | 0) ^ ($var10 >>> 4 | 0); var$7 = $var9.$hashArray.data; $var9 = var$7[$var13 & (var$7.length - 1 | 0)]; bc: { while ($var9 !== null) { if (Long_eq($var9.$key1, var$14)) { $var9 = $var9.$value6; break bc; } $var9 = $var9.$nextEntry0; } $var9 = null; } $var9 = $var9; if ($var9 === null) $var9 = $var12.$blankChunk; $var9.$removeEntity($var2); } $var1 = $var1 + 1 | 0; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var3 = $var2.$modCount1; $var12 = $var2.$this$00; if ($var3 < $var12.$modCount) { $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var2.$removeIndex = $var1; $var2.$index0 = $var1 + 1 | 0; $var12 = $var12.$get($var1); $var13 = $var9.$modCount; var$12 = $var9.$size(); var$10 = 0; bd: { while (true) { if (!(var$10 >= var$12 ? 0 : 1)) { $var1 = 0; break bd; } if ($var13 < $var9.$modCount) break p; $var3 = var$10 + 1 | 0; $var14 = $var9.$get(var$10); if ($var14 === $var12 ? 1 : $var14 !== null ? $var14.$equals($var12) : $var12 !== null ? 0 : 1) break; var$10 = $var3; } $var1 = 1; } if ($var1) ju_AbstractList$1_remove($var2); } $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); case 2: nms_World_updateEntityWithOptionalForce($this, $var2, $var10); if ($rt_suspending()) { break main; } be: { bf: while (true) { if ($var2.$isDead) { $var3 = $var2.$chunkCoordX; $var13 = $var2.$chunkCoordZ; if ($var2.$addedToChunk) { $var12 = $this.$chunkProvider; $var9 = $var12.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var13), Long_create(4294967295, 0)), 32)); $var10 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var10 = $var10 ^ ($var10 >>> 20 | 0) ^ ($var10 >>> 12 | 0); $var13 = $var10 ^ ($var10 >>> 7 | 0) ^ ($var10 >>> 4 | 0); var$7 = $var9.$hashArray.data; $var9 = var$7[$var13 & (var$7.length - 1 | 0)]; bg: { while ($var9 !== null) { if (Long_eq($var9.$key1, var$14)) { $var9 = $var9.$value6; break bg; } $var9 = $var9.$nextEntry0; } $var9 = null; } $var9 = $var9; if ($var9 === null) $var9 = $var12.$blankChunk; $var9.$removeEntity($var2); } $var12 = $this.$loadedEntityList; $var10 = $var1 + (-1) | 0; ju_ArrayList_remove($var12, $var1); $var1 = 0; while (true) { $var3 = $rt_compare($var1, $this.$worldAccesses.$size0); if ($var3 >= 0) break; if ($var1 < 0) break be; if ($var3 >= 0) break be; $var1 = $var1 + 1 | 0; } if (ju_HashSet_contains($this.$entityList, $var2)) { if ($var2.$isEntityAlive()) { $var12 = $this.$entitySpawnQueue; ju_HashMap_putImpl($var12.$backingMap, $var2, $var12); } else $var12 = ju_HashMap_removeByKey($this.$entityList.$backingMap, $var2); } $var1 = $var10; } bh: { while (true) { $var1 = $var1 + 1 | 0; $var12 = $this.$loadedEntityList; $var10 = $rt_compare($var1, $var12.$size0); if ($var10 >= 0) { $this.$scanningTileEntities = 1; $var12 = $this.$loadedTileEntityList; $var14 = new ju_AbstractList$1; $var14.$this$00 = $var12; $var14.$modCount1 = $var12.$modCount; $var14.$size3 = $var12.$size(); $var14.$removeIndex = (-1); var$10 = 1; while (true) { $var1 = $var14.$index0; if (!($var1 >= $var14.$size3 ? 0 : 1)) { $this.$scanningTileEntities = 0; $var12 = $this.$entityRemoval; $var1 = $var12.$size0 ? 0 : 1; bi: { if (!$var1) { $var9 = $this.$loadedTileEntityList; $var2 = new ju_AbstractList$1; $var2.$this$00 = $var9; $var2.$modCount1 = $var9.$modCount; $var2.$size3 = $var9.$size(); $var2.$removeIndex = (-1); bj: while (true) { $var1 = $var2.$index0; if (!($var1 >= $var2.$size3 ? 0 : 1)) { $var12 = $this.$entityRemoval; var$7 = $var12.$array; $var3 = 0; $var1 = $var12.$size0; $var9 = null; if ($var3 > $var1) { $var12 = new jl_IllegalArgumentException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } while ($var3 < $var1) { var$8 = var$7.data; $var10 = $var3 + 1 | 0; var$8[$var3] = $var9; $var3 = $var10; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; break bi; } $var3 = $var2.$modCount1; $var9 = $var2.$this$00; if ($var3 < $var9.$modCount) { $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var2.$removeIndex = $var1; $var2.$index0 = $var1 + 1 | 0; $var9 = $var9.$get($var1); $var13 = $var12.$modCount; var$12 = $var12.$size(); var$10 = 0; ba: { while (true) { if (!(var$10 >= var$12 ? 0 : 1)) { $var1 = 0; break ba; } if ($var13 < $var12.$modCount) break bj; $var3 = var$10 + 1 | 0; $var14 = $var12.$get(var$10); if ($var14 === $var9 ? 1 : $var14 !== null ? $var14.$equals($var9) : $var9 !== null ? 0 : 1) break; var$10 = $var3; } $var1 = 1; } if ($var1) ju_AbstractList$1_remove($var2); } $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } } $var1 = $this.$addedTileEntityList.$size0 ? 0 : 1; bk: { if (!$var1) { $var10 = 0; var$10 = 0; bl: { while (true) { $var12 = $this.$addedTileEntityList; $var3 = $var12.$size0; $var1 = $rt_compare($var10, $var3); if ($var1 >= 0) { var$7 = $var12.$array; $var1 = 0; $var9 = null; if ($var1 > $var3) { $var12 = new jl_IllegalArgumentException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } while ($var1 < $var3) { var$8 = var$7.data; $var10 = $var1 + 1 | 0; var$8[$var1] = $var9; $var1 = $var10; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; break bk; } if ($var10 < 0) break; if ($var1 >= 0) break; $var12 = $var12.$array.data[$var10]; if (!$var12.$tileEntityInvalid) { $var9 = $this.$loadedTileEntityList; $var13 = $var9.$modCount; var$12 = $var9.$size(); var$13 = var$10; bm: { while (true) { if (!(var$13 >= var$12 ? 0 : 1)) { $var1 = 0; break bm; } if ($var13 < $var9.$modCount) { $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var3 = var$13 + 1 | 0; $var2 = $var9.$get(var$13); if ($var2 === $var12 ? 1 : $var2 !== null ? $var2.$equals($var12) : $var12 !== null ? 0 : 1) break; var$13 = $var3; } $var1 = 1; } if (!$var1) { $var9 = $this.$loadedTileEntityList; ju_ArrayList_ensureCapacity($var9, $var9.$size0 + 1 | 0); var$7 = $var9.$array.data; $var3 = $var9.$size0; $var9.$size0 = $var3 + 1 | 0; var$7[$var3] = $var12; $var9.$modCount = $var9.$modCount + 1 | 0; } $var1 = $var12.$xCoord0; $var3 = $var1 >> 4; $var13 = $var12.$zCoord0; var$12 = $var13 >> 4; $var9 = $this.$chunkProvider; $var2 = $var9.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$12), Long_create(4294967295, 0)), 32)); $var3 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var3 = $var3 ^ ($var3 >>> 20 | 0) ^ ($var3 >>> 12 | 0); var$13 = $var3 ^ ($var3 >>> 7 | 0) ^ ($var3 >>> 4 | 0); var$7 = $var2.$hashArray.data; $var2 = var$7[var$13 & (var$7.length - 1 | 0)]; bn: { while ($var2 !== null) { if (Long_eq($var2.$key1, var$14)) { $var2 = $var2.$value6; break bn; } $var2 = $var2.$nextEntry0; } $var2 = null; } $var2 = $var2; if ($var2 === null) $var2 = $var9.$blankChunk; if ($var2 !== null) { $var3 = $var1 & 15; var$12 = $var12.$yCoord0; $var1 = $var13 & 15; $ptr = 5; continue main; } $var1 = $var12.$xCoord0; $var3 = $var12.$yCoord0; $var13 = $var12.$zCoord0; var$12 = 0; var$13 = $var1 - 1 | 0; var$15 = $var3 - 1 | 0; var$16 = $var13 - 1 | 0; var$17 = $var1 + 1 | 0; $var3 = $var3 + 1 | 0; $var13 = $var13 + 1 | 0; while (true) { $var12 = $this.$worldAccesses; $var1 = $rt_compare(var$12, $var12.$size0); if ($var1 >= 0) break; if (var$12 < 0) break bl; if ($var1 >= 0) break bl; nms_RenderGlobal_markBlocksForUpdate($var12.$array.data[var$12], var$13, var$15, var$16, var$17, $var3, $var13); var$12 = var$12 + 1 | 0; } } $var10 = $var10 + 1 | 0; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } } return; } $var10 = $var14.$modCount1; $var12 = $var14.$this$00; if ($var10 < $var12.$modCount) break; $var14.$removeIndex = $var1; $var14.$index0 = $var1 + 1 | 0; $var9 = $var12.$get($var1); if (!$var9.$tileEntityInvalid && ($var9.$worldObj0 === null ? 0 : 1)) { $var1 = $var9.$yCoord0; if ($var1 >= 0 && $var1 < 256 ? var$10 : 0) { $ptr = 3; continue main; } } if ($var9.$tileEntityInvalid) { ju_AbstractList$1_remove($var14); $var1 = $var9.$xCoord0; $var10 = $var1 >> 4; $var3 = $var9.$zCoord0; $var13 = $var3 >> 4; $var12 = $this.$chunkProvider; $var2 = $var12.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var10), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var13), Long_create(4294967295, 0)), 32)); $var10 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var10 = $var10 ^ ($var10 >>> 20 | 0) ^ ($var10 >>> 12 | 0); var$12 = $var10 ^ ($var10 >>> 7 | 0) ^ ($var10 >>> 4 | 0); var$7 = $var2.$hashArray.data; $var2 = var$7[var$12 & (var$7.length - 1 | 0)]; bo: { while ($var2 !== null) { if (Long_eq($var2.$key1, var$14)) { $var2 = $var2.$value6; break bo; } $var2 = $var2.$nextEntry0; } $var2 = null; } $var2 = $var2; if ($var2 === null) $var2 = $var12.$blankChunk; if ($var2 !== null) { $var1 = $var1 & 15; $var10 = $var9.$yCoord0; $var3 = $var3 & 15; $ptr = 4; continue main; } } } $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } if ($var1 < 0) break bf; if ($var10 >= 0) break bf; $var2 = $var12.$array.data[$var1]; $var12 = $var2.$ridingEntity; if ($var12 === null) break bh; if ($var12.$isDead) break; if ($var12.$riddenByEntity !== $var2) break; } $var12.$riddenByEntity = null; $var2.$ridingEntity = null; } if ($var2.$isDead) continue; else { $var10 = 1; continue main; } } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); case 3: $var9.$updateEntity(); if ($rt_suspending()) { break main; } while (true) { if ($var9.$tileEntityInvalid) { ju_AbstractList$1_remove($var14); $var1 = $var9.$xCoord0; $var10 = $var1 >> 4; $var3 = $var9.$zCoord0; $var13 = $var3 >> 4; $var12 = $this.$chunkProvider; $var2 = $var12.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var10), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var13), Long_create(4294967295, 0)), 32)); $var10 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var10 = $var10 ^ ($var10 >>> 20 | 0) ^ ($var10 >>> 12 | 0); var$12 = $var10 ^ ($var10 >>> 7 | 0) ^ ($var10 >>> 4 | 0); var$7 = $var2.$hashArray.data; $var2 = var$7[var$12 & (var$7.length - 1 | 0)]; bp: { while ($var2 !== null) { if (Long_eq($var2.$key1, var$14)) { $var2 = $var2.$value6; break bp; } $var2 = $var2.$nextEntry0; } $var2 = null; } $var2 = $var2; if ($var2 === null) $var2 = $var12.$blankChunk; if ($var2 !== null) { $var1 = $var1 & 15; $var10 = $var9.$yCoord0; $var3 = $var3 & 15; $ptr = 4; continue main; } } $var1 = $var14.$index0; if (!($var1 >= $var14.$size3 ? 0 : 1)) { $this.$scanningTileEntities = 0; $var12 = $this.$entityRemoval; $var1 = $var12.$size0 ? 0 : 1; bq: { if (!$var1) { $var9 = $this.$loadedTileEntityList; $var2 = new ju_AbstractList$1; $var2.$this$00 = $var9; $var2.$modCount1 = $var9.$modCount; $var2.$size3 = $var9.$size(); $var2.$removeIndex = (-1); br: while (true) { $var1 = $var2.$index0; if (!($var1 >= $var2.$size3 ? 0 : 1)) { $var12 = $this.$entityRemoval; var$7 = $var12.$array; $var3 = 0; $var1 = $var12.$size0; $var9 = null; if ($var3 > $var1) { $var12 = new jl_IllegalArgumentException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } while ($var3 < $var1) { var$8 = var$7.data; $var10 = $var3 + 1 | 0; var$8[$var3] = $var9; $var3 = $var10; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; break bq; } $var3 = $var2.$modCount1; $var9 = $var2.$this$00; if ($var3 < $var9.$modCount) { $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var2.$removeIndex = $var1; $var2.$index0 = $var1 + 1 | 0; $var9 = $var9.$get($var1); $var13 = $var12.$modCount; var$12 = $var12.$size(); var$10 = 0; bs: { while (true) { if (!(var$10 >= var$12 ? 0 : 1)) { $var1 = 0; break bs; } if ($var13 < $var12.$modCount) break br; $var3 = var$10 + 1 | 0; $var14 = $var12.$get(var$10); if ($var14 === $var9 ? 1 : $var14 !== null ? $var14.$equals($var9) : $var9 !== null ? 0 : 1) break; var$10 = $var3; } $var1 = 1; } if ($var1) ju_AbstractList$1_remove($var2); } $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } } $var1 = $this.$addedTileEntityList.$size0 ? 0 : 1; bt: { if (!$var1) { $var10 = 0; var$10 = 0; bu: { while (true) { $var12 = $this.$addedTileEntityList; $var3 = $var12.$size0; $var1 = $rt_compare($var10, $var3); if ($var1 >= 0) { var$7 = $var12.$array; $var1 = 0; $var9 = null; if ($var1 > $var3) { $var12 = new jl_IllegalArgumentException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } while ($var1 < $var3) { var$8 = var$7.data; $var10 = $var1 + 1 | 0; var$8[$var1] = $var9; $var1 = $var10; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; break bt; } if ($var10 < 0) break; if ($var1 >= 0) break; $var12 = $var12.$array.data[$var10]; if (!$var12.$tileEntityInvalid) { $var9 = $this.$loadedTileEntityList; $var13 = $var9.$modCount; var$12 = $var9.$size(); var$13 = var$10; l: { while (true) { if (!(var$13 >= var$12 ? 0 : 1)) { $var1 = 0; break l; } if ($var13 < $var9.$modCount) { $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var3 = var$13 + 1 | 0; $var2 = $var9.$get(var$13); if ($var2 === $var12 ? 1 : $var2 !== null ? $var2.$equals($var12) : $var12 !== null ? 0 : 1) break; var$13 = $var3; } $var1 = 1; } if (!$var1) { $var9 = $this.$loadedTileEntityList; ju_ArrayList_ensureCapacity($var9, $var9.$size0 + 1 | 0); var$7 = $var9.$array.data; $var3 = $var9.$size0; $var9.$size0 = $var3 + 1 | 0; var$7[$var3] = $var12; $var9.$modCount = $var9.$modCount + 1 | 0; } $var1 = $var12.$xCoord0; $var3 = $var1 >> 4; $var13 = $var12.$zCoord0; var$12 = $var13 >> 4; $var9 = $this.$chunkProvider; $var2 = $var9.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$12), Long_create(4294967295, 0)), 32)); $var3 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var3 = $var3 ^ ($var3 >>> 20 | 0) ^ ($var3 >>> 12 | 0); var$13 = $var3 ^ ($var3 >>> 7 | 0) ^ ($var3 >>> 4 | 0); var$7 = $var2.$hashArray.data; $var2 = var$7[var$13 & (var$7.length - 1 | 0)]; bv: { while ($var2 !== null) { if (Long_eq($var2.$key1, var$14)) { $var2 = $var2.$value6; break bv; } $var2 = $var2.$nextEntry0; } $var2 = null; } $var2 = $var2; if ($var2 === null) $var2 = $var9.$blankChunk; if ($var2 !== null) { $var3 = $var1 & 15; var$12 = $var12.$yCoord0; $var1 = $var13 & 15; $ptr = 5; continue main; } $var1 = $var12.$xCoord0; $var3 = $var12.$yCoord0; $var13 = $var12.$zCoord0; var$12 = 0; var$13 = $var1 - 1 | 0; var$15 = $var3 - 1 | 0; var$16 = $var13 - 1 | 0; var$17 = $var1 + 1 | 0; $var3 = $var3 + 1 | 0; $var13 = $var13 + 1 | 0; while (true) { $var12 = $this.$worldAccesses; $var1 = $rt_compare(var$12, $var12.$size0); if ($var1 >= 0) break; if (var$12 < 0) break bu; if ($var1 >= 0) break bu; nms_RenderGlobal_markBlocksForUpdate($var12.$array.data[var$12], var$13, var$15, var$16, var$17, $var3, $var13); var$12 = var$12 + 1 | 0; } } $var10 = $var10 + 1 | 0; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } } return; } $var10 = $var14.$modCount1; $var12 = $var14.$this$00; if ($var10 < $var12.$modCount) break; $var14.$removeIndex = $var1; $var14.$index0 = $var1 + 1 | 0; $var9 = $var12.$get($var1); if ($var9.$tileEntityInvalid) continue; if (!($var9.$worldObj0 === null ? 0 : 1)) continue; $var1 = $var9.$yCoord0; if (!($var1 >= 0 && $var1 < 256 ? var$10 : 0)) continue; else { continue main; } } $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); case 4: $var2.$removeChunkBlockTileEntity($var1, $var10, $var3); if ($rt_suspending()) { break main; } while (true) { $var1 = $var14.$index0; if (!($var1 >= $var14.$size3 ? 0 : 1)) { $this.$scanningTileEntities = 0; $var12 = $this.$entityRemoval; $var1 = $var12.$size0 ? 0 : 1; bq: { if (!$var1) { $var9 = $this.$loadedTileEntityList; $var2 = new ju_AbstractList$1; $var2.$this$00 = $var9; $var2.$modCount1 = $var9.$modCount; $var2.$size3 = $var9.$size(); $var2.$removeIndex = (-1); br: while (true) { $var1 = $var2.$index0; if (!($var1 >= $var2.$size3 ? 0 : 1)) { $var12 = $this.$entityRemoval; var$7 = $var12.$array; $var3 = 0; $var1 = $var12.$size0; $var9 = null; if ($var3 > $var1) { $var12 = new jl_IllegalArgumentException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } while ($var3 < $var1) { var$8 = var$7.data; $var10 = $var3 + 1 | 0; var$8[$var3] = $var9; $var3 = $var10; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; break bq; } $var3 = $var2.$modCount1; $var9 = $var2.$this$00; if ($var3 < $var9.$modCount) { $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var2.$removeIndex = $var1; $var2.$index0 = $var1 + 1 | 0; $var9 = $var9.$get($var1); $var13 = $var12.$modCount; var$12 = $var12.$size(); var$10 = 0; bs: { while (true) { if (!(var$10 >= var$12 ? 0 : 1)) { $var1 = 0; break bs; } if ($var13 < $var12.$modCount) break br; $var3 = var$10 + 1 | 0; $var14 = $var12.$get(var$10); if ($var14 === $var9 ? 1 : $var14 !== null ? $var14.$equals($var9) : $var9 !== null ? 0 : 1) break; var$10 = $var3; } $var1 = 1; } if ($var1) ju_AbstractList$1_remove($var2); } $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } } $var1 = $this.$addedTileEntityList.$size0 ? 0 : 1; bt: { if (!$var1) { $var10 = 0; var$10 = 0; bu: { while (true) { $var12 = $this.$addedTileEntityList; $var3 = $var12.$size0; $var1 = $rt_compare($var10, $var3); if ($var1 >= 0) { var$7 = $var12.$array; $var1 = 0; $var9 = null; if ($var1 > $var3) { $var12 = new jl_IllegalArgumentException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } while ($var1 < $var3) { var$8 = var$7.data; $var10 = $var1 + 1 | 0; var$8[$var1] = $var9; $var1 = $var10; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; break bt; } if ($var10 < 0) break; if ($var1 >= 0) break; $var12 = $var12.$array.data[$var10]; if (!$var12.$tileEntityInvalid) { $var9 = $this.$loadedTileEntityList; $var13 = $var9.$modCount; var$12 = $var9.$size(); var$13 = var$10; l: { while (true) { if (!(var$13 >= var$12 ? 0 : 1)) { $var1 = 0; break l; } if ($var13 < $var9.$modCount) { $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var3 = var$13 + 1 | 0; $var2 = $var9.$get(var$13); if ($var2 === $var12 ? 1 : $var2 !== null ? $var2.$equals($var12) : $var12 !== null ? 0 : 1) break; var$13 = $var3; } $var1 = 1; } if (!$var1) { $var9 = $this.$loadedTileEntityList; ju_ArrayList_ensureCapacity($var9, $var9.$size0 + 1 | 0); var$7 = $var9.$array.data; $var3 = $var9.$size0; $var9.$size0 = $var3 + 1 | 0; var$7[$var3] = $var12; $var9.$modCount = $var9.$modCount + 1 | 0; } $var1 = $var12.$xCoord0; $var3 = $var1 >> 4; $var13 = $var12.$zCoord0; var$12 = $var13 >> 4; $var9 = $this.$chunkProvider; $var2 = $var9.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$12), Long_create(4294967295, 0)), 32)); $var3 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var3 = $var3 ^ ($var3 >>> 20 | 0) ^ ($var3 >>> 12 | 0); var$13 = $var3 ^ ($var3 >>> 7 | 0) ^ ($var3 >>> 4 | 0); var$7 = $var2.$hashArray.data; $var2 = var$7[var$13 & (var$7.length - 1 | 0)]; bv: { while ($var2 !== null) { if (Long_eq($var2.$key1, var$14)) { $var2 = $var2.$value6; break bv; } $var2 = $var2.$nextEntry0; } $var2 = null; } $var2 = $var2; if ($var2 === null) $var2 = $var9.$blankChunk; if ($var2 !== null) { $var3 = $var1 & 15; var$12 = $var12.$yCoord0; $var1 = $var13 & 15; $ptr = 5; continue main; } $var1 = $var12.$xCoord0; $var3 = $var12.$yCoord0; $var13 = $var12.$zCoord0; var$12 = 0; var$13 = $var1 - 1 | 0; var$15 = $var3 - 1 | 0; var$16 = $var13 - 1 | 0; var$17 = $var1 + 1 | 0; $var3 = $var3 + 1 | 0; $var13 = $var13 + 1 | 0; while (true) { $var12 = $this.$worldAccesses; $var1 = $rt_compare(var$12, $var12.$size0); if ($var1 >= 0) break; if (var$12 < 0) break bu; if ($var1 >= 0) break bu; nms_RenderGlobal_markBlocksForUpdate($var12.$array.data[var$12], var$13, var$15, var$16, var$17, $var3, $var13); var$12 = var$12 + 1 | 0; } } $var10 = $var10 + 1 | 0; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } } return; } $var10 = $var14.$modCount1; $var12 = $var14.$this$00; if ($var10 < $var12.$modCount) break; $var14.$removeIndex = $var1; $var14.$index0 = $var1 + 1 | 0; $var9 = $var12.$get($var1); if (!$var9.$tileEntityInvalid && ($var9.$worldObj0 === null ? 0 : 1)) { $var1 = $var9.$yCoord0; if ($var1 >= 0 && $var1 < 256 ? var$10 : 0) { $ptr = 3; continue main; } } if (!$var9.$tileEntityInvalid) continue; ju_AbstractList$1_remove($var14); $var1 = $var9.$xCoord0; $var10 = $var1 >> 4; $var3 = $var9.$zCoord0; $var13 = $var3 >> 4; $var12 = $this.$chunkProvider; $var2 = $var12.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var10), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var13), Long_create(4294967295, 0)), 32)); $var10 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var10 = $var10 ^ ($var10 >>> 20 | 0) ^ ($var10 >>> 12 | 0); var$12 = $var10 ^ ($var10 >>> 7 | 0) ^ ($var10 >>> 4 | 0); var$7 = $var2.$hashArray.data; $var2 = var$7[var$12 & (var$7.length - 1 | 0)]; bw: { while ($var2 !== null) { if (Long_eq($var2.$key1, var$14)) { $var2 = $var2.$value6; break bw; } $var2 = $var2.$nextEntry0; } $var2 = null; } $var2 = $var2; if ($var2 === null) $var2 = $var12.$blankChunk; if ($var2 === null) continue; else { $var1 = $var1 & 15; $var10 = $var9.$yCoord0; $var3 = $var3 & 15; continue main; } } $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); case 5: $var2.$setChunkBlockTileEntity($var3, var$12, $var1, $var12); if ($rt_suspending()) { break main; } be: { bf: { bx: while (true) { $var1 = $var12.$xCoord0; $var3 = $var12.$yCoord0; $var13 = $var12.$zCoord0; var$12 = 0; var$13 = $var1 - 1 | 0; var$15 = $var3 - 1 | 0; var$16 = $var13 - 1 | 0; var$17 = $var1 + 1 | 0; $var3 = $var3 + 1 | 0; $var13 = $var13 + 1 | 0; while (true) { $var12 = $this.$worldAccesses; $var1 = $rt_compare(var$12, $var12.$size0); if ($var1 >= 0) break; if (var$12 < 0) break be; if ($var1 >= 0) break be; nms_RenderGlobal_markBlocksForUpdate($var12.$array.data[var$12], var$13, var$15, var$16, var$17, $var3, $var13); var$12 = var$12 + 1 | 0; } while (true) { $var10 = $var10 + 1 | 0; $var12 = $this.$addedTileEntityList; $var3 = $var12.$size0; $var1 = $rt_compare($var10, $var3); if ($var1 >= 0) { var$7 = $var12.$array; $var1 = 0; $var9 = null; if ($var1 > $var3) { $var12 = new jl_IllegalArgumentException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } while ($var1 < $var3) { var$8 = var$7.data; $var10 = $var1 + 1 | 0; var$8[$var1] = $var9; $var1 = $var10; } $var12.$size0 = 0; $var12.$modCount = $var12.$modCount + 1 | 0; return; } if ($var10 < 0) break bf; if ($var1 >= 0) break bf; $var12 = $var12.$array.data[$var10]; if ($var12.$tileEntityInvalid) continue; else break; } $var9 = $this.$loadedTileEntityList; $var13 = $var9.$modCount; var$12 = $var9.$size(); var$13 = var$10; p: { while (true) { if (!(var$13 >= var$12 ? 0 : 1)) { $var1 = 0; break p; } if ($var13 < $var9.$modCount) break bx; $var3 = var$13 + 1 | 0; $var2 = $var9.$get(var$13); if ($var2 === $var12 ? 1 : $var2 !== null ? $var2.$equals($var12) : $var12 !== null ? 0 : 1) break; var$13 = $var3; } $var1 = 1; } if (!$var1) { $var9 = $this.$loadedTileEntityList; ju_ArrayList_ensureCapacity($var9, $var9.$size0 + 1 | 0); var$7 = $var9.$array.data; $var3 = $var9.$size0; $var9.$size0 = $var3 + 1 | 0; var$7[$var3] = $var12; $var9.$modCount = $var9.$modCount + 1 | 0; } $var1 = $var12.$xCoord0; $var3 = $var1 >> 4; $var13 = $var12.$zCoord0; var$12 = $var13 >> 4; $var9 = $this.$chunkProvider; $var2 = $var9.$chunkMapping; var$14 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$12), Long_create(4294967295, 0)), 32)); $var3 = Long_lo(Long_xor(var$14, Long_shru(var$14, 32))); $var3 = $var3 ^ ($var3 >>> 20 | 0) ^ ($var3 >>> 12 | 0); var$13 = $var3 ^ ($var3 >>> 7 | 0) ^ ($var3 >>> 4 | 0); var$7 = $var2.$hashArray.data; $var2 = var$7[var$13 & (var$7.length - 1 | 0)]; bq: { while ($var2 !== null) { if (Long_eq($var2.$key1, var$14)) { $var2 = $var2.$value6; break bq; } $var2 = $var2.$nextEntry0; } $var2 = null; } $var2 = $var2; if ($var2 === null) $var2 = $var9.$blankChunk; if ($var2 === null) continue; else { $var3 = $var1 & 15; var$12 = $var12.$yCoord0; $var1 = $var13 & 15; continue main; } } $var12 = new ju_ConcurrentModificationException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var12, $var10, $var2, $var9, $var3, var$7, var$8, $var14, var$10, $var13, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_World_updateEntity = ($this, $par1Entity) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = 1; $ptr = 1; case 1: nms_World_updateEntityWithOptionalForce($this, $par1Entity, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, var$2, $ptr); }, nms_World_updateEntityWithOptionalForce = ($this, $par1Entity, $par2) => { let var$3, $var3, $var4, $var6, $var7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $par1Entity.$posX; $var3 = var$3 | 0; if (var$3 < $var3) $var3 = $var3 - 1 | 0; var$3 = $par1Entity.$posZ; $var4 = var$3 | 0; if (var$3 < $var4) $var4 = $var4 - 1 | 0; if (!($par2 && !nms_World_checkChunksExist($this, $var3 - 32 | 0, 0, $var4 - 32 | 0, $var3 + 32 | 0, 0, $var4 + 32 | 0))) { $par1Entity.$lastTickPosX = $par1Entity.$posX; $par1Entity.$lastTickPosY = $par1Entity.$posY; $par1Entity.$lastTickPosZ = $par1Entity.$posZ; $par1Entity.$prevRotationYaw = $par1Entity.$rotationYaw; $par1Entity.$prevRotationPitch = $par1Entity.$rotationPitch; if ($par2 && $par1Entity.$addedToChunk) { $par1Entity.$ticksExisted = $par1Entity.$ticksExisted + 1 | 0; if ($par1Entity.$ridingEntity === null) { $ptr = 1; continue main; } $ptr = 2; continue main; } if (!(!(isNaN($par1Entity.$posX) ? 1 : 0) && !(!isFinite($par1Entity.$posX) ? 1 : 0))) $par1Entity.$posX = $par1Entity.$lastTickPosX; if (!(!(isNaN($par1Entity.$posY) ? 1 : 0) && !(!isFinite($par1Entity.$posY) ? 1 : 0))) $par1Entity.$posY = $par1Entity.$lastTickPosY; if (!(!(isNaN($par1Entity.$posZ) ? 1 : 0) && !(!isFinite($par1Entity.$posZ) ? 1 : 0))) $par1Entity.$posZ = $par1Entity.$lastTickPosZ; if (!(!(isNaN($par1Entity.$rotationPitch) ? 1 : 0) && !(!isFinite($par1Entity.$rotationPitch) ? 1 : 0))) $par1Entity.$rotationPitch = $par1Entity.$prevRotationPitch; if (!(!(isNaN($par1Entity.$rotationYaw) ? 1 : 0) && !(!isFinite($par1Entity.$rotationYaw) ? 1 : 0))) $par1Entity.$rotationYaw = $par1Entity.$prevRotationYaw; var$3 = $par1Entity.$posX / 16.0; $var6 = var$3 | 0; if (var$3 < $var6) $var6 = $var6 - 1 | 0; var$3 = $par1Entity.$posY / 16.0; $var7 = var$3 | 0; if (var$3 < $var7) $var7 = $var7 - 1 | 0; var$3 = $par1Entity.$posZ / 16.0; $var8 = var$3 | 0; if (var$3 < $var8) $var8 = $var8 - 1 | 0; var$9 = $par1Entity.$addedToChunk; if (!(var$9 && $par1Entity.$chunkCoordX == $var6 && $par1Entity.$chunkCoordY == $var7 && $par1Entity.$chunkCoordZ == $var8)) { if (var$9) { var$9 = $par1Entity.$chunkCoordX; var$10 = $par1Entity.$chunkCoordZ; var$11 = $this.$chunkProvider; var$12 = var$11.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt(var$9), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$10), Long_create(4294967295, 0)), 32)); var$9 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); var$9 = var$9 ^ (var$9 >>> 20 | 0) ^ (var$9 >>> 12 | 0); $var7 = var$9 ^ (var$9 >>> 7 | 0) ^ (var$9 >>> 4 | 0); var$14 = var$12.$hashArray.data; var$12 = var$14[$var7 & (var$14.length - 1 | 0)]; a: { while (var$12 !== null) { if (Long_eq(var$12.$key1, var$13)) { var$12 = var$12.$value6; break a; } var$12 = var$12.$nextEntry0; } var$12 = null; } var$12 = var$12; if (var$12 === null) var$12 = var$11.$blankChunk; var$12.$removeEntityAtIndex($par1Entity, $par1Entity.$chunkCoordY); } $par1Entity.$addedToChunk = 1; var$11 = $this.$chunkProvider; var$12 = var$11.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt($var6), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var8), Long_create(4294967295, 0)), 32)); var$9 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); var$9 = var$9 ^ (var$9 >>> 20 | 0) ^ (var$9 >>> 12 | 0); $var7 = var$9 ^ (var$9 >>> 7 | 0) ^ (var$9 >>> 4 | 0); var$14 = var$12.$hashArray.data; var$12 = var$14[$var7 & (var$14.length - 1 | 0)]; b: { while (var$12 !== null) { if (Long_eq(var$12.$key1, var$13)) { var$12 = var$12.$value6; break b; } var$12 = var$12.$nextEntry0; } var$12 = null; } var$12 = var$12; if (var$12 === null) var$12 = var$11.$blankChunk; var$12.$addEntity($par1Entity); } if ($par2 && $par1Entity.$addedToChunk) { var$11 = $par1Entity.$riddenByEntity; if (var$11 !== null) { if (!var$11.$isDead && var$11.$ridingEntity === $par1Entity) { $par2 = 1; $ptr = 3; continue main; } var$11.$ridingEntity = null; $par1Entity.$riddenByEntity = null; } } } return; case 1: $par1Entity.$onUpdate(); if ($rt_suspending()) { break main; } if (!(!(isNaN($par1Entity.$posX) ? 1 : 0) && !(!isFinite($par1Entity.$posX) ? 1 : 0))) $par1Entity.$posX = $par1Entity.$lastTickPosX; if (!(!(isNaN($par1Entity.$posY) ? 1 : 0) && !(!isFinite($par1Entity.$posY) ? 1 : 0))) $par1Entity.$posY = $par1Entity.$lastTickPosY; if (!(!(isNaN($par1Entity.$posZ) ? 1 : 0) && !(!isFinite($par1Entity.$posZ) ? 1 : 0))) $par1Entity.$posZ = $par1Entity.$lastTickPosZ; if (!(!(isNaN($par1Entity.$rotationPitch) ? 1 : 0) && !(!isFinite($par1Entity.$rotationPitch) ? 1 : 0))) $par1Entity.$rotationPitch = $par1Entity.$prevRotationPitch; if (!(!(isNaN($par1Entity.$rotationYaw) ? 1 : 0) && !(!isFinite($par1Entity.$rotationYaw) ? 1 : 0))) $par1Entity.$rotationYaw = $par1Entity.$prevRotationYaw; var$3 = $par1Entity.$posX / 16.0; $var6 = var$3 | 0; if (var$3 < $var6) $var6 = $var6 - 1 | 0; var$3 = $par1Entity.$posY / 16.0; $var7 = var$3 | 0; if (var$3 < $var7) $var7 = $var7 - 1 | 0; var$3 = $par1Entity.$posZ / 16.0; $var8 = var$3 | 0; if (var$3 < $var8) $var8 = $var8 - 1 | 0; var$9 = $par1Entity.$addedToChunk; if (!(var$9 && $par1Entity.$chunkCoordX == $var6 && $par1Entity.$chunkCoordY == $var7 && $par1Entity.$chunkCoordZ == $var8)) { if (var$9) { var$9 = $par1Entity.$chunkCoordX; var$10 = $par1Entity.$chunkCoordZ; var$11 = $this.$chunkProvider; var$12 = var$11.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt(var$9), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$10), Long_create(4294967295, 0)), 32)); var$9 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); var$9 = var$9 ^ (var$9 >>> 20 | 0) ^ (var$9 >>> 12 | 0); $var7 = var$9 ^ (var$9 >>> 7 | 0) ^ (var$9 >>> 4 | 0); var$14 = var$12.$hashArray.data; var$12 = var$14[$var7 & (var$14.length - 1 | 0)]; c: { while (var$12 !== null) { if (Long_eq(var$12.$key1, var$13)) { var$12 = var$12.$value6; break c; } var$12 = var$12.$nextEntry0; } var$12 = null; } var$12 = var$12; if (var$12 === null) var$12 = var$11.$blankChunk; var$12.$removeEntityAtIndex($par1Entity, $par1Entity.$chunkCoordY); } $par1Entity.$addedToChunk = 1; var$11 = $this.$chunkProvider; var$12 = var$11.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt($var6), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var8), Long_create(4294967295, 0)), 32)); var$9 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); var$9 = var$9 ^ (var$9 >>> 20 | 0) ^ (var$9 >>> 12 | 0); $var7 = var$9 ^ (var$9 >>> 7 | 0) ^ (var$9 >>> 4 | 0); var$14 = var$12.$hashArray.data; var$12 = var$14[$var7 & (var$14.length - 1 | 0)]; d: { while (var$12 !== null) { if (Long_eq(var$12.$key1, var$13)) { var$12 = var$12.$value6; break d; } var$12 = var$12.$nextEntry0; } var$12 = null; } var$12 = var$12; if (var$12 === null) var$12 = var$11.$blankChunk; var$12.$addEntity($par1Entity); } if ($par2 && $par1Entity.$addedToChunk) { var$11 = $par1Entity.$riddenByEntity; if (var$11 !== null) { if (!var$11.$isDead && var$11.$ridingEntity === $par1Entity) { $par2 = 1; $ptr = 3; continue main; } var$11.$ridingEntity = null; $par1Entity.$riddenByEntity = null; } } return; case 2: $par1Entity.$updateRidden(); if ($rt_suspending()) { break main; } if (!(!(isNaN($par1Entity.$posX) ? 1 : 0) && !(!isFinite($par1Entity.$posX) ? 1 : 0))) $par1Entity.$posX = $par1Entity.$lastTickPosX; if (!(!(isNaN($par1Entity.$posY) ? 1 : 0) && !(!isFinite($par1Entity.$posY) ? 1 : 0))) $par1Entity.$posY = $par1Entity.$lastTickPosY; if (!(!(isNaN($par1Entity.$posZ) ? 1 : 0) && !(!isFinite($par1Entity.$posZ) ? 1 : 0))) $par1Entity.$posZ = $par1Entity.$lastTickPosZ; if (!(!(isNaN($par1Entity.$rotationPitch) ? 1 : 0) && !(!isFinite($par1Entity.$rotationPitch) ? 1 : 0))) $par1Entity.$rotationPitch = $par1Entity.$prevRotationPitch; if (!(!(isNaN($par1Entity.$rotationYaw) ? 1 : 0) && !(!isFinite($par1Entity.$rotationYaw) ? 1 : 0))) $par1Entity.$rotationYaw = $par1Entity.$prevRotationYaw; var$3 = $par1Entity.$posX / 16.0; $var6 = var$3 | 0; if (var$3 < $var6) $var6 = $var6 - 1 | 0; var$3 = $par1Entity.$posY / 16.0; $var7 = var$3 | 0; if (var$3 < $var7) $var7 = $var7 - 1 | 0; var$3 = $par1Entity.$posZ / 16.0; $var8 = var$3 | 0; if (var$3 < $var8) $var8 = $var8 - 1 | 0; var$9 = $par1Entity.$addedToChunk; if (!(var$9 && $par1Entity.$chunkCoordX == $var6 && $par1Entity.$chunkCoordY == $var7 && $par1Entity.$chunkCoordZ == $var8)) { if (var$9) { var$9 = $par1Entity.$chunkCoordX; var$10 = $par1Entity.$chunkCoordZ; var$11 = $this.$chunkProvider; var$12 = var$11.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt(var$9), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$10), Long_create(4294967295, 0)), 32)); var$9 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); var$9 = var$9 ^ (var$9 >>> 20 | 0) ^ (var$9 >>> 12 | 0); $var7 = var$9 ^ (var$9 >>> 7 | 0) ^ (var$9 >>> 4 | 0); var$14 = var$12.$hashArray.data; var$12 = var$14[$var7 & (var$14.length - 1 | 0)]; c: { while (var$12 !== null) { if (Long_eq(var$12.$key1, var$13)) { var$12 = var$12.$value6; break c; } var$12 = var$12.$nextEntry0; } var$12 = null; } var$12 = var$12; if (var$12 === null) var$12 = var$11.$blankChunk; var$12.$removeEntityAtIndex($par1Entity, $par1Entity.$chunkCoordY); } $par1Entity.$addedToChunk = 1; var$11 = $this.$chunkProvider; var$12 = var$11.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt($var6), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var8), Long_create(4294967295, 0)), 32)); var$9 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); var$9 = var$9 ^ (var$9 >>> 20 | 0) ^ (var$9 >>> 12 | 0); $var7 = var$9 ^ (var$9 >>> 7 | 0) ^ (var$9 >>> 4 | 0); var$14 = var$12.$hashArray.data; var$12 = var$14[$var7 & (var$14.length - 1 | 0)]; d: { while (var$12 !== null) { if (Long_eq(var$12.$key1, var$13)) { var$12 = var$12.$value6; break d; } var$12 = var$12.$nextEntry0; } var$12 = null; } var$12 = var$12; if (var$12 === null) var$12 = var$11.$blankChunk; var$12.$addEntity($par1Entity); } if ($par2 && $par1Entity.$addedToChunk) { var$11 = $par1Entity.$riddenByEntity; if (var$11 !== null) { if (!var$11.$isDead && var$11.$ridingEntity === $par1Entity) { $par2 = 1; $ptr = 3; continue main; } var$11.$ridingEntity = null; $par1Entity.$riddenByEntity = null; } } return; case 3: nms_World_updateEntityWithOptionalForce($this, var$11, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, var$3, $var3, $var4, $var6, $var7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_World_checkNoEntityCollision = ($this, $par1AxisAlignedBB, $par2Entity) => { let $var3, $var4, var$5, $var5; $var3 = nms_World_getEntitiesWithinAABBExcludingEntity($this, null, $par1AxisAlignedBB, null); $var4 = 0; a: { while (true) { var$5 = $rt_compare($var4, $var3.$size0); if (var$5 >= 0) break; if ($var4 < 0) break a; if (var$5 >= 0) break a; $var5 = $var3.$array.data[$var4]; if (!$var5.$isDead && $var5.$preventEntitySpawning && $var5 !== $par2Entity) return 0; $var4 = $var4 + 1 | 0; } return 1; } $par1AxisAlignedBB = new jl_IndexOutOfBoundsException; $par1AxisAlignedBB.$suppressionEnabled = 1; $par1AxisAlignedBB.$writableStackTrace = 1; $rt_throw($par1AxisAlignedBB); }, nms_World_isAnyLiquid = ($this, $par1AxisAlignedBB) => { let var$2, $var2, var$4, $var3, $var4, var$7, $var5, $var6, var$10, $var7, $var9, $var10, $var11; var$2 = $par1AxisAlignedBB.$minX; $var2 = var$2 | 0; if (var$2 < $var2) $var2 = $var2 - 1 | 0; var$4 = $par1AxisAlignedBB.$maxX + 1.0; $var3 = var$4 | 0; if (var$4 < $var3) $var3 = $var3 - 1 | 0; var$4 = $par1AxisAlignedBB.$minY; $var4 = var$4 | 0; if (var$4 < $var4) $var4 = $var4 - 1 | 0; var$7 = $par1AxisAlignedBB.$maxY + 1.0; $var5 = var$7 | 0; if (var$7 < $var5) $var5 = $var5 - 1 | 0; var$7 = $par1AxisAlignedBB.$minZ; $var6 = var$7 | 0; if (var$7 < $var6) $var6 = $var6 - 1 | 0; var$10 = $par1AxisAlignedBB.$maxZ + 1.0; $var7 = var$10 | 0; if (var$10 < $var7) $var7 = $var7 - 1 | 0; if (var$2 < 0.0) $var2 = $var2 + (-1) | 0; if (var$4 < 0.0) $var4 = $var4 + (-1) | 0; if (var$7 < 0.0) $var6 = $var6 + (-1) | 0; while ($var2 < $var3) { $var9 = $var4; while ($var9 < $var5) { $var10 = $var6; while ($var10 < $var7) { nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[nms_World_getBlockId($this, $var2, $var9, $var10)]; if ($var11 !== null && $var11.$blockMaterial.$isLiquid()) return 1; $var10 = $var10 + 1 | 0; } $var9 = $var9 + 1 | 0; } $var2 = $var2 + 1 | 0; } return 0; }, nms_World_isBoundingBoxBurning = ($this, $par1AxisAlignedBB) => { let var$2, $var2, $var3, $var4, $var5, $var6, $var7, $var9, $var10, $var11; var$2 = $par1AxisAlignedBB.$minX; $var2 = var$2 | 0; if (var$2 < $var2) $var2 = $var2 - 1 | 0; var$2 = $par1AxisAlignedBB.$maxX + 1.0; $var3 = var$2 | 0; if (var$2 < $var3) $var3 = $var3 - 1 | 0; var$2 = $par1AxisAlignedBB.$minY; $var4 = var$2 | 0; if (var$2 < $var4) $var4 = $var4 - 1 | 0; var$2 = $par1AxisAlignedBB.$maxY + 1.0; $var5 = var$2 | 0; if (var$2 < $var5) $var5 = $var5 - 1 | 0; var$2 = $par1AxisAlignedBB.$minZ; $var6 = var$2 | 0; if (var$2 < $var6) $var6 = $var6 - 1 | 0; var$2 = $par1AxisAlignedBB.$maxZ + 1.0; $var7 = var$2 | 0; if (var$2 < $var7) $var7 = $var7 - 1 | 0; a: { b: { if (nms_World_checkChunksExist($this, $var2, $var4, $var6, $var3, $var5, $var7)) while (true) { if ($var2 >= $var3) break b; $var9 = $var4; while ($var9 < $var5) { $var10 = $var6; while ($var10 < $var7) { $var11 = nms_World_getBlockId($this, $var2, $var9, $var10); nms_Block_$callClinit(); if ($var11 == nms_Block_fire.$blockID) break a; if ($var11 == nms_Block_lavaMoving.$blockID) break a; if ($var11 == nms_Block_lavaStill.$blockID) break a; $var10 = $var10 + 1 | 0; } $var9 = $var9 + 1 | 0; } $var2 = $var2 + 1 | 0; } } return 0; } return 1; }, nms_World_handleMaterialAcceleration = ($this, $par1AxisAlignedBB, $par2Material, $par3Entity) => { let var$4, $var4, $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var13, $var14, $var15, var$16, var$17, $var16; var$4 = $par1AxisAlignedBB.$minX; $var4 = var$4 | 0; if (var$4 < $var4) $var4 = $var4 - 1 | 0; var$4 = $par1AxisAlignedBB.$maxX + 1.0; $var5 = var$4 | 0; if (var$4 < $var5) $var5 = $var5 - 1 | 0; var$4 = $par1AxisAlignedBB.$minY; $var6 = var$4 | 0; if (var$4 < $var6) $var6 = $var6 - 1 | 0; var$4 = $par1AxisAlignedBB.$maxY + 1.0; $var7 = var$4 | 0; if (var$4 < $var7) $var7 = $var7 - 1 | 0; var$4 = $par1AxisAlignedBB.$minZ; $var8 = var$4 | 0; if (var$4 < $var8) $var8 = $var8 - 1 | 0; var$4 = $par1AxisAlignedBB.$maxZ + 1.0; $var9 = var$4 | 0; if (var$4 < $var9) $var9 = $var9 - 1 | 0; if (!nms_World_checkChunksExist($this, $var4, $var6, $var8, $var5, $var7, $var9)) return 0; $var10 = 0; $var11 = nms_Vec3Pool_getVecFromPool($this.$vecPool, 0.0, 0.0, 0.0); var$4 = $var7; while ($var4 < $var5) { $var13 = $var6; while ($var13 < $var7) { $var14 = $var8; while ($var14 < $var9) { nms_Block_$callClinit(); $var15 = nms_Block_blocksList.data[nms_World_getBlockId($this, $var4, $var13, $var14)]; if ($var15 !== null && $var15.$blockMaterial === $par2Material) { var$16 = $var13 + 1 | 0; var$17 = nms_World_getBlockMetadata($this, $var4, $var13, $var14); if (var$17 >= 8) var$17 = 0; if (var$4 >= var$16 - (var$17 + 1 | 0) / 9.0) { $var10 = 1; $var15.$velocityToAddToEntity($this, $var4, $var13, $var14, $par3Entity, $var11); } } $var14 = $var14 + 1 | 0; } $var13 = $var13 + 1 | 0; } $var4 = $var4 + 1 | 0; } var$4 = $var11.$xCoord; var$4 = var$4 * var$4; $var16 = $var11.$yCoord; var$4 = var$4 + $var16 * $var16; $var16 = $var11.$zCoord; if (jl_Math_sqrt(var$4 + $var16 * $var16) > 0.0 && $par3Entity.$isPushedByWater()) { $par1AxisAlignedBB = nms_Vec3_normalize($var11); $par3Entity.$motionX = $par3Entity.$motionX + $par1AxisAlignedBB.$xCoord * 0.014; $par3Entity.$motionY = $par3Entity.$motionY + $par1AxisAlignedBB.$yCoord * 0.014; $par3Entity.$motionZ = $par3Entity.$motionZ + $par1AxisAlignedBB.$zCoord * 0.014; } return $var10; }, nms_World_isMaterialInBB = ($this, $par1AxisAlignedBB, $par2Material) => { let var$3, $var3, $var4, var$6, $var5, $var6, $var7, $var8, $var10, $var11, $var12; var$3 = $par1AxisAlignedBB.$minX; $var3 = var$3 | 0; if (var$3 < $var3) $var3 = $var3 - 1 | 0; var$3 = $par1AxisAlignedBB.$maxX + 1.0; $var4 = var$3 | 0; if (var$3 < $var4) $var4 = $var4 - 1 | 0; var$6 = $par1AxisAlignedBB.$minY; $var5 = var$6 | 0; if (var$6 < $var5) $var5 = $var5 - 1 | 0; var$6 = $par1AxisAlignedBB.$maxY + 1.0; $var6 = var$6 | 0; if (var$6 < $var6) $var6 = $var6 - 1 | 0; var$6 = $par1AxisAlignedBB.$minZ; $var7 = var$6 | 0; if (var$6 < $var7) $var7 = $var7 - 1 | 0; var$6 = $par1AxisAlignedBB.$maxZ + 1.0; $var8 = var$6 | 0; if (var$6 < $var8) $var8 = $var8 - 1 | 0; while ($var3 < $var4) { $var10 = $var5; while ($var10 < $var6) { $var11 = $var7; while ($var11 < $var8) { nms_Block_$callClinit(); $var12 = nms_Block_blocksList.data[nms_World_getBlockId($this, $var3, $var10, $var11)]; if ($var12 !== null && $var12.$blockMaterial === $par2Material) return 1; $var11 = $var11 + 1 | 0; } $var10 = $var10 + 1 | 0; } $var3 = $var3 + 1 | 0; } return 0; }, nms_World_isAABBInMaterial = ($this, $par1AxisAlignedBB, $par2Material) => { let $var14, $var3, $var4, $var5, $var6, var$8, $var7, $var8, $var10, $var11, $var12, $var13; $var14 = $par1AxisAlignedBB.$minX; $var3 = $var14 | 0; if ($var14 < $var3) $var3 = $var3 - 1 | 0; $var14 = $par1AxisAlignedBB.$maxX + 1.0; $var4 = $var14 | 0; if ($var14 < $var4) $var4 = $var4 - 1 | 0; $var14 = $par1AxisAlignedBB.$minY; $var5 = $var14 | 0; if ($var14 < $var5) $var5 = $var5 - 1 | 0; $var14 = $par1AxisAlignedBB.$maxY + 1.0; $var6 = $var14 | 0; if ($var14 < $var6) $var6 = $var6 - 1 | 0; var$8 = $par1AxisAlignedBB.$minZ; $var7 = var$8 | 0; if (var$8 < $var7) $var7 = $var7 - 1 | 0; $var14 = $par1AxisAlignedBB.$maxZ + 1.0; $var8 = $var14 | 0; if ($var14 < $var8) $var8 = $var8 - 1 | 0; while ($var3 < $var4) { $var10 = $var5; while ($var10 < $var6) { $var11 = $var7; while ($var11 < $var8) { nms_Block_$callClinit(); $var12 = nms_Block_blocksList.data[nms_World_getBlockId($this, $var3, $var10, $var11)]; if ($var12 !== null && $var12.$blockMaterial === $par2Material) { $var13 = nms_World_getBlockMetadata($this, $var3, $var10, $var11); $var14 = $var10 + 1 | 0; if ($var13 < 8) $var14 = $var14 - $var13 / 8.0; if ($var14 >= $par1AxisAlignedBB.$minY) return 1; } $var11 = $var11 + 1 | 0; } $var10 = $var10 + 1 | 0; } $var3 = $var3 + 1 | 0; } return 0; }, nms_World_getBlockDensity = ($this, $par1Vec3, $par2AxisAlignedBB) => { let $var3, $var5, $var7, $var9, $var10, $var11, $var12, $var16, $var14, $var18, var$13, var$14, var$15, var$16, var$17, $var13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var13 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var18 = $thread.pop();$var14 = $thread.pop();$var16 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$par2AxisAlignedBB = $thread.pop();$par1Vec3 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = 1.0 / (($par2AxisAlignedBB.$maxX - $par2AxisAlignedBB.$minX) * 2.0 + 1.0); $var5 = 1.0 / (($par2AxisAlignedBB.$maxY - $par2AxisAlignedBB.$minY) * 2.0 + 1.0); $var7 = 1.0 / (($par2AxisAlignedBB.$maxZ - $par2AxisAlignedBB.$minZ) * 2.0 + 1.0); $var9 = 0; $var10 = 0; $var11 = 0.0; while ($var11 <= 1.0) { $var12 = 0.0; while ($var12 <= 1.0) { if (0.0 <= 1.0) { $var16 = $par2AxisAlignedBB.$minX; $var14 = $var16 + ($par2AxisAlignedBB.$maxX - $var16) * $var11; $var16 = $par2AxisAlignedBB.$minY; $var16 = $var16 + ($par2AxisAlignedBB.$maxY - $var16) * $var12; $var18 = $par2AxisAlignedBB.$minZ; var$13 = $par2AxisAlignedBB.$maxZ - $var18; var$14 = 0.0; $var18 = $var18 + var$13 * var$14; var$15 = nms_Vec3Pool_getVecFromPool($this.$vecPool, $var14, $var16, $var18); var$16 = 0; var$17 = 0; $ptr = 1; continue main; } $var12 = $var12 + $var5; } $var11 = $var11 + $var3; } return $var9 / $var10; case 1: $tmp = nms_World_rayTraceBlocks_do_do($this, var$15, $par1Vec3, var$16, var$17); if ($rt_suspending()) { break main; } var$15 = $tmp; if (var$15 === null) $var9 = $var9 + 1 | 0; $var10 = $var10 + 1 | 0; $var13 = var$14 + $var7; a: while (true) { if ($var13 <= 1.0) { $var16 = $par2AxisAlignedBB.$minX; $var14 = $var16 + ($par2AxisAlignedBB.$maxX - $var16) * $var11; $var16 = $par2AxisAlignedBB.$minY; $var16 = $var16 + ($par2AxisAlignedBB.$maxY - $var16) * $var12; $var18 = $par2AxisAlignedBB.$minZ; var$13 = $par2AxisAlignedBB.$maxZ - $var18; var$14 = $var13; $var18 = $var18 + var$13 * var$14; var$15 = nms_Vec3Pool_getVecFromPool($this.$vecPool, $var14, $var16, $var18); var$16 = 0; var$17 = 0; continue main; } $var12 = $var12 + $var5; while ($var12 > 1.0) { $var11 = $var11 + $var3; if ($var11 > 1.0) break a; $var12 = 0.0; } $var13 = 0.0; } return $var9 / $var10; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Vec3, $par2AxisAlignedBB, $var3, $var5, $var7, $var9, $var10, $var11, $var12, $var16, $var14, $var18, var$13, var$14, var$15, var$16, var$17, $var13, $ptr); }, nms_World_extinguishFire = ($this, $par1EntityPlayer, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par5) $par3 = $par3 + (-1) | 0; if ($par5 == 1) $par3 = $par3 + 1 | 0; if ($par5 == 2) $par4 = $par4 + (-1) | 0; if ($par5 == 3) $par4 = $par4 + 1 | 0; if ($par5 == 4) $par2 = $par2 + (-1) | 0; if ($par5 == 5) $par2 = $par2 + 1 | 0; $par5 = nms_World_getBlockId($this, $par2, $par3, $par4); nms_Block_$callClinit(); if ($par5 != nms_Block_fire.$blockID) return 0; $par5 = 1004; var$6 = 0; var$7 = 0; var$8 = $this.$worldAccesses; var$9 = $rt_compare(var$7, var$8.$size0); if (var$9 >= 0) { $par5 = 0; var$7 = 0; var$9 = 3; $ptr = 1; continue main; } if (var$7 >= 0 && var$9 < 0) { var$8 = var$8.$array.data[var$7]; $ptr = 2; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 1: nms_World_setBlock($this, $par2, $par3, $par4, $par5, var$7, var$9); if ($rt_suspending()) { break main; } return 1; case 2: nms_RenderGlobal_playAuxSFX(var$8, $par1EntityPlayer, $par5, $par2, $par3, $par4, var$6); if ($rt_suspending()) { break main; } var$7 = var$7 + 1 | 0; var$8 = $this.$worldAccesses; var$9 = $rt_compare(var$7, var$8.$size0); if (var$9 >= 0) { $par5 = 0; var$7 = 0; var$9 = 3; $ptr = 1; continue main; } if (var$7 >= 0 && var$9 < 0) { var$8 = var$8.$array.data[var$7]; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $par3, $par4, $par5, var$6, var$7, var$8, var$9, $ptr); }, nms_World_getBlockTileEntity = ($this, $par1, $par2, $par3) => { let $var4, $var6, $var5, $var6_0, $var5_0, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var5_0 = $thread.pop();$var6_0 = $thread.pop();$var5 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par2 >= 0 && $par2 < 256) { a: { $var4 = null; if (!$this.$scanningTileEntities) $var6 = $var4; else { $var5 = 0; while (true) { $var6_0 = $this.$addedTileEntityList; $var5_0 = $rt_compare($var5, $var6_0.$size0); if ($var5_0 >= 0) { $var6 = $var4; break a; } if ($var5 < 0) break; if ($var5_0 >= 0) break; $var6 = $var6_0.$array.data[$var5]; if (!$var6.$tileEntityInvalid && $var6.$xCoord0 == $par1 && $var6.$yCoord0 == $par2 && $var6.$zCoord0 == $par3) break a; $var5 = $var5 + 1 | 0; } $var6_0 = new jl_IndexOutOfBoundsException; $var6_0.$suppressionEnabled = 1; $var6_0.$writableStackTrace = 1; $rt_throw($var6_0); } } if ($var6 === null) { $var5 = $par1 >> 4; $var5_0 = $par3 >> 4; $var6_0 = $this.$chunkProvider; $var4 = $var6_0.$chunkMapping; var$9 = Long_or(Long_and(Long_fromInt($var5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var5_0), Long_create(4294967295, 0)), 32)); $var5 = Long_lo(Long_xor(var$9, Long_shru(var$9, 32))); $var5 = $var5 ^ ($var5 >>> 20 | 0) ^ ($var5 >>> 12 | 0); var$10 = $var5 ^ ($var5 >>> 7 | 0) ^ ($var5 >>> 4 | 0); var$11 = $var4.$hashArray.data; $var4 = var$11[var$10 & (var$11.length - 1 | 0)]; b: { while ($var4 !== null) { if (Long_eq($var4.$key1, var$9)) { $var4 = $var4.$value6; break b; } $var4 = $var4.$nextEntry0; } $var4 = null; } $var4 = $var4; if ($var4 === null) $var4 = $var6_0.$blankChunk; if ($var4 !== null) { $var5 = $par1 & 15; $var5_0 = $par3 & 15; $ptr = 1; continue main; } } c: { d: { if ($var6 !== null) $var6_0 = $var6; else { $var5_0 = 0; while (true) { $var6_0 = $this.$addedTileEntityList; $var5 = $rt_compare($var5_0, $var6_0.$size0); if ($var5 >= 0) { $var6_0 = $var6; break d; } if ($var5_0 < 0) break c; if ($var5 >= 0) break c; $var6_0 = $var6_0.$array.data[$var5_0]; if (!$var6_0.$tileEntityInvalid && $var6_0.$xCoord0 == $par1 && $var6_0.$yCoord0 == $par2 && $var6_0.$zCoord0 == $par3) break; $var5_0 = $var5_0 + 1 | 0; } } } return $var6_0; } $var6_0 = new jl_IndexOutOfBoundsException; $var6_0.$suppressionEnabled = 1; $var6_0.$writableStackTrace = 1; $rt_throw($var6_0); } return null; case 1: $tmp = $var4.$getChunkBlockTileEntity($var5, $par2, $var5_0); if ($rt_suspending()) { break main; } $var6 = $tmp; e: { f: { if ($var6 !== null) $var6_0 = $var6; else { $var5_0 = 0; while (true) { $var6_0 = $this.$addedTileEntityList; $var5 = $rt_compare($var5_0, $var6_0.$size0); if ($var5 >= 0) { $var6_0 = $var6; break f; } if ($var5_0 < 0) break e; if ($var5 >= 0) break e; $var6_0 = $var6_0.$array.data[$var5_0]; if (!$var6_0.$tileEntityInvalid && $var6_0.$xCoord0 == $par1 && $var6_0.$yCoord0 == $par2 && $var6_0.$zCoord0 == $par3) break; $var5_0 = $var5_0 + 1 | 0; } } } return $var6_0; } $var6_0 = new jl_IndexOutOfBoundsException; $var6_0.$suppressionEnabled = 1; $var6_0.$writableStackTrace = 1; $rt_throw($var6_0); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var6, $var5, $var6_0, $var5_0, var$9, var$10, var$11, $ptr); }, nms_World_setBlockTileEntity = ($this, $par1, $par2, $par3, $par4TileEntity) => { let $var6, var$6, var$7, var$8, $var5, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();$var5 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var6 = $thread.pop();$par4TileEntity = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($par4TileEntity !== null && !$par4TileEntity.$tileEntityInvalid) { if (!$this.$scanningTileEntities) { $var6 = $this.$loadedTileEntityList; ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); var$6 = $var6.$array.data; var$7 = $var6.$size0; $var6.$size0 = var$7 + 1 | 0; var$6[var$7] = $par4TileEntity; $var6.$modCount = $var6.$modCount + 1 | 0; var$7 = $par1 >> 4; var$8 = $par3 >> 4; $var6 = $this.$chunkProvider; $var5 = $var6.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$8), Long_create(4294967295, 0)), 32)); var$8 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); var$8 = var$8 ^ (var$8 >>> 20 | 0) ^ (var$8 >>> 12 | 0); var$7 = var$8 ^ (var$8 >>> 7 | 0) ^ (var$8 >>> 4 | 0); var$6 = $var5.$hashArray.data; $var5 = var$6[var$7 & (var$6.length - 1 | 0)]; b: { while ($var5 !== null) { if (Long_eq($var5.$key1, var$10)) { $var5 = $var5.$value6; break b; } $var5 = $var5.$nextEntry0; } $var5 = null; } $var5 = $var5; if ($var5 === null) $var5 = $var6.$blankChunk; if ($var5 === null) break a; var$8 = $par1 & 15; $par1 = $par3 & 15; $ptr = 1; continue main; } $par4TileEntity.$xCoord0 = $par1; $par4TileEntity.$yCoord0 = $par2; $par4TileEntity.$zCoord0 = $par3; $var6 = $this.$addedTileEntityList; $var5 = new ju_AbstractList$1; $var5.$this$00 = $var6; $var5.$modCount1 = $var6.$modCount; $var5.$size3 = $var6.$size(); $var5.$removeIndex = (-1); while (true) { var$8 = $var5.$index0; if (!(var$8 >= $var5.$size3 ? 0 : 1)) { $var6 = $this.$addedTileEntityList; ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); var$6 = $var6.$array.data; $par2 = $var6.$size0; $var6.$size0 = $par2 + 1 | 0; var$6[$par2] = $par4TileEntity; $var6.$modCount = $var6.$modCount + 1 | 0; break a; } var$7 = $var5.$modCount1; $var6 = $var5.$this$00; if (var$7 < $var6.$modCount) break; $var5.$removeIndex = var$8; $var5.$index0 = var$8 + 1 | 0; $var6 = $var6.$get(var$8); if ($var6.$xCoord0 == $par1 && $var6.$yCoord0 == $par2 && $var6.$zCoord0 == $par3) { $ptr = 2; continue main; } } $par4TileEntity = new ju_ConcurrentModificationException; $par4TileEntity.$suppressionEnabled = 1; $par4TileEntity.$writableStackTrace = 1; $rt_throw($par4TileEntity); } } return; case 1: $var5.$setChunkBlockTileEntity(var$8, $par2, $par1, $par4TileEntity); if ($rt_suspending()) { break main; } return; case 2: $var6.$invalidate(); if ($rt_suspending()) { break main; } ju_AbstractList$1_remove($var5); while (true) { var$8 = $var5.$index0; if (!(var$8 >= $var5.$size3 ? 0 : 1)) { $var6 = $this.$addedTileEntityList; ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); var$6 = $var6.$array.data; $par2 = $var6.$size0; $var6.$size0 = $par2 + 1 | 0; var$6[$par2] = $par4TileEntity; $var6.$modCount = $var6.$modCount + 1 | 0; return; } var$7 = $var5.$modCount1; $var6 = $var5.$this$00; if (var$7 < $var6.$modCount) break; $var5.$removeIndex = var$8; $var5.$index0 = var$8 + 1 | 0; $var6 = $var6.$get(var$8); if ($var6.$xCoord0 != $par1) continue; if ($var6.$yCoord0 != $par2) continue; if ($var6.$zCoord0 != $par3) continue; else { continue main; } } $par4TileEntity = new ju_ConcurrentModificationException; $par4TileEntity.$suppressionEnabled = 1; $par4TileEntity.$writableStackTrace = 1; $rt_throw($par4TileEntity); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4TileEntity, $var6, var$6, var$7, var$8, $var5, var$10, $ptr); }, nms_World_removeBlockTileEntity = ($this, $par1, $par2, $par3) => { let $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 !== null && $this.$scanningTileEntities) { $ptr = 2; continue main; } if ($var4 !== null) { var$5 = $this.$addedTileEntityList; var$6 = var$5.$size0; var$7 = 0; a: { while (true) { var$8 = $rt_compare(var$7, var$6); if (var$8 >= 0) { var$7 = (-1); break a; } if (var$7 < 0) break; if (var$8 >= 0) break; var$9 = var$5.$array.data[var$7]; if ($var4 === var$9 ? 1 : $var4 === null ? (var$9 !== null ? 0 : 1) : $var4 !== var$9 ? 0 : 1) break a; var$7 = var$7 + 1 | 0; } var$9 = new jl_IndexOutOfBoundsException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$9); $rt_throw(var$9); } if (var$7 >= 0) ju_ArrayList_remove(var$5, var$7); var$9 = $this.$loadedTileEntityList; var$7 = var$9.$size0; var$8 = 0; b: { while (true) { var$6 = $rt_compare(var$8, var$7); if (var$6 >= 0) { var$8 = (-1); break b; } if (var$8 < 0) break; if (var$6 >= 0) break; var$5 = var$9.$array.data[var$8]; if ($var4 === var$5 ? 1 : $var4 === null ? (var$5 !== null ? 0 : 1) : $var4 !== var$5 ? 0 : 1) break b; var$8 = var$8 + 1 | 0; } var$9 = new jl_IndexOutOfBoundsException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$9); $rt_throw(var$9); } if (var$8 >= 0) ju_ArrayList_remove(var$9, var$8); } var$8 = $par1 >> 4; var$6 = $par3 >> 4; var$9 = $this.$chunkProvider; $var4 = var$9.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt(var$8), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$6), Long_create(4294967295, 0)), 32)); var$8 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); var$8 = var$8 ^ (var$8 >>> 20 | 0) ^ (var$8 >>> 12 | 0); var$7 = var$8 ^ (var$8 >>> 7 | 0) ^ (var$8 >>> 4 | 0); var$11 = $var4.$hashArray.data; $var4 = var$11[var$7 & (var$11.length - 1 | 0)]; c: { while ($var4 !== null) { if (Long_eq($var4.$key1, var$10)) { $var4 = $var4.$value6; break c; } $var4 = $var4.$nextEntry0; } $var4 = null; } $var4 = $var4; if ($var4 === null) $var4 = var$9.$blankChunk; if ($var4 === null) return; var$8 = $par1 & 15; $par1 = $par3 & 15; $ptr = 3; continue main; case 2: $var4.$invalidate(); if ($rt_suspending()) { break main; } var$5 = $this.$addedTileEntityList; $par1 = var$5.$size0; $par2 = 0; d: { e: { while (true) { $par3 = $rt_compare($par2, $par1); if ($par3 >= 0) { $par2 = (-1); break e; } if ($par2 < 0) break d; if ($par3 >= 0) break d; var$9 = var$5.$array.data[$par2]; if ($var4 === var$9 ? 1 : $var4 === null ? (var$9 !== null ? 0 : 1) : $var4 !== var$9 ? 0 : 1) break; $par2 = $par2 + 1 | 0; } } if ($par2 >= 0) ju_ArrayList_remove(var$5, $par2); return; } var$9 = new jl_IndexOutOfBoundsException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$9); $rt_throw(var$9); case 3: $var4.$removeChunkBlockTileEntity(var$8, $par2, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_World_isBlockOpaqueCube = ($this, $par1, $par2, $par3) => { let $var4; nms_Block_$callClinit(); $var4 = nms_Block_blocksList.data[nms_World_getBlockId($this, $par1, $par2, $par3)]; return $var4 !== null ? $var4.$isOpaqueCube() : 0; }, nms_World_isBlockNormalCube = ($this, $par1, $par2, $par3) => { let var$4, var$5; $par1 = nms_World_getBlockId($this, $par1, $par2, $par3); nms_Block_$callClinit(); var$4 = nms_Block_blocksList.data[$par1]; if (var$4 === null) $par1 = 0; else { var$5 = var$4.$blockMaterial; $par1 = !var$5.$isTranslucent ? var$5.$blocksMovement() : 0; $par1 = $par1 && var$4.$renderAsNormalBlock() && !var$4.$canProvidePower() ? 1 : 0; } return $par1; }, nms_World_isBlockFullCube = ($this, $par1, $par2, $par3) => { let $var4, var$5, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = nms_World_getBlockId($this, $par1, $par2, $par3); if ($var4) { nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data; if (var$5[$var4] !== null) { $var5 = var$5[$var4]; $ptr = 1; continue main; } } return 0; case 1: $tmp = $var5.$getCollisionBoundingBoxFromPool($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } $var5 = $tmp; return $var5 !== null && ($var5.$maxX - $var5.$minX + $var5.$maxY - $var5.$minY + $var5.$maxZ - $var5.$minZ) / 3.0 >= 1.0 ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, var$5, $var5, $ptr); }, nms_World_doesBlockHaveSolidTopSurface = ($this, $par1, $par2, $par3) => { nms_Block_$callClinit(); return nms_World_isBlockTopFacingSurfaceSolid($this, nms_Block_blocksList.data[nms_World_getBlockId($this, $par1, $par2, $par3)], nms_World_getBlockMetadata($this, $par1, $par2, $par3)); }, nms_World_isBlockTopFacingSurfaceSolid = ($this, $par1Block, $par2) => { let var$3, var$4; if ($par1Block === null) $par2 = 0; else { var$3 = $par1Block.$blockMaterial; var$4 = !var$3.$isTranslucent ? var$3.$blocksMovement() : 0; $par2 = var$4 && $par1Block.$renderAsNormalBlock() ? 1 : $par1Block instanceof nms_BlockStairs ? (($par2 & 4) != 4 ? 0 : 1) : $par1Block instanceof nms_BlockHalfSlab ? (($par2 & 8) != 8 ? 0 : 1) : $par1Block instanceof nms_BlockHopper ? 1 : !($par1Block instanceof nms_BlockSnow) ? 0 : ($par2 & 7) != 7 ? 0 : 1; } return $par2; }, nms_World_isBlockNormalCubeDefault = ($this, $par1, $par2, $par3, $par4) => { let $var6, var$6, var$7, $var5, var$9, var$10, var$11; if ($par1 >= (-30000000) && $par3 >= (-30000000) && $par1 < 30000000 && $par3 < 30000000) { $var6 = $this.$chunkProvider; var$6 = $par1 >> 4; var$7 = $par3 >> 4; $var5 = $var6.$chunkMapping; var$9 = Long_or(Long_and(Long_fromInt(var$6), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), 32)); var$7 = Long_lo(Long_xor(var$9, Long_shru(var$9, 32))); var$7 = var$7 ^ (var$7 >>> 20 | 0) ^ (var$7 >>> 12 | 0); var$10 = var$7 ^ (var$7 >>> 7 | 0) ^ (var$7 >>> 4 | 0); var$11 = $var5.$hashArray.data; $var5 = var$11[var$10 & (var$11.length - 1 | 0)]; a: { while ($var5 !== null) { if (Long_eq($var5.$key1, var$9)) { $var5 = $var5.$value6; break a; } $var5 = $var5.$nextEntry0; } $var5 = null; } $var5 = $var5; if ($var5 === null) $var5 = $var6.$blankChunk; if ($var5 !== null && !$var5.$isEmpty()) { nms_Block_$callClinit(); $var6 = nms_Block_blocksList.data[nms_World_getBlockId($this, $par1, $par2, $par3)]; if ($var6 === null) $par1 = 0; else { $var5 = $var6.$blockMaterial; $par1 = !$var5.$isTranslucent ? $var5.$blocksMovement() : 0; $par1 = $par1 && $var6.$renderAsNormalBlock() ? 1 : 0; } return $par1; } return $par4; } return $par4; }; let nms_World_setActivePlayerChunksAndCheckLight = $this => { let $var2, var$2, var$3, $var1, $var8, $var3, var$7, $var5, $var4, var$10, $var6, $var7, $var4_0, var$14; $var2 = $this.$activeChunkSet.$backingMap; if ($var2.$elementCount > 0) { $var2.$elementCount = 0; var$2 = $var2.$elementData.data; var$3 = null; $var1 = 0; $var8 = var$2.length; if ($var1 > $var8) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } while ($var1 < $var8) { $var3 = $var1 + 1 | 0; var$2[$var1] = var$3; $var1 = $var3; } $var2.$modCount0 = $var2.$modCount0 + 1 | 0; } $var1 = 0; while (true) { $var2 = $this.$playerEntities; $var3 = $var2.$size0; $var8 = $rt_compare($var1, $var3); if ($var8 >= 0) { $var1 = $this.$ambientTickCountdown; if ($var1 > 0) $this.$ambientTickCountdown = $var1 - 1 | 0; if (!($var3 ? 0 : 1)) { var$3 = $this.$rand0; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var5 = Long_lo(Long_shru(var$7, 17)); $var1 = $var3 - 1 | 0; if (!($var3 & $var1)) $var4 = Long_lo(Long_shr(Long_mul(Long_fromInt($var3), Long_fromInt($var5)), 31)); else while (true) { $var4 = $var5 % $var3 | 0; if ((($var5 - $var4 | 0) + $var1 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var5 = Long_lo(Long_shru(var$7, 17)); } if ($var4 >= 0 && $var4 < $var3) { $var2 = $var2.$array.data[$var4]; var$10 = $var2.$posX; $var5 = var$10 | 0; if (var$10 < $var5) $var5 = $var5 - 1 | 0; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, 17)); while (true) { $var4 = $var3 % 11 | 0; if ((($var3 - $var4 | 0) + 10 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, 17)); } $var3 = ($var5 + $var4 | 0) - 5 | 0; var$10 = $var2.$posY; $var6 = var$10 | 0; if (var$10 < $var6) $var6 = $var6 - 1 | 0; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var4 = Long_lo(Long_shru(var$7, 17)); while (true) { $var5 = $var4 % 11 | 0; if ((($var4 - $var5 | 0) + 10 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var4 = Long_lo(Long_shru(var$7, 17)); } $var4 = ($var6 + $var5 | 0) - 5 | 0; var$10 = $var2.$posZ; $var7 = var$10 | 0; if (var$10 < $var7) $var7 = $var7 - 1 | 0; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var5 = Long_lo(Long_shru(var$7, 17)); while (true) { $var6 = $var5 % 11 | 0; if ((($var5 - $var6 | 0) + 10 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var5 = Long_lo(Long_shru(var$7, 17)); } $var8 = ($var7 + $var6 | 0) - 5 | 0; if (!$this.$provider.$hasNoSky) nms_World_updateLightByType($this, nms_EnumSkyBlock_Sky, $var3, $var4, $var8); nms_World_updateLightByType($this, nms_EnumSkyBlock_Block, $var3, $var4, $var8); } else { $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } } return; } if ($var1 < 0) break; if ($var8 >= 0) break; $var2 = $var2.$array.data[$var1]; var$10 = $var2.$posX / 16.0; $var3 = var$10 | 0; if (var$10 < $var3) $var3 = $var3 - 1 | 0; var$10 = $var2.$posZ / 16.0; $var4_0 = var$10 | 0; if (var$10 < $var4_0) $var4_0 = $var4_0 - 1 | 0; $var6 = (-7); while ($var6 <= 7) { $var7 = (-7); while ($var7 <= 7) { $var2 = $this.$activeChunkSet; var$3 = new nms_ChunkCoordIntPair; $var4 = $var6 + $var3 | 0; var$14 = $var7 + $var4_0 | 0; var$3.$chunkXPos = $var4; var$3.$chunkZPos = var$14; ju_HashMap_putImpl($var2.$backingMap, var$3, $var2); $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } $var1 = $var1 + 1 | 0; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); }, nms_World_moodSoundAndLightCheck = ($this, $par1, $par2, $par3Chunk) => { let $var8, $var4, $var5, $var6, $var7, var$9, $var9, var$11, var$12, var$13, var$14, var$15, var$16; a: { if (!$this.$ambientTickCountdown && !$this.$isRemote) { $var8 = ($this.$updateLCG * 3 | 0) + 1013904223 | 0; $this.$updateLCG = $var8; $var4 = $var8 >> 2; $var5 = $var4 & 15; $var6 = $var4 >> 8 & 15; $var7 = $var4 >> 16 & 127; $var8 = $par3Chunk.$getBlockID($var5, $var7, $var6); $var5 = $var5 + $par1 | 0; $var6 = $var6 + $par2 | 0; if (!$var8) { if ($var7 < 0) $par1 = 0; else { $var4 = $var7 >= 256 ? 255 : $var7; $par2 = $var5 >> 4; $par1 = $var6 >> 4; var$9 = $this.$chunkProvider; $var9 = var$9.$chunkMapping; var$11 = Long_or(Long_and(Long_fromInt($par2), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($par1), Long_create(4294967295, 0)), 32)); $par1 = Long_lo(Long_xor(var$11, Long_shru(var$11, 32))); $par1 = $par1 ^ ($par1 >>> 20 | 0) ^ ($par1 >>> 12 | 0); $par2 = $par1 ^ ($par1 >>> 7 | 0) ^ ($par1 >>> 4 | 0); var$12 = $var9.$hashArray.data; $var9 = var$12[$par2 & (var$12.length - 1 | 0)]; b: { while ($var9 !== null) { if (Long_eq($var9.$key1, var$11)) { $var9 = $var9.$value6; break b; } $var9 = $var9.$nextEntry0; } $var9 = null; } $var9 = $var9; if ($var9 === null) $var9 = var$9.$blankChunk; $par1 = $var9.$getBlockLightValue($var5 & 15, $var4, $var6 & 15, 0); } $var9 = $this.$rand0; var$13 = Long_and(Long_add(Long_mul($var9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$13; if ($par1 <= Long_lo(Long_shr(Long_mul(Long_fromInt(8), Long_fromInt(Long_lo(Long_shru(var$13, 17)))), 31)) && nms_World_getSavedLightValue($this, nms_EnumSkyBlock_Sky, $var5, $var7, $var6) <= 0) { var$14 = $var5 + 0.5; var$15 = $var7 + 0.5; var$16 = $var6 + 0.5; $var9 = nms_World_getClosestPlayer($this, var$14, var$15, var$16, 8.0); if ($var9 !== null) { var$14 = $var9.$posX - var$14; var$15 = $var9.$posY - var$15; var$16 = $var9.$posZ - var$16; if (var$14 * var$14 + var$15 * var$15 + var$16 * var$16 > 4.0) { $var9 = $this.$rand0; var$11 = Long_and(Long_add(Long_mul($var9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$11; $par1 = 0; while (true) { $par2 = $rt_compare($par1, $this.$worldAccesses.$size0); if ($par2 >= 0) { var$13 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$13; $var7 = Long_lo(Long_shru(var$13, 17)); while (true) { $var5 = $var7 % 12000 | 0; if ((($var7 - $var5 | 0) + 11999 | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul($var9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$13; $var7 = Long_lo(Long_shru(var$13, 17)); } $this.$ambientTickCountdown = $var5 + 6000 | 0; break a; } if ($par1 < 0) break; if ($par2 >= 0) break; $par1 = $par1 + 1 | 0; } $par3Chunk = new jl_IndexOutOfBoundsException; $par3Chunk.$suppressionEnabled = 1; $par3Chunk.$writableStackTrace = 1; $rt_throw($par3Chunk); } } } } } } nms_Chunk_enqueueRelightChecks($par3Chunk); }, nms_World_computeLightValue = ($this, $par1, $par2, $par3, $par4EnumSkyBlock) => { let $var8, $var7, var$7, var$8, var$9, var$10, $var5, $var6, $var12; if ($par4EnumSkyBlock === nms_EnumSkyBlock_Sky) { $var8 = $par1 >> 4; $var7 = $par3 >> 4; var$7 = $this.$chunkProvider; var$8 = var$7.$chunkMapping; var$9 = Long_or(Long_and(Long_fromInt($var8), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var7), Long_create(4294967295, 0)), 32)); $var7 = Long_lo(Long_xor(var$9, Long_shru(var$9, 32))); $var8 = $var7 ^ ($var7 >>> 20 | 0) ^ ($var7 >>> 12 | 0); $var7 = $var8 ^ ($var8 >>> 7 | 0) ^ ($var8 >>> 4 | 0); var$10 = var$8.$hashArray.data; var$8 = var$10[$var7 & (var$10.length - 1 | 0)]; a: { while (var$8 !== null) { if (Long_eq(var$8.$key1, var$9)) { var$8 = var$8.$value6; break a; } var$8 = var$8.$nextEntry0; } var$8 = null; } var$8 = var$8; if (var$8 === null) var$8 = var$7.$blankChunk; if (var$8.$canBlockSeeTheSky($par1 & 15, $par2, $par3 & 15)) return 15; } $var5 = nms_World_getBlockId($this, $par1, $par2, $par3); if ($par4EnumSkyBlock === nms_EnumSkyBlock_Sky) $var6 = 0; else { nms_Block_$callClinit(); $var6 = nms_Block_lightValue.data[$var5]; } nms_Block_$callClinit(); $var7 = nms_Block_lightOpacity.data[$var5]; if ($var7 >= 15 && nms_Block_lightValue.data[$var5] > 0) $var7 = 1; if ($var7 < 1) $var7 = 1; if ($var7 >= 15) return 0; if ($var6 >= 14) return $var6; $var8 = 0; while ($var8 < 6) { $var12 = nms_World_getSavedLightValue($this, $par4EnumSkyBlock, $par1 + nms_Facing_offsetsXForSide.data[$var8] | 0, $par2 + nms_Facing_offsetsYForSide.data[$var8] | 0, $par3 + nms_Facing_offsetsZForSide.data[$var8] | 0) - $var7 | 0; if ($var12 <= $var6) $var12 = $var6; if ($var12 >= 14) return $var12; $var8 = $var8 + 1 | 0; $var6 = $var12; } return $var6; }, nms_World_updateLightByType = ($this, $par1EnumSkyBlock, $par2, $par3, $par4) => { let $var5, $var7, $var8, var$8, $var6, $var9, $var10, $var11, $var12, $var13, $var15, $var16, $var17, $var18, $var19, $var20, $var21, $var22, $var10_0, $var14, $var23; a: { if (nms_World_checkChunksExist($this, $par2 - 17 | 0, $par3 - 17 | 0, $par4 - 17 | 0, $par2 + 17 | 0, $par3 + 17 | 0, $par4 + 17 | 0)) { $var5 = 0; $var7 = nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $par2, $par3, $par4); $var8 = $rt_compare(nms_World_computeLightValue($this, $par2, $par3, $par4, $par1EnumSkyBlock), $var7); if ($var8 > 0) { var$8 = $this.$lightUpdateBlockList.data; $var8 = 1; var$8[0] = 133152; } else if ($var8 >= 0) $var8 = 0; else { var$8 = $this.$lightUpdateBlockList.data; $var8 = 1; var$8[0] = 133152 | $var7 << 18; while ($var5 < $var8) { var$8 = $this.$lightUpdateBlockList.data; $var6 = $var5 + 1 | 0; $var9 = var$8[$var5]; $var10 = (($var9 & 63) - 32 | 0) + $par2 | 0; $var11 = (($var9 >> 6 & 63) - 32 | 0) + $par3 | 0; $var12 = (($var9 >> 12 & 63) - 32 | 0) + $par4 | 0; $var13 = $var9 >> 18 & 15; if (nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $var10, $var11, $var12) != $var13) { $var5 = $var6; continue; } nms_World_setLightValue($this, $par1EnumSkyBlock, $var10, $var11, $var12, 0); if ($var13 <= 0) { $var5 = $var6; continue; } $var15 = $var10 - $par2 | 0; if ($var15 < 0) $var15 = -$var15 | 0; $var16 = $var11 - $par3 | 0; if ($var16 < 0) $var16 = -$var16 | 0; $var17 = $var12 - $par4 | 0; if ($var17 < 0) $var17 = -$var17 | 0; if ((($var15 + $var16 | 0) + $var17 | 0) >= 17) { $var5 = $var6; continue; } $var18 = 0; while ($var18 < 6) { $var19 = $var10 + nms_Facing_offsetsXForSide.data[$var18] | 0; $var20 = $var11 + nms_Facing_offsetsYForSide.data[$var18] | 0; $var21 = $var12 + nms_Facing_offsetsZForSide.data[$var18] | 0; nms_Block_$callClinit(); $var22 = nms_Block_lightOpacity.data[nms_World_getBlockId($this, $var19, $var20, $var21)]; if (1 > $var22) $var22 = 1; $var7 = nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $var19, $var20, $var21); $var17 = $var13 - $var22 | 0; if ($var7 == $var17) { var$8 = $this.$lightUpdateBlockList.data; if ($var8 < var$8.length) { $var7 = $var8 + 1 | 0; var$8[$var8] = (($var19 - $par2 | 0) + 32 | 0) | (($var20 - $par3 | 0) + 32 | 0) << 6 | (($var21 - $par4 | 0) + 32 | 0) << 12 | $var17 << 18; $var8 = $var7; } } $var18 = $var18 + 1 | 0; } $var5 = $var6; } $var5 = 0; } while (true) { if ($var5 >= $var8) break a; var$8 = $this.$lightUpdateBlockList.data; $var6 = $var5 + 1 | 0; $var9 = var$8[$var5]; $var10_0 = (($var9 & 63) - 32 | 0) + $par2 | 0; $var11 = (($var9 >> 6 & 63) - 32 | 0) + $par3 | 0; $var12 = (($var9 >> 12 & 63) - 32 | 0) + $par4 | 0; $var13 = nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $var10_0, $var11, $var12); $var14 = nms_World_computeLightValue($this, $var10_0, $var11, $var12, $par1EnumSkyBlock); $var7 = $rt_compare($var14, $var13); if (!$var7) { $var5 = $var6; continue; } nms_World_setLightValue($this, $par1EnumSkyBlock, $var10_0, $var11, $var12, $var14); if ($var7 <= 0) { $var5 = $var6; continue; } $var7 = $var10_0 - $par2 | 0; $var15 = $var7 < 0 ? -$var7 | 0 : $var7; $var22 = $var11 - $par3 | 0; $var16 = $var22 < 0 ? -$var22 | 0 : $var22; $var10 = $var12 - $par4 | 0; $var17 = $var10 < 0 ? -$var10 | 0 : $var10; $var23 = $var8 >= ($this.$lightUpdateBlockList.data.length - 6 | 0) ? 0 : 1; if ((($var15 + $var16 | 0) + $var17 | 0) < 17 && $var23) { $var17 = $var10_0 - 1 | 0; if (nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $var17, $var11, $var12) >= $var14) $var15 = $var8; else { var$8 = $this.$lightUpdateBlockList.data; $var15 = $var8 + 1 | 0; var$8[$var8] = ((($var17 - $par2 | 0) + 32 | 0) + (($var22 + 32 | 0) << 6) | 0) + (($var10 + 32 | 0) << 12) | 0; } $var9 = $var10_0 + 1 | 0; if (nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $var9, $var11, $var12) >= $var14) $var16 = $var15; else { var$8 = $this.$lightUpdateBlockList.data; $var16 = $var15 + 1 | 0; var$8[$var15] = ((($var9 - $par2 | 0) + 32 | 0) + (($var22 + 32 | 0) << 6) | 0) + (($var10 + 32 | 0) << 12) | 0; } $var9 = $var11 - 1 | 0; if (nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $var10_0, $var9, $var12) >= $var14) $var15 = $var16; else { var$8 = $this.$lightUpdateBlockList.data; $var15 = $var16 + 1 | 0; var$8[$var16] = (($var7 + 32 | 0) + ((($var9 - $par3 | 0) + 32 | 0) << 6) | 0) + (($var10 + 32 | 0) << 12) | 0; } $var17 = $var11 + 1 | 0; if (nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $var10_0, $var17, $var12) >= $var14) $var8 = $var15; else { var$8 = $this.$lightUpdateBlockList.data; $var8 = $var15 + 1 | 0; var$8[$var15] = (($var7 + 32 | 0) + ((($var17 - $par3 | 0) + 32 | 0) << 6) | 0) + (($var10 + 32 | 0) << 12) | 0; } $var9 = $var12 - 1 | 0; if (nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $var10_0, $var11, $var9) >= $var14) $var17 = $var8; else { var$8 = $this.$lightUpdateBlockList.data; $var17 = $var8 + 1 | 0; var$8[$var8] = (($var7 + 32 | 0) + (($var22 + 32 | 0) << 6) | 0) + ((($var9 - $par4 | 0) + 32 | 0) << 12) | 0; } $var9 = $var12 + 1 | 0; if (nms_World_getSavedLightValue($this, $par1EnumSkyBlock, $var10_0, $var11, $var9) >= $var14) $var8 = $var17; else { var$8 = $this.$lightUpdateBlockList.data; $var8 = $var17 + 1 | 0; var$8[$var17] = (($var7 + 32 | 0) + (($var22 + 32 | 0) << 6) | 0) + ((($var9 - $par4 | 0) + 32 | 0) << 12) | 0; } } $var5 = $var6; } } } }, nms_World_getEntitiesWithinAABBExcludingEntity = ($this, $par1Entity, $par2AxisAlignedBB, $par3IEntitySelector) => { let $var4, var$5, $var5, $var6, $var7, $var8, $var10, var$11, var$12, var$13, var$14, var$15, var$16; $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); var$5 = ($par2AxisAlignedBB.$minX - 2.0) / 16.0; $var5 = var$5 | 0; if (var$5 < $var5) $var5 = $var5 - 1 | 0; var$5 = ($par2AxisAlignedBB.$maxX + 2.0) / 16.0; $var6 = var$5 | 0; if (var$5 < $var6) $var6 = $var6 - 1 | 0; var$5 = ($par2AxisAlignedBB.$minZ - 2.0) / 16.0; $var7 = var$5 | 0; if (var$5 < $var7) $var7 = $var7 - 1 | 0; var$5 = ($par2AxisAlignedBB.$maxZ + 2.0) / 16.0; $var8 = var$5 | 0; if (var$5 < $var8) $var8 = $var8 - 1 | 0; while ($var5 <= $var6) { $var10 = $var7; while ($var10 <= $var8) { var$11 = $this.$chunkProvider; var$12 = var$11.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt($var5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var10), Long_create(4294967295, 0)), 32)); var$14 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); var$15 = var$14 ^ (var$14 >>> 20 | 0) ^ (var$14 >>> 12 | 0); var$14 = var$15 ^ (var$15 >>> 7 | 0) ^ (var$15 >>> 4 | 0); var$16 = var$12.$hashArray.data; var$12 = var$16[var$14 & (var$16.length - 1 | 0)]; a: { while (var$12 !== null) { if (Long_eq(var$12.$key1, var$13)) { var$12 = var$12.$value6; break a; } var$12 = var$12.$nextEntry0; } var$12 = null; } var$12 = var$12; if (var$12 === null) var$12 = var$11.$blankChunk; var$12.$getEntitiesWithinAABBForEntity($par1Entity, $par2AxisAlignedBB, $var4, $par3IEntitySelector); $var10 = $var10 + 1 | 0; } $var5 = $var5 + 1 | 0; } return $var4; }, nms_World_selectEntitiesWithinAABB = ($this, $par1Class, $par2AxisAlignedBB, $par3IEntitySelector) => { let var$4, $var4, $var5, $var6, $var7, $var8, $var10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3IEntitySelector = $thread.pop();$par2AxisAlignedBB = $thread.pop();$par1Class = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = ($par2AxisAlignedBB.$minX - 2.0) / 16.0; $var4 = var$4 | 0; if (var$4 < $var4) $var4 = $var4 - 1 | 0; var$4 = ($par2AxisAlignedBB.$maxX + 2.0) / 16.0; $var5 = var$4 | 0; if (var$4 < $var5) $var5 = $var5 - 1 | 0; var$4 = ($par2AxisAlignedBB.$minZ - 2.0) / 16.0; $var6 = var$4 | 0; if (var$4 < $var6) $var6 = $var6 - 1 | 0; var$4 = ($par2AxisAlignedBB.$maxZ + 2.0) / 16.0; $var7 = var$4 | 0; if (var$4 < $var7) $var7 = $var7 - 1 | 0; $var8 = new ju_ArrayList; $var8.$array = $rt_createArray(jl_Object, 10); while ($var4 <= $var5) { $var10 = $var6; if ($var10 <= $var7) { var$11 = $this.$chunkProvider; var$12 = var$11.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt($var4), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var10), Long_create(4294967295, 0)), 32)); var$14 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); var$14 = var$14 ^ (var$14 >>> 20 | 0) ^ (var$14 >>> 12 | 0); var$15 = var$14 ^ (var$14 >>> 7 | 0) ^ (var$14 >>> 4 | 0); var$16 = var$12.$hashArray.data; var$12 = var$16[var$15 & (var$16.length - 1 | 0)]; a: { while (var$12 !== null) { if (Long_eq(var$12.$key1, var$13)) { var$12 = var$12.$value6; break a; } var$12 = var$12.$nextEntry0; } var$12 = null; } var$12 = var$12; if (var$12 === null) var$12 = var$11.$blankChunk; $ptr = 1; continue main; } $var4 = $var4 + 1 | 0; } return $var8; case 1: var$12.$getEntitiesOfTypeWithinAAAB($par1Class, $par2AxisAlignedBB, $var8, $par3IEntitySelector); if ($rt_suspending()) { break main; } $var10 = $var10 + 1 | 0; while (true) { if ($var10 <= $var7) { var$11 = $this.$chunkProvider; var$12 = var$11.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt($var4), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var10), Long_create(4294967295, 0)), 32)); var$14 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); var$14 = var$14 ^ (var$14 >>> 20 | 0) ^ (var$14 >>> 12 | 0); var$15 = var$14 ^ (var$14 >>> 7 | 0) ^ (var$14 >>> 4 | 0); var$16 = var$12.$hashArray.data; var$12 = var$16[var$15 & (var$16.length - 1 | 0)]; b: { while (var$12 !== null) { if (Long_eq(var$12.$key1, var$13)) { var$12 = var$12.$value6; break b; } var$12 = var$12.$nextEntry0; } var$12 = null; } var$12 = var$12; if (var$12 === null) var$12 = var$11.$blankChunk; continue main; } $var4 = $var4 + 1 | 0; if ($var4 > $var5) break; $var10 = $var6; } return $var8; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Class, $par2AxisAlignedBB, $par3IEntitySelector, var$4, $var4, $var5, $var6, $var7, $var8, $var10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_World_canPlaceEntityOnSide = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity, $par8ItemStack) => { let $var9, var$10, $var10, $var11, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$10 = $thread.pop();$var9 = $thread.pop();$par8ItemStack = $thread.pop();$par7Entity = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var9 = nms_World_getBlockId($this, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data; $var10 = var$10[$var9]; $var11 = var$10[$par1]; $ptr = 1; case 1: $tmp = $var11.$getCollisionBoundingBoxFromPool($this, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($par5) $var12 = null; if ($var12 !== null && !nms_World_checkNoEntityCollision($this, $var12, $par7Entity)) return 0; if ($var10 !== null && !($var10 !== nms_Block_waterMoving && $var10 !== nms_Block_waterStill && $var10 !== nms_Block_lavaMoving && $var10 !== nms_Block_lavaStill && $var10 !== nms_Block_fire && !$var10.$blockMaterial.$replaceable)) $var10 = null; a: { if ($var10 !== null) { $par7Entity = $var10.$blockMaterial; nms_Material_$callClinit(); if ($par7Entity === nms_Material_circuits && $var11 === nms_Block_anvil) { $par1 = 1; break a; } } if ($par1 > 0 && $var10 === null && $var11.$canPlaceBlockOnSide($this, $par2, $par3, $par4, $par6)) $par1 = 1; else $par1 = 0; } return $par1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity, $par8ItemStack, $var9, var$10, $var10, $var11, $var12, $ptr); }, nms_World_getPathEntityToEntity = ($this, $par1Entity, $par2Entity, $par3, $par4, $par5, $par6, $par7) => { let var$8, $var8, var$10, $var9, $var10, $var11, $var12, $var13, $var14, $var15, $var16, $var17, $var18, $var19, var$22; var$8 = $par1Entity.$posX; $var8 = var$8 | 0; if (var$8 < $var8) $var8 = $var8 - 1 | 0; var$10 = $par1Entity.$posY + 1.0; $var9 = var$10 | 0; if (var$10 < $var9) $var9 = $var9 - 1 | 0; var$10 = $par1Entity.$posZ; $var10 = var$10 | 0; if (var$10 < $var10) $var10 = $var10 - 1 | 0; $var11 = $par3 + 16.0 | 0; $var12 = $var8 - $var11 | 0; $var13 = $var9 - $var11 | 0; $var14 = $var10 - $var11 | 0; $var15 = $var8 + $var11 | 0; $var16 = $var9 + $var11 | 0; $var17 = $var10 + $var11 | 0; $var18 = nms_ChunkCache__init_($this, $var12, $var13, $var14, $var15, $var16, $var17, 0); $var19 = new nms_PathFinder; var$22 = new nms_Path; var$22.$pathPoints = $rt_createArray(nms_PathPoint, 1024); $var19.$path1 = var$22; $var19.$pointMap = nms_IntHashMap__init_(); $var19.$pathOptions = $rt_createArray(nms_PathPoint, 32); $var19.$worldMap = $var18; $var19.$isWoddenDoorAllowed = $par4; $var19.$isMovementBlockAllowed = $par5; $var19.$isPathingInWater = $par6; $var19.$canEntityDrown = $par7; return nms_PathFinder_createEntityPathTo($var19, $par1Entity, $par2Entity.$posX, $par2Entity.$boundingBox.$minY, $par2Entity.$posZ, $par3); }, nms_World_getEntityPathToXYZ = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { let var$10, $var10, $var11, $var12, $var13, $var14, $var15, $var16, $var17, $var18, $var19, $var20, $var21, var$23; var$10 = $par1Entity.$posX; $var10 = var$10 | 0; if (var$10 < $var10) $var10 = $var10 - 1 | 0; var$10 = $par1Entity.$posY; $var11 = var$10 | 0; if (var$10 < $var11) $var11 = $var11 - 1 | 0; var$10 = $par1Entity.$posZ; $var12 = var$10 | 0; if (var$10 < $var12) $var12 = $var12 - 1 | 0; $var13 = $par5 + 8.0 | 0; $var14 = $var10 - $var13 | 0; $var15 = $var11 - $var13 | 0; $var16 = $var12 - $var13 | 0; $var17 = $var10 + $var13 | 0; $var18 = $var11 + $var13 | 0; $var19 = $var12 + $var13 | 0; $var20 = nms_ChunkCache__init_($this, $var14, $var15, $var16, $var17, $var18, $var19, 0); $var21 = new nms_PathFinder; var$23 = new nms_Path; var$23.$pathPoints = $rt_createArray(nms_PathPoint, 1024); $var21.$path1 = var$23; $var21.$pointMap = nms_IntHashMap__init_(); $var21.$pathOptions = $rt_createArray(nms_PathPoint, 32); $var21.$worldMap = $var20; $var21.$isWoddenDoorAllowed = $par6; $var21.$isMovementBlockAllowed = $par7; $var21.$isPathingInWater = $par8; $var21.$canEntityDrown = $par9; return nms_PathFinder_createEntityPathTo($var21, $par1Entity, $par2 + 0.5, $par3 + 0.5, $par4 + 0.5, $par5); }, nms_World_isBlockProvidingPowerTo = ($this, $par1, $par2, $par3, $par4) => { let $var5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_World_getBlockId($this, $par1, $par2, $par3); if (!$var5) return 0; nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[$var5]; $ptr = 1; case 1: $tmp = var$6.$isProvidingStrongPower($this, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1 = $tmp; return $par1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $var5, var$6, $ptr); }, nms_World_getBlockPowerInput = ($this, $par1, $par2, $par3) => { let $var5, var$5, var$6, $var5_0, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$var5_0 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var5 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = 0; var$5 = $par2 - 1 | 0; var$6 = 0; $var5_0 = nms_World_getBlockId($this, $par1, var$5, $par3); if ($var5_0) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var5_0]; $ptr = 1; continue main; } $var5_0 = 0; if ($var5 > $var5_0) $var5_0 = $var5; if ($var5_0 >= 15) return $var5_0; var$6 = $par2 + 1 | 0; var$5 = 1; $var5 = nms_World_getBlockId($this, $par1, var$6, $par3); if ($var5) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var5]; $ptr = 2; continue main; } var$6 = 0; if ($var5_0 > var$6) var$6 = $var5_0; if (var$6 >= 15) return var$6; var$5 = $par3 - 1 | 0; $var5_0 = 2; $var5 = nms_World_getBlockId($this, $par1, $par2, var$5); if ($var5) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var5]; $ptr = 3; continue main; } var$5 = 0; if (var$6 > var$5) var$5 = var$6; if (var$5 >= 15) return var$5; $var5_0 = $par3 + 1 | 0; $var5 = 3; var$6 = nms_World_getBlockId($this, $par1, $par2, $var5_0); if (var$6) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; $ptr = 4; continue main; } $var5_0 = 0; if (var$5 > $var5_0) $var5_0 = var$5; if ($var5_0 >= 15) return $var5_0; $var5 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, $var5, $par2, $par3); if (var$5) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; $ptr = 5; continue main; } var$5 = 0; if ($var5_0 > var$5) var$5 = $var5_0; if (var$5 >= 15) return var$5; $par1 = $par1 + 1 | 0; $var5 = 5; var$6 = nms_World_getBlockId($this, $par1, $par2, $par3); if (!var$6) { $par2 = 0; if (var$5 > $par2) $par2 = var$5; return $par2; } nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; $ptr = 6; continue main; case 1: $tmp = var$8.$isProvidingStrongPower($this, $par1, var$5, $par3, var$6); if ($rt_suspending()) { break main; } $var5_0 = $tmp; if ($var5 > $var5_0) $var5_0 = $var5; if ($var5_0 >= 15) return $var5_0; var$6 = $par2 + 1 | 0; var$5 = 1; $var5 = nms_World_getBlockId($this, $par1, var$6, $par3); if ($var5) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var5]; $ptr = 2; continue main; } var$6 = 0; if ($var5_0 > var$6) var$6 = $var5_0; if (var$6 >= 15) return var$6; var$5 = $par3 - 1 | 0; $var5_0 = 2; $var5 = nms_World_getBlockId($this, $par1, $par2, var$5); if ($var5) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var5]; $ptr = 3; continue main; } var$5 = 0; if (var$6 > var$5) var$5 = var$6; if (var$5 >= 15) return var$5; $var5_0 = $par3 + 1 | 0; $var5 = 3; var$6 = nms_World_getBlockId($this, $par1, $par2, $var5_0); if (var$6) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; $ptr = 4; continue main; } $var5_0 = 0; if (var$5 > $var5_0) $var5_0 = var$5; if ($var5_0 >= 15) return $var5_0; $var5 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, $var5, $par2, $par3); if (var$5) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; $ptr = 5; continue main; } var$5 = 0; if ($var5_0 > var$5) var$5 = $var5_0; if (var$5 >= 15) return var$5; $par1 = $par1 + 1 | 0; $var5 = 5; var$6 = nms_World_getBlockId($this, $par1, $par2, $par3); if (!var$6) { $par2 = 0; if (var$5 > $par2) $par2 = var$5; return $par2; } nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; $ptr = 6; continue main; case 2: $tmp = var$8.$isProvidingStrongPower($this, $par1, var$6, $par3, var$5); if ($rt_suspending()) { break main; } var$6 = $tmp; if ($var5_0 > var$6) var$6 = $var5_0; if (var$6 >= 15) return var$6; var$5 = $par3 - 1 | 0; $var5_0 = 2; $var5 = nms_World_getBlockId($this, $par1, $par2, var$5); if ($var5) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var5]; $ptr = 3; continue main; } var$5 = 0; if (var$6 > var$5) var$5 = var$6; if (var$5 >= 15) return var$5; $var5_0 = $par3 + 1 | 0; $var5 = 3; var$6 = nms_World_getBlockId($this, $par1, $par2, $var5_0); if (var$6) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; $ptr = 4; continue main; } $var5_0 = 0; if (var$5 > $var5_0) $var5_0 = var$5; if ($var5_0 >= 15) return $var5_0; $var5 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, $var5, $par2, $par3); if (var$5) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; $ptr = 5; continue main; } var$5 = 0; if ($var5_0 > var$5) var$5 = $var5_0; if (var$5 >= 15) return var$5; $par1 = $par1 + 1 | 0; $var5 = 5; var$6 = nms_World_getBlockId($this, $par1, $par2, $par3); if (!var$6) { $par2 = 0; if (var$5 > $par2) $par2 = var$5; return $par2; } nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; $ptr = 6; continue main; case 3: $tmp = var$8.$isProvidingStrongPower($this, $par1, $par2, var$5, $var5_0); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$6 > var$5) var$5 = var$6; if (var$5 >= 15) return var$5; $var5_0 = $par3 + 1 | 0; $var5 = 3; var$6 = nms_World_getBlockId($this, $par1, $par2, $var5_0); if (var$6) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; $ptr = 4; continue main; } $var5_0 = 0; if (var$5 > $var5_0) $var5_0 = var$5; if ($var5_0 >= 15) return $var5_0; $var5 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, $var5, $par2, $par3); if (var$5) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; $ptr = 5; continue main; } var$5 = 0; if ($var5_0 > var$5) var$5 = $var5_0; if (var$5 >= 15) return var$5; $par1 = $par1 + 1 | 0; $var5 = 5; var$6 = nms_World_getBlockId($this, $par1, $par2, $par3); if (!var$6) { $par2 = 0; if (var$5 > $par2) $par2 = var$5; return $par2; } nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; $ptr = 6; continue main; case 4: $tmp = var$8.$isProvidingStrongPower($this, $par1, $par2, $var5_0, $var5); if ($rt_suspending()) { break main; } $var5_0 = $tmp; if (var$5 > $var5_0) $var5_0 = var$5; if ($var5_0 >= 15) return $var5_0; $var5 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, $var5, $par2, $par3); if (var$5) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; $ptr = 5; continue main; } var$5 = 0; if ($var5_0 > var$5) var$5 = $var5_0; if (var$5 >= 15) return var$5; $par1 = $par1 + 1 | 0; $var5 = 5; var$6 = nms_World_getBlockId($this, $par1, $par2, $par3); if (!var$6) { $par2 = 0; if (var$5 > $par2) $par2 = var$5; return $par2; } nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; $ptr = 6; continue main; case 5: $tmp = var$8.$isProvidingStrongPower($this, $var5, $par2, $par3, var$6); if ($rt_suspending()) { break main; } var$5 = $tmp; if ($var5_0 > var$5) var$5 = $var5_0; if (var$5 >= 15) return var$5; $par1 = $par1 + 1 | 0; $var5 = 5; var$6 = nms_World_getBlockId($this, $par1, $par2, $par3); if (!var$6) { $par2 = 0; if (var$5 > $par2) $par2 = var$5; return $par2; } nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; $ptr = 6; case 6: $tmp = var$8.$isProvidingStrongPower($this, $par1, $par2, $par3, $var5); if ($rt_suspending()) { break main; } $par2 = $tmp; if (var$5 > $par2) $par2 = var$5; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var5, var$5, var$6, $var5_0, var$8, $ptr); }, nms_World_isBlockIndirectlyGettingPowered = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $par2 - 1 | 0; var$5 = 0; var$6 = nms_World_getBlockId($this, $par1, var$4, $par3); nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 1; continue main; } var$6 = nms_World_getBlockId($this, $par1, var$4, $par3); if (var$6) { var$7 = nms_Block_blocksList.data[var$6]; $ptr = 2; continue main; } if (0 > 0) $par1 = 1; else { var$5 = $par2 + 1 | 0; var$4 = 1; var$6 = nms_World_getBlockId($this, $par1, var$5, $par3); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 3; continue main; } var$6 = nms_World_getBlockId($this, $par1, var$5, $par3); if (var$6) { var$7 = nms_Block_blocksList.data[var$6]; $ptr = 4; continue main; } if (0 > 0) $par1 = 1; else { var$4 = $par3 - 1 | 0; var$6 = 2; var$5 = nms_World_getBlockId($this, $par1, $par2, var$4); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 5; continue main; } var$5 = nms_World_getBlockId($this, $par1, $par2, var$4); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 6; continue main; } if (0 > 0) $par1 = 1; else { var$6 = $par3 + 1 | 0; var$4 = 3; var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 7; continue main; } var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 8; continue main; } if (0 > 0) $par1 = 1; else { var$4 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 9; continue main; } var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 10; continue main; } if (0 > 0) $par1 = 1; else { var$5 = $par1 + 1 | 0; var$4 = 5; $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); var$7 = nms_Block_blocksList.data[$par1]; if (var$7 === null) $par1 = 0; else { var$8 = var$7.$blockMaterial; $par1 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par1 = $par1 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if ($par1) { $ptr = 11; continue main; } $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); if ($par1) { var$7 = nms_Block_blocksList.data[$par1]; $ptr = 12; continue main; } $par1 = 0 <= 0 ? 0 : 1; } } } } } return $par1; case 1: $tmp = nms_World_getBlockPowerInput($this, $par1, var$4, $par3); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 > 0) $par1 = 1; else { var$5 = $par2 + 1 | 0; var$4 = 1; var$6 = nms_World_getBlockId($this, $par1, var$5, $par3); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 3; continue main; } var$6 = nms_World_getBlockId($this, $par1, var$5, $par3); if (var$6) { var$7 = nms_Block_blocksList.data[var$6]; $ptr = 4; continue main; } if (0 > 0) $par1 = 1; else { var$4 = $par3 - 1 | 0; var$6 = 2; var$5 = nms_World_getBlockId($this, $par1, $par2, var$4); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 5; continue main; } var$5 = nms_World_getBlockId($this, $par1, $par2, var$4); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 6; continue main; } if (0 > 0) $par1 = 1; else { var$6 = $par3 + 1 | 0; var$4 = 3; var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 7; continue main; } var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 8; continue main; } if (0 > 0) $par1 = 1; else { var$4 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 9; continue main; } var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 10; continue main; } if (0 > 0) $par1 = 1; else { var$5 = $par1 + 1 | 0; var$4 = 5; $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); var$7 = nms_Block_blocksList.data[$par1]; if (var$7 === null) $par1 = 0; else { var$8 = var$7.$blockMaterial; $par1 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par1 = $par1 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if ($par1) { $ptr = 11; continue main; } $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); if ($par1) { var$7 = nms_Block_blocksList.data[$par1]; $ptr = 12; continue main; } $par1 = 0 <= 0 ? 0 : 1; } } } } } return $par1; case 2: $tmp = var$7.$isProvidingWeakPower($this, $par1, var$4, $par3, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 > 0) $par1 = 1; else { var$5 = $par2 + 1 | 0; var$4 = 1; var$6 = nms_World_getBlockId($this, $par1, var$5, $par3); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 3; continue main; } var$6 = nms_World_getBlockId($this, $par1, var$5, $par3); if (var$6) { var$7 = nms_Block_blocksList.data[var$6]; $ptr = 4; continue main; } if (0 > 0) $par1 = 1; else { var$4 = $par3 - 1 | 0; var$6 = 2; var$5 = nms_World_getBlockId($this, $par1, $par2, var$4); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 5; continue main; } var$5 = nms_World_getBlockId($this, $par1, $par2, var$4); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 6; continue main; } if (0 > 0) $par1 = 1; else { var$6 = $par3 + 1 | 0; var$4 = 3; var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 7; continue main; } var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 8; continue main; } if (0 > 0) $par1 = 1; else { var$4 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 9; continue main; } var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 10; continue main; } if (0 > 0) $par1 = 1; else { var$5 = $par1 + 1 | 0; var$4 = 5; $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); var$7 = nms_Block_blocksList.data[$par1]; if (var$7 === null) $par1 = 0; else { var$8 = var$7.$blockMaterial; $par1 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par1 = $par1 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if ($par1) { $ptr = 11; continue main; } $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); if ($par1) { var$7 = nms_Block_blocksList.data[$par1]; $ptr = 12; continue main; } $par1 = 0 <= 0 ? 0 : 1; } } } } } return $par1; case 3: $tmp = nms_World_getBlockPowerInput($this, $par1, var$5, $par3); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 > 0) $par1 = 1; else { var$4 = $par3 - 1 | 0; var$6 = 2; var$5 = nms_World_getBlockId($this, $par1, $par2, var$4); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 5; continue main; } var$5 = nms_World_getBlockId($this, $par1, $par2, var$4); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 6; continue main; } if (0 > 0) $par1 = 1; else { var$6 = $par3 + 1 | 0; var$4 = 3; var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 7; continue main; } var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 8; continue main; } if (0 > 0) $par1 = 1; else { var$4 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 9; continue main; } var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 10; continue main; } if (0 > 0) $par1 = 1; else { var$5 = $par1 + 1 | 0; var$4 = 5; $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); var$7 = nms_Block_blocksList.data[$par1]; if (var$7 === null) $par1 = 0; else { var$8 = var$7.$blockMaterial; $par1 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par1 = $par1 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if ($par1) { $ptr = 11; continue main; } $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); if ($par1) { var$7 = nms_Block_blocksList.data[$par1]; $ptr = 12; continue main; } $par1 = 0 <= 0 ? 0 : 1; } } } } return $par1; case 4: $tmp = var$7.$isProvidingWeakPower($this, $par1, var$5, $par3, var$4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 > 0) $par1 = 1; else { var$4 = $par3 - 1 | 0; var$6 = 2; var$5 = nms_World_getBlockId($this, $par1, $par2, var$4); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 5; continue main; } var$5 = nms_World_getBlockId($this, $par1, $par2, var$4); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 6; continue main; } if (0 > 0) $par1 = 1; else { var$6 = $par3 + 1 | 0; var$4 = 3; var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 7; continue main; } var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 8; continue main; } if (0 > 0) $par1 = 1; else { var$4 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 9; continue main; } var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 10; continue main; } if (0 > 0) $par1 = 1; else { var$5 = $par1 + 1 | 0; var$4 = 5; $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); var$7 = nms_Block_blocksList.data[$par1]; if (var$7 === null) $par1 = 0; else { var$8 = var$7.$blockMaterial; $par1 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par1 = $par1 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if ($par1) { $ptr = 11; continue main; } $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); if ($par1) { var$7 = nms_Block_blocksList.data[$par1]; $ptr = 12; continue main; } $par1 = 0 <= 0 ? 0 : 1; } } } } return $par1; case 5: $tmp = nms_World_getBlockPowerInput($this, $par1, $par2, var$4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 > 0) $par1 = 1; else { var$6 = $par3 + 1 | 0; var$4 = 3; var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 7; continue main; } var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 8; continue main; } if (0 > 0) $par1 = 1; else { var$4 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 9; continue main; } var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 10; continue main; } if (0 > 0) $par1 = 1; else { var$5 = $par1 + 1 | 0; var$4 = 5; $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); var$7 = nms_Block_blocksList.data[$par1]; if (var$7 === null) $par1 = 0; else { var$8 = var$7.$blockMaterial; $par1 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par1 = $par1 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if ($par1) { $ptr = 11; continue main; } $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); if ($par1) { var$7 = nms_Block_blocksList.data[$par1]; $ptr = 12; continue main; } $par1 = 0 <= 0 ? 0 : 1; } } } return $par1; case 6: $tmp = var$7.$isProvidingWeakPower($this, $par1, $par2, var$4, var$6); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 > 0) $par1 = 1; else { var$6 = $par3 + 1 | 0; var$4 = 3; var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 7; continue main; } var$5 = nms_World_getBlockId($this, $par1, $par2, var$6); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 8; continue main; } if (0 > 0) $par1 = 1; else { var$4 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 9; continue main; } var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 10; continue main; } if (0 > 0) $par1 = 1; else { var$5 = $par1 + 1 | 0; var$4 = 5; $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); var$7 = nms_Block_blocksList.data[$par1]; if (var$7 === null) $par1 = 0; else { var$8 = var$7.$blockMaterial; $par1 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par1 = $par1 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if ($par1) { $ptr = 11; continue main; } $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); if ($par1) { var$7 = nms_Block_blocksList.data[$par1]; $ptr = 12; continue main; } $par1 = 0 <= 0 ? 0 : 1; } } } return $par1; case 7: $tmp = nms_World_getBlockPowerInput($this, $par1, $par2, var$6); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 > 0) $par1 = 1; else { var$4 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 9; continue main; } var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 10; continue main; } if (0 > 0) $par1 = 1; else { var$5 = $par1 + 1 | 0; var$4 = 5; $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); var$7 = nms_Block_blocksList.data[$par1]; if (var$7 === null) $par1 = 0; else { var$8 = var$7.$blockMaterial; $par1 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par1 = $par1 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if ($par1) { $ptr = 11; continue main; } $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); if ($par1) { var$7 = nms_Block_blocksList.data[$par1]; $ptr = 12; continue main; } $par1 = 0 <= 0 ? 0 : 1; } } return $par1; case 8: $tmp = var$7.$isProvidingWeakPower($this, $par1, $par2, var$6, var$4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 > 0) $par1 = 1; else { var$4 = $par1 - 1 | 0; var$6 = 4; var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); var$7 = nms_Block_blocksList.data[var$5]; if (var$7 === null) var$5 = 0; else { var$8 = var$7.$blockMaterial; var$5 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$5 = var$5 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$5) { $ptr = 9; continue main; } var$5 = nms_World_getBlockId($this, var$4, $par2, $par3); if (var$5) { var$7 = nms_Block_blocksList.data[var$5]; $ptr = 10; continue main; } if (0 > 0) $par1 = 1; else { var$5 = $par1 + 1 | 0; var$4 = 5; $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); var$7 = nms_Block_blocksList.data[$par1]; if (var$7 === null) $par1 = 0; else { var$8 = var$7.$blockMaterial; $par1 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par1 = $par1 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if ($par1) { $ptr = 11; continue main; } $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); if ($par1) { var$7 = nms_Block_blocksList.data[$par1]; $ptr = 12; continue main; } $par1 = 0 <= 0 ? 0 : 1; } } return $par1; case 9: $tmp = nms_World_getBlockPowerInput($this, var$4, $par2, $par3); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 > 0) $par1 = 1; else { var$5 = $par1 + 1 | 0; var$4 = 5; $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); var$7 = nms_Block_blocksList.data[$par1]; if (var$7 === null) $par1 = 0; else { var$8 = var$7.$blockMaterial; $par1 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par1 = $par1 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if ($par1) { $ptr = 11; continue main; } $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); if ($par1) { var$7 = nms_Block_blocksList.data[$par1]; $ptr = 12; continue main; } $par1 = 0 <= 0 ? 0 : 1; } return $par1; case 10: $tmp = var$7.$isProvidingWeakPower($this, var$4, $par2, $par3, var$6); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 > 0) $par1 = 1; else { var$5 = $par1 + 1 | 0; var$4 = 5; $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); var$7 = nms_Block_blocksList.data[$par1]; if (var$7 === null) $par1 = 0; else { var$8 = var$7.$blockMaterial; $par1 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par1 = $par1 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if ($par1) { $ptr = 11; continue main; } $par1 = nms_World_getBlockId($this, var$5, $par2, $par3); if ($par1) { var$7 = nms_Block_blocksList.data[$par1]; $ptr = 12; continue main; } $par1 = 0 <= 0 ? 0 : 1; } return $par1; case 11: $tmp = nms_World_getBlockPowerInput($this, var$5, $par2, $par3); if ($rt_suspending()) { break main; } $par1 = $tmp; return $par1 <= 0 ? 0 : 1; case 12: $tmp = var$7.$isProvidingWeakPower($this, var$5, $par2, $par3, var$4); if ($rt_suspending()) { break main; } $par1 = $tmp; return $par1 <= 0 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_World_getStrongestIndirectPower = ($this, $par1, $par2, $par3) => { let $var4, $var5, $var6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = 0; $var5 = 0; while ($var5 < 6) { $var6 = $par1 + nms_Facing_offsetsXForSide.data[$var5] | 0; var$7 = $par2 + nms_Facing_offsetsYForSide.data[$var5] | 0; var$8 = $par3 + nms_Facing_offsetsZForSide.data[$var5] | 0; var$9 = nms_World_getBlockId($this, $var6, var$7, var$8); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$9]; if (var$10 === null) var$9 = 0; else { var$11 = var$10.$blockMaterial; var$9 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; var$9 = var$9 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (var$9) { $ptr = 1; continue main; } var$9 = nms_World_getBlockId($this, $var6, var$7, var$8); if (var$9) { var$10 = nms_Block_blocksList.data[var$9]; $ptr = 2; continue main; } if (0 >= 15) return 15; if (0 > $var4) $var4 = 0; $var5 = $var5 + 1 | 0; } return $var4; case 1: $tmp = nms_World_getBlockPowerInput($this, $var6, var$7, var$8); if ($rt_suspending()) { break main; } $var6 = $tmp; while (true) { if ($var6 >= 15) return 15; if ($var6 > $var4) $var4 = $var6; $var5 = $var5 + 1 | 0; if ($var5 >= 6) break; $var6 = $par1 + nms_Facing_offsetsXForSide.data[$var5] | 0; var$7 = $par2 + nms_Facing_offsetsYForSide.data[$var5] | 0; var$8 = $par3 + nms_Facing_offsetsZForSide.data[$var5] | 0; var$9 = nms_World_getBlockId($this, $var6, var$7, var$8); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$9]; if (var$10 === null) var$9 = 0; else { var$11 = var$10.$blockMaterial; var$9 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; var$9 = var$9 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (var$9) { continue main; } var$9 = nms_World_getBlockId($this, $var6, var$7, var$8); if (var$9) { var$10 = nms_Block_blocksList.data[var$9]; $ptr = 2; continue main; } $var6 = 0; } return $var4; case 2: $tmp = var$10.$isProvidingWeakPower($this, $var6, var$7, var$8, $var5); if ($rt_suspending()) { break main; } $var6 = $tmp; while (true) { if ($var6 >= 15) return 15; if ($var6 > $var4) $var4 = $var6; $var5 = $var5 + 1 | 0; if ($var5 >= 6) break; $var6 = $par1 + nms_Facing_offsetsXForSide.data[$var5] | 0; var$7 = $par2 + nms_Facing_offsetsYForSide.data[$var5] | 0; var$8 = $par3 + nms_Facing_offsetsZForSide.data[$var5] | 0; var$9 = nms_World_getBlockId($this, $var6, var$7, var$8); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$9]; if (var$10 === null) var$9 = 0; else { var$11 = var$10.$blockMaterial; var$9 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; var$9 = var$9 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (var$9) { $ptr = 1; continue main; } var$9 = nms_World_getBlockId($this, $var6, var$7, var$8); if (var$9) { var$10 = nms_Block_blocksList.data[var$9]; continue main; } $var6 = 0; } return $var4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var5, $var6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_World_getClosestPlayer = ($this, $par1, $par3, $par5, $par7) => { let $var9, $var11, $var12, var$8, $var13, var$10, $var14, var$12, var$13; $var9 = (-1.0); $var11 = null; $var12 = 0; var$8 = $rt_compare($par7, 0.0); $par7 = $par7 * $par7; a: { while (true) { $var13 = $this.$playerEntities; var$10 = $rt_compare($var12, $var13.$size0); if (var$10 >= 0) break; if ($var12 < 0) break a; if (var$10 >= 0) break a; $var13 = $var13.$array.data[$var12]; $var14 = $var13.$posX - $par1; var$12 = $var13.$posY - $par3; var$13 = $var13.$posZ - $par5; $var14 = $var14 * $var14 + var$12 * var$12 + var$13 * var$13; if (!(var$8 >= 0 && $var14 >= $par7) && !($var9 !== (-1.0) && $var14 >= $var9)) { $var9 = $var14; $var11 = $var13; } $var12 = $var12 + 1 | 0; } return $var11; } $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); }, nms_World_getClosestVulnerablePlayer = ($this, $par1, $par3, $par5, $par7) => { let $var9, $var11, $var12, var$8, var$9, $var13, var$11, var$12, var$13, $var14, $var18; $var9 = (-1.0); $var11 = null; $var12 = 0; var$8 = $par7 * 0.800000011920929; var$9 = $rt_compare($par7, 0.0); a: { while (true) { $var13 = $this.$playerEntities; var$11 = $rt_compare($var12, $var13.$size0); if (var$11 >= 0) break; if ($var12 < 0) break a; if (var$11 >= 0) break a; $var13 = $var13.$array.data[$var12]; if (!$var13.$capabilities.$disableDamage && nms_EntityLivingBase_isEntityAlive($var13)) { var$12 = $var13.$posX - $par1; var$13 = $var13.$posY - $par3; $var14 = $var13.$posZ - $par5; $var14 = var$12 * var$12 + var$13 * var$13 + $var14 * $var14; var$12 = $var13.$isSneaking() ? var$8 : $par7; if (nms_Entity_getFlag($var13, 5)) { $var18 = nms_EntityPlayer_getArmorVisibility($var13); if ($var18 < 0.10000000149011612) $var18 = 0.10000000149011612; var$12 = var$12 * 0.699999988079071 * $var18; } if (!(var$9 >= 0 && $var14 >= var$12 * var$12) && !($var9 !== (-1.0) && $var14 >= $var9)) { $var9 = $var14; $var11 = $var13; } } $var12 = $var12 + 1 | 0; } return $var11; } $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); }, nms_World_getPlayerEntityByName = ($this, $par1Str) => { let $var2, var$3, var$4; $var2 = 0; a: { while (true) { var$3 = $this.$playerEntities; var$4 = $rt_compare($var2, var$3.$size0); if (var$4 >= 0) break; if ($var2 < 0) break a; if (var$4 >= 0) break a; var$3 = var$3.$array.data[$var2].$username; if ($par1Str === var$3) var$4 = 1; else if (!(var$3 instanceof jl_String)) var$4 = 0; else { var$3 = var$3; var$4 = $par1Str.$nativeString !== var$3.$nativeString ? 0 : 1; } if (var$4) { $par1Str = $this.$playerEntities; if ($var2 >= 0 && $var2 < $par1Str.$size0) return $par1Str.$array.data[$var2]; $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $var2 = $var2 + 1 | 0; } return null; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); }, nms_World_joinEntityInSurroundings = ($this, $par1Entity) => { let var$2, $var2, $var3, $var5, var$6, var$7, var$8, $var6, var$10, var$11, $var4, var$13, var$14; var$2 = $par1Entity.$posX / 16.0; $var2 = var$2 | 0; if (var$2 < $var2) $var2 = $var2 - 1 | 0; var$2 = $par1Entity.$posZ / 16.0; $var3 = var$2 | 0; if (var$2 < $var3) $var3 = $var3 - 1 | 0; $var5 = $var2 - 2 | 0; var$6 = $var2 + 2 | 0; var$7 = $var3 - 2 | 0; var$8 = $var3 + 2 | 0; while ($var5 <= var$6) { $var6 = var$7; while ($var6 <= var$8) { var$10 = $this.$chunkProvider.$chunkMapping; var$11 = Long_or(Long_and(Long_fromInt($var5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var6), Long_create(4294967295, 0)), 32)); $var4 = Long_lo(Long_xor(var$11, Long_shru(var$11, 32))); $var4 = $var4 ^ ($var4 >>> 20 | 0) ^ ($var4 >>> 12 | 0); $var4 = $var4 ^ ($var4 >>> 7 | 0) ^ ($var4 >>> 4 | 0); var$13 = var$10.$hashArray.data; var$10 = var$13[$var4 & (var$13.length - 1 | 0)]; a: { while (var$10 !== null) { if (Long_eq(var$10.$key1, var$11)) { var$10 = var$10.$value6; break a; } var$10 = var$10.$nextEntry0; } var$10 = null; } $var6 = $var6 + 1 | 0; } $var5 = $var5 + 1 | 0; } var$10 = $this.$loadedEntityList; var$6 = 0; $var3 = var$10.$modCount; $var2 = var$10.$size(); b: { while (true) { if (!(var$6 >= $var2 ? 0 : 1)) { $var4 = 0; break b; } if ($var3 < var$10.$modCount) break; $var5 = var$6 + 1 | 0; var$14 = var$10.$get(var$6); if (var$14 === $par1Entity ? 1 : var$14 !== null ? var$14.$equals($par1Entity) : $par1Entity !== null ? 0 : 1) { $var4 = 1; break b; } var$6 = $var5; } $par1Entity = new ju_ConcurrentModificationException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } if (!$var4) { var$10 = $this.$loadedEntityList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$13 = var$10.$array.data; $var5 = var$10.$size0; var$10.$size0 = $var5 + 1 | 0; var$13[$var5] = $par1Entity; var$10.$modCount = var$10.$modCount + 1 | 0; } }, nms_World_getHeight = $this => { return 256; }, nms_World_getWorldVec3Pool = $this => { return $this.$vecPool; }, nms_World_getScoreboard = $this => { return $this.$worldScoreboard; }, nms_World_func_96440_m = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, var$9, $var9, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var9 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = 0; while ($var5 < 4) { $var6 = $par1 + nms_Direction_offsetX.data[$var5] | 0; $var7 = $par3 + nms_Direction_offsetZ.data[$var5] | 0; $var8 = nms_World_getBlockId($this, $var6, $par2, $var7); if ($var8) { nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data; $var9 = var$9[$var8]; if ($var8 != nms_Block_redstoneComparatorActive.$blockID && $var8 != nms_Block_redstoneComparatorIdle.$blockID ? 0 : 1) { $ptr = 1; continue main; } var$11 = var$9[$var8]; if (var$11 === null) var$12 = 0; else { $var9 = var$11.$blockMaterial; var$12 = !$var9.$isTranslucent ? $var9.$blocksMovement() : 0; var$12 = var$12 && var$11.$renderAsNormalBlock() && !var$11.$canProvidePower() ? 1 : 0; } if (var$12) { $var8 = $var6 + nms_Direction_offsetX.data[$var5] | 0; $var6 = $var7 + nms_Direction_offsetZ.data[$var5] | 0; $var7 = nms_World_getBlockId($this, $var8, $par2, $var6); var$11 = nms_Block_blocksList.data[$var7]; if ($var7 != nms_Block_redstoneComparatorActive.$blockID && $var7 != nms_Block_redstoneComparatorIdle.$blockID ? 0 : 1) { $ptr = 2; continue main; } } } $var5 = $var5 + 1 | 0; } return; case 1: $var9.$onNeighborBlockChange($this, $var6, $par2, $var7, $par4); if ($rt_suspending()) { break main; } while (true) { $var5 = $var5 + 1 | 0; if ($var5 >= 4) break; $var6 = $par1 + nms_Direction_offsetX.data[$var5] | 0; $var7 = $par3 + nms_Direction_offsetZ.data[$var5] | 0; $var8 = nms_World_getBlockId($this, $var6, $par2, $var7); if (!$var8) continue; nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data; $var9 = var$9[$var8]; if ($var8 != nms_Block_redstoneComparatorActive.$blockID && $var8 != nms_Block_redstoneComparatorIdle.$blockID ? 0 : 1) { continue main; } var$11 = var$9[$var8]; if (var$11 === null) var$12 = 0; else { $var9 = var$11.$blockMaterial; var$12 = !$var9.$isTranslucent ? $var9.$blocksMovement() : 0; var$12 = var$12 && var$11.$renderAsNormalBlock() && !var$11.$canProvidePower() ? 1 : 0; } if (!var$12) continue; $var8 = $var6 + nms_Direction_offsetX.data[$var5] | 0; $var6 = $var7 + nms_Direction_offsetZ.data[$var5] | 0; $var7 = nms_World_getBlockId($this, $var8, $par2, $var6); var$11 = nms_Block_blocksList.data[$var7]; if (!($var7 != nms_Block_redstoneComparatorActive.$blockID && $var7 != nms_Block_redstoneComparatorIdle.$blockID ? 0 : 1)) continue; else { $ptr = 2; continue main; } } return; case 2: var$11.$onNeighborBlockChange($this, $var8, $par2, $var6, $par4); if ($rt_suspending()) { break main; } while (true) { $var5 = $var5 + 1 | 0; if ($var5 >= 4) break; $var6 = $par1 + nms_Direction_offsetX.data[$var5] | 0; $var7 = $par3 + nms_Direction_offsetZ.data[$var5] | 0; $var8 = nms_World_getBlockId($this, $var6, $par2, $var7); if (!$var8) continue; nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data; $var9 = var$9[$var8]; if ($var8 != nms_Block_redstoneComparatorActive.$blockID && $var8 != nms_Block_redstoneComparatorIdle.$blockID ? 0 : 1) { $ptr = 1; continue main; } var$11 = var$9[$var8]; if (var$11 === null) var$12 = 0; else { $var9 = var$11.$blockMaterial; var$12 = !$var9.$isTranslucent ? $var9.$blocksMovement() : 0; var$12 = var$12 && var$11.$renderAsNormalBlock() && !var$11.$canProvidePower() ? 1 : 0; } if (!var$12) continue; $var8 = $var6 + nms_Direction_offsetX.data[$var5] | 0; $var6 = $var7 + nms_Direction_offsetZ.data[$var5] | 0; $var7 = nms_World_getBlockId($this, $var8, $par2, $var6); var$11 = nms_Block_blocksList.data[$var7]; if (!($var7 != nms_Block_redstoneComparatorActive.$blockID && $var7 != nms_Block_redstoneComparatorIdle.$blockID ? 0 : 1)) continue; else { continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $var5, $var6, $var7, $var8, var$9, $var9, var$11, var$12, $ptr); }, nms_World_getTensionFactorForBlock = ($this, $par1, $par2, $par3) => { let $var4, var$5, $var5, $var6, var$8, var$9, var$10, var$11, var$12, var$13; $var4 = 0.0; var$5 = $this.$difficultySetting; $var5 = var$5 != 3 ? 0 : 1; if ($par2 >= 0 && $par2 < 256 ? 1 : 0) { $var6 = nms_WorldProvider_moonPhaseFactors.data[Long_lo(Long_div($this.$worldInfo.$worldTime, Long_fromInt(24000))) % 8 | 0]; $par2 = $par1 >> 4; $par1 = $par3 >> 4; var$8 = $this.$chunkProvider; var$9 = var$8.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt($par2), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($par1), Long_create(4294967295, 0)), 32)); $par1 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); $par1 = $par1 ^ ($par1 >>> 20 | 0) ^ ($par1 >>> 12 | 0); $par3 = $par1 ^ ($par1 >>> 7 | 0) ^ ($par1 >>> 4 | 0); var$11 = var$9.$hashArray.data; var$9 = var$11[$par3 & (var$11.length - 1 | 0)]; a: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$10)) { var$9 = var$9.$value6; break a; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$8.$blankChunk; var$12 = Long_toNumber(var$9.$inhabitedTime) / 3600000.0; var$13 = 0.0; if (var$12 >= var$13) var$13 = var$12 <= 1.0 ? var$12 : 1.0; $var4 = $var4 + var$13 * (!$var5 ? 0.75 : 1.0) + $var6 * 0.25; } if (var$5 < 2) $var4 = $var4 * var$5 / 2.0; $var6 = 0.0; var$12 = !$var5 ? 1.0 : 1.5; if ($var4 >= $var6) $var6 = $var4 <= var$12 ? $var4 : var$12; return $var6; }; function nms_Vec3Pool() { let a = this; jl_Object.call(a); a.$truncateArrayResetThreshold = 0; a.$minimumSize = 0; a.$vec3Cache = null; a.$nextFreeSpace = 0; a.$maximumSizeSinceLastTruncation = 0; a.$resetCount = 0; } let nms_Vec3Pool_getVecFromPool = ($this, $par1, $par3, $par5) => { let var$4, var$5, var$6, var$7, $var7, var$9; if ($this.$minimumSize >= 0 && $this.$truncateArrayResetThreshold >= 0 ? 0 : 1) { var$4 = new nms_Vec3; if ($par1 === -0.0) $par1 = 0.0; if ($par3 === -0.0) $par3 = 0.0; if ($par5 === -0.0) $par5 = 0.0; var$4.$xCoord = $par1; var$4.$yCoord = $par3; var$4.$zCoord = $par5; var$4.$myVec3LocalPool = $this; return var$4; } a: { var$5 = $this.$nextFreeSpace; var$4 = $this.$vec3Cache; var$6 = var$4.$size0; var$7 = $rt_compare(var$5, var$6); if (var$7 < 0) { if (var$5 >= 0 && var$7 < 0) { $var7 = var$4.$array.data[var$5]; $var7.$xCoord = $par1; $var7.$yCoord = $par3; $var7.$zCoord = $par5; break a; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } $var7 = new nms_Vec3; if ($par1 === -0.0) $par1 = 0.0; if ($par3 === -0.0) $par3 = 0.0; if ($par5 === -0.0) $par5 = 0.0; $var7.$xCoord = $par1; $var7.$yCoord = $par3; $var7.$zCoord = $par5; $var7.$myVec3LocalPool = $this; ju_ArrayList_ensureCapacity(var$4, var$6 + 1 | 0); var$9 = var$4.$array.data; var$5 = var$4.$size0; var$4.$size0 = var$5 + 1 | 0; var$9[var$5] = $var7; var$4.$modCount = var$4.$modCount + 1 | 0; } $this.$nextFreeSpace = $this.$nextFreeSpace + 1 | 0; return $var7; }, nms_Vec3Pool_clear = $this => { let var$1, $var1, $var1_0, var$4; var$1 = $this.$minimumSize; if (!(var$1 >= 0 && $this.$truncateArrayResetThreshold >= 0 ? 0 : 1)) { $var1 = $this.$nextFreeSpace; if ($var1 > $this.$maximumSizeSinceLastTruncation) $this.$maximumSizeSinceLastTruncation = $var1; $var1_0 = $this.$resetCount; $this.$resetCount = $var1_0 + 1 | 0; if ($var1_0 == $this.$truncateArrayResetThreshold) { $var1 = $this.$maximumSizeSinceLastTruncation; $var1_0 = $this.$vec3Cache.$size0 - var$1 | 0; if ($var1 > $var1_0) $var1_0 = $var1; while (true) { var$4 = $this.$vec3Cache; if (var$4.$size0 <= $var1_0) break; ju_ArrayList_remove(var$4, $var1_0); } $this.$maximumSizeSinceLastTruncation = 0; $this.$resetCount = 0; } $this.$nextFreeSpace = 0; } }, nle_IntegratedServerLAN = $rt_classWithoutFields(), nle_IntegratedServerLAN_currentICEServers = null, nle_IntegratedServerLAN_lanRelaySocket = null, nle_IntegratedServerLAN_currentCode = null, nle_IntegratedServerLAN_clients = null, nle_IntegratedServerLAN__init_ = $this => { return; }, nle_IntegratedServerLAN__init_0 = () => { let var_0 = new nle_IntegratedServerLAN(); nle_IntegratedServerLAN__init_(var_0); return var_0; }, nle_IntegratedServerLAN_updateLANServer = () => { let $ipkt, $itr, var$3, var$4, var$5, var$6, $c, var$8, var$9, var$10, var$11, $cl; a: { if (nle_IntegratedServerLAN_lanRelaySocket !== null) { b: { c: { d: { e: { f: { g: { while (true) { $ipkt = nle_IntegratedServerLAN_lanRelaySocket.$readPacket(); if ($ipkt === null) { if (!nle_IntegratedServerLAN_lanRelaySocket.$isClosed()) break a; nle_IntegratedServerLAN_lanRelaySocket = null; break a; } if ($ipkt instanceof nlesrp_IPacket02NewClient) { $itr = nle_IntegratedServerLAN_clients; var$3 = $ipkt.$clientId2; if (var$3 === null) { $itr = $itr.$elementData.data[0]; while ($itr !== null && $itr.$key !== null) { $itr = $itr.$next3; } } else { h: { if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break h; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = $itr.$elementData.data; $itr = var$6[var$5 & (var$6.length - 1 | 0)]; while ($itr !== null) { if ($itr.$origKeyHash == var$5) { i: { $c = $itr.$key; if (var$3 !== $c) { if (var$3 === $c) var$4 = 1; else if (!($c instanceof jl_String)) var$4 = 0; else { $c = $c; var$4 = var$3.$nativeString !== $c.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break i; } } var$4 = 1; } if (var$4) break; } $itr = $itr.$next3; } } if (!($itr === null ? 0 : 1)) { $itr = nle_IntegratedServerLAN_clients; $c = $ipkt.$clientId2; ju_HashMap_putImpl($itr, $c, nle_IntegratedServerLAN$LANClient__init_($c)); } else { if (jl_System_errCache === null) { $itr = new otcic_JSStderrPrintStream; $c = new ji_ByteArrayOutputStream; $c.$buf = $rt_createByteArray(32); $itr.$out0 = $c; $c = new jl_StringBuilder; $c.$buffer = $rt_createCharArray(16); $itr.$sb = $c; $itr.$buffer0 = $rt_createCharArray(32); $itr.$autoFlush = 0; $itr.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $itr; } var$3 = nle_IntegratedServerLAN_lanRelaySocket.$getURI(); $itr = $ipkt.$clientId2; $c = new jl_StringBuilder; $c.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($c, $c.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($c, $c.$length0, var$3 === null ? $rt_s(1) : var$3.$toString()); jl_AbstractStringBuilder_insert($c, $c.$length0, $rt_s(1188)); var$4 = $c.$length0; if ($itr === null) $itr = $rt_s(1); jl_AbstractStringBuilder_insert($c, var$4, $itr); var$4 = $c.$length0; jl_AbstractStringBuilder_insertSpace($c, var$4, var$4 + 1 | 0); var$6 = $c.$buffer; var$8 = var$6.data; var$8[var$4] = 39; $itr = new jl_String; var$9 = $c.$length0; var$5 = var$8.length; if (var$9 < 0) break b; if (var$9 > (var$5 - 0 | 0)) break b; $itr.$nativeString = $rt_charArrayToString(var$6.data, 0, var$9); $rt_putStderr($rt_ustr($itr)); $rt_putStderr("\n"); } continue; } if ($ipkt instanceof nlesrp_IPacket03ICECandidate) { $itr = nle_IntegratedServerLAN_clients; var$3 = $ipkt.$peerId; if (var$3 === null) { $itr = $itr.$elementData.data[0]; while ($itr !== null && $itr.$key !== null) { $itr = $itr.$next3; } } else { j: { if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break j; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = $itr.$elementData.data; $itr = var$6[var$5 & (var$6.length - 1 | 0)]; while ($itr !== null) { if ($itr.$origKeyHash == var$5) { k: { $c = $itr.$key; if (var$3 !== $c) { if (var$3 === $c) var$4 = 1; else if (!($c instanceof jl_String)) var$4 = 0; else { $c = $c; var$4 = var$3.$nativeString !== $c.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break k; } } var$4 = 1; } if (var$4) break; } $itr = $itr.$next3; } } $c = $itr === null ? null : $itr.$value1; if ($c !== null) nle_IntegratedServerLAN$LANClient_handleICECandidates($c, $ipkt.$candidate); else { if (jl_System_errCache === null) { $itr = new otcic_JSStderrPrintStream; $c = new ji_ByteArrayOutputStream; $c.$buf = $rt_createByteArray(32); $itr.$out0 = $c; $c = new jl_StringBuilder; $c.$buffer = $rt_createCharArray(16); $itr.$sb = $c; $itr.$buffer0 = $rt_createCharArray(32); $itr.$autoFlush = 0; $itr.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $itr; } $c = nle_IntegratedServerLAN_lanRelaySocket.$getURI(); var$3 = $ipkt.$peerId; $itr = new jl_StringBuilder; $itr.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $c === null ? $rt_s(1) : $c.$toString()); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $rt_s(1189)); var$4 = $itr.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($itr, var$4, var$3); var$4 = $itr.$length0; jl_AbstractStringBuilder_insertSpace($itr, var$4, var$4 + 1 | 0); var$6 = $itr.$buffer; var$8 = var$6.data; var$8[var$4] = 39; $c = new jl_String; var$9 = $itr.$length0; var$5 = var$8.length; if (var$9 < 0) break c; if (var$9 > (var$5 - 0 | 0)) break c; $c.$nativeString = $rt_charArrayToString(var$6.data, 0, var$9); $rt_putStderr($rt_ustr($c)); $rt_putStderr("\n"); } continue; } if ($ipkt instanceof nlesrp_IPacket04Description) { $itr = nle_IntegratedServerLAN_clients; var$3 = $ipkt.$peerId0; if (var$3 === null) { $itr = $itr.$elementData.data[0]; while ($itr !== null && $itr.$key !== null) { $itr = $itr.$next3; } } else { l: { if (!var$3.$hashCode1) { var$9 = 0; while (true) { if (var$9 >= var$3.$nativeString.length) break l; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = $itr.$elementData.data; $itr = var$6[var$5 & (var$6.length - 1 | 0)]; while ($itr !== null) { if ($itr.$origKeyHash == var$5) { m: { $c = $itr.$key; if (var$3 !== $c) { if (var$3 === $c) var$4 = 1; else if (!($c instanceof jl_String)) var$4 = 0; else { $c = $c; var$4 = var$3.$nativeString !== $c.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break m; } } var$4 = 1; } if (var$4) break; } $itr = $itr.$next3; } } $c = $itr === null ? null : $itr.$value1; if ($c !== null) nle_IntegratedServerLAN$LANClient_handleDescription($c, $ipkt.$description); else { if (jl_System_errCache === null) { $itr = new otcic_JSStderrPrintStream; $c = new ji_ByteArrayOutputStream; $c.$buf = $rt_createByteArray(32); $itr.$out0 = $c; $c = new jl_StringBuilder; $c.$buffer = $rt_createCharArray(16); $itr.$sb = $c; $itr.$buffer0 = $rt_createCharArray(32); $itr.$autoFlush = 0; $itr.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $itr; } $c = nle_IntegratedServerLAN_lanRelaySocket.$getURI(); var$3 = $ipkt.$peerId0; $itr = new jl_StringBuilder; $itr.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $c === null ? $rt_s(1) : $c.$toString()); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $rt_s(1190)); var$4 = $itr.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($itr, var$4, var$3); var$9 = $itr.$length0; jl_AbstractStringBuilder_insertSpace($itr, var$9, var$9 + 1 | 0); var$6 = $itr.$buffer; var$8 = var$6.data; var$8[var$9] = 39; $c = new jl_String; var$5 = $itr.$length0; var$4 = var$8.length; if (var$5 < 0) break d; if (var$5 > (var$4 - 0 | 0)) break d; $c.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $rt_putStderr($rt_ustr($c)); $rt_putStderr("\n"); } continue; } if ($ipkt instanceof nlesrp_IPacket05ClientSuccess) { $itr = nle_IntegratedServerLAN_clients; var$10 = $ipkt.$clientId0; if (var$10 === null) { var$3 = $itr.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { n: { if (!var$10.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$10.$nativeString.length) break n; var$10.$hashCode1 = (31 * var$10.$hashCode1 | 0) + var$10.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$9 = var$10.$hashCode1; var$6 = $itr.$elementData.data; var$3 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { o: { $itr = var$3.$key; if (var$10 !== $itr) { if (var$10 === $itr) var$4 = 1; else if (!($itr instanceof jl_String)) var$4 = 0; else { $itr = $itr; var$4 = var$10.$nativeString !== $itr.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break o; } } var$4 = 1; } if (var$4) break; } var$3 = var$3.$next3; } } $c = var$3 === null ? null : var$3.$value1; if ($c !== null) nle_IntegratedServerLAN$LANClient_handleSuccess($c); else { if (jl_System_errCache === null) { $itr = new otcic_JSStderrPrintStream; $c = new ji_ByteArrayOutputStream; $c.$buf = $rt_createByteArray(32); $itr.$out0 = $c; $c = new jl_StringBuilder; $c.$buffer = $rt_createCharArray(16); $itr.$sb = $c; $itr.$buffer0 = $rt_createCharArray(32); $itr.$autoFlush = 0; $itr.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $itr; } $c = nle_IntegratedServerLAN_lanRelaySocket.$getURI(); var$3 = $ipkt.$clientId0; $itr = new jl_StringBuilder; $itr.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $c === null ? $rt_s(1) : $c.$toString()); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $rt_s(1191)); var$4 = $itr.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($itr, var$4, var$3); var$9 = $itr.$length0; jl_AbstractStringBuilder_insertSpace($itr, var$9, var$9 + 1 | 0); var$6 = $itr.$buffer; var$8 = var$6.data; var$8[var$9] = 39; $c = new jl_String; var$9 = $itr.$length0; var$5 = var$8.length; if (var$9 < 0) break e; if (var$9 > (var$5 - 0 | 0)) break e; $c.$nativeString = $rt_charArrayToString(var$6.data, 0, var$9); $rt_putStderr($rt_ustr($c)); $rt_putStderr("\n"); } continue; } if (!($ipkt instanceof nlesrp_IPacket06ClientFailure)) { if (!($ipkt instanceof nlesrp_IPacketFFErrorCode)) { if (jl_System_errCache === null) { $itr = new otcic_JSStderrPrintStream; $c = new ji_ByteArrayOutputStream; $c.$buf = $rt_createByteArray(32); $itr.$out0 = $c; $c = new jl_StringBuilder; $c.$buffer = $rt_createCharArray(16); $itr.$sb = $c; $itr.$buffer0 = $rt_createCharArray(32); $itr.$autoFlush = 0; $itr.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $itr; } var$11 = nle_IntegratedServerLAN_lanRelaySocket.$getURI(); $c = $ipkt.constructor; if ($c === null) $itr = null; else { $itr = $c.classObject; if ($itr === null) { $itr = new jl_Class; $itr.$platformClass = $c; $c.classObject = $itr; } } var$3 = jl_Class_getSimpleName($itr); $itr = new jl_StringBuilder; $itr.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($itr, $itr.$length0, var$11 === null ? $rt_s(1) : var$11.$toString()); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $rt_s(1192)); var$4 = $itr.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($itr, var$4, var$3); $c = new jl_String; var$6 = $itr.$buffer; var$8 = var$6.data; var$9 = $itr.$length0; var$5 = var$8.length; if (var$9 < 0) break; if (var$9 > (var$5 - 0 | 0)) break; $c.$nativeString = $rt_charArrayToString(var$6.data, 0, var$9); $rt_putStderr($rt_ustr($c)); $rt_putStderr("\n"); continue; } if (jl_System_errCache === null) { $itr = new otcic_JSStderrPrintStream; $c = new ji_ByteArrayOutputStream; $c.$buf = $rt_createByteArray(32); $itr.$out0 = $c; $c = new jl_StringBuilder; $c.$buffer = $rt_createCharArray(16); $itr.$sb = $c; $itr.$buffer0 = $rt_createCharArray(32); $itr.$autoFlush = 0; $itr.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $itr; } $c = nle_IntegratedServerLAN_lanRelaySocket.$getURI(); var$5 = $ipkt.$code; var$3 = var$5 < 0 && var$5 >= nlesrp_IPacketFFErrorCode_packetTypes.data.length ? $rt_s(541) : nlesrp_IPacketFFErrorCode_packetTypes.data[var$5]; var$10 = $ipkt.$desc0; $itr = new jl_StringBuilder; $itr.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $c === null ? $rt_s(1) : $c.$toString()); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $rt_s(1193)); var$4 = $itr.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($itr, var$4, var$3); var$4 = $itr.$length0; jl_AbstractStringBuilder_insertSpace($itr, var$4, var$4 + 1 | 0); $itr.$buffer.data[var$4] = 40; jl_AbstractStringBuilder_insert0($itr, $itr.$length0, var$5, 10); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $rt_s(1194)); var$4 = $itr.$length0; if (var$10 === null) var$10 = $rt_s(1); jl_AbstractStringBuilder_insert($itr, var$4, var$10); $c = new jl_String; var$6 = $itr.$buffer; var$8 = var$6.data; var$9 = $itr.$length0; var$5 = var$8.length; if (var$9 < 0) break g; if (var$9 > (var$5 - 0 | 0)) break g; $c.$nativeString = $rt_charArrayToString(var$6.data, 0, var$9); $rt_putStderr($rt_ustr($c)); $rt_putStderr("\n"); while (true) { $itr = nle_IntegratedServerLAN_lanRelaySocket.$getException(); if ($itr === null) break; $itr.$printStackTrace(); } continue; } $itr = nle_IntegratedServerLAN_clients; var$10 = $ipkt.$clientId1; if (var$10 === null) { $itr = $itr.$elementData.data[0]; while ($itr !== null && $itr.$key !== null) { $itr = $itr.$next3; } } else { p: { if (!var$10.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$10.$nativeString.length) break p; var$10.$hashCode1 = (31 * var$10.$hashCode1 | 0) + var$10.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$10.$hashCode1; var$6 = $itr.$elementData.data; $itr = var$6[var$5 & (var$6.length - 1 | 0)]; while ($itr !== null) { if ($itr.$origKeyHash == var$5) { q: { $c = $itr.$key; if (var$10 !== $c) { if (var$10 === $c) var$4 = 1; else if (!($c instanceof jl_String)) var$4 = 0; else { $c = $c; var$4 = var$10.$nativeString !== $c.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break q; } } var$4 = 1; } if (var$4) break; } $itr = $itr.$next3; } } $c = $itr === null ? null : $itr.$value1; if ($c !== null) nle_IntegratedServerLAN$LANClient_handleFailure($c); else { if (jl_System_errCache === null) { $itr = new otcic_JSStderrPrintStream; $c = new ji_ByteArrayOutputStream; $c.$buf = $rt_createByteArray(32); $itr.$out0 = $c; $c = new jl_StringBuilder; $c.$buffer = $rt_createCharArray(16); $itr.$sb = $c; $itr.$buffer0 = $rt_createCharArray(32); $itr.$autoFlush = 0; $itr.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $itr; } $c = nle_IntegratedServerLAN_lanRelaySocket.$getURI(); var$3 = $ipkt.$clientId1; $itr = new jl_StringBuilder; $itr.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $c === null ? $rt_s(1) : $c.$toString()); jl_AbstractStringBuilder_insert($itr, $itr.$length0, $rt_s(1195)); var$4 = $itr.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($itr, var$4, var$3); var$4 = $itr.$length0; jl_AbstractStringBuilder_insertSpace($itr, var$4, var$4 + 1 | 0); var$6 = $itr.$buffer; var$8 = var$6.data; var$8[var$4] = 39; $c = new jl_String; var$5 = $itr.$length0; var$4 = var$8.length; if (var$5 < 0) break f; if (var$5 > (var$4 - 0 | 0)) break f; $c.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $rt_putStderr($rt_ustr($c)); $rt_putStderr("\n"); } } $itr = new jl_IndexOutOfBoundsException; $itr.$suppressionEnabled = 1; $itr.$writableStackTrace = 1; $rt_throw($itr); } $itr = new jl_IndexOutOfBoundsException; $itr.$suppressionEnabled = 1; $itr.$writableStackTrace = 1; $rt_throw($itr); } $itr = new jl_IndexOutOfBoundsException; $itr.$suppressionEnabled = 1; $itr.$writableStackTrace = 1; $rt_throw($itr); } $itr = new jl_IndexOutOfBoundsException; $itr.$suppressionEnabled = 1; $itr.$writableStackTrace = 1; $rt_throw($itr); } $itr = new jl_IndexOutOfBoundsException; $itr.$suppressionEnabled = 1; $itr.$writableStackTrace = 1; $rt_throw($itr); } $itr = new jl_IndexOutOfBoundsException; $itr.$suppressionEnabled = 1; $itr.$writableStackTrace = 1; $rt_throw($itr); } $itr = new jl_IndexOutOfBoundsException; $itr.$suppressionEnabled = 1; $itr.$writableStackTrace = 1; $rt_throw($itr); } } $itr = nle_IntegratedServerLAN_clients; if ($itr.$cachedValues === null) { $cl = new ju_HashMap$2; $cl.$this$01 = $itr; $itr.$cachedValues = $cl; } $itr = $itr.$cachedValues.$iterator(); while ($itr.$hasNext()) { $cl = $itr.$next(); nle_IntegratedServerLAN$LANClient_update($cl); if ($cl.$dead) $itr.$remove0(); } }, nle_IntegratedServerLAN__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nle_IntegratedServerLAN_currentICEServers = var$1; nle_IntegratedServerLAN_lanRelaySocket = null; nle_IntegratedServerLAN_currentCode = null; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nle_IntegratedServerLAN_clients = var$1; }; function nle_PKT() { let a = this; jl_Object.call(a); a.$channel1 = null; a.$data13 = null; } let nle_PKT__init_0 = ($this, $channel, $data) => { $this.$channel1 = $channel; $this.$data13 = $data; }, nle_PKT__init_ = (var_0, var_1) => { let var_2 = new nle_PKT(); nle_PKT__init_0(var_2, var_0, var_1); return var_2; }, nlesi_IPCPacketManager = $rt_classWithoutFields(), nlesi_IPCPacketManager_mappings = null, nlesi_IPCPacketManager_IPC_INPUT_STREAM = null, nlesi_IPCPacketManager_IPC_OUTPUT_STREAM = null, nlesi_IPCPacketManager_IPC_DATA_INPUT_STREAM = null, nlesi_IPCPacketManager_IPC_DATA_OUTPUT_STREAM = null, nlesi_IPCPacketManager_$callClinit = () => { nlesi_IPCPacketManager_$callClinit = $rt_eraseClinit(nlesi_IPCPacketManager); nlesi_IPCPacketManager__clinit_(); }, nlesi_IPCPacketManager__init_ = $this => { nlesi_IPCPacketManager_$callClinit(); }, nlesi_IPCPacketManager__init_0 = () => { let var_0 = new nlesi_IPCPacketManager(); nlesi_IPCPacketManager__init_(var_0); return var_0; }, nlesi_IPCPacketManager_IPCSerialize = $pkt => { let var$2, var$3, var$4, var$5, var$6; nlesi_IPCPacketManager_$callClinit(); var$2 = nlesi_IPCPacketManager_IPC_OUTPUT_STREAM; var$3 = $rt_createByteArray($pkt.$size() + 1 | 0); var$4 = $pkt.constructor; if (var$4 === null) var$5 = null; else { var$5 = var$4.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = var$4; var$4.classObject = var$5; } } var$6 = var$3.data; var$5 = jl_Class_getSimpleName(var$5); var$2.$currentBuffer = var$3; var$2.$idx0 = 0; var$2.$originalSize = var$6.length; var$2.$className = var$5; nlesi_IPCOutputStream_write(nlesi_IPCPacketManager_IPC_OUTPUT_STREAM, $pkt.$id()); $pkt.$serialize(nlesi_IPCPacketManager_IPC_DATA_OUTPUT_STREAM); return nlesi_IPCOutputStream_returnBuffer(nlesi_IPCPacketManager_IPC_OUTPUT_STREAM); }, nlesi_IPCPacketManager_IPCDeserialize = $pkt => { let $pk, $i, $p, var$5, var$6, var$7, var$8, $lo, var$10; nlesi_IPCPacketManager_$callClinit(); $pk = nlesi_IPCPacketManager_IPC_INPUT_STREAM; $pk.$currentBuffer0 = $pkt; $pk.$idx = 0; $pk.$errorName = null; $pk.$markIDX = 0; $i = nlesi_IPCInputStream_read($pk); $pk = nlesi_IPCPacketManager_mappings; if ($i >= (-128) && $i <= 127) { jl_Integer_ensureIntegerCache(); $p = jl_Integer_integerCache.data[$i + 128 | 0]; } else { $p = new jl_Integer; $p.$value0 = $i; } if ($p === null) { $pk = $pk.$elementData.data[0]; while ($pk !== null && $pk.$key !== null) { $pk = $pk.$next3; } } else { var$5 = $p.$value0; var$6 = $pk.$elementData.data; $pk = var$6[var$5 & (var$6.length - 1 | 0)]; while ($pk !== null) { if ($pk.$origKeyHash == var$5) { var$7 = $pk.$key; if ($p !== var$7 && !($p === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $pk = $pk.$next3; } } $pk = $pk === null ? null : $pk.$value1; if ($pk === null) { $pk = new ji_IOException; var$8 = otci_IntegerUtil_toUnsignedLogRadixString($i, 4); $p = new jl_StringBuilder; $p.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($p, $p.$length0, $rt_s(1196)); $i = $p.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert($p, $i, var$8); jl_AbstractStringBuilder_insert($p, $p.$length0, $rt_s(1197)); var$7 = new jl_String; $pkt = $p.$buffer; var$6 = $pkt.data; $lo = $p.$length0; var$10 = var$6.length; if ($lo >= 0 && $lo <= (var$10 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString($pkt.data, 0, $lo); $pk.$suppressionEnabled = 1; $pk.$writableStackTrace = 1; $pk.$message = var$7; $rt_throw($pk); } $pk = new jl_IndexOutOfBoundsException; $pk.$suppressionEnabled = 1; $pk.$writableStackTrace = 1; $rt_throw($pk); } $p = $pk.$get3(); $pk = nlesi_IPCPacketManager_IPC_INPUT_STREAM; var$8 = $p.constructor; if (var$8 === null) var$7 = null; else { var$7 = var$8.classObject; if (var$7 === null) { var$7 = new jl_Class; var$7.$platformClass = var$8; var$8.classObject = var$7; } } $pk.$errorName = jl_Class_getSimpleName(var$7); $p.$deserialize(nlesi_IPCPacketManager_IPC_DATA_INPUT_STREAM); $pk = nlesi_IPCPacketManager_IPC_INPUT_STREAM; $lo = $pk.$currentBuffer0.data.length - $pk.$idx | 0; if ($lo > 0) { if (jl_System_errCache === null) { $pk = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); $pk.$out0 = var$7; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); $pk.$sb = var$7; $pk.$buffer0 = $rt_createCharArray(32); $pk.$autoFlush = 0; $pk.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $pk; } $pk = otci_IntegerUtil_toUnsignedLogRadixString($i, 4); var$8 = $p.constructor; if (var$8 === null) var$7 = null; else { var$7 = var$8.classObject; if (var$7 === null) { var$7 = new jl_Class; var$7.$platformClass = var$8; var$8.classObject = var$7; } } $pkt = $pkt.data; var$7 = jl_Class_getSimpleName(var$7); $i = $pkt.length - 1 | 0; $lo = $i - $lo | 0; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1196)); var$10 = var$8.$length0; if ($pk === null) $pk = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$10, $pk); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1028)); var$10 = var$8.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$10, var$7); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1198)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $i, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1199)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $lo, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1200)); $pk = new jl_String; $pkt = var$8.$buffer; var$6 = $pkt.data; $lo = var$8.$length0; var$10 = var$6.length; if ($lo >= 0 && $lo <= (var$10 - 0 | 0)) { $pk.$nativeString = $rt_charArrayToString($pkt.data, 0, $lo); $rt_putStderr($rt_ustr($pk)); $rt_putStderr("\n"); } else { $pk = new jl_IndexOutOfBoundsException; $pk.$suppressionEnabled = 1; $pk.$writableStackTrace = 1; $rt_throw($pk); } } return $p; }, nlesi_IPCPacketManager__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nlesi_IPCPacketManager_mappings = var$1; var$5 = new nlesi_IPCInputStream; var$5.$currentBuffer0 = null; var$5.$idx = 0; var$5.$markIDX = 0; var$5.$errorName = null; nlesi_IPCPacketManager_IPC_INPUT_STREAM = var$5; var$6 = new nlesi_IPCOutputStream; var$6.$className = null; var$6.$currentBuffer = null; var$6.$idx0 = 0; var$6.$originalSize = 0; nlesi_IPCPacketManager_IPC_OUTPUT_STREAM = var$6; var$7 = new ji_DataInputStream; var$7.$in = var$5; var$7.$buff = $rt_createByteArray(8); nlesi_IPCPacketManager_IPC_DATA_INPUT_STREAM = var$7; var$5 = new ji_DataOutputStream; var$5.$out0 = var$6; var$5.$buff0 = $rt_createByteArray(8); nlesi_IPCPacketManager_IPC_DATA_OUTPUT_STREAM = var$5; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[128], new nlesi_IPCPacketManager$_clinit_$lambda$_27_0); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[129], new nlesi_IPCPacketManager$_clinit_$lambda$_27_1); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[130], new nlesi_IPCPacketManager$_clinit_$lambda$_27_2); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[131], new nlesi_IPCPacketManager$_clinit_$lambda$_27_3); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[132], new nlesi_IPCPacketManager$_clinit_$lambda$_27_4); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[133], new nlesi_IPCPacketManager$_clinit_$lambda$_27_5); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[134], new nlesi_IPCPacketManager$_clinit_$lambda$_27_6); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[135], new nlesi_IPCPacketManager$_clinit_$lambda$_27_7); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[137], new nlesi_IPCPacketManager$_clinit_$lambda$_27_8); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[138], new nlesi_IPCPacketManager$_clinit_$lambda$_27_9); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[139], new nlesi_IPCPacketManager$_clinit_$lambda$_27_10); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[140], new nlesi_IPCPacketManager$_clinit_$lambda$_27_11); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[141], new nlesi_IPCPacketManager$_clinit_$lambda$_27_12); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[142], new nlesi_IPCPacketManager$_clinit_$lambda$_27_13); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[143], new nlesi_IPCPacketManager$_clinit_$lambda$_27_14); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[144], new nlesi_IPCPacketManager$_clinit_$lambda$_27_15); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[146], new nlesi_IPCPacketManager$_clinit_$lambda$_27_16); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[147], new nlesi_IPCPacketManager$_clinit_$lambda$_27_17); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[148], new nlesi_IPCPacketManager$_clinit_$lambda$_27_18); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[149], new nlesi_IPCPacketManager$_clinit_$lambda$_27_19); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[150], new nlesi_IPCPacketManager$_clinit_$lambda$_27_20); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[151], new nlesi_IPCPacketManager$_clinit_$lambda$_27_21); var$1 = nlesi_IPCPacketManager_mappings; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, jl_Integer_integerCache.data[152], new nlesi_IPCPacketManager$_clinit_$lambda$_27_22); var$1 = nlesi_IPCPacketManager_mappings; var$6 = new jl_Integer; var$6.$value0 = 255; ju_HashMap_putImpl(var$1, var$6, new nlesi_IPCPacketManager$_clinit_$lambda$_27_23); }, nlesi_IPCPacketBase = $rt_classWithoutFields(0), nlesi_IPCPacketBase_strLen = $s => { let $strlen, $utflen, $i, $c; $strlen = $s.$nativeString.length; $utflen = 2; $i = 0; a: { while ($i < $strlen) { if ($i < 0) break a; if ($i >= $s.$nativeString.length) break a; $c = $s.$nativeString.charCodeAt($i); $utflen = $c >= 1 && $c <= 127 ? $utflen + 1 | 0 : $c <= 2047 ? $utflen + 2 | 0 : $utflen + 3 | 0; $i = $i + 1 | 0; } return $utflen; } $s = new jl_StringIndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); }; function nlesi_IPCPacket09RequestResponse() { jl_Object.call(this); this.$response = null; } let nlesi_IPCPacket09RequestResponse__init_ = $this => { return; }, nlesi_IPCPacket09RequestResponse__init_0 = () => { let var_0 = new nlesi_IPCPacket09RequestResponse(); nlesi_IPCPacket09RequestResponse__init_(var_0); return var_0; }, nlesi_IPCPacket09RequestResponse_deserialize = ($this, $bin) => { let var$2, var$3; var$2 = $rt_createByteArray(ji_DataInputStream_readInt($bin)); var$3 = var$2.data; $this.$response = var$2; ji_DataInputStream_readFully($bin, var$2, 0, var$3.length); }, nlesi_IPCPacket09RequestResponse_id = $this => { return 9; }; function nlesi_IPCPacket0CPlayerChannel() { let a = this; jl_Object.call(a); a.$channel = null; a.$open3 = 0; } let nlesi_IPCPacket0CPlayerChannel__init_ = $this => { return; }, nlesi_IPCPacket0CPlayerChannel__init_0 = () => { let var_0 = new nlesi_IPCPacket0CPlayerChannel(); nlesi_IPCPacket0CPlayerChannel__init_(var_0); return var_0; }, nlesi_IPCPacket0CPlayerChannel_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$channel = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); var$2 = $bin.$in.$read(); if (var$2 >= 0) { $this.$open3 = !var$2 ? 0 : 1; return; } $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); }, nlesi_IPCPacket0CPlayerChannel_serialize = ($this, $bin) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$channel; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$4 = Long_lo(var$3); var$5 = $rt_createByteArray(var$4 + 2 | 0); var$6 = var$5.data; var$6[0] = var$4 >> 8 << 24 >> 24; var$6[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$5, 2); $bin.$out0.$write4(var$5, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; var$4 = $this.$open3; $bin.$out0.$write1(!var$4 ? 0 : 1); $bin.$written = $bin.$written + 1 | 0; }, nlesi_IPCPacket0CPlayerChannel_id = $this => { return 12; }, nlesi_IPCPacket0CPlayerChannel_size = $this => { return nlesi_IPCPacketBase_strLen($this.$channel) + 1 | 0; }, nms_INetworkManager = $rt_classWithoutFields(0); function nle_WorkerNetworkManager() { let a = this; jl_Object.call(a); a.$theNetHandler0 = null; a.$ipcChannel = null; a.$hasClosed = 0; a.$sendBuffer0 = null; } let nle_WorkerNetworkManager_addToSendQueue = ($this, $var1) => { let $e, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $$je; a: { try { ji_ByteArrayOutputStream_reset($this.$sendBuffer0); nms_Packet_writePacket($var1, ji_DataOutputStream__init_($this.$sendBuffer0)); $e = $this.$ipcChannel; var$3 = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(var$3, $rt_s(1023)), $e); nlea_EaglerAdapterImpl2_sendToIntegratedServer(jl_StringBuilder_toString(var$3), ji_ByteArrayOutputStream_toByteArray($this.$sendBuffer0)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); var$3.$out0 = var$4; var$4 = new jl_StringBuilder; jl_Object__init_(var$4); var$4.$buffer = $rt_createCharArray(16); var$3.$sb = var$4; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } var$3 = $var1.constructor; if (var$3 === null) $var1 = null; else { $var1 = var$3.classObject; if ($var1 === null) { $var1 = new jl_Class; $var1.$platformClass = var$3; var$3.classObject = $var1; } } $var1 = jl_Class_getSimpleName($var1); var$3 = $this.$ipcChannel; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1201)); var$5 = var$4.$length0; if ($var1 === null) $var1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, $var1); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1202)); var$5 = var$4.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$3); var$6 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$6, var$6 + 1 | 0); var$7 = var$4.$buffer; var$8 = var$7.data; var$8[var$6] = 39; $var1 = new jl_String; var$6 = var$4.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { $var1.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); $rt_putStderr($rt_ustr($var1)); $rt_putStderr("\n"); if (jl_System_errCache === null) { $var1 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); jl_Object__init_($var1); $var1.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3, 16); $var1.$sb = var$3; $var1.$buffer0 = $rt_createCharArray(32); $var1.$autoFlush = 0; $var1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var1; } jl_Throwable_printStackTrace($e, jl_System_errCache); } else { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } } }, nle_WorkerNetworkManager_wakeThreads = $this => { return; }, nle_WorkerNetworkManager_processReadPackets = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $bai, $pkt, $pktId, $bytes, var$11, var$12, var$13, var$14, $t, var$16, var$17, var$18, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$t = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$bytes = $thread.pop();$pktId = $thread.pop();$pkt = $thread.pop();$bai = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = 39; var$2 = $rt_s(1023); var$3 = $rt_s(1203); var$4 = $rt_s(1204); var$5 = $rt_s(1205); var$6 = $rt_s(469); a: { b: { while (true) { $bai = $this.$ipcChannel; $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, var$2); $pktId = $pkt.$length0; if ($bai === null) $bai = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $pktId, $bai); $bai = new jl_String; $bytes = $pkt.$buffer; var$11 = $bytes.data; var$12 = $pkt.$length0; $pktId = var$11.length; if (var$12 < 0) break b; if (var$12 > ($pktId - 0 | 0)) break b; $bai.$nativeString = $rt_charArrayToString($bytes.data, 0, var$12); $bai = nlea_EaglerAdapterImpl2_recieveFromIntegratedServer($bai); if ($bai === null) break; $bytes = $bai.$data13; try { $bai = nle_EaglerInputStream__init_($bytes); $pktId = nle_EaglerInputStream_read($bai); if ($pktId == (-1)) { otcic_JsConsolePrintStream_println(jl_System_err(), $rt_s(1206)); continue; } $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } if (jl_System_errCache === null) { $bai = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); $bai.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_Object__init_($pkt); $pkt.$buffer = $rt_createCharArray(16); $bai.$sb = $pkt; $bai.$buffer0 = $rt_createCharArray(32); $bai.$autoFlush = 0; $bai.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $bai; } $bytes = $bytes.data; var$12 = $bytes.length; var$13 = var$12 <= 0 ? (-1) : $bytes[0] & 255; $bai = $this.$ipcChannel; $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, var$3); jl_AbstractStringBuilder_insert0($pkt, $pkt.$length0, var$12, 10); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, var$4); jl_AbstractStringBuilder_insert0($pkt, $pkt.$length0, var$13, 10); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, var$5); $pktId = $pkt.$length0; if ($bai === null) $bai = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $pktId, $bai); $pktId = $pkt.$length0; jl_AbstractStringBuilder_insertSpace($pkt, $pktId, $pktId + 1 | 0); $bytes = $pkt.$buffer; var$11 = $bytes.data; var$11[$pktId] = var$1; $bai = new jl_String; var$14 = $pkt.$length0; var$12 = var$11.length; if (var$14 < 0) break a; if (var$14 > (var$12 - 0 | 0)) break a; $bai.$nativeString = $rt_charArrayToString($bytes.data, 0, var$14); $rt_putStderr($rt_ustr($bai)); $rt_putStderr($rt_ustr(var$6)); } return; } $bai = new jl_IndexOutOfBoundsException; $bai.$suppressionEnabled = 1; $bai.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($bai); $rt_throw($bai); } $bai = new jl_IndexOutOfBoundsException; $bai.$suppressionEnabled = 1; $bai.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($bai); $rt_throw($bai); case 1: a: { try { $tmp = nms_Packet_getNewPacket($pktId); if ($rt_suspending()) { break main; } $pkt = $tmp; if ($pkt === null) { $bai = jl_System_err(); $pkt = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append($pkt, $rt_s(1207)), $pktId), $rt_s(1208)); otcic_JsConsolePrintStream_println($bai, jl_StringBuilder_toString($pkt)); } else { $pkt.$readPacketData(ji_DataInputStream__init_($bai)); try { $bai = $this.$theNetHandler0; $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; } else { throw $$e; } } var$16 = jl_System_err(); $bai = jl_Integer_toHexString(nms_Packet_getPacketId($pkt)); $pkt = jl_Class_getSimpleName(jl_Object_getClass($pkt)); var$17 = $this.$ipcChannel; var$18 = jl_StringBuilder__init_(); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$18, $rt_s(1209)), $bai), $rt_s(1028)), $pkt), $rt_s(1205)), var$17), var$1); otcic_JsConsolePrintStream_println(var$16, jl_StringBuilder_toString(var$18)); jl_Throwable_printStackTrace0($t); } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break a; } else { throw $$e; } } c: { d: { while (true) { $bai = $this.$ipcChannel; $pkt = new jl_StringBuilder; $pktId = 16; $bytes = $rt_createCharArray($pktId); $pkt.$buffer = $bytes; $pktId = $pkt.$length0; jl_AbstractStringBuilder_insert($pkt, $pktId, var$2); $pktId = $pkt.$length0; if ($bai === null) $bai = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $pktId, $bai); $bai = new jl_String; $bytes = $pkt.$buffer; var$11 = $bytes.data; var$14 = 0; var$12 = $pkt.$length0; $pktId = var$11.length; if (var$12 < 0) break d; $pktId = $pktId - var$14 | 0; $pktId = $rt_compare(var$12, $pktId); if ($pktId > 0) break d; $bai.$nativeString = $rt_charArrayToString($bytes.data, var$14, var$12); $bai = nlea_EaglerAdapterImpl2_recieveFromIntegratedServer($bai); if ($bai === null) break; $bytes = $bai.$data13; try { $bai = nle_EaglerInputStream__init_($bytes); $pktId = nle_EaglerInputStream_read($bai); var$14 = (-1); var$14 = $rt_compare($pktId, var$14); if (var$14) break c; $bai = jl_System_err(); $pkt = $rt_s(1206); otcic_JsConsolePrintStream_println($bai, $pkt); continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break a; } else { throw $$e; } } } return; } $bai = new jl_IndexOutOfBoundsException; $pktId = 1; $bai.$suppressionEnabled = $pktId; $pktId = 1; $bai.$writableStackTrace = $pktId; jl_Throwable_fillInStackTrace($bai); $rt_throw($bai); } try { continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } e: { f: { g: while (true) { if (jl_System_errCache === null) { $bai = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); $bai.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_Object__init_($pkt); $pkt.$buffer = $rt_createCharArray(16); $bai.$sb = $pkt; $bai.$buffer0 = $rt_createCharArray(32); $bai.$autoFlush = 0; $bai.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $bai; } $bytes = $bytes.data; var$12 = $bytes.length; var$13 = var$12 <= 0 ? (-1) : $bytes[0] & 255; $bai = $this.$ipcChannel; $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, var$3); jl_AbstractStringBuilder_insert0($pkt, $pkt.$length0, var$12, 10); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, var$4); jl_AbstractStringBuilder_insert0($pkt, $pkt.$length0, var$13, 10); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, var$5); $pktId = $pkt.$length0; if ($bai === null) $bai = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $pktId, $bai); $pktId = $pkt.$length0; jl_AbstractStringBuilder_insertSpace($pkt, $pktId, $pktId + 1 | 0); $bytes = $pkt.$buffer; var$11 = $bytes.data; var$11[$pktId] = var$1; $bai = new jl_String; var$14 = $pkt.$length0; var$12 = var$11.length; if (var$14 < 0) break e; if (var$14 > (var$12 - 0 | 0)) break e; $bai.$nativeString = $rt_charArrayToString($bytes.data, 0, var$14); $rt_putStderr($rt_ustr($bai)); $rt_putStderr($rt_ustr(var$6)); while (true) { $bai = $this.$ipcChannel; $pkt = new jl_StringBuilder; $pktId = 16; $bytes = $rt_createCharArray($pktId); $pkt.$buffer = $bytes; $pktId = $pkt.$length0; jl_AbstractStringBuilder_insert($pkt, $pktId, var$2); $pktId = $pkt.$length0; if ($bai === null) $bai = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $pktId, $bai); $bai = new jl_String; $bytes = $pkt.$buffer; var$11 = $bytes.data; var$14 = 0; var$12 = $pkt.$length0; $pktId = var$11.length; if (var$12 < 0) break f; $pktId = $pktId - var$14 | 0; $pktId = $rt_compare(var$12, $pktId); if ($pktId > 0) break f; $bai.$nativeString = $rt_charArrayToString($bytes.data, var$14, var$12); $bai = nlea_EaglerAdapterImpl2_recieveFromIntegratedServer($bai); if ($bai === null) break g; $bytes = $bai.$data13; try { $bai = nle_EaglerInputStream__init_($bytes); $pktId = nle_EaglerInputStream_read($bai); var$14 = (-1); var$14 = $rt_compare($pktId, var$14); if (var$14) break; $bai = jl_System_err(); $pkt = $rt_s(1206); otcic_JsConsolePrintStream_println($bai, $pkt); continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { continue g; } else { throw $$e; } } } try { continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { continue; } else { throw $$e; } } } return; } $bai = new jl_IndexOutOfBoundsException; $pktId = 1; $bai.$suppressionEnabled = $pktId; $pktId = 1; $bai.$writableStackTrace = $pktId; jl_Throwable_fillInStackTrace($bai); $rt_throw($bai); } $bai = new jl_IndexOutOfBoundsException; $bai.$suppressionEnabled = 1; $bai.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($bai); $rt_throw($bai); case 2: a: { try { b: { try { $pkt.$processPacket($bai); if ($rt_suspending()) { break main; } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; } else { throw $$e; } } var$16 = jl_System_err(); $bai = jl_Integer_toHexString(nms_Packet_getPacketId($pkt)); $pkt = jl_Class_getSimpleName(jl_Object_getClass($pkt)); var$17 = $this.$ipcChannel; var$18 = jl_StringBuilder__init_(); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$18, $rt_s(1209)), $bai), $rt_s(1028)), $pkt), $rt_s(1205)), var$17), var$1); otcic_JsConsolePrintStream_println(var$16, jl_StringBuilder_toString(var$18)); jl_Throwable_printStackTrace0($t); } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break a; } else { throw $$e; } } c: { d: { while (true) { $bai = $this.$ipcChannel; $pkt = new jl_StringBuilder; $pktId = 16; $bytes = $rt_createCharArray($pktId); $pkt.$buffer = $bytes; $pktId = $pkt.$length0; jl_AbstractStringBuilder_insert($pkt, $pktId, var$2); $pktId = $pkt.$length0; if ($bai === null) $bai = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $pktId, $bai); $bai = new jl_String; $bytes = $pkt.$buffer; var$11 = $bytes.data; var$14 = 0; var$12 = $pkt.$length0; $pktId = var$11.length; if (var$12 < 0) break d; $pktId = $pktId - var$14 | 0; $pktId = $rt_compare(var$12, $pktId); if ($pktId > 0) break d; $bai.$nativeString = $rt_charArrayToString($bytes.data, var$14, var$12); $bai = nlea_EaglerAdapterImpl2_recieveFromIntegratedServer($bai); if ($bai === null) break; $bytes = $bai.$data13; try { $bai = nle_EaglerInputStream__init_($bytes); $pktId = nle_EaglerInputStream_read($bai); var$14 = (-1); var$14 = $rt_compare($pktId, var$14); if (var$14) break c; $bai = jl_System_err(); $pkt = $rt_s(1206); otcic_JsConsolePrintStream_println($bai, $pkt); continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break a; } else { throw $$e; } } } return; } $bai = new jl_IndexOutOfBoundsException; $pktId = 1; $bai.$suppressionEnabled = $pktId; $pktId = 1; $bai.$writableStackTrace = $pktId; jl_Throwable_fillInStackTrace($bai); $rt_throw($bai); } try { $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } e: { f: { g: while (true) { if (jl_System_errCache === null) { $bai = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); $bai.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_Object__init_($pkt); $pkt.$buffer = $rt_createCharArray(16); $bai.$sb = $pkt; $bai.$buffer0 = $rt_createCharArray(32); $bai.$autoFlush = 0; $bai.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $bai; } $bytes = $bytes.data; var$12 = $bytes.length; var$13 = var$12 <= 0 ? (-1) : $bytes[0] & 255; $bai = $this.$ipcChannel; $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, var$3); jl_AbstractStringBuilder_insert0($pkt, $pkt.$length0, var$12, 10); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, var$4); jl_AbstractStringBuilder_insert0($pkt, $pkt.$length0, var$13, 10); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, var$5); $pktId = $pkt.$length0; if ($bai === null) $bai = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $pktId, $bai); $pktId = $pkt.$length0; jl_AbstractStringBuilder_insertSpace($pkt, $pktId, $pktId + 1 | 0); $bytes = $pkt.$buffer; var$11 = $bytes.data; var$11[$pktId] = var$1; $bai = new jl_String; var$14 = $pkt.$length0; var$12 = var$11.length; if (var$14 < 0) break e; if (var$14 > (var$12 - 0 | 0)) break e; $bai.$nativeString = $rt_charArrayToString($bytes.data, 0, var$14); $rt_putStderr($rt_ustr($bai)); $rt_putStderr($rt_ustr(var$6)); while (true) { $bai = $this.$ipcChannel; $pkt = new jl_StringBuilder; $pktId = 16; $bytes = $rt_createCharArray($pktId); $pkt.$buffer = $bytes; $pktId = $pkt.$length0; jl_AbstractStringBuilder_insert($pkt, $pktId, var$2); $pktId = $pkt.$length0; if ($bai === null) $bai = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $pktId, $bai); $bai = new jl_String; $bytes = $pkt.$buffer; var$11 = $bytes.data; var$14 = 0; var$12 = $pkt.$length0; $pktId = var$11.length; if (var$12 < 0) break f; $pktId = $pktId - var$14 | 0; $pktId = $rt_compare(var$12, $pktId); if ($pktId > 0) break f; $bai.$nativeString = $rt_charArrayToString($bytes.data, var$14, var$12); $bai = nlea_EaglerAdapterImpl2_recieveFromIntegratedServer($bai); if ($bai === null) break g; $bytes = $bai.$data13; try { $bai = nle_EaglerInputStream__init_($bytes); $pktId = nle_EaglerInputStream_read($bai); var$14 = (-1); var$14 = $rt_compare($pktId, var$14); if (var$14) break; $bai = jl_System_err(); $pkt = $rt_s(1206); otcic_JsConsolePrintStream_println($bai, $pkt); continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { continue g; } else { throw $$e; } } } try { $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { continue; } else { throw $$e; } } } return; } $bai = new jl_IndexOutOfBoundsException; $pktId = 1; $bai.$suppressionEnabled = $pktId; $pktId = 1; $bai.$writableStackTrace = $pktId; jl_Throwable_fillInStackTrace($bai); $rt_throw($bai); } $bai = new jl_IndexOutOfBoundsException; $bai.$suppressionEnabled = 1; $bai.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($bai); $rt_throw($bai); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $bai, $pkt, $pktId, $bytes, var$11, var$12, var$13, var$14, $t, var$16, var$17, var$18, $ptr); }, nle_WorkerNetworkManager_serverShutdown = $this => { if (!$this.$hasClosed) { $this.$hasClosed = 1; nle_IntegratedServer_closeChannel($this.$ipcChannel); } }, nle_WorkerNetworkManager_networkShutdown = ($this, $var1, $var2) => { if (!$this.$hasClosed) { $this.$hasClosed = 1; nle_IntegratedServer_closeChannel($this.$ipcChannel); } }, nle_WorkerNetworkManager_closeConnections = $this => { if (!$this.$hasClosed) { $this.$hasClosed = 1; nle_IntegratedServer_closeChannel($this.$ipcChannel); } }, nle_WorkerNetworkManager_getServerURI = $this => { return $rt_s(1210); }; function nlesi_IPCPacket0DProgressUpdate() { let a = this; jl_Object.call(a); a.$updateMessage = null; a.$updateProgress = 0.0; } let nlesi_IPCPacket0DProgressUpdate__init_ = $this => { return; }, nlesi_IPCPacket0DProgressUpdate__init_0 = () => { let var_0 = new nlesi_IPCPacket0DProgressUpdate(); nlesi_IPCPacket0DProgressUpdate__init_(var_0); return var_0; }, nlesi_IPCPacket0DProgressUpdate_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$updateMessage = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); $this.$updateProgress = $rt_intBitsToFloat(ji_DataInputStream_readInt($bin)); }, nlesi_IPCPacket0DProgressUpdate_id = $this => { return 13; }; function nlesi_IPCPacket14StringList() { let a = this; jl_Object.call(a); a.$opCode = 0; a.$stringList = null; } let nlesi_IPCPacket14StringList__init_0 = $this => { let var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$stringList = var$1; }, nlesi_IPCPacket14StringList__init_2 = () => { let var_0 = new nlesi_IPCPacket14StringList(); nlesi_IPCPacket14StringList__init_0(var_0); return var_0; }, nlesi_IPCPacket14StringList__init_1 = ($this, $opcode, $list) => { let $s, var$4, var$5, var$6, var$7, var$8; $list = $list.data; $s = new ju_ArrayList; $s.$array = $rt_createArray(jl_Object, 10); $this.$stringList = $s; var$4 = $list.length; var$5 = 0; while (var$5 < var$4) { $s = jl_String_trim($list[var$5]); if ($s.$nativeString.length > 0) { var$6 = $this.$stringList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = $s; var$6.$modCount = var$6.$modCount + 1 | 0; } var$5 = var$5 + 1 | 0; } $this.$opCode = $opcode; }, nlesi_IPCPacket14StringList__init_ = (var_0, var_1) => { let var_2 = new nlesi_IPCPacket14StringList(); nlesi_IPCPacket14StringList__init_1(var_2, var_0, var_1); return var_2; }, nlesi_IPCPacket14StringList_deserialize = ($this, $bin) => { let var$2, var$3, $len, var$5, var$6, var$7, var$8, $i; var$2 = $this.$stringList; var$3 = var$2.$array; $len = 0; var$5 = var$2.$size0; var$6 = null; if ($len > var$5) { $bin = new jl_IllegalArgumentException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); } while ($len < var$5) { var$7 = var$3.data; var$8 = $len + 1 | 0; var$7[$len] = var$6; $len = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; $len = $bin.$in.$read(); if ($len < 0) { $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); } $this.$opCode = $len << 24 >> 24; $len = ji_DataInputStream_readInt($bin); $i = 0; while ($i < $len) { var$6 = $this.$stringList; var$5 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$5); var$7 = $rt_createCharArray(var$5); ji_DataInputStream_readFully($bin, var$3, 0, var$5); var$2 = ji_DataInputStream_convertUTF8WithBuf(var$3, var$7, 0, var$5); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$3[var$8] = var$2; var$6.$modCount = var$6.$modCount + 1 | 0; $i = $i + 1 | 0; } }, nlesi_IPCPacket14StringList_serialize = ($this, $bin) => { let var$2, var$3, var$4, var$5, var$6, $str, var$8, var$9, var$10; var$2 = $this.$opCode; $bin.$out0.$write1(var$2); $bin.$written = $bin.$written + 1 | 0; ji_DataOutputStream_writeInt($bin, $this.$stringList.$size0); var$3 = $this.$stringList; var$4 = 0; var$5 = var$3.$modCount; var$6 = var$3.$size(); while (var$4 >= var$6 ? 0 : 1) { if (var$5 < var$3.$modCount) { $bin = new ju_ConcurrentModificationException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); } var$2 = var$4 + 1 | 0; $str = var$3.$get(var$4); var$8 = ji_DataOutputStream_countUTFBytes($bin, $str); if (Long_gt(var$8, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$4 = Long_lo(var$8); var$9 = $rt_createByteArray(var$4 + 2 | 0); var$10 = var$9.data; var$10[0] = var$4 >> 8 << 24 >> 24; var$10[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, $str, var$9, 2); $bin.$out0.$write4(var$9, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; var$4 = var$2; } }, nlesi_IPCPacket14StringList_id = $this => { return 20; }, nlesi_IPCPacket14StringList_size = $this => { let $len, var$2, var$3, var$4, var$5, var$6; $len = 5; var$2 = $this.$stringList; var$3 = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); while (var$3 >= var$5 ? 0 : 1) { if (var$4 < var$2.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$6 = var$3 + 1 | 0; $len = $len + nlesi_IPCPacketBase_strLen(var$2.$get(var$3)) | 0; var$3 = var$6; } return $len; }; function nlesi_IPCPacket15ThrowException() { let a = this; jl_Object.call(a); a.$errorMessage0 = null; a.$stackTrace = null; } let nlesi_IPCPacket15ThrowException__init_ = $this => { let var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$stackTrace = var$1; }, nlesi_IPCPacket15ThrowException__init_0 = () => { let var_0 = new nlesi_IPCPacket15ThrowException(); nlesi_IPCPacket15ThrowException__init_(var_0); return var_0; }, nlesi_IPCPacket15ThrowException_deserialize = ($this, $bin) => { let var$2, var$3, $i, var$5, var$6, var$7, $len, var$9; var$2 = $this.$stackTrace; var$3 = var$2.$array; $i = 0; var$5 = var$2.$size0; var$6 = null; if ($i > var$5) { $bin = new jl_IllegalArgumentException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); } while ($i < var$5) { var$7 = var$3.data; $len = $i + 1 | 0; var$7[$i] = var$6; $i = $len; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; $len = ji_DataInputStream_readUnsignedShort($bin); var$7 = $rt_createByteArray($len); var$3 = $rt_createCharArray($len); ji_DataInputStream_readFully($bin, var$7, 0, $len); $this.$errorMessage0 = ji_DataInputStream_convertUTF8WithBuf(var$7, var$3, 0, $len); $len = ji_DataInputStream_readInt($bin); $i = 0; while ($i < $len) { var$2 = $this.$stackTrace; var$5 = ji_DataInputStream_readUnsignedShort($bin); var$7 = $rt_createByteArray(var$5); var$3 = $rt_createCharArray(var$5); ji_DataInputStream_readFully($bin, var$7, 0, var$5); var$6 = ji_DataInputStream_convertUTF8WithBuf(var$7, var$3, 0, var$5); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$7 = var$2.$array.data; var$9 = var$2.$size0; var$2.$size0 = var$9 + 1 | 0; var$7[var$9] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; $i = $i + 1 | 0; } }, nlesi_IPCPacket15ThrowException_id = $this => { return 21; }, nlesi_IPCPacket15ThrowException_log = $this => { let var$1, $s, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; $s = new ji_ByteArrayOutputStream; $s.$buf = $rt_createByteArray(32); var$1.$out0 = $s; $s = new jl_StringBuilder; $s.$buffer = $rt_createCharArray(16); var$1.$sb = $s; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } var$1 = $this.$errorMessage0; $s = new jl_StringBuilder; $s.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(1211)); var$3 = $s.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert($s, var$3, var$1); var$1 = new jl_String; var$4 = $s.$buffer; var$5 = var$4.data; var$6 = $s.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); $rt_putStderr($rt_ustr(var$1)); $rt_putStderr("\n"); var$1 = $this.$stackTrace; var$6 = 0; var$8 = var$1.$modCount; var$9 = var$1.$size(); a: { while (var$6 >= var$9 ? 0 : 1) { if (var$8 < var$1.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$10 = var$6 + 1 | 0; $s = var$1.$get(var$6); if (jl_System_errCache === null) { var$11 = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); var$11.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); var$11.$sb = var$12; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$11; } var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(1212)); var$3 = var$11.$length0; if ($s === null) $s = $rt_s(1); jl_AbstractStringBuilder_insert(var$11, var$3, $s); $s = new jl_String; var$4 = var$11.$buffer; var$5 = var$4.data; var$6 = var$11.$length0; var$7 = var$5.length; if (var$6 < 0) break a; if (var$6 > (var$7 - 0 | 0)) break a; $s.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); $rt_putStderr($rt_ustr($s)); $rt_putStderr("\n"); var$6 = var$10; } return; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }; function nlesi_IPCPacket16NBTList() { let a = this; jl_Object.call(a); a.$opCode0 = 0; a.$tagList0 = null; a.$nbtTagList = null; } let nlesi_IPCPacket16NBTList__init_ = $this => { $this.$tagList0 = new ju_LinkedList; $this.$nbtTagList = new ju_LinkedList; }, nlesi_IPCPacket16NBTList__init_0 = () => { let var_0 = new nlesi_IPCPacket16NBTList(); nlesi_IPCPacket16NBTList__init_(var_0); return var_0; }, nlesi_IPCPacket16NBTList_deserialize = ($this, $bin) => { let var$2, $count, $i, $toRead, var$6, var$7, var$8, var$9, var$10, $$je; var$2 = $this.$tagList0; var$2.$firstEntry = null; var$2.$lastEntry = null; var$2.$size2 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$nbtTagList; var$2.$firstEntry = null; var$2.$lastEntry = null; var$2.$size2 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; $this.$opCode0 = ji_DataInputStream_readInt($bin); $count = ji_DataInputStream_readInt($bin); $i = 0; a: { while ($i < $count) { $toRead = $rt_createByteArray(ji_DataInputStream_readInt($bin)); ji_DataInputStream_readFully($bin, $toRead, 0, $toRead.data.length); var$2 = $this.$tagList0; var$6 = var$2.$size2; if (var$6 < 0) { $bin = new jl_IndexOutOfBoundsException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator(var$2, var$6), $toRead); b: { try { ju_AbstractList_add($this.$nbtTagList, nms_CompressedStreamTools_read(ji_DataInputStream__init_(ji_ByteArrayInputStream__init_($toRead)))); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); var$2.$out0 = var$7; var$7 = new jl_StringBuilder; jl_Object__init_(var$7); var$7.$buffer = $rt_createCharArray(16); var$2.$sb = var$7; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1213)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, $i, 10); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1214)); var$7 = new jl_String; $toRead = var$2.$buffer; var$8 = $toRead.data; var$9 = var$2.$length0; var$10 = var$8.length; if (var$9 < 0) break a; if (var$9 > (var$10 - 0 | 0)) break a; var$7.$nativeString = $rt_charArrayToString($toRead.data, 0, var$9); $rt_putStderr($rt_ustr(var$7)); $rt_putStderr("\n"); } $i = $i + 1 | 0; } return; } $bin = new jl_IndexOutOfBoundsException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($bin); $rt_throw($bin); }, nlesi_IPCPacket16NBTList_id = $this => { return 22; }; function nlesi_IPCPacketFFProcessKeepAlive() { jl_Object.call(this); this.$ack = 0; } let nlesi_IPCPacketFFProcessKeepAlive__init_ = $this => { return; }, nlesi_IPCPacketFFProcessKeepAlive__init_0 = () => { let var_0 = new nlesi_IPCPacketFFProcessKeepAlive(); nlesi_IPCPacketFFProcessKeepAlive__init_(var_0); return var_0; }, nlesi_IPCPacketFFProcessKeepAlive_deserialize = ($this, $bin) => { let var$2; var$2 = $bin.$in.$read(); if (var$2 >= 0) { $this.$ack = var$2 & 255; return; } $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); }, nlesi_IPCPacketFFProcessKeepAlive_id = $this => { return 255; }, nle_IntegratedState = $rt_classWithoutFields(), nle_IntegratedState__init_ = $this => { return; }, nle_IntegratedState__init_0 = () => { let var_0 = new nle_IntegratedState(); nle_IntegratedState__init_(var_0); return var_0; }, nle_IntegratedState_getStateName = $i => { a: { switch ($i) { case -2: break; case -1: return $rt_s(1215); case 0: return $rt_s(1216); case 1: case 8: break a; case 2: return $rt_s(1217); case 3: return $rt_s(1218); case 4: return $rt_s(1219); case 5: return $rt_s(1220); case 6: return $rt_s(1221); case 7: return $rt_s(1222); case 9: return $rt_s(1223); case 10: return $rt_s(1224); case 11: return $rt_s(1225); case 12: return $rt_s(1226); case 13: return $rt_s(1227); case 14: return $rt_s(1228); case 15: return $rt_s(1229); case 16: return $rt_s(1230); case 17: return $rt_s(1231); case 18: return $rt_s(1232); case 19: return $rt_s(1233); case 20: return $rt_s(1234); default: break a; } return $rt_s(1235); } return $rt_s(1236); }, nle_IntegratedState_isACKValidInState = ($ack, $state) => { switch ($ack) { case 0: return $state != 2 ? 0 : 1; case 1: return $state != 4 ? 0 : 1; case 3: return $state != 5 ? 0 : 1; case 4: return $state != 7 && $state != 6 ? 0 : 1; case 7: return $state != 12 ? 0 : 1; case 11: return $state != 11 && $state != 9 ? 0 : 1; case 18: return $state != 17 ? 0 : 1; case 19: return $state != 18 && $state != 19 ? 0 : 1; case 24: return $state != 20 ? 0 : 1; case 255: return $state != (-1) ? 0 : 1; default: } return 0; }; function nms_Entity() { let a = this; jl_Object.call(a); a.$entityId = 0; a.$renderDistanceWeight = 0.0; a.$preventEntitySpawning = 0; a.$riddenByEntity = null; a.$ridingEntity = null; a.$forceSpawn = 0; a.$worldObj = null; a.$prevPosX = 0.0; a.$prevPosY = 0.0; a.$prevPosZ = 0.0; a.$posX = 0.0; a.$posY = 0.0; a.$posZ = 0.0; a.$motionX = 0.0; a.$motionY = 0.0; a.$motionZ = 0.0; a.$rotationYaw = 0.0; a.$rotationPitch = 0.0; a.$prevRotationYaw = 0.0; a.$prevRotationPitch = 0.0; a.$boundingBox = null; a.$onGround = 0; a.$isCollidedHorizontally = 0; a.$isCollidedVertically = 0; a.$isCollided = 0; a.$velocityChanged = 0; a.$isInWeb = 0; a.$field_70135_K = 0; a.$isDead = 0; a.$yOffset = 0.0; a.$width1 = 0.0; a.$height2 = 0.0; a.$prevDistanceWalkedModified = 0.0; a.$distanceWalkedModified = 0.0; a.$distanceWalkedOnStepModified = 0.0; a.$fallDistance = 0.0; a.$nextStepDistance = 0; a.$lastTickPosX = 0.0; a.$lastTickPosY = 0.0; a.$lastTickPosZ = 0.0; a.$ySize0 = 0.0; a.$stepHeight = 0.0; a.$noClip = 0; a.$entityCollisionReduction = 0.0; a.$rand = null; a.$ticksExisted = 0; a.$fireResistance = 0; a.$fire = 0; a.$inWater = 0; a.$hurtResistantTime = 0; a.$firstUpdate = 0; a.$isImmuneToFire = 0; a.$dataWatcher = null; a.$entityRiderPitchDelta = 0.0; a.$entityRiderYawDelta = 0.0; a.$addedToChunk = 0; a.$chunkCoordX = 0; a.$chunkCoordY = 0; a.$chunkCoordZ = 0; a.$serverPosX = 0; a.$serverPosY = 0; a.$serverPosZ = 0; a.$ignoreFrustumCheck = 0; a.$isAirBorne = 0; a.$timeUntilPortal = 0; a.$inPortal = 0; a.$portalCounter = 0; a.$dimension = 0; a.$teleportDirection = 0; a.$invulnerable = 0; a.$entityUniqueID = null; a.$myEntitySize = null; } let nms_Entity_nextEntityID = 0, nms_Entity__init_ = ($this, $par1World) => { let var$2, var$3, var$4; var$2 = nms_Entity_nextEntityID; nms_Entity_nextEntityID = var$2 + 1 | 0; $this.$entityId = var$2; $this.$renderDistanceWeight = 1.0; var$3 = new nms_AxisAlignedBB; var$3.$minX = 0.0; var$3.$minY = 0.0; var$3.$minZ = 0.0; var$3.$maxX = 0.0; var$3.$maxY = 0.0; var$3.$maxZ = 0.0; $this.$boundingBox = var$3; $this.$field_70135_K = 1; $this.$width1 = 0.6000000238418579; $this.$height2 = 1.7999999523162842; $this.$nextStepDistance = 1; var$3 = new nle_EaglercraftRandom; var$4 = Long_fromNumber(performance.now() * 1000000.0); var$3.$seed = Long_fromInt(69); var$3.$haveNextNextGaussian = 0; var$3.$seed = var$4; $this.$rand = var$3; $this.$fireResistance = 1; $this.$firstUpdate = 1; $this.$dataWatcher = nms_DataWatcher__init_0(); $this.$entityUniqueID = nle_ProfileUUID_randomUUID(); $this.$myEntitySize = nms_EnumEntitySize_SIZE_2; $this.$worldObj = $par1World; nms_Entity_setPosition($this, 0.0, 0.0, 0.0); if ($par1World !== null) $this.$dimension = $par1World.$provider.$dimensionId; nms_DataWatcher_addObject($this.$dataWatcher, 0, jl_Byte_byteCache.data[128]); $par1World = $this.$dataWatcher; var$3 = new jl_Short; var$3.$value8 = 300; nms_DataWatcher_addObject($par1World, 1, var$3); $this.$entityInit(); }, nms_Entity_getDataWatcher = $this => { return $this.$dataWatcher; }, nms_Entity_equals = ($this, $par1Obj) => { return !($par1Obj instanceof nms_Entity) ? 0 : $par1Obj.$entityId != $this.$entityId ? 0 : 1; }, nms_Entity_hashCode = $this => { return $this.$entityId; }, nms_Entity_preparePlayerToSpawn = $this => { let var$1, var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$worldObj !== null) { var$1 = $this.$posY; if (var$1 > 0.0) { nms_Entity_setPosition($this, $this.$posX, var$1, $this.$posZ); var$2 = $this.$worldObj; var$3 = $this.$boundingBox; $ptr = 1; continue main; } $this.$motionZ = 0.0; $this.$motionY = 0.0; $this.$motionX = 0.0; $this.$rotationPitch = 0.0; } return; case 1: $tmp = nms_World_getCollidingBoundingBoxes(var$2, $this, var$3); if ($rt_suspending()) { break main; } var$2 = $tmp; if (!(var$2.$size0 ? 0 : 1)) { $this.$posY = $this.$posY + 1.0; var$1 = $this.$posY; if (var$1 > 0.0) { nms_Entity_setPosition($this, $this.$posX, var$1, $this.$posZ); var$2 = $this.$worldObj; var$3 = $this.$boundingBox; continue main; } } $this.$motionZ = 0.0; $this.$motionY = 0.0; $this.$motionX = 0.0; $this.$rotationPitch = 0.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); }, nms_Entity_setDead = $this => { $this.$isDead = 1; }, nms_Entity_setSize = ($this, $par1, $par2) => { let $var3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$width1; var$4 = $rt_compare($par1, $var3); if (!(!var$4 && $par2 === $this.$height2)) { $this.$width1 = $par1; $this.$height2 = $par2; var$5 = $this.$boundingBox; var$6 = var$5.$minX; var$7 = $par1; var$5.$maxX = var$6 + var$7; var$5.$maxZ = var$5.$minZ + var$7; var$5.$maxY = var$5.$minY + $par2; if (var$4 > 0 && !$this.$firstUpdate && !$this.$worldObj.$isRemote) { var$6 = $var3 - $par1; var$7 = 0.0; $ptr = 1; continue main; } } var$6 = $par1 % 2.0; if (var$6 < 0.375) $this.$myEntitySize = nms_EnumEntitySize_SIZE_1; else if (var$6 < 0.75) $this.$myEntitySize = nms_EnumEntitySize_SIZE_2; else if (var$6 < 1.0) $this.$myEntitySize = nms_EnumEntitySize_SIZE_3; else if (var$6 < 1.375) $this.$myEntitySize = nms_EnumEntitySize_SIZE_4; else if (var$6 >= 1.75) $this.$myEntitySize = nms_EnumEntitySize_SIZE_6; else $this.$myEntitySize = nms_EnumEntitySize_SIZE_5; return; case 1: $this.$moveEntity(var$6, var$7, var$6); if ($rt_suspending()) { break main; } var$6 = $par1 % 2.0; if (var$6 < 0.375) $this.$myEntitySize = nms_EnumEntitySize_SIZE_1; else if (var$6 < 0.75) $this.$myEntitySize = nms_EnumEntitySize_SIZE_2; else if (var$6 < 1.0) $this.$myEntitySize = nms_EnumEntitySize_SIZE_3; else if (var$6 < 1.375) $this.$myEntitySize = nms_EnumEntitySize_SIZE_4; else if (var$6 >= 1.75) $this.$myEntitySize = nms_EnumEntitySize_SIZE_6; else $this.$myEntitySize = nms_EnumEntitySize_SIZE_5; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, var$5, var$6, var$7, $ptr); }, nms_Entity_setRotation = ($this, $par1, $par2) => { $this.$rotationYaw = $par1 % 360.0; $this.$rotationPitch = $par2 % 360.0; }, nms_Entity_setPosition = ($this, $par1, $par3, $par5) => { let $var7, $var8, var$6, var$7, var$8, var$9, var$10; $this.$posX = $par1; $this.$posY = $par3; $this.$posZ = $par5; $var7 = $this.$width1 / 2.0; $var8 = $this.$height2; var$6 = $this.$boundingBox; var$7 = $var7; var$8 = $par1 - var$7; $par3 = $par3 - $this.$yOffset + $this.$ySize0; var$9 = $par5 - var$7; $par1 = $par1 + var$7; var$10 = $par3 + $var8; $par5 = $par5 + var$7; var$6.$minX = var$8; var$6.$minY = $par3; var$6.$minZ = var$9; var$6.$maxX = $par1; var$6.$maxY = var$10; var$6.$maxZ = $par5; }, nms_Entity_setAngles = ($this, $par1, $par2) => { let $var3, $var4, var$5; $var3 = $this.$rotationPitch; $var4 = $this.$rotationYaw; var$5 = $var4 + $par1 * 0.15; $this.$rotationYaw = var$5; $par1 = $var3 - $par2 * 0.15; $this.$rotationPitch = $par1; if ($par1 < (-90.0)) $this.$rotationPitch = (-90.0); if ($this.$rotationPitch > 90.0) $this.$rotationPitch = 90.0; $this.$prevRotationPitch = $this.$prevRotationPitch + $this.$rotationPitch - $var3; $this.$prevRotationYaw = $this.$prevRotationYaw + var$5 - $var4; }, nms_Entity_onUpdate = $this => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $this.$onEntityUpdate(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); }, nms_Entity_onEntityUpdate = $this => { let $var1, $var2, $var4, $var3, var$5, $var5, $var6, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $this.$ridingEntity; if ($var1 !== null && $var1.$isDead) $this.$ridingEntity = null; $this.$prevDistanceWalkedModified = $this.$distanceWalkedModified; $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; $this.$prevRotationPitch = $this.$rotationPitch; $this.$prevRotationYaw = $this.$rotationYaw; $var1 = $this.$worldObj; if (!$var1.$isRemote && $var1 instanceof nms_WorldServer) { $var1 = $var1.$getMinecraftServer(); $var2 = $this.$getMaxInPortalTime(); if (!$this.$inPortal) { $var4 = $this.$portalCounter; if ($var4 > 0) $this.$portalCounter = $var4 - 4 | 0; if ($this.$portalCounter < 0) $this.$portalCounter = 0; } else if ($var1.$getAllowNether()) { if ($this.$ridingEntity === null) { $var4 = $this.$portalCounter; $this.$portalCounter = $var4 + 1 | 0; if ($var4 >= $var2) { $this.$portalCounter = $var2; $this.$timeUntilPortal = $this.$getPortalCooldown(); $var3 = $this.$worldObj.$provider.$dimensionId != (-1) ? (-1) : 0; $ptr = 5; continue main; } } $this.$inPortal = 0; } $var4 = $this.$timeUntilPortal; if ($var4 > 0) $this.$timeUntilPortal = $var4 - 1 | 0; } if (nms_Entity_getFlag($this, 3) && !$this.$isInWater()) { var$5 = $this.$posX; $var5 = var$5 | 0; if (var$5 < $var5) $var5 = $var5 - 1 | 0; var$5 = $this.$posY - 0.20000000298023224 - $this.$yOffset; $var2 = var$5 | 0; if (var$5 < $var2) $var2 = $var2 - 1 | 0; var$5 = $this.$posZ; $var6 = var$5 | 0; if (var$5 < $var6) $var6 = $var6 - 1 | 0; $var4 = nms_World_getBlockId($this.$worldObj, $var5, $var2, $var6); if ($var4 > 0) { $var1 = $this.$worldObj; $var2 = nms_World_getBlockMetadata($var1, $var5, $var2, $var6); var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1237)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $var4, 10); $var3 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, $var3, $var3 + 1 | 0); var$8.$buffer.data[$var3] = 95; jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $var2, 10); var$9 = new jl_String; var$10 = var$8.$buffer; var$11 = var$10.data; $var2 = var$8.$length0; $var3 = var$11.length; if ($var2 >= 0 && $var2 <= ($var3 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$10.data, 0, $var2); var$12 = $this.$posX; var$8 = $this.$rand; var$13 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$13; var$5 = Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 - 0.5; var$14 = $this.$width1; var$12 = var$12 + var$5 * var$14; var$15 = $this.$boundingBox.$minY + 0.1; var$16 = $this.$posZ; var$17 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$17; var$14 = var$16 + (Long_lo(Long_shru(var$17, 24)) / 1.6777216E7 - 0.5) * var$14; var$16 = -$this.$motionX * 4.0; var$18 = 1.5; var$5 = -$this.$motionZ * 4.0; $var4 = 0; var$8 = $var1.$worldAccesses; $var2 = $rt_compare($var4, var$8.$size0); if ($var2 < 0) { if ($var4 >= 0 && $var2 < 0) { var$8 = var$8.$array.data[$var4]; $ptr = 6; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } } else { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } } } $ptr = 1; case 1: $this.$handleWaterMovement(); if ($rt_suspending()) { break main; } if ($this.$worldObj.$isRemote) $this.$fire = 0; else { $var4 = $this.$fire; if ($var4 > 0) { if ($this.$isImmuneToFire) { $var4 = $var4 - 4 | 0; $this.$fire = $var4; if ($var4 < 0) $this.$fire = 0; } else { if (!($var4 % 20 | 0)) { $var1 = nms_DamageSource_onFire; var$19 = 1.0; $ptr = 4; continue main; } $this.$fire = $this.$fire - 1 | 0; } } } if ($this.$handleLavaMovement()) { if (!$this.$isImmuneToFire) { $var1 = nms_DamageSource_lava; var$19 = 4.0; $ptr = 3; continue main; } $this.$fallDistance = $this.$fallDistance * 0.5; } if ($this.$posY >= (-64.0)) { if (!$this.$worldObj.$isRemote) nms_Entity_setFlag($this, 0, $this.$fire <= 0 ? 0 : 1); $this.$firstUpdate = 0; return; } $ptr = 2; case 2: $this.$kill(); if ($rt_suspending()) { break main; } if (!$this.$worldObj.$isRemote) nms_Entity_setFlag($this, 0, $this.$fire <= 0 ? 0 : 1); $this.$firstUpdate = 0; return; case 3: $this.$attackEntityFrom($var1, var$19); if ($rt_suspending()) { break main; } nms_Entity_setFire($this, 15); $this.$fallDistance = $this.$fallDistance * 0.5; if ($this.$posY >= (-64.0)) { if (!$this.$worldObj.$isRemote) nms_Entity_setFlag($this, 0, $this.$fire <= 0 ? 0 : 1); $this.$firstUpdate = 0; return; } $ptr = 2; continue main; case 4: $this.$attackEntityFrom($var1, var$19); if ($rt_suspending()) { break main; } $this.$fire = $this.$fire - 1 | 0; if ($this.$handleLavaMovement()) { if (!$this.$isImmuneToFire) { $var1 = nms_DamageSource_lava; var$19 = 4.0; $ptr = 3; continue main; } $this.$fallDistance = $this.$fallDistance * 0.5; } if ($this.$posY >= (-64.0)) { if (!$this.$worldObj.$isRemote) nms_Entity_setFlag($this, 0, $this.$fire <= 0 ? 0 : 1); $this.$firstUpdate = 0; return; } $ptr = 2; continue main; case 5: $this.$travelToDimension($var3); if ($rt_suspending()) { break main; } $this.$inPortal = 0; $var4 = $this.$timeUntilPortal; if ($var4 > 0) $this.$timeUntilPortal = $var4 - 1 | 0; if (nms_Entity_getFlag($this, 3) && !$this.$isInWater()) { var$5 = $this.$posX; $var5 = var$5 | 0; if (var$5 < $var5) $var5 = $var5 - 1 | 0; var$5 = $this.$posY - 0.20000000298023224 - $this.$yOffset; $var2 = var$5 | 0; if (var$5 < $var2) $var2 = $var2 - 1 | 0; var$5 = $this.$posZ; $var6 = var$5 | 0; if (var$5 < $var6) $var6 = $var6 - 1 | 0; $var4 = nms_World_getBlockId($this.$worldObj, $var5, $var2, $var6); if ($var4 > 0) { $var1 = $this.$worldObj; $var2 = nms_World_getBlockMetadata($var1, $var5, $var2, $var6); var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1237)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $var4, 10); $var3 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, $var3, $var3 + 1 | 0); var$8.$buffer.data[$var3] = 95; jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $var2, 10); var$9 = new jl_String; var$10 = var$8.$buffer; var$11 = var$10.data; $var2 = var$8.$length0; $var3 = var$11.length; if ($var2 >= 0 && $var2 <= ($var3 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$10.data, 0, $var2); var$12 = $this.$posX; var$8 = $this.$rand; var$13 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$13; var$5 = Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 - 0.5; var$14 = $this.$width1; var$12 = var$12 + var$5 * var$14; var$15 = $this.$boundingBox.$minY + 0.1; var$16 = $this.$posZ; var$17 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$17; var$14 = var$16 + (Long_lo(Long_shru(var$17, 24)) / 1.6777216E7 - 0.5) * var$14; var$16 = -$this.$motionX * 4.0; var$18 = 1.5; var$5 = -$this.$motionZ * 4.0; $var4 = 0; var$8 = $var1.$worldAccesses; $var2 = $rt_compare($var4, var$8.$size0); if ($var2 < 0) { if ($var4 >= 0 && $var2 < 0) { var$8 = var$8.$array.data[$var4]; $ptr = 6; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } } else { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } } } $ptr = 1; continue main; case 6: nms_RenderGlobal_doSpawnParticle(var$8, var$9, var$12, var$15, var$14, var$16, var$18, var$5); if ($rt_suspending()) { break main; } $var4 = $var4 + 1 | 0; var$8 = $var1.$worldAccesses; $var2 = $rt_compare($var4, var$8.$size0); if ($var2 >= 0) { $ptr = 1; continue main; } if ($var4 >= 0 && $var2 < 0) { var$8 = var$8.$array.data[$var4]; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var3, var$5, $var5, $var6, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_Entity_getMaxInPortalTime = $this => { return 0; }, nms_Entity_setOnFireFromLava = $this => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$isImmuneToFire) return; var$1 = nms_DamageSource_lava; var$2 = 4.0; $ptr = 1; case 1: $this.$attackEntityFrom(var$1, var$2); if ($rt_suspending()) { break main; } nms_Entity_setFire($this, 15); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); }, nms_Entity_setFire = ($this, $par1) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8; $var2 = $par1 * 20 | 0; nms_Enchantment_$callClinit(); $par1 = nms_Enchantment_fireProtection.$effectId; var$3 = $this.$getLastActiveItems(); nms_EnchantmentHelper_$callClinit(); if (var$3 === null) var$4 = 0; else { var$3 = var$3.data; var$4 = 0; var$5 = var$3.length; var$6 = 0; while (var$6 < var$5) { var$7 = nms_EnchantmentHelper_getEnchantmentLevel($par1, var$3[var$6]); if (var$7 > var$4) var$4 = var$7; var$6 = var$6 + 1 | 0; } } if (var$4 > 0) { var$8 = $var2 * var$4 * 0.15000000596046448; $par1 = var$8 | 0; if (var$8 < $par1) $par1 = $par1 - 1 | 0; $var2 = $var2 - $par1 | 0; } if ($this.$fire < $var2) $this.$fire = $var2; }, nms_Entity_extinguish = $this => { $this.$fire = 0; }, nms_Entity_kill = $this => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $this.$setDead(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); }, nms_Entity_isOffsetPositionInLiquid = ($this, $par1, $par3, $par5) => { let $var8, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var8 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = $this.$boundingBox; var$5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$6 = $var8.$minX + $par1; var$7 = $var8.$minY + $par3; var$8 = $var8.$minZ + $par5; var$9 = $var8.$maxX + $par1; $par3 = $var8.$maxY + $par3; $par1 = $var8.$maxZ + $par5; var$10 = var$5.$nextPoolIndex; $var8 = var$5.$listAABB; var$11 = $var8.$size0; var$12 = $rt_compare(var$10, var$11); if (var$12 >= 0) { var$13 = new nms_AxisAlignedBB; var$13.$minX = var$6; var$13.$minY = var$7; var$13.$minZ = var$8; var$13.$maxX = var$9; var$13.$maxY = $par3; var$13.$maxZ = $par1; ju_ArrayList_ensureCapacity($var8, var$11 + 1 | 0); var$14 = $var8.$array.data; var$12 = $var8.$size0; $var8.$size0 = var$12 + 1 | 0; var$14[var$12] = var$13; $var8.$modCount = $var8.$modCount + 1 | 0; } else if (var$10 >= 0 && var$12 < 0) { var$13 = $var8.$array.data[var$10]; var$13.$minX = var$6; var$13.$minY = var$7; var$13.$minZ = var$8; var$13.$maxX = var$9; var$13.$maxY = $par3; var$13.$maxZ = $par1; } else { $var8 = new jl_IndexOutOfBoundsException; $var8.$suppressionEnabled = 1; $var8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var8); $rt_throw($var8); } var$5.$nextPoolIndex = var$5.$nextPoolIndex + 1 | 0; $var8 = $this.$worldObj; $ptr = 1; case 1: $tmp = nms_World_getCollidingBoundingBoxes($var8, $this, var$13); if ($rt_suspending()) { break main; } $var8 = $tmp; return !($var8.$size0 ? 0 : 1) ? 0 : nms_World_isAnyLiquid($this.$worldObj, var$13) ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3, $par5, $var8, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_Entity_moveEntity = ($this, $par1, $par3, $par5) => { let var$4, $var37, $var25, $var27, $var7, $var9, $var11, $var35, var$12, var$13, var$14, var$15, $var32, $var30, $var23, var$19, var$20, $var20, var$22, var$23, $var21, $var36, var$26, $var33, $var22, var$29, $var42, $var38, $var30_0, $var31, var$34, var$35, var$36, var$37, $var39, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var39 = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();$var31 = $thread.pop();$var30_0 = $thread.pop();$var38 = $thread.pop();$var42 = $thread.pop();var$29 = $thread.pop();$var22 = $thread.pop();$var33 = $thread.pop();var$26 = $thread.pop();$var36 = $thread.pop();$var21 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var20 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var23 = $thread.pop();$var30 = $thread.pop();$var32 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var35 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var27 = $thread.pop();$var25 = $thread.pop();$var37 = $thread.pop();var$4 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$noClip) { var$4 = $this.$boundingBox; $var37 = var$4.$minX + $par1; var$4.$minX = $var37; $var25 = var$4.$minY + $par3; var$4.$minY = $var25; $var27 = var$4.$minZ + $par5; var$4.$minZ = $var27; $par1 = var$4.$maxX + $par1; var$4.$maxX = $par1; var$4.$maxY = var$4.$maxY + $par3; $par3 = var$4.$maxZ + $par5; var$4.$maxZ = $par3; $this.$posX = ($var37 + $par1) / 2.0; $this.$posY = $var25 + $this.$yOffset - $this.$ySize0; $this.$posZ = ($var27 + $par3) / 2.0; return; } $this.$ySize0 = $this.$ySize0 * 0.4000000059604645; $var7 = $this.$posX; $var9 = $this.$posY; $var11 = $this.$posZ; if ($this.$isInWeb) { $this.$isInWeb = 0; $par1 = $par1 * 0.25; $par3 = $par3 * 0.05000000074505806; $par5 = $par5 * 0.25; $this.$motionX = 0.0; $this.$motionY = 0.0; $this.$motionZ = 0.0; } $var35 = $this.$boundingBox; var$12 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var37 = $var35.$minX; $var25 = $var35.$minY; $var27 = $var35.$minZ; var$13 = $var35.$maxX; var$14 = $var35.$maxY; var$15 = $var35.$maxZ; $var32 = var$12.$nextPoolIndex; var$4 = var$12.$listAABB; $var30 = var$4.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { var$19 = new nms_AxisAlignedBB; var$19.$minX = $var37; var$19.$minY = $var25; var$19.$minZ = $var27; var$19.$maxX = var$13; var$19.$maxY = var$14; var$19.$maxZ = var$15; ju_ArrayList_ensureCapacity(var$4, $var30 + 1 | 0); var$20 = var$4.$array.data; $var23 = var$4.$size0; var$4.$size0 = $var23 + 1 | 0; var$20[$var23] = var$19; var$4.$modCount = var$4.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { var$19 = var$4.$array.data[$var32]; var$19.$minX = $var37; var$19.$minY = $var25; var$19.$minZ = $var27; var$19.$maxX = var$13; var$19.$maxY = var$14; var$19.$maxZ = var$15; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } var$12.$nextPoolIndex = var$12.$nextPoolIndex + 1 | 0; $var20 = $this.$onGround && $this.$isSneaking() && $this instanceof nms_EntityPlayer ? 1 : 0; if (!$var20) { var$22 = $par1; var$23 = $par5; } else { $var21 = 0.05; var$22 = $par1; $var36 = $rt_compare($par1, 0.0); if ($var36) { var$26 = $this.$worldObj; var$12 = $this.$boundingBox; $var35 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var37 = var$12.$minX + $par1; $var25 = var$12.$minY + (-1.0); $var27 = var$12.$minZ + 0.0; var$13 = var$12.$maxX + $par1; var$14 = var$12.$maxY + (-1.0); var$15 = var$12.$maxZ + 0.0; $var32 = $var35.$nextPoolIndex; var$4 = $var35.$listAABB; $var30 = var$4.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; ju_ArrayList_ensureCapacity(var$4, $var30 + 1 | 0); var$20 = var$4.$array.data; $var23 = var$4.$size0; var$4.$size0 = $var23 + 1 | 0; var$20[$var23] = var$12; var$4.$modCount = var$4.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { var$12 = var$4.$array.data[$var32]; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } $var35.$nextPoolIndex = $var35.$nextPoolIndex + 1 | 0; $ptr = 2; continue main; } var$23 = $par5; $var36 = $rt_compare($par5, 0.0); if ($var36) { var$26 = $this.$worldObj; var$12 = $this.$boundingBox; $var35 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var37 = var$12.$minX + 0.0; $var25 = var$12.$minY + (-1.0); $var27 = var$12.$minZ + $par5; var$13 = var$12.$maxX + 0.0; var$14 = var$12.$maxY + (-1.0); var$15 = var$12.$maxZ + $par5; $var32 = $var35.$nextPoolIndex; var$4 = $var35.$listAABB; $var30 = var$4.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; ju_ArrayList_ensureCapacity(var$4, $var30 + 1 | 0); var$20 = var$4.$array.data; $var23 = var$4.$size0; var$4.$size0 = $var23 + 1 | 0; var$20[$var23] = var$12; var$4.$modCount = var$4.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { var$12 = var$4.$array.data[$var32]; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } $var35.$nextPoolIndex = $var35.$nextPoolIndex + 1 | 0; $ptr = 3; continue main; } $var36 = $rt_compare($par1, 0.0); if ($var36) { $var33 = $rt_compare($par5, 0.0); if ($var33) { var$26 = $this.$worldObj; var$12 = $this.$boundingBox; $var35 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var37 = var$12.$minX + $par1; $var25 = var$12.$minY + (-1.0); $var27 = var$12.$minZ + $par5; var$13 = var$12.$maxX + $par1; var$14 = var$12.$maxY + (-1.0); var$15 = var$12.$maxZ + $par5; $var32 = $var35.$nextPoolIndex; var$4 = $var35.$listAABB; $var30 = var$4.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; ju_ArrayList_ensureCapacity(var$4, $var30 + 1 | 0); var$20 = var$4.$array.data; $var23 = var$4.$size0; var$4.$size0 = $var23 + 1 | 0; var$20[$var23] = var$12; var$4.$modCount = var$4.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { var$12 = var$4.$array.data[$var32]; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } $var35.$nextPoolIndex = $var35.$nextPoolIndex + 1 | 0; $ptr = 4; continue main; } } } var$4 = $this.$worldObj; var$12 = nms_AxisAlignedBB_addCoord($this.$boundingBox, $par1, $par3, $par5); $ptr = 1; case 1: $tmp = nms_World_getCollidingBoundingBoxes(var$4, $this, var$12); if ($rt_suspending()) { break main; } $var35 = $tmp; $var22 = 0; var$29 = $par3; while (true) { $var32 = $rt_compare($var22, $var35.$size0); if ($var32 >= 0) { var$4 = $this.$boundingBox; var$4.$minX = var$4.$minX + 0.0; var$4.$minY = var$4.$minY + var$29; var$4.$minZ = var$4.$minZ + 0.0; var$4.$maxX = var$4.$maxX + 0.0; var$4.$maxY = var$4.$maxY + var$29; var$4.$maxZ = var$4.$maxZ + 0.0; if (!$this.$field_70135_K && $par3 !== var$29) { $par5 = 0.0; var$29 = 0.0; $par1 = 0.0; } a: { b: { if (!$this.$onGround) { if ($par3 === var$29) break b; if ($par3 >= 0.0) break b; } $var36 = 1; break a; } $var36 = 0; } $var23 = 0; while (true) { $var32 = $rt_compare($var23, $var35.$size0); if ($var32 >= 0) { var$4 = $this.$boundingBox; var$4.$minX = var$4.$minX + $par1; var$4.$minY = var$4.$minY + 0.0; var$4.$minZ = var$4.$minZ + 0.0; var$4.$maxX = var$4.$maxX + $par1; var$4.$maxY = var$4.$maxY + 0.0; var$4.$maxZ = var$4.$maxZ + 0.0; if (!$this.$field_70135_K && var$22 !== $par1) { $par5 = 0.0; var$29 = 0.0; $par1 = 0.0; } $var23 = 0; while (true) { $var32 = $rt_compare($var23, $var35.$size0); if ($var32 >= 0) { var$12 = $this.$boundingBox; var$12.$minX = var$12.$minX + 0.0; var$12.$minY = var$12.$minY + 0.0; var$12.$minZ = var$12.$minZ + $par5; var$12.$maxX = var$12.$maxX + 0.0; var$12.$maxY = var$12.$maxY + 0.0; var$12.$maxZ = var$12.$maxZ + $par5; if (!$this.$field_70135_K && var$23 !== $par5) { $par5 = 0.0; var$29 = 0.0; $par1 = 0.0; } c: { $var42 = $this.$stepHeight; if ($var42 > 0.0 && $var36 && !(!$var20 && $this.$ySize0 >= 0.05000000074505806)) { if (var$22 !== $par1) break c; if (var$23 !== $par5) break c; } var$4 = $this.$boundingBox; $this.$posX = (var$4.$minX + var$4.$maxX) / 2.0; $this.$posY = var$4.$minY + $this.$yOffset - $this.$ySize0; $this.$posZ = (var$4.$minZ + var$4.$maxZ) / 2.0; $var32 = $rt_compare(var$22, $par1); $var23 = !$var32 && var$23 === $par5 ? 0 : 1; $this.$isCollidedHorizontally = $var23; $var30 = $rt_compare($par3, var$29); $var36 = !$var30 ? 0 : 1; $this.$isCollidedVertically = $var36; $var33 = $var30 && $par3 < 0.0 ? 1 : 0; $this.$onGround = $var33; $this.$isCollided = !$var23 && !$var36 ? 0 : 1; $ptr = 6; continue main; } $var21 = $var42; $var35 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var37 = var$12.$minX; $var25 = var$12.$minY; $var27 = var$12.$minZ; var$13 = var$12.$maxX; var$14 = var$12.$maxY; var$15 = var$12.$maxZ; $var32 = $var35.$nextPoolIndex; var$4 = $var35.$listAABB; $var30 = var$4.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; ju_ArrayList_ensureCapacity(var$4, $var30 + 1 | 0); var$20 = var$4.$array.data; $var23 = var$4.$size0; var$4.$size0 = $var23 + 1 | 0; var$20[$var23] = var$12; var$4.$modCount = var$4.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { var$12 = var$4.$array.data[$var32]; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } $var35.$nextPoolIndex = $var35.$nextPoolIndex + 1 | 0; var$4 = $this.$boundingBox; var$4.$minX = var$19.$minX; var$4.$minY = var$19.$minY; var$4.$minZ = var$19.$minZ; var$4.$maxX = var$19.$maxX; var$4.$maxY = var$19.$maxY; var$4.$maxZ = var$19.$maxZ; $var35 = $this.$worldObj; var$4 = nms_AxisAlignedBB_addCoord(var$4, var$22, $var21, var$23); $ptr = 5; continue main; } if ($var23 < 0) break; if ($var32 >= 0) break; $par5 = nms_AxisAlignedBB_calculateZOffset($var35.$array.data[$var23], $this.$boundingBox, $par5); $var23 = $var23 + 1 | 0; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($var23 < 0) break; if ($var32 >= 0) break; $par1 = nms_AxisAlignedBB_calculateXOffset($var35.$array.data[$var23], $this.$boundingBox, $par1); $var23 = $var23 + 1 | 0; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($var22 < 0) break; if ($var32 >= 0) break; var$29 = nms_AxisAlignedBB_calculateYOffset($var35.$array.data[$var22], $this.$boundingBox, var$29); $var22 = $var22 + 1 | 0; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); case 2: $tmp = nms_World_getCollidingBoundingBoxes(var$26, $this, var$12); if ($rt_suspending()) { break main; } var$4 = $tmp; if (!(var$4.$size0 ? 0 : 1)) var$23 = $par5; else { $par1 = $par1 < $var21 && $par1 >= (-0.05) ? 0.0 : $var36 <= 0 ? $par1 + $var21 : $par1 - $var21; var$22 = $par1; $var36 = $rt_compare($par1, 0.0); if ($var36) { var$26 = $this.$worldObj; var$12 = $this.$boundingBox; $var35 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var37 = var$12.$minX + $par1; $var25 = var$12.$minY + (-1.0); $var27 = var$12.$minZ + 0.0; var$13 = var$12.$maxX + $par1; var$14 = var$12.$maxY + (-1.0); var$15 = var$12.$maxZ + 0.0; $var32 = $var35.$nextPoolIndex; var$4 = $var35.$listAABB; $var30 = var$4.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; ju_ArrayList_ensureCapacity(var$4, $var30 + 1 | 0); var$20 = var$4.$array.data; $var23 = var$4.$size0; var$4.$size0 = $var23 + 1 | 0; var$20[$var23] = var$12; var$4.$modCount = var$4.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { var$12 = var$4.$array.data[$var32]; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } $var35.$nextPoolIndex = $var35.$nextPoolIndex + 1 | 0; continue main; } var$23 = $par5; } $var36 = $rt_compare($par5, 0.0); if ($var36) { var$26 = $this.$worldObj; var$12 = $this.$boundingBox; $var35 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var37 = var$12.$minX + 0.0; $var25 = var$12.$minY + (-1.0); $var27 = var$12.$minZ + $par5; var$13 = var$12.$maxX + 0.0; var$14 = var$12.$maxY + (-1.0); var$15 = var$12.$maxZ + $par5; $var32 = $var35.$nextPoolIndex; var$4 = $var35.$listAABB; $var30 = var$4.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; ju_ArrayList_ensureCapacity(var$4, $var30 + 1 | 0); var$20 = var$4.$array.data; $var23 = var$4.$size0; var$4.$size0 = $var23 + 1 | 0; var$20[$var23] = var$12; var$4.$modCount = var$4.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { var$12 = var$4.$array.data[$var32]; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } $var35.$nextPoolIndex = $var35.$nextPoolIndex + 1 | 0; $ptr = 3; continue main; } $var36 = $rt_compare($par1, 0.0); if ($var36) { $var33 = $rt_compare($par5, 0.0); if ($var33) { var$26 = $this.$worldObj; var$12 = $this.$boundingBox; $var35 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var37 = var$12.$minX + $par1; $var25 = var$12.$minY + (-1.0); $var27 = var$12.$minZ + $par5; var$13 = var$12.$maxX + $par1; var$14 = var$12.$maxY + (-1.0); var$15 = var$12.$maxZ + $par5; $var32 = $var35.$nextPoolIndex; var$4 = $var35.$listAABB; $var30 = var$4.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; ju_ArrayList_ensureCapacity(var$4, $var30 + 1 | 0); var$20 = var$4.$array.data; $var23 = var$4.$size0; var$4.$size0 = $var23 + 1 | 0; var$20[$var23] = var$12; var$4.$modCount = var$4.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { var$12 = var$4.$array.data[$var32]; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } $var35.$nextPoolIndex = $var35.$nextPoolIndex + 1 | 0; $ptr = 4; continue main; } } var$4 = $this.$worldObj; var$12 = nms_AxisAlignedBB_addCoord($this.$boundingBox, $par1, $par3, $par5); $ptr = 1; continue main; case 3: $tmp = nms_World_getCollidingBoundingBoxes(var$26, $this, var$12); if ($rt_suspending()) { break main; } var$4 = $tmp; if (var$4.$size0 ? 0 : 1) { $par5 = $par5 < $var21 && $par5 >= (-0.05) ? 0.0 : $var36 <= 0 ? $par5 + $var21 : $par5 - $var21; var$23 = $par5; $var36 = $rt_compare($par5, 0.0); if ($var36) { var$26 = $this.$worldObj; var$12 = $this.$boundingBox; $var35 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var37 = var$12.$minX + 0.0; $var25 = var$12.$minY + (-1.0); $var27 = var$12.$minZ + $par5; var$13 = var$12.$maxX + 0.0; var$14 = var$12.$maxY + (-1.0); var$15 = var$12.$maxZ + $par5; $var32 = $var35.$nextPoolIndex; var$4 = $var35.$listAABB; $var30 = var$4.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; ju_ArrayList_ensureCapacity(var$4, $var30 + 1 | 0); var$20 = var$4.$array.data; $var23 = var$4.$size0; var$4.$size0 = $var23 + 1 | 0; var$20[$var23] = var$12; var$4.$modCount = var$4.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { var$12 = var$4.$array.data[$var32]; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } $var35.$nextPoolIndex = $var35.$nextPoolIndex + 1 | 0; continue main; } } $var36 = $rt_compare($par1, 0.0); if ($var36) { $var33 = $rt_compare($par5, 0.0); if ($var33) { var$26 = $this.$worldObj; var$12 = $this.$boundingBox; $var35 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var37 = var$12.$minX + $par1; $var25 = var$12.$minY + (-1.0); $var27 = var$12.$minZ + $par5; var$13 = var$12.$maxX + $par1; var$14 = var$12.$maxY + (-1.0); var$15 = var$12.$maxZ + $par5; $var32 = $var35.$nextPoolIndex; var$4 = $var35.$listAABB; $var30 = var$4.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; ju_ArrayList_ensureCapacity(var$4, $var30 + 1 | 0); var$20 = var$4.$array.data; $var23 = var$4.$size0; var$4.$size0 = $var23 + 1 | 0; var$20[$var23] = var$12; var$4.$modCount = var$4.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { var$12 = var$4.$array.data[$var32]; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } $var35.$nextPoolIndex = $var35.$nextPoolIndex + 1 | 0; $ptr = 4; continue main; } } var$4 = $this.$worldObj; var$12 = nms_AxisAlignedBB_addCoord($this.$boundingBox, $par1, $par3, $par5); $ptr = 1; continue main; case 4: $tmp = nms_World_getCollidingBoundingBoxes(var$26, $this, var$12); if ($rt_suspending()) { break main; } var$4 = $tmp; if (var$4.$size0 ? 0 : 1) { $par1 = $par1 < $var21 && $par1 >= (-0.05) ? 0.0 : $var36 <= 0 ? $par1 + $var21 : $par1 - $var21; $par5 = $par5 < $var21 && $par5 >= (-0.05) ? 0.0 : $var33 <= 0 ? $par5 + $var21 : $par5 - $var21; var$22 = $par1; var$23 = $par5; $var36 = $rt_compare($par1, 0.0); if ($var36) { $var33 = $rt_compare($par5, 0.0); if ($var33) { var$26 = $this.$worldObj; var$12 = $this.$boundingBox; $var35 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var37 = var$12.$minX + $par1; $var25 = var$12.$minY + (-1.0); $var27 = var$12.$minZ + $par5; var$13 = var$12.$maxX + $par1; var$14 = var$12.$maxY + (-1.0); var$15 = var$12.$maxZ + $par5; $var32 = $var35.$nextPoolIndex; var$4 = $var35.$listAABB; $var30 = var$4.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; ju_ArrayList_ensureCapacity(var$4, $var30 + 1 | 0); var$20 = var$4.$array.data; $var23 = var$4.$size0; var$4.$size0 = $var23 + 1 | 0; var$20[$var23] = var$12; var$4.$modCount = var$4.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { var$12 = var$4.$array.data[$var32]; var$12.$minX = $var37; var$12.$minY = $var25; var$12.$minZ = $var27; var$12.$maxX = var$13; var$12.$maxY = var$14; var$12.$maxZ = var$15; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } $var35.$nextPoolIndex = $var35.$nextPoolIndex + 1 | 0; continue main; } } } var$4 = $this.$worldObj; var$12 = nms_AxisAlignedBB_addCoord($this.$boundingBox, $par1, $par3, $par5); $ptr = 1; continue main; case 5: $tmp = nms_World_getCollidingBoundingBoxes($var35, $this, var$4); if ($rt_suspending()) { break main; } $var35 = $tmp; $var30 = 0; while (true) { $var32 = $rt_compare($var30, $var35.$size0); if ($var32 >= 0) { var$4 = $this.$boundingBox; var$4.$minX = var$4.$minX + 0.0; var$4.$minY = var$4.$minY + $var21; var$4.$minZ = var$4.$minZ + 0.0; var$4.$maxX = var$4.$maxX + 0.0; var$4.$maxY = var$4.$maxY + $var21; var$4.$maxZ = var$4.$maxZ + 0.0; if ($this.$field_70135_K) { $var25 = var$23; $var27 = var$22; } else if ($par3 === $var21) { $var25 = var$23; $var27 = var$22; } else { $var25 = 0.0; $var21 = 0.0; $var27 = 0.0; } $var32 = 0; while (true) { $var23 = $rt_compare($var32, $var35.$size0); if ($var23 >= 0) { var$4 = $this.$boundingBox; var$4.$minX = var$4.$minX + $var27; var$4.$minY = var$4.$minY + 0.0; var$4.$minZ = var$4.$minZ + 0.0; var$4.$maxX = var$4.$maxX + $var27; var$4.$maxY = var$4.$maxY + 0.0; var$4.$maxZ = var$4.$maxZ + 0.0; if (!$this.$field_70135_K && var$22 !== $var27) { $var25 = 0.0; $var21 = 0.0; $var27 = 0.0; } $var32 = 0; while (true) { $var23 = $rt_compare($var32, $var35.$size0); if ($var23 >= 0) { var$4 = $this.$boundingBox; var$4.$minX = var$4.$minX + 0.0; var$4.$minY = var$4.$minY + 0.0; var$4.$minZ = var$4.$minZ + $var25; var$4.$maxX = var$4.$maxX + 0.0; var$4.$maxY = var$4.$maxY + 0.0; var$4.$maxZ = var$4.$maxZ + $var25; $var32 = $this.$field_70135_K; if (!$var32 && var$23 !== $var25) { $var25 = 0.0; $var21 = 0.0; $var27 = 0.0; } d: { if (!$var32 && $par3 !== $var21) { $var25 = 0.0; $var37 = 0.0; $var27 = 0.0; } else { $var37 = -$this.$stepHeight; $var32 = 0; while (true) { $var23 = $rt_compare($var32, $var35.$size0); if ($var23 >= 0) { var$4 = $this.$boundingBox; var$4.$minX = var$4.$minX + 0.0; var$4.$minY = var$4.$minY + $var37; var$4.$minZ = var$4.$minZ + 0.0; var$4.$maxX = var$4.$maxX + 0.0; var$4.$maxY = var$4.$maxY + $var37; var$4.$maxZ = var$4.$maxZ + 0.0; break d; } if ($var32 < 0) break; if ($var23 >= 0) break; $var37 = nms_AxisAlignedBB_calculateYOffset($var35.$array.data[$var32], $this.$boundingBox, $var37); $var32 = $var32 + 1 | 0; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } } if ($par1 * $par1 + $par5 * $par5 < $var27 * $var27 + $var25 * $var25) { $par1 = $var27; var$29 = $var37; $par5 = $var25; } else { var$4 = $this.$boundingBox; var$4.$minX = var$12.$minX; var$4.$minY = var$12.$minY; var$4.$minZ = var$12.$minZ; var$4.$maxX = var$12.$maxX; var$4.$maxY = var$12.$maxY; var$4.$maxZ = var$12.$maxZ; } var$4 = $this.$boundingBox; $this.$posX = (var$4.$minX + var$4.$maxX) / 2.0; $this.$posY = var$4.$minY + $this.$yOffset - $this.$ySize0; $this.$posZ = (var$4.$minZ + var$4.$maxZ) / 2.0; $var32 = $rt_compare(var$22, $par1); $var23 = !$var32 && var$23 === $par5 ? 0 : 1; $this.$isCollidedHorizontally = $var23; $var30 = $rt_compare($par3, var$29); $var36 = !$var30 ? 0 : 1; $this.$isCollidedVertically = $var36; $var33 = $var30 && $par3 < 0.0 ? 1 : 0; $this.$onGround = $var33; $this.$isCollided = !$var23 && !$var36 ? 0 : 1; $ptr = 6; continue main; } if ($var32 < 0) break; if ($var23 >= 0) break; $var25 = nms_AxisAlignedBB_calculateZOffset($var35.$array.data[$var32], $this.$boundingBox, $var25); $var32 = $var32 + 1 | 0; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($var32 < 0) break; if ($var23 >= 0) break; $var27 = nms_AxisAlignedBB_calculateXOffset($var35.$array.data[$var32], $this.$boundingBox, $var27); $var32 = $var32 + 1 | 0; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if ($var30 < 0) break; if ($var32 >= 0) break; $var21 = nms_AxisAlignedBB_calculateYOffset($var35.$array.data[$var30], $this.$boundingBox, $var21); $var30 = $var30 + 1 | 0; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); case 6: $this.$updateFallState(var$29, $var33); if ($rt_suspending()) { break main; } if ($var32) $this.$motionX = 0.0; if ($var30) $this.$motionY = 0.0; if (var$23 !== $par5) $this.$motionZ = 0.0; $var37 = $this.$posX - $var7; $var25 = $this.$posY - $var9; $var27 = $this.$posZ - $var11; if ($this.$canTriggerWalking() && !$var20 && $this.$ridingEntity === null) { $par1 = $this.$posX; $var38 = $par1 | 0; if ($par1 < $var38) $var38 = $var38 - 1 | 0; $par1 = $this.$posY - 0.20000000298023224 - $this.$yOffset; $var30_0 = $par1 | 0; if ($par1 < $var30_0) $var30_0 = $var30_0 - 1 | 0; $par1 = $this.$posZ; $var31 = $par1 | 0; if ($par1 < $var31) $var31 = $var31 - 1 | 0; $var32 = nms_World_getBlockId($this.$worldObj, $var38, $var30_0, $var31); if (!$var32) { var$4 = $this.$worldObj; $var23 = $var30_0 - 1 | 0; $var30 = nms_World_getBlockId(var$4, $var38, $var23, $var31); nms_Block_$callClinit(); var$20 = nms_Block_blocksList.data; $var33 = var$20[$var30] === null ? (-1) : var$20[$var30].$getRenderType(); if (!($var33 != 11 && $var33 != 32 && $var33 != 21)) $var32 = nms_World_getBlockId($this.$worldObj, $var38, $var23, $var31); } nms_Block_$callClinit(); if ($var32 != nms_Block_ladder.$blockID) $var25 = 0.0; $par1 = $this.$distanceWalkedModified; $par3 = $var37 * $var37; $par5 = $var27 * $var27; $this.$distanceWalkedModified = $par1 + jl_Math_sqrt($par3 + $par5) * 0.6; $var42 = $this.$distanceWalkedOnStepModified + jl_Math_sqrt($par3 + $var25 * $var25 + $par5) * 0.6; $this.$distanceWalkedOnStepModified = $var42; if ($var42 > $this.$nextStepDistance && $var32 > 0) { $this.$nextStepDistance = ($var42 | 0) + 1 | 0; if (!$this.$isInWater()) { $ptr = 10; continue main; } $par1 = $this.$motionX; $par1 = $par1 * $par1 * 0.20000000298023224; $par3 = $this.$motionY; $par1 = $par1 + $par3 * $par3; $par3 = $this.$motionZ; $var42 = jl_Math_sqrt($par1 + $par3 * $par3 * 0.20000000298023224) * 0.3499999940395355; if ($var42 > 1.0) $var42 = 1.0; var$4 = $rt_s(1238); var$12 = $this.$rand; var$34 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$34; var$35 = Long_lo(Long_shru(var$34, 24)) / 1.6777216E7; var$36 = Long_and(Long_add(Long_mul(var$34, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$36; var$37 = 1.0 + (var$35 - Long_lo(Long_shru(var$36, 24)) / 1.6777216E7) * 0.4000000059604645; $ptr = 12; continue main; } } try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } $var39 = nms_Entity_isWet($this); var$4 = $this.$worldObj; var$12 = $this.$boundingBox; $var37 = var$12.$minX + 0.001; $var25 = var$12.$minY + 0.001; $var27 = var$12.$minZ + 0.001; $par5 = var$12.$maxX - 0.001; $par1 = var$12.$maxY - 0.001; $par3 = var$12.$maxZ - 0.001; var$26 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var32 = var$26.$nextPoolIndex; var$12 = var$26.$listAABB; $var30 = var$12.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { $var35 = new nms_AxisAlignedBB; $var35.$minX = $var37; $var35.$minY = $var25; $var35.$minZ = $var27; $var35.$maxX = $par5; $var35.$maxY = $par1; $var35.$maxZ = $par3; ju_ArrayList_ensureCapacity(var$12, $var30 + 1 | 0); var$20 = var$12.$array.data; $var23 = var$12.$size0; var$12.$size0 = $var23 + 1 | 0; var$20[$var23] = $var35; var$12.$modCount = var$12.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { $var35 = var$12.$array.data[$var32]; $var35.$minX = $var37; $var35.$minY = $var25; $var35.$minZ = $var27; $var35.$maxX = $par5; $var35.$maxY = $par1; $var35.$maxZ = $par3; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } var$26.$nextPoolIndex = var$26.$nextPoolIndex + 1 | 0; if (nms_World_isBoundingBoxBurning(var$4, $var35)) { $var32 = 1; $ptr = 8; continue main; } if ($this.$fire <= 0) $this.$fire = -$this.$fireResistance | 0; if ($var39 && $this.$fire > 0) { var$4 = $rt_s(1239); $var42 = 0.699999988079071; var$12 = $this.$rand; var$34 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$34; var$35 = Long_lo(Long_shru(var$34, 24)) / 1.6777216E7; var$36 = Long_and(Long_add(Long_mul(var$34, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$36; var$37 = 1.600000023841858 + (var$35 - Long_lo(Long_shru(var$36, 24)) / 1.6777216E7) * 0.4000000059604645; $ptr = 9; continue main; } return; case 7: e: { try { nms_Entity_doBlockCollisions($this); if ($rt_suspending()) { break main; } break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } $var39 = nms_Entity_isWet($this); var$4 = $this.$worldObj; var$12 = $this.$boundingBox; $var37 = var$12.$minX + 0.001; $var25 = var$12.$minY + 0.001; $var27 = var$12.$minZ + 0.001; $par5 = var$12.$maxX - 0.001; $par1 = var$12.$maxY - 0.001; $par3 = var$12.$maxZ - 0.001; var$26 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var32 = var$26.$nextPoolIndex; var$12 = var$26.$listAABB; $var30 = var$12.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { $var35 = new nms_AxisAlignedBB; $var35.$minX = $var37; $var35.$minY = $var25; $var35.$minZ = $var27; $var35.$maxX = $par5; $var35.$maxY = $par1; $var35.$maxZ = $par3; ju_ArrayList_ensureCapacity(var$12, $var30 + 1 | 0); var$20 = var$12.$array.data; $var23 = var$12.$size0; var$12.$size0 = $var23 + 1 | 0; var$20[$var23] = $var35; var$12.$modCount = var$12.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { $var35 = var$12.$array.data[$var32]; $var35.$minX = $var37; $var35.$minY = $var25; $var35.$minZ = $var27; $var35.$maxX = $par5; $var35.$maxY = $par1; $var35.$maxZ = $par3; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } var$26.$nextPoolIndex = var$26.$nextPoolIndex + 1 | 0; if (nms_World_isBoundingBoxBurning(var$4, $var35)) { $var32 = 1; $ptr = 8; continue main; } if ($this.$fire <= 0) $this.$fire = -$this.$fireResistance | 0; if ($var39 && $this.$fire > 0) { var$4 = $rt_s(1239); $var42 = 0.699999988079071; var$12 = $this.$rand; var$34 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$34; var$35 = Long_lo(Long_shru(var$34, 24)) / 1.6777216E7; var$36 = Long_and(Long_add(Long_mul(var$34, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$36; var$37 = 1.600000023841858 + (var$35 - Long_lo(Long_shru(var$36, 24)) / 1.6777216E7) * 0.4000000059604645; $ptr = 9; continue main; } return; case 8: $this.$dealFireDamage($var32); if ($rt_suspending()) { break main; } if (!$var39) { $var32 = $this.$fire + 1 | 0; $this.$fire = $var32; if (!$var32) { $var32 = 160; nms_Enchantment_$callClinit(); $var23 = nms_Enchantment_fireProtection.$effectId; var$20 = $this.$getLastActiveItems(); nms_EnchantmentHelper_$callClinit(); if (var$20 === null) $var30 = 0; else { var$20 = var$20.data; $var30 = 0; $var20 = var$20.length; $var36 = 0; while ($var36 < $var20) { $var33 = nms_EnchantmentHelper_getEnchantmentLevel($var23, var$20[$var36]); if ($var33 > $var30) $var30 = $var33; $var36 = $var36 + 1 | 0; } } if ($var30 > 0) { $var42 = 160.0 * $var30 * 0.15000000596046448; $var23 = $var42 | 0; if ($var42 < $var23) $var23 = $var23 - 1 | 0; $var32 = $var32 - $var23 | 0; } if ($this.$fire < $var32) $this.$fire = $var32; } } if ($var39 && $this.$fire > 0) { var$4 = $rt_s(1239); $var42 = 0.699999988079071; var$12 = $this.$rand; var$34 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$34; var$35 = Long_lo(Long_shru(var$34, 24)) / 1.6777216E7; var$36 = Long_and(Long_add(Long_mul(var$34, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$36; var$37 = 1.600000023841858 + (var$35 - Long_lo(Long_shru(var$36, 24)) / 1.6777216E7) * 0.4000000059604645; $ptr = 9; continue main; } return; case 9: $this.$playSound0(var$4, $var42, var$37); if ($rt_suspending()) { break main; } $this.$fire = -$this.$fireResistance | 0; return; case 10: $this.$playStepSound($var38, $var30_0, $var31, $var32); if ($rt_suspending()) { break main; } var$4 = nms_Block_blocksList.data[$var32]; var$12 = $this.$worldObj; $ptr = 11; case 11: var$4.$onEntityWalking(var$12, $var38, $var30_0, $var31, $this); if ($rt_suspending()) { break main; } try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } $var39 = nms_Entity_isWet($this); var$4 = $this.$worldObj; var$12 = $this.$boundingBox; $var37 = var$12.$minX + 0.001; $var25 = var$12.$minY + 0.001; $var27 = var$12.$minZ + 0.001; $par5 = var$12.$maxX - 0.001; $par1 = var$12.$maxY - 0.001; $par3 = var$12.$maxZ - 0.001; var$26 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var32 = var$26.$nextPoolIndex; var$12 = var$26.$listAABB; $var30 = var$12.$size0; $var23 = $rt_compare($var32, $var30); if ($var23 >= 0) { $var35 = new nms_AxisAlignedBB; $var35.$minX = $var37; $var35.$minY = $var25; $var35.$minZ = $var27; $var35.$maxX = $par5; $var35.$maxY = $par1; $var35.$maxZ = $par3; ju_ArrayList_ensureCapacity(var$12, $var30 + 1 | 0); var$20 = var$12.$array.data; $var23 = var$12.$size0; var$12.$size0 = $var23 + 1 | 0; var$20[$var23] = $var35; var$12.$modCount = var$12.$modCount + 1 | 0; } else if ($var32 >= 0 && $var23 < 0) { $var35 = var$12.$array.data[$var32]; $var35.$minX = $var37; $var35.$minY = $var25; $var35.$minZ = $var27; $var35.$maxX = $par5; $var35.$maxY = $par1; $var35.$maxZ = $par3; } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } var$26.$nextPoolIndex = var$26.$nextPoolIndex + 1 | 0; if (nms_World_isBoundingBoxBurning(var$4, $var35)) { $var32 = 1; $ptr = 8; continue main; } if ($this.$fire <= 0) $this.$fire = -$this.$fireResistance | 0; if ($var39 && $this.$fire > 0) { var$4 = $rt_s(1239); $var42 = 0.699999988079071; var$12 = $this.$rand; var$34 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$34; var$35 = Long_lo(Long_shru(var$34, 24)) / 1.6777216E7; var$36 = Long_and(Long_add(Long_mul(var$34, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$36; var$37 = 1.600000023841858 + (var$35 - Long_lo(Long_shru(var$36, 24)) / 1.6777216E7) * 0.4000000059604645; $ptr = 9; continue main; } return; case 12: $this.$playSound0(var$4, $var42, var$37); if ($rt_suspending()) { break main; } $ptr = 10; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3, $par5, var$4, $var37, $var25, $var27, $var7, $var9, $var11, $var35, var$12, var$13, var$14, var$15, $var32, $var30, $var23, var$19, var$20, $var20, var$22, var$23, $var21, $var36, var$26, $var33, $var22, var$29, $var42, $var38, $var30_0, $var31, var$34, var$35, var$36, var$37, $var39, $ptr); }, nms_Entity_doBlockCollisions = $this => { let var$1, var$2, $var1, $var2, $var3, $var4, $var5, $var6, $var8, $var9, $var10, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$boundingBox; var$2 = var$1.$minX + 0.001; $var1 = var$2 | 0; if (var$2 < $var1) $var1 = $var1 - 1 | 0; var$2 = var$1.$minY + 0.001; $var2 = var$2 | 0; if (var$2 < $var2) $var2 = $var2 - 1 | 0; var$2 = var$1.$minZ + 0.001; $var3 = var$2 | 0; if (var$2 < $var3) $var3 = $var3 - 1 | 0; var$2 = var$1.$maxX - 0.001; $var4 = var$2 | 0; if (var$2 < $var4) $var4 = $var4 - 1 | 0; var$2 = var$1.$maxY - 0.001; $var5 = var$2 | 0; if (var$2 < $var5) $var5 = $var5 - 1 | 0; var$2 = var$1.$maxZ - 0.001; $var6 = var$2 | 0; if (var$2 < $var6) $var6 = $var6 - 1 | 0; a: { if (nms_World_checkChunksExist($this.$worldObj, $var1, $var2, $var3, $var4, $var5, $var6)) while (true) { if ($var1 > $var4) break a; $var8 = $var2; while ($var8 <= $var5) { $var9 = $var3; while ($var9 <= $var6) { $var10 = nms_World_getBlockId($this.$worldObj, $var1, $var8, $var9); if ($var10 > 0) { nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[$var10]; var$12 = $this.$worldObj; $ptr = 1; continue main; } $var9 = $var9 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var1 = $var1 + 1 | 0; } } return; case 1: var$1.$onEntityCollidedWithBlock(var$12, $var1, $var8, $var9, $this); if ($rt_suspending()) { break main; } b: while (true) { $var9 = $var9 + 1 | 0; while ($var9 > $var6) { $var8 = $var8 + 1 | 0; while ($var8 > $var5) { $var1 = $var1 + 1 | 0; if ($var1 > $var4) break b; $var8 = $var2; } $var9 = $var3; } $var10 = nms_World_getBlockId($this.$worldObj, $var1, $var8, $var9); if ($var10 <= 0) continue; else { nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[$var10]; var$12 = $this.$worldObj; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $var1, $var2, $var3, $var4, $var5, $var6, $var8, $var9, $var10, var$12, $ptr); }, nms_Entity_playStepSound = ($this, $par1, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Block_$callClinit(); $var5 = nms_Block_blocksList.data[$par4].$stepSound; $par1 = nms_World_getBlockId($this.$worldObj, $par1, $par2 + 1 | 0, $par3); var$6 = nms_Block_snow; if ($par1 == var$6.$blockID) { $var5 = var$6.$stepSound; var$6 = nms_StepSound_getStepSound($var5); var$7 = $var5.$stepSoundVolume * 0.15000000596046448; var$8 = $var5.$stepSoundPitch; $ptr = 1; continue main; } if (nms_Block_blocksList.data[$par4].$blockMaterial.$isLiquid()) return; var$6 = nms_StepSound_getStepSound($var5); var$7 = $var5.$stepSoundVolume * 0.15000000596046448; var$8 = $var5.$stepSoundPitch; $ptr = 2; continue main; case 1: $this.$playSound0(var$6, var$7, var$8); if ($rt_suspending()) { break main; } return; case 2: $this.$playSound0(var$6, var$7, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $var5, var$6, var$7, var$8, $ptr); }, nms_Entity_playSound = ($this, $par1Str, $par2, $par3) => { nms_World_playSoundAtEntity($this.$worldObj, $this, $par1Str, $par2, $par3); }, nms_Entity_canTriggerWalking = $this => { return 1; }, nms_Entity_updateFallState = ($this, $par1, $par3) => { let var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par3) { var$3 = $this.$fallDistance; if (var$3 > 0.0) { $ptr = 1; continue main; } } else if ($par1 < 0.0) $this.$fallDistance = $this.$fallDistance - $par1; return; case 1: $this.$fall(var$3); if ($rt_suspending()) { break main; } $this.$fallDistance = 0.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3, var$3, $ptr); }, nms_Entity_getBoundingBox = $this => { return null; }, nms_Entity_dealFireDamage = ($this, $par1) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$isImmuneToFire) return; var$2 = nms_DamageSource_inFire; var$3 = $par1; $ptr = 1; case 1: $this.$attackEntityFrom(var$2, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, $ptr); }, nms_Entity_fall = ($this, $par1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$riddenByEntity; if (var$2 === null) return; $ptr = 1; case 1: var$2.$fall($par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, $ptr); }, nms_Entity_isWet = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17; a: { if (!$this.$inWater) { var$1 = $this.$worldObj; var$2 = $this.$posX; var$3 = var$2 | 0; if (var$2 < var$3) var$3 = var$3 - 1 | 0; var$2 = $this.$posY; var$4 = var$2 | 0; if (var$2 < var$4) var$4 = var$4 - 1 | 0; var$2 = $this.$posZ; var$5 = var$2 | 0; if (var$2 < var$5) var$5 = var$5 - 1 | 0; var$6 = var$1.$prevRainingStrength; if (!(var$6 + (var$1.$rainingStrength - var$6) * 1.0 <= 0.2 ? 0 : 1)) var$7 = 0; else { var$8 = var$3 >> 4; var$7 = var$5 >> 4; var$9 = var$1.$chunkProvider; var$10 = var$9.$chunkMapping; var$11 = Long_or(Long_and(Long_fromInt(var$8), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), 32)); var$7 = Long_lo(Long_xor(var$11, Long_shru(var$11, 32))); var$7 = var$7 ^ (var$7 >>> 20 | 0) ^ (var$7 >>> 12 | 0); var$12 = var$7 ^ (var$7 >>> 7 | 0) ^ (var$7 >>> 4 | 0); var$13 = var$10.$hashArray.data; var$10 = var$13[var$12 & (var$13.length - 1 | 0)]; b: { while (var$10 !== null) { if (Long_eq(var$10.$key1, var$11)) { var$10 = var$10.$value6; break b; } var$10 = var$10.$nextEntry0; } var$10 = null; } var$10 = var$10; if (var$10 === null) var$10 = var$9.$blankChunk; var$8 = var$3 & 15; var$14 = var$5 & 15; if (!var$10.$canBlockSeeTheSky(var$8, var$4, var$14)) var$7 = 0; else { var$10 = var$1.$chunkProvider; var$13 = var$10.$chunkMapping.$hashArray.data; var$9 = var$13[var$12 & (var$13.length - 1 | 0)]; c: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$11)) { var$9 = var$9.$value6; break c; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$10.$blankChunk; if (nms_Chunk_getPrecipitationHeight(var$9, var$8, var$14) > var$4) var$7 = 0; else { var$10 = var$1.$chunkProvider; var$13 = var$10.$chunkMapping.$hashArray.data; var$9 = var$13[var$12 & (var$13.length - 1 | 0)]; d: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$11)) { var$9 = var$9.$value6; break d; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$10.$blankChunk; var$1 = var$9 === null ? var$1.$provider.$worldChunkMgr.$getBiomeGenAt(var$3, var$5) : nms_Chunk_getBiomeGenForWorldCoords(var$9, var$8, var$14, var$1.$provider.$worldChunkMgr); var$7 = var$1.$enableSnow; var$7 = var$7 ? 0 : !var$7 ? var$1.$enableRain : 0; } } } if (!var$7) { var$1 = $this.$worldObj; var$2 = $this.$posX; var$14 = var$2 | 0; if (var$2 < var$14) var$14 = var$14 - 1 | 0; var$2 = $this.$posY + $this.$height2; var$8 = var$2 | 0; if (var$2 < var$8) var$8 = var$8 - 1 | 0; var$15 = $this.$posZ; var$16 = var$15 | 0; if (var$15 < var$16) var$16 = var$16 - 1 | 0; var$6 = var$1.$prevRainingStrength; if (!(var$6 + (var$1.$rainingStrength - var$6) * 1.0 <= 0.2 ? 0 : 1)) var$7 = 0; else { var$7 = var$14 >> 4; var$12 = var$16 >> 4; var$10 = var$1.$chunkProvider; var$9 = var$10.$chunkMapping; var$17 = Long_or(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$12), Long_create(4294967295, 0)), 32)); var$7 = Long_lo(Long_xor(var$17, Long_shru(var$17, 32))); var$7 = var$7 ^ (var$7 >>> 20 | 0) ^ (var$7 >>> 12 | 0); var$3 = var$7 ^ (var$7 >>> 7 | 0) ^ (var$7 >>> 4 | 0); var$13 = var$9.$hashArray.data; var$9 = var$13[var$3 & (var$13.length - 1 | 0)]; e: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$17)) { var$9 = var$9.$value6; break e; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$10.$blankChunk; var$12 = var$14 & 15; var$7 = var$16 & 15; if (!var$9.$canBlockSeeTheSky(var$12, var$8, var$7)) var$7 = 0; else { var$10 = var$1.$chunkProvider; var$13 = var$10.$chunkMapping.$hashArray.data; var$9 = var$13[var$3 & (var$13.length - 1 | 0)]; f: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$17)) { var$9 = var$9.$value6; break f; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$10.$blankChunk; if (nms_Chunk_getPrecipitationHeight(var$9, var$12, var$7) > var$8) var$7 = 0; else { var$10 = var$1.$chunkProvider; var$13 = var$10.$chunkMapping.$hashArray.data; var$9 = var$13[var$3 & (var$13.length - 1 | 0)]; g: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$17)) { var$9 = var$9.$value6; break g; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$10.$blankChunk; var$1 = var$9 === null ? var$1.$provider.$worldChunkMgr.$getBiomeGenAt(var$14, var$16) : nms_Chunk_getBiomeGenForWorldCoords(var$9, var$12, var$7, var$1.$provider.$worldChunkMgr); var$7 = var$1.$enableSnow; var$7 = var$7 ? 0 : !var$7 ? var$1.$enableRain : 0; } } } if (!var$7) { var$7 = 0; break a; } } } var$7 = 1; } return var$7; }, nms_Entity_isInWater = $this => { return $this.$inWater; }, nms_Entity_handleWaterMovement = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var3, var$11, var$12, var$13, var$14, $var1, var$16, var$17, var$18, $var2, $var5, $var4, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();$var4 = $thread.pop();$var5 = $thread.pop();$var2 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var1 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var3 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj; var$2 = $this.$boundingBox; var$3 = var$2.$minX - 0.0; var$4 = var$2.$minY + 0.4000000059604645; var$5 = var$2.$minZ - 0.0; var$6 = var$2.$maxX + 0.0; var$7 = var$2.$maxY + (-0.4000000059604645); var$8 = var$2.$maxZ + 0.0; var$9 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var3 = var$9.$nextPoolIndex; var$11 = var$9.$listAABB; var$12 = var$11.$size0; var$13 = $rt_compare($var3, var$12); if (var$13 >= 0) { var$2 = new nms_AxisAlignedBB; var$2.$minX = var$3; var$2.$minY = var$4; var$2.$minZ = var$5; var$2.$maxX = var$6; var$2.$maxY = var$7; var$2.$maxZ = var$8; ju_ArrayList_ensureCapacity(var$11, var$12 + 1 | 0); var$14 = var$11.$array.data; var$12 = var$11.$size0; var$11.$size0 = var$12 + 1 | 0; var$14[var$12] = var$2; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($var3 >= 0 && var$13 < 0) { var$2 = var$11.$array.data[$var3]; var$2.$minX = var$3; var$2.$minY = var$4; var$2.$minZ = var$5; var$2.$maxX = var$6; var$2.$maxY = var$7; var$2.$maxZ = var$8; } else { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$9.$nextPoolIndex = var$9.$nextPoolIndex + 1 | 0; var$3 = var$2.$minX + 0.001; var$4 = var$2.$minY + 0.001; var$5 = var$2.$minZ + 0.001; var$6 = var$2.$maxX - 0.001; var$7 = var$2.$maxY - 0.001; var$8 = var$2.$maxZ - 0.001; var$9 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var3 = var$9.$nextPoolIndex; var$2 = var$9.$listAABB; var$13 = var$2.$size0; var$12 = $rt_compare($var3, var$13); if (var$12 >= 0) { var$11 = new nms_AxisAlignedBB; var$11.$minX = var$3; var$11.$minY = var$4; var$11.$minZ = var$5; var$11.$maxX = var$6; var$11.$maxY = var$7; var$11.$maxZ = var$8; ju_ArrayList_ensureCapacity(var$2, var$13 + 1 | 0); var$14 = var$2.$array.data; var$12 = var$2.$size0; var$2.$size0 = var$12 + 1 | 0; var$14[var$12] = var$11; var$2.$modCount = var$2.$modCount + 1 | 0; } else if ($var3 >= 0 && var$12 < 0) { var$11 = var$2.$array.data[$var3]; var$11.$minX = var$3; var$11.$minY = var$4; var$11.$minZ = var$5; var$11.$maxX = var$6; var$11.$maxY = var$7; var$11.$maxZ = var$8; } else { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$9.$nextPoolIndex = var$9.$nextPoolIndex + 1 | 0; nms_Material_$callClinit(); if (!nms_World_handleMaterialAcceleration(var$1, var$11, nms_Material_water, $this)) $this.$inWater = 0; else { if (!$this.$inWater && !$this.$firstUpdate) { var$6 = $this.$motionX; var$6 = var$6 * var$6 * 0.20000000298023224; var$7 = $this.$motionY; var$6 = var$6 + var$7 * var$7; var$7 = $this.$motionZ; $var1 = jl_Math_sqrt(var$6 + var$7 * var$7 * 0.20000000298023224) * 0.20000000298023224; if ($var1 > 1.0) $var1 = 1.0; var$1 = $rt_s(1240); var$2 = $this.$rand; var$16 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$13 = 24; var$17 = Long_lo(Long_shru(var$16, var$13)) / 1.6777216E7; var$18 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$18; $var2 = 1.0 + (var$17 - Long_lo(Long_shru(var$18, var$13)) / 1.6777216E7) * 0.4000000059604645; $ptr = 1; continue main; } $this.$fallDistance = 0.0; $this.$inWater = 1; $this.$fire = 0; } return $this.$inWater; case 1: $this.$playSound0(var$1, $var1, $var2); if ($rt_suspending()) { break main; } var$6 = $this.$boundingBox.$minY; var$12 = var$6 | 0; if (var$6 < var$12) var$12 = var$12 - 1 | 0; $var2 = var$12; $var3 = 0; var$6 = $var2 + 1.0; while (true) { $var1 = $var3; $var5 = $this.$width1; if ($var1 >= 1.0 + $var5 * 20.0) { $var3 = 0; while (true) { $var1 = $var3; $var5 = $this.$width1; if ($var1 >= 1.0 + $var5 * 20.0) break; var$1 = $this.$rand; var$18 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$18; $var4 = (Long_lo(Long_shru(var$18, var$13)) / 1.6777216E7 * 2.0 - 1.0) * $var5; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$18; $var5 = (Long_lo(Long_shru(var$18, var$13)) / 1.6777216E7 * 2.0 - 1.0) * $var5; var$1 = $this.$worldObj; var$2 = $rt_s(1241); var$7 = $this.$posX + $var4; var$8 = $this.$posZ + $var5; var$3 = $this.$motionX; var$4 = $this.$motionY; var$5 = $this.$motionZ; var$12 = 0; var$11 = var$1.$worldAccesses; var$22 = $rt_compare(var$12, var$11.$size0); if (var$22 < 0) { if (var$12 >= 0 && var$22 < 0) { var$11 = var$11.$array.data[var$12]; $ptr = 3; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var3 = $var3 + 1 | 0; } $this.$fallDistance = 0.0; $this.$inWater = 1; $this.$fire = 0; return $this.$inWater; } var$1 = $this.$rand; var$18 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$18; $var4 = (Long_lo(Long_shru(var$18, var$13)) / 1.6777216E7 * 2.0 - 1.0) * $var5; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$18; $var5 = (Long_lo(Long_shru(var$18, var$13)) / 1.6777216E7 * 2.0 - 1.0) * $var5; var$2 = $this.$worldObj; var$11 = $rt_s(1242); var$7 = $this.$posX + $var4; var$8 = $this.$posZ + $var5; var$3 = $this.$motionX; var$4 = $this.$motionY; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$18; var$4 = var$4 - Long_lo(Long_shru(var$18, var$13)) / 1.6777216E7 * 0.20000000298023224; var$5 = $this.$motionZ; var$12 = 0; var$1 = var$2.$worldAccesses; var$22 = $rt_compare(var$12, var$1.$size0); if (var$22 < 0) break; $var3 = $var3 + 1 | 0; } if (var$12 >= 0 && var$22 < 0) { var$1 = var$1.$array.data[var$12]; $ptr = 2; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); case 2: nms_RenderGlobal_doSpawnParticle(var$1, var$11, var$7, var$6, var$8, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$12 = var$12 + 1 | 0; while (true) { var$1 = var$2.$worldAccesses; var$22 = $rt_compare(var$12, var$1.$size0); if (var$22 < 0) break; $var3 = $var3 + 1 | 0; $var1 = $var3; $var5 = $this.$width1; if ($var1 >= 1.0 + $var5 * 20.0) { $var3 = 0; while (true) { $var1 = $var3; $var5 = $this.$width1; if ($var1 >= 1.0 + $var5 * 20.0) break; var$1 = $this.$rand; var$18 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$18; $var4 = (Long_lo(Long_shru(var$18, var$13)) / 1.6777216E7 * 2.0 - 1.0) * $var5; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$18; $var5 = (Long_lo(Long_shru(var$18, var$13)) / 1.6777216E7 * 2.0 - 1.0) * $var5; var$1 = $this.$worldObj; var$2 = $rt_s(1241); var$7 = $this.$posX + $var4; var$8 = $this.$posZ + $var5; var$3 = $this.$motionX; var$4 = $this.$motionY; var$5 = $this.$motionZ; var$12 = 0; var$11 = var$1.$worldAccesses; var$22 = $rt_compare(var$12, var$11.$size0); if (var$22 < 0) { if (var$12 >= 0 && var$22 < 0) { var$11 = var$11.$array.data[var$12]; $ptr = 3; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var3 = $var3 + 1 | 0; } $this.$fallDistance = 0.0; $this.$inWater = 1; $this.$fire = 0; return $this.$inWater; } var$1 = $this.$rand; var$18 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$18; $var4 = (Long_lo(Long_shru(var$18, var$13)) / 1.6777216E7 * 2.0 - 1.0) * $var5; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$18; $var5 = (Long_lo(Long_shru(var$18, var$13)) / 1.6777216E7 * 2.0 - 1.0) * $var5; var$2 = $this.$worldObj; var$11 = $rt_s(1242); var$7 = $this.$posX + $var4; var$8 = $this.$posZ + $var5; var$3 = $this.$motionX; var$4 = $this.$motionY; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$18; var$4 = var$4 - Long_lo(Long_shru(var$18, var$13)) / 1.6777216E7 * 0.20000000298023224; var$5 = $this.$motionZ; var$12 = 0; } if (var$12 >= 0 && var$22 < 0) { var$1 = var$1.$array.data[var$12]; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); case 3: nms_RenderGlobal_doSpawnParticle(var$11, var$2, var$7, var$6, var$8, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$12 = var$12 + 1 | 0; while (true) { var$11 = var$1.$worldAccesses; var$22 = $rt_compare(var$12, var$11.$size0); if (var$22 < 0) { if (var$12 >= 0 && var$22 < 0) { var$11 = var$11.$array.data[var$12]; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var3 = $var3 + 1 | 0; $var1 = $var3; $var5 = $this.$width1; if ($var1 >= 1.0 + $var5 * 20.0) break; var$1 = $this.$rand; var$18 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$18; $var4 = (Long_lo(Long_shru(var$18, var$13)) / 1.6777216E7 * 2.0 - 1.0) * $var5; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$18; $var5 = (Long_lo(Long_shru(var$18, var$13)) / 1.6777216E7 * 2.0 - 1.0) * $var5; var$1 = $this.$worldObj; var$2 = $rt_s(1241); var$7 = $this.$posX + $var4; var$8 = $this.$posZ + $var5; var$3 = $this.$motionX; var$4 = $this.$motionY; var$5 = $this.$motionZ; var$12 = 0; } $this.$fallDistance = 0.0; $this.$inWater = 1; $this.$fire = 0; return $this.$inWater; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var3, var$11, var$12, var$13, var$14, $var1, var$16, var$17, var$18, $var2, $var5, $var4, var$22, $ptr); }, nms_Entity_isInsideOfMaterial = ($this, $par1Material) => { let $var2, var$3, $var4, $var6, $var8, $var5, $var7; $var2 = $this.$posY + $this.$getEyeHeight(); var$3 = $this.$posX; $var4 = var$3 | 0; if (var$3 < $var4) $var4 = $var4 - 1 | 0; $var6 = $var2 | 0; if ($var2 < $var6) $var6 = $var6 - 1 | 0; $var8 = $var6; $var5 = $var8 | 0; if ($var8 < $var5) $var5 = $var5 - 1 | 0; var$3 = $this.$posZ; $var6 = var$3 | 0; if (var$3 < $var6) $var6 = $var6 - 1 | 0; $var7 = nms_World_getBlockId($this.$worldObj, $var4, $var5, $var6); if ($var7) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var7].$blockMaterial === $par1Material) { $var4 = nms_World_getBlockMetadata($this.$worldObj, $var4, $var5, $var6); if ($var4 >= 8) $var4 = 0; return $var2 >= ($var5 + 1 | 0) - (($var4 + 1 | 0) / 9.0 - 0.1111111119389534) ? 0 : 1; } } return 0; }, nms_Entity_getEyeHeight = $this => { return 0.0; }, nms_Entity_handleLavaMovement = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; var$1 = $this.$worldObj; var$2 = $this.$boundingBox; var$3 = var$2.$minX + 0.10000000149011612; var$4 = var$2.$minY + 0.4000000059604645; var$5 = var$2.$minZ + 0.10000000149011612; var$6 = var$2.$maxX + (-0.10000000149011612); var$7 = var$2.$maxY + (-0.4000000059604645); var$8 = var$2.$maxZ + (-0.10000000149011612); var$9 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9.$nextPoolIndex; var$2 = var$9.$listAABB; var$11 = var$2.$size0; var$12 = $rt_compare(var$10, var$11); if (var$12 >= 0) { var$13 = new nms_AxisAlignedBB; var$13.$minX = var$3; var$13.$minY = var$4; var$13.$minZ = var$5; var$13.$maxX = var$6; var$13.$maxY = var$7; var$13.$maxZ = var$8; ju_ArrayList_ensureCapacity(var$2, var$11 + 1 | 0); var$14 = var$2.$array.data; var$10 = var$2.$size0; var$2.$size0 = var$10 + 1 | 0; var$14[var$10] = var$13; var$2.$modCount = var$2.$modCount + 1 | 0; } else if (var$10 >= 0 && var$12 < 0) { var$13 = var$2.$array.data[var$10]; var$13.$minX = var$3; var$13.$minY = var$4; var$13.$minZ = var$5; var$13.$maxX = var$6; var$13.$maxY = var$7; var$13.$maxZ = var$8; } else { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$9.$nextPoolIndex = var$9.$nextPoolIndex + 1 | 0; nms_Material_$callClinit(); return nms_World_isMaterialInBB(var$1, var$13, nms_Material_lava); }, nms_Entity_moveFlying = ($this, $par1, $par2, $par3) => { let $var4, $var5, var$6, $var6; $var4 = $par1 * $par1 + $par2 * $par2; if ($var4 >= 9.999999747378752E-5) { $var5 = jl_Math_sqrt($var4); if ($var5 < 1.0) $var5 = 1.0; $par3 = $par3 / $var5; $par1 = $par1 * $par3; $par3 = $par2 * $par3; $var4 = $this.$rotationYaw * 3.1415927410125732 / 180.0; var$6 = nms_MathHelper_SIN_TABLE.data; $par2 = $var4 * 10430.3779296875; $var5 = var$6[($par2 | 0) & 65535]; $var6 = var$6[($par2 + 16384.0 | 0) & 65535]; $this.$motionX = $this.$motionX + $par1 * $var6 - $par3 * $var5; $this.$motionZ = $this.$motionZ + $par3 * $var6 + $par1 * $var5; } }, nms_Entity_getBrightnessForRender = ($this, $par1) => { let $var4, $var2, $var3, var$5, $var6, var$7, var$8; $var4 = $this.$posX; $var2 = $var4 | 0; if ($var4 < $var2) $var2 = $var2 - 1 | 0; $var4 = $this.$posZ; $var3 = $var4 | 0; if ($var4 < $var3) $var3 = $var3 - 1 | 0; var$5 = $this.$boundingBox; $var4 = (var$5.$maxY - var$5.$minY) * 0.66; $var4 = $this.$posY - $this.$yOffset + $var4; $var6 = $var4 | 0; if ($var4 < $var6) $var6 = $var6 - 1 | 0; var$5 = $this.$worldObj; var$7 = 0; var$8 = nms_World_getSkyBlockTypeBrightness(var$5, nms_EnumSkyBlock_Sky, $var2, $var6, $var3); $var6 = nms_World_getSkyBlockTypeBrightness(var$5, nms_EnumSkyBlock_Block, $var2, $var6, $var3); if ($var6 >= var$7) var$7 = $var6; return var$8 << 20 | var$7 << 4; }, nms_Entity_getBrightness = ($this, $par1) => { let $var4, $var2, $var3, var$5, $var6; $var4 = $this.$posX; $var2 = $var4 | 0; if ($var4 < $var2) $var2 = $var2 - 1 | 0; $var4 = $this.$posZ; $var3 = $var4 | 0; if ($var4 < $var3) $var3 = $var3 - 1 | 0; var$5 = $this.$boundingBox; $var4 = (var$5.$maxY - var$5.$minY) * 0.66; $var4 = $this.$posY - $this.$yOffset + $var4; $var6 = $var4 | 0; if ($var4 < $var6) $var6 = $var6 - 1 | 0; var$5 = $this.$worldObj; return var$5.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do(var$5, $var2, $var6, $var3, 1)]; }, nms_Entity_setWorld = ($this, $par1World) => { $this.$worldObj = $par1World; }, nms_Entity_setPositionAndRotation = ($this, $par1, $par3, $par5, $par7, $par8) => { let $var9; $this.$posX = $par1; $this.$prevPosX = $par1; $this.$posY = $par3; $this.$prevPosY = $par3; $this.$posZ = $par5; $this.$prevPosZ = $par5; $this.$rotationYaw = $par7; $this.$prevRotationYaw = $par7; $this.$rotationPitch = $par8; $this.$prevRotationPitch = $par8; $this.$ySize0 = 0.0; $var9 = $par7 - $par7; if ($var9 < (-180.0)) $this.$prevRotationYaw = $par7 + 360.0; if ($var9 >= 180.0) $this.$prevRotationYaw = $this.$prevRotationYaw - 360.0; nms_Entity_setPosition($this, $par1, $par3, $par5); $this.$rotationYaw = $par7 % 360.0; $this.$rotationPitch = $par8 % 360.0; }, nms_Entity_setLocationAndAngles = ($this, $par1, $par3, $par5, $par7, $par8) => { $this.$posX = $par1; $this.$prevPosX = $par1; $this.$lastTickPosX = $par1; $par3 = $par3 + $this.$yOffset; $this.$posY = $par3; $this.$prevPosY = $par3; $this.$lastTickPosY = $par3; $this.$posZ = $par5; $this.$prevPosZ = $par5; $this.$lastTickPosZ = $par5; $this.$rotationYaw = $par7; $this.$rotationPitch = $par8; nms_Entity_setPosition($this, $par1, $par3, $par5); }, nms_Entity_getDistanceToEntity = ($this, $par1Entity) => { let $var2, $var3, $var4; $var2 = $this.$posX - $par1Entity.$posX; $var3 = $this.$posY - $par1Entity.$posY; $var4 = $this.$posZ - $par1Entity.$posZ; return jl_Math_sqrt($var2 * $var2 + $var3 * $var3 + $var4 * $var4); }, nms_Entity_getDistanceSq = ($this, $par1, $par3, $par5) => { let $var7, $var9, $var11; $var7 = $this.$posX - $par1; $var9 = $this.$posY - $par3; $var11 = $this.$posZ - $par5; return $var7 * $var7 + $var9 * $var9 + $var11 * $var11; }, nms_Entity_getDistance = ($this, $par1, $par3, $par5) => { let $var7, $var9, $var11; $var7 = $this.$posX - $par1; $var9 = $this.$posY - $par3; $var11 = $this.$posZ - $par5; return jl_Math_sqrt($var7 * $var7 + $var9 * $var9 + $var11 * $var11); }, nms_Entity_getDistanceSqToEntity = ($this, $par1Entity) => { let $var2, $var4, $var6; $var2 = $this.$posX - $par1Entity.$posX; $var4 = $this.$posY - $par1Entity.$posY; $var6 = $this.$posZ - $par1Entity.$posZ; return $var2 * $var2 + $var4 * $var4 + $var6 * $var6; }, nms_Entity_onCollideWithPlayer = ($this, $par1EntityPlayer) => { return; }, nms_Entity_applyEntityCollision = ($this, $par1Entity) => { let $var2, $var4, $var6, $var6_0, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var6_0 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1Entity.$riddenByEntity !== $this && $par1Entity.$ridingEntity !== $this) { $var2 = $par1Entity.$posX - $this.$posX; $var4 = $par1Entity.$posZ - $this.$posZ; $var6 = $var2 < 0.0 ? -$var2 : $var2; $var6_0 = $var4 < 0.0 ? -$var4 : $var4; if ($var6 > $var6_0) $var6_0 = $var6; if ($var6_0 >= 0.009999999776482582) { $var6 = jl_Math_sqrt($var6_0); $var2 = $var2 / $var6; $var4 = $var4 / $var6; $var8 = 1.0 / $var6; if ($var8 > 1.0) $var8 = 1.0; $var2 = $var2 * $var8; $var4 = $var4 * $var8; $var2 = $var2 * 0.05000000074505806; $var4 = $var4 * 0.05000000074505806; $var6 = 1.0 - $this.$entityCollisionReduction; $var2 = $var2 * $var6; $var4 = $var4 * $var6; $var6 = -$var2; $var6_0 = 0.0; $var8 = -$var4; $ptr = 1; continue main; } } return; case 1: $this.$addVelocity($var6, $var6_0, $var8); if ($rt_suspending()) { break main; } $par1Entity.$motionX = $par1Entity.$motionX + $var2; $par1Entity.$motionY = $par1Entity.$motionY + 0.0; $par1Entity.$motionZ = $par1Entity.$motionZ + $var4; $par1Entity.$isAirBorne = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $var2, $var4, $var6, $var6_0, $var8, $ptr); }, nms_Entity_addVelocity = ($this, $par1, $par3, $par5) => { $this.$motionX = $this.$motionX + $par1; $this.$motionY = $this.$motionY + $par3; $this.$motionZ = $this.$motionZ + $par5; $this.$isAirBorne = 1; }, nms_Entity_setBeenAttacked = $this => { $this.$velocityChanged = 1; }, nms_Entity_attackEntityFrom = ($this, $par1DamageSource, $par2) => { if ($this.$invulnerable) return 0; $this.$setBeenAttacked(); return 0; }, nms_Entity_canBeCollidedWith = $this => { return 0; }; let nms_Entity_canBePushed = $this => { return 0; }, nms_Entity_addToPlayerScore = ($this, $par1Entity, $par2) => { return; }, nms_Entity_isInRangeToRenderVec3D = ($this, $par1Vec3) => { let $var2, $var4, $var6; $var2 = $this.$posX - $par1Vec3.$xCoord; $var4 = $this.$posY - $par1Vec3.$yCoord; $var6 = $this.$posZ - $par1Vec3.$zCoord; return $this.$isInRangeToRenderDist($var2 * $var2 + $var4 * $var4 + $var6 * $var6); }, nms_Entity_isInRangeToRenderDist = ($this, $par1) => { let var$2, var$3; var$2 = $this.$boundingBox; var$3 = (var$2.$maxX - var$2.$minX + var$2.$maxY - var$2.$minY + var$2.$maxZ - var$2.$minZ) / 3.0 * 64.0 * $this.$renderDistanceWeight; return $par1 >= var$3 * var$3 ? 0 : 1; }, nms_Entity_writeMountToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_EntityList_$callClinit(); var$2 = nms_EntityList_classToStringMapping; var$3 = $this.constructor; if (var$3 === null) var$4 = null; else { var$4 = var$3.classObject; if (var$4 === null) { var$4 = new jl_Class; var$4.$platformClass = var$3; var$3.classObject = var$4; } } if (var$4 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$5 = var$4; if (!var$5.$id$) var$5.$id$ = $rt_nextId(); var$6 = var$4.$id$; var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { var$5 = var$2.$key; if (var$4 !== var$5 && !(var$4 !== var$5 ? 0 : 1) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (!$this.$isDead && var$3 !== null) { var$8 = $par1NBTTagCompound.$tagMap; var$5 = new nms_NBTTagString; var$5.$name = $rt_s(1243); var$5.$data1 = var$3; ju_HashMap_putImpl(var$8, $rt_s(1243), var$5); nms_Entity_writeToNBT($this, $par1NBTTagCompound); return 1; } return 0; }, nms_Entity_writeToNBTOptional = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_EntityList_$callClinit(); var$2 = nms_EntityList_classToStringMapping; var$3 = $this.constructor; if (var$3 === null) var$4 = null; else { var$4 = var$3.classObject; if (var$4 === null) { var$4 = new jl_Class; var$4.$platformClass = var$3; var$3.classObject = var$4; } } if (var$4 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$5 = var$4; if (!var$5.$id$) var$5.$id$ = $rt_nextId(); var$6 = var$4.$id$; var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { var$5 = var$2.$key; if (var$4 !== var$5 && !(var$4 !== var$5 ? 0 : 1) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (!$this.$isDead && var$3 !== null && $this.$riddenByEntity === null) { var$8 = $par1NBTTagCompound.$tagMap; var$5 = new nms_NBTTagString; var$5.$name = $rt_s(1243); var$5.$data1 = var$3; ju_HashMap_putImpl(var$8, $rt_s(1243), var$5); nms_Entity_writeToNBT($this, $par1NBTTagCompound); return 1; } return 0; }, nms_Entity_writeToNBT = ($this, $par1NBTTagCompound) => { let var$2, $var2, $$je; a: { try { var$2 = $rt_createDoubleArrayFromData([$this.$posX, $this.$posY + $this.$ySize0, $this.$posZ]); nms_NBTTagCompound_setTag($par1NBTTagCompound, $rt_s(1244), nms_Entity_newDoubleNBTList($this, var$2)); var$2 = $rt_createDoubleArrayFromData([$this.$motionX, $this.$motionY, $this.$motionZ]); nms_NBTTagCompound_setTag($par1NBTTagCompound, $rt_s(1245), nms_Entity_newDoubleNBTList($this, var$2)); var$2 = $rt_createFloatArrayFromData([$this.$rotationYaw, $this.$rotationPitch]); nms_NBTTagCompound_setTag($par1NBTTagCompound, $rt_s(1246), nms_Entity_newFloatNBTList($this, var$2)); nms_NBTTagCompound_setFloat($par1NBTTagCompound, $rt_s(1247), $this.$fallDistance); nms_NBTTagCompound_setShort($par1NBTTagCompound, $rt_s(1248), $this.$fire << 16 >> 16); nms_NBTTagCompound_setShort($par1NBTTagCompound, $rt_s(1249), nms_Entity_getAir($this) << 16 >> 16); nms_NBTTagCompound_setBoolean($par1NBTTagCompound, $rt_s(1250), $this.$onGround); nms_NBTTagCompound_setInteger($par1NBTTagCompound, $rt_s(1251), $this.$dimension); nms_NBTTagCompound_setBoolean($par1NBTTagCompound, $rt_s(1252), $this.$invulnerable); nms_NBTTagCompound_setInteger($par1NBTTagCompound, $rt_s(1253), $this.$timeUntilPortal); nms_NBTTagCompound_setLong($par1NBTTagCompound, $rt_s(1254), nle_ProfileUUID_getMostSignificantBits($this.$entityUniqueID)); nms_NBTTagCompound_setLong($par1NBTTagCompound, $rt_s(1255), nle_ProfileUUID_getLeastSignificantBits($this.$entityUniqueID)); $this.$writeEntityToNBT($par1NBTTagCompound); if ($this.$ridingEntity !== null) { $var2 = nms_NBTTagCompound__init_1($rt_s(1256)); if (nms_Entity_writeMountToNBT($this.$ridingEntity, $var2)) nms_NBTTagCompound_setTag($par1NBTTagCompound, $rt_s(1256), $var2); } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } }, nms_Entity_readFromNBT = ($this, $par1NBTTagCompound) => { let $var2, $var6, $var7, var$5, var$6, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var2 = $thread.pop();$par1NBTTagCompound = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: try { $var2 = nms_NBTTagCompound_getTagList($par1NBTTagCompound, $rt_s(1244)); $var6 = nms_NBTTagCompound_getTagList($par1NBTTagCompound, $rt_s(1245)); $var7 = nms_NBTTagCompound_getTagList($par1NBTTagCompound, $rt_s(1246)); $this.$motionX = (nms_NBTTagList_tagAt($var6, 0)).$data6; $this.$motionY = (nms_NBTTagList_tagAt($var6, 1)).$data6; $this.$motionZ = (nms_NBTTagList_tagAt($var6, 2)).$data6; if (jl_Math_abs($this.$motionX) > 10.0) $this.$motionX = 0.0; if (jl_Math_abs($this.$motionY) > 10.0) $this.$motionY = 0.0; if (jl_Math_abs($this.$motionZ) > 10.0) $this.$motionZ = 0.0; var$5 = (nms_NBTTagList_tagAt($var2, 0)).$data6; $this.$posX = var$5; $this.$lastTickPosX = var$5; $this.$prevPosX = var$5; var$5 = (nms_NBTTagList_tagAt($var2, 1)).$data6; $this.$posY = var$5; $this.$lastTickPosY = var$5; $this.$prevPosY = var$5; var$5 = (nms_NBTTagList_tagAt($var2, 2)).$data6; $this.$posZ = var$5; $this.$lastTickPosZ = var$5; $this.$prevPosZ = var$5; var$6 = (nms_NBTTagList_tagAt($var7, 0)).$data4; $this.$rotationYaw = var$6; $this.$prevRotationYaw = var$6; var$6 = (nms_NBTTagList_tagAt($var7, 1)).$data4; $this.$rotationPitch = var$6; $this.$prevRotationPitch = var$6; $this.$fallDistance = nms_NBTTagCompound_getFloat($par1NBTTagCompound, $rt_s(1247)); $this.$fire = nms_NBTTagCompound_getShort($par1NBTTagCompound, $rt_s(1248)); nms_Entity_setAir($this, nms_NBTTagCompound_getShort($par1NBTTagCompound, $rt_s(1249))); $this.$onGround = nms_NBTTagCompound_getBoolean($par1NBTTagCompound, $rt_s(1250)); $this.$dimension = nms_NBTTagCompound_getInteger($par1NBTTagCompound, $rt_s(1251)); $this.$invulnerable = nms_NBTTagCompound_getBoolean($par1NBTTagCompound, $rt_s(1252)); $this.$timeUntilPortal = nms_NBTTagCompound_getInteger($par1NBTTagCompound, $rt_s(1253)); if (nms_NBTTagCompound_hasKey($par1NBTTagCompound, $rt_s(1254)) && nms_NBTTagCompound_hasKey($par1NBTTagCompound, $rt_s(1255))) $this.$entityUniqueID = nle_ProfileUUID__init_0(nms_NBTTagCompound_getLong($par1NBTTagCompound, $rt_s(1254)), nms_NBTTagCompound_getLong($par1NBTTagCompound, $rt_s(1255))); nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); nms_Entity_setRotation($this, $this.$rotationYaw, $this.$rotationPitch); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } return; case 1: a: { try { $this.$readEntityFromNBT($par1NBTTagCompound); if ($rt_suspending()) { break main; } if ($this.$shouldSetPosAfterLoading()) nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NBTTagCompound, $var2, $var6, $var7, var$5, var$6, $ptr); }, nms_Entity_shouldSetPosAfterLoading = $this => { return 1; }, nms_Entity_newDoubleNBTList = ($this, $par1ArrayOfDouble) => { let $var2, var$3, $var4, $var5, var$6, $var6, var$8, var$9, var$10; $par1ArrayOfDouble = $par1ArrayOfDouble.data; $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = var$3; $var4 = $par1ArrayOfDouble.length; $var5 = 0; var$6 = null; while ($var5 < $var4) { $var6 = $par1ArrayOfDouble[$var5]; var$8 = new nms_NBTTagDouble; if (var$6 !== null) var$8.$name = var$6; else var$8.$name = $rt_s(18); var$8.$data6 = $var6; $var2.$tagType = 6; var$3 = $var2.$tagList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$9 = var$3.$array.data; var$10 = var$3.$size0; var$3.$size0 = var$10 + 1 | 0; var$9[var$10] = var$8; var$3.$modCount = var$3.$modCount + 1 | 0; $var5 = $var5 + 1 | 0; } return $var2; }, nms_Entity_newFloatNBTList = ($this, $par1ArrayOfFloat) => { let $var2, var$3, $var4, $var5, var$6, $var6, var$8, var$9, var$10; $par1ArrayOfFloat = $par1ArrayOfFloat.data; $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = var$3; $var4 = $par1ArrayOfFloat.length; $var5 = 0; var$6 = null; while ($var5 < $var4) { $var6 = $par1ArrayOfFloat[$var5]; var$8 = new nms_NBTTagFloat; if (var$6 !== null) var$8.$name = var$6; else var$8.$name = $rt_s(18); var$8.$data4 = $var6; $var2.$tagType = 5; var$3 = $var2.$tagList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$9 = var$3.$array.data; var$10 = var$3.$size0; var$3.$size0 = var$10 + 1 | 0; var$9[var$10] = var$8; var$3.$modCount = var$3.$modCount + 1 | 0; $var5 = $var5 + 1 | 0; } return $var2; }, nms_Entity_getShadowSize = $this => { return $this.$height2 / 2.0; }, nms_Entity_dropItem = ($this, $par1, $par2) => { let var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = 0.0; var$4 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$4.$itemID = $par1; var$4.$stackSize = $par2; var$4.$itemDamage = 0; $ptr = 1; case 1: $tmp = nms_Entity_entityDropItem($this, var$4, var$3); if ($rt_suspending()) { break main; } var$4 = $tmp; return var$4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, $ptr); }, nms_Entity_dropItemWithOffset = ($this, $par1, $par2, $par3) => { let var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$4.$itemID = $par1; var$4.$stackSize = $par2; var$4.$itemDamage = 0; $ptr = 1; case 1: $tmp = nms_Entity_entityDropItem($this, var$4, $par3); if ($rt_suspending()) { break main; } var$4 = $tmp; return var$4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $ptr); }, nms_Entity_entityDropItem = ($this, $par1ItemStack, $par2) => { let $var3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1ItemStack.$stackSize) return null; $var3 = new nms_EntityItem; var$4 = $this.$worldObj; var$5 = $this.$posX; var$6 = $this.$posY + $par2; var$7 = $this.$posZ; $ptr = 1; case 1: nms_EntityItem__init_($var3, var$4, var$5, var$6, var$7); if ($rt_suspending()) { break main; } var$8 = $var3.$dataWatcher; var$4 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[138]; if (var$9 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$10 = var$9.$value0; var$11 = var$4.$elementData.data; var$4 = var$11[var$10 & (var$11.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$10) { var$12 = var$4.$key; if (var$9 !== var$12 && !jl_Integer_equals(var$9, var$12) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$12 = var$4 === null ? null : var$4.$value1; if (!($par1ItemStack !== var$12.$watchedObject ? 0 : 1)) { var$12.$watchedObject = $par1ItemStack; var$12.$watched = 1; var$8.$objectChanged = 1; } var$9 = $var3.$dataWatcher; $par1ItemStack = var$9.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[138]; if (var$12 === null) { $par1ItemStack = $par1ItemStack.$elementData.data[0]; while ($par1ItemStack !== null && $par1ItemStack.$key !== null) { $par1ItemStack = $par1ItemStack.$next3; } } else { var$13 = var$12.$value0; var$11 = $par1ItemStack.$elementData.data; $par1ItemStack = var$11[var$13 & (var$11.length - 1 | 0)]; while ($par1ItemStack !== null) { if ($par1ItemStack.$origKeyHash == var$13) { var$4 = $par1ItemStack.$key; if (var$12 !== var$4 && !jl_Integer_equals(var$12, var$4) ? 0 : 1) break; } $par1ItemStack = $par1ItemStack.$next3; } } ($par1ItemStack === null ? null : $par1ItemStack.$value1).$watched = 1; var$9.$objectChanged = 1; $var3.$delayBeforeCanPickup = 10; $par1ItemStack = $this.$worldObj; var$13 = nms_World_spawnEntityInWorld($par1ItemStack, $var3); var$4 = $par1ItemStack.$entityList; ju_HashMap_putImpl(var$4.$backingMap, $var3, var$4); if (!var$13) { $par1ItemStack = $par1ItemStack.$entitySpawnQueue; ju_HashMap_putImpl($par1ItemStack.$backingMap, $var3, $par1ItemStack); } return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2, $var3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_Entity_isEntityAlive = $this => { return $this.$isDead ? 0 : 1; }, nms_Entity_isEntityInsideOpaqueBlock = $this => { let $var1, $var4, var$3, $var2, $var3, var$6, $var5, $var6, $var7, var$10, var$11, var$12; $var1 = 0; while ($var1 < 8) { $var4 = (($var1 >> 0) % 2 | 0) - 0.5; var$3 = $this.$width1; $var2 = $var4 * var$3 * 0.800000011920929; $var3 = ((($var1 >> 1) % 2 | 0) - 0.5) * 0.10000000149011612; $var4 = ((($var1 >> 2) % 2 | 0) - 0.5) * var$3 * 0.800000011920929; var$6 = $this.$posX + $var2; $var5 = var$6 | 0; if (var$6 < $var5) $var5 = $var5 - 1 | 0; var$6 = $this.$posY + $this.$getEyeHeight() + $var3; $var6 = var$6 | 0; if (var$6 < $var6) $var6 = $var6 - 1 | 0; var$6 = $this.$posZ + $var4; $var7 = var$6 | 0; if (var$6 < $var7) $var7 = $var7 - 1 | 0; var$10 = nms_World_getBlockId($this.$worldObj, $var5, $var6, $var7); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 === null) var$10 = 0; else { var$12 = var$11.$blockMaterial; var$10 = !var$12.$isTranslucent ? var$12.$blocksMovement() : 0; var$10 = var$10 && var$11.$renderAsNormalBlock() && !var$11.$canProvidePower() ? 1 : 0; } if (var$10) return 1; $var1 = $var1 + 1 | 0; } return 0; }, nms_Entity_interactFirst = ($this, $par1EntityPlayer) => { return 0; }, nms_Entity_getCollisionBox = ($this, $par1Entity) => { return null; }, nms_Entity_updateRidden = $this => { let var$1, var$2, var$3, $var1, $var3, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$ridingEntity.$isDead) { $this.$ridingEntity = null; return; } $this.$motionX = 0.0; $this.$motionY = 0.0; $this.$motionZ = 0.0; $ptr = 1; case 1: $this.$onUpdate(); if ($rt_suspending()) { break main; } var$1 = $this.$ridingEntity; if (var$1 !== null) { var$1.$updateRiderPosition(); var$2 = $this.$entityRiderYawDelta; var$1 = $this.$ridingEntity; $this.$entityRiderYawDelta = var$2 + var$1.$rotationYaw - var$1.$prevRotationYaw; $this.$entityRiderPitchDelta = $this.$entityRiderPitchDelta + var$1.$rotationPitch - var$1.$prevRotationPitch; while (true) { var$3 = $this.$entityRiderYawDelta; if (var$3 < 180.0) break; $this.$entityRiderYawDelta = var$3 - 360.0; } while (true) { var$2 = $this.$entityRiderYawDelta; if (var$2 >= (-180.0)) break; $this.$entityRiderYawDelta = var$2 + 360.0; } while (true) { var$3 = $this.$entityRiderPitchDelta; if (var$3 < 180.0) break; $this.$entityRiderPitchDelta = var$3 - 360.0; } while (true) { var$3 = $this.$entityRiderPitchDelta; if (var$3 >= (-180.0)) break; $this.$entityRiderPitchDelta = var$3 + 360.0; } $var1 = var$2 * 0.5; $var3 = var$3 * 0.5; var$6 = 10.0; if ($var1 > var$6) $var1 = var$6; var$7 = (-10.0); if ($var1 < var$7) $var1 = var$7; if ($var3 <= var$6) var$6 = $var3; if (var$6 >= var$7) var$7 = var$6; $this.$entityRiderYawDelta = var$2 - $var1; $this.$entityRiderPitchDelta = var$3 - var$7; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $var1, $var3, var$6, var$7, $ptr); }, nms_Entity_updateRiderPosition = $this => { let var$1; var$1 = $this.$riddenByEntity; if (var$1 !== null) nms_Entity_setPosition(var$1, $this.$posX, $this.$posY + $this.$getMountedYOffset() + $this.$riddenByEntity.$getYOffset(), $this.$posZ); }, nms_Entity_getYOffset = $this => { return $this.$yOffset; }, nms_Entity_getMountedYOffset = $this => { return $this.$height2 * 0.75; }, nms_Entity_mountEntity = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5, var$6, var$7; $this.$entityRiderPitchDelta = 0.0; $this.$entityRiderYawDelta = 0.0; if ($par1Entity !== null) { var$2 = $this.$ridingEntity; if (var$2 !== null) var$2.$riddenByEntity = null; $this.$ridingEntity = $par1Entity; $par1Entity.$riddenByEntity = $this; } else { $par1Entity = $this.$ridingEntity; if ($par1Entity !== null) { var$3 = $par1Entity.$posX; var$4 = $par1Entity.$boundingBox.$minY + $par1Entity.$height2; var$5 = $par1Entity.$posZ; var$6 = $this.$rotationYaw; var$7 = $this.$rotationPitch; $this.$posX = var$3; $this.$prevPosX = var$3; $this.$lastTickPosX = var$3; var$4 = var$4 + $this.$yOffset; $this.$posY = var$4; $this.$prevPosY = var$4; $this.$lastTickPosY = var$4; $this.$posZ = var$5; $this.$prevPosZ = var$5; $this.$lastTickPosZ = var$5; $this.$rotationYaw = var$6; $this.$rotationPitch = var$7; nms_Entity_setPosition($this, var$3, var$4, var$5); $this.$ridingEntity.$riddenByEntity = null; } $this.$ridingEntity = null; } }, nms_Entity_setPositionAndRotation2 = ($this, $par1, $par3, $par5, $par7, $par8, $par9) => { let var$7, $var14, var$9, $var11, var$11, var$12, var$13, var$14, var$15, $var13, var$17, $var10, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();$var10 = $thread.pop();var$17 = $thread.pop();$var13 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var11 = $thread.pop();var$9 = $thread.pop();$var14 = $thread.pop();var$7 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity_setPosition($this, $par1, $par3, $par5); $this.$rotationYaw = $par7 % 360.0; $this.$rotationPitch = $par8 % 360.0; var$7 = $this.$worldObj; $var14 = $this.$boundingBox; var$9 = $var14.$minX + 0.03125; $var11 = $var14.$minY + 0.0; var$11 = $var14.$minZ + 0.03125; var$12 = $var14.$maxX - 0.03125; var$13 = $var14.$maxY - 0.0; var$14 = $var14.$maxZ - 0.03125; var$15 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $par9 = var$15.$nextPoolIndex; $var14 = var$15.$listAABB; $var13 = $var14.$size0; var$17 = $rt_compare($par9, $var13); if (var$17 >= 0) { $var10 = new nms_AxisAlignedBB; $var10.$minX = var$9; $var10.$minY = $var11; $var10.$minZ = var$11; $var10.$maxX = var$12; $var10.$maxY = var$13; $var10.$maxZ = var$14; ju_ArrayList_ensureCapacity($var14, $var13 + 1 | 0); var$19 = $var14.$array.data; var$17 = $var14.$size0; $var14.$size0 = var$17 + 1 | 0; var$19[var$17] = $var10; $var14.$modCount = $var14.$modCount + 1 | 0; } else if ($par9 >= 0 && var$17 < 0) { $var10 = $var14.$array.data[$par9]; $var10.$minX = var$9; $var10.$minY = $var11; $var10.$minZ = var$11; $var10.$maxX = var$12; $var10.$maxY = var$13; $var10.$maxZ = var$14; } else { $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } var$15.$nextPoolIndex = var$15.$nextPoolIndex + 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getCollidingBoundingBoxes(var$7, $this, $var10); if ($rt_suspending()) { break main; } $var10 = $tmp; var$17 = $var10.$size0; $par9 = var$17 ? 0 : 1; a: { if (!$par9) { $var11 = 0.0; $var13 = 0; while (true) { $par9 = $rt_compare($var13, var$17); if ($par9 >= 0) break; if ($var13 < 0) break a; if ($par9 >= 0) break a; var$9 = $var10.$array.data[$var13].$maxY; if (var$9 > $var11) $var11 = var$9; $var13 = $var13 + 1 | 0; } nms_Entity_setPosition($this, $par1, $par3 + $var11 - $this.$boundingBox.$minY, $par5); } return; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3, $par5, $par7, $par8, $par9, var$7, $var14, var$9, $var11, var$11, var$12, var$13, var$14, var$15, $var13, var$17, $var10, var$19, $ptr); }, nms_Entity_getCollisionBorderSize = $this => { return 0.10000000149011612; }, nms_Entity_getLookVec = $this => { return null; }, nms_Entity_setInPortal = $this => { let $var1, $var3, var$3, var$4; if ($this.$timeUntilPortal > 0) $this.$timeUntilPortal = $this.$getPortalCooldown(); else { $var1 = $this.$prevPosX - $this.$posX; $var3 = $this.$prevPosZ - $this.$posZ; if (!$this.$worldObj.$isRemote && !$this.$inPortal) { var$3 = $var1; if (var$3 < 0.0) var$3 = -var$3; var$4 = $var3; if (var$4 < 0.0) var$4 = -var$4; $this.$teleportDirection = var$3 <= var$4 ? ($var3 <= 0.0 ? 0 : 2) : $var1 <= 0.0 ? 3 : 1; } $this.$inPortal = 1; } }, nms_Entity_getPortalCooldown = $this => { return 900; }, nms_Entity_setVelocity = ($this, $par1, $par3, $par5) => { $this.$motionX = $par1; $this.$motionY = $par3; $this.$motionZ = $par5; }, nms_Entity_handleHealthUpdate = ($this, $par1) => { return; }, nms_Entity_performHurtAnimation = $this => { return; }, nms_Entity_getLastActiveItems = $this => { return null; }, nms_Entity_setCurrentItemOrArmor = ($this, $par1, $par2ItemStack) => { return; }, nms_Entity_isBurning = $this => { let var$1; a: { b: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break b; if (nms_Entity_getFlag($this, 0)) break b; } var$1 = 0; break a; } var$1 = 1; } return var$1; }, nms_Entity_isRiding = $this => { return $this.$ridingEntity === null ? 0 : 1; }, nms_Entity_isSneaking = $this => { return nms_Entity_getFlag($this, 1); }, nms_Entity_setSneaking = ($this, $par1) => { nms_Entity_setFlag($this, 1, $par1); }, nms_Entity_isSprinting = $this => { return nms_Entity_getFlag($this, 3); }, nms_Entity_isInvisible = $this => { return nms_Entity_getFlag($this, 5); }, nms_Entity_isInvisibleToPlayer = ($this, $par1EntityPlayer) => { return nms_Entity_getFlag($this, 5); }, nms_Entity_setInvisible = ($this, $par1) => { nms_Entity_setFlag($this, 5, $par1); }, nms_Entity_setEating = ($this, $par1) => { nms_Entity_setFlag($this, 4, $par1); }, nms_Entity_getFlag = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[128]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; return !(var$2.$watchedObject.$value2 & 1 << $par1) ? 0 : 1; }, nms_Entity_setFlag = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[128]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$8 = (var$3 === null ? null : var$3.$value1).$watchedObject.$value2; if ($par2) { var$3 = $this.$dataWatcher; $par1 = (var$8 | 1 << $par1) << 24 >> 24; var$9 = jl_Byte_byteCache.data[$par1 + 128 | 0]; var$7 = var$3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[128]; if (var$10 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$8 = var$10.$value0; var$6 = var$7.$elementData.data; var$7 = var$6[var$8 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$8) { var$4 = var$7.$key; if (var$10 !== var$4 && !(var$10 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$4 = var$7 === null ? null : var$7.$value1; var$7 = var$4.$watchedObject; if (!(var$7 instanceof jl_Byte && var$7.$value2 == var$9.$value2 ? 1 : 0)) { var$4.$watchedObject = var$9; var$4.$watched = 1; var$3.$objectChanged = 1; } } else { var$3 = $this.$dataWatcher; $par1 = (var$8 & (1 << $par1 ^ (-1))) << 24 >> 24; var$9 = jl_Byte_byteCache.data[$par1 + 128 | 0]; var$7 = var$3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[128]; if (var$10 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$8 = var$10.$value0; var$6 = var$7.$elementData.data; var$7 = var$6[var$8 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$8) { var$4 = var$7.$key; if (var$10 !== var$4 && !(var$10 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$4 = var$7 === null ? null : var$7.$value1; var$7 = var$4.$watchedObject; if (!(var$7 instanceof jl_Byte && var$7.$value2 == var$9.$value2 ? 1 : 0)) { var$4.$watchedObject = var$9; var$4.$watched = 1; var$3.$objectChanged = 1; } } }, nms_Entity_getAir = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[129]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject.$value8; }, nms_Entity_setAir = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$dataWatcher; $par1 = $par1 << 16 >> 16; if ($par1 >= (-128) && $par1 <= 127) { jl_Short_ensureShortCache(); var$3 = jl_Short_shortCache.data[$par1 + 128 | 0]; } else { var$3 = new jl_Short; var$3.$value8 = $par1; } var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[129]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; var$4 = var$5.$watchedObject; if (!(var$4 instanceof jl_Short && var$4.$value8 == var$3.$value8 ? 1 : 0)) { var$5.$watchedObject = var$3; var$5.$watched = 1; var$2.$objectChanged = 1; } }, nms_Entity_onStruckByLightning = ($this, $par1EntityLightningBolt) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityLightningBolt = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = 5; $ptr = 1; case 1: $this.$dealFireDamage(var$2); if ($rt_suspending()) { break main; } var$2 = $this.$fire + 1 | 0; $this.$fire = var$2; if (!var$2) { var$2 = 160; nms_Enchantment_$callClinit(); var$3 = nms_Enchantment_fireProtection.$effectId; var$4 = $this.$getLastActiveItems(); nms_EnchantmentHelper_$callClinit(); if (var$4 === null) var$5 = 0; else { var$4 = var$4.data; var$5 = 0; var$6 = var$4.length; var$7 = 0; while (var$7 < var$6) { var$8 = nms_EnchantmentHelper_getEnchantmentLevel(var$3, var$4[var$7]); if (var$8 > var$5) var$5 = var$8; var$7 = var$7 + 1 | 0; } } if (var$5 > 0) { var$9 = 160.0 * var$5 * 0.15000000596046448; var$3 = var$9 | 0; if (var$9 < var$3) var$3 = var$3 - 1 | 0; var$2 = var$2 - var$3 | 0; } if ($this.$fire < var$2) $this.$fire = var$2; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLightningBolt, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_Entity_onKillEntity = ($this, $par1EntityLivingBase) => { return; }, nms_Entity_pushOutOfBlocks = ($this, $par1, $par3, $par5) => { let $var7, $var8, $var9, $var10, $var12, $var14, $var16, var$11, $var21, $var17, $var18, $var20, $var22, $var23, $var24, var$19, $var26, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var26 = $thread.pop();var$19 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var20 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var21 = $thread.pop();var$11 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = $par1 | 0; if ($par1 < $var7) $var7 = $var7 - 1 | 0; $var8 = $par3 | 0; if ($par3 < $var8) $var8 = $var8 - 1 | 0; $var9 = $par5 | 0; if ($par5 < $var9) $var9 = $var9 - 1 | 0; $var10 = $par1 - $var7; $var12 = $par3 - $var8; $var14 = $par5 - $var9; $var16 = $this.$worldObj; var$11 = $this.$boundingBox; $ptr = 1; case 1: $tmp = nms_World_getCollidingBlockBounds($var16, var$11); if ($rt_suspending()) { break main; } $var16 = $tmp; if ($var16.$size0 ? 0 : 1) { $var16 = $this.$worldObj; $ptr = 3; continue main; } $var16 = $this.$worldObj; $var21 = $var7 - 1 | 0; $ptr = 2; case 2: $tmp = nms_World_isBlockFullCube($var16, $var21, $var8, $var9); if ($rt_suspending()) { break main; } $var21 = $tmp; $var17 = $var21 ? 0 : 1; $var16 = $this.$worldObj; $var21 = $var7 + 1 | 0; $ptr = 4; continue main; case 3: $tmp = nms_World_isBlockFullCube($var16, $var7, $var8, $var9); if ($rt_suspending()) { break main; } $var21 = $tmp; if (!$var21) return 0; $var16 = $this.$worldObj; $var21 = $var7 - 1 | 0; $ptr = 2; continue main; case 4: $tmp = nms_World_isBlockFullCube($var16, $var21, $var8, $var9); if ($rt_suspending()) { break main; } $var21 = $tmp; $var18 = $var21 ? 0 : 1; $var16 = $this.$worldObj; $var21 = $var8 - 1 | 0; $ptr = 5; case 5: $tmp = nms_World_isBlockFullCube($var16, $var7, $var21, $var9); if ($rt_suspending()) { break main; } $var21 = $tmp; $var16 = $this.$worldObj; $var21 = $var8 + 1 | 0; $ptr = 6; case 6: $tmp = nms_World_isBlockFullCube($var16, $var7, $var21, $var9); if ($rt_suspending()) { break main; } $var21 = $tmp; $var20 = $var21 ? 0 : 1; $var16 = $this.$worldObj; $var21 = $var9 - 1 | 0; $ptr = 7; case 7: $tmp = nms_World_isBlockFullCube($var16, $var7, $var8, $var21); if ($rt_suspending()) { break main; } $var21 = $tmp; $var21 = $var21 ? 0 : 1; $var16 = $this.$worldObj; $var22 = $var9 + 1 | 0; $ptr = 8; case 8: $tmp = nms_World_isBlockFullCube($var16, $var7, $var8, $var22); if ($rt_suspending()) { break main; } $var22 = $tmp; $var22 = $var22 ? 0 : 1; $var23 = 3; $var24 = 9999.0; if ($var17 && $var10 < $var24) { $var23 = 0; $var24 = $var10; } if (!$var18) $par1 = $var24; else { $par1 = 1.0 - $var10; if ($par1 < $var24) $var23 = 1; else $par1 = $var24; } if (!$var20) $par3 = $par1; else { $par3 = 1.0 - $var12; if ($par3 < $par1) $var23 = 3; else $par3 = $par1; } if ($var21 && $var14 < $par3) { $var23 = 4; $par3 = $var14; } if ($var22 && 1.0 - $var14 < $par3) $var23 = 5; $var16 = $this.$rand; var$19 = Long_and(Long_add(Long_mul($var16.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var16.$seed = var$19; $var26 = Long_lo(Long_shru(var$19, 24)) / 1.6777216E7 * 0.20000000298023224 + 0.10000000149011612; if (!$var23) $this.$motionX = -$var26; if ($var23 == 1) $this.$motionX = $var26; if ($var23 == 2) $this.$motionY = -$var26; if ($var23 == 3) $this.$motionY = $var26; if ($var23 == 4) $this.$motionZ = -$var26; if ($var23 == 5) $this.$motionZ = $var26; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3, $par5, $var7, $var8, $var9, $var10, $var12, $var14, $var16, var$11, $var21, $var17, $var18, $var20, $var22, $var23, $var24, var$19, $var26, $ptr); }; let nms_Entity_setInWeb = $this => { $this.$isInWeb = 1; $this.$fallDistance = 0.0; }, nms_Entity_getEntityName = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_EntityList_$callClinit(); $var1 = nms_EntityList_classToStringMapping; var$2 = $this.constructor; if (var$2 === null) var$3 = null; else { var$3 = var$2.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$2; var$2.classObject = var$3; } } if (var$3 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$2 = var$3; if (!var$2.$id$) var$2.$id$ = $rt_nextId(); var$4 = var$3.$id$; var$5 = $var1.$elementData.data; $var1 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$4) { var$2 = $var1.$key; if (var$3 !== var$2 && !(var$3 !== var$2 ? 0 : 1) ? 0 : 1) break; } $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; if ($var1 === null) $var1 = $rt_s(400); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1257)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $var1); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1258)); $var1 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $var1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); nms_StatCollector_$callClinit(); return nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $var1); } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); }, nms_Entity_getParts = $this => { return null; }, nms_Entity_isEntityEqual = ($this, $par1Entity) => { return $this !== $par1Entity ? 0 : 1; }, nms_Entity_setRotationYawHead = ($this, $par1) => { return; }, nms_Entity_canAttackWithItem = $this => { return 1; }, nms_Entity_hitByEntity = ($this, $par1Entity) => { return 0; }, nms_Entity_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $$je; var$1 = $rt_createArray(jl_Object, 7); var$2 = $this.constructor; if (var$2 === null) var$3 = null; else { var$3 = var$2.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$2; var$2.classObject = var$3; } } var$4 = var$1.data; var$4[0] = jl_Class_getSimpleName(var$3); var$4[1] = $this.$getEntityName(); var$5 = $this.$entityId; if (var$5 >= (-128) && var$5 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$5 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$5; } var$4[2] = var$3; var$3 = $this.$worldObj; var$4[3] = var$3 === null ? $rt_s(1259) : var$3.$worldInfo.$levelName; var$6 = $this.$posX; var$3 = new jl_Double; var$3.$value10 = var$6; var$4[4] = var$3; var$6 = $this.$posY; var$3 = new jl_Double; var$3.$value10 = var$6; var$4[5] = var$3; var$6 = $this.$posZ; var$3 = new jl_Double; var$3.$value10 = var$6; var$4[6] = var$3; var$3 = new ju_Formatter; ju_Locale_$callClinit(); var$7 = ju_Locale_defaultLocale; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); var$3.$out1 = var$8; var$3.$locale1 = var$7; a: { try { ju_Formatter$FormatWriter_write(ju_Formatter$FormatWriter__init_(var$3, var$8, var$7, $rt_s(1260), var$1)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { var$9 = $$je; } else { throw $$e; } } var$3.$ioException = var$9; } var$3 = var$3.$out1; if (var$3 === null) { var$9 = new ju_FormatterClosedException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; $rt_throw(var$9); } var$9 = new jl_String; var$1 = var$3.$buffer; var$10 = var$1.data; var$11 = var$3.$length0; var$5 = var$10.length; if (var$11 >= 0 && var$11 <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$1.data, 0, var$11); return var$9; } var$9 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$9); $rt_throw(var$9); }, nms_Entity_isEntityInvulnerable = $this => { return $this.$invulnerable; }, nms_Entity_copyDataFrom = ($this, $par1Entity, $par2) => { let $var3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = new nms_NBTTagCompound; $var3.$name = $rt_s(18); var$4 = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$6 = var$5.data; var$4.$elementData = var$5; var$4.$loadFactor = 0.75; var$4.$threshold = var$6.length * 0.75 | 0; $var3.$tagMap = var$4; nms_Entity_writeToNBT($par1Entity, $var3); $ptr = 1; case 1: nms_Entity_readFromNBT($this, $var3); if ($rt_suspending()) { break main; } $this.$timeUntilPortal = $par1Entity.$timeUntilPortal; $this.$teleportDirection = $par1Entity.$teleportDirection; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $var3, var$4, var$5, var$6, $ptr); }, nms_Entity_travelToDimension = ($this, $par1) => { let $var2, $var3, $var4, $var5, var$6, $var6, $var7, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj.$isRemote && !$this.$isDead) { $var2 = nms_MinecraftServer_mcServer; $var3 = $this.$dimension; $var4 = $var2.$worldServerForDimension($var3); $var5 = $var2.$worldServerForDimension($par1); $this.$dimension = $par1; var$6 = $rt_compare($var3, 1); if (!var$6 && $par1 == 1) { $var5 = $var2.$worldServerForDimension(0); $this.$dimension = 0; } $var6 = $this.$worldObj; $var7 = $this.$riddenByEntity; if ($var7 !== null) { var$9 = null; $ptr = 1; continue main; } if ($this.$ridingEntity === null) { $ptr = 2; continue main; } $var7 = null; $ptr = 3; continue main; } return; case 1: $var7.$mountEntity(var$9); if ($rt_suspending()) { break main; } if ($this.$ridingEntity === null) { $ptr = 2; continue main; } $var7 = null; $ptr = 3; continue main; case 2: $this.$setDead(); if ($rt_suspending()) { break main; } if ($this instanceof nms_EntityPlayer) { $var7 = $var6.$playerEntities; var$10 = $var7.$size0; var$11 = 0; a: { while (true) { if (var$11 >= var$10) { var$11 = (-1); break a; } if (var$11 < 0) break; if (var$11 >= $var7.$size0) break; var$9 = $var7.$array.data[var$11]; if ($this === var$9 ? 1 : $this !== null ? $this.$equals(var$9) : var$9 !== null ? 0 : 1) break a; var$11 = var$11 + 1 | 0; } $var2 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var2); $rt_throw($var2); } if (var$11 >= 0) ju_ArrayList_remove($var7, var$11); } $var6 = ju_HashMap_removeByKey($var6.$entityList.$backingMap, $this); $this.$isDead = 0; ($var2.$getConfigurationManager()).$transferEntityToWorld($this, $var3, $var4, $var5); nms_EntityList_$callClinit(); $var7 = nms_EntityList_classToStringMapping; $var2 = $this.constructor; if ($var2 === null) var$9 = null; else { var$9 = $var2.classObject; if (var$9 === null) { var$9 = new jl_Class; var$9.$platformClass = $var2; $var2.classObject = var$9; } } if (var$9 === null) { $var2 = $var7.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$12 = var$9; if (!var$12.$id$) var$12.$id$ = $rt_nextId(); var$10 = var$9.$id$; var$13 = $var7.$elementData.data; $var2 = var$13[var$10 & (var$13.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$10) { $var6 = $var2.$key; if (var$9 !== $var6 && !(var$9 !== $var6 ? 0 : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var7 = $var2 === null ? null : $var2.$value1; $var2 = nms_EntityList_stringToConstructorMapping; if ($var7 === null) { var$9 = $var2.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { b: { if (!$var7.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $var7.$nativeString.length) break b; $var7.$hashCode1 = (31 * $var7.$hashCode1 | 0) + $var7.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$14 = $var7.$hashCode1; var$13 = $var2.$elementData.data; var$9 = var$13[var$14 & (var$13.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$14) { c: { $var2 = var$9.$key; if ($var7 !== $var2) { if ($var7 === $var2) $var3 = 1; else if (!($var2 instanceof jl_String)) $var3 = 0; else { $var2 = $var2; $var3 = $var7.$nativeString !== $var2.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break c; } } $var3 = 1; } if ($var3) break; } var$9 = var$9.$next3; } } $var2 = var$9 === null ? null : var$9.$value1; if ($var2 !== null) { $ptr = 4; continue main; } if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var6 = new ji_ByteArrayOutputStream; $var6.$buf = $rt_createByteArray(32); jl_Object__init_($var2); $var2.$out0 = $var6; $var6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var6, 16); $var2.$sb = $var6; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $rt_s(1261)); $var3 = $var2.$length0; if ($var7 === null) $var7 = $rt_s(1); jl_AbstractStringBuilder_insert($var2, $var3, $var7); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $rt_s(1262)); $var6 = new jl_String; var$13 = $var2.$buffer; var$15 = var$13.data; var$14 = $var2.$length0; var$10 = var$15.length; if (var$14 >= 0 && var$14 <= (var$10 - 0 | 0)) { $var6.$nativeString = $rt_charArrayToString(var$13.data, 0, var$14); $rt_putStderr($rt_ustr($var6)); $rt_putStderr("\n"); $var6 = null; if ($var6 === null) { $this.$isDead = 1; $var4.$resetUpdateEntityTick(); $var5.$resetUpdateEntityTick(); return; } $var2 = new nms_NBTTagCompound; $var2.$name = $rt_s(18); $var7 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$15 = var$13.data; $var7.$elementData = var$13; $var7.$loadFactor = 0.75; $var7.$threshold = var$15.length * 0.75 | 0; $var2.$tagMap = $var7; nms_Entity_writeToNBT($this, $var2); $ptr = 5; continue main; } $var2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var2); $rt_throw($var2); case 3: $this.$mountEntity($var7); if ($rt_suspending()) { break main; } $ptr = 2; continue main; case 4: $tmp = $var2.$apply($var5); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 === null) { $this.$isDead = 1; $var4.$resetUpdateEntityTick(); $var5.$resetUpdateEntityTick(); return; } $var2 = new nms_NBTTagCompound; $var2.$name = $rt_s(18); $var7 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$15 = var$13.data; $var7.$elementData = var$13; $var7.$loadFactor = 0.75; $var7.$threshold = var$15.length * 0.75 | 0; $var2.$tagMap = $var7; nms_Entity_writeToNBT($this, $var2); $ptr = 5; case 5: nms_Entity_readFromNBT($var6, $var2); if ($rt_suspending()) { break main; } $var6.$timeUntilPortal = $this.$timeUntilPortal; $var6.$teleportDirection = $this.$teleportDirection; if (!var$6 && $par1 == 1) { $var7 = $var5.$getSpawnPoint(); $par1 = nms_World_getTopSolidOrLiquidBlock($this.$worldObj, $var7.$posX0, $var7.$posZ0); $var7.$posY0 = $par1; var$16 = $var7.$posX0; var$17 = $par1; var$18 = $var7.$posZ0; var$19 = $var6.$rotationYaw; var$20 = $var6.$rotationPitch; $var6.$posX = var$16; $var6.$prevPosX = var$16; $var6.$lastTickPosX = var$16; var$17 = var$17 + $var6.$yOffset; $var6.$posY = var$17; $var6.$prevPosY = var$17; $var6.$lastTickPosY = var$17; $var6.$posZ = var$18; $var6.$prevPosZ = var$18; $var6.$lastTickPosZ = var$18; $var6.$rotationYaw = var$19; $var6.$rotationPitch = var$20; nms_Entity_setPosition($var6, var$16, var$17, var$18); } $var5.$spawnEntityInWorld($var6); $this.$isDead = 1; $var4.$resetUpdateEntityTick(); $var5.$resetUpdateEntityTick(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var2, $var3, $var4, $var5, var$6, $var6, $var7, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr); }, nms_Entity_getBlockExplosionResistance = ($this, $par1Explosion, $par2World, $par3, $par4, $par5, $par6Block) => { return $par6Block.$getExplosionResistance($this); }, nms_Entity_shouldExplodeBlock = ($this, $par1Explosion, $par2World, $par3, $par4, $par5, $par6, $par7) => { return 1; }, nms_Entity_doesEntityNotTriggerPressurePlate = $this => { return 0; }, nms_Entity_canRenderOnFire = $this => { return $this.$isBurning(); }, nms_Entity_getUniqueID = $this => { return $this.$entityUniqueID; }, nms_Entity_isPushedByWater = $this => { return 1; }, nms_Entity_getTranslatedEntityName = $this => { return $this.$getEntityName(); }; function nms_EntityLivingBase() { let a = this; nms_Entity.call(a); a.$attributeMap = null; a.$_combatTracker = null; a.$activePotionsMap = null; a.$previousEquipment = null; a.$equipmentDropChances0 = null; a.$isSwingInProgress = 0; a.$swingProgressInt = 0; a.$arrowHitTimer = 0; a.$prevHealth = 0.0; a.$hurtTime = 0; a.$maxHurtTime = 0; a.$attackedAtYaw = 0.0; a.$deathTime = 0; a.$attackTime = 0; a.$prevSwingProgress = 0.0; a.$swingProgress = 0.0; a.$prevLimbSwingAmount = 0.0; a.$limbSwingAmount = 0.0; a.$limbSwing = 0.0; a.$maxHurtResistantTime = 0; a.$prevCameraPitch = 0.0; a.$cameraPitch = 0.0; a.$field_70769_ao = 0.0; a.$field_70770_ap = 0.0; a.$renderYawOffset = 0.0; a.$prevRenderYawOffset = 0.0; a.$rotationYawHead = 0.0; a.$prevRotationYawHead = 0.0; a.$jumpMovementFactor = 0.0; a.$attackingPlayer = null; a.$recentlyHit = 0; a.$dead0 = 0; a.$entityAge = 0; a.$field_70768_au = 0.0; a.$field_110154_aX = 0.0; a.$field_70764_aw = 0.0; a.$field_70763_ax = 0.0; a.$field_70741_aB = 0.0; a.$scoreValue = 0; a.$lastDamage = 0.0; a.$isJumping = 0; a.$moveStrafing = 0.0; a.$moveForward = 0.0; a.$randomYawVelocity = 0.0; a.$newPosRotationIncrements = 0; a.$newPosX = 0.0; a.$newPosY = 0.0; a.$newPosZ = 0.0; a.$newRotationYaw = 0.0; a.$newRotationPitch = 0.0; a.$potionsNeedUpdate = 0; a.$entityLivingToAttack = null; a.$revengeTimer = 0; a.$lastAttacker = null; a.$lastAttackerTime = 0; a.$landMovementFactor = 0.0; a.$jumpTicks = 0; a.$field_110151_bq = 0.0; } let nms_EntityLivingBase_sprintingSpeedBoostModifierUUID = null, nms_EntityLivingBase_sprintingSpeedBoostModifier = null, nms_EntityLivingBase_$callClinit = () => { nms_EntityLivingBase_$callClinit = $rt_eraseClinit(nms_EntityLivingBase); nms_EntityLivingBase__clinit_(); }, nms_EntityLivingBase__init_ = ($this, $par1World) => { let var$2, var$3; nms_EntityLivingBase_$callClinit(); nms_Entity__init_($this, $par1World); $par1World = new nms_CombatTracker; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $par1World.$field_94556_a = var$2; $par1World.$fighter = $this; $this.$_combatTracker = $par1World; $this.$activePotionsMap = ju_HashMap__init_(); $this.$previousEquipment = $rt_createArray(nms_ItemStack, 5); $this.$equipmentDropChances0 = $rt_createFloatArray(5); $this.$maxHurtResistantTime = 20; $this.$jumpMovementFactor = 0.019999999552965164; $this.$potionsNeedUpdate = 1; $this.$applyEntityAttributes(); $par1World = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_maxHealth); if ($par1World.$field_111133_g) { $par1World.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($par1World); $par1World.$field_111133_g = 0; } nms_EntityLivingBase_setHealth($this, $par1World.$field_111139_h); $this.$preventEntitySpawning = 1; $this.$field_70770_ap = (jl_Math_randomImpl() + 1.0) * 0.009999999776482582; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $this.$field_70769_ao = jl_Math_randomImpl() * 12398.0; var$3 = jl_Math_randomImpl() * 3.141592653589793 * 2.0; $this.$rotationYaw = var$3; $this.$rotationYawHead = var$3; $this.$stepHeight = 0.5; }, nms_EntityLivingBase_updateFallState = ($this, $par1, $par3) => { let var$3, $var4, $var5, $var6, $var7, var$8, var$9, var$10, var$11, $var8, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var8 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$3 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$isInWater()) { $ptr = 1; continue main; } if ($par3 && $this.$fallDistance > 0.0) { var$3 = $this.$posX; $var4 = var$3 | 0; if (var$3 < $var4) $var4 = $var4 - 1 | 0; var$3 = $this.$posY - 0.20000000298023224 - $this.$yOffset; $var5 = var$3 | 0; if (var$3 < $var5) $var5 = $var5 - 1 | 0; var$3 = $this.$posZ; $var6 = var$3 | 0; if (var$3 < $var6) $var6 = $var6 - 1 | 0; $var7 = nms_World_getBlockId($this.$worldObj, $var4, $var5, $var6); if (!$var7) { var$8 = $this.$worldObj; var$9 = $var5 - 1 | 0; var$10 = nms_World_getBlockId(var$8, $var4, var$9, $var6); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data; $var8 = var$11[var$10] === null ? (-1) : var$11[var$10].$getRenderType(); if (!($var8 != 11 && $var8 != 32 && $var8 != 21)) $var7 = nms_World_getBlockId($this.$worldObj, $var4, var$9, $var6); } if ($var7 > 0) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var7]; var$13 = $this.$worldObj; var$14 = $this.$fallDistance; $ptr = 3; continue main; } } if ($par3) { var$14 = $this.$fallDistance; if (var$14 > 0.0) { $ptr = 2; continue main; } } else if ($par1 < 0.0) $this.$fallDistance = $this.$fallDistance - $par1; return; case 1: nms_Entity_handleWaterMovement($this); if ($rt_suspending()) { break main; } if ($par3 && $this.$fallDistance > 0.0) { var$3 = $this.$posX; $var4 = var$3 | 0; if (var$3 < $var4) $var4 = $var4 - 1 | 0; var$3 = $this.$posY - 0.20000000298023224 - $this.$yOffset; $var5 = var$3 | 0; if (var$3 < $var5) $var5 = $var5 - 1 | 0; var$3 = $this.$posZ; $var6 = var$3 | 0; if (var$3 < $var6) $var6 = $var6 - 1 | 0; $var7 = nms_World_getBlockId($this.$worldObj, $var4, $var5, $var6); if (!$var7) { var$8 = $this.$worldObj; var$9 = $var5 - 1 | 0; var$10 = nms_World_getBlockId(var$8, $var4, var$9, $var6); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data; $var8 = var$11[var$10] === null ? (-1) : var$11[var$10].$getRenderType(); if (!($var8 != 11 && $var8 != 32 && $var8 != 21)) $var7 = nms_World_getBlockId($this.$worldObj, $var4, var$9, $var6); } if ($var7 > 0) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var7]; var$13 = $this.$worldObj; var$14 = $this.$fallDistance; $ptr = 3; continue main; } } if ($par3) { var$14 = $this.$fallDistance; if (var$14 > 0.0) { $ptr = 2; continue main; } } else if ($par1 < 0.0) $this.$fallDistance = $this.$fallDistance - $par1; return; case 2: $this.$fall(var$14); if ($rt_suspending()) { break main; } $this.$fallDistance = 0.0; return; case 3: var$8.$onFallenUpon(var$13, $var4, $var5, $var6, $this, var$14); if ($rt_suspending()) { break main; } if ($par3) { var$14 = $this.$fallDistance; if (var$14 > 0.0) { $ptr = 2; continue main; } } else if ($par1 < 0.0) $this.$fallDistance = $this.$fallDistance - $par1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3, var$3, $var4, $var5, $var6, $var7, var$8, var$9, var$10, var$11, $var8, var$13, var$14, $ptr); }, nms_EntityLivingBase_canBreatheUnderwater = $this => { return 0; }, nms_EntityLivingBase_onEntityUpdate = $this => { let var$1, $var3, $var1, $var2, var$5, var$6, $var5, var$8, $var4, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var4 = $thread.pop();var$8 = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$var3 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevSwingProgress = $this.$swingProgress; $ptr = 1; case 1: nms_Entity_onEntityUpdate($this); if ($rt_suspending()) { break main; } if (nms_EntityLivingBase_isEntityAlive($this) && $this.$isEntityInsideOpaqueBlock()) { var$1 = nms_DamageSource_inWall; $var3 = 1.0; $ptr = 2; continue main; } if (!(!$this.$isImmuneToFire && !$this.$worldObj.$isRemote)) $this.$fire = 0; $var1 = $this instanceof nms_EntityPlayer && $this.$capabilities.$disableDamage ? 1 : 0; a: { if (nms_EntityLivingBase_isEntityAlive($this)) { nms_Material_$callClinit(); if (nms_Entity_isInsideOfMaterial($this, nms_Material_water)) { if (!$this.$canBreatheUnderwater()) { nms_Potion_$callClinit(); if (!nms_EntityLivingBase_isPotionActive0($this, nms_Potion_waterBreathing.$id1) && !$var1) { nms_Entity_setAir($this, $this.$decreaseAirSupply(nms_Entity_getAir($this))); if (nms_Entity_getAir($this) == (-20)) { nms_Entity_setAir($this, 0); $var2 = 0; var$5 = 24; while ($var2 < 8) { var$1 = $this.$rand; var$6 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$6; $var5 = Long_lo(Long_shru(var$6, var$5)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$6; $var3 = $var5 - Long_lo(Long_shru(var$6, var$5)) / 1.6777216E7; var$8 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; $var4 = Long_lo(Long_shru(var$8, var$5)) / 1.6777216E7; var$8 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; $var4 = $var4 - Long_lo(Long_shru(var$8, var$5)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$6; var$10 = Long_lo(Long_shru(var$6, var$5)) / 1.6777216E7; var$8 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; $var5 = var$10 - Long_lo(Long_shru(var$8, var$5)) / 1.6777216E7; var$1 = $this.$worldObj; var$11 = $rt_s(1242); var$12 = $this.$posX + $var3; var$13 = $this.$posY + $var4; var$14 = $this.$posZ + $var5; var$15 = $this.$motionX; var$16 = $this.$motionY; var$17 = $this.$motionZ; $var1 = 0; var$18 = var$1.$worldAccesses; var$19 = $rt_compare($var1, var$18.$size0); if (var$19 < 0) { if ($var1 >= 0 && var$19 < 0) { var$18 = var$18.$array.data[$var1]; $ptr = 7; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var2 = $var2 + 1 | 0; } var$1 = nms_DamageSource_drown; $var3 = 2.0; $ptr = 5; continue main; } } } $this.$fire = 0; if ($this.$worldObj.$isRemote) break a; var$1 = $this.$ridingEntity; if (!(var$1 === null ? 0 : 1)) break a; if (!(var$1 instanceof nms_EntityLivingBase)) break a; var$1 = null; $ptr = 4; continue main; } } nms_Entity_setAir($this, 300); } $this.$prevCameraPitch = $this.$cameraPitch; $var1 = $this.$attackTime; if ($var1 > 0) $this.$attackTime = $var1 - 1 | 0; $var1 = $this.$hurtTime; if ($var1 > 0) $this.$hurtTime = $var1 - 1 | 0; $var1 = $this.$hurtResistantTime; if ($var1 > 0) $this.$hurtResistantTime = $var1 - 1 | 0; if (nms_EntityLivingBase_getHealth($this) <= 0.0) { $ptr = 3; continue main; } $var1 = $this.$recentlyHit; if ($var1 <= 0) $this.$attackingPlayer = null; else $this.$recentlyHit = $var1 - 1 | 0; var$1 = $this.$lastAttacker; if (var$1 !== null && !nms_EntityLivingBase_isEntityAlive(var$1)) $this.$lastAttacker = null; var$1 = $this.$entityLivingToAttack; if (var$1 !== null && !nms_EntityLivingBase_isEntityAlive(var$1)) $this.$setRevengeTarget(null); $ptr = 6; continue main; case 2: $this.$attackEntityFrom(var$1, $var3); if ($rt_suspending()) { break main; } if (!(!$this.$isImmuneToFire && !$this.$worldObj.$isRemote)) $this.$fire = 0; $var1 = $this instanceof nms_EntityPlayer && $this.$capabilities.$disableDamage ? 1 : 0; b: { if (nms_EntityLivingBase_isEntityAlive($this)) { nms_Material_$callClinit(); if (nms_Entity_isInsideOfMaterial($this, nms_Material_water)) { if (!$this.$canBreatheUnderwater()) { nms_Potion_$callClinit(); if (!nms_EntityLivingBase_isPotionActive0($this, nms_Potion_waterBreathing.$id1) && !$var1) { nms_Entity_setAir($this, $this.$decreaseAirSupply(nms_Entity_getAir($this))); if (nms_Entity_getAir($this) == (-20)) { nms_Entity_setAir($this, 0); $var2 = 0; var$5 = 24; while ($var2 < 8) { var$1 = $this.$rand; var$6 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$6; $var5 = Long_lo(Long_shru(var$6, var$5)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$6; $var3 = $var5 - Long_lo(Long_shru(var$6, var$5)) / 1.6777216E7; var$8 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; $var4 = Long_lo(Long_shru(var$8, var$5)) / 1.6777216E7; var$8 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; $var4 = $var4 - Long_lo(Long_shru(var$8, var$5)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$6; var$10 = Long_lo(Long_shru(var$6, var$5)) / 1.6777216E7; var$8 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; $var5 = var$10 - Long_lo(Long_shru(var$8, var$5)) / 1.6777216E7; var$1 = $this.$worldObj; var$11 = $rt_s(1242); var$12 = $this.$posX + $var3; var$13 = $this.$posY + $var4; var$14 = $this.$posZ + $var5; var$15 = $this.$motionX; var$16 = $this.$motionY; var$17 = $this.$motionZ; $var1 = 0; var$18 = var$1.$worldAccesses; var$19 = $rt_compare($var1, var$18.$size0); if (var$19 < 0) { if ($var1 >= 0 && var$19 < 0) { var$18 = var$18.$array.data[$var1]; $ptr = 7; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var2 = $var2 + 1 | 0; } var$1 = nms_DamageSource_drown; $var3 = 2.0; $ptr = 5; continue main; } } } $this.$fire = 0; if ($this.$worldObj.$isRemote) break b; var$1 = $this.$ridingEntity; if (!(var$1 === null ? 0 : 1)) break b; if (!(var$1 instanceof nms_EntityLivingBase)) break b; var$1 = null; $ptr = 4; continue main; } } nms_Entity_setAir($this, 300); } $this.$prevCameraPitch = $this.$cameraPitch; $var1 = $this.$attackTime; if ($var1 > 0) $this.$attackTime = $var1 - 1 | 0; $var1 = $this.$hurtTime; if ($var1 > 0) $this.$hurtTime = $var1 - 1 | 0; $var1 = $this.$hurtResistantTime; if ($var1 > 0) $this.$hurtResistantTime = $var1 - 1 | 0; if (nms_EntityLivingBase_getHealth($this) <= 0.0) { $ptr = 3; continue main; } $var1 = $this.$recentlyHit; if ($var1 <= 0) $this.$attackingPlayer = null; else $this.$recentlyHit = $var1 - 1 | 0; var$1 = $this.$lastAttacker; if (var$1 !== null && !nms_EntityLivingBase_isEntityAlive(var$1)) $this.$lastAttacker = null; var$1 = $this.$entityLivingToAttack; if (var$1 !== null && !nms_EntityLivingBase_isEntityAlive(var$1)) $this.$setRevengeTarget(null); $ptr = 6; continue main; case 3: $this.$onDeathUpdate(); if ($rt_suspending()) { break main; } $var1 = $this.$recentlyHit; if ($var1 <= 0) $this.$attackingPlayer = null; else $this.$recentlyHit = $var1 - 1 | 0; var$1 = $this.$lastAttacker; if (var$1 !== null && !nms_EntityLivingBase_isEntityAlive(var$1)) $this.$lastAttacker = null; var$1 = $this.$entityLivingToAttack; if (var$1 !== null && !nms_EntityLivingBase_isEntityAlive(var$1)) $this.$setRevengeTarget(null); $ptr = 6; continue main; case 4: $this.$mountEntity(var$1); if ($rt_suspending()) { break main; } $this.$prevCameraPitch = $this.$cameraPitch; $var1 = $this.$attackTime; if ($var1 > 0) $this.$attackTime = $var1 - 1 | 0; $var1 = $this.$hurtTime; if ($var1 > 0) $this.$hurtTime = $var1 - 1 | 0; $var1 = $this.$hurtResistantTime; if ($var1 > 0) $this.$hurtResistantTime = $var1 - 1 | 0; if (nms_EntityLivingBase_getHealth($this) <= 0.0) { $ptr = 3; continue main; } $var1 = $this.$recentlyHit; if ($var1 <= 0) $this.$attackingPlayer = null; else $this.$recentlyHit = $var1 - 1 | 0; var$1 = $this.$lastAttacker; if (var$1 !== null && !nms_EntityLivingBase_isEntityAlive(var$1)) $this.$lastAttacker = null; var$1 = $this.$entityLivingToAttack; if (var$1 !== null && !nms_EntityLivingBase_isEntityAlive(var$1)) $this.$setRevengeTarget(null); $ptr = 6; continue main; case 5: $this.$attackEntityFrom(var$1, $var3); if ($rt_suspending()) { break main; } $this.$fire = 0; if (!$this.$worldObj.$isRemote) { var$1 = $this.$ridingEntity; if ((var$1 === null ? 0 : 1) && var$1 instanceof nms_EntityLivingBase) { var$1 = null; $ptr = 4; continue main; } } $this.$prevCameraPitch = $this.$cameraPitch; $var1 = $this.$attackTime; if ($var1 > 0) $this.$attackTime = $var1 - 1 | 0; $var1 = $this.$hurtTime; if ($var1 > 0) $this.$hurtTime = $var1 - 1 | 0; $var1 = $this.$hurtResistantTime; if ($var1 > 0) $this.$hurtResistantTime = $var1 - 1 | 0; if (nms_EntityLivingBase_getHealth($this) <= 0.0) { $ptr = 3; continue main; } $var1 = $this.$recentlyHit; if ($var1 <= 0) $this.$attackingPlayer = null; else $this.$recentlyHit = $var1 - 1 | 0; var$1 = $this.$lastAttacker; if (var$1 !== null && !nms_EntityLivingBase_isEntityAlive(var$1)) $this.$lastAttacker = null; var$1 = $this.$entityLivingToAttack; if (var$1 !== null && !nms_EntityLivingBase_isEntityAlive(var$1)) $this.$setRevengeTarget(null); $ptr = 6; case 6: nms_EntityLivingBase_updatePotionEffects($this); if ($rt_suspending()) { break main; } $this.$field_70763_ax = $this.$field_70764_aw; $this.$prevRenderYawOffset = $this.$renderYawOffset; $this.$prevRotationYawHead = $this.$rotationYawHead; $this.$prevRotationYaw = $this.$rotationYaw; $this.$prevRotationPitch = $this.$rotationPitch; return; case 7: nms_RenderGlobal_doSpawnParticle(var$18, var$11, var$12, var$13, var$14, var$15, var$16, var$17); if ($rt_suspending()) { break main; } $var1 = $var1 + 1 | 0; while (true) { var$18 = var$1.$worldAccesses; var$19 = $rt_compare($var1, var$18.$size0); if (var$19 < 0) { if ($var1 >= 0 && var$19 < 0) { var$18 = var$18.$array.data[$var1]; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var2 = $var2 + 1 | 0; if ($var2 >= 8) break; var$1 = $this.$rand; var$6 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$6; $var5 = Long_lo(Long_shru(var$6, var$5)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$6; $var3 = $var5 - Long_lo(Long_shru(var$6, var$5)) / 1.6777216E7; var$8 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; $var4 = Long_lo(Long_shru(var$8, var$5)) / 1.6777216E7; var$8 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; $var4 = $var4 - Long_lo(Long_shru(var$8, var$5)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$6; var$10 = Long_lo(Long_shru(var$6, var$5)) / 1.6777216E7; var$8 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; $var5 = var$10 - Long_lo(Long_shru(var$8, var$5)) / 1.6777216E7; var$1 = $this.$worldObj; var$11 = $rt_s(1242); var$12 = $this.$posX + $var3; var$13 = $this.$posY + $var4; var$14 = $this.$posZ + $var5; var$15 = $this.$motionX; var$16 = $this.$motionY; var$17 = $this.$motionZ; $var1 = 0; } var$1 = nms_DamageSource_drown; $var3 = 2.0; $ptr = 5; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var3, $var1, $var2, var$5, var$6, $var5, var$8, $var4, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_EntityLivingBase_isChild = $this => { return 0; }, nms_EntityLivingBase_onDeathUpdate = $this => { let $var1, var$2, var$3, var$4, $var2, var$6, var$7, $var8, $var4, var$10, $var6, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var6 = $thread.pop();var$10 = $thread.pop();$var4 = $thread.pop();$var8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var2 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $this.$deathTime + 1 | 0; $this.$deathTime = $var1; if ($var1 != 20) return; if (!$this.$worldObj.$isRemote && !($this.$recentlyHit <= 0 && !$this.$isPlayer()) && !$this.$isChild()) { a: { var$2 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; var$3 = $rt_s(1263); var$4 = $rt_s(1263); if (var$3 !== var$4) { $var2 = var$3.$nativeString.length; var$6 = var$4.$nativeString.length; if ($var2 < var$6) var$6 = $var2; $var1 = 0; b: { while (true) { if ($var1 >= var$6) { var$3.$nativeString.length; var$4.$nativeString.length; break a; } if ($var1 < 0) break b; if ($var1 >= var$3.$nativeString.length) break b; var$7 = var$3.$nativeString.charCodeAt($var1); if ($var1 < 0) break; if ($var1 >= var$4.$nativeString.length) break; if (var$7 - var$4.$nativeString.charCodeAt($var1) | 0) break a; $var1 = $var1 + 1 | 0; } var$4 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$4); $rt_throw(var$4); } var$4 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$4); $rt_throw(var$4); } } var$4 = $rt_s(1263); c: { d: { e: while (true) { if (var$2 === null) { var$2 = null; break c; } f: { var$3 = var$2.$key0; if (var$4 === var$3) $var1 = 0; else { $var2 = var$4.$nativeString.length; var$6 = var$3.$nativeString.length; if ($var2 < var$6) var$6 = $var2; $var2 = 0; while (true) { if ($var2 >= var$6) { $var1 = var$4.$nativeString.length - var$3.$nativeString.length | 0; break f; } if ($var2 < 0) break d; if ($var2 >= var$4.$nativeString.length) break d; var$7 = var$4.$nativeString.charCodeAt($var2); if ($var2 < 0) break e; if ($var2 >= var$3.$nativeString.length) break e; $var1 = var$7 - var$3.$nativeString.charCodeAt($var2) | 0; if ($var1) break; $var2 = $var2 + 1 | 0; } } } if (!$var1) break c; var$2 = $var1 >= 0 ? var$2.$right : var$2.$left; } var$4 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$4); $rt_throw(var$4); } var$4 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$4); $rt_throw(var$4); } var$4 = var$2 === null ? null : var$2.$value4; if (var$4 === null ? 0 : var$4.$valueBoolean) { $var1 = $this.$getExperiencePoints($this.$attackingPlayer); if ($var1 > 0) { $var2 = nms_EntityXPOrb_getXPSplit($var1); $var1 = $var1 - $var2 | 0; var$4 = $this.$worldObj; var$2 = new nms_EntityXPOrb; $var8 = $this.$posX; $var4 = $this.$posY; var$10 = $this.$posZ; $ptr = 3; continue main; } } } $ptr = 1; case 1: $this.$setDead(); if ($rt_suspending()) { break main; } $var1 = 0; var$6 = 24; while ($var1 < 20) { $var8 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var4 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var6 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$3 = $this.$worldObj; var$2 = $rt_s(1264); var$10 = $this.$posX; var$4 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$13 = Long_lo(Long_shru(var$12, var$6)) / 1.6777216E7; var$14 = $this.$width1; var$10 = var$10 + var$13 * var$14 * 2.0; var$15 = var$14; var$10 = var$10 - var$15; var$16 = $this.$posY; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$16 = var$16 + Long_lo(Long_shru(var$12, var$6)) / 1.6777216E7 * $this.$height2; var$17 = $this.$posZ; var$18 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$18; var$17 = var$17 + Long_lo(Long_shru(var$18, var$6)) / 1.6777216E7 * var$14 * 2.0 - var$15; $var2 = 0; var$4 = var$3.$worldAccesses; var$7 = $rt_compare($var2, var$4.$size0); if (var$7 < 0) { if ($var2 >= 0 && var$7 < 0) { var$4 = var$4.$array.data[$var2]; $ptr = 2; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } $var1 = $var1 + 1 | 0; } return; case 2: nms_RenderGlobal_doSpawnParticle(var$4, var$2, var$10, var$16, var$17, $var8, $var4, $var6); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; while (true) { var$4 = var$3.$worldAccesses; var$7 = $rt_compare($var2, var$4.$size0); if (var$7 < 0) { if ($var2 >= 0 && var$7 < 0) { var$4 = var$4.$array.data[$var2]; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } $var1 = $var1 + 1 | 0; if ($var1 >= 20) break; $var8 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var4 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var6 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$3 = $this.$worldObj; var$2 = $rt_s(1264); var$10 = $this.$posX; var$4 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$13 = Long_lo(Long_shru(var$12, var$6)) / 1.6777216E7; var$14 = $this.$width1; var$10 = var$10 + var$13 * var$14 * 2.0; var$15 = var$14; var$10 = var$10 - var$15; var$16 = $this.$posY; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$16 = var$16 + Long_lo(Long_shru(var$12, var$6)) / 1.6777216E7 * $this.$height2; var$17 = $this.$posZ; var$18 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$18; var$17 = var$17 + Long_lo(Long_shru(var$18, var$6)) / 1.6777216E7 * var$14 * 2.0 - var$15; $var2 = 0; } return; case 3: nms_EntityXPOrb__init_(var$2, var$4, $var8, $var4, var$10, $var2); if ($rt_suspending()) { break main; } $var2 = nms_World_spawnEntityInWorld(var$4, var$2); var$3 = var$4.$entityList; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); if (!$var2) { var$4 = var$4.$entitySpawnQueue; ju_HashMap_putImpl(var$4.$backingMap, var$2, var$4); } if ($var1 <= 0) { $ptr = 1; continue main; } $var2 = nms_EntityXPOrb_getXPSplit($var1); $var1 = $var1 - $var2 | 0; var$4 = $this.$worldObj; var$2 = new nms_EntityXPOrb; $var8 = $this.$posX; $var4 = $this.$posY; var$10 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, $var2, var$6, var$7, $var8, $var4, var$10, $var6, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityLivingBase_decreaseAirSupply = ($this, $par1) => { let var$2, var$3, $var2, var$5, var$6, var$7, var$8, var$9; nms_EnchantmentHelper_$callClinit(); nms_Enchantment_$callClinit(); var$2 = nms_Enchantment_respiration.$effectId; var$3 = $this.$getLastActiveItems(); if (var$3 === null) $var2 = 0; else { var$3 = var$3.data; $var2 = 0; var$5 = var$3.length; var$6 = 0; while (var$6 < var$5) { var$7 = nms_EnchantmentHelper_getEnchantmentLevel(var$2, var$3[var$6]); if (var$7 > $var2) $var2 = var$7; var$6 = var$6 + 1 | 0; } } a: { if ($var2 > 0) { var$8 = $this.$rand; $var2 = $var2 + 1 | 0; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$7 = Long_lo(Long_shru(var$9, 17)); var$5 = $var2 - 1 | 0; if (!($var2 & var$5)) var$6 = Long_lo(Long_shr(Long_mul(Long_fromInt($var2), Long_fromInt(var$7)), 31)); else while (true) { var$6 = var$7 % $var2 | 0; if (((var$7 - var$6 | 0) + var$5 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$7 = Long_lo(Long_shru(var$9, 17)); } if (var$6 > 0) break a; } $par1 = $par1 - 1 | 0; } return $par1; }, nms_EntityLivingBase_isPlayer = $this => { return 0; }, nms_EntityLivingBase_getRNG = $this => { return $this.$rand; }, nms_EntityLivingBase_getAITarget = $this => { return $this.$entityLivingToAttack; }, nms_EntityLivingBase_func_142015_aE = $this => { return $this.$revengeTimer; }, nms_EntityLivingBase_setRevengeTarget = ($this, $par1EntityLivingBase) => { $this.$entityLivingToAttack = $par1EntityLivingBase; $this.$revengeTimer = $this.$ticksExisted; }, nms_EntityLivingBase_getLastAttacker = $this => { return $this.$lastAttacker; }, nms_EntityLivingBase_getLastAttackerTime = $this => { return $this.$lastAttackerTime; }, nms_EntityLivingBase_getAge = $this => { return $this.$entityAge; }, nms_EntityLivingBase_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, $var7, $var6, $var8, $var2, $var3, $var4, var$9, var$10, var$11, $var5, var$13, var$14, var$15; var$2 = nms_EntityLivingBase_getHealth($this); $var7 = $par1NBTTagCompound.$tagMap; $var6 = new nms_NBTTagFloat; $var6.$name = $rt_s(1265); $var6.$data4 = var$2; ju_HashMap_putImpl($var7, $rt_s(1265), $var6); $var8 = (jl_Math_ceil(nms_EntityLivingBase_getHealth($this)) | 0) << 16 >> 16; $var7 = $par1NBTTagCompound.$tagMap; $var6 = new nms_NBTTagShort; $var6.$name = $rt_s(1266); $var6.$data2 = $var8; ju_HashMap_putImpl($var7, $rt_s(1266), $var6); $var8 = $this.$hurtTime << 16 >> 16; $var7 = $par1NBTTagCompound.$tagMap; $var6 = new nms_NBTTagShort; $var6.$name = $rt_s(1267); $var6.$data2 = $var8; ju_HashMap_putImpl($var7, $rt_s(1267), $var6); $var8 = $this.$deathTime << 16 >> 16; $var6 = $par1NBTTagCompound.$tagMap; $var7 = new nms_NBTTagShort; $var7.$name = $rt_s(1268); $var7.$data2 = $var8; ju_HashMap_putImpl($var6, $rt_s(1268), $var7); $var8 = $this.$attackTime << 16 >> 16; $var7 = $par1NBTTagCompound.$tagMap; $var6 = new nms_NBTTagShort; $var6.$name = $rt_s(1269); $var6.$data2 = $var8; ju_HashMap_putImpl($var7, $rt_s(1269), $var6); var$2 = $this.$getAbsorptionAmount(); $var7 = $par1NBTTagCompound.$tagMap; $var6 = new nms_NBTTagFloat; $var6.$name = $rt_s(1270); $var6.$data4 = var$2; ju_HashMap_putImpl($var7, $rt_s(1270), $var6); $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); $var6 = new ju_ArrayList; $var6.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $var6; $var3 = 0; while ($var3 < $this.$previousEquipment.data.length) { $var4 = new nms_NBTTagCompound; $var4.$name = $rt_s(18); var$9 = new ju_HashMap; $var8 = ju_HashMap_calculateCapacity(16); var$9.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, $var8); var$11 = var$10.data; var$9.$elementData = var$10; var$9.$loadFactor = 0.75; var$9.$threshold = var$11.length * 0.75 | 0; $var4.$tagMap = var$9; var$11 = $this.$previousEquipment.data; if (var$11[$var3] !== null) { $var6 = var$11[$var3]; $var8 = $var6.$itemID << 16 >> 16; $var5 = new nms_NBTTagShort; $var5.$name = $rt_s(1243); $var5.$data2 = $var8; ju_HashMap_putImpl(var$9, $rt_s(1243), $var5); $var8 = $var6.$stackSize << 24 >> 24; var$9 = $var4.$tagMap; $var5 = new nms_NBTTagByte; $var5.$name = $rt_s(1271); $var5.$data = $var8; ju_HashMap_putImpl(var$9, $rt_s(1271), $var5); $var8 = $var6.$itemDamage << 16 >> 16; var$9 = $var4.$tagMap; $var5 = new nms_NBTTagShort; $var5.$name = $rt_s(1272); $var5.$data2 = $var8; ju_HashMap_putImpl(var$9, $rt_s(1272), $var5); $var6 = $var6.$stackTagCompound; if ($var6 !== null) { $var5 = $var4.$tagMap; $var6.$name = $rt_s(1273); ju_HashMap_putImpl($var5, $rt_s(1273), $var6); } } $var2.$tagType = 10; $var6 = $var2.$tagList; ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); var$11 = $var6.$array.data; var$13 = $var6.$size0; $var6.$size0 = var$13 + 1 | 0; var$11[var$13] = $var4; $var6.$modCount = $var6.$modCount + 1 | 0; $var3 = $var3 + 1 | 0; } $var6 = $par1NBTTagCompound.$tagMap; $var2.$name = $rt_s(1274); ju_HashMap_putImpl($var6, $rt_s(1274), $var2); $var2 = $this.$activePotionsMap; if (!($var2.$elementCount ? 0 : 1)) { $var6 = new nms_NBTTagList; $var6.$name = $rt_s(18); $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $var6.$tagList = $var7; if ($var2.$cachedValues === null) { $var7 = new ju_HashMap$2; $var7.$this$01 = $var2; $var2.$cachedValues = $var7; } $var7 = $var2.$cachedValues.$iterator(); while ($var7.$hasNext()) { $var5 = $var7.$next(); $var2 = new nms_NBTTagCompound; $var2.$name = $rt_s(18); var$14 = new ju_HashMap; $var8 = ju_HashMap_calculateCapacity(16); var$14.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, $var8); var$11 = var$10.data; var$14.$elementData = var$10; var$14.$loadFactor = 0.75; var$14.$threshold = var$11.length * 0.75 | 0; $var2.$tagMap = var$14; $var8 = $var5.$potionID << 24 >> 24; $var4 = new nms_NBTTagByte; $var4.$name = $rt_s(1275); $var4.$data = $var8; ju_HashMap_putImpl(var$14, $rt_s(1275), $var4); $var8 = $var5.$amplifier << 24 >> 24; var$14 = $var2.$tagMap; $var4 = new nms_NBTTagByte; $var4.$name = $rt_s(1276); $var4.$data = $var8; ju_HashMap_putImpl(var$14, $rt_s(1276), $var4); $var8 = $var5.$duration; var$14 = $var2.$tagMap; $var4 = new nms_NBTTagInt; $var4.$name = $rt_s(1277); $var4.$data0 = $var8; ju_HashMap_putImpl(var$14, $rt_s(1277), $var4); $var8 = (!$var5.$isAmbient ? 0 : 1) << 24 >> 24; $var4 = $var2.$tagMap; $var5 = new nms_NBTTagByte; $var5.$name = $rt_s(1278); $var5.$data = $var8; ju_HashMap_putImpl($var4, $rt_s(1278), $var5); $var6.$tagType = 10; $var5 = $var6.$tagList; ju_ArrayList_ensureCapacity($var5, $var5.$size0 + 1 | 0); var$11 = $var5.$array.data; var$13 = $var5.$size0; $var5.$size0 = var$13 + 1 | 0; var$11[var$13] = $var2; $var5.$modCount = $var5.$modCount + 1 | 0; } $var7 = $par1NBTTagCompound.$tagMap; $var6.$name = $rt_s(1279); ju_HashMap_putImpl($var7, $rt_s(1279), $var6); } $var6 = new nms_NBTTagList; $var6.$name = $rt_s(18); $var2 = new ju_ArrayList; $var2.$array = $rt_createArray(jl_Object, 10); $var6.$tagList = $var2; $var8 = 0; while (true) { if ($var8 >= $this.$equipmentDropChances0.data.length) { $var7 = $par1NBTTagCompound.$tagMap; $var6.$name = $rt_s(1280); ju_HashMap_putImpl($var7, $rt_s(1280), $var6); $var6 = nms_EntityLivingBase_func_94057_bL($this); $var5 = $par1NBTTagCompound.$tagMap; $var7 = new nms_NBTTagString; $var7.$name = $rt_s(1281); $var7.$data1 = $var6; if ($var6 === null) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $var2.$message = $rt_s(186); $rt_throw($var2); } ju_HashMap_putImpl($var5, $rt_s(1281), $var7); $var8 = (!nms_EntityLivingBase_func_94062_bN($this) ? 0 : 1) << 24 >> 24; $var6 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(1282); $par1NBTTagCompound.$data = $var8; ju_HashMap_putImpl($var6, $rt_s(1282), $par1NBTTagCompound); return; } $var2 = new nms_NBTTagFloat; $var7 = new jl_StringBuilder; $var7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($var7, $var7.$length0, $var8, 10); $var5 = new jl_String; var$11 = $var7.$buffer; var$10 = var$11.data; var$15 = $var7.$length0; $var3 = var$10.length; if (var$15 < 0) break; if (var$15 > ($var3 - 0 | 0)) break; $var5.$nativeString = $rt_charArrayToString(var$11.data, 0, var$15); var$2 = $this.$equipmentDropChances0.data[$var8]; $var2.$name = $var5; $var2.$data4 = var$2; $var6.$tagType = 5; $var7 = $var6.$tagList; ju_ArrayList_ensureCapacity($var7, $var7.$size0 + 1 | 0); var$11 = $var7.$array.data; var$15 = $var7.$size0; $var7.$size0 = var$15 + 1 | 0; var$11[var$15] = $var2; $var7.$modCount = $var7.$modCount + 1 | 0; $var8 = $var8 + 1 | 0; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1NBTTagCompound); $rt_throw($par1NBTTagCompound); }, nms_EntityLivingBase_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let $var2, $var3, var$4, $var4, var$6, var$7, var$8, $var6, $var5, var$11, var$12, var$13, var$14, var$15, var$16; a: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1270).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1270).$nativeString.length) break a; $rt_s(1270).$hashCode1 = (31 * $rt_s(1270).$hashCode1 | 0) + $rt_s(1270).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(1270).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[$var3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { b: { $var4 = $var2.$key; if ($rt_s(1270) !== $var4) { if ($rt_s(1270) !== $var4) { if (!($var4 instanceof jl_String)) var$6 = 0; else { $var4 = $var4; var$6 = $rt_s(1270).$nativeString !== $var4.$nativeString ? 0 : 1; } } else var$6 = 1; if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1270) !== null) { c: { if (!$rt_s(1270).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1270).$nativeString.length) break c; $rt_s(1270).$hashCode1 = (31 * $rt_s(1270).$hashCode1 | 0) + $rt_s(1270).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(1270).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[$var3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { d: { $var4 = $var2.$key; if ($rt_s(1270) !== $var4) { if ($rt_s(1270) !== $var4) { if ($var4 instanceof jl_String) { $var4 = $var4; var$6 = $rt_s(1270).$nativeString !== $var4.$nativeString ? 0 : 1; } else var$6 = 0; } else var$6 = 1; if (!var$6) { var$6 = 0; break d; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } var$7 = ($var2 === null ? null : $var2.$value1).$data4; } else var$7 = 0.0; if (var$7 < 0.0) var$7 = 0.0; e: { $this.$field_110151_bq = var$7; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1283).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1283).$nativeString.length) break e; $rt_s(1283).$hashCode1 = (31 * $rt_s(1283).$hashCode1 | 0) + $rt_s(1283).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1283).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { f: { $var4 = $var2.$key; if ($rt_s(1283) !== $var4) { if ($rt_s(1283) !== $var4) { if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = $rt_s(1283).$nativeString !== $var4.$nativeString ? 0 : 1; } } else $var3 = 1; if (!$var3) { $var3 = 0; break f; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var6 = $this.$worldObj; if ($var6 !== null && !$var6.$isRemote) { if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); g: { $var5 = $this.$attributeMap; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1283).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1283).$nativeString.length) break g; $rt_s(1283).$hashCode1 = (31 * $rt_s(1283).$hashCode1 | 0) + $rt_s(1283).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1283).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { h: { $var4 = $var2.$key; if ($rt_s(1283) !== $var4) { if ($rt_s(1283) === $var4) $var3 = 1; else if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = $rt_s(1283).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break h; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) { $var2 = new nms_NBTTagList; if ($rt_s(1283) !== null) $var2.$name = $rt_s(1283); else $var2.$name = $rt_s(18); $var6 = new ju_ArrayList; $var6.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $var6; } else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1283) !== null) { i: { if (!$rt_s(1283).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1283).$nativeString.length) break i; $rt_s(1283).$hashCode1 = (31 * $rt_s(1283).$hashCode1 | 0) + $rt_s(1283).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1283).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { j: { $var4 = $var2.$key; if ($rt_s(1283) !== $var4) { if ($rt_s(1283) === $var4) $var3 = 1; else if ($var4 instanceof jl_String) { $var4 = $var4; $var3 = $rt_s(1283).$nativeString !== $var4.$nativeString ? 0 : 1; } else $var3 = 0; if (!$var3) { $var3 = 0; break j; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; } nms_SharedMonsterAttributes_func_111260_a($var5, $var2); } } k: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1279).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1279).$nativeString.length) break k; $rt_s(1279).$hashCode1 = (31 * $rt_s(1279).$hashCode1 | 0) + $rt_s(1279).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1279).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { l: { $var4 = $var2.$key; if ($rt_s(1279) !== $var4) { if ($rt_s(1279) !== $var4) { if ($var4 instanceof jl_String) { $var4 = $var4; $var3 = $rt_s(1279).$nativeString !== $var4.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break l; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } $var3 = $var2 === null ? 0 : 1; m: { n: { if ($var3) { o: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1279).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1279).$nativeString.length) break o; $rt_s(1279).$hashCode1 = (31 * $rt_s(1279).$hashCode1 | 0) + $rt_s(1279).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1279).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { p: { $var4 = $var2.$key; if ($rt_s(1279) !== $var4) { if ($rt_s(1279) !== $var4) { if ($var4 instanceof jl_String) { $var4 = $var4; $var3 = $rt_s(1279).$nativeString !== $var4.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break p; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1279) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { q: { if (!$rt_s(1279).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1279).$nativeString.length) break q; $rt_s(1279).$hashCode1 = (31 * $rt_s(1279).$hashCode1 | 0) + $rt_s(1279).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1279).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { r: { $var4 = $var2.$key; if ($rt_s(1279) !== $var4) { if ($rt_s(1279) === $var4) $var3 = 1; else if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = $rt_s(1279).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break r; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; } else { $var2 = new nms_NBTTagList; if ($rt_s(1279) !== null) $var2.$name = $rt_s(1279); else $var2.$name = $rt_s(18); $var6 = new ju_ArrayList; $var6.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $var6; } $var3 = 0; while (true) { $var6 = $var2.$tagList; var$6 = $rt_compare($var3, $var6.$size0); if (var$6 >= 0) break n; if ($var3 < 0) break m; if (var$6 >= 0) break m; s: { $var4 = $var6.$array.data[$var3]; $var5 = $var4.$tagMap; if (!$rt_s(1275).$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $rt_s(1275).$nativeString.length) break s; $rt_s(1275).$hashCode1 = (31 * $rt_s(1275).$hashCode1 | 0) + $rt_s(1275).$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = $rt_s(1275).$hashCode1; var$4 = $var5.$elementData.data; $var5 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { t: { var$12 = $var5.$key; if ($rt_s(1275) !== var$12) { if ($rt_s(1275) !== var$12) { if (!(var$12 instanceof jl_String)) var$6 = 0; else { var$12 = var$12; var$6 = $rt_s(1275).$nativeString !== var$12.$nativeString ? 0 : 1; } } else var$6 = 1; if (!var$6) { var$6 = 0; break t; } } var$6 = 1; } if (var$6) break; } $var5 = $var5.$next3; } if ($var5 === null ? 0 : 1) { $var5 = $var4.$tagMap; if ($rt_s(1275) === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { u: { if (!$rt_s(1275).$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $rt_s(1275).$nativeString.length) break u; $rt_s(1275).$hashCode1 = (31 * $rt_s(1275).$hashCode1 | 0) + $rt_s(1275).$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = $rt_s(1275).$hashCode1; var$4 = $var5.$elementData.data; $var5 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { v: { var$12 = $var5.$key; if ($rt_s(1275) !== var$12) { if ($rt_s(1275) === var$12) var$6 = 1; else if (!(var$12 instanceof jl_String)) var$6 = 0; else { var$12 = var$12; var$6 = $rt_s(1275).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break v; } } var$6 = 1; } if (var$6) break; } $var5 = $var5.$next3; } } var$13 = ($var5 === null ? null : $var5.$value1).$data; } else var$13 = 0; w: { $var5 = $var4.$tagMap; if (!$rt_s(1276).$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $rt_s(1276).$nativeString.length) break w; $rt_s(1276).$hashCode1 = (31 * $rt_s(1276).$hashCode1 | 0) + $rt_s(1276).$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = $rt_s(1276).$hashCode1; var$4 = $var5.$elementData.data; $var5 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { x: { var$12 = $var5.$key; if ($rt_s(1276) !== var$12) { if ($rt_s(1276) !== var$12) { if (var$12 instanceof jl_String) { var$12 = var$12; var$6 = $rt_s(1276).$nativeString !== var$12.$nativeString ? 0 : 1; } else var$6 = 0; } else var$6 = 1; if (!var$6) { var$6 = 0; break x; } } var$6 = 1; } if (var$6) break; } $var5 = $var5.$next3; } if ($var5 === null ? 0 : 1) { $var5 = $var4.$tagMap; if ($rt_s(1276) !== null) { y: { if (!$rt_s(1276).$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $rt_s(1276).$nativeString.length) break y; $rt_s(1276).$hashCode1 = (31 * $rt_s(1276).$hashCode1 | 0) + $rt_s(1276).$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = $rt_s(1276).$hashCode1; var$4 = $var5.$elementData.data; $var5 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { z: { var$12 = $var5.$key; if ($rt_s(1276) !== var$12) { if ($rt_s(1276) !== var$12) { if (var$12 instanceof jl_String) { var$12 = var$12; var$6 = $rt_s(1276).$nativeString !== var$12.$nativeString ? 0 : 1; } else var$6 = 0; } else var$6 = 1; if (!var$6) { var$6 = 0; break z; } } var$6 = 1; } if (var$6) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } var$14 = ($var5 === null ? null : $var5.$value1).$data; } else var$14 = 0; ba: { $var5 = $var4.$tagMap; if (!$rt_s(1277).$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $rt_s(1277).$nativeString.length) break ba; $rt_s(1277).$hashCode1 = (31 * $rt_s(1277).$hashCode1 | 0) + $rt_s(1277).$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = $rt_s(1277).$hashCode1; var$4 = $var5.$elementData.data; $var5 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { bb: { var$12 = $var5.$key; if ($rt_s(1277) !== var$12) { if ($rt_s(1277) === var$12) var$6 = 1; else if (!(var$12 instanceof jl_String)) var$6 = 0; else { var$12 = var$12; var$6 = $rt_s(1277).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break bb; } } var$6 = 1; } if (var$6) break; } $var5 = $var5.$next3; } if (!($var5 === null ? 0 : 1)) var$11 = 0; else { $var5 = $var4.$tagMap; if ($rt_s(1277) === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { bc: { if (!$rt_s(1277).$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $rt_s(1277).$nativeString.length) break bc; $rt_s(1277).$hashCode1 = (31 * $rt_s(1277).$hashCode1 | 0) + $rt_s(1277).$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = $rt_s(1277).$hashCode1; var$4 = $var5.$elementData.data; $var5 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { bd: { var$12 = $var5.$key; if ($rt_s(1277) !== var$12) { if ($rt_s(1277) === var$12) var$6 = 1; else if (!(var$12 instanceof jl_String)) var$6 = 0; else { var$12 = var$12; var$6 = $rt_s(1277).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break bd; } } var$6 = 1; } if (var$6) break; } $var5 = $var5.$next3; } } var$11 = ($var5 === null ? null : $var5.$value1).$data0; } be: { $var5 = $var4.$tagMap; if (!$rt_s(1278).$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $rt_s(1278).$nativeString.length) break be; $rt_s(1278).$hashCode1 = (31 * $rt_s(1278).$hashCode1 | 0) + $rt_s(1278).$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$15 = $rt_s(1278).$hashCode1; var$4 = $var5.$elementData.data; $var5 = var$4[var$15 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$15) { bf: { var$12 = $var5.$key; if ($rt_s(1278) !== var$12) { if ($rt_s(1278) === var$12) var$6 = 1; else if (!(var$12 instanceof jl_String)) var$6 = 0; else { var$12 = var$12; var$6 = $rt_s(1278).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break bf; } } var$6 = 1; } if (var$6) break; } $var5 = $var5.$next3; } if (!($var5 === null ? 0 : 1)) var$6 = 0; else { $var4 = $var4.$tagMap; if ($rt_s(1278) === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { bg: { if (!$rt_s(1278).$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $rt_s(1278).$nativeString.length) break bg; $rt_s(1278).$hashCode1 = (31 * $rt_s(1278).$hashCode1 | 0) + $rt_s(1278).$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$15 = $rt_s(1278).$hashCode1; var$4 = $var4.$elementData.data; $var4 = var$4[var$15 & (var$4.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$15) { bh: { $var5 = $var4.$key; if ($rt_s(1278) !== $var5) { if ($rt_s(1278) === $var5) var$6 = 1; else if (!($var5 instanceof jl_String)) var$6 = 0; else { $var5 = $var5; var$6 = $rt_s(1278).$nativeString !== $var5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break bh; } } var$6 = 1; } if (var$6) break; } $var4 = $var4.$next3; } } var$6 = ($var4 === null ? null : $var4.$value1).$data; } var$6 = !var$6 ? 0 : 1; $var5 = new nms_PotionEffect; $var5.$potionID = var$13; $var5.$duration = var$11; $var5.$amplifier = var$14; $var5.$isAmbient = var$6; $var6 = $this.$activePotionsMap; if (var$13 >= (-128) && var$13 <= 127) { jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[var$13 + 128 | 0]; } else { $var4 = new jl_Integer; $var4.$value0 = var$13; } ju_HashMap_putImpl($var6, $var4, $var5); $var3 = $var3 + 1 | 0; } } } bi: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1265).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1265).$nativeString.length) break bi; $rt_s(1265).$hashCode1 = (31 * $rt_s(1265).$hashCode1 | 0) + $rt_s(1265).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1265).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bj: { $var4 = $var2.$key; if ($rt_s(1265) !== $var4) { if ($rt_s(1265) !== $var4) { if ($var4 instanceof jl_String) { $var4 = $var4; $var3 = $rt_s(1265).$nativeString !== $var4.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break bj; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) { bk: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1266).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1266).$nativeString.length) break bk; $rt_s(1266).$hashCode1 = (31 * $rt_s(1266).$hashCode1 | 0) + $rt_s(1266).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1266).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bl: { $var4 = $var2.$key; if ($rt_s(1266) !== $var4) { if ($rt_s(1266) === $var4) $var3 = 1; else if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = $rt_s(1266).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bl; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } $var6 = $var2 === null ? null : $var2.$value1; if ($var6 !== null) { if ($var6.$getId() == 5) nms_EntityLivingBase_setHealth($this, $var6.$data4); else if ($var6.$getId() == 2) nms_EntityLivingBase_setHealth($this, $var6.$data2); } else { $var6 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_maxHealth); if ($var6.$field_111133_g) { $var6.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var6); $var6.$field_111133_g = 0; } nms_EntityLivingBase_setHealth($this, $var6.$field_111139_h); } } else { bm: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1265).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1265).$nativeString.length) break bm; $rt_s(1265).$hashCode1 = (31 * $rt_s(1265).$hashCode1 | 0) + $rt_s(1265).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1265).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bn: { $var4 = $var2.$key; if ($rt_s(1265) !== $var4) { if ($rt_s(1265) === $var4) $var3 = 1; else if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = $rt_s(1265).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bn; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) var$16 = 0.0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1265) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { bo: { if (!$rt_s(1265).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1265).$nativeString.length) break bo; $rt_s(1265).$hashCode1 = (31 * $rt_s(1265).$hashCode1 | 0) + $rt_s(1265).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1265).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bp: { $var4 = $var2.$key; if ($rt_s(1265) !== $var4) { if ($rt_s(1265) === $var4) $var3 = 1; else if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = $rt_s(1265).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bp; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } var$16 = ($var2 === null ? null : $var2.$value1).$data4; } nms_EntityLivingBase_setHealth($this, var$16); } bq: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1267).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1267).$nativeString.length) break bq; $rt_s(1267).$hashCode1 = (31 * $rt_s(1267).$hashCode1 | 0) + $rt_s(1267).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1267).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { br: { $var4 = $var2.$key; if ($rt_s(1267) !== $var4) { if ($rt_s(1267) !== $var4) { if ($var4 instanceof jl_String) { $var4 = $var4; $var3 = $rt_s(1267).$nativeString !== $var4.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break br; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1267) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { bs: { if (!$rt_s(1267).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1267).$nativeString.length) break bs; $rt_s(1267).$hashCode1 = (31 * $rt_s(1267).$hashCode1 | 0) + $rt_s(1267).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1267).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bt: { $var4 = $var2.$key; if ($rt_s(1267) !== $var4) { if ($rt_s(1267) === $var4) $var3 = 1; else if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = $rt_s(1267).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bt; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data2; } bu: { $this.$hurtTime = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1268).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1268).$nativeString.length) break bu; $rt_s(1268).$hashCode1 = (31 * $rt_s(1268).$hashCode1 | 0) + $rt_s(1268).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1268).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bv: { $var4 = $var2.$key; if ($rt_s(1268) !== $var4) { if ($rt_s(1268) === $var4) $var3 = 1; else if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = $rt_s(1268).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bv; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1268) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { bw: { if (!$rt_s(1268).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1268).$nativeString.length) break bw; $rt_s(1268).$hashCode1 = (31 * $rt_s(1268).$hashCode1 | 0) + $rt_s(1268).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1268).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bx: { $var4 = $var2.$key; if ($rt_s(1268) !== $var4) { if ($rt_s(1268) === $var4) $var3 = 1; else if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = $rt_s(1268).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bx; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data2; } by: { $this.$deathTime = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1269).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1269).$nativeString.length) break by; $rt_s(1269).$hashCode1 = (31 * $rt_s(1269).$hashCode1 | 0) + $rt_s(1269).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1269).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bz: { $var4 = $var2.$key; if ($rt_s(1269) !== $var4) { if ($rt_s(1269) === $var4) $var3 = 1; else if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = $rt_s(1269).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bz; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1269) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { bA: { if (!$rt_s(1269).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1269).$nativeString.length) break bA; $rt_s(1269).$hashCode1 = (31 * $rt_s(1269).$hashCode1 | 0) + $rt_s(1269).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(1269).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$8 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$8) { bB: { $var2 = $par1NBTTagCompound.$key; if ($rt_s(1269) !== $var2) { if ($rt_s(1269) === $var2) $var3 = 1; else if (!($var2 instanceof jl_String)) $var3 = 0; else { $var2 = $var2; $var3 = $rt_s(1269).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bB; } } $var3 = 1; } if ($var3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $var3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data2; } $this.$attackTime = $var3; return; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); }, nms_EntityLivingBase_updatePotionEffects = $this => { let $var1, $var2, $var3, var$4, var$5, var$6, $var12, $var11, var$9, var$10, var$11, var$12, var$13, var$14, $var5, $var7, $var9, var$18, var$19, var$20, var$21, var$22, var$23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var11 = $thread.pop();$var12 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $this.$activePotionsMap; if ($var1.$cachedKeySet === null) { $var2 = new ju_HashMap$1; $var2.$this$0 = $var1; $var1.$cachedKeySet = $var2; } $var1 = $var1.$cachedKeySet.$iterator(); while ($var1.$hasNext()) { $var2 = $var1.$next(); $var3 = $this.$activePotionsMap; if ($var2 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$4 = $var2.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$4) { var$6 = $var3.$key; if ($var2 !== var$6 && !($var2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; $var12 = $var3.$duration; if ($var12 > 0) { nms_Potion_$callClinit(); if (nms_Potion_potionTypes.data[$var3.$potionID].$isReady($var12, $var3.$amplifier) && $var3.$duration > 0) { $var2 = nms_Potion_potionTypes.data[$var3.$potionID]; $var12 = $var3.$amplifier; $ptr = 1; continue main; } $var3.$duration = $var3.$duration - 1 | 0; } $var11 = $var3.$duration; if ($var11 <= 0 ? 0 : 1) { if (!($var11 % 600 | 0)) nms_EntityLivingBase_onChangedPotionEffect($this, $var3, 0); } else if (!$this.$worldObj.$isRemote) { $var1.$remove0(); $this.$potionsNeedUpdate = 1; if (!$this.$worldObj.$isRemote) { nms_Potion_$callClinit(); $var2 = nms_Potion_potionTypes.data[$var3.$potionID]; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var2.$removeAttributesModifiersFromEntity($this, $this.$attributeMap, $var3.$amplifier); } } } if ($this.$potionsNeedUpdate) { if (!$this.$worldObj.$isRemote) { $var1 = $this.$activePotionsMap; if ($var1.$elementCount ? 0 : 1) { $var1 = $this.$dataWatcher; var$9 = jl_Byte_byteCache.data[128]; $var2 = $var1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[136]; if (var$6 !== null) { var$10 = var$6.$value0; var$5 = $var2.$elementData.data; $var2 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$10) { $var3 = $var2.$key; if (var$6 !== $var3 && !(var$6 !== $var3 ? ($var3 instanceof jl_Integer && $var3.$value0 == var$10 ? 1 : 0) : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = $var2 === null ? null : $var2.$value1; $var2 = $var3.$watchedObject; if (!($var2 instanceof jl_Byte && $var2.$value2 == var$9.$value2 ? 1 : 0)) { $var3.$watchedObject = var$9; $var3.$watched = 1; $var1.$objectChanged = 1; } $var1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[128]; $var2 = $var1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[135]; if (var$6 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$4 = var$6.$value0; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { $var3 = $var2.$key; if (var$6 !== $var3 && !(var$6 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var3 = $var2 === null ? null : $var2.$value1; $var2 = $var3.$watchedObject; if (!(var$9 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$9.$value0 ? 1 : 0)) { $var3.$watchedObject = var$9; $var3.$watched = 1; $var1.$objectChanged = 1; } nms_Entity_setFlag($this, 5, 0); } else { if ($var1.$cachedValues === null) { $var2 = new ju_HashMap$2; $var2.$this$01 = $var1; $var1.$cachedValues = $var2; } $var11 = nms_PotionHelper_calcPotionLiquidColor($var1.$cachedValues); $var1 = $this.$dataWatcher; $var2 = $this.$activePotionsMap; if ($var2.$cachedValues === null) { $var3 = new ju_HashMap$2; $var3.$this$01 = $var2; $var2.$cachedValues = $var3; } $var2 = $var2.$cachedValues.$iterator(); a: { while ($var2.$hasNext()) { if (($var2.$next()).$isAmbient) continue; else { $var12 = 0; break a; } } $var12 = 1; } $var12 = (!$var12 ? 0 : 1) << 24 >> 24; var$9 = jl_Byte_byteCache.data[$var12 + 128 | 0]; $var2 = $var1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[136]; if (var$6 !== null) { var$10 = var$6.$value0; var$5 = $var2.$elementData.data; $var2 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$10) { $var3 = $var2.$key; if (var$6 !== $var3 && !(var$6 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = $var2 === null ? null : $var2.$value1; $var2 = $var3.$watchedObject; if (!($var2 instanceof jl_Byte && $var2.$value2 == var$9.$value2 ? 1 : 0)) { $var3.$watchedObject = var$9; $var3.$watched = 1; $var1.$objectChanged = 1; } $var1 = $this.$dataWatcher; if ($var11 >= (-128) && $var11 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[$var11 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = $var11; } $var3 = $var1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[135]; if (var$9 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$4 = var$9.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$4) { var$6 = $var3.$key; if (var$9 !== var$6 && !(var$9 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } var$6 = $var3 === null ? null : $var3.$value1; $var3 = var$6.$watchedObject; if (!($var2 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == $var2.$value0 ? 1 : 0)) { var$6.$watchedObject = $var2; var$6.$watched = 1; $var1.$objectChanged = 1; } nms_Potion_$callClinit(); nms_Entity_setFlag($this, 5, nms_EntityLivingBase_isPotionActive0($this, nms_Potion_invisibility.$id1)); } } $this.$potionsNeedUpdate = 0; } $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[135]; if ($var2 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { $var12 = $var2.$value0; var$5 = $var1.$elementData.data; $var1 = var$5[$var12 & (var$5.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == $var12) { $var3 = $var1.$key; if ($var2 !== $var3 && !($var2 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == $var12 ? 1 : 0) ? 0 : 1) break; } $var1 = $var1.$next3; } } var$11 = ($var1 === null ? null : $var1.$value1).$watchedObject.$value0; $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[136]; if ($var3 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$4 = $var3.$value0; var$5 = $var1.$elementData.data; $var1 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$4) { $var2 = $var1.$key; if ($var3 !== $var2 && !($var3 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; $var12 = $var1.$watchedObject.$value2 <= 0 ? 0 : 1; if (var$11 > 0) { if (!nms_Entity_getFlag($this, 5)) { $var1 = $this.$rand; var$12 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$12; $var11 = !Long_lo(Long_shru(var$12, 47)) ? 0 : 1; } else { $var1 = $this.$rand; var$12 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$12; var$10 = Long_lo(Long_shru(var$12, 17)); while (true) { var$13 = var$10 % 15 | 0; if (((var$10 - var$13 | 0) + 14 | 0) >= 0) break; var$12 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$12; var$10 = Long_lo(Long_shru(var$12, 17)); } $var11 = var$13 ? 0 : 1; } if ($var12) { $var1 = $this.$rand; var$12 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$12; var$13 = Long_lo(Long_shru(var$12, 17)); while (true) { var$14 = var$13 % 5 | 0; if (((var$13 - var$14 | 0) + 4 | 0) >= 0) break; var$12 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$12; var$13 = Long_lo(Long_shru(var$12, 17)); } $var11 = $var11 & (var$14 ? 0 : 1); } if ($var11 && var$11 > 0) { $var5 = (var$11 >> 16 & 255) / 255.0; $var7 = (var$11 >> 8 & 255) / 255.0; $var9 = (var$11 >> 0 & 255) / 255.0; $var1 = $this.$worldObj; $var3 = !$var12 ? $rt_s(1284) : $rt_s(1285); var$18 = $this.$posX; $var2 = $this.$rand; var$19 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$12 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$20 = Long_toNumber(Long_add(var$12, Long_fromInt(Long_lo(Long_shru(var$19, 21))))) * 1.1102230246251565E-16 - 0.5; var$21 = $this.$width1; var$20 = var$18 + var$20 * var$21; var$18 = $this.$posY; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$12 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$18 = var$18 + Long_toNumber(Long_add(var$12, Long_fromInt(Long_lo(Long_shru(var$19, 21))))) * 1.1102230246251565E-16 * $this.$height2 - $this.$yOffset; var$22 = $this.$posZ; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$12 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$23 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$23; var$21 = var$22 + (Long_toNumber(Long_add(var$12, Long_fromInt(Long_lo(Long_shru(var$23, 21))))) * 1.1102230246251565E-16 - 0.5) * var$21; $var12 = 0; $var2 = $var1.$worldAccesses; $var11 = $rt_compare($var12, $var2.$size0); if ($var11 < 0) { if ($var12 >= 0 && $var11 < 0) { $var2 = $var2.$array.data[$var12]; $ptr = 2; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } } } return; case 1: nms_Potion_performEffect($var2, $this, $var12); if ($rt_suspending()) { break main; } b: while (true) { while (true) { $var3.$duration = $var3.$duration - 1 | 0; while (true) { $var11 = $var3.$duration; if ($var11 <= 0 ? 0 : 1) { if (!($var11 % 600 | 0)) nms_EntityLivingBase_onChangedPotionEffect($this, $var3, 0); } else if (!$this.$worldObj.$isRemote) { $var1.$remove0(); $this.$potionsNeedUpdate = 1; if (!$this.$worldObj.$isRemote) { nms_Potion_$callClinit(); $var2 = nms_Potion_potionTypes.data[$var3.$potionID]; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var2.$removeAttributesModifiersFromEntity($this, $this.$attributeMap, $var3.$amplifier); } } if (!$var1.$hasNext()) break b; $var2 = $var1.$next(); $var3 = $this.$activePotionsMap; if ($var2 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$4 = $var2.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$4) { var$6 = $var3.$key; if ($var2 !== var$6 && !($var2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; $var12 = $var3.$duration; if ($var12 <= 0) continue; else break; } nms_Potion_$callClinit(); if (!nms_Potion_potionTypes.data[$var3.$potionID].$isReady($var12, $var3.$amplifier)) continue; else break; } if ($var3.$duration <= 0) continue; else { $var2 = nms_Potion_potionTypes.data[$var3.$potionID]; $var12 = $var3.$amplifier; continue main; } } if ($this.$potionsNeedUpdate) { if (!$this.$worldObj.$isRemote) { $var1 = $this.$activePotionsMap; if ($var1.$elementCount ? 0 : 1) { $var1 = $this.$dataWatcher; var$9 = jl_Byte_byteCache.data[128]; $var2 = $var1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[136]; if (var$6 !== null) { var$10 = var$6.$value0; var$5 = $var2.$elementData.data; $var2 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$10) { $var3 = $var2.$key; if (var$6 !== $var3 && !(var$6 !== $var3 ? ($var3 instanceof jl_Integer && $var3.$value0 == var$10 ? 1 : 0) : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = $var2 === null ? null : $var2.$value1; $var2 = $var3.$watchedObject; if (!($var2 instanceof jl_Byte && $var2.$value2 == var$9.$value2 ? 1 : 0)) { $var3.$watchedObject = var$9; $var3.$watched = 1; $var1.$objectChanged = 1; } $var1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[128]; $var2 = $var1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[135]; if (var$6 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$4 = var$6.$value0; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { $var3 = $var2.$key; if (var$6 !== $var3 && !(var$6 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var3 = $var2 === null ? null : $var2.$value1; $var2 = $var3.$watchedObject; if (!(var$9 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$9.$value0 ? 1 : 0)) { $var3.$watchedObject = var$9; $var3.$watched = 1; $var1.$objectChanged = 1; } nms_Entity_setFlag($this, 5, 0); } else { if ($var1.$cachedValues === null) { $var2 = new ju_HashMap$2; $var2.$this$01 = $var1; $var1.$cachedValues = $var2; } $var11 = nms_PotionHelper_calcPotionLiquidColor($var1.$cachedValues); $var1 = $this.$dataWatcher; $var2 = $this.$activePotionsMap; if ($var2.$cachedValues === null) { $var3 = new ju_HashMap$2; $var3.$this$01 = $var2; $var2.$cachedValues = $var3; } $var2 = $var2.$cachedValues.$iterator(); a: { while ($var2.$hasNext()) { if (($var2.$next()).$isAmbient) continue; else { $var12 = 0; break a; } } $var12 = 1; } $var12 = (!$var12 ? 0 : 1) << 24 >> 24; var$9 = jl_Byte_byteCache.data[$var12 + 128 | 0]; $var2 = $var1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[136]; if (var$6 !== null) { var$10 = var$6.$value0; var$5 = $var2.$elementData.data; $var2 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$10) { $var3 = $var2.$key; if (var$6 !== $var3 && !(var$6 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = $var2 === null ? null : $var2.$value1; $var2 = $var3.$watchedObject; if (!($var2 instanceof jl_Byte && $var2.$value2 == var$9.$value2 ? 1 : 0)) { $var3.$watchedObject = var$9; $var3.$watched = 1; $var1.$objectChanged = 1; } $var1 = $this.$dataWatcher; if ($var11 >= (-128) && $var11 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[$var11 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = $var11; } $var3 = $var1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[135]; if (var$9 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$4 = var$9.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$4) { var$6 = $var3.$key; if (var$9 !== var$6 && !(var$9 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } var$6 = $var3 === null ? null : $var3.$value1; $var3 = var$6.$watchedObject; if (!($var2 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == $var2.$value0 ? 1 : 0)) { var$6.$watchedObject = $var2; var$6.$watched = 1; $var1.$objectChanged = 1; } nms_Potion_$callClinit(); nms_Entity_setFlag($this, 5, nms_EntityLivingBase_isPotionActive0($this, nms_Potion_invisibility.$id1)); } } $this.$potionsNeedUpdate = 0; } $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[135]; if ($var2 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { $var12 = $var2.$value0; var$5 = $var1.$elementData.data; $var1 = var$5[$var12 & (var$5.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == $var12) { $var3 = $var1.$key; if ($var2 !== $var3 && !($var2 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == $var12 ? 1 : 0) ? 0 : 1) break; } $var1 = $var1.$next3; } } var$11 = ($var1 === null ? null : $var1.$value1).$watchedObject.$value0; $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[136]; if ($var3 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$4 = $var3.$value0; var$5 = $var1.$elementData.data; $var1 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$4) { $var2 = $var1.$key; if ($var3 !== $var2 && !($var3 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; $var12 = $var1.$watchedObject.$value2 <= 0 ? 0 : 1; if (var$11 > 0) { if (!nms_Entity_getFlag($this, 5)) { $var1 = $this.$rand; var$12 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$12; $var11 = !Long_lo(Long_shru(var$12, 47)) ? 0 : 1; } else { $var1 = $this.$rand; var$12 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$12; var$10 = Long_lo(Long_shru(var$12, 17)); while (true) { var$13 = var$10 % 15 | 0; if (((var$10 - var$13 | 0) + 14 | 0) >= 0) break; var$12 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$12; var$10 = Long_lo(Long_shru(var$12, 17)); } $var11 = var$13 ? 0 : 1; } if ($var12) { $var1 = $this.$rand; var$12 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$12; var$13 = Long_lo(Long_shru(var$12, 17)); while (true) { var$14 = var$13 % 5 | 0; if (((var$13 - var$14 | 0) + 4 | 0) >= 0) break; var$12 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$12; var$13 = Long_lo(Long_shru(var$12, 17)); } $var11 = $var11 & (var$14 ? 0 : 1); } if ($var11 && var$11 > 0) { $var5 = (var$11 >> 16 & 255) / 255.0; $var7 = (var$11 >> 8 & 255) / 255.0; $var9 = (var$11 >> 0 & 255) / 255.0; $var1 = $this.$worldObj; $var3 = !$var12 ? $rt_s(1284) : $rt_s(1285); var$18 = $this.$posX; $var2 = $this.$rand; var$19 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$12 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$20 = Long_toNumber(Long_add(var$12, Long_fromInt(Long_lo(Long_shru(var$19, 21))))) * 1.1102230246251565E-16 - 0.5; var$21 = $this.$width1; var$20 = var$18 + var$20 * var$21; var$18 = $this.$posY; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$12 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$18 = var$18 + Long_toNumber(Long_add(var$12, Long_fromInt(Long_lo(Long_shru(var$19, 21))))) * 1.1102230246251565E-16 * $this.$height2 - $this.$yOffset; var$22 = $this.$posZ; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$12 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$23 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$23; var$21 = var$22 + (Long_toNumber(Long_add(var$12, Long_fromInt(Long_lo(Long_shru(var$23, 21))))) * 1.1102230246251565E-16 - 0.5) * var$21; $var12 = 0; $var2 = $var1.$worldAccesses; $var11 = $rt_compare($var12, $var2.$size0); if ($var11 < 0) { if ($var12 >= 0 && $var11 < 0) { $var2 = $var2.$array.data[$var12]; $ptr = 2; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } } } return; case 2: nms_RenderGlobal_doSpawnParticle($var2, $var3, var$20, var$18, var$21, $var5, $var7, $var9); if ($rt_suspending()) { break main; } $var12 = $var12 + 1 | 0; $var2 = $var1.$worldAccesses; $var11 = $rt_compare($var12, $var2.$size0); if ($var11 >= 0) return; if ($var12 >= 0 && $var11 < 0) { $var2 = $var2.$array.data[$var12]; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, var$5, var$6, $var12, $var11, var$9, var$10, var$11, var$12, var$13, var$14, $var5, $var7, $var9, var$18, var$19, var$20, var$21, var$22, var$23, $ptr); }, nms_EntityLivingBase_clearActivePotions = $this => { let $var1, $var2, $var3, var$4, var$5, var$6; $var1 = $this.$activePotionsMap; if ($var1.$cachedKeySet === null) { $var2 = new ju_HashMap$1; $var2.$this$0 = $var1; $var1.$cachedKeySet = $var2; } $var1 = $var1.$cachedKeySet.$iterator(); while ($var1.$hasNext()) { $var2 = $var1.$next(); $var3 = $this.$activePotionsMap; if ($var2 === null) { var$4 = $var3.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$5 = $var2.$value0; var$6 = $var3.$elementData.data; var$4 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$5) { $var3 = var$4.$key; if ($var2 !== $var3 && !($var2 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } $var3 = var$4 === null ? null : var$4.$value1; if (!$this.$worldObj.$isRemote) { $var1.$remove0(); $this.$potionsNeedUpdate = 1; if (!$this.$worldObj.$isRemote) { nms_Potion_$callClinit(); $var2 = nms_Potion_potionTypes.data[$var3.$potionID]; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var2.$removeAttributesModifiersFromEntity($this, $this.$attributeMap, $var3.$amplifier); } } } }, nms_EntityLivingBase_isPotionActive0 = ($this, $par1) => { let var$2, var$3, var$4, var$5; var$2 = $this.$activePotionsMap; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $par1; } if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { $par1 = var$3.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[$par1 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $par1) { var$5 = var$2.$key; if (var$3 !== var$5 && !(var$3 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $par1 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } return var$2 === null ? 0 : 1; }, nms_EntityLivingBase_isPotionActive = ($this, $par1Potion) => { let var$2, var$3, var$4, var$5; var$2 = $this.$activePotionsMap; var$3 = $par1Potion.$id1; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); $par1Potion = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { $par1Potion = new jl_Integer; $par1Potion.$value0 = var$3; } if ($par1Potion === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = $par1Potion.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($par1Potion !== var$5 && !($par1Potion === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } return var$2 === null ? 0 : 1; }, nms_EntityLivingBase_getActivePotionEffect = ($this, $par1Potion) => { let var$2, var$3, var$4, var$5; var$2 = $this.$activePotionsMap; var$3 = $par1Potion.$id1; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); $par1Potion = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { $par1Potion = new jl_Integer; $par1Potion.$value0 = var$3; } if ($par1Potion === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = $par1Potion.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($par1Potion !== var$5 && !($par1Potion === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } return var$2 === null ? null : var$2.$value1; }, nms_EntityLivingBase_addPotionEffect = ($this, $par1PotionEffect) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; if ($this.$isPotionApplicable($par1PotionEffect)) { var$2 = $this.$activePotionsMap; var$3 = $par1PotionEffect.$potionID; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$3; } if (var$4 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$5 = var$4.$value0; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$7 = var$2.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) { var$2 = $this.$activePotionsMap; var$3 = $par1PotionEffect.$potionID; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$3; } ju_HashMap_putImpl(var$2, var$4, $par1PotionEffect); $this.$potionsNeedUpdate = 1; if (!$this.$worldObj.$isRemote) { nms_Potion_$callClinit(); var$2 = nms_Potion_potionTypes.data[$par1PotionEffect.$potionID]; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2.$applyAttributesModifiersToEntity($this, $this.$attributeMap, $par1PotionEffect.$amplifier); } } else { var$2 = $this.$activePotionsMap; var$3 = $par1PotionEffect.$potionID; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$3; } if (var$4 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$8 = var$4.$value0; var$6 = var$2.$elementData.data; var$2 = var$6[var$8 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { var$7 = var$2.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; nms_PotionEffect_combine(var$2, $par1PotionEffect); var$2 = $this.$activePotionsMap; var$3 = $par1PotionEffect.$potionID; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); $par1PotionEffect = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { $par1PotionEffect = new jl_Integer; $par1PotionEffect.$value0 = var$3; } if ($par1PotionEffect === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$8 = $par1PotionEffect.$value0; var$6 = var$2.$elementData.data; var$2 = var$6[var$8 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { var$4 = var$2.$key; if ($par1PotionEffect !== var$4 && !($par1PotionEffect === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } nms_EntityLivingBase_onChangedPotionEffect($this, var$2 === null ? null : var$2.$value1, 1); } } }, nms_EntityLivingBase_isPotionApplicable = ($this, $par1PotionEffect) => { let $var2; a: { if ($this.$getCreatureAttribute() === nms_EnumCreatureAttribute_UNDEAD) { $var2 = $par1PotionEffect.$potionID; nms_Potion_$callClinit(); if ($var2 == nms_Potion_regeneration.$id1) break a; if ($var2 == nms_Potion_poison.$id1) break a; } return 1; } return 0; }, nms_EntityLivingBase_isEntityUndead = $this => { return $this.$getCreatureAttribute() !== nms_EnumCreatureAttribute_UNDEAD ? 0 : 1; }, nms_EntityLivingBase_removePotionEffectClient = ($this, $par1) => { let var$2, var$3; var$2 = $this.$activePotionsMap; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $par1; } ju_HashMap_removeByKey(var$2, var$3); }, nms_EntityLivingBase_removePotionEffect = ($this, $par1) => { let $var2, var$3; $var2 = $this.$activePotionsMap; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $par1; } $var2 = ju_HashMap_removeByKey($var2, var$3); $var2 = $var2 === null ? null : $var2.$value1; if ($var2 !== null) { $this.$potionsNeedUpdate = 1; if (!$this.$worldObj.$isRemote) { nms_Potion_$callClinit(); var$3 = nms_Potion_potionTypes.data[$var2.$potionID]; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3.$removeAttributesModifiersFromEntity($this, $this.$attributeMap, $var2.$amplifier); } } }, nms_EntityLivingBase_onNewPotionEffect = ($this, $par1PotionEffect) => { let var$2; $this.$potionsNeedUpdate = 1; if (!$this.$worldObj.$isRemote) { nms_Potion_$callClinit(); var$2 = nms_Potion_potionTypes.data[$par1PotionEffect.$potionID]; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2.$applyAttributesModifiersToEntity($this, $this.$attributeMap, $par1PotionEffect.$amplifier); } }, nms_EntityLivingBase_onChangedPotionEffect = ($this, $par1PotionEffect, $par2) => { let var$3; $this.$potionsNeedUpdate = 1; if ($par2 && !$this.$worldObj.$isRemote) { nms_Potion_$callClinit(); var$3 = nms_Potion_potionTypes.data[$par1PotionEffect.$potionID]; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3.$removeAttributesModifiersFromEntity($this, $this.$attributeMap, $par1PotionEffect.$amplifier); var$3 = nms_Potion_potionTypes.data[$par1PotionEffect.$potionID]; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3.$applyAttributesModifiersToEntity($this, $this.$attributeMap, $par1PotionEffect.$amplifier); } }, nms_EntityLivingBase_onFinishedPotionEffect = ($this, $par1PotionEffect) => { let var$2; $this.$potionsNeedUpdate = 1; if (!$this.$worldObj.$isRemote) { nms_Potion_$callClinit(); var$2 = nms_Potion_potionTypes.data[$par1PotionEffect.$potionID]; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2.$removeAttributesModifiersFromEntity($this, $this.$attributeMap, $par1PotionEffect.$amplifier); } }, nms_EntityLivingBase_heal = ($this, $par1) => { let $var2; $var2 = nms_EntityLivingBase_getHealth($this); if ($var2 > 0.0) nms_EntityLivingBase_setHealth($this, $var2 + $par1); }, nms_EntityLivingBase_getHealth = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject.$value3; }, nms_EntityLivingBase_setHealth = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; var$2 = $this.$dataWatcher; var$3 = 0.0; var$4 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_maxHealth); if (var$4.$field_111133_g) { var$4.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$4); var$4.$field_111133_g = 0; } var$5 = var$4.$field_111139_h; if ($par1 >= var$3) var$3 = $par1 <= var$5 ? $par1 : var$5; var$4 = new jl_Float; var$4.$value3 = var$3; var$6 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[134]; if (var$7 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$8 = var$7.$value0; var$9 = var$6.$elementData.data; var$6 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$8) { var$10 = var$6.$key; if (var$7 !== var$10 && !(var$7 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$7 = var$6 === null ? null : var$6.$value1; var$6 = var$7.$watchedObject; if (var$4 === var$6) var$11 = 1; else a: { if (var$6 instanceof jl_Float) { var$3 = var$4.$value3; $par1 = var$6.$value3; if (var$3 !== var$3 ? ($par1 === $par1 ? 0 : 1) : $rt_floatToRawIntBits(var$3) != $rt_floatToRawIntBits($par1) ? 0 : 1) { var$11 = 1; break a; } } var$11 = 0; } if (!var$11) { var$7.$watchedObject = var$4; var$7.$watched = 1; var$2.$objectChanged = 1; } }, nms_EntityLivingBase_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let $var4, var$4, var$5, var$6, $var5, $var3, var$9, var$10, var$11, var$12, $var9, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var9 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var3 = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var4 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; if ($this.$worldObj.$isRemote) return 0; $this.$entityAge = 0; $var4 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[134]; if (var$4 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { var$5 = var$4.$value0; var$6 = $var4.$elementData.data; $var4 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$5) { $var5 = $var4.$key; if (var$4 !== $var5 && !(var$4 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $var4 = $var4.$next3; } } $var4 = $var4 === null ? null : $var4.$value1; if ($var4.$watchedObject.$value3 <= 0.0) return 0; if ($par1DamageSource.$fireDamage) { nms_Potion_$callClinit(); $var4 = nms_Potion_fireResistance; $var5 = $this.$activePotionsMap; $var3 = $var4.$id1; if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { $var4 = new jl_Integer; $var4.$value0 = $var3; } if ($var4 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$5 = $var4.$value0; var$6 = $var5.$elementData.data; $var5 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$5) { var$4 = $var5.$key; if ($var4 !== var$4 && !($var4 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } if ($var5 === null ? 0 : 1) return 0; } if (!($par1DamageSource !== nms_DamageSource_anvil && $par1DamageSource !== nms_DamageSource_fallingBlock) && $this.$getCurrentItemOrArmor(4) !== null) { $var4 = $this.$getCurrentItemOrArmor(4); var$9 = $par2 * 4.0; $var5 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$10; $var3 = var$9 + Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * $par2 * 2.0 | 0; $ptr = 1; continue main; } $this.$limbSwingAmount = 1.5; $var3 = 1; if ($this.$hurtResistantTime > $this.$maxHurtResistantTime / 2.0) { var$11 = $this.$lastDamage; if ($par2 <= var$11) return 0; var$11 = $par2 - var$11; $ptr = 2; continue main; } $this.$lastDamage = $par2; $var4 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[134]; if (var$4 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { var$12 = var$4.$value0; var$6 = $var4.$elementData.data; $var4 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$12) { $var5 = $var4.$key; if (var$4 !== $var5 && !(var$4 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } $var4 = $var4.$next3; } } $this.$prevHealth = ($var4 === null ? null : $var4.$value1).$watchedObject.$value3; $this.$hurtResistantTime = $this.$maxHurtResistantTime; $ptr = 3; continue main; case 1: nms_ItemStack_damageItem($var4, $var3, $this); if ($rt_suspending()) { break main; } $par2 = $par2 * 0.75; $this.$limbSwingAmount = 1.5; $var3 = 1; if ($this.$hurtResistantTime > $this.$maxHurtResistantTime / 2.0) { var$11 = $this.$lastDamage; if ($par2 <= var$11) return 0; var$11 = $par2 - var$11; $ptr = 2; continue main; } $this.$lastDamage = $par2; $var4 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[134]; if (var$4 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { var$12 = var$4.$value0; var$6 = $var4.$elementData.data; $var4 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$12) { $var5 = $var4.$key; if (var$4 !== $var5 && !(var$4 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } $var4 = $var4.$next3; } } $this.$prevHealth = ($var4 === null ? null : $var4.$value1).$watchedObject.$value3; $this.$hurtResistantTime = $this.$maxHurtResistantTime; $ptr = 3; continue main; case 2: $this.$damageEntity($par1DamageSource, var$11); if ($rt_suspending()) { break main; } $this.$lastDamage = $par2; $var3 = 0; $this.$attackedAtYaw = 0.0; $var4 = $par1DamageSource.$getEntity(); if ($var4 !== null) { if ($var4 instanceof nms_EntityLivingBase) $this.$setRevengeTarget($var4); if ($var4 instanceof nms_EntityPlayer) { $this.$recentlyHit = 100; $this.$attackingPlayer = $var4; } else if ($var4 instanceof nms_EntityWolf && nms_EntityTameable_isTamed($var4)) { $this.$recentlyHit = 100; $this.$attackingPlayer = null; } } if ($var3) { if ($par1DamageSource !== nms_DamageSource_drown) nms_EntityLivingBase_setBeenAttacked($this); if ($var4 === null) $this.$attackedAtYaw = (jl_Math_randomImpl() * 2.0 | 0) * 180 | 0; else { $var9 = $var4.$posX - $this.$posX; $var7 = $var4.$posZ - $this.$posZ; while ($var9 * $var9 + $var7 * $var7 < 1.0E-4) { $var9 = (jl_Math_randomImpl() - jl_Math_randomImpl()) * 0.01; $var7 = (jl_Math_randomImpl() - jl_Math_randomImpl()) * 0.01; } $this.$attackedAtYaw = jl_Math_atan2($var7, $var9) * 180.0 / 3.141592653589793 - $this.$rotationYaw; nms_EntityLivingBase_knockBack($this, $var4, $par2, $var9, $var7); } } $var4 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[134]; if (var$4 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { var$12 = var$4.$value0; var$6 = $var4.$elementData.data; $var4 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$12) { $var5 = $var4.$key; if (var$4 !== $var5 && !(var$4 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } $var4 = $var4.$next3; } } $var4 = $var4 === null ? null : $var4.$value1; if ($var4.$watchedObject.$value3 <= 0.0) { if (!$var3) { $ptr = 5; continue main; } $var4 = $this.$getDeathSound(); $par2 = $this.$getSoundVolume(); var$11 = $this.$getSoundPitch(); $ptr = 6; continue main; } if (!$var3) return 1; $par1DamageSource = $this.$getHurtSound(); $par2 = $this.$getSoundVolume(); var$11 = $this.$getSoundPitch(); $ptr = 4; continue main; case 3: $this.$damageEntity($par1DamageSource, $par2); if ($rt_suspending()) { break main; } $this.$maxHurtTime = 10; $this.$hurtTime = 10; $this.$attackedAtYaw = 0.0; $var4 = $par1DamageSource.$getEntity(); if ($var4 !== null) { if ($var4 instanceof nms_EntityLivingBase) $this.$setRevengeTarget($var4); if ($var4 instanceof nms_EntityPlayer) { $this.$recentlyHit = 100; $this.$attackingPlayer = $var4; } else if ($var4 instanceof nms_EntityWolf && nms_EntityTameable_isTamed($var4)) { $this.$recentlyHit = 100; $this.$attackingPlayer = null; } } if ($var3) { if ($par1DamageSource !== nms_DamageSource_drown) nms_EntityLivingBase_setBeenAttacked($this); if ($var4 === null) $this.$attackedAtYaw = (jl_Math_randomImpl() * 2.0 | 0) * 180 | 0; else { $var9 = $var4.$posX - $this.$posX; $var7 = $var4.$posZ - $this.$posZ; while ($var9 * $var9 + $var7 * $var7 < 1.0E-4) { $var9 = (jl_Math_randomImpl() - jl_Math_randomImpl()) * 0.01; $var7 = (jl_Math_randomImpl() - jl_Math_randomImpl()) * 0.01; } $this.$attackedAtYaw = jl_Math_atan2($var7, $var9) * 180.0 / 3.141592653589793 - $this.$rotationYaw; nms_EntityLivingBase_knockBack($this, $var4, $par2, $var9, $var7); } } $var4 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[134]; if (var$4 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { var$12 = var$4.$value0; var$6 = $var4.$elementData.data; $var4 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$12) { $var5 = $var4.$key; if (var$4 !== $var5 && !(var$4 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } $var4 = $var4.$next3; } } $var4 = $var4 === null ? null : $var4.$value1; if ($var4.$watchedObject.$value3 <= 0.0) { if (!$var3) { $ptr = 5; continue main; } $var4 = $this.$getDeathSound(); $par2 = $this.$getSoundVolume(); var$11 = $this.$getSoundPitch(); $ptr = 6; continue main; } if (!$var3) return 1; $par1DamageSource = $this.$getHurtSound(); $par2 = $this.$getSoundVolume(); var$11 = $this.$getSoundPitch(); $ptr = 4; case 4: $this.$playSound0($par1DamageSource, $par2, var$11); if ($rt_suspending()) { break main; } return 1; case 5: $this.$onDeath($par1DamageSource); if ($rt_suspending()) { break main; } return 1; case 6: $this.$playSound0($var4, $par2, var$11); if ($rt_suspending()) { break main; } $ptr = 5; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, $var4, var$4, var$5, var$6, $var5, $var3, var$9, var$10, var$11, var$12, $var9, $var7, $ptr); }, nms_EntityLivingBase_renderBrokenItemStack = ($this, $par1ItemStack) => { let $var3, var$3, $var4, var$5, var$6, var$7, $var2, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var2 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $rt_s(1286); var$3 = 0.800000011920929; $var4 = $this.$worldObj.$rand0; var$5 = Long_and(Long_add(Long_mul($var4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4.$seed = var$5; var$6 = 24; var$7 = 0.800000011920929 + Long_lo(Long_shru(var$5, var$6)) / 1.6777216E7 * 0.4000000059604645; $ptr = 1; case 1: $this.$playSound0($var3, var$3, var$7); if ($rt_suspending()) { break main; } $var2 = 0; var$9 = $rt_s(1287); a: { while ($var2 < 5) { $var4 = $this.$worldObj.$vecPool; $var3 = $this.$rand; var$5 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$5; $var3 = nms_Vec3Pool_getVecFromPool($var4, (Long_lo(Long_shru(var$5, var$6)) / 1.6777216E7 - 0.5) * 0.1, jl_Math_randomImpl() * 0.1 + 0.1, 0.0); var$3 = -$this.$rotationPitch * 3.1415927410125732 / 180.0; var$10 = nms_MathHelper_SIN_TABLE.data; var$3 = var$3 * 10430.3779296875; var$7 = var$10[(var$3 + 16384.0 | 0) & 65535]; var$3 = var$10[(var$3 | 0) & 65535]; var$11 = $var3.$xCoord; var$12 = $var3.$yCoord; var$13 = var$7; var$14 = var$12 * var$13; var$15 = $var3.$zCoord; var$16 = var$3; var$17 = var$14 + var$15 * var$16; var$16 = var$15 * var$13 - var$12 * var$16; $var3.$xCoord = var$11; $var3.$yCoord = var$17; $var3.$zCoord = var$16; var$3 = -$this.$rotationYaw * 3.1415927410125732 / 180.0 * 10430.3779296875; var$7 = var$10[(var$3 + 16384.0 | 0) & 65535]; var$3 = var$10[(var$3 | 0) & 65535]; var$12 = var$7; var$13 = var$11 * var$12; var$14 = var$3; var$13 = var$13 + var$16 * var$14; var$12 = var$16 * var$12 - var$11 * var$14; $var3.$xCoord = var$13; $var3.$yCoord = var$17; $var3.$zCoord = var$12; var$18 = $this.$worldObj.$vecPool; $var4 = $this.$rand; var$19 = Long_and(Long_add(Long_mul($var4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4.$seed = var$19; var$12 = (Long_lo(Long_shru(var$19, var$6)) / 1.6777216E7 - 0.5) * 0.3; var$5 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4.$seed = var$5; $var4 = nms_Vec3Pool_getVecFromPool(var$18, var$12, -(Long_lo(Long_shru(var$5, var$6)) / 1.6777216E7) * 0.6 - 0.3, 0.6); var$7 = -$this.$rotationPitch * 3.1415927410125732 / 180.0; var$10 = nms_MathHelper_SIN_TABLE.data; var$3 = var$7 * 10430.3779296875; var$7 = var$10[(var$3 + 16384.0 | 0) & 65535]; var$3 = var$10[(var$3 | 0) & 65535]; var$12 = $var4.$xCoord; var$13 = $var4.$yCoord; var$14 = var$7; var$15 = var$13 * var$14; var$11 = $var4.$zCoord; var$17 = var$3; var$15 = var$15 + var$11 * var$17; var$13 = var$11 * var$14 - var$13 * var$17; $var4.$xCoord = var$12; $var4.$yCoord = var$15; $var4.$zCoord = var$13; var$7 = -$this.$rotationYaw * 3.1415927410125732 / 180.0 * 10430.3779296875; var$3 = var$10[(var$7 + 16384.0 | 0) & 65535]; var$7 = var$10[(var$7 | 0) & 65535]; var$14 = var$3; var$11 = var$12 * var$14; var$17 = var$7; var$11 = var$11 + var$13 * var$17; var$12 = var$13 * var$14 - var$12 * var$17; $var4.$xCoord = var$11; $var4.$yCoord = var$15; $var4.$zCoord = var$12; var$12 = $this.$posX; var$13 = $this.$posY + $this.$getEyeHeight(); var$14 = $this.$posZ; var$20 = nms_Vec3Pool_getVecFromPool($var4.$myVec3LocalPool, $var4.$xCoord + var$12, $var4.$yCoord + var$13, $var4.$zCoord + var$14); $var4 = $this.$worldObj; nms_Item_$callClinit(); var$21 = nms_Item_itemsList.data[$par1ItemStack.$itemID].$itemID0; var$18 = new jl_StringBuilder; var$18.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$18, var$18.$length0, var$9); jl_AbstractStringBuilder_insert0(var$18, var$18.$length0, var$21, 10); var$22 = new jl_String; var$10 = var$18.$buffer; var$23 = var$10.data; var$24 = var$18.$length0; var$25 = var$23.length; if (var$24 < 0) break a; if (var$24 > (var$25 - 0 | 0)) break a; var$22.$nativeString = $rt_charArrayToString(var$10.data, 0, var$24); var$13 = var$20.$xCoord; var$14 = var$20.$yCoord; var$15 = var$20.$zCoord; var$11 = $var3.$xCoord; var$12 = $var3.$yCoord + 0.05; var$17 = $var3.$zCoord; var$21 = 0; $var3 = $var4.$worldAccesses; var$24 = $rt_compare(var$21, $var3.$size0); if (var$24 < 0) { if (var$21 >= 0 && var$24 < 0) { $var3 = $var3.$array.data[var$21]; $ptr = 2; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $var2 = $var2 + 1 | 0; } return; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); case 2: nms_RenderGlobal_doSpawnParticle($var3, var$22, var$13, var$14, var$15, var$11, var$12, var$17); if ($rt_suspending()) { break main; } var$21 = var$21 + 1 | 0; a: { while (true) { $var3 = $var4.$worldAccesses; var$24 = $rt_compare(var$21, $var3.$size0); if (var$24 < 0) { if (var$21 >= 0 && var$24 < 0) { $var3 = $var3.$array.data[var$21]; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $var2 = $var2 + 1 | 0; if ($var2 >= 5) break; $var4 = $this.$worldObj.$vecPool; $var3 = $this.$rand; var$5 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$5; $var3 = nms_Vec3Pool_getVecFromPool($var4, (Long_lo(Long_shru(var$5, var$6)) / 1.6777216E7 - 0.5) * 0.1, jl_Math_randomImpl() * 0.1 + 0.1, 0.0); var$3 = -$this.$rotationPitch * 3.1415927410125732 / 180.0; var$10 = nms_MathHelper_SIN_TABLE.data; var$3 = var$3 * 10430.3779296875; var$7 = var$10[(var$3 + 16384.0 | 0) & 65535]; var$3 = var$10[(var$3 | 0) & 65535]; var$11 = $var3.$xCoord; var$12 = $var3.$yCoord; var$13 = var$7; var$14 = var$12 * var$13; var$15 = $var3.$zCoord; var$16 = var$3; var$17 = var$14 + var$15 * var$16; var$16 = var$15 * var$13 - var$12 * var$16; $var3.$xCoord = var$11; $var3.$yCoord = var$17; $var3.$zCoord = var$16; var$3 = -$this.$rotationYaw * 3.1415927410125732 / 180.0 * 10430.3779296875; var$7 = var$10[(var$3 + 16384.0 | 0) & 65535]; var$3 = var$10[(var$3 | 0) & 65535]; var$12 = var$7; var$13 = var$11 * var$12; var$14 = var$3; var$13 = var$13 + var$16 * var$14; var$12 = var$16 * var$12 - var$11 * var$14; $var3.$xCoord = var$13; $var3.$yCoord = var$17; $var3.$zCoord = var$12; var$18 = $this.$worldObj.$vecPool; $var4 = $this.$rand; var$19 = Long_and(Long_add(Long_mul($var4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4.$seed = var$19; var$12 = (Long_lo(Long_shru(var$19, var$6)) / 1.6777216E7 - 0.5) * 0.3; var$5 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4.$seed = var$5; $var4 = nms_Vec3Pool_getVecFromPool(var$18, var$12, -(Long_lo(Long_shru(var$5, var$6)) / 1.6777216E7) * 0.6 - 0.3, 0.6); var$7 = -$this.$rotationPitch * 3.1415927410125732 / 180.0; var$10 = nms_MathHelper_SIN_TABLE.data; var$3 = var$7 * 10430.3779296875; var$7 = var$10[(var$3 + 16384.0 | 0) & 65535]; var$3 = var$10[(var$3 | 0) & 65535]; var$12 = $var4.$xCoord; var$13 = $var4.$yCoord; var$14 = var$7; var$15 = var$13 * var$14; var$11 = $var4.$zCoord; var$17 = var$3; var$15 = var$15 + var$11 * var$17; var$13 = var$11 * var$14 - var$13 * var$17; $var4.$xCoord = var$12; $var4.$yCoord = var$15; $var4.$zCoord = var$13; var$7 = -$this.$rotationYaw * 3.1415927410125732 / 180.0 * 10430.3779296875; var$3 = var$10[(var$7 + 16384.0 | 0) & 65535]; var$7 = var$10[(var$7 | 0) & 65535]; var$14 = var$3; var$11 = var$12 * var$14; var$17 = var$7; var$11 = var$11 + var$13 * var$17; var$12 = var$13 * var$14 - var$12 * var$17; $var4.$xCoord = var$11; $var4.$yCoord = var$15; $var4.$zCoord = var$12; var$12 = $this.$posX; var$13 = $this.$posY + $this.$getEyeHeight(); var$14 = $this.$posZ; var$20 = nms_Vec3Pool_getVecFromPool($var4.$myVec3LocalPool, $var4.$xCoord + var$12, $var4.$yCoord + var$13, $var4.$zCoord + var$14); $var4 = $this.$worldObj; nms_Item_$callClinit(); var$21 = nms_Item_itemsList.data[$par1ItemStack.$itemID].$itemID0; var$18 = new jl_StringBuilder; var$18.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$18, var$18.$length0, var$9); jl_AbstractStringBuilder_insert0(var$18, var$18.$length0, var$21, 10); var$22 = new jl_String; var$10 = var$18.$buffer; var$23 = var$10.data; var$24 = var$18.$length0; var$25 = var$23.length; if (var$24 < 0) break a; if (var$24 > (var$25 - 0 | 0)) break a; var$22.$nativeString = $rt_charArrayToString(var$10.data, 0, var$24); var$13 = var$20.$xCoord; var$14 = var$20.$yCoord; var$15 = var$20.$zCoord; var$11 = $var3.$xCoord; var$12 = $var3.$yCoord + 0.05; var$17 = $var3.$zCoord; var$21 = 0; } return; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $var3, var$3, $var4, var$5, var$6, var$7, $var2, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, $ptr); }, nms_EntityLivingBase_onDeath = ($this, $par1DamageSource) => { let $var2, $var3, $var4, var$5, var$6, $var5, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $par1DamageSource.$getEntity(); if (nms_CombatTracker_func_94550_c($this.$_combatTracker) !== null) $var3 = nms_CombatTracker_func_94550_c($this.$_combatTracker); else { $var3 = $this.$attackingPlayer; if ($var3 === null) { $var3 = $this.$entityLivingToAttack; if ($var3 === null) $var3 = null; } } $var4 = $this.$scoreValue; if ($var4 >= 0 && $var3 !== null) $var3.$addToPlayerScore($this, $var4); if ($var2 !== null) { $ptr = 1; continue main; } $this.$dead0 = 1; if (!$this.$worldObj.$isRemote) { $var4 = 0; if ($var2 instanceof nms_EntityPlayer) { $par1DamageSource = $var2; nms_EnchantmentHelper_$callClinit(); nms_Enchantment_$callClinit(); $var4 = nms_EnchantmentHelper_getEnchantmentLevel(nms_Enchantment_looting.$effectId, $par1DamageSource.$getHeldItem()); } if (!$this.$isChild()) { a: { $var2 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; $var3 = $rt_s(1263); $par1DamageSource = $rt_s(1263); if ($var3 !== $par1DamageSource) { var$5 = $var3.$nativeString.length; var$6 = $par1DamageSource.$nativeString.length; if (var$5 < var$6) var$6 = var$5; $var5 = 0; b: { while (true) { if ($var5 >= var$6) { $var3.$nativeString.length; $par1DamageSource.$nativeString.length; break a; } if ($var5 < 0) break b; if ($var5 >= $var3.$nativeString.length) break b; var$8 = $var3.$nativeString.charCodeAt($var5); if ($var5 < 0) break; if ($var5 >= $par1DamageSource.$nativeString.length) break; if (var$8 - $par1DamageSource.$nativeString.charCodeAt($var5) | 0) break a; $var5 = $var5 + 1 | 0; } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } } $par1DamageSource = $rt_s(1263); c: { d: { e: while (true) { if ($var2 === null) { $var2 = null; break c; } f: { $var3 = $var2.$key0; if ($par1DamageSource === $var3) $var5 = 0; else { var$5 = $par1DamageSource.$nativeString.length; var$6 = $var3.$nativeString.length; if (var$5 < var$6) var$6 = var$5; var$5 = 0; while (true) { if (var$5 >= var$6) { $var5 = $par1DamageSource.$nativeString.length - $var3.$nativeString.length | 0; break f; } if (var$5 < 0) break d; if (var$5 >= $par1DamageSource.$nativeString.length) break d; var$8 = $par1DamageSource.$nativeString.charCodeAt(var$5); if (var$5 < 0) break e; if (var$5 >= $var3.$nativeString.length) break e; $var5 = var$8 - $var3.$nativeString.charCodeAt(var$5) | 0; if ($var5) break; var$5 = var$5 + 1 | 0; } } } if (!$var5) break c; $var2 = $var5 >= 0 ? $var2.$right : $var2.$left; } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } $par1DamageSource = $var2 === null ? null : $var2.$value4; if ($par1DamageSource === null ? 0 : $par1DamageSource.$valueBoolean) { $var5 = $this.$recentlyHit <= 0 ? 0 : 1; $ptr = 2; continue main; } } } return; case 1: $var2.$onKillEntity($this); if ($rt_suspending()) { break main; } $this.$dead0 = 1; if (!$this.$worldObj.$isRemote) { $var4 = 0; if ($var2 instanceof nms_EntityPlayer) { $par1DamageSource = $var2; nms_EnchantmentHelper_$callClinit(); nms_Enchantment_$callClinit(); $var4 = nms_EnchantmentHelper_getEnchantmentLevel(nms_Enchantment_looting.$effectId, $par1DamageSource.$getHeldItem()); } if (!$this.$isChild()) { g: { $var2 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; $var3 = $rt_s(1263); $par1DamageSource = $rt_s(1263); if ($var3 !== $par1DamageSource) { var$5 = $var3.$nativeString.length; var$6 = $par1DamageSource.$nativeString.length; if (var$5 < var$6) var$6 = var$5; $var5 = 0; a: { while (true) { if ($var5 >= var$6) { $var3.$nativeString.length; $par1DamageSource.$nativeString.length; break g; } if ($var5 < 0) break a; if ($var5 >= $var3.$nativeString.length) break a; var$8 = $var3.$nativeString.charCodeAt($var5); if ($var5 < 0) break; if ($var5 >= $par1DamageSource.$nativeString.length) break; if (var$8 - $par1DamageSource.$nativeString.charCodeAt($var5) | 0) break g; $var5 = $var5 + 1 | 0; } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } } $par1DamageSource = $rt_s(1263); h: { b: { i: while (true) { if ($var2 === null) { $var2 = null; break h; } c: { $var3 = $var2.$key0; if ($par1DamageSource === $var3) $var5 = 0; else { var$5 = $par1DamageSource.$nativeString.length; var$6 = $var3.$nativeString.length; if (var$5 < var$6) var$6 = var$5; var$5 = 0; while (true) { if (var$5 >= var$6) { $var5 = $par1DamageSource.$nativeString.length - $var3.$nativeString.length | 0; break c; } if (var$5 < 0) break b; if (var$5 >= $par1DamageSource.$nativeString.length) break b; var$8 = $par1DamageSource.$nativeString.charCodeAt(var$5); if (var$5 < 0) break i; if (var$5 >= $var3.$nativeString.length) break i; $var5 = var$8 - $var3.$nativeString.charCodeAt(var$5) | 0; if ($var5) break; var$5 = var$5 + 1 | 0; } } } if (!$var5) break h; $var2 = $var5 >= 0 ? $var2.$right : $var2.$left; } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } $par1DamageSource = $var2 === null ? null : $var2.$value4; if ($par1DamageSource === null ? 0 : $par1DamageSource.$valueBoolean) { $var5 = $this.$recentlyHit <= 0 ? 0 : 1; $ptr = 2; continue main; } } } return; case 2: $this.$dropFewItems($var5, $var4); if ($rt_suspending()) { break main; } $var5 = $this.$recentlyHit <= 0 ? 0 : 1; $ptr = 3; case 3: $this.$dropEquipment($var5, $var4); if ($rt_suspending()) { break main; } if ($this.$recentlyHit > 0) { $par1DamageSource = $this.$rand; var$9 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$9; var$6 = Long_lo(Long_shru(var$9, 17)); while (true) { var$10 = var$6 % 200 | 0; if (((var$6 - var$10 | 0) + 199 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$9; var$6 = Long_lo(Long_shru(var$9, 17)); } $var5 = var$10 - $var4 | 0; if ($var5 < 5) { $var4 = $var5 > 0 ? 0 : 1; $ptr = 4; continue main; } } return; case 4: $this.$dropRareDrop($var4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $var2, $var3, $var4, var$5, var$6, $var5, var$8, var$9, var$10, $ptr); }, nms_EntityLivingBase_dropEquipment = ($this, $par1, $par2) => { return; }, nms_EntityLivingBase_knockBack = ($this, $par1Entity, $par2, $par3, $par5) => { let var$5, var$6, var$7, var$8, $var7, var$10, var$11, var$12; $par1Entity = $this.$rand; var$5 = Long_and(Long_add(Long_mul($par1Entity.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Entity.$seed = var$5; var$6 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$5, 22))), 27); var$7 = Long_and(Long_add(Long_mul(var$5, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Entity.$seed = var$7; var$8 = Long_toNumber(Long_add(var$6, Long_fromInt(Long_lo(Long_shru(var$7, 21))))) * 1.1102230246251565E-16; $par1Entity = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_knockbackResistance); if ($par1Entity.$field_111133_g) { $par1Entity.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($par1Entity); $par1Entity.$field_111133_g = 0; } if (var$8 >= $par1Entity.$field_111139_h) { $this.$isAirBorne = 1; $var7 = jl_Math_sqrt($par3 * $par3 + $par5 * $par5); var$10 = $this.$motionX / 2.0; $this.$motionX = var$10; var$11 = $this.$motionY / 2.0; $this.$motionY = var$11; var$12 = $this.$motionZ / 2.0; $this.$motionZ = var$12; var$8 = $var7; $this.$motionX = var$10 - $par3 / var$8 * 0.4000000059604645; $par3 = var$11 + 0.4000000059604645; $this.$motionY = $par3; $this.$motionZ = var$12 - $par5 / var$8 * 0.4000000059604645; if ($par3 > 0.4000000059604645) $this.$motionY = 0.4000000059604645; } }, nms_EntityLivingBase_getHurtSound = $this => { return $rt_s(558); }, nms_EntityLivingBase_getDeathSound = $this => { return $rt_s(558); }, nms_EntityLivingBase_dropRareDrop = ($this, $par1) => { return; }, nms_EntityLivingBase_dropFewItems = ($this, $par1, $par2) => { return; }, nms_EntityLivingBase_isOnLadder = $this => { let var$1, $var1, $var2, $var3, $var4; var$1 = $this.$posX; $var1 = var$1 | 0; if (var$1 < $var1) $var1 = $var1 - 1 | 0; var$1 = $this.$boundingBox.$minY; $var2 = var$1 | 0; if (var$1 < $var2) $var2 = $var2 - 1 | 0; var$1 = $this.$posZ; $var3 = var$1 | 0; if (var$1 < $var3) $var3 = $var3 - 1 | 0; $var4 = nms_World_getBlockId($this.$worldObj, $var1, $var2, $var3); nms_Block_$callClinit(); return $var4 != nms_Block_ladder.$blockID && $var4 != nms_Block_vine.$blockID ? 0 : 1; }, nms_EntityLivingBase_isEntityAlive = $this => { let var$1, var$2, var$3, var$4, var$5; a: { if (!$this.$isDead) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { var$3 = 1; break a; } } var$3 = 0; } return var$3; }, nms_EntityLivingBase_fall = ($this, $par1) => { let $var6, $var2, $var5, var$5, var$6, $var4, $var3, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var5 = $thread.pop();$var2 = $thread.pop();$var6 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = $this.$riddenByEntity; if ($var6 !== null) { $ptr = 1; continue main; } nms_Potion_$callClinit(); $var6 = nms_Potion_jump; $var2 = $this.$activePotionsMap; $var5 = $var6.$id1; if ($var5 >= (-128) && $var5 <= 127) { jl_Integer_ensureIntegerCache(); $var6 = jl_Integer_integerCache.data[$var5 + 128 | 0]; } else { $var6 = new jl_Integer; $var6.$value0 = $var5; } if ($var6 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { $var5 = $var6.$value0; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { var$6 = $var2.$key; if ($var6 !== var$6 && !($var6 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == $var5 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; $par1 = $par1 - 3.0 - ($var2 === null ? 0.0 : $var2.$amplifier + 1 | 0); $var4 = $par1 | 0; if ($par1 > $var4) $var4 = $var4 + 1 | 0; if ($var4 <= 0) return; if ($var4 <= 4) { $var6 = $rt_s(1288); $par1 = 1.0; $var3 = 1.0; $ptr = 2; continue main; } $var6 = $rt_s(1289); $par1 = 1.0; $var3 = 1.0; $ptr = 3; continue main; case 1: $var6.$fall($par1); if ($rt_suspending()) { break main; } nms_Potion_$callClinit(); $var6 = nms_Potion_jump; $var2 = $this.$activePotionsMap; $var5 = $var6.$id1; if ($var5 >= (-128) && $var5 <= 127) { jl_Integer_ensureIntegerCache(); $var6 = jl_Integer_integerCache.data[$var5 + 128 | 0]; } else { $var6 = new jl_Integer; $var6.$value0 = $var5; } if ($var6 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { $var5 = $var6.$value0; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { var$6 = $var2.$key; if ($var6 !== var$6 && !($var6 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == $var5 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; $par1 = $par1 - 3.0 - ($var2 === null ? 0.0 : $var2.$amplifier + 1 | 0); $var4 = $par1 | 0; if ($par1 > $var4) $var4 = $var4 + 1 | 0; if ($var4 <= 0) return; if ($var4 <= 4) { $var6 = $rt_s(1288); $par1 = 1.0; $var3 = 1.0; $ptr = 2; continue main; } $var6 = $rt_s(1289); $par1 = 1.0; $var3 = 1.0; $ptr = 3; continue main; case 2: $this.$playSound0($var6, $par1, $var3); if ($rt_suspending()) { break main; } $var6 = nms_DamageSource_fall; $par1 = $var4; $ptr = 4; continue main; case 3: $this.$playSound0($var6, $par1, $var3); if ($rt_suspending()) { break main; } $var6 = nms_DamageSource_fall; $par1 = $var4; $ptr = 4; case 4: $this.$attackEntityFrom($var6, $par1); if ($rt_suspending()) { break main; } $var6 = $this.$worldObj; var$9 = $this.$posX; var$10 = var$9 | 0; if (var$9 < var$10) var$10 = var$10 - 1 | 0; var$9 = $this.$posY - 0.20000000298023224 - $this.$yOffset; var$11 = var$9 | 0; if (var$9 < var$11) var$11 = var$11 - 1 | 0; var$9 = $this.$posZ; $var4 = var$9 | 0; if (var$9 < $var4) $var4 = $var4 - 1 | 0; $var5 = nms_World_getBlockId($var6, var$10, var$11, $var4); if ($var5 <= 0) return; nms_Block_$callClinit(); $var6 = nms_Block_blocksList.data[$var5].$stepSound; $var2 = nms_StepSound_getStepSound($var6); $par1 = $var6.$stepSoundVolume * 0.5; $var3 = $var6.$stepSoundPitch * 0.75; $ptr = 5; case 5: $this.$playSound0($var2, $par1, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var6, $var2, $var5, var$5, var$6, $var4, $var3, var$9, var$10, var$11, $ptr); }, nms_EntityLivingBase_performHurtAnimation = $this => { $this.$maxHurtTime = 10; $this.$hurtTime = 10; $this.$attackedAtYaw = 0.0; }, nms_EntityLivingBase_getTotalArmorValue = $this => { let $var1, $var2, $var3, $var4, $var5, var$6, $var6; $var1 = 0; $var2 = ($this.$getLastActiveItems()).data; $var3 = $var2.length; $var4 = 0; while ($var4 < $var3) { $var5 = $var2[$var4]; if ($var5 !== null) { nms_Item_$callClinit(); var$6 = nms_Item_itemsList.data; $var6 = $var5.$itemID; if (var$6[$var6] instanceof nms_ItemArmor) $var1 = $var1 + var$6[$var6].$damageReduceAmount | 0; } $var4 = $var4 + 1 | 0; } return $var1; }; let nms_EntityLivingBase_damageArmor = ($this, $par1) => { return; }, nms_EntityLivingBase_applyArmorCalculations = ($this, $par1DamageSource, $par2) => { let $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1DamageSource.$isUnblockable) return $par2; $var4 = $par2 * (25 - $this.$getTotalArmorValue() | 0); $ptr = 1; case 1: $this.$damageArmor($par2); if ($rt_suspending()) { break main; } $par2 = $var4 / 25.0; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, $var4, $ptr); }, nms_EntityLivingBase_applyPotionDamageCalculations = ($this, $par1DamageSource, $par2) => { let var$3, var$4, $var3, var$6, var$7, var$8, $var4; nms_Potion_$callClinit(); var$3 = nms_Potion_resistance; var$4 = $this.$activePotionsMap; $var3 = var$3.$id1; if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $var3; } if (var$3 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$3.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$3 !== var$8 && !(var$3 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } $var3 = var$4 === null ? 0 : 1; if ($var3 && $par1DamageSource !== nms_DamageSource_outOfWorld) { var$3 = nms_Potion_resistance; var$4 = $this.$activePotionsMap; $var4 = var$3.$id1; if ($var4 >= (-128) && $var4 <= 127) { jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { var$8 = new jl_Integer; var$8.$value0 = $var4; } if (var$8 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$8.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$3 = var$4.$key; if (var$8 !== var$3 && !(var$8 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } $par2 = $par2 * (25 - (((var$4 === null ? null : var$4.$value1).$amplifier + 1 | 0) * 5 | 0) | 0) / 25.0; } if ($par2 <= 0.0) return 0.0; $var3 = nms_EnchantmentHelper_getEnchantmentModifierDamage($this.$getLastActiveItems(), $par1DamageSource); if ($var3 > 20) $var3 = 20; if ($var3 > 0 && $var3 <= 20) $par2 = $par2 * (25 - $var3 | 0) / 25.0; return $par2; }, nms_EntityLivingBase_damageEntity = ($this, $par1DamageSource, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$invulnerable) { if (!$par1DamageSource.$isUnblockable) { var$3 = $par2 * (25 - $this.$getTotalArmorValue() | 0); $ptr = 1; continue main; } $par2 = $this.$applyPotionDamageCalculations($par1DamageSource, $par2); var$4 = jl_Math_maxImpl($par2 - $this.$getAbsorptionAmount(), 0.0); $this.$setAbsorptionAmount($this.$getAbsorptionAmount() - ($par2 - var$4)); if (var$4 !== 0.0) { var$5 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[134]; if (var$6 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$7 = var$6.$value0; var$8 = var$5.$elementData.data; var$5 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$7) { var$9 = var$5.$key; if (var$6 !== var$9 && !(var$6 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$3 = (var$5 === null ? null : var$5.$value1).$watchedObject.$value3; $par2 = var$3 - var$4; var$5 = $this.$dataWatcher; var$10 = 0.0; var$6 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_maxHealth); if (var$6.$field_111133_g) { var$6.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$6); var$6.$field_111133_g = 0; } var$11 = var$6.$field_111139_h; if ($par2 >= var$10) var$10 = $par2 <= var$11 ? $par2 : var$11; var$12 = new jl_Float; var$12.$value3 = var$10; var$6 = var$5.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[134]; if (var$13 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$14 = var$13.$value0; var$8 = var$6.$elementData.data; var$6 = var$8[var$14 & (var$8.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$14) { var$9 = var$6.$key; if (var$13 !== var$9 && !(var$13 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$14 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$9 = var$6 === null ? null : var$6.$value1; var$6 = var$9.$watchedObject; if (var$12 === var$6) var$7 = 1; else a: { if (var$6 instanceof jl_Float) { $par2 = var$12.$value3; var$10 = var$6.$value3; if ($par2 !== $par2 ? (var$10 === var$10 ? 0 : 1) : $rt_floatToRawIntBits($par2) != $rt_floatToRawIntBits(var$10) ? 0 : 1) { var$7 = 1; break a; } } var$7 = 0; } if (!var$7) { var$9.$watchedObject = var$12; var$9.$watched = 1; var$5.$objectChanged = 1; } var$6 = $this.$_combatTracker; nms_CombatTracker_func_94549_h(var$6); nms_CombatTracker_func_94545_a(var$6); var$5 = new nms_CombatEntry; var$9 = var$6.$fighter; var$7 = var$9.$ticksExisted; var$12 = var$6.$field_94551_f; $par2 = var$9.$fallDistance; var$5.$damageSrc = $par1DamageSource; var$5.$field_94567_b = var$7; var$5.$field_94568_c = var$4; var$5.$field_94565_d = var$3; var$5.$field_94566_e = var$12; var$5.$field_94564_f = $par2; $par1DamageSource = var$6.$field_94556_a; ju_ArrayList_ensureCapacity($par1DamageSource, $par1DamageSource.$size0 + 1 | 0); var$8 = $par1DamageSource.$array.data; var$15 = $par1DamageSource.$size0; $par1DamageSource.$size0 = var$15 + 1 | 0; var$8[var$15] = var$5; $par1DamageSource.$modCount = $par1DamageSource.$modCount + 1 | 0; var$6.$field_94555_c = var$6.$fighter.$ticksExisted; var$6.$field_94553_e = 1; var$6.$field_94552_d = var$6.$field_94552_d | var$5.$damageSrc.$getEntity() instanceof nms_EntityLivingBase; $this.$setAbsorptionAmount($this.$getAbsorptionAmount() - var$4); } } return; case 1: $this.$damageArmor($par2); if ($rt_suspending()) { break main; } $par2 = var$3 / 25.0; $par2 = $this.$applyPotionDamageCalculations($par1DamageSource, $par2); var$4 = jl_Math_maxImpl($par2 - $this.$getAbsorptionAmount(), 0.0); $this.$setAbsorptionAmount($this.$getAbsorptionAmount() - ($par2 - var$4)); if (var$4 !== 0.0) { var$5 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[134]; if (var$6 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$7 = var$6.$value0; var$8 = var$5.$elementData.data; var$5 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$7) { var$9 = var$5.$key; if (var$6 !== var$9 && !(var$6 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$3 = (var$5 === null ? null : var$5.$value1).$watchedObject.$value3; $par2 = var$3 - var$4; var$5 = $this.$dataWatcher; var$10 = 0.0; var$6 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_maxHealth); if (var$6.$field_111133_g) { var$6.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$6); var$6.$field_111133_g = 0; } var$11 = var$6.$field_111139_h; if ($par2 >= var$10) var$10 = $par2 <= var$11 ? $par2 : var$11; var$12 = new jl_Float; var$12.$value3 = var$10; var$6 = var$5.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[134]; if (var$13 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$14 = var$13.$value0; var$8 = var$6.$elementData.data; var$6 = var$8[var$14 & (var$8.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$14) { var$9 = var$6.$key; if (var$13 !== var$9 && !(var$13 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$14 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$9 = var$6 === null ? null : var$6.$value1; var$6 = var$9.$watchedObject; if (var$12 === var$6) var$7 = 1; else b: { if (var$6 instanceof jl_Float) { $par2 = var$12.$value3; var$10 = var$6.$value3; if ($par2 !== $par2 ? (var$10 === var$10 ? 0 : 1) : $rt_floatToRawIntBits($par2) != $rt_floatToRawIntBits(var$10) ? 0 : 1) { var$7 = 1; break b; } } var$7 = 0; } if (!var$7) { var$9.$watchedObject = var$12; var$9.$watched = 1; var$5.$objectChanged = 1; } var$6 = $this.$_combatTracker; nms_CombatTracker_func_94549_h(var$6); nms_CombatTracker_func_94545_a(var$6); var$5 = new nms_CombatEntry; var$9 = var$6.$fighter; var$7 = var$9.$ticksExisted; var$12 = var$6.$field_94551_f; $par2 = var$9.$fallDistance; var$5.$damageSrc = $par1DamageSource; var$5.$field_94567_b = var$7; var$5.$field_94568_c = var$4; var$5.$field_94565_d = var$3; var$5.$field_94566_e = var$12; var$5.$field_94564_f = $par2; $par1DamageSource = var$6.$field_94556_a; ju_ArrayList_ensureCapacity($par1DamageSource, $par1DamageSource.$size0 + 1 | 0); var$8 = $par1DamageSource.$array.data; var$15 = $par1DamageSource.$size0; $par1DamageSource.$size0 = var$15 + 1 | 0; var$8[var$15] = var$5; $par1DamageSource.$modCount = $par1DamageSource.$modCount + 1 | 0; var$6.$field_94555_c = var$6.$fighter.$ticksExisted; var$6.$field_94553_e = 1; var$6.$field_94552_d = var$6.$field_94552_d | var$5.$damageSrc.$getEntity() instanceof nms_EntityLivingBase; $this.$setAbsorptionAmount($this.$getAbsorptionAmount() - var$4); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_EntityLivingBase_func_110142_aN = $this => { return $this.$_combatTracker; }, nms_EntityLivingBase_func_94060_bK = $this => { let var$1; if (nms_CombatTracker_func_94550_c($this.$_combatTracker) !== null) var$1 = nms_CombatTracker_func_94550_c($this.$_combatTracker); else { var$1 = $this.$attackingPlayer; if (var$1 === null) { var$1 = $this.$entityLivingToAttack; if (var$1 === null) var$1 = null; } } return var$1; }, nms_EntityLivingBase_getMaxHealth = $this => { let var$1; var$1 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_maxHealth); if (var$1.$field_111133_g) { var$1.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$1); var$1.$field_111133_g = 0; } return var$1.$field_111139_h; }, nms_EntityLivingBase_getArmSwingAnimationEnd = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; nms_Potion_$callClinit(); var$1 = nms_Potion_digSpeed; var$2 = $this.$activePotionsMap; var$3 = var$1.$id1; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$3; } if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$1.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$1 !== var$6 && !(var$1 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } if (var$2 === null ? 0 : 1) { var$1 = nms_Potion_digSpeed; var$2 = $this.$activePotionsMap; var$4 = var$1.$id1; if (var$4 >= (-128) && var$4 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$4 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$4; } if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$1.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$1 !== var$6 && !(var$1 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = 6 - ((1 + (var$2 === null ? null : var$2.$value1).$amplifier | 0) * 1 | 0) | 0; } else { var$1 = nms_Potion_digSlowdown; var$2 = $this.$activePotionsMap; var$3 = var$1.$id1; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$3; } if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$1.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$1 !== var$6 && !(var$1 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) var$3 = 6; else { var$1 = nms_Potion_digSlowdown; var$2 = $this.$activePotionsMap; var$4 = var$1.$id1; if (var$4 >= (-128) && var$4 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$4 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$4; } if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$1.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$1 !== var$6 && !(var$1 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = 6 + ((1 + (var$2 === null ? null : var$2.$value1).$amplifier | 0) * 2 | 0) | 0; } } return var$3; }, nms_EntityLivingBase_swingItem = $this => { let var$1, var$2; if (!($this.$isSwingInProgress && $this.$swingProgressInt < (nms_EntityLivingBase_getArmSwingAnimationEnd($this) / 2 | 0) && $this.$swingProgressInt >= 0)) { $this.$swingProgressInt = (-1); $this.$isSwingInProgress = 1; var$1 = $this.$worldObj; if (var$1 instanceof nms_WorldServer) { var$2 = var$1.$getEntityTracker(); var$1 = new nms_Packet18Animation; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$1.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$1.$entityId1 = $this.$entityId; var$1.$animate = 1; var$2.$sendPacketToAllPlayersTrackingEntity($this, var$1); } } }, nms_EntityLivingBase_handleHealthUpdate = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 != 2) { if ($par1 != 3) return; var$2 = $this.$getDeathSound(); var$3 = $this.$getSoundVolume(); var$4 = $this.$rand; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 24)) / 1.6777216E7; var$7 = Long_and(Long_add(Long_mul(var$5, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$7; var$8 = (var$6 - Long_lo(Long_shru(var$7, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $ptr = 3; continue main; } $this.$limbSwingAmount = 1.5; $this.$hurtResistantTime = $this.$maxHurtResistantTime; $this.$maxHurtTime = 10; $this.$hurtTime = 10; $this.$attackedAtYaw = 0.0; var$2 = $this.$getHurtSound(); var$3 = $this.$getSoundVolume(); var$4 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$7; var$8 = Long_lo(Long_shru(var$7, 24)) / 1.6777216E7; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$7; var$8 = (var$8 - Long_lo(Long_shru(var$7, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $ptr = 1; case 1: $this.$playSound0(var$2, var$3, var$8); if ($rt_suspending()) { break main; } var$2 = nms_DamageSource_generic; var$3 = 0.0; $ptr = 2; case 2: $this.$attackEntityFrom(var$2, var$3); if ($rt_suspending()) { break main; } return; case 3: $this.$playSound0(var$2, var$3, var$8); if ($rt_suspending()) { break main; } var$3 = 0.0; var$2 = $this.$dataWatcher; var$4 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_maxHealth); if (var$4.$field_111133_g) { var$4.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$4); var$4.$field_111133_g = 0; } var$8 = var$4.$field_111139_h; if (var$3 > var$8) var$3 = var$8; var$9 = new jl_Float; var$9.$value3 = var$3; var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[134]; if (var$10 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$11 = var$10.$value0; var$12 = var$4.$elementData.data; var$4 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$11) { var$13 = var$4.$key; if (var$10 !== var$13 && !(var$10 === var$13 ? 1 : var$13 instanceof jl_Integer && var$13.$value0 == var$11 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$13 = var$4 === null ? null : var$4.$value1; var$4 = var$13.$watchedObject; if (var$9 === var$4) $par1 = 1; else a: { if (var$4 instanceof jl_Float) { var$3 = var$9.$value3; var$8 = var$4.$value3; if (var$3 !== var$3 ? (var$8 === var$8 ? 0 : 1) : $rt_floatToRawIntBits(var$3) != $rt_floatToRawIntBits(var$8) ? 0 : 1) { $par1 = 1; break a; } } $par1 = 0; } if (!$par1) { var$13.$watchedObject = var$9; var$13.$watched = 1; var$2.$objectChanged = 1; } var$2 = nms_DamageSource_generic; $ptr = 4; case 4: $this.$onDeath(var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntityLivingBase_kill = $this => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = nms_DamageSource_outOfWorld; var$2 = 4.0; $ptr = 1; case 1: $this.$attackEntityFrom(var$1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); }, nms_EntityLivingBase_updateArmSwingProgress = $this => { let $var1, var$2; $var1 = nms_EntityLivingBase_getArmSwingAnimationEnd($this); if (!$this.$isSwingInProgress) $this.$swingProgressInt = 0; else { var$2 = $this.$swingProgressInt + 1 | 0; $this.$swingProgressInt = var$2; if (var$2 >= $var1) { $this.$swingProgressInt = 0; $this.$isSwingInProgress = 0; } } $this.$swingProgress = $this.$swingProgressInt / $var1; }, nms_EntityLivingBase_getEntityAttribute = ($this, $par1Attribute) => { let var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if ($par1Attribute === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = $par1Attribute.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if ($par1Attribute !== var$3 && !($par1Attribute !== var$3 ? 0 : 1) ? 0 : 1) break; } var$2 = var$2.$next3; } } return var$2 === null ? null : var$2.$value1; }, nms_EntityLivingBase_getAttributeMap = $this => { if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); return $this.$attributeMap; }, nms_EntityLivingBase_getCreatureAttribute = $this => { return nms_EnumCreatureAttribute_UNDEFINED; }, nms_EntityLivingBase_getSoundVolume = $this => { return 1.0; }, nms_EntityLivingBase_getSoundPitch = $this => { let var$1, var$2, var$3, var$4; if (!$this.$isChild()) { var$1 = $this.$rand; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 24)) / 1.6777216E7; var$4 = Long_and(Long_add(Long_mul(var$2, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$4; var$3 = (var$3 - Long_lo(Long_shru(var$4, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; } else { var$1 = $this.$rand; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 24)) / 1.6777216E7; var$4 = Long_and(Long_add(Long_mul(var$2, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$4; var$3 = (var$3 - Long_lo(Long_shru(var$4, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.5; } return var$3; }, nms_EntityLivingBase_isMovementBlocked = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$value3 > 0.0 ? 0 : 1; }, nms_EntityLivingBase_setPositionAndUpdate = ($this, $par1, $par3, $par5) => { let var$4, var$5; var$4 = $this.$rotationYaw; var$5 = $this.$rotationPitch; $this.$posX = $par1; $this.$prevPosX = $par1; $this.$lastTickPosX = $par1; $par3 = $par3 + $this.$yOffset; $this.$posY = $par3; $this.$prevPosY = $par3; $this.$lastTickPosY = $par3; $this.$posZ = $par5; $this.$prevPosZ = $par5; $this.$lastTickPosZ = $par5; $this.$rotationYaw = var$4; $this.$rotationPitch = var$5; nms_Entity_setPosition($this, $par1, $par3, $par5); }, nms_EntityLivingBase_dismountEntity = ($this, $par1Entity) => { let $var3, $var5, $var7, $var9, $var11, var$7, var$8, $var13, $var14, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $par1Entity.$posX; $var5 = $par1Entity.$boundingBox.$minY + $par1Entity.$height2; $var7 = $par1Entity.$posZ; $var9 = (-1.5); a: { while ($var9 < 2.0) { $var11 = (-1.5); while ($var11 < 2.0) { if ($var9 !== 0.0) break a; if ($var11 !== 0.0) break a; $var11 = $var11 + 1.0; } $var9 = $var9 + 1.0; } var$7 = $this.$rotationYaw; var$8 = $this.$rotationPitch; $this.$posX = $var3; $this.$prevPosX = $var3; $this.$lastTickPosX = $var3; $var5 = $var5 + $this.$yOffset; $this.$posY = $var5; $this.$prevPosY = $var5; $this.$lastTickPosY = $var5; $this.$posZ = $var7; $this.$prevPosZ = $var7; $this.$lastTickPosZ = $var7; $this.$rotationYaw = var$7; $this.$rotationPitch = var$8; nms_Entity_setPosition($this, $var3, $var5, $var7); return; } $var13 = $this.$posX + $var9 | 0; $var14 = $this.$posZ + $var11 | 0; var$11 = $this.$boundingBox; var$12 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$13 = var$11.$minX + $var9; var$14 = var$11.$minY + 1.0; var$15 = var$11.$minZ + $var11; var$16 = var$11.$maxX + $var9; var$17 = var$11.$maxY + 1.0; var$18 = var$11.$maxZ + $var11; var$19 = var$12.$nextPoolIndex; $par1Entity = var$12.$listAABB; var$20 = $par1Entity.$size0; var$21 = $rt_compare(var$19, var$20); if (var$21 >= 0) { var$11 = new nms_AxisAlignedBB; var$11.$minX = var$13; var$11.$minY = var$14; var$11.$minZ = var$15; var$11.$maxX = var$16; var$11.$maxY = var$17; var$11.$maxZ = var$18; ju_ArrayList_ensureCapacity($par1Entity, var$20 + 1 | 0); var$22 = $par1Entity.$array.data; var$21 = $par1Entity.$size0; $par1Entity.$size0 = var$21 + 1 | 0; var$22[var$21] = var$11; $par1Entity.$modCount = $par1Entity.$modCount + 1 | 0; } else if (var$19 >= 0 && var$21 < 0) { var$11 = $par1Entity.$array.data[var$19]; var$11.$minX = var$13; var$11.$minY = var$14; var$11.$minZ = var$15; var$11.$maxX = var$16; var$11.$maxY = var$17; var$11.$maxZ = var$18; } else { $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Entity); $rt_throw($par1Entity); } var$12.$nextPoolIndex = var$12.$nextPoolIndex + 1 | 0; $par1Entity = $this.$worldObj; $ptr = 1; case 1: $tmp = nms_World_getCollidingBlockBounds($par1Entity, var$11); if ($rt_suspending()) { break main; } $par1Entity = $tmp; var$19 = $par1Entity.$size0 ? 0 : 1; b: { if (var$19) { var$11 = $this.$worldObj; var$19 = $this.$posY | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid(var$11, nms_Block_blocksList.data[nms_World_getBlockId(var$11, $var13, var$19, $var14)], nms_World_getBlockMetadata(var$11, $var13, var$19, $var14))) { $var3 = $this.$posX + $var9; $var5 = $this.$posY + 1.0; var$13 = $this.$posZ + $var11; var$7 = $this.$rotationYaw; var$8 = $this.$rotationPitch; $this.$posX = $var3; $this.$prevPosX = $var3; $this.$lastTickPosX = $var3; $var5 = $var5 + $this.$yOffset; $this.$posY = $var5; $this.$prevPosY = $var5; $this.$lastTickPosY = $var5; $this.$posZ = var$13; $this.$prevPosZ = var$13; $this.$lastTickPosZ = var$13; $this.$rotationYaw = var$7; $this.$rotationPitch = var$8; nms_Entity_setPosition($this, $var3, $var5, var$13); return; } $par1Entity = $this.$worldObj; var$19 = ($this.$posY | 0) - 1 | 0; if (!nms_World_isBlockTopFacingSurfaceSolid($par1Entity, nms_Block_blocksList.data[nms_World_getBlockId($par1Entity, $var13, var$19, $var14)], nms_World_getBlockMetadata($par1Entity, $var13, var$19, $var14))) { var$19 = nms_World_getBlockId($this.$worldObj, $var13, ($this.$posY | 0) - 1 | 0, $var14); if (!var$19) { nms_Material_$callClinit(); var$11 = nms_Material_air; } else var$11 = nms_Block_blocksList.data[var$19].$blockMaterial; nms_Material_$callClinit(); if (var$11 !== nms_Material_water) break b; } $var3 = $this.$posX + $var9; $var5 = $this.$posY + 1.0; $var7 = $this.$posZ + $var11; } } c: { d: while (true) { $var11 = $var11 + 1.0; while ($var11 >= 2.0) { $var9 = $var9 + 1.0; if ($var9 >= 2.0) break d; $var11 = (-1.5); } if ($var9 !== 0.0) break c; if ($var11 !== 0.0) break c; } var$7 = $this.$rotationYaw; var$8 = $this.$rotationPitch; $this.$posX = $var3; $this.$prevPosX = $var3; $this.$lastTickPosX = $var3; $var5 = $var5 + $this.$yOffset; $this.$posY = $var5; $this.$prevPosY = $var5; $this.$lastTickPosY = $var5; $this.$posZ = $var7; $this.$prevPosZ = $var7; $this.$lastTickPosZ = $var7; $this.$rotationYaw = var$7; $this.$rotationPitch = var$8; nms_Entity_setPosition($this, $var3, $var5, $var7); return; } $var13 = $this.$posX + $var9 | 0; $var14 = $this.$posZ + $var11 | 0; var$11 = $this.$boundingBox; var$12 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$13 = var$11.$minX + $var9; var$14 = var$11.$minY + 1.0; var$15 = var$11.$minZ + $var11; var$16 = var$11.$maxX + $var9; var$17 = var$11.$maxY + 1.0; var$18 = var$11.$maxZ + $var11; var$19 = var$12.$nextPoolIndex; $par1Entity = var$12.$listAABB; var$20 = $par1Entity.$size0; var$21 = $rt_compare(var$19, var$20); if (var$21 >= 0) { var$11 = new nms_AxisAlignedBB; var$11.$minX = var$13; var$11.$minY = var$14; var$11.$minZ = var$15; var$11.$maxX = var$16; var$11.$maxY = var$17; var$11.$maxZ = var$18; ju_ArrayList_ensureCapacity($par1Entity, var$20 + 1 | 0); var$22 = $par1Entity.$array.data; var$21 = $par1Entity.$size0; $par1Entity.$size0 = var$21 + 1 | 0; var$22[var$21] = var$11; $par1Entity.$modCount = $par1Entity.$modCount + 1 | 0; } else if (var$19 >= 0 && var$21 < 0) { var$11 = $par1Entity.$array.data[var$19]; var$11.$minX = var$13; var$11.$minY = var$14; var$11.$minZ = var$15; var$11.$maxX = var$16; var$11.$maxY = var$17; var$11.$maxZ = var$18; } else { $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Entity); $rt_throw($par1Entity); } var$12.$nextPoolIndex = var$12.$nextPoolIndex + 1 | 0; $par1Entity = $this.$worldObj; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $var3, $var5, $var7, $var9, $var11, var$7, var$8, $var13, $var14, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr); }, nms_EntityLivingBase_getItemIcon = ($this, $par1ItemStack, $par2) => { nms_Item_$callClinit(); return nms_Item_itemsList.data[$par1ItemStack.$itemID].$getIconFromDamage($par1ItemStack.$itemDamage); }, nms_EntityLivingBase_jump = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, $var1, var$9; $this.$motionY = 0.41999998688697815; nms_Potion_$callClinit(); var$1 = nms_Potion_jump; var$2 = $this.$activePotionsMap; var$3 = var$1.$id1; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$3; } if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$1.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$1 !== var$6 && !(var$1 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } if (var$2 === null ? 0 : 1) { var$7 = $this.$motionY; var$1 = nms_Potion_jump; var$2 = $this.$activePotionsMap; var$3 = var$1.$id1; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$3; } if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$1.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$1 !== var$6 && !(var$1 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } $this.$motionY = var$7 + ((var$2 === null ? null : var$2.$value1).$amplifier + 1 | 0) * 0.10000000149011612; } if (nms_Entity_getFlag($this, 3)) { $var1 = $this.$rotationYaw * 0.01745329238474369; var$7 = $this.$motionX; var$5 = nms_MathHelper_SIN_TABLE.data; var$9 = $var1 * 10430.3779296875; $this.$motionX = var$7 - var$5[(var$9 | 0) & 65535] * 0.20000000298023224; $this.$motionZ = $this.$motionZ + var$5[(var$9 + 16384.0 | 0) & 65535] * 0.20000000298023224; } $this.$isAirBorne = 1; }, nms_EntityLivingBase_moveEntityWithHeading = ($this, $par1, $par2) => { let $var3, var$4, $var10, $var4, $var6, var$8, $var8, $var9, $var7, var$12, var$13, $var12, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var7 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var10 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($this.$isInWater()) { if (!($this instanceof nms_EntityPlayer)) break a; if (!$this.$capabilities.$isFlying) break a; } b: { if ($this.$handleLavaMovement()) { if (!($this instanceof nms_EntityPlayer)) break b; if (!$this.$capabilities.$isFlying) break b; } $var3 = 0.9100000262260437; if ($this.$onGround) { $var3 = 0.546000063419342; var$4 = $this.$worldObj; $var10 = $this.$posX; $var4 = $var10 | 0; if ($var10 < $var4) $var4 = $var4 - 1 | 0; $var10 = $this.$boundingBox.$minY; $var6 = $var10 | 0; if ($var10 < $var6) $var6 = $var6 - 1 | 0; $var6 = $var6 - 1 | 0; $var10 = $this.$posZ; var$8 = $var10 | 0; if ($var10 < var$8) var$8 = var$8 - 1 | 0; $var4 = nms_World_getBlockId(var$4, $var4, $var6, var$8); if ($var4 > 0) { nms_Block_$callClinit(); $var3 = nms_Block_blocksList.data[$var4].$slipperiness * 0.9100000262260437; } } $var8 = 0.16277135908603668 / ($var3 * $var3 * $var3); nms_Entity_moveFlying($this, $par1, $par2, !$this.$onGround ? $this.$jumpMovementFactor : $this.$getAIMoveSpeed() * $var8); $par1 = 0.9100000262260437; if ($this.$onGround) { $par1 = 0.546000063419342; var$4 = $this.$worldObj; $var9 = $this.$posX; var$8 = $var9 | 0; if ($var9 < var$8) var$8 = var$8 - 1 | 0; $var9 = $this.$boundingBox.$minY; $var6 = $var9 | 0; if ($var9 < $var6) $var6 = $var6 - 1 | 0; $var7 = $var6 - 1 | 0; $var9 = $this.$posZ; $var4 = $var9 | 0; if ($var9 < $var4) $var4 = $var4 - 1 | 0; $var6 = nms_World_getBlockId(var$4, var$8, $var7, $var4); if ($var6 > 0) { nms_Block_$callClinit(); $par1 = nms_Block_blocksList.data[$var6].$slipperiness * 0.9100000262260437; } } if ($this.$isOnLadder()) { if ($this.$motionX < (-0.15000000596046448)) $this.$motionX = (-0.15000000596046448); if ($this.$motionX > 0.15000000596046448) $this.$motionX = 0.15000000596046448; if ($this.$motionZ < (-0.15000000596046448)) $this.$motionZ = (-0.15000000596046448); if ($this.$motionZ > 0.15000000596046448) $this.$motionZ = 0.15000000596046448; $this.$fallDistance = 0.0; if ($this.$motionY < (-0.15)) $this.$motionY = (-0.15); if (($this.$isSneaking() && $this instanceof nms_EntityPlayer ? 1 : 0) && $this.$motionY < 0.0) $this.$motionY = 0.0; } $var9 = $this.$motionX; $var10 = $this.$motionY; var$12 = $this.$motionZ; $ptr = 5; continue main; } $var9 = $this.$posY; nms_Entity_moveFlying($this, $par1, $par2, 0.019999999552965164); $var10 = $this.$motionX; var$12 = $this.$motionY; var$13 = $this.$motionZ; $ptr = 1; continue main; } $var9 = $this.$posY; nms_Entity_moveFlying($this, $par1, $par2, !$this.$isAIEnabled() ? 0.019999999552965164 : 0.03999999910593033); $var10 = $this.$motionX; var$12 = $this.$motionY; var$13 = $this.$motionZ; $ptr = 3; continue main; case 1: nms_Entity_moveEntity($this, $var10, var$12, var$13); if ($rt_suspending()) { break main; } $var10 = $this.$motionX * 0.5; $this.$motionX = $var10; var$12 = $this.$motionY * 0.5; $this.$motionY = var$12; var$13 = $this.$motionZ * 0.5; $this.$motionZ = var$13; var$12 = var$12 - 0.02; $this.$motionY = var$12; if (!$this.$isCollidedHorizontally) { $this.$prevLimbSwingAmount = $this.$limbSwingAmount; $var9 = $this.$posX - $this.$prevPosX; $var10 = $this.$posZ - $this.$prevPosZ; $var12 = jl_Math_sqrt($var9 * $var9 + $var10 * $var10) * 4.0; if ($var12 > 1.0) $var12 = 1.0; $par1 = $this.$limbSwingAmount; $par1 = $par1 + ($var12 - $par1) * 0.4000000059604645; $this.$limbSwingAmount = $par1; $this.$limbSwing = $this.$limbSwing + $par1; return; } $var9 = var$12 + 0.6000000238418579 - $this.$posY + $var9; $ptr = 2; case 2: $tmp = nms_Entity_isOffsetPositionInLiquid($this, $var10, $var9, var$13); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7) $this.$motionY = 0.30000001192092896; $this.$prevLimbSwingAmount = $this.$limbSwingAmount; $var9 = $this.$posX - $this.$prevPosX; $var10 = $this.$posZ - $this.$prevPosZ; $var12 = jl_Math_sqrt($var9 * $var9 + $var10 * $var10) * 4.0; if ($var12 > 1.0) $var12 = 1.0; $par1 = $this.$limbSwingAmount; $par1 = $par1 + ($var12 - $par1) * 0.4000000059604645; $this.$limbSwingAmount = $par1; $this.$limbSwing = $this.$limbSwing + $par1; return; case 3: nms_Entity_moveEntity($this, $var10, var$12, var$13); if ($rt_suspending()) { break main; } $var10 = $this.$motionX * 0.800000011920929; $this.$motionX = $var10; var$12 = $this.$motionY * 0.800000011920929; $this.$motionY = var$12; var$13 = $this.$motionZ * 0.800000011920929; $this.$motionZ = var$13; var$12 = var$12 - 0.02; $this.$motionY = var$12; if (!$this.$isCollidedHorizontally) { $this.$prevLimbSwingAmount = $this.$limbSwingAmount; $var9 = $this.$posX - $this.$prevPosX; $var10 = $this.$posZ - $this.$prevPosZ; $var12 = jl_Math_sqrt($var9 * $var9 + $var10 * $var10) * 4.0; if ($var12 > 1.0) $var12 = 1.0; $par1 = $this.$limbSwingAmount; $par1 = $par1 + ($var12 - $par1) * 0.4000000059604645; $this.$limbSwingAmount = $par1; $this.$limbSwing = $this.$limbSwing + $par1; return; } $var9 = var$12 + 0.6000000238418579 - $this.$posY + $var9; $ptr = 4; case 4: $tmp = nms_Entity_isOffsetPositionInLiquid($this, $var10, $var9, var$13); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7) $this.$motionY = 0.30000001192092896; $this.$prevLimbSwingAmount = $this.$limbSwingAmount; $var9 = $this.$posX - $this.$prevPosX; $var10 = $this.$posZ - $this.$prevPosZ; $var12 = jl_Math_sqrt($var9 * $var9 + $var10 * $var10) * 4.0; if ($var12 > 1.0) $var12 = 1.0; $par1 = $this.$limbSwingAmount; $par1 = $par1 + ($var12 - $par1) * 0.4000000059604645; $this.$limbSwingAmount = $par1; $this.$limbSwing = $this.$limbSwing + $par1; return; case 5: nms_Entity_moveEntity($this, $var9, $var10, var$12); if ($rt_suspending()) { break main; } if ($this.$isCollidedHorizontally && $this.$isOnLadder()) $this.$motionY = 0.2; c: { var$4 = $this.$worldObj; if (var$4.$isRemote) { $var7 = $this.$posX | 0; $var6 = $this.$posZ | 0; $var4 = $var7 >> 4; $var7 = $var6 >> 4; var$4 = var$4.$chunkProvider; var$15 = var$4.$chunkMapping; var$16 = Long_or(Long_and(Long_fromInt($var4), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var7), Long_create(4294967295, 0)), 32)); $var7 = Long_lo(Long_xor(var$16, Long_shru(var$16, 32))); $var7 = $var7 ^ ($var7 >>> 20 | 0) ^ ($var7 >>> 12 | 0); $var4 = $var7 ^ ($var7 >>> 7 | 0) ^ ($var7 >>> 4 | 0); var$17 = var$15.$hashArray.data; var$15 = var$17[$var4 & (var$17.length - 1 | 0)]; d: { while (var$15 !== null) { if (Long_eq(var$15.$key1, var$16)) { var$15 = var$15.$value6; break d; } var$15 = var$15.$nextEntry0; } var$15 = null; } var$15 = var$15; if (var$15 === null) var$15 = var$4.$blankChunk; if (!var$15.$isChunkLoaded) { if ($this.$posY <= 0.0) { $this.$motionY = 0.0; break c; } $this.$motionY = (-0.1); break c; } } $this.$motionY = $this.$motionY - 0.08; } $this.$motionY = $this.$motionY * 0.9800000190734863; $var9 = $this.$motionX; $var10 = $par1; $this.$motionX = $var9 * $var10; $this.$motionZ = $this.$motionZ * $var10; $this.$prevLimbSwingAmount = $this.$limbSwingAmount; $var9 = $this.$posX - $this.$prevPosX; $var10 = $this.$posZ - $this.$prevPosZ; $var12 = jl_Math_sqrt($var9 * $var9 + $var10 * $var10) * 4.0; if ($var12 > 1.0) $var12 = 1.0; $par1 = $this.$limbSwingAmount; $par1 = $par1 + ($var12 - $par1) * 0.4000000059604645; $this.$limbSwingAmount = $par1; $this.$limbSwing = $this.$limbSwing + $par1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, $var10, $var4, $var6, var$8, $var8, $var9, $var7, var$12, var$13, $var12, var$15, var$16, var$17, $ptr); }, nms_EntityLivingBase_isAIEnabled = $this => { return 0; }, nms_EntityLivingBase_getAIMoveSpeed = $this => { return !$this.$isAIEnabled() ? 0.10000000149011612 : $this.$landMovementFactor; }, nms_EntityLivingBase_isPlayerSleeping = $this => { return 0; }, nms_EntityLivingBase_onUpdate = $this => { let $var3, $var4, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var9, $var10, $var5, $var6, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { $this.$onEntityUpdate(); if ($rt_suspending()) { break main; } if (!$this.$worldObj.$isRemote) { $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[137]; if ($var4 !== null) { $var2 = $var4.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[$var2 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var2) { var$5 = $var3.$key; if ($var4 !== var$5 && !($var4 !== var$5 ? (var$5 instanceof jl_Integer && var$5.$value0 == $var2 ? 1 : 0) : 1) ? 0 : 1) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } var$6 = ($var3 === null ? null : $var3.$value1).$watchedObject.$value2; if (var$6 > 0) { if ($this.$arrowHitTimer <= 0) $this.$arrowHitTimer = 20 * (30 - var$6 | 0) | 0; $var2 = $this.$arrowHitTimer - 1 | 0; $this.$arrowHitTimer = $var2; if ($var2 <= 0) { $var2 = var$6 - 1 | 0; $var3 = $this.$dataWatcher; $var2 = $var2 << 24 >> 24; var$7 = jl_Byte_byteCache.data[$var2 + 128 | 0]; $var4 = $var3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[137]; if (var$8 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { var$6 = var$8.$value0; var$4 = $var4.$elementData.data; $var4 = var$4[var$6 & (var$4.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$6) { var$5 = $var4.$key; if (var$8 !== var$5 && !(var$8 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } $var4 = $var4.$next3; } } var$5 = $var4 === null ? null : $var4.$value1; $var4 = var$5.$watchedObject; if (!($var4 instanceof jl_Byte && $var4.$value2 == var$7.$value2 ? 1 : 0)) { var$5.$watchedObject = var$7; var$5.$watched = 1; $var3.$objectChanged = 1; } } } $var2 = 0; while (true) { if ($var2 >= 5) break a; $var3 = $this.$previousEquipment.data[$var2]; $var4 = $this.$getCurrentItemOrArmor($var2); nms_ItemStack_$callClinit(); if (!($var4 === null && $var3 === null ? 1 : $var4 !== null && $var3 !== null ? nms_ItemStack_isItemStackEqual($var4, $var3) : 0)) { var$8 = $this.$worldObj.$getEntityTracker(); var$7 = new nms_Packet5PlayerInventory; var$9 = $this.$entityId; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$7.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$7.$entityID0 = var$9; var$7.$slot0 = $var2; if ($var4 === null) var$10 = null; else { var$10 = new nms_ItemStack; var$9 = $var4.$itemID; var$6 = $var4.$stackSize; var$11 = $var4.$itemDamage; var$10.$itemID = var$9; var$10.$stackSize = var$6; var$10.$itemDamage = var$11; if (var$11 < 0) var$10.$itemDamage = 0; var$12 = $var4.$stackTagCompound; if (var$12 !== null) { var$13 = new nms_NBTTagCompound; $var3 = var$12.$name; if ($var3 === null) $var3 = $rt_s(18); var$13.$name = $var3; $var3 = new ju_HashMap; jl_Object__init_($var3); var$9 = ju_HashMap_calculateCapacity(16); $var3.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, var$9); var$4 = var$14.data; $var3.$elementData = var$14; $var3.$loadFactor = 0.75; $var3.$threshold = var$4.length * 0.75 | 0; var$13.$tagMap = $var3; $var3 = var$12.$tagMap; if ($var3.$cachedKeySet === null) { var$5 = new ju_HashMap$1; var$5.$this$0 = $var3; $var3.$cachedKeySet = var$5; } var$15 = $var3.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); $var3 = var$12.$tagMap; if (var$16 === null) { var$17 = $var3.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { b: { if (!var$16.$hashCode1) { var$9 = 0; while (true) { if (var$9 >= var$16.$nativeString.length) break b; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$6 = var$16.$hashCode1; var$4 = $var3.$elementData.data; var$17 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == var$6) { c: { $var3 = var$17.$key; if (var$16 !== $var3) { if (var$16 === $var3) var$9 = 1; else if (!($var3 instanceof jl_String)) var$9 = 0; else { $var3 = $var3; var$9 = var$16.$nativeString !== $var3.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break c; } } var$9 = 1; } if (var$9) break; } var$17 = var$17.$next3; } } $var3 = var$17 === null ? null : var$17.$value1; $var3 = $var3.$copy(); var$5 = var$13.$tagMap; if (var$16 !== null) $var3.$name = var$16; else $var3.$name = $rt_s(18); ju_HashMap_putImpl(var$5, var$16, $var3); } var$10.$stackTagCompound = var$13; } } var$7.$itemSlot0 = var$10; var$8.$sendPacketToAllPlayersTrackingEntity($this, var$7); var$4 = $this.$previousEquipment; if ($var4 === null) $var3 = null; else { $var3 = new nms_ItemStack; var$9 = $var4.$itemID; var$6 = $var4.$stackSize; var$11 = $var4.$itemDamage; $var3.$itemID = var$9; $var3.$stackSize = var$6; $var3.$itemDamage = var$11; if (var$11 < 0) $var3.$itemDamage = 0; $var4 = $var4.$stackTagCompound; if ($var4 !== null) { var$5 = new nms_NBTTagCompound; var$8 = $var4.$name; if (var$8 === null) var$8 = $rt_s(18); var$5.$name = var$8; var$8 = new ju_HashMap; var$9 = ju_HashMap_calculateCapacity(16); var$8.$elementCount = 0; var$18 = $rt_createArray(ju_HashMap$HashEntry, var$9); var$14 = var$18.data; var$8.$elementData = var$18; var$8.$loadFactor = 0.75; var$8.$threshold = var$14.length * 0.75 | 0; var$5.$tagMap = var$8; var$8 = $var4.$tagMap; if (var$8.$cachedKeySet === null) { var$7 = new ju_HashMap$1; var$7.$this$0 = var$8; var$8.$cachedKeySet = var$7; } var$8 = var$8.$cachedKeySet.$iterator(); while (var$8.$hasNext()) { var$7 = var$8.$next(); var$10 = $var4.$tagMap; if (var$7 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { d: { if (!var$7.$hashCode1) { var$9 = 0; while (true) { if (var$9 >= var$7.$nativeString.length) break d; var$7.$hashCode1 = (31 * var$7.$hashCode1 | 0) + var$7.$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$11 = var$7.$hashCode1; var$14 = var$10.$elementData.data; var$10 = var$14[var$11 & (var$14.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$11) { e: { var$12 = var$10.$key; if (var$7 !== var$12) { if (var$7 === var$12) var$9 = 1; else if (!(var$12 instanceof jl_String)) var$9 = 0; else { var$12 = var$12; var$9 = var$7.$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break e; } } var$9 = 1; } if (var$9) break; } var$10 = var$10.$next3; } } var$10 = var$10 === null ? null : var$10.$value1; var$10 = var$10.$copy(); var$12 = var$5.$tagMap; if (var$7 !== null) var$10.$name = var$7; else var$10.$name = $rt_s(18); ju_HashMap_putImpl(var$12, var$7, var$10); } $var3.$stackTagCompound = var$5; } } var$4.data[$var2] = $var3; } $var2 = $var2 + 1 | 0; } } } $ptr = 2; case 2: $this.$onLivingUpdate(); if ($rt_suspending()) { break main; } $var9 = $this.$posX - $this.$prevPosX; $var10 = $this.$posZ - $this.$prevPosZ; $var5 = $var9 * $var9 + $var10 * $var10; $var6 = $this.$renderYawOffset; $var7 = 0.0; $this.$field_70768_au = $this.$field_110154_aX; $var8 = 0.0; if ($var5 > 0.002500000176951289) { $var8 = 1.0; $var7 = jl_Math_sqrt($var5) * 3.0; $var6 = jl_Math_atan2($var10, $var9) * 180.0 / 3.1415927410125732 - 90.0; } if ($this.$swingProgress > 0.0) $var6 = $this.$rotationYaw; if (!$this.$onGround) $var8 = 0.0; $var5 = $this.$field_110154_aX; $this.$field_110154_aX = $var5 + ($var8 - $var5) * 0.30000001192092896; $var5 = $this.$func_110146_f($var6, $var7); while (true) { $var6 = $this.$rotationYaw; $var7 = $this.$prevRotationYaw; if ($var6 - $var7 >= (-180.0)) break; $this.$prevRotationYaw = $var7 - 360.0; } while (true) { $var7 = $this.$prevRotationYaw; if ($var6 - $var7 < 180.0) break; $this.$prevRotationYaw = $var7 + 360.0; } while (true) { $var6 = $this.$renderYawOffset; $var7 = $this.$prevRenderYawOffset; if ($var6 - $var7 >= (-180.0)) break; $this.$prevRenderYawOffset = $var7 - 360.0; } while (true) { $var7 = $this.$prevRenderYawOffset; if ($var6 - $var7 < 180.0) break; $this.$prevRenderYawOffset = $var7 + 360.0; } while (true) { $var6 = $this.$rotationPitch; $var7 = $this.$prevRotationPitch; if ($var6 - $var7 >= (-180.0)) break; $this.$prevRotationPitch = $var7 - 360.0; } while (true) { $var7 = $this.$prevRotationPitch; if ($var6 - $var7 < 180.0) break; $this.$prevRotationPitch = $var7 + 360.0; } while (true) { $var6 = $this.$rotationYawHead; $var7 = $this.$prevRotationYawHead; if ($var6 - $var7 >= (-180.0)) break; $this.$prevRotationYawHead = $var7 - 360.0; } while (true) { $var7 = $this.$prevRotationYawHead; if ($var6 - $var7 < 180.0) break; $this.$prevRotationYawHead = $var7 + 360.0; } $this.$field_70764_aw = $this.$field_70764_aw + $var5; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var3, $var4, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var9, $var10, $var5, $var6, $var7, $var8, $ptr); }, nms_EntityLivingBase_func_110146_f = ($this, $par1, $par2) => { let var$3, $var3, $var4, $var5; var$3 = $this.$renderYawOffset; $var3 = ($par1 - var$3) % 360.0; if ($var3 >= 180.0) $var3 = $var3 - 360.0; if ($var3 < (-180.0)) $var3 = $var3 + 360.0; $par1 = var$3 + $var3 * 0.30000001192092896; $this.$renderYawOffset = $par1; var$3 = $this.$rotationYaw; $var4 = (var$3 - $par1) % 360.0; if ($var4 >= 180.0) $var4 = $var4 - 360.0; if ($var4 < (-180.0)) $var4 = $var4 + 360.0; $var5 = $var4 >= (-90.0) && $var4 < 90.0 ? 0 : 1; if ($var4 < (-75.0)) $var4 = (-75.0); if ($var4 >= 75.0) $var4 = 75.0; $par1 = var$3 - $var4; $this.$renderYawOffset = $par1; if ($var4 * $var4 > 2500.0) $this.$renderYawOffset = $par1 + $var4 * 0.20000000298023224; if ($var5) $par2 = $par2 * (-1.0); return $par2; }, nms_EntityLivingBase_onLivingUpdate = $this => { let var$1, $var1, $var3, var$4, $var7, $var5, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var7 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$jumpTicks; if (var$1 > 0) $this.$jumpTicks = var$1 - 1 | 0; var$1 = $this.$newPosRotationIncrements; if (var$1 > 0) { $var1 = $this.$posX; $var3 = $this.$newPosX - $var1; var$4 = var$1; $var1 = $var1 + $var3 / var$4; $var3 = $this.$posY; $var3 = $var3 + ($this.$newPosY - $var3) / var$4; $var7 = $this.$posZ; $var5 = $var7 + ($this.$newPosZ - $var7) / var$4; $var7 = $this.$newRotationYaw; var$7 = $this.$rotationYaw; $var7 = ($var7 - var$7) % 360.0; if ($var7 >= 180.0) $var7 = $var7 - 360.0; if ($var7 < (-180.0)) $var7 = $var7 + 360.0; $this.$rotationYaw = var$7 + $var7 / var$4; $var7 = $this.$rotationPitch; $this.$rotationPitch = $var7 + ($this.$newRotationPitch - $var7) / var$4; $this.$newPosRotationIncrements = var$1 - 1 | 0; nms_Entity_setPosition($this, $var1, $var3, $var5); var$8 = $this.$rotationYaw; var$9 = $this.$rotationPitch; $this.$rotationYaw = var$8 % 360.0; $this.$rotationPitch = var$9 % 360.0; } else if (!$this.$isClientWorld()) { $this.$motionX = $this.$motionX * 0.98; $this.$motionY = $this.$motionY * 0.98; $this.$motionZ = $this.$motionZ * 0.98; } if (jl_Math_absImpl($this.$motionX) < 0.005) $this.$motionX = 0.0; if (jl_Math_absImpl($this.$motionY) < 0.005) $this.$motionY = 0.0; if (jl_Math_absImpl($this.$motionZ) < 0.005) $this.$motionZ = 0.0; if ($this.$isMovementBlocked()) { $this.$isJumping = 0; $this.$moveStrafing = 0.0; $this.$moveForward = 0.0; $this.$randomYawVelocity = 0.0; } else if ($this.$isClientWorld()) { if (!$this.$isAIEnabled()) { $ptr = 1; continue main; } $ptr = 2; continue main; } if (!$this.$isJumping) $this.$jumpTicks = 0; else if (!(!$this.$isInWater() && !$this.$handleLavaMovement())) $this.$motionY = $this.$motionY + 0.03999999910593033; else if ($this.$onGround && !$this.$jumpTicks) { $this.$jump(); $this.$jumpTicks = 10; } var$8 = $this.$moveStrafing * 0.9800000190734863; $this.$moveStrafing = var$8; var$9 = $this.$moveForward * 0.9800000190734863; $this.$moveForward = var$9; $this.$randomYawVelocity = $this.$randomYawVelocity * 0.8999999761581421; $ptr = 3; continue main; case 1: $this.$updateEntityActionState(); if ($rt_suspending()) { break main; } $this.$rotationYawHead = $this.$rotationYaw; if (!$this.$isJumping) $this.$jumpTicks = 0; else if (!(!$this.$isInWater() && !$this.$handleLavaMovement())) $this.$motionY = $this.$motionY + 0.03999999910593033; else if ($this.$onGround && !$this.$jumpTicks) { $this.$jump(); $this.$jumpTicks = 10; } var$8 = $this.$moveStrafing * 0.9800000190734863; $this.$moveStrafing = var$8; var$9 = $this.$moveForward * 0.9800000190734863; $this.$moveForward = var$9; $this.$randomYawVelocity = $this.$randomYawVelocity * 0.8999999761581421; $ptr = 3; continue main; case 2: $this.$updateAITasks(); if ($rt_suspending()) { break main; } if (!$this.$isJumping) $this.$jumpTicks = 0; else if (!(!$this.$isInWater() && !$this.$handleLavaMovement())) $this.$motionY = $this.$motionY + 0.03999999910593033; else if ($this.$onGround && !$this.$jumpTicks) { $this.$jump(); $this.$jumpTicks = 10; } var$8 = $this.$moveStrafing * 0.9800000190734863; $this.$moveStrafing = var$8; var$9 = $this.$moveForward * 0.9800000190734863; $this.$moveForward = var$9; $this.$randomYawVelocity = $this.$randomYawVelocity * 0.8999999761581421; $ptr = 3; case 3: $this.$moveEntityWithHeading(var$8, var$9); if ($rt_suspending()) { break main; } if ($this.$worldObj.$isRemote) return; $ptr = 4; case 4: $this.$collideWithNearbyEntities(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, $var3, var$4, $var7, $var5, var$7, var$8, var$9, $ptr); }, nms_EntityLivingBase_updateAITasks = $this => { return; }, nms_EntityLivingBase_collideWithNearbyEntities = $this => { let $var3, $var1, var$3, var$4, var$5, var$6, var$7, var$8, $var2, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var2 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();$var3 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$worldObj; $var1 = $this.$boundingBox; var$3 = $var1.$minX - 0.20000000298023224; var$4 = $var1.$minY - 0.0; var$5 = $var1.$minZ - 0.20000000298023224; var$6 = $var1.$maxX + 0.20000000298023224; var$7 = $var1.$maxY + 0.0; var$8 = $var1.$maxZ + 0.20000000298023224; $var1 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var2 = $var1.$nextPoolIndex; var$10 = $var1.$listAABB; var$11 = var$10.$size0; var$12 = $rt_compare($var2, var$11); if (var$12 >= 0) { var$13 = new nms_AxisAlignedBB; var$13.$minX = var$3; var$13.$minY = var$4; var$13.$minZ = var$5; var$13.$maxX = var$6; var$13.$maxY = var$7; var$13.$maxZ = var$8; ju_ArrayList_ensureCapacity(var$10, var$11 + 1 | 0); var$14 = var$10.$array.data; var$11 = var$10.$size0; var$10.$size0 = var$11 + 1 | 0; var$14[var$11] = var$13; var$10.$modCount = var$10.$modCount + 1 | 0; } else if ($var2 >= 0 && var$12 < 0) { var$13 = var$10.$array.data[$var2]; var$13.$minX = var$3; var$13.$minY = var$4; var$13.$minZ = var$5; var$13.$maxX = var$6; var$13.$maxY = var$7; var$13.$maxZ = var$8; } else { $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } a: { b: { $var1.$nextPoolIndex = $var1.$nextPoolIndex + 1 | 0; $var1 = nms_World_getEntitiesWithinAABBExcludingEntity($var3, $this, var$13, null); if ($var1 !== null && !($var1.$size0 ? 0 : 1)) { $var2 = 0; while (true) { var$11 = $rt_compare($var2, $var1.$size0); if (var$11 >= 0) break b; if ($var2 < 0) break a; if (var$11 >= 0) break a; $var3 = $var1.$array.data[$var2]; if ($var3.$canBePushed()) { $ptr = 1; continue main; } $var2 = $var2 + 1 | 0; } } } return; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); case 1: $this.$collideWithEntity($var3); if ($rt_suspending()) { break main; } c: { while (true) { $var2 = $var2 + 1 | 0; var$11 = $rt_compare($var2, $var1.$size0); if (var$11 >= 0) break; if ($var2 < 0) break c; if (var$11 >= 0) break c; $var3 = $var1.$array.data[$var2]; if (!$var3.$canBePushed()) continue; else { continue main; } } return; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var3, $var1, var$3, var$4, var$5, var$6, var$7, var$8, $var2, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_EntityLivingBase_collideWithEntity = ($this, $par1Entity) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $par1Entity.$applyEntityCollision($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $ptr); }, nms_EntityLivingBase_updateRidden = $this => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Entity_updateRidden($this); if ($rt_suspending()) { break main; } $this.$field_70768_au = $this.$field_110154_aX; $this.$field_110154_aX = 0.0; $this.$fallDistance = 0.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); }, nms_EntityLivingBase_setPositionAndRotation2 = ($this, $par1, $par3, $par5, $par7, $par8, $par9) => { $this.$yOffset = 0.0; $this.$newPosX = $par1; $this.$newPosY = $par3; $this.$newPosZ = $par5; $this.$newRotationYaw = $par7; $this.$newRotationPitch = $par8; $this.$newPosRotationIncrements = $par9; }, nms_EntityLivingBase_updateAITick = $this => { return; }, nms_EntityLivingBase_setJumping = ($this, $par1) => { $this.$isJumping = $par1; }, nms_EntityLivingBase_onItemPickup = ($this, $par1Entity, $par2) => { let var$3, $var3, var$5, var$6; if (!$par1Entity.$isDead) { var$3 = $this.$worldObj; if (!var$3.$isRemote) { $var3 = var$3.$getEntityTracker(); if ($par1Entity instanceof nms_EntityItem) { var$3 = new nms_Packet22Collect; $par2 = $par1Entity.$entityId; var$5 = $this.$entityId; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$collectedEntityId = $par2; var$3.$collectorEntityId = var$5; $var3.$sendPacketToAllPlayersTrackingEntity($par1Entity, var$3); } if ($par1Entity instanceof nms_EntityArrow) { var$6 = new nms_Packet22Collect; $par2 = $par1Entity.$entityId; var$5 = $this.$entityId; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$6.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$6.$collectedEntityId = $par2; var$6.$collectorEntityId = var$5; $var3.$sendPacketToAllPlayersTrackingEntity($par1Entity, var$6); } if ($par1Entity instanceof nms_EntityXPOrb) { var$3 = new nms_Packet22Collect; $par2 = $par1Entity.$entityId; var$5 = $this.$entityId; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$collectedEntityId = $par2; var$3.$collectorEntityId = var$5; $var3.$sendPacketToAllPlayersTrackingEntity($par1Entity, var$3); } } } }, nms_EntityLivingBase_canEntityBeSeen = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$worldObj; var$3 = nms_Vec3Pool_getVecFromPool(var$2.$vecPool, $this.$posX, $this.$posY + $this.$getEyeHeight(), $this.$posZ); $par1Entity = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $par1Entity.$posX, $par1Entity.$posY + $par1Entity.$getEyeHeight(), $par1Entity.$posZ); var$4 = 0; var$5 = 0; $ptr = 1; case 1: $tmp = nms_World_rayTraceBlocks_do_do(var$2, var$3, $par1Entity, var$4, var$5); if ($rt_suspending()) { break main; } $par1Entity = $tmp; return $par1Entity !== null ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, var$2, var$3, var$4, var$5, $ptr); }, nms_EntityLivingBase_getLookVec = $this => { return nms_EntityLivingBase_getLook($this, 1.0); }, nms_EntityLivingBase_getLook = ($this, $par1) => { let var$2, $var2, $var3, $var4, $var5, $var2_0, $var6, $var7; if ($par1 === 1.0) { $par1 = -$this.$rotationYaw * 0.01745329238474369 - 3.1415927410125732; var$2 = nms_MathHelper_SIN_TABLE.data; $par1 = $par1 * 10430.3779296875; $var2 = var$2[($par1 + 16384.0 | 0) & 65535]; $var3 = var$2[($par1 | 0) & 65535]; $par1 = -$this.$rotationPitch * 0.01745329238474369 * 10430.3779296875; $var4 = -var$2[($par1 + 16384.0 | 0) & 65535]; $var5 = var$2[($par1 | 0) & 65535]; return nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $var3 * $var4, $var5, $var2 * $var4); } $var2_0 = $this.$prevRotationPitch; $var2_0 = $var2_0 + ($this.$rotationPitch - $var2_0) * $par1; $var3 = $this.$prevRotationYaw; $par1 = -($var3 + ($this.$rotationYaw - $var3) * $par1) * 0.01745329238474369 - 3.1415927410125732; var$2 = nms_MathHelper_SIN_TABLE.data; $par1 = $par1 * 10430.3779296875; $var4 = var$2[($par1 + 16384.0 | 0) & 65535]; $var5 = var$2[($par1 | 0) & 65535]; $par1 = -$var2_0 * 0.01745329238474369 * 10430.3779296875; $var6 = -var$2[($par1 + 16384.0 | 0) & 65535]; $var7 = var$2[($par1 | 0) & 65535]; return nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $var5 * $var6, $var7, $var4 * $var6); }, nms_EntityLivingBase_getSwingProgress = ($this, $par1) => { let $var2, var$3; $var2 = $this.$swingProgress; var$3 = $this.$prevSwingProgress; $var2 = $var2 - var$3; if ($var2 < 0.0) $var2 = $var2 + 1.0; return var$3 + $var2 * $par1; }, nms_EntityLivingBase_getPosition = ($this, $par1) => { let $var2, $var4, $var6, var$5; if ($par1 === 1.0) return nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX, $this.$posY, $this.$posZ); $var2 = $this.$prevPosX; $var4 = $this.$posX - $var2; $var6 = $par1; $var2 = $var2 + $var4 * $var6; $var4 = $this.$prevPosY; $var4 = $var4 + ($this.$posY - $var4) * $var6; var$5 = $this.$prevPosZ; $var6 = var$5 + ($this.$posZ - var$5) * $var6; return nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $var2, $var4, $var6); }, nms_EntityLivingBase_isClientWorld = $this => { return $this.$worldObj.$isRemote ? 0 : 1; }, nms_EntityLivingBase_canBeCollidedWith = $this => { return $this.$isDead ? 0 : 1; }, nms_EntityLivingBase_canBePushed = $this => { return $this.$isDead ? 0 : 1; }, nms_EntityLivingBase_getEyeHeight = $this => { return $this.$height2 * 0.8500000238418579; }, nms_EntityLivingBase_setBeenAttacked = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$rand; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$2, 22))), 27); var$2 = Long_and(Long_add(Long_mul(var$2, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$4 = Long_toNumber(Long_add(var$3, Long_fromInt(Long_lo(Long_shru(var$2, 21))))) * 1.1102230246251565E-16; var$1 = nms_SharedMonsterAttributes_knockbackResistance; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$5 = $this.$attributeMap.$attributes; if (var$1 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { a: { var$6 = var$1.$field_111115_a; if (!var$6.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$6.$nativeString.length) break a; var$6.$hashCode1 = (31 * var$6.$hashCode1 | 0) + var$6.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$8 = var$6.$hashCode1; var$9 = var$5.$elementData.data; var$5 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$8) { var$6 = var$5.$key; if (var$1 !== var$6 && !jl_Object_equals(var$1, var$6) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$1 = var$5 === null ? null : var$5.$value1; if (var$1.$field_111133_g) { var$1.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$1); var$1.$field_111133_g = 0; } $this.$velocityChanged = var$4 < var$1.$field_111139_h ? 0 : 1; }, nms_EntityLivingBase_setRotationYawHead = ($this, $par1) => { $this.$rotationYawHead = $par1; }, nms_EntityLivingBase_getAbsorptionAmount = $this => { return $this.$field_110151_bq; }, nms_EntityLivingBase_setAbsorptionAmount = ($this, $par1) => { if ($par1 < 0.0) $par1 = 0.0; $this.$field_110151_bq = $par1; }; let nms_EntityLivingBase_getTeam = $this => { return null; }, nms_EntityLivingBase_isOnSameTeam = ($this, $par1EntityLivingBase) => { let var$2, var$3; $par1EntityLivingBase = $par1EntityLivingBase.$getTeam(); if ($this.$getTeam() === null) var$2 = 0; else { var$3 = $this.$getTeam(); var$2 = $par1EntityLivingBase === null ? 0 : var$3 !== $par1EntityLivingBase ? 0 : 1; } return var$2; }, nms_EntityLivingBase_func_94057_bL = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[133]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject; }, nms_EntityLivingBase_func_94062_bN = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$value2 != 1 ? 0 : 1; }, nms_EntityLivingBase_isOnTeam = ($this, $par1Team) => { let var$2, var$3; if ($this.$getTeam() === null) var$2 = 0; else { var$3 = $this.$getTeam(); var$2 = $par1Team === null ? 0 : var$3 !== $par1Team ? 0 : 1; } return var$2; }, nms_EntityLivingBase__clinit_ = () => { let var$1, var$2, var$3; var$1 = nle_ProfileUUID_fromString($rt_s(1290)); nms_EntityLivingBase_sprintingSpeedBoostModifierUUID = var$1; var$2 = new nms_AttributeModifier; var$2.$isSaved = 1; var$2.$id2 = var$1; var$2.$name3 = $rt_s(1291); var$2.$amount = 0.30000001192092896; var$2.$operation = 2; if ($rt_s(1291) === $rt_s(18)) var$3 = 1; else if (!($rt_s(18) instanceof jl_String)) var$3 = 0; else { var$1 = $rt_s(18); var$3 = $rt_s(1291).$nativeString !== var$1.$nativeString ? 0 : 1; } if (!var$3) { var$2.$isSaved = 0; nms_EntityLivingBase_sprintingSpeedBoostModifier = var$2; return; } var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(1292); $rt_throw(var$1); }, nms_ICommandSender = $rt_classWithoutFields(0); function nms_EntityPlayer() { let a = this; nms_EntityLivingBase.call(a); a.$inventory = null; a.$theInventoryEnderChest = null; a.$inventoryContainer = null; a.$openContainer = null; a.$foodStats = null; a.$flyToggleTimer = 0; a.$prevCameraYaw = 0.0; a.$cameraYaw = 0.0; a.$username = null; a.$xpCooldown = 0; a.$field_71091_bM = 0.0; a.$field_71096_bN = 0.0; a.$field_71097_bO = 0.0; a.$field_71094_bP = 0.0; a.$field_71095_bQ = 0.0; a.$field_71085_bR = 0.0; a.$sleeping = 0; a.$playerLocation = null; a.$sleepTimer = 0; a.$field_71079_bU = 0.0; a.$field_71082_cx = 0.0; a.$field_71089_bV = 0.0; a.$spawnChunk = null; a.$spawnForced = 0; a.$startMinecartRidingCoordinate = null; a.$capabilities = null; a.$experienceLevel = 0; a.$experienceTotal = 0; a.$experience = 0.0; a.$itemInUse = null; a.$itemInUseCount = 0; a.$speedOnGround = 0.0; a.$speedInAir = 0.0; a.$field_82249_h = 0; a.$fishEntity = null; } let nms_EntityPlayer__init_ = ($this, $par1World, $par2Str) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; nms_EntityLivingBase__init_($this, $par1World); var$3 = new nms_InventoryPlayer; var$3.$mainInventory = $rt_createArray(nms_ItemStack, 36); var$3.$armorInventory = $rt_createArray(nms_ItemStack, 4); var$3.$player = $this; $this.$inventory = var$3; var$4 = new nms_InventoryEnderChest; var$4.$inventoryTitle = $rt_s(1293); var$4.$field_94051_e = 0; var$4.$slotsCount = 27; var$4.$inventoryContents = $rt_createArray(nms_ItemStack, 27); $this.$theInventoryEnderChest = var$4; var$4 = new nms_FoodStats; var$4.$foodLevel = 20; var$4.$foodSaturationLevel = 5.0; var$4.$prevFoodLevel = 20; $this.$foodStats = var$4; var$4 = new nms_PlayerCapabilities; var$4.$allowEdit = 1; var$4.$flySpeed = 0.05000000074505806; var$4.$walkSpeed = 0.10000000149011612; $this.$capabilities = var$4; $this.$speedOnGround = 0.10000000149011612; $this.$speedInAir = 0.019999999552965164; $this.$username = $par2Str; $par2Str = nms_ContainerPlayer__init_(var$3, $par1World.$isRemote ? 0 : 1, $this); $this.$inventoryContainer = $par2Str; $this.$openContainer = $par2Str; $this.$yOffset = 1.6200000047683716; $par1World = $par1World.$worldInfo; var$5 = $par1World.$spawnX; var$6 = $par1World.$spawnY; var$7 = $par1World.$spawnZ; var$8 = var$5 + 0.5; var$9 = var$6 + 1 | 0; var$10 = var$7 + 0.5; $this.$posX = var$8; $this.$prevPosX = var$8; $this.$lastTickPosX = var$8; var$11 = var$9 + 1.6200000047683716; $this.$posY = var$11; $this.$prevPosY = var$11; $this.$lastTickPosY = var$11; $this.$posZ = var$10; $this.$prevPosZ = var$10; $this.$lastTickPosZ = var$10; $this.$rotationYaw = 0.0; $this.$rotationPitch = 0.0; nms_Entity_setPosition($this, var$8, var$11, var$10); $this.$field_70741_aB = 180.0; $this.$fireResistance = 20; }, nms_EntityPlayer_applyEntityAttributes = $this => { let var$1, var$2; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); var$1 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_movementSpeed); if (0.10000000149011612 !== var$1.$baseValue) { var$1.$baseValue = 0.10000000149011612; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_attackDamage); if (1.0 !== var$1.$baseValue) { var$1.$baseValue = 1.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityPlayer_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 16, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 0.0; nms_DataWatcher_addObject(var$1, 17, var$2); var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 18, jl_Integer_integerCache.data[128]); }, nms_EntityPlayer_getItemInUseCount = $this => { return $this.$itemInUseCount; }, nms_EntityPlayer_isUsingItem = $this => { return $this.$itemInUse === null ? 0 : 1; }, nms_EntityPlayer_clearItemInUse = $this => { $this.$itemInUse = null; $this.$itemInUseCount = 0; if (!$this.$worldObj.$isRemote) nms_Entity_setFlag($this, 4, 0); }, nms_EntityPlayer_isBlocking = $this => { let var$1, var$2; var$1 = $this.$itemInUse; var$2 = var$1 === null ? 0 : 1; a: { if (var$2) { nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$1.$itemID].$getItemUseAction(var$1) === nms_EnumAction_block) { var$2 = 1; break a; } } var$2 = 0; } return var$2; }, nms_EntityPlayer_onUpdate = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, $var3, $var5, var$9, $var9, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();$var9 = $thread.pop();var$9 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$itemInUse; if (var$1 !== null) { $var1 = $this.$inventory; var$3 = $var1.$currentItem; $var1 = var$3 < 9 && var$3 >= 0 ? $var1.$mainInventory.data[var$3] : null; if ($var1 !== var$1) { $this.$itemInUse = null; $this.$itemInUseCount = 0; if (!$this.$worldObj.$isRemote) nms_Entity_setFlag($this, 4, 0); } else { var$4 = $this.$itemInUseCount; if (var$4 <= 25 && !(var$4 % 4 | 0)) { var$4 = 5; $ptr = 3; continue main; } var$4 = $this.$itemInUseCount - 1 | 0; $this.$itemInUseCount = var$4; if (!var$4 && !$this.$worldObj.$isRemote) { $ptr = 5; continue main; } } } var$4 = $this.$xpCooldown; if (var$4 > 0) $this.$xpCooldown = var$4 - 1 | 0; if (!$this.$sleeping) { var$3 = $this.$sleepTimer; if (var$3 > 0) { var$4 = var$3 + 1 | 0; $this.$sleepTimer = var$4; if (var$4 >= 110) $this.$sleepTimer = 0; } } else { var$4 = $this.$sleepTimer + 1 | 0; $this.$sleepTimer = var$4; if (var$4 > 100) $this.$sleepTimer = 100; var$1 = $this.$worldObj; if (!var$1.$isRemote) { $var1 = $this.$playerLocation; var$4 = nms_World_getBlockId(var$1, $var1.$posX0, $var1.$posY0, $var1.$posZ0); nms_Block_$callClinit(); if (!(var$4 != nms_Block_bed.$blockID ? 0 : 1)) { var$4 = 1; var$3 = 1; var$5 = 0; $ptr = 6; continue main; } if ($this.$worldObj.$skylightSubtracted >= 4 ? 0 : 1) { var$3 = 0; var$5 = 1; var$4 = 1; $ptr = 7; continue main; } } } $ptr = 1; case 1: nms_EntityLivingBase_onUpdate($this); if ($rt_suspending()) { break main; } if (!$this.$worldObj.$isRemote) { var$1 = $this.$openContainer; if (var$1 !== null) { $ptr = 2; continue main; } } a: { b: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break b; if (nms_Entity_getFlag($this, 0)) break b; } var$4 = 0; break a; } var$4 = 1; } if (var$4 && $this.$capabilities.$disableDamage) $this.$fire = 0; var$6 = $this.$field_71094_bP; $this.$field_71091_bM = var$6; $var3 = $this.$field_71095_bQ; $this.$field_71096_bN = $var3; $var5 = $this.$field_71085_bR; $this.$field_71097_bO = $var5; var$9 = $this.$posX; $var9 = var$9 - var$6; var$6 = $this.$posY; $var3 = var$6 - $var3; var$11 = $this.$posZ; $var5 = var$11 - $var5; if ($var9 > 10.0) { $this.$field_71094_bP = var$9; $this.$field_71091_bM = var$9; } if ($var5 > 10.0) { $this.$field_71085_bR = var$11; $this.$field_71097_bO = var$11; } if ($var3 > 10.0) { $this.$field_71095_bQ = var$6; $this.$field_71096_bN = var$6; } if ($var9 < (-10.0)) { $this.$field_71094_bP = var$9; $this.$field_71091_bM = var$9; } if ($var5 < (-10.0)) { $this.$field_71085_bR = var$11; $this.$field_71097_bO = var$11; } if ($var3 < (-10.0)) { $this.$field_71095_bQ = var$6; $this.$field_71096_bN = var$6; } $this.$field_71094_bP = $this.$field_71094_bP + $var9 * 0.25; $this.$field_71085_bR = $this.$field_71085_bR + $var5 * 0.25; $this.$field_71095_bQ = $this.$field_71095_bQ + $var3 * 0.25; nms_StatList_$callClinit(); $this.$addStat(nms_StatList_minutesPlayedStat, 1); if ($this.$ridingEntity === null) $this.$startMinecartRidingCoordinate = null; if ($this.$worldObj.$isRemote) return; var$1 = $this.$foodStats; $ptr = 8; continue main; case 2: $tmp = var$1.$canInteractWith($this); if ($rt_suspending()) { break main; } var$4 = $tmp; if (!var$4) { $ptr = 4; continue main; } a: { b: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break b; if (nms_Entity_getFlag($this, 0)) break b; } var$4 = 0; break a; } var$4 = 1; } if (var$4 && $this.$capabilities.$disableDamage) $this.$fire = 0; var$6 = $this.$field_71094_bP; $this.$field_71091_bM = var$6; $var3 = $this.$field_71095_bQ; $this.$field_71096_bN = $var3; $var5 = $this.$field_71085_bR; $this.$field_71097_bO = $var5; var$9 = $this.$posX; $var9 = var$9 - var$6; var$6 = $this.$posY; $var3 = var$6 - $var3; var$11 = $this.$posZ; $var5 = var$11 - $var5; if ($var9 > 10.0) { $this.$field_71094_bP = var$9; $this.$field_71091_bM = var$9; } if ($var5 > 10.0) { $this.$field_71085_bR = var$11; $this.$field_71097_bO = var$11; } if ($var3 > 10.0) { $this.$field_71095_bQ = var$6; $this.$field_71096_bN = var$6; } if ($var9 < (-10.0)) { $this.$field_71094_bP = var$9; $this.$field_71091_bM = var$9; } if ($var5 < (-10.0)) { $this.$field_71085_bR = var$11; $this.$field_71097_bO = var$11; } if ($var3 < (-10.0)) { $this.$field_71095_bQ = var$6; $this.$field_71096_bN = var$6; } $this.$field_71094_bP = $this.$field_71094_bP + $var9 * 0.25; $this.$field_71085_bR = $this.$field_71085_bR + $var5 * 0.25; $this.$field_71095_bQ = $this.$field_71095_bQ + $var3 * 0.25; nms_StatList_$callClinit(); $this.$addStat(nms_StatList_minutesPlayedStat, 1); if ($this.$ridingEntity === null) $this.$startMinecartRidingCoordinate = null; if ($this.$worldObj.$isRemote) return; var$1 = $this.$foodStats; $ptr = 8; continue main; case 3: nms_EntityPlayer_updateItemUse($this, $var1, var$4); if ($rt_suspending()) { break main; } var$4 = $this.$itemInUseCount - 1 | 0; $this.$itemInUseCount = var$4; if (!var$4 && !$this.$worldObj.$isRemote) { $ptr = 5; continue main; } var$4 = $this.$xpCooldown; if (var$4 > 0) $this.$xpCooldown = var$4 - 1 | 0; if (!$this.$sleeping) { var$3 = $this.$sleepTimer; if (var$3 > 0) { var$4 = var$3 + 1 | 0; $this.$sleepTimer = var$4; if (var$4 >= 110) $this.$sleepTimer = 0; } } else { var$4 = $this.$sleepTimer + 1 | 0; $this.$sleepTimer = var$4; if (var$4 > 100) $this.$sleepTimer = 100; var$1 = $this.$worldObj; if (!var$1.$isRemote) { $var1 = $this.$playerLocation; var$4 = nms_World_getBlockId(var$1, $var1.$posX0, $var1.$posY0, $var1.$posZ0); nms_Block_$callClinit(); if (!(var$4 != nms_Block_bed.$blockID ? 0 : 1)) { var$4 = 1; var$3 = 1; var$5 = 0; $ptr = 6; continue main; } if ($this.$worldObj.$skylightSubtracted >= 4 ? 0 : 1) { var$3 = 0; var$5 = 1; var$4 = 1; $ptr = 7; continue main; } } } $ptr = 1; continue main; case 4: $this.$closeScreen(); if ($rt_suspending()) { break main; } $this.$openContainer = $this.$inventoryContainer; c: { a: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break a; if (nms_Entity_getFlag($this, 0)) break a; } var$4 = 0; break c; } var$4 = 1; } if (var$4 && $this.$capabilities.$disableDamage) $this.$fire = 0; var$6 = $this.$field_71094_bP; $this.$field_71091_bM = var$6; $var3 = $this.$field_71095_bQ; $this.$field_71096_bN = $var3; $var5 = $this.$field_71085_bR; $this.$field_71097_bO = $var5; var$9 = $this.$posX; $var9 = var$9 - var$6; var$6 = $this.$posY; $var3 = var$6 - $var3; var$11 = $this.$posZ; $var5 = var$11 - $var5; if ($var9 > 10.0) { $this.$field_71094_bP = var$9; $this.$field_71091_bM = var$9; } if ($var5 > 10.0) { $this.$field_71085_bR = var$11; $this.$field_71097_bO = var$11; } if ($var3 > 10.0) { $this.$field_71095_bQ = var$6; $this.$field_71096_bN = var$6; } if ($var9 < (-10.0)) { $this.$field_71094_bP = var$9; $this.$field_71091_bM = var$9; } if ($var5 < (-10.0)) { $this.$field_71085_bR = var$11; $this.$field_71097_bO = var$11; } if ($var3 < (-10.0)) { $this.$field_71095_bQ = var$6; $this.$field_71096_bN = var$6; } $this.$field_71094_bP = $this.$field_71094_bP + $var9 * 0.25; $this.$field_71085_bR = $this.$field_71085_bR + $var5 * 0.25; $this.$field_71095_bQ = $this.$field_71095_bQ + $var3 * 0.25; nms_StatList_$callClinit(); $this.$addStat(nms_StatList_minutesPlayedStat, 1); if ($this.$ridingEntity === null) $this.$startMinecartRidingCoordinate = null; if ($this.$worldObj.$isRemote) return; var$1 = $this.$foodStats; $ptr = 8; continue main; case 5: nms_EntityPlayer_onItemUseFinish($this); if ($rt_suspending()) { break main; } var$4 = $this.$xpCooldown; if (var$4 > 0) $this.$xpCooldown = var$4 - 1 | 0; if (!$this.$sleeping) { var$3 = $this.$sleepTimer; if (var$3 > 0) { var$4 = var$3 + 1 | 0; $this.$sleepTimer = var$4; if (var$4 >= 110) $this.$sleepTimer = 0; } } else { var$4 = $this.$sleepTimer + 1 | 0; $this.$sleepTimer = var$4; if (var$4 > 100) $this.$sleepTimer = 100; var$1 = $this.$worldObj; if (!var$1.$isRemote) { $var1 = $this.$playerLocation; var$4 = nms_World_getBlockId(var$1, $var1.$posX0, $var1.$posY0, $var1.$posZ0); nms_Block_$callClinit(); if (!(var$4 != nms_Block_bed.$blockID ? 0 : 1)) { var$4 = 1; var$3 = 1; var$5 = 0; $ptr = 6; continue main; } if ($this.$worldObj.$skylightSubtracted >= 4 ? 0 : 1) { var$3 = 0; var$5 = 1; var$4 = 1; $ptr = 7; continue main; } } } $ptr = 1; continue main; case 6: nms_EntityPlayer_wakeUpPlayer($this, var$4, var$3, var$5); if ($rt_suspending()) { break main; } $ptr = 1; continue main; case 7: nms_EntityPlayer_wakeUpPlayer($this, var$3, var$5, var$4); if ($rt_suspending()) { break main; } $ptr = 1; continue main; case 8: nms_FoodStats_onUpdate(var$1, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, var$3, var$4, var$5, var$6, $var3, $var5, var$9, $var9, var$11, $ptr); }, nms_EntityPlayer_getMaxInPortalTime = $this => { return !$this.$capabilities.$disableDamage ? 80 : 0; }, nms_EntityPlayer_getPortalCooldown = $this => { return 10; }, nms_EntityPlayer_playSound = ($this, $par1Str, $par2, $par3) => { nms_World_playSoundToNearExcept($this.$worldObj, $this, $par1Str, $par2, $par3); }, nms_EntityPlayer_updateItemUse = ($this, $par1ItemStack, $par2) => { let var$3, var$4, $var5, var$6, var$7, $var3, var$9, var$10, var$11, var$12, var$13, $var4, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var4 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var3 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Item_$callClinit(); if (nms_Item_itemsList.data[$par1ItemStack.$itemID].$getItemUseAction($par1ItemStack) === nms_EnumAction_drink) { var$3 = $rt_s(1294); var$4 = 0.5; $var5 = $this.$worldObj.$rand0; var$6 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 24)) / 1.6777216E7 * 0.10000000149011612 + 0.8999999761581421; $ptr = 1; continue main; } if (nms_Item_itemsList.data[$par1ItemStack.$itemID].$getItemUseAction($par1ItemStack) !== nms_EnumAction_eat) return; $var3 = 0; var$9 = 24; var$10 = $rt_s(1287); while (true) { if ($var3 >= $par2) { $par1ItemStack = $rt_s(1295); var$3 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$4 = 0.5 + 0.5 * Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$11, 17)))), 31)); var$12 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$12; var$13 = Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$6; var$7 = (var$13 - Long_lo(Long_shru(var$6, var$9)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $ptr = 2; continue main; } var$3 = $this.$worldObj.$vecPool; $var5 = $this.$rand; var$6 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$6; $var4 = nms_Vec3Pool_getVecFromPool(var$3, (Long_lo(Long_shru(var$6, var$9)) / 1.6777216E7 - 0.5) * 0.1, jl_Math_randomImpl() * 0.1 + 0.1, 0.0); var$7 = -$this.$rotationPitch * 3.1415927410125732 / 180.0; var$15 = nms_MathHelper_SIN_TABLE.data; var$4 = var$7 * 10430.3779296875; var$7 = var$15[(var$4 + 16384.0 | 0) & 65535]; var$4 = var$15[(var$4 | 0) & 65535]; var$16 = $var4.$xCoord; var$17 = $var4.$yCoord; var$18 = var$7; var$19 = var$17 * var$18; var$20 = $var4.$zCoord; var$21 = var$4; var$19 = var$19 + var$20 * var$21; var$17 = var$20 * var$18 - var$17 * var$21; $var4.$xCoord = var$16; $var4.$yCoord = var$19; $var4.$zCoord = var$17; var$4 = -$this.$rotationYaw * 3.1415927410125732 / 180.0 * 10430.3779296875; var$7 = var$15[(var$4 + 16384.0 | 0) & 65535]; var$4 = var$15[(var$4 | 0) & 65535]; var$18 = var$7; var$20 = var$16 * var$18; var$21 = var$4; var$20 = var$20 + var$17 * var$21; var$16 = var$17 * var$18 - var$16 * var$21; $var4.$xCoord = var$20; $var4.$yCoord = var$19; $var4.$zCoord = var$16; $var5 = $this.$worldObj.$vecPool; var$3 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$12; var$16 = (Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7 - 0.5) * 0.3; var$6 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$6; $var5 = nms_Vec3Pool_getVecFromPool($var5, var$16, -(Long_lo(Long_shru(var$6, var$9)) / 1.6777216E7) * 0.6 - 0.3, 0.6); var$4 = -$this.$rotationPitch * 3.1415927410125732 / 180.0; var$15 = nms_MathHelper_SIN_TABLE.data; var$4 = var$4 * 10430.3779296875; var$7 = var$15[(var$4 + 16384.0 | 0) & 65535]; var$4 = var$15[(var$4 | 0) & 65535]; var$20 = $var5.$xCoord; var$16 = $var5.$yCoord; var$17 = var$7; var$18 = var$16 * var$17; var$19 = $var5.$zCoord; var$22 = var$4; var$21 = var$18 + var$19 * var$22; var$22 = var$19 * var$17 - var$16 * var$22; $var5.$xCoord = var$20; $var5.$yCoord = var$21; $var5.$zCoord = var$22; var$7 = -$this.$rotationYaw * 3.1415927410125732 / 180.0 * 10430.3779296875; var$4 = var$15[(var$7 + 16384.0 | 0) & 65535]; var$7 = var$15[(var$7 | 0) & 65535]; var$16 = var$4; var$17 = var$20 * var$16; var$18 = var$7; var$17 = var$17 + var$22 * var$18; var$16 = var$22 * var$16 - var$20 * var$18; $var5.$xCoord = var$17; $var5.$yCoord = var$21; $var5.$zCoord = var$16; var$17 = $this.$posX; var$18 = $this.$posY + $this.$getEyeHeight(); var$19 = $this.$posZ; var$23 = nms_Vec3Pool_getVecFromPool($var5.$myVec3LocalPool, $var5.$xCoord + var$17, $var5.$yCoord + var$18, $var5.$zCoord + var$19); var$24 = $this.$worldObj; var$25 = nms_Item_itemsList.data[$par1ItemStack.$itemID].$itemID0; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$10); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$25, 10); $var5 = new jl_String; var$15 = var$3.$buffer; var$26 = var$15.data; var$27 = var$3.$length0; var$25 = var$26.length; if (var$27 < 0) break; if (var$27 > (var$25 - 0 | 0)) break; $var5.$nativeString = $rt_charArrayToString(var$15.data, 0, var$27); var$20 = var$23.$xCoord; var$21 = var$23.$yCoord; var$16 = var$23.$zCoord; var$17 = $var4.$xCoord; var$18 = $var4.$yCoord + 0.05; var$19 = $var4.$zCoord; var$28 = 0; var$3 = var$24.$worldAccesses; var$27 = $rt_compare(var$28, var$3.$size0); if (var$27 < 0) { if (var$28 >= 0 && var$27 < 0) { var$3 = var$3.$array.data[var$28]; $ptr = 3; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $var3 = $var3 + 1 | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); case 1: $this.$playSound0(var$3, var$4, var$7); if ($rt_suspending()) { break main; } if (nms_Item_itemsList.data[$par1ItemStack.$itemID].$getItemUseAction($par1ItemStack) !== nms_EnumAction_eat) return; $var3 = 0; var$9 = 24; var$10 = $rt_s(1287); while (true) { if ($var3 >= $par2) { $par1ItemStack = $rt_s(1295); var$3 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$4 = 0.5 + 0.5 * Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$11, 17)))), 31)); var$12 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$12; var$13 = Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$6; var$7 = (var$13 - Long_lo(Long_shru(var$6, var$9)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $ptr = 2; continue main; } var$3 = $this.$worldObj.$vecPool; $var5 = $this.$rand; var$6 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$6; $var4 = nms_Vec3Pool_getVecFromPool(var$3, (Long_lo(Long_shru(var$6, var$9)) / 1.6777216E7 - 0.5) * 0.1, jl_Math_randomImpl() * 0.1 + 0.1, 0.0); var$7 = -$this.$rotationPitch * 3.1415927410125732 / 180.0; var$15 = nms_MathHelper_SIN_TABLE.data; var$4 = var$7 * 10430.3779296875; var$7 = var$15[(var$4 + 16384.0 | 0) & 65535]; var$4 = var$15[(var$4 | 0) & 65535]; var$16 = $var4.$xCoord; var$17 = $var4.$yCoord; var$18 = var$7; var$19 = var$17 * var$18; var$20 = $var4.$zCoord; var$21 = var$4; var$19 = var$19 + var$20 * var$21; var$17 = var$20 * var$18 - var$17 * var$21; $var4.$xCoord = var$16; $var4.$yCoord = var$19; $var4.$zCoord = var$17; var$4 = -$this.$rotationYaw * 3.1415927410125732 / 180.0 * 10430.3779296875; var$7 = var$15[(var$4 + 16384.0 | 0) & 65535]; var$4 = var$15[(var$4 | 0) & 65535]; var$18 = var$7; var$20 = var$16 * var$18; var$21 = var$4; var$20 = var$20 + var$17 * var$21; var$16 = var$17 * var$18 - var$16 * var$21; $var4.$xCoord = var$20; $var4.$yCoord = var$19; $var4.$zCoord = var$16; $var5 = $this.$worldObj.$vecPool; var$3 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$12; var$16 = (Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7 - 0.5) * 0.3; var$6 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$6; $var5 = nms_Vec3Pool_getVecFromPool($var5, var$16, -(Long_lo(Long_shru(var$6, var$9)) / 1.6777216E7) * 0.6 - 0.3, 0.6); var$4 = -$this.$rotationPitch * 3.1415927410125732 / 180.0; var$15 = nms_MathHelper_SIN_TABLE.data; var$4 = var$4 * 10430.3779296875; var$7 = var$15[(var$4 + 16384.0 | 0) & 65535]; var$4 = var$15[(var$4 | 0) & 65535]; var$20 = $var5.$xCoord; var$16 = $var5.$yCoord; var$17 = var$7; var$18 = var$16 * var$17; var$19 = $var5.$zCoord; var$22 = var$4; var$21 = var$18 + var$19 * var$22; var$22 = var$19 * var$17 - var$16 * var$22; $var5.$xCoord = var$20; $var5.$yCoord = var$21; $var5.$zCoord = var$22; var$7 = -$this.$rotationYaw * 3.1415927410125732 / 180.0 * 10430.3779296875; var$4 = var$15[(var$7 + 16384.0 | 0) & 65535]; var$7 = var$15[(var$7 | 0) & 65535]; var$16 = var$4; var$17 = var$20 * var$16; var$18 = var$7; var$17 = var$17 + var$22 * var$18; var$16 = var$22 * var$16 - var$20 * var$18; $var5.$xCoord = var$17; $var5.$yCoord = var$21; $var5.$zCoord = var$16; var$17 = $this.$posX; var$18 = $this.$posY + $this.$getEyeHeight(); var$19 = $this.$posZ; var$23 = nms_Vec3Pool_getVecFromPool($var5.$myVec3LocalPool, $var5.$xCoord + var$17, $var5.$yCoord + var$18, $var5.$zCoord + var$19); var$24 = $this.$worldObj; var$25 = nms_Item_itemsList.data[$par1ItemStack.$itemID].$itemID0; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$10); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$25, 10); $var5 = new jl_String; var$15 = var$3.$buffer; var$26 = var$15.data; var$27 = var$3.$length0; var$25 = var$26.length; if (var$27 < 0) break; if (var$27 > (var$25 - 0 | 0)) break; $var5.$nativeString = $rt_charArrayToString(var$15.data, 0, var$27); var$20 = var$23.$xCoord; var$21 = var$23.$yCoord; var$16 = var$23.$zCoord; var$17 = $var4.$xCoord; var$18 = $var4.$yCoord + 0.05; var$19 = $var4.$zCoord; var$28 = 0; var$3 = var$24.$worldAccesses; var$27 = $rt_compare(var$28, var$3.$size0); if (var$27 < 0) { if (var$28 >= 0 && var$27 < 0) { var$3 = var$3.$array.data[var$28]; $ptr = 3; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $var3 = $var3 + 1 | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); case 2: $this.$playSound0($par1ItemStack, var$4, var$7); if ($rt_suspending()) { break main; } return; case 3: nms_RenderGlobal_doSpawnParticle(var$3, $var5, var$20, var$21, var$16, var$17, var$18, var$19); if ($rt_suspending()) { break main; } var$28 = var$28 + 1 | 0; while (true) { var$3 = var$24.$worldAccesses; var$27 = $rt_compare(var$28, var$3.$size0); if (var$27 < 0) { if (var$28 >= 0 && var$27 < 0) { var$3 = var$3.$array.data[var$28]; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $var3 = $var3 + 1 | 0; if ($var3 >= $par2) { $par1ItemStack = $rt_s(1295); var$3 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$4 = 0.5 + 0.5 * Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$11, 17)))), 31)); var$12 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$12; var$13 = Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$6; var$7 = (var$13 - Long_lo(Long_shru(var$6, var$9)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $ptr = 2; continue main; } var$3 = $this.$worldObj.$vecPool; $var5 = $this.$rand; var$6 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$6; $var4 = nms_Vec3Pool_getVecFromPool(var$3, (Long_lo(Long_shru(var$6, var$9)) / 1.6777216E7 - 0.5) * 0.1, jl_Math_randomImpl() * 0.1 + 0.1, 0.0); var$7 = -$this.$rotationPitch * 3.1415927410125732 / 180.0; var$15 = nms_MathHelper_SIN_TABLE.data; var$4 = var$7 * 10430.3779296875; var$7 = var$15[(var$4 + 16384.0 | 0) & 65535]; var$4 = var$15[(var$4 | 0) & 65535]; var$16 = $var4.$xCoord; var$17 = $var4.$yCoord; var$18 = var$7; var$19 = var$17 * var$18; var$20 = $var4.$zCoord; var$21 = var$4; var$19 = var$19 + var$20 * var$21; var$17 = var$20 * var$18 - var$17 * var$21; $var4.$xCoord = var$16; $var4.$yCoord = var$19; $var4.$zCoord = var$17; var$4 = -$this.$rotationYaw * 3.1415927410125732 / 180.0 * 10430.3779296875; var$7 = var$15[(var$4 + 16384.0 | 0) & 65535]; var$4 = var$15[(var$4 | 0) & 65535]; var$18 = var$7; var$20 = var$16 * var$18; var$21 = var$4; var$20 = var$20 + var$17 * var$21; var$16 = var$17 * var$18 - var$16 * var$21; $var4.$xCoord = var$20; $var4.$yCoord = var$19; $var4.$zCoord = var$16; $var5 = $this.$worldObj.$vecPool; var$3 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$12; var$16 = (Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7 - 0.5) * 0.3; var$6 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$6; $var5 = nms_Vec3Pool_getVecFromPool($var5, var$16, -(Long_lo(Long_shru(var$6, var$9)) / 1.6777216E7) * 0.6 - 0.3, 0.6); var$4 = -$this.$rotationPitch * 3.1415927410125732 / 180.0; var$15 = nms_MathHelper_SIN_TABLE.data; var$4 = var$4 * 10430.3779296875; var$7 = var$15[(var$4 + 16384.0 | 0) & 65535]; var$4 = var$15[(var$4 | 0) & 65535]; var$20 = $var5.$xCoord; var$16 = $var5.$yCoord; var$17 = var$7; var$18 = var$16 * var$17; var$19 = $var5.$zCoord; var$22 = var$4; var$21 = var$18 + var$19 * var$22; var$22 = var$19 * var$17 - var$16 * var$22; $var5.$xCoord = var$20; $var5.$yCoord = var$21; $var5.$zCoord = var$22; var$7 = -$this.$rotationYaw * 3.1415927410125732 / 180.0 * 10430.3779296875; var$4 = var$15[(var$7 + 16384.0 | 0) & 65535]; var$7 = var$15[(var$7 | 0) & 65535]; var$16 = var$4; var$17 = var$20 * var$16; var$18 = var$7; var$17 = var$17 + var$22 * var$18; var$16 = var$22 * var$16 - var$20 * var$18; $var5.$xCoord = var$17; $var5.$yCoord = var$21; $var5.$zCoord = var$16; var$17 = $this.$posX; var$18 = $this.$posY + $this.$getEyeHeight(); var$19 = $this.$posZ; var$23 = nms_Vec3Pool_getVecFromPool($var5.$myVec3LocalPool, $var5.$xCoord + var$17, $var5.$yCoord + var$18, $var5.$zCoord + var$19); var$24 = $this.$worldObj; var$25 = nms_Item_itemsList.data[$par1ItemStack.$itemID].$itemID0; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$10); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$25, 10); $var5 = new jl_String; var$15 = var$3.$buffer; var$26 = var$15.data; var$27 = var$3.$length0; var$25 = var$26.length; if (var$27 < 0) break; if (var$27 > (var$25 - 0 | 0)) break; $var5.$nativeString = $rt_charArrayToString(var$15.data, 0, var$27); var$20 = var$23.$xCoord; var$21 = var$23.$yCoord; var$16 = var$23.$zCoord; var$17 = $var4.$xCoord; var$18 = $var4.$yCoord + 0.05; var$19 = $var4.$zCoord; var$28 = 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2, var$3, var$4, $var5, var$6, var$7, $var3, var$9, var$10, var$11, var$12, var$13, $var4, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, $ptr); }, nms_EntityPlayer_onItemUseFinish = $this => { let var$1, $var1, $var2, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$itemInUse; if (var$1 === null) return; $var1 = 16; $ptr = 1; case 1: a: { nms_EntityPlayer_updateItemUse($this, var$1, $var1); if ($rt_suspending()) { break main; } var$1 = $this.$itemInUse; $var1 = var$1.$stackSize; $var2 = $this.$worldObj; nms_Item_$callClinit(); $var2 = nms_Item_itemsList.data[var$1.$itemID].$onEaten(var$1, $var2, $this); if ($var2 === $this.$itemInUse) { if ($var2 === null) break a; if ($var2.$stackSize == $var1) break a; } var$1 = $this.$inventory; var$4 = var$1.$mainInventory.data; $var1 = var$1.$currentItem; var$4[$var1] = $var2; if (!$var2.$stackSize) var$4[$var1] = null; } $this.$itemInUse = null; $this.$itemInUseCount = 0; if (!$this.$worldObj.$isRemote) nms_Entity_setFlag($this, 4, 0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, $var2, var$4, $ptr); }, nms_EntityPlayer_handleHealthUpdate = ($this, $par1) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 != 9) { $ptr = 1; continue main; } $ptr = 2; continue main; case 1: nms_EntityLivingBase_handleHealthUpdate($this, $par1); if ($rt_suspending()) { break main; } return; case 2: nms_EntityPlayer_onItemUseFinish($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $ptr); }, nms_EntityPlayer_isMovementBlocked = $this => { return nms_EntityLivingBase_getHealth($this) > 0.0 && !$this.$sleeping ? 0 : 1; }, nms_EntityPlayer_closeScreen = $this => { $this.$openContainer = $this.$inventoryContainer; }, nms_EntityPlayer_mountEntity = ($this, $par1Entity) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$ridingEntity; if (var$2 !== null && $par1Entity === null) { if ($this.$worldObj.$isRemote) { $par1Entity = $this.$ridingEntity; if ($par1Entity !== null) $par1Entity.$riddenByEntity = null; $this.$ridingEntity = null; return; } $ptr = 2; continue main; } $ptr = 1; case 1: nms_Entity_mountEntity($this, $par1Entity); if ($rt_suspending()) { break main; } return; case 2: nms_EntityLivingBase_dismountEntity($this, var$2); if ($rt_suspending()) { break main; } $par1Entity = $this.$ridingEntity; if ($par1Entity !== null) $par1Entity.$riddenByEntity = null; $this.$ridingEntity = null; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, var$2, $ptr); }, nms_EntityPlayer_updateRidden = $this => { let var$1, var$2, $var1, $var3, $var5, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj.$isRemote && $this.$isSneaking()) { var$1 = null; var$2 = $this.$ridingEntity; if (var$2 === null) { $ptr = 2; continue main; } if ($this.$worldObj.$isRemote) { var$1 = $this.$ridingEntity; if (var$1 !== null) var$1.$riddenByEntity = null; $this.$ridingEntity = null; nms_Entity_setFlag($this, 1, 0); return; } $ptr = 3; continue main; } $var1 = $this.$posX; $var3 = $this.$posY; $var5 = $this.$posZ; $var7 = $this.$rotationYaw; $var8 = $this.$rotationPitch; $ptr = 1; case 1: nms_Entity_updateRidden($this); if ($rt_suspending()) { break main; } $this.$field_70768_au = $this.$field_110154_aX; $this.$field_110154_aX = 0.0; $this.$fallDistance = 0.0; $this.$prevCameraYaw = $this.$cameraYaw; $this.$cameraYaw = 0.0; nms_EntityPlayer_addMountedMovementStat($this, $this.$posX - $var1, $this.$posY - $var3, $this.$posZ - $var5); var$1 = $this.$ridingEntity; if (var$1 instanceof nms_EntityPig) { $this.$rotationPitch = $var8; $this.$rotationYaw = $var7; $this.$renderYawOffset = var$1.$renderYawOffset; } return; case 2: nms_Entity_mountEntity($this, var$1); if ($rt_suspending()) { break main; } nms_Entity_setFlag($this, 1, 0); return; case 3: nms_EntityLivingBase_dismountEntity($this, var$2); if ($rt_suspending()) { break main; } var$1 = $this.$ridingEntity; if (var$1 !== null) var$1.$riddenByEntity = null; $this.$ridingEntity = null; nms_Entity_setFlag($this, 1, 0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $var1, $var3, $var5, $var7, $var8, $ptr); }, nms_EntityPlayer_onLivingUpdate = $this => { let $var6, $var3, $var1, $var7, $var5, var$6, var$7, var$8, var$9, var$10, $var2, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var2 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var7 = $thread.pop();$var1 = $thread.pop();$var3 = $thread.pop();$var6 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = $this.$flyToggleTimer; if ($var6 > 0) $this.$flyToggleTimer = $var6 - 1 | 0; if (!$this.$worldObj.$difficultySetting) { $var3 = nms_EntityLivingBase_getHealth($this); $var1 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_maxHealth); if ($var1.$field_111133_g) { $var1.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var1); $var1.$field_111133_g = 0; } if ($var3 < $var1.$field_111139_h) { a: { $var7 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; $var5 = $rt_s(1296); $var1 = $rt_s(1296); if ($var5 !== $var1) { var$6 = $var5.$nativeString.length; var$7 = $var1.$nativeString.length; if (var$6 < var$7) var$7 = var$6; $var6 = 0; b: { while (true) { if ($var6 >= var$7) { $var5.$nativeString.length; $var1.$nativeString.length; break a; } if ($var6 < 0) break b; if ($var6 >= $var5.$nativeString.length) break b; var$8 = $var5.$nativeString.charCodeAt($var6); if ($var6 < 0) break; if ($var6 >= $var1.$nativeString.length) break; if (var$8 - $var1.$nativeString.charCodeAt($var6) | 0) break a; $var6 = $var6 + 1 | 0; } $var1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var1); $rt_throw($var1); } $var1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var1); $rt_throw($var1); } } $var1 = $rt_s(1296); c: { d: { e: while (true) { if ($var7 === null) { $var7 = null; break c; } f: { $var5 = $var7.$key0; if ($var1 === $var5) $var6 = 0; else { var$6 = $var1.$nativeString.length; var$7 = $var5.$nativeString.length; if (var$6 < var$7) var$7 = var$6; var$6 = 0; while (true) { if (var$6 >= var$7) { $var6 = $var1.$nativeString.length - $var5.$nativeString.length | 0; break f; } if (var$6 < 0) break d; if (var$6 >= $var1.$nativeString.length) break d; var$8 = $var1.$nativeString.charCodeAt(var$6); if (var$6 < 0) break e; if (var$6 >= $var5.$nativeString.length) break e; $var6 = var$8 - $var5.$nativeString.charCodeAt(var$6) | 0; if ($var6) break; var$6 = var$6 + 1 | 0; } } } if (!$var6) break c; $var7 = $var6 >= 0 ? $var7.$right : $var7.$left; } $var1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var1); $rt_throw($var1); } $var1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var1); $rt_throw($var1); } $var1 = $var7 === null ? null : $var7.$value4; ($var1 === null ? 0 : $var1.$valueBoolean) && (($this.$ticksExisted % 20 | 0) * 12 | 0); } } nms_InventoryPlayer_decrementAnimations($this.$inventory); $this.$prevCameraYaw = $this.$cameraYaw; $ptr = 1; case 1: nms_EntityLivingBase_onLivingUpdate($this); if ($rt_suspending()) { break main; } $var1 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_movementSpeed); if (!$this.$worldObj.$isRemote) { var$9 = $this.$capabilities.$walkSpeed; if (var$9 !== $var1.$baseValue) { $var1.$baseValue = var$9; $var1.$field_111133_g = 1; $var7 = $var1.$field_111138_a; if ($var1.$field_111136_b.$shouldWatch) { $var7 = $var7.$field_111162_d; ju_HashMap_putImpl($var7.$backingMap, $var1, $var7); } } } $this.$jumpMovementFactor = $this.$speedInAir; if (nms_Entity_getFlag($this, 3)) $this.$jumpMovementFactor = $this.$jumpMovementFactor + $this.$speedInAir * 0.3; if ($var1.$field_111133_g) { $var1.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var1); $var1.$field_111133_g = 0; } $this.$landMovementFactor = $var1.$field_111139_h; var$9 = $this.$motionX; var$9 = var$9 * var$9; var$10 = $this.$motionZ; $var2 = jl_Math_sqrt(var$9 + var$10 * var$10); $var3 = jl_Math_atan( -$this.$motionY * 0.20000000298023224) * 15.0; if ($var2 > 0.10000000149011612) $var2 = 0.10000000149011612; if (!($this.$onGround && nms_EntityLivingBase_getHealth($this) > 0.0)) $var2 = 0.0; if (!(!$this.$onGround && nms_EntityLivingBase_getHealth($this) > 0.0)) $var3 = 0.0; g: { d: { var$12 = $this.$cameraYaw; $this.$cameraYaw = var$12 + ($var2 - var$12) * 0.4000000059604645; var$12 = $this.$cameraPitch; $this.$cameraPitch = var$12 + ($var3 - var$12) * 0.800000011920929; if (nms_EntityLivingBase_getHealth($this) > 0.0) { $var1 = $this.$ridingEntity; if ($var1 !== null && !$var1.$isDead) { $var7 = $this.$boundingBox; $var1 = $var1.$boundingBox; var$13 = jl_Math_minImpl0($var7.$minX, $var1.$minX); var$14 = jl_Math_minImpl0($var7.$minY, $var1.$minY); var$15 = jl_Math_minImpl0($var7.$minZ, $var1.$minZ); var$10 = jl_Math_maxImpl0($var7.$maxX, $var1.$maxX); var$16 = jl_Math_maxImpl0($var7.$maxY, $var1.$maxY); var$9 = jl_Math_maxImpl0($var7.$maxZ, $var1.$maxZ); $var5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var6 = $var5.$nextPoolIndex; $var1 = $var5.$listAABB; var$8 = $var1.$size0; var$6 = $rt_compare($var6, var$8); if (var$6 >= 0) { $var7 = new nms_AxisAlignedBB; $var7.$minX = var$13; $var7.$minY = var$14; $var7.$minZ = var$15; $var7.$maxX = var$10; $var7.$maxY = var$16; $var7.$maxZ = var$9; ju_ArrayList_ensureCapacity($var1, var$8 + 1 | 0); var$17 = $var1.$array.data; var$6 = $var1.$size0; $var1.$size0 = var$6 + 1 | 0; var$17[var$6] = $var7; $var1.$modCount = $var1.$modCount + 1 | 0; } else if ($var6 >= 0 && var$6 < 0) { $var7 = $var1.$array.data[$var6]; $var7.$minX = var$13; $var7.$minY = var$14; $var7.$minZ = var$15; $var7.$maxX = var$10; $var7.$maxY = var$16; $var7.$maxZ = var$9; } else { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } $var5.$nextPoolIndex = $var5.$nextPoolIndex + 1 | 0; var$14 = $var7.$minX - 1.0; var$13 = $var7.$minY - 0.0; var$18 = $var7.$minZ - 1.0; var$9 = $var7.$maxX + 1.0; var$10 = $var7.$maxY + 0.0; var$15 = $var7.$maxZ + 1.0; $var5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var6 = $var5.$nextPoolIndex; $var7 = $var5.$listAABB; var$8 = $var7.$size0; var$6 = $rt_compare($var6, var$8); if (var$6 >= 0) { $var1 = new nms_AxisAlignedBB; $var1.$minX = var$14; $var1.$minY = var$13; $var1.$minZ = var$18; $var1.$maxX = var$9; $var1.$maxY = var$10; $var1.$maxZ = var$15; ju_ArrayList_ensureCapacity($var7, var$8 + 1 | 0); var$17 = $var7.$array.data; var$6 = $var7.$size0; $var7.$size0 = var$6 + 1 | 0; var$17[var$6] = $var1; $var7.$modCount = $var7.$modCount + 1 | 0; } else if ($var6 >= 0 && var$6 < 0) { $var1 = $var7.$array.data[$var6]; $var1.$minX = var$14; $var1.$minY = var$13; $var1.$minZ = var$18; $var1.$maxX = var$9; $var1.$maxY = var$10; $var1.$maxZ = var$15; } else { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } $var5.$nextPoolIndex = $var5.$nextPoolIndex + 1 | 0; } else { $var1 = $this.$boundingBox; var$14 = $var1.$minX - 1.0; var$13 = $var1.$minY - 0.5; var$18 = $var1.$minZ - 1.0; var$10 = $var1.$maxX + 1.0; var$15 = $var1.$maxY + 0.5; var$9 = $var1.$maxZ + 1.0; $var5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var6 = $var5.$nextPoolIndex; $var7 = $var5.$listAABB; var$8 = $var7.$size0; var$6 = $rt_compare($var6, var$8); if (var$6 >= 0) { $var1 = new nms_AxisAlignedBB; $var1.$minX = var$14; $var1.$minY = var$13; $var1.$minZ = var$18; $var1.$maxX = var$10; $var1.$maxY = var$15; $var1.$maxZ = var$9; ju_ArrayList_ensureCapacity($var7, var$8 + 1 | 0); var$17 = $var7.$array.data; var$6 = $var7.$size0; $var7.$size0 = var$6 + 1 | 0; var$17[var$6] = $var1; $var7.$modCount = $var7.$modCount + 1 | 0; } else if ($var6 >= 0 && var$6 < 0) { $var1 = $var7.$array.data[$var6]; $var1.$minX = var$14; $var1.$minY = var$13; $var1.$minZ = var$18; $var1.$maxX = var$10; $var1.$maxY = var$15; $var1.$maxZ = var$9; } else { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } $var5.$nextPoolIndex = $var5.$nextPoolIndex + 1 | 0; } $var5 = nms_World_getEntitiesWithinAABBExcludingEntity($this.$worldObj, $this, $var1, null); if ($var5 !== null) { $var6 = 0; while (true) { var$6 = $rt_compare($var6, $var5.$size0); if (var$6 >= 0) break d; if ($var6 < 0) break g; if (var$6 >= 0) break g; $var7 = $var5.$array.data[$var6]; if (!$var7.$isDead) { $ptr = 2; continue main; } $var6 = $var6 + 1 | 0; } } } } return; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); case 2: $var7.$onCollideWithPlayer($this); if ($rt_suspending()) { break main; } h: { while (true) { $var6 = $var6 + 1 | 0; var$6 = $rt_compare($var6, $var5.$size0); if (var$6 >= 0) break; if ($var6 < 0) break h; if (var$6 >= 0) break h; $var7 = $var5.$array.data[$var6]; if ($var7.$isDead) continue; else { continue main; } } return; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var6, $var3, $var1, $var7, $var5, var$6, var$7, var$8, var$9, var$10, $var2, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityPlayer_getScore = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[146]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; }, nms_EntityPlayer_addScore = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[146]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; var$2 = $this.$dataWatcher; $par1 = var$7 + $par1 | 0; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = $par1; } var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[146]; if (var$8 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$9 = var$8.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$9 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { var$10 = var$3.$key; if (var$8 !== var$10 && !(var$8 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$10 = var$3 === null ? null : var$3.$value1; var$3 = var$10.$watchedObject; if (!(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6.$value0 ? 1 : 0)) { var$10.$watchedObject = var$6; var$10.$watched = 1; var$2.$objectChanged = 1; } }, nms_EntityPlayer_onDeath = ($this, $par1DamageSource) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLivingBase_onDeath($this, $par1DamageSource); if ($rt_suspending()) { break main; } var$2 = 0.20000000298023224; var$3 = 0.20000000298023224; $ptr = 2; case 2: nms_Entity_setSize($this, var$2, var$3); if ($rt_suspending()) { break main; } nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $this.$motionY = 0.10000000149011612; var$4 = $this.$username; if (var$4 === $rt_s(687)) var$5 = 1; else if (!($rt_s(687) instanceof jl_String)) var$5 = 0; else { var$6 = $rt_s(687); var$5 = var$4.$nativeString !== var$6.$nativeString ? 0 : 1; } if (var$5) { var$4 = new nms_ItemStack; nms_Item_$callClinit(); var$6 = nms_Item_appleRed; nms_ItemStack_$callClinit(); var$4.$itemID = var$6.$itemID0; var$4.$stackSize = 1; var$4.$itemDamage = 0; var$5 = 1; $ptr = 3; continue main; } a: { var$6 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; var$7 = $rt_s(1297); var$4 = $rt_s(1297); if (var$7 !== var$4) { var$8 = var$7.$nativeString.length; var$9 = var$4.$nativeString.length; if (var$8 < var$9) var$9 = var$8; var$5 = 0; b: { while (true) { if (var$5 >= var$9) { var$7.$nativeString.length; var$4.$nativeString.length; break a; } if (var$5 < 0) break b; if (var$5 >= var$7.$nativeString.length) break b; var$10 = var$7.$nativeString.charCodeAt(var$5); if (var$5 < 0) break; if (var$5 >= var$4.$nativeString.length) break; if (var$10 - var$4.$nativeString.charCodeAt(var$5) | 0) break a; var$5 = var$5 + 1 | 0; } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } } var$4 = $rt_s(1297); c: { d: { e: while (true) { if (var$6 === null) { var$6 = null; break c; } f: { var$7 = var$6.$key0; if (var$4 === var$7) var$5 = 0; else { var$10 = var$4.$nativeString.length; var$8 = var$7.$nativeString.length; if (var$10 < var$8) var$8 = var$10; var$10 = 0; while (true) { if (var$10 >= var$8) { var$5 = var$4.$nativeString.length - var$7.$nativeString.length | 0; break f; } if (var$10 < 0) break d; if (var$10 >= var$4.$nativeString.length) break d; var$5 = var$4.$nativeString.charCodeAt(var$10); if (var$10 < 0) break e; if (var$10 >= var$7.$nativeString.length) break e; var$5 = var$5 - var$7.$nativeString.charCodeAt(var$10) | 0; if (var$5) break; var$10 = var$10 + 1 | 0; } } } if (!var$5) break c; var$6 = var$5 >= 0 ? var$6.$right : var$6.$left; } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } var$4 = var$6 === null ? null : var$6.$value4; if (var$4 === null ? 0 : var$4.$valueBoolean) { if ($par1DamageSource === null) { $this.$motionZ = 0.0; $this.$motionX = 0.0; } else { var$3 = ($this.$attackedAtYaw + $this.$rotationYaw) * 3.1415927410125732 / 180.0; var$11 = nms_MathHelper_SIN_TABLE.data; var$12 = var$3 * 10430.3779296875; $this.$motionX = -var$11[(var$12 + 16384.0 | 0) & 65535] * 0.10000000149011612; $this.$motionZ = -var$11[(var$12 | 0) & 65535] * 0.10000000149011612; } $this.$yOffset = 0.10000000149011612; nms_StatList_$callClinit(); $this.$addStat(nms_StatList_deathsStat, 1); return; } var$4 = $this.$inventory; $ptr = 4; continue main; case 3: nms_EntityPlayer_dropPlayerItemWithRandomChoice($this, var$4, var$5); if ($rt_suspending()) { break main; } g: { var$6 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; var$7 = $rt_s(1297); var$4 = $rt_s(1297); if (var$7 !== var$4) { var$8 = var$7.$nativeString.length; var$9 = var$4.$nativeString.length; if (var$8 < var$9) var$9 = var$8; var$5 = 0; a: { while (true) { if (var$5 >= var$9) { var$7.$nativeString.length; var$4.$nativeString.length; break g; } if (var$5 < 0) break a; if (var$5 >= var$7.$nativeString.length) break a; var$10 = var$7.$nativeString.charCodeAt(var$5); if (var$5 < 0) break; if (var$5 >= var$4.$nativeString.length) break; if (var$10 - var$4.$nativeString.charCodeAt(var$5) | 0) break g; var$5 = var$5 + 1 | 0; } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } } var$4 = $rt_s(1297); h: { b: { i: while (true) { if (var$6 === null) { var$6 = null; break h; } c: { var$7 = var$6.$key0; if (var$4 === var$7) var$5 = 0; else { var$10 = var$4.$nativeString.length; var$8 = var$7.$nativeString.length; if (var$10 < var$8) var$8 = var$10; var$10 = 0; while (true) { if (var$10 >= var$8) { var$5 = var$4.$nativeString.length - var$7.$nativeString.length | 0; break c; } if (var$10 < 0) break b; if (var$10 >= var$4.$nativeString.length) break b; var$5 = var$4.$nativeString.charCodeAt(var$10); if (var$10 < 0) break i; if (var$10 >= var$7.$nativeString.length) break i; var$5 = var$5 - var$7.$nativeString.charCodeAt(var$10) | 0; if (var$5) break; var$10 = var$10 + 1 | 0; } } } if (!var$5) break h; var$6 = var$5 >= 0 ? var$6.$right : var$6.$left; } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } $par1DamageSource = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1DamageSource); $rt_throw($par1DamageSource); } var$4 = var$6 === null ? null : var$6.$value4; if (var$4 === null ? 0 : var$4.$valueBoolean) { if ($par1DamageSource === null) { $this.$motionZ = 0.0; $this.$motionX = 0.0; } else { var$3 = ($this.$attackedAtYaw + $this.$rotationYaw) * 3.1415927410125732 / 180.0; var$11 = nms_MathHelper_SIN_TABLE.data; var$12 = var$3 * 10430.3779296875; $this.$motionX = -var$11[(var$12 + 16384.0 | 0) & 65535] * 0.10000000149011612; $this.$motionZ = -var$11[(var$12 | 0) & 65535] * 0.10000000149011612; } $this.$yOffset = 0.10000000149011612; nms_StatList_$callClinit(); $this.$addStat(nms_StatList_deathsStat, 1); return; } var$4 = $this.$inventory; $ptr = 4; case 4: nms_InventoryPlayer_dropAllItems(var$4); if ($rt_suspending()) { break main; } if ($par1DamageSource === null) { $this.$motionZ = 0.0; $this.$motionX = 0.0; } else { var$3 = ($this.$attackedAtYaw + $this.$rotationYaw) * 3.1415927410125732 / 180.0; var$11 = nms_MathHelper_SIN_TABLE.data; var$12 = var$3 * 10430.3779296875; $this.$motionX = -var$11[(var$12 + 16384.0 | 0) & 65535] * 0.10000000149011612; $this.$motionZ = -var$11[(var$12 | 0) & 65535] * 0.10000000149011612; } $this.$yOffset = 0.10000000149011612; nms_StatList_$callClinit(); $this.$addStat(nms_StatList_deathsStat, 1); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_EntityPlayer_addToPlayerScore = ($this, $par1Entity, $par2) => { let $var5, $var6, $var4$index, var$6, var$7, $var3, var$9, var$10, $var4$index_0, var$12, var$13, var$14, var$15; $var5 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var6 = jl_Integer_integerCache.data[146]; if ($var6 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var4$index = $var6.$value0; var$6 = $var5.$elementData.data; $var5 = var$6[$var4$index & (var$6.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var4$index) { var$7 = $var5.$key; if ($var6 !== var$7 && !jl_Integer_equals($var6, var$7) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var4$index = ($var5 === null ? null : $var5.$value1).$watchedObject.$value0; $var5 = $this.$dataWatcher; $par2 = $var4$index + $par2 | 0; if ($par2 >= (-128) && $par2 <= 127) { jl_Integer_ensureIntegerCache(); $var6 = jl_Integer_integerCache.data[$par2 + 128 | 0]; } else { $var6 = new jl_Integer; $var6.$value0 = $par2; } var$7 = $var5.$watchedObjects; jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[146]; if ($var3 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$9 = $var3.$value0; var$6 = var$7.$elementData.data; var$7 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { var$10 = var$7.$key; if ($var3 !== var$10 && !($var3 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$10 = var$7 === null ? null : var$7.$value1; var$7 = var$10.$watchedObject; if (!($var6 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == $var6.$value0 ? 1 : 0)) { var$10.$watchedObject = $var6; var$10.$watched = 1; $var5.$objectChanged = 1; } $var6 = $this.$worldObj.$worldScoreboard; nms_ScoreObjectiveCriteria_$callClinit(); $var5 = nms_ScoreObjectiveCriteria_totalKillCount; $var6 = $var6.$field_96543_b; if ($var5 === null) { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { var$7 = $var5; if (!var$7.$id$) var$7.$id$ = $rt_nextId(); $par2 = $var5.$id$; var$6 = $var6.$elementData.data; $var6 = var$6[$par2 & (var$6.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == $par2) { var$7 = $var6.$key; if ($var5 !== var$7 && !($var5 !== var$7 ? 0 : 1) ? 0 : 1) break; } $var6 = $var6.$next3; } } $var5 = $var6 === null ? null : $var6.$value1; if ($var5 === null) { $var3 = new ju_ArrayList; $var3.$array = $rt_createArray(jl_Object, 10); } else { $var3 = new ju_ArrayList; $par2 = $var5.$size(); if ($par2 < 0) { $par1Entity = new jl_IllegalArgumentException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } $var3.$array = $rt_createArray(jl_Object, $par2); $var5 = $var5.$iterator(); $par2 = 0; while (true) { var$6 = $var3.$array.data; $var4$index = var$6.length; if ($par2 >= $var4$index) break; var$6[$par2] = $var5.$next(); $par2 = $par2 + 1 | 0; } $var3.$size0 = $var4$index; } a: { if (!($par1Entity instanceof nms_EntityPlayer)) { nms_StatList_$callClinit(); $this.$addStat(nms_StatList_mobKillsStat, 1); } else { nms_StatList_$callClinit(); $this.$addStat(nms_StatList_playerKillsStat, 1); $var5 = $this.$worldObj.$worldScoreboard; $par1Entity = nms_ScoreObjectiveCriteria_playerKillCount; $var5 = $var5.$field_96543_b; if ($par1Entity === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var6 = $par1Entity; if (!$var6.$id$) $var6.$id$ = $rt_nextId(); var$9 = $par1Entity.$id$; var$6 = $var5.$elementData.data; $var5 = var$6[var$9 & (var$6.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$9) { $var6 = $var5.$key; if ($par1Entity !== $var6 && !($par1Entity !== $var6 ? 0 : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } } $par1Entity = $var5 === null ? null : $var5.$value1; if ($par1Entity === null) { $var5 = new ju_ArrayList; $var5.$array = $rt_createArray(jl_Object, 10); } else { $var5 = new ju_ArrayList; $par2 = $par1Entity.$size(); if ($par2 < 0) { $par1Entity = new jl_IllegalArgumentException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } $var5.$array = $rt_createArray(jl_Object, $par2); $par1Entity = $par1Entity.$iterator(); $par2 = 0; while (true) { var$6 = $var5.$array.data; $var4$index = var$6.length; if ($par2 >= $var4$index) break; var$6[$par2] = $par1Entity.$next(); $par2 = $par2 + 1 | 0; } $var5.$size0 = $var4$index; } $var4$index = 0; $var4$index_0 = $var5.$modCount; var$12 = $var5.$size(); while (true) { if (!($var4$index >= var$12 ? 0 : 1)) break a; if ($var4$index_0 < $var5.$modCount) break; var$9 = $var4$index + 1 | 0; $par1Entity = $var5.$get($var4$index); ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); var$6 = $var3.$array.data; $var4$index = $var3.$size0; $var3.$size0 = $var4$index + 1 | 0; var$6[$var4$index] = $par1Entity; $var3.$modCount = $var3.$modCount + 1 | 0; $var4$index = var$9; } $par1Entity = new ju_ConcurrentModificationException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } } $var4$index = 0; var$12 = $var3.$modCount; var$13 = $var3.$size(); while ($var4$index >= var$13 ? 0 : 1) { if (var$12 < $var3.$modCount) { $par1Entity = new ju_ConcurrentModificationException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } $var4$index_0 = $var4$index + 1 | 0; $var5 = $var3.$get($var4$index); var$10 = $this.$worldObj.$worldScoreboard; var$7 = $this.$username; $par1Entity = var$10.$field_96544_c; if (var$7 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { b: { if (!var$7.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$7.$nativeString.length) break b; var$7.$hashCode1 = (31 * var$7.$hashCode1 | 0) + var$7.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par2 = var$7.$hashCode1; var$6 = $par1Entity.$elementData.data; $par1Entity = var$6[$par2 & (var$6.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == $par2) { c: { $var6 = $par1Entity.$key; if (var$7 !== $var6) { if (var$7 === $var6) $var4$index = 1; else if (!($var6 instanceof jl_String)) $var4$index = 0; else { $var6 = $var6; $var4$index = var$7.$nativeString !== $var6.$nativeString ? 0 : 1; } if (!$var4$index) { $var4$index = 0; break c; } } $var4$index = 1; } if ($var4$index) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if ($par1Entity === null) { $par1Entity = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $par1Entity.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$6 = var$14.data; $par1Entity.$elementData = var$14; $par1Entity.$loadFactor = 0.75; $par1Entity.$threshold = var$6.length * 0.75 | 0; ju_HashMap_putImpl(var$10.$field_96544_c, var$7, $par1Entity); } if ($var5 === null) { $var6 = $par1Entity.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { $var6 = $var5; if (!$var6.$id$) $var6.$id$ = $rt_nextId(); var$9 = $var5.$id$; var$6 = $par1Entity.$elementData.data; $var6 = var$6[var$9 & (var$6.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { var$15 = $var6.$key; if ($var5 !== var$15 && !($var5 !== var$15 ? 0 : 1) ? 0 : 1) break; } $var6 = $var6.$next3; } } $var6 = $var6 === null ? null : $var6.$value1; if ($var6 === null) { $var6 = new nms_Score; $var6.$theScoreboard = var$10; $var6.$theScoreObjective = $var5; $var6.$field_96654_d = var$7; ju_HashMap_putImpl($par1Entity, $var5, $var6); } $var4$index = $var6.$field_96655_e; $par2 = $var4$index + 1 | 0; $var6.$field_96655_e = $par2; $var4$index = $var4$index_0; } }, nms_EntityPlayer_dropPlayerItem = ($this, $par1ItemStack) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = 0; $ptr = 1; case 1: $tmp = nms_EntityPlayer_dropPlayerItemWithRandomChoice($this, $par1ItemStack, var$2); if ($rt_suspending()) { break main; } $par1ItemStack = $tmp; return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, var$2, $ptr); }, nms_EntityPlayer_dropPlayerItemWithRandomChoice = ($this, $par1ItemStack, $par2) => { let $var3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var5, var$15, $var6, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var6 = $thread.pop();var$15 = $thread.pop();$var5 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1ItemStack === null) return null; if (!$par1ItemStack.$stackSize) return null; $var3 = new nms_EntityItem; var$4 = $this.$worldObj; var$5 = $this.$posX; var$6 = $this.$posY - 0.30000001192092896 + $this.$getEyeHeight(); var$7 = $this.$posZ; $ptr = 1; case 1: nms_EntityItem__init_($var3, var$4, var$5, var$6, var$7); if ($rt_suspending()) { break main; } var$8 = $var3.$dataWatcher; var$4 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[138]; if (var$9 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$10 = var$9.$value0; var$11 = var$4.$elementData.data; var$4 = var$11[var$10 & (var$11.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$10) { var$12 = var$4.$key; if (var$9 !== var$12 && !jl_Integer_equals(var$9, var$12) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$12 = var$4 === null ? null : var$4.$value1; if (!($par1ItemStack !== var$12.$watchedObject ? 0 : 1)) { var$12.$watchedObject = $par1ItemStack; var$12.$watched = 1; var$8.$objectChanged = 1; } var$9 = $var3.$dataWatcher; $par1ItemStack = var$9.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[138]; if (var$12 === null) { $par1ItemStack = $par1ItemStack.$elementData.data[0]; while ($par1ItemStack !== null && $par1ItemStack.$key !== null) { $par1ItemStack = $par1ItemStack.$next3; } } else { var$10 = var$12.$value0; var$11 = $par1ItemStack.$elementData.data; $par1ItemStack = var$11[var$10 & (var$11.length - 1 | 0)]; while ($par1ItemStack !== null) { if ($par1ItemStack.$origKeyHash == var$10) { var$4 = $par1ItemStack.$key; if (var$12 !== var$4 && !jl_Integer_equals(var$12, var$4) ? 0 : 1) break; } $par1ItemStack = $par1ItemStack.$next3; } } ($par1ItemStack === null ? null : $par1ItemStack.$value1).$watched = 1; var$9.$objectChanged = 1; $var3.$delayBeforeCanPickup = 40; if ($par2) { $par1ItemStack = $this.$rand; var$13 = Long_and(Long_add(Long_mul($par1ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1ItemStack.$seed = var$13; $var5 = Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * 0.5; var$15 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1ItemStack.$seed = var$15; $var6 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7 * 3.1415927410125732 * 2.0; var$11 = nms_MathHelper_SIN_TABLE.data; var$17 = $var6 * 10430.3779296875; $var3.$motionX = -var$11[(var$17 | 0) & 65535] * $var5; $var3.$motionZ = var$11[(var$17 + 16384.0 | 0) & 65535] * $var5; $var3.$motionY = 0.20000000298023224; } else { $var6 = $this.$rotationYaw / 180.0 * 3.1415927410125732; var$11 = nms_MathHelper_SIN_TABLE.data; $var6 = $var6 * 10430.3779296875; var$18 = -var$11[($var6 | 0) & 65535]; var$17 = $this.$rotationPitch / 180.0 * 3.1415927410125732 * 10430.3779296875; var$19 = (var$17 + 16384.0 | 0) & 65535; var$6 = var$18 * var$11[var$19] * 0.30000001192092896; $var3.$motionX = var$6; $var3.$motionZ = var$11[($var6 + 16384.0 | 0) & 65535] * var$11[var$19] * 0.30000001192092896; $var3.$motionY = -var$11[(var$17 | 0) & 65535] * 0.30000001192092896 + 0.10000000149011612; $par1ItemStack = $this.$rand; var$15 = Long_and(Long_add(Long_mul($par1ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1ItemStack.$seed = var$15; $var5 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7 * 3.1415927410125732 * 2.0; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1ItemStack.$seed = var$15; $var6 = 0.019999999552965164 * Long_lo(Long_shru(var$15, 24)) / 1.6777216E7; var$5 = $var5; var$7 = jl_Math_cos(var$5); var$20 = $var6; $var3.$motionX = var$6 + var$7 * var$20; var$6 = $var3.$motionY; $par1ItemStack = $this.$rand; var$15 = Long_and(Long_add(Long_mul($par1ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1ItemStack.$seed = var$15; $var5 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1ItemStack.$seed = var$15; $var3.$motionY = var$6 + ($var5 - Long_lo(Long_shru(var$15, 24)) / 1.6777216E7) * 0.10000000149011612; $var3.$motionZ = $var3.$motionZ + jl_Math_sin(var$5) * var$20; } $this.$joinEntityItemWithWorld($var3); nms_StatList_$callClinit(); $this.$addStat(nms_StatList_dropStat, 1); return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2, $var3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var5, var$15, $var6, var$17, var$18, var$19, var$20, $ptr); }, nms_EntityPlayer_joinEntityItemWithWorld = ($this, $par1EntityItem) => { let var$2, var$3, var$4; var$2 = $this.$worldObj; var$3 = nms_World_spawnEntityInWorld(var$2, $par1EntityItem); var$4 = var$2.$entityList; ju_HashMap_putImpl(var$4.$backingMap, $par1EntityItem, var$4); if (!var$3) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, $par1EntityItem, var$2); } }, nms_EntityPlayer_getCurrentPlayerStrVsBlock = ($this, $par1Block, $par2) => { let $var5, $var3, var$5, var$6, $var4, var$8, $var6, var$10; $var5 = $this.$inventory; $var3 = 1.0; var$5 = $var5.$mainInventory.data; $par2 = $var5.$currentItem; if (var$5[$par2] !== null) { $var5 = var$5[$par2]; nms_Item_$callClinit(); $var3 = $var3 * nms_Item_itemsList.data[$var5.$itemID].$getStrVsBlock($var5, $par1Block); } $par2 = $rt_compare($var3, 1.0); if ($par2 > 0) { nms_EnchantmentHelper_$callClinit(); nms_Enchantment_$callClinit(); var$6 = nms_Enchantment_efficiency.$effectId; $var5 = $this.$inventory; $var4 = $var5.$currentItem; $var4 = nms_EnchantmentHelper_getEnchantmentLevel(var$6, $var4 < 9 && $var4 >= 0 ? $var5.$mainInventory.data[$var4] : null); $var5 = $this.$inventory; var$8 = $var5.$currentItem; $var5 = var$8 < 9 && var$8 >= 0 ? $var5.$mainInventory.data[var$8] : null; if ($var4 > 0 && $var5 !== null) { $var6 = $rt_imul($var4, $var4) + 1 | 0; nms_Item_$callClinit(); $var3 = !nms_Item_itemsList.data[$var5.$itemID].$canHarvestBlock($par1Block) && $par2 <= 0 ? $var3 + $var6 * 0.07999999821186066 : $var3 + $var6; } } nms_Potion_$callClinit(); if (nms_EntityLivingBase_isPotionActive($this, nms_Potion_digSpeed)) $var3 = $var3 * (1.0 + ((nms_EntityLivingBase_getActivePotionEffect($this, nms_Potion_digSpeed)).$amplifier + 1 | 0) * 0.20000000298023224); if (nms_EntityLivingBase_isPotionActive($this, nms_Potion_digSlowdown)) $var3 = $var3 * (1.0 - ((nms_EntityLivingBase_getActivePotionEffect($this, nms_Potion_digSlowdown)).$amplifier + 1 | 0) * 0.20000000298023224); nms_Material_$callClinit(); if (nms_Entity_isInsideOfMaterial($this, nms_Material_water)) { nms_EnchantmentHelper_$callClinit(); nms_Enchantment_$callClinit(); $par2 = nms_Enchantment_aquaAffinity.$effectId; var$5 = $this.$inventory.$armorInventory; if (var$5 === null) var$6 = 0; else { var$5 = var$5.data; var$6 = 0; var$8 = var$5.length; $var4 = 0; while ($var4 < var$8) { var$10 = nms_EnchantmentHelper_getEnchantmentLevel($par2, var$5[$var4]); if (var$10 > var$6) var$6 = var$10; $var4 = $var4 + 1 | 0; } } if (!(var$6 <= 0 ? 0 : 1)) $var3 = $var3 / 5.0; } if (!$this.$onGround) $var3 = $var3 / 5.0; return $var3; }, nms_EntityPlayer_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; nms_EntityLivingBase_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$inventory; var$3 = new nms_NBTTagList; var$3.$name = $rt_s(18); var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); var$3.$tagList = var$4; var$3 = nms_InventoryPlayer_writeToNBT(var$2, var$3); var$2 = $par1NBTTagCompound.$tagMap; var$3.$name = $rt_s(1298); ju_HashMap_putImpl(var$2, $rt_s(1298), var$3); var$5 = $this.$inventory.$currentItem; var$2 = $par1NBTTagCompound.$tagMap; var$6 = new nms_NBTTagInt; var$6.$name = $rt_s(1299); var$6.$data0 = var$5; ju_HashMap_putImpl(var$2, $rt_s(1299), var$6); var$5 = (!$this.$sleeping ? 0 : 1) << 24 >> 24; var$2 = $par1NBTTagCompound.$tagMap; var$6 = new nms_NBTTagByte; var$6.$name = $rt_s(1300); var$6.$data = var$5; ju_HashMap_putImpl(var$2, $rt_s(1300), var$6); var$5 = $this.$sleepTimer << 16 >> 16; var$2 = $par1NBTTagCompound.$tagMap; var$6 = new nms_NBTTagShort; var$6.$name = $rt_s(1301); var$6.$data2 = var$5; ju_HashMap_putImpl(var$2, $rt_s(1301), var$6); var$7 = $this.$experience; var$2 = $par1NBTTagCompound.$tagMap; var$6 = new nms_NBTTagFloat; var$6.$name = $rt_s(1302); var$6.$data4 = var$7; ju_HashMap_putImpl(var$2, $rt_s(1302), var$6); var$5 = $this.$experienceLevel; var$2 = $par1NBTTagCompound.$tagMap; var$6 = new nms_NBTTagInt; var$6.$name = $rt_s(1303); var$6.$data0 = var$5; ju_HashMap_putImpl(var$2, $rt_s(1303), var$6); var$5 = $this.$experienceTotal; var$2 = $par1NBTTagCompound.$tagMap; var$6 = new nms_NBTTagInt; var$6.$name = $rt_s(1304); var$6.$data0 = var$5; ju_HashMap_putImpl(var$2, $rt_s(1304), var$6); var$6 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[146]; if (var$2 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$8 = var$2.$value0; var$9 = var$6.$elementData.data; var$6 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$8) { var$4 = var$6.$key; if (var$2 !== var$4 && !(var$2 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$5 = (var$6 === null ? null : var$6.$value1).$watchedObject.$value0; var$2 = $par1NBTTagCompound.$tagMap; var$6 = new nms_NBTTagInt; var$6.$name = $rt_s(1305); var$6.$data0 = var$5; ju_HashMap_putImpl(var$2, $rt_s(1305), var$6); var$3 = $this.$spawnChunk; if (var$3 !== null) { var$5 = var$3.$posX0; var$2 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagInt; var$3.$name = $rt_s(1306); var$3.$data0 = var$5; ju_HashMap_putImpl(var$2, $rt_s(1306), var$3); var$5 = $this.$spawnChunk.$posY0; var$2 = $par1NBTTagCompound.$tagMap; var$6 = new nms_NBTTagInt; var$6.$name = $rt_s(1307); var$6.$data0 = var$5; ju_HashMap_putImpl(var$2, $rt_s(1307), var$6); var$5 = $this.$spawnChunk.$posZ0; var$2 = $par1NBTTagCompound.$tagMap; var$6 = new nms_NBTTagInt; var$6.$name = $rt_s(1308); var$6.$data0 = var$5; ju_HashMap_putImpl(var$2, $rt_s(1308), var$6); var$5 = (!$this.$spawnForced ? 0 : 1) << 24 >> 24; var$2 = $par1NBTTagCompound.$tagMap; var$6 = new nms_NBTTagByte; var$6.$name = $rt_s(1309); var$6.$data = var$5; ju_HashMap_putImpl(var$2, $rt_s(1309), var$6); } var$3 = $this.$foodStats; var$5 = var$3.$foodLevel; var$2 = $par1NBTTagCompound.$tagMap; var$6 = new nms_NBTTagInt; var$6.$name = $rt_s(1310); var$6.$data0 = var$5; ju_HashMap_putImpl(var$2, $rt_s(1310), var$6); var$5 = var$3.$foodTimer; var$4 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagInt; var$2.$name = $rt_s(1311); var$2.$data0 = var$5; ju_HashMap_putImpl(var$4, $rt_s(1311), var$2); var$7 = var$3.$foodSaturationLevel; var$4 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagFloat; var$2.$name = $rt_s(1312); var$2.$data4 = var$7; ju_HashMap_putImpl(var$4, $rt_s(1312), var$2); var$7 = var$3.$foodExhaustionLevel; var$2 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagFloat; var$3.$name = $rt_s(1313); var$3.$data4 = var$7; ju_HashMap_putImpl(var$2, $rt_s(1313), var$3); nms_PlayerCapabilities_writeCapabilitiesToNBT($this.$capabilities, $par1NBTTagCompound); var$6 = $this.$theInventoryEnderChest; var$2 = new nms_NBTTagList; var$2.$name = $rt_s(1314); var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); var$2.$tagList = var$4; var$5 = 0; while (var$5 < var$6.$slotsCount) { var$10 = var$6.$inventoryContents.data[var$5]; if (var$10 !== null) { var$4 = new nms_NBTTagCompound; var$4.$name = $rt_s(18); var$11 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); var$11.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$9 = var$12.data; var$11.$elementData = var$12; var$11.$loadFactor = 0.75; var$11.$threshold = var$9.length * 0.75 | 0; var$4.$tagMap = var$11; var$8 = var$5 << 24 >> 24; var$13 = new nms_NBTTagByte; var$13.$name = $rt_s(1315); var$13.$data = var$8; ju_HashMap_putImpl(var$11, $rt_s(1315), var$13); var$8 = var$10.$itemID << 16 >> 16; var$11 = var$4.$tagMap; var$13 = new nms_NBTTagShort; var$13.$name = $rt_s(1243); var$13.$data2 = var$8; ju_HashMap_putImpl(var$11, $rt_s(1243), var$13); var$8 = var$10.$stackSize << 24 >> 24; var$11 = var$4.$tagMap; var$13 = new nms_NBTTagByte; var$13.$name = $rt_s(1271); var$13.$data = var$8; ju_HashMap_putImpl(var$11, $rt_s(1271), var$13); var$8 = var$10.$itemDamage << 16 >> 16; var$11 = var$4.$tagMap; var$13 = new nms_NBTTagShort; var$13.$name = $rt_s(1272); var$13.$data2 = var$8; ju_HashMap_putImpl(var$11, $rt_s(1272), var$13); var$14 = var$10.$stackTagCompound; if (var$14 !== null) { var$11 = var$4.$tagMap; var$14.$name = $rt_s(1273); ju_HashMap_putImpl(var$11, $rt_s(1273), var$14); } var$2.$tagType = 10; var$14 = var$2.$tagList; ju_ArrayList_ensureCapacity(var$14, var$14.$size0 + 1 | 0); var$9 = var$14.$array.data; var$15 = var$14.$size0; var$14.$size0 = var$15 + 1 | 0; var$9[var$15] = var$4; var$14.$modCount = var$14.$modCount + 1 | 0; } var$5 = var$5 + 1 | 0; } $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; var$2.$name = $rt_s(1314); ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(1314), var$2); }, nms_EntityPlayer_getEyeHeight = $this => { return 0.11999999731779099; }, nms_EntityPlayer_resetHeight = $this => { $this.$yOffset = 1.6200000047683716; }, nms_EntityPlayer_canAttackPlayer = ($this, $par1EntityPlayer) => { let $var2, $var3; $var2 = nms_EntityPlayer_getTeam($this); $var3 = nms_EntityPlayer_getTeam($par1EntityPlayer); return $var2 === null ? 1 : !($var3 === null ? 0 : $var2 !== $var3 ? 0 : 1) ? 1 : $var2.$allowFriendlyFire; }, nms_EntityPlayer_damageArmor = ($this, $par1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$inventory; $ptr = 1; case 1: nms_InventoryPlayer_damageArmor(var$2, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, $ptr); }, nms_EntityPlayer_getTotalArmorValue = $this => { return nms_InventoryPlayer_getTotalArmorValue($this.$inventory); }, nms_EntityPlayer_getArmorVisibility = $this => { let $var1, $var2, $var3, $var4; $var1 = 0; $var2 = $this.$inventory.$armorInventory.data; $var3 = $var2.length; $var4 = 0; while ($var4 < $var3) { if ($var2[$var4] !== null) $var1 = $var1 + 1 | 0; $var4 = $var4 + 1 | 0; } return $var1 / $var3; }, nms_EntityPlayer_damageEntity = ($this, $par1DamageSource, $par2) => { let var$3, var$4, $var4, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$invulnerable) { if (!$par1DamageSource.$isUnblockable) { var$3 = $this.$itemInUse; var$4 = var$3 === null ? 0 : 1; a: { if (var$4) { nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$3.$itemID].$getItemUseAction(var$3) === nms_EnumAction_block) { var$4 = 1; break a; } } var$4 = 0; } if (var$4 && $par2 > 0.0) $par2 = (1.0 + $par2) * 0.5; } if (!$par1DamageSource.$isUnblockable) { $var4 = $par2 * (25 - nms_InventoryPlayer_getTotalArmorValue($this.$inventory) | 0); var$6 = $this.$inventory; $ptr = 1; continue main; } $par2 = nms_EntityLivingBase_applyPotionDamageCalculations($this, $par1DamageSource, $par2); var$7 = jl_Math_maxImpl($par2 - nms_EntityPlayer_getAbsorptionAmount($this), 0.0); nms_EntityPlayer_setAbsorptionAmount($this, nms_EntityPlayer_getAbsorptionAmount($this) - ($par2 - var$7)); if (var$7 !== 0.0) { $var4 = $par1DamageSource.$hungerDamage; if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { var$6 = $this.$foodStats; var$6.$foodExhaustionLevel = jl_Math_minImpl(var$6.$foodExhaustionLevel + $var4, 40.0); } $var4 = nms_EntityLivingBase_getHealth($this); nms_EntityLivingBase_setHealth($this, nms_EntityLivingBase_getHealth($this) - var$7); var$8 = $this.$_combatTracker; nms_CombatTracker_func_94549_h(var$8); nms_CombatTracker_func_94545_a(var$8); var$6 = new nms_CombatEntry; var$3 = var$8.$fighter; var$4 = var$3.$ticksExisted; var$9 = var$8.$field_94551_f; $par2 = var$3.$fallDistance; var$6.$damageSrc = $par1DamageSource; var$6.$field_94567_b = var$4; var$6.$field_94568_c = var$7; var$6.$field_94565_d = $var4; var$6.$field_94566_e = var$9; var$6.$field_94564_f = $par2; $par1DamageSource = var$8.$field_94556_a; ju_ArrayList_ensureCapacity($par1DamageSource, $par1DamageSource.$size0 + 1 | 0); var$10 = $par1DamageSource.$array.data; var$11 = $par1DamageSource.$size0; $par1DamageSource.$size0 = var$11 + 1 | 0; var$10[var$11] = var$6; $par1DamageSource.$modCount = $par1DamageSource.$modCount + 1 | 0; var$8.$field_94555_c = var$8.$fighter.$ticksExisted; var$8.$field_94553_e = 1; var$8.$field_94552_d = var$8.$field_94552_d | var$6.$damageSrc.$getEntity() instanceof nms_EntityLivingBase; } } return; case 1: nms_InventoryPlayer_damageArmor(var$6, $par2); if ($rt_suspending()) { break main; } $par2 = $var4 / 25.0; $par2 = nms_EntityLivingBase_applyPotionDamageCalculations($this, $par1DamageSource, $par2); var$7 = jl_Math_maxImpl($par2 - nms_EntityPlayer_getAbsorptionAmount($this), 0.0); nms_EntityPlayer_setAbsorptionAmount($this, nms_EntityPlayer_getAbsorptionAmount($this) - ($par2 - var$7)); if (var$7 !== 0.0) { $var4 = $par1DamageSource.$hungerDamage; if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { var$6 = $this.$foodStats; var$6.$foodExhaustionLevel = jl_Math_minImpl(var$6.$foodExhaustionLevel + $var4, 40.0); } $var4 = nms_EntityLivingBase_getHealth($this); nms_EntityLivingBase_setHealth($this, nms_EntityLivingBase_getHealth($this) - var$7); var$8 = $this.$_combatTracker; nms_CombatTracker_func_94549_h(var$8); nms_CombatTracker_func_94545_a(var$8); var$6 = new nms_CombatEntry; var$3 = var$8.$fighter; var$4 = var$3.$ticksExisted; var$9 = var$8.$field_94551_f; $par2 = var$3.$fallDistance; var$6.$damageSrc = $par1DamageSource; var$6.$field_94567_b = var$4; var$6.$field_94568_c = var$7; var$6.$field_94565_d = $var4; var$6.$field_94566_e = var$9; var$6.$field_94564_f = $par2; $par1DamageSource = var$8.$field_94556_a; ju_ArrayList_ensureCapacity($par1DamageSource, $par1DamageSource.$size0 + 1 | 0); var$10 = $par1DamageSource.$array.data; var$11 = $par1DamageSource.$size0; $par1DamageSource.$size0 = var$11 + 1 | 0; var$10[var$11] = var$6; $par1DamageSource.$modCount = $par1DamageSource.$modCount + 1 | 0; var$8.$field_94555_c = var$8.$fighter.$ticksExisted; var$8.$field_94553_e = 1; var$8.$field_94552_d = var$8.$field_94552_d | var$6.$damageSrc.$getEntity() instanceof nms_EntityLivingBase; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, var$3, var$4, $var4, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntityPlayer_interactWith = ($this, $par1Entity) => { let $var3, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$inventory; var$3 = $var3.$currentItem; var$4 = var$3 < 9 && var$3 >= 0 ? $var3.$mainInventory.data[var$3] : null; if (var$4 === null) $var3 = null; else { $var3 = new nms_ItemStack; var$5 = var$4.$itemID; var$3 = var$4.$stackSize; var$6 = var$4.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$5; $var3.$stackSize = var$3; $var3.$itemDamage = var$6; if (var$6 < 0) $var3.$itemDamage = 0; var$7 = var$4.$stackTagCompound; if (var$7 !== null) $var3.$stackTagCompound = nms_NBTTagCompound_copy(var$7); } $ptr = 1; case 1: $tmp = $par1Entity.$interactFirst($this); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) { if (var$4 !== null && $par1Entity instanceof nms_EntityLivingBase) { if (!$this.$capabilities.$isCreativeMode) $var3 = var$4; $par1Entity = $par1Entity; nms_Item_$callClinit(); if (nms_Item_itemsList.data[$var3.$itemID].$itemInteractionForEntity($var3, $this, $par1Entity)) { if ($var3.$stackSize <= 0 && !$this.$capabilities.$isCreativeMode) { $var3 = $this.$inventory; var$5 = $var3.$currentItem; $par1Entity = null; var$8 = $var3.$mainInventory; var$3 = var$8.data.length; if (var$5 >= var$3) { var$5 = var$5 - var$3 | 0; var$8 = $var3.$armorInventory; } var$8.data[var$5] = $par1Entity; } return 1; } } return 0; } if (var$4 !== null) { var$7 = $this.$inventory; var$6 = var$7.$currentItem; if (var$4 === (var$6 < 9 && var$6 >= 0 ? var$7.$mainInventory.data[var$6] : null)) { var$5 = var$4.$stackSize; if (!(var$5 <= 0 && !$this.$capabilities.$isCreativeMode)) { var$3 = $var3.$stackSize; if (var$5 < var$3 && $this.$capabilities.$isCreativeMode) var$4.$stackSize = var$3; } else { $par1Entity = null; var$8 = var$7.$mainInventory; var$5 = var$8.data.length; if (var$6 >= var$5) { var$6 = var$6 - var$5 | 0; var$8 = var$7.$armorInventory; } var$8.data[var$6] = $par1Entity; } } } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $var3, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityPlayer_getCurrentEquippedItem = $this => { let var$1, var$2; var$1 = $this.$inventory; var$2 = var$1.$currentItem; return var$2 < 9 && var$2 >= 0 ? var$1.$mainInventory.data[var$2] : null; }, nms_EntityPlayer_destroyCurrentEquippedItem = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$inventory; var$2 = var$1.$currentItem; var$3 = null; var$4 = var$1.$mainInventory; var$5 = var$4.data.length; if (var$2 >= var$5) { var$2 = var$2 - var$5 | 0; var$4 = var$1.$armorInventory; } var$4.data[var$2] = var$3; }, nms_EntityPlayer_getYOffset = $this => { return $this.$yOffset - 0.5; }, nms_EntityPlayer_attackTargetEntityWithCurrentItem = ($this, $par1Entity) => { let $var5, $var11, $var2, $var3, $var4, var$7, var$8, var$9, $var6, var$11, var$12, $var7, $var8, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var6 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var11 = $thread.pop();$var5 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1Entity.$canAttackWithItem()) return; $ptr = 1; case 1: a: { $tmp = $par1Entity.$hitByEntity($this); if ($rt_suspending()) { break main; } $var5 = $tmp; if (!$var5) { $var11 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_attackDamage); if ($var11.$field_111133_g) { $var11.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var11); $var11.$field_111133_g = 0; } $var2 = $var11.$field_111139_h; $var3 = 0; $var4 = 0.0; var$7 = $par1Entity instanceof nms_EntityLivingBase; if (var$7) { $var11 = $par1Entity; nms_EnchantmentHelper_$callClinit(); var$8 = nms_EnchantmentHelper_enchantmentModifierLiving; var$8.$livingModifier = 0.0; var$8.$entityLiving = $var11; $var11 = $this.$inventory; var$9 = $var11.$currentItem; nms_EnchantmentHelper_applyEnchantmentModifier(var$8, var$9 < 9 && var$9 >= 0 ? $var11.$mainInventory.data[var$9] : null); $var4 = nms_EnchantmentHelper_enchantmentModifierLiving.$livingModifier; nms_Enchantment_$callClinit(); $var5 = nms_Enchantment_knockback.$effectId; $var11 = $this.$inventory; $var6 = $var11.$currentItem; $var3 = $var3 + nms_EnchantmentHelper_getEnchantmentLevel($var5, $var6 < 9 && $var6 >= 0 ? $var11.$mainInventory.data[$var6] : null) | 0; } if (nms_Entity_getFlag($this, 3)) $var3 = $var3 + 1 | 0; var$9 = $rt_compare($var2, 0.0); if (var$9 > 0) break a; if ($var4 > 0.0) break a; } return; } b: { if ($this.$fallDistance > 0.0 && !$this.$onGround && !nms_EntityLivingBase_isOnLadder($this) && !$this.$inWater) { nms_Potion_$callClinit(); if (!nms_EntityLivingBase_isPotionActive($this, nms_Potion_blindness) && $this.$ridingEntity === null && var$7) { $var5 = 1; break b; } } $var5 = 0; } if ($var5 && var$9 > 0) $var2 = $var2 * 1.5; var$11 = $var2 + $var4; $var6 = 0; nms_EnchantmentHelper_$callClinit(); nms_Enchantment_$callClinit(); var$9 = nms_Enchantment_fireAspect.$effectId; $var11 = $this.$inventory; var$12 = $var11.$currentItem; $var7 = nms_EnchantmentHelper_getEnchantmentLevel(var$9, var$12 < 9 && var$12 >= 0 ? $var11.$mainInventory.data[var$12] : null); if (var$7 && $var7 > 0 && !$par1Entity.$isBurning()) { $var6 = 1; nms_Entity_setFire($par1Entity, 1); } $var11 = new nms_EntityDamageSource; $var11.$hungerDamage = 0.30000001192092896; $var11.$damageType = $rt_s(1316); $var11.$damageSourceEntity = $this; $ptr = 2; case 2: $tmp = $par1Entity.$attackEntityFrom($var11, var$11); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8) { if ($var3 > 0) { $var2 = $this.$rotationYaw * 3.1415927410125732 / 180.0; var$15 = nms_MathHelper_SIN_TABLE.data; var$16 = $var2 * 10430.3779296875; $var2 = -var$15[(var$16 | 0) & 65535]; var$17 = $var3; var$18 = $var2 * var$17 * 0.5; var$19 = 0.1; var$20 = var$15[(var$16 + 16384.0 | 0) & 65535] * var$17 * 0.5; $ptr = 3; continue main; } if ($var5) { var$8 = $this.$mc4; var$21 = var$8.$effectRenderer; $var11 = new nms_EntityCrit2FX; var$8 = var$8.$theWorld; var$22 = $rt_s(1317); var$18 = $par1Entity.$posX; var$19 = $par1Entity.$boundingBox.$minY + $par1Entity.$height2 / 2.0; var$20 = $par1Entity.$posZ; var$23 = $par1Entity.$motionX; var$24 = $par1Entity.$motionY; var$25 = $par1Entity.$motionZ; $ptr = 4; continue main; } if ($var4 > 0.0) { $var11 = new nms_EntityCrit2FX; var$21 = $this.$mc4.$theWorld; var$8 = $rt_s(1318); var$18 = $par1Entity.$posX; var$19 = $par1Entity.$boundingBox.$minY + $par1Entity.$height2 / 2.0; var$20 = $par1Entity.$posZ; var$23 = $par1Entity.$motionX; var$24 = $par1Entity.$motionY; var$25 = $par1Entity.$motionZ; $ptr = 6; continue main; } if (var$11 >= 18.0) { nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat($this, nms_AchievementList_overkill, 1); } if (!var$7) $this.$lastAttacker = null; else $this.$lastAttacker = $par1Entity; $this.$lastAttackerTime = $this.$ticksExisted; if (var$7) { $var11 = $par1Entity; var$8 = $this.$rand; $ptr = 9; continue main; } } $var11 = $this.$inventory; var$9 = $var11.$currentItem; var$21 = var$9 < 9 && var$9 >= 0 ? $var11.$mainInventory.data[var$9] : null; if (!($par1Entity instanceof nms_EntityDragonPart)) $var11 = $par1Entity; else { $var11 = $par1Entity.$entityDragonObj; if ($var11 === null) $var11 = $par1Entity; else if (!($var11 instanceof nms_EntityLivingBase)) $var11 = $par1Entity; } if (var$21 !== null && $var11 instanceof nms_EntityLivingBase) { $var11 = $var11; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[var$21.$itemID]; $ptr = 8; continue main; } if (var$7) { nms_StatList_$callClinit(); $var11 = nms_StatList_damageDealtStat; $var2 = var$11 * 10.0; nms_EntityClientPlayerMP_addStat($this, $var11, $var2 + jl_Math_sign0($var2) * 0.5 | 0); if ($var7 > 0 && $var8) nms_Entity_setFire($par1Entity, $var7 * 4 | 0); else if ($var6) $par1Entity.$fire = 0; } if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { $par1Entity = $this.$foodStats; $par1Entity.$foodExhaustionLevel = jl_Math_minImpl($par1Entity.$foodExhaustionLevel + 0.30000001192092896, 40.0); } return; case 3: $par1Entity.$addVelocity(var$18, var$19, var$20); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.6; $this.$motionZ = $this.$motionZ * 0.6; nms_Entity_setFlag($this, 3, 0); $var11 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_movementSpeed); var$8 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$21 = $var11.$field_111135_e; if (var$8 === null) { var$21 = var$21.$elementData.data[0]; while (var$21 !== null && var$21.$key !== null) { var$21 = var$21.$next3; } } else { var$26 = var$8.$msb; var$27 = var$8.$lsb; var$28 = Long_xor(var$26, var$27); var$12 = Long_hi(var$28) ^ Long_lo(var$28); var$15 = var$21.$elementData.data; var$21 = var$15[var$12 & (var$15.length - 1 | 0)]; while (var$21 !== null) { if (var$21.$origKeyHash == var$12) { c: { var$22 = var$21.$key; if (var$8 !== var$22) { d: { if (var$22 instanceof nle_ProfileUUID) { var$22 = var$22; if (Long_eq(var$22.$lsb, var$27) && Long_eq(var$22.$msb, var$26)) { var$9 = 1; break d; } } var$9 = 0; } if (!var$9) { var$9 = 0; break c; } } var$9 = 1; } if (var$9) break; } var$21 = var$21.$next3; } } var$8 = var$21 === null ? null : var$21.$value1; if (var$8 !== null) nms_ModifiableAttributeInstance_removeModifier($var11, nms_EntityLivingBase_sprintingSpeedBoostModifier); $this.$sprintingTicksLeft = 0; if ($var5) { var$8 = $this.$mc4; var$21 = var$8.$effectRenderer; $var11 = new nms_EntityCrit2FX; var$8 = var$8.$theWorld; var$22 = $rt_s(1317); var$18 = $par1Entity.$posX; var$19 = $par1Entity.$boundingBox.$minY + $par1Entity.$height2 / 2.0; var$20 = $par1Entity.$posZ; var$23 = $par1Entity.$motionX; var$24 = $par1Entity.$motionY; var$25 = $par1Entity.$motionZ; $ptr = 4; continue main; } if ($var4 > 0.0) { $var11 = new nms_EntityCrit2FX; var$21 = $this.$mc4.$theWorld; var$8 = $rt_s(1318); var$18 = $par1Entity.$posX; var$19 = $par1Entity.$boundingBox.$minY + $par1Entity.$height2 / 2.0; var$20 = $par1Entity.$posZ; var$23 = $par1Entity.$motionX; var$24 = $par1Entity.$motionY; var$25 = $par1Entity.$motionZ; $ptr = 6; continue main; } if (var$11 >= 18.0) { nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat($this, nms_AchievementList_overkill, 1); } if (!var$7) $this.$lastAttacker = null; else $this.$lastAttacker = $par1Entity; $this.$lastAttackerTime = $this.$ticksExisted; if (var$7) { $var11 = $par1Entity; var$8 = $this.$rand; $ptr = 9; continue main; } $var11 = $this.$inventory; var$9 = $var11.$currentItem; var$21 = var$9 < 9 && var$9 >= 0 ? $var11.$mainInventory.data[var$9] : null; if (!($par1Entity instanceof nms_EntityDragonPart)) $var11 = $par1Entity; else { $var11 = $par1Entity.$entityDragonObj; if ($var11 === null) $var11 = $par1Entity; else if (!($var11 instanceof nms_EntityLivingBase)) $var11 = $par1Entity; } if (var$21 !== null && $var11 instanceof nms_EntityLivingBase) { $var11 = $var11; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[var$21.$itemID]; $ptr = 8; continue main; } if (var$7) { nms_StatList_$callClinit(); $var11 = nms_StatList_damageDealtStat; $var2 = var$11 * 10.0; nms_EntityClientPlayerMP_addStat($this, $var11, $var2 + jl_Math_sign0($var2) * 0.5 | 0); if ($var7 > 0 && $var8) nms_Entity_setFire($par1Entity, $var7 * 4 | 0); else if ($var6) $par1Entity.$fire = 0; } if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { $par1Entity = $this.$foodStats; $par1Entity.$foodExhaustionLevel = jl_Math_minImpl($par1Entity.$foodExhaustionLevel + 0.30000001192092896, 40.0); } return; case 4: nms_EntityFX__init_($var11, var$8, var$18, var$19, var$20, var$23, var$24, var$25); if ($rt_suspending()) { break main; } $var11.$theEntity9 = $par1Entity; $var11.$maximumLife = 3; $var11.$particleName = var$22; $ptr = 5; case 5: nms_EntityCrit2FX_onUpdate($var11); if ($rt_suspending()) { break main; } var$15 = var$21.$fxLayers.data; if (var$15[3].$size0 >= 4000) ju_ArrayList_remove(var$15[3], 0); var$8 = var$21.$fxLayers.data[3]; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$15 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$15[var$9] = $var11; var$8.$modCount = var$8.$modCount + 1 | 0; if ($var4 > 0.0) { $var11 = new nms_EntityCrit2FX; var$21 = $this.$mc4.$theWorld; var$8 = $rt_s(1318); var$18 = $par1Entity.$posX; var$19 = $par1Entity.$boundingBox.$minY + $par1Entity.$height2 / 2.0; var$20 = $par1Entity.$posZ; var$23 = $par1Entity.$motionX; var$24 = $par1Entity.$motionY; var$25 = $par1Entity.$motionZ; $ptr = 6; continue main; } if (var$11 >= 18.0) { nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat($this, nms_AchievementList_overkill, 1); } if (!var$7) $this.$lastAttacker = null; else $this.$lastAttacker = $par1Entity; $this.$lastAttackerTime = $this.$ticksExisted; if (var$7) { $var11 = $par1Entity; var$8 = $this.$rand; $ptr = 9; continue main; } $var11 = $this.$inventory; var$9 = $var11.$currentItem; var$21 = var$9 < 9 && var$9 >= 0 ? $var11.$mainInventory.data[var$9] : null; if (!($par1Entity instanceof nms_EntityDragonPart)) $var11 = $par1Entity; else { $var11 = $par1Entity.$entityDragonObj; if ($var11 === null) $var11 = $par1Entity; else if (!($var11 instanceof nms_EntityLivingBase)) $var11 = $par1Entity; } if (var$21 !== null && $var11 instanceof nms_EntityLivingBase) { $var11 = $var11; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[var$21.$itemID]; $ptr = 8; continue main; } if (var$7) { nms_StatList_$callClinit(); $var11 = nms_StatList_damageDealtStat; $var2 = var$11 * 10.0; nms_EntityClientPlayerMP_addStat($this, $var11, $var2 + jl_Math_sign0($var2) * 0.5 | 0); if ($var7 > 0 && $var8) nms_Entity_setFire($par1Entity, $var7 * 4 | 0); else if ($var6) $par1Entity.$fire = 0; } if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { $par1Entity = $this.$foodStats; $par1Entity.$foodExhaustionLevel = jl_Math_minImpl($par1Entity.$foodExhaustionLevel + 0.30000001192092896, 40.0); } return; case 6: nms_EntityFX__init_($var11, var$21, var$18, var$19, var$20, var$23, var$24, var$25); if ($rt_suspending()) { break main; } $var11.$theEntity9 = $par1Entity; $var11.$maximumLife = 3; $var11.$particleName = var$8; $ptr = 7; case 7: nms_EntityCrit2FX_onUpdate($var11); if ($rt_suspending()) { break main; } var$8 = $this.$mc4.$effectRenderer; var$15 = var$8.$fxLayers.data; if (var$15[3].$size0 >= 4000) ju_ArrayList_remove(var$15[3], 0); var$8 = var$8.$fxLayers.data[3]; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$15 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$15[var$9] = $var11; var$8.$modCount = var$8.$modCount + 1 | 0; if (var$11 >= 18.0) { nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat($this, nms_AchievementList_overkill, 1); } if (!var$7) $this.$lastAttacker = null; else $this.$lastAttacker = $par1Entity; $this.$lastAttackerTime = $this.$ticksExisted; if (var$7) { $var11 = $par1Entity; var$8 = $this.$rand; $ptr = 9; continue main; } $var11 = $this.$inventory; var$9 = $var11.$currentItem; var$21 = var$9 < 9 && var$9 >= 0 ? $var11.$mainInventory.data[var$9] : null; if (!($par1Entity instanceof nms_EntityDragonPart)) $var11 = $par1Entity; else { $var11 = $par1Entity.$entityDragonObj; if ($var11 === null) $var11 = $par1Entity; else if (!($var11 instanceof nms_EntityLivingBase)) $var11 = $par1Entity; } if (var$21 !== null && $var11 instanceof nms_EntityLivingBase) { $var11 = $var11; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[var$21.$itemID]; $ptr = 8; continue main; } if (var$7) { nms_StatList_$callClinit(); $var11 = nms_StatList_damageDealtStat; $var2 = var$11 * 10.0; nms_EntityClientPlayerMP_addStat($this, $var11, $var2 + jl_Math_sign0($var2) * 0.5 | 0); if ($var7 > 0 && $var8) nms_Entity_setFire($par1Entity, $var7 * 4 | 0); else if ($var6) $par1Entity.$fire = 0; } if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { $par1Entity = $this.$foodStats; $par1Entity.$foodExhaustionLevel = jl_Math_minImpl($par1Entity.$foodExhaustionLevel + 0.30000001192092896, 40.0); } return; case 8: $tmp = var$8.$hitEntity(var$21, $var11, $this); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) { nms_StatList_$callClinit(); nms_EntityClientPlayerMP_addStat($this, nms_StatList_objectUseStats.data[var$21.$itemID], 1); } if (var$21.$stackSize <= 0) { var$8 = $this.$inventory; $var5 = var$8.$currentItem; $var11 = null; var$15 = var$8.$mainInventory; var$9 = var$15.data.length; if ($var5 >= var$9) { $var5 = $var5 - var$9 | 0; var$15 = var$8.$armorInventory; } var$15.data[$var5] = $var11; } if (var$7) { nms_StatList_$callClinit(); $var11 = nms_StatList_damageDealtStat; $var2 = var$11 * 10.0; nms_EntityClientPlayerMP_addStat($this, $var11, $var2 + jl_Math_sign0($var2) * 0.5 | 0); if ($var7 > 0 && $var8) nms_Entity_setFire($par1Entity, $var7 * 4 | 0); else if ($var6) $par1Entity.$fire = 0; } if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { $par1Entity = $this.$foodStats; $par1Entity.$foodExhaustionLevel = jl_Math_minImpl($par1Entity.$foodExhaustionLevel + 0.30000001192092896, 40.0); } return; case 9: nms_EnchantmentThorns_func_92096_a($this, $var11, var$8); if ($rt_suspending()) { break main; } $var11 = $this.$inventory; var$9 = $var11.$currentItem; var$21 = var$9 < 9 && var$9 >= 0 ? $var11.$mainInventory.data[var$9] : null; if (!($par1Entity instanceof nms_EntityDragonPart)) $var11 = $par1Entity; else { $var11 = $par1Entity.$entityDragonObj; if ($var11 === null) $var11 = $par1Entity; else if (!($var11 instanceof nms_EntityLivingBase)) $var11 = $par1Entity; } if (var$21 !== null && $var11 instanceof nms_EntityLivingBase) { $var11 = $var11; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[var$21.$itemID]; $ptr = 8; continue main; } if (var$7) { nms_StatList_$callClinit(); $var11 = nms_StatList_damageDealtStat; $var2 = var$11 * 10.0; nms_EntityClientPlayerMP_addStat($this, $var11, $var2 + jl_Math_sign0($var2) * 0.5 | 0); if ($var7 > 0 && $var8) nms_Entity_setFire($par1Entity, $var7 * 4 | 0); else if ($var6) $par1Entity.$fire = 0; } if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { $par1Entity = $this.$foodStats; $par1Entity.$foodExhaustionLevel = jl_Math_minImpl($par1Entity.$foodExhaustionLevel + 0.30000001192092896, 40.0); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $var5, $var11, $var2, $var3, $var4, var$7, var$8, var$9, $var6, var$11, var$12, $var7, $var8, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, $ptr); }, nms_EntityPlayer_setDead = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$isDead = 1; var$1 = $this.$inventoryContainer; $ptr = 1; case 1: nms_ContainerPlayer_onContainerClosed(var$1, $this); if ($rt_suspending()) { break main; } var$1 = $this.$openContainer; if (var$1 === null) return; $ptr = 2; case 2: var$1.$onContainerClosed($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_EntityPlayer_isEntityInsideOpaqueBlock = $this => { return !$this.$sleeping && nms_Entity_isEntityInsideOpaqueBlock($this) ? 1 : 0; }, nms_EntityPlayer_sleepInBedAt = ($this, $par1, $par2, $par3) => { let var$4, $var8, $var10, $var7, $var4, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $var9, var$18, var$19, $var5, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var5 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var9 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var4 = $thread.pop();$var7 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$worldObj.$isRemote) { var$4 = $this.$ridingEntity; if (var$4 === null ? 0 : 1) { $var8 = null; if (var$4 === null) { $ptr = 2; continue main; } if (!$this.$worldObj.$isRemote) { $ptr = 3; continue main; } $var8 = $this.$ridingEntity; if ($var8 !== null) $var8.$riddenByEntity = null; $this.$ridingEntity = null; } $var10 = 0.20000000298023224; $var7 = 0.20000000298023224; $ptr = 1; continue main; } if (!$this.$sleeping && nms_EntityLivingBase_isEntityAlive($this)) { if (!$this.$worldObj.$provider.$isSurfaceWorld()) return nms_EnumStatus_NOT_POSSIBLE_HERE; if ($this.$worldObj.$skylightSubtracted >= 4 ? 0 : 1) return nms_EnumStatus_NOT_POSSIBLE_NOW; $var4 = $this.$posX; var$9 = $par1; if (jl_Math_absImpl($var4 - var$9) <= 3.0) { $var4 = $this.$posY; var$10 = $par2; if (jl_Math_absImpl($var4 - var$10) <= 2.0) { $var4 = $this.$posZ; var$11 = $par3; if (jl_Math_absImpl($var4 - var$11) <= 3.0) { $var8 = $this.$worldObj; var$4 = $rt_cls(nms_EntityMob); var$12 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$13 = var$9 - 8.0; var$14 = var$10 - 5.0; var$15 = var$11 - 8.0; var$16 = var$9 + 8.0; var$9 = var$10 + 5.0; $var4 = var$11 + 8.0; $var9 = var$12.$nextPoolIndex; var$18 = var$12.$listAABB; var$19 = var$18.$size0; $var5 = $rt_compare($var9, var$19); if ($var5 >= 0) { var$21 = new nms_AxisAlignedBB; var$21.$minX = var$13; var$21.$minY = var$14; var$21.$minZ = var$15; var$21.$maxX = var$16; var$21.$maxY = var$9; var$21.$maxZ = $var4; ju_ArrayList_ensureCapacity(var$18, var$19 + 1 | 0); var$22 = var$18.$array.data; $var5 = var$18.$size0; var$18.$size0 = $var5 + 1 | 0; var$22[$var5] = var$21; var$18.$modCount = var$18.$modCount + 1 | 0; } else if ($var9 >= 0 && $var5 < 0) { var$21 = var$18.$array.data[$var9]; var$21.$minX = var$13; var$21.$minY = var$14; var$21.$minZ = var$15; var$21.$maxX = var$16; var$21.$maxY = var$9; var$21.$maxZ = $var4; } else { $var8 = new jl_IndexOutOfBoundsException; $var8.$suppressionEnabled = 1; $var8.$writableStackTrace = 1; $rt_throw($var8); } var$12.$nextPoolIndex = var$12.$nextPoolIndex + 1 | 0; var$18 = null; $ptr = 4; continue main; } } } return nms_EnumStatus_TOO_FAR_AWAY; } return nms_EnumStatus_OTHER_PROBLEM; case 1: nms_Entity_setSize($this, $var10, $var7); if ($rt_suspending()) { break main; } $this.$yOffset = 0.20000000298023224; if (!($par2 >= 0 && $par2 < 256 ? 1 : 0)) nms_Entity_setPosition($this, $par1 + 0.5, $par2 + 0.9375, $par3 + 0.5); else { a: { $var5 = nms_World_getBlockMetadata($this.$worldObj, $par1, $par2, $par3) & 3; $var10 = 0.5; $var7 = 0.5; switch ($var5) { case 0: $var7 = 0.8999999761581421; break a; case 1: $var10 = 0.10000000149011612; break a; case 2: $var7 = 0.10000000149011612; break a; case 3: $var10 = 0.8999999761581421; break a; default: } } b: { $this.$field_71079_bU = 0.0; $this.$field_71089_bV = 0.0; switch ($var5) { case 0: break; case 1: $this.$field_71079_bU = 1.7999999523162842; break b; case 2: $this.$field_71089_bV = 1.7999999523162842; break b; case 3: $this.$field_71079_bU = (-1.7999999523162842); break b; default: break b; } $this.$field_71089_bV = (-1.7999999523162842); } nms_Entity_setPosition($this, $par1 + $var10, $par2 + 0.9375, $par3 + $var7); } $this.$sleeping = 1; $this.$sleepTimer = 0; $var8 = new nms_ChunkCoordinates; $var8.$posX0 = $par1; $var8.$posY0 = $par2; $var8.$posZ0 = $par3; $this.$playerLocation = $var8; $this.$motionY = 0.0; $this.$motionZ = 0.0; $this.$motionX = 0.0; return nms_EnumStatus_OK; case 2: nms_Entity_mountEntity($this, $var8); if ($rt_suspending()) { break main; } $var10 = 0.20000000298023224; $var7 = 0.20000000298023224; $ptr = 1; continue main; case 3: nms_EntityLivingBase_dismountEntity($this, var$4); if ($rt_suspending()) { break main; } $var8 = $this.$ridingEntity; if ($var8 !== null) $var8.$riddenByEntity = null; $this.$ridingEntity = null; $var10 = 0.20000000298023224; $var7 = 0.20000000298023224; $ptr = 1; continue main; case 4: $tmp = nms_World_selectEntitiesWithinAABB($var8, var$4, var$21, var$18); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!($var8.$size0 ? 0 : 1)) return nms_EnumStatus_NOT_SAFE; var$4 = $this.$ridingEntity; if (var$4 === null ? 0 : 1) { $var8 = null; if (var$4 === null) { $ptr = 2; continue main; } if (!$this.$worldObj.$isRemote) { $ptr = 3; continue main; } $var8 = $this.$ridingEntity; if ($var8 !== null) $var8.$riddenByEntity = null; $this.$ridingEntity = null; } $var10 = 0.20000000298023224; $var7 = 0.20000000298023224; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var8, $var10, $var7, $var4, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $var9, var$18, var$19, $var5, var$21, var$22, $ptr); }, nms_EntityPlayer_wakeUpPlayer = ($this, $par1, $par2, $par3) => { let var$4, var$5, $var4, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0.6000000238418579; var$5 = 1.7999999523162842; $ptr = 1; case 1: nms_Entity_setSize($this, var$4, var$5); if ($rt_suspending()) { break main; } $this.$resetHeight(); $var4 = $this.$playerLocation; if ($var4 !== null) { var$7 = nms_World_getBlockId($this.$worldObj, $var4.$posX0, $var4.$posY0, $var4.$posZ0); nms_Block_$callClinit(); if (var$7 == nms_Block_bed.$blockID) { var$8 = $this.$worldObj; var$7 = $var4.$posX0; var$9 = $var4.$posY0; var$10 = $var4.$posZ0; var$11 = nms_World_getBlockMetadata(var$8, var$7, var$9, var$10) & (-5); var$12 = 4; $ptr = 2; continue main; } } $this.$sleeping = 0; !$this.$worldObj.$isRemote && !$par2; if (!$par1) $this.$sleepTimer = 100; else $this.$sleepTimer = 0; if ($par3) { var$8 = $this.$playerLocation; if (var$8 === null) { $this.$spawnChunk = null; $this.$spawnForced = 0; } else { $var4 = new nms_ChunkCoordinates; $var4.$posX0 = var$8.$posX0; $var4.$posY0 = var$8.$posY0; $var4.$posZ0 = var$8.$posZ0; $this.$spawnChunk = $var4; $this.$spawnForced = 0; } } return; case 2: nms_World_setBlockMetadataWithNotify(var$8, var$7, var$9, var$10, var$11, var$12); if ($rt_suspending()) { break main; } var$8 = nms_BlockBed_getNearestEmptyChunkCoordinates($this.$worldObj, $var4.$posX0, $var4.$posY0, $var4.$posZ0, 0); if (var$8 === null) { var$8 = new nms_ChunkCoordinates; var$7 = $var4.$posX0; var$9 = $var4.$posY0 + 1 | 0; var$10 = $var4.$posZ0; var$8.$posX0 = var$7; var$8.$posY0 = var$9; var$8.$posZ0 = var$10; } nms_Entity_setPosition($this, var$8.$posX0 + 0.5, var$8.$posY0 + $this.$yOffset + 0.10000000149011612, var$8.$posZ0 + 0.5); $this.$sleeping = 0; !$this.$worldObj.$isRemote && !$par2; if (!$par1) $this.$sleepTimer = 100; else $this.$sleepTimer = 0; if ($par3) { var$8 = $this.$playerLocation; if (var$8 === null) { $this.$spawnChunk = null; $this.$spawnForced = 0; } else { $var4 = new nms_ChunkCoordinates; $var4.$posX0 = var$8.$posX0; $var4.$posY0 = var$8.$posY0; $var4.$posZ0 = var$8.$posZ0; $this.$spawnChunk = $var4; $this.$spawnForced = 0; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, $var4, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_EntityPlayer_getBedOrientationInDegrees = $this => { let var$1; a: { var$1 = $this.$playerLocation; if (var$1 !== null) switch (nms_World_getBlockMetadata($this.$worldObj, var$1.$posX0, var$1.$posY0, var$1.$posZ0) & 3) { case 0: return 90.0; case 1: return 0.0; case 2: return 270.0; case 3: return 180.0; default: break a; } } return 0.0; }, nms_EntityPlayer_isPlayerSleeping = $this => { return $this.$sleeping; }, nms_EntityPlayer_getHideCape = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; return !(var$2.$watchedObject.$value2 & 1 << $par1) ? 0 : 1; }, nms_EntityPlayer_setSpawnChunk = ($this, $par1ChunkCoordinates, $par2) => { let var$3; if ($par1ChunkCoordinates === null) { $this.$spawnChunk = null; $this.$spawnForced = 0; } else { var$3 = new nms_ChunkCoordinates; var$3.$posX0 = $par1ChunkCoordinates.$posX0; var$3.$posY0 = $par1ChunkCoordinates.$posY0; var$3.$posZ0 = $par1ChunkCoordinates.$posZ0; $this.$spawnChunk = var$3; $this.$spawnForced = $par2; } }, nms_EntityPlayer_triggerAchievement = ($this, $par1StatBase) => { $this.$addStat($par1StatBase, 1); }, nms_EntityPlayer_addStat = ($this, $par1StatBase, $par2) => { return; }; let nms_EntityPlayer_jump = $this => { let var$1; nms_EntityLivingBase_jump($this); nms_StatList_$callClinit(); nms_EntityClientPlayerMP_addStat($this, nms_StatList_jumpStat, 1); if (!nms_Entity_getFlag($this, 3)) { if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { var$1 = $this.$foodStats; var$1.$foodExhaustionLevel = jl_Math_minImpl(var$1.$foodExhaustionLevel + 0.20000000298023224, 40.0); } } else if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { var$1 = $this.$foodStats; var$1.$foodExhaustionLevel = jl_Math_minImpl(var$1.$foodExhaustionLevel + 0.800000011920929, 40.0); } }, nms_EntityPlayer_moveEntityWithHeading = ($this, $par1, $par2) => { let $var3, $var5, $var7, var$6, $var9, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();var$6 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$posX; $var5 = $this.$posY; $var7 = $this.$posZ; var$6 = $this.$capabilities; if (var$6.$isFlying && $this.$ridingEntity === null) { $var9 = $this.$motionY; $var11 = $this.$jumpMovementFactor; $this.$jumpMovementFactor = var$6.$flySpeed; $ptr = 2; continue main; } $ptr = 1; case 1: nms_EntityLivingBase_moveEntityWithHeading($this, $par1, $par2); if ($rt_suspending()) { break main; } nms_EntityPlayer_addMovementStat($this, $this.$posX - $var3, $this.$posY - $var5, $this.$posZ - $var7); return; case 2: nms_EntityLivingBase_moveEntityWithHeading($this, $par1, $par2); if ($rt_suspending()) { break main; } $this.$motionY = $var9 * 0.6; $this.$jumpMovementFactor = $var11; nms_EntityPlayer_addMovementStat($this, $this.$posX - $var3, $this.$posY - $var5, $this.$posZ - $var7); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, $var5, $var7, var$6, $var9, $var11, $ptr); }, nms_EntityPlayer_getAIMoveSpeed = $this => { let var$1; var$1 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_movementSpeed); if (var$1.$field_111133_g) { var$1.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$1); var$1.$field_111133_g = 0; } return var$1.$field_111139_h; }, nms_EntityPlayer_addMovementStat = ($this, $par1, $par3, $par5) => { let var$4, $var7, var$6, $var7_0; if ($this.$ridingEntity === null) { nms_Material_$callClinit(); if (nms_Entity_isInsideOfMaterial($this, nms_Material_water)) { var$4 = jl_Math_sqrt($par1 * $par1 + $par3 * $par3 + $par5 * $par5) * 100.0; $var7 = var$4 + jl_Math_sign0(var$4) * 0.5 | 0; if ($var7 > 0) { nms_StatList_$callClinit(); nms_EntityClientPlayerMP_addStat($this, nms_StatList_distanceDoveStat, $var7); var$4 = 0.014999999664723873 * $var7 * 0.009999999776482582; if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { var$6 = $this.$foodStats; var$6.$foodExhaustionLevel = jl_Math_minImpl(var$6.$foodExhaustionLevel + var$4, 40.0); } } } else if ($this.$inWater) { var$4 = jl_Math_sqrt($par1 * $par1 + $par5 * $par5) * 100.0; $var7 = var$4 + jl_Math_sign0(var$4) * 0.5 | 0; if ($var7 > 0) { nms_StatList_$callClinit(); nms_EntityClientPlayerMP_addStat($this, nms_StatList_distanceSwumStat, $var7); var$4 = 0.014999999664723873 * $var7 * 0.009999999776482582; if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { var$6 = $this.$foodStats; var$6.$foodExhaustionLevel = jl_Math_minImpl(var$6.$foodExhaustionLevel + var$4, 40.0); } } } else if (nms_EntityLivingBase_isOnLadder($this)) { if ($par3 > 0.0) { nms_StatList_$callClinit(); var$6 = nms_StatList_distanceClimbedStat; $par1 = $par3 * 100.0; nms_EntityClientPlayerMP_addStat($this, var$6, Long_lo(Long_fromNumber($par1 + jl_Math_sign($par1) * 0.5))); } } else if (!$this.$onGround) { var$4 = jl_Math_sqrt($par1 * $par1 + $par5 * $par5) * 100.0; $var7_0 = var$4 + jl_Math_sign0(var$4) * 0.5 | 0; if ($var7_0 > 25) { nms_StatList_$callClinit(); nms_EntityClientPlayerMP_addStat($this, nms_StatList_distanceFlownStat, $var7_0); } } else { var$4 = jl_Math_sqrt($par1 * $par1 + $par5 * $par5) * 100.0; $var7_0 = var$4 + jl_Math_sign0(var$4) * 0.5 | 0; if ($var7_0 > 0) { nms_StatList_$callClinit(); nms_EntityClientPlayerMP_addStat($this, nms_StatList_distanceWalkedStat, $var7_0); if (!nms_Entity_getFlag($this, 3)) { var$4 = 0.009999999776482582 * $var7_0 * 0.009999999776482582; if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { var$6 = $this.$foodStats; var$6.$foodExhaustionLevel = jl_Math_minImpl(var$6.$foodExhaustionLevel + var$4, 40.0); } } else { var$4 = 0.09999999403953552 * $var7_0 * 0.009999999776482582; if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { var$6 = $this.$foodStats; var$6.$foodExhaustionLevel = jl_Math_minImpl(var$6.$foodExhaustionLevel + var$4, 40.0); } } } } } }, nms_EntityPlayer_addMountedMovementStat = ($this, $par1, $par3, $par5) => { let var$4, $var7, var$6, var$7, var$8, var$9, var$10; if ($this.$ridingEntity !== null) { var$4 = jl_Math_sqrt($par1 * $par1 + $par3 * $par3 + $par5 * $par5) * 100.0; $var7 = var$4 + jl_Math_sign0(var$4) * 0.5 | 0; if ($var7 > 0) { var$6 = $this.$ridingEntity; if (!(var$6 instanceof nms_EntityMinecart)) { if (var$6 instanceof nms_EntityBoat) { nms_StatList_$callClinit(); $this.$addStat(nms_StatList_distanceByBoatStat, $var7); } else if (var$6 instanceof nms_EntityPig) { nms_StatList_$callClinit(); $this.$addStat(nms_StatList_distanceByPigStat, $var7); } } else { nms_StatList_$callClinit(); $this.$addStat(nms_StatList_distanceByMinecartStat, $var7); var$6 = $this.$startMinecartRidingCoordinate; if (var$6 === null) { var$6 = new nms_ChunkCoordinates; $par1 = $this.$posX; var$7 = $par1 | 0; if ($par1 < var$7) var$7 = var$7 - 1 | 0; $par1 = $this.$posY; var$8 = $par1 | 0; if ($par1 < var$8) var$8 = var$8 - 1 | 0; $par1 = $this.$posZ; $var7 = $par1 | 0; if ($par1 < $var7) $var7 = $var7 - 1 | 0; var$6.$posX0 = var$7; var$6.$posY0 = var$8; var$6.$posZ0 = $var7; $this.$startMinecartRidingCoordinate = var$6; } else { $par1 = $this.$posX; var$7 = $par1 | 0; if ($par1 < var$7) var$7 = var$7 - 1 | 0; $par1 = $this.$posY; var$8 = $par1 | 0; if ($par1 < var$8) var$8 = var$8 - 1 | 0; $par1 = $this.$posZ; $var7 = $par1 | 0; if ($par1 < $var7) $var7 = $var7 - 1 | 0; var$4 = var$6.$posX0 - var$7 | 0; var$9 = var$6.$posY0 - var$8 | 0; var$10 = var$6.$posZ0 - $var7 | 0; if (var$4 * var$4 + var$9 * var$9 + var$10 * var$10 >= 1000000.0) { nms_AchievementList_$callClinit(); $this.$addStat(nms_AchievementList_onARail, 1); } } } } } }, nms_EntityPlayer_fall = ($this, $par1) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$capabilities.$allowFlying) return; if ($par1 >= 2.0) { nms_StatList_$callClinit(); var$2 = nms_StatList_distanceFallenStat; var$3 = $par1 * 100.0; $this.$addStat(var$2, Long_lo(Long_fromNumber(var$3 + jl_Math_sign(var$3) * 0.5))); } $ptr = 1; case 1: nms_EntityLivingBase_fall($this, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, $ptr); }, nms_EntityPlayer_onKillEntity = ($this, $par1EntityLivingBase) => { if ($rt_isInstance($par1EntityLivingBase, nms_IMob)) { nms_AchievementList_$callClinit(); $this.$addStat(nms_AchievementList_killEnemy, 1); } }, nms_EntityPlayer_setInWeb = $this => { if (!$this.$capabilities.$isFlying) { $this.$isInWeb = 1; $this.$fallDistance = 0.0; } }, nms_EntityPlayer_getItemIcon = ($this, $par1ItemStack, $par2) => { let var$3, $var4, var$5; nms_Item_$callClinit(); var$3 = nms_Item_itemsList.data[$par1ItemStack.$itemID].$getIconFromDamage($par1ItemStack.$itemDamage); $var4 = $par1ItemStack.$itemID; var$5 = nms_Item_fishingRod; if ($var4 == var$5.$itemID0 && $this.$fishEntity !== null) var$3 = var$5.$theIcon2; else { if (nms_Item_itemsList.data[$var4].$requiresMultipleRenderPasses()) return nms_Item_itemsList.data[$par1ItemStack.$itemID].$getIconFromDamageForRenderPass($par1ItemStack.$itemDamage, $par2); if ($this.$itemInUse !== null) { $par2 = $par1ItemStack.$itemID; if ($par2 == nms_Item_bow.$itemID0) { $var4 = nms_Item_itemsList.data[$par2].$getMaxItemUseDuration($par1ItemStack) - $this.$itemInUseCount | 0; if ($var4 >= 18) return nms_Item_bow.$iconArray4.data[2]; if ($var4 > 13) return nms_Item_bow.$iconArray4.data[1]; if ($var4 > 0) return nms_Item_bow.$iconArray4.data[0]; } } } return var$3; }, nms_EntityPlayer_addExperience = ($this, $par1) => { let var$2, var$3, $var2, var$5, var$6, var$7, var$8, var$9, var$10; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[146]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { $var2 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[$var2 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var2) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var2 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; var$2 = $this.$dataWatcher; var$7 = $var2 + $par1 | 0; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$7; } var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[146]; if (var$8 === null) { var$9 = var$3.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$7 = var$8.$value0; var$5 = var$3.$elementData.data; var$9 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$7) { var$3 = var$9.$key; if (var$8 !== var$3 && !(var$8 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$9 = var$9.$next3; } } var$9 = var$9 === null ? null : var$9.$value1; var$3 = var$9.$watchedObject; if (!(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6.$value0 ? 1 : 0)) { var$9.$watchedObject = var$6; var$9.$watched = 1; var$2.$objectChanged = 1; } $var2 = 2147483647 - $this.$experienceTotal | 0; if ($par1 <= $var2) $var2 = $par1; $this.$experience = $this.$experience + $var2 / nms_EntityPlayer_xpBarCap($this); $this.$experienceTotal = $this.$experienceTotal + $var2 | 0; while (true) { var$10 = $this.$experience; if (var$10 < 1.0) break; $this.$experience = (var$10 - 1.0) * nms_EntityPlayer_xpBarCap($this); nms_EntityPlayer_addExperienceLevel($this, 1); $this.$experience = $this.$experience / nms_EntityPlayer_xpBarCap($this); } }, nms_EntityPlayer_addExperienceLevel = ($this, $par1) => { let var$2, $var2; var$2 = $this.$experienceLevel + $par1 | 0; $this.$experienceLevel = var$2; if (var$2 < 0) { $this.$experienceLevel = 0; $this.$experience = 0.0; $this.$experienceTotal = 0; } if ($par1 > 0) { $par1 = $this.$experienceLevel; if (!($par1 % 5 | 0) && $this.$field_82249_h < $this.$ticksExisted - 100.0) { $var2 = $par1 > 30 ? 1.0 : $par1 / 30.0; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1319), $var2 * 0.75, 1.0); $this.$field_82249_h = $this.$ticksExisted; } } }, nms_EntityPlayer_xpBarCap = $this => { let var$1; var$1 = $this.$experienceLevel; return var$1 >= 30 ? 62 + ((var$1 - 30 | 0) * 7 | 0) | 0 : var$1 < 15 ? 17 : 17 + ((var$1 - 15 | 0) * 3 | 0) | 0; }, nms_EntityPlayer_addExhaustion = ($this, $par1) => { let var$2; if (!$this.$capabilities.$disableDamage && !$this.$worldObj.$isRemote) { var$2 = $this.$foodStats; var$2.$foodExhaustionLevel = jl_Math_minImpl(var$2.$foodExhaustionLevel + $par1, 40.0); } }, nms_EntityPlayer_getFoodStats = $this => { return $this.$foodStats; }, nms_EntityPlayer_shouldHeal = $this => { let var$1, var$2, var$3; a: { if (nms_EntityLivingBase_getHealth($this) > 0.0) { var$1 = nms_EntityLivingBase_getHealth($this); var$2 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_maxHealth); if (var$2.$field_111133_g) { var$2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$2); var$2.$field_111133_g = 0; } if (var$1 < var$2.$field_111139_h) { var$3 = 1; break a; } } var$3 = 0; } return var$3; }, nms_EntityPlayer_isCurrentToolAdventureModeExempt = ($this, $par1, $par2, $par3) => { let $var4, $var5, var$6, var$7; if ($this.$capabilities.$allowEdit) return 1; a: { $var4 = nms_World_getBlockId($this.$worldObj, $par1, $par2, $par3); if ($var4 > 0) { nms_Block_$callClinit(); $var5 = nms_Block_blocksList.data[$var4]; if ($var5.$blockMaterial.$isAdventureModeExempt) return 1; var$6 = $this.$inventory; $par2 = var$6.$currentItem; $par1 = $rt_compare($par2, 9); if (($par1 < 0 && $par2 >= 0 ? var$6.$mainInventory.data[$par2] : null) !== null) { var$7 = $par1 < 0 && $par2 >= 0 ? var$6.$mainInventory.data[$par2] : null; nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$7.$itemID].$canHarvestBlock($var5)) break a; if (nms_Item_itemsList.data[var$7.$itemID].$getStrVsBlock(var$7, $var5) > 1.0) break a; } } return 0; } return 1; }, nms_EntityPlayer_getExperiencePoints = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, $var2, var$6, var$7; a: { var$2 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; var$3 = $rt_s(1297); $par1EntityPlayer = $rt_s(1297); if (var$3 !== $par1EntityPlayer) { var$4 = var$3.$nativeString.length; $var2 = $par1EntityPlayer.$nativeString.length; if (var$4 < $var2) $var2 = var$4; var$4 = 0; b: { while (true) { if (var$4 >= $var2) { var$3.$nativeString.length; $par1EntityPlayer.$nativeString.length; break a; } if (var$4 < 0) break b; if (var$4 >= var$3.$nativeString.length) break b; var$6 = var$3.$nativeString.charCodeAt(var$4); if (var$4 < 0) break; if (var$4 >= $par1EntityPlayer.$nativeString.length) break; if (var$6 - $par1EntityPlayer.$nativeString.charCodeAt(var$4) | 0) break a; var$4 = var$4 + 1 | 0; } $par1EntityPlayer = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } } $par1EntityPlayer = $rt_s(1297); c: { d: { e: while (true) { if (var$2 === null) { var$2 = null; break c; } f: { var$3 = var$2.$key0; if ($par1EntityPlayer === var$3) $var2 = 0; else { var$4 = $par1EntityPlayer.$nativeString.length; var$6 = var$3.$nativeString.length; if (var$4 < var$6) var$6 = var$4; var$4 = 0; while (true) { if (var$4 >= var$6) { $var2 = $par1EntityPlayer.$nativeString.length - var$3.$nativeString.length | 0; break f; } if (var$4 < 0) break d; if (var$4 >= $par1EntityPlayer.$nativeString.length) break d; var$7 = $par1EntityPlayer.$nativeString.charCodeAt(var$4); if (var$4 < 0) break e; if (var$4 >= var$3.$nativeString.length) break e; $var2 = var$7 - var$3.$nativeString.charCodeAt(var$4) | 0; if ($var2) break; var$4 = var$4 + 1 | 0; } } } if (!$var2) break c; var$2 = $var2 >= 0 ? var$2.$right : var$2.$left; } $par1EntityPlayer = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } $par1EntityPlayer = var$2 === null ? null : var$2.$value4; if ($par1EntityPlayer === null ? 0 : $par1EntityPlayer.$valueBoolean) return 0; $var2 = $this.$experienceLevel * 7 | 0; if ($var2 > 100) $var2 = 100; return $var2; }, nms_EntityPlayer_isPlayer = $this => { return 1; }, nms_EntityPlayer_getEntityName = $this => { return $this.$username; }, nms_EntityPlayer_canTriggerWalking = $this => { return $this.$capabilities.$isFlying ? 0 : 1; }, nms_EntityPlayer_getCommandSenderName = $this => { return $this.$username; }, nms_EntityPlayer_getCurrentItemOrArmor = ($this, $par1) => { let var$2, var$3; if ($par1) var$2 = $this.$inventory.$armorInventory.data[$par1 - 1 | 0]; else { var$2 = $this.$inventory; var$3 = var$2.$currentItem; var$2 = var$3 < 9 && var$3 >= 0 ? var$2.$mainInventory.data[var$3] : null; } return var$2; }, nms_EntityPlayer_getHeldItem = $this => { let var$1, var$2; var$1 = $this.$inventory; var$2 = var$1.$currentItem; return var$2 < 9 && var$2 >= 0 ? var$1.$mainInventory.data[var$2] : null; }, nms_EntityPlayer_setCurrentItemOrArmor = ($this, $par1, $par2ItemStack) => { $this.$inventory.$armorInventory.data[$par1] = $par2ItemStack; }, nms_EntityPlayer_isInvisibleToPlayer = ($this, $par1EntityPlayer) => { let $var2; if (!nms_Entity_getFlag($this, 5)) return 0; $var2 = nms_EntityPlayer_getTeam($this); return $var2 !== null && $par1EntityPlayer !== null && nms_EntityPlayer_getTeam($par1EntityPlayer) === $var2 && $var2.$field_98301_h ? 0 : 1; }, nms_EntityPlayer_getLastActiveItems = $this => { return $this.$inventory.$armorInventory; }, nms_EntityPlayer_getHideCape0 = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return !(var$1.$watchedObject.$value2 & 2) ? 0 : 1; }, nms_EntityPlayer_isPushedByWater = $this => { return $this.$capabilities.$isFlying ? 0 : 1; }, nms_EntityPlayer_getWorldScoreboard = $this => { return $this.$worldObj.$worldScoreboard; }, nms_EntityPlayer_getTeam = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $this.$worldObj.$worldScoreboard; var$2 = $this.$username; var$1 = var$1.$teamMemberships; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { a: { if (!var$2.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= var$2.$nativeString.length) break a; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = var$2.$hashCode1; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { b: { var$6 = var$1.$key; if (var$2 !== var$6) { if (var$2 === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = var$2.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$1 = var$1.$next3; } } return var$1 === null ? null : var$1.$value1; }, nms_EntityPlayer_getTranslatedEntityName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$worldObj.$worldScoreboard; var$2 = $this.$username; var$1 = var$1.$teamMemberships; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { a: { if (!var$2.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= var$2.$nativeString.length) break a; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = var$2.$hashCode1; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { b: { var$6 = var$1.$key; if (var$2 !== var$6) { if (var$2 === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = var$2.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$1 = var$1.$next3; } } var$2 = var$1 === null ? null : var$1.$value1; c: { var$2 = var$2; var$1 = $this.$username; if (var$2 !== null) { var$6 = var$2.$field_96674_e; var$7 = var$2.$colorSuffix; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = var$2.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_StringBuilder_insert(var$2, var$3, var$6); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_StringBuilder_insert(var$2, var$3, var$1); var$3 = var$2.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_StringBuilder_insert(var$2, var$3, var$7); var$1 = new jl_String; var$5 = var$2.$buffer; var$8 = var$5.data; var$9 = var$2.$length0; var$4 = var$8.length; if (var$9 < 0) break c; if (var$9 > (var$4 - 0 | 0)) break c; var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$9); } return var$1; } var$2 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$2); $rt_throw(var$2); }, nms_EntityPlayer_setAbsorptionAmount = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; if ($par1 < 0.0) $par1 = 0.0; var$2 = $this.$dataWatcher; var$3 = new jl_Float; var$3.$value3 = $par1; var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[145]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; var$4 = var$5.$watchedObject; if (var$3 === var$4) var$9 = 1; else a: { if (var$4 instanceof jl_Float) { var$10 = var$3.$value3; $par1 = var$4.$value3; if (var$10 !== var$10 ? ($par1 === $par1 ? 0 : 1) : $rt_floatToRawIntBits(var$10) != $rt_floatToRawIntBits($par1) ? 0 : 1) { var$9 = 1; break a; } } var$9 = 0; } if (!var$9) { var$5.$watchedObject = var$3; var$5.$watched = 1; var$2.$objectChanged = 1; } }, nms_EntityPlayer_getAbsorptionAmount = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[145]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject.$value3; }; function nms_GuiAchievement() { let a = this; nms_Gui.call(a); a.$theGame = null; a.$achievementWindowWidth = 0; a.$achievementWindowHeight = 0; a.$achievementGetLocalText = null; a.$achievementStatName = null; a.$theAchievement = null; a.$achievementTime = Long_ZERO; a.$itemRender = null; a.$haveAchiement = 0; } let nms_GuiAchievement_achievementTextures = null, nms_GuiAchievement_$callClinit = () => { nms_GuiAchievement_$callClinit = $rt_eraseClinit(nms_GuiAchievement); nms_GuiAchievement__clinit_(); }, nms_GuiAchievement_updateAchievementWindowScale = $this => { let var$1, var$2, var$3, var$4, var$5, $var1; var$1 = $this.$theGame; var$2 = var$1.$displayWidth; var$3 = var$1.$displayHeight; nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2__wglViewport(0, 0, var$2, var$3); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_matrixMode = 5888; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); var$1 = $this.$theGame; var$4 = var$1.$displayWidth; $this.$achievementWindowWidth = var$4; var$5 = var$1.$displayHeight; $this.$achievementWindowHeight = var$5; $var1 = nms_ScaledResolution__init_(var$1.$gameSettings, var$4, var$5); $this.$achievementWindowWidth = $var1.$scaledWidth; $this.$achievementWindowHeight = $var1.$scaledHeight; nlea_EaglerAdapterImpl2_webgl.clear(256); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, $this.$achievementWindowWidth, $this.$achievementWindowHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); var$1 = nleg_EaglerAdapterGL30_deevis; var$1.$x = 0.0; var$1.$y = 0.0; var$1.$z = (-2000.0); var$1 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$1, var$1); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; $var1 = new ji_ByteArrayOutputStream; $var1.$buf = $rt_createByteArray(32); var$1.$out0 = $var1; $var1 = new jl_StringBuilder; $var1.$buffer = $rt_createCharArray(16); var$1.$sb = $var1; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_GuiAchievement_updateAchievementWindow = $this => { let $var1, $var3, $var5, $var6, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($this.$theAchievement !== null && Long_ne($this.$achievementTime, Long_ZERO)) { nlea_EaglerAdapterImpl2_$callClinit(); $var1 = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$achievementTime)) / 3000.0; if ($this.$haveAchiement) break a; if ($var1 >= 0.0 && $var1 <= 1.0) break a; $this.$achievementTime = Long_ZERO; } return; } nms_GuiAchievement_updateAchievementWindowScale($this); nleg_EaglerAdapterGL30_glDisable(2929); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } $var3 = $var1 * 2.0; if ($var3 > 1.0) $var3 = 2.0 - $var3; $var1 = 1.0 - $var3 * 4.0; if ($var1 < 0.0) $var1 = 0.0; $var1 = $var1 * $var1; $var3 = $var1 * $var1; $var5 = $this.$achievementWindowWidth - 160 | 0; $var6 = 0 - ($var3 * 36.0 | 0) | 0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glEnable(3553); var$5 = nms_GuiAchievement_achievementTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$5); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(2896); nms_Gui_drawTexturedModalRect($this, $var5, $var6, 96, 202, 160, 32); if (!$this.$haveAchiement) { var$5 = $this.$theGame.$fontRenderer0; var$6 = $this.$achievementGetLocalText; var$7 = $var5 + 30 | 0; var$8 = $var6 + 7 | 0; var$9 = (-256); var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = 0; $ptr = 2; continue main; } var$11 = $this.$theGame.$fontRenderer0; var$6 = $this.$achievementStatName; var$12 = $var5 + 30 | 0; var$13 = $var6 + 7 | 0; var$11.$randomStyle = 0; var$11.$boldStyle = 0; var$11.$italicStyle = 0; var$11.$underlineStyle = 0; var$11.$strikethroughStyle = 0; var$11.$textColor = (-1); while (var$6 !== null && jl_String_endsWith(var$6, $rt_s(469))) { var$6 = jl_String_substring(var$6, 0, var$6.$nativeString.length - 1 | 0); } var$10 = 0; var$5 = nms_FontRenderer_wrapFormattedStringToWidth(var$11, var$6, 120); var$14 = jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), var$5, 0); if (var$14 === null) { var$6 = new jl_NullPointerException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; var$6.$message = $rt_s(18); $rt_throw(var$6); } var$6 = new ju_Arrays$ArrayAsList; var$6.$array2 = var$14; var$9 = var$6.$modCount; var$15 = var$6.$size(); if (0 >= var$15 ? 0 : 1) { if (var$9 < var$6.$modCount) { var$5 = new ju_ConcurrentModificationException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } var$8 = 0 + 1 | 0; var$5 = var$6.$get(0); var$7 = var$11.$textColor; $ptr = 5; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = (-1.0); var$5.$z = 1.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_glEnable(2896); var$5 = $this.$itemRender; var$6 = $this.$theGame; var$11 = var$6.$fontRenderer0; var$16 = var$6.$renderEngine; var$6 = $this.$theAchievement.$theItemStack; var$10 = $var5 + 8 | 0; var$7 = $var6 + 8 | 0; $ptr = 4; continue main; case 2: nms_FontRenderer_renderString(var$5, var$6, var$7, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $this.$theGame.$fontRenderer0; var$6 = $this.$achievementStatName; var$8 = $var6 + 18 | 0; var$9 = (-1); var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = 0; $ptr = 3; case 3: nms_FontRenderer_renderString(var$5, var$6, var$7, var$8, var$9, var$10); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = (-1.0); var$5.$z = 1.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_glEnable(2896); var$5 = $this.$itemRender; var$6 = $this.$theGame; var$11 = var$6.$fontRenderer0; var$16 = var$6.$renderEngine; var$6 = $this.$theAchievement.$theItemStack; var$10 = $var5 + 8 | 0; var$7 = $var6 + 8 | 0; $ptr = 4; case 4: nms_RenderItem_renderItemAndEffectIntoGUI(var$5, var$11, var$16, var$6, var$10, var$7); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(2896); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glEnable(2929); return; case 5: nms_FontRenderer_renderString(var$11, var$5, var$12, var$13, var$7, var$10); if ($rt_suspending()) { break main; } var$13 = var$13 + var$11.$FONT_HEIGHT | 0; var$17 = var$8; if (var$17 >= var$15 ? 0 : 1) { if (var$9 < var$6.$modCount) { var$5 = new ju_ConcurrentModificationException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } var$8 = var$17 + 1 | 0; var$5 = var$6.$get(var$17); var$7 = var$11.$textColor; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = (-1.0); var$5.$z = 1.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_glEnable(2896); var$5 = $this.$itemRender; var$6 = $this.$theGame; var$11 = var$6.$fontRenderer0; var$16 = var$6.$renderEngine; var$6 = $this.$theAchievement.$theItemStack; var$10 = $var5 + 8 | 0; var$7 = $var6 + 8 | 0; $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, $var5, $var6, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_GuiAchievement__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1320); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiAchievement_achievementTextures = var$1; }; function nms_EntityRenderer() { let a = this; jl_Object.call(a); a.$mc0 = null; a.$farPlaneDistance = 0.0; a.$itemRenderer0 = null; a.$rendererUpdateCount = 0; a.$pointedEntity = null; a.$mouseFilterXAxis = null; a.$mouseFilterYAxis = null; a.$thirdPersonDistance = 0.0; a.$thirdPersonDistanceTemp = 0.0; a.$debugCamYaw = 0.0; a.$prevDebugCamYaw = 0.0; a.$debugCamPitch = 0.0; a.$prevDebugCamPitch = 0.0; a.$smoothCamYaw = 0.0; a.$smoothCamPitch = 0.0; a.$smoothCamFilterX = 0.0; a.$smoothCamFilterY = 0.0; a.$smoothCamPartialTicks = 0.0; a.$debugCamFOV = 0.0; a.$prevDebugCamFOV = 0.0; a.$camRoll = 0.0; a.$prevCamRoll = 0.0; a.$lightmapTexture = 0; a.$lightmapColors = null; a.$fovModifierHand = 0.0; a.$fovModifierHandPrev = 0.0; a.$fovMultiplierTemp = 0.0; a.$field_82831_U = 0.0; a.$field_82832_V = 0.0; a.$cloudFog = 0; a.$cameraZoom = 0.0; a.$cameraYaw0 = 0.0; a.$cameraPitch0 = 0.0; a.$prevFrameTime0 = Long_ZERO; a.$renderEndNanoTime = Long_ZERO; a.$lightmapUpdateNeeded = 0; a.$torchFlickerX = 0.0; a.$torchFlickerDX = 0.0; a.$torchFlickerY = 0.0; a.$torchFlickerDY = 0.0; a.$random = null; a.$rainSoundCounter = 0; a.$rainXCoords = null; a.$rainYCoords = null; a.$fogColorBuffer = null; a.$fogColorRed = 0.0; a.$fogColorGreen = 0.0; a.$fogColorBlue = 0.0; a.$fogColor2 = 0.0; a.$fogColor1 = 0.0; a.$debugViewDirection = 0; a.$startup = 0; a.$preStartup = 0; a.$asdfghjkl = 0; a.$tmpMatrix = null; } let nms_EntityRenderer_locationRainPng = null, nms_EntityRenderer_locationSnowPng = null, nms_EntityRenderer_anaglyphEnable = 0, nms_EntityRenderer_anaglyphField = 0, nms_EntityRenderer_$callClinit = () => { nms_EntityRenderer_$callClinit = $rt_eraseClinit(nms_EntityRenderer); nms_EntityRenderer__clinit_(); }, nms_EntityRenderer__init_0 = ($this, $par1Minecraft) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; nms_EntityRenderer_$callClinit(); $this.$mouseFilterXAxis = new nms_MouseFilter; $this.$mouseFilterYAxis = new nms_MouseFilter; $this.$thirdPersonDistance = 4.0; $this.$thirdPersonDistanceTemp = 4.0; $this.$cameraZoom = 1.0; nlea_EaglerAdapterImpl2_$callClinit(); $this.$prevFrameTime0 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2 = new nle_EaglercraftRandom; var$3 = Long_fromNumber(performance.now() * 1000000.0); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = var$3; $this.$random = var$2; nleg_EaglerAdapterGL30_$callClinit(); var$4 = nleg_EaglerAdapterGL30_isWebGL; if (var$4) { var$5 = $rt_createFloatArray(16); var$4 = var$5.data.length; var$2 = new jn_FloatBufferOverArray; var$6 = 0 + var$4 | 0; var$2.$mark = (-1); var$2.$capacity = var$4; var$2.$limit0 = var$4; var$2.$position0 = 0; var$2.$limit0 = var$6; var$2.$start2 = 0; var$2.$readOnly2 = 0; var$2.$array3 = var$5; } else { if (!var$4) { var$2 = new jn_ByteBufferImpl; var$5 = $rt_createByteArray(64); var$2.$mark = (-1); var$2.$capacity = 64; var$2.$limit0 = 64; var$2.$order = jn_ByteOrder_BIG_ENDIAN; var$2.$start = 0; var$2.$array0 = var$5; var$2.$position0 = 0; var$2.$limit0 = 64; var$2.$direct = 1; var$2.$readOnly0 = 0; var$2.$order = jn_ByteOrder_nativeOrder(); } else { var$5 = $rt_createByteArray(64); var$4 = var$5.data.length; if (var$4 >= 0 && var$4 <= (var$4 - 0 | 0)) { var$2 = new jn_ByteBufferImpl; var$7 = 0 + var$4 | 0; var$2.$mark = (-1); var$2.$capacity = var$4; var$2.$limit0 = var$4; var$2.$order = jn_ByteOrder_BIG_ENDIAN; var$2.$start = 0; var$2.$array0 = var$5; var$2.$position0 = 0; var$2.$limit0 = var$7; var$2.$direct = 0; var$2.$readOnly0 = 0; } else { $par1Minecraft = new jl_IndexOutOfBoundsException; $par1Minecraft.$suppressionEnabled = 1; $par1Minecraft.$writableStackTrace = 1; $rt_throw($par1Minecraft); } } var$2 = jn_ByteBufferImpl_asFloatBuffer(var$2); } $this.$fogColorBuffer = var$2; $this.$startup = 0; $this.$preStartup = 0; $this.$asdfghjkl = 0; var$2 = new nlegv_Matrix4f; nlegv_Matrix4f_setIdentity(var$2); $this.$tmpMatrix = var$2; $this.$mc0 = $par1Minecraft; var$2 = new nms_ItemRenderer; nms_ItemRenderer_$callClinit(); var$8 = new nms_RenderBlocks; var$8.$useInventoryTint = 1; var$8.$minecraftRB = nms_Minecraft_theMinecraft; var$2.$renderBlocksInstance0 = var$8; var$2.$equippedItemSlot = (-1); var$2.$mc8 = $par1Minecraft; var$2.$mapItemRenderer = nms_MapItemRenderer__init_($par1Minecraft.$fontRenderer0, $par1Minecraft.$gameSettings, $par1Minecraft.$renderEngine); $this.$itemRenderer0 = var$2; $par1Minecraft = $par1Minecraft.$renderEngine; var$2 = new nle_EaglerImage; var$2.$w0 = 16; var$2.$h = 16; var$2.$alpha = 1; var$2.$data5 = $rt_createIntArray(256); var$8 = nleg_EaglerAdapterGL30_texObjects; var$9 = new nlea_EaglerAdapterImpl2$TextureGL; var$10 = nlea_EaglerAdapterImpl2_webgl.createTexture(); var$9.$w1 = (-1); var$9.$h0 = (-1); var$9.$nearest = 1; var$9.$anisotropic = 0; var$9.$obj1 = var$10; var$11 = nleg_GLObjectMap_register(var$8, var$9); var$8 = nms_GLAllocation_field_74530_b; if (var$11 >= (-128) && var$11 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[var$11 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = var$11; } ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$5 = var$8.$array.data; var$4 = var$8.$size0; var$8.$size0 = var$4 + 1 | 0; var$5[var$4] = var$9; var$8.$modCount = var$8.$modCount + 1 | 0; nms_RenderEngine_setupTextureExt($par1Minecraft, var$2, var$11, 0, 0); nms_IntHashMap_addKey($par1Minecraft.$textureNameToImageMap, var$11, var$2); $this.$lightmapTexture = var$11; $this.$lightmapColors = $rt_createIntArray(256); }, nms_EntityRenderer__init_ = var_0 => { let var_1 = new nms_EntityRenderer(); nms_EntityRenderer__init_0(var_1, var_0); return var_1; }, nms_EntityRenderer_updateRenderer = $this => { let var$1, $var1, $var2, $var3, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityRenderer_updateFovModifierHand($this); nms_EntityRenderer_updateTorchFlicker($this); $this.$fogColor2 = $this.$fogColor1; $this.$thirdPersonDistanceTemp = $this.$thirdPersonDistance; $this.$prevDebugCamYaw = $this.$debugCamYaw; $this.$prevDebugCamPitch = $this.$debugCamPitch; $this.$prevDebugCamFOV = $this.$debugCamFOV; $this.$prevCamRoll = $this.$camRoll; var$1 = $this.$mc0.$gameSettings; if (var$1.$smoothCamera) { $var1 = var$1.$mouseSensitivity * 0.6000000238418579 + 0.20000000298023224; $var2 = $var1 * $var1 * $var1 * 8.0; var$1 = $this.$mouseFilterXAxis; $var3 = $this.$smoothCamYaw; $var2 = 0.05000000074505806 * $var2; $this.$smoothCamFilterX = nms_MouseFilter_smooth(var$1, $var3, $var2); $this.$smoothCamFilterY = nms_MouseFilter_smooth($this.$mouseFilterYAxis, $this.$smoothCamPitch, $var2); $this.$smoothCamPartialTicks = 0.0; $this.$smoothCamYaw = 0.0; $this.$smoothCamPitch = 0.0; } var$1 = $this.$mc0; if (var$1.$renderViewEntity === null) var$1.$renderViewEntity = var$1.$thePlayer; var$5 = var$1.$theWorld; var$1 = var$1.$renderViewEntity; var$6 = var$1.$posX; var$7 = var$6 | 0; if (var$6 < var$7) var$7 = var$7 - 1 | 0; var$6 = var$1.$posY; var$8 = var$6 | 0; if (var$6 < var$8) var$8 = var$8 - 1 | 0; var$6 = var$1.$posZ; var$9 = var$6 | 0; if (var$6 < var$9) var$9 = var$9 - 1 | 0; $var1 = var$5.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do(var$5, var$7, var$8, var$9, 1)]; $var2 = (3 - $this.$mc0.$gameSettings.$renderDistance | 0) / 3.0; $var3 = $var1 * (1.0 - $var2) + $var2; $var2 = $this.$fogColor1; $this.$fogColor1 = $var2 + ($var3 - $var2) * 0.10000000149011612; $this.$rendererUpdateCount = $this.$rendererUpdateCount + 1 | 0; nms_ItemRenderer_updateEquippedItem($this.$itemRenderer0); $ptr = 1; case 1: nms_EntityRenderer_addRainParticles($this); if ($rt_suspending()) { break main; } $var2 = $this.$field_82831_U; $this.$field_82832_V = $var2; if (nms_BossStatus_field_82825_d) { $var2 = $var2 + 0.05000000074505806; $this.$field_82831_U = $var2; if ($var2 > 1.0) $this.$field_82831_U = 1.0; nms_BossStatus_field_82825_d = 0; } else if ($var2 > 0.0) $this.$field_82831_U = $var2 - 0.012500000186264515; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, $var2, $var3, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_EntityRenderer_getMouseOver = ($this, $par1) => { let $var14, $var8, $var2, $var10, $var6, var$7, $var18, var$9, $var13, var$11, var$12, $var7, var$14, var$15, var$16, var$17, var$18, $var17, var$20, $var15, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var15 = $thread.pop();var$20 = $thread.pop();$var17 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var7 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var13 = $thread.pop();var$9 = $thread.pop();$var18 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var10 = $thread.pop();$var2 = $thread.pop();$var8 = $thread.pop();$var14 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var14 = $this.$mc0; $var8 = $var14.$renderViewEntity; if ($var8 !== null && $var14.$theWorld !== null) { $var14.$pointedEntityLiving = null; $var2 = !($var14.$playerController.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) ? 4.5 : 5.0; $var10 = nms_EntityLivingBase_getPosition($var8, $par1); $var6 = nms_EntityLivingBase_getLook($var8, $par1); var$7 = $var6.$xCoord * $var2; $var18 = $var6.$yCoord * $var2; var$9 = $var6.$zCoord * $var2; $var6 = nms_Vec3Pool_getVecFromPool($var10.$myVec3LocalPool, $var10.$xCoord + var$7, $var10.$yCoord + $var18, $var10.$zCoord + var$9); $var8 = $var8.$worldObj; $var13 = 0; var$11 = 0; $ptr = 1; continue main; } return; case 1: $tmp = nms_World_rayTraceBlocks_do_do($var8, $var10, $var6, $var13, var$11); if ($rt_suspending()) { break main; } $var10 = $tmp; $var14.$objectMouseOver = $var10; $var6 = nms_EntityLivingBase_getPosition($this.$mc0.$renderViewEntity, $par1); $var8 = $this.$mc0; if ($var8.$playerController.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) { var$12 = 6.0; $var2 = 6.0; } else { if ($var2 > 3.0) $var2 = 3.0; var$12 = $var2; } $var10 = $var8.$objectMouseOver; if ($var10 !== null) { $var10 = $var10.$hitVec; $var2 = $var6.$xCoord - $var10.$xCoord; $var18 = $var6.$yCoord - $var10.$yCoord; var$7 = $var6.$zCoord - $var10.$zCoord; $var2 = jl_Math_sqrt($var2 * $var2 + $var18 * $var18 + var$7 * var$7); } $var7 = nms_EntityLivingBase_getLook($this.$mc0.$renderViewEntity, $par1); $var18 = $var7.$xCoord * var$12; var$9 = $var7.$yCoord * var$12; var$14 = $var7.$zCoord * var$12; $var8 = nms_Vec3Pool_getVecFromPool($var6.$myVec3LocalPool, $var6.$xCoord + $var18, $var6.$yCoord + var$9, $var6.$zCoord + var$14); $this.$pointedEntity = null; $var10 = $this.$mc0; var$15 = $var10.$theWorld; var$16 = $var10.$renderViewEntity; $var10 = nms_AxisAlignedBB_addCoord(var$16.$boundingBox, $var7.$xCoord * var$12, $var7.$yCoord * var$12, $var7.$zCoord * var$12); var$7 = $var10.$minX - 1.0; $var18 = $var10.$minY - 1.0; var$9 = $var10.$minZ - 1.0; var$12 = $var10.$maxX + 1.0; var$14 = $var10.$maxY + 1.0; var$17 = $var10.$maxZ + 1.0; $var14 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$11 = $var14.$nextPoolIndex; $var10 = $var14.$listAABB; $var13 = $var10.$size0; var$18 = $rt_compare(var$11, $var13); if (var$18 >= 0) { $var17 = new nms_AxisAlignedBB; $var17.$minX = var$7; $var17.$minY = $var18; $var17.$minZ = var$9; $var17.$maxX = var$12; $var17.$maxY = var$14; $var17.$maxZ = var$17; ju_ArrayList_ensureCapacity($var10, $var13 + 1 | 0); var$20 = $var10.$array.data; var$11 = $var10.$size0; $var10.$size0 = var$11 + 1 | 0; var$20[var$11] = $var17; $var10.$modCount = $var10.$modCount + 1 | 0; } else if (var$11 >= 0 && var$18 < 0) { $var17 = $var10.$array.data[var$11]; $var17.$minX = var$7; $var17.$minY = $var18; $var17.$minZ = var$9; $var17.$maxX = var$12; $var17.$maxY = var$14; $var17.$maxZ = var$17; } else { $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); } $var14.$nextPoolIndex = $var14.$nextPoolIndex + 1 | 0; $var10 = nms_World_getEntitiesWithinAABBExcludingEntity(var$15, var$16, $var17, null); $var13 = 0; var$7 = $var2; a: { while (true) { var$11 = $rt_compare($var13, $var10.$size0); if (var$11 >= 0) { $var10 = $this.$pointedEntity; if ($var10 !== null && !(var$7 >= $var2 && $this.$mc0.$objectMouseOver !== null)) { $var14 = $this.$mc0; $var8 = new nms_MovingObjectPosition; $var8.$typeOfHit = nms_EnumMovingObjectType_ENTITY; $var8.$entityHit = $var10; $var8.$hitVec = nms_Vec3Pool_getVecFromPool($var10.$worldObj.$vecPool, $var10.$posX, $var10.$posY, $var10.$posZ); $var14.$objectMouseOver = $var8; $var10 = $this.$pointedEntity; if ($var10 instanceof nms_EntityLivingBase) $this.$mc0.$pointedEntityLiving = $var10; } return; } if ($var13 < 0) break a; if (var$11 >= 0) break a; $var14 = $var10.$array.data[$var13]; if ($var14.$canBeCollidedWith()) { $var15 = $var14.$getCollisionBorderSize(); $var17 = $var14.$boundingBox; var$22 = $var15; $var18 = $var17.$minX - var$22; var$9 = $var17.$minY - var$22; var$12 = $var17.$minZ - var$22; var$14 = $var17.$maxX + var$22; var$17 = $var17.$maxY + var$22; var$23 = $var17.$maxZ + var$22; var$16 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$11 = var$16.$nextPoolIndex; $var17 = var$16.$listAABB; var$24 = $var17.$size0; var$18 = $rt_compare(var$11, var$24); if (var$18 >= 0) { var$15 = new nms_AxisAlignedBB; var$15.$minX = $var18; var$15.$minY = var$9; var$15.$minZ = var$12; var$15.$maxX = var$14; var$15.$maxY = var$17; var$15.$maxZ = var$23; ju_ArrayList_ensureCapacity($var17, var$24 + 1 | 0); var$20 = $var17.$array.data; var$18 = $var17.$size0; $var17.$size0 = var$18 + 1 | 0; var$20[var$18] = var$15; $var17.$modCount = $var17.$modCount + 1 | 0; } else { if (var$11 < 0) break; if (var$18 >= 0) break; var$15 = $var17.$array.data[var$11]; var$15.$minX = $var18; var$15.$minY = var$9; var$15.$minZ = var$12; var$15.$maxX = var$14; var$15.$maxY = var$17; var$15.$maxZ = var$23; } var$16.$nextPoolIndex = var$16.$nextPoolIndex + 1 | 0; $var17 = nms_AxisAlignedBB_calculateIntercept(var$15, $var6, $var8); if (nms_AxisAlignedBB_isVecInside(var$15, $var6)) { if (!(0.0 >= var$7 && var$7 !== 0.0)) { $this.$pointedEntity = $var14; var$7 = 0.0; } } else if ($var17 !== null) { $var17 = $var17.$hitVec; var$14 = $var17.$xCoord - $var6.$xCoord; $var18 = $var17.$yCoord - $var6.$yCoord; var$9 = $var17.$zCoord - $var6.$zCoord; $var18 = jl_Math_sqrt(var$14 * var$14 + $var18 * $var18 + var$9 * var$9); if (!($var18 >= var$7 && var$7 !== 0.0)) { if ($var14 !== $this.$mc0.$renderViewEntity.$ridingEntity) { $this.$pointedEntity = $var14; var$7 = $var18; } else if (var$7 === 0.0) $this.$pointedEntity = $var14; } } } $var13 = $var13 + 1 | 0; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var14, $var8, $var2, $var10, $var6, var$7, $var18, var$9, $var13, var$11, var$12, $var7, var$14, var$15, var$16, var$17, var$18, $var17, var$20, $var15, var$22, var$23, var$24, $ptr); }, nms_EntityRenderer_updateFovModifierHand = $this => { let var$1, var$2; var$1 = nms_EntityPlayerSP_getFOVMultiplier($this.$mc0.$renderViewEntity); $this.$fovMultiplierTemp = var$1; var$2 = $this.$fovModifierHand; $this.$fovModifierHandPrev = var$2; var$1 = var$2 + (var$1 - var$2) * 0.5; $this.$fovModifierHand = var$1; if (var$1 > 1.5) $this.$fovModifierHand = 1.5; if ($this.$fovModifierHand < 0.10000000149011612) $this.$fovModifierHand = 0.10000000149011612; }, nms_EntityRenderer_getFOVModifier = ($this, $par1, $par2) => { let var$3, $var3, $var4, var$6, $var5, $var6; if ($this.$debugViewDirection > 0) return 90.0; var$3 = $this.$mc0; $var3 = var$3.$renderViewEntity; $var4 = 70.0; if ($par2) { var$6 = $var4 + var$3.$gameSettings.$fovSetting * 40.0; $var5 = $this.$fovModifierHandPrev; $var4 = var$6 * ($var5 + ($this.$fovModifierHand - $var5) * $par1); } if (nms_EntityLivingBase_getHealth($var3) <= 0.0) $var4 = $var4 / ((1.0 - 500.0 / ($var3.$deathTime + $par1 + 500.0)) * 2.0 + 1.0); $var6 = nms_ActiveRenderInfo_getBlockIdAtEntityViewpoint($this.$mc0.$theWorld, $var3, $par1); if ($var6) { nms_Block_$callClinit(); var$3 = nms_Block_blocksList.data[$var6].$blockMaterial; nms_Material_$callClinit(); if (var$3 === nms_Material_water) $var4 = $var4 * 60.0 / 70.0; } var$6 = $this.$prevDebugCamFOV; return $var4 + var$6 + ($this.$debugCamFOV - var$6) * $par1; }, nms_EntityRenderer_hurtCameraEffect = ($this, $par1) => { let $var2, $var3, var$4, var$5, $var4, var$7; $var2 = $this.$mc0.$renderViewEntity; $var3 = $var2.$hurtTime - $par1; if (nms_EntityLivingBase_getHealth($var2) <= 0.0) { $par1 = 40.0 - 8000.0 / ($var2.$deathTime + $par1 + 200.0); nleg_EaglerAdapterGL30_$callClinit(); var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 0.0; var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($var3 >= 0.0) { $par1 = $var3 / $var2.$maxHurtTime; $par1 = $par1 * $par1 * $par1 * $par1 * 3.1415927410125732; $par1 = nms_MathHelper_SIN_TABLE.data[($par1 * 10430.3779296875 | 0) & 65535]; $var4 = $var2.$attackedAtYaw; var$7 = -$var4; nleg_EaglerAdapterGL30_$callClinit(); $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = 1.0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$7 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); $var2.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $var2.$sb = var$4; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1 = -$par1 * 14.0; $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = 0.0; $var2.$z = 1.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); $var2.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $var2.$sb = var$4; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = 1.0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var4 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); $var2.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $var2.$sb = var$4; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } }, nms_EntityRenderer_setupViewBobbing = ($this, $par1) => { let $var2, $var4, $var3, $var5, $var6, var$7, var$8, var$9, var$10; $var2 = $this.$mc0.$renderViewEntity; if ($var2 instanceof nms_EntityPlayer) { $var4 = $var2.$distanceWalkedModified; $var4 = -($var4 + ($var4 - $var2.$prevDistanceWalkedModified) * $par1); $var3 = $var2.$prevCameraYaw; $var5 = $var3 + ($var2.$cameraYaw - $var3) * $par1; $var3 = $var2.$prevCameraPitch; $var6 = $var3 + ($var2.$cameraPitch - $var3) * $par1; $var4 = $var4 * 3.1415927410125732; var$7 = nms_MathHelper_SIN_TABLE.data; var$8 = $var4 * 10430.3779296875; var$9 = (var$8 | 0) & 65535; $par1 = var$7[var$9] * $var5 * 0.5; $var3 = -jl_Math_absImpl0(var$7[(var$8 + 16384.0 | 0) & 65535] * $var5); nleg_EaglerAdapterGL30_$callClinit(); $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = $par1; $var2.$y = $var3; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); $var2.$out0 = var$10; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); $var2.$sb = var$10; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var3 = nms_MathHelper_SIN_TABLE.data[var$9] * $var5 * 3.0; $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = 0.0; $var2.$z = 1.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var3 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); $var2.$out0 = var$10; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); $var2.$sb = var$10; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1 = $var4 - 0.20000000298023224; $par1 = jl_Math_absImpl0(nms_MathHelper_SIN_TABLE.data[($par1 * 10430.3779296875 + 16384.0 | 0) & 65535] * $var5) * 5.0; $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 1.0; $var2.$y = 0.0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); $var2.$out0 = var$10; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); $var2.$sb = var$10; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 1.0; $var2.$y = 0.0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var6 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); $var2.$out0 = var$10; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); $var2.$sb = var$10; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } }, nms_EntityRenderer_orientCamera = ($this, $par1) => { let $var2, $var3, $var14, $var16, $var18, $var4, $var6, $var8, $var21, $var22, $var24, var$13, $var12, $var11, $var10, $var20, $var27, $var28, $var13, $var23, $var28_0, var$23, var$24, var$25, var$26, $var25, var$28, var$29, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();$var25 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$var28_0 = $thread.pop();$var23 = $thread.pop();$var13 = $thread.pop();$var28 = $thread.pop();$var27 = $thread.pop();$var20 = $thread.pop();$var10 = $thread.pop();$var11 = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();$var24 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$mc0.$renderViewEntity; $var3 = $var2.$yOffset - 1.6200000047683716; $var14 = $var2.$prevPosX; $var16 = $var2.$posX - $var14; $var18 = $par1; $var4 = $var14 + $var16 * $var18; $var14 = $var2.$prevPosY; $var14 = $var14 + ($var2.$posY - $var14) * $var18; $var16 = $var3; $var6 = $var14 - $var16; $var14 = $var2.$prevPosZ; $var8 = $var14 + ($var2.$posZ - $var14) * $var18; $var21 = $this.$prevCamRoll; $var22 = $var21 + ($this.$camRoll - $var21) * $par1; nleg_EaglerAdapterGL30_$callClinit(); $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 0.0; $var24.$z = 1.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var22 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($var2.$sleeping) { $var3 = $var16 + 1.0; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 0.30000001192092896; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var24 = $this.$mc0; if (!$var24.$gameSettings.$debugCamEnable) { $var24 = $var24.$theWorld; $var14 = $var2.$posX; $var12 = $var14 | 0; if ($var14 < $var12) $var12 = $var12 - 1 | 0; $var14 = $var2.$posY; $var11 = $var14 | 0; if ($var14 < $var11) $var11 = $var11 - 1 | 0; $var14 = $var2.$posZ; $var10 = $var14 | 0; if ($var14 < $var10) $var10 = $var10 - 1 | 0; $var10 = nms_World_getBlockId($var24, $var12, $var11, $var10); nms_Block_$callClinit(); if ($var10 == nms_Block_bed.$blockID) { $var24 = $this.$mc0.$theWorld; $var14 = $var2.$posX; $var12 = $var14 | 0; if ($var14 < $var12) $var12 = $var12 - 1 | 0; $var14 = $var2.$posY; $var11 = $var14 | 0; if ($var14 < $var11) $var11 = $var11 - 1 | 0; $var14 = $var2.$posZ; $var10 = $var14 | 0; if ($var14 < $var10) $var10 = $var10 - 1 | 0; $var21 = (nms_World_getBlockMetadata($var24, $var12, $var11, $var10) & 3) * 90 | 0; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 1.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var21 = $var2.$prevRotationYaw; $var21 = $var21 + ($var2.$rotationYaw - $var21) * $par1 + 180.0; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = (-1.0); $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = $var2.$prevRotationPitch; $var21 = $var21 + ($var2.$rotationPitch - $var21) * $par1; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = (-1.0); $var24.$y = 0.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } else { $var24 = $this.$mc0.$gameSettings; $var20 = $var24.$thirdPersonView; if ($var20 <= 0) { $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 0.0; $var24.$z = (-0.10000000149011612); $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { $var21 = $this.$thirdPersonDistanceTemp; $var27 = $var21 + ($this.$thirdPersonDistance - $var21) * $par1; if ($var24.$debugCamEnable) { $var21 = $this.$prevDebugCamYaw; $var28 = $var21 + ($this.$debugCamYaw - $var21) * $par1; $var21 = $this.$prevDebugCamPitch; $var13 = $var21 + ($this.$debugCamPitch - $var21) * $par1; $var23 = -$var27; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 0.0; $var24.$z = $var23; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 1.0; $var24.$y = 0.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var13 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 1.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var28 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { $var28_0 = $var2.$rotationYaw; $var13 = $var2.$rotationPitch; if ($var20 == 2) $var13 = $var13 + 180.0; $var21 = $var28_0 / 180.0 * 3.1415927410125732; var$23 = nms_MathHelper_SIN_TABLE.data; $var28 = $var21 * 10430.3779296875; $var21 = -var$23[($var28 | 0) & 65535]; $var23 = $var13 / 180.0 * 3.1415927410125732 * 10430.3779296875; $var11 = ($var23 + 16384.0 | 0) & 65535; $var14 = $var21 * var$23[$var11] * $var27; $var16 = var$23[($var28 + 16384.0 | 0) & 65535] * var$23[$var11] * $var27; $var18 = -var$23[($var23 | 0) & 65535] * $var27; $var20 = 0; var$24 = $var4 - $var14; var$25 = $var6 - $var18; var$26 = $var8 - $var16; if ($var20 < 8) { $var21 = (($var20 & 1) * 2 | 0) - 1 | 0; $var22 = (($var20 >> 1 & 1) * 2 | 0) - 1 | 0; $var23 = (($var20 >> 2 & 1) * 2 | 0) - 1 | 0; $var21 = $var21 * 0.10000000149011612; $var22 = $var22 * 0.10000000149011612; $var23 = $var23 * 0.10000000149011612; $var24 = $this.$mc0.$theWorld; var$13 = $var24.$vecPool; $var14 = $var21; $var16 = $var4 + $var14; $var18 = $var22; $var25 = $var6 + $var18; var$28 = $var23; var$29 = nms_Vec3Pool_getVecFromPool(var$13, $var16, $var25, $var8 + var$28); var$13 = nms_Vec3Pool_getVecFromPool($this.$mc0.$theWorld.$vecPool, var$24 + $var14 + var$28, var$25 + $var18, var$26 + var$28); $var10 = 0; $var11 = 0; $ptr = 1; continue main; } if ($this.$mc0.$gameSettings.$thirdPersonView == 2) { $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 1.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var21 = $var2.$rotationPitch - $var13; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 1.0; $var24.$y = 0.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = $var2.$rotationYaw - $var28_0; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 1.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var23 = -$var27; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 0.0; $var24.$z = $var23; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = $var28_0 - $var2.$rotationYaw; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 1.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = $var13 - $var2.$rotationPitch; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 1.0; $var24.$y = 0.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } } if (!$this.$mc0.$gameSettings.$debugCamEnable) { $var21 = $var2.$prevRotationPitch; $var21 = $var21 + ($var2.$rotationPitch - $var21) * $par1; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 1.0; $var24.$y = 0.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = $var2.$prevRotationYaw; $par1 = $var21 + ($var2.$rotationYaw - $var21) * $par1 + 180.0; $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = 1.0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var24 = new ji_ByteArrayOutputStream; $var24.$buf = $rt_createByteArray(32); $var2.$out0 = $var24; $var24 = new jl_StringBuilder; $var24.$buffer = $rt_createCharArray(16); $var2.$sb = $var24; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = $var3; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var24 = new ji_ByteArrayOutputStream; $var24.$buf = $rt_createByteArray(32); $var2.$out0 = $var24; $var24 = new jl_StringBuilder; $var24.$buffer = $rt_createCharArray(16); $var2.$sb = $var24; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $this.$cloudFog = 0; return; case 1: $tmp = nms_World_rayTraceBlocks_do_do($var24, var$29, var$13, $var10, $var11); if ($rt_suspending()) { break main; } $var24 = $tmp; if ($var24 !== null) { $var24 = $var24.$hitVec; var$13 = nms_Vec3Pool_getVecFromPool($this.$mc0.$theWorld.$vecPool, $var4, $var6, $var8); $var14 = var$13.$xCoord - $var24.$xCoord; $var16 = var$13.$yCoord - $var24.$yCoord; $var18 = var$13.$zCoord - $var24.$zCoord; $var25 = jl_Math_sqrt($var14 * $var14 + $var16 * $var16 + $var18 * $var18); if ($var25 < $var27) $var27 = $var25; } $var20 = $var20 + 1 | 0; if ($var20 >= 8) { if ($this.$mc0.$gameSettings.$thirdPersonView == 2) { $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 1.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var21 = $var2.$rotationPitch - $var13; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 1.0; $var24.$y = 0.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = $var2.$rotationYaw - $var28_0; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 1.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var23 = -$var27; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 0.0; $var24.$z = $var23; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = $var28_0 - $var2.$rotationYaw; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 0.0; $var24.$y = 1.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = $var13 - $var2.$rotationPitch; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 1.0; $var24.$y = 0.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if (!$this.$mc0.$gameSettings.$debugCamEnable) { $var21 = $var2.$prevRotationPitch; $var21 = $var21 + ($var2.$rotationPitch - $var21) * $par1; $var24 = nleg_EaglerAdapterGL30_deevis; $var24.$x = 1.0; $var24.$y = 0.0; $var24.$z = 0.0; $var24 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var24, $var24); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var24 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); $var24.$out0 = var$13; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); $var24.$sb = var$13; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var24; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = $var2.$prevRotationYaw; $par1 = $var21 + ($var2.$rotationYaw - $var21) * $par1 + 180.0; $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = 1.0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var24 = new ji_ByteArrayOutputStream; $var24.$buf = $rt_createByteArray(32); $var2.$out0 = $var24; $var24 = new jl_StringBuilder; $var24.$buffer = $rt_createCharArray(16); $var2.$sb = $var24; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = $var3; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var24 = new ji_ByteArrayOutputStream; $var24.$buf = $rt_createByteArray(32); $var2.$out0 = $var24; $var24 = new jl_StringBuilder; $var24.$buffer = $rt_createCharArray(16); $var2.$sb = $var24; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $this.$cloudFog = 0; return; } $var21 = (($var20 & 1) * 2 | 0) - 1 | 0; $var22 = (($var20 >> 1 & 1) * 2 | 0) - 1 | 0; $var23 = (($var20 >> 2 & 1) * 2 | 0) - 1 | 0; $var21 = $var21 * 0.10000000149011612; $var22 = $var22 * 0.10000000149011612; $var23 = $var23 * 0.10000000149011612; $var24 = $this.$mc0.$theWorld; var$13 = $var24.$vecPool; $var14 = $var21; $var16 = $var4 + $var14; $var18 = $var22; $var25 = $var6 + $var18; var$28 = $var23; var$29 = nms_Vec3Pool_getVecFromPool(var$13, $var16, $var25, $var8 + var$28); var$13 = nms_Vec3Pool_getVecFromPool($this.$mc0.$theWorld.$vecPool, var$24 + $var14 + var$28, var$25 + $var18, var$26 + var$28); $var10 = 0; $var11 = 0; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var2, $var3, $var14, $var16, $var18, $var4, $var6, $var8, $var21, $var22, $var24, var$13, $var12, $var11, $var10, $var20, $var27, $var28, $var13, $var23, $var28_0, var$23, var$24, var$25, var$26, $var25, var$28, var$29, $ptr); }, nms_EntityRenderer_setupCameraTransform = ($this, $par1, $par2) => { let $var3, var$4, var$5, $i, $i2, $f, $var4, var$10, $var5, $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$10 = $thread.pop();$var4 = $thread.pop();$f = $thread.pop();$i2 = $thread.pop();$i = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$farPlaneDistance = 256 >> $this.$mc0.$gameSettings.$renderDistance; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); if ($this.$mc0.$gameSettings.$anaglyph) { $var3 = ( -(($par2 * 2 | 0) - 1 | 0) | 0) * 0.07000000029802322; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = $var3; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($this.$cameraZoom !== 1.0) { $var3 = $this.$cameraYaw0; $i = -$this.$cameraPitch0; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = $var3; var$4.$y = $i; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var3 = $this.$cameraZoom; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = $var3; var$4.$y = $var3; var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $i = $this.$startup / 500.0 - 0.4000000059604645; if ($i > 1.0) $i = 1.0; if ($i < 0.0) $i = 0.0; $i2 = $i * $i; if ($i2 <= 0.0) $f = $i2; else { nlea_EaglerAdapterImpl2_$callClinit(); $f = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(10000000))) * 2.0E-4; $var4 = $f * 5.0; var$10 = nms_MathHelper_SIN_TABLE.data; $var4 = $f + var$10[($var4 * 10430.3779296875 | 0) & 65535] * 0.20000000298023224; $f = $i2 * (var$10[($var4 * 10430.3779296875 | 0) & 65535] + var$10[(($var4 * 1.5 + 0.6000000238418579) * 10430.3779296875 | 0) & 65535] + var$10[(($var4 * 0.699999988079071 + 1.7000000476837158) * 10430.3779296875 | 0) & 65535] + var$10[(($var4 * 3.0 + 3.0) * 10430.3779296875 | 0) & 65535] + var$10[(($var4 * 5.25 + 1.2000000476837158) * 10430.3779296875 | 0) & 65535]); } $f = nms_EntityRenderer_getFOVModifier($this, $par1, 1) * (1.0 + $f * 0.007000000216066837); var$4 = $this.$mc0; nleg_EaglerAdapterGL30_gluPerspective($f, var$4.$displayWidth / var$4.$displayHeight, 0.05000000074505806, $this.$farPlaneDistance * 2.0); nleg_EaglerAdapterGL30_matrixMode = 5888; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); if ($this.$mc0.$gameSettings.$anaglyph) { $var3 = (($par2 * 2 | 0) - 1 | 0) * 0.10000000149011612; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = $var3; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nms_EntityRenderer_hurtCameraEffect($this, $par1); if ($this.$mc0.$gameSettings.$viewBobbing) nms_EntityRenderer_setupViewBobbing($this, $par1); if ($i > 0.0) { nlea_EaglerAdapterImpl2_$callClinit(); $f = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(10000000))) * 1.2E-4; $var3 = $f * 3.0; var$10 = nms_MathHelper_SIN_TABLE.data; $var3 = $f + var$10[($var3 * 10430.3779296875 | 0) & 65535] * 0.20000000298023224; $i = $i2 * (var$10[(($var3 * 1.2000000476837158 + 1.0) * 10430.3779296875 | 0) & 65535] + var$10[(($var3 * 1.5 + 0.800000011920929) * 10430.3779296875 | 0) & 65535] * 3.0 + var$10[(($var3 * 0.6000000238418579 + 3.0) * 10430.3779296875 | 0) & 65535] + var$10[($var3 * 4.300000190734863 * 10430.3779296875 | 0) & 65535] + var$10[(($var3 * 5.25 + 0.5) * 10430.3779296875 | 0) & 65535]) * 1.2999999523162842; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 0.0; var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($i * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nlegv_Matrix4f_setIdentity($this.$tmpMatrix); $var3 = $var3 * 2.5; $i = $var3 * 3.0 + 1.0; var$10 = nms_MathHelper_SIN_TABLE.data; $var3 = ($var3 + var$10[($i * 10430.3779296875 | 0) & 65535] * 0.20000000298023224) * 1.2999999523162842 + 3.3413000106811523; $var3 = var$10[(($var3 * 1.5 + 0.699999988079071) * 10430.3779296875 | 0) & 65535] + var$10[(($var3 * 0.6000000238418579 + 1.7000000476837158) * 10430.3779296875 | 0) & 65535] + var$10[(($var3 * 7.0 + 3.0) * 10430.3779296875 | 0) & 65535] * 0.30000001192092896; $var3 = $var3 * $var3; var$4 = $this.$tmpMatrix; var$4.$m10 = $var3 * 0.019999999552965164; var$4.$m30 = $var3 * 0.02800000086426735; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_load(nlegv_Matrix4f_mul(nleg_EaglerAdapterGL30_getMatrixIncrSerial(), var$4, nleg_EaglerAdapterGL30_tmpMat), var$5); } var$4 = $this.$mc0.$thePlayer; $var3 = var$4.$prevTimeInPortal; $var4 = $var3 + (var$4.$timeInPortal - $var3) * $par1; if ($var4 > 0.0) { $var5 = 20; nms_Potion_$callClinit(); if (nms_EntityLivingBase_isPotionActive(var$4, nms_Potion_confusion)) $var5 = 7; $var6 = 5.0 / ($var4 * $var4 + 5.0) - $var4 * 0.03999999910593033; $var3 = $var6 * $var6; $i = $this.$rendererUpdateCount + $par1; $f = $var5; $i = $i * $f; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($i * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var3 = 1.0 / $var3; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = $var3; var$4.$y = 1.0; var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var3 = -($this.$rendererUpdateCount + $par1) * $f; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var3 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $ptr = 1; case 1: nms_EntityRenderer_orientCamera($this, $par1); if ($rt_suspending()) { break main; } $par2 = $this.$debugViewDirection; if ($par2 > 0) { $var7 = $par2 - 1 | 0; if ($var7 == 1) { var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.5707963705062866, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($var7 == 2) { var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($var7 == 3) { var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($var7 == 4) { var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.5707963705062866, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($var7 == 5) { var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, var$5, $i, $i2, $f, $var4, var$10, $var5, $var6, $var7, $ptr); }, nms_EntityRenderer_renderHand = ($this, $par1, $par2) => { let $i, $i2, var$5, $f, var$7, $j, var$9, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();var$9 = $thread.pop();$j = $thread.pop();var$7 = $thread.pop();$f = $thread.pop();var$5 = $thread.pop();$i2 = $thread.pop();$i = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$debugViewDirection <= 0) { nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); $i = $this.$startup / 500.0 - 0.4000000059604645; if ($i > 1.0) $i = 1.0; if ($i < 0.0) $i = 0.0; $i2 = $i * $i; if ($i2 <= 0.0) { $i = nms_EntityRenderer_getFOVModifier($this, $par1, 0); var$5 = $this.$mc0; nleg_EaglerAdapterGL30_gluPerspectiveFlat($i, var$5.$displayWidth / var$5.$displayHeight, 0.05000000074505806, 10.0); } else { nlea_EaglerAdapterImpl2_$callClinit(); $f = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(10000000))) * 3.0E-4; $i = $f * 3.0; var$7 = nms_MathHelper_SIN_TABLE.data; $i = $f + var$7[($i * 10430.3779296875 | 0) & 65535] * 0.20000000298023224; $i2 = $i2 * (var$7[(($i * 1.2000000476837158 + 1.0) * 10430.3779296875 | 0) & 65535] + var$7[(($i * 1.5 + 0.800000011920929) * 10430.3779296875 | 0) & 65535] * 3.0 + var$7[(($i * 0.6000000238418579 + 3.0) * 10430.3779296875 | 0) & 65535] + var$7[($i * 4.300000190734863 * 10430.3779296875 | 0) & 65535] + var$7[(($i * 5.25 + 0.5) * 10430.3779296875 | 0) & 65535]); $i2 = $i2 * $i2; $f = nms_EntityRenderer_getFOVModifier($this, $par1, 0) + $i2 * 0.30000001192092896; var$5 = $this.$mc0; nleg_EaglerAdapterGL30_gluPerspectiveFlat($f, var$5.$displayWidth / var$5.$displayHeight, 0.05000000074505806, 10.0); $i = $i + 3.1321229934692383; $f = $i * 1.2999999523162842; $j = $f + 1.100000023841858; var$7 = nms_MathHelper_SIN_TABLE.data; $i2 = (var$7[($j * 10430.3779296875 | 0) & 65535] + var$7[(($f + 0.800000011920929) * 10430.3779296875 | 0) & 65535] * 3.0 + var$7[(($i * 0.5 + 2.0) * 10430.3779296875 | 0) & 65535]) * 0.5 + $i2 * 0.20000000298023224; $f = $i2 * 0.800000011920929; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 0.0; var$5.$z = 1.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($f * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); var$5.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$5.$sb = var$9; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $i = $i + 1.123123049736023; $f = $i * 1.2999999523162842; $j = $f + 1.100000023841858; var$7 = nms_MathHelper_SIN_TABLE.data; $i = ((var$7[($j * 10430.3779296875 | 0) & 65535] + var$7[(($f + 0.800000011920929) * 10430.3779296875 | 0) & 65535] * 3.0 + var$7[(($i * 0.5 + 2.0) * 10430.3779296875 | 0) & 65535]) * 0.5 + $i2 * 0.20000000298023224) * 0.5; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($i * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); var$5.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$5.$sb = var$9; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($this.$mc0.$gameSettings.$anaglyph) { $var3 = ( -(($par2 * 2 | 0) - 1 | 0) | 0) * 0.07000000029802322; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = $var3; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); var$5.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$5.$sb = var$9; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($this.$cameraZoom !== 1.0) { $var3 = $this.$cameraYaw0; $i = -$this.$cameraPitch0; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = $var3; var$5.$y = $i; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); var$5.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$5.$sb = var$9; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var3 = $this.$cameraZoom; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = $var3; var$5.$y = $var3; var$5.$z = 1.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); var$5.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$5.$sb = var$9; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nleg_EaglerAdapterGL30_matrixMode = 5888; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); if ($this.$mc0.$gameSettings.$anaglyph) { $var3 = (($par2 * 2 | 0) - 1 | 0) * 0.10000000149011612; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = $var3; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); var$5.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$5.$sb = var$9; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nleg_EaglerAdapterGL30_glPushMatrix(); nms_EntityRenderer_hurtCameraEffect($this, $par1); if ($this.$mc0.$gameSettings.$viewBobbing) nms_EntityRenderer_setupViewBobbing($this, $par1); var$5 = $this.$mc0; var$9 = var$5.$gameSettings; if (!var$9.$thirdPersonView && !var$5.$renderViewEntity.$sleeping && !var$9.$hideGUI) { nms_EntityRenderer_enableLightmap($this, $par1); var$5 = $this.$itemRenderer0; $ptr = 2; continue main; } nleg_EaglerAdapterGL30_glPopMatrix(); var$5 = $this.$mc0; if (!var$5.$gameSettings.$thirdPersonView && !var$5.$renderViewEntity.$sleeping) { var$5 = $this.$itemRenderer0; $ptr = 1; continue main; } if ($this.$mc0.$gameSettings.$viewBobbing) nms_EntityRenderer_setupViewBobbing($this, $par1); } return; case 1: nms_ItemRenderer_renderOverlays(var$5, $par1); if ($rt_suspending()) { break main; } nms_EntityRenderer_hurtCameraEffect($this, $par1); if ($this.$mc0.$gameSettings.$viewBobbing) nms_EntityRenderer_setupViewBobbing($this, $par1); return; case 2: nms_ItemRenderer_renderItemInFirstPerson(var$5, $par1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glPopMatrix(); var$5 = $this.$mc0; if (!var$5.$gameSettings.$thirdPersonView && !var$5.$renderViewEntity.$sleeping) { var$5 = $this.$itemRenderer0; $ptr = 1; continue main; } if ($this.$mc0.$gameSettings.$viewBobbing) nms_EntityRenderer_setupViewBobbing($this, $par1); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $i, $i2, var$5, $f, var$7, $j, var$9, $var3, $ptr); }, nms_EntityRenderer_enableLightmap = ($this, $par1) => { nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glBindTexture(3553, $this.$lightmapTexture); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9729); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9729); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10242, 33071); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10243, 33071); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glEnable(3553); $this.$mc0.$renderEngine.$boundTexture = (-1); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); }, nms_EntityRenderer_updateTorchFlicker = $this => { let var$1, var$2, var$3; $this.$torchFlickerDX = $this.$torchFlickerDX + (jl_Math_randomImpl() - jl_Math_randomImpl()) * jl_Math_randomImpl() * jl_Math_randomImpl(); var$1 = $this.$torchFlickerDY + (jl_Math_randomImpl() - jl_Math_randomImpl()) * jl_Math_randomImpl() * jl_Math_randomImpl(); $this.$torchFlickerDY = var$1; var$2 = $this.$torchFlickerDX * 0.9; $this.$torchFlickerDX = var$2; var$1 = var$1 * 0.9; $this.$torchFlickerDY = var$1; var$3 = $this.$torchFlickerX; $this.$torchFlickerX = var$3 + (var$2 - var$3) * 1.0; var$2 = $this.$torchFlickerY; $this.$torchFlickerY = var$2 + (var$1 - var$2) * 1.0; $this.$lightmapUpdateNeeded = 1; }, nms_EntityRenderer_updateLightmap = ($this, $par1) => { let $var2, $var3, $var4, var$5, $var21, $var5, $var6, $var7, $var8, $var11, $var12, $var13, $var14, $var15, $var16, var$17, $var22, $var17, $var18, $var19; $var2 = $this.$mc0.$theWorld; if ($var2 !== null) { $var3 = 0; while ($var3 < 256) { $var4 = nms_World_getSunBrightness($var2, 1.0) * 0.949999988079071 + 0.05000000074505806; var$5 = $var2.$provider.$lightBrightnessTable.data; $var21 = $var3 / 16 | 0; $var5 = var$5[$var21] * $var4; $var6 = var$5[$var3 % 16 | 0] * ($this.$torchFlickerX * 0.10000000149011612 + 1.5); if ($var2.$lastLightningBolt > 0) $var5 = var$5[$var21]; $var7 = $var5 * (nms_World_getSunBrightness($var2, 1.0) * 0.6499999761581421 + 0.3499999940395355); $var8 = $var5 * (nms_World_getSunBrightness($var2, 1.0) * 0.6499999761581421 + 0.3499999940395355); $var11 = $var6 * (($var6 * 0.6000000238418579 + 0.4000000059604645) * 0.6000000238418579 + 0.4000000059604645); $var12 = $var6 * ($var6 * $var6 * 0.6000000238418579 + 0.4000000059604645); $var13 = $var7 + $var6; $var14 = $var8 + $var11; $var15 = $var5 + $var12; $var8 = $var13 * 0.9599999785423279 + 0.029999999329447746; $var13 = $var14 * 0.9599999785423279 + 0.029999999329447746; $var14 = $var15 * 0.9599999785423279 + 0.029999999329447746; $var4 = $this.$field_82831_U; if ($var4 > 0.0) { $var5 = $this.$field_82832_V; $var16 = $var5 + ($var4 - $var5) * $par1; $var4 = 1.0 - $var16; $var8 = $var8 * $var4 + $var8 * 0.699999988079071 * $var16; $var13 = $var13 * $var4 + $var13 * 0.6000000238418579 * $var16; $var14 = $var14 * $var4 + $var14 * 0.6000000238418579 * $var16; } if ($var2.$provider.$dimensionId == 1) { $var8 = 0.2199999988079071 + $var6 * 0.75; $var13 = 0.2800000011920929 + $var11 * 0.75; $var14 = 0.25 + $var12 * 0.75; } var$17 = $this.$mc0.$thePlayer; nms_Potion_$callClinit(); if (nms_EntityLivingBase_isPotionActive(var$17, nms_Potion_nightVision)) { $var22 = (nms_EntityLivingBase_getActivePotionEffect($this.$mc0.$thePlayer, nms_Potion_nightVision)).$duration; if ($var22 > 200) $var16 = 1.0; else { $var5 = ($var22 - $par1) * 3.1415927410125732 * 0.20000000298023224; $var16 = 0.699999988079071 + nms_MathHelper_SIN_TABLE.data[($var5 * 10430.3779296875 | 0) & 65535] * 0.30000001192092896; } $var17 = 1.0 / $var8; $var4 = 1.0 / $var13; if ($var17 <= $var4) $var4 = $var17; $var5 = 1.0 / $var14; if ($var4 <= $var5) $var5 = $var4; $var4 = 1.0 - $var16; $var8 = $var8 * $var4 + $var8 * $var5 * $var16; $var13 = $var13 * $var4 + $var13 * $var5 * $var16; $var14 = $var14 * $var4 + $var14 * $var5 * $var16; } if ($var8 > 1.0) $var8 = 1.0; if ($var13 > 1.0) $var13 = 1.0; if ($var14 > 1.0) $var14 = 1.0; $var16 = $this.$mc0.$gameSettings.$gammaSetting; $var17 = 1.0 - $var8; $var18 = 1.0 - $var13; $var19 = 1.0 - $var14; $var4 = 1.0 - $var17 * $var17 * $var17 * $var17; $var5 = 1.0 - $var18 * $var18 * $var18 * $var18; $var6 = 1.0 - $var19 * $var19 * $var19 * $var19; $var7 = 1.0 - $var16; $var4 = $var8 * $var7 + $var4 * $var16; $var5 = $var13 * $var7 + $var5 * $var16; $var6 = $var14 * $var7 + $var6 * $var16; $var4 = $var4 * 0.9599999785423279 + 0.029999999329447746; $var5 = $var5 * 0.9599999785423279 + 0.029999999329447746; $var6 = $var6 * 0.9599999785423279 + 0.029999999329447746; if ($var4 > 1.0) $var4 = 1.0; if ($var5 > 1.0) $var5 = 1.0; if ($var6 > 1.0) $var6 = 1.0; if ($var4 < 0.0) $var4 = 0.0; if ($var5 < 0.0) $var5 = 0.0; if ($var6 < 0.0) $var6 = 0.0; $this.$lightmapColors.data[$var3] = (-16777216) | ($var4 * 255.0 | 0) << 16 | ($var5 * 255.0 | 0) << 8 | $var6 * 255.0 | 0; $var3 = $var3 + 1 | 0; } nms_RenderEngine_createTextureFromBytes($this.$mc0.$renderEngine, $this.$lightmapColors, 16, 16, $this.$lightmapTexture); } }, nms_EntityRenderer_updateCameraAndRender = ($this, $par1) => { let $var2, var$3, var$4, var$5, $var7, $var3, $var4, $var5, $var6, $var8, $var13, $var14, $var15, $var16, $var17, $var18, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var7 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$lightmapUpdateNeeded) nms_EntityRenderer_updateLightmap($this, $par1); $var2 = nlea_EaglerAdapterImpl2_isFocused(); if (!(!$var2 && $this.$mc0.$gameSettings.$pauseOnLostFocus)) $this.$prevFrameTime0 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); else if (Long_gt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$prevFrameTime0), Long_fromInt(500))) { var$3 = $this.$mc0; if (var$3.$currentScreen === null) { var$4 = nms_GuiIngameMenu__init_(); $ptr = 1; continue main; } } var$4 = $this.$mc0; if (var$4.$inGameHasFocus && $var2) { var$3 = var$4.$mouseHelper; var$5 = nlea_EaglerAdapterImpl2_mouseDX; nlea_EaglerAdapterImpl2_mouseDX = 0.0; $var7 = var$5 | 0; var$3.$deltaX = $var7; var$5 = nlea_EaglerAdapterImpl2_mouseDY; nlea_EaglerAdapterImpl2_mouseDY = 0.0; $var2 = var$5 | 0; var$3.$deltaY = $var2; var$3 = var$4.$gameSettings; $var3 = var$3.$mouseSensitivity * 0.6000000238418579 + 0.20000000298023224; $var4 = $var3 * $var3 * $var3 * 8.0; $var5 = $var7 * $var4; $var6 = $var2 * $var4; $var7 = 1; if (var$3.$invertMouse) $var7 = (-1); if (!var$3.$smoothCamera) nms_Entity_setAngles(var$4.$thePlayer, $var5, $var6 * $var7); else { $this.$smoothCamYaw = $this.$smoothCamYaw + $var5; $this.$smoothCamPitch = $this.$smoothCamPitch + $var6; $var8 = $par1 - $this.$smoothCamPartialTicks; $this.$smoothCamPartialTicks = $par1; $var3 = $this.$smoothCamFilterX * $var8; $var4 = $this.$smoothCamFilterY * $var8; nms_Entity_setAngles(var$4.$thePlayer, $var3, $var4 * $var7); } } var$4 = $this.$mc0; if (!var$4.$skipRenderWorld) { var$3 = var$4.$gameSettings; $var2 = var$3.$anaglyph; nms_EntityRenderer_$callClinit(); nms_EntityRenderer_anaglyphEnable = $var2; $var13 = nms_ScaledResolution__init_(var$3, var$4.$displayWidth, var$4.$displayHeight); $var14 = $var13.$scaledWidth; $var15 = $var13.$scaledHeight; $var2 = $rt_imul(nlea_EaglerAdapterImpl2_mouseX, $var14); var$4 = $this.$mc0; $var7 = var$4.$displayWidth; $var16 = $var2 / $var7 | 0; $var2 = $rt_imul(nlea_EaglerAdapterImpl2_mouseY, $var15); $var14 = var$4.$displayHeight; $var17 = ($var15 - ($var2 / $var14 | 0) | 0) - 1 | 0; $var2 = var$4.$gameSettings.$limitFramerate; $var18 = 200; if ($var2 == 1) $var18 = 120; if ($var2 == 2) $var18 = 35; if (var$4.$theWorld !== null) { if (!$var2) { var$18 = Long_ZERO; $ptr = 3; continue main; } var$18 = Long_add($this.$renderEndNanoTime, Long_fromInt(1000000000 / $var18 | 0)); $ptr = 2; continue main; } nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2__wglViewport(0, 0, $var7, $var14); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_matrixMode = 5888; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nms_EntityRenderer_setupOverlayRendering($this); $this.$renderEndNanoTime = Long_fromNumber(performance.now() * 1000000.0); if ($this.$mc0.$currentScreen !== null) { nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clear(256); var$4 = $this.$mc0.$currentScreen; $ptr = 4; continue main; } } return; case 1: nms_Minecraft_displayGuiScreen(var$3, var$4); if ($rt_suspending()) { break main; } if (nle_IntegratedServer_isWorldRunning() && !(var$3.$integratedServerIsRunning && var$3.$theIntegratedServer !== null ? 1 : 0) && !nle_IntegratedServer_isPaused) { nle_IntegratedServer_statusState = 11; var$4 = new nlesi_IPCPacket0BPause; var$4.$pause = 0; nle_IntegratedServer_sendIPCPacket(var$4); } var$4 = $this.$mc0; if (var$4.$inGameHasFocus && $var2) { var$3 = var$4.$mouseHelper; var$5 = nlea_EaglerAdapterImpl2_mouseDX; nlea_EaglerAdapterImpl2_mouseDX = 0.0; $var7 = var$5 | 0; var$3.$deltaX = $var7; var$5 = nlea_EaglerAdapterImpl2_mouseDY; nlea_EaglerAdapterImpl2_mouseDY = 0.0; $var2 = var$5 | 0; var$3.$deltaY = $var2; var$3 = var$4.$gameSettings; $var3 = var$3.$mouseSensitivity * 0.6000000238418579 + 0.20000000298023224; $var4 = $var3 * $var3 * $var3 * 8.0; $var5 = $var7 * $var4; $var6 = $var2 * $var4; $var7 = 1; if (var$3.$invertMouse) $var7 = (-1); if (!var$3.$smoothCamera) nms_Entity_setAngles(var$4.$thePlayer, $var5, $var6 * $var7); else { $this.$smoothCamYaw = $this.$smoothCamYaw + $var5; $this.$smoothCamPitch = $this.$smoothCamPitch + $var6; $var8 = $par1 - $this.$smoothCamPartialTicks; $this.$smoothCamPartialTicks = $par1; $var3 = $this.$smoothCamFilterX * $var8; $var4 = $this.$smoothCamFilterY * $var8; nms_Entity_setAngles(var$4.$thePlayer, $var3, $var4 * $var7); } } var$4 = $this.$mc0; if (!var$4.$skipRenderWorld) { var$3 = var$4.$gameSettings; $var2 = var$3.$anaglyph; nms_EntityRenderer_$callClinit(); nms_EntityRenderer_anaglyphEnable = $var2; $var13 = nms_ScaledResolution__init_(var$3, var$4.$displayWidth, var$4.$displayHeight); $var14 = $var13.$scaledWidth; $var15 = $var13.$scaledHeight; $var2 = $rt_imul(nlea_EaglerAdapterImpl2_mouseX, $var14); var$4 = $this.$mc0; $var7 = var$4.$displayWidth; $var16 = $var2 / $var7 | 0; $var2 = $rt_imul(nlea_EaglerAdapterImpl2_mouseY, $var15); $var14 = var$4.$displayHeight; $var17 = ($var15 - ($var2 / $var14 | 0) | 0) - 1 | 0; $var2 = var$4.$gameSettings.$limitFramerate; $var18 = 200; if ($var2 == 1) $var18 = 120; if ($var2 == 2) $var18 = 35; if (var$4.$theWorld !== null) { if (!$var2) { var$18 = Long_ZERO; $ptr = 3; continue main; } var$18 = Long_add($this.$renderEndNanoTime, Long_fromInt(1000000000 / $var18 | 0)); $ptr = 2; continue main; } nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2__wglViewport(0, 0, $var7, $var14); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_matrixMode = 5888; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nms_EntityRenderer_setupOverlayRendering($this); $this.$renderEndNanoTime = Long_fromNumber(performance.now() * 1000000.0); if ($this.$mc0.$currentScreen !== null) { nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clear(256); var$4 = $this.$mc0.$currentScreen; $ptr = 4; continue main; } } return; case 2: nms_EntityRenderer_renderWorld($this, $par1, var$18); if ($rt_suspending()) { break main; } $this.$renderEndNanoTime = Long_fromNumber(performance.now() * 1000000.0); var$4 = $this.$mc0; if (var$4.$gameSettings.$hideGUI && var$4.$currentScreen === null) { if ($this.$mc0.$currentScreen === null) return; nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clear(256); var$4 = $this.$mc0.$currentScreen; $ptr = 4; continue main; } var$3 = var$4.$ingameGUI; $var2 = var$4.$currentScreen === null ? 0 : 1; $ptr = 5; continue main; case 3: nms_EntityRenderer_renderWorld($this, $par1, var$18); if ($rt_suspending()) { break main; } $this.$renderEndNanoTime = Long_fromNumber(performance.now() * 1000000.0); var$4 = $this.$mc0; if (var$4.$gameSettings.$hideGUI && var$4.$currentScreen === null) { if ($this.$mc0.$currentScreen === null) return; nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clear(256); var$4 = $this.$mc0.$currentScreen; $ptr = 4; continue main; } var$3 = var$4.$ingameGUI; $var2 = var$4.$currentScreen === null ? 0 : 1; $ptr = 5; continue main; case 4: var$4.$drawScreen($var16, $var17, $par1); if ($rt_suspending()) { break main; } return; case 5: nms_GuiIngame_renderGameOverlay(var$3, $par1, $var2, $var16, $var17); if ($rt_suspending()) { break main; } if ($this.$mc0.$currentScreen === null) return; nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clear(256); var$4 = $this.$mc0.$currentScreen; $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var2, var$3, var$4, var$5, $var7, $var3, $var4, $var5, $var6, $var8, $var13, $var14, $var15, $var16, $var17, $var18, var$18, $ptr); }, nms_EntityRenderer_renderWorld = ($this, $par1, $par2) => { let $var14, $var17, $var5, $var6, $var9, $var7, var$9, var$10, $var11, $var13, var$13, var$14, var$15, var$16, var$17, $var18, $var15, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var15 = $thread.pop();$var18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();$var9 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var17 = $thread.pop();$var14 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$lightmapUpdateNeeded) nms_EntityRenderer_updateLightmap($this, $par1); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glEnable(2929); $var14 = $this.$mc0; if ($var14.$renderViewEntity === null) $var14.$renderViewEntity = $var14.$thePlayer; $ptr = 1; case 1: nms_EntityRenderer_getMouseOver($this, $par1); if ($rt_suspending()) { break main; } $var14 = $this.$mc0; $var17 = $var14.$renderViewEntity; $var5 = $var14.$renderGlobal; $var6 = $var14.$effectRenderer; $var9 = $var17.$lastTickPosX; $var7 = $var17.$posX - $var9; var$9 = $par1; $var7 = $var9 + $var7 * var$9; $var9 = $var17.$lastTickPosY; $var9 = $var9 + ($var17.$posY - $var9) * var$9; var$10 = $var17.$lastTickPosZ; $var11 = var$10 + ($var17.$posZ - var$10) * var$9; $var13 = 0; var$13 = Long_compare($par2, Long_ZERO); var$14 = $var17 instanceof nms_EntityPlayer; var$15 = $rt_s(468); var$16 = $rt_s(469); if ($var13 >= 2) { nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); return; } if ($this.$mc0.$gameSettings.$anaglyph) { nms_EntityRenderer_anaglyphField = $var13; if ($var13) nleg_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); else nleg_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } $var14 = $this.$mc0; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $var14.$displayWidth, $var14.$displayHeight); nms_EntityRenderer_updateFogColor($this, $par1); nlea_EaglerAdapterImpl2_webgl.clear(16640); nleg_EaglerAdapterGL30_glEnable(2884); $ptr = 2; case 2: nms_EntityRenderer_setupCameraTransform($this, $par1, $var13); if ($rt_suspending()) { break main; } $var14 = $this.$mc0; nms_ActiveRenderInfo_updateRenderInfo($var14.$thePlayer, $var14.$gameSettings.$thirdPersonView != 2 ? 0 : 1); nms_ClippingHelperImpl_$callClinit(); nms_ClippingHelperImpl_init(nms_ClippingHelperImpl_instance); if ($this.$mc0.$gameSettings.$renderDistance < 2) { nms_EntityRenderer_setupFog($this, (-1), $par1); $ptr = 3; continue main; } nleg_EaglerAdapterGL30_glEnable(2912); nms_EntityRenderer_setupFog($this, 1, $par1); $var14 = new nms_Frustrum; nms_ClippingHelperImpl_init(nms_ClippingHelperImpl_instance); $var14.$clippingHelper = nms_ClippingHelperImpl_instance; $var14.$xPosition4 = $var7; $var14.$yPosition4 = $var9; $var14.$zPosition4 = $var11; nms_RenderGlobal_clipRenderersByFrustum($this.$mc0.$renderGlobal, $var14, $par1); if (!$var13) { var$17 = $this.$mc0.$renderGlobal; $var18 = 0; $ptr = 4; continue main; } if ($var17.$posY < 128.0) { var$17 = $this.$mc0.$gameSettings; if (var$17.$renderDistance < 2 && var$17.$clouds ? 1 : 0) { nleg_EaglerAdapterGL30_glPushMatrix(); nms_EntityRenderer_setupFog($this, 0, $par1); nleg_EaglerAdapterGL30_glEnable(2912); $ptr = 10; continue main; } } nleg_EaglerAdapterGL30_glDisable(3042); nms_EntityRenderer_setupFog($this, 0, $par1); nleg_EaglerAdapterGL30_glEnable(2912); nms_TextureMap_$callClinit(); var$17 = nms_TextureMap_locationBlocksTexture; $ptr = 5; continue main; case 3: nms_RenderGlobal_renderSky($var5, $par1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(2912); nms_EntityRenderer_setupFog($this, 1, $par1); $var14 = new nms_Frustrum; nms_ClippingHelperImpl_init(nms_ClippingHelperImpl_instance); $var14.$clippingHelper = nms_ClippingHelperImpl_instance; $var14.$xPosition4 = $var7; $var14.$yPosition4 = $var9; $var14.$zPosition4 = $var11; nms_RenderGlobal_clipRenderersByFrustum($this.$mc0.$renderGlobal, $var14, $par1); if (!$var13) { var$17 = $this.$mc0.$renderGlobal; $var18 = 0; $ptr = 4; continue main; } if ($var17.$posY < 128.0) { var$17 = $this.$mc0.$gameSettings; if (var$17.$renderDistance < 2 && var$17.$clouds ? 1 : 0) { nleg_EaglerAdapterGL30_glPushMatrix(); nms_EntityRenderer_setupFog($this, 0, $par1); nleg_EaglerAdapterGL30_glEnable(2912); $ptr = 10; continue main; } } nleg_EaglerAdapterGL30_glDisable(3042); nms_EntityRenderer_setupFog($this, 0, $par1); nleg_EaglerAdapterGL30_glEnable(2912); nms_TextureMap_$callClinit(); var$17 = nms_TextureMap_locationBlocksTexture; $ptr = 5; continue main; case 4: $tmp = nms_RenderGlobal_updateRenderers(var$17, $var17, $var18); if ($rt_suspending()) { break main; } $var18 = $tmp; if (!$var18 && var$13) { $var15 = Long_sub($par2, Long_fromNumber(performance.now() * 1000000.0)); if (Long_ge($var15, Long_ZERO) && Long_le($var15, Long_fromInt(1000000000))) { var$17 = $this.$mc0.$renderGlobal; $var18 = 0; continue main; } } if ($var17.$posY < 128.0) { var$17 = $this.$mc0.$gameSettings; if (var$17.$renderDistance < 2 && var$17.$clouds ? 1 : 0) { nleg_EaglerAdapterGL30_glPushMatrix(); nms_EntityRenderer_setupFog($this, 0, $par1); nleg_EaglerAdapterGL30_glEnable(2912); $ptr = 10; continue main; } } nleg_EaglerAdapterGL30_glDisable(3042); nms_EntityRenderer_setupFog($this, 0, $par1); nleg_EaglerAdapterGL30_glEnable(2912); nms_TextureMap_$callClinit(); var$17 = nms_TextureMap_locationBlocksTexture; $ptr = 5; case 5: nle_TextureLocation_bindTexture(var$17); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nms_RenderGlobal_sortAndRender($var5, $var17, 0, var$9); if ($this.$debugViewDirection) { nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nms_EntityRenderer_setupFog($this, 0, $par1); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glDisable(2884); $var14 = nms_TextureMap_locationBlocksTexture; $ptr = 6; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); var$17 = nleg_EaglerAdapterGL30_deevis; var$17.$x = 1.0; var$17.$y = (-1.0); var$17.$z = 1.0; var$17 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$17, var$17); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$17 = new otcic_JSStderrPrintStream; var$20 = new ji_ByteArrayOutputStream; var$20.$buf = $rt_createByteArray(32); var$17.$out0 = var$20; var$20 = new jl_StringBuilder; var$20.$buffer = $rt_createCharArray(16); var$17.$sb = var$20; var$17.$buffer0 = $rt_createCharArray(32); var$17.$autoFlush = 0; var$17.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$17; } $rt_putStderr($rt_ustr(var$15)); $rt_putStderr($rt_ustr(var$16)); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); var$17 = nms_EntityLivingBase_getPosition($var17, $par1); $ptr = 7; continue main; case 6: nle_TextureLocation_bindTexture($var14); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glColorMask(0, 0, 0, 0); $var18 = nms_RenderGlobal_sortAndRender($var5, $var17, 1, var$9); if (!$this.$mc0.$gameSettings.$anaglyph) nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 1); else if (nms_EntityRenderer_anaglyphField) nleg_EaglerAdapterGL30_glColorMask(1, 0, 0, 1); else nleg_EaglerAdapterGL30_glColorMask(0, 1, 1, 1); if ($var18 > 0) { a: { $var18 = 518; switch (514) { case 514: $var18 = 514; break a; case 515: $var18 = 518; break a; case 516: $var18 = 513; break a; default: } } if ($var18 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_webgl.depthFunc($var18); nleg_EaglerAdapterGL30_currentDepthFunc = $var18; } nms_EntityRenderer_enableLightmap($var5.$mc5.$entityRenderer, var$9); $var18 = 0; while (true) { var$21 = $var5.$allRenderLists.data; if ($var18 >= var$21.length) break; nms_RenderList_func_78419_a(var$21[$var18]); $var18 = $var18 + 1 | 0; } b: { nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); $var18 = 518; switch (515) { case 514: $var18 = 514; break b; case 515: $var18 = 518; break b; case 516: $var18 = 513; break b; default: } } if ($var18 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_webgl.depthFunc($var18); nleg_EaglerAdapterGL30_currentDepthFunc = $var18; } } nms_RenderGlobal_sortAndRender($var5, $var17, 1, var$9); nleg_EaglerAdapterGL30_glTexParameterf(3553, (-103), 1.0); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9986); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glDisable(3042); if ($this.$cameraZoom === 1.0 && var$14) { $var14 = $this.$mc0; if (!$var14.$gameSettings.$hideGUI && $var14.$objectMouseOver !== null) { nms_Material_$callClinit(); if (!nms_Entity_isInsideOfMaterial($var17, nms_Material_water)) { nleg_EaglerAdapterGL30_glDisable(3008); $var14 = $this.$mc0.$objectMouseOver; $var18 = 0; $ptr = 16; continue main; } } } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 1); nlea_Tessellator_$callClinit(); $var14 = nlea_Tessellator_instance; $ptr = 12; continue main; case 7: nms_RenderGlobal_renderEntities($var5, var$17, $var14, $par1); if ($rt_suspending()) { break main; } nms_EntityRenderer_enableLightmap($this, var$9); $ptr = 8; case 8: nms_EffectRenderer_renderLitParticles($var6, $var17, $par1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nms_EntityRenderer_setupFog($this, 0, $par1); $ptr = 9; case 9: nms_EffectRenderer_renderParticles($var6, $var17, $par1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); if ($this.$mc0.$objectMouseOver !== null) { nms_Material_$callClinit(); if (nms_Entity_isInsideOfMaterial($var17, nms_Material_water) && var$14 && !$this.$mc0.$gameSettings.$hideGUI) { nleg_EaglerAdapterGL30_glDisable(3008); $var14 = $this.$mc0.$objectMouseOver; $var18 = 0; $ptr = 11; continue main; } } nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nms_EntityRenderer_setupFog($this, 0, $par1); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glDisable(2884); $var14 = nms_TextureMap_locationBlocksTexture; $ptr = 6; continue main; case 10: nms_RenderGlobal_renderClouds($var5, $par1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(2912); nms_EntityRenderer_setupFog($this, 1, $par1); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(3042); nms_EntityRenderer_setupFog($this, 0, $par1); nleg_EaglerAdapterGL30_glEnable(2912); nms_TextureMap_$callClinit(); var$17 = nms_TextureMap_locationBlocksTexture; $ptr = 5; continue main; case 11: nms_RenderGlobal_drawSelectionBox($var5, $var17, $var14, $var18, $par1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nms_EntityRenderer_setupFog($this, 0, $par1); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glDisable(2884); $var14 = nms_TextureMap_locationBlocksTexture; $ptr = 6; continue main; case 12: nms_RenderGlobal_drawBlockDamageTexture($var5, $var14, $var17, $par1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(3042); $ptr = 13; case 13: nms_EntityRenderer_renderRainSnow($this, $par1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(2912); if ($var17.$posY >= 128.0) { $var14 = $this.$mc0.$gameSettings; if ($var14.$renderDistance < 2 && $var14.$clouds ? 1 : 0) { nleg_EaglerAdapterGL30_glPushMatrix(); nms_EntityRenderer_setupFog($this, 0, $par1); nleg_EaglerAdapterGL30_glEnable(2912); $ptr = 15; continue main; } } if ($this.$cameraZoom === 1.0) { nlea_EaglerAdapterImpl2_webgl.clear(256); $ptr = 14; continue main; } if (!$this.$mc0.$gameSettings.$anaglyph) return; $var13 = $var13 + 1 | 0; if ($var13 >= 2) { nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); return; } if ($this.$mc0.$gameSettings.$anaglyph) { nms_EntityRenderer_anaglyphField = $var13; if ($var13) nleg_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); else nleg_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } $var14 = $this.$mc0; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $var14.$displayWidth, $var14.$displayHeight); nms_EntityRenderer_updateFogColor($this, $par1); nlea_EaglerAdapterImpl2_webgl.clear(16640); nleg_EaglerAdapterGL30_glEnable(2884); $ptr = 2; continue main; case 14: nms_EntityRenderer_renderHand($this, $par1, $var13); if ($rt_suspending()) { break main; } if (!$this.$mc0.$gameSettings.$anaglyph) return; $var13 = $var13 + 1 | 0; if ($var13 >= 2) { nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); return; } if ($this.$mc0.$gameSettings.$anaglyph) { nms_EntityRenderer_anaglyphField = $var13; if ($var13) nleg_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); else nleg_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } $var14 = $this.$mc0; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $var14.$displayWidth, $var14.$displayHeight); nms_EntityRenderer_updateFogColor($this, $par1); nlea_EaglerAdapterImpl2_webgl.clear(16640); nleg_EaglerAdapterGL30_glEnable(2884); $ptr = 2; continue main; case 15: nms_RenderGlobal_renderClouds($var5, $par1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(2912); nms_EntityRenderer_setupFog($this, 1, $par1); nleg_EaglerAdapterGL30_glPopMatrix(); if ($this.$cameraZoom === 1.0) { nlea_EaglerAdapterImpl2_webgl.clear(256); $ptr = 14; continue main; } if (!$this.$mc0.$gameSettings.$anaglyph) return; $var13 = $var13 + 1 | 0; if ($var13 >= 2) { nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); return; } if ($this.$mc0.$gameSettings.$anaglyph) { nms_EntityRenderer_anaglyphField = $var13; if ($var13) nleg_EaglerAdapterGL30_glColorMask(1, 0, 0, 0); else nleg_EaglerAdapterGL30_glColorMask(0, 1, 1, 0); } $var14 = $this.$mc0; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $var14.$displayWidth, $var14.$displayHeight); nms_EntityRenderer_updateFogColor($this, $par1); nlea_EaglerAdapterImpl2_webgl.clear(16640); nleg_EaglerAdapterGL30_glEnable(2884); $ptr = 2; continue main; case 16: nms_RenderGlobal_drawSelectionBox($var5, $var17, $var14, $var18, $par1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 1); nlea_Tessellator_$callClinit(); $var14 = nlea_Tessellator_instance; $ptr = 12; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var14, $var17, $var5, $var6, $var9, $var7, var$9, var$10, $var11, $var13, var$13, var$14, var$15, var$16, var$17, $var18, $var15, var$20, var$21, $ptr); }, nms_EntityRenderer_addRainParticles = $this => { let $var2, $var3, $var1, $var21, var$5, $var4, $var5, $var6, $var7, $var8, $var10, $var12, $var14, $var15, $var7_0, $var16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, $var23, var$28, $var17, $var18, var$31, var$32, $var19, $var20, $var22, var$36, var$37, var$38, var$39, var$40, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$40 = $thread.pop();var$39 = $thread.pop();var$38 = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();$var22 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();var$28 = $thread.pop();$var23 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var16 = $thread.pop();$var7_0 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();$var21 = $thread.pop();$var1 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$mc0; $var3 = $var2.$theWorld; $var1 = $var3.$prevRainingStrength; $var1 = $var1 + ($var3.$rainingStrength - $var1) * 1.0; $var21 = $var2.$gameSettings; if (!$var21.$fancyGraphics) $var1 = $var1 / 2.0; a: { if ($var1 !== 0.0) { $this.$random.$seed = Long_mul(Long_fromInt($this.$rendererUpdateCount), Long_fromInt(312987231)); $var2 = $var2.$renderViewEntity; var$5 = $var2.$posX; $var4 = var$5 | 0; if (var$5 < $var4) $var4 = $var4 - 1 | 0; var$5 = $var2.$posY; $var5 = var$5 | 0; if (var$5 < $var5) $var5 = $var5 - 1 | 0; var$5 = $var2.$posZ; $var6 = var$5 | 0; if (var$5 < $var6) $var6 = $var6 - 1 | 0; $var7 = 10; $var8 = 0.0; $var10 = 0.0; $var12 = 0.0; $var14 = 0; $var15 = 100.0 * $var1 * $var1 | 0; $var7_0 = $var21.$particleSetting; if ($var7_0 == 1) $var15 = $var15 >> 1; else if ($var7_0 == 2) $var15 = 0; $var16 = 0; var$17 = 17; var$18 = 9; var$19 = $var5 + 10 | 0; $var5 = $var5 - 10 | 0; var$20 = 24; var$21 = 0; var$22 = 0; while (true) { if ($var16 >= $var15) { if ($var14 <= 0) break a; $var21 = $this.$random; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$24 = $var7_0 % 3 | 0; if ((($var7_0 - var$24 | 0) + 2 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } $var7_0 = $this.$rainSoundCounter; $this.$rainSoundCounter = $var7_0 + 1 | 0; if (var$24 >= $var7_0) break a; else { $this.$rainSoundCounter = 0; if ($var10 > $var2.$posY + 1.0) { var$25 = $var2.$posX; var$24 = var$25 | 0; if (var$25 < var$24) var$24 = var$24 - 1 | 0; var$25 = $var2.$posZ; $var7_0 = var$25 | 0; if (var$25 < $var7_0) $var7_0 = $var7_0 - 1 | 0; var$19 = var$24 >> 4; $var7 = $var7_0 >> 4; $var3 = $var3.$chunkProvider; $var21 = $var3.$chunkMapping; var$23 = Long_or(Long_and(Long_fromInt(var$19), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var7), Long_create(4294967295, 0)), 32)); $var7 = Long_lo(Long_xor(var$23, Long_shru(var$23, 32))); $var7 = $var7 ^ ($var7 >>> 20 | 0) ^ ($var7 >>> 12 | 0); $var5 = $var7 ^ ($var7 >>> 7 | 0) ^ ($var7 >>> 4 | 0); var$26 = $var21.$hashArray.data; $var21 = var$26[$var5 & (var$26.length - 1 | 0)]; b: { while ($var21 !== null) { if (Long_eq($var21.$key1, var$23)) { $var21 = $var21.$value6; break b; } $var21 = $var21.$nextEntry0; } $var21 = null; } $var21 = $var21; if ($var21 === null) $var21 = $var3.$blankChunk; var$24 = nms_Chunk_getPrecipitationHeight($var21, var$24 & 15, $var7_0 & 15); var$5 = $var2.$posY; $var7_0 = var$5 | 0; if (var$5 < $var7_0) $var7_0 = $var7_0 - 1 | 0; if (var$24 > $var7_0) { $var2 = $this.$mc0.$theWorld; $var3 = $rt_s(1321); $var23 = 0.4000000059604645; $var1 = 0.5; $var7 = 0; $ptr = 2; continue main; } } $var3 = $this.$mc0.$theWorld; $var2 = $rt_s(1321); $var23 = 0.6000000238418579; $var1 = 1.0; $var7 = 0; $ptr = 1; continue main; } } $var21 = $this.$random; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$24 = $var7_0 % $var7 | 0; if ((($var7_0 - var$24 | 0) + var$18 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } var$24 = $var4 + var$24 | 0; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$28 = $var7_0 % $var7 | 0; if ((($var7_0 - var$28 | 0) + var$18 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } $var17 = var$24 - var$28 | 0; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$24 = $var7_0 % $var7 | 0; if ((($var7_0 - var$24 | 0) + var$18 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } var$28 = $var6 + var$24 | 0; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$24 = $var7_0 % $var7 | 0; if ((($var7_0 - var$24 | 0) + var$18 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } $var18 = var$28 - var$24 | 0; var$24 = $var17 >> 4; $var7_0 = $var18 >> 4; $var21 = $var3.$chunkProvider; var$31 = $var21.$chunkMapping; var$32 = Long_or(Long_and(Long_fromInt(var$24), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var7_0), Long_create(4294967295, 0)), 32)); $var7_0 = Long_lo(Long_xor(var$32, Long_shru(var$32, 32))); $var7_0 = $var7_0 ^ ($var7_0 >>> 20 | 0) ^ ($var7_0 >>> 12 | 0); $var7_0 = $var7_0 ^ ($var7_0 >>> 7 | 0) ^ ($var7_0 >>> 4 | 0); var$26 = var$31.$hashArray.data; var$31 = var$26[$var7_0 & (var$26.length - 1 | 0)]; c: { while (var$31 !== null) { if (Long_eq(var$31.$key1, var$32)) { var$31 = var$31.$value6; break c; } var$31 = var$31.$nextEntry0; } var$31 = null; } var$31 = var$31; if (var$31 === null) var$31 = $var21.$blankChunk; $var19 = nms_Chunk_getPrecipitationHeight(var$31, $var17 & 15, $var18 & 15); $var20 = nms_World_getBlockId($var3, $var17, $var19 - 1 | 0, $var18); $var21 = nms_World_getBiomeGenForCoords($var3, $var17, $var18); if ($var19 <= var$19 && $var19 >= $var5 && (!$var21.$enableSnow ? $var21.$enableRain : 0) && $var21.$temperature >= 0.20000000298023224) { $var21 = $this.$random; var$32 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$32; $var22 = Long_lo(Long_shru(var$32, var$20)) / 1.6777216E7; var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$32; $var23 = Long_lo(Long_shru(var$32, var$20)) / 1.6777216E7; if ($var20 > 0) break; } $var16 = $var16 + 1 | 0; } nms_Block_$callClinit(); var$26 = nms_Block_blocksList.data; var$31 = var$26[$var20].$blockMaterial; nms_Material_$callClinit(); if (var$31 === nms_Material_lava) { $var21 = $this.$mc0.$effectRenderer; var$31 = new nms_EntitySmokeFX; var$36 = $var17 + $var22; var$37 = $var19 + 0.10000000149011612 - var$26[$var20].$minY0; var$38 = $var18 + $var23; var$39 = 0.0; var$5 = 0.0; var$25 = 0.0; $var23 = 1.0; $ptr = 3; continue main; } $var14 = $var14 + 1 | 0; var$23 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; var$28 = Long_lo(Long_shru(var$23, var$17)); $var7_0 = $var14 - 1 | 0; if (!($var14 & $var7_0)) var$24 = Long_lo(Long_shr(Long_mul(Long_fromInt($var14), Long_fromInt(var$28)), 31)); else while (true) { var$24 = var$28 % $var14 | 0; if (((var$28 - var$24 | 0) + $var7_0 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; var$28 = Long_lo(Long_shru(var$23, var$17)); } if (!var$24) { $var8 = $var17 + $var22; $var10 = $var19 + 0.10000000149011612 - var$26[$var20].$minY0; $var12 = $var18 + $var23; } var$31 = $this.$mc0.$effectRenderer; var$40 = new nms_EntityRainFX; var$25 = $var17 + $var22; var$5 = $var19 + 0.10000000149011612 - var$26[$var20].$minY0; var$36 = $var18 + $var23; $ptr = 4; continue main; } } return; case 1: nms_WorldClient_playSound($var3, $var8, $var10, $var12, $var2, $var23, $var1, $var7); if ($rt_suspending()) { break main; } return; case 2: nms_WorldClient_playSound($var2, $var8, $var10, $var12, $var3, $var23, $var1, $var7); if ($rt_suspending()) { break main; } return; case 3: nms_EntitySmokeFX__init_(var$31, $var3, var$36, var$37, var$38, var$39, var$5, var$25, $var23); if ($rt_suspending()) { break main; } var$26 = $var21.$fxLayers.data; if (var$26[var$21].$size0 >= 4000) ju_ArrayList_remove(var$26[var$21], 0); $var21 = $var21.$fxLayers.data[var$21]; ju_ArrayList_ensureCapacity($var21, $var21.$size0 + 1 | 0); var$26 = $var21.$array.data; $var7_0 = $var21.$size0; $var21.$size0 = $var7_0 + 1 | 0; var$26[$var7_0] = var$31; $var21.$modCount = $var21.$modCount + 1 | 0; while (true) { $var16 = $var16 + 1 | 0; if ($var16 >= $var15) { if ($var14 > 0) { $var21 = $this.$random; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$24 = $var7_0 % 3 | 0; if ((($var7_0 - var$24 | 0) + 2 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } $var7_0 = $this.$rainSoundCounter; $this.$rainSoundCounter = $var7_0 + 1 | 0; if (var$24 < $var7_0) { $this.$rainSoundCounter = 0; if ($var10 > $var2.$posY + 1.0) { var$25 = $var2.$posX; var$24 = var$25 | 0; if (var$25 < var$24) var$24 = var$24 - 1 | 0; var$25 = $var2.$posZ; $var7_0 = var$25 | 0; if (var$25 < $var7_0) $var7_0 = $var7_0 - 1 | 0; var$19 = var$24 >> 4; $var7 = $var7_0 >> 4; $var3 = $var3.$chunkProvider; $var21 = $var3.$chunkMapping; var$23 = Long_or(Long_and(Long_fromInt(var$19), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var7), Long_create(4294967295, 0)), 32)); $var7 = Long_lo(Long_xor(var$23, Long_shru(var$23, 32))); $var7 = $var7 ^ ($var7 >>> 20 | 0) ^ ($var7 >>> 12 | 0); $var5 = $var7 ^ ($var7 >>> 7 | 0) ^ ($var7 >>> 4 | 0); var$26 = $var21.$hashArray.data; $var21 = var$26[$var5 & (var$26.length - 1 | 0)]; d: { while ($var21 !== null) { if (Long_eq($var21.$key1, var$23)) { $var21 = $var21.$value6; break d; } $var21 = $var21.$nextEntry0; } $var21 = null; } $var21 = $var21; if ($var21 === null) $var21 = $var3.$blankChunk; var$24 = nms_Chunk_getPrecipitationHeight($var21, var$24 & 15, $var7_0 & 15); var$5 = $var2.$posY; $var7_0 = var$5 | 0; if (var$5 < $var7_0) $var7_0 = $var7_0 - 1 | 0; if (var$24 > $var7_0) { $var2 = $this.$mc0.$theWorld; $var3 = $rt_s(1321); $var23 = 0.4000000059604645; $var1 = 0.5; $var7 = 0; $ptr = 2; continue main; } } $var3 = $this.$mc0.$theWorld; $var2 = $rt_s(1321); $var23 = 0.6000000238418579; $var1 = 1.0; $var7 = 0; $ptr = 1; continue main; } } return; } $var21 = $this.$random; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$24 = $var7_0 % $var7 | 0; if ((($var7_0 - var$24 | 0) + var$18 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } var$24 = $var4 + var$24 | 0; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$28 = $var7_0 % $var7 | 0; if ((($var7_0 - var$28 | 0) + var$18 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } $var17 = var$24 - var$28 | 0; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$24 = $var7_0 % $var7 | 0; if ((($var7_0 - var$24 | 0) + var$18 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } var$28 = $var6 + var$24 | 0; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$24 = $var7_0 % $var7 | 0; if ((($var7_0 - var$24 | 0) + var$18 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } $var18 = var$28 - var$24 | 0; var$24 = $var17 >> 4; $var7_0 = $var18 >> 4; $var21 = $var3.$chunkProvider; var$31 = $var21.$chunkMapping; var$32 = Long_or(Long_and(Long_fromInt(var$24), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var7_0), Long_create(4294967295, 0)), 32)); $var7_0 = Long_lo(Long_xor(var$32, Long_shru(var$32, 32))); $var7_0 = $var7_0 ^ ($var7_0 >>> 20 | 0) ^ ($var7_0 >>> 12 | 0); $var7_0 = $var7_0 ^ ($var7_0 >>> 7 | 0) ^ ($var7_0 >>> 4 | 0); var$26 = var$31.$hashArray.data; var$31 = var$26[$var7_0 & (var$26.length - 1 | 0)]; e: { while (var$31 !== null) { if (Long_eq(var$31.$key1, var$32)) { var$31 = var$31.$value6; break e; } var$31 = var$31.$nextEntry0; } var$31 = null; } var$31 = var$31; if (var$31 === null) var$31 = $var21.$blankChunk; $var19 = nms_Chunk_getPrecipitationHeight(var$31, $var17 & 15, $var18 & 15); $var20 = nms_World_getBlockId($var3, $var17, $var19 - 1 | 0, $var18); $var21 = nms_World_getBiomeGenForCoords($var3, $var17, $var18); if ($var19 > var$19) continue; if ($var19 < $var5) continue; if (!(!$var21.$enableSnow ? $var21.$enableRain : 0)) continue; if ($var21.$temperature < 0.20000000298023224) continue; $var21 = $this.$random; var$32 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$32; $var22 = Long_lo(Long_shru(var$32, var$20)) / 1.6777216E7; var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$32; $var23 = Long_lo(Long_shru(var$32, var$20)) / 1.6777216E7; if ($var20 > 0) break; } nms_Block_$callClinit(); var$26 = nms_Block_blocksList.data; var$31 = var$26[$var20].$blockMaterial; nms_Material_$callClinit(); if (var$31 === nms_Material_lava) { $var21 = $this.$mc0.$effectRenderer; var$31 = new nms_EntitySmokeFX; var$36 = $var17 + $var22; var$37 = $var19 + 0.10000000149011612 - var$26[$var20].$minY0; var$38 = $var18 + $var23; var$39 = 0.0; var$5 = 0.0; var$25 = 0.0; $var23 = 1.0; continue main; } $var14 = $var14 + 1 | 0; var$23 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; var$28 = Long_lo(Long_shru(var$23, var$17)); $var7_0 = $var14 - 1 | 0; if (!($var14 & $var7_0)) var$24 = Long_lo(Long_shr(Long_mul(Long_fromInt($var14), Long_fromInt(var$28)), 31)); else while (true) { var$24 = var$28 % $var14 | 0; if (((var$28 - var$24 | 0) + $var7_0 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; var$28 = Long_lo(Long_shru(var$23, var$17)); } if (!var$24) { $var8 = $var17 + $var22; $var10 = $var19 + 0.10000000149011612 - var$26[$var20].$minY0; $var12 = $var18 + $var23; } var$31 = $this.$mc0.$effectRenderer; var$40 = new nms_EntityRainFX; var$25 = $var17 + $var22; var$5 = $var19 + 0.10000000149011612 - var$26[$var20].$minY0; var$36 = $var18 + $var23; $ptr = 4; case 4: nms_EntityRainFX__init_(var$40, $var3, var$25, var$5, var$36); if ($rt_suspending()) { break main; } var$26 = var$31.$fxLayers.data; if (var$26[var$22].$size0 >= 4000) ju_ArrayList_remove(var$26[var$22], 0); $var21 = var$31.$fxLayers.data[var$22]; ju_ArrayList_ensureCapacity($var21, $var21.$size0 + 1 | 0); var$26 = $var21.$array.data; var$24 = $var21.$size0; $var21.$size0 = var$24 + 1 | 0; var$26[var$24] = var$40; $var21.$modCount = $var21.$modCount + 1 | 0; while (true) { $var16 = $var16 + 1 | 0; if ($var16 >= $var15) { if ($var14 > 0) { $var21 = $this.$random; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$24 = $var7_0 % 3 | 0; if ((($var7_0 - var$24 | 0) + 2 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } $var7_0 = $this.$rainSoundCounter; $this.$rainSoundCounter = $var7_0 + 1 | 0; if (var$24 < $var7_0) { $this.$rainSoundCounter = 0; if ($var10 > $var2.$posY + 1.0) { var$25 = $var2.$posX; var$24 = var$25 | 0; if (var$25 < var$24) var$24 = var$24 - 1 | 0; var$25 = $var2.$posZ; $var7_0 = var$25 | 0; if (var$25 < $var7_0) $var7_0 = $var7_0 - 1 | 0; var$19 = var$24 >> 4; $var7 = $var7_0 >> 4; $var3 = $var3.$chunkProvider; $var21 = $var3.$chunkMapping; var$23 = Long_or(Long_and(Long_fromInt(var$19), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var7), Long_create(4294967295, 0)), 32)); $var7 = Long_lo(Long_xor(var$23, Long_shru(var$23, 32))); $var7 = $var7 ^ ($var7 >>> 20 | 0) ^ ($var7 >>> 12 | 0); $var5 = $var7 ^ ($var7 >>> 7 | 0) ^ ($var7 >>> 4 | 0); var$26 = $var21.$hashArray.data; $var21 = var$26[$var5 & (var$26.length - 1 | 0)]; d: { while ($var21 !== null) { if (Long_eq($var21.$key1, var$23)) { $var21 = $var21.$value6; break d; } $var21 = $var21.$nextEntry0; } $var21 = null; } $var21 = $var21; if ($var21 === null) $var21 = $var3.$blankChunk; var$24 = nms_Chunk_getPrecipitationHeight($var21, var$24 & 15, $var7_0 & 15); var$5 = $var2.$posY; $var7_0 = var$5 | 0; if (var$5 < $var7_0) $var7_0 = $var7_0 - 1 | 0; if (var$24 > $var7_0) { $var2 = $this.$mc0.$theWorld; $var3 = $rt_s(1321); $var23 = 0.4000000059604645; $var1 = 0.5; $var7 = 0; $ptr = 2; continue main; } } $var3 = $this.$mc0.$theWorld; $var2 = $rt_s(1321); $var23 = 0.6000000238418579; $var1 = 1.0; $var7 = 0; $ptr = 1; continue main; } } return; } $var21 = $this.$random; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$24 = $var7_0 % $var7 | 0; if ((($var7_0 - var$24 | 0) + var$18 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } var$24 = $var4 + var$24 | 0; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$28 = $var7_0 % $var7 | 0; if ((($var7_0 - var$28 | 0) + var$18 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } $var17 = var$24 - var$28 | 0; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$24 = $var7_0 % $var7 | 0; if ((($var7_0 - var$24 | 0) + var$18 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } var$28 = $var6 + var$24 | 0; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); while (true) { var$24 = $var7_0 % $var7 | 0; if ((($var7_0 - var$24 | 0) + var$18 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; $var7_0 = Long_lo(Long_shru(var$23, var$17)); } $var18 = var$28 - var$24 | 0; var$24 = $var17 >> 4; $var7_0 = $var18 >> 4; $var21 = $var3.$chunkProvider; var$31 = $var21.$chunkMapping; var$32 = Long_or(Long_and(Long_fromInt(var$24), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var7_0), Long_create(4294967295, 0)), 32)); $var7_0 = Long_lo(Long_xor(var$32, Long_shru(var$32, 32))); $var7_0 = $var7_0 ^ ($var7_0 >>> 20 | 0) ^ ($var7_0 >>> 12 | 0); $var7_0 = $var7_0 ^ ($var7_0 >>> 7 | 0) ^ ($var7_0 >>> 4 | 0); var$26 = var$31.$hashArray.data; var$31 = var$26[$var7_0 & (var$26.length - 1 | 0)]; e: { while (var$31 !== null) { if (Long_eq(var$31.$key1, var$32)) { var$31 = var$31.$value6; break e; } var$31 = var$31.$nextEntry0; } var$31 = null; } var$31 = var$31; if (var$31 === null) var$31 = $var21.$blankChunk; $var19 = nms_Chunk_getPrecipitationHeight(var$31, $var17 & 15, $var18 & 15); $var20 = nms_World_getBlockId($var3, $var17, $var19 - 1 | 0, $var18); $var21 = nms_World_getBiomeGenForCoords($var3, $var17, $var18); if ($var19 > var$19) continue; if ($var19 < $var5) continue; if (!(!$var21.$enableSnow ? $var21.$enableRain : 0)) continue; if ($var21.$temperature < 0.20000000298023224) continue; $var21 = $this.$random; var$32 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$32; $var22 = Long_lo(Long_shru(var$32, var$20)) / 1.6777216E7; var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$32; $var23 = Long_lo(Long_shru(var$32, var$20)) / 1.6777216E7; if ($var20 > 0) break; } nms_Block_$callClinit(); var$26 = nms_Block_blocksList.data; var$31 = var$26[$var20].$blockMaterial; nms_Material_$callClinit(); if (var$31 === nms_Material_lava) { $var21 = $this.$mc0.$effectRenderer; var$31 = new nms_EntitySmokeFX; var$36 = $var17 + $var22; var$37 = $var19 + 0.10000000149011612 - var$26[$var20].$minY0; var$38 = $var18 + $var23; var$39 = 0.0; var$5 = 0.0; var$25 = 0.0; $var23 = 1.0; $ptr = 3; continue main; } $var14 = $var14 + 1 | 0; var$23 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; var$28 = Long_lo(Long_shru(var$23, var$17)); $var7_0 = $var14 - 1 | 0; if (!($var14 & $var7_0)) var$24 = Long_lo(Long_shr(Long_mul(Long_fromInt($var14), Long_fromInt(var$28)), 31)); else while (true) { var$24 = var$28 % $var14 | 0; if (((var$28 - var$24 | 0) + $var7_0 | 0) >= 0) break; var$23 = Long_and(Long_add(Long_mul($var21.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var21.$seed = var$23; var$28 = Long_lo(Long_shru(var$23, var$17)); } if (!var$24) { $var8 = $var17 + $var22; $var10 = $var19 + 0.10000000149011612 - var$26[$var20].$minY0; $var12 = $var18 + $var23; } var$31 = $this.$mc0.$effectRenderer; var$40 = new nms_EntityRainFX; var$25 = $var17 + $var22; var$5 = $var19 + 0.10000000149011612 - var$26[$var20].$minY0; var$36 = $var18 + $var23; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, $var3, $var1, $var21, var$5, $var4, $var5, $var6, $var7, $var8, $var10, $var12, $var14, $var15, $var7_0, $var16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, $var23, var$28, $var17, $var18, var$31, var$32, $var19, $var20, $var22, var$36, var$37, var$38, var$39, var$40, $ptr); }, nms_EntityRenderer_renderRainSnow = ($this, $par1) => { let var$2, $var34, $var2, $var35, $var3, $var4, $var5, $var6, $var7, var$11, $var44, $var41, $var42, $var47, $var43, $var45, $var8, $var32, $var9, $var11, $var13, $var15, $var16, $var22, $var18, $var19, $var20, $var21, $var23, $var24, $var25, $var26, var$34, var$35, var$36, $var27, $var28, $var29, var$40, var$41, var$42, var$43, $var46, $var33, $var32_0, $var35_0, $var37, $var39, var$50, var$51, $var31, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var31 = $thread.pop();var$51 = $thread.pop();var$50 = $thread.pop();$var39 = $thread.pop();$var37 = $thread.pop();$var35_0 = $thread.pop();$var32_0 = $thread.pop();$var33 = $thread.pop();$var46 = $thread.pop();var$43 = $thread.pop();var$42 = $thread.pop();var$41 = $thread.pop();var$40 = $thread.pop();$var29 = $thread.pop();$var28 = $thread.pop();$var27 = $thread.pop();var$36 = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();$var26 = $thread.pop();$var25 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var22 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var32 = $thread.pop();$var8 = $thread.pop();$var45 = $thread.pop();$var43 = $thread.pop();$var47 = $thread.pop();$var42 = $thread.pop();$var41 = $thread.pop();$var44 = $thread.pop();var$11 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var35 = $thread.pop();$var2 = $thread.pop();$var34 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$mc0.$theWorld; $var34 = var$2.$prevRainingStrength; $var2 = $var34 + (var$2.$rainingStrength - $var34) * $par1; if ($var2 <= 0.0) return; a: { $var35 = $par1; nms_EntityRenderer_enableLightmap($this, $var35); if ($this.$rainXCoords === null) { $this.$rainXCoords = $rt_createFloatArray(1024); $this.$rainYCoords = $rt_createFloatArray(1024); $var3 = 0; while (true) { if ($var3 >= 32) break a; $var4 = 0; while ($var4 < 32) { $var5 = $var4 - 16 | 0; $var6 = $var3 - 16 | 0; $var7 = jl_Math_sqrt($var5 * $var5 + $var6 * $var6); var$11 = $this.$rainXCoords.data; $var44 = $var3 << 5 | $var4; var$11[$var44] = -$var6 / $var7; $this.$rainYCoords.data[$var44] = $var5 / $var7; $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } } } var$2 = $this.$mc0; $var41 = var$2.$renderViewEntity; $var42 = var$2.$theWorld; $var47 = $var41.$posX; $var43 = $var47 | 0; if ($var47 < $var43) $var43 = $var43 - 1 | 0; $var47 = $var41.$posY; $var44 = $var47 | 0; if ($var47 < $var44) $var44 = $var44 - 1 | 0; $var47 = $var41.$posZ; $var45 = $var47 | 0; if ($var47 < $var45) $var45 = $var45 - 1 | 0; nlea_Tessellator_$callClinit(); $var8 = nlea_Tessellator_instance; nleg_EaglerAdapterGL30_glDisable(2884); nleg_EaglerAdapterGL30_normalSerial = nleg_EaglerAdapterGL30_normalSerial + 1 | 0; $var32 = jl_Math_sqrt(1.0); $var34 = 0.0 / $var32; nleg_EaglerAdapterGL30_normalX = $var34; nleg_EaglerAdapterGL30_normalY = 1.0 / $var32; nleg_EaglerAdapterGL30_normalZ = $var34; nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_alphaThresh = 0.009999999776482582; var$2 = nms_EntityRenderer_locationSnowPng; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$2); if ($rt_suspending()) { break main; } $var47 = $var41.$lastTickPosX; $var9 = $var47 + ($var41.$posX - $var47) * $var35; $var47 = $var41.$lastTickPosY; $var11 = $var47 + ($var41.$posY - $var47) * $var35; $var47 = $var41.$lastTickPosZ; $var13 = $var47 + ($var41.$posZ - $var47) * $var35; $var15 = $var11 | 0; if ($var11 < $var15) $var15 = $var15 - 1 | 0; $var16 = 5; $var22 = $this.$mc0.$gameSettings.$fancyGraphics; if ($var22) $var16 = 10; $var18 = (-1); $var19 = $this.$rendererUpdateCount + $par1; if ($var22) $var16 = 10; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var20 = $var45 - $var16 | 0; $var4 = 24; $var3 = 255; $var9 = -$var9 * 1.0; $var11 = -$var11 * 1.0; $var13 = -$var13 * 1.0; $var5 = $var19 * 0.009999999776482582; while ($var20 <= ($var45 + $var16 | 0)) { $var21 = $var43 - $var16 | 0; while ($var21 <= ($var43 + $var16 | 0)) { $var22 = ((((($var20 - $var45 | 0) + 16 | 0) * 32 | 0) + $var21 | 0) - $var43 | 0) + 16 | 0; $var23 = $this.$rainXCoords.data[$var22] * 0.5; $var24 = $this.$rainYCoords.data[$var22] * 0.5; $var25 = nms_World_getBiomeGenForCoords($var42, $var21, $var20); $var22 = $var25.$enableSnow; $var26 = !$var22 ? $var25.$enableRain : 0; if (!(!$var26 && !$var22)) { $var26 = $var21 >> 4; $var22 = $var20 >> 4; var$2 = $var42.$chunkProvider; var$34 = var$2.$chunkMapping; var$35 = Long_or(Long_and(Long_fromInt($var26), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var22), Long_create(4294967295, 0)), 32)); $var22 = Long_lo(Long_xor(var$35, Long_shru(var$35, 32))); $var22 = $var22 ^ ($var22 >>> 20 | 0) ^ ($var22 >>> 12 | 0); var$36 = $var22 ^ ($var22 >>> 7 | 0) ^ ($var22 >>> 4 | 0); var$11 = var$34.$hashArray.data; var$34 = var$11[var$36 & (var$11.length - 1 | 0)]; b: { while (var$34 !== null) { if (Long_eq(var$34.$key1, var$35)) { var$34 = var$34.$value6; break b; } var$34 = var$34.$nextEntry0; } var$34 = null; } var$34 = var$34; if (var$34 === null) var$34 = var$2.$blankChunk; $var26 = nms_Chunk_getPrecipitationHeight(var$34, $var21 & 15, $var20 & 15); $var27 = $var44 - $var16 | 0; $var28 = $var44 + $var16 | 0; if ($var27 < $var26) $var27 = $var26; if ($var28 < $var26) $var28 = $var26; $var29 = 1.0; if ($var26 < $var15) $var26 = $var15; if ($var27 != $var28) { var$2 = $this.$random; $var22 = $rt_imul($var21, $var21) * 3121 | 0; var$36 = $rt_imul($var21, 45238971); var$40 = $var22 + var$36 | 0; var$41 = $rt_imul($rt_imul($var20, $var20), 418711); var$42 = $var20 * 13761 | 0; var$2.$seed = Long_fromInt(var$40 ^ (var$41 + var$42 | 0)); if ($var25.$temperature >= 0.15000000596046448) { if ($var18) { if ($var18 >= 0) nlea_Tessellator_draw($var8); $var18 = 0; var$2 = nms_EntityRenderer_locationRainPng; $ptr = 3; continue main; } $var34 = (((((($this.$rendererUpdateCount + $var22 | 0) + var$36 | 0) + var$41 | 0) + var$42 | 0) & 31) + $par1) / 32.0; var$2 = $this.$random; var$43 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$43; $var32 = $var34 * (3.0 + Long_lo(Long_shru(var$43, $var4)) / 1.6777216E7); $var46 = $var21; $var33 = $var46 + 0.5 - $var41.$posX; $var32_0 = $var20; $var35_0 = $var32_0 + 0.5 - $var41.$posZ; $var37 = jl_Math_sqrt($var33 * $var33 + $var35_0 * $var35_0) / $var16; $var22 = 0; var$36 = nms_World_getSkyBlockTypeBrightness($var42, nms_EnumSkyBlock_Sky, $var21, $var26, $var20); $var26 = nms_World_getSkyBlockTypeBrightness($var42, nms_EnumSkyBlock_Block, $var21, $var26, $var20); if ($var26 >= $var22) $var22 = $var26; $var26 = var$36 << 20 | $var22 << 4; $var8.$hasBrightness = 1; $var8.$brightness = $var26; nlea_Tessellator_setColorRGBA($var8, $var3, $var3, $var3, ((1.0 - $var37 * $var37) * 0.5 + 0.5) * $var2 * 255.0 | 0); $var8.$xOffset = $var9; $var8.$yOffset0 = $var11; $var8.$zOffset = $var13; $var35 = $var46 - $var23 + 0.5; $var47 = $var27; $var33 = $var32_0 - $var24 + 0.5; $var34 = $var27 * $var29 / 4.0; $var37 = $var32 * $var29; $var35_0 = $var34 + $var37; $var8.$hasTexture = 1; $var8.$textureU = 0.0; $var39 = $var35_0; $var8.$textureV = $var39; nlea_Tessellator_addVertex($var8, $var35, $var47, $var33); $var35_0 = $var46 + $var23 + 0.5; var$50 = $var32_0 + $var24 + 0.5; $var8.$hasTexture = 1; $var8.$textureU = 1.0; $var8.$textureV = $var39; nlea_Tessellator_addVertex($var8, $var35_0, $var47, var$50); $var47 = $var28; var$51 = $var28 * $var29 / 4.0 + $var37; $var8.$hasTexture = 1; $var8.$textureU = 1.0; $var34 = var$51; $var8.$textureV = $var34; nlea_Tessellator_addVertex($var8, $var35_0, $var47, var$50); $var8.$hasTexture = 1; $var8.$textureU = 0.0; $var8.$textureV = $var34; nlea_Tessellator_addVertex($var8, $var35, $var47, $var33); $var8.$xOffset = 0.0; $var8.$yOffset0 = 0.0; $var8.$zOffset = 0.0; } else { if ($var18 != 1) { if ($var18 >= 0) nlea_Tessellator_draw($var8); $var18 = 1; var$2 = new nle_TextureLocation; var$2.$path = $rt_s(1322); var$2.$glObject = (-1); $var25 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity($var25, $var25.$size0 + 1 | 0); var$11 = $var25.$array.data; var$36 = $var25.$size0; $var25.$size0 = var$36 + 1 | 0; var$11[var$36] = var$2; $var25.$modCount = $var25.$modCount + 1 | 0; $ptr = 2; continue main; } $var32_0 = (($this.$rendererUpdateCount & 511) + $par1) / 512.0; var$2 = $this.$random; var$43 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$43; $var46 = Long_lo(Long_shru(var$43, $var4)) / 1.6777216E7 + $var5 * nle_EaglercraftRandom_nextGaussian(var$2); var$2 = $this.$random; var$43 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$43; $var34 = Long_lo(Long_shru(var$43, $var4)) / 1.6777216E7 + $var19 * nle_EaglercraftRandom_nextGaussian(var$2) * 0.0010000000474974513; $var37 = $var21; $var35 = $var37 + 0.5 - $var41.$posX; $var32 = $var20; $var47 = $var32 + 0.5 - $var41.$posZ; $var39 = jl_Math_sqrt($var35 * $var35 + $var47 * $var47) / $var16; var$40 = 0; $var22 = nms_World_getSkyBlockTypeBrightness($var42, nms_EnumSkyBlock_Sky, $var21, $var26, $var20); $var26 = nms_World_getSkyBlockTypeBrightness($var42, nms_EnumSkyBlock_Block, $var21, $var26, $var20); if ($var26 >= var$40) var$40 = $var26; $var22 = ((($var22 << 20 | var$40 << 4) * 3 | 0) + 15728880 | 0) / 4 | 0; $var8.$hasBrightness = 1; $var8.$brightness = $var22; nlea_Tessellator_setColorRGBA($var8, $var3, $var3, $var3, ((1.0 - $var39 * $var39) * 0.30000001192092896 + 0.5) * $var2 * 255.0 | 0); $var8.$xOffset = $var9; $var8.$yOffset0 = $var11; $var8.$zOffset = $var13; $var35 = $var37 - $var23 + 0.5; $var47 = $var27; $var33 = $var32 - $var24 + 0.5; $var35_0 = 0.0 + $var46; $var39 = $var27 * $var29 / 4.0; $var32_0 = $var32_0 * $var29; var$50 = $var39 + $var32_0 + $var34; $var8.$hasTexture = 1; $var39 = $var35_0; $var8.$textureU = $var39; $var31 = var$50; $var8.$textureV = $var31; nlea_Tessellator_addVertex($var8, $var35, $var47, $var33); var$51 = $var37 + $var23 + 0.5; $var35_0 = $var32 + $var24 + 0.5; var$50 = 1.0 + $var46; $var8.$hasTexture = 1; $var46 = var$50; $var8.$textureU = $var46; $var8.$textureV = $var31; nlea_Tessellator_addVertex($var8, var$51, $var47, $var35_0); $var47 = $var28; var$50 = $var28 * $var29 / 4.0 + $var32_0 + $var34; $var8.$hasTexture = 1; $var8.$textureU = $var46; $var34 = var$50; $var8.$textureV = $var34; nlea_Tessellator_addVertex($var8, var$51, $var47, $var35_0); $var8.$hasTexture = 1; $var8.$textureU = $var39; $var8.$textureV = $var34; nlea_Tessellator_addVertex($var8, $var35, $var47, $var33); $var8.$xOffset = 0.0; $var8.$yOffset0 = 0.0; $var8.$zOffset = 0.0; } } } $var21 = $var21 + 1 | 0; } $var20 = $var20 + 1 | 0; } if ($var18 >= 0) nlea_Tessellator_draw($var8); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); return; case 2: nle_TextureLocation_bindTexture(var$2); if ($rt_suspending()) { break main; } if ($var8.$isDrawing) nlea_Tessellator_draw($var8); $var8.$isDrawing = 1; $var8.$vertexCount = 0; $var8.$rawBufferIndex = 0; $var8.$addedVertices = 0; $var8.$drawMode = 7; $var8.$hasNormals = 0; $var8.$hasColor = 0; $var8.$hasTexture = 0; $var8.$hasBrightness = 0; $var8.$isColorDisabled = 0; c: while (true) { $var32_0 = (($this.$rendererUpdateCount & 511) + $par1) / 512.0; var$2 = $this.$random; var$43 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$43; $var46 = Long_lo(Long_shru(var$43, $var4)) / 1.6777216E7 + $var5 * nle_EaglercraftRandom_nextGaussian(var$2); var$2 = $this.$random; var$43 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$43; $var34 = Long_lo(Long_shru(var$43, $var4)) / 1.6777216E7 + $var19 * nle_EaglercraftRandom_nextGaussian(var$2) * 0.0010000000474974513; $var37 = $var21; $var35 = $var37 + 0.5 - $var41.$posX; $var32 = $var20; $var47 = $var32 + 0.5 - $var41.$posZ; $var39 = jl_Math_sqrt($var35 * $var35 + $var47 * $var47) / $var16; var$40 = 0; $var22 = nms_World_getSkyBlockTypeBrightness($var42, nms_EnumSkyBlock_Sky, $var21, $var26, $var20); $var26 = nms_World_getSkyBlockTypeBrightness($var42, nms_EnumSkyBlock_Block, $var21, $var26, $var20); if ($var26 >= var$40) var$40 = $var26; $var22 = ((($var22 << 20 | var$40 << 4) * 3 | 0) + 15728880 | 0) / 4 | 0; $var8.$hasBrightness = 1; $var8.$brightness = $var22; nlea_Tessellator_setColorRGBA($var8, $var3, $var3, $var3, ((1.0 - $var39 * $var39) * 0.30000001192092896 + 0.5) * $var2 * 255.0 | 0); $var8.$xOffset = $var9; $var8.$yOffset0 = $var11; $var8.$zOffset = $var13; $var35 = $var37 - $var23 + 0.5; $var47 = $var27; $var33 = $var32 - $var24 + 0.5; $var35_0 = 0.0 + $var46; $var39 = $var27 * $var29 / 4.0; $var32_0 = $var32_0 * $var29; var$50 = $var39 + $var32_0 + $var34; $var8.$hasTexture = 1; $var39 = $var35_0; $var8.$textureU = $var39; $var31 = var$50; $var8.$textureV = $var31; nlea_Tessellator_addVertex($var8, $var35, $var47, $var33); var$51 = $var37 + $var23 + 0.5; $var35_0 = $var32 + $var24 + 0.5; var$50 = 1.0 + $var46; $var8.$hasTexture = 1; $var46 = var$50; $var8.$textureU = $var46; $var8.$textureV = $var31; nlea_Tessellator_addVertex($var8, var$51, $var47, $var35_0); $var47 = $var28; var$50 = $var28 * $var29 / 4.0 + $var32_0 + $var34; $var8.$hasTexture = 1; $var8.$textureU = $var46; $var34 = var$50; $var8.$textureV = $var34; nlea_Tessellator_addVertex($var8, var$51, $var47, $var35_0); $var8.$hasTexture = 1; $var8.$textureU = $var39; $var8.$textureV = $var34; nlea_Tessellator_addVertex($var8, $var35, $var47, $var33); $var8.$xOffset = 0.0; $var8.$yOffset0 = 0.0; $var8.$zOffset = 0.0; while (true) { $var21 = $var21 + 1 | 0; while ($var21 > ($var43 + $var16 | 0)) { $var20 = $var20 + 1 | 0; if ($var20 > ($var45 + $var16 | 0)) break c; $var21 = $var43 - $var16 | 0; } $var22 = ((((($var20 - $var45 | 0) + 16 | 0) * 32 | 0) + $var21 | 0) - $var43 | 0) + 16 | 0; $var23 = $this.$rainXCoords.data[$var22] * 0.5; $var24 = $this.$rainYCoords.data[$var22] * 0.5; $var25 = nms_World_getBiomeGenForCoords($var42, $var21, $var20); $var22 = $var25.$enableSnow; $var26 = !$var22 ? $var25.$enableRain : 0; if (!$var26 && !$var22) continue; $var26 = $var21 >> 4; $var22 = $var20 >> 4; var$2 = $var42.$chunkProvider; var$34 = var$2.$chunkMapping; var$35 = Long_or(Long_and(Long_fromInt($var26), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var22), Long_create(4294967295, 0)), 32)); $var22 = Long_lo(Long_xor(var$35, Long_shru(var$35, 32))); $var22 = $var22 ^ ($var22 >>> 20 | 0) ^ ($var22 >>> 12 | 0); var$36 = $var22 ^ ($var22 >>> 7 | 0) ^ ($var22 >>> 4 | 0); var$11 = var$34.$hashArray.data; var$34 = var$11[var$36 & (var$11.length - 1 | 0)]; d: { while (var$34 !== null) { if (Long_eq(var$34.$key1, var$35)) { var$34 = var$34.$value6; break d; } var$34 = var$34.$nextEntry0; } var$34 = null; } var$34 = var$34; if (var$34 === null) var$34 = var$2.$blankChunk; $var26 = nms_Chunk_getPrecipitationHeight(var$34, $var21 & 15, $var20 & 15); $var27 = $var44 - $var16 | 0; $var28 = $var44 + $var16 | 0; if ($var27 < $var26) $var27 = $var26; if ($var28 < $var26) $var28 = $var26; $var29 = 1.0; if ($var26 < $var15) $var26 = $var15; if ($var27 == $var28) continue; var$2 = $this.$random; $var22 = $rt_imul($var21, $var21) * 3121 | 0; var$36 = $rt_imul($var21, 45238971); var$40 = $var22 + var$36 | 0; var$41 = $rt_imul($rt_imul($var20, $var20), 418711); var$42 = $var20 * 13761 | 0; var$2.$seed = Long_fromInt(var$40 ^ (var$41 + var$42 | 0)); if ($var25.$temperature < 0.15000000596046448) break; if ($var18) { if ($var18 >= 0) nlea_Tessellator_draw($var8); $var18 = 0; var$2 = nms_EntityRenderer_locationRainPng; $ptr = 3; continue main; } $var34 = (((((($this.$rendererUpdateCount + $var22 | 0) + var$36 | 0) + var$41 | 0) + var$42 | 0) & 31) + $par1) / 32.0; var$2 = $this.$random; var$43 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$43; $var32 = $var34 * (3.0 + Long_lo(Long_shru(var$43, $var4)) / 1.6777216E7); $var46 = $var21; $var33 = $var46 + 0.5 - $var41.$posX; $var32_0 = $var20; $var35_0 = $var32_0 + 0.5 - $var41.$posZ; $var37 = jl_Math_sqrt($var33 * $var33 + $var35_0 * $var35_0) / $var16; $var22 = 0; var$36 = nms_World_getSkyBlockTypeBrightness($var42, nms_EnumSkyBlock_Sky, $var21, $var26, $var20); $var26 = nms_World_getSkyBlockTypeBrightness($var42, nms_EnumSkyBlock_Block, $var21, $var26, $var20); if ($var26 >= $var22) $var22 = $var26; $var26 = var$36 << 20 | $var22 << 4; $var8.$hasBrightness = 1; $var8.$brightness = $var26; nlea_Tessellator_setColorRGBA($var8, $var3, $var3, $var3, ((1.0 - $var37 * $var37) * 0.5 + 0.5) * $var2 * 255.0 | 0); $var8.$xOffset = $var9; $var8.$yOffset0 = $var11; $var8.$zOffset = $var13; $var35 = $var46 - $var23 + 0.5; $var47 = $var27; $var33 = $var32_0 - $var24 + 0.5; $var34 = $var27 * $var29 / 4.0; $var37 = $var32 * $var29; $var35_0 = $var34 + $var37; $var8.$hasTexture = 1; $var8.$textureU = 0.0; $var39 = $var35_0; $var8.$textureV = $var39; nlea_Tessellator_addVertex($var8, $var35, $var47, $var33); $var35_0 = $var46 + $var23 + 0.5; var$50 = $var32_0 + $var24 + 0.5; $var8.$hasTexture = 1; $var8.$textureU = 1.0; $var8.$textureV = $var39; nlea_Tessellator_addVertex($var8, $var35_0, $var47, var$50); $var47 = $var28; var$51 = $var28 * $var29 / 4.0 + $var37; $var8.$hasTexture = 1; $var8.$textureU = 1.0; $var34 = var$51; $var8.$textureV = $var34; nlea_Tessellator_addVertex($var8, $var35_0, $var47, var$50); $var8.$hasTexture = 1; $var8.$textureU = 0.0; $var8.$textureV = $var34; nlea_Tessellator_addVertex($var8, $var35, $var47, $var33); $var8.$xOffset = 0.0; $var8.$yOffset0 = 0.0; $var8.$zOffset = 0.0; } if ($var18 != 1) { if ($var18 >= 0) nlea_Tessellator_draw($var8); $var18 = 1; var$2 = new nle_TextureLocation; var$2.$path = $rt_s(1322); var$2.$glObject = (-1); $var25 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity($var25, $var25.$size0 + 1 | 0); var$11 = $var25.$array.data; var$36 = $var25.$size0; $var25.$size0 = var$36 + 1 | 0; var$11[var$36] = var$2; $var25.$modCount = $var25.$modCount + 1 | 0; continue main; } } if ($var18 >= 0) nlea_Tessellator_draw($var8); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); return; case 3: nle_TextureLocation_bindTexture(var$2); if ($rt_suspending()) { break main; } if ($var8.$isDrawing) nlea_Tessellator_draw($var8); $var8.$isDrawing = 1; $var8.$vertexCount = 0; $var8.$rawBufferIndex = 0; $var8.$addedVertices = 0; $var8.$drawMode = 7; $var8.$hasNormals = 0; $var8.$hasColor = 0; $var8.$hasTexture = 0; $var8.$hasBrightness = 0; $var8.$isColorDisabled = 0; c: while (true) { $var34 = (((((($this.$rendererUpdateCount + $var22 | 0) + var$36 | 0) + var$41 | 0) + var$42 | 0) & 31) + $par1) / 32.0; var$2 = $this.$random; var$43 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$43; $var32 = $var34 * (3.0 + Long_lo(Long_shru(var$43, $var4)) / 1.6777216E7); $var46 = $var21; $var33 = $var46 + 0.5 - $var41.$posX; $var32_0 = $var20; $var35_0 = $var32_0 + 0.5 - $var41.$posZ; $var37 = jl_Math_sqrt($var33 * $var33 + $var35_0 * $var35_0) / $var16; $var22 = 0; var$36 = nms_World_getSkyBlockTypeBrightness($var42, nms_EnumSkyBlock_Sky, $var21, $var26, $var20); $var26 = nms_World_getSkyBlockTypeBrightness($var42, nms_EnumSkyBlock_Block, $var21, $var26, $var20); if ($var26 >= $var22) $var22 = $var26; $var26 = var$36 << 20 | $var22 << 4; $var8.$hasBrightness = 1; $var8.$brightness = $var26; nlea_Tessellator_setColorRGBA($var8, $var3, $var3, $var3, ((1.0 - $var37 * $var37) * 0.5 + 0.5) * $var2 * 255.0 | 0); $var8.$xOffset = $var9; $var8.$yOffset0 = $var11; $var8.$zOffset = $var13; $var35 = $var46 - $var23 + 0.5; $var47 = $var27; $var33 = $var32_0 - $var24 + 0.5; $var34 = $var27 * $var29 / 4.0; $var37 = $var32 * $var29; $var35_0 = $var34 + $var37; $var8.$hasTexture = 1; $var8.$textureU = 0.0; $var39 = $var35_0; $var8.$textureV = $var39; nlea_Tessellator_addVertex($var8, $var35, $var47, $var33); $var35_0 = $var46 + $var23 + 0.5; var$50 = $var32_0 + $var24 + 0.5; $var8.$hasTexture = 1; $var8.$textureU = 1.0; $var8.$textureV = $var39; nlea_Tessellator_addVertex($var8, $var35_0, $var47, var$50); $var47 = $var28; var$51 = $var28 * $var29 / 4.0 + $var37; $var8.$hasTexture = 1; $var8.$textureU = 1.0; $var34 = var$51; $var8.$textureV = $var34; nlea_Tessellator_addVertex($var8, $var35_0, $var47, var$50); $var8.$hasTexture = 1; $var8.$textureU = 0.0; $var8.$textureV = $var34; nlea_Tessellator_addVertex($var8, $var35, $var47, $var33); $var8.$xOffset = 0.0; $var8.$yOffset0 = 0.0; $var8.$zOffset = 0.0; while (true) { $var21 = $var21 + 1 | 0; while ($var21 > ($var43 + $var16 | 0)) { $var20 = $var20 + 1 | 0; if ($var20 > ($var45 + $var16 | 0)) break c; $var21 = $var43 - $var16 | 0; } $var22 = ((((($var20 - $var45 | 0) + 16 | 0) * 32 | 0) + $var21 | 0) - $var43 | 0) + 16 | 0; $var23 = $this.$rainXCoords.data[$var22] * 0.5; $var24 = $this.$rainYCoords.data[$var22] * 0.5; $var25 = nms_World_getBiomeGenForCoords($var42, $var21, $var20); $var22 = $var25.$enableSnow; $var26 = !$var22 ? $var25.$enableRain : 0; if (!$var26 && !$var22) continue; $var26 = $var21 >> 4; $var22 = $var20 >> 4; var$2 = $var42.$chunkProvider; var$34 = var$2.$chunkMapping; var$35 = Long_or(Long_and(Long_fromInt($var26), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var22), Long_create(4294967295, 0)), 32)); $var22 = Long_lo(Long_xor(var$35, Long_shru(var$35, 32))); $var22 = $var22 ^ ($var22 >>> 20 | 0) ^ ($var22 >>> 12 | 0); var$36 = $var22 ^ ($var22 >>> 7 | 0) ^ ($var22 >>> 4 | 0); var$11 = var$34.$hashArray.data; var$34 = var$11[var$36 & (var$11.length - 1 | 0)]; d: { while (var$34 !== null) { if (Long_eq(var$34.$key1, var$35)) { var$34 = var$34.$value6; break d; } var$34 = var$34.$nextEntry0; } var$34 = null; } var$34 = var$34; if (var$34 === null) var$34 = var$2.$blankChunk; $var26 = nms_Chunk_getPrecipitationHeight(var$34, $var21 & 15, $var20 & 15); $var27 = $var44 - $var16 | 0; $var28 = $var44 + $var16 | 0; if ($var27 < $var26) $var27 = $var26; if ($var28 < $var26) $var28 = $var26; $var29 = 1.0; if ($var26 < $var15) $var26 = $var15; if ($var27 == $var28) continue; var$2 = $this.$random; $var22 = $rt_imul($var21, $var21) * 3121 | 0; var$36 = $rt_imul($var21, 45238971); var$40 = $var22 + var$36 | 0; var$41 = $rt_imul($rt_imul($var20, $var20), 418711); var$42 = $var20 * 13761 | 0; var$2.$seed = Long_fromInt(var$40 ^ (var$41 + var$42 | 0)); if ($var25.$temperature >= 0.15000000596046448) break; if ($var18 != 1) { if ($var18 >= 0) nlea_Tessellator_draw($var8); $var18 = 1; var$2 = new nle_TextureLocation; var$2.$path = $rt_s(1322); var$2.$glObject = (-1); $var25 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity($var25, $var25.$size0 + 1 | 0); var$11 = $var25.$array.data; var$36 = $var25.$size0; $var25.$size0 = var$36 + 1 | 0; var$11[var$36] = var$2; $var25.$modCount = $var25.$modCount + 1 | 0; $ptr = 2; continue main; } $var32_0 = (($this.$rendererUpdateCount & 511) + $par1) / 512.0; var$2 = $this.$random; var$43 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$43; $var46 = Long_lo(Long_shru(var$43, $var4)) / 1.6777216E7 + $var5 * nle_EaglercraftRandom_nextGaussian(var$2); var$2 = $this.$random; var$43 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$43; $var34 = Long_lo(Long_shru(var$43, $var4)) / 1.6777216E7 + $var19 * nle_EaglercraftRandom_nextGaussian(var$2) * 0.0010000000474974513; $var37 = $var21; $var35 = $var37 + 0.5 - $var41.$posX; $var32 = $var20; $var47 = $var32 + 0.5 - $var41.$posZ; $var39 = jl_Math_sqrt($var35 * $var35 + $var47 * $var47) / $var16; var$40 = 0; $var22 = nms_World_getSkyBlockTypeBrightness($var42, nms_EnumSkyBlock_Sky, $var21, $var26, $var20); $var26 = nms_World_getSkyBlockTypeBrightness($var42, nms_EnumSkyBlock_Block, $var21, $var26, $var20); if ($var26 >= var$40) var$40 = $var26; $var22 = ((($var22 << 20 | var$40 << 4) * 3 | 0) + 15728880 | 0) / 4 | 0; $var8.$hasBrightness = 1; $var8.$brightness = $var22; nlea_Tessellator_setColorRGBA($var8, $var3, $var3, $var3, ((1.0 - $var39 * $var39) * 0.30000001192092896 + 0.5) * $var2 * 255.0 | 0); $var8.$xOffset = $var9; $var8.$yOffset0 = $var11; $var8.$zOffset = $var13; $var35 = $var37 - $var23 + 0.5; $var47 = $var27; $var33 = $var32 - $var24 + 0.5; $var35_0 = 0.0 + $var46; $var39 = $var27 * $var29 / 4.0; $var32_0 = $var32_0 * $var29; var$50 = $var39 + $var32_0 + $var34; $var8.$hasTexture = 1; $var39 = $var35_0; $var8.$textureU = $var39; $var31 = var$50; $var8.$textureV = $var31; nlea_Tessellator_addVertex($var8, $var35, $var47, $var33); var$51 = $var37 + $var23 + 0.5; $var35_0 = $var32 + $var24 + 0.5; var$50 = 1.0 + $var46; $var8.$hasTexture = 1; $var46 = var$50; $var8.$textureU = $var46; $var8.$textureV = $var31; nlea_Tessellator_addVertex($var8, var$51, $var47, $var35_0); $var47 = $var28; var$50 = $var28 * $var29 / 4.0 + $var32_0 + $var34; $var8.$hasTexture = 1; $var8.$textureU = $var46; $var34 = var$50; $var8.$textureV = $var34; nlea_Tessellator_addVertex($var8, var$51, $var47, $var35_0); $var8.$hasTexture = 1; $var8.$textureU = $var39; $var8.$textureV = $var34; nlea_Tessellator_addVertex($var8, $var35, $var47, $var33); $var8.$xOffset = 0.0; $var8.$yOffset0 = 0.0; $var8.$zOffset = 0.0; } if ($var18) { if ($var18 >= 0) nlea_Tessellator_draw($var8); $var18 = 0; var$2 = nms_EntityRenderer_locationRainPng; continue main; } } if ($var18 >= 0) nlea_Tessellator_draw($var8); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, $var34, $var2, $var35, $var3, $var4, $var5, $var6, $var7, var$11, $var44, $var41, $var42, $var47, $var43, $var45, $var8, $var32, $var9, $var11, $var13, $var15, $var16, $var22, $var18, $var19, $var20, $var21, $var23, $var24, $var25, $var26, var$34, var$35, var$36, $var27, $var28, $var29, var$40, var$41, var$42, var$43, $var46, $var33, $var32_0, $var35_0, $var37, $var39, var$50, var$51, $var31, $ptr); }, nms_EntityRenderer_setupOverlayRendering = $this => { let $var1, var$2; $var1 = new nms_ScaledResolution; var$2 = $this.$mc0; nms_ScaledResolution__init_0($var1, var$2.$gameSettings, var$2.$displayWidth, var$2.$displayHeight); nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clear(256); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, $var1.$scaledWidth, $var1.$scaledHeight, 0.0, 1000.0, 3000.0); nleg_EaglerAdapterGL30_matrixMode = 5888; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); $var1 = nleg_EaglerAdapterGL30_deevis; $var1.$x = 0.0; $var1.$y = 0.0; $var1.$z = (-2000.0); $var1 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var1, $var1); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); $var1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var1.$sb = var$2; $var1.$buffer0 = $rt_createCharArray(32); $var1.$autoFlush = 0; $var1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var1; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_EntityRenderer_updateFogColor = ($this, $par1) => { let $var10, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var22, $var9, $var20, $var11, $var12, $var23, $var19, $var21, $var13, $var16, var$20, var$21, var$22, $var14, $var17, $var18; $var10 = $this.$mc0; $var2 = $var10.$theWorld; $var3 = $var10.$renderViewEntity; $var4 = 1.0 - jl_Math_powImpl(1.0 / (4 - $var10.$gameSettings.$renderDistance | 0), 0.25); $var5 = nms_World_getSkyColor($var2, $this.$mc0.$renderViewEntity, $par1); $var6 = $var5.$xCoord; $var7 = $var5.$yCoord; $var8 = $var5.$zCoord; $var22 = $var2.$provider.$calculateCelestialAngle($var2.$worldInfo.$worldTime, $par1); $var9 = $var2.$provider.$getFogColor($var22, $par1); $this.$fogColorRed = $var9.$xCoord; $this.$fogColorGreen = $var9.$yCoord; $this.$fogColorBlue = $var9.$zCoord; if ($this.$mc0.$gameSettings.$renderDistance < 2) { $var20 = $var2.$provider.$calculateCelestialAngle($var2.$worldInfo.$worldTime, $par1) * 3.1415927410125732 * 2.0; $var10 = nms_MathHelper_SIN_TABLE.data[($var20 * 10430.3779296875 | 0) & 65535] <= 0.0 ? nms_Vec3Pool_getVecFromPool($var2.$vecPool, 1.0, 0.0, 0.0) : nms_Vec3Pool_getVecFromPool($var2.$vecPool, (-1.0), 0.0, 0.0); $var9 = nms_EntityLivingBase_getLook($var3, $par1); $var11 = $var9.$xCoord * $var10.$xCoord + $var9.$yCoord * $var10.$yCoord + $var9.$zCoord * $var10.$zCoord; if ($var11 < 0.0) $var11 = 0.0; if ($var11 > 0.0) { $var10 = $var2.$provider; $var12 = $var10.$calcSunriseSunsetColors($var10.$calculateCelestialAngle($var2.$worldInfo.$worldTime, $par1), $par1); if ($var12 !== null) { $var12 = $var12.data; $var22 = $var11 * $var12[3]; $var20 = $this.$fogColorRed; $var11 = 1.0 - $var22; $this.$fogColorRed = $var20 * $var11 + $var12[0] * $var22; $this.$fogColorGreen = $this.$fogColorGreen * $var11 + $var12[1] * $var22; $this.$fogColorBlue = $this.$fogColorBlue * $var11 + $var12[2] * $var22; } } } $var22 = $this.$fogColorRed; $var23 = $var22 + ($var6 - $var22) * $var4; $this.$fogColorRed = $var23; $var22 = $this.$fogColorGreen; $var6 = $var22 + ($var7 - $var22) * $var4; $this.$fogColorGreen = $var6; $var22 = $this.$fogColorBlue; $var4 = $var22 + ($var8 - $var22) * $var4; $this.$fogColorBlue = $var4; $var22 = $var2.$prevRainingStrength; $var19 = $var22 + ($var2.$rainingStrength - $var22) * $par1; if ($var19 > 0.0) { $var11 = 1.0 - $var19 * 0.5; $var20 = 1.0 - $var19 * 0.4000000059604645; $this.$fogColorRed = $var23 * $var11; $this.$fogColorGreen = $var6 * $var11; $this.$fogColorBlue = $var4 * $var20; } $var22 = $var2.$prevThunderingStrength; $var11 = ($var22 + ($var2.$thunderingStrength - $var22) * $par1) * $var19; if ($var11 > 0.0) { $var20 = 1.0 - $var11 * 0.5; $this.$fogColorRed = $this.$fogColorRed * $var20; $this.$fogColorGreen = $this.$fogColorGreen * $var20; $this.$fogColorBlue = $this.$fogColorBlue * $var20; } a: { $var21 = nms_ActiveRenderInfo_getBlockIdAtEntityViewpoint($this.$mc0.$theWorld, $var3, $par1); if ($this.$cloudFog) { $var13 = nms_World_getCloudColour($var2, $par1); $this.$fogColorRed = $var13.$xCoord; $this.$fogColorGreen = $var13.$yCoord; $this.$fogColorBlue = $var13.$zCoord; } else { if ($var21) { nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$var21].$blockMaterial; nms_Material_$callClinit(); if ($var10 === nms_Material_water) { nms_EnchantmentHelper_$callClinit(); nms_Enchantment_$callClinit(); $var21 = nms_Enchantment_respiration.$effectId; $var12 = $var3.$inventory.$armorInventory; if ($var12 === null) $var16 = 0; else { $var12 = $var12.data; $var16 = 0; var$20 = $var12.length; var$21 = 0; while (var$21 < var$20) { var$22 = nms_EnchantmentHelper_getEnchantmentLevel($var21, $var12[var$21]); if (var$22 > $var16) $var16 = var$22; var$21 = var$21 + 1 | 0; } } $var22 = $var16 * 0.20000000298023224; $var20 = 0.019999999552965164 + $var22; $this.$fogColorRed = $var20; $this.$fogColorGreen = $var20; $this.$fogColorBlue = 0.20000000298023224 + $var22; break a; } } if ($var21) { nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$var21].$blockMaterial; nms_Material_$callClinit(); if ($var10 === nms_Material_lava) { $this.$fogColorRed = 0.6000000238418579; $this.$fogColorGreen = 0.10000000149011612; $this.$fogColorBlue = 0.0; } } } } $var22 = $this.$fogColor2; $var22 = $var22 + ($this.$fogColor1 - $var22) * $par1; $this.$fogColorRed = $this.$fogColorRed * $var22; $this.$fogColorGreen = $this.$fogColorGreen * $var22; $this.$fogColorBlue = $this.$fogColorBlue * $var22; $var14 = $var3.$lastTickPosY; $var14 = ($var14 + ($var3.$posY - $var14) * $par1) * ($var2.$provider.$terrainType0 !== nms_WorldType_FLAT ? 0.03125 : 1.0); nms_Potion_$callClinit(); if (nms_EntityLivingBase_isPotionActive($var3, nms_Potion_blindness)) { $var16 = (nms_EntityLivingBase_getActivePotionEffect($var3, nms_Potion_blindness)).$duration; $var14 = $var16 >= 20 ? 0.0 : $var14 * (1.0 - $var16 / 20.0); } if ($var14 < 1.0) { if ($var14 < 0.0) $var14 = 0.0; $var14 = $var14 * $var14; $this.$fogColorRed = $this.$fogColorRed * $var14; $this.$fogColorGreen = $this.$fogColorGreen * $var14; $this.$fogColorBlue = $this.$fogColorBlue * $var14; } $var22 = $this.$field_82831_U; if ($var22 > 0.0) { $var20 = $this.$field_82832_V; $var23 = $var20 + ($var22 - $var20) * $par1; $var22 = $this.$fogColorRed; $var20 = 1.0 - $var23; $this.$fogColorRed = $var22 * $var20 + $var22 * 0.699999988079071 * $var23; $var22 = $this.$fogColorGreen; $this.$fogColorGreen = $var22 * $var20 + $var22 * 0.6000000238418579 * $var23; $var22 = $this.$fogColorBlue; $this.$fogColorBlue = $var22 * $var20 + $var22 * 0.6000000238418579 * $var23; } if (nms_EntityLivingBase_isPotionActive($var3, nms_Potion_nightVision)) { $var16 = (nms_EntityLivingBase_getActivePotionEffect($this.$mc0.$thePlayer, nms_Potion_nightVision)).$duration; if ($var16 > 200) $var23 = 1.0; else { $par1 = ($var16 - $par1) * 3.1415927410125732 * 0.20000000298023224; $var23 = 0.699999988079071 + nms_MathHelper_SIN_TABLE.data[($par1 * 10430.3779296875 | 0) & 65535] * 0.30000001192092896; } $var22 = $this.$fogColorRed; $var17 = 1.0 / $var22; $var20 = $this.$fogColorGreen; $par1 = 1.0 / $var20; if ($var17 <= $par1) $par1 = $var17; $var19 = $this.$fogColorBlue; $var11 = 1.0 / $var19; if ($par1 <= $var11) $var11 = $par1; $par1 = 1.0 - $var23; $this.$fogColorRed = $var22 * $par1 + $var22 * $var11 * $var23; $this.$fogColorGreen = $var20 * $par1 + $var20 * $var11 * $var23; $this.$fogColorBlue = $var19 * $par1 + $var19 * $var11 * $var23; } if ($this.$mc0.$gameSettings.$anaglyph) { $par1 = $this.$fogColorRed * 30.0; $var22 = $this.$fogColorGreen; $var20 = $par1 + $var22 * 59.0; $var11 = $this.$fogColorBlue; $var23 = ($var20 + $var11 * 11.0) / 100.0; $var17 = ($par1 + $var22 * 70.0) / 100.0; $var18 = ($par1 + $var11 * 70.0) / 100.0; $this.$fogColorRed = $var23; $this.$fogColorGreen = $var17; $this.$fogColorBlue = $var18; } $par1 = $this.$fogColorRed; $var22 = $this.$fogColorGreen; $var20 = $this.$fogColorBlue; nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clearColor($par1, $var22, $var20, 0.0); }, nms_EntityRenderer_setupFog = ($this, $par1, $par2) => { let $var3, $var4, $var5, $var9, var$7, var$8, var$9, var$10, $var7, $var6, var$13, var$14, $var10, var$16; $var3 = $this.$mc0.$renderViewEntity; $var4 = 0; if ($var3 instanceof nms_EntityPlayer) $var4 = $var3.$capabilities.$isCreativeMode; if ($par1 == 999) { $var3 = $this.$fogColorBuffer; $var3.$position0 = 0; $var3.$limit0 = $var3.$capacity; $var3.$mark = (-1); jn_FloatBufferImpl_put(jn_FloatBufferImpl_put(jn_FloatBufferImpl_put(jn_FloatBufferImpl_put($var3, 0.0), 0.0), 0.0), 1.0); $var3 = $this.$fogColorBuffer; $var4 = $var3.$position0; $var3.$limit0 = $var4; $var3.$position0 = 0; $var3.$mark = (-1); nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_fogColorSerial = nleg_EaglerAdapterGL30_fogColorSerial + 1 | 0; if (0 >= $var4) { $var3 = new jn_BufferUnderflowException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var3.$position0 = 1; nleg_EaglerAdapterGL30_fogColorR = $var3.$getElement(0); $var5 = $var3.$position0; if ($var5 >= $var3.$limit0) { $var3 = new jn_BufferUnderflowException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var3.$position0 = $var5 + 1 | 0; nleg_EaglerAdapterGL30_fogColorG = $var3.$getElement($var5); $var5 = $var3.$position0; if ($var5 >= $var3.$limit0) { $var3 = new jn_BufferUnderflowException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var3.$position0 = $var5 + 1 | 0; nleg_EaglerAdapterGL30_fogColorB = $var3.$getElement($var5); $var5 = $var3.$position0; if ($var5 >= $var3.$limit0) { $var3 = new jn_BufferUnderflowException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } a: { b: { $var3.$position0 = $var5 + 1 | 0; nleg_EaglerAdapterGL30_fogColorA = $var3.$getElement($var5); switch (9729) { case 2048: break; case 9729: break b; default: break b; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogMode = 2; break a; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogMode = 1; } c: { switch (2915) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = 0.0; break c; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = 0.0; break c; default: break c; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = 0.0; } d: { switch (2916) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = 8.0; break d; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = 8.0; break d; default: break d; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = 8.0; } e: { switch (2915) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = 0.0; break e; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = 0.0; break e; default: break e; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = 0.0; } } else { $var9 = $this.$fogColorRed; var$7 = $this.$fogColorGreen; var$8 = $this.$fogColorBlue; var$9 = $this.$fogColorBuffer; var$9.$position0 = 0; var$9.$limit0 = var$9.$capacity; var$9.$mark = (-1); jn_FloatBufferImpl_put(jn_FloatBufferImpl_put(jn_FloatBufferImpl_put(jn_FloatBufferImpl_put(var$9, $var9), var$7), var$8), 1.0); var$9 = $this.$fogColorBuffer; var$10 = var$9.$position0; var$9.$limit0 = var$10; var$9.$position0 = 0; var$9.$mark = (-1); nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_fogColorSerial = nleg_EaglerAdapterGL30_fogColorSerial + 1 | 0; if (0 >= var$10) { $var3 = new jn_BufferUnderflowException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } var$9.$position0 = 1; nleg_EaglerAdapterGL30_fogColorR = var$9.$getElement(0); $var7 = var$9.$position0; if ($var7 >= var$9.$limit0) { $var3 = new jn_BufferUnderflowException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } var$9.$position0 = $var7 + 1 | 0; nleg_EaglerAdapterGL30_fogColorG = var$9.$getElement($var7); $var7 = var$9.$position0; if ($var7 >= var$9.$limit0) { $var3 = new jn_BufferUnderflowException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } var$9.$position0 = $var7 + 1 | 0; nleg_EaglerAdapterGL30_fogColorB = var$9.$getElement($var7); $var7 = var$9.$position0; if ($var7 >= var$9.$limit0) { $var3 = new jn_BufferUnderflowException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } f: { var$9.$position0 = $var7 + 1 | 0; nleg_EaglerAdapterGL30_fogColorA = var$9.$getElement($var7); nleg_EaglerAdapterGL30_normalSerial = nleg_EaglerAdapterGL30_normalSerial + 1 | 0; var$7 = jl_Math_sqrt(1.0); $var6 = 0.0 / var$7; nleg_EaglerAdapterGL30_normalX = $var6; nleg_EaglerAdapterGL30_normalY = (-1.0) / var$7; nleg_EaglerAdapterGL30_normalZ = $var6; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var5 = nms_ActiveRenderInfo_getBlockIdAtEntityViewpoint($this.$mc0.$theWorld, $var3, $par2); nms_Potion_$callClinit(); if (nms_EntityLivingBase_isPotionActive($var3, nms_Potion_blindness)) { $var6 = 5.0; $var7 = (nms_EntityLivingBase_getActivePotionEffect($var3, nms_Potion_blindness)).$duration; if ($var7 < 20) $var6 = 5.0 + ($this.$farPlaneDistance - 5.0) * (1.0 - $var7 / 20.0); g: { h: { switch (9729) { case 2048: break; case 9729: break h; default: break h; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogMode = 2; break g; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogMode = 1; } if ($par1 >= 0) { i: { $par2 = $var6 * 0.25; switch (2915) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = $par2; break i; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = $par2; break i; default: break i; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = $par2; } j: { switch (2916) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = $var6; break j; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = $var6; break j; default: break j; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = $var6; } } else { k: { switch (2915) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = 0.0; break k; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = 0.0; break k; default: break k; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = 0.0; } l: { $par2 = $var6 * 0.800000011920929; switch (2916) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = $par2; break l; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = $par2; break l; default: break l; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = $par2; } } } else if ($this.$cloudFog) { m: { n: { switch (2048) { case 2048: break; case 9729: break n; default: break n; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogMode = 2; break m; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogMode = 1; } o: { switch (2914) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = 0.10000000149011612; break o; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = 0.10000000149011612; break o; default: break o; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = 0.10000000149011612; } } else { if ($var5 > 0) { nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var5].$blockMaterial; nms_Material_$callClinit(); if (var$9 === nms_Material_water) { p: { q: { switch (2048) { case 2048: break; case 9729: break q; default: break q; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogMode = 2; break p; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogMode = 1; } if (nms_EntityLivingBase_isPotionActive($var3, nms_Potion_waterBreathing)) { r: { switch (2914) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = 0.05000000074505806; break r; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = 0.05000000074505806; break r; default: break r; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = 0.05000000074505806; } break f; } nms_EnchantmentHelper_$callClinit(); nms_Enchantment_$callClinit(); $var5 = nms_Enchantment_respiration.$effectId; var$13 = $var3.$inventory.$armorInventory; if (var$13 === null) $var4 = 0; else { var$13 = var$13.data; $var4 = 0; $var7 = var$13.length; var$10 = 0; while (var$10 < $var7) { var$14 = nms_EnchantmentHelper_getEnchantmentLevel($var5, var$13[var$10]); if (var$14 > $var4) $var4 = var$14; var$10 = var$10 + 1 | 0; } } s: { $par2 = 0.10000000149011612 - $var4 * 0.029999999329447746; switch (2914) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = $par2; break s; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = $par2; break s; default: break s; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = $par2; } break f; } } if ($var5 > 0) { nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var5].$blockMaterial; nms_Material_$callClinit(); if (var$9 === nms_Material_lava) { t: { u: { switch (2048) { case 2048: break; case 9729: break u; default: break u; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogMode = 2; break t; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogMode = 1; } v: { switch (2914) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = 2.0; break v; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = 2.0; break v; default: break v; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = 2.0; } break f; } } $var6 = $this.$farPlaneDistance; var$9 = $this.$mc0.$theWorld.$provider; if (!(var$9.$terrainType0 !== nms_WorldType_FLAT && !var$9.$hasNoSky ? 1 : 0)) $var9 = $var6; else if ($var4) $var9 = $var6; else { $var10 = ((nms_Entity_getBrightnessForRender($var3, $par2) & 15728640) >> 20) / 16.0; var$16 = $var3.$lastTickPosY; $var10 = $var10 + (var$16 + ($var3.$posY - var$16) * $par2 + 4.0) / 32.0; if ($var10 >= 1.0) $var9 = $var6; else { if ($var10 < 0.0) $var10 = 0.0; $var9 = 100.0 * $var10 * $var10; if ($var9 < 5.0) $var9 = 5.0; if ($var6 <= $var9) $var9 = $var6; } } w: { x: { switch (9729) { case 2048: break; case 9729: break x; default: break x; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogMode = 2; break w; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogMode = 1; } if ($par1 >= 0) { y: { $par2 = $var9 * 0.25; switch (2915) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = $par2; break y; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = $par2; break y; default: break y; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = $par2; } z: { switch (2916) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = $var9; break z; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = $var9; break z; default: break z; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = $var9; } } else { ba: { switch (2915) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = 0.0; break ba; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = 0.0; break ba; default: break ba; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = 0.0; } bb: { $par2 = $var9 * 0.800000011920929; switch (2916) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = $par2; break bb; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = $par2; break bb; default: break bb; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = $par2; } } if ($this.$mc0.$theWorld.$provider.$doesXZShowFog($var3.$posX | 0, $var3.$posZ | 0)) { bc: { $par2 = $var9 * 0.05000000074505806; switch (2915) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = $par2; break bc; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = $par2; break bc; default: break bc; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = $par2; } bd: { $par2 = jl_Math_minImpl($var9, 192.0) * 0.5; switch (2916) { case 2914: break; case 2915: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogStart = $par2; break bd; case 2916: nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogEnd = $par2; break bd; default: break bd; } nleg_EaglerAdapterGL30_fogCfgSerial = nleg_EaglerAdapterGL30_fogCfgSerial + 1 | 0; nleg_EaglerAdapterGL30_fogDensity = $par2; } } } } nleg_EaglerAdapterGL30_glEnable(2903); } }, nms_EntityRenderer__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1323); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_EntityRenderer_locationRainPng = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1322); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_EntityRenderer_locationSnowPng = var$1; }; function nleg_FixedFunctionShader() { let a = this; jl_Object.call(a); a.$enable_color = 0; a.$enable_normal = 0; a.$enable_texture0 = 0; a.$enable_texture1 = 0; a.$enable_TEX_GEN_STRQ = 0; a.$enable_lighting = 0; a.$enable_fog = 0; a.$enable_alphatest = 0; a.$enable_unit0 = 0; a.$enable_unit1 = 0; a.$enable_anisotropic_fix = 0; a.$enable_swap_rb = 0; a.$globject = null; a.$u_matrix_m = null; a.$u_matrix_p = null; a.$u_matrix_t = null; a.$u_fogColor = null; a.$u_fogParam = null; a.$u_colorUniform = null; a.$u_normalUniform = null; a.$u_alphaTestF = null; a.$u_textureGen_M = null; a.$u_textureGenS_V = null; a.$u_textureGenT_V = null; a.$u_textureGenR_V = null; a.$u_textureGenQ_V = null; a.$u_texCoordV0 = null; a.$u_texCoordV1 = null; a.$u_light0Pos = null; a.$u_light1Pos = null; a.$u_anisotropic_fix = null; a.$a_position = 0; a.$a_texture0 = 0; a.$a_color = 0; a.$a_normal = 0; a.$a_texture1 = 0; a.$attributeIndexesToEnable = 0; a.$streamBuffer = null; a.$bufferIsInitialized = 0; a.$matBuffer = null; a.$light0Pos = null; a.$light1Pos = null; a.$anisotropicFix = null; a.$fogMode = 0; a.$fogColorR = 0.0; a.$fogColorG = 0.0; a.$fogColorB = 0.0; a.$fogColorA = 0.0; a.$fogStart = 0.0; a.$fogEnd = 0.0; a.$fogDensity = 0.0; a.$alphaTestValue = 0.0; a.$tex0x = 0.0; a.$tex0y = 0.0; a.$tex1x = 0.0; a.$tex1y = 0.0; a.$colorUniformR = 0.0; a.$colorUniformG = 0.0; a.$colorUniformB = 0.0; a.$colorUniformA = 0.0; a.$normalUniformX = 0.0; a.$normalUniformY = 0.0; a.$normalUniformZ = 0.0; a.$anisotropicFixSerial = 0; a.$colorSerial = 0; a.$normalSerial = 0; a.$tex0Serial = 0; a.$tex1Serial = 0; a.$texPlaneSerial = 0; a.$texSSerial = 0; a.$texTSerial = 0; a.$texRSerial = 0; a.$texQSerial = 0; a.$fogColorSerial = 0; a.$fogCfgSerial = 0; a.$matModelSerialCounter = 0; a.$matProjSerialCounter = 0; a.$matTexSerialCounter = 0; a.$lightPos0Serial = 0; a.$lightPos1Serial = 0; a.$texS_plane = 0; a.$texS_X = 0.0; a.$texS_Y = 0.0; a.$texS_Z = 0.0; a.$texS_W = 0.0; a.$texT_plane = 0; a.$texT_X = 0.0; a.$texT_Y = 0.0; a.$texT_Z = 0.0; a.$texT_W = 0.0; a.$texR_plane = 0; a.$texR_X = 0.0; a.$texR_Y = 0.0; a.$texR_Z = 0.0; a.$texR_W = 0.0; a.$texQ_plane = 0; a.$texQ_X = 0.0; a.$texQ_Y = 0.0; a.$texQ_Z = 0.0; a.$texQ_W = 0.0; } let nleg_FixedFunctionShader_instances = null, nleg_FixedFunctionShader_instanceList = null, nleg_FixedFunctionShader_shaderSource = null, nleg_FixedFunctionShader_refreshCoreGL = () => { let $i, var$2, var$3, var$4, var$5, var$6, var$7; $i = 0; while (true) { var$2 = nleg_FixedFunctionShader_instances.data; if ($i >= var$2.length) break; if (var$2[$i] !== null) { var$3 = var$2[$i].$globject; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteProgram(var$3.$obj); nleg_FixedFunctionShader_instances.data[$i] = null; } $i = $i + 1 | 0; } var$3 = nleg_FixedFunctionShader_instanceList; var$2 = var$3.$array; $i = 0; var$4 = var$3.$size0; var$5 = null; if ($i > var$4) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } while ($i < var$4) { var$6 = var$2.data; var$7 = $i + 1 | 0; var$6[$i] = var$5; $i = var$7; } var$3.$size0 = 0; var$3.$modCount = var$3.$modCount + 1 | 0; nleg_FixedFunctionShader_shaderSource = null; }, nleg_FixedFunctionShader_instance = $i => { let $s, $CC_a_color, $CC_a_normal, $CC_a_texture0, $CC_a_texture1, $CC_TEX_GEN_STRQ, $CC_lighting, $CC_fog, $CC_alphatest, $CC_unit0, $CC_unit1, $CC_anisotropic, $CC_swap_rb, var$15, var$16; $s = nleg_FixedFunctionShader_instances.data[$i]; if ($s === null) { $CC_a_color = 0; $CC_a_normal = 0; $CC_a_texture0 = 0; $CC_a_texture1 = 0; $CC_TEX_GEN_STRQ = 0; $CC_lighting = 0; $CC_fog = 0; $CC_alphatest = 0; $CC_unit0 = 0; $CC_unit1 = 0; $CC_anisotropic = 0; $CC_swap_rb = 0; if (($i & 1) == 1) $CC_a_color = 1; if (($i & 2) == 2) $CC_a_normal = 1; if (($i & 4) == 4) $CC_a_texture0 = 1; if (($i & 8) == 8) $CC_a_texture1 = 1; if (($i & 16) == 16) $CC_TEX_GEN_STRQ = 1; if (($i & 32) == 32) $CC_lighting = 1; if (($i & 64) == 64) $CC_fog = 1; if (($i & 128) == 128) $CC_alphatest = 1; if (($i & 256) == 256) $CC_unit0 = 1; if (($i & 512) == 512) $CC_unit1 = 1; if (($i & 1024) == 1024) $CC_anisotropic = 1; if (($i & 2048) == 2048) $CC_swap_rb = 1; $s = nleg_FixedFunctionShader__init_0($i, $CC_a_color, $CC_a_normal, $CC_a_texture0, $CC_a_texture1, $CC_TEX_GEN_STRQ, $CC_lighting, $CC_fog, $CC_alphatest, $CC_unit0, $CC_unit1, $CC_anisotropic, $CC_swap_rb); nleg_FixedFunctionShader_instances.data[$i] = $s; var$15 = nleg_FixedFunctionShader_instanceList; ju_ArrayList_ensureCapacity(var$15, var$15.$size0 + 1 | 0); var$16 = var$15.$array.data; $CC_a_color = var$15.$size0; var$15.$size0 = $CC_a_color + 1 | 0; var$16[$CC_a_color] = $s; var$15.$modCount = var$15.$modCount + 1 | 0; } return $s; }, nleg_FixedFunctionShader__init_ = ($this, $j, $CC_a_color, $CC_a_normal, $CC_a_texture0, $CC_a_texture1, $CC_TEX_GEN_STRQ, $CC_lighting, $CC_fog, $CC_alphatest, $CC_unit0, $CC_unit1, $CC_anisotropic_fix, $CC_swap_rb) => { let $source, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $$je; a: { $this.$u_matrix_m = null; $this.$u_matrix_p = null; $this.$u_matrix_t = null; $this.$u_fogColor = null; $this.$u_fogParam = null; $this.$u_colorUniform = null; $this.$u_normalUniform = null; $this.$u_alphaTestF = null; $this.$u_textureGen_M = null; $this.$u_textureGenS_V = null; $this.$u_textureGenT_V = null; $this.$u_textureGenR_V = null; $this.$u_textureGenQ_V = null; $this.$u_texCoordV0 = null; $this.$u_texCoordV1 = null; $this.$u_light0Pos = null; $this.$u_light1Pos = null; $this.$u_anisotropic_fix = null; $this.$bufferIsInitialized = 0; $this.$matBuffer = $rt_createFloatArray(16); $this.$light0Pos = new nlegv_Vector4f; $this.$light1Pos = new nlegv_Vector4f; $source = new nlegv_Vector2f; $source.$x3 = 0.0; $source.$y2 = 0.0; $this.$anisotropicFix = $source; $this.$fogMode = 0; $this.$fogColorR = 0.0; $this.$fogColorG = 0.0; $this.$fogColorB = 0.0; $this.$fogColorA = 0.0; $this.$fogStart = 0.0; $this.$fogEnd = 0.0; $this.$fogDensity = 0.0; $this.$alphaTestValue = 0.0; $this.$tex0x = 0.0; $this.$tex0y = 0.0; $this.$tex1x = 0.0; $this.$tex1y = 0.0; $this.$colorUniformR = 0.0; $this.$colorUniformG = 0.0; $this.$colorUniformB = 0.0; $this.$colorUniformA = 0.0; $this.$normalUniformX = 0.0; $this.$normalUniformY = 0.0; $this.$normalUniformZ = 0.0; $this.$anisotropicFixSerial = (-1); $this.$colorSerial = (-1); $this.$normalSerial = (-1); $this.$tex0Serial = (-1); $this.$tex1Serial = (-1); $this.$texPlaneSerial = (-1); $this.$texSSerial = (-1); $this.$texTSerial = (-1); $this.$texRSerial = (-1); $this.$texQSerial = (-1); $this.$fogColorSerial = (-1); $this.$fogCfgSerial = (-1); $this.$matModelSerialCounter = (-1); $this.$matProjSerialCounter = (-1); $this.$matTexSerialCounter = (-1); $this.$lightPos0Serial = (-1); $this.$lightPos1Serial = (-1); $this.$texS_plane = (-1); $this.$texS_X = (-999.0); $this.$texS_Y = (-999.0); $this.$texS_Z = (-999.0); $this.$texS_W = (-999.0); $this.$texT_plane = (-1); $this.$texT_X = (-999.0); $this.$texT_Y = (-999.0); $this.$texT_Z = (-999.0); $this.$texT_W = (-999.0); $this.$texR_plane = (-1); $this.$texR_X = (-999.0); $this.$texR_Y = (-999.0); $this.$texR_Z = (-999.0); $this.$texR_W = (-999.0); $this.$texQ_plane = (-1); $this.$texQ_X = (-999.0); $this.$texQ_Y = (-999.0); $this.$texQ_Z = (-999.0); $this.$texQ_W = (-999.0); $this.$enable_color = $CC_a_color; $this.$enable_normal = $CC_a_normal; $this.$enable_texture0 = $CC_a_texture0; $this.$enable_texture1 = $CC_a_texture1; $this.$enable_TEX_GEN_STRQ = $CC_TEX_GEN_STRQ; $this.$enable_lighting = $CC_lighting; $this.$enable_fog = $CC_fog; $this.$enable_alphatest = $CC_alphatest; $this.$enable_unit0 = $CC_unit0; $this.$enable_unit1 = $CC_unit1; $this.$enable_anisotropic_fix = $CC_anisotropic_fix; $this.$enable_swap_rb = $CC_swap_rb; if (nleg_FixedFunctionShader_shaderSource === null) { $source = $rt_s(1324); nlea_EaglerAdapterImpl2_$callClinit(); if ($source === $rt_s(192) ? 1 : jl_String_startsWith($source, $rt_s(192), 0)) $source = jl_String_substring($source, 1, $source.$nativeString.length); var$15 = nle_AssetRepository_filePool; if ($source === null) { var$15 = var$15.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { b: { if (!$source.$hashCode1) { $j = 0; while (true) { if ($j >= $source.$nativeString.length) break b; $source.$hashCode1 = (31 * $source.$hashCode1 | 0) + $source.$nativeString.charCodeAt($j) | 0; $j = $j + 1 | 0; } } } $CC_a_normal = $source.$hashCode1; var$16 = var$15.$elementData.data; var$15 = var$16[$CC_a_normal & (var$16.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $CC_a_normal) { c: { var$17 = var$15.$key; if ($source !== var$17) { if ($source === var$17) $j = 1; else if (!(var$17 instanceof jl_String)) $j = 0; else { var$17 = var$17; $j = $source.$nativeString !== var$17.$nativeString ? 0 : 1; } if (!$j) { $j = 0; break c; } } $j = 1; } if ($j) break; } var$15 = var$15.$next3; } } var$18 = var$15 === null ? null : var$15.$value1; if (var$18 === null) $source = null; else { $source = new jl_String; jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$17 = jnc_Charset$Charsets_value; var$19 = $rt_s(86).$nativeString.toUpperCase(); var$20 = var$19 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$19); d: { if (!var$20.$hashCode1) { $j = 0; while (true) { if ($j >= var$20.$nativeString.length) break d; var$20.$hashCode1 = (31 * var$20.$hashCode1 | 0) + var$20.$nativeString.charCodeAt($j) | 0; $j = $j + 1 | 0; } } } $CC_a_normal = var$20.$hashCode1; var$16 = var$17.$elementData.data; var$17 = var$16[$CC_a_normal & (var$16.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == $CC_a_normal) { e: { var$19 = var$17.$key; if (var$20 !== var$19) { if (var$20 !== var$19) { if (var$19 instanceof jl_String) { var$19 = var$19; $j = var$20.$nativeString !== var$19.$nativeString ? 0 : 1; } else $j = 0; } else $j = 1; if (!$j) { $j = 0; break e; } } $j = 1; } if ($j) break; } var$17 = var$17.$next3; } var$17 = var$17 === null ? null : var$17.$value1; if (var$17 === null) { $source = new jnc_UnsupportedCharsetException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $source.$charsetName = $rt_s(86); $rt_throw($source); } $CC_a_color = var$18.data.length; if ($CC_a_color < 0) break a; if ($CC_a_color > ($CC_a_color - 0 | 0)) break a; var$19 = new jn_ByteBufferImpl; $CC_a_texture1 = 0 + $CC_a_color | 0; var$19.$mark = (-1); var$19.$capacity = $CC_a_color; var$19.$limit0 = $CC_a_color; var$19.$order = jn_ByteOrder_BIG_ENDIAN; var$19.$start = 0; var$19.$array0 = var$18; var$19.$position0 = 0; var$19.$limit0 = $CC_a_texture1; var$19.$direct = 0; var$19.$readOnly0 = 0; try { var$15 = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$17.$newDecoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$19); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { var$15 = $$je; var$17 = new jl_AssertionError; var$17.$suppressionEnabled = 1; var$17.$writableStackTrace = 1; var$17.$message = $rt_s(405); var$17.$cause = var$15; $rt_throw(var$17); } else { throw $$e; } } $CC_a_normal = var$15.$position0; if (!$CC_a_normal && var$15.$limit0 == var$15.$capacity) var$16 = var$15.$array1; else { var$16 = $rt_createCharArray(var$15.$limit0 - $CC_a_normal | 0); jn_CharBuffer_get(var$15, var$16, 0, var$16.data.length); } $source.$nativeString = $rt_fullArrayToString(var$16.data); } nleg_FixedFunctionShader_shaderSource = $source; } f: { $source = $rt_s(18); if ($this.$enable_color) { var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $source); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(1325)); $source = new jl_String; var$16 = var$15.$buffer; var$18 = var$16.data; $CC_a_color = var$15.$length0; $CC_a_normal = var$18.length; if ($CC_a_color < 0) break f; if ($CC_a_color > ($CC_a_normal - 0 | 0)) break f; $source.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); } g: { if ($this.$enable_normal) { var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $source); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(1326)); $source = new jl_String; var$16 = var$15.$buffer; var$18 = var$16.data; $CC_a_color = var$15.$length0; $CC_a_normal = var$18.length; if ($CC_a_color < 0) break g; if ($CC_a_color > ($CC_a_normal - 0 | 0)) break g; $source.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); } h: { if ($this.$enable_texture0) { var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $source); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(1327)); $source = new jl_String; var$16 = var$15.$buffer; var$18 = var$16.data; $CC_a_color = var$15.$length0; $CC_a_normal = var$18.length; if ($CC_a_color < 0) break h; if ($CC_a_color > ($CC_a_normal - 0 | 0)) break h; $source.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); } if ($this.$enable_texture1) { var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $source); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(1328)); $source = new jl_String; var$16 = var$15.$buffer; var$18 = var$16.data; $CC_a_color = var$15.$length0; $CC_a_normal = var$18.length; if ($CC_a_color >= 0 && $CC_a_color <= ($CC_a_normal - 0 | 0)) $source.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); else { $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } } if ($this.$enable_TEX_GEN_STRQ) { var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $source); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(1329)); $source = new jl_String; var$16 = var$15.$buffer; var$18 = var$16.data; $CC_a_color = var$15.$length0; $CC_a_normal = var$18.length; if ($CC_a_color >= 0 && $CC_a_color <= ($CC_a_normal - 0 | 0)) $source.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); else { $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } } if ($this.$enable_lighting) { var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $source); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(1330)); $source = new jl_String; var$16 = var$15.$buffer; var$18 = var$16.data; $CC_a_color = var$15.$length0; $CC_a_normal = var$18.length; if ($CC_a_color >= 0 && $CC_a_color <= ($CC_a_normal - 0 | 0)) $source.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); else { $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } } if ($this.$enable_fog) { var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $source); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(1331)); $source = new jl_String; var$16 = var$15.$buffer; var$18 = var$16.data; $CC_a_color = var$15.$length0; $CC_a_normal = var$18.length; if ($CC_a_color >= 0 && $CC_a_color <= ($CC_a_normal - 0 | 0)) $source.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); else { $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } } i: { if ($this.$enable_alphatest) { var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $source); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(1332)); $source = new jl_String; var$16 = var$15.$buffer; var$18 = var$16.data; $CC_a_normal = var$15.$length0; $j = var$18.length; if ($CC_a_normal < 0) break i; if ($CC_a_normal > ($j - 0 | 0)) break i; $source.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_normal); } j: { if ($this.$enable_unit0) { var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $source); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(1333)); $source = new jl_String; var$16 = var$15.$buffer; var$18 = var$16.data; $CC_a_color = var$15.$length0; $CC_a_normal = var$18.length; if ($CC_a_color < 0) break j; if ($CC_a_color > ($CC_a_normal - 0 | 0)) break j; $source.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); } k: { if ($this.$enable_unit1) { var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $source); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(1334)); $source = new jl_String; var$16 = var$15.$buffer; var$18 = var$16.data; $CC_a_color = var$15.$length0; $CC_a_normal = var$18.length; if ($CC_a_color < 0) break k; if ($CC_a_color > ($CC_a_normal - 0 | 0)) break k; $source.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); } l: { if ($this.$enable_anisotropic_fix) { var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $source); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(1335)); $source = new jl_String; var$16 = var$15.$buffer; var$18 = var$16.data; $CC_a_color = var$15.$length0; $CC_a_normal = var$18.length; if ($CC_a_color < 0) break l; if ($CC_a_color > ($CC_a_normal - 0 | 0)) break l; $source.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); } m: { if ($this.$enable_swap_rb) { var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $source); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(1336)); $source = new jl_String; var$16 = var$15.$buffer; var$18 = var$16.data; $CC_a_color = var$15.$length0; $CC_a_normal = var$18.length; if ($CC_a_color < 0) break m; if ($CC_a_color > ($CC_a_normal - 0 | 0)) break m; $source.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); } var$15 = nleg_FixedFunctionShader_shaderSource; var$19 = new jl_StringBuilder; var$19.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$19, var$19.$length0, $source); $j = var$19.$length0; if (var$15 === null) var$15 = $rt_s(1); jl_AbstractStringBuilder_insert(var$19, $j, var$15); var$17 = new jl_String; var$16 = var$19.$buffer; var$18 = var$16.data; $CC_a_color = var$19.$length0; $CC_a_normal = var$18.length; if ($CC_a_color >= 0 && $CC_a_color <= ($CC_a_normal - 0 | 0)) { var$17.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); nlea_EaglerAdapterImpl2_$callClinit(); var$21 = nlea_EaglerAdapterImpl2_webgl.createShader(35633); $source = new jl_StringBuilder; $source.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($source, $source.$length0, $rt_s(191)); jl_AbstractStringBuilder_insert($source, $source.$length0, $rt_s(595)); jl_AbstractStringBuilder_insert($source, $source.$length0, var$17); var$19 = new jl_String; var$16 = $source.$buffer; var$18 = var$16.data; $CC_a_color = $source.$length0; $CC_a_normal = var$18.length; if ($CC_a_color >= 0 && $CC_a_color <= ($CC_a_normal - 0 | 0)) { var$19.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); nlea_EaglerAdapterImpl2_webgl.shaderSource(var$21, $rt_ustr(var$19)); nlea_EaglerAdapterImpl2_webgl.compileShader(var$21); if (nlea_EaglerAdapterImpl2_webgl.getShaderParameter(var$21, 35713) != 1 ? 0 : 1) { var$22 = nlea_EaglerAdapterImpl2_webgl.createShader(35632); $source = new jl_StringBuilder; $source.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($source, $source.$length0, $rt_s(191)); jl_AbstractStringBuilder_insert($source, $source.$length0, $rt_s(596)); jl_AbstractStringBuilder_insert($source, $source.$length0, var$17); var$17 = new jl_String; var$16 = $source.$buffer; var$18 = var$16.data; $CC_a_color = $source.$length0; $CC_a_normal = var$18.length; if ($CC_a_color >= 0 && $CC_a_color <= ($CC_a_normal - 0 | 0)) { var$17.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); nlea_EaglerAdapterImpl2_webgl.shaderSource(var$22, $rt_ustr(var$17)); nlea_EaglerAdapterImpl2_webgl.compileShader(var$22); if (!(nlea_EaglerAdapterImpl2_webgl.getShaderParameter(var$22, 35713) != 1 ? 0 : 1)) { if (jl_System_errCache === null) { $source = new otcic_JSStderrPrintStream; var$15 = new ji_ByteArrayOutputStream; var$15.$buf = $rt_createByteArray(32); $source.$out0 = var$15; var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); $source.$sb = var$15; $source.$buffer0 = $rt_createCharArray(32); $source.$autoFlush = 0; $source.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $source; } var$17 = $rt_str(nlea_EaglerAdapterImpl2_webgl.getShaderInfoLog(var$22)); $source = new jl_StringBuilder; $source.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($source, $source.$length0, $rt_s(17)); $j = $source.$length0; if (var$17 === null) var$17 = $rt_s(1); jl_AbstractStringBuilder_insert($source, $j, var$17); var$17 = new jl_String; var$16 = $source.$buffer; var$18 = var$16.data; $CC_a_color = $source.$length0; $CC_a_normal = var$18.length; if ($CC_a_color >= 0 && $CC_a_color <= ($CC_a_normal - 0 | 0)) { var$17.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); $source = jl_String_replace(var$17, $rt_s(469), $rt_s(1337)); if ($source === null) $source = $rt_s(1); $rt_putStderr($rt_ustr($source)); $rt_putStderr("\n"); $source = new jl_RuntimeException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $source.$message = $rt_s(1338); $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } $source = new nlea_EaglerAdapterImpl2$ProgramGL; var$17 = nlea_EaglerAdapterImpl2_webgl.createProgram(); $source.$obj = var$17; $j = nlea_EaglerAdapterImpl2_progId + 1 | 0; nlea_EaglerAdapterImpl2_progId = $j; $source.$hashcode = $j; $this.$globject = $source; nlea_EaglerAdapterImpl2_webgl.attachShader(var$17, var$21); $source = $this.$globject; nlea_EaglerAdapterImpl2_webgl.attachShader($source.$obj, var$22); $j = 1; $this.$a_position = 0; var$15 = $this.$globject; nlea_EaglerAdapterImpl2_webgl.bindAttribLocation(var$15.$obj, 0, "a_position"); if (!$this.$enable_texture0) $this.$a_texture0 = (-1); else { $this.$a_texture0 = $j; var$15 = $this.$globject; nlea_EaglerAdapterImpl2_webgl.bindAttribLocation(var$15.$obj, $j, "a_texture0"); $j = 2; } if (!$this.$enable_color) $this.$a_color = (-1); else { $CC_a_color = $j + 1 | 0; $this.$a_color = $j; var$15 = $this.$globject; nlea_EaglerAdapterImpl2_webgl.bindAttribLocation(var$15.$obj, $j, "a_color"); $j = $CC_a_color; } if (!$this.$enable_normal) $this.$a_normal = (-1); else { $CC_a_color = $j + 1 | 0; $this.$a_normal = $j; $source = $this.$globject; nlea_EaglerAdapterImpl2_webgl.bindAttribLocation($source.$obj, $j, "a_normal"); $j = $CC_a_color; } if (!$this.$enable_texture1) $this.$a_texture1 = (-1); else { $CC_a_color = $j + 1 | 0; $this.$a_texture1 = $j; $source = $this.$globject; nlea_EaglerAdapterImpl2_webgl.bindAttribLocation($source.$obj, $j, "a_texture1"); $j = $CC_a_color; } $this.$attributeIndexesToEnable = $j; $source = $this.$globject; nlea_EaglerAdapterImpl2_webgl.linkProgram($source.$obj); $source = $this.$globject; nlea_EaglerAdapterImpl2_webgl.detachShader($source.$obj, var$21); $source = $this.$globject; nlea_EaglerAdapterImpl2_webgl.detachShader($source.$obj, var$22); nlea_EaglerAdapterImpl2_webgl.deleteShader(var$21); nlea_EaglerAdapterImpl2_webgl.deleteShader(var$22); $source = $this.$globject; if (!(nlea_EaglerAdapterImpl2_webgl.getProgramParameter($source.$obj, 35714) != 1 ? 0 : 1)) { if (jl_System_errCache === null) { $source = new otcic_JSStderrPrintStream; var$15 = new ji_ByteArrayOutputStream; var$15.$buf = $rt_createByteArray(32); $source.$out0 = var$15; var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); $source.$sb = var$15; $source.$buffer0 = $rt_createCharArray(32); $source.$autoFlush = 0; $source.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $source; } $source = $this.$globject; var$17 = $rt_str(nlea_EaglerAdapterImpl2_webgl.getProgramInfoLog($source.$obj)); $source = new jl_StringBuilder; $source.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($source, $source.$length0, $rt_s(17)); $j = $source.$length0; if (var$17 === null) var$17 = $rt_s(1); jl_AbstractStringBuilder_insert($source, $j, var$17); var$17 = new jl_String; var$16 = $source.$buffer; var$18 = var$16.data; $CC_a_color = $source.$length0; $CC_a_normal = var$18.length; if ($CC_a_color >= 0 && $CC_a_color <= ($CC_a_normal - 0 | 0)) { var$17.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); $source = jl_String_replace(var$17, $rt_s(469), $rt_s(1339)); if ($source === null) $source = $rt_s(1); $rt_putStderr($rt_ustr($source)); $rt_putStderr("\n"); $source = new jl_RuntimeException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $source.$message = $rt_s(1338); $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } $source = $this.$globject; if ($source !== null) { $j = nlea_EaglerAdapterImpl2_currentProgram; $CC_a_color = $source.$hashcode; if ($j != $CC_a_color) { nlea_EaglerAdapterImpl2_currentProgram = $CC_a_color; nlea_EaglerAdapterImpl2_webgl.useProgram($source.$obj); } } $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "matrix_m"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_matrix_m = $source; $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "matrix_p"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_matrix_p = $source; $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "matrix_t"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_matrix_t = $source; $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "colorUniform"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_colorUniform = $source; if ($this.$enable_lighting) { $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "normalUniform"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_normalUniform = $source; $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "light0Pos"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_light0Pos = $source; $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "light1Pos"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_light1Pos = $source; } if ($this.$enable_fog) { $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "fogColor"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_fogColor = $source; $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "fogParam"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_fogParam = $source; } if ($this.$enable_alphatest) { $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "alphaTestF"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_alphaTestF = $source; } if ($this.$enable_TEX_GEN_STRQ) { $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "textureGen_M"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_textureGen_M = $source; $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "textureGenS_V"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_textureGenS_V = $source; $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "textureGenT_V"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_textureGenT_V = $source; $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "textureGenR_V"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_textureGenR_V = $source; $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "textureGenQ_V"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_textureGenQ_V = $source; } if ($this.$enable_anisotropic_fix) { $source = $this.$globject; $source = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "anisotropic_fix"); if ($source === null) var$15 = null; else { var$15 = new nlea_EaglerAdapterImpl2$UniformGL; var$15.$obj0 = $source; } $this.$u_anisotropic_fix = var$15; if (var$15 !== null) nlea_EaglerAdapterImpl2_webgl.uniform2f(var$15.$obj0, 1008.0, 1008.0); } $source = $this.$globject; $source = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "tex0"); if ($source === null) var$15 = null; else { var$15 = new nlea_EaglerAdapterImpl2$UniformGL; var$15.$obj0 = $source; } if (var$15 !== null) nlea_EaglerAdapterImpl2_webgl.uniform1i(var$15.$obj0, 0); $source = $this.$globject; $source = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "tex1"); if ($source === null) var$15 = null; else { var$15 = new nlea_EaglerAdapterImpl2$UniformGL; var$15.$obj0 = $source; } if (var$15 !== null) nlea_EaglerAdapterImpl2_webgl.uniform1i(var$15.$obj0, 1); $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "texCoordV0"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_texCoordV0 = $source; $source = $this.$globject; var$15 = nlea_EaglerAdapterImpl2_webgl.getUniformLocation($source.$obj, "texCoordV1"); if (var$15 === null) $source = null; else { $source = new nlea_EaglerAdapterImpl2$UniformGL; $source.$obj0 = var$15; } $this.$u_texCoordV1 = $source; $source = new nleg_StreamBuffer; var$15 = new nleg_FixedFunctionShader$_init_$lambda$_2_0; var$15.$_00 = $this; nleg_StreamBuffer__init_($source, 32768, 3, 8, var$15); $this.$streamBuffer = $source; return; } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } if (jl_System_errCache === null) { $source = new otcic_JSStderrPrintStream; var$15 = new ji_ByteArrayOutputStream; var$15.$buf = $rt_createByteArray(32); $source.$out0 = var$15; var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); $source.$sb = var$15; $source.$buffer0 = $rt_createCharArray(32); $source.$autoFlush = 0; $source.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $source; } var$17 = $rt_str(nlea_EaglerAdapterImpl2_webgl.getShaderInfoLog(var$21)); $source = new jl_StringBuilder; $source.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($source, $source.$length0, $rt_s(17)); $j = $source.$length0; if (var$17 === null) var$17 = $rt_s(1); jl_AbstractStringBuilder_insert($source, $j, var$17); var$17 = new jl_String; var$16 = $source.$buffer; var$18 = var$16.data; $CC_a_color = $source.$length0; $CC_a_normal = var$18.length; if ($CC_a_color >= 0 && $CC_a_color <= ($CC_a_normal - 0 | 0)) { var$17.$nativeString = $rt_charArrayToString(var$16.data, 0, $CC_a_color); $source = jl_String_replace(var$17, $rt_s(469), $rt_s(1340)); if ($source === null) $source = $rt_s(1); $rt_putStderr($rt_ustr($source)); $rt_putStderr("\n"); $source = new jl_RuntimeException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $source.$message = $rt_s(1338); $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); } $source = new jl_IndexOutOfBoundsException; $source.$suppressionEnabled = 1; $source.$writableStackTrace = 1; $rt_throw($source); }, nleg_FixedFunctionShader__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10, var_11, var_12) => { let var_13 = new nleg_FixedFunctionShader(); nleg_FixedFunctionShader__init_(var_13, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10, var_11, var_12); return var_13; }, nleg_FixedFunctionShader_setupArrayForProgram = $this => { let var$1, var$2; var$1 = $this.$a_position; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.enableVertexAttribArray(var$1); var$2 = $this.$a_position; nlea_EaglerAdapterImpl2_webgl.vertexAttribPointer(var$2, 3, 5126, !!0, 32, 0); if ($this.$enable_texture0) { var$1 = $this.$a_texture0; nlea_EaglerAdapterImpl2_webgl.enableVertexAttribArray(var$1); var$1 = $this.$a_texture0; nlea_EaglerAdapterImpl2_webgl.vertexAttribPointer(var$1, 2, 5126, !!0, 32, 12); } if ($this.$enable_color) { var$1 = $this.$a_color; nlea_EaglerAdapterImpl2_webgl.enableVertexAttribArray(var$1); var$1 = $this.$a_color; nlea_EaglerAdapterImpl2_webgl.vertexAttribPointer(var$1, 4, 5121, !!1, 32, 20); } if ($this.$enable_normal) { var$1 = $this.$a_normal; nlea_EaglerAdapterImpl2_webgl.enableVertexAttribArray(var$1); var$1 = $this.$a_normal; nlea_EaglerAdapterImpl2_webgl.vertexAttribPointer(var$1, 4, 5121, !!1, 32, 24); } if ($this.$enable_texture1) { var$1 = $this.$a_texture1; nlea_EaglerAdapterImpl2_webgl.enableVertexAttribArray(var$1); var$1 = $this.$a_texture1; nlea_EaglerAdapterImpl2_webgl.vertexAttribPointer(var$1, 2, 5122, !!0, 32, 28); } }, nleg_FixedFunctionShader_update = $this => { let $j, $i, $x, $y, $pos, $r, $g, $b, $a, $z, $s, $t, $r_0, $q, $w, var$16, $fogModex, $fogStarty, $fogEndz, $fogDensityw, $limit, $matCopyBuffer; $j = $this.$anisotropicFixSerial; nleg_EaglerAdapterGL30_$callClinit(); $i = nleg_EaglerAdapterGL30_anisotropicFixSerial; if ($j != $i) { $x = nleg_EaglerAdapterGL30_anisotropicFixX; $y = nleg_EaglerAdapterGL30_anisotropicFixY; $this.$anisotropicFixSerial = $i; $pos = $this.$anisotropicFix; if (!($pos.$x3 === $x && $pos.$y2 === $y)) { $pos.$x3 = $x; $pos.$y2 = $y; $pos = $this.$u_anisotropic_fix; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniform2f($pos.$obj0, $x, $y); } } $i = $this.$colorSerial; $j = nleg_EaglerAdapterGL30_colorSerial; if ($i != $j) { $r = nleg_EaglerAdapterGL30_colorR; $g = nleg_EaglerAdapterGL30_colorG; $b = nleg_EaglerAdapterGL30_colorB; $a = nleg_EaglerAdapterGL30_colorA; $this.$colorSerial = $j; if (!($this.$colorUniformR === $r && $this.$colorUniformG === $g && $this.$colorUniformB === $b && $this.$colorUniformA === $a)) { $this.$colorUniformR = $r; $this.$colorUniformG = $g; $this.$colorUniformB = $b; $this.$colorUniformA = $a; $pos = $this.$u_colorUniform; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniform4f($pos.$obj0, $r, $g, $b, $a); } } $i = $this.$normalSerial; $j = nleg_EaglerAdapterGL30_normalSerial; if ($i != $j) { $x = nleg_EaglerAdapterGL30_normalX; $y = nleg_EaglerAdapterGL30_normalY; $z = nleg_EaglerAdapterGL30_normalZ; $this.$normalSerial = $j; if (!($this.$normalUniformX === $x && $this.$normalUniformY === $y && $this.$normalUniformZ === $z)) { $this.$normalUniformX = $x; $this.$normalUniformY = $y; $this.$normalUniformZ = $z; $pos = $this.$u_normalUniform; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniform3f($pos.$obj0, $x, $y, $z); } } $i = $this.$tex0Serial; $j = nleg_EaglerAdapterGL30_tex0Serial; if ($i != $j) { $x = nleg_EaglerAdapterGL30_tex0X; $y = nleg_EaglerAdapterGL30_tex0Y; $this.$tex0Serial = $j; if (!($this.$tex0x === $x && $this.$tex0y === $y)) { $this.$tex0x = $x; $this.$tex0y = $y; $pos = $this.$u_texCoordV0; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniform2f($pos.$obj0, $x, $y); } } $i = $this.$tex1Serial; $j = nleg_EaglerAdapterGL30_tex1Serial; if ($i != $j) { $x = nleg_EaglerAdapterGL30_tex1X; $y = nleg_EaglerAdapterGL30_tex1Y; $this.$tex1Serial = $j; if (!($this.$tex1x === $x && $this.$tex1y === $y)) { $this.$tex1x = $x; $this.$tex1y = $y; $pos = $this.$u_texCoordV1; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniform2f($pos.$obj0, $x, $y); } } $i = $this.$texPlaneSerial; $j = nleg_EaglerAdapterGL30_texPlaneSerial; if ($i != $j) { $s = nleg_EaglerAdapterGL30_texS_plane; $t = nleg_EaglerAdapterGL30_texT_plane; $r_0 = nleg_EaglerAdapterGL30_texR_plane; $q = nleg_EaglerAdapterGL30_texQ_plane; $this.$texPlaneSerial = $j; if (!($this.$texS_plane == $s && $this.$texT_plane == $t && $this.$texR_plane == $r_0 && $this.$texQ_plane == $q)) { $this.$texS_plane = $s; $this.$texT_plane = $t; $this.$texR_plane = $r_0; $this.$texQ_plane = $q; $pos = $this.$u_textureGen_M; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniform4i($pos.$obj0, $s, $t, $r_0, $q); } } $i = $this.$texSSerial; $j = nleg_EaglerAdapterGL30_texSSerial; if ($i != $j) { $x = nleg_EaglerAdapterGL30_texS_X; $y = nleg_EaglerAdapterGL30_texS_Y; $z = nleg_EaglerAdapterGL30_texS_Z; $w = nleg_EaglerAdapterGL30_texS_W; $this.$texSSerial = $j; if (!($this.$texS_X === $x && $this.$texS_Y === $y && $this.$texS_Z === $z && $this.$texS_W === $w)) { $this.$texS_X = $x; $this.$texS_Y = $y; $this.$texS_Z = $z; $this.$texS_W = $w; $pos = $this.$u_textureGenS_V; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniform4f($pos.$obj0, $x, $y, $z, $w); } } $i = $this.$texTSerial; $j = nleg_EaglerAdapterGL30_texTSerial; if ($i != $j) { $x = nleg_EaglerAdapterGL30_texT_X; $y = nleg_EaglerAdapterGL30_texT_Y; $z = nleg_EaglerAdapterGL30_texT_Z; $w = nleg_EaglerAdapterGL30_texT_W; $this.$texTSerial = $j; if (!($this.$texT_X === $x && $this.$texT_Y === $y && $this.$texT_Z === $z && $this.$texT_W === $w)) { $this.$texT_X = $x; $this.$texT_Y = $y; $this.$texT_Z = $z; $this.$texT_W = $w; var$16 = $this.$u_textureGenT_V; nlea_EaglerAdapterImpl2_$callClinit(); if (var$16 !== null) nlea_EaglerAdapterImpl2_webgl.uniform4f(var$16.$obj0, $x, $y, $z, $w); } } $i = $this.$texRSerial; $j = nleg_EaglerAdapterGL30_texRSerial; if ($i != $j) { $x = nleg_EaglerAdapterGL30_texR_X; $y = nleg_EaglerAdapterGL30_texR_Y; $z = nleg_EaglerAdapterGL30_texR_Z; $w = nleg_EaglerAdapterGL30_texR_W; $this.$texRSerial = $j; if (!($this.$texR_X === $x && $this.$texR_Y === $y && $this.$texR_Z === $z && $this.$texR_W === $w)) { $this.$texR_X = $x; $this.$texR_Y = $y; $this.$texR_Z = $z; $this.$texR_W = $w; $pos = $this.$u_textureGenR_V; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniform4f($pos.$obj0, $x, $y, $z, $w); } } $i = $this.$texQSerial; $j = nleg_EaglerAdapterGL30_texQSerial; if ($i != $j) { $x = nleg_EaglerAdapterGL30_texQ_X; $y = nleg_EaglerAdapterGL30_texQ_Y; $z = nleg_EaglerAdapterGL30_texQ_Z; $w = nleg_EaglerAdapterGL30_texQ_W; $this.$texQSerial = $j; if (!($this.$texQ_X === $x && $this.$texQ_Y === $y && $this.$texQ_Z === $z && $this.$texQ_W === $w)) { $this.$texQ_X = $x; $this.$texQ_Y = $y; $this.$texQ_Z = $z; $this.$texQ_W = $w; $pos = $this.$u_textureGenQ_V; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniform4f($pos.$obj0, $x, $y, $z, $w); } } $i = $this.$fogColorSerial; $j = nleg_EaglerAdapterGL30_fogColorSerial; if ($i != $j) { $r = nleg_EaglerAdapterGL30_fogColorR; $g = nleg_EaglerAdapterGL30_fogColorG; $b = nleg_EaglerAdapterGL30_fogColorB; $a = nleg_EaglerAdapterGL30_fogColorA; $this.$fogColorSerial = $j; if (!($this.$fogColorR === $r && $this.$fogColorG === $g && $this.$fogColorB === $b && $this.$fogColorA === $a)) { $this.$fogColorR = $r; $this.$fogColorG = $g; $this.$fogColorB = $b; $this.$fogColorA = $a; $pos = $this.$u_fogColor; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniform4f($pos.$obj0, $r, $g, $b, $a); } } $i = $this.$fogCfgSerial; $j = nleg_EaglerAdapterGL30_fogCfgSerial; if ($i != $j) { $fogModex = nleg_EaglerAdapterGL30_fogMode; $fogStarty = nleg_EaglerAdapterGL30_fogStart; $fogEndz = nleg_EaglerAdapterGL30_fogEnd - $fogStarty; $fogDensityw = nleg_EaglerAdapterGL30_fogDensity; $this.$fogCfgSerial = $j; if (!($this.$fogMode == $fogModex && $this.$fogStart === $fogStarty && $this.$fogEnd === $fogEndz && $this.$fogDensity === $fogDensityw)) { $this.$fogMode = $fogModex; $this.$fogStart = $fogStarty; $this.$fogEnd = $fogEndz; $this.$fogDensity = $fogDensityw; $pos = $this.$u_fogParam; $limit = $fogModex; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniform4f($pos.$obj0, $limit, $fogStarty, $fogEndz, $fogDensityw); } } $limit = nleg_EaglerAdapterGL30_alphaThresh; if ($this.$alphaTestValue !== $limit) { $this.$alphaTestValue = $limit; $pos = $this.$u_alphaTestF; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniform1f($pos.$obj0, $limit); } $matCopyBuffer = $this.$matBuffer; $i = nleg_EaglerAdapterGL30_matModelPointer; $j = nleg_EaglerAdapterGL30_matModelVSerial.data[$i]; if ($this.$matModelSerialCounter != $j) { $this.$matModelSerialCounter = $j; nlegv_Matrix4f_store0(nleg_EaglerAdapterGL30_matModelV.data[$i], $matCopyBuffer); $pos = $this.$u_matrix_m; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniformMatrix4fv($pos.$obj0, !!0, $matCopyBuffer.data); } $i = nleg_EaglerAdapterGL30_matProjPointer; $j = nleg_EaglerAdapterGL30_matProjVSerial.data[$i]; if ($this.$matProjSerialCounter != $j) { $this.$matProjSerialCounter = $j; nlegv_Matrix4f_store0(nleg_EaglerAdapterGL30_matProjV.data[$i], $matCopyBuffer); $pos = $this.$u_matrix_p; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniformMatrix4fv($pos.$obj0, !!0, $matCopyBuffer.data); } $i = nleg_EaglerAdapterGL30_matTexPointer; $j = nleg_EaglerAdapterGL30_matTexVSerial.data[$i]; if ($this.$matTexSerialCounter != $j) { $this.$matTexSerialCounter = $j; nlegv_Matrix4f_store0(nleg_EaglerAdapterGL30_matTexV.data[$i], $matCopyBuffer); $pos = $this.$u_matrix_t; nlea_EaglerAdapterImpl2_$callClinit(); if ($pos !== null) nlea_EaglerAdapterImpl2_webgl.uniformMatrix4fv($pos.$obj0, !!0, $matCopyBuffer.data); } $i = $this.$lightPos0Serial; $j = nleg_EaglerAdapterGL30_lightPos0Serial; if ($i != $j) { $this.$lightPos0Serial = $j; $pos = nleg_EaglerAdapterGL30_lightPos0vec; if (!nlegv_Vector4f_equals($pos, $this.$light0Pos)) { var$16 = $this.$light0Pos; var$16.$x1 = $pos.$x1; var$16.$y1 = $pos.$y1; var$16.$z2 = $pos.$z2; var$16.$w = $pos.$w; var$16 = $this.$u_light0Pos; $limit = $pos.$x1; $fogStarty = $pos.$y1; $fogEndz = $pos.$z2; nlea_EaglerAdapterImpl2_$callClinit(); if (var$16 !== null) nlea_EaglerAdapterImpl2_webgl.uniform3f(var$16.$obj0, $limit, $fogStarty, $fogEndz); } } $i = $this.$lightPos1Serial; $j = nleg_EaglerAdapterGL30_lightPos1Serial; if ($i != $j) { $this.$lightPos1Serial = $j; $pos = nleg_EaglerAdapterGL30_lightPos1vec; if (!nlegv_Vector4f_equals($pos, $this.$light1Pos)) { var$16 = $this.$light1Pos; var$16.$x1 = $pos.$x1; var$16.$y1 = $pos.$y1; var$16.$z2 = $pos.$z2; var$16.$w = $pos.$w; var$16 = $this.$u_light1Pos; $limit = $pos.$x1; $fogStarty = $pos.$y1; $fogEndz = $pos.$z2; nlea_EaglerAdapterImpl2_$callClinit(); if (var$16 !== null) nlea_EaglerAdapterImpl2_webgl.uniform3f(var$16.$obj0, $limit, $fogStarty, $fogEndz); } } }, nleg_FixedFunctionShader__clinit_ = () => { let var$1; nleg_FixedFunctionShader_instances = $rt_createArray(nleg_FixedFunctionShader, 4096); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nleg_FixedFunctionShader_instanceList = var$1; nleg_FixedFunctionShader_shaderSource = null; }; function nms_ScaledResolution() { let a = this; jl_Object.call(a); a.$scaledWidth = 0; a.$scaledHeight = 0; a.$scaledWidthD = 0.0; a.$scaledHeightD = 0.0; a.$scaleFactor0 = 0; } let nms_ScaledResolution__init_0 = ($this, $par1GameSettings, $par2, $par3) => { let $var4, var$5, var$6, var$7, var$8; $this.$scaledWidth = $par2; $this.$scaledHeight = $par3; $this.$scaleFactor0 = 1; $var4 = $par1GameSettings.$guiScale; if (!$var4) $var4 = 1000; while (true) { var$5 = $this.$scaleFactor0; if (var$5 >= $var4) break; var$6 = var$5 + 1 | 0; if (($par2 / var$6 | 0) < 320) break; if (($par3 / var$6 | 0) < 240) break; $this.$scaleFactor0 = var$6; } var$7 = $par2; var$8 = var$5; var$7 = var$7 / var$8; $this.$scaledWidthD = var$7; var$8 = $par3 / var$8; $this.$scaledHeightD = var$8; $par2 = var$7 | 0; if (var$7 > $par2) $par2 = $par2 + 1 | 0; $this.$scaledWidth = $par2; $par2 = var$8 | 0; if (var$8 > $par2) $par2 = $par2 + 1 | 0; $this.$scaledHeight = $par2; }, nms_ScaledResolution__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_ScaledResolution(); nms_ScaledResolution__init_0(var_3, var_0, var_1, var_2); return var_3; }; function ju_Date() { jl_Object.call(this); this.$value16 = Long_ZERO; } let ju_Date__init_ = $this => { $this.$value16 = jl_System_currentTimeMillis(); }, ju_Date__init_0 = () => { let var_0 = new ju_Date(); ju_Date__init_(var_0); return var_0; }, ju_Date__clinit_ = () => { return; }, ji_UTFDataFormatException = $rt_classWithoutFields(ji_IOException), ji_UTFDataFormatException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, ji_UTFDataFormatException__init_0 = () => { let var_0 = new ji_UTFDataFormatException(); ji_UTFDataFormatException__init_(var_0); return var_0; }, jl_Thread$UncaughtExceptionHandler = $rt_classWithoutFields(0), jl_DefaultUncaughtExceptionHandler = $rt_classWithoutFields(), jl_DefaultUncaughtExceptionHandler__init_ = $this => { return; }, jl_DefaultUncaughtExceptionHandler__init_0 = () => { let var_0 = new jl_DefaultUncaughtExceptionHandler(); jl_DefaultUncaughtExceptionHandler__init_(var_0); return var_0; }; function jl_ThreadLocal() { let a = this; jl_Object.call(a); a.$map1 = null; a.$initialized0 = 0; a.$value14 = null; } let jl_ThreadLocal_NULL = null, jl_ThreadLocal__init_ = $this => { return; }, jl_ThreadLocal__init_0 = () => { let var_0 = new jl_ThreadLocal(); jl_ThreadLocal__init_(var_0); return var_0; }, jl_ThreadLocal_get = $this => { let $value, $key, var$3; $value = jl_Thread_currentThread; if ($value !== jl_Thread_mainThread ? 0 : 1) { if (!$this.$initialized0) { $key = new nms_AABBPool; $value = new ju_ArrayList; $value.$array = $rt_createArray(jl_Object, 10); $key.$listAABB = $value; $key.$maxNumCleans = 300; $key.$numEntriesToRemove = 2000; $this.$value14 = $key; $this.$initialized0 = 1; } $key = $this.$map1; if ($key !== null) { while (true) { $value = jlr_ReferenceQueue_poll($key.$referenceQueue); if ($value === null) break; ju_WeakHashMap_removeEntry($key, $value); } if ($key.$elementCount1 ? 0 : 1) $this.$map1 = null; } return $this.$value14; } $key = $value.$key2; if ($this.$map1 === null) $this.$map1 = ju_WeakHashMap__init_0(); $value = ju_WeakHashMap_get($this.$map1, $key); if ($value === null) { $value = new nms_AABBPool; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $value.$listAABB = var$3; $value.$maxNumCleans = 300; $value.$numEntriesToRemove = 2000; ju_WeakHashMap_put($this.$map1, $key, $value); } else if ($value === jl_ThreadLocal_NULL) $value = null; $key = $this.$map1; if ($key !== null) { while (true) { var$3 = jlr_ReferenceQueue_poll($key.$referenceQueue); if (var$3 === null) break; ju_WeakHashMap_removeEntry($key, var$3); } if ($key.$elementCount1 ? 0 : 1) $this.$map1 = null; } return $value; }, jl_ThreadLocal__clinit_ = () => { jl_ThreadLocal_NULL = new jl_Object; }, nms_AABBLocalPool = $rt_classWithoutFields(jl_ThreadLocal), nms_AABBLocalPool__init_ = $this => { return; }, nms_AABBLocalPool__init_0 = () => { let var_0 = new nms_AABBLocalPool(); nms_AABBLocalPool__init_(var_0); return var_0; }; function nle_RelayManager() { let a = this; jl_Object.call(a); a.$relays = null; a.$lastPingThrough = Long_ZERO; a.$brokenServers = null; } let nle_RelayManager__init_ = $this => { let var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$relays = var$1; $this.$lastPingThrough = Long_ZERO; $this.$brokenServers = new ju_LinkedList; }, nle_RelayManager__init_0 = () => { let var_0 = new nle_RelayManager(); nle_RelayManager__init_(var_0); return var_0; }, nle_RelayManager_load = ($this, $relayConfig) => { let $relay, var$3, $i, var$5, var$6, var$7, var$8, $l, $gotAPrimary, $i_0, $relayee, var$13, $p, var$15, var$16, var$17; $relay = $this.$relays; var$3 = $relay.$array; $i = 0; var$5 = $relay.$size0; var$6 = null; if ($i > var$5) { $relayConfig = new jl_IllegalArgumentException; $relayConfig.$suppressionEnabled = 1; $relayConfig.$writableStackTrace = 1; $rt_throw($relayConfig); } while ($i < var$5) { var$7 = var$3.data; var$8 = $i + 1 | 0; var$7[$i] = var$6; $i = var$8; } a: { $relay.$size0 = 0; $relay.$modCount = $relay.$modCount + 1 | 0; if ($relayConfig !== null) { $l = $relayConfig.$tagList.$size0; if ($l > 0) { $gotAPrimary = 0; $i_0 = 0; while (true) { if ($i_0 >= $l) break a; $relay = $relayConfig.$tagList; if ($i_0 < 0) break; if ($i_0 >= $relay.$size0) break; $relay = $relay.$array.data[$i_0]; if ($relay instanceof nms_NBTTagCompound) { b: { $relayee = $relay; var$6 = $relayee.$tagMap; if (!$rt_s(183).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(183).$nativeString.length) break b; $rt_s(183).$hashCode1 = (31 * $rt_s(183).$hashCode1 | 0) + $rt_s(183).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } var$8 = $rt_s(183).$hashCode1; var$3 = var$6.$elementData.data; var$6 = var$3[var$8 & (var$3.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$8) { c: { var$13 = var$6.$key; if ($rt_s(183) !== var$13) { if ($rt_s(183) !== var$13) { if (!(var$13 instanceof jl_String)) $i = 0; else { var$13 = var$13; $i = $rt_s(183).$nativeString !== var$13.$nativeString ? 0 : 1; } } else $i = 1; if (!$i) { $i = 0; break c; } } $i = 1; } if ($i) break; } var$6 = var$6.$next3; } if (!(var$6 === null ? 0 : 1)) $i = 0; else { var$6 = $relayee.$tagMap; if ($rt_s(183) === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { d: { if (!$rt_s(183).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(183).$nativeString.length) break d; $rt_s(183).$hashCode1 = (31 * $rt_s(183).$hashCode1 | 0) + $rt_s(183).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } var$8 = $rt_s(183).$hashCode1; var$3 = var$6.$elementData.data; var$6 = var$3[var$8 & (var$3.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$8) { e: { var$13 = var$6.$key; if ($rt_s(183) !== var$13) { if ($rt_s(183) !== var$13) { if (var$13 instanceof jl_String) { var$13 = var$13; $i = $rt_s(183).$nativeString !== var$13.$nativeString ? 0 : 1; } else $i = 0; } else $i = 1; if (!$i) { $i = 0; break e; } } $i = 1; } if ($i) break; } var$6 = var$6.$next3; } } $i = (var$6 === null ? null : var$6.$value1).$data; } $p = !$i ? 0 : 1; if ($p) { if (!$gotAPrimary) $gotAPrimary = 1; else $p = 0; } f: { var$15 = $this.$relays; var$16 = new nle_RelayServer; $relay = $relayee.$tagMap; if (!$rt_s(179).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(179).$nativeString.length) break f; $rt_s(179).$hashCode1 = (31 * $rt_s(179).$hashCode1 | 0) + $rt_s(179).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } var$8 = $rt_s(179).$hashCode1; var$3 = $relay.$elementData.data; $relay = var$3[var$8 & (var$3.length - 1 | 0)]; while ($relay !== null) { if ($relay.$origKeyHash == var$8) { g: { var$6 = $relay.$key; if ($rt_s(179) !== var$6) { if ($rt_s(179) === var$6) $i = 1; else if (!(var$6 instanceof jl_String)) $i = 0; else { var$6 = var$6; $i = $rt_s(179).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$i) { $i = 0; break g; } } $i = 1; } if ($i) break; } $relay = $relay.$next3; } if (!($relay === null ? 0 : 1)) var$17 = $rt_s(18); else { $relay = $relayee.$tagMap; if ($rt_s(179) === null) { $relay = $relay.$elementData.data[0]; while ($relay !== null && $relay.$key !== null) { $relay = $relay.$next3; } } else { h: { if (!$rt_s(179).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(179).$nativeString.length) break h; $rt_s(179).$hashCode1 = (31 * $rt_s(179).$hashCode1 | 0) + $rt_s(179).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } var$8 = $rt_s(179).$hashCode1; var$3 = $relay.$elementData.data; $relay = var$3[var$8 & (var$3.length - 1 | 0)]; while ($relay !== null) { if ($relay.$origKeyHash == var$8) { i: { var$6 = $relay.$key; if ($rt_s(179) !== var$6) { if ($rt_s(179) === var$6) $i = 1; else if (!(var$6 instanceof jl_String)) $i = 0; else { var$6 = var$6; $i = $rt_s(179).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$i) { $i = 0; break i; } } $i = 1; } if ($i) break; } $relay = $relay.$next3; } } var$17 = ($relay === null ? null : $relay.$value1).$data1; } j: { var$6 = $relayee.$tagMap; if (!$rt_s(182).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(182).$nativeString.length) break j; $rt_s(182).$hashCode1 = (31 * $rt_s(182).$hashCode1 | 0) + $rt_s(182).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$8 = $rt_s(182).$hashCode1; var$3 = var$6.$elementData.data; var$6 = var$3[var$8 & (var$3.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$8) { k: { var$13 = var$6.$key; if ($rt_s(182) !== var$13) { if ($rt_s(182) === var$13) $i = 1; else if (!(var$13 instanceof jl_String)) $i = 0; else { var$13 = var$13; $i = $rt_s(182).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$i) { $i = 0; break k; } } $i = 1; } if ($i) break; } var$6 = var$6.$next3; } if (!(var$6 === null ? 0 : 1)) var$6 = $rt_s(18); else { var$6 = $relayee.$tagMap; if ($rt_s(182) === null) { $relayee = var$6.$elementData.data[0]; while ($relayee !== null && $relayee.$key !== null) { $relayee = $relayee.$next3; } } else { l: { if (!$rt_s(182).$hashCode1) { $i = 0; while (true) { if ($i >= $rt_s(182).$nativeString.length) break l; $rt_s(182).$hashCode1 = (31 * $rt_s(182).$hashCode1 | 0) + $rt_s(182).$nativeString.charCodeAt($i) | 0; $i = $i + 1 | 0; } } } $i = $rt_s(182).$hashCode1; var$3 = var$6.$elementData.data; $relayee = var$3[$i & (var$3.length - 1 | 0)]; while ($relayee !== null) { if ($relayee.$origKeyHash == $i) { m: { var$6 = $relayee.$key; if ($rt_s(182) !== var$6) { if ($rt_s(182) === var$6) var$5 = 1; else if (!(var$6 instanceof jl_String)) var$5 = 0; else { var$6 = var$6; var$5 = $rt_s(182).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break m; } } var$5 = 1; } if (var$5) break; } $relayee = $relayee.$next3; } } var$6 = ($relayee === null ? null : $relayee.$value1).$data1; } var$16.$query = null; var$16.$queriedVersion = (-1); var$16.$ping = Long_ZERO; var$16.$workingPing = Long_ZERO; var$16.$lastPing = Long_ZERO; var$16.$address = var$17; var$16.$comment = var$6; var$16.$primary = $p; ju_ArrayList_ensureCapacity(var$15, var$15.$size0 + 1 | 0); var$3 = var$15.$array.data; var$5 = var$15.$size0; var$15.$size0 = var$5 + 1 | 0; var$3[var$5] = var$16; var$15.$modCount = var$15.$modCount + 1 | 0; } $i_0 = $i_0 + 1 | 0; } $relayConfig = new jl_IndexOutOfBoundsException; $relayConfig.$suppressionEnabled = 1; $relayConfig.$writableStackTrace = 1; $rt_throw($relayConfig); } } } n: { o: { if (!$this.$relays.$size0) { $i = 0; $l = nle_ConfigConstants_relays.$size0; while (true) { if ($i >= $l) break o; $relay = $this.$relays; var$6 = new nle_RelayServer; $relayConfig = nle_ConfigConstants_relays; if ($i < 0) break n; if ($i >= $relayConfig.$size0) break n; $relayConfig = $relayConfig.$array.data[$i]; var$13 = $relayConfig.$address1; var$17 = $relayConfig.$comment1; var$5 = $relayConfig.$primary0; var$6.$query = null; var$6.$queriedVersion = (-1); var$6.$ping = Long_ZERO; var$6.$workingPing = Long_ZERO; var$6.$lastPing = Long_ZERO; var$6.$address = var$13; var$6.$comment = var$17; var$6.$primary = var$5; ju_ArrayList_ensureCapacity($relay, $relay.$size0 + 1 | 0); var$3 = $relay.$array.data; var$8 = $relay.$size0; $relay.$size0 = var$8 + 1 | 0; var$3[var$8] = var$6; $relay.$modCount = $relay.$modCount + 1 | 0; $i = $i + 1 | 0; } } } nle_RelayManager_sort($this); return; } $relayConfig = new jl_IndexOutOfBoundsException; $relayConfig.$suppressionEnabled = 1; $relayConfig.$writableStackTrace = 1; $rt_throw($relayConfig); }, nle_RelayManager_save = $this => { let $lst, $srv, $i, $l, $etr, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $$je; $lst = new nms_NBTTagList; $lst.$name = $rt_s(18); $srv = new ju_ArrayList; $srv.$array = $rt_createArray(jl_Object, 10); $lst.$tagList = $srv; $i = 0; $l = $this.$relays.$size0; while (true) { if ($i >= $l) { $srv = nle_LocalStorageManager_gameSettingsStorage.$tagMap; $lst.$name = $rt_s(176); ju_HashMap_putImpl($srv, $rt_s(176), $lst); a: { try { nlea_EaglerAdapterImpl2_saveLocalStorage($rt_s(185), nms_CompressedStreamTools_writeUncompressed(nle_LocalStorageManager_gameSettingsStorage)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } return; } $srv = $this.$relays; if ($i < 0) break; if ($i >= $srv.$size0) break; $srv = $srv.$array.data[$i]; $etr = new nms_NBTTagCompound; $etr.$name = $rt_s(18); var$6 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$9 = var$8.data; var$6.$elementData = var$8; var$6.$loadFactor = 0.75; var$6.$threshold = var$9.length * 0.75 | 0; $etr.$tagMap = var$6; var$10 = $srv.$address; var$11 = new nms_NBTTagString; var$11.$name = $rt_s(179); var$11.$data1 = var$10; if (var$10 === null) { $srv = new jl_IllegalArgumentException; $srv.$suppressionEnabled = 1; $srv.$writableStackTrace = 1; $srv.$message = $rt_s(186); $rt_throw($srv); } ju_HashMap_putImpl(var$6, $rt_s(179), var$11); var$10 = $srv.$comment; var$6 = $etr.$tagMap; var$11 = new nms_NBTTagString; var$11.$name = $rt_s(182); var$11.$data1 = var$10; if (var$10 === null) { $srv = new jl_IllegalArgumentException; $srv.$suppressionEnabled = 1; $srv.$writableStackTrace = 1; $srv.$message = $rt_s(186); $rt_throw($srv); } ju_HashMap_putImpl(var$6, $rt_s(182), var$11); var$12 = (!$srv.$primary ? 0 : 1) << 24 >> 24; var$11 = $etr.$tagMap; $srv = new nms_NBTTagByte; $srv.$name = $rt_s(183); $srv.$data = var$12; ju_HashMap_putImpl(var$11, $rt_s(183), $srv); $lst.$tagType = 10; $srv = $lst.$tagList; ju_ArrayList_ensureCapacity($srv, $srv.$size0 + 1 | 0); var$9 = $srv.$array.data; var$12 = $srv.$size0; $srv.$size0 = var$12 + 1 | 0; var$9[var$12] = $etr; $srv.$modCount = $srv.$modCount + 1 | 0; $i = $i + 1 | 0; } $lst = new jl_IndexOutOfBoundsException; $lst.$suppressionEnabled = 1; $lst.$writableStackTrace = 1; $rt_throw($lst); }, nle_RelayManager_sort = $this => { let $srv, $l, $j, $i, $found, $srv_0, var$7; $srv = $this.$relays; $l = $srv.$size0; if (!$l) return; $j = (-1); $i = 0; a: { while (true) { $found = $rt_compare($i, $l); if ($found >= 0) { if ($j != (-1)) { $srv = ju_ArrayList_remove($srv, $j); ju_ArrayList_add0($this.$relays, 0, $srv); } else { $found = 0; $i = 0; b: { while (true) { $j = $rt_compare($i, $l); if ($j >= 0) break b; if ($i < 0) break; if ($j >= 0) break; $srv_0 = $srv.$array.data[$i]; if (Long_gt($srv_0.$ping, Long_ZERO)) { $found = 1; $srv_0.$primary = 1; break b; } $i = $i + 1 | 0; } $srv = new jl_IndexOutOfBoundsException; $srv.$suppressionEnabled = 1; $srv.$writableStackTrace = 1; $rt_throw($srv); } if (!$found) { if (0 >= $l) { $srv = new jl_IndexOutOfBoundsException; $srv.$suppressionEnabled = 1; $srv.$writableStackTrace = 1; $rt_throw($srv); } $srv.$array.data[0].$primary = 1; } } return; } if ($i < 0) break; if ($found >= 0) break; var$7 = $srv.$array.data; if (var$7[$i].$primary) { if ($j == (-1)) $j = $i; else { if ($i < 0) break a; if ($found >= 0) break a; var$7[$i].$primary = 0; } } $i = $i + 1 | 0; } $srv = new jl_IndexOutOfBoundsException; $srv.$suppressionEnabled = 1; $srv.$writableStackTrace = 1; $rt_throw($srv); } $srv = new jl_IndexOutOfBoundsException; $srv.$suppressionEnabled = 1; $srv.$writableStackTrace = 1; $rt_throw($srv); }, nle_RelayManager_setPrimary0 = ($this, $idx) => { let $pr, $l, $i, var$5, $srv; a: { if ($idx >= 0) { $pr = $this.$relays; $l = $pr.$size0; if ($idx < $l) { $i = 0; while (true) { var$5 = $rt_compare($i, $l); if (var$5 >= 0) break; if ($i < 0) break a; if (var$5 >= 0) break a; $srv = $pr.$array.data[$i]; if ($srv.$primary) $srv.$primary = 0; $i = $i + 1 | 0; } $pr = ju_ArrayList_remove($pr, $idx); $pr.$primary = 1; ju_ArrayList_add0($this.$relays, 0, $pr); } } return; } $pr = new jl_IndexOutOfBoundsException; $pr.$suppressionEnabled = 1; $pr.$writableStackTrace = 1; $rt_throw($pr); }, nle_RelayManager_getPrimary = $this => { let var$1, $l, $i, var$4, $srv; var$1 = $this.$relays; $l = var$1.$size0; if ($l <= 0) return null; $i = 0; a: { while (true) { var$4 = $rt_compare($i, $l); if (var$4 >= 0) { nle_RelayManager_sort($this); nle_RelayManager_save($this); return nle_RelayManager_getPrimary($this); } if ($i < 0) break a; if (var$4 >= 0) break a; $srv = var$1.$array.data[$i]; if ($srv.$primary) break; $i = $i + 1 | 0; } return $srv; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nle_RelayManager_connectHandshake = ($this, $relay, $type, $code) => { let $sock, $pkt, var$6, var$7, var$8, var$9, $ipkt, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$ipkt = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$pkt = $thread.pop();$sock = $thread.pop();$code = $thread.pop();$type = $thread.pop();$relay = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $sock = nlea_EaglerAdapterImpl2_openRelayConnection($relay.$address, nms_Minecraft_theMinecraft.$gameSettings.$relayTimeout * 1000 | 0); if ($sock.$isClosed()) { if (jl_System_errCache === null) { $code = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); $code.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_Object__init_($pkt); $pkt.$buffer = $rt_createCharArray(16); $code.$sb = $pkt; $code.$buffer0 = $rt_createCharArray(32); $code.$autoFlush = 0; $code.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $code; } $relay = $relay.$address; $code = new jl_StringBuilder; $code.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($code, $code.$length0, $rt_s(1187)); $type = $code.$length0; if ($relay === null) $relay = $rt_s(1); jl_AbstractStringBuilder_insert($code, $type, $relay); jl_AbstractStringBuilder_insert($code, $code.$length0, $rt_s(1341)); $relay = new jl_String; var$6 = $code.$buffer; var$7 = var$6.data; var$8 = $code.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $relay.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $rt_putStderr($rt_ustr($relay)); $rt_putStderr("\n"); while (true) { $relay = $sock.$getException(); if ($relay === null) break; if (jl_System_errCache === null) { $code = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); jl_Object__init_($code); $code.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pkt, 16); $code.$sb = $pkt; $code.$buffer0 = $rt_createCharArray(32); $code.$autoFlush = 0; $code.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $code; } jl_Throwable_printStackTrace($relay, jl_System_errCache); } return null; } $relay = new jl_IndexOutOfBoundsException; $relay.$suppressionEnabled = 1; $relay.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($relay); $rt_throw($relay); } if ($sock.$isOpen()) { $pkt = new nlesrp_IPacket00Handshake; nlesrp_IPacket_$callClinit(); $pkt.$connectionType = 0; $pkt.$connectionVersion = 1; $pkt.$connectionCode = null; $pkt.$connectionType = $type; $pkt.$connectionVersion = 1; $pkt.$connectionCode = $code; $sock.$writePacket0($pkt); if (!$sock.$isClosed()) { $pkt = $sock.$nextPacket(); if ($pkt !== null) { if ($pkt instanceof nlesrp_IPacket00Handshake) return $sock; if (!($pkt instanceof nlesrp_IPacketFFErrorCode)) { if (jl_System_errCache === null) { $code = new otcic_JSStderrPrintStream; $ipkt = new ji_ByteArrayOutputStream; $ipkt.$buf = $rt_createByteArray(32); $code.$out0 = $ipkt; $ipkt = new jl_StringBuilder; jl_Object__init_($ipkt); $ipkt.$buffer = $rt_createCharArray(16); $code.$sb = $ipkt; $code.$buffer0 = $rt_createCharArray(32); $code.$autoFlush = 0; $code.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $code; } $relay = $relay.$address; $pkt = $pkt.constructor; if ($pkt === null) $code = null; else { $code = $pkt.classObject; if ($code === null) { $code = new jl_Class; $code.$platformClass = $pkt; $pkt.classObject = $code; } } $code = jl_Class_getSimpleName($code); $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $rt_s(1187)); $type = $pkt.$length0; if ($relay === null) $relay = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $type, $relay); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $rt_s(1192)); $type = $pkt.$length0; if ($code === null) $code = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $type, $code); $relay = new jl_String; var$6 = $pkt.$buffer; var$7 = var$6.data; var$8 = $pkt.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $relay.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $rt_putStderr($rt_ustr($relay)); $rt_putStderr("\n"); $sock.$close(); return null; } $relay = new jl_IndexOutOfBoundsException; $relay.$suppressionEnabled = 1; $relay.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($relay); $rt_throw($relay); } $ipkt = $pkt; if (jl_System_errCache === null) { $code = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); $code.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_Object__init_($pkt); $pkt.$buffer = $rt_createCharArray(16); $code.$sb = $pkt; $code.$buffer0 = $rt_createCharArray(32); $code.$autoFlush = 0; $code.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $code; } $relay = $relay.$address; $type = $ipkt.$code; $code = $type < 0 && $type >= nlesrp_IPacketFFErrorCode_packetTypes.data.length ? $rt_s(541) : nlesrp_IPacketFFErrorCode_packetTypes.data[$type]; $pkt = $ipkt.$desc0; $ipkt = new jl_StringBuilder; $ipkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt, $ipkt.$length0, $rt_s(1187)); var$8 = $ipkt.$length0; if ($relay === null) $relay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt, var$8, $relay); jl_AbstractStringBuilder_insert($ipkt, $ipkt.$length0, $rt_s(1342)); var$8 = $ipkt.$length0; if ($code === null) $code = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt, var$8, $code); var$9 = $ipkt.$length0; jl_AbstractStringBuilder_insertSpace($ipkt, var$9, var$9 + 1 | 0); $ipkt.$buffer.data[var$9] = 40; jl_AbstractStringBuilder_insert0($ipkt, $ipkt.$length0, $type, 10); jl_AbstractStringBuilder_insert($ipkt, $ipkt.$length0, $rt_s(1194)); $type = $ipkt.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt, $type, $pkt); $relay = new jl_String; var$6 = $ipkt.$buffer; var$7 = var$6.data; var$8 = $ipkt.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $relay.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $rt_putStderr($rt_ustr($relay)); $rt_putStderr("\n"); while (true) { $relay = $sock.$getException(); if ($relay === null) break; if (jl_System_errCache === null) { $code = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); jl_Object__init_($code); $code.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pkt, 16); $code.$sb = $pkt; $code.$buffer0 = $rt_createCharArray(32); $code.$autoFlush = 0; $code.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $code; } jl_Throwable_printStackTrace($relay, jl_System_errCache); } $sock.$close(); return null; } $relay = new jl_IndexOutOfBoundsException; $relay.$suppressionEnabled = 1; $relay.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($relay); $rt_throw($relay); } var$8 = 20; $ptr = 2; continue main; } } var$8 = 20; $ptr = 1; case 1: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$(var$8); if ($rt_suspending()) { break main; } if ($sock.$isClosed()) { if (jl_System_errCache === null) { $code = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); $code.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_Object__init_($pkt); $pkt.$buffer = $rt_createCharArray(16); $code.$sb = $pkt; $code.$buffer0 = $rt_createCharArray(32); $code.$autoFlush = 0; $code.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $code; } $relay = $relay.$address; $code = new jl_StringBuilder; $code.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($code, $code.$length0, $rt_s(1187)); $type = $code.$length0; if ($relay === null) $relay = $rt_s(1); jl_AbstractStringBuilder_insert($code, $type, $relay); jl_AbstractStringBuilder_insert($code, $code.$length0, $rt_s(1341)); $relay = new jl_String; var$6 = $code.$buffer; var$7 = var$6.data; var$8 = $code.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $relay.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $rt_putStderr($rt_ustr($relay)); $rt_putStderr("\n"); while (true) { $relay = $sock.$getException(); if ($relay === null) break; if (jl_System_errCache === null) { $code = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); jl_Object__init_($code); $code.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pkt, 16); $code.$sb = $pkt; $code.$buffer0 = $rt_createCharArray(32); $code.$autoFlush = 0; $code.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $code; } jl_Throwable_printStackTrace($relay, jl_System_errCache); } return null; } $relay = new jl_IndexOutOfBoundsException; $relay.$suppressionEnabled = 1; $relay.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($relay); $rt_throw($relay); } if ($sock.$isOpen()) { $pkt = new nlesrp_IPacket00Handshake; nlesrp_IPacket_$callClinit(); $pkt.$connectionType = 0; $pkt.$connectionVersion = 1; $pkt.$connectionCode = null; $pkt.$connectionType = $type; $pkt.$connectionVersion = 1; $pkt.$connectionCode = $code; $sock.$writePacket0($pkt); if (!$sock.$isClosed()) { $pkt = $sock.$nextPacket(); if ($pkt !== null) { if ($pkt instanceof nlesrp_IPacket00Handshake) return $sock; if (!($pkt instanceof nlesrp_IPacketFFErrorCode)) { if (jl_System_errCache === null) { $code = new otcic_JSStderrPrintStream; $ipkt = new ji_ByteArrayOutputStream; $ipkt.$buf = $rt_createByteArray(32); $code.$out0 = $ipkt; $ipkt = new jl_StringBuilder; jl_Object__init_($ipkt); $ipkt.$buffer = $rt_createCharArray(16); $code.$sb = $ipkt; $code.$buffer0 = $rt_createCharArray(32); $code.$autoFlush = 0; $code.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $code; } $relay = $relay.$address; $pkt = $pkt.constructor; if ($pkt === null) $code = null; else { $code = $pkt.classObject; if ($code === null) { $code = new jl_Class; $code.$platformClass = $pkt; $pkt.classObject = $code; } } $code = jl_Class_getSimpleName($code); $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $rt_s(1187)); $type = $pkt.$length0; if ($relay === null) $relay = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $type, $relay); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $rt_s(1192)); $type = $pkt.$length0; if ($code === null) $code = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $type, $code); $relay = new jl_String; var$6 = $pkt.$buffer; var$7 = var$6.data; var$8 = $pkt.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $relay.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $rt_putStderr($rt_ustr($relay)); $rt_putStderr("\n"); $sock.$close(); return null; } $relay = new jl_IndexOutOfBoundsException; $relay.$suppressionEnabled = 1; $relay.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($relay); $rt_throw($relay); } $ipkt = $pkt; if (jl_System_errCache === null) { $code = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); $code.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_Object__init_($pkt); $pkt.$buffer = $rt_createCharArray(16); $code.$sb = $pkt; $code.$buffer0 = $rt_createCharArray(32); $code.$autoFlush = 0; $code.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $code; } $relay = $relay.$address; $type = $ipkt.$code; $code = $type < 0 && $type >= nlesrp_IPacketFFErrorCode_packetTypes.data.length ? $rt_s(541) : nlesrp_IPacketFFErrorCode_packetTypes.data[$type]; $pkt = $ipkt.$desc0; $ipkt = new jl_StringBuilder; $ipkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt, $ipkt.$length0, $rt_s(1187)); var$8 = $ipkt.$length0; if ($relay === null) $relay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt, var$8, $relay); jl_AbstractStringBuilder_insert($ipkt, $ipkt.$length0, $rt_s(1342)); var$8 = $ipkt.$length0; if ($code === null) $code = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt, var$8, $code); var$9 = $ipkt.$length0; jl_AbstractStringBuilder_insertSpace($ipkt, var$9, var$9 + 1 | 0); $ipkt.$buffer.data[var$9] = 40; jl_AbstractStringBuilder_insert0($ipkt, $ipkt.$length0, $type, 10); jl_AbstractStringBuilder_insert($ipkt, $ipkt.$length0, $rt_s(1194)); $type = $ipkt.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt, $type, $pkt); $relay = new jl_String; var$6 = $ipkt.$buffer; var$7 = var$6.data; var$8 = $ipkt.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $relay.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $rt_putStderr($rt_ustr($relay)); $rt_putStderr("\n"); while (true) { $relay = $sock.$getException(); if ($relay === null) break; if (jl_System_errCache === null) { $code = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); jl_Object__init_($code); $code.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pkt, 16); $code.$sb = $pkt; $code.$buffer0 = $rt_createCharArray(32); $code.$autoFlush = 0; $code.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $code; } jl_Throwable_printStackTrace($relay, jl_System_errCache); } $sock.$close(); return null; } $relay = new jl_IndexOutOfBoundsException; $relay.$suppressionEnabled = 1; $relay.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($relay); $rt_throw($relay); } var$8 = 20; $ptr = 2; continue main; } } var$8 = 20; continue main; case 2: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$(var$8); if ($rt_suspending()) { break main; } if ($sock.$isClosed()) { var$8 = 20; $ptr = 1; continue main; } $pkt = $sock.$nextPacket(); if ($pkt !== null) { if ($pkt instanceof nlesrp_IPacket00Handshake) return $sock; if (!($pkt instanceof nlesrp_IPacketFFErrorCode)) { if (jl_System_errCache === null) { $code = new otcic_JSStderrPrintStream; $ipkt = new ji_ByteArrayOutputStream; $ipkt.$buf = $rt_createByteArray(32); $code.$out0 = $ipkt; $ipkt = new jl_StringBuilder; jl_Object__init_($ipkt); $ipkt.$buffer = $rt_createCharArray(16); $code.$sb = $ipkt; $code.$buffer0 = $rt_createCharArray(32); $code.$autoFlush = 0; $code.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $code; } $relay = $relay.$address; $pkt = $pkt.constructor; if ($pkt === null) $code = null; else { $code = $pkt.classObject; if ($code === null) { $code = new jl_Class; $code.$platformClass = $pkt; $pkt.classObject = $code; } } $code = jl_Class_getSimpleName($code); $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $rt_s(1187)); $type = $pkt.$length0; if ($relay === null) $relay = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $type, $relay); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $rt_s(1192)); $type = $pkt.$length0; if ($code === null) $code = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, $type, $code); $relay = new jl_String; var$6 = $pkt.$buffer; var$7 = var$6.data; var$8 = $pkt.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $relay.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $rt_putStderr($rt_ustr($relay)); $rt_putStderr("\n"); $sock.$close(); return null; } $relay = new jl_IndexOutOfBoundsException; $relay.$suppressionEnabled = 1; $relay.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($relay); $rt_throw($relay); } $ipkt = $pkt; if (jl_System_errCache === null) { $code = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); $code.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_Object__init_($pkt); $pkt.$buffer = $rt_createCharArray(16); $code.$sb = $pkt; $code.$buffer0 = $rt_createCharArray(32); $code.$autoFlush = 0; $code.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $code; } $relay = $relay.$address; $type = $ipkt.$code; $code = $type < 0 && $type >= nlesrp_IPacketFFErrorCode_packetTypes.data.length ? $rt_s(541) : nlesrp_IPacketFFErrorCode_packetTypes.data[$type]; $pkt = $ipkt.$desc0; $ipkt = new jl_StringBuilder; $ipkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt, $ipkt.$length0, $rt_s(1187)); var$8 = $ipkt.$length0; if ($relay === null) $relay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt, var$8, $relay); jl_AbstractStringBuilder_insert($ipkt, $ipkt.$length0, $rt_s(1342)); var$8 = $ipkt.$length0; if ($code === null) $code = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt, var$8, $code); var$9 = $ipkt.$length0; jl_AbstractStringBuilder_insertSpace($ipkt, var$9, var$9 + 1 | 0); $ipkt.$buffer.data[var$9] = 40; jl_AbstractStringBuilder_insert0($ipkt, $ipkt.$length0, $type, 10); jl_AbstractStringBuilder_insert($ipkt, $ipkt.$length0, $rt_s(1194)); $type = $ipkt.$length0; if ($pkt === null) $pkt = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt, $type, $pkt); $relay = new jl_String; var$6 = $ipkt.$buffer; var$7 = var$6.data; var$8 = $ipkt.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $relay.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $rt_putStderr($rt_ustr($relay)); $rt_putStderr("\n"); while (true) { $relay = $sock.$getException(); if ($relay === null) break; if (jl_System_errCache === null) { $code = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); jl_Object__init_($code); $code.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pkt, 16); $code.$sb = $pkt; $code.$buffer0 = $rt_createCharArray(32); $code.$autoFlush = 0; $code.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $code; } jl_Throwable_printStackTrace($relay, jl_System_errCache); } $sock.$close(); return null; } $relay = new jl_IndexOutOfBoundsException; $relay.$suppressionEnabled = 1; $relay.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($relay); $rt_throw($relay); } var$8 = 20; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $relay, $type, $code, $sock, $pkt, var$6, var$7, var$8, var$9, $ipkt, $ptr); }, nle_RelayManager_getWorkingRelay = ($this, $progressCallback, $type, $code) => { let $sock, $relay, var$6, var$7, $relayEtr, var$9, var$10, $l, var$12, var$13, $i, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$i = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$l = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$relayEtr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$relay = $thread.pop();$sock = $thread.pop();$code = $thread.pop();$type = $thread.pop();$progressCallback = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $sock = $this.$brokenServers; $sock.$firstEntry = null; $sock.$lastEntry = null; $sock.$size2 = 0; $sock.$modCount = $sock.$modCount + 1 | 0; if ($this.$relays.$size0 <= 0) return null; a: { nlea_EaglerAdapterImpl2_$callClinit(); if (Long_lt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$lastPingThrough), Long_fromInt(10000))) { $relay = nle_RelayManager_getPrimary($this); if (Long_gt($relay.$ping, Long_ZERO) && ($relay.$queriedCompatible !== nle_RelayQuery$VersionMismatch_COMPATIBLE ? 0 : 1)) { var$6 = $relay.$address; $sock = $progressCallback.$_0; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$7, var$7.$length0, jl_String_toString($rt_s(1343))); jl_StringBuilder_insert0(var$7, var$7.$length0, var$6 === null ? $rt_s(1) : jl_String_toString(var$6)); $relayEtr = new jl_String; var$9 = var$7.$buffer; var$10 = var$9.data; $l = var$7.$length0; var$12 = var$10.length; if ($l >= 0 && $l <= (var$12 - 0 | 0)) { $relayEtr.$nativeString = $rt_charArrayToString(var$9.data, 0, $l); if ($sock.$mc10.$running) { $sock.$field_73723_d = Long_ZERO; $sock.$field_73727_a = $relayEtr; var$13 = (-1); $ptr = 2; continue main; } if (!$sock.$field_73724_e) { $progressCallback = new nms_MinecraftError; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); } $ptr = 3; continue main; } $progressCallback = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($progressCallback); $rt_throw($progressCallback); } $i = 0; $l = $this.$relays.$size0; while (true) { if ($i >= $l) break a; $sock = $this.$relays; if ($i < 0) break; if ($i >= $sock.$size0) break; $relayEtr = $sock.$array.data[$i]; if ($relayEtr !== $relay && Long_gt($relayEtr.$ping, Long_ZERO) && ($relayEtr.$queriedCompatible !== nle_RelayQuery$VersionMismatch_COMPATIBLE ? 0 : 1)) { var$7 = $relayEtr.$address; var$6 = $progressCallback.$_0; var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$15, var$15.$length0, jl_String_toString($rt_s(1343))); jl_StringBuilder_insert0(var$15, var$15.$length0, var$7 === null ? $rt_s(1) : jl_String_toString(var$7)); var$7 = new jl_String; var$9 = var$15.$buffer; var$10 = var$9.data; var$12 = var$15.$length0; var$16 = var$10.length; if (var$12 >= 0 && var$12 <= (var$16 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$9.data, 0, var$12); if (var$6.$mc10.$running) { var$6.$field_73723_d = Long_ZERO; var$6.$field_73727_a = var$7; var$13 = (-1); $ptr = 4; continue main; } if (!var$6.$field_73724_e) { $progressCallback = new nms_MinecraftError; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); } $ptr = 5; continue main; } $progressCallback = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($progressCallback); $rt_throw($progressCallback); } $i = $i + 1 | 0; } $progressCallback = new jl_IndexOutOfBoundsException; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); } } $ptr = 1; case 1: $tmp = nle_RelayManager_getWorkingCodeRelayActive($this, $progressCallback, $type, $code); if ($rt_suspending()) { break main; } $progressCallback = $tmp; return $progressCallback; case 2: nms_LoadingScreenRenderer_setLoadingProgress($sock, var$13); if ($rt_suspending()) { break main; } $sock.$field_73723_d = Long_ZERO; $ptr = 3; case 3: b: { $tmp = nle_RelayManager_connectHandshake($this, $relay, $type, $code); if ($rt_suspending()) { break main; } $sock = $tmp; if ($sock !== null) { if ($sock.$isFailed()) break b; return $sock; } $sock = $this.$brokenServers; var$13 = $sock.$size2; if (var$13 < 0) { $progressCallback = new jl_IndexOutOfBoundsException; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($sock, var$13), $relay); } $i = 0; $l = $this.$relays.$size0; while (true) { if ($i >= $l) { $ptr = 1; continue main; } $sock = $this.$relays; if ($i < 0) break; if ($i >= $sock.$size0) break; $relayEtr = $sock.$array.data[$i]; if ($relayEtr !== $relay && Long_gt($relayEtr.$ping, Long_ZERO) && ($relayEtr.$queriedCompatible !== nle_RelayQuery$VersionMismatch_COMPATIBLE ? 0 : 1)) { var$7 = $relayEtr.$address; var$6 = $progressCallback.$_0; var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$15, var$15.$length0, jl_String_toString($rt_s(1343))); jl_StringBuilder_insert0(var$15, var$15.$length0, var$7 === null ? $rt_s(1) : jl_String_toString(var$7)); var$7 = new jl_String; var$9 = var$15.$buffer; var$10 = var$9.data; var$12 = var$15.$length0; var$16 = var$10.length; if (var$12 >= 0 && var$12 <= (var$16 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$9.data, 0, var$12); if (var$6.$mc10.$running) { var$6.$field_73723_d = Long_ZERO; var$6.$field_73727_a = var$7; var$13 = (-1); $ptr = 4; continue main; } if (!var$6.$field_73724_e) { $progressCallback = new nms_MinecraftError; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); } $ptr = 5; continue main; } $progressCallback = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($progressCallback); $rt_throw($progressCallback); } $i = $i + 1 | 0; } $progressCallback = new jl_IndexOutOfBoundsException; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); case 4: nms_LoadingScreenRenderer_setLoadingProgress(var$6, var$13); if ($rt_suspending()) { break main; } var$6.$field_73723_d = Long_ZERO; $ptr = 5; case 5: b: { $tmp = nle_RelayManager_connectHandshake($this, $relayEtr, $type, $code); if ($rt_suspending()) { break main; } $sock = $tmp; if ($sock !== null) { if ($sock.$isFailed()) break b; return $sock; } $sock = $this.$brokenServers; var$13 = $sock.$size2; if (var$13 < 0) { $progressCallback = new jl_IndexOutOfBoundsException; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($sock, var$13), $relayEtr); } while (true) { $i = $i + 1 | 0; if ($i >= $l) { $ptr = 1; continue main; } $sock = $this.$relays; if ($i < 0) break; if ($i >= $sock.$size0) break; $relayEtr = $sock.$array.data[$i]; if ($relayEtr === $relay) continue; if (Long_le($relayEtr.$ping, Long_ZERO)) continue; if (!($relayEtr.$queriedCompatible !== nle_RelayQuery$VersionMismatch_COMPATIBLE ? 0 : 1)) continue; else { var$7 = $relayEtr.$address; var$6 = $progressCallback.$_0; var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$15, var$15.$length0, jl_String_toString($rt_s(1343))); jl_StringBuilder_insert0(var$15, var$15.$length0, var$7 === null ? $rt_s(1) : jl_String_toString(var$7)); var$7 = new jl_String; var$9 = var$15.$buffer; var$10 = var$9.data; var$12 = var$15.$length0; var$16 = var$10.length; if (var$12 >= 0 && var$12 <= (var$16 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$9.data, 0, var$12); if (var$6.$mc10.$running) { var$6.$field_73723_d = Long_ZERO; var$6.$field_73727_a = var$7; var$13 = (-1); $ptr = 4; continue main; } if (!var$6.$field_73724_e) { $progressCallback = new nms_MinecraftError; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); } continue main; } $progressCallback = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($progressCallback); $rt_throw($progressCallback); } } $progressCallback = new jl_IndexOutOfBoundsException; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $progressCallback, $type, $code, $sock, $relay, var$6, var$7, $relayEtr, var$9, var$10, $l, var$12, var$13, $i, var$15, var$16, $ptr); }, nle_RelayManager_getWorkingCodeRelayActive = ($this, $progressCallback, $type, $code) => { let $l, $i, $sock, $srv, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$srv = $thread.pop();$sock = $thread.pop();$i = $thread.pop();$l = $thread.pop();$code = $thread.pop();$type = $thread.pop();$progressCallback = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $l = $this.$relays.$size0; if ($l <= 0) return null; $i = 0; a: { while ($i < $l) { $sock = $this.$relays; if ($i < 0) break a; if ($i >= $sock.$size0) break a; $srv = $sock.$array.data[$i]; var$8 = $this.$brokenServers; var$9 = new ju_LinkedList$SequentialListIterator; $sock = var$8.$firstEntry; var$10 = null; var$9.$this$02 = var$8; var$9.$version = var$8.$modCount; var$9.$nextEntry1 = $sock; var$9.$prevEntry = var$10; var$9.$index4 = 0; b: { while (true) { if (!(var$9.$nextEntry1 === null ? 0 : 1)) { var$11 = 0; break b; } $sock = ju_LinkedList$SequentialListIterator_next(var$9); if ($sock === $srv ? 1 : $sock !== null ? $sock.$equals($srv) : $srv !== null ? 0 : 1) break; } var$11 = 1; } if (!var$11) { var$9 = $srv.$address; var$8 = $progressCallback.$_0; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$10, var$10.$length0, jl_String_toString($rt_s(1343))); jl_StringBuilder_insert0(var$10, var$10.$length0, var$9 === null ? $rt_s(1) : jl_String_toString(var$9)); var$9 = new jl_String; var$12 = var$10.$buffer; var$13 = var$12.data; var$14 = var$10.$length0; var$11 = var$13.length; if (var$14 >= 0 && var$14 <= (var$11 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$12.data, 0, var$14); if (var$8.$mc10.$running) { var$8.$field_73723_d = Long_ZERO; var$8.$field_73727_a = var$9; var$11 = (-1); $ptr = 1; continue main; } if (!var$8.$field_73724_e) { $progressCallback = new nms_MinecraftError; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); } $ptr = 2; continue main; } $progressCallback = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($progressCallback); $rt_throw($progressCallback); } $i = $i + 1 | 0; } return null; } $progressCallback = new jl_IndexOutOfBoundsException; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); case 1: nms_LoadingScreenRenderer_setLoadingProgress(var$8, var$11); if ($rt_suspending()) { break main; } var$8.$field_73723_d = Long_ZERO; $ptr = 2; case 2: c: { $tmp = nle_RelayManager_connectHandshake($this, $srv, $type, $code); if ($rt_suspending()) { break main; } $sock = $tmp; if ($sock !== null) { if ($sock.$isFailed()) break c; return $sock; } $sock = $this.$brokenServers; var$11 = $sock.$size2; if (var$11 < 0) { $progressCallback = new jl_IndexOutOfBoundsException; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($sock, var$11), $srv); } b: { while (true) { $i = $i + 1 | 0; if ($i >= $l) break; $sock = $this.$relays; if ($i < 0) break b; if ($i >= $sock.$size0) break b; $srv = $sock.$array.data[$i]; var$8 = $this.$brokenServers; var$9 = new ju_LinkedList$SequentialListIterator; $sock = var$8.$firstEntry; var$10 = null; var$9.$this$02 = var$8; var$9.$version = var$8.$modCount; var$9.$nextEntry1 = $sock; var$9.$prevEntry = var$10; var$9.$index4 = 0; d: { while (true) { if (!(var$9.$nextEntry1 === null ? 0 : 1)) { var$11 = 0; break d; } $sock = ju_LinkedList$SequentialListIterator_next(var$9); if ($sock === $srv ? 1 : $sock !== null ? $sock.$equals($srv) : $srv !== null ? 0 : 1) break; } var$11 = 1; } if (var$11) continue; else { var$9 = $srv.$address; var$8 = $progressCallback.$_0; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$10, var$10.$length0, jl_String_toString($rt_s(1343))); jl_StringBuilder_insert0(var$10, var$10.$length0, var$9 === null ? $rt_s(1) : jl_String_toString(var$9)); var$9 = new jl_String; var$12 = var$10.$buffer; var$13 = var$12.data; var$14 = var$10.$length0; var$11 = var$13.length; if (var$14 >= 0 && var$14 <= (var$11 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$12.data, 0, var$14); if (var$8.$mc10.$running) { var$8.$field_73723_d = Long_ZERO; var$8.$field_73727_a = var$9; var$11 = (-1); $ptr = 1; continue main; } if (!var$8.$field_73724_e) { $progressCallback = new nms_MinecraftError; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); } continue main; } $progressCallback = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($progressCallback); $rt_throw($progressCallback); } } return null; } $progressCallback = new jl_IndexOutOfBoundsException; $progressCallback.$suppressionEnabled = 1; $progressCallback.$writableStackTrace = 1; $rt_throw($progressCallback); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $progressCallback, $type, $code, $l, $i, $sock, $srv, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nle_RelayManager_loadDefaults = $this => { let $setPrimary, var$2, var$3, var$4, var$5, var$6, $etr, var$8, var$9, var$10, var$11, var$12, $exEtr, var$14, var$15; $setPrimary = $this.$relays.$size0; var$2 = nle_ConfigConstants_relays; var$3 = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); a: while (var$3 >= var$5 ? 0 : 1) { if (var$4 < var$2.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$6 = var$3 + 1 | 0; $etr = var$2.$get(var$3); var$8 = $this.$relays; var$9 = var$8.$modCount; var$3 = var$8.$size(); var$10 = 0; while (true) { if (!(var$10 >= var$3 ? 0 : 1)) { var$11 = $this.$relays; var$12 = new nle_RelayServer; var$8 = $etr.$address1; $exEtr = $etr.$comment1; var$9 = $etr.$primary0; var$12.$query = null; var$12.$queriedVersion = (-1); var$12.$ping = Long_ZERO; var$12.$workingPing = Long_ZERO; var$12.$lastPing = Long_ZERO; var$12.$address = var$8; var$12.$comment = $exEtr; var$12.$primary = var$9; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$14 = var$11.$array.data; var$9 = var$11.$size0; var$11.$size0 = var$9 + 1 | 0; var$14[var$9] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; var$3 = var$6; continue a; } if (var$9 < var$8.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$15 = var$10 + 1 | 0; if (jl_String_equalsIgnoreCase((var$8.$get(var$10)).$address, $etr.$address1)) break; var$10 = var$15; } var$3 = var$6; } nle_RelayManager_setPrimary0($this, $setPrimary); nle_RelayManager_save($this); }, nle_RelayManager_makeNewRelayName = $this => { let $i, var$2, var$3, var$4, var$5, $l, var$7, var$8, var$9, var$10, var$11; $i = $this.$relays.$size0 + 1 | 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1344)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, $i, 10); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; $l = var$2.$length0; var$7 = var$5.length; if ($l >= 0 && $l <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, $l); var$7 = $this.$relays.$size0; $i = var$7 + 2 | 0; $l = var$7 + 50 | 0; a: { while (true) { if ($i >= $l) { b: { c: { d: while (true) { $i = 0; $l = $this.$relays.$size0; while (true) { if ($i >= $l) break d; var$2 = $this.$relays; if ($i < 0) break b; if ($i >= var$2.$size0) break b; if (jl_String_equalsIgnoreCase(var$3, var$2.$array.data[$i].$comment)) break; $i = $i + 1 | 0; } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, var$3); $i = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $i, $i + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$i] = 95; var$3 = new jl_String; $l = var$2.$length0; var$7 = var$5.length; if ($l < 0) break c; if ($l > (var$7 - 0 | 0)) break c; var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, $l); } return var$3; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1344)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $i, 10); var$9 = new jl_String; var$4 = var$8.$buffer; var$5 = var$4.data; var$10 = var$8.$length0; var$7 = var$5.length; if (var$10 < 0) break; if (var$10 > (var$7 - 0 | 0)) break; var$9.$nativeString = $rt_charArrayToString(var$4.data, 0, var$10); if (jl_String_equalsIgnoreCase(var$3, var$9)) { var$7 = $i + 1 | 0; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1344)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, var$7, 10); var$3 = new jl_String; var$4 = var$9.$buffer; var$5 = var$4.data; var$11 = var$9.$length0; var$10 = var$5.length; if (var$11 < 0) break a; if (var$11 > (var$10 - 0 | 0)) break a; var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$11); } $i = $i + 1 | 0; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nlesrp_IPacket = $rt_classWithoutFields(), nlesrp_IPacket_definedPacketClasses = null, nlesrp_IPacket_definedPacketIds = null, nlesrp_IPacket_$callClinit = () => { nlesrp_IPacket_$callClinit = $rt_eraseClinit(nlesrp_IPacket); nlesrp_IPacket__clinit_(); }, nlesrp_IPacket__init_ = $this => { nlesrp_IPacket_$callClinit(); }, nlesrp_IPacket__init_0 = () => { let var_0 = new nlesrp_IPacket(); nlesrp_IPacket__init_(var_0); return var_0; }, nlesrp_IPacket_readPacket = $input => { let $i, $clazz, $pkt, var$5, var$6, var$7, var$8, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$pkt = $thread.pop();$clazz = $thread.pop();$i = $thread.pop();$input = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlesrp_IPacket_$callClinit(); $i = $input.$in.$read(); a: { try { b: { try { $clazz = ju_HashMap_get(nlesrp_IPacket_definedPacketClasses, jl_Integer_valueOf($i)); if ($clazz !== null) break b; $input = new ji_IOException; $clazz = jl_StringBuilder__init_(); jl_StringBuilder_append0(jl_StringBuilder_append($clazz, $rt_s(1345)), $i); ji_IOException__init_($input, jl_StringBuilder_toString($clazz)); $rt_throw($input); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InstantiationException) { break a; } else { throw $$e; } } } try { $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InstantiationException) { } else { throw $$e; } } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_IllegalAccessException) { } else { throw $$e; } } } $input = new ji_IOException; $clazz = new jl_StringBuilder; $clazz.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($clazz, $clazz.$length0, $rt_s(1345)); jl_AbstractStringBuilder_insert0($clazz, $clazz.$length0, $i, 10); $pkt = new jl_String; var$5 = $clazz.$buffer; var$6 = var$5.data; var$7 = $clazz.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); $input.$suppressionEnabled = 1; $input.$writableStackTrace = 1; $input.$message = $pkt; $rt_throw($input); } $input = new jl_IndexOutOfBoundsException; $input.$suppressionEnabled = 1; $input.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($input); $rt_throw($input); case 1: a: { try { $tmp = jl_Class_newInstance($clazz); if ($rt_suspending()) { break main; } $clazz = $tmp; $pkt = $clazz; $pkt.$read5($input); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_InstantiationException) { break a; } else if ($$je instanceof jl_IllegalAccessException) { break a; } else { throw $$e; } } return $pkt; } $input = new ji_IOException; $clazz = new jl_StringBuilder; $clazz.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($clazz, $clazz.$length0, $rt_s(1345)); jl_AbstractStringBuilder_insert0($clazz, $clazz.$length0, $i, 10); $pkt = new jl_String; var$5 = $clazz.$buffer; var$6 = var$5.data; var$7 = $clazz.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); $input.$suppressionEnabled = 1; $input.$writableStackTrace = 1; $input.$message = $pkt; $rt_throw($input); } $input = new jl_IndexOutOfBoundsException; $input.$suppressionEnabled = 1; $input.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($input); $rt_throw($input); default: $rt_invalidPointer(); }} $rt_nativeThread().push($input, $i, $clazz, $pkt, var$5, var$6, var$7, var$8, $ptr); }, nlesrp_IPacket_writePacket = $packet => { let $i, var$3, $bao, var$5, var$6, var$7, var$8, $len, var$10, var$11, var$12, var$13, var$14; nlesrp_IPacket_$callClinit(); $i = nlesrp_IPacket_definedPacketIds; var$3 = $packet.constructor; if (var$3 === null) $bao = null; else { $bao = var$3.classObject; if ($bao === null) { $bao = new jl_Class; $bao.$platformClass = var$3; var$3.classObject = $bao; } } if ($bao === null) { $i = $i.$elementData.data[0]; while ($i !== null && $i.$key !== null) { $i = $i.$next3; } } else { var$3 = $bao; if (!var$3.$id$) var$3.$id$ = $rt_nextId(); var$5 = $bao.$id$; var$6 = $i.$elementData.data; $i = var$6[var$5 & (var$6.length - 1 | 0)]; while ($i !== null) { if ($i.$origKeyHash == var$5) { var$3 = $i.$key; if ($bao !== var$3 && !($bao !== var$3 ? 0 : 1) ? 0 : 1) break; } $i = $i.$next3; } } $i = $i === null ? null : $i.$value1; if ($i === null) { $i = new ji_IOException; $bao = $packet.constructor; if ($bao === null) $packet = null; else { $packet = $bao.classObject; if ($packet === null) { $packet = new jl_Class; $packet.$platformClass = $bao; $bao.classObject = $packet; } } $packet = jl_Class_getSimpleName($packet); $bao = new jl_StringBuilder; $bao.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($bao, $bao.$length0, $rt_s(1345)); var$7 = $bao.$length0; if ($packet === null) $packet = $rt_s(1); jl_AbstractStringBuilder_insert($bao, var$7, $packet); $packet = new jl_String; var$6 = $bao.$buffer; var$8 = var$6.data; $len = $bao.$length0; var$5 = var$8.length; if ($len >= 0 && $len <= (var$5 - 0 | 0)) { $packet.$nativeString = $rt_charArrayToString(var$6.data, 0, $len); $i.$suppressionEnabled = 1; $i.$writableStackTrace = 1; $i.$message = $packet; $rt_throw($i); } $packet = new jl_IndexOutOfBoundsException; $packet.$suppressionEnabled = 1; $packet.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($packet); $rt_throw($packet); } $len = $packet.$packetLength(); var$5 = $rt_compare($len, (-1)); if (var$5) { $bao = new ji_ByteArrayOutputStream; $bao.$buf = $rt_createByteArray($len + 1 | 0); } else { $bao = new ji_ByteArrayOutputStream; $bao.$buf = $rt_createByteArray(32); } var$10 = $i.$value0; var$11 = $bao.$count2; var$7 = var$11 + 1 | 0; var$6 = $bao.$buf.data; var$12 = var$6.length; if (var$12 < var$7) { var$13 = (var$12 * 3 | 0) / 2 | 0; if (var$7 > var$13) var$13 = var$7; var$8 = $rt_createByteArray(var$13); if (var$13 < var$12) var$12 = var$13; var$14 = var$8.data; var$13 = 0; while (var$13 < var$12) { var$14[var$13] = var$6[var$13]; var$13 = var$13 + 1 | 0; } $bao.$buf = var$8; } var$6 = $bao.$buf.data; $bao.$count2 = var$7; var$6[var$11] = var$10 << 24 >> 24; $i = new ji_DataOutputStream; $i.$out0 = $bao; $i.$buff0 = $rt_createByteArray(8); $packet.$write6($i); var$6 = $bao.$buf.data; var$7 = $bao.$count2; var$8 = $rt_createByteArray(var$7); var$11 = var$6.length; if (var$7 < var$11) var$11 = var$7; var$14 = var$8.data; var$7 = 0; while (var$7 < var$11) { var$14[var$7] = var$6[var$7]; var$7 = var$7 + 1 | 0; } if (var$5) { var$7 = var$14.length; var$5 = $len + 1 | 0; if (var$7 != var$5) { if (jl_System_errCache === null) { $i = new otcic_JSStderrPrintStream; $bao = new ji_ByteArrayOutputStream; $bao.$buf = $rt_createByteArray(32); $i.$out0 = $bao; $bao = new jl_StringBuilder; jl_Object__init_($bao); $bao.$buffer = $rt_createCharArray(16); $i.$sb = $bao; $i.$buffer0 = $rt_createCharArray(32); $i.$autoFlush = 0; $i.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $i; } $i = $packet.constructor; if ($i === null) $packet = null; else { $packet = $i.classObject; if ($packet === null) { $packet = new jl_Class; $packet.$platformClass = $i; $i.classObject = $packet; } } $packet = jl_Class_getSimpleName($packet); var$11 = $rt_compare(var$5, var$7); $i = var$11 >= 0 ? $rt_s(1346) : $rt_s(1347); var$7 = var$11 >= 0 ? var$5 - var$7 | 0 : (var$7 - $len | 0) - 1 | 0; $bao = new jl_StringBuilder; $bao.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($bao, $bao.$length0, $rt_s(1348)); $len = $bao.$length0; if ($packet === null) $packet = $rt_s(1); jl_AbstractStringBuilder_insert($bao, $len, $packet); var$5 = $bao.$length0; jl_AbstractStringBuilder_insertSpace($bao, var$5, var$5 + 1 | 0); $bao.$buffer.data[var$5] = 32; jl_AbstractStringBuilder_insert($bao, $bao.$length0, $i); jl_AbstractStringBuilder_insert($bao, $bao.$length0, $rt_s(1349)); jl_AbstractStringBuilder_insert0($bao, $bao.$length0, var$7, 10); jl_AbstractStringBuilder_insert($bao, $bao.$length0, $rt_s(1350)); $packet = new jl_String; var$6 = $bao.$buffer; var$14 = var$6.data; $len = $bao.$length0; var$5 = var$14.length; if ($len >= 0 && $len <= (var$5 - 0 | 0)) { $packet.$nativeString = $rt_charArrayToString(var$6.data, 0, $len); $rt_putStderr($rt_ustr($packet)); $rt_putStderr("\n"); } else { $packet = new jl_IndexOutOfBoundsException; $packet.$suppressionEnabled = 1; $packet.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($packet); $rt_throw($packet); } } } return var$8; }, nlesrp_IPacket_read = ($this, $input) => { return; }, nlesrp_IPacket_writeASCII16 = ($is, $txt) => { let $l, $i, var$5; nlesrp_IPacket_$callClinit(); a: { b: { if ($txt === null) { $is.$out0.$write1(0); $is.$written = $is.$written + 1 | 0; $is.$out0.$write1(0); $is.$written = $is.$written + 1 | 0; } else { $l = $txt.$nativeString.length; $i = $l >> 8 & 255; $is.$out0.$write1($i); $is.$written = $is.$written + 1 | 0; $i = $l & 255; $is.$out0.$write1($i); $is.$written = $is.$written + 1 | 0; $i = 0; while (true) { if ($i >= $l) break b; if ($i < 0) break a; if ($i >= $txt.$nativeString.length) break a; var$5 = $txt.$nativeString.charCodeAt($i); $is.$out0.$write1(var$5); $is.$written = $is.$written + 1 | 0; $i = $i + 1 | 0; } } } return; } $is = new jl_StringIndexOutOfBoundsException; $is.$suppressionEnabled = 1; $is.$writableStackTrace = 1; $rt_throw($is); }, nlesrp_IPacket__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nlesrp_IPacket_definedPacketClasses = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nlesrp_IPacket_definedPacketIds = var$1; nlesrp_IPacket_$callClinit(); var$5 = nlesrp_IPacket_definedPacketClasses; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, jl_Integer_integerCache.data[128], $rt_cls(nlesrp_IPacket00Handshake)); var$5 = nlesrp_IPacket_definedPacketIds; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nlesrp_IPacket00Handshake), jl_Integer_integerCache.data[128]); var$5 = nlesrp_IPacket_definedPacketClasses; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, jl_Integer_integerCache.data[129], $rt_cls(nlesrp_IPacket01ICEServers)); var$5 = nlesrp_IPacket_definedPacketIds; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nlesrp_IPacket01ICEServers), jl_Integer_integerCache.data[129]); var$5 = nlesrp_IPacket_definedPacketClasses; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, jl_Integer_integerCache.data[130], $rt_cls(nlesrp_IPacket02NewClient)); var$5 = nlesrp_IPacket_definedPacketIds; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nlesrp_IPacket02NewClient), jl_Integer_integerCache.data[130]); var$5 = nlesrp_IPacket_definedPacketClasses; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, jl_Integer_integerCache.data[131], $rt_cls(nlesrp_IPacket03ICECandidate)); var$5 = nlesrp_IPacket_definedPacketIds; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nlesrp_IPacket03ICECandidate), jl_Integer_integerCache.data[131]); var$5 = nlesrp_IPacket_definedPacketClasses; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, jl_Integer_integerCache.data[132], $rt_cls(nlesrp_IPacket04Description)); var$5 = nlesrp_IPacket_definedPacketIds; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nlesrp_IPacket04Description), jl_Integer_integerCache.data[132]); var$5 = nlesrp_IPacket_definedPacketClasses; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, jl_Integer_integerCache.data[133], $rt_cls(nlesrp_IPacket05ClientSuccess)); var$5 = nlesrp_IPacket_definedPacketIds; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nlesrp_IPacket05ClientSuccess), jl_Integer_integerCache.data[133]); var$5 = nlesrp_IPacket_definedPacketClasses; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, jl_Integer_integerCache.data[134], $rt_cls(nlesrp_IPacket06ClientFailure)); var$5 = nlesrp_IPacket_definedPacketIds; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nlesrp_IPacket06ClientFailure), jl_Integer_integerCache.data[134]); var$5 = nlesrp_IPacket_definedPacketClasses; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, jl_Integer_integerCache.data[135], $rt_cls(nlesrp_IPacket07LocalWorlds)); var$5 = nlesrp_IPacket_definedPacketIds; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nlesrp_IPacket07LocalWorlds), jl_Integer_integerCache.data[135]); var$5 = nlesrp_IPacket_definedPacketClasses; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, jl_Integer_integerCache.data[233], $rt_cls(nlesrp_IPacket69Pong)); var$5 = nlesrp_IPacket_definedPacketIds; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nlesrp_IPacket69Pong), jl_Integer_integerCache.data[233]); var$5 = nlesrp_IPacket_definedPacketClasses; var$6 = new jl_Integer; var$6.$value0 = 254; ju_HashMap_putImpl(var$5, var$6, $rt_cls(nlesrp_IPacketFEDisconnectClient)); var$5 = nlesrp_IPacket_definedPacketIds; var$6 = new jl_Integer; var$6.$value0 = 254; ju_HashMap_putImpl(var$5, $rt_cls(nlesrp_IPacketFEDisconnectClient), var$6); var$5 = nlesrp_IPacket_definedPacketClasses; var$6 = new jl_Integer; var$6.$value0 = 255; ju_HashMap_putImpl(var$5, var$6, $rt_cls(nlesrp_IPacketFFErrorCode)); var$5 = nlesrp_IPacket_definedPacketIds; var$6 = new jl_Integer; var$6.$value0 = 255; ju_HashMap_putImpl(var$5, $rt_cls(nlesrp_IPacketFFErrorCode), var$6); }; function nlesrp_IPacket02NewClient() { nlesrp_IPacket.call(this); this.$clientId2 = null; } let nlesrp_IPacket02NewClient__init_ = $this => { nlesrp_IPacket_$callClinit(); }, nlesrp_IPacket02NewClient__init_0 = () => { let var_0 = new nlesrp_IPacket02NewClient(); nlesrp_IPacket02NewClient__init_(var_0); return var_0; }, nlesrp_IPacket02NewClient_read = ($this, $input) => { let var$2, var$3, var$4, var$5, var$6; nlesrp_IPacket_$callClinit(); var$2 = $input.$in.$read(); if (var$2 < 0) $input = null; else { var$3 = $rt_createCharArray(var$2); var$4 = var$3.data; var$5 = 0; a: { while (true) { if (var$5 >= var$2) { $input = new jl_String; $input.$nativeString = $rt_charArrayToString(var$3.data, 0, var$4.length); break a; } var$6 = $input.$in.$read(); if (var$6 < 0) break; var$4[var$5] = var$6 & 65535; var$5 = var$5 + 1 | 0; } $input = null; } } $this.$clientId2 = $input; }; function nlesrp_IPacket03ICECandidate() { let a = this; nlesrp_IPacket.call(a); a.$peerId = null; a.$candidate = null; } let nlesrp_IPacket03ICECandidate__init_ = $this => { nlesrp_IPacket_$callClinit(); }, nlesrp_IPacket03ICECandidate__init_0 = () => { let var_0 = new nlesrp_IPacket03ICECandidate(); nlesrp_IPacket03ICECandidate__init_(var_0); return var_0; }, nlesrp_IPacket03ICECandidate_read = ($this, $input) => { let var$2, var$3, var$4, var$5, var$6, var$7; nlesrp_IPacket_$callClinit(); var$2 = $input.$in.$read(); if (var$2 < 0) var$3 = null; else { var$4 = $rt_createCharArray(var$2); var$5 = var$4.data; var$6 = 0; a: { while (true) { if (var$6 >= var$2) { var$3 = new jl_String; var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$5.length); break a; } var$7 = $input.$in.$read(); if (var$7 < 0) break; var$5[var$6] = var$7 & 65535; var$6 = var$6 + 1 | 0; } var$3 = null; } } $this.$peerId = var$3; var$2 = $input.$in.$read(); var$7 = $input.$in.$read(); if (var$2 >= 0 && var$7 >= 0) { var$6 = var$2 << 8 | var$7; var$5 = $rt_createCharArray(var$6); var$4 = var$5.data; var$7 = 0; b: { while (true) { if (var$7 >= var$6) { $input = new jl_String; $input.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4.length); break b; } var$2 = $input.$in.$read(); if (var$2 < 0) break; var$4[var$7] = var$2 & 65535; var$7 = var$7 + 1 | 0; } $input = null; } } else $input = null; $this.$candidate = $input; }, nlesrp_IPacket03ICECandidate_write = ($this, $output) => { let var$2, var$3, var$4, var$5; a: { b: { var$2 = $this.$peerId; nlesrp_IPacket_$callClinit(); if (var$2 === null) { $output.$out0.$write1(0); $output.$written = $output.$written + 1 | 0; } else { var$3 = var$2.$nativeString.length; $output.$out0.$write1(var$3); $output.$written = $output.$written + 1 | 0; var$4 = 0; while (true) { if (var$4 >= var$3) break b; if (var$4 < 0) break a; if (var$4 >= var$2.$nativeString.length) break a; var$5 = var$2.$nativeString.charCodeAt(var$4); $output.$out0.$write1(var$5); $output.$written = $output.$written + 1 | 0; var$4 = var$4 + 1 | 0; } } } nlesrp_IPacket_writeASCII16($output, $this.$candidate); return; } $output = new jl_StringIndexOutOfBoundsException; $output.$suppressionEnabled = 1; $output.$writableStackTrace = 1; $rt_throw($output); }, nlesrp_IPacket03ICECandidate_packetLength = $this => { return ((1 + $this.$peerId.$nativeString.length | 0) + 2 | 0) + $this.$candidate.$nativeString.length | 0; }; function nle_IntegratedServerLAN$LANClient() { let a = this; jl_Object.call(a); a.$clientId = null; a.$channelId = null; a.$state = 0; a.$dead = 0; a.$localICECandidate = null; a.$localChannel = 0; a.$packetPreBuffer = null; a.$startTime = Long_ZERO; } let nle_IntegratedServerLAN$LANClient__init_0 = ($this, $clientId) => { let var$2, var$3, var$4, var$5, var$6, var$7; $this.$state = 0; $this.$dead = 0; $this.$localICECandidate = null; $this.$localChannel = 0; $this.$packetPreBuffer = null; $this.$clientId = $clientId; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1023)); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $clientId === null ? $rt_s(1) : $clientId); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); $this.$channelId = var$3; nlea_EaglerAdapterImpl2_$callClinit(); $this.$startTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); nlea_EaglerAdapterImpl2_rtcLANServer.signalRemoteConnect($rt_ustr($clientId)); return; } $clientId = new jl_IndexOutOfBoundsException; $clientId.$suppressionEnabled = 1; $clientId.$writableStackTrace = 1; $rt_throw($clientId); }, nle_IntegratedServerLAN$LANClient__init_ = var_0 => { let var_1 = new nle_IntegratedServerLAN$LANClient(); nle_IntegratedServerLAN$LANClient__init_0(var_1, var_0); return var_1; }, nle_IntegratedServerLAN$LANClient_handleICECandidates = ($this, $candidates) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; if ($this.$state == 4) { var$2 = $this.$clientId; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_rtcLANServer.signalRemoteICECandidate($rt_ustr(var$2), $rt_ustr($candidates)); $candidates = $this.$localICECandidate; if ($candidates === null) $this.$state = 1; else { var$2 = nle_IntegratedServerLAN_lanRelaySocket; var$3 = new nlesrp_IPacket03ICECandidate; var$4 = $this.$clientId; nlesrp_IPacket_$callClinit(); var$3.$peerId = var$4; var$3.$candidate = $candidates; var$2.$writePacket0(var$3); $this.$localICECandidate = null; $this.$state = 2; } } else { if (jl_System_errCache === null) { $candidates = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); $candidates.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $candidates.$sb = var$2; $candidates.$buffer0 = $rt_createCharArray(32); $candidates.$autoFlush = 0; $candidates.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $candidates; } $candidates = nle_IntegratedServerLAN_lanRelaySocket.$getURI(); var$2 = $this.$clientId; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $candidates === null ? $rt_s(1) : $candidates.$toString()); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1351)); var$5 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$5, var$2); var$6 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$6, var$6 + 1 | 0); var$7 = var$3.$buffer; var$8 = var$7.data; var$8[var$6] = 39; $candidates = new jl_String; var$6 = var$3.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { $candidates.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); $rt_putStderr($rt_ustr($candidates)); $rt_putStderr("\n"); } else { $candidates = new jl_IndexOutOfBoundsException; $candidates.$suppressionEnabled = 1; $candidates.$writableStackTrace = 1; $rt_throw($candidates); } } }, nle_IntegratedServerLAN$LANClient_handleDescription = ($this, $description) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; if (!$this.$state) { var$2 = $this.$clientId; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_rtcLANServer.signalRemoteDescription($rt_ustr(var$2), $rt_ustr($description)); $this.$state = 3; } else { if (jl_System_errCache === null) { $description = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); $description.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $description.$sb = var$2; $description.$buffer0 = $rt_createCharArray(32); $description.$autoFlush = 0; $description.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $description; } $description = nle_IntegratedServerLAN_lanRelaySocket.$getURI(); var$2 = $this.$clientId; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $description === null ? $rt_s(1) : $description.$toString()); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1352)); var$4 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$2); var$5 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$5, var$5 + 1 | 0); var$6 = var$3.$buffer; var$7 = var$6.data; var$7[var$5] = 39; $description = new jl_String; var$5 = var$3.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { $description.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $rt_putStderr($rt_ustr($description)); $rt_putStderr("\n"); } else { $description = new jl_IndexOutOfBoundsException; $description.$suppressionEnabled = 1; $description.$writableStackTrace = 1; $rt_throw($description); } } }, nle_IntegratedServerLAN$LANClient_handleSuccess = $this => { let var$1, var$2, var$3, var$4, $b, var$6, var$7, var$8, var$9; if ($this.$state == 2) { if (!$this.$localChannel) $this.$state = 5; else { nlea_EaglerAdapterImpl2_enableChannel($this.$channelId); var$1 = new nlesi_IPCPacket0CPlayerChannel; var$1.$channel = $this.$clientId; var$1.$open3 = 1; nle_IntegratedServer_sendIPCPacket(var$1); $this.$localChannel = 0; var$1 = $this.$packetPreBuffer; if (var$1 !== null) { var$2 = new ju_LinkedList$SequentialListIterator; var$3 = var$1.$firstEntry; var$4 = null; var$2.$this$02 = var$1; var$2.$version = var$1.$modCount; var$2.$nextEntry1 = var$3; var$2.$prevEntry = var$4; var$2.$index4 = 0; while (var$2.$nextEntry1 === null ? 0 : 1) { $b = ju_LinkedList$SequentialListIterator_next(var$2); var$1 = $this.$channelId; nlea_EaglerAdapterImpl2_sendWorkerPacket$js_body$_300(nlea_EaglerAdapterImpl2_server, $rt_ustr(var$1), $b.data.buffer); } $this.$packetPreBuffer = null; } $this.$state = 6; } } else { if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); var$1.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$1.$sb = var$4; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } var$1 = nle_IntegratedServerLAN_lanRelaySocket.$getURI(); var$4 = $this.$clientId; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$1 === null ? $rt_s(1) : var$1.$toString()); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1353)); var$6 = var$3.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$6, var$4); var$7 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$7, var$7 + 1 | 0); $b = var$3.$buffer; var$8 = $b.data; var$8[var$7] = 39; var$1 = new jl_String; var$7 = var$3.$length0; var$9 = var$8.length; if (var$7 >= 0 && var$7 <= (var$9 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString($b.data, 0, var$7); $rt_putStderr($rt_ustr(var$1)); $rt_putStderr("\n"); } else { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } }, nle_IntegratedServerLAN$LANClient_handleFailure = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; a: { if ($this.$state == 2) { if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } var$1 = $this.$clientId; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1354)); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1355)); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); $rt_putStderr($rt_ustr(var$1)); $rt_putStderr("\n"); nle_IntegratedServerLAN$LANClient_disconnect($this); break a; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } var$1 = nle_IntegratedServerLAN_lanRelaySocket.$getURI(); var$2 = $this.$clientId; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, var$1 === null ? $rt_s(1) : var$1.$toString()); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1356)); var$3 = var$8.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$3, var$2); var$6 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$6, var$6 + 1 | 0); var$4 = var$8.$buffer; var$5 = var$4.data; var$5[var$6] = 39; var$1 = new jl_String; var$6 = var$8.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); $rt_putStderr($rt_ustr(var$1)); $rt_putStderr("\n"); } else { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } }, nle_IntegratedServerLAN$LANClient_update = $this => { let var$1, $l, $evt, $i, $b, var$6, var$7, $s, var$9, var$10, var$11, var$12; a: { b: { c: { var$1 = $this.$state; if (var$1 == 7) nle_IntegratedServerLAN$LANClient_disconnect($this); else { if (var$1 != 6) { nlea_EaglerAdapterImpl2_$callClinit(); if (Long_gt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$startTime), Long_fromInt(13000))) { if (jl_System_outCache === null) { $l = new otcic_JSStdoutPrintStream; $evt = new ji_ByteArrayOutputStream; $evt.$buf = $rt_createByteArray(32); $l.$out0 = $evt; $evt = new jl_StringBuilder; $evt.$buffer = $rt_createCharArray(16); $l.$sb = $evt; $l.$buffer0 = $rt_createCharArray(32); $l.$autoFlush = 0; $l.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $l; } $l = $this.$clientId; $evt = new jl_StringBuilder; $evt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($evt, $evt.$length0, $rt_s(1357)); $i = $evt.$length0; if ($l === null) $l = $rt_s(1); jl_AbstractStringBuilder_insert($evt, $i, $l); jl_AbstractStringBuilder_insert($evt, $evt.$length0, $rt_s(1358)); $l = new jl_String; $b = $evt.$buffer; var$6 = $b.data; var$1 = $evt.$length0; var$7 = var$6.length; if (var$1 >= 0 && var$1 <= (var$7 - 0 | 0)) { $l.$nativeString = $rt_charArrayToString($b.data, 0, var$1); $rt_putStdout($rt_ustr($l)); $rt_putStdout("\n"); nle_IntegratedServerLAN$LANClient_disconnect($this); return; } $l = new jl_IndexOutOfBoundsException; $l.$suppressionEnabled = 1; $l.$writableStackTrace = 1; $rt_throw($l); } } d: { while (true) { if ($this.$state != 6) break d; $l = $this.$clientId; $evt = new jl_StringBuilder; $evt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($evt, $evt.$length0, $rt_s(1023)); $i = $evt.$length0; if ($l === null) $l = $rt_s(1); jl_AbstractStringBuilder_insert($evt, $i, $l); $l = new jl_String; $b = $evt.$buffer; var$6 = $b.data; var$1 = $evt.$length0; var$7 = var$6.length; if (var$1 < 0) break; if (var$1 > (var$7 - 0 | 0)) break; $l.$nativeString = $rt_charArrayToString($b.data, 0, var$1); $l = nlea_EaglerAdapterImpl2_recieveFromIntegratedServer($l); if ($l === null) break d; nlea_EaglerAdapterImpl2_serverLANWritePacket($this.$clientId, $l.$data13); } $l = new jl_IndexOutOfBoundsException; $l.$suppressionEnabled = 1; $l.$writableStackTrace = 1; $rt_throw($l); } $l = nlea_EaglerAdapterImpl2_serverLANGetAllEvent($this.$clientId); if ($l === null) return; $i = 0; $s = $l.$size0; while ($i < $s) { if ($i < 0) break c; if ($i >= $l.$size0) break c; e: { $evt = $l.$array.data[$i]; if ($evt instanceof nle_LANPeerEvent$LANPeerDisconnectEvent) { if (jl_System_outCache === null) { $evt = new otcic_JSStdoutPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); $evt.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); $evt.$sb = var$9; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $evt; } $evt = $this.$clientId; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1357)); var$1 = var$9.$length0; if ($evt === null) $evt = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, var$1, $evt); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1359)); $evt = new jl_String; $b = var$9.$buffer; var$6 = $b.data; var$7 = var$9.$length0; var$10 = var$6.length; if (var$7 < 0) break b; if (var$7 > (var$10 - 0 | 0)) break b; $evt.$nativeString = $rt_charArrayToString($b.data, 0, var$7); $rt_putStdout($rt_ustr($evt)); $rt_putStdout("\n"); nle_IntegratedServerLAN$LANClient_disconnect($this); } else { f: { g: { h: { i: { j: { var$1 = $this.$state; switch (var$1) { case 1: break f; case 2: break h; case 3: break i; case 4: break; case 5: break g; case 6: break j; default: break a; } if (!($evt instanceof nle_LANPeerEvent$LANPeerICECandidateEvent)) break a; $this.$localICECandidate = $evt.$candidates; break e; } if (!($evt instanceof nle_LANPeerEvent$LANPeerPacketEvent)) break a; var$9 = $this.$channelId; $b = $evt.$payload; nlea_EaglerAdapterImpl2_sendWorkerPacket$js_body$_300(nlea_EaglerAdapterImpl2_server, $rt_ustr(var$9), $b.data.buffer); break e; } if (!($evt instanceof nle_LANPeerEvent$LANPeerDescriptionEvent)) break a; var$9 = nle_IntegratedServerLAN_lanRelaySocket; var$11 = new nlesrp_IPacket04Description; var$12 = $this.$clientId; $evt = $evt.$description0; nlesrp_IPacket_$callClinit(); var$11.$peerId0 = var$12; var$11.$description = $evt; var$9.$writePacket0(var$11); $this.$state = 4; break e; } if ($evt instanceof nle_LANPeerEvent$LANPeerDataChannelEvent) { $this.$localChannel = 1; break e; } if (!($evt instanceof nle_LANPeerEvent$LANPeerPacketEvent)) break a; if ($this.$packetPreBuffer === null) $this.$packetPreBuffer = new ju_LinkedList; var$9 = $this.$packetPreBuffer; $b = $evt.$payload; var$1 = var$9.$size2; if (var$1 < 0) { $l = new jl_IndexOutOfBoundsException; $l.$suppressionEnabled = 1; $l.$writableStackTrace = 1; $rt_throw($l); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator(var$9, var$1), $b); break e; } if (!($evt instanceof nle_LANPeerEvent$LANPeerDataChannelEvent)) break a; nlea_EaglerAdapterImpl2_enableChannel($this.$channelId); $evt = new nlesi_IPCPacket0CPlayerChannel; $evt.$channel = $this.$clientId; $evt.$open3 = 1; nle_IntegratedServer_sendIPCPacket($evt); $evt = $this.$packetPreBuffer; if ($evt !== null) { var$12 = new ju_LinkedList$SequentialListIterator; var$11 = $evt.$firstEntry; var$9 = null; var$12.$this$02 = $evt; var$12.$version = $evt.$modCount; var$12.$nextEntry1 = var$11; var$12.$prevEntry = var$9; var$12.$index4 = 0; while (var$12.$nextEntry1 === null ? 0 : 1) { $b = ju_LinkedList$SequentialListIterator_next(var$12); $evt = $this.$channelId; nlea_EaglerAdapterImpl2_sendWorkerPacket$js_body$_300(nlea_EaglerAdapterImpl2_server, $rt_ustr($evt), $b.data.buffer); } $this.$packetPreBuffer = null; } $this.$state = 6; break e; } if ($evt instanceof nle_LANPeerEvent$LANPeerICECandidateEvent) { var$9 = nle_IntegratedServerLAN_lanRelaySocket; var$11 = new nlesrp_IPacket03ICECandidate; var$12 = $this.$clientId; $evt = $evt.$candidates; nlesrp_IPacket_$callClinit(); var$11.$peerId = var$12; var$11.$candidate = $evt; var$9.$writePacket0(var$11); $this.$state = 2; } else if ($evt instanceof nle_LANPeerEvent$LANPeerDataChannelEvent) $this.$localChannel = 1; else { if (!($evt instanceof nle_LANPeerEvent$LANPeerPacketEvent)) break a; if ($this.$packetPreBuffer === null) $this.$packetPreBuffer = new ju_LinkedList; var$9 = $this.$packetPreBuffer; $b = $evt.$payload; var$1 = var$9.$size2; if (var$1 < 0) { $l = new jl_IndexOutOfBoundsException; $l.$suppressionEnabled = 1; $l.$writableStackTrace = 1; $rt_throw($l); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator(var$9, var$1), $b); } } } $i = $i + 1 | 0; } } return; } $l = new jl_IndexOutOfBoundsException; $l.$suppressionEnabled = 1; $l.$writableStackTrace = 1; $rt_throw($l); } $l = new jl_IndexOutOfBoundsException; $l.$suppressionEnabled = 1; $l.$writableStackTrace = 1; $rt_throw($l); } if (var$1 != 7) { if (jl_System_errCache === null) { $l = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); $l.$out0 = var$9; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); $l.$sb = var$9; $l.$buffer0 = $rt_createCharArray(32); $l.$autoFlush = 0; $l.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $l; } $l = $this.$clientId; var$9 = $evt.constructor; if (var$9 === null) $evt = null; else { $evt = var$9.classObject; if ($evt === null) { $evt = new jl_Class; $evt.$platformClass = var$9; var$9.classObject = $evt; } } $evt = jl_Class_getSimpleName($evt); $i = $this.$state; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1357)); var$1 = var$9.$length0; if ($l === null) $l = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, var$1, $l); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1360)); var$1 = var$9.$length0; if ($evt === null) $evt = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, var$1, $evt); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1361)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $i, 10); var$1 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$1, var$1 + 1 | 0); $b = var$9.$buffer; var$6 = $b.data; var$6[var$1] = 41; $l = new jl_String; var$1 = var$9.$length0; var$7 = var$6.length; if (var$1 >= 0 && var$1 <= (var$7 - 0 | 0)) { $l.$nativeString = $rt_charArrayToString($b.data, 0, var$1); $rt_putStderr($rt_ustr($l)); $rt_putStderr("\n"); } else { $l = new jl_IndexOutOfBoundsException; $l.$suppressionEnabled = 1; $l.$writableStackTrace = 1; $rt_throw($l); } } nle_IntegratedServerLAN$LANClient_disconnect($this); }, nle_IntegratedServerLAN$LANClient_disconnect = $this => { let var$1; if (!$this.$dead) { if ($this.$state == 6) { var$1 = new nlesi_IPCPacket0CPlayerChannel; var$1.$channel = $this.$clientId; var$1.$open3 = 0; nle_IntegratedServer_sendIPCPacket(var$1); nlea_EaglerAdapterImpl2_disableChannel($this.$channelId); } $this.$state = 7; var$1 = $this.$clientId; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_rtcLANServer.signalRemoteDisconnect($rt_ustr(var$1)); $this.$dead = 1; } }; function nlesrp_IPacket04Description() { let a = this; nlesrp_IPacket.call(a); a.$peerId0 = null; a.$description = null; } let nlesrp_IPacket04Description__init_ = $this => { nlesrp_IPacket_$callClinit(); }, nlesrp_IPacket04Description__init_0 = () => { let var_0 = new nlesrp_IPacket04Description(); nlesrp_IPacket04Description__init_(var_0); return var_0; }, nlesrp_IPacket04Description_read = ($this, $input) => { let var$2, var$3, var$4, var$5, var$6, var$7; nlesrp_IPacket_$callClinit(); var$2 = $input.$in.$read(); if (var$2 < 0) var$3 = null; else { var$4 = $rt_createCharArray(var$2); var$5 = var$4.data; var$6 = 0; a: { while (true) { if (var$6 >= var$2) { var$3 = new jl_String; var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$5.length); break a; } var$7 = $input.$in.$read(); if (var$7 < 0) break; var$5[var$6] = var$7 & 65535; var$6 = var$6 + 1 | 0; } var$3 = null; } } $this.$peerId0 = var$3; var$2 = $input.$in.$read(); var$7 = $input.$in.$read(); if (var$2 >= 0 && var$7 >= 0) { var$6 = var$2 << 8 | var$7; var$5 = $rt_createCharArray(var$6); var$4 = var$5.data; var$7 = 0; b: { while (true) { if (var$7 >= var$6) { $input = new jl_String; $input.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4.length); break b; } var$2 = $input.$in.$read(); if (var$2 < 0) break; var$4[var$7] = var$2 & 65535; var$7 = var$7 + 1 | 0; } $input = null; } } else $input = null; $this.$description = $input; }, nlesrp_IPacket04Description_write = ($this, $output) => { let var$2, var$3, var$4, var$5; a: { b: { var$2 = $this.$peerId0; nlesrp_IPacket_$callClinit(); if (var$2 === null) { $output.$out0.$write1(0); $output.$written = $output.$written + 1 | 0; } else { var$3 = var$2.$nativeString.length; $output.$out0.$write1(var$3); $output.$written = $output.$written + 1 | 0; var$4 = 0; while (true) { if (var$4 >= var$3) break b; if (var$4 < 0) break a; if (var$4 >= var$2.$nativeString.length) break a; var$5 = var$2.$nativeString.charCodeAt(var$4); $output.$out0.$write1(var$5); $output.$written = $output.$written + 1 | 0; var$4 = var$4 + 1 | 0; } } } nlesrp_IPacket_writeASCII16($output, $this.$description); return; } $output = new jl_StringIndexOutOfBoundsException; $output.$suppressionEnabled = 1; $output.$writableStackTrace = 1; $rt_throw($output); }, nlesrp_IPacket04Description_packetLength = $this => { return ((1 + $this.$peerId0.$nativeString.length | 0) + 2 | 0) + $this.$description.$nativeString.length | 0; }; function nlesrp_IPacket05ClientSuccess() { nlesrp_IPacket.call(this); this.$clientId0 = null; } let nlesrp_IPacket05ClientSuccess__init_ = $this => { nlesrp_IPacket_$callClinit(); }, nlesrp_IPacket05ClientSuccess__init_0 = () => { let var_0 = new nlesrp_IPacket05ClientSuccess(); nlesrp_IPacket05ClientSuccess__init_(var_0); return var_0; }, nlesrp_IPacket05ClientSuccess_read = ($this, $input) => { let var$2, var$3, var$4, var$5, var$6; nlesrp_IPacket_$callClinit(); var$2 = $input.$in.$read(); if (var$2 < 0) $input = null; else { var$3 = $rt_createCharArray(var$2); var$4 = var$3.data; var$5 = 0; a: { while (true) { if (var$5 >= var$2) { $input = new jl_String; $input.$nativeString = $rt_charArrayToString(var$3.data, 0, var$4.length); break a; } var$6 = $input.$in.$read(); if (var$6 < 0) break; var$4[var$5] = var$6 & 65535; var$5 = var$5 + 1 | 0; } $input = null; } } $this.$clientId0 = $input; }, nlesrp_IPacket05ClientSuccess_write = ($this, $output) => { let var$2, var$3, var$4, var$5; a: { b: { var$2 = $this.$clientId0; nlesrp_IPacket_$callClinit(); if (var$2 === null) { $output.$out0.$write1(0); $output.$written = $output.$written + 1 | 0; } else { var$3 = var$2.$nativeString.length; $output.$out0.$write1(var$3); $output.$written = $output.$written + 1 | 0; var$4 = 0; while (true) { if (var$4 >= var$3) break b; if (var$4 < 0) break a; if (var$4 >= var$2.$nativeString.length) break a; var$5 = var$2.$nativeString.charCodeAt(var$4); $output.$out0.$write1(var$5); $output.$written = $output.$written + 1 | 0; var$4 = var$4 + 1 | 0; } } } return; } $output = new jl_StringIndexOutOfBoundsException; $output.$suppressionEnabled = 1; $output.$writableStackTrace = 1; $rt_throw($output); }, nlesrp_IPacket05ClientSuccess_packetLength = $this => { return 1 + $this.$clientId0.$nativeString.length | 0; }; function nlesrp_IPacket06ClientFailure() { nlesrp_IPacket.call(this); this.$clientId1 = null; } let nlesrp_IPacket06ClientFailure__init_ = $this => { nlesrp_IPacket_$callClinit(); }, nlesrp_IPacket06ClientFailure__init_0 = () => { let var_0 = new nlesrp_IPacket06ClientFailure(); nlesrp_IPacket06ClientFailure__init_(var_0); return var_0; }, nlesrp_IPacket06ClientFailure_read = ($this, $input) => { let var$2, var$3, var$4, var$5, var$6; nlesrp_IPacket_$callClinit(); var$2 = $input.$in.$read(); if (var$2 < 0) $input = null; else { var$3 = $rt_createCharArray(var$2); var$4 = var$3.data; var$5 = 0; a: { while (true) { if (var$5 >= var$2) { $input = new jl_String; $input.$nativeString = $rt_charArrayToString(var$3.data, 0, var$4.length); break a; } var$6 = $input.$in.$read(); if (var$6 < 0) break; var$4[var$5] = var$6 & 65535; var$5 = var$5 + 1 | 0; } $input = null; } } $this.$clientId1 = $input; }, nlesrp_IPacket06ClientFailure_write = ($this, $output) => { let var$2, var$3, var$4, var$5; a: { b: { var$2 = $this.$clientId1; nlesrp_IPacket_$callClinit(); if (var$2 === null) { $output.$out0.$write1(0); $output.$written = $output.$written + 1 | 0; } else { var$3 = var$2.$nativeString.length; $output.$out0.$write1(var$3); $output.$written = $output.$written + 1 | 0; var$4 = 0; while (true) { if (var$4 >= var$3) break b; if (var$4 < 0) break a; if (var$4 >= var$2.$nativeString.length) break a; var$5 = var$2.$nativeString.charCodeAt(var$4); $output.$out0.$write1(var$5); $output.$written = $output.$written + 1 | 0; var$4 = var$4 + 1 | 0; } } } return; } $output = new jl_StringIndexOutOfBoundsException; $output.$suppressionEnabled = 1; $output.$writableStackTrace = 1; $rt_throw($output); }, nlesrp_IPacket06ClientFailure_packetLength = $this => { return 1 + $this.$clientId1.$nativeString.length | 0; }; function nlesrp_IPacketFFErrorCode() { let a = this; nlesrp_IPacket.call(a); a.$code = 0; a.$desc0 = null; } let nlesrp_IPacketFFErrorCode_packetTypes = null, nlesrp_IPacketFFErrorCode__init_ = $this => { nlesrp_IPacket_$callClinit(); }, nlesrp_IPacketFFErrorCode__init_0 = () => { let var_0 = new nlesrp_IPacketFFErrorCode(); nlesrp_IPacketFFErrorCode__init_(var_0); return var_0; }, nlesrp_IPacketFFErrorCode_read = ($this, $input) => { let var$2, var$3, var$4, var$5, var$6; $this.$code = $input.$in.$read(); nlesrp_IPacket_$callClinit(); var$2 = $input.$in.$read(); var$3 = $input.$in.$read(); if (var$2 >= 0 && var$3 >= 0) { var$4 = var$2 << 8 | var$3; var$5 = $rt_createCharArray(var$4); var$6 = var$5.data; var$3 = 0; a: { while (true) { if (var$3 >= var$4) { $input = new jl_String; $input.$nativeString = $rt_charArrayToString(var$5.data, 0, var$6.length); break a; } var$2 = $input.$in.$read(); if (var$2 < 0) break; var$6[var$3] = var$2 & 65535; var$3 = var$3 + 1 | 0; } $input = null; } } else $input = null; $this.$desc0 = $input; }, nlesrp_IPacketFFErrorCode__clinit_ = () => { let var$1, var$2; var$1 = $rt_createArray(jl_String, 8); var$2 = var$1.data; nlesrp_IPacketFFErrorCode_packetTypes = var$1; var$2[0] = $rt_s(1362); var$2[1] = $rt_s(1363); var$2[2] = $rt_s(1364); var$2[3] = $rt_s(1365); var$2[4] = $rt_s(1366); var$2[5] = $rt_s(1367); var$2[6] = $rt_s(1368); var$2[7] = $rt_s(1369); }, juf_Supplier = $rt_classWithoutFields(0), nms_MathHelper = $rt_classWithoutFields(), nms_MathHelper_SIN_TABLE = null, nms_MathHelper__init_ = $this => { return; }, nms_MathHelper__init_0 = () => { let var_0 = new nms_MathHelper(); nms_MathHelper__init_(var_0); return var_0; }, nms_MathHelper_sin = $par0 => { return nms_MathHelper_SIN_TABLE.data[($par0 * 10430.3779296875 | 0) & 65535]; }, nms_MathHelper_sqrt_float = $par0 => { return jl_Math_sqrt($par0); }, nms_MathHelper_floor_double = $par0 => { let $var2; $var2 = $par0 | 0; if ($par0 < $var2) $var2 = $var2 - 1 | 0; return $var2; }, nms_MathHelper_getRandomIntegerInRange = ($par0Random, $par1, $par2) => { let var$4, var$5, var$6, var$7; if ($par1 < $par2) { $par2 = ($par2 - $par1 | 0) + 1 | 0; var$4 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); var$6 = $par2 - 1 | 0; if (!($par2 & var$6)) var$7 = Long_lo(Long_shr(Long_mul(Long_fromInt($par2), Long_fromInt(var$5)), 31)); else while (true) { var$7 = var$5 % $par2 | 0; if (((var$5 - var$7 | 0) + var$6 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } $par1 = var$7 + $par1 | 0; } return $par1; }, nms_MathHelper_wrapAngleTo180_float = $par0 => { $par0 = $par0 % 360.0; if ($par0 >= 180.0) $par0 = $par0 - 360.0; if ($par0 < (-180.0)) $par0 = $par0 + 360.0; return $par0; }, nms_MathHelper__clinit_ = () => { let $var0; nms_MathHelper_SIN_TABLE = $rt_createFloatArray(65536); $var0 = 0; while ($var0 < 65536) { nms_MathHelper_SIN_TABLE.data[$var0] = jl_Math_sin($var0 * 3.141592653589793 * 2.0 / 65536.0); $var0 = $var0 + 1 | 0; } }; function jt_FieldPosition() { jl_Object.call(this); this.$myField = 0; } function jl_Object$monitorEnterWait$lambda$_6_0() { let a = this; jl_Object.call(a); a.$_05 = null; a.$_1 = null; a.$_2 = 0; a.$_3 = null; } let jm_Multiplication = $rt_classWithoutFields(), jm_Multiplication_tenPows = null, jm_Multiplication_fivePows = null, jm_Multiplication_bigTenPows = null, jm_Multiplication_bigFivePows = null, jm_Multiplication_$callClinit = () => { jm_Multiplication_$callClinit = $rt_eraseClinit(jm_Multiplication); jm_Multiplication__clinit_(); }, jm_Multiplication__init_ = $this => { jm_Multiplication_$callClinit(); }, jm_Multiplication__init_0 = () => { let var_0 = new jm_Multiplication(); jm_Multiplication__init_(var_0); return var_0; }, jm_Multiplication_karatsuba = ($op1, $op2) => { let $upperOp1, var$4, $ndiv2, var$6, var$7, var$8, $upperOp2, $upper, $lowerOp1, $lowerOp2, $lower; jm_Multiplication_$callClinit(); if ($op2.$numberLength <= $op1.$numberLength) { $upperOp1 = $op2; $op2 = $op1; $op1 = $upperOp1; } if ($op1.$numberLength < 63) return jm_Multiplication_multiplyPAP($op2, $op1); var$4 = $op2.$numberLength; $ndiv2 = (var$4 & (-2)) << 4; if ($ndiv2 && $op2.$sign1) { if ($ndiv2 > 0) $upperOp1 = jm_BitLevel_shiftRight($op2, $ndiv2); else { var$6 = -$ndiv2 | 0; var$7 = var$6 >> 5; var$6 = var$6 & 31; var$4 = (var$4 + var$7 | 0) + (var$6 ? 1 : 0) | 0; var$8 = $rt_createIntArray(var$4); jm_BitLevel_shiftLeft(var$8, $op2.$digits, var$7, var$6); $upperOp1 = new jm_BigInteger; var$7 = $op2.$sign1; $upperOp1.$firstNonzeroDigit = (-2); $upperOp1.$sign1 = var$7; $upperOp1.$numberLength = var$4; $upperOp1.$digits = var$8; jm_BigInteger_cutOffLeadingZeroes($upperOp1); } } else $upperOp1 = $op2; if ($ndiv2 && $op1.$sign1) { if ($ndiv2 > 0) $upperOp2 = jm_BitLevel_shiftRight($op1, $ndiv2); else { var$4 = -$ndiv2 | 0; var$7 = var$4 >> 5; var$4 = var$4 & 31; var$6 = ($op1.$numberLength + var$7 | 0) + (var$4 ? 1 : 0) | 0; var$8 = $rt_createIntArray(var$6); jm_BitLevel_shiftLeft(var$8, $op1.$digits, var$7, var$4); $upperOp2 = new jm_BigInteger; var$4 = $op1.$sign1; $upperOp2.$firstNonzeroDigit = (-2); $upperOp2.$sign1 = var$4; $upperOp2.$numberLength = var$6; $upperOp2.$digits = var$8; jm_BigInteger_cutOffLeadingZeroes($upperOp2); } } else $upperOp2 = $op1; if ($ndiv2 && $upperOp1.$sign1) { if ($ndiv2 <= 0) $upper = jm_BitLevel_shiftRight($upperOp1, -$ndiv2 | 0); else { var$4 = $ndiv2 >> 5; var$7 = $ndiv2 & 31; var$6 = ($upperOp1.$numberLength + var$4 | 0) + (var$7 ? 1 : 0) | 0; var$8 = $rt_createIntArray(var$6); jm_BitLevel_shiftLeft(var$8, $upperOp1.$digits, var$4, var$7); $upper = new jm_BigInteger; var$4 = $upperOp1.$sign1; $upper.$firstNonzeroDigit = (-2); $upper.$sign1 = var$4; $upper.$numberLength = var$6; $upper.$digits = var$8; jm_BigInteger_cutOffLeadingZeroes($upper); } } else $upper = $upperOp1; $lowerOp1 = jm_Elementary_subtract($op2, $upper); if ($ndiv2 && $upperOp2.$sign1) { if ($ndiv2 <= 0) $op2 = jm_BitLevel_shiftRight($upperOp2, -$ndiv2 | 0); else { var$4 = $ndiv2 >> 5; var$7 = $ndiv2 & 31; var$6 = ($upperOp2.$numberLength + var$4 | 0) + (var$7 ? 1 : 0) | 0; var$8 = $rt_createIntArray(var$6); jm_BitLevel_shiftLeft(var$8, $upperOp2.$digits, var$4, var$7); $op2 = new jm_BigInteger; var$4 = $upperOp2.$sign1; $op2.$firstNonzeroDigit = (-2); $op2.$sign1 = var$4; $op2.$numberLength = var$6; $op2.$digits = var$8; jm_BigInteger_cutOffLeadingZeroes($op2); } } else $op2 = $upperOp2; $lowerOp2 = jm_Elementary_subtract($op1, $op2); $upper = jm_Multiplication_karatsuba($upperOp1, $upperOp2); $lower = jm_Multiplication_karatsuba($lowerOp1, $lowerOp2); $op1 = jm_Elementary_add(jm_Elementary_add(jm_Multiplication_karatsuba(jm_Elementary_subtract($upperOp1, $lowerOp1), jm_Elementary_subtract($lowerOp2, $upperOp2)), $upper), $lower); if ($ndiv2 && $op1.$sign1) { if ($ndiv2 <= 0) $op1 = jm_BitLevel_shiftRight($op1, -$ndiv2 | 0); else { var$4 = $ndiv2 >> 5; var$7 = $ndiv2 & 31; var$6 = ($op1.$numberLength + var$4 | 0) + (var$7 ? 1 : 0) | 0; var$8 = $rt_createIntArray(var$6); jm_BitLevel_shiftLeft(var$8, $op1.$digits, var$4, var$7); $op2 = new jm_BigInteger; var$4 = $op1.$sign1; $op2.$firstNonzeroDigit = (-2); $op2.$sign1 = var$4; $op2.$numberLength = var$6; $op2.$digits = var$8; jm_BigInteger_cutOffLeadingZeroes($op2); $op1 = $op2; } } var$4 = $ndiv2 << 1; if (var$4 && $upper.$sign1) { if (var$4 <= 0) $upper = jm_BitLevel_shiftRight($upper, -var$4 | 0); else { $ndiv2 = var$4 >> 5; var$4 = var$4 & 31; var$7 = ($upper.$numberLength + $ndiv2 | 0) + (var$4 ? 1 : 0) | 0; var$8 = $rt_createIntArray(var$7); jm_BitLevel_shiftLeft(var$8, $upper.$digits, $ndiv2, var$4); $op2 = new jm_BigInteger; var$4 = $upper.$sign1; $op2.$firstNonzeroDigit = (-2); $op2.$sign1 = var$4; $op2.$numberLength = var$7; $op2.$digits = var$8; jm_BigInteger_cutOffLeadingZeroes($op2); $upper = $op2; } } return jm_Elementary_add(jm_Elementary_add($upper, $op1), $lower); }, jm_Multiplication_multiplyPAP = ($a, $b) => { let $aLen, $bLen, $resLength, $resSign, $aDigits, $bDigits, $resDigits, $result, $val, $valueLo, $valueHi; jm_Multiplication_$callClinit(); $aLen = $a.$numberLength; $bLen = $b.$numberLength; $resLength = $aLen + $bLen | 0; $resSign = $a.$sign1 == $b.$sign1 ? 1 : (-1); if ($resLength != 2) { $aDigits = $a.$digits; $bDigits = $b.$digits; $resDigits = $rt_createIntArray($resLength); jm_Multiplication_multArraysPAP($aDigits, $aLen, $bDigits, $bLen, $resDigits); $result = new jm_BigInteger; $result.$firstNonzeroDigit = (-2); $result.$sign1 = $resSign; $result.$numberLength = $resLength; $result.$digits = $resDigits; jm_BigInteger_cutOffLeadingZeroes($result); return $result; } $val = Long_add(Long_add(Long_mul(Long_and(Long_fromInt($a.$digits.data[0]), Long_create(4294967295, 0)), Long_and(Long_fromInt($b.$digits.data[0]), Long_create(4294967295, 0))), Long_ZERO), Long_ZERO); $valueLo = Long_lo($val); $valueHi = Long_hi($val); if (!$valueHi) { $a = new jm_BigInteger; $a.$firstNonzeroDigit = (-2); $a.$sign1 = $resSign; $a.$numberLength = 1; $aDigits = $rt_createIntArray(1); $aDigits.data[0] = $valueLo; $a.$digits = $aDigits; } else { $a = new jm_BigInteger; $aDigits = $rt_createIntArrayFromData([$valueLo, $valueHi]); $a.$firstNonzeroDigit = (-2); $a.$sign1 = $resSign; $a.$numberLength = 2; $a.$digits = $aDigits; } return $a; }, jm_Multiplication_multArraysPAP = ($aDigits, $aLen, $bDigits, $bLen, $resDigits) => { let var$6, var$7, var$8, var$9, var$10; jm_Multiplication_$callClinit(); if ($aLen && $bLen) { if ($aLen == 1) { var$6 = $aDigits.data[0]; var$7 = Long_ZERO; $aLen = 0; var$8 = Long_and(Long_fromInt(var$6), Long_create(4294967295, 0)); while ($aLen < $bLen) { $aDigits = $bDigits.data; var$9 = $resDigits.data; var$7 = Long_add(Long_add(Long_mul(Long_and(Long_fromInt($aDigits[$aLen]), Long_create(4294967295, 0)), var$8), Long_and(Long_fromInt(Long_lo(var$7)), Long_create(4294967295, 0))), Long_ZERO); var$9[$aLen] = Long_lo(var$7); var$7 = Long_shru(var$7, 32); $aLen = $aLen + 1 | 0; } $resDigits.data[$bLen] = Long_lo(var$7); } else if ($bLen != 1) jm_Multiplication_multPAP($aDigits, $bDigits, $resDigits, $aLen, $bLen); else { $bLen = $bDigits.data[0]; var$10 = Long_ZERO; var$6 = 0; var$7 = Long_and(Long_fromInt($bLen), Long_create(4294967295, 0)); while (var$6 < $aLen) { $bDigits = $aDigits.data; var$9 = $resDigits.data; var$10 = Long_add(Long_add(Long_mul(Long_and(Long_fromInt($bDigits[var$6]), Long_create(4294967295, 0)), var$7), Long_and(Long_fromInt(Long_lo(var$10)), Long_create(4294967295, 0))), Long_ZERO); var$9[var$6] = Long_lo(var$10); var$10 = Long_shru(var$10, 32); var$6 = var$6 + 1 | 0; } $resDigits.data[$aLen] = Long_lo(var$10); } return; } }, jm_Multiplication_multPAP = ($a, $b, $t, $aLen, $bLen) => { let $i, var$7, $carry, $aI, $j, var$11, var$12, var$13, var$14, var$15; jm_Multiplication_$callClinit(); if ($a === $b && $aLen == $bLen) { jm_Multiplication_square($a, $aLen, $t); return; } $i = 0; while ($i < $aLen) { var$7 = $a.data; $carry = Long_ZERO; $aI = var$7[$i]; $j = 0; var$11 = Long_and(Long_fromInt($aI), Long_create(4294967295, 0)); while ($j < $bLen) { var$7 = $b.data; var$12 = $t.data; $aI = var$7[$j]; var$13 = $i + $j | 0; var$14 = var$12[var$13]; var$15 = Long_lo($carry); $carry = Long_add(Long_add(Long_mul(var$11, Long_and(Long_fromInt($aI), Long_create(4294967295, 0))), Long_and(Long_fromInt(var$14), Long_create(4294967295, 0))), Long_and(Long_fromInt(var$15), Long_create(4294967295, 0))); var$12[var$13] = Long_lo($carry); $carry = Long_shru($carry, 32); $j = $j + 1 | 0; } $t.data[$i + $bLen | 0] = Long_lo($carry); $i = $i + 1 | 0; } }, jm_Multiplication_pow = ($acc, $exponent) => { let $res, var$4, $acc_0, var$6; jm_Multiplication_$callClinit(); $res = jm_BigInteger_ONE; while ($exponent > 1) { if ($exponent & 1) $res = !$acc.$sign1 ? jm_BigInteger_ZERO : !$res.$sign1 ? jm_BigInteger_ZERO : jm_Multiplication_karatsuba($res, $acc); var$4 = $acc.$numberLength; if (var$4 != 1) $acc_0 = jm_BigInteger__init_2(1, jm_Multiplication_square($acc.$digits, var$4, $rt_createIntArray(var$4 << 1))); else { var$6 = $acc.$sign1; $acc_0 = !var$6 ? jm_BigInteger_ZERO : !var$6 ? jm_BigInteger_ZERO : jm_Multiplication_karatsuba($acc, $acc); } $exponent = $exponent >> 1; $acc = $acc_0; } return !$acc.$sign1 ? jm_BigInteger_ZERO : !$res.$sign1 ? jm_BigInteger_ZERO : jm_Multiplication_karatsuba($res, $acc); }, jm_Multiplication_square = ($a, $aLen, $res) => { let $i, $carry, $i_0, $j, var$8, var$9, $index, var$11, var$12, var$13, var$14, var$15; jm_Multiplication_$callClinit(); $i = 0; while ($i < $aLen) { $carry = Long_ZERO; $i_0 = $i + 1 | 0; $j = $i_0; while ($j < $aLen) { var$8 = $a.data; var$9 = $res.data; $index = var$8[$i]; var$11 = var$8[$j]; var$12 = $i + $j | 0; var$13 = var$9[var$12]; var$14 = Long_lo($carry); $carry = Long_add(Long_add(Long_mul(Long_and(Long_fromInt($index), Long_create(4294967295, 0)), Long_and(Long_fromInt(var$11), Long_create(4294967295, 0))), Long_and(Long_fromInt(var$13), Long_create(4294967295, 0))), Long_and(Long_fromInt(var$14), Long_create(4294967295, 0))); var$9[var$12] = Long_lo($carry); $carry = Long_shru($carry, 32); $j = $j + 1 | 0; } $res.data[$i + $aLen | 0] = Long_lo($carry); $i = $i_0; } $i = $aLen << 1; $index = 0; $j = 0; while ($j < $i) { var$8 = $res.data; var$11 = var$8[$j]; var$8[$j] = var$11 << 1 | $index; $index = var$11 >>> 31 | 0; $j = $j + 1 | 0; } if ($index) $res.data[$i] = $index; $carry = Long_ZERO; $i = 0; $index = 0; while ($i < $aLen) { var$8 = $a.data; var$9 = $res.data; $i_0 = var$8[$i]; $j = var$8[$i]; var$12 = var$9[$index]; var$11 = Long_lo($carry); $carry = Long_add(Long_add(Long_mul(Long_and(Long_fromInt($i_0), Long_create(4294967295, 0)), Long_and(Long_fromInt($j), Long_create(4294967295, 0))), Long_and(Long_fromInt(var$12), Long_create(4294967295, 0))), Long_and(Long_fromInt(var$11), Long_create(4294967295, 0))); var$9[$index] = Long_lo($carry); var$15 = Long_shru($carry, 32); $index = $index + 1 | 0; $carry = Long_add(var$15, Long_and(Long_fromInt(var$9[$index]), Long_create(4294967295, 0))); var$9[$index] = Long_lo($carry); $carry = Long_shru($carry, 32); $i = $i + 1 | 0; $index = $index + 1 | 0; } return $res; }, jm_Multiplication_powerOf10 = $exp => { let $intExp, var$3, $powerOfFive, var$5, var$6, var$7, $longExp, var$9, var$10; jm_Multiplication_$callClinit(); $intExp = Long_lo($exp); var$3 = jm_Multiplication_bigTenPows.data; if (Long_lt($exp, Long_fromInt(var$3.length))) return var$3[$intExp]; if (Long_le($exp, Long_fromInt(50))) return jm_BigInteger_pow(jm_BigInteger_TEN, $intExp); if (Long_le($exp, Long_fromInt(1000))) { $powerOfFive = jm_BigInteger_pow(jm_Multiplication_bigFivePows.data[1], $intExp); if ($intExp && $powerOfFive.$sign1) { if ($intExp <= 0) $powerOfFive = jm_BitLevel_shiftRight($powerOfFive, -$intExp | 0); else { var$5 = $intExp >> 5; $intExp = $intExp & 31; var$6 = ($powerOfFive.$numberLength + var$5 | 0) + ($intExp ? 1 : 0) | 0; var$3 = $rt_createIntArray(var$6); jm_BitLevel_shiftLeft(var$3, $powerOfFive.$digits, var$5, $intExp); var$7 = new jm_BigInteger; $intExp = $powerOfFive.$sign1; var$7.$firstNonzeroDigit = (-2); var$7.$sign1 = $intExp; var$7.$numberLength = var$6; var$7.$digits = var$3; jm_BigInteger_cutOffLeadingZeroes(var$7); $powerOfFive = var$7; } } return $powerOfFive; } if (Long_gt(Long_add(Long_fromInt(1), Long_fromNumber(Long_toNumber($exp) / 2.4082399653118496)), Long_fromInt(1000000))) { $powerOfFive = new jl_ArithmeticException; $powerOfFive.$suppressionEnabled = 1; $powerOfFive.$writableStackTrace = 1; $powerOfFive.$message = $rt_s(1370); $rt_throw($powerOfFive); } if (Long_le($exp, Long_fromInt(2147483647))) { $powerOfFive = jm_BigInteger_pow(jm_Multiplication_bigFivePows.data[1], $intExp); if ($intExp && $powerOfFive.$sign1) { if ($intExp <= 0) $powerOfFive = jm_BitLevel_shiftRight($powerOfFive, -$intExp | 0); else { var$5 = $intExp >> 5; $intExp = $intExp & 31; var$6 = ($powerOfFive.$numberLength + var$5 | 0) + ($intExp ? 1 : 0) | 0; var$3 = $rt_createIntArray(var$6); jm_BitLevel_shiftLeft(var$3, $powerOfFive.$digits, var$5, $intExp); var$7 = new jm_BigInteger; $intExp = $powerOfFive.$sign1; var$7.$firstNonzeroDigit = (-2); var$7.$sign1 = $intExp; var$7.$numberLength = var$6; var$7.$digits = var$3; jm_BigInteger_cutOffLeadingZeroes(var$7); $powerOfFive = var$7; } } return $powerOfFive; } $powerOfFive = jm_BigInteger_pow(jm_Multiplication_bigFivePows.data[1], 2147483647); $longExp = Long_sub($exp, Long_fromInt(2147483647)); $intExp = Long_lo(Long_rem($exp, Long_fromInt(2147483647))); var$7 = $powerOfFive; $exp = $longExp; while (Long_gt($exp, Long_fromInt(2147483647))) { var$7 = !$powerOfFive.$sign1 ? jm_BigInteger_ZERO : !var$7.$sign1 ? jm_BigInteger_ZERO : jm_Multiplication_karatsuba(var$7, $powerOfFive); $exp = Long_sub($exp, Long_fromInt(2147483647)); } $powerOfFive = jm_BigInteger_pow(jm_Multiplication_bigFivePows.data[1], $intExp); $powerOfFive = !$powerOfFive.$sign1 ? jm_BigInteger_ZERO : !var$7.$sign1 ? jm_BigInteger_ZERO : jm_Multiplication_karatsuba(var$7, $powerOfFive); if ($powerOfFive.$sign1) { var$9 = ($powerOfFive.$numberLength + 67108863 | 0) + 1 | 0; var$3 = $rt_createIntArray(var$9); jm_BitLevel_shiftLeft(var$3, $powerOfFive.$digits, 67108863, 31); var$7 = new jm_BigInteger; var$5 = $powerOfFive.$sign1; var$7.$firstNonzeroDigit = (-2); var$7.$sign1 = var$5; var$7.$numberLength = var$9; var$7.$digits = var$3; jm_BigInteger_cutOffLeadingZeroes(var$7); $powerOfFive = var$7; } while (Long_gt($longExp, Long_fromInt(2147483647))) { if ($powerOfFive.$sign1) { var$5 = ($powerOfFive.$numberLength + 67108863 | 0) + 1 | 0; var$3 = $rt_createIntArray(var$5); jm_BitLevel_shiftLeft(var$3, $powerOfFive.$digits, 67108863, 31); var$7 = new jm_BigInteger; var$10 = $powerOfFive.$sign1; var$7.$firstNonzeroDigit = (-2); var$7.$sign1 = var$10; var$7.$numberLength = var$5; var$7.$digits = var$3; jm_BigInteger_cutOffLeadingZeroes(var$7); $powerOfFive = var$7; } $longExp = Long_sub($longExp, Long_fromInt(2147483647)); } if ($intExp && $powerOfFive.$sign1) { if ($intExp <= 0) $powerOfFive = jm_BitLevel_shiftRight($powerOfFive, -$intExp | 0); else { var$5 = $intExp >> 5; $intExp = $intExp & 31; var$6 = ($powerOfFive.$numberLength + var$5 | 0) + ($intExp ? 1 : 0) | 0; var$3 = $rt_createIntArray(var$6); jm_BitLevel_shiftLeft(var$3, $powerOfFive.$digits, var$5, $intExp); var$7 = new jm_BigInteger; $intExp = $powerOfFive.$sign1; var$7.$firstNonzeroDigit = (-2); var$7.$sign1 = $intExp; var$7.$numberLength = var$6; var$7.$digits = var$3; jm_BigInteger_cutOffLeadingZeroes(var$7); $powerOfFive = var$7; } } return $powerOfFive; }, jm_Multiplication__clinit_ = () => { let $fivePow, $i, var$3, var$4, var$5, var$6; jm_Multiplication_tenPows = $rt_createIntArrayFromData([1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000]); jm_Multiplication_fivePows = $rt_createIntArrayFromData([1, 5, 25, 125, 625, 3125, 15625, 78125, 390625, 1953125, 9765625, 48828125, 244140625, 1220703125]); jm_Multiplication_bigTenPows = $rt_createArray(jm_BigInteger, 32); jm_Multiplication_bigFivePows = $rt_createArray(jm_BigInteger, 32); $fivePow = Long_fromInt(1); $i = 0; while ($i <= 18) { jm_Multiplication_bigFivePows.data[$i] = jm_BigInteger_valueOf($fivePow); jm_Multiplication_bigTenPows.data[$i] = jm_BigInteger_valueOf(Long_shl($fivePow, $i)); $fivePow = Long_mul($fivePow, Long_fromInt(5)); $i = $i + 1 | 0; } while ($i < jm_Multiplication_bigTenPows.data.length) { var$3 = jm_Multiplication_bigFivePows.data; var$4 = $i - 1 | 0; var$5 = var$3[var$4]; var$6 = var$3[1]; if (!var$6.$sign1) var$5 = jm_BigInteger_ZERO; else if (!var$5.$sign1) var$5 = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); var$5 = jm_Multiplication_karatsuba(var$5, var$6); } var$3[$i] = var$5; var$3 = jm_Multiplication_bigTenPows.data; var$5 = var$3[var$4]; var$6 = jm_BigInteger_TEN; if (!var$6.$sign1) var$5 = jm_BigInteger_ZERO; else if (!var$5.$sign1) var$5 = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); var$5 = jm_Multiplication_karatsuba(var$5, var$6); } var$3[$i] = var$5; $i = $i + 1 | 0; } }, otcit_DoubleSynthesizer = $rt_classWithoutFields(), otcit_DoubleSynthesizer_mantissa10Table = null, otcit_DoubleSynthesizer_exp10Table = null, otcit_DoubleSynthesizer__init_ = $this => { return; }, otcit_DoubleSynthesizer__init_0 = () => { let var_0 = new otcit_DoubleSynthesizer(); otcit_DoubleSynthesizer__init_(var_0); return var_0; }, otcit_DoubleSynthesizer_synthesizeDouble = ($mantissa, $exp, $negative) => { let $indexInTable, var$5, $binMantissa, $binExp, $binMantissaShift, $error, $correction, $binMantissaWithoutError, $cmp, $iee754; $indexInTable = 330 + $exp | 0; if (Long_ne($mantissa, Long_ZERO) && $indexInTable >= 0) { var$5 = otcit_DoubleSynthesizer_mantissa10Table.data; if ($indexInTable >= var$5.length) return !$negative ? Infinity : (-Infinity); $binMantissa = otcit_DoubleAnalyzer_mulAndShiftRight($mantissa, var$5[$indexInTable], 0); $binExp = otcit_DoubleSynthesizer_exp10Table.data[$indexInTable]; $binMantissaShift = (64 - jl_Long_numberOfLeadingZeros($binMantissa) | 0) - 58 | 0; $binMantissa = $binMantissaShift >= 0 ? Long_shru($binMantissa, $binMantissaShift) : Long_shl($binMantissa, -$binMantissaShift | 0); $exp = $binExp + $binMantissaShift | 0; if ($exp >= 2047) return !$negative ? Infinity : (-Infinity); $error = Long_lo(Long_and($binMantissa, Long_fromInt(31))); $correction = 16; $binExp = $error - 16 | 0; if ($binExp < 0) $binExp = -$binExp | 0; if ($binExp <= 1) { $binMantissaWithoutError = Long_and($binMantissa, Long_fromInt(-32)); $cmp = jl_Long_compareUnsigned(Long_sub($mantissa, otcit_DoubleSynthesizer_calcDecMantissa($binMantissaWithoutError, 32, $indexInTable, $exp)), Long_sub(otcit_DoubleSynthesizer_calcDecMantissa(Long_add($binMantissaWithoutError, Long_fromInt(32)), 32, $indexInTable, $exp), $mantissa)); if ($cmp < 0) $correction = -$error | 0; else if ($cmp > 0) $correction = 32 - $error | 0; } $mantissa = Long_add($binMantissa, Long_fromInt($correction)); if (Long_ne(Long_and($mantissa, Long_create(0, 4227858432)), Long_ZERO)) { $mantissa = Long_shru($mantissa, 1); $exp = $exp + 1 | 0; } if ($exp <= 0) { $exp = ( -$exp | 0) + 1 | 0; $indexInTable = 64; if ($exp < $indexInTable) $indexInTable = $exp; $mantissa = Long_shr($mantissa, $indexInTable); $exp = 0; } $iee754 = Long_or(Long_and(Long_shru($mantissa, 5), Long_create(4294967295, 1048575)), Long_shl(Long_fromInt($exp), 52)); if ($negative) $iee754 = Long_xor($iee754, Long_create(0, 2147483648)); return $rt_longBitsToDouble($iee754); } return $rt_longBitsToDouble((!$negative ? Long_ZERO : Long_create(0, 2147483648))); }, otcit_DoubleSynthesizer_calcDecMantissa = ($mantissa, $lowerBit, $indexInTable, $binExp) => { let $half, $shift, $decMantissa, $decMantissaLow, $decMantissaHi, $lowerPos, $lowerPos_0, $upperPos, $upperPos_0, $posCmp; $half = $lowerBit >>> 1 | 0; $shift = 7 - (otcit_DoubleAnalyzer_exp10Table.data[$indexInTable] - $binExp | 0) | 0; $decMantissa = otcit_DoubleAnalyzer_mulAndShiftRight($mantissa, otcit_DoubleAnalyzer_mantissa10Table.data[$indexInTable], $shift); $decMantissaLow = Long_fromInt($half); $decMantissaHi = otcit_DoubleAnalyzer_mulAndShiftRight(Long_add($mantissa, $decMantissaLow), otcit_DoubleAnalyzer_mantissa10Table.data[$indexInTable], $shift); $decMantissaLow = otcit_DoubleAnalyzer_mulAndShiftRight(Long_sub($mantissa, $decMantissaLow), otcit_DoubleAnalyzer_mantissa10Table.data[$indexInTable], $shift); $lowerPos = Long_fromInt(1); while (true) { $lowerPos_0 = Long_mul($lowerPos, Long_fromInt(10)); if (jl_Long_compareUnsigned(jl_Long_divideUnsigned($decMantissa, $lowerPos_0), jl_Long_divideUnsigned($decMantissaLow, $lowerPos_0)) <= 0) break; $lowerPos = $lowerPos_0; } $upperPos = Long_fromInt(1); while (true) { $upperPos_0 = Long_mul($upperPos, Long_fromInt(10)); if (jl_Long_compareUnsigned(jl_Long_divideUnsigned($decMantissa, $upperPos_0), jl_Long_divideUnsigned($decMantissaHi, $upperPos_0)) >= 0) break; $upperPos = $upperPos_0; } $posCmp = jl_Long_compareUnsigned($lowerPos, $upperPos); return $posCmp > 0 ? Long_mul(jl_Long_divideUnsigned($decMantissa, $lowerPos), $lowerPos) : $posCmp < 0 ? Long_add(Long_mul(jl_Long_divideUnsigned($decMantissa, $upperPos), $upperPos), $upperPos) : Long_mul(jl_Long_divideUnsigned(Long_add($decMantissa, Long_div($upperPos, Long_fromInt(2))), $upperPos), $upperPos); }, otcit_DoubleSynthesizer__clinit_ = () => { otcit_DoubleSynthesizer_mantissa10Table = $rt_createLongArrayFromData([Long_create(136053384, 4203730336), Long_create(85033365, 2627331460), Long_create(106291706, 3284164325), Long_create(1206606457, 4105205406), Long_create(3975354508, 2565753378), Long_create(2821709486, 3207191723), Long_create(2453395034, 4008989654), Long_create(459630072, 2505618534), Long_create(2722021238, 3132023167), Long_create(2328784724, 3915028959), Long_create(3066103188, 2446893099), Long_create(2758887162, 3058616374), Long_create(1301125304, 3823270468), Long_create(2960686963, 2389544042), Long_create(1553375056, 2986930053), Long_create(3015460644, 3733662566), Long_create(810921078, 2333539104), Long_create(1013651348, 2916923880), Long_create(1267064185, 3646154850), Long_create(1865656940, 2278846781), Long_create(3405812998, 2848558476), Long_create(4257266248, 3560698095), Long_create(4271404141, 2225436309), Long_create(2118029704, 2781795387), Long_create(1573795306, 3477244234), Long_create(2057363890, 2173277646), Long_create(424221215, 2716597058), Long_create(2677760167, 3395746322), Long_create(1199716561, 4244682903), Long_create(2360435586, 2652926814), Long_create(803060835, 3316158518), Long_create(3151309692, 4145198147), Long_create(1432697645, 2590748842), Long_create(3938355705, 3238436052), Long_create(627977335, 4048045066), Long_create(1466227658, 2530028166), Long_create(3980268221, 3162535207), Long_create(3901593452, 3953169009), Long_create(827883171, 2470730631), Long_create(4256079436, 3088413288), Long_create(1025131999, 3860516611), Long_create(103836588, 2412822882), Long_create(2277279383, 3016028602), Long_create(699115580, 3770035753), Long_create(3121301798, 2356272345), Long_create(680401775, 2945340432), Long_create(850502219, 3681675540), Long_create(2679047535, 2301047212), Long_create(3348809418, 2876309015), Long_create(3112269949, 3595386269), Long_create(2482039630, 2247116418), Long_create(955065890, 2808895523), Long_create(120090538, 3511119404), Long_create(2222540234, 2194449627), Long_create(1704433469, 2743062034), Long_create(4278025484, 3428827542), Long_create(3200048207, 4286034428), Long_create(4147513777, 2678771517), Long_create(1963166750, 3348464397), Long_create(3527700261, 4185580496), Long_create(2204812663, 2615987810), Long_create(608532181, 3269984763), Long_create(3981890698, 4087480953), Long_create(878068951, 2554675596), Long_create(1097586188, 3193344495), Long_create(298240911, 3991680619), Long_create(3944496953, 2494800386), Long_create(2783137544, 3118500483), Long_create(2405180106, 3898125604), Long_create(3650721214, 2436328502), Long_create(2415917870, 3045410628), Long_create(3019897337, 3806763285), Long_create(2424306748, 2379227053), Long_create(4104125259, 2974033816), Long_create(835189277, 3717542271), Long_create(2132606034, 2323463919), Long_create(1592015719, 2904329899), Long_create(916277825, 3630412374), Long_create(3793899112, 2269007733), Long_create(1521148418, 2836259667), Long_create(827693699, 3545324584), Long_create(517308562, 2215827865), Long_create(1720377526, 2769784831), Long_create(1076730084, 3462231039), Long_create(2283569038, 2163894399), Long_create(1780719474, 2704867999), Long_create(1152157519, 3381084999), Long_create(366455074, 4226356249), Long_create(2913388981, 2641472655), Long_create(2567994403, 3301840819), Long_create(2136251179, 4127301024), Long_create(1335156987, 2579563140), Long_create(1668946234, 3224453925), Long_create(3159924616, 4030567406), Long_create(901211061, 2519104629), Long_create(2200255651, 3148880786), Long_create(602835915, 3936100983), Long_create(1987385183, 2460063114), Long_create(336747831, 3075078893), Long_create(1494676613, 3843848616), Long_create(934172883, 2402405385), Long_create(2241457928, 3003006731), Long_create(1728080585, 3753758414), Long_create(6308542, 2346099009), Long_create(1081627501, 2932623761), Long_create(2425776201, 3665779701), Long_create(2052981037, 2291112313), Long_create(3639968121, 2863890391), Long_create(3476218327, 3579862989), Long_create(2709507366, 2237414368), Long_create(3386884208, 2796767960), Long_create(4233605260, 3495959950), Long_create(1572261463, 2184974969), Long_create(3039068653, 2731218711), Long_create(2725093993, 3414023389), Long_create(185142019, 4267529237), Long_create(652584674, 2667205773), Long_create(1889472666, 3334007216), Long_create(2361840833, 4167509020), Long_create(3623634168, 2604693137), Long_create(1308317239, 3255866422), Long_create(3782880196, 4069833027), Long_create(1827429211, 2543645642), Long_create(136802865, 3179557053), Long_create(1244745406, 3974446316), Long_create(2925449527, 2484028947), Long_create(2583070084, 3105036184), Long_create(3228837605, 3881295230), Long_create(944281679, 2425809519), Long_create(106610275, 3032261899), Long_create(3354488316, 3790327373), Long_create(2633426109, 2368954608), Long_create(3291782637, 2961193260), Long_create(4114728296, 3701491575), Long_create(4182317921, 2313432234), Long_create(3080413753, 2891790293), Long_create(629291719, 3614737867), Long_create(4151403709, 2259211166), Long_create(3041770988, 2824013958), Long_create(1654730087, 3530017448), Long_create(1034206304, 2206260905), Long_create(2366499704, 2757826131), Long_create(1884382806, 3447282664), Long_create(1177739254, 2154551665), Long_create(2545915892, 2693189581), Long_create(4256136688, 3366486976), Long_create(1025203564, 4208108721), Long_create(3325106788, 2630067950), Long_create(2008899837, 3287584938), Long_create(363641148, 4109481173), Long_create(764146629, 2568425733), Long_create(2028925111, 3210532166), Long_create(388672741, 4013165208), Long_create(242920463, 2508228255), Long_create(3524876051, 3135285318), Long_create(2258611415, 3919106648), Long_create(1411632134, 2449441655), Long_create(690798344, 3061802069), Long_create(1937239754, 3827252586), Long_create(2284516670, 2392032866), Long_create(708162190, 2990041083), Long_create(4106428209, 3737551353), Long_create(955904895, 2335969596), Long_create(1194881119, 2919961995), Long_create(419859574, 3649952494), Long_create(3483637706, 2281220308), Long_create(59579836, 2851525386), Long_create(2221958443, 3564406732), Long_create(3536207675, 2227754207), Long_create(3346517770, 2784692759), Long_create(3109405388, 3480865949), Long_create(2480249280, 2175541218), Long_create(952827952, 2719426523), Long_create(117293116, 3399283154), Long_create(2294100043, 4249103942), Long_create(360070703, 2655689964), Long_create(450088378, 3319612455), Long_create(3783835945, 4149515568), Long_create(2364897466, 2593447230), Long_create(808638184, 3241809038), Long_create(3158281378, 4052261297), Long_create(363313125, 2532663311), Long_create(3675366878, 3165829138), Long_create(2446724950, 3957286423), Long_create(3139815830, 2473304014), Long_create(1777286139, 3091630018), Long_create(74124026, 3864537523), Long_create(3804423900, 2415335951), Long_create(3681788051, 3019169939), Long_create(3528493240, 3773962424), Long_create(2205308275, 2358726515), Long_create(1682893520, 2948408144), Long_create(2103616900, 3685510180), Long_create(3462244210, 2303443862), Long_create(2180321615, 2879304828), Long_create(2725402019, 3599131035), Long_create(1166505350, 2249456897), Long_create(2531873511, 2811821121), Long_create(4238583713, 3514776401), Long_create(1038502085, 2196735251), Long_create(224385782, 2745919064), Long_create(280482227, 3432398830), Long_create(2498086432, 4290498537), Long_create(4245658580, 2681561585), Long_create(2085847753, 3351951982), Long_create(459826043, 4189939978), Long_create(1361133101, 2618712486), Long_create(3848900024, 3273390607), Long_create(3737383206, 4091738259), Long_create(1798993592, 2557336412), Long_create(2248741990, 3196670515), Long_create(1737185663, 3995838144), Long_create(1085741040, 2497398840), Long_create(1357176300, 3121748550), Long_create(3843954022, 3902185687), Long_create(4013084000, 2438866054), Long_create(2868871352, 3048582568), Long_create(3586089190, 3810728210), Long_create(3315047568, 2381705131), Long_create(3070067636, 2977131414), Long_create(1690100897, 3721414268), Long_create(3203796708, 2325883917), Long_create(783520414, 2907354897), Long_create(2053142341, 3634193621), Long_create(1820084875, 2271371013), Long_create(3348847918, 2839213766), Long_create(2038576249, 3549017208), Long_create(1274110156, 2218135755), Long_create(518895871, 2772669694), Long_create(2796103486, 3465837117), Long_create(2284435591, 2166148198), Long_create(708060841, 2707685248), Long_create(885076051, 3384606560), Long_create(1106345064, 4230758200), Long_create(691465665, 2644223875), Long_create(4085557553, 3305279843), Long_create(4033205117, 4131599804), Long_create(373269550, 2582249878), Long_create(2614070586, 3227812347), Long_create(2193846408, 4034765434), Long_create(2444895829, 2521728396), Long_create(3056119787, 3152160495), Long_create(2746407909, 3940200619), Long_create(1179634031, 2462625387), Long_create(400800715, 3078281734), Long_create(2648484542, 3847852167), Long_create(3265915575, 2404907604), Long_create(4082394468, 3006134505), Long_create(1881767613, 3757668132), Long_create(3323588406, 2348542582), Long_create(2007001860, 2935678228), Long_create(2508752325, 3669597785), Long_create(4252324763, 2293498615), Long_create(4241664130, 2866873269), Long_create(2080854690, 3583591587), Long_create(763663269, 2239744742), Long_create(3102062735, 2799680927), Long_create(2803836594, 3499601159), Long_create(3363010608, 2187250724), Long_create(4203763259, 2734063405), Long_create(2033478602, 3417579257), Long_create(3615590077, 4271974071), Long_create(3870356534, 2669983794), Long_create(2690462020, 3337479743), Long_create(2289335700, 4171849679), Long_create(3041447549, 2607406049), Long_create(580583964, 3259257562), Long_create(2873213603, 4074071952), Long_create(1795758502, 2546294970), Long_create(97214479, 3182868713), Long_create(1195259923, 3978585891), Long_create(210166540, 2486616182), Long_create(2410191823, 3108270227), Long_create(1938997955, 3885337784), Long_create(1211873722, 2428336115), Long_create(441100328, 3035420144), Long_create(551375410, 3794275180), Long_create(2492093279, 2371421987), Long_create(2041374775, 2964277484), Long_create(2551718469, 3705346855), Long_create(3205436779, 2315841784), Long_create(4006795974, 2894802230), Long_create(2861011319, 3618502788), Long_create(3935615723, 2261564242), Long_create(2772036005, 2826955303), Long_create(2391303183, 3533694129), Long_create(4178919049, 2208558830), Long_create(3076165163, 2760698538), Long_create(1697722806, 3450873173), Long_create(1597947666, 2156795733), Long_create(3071176406, 2695994666), Long_create(1691486860, 3369993333), Long_create(3188100399, 4212491666), Long_create(3066304573, 2632807291), Long_create(2759138893, 3291009114), Long_create(1301439968, 4113761393), Long_create(3497754540, 2571100870), Long_create(2224709527, 3213876088), Long_create(2780886909, 4017345110), Long_create(664312494, 2510840694), Long_create(2977874265, 3138550867), Long_create(2648601008, 3923188584), Long_create(1655375630, 2451992865), Long_create(3142961361, 3064991081), Long_create(707476230, 3831238852), Long_create(2589656291, 2394524282), Long_create(1089586716, 2993155353), Long_create(2435725219, 3741444191), Long_create(3132940998, 2338402619), Long_create(2842434424, 2923003274), Long_create(1405559382, 3653754093), Long_create(1415345525, 2283596308), Long_create(1769181907, 2854495385), Long_create(3285219208, 3568119231), Long_create(3663874741, 2230074519), Long_create(3506101602, 2787593149), Long_create(1161401530, 3484491437), Long_create(1262746869, 2177807148), Long_create(1578433586, 2722258935), Long_create(899300158, 3402823669), Long_create(2197867022, 4253529586), Long_create(2447408712, 2658455991), Long_create(1985519067, 3323069989), Long_create(3555640657, 4153837486), Long_create(1148533587, 2596148429), Long_create(2509408807, 3245185536), Long_create(3136761009, 4056481920), Long_create(1960475631, 2535301200), Long_create(2450594539, 3169126500), Long_create(3063243173, 3961408125), Long_create(2451397895, 2475880078), Long_create(916763721, 3094850098), Long_create(3293438299, 3868562622), Long_create(984657113, 2417851639), Long_create(157079567, 3022314549), Long_create(1270091283, 3777893186), Long_create(1867548876, 2361183241), Long_create(3408177919, 2951479051), Long_create(3186480575, 3689348814), Long_create(917808535, 2305843009), Long_create(2221002493, 2882303761), Long_create(3849994940, 3602879701), Long_create(2943117750, 2251799813), Long_create(457671715, 2814749767), Long_create(3793315116, 3518437208), Long_create(2370821947, 2199023255), Long_create(1889785610, 2748779069), Long_create(3435973837, 3435973836), Long_create(0, 2147483648), Long_create(0, 2684354560), Long_create(0, 3355443200), Long_create(0, 4194304000), Long_create(0, 2621440000), Long_create(0, 3276800000), Long_create(0, 4096000000), Long_create(0, 2560000000), Long_create(0, 3200000000), Long_create(0, 4000000000), Long_create(0, 2500000000), Long_create(0, 3125000000), Long_create(0, 3906250000), Long_create(0, 2441406250), Long_create(2147483648, 3051757812), Long_create(2684354560, 3814697265), Long_create(67108864, 2384185791), Long_create(3305111552, 2980232238), Long_create(1983905792, 3725290298), Long_create(2313682944, 2328306436), Long_create(2892103680, 2910383045), Long_create(393904128, 3637978807), Long_create(1856802816, 2273736754), Long_create(173519872, 2842170943), Long_create(3438125312, 3552713678), Long_create(1075086496, 2220446049), Long_create(2417599944, 2775557561), Long_create(4095741754, 3469446951), Long_create(4170451332, 2168404344), Long_create(918096869, 2710505431), Long_create(73879263, 3388131789), Long_create(1166090902, 4235164736), Long_create(728806814, 2646977960), Long_create(911008517, 3308722450), Long_create(3286244295, 4135903062), Long_create(980160860, 2584939414), Long_create(3372684723, 3231174267), Long_create(3142114080, 4038967834), Long_create(3037563124, 2524354896), Long_create(3796953905, 3155443620), Long_create(451225085, 3944304526), Long_create(3503241150, 2465190328), Long_create(84084142, 3081487911), Long_create(3326330649, 3851859888), Long_create(2078956656, 2407412430), Long_create(451212172, 3009265538), Long_create(2711498863, 3761581922), Long_create(2768428613, 2350988701), Long_create(239310295, 2938735877), Long_create(1372879692, 3673419846), Long_create(4079275280, 2295887403), Long_create(4025352276, 2869859254), Long_create(2884206696, 3587324068), Long_create(3950112833, 2242077542), Long_create(2790157394, 2802596928), Long_create(3487696742, 3503246160), Long_create(2179810464, 2189528850), Long_create(577279432, 2736911063), Long_create(3942824762, 3421138828), Long_create(633563656, 4276423536), Long_create(395977285, 2672764710), Long_create(2642455254, 3340955887), Long_create(2229327244, 4176194859), Long_create(856458615, 2610121787), Long_create(4291798741, 3262652233), Long_create(2143522955, 4078315292), Long_create(3487185495, 2548947057), Long_create(1137756396, 3186183822), Long_create(3569679143, 3982729777), Long_create(620436729, 2489206111), Long_create(3996771383, 3111507638), Long_create(2848480580, 3889384548), Long_create(3927784011, 2430865342), Long_create(2762246365, 3038581678), Long_create(1305324309, 3798227098), Long_create(1889569517, 2373891936), Long_create(2361961896, 2967364920), Long_create(2952452370, 3709206150), Long_create(771540907, 2318253844), Long_create(964426134, 2897817305), Long_create(2279274492, 3622271631), Long_create(3035159293, 2263919769), Long_create(572723645, 2829899712), Long_create(715904556, 3537374640), Long_create(447440347, 2210859150), Long_create(2706784082, 2763573937), Long_create(162254631, 3454467422), Long_create(3322634616, 2159042138), Long_create(2005809622, 2698802673), Long_create(3581003852, 3373503341), Long_create(1255029343, 4216879177), Long_create(3468747899, 2635549485), Long_create(1114709402, 3294436857), Long_create(2467128577, 4118046071), Long_create(3152568096, 2573778794), Long_create(1793226473, 3217223493), Long_create(3315274915, 4021529366), Long_create(998304998, 2513455854), Long_create(3395364895, 3141819817), Long_create(1022980647, 3927274772), Long_create(2786846552, 2454546732), Long_create(3483558190, 3068183415), Long_create(3280705914, 3835229269), Long_create(2587312108, 2397018293), Long_create(12914663, 2996272867), Long_create(3237368801, 3745341083), Long_create(1486484589, 2340838177), Long_create(2931847560, 2926047721), Long_create(443583978, 3657559652), Long_create(2424723634, 2285974782), Long_create(883420895, 2857468478), Long_create(3251759766, 3571835597), Long_create(2569220766, 2232397248), Long_create(3211525958, 2790496560), Long_create(4014407447, 3488120700), Long_create(361521006, 2180075438), Long_create(2599384906, 2725094297), Long_create(28005660, 3406367872), Long_create(35007075, 4257959840), Long_create(21879422, 2661224900), Long_create(27349278, 3326531125), Long_create(1107928421, 4158163906), Long_create(1766197087, 2598852441), Long_create(3281488183, 3248565551), Long_create(3028118405, 4060706939), Long_create(1355703091, 2537941837), Long_create(2768370688, 3172427296), Long_create(3460463360, 3965534120), Long_create(2162789600, 2478458825), Long_create(3777228824, 3098073531), Long_create(3647794206, 3872591914), Long_create(3353613203, 2420369946), Long_create(2044532855, 3025462433), Long_create(3629407893, 3781828041), Long_create(657767197, 2363642526), Long_create(2969692644, 2954553157), Long_create(490890333, 3693191447), Long_create(1917419194, 2308244654), Long_create(249290345, 2885305818), Long_create(2459096579, 3606632272), Long_create(1536935362, 2254145170), Long_create(4068652851, 2817681462), Long_create(2938332415, 3522101828), Long_create(3983941407, 2201313642), Long_create(2832443111, 2751642053), Long_create(319328417, 3439552567), Long_create(1810192997, 2149720354), Long_create(115257598, 2687150443), Long_create(3365297469, 3358938053), Long_create(985396365, 4198672567), Long_create(2226485464, 2624170354), Long_create(635623182, 3280212943), Long_create(4015754449, 4100266178), Long_create(3583588355, 2562666361), Long_create(1258259972, 3203332952), Long_create(1572824965, 4004166190), Long_create(4204241075, 2502603868), Long_create(960334048, 3128254836), Long_create(1200417559, 3910318545), Long_create(3434615535, 2443949090), Long_create(2145785770, 3054936363), Long_create(1608490389, 3818670454), Long_create(4226531965, 2386669033), Long_create(2061939484, 2983336292), Long_create(2577424355, 3729170365), Long_create(2147761134, 2330731478), Long_create(537217770, 2913414348), Long_create(671522212, 3641767935), Long_create(2030314119, 2276104959), Long_create(1464150824, 2845131199), Long_create(756446706, 3556413999), Long_create(2083391927, 2222758749), Long_create(3677981733, 2778448436), Long_create(302509871, 3473060546), Long_create(1262810493, 2170662841), Long_create(2652254940, 2713328551), Long_create(2241576851, 3391660689), Long_create(3875712888, 4239575861), Long_create(2959191467, 2649734913), Long_create(477763862, 3312168642), Long_create(2744688476, 4140210802), Long_create(2789172121, 2587631751), Long_create(2412723328, 3234539689), Long_create(4089645983, 4043174611), Long_create(2019157828, 2526984132), Long_create(2523947285, 3158730165), Long_create(4228675930, 3948412706), Long_create(3716664280, 2467757941), Long_create(1424604878, 3084697427), Long_create(707014274, 3855871784), Long_create(441883921, 2409919865), Long_create(1626096725, 3012399831), Long_create(958879083, 3765499789), Long_create(1136170339, 2353437368), Long_create(1420212923, 2941796710), Long_create(3922749802, 3677245887), Long_create(4062331362, 2298278679), Long_create(4004172379, 2872848349), Long_create(1783990002, 3591060437), Long_create(1651864663, 2244412773), Long_create(3138572653, 2805515966), Long_create(1775732168, 3506894958), Long_create(36090781, 2191809349), Long_create(1118855300, 2739761686), Long_create(3546052773, 3424702107), Long_create(3358824142, 4280877634), Long_create(3173006913, 2675548521), Long_create(745033169, 3344435652), Long_create(931291462, 4180544565), Long_create(1118928076, 2612840353), Long_create(2472401918, 3266050441), Long_create(4164244222, 4082563051), Long_create(2065781727, 2551601907), Long_create(1508485334, 3189502384), Long_create(1885606668, 3986877980), Long_create(3325987816, 2491798737), Long_create(936259297, 3114748422), Long_create(3317807770, 3893435527), Long_create(3684242592, 2433397204), Long_create(310335944, 3041746506), Long_create(2535403578, 3802183132), Long_create(3732110884, 2376364457), Long_create(1443913133, 2970455572), Long_create(1804891417, 3713069465), Long_create(3812411696, 2320668415), Long_create(3691772795, 2900835519), Long_create(3540974170, 3626044399), Long_create(3823721592, 2266277749), Long_create(1558426518, 2832847187), Long_create(874291324, 3541058984), Long_create(546432078, 2213161865), Long_create(1756781921, 2766452331), Long_create(1122235577, 3458065414), Long_create(3922622708, 2161290883), Long_create(3829536561, 2701613604), Long_create(491953405, 3377017006), Long_create(2762425404, 4221271257), Long_create(115903142, 2638294536), Long_create(144878927, 3297868170), Long_create(2328582307, 4122335212), Long_create(3602847590, 2576459507), Long_create(3429817663, 3220574384), Long_create(4287272079, 4025717980), Long_create(532061401, 2516073738), Long_create(2812560400, 3145092172), Long_create(3515700500, 3931365215), Long_create(3807925548, 2457103259), Long_create(3686165111, 3071379074), Long_create(2460222741, 3839223843), Long_create(1000768301, 2399514902), Long_create(3398444024, 2999393627), Long_create(3174313207, 3749242034), Long_create(3057687578, 2343276271), Long_create(2748367649, 2929095339), Long_create(2361717737, 3661369174), Long_create(402331761, 2288355734), Long_create(2650398350, 2860444667), Long_create(2239256113, 3575555834), Long_create(2473276895, 2234722396), Long_create(3091596119, 2793402995), Long_create(2790753324, 3491753744), Long_create(1744220828, 2182346090), Long_create(32792387, 2727932613), Long_create(1114732307, 3409915766), Long_create(3540899032, 4262394707), Long_create(1676190983, 2663996692), Long_create(2095238729, 3329995865), Long_create(3692790235, 4162494831), Long_create(3918606633, 2601559269), Long_create(1677032819, 3251949087), Long_create(1022549200, 4064936359), Long_create(2249705986, 2540585224), Long_create(2812132482, 3175731530), Long_create(1367681955, 3969664413), Long_create(1391672134, 2481040258), Long_create(3887073815, 3101300322), Long_create(2711358621, 3876625403), Long_create(1157728226, 2422890877), Long_create(2520902107, 3028613596), Long_create(3151127633, 3785766995), Long_create(1432583859, 2366104372), Long_create(1790729824, 2957630465), Long_create(3312154103, 3697038081), Long_create(459483579, 2310648801), Long_create(1648096297, 2888311001), Long_create(3133862196, 3610388751), Long_create(3569276608, 2256492969), Long_create(1240370288, 2820616212), Long_create(1550462860, 3525770265), Long_create(3653393848, 2203606415), Long_create(3493000486, 2754508019), Long_create(3292508783, 3443135024), Long_create(2057817989, 2151959390), Long_create(424788839, 2689949238), Long_create(2678469697, 3362436547), Long_create(2274345297, 4203045684), Long_create(3568949458, 2626903552), Long_create(166219527, 3283629441), Long_create(1281516233, 4104536801), Long_create(3485302206, 2565335500), Long_create(61660461, 3206669376), Long_create(77075576, 4008336720), Long_create(48172235, 2505210450), Long_create(2207698942, 3131513062), Long_create(612140029, 3914391328), Long_create(382587518, 2446494580), Long_create(478234398, 3058118225), Long_create(1671534821, 3822647781), Long_create(1581580175, 2389154863), Long_create(903233395, 2986443579), Long_create(55299920, 3733054474), Long_create(1108304274, 2333159046)]); otcit_DoubleSynthesizer_exp10Table = $rt_createShortArrayFromData([(-76), (-72), (-69), (-66), (-62), (-59), (-56), (-52), (-49), (-46), (-42), (-39), (-36), (-32), (-29), (-26), (-22), (-19), (-16), (-12), (-9), (-6), (-2), 1, 4, 8, 11, 14, 17, 21, 24, 27, 31, 34, 37, 41, 44, 47, 51, 54, 57, 61, 64, 67, 71, 74, 77, 81, 84, 87, 91, 94, 97, 101, 104, 107, 110, 114, 117, 120, 124, 127, 130, 134, 137, 140, 144, 147, 150, 154, 157, 160, 164, 167, 170, 174, 177, 180, 184, 187, 190, 194, 197, 200, 204, 207, 210, 213, 217, 220, 223, 227, 230, 233, 237, 240, 243, 247, 250, 253, 257, 260, 263, 267, 270, 273, 277, 280, 283, 287, 290, 293, 297, 300, 303, 306, 310, 313, 316, 320, 323, 326, 330, 333, 336, 340, 343, 346, 350, 353, 356, 360, 363, 366, 370, 373, 376, 380, 383, 386, 390, 393, 396, 400, 403, 406, 409, 413, 416, 419, 423, 426, 429, 433, 436, 439, 443, 446, 449, 453, 456, 459, 463, 466, 469, 473, 476, 479, 483, 486, 489, 493, 496, 499, 502, 506, 509, 512, 516, 519, 522, 526, 529, 532, 536, 539, 542, 546, 549, 552, 556, 559, 562, 566, 569, 572, 576, 579, 582, 586, 589, 592, 595, 599, 602, 605, 609, 612, 615, 619, 622, 625, 629, 632, 635, 639, 642, 645, 649, 652, 655, 659, 662, 665, 669, 672, 675, 679, 682, 685, 689, 692, 695, 698, 702, 705, 708, 712, 715, 718, 722, 725, 728, 732, 735, 738, 742, 745, 748, 752, 755, 758, 762, 765, 768, 772, 775, 778, 782, 785, 788, 791, 795, 798, 801, 805, 808, 811, 815, 818, 821, 825, 828, 831, 835, 838, 841, 845, 848, 851, 855, 858, 861, 865, 868, 871, 875, 878, 881, 885, 888, 891, 894, 898, 901, 904, 908, 911, 914, 918, 921, 924, 928, 931, 934, 938, 941, 944, 948, 951, 954, 958, 961, 964, 968, 971, 974, 978, 981, 984, 987, 991, 994, 997, 1001, 1004, 1007, 1011, 1014, 1017, 1021, 1024, 1027, 1031, 1034, 1037, 1041, 1044, 1047, 1051, 1054, 1057, 1061, 1064, 1067, 1071, 1074, 1077, 1081, 1084, 1087, 1090, 1094, 1097, 1100, 1104, 1107, 1110, 1114, 1117, 1120, 1124, 1127, 1130, 1134, 1137, 1140, 1144, 1147, 1150, 1154, 1157, 1160, 1164, 1167, 1170, 1174, 1177, 1180, 1183, 1187, 1190, 1193, 1197, 1200, 1203, 1207, 1210, 1213, 1217, 1220, 1223, 1227, 1230, 1233, 1237, 1240, 1243, 1247, 1250, 1253, 1257, 1260, 1263, 1267, 1270, 1273, 1276, 1280, 1283, 1286, 1290, 1293, 1296, 1300, 1303, 1306, 1310, 1313, 1316, 1320, 1323, 1326, 1330, 1333, 1336, 1340, 1343, 1346, 1350, 1353, 1356, 1360, 1363, 1366, 1370, 1373, 1376, 1379, 1383, 1386, 1389, 1393, 1396, 1399, 1403, 1406, 1409, 1413, 1416, 1419, 1423, 1426, 1429, 1433, 1436, 1439, 1443, 1446, 1449, 1453, 1456, 1459, 1463, 1466, 1469, 1472, 1476, 1479, 1482, 1486, 1489, 1492, 1496, 1499, 1502, 1506, 1509, 1512, 1516, 1519, 1522, 1526, 1529, 1532, 1536, 1539, 1542, 1546, 1549, 1552, 1556, 1559, 1562, 1566, 1569, 1572, 1575, 1579, 1582, 1585, 1589, 1592, 1595, 1599, 1602, 1605, 1609, 1612, 1615, 1619, 1622, 1625, 1629, 1632, 1635, 1639, 1642, 1645, 1649, 1652, 1655, 1659, 1662, 1665, 1668, 1672, 1675, 1678, 1682, 1685, 1688, 1692, 1695, 1698, 1702, 1705, 1708, 1712, 1715, 1718, 1722, 1725, 1728, 1732, 1735, 1738, 1742, 1745, 1748, 1752, 1755, 1758, 1761, 1765, 1768, 1771, 1775, 1778, 1781, 1785, 1788, 1791, 1795, 1798, 1801, 1805, 1808, 1811, 1815, 1818, 1821, 1825, 1828, 1831, 1835, 1838, 1841, 1845, 1848, 1851, 1855, 1858, 1861, 1864, 1868, 1871, 1874, 1878, 1881, 1884, 1888, 1891, 1894, 1898, 1901, 1904, 1908, 1911, 1914, 1918, 1921, 1924, 1928, 1931, 1934, 1938, 1941, 1944, 1948, 1951, 1954, 1957, 1961, 1964, 1967, 1971, 1974, 1977, 1981, 1984, 1987, 1991, 1994, 1997, 2001, 2004, 2007, 2011, 2014, 2017, 2021, 2024, 2027, 2031, 2034, 2037, 2041, 2044, 2047, 2051, 2054, 2057, 2060, 2064, 2067, 2070, 2074, 2077, 2080, 2084, 2087, 2090, 2094, 2097, 2100, 2104, 2107, 2110, 2114]); }, nle_LANPeerEvent = $rt_classWithoutFields(0), nle_LANPeerEvent$LANPeerDisconnectEvent = $rt_classWithoutFields(); function nle_LANPeerEvent$LANPeerICECandidateEvent() { jl_Object.call(this); this.$candidates = null; } let nle_LANPeerEvent$LANPeerDataChannelEvent = $rt_classWithoutFields(); function nle_LANPeerEvent$LANPeerDescriptionEvent() { jl_Object.call(this); this.$description0 = null; } function nle_LANPeerEvent$LANPeerPacketEvent() { jl_Object.call(this); this.$payload = null; } function nlesi_IPCInputStream() { let a = this; ji_InputStream.call(a); a.$currentBuffer0 = null; a.$idx = 0; a.$markIDX = 0; a.$errorName = null; } let nlesi_IPCInputStream__init_ = $this => { $this.$currentBuffer0 = null; $this.$idx = 0; $this.$markIDX = 0; $this.$errorName = null; }, nlesi_IPCInputStream__init_0 = () => { let var_0 = new nlesi_IPCInputStream(); nlesi_IPCInputStream__init_(var_0); return var_0; }, nlesi_IPCInputStream_read = $this => { let var$1, var$2, var$3, $a, var$5, var$6, var$7, var$8, var$9, $$je; a: { try { var$1 = $this.$currentBuffer0.data; var$2 = $this.$idx; $this.$idx = var$2 + 1 | 0; var$3 = var$1[var$2] & 255; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_ArrayIndexOutOfBoundsException) { $a = $$je; break a; } else { throw $$e; } } return var$3; } var$5 = new ji_IOException; var$6 = $this.$errorName; if (var$6 === null) var$6 = $rt_s(1371); else { var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(1372)); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, var$6); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(1373)); var$6 = new jl_String; var$1 = var$7.$buffer; var$8 = var$1.data; var$9 = var$7.$length0; var$3 = var$8.length; if (var$9 >= 0 && var$9 <= (var$3 - 0 | 0)) var$6.$nativeString = $rt_charArrayToString(var$1.data, 0, var$9); else { $a = new jl_IndexOutOfBoundsException; $a.$suppressionEnabled = 1; $a.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($a); $rt_throw($a); } } var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(1374)); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, var$6); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(1375)); var$6 = new jl_String; var$1 = var$7.$buffer; var$8 = var$1.data; var$2 = var$7.$length0; var$9 = var$8.length; if (var$2 >= 0 && var$2 <= (var$9 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$1.data, 0, var$2); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$6; var$5.$cause = $a; $rt_throw(var$5); } $a = new jl_IndexOutOfBoundsException; $a.$suppressionEnabled = 1; $a.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($a); $rt_throw($a); }, nlesi_IPCInputStream_read0 = ($this, $b, $off, $len) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; var$4 = $this.$idx; var$5 = var$4 + $len | 0; var$6 = $this.$currentBuffer0; if (var$5 <= var$6.data.length) { var$7 = $b.data; var$5 = $off + $len | 0; if (var$5 <= var$7.length) { jl_System_fastArraycopy(var$6, var$4, $b, $off, $len); $this.$idx = $this.$idx + $len | 0; return $len; } var$8 = new jl_ArrayIndexOutOfBoundsException; $off = var$5 - 1 | 0; var$9 = new jl_AbstractStringBuilder; var$9.$buffer = $rt_createCharArray(20); var$9 = (jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $off, 10)).$toString(); var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; var$8.$message = var$9; $rt_throw(var$8); } var$8 = new ji_IOException; var$10 = $this.$errorName; if (var$10 === null) var$10 = $rt_s(1371); else { var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1372)); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, var$10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1373)); var$10 = new jl_String; $b = var$9.$buffer; var$6 = $b.data; var$4 = var$9.$length0; var$5 = var$6.length; if (var$4 >= 0 && var$4 <= (var$5 - 0 | 0)) var$10.$nativeString = $rt_charArrayToString($b.data, 0, var$4); else { var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$8); $rt_throw(var$8); } } var$5 = $this.$currentBuffer0.data.length - $this.$idx | 0; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1374)); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, var$10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1376)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $len, 10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1377)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, var$5, 10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1378)); var$10 = new jl_String; $b = var$9.$buffer; var$6 = $b.data; var$4 = var$9.$length0; var$5 = var$6.length; if (var$4 >= 0 && var$4 <= (var$5 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($b.data, 0, var$4); var$9 = new jl_ArrayIndexOutOfBoundsException; $off = ($this.$idx + $len | 0) - 1 | 0; var$11 = new jl_AbstractStringBuilder; var$11.$buffer = $rt_createCharArray(20); var$11 = (jl_AbstractStringBuilder_insert0(var$11, var$11.$length0, $off, 10)).$toString(); var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; var$9.$message = var$11; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; var$8.$message = var$10; var$8.$cause = var$9; $rt_throw(var$8); } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$8); $rt_throw(var$8); }; function nlesi_IPCOutputStream() { let a = this; ji_OutputStream.call(a); a.$className = null; a.$currentBuffer = null; a.$idx0 = 0; a.$originalSize = 0; } let nlesi_IPCOutputStream__init_ = $this => { $this.$className = null; $this.$currentBuffer = null; $this.$idx0 = 0; $this.$originalSize = 0; }, nlesi_IPCOutputStream__init_0 = () => { let var_0 = new nlesi_IPCOutputStream(); nlesi_IPCOutputStream__init_(var_0); return var_0; }, nlesi_IPCOutputStream_returnBuffer = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$className; if (var$1 !== null) { var$2 = $this.$currentBuffer.data.length; var$3 = $this.$originalSize; if (var$2 != var$3) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } var$6 = var$2 - var$3 | 0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1379)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$1); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1380)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1381)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$6, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(728)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$2, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1350)); var$1 = new jl_String; var$7 = var$4.$buffer; var$8 = var$7.data; var$3 = var$4.$length0; var$9 = var$8.length; if (var$3 >= 0 && var$3 <= (var$9 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$7.data, 0, var$3); $rt_putStderr($rt_ustr(var$1)); $rt_putStderr("\n"); } else { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } } return $this.$currentBuffer; }, nlesi_IPCOutputStream_write = ($this, $b) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$idx0; var$3 = $this.$currentBuffer; var$4 = var$3.data.length; if (var$2 >= var$4) { var$2 = var$2 + 1 | 0; if ((var$2 - var$4 | 0) > 0) { var$5 = $rt_createByteArray(var$2); jl_System_fastArraycopy(var$3, 0, var$5, 0, var$4); $this.$currentBuffer = var$5; } } var$3 = $this.$currentBuffer.data; var$6 = $this.$idx0; $this.$idx0 = var$6 + 1 | 0; var$3[var$6] = $b << 24 >> 24; }, nlesi_IPCOutputStream_write0 = ($this, $b, $off, $len) => { let var$4, var$5, var$6, var$7; var$4 = $this.$idx0 + $len | 0; var$5 = $this.$currentBuffer; var$6 = var$5.data.length; if (var$4 > var$6 && (var$4 - var$6 | 0) > 0) { var$7 = $rt_createByteArray(var$4); jl_System_fastArraycopy(var$5, 0, var$7, 0, var$6); $this.$currentBuffer = var$7; } jl_System_fastArraycopy($b, $off, $this.$currentBuffer, $this.$idx0, $len); $this.$idx0 = $this.$idx0 + $len | 0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_0 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_0__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_0__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_0(); nlesi_IPCPacketManager$_clinit_$lambda$_27_0__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_0_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket00StartServer; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_1 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_1__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_1__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_1(); nlesi_IPCPacketManager$_clinit_$lambda$_27_1__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_1_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket01StopServer; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_2 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_2__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_2__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_2(); nlesi_IPCPacketManager$_clinit_$lambda$_27_2__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_2_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket02InitWorld; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_3 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_3__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_3__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_3(); nlesi_IPCPacketManager$_clinit_$lambda$_27_3__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_3_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket03DeleteWorld; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_4 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_4__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_4__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_4(); nlesi_IPCPacketManager$_clinit_$lambda$_27_4__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_4_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket04RenameWorld; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_5 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_5__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_5__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_5(); nlesi_IPCPacketManager$_clinit_$lambda$_27_5__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_5_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket05RequestData; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_6 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_6__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_6__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_6(); nlesi_IPCPacketManager$_clinit_$lambda$_27_6__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_6_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket06RenameWorldNBT; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_7 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_7__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_7__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_7(); nlesi_IPCPacketManager$_clinit_$lambda$_27_7__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_7_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket07ImportWorld; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_8 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_8__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_8__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_8(); nlesi_IPCPacketManager$_clinit_$lambda$_27_8__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_8_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket09RequestResponse; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_9 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_9__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_9__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_9(); nlesi_IPCPacketManager$_clinit_$lambda$_27_9__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_9_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket0ASetWorldDifficulty; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_10 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_10__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_10__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_10(); nlesi_IPCPacketManager$_clinit_$lambda$_27_10__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_10_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket0BPause; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_11 = $rt_classWithoutFields(); let nlesi_IPCPacketManager$_clinit_$lambda$_27_11__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_11__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_11(); nlesi_IPCPacketManager$_clinit_$lambda$_27_11__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_11_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket0CPlayerChannel; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_12 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_12__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_12__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_12(); nlesi_IPCPacketManager$_clinit_$lambda$_27_12__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_12_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket0DProgressUpdate; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_13 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_13__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_13__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_13(); nlesi_IPCPacketManager$_clinit_$lambda$_27_13__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_13_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket0EListWorlds; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_14 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_14__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_14__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_14(); nlesi_IPCPacketManager$_clinit_$lambda$_27_14__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_14_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket0FListFiles; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_15 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_15__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_15__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_15(); nlesi_IPCPacketManager$_clinit_$lambda$_27_15__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_15_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket10FileRead; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_16 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_16__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_16__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_16(); nlesi_IPCPacketManager$_clinit_$lambda$_27_16__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_16_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket12FileWrite; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_17 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_17__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_17__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_17(); nlesi_IPCPacketManager$_clinit_$lambda$_27_17__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_17_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacket13FileCopyMove; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_18 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_18__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_18__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_18(); nlesi_IPCPacketManager$_clinit_$lambda$_27_18__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_18_get = var$0 => { let var$1, var$2; nlesi_IPCPacketManager_$callClinit(); var$1 = new nlesi_IPCPacket14StringList; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$stringList = var$2; return var$1; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_19 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_19__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_19__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_19(); nlesi_IPCPacketManager$_clinit_$lambda$_27_19__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_19_get = var$0 => { let var$1, var$2; nlesi_IPCPacketManager_$callClinit(); var$1 = new nlesi_IPCPacket15ThrowException; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$stackTrace = var$2; return var$1; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_20 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_20__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_20__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_20(); nlesi_IPCPacketManager$_clinit_$lambda$_27_20__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_20_get = var$0 => { let var$1; nlesi_IPCPacketManager_$callClinit(); var$1 = new nlesi_IPCPacket16NBTList; var$1.$tagList0 = new ju_LinkedList; var$1.$nbtTagList = new ju_LinkedList; return var$1; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_21 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_21__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_21__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_21(); nlesi_IPCPacketManager$_clinit_$lambda$_27_21__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_21_get = var$0 => { let var$1, var$2; nlesi_IPCPacketManager_$callClinit(); var$1 = new nlesi_IPCPacket17ConfigureLAN; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$iceServers = var$2; return var$1; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_22 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_22__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_22__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_22(); nlesi_IPCPacketManager$_clinit_$lambda$_27_22__init_(var_0); return var_0; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_22_get = var$0 => { let var$1; nlesi_IPCPacketManager_$callClinit(); var$1 = new nlesi_IPCPacket18ClearPlayers; var$1.$worldName0 = null; return var$1; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_23 = $rt_classWithoutFields(), nlesi_IPCPacketManager$_clinit_$lambda$_27_23__init_ = var$0 => { return; }, nlesi_IPCPacketManager$_clinit_$lambda$_27_23__init_0 = () => { let var_0 = new nlesi_IPCPacketManager$_clinit_$lambda$_27_23(); nlesi_IPCPacketManager$_clinit_$lambda$_27_23__init_(var_0); return var_0; }; let nlesi_IPCPacketManager$_clinit_$lambda$_27_23_get = var$0 => { nlesi_IPCPacketManager_$callClinit(); return new nlesi_IPCPacketFFProcessKeepAlive; }; function nleg_StreamBuffer() { let a = this; jl_Object.call(a); a.$initialSize = 0; a.$initialCount = 0; a.$maxCount = 0; a.$buffers = null; a.$currentBufferId = 0; a.$overflowCounter = 0; a.$initializer = null; } let nleg_StreamBuffer_pool = null, nleg_StreamBuffer_poolBufferID = 0, nleg_StreamBuffer_resizeInstance = ($instance, $requiredMemory) => { let var$3, $newSize, var$5; if ($instance.$vertexBuffer === null) { nlea_EaglerAdapterImpl2_$callClinit(); var$3 = new nlea_EaglerAdapterImpl2$BufferGL; var$3.$obj2 = nlea_EaglerAdapterImpl2_webgl.createBuffer(); $instance.$vertexBuffer = var$3; } if ($instance.$vertexBufferSize < $requiredMemory) { $newSize = ($requiredMemory & (-4096)) + 8192 | 0; var$3 = $instance.$vertexBuffer; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.bindBuffer(34962, var$3 !== null ? var$3.$obj2 : null); var$5 = Long_fromInt($newSize); nlea_EaglerAdapterImpl2_webgl.bufferData(34962, Long_lo(var$5), 35040); $instance.$vertexBufferSize = $newSize; } }, nleg_StreamBuffer__init_ = ($this, $initialSize, $initialCount, $maxCount, $initializer) => { let var$5, var$6, $i, var$8, $j, var$10, var$11, var$12; $this.$currentBufferId = 0; $this.$overflowCounter = 0; if ($maxCount > 16) $maxCount = 16; var$5 = $rt_createArray(nleg_StreamBuffer$StreamBufferInstance, $initialCount); var$6 = var$5.data; $this.$buffers = var$5; $i = 0; var$8 = var$6.length; while ($i < var$8) { $j = new nleg_StreamBuffer$StreamBufferInstance; $j.$poolInstance = null; $j.$vertexArray = null; $j.$bindQuad16 = 0; $j.$bindQuad32 = 0; var$5 = nleg_StreamBuffer_pool.data; var$10 = nleg_StreamBuffer_poolBufferID; var$11 = var$10 + 1 | 0; nleg_StreamBuffer_poolBufferID = var$11; var$12 = var$5[var$10]; if (var$11 > 15) nleg_StreamBuffer_poolBufferID = 0; $j.$poolInstance = var$12; var$6[$i] = $j; $i = $i + 1 | 0; } $this.$initialSize = $initialSize; $this.$initialCount = $initialCount; $this.$maxCount = $maxCount; $this.$initializer = $initializer; }, nleg_StreamBuffer__init_0 = (var_0, var_1, var_2, var_3) => { let var_4 = new nleg_StreamBuffer(); nleg_StreamBuffer__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, nleg_StreamBuffer_getBuffer = ($this, $requiredMemory) => { let var$2, var$3, $next, var$5, var$6, var$7, var$8, var$9; var$2 = $this.$buffers.data; var$3 = $this.$currentBufferId; $this.$currentBufferId = var$3 + 1 | 0; $next = var$2[var$3 % var$2.length | 0]; nleg_StreamBuffer_resizeInstance($next.$poolInstance, $requiredMemory); if ($next.$vertexArray === null) { nlea_EaglerAdapterImpl2_$callClinit(); var$5 = new nlea_EaglerAdapterImpl2$BufferArrayGL; var$6 = nlea_EaglerAdapterImpl2_webgl.createVertexArray(); var$5.$obj3 = var$6; var$5.$isQuadBufferBound = 0; $next.$vertexArray = var$5; var$7 = $this.$initializer; var$8 = $next.$poolInstance.$vertexBuffer; var$7 = var$7.$_00; nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_currentArray !== var$5) { nleg_EaglerAdapterGL30_currentArray = var$5; var$9 = nlea_EaglerAdapterImpl2_webgl; if (var$5 === null) var$6 = null; var$9.bindVertexArray(var$6); } nlea_EaglerAdapterImpl2_webgl.bindBuffer(34962, var$8 !== null ? var$8.$obj2 : null); nleg_FixedFunctionShader_setupArrayForProgram(var$7); } return $next; }, nleg_StreamBuffer_optimize = $this => { let $newCount, $i, $newArray, var$4, var$5, $newArray_0, var$7, var$8, var$9; $newCount = $this.$overflowCounter; $i = $this.$currentBufferId; $newArray = $this.$buffers.data; var$4 = $newArray.length; $newCount = $newCount + ($i - var$4 | 0) | 0; $this.$overflowCounter = $newCount; if ($newCount < (-25)) { $newCount = (var$4 - 1 | 0) + (($newCount + 25 | 0) / 5 | 0) | 0; $i = $this.$initialCount; if ($newCount >= $i) $i = $newCount; if ($i < var$4) { $newArray = $rt_createArray(nleg_StreamBuffer$StreamBufferInstance, $i); var$5 = $newArray.data; $i = 0; while (true) { $newArray_0 = $this.$buffers.data; if ($i >= $newArray_0.length) break; if ($i < var$5.length) var$5[$i] = $newArray_0[$i]; else if ($newArray_0[$i].$vertexArray !== null) { var$7 = $newArray_0[$i].$vertexArray; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteVertexArray(var$7.$obj3); } $i = $i + 1 | 0; } $this.$buffers = $newArray; nleg_StreamBuffer_refill($this); } $this.$overflowCounter = 0; } else if ($newCount > 15) { $newCount = (var$4 + 1 | 0) + (($newCount - 15 | 0) / 5 | 0) | 0; $i = $this.$maxCount; if ($newCount <= $i) $i = $newCount; if ($i > var$4) { $newArray_0 = $rt_createArray(nleg_StreamBuffer$StreamBufferInstance, $i); var$5 = $newArray_0.data; $i = 0; var$8 = var$5.length; while ($i < var$8) { if ($i < var$4) var$5[$i] = $newArray[$i]; else { var$9 = new nleg_StreamBuffer$StreamBufferInstance; var$9.$poolInstance = null; var$9.$vertexArray = null; var$9.$bindQuad16 = 0; var$9.$bindQuad32 = 0; var$5[$i] = var$9; } $i = $i + 1 | 0; } $this.$buffers = $newArray_0; nleg_StreamBuffer_refill($this); } $this.$overflowCounter = 0; } $this.$currentBufferId = 0; }, nleg_StreamBuffer_refill = $this => { let $i, var$2, var$3, var$4, var$5, $j, $k, $l; $i = 0; while (true) { var$2 = $this.$buffers.data; if ($i >= var$2.length) break; var$3 = nleg_StreamBuffer_pool.data; var$4 = nleg_StreamBuffer_poolBufferID; var$5 = var$4 + 1 | 0; nleg_StreamBuffer_poolBufferID = var$5; $j = var$3[var$4]; if (var$5 > 15) nleg_StreamBuffer_poolBufferID = 0; $k = var$2[$i]; $l = $k.$poolInstance; if ($j !== $l) { $k.$poolInstance = $j; if ($k.$vertexArray !== null) { if ($j.$vertexBuffer === null) nleg_StreamBuffer_resizeInstance($j, $l.$vertexBufferSize); $l = $this.$initializer; $k = $k.$vertexArray; $j = $j.$vertexBuffer; $l = $l.$_00; nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_currentArray !== $k) { nleg_EaglerAdapterGL30_currentArray = $k; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.bindVertexArray($k !== null ? $k.$obj3 : null); } nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.bindBuffer(34962, $j !== null ? $j.$obj2 : null); nleg_FixedFunctionShader_setupArrayForProgram($l); } } $i = $i + 1 | 0; } }, nleg_StreamBuffer__clinit_ = () => { let var$1, var$2, $i, var$4; var$1 = $rt_createArray(nleg_StreamBuffer$PoolInstance, 16); var$2 = var$1.data; nleg_StreamBuffer_pool = var$1; nleg_StreamBuffer_poolBufferID = 0; $i = 0; while ($i < 16) { var$4 = new nleg_StreamBuffer$PoolInstance; var$4.$vertexBuffer = null; var$4.$vertexBufferSize = 0; var$2[$i] = var$4; $i = $i + 1 | 0; } }, jm_Conversion = $rt_classWithoutFields(), jm_Conversion_digitFitInInt = null, jm_Conversion_bigRadices = null, jm_Conversion__init_ = $this => { return; }, jm_Conversion__init_0 = () => { let var_0 = new jm_Conversion(); jm_Conversion__init_(var_0); return var_0; }, jm_Conversion_toDecimalScaledString = ($val, $scale) => { let $sign, $numberLength, $digits, $result1, $result, $resLengthInChars, $v, $i1, $v_0, $v_1, $v_2, var$14, $temp, var$16, $delta, $result11, $j, $res, $resDigit, $i, $negNumber, $exponent, $insertPoint, $startPoint; $sign = $val.$sign1; $numberLength = $val.$numberLength; $digits = $val.$digits; if (!$sign) { switch ($scale) { case 0: break; case 1: return $rt_s(1382); case 2: return $rt_s(1383); case 3: return $rt_s(1384); case 4: return $rt_s(1385); case 5: return $rt_s(1386); case 6: return $rt_s(1387); default: $result1 = new jl_StringBuilder; $result1.$buffer = $rt_createCharArray(16); if ($scale >= 0) jl_AbstractStringBuilder_insert($result1, $result1.$length0, $rt_s(1388)); else jl_AbstractStringBuilder_insert($result1, $result1.$length0, $rt_s(1389)); $scale = -$scale | 0; jl_AbstractStringBuilder_insert0($result1, $result1.$length0, $scale, 10); $val = new jl_String; $digits = $result1.$buffer; $result = $digits.data; $sign = $result1.$length0; $numberLength = $result.length; if ($sign >= 0 && $sign <= ($numberLength - 0 | 0)) { $val.$nativeString = $rt_charArrayToString($digits.data, 0, $sign); return $val; } $val = new jl_IndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($val); $rt_throw($val); } return $rt_s(128); } $resLengthInChars = (($numberLength * 10 | 0) + 1 | 0) + 7 | 0; $result = $rt_createCharArray($resLengthInChars + 1 | 0); if ($numberLength == 1) { $v = $digits.data[0]; if ($v >= 0) { $i1 = $resLengthInChars; while (true) { $digits = $result.data; $v_0 = $v / 10 | 0; $i1 = $i1 + (-1) | 0; $digits[$i1] = (48 + ($v - ($v_0 * 10 | 0) | 0) | 0) & 65535; if (!$v_0) break; $v = $v_0; } } else { $v_1 = Long_and(Long_fromInt($v), Long_create(4294967295, 0)); $i1 = $resLengthInChars; while (true) { $digits = $result.data; $v_2 = Long_div($v_1, Long_fromInt(10)); $i1 = $i1 + (-1) | 0; $digits[$i1] = (48 + Long_lo(Long_sub($v_1, Long_mul($v_2, Long_fromInt(10)))) | 0) & 65535; if (Long_eq($v_2, Long_ZERO)) break; $v_1 = $v_2; } } } else { var$14 = $result.data; $temp = $rt_createIntArray($numberLength); var$16 = $temp.data; jl_System_fastArraycopy($digits, 0, $temp, 0, $numberLength); $delta = $resLengthInChars; a: while (true) { $result11 = Long_ZERO; $j = $numberLength - 1 | 0; $i1 = $j; while ($i1 >= 0) { $res = jm_Conversion_divideLongByBillion(Long_add(Long_shl($result11, 32), Long_and(Long_fromInt(var$16[$i1]), Long_create(4294967295, 0)))); var$16[$i1] = Long_lo($res); $result11 = Long_fromInt(Long_hi($res)); $i1 = $i1 + (-1) | 0; } $resDigit = Long_lo($result11); $i1 = $delta; while (true) { $i1 = $i1 + (-1) | 0; var$14[$i1] = (48 + ($resDigit % 10 | 0) | 0) & 65535; $resDigit = $resDigit / 10 | 0; if (!$resDigit) break; if (!$i1) break; } $delta = (9 - $delta | 0) + $i1 | 0; $i = 0; while ($i < $delta && $i1 > 0) { $i1 = $i1 + (-1) | 0; var$14[$i1] = 48; $i = $i + 1 | 0; } while (!var$16[$j]) { if (!$j) break a; $j = $j + (-1) | 0; } $numberLength = $j + 1 | 0; $delta = $i1; } while (var$14[$i1] == 48) { $i1 = $i1 + 1 | 0; } } $negNumber = $sign >= 0 ? 0 : 1; $sign = $resLengthInChars - $i1 | 0; $exponent = ($sign - $scale | 0) - 1 | 0; if (!$scale) { if ($negNumber) { $digits = $result.data; $i1 = $i1 + (-1) | 0; $digits[$i1] = 45; } $digits = $result.data; $val = new jl_String; $scale = $resLengthInChars - $i1 | 0; $sign = $digits.length; if ($i1 >= 0 && $scale >= 0 && $scale <= ($sign - $i1 | 0)) { $val.$nativeString = $rt_charArrayToString($result.data, $i1, $scale); return $val; } $val = new jl_IndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $rt_throw($val); } if ($scale > 0 && $exponent >= (-6)) { if ($exponent < 0) { $digits = $result.data; $j = 2; $scale = ( -$exponent | 0) + 1 | 0; while ($j < $scale) { $i1 = $i1 + (-1) | 0; $digits[$i1] = 48; $j = $j + 1 | 0; } $scale = $i1 + (-1) | 0; $digits[$scale] = 46; $scale = $scale + (-1) | 0; $digits[$scale] = 48; if ($negNumber) { $scale = $scale + (-1) | 0; $digits[$scale] = 45; } $val = new jl_String; $sign = $resLengthInChars - $scale | 0; $numberLength = $digits.length; if ($scale >= 0 && $sign >= 0 && $sign <= ($numberLength - $scale | 0)) { $val.$nativeString = $rt_charArrayToString($result.data, $scale, $sign); return $val; } $val = new jl_IndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $rt_throw($val); } $digits = $result.data; $insertPoint = $i1 + $exponent | 0; $j = $resLengthInChars - 1 | 0; while ($j >= $insertPoint) { $digits[$j + 1 | 0] = $digits[$j]; $j = $j + (-1) | 0; } $digits[$insertPoint + 1 | 0] = 46; if ($negNumber) { $i1 = $i1 + (-1) | 0; $digits[$i1] = 45; } $val = new jl_String; $scale = ($resLengthInChars - $i1 | 0) + 1 | 0; $sign = $digits.length; if ($i1 >= 0 && $scale >= 0 && $scale <= ($sign - $i1 | 0)) { $val.$nativeString = $rt_charArrayToString($result.data, $i1, $scale); return $val; } $val = new jl_IndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; $rt_throw($val); } $startPoint = $i1 + 1 | 0; $result1 = new jl_StringBuilder; $result1.$buffer = $rt_createCharArray((16 + $resLengthInChars | 0) - $startPoint | 0); if ($negNumber) { $numberLength = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $numberLength, $numberLength + 1 | 0); $result1.$buffer.data[$numberLength] = 45; } if (($resLengthInChars - $startPoint | 0) < 1) { $result = $result.data; $scale = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $scale, $scale + $sign | 0); $numberLength = $sign + $i1 | 0; while ($i1 < $numberLength) { $digits = $result1.$buffer.data; $delta = $scale + 1 | 0; $sign = $i1 + 1 | 0; $digits[$scale] = $result[$i1]; $scale = $delta; $i1 = $sign; } } else { $digits = $result.data; $scale = $digits[$i1]; $numberLength = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $numberLength, $numberLength + 1 | 0); $result1.$buffer.data[$numberLength] = $scale; $numberLength = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $numberLength, $numberLength + 1 | 0); $result1.$buffer.data[$numberLength] = 46; $scale = $sign - 1 | 0; $sign = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $sign, $sign + $scale | 0); $numberLength = $scale + $startPoint | 0; while ($startPoint < $numberLength) { $result = $result1.$buffer.data; $delta = $sign + 1 | 0; $scale = $startPoint + 1 | 0; $result[$sign] = $digits[$startPoint]; $sign = $delta; $startPoint = $scale; } } $sign = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $sign, $sign + 1 | 0); $result1.$buffer.data[$sign] = 69; if ($exponent > 0) { $sign = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $sign, $sign + 1 | 0); $result1.$buffer.data[$sign] = 43; } $val = new jl_AbstractStringBuilder; $val.$buffer = $rt_createCharArray(20); $val = (jl_AbstractStringBuilder_insert0($val, $val.$length0, $exponent, 10)).$toString(); jl_AbstractStringBuilder_insert($result1, $result1.$length0, $val); $val = new jl_String; $digits = $result1.$buffer; $result = $digits.data; $sign = $result1.$length0; $numberLength = $result.length; if ($sign >= 0 && $sign <= ($numberLength - 0 | 0)) { $val.$nativeString = $rt_charArrayToString($digits.data, 0, $sign); return $val; } $val = new jl_IndexOutOfBoundsException; $val.$suppressionEnabled = 1; $val.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($val); $rt_throw($val); }, jm_Conversion_toDecimalScaledString0 = ($v, $scale) => { let $negNumber, $result1, var$5, $result, var$7, $resLengthInChars, var$9, $v_0, $exponent, $j, $insertPoint, $startPoint, var$15; $negNumber = Long_ge($v, Long_ZERO) ? 0 : 1; if ($negNumber) $v = Long_neg($v); if (Long_eq($v, Long_ZERO)) { switch ($scale) { case 0: break; case 1: return $rt_s(1382); case 2: return $rt_s(1383); case 3: return $rt_s(1384); case 4: return $rt_s(1385); case 5: return $rt_s(1386); case 6: return $rt_s(1387); default: $result1 = new jl_StringBuilder; $result1.$buffer = $rt_createCharArray(16); if ($scale >= 0) jl_AbstractStringBuilder_insert($result1, $result1.$length0, $rt_s(1388)); else jl_AbstractStringBuilder_insert($result1, $result1.$length0, $rt_s(1389)); if ($scale == (-2147483648)) var$5 = $rt_s(1390); else { $scale = -$scale | 0; var$5 = new jl_AbstractStringBuilder; var$5.$buffer = $rt_createCharArray(20); var$5 = (jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, $scale, 10)).$toString(); } jl_AbstractStringBuilder_insert($result1, $result1.$length0, var$5); var$5 = new jl_String; $result = $result1.$buffer; var$7 = $result.data; $negNumber = $result1.$length0; $resLengthInChars = var$7.length; if ($negNumber >= 0 && $negNumber <= ($resLengthInChars - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString($result.data, 0, $negNumber); return var$5; } $result1 = new jl_IndexOutOfBoundsException; $result1.$suppressionEnabled = 1; $result1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($result1); $rt_throw($result1); } return $rt_s(128); } $result = $rt_createCharArray(19); var$9 = 18; while (true) { var$7 = $result.data; $v_0 = Long_div($v, Long_fromInt(10)); var$9 = var$9 + (-1) | 0; var$7[var$9] = Long_lo(Long_add(Long_fromInt(48), Long_sub($v, Long_mul($v_0, Long_fromInt(10))))) & 65535; if (Long_eq($v_0, Long_ZERO)) break; $v = $v_0; } $exponent = Long_sub(Long_sub(Long_sub(Long_fromInt(18), Long_fromInt(var$9)), Long_fromInt($scale)), Long_fromInt(1)); if (!$scale) { if ($negNumber) { var$9 = var$9 + (-1) | 0; var$7[var$9] = 45; } $result1 = new jl_String; $scale = 18 - var$9 | 0; $negNumber = var$7.length; if (var$9 >= 0 && $scale >= 0 && $scale <= ($negNumber - var$9 | 0)) { $result1.$nativeString = $rt_charArrayToString($result.data, var$9, $scale); return $result1; } $result1 = new jl_IndexOutOfBoundsException; $result1.$suppressionEnabled = 1; $result1.$writableStackTrace = 1; $rt_throw($result1); } if ($scale > 0 && Long_ge($exponent, Long_fromInt(-6))) { if (Long_lt($exponent, Long_ZERO)) { $j = 2; $exponent = Long_add(Long_neg($exponent), Long_fromInt(1)); while (Long_lt(Long_fromInt($j), $exponent)) { var$9 = var$9 + (-1) | 0; var$7[var$9] = 48; $j = $j + 1 | 0; } $scale = var$9 + (-1) | 0; var$7[$scale] = 46; $scale = $scale + (-1) | 0; var$7[$scale] = 48; if ($negNumber) { $scale = $scale + (-1) | 0; var$7[$scale] = 45; } $result1 = new jl_String; $negNumber = 18 - $scale | 0; $resLengthInChars = var$7.length; if ($scale >= 0 && $negNumber >= 0 && $negNumber <= ($resLengthInChars - $scale | 0)) { $result1.$nativeString = $rt_charArrayToString($result.data, $scale, $negNumber); return $result1; } $result1 = new jl_IndexOutOfBoundsException; $result1.$suppressionEnabled = 1; $result1.$writableStackTrace = 1; $rt_throw($result1); } $insertPoint = var$9 + Long_lo($exponent) | 0; $j = 17; while ($j >= $insertPoint) { var$7[$j + 1 | 0] = var$7[$j]; $j = $j + (-1) | 0; } var$7[$insertPoint + 1 | 0] = 46; if ($negNumber) { var$9 = var$9 + (-1) | 0; var$7[var$9] = 45; } $result1 = new jl_String; $scale = (18 - var$9 | 0) + 1 | 0; $negNumber = var$7.length; if (var$9 >= 0 && $scale >= 0 && $scale <= ($negNumber - var$9 | 0)) { $result1.$nativeString = $rt_charArrayToString($result.data, var$9, $scale); return $result1; } $result1 = new jl_IndexOutOfBoundsException; $result1.$suppressionEnabled = 1; $result1.$writableStackTrace = 1; $rt_throw($result1); } $startPoint = var$9 + 1 | 0; $result1 = new jl_StringBuilder; $result1.$buffer = $rt_createCharArray(34 - $startPoint | 0); if ($negNumber) { $scale = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $scale, $scale + 1 | 0); $result1.$buffer.data[$scale] = 45; } if ((18 - $startPoint | 0) < 1) { $resLengthInChars = 18 - var$9 | 0; $scale = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $scale, $scale + $resLengthInChars | 0); $resLengthInChars = $resLengthInChars + var$9 | 0; while (var$9 < $resLengthInChars) { $result = $result1.$buffer.data; $insertPoint = $scale + 1 | 0; $negNumber = var$9 + 1 | 0; $result[$scale] = var$7[var$9]; $scale = $insertPoint; var$9 = $negNumber; } } else { $insertPoint = var$7[var$9]; $scale = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $scale, $scale + 1 | 0); $result1.$buffer.data[$scale] = $insertPoint; $scale = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $scale, $scale + 1 | 0); $result1.$buffer.data[$scale] = 46; $resLengthInChars = (18 - var$9 | 0) - 1 | 0; $scale = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $scale, $scale + $resLengthInChars | 0); $resLengthInChars = $resLengthInChars + $startPoint | 0; while ($startPoint < $resLengthInChars) { $result = $result1.$buffer.data; var$9 = $scale + 1 | 0; $negNumber = $startPoint + 1 | 0; $result[$scale] = var$7[$startPoint]; $scale = var$9; $startPoint = $negNumber; } } $negNumber = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $negNumber, $negNumber + 1 | 0); $result1.$buffer.data[$negNumber] = 69; if (Long_gt($exponent, Long_ZERO)) { $negNumber = $result1.$length0; jl_AbstractStringBuilder_insertSpace($result1, $negNumber, $negNumber + 1 | 0); $result1.$buffer.data[$negNumber] = 43; } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert2(var$5, var$5.$length0, $exponent, 10); var$15 = new jl_String; $result = var$5.$buffer; var$7 = $result.data; $negNumber = var$5.$length0; $resLengthInChars = var$7.length; if ($negNumber >= 0 && $negNumber <= ($resLengthInChars - 0 | 0)) { var$15.$nativeString = $rt_charArrayToString($result.data, 0, $negNumber); jl_AbstractStringBuilder_insert($result1, $result1.$length0, var$15); var$5 = new jl_String; $result = $result1.$buffer; var$7 = $result.data; $negNumber = $result1.$length0; $resLengthInChars = var$7.length; if ($negNumber >= 0 && $negNumber <= ($resLengthInChars - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString($result.data, 0, $negNumber); return var$5; } $result1 = new jl_IndexOutOfBoundsException; $result1.$suppressionEnabled = 1; $result1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($result1); $rt_throw($result1); } $result1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($result1); $rt_throw($result1); }, jm_Conversion_divideLongByBillion = $a => { let $quot, $rem, $aPos; if (Long_ge($a, Long_ZERO)) { $quot = Long_div($a, Long_fromInt(1000000000)); $rem = Long_rem($a, Long_fromInt(1000000000)); } else { $aPos = Long_shru($a, 1); $quot = Long_div($aPos, Long_fromInt(500000000)); $rem = Long_add(Long_shl(Long_rem($aPos, Long_fromInt(500000000)), 1), Long_and($a, Long_fromInt(1))); } return Long_or(Long_shl($rem, 32), Long_and($quot, Long_create(4294967295, 0))); }, jm_Conversion_bigInteger2Double = $val => { let $bitLen, $delta, var$4, var$5, $exponent, var$7, var$8, var$9, $mantissa; a: { $bitLen = $val.$numberLength; $delta = $rt_compare($bitLen, 2); if ($delta >= 0) { if ($delta) break a; if ($val.$digits.data[1] <= 0) break a; } return Long_toNumber(jm_BigInteger_longValue($val)); } if ($bitLen > 32) return $val.$sign1 <= 0 ? (-Infinity) : Infinity; if ($val.$sign1 >= 0) var$4 = $val; else { var$4 = new jm_BigInteger; var$5 = $val.$digits; var$4.$firstNonzeroDigit = (-2); var$4.$sign1 = 1; var$4.$numberLength = $bitLen; var$4.$digits = var$5; } $bitLen = jm_BitLevel_bitLength(var$4); $exponent = Long_fromInt($bitLen - 1 | 0); $delta = $bitLen - 54 | 0; if ($val.$sign1 >= 0) var$4 = $val; else { var$4 = new jm_BigInteger; var$7 = $val.$numberLength; var$5 = $val.$digits; var$4.$firstNonzeroDigit = (-2); var$4.$sign1 = 1; var$4.$numberLength = var$7; var$4.$digits = var$5; } if ($delta && var$4.$sign1) { if ($delta > 0) var$4 = jm_BitLevel_shiftRight(var$4, $delta); else { $bitLen = -$delta | 0; var$7 = $bitLen >> 5; var$8 = $bitLen & 31; $bitLen = (var$4.$numberLength + var$7 | 0) + (var$8 ? 1 : 0) | 0; var$5 = $rt_createIntArray($bitLen); jm_BitLevel_shiftLeft(var$5, var$4.$digits, var$7, var$8); var$9 = new jm_BigInteger; var$7 = var$4.$sign1; var$9.$firstNonzeroDigit = (-2); var$9.$sign1 = var$7; var$9.$numberLength = $bitLen; var$9.$digits = var$5; jm_BigInteger_cutOffLeadingZeroes(var$9); var$4 = var$9; } } $mantissa = Long_and(jm_BigInteger_longValue(var$4), Long_create(4294967295, 2097151)); if (Long_eq($exponent, Long_fromInt(1023))) { if (Long_eq($mantissa, Long_create(4294967295, 2097151))) return $val.$sign1 <= 0 ? (-Infinity) : Infinity; if (Long_eq($mantissa, Long_create(4294967294, 2097151))) return $val.$sign1 <= 0 ? (-1.7976931348623157E308) : 1.7976931348623157E308; } if (!(!(Long_eq(Long_and($mantissa, Long_fromInt(1)), Long_fromInt(1)) && Long_eq(Long_and($mantissa, Long_fromInt(2)), Long_fromInt(2))) && !jm_BitLevel_nonZeroDroppedBits($delta, $val.$digits))) $mantissa = Long_add($mantissa, Long_fromInt(2)); $mantissa = Long_shr($mantissa, 1); return $rt_longBitsToDouble(Long_or(Long_or($val.$sign1 >= 0 ? Long_ZERO : Long_create(0, 2147483648), Long_and(Long_shl(Long_add(Long_fromInt(1023), $exponent), 52), Long_create(0, 2146435072))), $mantissa)); }, jm_Conversion__clinit_ = () => { jm_Conversion_digitFitInInt = $rt_createIntArrayFromData([(-1), (-1), 31, 19, 15, 13, 11, 11, 10, 9, 9, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5]); jm_Conversion_bigRadices = $rt_createIntArrayFromData([(-2147483648), 1162261467, 1073741824, 1220703125, 362797056, 1977326743, 1073741824, 387420489, 1000000000, 214358881, 429981696, 815730721, 1475789056, 170859375, 268435456, 410338673, 612220032, 893871739, 1280000000, 1801088541, 113379904, 148035889, 191102976, 244140625, 308915776, 387420489, 481890304, 594823321, 729000000, 887503681, 1073741824, 1291467969, 1544804416, 1838265625, 60466176]); }, jm_Elementary = $rt_classWithoutFields(), jm_Elementary__init_ = $this => { return; }, jm_Elementary__init_0 = () => { let var_0 = new jm_Elementary(); jm_Elementary__init_(var_0); return var_0; }, jm_Elementary_compareArrays = ($a, $b, $size) => { let $i, var$5; $i = $size - 1 | 0; while ($i >= 0) { var$5 = $b.data; if ($a.data[$i] != var$5[$i]) break; $i = $i + (-1) | 0; } if ($i < 0) $size = 0; else { $b = $b.data; $size = Long_ge(Long_and(Long_fromInt($a.data[$i]), Long_create(4294967295, 0)), Long_and(Long_fromInt($b[$i]), Long_create(4294967295, 0))) ? 1 : (-1); } return $size; }, jm_Elementary_add = ($op1, $op2) => { let $op1Sign, $op2Sign, $op1Len, $op2Len, $a, $b, $res, $valueLo, $valueHi, var$12, var$13, $resDigits, $cmp, $res_0; $op1Sign = $op1.$sign1; $op2Sign = $op2.$sign1; if (!$op1Sign) return $op2; if (!$op2Sign) return $op1; $op1Len = $op1.$numberLength; $op2Len = $op2.$numberLength; if (($op1Len + $op2Len | 0) == 2) { $a = Long_and(Long_fromInt($op1.$digits.data[0]), Long_create(4294967295, 0)); $b = Long_and(Long_fromInt($op2.$digits.data[0]), Long_create(4294967295, 0)); if ($op1Sign != $op2Sign) return jm_BigInteger_valueOf($op1Sign >= 0 ? Long_sub($a, $b) : Long_sub($b, $a)); $res = Long_add($a, $b); $valueLo = Long_lo($res); $valueHi = Long_hi($res); if (!$valueHi) { $op1 = new jm_BigInteger; $op1.$firstNonzeroDigit = (-2); $op1.$sign1 = $op1Sign; $op1.$numberLength = 1; var$12 = $rt_createIntArray(1); var$12.data[0] = $valueLo; $op1.$digits = var$12; } else { $op1 = new jm_BigInteger; var$12 = $rt_createIntArrayFromData([$valueLo, $valueHi]); $op1.$firstNonzeroDigit = (-2); $op1.$sign1 = $op1Sign; $op1.$numberLength = 2; $op1.$digits = var$12; } return $op1; } if ($op1Sign == $op2Sign) { if ($op1Len < $op2Len) { var$12 = $op2.$digits; var$13 = $op1.$digits; $resDigits = $rt_createIntArray($op2Len + 1 | 0); jm_Elementary_add0($resDigits, var$12, $op2Len, var$13, $op1Len); } else { var$13 = $op1.$digits; var$12 = $op2.$digits; $resDigits = $rt_createIntArray($op1Len + 1 | 0); jm_Elementary_add0($resDigits, var$13, $op1Len, var$12, $op2Len); } } else { $cmp = $rt_compare($op1Len, $op2Len); $cmp = !$cmp ? jm_Elementary_compareArrays($op1.$digits, $op2.$digits, $op1Len) : $cmp <= 0 ? (-1) : 1; if (!$cmp) return jm_BigInteger_ZERO; if ($cmp != 1) { var$12 = $op2.$digits; var$13 = $op1.$digits; $resDigits = $rt_createIntArray($op2Len); jm_Elementary_subtract0($resDigits, var$12, $op2Len, var$13, $op1Len); $op1Sign = $op2Sign; } else { var$12 = $op1.$digits; var$13 = $op2.$digits; $resDigits = $rt_createIntArray($op1Len); jm_Elementary_subtract0($resDigits, var$12, $op1Len, var$13, $op2Len); } } var$12 = $resDigits.data; $res_0 = new jm_BigInteger; $op2Sign = var$12.length; $res_0.$firstNonzeroDigit = (-2); $res_0.$sign1 = $op1Sign; $res_0.$numberLength = $op2Sign; $res_0.$digits = $resDigits; jm_BigInteger_cutOffLeadingZeroes($res_0); return $res_0; }, jm_Elementary_add0 = ($res, $a, $aSize, $b, $bSize) => { let var$6, $carry, var$8, $i; var$6 = $res.data; $res = $b.data; $a = $a.data; $carry = Long_add(Long_and(Long_fromInt($a[0]), Long_create(4294967295, 0)), Long_and(Long_fromInt($res[0]), Long_create(4294967295, 0))); var$6[0] = Long_lo($carry); var$8 = Long_shr($carry, 32); if ($aSize < $bSize) { $i = 1; while ($i < $aSize) { $carry = Long_add(var$8, Long_add(Long_and(Long_fromInt($a[$i]), Long_create(4294967295, 0)), Long_and(Long_fromInt($res[$i]), Long_create(4294967295, 0)))); var$6[$i] = Long_lo($carry); var$8 = Long_shr($carry, 32); $i = $i + 1 | 0; } while ($i < $bSize) { $carry = Long_add(var$8, Long_and(Long_fromInt($res[$i]), Long_create(4294967295, 0))); var$6[$i] = Long_lo($carry); var$8 = Long_shr($carry, 32); $i = $i + 1 | 0; } } else { $i = 1; while ($i < $bSize) { $carry = Long_add(var$8, Long_add(Long_and(Long_fromInt($a[$i]), Long_create(4294967295, 0)), Long_and(Long_fromInt($res[$i]), Long_create(4294967295, 0)))); var$6[$i] = Long_lo($carry); var$8 = Long_shr($carry, 32); $i = $i + 1 | 0; } while ($i < $aSize) { $carry = Long_add(var$8, Long_and(Long_fromInt($a[$i]), Long_create(4294967295, 0))); var$6[$i] = Long_lo($carry); var$8 = Long_shr($carry, 32); $i = $i + 1 | 0; } } if (Long_ne(var$8, Long_ZERO)) var$6[$i] = Long_lo(var$8); }, jm_Elementary_subtract = ($op1, $op2) => { let $op1Sign, $op2Sign, var$5, $op1Len, $op2Len, $a, $b, $resSign, $cmp, var$12, $resDigits, $res; $op1Sign = $op1.$sign1; $op2Sign = $op2.$sign1; if (!$op2Sign) return $op1; if (!$op1Sign) { if (!$op2Sign) $op1 = $op2; else { $op1 = new jm_BigInteger; $op1Sign = -$op2Sign | 0; $op2Sign = $op2.$numberLength; var$5 = $op2.$digits; $op1.$firstNonzeroDigit = (-2); $op1.$sign1 = $op1Sign; $op1.$numberLength = $op2Sign; $op1.$digits = var$5; } return $op1; } $op1Len = $op1.$numberLength; $op2Len = $op2.$numberLength; if (($op1Len + $op2Len | 0) == 2) { $a = Long_and(Long_fromInt($op1.$digits.data[0]), Long_create(4294967295, 0)); $b = Long_and(Long_fromInt($op2.$digits.data[0]), Long_create(4294967295, 0)); if ($op1Sign < 0) $a = Long_neg($a); if ($op2Sign < 0) $b = Long_neg($b); return jm_BigInteger_valueOf(Long_sub($a, $b)); } $resSign = $rt_compare($op1Len, $op2Len); $cmp = !$resSign ? jm_Elementary_compareArrays($op1.$digits, $op2.$digits, $op1Len) : $resSign <= 0 ? (-1) : 1; if ($cmp == (-1)) { $resSign = -$op2Sign | 0; if ($op1Sign == $op2Sign) { var$5 = $op2.$digits; var$12 = $op1.$digits; $resDigits = $rt_createIntArray($op2Len); jm_Elementary_subtract0($resDigits, var$5, $op2Len, var$12, $op1Len); } else { var$5 = $op2.$digits; var$12 = $op1.$digits; $resDigits = $rt_createIntArray($op2Len + 1 | 0); jm_Elementary_add0($resDigits, var$5, $op2Len, var$12, $op1Len); } } else if ($op1Sign != $op2Sign) { var$5 = $op1.$digits; var$12 = $op2.$digits; $resDigits = $rt_createIntArray($op1Len + 1 | 0); jm_Elementary_add0($resDigits, var$5, $op1Len, var$12, $op2Len); $resSign = $op1Sign; } else { if (!$cmp) return jm_BigInteger_ZERO; var$5 = $op1.$digits; var$12 = $op2.$digits; $resDigits = $rt_createIntArray($op1Len); jm_Elementary_subtract0($resDigits, var$5, $op1Len, var$12, $op2Len); $resSign = $op1Sign; } var$5 = $resDigits.data; $res = new jm_BigInteger; $op1Sign = var$5.length; $res.$firstNonzeroDigit = (-2); $res.$sign1 = $resSign; $res.$numberLength = $op1Sign; $res.$digits = $resDigits; jm_BigInteger_cutOffLeadingZeroes($res); return $res; }, jm_Elementary_subtract0 = ($res, $a, $aSize, $b, $bSize) => { let $borrow, $i, var$8, var$9, var$10, var$11; $borrow = Long_ZERO; $i = 0; while ($i < $bSize) { var$8 = $res.data; var$9 = $b.data; var$10 = Long_add($borrow, Long_sub(Long_and(Long_fromInt($a.data[$i]), Long_create(4294967295, 0)), Long_and(Long_fromInt(var$9[$i]), Long_create(4294967295, 0)))); var$8[$i] = Long_lo(var$10); $borrow = Long_shr(var$10, 32); $i = $i + 1 | 0; } while ($i < $aSize) { var$11 = $res.data; var$10 = Long_add($borrow, Long_and(Long_fromInt($a.data[$i]), Long_create(4294967295, 0))); var$11[$i] = Long_lo(var$10); $borrow = Long_shr(var$10, 32); $i = $i + 1 | 0; } }, jm_Elementary_inplaceAdd = ($a, $aSize, $addend) => { let $carry, $i, var$6, var$7; $carry = Long_and(Long_fromInt($addend), Long_create(4294967295, 0)); $i = 0; while (Long_ne($carry, Long_ZERO) && $i < $aSize) { var$6 = $a.data; var$7 = Long_add($carry, Long_and(Long_fromInt(var$6[$i]), Long_create(4294967295, 0))); var$6[$i] = Long_lo(var$7); $carry = Long_shr(var$7, 32); $i = $i + 1 | 0; } return Long_lo($carry); }, otcit_DoubleAnalyzer = $rt_classWithoutFields(), otcit_DoubleAnalyzer_MAX_MANTISSA = Long_ZERO, otcit_DoubleAnalyzer_resultForLog10 = null, otcit_DoubleAnalyzer_mantissa10Table = null, otcit_DoubleAnalyzer_exp10Table = null, otcit_DoubleAnalyzer__init_ = $this => { return; }, otcit_DoubleAnalyzer__init_0 = () => { let var_0 = new otcit_DoubleAnalyzer(); otcit_DoubleAnalyzer__init_(var_0); return var_0; }, otcit_DoubleAnalyzer_analyze = ($d, $result) => { let $bits, $mantissa, $exponent, var$6, $decExponent, $posCmp, $mantissaShift, $decMantissa, $decMantissaLow, $decMantissaHi, $lowerPos, $lowerPos_0, $upperPos, $upperPos_0; $bits = !(isNaN($d) ? 1 : 0) ? $rt_doubleToRawLongBits($d) : Long_create(0, 2146959360); $result.$sign2 = Long_eq(Long_and($bits, Long_create(0, 2147483648)), Long_ZERO) ? 0 : 1; $mantissa = Long_and($bits, Long_create(4294967295, 1048575)); $exponent = Long_lo(Long_shr($bits, 52)) & 2047; if (Long_eq($mantissa, Long_ZERO) && !$exponent) { $result.$mantissa = Long_ZERO; $result.$exponent = 0; return; } if ($exponent) $mantissa = Long_or($mantissa, Long_create(0, 1048576)); else { $mantissa = Long_shl($mantissa, 1); while (Long_eq(Long_and($mantissa, Long_create(0, 1048576)), Long_ZERO)) { $mantissa = Long_shl($mantissa, 1); $exponent = $exponent + (-1) | 0; } } var$6 = otcit_DoubleAnalyzer_exp10Table; $decExponent = ju_Arrays_binarySearch1(var$6, 0, var$6.data.length, $exponent << 16 >> 16); if ($decExponent < 0) $decExponent = -$decExponent | 0; var$6 = otcit_DoubleAnalyzer_exp10Table.data; $posCmp = $decExponent + 1 | 0; $mantissaShift = 12 + ($exponent - var$6[$posCmp] | 0) | 0; $decMantissa = otcit_DoubleAnalyzer_mulAndShiftRight($mantissa, otcit_DoubleAnalyzer_mantissa10Table.data[$posCmp], $mantissaShift); if (Long_le($decMantissa, otcit_DoubleAnalyzer_MAX_MANTISSA)) { while (jl_Long_compareUnsigned($decMantissa, otcit_DoubleAnalyzer_MAX_MANTISSA) <= 0) { $decExponent = $decExponent + (-1) | 0; $decMantissa = Long_add(Long_mul($decMantissa, Long_fromInt(10)), Long_fromInt(9)); } var$6 = otcit_DoubleAnalyzer_exp10Table.data; $posCmp = $decExponent + 1 | 0; $mantissaShift = 12 + ($exponent - var$6[$posCmp] | 0) | 0; $decMantissa = otcit_DoubleAnalyzer_mulAndShiftRight($mantissa, otcit_DoubleAnalyzer_mantissa10Table.data[$posCmp], $mantissaShift); } $mantissa = Long_shl($mantissa, 1); $bits = Long_add($mantissa, Long_fromInt(1)); var$6 = otcit_DoubleAnalyzer_mantissa10Table.data; $posCmp = $decExponent + 1 | 0; $decMantissaLow = var$6[$posCmp]; $exponent = $mantissaShift - 1 | 0; $decMantissaHi = otcit_DoubleAnalyzer_mulAndShiftRight($bits, $decMantissaLow, $exponent); $decMantissaLow = otcit_DoubleAnalyzer_mulAndShiftRight(Long_sub($mantissa, Long_fromInt(1)), otcit_DoubleAnalyzer_mantissa10Table.data[$posCmp], $exponent); $lowerPos = Long_fromInt(1); while (true) { $lowerPos_0 = Long_mul($lowerPos, Long_fromInt(10)); if (jl_Long_compareUnsigned(jl_Long_divideUnsigned($decMantissa, $lowerPos_0), jl_Long_divideUnsigned($decMantissaLow, $lowerPos_0)) <= 0) break; $lowerPos = $lowerPos_0; } $upperPos = Long_fromInt(1); while (true) { $upperPos_0 = Long_mul($upperPos, Long_fromInt(10)); if (jl_Long_compareUnsigned(jl_Long_divideUnsigned($decMantissa, $upperPos_0), jl_Long_divideUnsigned($decMantissaHi, $upperPos_0)) >= 0) break; $upperPos = $upperPos_0; } $posCmp = jl_Long_compareUnsigned($lowerPos, $upperPos); $mantissa = $posCmp > 0 ? Long_mul(jl_Long_divideUnsigned($decMantissa, $lowerPos), $lowerPos) : $posCmp < 0 ? Long_add(Long_mul(jl_Long_divideUnsigned($decMantissa, $upperPos), $upperPos), $upperPos) : Long_mul(jl_Long_divideUnsigned(Long_add($decMantissa, Long_div($upperPos, Long_fromInt(2))), $upperPos), $upperPos); if (jl_Long_compareUnsigned($mantissa, Long_create(2808348672, 232830643)) >= 0) while (true) { $decExponent = $decExponent + 1 | 0; $mantissa = jl_Long_divideUnsigned($mantissa, Long_fromInt(10)); if (jl_Long_compareUnsigned($mantissa, Long_create(2808348672, 232830643)) < 0) break; } else if (jl_Long_compareUnsigned($mantissa, Long_create(1569325056, 23283064)) < 0) { $decExponent = $decExponent + (-1) | 0; $mantissa = Long_mul($mantissa, Long_fromInt(10)); } $result.$mantissa = $mantissa; $result.$exponent = $decExponent - 330 | 0; }, otcit_DoubleAnalyzer_mulAndShiftRight = ($a, $b, $shift) => { let $a1, $a2, $a3, $a4, $b1, $b2, $b3, $b4; $a1 = Long_and($a, Long_fromInt(65535)); $a2 = Long_and(Long_shru($a, 16), Long_fromInt(65535)); $a3 = Long_and(Long_shru($a, 32), Long_fromInt(65535)); $a4 = Long_and(Long_shru($a, 48), Long_fromInt(65535)); $b1 = Long_and($b, Long_fromInt(65535)); $b2 = Long_and(Long_shru($b, 16), Long_fromInt(65535)); $b3 = Long_and(Long_shru($b, 32), Long_fromInt(65535)); $b4 = Long_and(Long_shru($b, 48), Long_fromInt(65535)); return Long_add(Long_add(Long_add(Long_shl(Long_mul($b4, $a4), 32 + $shift | 0), Long_shl(Long_add(Long_mul($b4, $a3), Long_mul($b3, $a4)), 16 + $shift | 0)), Long_shl(Long_add(Long_add(Long_mul($b4, $a2), Long_mul($b3, $a3)), Long_mul($b2, $a4)), $shift)), Long_shru(Long_add(Long_add(Long_add(Long_mul($b3, $a1), Long_mul($b2, $a2)), Long_mul($b1, $a3)), Long_shl(Long_add(Long_add(Long_add(Long_mul($b4, $a1), Long_mul($b3, $a2)), Long_mul($b2, $a3)), Long_mul($b1, $a4)), 16)), 32 - $shift | 0)); }, otcit_DoubleAnalyzer__clinit_ = () => { otcit_DoubleAnalyzer_MAX_MANTISSA = jl_Long_divideUnsigned(Long_fromInt(-1), Long_fromInt(10)); otcit_DoubleAnalyzer_resultForLog10 = otcit_DoubleAnalyzer$Result__init_0(); otcit_DoubleAnalyzer_mantissa10Table = $rt_createLongArrayFromData([Long_create(3251292512, 2194092222), Long_create(1766094183, 3510547556), Long_create(553881887, 2808438045), Long_create(443105509, 2246750436), Long_create(3285949193, 3594800697), Long_create(910772436, 2875840558), Long_create(2446604867, 2300672446), Long_create(2196580869, 3681075914), Long_create(2616258154, 2944860731), Long_create(1234013064, 2355888585), Long_create(1974420903, 3769421736), Long_create(720543263, 3015537389), Long_create(1435428070, 2412429911), Long_create(578697993, 3859887858), Long_create(2180945313, 3087910286), Long_create(885762791, 2470328229), Long_create(3135207384, 3952525166), Long_create(1649172448, 3162020133), Long_create(3037324877, 2529616106), Long_create(3141732885, 4047385770), Long_create(2513386308, 3237908616), Long_create(1151715587, 2590326893), Long_create(983751480, 4144523029), Long_create(1645994643, 3315618423), Long_create(3034782633, 2652494738), Long_create(3996658754, 4243991581), Long_create(2338333544, 3395193265), Long_create(1870666835, 2716154612), Long_create(4073513845, 2172923689), Long_create(3940641775, 3476677903), Long_create(575533043, 2781342323), Long_create(2178413352, 2225073858), Long_create(2626467905, 3560118173), Long_create(3819161242, 2848094538), Long_create(478348616, 2278475631), Long_create(3342338164, 3645561009), Long_create(3532863990, 2916448807), Long_create(1108304273, 2333159046), Long_create(55299919, 3733054474), Long_create(903233395, 2986443579), Long_create(1581580175, 2389154863), Long_create(1671534821, 3822647781), Long_create(478234397, 3058118225), Long_create(382587518, 2446494580), Long_create(612140029, 3914391328), Long_create(2207698941, 3131513062), Long_create(48172235, 2505210450), Long_create(77075576, 4008336720), Long_create(61660460, 3206669376), Long_create(3485302205, 2565335500), Long_create(1281516232, 4104536801), Long_create(166219527, 3283629441), Long_create(3568949458, 2626903552), Long_create(2274345296, 4203045684), Long_create(2678469696, 3362436547), Long_create(424788838, 2689949238), Long_create(2057817989, 2151959390), Long_create(3292508783, 3443135024), Long_create(3493000485, 2754508019), Long_create(3653393847, 2203606415), Long_create(1550462860, 3525770265), Long_create(1240370288, 2820616212), Long_create(3569276608, 2256492969), Long_create(3133862195, 3610388751), Long_create(1648096297, 2888311001), Long_create(459483578, 2310648801), Long_create(3312154103, 3697038081), Long_create(1790729823, 2957630465), Long_create(1432583858, 2366104372), Long_create(3151127633, 3785766995), Long_create(2520902106, 3028613596), Long_create(1157728226, 2422890877), Long_create(2711358621, 3876625403), Long_create(3887073815, 3101300322), Long_create(1391672133, 2481040258), Long_create(1367681954, 3969664413), Long_create(2812132482, 3175731530), Long_create(2249705985, 2540585224), Long_create(1022549199, 4064936359), Long_create(1677032818, 3251949087), Long_create(3918606632, 2601559269), Long_create(3692790234, 4162494831), Long_create(2095238728, 3329995865), Long_create(1676190982, 2663996692), Long_create(3540899031, 4262394707), Long_create(1114732307, 3409915766), Long_create(32792386, 2727932613), Long_create(1744220827, 2182346090), Long_create(2790753324, 3491753744), Long_create(3091596118, 2793402995), Long_create(2473276894, 2234722396), Long_create(2239256113, 3575555834), Long_create(2650398349, 2860444667), Long_create(402331761, 2288355734), Long_create(2361717736, 3661369174), Long_create(2748367648, 2929095339), Long_create(3057687578, 2343276271), Long_create(3174313206, 3749242034), Long_create(3398444024, 2999393627), Long_create(1000768301, 2399514902), Long_create(2460222741, 3839223843), Long_create(3686165111, 3071379074), Long_create(3807925548, 2457103259), Long_create(3515700499, 3931365215), Long_create(2812560399, 3145092172), Long_create(532061401, 2516073738), Long_create(4287272078, 4025717980), Long_create(3429817663, 3220574384), Long_create(3602847589, 2576459507), Long_create(2328582306, 4122335212), Long_create(144878926, 3297868170), Long_create(115903141, 2638294536), Long_create(2762425404, 4221271257), Long_create(491953404, 3377017006), Long_create(3829536560, 2701613604), Long_create(3922622707, 2161290883), Long_create(1122235577, 3458065414), Long_create(1756781920, 2766452331), Long_create(546432077, 2213161865), Long_create(874291324, 3541058984), Long_create(1558426518, 2832847187), Long_create(3823721592, 2266277749), Long_create(3540974170, 3626044399), Long_create(3691772795, 2900835519), Long_create(3812411695, 2320668415), Long_create(1804891416, 3713069465), Long_create(1443913133, 2970455572), Long_create(3732110884, 2376364457), Long_create(2535403578, 3802183132), Long_create(310335944, 3041746506), Long_create(3684242592, 2433397204), Long_create(3317807769, 3893435527), Long_create(936259297, 3114748422), Long_create(3325987815, 2491798737), Long_create(1885606668, 3986877980), Long_create(1508485334, 3189502384), Long_create(2065781726, 2551601907), Long_create(4164244222, 4082563051), Long_create(2472401918, 3266050441), Long_create(1118928075, 2612840353), Long_create(931291461, 4180544565), Long_create(745033169, 3344435652), Long_create(3173006913, 2675548521), Long_create(3358824142, 4280877634), Long_create(3546052773, 3424702107), Long_create(1118855300, 2739761686), Long_create(36090780, 2191809349), Long_create(1775732167, 3506894958), Long_create(3138572652, 2805515966), Long_create(1651864662, 2244412773), Long_create(1783990001, 3591060437), Long_create(4004172378, 2872848349), Long_create(4062331362, 2298278679), Long_create(3922749802, 3677245887), Long_create(1420212923, 2941796710), Long_create(1136170338, 2353437368), Long_create(958879082, 3765499789), Long_create(1626096725, 3012399831), Long_create(441883920, 2409919865), Long_create(707014273, 3855871784), Long_create(1424604878, 3084697427), Long_create(3716664280, 2467757941), Long_create(4228675929, 3948412706), Long_create(2523947284, 3158730165), Long_create(2019157827, 2526984132), Long_create(4089645983, 4043174611), Long_create(2412723327, 3234539689), Long_create(2789172121, 2587631751), Long_create(2744688475, 4140210802), Long_create(477763862, 3312168642), Long_create(2959191467, 2649734913), Long_create(3875712888, 4239575861), Long_create(2241576851, 3391660689), Long_create(2652254940, 2713328551), Long_create(1262810493, 2170662841), Long_create(302509870, 3473060546), Long_create(3677981733, 2778448436), Long_create(2083391927, 2222758749), Long_create(756446706, 3556413999), Long_create(1464150824, 2845131199), Long_create(2030314118, 2276104959), Long_create(671522212, 3641767935), Long_create(537217769, 2913414348), Long_create(2147761134, 2330731478), Long_create(2577424355, 3729170365), Long_create(2061939484, 2983336292), Long_create(4226531965, 2386669033), Long_create(1608490388, 3818670454), Long_create(2145785770, 3054936363), Long_create(3434615534, 2443949090), Long_create(1200417559, 3910318545), Long_create(960334047, 3128254836), Long_create(4204241074, 2502603868), Long_create(1572824964, 4004166190), Long_create(1258259971, 3203332952), Long_create(3583588354, 2562666361), Long_create(4015754449, 4100266178), Long_create(635623181, 3280212943), Long_create(2226485463, 2624170354), Long_create(985396364, 4198672567), Long_create(3365297469, 3358938053), Long_create(115257597, 2687150443), Long_create(1810192996, 2149720354), Long_create(319328417, 3439552567), Long_create(2832443111, 2751642053), Long_create(3983941407, 2201313642), Long_create(2938332415, 3522101828), Long_create(4068652850, 2817681462), Long_create(1536935362, 2254145170), Long_create(2459096579, 3606632272), Long_create(249290345, 2885305818), Long_create(1917419194, 2308244654), Long_create(490890333, 3693191447), Long_create(2969692644, 2954553157), Long_create(657767197, 2363642526), Long_create(3629407892, 3781828041), Long_create(2044532855, 3025462433), Long_create(3353613202, 2420369946), Long_create(3647794205, 3872591914), Long_create(3777228823, 3098073531), Long_create(2162789599, 2478458825), Long_create(3460463359, 3965534120), Long_create(2768370687, 3172427296), Long_create(1355703090, 2537941837), Long_create(3028118404, 4060706939), Long_create(3281488183, 3248565551), Long_create(1766197087, 2598852441), Long_create(1107928421, 4158163906), Long_create(27349277, 3326531125), Long_create(21879422, 2661224900), Long_create(35007075, 4257959840), Long_create(28005660, 3406367872), Long_create(2599384905, 2725094297), Long_create(361521006, 2180075438), Long_create(4014407446, 3488120700), Long_create(3211525957, 2790496560), Long_create(2569220766, 2232397248), Long_create(3251759766, 3571835597), Long_create(883420894, 2857468478), Long_create(2424723634, 2285974782), Long_create(443583977, 3657559652), Long_create(2931847559, 2926047721), Long_create(1486484588, 2340838177), Long_create(3237368801, 3745341083), Long_create(12914663, 2996272867), Long_create(2587312108, 2397018293), Long_create(3280705914, 3835229269), Long_create(3483558190, 3068183415), Long_create(2786846552, 2454546732), Long_create(1022980646, 3927274772), Long_create(3395364895, 3141819817), Long_create(998304997, 2513455854), Long_create(3315274914, 4021529366), Long_create(1793226472, 3217223493), Long_create(3152568096, 2573778794), Long_create(2467128576, 4118046071), Long_create(1114709402, 3294436857), Long_create(3468747899, 2635549485), Long_create(1255029343, 4216879177), Long_create(3581003852, 3373503341), Long_create(2005809622, 2698802673), Long_create(3322634616, 2159042138), Long_create(162254630, 3454467422), Long_create(2706784082, 2763573937), Long_create(447440347, 2210859150), Long_create(715904555, 3537374640), Long_create(572723644, 2829899712), Long_create(3035159293, 2263919769), Long_create(2279274491, 3622271631), Long_create(964426134, 2897817305), Long_create(771540907, 2318253844), Long_create(2952452370, 3709206150), Long_create(2361961896, 2967364920), Long_create(1889569516, 2373891936), Long_create(1305324308, 3798227098), Long_create(2762246365, 3038581678), Long_create(3927784010, 2430865342), Long_create(2848480580, 3889384548), Long_create(3996771382, 3111507638), Long_create(620436728, 2489206111), Long_create(3569679143, 3982729777), Long_create(1137756396, 3186183822), Long_create(3487185494, 2548947057), Long_create(2143522954, 4078315292), Long_create(4291798741, 3262652233), Long_create(856458615, 2610121787), Long_create(2229327243, 4176194859), Long_create(2642455254, 3340955887), Long_create(395977285, 2672764710), Long_create(633563656, 4276423536), Long_create(3942824761, 3421138828), Long_create(577279431, 2736911063), Long_create(2179810463, 2189528850), Long_create(3487696741, 3503246160), Long_create(2790157393, 2802596928), Long_create(3950112833, 2242077542), Long_create(2884206696, 3587324068), Long_create(4025352275, 2869859254), Long_create(4079275279, 2295887403), Long_create(1372879692, 3673419846), Long_create(239310294, 2938735877), Long_create(2768428613, 2350988701), Long_create(2711498862, 3761581922), Long_create(451212171, 3009265538), Long_create(2078956655, 2407412430), Long_create(3326330649, 3851859888), Long_create(84084141, 3081487911), Long_create(3503241150, 2465190328), Long_create(451225085, 3944304526), Long_create(3796953905, 3155443620), Long_create(3037563124, 2524354896), Long_create(3142114080, 4038967834), Long_create(3372684723, 3231174267), Long_create(980160860, 2584939414), Long_create(3286244294, 4135903062), Long_create(911008517, 3308722450), Long_create(728806813, 2646977960), Long_create(1166090902, 4235164736), Long_create(73879262, 3388131789), Long_create(918096869, 2710505431), Long_create(4170451332, 2168404344), Long_create(4095741754, 3469446951), Long_create(2417599944, 2775557561), Long_create(1075086496, 2220446049), Long_create(3438125312, 3552713678), Long_create(173519872, 2842170943), Long_create(1856802816, 2273736754), Long_create(393904128, 3637978807), Long_create(2892103680, 2910383045), Long_create(2313682944, 2328306436), Long_create(1983905792, 3725290298), Long_create(3305111552, 2980232238), Long_create(67108864, 2384185791), Long_create(2684354560, 3814697265), Long_create(2147483648, 3051757812), Long_create(0, 2441406250), Long_create(0, 3906250000), Long_create(0, 3125000000), Long_create(0, 2500000000), Long_create(0, 4000000000), Long_create(0, 3200000000), Long_create(0, 2560000000), Long_create(0, 4096000000), Long_create(0, 3276800000), Long_create(0, 2621440000), Long_create(0, 4194304000), Long_create(0, 3355443200), Long_create(0, 2684354560), Long_create(0, 2147483648), Long_create(3435973836, 3435973836), Long_create(1889785610, 2748779069), Long_create(2370821947, 2199023255), Long_create(3793315115, 3518437208), Long_create(457671715, 2814749767), Long_create(2943117749, 2251799813), Long_create(3849994940, 3602879701), Long_create(2221002492, 2882303761), Long_create(917808535, 2305843009), Long_create(3186480574, 3689348814), Long_create(3408177918, 2951479051), Long_create(1867548875, 2361183241), Long_create(1270091283, 3777893186), Long_create(157079567, 3022314549), Long_create(984657113, 2417851639), Long_create(3293438299, 3868562622), Long_create(916763721, 3094850098), Long_create(2451397895, 2475880078), Long_create(3063243173, 3961408125), Long_create(2450594538, 3169126500), Long_create(1960475630, 2535301200), Long_create(3136761009, 4056481920), Long_create(2509408807, 3245185536), Long_create(1148533586, 2596148429), Long_create(3555640657, 4153837486), Long_create(1985519066, 3323069989), Long_create(2447408712, 2658455991), Long_create(2197867021, 4253529586), Long_create(899300158, 3402823669), Long_create(1578433585, 2722258935), Long_create(1262746868, 2177807148), Long_create(1161401530, 3484491437), Long_create(3506101601, 2787593149), Long_create(3663874740, 2230074519), Long_create(3285219207, 3568119231), Long_create(1769181906, 2854495385), Long_create(1415345525, 2283596308), Long_create(1405559381, 3653754093), Long_create(2842434423, 2923003274), Long_create(3132940998, 2338402619), Long_create(2435725219, 3741444191), Long_create(1089586716, 2993155353), Long_create(2589656291, 2394524282), Long_create(707476229, 3831238852), Long_create(3142961361, 3064991081), Long_create(1655375629, 2451992865), Long_create(2648601007, 3923188584), Long_create(2977874265, 3138550867), Long_create(664312493, 2510840694), Long_create(2780886908, 4017345110), Long_create(2224709526, 3213876088), Long_create(3497754539, 2571100870), Long_create(1301439967, 4113761393), Long_create(2759138892, 3291009114), Long_create(3066304573, 2632807291), Long_create(3188100398, 4212491666), Long_create(1691486859, 3369993333), Long_create(3071176406, 2695994666), Long_create(1597947665, 2156795733), Long_create(1697722806, 3450873173), Long_create(3076165163, 2760698538), Long_create(4178919049, 2208558830), Long_create(2391303182, 3533694129), Long_create(2772036005, 2826955303), Long_create(3935615722, 2261564242), Long_create(2861011319, 3618502788), Long_create(4006795973, 2894802230), Long_create(3205436779, 2315841784), Long_create(2551718468, 3705346855), Long_create(2041374775, 2964277484), Long_create(2492093279, 2371421987), Long_create(551375410, 3794275180), Long_create(441100328, 3035420144), Long_create(1211873721, 2428336115), Long_create(1938997954, 3885337784), Long_create(2410191822, 3108270227), Long_create(210166539, 2486616182), Long_create(1195259923, 3978585891), Long_create(97214479, 3182868713), Long_create(1795758501, 2546294970), Long_create(2873213602, 4074071952), Long_create(580583963, 3259257562), Long_create(3041447548, 2607406049), Long_create(2289335700, 4171849679), Long_create(2690462019, 3337479743), Long_create(3870356534, 2669983794), Long_create(3615590076, 4271974071), Long_create(2033478602, 3417579257), Long_create(4203763259, 2734063405), Long_create(3363010607, 2187250724), Long_create(2803836594, 3499601159), Long_create(3102062734, 2799680927), Long_create(763663269, 2239744742), Long_create(2080854690, 3583591587), Long_create(4241664129, 2866873269), Long_create(4252324763, 2293498615), Long_create(2508752324, 3669597785), Long_create(2007001859, 2935678228), Long_create(3323588406, 2348542582), Long_create(1881767613, 3757668132), Long_create(4082394468, 3006134505), Long_create(3265915574, 2404907604), Long_create(2648484541, 3847852167), Long_create(400800715, 3078281734), Long_create(1179634031, 2462625387), Long_create(2746407909, 3940200619), Long_create(3056119786, 3152160495), Long_create(2444895829, 2521728396), Long_create(2193846408, 4034765434), Long_create(2614070585, 3227812347), Long_create(373269550, 2582249878), Long_create(4033205117, 4131599804), Long_create(4085557553, 3305279843), Long_create(691465664, 2644223875), Long_create(1106345063, 4230758200), Long_create(885076050, 3384606560), Long_create(708060840, 2707685248), Long_create(2284435591, 2166148198), Long_create(2796103486, 3465837117), Long_create(518895870, 2772669694), Long_create(1274110155, 2218135755), Long_create(2038576249, 3549017208), Long_create(3348847917, 2839213766), Long_create(1820084875, 2271371013), Long_create(2053142340, 3634193621), Long_create(783520413, 2907354897), Long_create(3203796708, 2325883917), Long_create(1690100896, 3721414268), Long_create(3070067635, 2977131414), Long_create(3315047567, 2381705131), Long_create(3586089190, 3810728210), Long_create(2868871352, 3048582568), Long_create(4013084000, 2438866054), Long_create(3843954022, 3902185687), Long_create(1357176299, 3121748550), Long_create(1085741039, 2497398840), Long_create(1737185663, 3995838144), Long_create(2248741989, 3196670515), Long_create(1798993591, 2557336412), Long_create(3737383206, 4091738259), Long_create(3848900024, 3273390607), Long_create(1361133101, 2618712486), Long_create(459826043, 4189939978), Long_create(2085847752, 3351951982), Long_create(4245658579, 2681561585), Long_create(2498086431, 4290498537), Long_create(280482227, 3432398830), Long_create(224385781, 2745919064), Long_create(1038502084, 2196735251), Long_create(4238583712, 3514776401), Long_create(2531873511, 2811821121), Long_create(1166505349, 2249456897), Long_create(2725402018, 3599131035), Long_create(2180321615, 2879304828), Long_create(3462244210, 2303443862), Long_create(2103616899, 3685510180), Long_create(1682893519, 2948408144), Long_create(2205308275, 2358726515), Long_create(3528493240, 3773962424), Long_create(3681788051, 3019169939), Long_create(3804423900, 2415335951), Long_create(74124026, 3864537523), Long_create(1777286139, 3091630018), Long_create(3139815829, 2473304014), Long_create(2446724950, 3957286423), Long_create(3675366878, 3165829138), Long_create(363313125, 2532663311), Long_create(3158281377, 4052261297), Long_create(808638183, 3241809038), Long_create(2364897465, 2593447230), Long_create(3783835944, 4149515568), Long_create(450088378, 3319612455), Long_create(360070702, 2655689964), Long_create(2294100042, 4249103942), Long_create(117293115, 3399283154), Long_create(952827951, 2719426523), Long_create(2480249279, 2175541218), Long_create(3109405388, 3480865949), Long_create(3346517769, 2784692759), Long_create(3536207675, 2227754207), Long_create(2221958443, 3564406732), Long_create(59579836, 2851525386), Long_create(3483637705, 2281220308), Long_create(419859574, 3649952494), Long_create(1194881118, 2919961995), Long_create(955904894, 2335969596), Long_create(4106428209, 3737551353), Long_create(708162189, 2990041083), Long_create(2284516670, 2392032866), Long_create(1937239754, 3827252586), Long_create(690798344, 3061802069), Long_create(1411632134, 2449441655), Long_create(2258611415, 3919106648), Long_create(3524876050, 3135285318), Long_create(242920462, 2508228255), Long_create(388672740, 4013165208), Long_create(2028925110, 3210532166), Long_create(764146629, 2568425733), Long_create(363641147, 4109481173), Long_create(2008899836, 3287584938), Long_create(3325106787, 2630067950), Long_create(1025203564, 4208108721), Long_create(4256136688, 3366486976), Long_create(2545915891, 2693189581), Long_create(1177739254, 2154551665), Long_create(1884382806, 3447282664), Long_create(2366499704, 2757826131), Long_create(1034206304, 2206260905), Long_create(1654730086, 3530017448), Long_create(3041770987, 2824013958), Long_create(4151403708, 2259211166), Long_create(629291719, 3614737867), Long_create(3080413753, 2891790293), Long_create(4182317920, 2313432234), Long_create(4114728295, 3701491575), Long_create(3291782636, 2961193260), Long_create(2633426109, 2368954608), Long_create(3354488315, 3790327373), Long_create(106610275, 3032261899), Long_create(944281679, 2425809519), Long_create(3228837605, 3881295230), Long_create(2583070084, 3105036184), Long_create(2925449526, 2484028947), Long_create(1244745405, 3974446316), Long_create(136802865, 3179557053), Long_create(1827429210, 2543645642), Long_create(3782880196, 4069833027), Long_create(1308317238, 3255866422), Long_create(3623634168, 2604693137), Long_create(2361840832, 4167509020), Long_create(1889472666, 3334007216), Long_create(652584673, 2667205773), Long_create(185142018, 4267529237), Long_create(2725093992, 3414023389), Long_create(3039068653, 2731218711), Long_create(1572261463, 2184974969), Long_create(4233605259, 3495959950), Long_create(3386884207, 2796767960), Long_create(2709507366, 2237414368), Long_create(3476218326, 3579862989), Long_create(3639968120, 2863890391), Long_create(2052981037, 2291112313), Long_create(2425776200, 3665779701), Long_create(1081627501, 2932623761), Long_create(6308541, 2346099009), Long_create(1728080585, 3753758414), Long_create(2241457927, 3003006731), Long_create(934172882, 2402405385), Long_create(1494676612, 3843848616), Long_create(336747830, 3075078893), Long_create(1987385183, 2460063114), Long_create(602835915, 3936100983), Long_create(2200255650, 3148880786), Long_create(901211061, 2519104629), Long_create(3159924616, 4030567406), Long_create(1668946233, 3224453925), Long_create(1335156987, 2579563140), Long_create(2136251179, 4127301024), Long_create(2567994402, 3301840819), Long_create(2913388981, 2641472655), Long_create(366455074, 4226356249), Long_create(1152157518, 3381084999), Long_create(1780719474, 2704867999), Long_create(2283569038, 2163894399), Long_create(1076730083, 3462231039), Long_create(1720377526, 2769784831), Long_create(517308561, 2215827865), Long_create(827693699, 3545324584), Long_create(1521148418, 2836259667), Long_create(3793899112, 2269007733), Long_create(916277824, 3630412374), Long_create(1592015718, 2904329899), Long_create(2132606034, 2323463919), Long_create(835189277, 3717542271), Long_create(4104125258, 2974033816), Long_create(2424306747, 2379227053), Long_create(3019897337, 3806763285), Long_create(2415917869, 3045410628), Long_create(3650721214, 2436328502), Long_create(2405180105, 3898125604), Long_create(2783137543, 3118500483), Long_create(3944496953, 2494800386), Long_create(298240911, 3991680619), Long_create(1097586188, 3193344495), Long_create(878068950, 2554675596), Long_create(3981890698, 4087480953), Long_create(608532181, 3269984763), Long_create(2204812663, 2615987810), Long_create(3527700261, 4185580496), Long_create(1963166749, 3348464397), Long_create(4147513777, 2678771517), Long_create(3200048207, 4286034428), Long_create(4278025484, 3428827542), Long_create(1704433468, 2743062034), Long_create(2222540234, 2194449627), Long_create(120090538, 3511119404), Long_create(955065889, 2808895523), Long_create(2482039630, 2247116418), Long_create(3112269949, 3595386269), Long_create(3348809418, 2876309015), Long_create(2679047534, 2301047212), Long_create(850502218, 3681675540), Long_create(680401775, 2945340432), Long_create(3121301797, 2356272345), Long_create(699115580, 3770035753), Long_create(2277279382, 3016028602), Long_create(103836587, 2412822882), Long_create(1025131999, 3860516611), Long_create(4256079436, 3088413288), Long_create(827883168, 2470730631), Long_create(3901593088, 3953169009)]); otcit_DoubleAnalyzer_exp10Table = $rt_createShortArrayFromData([(-70), (-66), (-63), (-60), (-56), (-53), (-50), (-46), (-43), (-40), (-36), (-33), (-30), (-26), (-23), (-20), (-16), (-13), (-10), (-6), (-3), 0, 4, 7, 10, 14, 17, 20, 23, 27, 30, 33, 37, 40, 43, 47, 50, 53, 57, 60, 63, 67, 70, 73, 77, 80, 83, 87, 90, 93, 97, 100, 103, 107, 110, 113, 116, 120, 123, 126, 130, 133, 136, 140, 143, 146, 150, 153, 156, 160, 163, 166, 170, 173, 176, 180, 183, 186, 190, 193, 196, 200, 203, 206, 210, 213, 216, 219, 223, 226, 229, 233, 236, 239, 243, 246, 249, 253, 256, 259, 263, 266, 269, 273, 276, 279, 283, 286, 289, 293, 296, 299, 303, 306, 309, 312, 316, 319, 322, 326, 329, 332, 336, 339, 342, 346, 349, 352, 356, 359, 362, 366, 369, 372, 376, 379, 382, 386, 389, 392, 396, 399, 402, 406, 409, 412, 415, 419, 422, 425, 429, 432, 435, 439, 442, 445, 449, 452, 455, 459, 462, 465, 469, 472, 475, 479, 482, 485, 489, 492, 495, 499, 502, 505, 508, 512, 515, 518, 522, 525, 528, 532, 535, 538, 542, 545, 548, 552, 555, 558, 562, 565, 568, 572, 575, 578, 582, 585, 588, 592, 595, 598, 601, 605, 608, 611, 615, 618, 621, 625, 628, 631, 635, 638, 641, 645, 648, 651, 655, 658, 661, 665, 668, 671, 675, 678, 681, 685, 688, 691, 695, 698, 701, 704, 708, 711, 714, 718, 721, 724, 728, 731, 734, 738, 741, 744, 748, 751, 754, 758, 761, 764, 768, 771, 774, 778, 781, 784, 788, 791, 794, 797, 801, 804, 807, 811, 814, 817, 821, 824, 827, 831, 834, 837, 841, 844, 847, 851, 854, 857, 861, 864, 867, 871, 874, 877, 881, 884, 887, 891, 894, 897, 900, 904, 907, 910, 914, 917, 920, 924, 927, 930, 934, 937, 940, 944, 947, 950, 954, 957, 960, 964, 967, 970, 974, 977, 980, 984, 987, 990, 993, 997, 1000, 1003, 1007, 1010, 1013, 1017, 1020, 1023, 1027, 1030, 1033, 1037, 1040, 1043, 1047, 1050, 1053, 1057, 1060, 1063, 1067, 1070, 1073, 1077, 1080, 1083, 1086, 1090, 1093, 1096, 1100, 1103, 1106, 1110, 1113, 1116, 1120, 1123, 1126, 1130, 1133, 1136, 1140, 1143, 1146, 1150, 1153, 1156, 1160, 1163, 1166, 1170, 1173, 1176, 1180, 1183, 1186, 1189, 1193, 1196, 1199, 1203, 1206, 1209, 1213, 1216, 1219, 1223, 1226, 1229, 1233, 1236, 1239, 1243, 1246, 1249, 1253, 1256, 1259, 1263, 1266, 1269, 1273, 1276, 1279, 1282, 1286, 1289, 1292, 1296, 1299, 1302, 1306, 1309, 1312, 1316, 1319, 1322, 1326, 1329, 1332, 1336, 1339, 1342, 1346, 1349, 1352, 1356, 1359, 1362, 1366, 1369, 1372, 1376, 1379, 1382, 1385, 1389, 1392, 1395, 1399, 1402, 1405, 1409, 1412, 1415, 1419, 1422, 1425, 1429, 1432, 1435, 1439, 1442, 1445, 1449, 1452, 1455, 1459, 1462, 1465, 1469, 1472, 1475, 1478, 1482, 1485, 1488, 1492, 1495, 1498, 1502, 1505, 1508, 1512, 1515, 1518, 1522, 1525, 1528, 1532, 1535, 1538, 1542, 1545, 1548, 1552, 1555, 1558, 1562, 1565, 1568, 1572, 1575, 1578, 1581, 1585, 1588, 1591, 1595, 1598, 1601, 1605, 1608, 1611, 1615, 1618, 1621, 1625, 1628, 1631, 1635, 1638, 1641, 1645, 1648, 1651, 1655, 1658, 1661, 1665, 1668, 1671, 1674, 1678, 1681, 1684, 1688, 1691, 1694, 1698, 1701, 1704, 1708, 1711, 1714, 1718, 1721, 1724, 1728, 1731, 1734, 1738, 1741, 1744, 1748, 1751, 1754, 1758, 1761, 1764, 1767, 1771, 1774, 1777, 1781, 1784, 1787, 1791, 1794, 1797, 1801, 1804, 1807, 1811, 1814, 1817, 1821, 1824, 1827, 1831, 1834, 1837, 1841, 1844, 1847, 1851, 1854, 1857, 1861, 1864, 1867, 1870, 1874, 1877, 1880, 1884, 1887, 1890, 1894, 1897, 1900, 1904, 1907, 1910, 1914, 1917, 1920, 1924, 1927, 1930, 1934, 1937, 1940, 1944, 1947, 1950, 1954, 1957, 1960, 1963, 1967, 1970, 1973, 1977, 1980, 1983, 1987, 1990, 1993, 1997, 2000, 2003, 2007, 2010, 2013, 2017, 2020, 2023, 2027, 2030, 2033, 2037, 2040, 2043, 2047, 2050, 2053, 2057, 2060, 2063, 2066, 2070, 2073, 2076, 2080, 2083, 2086, 2090, 2093, 2096, 2100, 2103, 2106, 2110, 2113, 2116, 2120]); }; function nleg_StreamBuffer$PoolInstance() { let a = this; jl_Object.call(a); a.$vertexBuffer = null; a.$vertexBufferSize = 0; } let nleg_StreamBuffer$PoolInstance__init_ = $this => { $this.$vertexBuffer = null; $this.$vertexBufferSize = 0; }, nleg_StreamBuffer$PoolInstance__init_0 = () => { let var_0 = new nleg_StreamBuffer$PoolInstance(); nleg_StreamBuffer$PoolInstance__init_(var_0); return var_0; }; function otcit_DoubleAnalyzer$Result() { let a = this; jl_Object.call(a); a.$mantissa = Long_ZERO; a.$exponent = 0; a.$sign2 = 0; } let otcit_DoubleAnalyzer$Result__init_ = $this => { return; }, otcit_DoubleAnalyzer$Result__init_0 = () => { let var_0 = new otcit_DoubleAnalyzer$Result(); otcit_DoubleAnalyzer$Result__init_(var_0); return var_0; }; function nlesrp_IPacket00Handshake() { let a = this; nlesrp_IPacket.call(a); a.$connectionType = 0; a.$connectionVersion = 0; a.$connectionCode = null; } let nlesrp_IPacket00Handshake__init_ = $this => { nlesrp_IPacket_$callClinit(); $this.$connectionType = 0; $this.$connectionVersion = 1; $this.$connectionCode = null; }, nlesrp_IPacket00Handshake__init_2 = () => { let var_0 = new nlesrp_IPacket00Handshake(); nlesrp_IPacket00Handshake__init_(var_0); return var_0; }, nlesrp_IPacket00Handshake__init_1 = ($this, $connectionType, $connectionVersion, $connectionCode) => { nlesrp_IPacket_$callClinit(); $this.$connectionType = 0; $this.$connectionVersion = 1; $this.$connectionCode = null; $this.$connectionType = $connectionType; $this.$connectionVersion = $connectionVersion; $this.$connectionCode = $connectionCode; }, nlesrp_IPacket00Handshake__init_0 = (var_0, var_1, var_2) => { let var_3 = new nlesrp_IPacket00Handshake(); nlesrp_IPacket00Handshake__init_1(var_3, var_0, var_1, var_2); return var_3; }, nlesrp_IPacket00Handshake_read = ($this, $input) => { let var$2, var$3, var$4, var$5, var$6; $this.$connectionType = $input.$in.$read(); $this.$connectionVersion = $input.$in.$read(); nlesrp_IPacket_$callClinit(); var$2 = $input.$in.$read(); if (var$2 < 0) $input = null; else { var$3 = $rt_createCharArray(var$2); var$4 = var$3.data; var$5 = 0; a: { while (true) { if (var$5 >= var$2) { $input = new jl_String; $input.$nativeString = $rt_charArrayToString(var$3.data, 0, var$4.length); break a; } var$6 = $input.$in.$read(); if (var$6 < 0) break; var$4[var$5] = var$6 & 65535; var$5 = var$5 + 1 | 0; } $input = null; } } $this.$connectionCode = $input; }, nlesrp_IPacket00Handshake_write = ($this, $output) => { let var$2, var$3, var$4, var$5; a: { b: { var$2 = $this.$connectionType; $output.$out0.$write1(var$2); $output.$written = $output.$written + 1 | 0; var$2 = $this.$connectionVersion; $output.$out0.$write1(var$2); $output.$written = $output.$written + 1 | 0; var$3 = $this.$connectionCode; nlesrp_IPacket_$callClinit(); if (var$3 === null) { $output.$out0.$write1(0); $output.$written = $output.$written + 1 | 0; } else { var$4 = var$3.$nativeString.length; $output.$out0.$write1(var$4); $output.$written = $output.$written + 1 | 0; var$2 = 0; while (true) { if (var$2 >= var$4) break b; if (var$2 < 0) break a; if (var$2 >= var$3.$nativeString.length) break a; var$5 = var$3.$nativeString.charCodeAt(var$2); $output.$out0.$write1(var$5); $output.$written = $output.$written + 1 | 0; var$2 = var$2 + 1 | 0; } } } return; } $output = new jl_StringIndexOutOfBoundsException; $output.$suppressionEnabled = 1; $output.$writableStackTrace = 1; $rt_throw($output); }, nlesrp_IPacket00Handshake_packetLength = $this => { let var$1; var$1 = $this.$connectionCode; return 2 + (var$1 === null ? 0 : 1 + var$1.$nativeString.length | 0) | 0; }; function nlesrp_IPacket01ICEServers() { nlesrp_IPacket.call(this); this.$servers0 = null; } let nlesrp_IPacket01ICEServers__init_ = $this => { let var$1; nlesrp_IPacket_$callClinit(); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$servers0 = var$1; }, nlesrp_IPacket01ICEServers__init_0 = () => { let var_0 = new nlesrp_IPacket01ICEServers(); nlesrp_IPacket01ICEServers__init_(var_0); return var_0; }, nlesrp_IPacket01ICEServers_read = ($this, $input) => { let var$2, var$3, $l, $type, $typeEnum, var$7, var$8, $i, var$10, var$11, var$12, var$13, var$14; var$2 = $this.$servers0; var$3 = var$2.$array; $l = 0; $type = var$2.$size0; $typeEnum = null; if ($l > $type) { $input = new jl_IllegalArgumentException; $input.$suppressionEnabled = 1; $input.$writableStackTrace = 1; $rt_throw($input); } while ($l < $type) { var$7 = var$3.data; var$8 = $l + 1 | 0; var$7[$l] = $typeEnum; $l = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; $l = ji_DataInputStream_readUnsignedShort($input); $i = 0; while ($i < $l) { $type = $input.$in.$read() & 65535; if ($type == 83) $typeEnum = nlesrp_ICEServerSet$RelayType_STUN; else { if ($type != 84) { $input = new ji_IOException; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1391)); $l = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $l, $l + 1 | 0); var$2.$buffer.data[$l] = $type; $type = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $type, $type + 1 | 0); var$3 = var$2.$buffer; var$7 = var$3.data; var$7[$type] = 39; $typeEnum = new jl_String; $type = var$2.$length0; var$8 = var$7.length; if ($type >= 0 && $type <= (var$8 - 0 | 0)) { $typeEnum.$nativeString = $rt_charArrayToString(var$3.data, 0, $type); $input.$suppressionEnabled = 1; $input.$writableStackTrace = 1; $input.$message = $typeEnum; $rt_throw($input); } $input = new jl_IndexOutOfBoundsException; $input.$suppressionEnabled = 1; $input.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($input); $rt_throw($input); } $typeEnum = nlesrp_ICEServerSet$RelayType_TURN; } var$10 = $this.$servers0; var$11 = new nlesrp_ICEServerSet$RelayServer; nlesrp_IPacket_$callClinit(); var$8 = $input.$in.$read(); $type = $input.$in.$read(); if (var$8 >= 0 && $type >= 0) { var$8 = var$8 << 8 | $type; var$7 = $rt_createCharArray(var$8); var$3 = var$7.data; var$12 = 0; a: { while (true) { if (var$12 >= var$8) { var$13 = new jl_String; var$13.$nativeString = $rt_charArrayToString(var$7.data, 0, var$3.length); break a; } $type = $input.$in.$read(); if ($type < 0) break; var$3[var$12] = $type & 65535; var$12 = var$12 + 1 | 0; } var$13 = null; } } else var$13 = null; var$12 = $input.$in.$read(); if (var$12 < 0) var$2 = null; else { var$7 = $rt_createCharArray(var$12); var$3 = var$7.data; $type = 0; b: { while (true) { if ($type >= var$12) { var$2 = new jl_String; var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$3.length); break b; } var$8 = $input.$in.$read(); if (var$8 < 0) break; var$3[$type] = var$8 & 65535; $type = $type + 1 | 0; } var$2 = null; } } var$12 = $input.$in.$read(); if (var$12 < 0) var$14 = null; else { var$3 = $rt_createCharArray(var$12); var$7 = var$3.data; $type = 0; c: { while (true) { if ($type >= var$12) { var$14 = new jl_String; var$14.$nativeString = $rt_charArrayToString(var$3.data, 0, var$7.length); break c; } var$8 = $input.$in.$read(); if (var$8 < 0) break; var$7[$type] = var$8 & 65535; $type = $type + 1 | 0; } var$14 = null; } } var$11.$type3 = $typeEnum; var$11.$address0 = var$13; var$11.$username2 = var$2; var$11.$password = var$14; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$3 = var$10.$array.data; var$8 = var$10.$size0; var$10.$size0 = var$8 + 1 | 0; var$3[var$8] = var$11; var$10.$modCount = var$10.$modCount + 1 | 0; $i = $i + 1 | 0; } }; function nlesrp_IPacket07LocalWorlds() { nlesrp_IPacket.call(this); this.$worldsList = null; } let nlesrp_IPacket07LocalWorlds__init_ = $this => { let var$1; nlesrp_IPacket_$callClinit(); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$worldsList = var$1; }, nlesrp_IPacket07LocalWorlds__init_0 = () => { let var_0 = new nlesrp_IPacket07LocalWorlds(); nlesrp_IPacket07LocalWorlds__init_(var_0); return var_0; }, nlesrp_IPacket07LocalWorlds_read = ($this, $input) => { let $l, $i, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; $l = $input.$in.$read(); $i = 0; while ($i < $l) { var$4 = $this.$worldsList; var$5 = new nlesrp_IPacket07LocalWorlds$LocalWorld; nlesrp_IPacket_$callClinit(); var$6 = $input.$in.$read(); if (var$6 < 0) var$7 = null; else { var$8 = $rt_createCharArray(var$6); var$9 = var$8.data; var$10 = 0; a: { while (true) { if (var$10 >= var$6) { var$7 = new jl_String; var$7.$nativeString = $rt_charArrayToString(var$8.data, 0, var$9.length); break a; } var$11 = $input.$in.$read(); if (var$11 < 0) break; var$9[var$10] = var$11 & 65535; var$10 = var$10 + 1 | 0; } var$7 = null; } } var$6 = $input.$in.$read(); if (var$6 < 0) var$12 = null; else { var$8 = $rt_createCharArray(var$6); var$9 = var$8.data; var$10 = 0; b: { while (true) { if (var$10 >= var$6) { var$12 = new jl_String; var$12.$nativeString = $rt_charArrayToString(var$8.data, 0, var$9.length); break b; } var$11 = $input.$in.$read(); if (var$11 < 0) break; var$9[var$10] = var$11 & 65535; var$10 = var$10 + 1 | 0; } var$12 = null; } } var$5.$worldName8 = var$7; var$5.$worldCode = var$12; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$8 = var$4.$array.data; var$11 = var$4.$size0; var$4.$size0 = var$11 + 1 | 0; var$8[var$11] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; $i = $i + 1 | 0; } }; function nlesrp_IPacket69Pong() { let a = this; nlesrp_IPacket.call(a); a.$protcolVersion = 0; a.$comment3 = null; a.$brand0 = null; } let nlesrp_IPacket69Pong__init_ = $this => { nlesrp_IPacket_$callClinit(); }, nlesrp_IPacket69Pong__init_0 = () => { let var_0 = new nlesrp_IPacket69Pong(); nlesrp_IPacket69Pong__init_(var_0); return var_0; }, nlesrp_IPacket69Pong_read = ($this, $output) => { let var$2, var$3, var$4, var$5, var$6, var$7; $this.$protcolVersion = $output.$in.$read(); nlesrp_IPacket_$callClinit(); var$2 = $output.$in.$read(); if (var$2 < 0) var$3 = null; else { var$4 = $rt_createCharArray(var$2); var$5 = var$4.data; var$6 = 0; a: { while (true) { if (var$6 >= var$2) { var$3 = new jl_String; var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$5.length); break a; } var$7 = $output.$in.$read(); if (var$7 < 0) break; var$5[var$6] = var$7 & 65535; var$6 = var$6 + 1 | 0; } var$3 = null; } } $this.$comment3 = var$3; var$7 = $output.$in.$read(); if (var$7 < 0) $output = null; else { var$4 = $rt_createCharArray(var$7); var$5 = var$4.data; var$2 = 0; b: { while (true) { if (var$2 >= var$7) { $output = new jl_String; $output.$nativeString = $rt_charArrayToString(var$4.data, 0, var$5.length); break b; } var$6 = $output.$in.$read(); if (var$6 < 0) break; var$5[var$2] = var$6 & 65535; var$2 = var$2 + 1 | 0; } $output = null; } } $this.$brand0 = $output; }; function nlesrp_IPacketFEDisconnectClient() { let a = this; nlesrp_IPacket.call(a); a.$clientId3 = null; a.$code1 = 0; a.$reason0 = null; } let nlesrp_IPacketFEDisconnectClient_ratelimitPacketTooMany = null, nlesrp_IPacketFEDisconnectClient_ratelimitPacketBlock = null, nlesrp_IPacketFEDisconnectClient_ratelimitPacketBlockLock = null, nlesrp_IPacketFEDisconnectClient_ratelimitPacketLocked = null, nlesrp_IPacketFEDisconnectClient_$callClinit = () => { nlesrp_IPacketFEDisconnectClient_$callClinit = $rt_eraseClinit(nlesrp_IPacketFEDisconnectClient); nlesrp_IPacketFEDisconnectClient__clinit_(); }, nlesrp_IPacketFEDisconnectClient__init_ = $this => { nlesrp_IPacketFEDisconnectClient_$callClinit(); nlesrp_IPacket_$callClinit(); }, nlesrp_IPacketFEDisconnectClient__init_0 = () => { let var_0 = new nlesrp_IPacketFEDisconnectClient(); nlesrp_IPacketFEDisconnectClient__init_(var_0); return var_0; }, nlesrp_IPacketFEDisconnectClient_read = ($this, $input) => { let var$2, var$3, var$4, var$5, var$6, var$7; nlesrp_IPacket_$callClinit(); var$2 = $input.$in.$read(); if (var$2 < 0) var$3 = null; else { var$4 = $rt_createCharArray(var$2); var$5 = var$4.data; var$6 = 0; a: { while (true) { if (var$6 >= var$2) { var$3 = new jl_String; var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$5.length); break a; } var$7 = $input.$in.$read(); if (var$7 < 0) break; var$5[var$6] = var$7 & 65535; var$6 = var$6 + 1 | 0; } var$3 = null; } } $this.$clientId3 = var$3; $this.$code1 = $input.$in.$read(); var$2 = $input.$in.$read(); var$7 = $input.$in.$read(); if (var$2 >= 0 && var$7 >= 0) { var$6 = var$2 << 8 | var$7; var$5 = $rt_createCharArray(var$6); var$4 = var$5.data; var$7 = 0; b: { while (true) { if (var$7 >= var$6) { $input = new jl_String; $input.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4.length); break b; } var$2 = $input.$in.$read(); if (var$2 < 0) break; var$4[var$7] = var$2 & 65535; var$7 = var$7 + 1 | 0; } $input = null; } } else $input = null; $this.$reason0 = $input; }, nlesrp_IPacketFEDisconnectClient__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $rt_createByteArray(2); var$2 = var$1.data; var$2[0] = (-4); var$2[1] = 0; var$3 = var$2.length; if (var$3 >= 0 && var$3 <= (var$3 - 0 | 0)) { var$4 = new jn_ByteBufferImpl; var$5 = 0 + var$3 | 0; var$4.$mark = (-1); var$4.$capacity = var$3; var$4.$limit0 = var$3; var$6 = jn_ByteOrder_BIG_ENDIAN; var$4.$order = var$6; var$4.$start = 0; var$4.$array0 = var$1; var$4.$position0 = 0; var$4.$limit0 = var$5; var$4.$direct = 0; var$4.$readOnly0 = 0; nlesrp_IPacketFEDisconnectClient_ratelimitPacketTooMany = var$4; var$1 = $rt_createByteArray(2); var$2 = var$1.data; var$2[0] = (-4); var$2[1] = 1; var$3 = var$2.length; if (var$3 >= 0 && var$3 <= (var$3 - 0 | 0)) { var$4 = new jn_ByteBufferImpl; var$5 = 0 + var$3 | 0; var$4.$mark = (-1); var$4.$capacity = var$3; var$4.$limit0 = var$3; var$4.$order = var$6; var$4.$start = 0; var$4.$array0 = var$1; var$4.$position0 = 0; var$4.$limit0 = var$5; var$4.$direct = 0; var$4.$readOnly0 = 0; nlesrp_IPacketFEDisconnectClient_ratelimitPacketBlock = var$4; var$1 = $rt_createByteArray(2); var$2 = var$1.data; var$2[0] = (-4); var$2[1] = 2; var$3 = var$2.length; if (var$3 >= 0 && var$3 <= (var$3 - 0 | 0)) { var$4 = new jn_ByteBufferImpl; var$5 = 0 + var$3 | 0; var$4.$mark = (-1); var$4.$capacity = var$3; var$4.$limit0 = var$3; var$4.$order = var$6; var$4.$start = 0; var$4.$array0 = var$1; var$4.$position0 = 0; var$4.$limit0 = var$5; var$4.$direct = 0; var$4.$readOnly0 = 0; nlesrp_IPacketFEDisconnectClient_ratelimitPacketBlockLock = var$4; var$1 = $rt_createByteArray(2); var$2 = var$1.data; var$2[0] = (-4); var$2[1] = 3; var$3 = var$2.length; if (var$3 >= 0 && var$3 <= (var$3 - 0 | 0)) { var$4 = new jn_ByteBufferImpl; var$5 = 0 + var$3 | 0; var$4.$mark = (-1); var$4.$capacity = var$3; var$4.$limit0 = var$3; var$4.$order = var$6; var$4.$start = 0; var$4.$array0 = var$1; var$4.$position0 = 0; var$4.$limit0 = var$5; var$4.$direct = 0; var$4.$readOnly0 = 0; nlesrp_IPacketFEDisconnectClient_ratelimitPacketLocked = var$4; return; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); }, jur_BackReferencedSingleSet = $rt_classWithoutFields(jur_SingleSet), jur_BackReferencedSingleSet_find = ($this, $startSearch, $testString, $matchResult) => { let $res, $lastIndex, var$6, var$7, var$8, $saveStart; $res = 0; $lastIndex = $matchResult.$rightBound; a: { while (true) { if ($startSearch > $lastIndex) { $startSearch = $res; break a; } var$6 = $this.$groupIndex; var$7 = $matchResult.$groupBounds.data; var$8 = var$6 * 2 | 0; $saveStart = var$7[var$8]; var$7[var$8] = $startSearch; $res = $this.$kid.$matches($startSearch, $testString, $matchResult); if ($res >= 0) break; var$8 = $this.$groupIndex; $matchResult.$groupBounds.data[var$8 * 2 | 0] = $saveStart; $startSearch = $startSearch + 1 | 0; } } return $startSearch; }, jur_BackReferencedSingleSet_findBack = ($this, $stringIndex, $startSearch, $testString, $matchResult) => { let $res, var$6, var$7, var$8, $saveStart; $res = 0; a: { while (true) { if ($startSearch < $stringIndex) { $startSearch = $res; break a; } var$6 = $this.$groupIndex; var$7 = $matchResult.$groupBounds.data; var$8 = var$6 * 2 | 0; $saveStart = var$7[var$8]; var$7[var$8] = $startSearch; $res = $this.$kid.$matches($startSearch, $testString, $matchResult); if ($res >= 0) break; var$8 = $this.$groupIndex; $matchResult.$groupBounds.data[var$8 * 2 | 0] = $saveStart; $startSearch = $startSearch + (-1) | 0; } } return $startSearch; }, jur_BackReferencedSingleSet_processBackRefReplacement = $this => { return null; }, jl_ArithmeticException = $rt_classWithoutFields(jl_RuntimeException), jl_ArithmeticException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_ArithmeticException__init_0 = () => { let var_0 = new jl_ArithmeticException(); jl_ArithmeticException__init_(var_0); return var_0; }; function jnci_BufferedDecoder() { let a = this; jnc_CharsetDecoder.call(a); a.$inArray = null; a.$outArray = null; } let jnci_BufferedDecoder_decodeLoop = ($this, $in, $out) => { let $inArray, $inPos, $inSize, $outArray, $outSize, var$8, $i, var$10, $outSize_0, $result, $controller; $inArray = $this.$inArray; $inPos = 0; $inSize = 0; $outArray = $this.$outArray; a: { while (true) { if (($inPos + 32 | 0) > $inSize) { $outSize = $in.$position0; var$8 = $in.$limit0; if ($outSize >= var$8 ? 0 : 1) { $i = $inPos; while ($i < $inSize) { var$10 = $inArray.data; var$10[$i - $inPos | 0] = var$10[$i]; $i = $i + 1 | 0; } var$10 = $inArray.data; $i = $inSize - $inPos | 0; $outSize_0 = (var$8 - $outSize | 0) + $i | 0; $inSize = var$10.length; if ($outSize_0 < $inSize) $inSize = $outSize_0; jn_ByteBuffer_get($in, $inArray, $i, $inSize - $i | 0); $inPos = 0; } } $i = $out.$position0; $outSize_0 = $out.$limit0; if (!($i >= $outSize_0 ? 0 : 1)) { $i = $in.$position0 >= $in.$limit0 ? 0 : 1; $result = !$i && $inPos >= $inSize ? jnc_CoderResult_UNDERFLOW : jnc_CoderResult_OVERFLOW; break a; } var$10 = $outArray.data; $outSize_0 = $outSize_0 - $i | 0; $outSize = var$10.length; if ($outSize_0 < $outSize) $outSize = $outSize_0; $controller = new jnci_BufferedDecoder$Controller; $controller.$in0 = $in; $controller.$out4 = $out; $result = $this.$arrayDecode($inArray, $inPos, $inSize, $outArray, 0, $outSize, $controller); $inPos = $controller.$inPosition0; if ($result === null && 0 == $controller.$outPosition) $result = jnc_CoderResult_UNDERFLOW; jn_CharBuffer_put0($out, $outArray, 0, $controller.$outPosition); if ($result !== null) break; } } jn_Buffer_position($in, $in.$position0 - ($inSize - $inPos | 0) | 0); return $result; }, jnci_UTF8Decoder = $rt_classWithoutFields(jnci_BufferedDecoder), jnci_UTF8Decoder_arrayDecode = ($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) => { let $result, var$9, $b2, $b, $b2_0, var$13, $code, $b3, $b4, $c; $result = null; a: { b: { c: { while ($inPos < $inSize) { if ($outPos >= $outSize) break a; var$9 = $inArray.data; $b2 = $inPos + 1 | 0; $b = var$9[$inPos] & 255; if (!($b & 128)) { var$9 = $outArray.data; $b2_0 = $outPos + 1 | 0; var$9[$outPos] = $b & 65535; } else if (($b & 224) == 192) { if ($b2 >= $inSize) { $inPos = $b2 + (-1) | 0; var$13 = $controller.$in0; if ((var$13.$limit0 - var$13.$position0 | 0) < 2 ? 0 : 1) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } $inPos = $b2 + 1 | 0; $b2 = var$9[$b2]; if (!(($b2 & 192) != 128 ? 0 : 1)) { $inPos = $inPos + (-2) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; break a; } var$9 = $outArray.data; $b2_0 = $outPos + 1 | 0; var$9[$outPos] = (($b & 31) << 6 | $b2 & 63) & 65535; $b2 = $inPos; } else if (($b & 240) != 224) { if (($b & 248) != 240) { $inPos = $b2 + (-1) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; break a; } if (($b2 + 3 | 0) > $inSize) { $inPos = $b2 + (-1) | 0; var$13 = $controller.$in0; if ((var$13.$limit0 - var$13.$position0 | 0) < 4 ? 0 : 1) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } if (($outPos + 2 | 0) > $outSize) { $inPos = $b2 + (-1) | 0; var$13 = $controller.$out4; if ((var$13.$limit0 - var$13.$position0 | 0) < 2 ? 0 : 1) break a; $result = jnc_CoderResult_OVERFLOW; break a; } $inPos = $b2 + 1 | 0; $b2_0 = var$9[$b2]; $code = $inPos + 1 | 0; $b3 = var$9[$inPos]; $b2 = $code + 1 | 0; $b4 = var$9[$code]; if (!(($b2_0 & 192) != 128 ? 0 : 1)) break c; if (!(($b3 & 192) != 128 ? 0 : 1)) break c; if (!(($b4 & 192) != 128 ? 0 : 1)) break c; var$9 = $outArray.data; $code = ($b & 7) << 18 | ($b2_0 & 63) << 12 | ($b3 & 63) << 6 | $b4 & 63; $inPos = $outPos + 1 | 0; var$9[$outPos] = (55296 | ($code - 65536 | 0) >> 10 & 1023) & 65535; $b2_0 = $inPos + 1 | 0; var$9[$inPos] = (56320 | $code & 1023) & 65535; } else { if (($b2 + 2 | 0) > $inSize) { $inPos = $b2 + (-1) | 0; var$13 = $controller.$in0; if ((var$13.$limit0 - var$13.$position0 | 0) < 3 ? 0 : 1) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } $inPos = $b2 + 1 | 0; $b2_0 = var$9[$b2]; $b2 = $inPos + 1 | 0; $b3 = var$9[$inPos]; if (!(($b2_0 & 192) != 128 ? 0 : 1)) break b; if (!(($b3 & 192) != 128 ? 0 : 1)) break b; $c = (($b & 15) << 12 | ($b2_0 & 63) << 6 | $b3 & 63) & 65535; $code = $c & 64512; $inPos = $code != 55296 ? 0 : 1; if (!$inPos && !($code != 56320 ? 0 : 1) ? 0 : 1) { $inPos = $b2 + (-3) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 3; break a; } var$9 = $outArray.data; $b2_0 = $outPos + 1 | 0; var$9[$outPos] = $c; } $inPos = $b2; $outPos = $b2_0; } break a; } $inPos = $b2 + (-3) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; break a; } $inPos = $b2 + (-3) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; } $controller.$inPosition0 = $inPos; $controller.$outPosition = $outPos; return $result; }, jnci_AsciiDecoder = $rt_classWithoutFields(jnci_BufferedDecoder), jnci_AsciiDecoder_arrayDecode = ($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) => { let $result, var$9, var$10, $b, var$12; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) break a; var$9 = $inArray.data; var$10 = $inPos + 1 | 0; $b = var$9[$inPos] & 255; if ($b & 128) { $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; $inPos = var$10 + (-1) | 0; break a; } var$9 = $outArray.data; var$12 = $outPos + 1 | 0; var$9[$outPos] = $b & 65535; $inPos = var$10; $outPos = var$12; } } $controller.$inPosition0 = $inPos; $controller.$outPosition = $outPos; return $result; }; function jnci_UTF16Decoder() { let a = this; jnci_BufferedDecoder.call(a); a.$bom1 = 0; a.$littleEndian0 = 0; } let jnci_UTF16Decoder_arrayDecode = ($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) => { let var$8, var$9, $b; if ($this.$bom1) { if (($inPos + 2 | 0) > $inSize) { $controller = $controller.$in0; return !($controller.$position0 >= $controller.$limit0 ? 0 : 1) ? jnc_CoderResult_UNDERFLOW : null; } var$8 = $inArray.data; $this.$bom1 = 0; var$9 = $inPos + 1 | 0; $b = var$8[$inPos]; if ($b == (-1)) { if (var$8[var$9] != (-2)) $inPos = var$9 + (-1) | 0; else { $inPos = var$9 + 1 | 0; $this.$littleEndian0 = 1; } } else if ($b != (-2)) $inPos = var$9 + (-1) | 0; else if (var$8[var$9] != (-1)) $inPos = var$9 + (-1) | 0; else { $inPos = var$9 + 1 | 0; $this.$littleEndian0 = 0; } } return !$this.$littleEndian0 ? jnci_UTF16Decoder_decodeBE($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) : jnci_UTF16Decoder_decodeLE($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller); }, jnci_UTF16Decoder_decodeLE = ($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) => { let $result, var$9, var$10, $next, $b1, $c; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) break a; if (($inPos + 2 | 0) > $inSize) { var$9 = $controller.$in0; if ((var$9.$limit0 - var$9.$position0 | 0) < 2 ? 0 : 1) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } var$10 = $inArray.data; $next = $inPos + 1 | 0; $b1 = var$10[$inPos] & 255; $inPos = $next + 1 | 0; $c = ($b1 | (var$10[$next] & 255) << 8) & 65535; $b1 = $c & 64512; if (!($b1 != 55296 ? 0 : 1)) { if ($b1 != 56320 ? 0 : 1) { $inPos = $inPos + (-2) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 2; break a; } var$10 = $outArray.data; $next = $outPos + 1 | 0; var$10[$outPos] = $c; $outPos = $next; } else { if (($inPos + 2 | 0) >= $inSize) { var$9 = $controller.$in0; if (!((var$9.$limit0 - var$9.$position0 | 0) < 4 ? 0 : 1)) $result = jnc_CoderResult_UNDERFLOW; $inPos = $inPos + (-2) | 0; break a; } $b1 = $inPos + 1 | 0; $next = var$10[$inPos] & 255; $inPos = $b1 + 1 | 0; $next = ($next | (var$10[$b1] & 255) << 8) & 65535; if (!(($next & 64512) != 56320 ? 0 : 1)) { $inPos = $inPos + (-4) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 4; break a; } if (($outPos + 2 | 0) > $outSize) { var$9 = $controller.$out4; if ((var$9.$limit0 - var$9.$position0 | 0) < 2 ? 0 : 1) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$10 = $outArray.data; $b1 = $outPos + 1 | 0; var$10[$outPos] = $c; $outPos = $b1 + 1 | 0; var$10[$b1] = $next; } } } $controller.$inPosition0 = $inPos; $controller.$outPosition = $outPos; return $result; }, jnci_UTF16Decoder_decodeBE = ($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) => { let $result, var$9, var$10, $next, $b1, $c; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) break a; if (($inPos + 2 | 0) > $inSize) { var$9 = $controller.$in0; if ((var$9.$limit0 - var$9.$position0 | 0) < 2 ? 0 : 1) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } var$10 = $inArray.data; $next = $inPos + 1 | 0; $b1 = var$10[$inPos] & 255; $inPos = $next + 1 | 0; $c = (var$10[$next] & 255 | $b1 << 8) & 65535; $b1 = $c & 64512; if (!($b1 != 55296 ? 0 : 1)) { if ($b1 != 56320 ? 0 : 1) { $inPos = $inPos + (-2) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 2; break a; } var$10 = $outArray.data; $next = $outPos + 1 | 0; var$10[$outPos] = $c; $outPos = $next; } else { if (($inPos + 2 | 0) >= $inSize) { var$9 = $controller.$in0; if (!((var$9.$limit0 - var$9.$position0 | 0) < 4 ? 0 : 1)) $result = jnc_CoderResult_UNDERFLOW; $inPos = $inPos + (-2) | 0; break a; } $b1 = $inPos + 1 | 0; $next = var$10[$inPos] & 255; $inPos = $b1 + 1 | 0; $next = (var$10[$b1] & 255 | $next << 8) & 65535; if (!(($next & 64512) != 56320 ? 0 : 1)) { $inPos = $inPos + (-4) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 4; break a; } if (($outPos + 2 | 0) > $outSize) { var$9 = $controller.$out4; if ((var$9.$limit0 - var$9.$position0 | 0) < 2 ? 0 : 1) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$10 = $outArray.data; $b1 = $outPos + 1 | 0; var$10[$outPos] = $c; $outPos = $b1 + 1 | 0; var$10[$b1] = $next; } } } $controller.$inPosition0 = $inPos; $controller.$outPosition = $outPos; return $result; }, jnci_Iso8859Decoder = $rt_classWithoutFields(jnci_BufferedDecoder), jnci_Iso8859Decoder_arrayDecode = ($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) => { let $result, var$9, var$10, var$11, $b, var$13; $result = null; while ($inPos < $inSize && $outPos < $outSize) { var$9 = $inArray.data; var$10 = $outArray.data; var$11 = $inPos + 1 | 0; $b = var$9[$inPos] & 255; var$13 = $outPos + 1 | 0; var$10[$outPos] = $b & 65535; $inPos = var$11; $outPos = var$13; } $controller.$inPosition0 = $inPos; $controller.$outPosition = $outPos; return $result; }; function ju_HashMap$2() { ju_AbstractCollection.call(this); this.$this$01 = null; } let ju_HashMap$2_size = $this => { return $this.$this$01.$elementCount; }, ju_HashMap$2_iterator = $this => { let var$1, var$2; var$1 = new ju_HashMap$ValueIterator; var$2 = $this.$this$01; var$1.$associatedMap = var$2; var$1.$expectedModCount = var$2.$modCount0; var$1.$futureEntry0 = null; return var$1; }, jl_ArrayIndexOutOfBoundsException = $rt_classWithoutFields(jl_IndexOutOfBoundsException), jl_ArrayIndexOutOfBoundsException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_ArrayIndexOutOfBoundsException__init_0 = () => { let var_0 = new jl_ArrayIndexOutOfBoundsException(); jl_ArrayIndexOutOfBoundsException__init_(var_0); return var_0; }, jn_BufferUnderflowException = $rt_classWithoutFields(jl_RuntimeException), jn_BufferUnderflowException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jn_BufferUnderflowException__init_0 = () => { let var_0 = new jn_BufferUnderflowException(); jn_BufferUnderflowException__init_(var_0); return var_0; }; function jur_AbstractCharClass$LazyJavaLowerCase$1() { jur_AbstractCharClass.call(this); this.$this$051 = null; } let jur_AbstractCharClass$LazyJavaLowerCase$1_contains = ($this, $ch) => { return jl_Character_getType($ch) != 2 ? 0 : 1; }; function jur_AbstractCharClass$LazyJavaUpperCase$1() { jur_AbstractCharClass.call(this); this.$this$040 = null; } let jur_AbstractCharClass$LazyJavaUpperCase$1_contains = ($this, $ch) => { return jl_Character_getType($ch) != 1 ? 0 : 1; }; function jur_AbstractCharClass$LazyJavaWhitespace$1() { jur_AbstractCharClass.call(this); this.$this$050 = null; } let jur_AbstractCharClass$LazyJavaWhitespace$1_contains = ($this, $ch) => { a: { switch ($ch) { case 9: case 10: case 11: case 12: case 13: case 28: case 29: case 30: case 31: break; case 160: case 8199: case 8239: $ch = 0; break a; default: b: { switch (jl_Character_getType($ch)) { case 12: case 13: case 14: break; default: $ch = 0; break b; } $ch = 1; } break a; } $ch = 1; } return $ch; }; function jur_AbstractCharClass$LazyJavaMirrored$1() { jur_AbstractCharClass.call(this); this.$this$030 = null; } let jur_AbstractCharClass$LazyJavaMirrored$1_contains = ($this, $ch) => { return 0; }; function jur_AbstractCharClass$LazyJavaDefined$1() { jur_AbstractCharClass.call(this); this.$this$035 = null; } let jur_AbstractCharClass$LazyJavaDefined$1_contains = ($this, $ch) => { return !jl_Character_getType($ch) ? 0 : 1; }; function jur_AbstractCharClass$LazyJavaDigit$1() { jur_AbstractCharClass.call(this); this.$this$041 = null; } let jur_AbstractCharClass$LazyJavaDigit$1_contains = ($this, $ch) => { return jl_Character_getType($ch) != 9 ? 0 : 1; }; function jur_AbstractCharClass$LazyJavaIdentifierIgnorable$1() { jur_AbstractCharClass.call(this); this.$this$046 = null; } let jur_AbstractCharClass$LazyJavaIdentifierIgnorable$1_contains = ($this, $ch) => { return jl_Character_isIdentifierIgnorable($ch); }; function jur_AbstractCharClass$LazyJavaISOControl$1() { jur_AbstractCharClass.call(this); this.$this$032 = null; } let jur_AbstractCharClass$LazyJavaISOControl$1_contains = ($this, $ch) => { a: { b: { if (!($ch >= 0 && $ch <= 31)) { if ($ch < 127) break b; if ($ch > 159) break b; } $ch = 1; break a; } $ch = 0; } return $ch; }; function jur_AbstractCharClass$LazyJavaJavaIdentifierPart$1() { jur_AbstractCharClass.call(this); this.$this$026 = null; } let jur_AbstractCharClass$LazyJavaJavaIdentifierPart$1_contains = ($this, $ch) => { a: { b: { switch (jl_Character_getType($ch)) { case 1: case 2: case 3: case 4: case 5: case 6: case 8: case 9: case 10: case 23: case 26: break; case 7: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20: case 21: case 22: case 24: case 25: break b; default: break b; } $ch = 1; break a; } $ch = jl_Character_isIdentifierIgnorable($ch); } return $ch; }; function jur_AbstractCharClass$LazyJavaJavaIdentifierStart$1() { jur_AbstractCharClass.call(this); this.$this$045 = null; } let jur_AbstractCharClass$LazyJavaJavaIdentifierStart$1_contains = ($this, $ch) => { a: { b: { switch (jl_Character_getType($ch)) { case 1: case 2: case 3: case 4: case 5: case 10: case 23: case 26: break; case 6: case 7: case 8: case 9: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20: case 21: case 22: case 24: case 25: break b; default: break b; } $ch = 1; break a; } $ch = jl_Character_isIdentifierIgnorable($ch); } return $ch; }; function jur_AbstractCharClass$LazyJavaLetter$1() { jur_AbstractCharClass.call(this); this.$this$034 = null; } let jur_AbstractCharClass$LazyJavaLetter$1_contains = ($this, $ch) => { a: { switch (jl_Character_getType($ch)) { case 1: case 2: case 3: case 4: case 5: break; default: $ch = 0; break a; } $ch = 1; } return $ch; }; function jur_AbstractCharClass$LazyJavaLetterOrDigit$1() { jur_AbstractCharClass.call(this); this.$this$054 = null; } let jur_AbstractCharClass$LazyJavaLetterOrDigit$1_contains = ($this, $ch) => { a: { b: { switch (jl_Character_getType($ch)) { case 1: case 2: case 3: case 4: case 5: case 9: break; case 6: case 7: case 8: break b; default: break b; } $ch = 1; break a; } $ch = 0; } return $ch; }; function jur_AbstractCharClass$LazyJavaSpaceChar$1() { jur_AbstractCharClass.call(this); this.$this$031 = null; } let jur_AbstractCharClass$LazyJavaSpaceChar$1_contains = ($this, $ch) => { a: { switch (jl_Character_getType($ch)) { case 12: case 13: case 14: break; default: $ch = 0; break a; } $ch = 1; } return $ch; }; function jur_AbstractCharClass$LazyJavaTitleCase$1() { jur_AbstractCharClass.call(this); this.$this$052 = null; } let jur_AbstractCharClass$LazyJavaTitleCase$1_contains = ($this, $ch) => { return jl_Character_getType($ch) != 3 ? 0 : 1; }; function jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart$1() { jur_AbstractCharClass.call(this); this.$this$027 = null; } let jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart$1_contains = ($this, $ch) => { a: { b: { switch (jl_Character_getType($ch)) { case 1: case 2: case 3: case 4: case 5: case 6: case 8: case 9: case 10: case 23: break; case 7: case 11: case 12: case 13: case 14: case 15: case 16: case 17: case 18: case 19: case 20: case 21: case 22: break b; default: break b; } $ch = 1; break a; } $ch = jl_Character_isIdentifierIgnorable($ch); } return $ch; }; function jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart$1() { jur_AbstractCharClass.call(this); this.$this$057 = null; } let jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart$1_contains = ($this, $ch) => { a: { b: { switch (jl_Character_getType($ch)) { case 1: case 2: case 3: case 4: case 5: case 10: break; case 6: case 7: case 8: case 9: break b; default: break b; } $ch = 1; break a; } $ch = jl_Character_isIdentifierIgnorable($ch); } return $ch; }; function jur_UnicodeCategory() { jur_AbstractCharClass.call(this); this.$category = 0; } let jur_UnicodeCategory_contains = ($this, $ch) => { return $this.$alt ^ ($this.$category != jl_Character_getType($ch & 65535) ? 0 : 1); }, jur_UnicodeCategoryScope = $rt_classWithoutFields(jur_UnicodeCategory), jur_UnicodeCategoryScope_contains = ($this, $ch) => { return $this.$alt ^ (!($this.$category >> jl_Character_getType($ch & 65535) & 1) ? 0 : 1); }; function nle_BaseNCodec$Context() { let a = this; jl_Object.call(a); a.$ibitWorkArea = 0; a.$buffer1 = null; a.$pos0 = 0; a.$readPos = 0; a.$eof0 = 0; a.$currentLinePos = 0; a.$modulus = 0; } let nle_BaseNCodec$Context__init_ = $this => { return; }, nle_BaseNCodec$Context__init_0 = () => { let var_0 = new nle_BaseNCodec$Context(); nle_BaseNCodec$Context__init_(var_0); return var_0; }, nms_OpenGlHelper = $rt_classWithoutFields(), nms_OpenGlHelper_defaultTexUnit = 0, nms_OpenGlHelper_lightmapTexUnit = 0, nms_OpenGlHelper__init_ = $this => { return; }, nms_OpenGlHelper__init_0 = () => { let var_0 = new nms_OpenGlHelper(); nms_OpenGlHelper__init_(var_0); return var_0; }, nms_OpenGlHelper_setActiveTexture = $par0 => { nleg_EaglerAdapterGL30_glActiveTexture($par0); }; function nms_TextureManager() { let a = this; jl_Object.call(a); a.$nextTextureID = 0; a.$texturesMap = null; a.$mapNameToId = null; } let nms_TextureManager_instance = null, nms_TextureManager__init_ = $this => { let var$1, var$2, var$3, var$4; $this.$nextTextureID = 0; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$texturesMap = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$mapNameToId = var$1; }, nms_TextureManager__init_0 = () => { let var_0 = new nms_TextureManager(); nms_TextureManager__init_(var_0); return var_0; }, nms_TextureManager_createTexture = ($this, $par1Str) => { let $var2, $var3, $var12, $var15, var$6, $b, var$8, $var16, $var10, $var11, var$12, var$13, $var17, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var17 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var16 = $thread.pop();var$8 = $thread.pop();$b = $thread.pop();var$6 = $thread.pop();$var15 = $thread.pop();$var12 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = new ju_ArrayList; $var2.$array = $rt_createArray(jl_Object, 10); $var3 = nms_Minecraft_theMinecraft.$texturePackList.$selectedTexturePack; $var12 = new jl_StringBuilder; $var12.$buffer = $rt_createCharArray(16); $var15 = $var12.$length0; jl_AbstractStringBuilder_insertSpace($var12, $var15, $var15 + 1 | 0); $var12.$buffer.data[$var15] = 47; jl_AbstractStringBuilder_insert($var12, $var12.$length0, $par1Str === null ? $rt_s(1) : $par1Str); var$6 = new jl_String; $b = $var12.$buffer; var$8 = $b.data; $var15 = $var12.$length0; $var16 = var$8.length; if ($var15 >= 0 && $var15 <= ($var16 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString($b.data, 0, $var15); $ptr = 1; continue main; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); case 1: $tmp = $var3.$getResourceAsBytes(var$6); if ($rt_suspending()) { break main; } $b = $tmp; if ($b === null) return $var2; nlea_EaglerAdapterImpl2_$callClinit(); $var12 = $b.data.buffer; $ptr = 2; case 2: $tmp = nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$($var12); if ($rt_suspending()) { break main; } $var12 = $tmp; var$6 = $var12; $var10 = var$6.$w0; $var11 = var$6.$h; $var12 = jl_String_substring($par1Str, jl_String_lastIndexOf($par1Str, 47, $par1Str.$nativeString.length - 1 | 0) + 1 | 0, $par1Str.$nativeString.length); $var12 = jl_String_substring($var12, 0, jl_String_lastIndexOf($var12, 46, $var12.$nativeString.length - 1 | 0)); $ptr = 3; case 3: $tmp = nms_TextureManager_hasAnimationTxt($this, $par1Str, $var3); if ($rt_suspending()) { break main; } $var15 = $tmp; if ($var15) { $var15 = $var11 / $var10 | 0; $var16 = 0; var$12 = $rt_imul($var10, $var10); while ($var16 < $var15) { var$13 = $rt_imul($var10, $var16); $b = $rt_createIntArray(var$12); $var11 = 0; while ($var11 < $var10) { jl_System_fastArraycopy(var$6.$data5, $rt_imul($var11 + var$13 | 0, var$6.$w0) + 0 | 0, $b, $rt_imul($var11, $var10), $var10); $var11 = $var11 + 1 | 0; } $var17 = nms_Texture__init_($var12, 2, $var10, $var10, 1, 33071, 6408, 9728, 9728, nle_EaglerImage__init_($b, $var10, $var10, var$6.$alpha)); if (ju_HashMap_containsValue($this.$texturesMap, $var17)) { if (jl_System_outCache === null) { $par1Str = new otcic_JSStdoutPrintStream; var$15 = new ji_ByteArrayOutputStream; var$15.$buf = $rt_createByteArray(32); $par1Str.$out0 = var$15; var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); $par1Str.$sb = var$15; $par1Str.$buffer0 = $rt_createCharArray(32); $par1Str.$autoFlush = 0; $par1Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par1Str; } $rt_putStdout("TextureManager.registerTexture called, but this texture has already been registered. ignoring."); $rt_putStdout("\n"); } else { $par1Str = $this.$texturesMap; var$16 = $var17.$textureId; if (var$16 >= (-128) && var$16 <= 127) { jl_Integer_ensureIntegerCache(); var$15 = jl_Integer_integerCache.data[var$16 + 128 | 0]; } else { var$15 = new jl_Integer; var$15.$value0 = var$16; } ju_HashMap_putImpl($par1Str, var$15, $var17); } ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $b = $var2.$array.data; var$16 = $var2.$size0; $var2.$size0 = var$16 + 1 | 0; $b[var$16] = $var17; $var2.$modCount = $var2.$modCount + 1 | 0; $var16 = $var16 + 1 | 0; } } else if ($var10 == $var11) { $par1Str = nms_Texture__init_($var12, 2, $var10, $var10, 1, 33071, 6408, 9728, 9728, var$6); if (!ju_HashMap_containsValue($this.$texturesMap, $par1Str)) { $var12 = $this.$texturesMap; $var15 = $par1Str.$textureId; if ($var15 >= (-128) && $var15 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[$var15 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = $var15; } ju_HashMap_putImpl($var12, var$6, $par1Str); } else { if (jl_System_outCache === null) { $var12 = new otcic_JSStdoutPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); $var12.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); $var12.$sb = var$6; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var12; } $rt_putStdout("TextureManager.registerTexture called, but this texture has already been registered. ignoring."); $rt_putStdout("\n"); } ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $b = $var2.$array.data; $var15 = $var2.$size0; $var2.$size0 = $var15 + 1 | 0; $b[$var15] = $par1Str; $var2.$modCount = $var2.$modCount + 1 | 0; } else { if (jl_System_outCache === null) { $var12 = new otcic_JSStdoutPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); $var12.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); $var12.$sb = var$6; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var12; } $var12 = new jl_StringBuilder; $var12.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var12, $var12.$length0, $rt_s(1392)); jl_AbstractStringBuilder_insert($var12, $var12.$length0, $par1Str); jl_AbstractStringBuilder_insert($var12, $var12.$length0, $rt_s(1393)); $par1Str = new jl_String; $b = $var12.$buffer; var$8 = $b.data; $var15 = $var12.$length0; $var16 = var$8.length; if ($var15 >= 0 && $var15 <= ($var16 - 0 | 0)) { $par1Str.$nativeString = $rt_charArrayToString($b.data, 0, $var15); $rt_putStdout($rt_ustr($par1Str)); $rt_putStdout("\n"); } else { $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } } return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $var2, $var3, $var12, $var15, var$6, $b, var$8, $var16, $var10, $var11, var$12, var$13, $var17, var$15, var$16, $ptr); }, nms_TextureManager_hasAnimationTxt = ($this, $par1Str, $par2ITexturePack) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2ITexturePack = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = jl_String_substring($par1Str, 0, jl_String_lastIndexOf($par1Str, 46, $par1Str.$nativeString.length - 1 | 0)); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 47; var$5 = var$4.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$3); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1394)); var$3 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$5 = var$7.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$9 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$9, var$9 + 1 | 0); var$4.$buffer.data[var$9] = 47; jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $par1Str); $par1Str = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$9 = var$7.length; if (var$5 >= 0 && var$5 <= (var$9 - 0 | 0)) { $par1Str.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $var4 = 0; $ptr = 1; continue main; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); case 1: $tmp = nms_TexturePackImplementation_func_98138_b($par2ITexturePack, $par1Str, $var4); if ($rt_suspending()) { break main; } $var4 = $tmp; $par1Str = nms_Minecraft_theMinecraft.$texturePackList.$selectedTexturePack; $var4 = $var4 ? 0 : 1; $ptr = 2; case 2: $tmp = nms_TexturePackImplementation_func_98138_b($par1Str, var$3, $var4); if ($rt_suspending()) { break main; } $var4 = $tmp; return $var4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2ITexturePack, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var4, $ptr); }; function nms_TexturePackList() { let a = this; jl_Object.call(a); a.$mc12 = null; a.$texturePackDir = null; a.$mpTexturePackFolder = null; a.$availableTexturePacks = null; a.$texturePackCache = null; a.$selectedTexturePack = null; a.$isDownloading = 0; } let nms_TexturePackList_defaultTexturePack = null, nms_TexturePackList_$_teavm_clinitCalled_$ = false, nms_TexturePackList_$callClinit = () => { let $ptr = 0; if ($rt_resuming()) { $ptr = $rt_nativeThread().pop(); } else if (nms_TexturePackList_$_teavm_clinitCalled_$) { return; } main: while (true) { switch ($ptr) { case 0: nms_TexturePackList_$_teavm_clinitCalled_$ = true; $ptr = 1; case 1: nms_TexturePackList__clinit_(); if ($rt_suspending()) { break main; } nms_TexturePackList_$callClinit = $rt_eraseClinit(nms_TexturePackList); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($ptr); }, nms_TexturePackList__init_ = ($this, $par2Minecraft) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par2Minecraft = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_TexturePackList_$callClinit(); if ($rt_suspending()) { break main; } var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $this.$availableTexturePacks = var$2; $this.$texturePackCache = ju_HashMap__init_(); $this.$selectedTexturePack = nms_TexturePackList_defaultTexturePack; $this.$mc12 = $par2Minecraft; var$2 = new nleav_VFile; var$3 = $rt_createArray(jl_Object, 1); var$3.data[0] = $rt_s(1395); var$2.$path0 = nleav_VFile_createPath(var$3); $this.$texturePackDir = var$2; $par2Minecraft = new nleav_VFile; var$3 = $rt_createArray(jl_Object, 1); var$3.data[0] = $rt_s(1396); var$4 = nleav_VFile_createPath(var$3); $par2Minecraft.$path0 = var$4; $this.$mpTexturePackFolder = $par2Minecraft; if (!(var$4 !== null && !jl_String_contains(var$4, $rt_s(1397)) ? 0 : 1)) { $ptr = 2; continue main; } $ptr = 4; continue main; case 2: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } var$2 = nleav_SYS_VFS; $par2Minecraft = $par2Minecraft.$path0; var$2 = var$2.$indexeddb; $ptr = 3; case 3: nleav_VirtualFilesystem$AsyncHandlers_deleteFiles$_asyncCall_$(var$2, $par2Minecraft); if ($rt_suspending()) { break main; } $ptr = 4; case 4: nms_TexturePackList_updateAvaliableTexturePacks($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par2Minecraft, var$2, var$3, var$4, $ptr); }, nms_TexturePackList__init_0 = var_0 => { let var_1 = new nms_TexturePackList(); nms_TexturePackList__init_(var_1, var_0); return var_1; }, nms_TexturePackList_setTexturePack = ($this, $par1ITexturePack) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1ITexturePack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1ITexturePack === $this.$selectedTexturePack) return 0; $this.$isDownloading = 0; $this.$selectedTexturePack = $par1ITexturePack; var$2 = $this.$mc12.$gameSettings; var$2.$skin = $par1ITexturePack.$texturePackFileName; nms_GameSettings_saveOptions(var$2); return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ITexturePack, var$2, $ptr); }, nms_TexturePackList_updateAvaliableTexturePacks = $this => { let $var1, var$2, var$3, var$4, $var2, var$6, var$7, var$8, $var6, var$10, $var5, $var3, $var4, var$14, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var5 = $thread.pop();var$10 = $thread.pop();$var6 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var2 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = new ju_ArrayList; $var1.$array = $rt_createArray(jl_Object, 10); $ptr = 1; case 1: nms_TexturePackList_$callClinit(); if ($rt_suspending()) { break main; } var$2 = nms_TexturePackList_defaultTexturePack; $this.$selectedTexturePack = var$2; ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$3 = $var1.$array.data; var$4 = $var1.$size0; $var1.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; $var1.$modCount = $var1.$modCount + 1 | 0; $ptr = 2; case 2: $tmp = nms_TexturePackList_getTexturePackDirContents($this); if ($rt_suspending()) { break main; } var$2 = $tmp; $var2 = var$2.$iterator(); if (!$var2.$hasNext()) { var$2 = $this.$availableTexturePacks; $var2 = new ju_AbstractList$1; $var2.$this$00 = var$2; $var2.$modCount1 = var$2.$modCount; $var2.$size3 = var$2.$size(); $var2.$removeIndex = (-1); a: while (true) { var$6 = $var2.$index0; if (!(var$6 >= $var2.$size3 ? 0 : 1)) { var$2 = $this.$availableTexturePacks; var$7 = 0; var$4 = var$2.$modCount; var$8 = var$2.$size(); while (var$7 >= var$8 ? 0 : 1) { if (var$4 < var$2.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } var$6 = var$7 + 1 | 0; $var6 = var$2.$get(var$7); nms_TexturePackImplementation_deleteTexturePack($var6, $this.$mc12.$renderEngine); ju_HashMap_removeByKey($this.$texturePackCache, $var6.$texturePackID); var$7 = var$6; } $this.$availableTexturePacks = $var1; return; } var$4 = $var2.$modCount1; var$2 = $var2.$this$00; if (var$4 < var$2.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var2.$removeIndex = var$6; $var2.$index0 = var$6 + 1 | 0; var$2 = var$2.$get(var$6); var$8 = $var1.$modCount; var$7 = $var1.$size(); var$10 = 0; b: { while (true) { if (!(var$10 >= var$7 ? 0 : 1)) { var$6 = 0; break b; } if (var$8 < $var1.$modCount) break a; var$4 = var$10 + 1 | 0; $var5 = $var1.$get(var$10); if ($var5 === var$2 ? 1 : $var5 !== null ? $var5.$equals(var$2) : var$2 !== null ? 0 : 1) break; var$10 = var$4; } var$6 = 1; } if (var$6) ju_AbstractList$1_remove($var2); } $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var3 = $var2.$next(); $ptr = 3; case 3: $tmp = nms_TexturePackList_generateTexturePackID($this, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 !== null) { c: { var$2 = $this.$texturePackCache; if (!$var4.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $var4.$nativeString.length) break c; $var4.$hashCode1 = (31 * $var4.$hashCode1 | 0) + $var4.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$8 = $var4.$hashCode1; var$3 = var$2.$elementData.data; var$2 = var$3[var$8 & (var$3.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { d: { $var5 = var$2.$key; if ($var4 !== $var5) { if ($var4 === $var5) var$6 = 1; else if (!($var5 instanceof jl_String)) var$6 = 0; else { $var5 = $var5; var$6 = $var4.$nativeString !== $var5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break d; } } var$6 = 1; } if (var$6) break; } var$2 = var$2.$next3; } $var5 = var$2 === null ? null : var$2.$value1; if ($var5 === null) { $var5 = new nms_TexturePackFolder; var$2 = nms_TexturePackList_defaultTexturePack; var$14 = $var3.$path0; if (var$14 === null) $var6 = null; else { var$4 = jl_String_indexOf0(var$14, $rt_s(192), 0); if (var$4 == (-1)) $var6 = $var3.$path0; else { $var6 = $var3.$path0; $var6 = jl_String_substring($var6, var$4 + 1 | 0, $var6.$nativeString.length); } } $var5.$thumbnailTextureName = (-1); $var5.$texturePackID = $var4; $var5.$texturePackFileName = $var6; $var5.$texturePackFile = $var3; $var5.$field_98141_g = var$2; var$2 = null; e: { try { $var3 = var$2; $var6 = $rt_s(1398); var$6 = 0; $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break e; } else{ $var1 = $$je; } } f: { try { if ($var3 !== null) nle_EaglerInputStream_close($var3); break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $rt_throw($var1); } g: { try { if (var$2 !== null) nle_EaglerInputStream_close(var$2); break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $ptr = 6; continue main; } $var6 = $var5.$texturePackFileName; var$2 = $this.$mc12.$gameSettings.$skin; if ($var6 === var$2) var$6 = 1; else if (!(var$2 instanceof jl_String)) var$6 = 0; else { var$2 = var$2; var$6 = $var6.$nativeString !== var$2.$nativeString ? 0 : 1; } if (var$6) $this.$selectedTexturePack = $var5; ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$3 = $var1.$array.data; var$4 = $var1.$size0; $var1.$size0 = var$4 + 1 | 0; var$3[var$4] = $var5; $var1.$modCount = $var1.$modCount + 1 | 0; } if (!$var2.$hasNext()) { var$2 = $this.$availableTexturePacks; $var2 = new ju_AbstractList$1; $var2.$this$00 = var$2; $var2.$modCount1 = var$2.$modCount; $var2.$size3 = var$2.$size(); $var2.$removeIndex = (-1); h: while (true) { var$6 = $var2.$index0; if (!(var$6 >= $var2.$size3 ? 0 : 1)) { var$2 = $this.$availableTexturePacks; var$7 = 0; var$4 = var$2.$modCount; var$8 = var$2.$size(); while (var$7 >= var$8 ? 0 : 1) { if (var$4 < var$2.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } var$6 = var$7 + 1 | 0; $var6 = var$2.$get(var$7); nms_TexturePackImplementation_deleteTexturePack($var6, $this.$mc12.$renderEngine); ju_HashMap_removeByKey($this.$texturePackCache, $var6.$texturePackID); var$7 = var$6; } $this.$availableTexturePacks = $var1; return; } var$4 = $var2.$modCount1; var$2 = $var2.$this$00; if (var$4 < var$2.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var2.$removeIndex = var$6; $var2.$index0 = var$6 + 1 | 0; var$2 = var$2.$get(var$6); var$8 = $var1.$modCount; var$7 = $var1.$size(); var$10 = 0; i: { while (true) { if (!(var$10 >= var$7 ? 0 : 1)) { var$6 = 0; break i; } if (var$8 < $var1.$modCount) break h; var$4 = var$10 + 1 | 0; $var5 = $var1.$get(var$10); if ($var5 === var$2 ? 1 : $var5 !== null ? $var5.$equals(var$2) : var$2 !== null ? 0 : 1) break; var$10 = var$4; } var$6 = 1; } if (var$6) ju_AbstractList$1_remove($var2); } $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var3 = $var2.$next(); continue main; case 4: j: { c: { k: { a: { try { $tmp = nms_TexturePackImplementation_func_98137_a($var5, $var6, var$6); if ($rt_suspending()) { break main; } $var6 = $tmp; var$2 = $var6; $var3 = $var6; if ($var6 !== null) break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break k; } else{ $var1 = $$je; break j; } } d: { try { if ($var6 === null) break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break k; } else{ $var1 = $$je; break j; } } try { nle_EaglerInputStream_close($var6); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break c; } else { throw $$e; } } } break c; } try { $var3 = $var6; var$2 = $var6; var$3 = nle_EaglerInputStream_inputStreamToBytes($var6); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else{ $var1 = $$je; break j; } } } try { if (var$2 !== null) nle_EaglerInputStream_close(var$2); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $ptr = 6; continue main; } l: { try { if ($var3 !== null) nle_EaglerInputStream_close($var3); break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $rt_throw($var1); case 5: j: { c: { k: { try { $tmp = nle_EaglerImage_loadImage(var$3); if ($rt_suspending()) { break main; } var$14 = $tmp; $var5.$thumbnailImage = var$14; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break k; } else{ $var1 = $$je; break j; } } m: { try { if ($var6 === null) break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break k; } else{ $var1 = $$je; break j; } } try { nle_EaglerInputStream_close($var6); break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break c; } else { throw $$e; } } } break c; } try { if (var$2 !== null) nle_EaglerInputStream_close(var$2); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $ptr = 6; continue main; } b: { try { if ($var3 !== null) nle_EaglerInputStream_close($var3); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $rt_throw($var1); case 6: nms_TexturePackImplementation_loadDescription($var5); if ($rt_suspending()) { break main; } ju_HashMap_putImpl($this.$texturePackCache, $var4, $var5); $var6 = $var5.$texturePackFileName; var$2 = $this.$mc12.$gameSettings.$skin; if ($var6 === var$2) var$6 = 1; else if (!(var$2 instanceof jl_String)) var$6 = 0; else { var$2 = var$2; var$6 = $var6.$nativeString !== var$2.$nativeString ? 0 : 1; } if (var$6) $this.$selectedTexturePack = $var5; ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$3 = $var1.$array.data; var$4 = $var1.$size0; $var1.$size0 = var$4 + 1 | 0; var$3[var$4] = $var5; $var1.$modCount = $var1.$modCount + 1 | 0; if (!$var2.$hasNext()) { var$2 = $this.$availableTexturePacks; $var2 = new ju_AbstractList$1; $var2.$this$00 = var$2; $var2.$modCount1 = var$2.$modCount; $var2.$size3 = var$2.$size(); $var2.$removeIndex = (-1); n: while (true) { var$6 = $var2.$index0; if (!(var$6 >= $var2.$size3 ? 0 : 1)) { var$2 = $this.$availableTexturePacks; var$7 = 0; var$4 = var$2.$modCount; var$8 = var$2.$size(); while (var$7 >= var$8 ? 0 : 1) { if (var$4 < var$2.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } var$6 = var$7 + 1 | 0; $var6 = var$2.$get(var$7); nms_TexturePackImplementation_deleteTexturePack($var6, $this.$mc12.$renderEngine); ju_HashMap_removeByKey($this.$texturePackCache, $var6.$texturePackID); var$7 = var$6; } $this.$availableTexturePacks = $var1; return; } var$4 = $var2.$modCount1; var$2 = $var2.$this$00; if (var$4 < var$2.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var2.$removeIndex = var$6; $var2.$index0 = var$6 + 1 | 0; var$2 = var$2.$get(var$6); var$8 = $var1.$modCount; var$7 = $var1.$size(); var$10 = 0; o: { while (true) { if (!(var$10 >= var$7 ? 0 : 1)) { var$6 = 0; break o; } if (var$8 < $var1.$modCount) break n; var$4 = var$10 + 1 | 0; $var5 = $var1.$get(var$10); if ($var5 === var$2 ? 1 : $var5 !== null ? $var5.$equals(var$2) : var$2 !== null ? 0 : 1) break; var$10 = var$4; } var$6 = 1; } if (var$6) ju_AbstractList$1_remove($var2); } $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var3 = $var2.$next(); $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, $var2, var$6, var$7, var$8, $var6, var$10, $var5, $var3, $var4, var$14, $ptr); }, nms_TexturePackList_generateTexturePackID = ($this, $par1File) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1File = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = nleav_VFile_createPath($rt_wrapArray(jl_Object, [$par1File, $rt_s(1399)])); if (var$2 !== null && !jl_String_contains(var$2, $rt_s(1397)) ? 0 : 1) { a: { if (!0) $par1File = null; else { var$3 = $par1File.$path0; if (var$3 === null) $par1File = null; else { var$4 = jl_String_indexOf0(var$3, $rt_s(192), 0); if (var$4 == (-1)) $par1File = $par1File.$path0; else { $par1File = $par1File.$path0; $par1File = jl_String_substring($par1File, var$4 + 1 | 0, $par1File.$nativeString.length); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$6 = var$5.$length0; if ($par1File === null) $par1File = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, $par1File); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(1400)); $par1File = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$4 = var$5.$length0; var$9 = var$8.length; if (var$4 < 0) break a; if (var$4 > (var$9 - 0 | 0)) break a; $par1File.$nativeString = $rt_charArrayToString(var$7.data, 0, var$4); } return $par1File; } $par1File = new jl_IndexOutOfBoundsException; $par1File.$suppressionEnabled = 1; $par1File.$writableStackTrace = 1; $rt_throw($par1File); } $ptr = 1; case 1: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } var$5 = nleav_SYS_VFS; var$3 = var$5.$fileMap; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { b: { if (!var$2.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$2.$nativeString.length) break b; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$9 = var$2.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$9 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { var$10 = var$3.$key; if (var$2 !== var$10 && !jl_String_equals(var$2, var$10) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$10 = var$3 === null ? null : var$3.$value1; if (var$10 === null) { var$3 = var$5.$fileMap; var$10 = new nleav_VirtualFilesystem$VFSFile; var$10.$fileSize = (-1); var$10.$hasBeenDeleted = 0; var$10.$hasBeenAccessed = 0; var$10.$exists = 0; var$10.$cache = null; var$10.$virtualFilesystem = var$5; var$10.$filePath = var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$10.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$3, var$2, var$10); } if (var$10.$hasBeenDeleted) var$6 = 0; else { nlea_EaglerAdapterImpl2_$callClinit(); var$10.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!var$10.$hasBeenAccessed) { var$5 = var$10.$virtualFilesystem.$indexeddb; var$3 = var$10.$filePath; $ptr = 2; continue main; } var$6 = var$10.$exists; } var$6 = !var$6 ? 0 : 1; c: { if (!var$6) $par1File = null; else { var$3 = $par1File.$path0; if (var$3 === null) $par1File = null; else { var$4 = jl_String_indexOf0(var$3, $rt_s(192), 0); if (var$4 == (-1)) $par1File = $par1File.$path0; else { $par1File = $par1File.$path0; $par1File = jl_String_substring($par1File, var$4 + 1 | 0, $par1File.$nativeString.length); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$6 = var$5.$length0; if ($par1File === null) $par1File = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, $par1File); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(1400)); $par1File = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$4 = var$5.$length0; var$9 = var$8.length; if (var$4 < 0) break c; if (var$4 > (var$9 - 0 | 0)) break c; $par1File.$nativeString = $rt_charArrayToString(var$7.data, 0, var$4); } return $par1File; } $par1File = new jl_IndexOutOfBoundsException; $par1File.$suppressionEnabled = 1; $par1File.$writableStackTrace = 1; $rt_throw($par1File); case 2: $tmp = nleav_VirtualFilesystem$AsyncHandlers_fileExists$_asyncCall_$(var$5, var$3); if ($rt_suspending()) { break main; } var$5 = $tmp; var$6 = var$5.$bool; var$10.$exists = var$6; var$10.$hasBeenAccessed = 1; var$6 = !var$6 ? 0 : 1; d: { if (!var$6) $par1File = null; else { var$3 = $par1File.$path0; if (var$3 === null) $par1File = null; else { var$4 = jl_String_indexOf0(var$3, $rt_s(192), 0); if (var$4 == (-1)) $par1File = $par1File.$path0; else { $par1File = $par1File.$path0; $par1File = jl_String_substring($par1File, var$4 + 1 | 0, $par1File.$nativeString.length); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$6 = var$5.$length0; if ($par1File === null) $par1File = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, $par1File); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(1400)); $par1File = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$4 = var$5.$length0; var$9 = var$8.length; if (var$4 < 0) break d; if (var$4 > (var$9 - 0 | 0)) break d; $par1File.$nativeString = $rt_charArrayToString(var$7.data, 0, var$4); } return $par1File; } $par1File = new jl_IndexOutOfBoundsException; $par1File.$suppressionEnabled = 1; $par1File.$writableStackTrace = 1; $rt_throw($par1File); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1File, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_TexturePackList_getTexturePackDirContents = $this => { let $files, var$2, $lines, var$4, var$5, $line, var$7, var$8, var$9, var$10, var$11, var$12, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$line = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$lines = $thread.pop();var$2 = $thread.pop();$files = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_GuiTexturePacks_$callClinit(); $files = nms_GuiTexturePacks_texturePackListFile; var$2 = $files.$path0; if (!(var$2 !== null && !jl_String_contains(var$2, $rt_s(1397)) ? 0 : 1)) { $ptr = 1; continue main; } if (!0) return ju_Collections_EMPTY_LIST; $files = nms_GuiTexturePacks_texturePackListFile; var$2 = $files.$path0; if (var$2 !== null && !jl_String_contains(var$2, $rt_s(1397)) ? 0 : 1) { $lines = null.data; $files = new ju_ArrayList; $files.$array = $rt_createArray(jl_Object, 10); var$4 = $lines.length; var$5 = 0; while (var$5 < var$4) { $line = $lines[var$5]; var$2 = new nleav_VFile; var$2.$path0 = nleav_VFile_createPath($rt_wrapArray(jl_Object, [$this.$texturePackDir, $line])); ju_ArrayList_ensureCapacity($files, $files.$size0 + 1 | 0); var$7 = $files.$array.data; var$8 = $files.$size0; $files.$size0 = var$8 + 1 | 0; var$7[var$8] = var$2; $files.$modCount = $files.$modCount + 1 | 0; var$5 = var$5 + 1 | 0; } return $files; } $ptr = 2; continue main; case 1: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $line = nleav_SYS_VFS; $files = $files.$path0; var$2 = $line.$fileMap; if ($files === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$files.$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $files.$nativeString.length) break a; $files.$hashCode1 = (31 * $files.$hashCode1 | 0) + $files.$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$5 = $files.$hashCode1; $lines = var$2.$elementData.data; var$2 = $lines[var$5 & ($lines.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$10 = var$2.$key; if ($files !== var$10 && !jl_String_equals($files, var$10) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2 === null) { var$10 = $line.$fileMap; var$2 = new nleav_VirtualFilesystem$VFSFile; var$2.$fileSize = (-1); var$2.$hasBeenDeleted = 0; var$2.$hasBeenAccessed = 0; var$2.$exists = 0; var$2.$cache = null; var$2.$virtualFilesystem = $line; var$2.$filePath = $files; nlea_EaglerAdapterImpl2_$callClinit(); var$2.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$10, $files, var$2); } if (var$2.$hasBeenDeleted) var$9 = 0; else { nlea_EaglerAdapterImpl2_$callClinit(); var$2.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!var$2.$hasBeenAccessed) { $files = var$2.$virtualFilesystem.$indexeddb; $line = var$2.$filePath; $ptr = 3; continue main; } var$9 = var$2.$exists; } if (!(!var$9 ? 0 : 1)) return ju_Collections_EMPTY_LIST; $files = nms_GuiTexturePacks_texturePackListFile; var$2 = $files.$path0; if (var$2 !== null && !jl_String_contains(var$2, $rt_s(1397)) ? 0 : 1) { $lines = null.data; $files = new ju_ArrayList; $files.$array = $rt_createArray(jl_Object, 10); var$4 = $lines.length; var$5 = 0; while (var$5 < var$4) { $line = $lines[var$5]; var$2 = new nleav_VFile; var$2.$path0 = nleav_VFile_createPath($rt_wrapArray(jl_Object, [$this.$texturePackDir, $line])); ju_ArrayList_ensureCapacity($files, $files.$size0 + 1 | 0); var$7 = $files.$array.data; var$8 = $files.$size0; $files.$size0 = var$8 + 1 | 0; var$7[var$8] = var$2; $files.$modCount = $files.$modCount + 1 | 0; var$5 = var$5 + 1 | 0; } return $files; } $ptr = 2; case 2: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $line = nleav_SYS_VFS; $files = $files.$path0; var$2 = $line.$fileMap; if ($files === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$files.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $files.$nativeString.length) break a; $files.$hashCode1 = (31 * $files.$hashCode1 | 0) + $files.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$9 = $files.$hashCode1; $lines = var$2.$elementData.data; var$2 = $lines[var$9 & ($lines.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$9) { b: { var$10 = var$2.$key; if ($files !== var$10) { if ($files === var$10) var$4 = 1; else if (!(var$10 instanceof jl_String)) var$4 = 0; else { var$10 = var$10; var$4 = $files.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2 === null) { var$10 = $line.$fileMap; var$2 = new nleav_VirtualFilesystem$VFSFile; var$2.$fileSize = (-1); var$2.$hasBeenDeleted = 0; var$2.$hasBeenAccessed = 0; var$2.$exists = 0; var$2.$cache = null; var$2.$virtualFilesystem = $line; var$2.$filePath = $files; nlea_EaglerAdapterImpl2_$callClinit(); var$2.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$10, $files, var$2); } var$9 = 0; $ptr = 4; continue main; case 3: $tmp = nleav_VirtualFilesystem$AsyncHandlers_fileExists$_asyncCall_$($files, $line); if ($rt_suspending()) { break main; } $files = $tmp; var$9 = $files.$bool; var$2.$exists = var$9; var$2.$hasBeenAccessed = 1; if (!(!var$9 ? 0 : 1)) return ju_Collections_EMPTY_LIST; $files = nms_GuiTexturePacks_texturePackListFile; var$2 = $files.$path0; if (var$2 !== null && !jl_String_contains(var$2, $rt_s(1397)) ? 0 : 1) { $lines = null.data; $files = new ju_ArrayList; $files.$array = $rt_createArray(jl_Object, 10); var$4 = $lines.length; var$5 = 0; while (var$5 < var$4) { $line = $lines[var$5]; var$2 = new nleav_VFile; var$2.$path0 = nleav_VFile_createPath($rt_wrapArray(jl_Object, [$this.$texturePackDir, $line])); ju_ArrayList_ensureCapacity($files, $files.$size0 + 1 | 0); var$7 = $files.$array.data; var$8 = $files.$size0; $files.$size0 = var$8 + 1 | 0; var$7[var$8] = var$2; $files.$modCount = $files.$modCount + 1 | 0; var$5 = var$5 + 1 | 0; } return $files; } $ptr = 2; continue main; case 4: $tmp = nleav_VirtualFilesystem$VFSFile_getAllBytes(var$2, var$9); if ($rt_suspending()) { break main; } $lines = $tmp; if ($lines === null) var$2 = null; else { var$2 = new jl_String; jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$11 = jnc_Charset$Charsets_value; $files = $rt_s(86).$nativeString.toUpperCase(); $line = $files === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_($files); c: { if (!$line.$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $line.$nativeString.length) break c; $line.$hashCode1 = (31 * $line.$hashCode1 | 0) + $line.$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$9 = $line.$hashCode1; var$7 = var$11.$elementData.data; $files = var$7[var$9 & (var$7.length - 1 | 0)]; while ($files !== null && !($files.$origKeyHash == var$9 && ju_HashMap_areEqualKeys($line, $files.$key))) { $files = $files.$next3; } $files = $files === null ? null : $files.$value1; if ($files === null) { $files = new jnc_UnsupportedCharsetException; $files.$suppressionEnabled = 1; $files.$writableStackTrace = 1; $files.$charsetName = $rt_s(86); $rt_throw($files); } var$4 = $lines.data.length; if (var$4 >= 0 && var$4 <= (var$4 - 0 | 0)) { var$10 = new jn_ByteBufferImpl; jn_ByteBuffer__init_(var$10, 0, var$4, $lines, 0, 0 + var$4 | 0); var$10.$direct = 0; var$10.$readOnly0 = 0; d: { try { $files = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput($files.$newDecoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$10); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $line = $$je; } else { throw $$e; } } var$2 = new jl_AssertionError; jl_Error__init_(var$2, $rt_s(405), $line); $rt_throw(var$2); } var$5 = $files.$position0; if (!var$5 && $files.$limit0 == $files.$capacity) $lines = $files.$array1; else { $lines = $rt_createCharArray($files.$limit0 - var$5 | 0); jn_CharBuffer_get($files, $lines, 0, $lines.data.length); } var$2.$nativeString = $rt_fullArrayToString($lines.data); } else $rt_throw(jl_IndexOutOfBoundsException__init_0()); } if (var$2 === null) $lines = null; else { $line = nleav_VirtualFilesystem_CRLFtoLF(var$2); $lines = jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), $line, 0); } $lines = $lines.data; $files = new ju_ArrayList; $files.$array = $rt_createArray(jl_Object, 10); var$4 = $lines.length; var$5 = 0; while (var$5 < var$4) { $line = $lines[var$5]; var$2 = new nleav_VFile; var$7 = $rt_createArray(jl_Object, 2); var$12 = var$7.data; var$12[0] = $this.$texturePackDir; var$12[1] = $line; var$2.$path0 = nleav_VFile_createPath(var$7); ju_ArrayList_ensureCapacity($files, $files.$size0 + 1 | 0); var$7 = $files.$array.data; var$8 = $files.$size0; $files.$size0 = var$8 + 1 | 0; var$7[var$8] = var$2; $files.$modCount = $files.$modCount + 1 | 0; var$5 = var$5 + 1 | 0; } return $files; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $files, var$2, $lines, var$4, var$5, $line, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_TexturePackList_getSelectedTexturePack = $this => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: return $this.$selectedTexturePack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); }, nms_TexturePackList__clinit_ = () => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = new nms_TexturePackDefault; $ptr = 1; case 1: nms_TexturePackDefault__init_(var$1); if ($rt_suspending()) { break main; } nms_TexturePackList_defaultTexturePack = var$1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$1, $ptr); }, nms_ChatAllowedCharacters = $rt_classWithoutFields(), nms_ChatAllowedCharacters_allowedCharacters = null, nms_ChatAllowedCharacters_allowedCharactersArray = null, nms_ChatAllowedCharacters__init_ = $this => { return; }, nms_ChatAllowedCharacters__init_0 = () => { let var_0 = new nms_ChatAllowedCharacters(); nms_ChatAllowedCharacters__init_(var_0); return var_0; }, nms_ChatAllowedCharacters_getAllowedCharacters = () => { let $var0, var$2, $var1, var$4, var$5, $$je; $var0 = $rt_s(18); a: { try { var$2 = $var0; $var1 = ji_BufferedReader__init_0(ji_InputStreamReader__init_2(nlea_EaglerAdapterImpl2_loadResource($rt_s(1401)), $rt_s(86))); while (true) { var$2 = $var0; var$4 = ji_BufferedReader_readLine($var1); if (var$4 === null) break; var$2 = $var0; if (jl_String_startsWith0(var$4, $rt_s(1402))) continue; var$2 = $var0; var$5 = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(var$5, $var0), var$4); $var0 = jl_StringBuilder_toString(var$5); var$2 = $var0; var$2 = $var0; } var$2 = $var0; ji_BufferedReader_close($var1); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } $var0 = var$2; } nms_ChatAllowedCharacters_allowedCharacters = $var0; }, nms_ChatAllowedCharacters__clinit_ = () => { nms_ChatAllowedCharacters_allowedCharacters = null; nms_ChatAllowedCharacters_allowedCharactersArray = $rt_createCharArrayFromData([47, 10, 13, 9, 0, 12, 96, 63, 42, 92, 60, 62, 124, 34, 58]); }; function nms_FontRenderer() { let a = this; jl_Object.call(a); a.$charWidth = null; a.$FONT_HEIGHT = 0; a.$fontRandom = null; a.$glyphWidth = null; a.$colorCode = null; a.$fontTexture = null; a.$fontTextureName = null; a.$renderEngine3 = null; a.$posX1 = 0.0; a.$posY1 = 0.0; a.$unicodeFlag = 0; a.$bidiFlag = 0; a.$red = 0.0; a.$blue = 0.0; a.$green = 0.0; a.$alpha0 = 0.0; a.$textColor = 0; a.$randomStyle = 0; a.$boldStyle = 0; a.$italicStyle = 0; a.$underlineStyle = 0; a.$strikethroughStyle = 0; } let nms_FontRenderer__init_ = ($this, $par1GameSettings, $par2Str, $par3RenderEngine, $par4) => { let var$5, var$6, var$7, var$8, $var11, $var5, $var6, $var10, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var11 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3RenderEngine = $thread.pop();$par2Str = $thread.pop();$par1GameSettings = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$charWidth = $rt_createIntArray(256); $this.$FONT_HEIGHT = 9; var$5 = new nle_EaglercraftRandom; var$6 = Long_fromNumber(performance.now() * 1000000.0); var$5.$seed = Long_fromInt(69); var$5.$haveNextNextGaussian = 0; var$5.$seed = var$6; $this.$fontRandom = var$5; $this.$glyphWidth = $rt_createByteArray(65536); $this.$colorCode = $rt_createIntArray(32); $this.$unicodeFlag = 0; $this.$randomStyle = 0; $this.$boldStyle = 0; $this.$italicStyle = 0; $this.$underlineStyle = 0; $this.$strikethroughStyle = 0; var$5 = new nle_TextureLocation; var$5.$path = $par2Str; var$5.$glObject = (-1); var$7 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$8 = var$7.$array.data; $var11 = var$7.$size0; var$7.$size0 = $var11 + 1 | 0; var$8[$var11] = var$5; var$7.$modCount = var$7.$modCount + 1 | 0; $this.$fontTexture = var$5; $this.$fontTextureName = $par2Str; $this.$renderEngine3 = $par3RenderEngine; $this.$unicodeFlag = $par4; $par3RenderEngine = nms_Minecraft_theMinecraft.$texturePackList.$selectedTexturePack; $par2Str = $rt_s(1184); $ptr = 1; case 1: $tmp = $par3RenderEngine.$getResourceAsBytes($par2Str); if ($rt_suspending()) { break main; } var$8 = $tmp; $this.$glyphWidth = var$8; $par2Str = $this.$fontTextureName; $ptr = 2; case 2: nms_FontRenderer_readFontTexture($this, $par2Str); if ($rt_suspending()) { break main; } $par2Str = $this.$fontTexture; $ptr = 3; case 3: nle_TextureLocation_bindTexture($par2Str); if ($rt_suspending()) { break main; } $var5 = 0; while ($var5 < 32) { $var6 = ($var5 >> 3 & 1) * 85 | 0; $var10 = (($var5 >> 2 & 1) * 170 | 0) + $var6 | 0; $var11 = (($var5 >> 1 & 1) * 170 | 0) + $var6 | 0; $var12 = (($var5 >> 0 & 1) * 170 | 0) + $var6 | 0; if ($var5 == 6) $var10 = $var10 + 85 | 0; if ($par1GameSettings.$anaglyph) { $par4 = $var10 * 30 | 0; $var10 = (($par4 + ($var11 * 59 | 0) | 0) + ($var12 * 11 | 0) | 0) / 100 | 0; $var11 = ($par4 + ($var11 * 70 | 0) | 0) / 100 | 0; $var12 = ($par4 + ($var12 * 70 | 0) | 0) / 100 | 0; } if ($var5 >= 16) { $var10 = $var10 / 4 | 0; $var11 = $var11 / 4 | 0; $var12 = $var12 / 4 | 0; } $this.$colorCode.data[$var5] = ($var10 & 255) << 16 | ($var11 & 255) << 8 | $var12 & 255; $var5 = $var5 + 1 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GameSettings, $par2Str, $par3RenderEngine, $par4, var$5, var$6, var$7, var$8, $var11, $var5, $var6, $var10, $var12, $ptr); }, nms_FontRenderer__init_0 = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_FontRenderer(); nms_FontRenderer__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_FontRenderer_readFontTexture = ($this, $par1Str) => { let var$2, $var5, $var3, $var6, $var7, $var8, $var9, var$9, $var10, $var11, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$9 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var3 = $thread.pop();$var5 = $thread.pop();var$2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = nms_Minecraft_theMinecraft.$texturePackList.$selectedTexturePack; $ptr = 1; case 1: $tmp = var$2.$getResourceAsBytes($par1Str); if ($rt_suspending()) { break main; } $var5 = $tmp; nlea_EaglerAdapterImpl2_$callClinit(); $par1Str = $var5.data.buffer; $ptr = 2; case 2: $tmp = nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$($par1Str); if ($rt_suspending()) { break main; } $par1Str = $tmp; $par1Str = $par1Str; $var5 = $par1Str.$data5; $var3 = $par1Str.$w0; $var6 = 0; while ($var6 < 256) { $var7 = $var6 % 16 | 0; $var8 = $var6 / 16 | 0; $var9 = 7; $var7 = $var7 * 8 | 0; var$9 = $var8 * 8 | 0; while ($var9 >= 0) { $var10 = $var7 + $var9 | 0; $var11 = 1; $var12 = 0; while ($var12 < 8 && $var11) { if (($var5.data[$var10 + $rt_imul(var$9 + $var12 | 0, $var3) | 0] & 255) > 0) $var11 = 0; $var12 = $var12 + 1 | 0; } if (!$var11) break; $var9 = $var9 + (-1) | 0; } if ($var6 == 32) $var9 = 2; $this.$charWidth.data[$var6] = $var9 + 2 | 0; $var6 = $var6 + 1 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, var$2, $var5, $var3, $var6, $var7, $var8, $var9, var$9, $var10, $var11, $var12, $ptr); }, nms_FontRenderer_renderDefaultChar = ($this, $par1, $par2) => { let $var3, $var4, $var5, $var6, $t, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; $var3 = ($par1 % 16 | 0) * 8 | 0; $var4 = ($par1 / 16 | 0) * 8 | 0; $var5 = !$par2 ? 0.0 : 1.0; $var6 = $this.$charWidth.data[$par1] - 0.019999999552965164; nlea_Tessellator_$callClinit(); $t = nlea_Tessellator_instance; var$8 = $this.$posX1 + 0.009999999776482582 + $var5; var$9 = $this.$posY1 + 0.009999999776482582; var$10 = ($var3 + 0.019999999552965164) / 128.0; var$11 = ($var4 + 0.019999999552965164) / 128.0; $t.$hasTexture = 1; var$12 = var$10; $t.$textureU = var$12; var$13 = var$11; $t.$textureV = var$13; nlea_Tessellator_addVertex($t, var$8, var$9, 0.0); var$14 = $this.$posX1 + 0.009999999776482582 - $var5; var$11 = $this.$posY1 + 7.989999771118164; var$9 = ($var4 + 7.960000038146973) / 128.0; $t.$hasTexture = 1; $t.$textureU = var$12; var$12 = var$9; $t.$textureV = var$12; nlea_Tessellator_addVertex($t, var$14, var$11, 0.0); var$14 = $this.$posX1 + $var6 - $var5; var$11 = $this.$posY1 + 7.989999771118164; var$9 = ($var3 + $var6) / 128.0; $t.$hasTexture = 1; var$15 = var$9; $t.$textureU = var$15; $t.$textureV = var$12; nlea_Tessellator_addVertex($t, var$14, var$11, 0.0); var$14 = $this.$posX1 + $var6 + $var5; var$11 = $this.$posY1 + 0.009999999776482582; $t.$hasTexture = 1; $t.$textureU = var$15; $t.$textureV = var$13; nlea_Tessellator_addVertex($t, var$14, var$11, 0.0); return $this.$charWidth.data[$par1]; }, nms_FontRenderer_renderUnicodeChar = ($this, $par1, $par2) => { let $t, $var3, var$5, var$6, var$7, var$8, var$9, var$10, $var4, $var5, $var6, $var7, $var8, $var9, $var10, $var11, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();$t = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$glyphWidth.data[$par1]) return 0.0; nlea_Tessellator_$callClinit(); $t = nlea_Tessellator_instance; nlea_Tessellator_draw($t); $var3 = $par1 / 256 | 0; var$5 = $rt_createArray(jl_Object, 1); if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = $var3; } var$5.data[0] = var$6; var$6 = new ju_Formatter; ju_Locale_$callClinit(); var$7 = ju_Locale_defaultLocale; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); var$6.$out1 = var$8; var$6.$locale1 = var$7; a: { try { ju_Formatter$FormatWriter_write(ju_Formatter$FormatWriter__init_(var$6, var$8, var$7, $rt_s(1403), var$5)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { var$9 = $$je; } else { throw $$e; } } var$6.$ioException = var$9; } var$9 = var$6.$out1; if (var$9 === null) { $t = new ju_FormatterClosedException; $t.$suppressionEnabled = 1; $t.$writableStackTrace = 1; $rt_throw($t); } var$6 = new jl_String; var$5 = var$9.$buffer; var$10 = var$5.data; $var4 = var$9.$length0; $var3 = var$10.length; if ($var4 >= 0 && $var4 <= ($var3 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$5.data, 0, $var4); var$9 = $this.$renderEngine3; $ptr = 1; continue main; } $t = new jl_IndexOutOfBoundsException; $t.$suppressionEnabled = 1; $t.$writableStackTrace = 1; $rt_throw($t); case 1: $tmp = nms_RenderEngine_getTexture(var$9, var$6); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 != var$9.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $var5); var$9.$boundTexture = $var5; } var$5 = $this.$glyphWidth.data; $var4 = var$5[$par1] >>> 4 | 0; $var5 = var$5[$par1] & 15; $var6 = $var4; $var7 = $var5 + 1 | 0; $var8 = (($par1 % 16 | 0) * 16 | 0) + $var6; $var9 = (($par1 & 255) / 16 | 0) * 16 | 0; $var7 = $var7 - $var6; $var10 = $var7 - 0.019999999552965164; $var11 = !$par2 ? 0.0 : 1.0; if ($t.$isDrawing) nlea_Tessellator_draw($t); $t.$isDrawing = 1; $t.$vertexCount = 0; $t.$rawBufferIndex = 0; $t.$addedVertices = 0; $t.$drawMode = 5; $t.$hasNormals = 0; $t.$hasColor = 0; $t.$hasTexture = 0; $t.$hasBrightness = 0; $t.$isColorDisabled = 0; var$19 = $this.$posX1 + 0.009999999776482582 + $var11; var$20 = $this.$posY1 + 0.009999999776482582; var$21 = ($var8 + 0.019999999552965164) / 256.0; var$22 = ($var9 + 0.019999999552965164) / 256.0; $t.$hasTexture = 1; var$23 = var$21; $t.$textureU = var$23; var$24 = var$22; $t.$textureV = var$24; nlea_Tessellator_addVertex($t, var$19, var$20, 0.0); var$21 = $this.$posX1 + 0.009999999776482582 - $var11; var$25 = $this.$posY1 + 7.989999771118164; var$20 = ($var9 + 15.979999542236328) / 256.0; $t.$hasTexture = 1; $t.$textureU = var$23; var$26 = var$20; $t.$textureV = var$26; nlea_Tessellator_addVertex($t, var$21, var$25, 0.0); $var6 = $this.$posX1; $var9 = $var10 / 2.0; var$25 = $var6 + $var9 + $var11; var$19 = $this.$posY1 + 0.009999999776482582; var$21 = ($var8 + $var10) / 256.0; $t.$hasTexture = 1; $var10 = var$21; $t.$textureU = $var10; $t.$textureV = var$24; nlea_Tessellator_addVertex($t, var$25, var$19, 0.0); var$25 = $this.$posX1 + $var9 - $var11; var$19 = $this.$posY1 + 7.989999771118164; $t.$hasTexture = 1; $t.$textureU = $var10; $t.$textureV = var$26; nlea_Tessellator_addVertex($t, var$25, var$19, 0.0); nlea_Tessellator_draw($t); var$9 = $this.$fontTexture; $ptr = 2; case 2: nle_TextureLocation_bindTexture(var$9); if ($rt_suspending()) { break main; } if ($t.$isDrawing) nlea_Tessellator_draw($t); $t.$isDrawing = 1; $t.$vertexCount = 0; $t.$rawBufferIndex = 0; $t.$addedVertices = 0; $t.$drawMode = 7; $t.$hasNormals = 0; $t.$hasColor = 0; $t.$hasTexture = 0; $t.$hasBrightness = 0; $t.$isColorDisabled = 0; return $var7 / 2.0 + 1.0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $t, $var3, var$5, var$6, var$7, var$8, var$9, var$10, $var4, $var5, $var6, $var7, $var8, $var9, $var10, $var11, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, $ptr); }, nms_FontRenderer_drawStringWithShadow = ($this, $par1Str, $par2, $par3, $par4) => { let var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$randomStyle = 0; $this.$boldStyle = 0; $this.$italicStyle = 0; $this.$underlineStyle = 0; $this.$strikethroughStyle = 0; var$5 = $par2 + 1 | 0; var$6 = $par3 + 1 | 0; var$7 = 1; $ptr = 1; case 1: $tmp = nms_FontRenderer_renderString($this, $par1Str, var$5, var$6, $par4, var$7); if ($rt_suspending()) { break main; } var$6 = $tmp; var$5 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($this, $par1Str, $par2, $par3, $par4, var$5); if ($rt_suspending()) { break main; } $par2 = $tmp; if (var$6 > $par2) $par2 = var$6; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2, $par3, $par4, var$5, var$6, var$7, $ptr); }, nms_FontRenderer_drawString = ($this, $par1Str, $par2, $par3, $par4) => { let var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$randomStyle = 0; $this.$boldStyle = 0; $this.$italicStyle = 0; $this.$underlineStyle = 0; $this.$strikethroughStyle = 0; var$5 = 0; $ptr = 1; case 1: $tmp = nms_FontRenderer_renderString($this, $par1Str, $par2, $par3, $par4, var$5); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2, $par3, $par4, var$5, $ptr); }, nms_FontRenderer_renderStringAtPos = ($this, $par1Str, $par2) => { let $t, $var9, $var3, var$6, $var4, $var10, $var5, $var11, var$11, var$12, $var8, $var6, var$15, var$16, $var7, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();$var7 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var6 = $thread.pop();$var8 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var11 = $thread.pop();$var5 = $thread.pop();$var10 = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();$var9 = $thread.pop();$t = $thread.pop();$par2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_Tessellator_$callClinit(); $t = nlea_Tessellator_instance; $var9 = $this.$fontTexture; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var9); if ($rt_suspending()) { break main; } if ($t.$isDrawing) nlea_Tessellator_draw($t); $t.$isDrawing = 1; $t.$vertexCount = 0; $t.$rawBufferIndex = 0; $t.$addedVertices = 0; $t.$drawMode = 7; $t.$hasNormals = 0; $t.$hasColor = 0; $t.$hasTexture = 0; $t.$hasBrightness = 0; $t.$isColorDisabled = 0; $var3 = 0; var$6 = 17; a: { b: { c: { d: { while ($var3 < $par1Str.$nativeString.length) { if ($var3 < 0) break d; if ($var3 >= $par1Str.$nativeString.length) break d; e: { $var4 = $par1Str.$nativeString.charCodeAt($var3); if ($var4 == 167) { $var10 = $var3 + 1 | 0; if ($var10 < $par1Str.$nativeString.length) { if ($var10 < 0) break c; if ($var10 >= $par1Str.$nativeString.length) break c; $var3 = $par1Str.$nativeString.charCodeAt($var10); if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } $var5 = jl_String_indexOf($rt_s(1404), jl_Character_mapChar(jl_Character_lowerCaseMapping, $var3) & 65535, 0); $var3 = $rt_compare($var5, 16); if ($var3 >= 0) { if (!$var3) $this.$randomStyle = 1; else if ($var5 == 17) $this.$boldStyle = 1; else if ($var5 == 18) $this.$strikethroughStyle = 1; else if ($var5 == 19) $this.$underlineStyle = 1; else if ($var5 == 20) $this.$italicStyle = 1; else if ($var5 == 21) { $this.$randomStyle = 0; $this.$boldStyle = 0; $this.$strikethroughStyle = 0; $this.$underlineStyle = 0; $this.$italicStyle = 0; nlea_Tessellator_draw($t); if ($t.$isDrawing) nlea_Tessellator_draw($t); $t.$isDrawing = 1; $t.$vertexCount = 0; $t.$rawBufferIndex = 0; $t.$addedVertices = 0; $t.$drawMode = 7; $t.$hasNormals = 0; $t.$hasColor = 0; $t.$hasTexture = 0; $t.$hasBrightness = 0; $t.$isColorDisabled = 0; $var11 = $this.$red; var$11 = $this.$blue; var$12 = $this.$green; $var8 = $this.$alpha0; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var11; nleg_EaglerAdapterGL30_colorG = var$11; nleg_EaglerAdapterGL30_colorB = var$12; nleg_EaglerAdapterGL30_colorA = $var8; } } else { $this.$randomStyle = 0; $this.$boldStyle = 0; $this.$strikethroughStyle = 0; $this.$underlineStyle = 0; $this.$italicStyle = 0; if (!($var5 >= 0 && $var5 <= 15)) $var5 = 15; if ($par2) $var5 = $var5 + 16 | 0; nlea_Tessellator_draw($t); if ($t.$isDrawing) nlea_Tessellator_draw($t); $t.$isDrawing = 1; $t.$vertexCount = 0; $t.$rawBufferIndex = 0; $t.$addedVertices = 0; $t.$drawMode = 7; $t.$hasNormals = 0; $t.$hasColor = 0; $t.$hasTexture = 0; $t.$hasBrightness = 0; $t.$isColorDisabled = 0; $var6 = $this.$colorCode.data[$var5]; $this.$textColor = $var6; $var11 = ($var6 >> 16 & 255) / 255.0; var$11 = ($var6 >> 8 & 255) / 255.0; var$12 = ($var6 & 255) / 255.0; $var8 = $this.$alpha0; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var11; nleg_EaglerAdapterGL30_colorG = var$11; nleg_EaglerAdapterGL30_colorB = var$12; nleg_EaglerAdapterGL30_colorA = $var8; } break e; } } $var6 = jl_String_indexOf(nms_ChatAllowedCharacters_allowedCharacters, $var4, 0); if ($this.$randomStyle && $var6 > 0) { $var10 = $var6 + 32 | 0; while (true) { $var9 = $this.$fontRandom; var$15 = nms_ChatAllowedCharacters_allowedCharacters.$nativeString.length; var$16 = Long_and(Long_add(Long_mul($var9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$16; $var5 = Long_lo(Long_shru(var$16, var$6)); $var7 = var$15 - 1 | 0; if (!(var$15 & $var7)) $var6 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$15), Long_fromInt($var5)), 31)); else while (true) { $var6 = $var5 % var$15 | 0; if ((($var5 - $var6 | 0) + $var7 | 0) >= 0) break; var$16 = Long_and(Long_add(Long_mul($var9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$16; $var5 = Long_lo(Long_shru(var$16, var$6)); } var$18 = $this.$charWidth.data; if (var$18[$var10] != var$18[$var6 + 32 | 0]) continue; else break; } } $var10 = $this.$unicodeFlag; $var11 = !$var10 ? 0.9800000190734863 : 0.47999998927116394; $var7 = !($var6 > 0 && !$var10) && $par2 ? 1 : 0; if ($var7) { $this.$posX1 = $this.$posX1 - $var11; $this.$posY1 = $this.$posY1 - $var11; } $var5 = $this.$italicStyle; var$15 = $rt_compare($var4, 32); if (!var$15) $var8 = 4.0; else { if ($var6 <= 0) break b; if ($var10) break b; $var8 = nms_FontRenderer_renderDefaultChar($this, $var6 + 32 | 0, $var5); } if ($var7) { $this.$posX1 = $this.$posX1 + $var11; $this.$posY1 = $this.$posY1 + $var11; } if ($this.$boldStyle) { var$11 = $this.$posX1 + $var11; $this.$posX1 = var$11; if ($var7) { $this.$posX1 = var$11 - $var11; $this.$posY1 = $this.$posY1 - $var11; } $var10 = $this.$italicStyle; if (var$15) { if ($var6 <= 0) break a; if ($this.$unicodeFlag) break a; nms_FontRenderer_renderDefaultChar($this, $var6 + 32 | 0, $var10); } var$11 = $this.$posX1 - $var11; $this.$posX1 = var$11; if ($var7) { $this.$posX1 = var$11 + $var11; $this.$posY1 = $this.$posY1 + $var11; } $var8 = $var8 + 1.0; } if ($this.$strikethroughStyle) { $var9 = nlea_Tessellator_instance; nlea_Tessellator_draw($var9); nleg_EaglerAdapterGL30_glDisable(3553); if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; nlea_Tessellator_addVertex($var9, $this.$posX1, $this.$posY1 + ($this.$FONT_HEIGHT / 2 | 0), 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + $var8, $this.$posY1 + ($this.$FONT_HEIGHT / 2 | 0), 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + $var8, $this.$posY1 + ($this.$FONT_HEIGHT / 2 | 0) - 1.0, 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1, $this.$posY1 + ($this.$FONT_HEIGHT / 2 | 0) - 1.0, 0.0); nlea_Tessellator_draw($var9); if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; nleg_EaglerAdapterGL30_glEnable(3553); } if ($this.$underlineStyle) { $var9 = nlea_Tessellator_instance; nlea_Tessellator_draw($var9); nleg_EaglerAdapterGL30_glDisable(3553); if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; $var10 = !$this.$underlineStyle ? 0 : (-1); $var11 = $this.$posX1; var$11 = $var10; nlea_Tessellator_addVertex($var9, $var11 + var$11, $this.$posY1 + $this.$FONT_HEIGHT, 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + $var8, $this.$posY1 + $this.$FONT_HEIGHT, 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + $var8, $this.$posY1 + $this.$FONT_HEIGHT - 1.0, 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + var$11, $this.$posY1 + $this.$FONT_HEIGHT - 1.0, 0.0); nlea_Tessellator_draw($var9); if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; nleg_EaglerAdapterGL30_glEnable(3553); } $this.$posX1 = $this.$posX1 + ($var8 | 0); $var10 = $var3; } $var3 = $var10 + 1 | 0; } nlea_Tessellator_draw($t); return; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $ptr = 2; continue main; } $ptr = 3; continue main; case 2: $tmp = nms_FontRenderer_renderUnicodeChar($this, $var4, $var5); if ($rt_suspending()) { break main; } $var8 = $tmp; f: { a: { b: { c: { d: while (true) { if ($var7) { $this.$posX1 = $this.$posX1 + $var11; $this.$posY1 = $this.$posY1 + $var11; } if ($this.$boldStyle) { var$11 = $this.$posX1 + $var11; $this.$posX1 = var$11; if ($var7) { $this.$posX1 = var$11 - $var11; $this.$posY1 = $this.$posY1 - $var11; } $var10 = $this.$italicStyle; if (var$15) { if ($var6 <= 0) break f; if ($this.$unicodeFlag) break f; nms_FontRenderer_renderDefaultChar($this, $var6 + 32 | 0, $var10); } var$11 = $this.$posX1 - $var11; $this.$posX1 = var$11; if ($var7) { $this.$posX1 = var$11 + $var11; $this.$posY1 = $this.$posY1 + $var11; } $var8 = $var8 + 1.0; } if ($this.$strikethroughStyle) { $var9 = nlea_Tessellator_instance; nlea_Tessellator_draw($var9); nleg_EaglerAdapterGL30_glDisable(3553); if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; nlea_Tessellator_addVertex($var9, $this.$posX1, $this.$posY1 + ($this.$FONT_HEIGHT / 2 | 0), 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + $var8, $this.$posY1 + ($this.$FONT_HEIGHT / 2 | 0), 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + $var8, $this.$posY1 + ($this.$FONT_HEIGHT / 2 | 0) - 1.0, 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1, $this.$posY1 + ($this.$FONT_HEIGHT / 2 | 0) - 1.0, 0.0); nlea_Tessellator_draw($var9); if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; nleg_EaglerAdapterGL30_glEnable(3553); } if ($this.$underlineStyle) { $var9 = nlea_Tessellator_instance; nlea_Tessellator_draw($var9); nleg_EaglerAdapterGL30_glDisable(3553); if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; $var10 = !$this.$underlineStyle ? 0 : (-1); $var11 = $this.$posX1; var$11 = $var10; nlea_Tessellator_addVertex($var9, $var11 + var$11, $this.$posY1 + $this.$FONT_HEIGHT, 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + $var8, $this.$posY1 + $this.$FONT_HEIGHT, 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + $var8, $this.$posY1 + $this.$FONT_HEIGHT - 1.0, 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + var$11, $this.$posY1 + $this.$FONT_HEIGHT - 1.0, 0.0); nlea_Tessellator_draw($var9); if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; nleg_EaglerAdapterGL30_glEnable(3553); } $this.$posX1 = $this.$posX1 + ($var8 | 0); $var10 = $var3; while (true) { $var3 = $var10 + 1 | 0; if ($var3 >= $par1Str.$nativeString.length) break d; if ($var3 < 0) break c; if ($var3 >= $par1Str.$nativeString.length) break c; $var4 = $par1Str.$nativeString.charCodeAt($var3); if ($var4 != 167) break; $var10 = $var3 + 1 | 0; if ($var10 >= $par1Str.$nativeString.length) break; if ($var10 < 0) break b; if ($var10 >= $par1Str.$nativeString.length) break b; $var3 = $par1Str.$nativeString.charCodeAt($var10); if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } $var5 = jl_String_indexOf($rt_s(1404), jl_Character_mapChar(jl_Character_lowerCaseMapping, $var3) & 65535, 0); $var3 = $rt_compare($var5, 16); if ($var3 >= 0) { if (!$var3) $this.$randomStyle = 1; else if ($var5 == 17) $this.$boldStyle = 1; else if ($var5 == 18) $this.$strikethroughStyle = 1; else if ($var5 == 19) $this.$underlineStyle = 1; else if ($var5 == 20) $this.$italicStyle = 1; else if ($var5 == 21) { $this.$randomStyle = 0; $this.$boldStyle = 0; $this.$strikethroughStyle = 0; $this.$underlineStyle = 0; $this.$italicStyle = 0; nlea_Tessellator_draw($t); if ($t.$isDrawing) nlea_Tessellator_draw($t); $t.$isDrawing = 1; $t.$vertexCount = 0; $t.$rawBufferIndex = 0; $t.$addedVertices = 0; $t.$drawMode = 7; $t.$hasNormals = 0; $t.$hasColor = 0; $t.$hasTexture = 0; $t.$hasBrightness = 0; $t.$isColorDisabled = 0; $var11 = $this.$red; var$11 = $this.$blue; var$12 = $this.$green; $var8 = $this.$alpha0; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var11; nleg_EaglerAdapterGL30_colorG = var$11; nleg_EaglerAdapterGL30_colorB = var$12; nleg_EaglerAdapterGL30_colorA = $var8; } } else { $this.$randomStyle = 0; $this.$boldStyle = 0; $this.$strikethroughStyle = 0; $this.$underlineStyle = 0; $this.$italicStyle = 0; if (!($var5 >= 0 && $var5 <= 15)) $var5 = 15; if ($par2) $var5 = $var5 + 16 | 0; nlea_Tessellator_draw($t); if ($t.$isDrawing) nlea_Tessellator_draw($t); $t.$isDrawing = 1; $t.$vertexCount = 0; $t.$rawBufferIndex = 0; $t.$addedVertices = 0; $t.$drawMode = 7; $t.$hasNormals = 0; $t.$hasColor = 0; $t.$hasTexture = 0; $t.$hasBrightness = 0; $t.$isColorDisabled = 0; $var6 = $this.$colorCode.data[$var5]; $this.$textColor = $var6; $var11 = ($var6 >> 16 & 255) / 255.0; var$11 = ($var6 >> 8 & 255) / 255.0; var$12 = ($var6 & 255) / 255.0; $var8 = $this.$alpha0; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var11; nleg_EaglerAdapterGL30_colorG = var$11; nleg_EaglerAdapterGL30_colorB = var$12; nleg_EaglerAdapterGL30_colorA = $var8; } } $var6 = jl_String_indexOf(nms_ChatAllowedCharacters_allowedCharacters, $var4, 0); if ($this.$randomStyle && $var6 > 0) { $var10 = $var6 + 32 | 0; while (true) { $var9 = $this.$fontRandom; var$15 = nms_ChatAllowedCharacters_allowedCharacters.$nativeString.length; var$16 = Long_and(Long_add(Long_mul($var9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$16; $var5 = Long_lo(Long_shru(var$16, var$6)); $var7 = var$15 - 1 | 0; if (!(var$15 & $var7)) $var6 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$15), Long_fromInt($var5)), 31)); else while (true) { $var6 = $var5 % var$15 | 0; if ((($var5 - $var6 | 0) + $var7 | 0) >= 0) break; var$16 = Long_and(Long_add(Long_mul($var9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$16; $var5 = Long_lo(Long_shru(var$16, var$6)); } var$18 = $this.$charWidth.data; if (var$18[$var10] != var$18[$var6 + 32 | 0]) continue; else break; } } $var10 = $this.$unicodeFlag; $var11 = !$var10 ? 0.9800000190734863 : 0.47999998927116394; $var7 = !($var6 > 0 && !$var10) && $par2 ? 1 : 0; if ($var7) { $this.$posX1 = $this.$posX1 - $var11; $this.$posY1 = $this.$posY1 - $var11; } $var5 = $this.$italicStyle; var$15 = $rt_compare($var4, 32); if (!var$15) { $var8 = 4.0; continue; } if ($var6 <= 0) break a; if ($var10) break a; $var8 = nms_FontRenderer_renderDefaultChar($this, $var6 + 32 | 0, $var5); } nlea_Tessellator_draw($t); return; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } continue main; } $ptr = 3; case 3: nms_FontRenderer_renderUnicodeChar($this, $var4, $var10); if ($rt_suspending()) { break main; } f: { a: { b: { c: { d: while (true) { var$11 = $this.$posX1 - $var11; $this.$posX1 = var$11; if ($var7) { $this.$posX1 = var$11 + $var11; $this.$posY1 = $this.$posY1 + $var11; } $var8 = $var8 + 1.0; while (true) { if ($this.$strikethroughStyle) { $var9 = nlea_Tessellator_instance; nlea_Tessellator_draw($var9); nleg_EaglerAdapterGL30_glDisable(3553); if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; nlea_Tessellator_addVertex($var9, $this.$posX1, $this.$posY1 + ($this.$FONT_HEIGHT / 2 | 0), 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + $var8, $this.$posY1 + ($this.$FONT_HEIGHT / 2 | 0), 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + $var8, $this.$posY1 + ($this.$FONT_HEIGHT / 2 | 0) - 1.0, 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1, $this.$posY1 + ($this.$FONT_HEIGHT / 2 | 0) - 1.0, 0.0); nlea_Tessellator_draw($var9); if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; nleg_EaglerAdapterGL30_glEnable(3553); } if ($this.$underlineStyle) { $var9 = nlea_Tessellator_instance; nlea_Tessellator_draw($var9); nleg_EaglerAdapterGL30_glDisable(3553); if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; $var10 = !$this.$underlineStyle ? 0 : (-1); $var11 = $this.$posX1; var$11 = $var10; nlea_Tessellator_addVertex($var9, $var11 + var$11, $this.$posY1 + $this.$FONT_HEIGHT, 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + $var8, $this.$posY1 + $this.$FONT_HEIGHT, 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + $var8, $this.$posY1 + $this.$FONT_HEIGHT - 1.0, 0.0); nlea_Tessellator_addVertex($var9, $this.$posX1 + var$11, $this.$posY1 + $this.$FONT_HEIGHT - 1.0, 0.0); nlea_Tessellator_draw($var9); if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; nleg_EaglerAdapterGL30_glEnable(3553); } $this.$posX1 = $this.$posX1 + ($var8 | 0); $var10 = $var3; while (true) { $var3 = $var10 + 1 | 0; if ($var3 >= $par1Str.$nativeString.length) break d; if ($var3 < 0) break c; if ($var3 >= $par1Str.$nativeString.length) break c; $var4 = $par1Str.$nativeString.charCodeAt($var3); if ($var4 != 167) break; $var10 = $var3 + 1 | 0; if ($var10 >= $par1Str.$nativeString.length) break; if ($var10 < 0) break b; if ($var10 >= $par1Str.$nativeString.length) break b; $var3 = $par1Str.$nativeString.charCodeAt($var10); if (jl_Character_lowerCaseMapping === null) { if (jl_Character_$$metadata$$0 === null) jl_Character_$$metadata$$0 = jl_Character_acquireLowerCaseMapping$$create(); jl_Character_lowerCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$0.value !== null ? $rt_str(jl_Character_$$metadata$$0.value) : null))); } $var5 = jl_String_indexOf($rt_s(1404), jl_Character_mapChar(jl_Character_lowerCaseMapping, $var3) & 65535, 0); $var3 = $rt_compare($var5, 16); if ($var3 >= 0) { if (!$var3) $this.$randomStyle = 1; else if ($var5 == 17) $this.$boldStyle = 1; else if ($var5 == 18) $this.$strikethroughStyle = 1; else if ($var5 == 19) $this.$underlineStyle = 1; else if ($var5 == 20) $this.$italicStyle = 1; else if ($var5 == 21) { $this.$randomStyle = 0; $this.$boldStyle = 0; $this.$strikethroughStyle = 0; $this.$underlineStyle = 0; $this.$italicStyle = 0; nlea_Tessellator_draw($t); if ($t.$isDrawing) nlea_Tessellator_draw($t); $t.$isDrawing = 1; $t.$vertexCount = 0; $t.$rawBufferIndex = 0; $t.$addedVertices = 0; $t.$drawMode = 7; $t.$hasNormals = 0; $t.$hasColor = 0; $t.$hasTexture = 0; $t.$hasBrightness = 0; $t.$isColorDisabled = 0; $var11 = $this.$red; var$11 = $this.$blue; var$12 = $this.$green; $var8 = $this.$alpha0; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var11; nleg_EaglerAdapterGL30_colorG = var$11; nleg_EaglerAdapterGL30_colorB = var$12; nleg_EaglerAdapterGL30_colorA = $var8; } } else { $this.$randomStyle = 0; $this.$boldStyle = 0; $this.$strikethroughStyle = 0; $this.$underlineStyle = 0; $this.$italicStyle = 0; if (!($var5 >= 0 && $var5 <= 15)) $var5 = 15; if ($par2) $var5 = $var5 + 16 | 0; nlea_Tessellator_draw($t); if ($t.$isDrawing) nlea_Tessellator_draw($t); $t.$isDrawing = 1; $t.$vertexCount = 0; $t.$rawBufferIndex = 0; $t.$addedVertices = 0; $t.$drawMode = 7; $t.$hasNormals = 0; $t.$hasColor = 0; $t.$hasTexture = 0; $t.$hasBrightness = 0; $t.$isColorDisabled = 0; $var6 = $this.$colorCode.data[$var5]; $this.$textColor = $var6; $var11 = ($var6 >> 16 & 255) / 255.0; var$11 = ($var6 >> 8 & 255) / 255.0; var$12 = ($var6 & 255) / 255.0; $var8 = $this.$alpha0; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var11; nleg_EaglerAdapterGL30_colorG = var$11; nleg_EaglerAdapterGL30_colorB = var$12; nleg_EaglerAdapterGL30_colorA = $var8; } } $var6 = jl_String_indexOf(nms_ChatAllowedCharacters_allowedCharacters, $var4, 0); if ($this.$randomStyle && $var6 > 0) { $var10 = $var6 + 32 | 0; while (true) { $var9 = $this.$fontRandom; var$15 = nms_ChatAllowedCharacters_allowedCharacters.$nativeString.length; var$16 = Long_and(Long_add(Long_mul($var9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$16; $var5 = Long_lo(Long_shru(var$16, var$6)); $var7 = var$15 - 1 | 0; if (!(var$15 & $var7)) $var6 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$15), Long_fromInt($var5)), 31)); else while (true) { $var6 = $var5 % var$15 | 0; if ((($var5 - $var6 | 0) + $var7 | 0) >= 0) break; var$16 = Long_and(Long_add(Long_mul($var9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$16; $var5 = Long_lo(Long_shru(var$16, var$6)); } var$18 = $this.$charWidth.data; if (var$18[$var10] != var$18[$var6 + 32 | 0]) continue; else break; } } $var10 = $this.$unicodeFlag; $var11 = !$var10 ? 0.9800000190734863 : 0.47999998927116394; $var7 = !($var6 > 0 && !$var10) && $par2 ? 1 : 0; if ($var7) { $this.$posX1 = $this.$posX1 - $var11; $this.$posY1 = $this.$posY1 - $var11; } $var5 = $this.$italicStyle; var$15 = $rt_compare($var4, 32); if (!var$15) $var8 = 4.0; else { if ($var6 <= 0) break f; if ($var10) break f; $var8 = nms_FontRenderer_renderDefaultChar($this, $var6 + 32 | 0, $var5); } if ($var7) { $this.$posX1 = $this.$posX1 + $var11; $this.$posY1 = $this.$posY1 + $var11; } if ($this.$boldStyle) break; } var$11 = $this.$posX1 + $var11; $this.$posX1 = var$11; if ($var7) { $this.$posX1 = var$11 - $var11; $this.$posY1 = $this.$posY1 - $var11; } $var10 = $this.$italicStyle; if (!var$15) continue; if ($var6 <= 0) break a; if ($this.$unicodeFlag) break a; nms_FontRenderer_renderDefaultChar($this, $var6 + 32 | 0, $var10); } nlea_Tessellator_draw($t); return; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } continue main; } $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2, $t, $var9, $var3, var$6, $var4, $var10, $var5, $var11, var$11, var$12, $var8, $var6, var$15, var$16, $var7, var$18, $ptr); }, nms_FontRenderer_renderString = ($this, $par1Str, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1Str === null) return 0; if (!($par4 & (-67108864))) $par4 = $par4 | (-16777216); if ($par5) $par4 = ($par4 & 16579836) >> 2 | $par4 & (-16777216); var$6 = ($par4 >> 16 & 255) / 255.0; $this.$red = var$6; var$7 = ($par4 >> 8 & 255) / 255.0; $this.$blue = var$7; var$8 = ($par4 & 255) / 255.0; $this.$green = var$8; var$9 = ($par4 >> 24 & 255) / 255.0; $this.$alpha0 = var$9; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = var$6; nleg_EaglerAdapterGL30_colorG = var$7; nleg_EaglerAdapterGL30_colorB = var$8; nleg_EaglerAdapterGL30_colorA = var$9; $this.$posX1 = $par2; $this.$posY1 = $par3; $ptr = 1; case 1: nms_FontRenderer_renderStringAtPos($this, $par1Str, $par5); if ($rt_suspending()) { break main; } return $this.$posX1 | 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2, $par3, $par4, $par5, var$6, var$7, var$8, var$9, $ptr); }, nms_FontRenderer_getStringWidth = ($this, $par1Str) => { let $var2, $var3, $var4, $var6, var$6; if ($par1Str === null) return 0; $var2 = 0; $var3 = 0; $var4 = 0; a: { b: { while ($var4 < $par1Str.$nativeString.length) { if ($var4 < 0) break b; if ($var4 >= $par1Str.$nativeString.length) break b; $var6 = nms_FontRenderer_getCharWidth($this, $par1Str.$nativeString.charCodeAt($var4)); if ($var6 < 0 && $var4 < ($par1Str.$nativeString.length - 1 | 0)) { $var4 = $var4 + 1 | 0; if ($var4 < 0) break a; if ($var4 >= $par1Str.$nativeString.length) break a; var$6 = $par1Str.$nativeString.charCodeAt($var4); if (!(var$6 != 108 && var$6 != 76)) $var3 = 1; else if (!(var$6 != 114 && var$6 != 82)) $var3 = 0; $var6 = 0; } $var2 = $var2 + $var6 | 0; if ($var3) $var2 = $var2 + 1 | 0; $var4 = $var4 + 1 | 0; } return $var2; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); }, nms_FontRenderer_getCharWidth = ($this, $par1) => { let $var2, var$3, $var3, $var4; if ($par1 == 167) return (-1); if ($par1 == 32) return 4; $var2 = jl_String_indexOf(nms_ChatAllowedCharacters_allowedCharacters, $par1, 0); if ($var2 >= 0 && !$this.$unicodeFlag) return $this.$charWidth.data[$var2 + 32 | 0]; var$3 = $this.$glyphWidth.data; if (!var$3[$par1]) return 0; $var3 = var$3[$par1] >>> 4 | 0; $var4 = var$3[$par1] & 15; if ($var4 > 7) { $var4 = 15; $var3 = 0; } return ((($var4 + 1 | 0) - $var3 | 0) / 2 | 0) + 1 | 0; }, nms_FontRenderer_trimStringToWidth = ($this, $par1Str, $par2, $par3) => { let $var4, $var5, $var10, $var7, $var8, $var9, $var11, $var12, var$12, var$13, var$14; $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); $var5 = 0; $var10 = !$par3 ? 0 : $par1Str.$nativeString.length - 1 | 0; $var7 = !$par3 ? 1 : (-1); $var8 = 0; $var9 = 0; a: { while (true) { if ($var10 < 0) break a; if ($var10 >= $par1Str.$nativeString.length) break a; if ($var5 >= $par2) break a; if ($var10 < 0) break; if ($var10 >= $par1Str.$nativeString.length) break; $var11 = $par1Str.$nativeString.charCodeAt($var10); $var12 = nms_FontRenderer_getCharWidth($this, $var11); if (!$var8) { if ($var12 < 0) $var8 = 1; else { $var5 = $var5 + $var12 | 0; if ($var9) $var5 = $var5 + 1 | 0; } } else { $var8 = 0; if (!($var11 != 108 && $var11 != 76)) $var9 = 1; else if (!($var11 != 114 && $var11 != 82)) $var9 = 0; } if ($var5 > $par2) break a; if ($par3) { jl_AbstractStringBuilder_insertSpace($var4, 0, 1); $var4.$buffer.data[0] = $var11; } else { var$12 = $var4.$length0; jl_AbstractStringBuilder_insertSpace($var4, var$12, var$12 + 1 | 0); $var4.$buffer.data[var$12] = $var11; } $var10 = $var10 + $var7 | 0; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_String; var$13 = $var4.$buffer; var$14 = var$13.data; $par3 = $var4.$length0; $var12 = var$14.length; if ($par3 >= 0 && $par3 <= ($var12 - 0 | 0)) { $par1Str.$nativeString = $rt_charArrayToString(var$13.data, 0, $par3); return $par1Str; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); }, nms_FontRenderer_listFormattedStringToWidth = ($this, $par1Str, $par2) => { let var$3, var$4; $par1Str = nms_FontRenderer_wrapFormattedStringToWidth($this, $par1Str, $par2); var$3 = jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), $par1Str, 0); if (var$3 !== null) { $par1Str = new ju_Arrays$ArrayAsList; $par1Str.$array2 = var$3; return $par1Str; } var$4 = new jl_NullPointerException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(18); $rt_throw(var$4); }, nms_FontRenderer_wrapFormattedStringToWidth = ($this, $par1Str, $par2) => { let $var3, $var4, $var5, $var6, var$7, var$8, var$9, var$10; $var3 = nms_FontRenderer_sizeStringToWidth($this, $par1Str, $par2); if ($par1Str.$nativeString.length <= $var3) return $par1Str; $var4 = jl_String_substring($par1Str, 0, $var3); if ($var3 >= 0 && $var3 < $par1Str.$nativeString.length) { $var5 = $par1Str.$nativeString.charCodeAt($var3); $var6 = $var5 != 32 && $var5 != 10 ? 0 : 1; var$7 = nms_FontRenderer_getFormatFromString($var4); var$8 = jl_String_substring($par1Str, $var3 + (!$var6 ? 0 : 1) | 0, $par1Str.$nativeString.length); $par1Str = new jl_StringBuilder; $par1Str.$buffer = $rt_createCharArray(16); $var3 = $par1Str.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert($par1Str, $var3, var$7); $var3 = $par1Str.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert($par1Str, $var3, var$8); var$7 = new jl_String; var$9 = $par1Str.$buffer; var$10 = var$9.data; $var6 = $par1Str.$length0; $var5 = var$10.length; if ($var6 >= 0 && $var6 <= ($var5 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$9.data, 0, $var6); $par1Str = nms_FontRenderer_wrapFormattedStringToWidth($this, var$7, $par2); var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); $par2 = var$7.$length0; if ($var4 === null) $var4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, $par2, $var4); $var3 = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, $var3, $var3 + 1 | 0); var$7.$buffer.data[$var3] = 10; $par2 = var$7.$length0; if ($par1Str === null) $par1Str = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, $par2, $par1Str); $par1Str = new jl_String; var$9 = var$7.$buffer; var$10 = var$9.data; $var3 = var$7.$length0; $var6 = var$10.length; if ($var3 >= 0 && $var3 <= ($var6 - 0 | 0)) { $par1Str.$nativeString = $rt_charArrayToString(var$9.data, 0, $var3); return $par1Str; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); }, nms_FontRenderer_sizeStringToWidth = ($this, $par1Str, $par2) => { let $var3, $var4, $var5, $var6, $var7, var$8, $var8, $var9; $var3 = $par1Str.$nativeString.length; $var4 = 0; $var5 = 0; $var6 = (-1); $var7 = 0; var$8 = $var3 - 1 | 0; a: { b: { while (true) { if ($var5 >= $var3) break a; if ($var5 < 0) break; if ($var5 >= $par1Str.$nativeString.length) break; c: { d: { $var8 = $par1Str.$nativeString.charCodeAt($var5); switch ($var8) { case 10: break; case 32: $var6 = $var5; break d; case 167: if ($var5 >= var$8) break c; $var5 = $var5 + 1 | 0; if ($var5 < 0) break b; if ($var5 >= $par1Str.$nativeString.length) break b; $var9 = $par1Str.$nativeString.charCodeAt($var5); if (!($var9 != 108 && $var9 != 76)) $var7 = 1; else if (!($var9 != 114 && $var9 != 82 && !nms_FontRenderer_isFormatColor($var9))) $var7 = 0; break c; default: break d; } $var5 = $var5 + (-1) | 0; break c; } $var4 = $var4 + nms_FontRenderer_getCharWidth($this, $var8) | 0; if ($var7) $var4 = $var4 + 1 | 0; } if ($var8 == 10) { $var6 = $var5 + 1 | 0; $var5 = $var6; break a; } if ($var4 > $par2) break a; $var5 = $var5 + 1 | 0; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } if ($var5 != $var3 && $var6 != (-1) && $var6 < $var5) $var5 = $var6; return $var5; }, nms_FontRenderer_isFormatColor = $par0 => { a: { b: { if (!($par0 >= 48 && $par0 <= 57) && !($par0 >= 97 && $par0 <= 102)) { if ($par0 < 65) break b; if ($par0 > 70) break b; } $par0 = 1; break a; } $par0 = 0; } return $par0; }, nms_FontRenderer_isFormatSpecial = $par0 => { return !($par0 >= 107 && $par0 <= 111) && !($par0 >= 75 && $par0 <= 79) && $par0 != 114 && $par0 != 82 ? 0 : 1; }, nms_FontRenderer_getFormatFromString = $par0Str => { let $var1, $var2, var$4, $var3, $var4, var$7, var$8, var$9, var$10; $var1 = $rt_s(18); $var2 = (-1); var$4 = $par0Str.$nativeString.length - 1 | 0; a: { b: { c: { while (true) { $var2 = jl_String_indexOf($par0Str, 167, $var2 + 1 | 0); if ($var2 == (-1)) break; if ($var2 >= var$4) continue; $var3 = $var2 + 1 | 0; if ($var3 < 0) break a; if ($var3 >= $par0Str.$nativeString.length) break a; $var4 = $par0Str.$nativeString.charCodeAt($var3); if (nms_FontRenderer_isFormatColor($var4)) { var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); var$8 = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, var$8, var$8 + 1 | 0); var$7.$buffer.data[var$8] = 167; $var3 = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, $var3, $var3 + 1 | 0); var$9 = var$7.$buffer; var$10 = var$9.data; var$10[$var3] = $var4; $var1 = new jl_String; $var3 = var$7.$length0; $var4 = var$10.length; if ($var3 < 0) break c; if ($var3 > ($var4 - 0 | 0)) break c; $var1.$nativeString = $rt_charArrayToString(var$9.data, 0, $var3); } else if (nms_FontRenderer_isFormatSpecial($var4)) { var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); var$8 = var$7.$length0; if ($var1 === null) $var1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, var$8, $var1); $var3 = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, $var3, $var3 + 1 | 0); var$7.$buffer.data[$var3] = 167; $var3 = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, $var3, $var3 + 1 | 0); var$9 = var$7.$buffer; var$10 = var$9.data; var$10[$var3] = $var4; $var1 = new jl_String; $var3 = var$7.$length0; $var4 = var$10.length; if ($var3 < 0) break b; if ($var3 > ($var4 - 0 | 0)) break b; $var1.$nativeString = $rt_charArrayToString(var$9.data, 0, $var3); } } return $var1; } $par0Str = new jl_IndexOutOfBoundsException; $par0Str.$suppressionEnabled = 1; $par0Str.$writableStackTrace = 1; $rt_throw($par0Str); } $par0Str = new jl_IndexOutOfBoundsException; $par0Str.$suppressionEnabled = 1; $par0Str.$writableStackTrace = 1; $rt_throw($par0Str); } $par0Str = new jl_StringIndexOutOfBoundsException; $par0Str.$suppressionEnabled = 1; $par0Str.$writableStackTrace = 1; $rt_throw($par0Str); }, nms_ColorizerGrass = $rt_classWithoutFields(), nms_ColorizerGrass_grassBuffer = null, nms_ColorizerGrass__init_ = $this => { return; }, nms_ColorizerGrass__init_0 = () => { let var_0 = new nms_ColorizerGrass(); nms_ColorizerGrass__init_(var_0); return var_0; }, nms_ColorizerGrass__clinit_ = () => { nms_ColorizerGrass_grassBuffer = $rt_createIntArray(65536); }, nms_ColorizerFoliage = $rt_classWithoutFields(), nms_ColorizerFoliage_foliageBuffer = null, nms_ColorizerFoliage__init_ = $this => { return; }, nms_ColorizerFoliage__init_0 = () => { let var_0 = new nms_ColorizerFoliage(); nms_ColorizerFoliage__init_(var_0); return var_0; }, nms_ColorizerFoliage__clinit_ = () => { nms_ColorizerFoliage_foliageBuffer = $rt_createIntArray(65536); }, nms_AchievementMap = $rt_classWithoutFields(), nms_AchievementMap_instance = null, nms_AchievementMap_guidMap = null, nms_AchievementMap_init = () => { let $str, $var5, $strs, var$4, var$5, $var3, $var4, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$strs = $thread.pop();$var5 = $thread.pop();$str = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: try { $str = (nms_Minecraft_getMinecraft()).$texturePackList; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var5 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var5); return; case 1: try { $tmp = nms_TexturePackList_getSelectedTexturePack($str); if ($rt_suspending()) { break main; } $var5 = $tmp; $str = $rt_s(1405); $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var5 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var5); return; case 2: a: { try { $tmp = $var5.$getResourceAsBytes($str); if ($rt_suspending()) { break main; } $strs = $tmp; $strs = (nle_EaglerMisc_bytesToLines($strs)).data; var$4 = $strs.length; var$5 = 0; while (var$5 < var$4) { $var3 = (jl_String_split($strs[var$5], $rt_s(1371))).data; $var4 = jl_Integer_parseInt($var3[0]); ju_HashMap_put(nms_AchievementMap_guidMap, jl_Integer_valueOf($var4), $var3[1]); var$5 = var$5 + 1 | 0; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var5 = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($var5); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($str, $var5, $strs, var$4, var$5, $var3, $var4, $ptr); }, nms_AchievementMap__clinit_ = () => { let var$1, var$2, var$3, var$4; nms_AchievementMap_instance = null; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_AchievementMap_guidMap = var$1; }, nms_StatList = $rt_classWithoutFields(), nms_StatList_oneShotStats = null, nms_StatList_allStats = null, nms_StatList_generalStats = null, nms_StatList_itemStats = null, nms_StatList_objectMineStats = null, nms_StatList_startGameStat = null, nms_StatList_createWorldStat = null, nms_StatList_loadWorldStat = null, nms_StatList_joinMultiplayerStat = null, nms_StatList_leaveGameStat = null, nms_StatList_minutesPlayedStat = null, nms_StatList_distanceWalkedStat = null, nms_StatList_distanceSwumStat = null, nms_StatList_distanceFallenStat = null, nms_StatList_distanceClimbedStat = null, nms_StatList_distanceFlownStat = null; let nms_StatList_distanceDoveStat = null, nms_StatList_distanceByMinecartStat = null, nms_StatList_distanceByBoatStat = null, nms_StatList_distanceByPigStat = null, nms_StatList_jumpStat = null, nms_StatList_dropStat = null, nms_StatList_damageDealtStat = null, nms_StatList_damageTakenStat = null, nms_StatList_deathsStat = null, nms_StatList_mobKillsStat = null, nms_StatList_playerKillsStat = null, nms_StatList_fishCaughtStat = null, nms_StatList_mineBlockStatArray = null, nms_StatList_objectCraftStats = null, nms_StatList_objectUseStats = null, nms_StatList_objectBreakStats = null, nms_StatList_blockStatsInitialized = 0, nms_StatList_itemStatsInitialized = 0, nms_StatList_$callClinit = () => { nms_StatList_$callClinit = $rt_eraseClinit(nms_StatList); nms_StatList__clinit_(); }, nms_StatList__init_ = $this => { nms_StatList_$callClinit(); }, nms_StatList__init_0 = () => { let var_0 = new nms_StatList(); nms_StatList__init_(var_0); return var_0; }, nms_StatList_initBreakableStats = () => { nms_StatList_$callClinit(); nms_StatList_objectUseStats = nms_StatList_initUsableStats(nms_StatList_objectUseStats, $rt_s(1406), 16908288, 0, 256); nms_StatList_objectBreakStats = nms_StatList_initBreakStats(nms_StatList_objectBreakStats, $rt_s(1407), 16973824, 0, 256); nms_StatList_blockStatsInitialized = 1; nms_StatList_initCraftableStats(); }, nms_StatList_initStats = () => { nms_StatList_$callClinit(); nms_StatList_objectUseStats = nms_StatList_initUsableStats(nms_StatList_objectUseStats, $rt_s(1406), 16908288, 256, 32000); nms_StatList_objectBreakStats = nms_StatList_initBreakStats(nms_StatList_objectBreakStats, $rt_s(1407), 16973824, 256, 32000); nms_StatList_itemStatsInitialized = 1; nms_StatList_initCraftableStats(); }, nms_StatList_initCraftableStats = () => { let $var0, $var5, var$3, var$4, var$5, $var4, $var1$index, var$8, var$9, $var3, $var1$index_0, $var2; nms_StatList_$callClinit(); a: { if (nms_StatList_blockStatsInitialized && nms_StatList_itemStatsInitialized) { $var0 = new ju_HashSet; $var5 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); $var5.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$4.data; $var5.$elementData = var$4; $var5.$loadFactor = 0.75; $var5.$threshold = var$5.length * 0.75 | 0; $var0.$backingMap = $var5; nms_CraftingManager_$callClinit(); $var4 = nms_CraftingManager_instance.$recipes; $var1$index = 0; var$8 = $var4.$modCount; var$9 = $var4.$size(); while (true) { if (!($var1$index >= var$9 ? 0 : 1)) { nms_FurnaceRecipes_$callClinit(); $var3 = nms_FurnaceRecipes_smeltingBase.$smeltingList; if ($var3.$cachedValues === null) { $var5 = new ju_HashMap$2; $var5.$this$01 = $var3; $var3.$cachedValues = $var5; } $var5 = $var3.$cachedValues.$iterator(); while ($var5.$hasNext()) { var$3 = ($var5.$next()).$itemID; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { $var3 = new jl_Integer; $var3.$value0 = var$3; } ju_HashMap_putImpl($var0.$backingMap, $var3, $var0); } nms_StatList_objectCraftStats = $rt_createArray(nms_StatBase, 32000); $var5 = $var0.$backingMap; if ($var5.$cachedKeySet === null) { $var3 = new ju_HashMap$1; $var3.$this$0 = $var5; $var5.$cachedKeySet = $var3; } $var4 = $var5.$cachedKeySet.$iterator(); while ($var4.$hasNext()) { $var5 = $var4.$next(); nms_Item_$callClinit(); var$5 = nms_Item_itemsList.data; $var1$index = $var5.$value0; if (var$5[$var1$index] !== null) { var$4 = $rt_createArray(jl_Object, 1); var$4.data[0] = nms_Item_getStatName(var$5[$var1$index]); nms_StatCollector_$callClinit(); $var3 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(1408), var$4); var$5 = nms_StatList_objectCraftStats.data; $var1$index = $var5.$value0; $var5 = new nms_StatCrafting; var$3 = 16842752 + $var1$index | 0; nms_StatBase_$callClinit(); $var0 = nms_StatBase_simpleStatType; $var5.$statId = var$3; $var5.$statName = $var3; $var5.$type2 = $var0; $var5.$itemID1 = $var1$index; var$5[$var1$index] = nms_StatBase_registerStat($var5); } } nms_StatList_replaceAllSimilarBlocks(nms_StatList_objectCraftStats); break a; } if (var$8 < $var4.$modCount) break; $var1$index_0 = $var1$index + 1 | 0; $var2 = $var4.$get($var1$index); if ($var2.$getRecipeOutput() !== null) { var$3 = ($var2.$getRecipeOutput()).$itemID; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { $var5 = new jl_Integer; $var5.$value0 = var$3; } ju_HashMap_putImpl($var0.$backingMap, $var5, $var0); } $var1$index = $var1$index_0; } $var5 = new ju_ConcurrentModificationException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } } }, nms_StatList_initMinableStats = ($par0Str, $par1) => { let $var2, var$4, $var3, var$6, var$7, $var4, var$9, var$10, var$11, var$12, var$13; nms_StatList_$callClinit(); $var2 = $rt_createArray(nms_StatBase, 256); var$4 = $var2.data; $var3 = 0; while ($var3 < 256) { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data; if (var$6[$var3] !== null && var$6[$var3].$enableStats) { var$7 = $rt_createArray(jl_Object, 1); var$7.data[0] = nms_Block_getLocalizedName(var$6[$var3]); nms_StatCollector_$callClinit(); $var4 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $par0Str, var$7); var$9 = new nms_StatCrafting; var$10 = $par1 + $var3 | 0; nms_StatBase_$callClinit(); var$11 = nms_StatBase_simpleStatType; var$9.$statId = var$10; var$9.$statName = $var4; var$9.$type2 = var$11; var$9.$itemID1 = $var3; var$4[$var3] = nms_StatBase_registerStat(var$9); var$11 = nms_StatList_objectMineStats; $var4 = var$4[$var3]; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$12 = var$11.$array.data; var$13 = var$11.$size0; var$11.$size0 = var$13 + 1 | 0; var$12[var$13] = $var4; var$11.$modCount = var$11.$modCount + 1 | 0; } $var3 = $var3 + 1 | 0; } nms_StatList_replaceAllSimilarBlocks($var2); return $var2; }, nms_StatList_initUsableStats = ($par0ArrayOfStatBase, $par1Str, $par2, $var5, $par4) => { let var$6, var$7, var$8, $var6, var$10, var$11, var$12, var$13; nms_StatList_$callClinit(); if ($par0ArrayOfStatBase === null) $par0ArrayOfStatBase = $rt_createArray(nms_StatBase, 32000); while ($var5 < $par4) { nms_Item_$callClinit(); var$6 = nms_Item_itemsList.data; if (var$6[$var5] !== null) { var$7 = $par0ArrayOfStatBase.data; var$8 = $rt_createArray(jl_Object, 1); var$8.data[0] = nms_Item_getStatName(var$6[$var5]); nms_StatCollector_$callClinit(); $var6 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $par1Str, var$8); var$10 = new nms_StatCrafting; var$11 = $par2 + $var5 | 0; nms_StatBase_$callClinit(); var$12 = nms_StatBase_simpleStatType; var$10.$statId = var$11; var$10.$statName = $var6; var$10.$type2 = var$12; var$10.$itemID1 = $var5; var$7[$var5] = nms_StatBase_registerStat(var$10); if ($var5 >= 256) { var$10 = nms_StatList_itemStats; var$12 = var$7[$var5]; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$6 = var$10.$array.data; var$13 = var$10.$size0; var$10.$size0 = var$13 + 1 | 0; var$6[var$13] = var$12; var$10.$modCount = var$10.$modCount + 1 | 0; } } $var5 = $var5 + 1 | 0; } nms_StatList_replaceAllSimilarBlocks($par0ArrayOfStatBase); return $par0ArrayOfStatBase; }, nms_StatList_initBreakStats = ($par0ArrayOfStatBase, $par1Str, $par2, $var5, $par4) => { let var$6, var$7, var$8, var$9, $var6, var$11, var$12; nms_StatList_$callClinit(); if ($par0ArrayOfStatBase === null) $par0ArrayOfStatBase = $rt_createArray(nms_StatBase, 32000); while ($var5 < $par4) { nms_Item_$callClinit(); var$6 = nms_Item_itemsList.data; if (var$6[$var5] !== null) { var$7 = var$6[$var5]; if (var$7.$maxDamage > 0 && !var$7.$hasSubtypes ? 1 : 0) { var$8 = $par0ArrayOfStatBase.data; var$9 = $rt_createArray(jl_Object, 1); var$9.data[0] = nms_Item_getStatName(var$6[$var5]); nms_StatCollector_$callClinit(); $var6 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $par1Str, var$9); var$7 = new nms_StatCrafting; var$11 = $par2 + $var5 | 0; nms_StatBase_$callClinit(); var$12 = nms_StatBase_simpleStatType; var$7.$statId = var$11; var$7.$statName = $var6; var$7.$type2 = var$12; var$7.$itemID1 = $var5; var$8[$var5] = nms_StatBase_registerStat(var$7); } } $var5 = $var5 + 1 | 0; } nms_StatList_replaceAllSimilarBlocks($par0ArrayOfStatBase); return $par0ArrayOfStatBase; }, nms_StatList_replaceAllSimilarBlocks = $par0ArrayOfStatBase => { let var$2; nms_StatList_$callClinit(); nms_Block_$callClinit(); nms_StatList_replaceSimilarBlocks($par0ArrayOfStatBase, nms_Block_waterStill.$blockID, nms_Block_waterMoving.$blockID); var$2 = nms_Block_lavaStill.$blockID; nms_StatList_replaceSimilarBlocks($par0ArrayOfStatBase, var$2, var$2); nms_StatList_replaceSimilarBlocks($par0ArrayOfStatBase, nms_Block_pumpkinLantern.$blockID, nms_Block_pumpkin.$blockID); nms_StatList_replaceSimilarBlocks($par0ArrayOfStatBase, nms_Block_furnaceBurning.$blockID, nms_Block_furnaceIdle.$blockID); nms_StatList_replaceSimilarBlocks($par0ArrayOfStatBase, nms_Block_oreRedstoneGlowing.$blockID, nms_Block_oreRedstone.$blockID); nms_StatList_replaceSimilarBlocks($par0ArrayOfStatBase, nms_Block_redstoneRepeaterActive.$blockID, nms_Block_redstoneRepeaterIdle.$blockID); nms_StatList_replaceSimilarBlocks($par0ArrayOfStatBase, nms_Block_torchRedstoneActive.$blockID, nms_Block_torchRedstoneIdle.$blockID); nms_StatList_replaceSimilarBlocks($par0ArrayOfStatBase, nms_Block_mushroomRed.$blockID, nms_Block_mushroomBrown.$blockID); nms_StatList_replaceSimilarBlocks($par0ArrayOfStatBase, nms_Block_stoneDoubleSlab.$blockID, nms_Block_stoneSingleSlab.$blockID); nms_StatList_replaceSimilarBlocks($par0ArrayOfStatBase, nms_Block_woodDoubleSlab.$blockID, nms_Block_woodSingleSlab.$blockID); nms_StatList_replaceSimilarBlocks($par0ArrayOfStatBase, nms_Block_grass.$blockID, nms_Block_dirt.$blockID); nms_StatList_replaceSimilarBlocks($par0ArrayOfStatBase, nms_Block_tilledField.$blockID, nms_Block_dirt.$blockID); }, nms_StatList_replaceSimilarBlocks = ($par0ArrayOfStatBase, $par1, $par2) => { let var$4, var$5, var$6, var$7, var$8, var$9; nms_StatList_$callClinit(); $par0ArrayOfStatBase = $par0ArrayOfStatBase.data; if ($par0ArrayOfStatBase[$par1] !== null && $par0ArrayOfStatBase[$par2] === null) $par0ArrayOfStatBase[$par2] = $par0ArrayOfStatBase[$par1]; else { var$4 = nms_StatList_allStats; var$5 = $par0ArrayOfStatBase[$par1]; var$6 = var$4.$size0; var$7 = 0; a: { while (true) { var$8 = $rt_compare(var$7, var$6); if (var$8 >= 0) { var$7 = (-1); break a; } if (var$7 < 0) break; if (var$8 >= 0) break; var$9 = var$4.$array.data[var$7]; if (var$5 === var$9 ? 1 : var$5 === null ? (var$9 !== null ? 0 : 1) : var$5 !== var$9 ? 0 : 1) break a; var$7 = var$7 + 1 | 0; } var$9 = new jl_IndexOutOfBoundsException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$9); $rt_throw(var$9); } if (var$7 >= 0) ju_ArrayList_remove(var$4, var$7); var$9 = nms_StatList_objectMineStats; var$4 = $par0ArrayOfStatBase[$par1]; var$7 = var$9.$size0; var$6 = 0; b: { while (true) { var$8 = $rt_compare(var$6, var$7); if (var$8 >= 0) { var$6 = (-1); break b; } if (var$6 < 0) break; if (var$8 >= 0) break; var$5 = var$9.$array.data[var$6]; if (var$4 === var$5 ? 1 : var$4 === null ? (var$5 !== null ? 0 : 1) : var$4 !== var$5 ? 0 : 1) break b; var$6 = var$6 + 1 | 0; } var$9 = new jl_IndexOutOfBoundsException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$9); $rt_throw(var$9); } if (var$6 >= 0) ju_ArrayList_remove(var$9, var$6); var$9 = nms_StatList_generalStats; var$4 = $par0ArrayOfStatBase[$par1]; var$7 = var$9.$size0; var$8 = 0; c: { while (true) { var$6 = $rt_compare(var$8, var$7); if (var$6 >= 0) { var$8 = (-1); break c; } if (var$8 < 0) break; if (var$6 >= 0) break; var$5 = var$9.$array.data[var$8]; if (var$4 === var$5 ? 1 : var$4 === null ? (var$5 !== null ? 0 : 1) : var$4 !== var$5 ? 0 : 1) break c; var$8 = var$8 + 1 | 0; } var$9 = new jl_IndexOutOfBoundsException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$9); $rt_throw(var$9); } if (var$8 >= 0) ju_ArrayList_remove(var$9, var$8); $par0ArrayOfStatBase[$par1] = $par0ArrayOfStatBase[$par2]; } }, nms_StatList__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_StatList_oneShotStats = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_StatList_allStats = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_StatList_generalStats = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_StatList_itemStats = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_StatList_objectMineStats = var$1; var$5 = new nms_StatBasic; nms_StatBase_$callClinit(); var$6 = nms_StatBase_simpleStatType; var$5.$statId = 1000; var$5.$statName = $rt_s(1409); var$5.$type2 = var$6; var$5.$isIndependent = 1; nms_StatBase_registerStat(var$5); nms_StatList_$callClinit(); var$1 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$4 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$4[var$7] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; nms_StatList_startGameStat = var$5; var$1 = new nms_StatBasic; var$6 = nms_StatBase_simpleStatType; var$1.$statId = 1001; var$1.$statName = $rt_s(1410); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_createWorldStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_simpleStatType; var$1.$statId = 1002; var$1.$statName = $rt_s(1411); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_loadWorldStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_simpleStatType; var$1.$statId = 1003; var$1.$statName = $rt_s(1412); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_joinMultiplayerStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_simpleStatType; var$1.$statId = 1004; var$1.$statName = $rt_s(1413); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_leaveGameStat = var$1; var$5 = new nms_StatBasic; var$1 = nms_StatBase_timeStatType; var$5.$statId = 1100; var$5.$statName = $rt_s(1414); var$5.$type2 = var$1; var$5.$isIndependent = 1; nms_StatBase_registerStat(var$5); var$1 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$4 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$4[var$7] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; nms_StatList_minutesPlayedStat = var$5; var$1 = new nms_StatBasic; var$6 = nms_StatBase_distanceStatType; var$1.$statId = 2000; var$1.$statName = $rt_s(1415); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_distanceWalkedStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_distanceStatType; var$1.$statId = 2001; var$1.$statName = $rt_s(1416); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_distanceSwumStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_distanceStatType; var$1.$statId = 2002; var$1.$statName = $rt_s(1417); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_distanceFallenStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_distanceStatType; var$1.$statId = 2003; var$1.$statName = $rt_s(1418); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_distanceClimbedStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_distanceStatType; var$1.$statId = 2004; var$1.$statName = $rt_s(1419); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_distanceFlownStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_distanceStatType; var$1.$statId = 2005; var$1.$statName = $rt_s(1420); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_distanceDoveStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_distanceStatType; var$1.$statId = 2006; var$1.$statName = $rt_s(1421); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_distanceByMinecartStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_distanceStatType; var$1.$statId = 2007; var$1.$statName = $rt_s(1422); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_distanceByBoatStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_distanceStatType; var$1.$statId = 2008; var$1.$statName = $rt_s(1423); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_distanceByPigStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_simpleStatType; var$1.$statId = 2010; var$1.$statName = $rt_s(1424); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_jumpStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_simpleStatType; var$1.$statId = 2011; var$1.$statName = $rt_s(1425); var$1.$type2 = var$6; var$1.$isIndependent = 1; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_dropStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_field_111202_k; var$1.$statId = 2020; var$1.$statName = $rt_s(1426); var$1.$type2 = var$6; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_damageDealtStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_field_111202_k; var$1.$statId = 2021; var$1.$statName = $rt_s(1427); var$1.$type2 = var$6; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_damageTakenStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_simpleStatType; var$1.$statId = 2022; var$1.$statName = $rt_s(1428); var$1.$type2 = var$6; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_deathsStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_simpleStatType; var$1.$statId = 2023; var$1.$statName = $rt_s(1429); var$1.$type2 = var$6; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_mobKillsStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_simpleStatType; var$1.$statId = 2024; var$1.$statName = $rt_s(1430); var$1.$type2 = var$6; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_playerKillsStat = var$1; var$1 = new nms_StatBasic; var$6 = nms_StatBase_simpleStatType; var$1.$statId = 2025; var$1.$statName = $rt_s(1431); var$1.$type2 = var$6; nms_StatBase_registerStat(var$1); var$5 = nms_StatList_generalStats; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_StatList_fishCaughtStat = var$1; nms_StatList_mineBlockStatArray = nms_StatList_initMinableStats($rt_s(1432), 16777216); nms_AchievementList_$callClinit(); }; function nms_RenderManager() { let a = this; jl_Object.call(a); a.$entityRenderMap = null; a.$fontRenderer2 = null; a.$renderEngine1 = null; a.$itemRenderer = null; a.$worldObj9 = null; a.$livingPlayer = null; a.$field_96451_i = null; a.$playerViewY = 0.0; a.$playerViewX = 0.0; a.$options2 = null; a.$viewerPosX = 0.0; a.$viewerPosY = 0.0; a.$viewerPosZ = 0.0; } let nms_RenderManager_instance = null, nms_RenderManager_renderPosX = 0.0, nms_RenderManager_renderPosY = 0.0, nms_RenderManager_renderPosZ = 0.0, nms_RenderManager_field_85095_o = 0, nms_RenderManager__init_ = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, $var2, var$9, var$10, var$11, var$12; $var1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); $var1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; $var1.$elementData = var$3; $var1.$loadFactor = 0.75; $var1.$threshold = var$4.length * 0.75 | 0; $this.$entityRenderMap = $var1; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityCaveSpider), nms_RenderCaveSpider__init_0()); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSpider; nms_RenderSpider_$callClinit(); var$6 = nms_ModelSpider__init_(); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 1.0; var$5.$renderPassModel = nms_ModelSpider__init_(); ju_HashMap_putImpl($var1, $rt_cls(nms_EntitySpider), var$5); $var2 = $this.$entityRenderMap; var$6 = new nms_RenderPig; $var1 = nms_ModelPig__init_0(); var$7 = new nms_ModelPig; nms_ModelQuadruped__init_(var$7, 6, 0.5); var$9 = var$7.$head0; var$9.$textureOffsetX = 16; var$9.$textureOffsetY = 16; var$10 = var$9.$cubeList; var$11 = nms_ModelBox__init_(var$9, 16, 16, (-2.0), 0.0, (-9.0), 4, 3, 1, 0.5); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$4 = var$10.$array.data; var$12 = var$10.$size0; var$10.$size0 = var$12 + 1 | 0; var$4[var$12] = var$11; var$10.$modCount = var$10.$modCount + 1 | 0; var$7.$field_78145_g = 4.0; nms_RenderPig_$callClinit(); var$9 = new nms_RenderBlocks; var$9.$useInventoryTint = 1; var$9.$minecraftRB = nms_Minecraft_theMinecraft; var$6.$renderBlocks = var$9; var$6.$shadowOpaque = 1.0; var$6.$mainModel = $var1; var$6.$shadowSize = 0.699999988079071; var$6.$renderPassModel = var$7; ju_HashMap_putImpl($var2, $rt_cls(nms_EntityPig), var$6); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSheep; var$6 = nms_ModelSheep2__init_0(); var$7 = nms_ModelSheep1__init_0(); nms_RenderSheep_$callClinit(); var$9 = new nms_RenderBlocks; var$9.$useInventoryTint = 1; var$9.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$9; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.699999988079071; var$5.$renderPassModel = var$7; ju_HashMap_putImpl($var1, $rt_cls(nms_EntitySheep), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderCow; var$6 = nms_ModelCow__init_(); nms_RenderCow_$callClinit(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.699999988079071; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityCow), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderMooshroom; var$6 = nms_ModelCow__init_(); nms_RenderMooshroom_$callClinit(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.699999988079071; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityMooshroom), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderWolf; var$6 = nms_ModelWolf__init_(); var$7 = nms_ModelWolf__init_(); nms_RenderWolf_$callClinit(); var$9 = new nms_RenderBlocks; var$9.$useInventoryTint = 1; var$9.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$9; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.5; var$5.$renderPassModel = var$7; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityWolf), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderChicken; var$6 = nms_ModelChicken__init_0(); nms_RenderChicken_$callClinit(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.30000001192092896; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityChicken), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderOcelot; var$6 = nms_ModelOcelot__init_0(); nms_RenderOcelot_$callClinit(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.4000000059604645; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityOcelot), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSilverfish; nms_RenderSilverfish_$callClinit(); var$6 = nms_ModelSilverfish__init_(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.30000001192092896; ju_HashMap_putImpl($var1, $rt_cls(nms_EntitySilverfish), var$5); ju_HashMap_putImpl($this.$entityRenderMap, $rt_cls(nms_EntityCreeper), nms_RenderCreeper__init_0()); ju_HashMap_putImpl($this.$entityRenderMap, $rt_cls(nms_EntityEnderman), nms_RenderEnderman__init_0()); ju_HashMap_putImpl($this.$entityRenderMap, $rt_cls(nms_EntitySnowman), nms_RenderSnowMan__init_0()); ju_HashMap_putImpl($this.$entityRenderMap, $rt_cls(nms_EntitySkeleton), nms_RenderSkeleton__init_0()); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderWitch; nms_RenderWitch_$callClinit(); var$7 = nms_ModelWitch__init_(0.0); var$9 = new nms_RenderBlocks; var$9.$useInventoryTint = 1; var$9.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$9; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$7; var$5.$shadowSize = 0.5; var$5.$witchModel = var$7; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityWitch), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderBlaze; nms_RenderBlaze_$callClinit(); var$6 = nms_ModelBlaze__init_(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.5; var$5.$field_77068_a = 8; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityBlaze), var$5); ju_HashMap_putImpl($this.$entityRenderMap, $rt_cls(nms_EntityZombie), nms_RenderZombie__init_0()); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSlime; var$6 = nms_ModelSlime__init_(16); var$7 = nms_ModelSlime__init_(0); nms_RenderSlime_$callClinit(); var$9 = new nms_RenderBlocks; var$9.$useInventoryTint = 1; var$9.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$9; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.25; var$5.$scaleAmount = var$7; ju_HashMap_putImpl($var1, $rt_cls(nms_EntitySlime), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderMagmaCube; nms_RenderMagmaCube_$callClinit(); var$6 = nms_ModelMagmaCube__init_(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.25; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityMagmaCube), var$5); ju_HashMap_putImpl($this.$entityRenderMap, $rt_cls(nms_EntityPlayer), nms_RenderPlayer__init_0()); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderGiantZombie; var$6 = new nms_ModelZombie; nms_ModelBiped__init_(var$6, 0.0, 0.0, 64, 64); nms_RenderGiantZombie_$callClinit(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 3.0; var$5.$scale2 = 6.0; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityGiantZombie), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderGhast; nms_RenderGhast_$callClinit(); var$6 = nms_ModelGhast__init_0(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.5; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityGhast), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSquid; var$6 = nms_ModelSquid__init_0(); nms_RenderSquid_$callClinit(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.699999988079071; ju_HashMap_putImpl($var1, $rt_cls(nms_EntitySquid), var$5); ju_HashMap_putImpl($this.$entityRenderMap, $rt_cls(nms_EntityVillager), nms_RenderVillager__init_0()); ju_HashMap_putImpl($this.$entityRenderMap, $rt_cls(nms_EntityIronGolem), nms_RenderIronGolem__init_0()); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderBat; nms_RenderBat_$callClinit(); var$6 = nms_ModelBat__init_(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.25; var$5.$renderedBatSize = 36; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityBat), var$5); ju_HashMap_putImpl($this.$entityRenderMap, $rt_cls(nms_EntityDragon), nms_RenderDragon__init_0()); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderEnderCrystal; nms_RenderEnderCrystal_$callClinit(); var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; var$5.$shadowSize = 0.5; var$5.$field_76995_b = nms_ModelEnderCrystal__init_(0.0, 1); ju_HashMap_putImpl($var1, $rt_cls(nms_EntityEnderCrystal), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderWither; nms_RenderWither_$callClinit(); var$6 = nms_ModelWither__init_(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 1.0; var$5.$field_82419_a = 32; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityWither), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderEntity; var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; ju_HashMap_putImpl($var1, $rt_cls(nms_Entity), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderPainting; nms_RenderPainting_$callClinit(); var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityPainting), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderItemFrame; nms_RenderItemFrame_$callClinit(); var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$7 = nms_Minecraft_theMinecraft; var$6.$minecraftRB = var$7; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = var$7; var$5.$renderBlocksInstance = var$6; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityItemFrame), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderLeashKnot; nms_RenderLeashKnot_$callClinit(); var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; var$5.$leashKnotModel = nms_ModelLeashKnot__init_0(); ju_HashMap_putImpl($var1, $rt_cls(nms_EntityLeashKnot), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderArrow; nms_RenderArrow_$callClinit(); var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityArrow), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSnowball; nms_Item_$callClinit(); var$6 = nms_Item_snowball; var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$field_94151_a = var$6; var$5.$field_94150_f = 0; ju_HashMap_putImpl($var1, $rt_cls(nms_EntitySnowball), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSnowball; var$6 = nms_Item_enderPearl; var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$field_94151_a = var$6; var$5.$field_94150_f = 0; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityEnderPearl), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSnowball; var$6 = nms_Item_eyeOfEnder; var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$field_94151_a = var$6; var$5.$field_94150_f = 0; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityEnderEye), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSnowball; var$6 = nms_Item_egg; var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$field_94151_a = var$6; var$5.$field_94150_f = 0; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityEgg), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSnowball; var$6 = nms_Item_potion; var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$field_94151_a = var$6; var$5.$field_94150_f = 16384; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityPotion), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSnowball; var$6 = nms_Item_expBottle; var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$field_94151_a = var$6; var$5.$field_94150_f = 0; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityExpBottle), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderSnowball; var$6 = nms_Item_firework; var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$field_94151_a = var$6; var$5.$field_94150_f = 0; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityFireworkRocket), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderFireball; var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; var$5.$field_77002_a = 2.0; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityLargeFireball), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderFireball; var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; var$5.$field_77002_a = 0.5; ju_HashMap_putImpl($var1, $rt_cls(nms_EntitySmallFireball), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderWitherSkull; nms_RenderWitherSkull_$callClinit(); var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; var$5.$skeletonHeadModel = nms_ModelSkeletonHead__init_(); ju_HashMap_putImpl($var1, $rt_cls(nms_EntityWitherSkull), var$5); ju_HashMap_putImpl($this.$entityRenderMap, $rt_cls(nms_EntityItem), nms_RenderItem__init_()); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderXPOrb; nms_RenderXPOrb_$callClinit(); var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; var$5.$shadowSize = 0.15000000596046448; var$5.$shadowOpaque = 0.75; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityXPOrb), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderTNTPrimed; var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$7 = nms_Minecraft_theMinecraft; var$6.$minecraftRB = var$7; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = var$7; var$5.$blockRenderer0 = var$6; var$5.$shadowSize = 0.5; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityTNTPrimed), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderFallingSand; var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$7 = nms_Minecraft_theMinecraft; var$6.$minecraftRB = var$7; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = var$7; var$5.$sandRenderBlocks = var$6; var$5.$shadowSize = 0.5; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityFallingSand), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderTntMinecart; nms_RenderMinecart__init_(var$5); ju_HashMap_putImpl($var1, $rt_cls(nms_EntityMinecartTNT), var$5); ju_HashMap_putImpl($this.$entityRenderMap, $rt_cls(nms_EntityMinecartMobSpawner), nms_RenderMinecartMobSpawner__init_0()); ju_HashMap_putImpl($this.$entityRenderMap, $rt_cls(nms_EntityMinecart), nms_RenderMinecart__init_0()); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderBoat; nms_RenderBoat_$callClinit(); var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; var$5.$shadowSize = 0.5; var$5.$modelBoat = nms_ModelBoat__init_(); ju_HashMap_putImpl($var1, $rt_cls(nms_EntityBoat), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderFish; nms_RenderFish_$callClinit(); var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityFishHook), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderHorse; var$6 = nms_ModelHorse__init_0(); nms_RenderHorse_$callClinit(); var$7 = new nms_RenderBlocks; var$7.$useInventoryTint = 1; var$7.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$7; var$5.$shadowOpaque = 1.0; var$5.$mainModel = var$6; var$5.$shadowSize = 0.75; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityHorse), var$5); $var1 = $this.$entityRenderMap; var$5 = new nms_RenderLightningBolt; var$6 = new nms_RenderBlocks; var$6.$useInventoryTint = 1; var$6.$minecraftRB = nms_Minecraft_theMinecraft; var$5.$renderBlocks = var$6; var$5.$shadowOpaque = 1.0; ju_HashMap_putImpl($var1, $rt_cls(nms_EntityLightningBolt), var$5); $var1 = $this.$entityRenderMap; if ($var1.$cachedValues === null) { $var2 = new ju_HashMap$2; $var2.$this$01 = $var1; $var1.$cachedValues = $var2; } $var1 = $var1.$cachedValues.$iterator(); while ($var1.$hasNext()) { ($var1.$next()).$renderManager = $this; } }, nms_RenderManager__init_0 = () => { let var_0 = new nms_RenderManager(); nms_RenderManager__init_(var_0); return var_0; }, nms_RenderManager_getEntityClassRenderObject = ($this, $par1Class) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $var2 = $this.$entityRenderMap; if ($par1Class === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$3 = $par1Class; if (!var$3.$id$) var$3.$id$ = $rt_nextId(); var$4 = $par1Class.$id$; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$6 = $var2.$key; if ($par1Class !== var$6 && !($par1Class !== var$6 ? 0 : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && $par1Class !== $rt_cls(nms_Entity)) { var$6 = jl_Class_getSuperclass($par1Class); $var2 = $this.$entityRenderMap; if (var$6 !== null) { var$7 = var$6; if (!var$7.$id$) var$7.$id$ = $rt_nextId(); var$4 = var$6.$id$; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$7 = $var2.$key; if (var$6 !== var$7 && !(var$6 !== var$7 ? 0 : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$6 !== $rt_cls(nms_Entity)) { var$7 = jl_Class_getSuperclass(var$6); $var2 = $this.$entityRenderMap; if (var$7 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$3 = var$7; if (!var$3.$id$) var$3.$id$ = $rt_nextId(); var$4 = var$7.$id$; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$3 = $var2.$key; if (var$7 !== var$3 && !(var$7 !== var$3 ? 0 : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$7 !== $rt_cls(nms_Entity)) { var$3 = jl_Class_getSuperclass(var$7); var$8 = $this.$entityRenderMap; if (var$3 === null) { $var2 = var$8.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$9 = var$3; if (!var$9.$id$) var$9.$id$ = $rt_nextId(); var$4 = var$3.$id$; var$5 = var$8.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$10 = $var2.$key; if (var$3 !== var$10 && !(var$3 !== var$10 ? 0 : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$3 !== $rt_cls(nms_Entity)) { var$9 = jl_Class_getSuperclass(var$3); var$11 = $this.$entityRenderMap; if (var$9 === null) { $var2 = var$11.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { $var2 = var$9; if (!$var2.$id$) $var2.$id$ = $rt_nextId(); var$4 = var$9.$id$; var$5 = var$11.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$10 = $var2.$key; if (var$9 !== var$10 && !jl_Object_equals(var$9, var$10) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$9 !== $rt_cls(nms_Entity)) { var$11 = jl_Class_getSuperclass(var$9); var$12 = $this.$entityRenderMap; if (var$11 === null) { $var2 = var$12.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { $var2 = var$11; if (!$var2.$id$) $var2.$id$ = $rt_nextId(); var$4 = var$11.$id$; var$5 = var$12.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null && !($var2.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$11, $var2.$key))) { $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$11 !== $rt_cls(nms_Entity)) { var$10 = jl_Class_getSuperclass(var$11); $var2 = $this.$entityRenderMap; if (var$10 === null) $var2 = ju_HashMap_findNullKeyEntry($var2); else { var$13 = jl_Object_hashCode(var$10); $var2 = ju_HashMap_findNonNullKeyEntry($var2, var$10, var$13 & ($var2.$elementData.data.length - 1 | 0), var$13); } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$10 !== $rt_cls(nms_Entity)) { var$8 = jl_Class_getSuperclass(var$10); $var2 = ju_HashMap_entryByKey($this.$entityRenderMap, var$8); $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$8 !== $rt_cls(nms_Entity)) { var$12 = jl_Class_getSuperclass(var$8); $var2 = ju_HashMap_get($this.$entityRenderMap, var$12); if ($var2 === null && var$12 !== $rt_cls(nms_Entity)) { $var2 = nms_RenderManager_getEntityClassRenderObject($this, jl_Class_getSuperclass(var$12)); ju_HashMap_put($this.$entityRenderMap, var$12, $var2); } ju_HashMap_putImpl($this.$entityRenderMap, var$8, $var2); } ju_HashMap_putImpl($this.$entityRenderMap, var$10, $var2); } ju_HashMap_putImpl($this.$entityRenderMap, var$11, $var2); } ju_HashMap_putImpl($this.$entityRenderMap, var$9, $var2); } ju_HashMap_putImpl($this.$entityRenderMap, var$3, $var2); } ju_HashMap_putImpl($this.$entityRenderMap, var$7, $var2); } ju_HashMap_putImpl($this.$entityRenderMap, var$6, $var2); } ju_HashMap_putImpl($this.$entityRenderMap, $par1Class, $var2); } return $var2; }, nms_RenderManager_getEntityRenderObject = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; $par1Entity = $par1Entity.constructor; if ($par1Entity !== null) { var$2 = $par1Entity.classObject; if (var$2 === null) { var$2 = new jl_Class; var$2.$platformClass = $par1Entity; $par1Entity.classObject = var$2; } } else var$2 = null; $par1Entity = $this.$entityRenderMap; if (var$2 !== null) { var$3 = var$2; if (!var$3.$id$) var$3.$id$ = $rt_nextId(); var$4 = var$2.$id$; var$5 = $par1Entity.$elementData.data; $par1Entity = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$4) { var$3 = $par1Entity.$key; if (var$2 !== var$3 && !(var$2 !== var$3 ? 0 : 1) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } else { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if ($par1Entity === null && var$2 !== $rt_cls(nms_Entity)) { var$3 = jl_Class_getSuperclass(var$2); $par1Entity = $this.$entityRenderMap; if (var$3 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$6 = var$3; if (!var$6.$id$) var$6.$id$ = $rt_nextId(); var$4 = var$3.$id$; var$5 = $par1Entity.$elementData.data; $par1Entity = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$4) { var$6 = $par1Entity.$key; if (var$3 !== var$6 && !(var$3 !== var$6 ? 0 : 1) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if ($par1Entity === null && var$3 !== $rt_cls(nms_Entity)) { var$6 = jl_Class_getSuperclass(var$3); $par1Entity = $this.$entityRenderMap; if (var$6 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$7 = var$6; if (!var$7.$id$) var$7.$id$ = $rt_nextId(); var$4 = var$6.$id$; var$5 = $par1Entity.$elementData.data; $par1Entity = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$4) { var$7 = $par1Entity.$key; if (var$6 !== var$7 && !(var$6 !== var$7 ? 0 : 1) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if ($par1Entity === null && var$6 !== $rt_cls(nms_Entity)) { var$7 = jl_Class_getSuperclass(var$6); $par1Entity = $this.$entityRenderMap; if (var$7 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$8 = var$7; if (!var$8.$id$) var$8.$id$ = $rt_nextId(); var$4 = var$7.$id$; var$5 = $par1Entity.$elementData.data; $par1Entity = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$4) { var$8 = $par1Entity.$key; if (var$7 !== var$8 && !jl_Object_equals(var$7, var$8) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if ($par1Entity === null && var$7 !== $rt_cls(nms_Entity)) { var$8 = jl_Class_getSuperclass(var$7); $par1Entity = $this.$entityRenderMap; if (var$8 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$9 = var$8; if (!var$9.$id$) var$9.$id$ = $rt_nextId(); var$4 = var$8.$id$; var$5 = $par1Entity.$elementData.data; $par1Entity = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1Entity !== null && !($par1Entity.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$8, $par1Entity.$key))) { $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if ($par1Entity === null && var$8 !== $rt_cls(nms_Entity)) { var$9 = jl_Class_getSuperclass(var$8); $par1Entity = $this.$entityRenderMap; if (var$9 === null) $par1Entity = ju_HashMap_findNullKeyEntry($par1Entity); else { var$10 = jl_Object_hashCode(var$9); $par1Entity = ju_HashMap_findNonNullKeyEntry($par1Entity, var$9, var$10 & ($par1Entity.$elementData.data.length - 1 | 0), var$10); } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if ($par1Entity === null && var$9 !== $rt_cls(nms_Entity)) { var$11 = jl_Class_getSuperclass(var$9); $par1Entity = ju_HashMap_entryByKey($this.$entityRenderMap, var$11); $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if ($par1Entity === null && var$11 !== $rt_cls(nms_Entity)) { var$12 = jl_Class_getSuperclass(var$11); $par1Entity = ju_HashMap_get($this.$entityRenderMap, var$12); if ($par1Entity === null && var$12 !== $rt_cls(nms_Entity)) { $par1Entity = nms_RenderManager_getEntityClassRenderObject($this, jl_Class_getSuperclass(var$12)); ju_HashMap_put($this.$entityRenderMap, var$12, $par1Entity); } ju_HashMap_putImpl($this.$entityRenderMap, var$11, $par1Entity); } ju_HashMap_putImpl($this.$entityRenderMap, var$9, $par1Entity); } ju_HashMap_putImpl($this.$entityRenderMap, var$8, $par1Entity); } ju_HashMap_putImpl($this.$entityRenderMap, var$7, $par1Entity); } ju_HashMap_putImpl($this.$entityRenderMap, var$6, $par1Entity); } ju_HashMap_putImpl($this.$entityRenderMap, var$3, $par1Entity); } ju_HashMap_putImpl($this.$entityRenderMap, var$2, $par1Entity); } return $par1Entity; }, nms_RenderManager_cacheActiveRenderInfo = ($this, $par1World, $par2TextureManager, $par3FontRenderer, $par4EntityLivingBase, $par5EntityLivingBase, $par6GameSettings, $par7) => { let var$8, var$9, var$10, $var8, $var10, var$13, var$14; $this.$worldObj9 = $par1World; $this.$renderEngine1 = $par2TextureManager; $this.$options2 = $par6GameSettings; $this.$livingPlayer = $par4EntityLivingBase; $this.$field_96451_i = $par5EntityLivingBase; $this.$fontRenderer2 = $par3FontRenderer; if (!$par4EntityLivingBase.$sleeping) { var$8 = $par4EntityLivingBase.$prevRotationYaw; $this.$playerViewY = var$8 + ($par4EntityLivingBase.$rotationYaw - var$8) * $par7; var$8 = $par4EntityLivingBase.$prevRotationPitch; $this.$playerViewX = var$8 + ($par4EntityLivingBase.$rotationPitch - var$8) * $par7; } else { var$9 = $par4EntityLivingBase.$posX; var$10 = var$9 | 0; if (var$9 < var$10) var$10 = var$10 - 1 | 0; var$9 = $par4EntityLivingBase.$posY; $var8 = var$9 | 0; if (var$9 < $var8) $var8 = $var8 - 1 | 0; var$9 = $par4EntityLivingBase.$posZ; $var10 = var$9 | 0; if (var$9 < $var10) $var10 = $var10 - 1 | 0; $var8 = nms_World_getBlockId($par1World, var$10, $var8, $var10); nms_Block_$callClinit(); if ($var8 == nms_Block_bed.$blockID) { var$9 = $par4EntityLivingBase.$posX; var$10 = var$9 | 0; if (var$9 < var$10) var$10 = var$10 - 1 | 0; var$9 = $par4EntityLivingBase.$posY; $var8 = var$9 | 0; if (var$9 < $var8) $var8 = $var8 - 1 | 0; var$9 = $par4EntityLivingBase.$posZ; $var10 = var$9 | 0; if (var$9 < $var10) $var10 = $var10 - 1 | 0; $this.$playerViewY = ((nms_World_getBlockMetadata($par1World, var$10, $var8, $var10) & 3) * 90 | 0) + 180 | 0; $this.$playerViewX = 0.0; } } if ($par6GameSettings.$thirdPersonView == 2) $this.$playerViewY = $this.$playerViewY + 180.0; var$9 = $par4EntityLivingBase.$lastTickPosX; var$13 = $par4EntityLivingBase.$posX - var$9; var$14 = $par7; $this.$viewerPosX = var$9 + var$13 * var$14; var$13 = $par4EntityLivingBase.$lastTickPosY; $this.$viewerPosY = var$13 + ($par4EntityLivingBase.$posY - var$13) * var$14; var$13 = $par4EntityLivingBase.$lastTickPosZ; $this.$viewerPosZ = var$13 + ($par4EntityLivingBase.$posZ - var$13) * var$14; }, nms_RenderManager_renderEntity = ($this, $par1Entity, $par2) => { let $var5, $var3, var$5, $var7, var$7, $var9, $var10, $var11, $var12, var$12, var$13, var$14, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$7 = $thread.pop();$var7 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();$var5 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1Entity.$ticksExisted) { $par1Entity.$lastTickPosX = $par1Entity.$posX; $par1Entity.$lastTickPosY = $par1Entity.$posY; $par1Entity.$lastTickPosZ = $par1Entity.$posZ; } $var5 = $par1Entity.$lastTickPosX; $var3 = $par1Entity.$posX - $var5; var$5 = $par2; $var3 = $var5 + $var3 * var$5; $var5 = $par1Entity.$lastTickPosY; $var5 = $var5 + ($par1Entity.$posY - $var5) * var$5; $var7 = $par1Entity.$lastTickPosZ; $var7 = $var7 + ($par1Entity.$posZ - $var7) * var$5; var$7 = $par1Entity.$prevRotationYaw; $var9 = var$7 + ($par1Entity.$rotationYaw - var$7) * $par2; $var10 = $par1Entity.$getBrightnessForRender($par2); if ($par1Entity.$isBurning()) $var10 = 15728880; a: { $var11 = $var10 % 65536 | 0; $var12 = $var10 / 65536 | 0; $var10 = nms_OpenGlHelper_lightmapTexUnit; var$12 = $var11 / 1.0; var$7 = $var12 / 1.0; nleg_EaglerAdapterGL30_$callClinit(); switch ($var10) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = var$12; nleg_EaglerAdapterGL30_tex1Y = var$7; break a; default: if (jl_System_errCache === null) { var$13 = new otcic_JSStderrPrintStream; var$14 = new ji_ByteArrayOutputStream; var$14.$buf = $rt_createByteArray(32); var$13.$out0 = var$14; var$14 = new jl_StringBuilder; var$14.$buffer = $rt_createCharArray(16); var$13.$sb = var$14; var$13.$buffer0 = $rt_createCharArray(32); var$13.$autoFlush = 0; var$13.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$13; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break a; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = var$12; nleg_EaglerAdapterGL30_tex0Y = var$7; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var3 = $var3 - nms_RenderManager_renderPosX; var$5 = $var5 - nms_RenderManager_renderPosY; $var5 = $var7 - nms_RenderManager_renderPosZ; b: { try { var$13 = nms_RenderManager_getEntityRenderObject($this, $par1Entity); if (var$13 !== null && $this.$renderEngine1 !== null) { if (nms_RenderManager_field_85095_o && !nms_Entity_isInvisible($par1Entity)) nms_RenderManager_func_85094_b($this, $par1Entity, $var3, var$5, $var5, $var9, $par2); $ptr = 1; continue main; } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } return; case 1: try { var$13.$doRender($par1Entity, $var3, var$5, $var5, $var9, $par2); if ($rt_suspending()) { break main; } $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } return; case 2: c: { try { nms_Render_doRenderShadowAndFire(var$13, $par1Entity, $var3, var$5, $var5, $var9, $par2); if ($rt_suspending()) { break main; } break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $var5, $var3, var$5, $var7, var$7, $var9, $var10, $var11, $var12, var$12, var$13, var$14, $ptr); }, nms_RenderManager_func_85094_b = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $var10, $var19, $var25, $var27, var$11; nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2884); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glPushMatrix(); nlea_Tessellator_$callClinit(); $var10 = nlea_Tessellator_instance; if ($var10.$isDrawing) nlea_Tessellator_draw($var10); $var10.$isDrawing = 1; $var10.$vertexCount = 0; $var10.$rawBufferIndex = 0; $var10.$addedVertices = 0; $var10.$drawMode = 7; $var10.$hasNormals = 0; $var10.$hasColor = 0; $var10.$hasTexture = 0; $var10.$hasBrightness = 0; $var10.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var10, 255, 255, 255, 32); $par8 = $par1Entity.$width1; $var19 = -$par8 / 2.0; $var25 = $par8 / 2.0; $var27 = $par1Entity.$height2; var$11 = $par2 + $var19; $var27 = $par4 + $var27; $var19 = $par6 + $var19; nlea_Tessellator_addVertex($var10, var$11, $var27, $var19); nlea_Tessellator_addVertex($var10, var$11, $par4, $var19); $par2 = $par2 + $var25; nlea_Tessellator_addVertex($var10, $par2, $par4, $var19); nlea_Tessellator_addVertex($var10, $par2, $var27, $var19); $par6 = $par6 + $var25; nlea_Tessellator_addVertex($var10, $par2, $var27, $par6); nlea_Tessellator_addVertex($var10, $par2, $par4, $par6); nlea_Tessellator_addVertex($var10, var$11, $par4, $par6); nlea_Tessellator_addVertex($var10, var$11, $var27, $par6); nlea_Tessellator_addVertex($var10, $par2, $var27, $var19); nlea_Tessellator_addVertex($var10, $par2, $par4, $var19); nlea_Tessellator_addVertex($var10, $par2, $par4, $par6); nlea_Tessellator_addVertex($var10, $par2, $var27, $par6); nlea_Tessellator_addVertex($var10, var$11, $var27, $par6); nlea_Tessellator_addVertex($var10, var$11, $par4, $par6); nlea_Tessellator_addVertex($var10, var$11, $par4, $var19); nlea_Tessellator_addVertex($var10, var$11, $var27, $var19); nlea_Tessellator_draw($var10); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glDisable(3042); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } }; function nms_ItemRenderer() { let a = this; jl_Object.call(a); a.$mc8 = null; a.$itemToRender = null; a.$equippedProgress = 0.0; a.$prevEquippedProgress = 0.0; a.$renderBlocksInstance0 = null; a.$mapItemRenderer = null; a.$equippedItemSlot = 0; } let nms_ItemRenderer_RES_ITEM_GLINT = null, nms_ItemRenderer_RES_MAP_BACKGROUND = null, nms_ItemRenderer_RES_UNDERWATER_OVERLAY = null, nms_ItemRenderer_terrain = null, nms_ItemRenderer_items = null, nms_ItemRenderer_$callClinit = () => { nms_ItemRenderer_$callClinit = $rt_eraseClinit(nms_ItemRenderer); nms_ItemRenderer__clinit_(); }, nms_ItemRenderer_renderItem = ($this, $par1EntityLivingBase, $par2ItemStack, $par3) => { let var$4, var$5, $var5, $var6, $var7, $var8, $var9, $var10, var$12, $var15, $var16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();var$12 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2ItemStack = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$par2ItemStack.$itemID].$getSpriteNumber()) { nms_Block_$callClinit(); var$4 = nms_Block_blocksList.data; var$5 = $par2ItemStack.$itemID; if (var$4[var$5] !== null && nms_RenderBlocks_renderItemIn3d(var$4[var$5].$getRenderType())) { nms_ItemRenderer_$callClinit(); $par1EntityLivingBase = nms_ItemRenderer_terrain; $ptr = 3; continue main; } } $var5 = $par1EntityLivingBase.$getItemIcon($par2ItemStack, $par3); if ($var5 === null) { nleg_EaglerAdapterGL30_glPopMatrix(); return; } if (nms_Item_itemsList.data[$par2ItemStack.$itemID].$getSpriteNumber()) { nms_ItemRenderer_$callClinit(); $par1EntityLivingBase = nms_ItemRenderer_items; $ptr = 1; continue main; } nms_ItemRenderer_$callClinit(); $par1EntityLivingBase = nms_ItemRenderer_terrain; $ptr = 2; continue main; case 1: nle_TextureLocation_bindTexture($par1EntityLivingBase); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var6 = nlea_Tessellator_instance; $var7 = $var5.$getMinU(); $var8 = $var5.$getMaxU(); $var9 = $var5.$getMinV(); $var10 = $var5.$getMaxV(); nleg_EaglerAdapterGL30_glEnable(32826); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = -0.0; $par1EntityLivingBase.$y = (-0.30000001192092896); $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = var$12; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 1.5; $par1EntityLivingBase.$y = 1.5; $par1EntityLivingBase.$z = 1.5; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = var$12; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.0; $par1EntityLivingBase.$y = 1.0; $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.8726646304130554, nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = var$12; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.0; $par1EntityLivingBase.$y = 0.0; $par1EntityLivingBase.$z = 1.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(5.846852779388428, nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = var$12; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = (-0.9375); $par1EntityLivingBase.$y = (-0.0625); $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = var$12; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ItemRenderer_renderItemIn2D($var6, $var8, $var9, $var7, $var10, $var5.$getIconWidth(), $var5.$getIconHeight(), 0.0625); if (nms_Item_itemsList.data[$par2ItemStack.$itemID].$hasEffect($par2ItemStack) && !$par3) { a: { var$5 = 518; switch (514) { case 514: var$5 = 514; break a; case 515: var$5 = 518; break a; case 516: var$5 = 513; break a; default: } } if (var$5 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc(var$5); nleg_EaglerAdapterGL30_currentDepthFunc = var$5; } nleg_EaglerAdapterGL30_glDisable(2896); $par1EntityLivingBase = nms_ItemRenderer_RES_ITEM_GLINT; $ptr = 5; continue main; } nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); return; case 2: nle_TextureLocation_bindTexture($par1EntityLivingBase); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9728); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9728); nlea_Tessellator_$callClinit(); $var6 = nlea_Tessellator_instance; $var7 = $var5.$getMinU(); $var8 = $var5.$getMaxU(); $var9 = $var5.$getMinV(); $var10 = $var5.$getMaxV(); nleg_EaglerAdapterGL30_glEnable(32826); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = -0.0; $par1EntityLivingBase.$y = (-0.30000001192092896); $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = var$12; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 1.5; $par1EntityLivingBase.$y = 1.5; $par1EntityLivingBase.$z = 1.5; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = var$12; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.0; $par1EntityLivingBase.$y = 1.0; $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.8726646304130554, nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = var$12; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.0; $par1EntityLivingBase.$y = 0.0; $par1EntityLivingBase.$z = 1.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(5.846852779388428, nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = var$12; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = (-0.9375); $par1EntityLivingBase.$y = (-0.0625); $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = var$12; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = var$12; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ItemRenderer_renderItemIn2D($var6, $var8, $var9, $var7, $var10, $var5.$getIconWidth(), $var5.$getIconHeight(), 0.0625); if (nms_Item_itemsList.data[$par2ItemStack.$itemID].$hasEffect($par2ItemStack) && !$par3) { a: { var$5 = 518; switch (514) { case 514: var$5 = 514; break a; case 515: var$5 = 518; break a; case 516: var$5 = 513; break a; default: } } if (var$5 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc(var$5); nleg_EaglerAdapterGL30_currentDepthFunc = var$5; } nleg_EaglerAdapterGL30_glDisable(2896); $par1EntityLivingBase = nms_ItemRenderer_RES_ITEM_GLINT; $ptr = 5; continue main; } nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); return; case 3: nle_TextureLocation_bindTexture($par1EntityLivingBase); if ($rt_suspending()) { break main; } $par1EntityLivingBase = $this.$renderBlocksInstance0; $var5 = nms_Block_blocksList.data[$par2ItemStack.$itemID]; $par3 = $par2ItemStack.$itemDamage; $var15 = 1.0; $ptr = 4; case 4: nms_RenderBlocks_renderBlockAsItem($par1EntityLivingBase, $var5, $par3, $var15); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); return; case 5: nle_TextureLocation_bindTexture($par1EntityLivingBase); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(768, 1); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 0.3799999952316284; nleg_EaglerAdapterGL30_colorG = 0.1899999976158142; nleg_EaglerAdapterGL30_colorB = 0.6079999804496765; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPushMatrix(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.125; $par1EntityLivingBase.$y = 0.125; $par1EntityLivingBase.$z = 0.125; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $par2ItemStack = new ji_ByteArrayOutputStream; $par2ItemStack.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = $par2ItemStack; $par2ItemStack = new jl_StringBuilder; $par2ItemStack.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = $par2ItemStack; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nlea_EaglerAdapterImpl2_$callClinit(); $var16 = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(3000))) / 3000.0 * 8.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = $var16; $par1EntityLivingBase.$y = 0.0; $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $par2ItemStack = new ji_ByteArrayOutputStream; $par2ItemStack.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = $par2ItemStack; $par2ItemStack = new jl_StringBuilder; $par2ItemStack.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = $par2ItemStack; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.0; $par1EntityLivingBase.$y = 0.0; $par1EntityLivingBase.$z = 1.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.8726646304130554), nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $par2ItemStack = new ji_ByteArrayOutputStream; $par2ItemStack.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = $par2ItemStack; $par2ItemStack = new jl_StringBuilder; $par2ItemStack.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = $par2ItemStack; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ItemRenderer_renderItemIn2D($var6, 0.0, 0.0, 1.0, 1.0, 256, 256, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.125; $par1EntityLivingBase.$y = 0.125; $par1EntityLivingBase.$z = 0.125; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $par2ItemStack = new ji_ByteArrayOutputStream; $par2ItemStack.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = $par2ItemStack; $par2ItemStack = new jl_StringBuilder; $par2ItemStack.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = $par2ItemStack; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var15 = -(Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(4873))) / 4873.0 * 8.0); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = $var15; $par1EntityLivingBase.$y = 0.0; $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $par2ItemStack = new ji_ByteArrayOutputStream; $par2ItemStack.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = $par2ItemStack; $par2ItemStack = new jl_StringBuilder; $par2ItemStack.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = $par2ItemStack; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.0; $par1EntityLivingBase.$y = 0.0; $par1EntityLivingBase.$z = 1.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.1745329201221466, nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $par2ItemStack = new ji_ByteArrayOutputStream; $par2ItemStack.$buf = $rt_createByteArray(32); $par1EntityLivingBase.$out0 = $par2ItemStack; $par2ItemStack = new jl_StringBuilder; $par2ItemStack.$buffer = $rt_createCharArray(16); $par1EntityLivingBase.$sb = $par2ItemStack; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } a: { nms_ItemRenderer_renderItemIn2D($var6, 0.0, 0.0, 1.0, 1.0, 256, 256, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(2896); var$5 = 518; switch (515) { case 514: var$5 = 514; break a; case 515: var$5 = 518; break a; case 516: var$5 = 513; break a; default: } } if (var$5 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_webgl.depthFunc(var$5); nleg_EaglerAdapterGL30_currentDepthFunc = var$5; } nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2ItemStack, $par3, var$4, var$5, $var5, $var6, $var7, $var8, $var9, $var10, var$12, $var15, $var16, $ptr); }, nms_ItemRenderer_renderItemIn2D = ($par0Tessellator, $par1, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$9, var$10, var$11, var$12, var$13, $var13, var$15, $var8, var$17, $var9, $var10, $var11, $var12, var$22, var$23, $var11_0, var$25, var$26; nms_ItemRenderer_$callClinit(); if ($par0Tessellator.$isDrawing) nlea_Tessellator_draw($par0Tessellator); $par0Tessellator.$isDrawing = 1; $par0Tessellator.$vertexCount = 0; $par0Tessellator.$rawBufferIndex = 0; $par0Tessellator.$addedVertices = 0; $par0Tessellator.$drawMode = 7; $par0Tessellator.$hasNormals = 0; $par0Tessellator.$hasColor = 0; $par0Tessellator.$hasTexture = 0; $par0Tessellator.$hasBrightness = 0; $par0Tessellator.$isColorDisabled = 0; nlea_Tessellator_setNormal($par0Tessellator, 0.0, 0.0, 1.0); var$9 = $par1; var$10 = $par4; $par0Tessellator.$hasTexture = 1; var$11 = var$9; $par0Tessellator.$textureU = var$11; var$12 = var$10; $par0Tessellator.$textureV = var$12; nlea_Tessellator_addVertex($par0Tessellator, 0.0, 0.0, 0.0); var$9 = $par3; $par0Tessellator.$hasTexture = 1; var$13 = var$9; $par0Tessellator.$textureU = var$13; $par0Tessellator.$textureV = var$12; nlea_Tessellator_addVertex($par0Tessellator, 1.0, 0.0, 0.0); var$9 = $par2; $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$13; $var13 = var$9; $par0Tessellator.$textureV = $var13; nlea_Tessellator_addVertex($par0Tessellator, 1.0, 1.0, 0.0); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$11; $par0Tessellator.$textureV = $var13; nlea_Tessellator_addVertex($par0Tessellator, 0.0, 1.0, 0.0); nlea_Tessellator_draw($par0Tessellator); if ($par0Tessellator.$isDrawing) nlea_Tessellator_draw($par0Tessellator); $par0Tessellator.$isDrawing = 1; $par0Tessellator.$vertexCount = 0; $par0Tessellator.$rawBufferIndex = 0; $par0Tessellator.$addedVertices = 0; $par0Tessellator.$drawMode = 7; $par0Tessellator.$hasNormals = 0; $par0Tessellator.$hasColor = 0; $par0Tessellator.$hasTexture = 0; $par0Tessellator.$hasBrightness = 0; $par0Tessellator.$isColorDisabled = 0; nlea_Tessellator_setNormal($par0Tessellator, 0.0, 0.0, (-1.0)); var$9 = 0.0 - $par7; $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$11; $par0Tessellator.$textureV = $var13; nlea_Tessellator_addVertex($par0Tessellator, 0.0, 1.0, var$9); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$13; $par0Tessellator.$textureV = $var13; nlea_Tessellator_addVertex($par0Tessellator, 1.0, 1.0, var$9); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$13; $par0Tessellator.$textureV = var$12; nlea_Tessellator_addVertex($par0Tessellator, 1.0, 0.0, var$9); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$11; $par0Tessellator.$textureV = var$12; nlea_Tessellator_addVertex($par0Tessellator, 0.0, 0.0, var$9); nlea_Tessellator_draw($par0Tessellator); $par7 = 0.5 * ($par1 - $par3); var$15 = $par5; $var8 = $par7 / var$15; $par7 = 0.5 * ($par4 - $par2); var$17 = $par6; $var9 = $par7 / var$17; if ($par0Tessellator.$isDrawing) nlea_Tessellator_draw($par0Tessellator); $par0Tessellator.$isDrawing = 1; $par0Tessellator.$vertexCount = 0; $par0Tessellator.$rawBufferIndex = 0; $par0Tessellator.$addedVertices = 0; $par0Tessellator.$drawMode = 7; $par0Tessellator.$hasNormals = 0; $par0Tessellator.$hasColor = 0; $par0Tessellator.$hasTexture = 0; $par0Tessellator.$hasBrightness = 0; $par0Tessellator.$isColorDisabled = 0; nlea_Tessellator_setNormal($par0Tessellator, (-1.0), 0.0, 0.0); $var10 = 0; $par7 = $par3 - $par1; while ($var10 < $par5) { $var11 = $var10 / var$15; $var12 = $par1 + $par7 * $var11 - $var8; var$22 = $var11; var$23 = $var12; $par0Tessellator.$hasTexture = 1; $par3 = var$23; $par0Tessellator.$textureU = $par3; $par0Tessellator.$textureV = var$12; nlea_Tessellator_addVertex($par0Tessellator, var$22, 0.0, var$9); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = $par3; $par0Tessellator.$textureV = var$12; nlea_Tessellator_addVertex($par0Tessellator, var$22, 0.0, 0.0); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = $par3; $par0Tessellator.$textureV = $var13; nlea_Tessellator_addVertex($par0Tessellator, var$22, 1.0, 0.0); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = $par3; $par0Tessellator.$textureV = $var13; nlea_Tessellator_addVertex($par0Tessellator, var$22, 1.0, var$9); $var10 = $var10 + 1 | 0; } nlea_Tessellator_draw($par0Tessellator); if ($par0Tessellator.$isDrawing) nlea_Tessellator_draw($par0Tessellator); $par0Tessellator.$isDrawing = 1; $par0Tessellator.$vertexCount = 0; $par0Tessellator.$rawBufferIndex = 0; $par0Tessellator.$addedVertices = 0; $par0Tessellator.$drawMode = 7; $par0Tessellator.$hasNormals = 0; $par0Tessellator.$hasColor = 0; $par0Tessellator.$hasTexture = 0; $par0Tessellator.$hasBrightness = 0; $par0Tessellator.$isColorDisabled = 0; nlea_Tessellator_setNormal($par0Tessellator, 1.0, 0.0, 0.0); $var10 = 0; $par3 = 1.0 / var$15; while ($var10 < $par5) { $var11_0 = $var10 / var$15; $var12 = $par1 + $par7 * $var11_0 - $var8; var$23 = $var11_0 + $par3; var$25 = $var12; $par0Tessellator.$hasTexture = 1; $var11 = var$25; $par0Tessellator.$textureU = $var11; $par0Tessellator.$textureV = $var13; nlea_Tessellator_addVertex($par0Tessellator, var$23, 1.0, var$9); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = $var11; $par0Tessellator.$textureV = $var13; nlea_Tessellator_addVertex($par0Tessellator, var$23, 1.0, 0.0); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = $var11; $par0Tessellator.$textureV = var$12; nlea_Tessellator_addVertex($par0Tessellator, var$23, 0.0, 0.0); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = $var11; $par0Tessellator.$textureV = var$12; nlea_Tessellator_addVertex($par0Tessellator, var$23, 0.0, var$9); $var10 = $var10 + 1 | 0; } nlea_Tessellator_draw($par0Tessellator); if ($par0Tessellator.$isDrawing) nlea_Tessellator_draw($par0Tessellator); $par0Tessellator.$isDrawing = 1; $par0Tessellator.$vertexCount = 0; $par0Tessellator.$rawBufferIndex = 0; $par0Tessellator.$addedVertices = 0; $par0Tessellator.$drawMode = 7; $par0Tessellator.$hasNormals = 0; $par0Tessellator.$hasColor = 0; $par0Tessellator.$hasTexture = 0; $par0Tessellator.$hasBrightness = 0; $par0Tessellator.$isColorDisabled = 0; nlea_Tessellator_setNormal($par0Tessellator, 0.0, 1.0, 0.0); var$26 = 0; $par2 = $par2 - $par4; $par3 = 1.0 / var$17; while (var$26 < $par6) { $var11 = var$26 / var$17; $var12 = $par4 + $par2 * $var11 - $var9; var$25 = $var11 + $par3; var$10 = $var12; $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$11; $par1 = var$10; $par0Tessellator.$textureV = $par1; nlea_Tessellator_addVertex($par0Tessellator, 0.0, var$25, 0.0); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$13; $par0Tessellator.$textureV = $par1; nlea_Tessellator_addVertex($par0Tessellator, 1.0, var$25, 0.0); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$13; $par0Tessellator.$textureV = $par1; nlea_Tessellator_addVertex($par0Tessellator, 1.0, var$25, var$9); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$11; $par0Tessellator.$textureV = $par1; nlea_Tessellator_addVertex($par0Tessellator, 0.0, var$25, var$9); var$26 = var$26 + 1 | 0; } nlea_Tessellator_draw($par0Tessellator); if ($par0Tessellator.$isDrawing) nlea_Tessellator_draw($par0Tessellator); $par0Tessellator.$isDrawing = 1; $par0Tessellator.$vertexCount = 0; $par0Tessellator.$rawBufferIndex = 0; $par0Tessellator.$addedVertices = 0; $par0Tessellator.$drawMode = 7; $par0Tessellator.$hasNormals = 0; $par0Tessellator.$hasColor = 0; $par0Tessellator.$hasTexture = 0; $par0Tessellator.$hasBrightness = 0; $par0Tessellator.$isColorDisabled = 0; nlea_Tessellator_setNormal($par0Tessellator, 0.0, (-1.0), 0.0); var$26 = 0; while (var$26 < $par6) { $var11 = var$26 / var$17; $var12 = $par4 + $par2 * $var11 - $var9; var$25 = $var11; var$10 = $var12; $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$13; $par1 = var$10; $par0Tessellator.$textureV = $par1; nlea_Tessellator_addVertex($par0Tessellator, 1.0, var$25, 0.0); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$11; $par0Tessellator.$textureV = $par1; nlea_Tessellator_addVertex($par0Tessellator, 0.0, var$25, 0.0); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$11; $par0Tessellator.$textureV = $par1; nlea_Tessellator_addVertex($par0Tessellator, 0.0, var$25, var$9); $par0Tessellator.$hasTexture = 1; $par0Tessellator.$textureU = var$13; $par0Tessellator.$textureV = $par1; nlea_Tessellator_addVertex($par0Tessellator, 1.0, var$25, var$9); var$26 = var$26 + 1 | 0; } nlea_Tessellator_draw($par0Tessellator); }, nms_ItemRenderer_renderItemInFirstPerson = ($this, $par1) => { let $var21, $var2, $var3, $var4, $var25, $var29, $var23, $var6, $var7, $var8, $var9, var$13, $var12, $var11, $var24, $var10, $var27, $var13, var$20, var$21, var$22, $var22, $var28, $var19, var$26, var$27, $var21_0, $var23_0, var$30, $var14, $var15, $var16, $var17, $var18, var$36, var$37, var$38, var$39, var$40, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$40 = $thread.pop();var$39 = $thread.pop();var$38 = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();var$30 = $thread.pop();$var23_0 = $thread.pop();$var21_0 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();$var19 = $thread.pop();$var28 = $thread.pop();$var22 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var13 = $thread.pop();$var27 = $thread.pop();$var10 = $thread.pop();$var24 = $thread.pop();$var11 = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var23 = $thread.pop();$var29 = $thread.pop();$var25 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var21 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var21 = $this.$prevEquippedProgress; $var2 = $var21 + ($this.$equippedProgress - $var21) * $par1; $var3 = $this.$mc8.$thePlayer; $var21 = $var3.$prevRotationPitch; $var4 = $var21 + ($var3.$rotationPitch - $var21) * $par1; nleg_EaglerAdapterGL30_glPushMatrix(); $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 1.0; $var25.$y = 0.0; $var25.$z = 0.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var4 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $var29 = jl_System_errCache; otcic_JSStderrPrintStream_print($var29, $rt_s(468)); otcic_JSStderrPrintStream_print($var29, $rt_s(469)); } $var21 = $var3.$prevRotationYaw; $var23 = $var21 + ($var3.$rotationYaw - $var21) * $par1; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = 1.0; $var25.$z = 0.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var23 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $var29 = jl_System_errCache; otcic_JSStderrPrintStream_print($var29, $rt_s(468)); otcic_JSStderrPrintStream_print($var29, $rt_s(469)); } nleg_EaglerAdapterGL30_glPushMatrix(); $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 1.0; $var25.$y = (-1.0); $var25.$z = 1.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $var29 = jl_System_errCache; otcic_JSStderrPrintStream_print($var29, $rt_s(468)); otcic_JSStderrPrintStream_print($var29, $rt_s(469)); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); $var21 = $var3.$prevRenderArmPitch; $var6 = $var21 + ($var3.$renderArmPitch - $var21) * $par1; $var21 = $var3.$prevRenderArmYaw; $var7 = $var21 + ($var3.$renderArmYaw - $var21) * $par1; $var23 = ($var3.$rotationPitch - $var6) * 0.10000000149011612; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 1.0; $var25.$y = 0.0; $var25.$z = 0.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var23 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $var29 = jl_System_errCache; otcic_JSStderrPrintStream_print($var29, $rt_s(468)); otcic_JSStderrPrintStream_print($var29, $rt_s(469)); } $var23 = ($var3.$rotationYaw - $var7) * 0.10000000149011612; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = 1.0; $var25.$z = 0.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var23 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $var29 = jl_System_errCache; otcic_JSStderrPrintStream_print($var29, $rt_s(468)); otcic_JSStderrPrintStream_print($var29, $rt_s(469)); } $var8 = $this.$itemToRender; $var9 = 1.0; $var29 = $this.$mc8.$theWorld; var$13 = $var3.$posX; $var12 = var$13 | 0; if (var$13 < $var12) $var12 = $var12 - 1 | 0; var$13 = $var3.$posY; $var11 = var$13 | 0; if (var$13 < $var11) $var11 = $var11 - 1 | 0; var$13 = $var3.$posZ; $var24 = var$13 | 0; if (var$13 < $var24) $var24 = $var24 - 1 | 0; $var10 = 0; $var27 = nms_World_getSkyBlockTypeBrightness($var29, nms_EnumSkyBlock_Sky, $var12, $var11, $var24); $var24 = nms_World_getSkyBlockTypeBrightness($var29, nms_EnumSkyBlock_Block, $var12, $var11, $var24); if ($var24 >= $var10) $var10 = $var24; a: { $var10 = $var27 << 20 | $var10 << 4; $var11 = $var10 % 65536 | 0; $var12 = $var10 / 65536 | 0; $var10 = nms_OpenGlHelper_lightmapTexUnit; $var21 = $var11 / 1.0; $var23 = $var12 / 1.0; switch ($var10) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = $var21; nleg_EaglerAdapterGL30_tex1Y = $var23; break a; default: if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $var29 = jl_System_errCache; otcic_JSStderrPrintStream_print($var29, $rt_s(1433)); otcic_JSStderrPrintStream_print($var29, $rt_s(469)); break a; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = $var21; nleg_EaglerAdapterGL30_tex0Y = $var23; } $var27 = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorSerial = $var27; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; if ($var8 === null) { nleg_EaglerAdapterGL30_colorSerial = $var27 + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var9; nleg_EaglerAdapterGL30_colorG = $var9; nleg_EaglerAdapterGL30_colorB = $var9; nleg_EaglerAdapterGL30_colorA = 1.0; } else { nms_Item_$callClinit(); $var10 = nms_Item_itemsList.data[$var8.$itemID].$getColorFromItemStack($var8, 0); $var21 = ($var10 >> 16 & 255) / 255.0; $var23 = ($var10 >> 8 & 255) / 255.0; $var13 = ($var10 & 255) / 255.0; $var21 = $var9 * $var21; $var23 = $var9 * $var23; $var13 = $var9 * $var13; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var21; nleg_EaglerAdapterGL30_colorG = $var23; nleg_EaglerAdapterGL30_colorB = $var13; nleg_EaglerAdapterGL30_colorA = 1.0; } var$20 = nms_RenderManager_instance; $var25 = $this.$mc8.$thePlayer.constructor; if ($var25 === null) var$21 = null; else { var$21 = $var25.classObject; if (var$21 === null) { var$21 = new jl_Class; var$21.$platformClass = $var25; $var25.classObject = var$21; } } $var25 = var$20.$entityRenderMap; if (var$21 === null) { $var25 = $var25.$elementData.data[0]; while ($var25 !== null && $var25.$key !== null) { $var25 = $var25.$next3; } } else { $var27 = jl_Object_hashCode(var$21); var$22 = $var25.$elementData.data; $var25 = var$22[$var27 & (var$22.length - 1 | 0)]; while ($var25 !== null) { if ($var25.$origKeyHash == $var27) { $var29 = $var25.$key; if (var$21 !== $var29 && !jl_Object_equals(var$21, $var29) ? 0 : 1) break; } $var25 = $var25.$next3; } } $var25 = $var25 === null ? null : $var25.$value1; if ($var25 === null && var$21 !== $rt_cls(nms_Entity)) { $var29 = jl_Class_getSuperclass(var$21); $var25 = var$20.$entityRenderMap; if ($var29 === null) { $var25 = $var25.$elementData.data[0]; while ($var25 !== null && $var25.$key !== null) { $var25 = $var25.$next3; } } else { $var27 = jl_Object_hashCode($var29); var$22 = $var25.$elementData.data; $var25 = var$22[$var27 & (var$22.length - 1 | 0)]; while ($var25 !== null) { if ($var25.$origKeyHash == $var27) { $var22 = $var25.$key; if ($var29 !== $var22 && !jl_Object_equals($var29, $var22) ? 0 : 1) break; } $var25 = $var25.$next3; } } $var25 = $var25 === null ? null : $var25.$value1; if ($var25 === null && $var29 !== $rt_cls(nms_Entity)) { $var22 = jl_Class_getSuperclass($var29); $var25 = var$20.$entityRenderMap; if ($var22 === null) { $var25 = $var25.$elementData.data[0]; while ($var25 !== null && $var25.$key !== null) { $var25 = $var25.$next3; } } else { $var27 = jl_Object_hashCode($var22); var$22 = $var25.$elementData.data; $var25 = var$22[$var27 & (var$22.length - 1 | 0)]; while ($var25 !== null) { if ($var25.$origKeyHash == $var27) { $var28 = $var25.$key; if ($var22 !== $var28 && !jl_Object_equals($var22, $var28) ? 0 : 1) break; } $var25 = $var25.$next3; } } $var25 = $var25 === null ? null : $var25.$value1; if ($var25 === null && $var22 !== $rt_cls(nms_Entity)) { $var28 = jl_Class_getSuperclass($var22); $var25 = var$20.$entityRenderMap; if ($var28 === null) { $var25 = $var25.$elementData.data[0]; while ($var25 !== null && $var25.$key !== null) { $var25 = $var25.$next3; } } else { $var19 = $var28; if (!$var19.$id$) $var19.$id$ = $rt_nextId(); $var24 = $var28.$id$; var$22 = $var25.$elementData.data; $var25 = var$22[$var24 & (var$22.length - 1 | 0)]; while ($var25 !== null && !($var25.$origKeyHash == $var24 && ju_HashMap_areEqualKeys($var28, $var25.$key))) { $var25 = $var25.$next3; } } $var25 = $var25 === null ? null : $var25.$value1; if ($var25 === null && $var28 !== $rt_cls(nms_Entity)) { $var19 = jl_Class_getSuperclass($var28); $var25 = var$20.$entityRenderMap; if ($var19 === null) $var25 = ju_HashMap_findNullKeyEntry($var25); else { $var27 = jl_Object_hashCode($var19); $var25 = ju_HashMap_findNonNullKeyEntry($var25, $var19, $var27 & ($var25.$elementData.data.length - 1 | 0), $var27); } $var25 = $var25 === null ? null : $var25.$value1; if ($var25 === null && $var19 !== $rt_cls(nms_Entity)) { var$26 = jl_Class_getSuperclass($var19); $var25 = ju_HashMap_entryByKey(var$20.$entityRenderMap, var$26); $var25 = $var25 === null ? null : $var25.$value1; if ($var25 === null && var$26 !== $rt_cls(nms_Entity)) { var$27 = jl_Class_getSuperclass(var$26); $var25 = ju_HashMap_get(var$20.$entityRenderMap, var$27); if ($var25 === null && var$27 !== $rt_cls(nms_Entity)) { $var25 = nms_RenderManager_getEntityClassRenderObject(var$20, jl_Class_getSuperclass(var$27)); ju_HashMap_put(var$20.$entityRenderMap, var$27, $var25); } ju_HashMap_putImpl(var$20.$entityRenderMap, var$26, $var25); } ju_HashMap_putImpl(var$20.$entityRenderMap, $var19, $var25); } ju_HashMap_putImpl(var$20.$entityRenderMap, $var28, $var25); } ju_HashMap_putImpl(var$20.$entityRenderMap, $var22, $var25); } ju_HashMap_putImpl(var$20.$entityRenderMap, $var29, $var25); } ju_HashMap_putImpl(var$20.$entityRenderMap, var$21, $var25); } $var28 = $var25; if ($var8 !== null) { $var10 = $var8.$itemID; nms_Item_$callClinit(); if ($var10 == nms_Item_map.$itemID0) { nleg_EaglerAdapterGL30_glPushMatrix(); $var21 = $var3.$swingProgress; $var23 = $var3.$prevSwingProgress; $var21 = $var21 - $var23; if ($var21 < 0.0) $var21 = $var21 + 1.0; $var21_0 = $var23 + $var21 * $par1; $var21 = $var21_0 * 3.1415927410125732; $var23_0 = nms_MathHelper_SIN_TABLE.data[($var21 * 10430.3779296875 | 0) & 65535]; var$30 = $var21_0; $var21 = jl_Math_sqrt(var$30) * 3.1415927410125732; $var21 = -nms_MathHelper_SIN_TABLE.data[($var21 * 10430.3779296875 | 0) & 65535] * 0.4000000059604645; $var23 = jl_Math_sqrt(var$30) * 3.1415927410125732 * 2.0; $var23 = nms_MathHelper_SIN_TABLE.data[($var23 * 10430.3779296875 | 0) & 65535] * 0.20000000298023224; $var13 = -$var23_0 * 0.20000000298023224; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = $var21; $var25.$y = $var23; $var25.$z = $var13; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = 1.0 - $var4 / 45.0 + 0.10000000149011612; if ($var21 < 0.0) $var21 = 0.0; if ($var21 > 1.0) $var21 = 1.0; $var21 = $var21 * 3.1415927410125732; $var21 = -nms_MathHelper_SIN_TABLE.data[($var21 * 10430.3779296875 + 16384.0 | 0) & 65535] * 0.5 + 0.5; $var2 = 0.0 - (1.0 - $var2) * 1.2000000476837158 - $var21 * 0.5 + 0.03999999910593033; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = $var2; $var25.$z = (-0.7199999690055847); $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = 1.0; $var25.$z = 0.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); $var21_0 = 1.5707963705062866; nlegv_Matrix4f_rotate($var21_0, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = $var21 * (-85.0); $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = 0.0; $var25.$z = 1.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(32826); $ptr = 5; continue main; } } if ($var8 === null) { if (nms_Entity_getFlag($var3, 5)) { nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); return; } nleg_EaglerAdapterGL30_glPushMatrix(); $var21 = nms_EntityLivingBase_getSwingProgress($var3, $par1); $var23 = nms_MathHelper_sin($var21 * 3.1415927410125732); nleg_EaglerAdapterGL30_glTranslatef( -nms_MathHelper_sin(nms_MathHelper_sqrt_float($var21) * 3.1415927410125732) * 0.30000001192092896, nms_MathHelper_sin(nms_MathHelper_sqrt_float($var21) * 3.1415927410125732 * 2.0) * 0.4000000059604645, -$var23 * 0.4000000059604645); nleg_EaglerAdapterGL30_glTranslatef(0.64000004529953, (-0.6000000238418579) - (1.0 - $var2) * 0.6000000238418579, (-0.7199999690055847)); nleg_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); nleg_EaglerAdapterGL30_glEnable(32826); $par1 = nms_EntityLivingBase_getSwingProgress($var3, $par1); $var21 = nms_MathHelper_sin($par1 * $par1 * 3.1415927410125732); nleg_EaglerAdapterGL30_glRotatef(nms_MathHelper_sin(nms_MathHelper_sqrt_float($par1) * 3.1415927410125732) * 70.0, 0.0, 1.0, 0.0); nleg_EaglerAdapterGL30_glRotatef( -$var21 * 20.0, 0.0, 0.0, 1.0); $ptr = 1; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); if ($var3.$itemInUseCount <= 0) { $var21 = $var3.$swingProgress; $var23 = $var3.$prevSwingProgress; $var21 = $var21 - $var23; if ($var21 < 0.0) $var21 = $var21 + 1.0; $var21_0 = $var23 + $var21 * $par1; $var23 = $var21_0 * 3.1415927410125732; $var23 = nms_MathHelper_SIN_TABLE.data[($var23 * 10430.3779296875 | 0) & 65535]; var$30 = $var21_0; $var13 = jl_Math_sqrt(var$30) * 3.1415927410125732; $var13 = -nms_MathHelper_SIN_TABLE.data[($var13 * 10430.3779296875 | 0) & 65535] * 0.4000000059604645; $var4 = jl_Math_sqrt(var$30) * 3.1415927410125732 * 2.0; $var21 = nms_MathHelper_SIN_TABLE.data[($var4 * 10430.3779296875 | 0) & 65535] * 0.20000000298023224; $var23 = -$var23 * 0.20000000298023224; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = $var13; $var25.$y = $var21; $var25.$z = $var23; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { nms_Item_$callClinit(); $var22 = nms_Item_itemsList.data[$var8.$itemID].$getItemUseAction($var8); if (!($var22 !== nms_EnumAction_eat && $var22 !== nms_EnumAction_drink)) { $var23 = $var3.$itemInUseCount - $par1 + 1.0; $var13 = 1.0 - $var23 / nms_Item_itemsList.data[$var8.$itemID].$getMaxItemUseDuration($var8); $var14 = 1.0 - $var13; $var21 = $var14 * $var14 * $var14; $var21 = $var21 * $var21 * $var21; $var15 = 1.0 - $var21 * $var21 * $var21; $var23 = $var23 / 4.0 * 3.1415927410125732; $var23 = nms_MathHelper_SIN_TABLE.data[($var23 * 10430.3779296875 + 16384.0 | 0) & 65535] * 0.10000000149011612; if ($var23 < 0.0) $var23 = -$var23; $var21 = $var23 * ($var13 <= 0.2 ? 0 : 1); $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = $var21; $var25.$z = 0.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = $var15 * 0.6000000238418579; $var23 = -$var15 * 0.5; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = $var21; $var25.$y = $var23; $var25.$z = 0.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glRotatef($var15 * 90.0, 0.0, 1.0, 0.0); nleg_EaglerAdapterGL30_glRotatef($var15 * 10.0, 1.0, 0.0, 0.0); nleg_EaglerAdapterGL30_glRotatef($var15 * 30.0, 0.0, 0.0, 1.0); } } nleg_EaglerAdapterGL30_glTranslatef(0.5600000023841858, (-0.5199999809265137) - (1.0 - $var2) * 0.6000000238418579, (-0.7199999690055847)); nleg_EaglerAdapterGL30_glRotatef(45.0, 0.0, 1.0, 0.0); nleg_EaglerAdapterGL30_glEnable(32826); $var21 = nms_EntityLivingBase_getSwingProgress($var3, $par1); $var23 = nms_MathHelper_sin($var21 * $var21 * 3.1415927410125732); $var13 = nms_MathHelper_sin(jl_Math_sqrt($var21) * 3.1415927410125732); nleg_EaglerAdapterGL30_glRotatef( -$var23 * 20.0, 0.0, 1.0, 0.0); $var21 = -$var13; nleg_EaglerAdapterGL30_glRotatef($var21 * 20.0, 0.0, 0.0, 1.0); nleg_EaglerAdapterGL30_glRotatef($var21 * 80.0, 1.0, 0.0, 0.0); nleg_EaglerAdapterGL30_glScalef(0.4000000059604645, 0.4000000059604645, 0.4000000059604645); if ($var3.$itemInUseCount > 0) { $var25 = nms_ItemStack_getItemUseAction($var8); if ($var25 === nms_EnumAction_block) { nleg_EaglerAdapterGL30_glTranslatef((-0.5), 0.20000000298023224, 0.0); nleg_EaglerAdapterGL30_glRotatef(30.0, 0.0, 1.0, 0.0); nleg_EaglerAdapterGL30_glRotatef((-80.0), 1.0, 0.0, 0.0); nleg_EaglerAdapterGL30_glRotatef(60.0, 0.0, 1.0, 0.0); } else if ($var25 === nms_EnumAction_bow) { nleg_EaglerAdapterGL30_glRotatef((-18.0), 0.0, 0.0, 1.0); nleg_EaglerAdapterGL30_glRotatef((-12.0), 0.0, 1.0, 0.0); nleg_EaglerAdapterGL30_glRotatef((-8.0), 1.0, 0.0, 0.0); nleg_EaglerAdapterGL30_glTranslatef((-0.8999999761581421), 0.20000000298023224, 0.0); $var16 = nms_ItemStack_getMaxItemUseDuration($var8) - (nms_EntityPlayer_getItemInUseCount($var3) - $par1 + 1.0); $var17 = $var16 / 20.0; $par1 = ($var17 * $var17 + $var17 * 2.0) / 3.0; if ($par1 > 1.0) $par1 = 1.0; if ($par1 > 0.10000000149011612) nleg_EaglerAdapterGL30_glTranslatef(0.0, nms_MathHelper_sin(($var16 - 0.10000000149011612) * 1.2999999523162842) * 0.009999999776482582 * ($par1 - 0.10000000149011612), 0.0); nleg_EaglerAdapterGL30_glTranslatef(0.0, 0.0, $par1 * 0.10000000149011612); nleg_EaglerAdapterGL30_glRotatef((-335.0), 0.0, 0.0, 1.0); nleg_EaglerAdapterGL30_glRotatef((-50.0), 0.0, 1.0, 0.0); nleg_EaglerAdapterGL30_glTranslatef(0.0, 0.5, 0.0); nleg_EaglerAdapterGL30_glScalef(1.0, 1.0, 1.0 + $par1 * 0.20000000298023224); nleg_EaglerAdapterGL30_glTranslatef(0.0, (-0.5), 0.0); nleg_EaglerAdapterGL30_glRotatef(50.0, 0.0, 1.0, 0.0); nleg_EaglerAdapterGL30_glRotatef(335.0, 0.0, 0.0, 1.0); } } if ((nms_ItemStack_getItem($var8)).$shouldRotateAroundWhenRendering()) nleg_EaglerAdapterGL30_glRotatef(180.0, 0.0, 1.0, 0.0); if (!(nms_ItemStack_getItem($var8)).$requiresMultipleRenderPasses()) { $var10 = 0; $ptr = 2; continue main; } $var10 = 0; $ptr = 3; continue main; case 1: nms_RenderPlayer_bindTexture($var28, $var3); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glTranslatef((-1.0), 3.5999999046325684, 3.5); nleg_EaglerAdapterGL30_glRotatef(120.0, 0.0, 0.0, 1.0); nleg_EaglerAdapterGL30_glRotatef(200.0, 1.0, 0.0, 0.0); nleg_EaglerAdapterGL30_glRotatef((-135.0), 0.0, 1.0, 0.0); nleg_EaglerAdapterGL30_glScalef(1.0, 1.0, 1.0); nleg_EaglerAdapterGL30_glTranslatef(5.599999904632568, 0.0, 0.0); $var25 = nms_RenderManager_getEntityRenderObject(nms_RenderManager_instance, $this.$mc8.$thePlayer); nleg_EaglerAdapterGL30_glScalef(1.0, 1.0, 1.0); nms_RenderPlayer_renderFirstPersonArm($var25, $this.$mc8.$thePlayer); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); return; case 2: nms_ItemRenderer_renderItem($this, $var3, $var8, $var10); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); return; case 3: nms_ItemRenderer_renderItem($this, $var3, $var8, $var10); if ($rt_suspending()) { break main; } $var27 = nms_Item_itemsList.data[$var8.$itemID].$getColorFromItemStack($var8, 1); $var16 = ($var27 >> 16 & 255) / 255.0; $var17 = ($var27 >> 8 & 255) / 255.0; $var18 = ($var27 & 255) / 255.0; nleg_EaglerAdapterGL30_glColor4f($var9 * $var16, $var9 * $var17, $var9 * $var18, 1.0); $var10 = 1; $ptr = 4; case 4: nms_ItemRenderer_renderItem($this, $var3, $var8, $var10); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); return; case 5: nms_RenderPlayer_bindTexture($var28, $var3); if ($rt_suspending()) { break main; } $var10 = 0; while ($var10 < 2) { $var24 = ($var10 * 2 | 0) - 1 | 0; nleg_EaglerAdapterGL30_glPushMatrix(); $var23 = 1.100000023841858 * $var24; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = (-0.6000000238418579); $var25.$z = $var23; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = (-45) * $var24 | 0; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 1.0; $var25.$y = 0.0; $var25.$z = 0.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = 0.0; $var25.$z = 1.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = 0.0; $var25.$z = 1.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.029744267463684, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = (-65) * $var24 | 0; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = 1.0; $var25.$z = 0.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var25 = nms_RenderManager_instance; $var29 = $this.$mc8.$thePlayer.constructor; if ($var29 !== null) { var$36 = $var29.classObject; if (var$36 === null) { var$36 = new jl_Class; var$36.$platformClass = $var29; $var29.classObject = var$36; } } else var$36 = null; $var29 = $var25.$entityRenderMap; if (var$36 === null) { $var29 = $var29.$elementData.data[0]; while ($var29 !== null && $var29.$key !== null) { $var29 = $var29.$next3; } } else { var$21 = var$36; if (!var$21.$id$) var$21.$id$ = $rt_nextId(); $var11 = var$36.$id$; var$22 = $var29.$elementData.data; $var29 = var$22[$var11 & (var$22.length - 1 | 0)]; while ($var29 !== null) { if ($var29.$origKeyHash == $var11) { var$21 = $var29.$key; if (var$36 !== var$21 && !(var$36 !== var$21 ? 0 : 1) ? 0 : 1) break; } $var29 = $var29.$next3; } } $var29 = $var29 === null ? null : $var29.$value1; if ($var29 === null && var$36 !== $rt_cls(nms_Entity)) { var$21 = jl_Class_getSuperclass(var$36); $var29 = $var25.$entityRenderMap; if (var$21 === null) { $var29 = $var29.$elementData.data[0]; while ($var29 !== null && $var29.$key !== null) { $var29 = $var29.$next3; } } else { var$20 = var$21; if (!var$20.$id$) var$20.$id$ = $rt_nextId(); $var11 = var$21.$id$; var$22 = $var29.$elementData.data; $var29 = var$22[$var11 & (var$22.length - 1 | 0)]; while ($var29 !== null) { if ($var29.$origKeyHash == $var11) { var$20 = $var29.$key; if (var$21 !== var$20 && !(var$21 !== var$20 ? 0 : 1) ? 0 : 1) break; } $var29 = $var29.$next3; } } $var29 = $var29 === null ? null : $var29.$value1; if ($var29 === null && var$21 !== $rt_cls(nms_Entity)) { var$20 = jl_Class_getSuperclass(var$21); $var29 = $var25.$entityRenderMap; if (var$20 === null) { $var29 = $var29.$elementData.data[0]; while ($var29 !== null && $var29.$key !== null) { $var29 = $var29.$next3; } } else { var$37 = var$20; if (!var$37.$id$) var$37.$id$ = $rt_nextId(); $var11 = var$20.$id$; var$22 = $var29.$elementData.data; $var29 = var$22[$var11 & (var$22.length - 1 | 0)]; while ($var29 !== null) { if ($var29.$origKeyHash == $var11) { var$37 = $var29.$key; if (var$20 !== var$37 && !jl_Object_equals(var$20, var$37) ? 0 : 1) break; } $var29 = $var29.$next3; } } $var29 = $var29 === null ? null : $var29.$value1; if ($var29 === null && var$20 !== $rt_cls(nms_Entity)) { var$37 = jl_Class_getSuperclass(var$20); $var29 = $var25.$entityRenderMap; if (var$37 === null) { $var29 = $var29.$elementData.data[0]; while ($var29 !== null && $var29.$key !== null) { $var29 = $var29.$next3; } } else { var$38 = var$37; if (!var$38.$id$) var$38.$id$ = $rt_nextId(); $var11 = var$37.$id$; var$22 = $var29.$elementData.data; $var29 = var$22[$var11 & (var$22.length - 1 | 0)]; while ($var29 !== null && !($var29.$origKeyHash == $var11 && ju_HashMap_areEqualKeys(var$37, $var29.$key))) { $var29 = $var29.$next3; } } $var29 = $var29 === null ? null : $var29.$value1; if ($var29 === null && var$37 !== $rt_cls(nms_Entity)) { var$38 = jl_Class_getSuperclass(var$37); $var29 = $var25.$entityRenderMap; if (var$38 === null) $var29 = ju_HashMap_findNullKeyEntry($var29); else { $var24 = jl_Object_hashCode(var$38); $var29 = ju_HashMap_findNonNullKeyEntry($var29, var$38, $var24 & ($var29.$elementData.data.length - 1 | 0), $var24); } $var29 = $var29 === null ? null : $var29.$value1; if ($var29 === null && var$38 !== $rt_cls(nms_Entity)) { var$39 = jl_Class_getSuperclass(var$38); $var29 = ju_HashMap_entryByKey($var25.$entityRenderMap, var$39); $var29 = $var29 === null ? null : $var29.$value1; if ($var29 === null && var$39 !== $rt_cls(nms_Entity)) { var$40 = jl_Class_getSuperclass(var$39); $var29 = ju_HashMap_get($var25.$entityRenderMap, var$40); if ($var29 === null && var$40 !== $rt_cls(nms_Entity)) { $var29 = nms_RenderManager_getEntityClassRenderObject($var25, jl_Class_getSuperclass(var$40)); ju_HashMap_put($var25.$entityRenderMap, var$40, $var29); } ju_HashMap_putImpl($var25.$entityRenderMap, var$39, $var29); } ju_HashMap_putImpl($var25.$entityRenderMap, var$38, $var29); } ju_HashMap_putImpl($var25.$entityRenderMap, var$37, $var29); } ju_HashMap_putImpl($var25.$entityRenderMap, var$20, $var29); } ju_HashMap_putImpl($var25.$entityRenderMap, var$21, $var29); } ju_HashMap_putImpl($var25.$entityRenderMap, var$36, $var29); } $var25 = $var29; $var29 = nleg_EaglerAdapterGL30_deevis; $var29.$x = 1.0; $var29.$y = 1.0; $var29.$z = 1.0; $var29 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var29, $var29); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var29 = new otcic_JSStderrPrintStream; var$21 = new ji_ByteArrayOutputStream; var$21.$buf = $rt_createByteArray(32); $var29.$out0 = var$21; var$21 = new jl_StringBuilder; var$21.$buffer = $rt_createCharArray(16); $var29.$sb = var$21; $var29.$buffer0 = $rt_createCharArray(32); $var29.$autoFlush = 0; $var29.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var29; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var29 = $this.$mc8.$thePlayer; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; var$21 = $var25.$modelBipedMain; var$21.$onGround1 = 0.0; var$21.$setRotationAngles(0.0, 0.0, 0.0, 0.0, 0.0, 0.0625, $var29); nms_ModelRenderer_render($var25.$modelBipedMain.$bipedRightArm, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); $var10 = $var10 + 1 | 0; } $var21 = $var3.$swingProgress; $var2 = $var3.$prevSwingProgress; $var21 = $var21 - $var2; if ($var21 < 0.0) $var21 = $var21 + 1.0; $var23 = $var2 + $var21 * $par1; $par1 = $var23 * $var23 * 3.1415927410125732; $var2 = nms_MathHelper_SIN_TABLE.data[($par1 * 10430.3779296875 | 0) & 65535]; $par1 = jl_Math_sqrt($var23) * 3.1415927410125732; $var14 = nms_MathHelper_SIN_TABLE.data[($par1 * 10430.3779296875 | 0) & 65535]; $par1 = -$var2 * 20.0; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = 1.0; $var25.$z = 0.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1 = -$var14; $var21 = $par1 * 20.0; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = 0.0; $var25.$z = 1.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1 = $par1 * 80.0; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 1.0; $var25.$y = 0.0; $var25.$z = 0.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.3799999952316284; $var25.$y = 0.3799999952316284; $var25.$z = 0.3799999952316284; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = 1.0; $var25.$z = 0.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21_0, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.0; $var25.$y = 0.0; $var25.$z = 1.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = (-1.0); $var25.$y = (-1.0); $var25.$z = 0.0; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = 0.015625; $var25.$y = 0.015625; $var25.$z = 0.015625; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; $var29 = new ji_ByteArrayOutputStream; $var29.$buf = $rt_createByteArray(32); $var25.$out0 = $var29; $var29 = new jl_StringBuilder; $var29.$buffer = $rt_createCharArray(16); $var25.$sb = $var29; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ItemRenderer_$callClinit(); $var25 = nms_ItemRenderer_RES_MAP_BACKGROUND; $ptr = 6; case 6: nle_TextureLocation_bindTexture($var25); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var29 = nlea_Tessellator_instance; nleg_EaglerAdapterGL30_normalSerial = nleg_EaglerAdapterGL30_normalSerial + 1 | 0; $var2 = jl_Math_sqrt(1.0); $par1 = 0.0 / $var2; nleg_EaglerAdapterGL30_normalX = $par1; nleg_EaglerAdapterGL30_normalY = $par1; nleg_EaglerAdapterGL30_normalZ = (-1.0) / $var2; if ($var29.$isDrawing) nlea_Tessellator_draw($var29); $var29.$isDrawing = 1; $var29.$vertexCount = 0; $var29.$rawBufferIndex = 0; $var29.$addedVertices = 0; $var29.$drawMode = 7; $var29.$hasNormals = 0; $var29.$hasColor = 0; $var29.$hasTexture = 0; $var29.$hasBrightness = 0; $var29.$isColorDisabled = 0; $var29.$hasTexture = 1; $var29.$textureU = 0.0; $var29.$textureV = 1.0; nlea_Tessellator_addVertex($var29, (-7.0), 135.0, 0.0); $var29.$hasTexture = 1; $var29.$textureU = 1.0; $var29.$textureV = 1.0; nlea_Tessellator_addVertex($var29, 135.0, 135.0, 0.0); $var29.$hasTexture = 1; $var29.$textureU = 1.0; $var29.$textureV = 0.0; nlea_Tessellator_addVertex($var29, 135.0, (-7.0), 0.0); $var29.$hasTexture = 1; $var29.$textureU = 0.0; $var29.$textureV = 0.0; nlea_Tessellator_addVertex($var29, (-7.0), (-7.0), 0.0); nlea_Tessellator_draw($var29); $var19 = nms_ItemMap_getMapData(nms_Item_map, $var8, $this.$mc8.$theWorld); if ($var19 === null) { nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); return; } $var25 = $this.$mapItemRenderer; $var29 = $this.$mc8; $var22 = $var29.$thePlayer; $var29 = $var29.$renderEngine; $ptr = 7; case 7: nms_MapItemRenderer_renderMap($var25, $var22, $var29, $var19); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var21, $var2, $var3, $var4, $var25, $var29, $var23, $var6, $var7, $var8, $var9, var$13, $var12, $var11, $var24, $var10, $var27, $var13, var$20, var$21, var$22, $var22, $var28, $var19, var$26, var$27, $var21_0, $var23_0, var$30, $var14, $var15, $var16, $var17, $var18, var$36, var$37, var$38, var$39, var$40, $ptr); }, nms_ItemRenderer_renderOverlays = ($this, $par1) => { let var$2, $var5, var$4, var$5, $var2, var$7, $var3, $var4, $var6, var$11, var$12, var$13, $var7, $var9, $var8, var$17, $var10, $var11, $var12, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$17 = $thread.pop();$var8 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$7 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var5 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { b: { nleg_EaglerAdapterGL30_glDisable(3008); var$2 = $this.$mc8.$thePlayer; if (!var$2.$isImmuneToFire) { if (var$2.$fire > 0) break b; if (nms_Entity_getFlag(var$2, 0)) break b; } $var5 = 0; break a; } $var5 = 1; } if ($var5) { nms_ItemRenderer_$callClinit(); var$2 = nms_ItemRenderer_terrain; $ptr = 1; continue main; } var$2 = $this.$mc8.$thePlayer; if (!var$2.$sleeping && nms_Entity_isEntityInsideOpaqueBlock(var$2) ? 1 : 0) { var$2 = $this.$mc8; var$4 = var$2.$thePlayer; var$5 = var$4.$posX; $var2 = var$5 | 0; if (var$5 < $var2) $var2 = $var2 - 1 | 0; var$7 = var$4.$posY; $var3 = var$7 | 0; if (var$7 < $var3) $var3 = $var3 - 1 | 0; var$7 = var$4.$posZ; $var4 = var$7 | 0; if (var$7 < $var4) $var4 = $var4 - 1 | 0; $var5 = nms_World_getBlockId(var$2.$theWorld, $var2, $var3, $var4); if (nms_World_isBlockNormalCube($this.$mc8.$theWorld, $var2, $var3, $var4)) { nms_Block_$callClinit(); var$2 = nms_Block_blocksList.data[$var5].$getIcon(2, 0); $ptr = 3; continue main; } $var6 = 0; var$11 = $var2; var$12 = $var3; var$13 = $var4; while ($var6 < 8) { $var7 = (($var6 >> 0) % 2 | 0) - 0.5; var$2 = $this.$mc8; var$4 = var$2.$thePlayer; $var9 = var$4.$width1; $var7 = $var7 * $var9 * 0.8999999761581421; $var8 = ((($var6 >> 1) % 2 | 0) - 0.5) * var$4.$height2 * 0.20000000298023224; $var9 = ((($var6 >> 2) % 2 | 0) - 0.5) * $var9 * 0.8999999761581421; var$17 = var$11 + $var7; $var10 = var$17 | 0; if (var$17 < $var10) $var10 = $var10 - 1 | 0; $var7 = var$12 + $var8; $var11 = $var7 | 0; if ($var7 < $var11) $var11 = $var11 - 1 | 0; $var7 = var$13 + $var9; $var12 = $var7 | 0; if ($var7 < $var12) $var12 = $var12 - 1 | 0; if (nms_World_isBlockNormalCube(var$2.$theWorld, $var10, $var11, $var12)) $var5 = nms_World_getBlockId($this.$mc8.$theWorld, $var10, $var11, $var12); $var6 = $var6 + 1 | 0; } nms_Block_$callClinit(); var$21 = nms_Block_blocksList.data; if (var$21[$var5] !== null) { var$2 = var$21[$var5].$getIcon(2, 0); $ptr = 4; continue main; } } var$4 = $this.$mc8.$thePlayer; nms_Material_$callClinit(); if (!nms_Entity_isInsideOfMaterial(var$4, nms_Material_water)) { nleg_EaglerAdapterGL30_glEnable(3008); return; } $ptr = 2; continue main; case 1: nle_TextureLocation_bindTexture(var$2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9728); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9728); nms_ItemRenderer_renderFireInFirstPerson($this, $par1); var$2 = $this.$mc8.$thePlayer; if (!var$2.$sleeping && nms_Entity_isEntityInsideOpaqueBlock(var$2) ? 1 : 0) { var$2 = $this.$mc8; var$4 = var$2.$thePlayer; var$5 = var$4.$posX; $var2 = var$5 | 0; if (var$5 < $var2) $var2 = $var2 - 1 | 0; var$7 = var$4.$posY; $var3 = var$7 | 0; if (var$7 < $var3) $var3 = $var3 - 1 | 0; var$7 = var$4.$posZ; $var4 = var$7 | 0; if (var$7 < $var4) $var4 = $var4 - 1 | 0; $var5 = nms_World_getBlockId(var$2.$theWorld, $var2, $var3, $var4); if (nms_World_isBlockNormalCube($this.$mc8.$theWorld, $var2, $var3, $var4)) { nms_Block_$callClinit(); var$2 = nms_Block_blocksList.data[$var5].$getIcon(2, 0); $ptr = 3; continue main; } $var6 = 0; var$11 = $var2; var$12 = $var3; var$13 = $var4; while ($var6 < 8) { $var7 = (($var6 >> 0) % 2 | 0) - 0.5; var$2 = $this.$mc8; var$4 = var$2.$thePlayer; $var9 = var$4.$width1; $var7 = $var7 * $var9 * 0.8999999761581421; $var8 = ((($var6 >> 1) % 2 | 0) - 0.5) * var$4.$height2 * 0.20000000298023224; $var9 = ((($var6 >> 2) % 2 | 0) - 0.5) * $var9 * 0.8999999761581421; var$17 = var$11 + $var7; $var10 = var$17 | 0; if (var$17 < $var10) $var10 = $var10 - 1 | 0; $var7 = var$12 + $var8; $var11 = $var7 | 0; if ($var7 < $var11) $var11 = $var11 - 1 | 0; $var7 = var$13 + $var9; $var12 = $var7 | 0; if ($var7 < $var12) $var12 = $var12 - 1 | 0; if (nms_World_isBlockNormalCube(var$2.$theWorld, $var10, $var11, $var12)) $var5 = nms_World_getBlockId($this.$mc8.$theWorld, $var10, $var11, $var12); $var6 = $var6 + 1 | 0; } nms_Block_$callClinit(); var$21 = nms_Block_blocksList.data; if (var$21[$var5] !== null) { var$2 = var$21[$var5].$getIcon(2, 0); $ptr = 4; continue main; } } var$4 = $this.$mc8.$thePlayer; nms_Material_$callClinit(); if (!nms_Entity_isInsideOfMaterial(var$4, nms_Material_water)) { nleg_EaglerAdapterGL30_glEnable(3008); return; } $ptr = 2; case 2: nms_ItemRenderer_renderWarpedTextureOverlay($this, $par1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3008); return; case 3: nms_ItemRenderer_renderInsideOfBlock($this, $par1, var$2); if ($rt_suspending()) { break main; } nms_Block_$callClinit(); var$21 = nms_Block_blocksList.data; if (var$21[$var5] !== null) { var$2 = var$21[$var5].$getIcon(2, 0); $ptr = 4; continue main; } var$4 = $this.$mc8.$thePlayer; nms_Material_$callClinit(); if (!nms_Entity_isInsideOfMaterial(var$4, nms_Material_water)) { nleg_EaglerAdapterGL30_glEnable(3008); return; } $ptr = 2; continue main; case 4: nms_ItemRenderer_renderInsideOfBlock($this, $par1, var$2); if ($rt_suspending()) { break main; } var$4 = $this.$mc8.$thePlayer; nms_Material_$callClinit(); if (!nms_Entity_isInsideOfMaterial(var$4, nms_Material_water)) { nleg_EaglerAdapterGL30_glEnable(3008); return; } $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, $var5, var$4, var$5, $var2, var$7, $var3, $var4, $var6, var$11, var$12, var$13, $var7, $var9, $var8, var$17, $var10, $var11, $var12, var$21, $ptr); }, nms_ItemRenderer_renderInsideOfBlock = ($this, $par1, $par2Icon) => { let $var3, $var10, $var11, $var12, $var13, var$8, var$9, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var3 = $thread.pop();$par2Icon = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_TextureMap_$callClinit(); $var3 = nms_TextureMap_locationBlocksTexture; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var3); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var3 = nlea_Tessellator_instance; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 0.10000000149011612; nleg_EaglerAdapterGL30_colorG = 0.10000000149011612; nleg_EaglerAdapterGL30_colorB = 0.10000000149011612; nleg_EaglerAdapterGL30_colorA = 0.5; nleg_EaglerAdapterGL30_glPushMatrix(); $var10 = $par2Icon.$getMinU(); $var11 = $par2Icon.$getMaxU(); $var12 = $par2Icon.$getMinV(); $var13 = $par2Icon.$getMaxV(); if ($var3.$isDrawing) nlea_Tessellator_draw($var3); $var3.$isDrawing = 1; $var3.$vertexCount = 0; $var3.$rawBufferIndex = 0; $var3.$addedVertices = 0; $var3.$drawMode = 7; $var3.$hasNormals = 0; $var3.$hasColor = 0; $var3.$hasTexture = 0; $var3.$hasBrightness = 0; $var3.$isColorDisabled = 0; var$8 = $var11; var$9 = $var13; $var3.$hasTexture = 1; $var4 = var$8; $var3.$textureU = $var4; $var11 = var$9; $var3.$textureV = $var11; nlea_Tessellator_addVertex($var3, (-1.0), (-1.0), (-0.5)); var$9 = $var10; $var3.$hasTexture = 1; $par1 = var$9; $var3.$textureU = $par1; $var3.$textureV = $var11; nlea_Tessellator_addVertex($var3, 1.0, (-1.0), (-0.5)); var$9 = $var12; $var3.$hasTexture = 1; $var3.$textureU = $par1; $par1 = var$9; $var3.$textureV = $par1; nlea_Tessellator_addVertex($var3, 1.0, 1.0, (-0.5)); $var3.$hasTexture = 1; $var3.$textureU = $var4; $var3.$textureV = $par1; nlea_Tessellator_addVertex($var3, (-1.0), 1.0, (-0.5)); nlea_Tessellator_draw($var3); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2Icon, $var3, $var10, $var11, $var12, $var13, var$8, var$9, $var4, $ptr); }, nms_ItemRenderer_renderWarpedTextureOverlay = ($this, $par1) => { let $var2, $var3, var$4, $var10, $var11, var$7, var$8, $var4, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();$var4 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_ItemRenderer_$callClinit(); $var2 = nms_ItemRenderer_RES_UNDERWATER_OVERLAY; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var2); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var2 = nlea_Tessellator_instance; $var3 = nms_Entity_getBrightness($this.$mc8.$thePlayer, $par1); nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var3; nleg_EaglerAdapterGL30_colorG = $var3; nleg_EaglerAdapterGL30_colorB = $var3; nleg_EaglerAdapterGL30_colorA = 0.5; nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glPushMatrix(); var$4 = $this.$mc8.$thePlayer; $var10 = -var$4.$rotationYaw / 64.0; $var11 = var$4.$rotationPitch / 64.0; if ($var2.$isDrawing) nlea_Tessellator_draw($var2); $var2.$isDrawing = 1; $var2.$vertexCount = 0; $var2.$rawBufferIndex = 0; $var2.$addedVertices = 0; $var2.$drawMode = 7; $var2.$hasNormals = 0; $var2.$hasColor = 0; $var2.$hasTexture = 0; $var2.$hasBrightness = 0; $var2.$isColorDisabled = 0; var$7 = 4.0 + $var10; var$8 = 4.0 + $var11; $var2.$hasTexture = 1; $var4 = var$7; $var2.$textureU = $var4; var$10 = var$8; $var2.$textureV = var$10; nlea_Tessellator_addVertex($var2, (-1.0), (-1.0), (-0.5)); var$7 = 0.0 + $var10; $var2.$hasTexture = 1; $var3 = var$7; $var2.$textureU = $var3; $var2.$textureV = var$10; nlea_Tessellator_addVertex($var2, 1.0, (-1.0), (-0.5)); var$7 = 0.0 + $var11; $var2.$hasTexture = 1; $var2.$textureU = $var3; $par1 = var$7; $var2.$textureV = $par1; nlea_Tessellator_addVertex($var2, 1.0, 1.0, (-0.5)); $var2.$hasTexture = 1; $var2.$textureU = $var4; $var2.$textureV = $par1; nlea_Tessellator_addVertex($var2, (-1.0), 1.0, (-0.5)); nlea_Tessellator_draw($var2); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(3042); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var2, $var3, var$4, $var10, $var11, var$7, var$8, $var4, var$10, $ptr); }, nms_ItemRenderer_renderFireInFirstPerson = ($this, $par1) => { let $var2, $var4, $var5, $var6, $var7, $var8, $var9, var$9, var$10, var$11, var$12, var$13, var$14; nlea_Tessellator_$callClinit(); $var2 = nlea_Tessellator_instance; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 0.8999999761581421; nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $var4 = 0; while ($var4 < 2) { nleg_EaglerAdapterGL30_glPushMatrix(); nms_Block_$callClinit(); $var5 = nms_Block_fire.$iconArray2.data[1]; $var6 = $var5.$getMinU(); $var7 = $var5.$getMaxU(); $var8 = $var5.$getMinV(); $var9 = $var5.$getMaxV(); var$9 = ($var4 * 2 | 0) - 1 | 0; $par1 = ( -var$9 | 0) * 0.23999999463558197; $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = $par1; $var5.$y = (-0.30000001192092896); $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); $var5.$out0 = var$10; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); $var5.$sb = var$10; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1 = var$9 * 10.0; $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); $var5.$out0 = var$10; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); $var5.$sb = var$10; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($var2.$isDrawing) nlea_Tessellator_draw($var2); $var2.$isDrawing = 1; $var2.$vertexCount = 0; $var2.$rawBufferIndex = 0; $var2.$addedVertices = 0; $var2.$drawMode = 7; $var2.$hasNormals = 0; $var2.$hasColor = 0; $var2.$hasTexture = 0; $var2.$hasBrightness = 0; $var2.$isColorDisabled = 0; var$11 = $var7; var$12 = $var9; $var2.$hasTexture = 1; var$13 = var$11; $var2.$textureU = var$13; var$14 = var$12; $var2.$textureV = var$14; nlea_Tessellator_addVertex($var2, (-0.5), (-0.5), (-0.5)); var$12 = $var6; $var2.$hasTexture = 1; $par1 = var$12; $var2.$textureU = $par1; $var2.$textureV = var$14; nlea_Tessellator_addVertex($var2, 0.5, (-0.5), (-0.5)); var$12 = $var8; $var2.$hasTexture = 1; $var2.$textureU = $par1; $par1 = var$12; $var2.$textureV = $par1; nlea_Tessellator_addVertex($var2, 0.5, 0.5, (-0.5)); $var2.$hasTexture = 1; $var2.$textureU = var$13; $var2.$textureV = $par1; nlea_Tessellator_addVertex($var2, (-0.5), 0.5, (-0.5)); nlea_Tessellator_draw($var2); nleg_EaglerAdapterGL30_glPopMatrix(); $var4 = $var4 + 1 | 0; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(3042); }, nms_ItemRenderer_updateEquippedItem = $this => { let var$1, $var1, var$3, $var2, $var3, $var4, $var6, $var5; var$1 = $this.$equippedProgress; $this.$prevEquippedProgress = var$1; $var1 = $this.$mc8.$thePlayer.$inventory; var$3 = $var1.$currentItem; $var2 = var$3 < 9 && var$3 >= 0 ? $var1.$mainInventory.data[var$3] : null; $var3 = $this.$equippedItemSlot == var$3 && $var2 === $this.$itemToRender ? 1 : 0; $var1 = $this.$itemToRender; if ($var1 === null && $var2 === null) $var3 = 1; if ($var2 !== null && $var1 !== null && $var2 !== $var1 && $var2.$itemID == $var1.$itemID && $var2.$itemDamage == $var1.$itemDamage) { $this.$itemToRender = $var2; $var3 = 1; } $var4 = 0.4000000059604645; $var6 = (!$var3 ? 0.0 : 1.0) - var$1; $var5 = (-0.4000000059604645); if ($var6 >= $var5) $var5 = $var6; if ($var5 <= $var4) $var4 = $var5; var$1 = var$1 + $var4; $this.$equippedProgress = var$1; if (var$1 < 0.10000000149011612) { $this.$itemToRender = $var2; $this.$equippedItemSlot = var$3; } }, nms_ItemRenderer__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1434); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_ItemRenderer_RES_ITEM_GLINT = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1435); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_ItemRenderer_RES_MAP_BACKGROUND = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1436); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_ItemRenderer_RES_UNDERWATER_OVERLAY = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1180); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_ItemRenderer_terrain = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1181); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_ItemRenderer_items = var$1; }, nms_AchievementList = $rt_classWithoutFields(), nms_AchievementList_minDisplayColumn = 0, nms_AchievementList_minDisplayRow = 0, nms_AchievementList_maxDisplayColumn = 0, nms_AchievementList_maxDisplayRow = 0, nms_AchievementList_achievementList = null, nms_AchievementList_openInventory = null, nms_AchievementList_mineWood = null, nms_AchievementList_buildWorkBench = null, nms_AchievementList_buildPickaxe = null, nms_AchievementList_buildFurnace = null, nms_AchievementList_acquireIron = null, nms_AchievementList_buildHoe = null, nms_AchievementList_makeBread = null, nms_AchievementList_bakeCake = null, nms_AchievementList_buildBetterPickaxe = null, nms_AchievementList_cookFish = null, nms_AchievementList_onARail = null, nms_AchievementList_buildSword = null, nms_AchievementList_killEnemy = null, nms_AchievementList_killCow = null, nms_AchievementList_flyPig = null, nms_AchievementList_snipeSkeleton = null, nms_AchievementList_diamonds = null, nms_AchievementList_portal = null, nms_AchievementList_ghast = null, nms_AchievementList_blazeRod = null, nms_AchievementList_potion = null, nms_AchievementList_theEnd = null, nms_AchievementList_theEnd2 = null, nms_AchievementList_enchantments = null, nms_AchievementList_overkill = null, nms_AchievementList_bookcase = null, nms_AchievementList_$callClinit = () => { nms_AchievementList_$callClinit = $rt_eraseClinit(nms_AchievementList); nms_AchievementList__clinit_(); }, nms_AchievementList__init_ = $this => { nms_AchievementList_$callClinit(); }; let nms_AchievementList__init_0 = () => { let var_0 = new nms_AchievementList(); nms_AchievementList__init_(var_0); return var_0; }, nms_AchievementList__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_AchievementList_achievementList = var$1; var$2 = new nms_Achievement; nms_Item_$callClinit(); var$3 = nms_Item_book; var$4 = null; var$5 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$5.$itemID = var$3.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$2, 0, $rt_s(1437), 0, 0, var$5, var$4); var$2.$isIndependent = 1; nms_StatBase_registerStat(var$2); nms_AchievementList_$callClinit(); var$1 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; nms_AchievementList_openInventory = var$2; var$1 = new nms_Achievement; nms_Block_$callClinit(); var$4 = nms_Block_wood; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$blockID; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 1, $rt_s(1438), 2, 1, var$5, var$2); nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_mineWood = var$1; var$3 = new nms_Achievement; var$2 = nms_Block_workbench; var$5 = new nms_ItemStack; var$5.$itemID = var$2.$blockID; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$3, 2, $rt_s(1439), 4, (-1), var$5, var$1); nms_StatBase_registerStat(var$3); var$1 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$1.$modCount = var$1.$modCount + 1 | 0; nms_AchievementList_buildWorkBench = var$3; var$1 = new nms_Achievement; var$2 = nms_Item_pickaxeWood; var$5 = new nms_ItemStack; var$5.$itemID = var$2.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 3, $rt_s(1440), 4, 2, var$5, var$3); nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_buildPickaxe = var$1; var$3 = new nms_Achievement; var$2 = nms_Block_furnaceIdle; var$5 = new nms_ItemStack; var$5.$itemID = var$2.$blockID; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$3, 4, $rt_s(1441), 3, 4, var$5, var$1); nms_StatBase_registerStat(var$3); var$1 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$1.$modCount = var$1.$modCount + 1 | 0; nms_AchievementList_buildFurnace = var$3; var$1 = new nms_Achievement; var$2 = nms_Item_ingotIron; var$5 = new nms_ItemStack; var$5.$itemID = var$2.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 5, $rt_s(1442), 1, 4, var$5, var$3); nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_acquireIron = var$1; var$1 = new nms_Achievement; var$4 = nms_Item_hoeWood; var$2 = nms_AchievementList_buildWorkBench; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 6, $rt_s(1443), 2, (-3), var$5, var$2); nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_buildHoe = var$1; var$3 = new nms_Achievement; var$2 = nms_Item_bread; var$5 = new nms_ItemStack; var$5.$itemID = var$2.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$3, 7, $rt_s(1444), (-1), (-3), var$5, var$1); nms_StatBase_registerStat(var$3); var$1 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$1.$modCount = var$1.$modCount + 1 | 0; nms_AchievementList_makeBread = var$3; var$1 = new nms_Achievement; var$4 = nms_Item_cake; var$2 = nms_AchievementList_buildHoe; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 8, $rt_s(1445), 0, (-5), var$5, var$2); nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_bakeCake = var$1; var$1 = new nms_Achievement; var$4 = nms_Item_pickaxeStone; var$2 = nms_AchievementList_buildPickaxe; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 9, $rt_s(1446), 6, 2, var$5, var$2); nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_buildBetterPickaxe = var$1; var$1 = new nms_Achievement; var$4 = nms_Item_fishCooked; var$2 = nms_AchievementList_buildFurnace; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 10, $rt_s(1447), 2, 6, var$5, var$2); nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_cookFish = var$1; var$1 = new nms_Achievement; var$4 = nms_Block_rail; var$2 = nms_AchievementList_acquireIron; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$blockID; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 11, $rt_s(1448), 2, 3, var$5, var$2); var$1.$isSpecial = 1; nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_onARail = var$1; var$1 = new nms_Achievement; var$4 = nms_Item_swordWood; var$2 = nms_AchievementList_buildWorkBench; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 12, $rt_s(1449), 6, (-1), var$5, var$2); nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_buildSword = var$1; var$3 = new nms_Achievement; var$2 = nms_Item_bone; var$5 = new nms_ItemStack; var$5.$itemID = var$2.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$3, 13, $rt_s(1450), 8, (-1), var$5, var$1); nms_StatBase_registerStat(var$3); var$1 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$1.$modCount = var$1.$modCount + 1 | 0; nms_AchievementList_killEnemy = var$3; var$1 = new nms_Achievement; var$4 = nms_Item_leather; var$2 = nms_AchievementList_buildSword; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 14, $rt_s(1451), 7, (-3), var$5, var$2); nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_killCow = var$1; var$3 = new nms_Achievement; var$2 = nms_Item_saddle; var$5 = new nms_ItemStack; var$5.$itemID = var$2.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$3, 15, $rt_s(1452), 8, (-4), var$5, var$1); var$3.$isSpecial = 1; nms_StatBase_registerStat(var$3); var$1 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$1.$modCount = var$1.$modCount + 1 | 0; nms_AchievementList_flyPig = var$3; var$1 = new nms_Achievement; var$4 = nms_Item_bow; var$2 = nms_AchievementList_killEnemy; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 16, $rt_s(1453), 7, 0, var$5, var$2); var$1.$isSpecial = 1; nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_snipeSkeleton = var$1; var$1 = new nms_Achievement; var$4 = nms_Item_diamond; var$2 = nms_AchievementList_acquireIron; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 17, $rt_s(1454), (-1), 5, var$5, var$2); nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_diamonds = var$1; var$3 = new nms_Achievement; var$2 = nms_Block_obsidian; var$5 = new nms_ItemStack; var$5.$itemID = var$2.$blockID; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$3, 18, $rt_s(1455), (-1), 7, var$5, var$1); nms_StatBase_registerStat(var$3); var$1 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$1.$modCount = var$1.$modCount + 1 | 0; nms_AchievementList_portal = var$3; var$1 = new nms_Achievement; var$2 = nms_Item_ghastTear; var$5 = new nms_ItemStack; var$5.$itemID = var$2.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 19, $rt_s(1456), (-4), 8, var$5, var$3); var$1.$isSpecial = 1; nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_ghast = var$1; var$1 = new nms_Achievement; var$4 = nms_Item_blazeRod; var$2 = nms_AchievementList_portal; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 20, $rt_s(1457), 0, 9, var$5, var$2); nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_blazeRod = var$1; var$3 = new nms_Achievement; var$2 = nms_Item_potion; var$5 = new nms_ItemStack; var$5.$itemID = var$2.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$3, 21, $rt_s(1458), 2, 8, var$5, var$1); nms_StatBase_registerStat(var$3); var$1 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$1.$modCount = var$1.$modCount + 1 | 0; nms_AchievementList_potion = var$3; var$1 = new nms_Achievement; var$4 = nms_Item_eyeOfEnder; var$2 = nms_AchievementList_blazeRod; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 22, $rt_s(1459), 3, 10, var$5, var$2); var$1.$isSpecial = 1; nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_theEnd = var$1; var$3 = new nms_Achievement; var$2 = nms_Block_dragonEgg; var$5 = new nms_ItemStack; var$5.$itemID = var$2.$blockID; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$3, 23, $rt_s(1460), 4, 13, var$5, var$1); var$3.$isSpecial = 1; nms_StatBase_registerStat(var$3); var$1 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$1.$modCount = var$1.$modCount + 1 | 0; nms_AchievementList_theEnd2 = var$3; var$1 = new nms_Achievement; var$4 = nms_Block_enchantmentTable; var$2 = nms_AchievementList_diamonds; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$blockID; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 24, $rt_s(1461), (-4), 4, var$5, var$2); nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_enchantments = var$1; var$3 = new nms_Achievement; var$2 = nms_Item_swordDiamond; var$5 = new nms_ItemStack; var$5.$itemID = var$2.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$3, 25, $rt_s(1462), (-4), 1, var$5, var$1); var$3.$isSpecial = 1; nms_StatBase_registerStat(var$3); var$1 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$1.$modCount = var$1.$modCount + 1 | 0; nms_AchievementList_overkill = var$3; var$1 = new nms_Achievement; var$4 = nms_Block_bookShelf; var$2 = nms_AchievementList_enchantments; var$5 = new nms_ItemStack; var$5.$itemID = var$4.$blockID; var$5.$stackSize = 1; var$5.$itemDamage = 0; nms_Achievement__init_(var$1, 26, $rt_s(1463), (-3), 6, var$5, var$2); nms_StatBase_registerStat(var$1); var$3 = nms_AchievementList_achievementList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; nms_AchievementList_bookcase = var$1; }, nms_IStatStringFormat = $rt_classWithoutFields(0); function nms_StatStringFormatKeyInv() { jl_Object.call(this); this.$mc16 = null; } function nms_MouseHelper() { let a = this; jl_Object.call(a); a.$deltaX = 0; a.$deltaY = 0; } let nms_MouseHelper__init_ = $this => { return; }, nms_MouseHelper__init_0 = () => { let var_0 = new nms_MouseHelper(); nms_MouseHelper__init_(var_0); return var_0; }, nms_IWorldAccess = $rt_classWithoutFields(0); function nms_RenderGlobal() { let a = this; jl_Object.call(a); a.$tileEntities = null; a.$theWorld0 = null; a.$renderEngine2 = null; a.$worldRenderersToUpdate = null; a.$sortedWorldRenderers = null; a.$worldRenderers = null; a.$renderChunksWide = 0; a.$renderChunksTall = 0; a.$renderChunksDeep = 0; a.$glRenderListBase = 0; a.$glOcclusionQuery = null; a.$mc5 = null; a.$globalRenderBlocks = null; a.$occlusionEnabled = 0; a.$cloudTickCounter = 0; a.$starGLCallList = 0; a.$glSkyList = 0; a.$glSkyList2 = 0; a.$minBlockX = 0; a.$minBlockY = 0; a.$minBlockZ = 0; a.$maxBlockX = 0; a.$maxBlockY = 0; a.$maxBlockZ = 0; a.$damagedBlocks = null; a.$destroyBlockIcons = null; a.$renderDistance0 = 0; a.$renderEntitiesStartupCounter = 0; a.$countEntitiesTotal = 0; a.$countEntitiesRendered = 0; a.$countEntitiesHidden = 0; a.$renderersLoaded = 0; a.$renderersBeingClipped = 0; a.$renderersBeingOccluded = 0; a.$renderersBeingRendered = 0; a.$renderersSkippingRenderPass = 0; a.$dummyRenderInt = 0; a.$worldRenderersCheckIndex = 0; a.$glRenderLists = null; a.$allRenderLists = null; a.$prevSortX = 0.0; a.$prevSortY = 0.0; a.$prevSortZ = 0.0; a.$frustumCheckOffset = 0; a.$occlusionForcedIndexShift = 0; a.$lastOcclusionQuery = Long_ZERO; } let nms_RenderGlobal_locationMoonPhasesPng = null, nms_RenderGlobal_locationSunPng = null, nms_RenderGlobal_locationCloudsPng = null, nms_RenderGlobal_locationEndSkyPng = null, nms_RenderGlobal_tex_terrain = null, nms_RenderGlobal_$callClinit = () => { nms_RenderGlobal_$callClinit = $rt_eraseClinit(nms_RenderGlobal); nms_RenderGlobal__clinit_(); }, nms_RenderGlobal__init_0 = ($this, $par1Minecraft, $renderEngine) => { let $var4, var$4, var$5, $var8, $var6, var$8, $i, var$10, $var9, var$12, var$13, var$14; nms_RenderGlobal_$callClinit(); $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $this.$tileEntities = $var4; $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $this.$worldRenderersToUpdate = $var4; $this.$damagedBlocks = ju_HashMap__init_(); $this.$renderDistance0 = (-1); $this.$renderEntitiesStartupCounter = 2; $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $this.$glRenderLists = $var4; var$4 = $rt_createArray(nms_RenderList, 4); var$5 = var$4.data; var$5[0] = nms_RenderList__init_(); var$5[1] = nms_RenderList__init_(); var$5[2] = nms_RenderList__init_(); var$5[3] = nms_RenderList__init_(); $this.$allRenderLists = var$4; $this.$prevSortX = (-9999.0); $this.$prevSortY = (-9999.0); $this.$prevSortZ = (-9999.0); $this.$occlusionForcedIndexShift = 0; $this.$lastOcclusionQuery = Long_ZERO; $this.$mc5 = $par1Minecraft; $this.$renderEngine2 = $renderEngine; nleg_EaglerAdapterGL30_$callClinit(); $var8 = nleg_EaglerAdapterGL30_displayListId + 1 | 0; $var6 = 0; while ($var6 < 110976) { var$8 = nleg_EaglerAdapterGL30_displayListId + 1 | 0; nleg_EaglerAdapterGL30_displayListId = var$8; $renderEngine = nleg_EaglerAdapterGL30_displayLists; if (var$8 >= (-128) && var$8 <= 127) { jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[var$8 + 128 | 0]; } else { $var4 = new jl_Integer; $var4.$value0 = var$8; } $par1Minecraft = new nleg_EaglerAdapterGL30$DisplayList; $par1Minecraft.$id8 = var$8; $par1Minecraft.$glarray = null; $par1Minecraft.$glbuffer = null; $par1Minecraft.$shaderMode = (-1); $par1Minecraft.$listLength = 0; ju_HashMap_putImpl($renderEngine, $var4, $par1Minecraft); $var6 = $var6 + 1 | 0; } $par1Minecraft = nms_GLAllocation_field_74531_a; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); $renderEngine = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { $renderEngine = new jl_Integer; $renderEngine.$value0 = $var8; } $var4 = new jl_Integer; $var4.$value0 = 110976; ju_HashMap_putImpl($par1Minecraft, $renderEngine, $var4); $this.$glRenderListBase = $var8; var$4 = $rt_createIntArray(18496); var$5 = var$4.data; $this.$glOcclusionQuery = var$4; $i = 0; $var6 = var$5.length; while ($i < $var6) { var$5[$i] = (-1); $i = $i + 1 | 0; } $var6 = nleg_EaglerAdapterGL30_displayListId + 1 | 0; $var8 = 0; while ($var8 < 3) { var$8 = nleg_EaglerAdapterGL30_displayListId + 1 | 0; nleg_EaglerAdapterGL30_displayListId = var$8; $renderEngine = nleg_EaglerAdapterGL30_displayLists; if (var$8 >= (-128) && var$8 <= 127) { jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[var$8 + 128 | 0]; } else { $var4 = new jl_Integer; $var4.$value0 = var$8; } $par1Minecraft = new nleg_EaglerAdapterGL30$DisplayList; $par1Minecraft.$id8 = var$8; $par1Minecraft.$glarray = null; $par1Minecraft.$glbuffer = null; $par1Minecraft.$shaderMode = (-1); $par1Minecraft.$listLength = 0; ju_HashMap_putImpl($renderEngine, $var4, $par1Minecraft); $var8 = $var8 + 1 | 0; } $par1Minecraft = nms_GLAllocation_field_74531_a; if ($var6 >= (-128) && $var6 <= 127) { jl_Integer_ensureIntegerCache(); $renderEngine = jl_Integer_integerCache.data[$var6 + 128 | 0]; } else { $renderEngine = new jl_Integer; $renderEngine.$value0 = $var6; } jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl($par1Minecraft, $renderEngine, jl_Integer_integerCache.data[131]); $this.$starGLCallList = $var6; nleg_EaglerAdapterGL30_glPushMatrix(); $i = $this.$starGLCallList; if (!nleg_EaglerAdapterGL30_isCompilingDisplayList) { $par1Minecraft = nleg_EaglerAdapterGL30_displayLists; if ($i >= (-128) && $i <= 127) { jl_Integer_ensureIntegerCache(); $renderEngine = jl_Integer_integerCache.data[$i + 128 | 0]; } else { $renderEngine = new jl_Integer; $renderEngine.$value0 = $i; } if ($renderEngine === null) { $par1Minecraft = $par1Minecraft.$elementData.data[0]; while ($par1Minecraft !== null && $par1Minecraft.$key !== null) { $par1Minecraft = $par1Minecraft.$next3; } } else { $i = $renderEngine.$value0; var$4 = $par1Minecraft.$elementData.data; $par1Minecraft = var$4[$i & (var$4.length - 1 | 0)]; while ($par1Minecraft !== null) { if ($par1Minecraft.$origKeyHash == $i) { $var4 = $par1Minecraft.$key; if ($renderEngine !== $var4 && !($renderEngine === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == $i ? 1 : 0) ? 0 : 1) break; } $par1Minecraft = $par1Minecraft.$next3; } } $par1Minecraft = $par1Minecraft === null ? null : $par1Minecraft.$value1; nleg_EaglerAdapterGL30_compilingDisplayList = $par1Minecraft; if ($par1Minecraft !== null) { $par1Minecraft.$shaderMode = (-1); $par1Minecraft.$listLength = 0; nleg_EaglerAdapterGL30_isCompilingDisplayList = 1; } } nms_RenderGlobal_renderStars($this); nleg_EaglerAdapterGL30_glEndList(); nleg_EaglerAdapterGL30_glPopMatrix(); nlea_Tessellator_$callClinit(); $var4 = nlea_Tessellator_instance; $i = $this.$starGLCallList + 1 | 0; $this.$glSkyList = $i; if (!nleg_EaglerAdapterGL30_isCompilingDisplayList) { $par1Minecraft = nleg_EaglerAdapterGL30_displayLists; if ($i >= (-128) && $i <= 127) { jl_Integer_ensureIntegerCache(); $renderEngine = jl_Integer_integerCache.data[$i + 128 | 0]; } else { $renderEngine = new jl_Integer; $renderEngine.$value0 = $i; } if ($renderEngine === null) { $par1Minecraft = $par1Minecraft.$elementData.data[0]; while ($par1Minecraft !== null && $par1Minecraft.$key !== null) { $par1Minecraft = $par1Minecraft.$next3; } } else { $i = $renderEngine.$value0; var$4 = $par1Minecraft.$elementData.data; $par1Minecraft = var$4[$i & (var$4.length - 1 | 0)]; while ($par1Minecraft !== null) { if ($par1Minecraft.$origKeyHash == $i) { var$10 = $par1Minecraft.$key; if ($renderEngine !== var$10 && !($renderEngine === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == $i ? 1 : 0) ? 0 : 1) break; } $par1Minecraft = $par1Minecraft.$next3; } } $par1Minecraft = $par1Minecraft === null ? null : $par1Minecraft.$value1; nleg_EaglerAdapterGL30_compilingDisplayList = $par1Minecraft; if ($par1Minecraft !== null) { $par1Minecraft.$shaderMode = (-1); $par1Minecraft.$listLength = 0; nleg_EaglerAdapterGL30_isCompilingDisplayList = 1; } } $var8 = (-384); while ($var8 <= 384) { $var9 = (-384); while ($var9 <= 384) { if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; var$12 = $var8 + 0 | 0; var$13 = $var9 + 0 | 0; nlea_Tessellator_addVertex($var4, var$12, 16.0, var$13); var$14 = $var8 + 64 | 0; nlea_Tessellator_addVertex($var4, var$14, 16.0, var$13); $var9 = $var9 + 64 | 0; var$13 = $var9; nlea_Tessellator_addVertex($var4, var$14, 16.0, var$13); nlea_Tessellator_addVertex($var4, var$12, 16.0, var$13); nlea_Tessellator_draw($var4); } $var8 = $var8 + 64 | 0; } nleg_EaglerAdapterGL30_glEndList(); $var8 = $this.$starGLCallList + 2 | 0; $this.$glSkyList2 = $var8; if (!nleg_EaglerAdapterGL30_isCompilingDisplayList) { $par1Minecraft = nleg_EaglerAdapterGL30_displayLists; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); $renderEngine = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { $renderEngine = new jl_Integer; $renderEngine.$value0 = $var8; } if ($renderEngine === null) { var$10 = $par1Minecraft.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { $var8 = $renderEngine.$value0; var$4 = $par1Minecraft.$elementData.data; var$10 = var$4[$var8 & (var$4.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == $var8) { $par1Minecraft = var$10.$key; if ($renderEngine !== $par1Minecraft && !($renderEngine === $par1Minecraft ? 1 : $par1Minecraft instanceof jl_Integer && $par1Minecraft.$value0 == $var8 ? 1 : 0) ? 0 : 1) break; } var$10 = var$10.$next3; } } $par1Minecraft = var$10 === null ? null : var$10.$value1; nleg_EaglerAdapterGL30_compilingDisplayList = $par1Minecraft; if ($par1Minecraft !== null) { $par1Minecraft.$shaderMode = (-1); $par1Minecraft.$listLength = 0; nleg_EaglerAdapterGL30_isCompilingDisplayList = 1; } } if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; $var8 = (-384); while ($var8 <= 384) { $var9 = (-384); while ($var9 <= 384) { var$12 = $var8 + 64 | 0; var$13 = $var9 + 0 | 0; nlea_Tessellator_addVertex($var4, var$12, (-16.0), var$13); var$14 = $var8 + 0 | 0; nlea_Tessellator_addVertex($var4, var$14, (-16.0), var$13); $var9 = $var9 + 64 | 0; var$13 = $var9; nlea_Tessellator_addVertex($var4, var$14, (-16.0), var$13); nlea_Tessellator_addVertex($var4, var$12, (-16.0), var$13); } $var8 = $var8 + 64 | 0; } nlea_Tessellator_draw($var4); nleg_EaglerAdapterGL30_glEndList(); }, nms_RenderGlobal__init_ = (var_0, var_1) => { let var_2 = new nms_RenderGlobal(); nms_RenderGlobal__init_0(var_2, var_0, var_1); return var_2; }, nms_RenderGlobal_renderStars = $this => { let $var1$seed, $var2, $var3, $var1$seed_0, $var4, $var6, $var8, $var10, $var12, $var43, $var47, $var49, $var14, $var16, $var18, $var20, $var22, $var24, $var26, $var28, $var30, $var1$seed_1, $var32, $var34, $var36, $var38, $var39, $var41, $var53, $var55; $var1$seed = Long_fromInt(10842); nlea_Tessellator_$callClinit(); $var2 = nlea_Tessellator_instance; if ($var2.$isDrawing) nlea_Tessellator_draw($var2); $var2.$isDrawing = 1; $var2.$vertexCount = 0; $var2.$rawBufferIndex = 0; $var2.$addedVertices = 0; $var2.$drawMode = 7; $var2.$hasNormals = 0; $var2.$hasColor = 0; $var2.$hasTexture = 0; $var2.$hasBrightness = 0; $var2.$isColorDisabled = 0; $var3 = 0; while ($var3 < 1500) { $var1$seed_0 = Long_and(Long_add(Long_mul($var1$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4 = Long_lo(Long_shru($var1$seed_0, 24)) / 1.6777216E7 * 2.0 - 1.0; $var1$seed_0 = Long_and(Long_add(Long_mul($var1$seed_0, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6 = Long_lo(Long_shru($var1$seed_0, 24)) / 1.6777216E7 * 2.0 - 1.0; $var1$seed_0 = Long_and(Long_add(Long_mul($var1$seed_0, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8 = Long_lo(Long_shru($var1$seed_0, 24)) / 1.6777216E7 * 2.0 - 1.0; $var1$seed = Long_and(Long_add(Long_mul($var1$seed_0, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var10 = 0.15000000596046448 + Long_lo(Long_shru($var1$seed, 24)) / 1.6777216E7 * 0.10000000149011612; $var12 = $var4 * $var4 + $var6 * $var6 + $var8 * $var8; if ($var12 < 1.0 && $var12 > 0.01) { $var43 = 1.0 / jl_Math_sqrt($var12); $var47 = $var4 * $var43; $var49 = $var6 * $var43; $var43 = $var8 * $var43; $var14 = $var47 * 100.0; $var16 = $var49 * 100.0; $var18 = $var43 * 100.0; $var20 = jl_Math_atan2($var47, $var43); $var22 = jl_Math_sin($var20); $var24 = jl_Math_cos($var20); $var26 = jl_Math_atan2(jl_Math_sqrt($var47 * $var47 + $var43 * $var43), $var49); $var28 = jl_Math_sin($var26); $var30 = jl_Math_cos($var26); $var1$seed_1 = Long_and(Long_add(Long_mul($var1$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1$seed_0 = Long_shl(Long_fromInt(Long_lo(Long_shru($var1$seed_1, 22))), 27); $var1$seed = Long_and(Long_add(Long_mul($var1$seed_1, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var32 = Long_toNumber(Long_add($var1$seed_0, Long_fromInt(Long_lo(Long_shru($var1$seed, 21))))) * 1.1102230246251565E-16 * 3.141592653589793 * 2.0; $var34 = jl_Math_sin($var32); $var36 = jl_Math_cos($var32); $var38 = 0; $var12 = 0.0 * $var30; $var39 = 0.0 * $var28; while ($var38 < 4) { $var41 = (($var38 & 2) - 1 | 0) * $var10; $var38 = $var38 + 1 | 0; $var43 = (($var38 & 2) - 1 | 0) * $var10; $var47 = $var41 * $var36 - $var43 * $var34; $var49 = $var43 * $var36 + $var41 * $var34; $var53 = $var47 * $var28 + $var12; $var55 = $var39 - $var47 * $var30; nlea_Tessellator_addVertex($var2, $var14 + $var55 * $var22 - $var49 * $var24, $var16 + $var53, $var18 + $var49 * $var22 + $var55 * $var24); } } $var3 = $var3 + 1 | 0; } nlea_Tessellator_draw($var2); }, nms_RenderGlobal_setWorldAndLoadRenderers = ($this, $par1WorldClient) => { let var$2, var$3, var$4; var$2 = $this.$theWorld0; if (var$2 !== null) ju_ArrayList_remove0(var$2.$worldAccesses, $this); $this.$prevSortX = (-9999.0); $this.$prevSortY = (-9999.0); $this.$prevSortZ = (-9999.0); nms_RenderManager_instance.$worldObj9 = $par1WorldClient; $this.$theWorld0 = $par1WorldClient; var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$blockAccess = $par1WorldClient; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$globalRenderBlocks = var$2; if ($par1WorldClient !== null) { $par1WorldClient = $par1WorldClient.$worldAccesses; ju_ArrayList_ensureCapacity($par1WorldClient, $par1WorldClient.$size0 + 1 | 0); var$3 = $par1WorldClient.$array.data; var$4 = $par1WorldClient.$size0; $par1WorldClient.$size0 = var$4 + 1 | 0; var$3[var$4] = $this; $par1WorldClient.$modCount = $par1WorldClient.$modCount + 1 | 0; nms_RenderGlobal_loadRenderers($this); } }, nms_RenderGlobal_loadRenderers = $this => { let $var7, var$2, $var1, var$4, $var2, $var3, $var4, $var5, var$9, $var6, var$11, var$12; a: { if ($this.$theWorld0 !== null) { nms_Block_$callClinit(); $var7 = nms_Block_leaves; var$2 = $this.$mc5.$gameSettings; $var1 = var$2.$fancyGraphics; $var7.$graphicsLevel = $var1; $var1 = !$var1 ? 1 : 0; b: { $var7.$iconType = $var1; $this.$renderDistance0 = var$2.$renderDistance; if ($this.$worldRenderers !== null) { $var1 = 0; while (true) { var$4 = $this.$worldRenderers.data; if ($var1 >= var$4.length) break b; $var7 = var$4[$var1]; nms_WorldRenderer_setDontDraw($var7); $var7.$worldObj13 = null; $var1 = $var1 + 1 | 0; } } } $var1 = 64 << (3 - $this.$renderDistance0 | 0); if ($var1 > 400) $var1 = 400; $var1 = ($var1 / 16 | 0) + 1 | 0; $this.$renderChunksWide = $var1; $this.$renderChunksTall = 16; $this.$renderChunksDeep = $var1; $var2 = $rt_imul($var1 * 16 | 0, $var1); $this.$worldRenderers = $rt_createArray(nms_WorldRenderer, $var2); $this.$sortedWorldRenderers = $rt_createArray(nms_WorldRenderer, $var2); $var2 = 0; $var3 = 0; $this.$minBlockX = 0; $this.$minBlockY = 0; $this.$minBlockZ = 0; $this.$maxBlockX = $var1; $this.$maxBlockY = 16; $this.$maxBlockZ = $var1; $var4 = 0; while (true) { var$2 = $this.$worldRenderersToUpdate; $var1 = var$2.$size0; $var5 = $rt_compare($var4, $var1); if ($var5 >= 0) { var$4 = var$2.$array; $var4 = 0; $var7 = null; if ($var4 > $var1) { $var7 = new jl_IllegalArgumentException; $var7.$suppressionEnabled = 1; $var7.$writableStackTrace = 1; $rt_throw($var7); } while ($var4 < $var1) { var$9 = var$4.data; $var5 = $var4 + 1 | 0; var$9[$var4] = $var7; $var4 = $var5; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$tileEntities; var$4 = var$2.$array; $var1 = 0; $var4 = var$2.$size0; $var7 = null; if ($var1 > $var4) { $var7 = new jl_IllegalArgumentException; $var7.$suppressionEnabled = 1; $var7.$writableStackTrace = 1; $rt_throw($var7); } while ($var1 < $var4) { var$9 = var$4.data; $var5 = $var1 + 1 | 0; var$9[$var1] = $var7; $var1 = $var5; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; $var4 = 0; while ($var4 < $this.$renderChunksWide) { $var5 = 0; while ($var5 < $this.$renderChunksTall) { $var6 = 0; while ($var6 < $this.$renderChunksDeep) { $this.$worldRenderers.data[$rt_imul($rt_imul($var6, $this.$renderChunksTall) + $var5 | 0, $this.$renderChunksWide) + $var4 | 0] = nms_WorldRenderer__init_0($this.$theWorld0, $this.$tileEntities, $var4 * 16 | 0, $var5 * 16 | 0, $var6 * 16 | 0, $this.$glRenderListBase + $var2 | 0); var$4 = $this.$worldRenderers.data; var$11 = $rt_imul($rt_imul($var6, $this.$renderChunksTall) + $var5 | 0, $this.$renderChunksWide) + $var4 | 0; var$4[var$11].$isWaitingOnOcclusionQuery = 0; var$4[var$11].$isVisible = 1; var$4[var$11].$isInFrustum = 1; $var7 = var$4[var$11]; $var1 = $var3 + 1 | 0; $var7.$chunkIndex = $var3; var$4[var$11].$needsUpdate = 1; $this.$sortedWorldRenderers.data[var$11] = var$4[var$11]; $var7 = $this.$worldRenderersToUpdate; var$2 = var$4[var$11]; ju_ArrayList_ensureCapacity($var7, $var7.$size0 + 1 | 0); var$4 = $var7.$array.data; var$11 = $var7.$size0; $var7.$size0 = var$11 + 1 | 0; var$4[var$11] = var$2; $var7.$modCount = $var7.$modCount + 1 | 0; $var2 = $var2 + 3 | 0; $var6 = $var6 + 1 | 0; $var3 = $var1; } $var5 = $var5 + 1 | 0; } $var4 = $var4 + 1 | 0; } if ($this.$theWorld0 !== null) { $var7 = $this.$mc5.$renderViewEntity; if ($var7 !== null) { var$12 = $var7.$posX; $var3 = var$12 | 0; if (var$12 < $var3) $var3 = $var3 - 1 | 0; var$12 = $var7.$posY; $var2 = var$12 | 0; if (var$12 < $var2) $var2 = $var2 - 1 | 0; var$12 = $var7.$posZ; $var4 = var$12 | 0; if (var$12 < $var4) $var4 = $var4 - 1 | 0; nms_RenderGlobal_markRenderersForNewPosition($this, $var3, $var2, $var4); var$4 = $this.$sortedWorldRenderers; var$2 = new nms_EntitySorter; var$2.$entityPosX0 = -$var7.$posX; var$2.$entityPosY0 = -$var7.$posY; var$2.$entityPosZ0 = -$var7.$posZ; ju_Arrays_sort(var$4, var$2); } } $this.$renderEntitiesStartupCounter = 2; break a; } if ($var4 < 0) break; if ($var5 >= 0) break; var$2.$array.data[$var4].$needsUpdate = 0; $var4 = $var4 + 1 | 0; } $var7 = new jl_IndexOutOfBoundsException; $var7.$suppressionEnabled = 1; $var7.$writableStackTrace = 1; $rt_throw($var7); } } }, nms_RenderGlobal_renderEntities = ($this, $par1Vec3, $par2ICamera, $par3) => { let var$4, $var7, $var7_0, $var5, $var9, $var4, var$10, var$11, var$12, var$13, $var6, var$15, var$16, var$17, var$18, var$19, var$20, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var6 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var4 = $thread.pop();$var9 = $thread.pop();$var5 = $thread.pop();$var7_0 = $thread.pop();$var7 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2ICamera = $thread.pop();$par1Vec3 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { var$4 = $this.$renderEntitiesStartupCounter; if (var$4 > 0) $this.$renderEntitiesStartupCounter = var$4 - 1 | 0; else { nms_TileEntityRenderer_$callClinit(); $var7 = nms_TileEntityRenderer_instance; $var7_0 = $this.$theWorld0; $var5 = $this.$renderEngine2; $var9 = $this.$mc5; nms_TileEntityRenderer_cacheActiveRenderInfo($var7, $var7_0, $var5, $var9.$fontRenderer0, $var9.$renderViewEntity, $par3); $var7 = nms_RenderManager_instance; $var7_0 = $this.$theWorld0; $var5 = $this.$mc5; nms_RenderManager_cacheActiveRenderInfo($var7, $var7_0, $var5.$renderEngine, $var5.$fontRenderer0, $var5.$renderViewEntity, $var5.$pointedEntityLiving, $var5.$gameSettings, $par3); $this.$countEntitiesTotal = 0; $this.$countEntitiesRendered = 0; $this.$countEntitiesHidden = 0; $var7 = $this.$mc5; $var4 = $var7.$renderViewEntity; var$10 = $var4.$lastTickPosX; var$11 = $var4.$posX - var$10; var$12 = $par3; var$10 = var$10 + var$11 * var$12; nms_RenderManager_renderPosX = var$10; var$11 = $var4.$lastTickPosY; var$11 = var$11 + ($var4.$posY - var$11) * var$12; nms_RenderManager_renderPosY = var$11; var$13 = $var4.$lastTickPosZ; var$13 = var$13 + ($var4.$posZ - var$13) * var$12; nms_RenderManager_renderPosZ = var$13; nms_TileEntityRenderer_staticPlayerX = var$10; nms_TileEntityRenderer_staticPlayerY = var$11; nms_TileEntityRenderer_staticPlayerZ = var$13; nms_EntityRenderer_enableLightmap($var7.$entityRenderer, var$12); $var5 = $this.$theWorld0.$loadedEntityList; $this.$countEntitiesTotal = $var5.$size0; $var6 = 0; while (true) { $var7 = $this.$theWorld0.$weatherEffects; var$4 = $rt_compare($var6, $var7.$size0); if (var$4 >= 0) { var$15 = 0; b: { while (true) { var$4 = $rt_compare(var$15, $var5.$size0); if (var$4 >= 0) { nleg_EaglerAdapterGL30_glPushMatrix(); $par1Vec3 = nleg_EaglerAdapterGL30_deevis; $par1Vec3.$x = 1.0; $par1Vec3.$y = (-1.0); $par1Vec3.$z = 1.0; $par1Vec3 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Vec3, $par1Vec3); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Vec3 = new otcic_JSStderrPrintStream; $par2ICamera = new ji_ByteArrayOutputStream; $par2ICamera.$buf = $rt_createByteArray(32); $par1Vec3.$out0 = $par2ICamera; $par2ICamera = new jl_StringBuilder; $par2ICamera.$buffer = $rt_createCharArray(16); $par1Vec3.$sb = $par2ICamera; $par1Vec3.$buffer0 = $rt_createCharArray(32); $par1Vec3.$autoFlush = 0; $par1Vec3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Vec3; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); var$4 = 0; $par1Vec3 = $this.$tileEntities; var$15 = $rt_compare(var$4, $par1Vec3.$size0); if (var$15 < 0) { $par2ICamera = nms_TileEntityRenderer_instance; if (var$4 >= 0 && var$15 < 0) { $par1Vec3 = $par1Vec3.$array.data[var$4]; $ptr = 2; continue main; } $par1Vec3 = new jl_IndexOutOfBoundsException; $par1Vec3.$suppressionEnabled = 1; $par1Vec3.$writableStackTrace = 1; $rt_throw($par1Vec3); } nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); break a; } if (var$15 < 0) break; if (var$4 >= 0) break; c: { d: { $var7_0 = $var5.$array.data[var$15]; if ($var7_0.$isInRangeToRenderVec3D($par1Vec3)) { if ($var7_0.$ignoreFrustumCheck) break d; $var7 = $var7_0.$boundingBox; var$10 = $var7.$minX; var$11 = $var7.$minY; var$12 = $var7.$minZ; var$13 = $var7.$maxX; var$16 = $var7.$maxY; var$17 = $var7.$maxZ; $var7 = $par2ICamera.$clippingHelper; var$18 = $par2ICamera.$xPosition4; var$10 = var$10 - var$18; var$19 = $par2ICamera.$yPosition4; var$11 = var$11 - var$19; var$20 = $par2ICamera.$zPosition4; if (nms_ClippingHelper_isBoxInFrustum($var7, var$10, var$11, var$12 - var$20, var$13 - var$18, var$16 - var$19, var$17 - var$20)) break d; if ($var7_0.$riddenByEntity === $this.$mc5.$thePlayer) break d; } $var8 = 0; break c; } $var8 = 1; } if (!$var8 && $var7_0 instanceof nms_EntityLiving) { $var9 = $var7_0; if ($var9.$isLeashed) { $var7 = $var9.$leashedToEntity; if ($var7 !== null) { $var7 = $var7.$boundingBox; var$10 = $var7.$minX; var$11 = $var7.$minY; var$12 = $var7.$minZ; var$13 = $var7.$maxX; var$16 = $var7.$maxY; var$17 = $var7.$maxZ; $var7 = $par2ICamera.$clippingHelper; var$18 = $par2ICamera.$xPosition4; var$10 = var$10 - var$18; var$20 = $par2ICamera.$yPosition4; var$11 = var$11 - var$20; var$19 = $par2ICamera.$zPosition4; $var8 = nms_ClippingHelper_isBoxInFrustum($var7, var$10, var$11, var$12 - var$19, var$13 - var$18, var$16 - var$20, var$17 - var$19); } } } if ($var8) { $var7 = $this.$mc5; $var9 = $var7.$renderViewEntity; if ($var7_0 !== $var9) break b; if ($var7.$gameSettings.$thirdPersonView) break b; if ($var9.$sleeping) break b; } var$15 = var$15 + 1 | 0; } $par1Vec3 = new jl_IndexOutOfBoundsException; $par1Vec3.$suppressionEnabled = 1; $par1Vec3.$writableStackTrace = 1; $rt_throw($par1Vec3); } var$11 = $var7_0.$posX; var$11 = $var7_0.$posZ; $this.$countEntitiesRendered = $this.$countEntitiesRendered + 1 | 0; $var7 = nms_RenderManager_instance; $ptr = 3; continue main; } if ($var6 < 0) break; if (var$4 >= 0) break; $var7 = $var7.$array.data[$var6]; $this.$countEntitiesRendered = $this.$countEntitiesRendered + 1 | 0; if ($var7.$isInRangeToRenderVec3D($par1Vec3)) { $var7_0 = nms_RenderManager_instance; $ptr = 1; continue main; } $var6 = $var6 + 1 | 0; } $par1Vec3 = new jl_IndexOutOfBoundsException; $par1Vec3.$suppressionEnabled = 1; $par1Vec3.$writableStackTrace = 1; $rt_throw($par1Vec3); } } return; case 1: nms_RenderManager_renderEntity($var7_0, $var7, $par3); if ($rt_suspending()) { break main; } while (true) { $var6 = $var6 + 1 | 0; $var7 = $this.$theWorld0.$weatherEffects; var$4 = $rt_compare($var6, $var7.$size0); if (var$4 >= 0) { var$15 = 0; e: { while (true) { var$4 = $rt_compare(var$15, $var5.$size0); if (var$4 >= 0) { nleg_EaglerAdapterGL30_glPushMatrix(); $par1Vec3 = nleg_EaglerAdapterGL30_deevis; $par1Vec3.$x = 1.0; $par1Vec3.$y = (-1.0); $par1Vec3.$z = 1.0; $par1Vec3 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Vec3, $par1Vec3); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Vec3 = new otcic_JSStderrPrintStream; $par2ICamera = new ji_ByteArrayOutputStream; $par2ICamera.$buf = $rt_createByteArray(32); $par1Vec3.$out0 = $par2ICamera; $par2ICamera = new jl_StringBuilder; $par2ICamera.$buffer = $rt_createCharArray(16); $par1Vec3.$sb = $par2ICamera; $par1Vec3.$buffer0 = $rt_createCharArray(32); $par1Vec3.$autoFlush = 0; $par1Vec3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Vec3; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); var$4 = 0; $par1Vec3 = $this.$tileEntities; var$15 = $rt_compare(var$4, $par1Vec3.$size0); if (var$15 >= 0) { nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); return; } $par2ICamera = nms_TileEntityRenderer_instance; if (var$4 >= 0 && var$15 < 0) { $par1Vec3 = $par1Vec3.$array.data[var$4]; $ptr = 2; continue main; } $par1Vec3 = new jl_IndexOutOfBoundsException; $par1Vec3.$suppressionEnabled = 1; $par1Vec3.$writableStackTrace = 1; $rt_throw($par1Vec3); } if (var$15 < 0) break; if (var$4 >= 0) break; b: { f: { $var7_0 = $var5.$array.data[var$15]; if ($var7_0.$isInRangeToRenderVec3D($par1Vec3)) { if ($var7_0.$ignoreFrustumCheck) break f; $var7 = $var7_0.$boundingBox; var$10 = $var7.$minX; var$11 = $var7.$minY; var$12 = $var7.$minZ; var$13 = $var7.$maxX; var$16 = $var7.$maxY; var$17 = $var7.$maxZ; $var7 = $par2ICamera.$clippingHelper; var$18 = $par2ICamera.$xPosition4; var$10 = var$10 - var$18; var$19 = $par2ICamera.$yPosition4; var$11 = var$11 - var$19; var$20 = $par2ICamera.$zPosition4; if (nms_ClippingHelper_isBoxInFrustum($var7, var$10, var$11, var$12 - var$20, var$13 - var$18, var$16 - var$19, var$17 - var$20)) break f; if ($var7_0.$riddenByEntity === $this.$mc5.$thePlayer) break f; } $var8 = 0; break b; } $var8 = 1; } if (!$var8 && $var7_0 instanceof nms_EntityLiving) { $var9 = $var7_0; if ($var9.$isLeashed) { $var7 = $var9.$leashedToEntity; if ($var7 !== null) { $var7 = $var7.$boundingBox; var$10 = $var7.$minX; var$11 = $var7.$minY; var$12 = $var7.$minZ; var$13 = $var7.$maxX; var$16 = $var7.$maxY; var$17 = $var7.$maxZ; $var7 = $par2ICamera.$clippingHelper; var$18 = $par2ICamera.$xPosition4; var$10 = var$10 - var$18; var$20 = $par2ICamera.$yPosition4; var$11 = var$11 - var$20; var$19 = $par2ICamera.$zPosition4; $var8 = nms_ClippingHelper_isBoxInFrustum($var7, var$10, var$11, var$12 - var$19, var$13 - var$18, var$16 - var$20, var$17 - var$19); } } } if ($var8) { $var7 = $this.$mc5; $var9 = $var7.$renderViewEntity; if ($var7_0 !== $var9) break e; if ($var7.$gameSettings.$thirdPersonView) break e; if ($var9.$sleeping) break e; } var$15 = var$15 + 1 | 0; } $par1Vec3 = new jl_IndexOutOfBoundsException; $par1Vec3.$suppressionEnabled = 1; $par1Vec3.$writableStackTrace = 1; $rt_throw($par1Vec3); } var$11 = $var7_0.$posX; var$11 = $var7_0.$posZ; $this.$countEntitiesRendered = $this.$countEntitiesRendered + 1 | 0; $var7 = nms_RenderManager_instance; $ptr = 3; continue main; } if ($var6 < 0) break; if (var$4 >= 0) break; $var7 = $var7.$array.data[$var6]; $this.$countEntitiesRendered = $this.$countEntitiesRendered + 1 | 0; if (!$var7.$isInRangeToRenderVec3D($par1Vec3)) continue; else { $var7_0 = nms_RenderManager_instance; continue main; } } $par1Vec3 = new jl_IndexOutOfBoundsException; $par1Vec3.$suppressionEnabled = 1; $par1Vec3.$writableStackTrace = 1; $rt_throw($par1Vec3); case 2: nms_TileEntityRenderer_renderTileEntity($par2ICamera, $par1Vec3, $par3); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; $par1Vec3 = $this.$tileEntities; var$15 = $rt_compare(var$4, $par1Vec3.$size0); if (var$15 >= 0) { nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); return; } $par2ICamera = nms_TileEntityRenderer_instance; if (var$4 >= 0 && var$15 < 0) { $par1Vec3 = $par1Vec3.$array.data[var$4]; continue main; } $par1Vec3 = new jl_IndexOutOfBoundsException; $par1Vec3.$suppressionEnabled = 1; $par1Vec3.$writableStackTrace = 1; $rt_throw($par1Vec3); case 3: nms_RenderManager_renderEntity($var7, $var7_0, $par3); if ($rt_suspending()) { break main; } a: { while (true) { var$15 = var$15 + 1 | 0; var$4 = $rt_compare(var$15, $var5.$size0); if (var$4 >= 0) { nleg_EaglerAdapterGL30_glPushMatrix(); $par1Vec3 = nleg_EaglerAdapterGL30_deevis; $par1Vec3.$x = 1.0; $par1Vec3.$y = (-1.0); $par1Vec3.$z = 1.0; $par1Vec3 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Vec3, $par1Vec3); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Vec3 = new otcic_JSStderrPrintStream; $par2ICamera = new ji_ByteArrayOutputStream; $par2ICamera.$buf = $rt_createByteArray(32); $par1Vec3.$out0 = $par2ICamera; $par2ICamera = new jl_StringBuilder; $par2ICamera.$buffer = $rt_createCharArray(16); $par1Vec3.$sb = $par2ICamera; $par1Vec3.$buffer0 = $rt_createCharArray(32); $par1Vec3.$autoFlush = 0; $par1Vec3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Vec3; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); var$4 = 0; $par1Vec3 = $this.$tileEntities; var$15 = $rt_compare(var$4, $par1Vec3.$size0); if (var$15 >= 0) { nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); return; } $par2ICamera = nms_TileEntityRenderer_instance; if (var$4 >= 0 && var$15 < 0) { $par1Vec3 = $par1Vec3.$array.data[var$4]; $ptr = 2; continue main; } $par1Vec3 = new jl_IndexOutOfBoundsException; $par1Vec3.$suppressionEnabled = 1; $par1Vec3.$writableStackTrace = 1; $rt_throw($par1Vec3); } if (var$15 < 0) break; if (var$4 >= 0) break; g: { e: { $var7_0 = $var5.$array.data[var$15]; if ($var7_0.$isInRangeToRenderVec3D($par1Vec3)) { if ($var7_0.$ignoreFrustumCheck) break e; $var7 = $var7_0.$boundingBox; var$10 = $var7.$minX; var$11 = $var7.$minY; var$12 = $var7.$minZ; var$13 = $var7.$maxX; var$16 = $var7.$maxY; var$17 = $var7.$maxZ; $var7 = $par2ICamera.$clippingHelper; var$18 = $par2ICamera.$xPosition4; var$10 = var$10 - var$18; var$19 = $par2ICamera.$yPosition4; var$11 = var$11 - var$19; var$20 = $par2ICamera.$zPosition4; if (nms_ClippingHelper_isBoxInFrustum($var7, var$10, var$11, var$12 - var$20, var$13 - var$18, var$16 - var$19, var$17 - var$20)) break e; if ($var7_0.$riddenByEntity === $this.$mc5.$thePlayer) break e; } $var8 = 0; break g; } $var8 = 1; } if (!$var8 && $var7_0 instanceof nms_EntityLiving) { $var9 = $var7_0; if ($var9.$isLeashed) { $var7 = $var9.$leashedToEntity; if ($var7 !== null) { $var7 = $var7.$boundingBox; var$10 = $var7.$minX; var$11 = $var7.$minY; var$12 = $var7.$minZ; var$13 = $var7.$maxX; var$16 = $var7.$maxY; var$17 = $var7.$maxZ; $var7 = $par2ICamera.$clippingHelper; var$18 = $par2ICamera.$xPosition4; var$10 = var$10 - var$18; var$20 = $par2ICamera.$yPosition4; var$11 = var$11 - var$20; var$19 = $par2ICamera.$zPosition4; $var8 = nms_ClippingHelper_isBoxInFrustum($var7, var$10, var$11, var$12 - var$19, var$13 - var$18, var$16 - var$20, var$17 - var$19); } } } if (!$var8) continue; $var7 = $this.$mc5; $var9 = $var7.$renderViewEntity; if ($var7_0 !== $var9) break a; if ($var7.$gameSettings.$thirdPersonView) break a; if (!$var9.$sleeping) continue; else break a; } $par1Vec3 = new jl_IndexOutOfBoundsException; $par1Vec3.$suppressionEnabled = 1; $par1Vec3.$writableStackTrace = 1; $rt_throw($par1Vec3); } var$11 = $var7_0.$posX; var$11 = $var7_0.$posZ; $this.$countEntitiesRendered = $this.$countEntitiesRendered + 1 | 0; $var7 = nms_RenderManager_instance; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Vec3, $par2ICamera, $par3, var$4, $var7, $var7_0, $var5, $var9, $var4, var$10, var$11, var$12, var$13, $var6, var$15, var$16, var$17, var$18, var$19, var$20, $var8, $ptr); }, nms_RenderGlobal_getDebugInfoRenders = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$1 = $this.$renderersBeingRendered; var$2 = $this.$renderersLoaded; var$3 = $this.$renderersBeingClipped; var$4 = $this.$renderersBeingOccluded; var$5 = $this.$renderersSkippingRenderPass; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(1464)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$1, 10); var$7 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$7, var$7 + 1 | 0); var$6.$buffer.data[var$7] = 47; jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$2, 10); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(1465)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$3, 10); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(1466)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$4, 10); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(1467)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10); var$8 = new jl_String; var$9 = var$6.$buffer; var$10 = var$9.data; var$2 = var$6.$length0; var$3 = var$10.length; if (var$2 >= 0 && var$2 <= (var$3 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$9.data, 0, var$2); return var$8; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); }, nms_RenderGlobal_getDebugInfoShort = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; var$1 = nms_Minecraft_debugFPS; var$2 = $this.$renderersBeingRendered; var$3 = $this.$renderersLoaded; var$4 = $this.$countEntitiesRendered; var$5 = $this.$tileEntities.$size0; var$6 = nms_Minecraft_debugChunkGeometryUpdates; var$7 = nms_Minecraft_debugChunkUpdates; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$1, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1468)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$2, 10); var$1 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$1, var$1 + 1 | 0); var$8.$buffer.data[var$1] = 47; jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$3, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1467)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$4, 10); var$1 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$1, var$1 + 1 | 0); var$8.$buffer.data[var$1] = 43; jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$5, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1469)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$6, 10); var$2 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$2, var$2 + 1 | 0); var$8.$buffer.data[var$2] = 47; jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$7, 10); var$9 = new jl_String; var$10 = var$8.$buffer; var$11 = var$10.data; var$2 = var$8.$length0; var$3 = var$11.length; if (var$2 >= 0 && var$2 <= (var$3 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$10.data, 0, var$2); return var$9; } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); }, nms_RenderGlobal_getDebugInfoEntities = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$countEntitiesRendered; var$2 = $this.$countEntitiesTotal; var$3 = $this.$countEntitiesHidden; var$4 = (var$2 - var$3 | 0) - var$1 | 0; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(1470)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$1, 10); var$1 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$1, var$1 + 1 | 0); var$5.$buffer.data[var$1] = 47; jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$2, 10); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(1471)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$3, 10); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(1472)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$4, 10); var$6 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$2 = var$5.$length0; var$3 = var$8.length; if (var$2 >= 0 && var$2 <= (var$3 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$2); return var$6; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); }, nms_RenderGlobal_markRenderersForNewPosition = ($this, $par1, $par2, $par3) => { let $var4, $var5, $var6, var$7, $var7, $var8, $var9, $var10, $var11, $var12, $var15, $var13, $var14, var$17, var$18; $par2 = $par1 + (-8) | 0; $par3 = $par3 + (-8) | 0; $this.$minBlockX = 2147483647; $this.$minBlockY = 2147483647; $this.$minBlockZ = 2147483647; $this.$maxBlockX = (-2147483648); $this.$maxBlockY = (-2147483648); $this.$maxBlockZ = (-2147483648); $var4 = $this.$renderChunksWide * 16 | 0; $var5 = $var4 / 2 | 0; $var6 = 0; var$7 = $var4 - 1 | 0; while ($var6 < $this.$renderChunksWide) { $var7 = $var6 * 16 | 0; $var8 = ($var7 + $var5 | 0) - $par2 | 0; if ($var8 < 0) $var8 = $var8 - var$7 | 0; $var7 = $var7 - $rt_imul($var8 / $var4 | 0, $var4) | 0; if ($var7 < $this.$minBlockX) $this.$minBlockX = $var7; if ($var7 > $this.$maxBlockX) $this.$maxBlockX = $var7; $var9 = 0; while ($var9 < $this.$renderChunksDeep) { $var10 = $var9 * 16 | 0; $var11 = ($var10 + $var5 | 0) - $par3 | 0; if ($var11 < 0) $var11 = $var11 - var$7 | 0; $var10 = $var10 - $rt_imul($var11 / $var4 | 0, $var4) | 0; if ($var10 < $this.$minBlockZ) $this.$minBlockZ = $var10; if ($var10 > $this.$maxBlockZ) $this.$maxBlockZ = $var10; $var12 = 0; while (true) { $var15 = $this.$renderChunksTall; if ($var12 >= $var15) break; $var13 = $var12 * 16 | 0; if ($var13 < $this.$minBlockY) $this.$minBlockY = $var13; if ($var13 > $this.$maxBlockY) $this.$maxBlockY = $var13; $var14 = $this.$worldRenderers.data[$rt_imul($rt_imul($var9, $var15) + $var12 | 0, $this.$renderChunksWide) + $var6 | 0]; $var15 = $var14.$needsUpdate; nms_WorldRenderer_setPosition($var14, $var7, $var13, $var10); if (!$var15 && $var14.$needsUpdate) { var$17 = $this.$worldRenderersToUpdate; ju_ArrayList_ensureCapacity(var$17, var$17.$size0 + 1 | 0); var$18 = var$17.$array.data; $var15 = var$17.$size0; var$17.$size0 = $var15 + 1 | 0; var$18[$var15] = $var14; var$17.$modCount = var$17.$modCount + 1 | 0; } $var12 = $var12 + 1 | 0; } $var9 = $var9 + 1 | 0; } $var6 = $var6 + 1 | 0; } }, nms_RenderGlobal_sortAndRender = ($this, $par1EntityLivingBase, $par2, $par3) => { let $var5, $var33, var$6, $var7, var$8, $var11, var$10, $var9, $var13, $var15, $fx, $fz, $ccz, $ccy, $ccx, var$19, $c, $i, $forced, $j, $var34, var$25, $totalRenderers, $inFrustumCount, var$28, $occlusionForceStep, $forceStartIndex, $forceEndIndex, $ccx_0, $shouldTry, $q, $var6, var$36; $var5 = 0; a: while (true) { if ($var5 >= 10) { if ($this.$mc5.$gameSettings.$renderDistance != $this.$renderDistance0) nms_RenderGlobal_loadRenderers($this); if (!$par2) { $this.$renderersLoaded = 0; $this.$dummyRenderInt = 0; $this.$renderersBeingClipped = 0; $this.$renderersBeingOccluded = 0; $this.$renderersBeingRendered = 0; $this.$renderersSkippingRenderPass = 0; } $var33 = $par1EntityLivingBase.$lastTickPosX; var$6 = $par1EntityLivingBase.$posX; $var33 = $var33 + (var$6 - $var33) * $par3; $var7 = $par1EntityLivingBase.$lastTickPosY; var$8 = $par1EntityLivingBase.$posY; $var7 = $var7 + (var$8 - $var7) * $par3; $var11 = $par1EntityLivingBase.$lastTickPosZ; var$10 = $par1EntityLivingBase.$posZ; $var9 = $var11 + (var$10 - $var11) * $par3; $var11 = var$6 - $this.$prevSortX; $var13 = var$8 - $this.$prevSortY; $var15 = var$10 - $this.$prevSortZ; $fx = $var33 | 0; if ($var33 < $fx) $fx = $fx - 1 | 0; $fz = $var9 | 0; if ($var9 < $fz) $fz = $fz - 1 | 0; if ($var11 * $var11 + $var13 * $var13 + $var15 * $var15 > 16.0) { $this.$prevSortX = var$6; $this.$prevSortY = var$8; $this.$prevSortZ = var$10; $ccz = var$6 | 0; if (var$6 < $ccz) $ccz = $ccz - 1 | 0; $ccy = var$8 | 0; if (var$8 < $ccy) $ccy = $ccy - 1 | 0; $ccx = var$10 | 0; if (var$10 < $ccx) $ccx = $ccx - 1 | 0; nms_RenderGlobal_markRenderersForNewPosition($this, $ccz, $ccy, $ccx); var$19 = $this.$sortedWorldRenderers; $c = new nms_EntitySorter; $c.$entityPosX0 = -$par1EntityLivingBase.$posX; $c.$entityPosY0 = -$par1EntityLivingBase.$posY; $c.$entityPosZ0 = -$par1EntityLivingBase.$posZ; ju_Arrays_sort(var$19, $c); } $fx = $fx >> 4; $var13 = $var7 + 0.11999999731779099; $ccx = $var13 | 0; if ($var13 < $ccx) $ccx = $ccx - 1 | 0; b: { $var5 = $ccx >> 4; $fz = $fz >> 4; nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_steadyTimeFunc(); if (!$par2) { $i = 0; while (true) { var$19 = $this.$sortedWorldRenderers.data; if ($i >= var$19.length) break b; $c = var$19[$i]; $ccx = $c.$posXPlus - $fx | 0; $ccy = $c.$posYPlus - $var5 | 0; $ccz = $c.$posZPlus - $fz | 0; $forced = $ccx < 2 && $ccx > (-2) && $ccy < 2 && $ccy > (-2) && $ccz < 2 && $ccz > (-2) ? 1 : 0; c: { if (!$forced) { $ccx = $c.$chunkIndex; if ($ccx != (-1)) { if (!$c.$isWaitingOnOcclusionQuery) break c; $j = $this.$glOcclusionQuery.data[$ccx]; $par1EntityLivingBase = nleg_EaglerAdapterGL30_queryObjs; $par1EntityLivingBase = $j < $par1EntityLivingBase.$size4 && $j >= 0 ? $par1EntityLivingBase.$values.data[$j] : null; if (!(nlea_EaglerAdapterImpl2_webgl.getQueryParameter($par1EntityLivingBase.$obj6, 34919) <= 0 ? 0 : 1)) break c; $par1EntityLivingBase = nleg_EaglerAdapterGL30_queryObjs; $par1EntityLivingBase = $j < $par1EntityLivingBase.$size4 && $j >= 0 ? $par1EntityLivingBase.$values.data[$j] : null; $c.$isVisible = nlea_EaglerAdapterImpl2_webgl.getQueryParameter($par1EntityLivingBase.$obj6, 34918) <= 0 ? 0 : 1; $c.$isWaitingOnOcclusionQuery = 0; break c; } } $c.$isVisible = 1; } $i = $i + 1 | 0; } } } $var34 = 0 + nms_RenderGlobal_renderSortedRenderers($this, 0, $this.$sortedWorldRenderers.data.length, $par2, $par3) | 0; $par3 = $var7 - 0.11999999731779099; var$25 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!$par2 && Long_gt(Long_sub(var$25, $this.$lastOcclusionQuery), Long_fromInt(50))) { var$19 = $this.$sortedWorldRenderers.data; $totalRenderers = var$19.length; $inFrustumCount = 0; $i = 0; while ($i < $totalRenderers) { if (var$19[$i].$isInFrustum) $inFrustumCount = $inFrustumCount + 1 | 0; $i = $i + 1 | 0; } var$28 = $inFrustumCount / 10.0; $i = var$28 | 0; if (var$28 < $i) $i = $i - 1 | 0; $occlusionForceStep = $i + 1 | 0; $par2 = $this.$occlusionForcedIndexShift; $forceStartIndex = $rt_imul($par2, $occlusionForceStep); $forceEndIndex = $forceStartIndex + $occlusionForceStep | 0; $this.$occlusionForcedIndexShift = $par2 + 1 | 0; if (($forceEndIndex + ($occlusionForceStep >> 1) | 0) <= $inFrustumCount) $inFrustumCount = $forceEndIndex; else $this.$occlusionForcedIndexShift = 0; $par2 = 0; $this.$lastOcclusionQuery = var$25; nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glColorMask(0, 0, 0, 0); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glBindOcclusionBB(); $i = 0; while (true) { var$19 = $this.$sortedWorldRenderers.data; if ($i >= var$19.length) break; $c = var$19[$i]; $ccx_0 = $c.$posXPlus - $fx | 0; $ccy = $c.$posYPlus - $var5 | 0; $ccz = $c.$posZPlus - $fz | 0; $shouldTry = $c.$isInFrustum; if ($shouldTry) { $par2 = $par2 + 1 | 0; if (!$shouldTry && $par2 >= $forceStartIndex && $par2 < $inFrustumCount) $shouldTry = 1; } if ($shouldTry && !($ccx_0 < 2 && $ccx_0 > (-2) && $ccy < 2 && $ccy > (-2) && $ccz < 2 && $ccz > (-2)) && !$c.$isWaitingOnOcclusionQuery) { $c.$isWaitingOnOcclusionQuery = 1; var$19 = $this.$glOcclusionQuery.data; $ccx = $c.$chunkIndex; $q = var$19[$ccx]; if ($q == (-1)) { $par1EntityLivingBase = nleg_EaglerAdapterGL30_queryObjs; $var6 = new nlea_EaglerAdapterImpl2$QueryGL; $var6.$obj6 = nlea_EaglerAdapterImpl2_webgl.createQuery(); $q = nleg_GLObjectMap_register($par1EntityLivingBase, $var6); var$19[$ccx] = $q; } $par1EntityLivingBase = nleg_EaglerAdapterGL30_queryObjs; $par1EntityLivingBase = $q < $par1EntityLivingBase.$size4 && $q >= 0 ? $par1EntityLivingBase.$values.data[$q] : null; nlea_EaglerAdapterImpl2_webgl.beginQuery(36202, $par1EntityLivingBase.$obj6); nleg_EaglerAdapterGL30_glDrawOcclusionBB($c.$posX3 - $var33, $c.$posY4 - $par3, $c.$posZ2 - $var9, 16.0, 16.0, 16.0); nlea_EaglerAdapterImpl2_webgl.endQuery(36202); } $i = $i + 1 | 0; } nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 1); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glEnable(2884); } return $var34; } $i = $this.$worldRenderersCheckIndex + 1 | 0; var$19 = $this.$worldRenderers.data; $i = $i % var$19.length | 0; $this.$worldRenderersCheckIndex = $i; $var6 = var$19[$i]; if ($var6.$needsUpdate) { $c = $this.$worldRenderersToUpdate; $ccy = $c.$modCount; $ccz = $c.$size(); $forced = 0; d: { while (true) { if (!($forced >= $ccz ? 0 : 1)) { $i = 0; break d; } if ($ccy < $c.$modCount) break a; $ccx = $forced + 1 | 0; var$36 = $c.$get($forced); if (var$36 === $var6 ? 1 : var$36 !== null ? var$36.$equals($var6) : $var6 !== null ? 0 : 1) break; $forced = $ccx; } $i = 1; } if (!$i) { $c = $this.$worldRenderersToUpdate; ju_ArrayList_ensureCapacity($c, $c.$size0 + 1 | 0); var$19 = $c.$array.data; $ccx = $c.$size0; $c.$size0 = $ccx + 1 | 0; var$19[$ccx] = $var6; $c.$modCount = $c.$modCount + 1 | 0; } } $var5 = $var5 + 1 | 0; } $par1EntityLivingBase = new ju_ConcurrentModificationException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); }, nms_RenderGlobal_renderSortedRenderers = ($this, $var7, $par2, $par3, $par4) => { let $var19, var$6, $var8, $var6, $var16, var$10, $var15, $var20, $var10, $var12, $var14, var$16, $var17, $var18, var$19; $var19 = $this.$glRenderLists; var$6 = $var19.$array; $var8 = 0; $var6 = $var19.$size0; $var16 = null; if ($var8 > $var6) { $var19 = new jl_IllegalArgumentException; $var19.$suppressionEnabled = 1; $var19.$writableStackTrace = 1; $rt_throw($var19); } while ($var8 < $var6) { var$10 = var$6.data; $var15 = $var8 + 1 | 0; var$10[$var8] = $var16; $var8 = $var15; } $var19.$size0 = 0; $var19.$modCount = $var19.$modCount + 1 | 0; $var6 = 0; while ($var7 < $par2) { if (!$par3) { $this.$renderersLoaded = $this.$renderersLoaded + 1 | 0; var$6 = $this.$sortedWorldRenderers.data; if (var$6[$var7].$skipRenderPass.data[$par3]) $this.$renderersSkippingRenderPass = $this.$renderersSkippingRenderPass + 1 | 0; else if (!var$6[$var7].$isInFrustum) $this.$renderersBeingClipped = $this.$renderersBeingClipped + 1 | 0; else if ($this.$occlusionEnabled && !var$6[$var7].$isVisible) $this.$renderersBeingOccluded = $this.$renderersBeingOccluded + 1 | 0; else $this.$renderersBeingRendered = $this.$renderersBeingRendered + 1 | 0; } var$6 = $this.$sortedWorldRenderers.data; if (!var$6[$var7].$skipRenderPass.data[$par3] && var$6[$var7].$isInFrustum && !($this.$occlusionEnabled && !var$6[$var7].$isVisible)) { $var19 = var$6[$var7]; if ((!$var19.$isInFrustum ? (-1) : $var19.$skipRenderPass.data[$par3] ? (-1) : $var19.$glRenderList + $par3 | 0) >= 0) { $var19 = $this.$glRenderLists; $var16 = var$6[$var7]; ju_ArrayList_ensureCapacity($var19, $var19.$size0 + 1 | 0); var$6 = $var19.$array.data; $var15 = $var19.$size0; $var19.$size0 = $var15 + 1 | 0; var$6[$var15] = $var16; $var19.$modCount = $var19.$modCount + 1 | 0; $var6 = $var6 + 1 | 0; } } $var7 = $var7 + 1 | 0; } $var19 = $this.$mc5.$renderViewEntity; $var20 = $var19.$lastTickPosX; $var20 = $var20 + ($var19.$posX - $var20) * $par4; $var10 = $var19.$lastTickPosY; $var10 = $var10 + ($var19.$posY - $var10) * $par4; $var12 = $var19.$lastTickPosZ; $var12 = $var12 + ($var19.$posZ - $var12) * $par4; $var14 = 0; $var15 = 0; while (true) { var$6 = $this.$allRenderLists.data; if ($var15 >= var$6.length) break; $var19 = var$6[$var15]; $var19.$field_78430_h = 0; $var19.$field_78431_i = 0; $var15 = $var15 + 1 | 0; } var$16 = 0; while (true) { $var19 = $this.$glRenderLists; $var7 = $rt_compare(var$16, $var19.$size0); if ($var7 >= 0) { nms_EntityRenderer_enableLightmap($this.$mc5.$entityRenderer, $par4); $var7 = 0; while (true) { var$6 = $this.$allRenderLists.data; if ($var7 >= var$6.length) break; nms_RenderList_func_78419_a(var$6[$var7]); $var7 = $var7 + 1 | 0; } nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); return $var6; } if (var$16 < 0) break; if ($var7 >= 0) break; $var16 = $var19.$array.data[var$16]; $var17 = (-1); $var18 = 0; while ($var18 < $var14) { $var19 = $this.$allRenderLists.data[$var18]; $var7 = $var16.$posXMinus; $par2 = $var16.$posYMinus; $var8 = $var16.$posZMinus; if (!$var19.$field_78430_h ? 0 : $var7 == $var19.$field_78429_a && $par2 == $var19.$field_78427_b && $var8 == $var19.$field_78428_c ? 1 : 0) $var17 = $var18; $var18 = $var18 + 1 | 0; } if ($var17 >= 0) { $var18 = $var14; $var14 = $var17; } else { $var18 = $var14 + 1 | 0; $var19 = $this.$allRenderLists.data[$var14]; $var7 = $var16.$posXMinus; $par2 = $var16.$posYMinus; $var8 = $var16.$posZMinus; $var19.$field_78430_h = 1; var$19 = $var19.$field_78424_g; var$19.$position0 = 0; var$19.$limit0 = var$19.$capacity; var$19.$mark = (-1); $var19.$field_78429_a = $var7; $var19.$field_78427_b = $par2; $var19.$field_78428_c = $var8; $var19.$field_78425_d = $var20; $var19.$field_78426_e = $var10; $var19.$field_78423_f = $var12; } $var19 = $this.$allRenderLists.data[$var14]; $var7 = !$var16.$isInFrustum ? (-1) : $var16.$skipRenderPass.data[$par3] ? (-1) : $var16.$glRenderList + $par3 | 0; jn_IntBufferImpl_put($var19.$field_78424_g, $var7); $var16 = $var19.$field_78424_g; if (!($var16.$limit0 - $var16.$position0 | 0)) nms_RenderList_func_78419_a($var19); var$16 = var$16 + 1 | 0; $var14 = $var18; } $var19 = new jl_IndexOutOfBoundsException; $var19.$suppressionEnabled = 1; $var19.$writableStackTrace = 1; $rt_throw($var19); }, nms_RenderGlobal_updateClouds = $this => { let var$1, $var1, $var2, $var3; a: { var$1 = $this.$cloudTickCounter + 1 | 0; $this.$cloudTickCounter = var$1; if (!(var$1 % 20 | 0)) { $var1 = $this.$damagedBlocks; if ($var1.$cachedValues === null) { $var2 = new ju_HashMap$2; $var2.$this$01 = $var1; $var1.$cachedValues = $var2; } $var1 = $var1.$cachedValues.$iterator(); while (true) { if (!$var1.$hasNext()) break a; $var3 = ($var1.$next()).$createdAtCloudUpdateTick; if (($this.$cloudTickCounter - $var3 | 0) > 400) $var1.$remove0(); } } } }, nms_RenderGlobal_renderSky = ($this, $par1) => { let $var2, $var6, $var7, $var8, $var8_0, $var23, $var21, $var24, $var9, $var11, $var12, $var13, $var27, var$15, $var14, $var15, $var22, var$19, $var26, $var29, $var30, $var16, $var17, $var18, $var19, var$27, var$28, $var10, $var20, $var25, var$32, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$32 = $thread.pop();$var25 = $thread.pop();$var20 = $thread.pop();$var10 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var30 = $thread.pop();$var29 = $thread.pop();$var26 = $thread.pop();var$19 = $thread.pop();$var22 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();var$15 = $thread.pop();$var27 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var24 = $thread.pop();$var21 = $thread.pop();$var23 = $thread.pop();$var8_0 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$mc5.$theWorld.$provider; if ($var2.$dimensionId == 1) { nleg_EaglerAdapterGL30_glDisable(2912); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nms_RenderGlobal_$callClinit(); $var2 = nms_RenderGlobal_locationEndSkyPng; $ptr = 1; continue main; } if (!$var2.$isSurfaceWorld()) return; nleg_EaglerAdapterGL30_glDisable(3553); $var2 = nms_World_getSkyColor($this.$theWorld0, $this.$mc5.$renderViewEntity, $par1); $var6 = $var2.$xCoord; $var7 = $var2.$yCoord; $var8 = $var2.$zCoord; if ($this.$mc5.$gameSettings.$anaglyph) { $var8_0 = $var6 * 30.0; $var6 = ($var8_0 + $var7 * 59.0 + $var8 * 11.0) / 100.0; $var7 = ($var8_0 + $var7 * 70.0) / 100.0; $var8 = ($var8_0 + $var8 * 70.0) / 100.0; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var6; nleg_EaglerAdapterGL30_colorG = $var7; nleg_EaglerAdapterGL30_colorB = $var8; nleg_EaglerAdapterGL30_colorA = 1.0; nlea_Tessellator_$callClinit(); $var23 = nlea_Tessellator_instance; if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glEnable(2912); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var6; nleg_EaglerAdapterGL30_colorG = $var7; nleg_EaglerAdapterGL30_colorB = $var8; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glCallList($this.$glSkyList); nleg_EaglerAdapterGL30_glDisable(2912); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); $var21 = $this.$theWorld0; $var2 = $var21.$provider; $var24 = $var2.$calcSunriseSunsetColors($var2.$calculateCelestialAngle($var21.$worldInfo.$worldTime, $par1), $par1); if ($var24 !== null) { nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glPushMatrix(); $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 1.0; $var2.$y = 0.0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.5707963705062866, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var21 = new ji_ByteArrayOutputStream; $var21.$buf = $rt_createByteArray(32); $var2.$out0 = $var21; $var21 = new jl_StringBuilder; $var21.$buffer = $rt_createCharArray(16); $var2.$sb = $var21; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var2 = $this.$theWorld0; $var9 = $var2.$provider.$calculateCelestialAngle($var2.$worldInfo.$worldTime, $par1) * 3.1415927410125732 * 2.0; $var8_0 = nms_MathHelper_SIN_TABLE.data[($var9 * 10430.3779296875 | 0) & 65535] >= 0.0 ? 0.0 : 180.0; $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = 0.0; $var2.$z = 1.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var8_0 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var21 = new ji_ByteArrayOutputStream; $var21.$buf = $rt_createByteArray(32); $var2.$out0 = $var21; $var21 = new jl_StringBuilder; $var21.$buffer = $rt_createCharArray(16); $var2.$sb = $var21; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = 0.0; $var2.$z = 1.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.5707963705062866, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var21 = new ji_ByteArrayOutputStream; $var21.$buf = $rt_createByteArray(32); $var2.$out0 = $var21; $var21 = new jl_StringBuilder; $var21.$buffer = $rt_createCharArray(16); $var2.$sb = $var21; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var24 = $var24.data; $var11 = $var24[0]; $var12 = $var24[1]; $var13 = $var24[2]; if ($this.$mc5.$gameSettings.$anaglyph) { $var8_0 = $var11 * 30.0; $var11 = ($var8_0 + $var12 * 59.0 + $var13 * 11.0) / 100.0; $var12 = ($var8_0 + $var12 * 70.0) / 100.0; $var13 = ($var8_0 + $var13 * 70.0) / 100.0; } if ($var23.$isDrawing) nlea_Tessellator_draw($var23); $var23.$isDrawing = 1; $var23.$vertexCount = 0; $var23.$rawBufferIndex = 0; $var23.$addedVertices = 0; $var23.$drawMode = 6; $var23.$hasNormals = 0; $var23.$hasColor = 0; $var23.$hasTexture = 0; $var23.$hasBrightness = 0; $var23.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var23, $var11 * 255.0 | 0, $var12 * 255.0 | 0, $var13 * 255.0 | 0, $var24[3] * 255.0 | 0); nlea_Tessellator_addVertex($var23, 0.0, 100.0, 0.0); nlea_Tessellator_setColorRGBA($var23, $var24[0] * 255.0 | 0, $var24[1] * 255.0 | 0, $var24[2] * 255.0 | 0, 0); $var27 = 0; while ($var27 <= 16) { $var13 = $var27 * 3.1415927410125732 * 2.0 / 16.0; var$15 = nms_MathHelper_SIN_TABLE.data; $var9 = $var13 * 10430.3779296875; $var14 = var$15[($var9 | 0) & 65535]; $var15 = var$15[($var9 + 16384.0 | 0) & 65535]; nlea_Tessellator_addVertex($var23, $var14 * 120.0, $var15 * 120.0, -$var15 * 40.0 * $var24[3]); $var27 = $var27 + 1 | 0; } nlea_Tessellator_draw($var23); nleg_EaglerAdapterGL30_glPopMatrix(); } nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glBlendFunc(770, 1); nleg_EaglerAdapterGL30_glPushMatrix(); $var2 = $this.$theWorld0; $var9 = $var2.$prevRainingStrength; $var8_0 = 1.0 - ($var9 + ($var2.$rainingStrength - $var9) * $par1); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = $var8_0; $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = 0.0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var21 = new ji_ByteArrayOutputStream; $var21.$buf = $rt_createByteArray(32); $var2.$out0 = $var21; $var21 = new jl_StringBuilder; $var21.$buffer = $rt_createCharArray(16); $var2.$sb = $var21; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = 1.0; $var2.$z = 0.0; $var21 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, $var21, $var21); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var21 = new ji_ByteArrayOutputStream; $var21.$buf = $rt_createByteArray(32); $var2.$out0 = $var21; $var21 = new jl_StringBuilder; $var21.$buffer = $rt_createCharArray(16); $var2.$sb = $var21; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var2 = $this.$theWorld0; $var9 = $var2.$provider.$calculateCelestialAngle($var2.$worldInfo.$worldTime, $par1) * 360.0; $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 1.0; $var2.$y = 0.0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var9 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var21 = new ji_ByteArrayOutputStream; $var21.$buf = $rt_createByteArray(32); $var2.$out0 = $var21; $var21 = new jl_StringBuilder; $var21.$buffer = $rt_createCharArray(16); $var2.$sb = $var21; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_RenderGlobal_$callClinit(); $var2 = nms_RenderGlobal_locationSunPng; $ptr = 2; continue main; case 1: nle_TextureLocation_bindTexture($var2); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var21 = nlea_Tessellator_instance; $var22 = 0; while ($var22 < 6) { nleg_EaglerAdapterGL30_glPushMatrix(); if ($var22 == 1) { $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 1.0; $var2.$y = 0.0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.5707963705062866, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$19 = new ji_ByteArrayOutputStream; var$19.$buf = $rt_createByteArray(32); $var2.$out0 = var$19; var$19 = new jl_StringBuilder; var$19.$buffer = $rt_createCharArray(16); $var2.$sb = var$19; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($var22 == 2) { $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 1.0; $var2.$y = 0.0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$19 = new otcic_JSStderrPrintStream; $var2 = new ji_ByteArrayOutputStream; $var2.$buf = $rt_createByteArray(32); var$19.$out0 = $var2; $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); var$19.$sb = $var2; var$19.$buffer0 = $rt_createCharArray(32); var$19.$autoFlush = 0; var$19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$19; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($var22 == 3) { $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 1.0; $var2.$y = 0.0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$19 = new ji_ByteArrayOutputStream; var$19.$buf = $rt_createByteArray(32); $var2.$out0 = var$19; var$19 = new jl_StringBuilder; var$19.$buffer = $rt_createCharArray(16); $var2.$sb = var$19; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($var22 == 4) { $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = 0.0; $var2.$z = 1.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.5707963705062866, nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$19 = new ji_ByteArrayOutputStream; var$19.$buf = $rt_createByteArray(32); $var2.$out0 = var$19; var$19 = new jl_StringBuilder; var$19.$buffer = $rt_createCharArray(16); $var2.$sb = var$19; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($var22 == 5) { $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = 0.0; $var2.$z = 1.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$19 = new ji_ByteArrayOutputStream; var$19.$buf = $rt_createByteArray(32); $var2.$out0 = var$19; var$19 = new jl_StringBuilder; var$19.$buffer = $rt_createCharArray(16); $var2.$sb = var$19; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($var21.$isDrawing) nlea_Tessellator_draw($var21); $var21.$isDrawing = 1; $var21.$vertexCount = 0; $var21.$rawBufferIndex = 0; $var21.$addedVertices = 0; $var21.$drawMode = 7; $var21.$hasNormals = 0; $var21.$hasColor = 0; $var21.$hasTexture = 0; $var21.$hasBrightness = 0; $var21.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var21, 40, 40, 40, 255); $var21.$hasTexture = 1; $var21.$textureU = 0.0; $var21.$textureV = 0.0; nlea_Tessellator_addVertex($var21, (-100.0), (-100.0), (-100.0)); $var21.$hasTexture = 1; $var21.$textureU = 0.0; $var21.$textureV = 16.0; nlea_Tessellator_addVertex($var21, (-100.0), (-100.0), 100.0); $var21.$hasTexture = 1; $var21.$textureU = 16.0; $var21.$textureV = 16.0; nlea_Tessellator_addVertex($var21, 100.0, (-100.0), 100.0); $var21.$hasTexture = 1; $var21.$textureU = 16.0; $var21.$textureV = 0.0; nlea_Tessellator_addVertex($var21, 100.0, (-100.0), (-100.0)); nlea_Tessellator_draw($var21); nleg_EaglerAdapterGL30_glPopMatrix(); $var22 = $var22 + 1 | 0; } if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glEnable(3008); return; case 2: nle_TextureLocation_bindTexture($var2); if ($rt_suspending()) { break main; } if ($var23.$isDrawing) nlea_Tessellator_draw($var23); $var23.$isDrawing = 1; $var23.$vertexCount = 0; $var23.$rawBufferIndex = 0; $var23.$addedVertices = 0; $var23.$drawMode = 7; $var23.$hasNormals = 0; $var23.$hasColor = 0; $var23.$hasTexture = 0; $var23.$hasBrightness = 0; $var23.$isColorDisabled = 0; $var23.$hasTexture = 1; $var23.$textureU = 0.0; $var23.$textureV = 0.0; nlea_Tessellator_addVertex($var23, (-30.0), 100.0, (-30.0)); $var23.$hasTexture = 1; $var23.$textureU = 1.0; $var23.$textureV = 0.0; nlea_Tessellator_addVertex($var23, 30.0, 100.0, (-30.0)); $var23.$hasTexture = 1; $var23.$textureU = 1.0; $var23.$textureV = 1.0; nlea_Tessellator_addVertex($var23, 30.0, 100.0, 30.0); $var23.$hasTexture = 1; $var23.$textureU = 0.0; $var23.$textureV = 1.0; nlea_Tessellator_addVertex($var23, (-30.0), 100.0, 30.0); nlea_Tessellator_draw($var23); $var2 = nms_RenderGlobal_locationMoonPhasesPng; $ptr = 3; case 3: nle_TextureLocation_bindTexture($var2); if ($rt_suspending()) { break main; } $var26 = Long_lo(Long_div($this.$theWorld0.$worldInfo.$worldTime, Long_fromInt(24000))) % 8 | 0; $var29 = $var26 % 4 | 0; $var30 = ($var26 / 4 | 0) % 2 | 0; $var16 = ($var29 + 0 | 0) / 4.0; $var17 = ($var30 + 0 | 0) / 2.0; $var18 = ($var29 + 1 | 0) / 4.0; $var19 = ($var30 + 1 | 0) / 2.0; if ($var23.$isDrawing) nlea_Tessellator_draw($var23); $var23.$isDrawing = 1; $var23.$vertexCount = 0; $var23.$rawBufferIndex = 0; $var23.$addedVertices = 0; $var23.$drawMode = 7; $var23.$hasNormals = 0; $var23.$hasColor = 0; $var23.$hasTexture = 0; $var23.$hasBrightness = 0; $var23.$isColorDisabled = 0; var$27 = $var18; var$28 = $var19; $var23.$hasTexture = 1; $var10 = var$27; $var23.$textureU = $var10; $var11 = var$28; $var23.$textureV = $var11; nlea_Tessellator_addVertex($var23, (-20.0), (-100.0), 20.0); var$27 = $var16; $var23.$hasTexture = 1; $var9 = var$27; $var23.$textureU = $var9; $var23.$textureV = $var11; nlea_Tessellator_addVertex($var23, 20.0, (-100.0), 20.0); var$27 = $var17; $var23.$hasTexture = 1; $var23.$textureU = $var9; $var9 = var$27; $var23.$textureV = $var9; nlea_Tessellator_addVertex($var23, 20.0, (-100.0), (-20.0)); $var23.$hasTexture = 1; $var23.$textureU = $var10; $var23.$textureV = $var9; nlea_Tessellator_addVertex($var23, (-20.0), (-100.0), (-20.0)); nlea_Tessellator_draw($var23); nleg_EaglerAdapterGL30_glDisable(3553); $var20 = nms_World_getStarBrightness($this.$theWorld0, $par1) * $var8_0; if ($var20 > 0.0) { nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var20; nleg_EaglerAdapterGL30_colorG = $var20; nleg_EaglerAdapterGL30_colorB = $var20; nleg_EaglerAdapterGL30_colorA = $var20; nleg_EaglerAdapterGL30_glCallList($this.$starGLCallList); } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glEnable(2912); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 0.0; nleg_EaglerAdapterGL30_colorG = 0.0; nleg_EaglerAdapterGL30_colorB = 0.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var25 = (nms_EntityLivingBase_getPosition($this.$mc5.$thePlayer, $par1)).$yCoord - ($this.$theWorld0.$worldInfo.$terrainType !== nms_WorldType_FLAT ? 63.0 : 0.0); if ($var25 < 0.0) { nleg_EaglerAdapterGL30_glPushMatrix(); $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = 12.0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var21 = new ji_ByteArrayOutputStream; $var21.$buf = $rt_createByteArray(32); $var2.$out0 = $var21; $var21 = new jl_StringBuilder; $var21.$buffer = $rt_createCharArray(16); $var2.$sb = $var21; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glCallList($this.$glSkyList2); nleg_EaglerAdapterGL30_glPopMatrix(); $par1 = -($var25 + 65.0); if ($var23.$isDrawing) nlea_Tessellator_draw($var23); $var23.$isDrawing = 1; $var23.$vertexCount = 0; $var23.$rawBufferIndex = 0; $var23.$addedVertices = 0; $var23.$drawMode = 7; $var23.$hasNormals = 0; $var23.$hasColor = 0; $var23.$hasTexture = 0; $var23.$hasBrightness = 0; $var23.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var23, 0, 0, 0, 255); var$32 = $par1; nlea_Tessellator_addVertex($var23, (-1.0), var$32, 1.0); nlea_Tessellator_addVertex($var23, 1.0, var$32, 1.0); nlea_Tessellator_addVertex($var23, 1.0, (-1.0), 1.0); nlea_Tessellator_addVertex($var23, (-1.0), (-1.0), 1.0); nlea_Tessellator_addVertex($var23, (-1.0), (-1.0), (-1.0)); nlea_Tessellator_addVertex($var23, 1.0, (-1.0), (-1.0)); nlea_Tessellator_addVertex($var23, 1.0, var$32, (-1.0)); nlea_Tessellator_addVertex($var23, (-1.0), var$32, (-1.0)); nlea_Tessellator_addVertex($var23, 1.0, (-1.0), (-1.0)); nlea_Tessellator_addVertex($var23, 1.0, (-1.0), 1.0); nlea_Tessellator_addVertex($var23, 1.0, var$32, 1.0); nlea_Tessellator_addVertex($var23, 1.0, var$32, (-1.0)); nlea_Tessellator_addVertex($var23, (-1.0), var$32, (-1.0)); nlea_Tessellator_addVertex($var23, (-1.0), var$32, 1.0); nlea_Tessellator_addVertex($var23, (-1.0), (-1.0), 1.0); nlea_Tessellator_addVertex($var23, (-1.0), (-1.0), (-1.0)); nlea_Tessellator_addVertex($var23, (-1.0), (-1.0), (-1.0)); nlea_Tessellator_addVertex($var23, (-1.0), (-1.0), 1.0); nlea_Tessellator_addVertex($var23, 1.0, (-1.0), 1.0); nlea_Tessellator_addVertex($var23, 1.0, (-1.0), (-1.0)); nlea_Tessellator_draw($var23); } if (!$this.$theWorld0.$provider.$isSkyColored()) { nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var6; nleg_EaglerAdapterGL30_colorG = $var7; nleg_EaglerAdapterGL30_colorB = $var8; nleg_EaglerAdapterGL30_colorA = 1.0; } else { $par1 = $var6 * 0.20000000298023224 + 0.03999999910593033; $var8_0 = $var7 * 0.20000000298023224 + 0.03999999910593033; $var6 = $var8 * 0.6000000238418579 + 0.10000000149011612; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par1; nleg_EaglerAdapterGL30_colorG = $var8_0; nleg_EaglerAdapterGL30_colorB = $var6; nleg_EaglerAdapterGL30_colorA = 1.0; } nleg_EaglerAdapterGL30_glPushMatrix(); $var8_0 = -($var25 - 16.0); $var2 = nleg_EaglerAdapterGL30_deevis; $var2.$x = 0.0; $var2.$y = $var8_0; $var2.$z = 0.0; $var2 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var2, $var2); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; $var21 = new ji_ByteArrayOutputStream; $var21.$buf = $rt_createByteArray(32); $var2.$out0 = $var21; $var21 = new jl_StringBuilder; $var21.$buffer = $rt_createCharArray(16); $var2.$sb = $var21; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glCallList($this.$glSkyList2); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glEnable(3553); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var2, $var6, $var7, $var8, $var8_0, $var23, $var21, $var24, $var9, $var11, $var12, $var13, $var27, var$15, $var14, $var15, $var22, var$19, $var26, $var29, $var30, $var16, $var17, $var18, $var19, var$27, var$28, $var10, $var20, $var25, var$32, $ptr); }, nms_RenderGlobal_renderClouds = ($this, $par1) => { let $var5, $var24, $var13, $var15, $var2, $var3, $var6, $var10, $var11, $var12, $var10_0, $var17, $var18, $var19, $var20, $var21, var$18, $var22, $var23, var$21, var$22, $var23_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var23_0 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();var$18 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var10_0 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var6 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var24 = $thread.pop();$var5 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$mc5.$theWorld.$provider.$isSurfaceWorld()) return; if ($this.$mc5.$gameSettings.$fancyGraphics) { $ptr = 2; continue main; } nleg_EaglerAdapterGL30_glDisable(2884); $var5 = $this.$mc5.$renderViewEntity; $var24 = $var5.$lastTickPosY; $var13 = $var5.$posY - $var24; $var15 = $par1; $var2 = $var24 + $var13 * $var15; $var3 = 32; nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; nms_RenderGlobal_$callClinit(); $var6 = nms_RenderGlobal_locationCloudsPng; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var6); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $var6 = nms_World_getCloudColour($this.$theWorld0, $par1); $var10 = $var6.$xCoord; $var11 = $var6.$yCoord; $var12 = $var6.$zCoord; $var6 = $this.$mc5; if ($var6.$gameSettings.$anaglyph) { $var10_0 = $var10 * 30.0; $var10 = ($var10_0 + $var11 * 59.0 + $var12 * 11.0) / 100.0; $var11 = ($var10_0 + $var11 * 70.0) / 100.0; $var12 = ($var10_0 + $var12 * 70.0) / 100.0; } $var24 = $this.$cloudTickCounter + $par1; $var6 = $var6.$renderViewEntity; $var13 = $var6.$prevPosX; $var13 = $var13 + ($var6.$posX - $var13) * $var15 + $var24 * 0.029999999329447746; $var24 = $var6.$prevPosZ; $var15 = $var24 + ($var6.$posZ - $var24) * $var15; $var24 = $var13 / 2048.0; $var17 = $var24 | 0; if ($var24 < $var17) $var17 = $var17 - 1 | 0; $var24 = $var15 / 2048.0; $var18 = $var24 | 0; if ($var24 < $var18) $var18 = $var18 - 1 | 0; $var24 = $var13 - ($var17 * 2048 | 0); $var13 = $var15 - ($var18 * 2048 | 0); $var19 = $this.$theWorld0.$provider.$getCloudHeight() - $var2 + 0.33000001311302185; $var20 = $var24 * 4.8828125E-4; $var21 = $var13 * 4.8828125E-4; if ($var5.$isDrawing) nlea_Tessellator_draw($var5); $var5.$isDrawing = 1; $var5.$vertexCount = 0; $var5.$rawBufferIndex = 0; $var5.$addedVertices = 0; $var5.$drawMode = 7; $var5.$hasNormals = 0; $var5.$hasColor = 0; $var5.$hasTexture = 0; $var5.$hasBrightness = 0; $var5.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var5, $var10 * 255.0 | 0, $var11 * 255.0 | 0, $var12 * 255.0 | 0, 204); var$18 = $var19; $var22 = (-256); while ($var22 < 256) { $var23 = (-256); while ($var23 < 256) { var$21 = $var22 + 0 | 0; var$22 = var$21; $var23_0 = $var23 + $var3 | 0; $var15 = $var23_0; $var13 = var$21 * 4.8828125E-4 + $var20; $var24 = $var23_0 * 4.8828125E-4 + $var21; $var5.$hasTexture = 1; $var2 = $var13; $var5.$textureU = $var2; $var10 = $var24; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, var$22, var$18, $var15); var$21 = $var22 + $var3 | 0; $var24 = var$21; $var13 = var$21 * 4.8828125E-4 + $var20; $var5.$hasTexture = 1; $var19 = $var13; $var5.$textureU = $var19; $var5.$textureV = $var10; nlea_Tessellator_addVertex($var5, $var24, var$18, $var15); var$21 = $var23 + 0 | 0; $var13 = var$21; $var15 = var$21 * 4.8828125E-4 + $var21; $var5.$hasTexture = 1; $var5.$textureU = $var19; $par1 = $var15; $var5.$textureV = $par1; nlea_Tessellator_addVertex($var5, $var24, var$18, $var13); $var5.$hasTexture = 1; $var5.$textureU = $var2; $var5.$textureV = $par1; nlea_Tessellator_addVertex($var5, var$22, var$18, $var13); $var23 = $var23_0; } $var22 = $var22 + $var3 | 0; } nlea_Tessellator_draw($var5); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(2884); return; case 2: nms_RenderGlobal_renderCloudsFancy($this, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var5, $var24, $var13, $var15, $var2, $var3, $var6, $var10, $var11, $var12, $var10_0, $var17, $var18, $var19, $var20, $var21, var$18, $var22, $var23, var$21, var$22, $var23_0, $ptr); }, nms_RenderGlobal_renderCloudsFancy = ($this, $par1) => { let $var15, $var6, $var10, var$5, $var2, $var3, $var4, $var8, $var12, $var13, $var14, $var19, $var20, $var21, var$16, var$17, $var34, var$19, $var22, $var23, var$22, $var27, var$24, var$25, var$26, var$27, $var28, $var29, $var30, $var31, $var32, $var33, var$34, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$34 = $thread.pop();$var33 = $thread.pop();$var32 = $thread.pop();$var31 = $thread.pop();$var30 = $thread.pop();$var29 = $thread.pop();$var28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();$var27 = $thread.pop();var$22 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();var$19 = $thread.pop();$var34 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var8 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();$var10 = $thread.pop();$var6 = $thread.pop();$var15 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glDisable(2884); $var15 = $this.$mc5.$renderViewEntity; $var6 = $var15.$lastTickPosY; $var10 = $var15.$posY - $var6; var$5 = $par1; $var2 = $var6 + $var10 * var$5; nlea_Tessellator_$callClinit(); $var3 = nlea_Tessellator_instance; $var4 = 12.0; $var6 = $this.$cloudTickCounter + $par1; $var10 = $var15.$prevPosX; $var8 = ($var10 + ($var15.$posX - $var10) * var$5 + $var6 * 0.029999999329447746) / 12.0; $var6 = $var15.$prevPosZ; $var10 = ($var6 + ($var15.$posZ - $var6) * var$5) / 12.0 + 0.33000001311302185; $var12 = $this.$theWorld0.$provider.$getCloudHeight() - $var2 + 0.33000001311302185; $var6 = $var8 / 2048.0; $var13 = $var6 | 0; if ($var6 < $var13) $var13 = $var13 - 1 | 0; $var6 = $var10 / 2048.0; $var14 = $var6 | 0; if ($var6 < $var14) $var14 = $var14 - 1 | 0; $var6 = $var8 - ($var13 * 2048 | 0); $var10 = $var10 - ($var14 * 2048 | 0); nms_RenderGlobal_$callClinit(); $var15 = nms_RenderGlobal_locationCloudsPng; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var15); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $var15 = nms_World_getCloudColour($this.$theWorld0, $par1); $var19 = $var15.$xCoord; $var20 = $var15.$yCoord; $var21 = $var15.$zCoord; if ($this.$mc5.$gameSettings.$anaglyph) { $par1 = $var19 * 30.0; $var19 = ($par1 + $var20 * 59.0 + $var21 * 11.0) / 100.0; $var20 = ($par1 + $var20 * 70.0) / 100.0; $var21 = ($par1 + $var21 * 70.0) / 100.0; } $var14 = $var6 | 0; var$16 = $rt_compare($var6, $var14); var$17 = (var$16 >= 0 ? $var14 : $var14 - 1 | 0) * 0.00390625; $var34 = $var10 | 0; $var13 = $rt_compare($var10, $var34); var$19 = ($var13 >= 0 ? $var34 : $var34 - 1 | 0) * 0.00390625; if (var$16 < 0) $var14 = $var14 - 1 | 0; $var22 = $var6 - $var14; if ($var13 < 0) $var34 = $var34 - 1 | 0; $var23 = $var10 - $var34; $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = $var4; $var15.$y = 1.0; $var15.$z = $var4; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; var$22 = new ji_ByteArrayOutputStream; var$22.$buf = $rt_createByteArray(32); $var15.$out0 = var$22; var$22 = new jl_StringBuilder; var$22.$buffer = $rt_createCharArray(16); $var15.$sb = var$22; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var27 = 0; var$24 = $rt_compare($var12, (-5.0)); var$25 = $rt_compare($var12, 5.0); $var10 = $var12 + 0.0; $par1 = $var12 + 4.0; var$26 = $par1; var$27 = $par1 - 9.765625E-4; while ($var27 < 2) { if (!$var27) nleg_EaglerAdapterGL30_glColorMask(0, 0, 0, 0); else if (!$this.$mc5.$gameSettings.$anaglyph) nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 1); else { nms_EntityRenderer_$callClinit(); if (nms_EntityRenderer_anaglyphField) nleg_EaglerAdapterGL30_glColorMask(1, 0, 0, 1); else nleg_EaglerAdapterGL30_glColorMask(0, 1, 1, 1); } $var28 = (-3); while ($var28 <= 4) { $var29 = (-3); while ($var29 <= 4) { if ($var3.$isDrawing) nlea_Tessellator_draw($var3); $var3.$isDrawing = 1; $var3.$vertexCount = 0; $var3.$rawBufferIndex = 0; $var3.$addedVertices = 0; $var3.$drawMode = 7; $var3.$hasNormals = 0; $var3.$hasColor = 0; $var3.$hasTexture = 0; $var3.$hasBrightness = 0; $var3.$isColorDisabled = 0; $var30 = $var28 * 8 | 0; $var31 = $var29 * 8 | 0; $var32 = $var30 - $var22; $var33 = $var31 - $var23; if (var$24 > 0) { nlea_Tessellator_setColorRGBA($var3, $var19 * 0.699999988079071 * 255.0 | 0, $var20 * 0.699999988079071 * 255.0 | 0, $var21 * 0.699999988079071 * 255.0 | 0, 204); nlea_Tessellator_setNormal($var3, 0.0, (-1.0), 0.0); var$34 = $var32 + 0.0; var$5 = $var33 + 8.0; $var6 = ($var30 + 0.0) * 0.00390625 + var$17; $var8 = ($var31 + 8.0) * 0.00390625 + var$19; $var3.$hasTexture = 1; $var2 = $var6; $var3.$textureU = $var2; $var12 = $var8; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, var$34, $var10, var$5); $var8 = $var32 + 8.0; $var6 = ($var30 + 8.0) * 0.00390625 + var$17; $var3.$hasTexture = 1; $par1 = $var6; $var3.$textureU = $par1; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, $var8, $var10, var$5); $var6 = $var33 + 0.0; var$5 = ($var31 + 0.0) * 0.00390625 + var$19; $var3.$hasTexture = 1; $var3.$textureU = $par1; $par1 = var$5; $var3.$textureV = $par1; nlea_Tessellator_addVertex($var3, $var8, $var10, $var6); $var3.$hasTexture = 1; $var3.$textureU = $var2; $var3.$textureV = $par1; nlea_Tessellator_addVertex($var3, var$34, $var10, $var6); } if (var$25 <= 0) { nlea_Tessellator_setColorRGBA($var3, $var19 * 255.0 | 0, $var20 * 255.0 | 0, $var21 * 255.0 | 0, 204); nlea_Tessellator_setNormal($var3, 0.0, 1.0, 0.0); $var6 = $var32 + 0.0; var$5 = $var33 + 8.0; $var8 = ($var30 + 0.0) * 0.00390625 + var$17; var$34 = ($var31 + 8.0) * 0.00390625 + var$19; $var3.$hasTexture = 1; $var2 = $var8; $var3.$textureU = $var2; $var12 = var$34; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, $var6, var$27, var$5); $var8 = $var32 + 8.0; var$34 = ($var30 + 8.0) * 0.00390625 + var$17; $var3.$hasTexture = 1; $par1 = var$34; $var3.$textureU = $par1; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, $var8, var$27, var$5); var$5 = $var33 + 0.0; var$34 = ($var31 + 0.0) * 0.00390625 + var$19; $var3.$hasTexture = 1; $var3.$textureU = $par1; $par1 = var$34; $var3.$textureV = $par1; nlea_Tessellator_addVertex($var3, $var8, var$27, var$5); $var3.$hasTexture = 1; $var3.$textureU = $var2; $var3.$textureV = $par1; nlea_Tessellator_addVertex($var3, $var6, var$27, var$5); } a: { $var2 = $var19 * 0.8999999761581421; $var12 = $var20 * 0.8999999761581421; $var5 = $var21 * 0.8999999761581421; nlea_Tessellator_setColorRGBA($var3, $var2 * 255.0 | 0, $var12 * 255.0 | 0, $var5 * 255.0 | 0, 204); if ($var28 > (-1)) { nlea_Tessellator_setNormal($var3, (-1.0), 0.0, 0.0); $var34 = 0; var$5 = $var33 + 8.0; $var12 = ($var31 + 8.0) * 0.00390625 + var$19; $var8 = $var33 + 0.0; $par1 = ($var31 + 0.0) * 0.00390625 + var$19; while (true) { if ($var34 >= 8) break a; $var2 = $var34; $var6 = $var32 + $var2 + 0.0; var$34 = ($var30 + $var2 + 0.5) * 0.00390625 + var$17; $var3.$hasTexture = 1; $var2 = var$34; $var3.$textureU = $var2; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, $var6, $var10, var$5); $var3.$hasTexture = 1; $var3.$textureU = $var2; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, $var6, var$26, var$5); $var3.$hasTexture = 1; $var3.$textureU = $var2; $var3.$textureV = $par1; nlea_Tessellator_addVertex($var3, $var6, var$26, $var8); $var3.$hasTexture = 1; $var3.$textureU = $var2; $var3.$textureV = $par1; nlea_Tessellator_addVertex($var3, $var6, $var10, $var8); $var34 = $var34 + 1 | 0; } } } b: { if ($var28 <= 1) { nlea_Tessellator_setNormal($var3, 1.0, 0.0, 0.0); $var34 = 0; var$34 = $var33 + 8.0; $var12 = ($var31 + 8.0) * 0.00390625 + var$19; var$5 = $var33 + 0.0; $par1 = ($var31 + 0.0) * 0.00390625 + var$19; while (true) { if ($var34 >= 8) break b; $var2 = $var34; $var8 = $var32 + $var2 + 1.0 - 9.765625E-4; $var6 = ($var30 + $var2 + 0.5) * 0.00390625 + var$17; $var3.$hasTexture = 1; $var2 = $var6; $var3.$textureU = $var2; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, $var8, $var10, var$34); $var3.$hasTexture = 1; $var3.$textureU = $var2; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, $var8, var$26, var$34); $var3.$hasTexture = 1; $var3.$textureU = $var2; $var3.$textureV = $par1; nlea_Tessellator_addVertex($var3, $var8, var$26, var$5); $var3.$hasTexture = 1; $var3.$textureU = $var2; $var3.$textureV = $par1; nlea_Tessellator_addVertex($var3, $var8, $var10, var$5); $var34 = $var34 + 1 | 0; } } } c: { $var12 = $var19 * 0.800000011920929; $var5 = $var20 * 0.800000011920929; $var2 = $var21 * 0.800000011920929; nlea_Tessellator_setColorRGBA($var3, $var12 * 255.0 | 0, $var5 * 255.0 | 0, $var2 * 255.0 | 0, 204); if ($var29 > (-1)) { nlea_Tessellator_setNormal($var3, 0.0, 0.0, (-1.0)); $var34 = 0; $var6 = $var32 + 0.0; $var2 = ($var30 + 0.0) * 0.00390625 + var$17; $var8 = $var32 + 8.0; $par1 = ($var30 + 8.0) * 0.00390625 + var$17; while (true) { if ($var34 >= 8) break c; $var12 = $var34; var$5 = $var33 + $var12 + 0.0; var$34 = ($var31 + $var12 + 0.5) * 0.00390625 + var$19; $var3.$hasTexture = 1; $var3.$textureU = $var2; $var12 = var$34; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, $var6, var$26, var$5); $var3.$hasTexture = 1; $var3.$textureU = $par1; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, $var8, var$26, var$5); $var3.$hasTexture = 1; $var3.$textureU = $par1; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, $var8, $var10, var$5); $var3.$hasTexture = 1; $var3.$textureU = $var2; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, $var6, $var10, var$5); $var34 = $var34 + 1 | 0; } } } d: { if ($var29 <= 1) { nlea_Tessellator_setNormal($var3, 0.0, 0.0, 1.0); $var34 = 0; $var8 = $var32 + 0.0; $var2 = ($var30 + 0.0) * 0.00390625 + var$17; var$5 = $var32 + 8.0; $par1 = ($var30 + 8.0) * 0.00390625 + var$17; while (true) { if ($var34 >= 8) break d; $var12 = $var34; var$34 = $var33 + $var12 + 1.0 - 9.765625E-4; $var6 = ($var31 + $var12 + 0.5) * 0.00390625 + var$19; $var3.$hasTexture = 1; $var3.$textureU = $var2; $var12 = $var6; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, $var8, var$26, var$34); $var3.$hasTexture = 1; $var3.$textureU = $par1; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, var$5, var$26, var$34); $var3.$hasTexture = 1; $var3.$textureU = $par1; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, var$5, $var10, var$34); $var3.$hasTexture = 1; $var3.$textureU = $var2; $var3.$textureV = $var12; nlea_Tessellator_addVertex($var3, $var8, $var10, var$34); $var34 = $var34 + 1 | 0; } } } nlea_Tessellator_draw($var3); $var29 = $var29 + 1 | 0; } $var28 = $var28 + 1 | 0; } $var27 = $var27 + 1 | 0; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(2884); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var15, $var6, $var10, var$5, $var2, $var3, $var4, $var8, $var12, $var13, $var14, $var19, $var20, $var21, var$16, var$17, $var34, var$19, $var22, $var23, var$22, $var27, var$24, var$25, var$26, var$27, $var28, $var29, $var30, $var31, $var32, $var33, var$34, $var5, $ptr); }, nms_RenderGlobal_updateRenderers = ($this, $par1EntityLivingBase, $par2) => { let $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var11, var$11, var$12, $var10, $var16, $var17, $var11_0, $var12, $var12_0, $var13, $var14, $var15, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12_0 = $thread.pop();$var12 = $thread.pop();$var11_0 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var10 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = 2; $var4 = new nms_RenderSorter; $var4.$baseEntity = $par1EntityLivingBase; $var5 = $rt_createArray(nms_WorldRenderer, $var3).data; $var6 = null; $var7 = $this.$worldRenderersToUpdate.$size0; $var8 = 0; $var9 = 0; a: { while (true) { if ($var9 >= $var7) { if ($var6 !== null) { b: { $var11 = $var6.$size0; if ($var11 > 1) { var$11 = $rt_createArray(jl_Object, $var11); var$12 = var$11.data; ju_AbstractCollection_toArray($var6, var$11); ju_Arrays_sort(var$11, $var4); $par2 = 0; $var11 = var$12.length; while (true) { if ($par2 >= $var11) break b; $par1EntityLivingBase = var$12[$par2]; if ($par2 < 0) break; if ($par2 >= $var6.$size0) break; $var6.$array.data[$par2] = $par1EntityLivingBase; $par2 = $par2 + 1 | 0; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); } } $par2 = $var6.$size0 - 1 | 0; if ($par2 >= 0) { if ($par2 >= 0 && $par2 < $var6.$size0) { $var10 = $var6.$array.data[$par2]; $ptr = 2; continue main; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); } } $par2 = 0; $var11 = 1; $var16 = $var11; c: { d: { while (true) { if ($var16 < 0) break d; $var17 = $var5[$var16]; if ($var17 !== null) break; $var16 = $var16 + (-1) | 0; } if ($var17.$isInFrustum) break c; if ($var16 == $var11) break c; $var5[$var16] = null; $var5[0] = null; } $var11 = 0; $var11_0 = 0; $par1EntityLivingBase = $this.$worldRenderersToUpdate; $var12 = $par1EntityLivingBase.$size0; e: { while (true) { $var12_0 = $rt_compare($var11, $var12); if (!$var12_0) { while (true) { $var11 = $var11 + (-1) | 0; if ($var11 < $var11_0) break; ju_ArrayList_remove($this.$worldRenderersToUpdate, $var11); } return $var7 != ($var8 + $par2 | 0) ? 0 : 1; } if ($var11 < 0) break; if ($var12_0 >= 0) break; var$11 = $par1EntityLivingBase.$array.data; $var13 = var$11[$var11]; if ($var13 !== null) { $var14 = 0; $var15 = 0; while ($var15 < $var3 && !$var14) { if ($var13 === $var5[$var15]) $var14 = 1; $var15 = $var15 + 1 | 0; } if (!$var14) { if ($var11_0 != $var11) { if ($var11_0 < 0) break e; if ($var11_0 >= $var12) break e; var$11[$var11_0] = $var13; } $var11_0 = $var11_0 + 1 | 0; } } $var11 = $var11 + 1 | 0; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); } $par1EntityLivingBase = $var5[$var16]; $ptr = 1; continue main; } $var10 = $this.$worldRenderersToUpdate; if ($var9 < 0) break; if ($var9 >= $var10.$size0) break; f: { $var10 = $var10.$array.data[$var9]; if ($var10 !== null) { g: { if ($par2) { if ($var10.$isInFrustum) break g; break f; } var$22 = $par1EntityLivingBase.$posX - $var10.$posXPlus; var$23 = $par1EntityLivingBase.$posY - $var10.$posYPlus; var$24 = $par1EntityLivingBase.$posZ - $var10.$posZPlus; if (var$22 * var$22 + var$23 * var$23 + var$24 * var$24 > 256.0) { $var11 = 0; while ($var11 < $var3 && !($var5[$var11] !== null && nms_RenderSorter_doCompare($var4, $var5[$var11], $var10) > 0)) { $var11 = $var11 + 1 | 0; } $var11 = $var11 + (-1) | 0; if ($var11 <= 0) break f; $var12_0 = $var11; while (true) { $var12_0 = $var12_0 + (-1) | 0; if (!$var12_0) break; $var5[$var12_0 - 1 | 0] = $var5[$var12_0]; } $var5[$var11] = $var10; break f; } } if ($var6 === null) { $var6 = new ju_ArrayList; $var6.$array = $rt_createArray(jl_Object, 10); } $var8 = $var8 + 1 | 0; ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); var$11 = $var6.$array.data; $var12_0 = $var6.$size0; $var6.$size0 = $var12_0 + 1 | 0; var$11[$var12_0] = $var10; $var6.$modCount = $var6.$modCount + 1 | 0; $var10 = $this.$worldRenderersToUpdate; $var13 = null; if ($var9 < 0) break a; if ($var9 >= $var10.$size0) break a; $var10.$array.data[$var9] = $var13; } } $var9 = $var9 + 1 | 0; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); case 1: nms_WorldRenderer_updateRenderer($par1EntityLivingBase); if ($rt_suspending()) { break main; } $var5[$var16].$needsUpdate = 0; $par2 = $par2 + 1 | 0; h: { a: { while (true) { $var16 = $var16 + (-1) | 0; if ($var16 < 0) break a; $var17 = $var5[$var16]; if ($var17 !== null) break; } if ($var17.$isInFrustum) break h; if ($var16 == $var11) break h; $var5[$var16] = null; $var5[0] = null; } $var11 = 0; $var11_0 = 0; $par1EntityLivingBase = $this.$worldRenderersToUpdate; $var12 = $par1EntityLivingBase.$size0; i: { while (true) { $var12_0 = $rt_compare($var11, $var12); if (!$var12_0) { while (true) { $var11 = $var11 + (-1) | 0; if ($var11 < $var11_0) break; ju_ArrayList_remove($this.$worldRenderersToUpdate, $var11); } return $var7 != ($var8 + $par2 | 0) ? 0 : 1; } if ($var11 < 0) break; if ($var12_0 >= 0) break; var$11 = $par1EntityLivingBase.$array.data; $var13 = var$11[$var11]; if ($var13 !== null) { $var14 = 0; $var15 = 0; while ($var15 < $var3 && !$var14) { if ($var13 === $var5[$var15]) $var14 = 1; $var15 = $var15 + 1 | 0; } if (!$var14) { if ($var11_0 != $var11) { if ($var11_0 < 0) break i; if ($var11_0 >= $var12) break i; var$11[$var11_0] = $var13; } $var11_0 = $var11_0 + 1 | 0; } } $var11 = $var11 + 1 | 0; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); } $par1EntityLivingBase = $var5[$var16]; continue main; case 2: nms_WorldRenderer_updateRenderer($var10); if ($rt_suspending()) { break main; } $var10.$needsUpdate = 0; $par2 = $par2 + (-1) | 0; if ($par2 >= 0) { if ($par2 >= 0 && $par2 < $var6.$size0) { $var10 = $var6.$array.data[$par2]; continue main; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); } $par2 = 0; $var11 = 1; $var16 = $var11; j: { f: { while (true) { if ($var16 < 0) break f; $var17 = $var5[$var16]; if ($var17 !== null) break; $var16 = $var16 + (-1) | 0; } if ($var17.$isInFrustum) break j; if ($var16 == $var11) break j; $var5[$var16] = null; $var5[0] = null; } $var11 = 0; $var11_0 = 0; $par1EntityLivingBase = $this.$worldRenderersToUpdate; $var12 = $par1EntityLivingBase.$size0; k: { while (true) { $var12_0 = $rt_compare($var11, $var12); if (!$var12_0) { while (true) { $var11 = $var11 + (-1) | 0; if ($var11 < $var11_0) break; ju_ArrayList_remove($this.$worldRenderersToUpdate, $var11); } return $var7 != ($var8 + $par2 | 0) ? 0 : 1; } if ($var11 < 0) break; if ($var12_0 >= 0) break; var$11 = $par1EntityLivingBase.$array.data; $var13 = var$11[$var11]; if ($var13 !== null) { $var14 = 0; $var15 = 0; while ($var15 < $var3 && !$var14) { if ($var13 === $var5[$var15]) $var14 = 1; $var15 = $var15 + 1 | 0; } if (!$var14) { if ($var11_0 != $var11) { if ($var11_0 < 0) break k; if ($var11_0 >= $var12) break k; var$11[$var11_0] = $var13; } $var11_0 = $var11_0 + 1 | 0; } } $var11 = $var11 + 1 | 0; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); } $par1EntityLivingBase = $var5[$var16]; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var11, var$11, var$12, $var10, $var16, $var17, $var11_0, $var12, $var12_0, $var13, $var14, $var15, var$22, var$23, var$24, $ptr); }, nms_RenderGlobal_drawBlockDamageTexture = ($this, $par1Tessellator, $par2EntityPlayer, $par3) => { let $var4, $var12, $var14, $var6, $var8, $var16, $var10, $var11, var$12, var$13, var$14, $var18, $var19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var16 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2EntityPlayer = $thread.pop();$par1Tessellator = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = $par2EntityPlayer.$lastTickPosX; $var12 = $par2EntityPlayer.$posX - $var4; $var14 = $par3; $var4 = $var4 + $var12 * $var14; $var12 = $par2EntityPlayer.$lastTickPosY; $var6 = $var12 + ($par2EntityPlayer.$posY - $var12) * $var14; $var12 = $par2EntityPlayer.$lastTickPosZ; $var8 = $var12 + ($par2EntityPlayer.$posZ - $var12) * $var14; if ($this.$damagedBlocks.$elementCount ? 0 : 1) return; nleg_EaglerAdapterGL30_glBlendFunc(774, 768); nms_RenderGlobal_$callClinit(); $par2EntityPlayer = nms_RenderGlobal_tex_terrain; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par2EntityPlayer); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9728); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9728); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 0.5; nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glDisable(3008); if (!(3.0 === nleg_EaglerAdapterGL30_polygonOffset1 && 3.0 === nleg_EaglerAdapterGL30_polygonOffset2)) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.polygonOffset(3.0, 3.0); nleg_EaglerAdapterGL30_polygonOffset1 = 3.0; nleg_EaglerAdapterGL30_polygonOffset2 = 3.0; } if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glEnable(32823); nleg_EaglerAdapterGL30_glEnable(3008); if ($par1Tessellator.$isDrawing) nlea_Tessellator_draw($par1Tessellator); $par1Tessellator.$isDrawing = 1; $par1Tessellator.$vertexCount = 0; $par1Tessellator.$rawBufferIndex = 0; $par1Tessellator.$addedVertices = 0; $par1Tessellator.$drawMode = 7; $par1Tessellator.$hasNormals = 0; $par1Tessellator.$hasColor = 0; $par1Tessellator.$hasTexture = 0; $par1Tessellator.$hasBrightness = 0; $par1Tessellator.$isColorDisabled = 0; $var12 = -$var4; $var14 = -$var6; $var16 = -$var8; $par1Tessellator.$xOffset = $var12; $par1Tessellator.$yOffset0 = $var14; $par1Tessellator.$zOffset = $var16; $par1Tessellator.$isColorDisabled = 1; $par2EntityPlayer = $this.$damagedBlocks; if ($par2EntityPlayer.$cachedValues === null) { $var10 = new ju_HashMap$2; $var10.$this$01 = $par2EntityPlayer; $par2EntityPlayer.$cachedValues = $var10; } $var10 = $par2EntityPlayer.$cachedValues.$iterator(); while ($var10.$hasNext()) { $var11 = $var10.$next(); var$12 = $var11.$partialBlockX; $var12 = var$12 - $var4; var$13 = $var11.$partialBlockY; $var14 = var$13 - $var6; var$14 = $var11.$partialBlockZ; $var16 = var$14 - $var8; if ($var12 * $var12 + $var14 * $var14 + $var16 * $var16 <= 1024.0) { $var18 = nms_World_getBlockId($this.$theWorld0, var$12, var$13, var$14); if ($var18 <= 0) $var19 = null; else { nms_Block_$callClinit(); $var19 = nms_Block_blocksList.data[$var18]; } if ($var19 === null) { nms_Block_$callClinit(); $var19 = nms_Block_stone; } $par2EntityPlayer = $this.$globalRenderBlocks; var$14 = $var11.$partialBlockX; var$12 = $var11.$partialBlockY; var$13 = $var11.$partialBlockZ; $par2EntityPlayer.$overrideBlockTexture = $this.$destroyBlockIcons.data[$var11.$partialBlockProgress]; $ptr = 2; continue main; } $var10.$remove0(); } nlea_Tessellator_draw($par1Tessellator); $par1Tessellator.$xOffset = 0.0; $par1Tessellator.$yOffset0 = 0.0; $par1Tessellator.$zOffset = 0.0; nleg_EaglerAdapterGL30_glDisable(3008); if (!(0.0 === nleg_EaglerAdapterGL30_polygonOffset1 && 0.0 === nleg_EaglerAdapterGL30_polygonOffset2)) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.polygonOffset(0.0, 0.0); nleg_EaglerAdapterGL30_polygonOffset1 = 0.0; nleg_EaglerAdapterGL30_polygonOffset2 = 0.0; } nleg_EaglerAdapterGL30_glDisable(32823); nleg_EaglerAdapterGL30_glEnable(3008); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glPopMatrix(); return; case 2: nms_RenderBlocks_renderBlockByRenderType($par2EntityPlayer, $var19, var$14, var$12, var$13); if ($rt_suspending()) { break main; } $par2EntityPlayer.$overrideBlockTexture = null; while ($var10.$hasNext()) { $var11 = $var10.$next(); var$12 = $var11.$partialBlockX; $var12 = var$12 - $var4; var$13 = $var11.$partialBlockY; $var14 = var$13 - $var6; var$14 = $var11.$partialBlockZ; $var16 = var$14 - $var8; if ($var12 * $var12 + $var14 * $var14 + $var16 * $var16 <= 1024.0) { $var18 = nms_World_getBlockId($this.$theWorld0, var$12, var$13, var$14); if ($var18 <= 0) $var19 = null; else { nms_Block_$callClinit(); $var19 = nms_Block_blocksList.data[$var18]; } if ($var19 === null) { nms_Block_$callClinit(); $var19 = nms_Block_stone; } $par2EntityPlayer = $this.$globalRenderBlocks; var$14 = $var11.$partialBlockX; var$12 = $var11.$partialBlockY; var$13 = $var11.$partialBlockZ; $par2EntityPlayer.$overrideBlockTexture = $this.$destroyBlockIcons.data[$var11.$partialBlockProgress]; continue main; } $var10.$remove0(); } nlea_Tessellator_draw($par1Tessellator); $par1Tessellator.$xOffset = 0.0; $par1Tessellator.$yOffset0 = 0.0; $par1Tessellator.$zOffset = 0.0; nleg_EaglerAdapterGL30_glDisable(3008); if (!(0.0 === nleg_EaglerAdapterGL30_polygonOffset1 && 0.0 === nleg_EaglerAdapterGL30_polygonOffset2)) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.polygonOffset(0.0, 0.0); nleg_EaglerAdapterGL30_polygonOffset1 = 0.0; nleg_EaglerAdapterGL30_polygonOffset2 = 0.0; } nleg_EaglerAdapterGL30_glDisable(32823); nleg_EaglerAdapterGL30_glEnable(3008); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Tessellator, $par2EntityPlayer, $par3, $var4, $var12, $var14, $var6, $var8, $var16, $var10, $var11, var$12, var$13, var$14, $var18, $var19, $ptr); }, nms_RenderGlobal_drawSelectionBox = ($this, $par1EntityPlayer, $par2MovingObjectPosition, $par3, $par4) => { let $var6, var$6, var$7, var$8, var$9, $var9, $var11, var$12, $var7, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var7 = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var6 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2MovingObjectPosition = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par3 && $par2MovingObjectPosition.$typeOfHit === nms_EnumMovingObjectType_TILE) { nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 0.0; nleg_EaglerAdapterGL30_colorG = 0.0; nleg_EaglerAdapterGL30_colorB = 0.0; nleg_EaglerAdapterGL30_colorA = 0.4000000059604645; nleg_EaglerAdapterGL30_glDisable(3553); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } $var6 = nms_World_getBlockId($this.$theWorld0, $par2MovingObjectPosition.$blockX, $par2MovingObjectPosition.$blockY, $par2MovingObjectPosition.$blockZ); if ($var6 > 0) { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[$var6]; var$7 = $this.$theWorld0; $par3 = $par2MovingObjectPosition.$blockX; var$8 = $par2MovingObjectPosition.$blockY; var$9 = $par2MovingObjectPosition.$blockZ; $ptr = 1; continue main; } if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glDisable(3042); } return; case 1: var$6.$setBlockBoundsBasedOnState(var$7, $par3, var$8, var$9); if ($rt_suspending()) { break main; } $var9 = $par1EntityPlayer.$lastTickPosX; $var11 = $par1EntityPlayer.$posX - $var9; var$12 = $par4; $var7 = $var9 + $var11 * var$12; $var9 = $par1EntityPlayer.$lastTickPosY; $var9 = $var9 + ($par1EntityPlayer.$posY - $var9) * var$12; $var11 = $par1EntityPlayer.$lastTickPosZ; $var11 = $var11 + ($par1EntityPlayer.$posZ - $var11) * var$12; $par1EntityPlayer = nms_Block_blocksList.data[$var6].$getSelectedBoundingBoxFromPool($this.$theWorld0, $par2MovingObjectPosition.$blockX, $par2MovingObjectPosition.$blockY, $par2MovingObjectPosition.$blockZ); var$12 = $par1EntityPlayer.$minX - 0.0020000000949949026; var$14 = $par1EntityPlayer.$minY - 0.0020000000949949026; var$15 = $par1EntityPlayer.$minZ - 0.0020000000949949026; var$16 = $par1EntityPlayer.$maxX + 0.0020000000949949026; var$17 = $par1EntityPlayer.$maxY + 0.0020000000949949026; var$18 = $par1EntityPlayer.$maxZ + 0.0020000000949949026; var$6 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $par3 = var$6.$nextPoolIndex; $par1EntityPlayer = var$6.$listAABB; var$8 = $par1EntityPlayer.$size0; $var6 = $rt_compare($par3, var$8); if ($var6 >= 0) { $par2MovingObjectPosition = new nms_AxisAlignedBB; $par2MovingObjectPosition.$minX = var$12; $par2MovingObjectPosition.$minY = var$14; $par2MovingObjectPosition.$minZ = var$15; $par2MovingObjectPosition.$maxX = var$16; $par2MovingObjectPosition.$maxY = var$17; $par2MovingObjectPosition.$maxZ = var$18; ju_ArrayList_ensureCapacity($par1EntityPlayer, var$8 + 1 | 0); var$19 = $par1EntityPlayer.$array.data; $var6 = $par1EntityPlayer.$size0; $par1EntityPlayer.$size0 = $var6 + 1 | 0; var$19[$var6] = $par2MovingObjectPosition; $par1EntityPlayer.$modCount = $par1EntityPlayer.$modCount + 1 | 0; } else if ($par3 >= 0 && $var6 < 0) { $par2MovingObjectPosition = $par1EntityPlayer.$array.data[$par3]; $par2MovingObjectPosition.$minX = var$12; $par2MovingObjectPosition.$minY = var$14; $par2MovingObjectPosition.$minZ = var$15; $par2MovingObjectPosition.$maxX = var$16; $par2MovingObjectPosition.$maxY = var$17; $par2MovingObjectPosition.$maxZ = var$18; } else { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } var$6.$nextPoolIndex = var$6.$nextPoolIndex + 1 | 0; var$18 = -$var7; var$12 = -$var9; $var7 = -$var11; $par1EntityPlayer = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$14 = $par2MovingObjectPosition.$minX + var$18; var$15 = $par2MovingObjectPosition.$minY + var$12; $var9 = $par2MovingObjectPosition.$minZ + $var7; $var11 = $par2MovingObjectPosition.$maxX + var$18; var$18 = $par2MovingObjectPosition.$maxY + var$12; var$12 = $par2MovingObjectPosition.$maxZ + $var7; $par3 = $par1EntityPlayer.$nextPoolIndex; $par2MovingObjectPosition = $par1EntityPlayer.$listAABB; var$8 = $par2MovingObjectPosition.$size0; $var6 = $rt_compare($par3, var$8); if ($var6 >= 0) { var$6 = new nms_AxisAlignedBB; var$6.$minX = var$14; var$6.$minY = var$15; var$6.$minZ = $var9; var$6.$maxX = $var11; var$6.$maxY = var$18; var$6.$maxZ = var$12; ju_ArrayList_ensureCapacity($par2MovingObjectPosition, var$8 + 1 | 0); var$19 = $par2MovingObjectPosition.$array.data; $var6 = $par2MovingObjectPosition.$size0; $par2MovingObjectPosition.$size0 = $var6 + 1 | 0; var$19[$var6] = var$6; $par2MovingObjectPosition.$modCount = $par2MovingObjectPosition.$modCount + 1 | 0; } else if ($par3 >= 0 && $var6 < 0) { var$6 = $par2MovingObjectPosition.$array.data[$par3]; var$6.$minX = var$14; var$6.$minY = var$15; var$6.$minZ = $var9; var$6.$maxX = $var11; var$6.$maxY = var$18; var$6.$maxZ = var$12; } else { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $par1EntityPlayer.$nextPoolIndex = $par1EntityPlayer.$nextPoolIndex + 1 | 0; nms_RenderGlobal_drawOutlinedBoundingBox($this, var$6); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glDisable(3042); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2MovingObjectPosition, $par3, $par4, $var6, var$6, var$7, var$8, var$9, $var9, $var11, var$12, $var7, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_RenderGlobal_drawOutlinedBoundingBox = ($this, $par1AxisAlignedBB) => { let $var2; nlea_Tessellator_$callClinit(); $var2 = nlea_Tessellator_instance; if ($var2.$isDrawing) nlea_Tessellator_draw($var2); $var2.$isDrawing = 1; $var2.$vertexCount = 0; $var2.$rawBufferIndex = 0; $var2.$addedVertices = 0; $var2.$drawMode = 3; $var2.$hasNormals = 0; $var2.$hasColor = 0; $var2.$hasTexture = 0; $var2.$hasBrightness = 0; $var2.$isColorDisabled = 0; nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$minX, $par1AxisAlignedBB.$minY, $par1AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$maxX, $par1AxisAlignedBB.$minY, $par1AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$maxX, $par1AxisAlignedBB.$minY, $par1AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$minX, $par1AxisAlignedBB.$minY, $par1AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$minX, $par1AxisAlignedBB.$minY, $par1AxisAlignedBB.$minZ); nlea_Tessellator_draw($var2); if ($var2.$isDrawing) nlea_Tessellator_draw($var2); $var2.$isDrawing = 1; $var2.$vertexCount = 0; $var2.$rawBufferIndex = 0; $var2.$addedVertices = 0; $var2.$drawMode = 3; $var2.$hasNormals = 0; $var2.$hasColor = 0; $var2.$hasTexture = 0; $var2.$hasBrightness = 0; $var2.$isColorDisabled = 0; nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$minX, $par1AxisAlignedBB.$maxY, $par1AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$maxX, $par1AxisAlignedBB.$maxY, $par1AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$maxX, $par1AxisAlignedBB.$maxY, $par1AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$minX, $par1AxisAlignedBB.$maxY, $par1AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$minX, $par1AxisAlignedBB.$maxY, $par1AxisAlignedBB.$minZ); nlea_Tessellator_draw($var2); if ($var2.$isDrawing) nlea_Tessellator_draw($var2); $var2.$isDrawing = 1; $var2.$vertexCount = 0; $var2.$rawBufferIndex = 0; $var2.$addedVertices = 0; $var2.$drawMode = 1; $var2.$hasNormals = 0; $var2.$hasColor = 0; $var2.$hasTexture = 0; $var2.$hasBrightness = 0; $var2.$isColorDisabled = 0; nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$minX, $par1AxisAlignedBB.$minY, $par1AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$minX, $par1AxisAlignedBB.$maxY, $par1AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$maxX, $par1AxisAlignedBB.$minY, $par1AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$maxX, $par1AxisAlignedBB.$maxY, $par1AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$maxX, $par1AxisAlignedBB.$minY, $par1AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$maxX, $par1AxisAlignedBB.$maxY, $par1AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$minX, $par1AxisAlignedBB.$minY, $par1AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var2, $par1AxisAlignedBB.$minX, $par1AxisAlignedBB.$maxY, $par1AxisAlignedBB.$maxZ); nlea_Tessellator_draw($var2); }, nms_RenderGlobal_markBlocksForUpdate = ($this, $par1, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8, $var9, $var10, $var11, $var12, $var14, $var15, $var16, $var17, $var18, $var19, $var20, var$20, var$21; $var7 = $par1 >= 0 ? $par1 / 16 | 0 : ( -((( -$par1 | 0) - 1 | 0) / 16 | 0) | 0) - 1 | 0; $var8 = $par2 >= 0 ? $par2 / 16 | 0 : ( -((( -$par2 | 0) - 1 | 0) / 16 | 0) | 0) - 1 | 0; $var9 = $par3 >= 0 ? $par3 / 16 | 0 : ( -((( -$par3 | 0) - 1 | 0) / 16 | 0) | 0) - 1 | 0; $var10 = $par4 >= 0 ? $par4 / 16 | 0 : ( -((( -$par4 | 0) - 1 | 0) / 16 | 0) | 0) - 1 | 0; $var11 = $par5 >= 0 ? $par5 / 16 | 0 : ( -((( -$par5 | 0) - 1 | 0) / 16 | 0) | 0) - 1 | 0; $var12 = $par6 >= 0 ? $par6 / 16 | 0 : ( -((( -$par6 | 0) - 1 | 0) / 16 | 0) | 0) - 1 | 0; while ($var7 <= $var10) { $par1 = $this.$renderChunksWide; $var14 = $var7 % $par1 | 0; if ($var14 < 0) $var14 = $var14 + $par1 | 0; $var15 = $var8; while ($var15 <= $var11) { $par1 = $this.$renderChunksTall; $var16 = $var15 % $par1 | 0; if ($var16 < 0) $var16 = $var16 + $par1 | 0; $var17 = $var9; while ($var17 <= $var12) { $par1 = $this.$renderChunksDeep; $var18 = $var17 % $par1 | 0; if ($var18 < 0) $var18 = $var18 + $par1 | 0; $var19 = $rt_imul($rt_imul($var18, $this.$renderChunksTall) + $var16 | 0, $this.$renderChunksWide) + $var14 | 0; $var20 = $this.$worldRenderers.data[$var19]; if ($var20 !== null && !$var20.$needsUpdate) { var$20 = $this.$worldRenderersToUpdate; ju_ArrayList_ensureCapacity(var$20, var$20.$size0 + 1 | 0); var$21 = var$20.$array.data; $par2 = var$20.$size0; var$20.$size0 = $par2 + 1 | 0; var$21[$par2] = $var20; var$20.$modCount = var$20.$modCount + 1 | 0; $var20.$needsUpdate = 1; } $var17 = $var17 + 1 | 0; } $var15 = $var15 + 1 | 0; } $var7 = $var7 + 1 | 0; } }, nms_RenderGlobal_clipRenderersByFrustum = ($this, $par1ICamera, $par2) => { let $var3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17; $var3 = 0; while (true) { var$4 = $this.$worldRenderers.data; if ($var3 >= var$4.length) break; if (!nms_WorldRenderer_skipAllRenderPasses(var$4[$var3])) { var$4 = $this.$worldRenderers.data; if (!(var$4[$var3].$isInFrustum && ($var3 + $this.$frustumCheckOffset | 0) & 15)) { var$5 = var$4[$var3]; var$6 = var$5.$rendererBoundingBox; var$7 = var$6.$minX; var$8 = var$6.$minY; var$9 = var$6.$minZ; var$10 = var$6.$maxX; var$11 = var$6.$maxY; var$12 = var$6.$maxZ; var$6 = $par1ICamera.$clippingHelper; var$13 = $par1ICamera.$xPosition4; var$14 = var$7 - var$13; var$15 = $par1ICamera.$yPosition4; var$16 = var$8 - var$15; var$17 = $par1ICamera.$zPosition4; var$5.$isInFrustum = nms_ClippingHelper_isBoxInFrustum(var$6, var$14, var$16, var$9 - var$17, var$10 - var$13, var$11 - var$15, var$12 - var$17); } } $var3 = $var3 + 1 | 0; } $this.$frustumCheckOffset = $this.$frustumCheckOffset + 1 | 0; }, nms_RenderGlobal_doSpawnParticle = ($this, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12) => { let var$8, var$9, $var14, var$11, var$12, var$13, $var15, $var17, $var19, $var21, var$18, var$19, var$20, var$21, $var24, var$23, var$24, var$25, $var27, var$27, var$28, var$29, var$30, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();$var27 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$var24 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var14 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$8 = $this.$mc5; if (var$8 !== null) { var$9 = var$8.$renderViewEntity; if (var$9 !== null && var$8.$effectRenderer !== null) { $var14 = var$8.$gameSettings.$particleSetting; if ($var14 == 1) { var$8 = $this.$theWorld0.$rand0; var$11 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); while (true) { var$13 = var$12 % 3 | 0; if (((var$12 - var$13 | 0) + 2 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); } if (!var$13) $var14 = 2; } $var15 = var$9.$posX - $par2; $var17 = var$9.$posY - $par4; $var19 = var$9.$posZ - $par6; $var21 = null; if ($par1Str !== $rt_s(1473)) { if (!($rt_s(1473) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1473); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } } else var$18 = 1; if (var$18) { var$9 = $this.$mc5.$effectRenderer; $var21 = new nms_EntityHugeExplodeFX; var$8 = $this.$theWorld0; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; $ptr = 1; continue main; } if ($par1Str === $rt_s(1474)) var$18 = 1; else if ($rt_s(1474) instanceof jl_String) { var$8 = $rt_s(1474); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; if (!var$18) { if ($par1Str === $rt_s(1475)) var$18 = 1; else if (!($rt_s(1475) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1475); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($var21 !== null) return $var21; if ($var15 * $var15 + $var17 * $var17 + $var19 * $var19 > 256.0) return null; if ($var14 > 1) return null; if ($par1Str === $rt_s(1242)) var$18 = 1; else if (!($rt_s(1242) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1242); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str === $rt_s(1476)) var$18 = 1; else if (!($rt_s(1476) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1476); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str === $rt_s(1477)) var$18 = 1; else if (!($rt_s(1477) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1477); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1478)) { if (!($rt_s(1478) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1478); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } } else var$18 = 1; if (var$18) { $var21 = new nms_EntityAuraFX; $par1Str = $this.$theWorld0; $ptr = 7; continue main; } if ($par1Str === $rt_s(1317)) var$18 = 1; else if (!($rt_s(1317) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1317); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityCritFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 8; continue main; } if ($par1Str === $rt_s(1318)) var$18 = 1; else if (!($rt_s(1318) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1318); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityCritFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 9; continue main; } if ($par1Str === $rt_s(1479)) var$18 = 1; else if ($rt_s(1479) instanceof jl_String) { var$8 = $rt_s(1479); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; if (!var$18) { if ($par1Str !== $rt_s(1284)) { if ($rt_s(1284) instanceof jl_String) { var$8 = $rt_s(1284); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str !== $rt_s(1285)) { if ($rt_s(1285) instanceof jl_String) { var$8 = $rt_s(1285); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str === $rt_s(1480)) var$18 = 1; else if (!($rt_s(1480) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1480); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1481)) { if ($rt_s(1481) instanceof jl_String) { var$8 = $rt_s(1481); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (var$18) { $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; $ptr = 14; continue main; } if ($par1Str !== $rt_s(1482)) { if ($rt_s(1482) instanceof jl_String) { var$8 = $rt_s(1482); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (var$18) { $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; $ptr = 15; continue main; } if ($par1Str !== $rt_s(1483)) { if ($rt_s(1483) instanceof jl_String) { var$8 = $rt_s(1483); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str === $rt_s(1455)) var$18 = 1; else if (!($rt_s(1455) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1455); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1484)) { if ($rt_s(1484) instanceof jl_String) { var$8 = $rt_s(1484); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str !== $rt_s(1264)) { if ($rt_s(1264) instanceof jl_String) { var$8 = $rt_s(1264); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str !== $rt_s(1485)) { if ($rt_s(1485) instanceof jl_String) { var$8 = $rt_s(1485); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (var$18) { $var21 = new nms_EntityFlameFX; $par1Str = $this.$theWorld0; $ptr = 20; continue main; } if ($par1Str === $rt_s(1486)) var$18 = 1; else if (!($rt_s(1486) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1486); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityLavaFX; $par1Str = $this.$theWorld0; $ptr = 21; continue main; } if ($par1Str === $rt_s(1487)) var$18 = 1; else if ($rt_s(1487) instanceof jl_String) { var$8 = $rt_s(1487); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; if (!var$18) { if ($par1Str === $rt_s(1241)) var$18 = 1; else if (!($rt_s(1241) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1241); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1488)) { if (!($rt_s(1488) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1488); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } } else var$18 = 1; if (var$18) { $var21 = new nms_EntitySmokeFX; $par1Str = $this.$theWorld0; $var24 = 2.5; $ptr = 24; continue main; } if ($par1Str === $rt_s(1489)) var$18 = 1; else if (!($rt_s(1489) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1489); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityCloudFX; $par1Str = $this.$theWorld0; $ptr = 25; continue main; } if ($par1Str === $rt_s(1490)) var$18 = 1; else if (!($rt_s(1490) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1490); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityReddustFX; $par1Str = $this.$theWorld0; var$23 = $par8; var$24 = $par10; var$25 = $par12; $var24 = 1.0; $ptr = 26; continue main; } if ($par1Str === $rt_s(1491)) var$18 = 1; else if (!($rt_s(1491) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1491); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_snowball; var$18 = 0; $par8 = 0.0; $par10 = 0.0; $par12 = 0.0; $ptr = 27; continue main; } if ($par1Str === $rt_s(1492)) var$18 = 1; else if (!($rt_s(1492) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1492); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityDropParticleFX; $par1Str = $this.$theWorld0; nms_Material_$callClinit(); var$8 = nms_Material_water; $ptr = 28; continue main; } if ($par1Str === $rt_s(1493)) var$18 = 1; else if (!($rt_s(1493) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1493); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityDropParticleFX; $par1Str = $this.$theWorld0; nms_Material_$callClinit(); var$8 = nms_Material_lava; $ptr = 29; continue main; } if ($par1Str === $rt_s(1494)) var$18 = 1; else if (!($rt_s(1494) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1494); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntitySnowShovelFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 30; continue main; } if ($par1Str === $rt_s(1495)) var$18 = 1; else if (!($rt_s(1495) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1495); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_slimeBall; var$18 = 0; $par8 = 0.0; $par10 = 0.0; $par12 = 0.0; $ptr = 31; continue main; } if ($par1Str === $rt_s(1496)) var$18 = 1; else if (!($rt_s(1496) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1496); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityHeartFX; $par1Str = $this.$theWorld0; $var24 = 2.0; $ptr = 32; continue main; } if ($par1Str === $rt_s(1497)) var$18 = 1; else if (!($rt_s(1497) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1497); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityHeartFX; $par1Str = $this.$theWorld0; $par4 = $par4 + 0.5; $var24 = 2.0; $ptr = 33; continue main; } if ($par1Str === $rt_s(1498)) var$18 = 1; else if (!($rt_s(1498) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1498); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityAuraFX; $par1Str = $this.$theWorld0; $ptr = 34; continue main; } if ($par1Str === $rt_s(1287) ? 1 : jl_String_startsWith($par1Str, $rt_s(1287), 0)) { $var27 = (jur_Pattern_split(jur_Pattern_compile($rt_s(659), 0), $par1Str, 3)).data; $par1Str = $var27[1]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$27 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); if ($var27.length <= 2) { $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[var$27]; var$18 = 0; $ptr = 35; continue main; } $par1Str = $var27[2]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$18 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[var$27]; $ptr = 36; continue main; } if (!($par1Str === $rt_s(1237) ? 1 : jl_String_startsWith($par1Str, $rt_s(1237), 0))) { if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; } $var27 = (jur_Pattern_split(jur_Pattern_compile($rt_s(659), 0), $par1Str, 3)).data; $par1Str = $var27[1]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$27 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); $par1Str = $var27[2]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$18 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); $par1Str = new nms_EntityDiggingFX; var$8 = $this.$theWorld0; nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$27]; $ptr = 37; continue main; } $var21 = new nms_EntitySplashFX; $par1Str = $this.$theWorld0; $ptr = 23; continue main; } $var21 = new nms_EntityFootStepFX; $par1Str = $this.$renderEngine2; var$8 = $this.$theWorld0; nms_EntityFootStepFX_$callClinit(); $par8 = 0.0; $par10 = 0.0; $par12 = 0.0; $ptr = 22; continue main; } $var21 = new nms_EntityExplodeFX; $par1Str = $this.$theWorld0; $ptr = 19; continue main; } $var21 = new nms_EntityEnchantmentTableParticleFX; $par1Str = $this.$theWorld0; $ptr = 18; continue main; } $var21 = new nms_EntityPortalFX; $par1Str = $this.$theWorld0; $ptr = 17; continue main; } $var21 = new nms_EntityNoteFX; $par1Str = $this.$theWorld0; $var24 = 2.0; $ptr = 16; continue main; } $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; $ptr = 13; continue main; } $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; $ptr = 12; continue main; } $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; $ptr = 11; continue main; } $var21 = new nms_EntitySmokeFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 10; continue main; } $var21 = new nms_EntityAuraFX; $par1Str = $this.$theWorld0; $ptr = 6; continue main; } $var21 = new nms_EntitySuspendFX; $par1Str = $this.$theWorld0; $ptr = 5; continue main; } $var21 = new nms_EntityBubbleFX; $par1Str = $this.$theWorld0; $ptr = 4; continue main; } var$9 = $this.$mc5.$effectRenderer; $var21 = new nms_EntityFireworkSparkFX; var$8 = $this.$theWorld0; $ptr = 3; continue main; } var$9 = $this.$mc5.$effectRenderer; $var21 = new nms_EntityLargeExplodeFX; var$8 = $this.$renderEngine2; var$28 = $this.$theWorld0; $ptr = 2; continue main; } } return null; case 1: nms_EntityFX__init_($var21, var$8, $par2, $par4, $par6, var$19, var$20, var$21); if ($rt_suspending()) { break main; } $var21.$maximumTime = 8; $var27 = var$9.$fxLayers.data; if ($var27[1].$size0 >= 4000) ju_ArrayList_remove($var27[1], 0); var$8 = var$9.$fxLayers.data[1]; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); $var27 = var$8.$array.data; var$18 = var$8.$size0; var$8.$size0 = var$18 + 1 | 0; $var27[var$18] = $var21; var$8.$modCount = var$8.$modCount + 1 | 0; if ($var21 !== null) return $var21; if ($var15 * $var15 + $var17 * $var17 + $var19 * $var19 > 256.0) return null; if ($var14 > 1) return null; if ($par1Str === $rt_s(1242)) var$18 = 1; else if (!($rt_s(1242) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1242); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str === $rt_s(1476)) var$18 = 1; else if (!($rt_s(1476) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1476); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str === $rt_s(1477)) var$18 = 1; else if (!($rt_s(1477) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1477); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1478)) { if (!($rt_s(1478) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1478); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } } else var$18 = 1; if (var$18) { $var21 = new nms_EntityAuraFX; $par1Str = $this.$theWorld0; $ptr = 7; continue main; } if ($par1Str === $rt_s(1317)) var$18 = 1; else if (!($rt_s(1317) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1317); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityCritFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 8; continue main; } if ($par1Str === $rt_s(1318)) var$18 = 1; else if (!($rt_s(1318) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1318); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityCritFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 9; continue main; } if ($par1Str === $rt_s(1479)) var$18 = 1; else if ($rt_s(1479) instanceof jl_String) { var$8 = $rt_s(1479); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; if (!var$18) { if ($par1Str !== $rt_s(1284)) { if ($rt_s(1284) instanceof jl_String) { var$8 = $rt_s(1284); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str !== $rt_s(1285)) { if ($rt_s(1285) instanceof jl_String) { var$8 = $rt_s(1285); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str === $rt_s(1480)) var$18 = 1; else if (!($rt_s(1480) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1480); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1481)) { if ($rt_s(1481) instanceof jl_String) { var$8 = $rt_s(1481); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (var$18) { $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; $ptr = 14; continue main; } if ($par1Str !== $rt_s(1482)) { if ($rt_s(1482) instanceof jl_String) { var$8 = $rt_s(1482); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (var$18) { $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; $ptr = 15; continue main; } if ($par1Str !== $rt_s(1483)) { if ($rt_s(1483) instanceof jl_String) { var$8 = $rt_s(1483); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str === $rt_s(1455)) var$18 = 1; else if (!($rt_s(1455) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1455); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1484)) { if ($rt_s(1484) instanceof jl_String) { var$8 = $rt_s(1484); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str !== $rt_s(1264)) { if ($rt_s(1264) instanceof jl_String) { var$8 = $rt_s(1264); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str !== $rt_s(1485)) { if ($rt_s(1485) instanceof jl_String) { var$8 = $rt_s(1485); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (var$18) { $var21 = new nms_EntityFlameFX; $par1Str = $this.$theWorld0; $ptr = 20; continue main; } if ($par1Str === $rt_s(1486)) var$18 = 1; else if (!($rt_s(1486) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1486); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityLavaFX; $par1Str = $this.$theWorld0; $ptr = 21; continue main; } if ($par1Str === $rt_s(1487)) var$18 = 1; else if ($rt_s(1487) instanceof jl_String) { var$8 = $rt_s(1487); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; if (!var$18) { if ($par1Str === $rt_s(1241)) var$18 = 1; else if (!($rt_s(1241) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1241); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1488)) { if (!($rt_s(1488) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1488); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } } else var$18 = 1; if (var$18) { $var21 = new nms_EntitySmokeFX; $par1Str = $this.$theWorld0; $var24 = 2.5; $ptr = 24; continue main; } if ($par1Str === $rt_s(1489)) var$18 = 1; else if (!($rt_s(1489) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1489); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityCloudFX; $par1Str = $this.$theWorld0; $ptr = 25; continue main; } if ($par1Str === $rt_s(1490)) var$18 = 1; else if (!($rt_s(1490) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1490); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityReddustFX; $par1Str = $this.$theWorld0; var$23 = $par8; var$24 = $par10; var$25 = $par12; $var24 = 1.0; $ptr = 26; continue main; } if ($par1Str === $rt_s(1491)) var$18 = 1; else if (!($rt_s(1491) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1491); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_snowball; var$18 = 0; $par8 = 0.0; $par10 = 0.0; $par12 = 0.0; $ptr = 27; continue main; } if ($par1Str === $rt_s(1492)) var$18 = 1; else if (!($rt_s(1492) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1492); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityDropParticleFX; $par1Str = $this.$theWorld0; nms_Material_$callClinit(); var$8 = nms_Material_water; $ptr = 28; continue main; } if ($par1Str === $rt_s(1493)) var$18 = 1; else if (!($rt_s(1493) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1493); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityDropParticleFX; $par1Str = $this.$theWorld0; nms_Material_$callClinit(); var$8 = nms_Material_lava; $ptr = 29; continue main; } if ($par1Str === $rt_s(1494)) var$18 = 1; else if (!($rt_s(1494) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1494); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntitySnowShovelFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 30; continue main; } if ($par1Str === $rt_s(1495)) var$18 = 1; else if (!($rt_s(1495) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1495); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_slimeBall; var$18 = 0; $par8 = 0.0; $par10 = 0.0; $par12 = 0.0; $ptr = 31; continue main; } if ($par1Str === $rt_s(1496)) var$18 = 1; else if (!($rt_s(1496) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1496); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityHeartFX; $par1Str = $this.$theWorld0; $var24 = 2.0; $ptr = 32; continue main; } if ($par1Str === $rt_s(1497)) var$18 = 1; else if (!($rt_s(1497) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1497); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityHeartFX; $par1Str = $this.$theWorld0; $par4 = $par4 + 0.5; $var24 = 2.0; $ptr = 33; continue main; } if ($par1Str === $rt_s(1498)) var$18 = 1; else if (!($rt_s(1498) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1498); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityAuraFX; $par1Str = $this.$theWorld0; $ptr = 34; continue main; } if ($par1Str === $rt_s(1287) ? 1 : jl_String_startsWith($par1Str, $rt_s(1287), 0)) { $var27 = (jur_Pattern_split(jur_Pattern_compile($rt_s(659), 0), $par1Str, 3)).data; $par1Str = $var27[1]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$27 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); if ($var27.length <= 2) { $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[var$27]; var$18 = 0; $ptr = 35; continue main; } $par1Str = $var27[2]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$18 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[var$27]; $ptr = 36; continue main; } if (!($par1Str === $rt_s(1237) ? 1 : jl_String_startsWith($par1Str, $rt_s(1237), 0))) { if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; } $var27 = (jur_Pattern_split(jur_Pattern_compile($rt_s(659), 0), $par1Str, 3)).data; $par1Str = $var27[1]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$27 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); $par1Str = $var27[2]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$18 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); $par1Str = new nms_EntityDiggingFX; var$8 = $this.$theWorld0; nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$27]; $ptr = 37; continue main; } $var21 = new nms_EntitySplashFX; $par1Str = $this.$theWorld0; $ptr = 23; continue main; } $var21 = new nms_EntityFootStepFX; $par1Str = $this.$renderEngine2; var$8 = $this.$theWorld0; nms_EntityFootStepFX_$callClinit(); $par8 = 0.0; $par10 = 0.0; $par12 = 0.0; $ptr = 22; continue main; } $var21 = new nms_EntityExplodeFX; $par1Str = $this.$theWorld0; $ptr = 19; continue main; } $var21 = new nms_EntityEnchantmentTableParticleFX; $par1Str = $this.$theWorld0; $ptr = 18; continue main; } $var21 = new nms_EntityPortalFX; $par1Str = $this.$theWorld0; $ptr = 17; continue main; } $var21 = new nms_EntityNoteFX; $par1Str = $this.$theWorld0; $var24 = 2.0; $ptr = 16; continue main; } $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; $ptr = 13; continue main; } $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; $ptr = 12; continue main; } $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; $ptr = 11; continue main; } $var21 = new nms_EntitySmokeFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 10; continue main; } $var21 = new nms_EntityAuraFX; $par1Str = $this.$theWorld0; $ptr = 6; continue main; } $var21 = new nms_EntitySuspendFX; $par1Str = $this.$theWorld0; $ptr = 5; continue main; } $var21 = new nms_EntityBubbleFX; $par1Str = $this.$theWorld0; $ptr = 4; continue main; case 2: nms_EntityLargeExplodeFX__init_($var21, var$8, var$28, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $var27 = var$9.$fxLayers.data; if ($var27[3].$size0 >= 4000) ju_ArrayList_remove($var27[3], 0); var$8 = var$9.$fxLayers.data[3]; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); $var27 = var$8.$array.data; var$12 = var$8.$size0; var$8.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; var$8.$modCount = var$8.$modCount + 1 | 0; if ($var21 !== null) return $var21; if ($var15 * $var15 + $var17 * $var17 + $var19 * $var19 > 256.0) return null; if ($var14 > 1) return null; if ($par1Str === $rt_s(1242)) var$18 = 1; else if (!($rt_s(1242) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1242); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str === $rt_s(1476)) var$18 = 1; else if (!($rt_s(1476) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1476); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str === $rt_s(1477)) var$18 = 1; else if (!($rt_s(1477) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1477); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1478)) { if (!($rt_s(1478) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1478); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } } else var$18 = 1; if (var$18) { $var21 = new nms_EntityAuraFX; $par1Str = $this.$theWorld0; $ptr = 7; continue main; } if ($par1Str === $rt_s(1317)) var$18 = 1; else if (!($rt_s(1317) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1317); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityCritFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 8; continue main; } if ($par1Str === $rt_s(1318)) var$18 = 1; else if (!($rt_s(1318) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1318); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityCritFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 9; continue main; } if ($par1Str === $rt_s(1479)) var$18 = 1; else if ($rt_s(1479) instanceof jl_String) { var$8 = $rt_s(1479); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; if (!var$18) { if ($par1Str !== $rt_s(1284)) { if ($rt_s(1284) instanceof jl_String) { var$8 = $rt_s(1284); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str !== $rt_s(1285)) { if ($rt_s(1285) instanceof jl_String) { var$8 = $rt_s(1285); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str === $rt_s(1480)) var$18 = 1; else if (!($rt_s(1480) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1480); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1481)) { if ($rt_s(1481) instanceof jl_String) { var$8 = $rt_s(1481); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (var$18) { $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; $ptr = 14; continue main; } if ($par1Str !== $rt_s(1482)) { if ($rt_s(1482) instanceof jl_String) { var$8 = $rt_s(1482); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (var$18) { $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; $ptr = 15; continue main; } if ($par1Str !== $rt_s(1483)) { if ($rt_s(1483) instanceof jl_String) { var$8 = $rt_s(1483); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str === $rt_s(1455)) var$18 = 1; else if (!($rt_s(1455) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1455); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1484)) { if ($rt_s(1484) instanceof jl_String) { var$8 = $rt_s(1484); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str !== $rt_s(1264)) { if ($rt_s(1264) instanceof jl_String) { var$8 = $rt_s(1264); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str !== $rt_s(1485)) { if ($rt_s(1485) instanceof jl_String) { var$8 = $rt_s(1485); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (var$18) { $var21 = new nms_EntityFlameFX; $par1Str = $this.$theWorld0; $ptr = 20; continue main; } if ($par1Str === $rt_s(1486)) var$18 = 1; else if (!($rt_s(1486) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1486); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityLavaFX; $par1Str = $this.$theWorld0; $ptr = 21; continue main; } if ($par1Str === $rt_s(1487)) var$18 = 1; else if ($rt_s(1487) instanceof jl_String) { var$8 = $rt_s(1487); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; if (!var$18) { if ($par1Str === $rt_s(1241)) var$18 = 1; else if (!($rt_s(1241) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1241); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1488)) { if (!($rt_s(1488) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1488); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } } else var$18 = 1; if (var$18) { $var21 = new nms_EntitySmokeFX; $par1Str = $this.$theWorld0; $var24 = 2.5; $ptr = 24; continue main; } if ($par1Str === $rt_s(1489)) var$18 = 1; else if (!($rt_s(1489) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1489); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityCloudFX; $par1Str = $this.$theWorld0; $ptr = 25; continue main; } if ($par1Str === $rt_s(1490)) var$18 = 1; else if (!($rt_s(1490) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1490); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityReddustFX; $par1Str = $this.$theWorld0; var$23 = $par8; var$24 = $par10; var$25 = $par12; $var24 = 1.0; $ptr = 26; continue main; } if ($par1Str === $rt_s(1491)) var$18 = 1; else if (!($rt_s(1491) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1491); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_snowball; var$18 = 0; $par8 = 0.0; $par10 = 0.0; $par12 = 0.0; $ptr = 27; continue main; } if ($par1Str === $rt_s(1492)) var$18 = 1; else if (!($rt_s(1492) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1492); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityDropParticleFX; $par1Str = $this.$theWorld0; nms_Material_$callClinit(); var$8 = nms_Material_water; $ptr = 28; continue main; } if ($par1Str === $rt_s(1493)) var$18 = 1; else if (!($rt_s(1493) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1493); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityDropParticleFX; $par1Str = $this.$theWorld0; nms_Material_$callClinit(); var$8 = nms_Material_lava; $ptr = 29; continue main; } if ($par1Str === $rt_s(1494)) var$18 = 1; else if (!($rt_s(1494) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1494); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntitySnowShovelFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 30; continue main; } if ($par1Str === $rt_s(1495)) var$18 = 1; else if (!($rt_s(1495) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1495); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_slimeBall; var$18 = 0; $par8 = 0.0; $par10 = 0.0; $par12 = 0.0; $ptr = 31; continue main; } if ($par1Str === $rt_s(1496)) var$18 = 1; else if (!($rt_s(1496) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1496); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityHeartFX; $par1Str = $this.$theWorld0; $var24 = 2.0; $ptr = 32; continue main; } if ($par1Str === $rt_s(1497)) var$18 = 1; else if (!($rt_s(1497) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1497); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityHeartFX; $par1Str = $this.$theWorld0; $par4 = $par4 + 0.5; $var24 = 2.0; $ptr = 33; continue main; } if ($par1Str === $rt_s(1498)) var$18 = 1; else if (!($rt_s(1498) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1498); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityAuraFX; $par1Str = $this.$theWorld0; $ptr = 34; continue main; } if ($par1Str === $rt_s(1287) ? 1 : jl_String_startsWith($par1Str, $rt_s(1287), 0)) { $var27 = (jur_Pattern_split(jur_Pattern_compile($rt_s(659), 0), $par1Str, 3)).data; $par1Str = $var27[1]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$27 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); if ($var27.length <= 2) { $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[var$27]; var$18 = 0; $ptr = 35; continue main; } $par1Str = $var27[2]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$18 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[var$27]; $ptr = 36; continue main; } if (!($par1Str === $rt_s(1237) ? 1 : jl_String_startsWith($par1Str, $rt_s(1237), 0))) { if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; } $var27 = (jur_Pattern_split(jur_Pattern_compile($rt_s(659), 0), $par1Str, 3)).data; $par1Str = $var27[1]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$27 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); $par1Str = $var27[2]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$18 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); $par1Str = new nms_EntityDiggingFX; var$8 = $this.$theWorld0; nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$27]; $ptr = 37; continue main; } $var21 = new nms_EntitySplashFX; $par1Str = $this.$theWorld0; $ptr = 23; continue main; } $var21 = new nms_EntityFootStepFX; $par1Str = $this.$renderEngine2; var$8 = $this.$theWorld0; nms_EntityFootStepFX_$callClinit(); $par8 = 0.0; $par10 = 0.0; $par12 = 0.0; $ptr = 22; continue main; } $var21 = new nms_EntityExplodeFX; $par1Str = $this.$theWorld0; $ptr = 19; continue main; } $var21 = new nms_EntityEnchantmentTableParticleFX; $par1Str = $this.$theWorld0; $ptr = 18; continue main; } $var21 = new nms_EntityPortalFX; $par1Str = $this.$theWorld0; $ptr = 17; continue main; } $var21 = new nms_EntityNoteFX; $par1Str = $this.$theWorld0; $var24 = 2.0; $ptr = 16; continue main; } $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; $ptr = 13; continue main; } $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; $ptr = 12; continue main; } $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; $ptr = 11; continue main; } $var21 = new nms_EntitySmokeFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 10; continue main; } $var21 = new nms_EntityAuraFX; $par1Str = $this.$theWorld0; $ptr = 6; continue main; } $var21 = new nms_EntitySuspendFX; $par1Str = $this.$theWorld0; $ptr = 5; continue main; } $var21 = new nms_EntityBubbleFX; $par1Str = $this.$theWorld0; $ptr = 4; continue main; case 3: nms_EntityFX__init_0($var21, var$8, $par2, $par4, $par6); if ($rt_suspending()) { break main; } $var21.$baseTextureIndex = 160; $var21.$motionX = $par8; $var21.$motionY = $par10; $var21.$motionZ = $par12; $var21.$field_92047_az = var$9; $var21.$particleScale = $var21.$particleScale * 0.75; var$8 = $var21.$rand; var$11 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$11; var$29 = Long_lo(Long_shru(var$11, 17)); while (true) { var$30 = var$29 % 12 | 0; if (((var$29 - var$30 | 0) + 11 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$11; var$29 = Long_lo(Long_shru(var$11, 17)); } $var21.$particleMaxAge = 48 + var$30 | 0; $var21.$noClip = 0; $var27 = var$9.$fxLayers.data; if ($var27[0].$size0 >= 4000) ju_ArrayList_remove($var27[0], 0); var$8 = var$9.$fxLayers.data[0]; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); $var27 = var$8.$array.data; var$12 = var$8.$size0; var$8.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; var$8.$modCount = var$8.$modCount + 1 | 0; if ($var21 !== null) return $var21; if ($var15 * $var15 + $var17 * $var17 + $var19 * $var19 > 256.0) return null; if ($var14 > 1) return null; if ($par1Str === $rt_s(1242)) var$18 = 1; else if (!($rt_s(1242) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1242); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str === $rt_s(1476)) var$18 = 1; else if (!($rt_s(1476) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1476); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str === $rt_s(1477)) var$18 = 1; else if (!($rt_s(1477) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1477); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1478)) { if (!($rt_s(1478) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1478); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } } else var$18 = 1; if (var$18) { $var21 = new nms_EntityAuraFX; $par1Str = $this.$theWorld0; $ptr = 7; continue main; } if ($par1Str === $rt_s(1317)) var$18 = 1; else if (!($rt_s(1317) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1317); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityCritFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 8; continue main; } if ($par1Str === $rt_s(1318)) var$18 = 1; else if (!($rt_s(1318) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1318); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityCritFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 9; continue main; } if ($par1Str === $rt_s(1479)) var$18 = 1; else if ($rt_s(1479) instanceof jl_String) { var$8 = $rt_s(1479); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; if (!var$18) { if ($par1Str !== $rt_s(1284)) { if ($rt_s(1284) instanceof jl_String) { var$8 = $rt_s(1284); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str !== $rt_s(1285)) { if ($rt_s(1285) instanceof jl_String) { var$8 = $rt_s(1285); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str === $rt_s(1480)) var$18 = 1; else if (!($rt_s(1480) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1480); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1481)) { if ($rt_s(1481) instanceof jl_String) { var$8 = $rt_s(1481); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (var$18) { $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; $ptr = 14; continue main; } if ($par1Str !== $rt_s(1482)) { if ($rt_s(1482) instanceof jl_String) { var$8 = $rt_s(1482); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (var$18) { $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; $ptr = 15; continue main; } if ($par1Str !== $rt_s(1483)) { if ($rt_s(1483) instanceof jl_String) { var$8 = $rt_s(1483); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str === $rt_s(1455)) var$18 = 1; else if (!($rt_s(1455) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1455); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1484)) { if ($rt_s(1484) instanceof jl_String) { var$8 = $rt_s(1484); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str !== $rt_s(1264)) { if ($rt_s(1264) instanceof jl_String) { var$8 = $rt_s(1264); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (!var$18) { if ($par1Str !== $rt_s(1485)) { if ($rt_s(1485) instanceof jl_String) { var$8 = $rt_s(1485); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; } else var$18 = 1; if (var$18) { $var21 = new nms_EntityFlameFX; $par1Str = $this.$theWorld0; $ptr = 20; continue main; } if ($par1Str === $rt_s(1486)) var$18 = 1; else if (!($rt_s(1486) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1486); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityLavaFX; $par1Str = $this.$theWorld0; $ptr = 21; continue main; } if ($par1Str === $rt_s(1487)) var$18 = 1; else if ($rt_s(1487) instanceof jl_String) { var$8 = $rt_s(1487); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$18 = 0; if (!var$18) { if ($par1Str === $rt_s(1241)) var$18 = 1; else if (!($rt_s(1241) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1241); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$18) { if ($par1Str !== $rt_s(1488)) { if (!($rt_s(1488) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1488); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } } else var$18 = 1; if (var$18) { $var21 = new nms_EntitySmokeFX; $par1Str = $this.$theWorld0; $var24 = 2.5; $ptr = 24; continue main; } if ($par1Str === $rt_s(1489)) var$18 = 1; else if (!($rt_s(1489) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1489); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityCloudFX; $par1Str = $this.$theWorld0; $ptr = 25; continue main; } if ($par1Str === $rt_s(1490)) var$18 = 1; else if (!($rt_s(1490) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1490); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityReddustFX; $par1Str = $this.$theWorld0; var$23 = $par8; var$24 = $par10; var$25 = $par12; $var24 = 1.0; $ptr = 26; continue main; } if ($par1Str === $rt_s(1491)) var$18 = 1; else if (!($rt_s(1491) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1491); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_snowball; var$18 = 0; $par8 = 0.0; $par10 = 0.0; $par12 = 0.0; $ptr = 27; continue main; } if ($par1Str === $rt_s(1492)) var$18 = 1; else if (!($rt_s(1492) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1492); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityDropParticleFX; $par1Str = $this.$theWorld0; nms_Material_$callClinit(); var$8 = nms_Material_water; $ptr = 28; continue main; } if ($par1Str === $rt_s(1493)) var$18 = 1; else if (!($rt_s(1493) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1493); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityDropParticleFX; $par1Str = $this.$theWorld0; nms_Material_$callClinit(); var$8 = nms_Material_lava; $ptr = 29; continue main; } if ($par1Str === $rt_s(1494)) var$18 = 1; else if (!($rt_s(1494) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1494); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntitySnowShovelFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 30; continue main; } if ($par1Str === $rt_s(1495)) var$18 = 1; else if (!($rt_s(1495) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1495); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_slimeBall; var$18 = 0; $par8 = 0.0; $par10 = 0.0; $par12 = 0.0; $ptr = 31; continue main; } if ($par1Str === $rt_s(1496)) var$18 = 1; else if (!($rt_s(1496) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1496); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityHeartFX; $par1Str = $this.$theWorld0; $var24 = 2.0; $ptr = 32; continue main; } if ($par1Str === $rt_s(1497)) var$18 = 1; else if (!($rt_s(1497) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1497); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityHeartFX; $par1Str = $this.$theWorld0; $par4 = $par4 + 0.5; $var24 = 2.0; $ptr = 33; continue main; } if ($par1Str === $rt_s(1498)) var$18 = 1; else if (!($rt_s(1498) instanceof jl_String)) var$18 = 0; else { var$8 = $rt_s(1498); var$18 = $par1Str.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$18) { $var21 = new nms_EntityAuraFX; $par1Str = $this.$theWorld0; $ptr = 34; continue main; } if ($par1Str === $rt_s(1287) ? 1 : jl_String_startsWith($par1Str, $rt_s(1287), 0)) { $var27 = (jur_Pattern_split(jur_Pattern_compile($rt_s(659), 0), $par1Str, 3)).data; $par1Str = $var27[1]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$27 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); if ($var27.length <= 2) { $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[var$27]; var$18 = 0; $ptr = 35; continue main; } $par1Str = $var27[2]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$18 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); $var21 = new nms_EntityBreakingFX; $par1Str = $this.$theWorld0; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[var$27]; $ptr = 36; continue main; } if (!($par1Str === $rt_s(1237) ? 1 : jl_String_startsWith($par1Str, $rt_s(1237), 0))) { if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; } $var27 = (jur_Pattern_split(jur_Pattern_compile($rt_s(659), 0), $par1Str, 3)).data; $par1Str = $var27[1]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$27 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); $par1Str = $var27[2]; if ($par1Str === null) { $par1Str = new jl_NumberFormatException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(108); $rt_throw($par1Str); } var$18 = jl_Integer_parseIntImpl($par1Str, 0, $par1Str.$nativeString.length, 10); $par1Str = new nms_EntityDiggingFX; var$8 = $this.$theWorld0; nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$27]; $ptr = 37; continue main; } $var21 = new nms_EntitySplashFX; $par1Str = $this.$theWorld0; $ptr = 23; continue main; } $var21 = new nms_EntityFootStepFX; $par1Str = $this.$renderEngine2; var$8 = $this.$theWorld0; nms_EntityFootStepFX_$callClinit(); $par8 = 0.0; $par10 = 0.0; $par12 = 0.0; $ptr = 22; continue main; } $var21 = new nms_EntityExplodeFX; $par1Str = $this.$theWorld0; $ptr = 19; continue main; } $var21 = new nms_EntityEnchantmentTableParticleFX; $par1Str = $this.$theWorld0; $ptr = 18; continue main; } $var21 = new nms_EntityPortalFX; $par1Str = $this.$theWorld0; $ptr = 17; continue main; } $var21 = new nms_EntityNoteFX; $par1Str = $this.$theWorld0; $var24 = 2.0; $ptr = 16; continue main; } $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; $ptr = 13; continue main; } $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; $ptr = 12; continue main; } $var21 = new nms_EntitySpellParticleFX; $par1Str = $this.$theWorld0; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; $ptr = 11; continue main; } $var21 = new nms_EntitySmokeFX; $par1Str = $this.$theWorld0; $var24 = 1.0; $ptr = 10; continue main; } $var21 = new nms_EntityAuraFX; $par1Str = $this.$theWorld0; $ptr = 6; continue main; } $var21 = new nms_EntitySuspendFX; $par1Str = $this.$theWorld0; $ptr = 5; continue main; } $var21 = new nms_EntityBubbleFX; $par1Str = $this.$theWorld0; $ptr = 4; case 4: nms_EntityBubbleFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 5: nms_EntitySuspendFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 6: nms_EntityAuraFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 7: nms_EntityAuraFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 8: nms_EntityCritFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12, $var24); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 9: nms_EntityCritFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12, $var24); if ($rt_suspending()) { break main; } $var24 = $var21.$particleRed * 0.30000001192092896; var$23 = $var21.$particleGreen * 0.800000011920929; var$24 = $var21.$particleBlue; $var21.$particleRed = $var24; $var21.$particleGreen = var$23; $var21.$particleBlue = var$24; $var21.$particleTextureIndexX = $var21.$particleTextureIndexX + 1 | 0; if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 10: nms_EntitySmokeFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12, $var24); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 11: nms_EntitySpellParticleFX__init_($var21, $par1Str, $par2, $par4, $par6, var$19, var$20, var$21); if ($rt_suspending()) { break main; } $var24 = $par8; var$23 = $par10; var$24 = $par12; $var21.$particleRed = $var24; $var21.$particleGreen = var$23; $var21.$particleBlue = var$24; if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 12: nms_EntitySpellParticleFX__init_($var21, $par1Str, $par2, $par4, $par6, var$19, var$20, var$21); if ($rt_suspending()) { break main; } $var21.$particleAlpha = 0.15000000596046448; $var24 = $par8; var$23 = $par10; var$24 = $par12; $var21.$particleRed = $var24; $var21.$particleGreen = var$23; $var21.$particleBlue = var$24; if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 13: nms_EntitySpellParticleFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 14: nms_EntitySpellParticleFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $var21.$baseSpellTextureIndex = 144; if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 15: nms_EntitySpellParticleFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $var21.$baseSpellTextureIndex = 144; $par1Str = $this.$theWorld0.$rand0; var$11 = Long_and(Long_add(Long_mul($par1Str.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Str.$seed = var$11; $var24 = Long_lo(Long_shru(var$11, 24)) / 1.6777216E7 * 0.5 + 0.3499999940395355; var$23 = 1.0 * $var24; $var24 = 0.0 * $var24; $var21.$particleRed = var$23; $var21.$particleGreen = $var24; $var21.$particleBlue = var$23; if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 16: nms_EntityNoteFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12, $var24); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 17: nms_EntityPortalFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 18: nms_EntityEnchantmentTableParticleFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 19: nms_EntityExplodeFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 20: nms_EntityFlameFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 21: nms_EntityLavaFX__init_($var21, $par1Str, $par2, $par4, $par6); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 22: nms_EntityFX__init_($var21, var$8, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $var21.$currentFootSteps = $par1Str; $var21.$motionZ = 0.0; $var21.$motionY = 0.0; $var21.$motionX = 0.0; $var21.$footstepMaxAge = 200; if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 23: nms_EntitySplashFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 24: nms_EntitySmokeFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12, $var24); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 25: nms_EntityCloudFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 26: nms_EntityReddustFX__init_($var21, $par1Str, $par2, $par4, $par6, $var24, var$23, var$24, var$25); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 27: nms_EntityFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $var21.$particleIcon = var$8.$getIconFromDamage(var$18); $var21.$particleBlue = 1.0; $var21.$particleGreen = 1.0; $var21.$particleRed = 1.0; nms_Block_$callClinit(); $var21.$particleGravity = nms_Block_blockSnow.$blockParticleGravity; $var21.$particleScale = $var21.$particleScale / 2.0; if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 28: nms_EntityDropParticleFX__init_($var21, $par1Str, $par2, $par4, $par6, var$8); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 29: nms_EntityDropParticleFX__init_($var21, $par1Str, $par2, $par4, $par6, var$8); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 30: nms_EntitySnowShovelFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12, $var24); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 31: nms_EntityFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $var21.$particleIcon = var$8.$getIconFromDamage(var$18); $var21.$particleBlue = 1.0; $var21.$particleGreen = 1.0; $var21.$particleRed = 1.0; nms_Block_$callClinit(); $var21.$particleGravity = nms_Block_blockSnow.$blockParticleGravity; $var21.$particleScale = $var21.$particleScale / 2.0; if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 32: nms_EntityHeartFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12, $var24); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 33: nms_EntityHeartFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12, $var24); if ($rt_suspending()) { break main; } $var21.$particleTextureIndexX = 1; $var21.$particleTextureIndexY = 5; $var21.$particleRed = 1.0; $var21.$particleGreen = 1.0; $var21.$particleBlue = 1.0; if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 34: nms_EntityAuraFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $var21.$particleTextureIndexX = 2; $var21.$particleTextureIndexY = 5; $var21.$particleRed = 1.0; $var21.$particleGreen = 1.0; $var21.$particleBlue = 1.0; if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 35: nms_EntityBreakingFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12, var$8, var$18); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 36: nms_EntityBreakingFX__init_($var21, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12, var$8, var$18); if ($rt_suspending()) { break main; } if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; case 37: nms_EntityFX__init_($par1Str, var$8, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $par1Str.$blockInstance = var$9; $par1Str.$particleIcon = var$9.$getIcon(0, var$18); $par1Str.$particleGravity = var$9.$blockParticleGravity; $par1Str.$particleBlue = 0.6000000238418579; $par1Str.$particleGreen = 0.6000000238418579; $par1Str.$particleRed = 0.6000000238418579; $par1Str.$particleScale = $par1Str.$particleScale / 2.0; $var21 = nms_EntityDiggingFX_applyRenderColor($par1Str, var$18); if ($var21 !== null) { $par1Str = $this.$mc5.$effectRenderer; var$18 = $var21.$getFXLayer(); $var27 = $par1Str.$fxLayers.data; if ($var27[var$18].$size0 >= 4000) ju_ArrayList_remove($var27[var$18], 0); $par1Str = $par1Str.$fxLayers.data[var$18]; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); $var27 = $par1Str.$array.data; var$12 = $par1Str.$size0; $par1Str.$size0 = var$12 + 1 | 0; $var27[var$12] = $var21; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; } return $var21; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2, $par4, $par6, $par8, $par10, $par12, var$8, var$9, $var14, var$11, var$12, var$13, $var15, $var17, $var19, $var21, var$18, var$19, var$20, var$21, $var24, var$23, var$24, var$25, $var27, var$27, var$28, var$29, var$30, $ptr); }, nms_RenderGlobal_broadcastSound = ($this, $par1, $par2, $par3, $par4, $par5) => { let var$6, $var7, $var9, $var11, $var13, $var15, $var17, $var19, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { switch ($par1) { case 1013: case 1018: break; default: break a; } var$6 = $this.$mc5.$renderViewEntity; if (var$6 !== null) { $var7 = $par2 - var$6.$posX; $var9 = $par3 - var$6.$posY; $var11 = $par4 - var$6.$posZ; $var13 = jl_Math_sqrt($var7 * $var7 + $var9 * $var9 + $var11 * $var11); var$6 = $this.$mc5.$renderViewEntity; $var15 = var$6.$posX; $var17 = var$6.$posY; $var19 = var$6.$posZ; if ($var13 > 0.0) { $var15 = $var15 + $var7 / $var13 * 2.0; $var17 = $var17 + $var9 / $var13 * 2.0; $var19 = $var19 + $var11 / $var13 * 2.0; } if ($par1 == 1013) { var$6 = $this.$theWorld0; var$14 = $rt_s(1499); var$15 = 1.0; var$16 = 1.0; $par1 = 0; $ptr = 1; continue main; } if ($par1 == 1018) { var$6 = $this.$theWorld0; var$14 = $rt_s(1500); var$15 = 5.0; var$16 = 1.0; $par1 = 0; $ptr = 2; continue main; } } } return; case 1: nms_WorldClient_playSound(var$6, $var15, $var17, $var19, var$14, var$15, var$16, $par1); if ($rt_suspending()) { break main; } return; case 2: nms_WorldClient_playSound(var$6, $var15, $var17, $var19, var$14, var$15, var$16, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5, var$6, $var7, $var9, $var11, $var13, $var15, $var17, $var19, var$14, var$15, var$16, $ptr); }, nms_RenderGlobal_playAuxSFX = ($this, $par1EntityPlayer, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var10, $var8, $var12, $var16, $var17, $var40, var$14, var$15, var$16, var$17, $var18, $var19, $var31, var$21, var$22, var$23, $var32, $var33, $var9, $var25, $var10_0, $var34, $var36, $var39, var$32, $var37, $var38, $var39_0, $var23, $var27, $var29, $var20, $var15, $var35, $var21, $var22, $var24, $var26, var$46, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$46 = $thread.pop();$var26 = $thread.pop();$var24 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var35 = $thread.pop();$var15 = $thread.pop();$var20 = $thread.pop();$var29 = $thread.pop();$var27 = $thread.pop();$var23 = $thread.pop();$var39_0 = $thread.pop();$var38 = $thread.pop();$var37 = $thread.pop();var$32 = $thread.pop();$var39 = $thread.pop();$var36 = $thread.pop();$var34 = $thread.pop();$var10_0 = $thread.pop();$var25 = $thread.pop();$var9 = $thread.pop();$var33 = $thread.pop();$var32 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var31 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var40 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var12 = $thread.pop();$var8 = $thread.pop();$var10 = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $par1EntityPlayer = $this.$theWorld0; $var7 = $par1EntityPlayer.$rand0; switch ($par2) { case 1000: $var10 = $par3; $var8 = $par4; $var12 = $par5; $var7 = $rt_s(642); $var16 = 1.0; $var17 = 1.0; $par2 = 0; $ptr = 1; continue main; case 1001: $var10 = $par3; $var8 = $par4; $var12 = $par5; $var7 = $rt_s(642); $var16 = 1.0; $var17 = 1.2000000476837158; $par2 = 0; $ptr = 2; continue main; case 1002: $var10 = $par3; $var8 = $par4; $var12 = $par5; $var7 = $rt_s(1501); $var16 = 1.0; $var17 = 1.2000000476837158; $par2 = 0; $ptr = 3; continue main; case 1003: if (jl_Math_randomImpl() >= 0.5) { $par1EntityPlayer = $this.$theWorld0; $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var7 = $rt_s(1502); $var16 = 1.0; $var40 = $par1EntityPlayer.$rand0; var$14 = Long_and(Long_add(Long_mul($var40.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var40.$seed = var$14; $var17 = Long_lo(Long_shru(var$14, 24)) / 1.6777216E7 * 0.10000000149011612 + 0.8999999761581421; $par2 = 0; $ptr = 19; continue main; } $par1EntityPlayer = $this.$theWorld0; $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var7 = $rt_s(1503); $var16 = 1.0; $var40 = $par1EntityPlayer.$rand0; var$14 = Long_and(Long_add(Long_mul($var40.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var40.$seed = var$14; $var17 = Long_lo(Long_shru(var$14, 24)) / 1.6777216E7 * 0.10000000149011612 + 0.8999999761581421; $par2 = 0; $ptr = 20; continue main; case 1004: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1239); $var16 = 0.5; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; var$16 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = 2.5999999046325684 + (var$16 - Long_lo(Long_shru(var$14, 24)) / 1.6777216E7) * 0.800000011920929; $par2 = 0; $ptr = 4; continue main; case 1005: nms_Item_$callClinit(); var$17 = nms_Item_itemsList.data; if (!(var$17[$par6] instanceof nms_ItemRecord)) { $var7 = null; $par2 = 0; $var16 = $par3; $var17 = $par4; $var18 = $par5; $var40 = $par1EntityPlayer.$worldAccesses; $par3 = $rt_compare($par2, $var40.$size0); if ($par3 >= 0) break a; if ($par2 >= 0 && $par3 < 0) { $var40 = $var40.$array.data[$par2]; $var19 = nms_ItemRecord_records; if ($var7 === null) { $var19 = $var19.$elementData.data[0]; while ($var19 !== null && $var19.$key !== null) { $var19 = $var19.$next3; } } else { $par4 = $var7.$hashCode(); var$17 = $var19.$elementData.data; $var19 = var$17[$par4 & (var$17.length - 1 | 0)]; while ($var19 !== null) { if ($var19.$origKeyHash == $par4) { $var31 = $var19.$key; if ($var7 !== $var31 && !$var7.$equals($var31) ? 0 : 1) break; } $var19 = $var19.$next3; } } $var19 = $var19 === null ? null : $var19.$value1; b: { $var31 = $var19; if ($var7 !== null && $var31 !== null) { $var19 = $var40.$mc5.$ingameGUI; $var31 = $var31.$recordName; var$21 = new jl_StringBuilder; var$21.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$21, var$21.$length0, jl_String_toString($rt_s(1504))); jl_StringBuilder_insert0(var$21, var$21.$length0, $var31 === null ? $rt_s(1) : jl_String_toString($var31)); var$22 = new jl_String; var$17 = var$21.$buffer; var$23 = var$17.data; $par4 = var$21.$length0; $par5 = var$23.length; if ($par4 >= 0 && $par4 <= ($par5 - 0 | 0)) { var$22.$nativeString = $rt_charArrayToString(var$17.data, 0, $par4); $var31 = new jl_StringBuilder; $var31.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0($var31, $var31.$length0, jl_String_toString($rt_s(1505))); jl_StringBuilder_insert0($var31, $var31.$length0, jl_String_toString(var$22)); var$21 = new jl_String; var$17 = $var31.$buffer; var$23 = var$17.data; $par4 = $var31.$length0; $par5 = var$23.length; if ($par4 >= 0 && $par4 <= ($par5 - 0 | 0)) { var$21.$nativeString = $rt_charArrayToString(var$17.data, 0, $par4); $var19.$recordPlaying = var$21; $var19.$recordPlayingUpFor = 60; $var19.$recordIsPlaying = 1; break b; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } } $var40 = $var40.$mc5.$sndManager; $par3 = 0; $ptr = 32; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $var7 = var$17[$par6].$recordName; $par2 = 0; $var16 = $par3; $var17 = $par4; $var18 = $par5; $var40 = $par1EntityPlayer.$worldAccesses; $par3 = $rt_compare($par2, $var40.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { $var40 = $var40.$array.data[$par2]; $var19 = nms_ItemRecord_records; if ($var7 === null) { $var19 = $var19.$elementData.data[0]; while ($var19 !== null && $var19.$key !== null) { $var19 = $var19.$next3; } } else { c: { if (!$var7.$hashCode1) { $par3 = 0; while (true) { if ($par3 >= $var7.$nativeString.length) break c; $var7.$hashCode1 = (31 * $var7.$hashCode1 | 0) + $var7.$nativeString.charCodeAt($par3) | 0; $par3 = $par3 + 1 | 0; } } } $par5 = $var7.$hashCode1; var$17 = $var19.$elementData.data; $var19 = var$17[$par5 & (var$17.length - 1 | 0)]; while ($var19 !== null) { if ($var19.$origKeyHash == $par5) { d: { $var31 = $var19.$key; if ($var7 !== $var31) { if ($var7 === $var31) $par3 = 1; else if (!($var31 instanceof jl_String)) $par3 = 0; else { $var31 = $var31; $par3 = $var7.$nativeString !== $var31.$nativeString ? 0 : 1; } if (!$par3) { $par3 = 0; break d; } } $par3 = 1; } if ($par3) break; } $var19 = $var19.$next3; } } $var19 = $var19 === null ? null : $var19.$value1; e: { $var31 = $var19; if ($var7 !== null && $var31 !== null) { $var19 = $var40.$mc5.$ingameGUI; $var31 = $var31.$recordName; var$21 = new jl_StringBuilder; var$21.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$21, var$21.$length0, jl_String_toString($rt_s(1504))); jl_StringBuilder_insert0(var$21, var$21.$length0, $var31 === null ? $rt_s(1) : jl_String_toString($var31)); var$22 = new jl_String; var$17 = var$21.$buffer; var$23 = var$17.data; $par4 = var$21.$length0; $par5 = var$23.length; if ($par4 >= 0 && $par4 <= ($par5 - 0 | 0)) { var$22.$nativeString = $rt_charArrayToString(var$17.data, 0, $par4); $var31 = new jl_StringBuilder; $var31.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0($var31, $var31.$length0, jl_String_toString($rt_s(1505))); jl_StringBuilder_insert0($var31, $var31.$length0, jl_String_toString(var$22)); var$21 = new jl_String; var$17 = $var31.$buffer; var$23 = var$17.data; $par4 = $var31.$length0; $par5 = var$23.length; if ($par4 >= 0 && $par4 <= ($par5 - 0 | 0)) { var$21.$nativeString = $rt_charArrayToString(var$17.data, 0, $par4); $var19.$recordPlaying = var$21; $var19.$recordPlayingUpFor = 60; $var19.$recordIsPlaying = 1; break e; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } } $var40 = $var40.$mc5.$sndManager; $par3 = 0; $ptr = 33; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } break a; case 1007: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1506); $var16 = 10.0; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var32 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = ($var32 - Long_lo(Long_shru(var$14, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $par2 = 0; $ptr = 5; continue main; case 1008: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1507); $var16 = 10.0; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var32 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = ($var32 - Long_lo(Long_shru(var$14, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $par2 = 0; $ptr = 6; continue main; case 1009: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1507); $var16 = 2.0; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var32 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = ($var32 - Long_lo(Long_shru(var$14, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $par2 = 0; $ptr = 7; continue main; case 1010: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1508); $var16 = 2.0; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var32 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = ($var32 - Long_lo(Long_shru(var$14, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $par2 = 0; $ptr = 8; continue main; case 1011: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1509); $var16 = 2.0; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var32 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = ($var32 - Long_lo(Long_shru(var$14, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $par2 = 0; $ptr = 9; continue main; case 1012: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1510); $var16 = 2.0; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var32 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = ($var32 - Long_lo(Long_shru(var$14, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $par2 = 0; $ptr = 10; continue main; case 1014: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1511); $var16 = 2.0; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var32 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = ($var32 - Long_lo(Long_shru(var$14, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $par2 = 0; $ptr = 11; continue main; case 1015: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1512); $var16 = 0.05000000074505806; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var32 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = ($var32 - Long_lo(Long_shru(var$14, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $par2 = 0; $ptr = 12; continue main; case 1016: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1513); $var16 = 2.0; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var32 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = ($var32 - Long_lo(Long_shru(var$14, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $par2 = 0; $ptr = 13; continue main; case 1017: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1514); $var16 = 2.0; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var32 = Long_lo(Long_shru(var$15, 24)) / 1.6777216E7; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = ($var32 - Long_lo(Long_shru(var$14, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; $par2 = 0; $ptr = 14; continue main; case 1020: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1515); $var16 = 1.0; var$14 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = Long_lo(Long_shru(var$14, 24)) / 1.6777216E7 * 0.10000000149011612 + 0.8999999761581421; $par2 = 0; $ptr = 15; continue main; case 1021: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1516); $var16 = 1.0; var$14 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = Long_lo(Long_shru(var$14, 24)) / 1.6777216E7 * 0.10000000149011612 + 0.8999999761581421; $par2 = 0; $ptr = 16; continue main; case 1022: $var10 = $par3 + 0.5; $var8 = $par4 + 0.5; $var12 = $par5 + 0.5; $var40 = $rt_s(1517); $var16 = 0.30000001192092896; var$14 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var17 = Long_lo(Long_shru(var$14, 24)) / 1.6777216E7 * 0.10000000149011612 + 0.8999999761581421; $par2 = 0; $ptr = 17; continue main; case 2000: $var33 = ($par6 % 3 | 0) - 1 | 0; $var9 = (($par6 / 3 | 0) % 3 | 0) - 1 | 0; $var10 = $par3; $var8 = $var33; $var10 = $var10 + $var8 * 0.6 + 0.5; $var12 = $par4 + 0.5; $var25 = $par5; $var10_0 = $var9; $var34 = $var25 + $var10_0 * 0.6 + 0.5; $var36 = 0; $par4 = 22; $par3 = 21; $var39 = $var10 + $var8 * 0.01; $var34 = $var34 + $var10_0 * 0.01; if ($var36 >= 10) return; var$32 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par4))), 27); var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; $var37 = Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$32, $par3))))) * 1.1102230246251565E-16 * 0.2 + 0.01; var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par4))), 27); var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; $var38 = $var39 + (Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$32, $par3))))) * 1.1102230246251565E-16 - 0.5) * $var10_0 * 0.5; var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par4))), 27); var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; $var39_0 = $var12 + (Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$32, $par3))))) * 1.1102230246251565E-16 - 0.5) * 0.5; var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par4))), 27); var$15 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var23 = $var34 + (Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$15, $par3))))) * 1.1102230246251565E-16 - 0.5) * $var8 * 0.5; $var25 = $var8 * $var37 + nle_EaglercraftRandom_nextGaussian($var7) * 0.01; $var27 = (-0.03) + nle_EaglercraftRandom_nextGaussian($var7) * 0.01; $var29 = $var10_0 * $var37 + nle_EaglercraftRandom_nextGaussian($var7) * 0.01; $par1EntityPlayer = $rt_s(1479); $ptr = 23; continue main; case 2001: $var20 = $par6 & 4095; if ($var20 <= 0) { $par1EntityPlayer = $this.$mc5.$effectRenderer; $par2 = $par6 >> 12 & 255; $ptr = 21; continue main; } nms_Block_$callClinit(); $var40 = nms_Block_blocksList.data[$var20]; $par1EntityPlayer = $this.$mc5.$sndManager; $var7 = $var40.$stepSound.$getBreakSound(); $var16 = $par3 + 0.5; $var17 = $par4 + 0.5; $var18 = $par5 + 0.5; $var40 = $var40.$stepSound; $var32 = ($var40.$stepSoundVolume + 1.0) / 2.0; var$16 = $var40.$stepSoundPitch * 0.800000011920929; $ptr = 22; continue main; case 2002: $var8 = $par3; $var10_0 = $par4; $var12 = $par5; nms_Item_$callClinit(); $par2 = nms_Item_potion.$itemID0; $par1EntityPlayer = new jl_StringBuilder; $par1EntityPlayer.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EntityPlayer, $par1EntityPlayer.$length0, $rt_s(1287)); jl_AbstractStringBuilder_insert0($par1EntityPlayer, $par1EntityPlayer.$length0, $par2, 10); $par3 = $par1EntityPlayer.$length0; jl_AbstractStringBuilder_insertSpace($par1EntityPlayer, $par3, $par3 + 1 | 0); $par1EntityPlayer.$buffer.data[$par3] = 95; jl_AbstractStringBuilder_insert0($par1EntityPlayer, $par1EntityPlayer.$length0, $par6, 10); $var40 = new jl_String; var$17 = $par1EntityPlayer.$buffer; var$23 = var$17.data; $par3 = $par1EntityPlayer.$length0; $par4 = var$23.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var40.$nativeString = $rt_charArrayToString(var$17.data, 0, $par3); $var15 = 0; $par5 = 22; $par4 = 21; if ($var15 < 8) { $var25 = nle_EaglercraftRandom_nextGaussian($var7) * 0.15; var$32 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par5))), 27); var$15 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var27 = Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$15, $par4))))) * 1.1102230246251565E-16 * 0.2; $var10 = nle_EaglercraftRandom_nextGaussian($var7) * 0.15; $ptr = 24; continue main; } $var33 = nms_PotionHelper_func_77915_a($par6, 0); $var16 = ($var33 >> 16 & 255) / 255.0; $var17 = ($var33 >> 8 & 255) / 255.0; $var18 = ($var33 >> 0 & 255) / 255.0; $var19 = $rt_s(1480); if (nms_ItemPotion_isEffectInstant(nms_Item_potion, $par6)) $var19 = $rt_s(1481); $var20 = 0; $var37 = $var10_0 + 0.3; $par3 = 24; if ($var20 >= 100) { $par1EntityPlayer = $this.$theWorld0; $var10 = $var8 + 0.5; $var8 = $var10_0 + 0.5; $var12 = $var12 + 0.5; $var7 = $rt_s(1518); $var16 = 1.0; $var40 = $par1EntityPlayer.$rand0; var$14 = Long_and(Long_add(Long_mul($var40.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var40.$seed = var$14; $var17 = Long_lo(Long_shru(var$14, $par3)) / 1.6777216E7 * 0.10000000149011612 + 0.8999999761581421; $par2 = 0; $ptr = 29; continue main; } var$32 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par5))), 27); var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; $var39 = Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$32, $par4))))) * 1.1102230246251565E-16 * 4.0; var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par5))), 27); var$15 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var23 = Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$15, $par4))))) * 1.1102230246251565E-16 * 3.141592653589793 * 2.0; $var25 = jl_Math_cos($var23) * $var39; var$32 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par5))), 27); var$15 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var27 = 0.01 + Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$15, $par4))))) * 1.1102230246251565E-16 * 0.5; $var29 = jl_Math_sin($var23) * $var39; $var10 = $var8 + $var25 * 0.1; $var38 = $var12 + $var29 * 0.1; $ptr = 30; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 2003: $var8 = $par3 + 0.5; $var10 = $par4; $var12 = $par5 + 0.5; nms_Item_$callClinit(); $par2 = nms_Item_eyeOfEnder.$itemID0; $par1EntityPlayer = new jl_StringBuilder; $par1EntityPlayer.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EntityPlayer, $par1EntityPlayer.$length0, $rt_s(1287)); jl_AbstractStringBuilder_insert0($par1EntityPlayer, $par1EntityPlayer.$length0, $par2, 10); $var40 = new jl_String; var$17 = $par1EntityPlayer.$buffer; var$23 = var$17.data; $par3 = $par1EntityPlayer.$length0; $par4 = var$23.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var40.$nativeString = $rt_charArrayToString(var$17.data, 0, $par3); $var15 = 0; $par4 = 22; $par3 = 21; if ($var15 >= 8) { $var35 = 0.0; $var27 = $var10 - 0.4; if ($var35 >= 6.283185307179586) return; $par1EntityPlayer = $rt_s(1455); $var10 = $var8 + jl_Math_cos($var35) * 5.0; $var25 = $var12 + jl_Math_sin($var35) * 5.0; $var29 = jl_Math_cos($var35) * (-5.0); $var37 = 0.0; $var10_0 = jl_Math_sin($var35) * (-5.0); $ptr = 26; continue main; } $var25 = nle_EaglercraftRandom_nextGaussian($var7) * 0.15; var$32 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par4))), 27); var$15 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var27 = Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$15, $par3))))) * 1.1102230246251565E-16 * 0.2; $var29 = nle_EaglercraftRandom_nextGaussian($var7) * 0.15; $ptr = 25; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 2004: $var21 = 0; $var10 = $par3 + 0.5; $par6 = 24; $var25 = $par4 + 0.5; $var27 = $par5 + 0.5; while ($var21 < 20) { $par1EntityPlayer = $this.$theWorld0; $var7 = $par1EntityPlayer.$rand0; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var22 = $var10 + (Long_lo(Long_shru(var$15, $par6)) / 1.6777216E7 - 0.5) * 2.0; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var24 = $var25 + (Long_lo(Long_shru(var$15, $par6)) / 1.6777216E7 - 0.5) * 2.0; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var26 = $var27 + (Long_lo(Long_shru(var$14, $par6)) / 1.6777216E7 - 0.5) * 2.0; $var7 = $rt_s(1479); $var8 = 0.0; $var12 = 0.0; $var29 = 0.0; $par2 = 0; $var40 = $par1EntityPlayer.$worldAccesses; $par3 = $rt_compare($par2, $var40.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { $var40 = $var40.$array.data[$par2]; $ptr = 28; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $par1EntityPlayer = $this.$theWorld0; $var7 = $rt_s(1485); $var8 = 0.0; $var12 = 0.0; $var29 = 0.0; $par2 = 0; $var40 = $par1EntityPlayer.$worldAccesses; $par3 = $rt_compare($par2, $var40.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { $var40 = $var40.$array.data[$par2]; $ptr = 31; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $var21 = $var21 + 1 | 0; } return; case 2005: break; default: break a; } $ptr = 18; continue main; } return; case 1: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var7, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 2: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var7, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 3: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var7, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 4: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 5: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 6: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 7: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 8: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 9: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 10: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 11: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 12: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 13: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 14: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 15: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 16: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 17: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var40, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 18: nms_ItemDye_func_96603_a($par1EntityPlayer, $par3, $par4, $par5, $par6); if ($rt_suspending()) { break main; } return; case 19: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var7, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 20: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var7, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 21: nms_EffectRenderer_addBlockDestroyEffects($par1EntityPlayer, $par3, $par4, $par5, $var20, $par2); if ($rt_suspending()) { break main; } return; case 22: nms_SoundManager_playSound($par1EntityPlayer, $var7, $var16, $var17, $var18, $var32, var$16); if ($rt_suspending()) { break main; } $par1EntityPlayer = $this.$mc5.$effectRenderer; $par2 = $par6 >> 12 & 255; $ptr = 21; continue main; case 23: nms_RenderGlobal_doSpawnParticle($this, $par1EntityPlayer, $var38, $var39_0, $var23, $var25, $var27, $var29); if ($rt_suspending()) { break main; } $var36 = $var36 + 1 | 0; if ($var36 >= 10) return; var$32 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par4))), 27); var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; $var37 = Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$32, $par3))))) * 1.1102230246251565E-16 * 0.2 + 0.01; var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par4))), 27); var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; $var38 = $var39 + (Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$32, $par3))))) * 1.1102230246251565E-16 - 0.5) * $var10_0 * 0.5; var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par4))), 27); var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; $var39_0 = $var12 + (Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$32, $par3))))) * 1.1102230246251565E-16 - 0.5) * 0.5; var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par4))), 27); var$15 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var23 = $var34 + (Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$15, $par3))))) * 1.1102230246251565E-16 - 0.5) * $var8 * 0.5; $var25 = $var8 * $var37 + nle_EaglercraftRandom_nextGaussian($var7) * 0.01; $var27 = (-0.03) + nle_EaglercraftRandom_nextGaussian($var7) * 0.01; $var29 = $var10_0 * $var37 + nle_EaglercraftRandom_nextGaussian($var7) * 0.01; $par1EntityPlayer = $rt_s(1479); continue main; case 24: nms_RenderGlobal_doSpawnParticle($this, $var40, $var8, $var10_0, $var12, $var25, $var27, $var10); if ($rt_suspending()) { break main; } $var15 = $var15 + 1 | 0; if ($var15 < 8) { $var25 = nle_EaglercraftRandom_nextGaussian($var7) * 0.15; var$32 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par5))), 27); var$15 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var27 = Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$15, $par4))))) * 1.1102230246251565E-16 * 0.2; $var10 = nle_EaglercraftRandom_nextGaussian($var7) * 0.15; continue main; } $var33 = nms_PotionHelper_func_77915_a($par6, 0); $var16 = ($var33 >> 16 & 255) / 255.0; $var17 = ($var33 >> 8 & 255) / 255.0; $var18 = ($var33 >> 0 & 255) / 255.0; $var19 = $rt_s(1480); if (nms_ItemPotion_isEffectInstant(nms_Item_potion, $par6)) $var19 = $rt_s(1481); $var20 = 0; $var37 = $var10_0 + 0.3; $par3 = 24; if ($var20 >= 100) { $par1EntityPlayer = $this.$theWorld0; $var10 = $var8 + 0.5; $var8 = $var10_0 + 0.5; $var12 = $var12 + 0.5; $var7 = $rt_s(1518); $var16 = 1.0; $var40 = $par1EntityPlayer.$rand0; var$14 = Long_and(Long_add(Long_mul($var40.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var40.$seed = var$14; $var17 = Long_lo(Long_shru(var$14, $par3)) / 1.6777216E7 * 0.10000000149011612 + 0.8999999761581421; $par2 = 0; $ptr = 29; continue main; } var$32 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par5))), 27); var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; $var39 = Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$32, $par4))))) * 1.1102230246251565E-16 * 4.0; var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par5))), 27); var$15 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var23 = Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$15, $par4))))) * 1.1102230246251565E-16 * 3.141592653589793 * 2.0; $var25 = jl_Math_cos($var23) * $var39; var$32 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par5))), 27); var$15 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var27 = 0.01 + Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$15, $par4))))) * 1.1102230246251565E-16 * 0.5; $var29 = jl_Math_sin($var23) * $var39; $var10 = $var8 + $var25 * 0.1; $var38 = $var12 + $var29 * 0.1; $ptr = 30; continue main; case 25: nms_RenderGlobal_doSpawnParticle($this, $var40, $var8, $var10, $var12, $var25, $var27, $var29); if ($rt_suspending()) { break main; } $var15 = $var15 + 1 | 0; if ($var15 >= 8) { $var35 = 0.0; $var27 = $var10 - 0.4; if ($var35 >= 6.283185307179586) return; $par1EntityPlayer = $rt_s(1455); $var10 = $var8 + jl_Math_cos($var35) * 5.0; $var25 = $var12 + jl_Math_sin($var35) * 5.0; $var29 = jl_Math_cos($var35) * (-5.0); $var37 = 0.0; $var10_0 = jl_Math_sin($var35) * (-5.0); $ptr = 26; continue main; } $var25 = nle_EaglercraftRandom_nextGaussian($var7) * 0.15; var$32 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par4))), 27); var$15 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var27 = Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$15, $par3))))) * 1.1102230246251565E-16 * 0.2; $var29 = nle_EaglercraftRandom_nextGaussian($var7) * 0.15; continue main; case 26: nms_RenderGlobal_doSpawnParticle($this, $par1EntityPlayer, $var10, $var27, $var25, $var29, $var37, $var10_0); if ($rt_suspending()) { break main; } $par1EntityPlayer = $rt_s(1455); $var10 = $var8 + jl_Math_cos($var35) * 5.0; $var25 = $var12 + jl_Math_sin($var35) * 5.0; $var29 = jl_Math_cos($var35) * (-7.0); $var37 = 0.0; $var10_0 = jl_Math_sin($var35) * (-7.0); $ptr = 27; case 27: nms_RenderGlobal_doSpawnParticle($this, $par1EntityPlayer, $var10, $var27, $var25, $var29, $var37, $var10_0); if ($rt_suspending()) { break main; } $var35 = $var35 + 0.15707963267948966; if ($var35 >= 6.283185307179586) return; $par1EntityPlayer = $rt_s(1455); $var10 = $var8 + jl_Math_cos($var35) * 5.0; $var25 = $var12 + jl_Math_sin($var35) * 5.0; $var29 = jl_Math_cos($var35) * (-5.0); $var37 = 0.0; $var10_0 = jl_Math_sin($var35) * (-5.0); $ptr = 26; continue main; case 28: nms_RenderGlobal_doSpawnParticle($var40, $var7, $var22, $var24, $var26, $var8, $var12, $var29); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; while (true) { $var40 = $par1EntityPlayer.$worldAccesses; $par3 = $rt_compare($par2, $var40.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { $var40 = $var40.$array.data[$par2]; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $par1EntityPlayer = $this.$theWorld0; $var7 = $rt_s(1485); $var8 = 0.0; $var12 = 0.0; $var29 = 0.0; $par2 = 0; $var40 = $par1EntityPlayer.$worldAccesses; $par3 = $rt_compare($par2, $var40.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { $var40 = $var40.$array.data[$par2]; $ptr = 31; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $var21 = $var21 + 1 | 0; if ($var21 >= 20) break; $par1EntityPlayer = $this.$theWorld0; $var7 = $par1EntityPlayer.$rand0; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var22 = $var10 + (Long_lo(Long_shru(var$15, $par6)) / 1.6777216E7 - 0.5) * 2.0; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var24 = $var25 + (Long_lo(Long_shru(var$15, $par6)) / 1.6777216E7 - 0.5) * 2.0; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var26 = $var27 + (Long_lo(Long_shru(var$14, $par6)) / 1.6777216E7 - 0.5) * 2.0; $var7 = $rt_s(1479); $var8 = 0.0; $var12 = 0.0; $var29 = 0.0; $par2 = 0; } return; case 29: nms_WorldClient_playSound($par1EntityPlayer, $var10, $var8, $var12, $var7, $var16, $var17, $par2); if ($rt_suspending()) { break main; } return; case 30: $tmp = nms_RenderGlobal_doSpawnParticle($this, $var19, $var10, $var37, $var38, $var25, $var27, $var29); if ($rt_suspending()) { break main; } $var31 = $tmp; if ($var31 !== null) { var$14 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var32 = 0.75 + Long_lo(Long_shru(var$14, $par3)) / 1.6777216E7 * 0.25; var$16 = $var16 * $var32; var$46 = $var17 * $var32; $var32 = $var18 * $var32; $var31.$particleRed = var$16; $var31.$particleGreen = var$46; $var31.$particleBlue = $var32; $var32 = $var39; $var10 = $var31.$motionX; $var25 = $var32; $var31.$motionX = $var10 * $var25; $var31.$motionY = ($var31.$motionY - 0.10000000149011612) * $var25 + 0.10000000149011612; $var31.$motionZ = $var31.$motionZ * $var25; } $var20 = $var20 + 1 | 0; if ($var20 >= 100) { $par1EntityPlayer = $this.$theWorld0; $var10 = $var8 + 0.5; $var8 = $var10_0 + 0.5; $var12 = $var12 + 0.5; $var7 = $rt_s(1518); $var16 = 1.0; $var40 = $par1EntityPlayer.$rand0; var$14 = Long_and(Long_add(Long_mul($var40.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var40.$seed = var$14; $var17 = Long_lo(Long_shru(var$14, $par3)) / 1.6777216E7 * 0.10000000149011612 + 0.8999999761581421; $par2 = 0; $ptr = 29; continue main; } var$32 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par5))), 27); var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; $var39 = Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$32, $par4))))) * 1.1102230246251565E-16 * 4.0; var$32 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par5))), 27); var$15 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var23 = Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$15, $par4))))) * 1.1102230246251565E-16 * 3.141592653589793 * 2.0; $var25 = jl_Math_cos($var23) * $var39; var$32 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$32; var$14 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, $par5))), 27); var$15 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var27 = 0.01 + Long_toNumber(Long_add(var$14, Long_fromInt(Long_lo(Long_shru(var$15, $par4))))) * 1.1102230246251565E-16 * 0.5; $var29 = jl_Math_sin($var23) * $var39; $var10 = $var8 + $var25 * 0.1; $var38 = $var12 + $var29 * 0.1; continue main; case 31: nms_RenderGlobal_doSpawnParticle($var40, $var7, $var22, $var24, $var26, $var8, $var12, $var29); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; while (true) { $var40 = $par1EntityPlayer.$worldAccesses; $par3 = $rt_compare($par2, $var40.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { $var40 = $var40.$array.data[$par2]; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $var21 = $var21 + 1 | 0; if ($var21 >= 20) break; $par1EntityPlayer = $this.$theWorld0; $var7 = $par1EntityPlayer.$rand0; var$15 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var22 = $var10 + (Long_lo(Long_shru(var$15, $par6)) / 1.6777216E7 - 0.5) * 2.0; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$15; $var24 = $var25 + (Long_lo(Long_shru(var$15, $par6)) / 1.6777216E7 - 0.5) * 2.0; var$14 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$14; $var26 = $var27 + (Long_lo(Long_shru(var$14, $par6)) / 1.6777216E7 - 0.5) * 2.0; $var7 = $rt_s(1479); $var8 = 0.0; $var12 = 0.0; $var29 = 0.0; $par2 = 0; $var40 = $par1EntityPlayer.$worldAccesses; $par3 = $rt_compare($par2, $var40.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { $var40 = $var40.$array.data[$par2]; $ptr = 28; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $par1EntityPlayer = $this.$theWorld0; $var7 = $rt_s(1485); $var8 = 0.0; $var12 = 0.0; $var29 = 0.0; $par2 = 0; } return; case 32: nms_SoundManager_playStreaming($var40, $var7, $var16, $var17, $var18, $par3); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; $var40 = $par1EntityPlayer.$worldAccesses; $par3 = $rt_compare($par2, $var40.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { $var40 = $var40.$array.data[$par2]; $var19 = nms_ItemRecord_records; if ($var7 === null) { $var19 = $var19.$elementData.data[0]; while ($var19 !== null && $var19.$key !== null) { $var19 = $var19.$next3; } } else { $par4 = $var7.$hashCode(); var$17 = $var19.$elementData.data; $var19 = var$17[$par4 & (var$17.length - 1 | 0)]; while ($var19 !== null) { if ($var19.$origKeyHash == $par4) { $var31 = $var19.$key; if ($var7 !== $var31 && !$var7.$equals($var31) ? 0 : 1) break; } $var19 = $var19.$next3; } } $var19 = $var19 === null ? null : $var19.$value1; f: { $var31 = $var19; if ($var7 !== null && $var31 !== null) { $var19 = $var40.$mc5.$ingameGUI; $var31 = $var31.$recordName; var$21 = new jl_StringBuilder; var$21.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$21, var$21.$length0, jl_String_toString($rt_s(1504))); jl_StringBuilder_insert0(var$21, var$21.$length0, $var31 === null ? $rt_s(1) : jl_String_toString($var31)); var$22 = new jl_String; var$17 = var$21.$buffer; var$23 = var$17.data; $par4 = var$21.$length0; $par5 = var$23.length; if ($par4 >= 0 && $par4 <= ($par5 - 0 | 0)) { var$22.$nativeString = $rt_charArrayToString(var$17.data, 0, $par4); $var31 = new jl_StringBuilder; $var31.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0($var31, $var31.$length0, jl_String_toString($rt_s(1505))); jl_StringBuilder_insert0($var31, $var31.$length0, jl_String_toString(var$22)); var$21 = new jl_String; var$17 = $var31.$buffer; var$23 = var$17.data; $par4 = $var31.$length0; $par5 = var$23.length; if ($par4 >= 0 && $par4 <= ($par5 - 0 | 0)) { var$21.$nativeString = $rt_charArrayToString(var$17.data, 0, $par4); $var19.$recordPlaying = var$21; $var19.$recordPlayingUpFor = 60; $var19.$recordIsPlaying = 1; break f; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } } $var40 = $var40.$mc5.$sndManager; $par3 = 0; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 33: nms_SoundManager_playStreaming($var40, $var7, $var16, $var17, $var18, $par3); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; $var40 = $par1EntityPlayer.$worldAccesses; $par3 = $rt_compare($par2, $var40.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { $var40 = $var40.$array.data[$par2]; $var19 = nms_ItemRecord_records; if ($var7 === null) { $var19 = $var19.$elementData.data[0]; while ($var19 !== null && $var19.$key !== null) { $var19 = $var19.$next3; } } else { g: { if (!$var7.$hashCode1) { $par3 = 0; while (true) { if ($par3 >= $var7.$nativeString.length) break g; $var7.$hashCode1 = (31 * $var7.$hashCode1 | 0) + $var7.$nativeString.charCodeAt($par3) | 0; $par3 = $par3 + 1 | 0; } } } $par5 = $var7.$hashCode1; var$17 = $var19.$elementData.data; $var19 = var$17[$par5 & (var$17.length - 1 | 0)]; while ($var19 !== null) { if ($var19.$origKeyHash == $par5) { h: { $var31 = $var19.$key; if ($var7 !== $var31) { if ($var7 === $var31) $par3 = 1; else if (!($var31 instanceof jl_String)) $par3 = 0; else { $var31 = $var31; $par3 = $var7.$nativeString !== $var31.$nativeString ? 0 : 1; } if (!$par3) { $par3 = 0; break h; } } $par3 = 1; } if ($par3) break; } $var19 = $var19.$next3; } } $var19 = $var19 === null ? null : $var19.$value1; i: { $var31 = $var19; if ($var7 !== null && $var31 !== null) { $var19 = $var40.$mc5.$ingameGUI; $var31 = $var31.$recordName; var$21 = new jl_StringBuilder; var$21.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$21, var$21.$length0, jl_String_toString($rt_s(1504))); jl_StringBuilder_insert0(var$21, var$21.$length0, $var31 === null ? $rt_s(1) : jl_String_toString($var31)); var$22 = new jl_String; var$17 = var$21.$buffer; var$23 = var$17.data; $par4 = var$21.$length0; $par5 = var$23.length; if ($par4 >= 0 && $par4 <= ($par5 - 0 | 0)) { var$22.$nativeString = $rt_charArrayToString(var$17.data, 0, $par4); $var31 = new jl_StringBuilder; $var31.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0($var31, $var31.$length0, jl_String_toString($rt_s(1505))); jl_StringBuilder_insert0($var31, $var31.$length0, jl_String_toString(var$22)); var$21 = new jl_String; var$17 = $var31.$buffer; var$23 = var$17.data; $par4 = $var31.$length0; $par5 = var$23.length; if ($par4 >= 0 && $par4 <= ($par5 - 0 | 0)) { var$21.$nativeString = $rt_charArrayToString(var$17.data, 0, $par4); $var19.$recordPlaying = var$21; $var19.$recordPlayingUpFor = 60; $var19.$recordIsPlaying = 1; break i; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } } $var40 = $var40.$mc5.$sndManager; $par3 = 0; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $par3, $par4, $par5, $par6, $var7, $var10, $var8, $var12, $var16, $var17, $var40, var$14, var$15, var$16, var$17, $var18, $var19, $var31, var$21, var$22, var$23, $var32, $var33, $var9, $var25, $var10_0, $var34, $var36, $var39, var$32, $var37, $var38, $var39_0, $var23, $var27, $var29, $var20, $var15, $var35, $var21, $var22, $var24, $var26, var$46, $ptr); }, nms_RenderGlobal_destroyBlockPartially = ($this, $par1, $par2, $par3, $par4, $par5) => { let var$6, $var6, var$8, var$9, var$10, var$11, var$12; a: { if ($par5 >= 0) { var$6 = $rt_compare($par5, 10); if (var$6 < 0) { $var6 = $this.$damagedBlocks; var$8 = $rt_compare($par1, (-128)); if (var$8 >= 0 && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $par1; } if (var$9 === null) { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { var$10 = var$9.$value0; var$11 = $var6.$elementData.data; $var6 = var$11[var$10 & (var$11.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$10) { var$12 = $var6.$key; if (var$9 !== var$12 && !(var$9 === var$12 ? 1 : var$12 instanceof jl_Integer && var$12.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } $var6 = $var6.$next3; } } $var6 = $var6 === null ? null : $var6.$value1; if (!($var6 !== null && $var6.$partialBlockX == $par2 && $var6.$partialBlockY == $par3 && $var6.$partialBlockZ == $par4)) { $var6 = new nms_DestroyBlockProgress; $var6.$miningPlayerEntId = $par1; $var6.$partialBlockX = $par2; $var6.$partialBlockY = $par3; $var6.$partialBlockZ = $par4; var$12 = $this.$damagedBlocks; if (var$8 >= 0 && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $par1; } ju_HashMap_putImpl(var$12, var$9, $var6); } if (var$6 > 0) $par5 = 10; $var6.$partialBlockProgress = $par5; $var6.$createdAtCloudUpdateTick = $this.$cloudTickCounter; break a; } } $var6 = $this.$damagedBlocks; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$12 = new jl_Integer; var$12.$value0 = $par1; } ju_HashMap_removeByKey($var6, var$12); } }, nms_RenderGlobal_registerDestroyBlockIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; $this.$destroyBlockIcons = $rt_createArray(nms_Icon, 10); $var2 = 0; a: { while (true) { var$3 = $this.$destroyBlockIcons.data; if ($var2 >= var$3.length) break; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1519)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $var2, 10); var$5 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$9 = var$7.length; if (var$8 < 0) break a; if (var$8 > (var$9 - 0 | 0)) break a; var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); var$3[$var2] = $par1IconRegister.$registerIcon(var$5, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; $rt_throw($par1IconRegister); }, nms_RenderGlobal__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1520); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderGlobal_locationMoonPhasesPng = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1521); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderGlobal_locationSunPng = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1522); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderGlobal_locationCloudsPng = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1523); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderGlobal_locationEndSkyPng = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1180); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderGlobal_tex_terrain = var$1; }; function nms_EffectRenderer() { let a = this; jl_Object.call(a); a.$worldObj7 = null; a.$fxLayers = null; a.$renderer = null; a.$rand8 = null; } let nms_EffectRenderer_particleTextures = null, nms_EffectRenderer_$callClinit = () => { nms_EffectRenderer_$callClinit = $rt_eraseClinit(nms_EffectRenderer); nms_EffectRenderer__clinit_(); }, nms_EffectRenderer__init_ = ($this, $par1World, $par2TextureManager) => { let var$3, var$4, $var3, var$6; nms_EffectRenderer_$callClinit(); $this.$fxLayers = $rt_createArray(ju_List, 4); var$3 = new nle_EaglercraftRandom; var$4 = Long_fromNumber(performance.now() * 1000000.0); var$3.$seed = Long_fromInt(69); var$3.$haveNextNextGaussian = 0; var$3.$seed = var$4; $this.$rand8 = var$3; if ($par1World !== null) $this.$worldObj7 = $par1World; $this.$renderer = $par2TextureManager; $var3 = 0; while ($var3 < 4) { var$6 = $this.$fxLayers.data; $par1World = new ju_ArrayList; $par1World.$array = $rt_createArray(jl_Object, 10); var$6[$var3] = $par1World; $var3 = $var3 + 1 | 0; } }, nms_EffectRenderer__init_0 = (var_0, var_1) => { let var_2 = new nms_EffectRenderer(); nms_EffectRenderer__init_(var_2, var_0, var_1); return var_2; }, nms_EffectRenderer_updateEffects = $this => { let $var1, $var2, var$3, $var3, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 0; while ($var1 < 4) { $var2 = 0; var$3 = $this.$fxLayers.data; if ($var2 < var$3[$var1].$size0) { $var3 = var$3[$var1]; if ($var2 >= 0 && $var2 < $var3.$size0) { $var3 = $var3.$array.data[$var2]; $ptr = 1; continue main; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var1 = $var1 + 1 | 0; } return; case 1: $var3.$onUpdate(); if ($rt_suspending()) { break main; } if (!$var3.$isDead) var$5 = $var2; else { $var3 = $this.$fxLayers.data[$var1]; var$5 = $var2 + (-1) | 0; ju_ArrayList_remove($var3, $var2); } $var2 = var$5 + 1 | 0; while (true) { var$3 = $this.$fxLayers.data; if ($var2 < var$3[$var1].$size0) { $var3 = var$3[$var1]; if ($var2 >= 0 && $var2 < $var3.$size0) { $var3 = $var3.$array.data[$var2]; continue main; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var1 = $var1 + 1 | 0; if ($var1 >= 4) break; $var2 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $var3, var$5, $ptr); }, nms_EffectRenderer_renderParticles = ($this, $par1Entity, $par2) => { let $var3, $var4, $var5, $var6, $var7, var$8, var$9, var$10, $var8, $var9, $var10, var$14, $var11, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();$var11 = $thread.pop();var$14 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_ActiveRenderInfo_$callClinit(); $var3 = nms_ActiveRenderInfo_rotationX; $var4 = nms_ActiveRenderInfo_rotationZ; $var5 = nms_ActiveRenderInfo_rotationYZ; $var6 = nms_ActiveRenderInfo_rotationXY; $var7 = nms_ActiveRenderInfo_rotationXZ; var$8 = $par1Entity.$lastTickPosX; var$9 = $par1Entity.$posX - var$8; var$10 = $par2; nms_EntityFX_interpPosX = var$8 + var$9 * var$10; var$9 = $par1Entity.$lastTickPosY; nms_EntityFX_interpPosY = var$9 + ($par1Entity.$posY - var$9) * var$10; var$9 = $par1Entity.$lastTickPosZ; nms_EntityFX_interpPosZ = var$9 + ($par1Entity.$posZ - var$9) * var$10; $var8 = 0; while ($var8 < 3) { if (!($this.$fxLayers.data[$var8].$size0 ? 0 : 1)) { switch ($var8) { case 0: break; case 1: nms_TextureMap_$callClinit(); $par1Entity = nms_TextureMap_locationBlocksTexture; $ptr = 2; continue main; case 2: nms_TextureMap_$callClinit(); $par1Entity = nms_TextureMap_locationItemsTexture; $ptr = 3; continue main; default: } nms_EffectRenderer_$callClinit(); $par1Entity = nms_EffectRenderer_particleTextures; $ptr = 1; continue main; } $var8 = $var8 + 1 | 0; } return; case 1: nle_TextureLocation_bindTexture($par1Entity); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_alphaThresh = 0.003921568859368563; nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; $var10 = 0; var$14 = $this.$fxLayers.data; if ($var10 < var$14[$var8].$size0) { $par1Entity = var$14[$var8]; if ($var10 >= 0 && $var10 < $par1Entity.$size0) { $var11 = $par1Entity.$array.data[$var10]; var$16 = $var11.$getBrightnessForRender($par2); $var9.$hasBrightness = 1; $var9.$brightness = var$16; $ptr = 4; continue main; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } nlea_Tessellator_draw($var9); nleg_EaglerAdapterGL30_glDisable(3042); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 3) break; if ($this.$fxLayers.data[$var8].$size0 ? 0 : 1) continue; else { switch ($var8) { case 0: break; case 1: nms_TextureMap_$callClinit(); $par1Entity = nms_TextureMap_locationBlocksTexture; $ptr = 2; continue main; case 2: nms_TextureMap_$callClinit(); $par1Entity = nms_TextureMap_locationItemsTexture; $ptr = 3; continue main; default: } nms_EffectRenderer_$callClinit(); $par1Entity = nms_EffectRenderer_particleTextures; continue main; } } return; case 2: nle_TextureLocation_bindTexture($par1Entity); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_alphaThresh = 0.003921568859368563; nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; $var10 = 0; var$14 = $this.$fxLayers.data; if ($var10 < var$14[$var8].$size0) { $par1Entity = var$14[$var8]; if ($var10 >= 0 && $var10 < $par1Entity.$size0) { $var11 = $par1Entity.$array.data[$var10]; var$16 = $var11.$getBrightnessForRender($par2); $var9.$hasBrightness = 1; $var9.$brightness = var$16; $ptr = 4; continue main; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } nlea_Tessellator_draw($var9); nleg_EaglerAdapterGL30_glDisable(3042); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 3) break; if ($this.$fxLayers.data[$var8].$size0 ? 0 : 1) continue; else { switch ($var8) { case 0: break; case 1: nms_TextureMap_$callClinit(); $par1Entity = nms_TextureMap_locationBlocksTexture; continue main; case 2: nms_TextureMap_$callClinit(); $par1Entity = nms_TextureMap_locationItemsTexture; $ptr = 3; continue main; default: } nms_EffectRenderer_$callClinit(); $par1Entity = nms_EffectRenderer_particleTextures; $ptr = 1; continue main; } } return; case 3: nle_TextureLocation_bindTexture($par1Entity); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_alphaThresh = 0.003921568859368563; nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; $var10 = 0; var$14 = $this.$fxLayers.data; if ($var10 < var$14[$var8].$size0) { $par1Entity = var$14[$var8]; if ($var10 >= 0 && $var10 < $par1Entity.$size0) { $var11 = $par1Entity.$array.data[$var10]; var$16 = $var11.$getBrightnessForRender($par2); $var9.$hasBrightness = 1; $var9.$brightness = var$16; $ptr = 4; continue main; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } nlea_Tessellator_draw($var9); nleg_EaglerAdapterGL30_glDisable(3042); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 3) break; if ($this.$fxLayers.data[$var8].$size0 ? 0 : 1) continue; else { switch ($var8) { case 0: break; case 1: nms_TextureMap_$callClinit(); $par1Entity = nms_TextureMap_locationBlocksTexture; $ptr = 2; continue main; case 2: nms_TextureMap_$callClinit(); $par1Entity = nms_TextureMap_locationItemsTexture; continue main; default: } nms_EffectRenderer_$callClinit(); $par1Entity = nms_EffectRenderer_particleTextures; $ptr = 1; continue main; } } return; case 4: $var11.$renderParticle($var9, $par2, $var3, $var7, $var4, $var5, $var6); if ($rt_suspending()) { break main; } $var10 = $var10 + 1 | 0; var$14 = $this.$fxLayers.data; if ($var10 < var$14[$var8].$size0) { $par1Entity = var$14[$var8]; if ($var10 >= 0 && $var10 < $par1Entity.$size0) { $var11 = $par1Entity.$array.data[$var10]; var$16 = $var11.$getBrightnessForRender($par2); $var9.$hasBrightness = 1; $var9.$brightness = var$16; continue main; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } nlea_Tessellator_draw($var9); nleg_EaglerAdapterGL30_glDisable(3042); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 3) break; if ($this.$fxLayers.data[$var8].$size0 ? 0 : 1) continue; else { switch ($var8) { case 0: break; case 1: nms_TextureMap_$callClinit(); $par1Entity = nms_TextureMap_locationBlocksTexture; $ptr = 2; continue main; case 2: nms_TextureMap_$callClinit(); $par1Entity = nms_TextureMap_locationItemsTexture; $ptr = 3; continue main; default: } nms_EffectRenderer_$callClinit(); $par1Entity = nms_EffectRenderer_particleTextures; $ptr = 1; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $var3, $var4, $var5, $var6, $var7, var$8, var$9, var$10, $var8, $var9, $var10, var$14, $var11, var$16, $ptr); }, nms_EffectRenderer_renderLitParticles = ($this, $par1Entity, $par2) => { let $var6, var$4, $var4, $var5, $var8, var$8, $var9, $var7, $var10, $var11, $var12, $var13, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var7 = $thread.pop();$var9 = $thread.pop();var$8 = $thread.pop();$var8 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var6 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = $par1Entity.$rotationYaw * 0.01745329238474369; var$4 = nms_MathHelper_SIN_TABLE.data; $var6 = $var6 * 10430.3779296875; $var4 = var$4[($var6 + 16384.0 | 0) & 65535]; $var5 = var$4[($var6 | 0) & 65535]; $var8 = -$var5; var$8 = $par1Entity.$rotationPitch * 0.01745329238474369 * 10430.3779296875; $var9 = (var$8 | 0) & 65535; $var6 = $var8 * var$4[$var9]; $var7 = $var4 * var$4[$var9]; $var8 = var$4[(var$8 + 16384.0 | 0) & 65535]; $var10 = $this.$fxLayers.data[3]; if (!($var10.$size0 ? 0 : 1)) { nlea_Tessellator_$callClinit(); $var11 = nlea_Tessellator_instance; $var12 = 0; $var9 = $rt_compare($var12, $var10.$size0); if ($var9 < 0) { if ($var12 >= 0 && $var9 < 0) { $var13 = $var10.$array.data[$var12]; var$15 = $var13.$getBrightnessForRender($par2); $var11.$hasBrightness = 1; $var11.$brightness = var$15; $ptr = 1; continue main; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } } return; case 1: $var13.$renderParticle($var11, $par2, $var4, $var8, $var5, $var6, $var7); if ($rt_suspending()) { break main; } $var12 = $var12 + 1 | 0; $var9 = $rt_compare($var12, $var10.$size0); if ($var9 >= 0) return; if ($var12 >= 0 && $var9 < 0) { $var13 = $var10.$array.data[$var12]; var$15 = $var13.$getBrightnessForRender($par2); $var11.$hasBrightness = 1; $var11.$brightness = var$15; continue main; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $var6, var$4, $var4, $var5, $var8, var$8, $var9, $var7, $var10, $var11, $var12, $var13, var$15, $ptr); }, nms_EffectRenderer_addBlockDestroyEffects = ($this, $par1, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var8, var$9, var$10, var$11, $var9, $var10, $var11, $var13, $var15, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($par4) { nms_Block_$callClinit(); $var6 = nms_Block_blocksList.data[$par4]; $var7 = 4; $var8 = 0; var$9 = $par1; $par4 = 1; var$10 = $par2; var$11 = $par3; while (true) { if ($var8 >= $var7) break a; $var9 = 0; while ($var9 < $var7) { $var10 = 0; if ($var10 < $var7) { $var11 = var$9 + ($var8 + 0.5) / 4.0; $var13 = var$10 + ($var9 + 0.5) / 4.0; $var15 = var$11 + ($var10 + 0.5) / 4.0; var$17 = new nms_EntityDiggingFX; var$18 = $this.$worldObj7; var$19 = $var11 - var$9 - 0.5; var$20 = $var13 - var$10 - 0.5; var$21 = $var15 - var$11 - 0.5; $ptr = 1; continue main; } $var9 = $var9 + 1 | 0; } $var8 = $var8 + 1 | 0; } } } return; case 1: nms_EntityFX__init_(var$17, var$18, $var11, $var13, $var15, var$19, var$20, var$21); if ($rt_suspending()) { break main; } var$17.$blockInstance = $var6; var$17.$particleIcon = $var6.$getIcon(0, $par5); var$17.$particleGravity = $var6.$blockParticleGravity; var$17.$particleBlue = 0.6000000238418579; var$17.$particleGreen = 0.6000000238418579; var$17.$particleRed = 0.6000000238418579; var$17.$particleScale = var$17.$particleScale / 2.0; var$17 = nms_EntityDiggingFX_applyColourMultiplier(var$17, $par1, $par2, $par3); var$22 = $this.$fxLayers.data; if (var$22[$par4].$size0 >= 4000) ju_ArrayList_remove(var$22[$par4], 0); var$18 = $this.$fxLayers.data[$par4]; ju_ArrayList_ensureCapacity(var$18, var$18.$size0 + 1 | 0); var$22 = var$18.$array.data; var$23 = var$18.$size0; var$18.$size0 = var$23 + 1 | 0; var$22[var$23] = var$17; var$18.$modCount = var$18.$modCount + 1 | 0; $var10 = $var10 + 1 | 0; b: while (true) { if ($var10 < $var7) { $var11 = var$9 + ($var8 + 0.5) / 4.0; $var13 = var$10 + ($var9 + 0.5) / 4.0; $var15 = var$11 + ($var10 + 0.5) / 4.0; var$17 = new nms_EntityDiggingFX; var$18 = $this.$worldObj7; var$19 = $var11 - var$9 - 0.5; var$20 = $var13 - var$10 - 0.5; var$21 = $var15 - var$11 - 0.5; continue main; } $var9 = $var9 + 1 | 0; while ($var9 >= $var7) { $var8 = $var8 + 1 | 0; if ($var8 >= $var7) break b; $var9 = 0; } $var10 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5, $var6, $var7, $var8, var$9, var$10, var$11, $var9, $var10, $var11, $var13, $var15, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr); }, nms_EffectRenderer_addBlockHitEffects = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var8, var$15, var$16, var$17, var$18, $var10, var$20, var$21, var$22, $var12, var$24, var$25, var$26, var$27, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();$var12 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var10 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var8 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_World_getBlockId($this.$worldObj7, $par1, $par2, $par3); if (!$var5) return; nms_Block_$callClinit(); $var6 = nms_Block_blocksList.data[$var5]; var$7 = $par1; var$8 = $this.$rand8; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$9, 22))), 27); var$9 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$11 = Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$9, 21))))) * 1.1102230246251565E-16; var$12 = $var6.$maxX0; var$13 = $var6.$minX0; $var8 = var$7 + var$11 * (var$12 - var$13 - 0.20000000298023224) + 0.10000000149011612 + var$13; var$15 = $par2; var$9 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$9, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$16; var$11 = Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16; var$17 = $var6.$maxY0; var$18 = $var6.$minY0; $var10 = var$15 + var$11 * (var$17 - var$18 - 0.20000000298023224) + 0.10000000149011612 + var$18; var$20 = $par3; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$16; var$9 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$10 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$10; var$21 = Long_toNumber(Long_add(var$9, Long_fromInt(Long_lo(Long_shru(var$10, 21))))) * 1.1102230246251565E-16; var$22 = $var6.$maxZ0; var$11 = $var6.$minZ0; $var12 = var$20 + var$21 * (var$22 - var$11 - 0.20000000298023224) + 0.10000000149011612 + var$11; if (!$par4) $var10 = var$15 + var$18 - 0.10000000149011612; if ($par4 == 1) $var10 = var$15 + var$17 + 0.10000000149011612; if ($par4 == 2) $var12 = var$20 + var$11 - 0.10000000149011612; if ($par4 == 3) $var12 = var$20 + var$22 + 0.10000000149011612; if ($par4 == 4) $var8 = var$7 + var$13 - 0.10000000149011612; if ($par4 == 5) $var8 = var$7 + var$12 + 0.10000000149011612; var$8 = new nms_EntityDiggingFX; var$24 = $this.$worldObj7; var$11 = 0.0; var$22 = 0.0; var$21 = 0.0; $par4 = nms_World_getBlockMetadata(var$24, $par1, $par2, $par3); $ptr = 1; case 1: nms_EntityFX__init_(var$8, var$24, $var8, $var10, $var12, var$11, var$22, var$21); if ($rt_suspending()) { break main; } var$8.$blockInstance = $var6; var$8.$particleIcon = $var6.$getIcon(0, $par4); var$8.$particleGravity = $var6.$blockParticleGravity; var$8.$particleBlue = 0.6000000238418579; var$8.$particleGreen = 0.6000000238418579; var$8.$particleRed = 0.6000000238418579; var$8.$particleScale = var$8.$particleScale / 2.0; $var6 = nms_EntityDiggingFX_applyColourMultiplier(var$8, $par1, $par2, $par3); $var6.$motionX = $var6.$motionX * 0.20000000298023224; $var6.$motionY = ($var6.$motionY - 0.10000000149011612) * 0.20000000298023224 + 0.10000000149011612; $var6.$motionZ = $var6.$motionZ * 0.20000000298023224; var$25 = 0.6000000238418579; var$26 = 0.12000000476837158; $ptr = 2; case 2: nms_Entity_setSize($var6, var$26, var$26); if ($rt_suspending()) { break main; } $var6.$particleScale = $var6.$particleScale * var$25; var$27 = $this.$fxLayers.data; if (var$27[1].$size0 >= 4000) ju_ArrayList_remove(var$27[1], 0); var$8 = $this.$fxLayers.data[1]; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$27 = var$8.$array.data; $par2 = var$8.$size0; var$8.$size0 = $par2 + 1 | 0; var$27[$par2] = $var6; var$8.$modCount = var$8.$modCount + 1 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $var5, $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var8, var$15, var$16, var$17, var$18, $var10, var$20, var$21, var$22, $var12, var$24, var$25, var$26, var$27, $ptr); }, nms_EffectRenderer_getStatistics = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$fxLayers.data; var$2 = (var$1[0].$size0 + var$1[1].$size0 | 0) + var$1[2].$size0 | 0; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$2, 10); var$4 = new jl_String; var$1 = var$3.$buffer; var$5 = var$1.data; var$6 = var$3.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$1.data, 0, var$6); return var$4; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); }, nms_EffectRenderer__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1524); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_EffectRenderer_particleTextures = var$1; }; function nms_GuiIngame() { let a = this; nms_Gui.call(a); a.$rand5 = null; a.$mc3 = null; a.$persistantChatGUI = null; a.$updateCounter = 0; a.$recordPlaying = null; a.$recordPlayingUpFor = 0; a.$recordIsPlaying = 0; a.$prevVignetteBrightness = 0.0; a.$remainingHighlightTicks = 0; a.$highlightingItemStack = null; } let nms_GuiIngame_vignetteTexPath = null, nms_GuiIngame_widgetsTexPath = null, nms_GuiIngame_pumpkinBlurTexPath = null, nms_GuiIngame_itemRenderer = null, nms_GuiIngame_$callClinit = () => { nms_GuiIngame_$callClinit = $rt_eraseClinit(nms_GuiIngame); nms_GuiIngame__clinit_(); }, nms_GuiIngame_renderGameOverlay = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var8, $var6, $var7, $var34, $var9, $var10, $var31, $var17, $var11, $info, $var11_0, $var13, $var12, $var32, $var33, $var36, var$22, $var42, $var40, $var14, $var15, $i, var$28, $size, $var39, $var16, $var17_0, $var46, $var44, $var19, $var47, $var21, $var48, $var50, $var27, $var28, $var29, $var30, $var53, var$45, var$46, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$46 = $thread.pop();var$45 = $thread.pop();$var53 = $thread.pop();$var30 = $thread.pop();$var29 = $thread.pop();$var28 = $thread.pop();$var27 = $thread.pop();$var50 = $thread.pop();$var48 = $thread.pop();$var21 = $thread.pop();$var47 = $thread.pop();$var19 = $thread.pop();$var44 = $thread.pop();$var46 = $thread.pop();$var17_0 = $thread.pop();$var16 = $thread.pop();$var39 = $thread.pop();$size = $thread.pop();var$28 = $thread.pop();$i = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var40 = $thread.pop();$var42 = $thread.pop();var$22 = $thread.pop();$var36 = $thread.pop();$var33 = $thread.pop();$var32 = $thread.pop();$var12 = $thread.pop();$var13 = $thread.pop();$var11_0 = $thread.pop();$info = $thread.pop();$var11 = $thread.pop();$var17 = $thread.pop();$var31 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var34 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var8 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = new nms_ScaledResolution; $var8 = $this.$mc3; nms_ScaledResolution__init_0($var5, $var8.$gameSettings, $var8.$displayWidth, $var8.$displayHeight); $var6 = $var5.$scaledWidth; $var7 = $var5.$scaledHeight; $var5 = $this.$mc3; $var8 = $var5.$fontRenderer0; nms_EntityRenderer_setupOverlayRendering($var5.$entityRenderer); nleg_EaglerAdapterGL30_glEnable(3042); $var5 = nms_Minecraft_theMinecraft; if ($var5 !== null && $var5.$gameSettings.$fancyGraphics ? 1 : 0) { $var34 = nms_Entity_getBrightness($this.$mc3.$thePlayer, $par1); $ptr = 1; continue main; } nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $var5 = $this.$mc3; $var9 = $var5.$thePlayer.$inventory.$armorInventory.data[3]; if (!$var5.$gameSettings.$thirdPersonView && $var9 !== null) { $par2 = $var9.$itemID; nms_Block_$callClinit(); if ($par2 == nms_Block_pumpkin.$blockID) { $ptr = 6; continue main; } } $var5 = $this.$mc3.$thePlayer; nms_Potion_$callClinit(); if (!nms_EntityLivingBase_isPotionActive($var5, nms_Potion_confusion)) { $var5 = $this.$mc3.$thePlayer; $var34 = $var5.$prevTimeInPortal; $var10 = $var34 + ($var5.$timeInPortal - $var34) * $par1; if ($var10 > 0.0) { $ptr = 5; continue main; } } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiIngame_$callClinit(); $var5 = nms_GuiIngame_widgetsTexPath; $ptr = 2; continue main; case 1: nms_GuiIngame_renderVignette($this, $var34, $var6, $var7); if ($rt_suspending()) { break main; } $var5 = $this.$mc3; $var9 = $var5.$thePlayer.$inventory.$armorInventory.data[3]; if (!$var5.$gameSettings.$thirdPersonView && $var9 !== null) { $par2 = $var9.$itemID; nms_Block_$callClinit(); if ($par2 == nms_Block_pumpkin.$blockID) { $ptr = 6; continue main; } } $var5 = $this.$mc3.$thePlayer; nms_Potion_$callClinit(); if (!nms_EntityLivingBase_isPotionActive($var5, nms_Potion_confusion)) { $var5 = $this.$mc3.$thePlayer; $var34 = $var5.$prevTimeInPortal; $var10 = $var34 + ($var5.$timeInPortal - $var34) * $par1; if ($var10 > 0.0) { $ptr = 5; continue main; } } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiIngame_$callClinit(); $var5 = nms_GuiIngame_widgetsTexPath; $ptr = 2; case 2: nle_TextureLocation_bindTexture($var5); if ($rt_suspending()) { break main; } $var31 = $this.$mc3.$thePlayer.$inventory; $this.$zLevel = (-90.0); $var17 = $var6 / 2 | 0; $var11 = $var17 - 91 | 0; $par2 = $var7 - 22 | 0; nms_Gui_drawTexturedModalRect($this, $var11, $par2, 0, 0, 182, 22); nms_Gui_drawTexturedModalRect($this, ($var11 - 1 | 0) + ($var31.$currentItem * 20 | 0) | 0, $par2 - 1 | 0, 0, 22, 24, 22); $var5 = nms_Gui_icons; $ptr = 3; case 3: nle_TextureLocation_bindTexture($var5); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(775, 769); nms_Gui_drawTexturedModalRect($this, $var17 - 7 | 0, ($var7 / 2 | 0) - 7 | 0, 0, 0, 16, 16); nleg_EaglerAdapterGL30_glDisable(3042); $ptr = 4; case 4: nms_GuiIngame_renderBossHealth($this); if ($rt_suspending()) { break main; } $var5 = $this.$mc3.$playerController.$currentGameType; if ($var5 !== nms_EnumGameType_SURVIVAL && $var5 !== nms_EnumGameType_ADVENTURE ? 0 : 1) nms_GuiIngame_func_110327_a($this, $var6, $var7); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $info = new ji_ByteArrayOutputStream; $info.$buf = $rt_createByteArray(32); $var5.$out0 = $info; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); $var5.$sb = $info; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $info = new ji_ByteArrayOutputStream; $info.$buf = $rt_createByteArray(32); $var5.$out0 = $info; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); $var5.$sb = $info; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = (-1.0); $var5.$z = 1.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $info = new ji_ByteArrayOutputStream; $info.$buf = $rt_createByteArray(32); $var5.$out0 = $info; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); $var5.$sb = $info; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); $var11_0 = 0; $par3 = $var17 - 90 | 0; $var13 = ($var7 - 16 | 0) - 3 | 0; if ($var11_0 < 9) { $var12 = ($par3 + ($var11_0 * 20 | 0) | 0) + 2 | 0; $ptr = 7; continue main; } nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_glDisable(32826); if ($this.$mc3.$thePlayer.$sleepTimer > 0) { nleg_EaglerAdapterGL30_glDisable(2929); nleg_EaglerAdapterGL30_glDisable(3008); $var32 = $this.$mc3.$thePlayer.$sleepTimer; $var33 = $var32 / 100.0; if ($var33 > 1.0) $var33 = 1.0 - ($var32 - 100 | 0) / 10.0; nms_Gui_drawRect(0, 0, $var6, $var7, (220.0 * $var33 | 0) << 24 | 1052704); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glEnable(2929); } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var5 = $this.$mc3; $info = $var5.$thePlayer.$ridingEntity; if (!($info !== null && $info instanceof nms_EntityHorse ? 1 : 0)) { $var5 = $var5.$playerController.$currentGameType; if (!($var5 !== nms_EnumGameType_SURVIVAL && $var5 !== nms_EnumGameType_ADVENTURE ? 0 : 1)) { if ($this.$mc3.$gameSettings.$heldItemTooltips && $this.$remainingHighlightTicks > 0) { $var5 = $this.$highlightingItemStack; if ($var5 !== null) { nms_Item_$callClinit(); $var36 = nms_Item_itemsList.data[$var5.$itemID].$getItemDisplayName($var5); $info = $var5.$stackTagCompound; if ($info !== null) { a: { $info = $info.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { b: { $var42 = $info.$key; if ($rt_s(1525) !== $var42) { if ($rt_s(1525) !== $var42) { if (!($var42 instanceof jl_String)) $par2 = 0; else { $var42 = $var42; $par2 = $rt_s(1525).$nativeString !== $var42.$nativeString ? 0 : 1; } } else $par2 = 1; if (!$par2) { $par2 = 0; break b; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if ($info === null ? 0 : 1) { c: { $var5 = $var5.$stackTagCompound; $var40 = $var5.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $var40.$elementData.data; $var40 = var$22[$par4 & (var$22.length - 1 | 0)]; while ($var40 !== null) { if ($var40.$origKeyHash == $par4) { d: { $var42 = $var40.$key; if ($rt_s(1525) !== $var42) { if ($rt_s(1525) === $var42) $par2 = 1; else if (!($var42 instanceof jl_String)) $par2 = 0; else { $var42 = $var42; $par2 = $rt_s(1525).$nativeString !== $var42.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break d; } } $par2 = 1; } if ($par2) break; } $var40 = $var40.$next3; } if ($var40 === null ? 0 : 1) { $var5 = $var5.$tagMap; if ($rt_s(1525) !== null) { e: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $var5.$elementData.data; $var5 = var$22[$par4 & (var$22.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $par4) { f: { $var40 = $var5.$key; if ($rt_s(1525) !== $var40) { if ($rt_s(1525) !== $var40) { if ($var40 instanceof jl_String) { $var40 = $var40; $par2 = $rt_s(1525).$nativeString !== $var40.$nativeString ? 0 : 1; } else $par2 = 0; } else $par2 = 1; if (!$par2) { $par2 = 0; break f; } } $par2 = 1; } if ($par2) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } $var42 = $var5 === null ? null : $var5.$value1; } else { $var42 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $var42.$name = $rt_s(1525); else $var42.$name = $rt_s(18); $var42.$tagMap = ju_HashMap__init_(); } g: { $info = $var42.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { h: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break h; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if ($info === null ? 0 : 1) { i: { $info = $var42.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break i; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { j: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break j; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if (!($info === null ? 0 : 1)) $var36 = $rt_s(18); else { $info = $var42.$tagMap; if ($rt_s(1526) === null) { $info = $info.$elementData.data[0]; while ($info !== null && $info.$key !== null) { $info = $info.$next3; } } else { k: { if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break k; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { l: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break l; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } } $var36 = ($info === null ? null : $info.$value1).$data1; } } } } $var13 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var36) | 0) / 2 | 0; $var14 = $var7 - 59 | 0; $var5 = $this.$mc3.$playerController.$currentGameType; if (!($var5 !== nms_EnumGameType_SURVIVAL && $var5 !== nms_EnumGameType_ADVENTURE ? 0 : 1)) $var14 = $var14 + 14 | 0; $var15 = $this.$remainingHighlightTicks * 256.0 / 10.0 | 0; if ($var15 > 255) $var15 = 255; if ($var15 > 0) { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $par2 = 16777215 + ($var15 << 24) | 0; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $par3 = $var13 + 1 | 0; $par4 = $var14 + 1 | 0; $i = 1; $ptr = 26; continue main; } } } nms_InventoryPlayer_getTotalArmorValue($this.$mc3.$thePlayer.$inventory); $var5 = $this.$mc3; $par2 = nms_Minecraft_debugFPS; $par3 = nms_Minecraft_debugChunkUpdates; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($info, $info.$length0, $par2, 10); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1527)); jl_AbstractStringBuilder_insert0($info, $info.$length0, $par3, 10); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1528)); $var40 = new jl_String; var$22 = $info.$buffer; var$28 = var$22.data; $par3 = $info.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var40.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $var5.$debug = $var40; if (!$this.$mc3.$gameSettings.$showDebugInfo) { nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.75; $var5.$y = 0.75; $var5.$z = 0.75; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $info = new ji_ByteArrayOutputStream; $info.$buf = $rt_createByteArray(32); $var5.$out0 = $info; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); $var5.$sb = $info; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nms_RenderGlobal_getDebugInfoShort($this.$mc3.$renderGlobal); $par2 = 2; $par3 = 2; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $i = 3; $size = 1; $ptr = 15; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = $this.$mc3.$debug; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1529)); $par2 = $info.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($info, $par2, $var5); $i = 41; $par2 = $info.$length0; jl_AbstractStringBuilder_insertSpace($info, $par2, $par2 + 1 | 0); var$22 = $info.$buffer; var$28 = var$22.data; var$28[$par2] = $i; $var5 = new jl_String; $par3 = $info.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par2 = 2; $par3 = 2; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $size = 3; $var15 = 1; $ptr = 18; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var5 = nms_Gui_icons; $ptr = 9; continue main; } $var5 = nms_Gui_icons; $ptr = 8; continue main; case 5: nms_GuiIngame_renderPortalOverlay($this, $var10, $var6, $var7); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiIngame_$callClinit(); $var5 = nms_GuiIngame_widgetsTexPath; $ptr = 2; continue main; case 6: nms_GuiIngame_renderPumpkinBlur($this, $var6, $var7); if ($rt_suspending()) { break main; } $var5 = $this.$mc3.$thePlayer; nms_Potion_$callClinit(); if (!nms_EntityLivingBase_isPotionActive($var5, nms_Potion_confusion)) { $var5 = $this.$mc3.$thePlayer; $var34 = $var5.$prevTimeInPortal; $var10 = $var34 + ($var5.$timeInPortal - $var34) * $par1; if ($var10 > 0.0) { $ptr = 5; continue main; } } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiIngame_$callClinit(); $var5 = nms_GuiIngame_widgetsTexPath; $ptr = 2; continue main; case 7: nms_GuiIngame_renderInventorySlot($this, $var11_0, $var12, $var13, $par1); if ($rt_suspending()) { break main; } $var11_0 = $var11_0 + 1 | 0; if ($var11_0 < 9) { $var12 = ($par3 + ($var11_0 * 20 | 0) | 0) + 2 | 0; continue main; } nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_glDisable(32826); if ($this.$mc3.$thePlayer.$sleepTimer > 0) { nleg_EaglerAdapterGL30_glDisable(2929); nleg_EaglerAdapterGL30_glDisable(3008); $var32 = $this.$mc3.$thePlayer.$sleepTimer; $var33 = $var32 / 100.0; if ($var33 > 1.0) $var33 = 1.0 - ($var32 - 100 | 0) / 10.0; nms_Gui_drawRect(0, 0, $var6, $var7, (220.0 * $var33 | 0) << 24 | 1052704); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glEnable(2929); } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var5 = $this.$mc3; $info = $var5.$thePlayer.$ridingEntity; if (!($info !== null && $info instanceof nms_EntityHorse ? 1 : 0)) { $var5 = $var5.$playerController.$currentGameType; if (!($var5 !== nms_EnumGameType_SURVIVAL && $var5 !== nms_EnumGameType_ADVENTURE ? 0 : 1)) { if ($this.$mc3.$gameSettings.$heldItemTooltips && $this.$remainingHighlightTicks > 0) { $var5 = $this.$highlightingItemStack; if ($var5 !== null) { nms_Item_$callClinit(); $var36 = nms_Item_itemsList.data[$var5.$itemID].$getItemDisplayName($var5); $info = $var5.$stackTagCompound; if ($info !== null) { m: { $info = $info.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { n: { $var42 = $info.$key; if ($rt_s(1525) !== $var42) { if ($rt_s(1525) !== $var42) { if (!($var42 instanceof jl_String)) $par2 = 0; else { $var42 = $var42; $par2 = $rt_s(1525).$nativeString !== $var42.$nativeString ? 0 : 1; } } else $par2 = 1; if (!$par2) { $par2 = 0; break n; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if ($info === null ? 0 : 1) { o: { $var5 = $var5.$stackTagCompound; $var40 = $var5.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break o; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $var40.$elementData.data; $var40 = var$22[$par4 & (var$22.length - 1 | 0)]; while ($var40 !== null) { if ($var40.$origKeyHash == $par4) { p: { $var42 = $var40.$key; if ($rt_s(1525) !== $var42) { if ($rt_s(1525) === $var42) $par2 = 1; else if (!($var42 instanceof jl_String)) $par2 = 0; else { $var42 = $var42; $par2 = $rt_s(1525).$nativeString !== $var42.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break p; } } $par2 = 1; } if ($par2) break; } $var40 = $var40.$next3; } if ($var40 === null ? 0 : 1) { $var5 = $var5.$tagMap; if ($rt_s(1525) !== null) { q: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break q; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $var5.$elementData.data; $var5 = var$22[$par4 & (var$22.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $par4) { r: { $var40 = $var5.$key; if ($rt_s(1525) !== $var40) { if ($rt_s(1525) !== $var40) { if ($var40 instanceof jl_String) { $var40 = $var40; $par2 = $rt_s(1525).$nativeString !== $var40.$nativeString ? 0 : 1; } else $par2 = 0; } else $par2 = 1; if (!$par2) { $par2 = 0; break r; } } $par2 = 1; } if ($par2) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } $var42 = $var5 === null ? null : $var5.$value1; } else { $var42 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $var42.$name = $rt_s(1525); else $var42.$name = $rt_s(18); $var42.$tagMap = ju_HashMap__init_(); } s: { $info = $var42.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { t: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break t; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if ($info === null ? 0 : 1) { u: { $info = $var42.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break u; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { v: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break v; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if (!($info === null ? 0 : 1)) $var36 = $rt_s(18); else { $info = $var42.$tagMap; if ($rt_s(1526) === null) { $info = $info.$elementData.data[0]; while ($info !== null && $info.$key !== null) { $info = $info.$next3; } } else { w: { if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break w; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { x: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break x; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } } $var36 = ($info === null ? null : $info.$value1).$data1; } } } } $var13 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var36) | 0) / 2 | 0; $var14 = $var7 - 59 | 0; $var5 = $this.$mc3.$playerController.$currentGameType; if (!($var5 !== nms_EnumGameType_SURVIVAL && $var5 !== nms_EnumGameType_ADVENTURE ? 0 : 1)) $var14 = $var14 + 14 | 0; $var15 = $this.$remainingHighlightTicks * 256.0 / 10.0 | 0; if ($var15 > 255) $var15 = 255; if ($var15 > 0) { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $par2 = 16777215 + ($var15 << 24) | 0; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $par3 = $var13 + 1 | 0; $par4 = $var14 + 1 | 0; $i = 1; $ptr = 26; continue main; } } } nms_InventoryPlayer_getTotalArmorValue($this.$mc3.$thePlayer.$inventory); $var5 = $this.$mc3; $par2 = nms_Minecraft_debugFPS; $par3 = nms_Minecraft_debugChunkUpdates; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($info, $info.$length0, $par2, 10); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1527)); jl_AbstractStringBuilder_insert0($info, $info.$length0, $par3, 10); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1528)); $var40 = new jl_String; var$22 = $info.$buffer; var$28 = var$22.data; $par3 = $info.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var40.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $var5.$debug = $var40; if (!$this.$mc3.$gameSettings.$showDebugInfo) { nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.75; $var5.$y = 0.75; $var5.$z = 0.75; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $info = new ji_ByteArrayOutputStream; $info.$buf = $rt_createByteArray(32); $var5.$out0 = $info; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); $var5.$sb = $info; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nms_RenderGlobal_getDebugInfoShort($this.$mc3.$renderGlobal); $par2 = 2; $par3 = 2; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $i = 3; $size = 1; $ptr = 15; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = $this.$mc3.$debug; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1529)); $par2 = $info.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($info, $par2, $var5); $i = 41; $par2 = $info.$length0; jl_AbstractStringBuilder_insertSpace($info, $par2, $par2 + 1 | 0); var$22 = $info.$buffer; var$28 = var$22.data; var$28[$par2] = $i; $var5 = new jl_String; $par3 = $info.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par2 = 2; $par3 = 2; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $size = 3; $var15 = 1; $ptr = 18; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var5 = nms_Gui_icons; $ptr = 9; continue main; } $var5 = nms_Gui_icons; $ptr = 8; case 8: nle_TextureLocation_bindTexture($var5); if ($rt_suspending()) { break main; } $var14 = $this.$mc3.$thePlayer.$horseJumpPower * 183.0 | 0; $var15 = ($var7 - 32 | 0) + 3 | 0; nms_Gui_drawTexturedModalRect($this, $var11, $var15, 0, 84, 182, 5); if ($var14 > 0) nms_Gui_drawTexturedModalRect($this, $var11, $var15, 0, 89, $var14, 5); if ($this.$mc3.$gameSettings.$heldItemTooltips && $this.$remainingHighlightTicks > 0) { $var5 = $this.$highlightingItemStack; if ($var5 !== null) { nms_Item_$callClinit(); $var36 = nms_Item_itemsList.data[$var5.$itemID].$getItemDisplayName($var5); $info = $var5.$stackTagCompound; if ($info !== null) { y: { $info = $info.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break y; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { z: { $var42 = $info.$key; if ($rt_s(1525) !== $var42) { if ($rt_s(1525) !== $var42) { if (!($var42 instanceof jl_String)) $par2 = 0; else { $var42 = $var42; $par2 = $rt_s(1525).$nativeString !== $var42.$nativeString ? 0 : 1; } } else $par2 = 1; if (!$par2) { $par2 = 0; break z; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if ($info === null ? 0 : 1) { ba: { $var5 = $var5.$stackTagCompound; $var40 = $var5.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break ba; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $var40.$elementData.data; $var40 = var$22[$par4 & (var$22.length - 1 | 0)]; while ($var40 !== null) { if ($var40.$origKeyHash == $par4) { a: { $var42 = $var40.$key; if ($rt_s(1525) !== $var42) { if ($rt_s(1525) === $var42) $par2 = 1; else if (!($var42 instanceof jl_String)) $par2 = 0; else { $var42 = $var42; $par2 = $rt_s(1525).$nativeString !== $var42.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break a; } } $par2 = 1; } if ($par2) break; } $var40 = $var40.$next3; } if ($var40 === null ? 0 : 1) { $var5 = $var5.$tagMap; if ($rt_s(1525) !== null) { bb: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break bb; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $var5.$elementData.data; $var5 = var$22[$par4 & (var$22.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $par4) { bc: { $var40 = $var5.$key; if ($rt_s(1525) !== $var40) { if ($rt_s(1525) !== $var40) { if ($var40 instanceof jl_String) { $var40 = $var40; $par2 = $rt_s(1525).$nativeString !== $var40.$nativeString ? 0 : 1; } else $par2 = 0; } else $par2 = 1; if (!$par2) { $par2 = 0; break bc; } } $par2 = 1; } if ($par2) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } $var42 = $var5 === null ? null : $var5.$value1; } else { $var42 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $var42.$name = $rt_s(1525); else $var42.$name = $rt_s(18); $var42.$tagMap = ju_HashMap__init_(); } bd: { $info = $var42.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break bd; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { be: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break be; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if ($info === null ? 0 : 1) { bf: { $info = $var42.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break bf; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { g: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break g; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if (!($info === null ? 0 : 1)) $var36 = $rt_s(18); else { $info = $var42.$tagMap; if ($rt_s(1526) === null) { $info = $info.$elementData.data[0]; while ($info !== null && $info.$key !== null) { $info = $info.$next3; } } else { i: { if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break i; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { j: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break j; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } } $var36 = ($info === null ? null : $info.$value1).$data1; } } } } $var13 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var36) | 0) / 2 | 0; $var14 = $var7 - 59 | 0; $var5 = $this.$mc3.$playerController.$currentGameType; if (!($var5 !== nms_EnumGameType_SURVIVAL && $var5 !== nms_EnumGameType_ADVENTURE ? 0 : 1)) $var14 = $var14 + 14 | 0; $var15 = $this.$remainingHighlightTicks * 256.0 / 10.0 | 0; if ($var15 > 255) $var15 = 255; if ($var15 > 0) { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $par2 = 16777215 + ($var15 << 24) | 0; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $par3 = $var13 + 1 | 0; $par4 = $var14 + 1 | 0; $i = 1; $ptr = 26; continue main; } } } nms_InventoryPlayer_getTotalArmorValue($this.$mc3.$thePlayer.$inventory); $var5 = $this.$mc3; $par2 = nms_Minecraft_debugFPS; $par3 = nms_Minecraft_debugChunkUpdates; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($info, $info.$length0, $par2, 10); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1527)); jl_AbstractStringBuilder_insert0($info, $info.$length0, $par3, 10); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1528)); $var40 = new jl_String; var$22 = $info.$buffer; var$28 = var$22.data; $par3 = $info.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var40.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $var5.$debug = $var40; if (!$this.$mc3.$gameSettings.$showDebugInfo) { nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.75; $var5.$y = 0.75; $var5.$z = 0.75; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $info = new ji_ByteArrayOutputStream; $info.$buf = $rt_createByteArray(32); $var5.$out0 = $info; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); $var5.$sb = $info; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nms_RenderGlobal_getDebugInfoShort($this.$mc3.$renderGlobal); $par2 = 2; $par3 = 2; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $i = 3; $size = 1; $ptr = 15; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = $this.$mc3.$debug; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1529)); $par2 = $info.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($info, $par2, $var5); $i = 41; $par2 = $info.$length0; jl_AbstractStringBuilder_insertSpace($info, $par2, $par2 + 1 | 0); var$22 = $info.$buffer; var$28 = var$22.data; var$28[$par2] = $i; $var5 = new jl_String; $par3 = $info.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par2 = 2; $par3 = 2; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $size = 3; $var15 = 1; $ptr = 18; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 9: nle_TextureLocation_bindTexture($var5); if ($rt_suspending()) { break main; } if (nms_EntityPlayer_xpBarCap($this.$mc3.$thePlayer) > 0) { $var14 = $this.$mc3.$thePlayer.$experience * 183.0 | 0; $var15 = ($var7 - 32 | 0) + 3 | 0; nms_Gui_drawTexturedModalRect($this, $var11, $var15, 0, 64, 182, 5); if ($var14 > 0) nms_Gui_drawTexturedModalRect($this, $var11, $var15, 0, 69, $var14, 5); } $par2 = $this.$mc3.$thePlayer.$experienceLevel; if ($par2 <= 0) { if ($this.$mc3.$gameSettings.$heldItemTooltips && $this.$remainingHighlightTicks > 0) { $var5 = $this.$highlightingItemStack; if ($var5 !== null) { nms_Item_$callClinit(); $var36 = nms_Item_itemsList.data[$var5.$itemID].$getItemDisplayName($var5); $info = $var5.$stackTagCompound; if ($info !== null) { bg: { $info = $info.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break bg; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { bh: { $var42 = $info.$key; if ($rt_s(1525) !== $var42) { if ($rt_s(1525) !== $var42) { if (!($var42 instanceof jl_String)) $par2 = 0; else { $var42 = $var42; $par2 = $rt_s(1525).$nativeString !== $var42.$nativeString ? 0 : 1; } } else $par2 = 1; if (!$par2) { $par2 = 0; break bh; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if ($info === null ? 0 : 1) { bi: { $var5 = $var5.$stackTagCompound; $var40 = $var5.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break bi; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $var40.$elementData.data; $var40 = var$22[$par4 & (var$22.length - 1 | 0)]; while ($var40 !== null) { if ($var40.$origKeyHash == $par4) { bj: { $var42 = $var40.$key; if ($rt_s(1525) !== $var42) { if ($rt_s(1525) === $var42) $par2 = 1; else if (!($var42 instanceof jl_String)) $par2 = 0; else { $var42 = $var42; $par2 = $rt_s(1525).$nativeString !== $var42.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break bj; } } $par2 = 1; } if ($par2) break; } $var40 = $var40.$next3; } if ($var40 === null ? 0 : 1) { $var5 = $var5.$tagMap; if ($rt_s(1525) !== null) { bk: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break bk; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $var5.$elementData.data; $var5 = var$22[$par4 & (var$22.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $par4) { bl: { $var40 = $var5.$key; if ($rt_s(1525) !== $var40) { if ($rt_s(1525) !== $var40) { if ($var40 instanceof jl_String) { $var40 = $var40; $par2 = $rt_s(1525).$nativeString !== $var40.$nativeString ? 0 : 1; } else $par2 = 0; } else $par2 = 1; if (!$par2) { $par2 = 0; break bl; } } $par2 = 1; } if ($par2) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } $var42 = $var5 === null ? null : $var5.$value1; } else { $var42 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $var42.$name = $rt_s(1525); else $var42.$name = $rt_s(18); $var42.$tagMap = ju_HashMap__init_(); } bm: { $info = $var42.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break bm; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { bn: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break bn; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if ($info === null ? 0 : 1) { bo: { $info = $var42.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break bo; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { bp: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break bp; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if (!($info === null ? 0 : 1)) $var36 = $rt_s(18); else { $info = $var42.$tagMap; if ($rt_s(1526) === null) { $info = $info.$elementData.data[0]; while ($info !== null && $info.$key !== null) { $info = $info.$next3; } } else { bq: { if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break bq; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { br: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break br; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } } $var36 = ($info === null ? null : $info.$value1).$data1; } } } } $var13 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var36) | 0) / 2 | 0; $var14 = $var7 - 59 | 0; $var5 = $this.$mc3.$playerController.$currentGameType; if (!($var5 !== nms_EnumGameType_SURVIVAL && $var5 !== nms_EnumGameType_ADVENTURE ? 0 : 1)) $var14 = $var14 + 14 | 0; $var15 = $this.$remainingHighlightTicks * 256.0 / 10.0 | 0; if ($var15 > 255) $var15 = 255; if ($var15 > 0) { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $par2 = 16777215 + ($var15 << 24) | 0; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $par3 = $var13 + 1 | 0; $par4 = $var14 + 1 | 0; $i = 1; $ptr = 26; continue main; } } } nms_InventoryPlayer_getTotalArmorValue($this.$mc3.$thePlayer.$inventory); $var5 = $this.$mc3; $par2 = nms_Minecraft_debugFPS; $par3 = nms_Minecraft_debugChunkUpdates; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($info, $info.$length0, $par2, 10); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1527)); jl_AbstractStringBuilder_insert0($info, $info.$length0, $par3, 10); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1528)); $var40 = new jl_String; var$22 = $info.$buffer; var$28 = var$22.data; $par3 = $info.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var40.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $var5.$debug = $var40; if (!$this.$mc3.$gameSettings.$showDebugInfo) { nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.75; $var5.$y = 0.75; $var5.$z = 0.75; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $info = new ji_ByteArrayOutputStream; $info.$buf = $rt_createByteArray(32); $var5.$out0 = $info; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); $var5.$sb = $info; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nms_RenderGlobal_getDebugInfoShort($this.$mc3.$renderGlobal); $par2 = 2; $par3 = 2; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $i = 3; $size = 1; $ptr = 15; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = $this.$mc3.$debug; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1529)); $par2 = $info.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($info, $par2, $var5); $i = 41; $par2 = $info.$length0; jl_AbstractStringBuilder_insertSpace($info, $par2, $par2 + 1 | 0); var$22 = $info.$buffer; var$28 = var$22.data; var$28[$par2] = $i; $var5 = new jl_String; $par3 = $info.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par2 = 2; $par3 = 2; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $size = 3; $var15 = 1; $ptr = 18; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var14 = 8453920; $var5 = jl_StringBuilder__init_(); jl_StringBuilder_append0($var5, $par2); $var39 = jl_StringBuilder_toString($var5); $var16 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var39) | 0) / 2 | 0; $var17_0 = ($var7 - 31 | 0) - 4 | 0; $par2 = $var16 + 1 | 0; $par3 = 0; $ptr = 10; case 10: nms_FontRenderer_drawString($var8, $var39, $par2, $var17_0, $par3); if ($rt_suspending()) { break main; } $par2 = $var16 - 1 | 0; $par3 = 0; $ptr = 11; case 11: nms_FontRenderer_drawString($var8, $var39, $par2, $var17_0, $par3); if ($rt_suspending()) { break main; } $par2 = $var17_0 + 1 | 0; $par3 = 0; $ptr = 12; case 12: nms_FontRenderer_drawString($var8, $var39, $var16, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $var17_0 - 1 | 0; $par3 = 0; $ptr = 13; case 13: nms_FontRenderer_drawString($var8, $var39, $var16, $par2, $par3); if ($rt_suspending()) { break main; } $ptr = 14; case 14: nms_FontRenderer_drawString($var8, $var39, $var16, $var17_0, $var14); if ($rt_suspending()) { break main; } if ($this.$mc3.$gameSettings.$heldItemTooltips && $this.$remainingHighlightTicks > 0) { $var5 = $this.$highlightingItemStack; if ($var5 !== null) { nms_Item_$callClinit(); $var36 = nms_Item_itemsList.data[$var5.$itemID].$getItemDisplayName($var5); $info = $var5.$stackTagCompound; if ($info !== null) { bs: { $info = $info.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break bs; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { bt: { $var42 = $info.$key; if ($rt_s(1525) !== $var42) { if ($rt_s(1525) !== $var42) { if (!($var42 instanceof jl_String)) $par2 = 0; else { $var42 = $var42; $par2 = $rt_s(1525).$nativeString !== $var42.$nativeString ? 0 : 1; } } else $par2 = 1; if (!$par2) { $par2 = 0; break bt; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if ($info === null ? 0 : 1) { n: { $var5 = $var5.$stackTagCompound; $var40 = $var5.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break n; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $var40.$elementData.data; $var40 = var$22[$par4 & (var$22.length - 1 | 0)]; while ($var40 !== null) { if ($var40.$origKeyHash == $par4) { bu: { $var42 = $var40.$key; if ($rt_s(1525) !== $var42) { if ($rt_s(1525) === $var42) $par2 = 1; else if (!($var42 instanceof jl_String)) $par2 = 0; else { $var42 = $var42; $par2 = $rt_s(1525).$nativeString !== $var42.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break bu; } } $par2 = 1; } if ($par2) break; } $var40 = $var40.$next3; } if ($var40 === null ? 0 : 1) { $var5 = $var5.$tagMap; if ($rt_s(1525) !== null) { bv: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break bv; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$22 = $var5.$elementData.data; $var5 = var$22[$par4 & (var$22.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $par4) { bw: { $var40 = $var5.$key; if ($rt_s(1525) !== $var40) { if ($rt_s(1525) !== $var40) { if ($var40 instanceof jl_String) { $var40 = $var40; $par2 = $rt_s(1525).$nativeString !== $var40.$nativeString ? 0 : 1; } else $par2 = 0; } else $par2 = 1; if (!$par2) { $par2 = 0; break bw; } } $par2 = 1; } if ($par2) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } $var42 = $var5 === null ? null : $var5.$value1; } else { $var42 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $var42.$name = $rt_s(1525); else $var42.$name = $rt_s(18); $var42.$tagMap = ju_HashMap__init_(); } bx: { $info = $var42.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break bx; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { by: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break by; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if ($info === null ? 0 : 1) { t: { $info = $var42.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break t; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { bz: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break bz; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } if (!($info === null ? 0 : 1)) $var36 = $rt_s(18); else { $info = $var42.$tagMap; if ($rt_s(1526) === null) { $info = $info.$elementData.data[0]; while ($info !== null && $info.$key !== null) { $info = $info.$next3; } } else { bA: { if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break bA; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$22 = $info.$elementData.data; $info = var$22[$par4 & (var$22.length - 1 | 0)]; while ($info !== null) { if ($info.$origKeyHash == $par4) { bB: { $var40 = $info.$key; if ($rt_s(1526) !== $var40) { if ($rt_s(1526) === $var40) $par2 = 1; else if (!($var40 instanceof jl_String)) $par2 = 0; else { $var40 = $var40; $par2 = $rt_s(1526).$nativeString !== $var40.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break bB; } } $par2 = 1; } if ($par2) break; } $info = $info.$next3; } } $var36 = ($info === null ? null : $info.$value1).$data1; } } } } $var13 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var36) | 0) / 2 | 0; $var14 = $var7 - 59 | 0; $var5 = $this.$mc3.$playerController.$currentGameType; if (!($var5 !== nms_EnumGameType_SURVIVAL && $var5 !== nms_EnumGameType_ADVENTURE ? 0 : 1)) $var14 = $var14 + 14 | 0; $var15 = $this.$remainingHighlightTicks * 256.0 / 10.0 | 0; if ($var15 > 255) $var15 = 255; if ($var15 > 0) { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $par2 = 16777215 + ($var15 << 24) | 0; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $par3 = $var13 + 1 | 0; $par4 = $var14 + 1 | 0; $i = 1; $ptr = 26; continue main; } } } nms_InventoryPlayer_getTotalArmorValue($this.$mc3.$thePlayer.$inventory); $var5 = $this.$mc3; $par2 = nms_Minecraft_debugFPS; $par3 = nms_Minecraft_debugChunkUpdates; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($info, $info.$length0, $par2, 10); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1527)); jl_AbstractStringBuilder_insert0($info, $info.$length0, $par3, 10); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1528)); $var40 = new jl_String; var$22 = $info.$buffer; var$28 = var$22.data; $par3 = $info.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var40.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $var5.$debug = $var40; if (!$this.$mc3.$gameSettings.$showDebugInfo) { nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.75; $var5.$y = 0.75; $var5.$z = 0.75; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $info = new ji_ByteArrayOutputStream; $info.$buf = $rt_createByteArray(32); $var5.$out0 = $info; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); $var5.$sb = $info; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nms_RenderGlobal_getDebugInfoShort($this.$mc3.$renderGlobal); $par2 = 2; $par3 = 2; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $i = 3; $size = 1; $ptr = 15; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = $this.$mc3.$debug; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1529)); $par2 = $info.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($info, $par2, $var5); $i = 41; $par2 = $info.$length0; jl_AbstractStringBuilder_insertSpace($info, $par2, $par2 + 1 | 0); var$22 = $info.$buffer; var$28 = var$22.data; var$28[$par2] = $i; $var5 = new jl_String; $par3 = $info.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par2 = 2; $par3 = 2; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $size = 3; $var15 = 1; $ptr = 18; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 15: $tmp = nms_FontRenderer_renderString($var8, $var5, $i, $i, $par4, $size); if ($rt_suspending()) { break main; } $size = $tmp; $i = 0; $ptr = 16; case 16: $tmp = nms_FontRenderer_renderString($var8, $var5, $par2, $par3, $par4, $i); if ($rt_suspending()) { break main; } $par2 = $tmp; $var5 = $this.$mc3; if ($var5.$gameSettings.$showCoordinates) { $par2 = nms_MathHelper_floor_double($var5.$thePlayer.$posX); $par3 = nms_MathHelper_floor_double($this.$mc3.$thePlayer.$posY); $par4 = nms_MathHelper_floor_double($this.$mc3.$thePlayer.$posZ); $var5 = jl_StringBuilder__init_(); jl_StringBuilder_append0(jl_StringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append($var5, $rt_s(1530)), $par2), $rt_s(1531)), $par3), $rt_s(1532)), $par4); $var5 = jl_StringBuilder_toString($var5); $par2 = 2; $par3 = 12; $par4 = 16777215; $ptr = 17; continue main; } nleg_EaglerAdapterGL30_glPopMatrix(); $par2 = $this.$recordPlayingUpFor; if ($par2 > 0) { $var13 = ($par2 - $par1) * 255.0 / 20.0 | 0; if ($var13 > 255) $var13 = 255; if ($var13 > 8) { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glTranslatef($var17, $var7 - 68 | 0, 0.0); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $var5 = $this.$recordPlaying; $par2 = ( -nms_FontRenderer_getStringWidth($var8, $var5) | 0) / 2 | 0; $par3 = (-4); $par4 = 16777215 + ($var13 << 24 & (-16777216)) | 0; $ptr = 28; continue main; } } $var40 = nms_Scoreboard_func_96539_a(nms_World_getScoreboard($this.$mc3.$theWorld), 1); if ($var40 !== null) { $ptr = 23; continue main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glTranslatef(0.0, $var7 - 48 | 0, 0.0); $var5 = $this.$persistantChatGUI; $par2 = $this.$updateCounter; $ptr = 22; continue main; case 17: nms_FontRenderer_drawStringWithShadow($var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); $par2 = $this.$recordPlayingUpFor; if ($par2 > 0) { $var13 = ($par2 - $par1) * 255.0 / 20.0 | 0; if ($var13 > 255) $var13 = 255; if ($var13 > 8) { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glTranslatef($var17, $var7 - 68 | 0, 0.0); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $var5 = $this.$recordPlaying; $par2 = ( -nms_FontRenderer_getStringWidth($var8, $var5) | 0) / 2 | 0; $par3 = (-4); $par4 = 16777215 + ($var13 << 24 & (-16777216)) | 0; $ptr = 28; continue main; } } $var40 = nms_Scoreboard_func_96539_a(nms_World_getScoreboard($this.$mc3.$theWorld), 1); if ($var40 !== null) { $ptr = 23; continue main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glTranslatef(0.0, $var7 - 48 | 0, 0.0); $var5 = $this.$persistantChatGUI; $par2 = $this.$updateCounter; $ptr = 22; continue main; case 18: $tmp = nms_FontRenderer_renderString($var8, $var5, $size, $size, $par4, $var15); if ($rt_suspending()) { break main; } $var15 = $tmp; $size = 0; $ptr = 19; case 19: $tmp = nms_FontRenderer_renderString($var8, $var5, $par2, $par3, $par4, $size); if ($rt_suspending()) { break main; } $par2 = $tmp; $var5 = nms_RenderGlobal_getDebugInfoRenders($this.$mc3.$renderGlobal); $par2 = 2; $par3 = 12; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $size = 3; $var15 = 13; $var46 = 1; $ptr = 20; case 20: $tmp = nms_FontRenderer_renderString($var8, $var5, $size, $var15, $par4, $var46); if ($rt_suspending()) { break main; } $var15 = $tmp; $size = 0; $ptr = 21; case 21: $tmp = nms_FontRenderer_renderString($var8, $var5, $par2, $par3, $par4, $size); if ($rt_suspending()) { break main; } $par2 = $tmp; $var5 = nms_RenderGlobal_getDebugInfoEntities($this.$mc3.$renderGlobal); $par2 = 2; $par3 = 22; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $size = 3; $var15 = 23; $var46 = 1; $ptr = 24; continue main; case 22: bC: { nms_GuiNewChat_drawChat($var5, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); $var5 = nms_Scoreboard_func_96539_a(nms_World_getScoreboard($this.$mc3.$theWorld), 0); $info = $this.$mc3; if ($info.$gameSettings.$keyBindPlayerList.$pressed && !(nms_Minecraft_isIntegratedServerRunning($info) && ju_ArrayList_size($this.$mc3.$thePlayer.$sendQueue.$playerInfoList) <= 1 && $var5 === null)) { $var42 = $this.$mc3.$thePlayer.$sendQueue; $var44 = $var42.$playerInfoList; $var15 = $var42.$currentServerMaxPlayers; $var17 = 1; $par2 = $var15; while ($par2 > 20) { $var17 = $var17 + 1 | 0; $par2 = (($var15 + $var17 | 0) - 1 | 0) / $var17 | 0; } $var46 = 300 / $var17 | 0; if ($var46 > 150) $var46 = 150; $par3 = $rt_imul($var17, $var46); $var19 = ($var6 - $par3 | 0) / 2 | 0; $var47 = 10; nms_Gui_drawRect($var19 - 1 | 0, 9, $var19 + $par3 | 0, $var47 + (9 * $par2 | 0) | 0, (-2147483648)); $var21 = 0; while (true) { if ($var21 >= $var15) break bC; $par2 = $var19 + $rt_imul($var21 % $var17 | 0, $var46) | 0; $par3 = $var47 + (($var21 / $var17 | 0) * 9 | 0) | 0; $par4 = $par2 + $var46 | 0; nms_Gui_drawRect($par2, $par3, $par4 - 1 | 0, $par3 + 8 | 0, 553648127); nleg_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nleg_EaglerAdapterGL30_glEnable(3008); if ($var21 < ju_ArrayList_size($var44)) { $var48 = ju_ArrayList_get($var44, $var21); $var50 = nms_ScorePlayerTeam_formatPlayerName(nms_Scoreboard_getPlayersTeam(nms_World_getScoreboard($this.$mc3.$theWorld), $var48.$name11), $var48.$name11); $i = 16777215; $ptr = 29; continue main; } $var21 = $var21 + 1 | 0; } } } nleg_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glEnable(3008); return; case 23: nms_GuiIngame_func_96136_a($this, $var40, $var7, $var6, $var8); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glTranslatef(0.0, $var7 - 48 | 0, 0.0); $var5 = $this.$persistantChatGUI; $par2 = $this.$updateCounter; $ptr = 22; continue main; case 24: $tmp = nms_FontRenderer_renderString($var8, $var5, $size, $var15, $par4, $var46); if ($rt_suspending()) { break main; } $var15 = $tmp; $size = 0; $ptr = 25; case 25: $tmp = nms_FontRenderer_renderString($var8, $var5, $par2, $par3, $par4, $size); if ($rt_suspending()) { break main; } $par2 = $tmp; $var5 = $this.$mc3; $info = nms_EffectRenderer_getStatistics($var5.$effectRenderer); $par4 = $var5.$theWorld.$loadedEntityList.$size0; $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1533)); jl_AbstractStringBuilder_insert0($var5, $var5.$length0, $par4, 10); $var42 = new jl_String; var$22 = $var5.$buffer; var$28 = var$22.data; $par3 = $var5.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var42.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1534)); $par2 = $var5.$length0; if ($info === null) $info = $rt_s(1); jl_AbstractStringBuilder_insert($var5, $par2, $info); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1535)); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $var42); $info = new jl_String; var$22 = $var5.$buffer; var$28 = var$22.data; $par3 = $var5.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $info.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par2 = 2; $par3 = 32; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $size = 3; $var15 = 33; $var46 = 1; $ptr = 30; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 26: $tmp = nms_FontRenderer_renderString($var8, $var36, $par3, $par4, $par2, $i); if ($rt_suspending()) { break main; } $par4 = $tmp; $par3 = 0; $ptr = 27; case 27: $tmp = nms_FontRenderer_renderString($var8, $var36, $var13, $var14, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glPopMatrix(); nms_InventoryPlayer_getTotalArmorValue($this.$mc3.$thePlayer.$inventory); $var5 = $this.$mc3; $par2 = nms_Minecraft_debugFPS; $par3 = nms_Minecraft_debugChunkUpdates; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($info, $info.$length0, $par2, 10); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1527)); jl_AbstractStringBuilder_insert0($info, $info.$length0, $par3, 10); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1528)); $var40 = new jl_String; var$22 = $info.$buffer; var$28 = var$22.data; $par3 = $info.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var40.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $var5.$debug = $var40; if (!$this.$mc3.$gameSettings.$showDebugInfo) { nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.75; $var5.$y = 0.75; $var5.$z = 0.75; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $info = new ji_ByteArrayOutputStream; $info.$buf = $rt_createByteArray(32); $var5.$out0 = $info; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); $var5.$sb = $info; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nms_RenderGlobal_getDebugInfoShort($this.$mc3.$renderGlobal); $par2 = 2; $par3 = 2; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $i = 3; $size = 1; $ptr = 15; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = $this.$mc3.$debug; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1529)); $par2 = $info.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($info, $par2, $var5); $i = 41; $par2 = $info.$length0; jl_AbstractStringBuilder_insertSpace($info, $par2, $par2 + 1 | 0); var$22 = $info.$buffer; var$28 = var$22.data; var$28[$par2] = $i; $var5 = new jl_String; $par3 = $info.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par2 = 2; $par3 = 2; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $size = 3; $var15 = 1; $ptr = 18; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 28: nms_FontRenderer_drawString($var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glPopMatrix(); $var40 = nms_Scoreboard_func_96539_a(nms_World_getScoreboard($this.$mc3.$theWorld), 1); if ($var40 !== null) { $ptr = 23; continue main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glTranslatef(0.0, $var7 - 48 | 0, 0.0); $var5 = $this.$persistantChatGUI; $par2 = $this.$updateCounter; $ptr = 22; continue main; case 29: nms_FontRenderer_drawStringWithShadow($var8, $var50, $par2, $par3, $i); if ($rt_suspending()) { break main; } if ($var5 !== null) { $var27 = ($par2 + nms_FontRenderer_getStringWidth($var8, $var50) | 0) + 5 | 0; $var28 = ($par4 - 12 | 0) - 5 | 0; if (($var28 - $var27 | 0) > 5) { $var29 = nms_Scoreboard_func_96529_a(nms_ScoreObjective_getScoreboard($var5), $var48.$name11, $var5); nms_EnumChatFormatting_$callClinit(); $info = jl_String_valueOf(nms_EnumChatFormatting_YELLOW); $par2 = nms_Score_getScorePoints($var29); $var40 = jl_StringBuilder__init_(); jl_StringBuilder_append0(jl_StringBuilder_append($var40, $info), $par2); $var30 = jl_StringBuilder_toString($var40); $par2 = $var28 - nms_FontRenderer_getStringWidth($var8, $var30) | 0; $i = 16777215; $ptr = 33; continue main; } } nleg_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); $info = nms_Gui_icons; $ptr = 32; continue main; case 30: $tmp = nms_FontRenderer_renderString($var8, $info, $size, $var15, $par4, $var46); if ($rt_suspending()) { break main; } $var15 = $tmp; $size = 0; $ptr = 31; case 31: $tmp = nms_FontRenderer_renderString($var8, $info, $par2, $par3, $par4, $size); if ($rt_suspending()) { break main; } $par2 = $tmp; $par4 = $this.$mc3.$theWorld.$chunkProvider.$chunkMapping.$numHashElements; $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0($var5, $var5.$length0, jl_String_toString($rt_s(1536))); jl_AbstractStringBuilder_insert0($var5, $var5.$length0, $par4, 10); $info = new jl_String; var$22 = $var5.$buffer; var$28 = var$22.data; $par3 = $var5.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $info.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par2 = 2; $par3 = 42; $par4 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; $size = 3; $var15 = 43; $var46 = 1; $ptr = 34; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 32: nle_TextureLocation_bindTexture($info); if ($rt_suspending()) { break main; } $par2 = $var48.$responseTime; $var53 = $par2 < 0 ? 5 : $par2 < 150 ? 0 : $par2 < 300 ? 1 : $par2 < 600 ? 2 : $par2 >= 1000 ? 4 : 3; $this.$zLevel = $this.$zLevel + 100.0; nms_Gui_drawTexturedModalRect($this, $par4 - 12 | 0, $par3, 0, 176 + ($var53 * 8 | 0) | 0, 10, 8); $this.$zLevel = $this.$zLevel - 100.0; while (true) { $var21 = $var21 + 1 | 0; if ($var21 >= $var15) break; $par2 = $var19 + $rt_imul($var21 % $var17 | 0, $var46) | 0; $par3 = $var47 + (($var21 / $var17 | 0) * 9 | 0) | 0; $par4 = $par2 + $var46 | 0; nms_Gui_drawRect($par2, $par3, $par4 - 1 | 0, $par3 + 8 | 0, 553648127); nleg_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nleg_EaglerAdapterGL30_glEnable(3008); if ($var21 >= ju_ArrayList_size($var44)) continue; else { $var48 = ju_ArrayList_get($var44, $var21); $var50 = nms_ScorePlayerTeam_formatPlayerName(nms_Scoreboard_getPlayersTeam(nms_World_getScoreboard($this.$mc3.$theWorld), $var48.$name11), $var48.$name11); $i = 16777215; $ptr = 29; continue main; } } nleg_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glEnable(3008); return; case 33: nms_FontRenderer_drawStringWithShadow($var8, $var30, $par2, $par3, $i); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); $info = nms_Gui_icons; $ptr = 32; continue main; case 34: $tmp = nms_FontRenderer_renderString($var8, $info, $size, $var15, $par4, $var46); if ($rt_suspending()) { break main; } $var15 = $tmp; $size = 0; $ptr = 35; case 35: $tmp = nms_FontRenderer_renderString($var8, $info, $par2, $par3, $par4, $size); if ($rt_suspending()) { break main; } $par2 = $tmp; nlea_EaglerAdapterImpl2_$callClinit(); $var40 = (nle_EnumBrowser_getBrowser()).$name5; $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1537)); $par2 = $var5.$length0; if ($var40 === null) $var40 = $rt_s(1); jl_AbstractStringBuilder_insert($var5, $par2, $var40); $par2 = $var5.$length0; jl_AbstractStringBuilder_insertSpace($var5, $par2, $par2 + 1 | 0); var$22 = $var5.$buffer; var$28 = var$22.data; var$28[$par2] = $i; $info = new jl_String; $par3 = $var5.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $info.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par2 = ($var6 - nms_FontRenderer_getStringWidth($var8, $info) | 0) - 2 | 0; $par3 = 2; $par4 = 14737632; $ptr = 36; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 36: nms_Gui_drawString($this, $var8, $info, $par2, $par3, $par4); if ($rt_suspending()) { break main; } nle_EaglerProfile_$callClinit(); $var5 = nle_EaglerProfile_username; $info = new jl_StringBuilder; $info.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1538)); $par2 = $info.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($info, $par2, $var5); jl_AbstractStringBuilder_insert($info, $info.$length0, $rt_s(1539)); $var5 = new jl_String; var$22 = $info.$buffer; var$28 = var$22.data; $par3 = $info.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par2 = 2; $par3 = 64; $par4 = 16759739; $ptr = 37; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 37: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var5 = $this.$mc3.$thePlayer; $var40 = ($var5 === null ? null : $var5.$sendQueue) === null ? $rt_s(1540) : ($var5 === null ? null : $var5.$sendQueue).$netManager.$getServerURI(); $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1541)); $par2 = $var5.$length0; if ($var40 === null) $var40 = $rt_s(1); jl_AbstractStringBuilder_insert($var5, $par2, $var40); $info = new jl_String; var$22 = $var5.$buffer; var$28 = var$22.data; $par3 = $var5.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $info.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par2 = 2; $par3 = 73; $par4 = 16759739; $ptr = 38; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 38: nms_Gui_drawString($this, $var8, $info, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var5 = $this.$mc3.$thePlayer; var$45 = $var5.$posX; $var19 = var$45 | 0; if (var$45 < $var19) $var19 = $var19 - 1 | 0; var$46 = $var5.$posY; $var46 = var$46 | 0; if (var$46 < $var46) $var46 = $var46 - 1 | 0; var$46 = $var5.$posZ; $var15 = var$46 | 0; if (var$46 < $var15) $var15 = $var15 - 1 | 0; $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert4($var5, $var5.$length0, var$45); $var40 = new jl_String; var$22 = $var5.$buffer; var$28 = var$22.data; $par3 = $var5.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var40.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par4 = jl_String_indexOf($var40, 46, 0); if (($var40.$nativeString.length - $par4 | 0) > 6) $var40 = jl_String_substring($var40, 0, $par4 + 6 | 0); $par2 = $var19 >> 4; $par3 = $var19 & 15; $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1530)); $par4 = $var5.$length0; if ($var40 === null) $var40 = $rt_s(1); jl_AbstractStringBuilder_insert($var5, $par4, $var40); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1542)); jl_AbstractStringBuilder_insert0($var5, $var5.$length0, $var19, 10); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1543)); jl_AbstractStringBuilder_insert0($var5, $var5.$length0, $par2, 10); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1542)); jl_AbstractStringBuilder_insert0($var5, $var5.$length0, $par3, 10); $par2 = $var5.$length0; jl_AbstractStringBuilder_insertSpace($var5, $par2, $par2 + 1 | 0); var$22 = $var5.$buffer; var$28 = var$22.data; var$28[$par2] = $i; $info = new jl_String; $par3 = $var5.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $info.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par2 = 2; $par3 = 92; $par4 = 14737632; $ptr = 39; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 39: nms_Gui_drawString($this, $var8, $info, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$45 = $this.$mc3.$thePlayer.$posY; $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert4($var5, $var5.$length0, var$45); $var40 = new jl_String; var$22 = $var5.$buffer; var$28 = var$22.data; $par3 = $var5.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var40.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par4 = jl_String_indexOf($var40, 46, 0); if (($var40.$nativeString.length - $par4 | 0) > 6) $var40 = jl_String_substring($var40, 0, $par4 + 6 | 0); $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1544)); $par2 = $var5.$length0; if ($var40 === null) $var40 = $rt_s(1); jl_AbstractStringBuilder_insert($var5, $par2, $var40); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1542)); jl_AbstractStringBuilder_insert0($var5, $var5.$length0, $var46, 10); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1545)); $info = new jl_String; var$22 = $var5.$buffer; var$28 = var$22.data; $par3 = $var5.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $info.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par2 = 2; $par3 = 100; $par4 = 14737632; $ptr = 40; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 40: nms_Gui_drawString($this, $var8, $info, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$45 = $this.$mc3.$thePlayer.$posZ; $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert4($var5, $var5.$length0, var$45); $var40 = new jl_String; var$22 = $var5.$buffer; var$28 = var$22.data; $par3 = $var5.$length0; $par4 = var$28.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var40.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par4 = jl_String_indexOf($var40, 46, 0); if (($var40.$nativeString.length - $par4 | 0) > 6) $var40 = jl_String_substring($var40, 0, $par4 + 6 | 0); $par2 = $var15 >> 4; $par3 = $var15 & 15; $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1546)); $par4 = $var5.$length0; if ($var40 === null) $var40 = $rt_s(1); jl_AbstractStringBuilder_insert($var5, $par4, $var40); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(1542)); jl_AbstractStringBuilder_insert0($var5, $var5.$length0, $var15, 10); jl_AbstractStringBuilder_insert1($var5, $var5.$length0, $rt_s(1543)); jl_AbstractStringBuilder_append0($var5, $par2); jl_StringBuilder_append1(jl_StringBuilder_append0(jl_StringBuilder_append($var5, $rt_s(1542)), $par3), $i); $var5 = jl_StringBuilder_toString($var5); $par2 = 2; $par3 = 108; $par4 = 14737632; $ptr = 41; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 41: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par2 = nms_MathHelper_floor_double($this.$mc3.$thePlayer.$rotationYaw * 4.0 / 360.0 + 0.5) & 3; $var5 = nms_Direction_directions.data[$par2]; $var34 = nms_MathHelper_wrapAngleTo180_float($this.$mc3.$thePlayer.$rotationYaw); $info = jl_StringBuilder__init_(); jl_StringBuilder_append5(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append($info, $rt_s(1547)), $par2), $rt_s(1542)), $var5), $rt_s(1548)), $var34); $var5 = jl_StringBuilder_toString($info); $par2 = 2; $par3 = 116; $par4 = 14737632; $ptr = 42; case 42: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var5 = !$this.$mc3.$gameSettings.$showCoordinates ? $rt_s(1549) : $rt_s(1550); $info = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append($info, $rt_s(1551)), $var5), $rt_s(1552)); $var5 = jl_StringBuilder_toString($info); $par2 = 2; $par3 = 135; $par4 = (-1); $ptr = 43; case 43: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } if (nle_IntegratedServer_isWorldRunning()) { $var5 = $rt_s(1553); $par2 = 2; $par3 = 154; $par4 = 14737632; $ptr = 47; continue main; } $var5 = $rt_s(1554); $par2 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var5) | 0) - 2 | 0; $par3 = 26; $par4 = 14737632; $ptr = 44; case 44: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par2 = nleg_EaglerAdapterGL30_getDisplayListCount(); $par3 = nleg_EaglerAdapterGL30_getBitsPerSecond() / 1000000 | 0; $var5 = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append($var5, $rt_s(1555)), $par2), $rt_s(1556)), $par3), $rt_s(1557)); $var5 = jl_StringBuilder_toString($var5); $par2 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var5) | 0) - 2 | 0; $par3 = 36; $par4 = 14737632; $ptr = 45; case 45: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par2 = nleg_EaglerAdapterGL30_getVertexesPerSecond() / 1000 | 0; $par3 = nleg_EaglerAdapterGL30_getTrianglesPerSecond() / 1000 | 0; $var5 = jl_StringBuilder__init_(); jl_StringBuilder_append1(jl_StringBuilder_append0(jl_StringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append($var5, $rt_s(1558)), $par2), $rt_s(1559)), $par3), 107); $var5 = jl_StringBuilder_toString($var5); $par2 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var5) | 0) - 2 | 0; $par3 = 46; $par4 = 14737632; $ptr = 46; case 46: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var5 = !nleg_EaglerAdapterGL30_isWebGL ? $rt_s(1560) : $rt_s(1561); $info = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append($info, $rt_s(1562)), $var5); $var5 = jl_StringBuilder_toString($info); $par2 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var5) | 0) - 2 | 0; $par3 = 56; $par4 = 14737632; $ptr = 48; continue main; case 47: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $info = nle_IntegratedServer_getTPS(); $i = 0; $size = ju_LinkedList_size($info); if ($i >= $size) { $var5 = $rt_s(1554); $par2 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var5) | 0) - 2 | 0; $par3 = 26; $par4 = 14737632; $ptr = 44; continue main; } $var5 = ju_AbstractSequentialList_get($info, $i); $par2 = 2; $par3 = 173 + ($i * 9 | 0) | 0; $par4 = 14737632; $ptr = 53; continue main; case 48: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var5 = nlea_EaglerAdapterImpl2__wgetShaderHeader(); $info = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append($info, $rt_s(1563)), $var5), $rt_s(1564)); $var5 = jl_StringBuilder_toString($info); $par2 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var5) | 0) - 2 | 0; $par3 = 66; $par4 = 14737632; $ptr = 49; case 49: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var5 = $rt_s(1565); $par2 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var5) | 0) - 2 | 0; $par3 = 90; $par4 = 14737632; $ptr = 50; case 50: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var5 = $rt_s(1324); $par2 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var5) | 0) - 2 | 0; $par3 = 100; $par4 = 14737632; $ptr = 51; case 51: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var5 = $rt_s(594); $par2 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var5) | 0) - 2 | 0; $par3 = 110; $par4 = 14737632; $ptr = 52; case 52: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); $par2 = $this.$recordPlayingUpFor; if ($par2 > 0) { $var13 = ($par2 - $par1) * 255.0 / 20.0 | 0; if ($var13 > 255) $var13 = 255; if ($var13 > 8) { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glTranslatef($var17, $var7 - 68 | 0, 0.0); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $var5 = $this.$recordPlaying; $par2 = ( -nms_FontRenderer_getStringWidth($var8, $var5) | 0) / 2 | 0; $par3 = (-4); $par4 = 16777215 + ($var13 << 24 & (-16777216)) | 0; $ptr = 28; continue main; } } $var40 = nms_Scoreboard_func_96539_a(nms_World_getScoreboard($this.$mc3.$theWorld), 1); if ($var40 !== null) { $ptr = 23; continue main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glTranslatef(0.0, $var7 - 48 | 0, 0.0); $var5 = $this.$persistantChatGUI; $par2 = $this.$updateCounter; $ptr = 22; continue main; case 53: nms_Gui_drawString($this, $var8, $var5, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $i = $i + 1 | 0; if ($i >= $size) { $var5 = $rt_s(1554); $par2 = ($var6 - nms_FontRenderer_getStringWidth($var8, $var5) | 0) - 2 | 0; $par3 = 26; $par4 = 14737632; $ptr = 44; continue main; } $var5 = ju_AbstractSequentialList_get($info, $i); $par2 = 2; $par3 = 173 + ($i * 9 | 0) | 0; $par4 = 14737632; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $var5, $var8, $var6, $var7, $var34, $var9, $var10, $var31, $var17, $var11, $info, $var11_0, $var13, $var12, $var32, $var33, $var36, var$22, $var42, $var40, $var14, $var15, $i, var$28, $size, $var39, $var16, $var17_0, $var46, $var44, $var19, $var47, $var21, $var48, $var50, $var27, $var28, $var29, $var30, $var53, var$45, var$46, $ptr); }, nms_GuiIngame_func_96136_a = ($this, $par1ScoreObjective, $par2, $par3, $par4FontRenderer) => { let $var5, $var6, $var15, $var14, $var16, $var9, $var8$index, var$12, $var20, var$14, $var19, $var7, $var13$index, $var22, $var23, $var25, $var12, $var8$index_0, $var21, $var10, var$25, $var13$index_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var13$index_0 = $thread.pop();var$25 = $thread.pop();$var10 = $thread.pop();$var21 = $thread.pop();$var8$index_0 = $thread.pop();$var12 = $thread.pop();$var25 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var13$index = $thread.pop();$var7 = $thread.pop();$var19 = $thread.pop();var$14 = $thread.pop();$var20 = $thread.pop();var$12 = $thread.pop();$var8$index = $thread.pop();$var9 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var15 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4FontRenderer = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1ScoreObjective = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $par1ScoreObjective.$theScoreboard0; $var6 = new ju_ArrayList; $var6.$array = $rt_createArray(jl_Object, 10); $var15 = $var5.$field_96544_c; if ($var15.$cachedValues === null) { $var14 = new ju_HashMap$2; $var14.$this$01 = $var15; $var15.$cachedValues = $var14; } $var16 = $var15.$cachedValues.$iterator(); while ($var16.$hasNext()) { $var9 = $var16.$next(); if ($par1ScoreObjective === null) { $var14 = $var9.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var14 = $par1ScoreObjective; if (!$var14.$id$) $var14.$id$ = $rt_nextId(); $var8$index = $par1ScoreObjective.$id$; var$12 = $var9.$elementData.data; $var14 = var$12[$var8$index & (var$12.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var8$index) { $var15 = $var14.$key; if ($par1ScoreObjective !== $var15 && !($par1ScoreObjective !== $var15 ? 0 : 1) ? 0 : 1) break; } $var14 = $var14.$next3; } } $var14 = $var14 === null ? null : $var14.$value1; if ($var14 !== null) { ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); var$12 = $var6.$array.data; $var20 = $var6.$size0; $var6.$size0 = $var20 + 1 | 0; var$12[$var20] = $var14; $var6.$modCount = $var6.$modCount + 1 | 0; } } $var14 = nms_Score_field_96658_a; if ($var14 === null) $var14 = ju_Comparator$NaturalOrder_INSTANCE; var$12 = $rt_createArray(jl_Object, $var6.$size0); var$14 = var$12.data; ju_AbstractCollection_toArray($var6, var$12); ju_Arrays_sort(var$12, $var14); $var19 = 0; $var20 = var$14.length; while (true) { if ($var19 >= $var20) { a: { if ($var6.$size0 <= 15) { $var7 = nms_FontRenderer_getStringWidth($par4FontRenderer, $par1ScoreObjective.$displayName); $var8$index = 0; $var13$index = $var6.$modCount; $var22 = $var6.$size(); b: { while (true) { if (!($var8$index >= $var22 ? 0 : 1)) { $var23 = ($par2 / 2 | 0) + ($rt_imul($var6.$size0, $par4FontRenderer.$FONT_HEIGHT) / 3 | 0) | 0; $var25 = ($par3 - $var7 | 0) - 3 | 0; $var12 = 0; $var8$index_0 = $var6.$modCount; $var22 = $var6.$size(); $var20 = ($par3 - 3 | 0) + 2 | 0; $var8$index = $var25 - 2 | 0; if (!(0 >= $var22 ? 0 : 1)) break a; else { if ($var8$index_0 < $var6.$modCount) { $par1ScoreObjective = new ju_ConcurrentModificationException; $par1ScoreObjective.$suppressionEnabled = 1; $par1ScoreObjective.$writableStackTrace = 1; $rt_throw($par1ScoreObjective); } $var13$index = 0 + 1 | 0; $var14 = $var6.$get(0); $var12 = $var12 + 1 | 0; $var16 = $var14.$field_96654_d; $var15 = $var5.$teamMemberships; if ($var16 === null) { $var15 = $var15.$elementData.data[0]; while ($var15 !== null && $var15.$key !== null) { $var15 = $var15.$next3; } } else { c: { if (!$var16.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $var16.$nativeString.length) break c; $var16.$hashCode1 = (31 * $var16.$hashCode1 | 0) + $var16.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $var19 = $var16.$hashCode1; var$12 = $var15.$elementData.data; $var15 = var$12[$var19 & (var$12.length - 1 | 0)]; while ($var15 !== null) { if ($var15.$origKeyHash == $var19) { d: { $var21 = $var15.$key; if ($var16 !== $var21) { if ($var16 === $var21) $par2 = 1; else if (!($var21 instanceof jl_String)) $par2 = 0; else { $var21 = $var21; $par2 = $var16.$nativeString !== $var21.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break d; } } $par2 = 1; } if ($par2) break; } $var15 = $var15.$next3; } } $var15 = $var15 === null ? null : $var15.$value1; $var16 = $var14.$field_96654_d; if ($var15 !== null) { $var21 = $var15.$field_96674_e; $var15 = $var15.$colorSuffix; $var9 = new jl_StringBuilder; $var9.$buffer = $rt_createCharArray(16); $par2 = $var9.$length0; if ($var21 === null) $var21 = $rt_s(1); jl_AbstractStringBuilder_insert($var9, $par2, $var21); $par2 = $var9.$length0; if ($var16 === null) $var16 = $rt_s(1); jl_AbstractStringBuilder_insert($var9, $par2, $var16); $par2 = $var9.$length0; if ($var15 === null) $var15 = $rt_s(1); jl_AbstractStringBuilder_insert($var9, $par2, $var15); $var16 = new jl_String; var$12 = $var9.$buffer; var$14 = var$12.data; $var19 = $var9.$length0; $par2 = var$14.length; if ($var19 >= 0 && $var19 <= ($par2 - 0 | 0)) $var16.$nativeString = $rt_charArrayToString(var$12.data, 0, $var19); else { $par1ScoreObjective = new jl_IndexOutOfBoundsException; $par1ScoreObjective.$suppressionEnabled = 1; $par1ScoreObjective.$writableStackTrace = 1; $rt_throw($par1ScoreObjective); } } nms_EnumChatFormatting_$callClinit(); $var15 = nms_EnumChatFormatting_RED; $var15 = $var15 === null ? $rt_s(1) : $var15.$field_96304_B; $var19 = $var14.$field_96655_e; $var21 = new jl_StringBuilder; $var21.$buffer = $rt_createCharArray(16); $par2 = $var21.$length0; if ($var15 === null) $var15 = $rt_s(1); jl_AbstractStringBuilder_insert($var21, $par2, $var15); jl_AbstractStringBuilder_insert0($var21, $var21.$length0, $var19, 10); $var14 = new jl_String; var$12 = $var21.$buffer; var$14 = var$12.data; $par3 = $var21.$length0; $var19 = var$14.length; if ($par3 >= 0 && $par3 <= ($var19 - 0 | 0)) { $var14.$nativeString = $rt_charArrayToString(var$12.data, 0, $par3); $par2 = $par4FontRenderer.$FONT_HEIGHT; $var19 = $var23 - $rt_imul($var12, $par2) | 0; nms_Gui_drawRect($var8$index, $var19, $var20, $var19 + $par2 | 0, 1342177280); $par3 = 553648127; $par4FontRenderer.$randomStyle = 0; $par4FontRenderer.$boldStyle = 0; $par4FontRenderer.$italicStyle = 0; $par4FontRenderer.$underlineStyle = 0; $par4FontRenderer.$strikethroughStyle = 0; $par2 = 0; $ptr = 1; continue main; } $par1ScoreObjective = new jl_IndexOutOfBoundsException; $par1ScoreObjective.$suppressionEnabled = 1; $par1ScoreObjective.$writableStackTrace = 1; $rt_throw($par1ScoreObjective); } } if ($var13$index < $var6.$modCount) { $par1ScoreObjective = new ju_ConcurrentModificationException; $par1ScoreObjective.$suppressionEnabled = 1; $par1ScoreObjective.$writableStackTrace = 1; $rt_throw($par1ScoreObjective); } $var8$index_0 = $var8$index + 1 | 0; $var9 = $var6.$get($var8$index); $var10 = $var9.$field_96654_d; $var14 = $var5.$teamMemberships; if ($var10 === null) { $var16 = $var14.$elementData.data[0]; while ($var16 !== null && $var16.$key !== null) { $var16 = $var16.$next3; } } else { e: { if (!$var10.$hashCode1) { $var19 = 0; while (true) { if ($var19 >= $var10.$nativeString.length) break e; $var10.$hashCode1 = (31 * $var10.$hashCode1 | 0) + $var10.$nativeString.charCodeAt($var19) | 0; $var19 = $var19 + 1 | 0; } } } $var20 = $var10.$hashCode1; var$12 = $var14.$elementData.data; $var16 = var$12[$var20 & (var$12.length - 1 | 0)]; while ($var16 !== null) { if ($var16.$origKeyHash == $var20) { f: { $var14 = $var16.$key; if ($var10 !== $var14) { if ($var10 === $var14) $var19 = 1; else if (!($var14 instanceof jl_String)) $var19 = 0; else { $var14 = $var14; $var19 = $var10.$nativeString !== $var14.$nativeString ? 0 : 1; } if (!$var19) { $var19 = 0; break f; } } $var19 = 1; } if ($var19) break; } $var16 = $var16.$next3; } } $var10 = $var16 === null ? null : $var16.$value1; var$25 = $var9.$field_96654_d; if ($var10 !== null) { $var16 = $var10.$field_96674_e; $var15 = $var10.$colorSuffix; $var14 = new jl_StringBuilder; $var14.$buffer = $rt_createCharArray(16); $var19 = $var14.$length0; if ($var16 === null) $var16 = $rt_s(1); jl_AbstractStringBuilder_insert($var14, $var19, $var16); $var19 = $var14.$length0; if (var$25 === null) var$25 = $rt_s(1); jl_AbstractStringBuilder_insert($var14, $var19, var$25); $var19 = $var14.$length0; if ($var15 === null) $var15 = $rt_s(1); jl_AbstractStringBuilder_insert($var14, $var19, $var15); var$25 = new jl_String; var$12 = $var14.$buffer; var$14 = var$12.data; $var20 = $var14.$length0; $var8$index = var$14.length; if ($var20 < 0) break b; if ($var20 > ($var8$index - 0 | 0)) break b; var$25.$nativeString = $rt_charArrayToString(var$12.data, 0, $var20); } nms_EnumChatFormatting_$callClinit(); $var14 = nms_EnumChatFormatting_RED; $var15 = $var14 === null ? $rt_s(1) : $var14.$field_96304_B; $var19 = $var9.$field_96655_e; $var14 = new jl_StringBuilder; $var14.$buffer = $rt_createCharArray(16); $var20 = $var14.$length0; if (var$25 === null) var$25 = $rt_s(1); jl_AbstractStringBuilder_insert($var14, $var20, var$25); jl_AbstractStringBuilder_insert($var14, $var14.$length0, $rt_s(107)); $var20 = $var14.$length0; if ($var15 === null) $var15 = $rt_s(1); jl_AbstractStringBuilder_insert($var14, $var20, $var15); jl_AbstractStringBuilder_insert0($var14, $var14.$length0, $var19, 10); $var15 = new jl_String; var$12 = $var14.$buffer; var$14 = var$12.data; $var20 = $var14.$length0; $var8$index = var$14.length; if ($var20 < 0) break; if ($var20 > ($var8$index - 0 | 0)) break; $var15.$nativeString = $rt_charArrayToString(var$12.data, 0, $var20); $var19 = nms_FontRenderer_getStringWidth($par4FontRenderer, $var15); if ($var7 > $var19) $var19 = $var7; $var7 = $var19; $var8$index = $var8$index_0; } $par1ScoreObjective = new jl_IndexOutOfBoundsException; $par1ScoreObjective.$suppressionEnabled = 1; $par1ScoreObjective.$writableStackTrace = 1; $rt_throw($par1ScoreObjective); } $par1ScoreObjective = new jl_IndexOutOfBoundsException; $par1ScoreObjective.$suppressionEnabled = 1; $par1ScoreObjective.$writableStackTrace = 1; $rt_throw($par1ScoreObjective); } } return; } $var14 = var$14[$var19]; if ($var19 < 0) break; if ($var19 >= $var6.$size0) break; $var6.$array.data[$var19] = $var14; $var19 = $var19 + 1 | 0; } $par1ScoreObjective = new jl_IndexOutOfBoundsException; $par1ScoreObjective.$suppressionEnabled = 1; $par1ScoreObjective.$writableStackTrace = 1; $rt_throw($par1ScoreObjective); case 1: nms_FontRenderer_renderString($par4FontRenderer, $var16, $var25, $var19, $par3, $par2); if ($rt_suspending()) { break main; } $par2 = $var20 - nms_FontRenderer_getStringWidth($par4FontRenderer, $var14) | 0; $par3 = 553648127; $par4FontRenderer.$randomStyle = 0; $par4FontRenderer.$boldStyle = 0; $par4FontRenderer.$italicStyle = 0; $par4FontRenderer.$underlineStyle = 0; $par4FontRenderer.$strikethroughStyle = 0; $var13$index_0 = 0; $ptr = 2; case 2: nms_FontRenderer_renderString($par4FontRenderer, $var14, $par2, $var19, $par3, $var13$index_0); if ($rt_suspending()) { break main; } if ($var12 == $var6.$size0) { $var21 = $par1ScoreObjective.$displayName; $par2 = ($var19 - $par4FontRenderer.$FONT_HEIGHT | 0) - 1 | 0; $par3 = $var19 - 1 | 0; nms_Gui_drawRect($var8$index, $par2, $var20, $par3, 1610612736); nms_Gui_drawRect($var8$index, $par3, $var20, $var19, 1342177280); $par2 = ($var25 + ($var7 / 2 | 0) | 0) - (nms_FontRenderer_getStringWidth($par4FontRenderer, $var21) / 2 | 0) | 0; $par3 = $var19 - $par4FontRenderer.$FONT_HEIGHT | 0; $var19 = 553648127; $par4FontRenderer.$randomStyle = 0; $par4FontRenderer.$boldStyle = 0; $par4FontRenderer.$italicStyle = 0; $par4FontRenderer.$underlineStyle = 0; $par4FontRenderer.$strikethroughStyle = 0; $var13$index_0 = 0; $ptr = 3; continue main; } $var13$index_0 = $var13$index; if (!($var13$index_0 >= $var22 ? 0 : 1)) return; if ($var8$index_0 < $var6.$modCount) { $par1ScoreObjective = new ju_ConcurrentModificationException; $par1ScoreObjective.$suppressionEnabled = 1; $par1ScoreObjective.$writableStackTrace = 1; $rt_throw($par1ScoreObjective); } $var13$index = $var13$index_0 + 1 | 0; $var14 = $var6.$get($var13$index_0); $var12 = $var12 + 1 | 0; $var16 = $var14.$field_96654_d; $var15 = $var5.$teamMemberships; if ($var16 === null) { $var15 = $var15.$elementData.data[0]; while ($var15 !== null && $var15.$key !== null) { $var15 = $var15.$next3; } } else { g: { if (!$var16.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $var16.$nativeString.length) break g; $var16.$hashCode1 = (31 * $var16.$hashCode1 | 0) + $var16.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $var19 = $var16.$hashCode1; var$12 = $var15.$elementData.data; $var15 = var$12[$var19 & (var$12.length - 1 | 0)]; while ($var15 !== null) { if ($var15.$origKeyHash == $var19) { h: { $var21 = $var15.$key; if ($var16 !== $var21) { if ($var16 === $var21) $par2 = 1; else if (!($var21 instanceof jl_String)) $par2 = 0; else { $var21 = $var21; $par2 = $var16.$nativeString !== $var21.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break h; } } $par2 = 1; } if ($par2) break; } $var15 = $var15.$next3; } } $var15 = $var15 === null ? null : $var15.$value1; $var16 = $var14.$field_96654_d; if ($var15 !== null) { $var21 = $var15.$field_96674_e; $var15 = $var15.$colorSuffix; $var9 = new jl_StringBuilder; $var9.$buffer = $rt_createCharArray(16); $par2 = $var9.$length0; if ($var21 === null) $var21 = $rt_s(1); jl_AbstractStringBuilder_insert($var9, $par2, $var21); $par2 = $var9.$length0; if ($var16 === null) $var16 = $rt_s(1); jl_AbstractStringBuilder_insert($var9, $par2, $var16); $par2 = $var9.$length0; if ($var15 === null) $var15 = $rt_s(1); jl_AbstractStringBuilder_insert($var9, $par2, $var15); $var16 = new jl_String; var$12 = $var9.$buffer; var$14 = var$12.data; $var19 = $var9.$length0; $par2 = var$14.length; if ($var19 >= 0 && $var19 <= ($par2 - 0 | 0)) $var16.$nativeString = $rt_charArrayToString(var$12.data, 0, $var19); else { $par1ScoreObjective = new jl_IndexOutOfBoundsException; $par1ScoreObjective.$suppressionEnabled = 1; $par1ScoreObjective.$writableStackTrace = 1; $rt_throw($par1ScoreObjective); } } nms_EnumChatFormatting_$callClinit(); $var15 = nms_EnumChatFormatting_RED; $var15 = $var15 === null ? $rt_s(1) : $var15.$field_96304_B; $var19 = $var14.$field_96655_e; $var21 = new jl_StringBuilder; $var21.$buffer = $rt_createCharArray(16); $par2 = $var21.$length0; if ($var15 === null) $var15 = $rt_s(1); jl_AbstractStringBuilder_insert($var21, $par2, $var15); jl_AbstractStringBuilder_insert0($var21, $var21.$length0, $var19, 10); $var14 = new jl_String; var$12 = $var21.$buffer; var$14 = var$12.data; $par3 = $var21.$length0; $var19 = var$14.length; if ($par3 >= 0 && $par3 <= ($var19 - 0 | 0)) { $var14.$nativeString = $rt_charArrayToString(var$12.data, 0, $par3); $par2 = $par4FontRenderer.$FONT_HEIGHT; $var19 = $var23 - $rt_imul($var12, $par2) | 0; nms_Gui_drawRect($var8$index, $var19, $var20, $var19 + $par2 | 0, 1342177280); $par3 = 553648127; $par4FontRenderer.$randomStyle = 0; $par4FontRenderer.$boldStyle = 0; $par4FontRenderer.$italicStyle = 0; $par4FontRenderer.$underlineStyle = 0; $par4FontRenderer.$strikethroughStyle = 0; $par2 = 0; $ptr = 1; continue main; } $par1ScoreObjective = new jl_IndexOutOfBoundsException; $par1ScoreObjective.$suppressionEnabled = 1; $par1ScoreObjective.$writableStackTrace = 1; $rt_throw($par1ScoreObjective); case 3: nms_FontRenderer_renderString($par4FontRenderer, $var21, $par2, $par3, $var19, $var13$index_0); if ($rt_suspending()) { break main; } $var13$index_0 = $var13$index; if (!($var13$index_0 >= $var22 ? 0 : 1)) return; if ($var8$index_0 < $var6.$modCount) { $par1ScoreObjective = new ju_ConcurrentModificationException; $par1ScoreObjective.$suppressionEnabled = 1; $par1ScoreObjective.$writableStackTrace = 1; $rt_throw($par1ScoreObjective); } $var13$index = $var13$index_0 + 1 | 0; $var14 = $var6.$get($var13$index_0); $var12 = $var12 + 1 | 0; $var16 = $var14.$field_96654_d; $var15 = $var5.$teamMemberships; if ($var16 === null) { $var15 = $var15.$elementData.data[0]; while ($var15 !== null && $var15.$key !== null) { $var15 = $var15.$next3; } } else { i: { if (!$var16.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $var16.$nativeString.length) break i; $var16.$hashCode1 = (31 * $var16.$hashCode1 | 0) + $var16.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $var19 = $var16.$hashCode1; var$12 = $var15.$elementData.data; $var15 = var$12[$var19 & (var$12.length - 1 | 0)]; while ($var15 !== null) { if ($var15.$origKeyHash == $var19) { j: { $var21 = $var15.$key; if ($var16 !== $var21) { if ($var16 === $var21) $par2 = 1; else if (!($var21 instanceof jl_String)) $par2 = 0; else { $var21 = $var21; $par2 = $var16.$nativeString !== $var21.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break j; } } $par2 = 1; } if ($par2) break; } $var15 = $var15.$next3; } } $var15 = $var15 === null ? null : $var15.$value1; $var16 = $var14.$field_96654_d; if ($var15 !== null) { $var21 = $var15.$field_96674_e; $var15 = $var15.$colorSuffix; $var9 = new jl_StringBuilder; $var9.$buffer = $rt_createCharArray(16); $par2 = $var9.$length0; if ($var21 === null) $var21 = $rt_s(1); jl_AbstractStringBuilder_insert($var9, $par2, $var21); $par2 = $var9.$length0; if ($var16 === null) $var16 = $rt_s(1); jl_AbstractStringBuilder_insert($var9, $par2, $var16); $par2 = $var9.$length0; if ($var15 === null) $var15 = $rt_s(1); jl_AbstractStringBuilder_insert($var9, $par2, $var15); $var16 = new jl_String; var$12 = $var9.$buffer; var$14 = var$12.data; $var19 = $var9.$length0; $par2 = var$14.length; if ($var19 >= 0 && $var19 <= ($par2 - 0 | 0)) $var16.$nativeString = $rt_charArrayToString(var$12.data, 0, $var19); else { $par1ScoreObjective = new jl_IndexOutOfBoundsException; $par1ScoreObjective.$suppressionEnabled = 1; $par1ScoreObjective.$writableStackTrace = 1; $rt_throw($par1ScoreObjective); } } nms_EnumChatFormatting_$callClinit(); $var15 = nms_EnumChatFormatting_RED; $var15 = $var15 === null ? $rt_s(1) : $var15.$field_96304_B; $var19 = $var14.$field_96655_e; $var21 = new jl_StringBuilder; $var21.$buffer = $rt_createCharArray(16); $par2 = $var21.$length0; if ($var15 === null) $var15 = $rt_s(1); jl_AbstractStringBuilder_insert($var21, $par2, $var15); jl_AbstractStringBuilder_insert0($var21, $var21.$length0, $var19, 10); $var14 = new jl_String; var$12 = $var21.$buffer; var$14 = var$12.data; $par3 = $var21.$length0; $var19 = var$14.length; if ($par3 >= 0 && $par3 <= ($var19 - 0 | 0)) { $var14.$nativeString = $rt_charArrayToString(var$12.data, 0, $par3); $par2 = $par4FontRenderer.$FONT_HEIGHT; $var19 = $var23 - $rt_imul($var12, $par2) | 0; nms_Gui_drawRect($var8$index, $var19, $var20, $var19 + $par2 | 0, 1342177280); $par3 = 553648127; $par4FontRenderer.$randomStyle = 0; $par4FontRenderer.$boldStyle = 0; $par4FontRenderer.$italicStyle = 0; $par4FontRenderer.$underlineStyle = 0; $par4FontRenderer.$strikethroughStyle = 0; $par2 = 0; $ptr = 1; continue main; } $par1ScoreObjective = new jl_IndexOutOfBoundsException; $par1ScoreObjective.$suppressionEnabled = 1; $par1ScoreObjective.$writableStackTrace = 1; $rt_throw($par1ScoreObjective); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ScoreObjective, $par2, $par3, $par4FontRenderer, $var5, $var6, $var15, $var14, $var16, $var9, $var8$index, var$12, $var20, var$14, $var19, $var7, $var13$index, $var22, $var23, $var25, $var12, $var8$index_0, $var21, $var10, var$25, $var13$index_0, $ptr); }, nms_GuiIngame_func_110327_a = ($this, $par1, $par2) => { let $var10, $var25, $var3, $var38, $var4, $var5, $var8, $var11, $var12, $var13, $var14, $var15, var$15, var$16, $var16, $var17, $var17_0, $var18, $var20, $var21, $var22, $var23, $var27, $var35, $var23_0, $var24, $var26, var$30, $var28, $var34, $var36, var$34, $var37, $var39, $var29, $var30, $var33, var$40; $var10 = $this.$mc3.$thePlayer; $var25 = $var10.$hurtResistantTime; $var3 = (($var25 / 3 | 0) % 2 | 0) != 1 ? 0 : 1; if ($var25 < 10) $var3 = 0; $var38 = nms_EntityLivingBase_getHealth($var10); $var4 = $var38 | 0; if ($var38 > $var4) $var4 = $var4 + 1 | 0; $var10 = $this.$mc3.$thePlayer; $var38 = $var10.$prevHealth; $var5 = $var38 | 0; if ($var38 > $var5) $var5 = $var5 + 1 | 0; $this.$rand5.$seed = Long_fromInt($rt_imul($this.$updateCounter, 312871)); $var8 = $var10.$foodStats.$foodLevel; $var10 = nms_EntityLivingBase_getEntityAttribute($var10, nms_SharedMonsterAttributes_maxHealth); $par1 = $par1 / 2 | 0; $var11 = $par1 - 91 | 0; $var12 = $par1 + 91 | 0; $var13 = $par2 - 39 | 0; if ($var10.$field_111133_g) { $var10.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var10); $var10.$field_111133_g = 0; } $var14 = $var10.$field_111139_h; $var15 = nms_EntityPlayer_getAbsorptionAmount($this.$mc3.$thePlayer); var$15 = ($var14 + $var15) / 2.0; var$16 = var$15 / 10.0; $var16 = var$16 | 0; if (var$16 > $var16) $var16 = $var16 + 1 | 0; $var17 = 10 - ($var16 - 2 | 0) | 0; $var17_0 = 3; if ($var17 > $var17_0) $var17_0 = $var17; $var18 = ($var13 - $rt_imul($var16 - 1 | 0, $var17_0) | 0) - 10 | 0; $var20 = nms_InventoryPlayer_getTotalArmorValue($this.$mc3.$thePlayer.$inventory); $var21 = (-1); $var10 = $this.$mc3.$thePlayer; nms_Potion_$callClinit(); if (nms_EntityLivingBase_isPotionActive($var10, nms_Potion_regeneration)) { $par1 = $this.$updateCounter; $var38 = $var14 + 5.0; $par2 = $var38 | 0; if ($var38 > $par2) $par2 = $par2 + 1 | 0; $var21 = $par1 % $par2 | 0; } $var22 = 0; while ($var22 < 10) { if ($var20 > 0) { $var23 = $var11 + ($var22 * 8 | 0) | 0; $var27 = $rt_compare(($var22 * 2 | 0) + 1 | 0, $var20); if ($var27 < 0) nms_Gui_drawTexturedModalRect($this, $var23, $var18, 34, 9, 9, 9); if (!$var27) nms_Gui_drawTexturedModalRect($this, $var23, $var18, 25, 9, 9, 9); if ($var27 > 0) nms_Gui_drawTexturedModalRect($this, $var23, $var18, 16, 9, 9, 9); } $var22 = $var22 + 1 | 0; } $par1 = var$15 | 0; if (var$15 > $par1) $par1 = $par1 + 1 | 0; $var22 = $par1 - 1 | 0; $var35 = $rt_compare($var4, 4); $var16 = $rt_compare($var15 % 2.0, 1.0); var$15 = $var15; while ($var22 >= 0) { $var23_0 = 16; if (nms_EntityLivingBase_isPotionActive($this.$mc3.$thePlayer, nms_Potion_poison)) $var23_0 = 52; else if (nms_EntityLivingBase_isPotionActive($this.$mc3.$thePlayer, nms_Potion_wither)) $var23_0 = 88; $var24 = 0; if ($var3) $var24 = 1; $var14 = ($var22 + 1 | 0) / 10.0; $par1 = $var14 | 0; if ($var14 > $par1) $par1 = $par1 + 1 | 0; $var25 = $par1 - 1 | 0; $var26 = $var11 + (($var22 % 10 | 0) * 8 | 0) | 0; $var27 = $var13 - $rt_imul($var25, $var17_0) | 0; if ($var35 <= 0) { $var10 = $this.$rand5; var$30 = Long_and(Long_add(Long_mul($var10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var10.$seed = var$30; $var27 = $var27 + Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$30, 17)))), 31)) | 0; } if ($var22 == $var21) $var27 = $var27 + (-2) | 0; $var28 = 0; if ($this.$mc3.$theWorld.$worldInfo.$hardcore) $var28 = 5; $par1 = 16 + ($var24 * 9 | 0) | 0; $par2 = 9 * $var28 | 0; nms_Gui_drawTexturedModalRect($this, $var26, $var27, $par1, $par2, 9, 9); if ($var3) { $par1 = $rt_compare(($var22 * 2 | 0) + 1 | 0, $var5); if ($par1 < 0) nms_Gui_drawTexturedModalRect($this, $var26, $var27, $var23_0 + 54 | 0, $par2, 9, 9); if (!$par1) nms_Gui_drawTexturedModalRect($this, $var26, $var27, $var23_0 + 63 | 0, $par2, 9, 9); } if (var$15 > 0.0) { if (var$15 === $var15 && !$var16) nms_Gui_drawTexturedModalRect($this, $var26, $var27, $var23_0 + 153 | 0, $par2, 9, 9); else nms_Gui_drawTexturedModalRect($this, $var26, $var27, $var23_0 + 144 | 0, $par2, 9, 9); var$15 = var$15 - 2.0; } else { $par1 = $rt_compare(($var22 * 2 | 0) + 1 | 0, $var4); if ($par1 < 0) nms_Gui_drawTexturedModalRect($this, $var26, $var27, $var23_0 + 36 | 0, $par2, 9, 9); if (!$par1) nms_Gui_drawTexturedModalRect($this, $var26, $var27, $var23_0 + 45 | 0, $par2, 9, 9); } $var22 = $var22 + (-1) | 0; } a: { $var34 = $this.$mc3.$thePlayer.$ridingEntity; if ($var34 === null) { $var23_0 = 0; $var17_0 = ($var8 * 3 | 0) + 1 | 0; while (true) { if ($var23_0 >= 10) break a; $var25 = 16; $var36 = 0; if (nms_EntityLivingBase_isPotionActive($this.$mc3.$thePlayer, nms_Potion_hunger)) { $var25 = 52; $var36 = 13; } if ($this.$mc3.$thePlayer.$foodStats.$foodSaturationLevel > 0.0) $par2 = $var13; else if ($this.$updateCounter % $var17_0 | 0) $par2 = $var13; else { $var10 = $this.$rand5; var$34 = Long_and(Long_add(Long_mul($var10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var10.$seed = var$34; $par2 = Long_lo(Long_shru(var$34, 17)); while (true) { $var11 = $par2 % 3 | 0; if ((($par2 - $var11 | 0) + 2 | 0) >= 0) break; var$34 = Long_and(Long_add(Long_mul($var10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var10.$seed = var$34; $par2 = Long_lo(Long_shru(var$34, 17)); } $par2 = $var13 + ($var11 - 1 | 0) | 0; } $var27 = ($var12 - ($var23_0 * 8 | 0) | 0) - 9 | 0; nms_Gui_drawTexturedModalRect($this, $var27, $par2, 16 + ($var36 * 9 | 0) | 0, 27, 9, 9); $var11 = $rt_compare(($var23_0 * 2 | 0) + 1 | 0, $var8); if ($var11 < 0) nms_Gui_drawTexturedModalRect($this, $var27, $par2, $var25 + 36 | 0, 27, 9, 9); if (!$var11) nms_Gui_drawTexturedModalRect($this, $var27, $par2, $var25 + 45 | 0, 27, 9, 9); $var23_0 = $var23_0 + 1 | 0; } } if ($var34 instanceof nms_EntityLivingBase) { $var37 = $var34; $var35 = jl_Math_ceil(nms_EntityLivingBase_getHealth($var37)) | 0; $var10 = nms_EntityLivingBase_getEntityAttribute($var37, nms_SharedMonsterAttributes_maxHealth); if ($var10.$field_111133_g) { $var10.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var10); $var10.$field_111133_g = 0; } $var26 = ($var10.$field_111139_h + 0.5 | 0) / 2 | 0; if ($var26 > 30) $var26 = 30; $var39 = 0; while (true) { if ($var26 <= 0) break a; $var29 = 10; if ($var26 < $var29) $var29 = $var26; $var26 = $var26 - $var29 | 0; $var30 = 0; while ($var30 < $var29) { $var33 = ($var12 - ($var30 * 8 | 0) | 0) - 9 | 0; nms_Gui_drawTexturedModalRect($this, $var33, $var13, 52, 9, 9, 9); $par1 = $rt_compare((($var30 * 2 | 0) + 1 | 0) + $var39 | 0, $var35); if ($par1 < 0) nms_Gui_drawTexturedModalRect($this, $var33, $var13, 88, 9, 9, 9); if (!$par1) nms_Gui_drawTexturedModalRect($this, $var33, $var13, 97, 9, 9, 9); $var30 = $var30 + 1 | 0; } $var13 = $var13 + (-10) | 0; $var39 = $var39 + 20 | 0; } } } b: { $var10 = $this.$mc3.$thePlayer; nms_Material_$callClinit(); if (nms_Entity_isInsideOfMaterial($var10, nms_Material_water)) { $var23 = nms_Entity_getAir($this.$mc3.$thePlayer); var$40 = ($var23 - 2 | 0) * 10.0 / 300.0; $var35 = var$40 | 0; if (var$40 > $var35) $var35 = $var35 + 1 | 0; var$40 = $var23 * 10.0 / 300.0; $par2 = var$40 | 0; if (var$40 > $par2) $par2 = $par2 + 1 | 0; $var25 = $par2 - $var35 | 0; $var26 = 0; $par1 = $var35 + $var25 | 0; while (true) { if ($var26 >= $par1) break b; if ($var26 >= $var35) nms_Gui_drawTexturedModalRect($this, ($var12 - ($var26 * 8 | 0) | 0) - 9 | 0, $var18, 25, 18, 9, 9); else nms_Gui_drawTexturedModalRect($this, ($var12 - ($var26 * 8 | 0) | 0) - 9 | 0, $var18, 16, 18, 9, 9); $var26 = $var26 + 1 | 0; } } } }, nms_GuiIngame_renderBossHealth = $this => { let $var4, $var8, $var1, $var3, $var5, $var6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$var8 = $thread.pop();$var4 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nms_BossStatus_bossName !== null) { $var4 = nms_BossStatus_statusBarLength; if ($var4 > 0) { nms_BossStatus_statusBarLength = $var4 - 1 | 0; $var8 = $this.$mc3; $var1 = $var8.$fontRenderer0; $var3 = (nms_ScaledResolution__init_($var8.$gameSettings, $var8.$displayWidth, $var8.$displayHeight)).$scaledWidth / 2 | 0; $var5 = $var3 - 91 | 0; $var6 = nms_BossStatus_healthScale * 183.0 | 0; nms_Gui_drawTexturedModalRect($this, $var5, 12, 0, 74, 182, 5); nms_Gui_drawTexturedModalRect($this, $var5, 12, 0, 74, 182, 5); if ($var6 > 0) nms_Gui_drawTexturedModalRect($this, $var5, 12, 0, 79, $var6, 5); $var8 = nms_BossStatus_bossName; var$7 = $var3 - (nms_FontRenderer_getStringWidth($var1, $var8) / 2 | 0) | 0; $var4 = 2; $var3 = 16777215; $var1.$randomStyle = 0; $var1.$boldStyle = 0; $var1.$italicStyle = 0; $var1.$underlineStyle = 0; $var1.$strikethroughStyle = 0; $var5 = var$7 + 1 | 0; var$8 = 3; $var6 = 1; $ptr = 1; continue main; } } return; case 1: $tmp = nms_FontRenderer_renderString($var1, $var8, $var5, var$8, $var3, $var6); if ($rt_suspending()) { break main; } var$8 = $tmp; $var5 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($var1, $var8, var$7, $var4, $var3, $var5); if ($rt_suspending()) { break main; } var$7 = $tmp; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var8 = nms_Gui_icons; $ptr = 3; case 3: nle_TextureLocation_bindTexture($var8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var4, $var8, $var1, $var3, $var5, $var6, var$7, var$8, $ptr); }, nms_GuiIngame_renderPumpkinBlur = ($this, $par1, $par2) => { let $var3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glDisable(2929); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(3008); nms_GuiIngame_$callClinit(); $var3 = nms_GuiIngame_pumpkinBlurTexPath; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var3); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var3 = nlea_Tessellator_instance; if ($var3.$isDrawing) nlea_Tessellator_draw($var3); $var3.$isDrawing = 1; $var3.$vertexCount = 0; $var3.$rawBufferIndex = 0; $var3.$addedVertices = 0; $var3.$drawMode = 7; $var3.$hasNormals = 0; $var3.$hasColor = 0; $var3.$hasTexture = 0; $var3.$hasBrightness = 0; $var3.$isColorDisabled = 0; var$4 = $par2; $var3.$hasTexture = 1; $var3.$textureU = 0.0; $var3.$textureV = 1.0; nlea_Tessellator_addVertex($var3, 0.0, var$4, (-90.0)); var$5 = $par1; $var3.$hasTexture = 1; $var3.$textureU = 1.0; $var3.$textureV = 1.0; nlea_Tessellator_addVertex($var3, var$5, var$4, (-90.0)); $var3.$hasTexture = 1; $var3.$textureU = 1.0; $var3.$textureV = 0.0; nlea_Tessellator_addVertex($var3, var$5, 0.0, (-90.0)); $var3.$hasTexture = 1; $var3.$textureU = 0.0; $var3.$textureV = 0.0; nlea_Tessellator_addVertex($var3, 0.0, 0.0, (-90.0)); nlea_Tessellator_draw($var3); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, var$5, $ptr); }, nms_GuiIngame_renderVignette = ($this, $par1, $par2, $par3) => { let var$4, $var4, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1 = 1.0 - $par1; if ($par1 < 0.0) $par1 = 0.0; if ($par1 > 1.0) $par1 = 1.0; var$4 = $this.$prevVignetteBrightness; $this.$prevVignetteBrightness = var$4 + ($par1 - var$4) * 0.01; nleg_EaglerAdapterGL30_glDisable(2929); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glBlendFunc(0, 769); $par1 = $this.$prevVignetteBrightness; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par1; nleg_EaglerAdapterGL30_colorG = $par1; nleg_EaglerAdapterGL30_colorB = $par1; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiIngame_$callClinit(); $var4 = nms_GuiIngame_vignetteTexPath; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var4); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var4 = nlea_Tessellator_instance; if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; var$6 = $par3; $var4.$hasTexture = 1; $var4.$textureU = 0.0; $var4.$textureV = 1.0; nlea_Tessellator_addVertex($var4, 0.0, var$6, (-90.0)); var$7 = $par2; $var4.$hasTexture = 1; $var4.$textureU = 1.0; $var4.$textureV = 1.0; nlea_Tessellator_addVertex($var4, var$7, var$6, (-90.0)); $var4.$hasTexture = 1; $var4.$textureU = 1.0; $var4.$textureV = 0.0; nlea_Tessellator_addVertex($var4, var$7, 0.0, (-90.0)); $var4.$hasTexture = 1; $var4.$textureU = 0.0; $var4.$textureV = 0.0; nlea_Tessellator_addVertex($var4, 0.0, 0.0, (-90.0)); nlea_Tessellator_draw($var4); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glBlendFunc(770, 771); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, var$6, var$7, $ptr); }, nms_GuiIngame_renderPortalOverlay = ($this, $par1, $par2, $par3) => { let var$4, $var9, $var5, $var6, $var7, $var8, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var9 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 < 1.0) { $par1 = $par1 * $par1; $par1 = $par1 * $par1 * 0.800000011920929 + 0.20000000298023224; } nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glDisable(2929); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = $par1; nms_Block_$callClinit(); var$4 = nms_Block_portal.$blockIcon; nms_TextureMap_$callClinit(); $var9 = nms_TextureMap_locationBlocksTexture; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var9); if ($rt_suspending()) { break main; } $var5 = var$4.$getMinU(); $var6 = var$4.$getMinV(); $var7 = var$4.$getMaxU(); $var8 = var$4.$getMaxV(); nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; var$10 = $par3; var$11 = $var5; var$12 = $var8; $var9.$hasTexture = 1; $par1 = var$11; $var9.$textureU = $par1; $var5 = var$12; $var9.$textureV = $var5; nlea_Tessellator_addVertex($var9, 0.0, var$10, (-90.0)); var$13 = $par2; var$11 = $var7; $var9.$hasTexture = 1; $var7 = var$11; $var9.$textureU = $var7; $var9.$textureV = $var5; nlea_Tessellator_addVertex($var9, var$13, var$10, (-90.0)); var$11 = $var6; $var9.$hasTexture = 1; $var9.$textureU = $var7; $var5 = var$11; $var9.$textureV = $var5; nlea_Tessellator_addVertex($var9, var$13, 0.0, (-90.0)); $var9.$hasTexture = 1; $var9.$textureU = $par1; $var9.$textureV = $var5; nlea_Tessellator_addVertex($var9, 0.0, 0.0, (-90.0)); nlea_Tessellator_draw($var9); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var9, $var5, $var6, $var7, $var8, var$10, var$11, var$12, var$13, $ptr); }, nms_GuiIngame_renderInventorySlot = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $this.$mc3.$thePlayer.$inventory.$mainInventory.data[$par1]; if ($var5 === null) return; $var6 = $var5.$animationsToGo - $par4; $par1 = $rt_compare($var6, 0.0); if ($par1 > 0) { nleg_EaglerAdapterGL30_glPushMatrix(); $var7 = 1.0 + $var6 / 5.0; var$8 = $par2 + 8 | 0; $par4 = var$8; var$9 = $par3 + 12 | 0; $var6 = var$9; var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = $par4; var$10.$y = $var6; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$12 = 1.0 / $var7; $par4 = ($var7 + 1.0) / 2.0; var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = var$12; var$10.$y = $par4; var$10.$z = 1.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par4 = -var$8 | 0; $var6 = -var$9 | 0; var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = $par4; var$10.$y = $var6; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nms_GuiIngame_$callClinit(); var$11 = nms_GuiIngame_itemRenderer; var$10 = $this.$mc3; var$13 = var$10.$fontRenderer0; var$10 = var$10.$renderEngine; $ptr = 1; case 1: nms_RenderItem_renderItemAndEffectIntoGUI(var$11, var$13, var$10, $var5, $par2, $par3); if ($rt_suspending()) { break main; } if ($par1 > 0) nleg_EaglerAdapterGL30_glPopMatrix(); var$10 = nms_GuiIngame_itemRenderer; var$11 = $this.$mc3; var$13 = var$11.$fontRenderer0; var$14 = var$11.$renderEngine; var$11 = null; $ptr = 2; case 2: nms_RenderItem_renderItemOverlayIntoGUI(var$10, var$13, var$14, $var5, $par2, $par3, var$11); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $var5, $var6, $var7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_GuiIngame_updateTick = $this => { let var$1, var$2, var$3, $var1; var$1 = $this.$recordPlayingUpFor; if (var$1 > 0) $this.$recordPlayingUpFor = var$1 - 1 | 0; $this.$updateCounter = $this.$updateCounter + 1 | 0; var$2 = $this.$mc3.$thePlayer; if (var$2 !== null) { var$2 = var$2.$inventory; var$3 = var$2.$currentItem; $var1 = var$3 < 9 && var$3 >= 0 ? var$2.$mainInventory.data[var$3] : null; a: { if ($var1 === null) $this.$remainingHighlightTicks = 0; else { b: { var$2 = $this.$highlightingItemStack; if (var$2 !== null && $var1.$itemID == var$2.$itemID && nms_ItemStack_areItemStackTagsEqual($var1, var$2)) { nms_Item_$callClinit(); if (nms_Item_itemsList.data[$var1.$itemID].$maxDamage <= 0 ? 0 : 1) break b; if ($var1.$itemDamage == $this.$highlightingItemStack.$itemDamage) break b; } $this.$remainingHighlightTicks = 40; break a; } var$1 = $this.$remainingHighlightTicks; if (var$1 > 0) $this.$remainingHighlightTicks = var$1 - 1 | 0; } } $this.$highlightingItemStack = $var1; } }, nms_GuiIngame__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1566); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiIngame_vignetteTexPath = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1567); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiIngame_widgetsTexPath = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1568); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiIngame_pumpkinBlurTexPath = var$1; nms_GuiIngame_itemRenderer = nms_RenderItem__init_(); }; function nms_StringTranslate() { let a = this; jl_Object.call(a); a.$translateTable = null; a.$languageList0 = null; a.$field_94521_d = null; a.$currentLanguage = null; a.$isUnicode = 0; } let nms_StringTranslate_instance = null, nms_StringTranslate_$callClinit = () => { nms_StringTranslate_$callClinit = $rt_eraseClinit(nms_StringTranslate); nms_StringTranslate__clinit_(); }, nms_StringTranslate_loadLanguage = ($this, $par1Properties, $par2Str) => { let var$3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var5, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();var$3 = $thread.pop();$par2Str = $thread.pop();$par1Properties = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = nms_Minecraft_theMinecraft.$texturePackList.$selectedTexturePack; $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var4, $var4.$length0, $rt_s(1569)); var$5 = $var4.$length0; if ($par2Str === null) $par2Str = $rt_s(1); jl_AbstractStringBuilder_insert($var4, var$5, $par2Str); jl_AbstractStringBuilder_insert($var4, $var4.$length0, $rt_s(1570)); $par2Str = new jl_String; var$6 = $var4.$buffer; var$7 = var$6.data; var$8 = $var4.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $par2Str.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $ptr = 1; continue main; } $par1Properties = new jl_IndexOutOfBoundsException; $par1Properties.$suppressionEnabled = 1; $par1Properties.$writableStackTrace = 1; $rt_throw($par1Properties); case 1: $tmp = var$3.$getResourceAsBytes($par2Str); if ($rt_suspending()) { break main; } var$6 = $tmp; if (var$6 === null) $par2Str = $rt_s(18); else { var$7 = var$6.data; $par2Str = new jl_String; jnc_StandardCharsets_$callClinit(); $var4 = jnc_StandardCharsets_UTF_8; var$8 = var$7.length; if (var$8 >= 0 && var$8 <= (var$8 - 0 | 0)) { var$10 = new jn_ByteBufferImpl; var$11 = 0 + var$8 | 0; var$10.$mark = (-1); var$10.$capacity = var$8; var$10.$limit0 = var$8; var$10.$order = jn_ByteOrder_BIG_ENDIAN; var$10.$start = 0; var$10.$array0 = var$6; var$10.$position0 = 0; var$10.$limit0 = var$11; var$10.$direct = 0; var$10.$readOnly0 = 0; a: { try { $var4 = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(jnci_UTF8Charset_newDecoder($var4), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$10); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $par2Str = $$je; } else { throw $$e; } } $var4 = new jl_AssertionError; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $var4.$message = $rt_s(405); $var4.$cause = $par2Str; $rt_throw($var4); } var$9 = $var4.$position0; if (!var$9 && $var4.$limit0 == $var4.$capacity) var$6 = $var4.$array1; else { var$6 = $rt_createCharArray($var4.$limit0 - var$9 | 0); jn_CharBuffer_get($var4, var$6, 0, var$6.data.length); } $par2Str.$nativeString = $rt_fullArrayToString(var$6.data); } else { $par1Properties = new jl_IndexOutOfBoundsException; $par1Properties.$suppressionEnabled = 1; $par1Properties.$writableStackTrace = 1; $rt_throw($par1Properties); } } var$6 = $rt_createCharArray($par2Str.$nativeString.length); var$7 = var$6.data; var$9 = 0; b: { while (true) { if (var$9 >= $par2Str.$nativeString.length) { var$10 = new jl_String; var$10.$nativeString = ""; var$10.$nativeString = $rt_fullArrayToString(var$6.data); var$12 = jur_Matcher__init_(jur_Pattern_compile($rt_s(1571), 0), var$10); $par2Str = new jl_StringBuffer; $par2Str.$buffer = $rt_createCharArray(16); var$12.$leftBound0 = 0; var$13 = var$12.$string.$nativeString.length; var$12.$rightBound0 = var$13; var$10 = var$12.$matchResult; var$3 = var$12.$string; var$5 = var$12.$leftBound0; var$10.$valid = 0; var$10.$mode0 = 2; var$6 = var$10.$groupBounds.data; var$9 = 0; $var5 = var$6.length; if (var$9 > $var5) { $par1Properties = new jl_IllegalArgumentException; $par1Properties.$suppressionEnabled = 1; $par1Properties.$writableStackTrace = 1; $rt_throw($par1Properties); } while (var$9 < $var5) { var$11 = var$9 + 1 | 0; var$6[var$9] = (-1); var$9 = var$11; } var$6 = var$10.$consumers.data; var$9 = 0; $var5 = var$6.length; if (var$9 > $var5) { $par1Properties = new jl_IllegalArgumentException; $par1Properties.$suppressionEnabled = 1; $par1Properties.$writableStackTrace = 1; $rt_throw($par1Properties); } while (var$9 < $var5) { var$11 = var$9 + 1 | 0; var$6[var$9] = (-1); var$9 = var$11; } if (var$3 !== null) var$10.$string1 = var$3; if (var$5 >= 0) { var$10.$leftBound = var$5; var$10.$rightBound = var$13; } var$10.$startIndex = var$10.$leftBound; var$12.$appendPos = 0; var$12.$replacement = null; var$10.$previousMatch = (-1); while (true) { if (!jur_Matcher_find(var$12)) { $var4 = var$12.$string; $var4 = jl_String_substring($var4, var$12.$appendPos, $var4.$nativeString.length); var$9 = $var4.$nativeString.length; jl_AbstractStringBuilder_insert3($par2Str, $par2Str.$length0, $var4, 0, var$9); $var4 = new jl_String; var$6 = $par2Str.$buffer; var$7 = var$6.data; var$8 = $par2Str.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); var$6 = (jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), $var4, 0)).data; var$8 = var$6.length; var$9 = 0; while (var$9 < var$8) { $par2Str = jl_String_trim(var$6[var$9]); var$5 = $par2Str.$nativeString.length ? 0 : 1; if (!var$5 && !($par2Str === $rt_s(1402) ? 1 : jl_String_startsWith($par2Str, $rt_s(1402), 0))) { $var5 = jl_String_indexOf($par2Str, 61, 0); if ($var5 != (-1)) ju_Hashtable_put($par1Properties, jl_String_substring($par2Str, 0, $var5), jl_String_substring($par2Str, $var5 + 1 | 0, $par2Str.$nativeString.length)); } var$9 = var$9 + 1 | 0; } return; } $par1Properties = new jl_IndexOutOfBoundsException; $par1Properties.$suppressionEnabled = 1; $par1Properties.$writableStackTrace = 1; $rt_throw($par1Properties); } var$12.$processedRepl = jur_Matcher_processReplacement(var$12, $rt_s(469)); var$10 = var$12.$string; var$8 = var$12.$appendPos; var$3 = var$12.$matchResult; if (!var$3.$valid) { $par1Properties = new jl_IllegalStateException; $par1Properties.$suppressionEnabled = 1; $par1Properties.$writableStackTrace = 1; $rt_throw($par1Properties); } if (0 >= var$3.$groupCount) { $par1Properties = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($par1Properties, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($par1Properties); } var$10 = jl_String_substring(var$10, var$8, var$3.$groupBounds.data[0]); var$8 = var$10.$nativeString.length; jl_AbstractStringBuilder_insert3($par2Str, $par2Str.$length0, var$10, 0, var$8); var$10 = var$12.$processedRepl; jl_AbstractStringBuilder_insert($par2Str, $par2Str.$length0, var$10); var$10 = var$12.$matchResult; if (!var$10.$valid) { $par1Properties = new jl_IllegalStateException; $par1Properties.$suppressionEnabled = 1; $par1Properties.$writableStackTrace = 1; $rt_throw($par1Properties); } if (0 >= var$10.$groupCount) break; var$12.$appendPos = var$10.$groupBounds.data[1]; } $par1Properties = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($par1Properties, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($par1Properties); } if (var$9 < 0) break b; if (var$9 >= $par2Str.$nativeString.length) break b; if ($par2Str.$nativeString.charCodeAt(var$9) == 13) $var5 = 10; else { if (var$9 < 0) break; if (var$9 >= $par2Str.$nativeString.length) break; $var5 = $par2Str.$nativeString.charCodeAt(var$9); } var$7[var$9] = $var5; var$9 = var$9 + 1 | 0; } $par1Properties = new jl_StringIndexOutOfBoundsException; $par1Properties.$suppressionEnabled = 1; $par1Properties.$writableStackTrace = 1; $rt_throw($par1Properties); } $par1Properties = new jl_StringIndexOutOfBoundsException; $par1Properties.$suppressionEnabled = 1; $par1Properties.$writableStackTrace = 1; $rt_throw($par1Properties); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Properties, $par2Str, var$3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var5, $ptr); }, nms_StringTranslate_setLanguage = ($this, $par1Str, $par2) => { let var$3, $var3, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } try { main: while (true) { switch ($ptr) { case 0: jl_Object_monitorEnter($this); if ($rt_suspending()) { break main; } a: { if (!$par2) { var$3 = $this.$currentLanguage; if ($par1Str === var$3) $par2 = 1; else if (!(var$3 instanceof jl_String)) $par2 = 0; else { var$3 = var$3; $par2 = $par1Str.$nativeString !== var$3.$nativeString ? 0 : 1; } if ($par2) break a; } $var3 = new ju_Properties; ju_Hashtable__init_($var3, 11); try { var$3 = $rt_s(1055); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } $this.$isUnicode = 0; $this.$currentLanguage = $par1Str; $this.$translateTable = $var3; } return; case 1: a: { try { nms_StringTranslate_loadLanguage($this, $var3, var$3); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $this.$isUnicode = 0; $this.$currentLanguage = $par1Str; $this.$translateTable = $var3; return; default: $rt_invalidPointer(); }} } finally { if (!$rt_suspending()) { jl_Object_monitorExit($this); } } $rt_nativeThread().push($this, $par1Str, $par2, var$3, $var3, $ptr); }, nms_StringTranslate_translateKey = ($this, $par1Str) => { let var$2, var$3; jl_Object_monitorEnterSync($this); try { var$2 = $this.$translateTable; var$3 = ju_Hashtable_get(var$2, $par1Str); var$3 = !(var$3 instanceof jl_String) ? null : var$3; if (var$3 === null) { var$2 = var$2.$defaults; if (var$2 !== null) var$3 = var$2.$getProperty($par1Str); } if (var$3 === null) var$3 = $par1Str; return var$3; } finally { jl_Object_monitorExitSync($this); } }, nms_StringTranslate_translateKeyFormat = ($this, $var3, $par2ArrayOfObj) => { let var$3, $var3_0, var$5, var$6, var$7, var$8, $$je; jl_Object_monitorEnterSync($this); try { var$3 = $this.$translateTable; $var3_0 = ju_Hashtable_get(var$3, $var3); $var3_0 = !($var3_0 instanceof jl_String) ? null : $var3_0; if ($var3_0 === null) { var$3 = var$3.$defaults; if (var$3 !== null) $var3_0 = var$3.$getProperty($var3); } if ($var3_0 === null) $var3_0 = $var3; a: { try { $var3 = jl_String_format($var3_0, $par2ArrayOfObj); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ju_IllegalFormatException) { break a; } else { throw $$e; } } return $var3; } $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $rt_s(1572)); var$5 = $var3.$length0; if ($var3_0 === null) $var3_0 = $rt_s(1); jl_AbstractStringBuilder_insert($var3, var$5, $var3_0); var$3 = new jl_String; $par2ArrayOfObj = $var3.$buffer; var$6 = $par2ArrayOfObj.data; var$7 = $var3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString($par2ArrayOfObj.data, 0, var$7); return var$3; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } finally { jl_Object_monitorExitSync($this); } }, nms_StringTranslate__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; var$1 = new nms_StringTranslate; nms_StringTranslate_$callClinit(); var$2 = new ju_Properties; ju_Hashtable__init_(var$2, 11); var$1.$translateTable = var$2; var$2 = new ju_TreeMap; var$2.$originalComparator = null; var$3 = ju_Comparator$NaturalOrder_INSTANCE; var$2.$comparator = var$3; var$1.$field_94521_d = var$2; var$2 = new ju_TreeMap; var$2.$originalComparator = null; var$2.$comparator = var$3; var$1.$languageList0 = var$2; var$4 = var$2.$root; if (var$4 === null) { var$4 = new ju_TreeMap$TreeNode; var$3 = null; var$4.$key0 = $rt_s(1055); var$4.$value4 = var$3; var$4.$height1 = 1; var$4.$size1 = 1; } else { a: { var$3 = var$4.$key0; var$5 = $rt_s(1055); var$3 = var$3; if (var$5 === var$3) var$6 = 0; else { var$7 = var$5.$nativeString.length; var$8 = var$3.$nativeString.length; if (var$7 < var$8) var$8 = var$7; var$7 = 0; b: { while (true) { if (var$7 >= var$8) { var$6 = var$5.$nativeString.length - var$3.$nativeString.length | 0; break a; } if (var$7 < 0) break b; if (var$7 >= var$5.$nativeString.length) break b; var$9 = var$5.$nativeString.charCodeAt(var$7); if (var$7 < 0) break; if (var$7 >= var$3.$nativeString.length) break; var$6 = var$9 - var$3.$nativeString.charCodeAt(var$7) | 0; if (var$6) break a; var$7 = var$7 + 1 | 0; } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } } if (var$6) { if (var$6 >= 0) { var$10 = var$4.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$3 = null; var$10.$key0 = $rt_s(1055); var$10.$value4 = var$3; var$10.$height1 = 1; var$10.$size1 = 1; } else { c: { var$3 = var$10.$key0; if (var$5 === var$3) var$6 = 0; else { var$7 = jl_Math_min(jl_String_length(var$5), jl_String_length(var$3)); var$9 = 0; while (true) { if (var$9 >= var$7) { var$6 = jl_String_length(var$5) - jl_String_length(var$3) | 0; break c; } var$6 = jl_String_charAt(var$5, var$9) - jl_String_charAt(var$3, var$9) | 0; if (var$6) break; var$9 = var$9 + 1 | 0; } } } if (var$6) { if (var$6 >= 0) { var$3 = var$10.$right; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$3); var$3.$key0 = $rt_s(1055); var$3.$value4 = var$11; var$3.$height1 = 1; var$3.$size1 = 1; } else { var$6 = jl_String_compareTo0(var$5, var$3.$key0); if (var$6) { if (var$6 >= 0) { var$12 = var$3.$right; if (var$12 === null) { var$12 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$12, $rt_s(1055), null); var$12.$height1 = 1; var$12.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$12.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$12.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$2, var$11.$right, $rt_s(1055)); else var$11.$left = ju_TreeMap_getOrCreateNode(var$2, var$11.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$12.$right = var$11; } else { var$11 = var$12.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$2, var$11.$right, $rt_s(1055)); else var$11.$left = ju_TreeMap_getOrCreateNode(var$2, var$11.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$12.$left = var$11; } ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$3.$right = var$12; } else { var$13 = var$3.$left; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$13, $rt_s(1055), null); var$13.$height1 = 1; var$13.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$13.$key0); if (var$6) { if (var$6 >= 0) { var$12 = var$13.$right; if (var$12 === null) var$12 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$6) { if (var$6 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$2, var$12.$right, $rt_s(1055)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$2, var$12.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$13.$right = var$12; } else { var$12 = var$13.$left; if (var$12 === null) var$12 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$6) { if (var$6 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$2, var$12.$right, $rt_s(1055)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$2, var$12.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$13.$left = var$12; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$3.$left = var$13; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$10.$right = var$3; } else { var$13 = var$10.$left; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; var$3 = null; jl_Object__init_(var$13); var$13.$key0 = $rt_s(1055); var$13.$value4 = var$3; var$13.$height1 = 1; var$13.$size1 = 1; } else { var$6 = jl_String_compareTo0(var$5, var$13.$key0); if (var$6) { if (var$6 >= 0) { var$12 = var$13.$right; if (var$12 === null) { var$12 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$12, $rt_s(1055), null); var$12.$height1 = 1; var$12.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$12.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$12.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode(var$2, var$5.$right, $rt_s(1055)); else var$5.$left = ju_TreeMap_getOrCreateNode(var$2, var$5.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$12.$right = var$5; } else { var$11 = var$12.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$2, var$11.$right, $rt_s(1055)); else var$11.$left = ju_TreeMap_getOrCreateNode(var$2, var$11.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$12.$left = var$11; } ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$13.$right = var$12; } else { var$3 = var$13.$left; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$3, $rt_s(1055), null); var$3.$height1 = 1; var$3.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$3.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$3.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$2, var$11.$right, $rt_s(1055)); else var$11.$left = ju_TreeMap_getOrCreateNode(var$2, var$11.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$3.$right = var$11; } else { var$11 = var$3.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$2, var$11.$right, $rt_s(1055)); else var$11.$left = ju_TreeMap_getOrCreateNode(var$2, var$11.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$3.$left = var$11; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$13.$left = var$3; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$10.$left = var$13; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$4.$right = var$10; } else { var$10 = var$4.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$3 = null; var$10.$key0 = $rt_s(1055); var$10.$value4 = var$3; var$10.$height1 = 1; var$10.$size1 = 1; } else { d: { var$3 = var$10.$key0; if (var$5 === var$3) var$6 = 0; else { var$7 = jl_Math_min(jl_String_length(var$5), jl_String_length(var$3)); var$9 = 0; while (true) { if (var$9 >= var$7) { var$6 = jl_String_length(var$5) - jl_String_length(var$3) | 0; break d; } var$6 = jl_String_charAt(var$5, var$9) - jl_String_charAt(var$3, var$9) | 0; if (var$6) break; var$9 = var$9 + 1 | 0; } } } if (var$6) { if (var$6 >= 0) { var$12 = var$10.$right; if (var$12 === null) { var$12 = new ju_TreeMap$TreeNode; var$3 = null; jl_Object__init_(var$12); var$12.$key0 = $rt_s(1055); var$12.$value4 = var$3; var$12.$height1 = 1; var$12.$size1 = 1; } else { var$6 = jl_String_compareTo0(var$5, var$12.$key0); if (var$6) { if (var$6 >= 0) { var$3 = var$12.$right; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$3, $rt_s(1055), null); var$3.$height1 = 1; var$3.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$3.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$3.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$2, var$11.$right, $rt_s(1055)); else var$11.$left = ju_TreeMap_getOrCreateNode(var$2, var$11.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$3.$right = var$11; } else { var$11 = var$3.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$2, var$11.$right, $rt_s(1055)); else var$11.$left = ju_TreeMap_getOrCreateNode(var$2, var$11.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$3.$left = var$11; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$12.$right = var$3; } else { var$3 = var$12.$left; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$3, $rt_s(1055), null); var$3.$height1 = 1; var$3.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$3.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$3.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$2, var$11.$right, $rt_s(1055)); else var$11.$left = ju_TreeMap_getOrCreateNode(var$2, var$11.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$3.$right = var$11; } else { var$11 = var$3.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$2, var$11.$right, $rt_s(1055)); else var$11.$left = ju_TreeMap_getOrCreateNode(var$2, var$11.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$3.$left = var$11; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$12.$left = var$3; } ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$10.$right = var$12; } else { var$13 = var$10.$left; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; var$3 = null; jl_Object__init_(var$13); var$13.$key0 = $rt_s(1055); var$13.$value4 = var$3; var$13.$height1 = 1; var$13.$size1 = 1; } else { var$6 = jl_String_compareTo0(var$5, var$13.$key0); if (var$6) { if (var$6 >= 0) { var$12 = var$13.$right; if (var$12 === null) { var$12 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$12, $rt_s(1055), null); var$12.$height1 = 1; var$12.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$12.$key0); if (var$6) { if (var$6 >= 0) { var$3 = var$12.$right; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$6) { if (var$6 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$2, var$3.$right, $rt_s(1055)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$2, var$3.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$12.$right = var$3; } else { var$3 = var$12.$left; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$6) { if (var$6 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$2, var$3.$right, $rt_s(1055)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$2, var$3.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$12.$left = var$3; } ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$13.$right = var$12; } else { var$11 = var$13.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(1055), null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode(var$2, var$5.$right, $rt_s(1055)); else var$5.$left = ju_TreeMap_getOrCreateNode(var$2, var$5.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$3 = var$11.$left; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1055)); else { var$6 = ju_Comparator$NaturalOrder_compare(var$2.$comparator, $rt_s(1055), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$6) { if (var$6 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$2, var$3.$right, $rt_s(1055)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$2, var$3.$left, $rt_s(1055)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$11.$left = var$3; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$13.$left = var$11; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$10.$left = var$13; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$4.$left = var$10; } ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } e: { var$2.$root = var$4; var$3 = $rt_s(1055); var$14 = $rt_s(1055); if (var$3 !== var$14) { var$7 = var$3.$nativeString.length; var$8 = var$14.$nativeString.length; if (var$7 < var$8) var$8 = var$7; var$6 = 0; f: { while (true) { if (var$6 >= var$8) { var$3.$nativeString.length; var$14.$nativeString.length; break e; } if (var$6 < 0) break f; if (var$6 >= var$3.$nativeString.length) break f; var$9 = var$3.$nativeString.charCodeAt(var$6); if (var$6 < 0) break; if (var$6 >= var$14.$nativeString.length) break; if (var$9 - var$14.$nativeString.charCodeAt(var$6) | 0) break e; var$6 = var$6 + 1 | 0; } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } } var$14 = $rt_s(1055); g: { h: { i: while (true) { if (var$4 === null) { var$4 = null; break g; } j: { var$3 = var$4.$key0; if (var$14 === var$3) var$6 = 0; else { var$7 = var$14.$nativeString.length; var$8 = var$3.$nativeString.length; if (var$7 < var$8) var$8 = var$7; var$7 = 0; while (true) { if (var$7 >= var$8) { var$6 = var$14.$nativeString.length - var$3.$nativeString.length | 0; break j; } if (var$7 < 0) break h; if (var$7 >= var$14.$nativeString.length) break h; var$9 = var$14.$nativeString.charCodeAt(var$7); if (var$7 < 0) break i; if (var$7 >= var$3.$nativeString.length) break i; var$6 = var$9 - var$3.$nativeString.charCodeAt(var$7) | 0; if (var$6) break; var$7 = var$7 + 1 | 0; } } } if (!var$6) break g; var$4 = var$6 >= 0 ? var$4.$right : var$4.$left; } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } var$4.$value4 = $rt_s(1573); var$4.$value4 = $rt_s(1573); var$2.$modCount2 = var$2.$modCount2 + 1 | 0; nms_StringTranslate_instance = var$1; }; function nms_GuiMainMenu() { let a = this; nms_GuiScreen.call(a); a.$splashText = null; a.$start6 = Long_ZERO; a.$field_96141_q = 0; a.$field_104025_t = null; a.$field_92025_p = null; a.$field_92024_r = 0; a.$field_92023_s = 0; a.$field_92022_t = 0; a.$field_92021_u = 0; a.$field_92020_v = 0; a.$field_92019_w = 0; a.$scrollPosition = 0; a.$dragstart = 0; a.$dragstartI = 0; a.$ackLines = null; a.$showAck = 0; a.$mousex1 = 0; a.$mousey1 = 0; } let nms_GuiMainMenu_rand = null, nms_GuiMainMenu_showingEndian = 0, nms_GuiMainMenu_showRandomItem = 0, nms_GuiMainMenu_viewportTexture = 0, nms_GuiMainMenu_field_96140_r = 0, nms_GuiMainMenu_field_96139_s = 0, nms_GuiMainMenu_titlePanoramaPaths = null, nms_GuiMainMenu_mclogo = null, nms_GuiMainMenu_eag = null, nms_GuiMainMenu_ackbk = null, nms_GuiMainMenu_beaconx = null, nms_GuiMainMenu_items = null, nms_GuiMainMenu_$callClinit = () => { nms_GuiMainMenu_$callClinit = $rt_eraseClinit(nms_GuiMainMenu); nms_GuiMainMenu__clinit_(); }, nms_GuiMainMenu__init_0 = $this => { let $lst, var$2, var$3, $rand$seed, var$5, var$6, var$7, var$8, var$9, var$10; nms_GuiMainMenu_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $lst = new ju_ArrayList; $lst.$array = $rt_createArray(jl_Object, 10); $this.$buttonList = $lst; $this.$allowUserInput = 0; $this.$selectedButton = null; $this.$eventButton = 0; $this.$field_85043_c = Long_ZERO; $this.$field_92018_d = 0; $this.$splashText = null; $this.$field_96141_q = 1; $this.$field_104025_t = new jl_Object; $this.$scrollPosition = 0; $this.$dragstart = (-1); $this.$dragstartI = (-1); $this.$showAck = 0; $this.$mousex1 = 0; $this.$mousey1 = 0; $lst = nle_ConfigConstants_splashTexts; if ($lst !== null) { if ($lst.$size() <= 0) $this.$splashText = $rt_s(1574); else { var$2 = Long_fromNumber(performance.now() * 1000000.0); var$3 = $lst.$size(); $rand$seed = Long_and(Long_add(Long_mul(var$2, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5 = Long_lo(Long_shru($rand$seed, 17)); var$6 = var$3 - 1 | 0; if (!(var$3 & var$6)) var$7 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$3), Long_fromInt(var$5)), 31)); else while (true) { var$7 = var$5 % var$3 | 0; if (((var$5 - var$7 | 0) + var$6 | 0) >= 0) break; $rand$seed = Long_and(Long_add(Long_mul($rand$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5 = Long_lo(Long_shru($rand$seed, 17)); } $this.$splashText = $lst.$get(var$7); } } if (nle_EnumBrowser_getBrowser() !== nle_EnumBrowser_DESKTOP) $this.$field_92025_p = $rt_s(1575); else $this.$field_92025_p = $rt_s(1576); a: { nlea_EaglerAdapterImpl2_$callClinit(); var$2 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$start6 = var$2; $this.$start6 = Long_add(var$2, Long_rem(var$2, Long_fromInt(10000))); $lst = new ju_ArrayList; $lst.$array = $rt_createArray(jl_Object, 10); $this.$ackLines = $lst; $lst = nle_LocalStorageManager_gameSettingsStorage; var$8 = $lst.$tagMap; if (!$rt_s(1577).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1577).$nativeString.length) break a; $rt_s(1577).$hashCode1 = (31 * $rt_s(1577).$hashCode1 | 0) + $rt_s(1577).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(1577).$hashCode1; var$9 = var$8.$elementData.data; var$8 = var$9[var$7 & (var$9.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$7) { b: { var$10 = var$8.$key; if ($rt_s(1577) !== var$10) { if ($rt_s(1577) === var$10) var$3 = 1; else if (!(var$10 instanceof jl_String)) var$3 = 0; else { var$10 = var$10; var$3 = $rt_s(1577).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$8 = var$8.$next3; } if (!(var$8 === null ? 0 : 1)) var$3 = 0; else { $lst = $lst.$tagMap; if ($rt_s(1577) === null) { $lst = $lst.$elementData.data[0]; while ($lst !== null && $lst.$key !== null) { $lst = $lst.$next3; } } else { c: { if (!$rt_s(1577).$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $rt_s(1577).$nativeString.length) break c; $rt_s(1577).$hashCode1 = (31 * $rt_s(1577).$hashCode1 | 0) + $rt_s(1577).$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$7 = $rt_s(1577).$hashCode1; var$9 = $lst.$elementData.data; $lst = var$9[var$7 & (var$9.length - 1 | 0)]; while ($lst !== null) { if ($lst.$origKeyHash == var$7) { d: { var$8 = $lst.$key; if ($rt_s(1577) !== var$8) { if ($rt_s(1577) === var$8) var$3 = 1; else if (!(var$8 instanceof jl_String)) var$3 = 0; else { var$8 = var$8; var$3 = $rt_s(1577).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } $lst = $lst.$next3; } } var$3 = ($lst === null ? null : $lst.$value1).$data; } if (!(!var$3 ? 0 : 1)) $this.$showAck = 1; }, nms_GuiMainMenu__init_ = () => { let var_0 = new nms_GuiMainMenu(); nms_GuiMainMenu__init_0(var_0); return var_0; }, nms_GuiMainMenu_doesGuiPauseGame = $this => { return 0; }, nms_GuiMainMenu_handleMouseInput = $this => { let $var1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_handleMouseInput($this); if ($rt_suspending()) { break main; } if ($this.$showAck) { $var1 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var1 < 0) $this.$scrollPosition = $this.$scrollPosition + 3 | 0; if ($var1 > 0) $this.$scrollPosition = $this.$scrollPosition - 3 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $ptr); }, nms_GuiMainMenu_keyTyped = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, $$je; if ($par2 == 1) { a: { var$3 = nle_LocalStorageManager_gameSettingsStorage; var$4 = var$3.$tagMap; if (!$rt_s(1577).$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $rt_s(1577).$nativeString.length) break a; $rt_s(1577).$hashCode1 = (31 * $rt_s(1577).$hashCode1 | 0) + $rt_s(1577).$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } $par1 = $rt_s(1577).$hashCode1; var$5 = var$4.$elementData.data; var$4 = var$5[$par1 & (var$5.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $par1) { b: { var$6 = var$4.$key; if ($rt_s(1577) !== var$6) { if ($rt_s(1577) === var$6) $par2 = 1; else if (!(var$6 instanceof jl_String)) $par2 = 0; else { var$6 = var$6; $par2 = $rt_s(1577).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break b; } } $par2 = 1; } if ($par2) break; } var$4 = var$4.$next3; } if (!(var$4 === null ? 0 : 1)) $par1 = 0; else { var$3 = var$3.$tagMap; if ($rt_s(1577) === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { c: { if (!$rt_s(1577).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1577).$nativeString.length) break c; $rt_s(1577).$hashCode1 = (31 * $rt_s(1577).$hashCode1 | 0) + $rt_s(1577).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par1 = $rt_s(1577).$hashCode1; var$5 = var$3.$elementData.data; var$3 = var$5[$par1 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $par1) { d: { var$4 = var$3.$key; if ($rt_s(1577) !== var$4) { if ($rt_s(1577) === var$4) $par2 = 1; else if (!(var$4 instanceof jl_String)) $par2 = 0; else { var$4 = var$4; $par2 = $rt_s(1577).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break d; } } $par2 = 1; } if ($par2) break; } var$3 = var$3.$next3; } } $par1 = (var$3 === null ? null : var$3.$value1).$data; } if (!(!$par1 ? 0 : 1)) { var$4 = nle_LocalStorageManager_gameSettingsStorage.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1577); var$3.$data = 1; ju_HashMap_putImpl(var$4, $rt_s(1577), var$3); e: { try { nlea_EaglerAdapterImpl2_saveLocalStorage($rt_s(185), nms_CompressedStreamTools_writeUncompressed(nle_LocalStorageManager_gameSettingsStorage)); break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } } $this.$showAck = 0; } }, nms_GuiMainMenu_initGui = $this => { let $file, $s, $s2, $var2, var$5, $var4, $width, var$8, var$9, $var6, var$11, var$12, var$13, $currentLine, $s3, var$16, var$17, var$18, var$19, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$s3 = $thread.pop();$currentLine = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var6 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$width = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();$s2 = $thread.pop();$s = $thread.pop();$file = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_GuiMainMenu_$callClinit(); if (nms_GuiMainMenu_viewportTexture == (-1)) { $file = $this.$mc.$renderEngine; nleg_EaglerAdapterGL30_$callClinit(); $s = nleg_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); $s2 = new nlea_EaglerAdapterImpl2$TextureGL; $var2 = nlea_EaglerAdapterImpl2_webgl.createTexture(); $s2.$w1 = (-1); $s2.$h0 = (-1); $s2.$nearest = 1; $s2.$anisotropic = 0; $s2.$obj1 = $var2; var$5 = nleg_GLObjectMap_register($s, $s2); if (var$5 != $file.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, var$5); $file.$boundTexture = var$5; } $s = $file.$imageData; jn_Buffer_position($s, 0); jn_Buffer_limit($s, 65536); nleg_EaglerAdapterGL30_glTexImage2D_2(3553, 0, 6408, 256, 256, 0, 32993, 33639, $file.$imageData); nms_GuiMainMenu_viewportTexture = var$5; } nms_StringTranslate_$callClinit(); $var2 = nms_StringTranslate_instance; $var4 = ($this.$height / 4 | 0) + 48 | 0; $s = $this.$buttonList; $s2 = new nms_GuiButton; $width = ($this.$width / 2 | 0) - 100 | 0; $file = nms_StringTranslate_translateKey($var2, $rt_s(1578)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); $s2.$width0 = 200; $s2.$height0 = 20; $s2.$enabled = 1; $s2.$drawButton0 = 1; $s2.$id0 = 2; $s2.$xPosition = $width; $s2.$yPosition = $var4; $s2.$width0 = 200; $s2.$height0 = 20; $s2.$displayString = $file; ju_ArrayList_ensureCapacity($s, $s.$size0 + 1 | 0); var$8 = $s.$array.data; $width = $s.$size0; $s.$size0 = $width + 1 | 0; var$8[$width] = $s2; $s.$modCount = $s.$modCount + 1 | 0; $file = $this.$buttonList; $s = new nms_GuiButton; $width = ($this.$width / 2 | 0) - 100 | 0; var$9 = $var4 + 24 | 0; $s2 = nms_StringTranslate_translateKey($var2, $rt_s(1579)); $s.$width0 = 200; $s.$height0 = 20; $s.$enabled = 1; $s.$drawButton0 = 1; $s.$id0 = 3; $s.$xPosition = $width; $s.$yPosition = var$9; $s.$width0 = 200; $s.$height0 = 20; $s.$displayString = $s2; ju_ArrayList_ensureCapacity($file, $file.$size0 + 1 | 0); var$8 = $file.$array.data; $width = $file.$size0; $file.$size0 = $width + 1 | 0; var$8[$width] = $s; $file.$modCount = $file.$modCount + 1 | 0; $s = $this.$buttonList; $width = $s.$size0; $var6 = $width - 1 | 0; if ($var6 >= 0 && $var6 < $width) { $s.$array.data[$var6].$enabled = 0; $s2 = new nms_GuiButton; $width = ($this.$width / 2 | 0) - 100 | 0; $var4 = ($var4 + 72 | 0) + 12 | 0; $file = nms_StringTranslate_translateKey($var2, $rt_s(1580)); $s2.$width0 = 200; $s2.$height0 = 20; $s2.$enabled = 1; $s2.$drawButton0 = 1; $s2.$id0 = 0; $s2.$xPosition = $width; $s2.$yPosition = $var4; $s2.$width0 = 98; $s2.$height0 = 20; $s2.$displayString = $file; ju_ArrayList_ensureCapacity($s, $s.$size0 + 1 | 0); var$8 = $s.$array.data; $width = $s.$size0; $s.$size0 = $width + 1 | 0; var$8[$width] = $s2; $s.$modCount = $s.$modCount + 1 | 0; $file = $this.$buttonList; $s = new nms_GuiButton; var$9 = ($this.$width / 2 | 0) + 2 | 0; $s2 = nms_StringTranslate_translateKey($var2, $rt_s(1581)); $s.$width0 = 200; $s.$height0 = 20; $s.$enabled = 1; $s.$drawButton0 = 1; $s.$id0 = 4; $s.$xPosition = var$9; $s.$yPosition = $var4; $s.$width0 = 98; $s.$height0 = 20; $s.$displayString = $s2; ju_ArrayList_ensureCapacity($file, $file.$size0 + 1 | 0); var$8 = $file.$array.data; $width = $file.$size0; $file.$size0 = $width + 1 | 0; var$8[$width] = $s; $file.$modCount = $file.$modCount + 1 | 0; $file = $this.$buttonList; $s = new nms_GuiButtonLanguage; $width = ($this.$width / 2 | 0) - 124 | 0; $s.$width0 = 200; $s.$height0 = 20; $s.$enabled = 1; $s.$drawButton0 = 1; $s.$id0 = 5; $s.$xPosition = $width; $s.$yPosition = $var4; $s.$width0 = 20; $s.$height0 = 20; $s.$displayString = $rt_s(18); ju_ArrayList_ensureCapacity($file, $file.$size0 + 1 | 0); var$8 = $file.$array.data; $width = $file.$size0; $file.$size0 = $width + 1 | 0; var$8[$width] = $s; $file.$modCount = $file.$modCount + 1 | 0; $file = $this.$field_104025_t; $ptr = 1; continue main; } $file = new jl_IndexOutOfBoundsException; $file.$suppressionEnabled = 1; $file.$writableStackTrace = 1; $rt_throw($file); case 1: jl_Object_monitorEnter($file); if ($rt_suspending()) { break main; } a: { try { $this.$field_92023_s = nms_FontRenderer_getStringWidth($this.$fontRenderer, $this.$field_92025_p); $var6 = nms_FontRenderer_getStringWidth($this.$fontRenderer, $rt_s(18)); $this.$field_92024_r = $var6; $var6 = jl_Math_max($this.$field_92023_s, $var6); $width = ($this.$width - $var6 | 0) / 2 | 0; $this.$field_92022_t = $width; $this.$field_92021_u = 82; $this.$field_92020_v = $width + $var6 | 0; $this.$field_92019_w = 94; jl_Object_monitorExit($file); break a; } catch ($$e) { $$je = $rt_wrapException($$e); $s = $$je; } jl_Object_monitorExit($file); $rt_throw($s); } $s = $this.$mc.$texturePackList.$selectedTexturePack; $file = $rt_s(1582); $ptr = 2; case 2: $tmp = $s.$getResourceAsBytes($file); if ($rt_suspending()) { break main; } var$8 = $tmp; nle_ConfigConstants_panoramaBlur = var$8 !== null ? 0 : 1; if (!($this.$ackLines.$size0 ? 0 : 1)) return; $width = 315; $s = nms_Minecraft_theMinecraft.$texturePackList.$selectedTexturePack; $file = $rt_s(1583); $ptr = 3; case 3: $tmp = $s.$getResourceAsBytes($file); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8 === null) $file = $rt_s(18); else { var$11 = var$8.data; $file = new jl_String; jnc_StandardCharsets_$callClinit(); $s = jnc_StandardCharsets_UTF_8; $var4 = var$11.length; if ($var4 >= 0 && $var4 <= ($var4 - 0 | 0)) { $s2 = new jn_ByteBufferImpl; var$12 = 0 + $var4 | 0; $s2.$mark = (-1); $s2.$capacity = $var4; $s2.$limit0 = $var4; $s2.$order = jn_ByteOrder_BIG_ENDIAN; $s2.$start = 0; $s2.$array0 = var$8; $s2.$position0 = 0; $s2.$limit0 = var$12; $s2.$direct = 0; $s2.$readOnly0 = 0; b: { try { $s = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(jnci_UTF8Charset_newDecoder($s), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), $s2); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $s = $$je; } else { throw $$e; } } $s2 = new jl_AssertionError; $s2.$suppressionEnabled = 1; $s2.$writableStackTrace = 1; $s2.$message = $rt_s(405); $s2.$cause = $s; $rt_throw($s2); } var$9 = $s.$position0; if (!var$9 && $s.$limit0 == $s.$capacity) var$8 = $s.$array1; else { var$8 = $rt_createCharArray($s.$limit0 - var$9 | 0); jn_CharBuffer_get($s, var$8, 0, var$8.data.length); } $file.$nativeString = $rt_fullArrayToString(var$8.data); } else { $file = new jl_IndexOutOfBoundsException; jl_Throwable__init_($file); $rt_throw($file); } } var$8 = (jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), $file, 0)).data; $var6 = var$8.length; $var4 = 0; c: { d: { while ($var4 < $var6) { $s2 = jl_String_trim(var$8[$var4]); if ($s2.$nativeString.length ? 0 : 1) { $file = $this.$ackLines; ju_ArrayList_ensureCapacity($file, $file.$size0 + 1 | 0); var$11 = $file.$array.data; var$13 = $file.$size0; $file.$size0 = var$13 + 1 | 0; var$11[var$13] = $rt_s(18); $file.$modCount = $file.$modCount + 1 | 0; } else { var$11 = (jur_Pattern_split(jur_Pattern_compile($rt_s(953), 0), $s2, 0)).data; $currentLine = $rt_s(1584); var$9 = var$11.length; var$13 = 0; while (var$13 < var$9) { $s3 = var$11[var$13]; $file = new jl_StringBuilder; $file.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($file, $file.$length0, $currentLine); jl_AbstractStringBuilder_insert($file, $file.$length0, $s3 === null ? $rt_s(1) : $s3); var$12 = $file.$length0; jl_AbstractStringBuilder_insertSpace($file, var$12, var$12 + 1 | 0); var$16 = $file.$buffer; var$17 = var$16.data; var$17[var$12] = 32; $s = new jl_String; var$18 = $file.$length0; var$19 = var$17.length; if (var$18 < 0) break c; if (var$18 > (var$19 - 0 | 0)) break c; $s.$nativeString = $rt_charArrayToString(var$16.data, 0, var$18); if (nms_FontRenderer_getStringWidth($this.$mc.$fontRenderer0, $s) >= $width) { $file = $this.$ackLines; ju_ArrayList_ensureCapacity($file, $file.$size0 + 1 | 0); var$16 = $file.$array.data; var$18 = $file.$size0; $file.$size0 = var$18 + 1 | 0; var$16[var$18] = $currentLine; $file.$modCount = $file.$modCount + 1 | 0; $file = new jl_StringBuilder; $file.$buffer = $rt_createCharArray(16); var$12 = $file.$length0; if ($s3 === null) $s3 = $rt_s(1); jl_AbstractStringBuilder_insert($file, var$12, $s3); var$12 = $file.$length0; jl_AbstractStringBuilder_insertSpace($file, var$12, var$12 + 1 | 0); var$16 = $file.$buffer; var$17 = var$16.data; var$17[var$12] = 32; $s = new jl_String; var$18 = $file.$length0; var$19 = var$17.length; if (var$18 < 0) break d; if (var$18 > (var$19 - 0 | 0)) break d; $s.$nativeString = $rt_charArrayToString(var$16.data, 0, var$18); } var$13 = var$13 + 1 | 0; $currentLine = $s; } $file = $this.$ackLines; ju_ArrayList_ensureCapacity($file, $file.$size0 + 1 | 0); var$11 = $file.$array.data; var$13 = $file.$size0; $file.$size0 = var$13 + 1 | 0; var$11[var$13] = $currentLine; $file.$modCount = $file.$modCount + 1 | 0; } $var4 = $var4 + 1 | 0; } return; } $file = new jl_IndexOutOfBoundsException; $file.$suppressionEnabled = 1; $file.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($file); $rt_throw($file); } $file = new jl_IndexOutOfBoundsException; $file.$suppressionEnabled = 1; $file.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($file); $rt_throw($file); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $file, $s, $s2, $var2, var$5, $var4, $width, var$8, var$9, $var6, var$11, var$12, var$13, $currentLine, $s3, var$16, var$17, var$18, var$19, $ptr); }, nms_GuiMainMenu_mouseClicked = ($this, $par1, $par2, $par3) => { let $x, $y, var$6, var$7, var$8, var$9, $posY, $posX, $offset, $w, $ww, $hh, $ln0w, $ln1w, $ln2w, var$19, var$20, var$21, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$ln2w = $thread.pop();$ln1w = $thread.pop();$ln0w = $thread.pop();$hh = $thread.pop();$ww = $thread.pop();$w = $thread.pop();$offset = $thread.pop();$posX = $thread.pop();$posY = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$y = $thread.pop();$x = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$showAck) { $ptr = 1; continue main; } if (!$par3) { $x = ($this.$width - 345 | 0) / 2 | 0; $y = ($this.$height - 230 | 0) / 2 | 0; $par3 = $x + 323 | 0; if ($par1 >= $par3 && $par1 <= ($par3 + 13 | 0)) { $par3 = $y + 7 | 0; if ($par2 >= $par3 && $par2 <= ($par3 + 13 | 0)) { var$6 = $this.$mc.$sndManager; var$7 = $rt_s(642); var$8 = 1.0; var$9 = 1.0; $ptr = 2; continue main; } } $posY = $this.$scrollPosition; $posX = 193 * $posY | 0; $par3 = $this.$ackLines.$size0; $offset = $posX / $par3 | 0; if ($par1 >= ($x + 326 | 0) && $par1 <= ($x + 334 | 0)) { $par1 = ($y + 27 | 0) + $offset | 0; if ($par2 >= $par1 && $par2 <= (($par1 + (4053 / $par3 | 0) | 0) + 1 | 0)) { $this.$dragstart = $par2; $this.$dragstartI = $posY; } } } return; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } if (!$par3) { $w = (nms_FontRenderer_getStringWidth($this.$fontRenderer, $rt_s(1585)) * 3 | 0) / 4 | 0; $par3 = $this.$width; if ($par1 >= (($par3 - $w | 0) - 4 | 0) && $par1 <= $par3 && $par2 >= 0 && $par2 <= 9) { $this.$showAck = 1; return; } $posX = (nms_FontRenderer_getStringWidth($this.$fontRenderer, $rt_s(1586)) * 3 | 0) / 4 | 0; $par1 >= 0 && $par1 <= ($posX + 4 | 0) && $par2 >= 0 && $par2 > 9; if (nle_ConfigConstants_mainMenuItemLink !== null) { $par3 = $this.$width; $posX = (($par3 / 2 | 0) - 170 | 0) - ($par3 / 10 | 0) | 0; $posY = ($this.$height / 4 | 0) + 70 | 0; $ww = 66; $hh = 46; var$6 = nle_ConfigConstants_mainMenuItemLine0; $ln0w = var$6 === null ? 0 : nms_FontRenderer_getStringWidth($this.$fontRenderer, var$6); if ($ww < $ln0w) $ww = $ln0w; if ($hh < $ln0w) $hh = 58; var$6 = nle_ConfigConstants_mainMenuItemLine1; $ln1w = var$6 === null ? 0 : nms_FontRenderer_getStringWidth($this.$fontRenderer, var$6); if ($ww < $ln1w) $ww = $ln1w; if ($hh < $ln1w) $hh = $hh + 12 | 0; var$6 = nle_ConfigConstants_mainMenuItemLine2; $ln2w = var$6 === null ? 0 : nms_FontRenderer_getStringWidth($this.$fontRenderer, var$6); if ($ww < $ln2w) $ww = $ln2w; if ($hh < $ln2w) $hh = $hh + 12 | 0; $par3 = $ww + 20 | 0; $ww = $hh + 20 | 0; if ($par1 > $posX && $par1 < ($posX + (($par3 / 4 | 0) * 3 | 0) | 0) && $par2 > $posY && $par2 < ($posY + (($ww / 4 | 0) * 3 | 0) | 0)) { var$6 = nle_ConfigConstants_mainMenuItemLink; nlea_EaglerAdapterImpl2_$callClinit(); nleat_SelfDefence_ignoreNextWindow = 1; window.open($rt_ustr(var$6), "_blank"); return; } } } return; case 2: a: { nms_SoundManager_playSoundFX(var$6, var$7, var$8, var$9); if ($rt_suspending()) { break main; } var$6 = nle_LocalStorageManager_gameSettingsStorage; var$19 = var$6.$tagMap; if (!$rt_s(1577).$hashCode1) { $par3 = 0; while (true) { if ($par3 >= $rt_s(1577).$nativeString.length) break a; $rt_s(1577).$hashCode1 = (31 * $rt_s(1577).$hashCode1 | 0) + $rt_s(1577).$nativeString.charCodeAt($par3) | 0; $par3 = $par3 + 1 | 0; } } } $posY = $rt_s(1577).$hashCode1; var$20 = var$19.$elementData.data; var$19 = var$20[$posY & (var$20.length - 1 | 0)]; while (var$19 !== null) { if (var$19.$origKeyHash == $posY) { b: { var$21 = var$19.$key; if ($rt_s(1577) !== var$21) { if ($rt_s(1577) === var$21) $par3 = 1; else if (!(var$21 instanceof jl_String)) $par3 = 0; else { var$21 = var$21; $par3 = $rt_s(1577).$nativeString !== var$21.$nativeString ? 0 : 1; } if (!$par3) { $par3 = 0; break b; } } $par3 = 1; } if ($par3) break; } var$19 = var$19.$next3; } if (!(var$19 === null ? 0 : 1)) $par3 = 0; else { var$6 = var$6.$tagMap; if ($rt_s(1577) === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { c: { if (!$rt_s(1577).$hashCode1) { $par3 = 0; while (true) { if ($par3 >= $rt_s(1577).$nativeString.length) break c; $rt_s(1577).$hashCode1 = (31 * $rt_s(1577).$hashCode1 | 0) + $rt_s(1577).$nativeString.charCodeAt($par3) | 0; $par3 = $par3 + 1 | 0; } } } $posY = $rt_s(1577).$hashCode1; var$20 = var$6.$elementData.data; var$6 = var$20[$posY & (var$20.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == $posY) { d: { var$19 = var$6.$key; if ($rt_s(1577) !== var$19) { if ($rt_s(1577) === var$19) $par3 = 1; else if (!(var$19 instanceof jl_String)) $par3 = 0; else { var$19 = var$19; $par3 = $rt_s(1577).$nativeString !== var$19.$nativeString ? 0 : 1; } if (!$par3) { $par3 = 0; break d; } } $par3 = 1; } if ($par3) break; } var$6 = var$6.$next3; } } $par3 = (var$6 === null ? null : var$6.$value1).$data; } if (!(!$par3 ? 0 : 1)) { var$19 = nle_LocalStorageManager_gameSettingsStorage.$tagMap; var$6 = new nms_NBTTagByte; var$6.$name = $rt_s(1577); var$6.$data = 1; ju_HashMap_putImpl(var$19, $rt_s(1577), var$6); e: { try { nlea_EaglerAdapterImpl2_saveLocalStorage($rt_s(185), nms_CompressedStreamTools_writeUncompressed(nle_LocalStorageManager_gameSettingsStorage)); break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } } $this.$showAck = 0; $posY = $this.$scrollPosition; $posX = 193 * $posY | 0; $par3 = $this.$ackLines.$size0; $offset = $posX / $par3 | 0; if ($par1 >= ($x + 326 | 0) && $par1 <= ($x + 334 | 0)) { $par1 = ($y + 27 | 0) + $offset | 0; if ($par2 >= $par1 && $par2 <= (($par1 + (4053 / $par3 | 0) | 0) + 1 | 0)) { $this.$dragstart = $par2; $this.$dragstartI = $posY; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $x, $y, var$6, var$7, var$8, var$9, $posY, $posX, $offset, $w, $ww, $hh, $ln0w, $ln1w, $ln2w, var$19, var$20, var$21, $ptr); }, nms_GuiMainMenu_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1GuiButton.$id0) { nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; var$2 = $this.$mc; var$3 = new nms_GuiOptions; var$4 = var$2.$gameSettings; nms_GuiOptions_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$buttonList = var$5; var$3.$allowUserInput = 0; var$3.$selectedButton = null; var$3.$eventButton = 0; var$3.$field_85043_c = Long_ZERO; var$3.$field_92018_d = 0; var$3.$screenTitle1 = $rt_s(1587); var$3.$parentScreen0 = $this; var$3.$options0 = var$4; $ptr = 1; continue main; } if ($par1GuiButton.$id0 == 1) { nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_integratedServerScript === null ? 0 : 1) { var$6 = nle_IntegratedServer_statusState; if (var$6 >= 0 && (nlea_EaglerAdapterImpl2_serverAlive && nlea_EaglerAdapterImpl2_server !== null ? 1 : 0) ? 1 : 0) { var$2 = $this.$mc; var$7 = new nms_GuiSelectWorld; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$3; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$8 = new jt_SimpleDateFormat; ju_Locale_$callClinit(); var$3 = ju_Locale_defaultLocale; var$9 = var$3.$languageCode; var$10 = var$3.$countryCode; if (otciu_CLDRHelper_$$metadata$$14 === null) otciu_CLDRHelper_$$metadata$$14 = otciu_CLDRHelper_getDateFormatMap$$create(); var$5 = otciu_CLDRHelper_$$metadata$$14; if (var$10.$nativeString.length ? 0 : 1) var$3 = var$9; else { var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4, 16); jl_StringBuilder_insert1(var$4, var$4.$length0, var$9); jl_StringBuilder_insert2(var$4, var$4.$length0, 45); jl_StringBuilder_insert1(var$4, var$4.$length0, var$10); var$3 = jl_String__init_0(var$4.$buffer, 0, var$4.$length0); } var$10 = ((var$5.hasOwnProperty($rt_ustr(var$3)) ? var$5[$rt_ustr(var$3)] : var$5.hasOwnProperty($rt_ustr(var$9)) ? var$5[$rt_ustr(var$9)] : var$5.root).mediumFormat !== null ? $rt_str((var$5.hasOwnProperty($rt_ustr(var$3)) ? var$5[$rt_ustr(var$3)] : var$5.hasOwnProperty($rt_ustr(var$9)) ? var$5[$rt_ustr(var$9)] : var$5.root).mediumFormat) : null); var$5 = ju_Locale_defaultLocale; var$9 = new jt_DateFormatSymbols; var$9.$locale0 = var$5; var$8.$calendar = ju_GregorianCalendar__init_0(ju_Locale_getDefault()); var$9 = jt_DateFormatSymbols_clone(var$9); var$8.$dateFormatSymbols = var$9; var$4 = ju_Locale_defaultLocale; var$8.$locale = var$4; var$8.$pattern1 = var$10; var$10 = new jt_SimpleDatePatternParser; jl_Object__init_(var$10); var$10.$elements = ju_ArrayList__init_(); var$10.$symbols0 = var$9; var$10.$locale3 = var$4; jt_SimpleDatePatternParser_parsePattern(var$10, var$8.$pattern1); var$8.$elements0 = ju_AbstractCollection_toArray(var$10.$elements, $rt_createArray(jt_DateFormatElement, 0)); var$8.$locale = var$5; var$7.$dateFormatter = var$8; var$7.$screenTitle0 = $rt_s(1588); var$7.$selected0 = 0; var$7.$localizedGameModeText = $rt_createArray(jl_String, 3); var$7.$hasRequestedWorlds = 0; var$7.$waitingForWorlds = 0; var$7.$parentScreen1 = $this; $ptr = 5; continue main; } if (!(var$6 >= 0 && (nlea_EaglerAdapterImpl2_serverAlive && nlea_EaglerAdapterImpl2_server !== null ? 1 : 0) ? 1 : 0)) { var$2 = $rt_s(1589); if (var$2 === $rt_s(192) ? 1 : jl_String_startsWith(var$2, $rt_s(192), 0)) var$2 = jl_String_substring(var$2, 1, var$2.$nativeString.length); var$3 = nle_AssetRepository_filePool; if (var$2 !== null) { a: { if (!var$2.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$2.$nativeString.length) break a; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = var$2.$hashCode1; var$12 = var$3.$elementData.data; var$3 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$11 && ju_HashMap_areEqualKeys(var$2, var$3.$key))) { var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } var$13 = var$3 === null ? null : var$3.$value1; if (var$13 === null) var$4 = null; else { var$4 = new jl_String; jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$3 = jnc_Charset$Charsets_value; var$5 = $rt_s(86).$nativeString.toUpperCase(); var$10 = var$5 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$5); b: { if (!var$10.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$10.$nativeString.length) break b; var$10.$hashCode1 = (31 * var$10.$hashCode1 | 0) + var$10.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = var$10.$hashCode1; var$12 = var$3.$elementData.data; var$3 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$11) { var$5 = var$3.$key; if (var$10 !== var$5 && !jl_String_equals(var$10, var$5) ? 0 : 1) break; } var$3 = var$3.$next3; } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { $par1GuiButton = new jnc_UnsupportedCharsetException; jl_Throwable__init_($par1GuiButton); $par1GuiButton.$charsetName = $rt_s(86); $rt_throw($par1GuiButton); } var$14 = var$13.data.length; if (var$14 >= 0 && var$14 <= (var$14 - 0 | 0)) { var$5 = new jn_ByteBufferImpl; var$15 = 0 + var$14 | 0; jn_Buffer__init_(var$5, var$14); var$5.$order = jn_ByteOrder_BIG_ENDIAN; var$5.$start = 0; var$5.$array0 = var$13; var$5.$position0 = 0; var$5.$limit0 = var$15; var$5.$direct = 0; var$5.$readOnly0 = 0; c: { try { var$2 = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$3.$newDecoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$5); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { var$2 = $$je; } else { throw $$e; } } var$3 = new jl_AssertionError; jl_Throwable__init_0(var$3, $rt_s(405), var$2); $rt_throw(var$3); } var$11 = var$2.$position0; if (!var$11 && var$2.$limit0 == var$2.$capacity) var$12 = var$2.$array1; else { var$12 = $rt_createCharArray(var$2.$limit0 - var$11 | 0); jn_CharBuffer_get(var$2, var$12, 0, var$12.data.length); } var$4.$nativeString = $rt_fullArrayToString(var$12.data); } else { $par1GuiButton = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1GuiButton); $rt_throw($par1GuiButton); } } if (var$4 === null) var$12 = null; else { var$2 = jl_String_replace(var$4, $rt_s(1590), $rt_s(469)); var$12 = jur_Pattern_split(jur_Pattern_compile($rt_s(1591), 0), var$2, 0); } var$2 = $rt_s(1592); if (var$2 === $rt_s(192) ? 1 : jl_String_startsWith(var$2, $rt_s(192), 0)) var$2 = jl_String_substring(var$2, 1, var$2.$nativeString.length); var$3 = nle_AssetRepository_filePool; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { d: { if (!var$2.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$2.$nativeString.length) break d; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = var$2.$hashCode1; var$13 = var$3.$elementData.data; var$3 = var$13[var$11 & (var$13.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$11 && ju_HashMap_areEqualKeys(var$2, var$3.$key))) { var$3 = var$3.$next3; } } var$16 = var$3 === null ? null : var$3.$value1; if (var$16 === null) var$4 = null; else { var$4 = new jl_String; jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$3 = jnc_Charset$Charsets_value; var$5 = $rt_s(86).$nativeString.toUpperCase(); var$10 = var$5 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$5); e: { if (!var$10.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$10.$nativeString.length) break e; var$10.$hashCode1 = (31 * var$10.$hashCode1 | 0) + var$10.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = var$10.$hashCode1; var$13 = var$3.$elementData.data; var$3 = var$13[var$11 & (var$13.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$11) { var$5 = var$3.$key; if (var$10 !== var$5 && !jl_String_equals(var$10, var$5) ? 0 : 1) break; } var$3 = var$3.$next3; } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { $par1GuiButton = new jnc_UnsupportedCharsetException; jl_Throwable__init_($par1GuiButton); $par1GuiButton.$charsetName = $rt_s(86); $rt_throw($par1GuiButton); } var$14 = var$16.data.length; if (var$14 >= 0 && var$14 <= (var$14 - 0 | 0)) { var$5 = new jn_ByteBufferImpl; var$15 = 0 + var$14 | 0; jn_Buffer__init_(var$5, var$14); var$5.$order = jn_ByteOrder_BIG_ENDIAN; var$5.$start = 0; var$5.$array0 = var$16; var$5.$position0 = 0; var$5.$limit0 = var$15; var$5.$direct = 0; var$5.$readOnly0 = 0; f: { try { var$2 = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$3.$newDecoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$5); break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { var$2 = $$je; } else { throw $$e; } } var$3 = new jl_AssertionError; jl_Throwable__init_0(var$3, $rt_s(405), var$2); $rt_throw(var$3); } var$11 = var$2.$position0; if (!var$11 && var$2.$limit0 == var$2.$capacity) var$13 = var$2.$array1; else { var$13 = $rt_createCharArray(var$2.$limit0 - var$11 | 0); jn_CharBuffer_get(var$2, var$13, 0, var$13.data.length); } var$4.$nativeString = $rt_fullArrayToString(var$13.data); } else { $par1GuiButton = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1GuiButton); $rt_throw($par1GuiButton); } } if (var$4 === null) var$13 = null; else { var$2 = jl_String_replace(var$4, $rt_s(1590), $rt_s(469)); var$13 = jur_Pattern_split(jur_Pattern_compile($rt_s(1591), 0), var$2, 0); } nle_IntegratedServer_begin(var$12, var$13); } var$2 = $this.$mc; var$3 = new nle_GuiScreenSingleplayerLoading; var$4 = new nms_GuiSelectWorld; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$4.$buttonList = var$5; var$4.$allowUserInput = 0; var$4.$selectedButton = null; var$4.$eventButton = 0; var$4.$field_85043_c = Long_ZERO; var$4.$field_92018_d = 0; var$5 = new jt_SimpleDateFormat; ju_Locale_$callClinit(); var$10 = ju_Locale_defaultLocale; var$17 = var$10.$languageCode; var$8 = var$10.$countryCode; if (otciu_CLDRHelper_$$metadata$$14 === null) otciu_CLDRHelper_$$metadata$$14 = otciu_CLDRHelper_getDateFormatMap$$create(); var$7 = otciu_CLDRHelper_$$metadata$$14; if (var$8.$nativeString.length ? 0 : 1) var$10 = var$17; else { var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); jl_StringBuilder_insert1(var$9, var$9.$length0, var$17); jl_StringBuilder_insert2(var$9, var$9.$length0, 45); jl_StringBuilder_insert1(var$9, var$9.$length0, var$8); var$10 = jl_String__init_0(var$9.$buffer, 0, var$9.$length0); } var$18 = ((var$7.hasOwnProperty($rt_ustr(var$10)) ? var$7[$rt_ustr(var$10)] : var$7.hasOwnProperty($rt_ustr(var$17)) ? var$7[$rt_ustr(var$17)] : var$7.root).mediumFormat !== null ? $rt_str((var$7.hasOwnProperty($rt_ustr(var$10)) ? var$7[$rt_ustr(var$10)] : var$7.hasOwnProperty($rt_ustr(var$17)) ? var$7[$rt_ustr(var$17)] : var$7.root).mediumFormat) : null); var$17 = ju_Locale_defaultLocale; var$10 = new jt_DateFormatSymbols; var$10.$locale0 = var$17; var$5.$calendar = ju_GregorianCalendar__init_0(ju_Locale_getDefault()); var$10 = jt_DateFormatSymbols_clone(var$10); var$5.$dateFormatSymbols = var$10; var$8 = ju_Locale_defaultLocale; var$5.$locale = var$8; var$5.$pattern1 = var$18; var$9 = new jt_SimpleDatePatternParser; jl_Object__init_(var$9); var$9.$elements = ju_ArrayList__init_(); var$9.$symbols0 = var$10; var$9.$locale3 = var$8; jt_SimpleDatePatternParser_parsePattern(var$9, var$5.$pattern1); var$5.$elements0 = ju_AbstractCollection_toArray(var$9.$elements, $rt_createArray(jt_DateFormatElement, 0)); var$5.$locale = var$17; var$4.$dateFormatter = var$5; var$4.$screenTitle0 = $rt_s(1588); var$4.$selected0 = 0; var$4.$localizedGameModeText = $rt_createArray(jl_String, 3); var$4.$hasRequestedWorlds = 0; var$4.$waitingForWorlds = 0; var$4.$parentScreen1 = $this; var$10 = new nms_GuiMainMenu$actionPerformed$lambda$_7_0; var$9 = nle_GuiScreenSingleplayerLoading_defaultExceptionAction; var$7 = nle_GuiScreenSingleplayerLoading_defaultTerminateAction; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$3.$buttonList = var$8; var$3.$allowUserInput = 0; var$3.$selectedButton = null; var$3.$eventButton = 0; var$3.$field_85043_c = Long_ZERO; var$3.$field_92018_d = 0; var$3.$menu = var$4; var$3.$message0 = $rt_s(1593); var$3.$checkTaskComplete = var$10; var$3.$onException = var$9; var$3.$taskKill = var$7; var$3.$lastStatus = nle_IntegratedServer_worldStatusString; var$3.$currentStatus = $rt_s(1593); $ptr = 6; continue main; } } if ($par1GuiButton.$id0 == 5) { nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; var$2 = $this.$mc; var$3 = new nms_GuiLanguage; var$4 = var$2.$gameSettings; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$buttonList = var$5; var$3.$allowUserInput = 0; var$3.$selectedButton = null; var$3.$eventButton = 0; var$3.$field_85043_c = Long_ZERO; var$3.$field_92018_d = 0; var$3.$updateTimer0 = (-1); var$3.$parentGui1 = $this; var$3.$theGameSettings = var$4; $ptr = 2; continue main; } if ($par1GuiButton.$id0 == 2) { nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; var$2 = $this.$mc; var$3 = nms_GuiMultiplayer__init_($this); $ptr = 3; continue main; } if ($par1GuiButton.$id0 == 3) { nlea_EaglerAdapterImpl2_$callClinit(); nleat_SelfDefence_ignoreNextWindow = 1; window.open("https://git.zelz.net/catfoolyou/Project164", "_blank"); } if ($par1GuiButton.$id0 != 4) return; nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; $par1GuiButton = $this.$mc; var$2 = nle_GuiScreenEditProfile__init_($this); $ptr = 4; continue main; case 1: nms_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } if ($par1GuiButton.$id0 == 1) { nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_integratedServerScript === null ? 0 : 1) { var$6 = nle_IntegratedServer_statusState; if (var$6 >= 0 && (nlea_EaglerAdapterImpl2_serverAlive && nlea_EaglerAdapterImpl2_server !== null ? 1 : 0) ? 1 : 0) { var$2 = $this.$mc; var$7 = new nms_GuiSelectWorld; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$3; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$8 = new jt_SimpleDateFormat; ju_Locale_$callClinit(); var$3 = ju_Locale_defaultLocale; var$9 = var$3.$languageCode; var$10 = var$3.$countryCode; if (otciu_CLDRHelper_$$metadata$$14 === null) otciu_CLDRHelper_$$metadata$$14 = otciu_CLDRHelper_getDateFormatMap$$create(); var$5 = otciu_CLDRHelper_$$metadata$$14; if (var$10.$nativeString.length ? 0 : 1) var$3 = var$9; else { var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4, 16); jl_StringBuilder_insert1(var$4, var$4.$length0, var$9); jl_StringBuilder_insert2(var$4, var$4.$length0, 45); jl_StringBuilder_insert1(var$4, var$4.$length0, var$10); var$3 = jl_String__init_0(var$4.$buffer, 0, var$4.$length0); } var$10 = ((var$5.hasOwnProperty($rt_ustr(var$3)) ? var$5[$rt_ustr(var$3)] : var$5.hasOwnProperty($rt_ustr(var$9)) ? var$5[$rt_ustr(var$9)] : var$5.root).mediumFormat !== null ? $rt_str((var$5.hasOwnProperty($rt_ustr(var$3)) ? var$5[$rt_ustr(var$3)] : var$5.hasOwnProperty($rt_ustr(var$9)) ? var$5[$rt_ustr(var$9)] : var$5.root).mediumFormat) : null); var$5 = ju_Locale_defaultLocale; var$9 = new jt_DateFormatSymbols; var$9.$locale0 = var$5; var$8.$calendar = ju_GregorianCalendar__init_0(ju_Locale_getDefault()); var$9 = jt_DateFormatSymbols_clone(var$9); var$8.$dateFormatSymbols = var$9; var$4 = ju_Locale_defaultLocale; var$8.$locale = var$4; var$8.$pattern1 = var$10; var$10 = new jt_SimpleDatePatternParser; jl_Object__init_(var$10); var$10.$elements = ju_ArrayList__init_(); var$10.$symbols0 = var$9; var$10.$locale3 = var$4; jt_SimpleDatePatternParser_parsePattern(var$10, var$8.$pattern1); var$8.$elements0 = ju_AbstractCollection_toArray(var$10.$elements, $rt_createArray(jt_DateFormatElement, 0)); var$8.$locale = var$5; var$7.$dateFormatter = var$8; var$7.$screenTitle0 = $rt_s(1588); var$7.$selected0 = 0; var$7.$localizedGameModeText = $rt_createArray(jl_String, 3); var$7.$hasRequestedWorlds = 0; var$7.$waitingForWorlds = 0; var$7.$parentScreen1 = $this; $ptr = 5; continue main; } if (!(var$6 >= 0 && (nlea_EaglerAdapterImpl2_serverAlive && nlea_EaglerAdapterImpl2_server !== null ? 1 : 0) ? 1 : 0)) { var$2 = $rt_s(1589); if (var$2 === $rt_s(192) ? 1 : jl_String_startsWith(var$2, $rt_s(192), 0)) var$2 = jl_String_substring(var$2, 1, var$2.$nativeString.length); var$3 = nle_AssetRepository_filePool; if (var$2 !== null) { g: { if (!var$2.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$2.$nativeString.length) break g; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = var$2.$hashCode1; var$12 = var$3.$elementData.data; var$3 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$11 && ju_HashMap_areEqualKeys(var$2, var$3.$key))) { var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } var$13 = var$3 === null ? null : var$3.$value1; if (var$13 === null) var$4 = null; else { var$4 = new jl_String; jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$3 = jnc_Charset$Charsets_value; var$5 = $rt_s(86).$nativeString.toUpperCase(); var$10 = var$5 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$5); h: { if (!var$10.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$10.$nativeString.length) break h; var$10.$hashCode1 = (31 * var$10.$hashCode1 | 0) + var$10.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = var$10.$hashCode1; var$12 = var$3.$elementData.data; var$3 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$11) { var$5 = var$3.$key; if (var$10 !== var$5 && !jl_String_equals(var$10, var$5) ? 0 : 1) break; } var$3 = var$3.$next3; } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { $par1GuiButton = new jnc_UnsupportedCharsetException; jl_Throwable__init_($par1GuiButton); $par1GuiButton.$charsetName = $rt_s(86); $rt_throw($par1GuiButton); } var$14 = var$13.data.length; if (var$14 >= 0 && var$14 <= (var$14 - 0 | 0)) { var$5 = new jn_ByteBufferImpl; var$15 = 0 + var$14 | 0; jn_Buffer__init_(var$5, var$14); var$5.$order = jn_ByteOrder_BIG_ENDIAN; var$5.$start = 0; var$5.$array0 = var$13; var$5.$position0 = 0; var$5.$limit0 = var$15; var$5.$direct = 0; var$5.$readOnly0 = 0; i: { try { var$2 = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$3.$newDecoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$5); break i; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { var$2 = $$je; } else { throw $$e; } } var$3 = new jl_AssertionError; jl_Throwable__init_0(var$3, $rt_s(405), var$2); $rt_throw(var$3); } var$11 = var$2.$position0; if (!var$11 && var$2.$limit0 == var$2.$capacity) var$12 = var$2.$array1; else { var$12 = $rt_createCharArray(var$2.$limit0 - var$11 | 0); jn_CharBuffer_get(var$2, var$12, 0, var$12.data.length); } var$4.$nativeString = $rt_fullArrayToString(var$12.data); } else { $par1GuiButton = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1GuiButton); $rt_throw($par1GuiButton); } } if (var$4 === null) var$12 = null; else { var$2 = jl_String_replace(var$4, $rt_s(1590), $rt_s(469)); var$12 = jur_Pattern_split(jur_Pattern_compile($rt_s(1591), 0), var$2, 0); } var$2 = $rt_s(1592); if (var$2 === $rt_s(192) ? 1 : jl_String_startsWith(var$2, $rt_s(192), 0)) var$2 = jl_String_substring(var$2, 1, var$2.$nativeString.length); var$3 = nle_AssetRepository_filePool; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { j: { if (!var$2.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$2.$nativeString.length) break j; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = var$2.$hashCode1; var$13 = var$3.$elementData.data; var$3 = var$13[var$11 & (var$13.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$11 && ju_HashMap_areEqualKeys(var$2, var$3.$key))) { var$3 = var$3.$next3; } } var$16 = var$3 === null ? null : var$3.$value1; if (var$16 === null) var$4 = null; else { var$4 = new jl_String; jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$3 = jnc_Charset$Charsets_value; var$5 = $rt_s(86).$nativeString.toUpperCase(); var$10 = var$5 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$5); k: { if (!var$10.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$10.$nativeString.length) break k; var$10.$hashCode1 = (31 * var$10.$hashCode1 | 0) + var$10.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$11 = var$10.$hashCode1; var$13 = var$3.$elementData.data; var$3 = var$13[var$11 & (var$13.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$11) { var$5 = var$3.$key; if (var$10 !== var$5 && !jl_String_equals(var$10, var$5) ? 0 : 1) break; } var$3 = var$3.$next3; } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { $par1GuiButton = new jnc_UnsupportedCharsetException; jl_Throwable__init_($par1GuiButton); $par1GuiButton.$charsetName = $rt_s(86); $rt_throw($par1GuiButton); } var$14 = var$16.data.length; if (var$14 >= 0 && var$14 <= (var$14 - 0 | 0)) { var$5 = new jn_ByteBufferImpl; var$15 = 0 + var$14 | 0; jn_Buffer__init_(var$5, var$14); var$5.$order = jn_ByteOrder_BIG_ENDIAN; var$5.$start = 0; var$5.$array0 = var$16; var$5.$position0 = 0; var$5.$limit0 = var$15; var$5.$direct = 0; var$5.$readOnly0 = 0; l: { try { var$2 = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$3.$newDecoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$5); break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { var$2 = $$je; } else { throw $$e; } } var$3 = new jl_AssertionError; jl_Throwable__init_0(var$3, $rt_s(405), var$2); $rt_throw(var$3); } var$11 = var$2.$position0; if (!var$11 && var$2.$limit0 == var$2.$capacity) var$13 = var$2.$array1; else { var$13 = $rt_createCharArray(var$2.$limit0 - var$11 | 0); jn_CharBuffer_get(var$2, var$13, 0, var$13.data.length); } var$4.$nativeString = $rt_fullArrayToString(var$13.data); } else { $par1GuiButton = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1GuiButton); $rt_throw($par1GuiButton); } } if (var$4 === null) var$13 = null; else { var$2 = jl_String_replace(var$4, $rt_s(1590), $rt_s(469)); var$13 = jur_Pattern_split(jur_Pattern_compile($rt_s(1591), 0), var$2, 0); } nle_IntegratedServer_begin(var$12, var$13); } var$2 = $this.$mc; var$3 = new nle_GuiScreenSingleplayerLoading; var$4 = new nms_GuiSelectWorld; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$4.$buttonList = var$5; var$4.$allowUserInput = 0; var$4.$selectedButton = null; var$4.$eventButton = 0; var$4.$field_85043_c = Long_ZERO; var$4.$field_92018_d = 0; var$5 = new jt_SimpleDateFormat; ju_Locale_$callClinit(); var$10 = ju_Locale_defaultLocale; var$17 = var$10.$languageCode; var$8 = var$10.$countryCode; if (otciu_CLDRHelper_$$metadata$$14 === null) otciu_CLDRHelper_$$metadata$$14 = otciu_CLDRHelper_getDateFormatMap$$create(); var$7 = otciu_CLDRHelper_$$metadata$$14; if (var$8.$nativeString.length ? 0 : 1) var$10 = var$17; else { var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); jl_StringBuilder_insert1(var$9, var$9.$length0, var$17); jl_StringBuilder_insert2(var$9, var$9.$length0, 45); jl_StringBuilder_insert1(var$9, var$9.$length0, var$8); var$10 = jl_String__init_0(var$9.$buffer, 0, var$9.$length0); } var$18 = ((var$7.hasOwnProperty($rt_ustr(var$10)) ? var$7[$rt_ustr(var$10)] : var$7.hasOwnProperty($rt_ustr(var$17)) ? var$7[$rt_ustr(var$17)] : var$7.root).mediumFormat !== null ? $rt_str((var$7.hasOwnProperty($rt_ustr(var$10)) ? var$7[$rt_ustr(var$10)] : var$7.hasOwnProperty($rt_ustr(var$17)) ? var$7[$rt_ustr(var$17)] : var$7.root).mediumFormat) : null); var$17 = ju_Locale_defaultLocale; var$10 = new jt_DateFormatSymbols; var$10.$locale0 = var$17; var$5.$calendar = ju_GregorianCalendar__init_0(ju_Locale_getDefault()); var$10 = jt_DateFormatSymbols_clone(var$10); var$5.$dateFormatSymbols = var$10; var$8 = ju_Locale_defaultLocale; var$5.$locale = var$8; var$5.$pattern1 = var$18; var$9 = new jt_SimpleDatePatternParser; jl_Object__init_(var$9); var$9.$elements = ju_ArrayList__init_(); var$9.$symbols0 = var$10; var$9.$locale3 = var$8; jt_SimpleDatePatternParser_parsePattern(var$9, var$5.$pattern1); var$5.$elements0 = ju_AbstractCollection_toArray(var$9.$elements, $rt_createArray(jt_DateFormatElement, 0)); var$5.$locale = var$17; var$4.$dateFormatter = var$5; var$4.$screenTitle0 = $rt_s(1588); var$4.$selected0 = 0; var$4.$localizedGameModeText = $rt_createArray(jl_String, 3); var$4.$hasRequestedWorlds = 0; var$4.$waitingForWorlds = 0; var$4.$parentScreen1 = $this; var$10 = new nms_GuiMainMenu$actionPerformed$lambda$_7_0; var$9 = nle_GuiScreenSingleplayerLoading_defaultExceptionAction; var$7 = nle_GuiScreenSingleplayerLoading_defaultTerminateAction; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$3.$buttonList = var$8; var$3.$allowUserInput = 0; var$3.$selectedButton = null; var$3.$eventButton = 0; var$3.$field_85043_c = Long_ZERO; var$3.$field_92018_d = 0; var$3.$menu = var$4; var$3.$message0 = $rt_s(1593); var$3.$checkTaskComplete = var$10; var$3.$onException = var$9; var$3.$taskKill = var$7; var$3.$lastStatus = nle_IntegratedServer_worldStatusString; var$3.$currentStatus = $rt_s(1593); $ptr = 6; continue main; } } if ($par1GuiButton.$id0 == 5) { nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; var$2 = $this.$mc; var$3 = new nms_GuiLanguage; var$4 = var$2.$gameSettings; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$buttonList = var$5; var$3.$allowUserInput = 0; var$3.$selectedButton = null; var$3.$eventButton = 0; var$3.$field_85043_c = Long_ZERO; var$3.$field_92018_d = 0; var$3.$updateTimer0 = (-1); var$3.$parentGui1 = $this; var$3.$theGameSettings = var$4; $ptr = 2; continue main; } if ($par1GuiButton.$id0 == 2) { nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; var$2 = $this.$mc; var$3 = nms_GuiMultiplayer__init_($this); $ptr = 3; continue main; } if ($par1GuiButton.$id0 == 3) { nlea_EaglerAdapterImpl2_$callClinit(); nleat_SelfDefence_ignoreNextWindow = 1; window.open("https://git.zelz.net/catfoolyou/Project164", "_blank"); } if ($par1GuiButton.$id0 != 4) return; nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; $par1GuiButton = $this.$mc; var$2 = nle_GuiScreenEditProfile__init_($this); $ptr = 4; continue main; case 2: nms_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } if ($par1GuiButton.$id0 == 2) { nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; var$2 = $this.$mc; var$3 = nms_GuiMultiplayer__init_($this); $ptr = 3; continue main; } if ($par1GuiButton.$id0 == 3) { nlea_EaglerAdapterImpl2_$callClinit(); nleat_SelfDefence_ignoreNextWindow = 1; window.open("https://git.zelz.net/catfoolyou/Project164", "_blank"); } if ($par1GuiButton.$id0 != 4) return; nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; $par1GuiButton = $this.$mc; var$2 = nle_GuiScreenEditProfile__init_($this); $ptr = 4; continue main; case 3: nms_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } if ($par1GuiButton.$id0 == 3) { nlea_EaglerAdapterImpl2_$callClinit(); nleat_SelfDefence_ignoreNextWindow = 1; window.open("https://git.zelz.net/catfoolyou/Project164", "_blank"); } if ($par1GuiButton.$id0 != 4) return; nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; $par1GuiButton = $this.$mc; var$2 = nle_GuiScreenEditProfile__init_($this); $ptr = 4; case 4: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } return; case 5: nms_Minecraft_displayGuiScreen(var$2, var$7); if ($rt_suspending()) { break main; } if ($par1GuiButton.$id0 == 5) { nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; var$2 = $this.$mc; var$3 = new nms_GuiLanguage; var$4 = var$2.$gameSettings; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$buttonList = var$5; var$3.$allowUserInput = 0; var$3.$selectedButton = null; var$3.$eventButton = 0; var$3.$field_85043_c = Long_ZERO; var$3.$field_92018_d = 0; var$3.$updateTimer0 = (-1); var$3.$parentGui1 = $this; var$3.$theGameSettings = var$4; $ptr = 2; continue main; } if ($par1GuiButton.$id0 == 2) { nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; var$2 = $this.$mc; var$3 = nms_GuiMultiplayer__init_($this); $ptr = 3; continue main; } if ($par1GuiButton.$id0 == 3) { nlea_EaglerAdapterImpl2_$callClinit(); nleat_SelfDefence_ignoreNextWindow = 1; window.open("https://git.zelz.net/catfoolyou/Project164", "_blank"); } if ($par1GuiButton.$id0 != 4) return; nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; $par1GuiButton = $this.$mc; var$2 = nle_GuiScreenEditProfile__init_($this); $ptr = 4; continue main; case 6: nms_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } if ($par1GuiButton.$id0 == 5) { nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; var$2 = $this.$mc; var$3 = new nms_GuiLanguage; var$4 = var$2.$gameSettings; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$buttonList = var$5; var$3.$allowUserInput = 0; var$3.$selectedButton = null; var$3.$eventButton = 0; var$3.$field_85043_c = Long_ZERO; var$3.$field_92018_d = 0; var$3.$updateTimer0 = (-1); var$3.$parentGui1 = $this; var$3.$theGameSettings = var$4; $ptr = 2; continue main; } if ($par1GuiButton.$id0 == 2) { nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; var$2 = $this.$mc; var$3 = nms_GuiMultiplayer__init_($this); $ptr = 3; continue main; } if ($par1GuiButton.$id0 == 3) { nlea_EaglerAdapterImpl2_$callClinit(); nleat_SelfDefence_ignoreNextWindow = 1; window.open("https://git.zelz.net/catfoolyou/Project164", "_blank"); } if ($par1GuiButton.$id0 != 4) return; nms_GuiMainMenu_$callClinit(); nms_GuiMainMenu_showingEndian = 0; $par1GuiButton = $this.$mc; var$2 = nle_GuiScreenEditProfile__init_($this); $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_GuiMainMenu_drawPanorama = ($this, $par1, $par2, $par3) => { let $var4, var$5, var$6, $var5, $var6, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, $var7, $var8, $panTimer, $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();$panTimer = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_Tessellator_$callClinit(); $var4 = nlea_Tessellator_instance; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_matrixMode = 5889; nleg_EaglerAdapterGL30_glPushMatrix(); nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); if (nle_ConfigConstants_panoramaBlur) nleg_EaglerAdapterGL30_gluPerspective(120.0, 1.0, 0.05000000074505806, 10.0); else { var$5 = $this.$mc; nleg_EaglerAdapterGL30_gluPerspective(120.0, var$5.$displayWidth / var$5.$displayHeight, 0.05000000074505806, 10.0); } nleg_EaglerAdapterGL30_matrixMode = 5888; nleg_EaglerAdapterGL30_glPushMatrix(); nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); $par3 = 3.1415927410125732; nlegv_Matrix4f_rotate($par3, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glDisable(2884); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $var5 = !nle_ConfigConstants_panoramaBlur ? 1 : 8; $var6 = 0; var$9 = 1.5707963705062866; var$10 = (-1.5707963705062866); var$11 = 0.0; var$12 = 1.0; var$13 = 255; var$14 = 255; var$15 = 255; var$16 = $rt_s(468); var$17 = $rt_s(469); var$18 = $rt_s(468); var$19 = $rt_s(469); var$20 = $rt_s(468); var$21 = $rt_s(469); var$22 = $rt_s(468); var$23 = $rt_s(469); var$24 = $rt_s(468); var$25 = $rt_s(469); var$26 = $rt_s(468); var$27 = $rt_s(469); var$28 = $rt_s(468); var$29 = $rt_s(469); var$30 = $rt_s(468); var$31 = $rt_s(469); while ($var6 < $rt_imul($var5, $var5)) { if (nle_ConfigConstants_panoramaBlur) { nleg_EaglerAdapterGL30_glPushMatrix(); $var7 = $var6 % $var5 | 0; $var8 = $var5; $var7 = ($var7 / $var8 - 0.5) / 64.0; $var8 = (($var6 / $var5 | 0) / $var8 - 0.5) / 64.0; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = $var7; var$5.$y = $var8; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$6 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$6); var$6.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$6.$sb = var$5; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$6; } $rt_putStderr($rt_ustr(var$16)); $rt_putStderr($rt_ustr(var$17)); } nlea_EaglerAdapterImpl2_$callClinit(); $panTimer = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$start6)) * 0.029999999329447746; $var8 = $panTimer / 400.0; $var8 = nms_MathHelper_SIN_TABLE.data[($var8 * 10430.3779296875 | 0) & 65535] * 25.0 + 20.0; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var8 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr($rt_ustr(var$18)); $rt_putStderr($rt_ustr(var$19)); } $var8 = -$panTimer * 0.10000000149011612; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var8 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr($rt_ustr(var$20)); $rt_putStderr($rt_ustr(var$21)); } } $var10 = 0; if ($var10 < 6) { nleg_EaglerAdapterGL30_glPushMatrix(); if ($var10 == 1) { var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$9, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$6 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$6); var$6.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$6.$sb = var$5; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$6; } $rt_putStderr($rt_ustr(var$22)); $rt_putStderr($rt_ustr(var$23)); } } if ($var10 == 2) { var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par3, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr($rt_ustr(var$24)); $rt_putStderr($rt_ustr(var$25)); } } if ($var10 == 3) { var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$10, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$6 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$6); var$6.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$6.$sb = var$5; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$6; } $rt_putStderr($rt_ustr(var$26)); $rt_putStderr($rt_ustr(var$27)); } } if ($var10 == 4) { var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$9, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$6 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$6); var$6.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$6.$sb = var$5; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$6; } $rt_putStderr($rt_ustr(var$28)); $rt_putStderr($rt_ustr(var$29)); } } if ($var10 == 5) { var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$10, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr($rt_ustr(var$30)); $rt_putStderr($rt_ustr(var$31)); } } nms_GuiMainMenu_$callClinit(); var$5 = nms_GuiMainMenu_titlePanoramaPaths.data[$var10]; $ptr = 1; continue main; } if (nle_ConfigConstants_panoramaBlur) nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); $var6 = $var6 + 1 | 0; } $var4.$xOffset = 0.0; $var4.$yOffset0 = 0.0; $var4.$zOffset = 0.0; nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 1); nleg_EaglerAdapterGL30_matrixMode = 5889; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; nleg_EaglerAdapterGL30_glPopMatrix(); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glEnable(2929); return; case 1: nle_TextureLocation_bindTexture(var$5); if ($rt_suspending()) { break main; } if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; if (!nle_ConfigConstants_panoramaBlur) nlea_Tessellator_setColorRGBA($var4, var$13, var$14, var$15, 255); else nlea_Tessellator_setColorRGBA($var4, var$13, var$14, var$15, 255 / ($var6 + 1 | 0) | 0); $var4.$hasTexture = 1; $var4.$textureU = var$11; $var4.$textureV = var$11; nlea_Tessellator_addVertex($var4, (-1.0), (-1.0), 1.0); $var4.$hasTexture = 1; $var4.$textureU = var$12; $var4.$textureV = var$11; nlea_Tessellator_addVertex($var4, 1.0, (-1.0), 1.0); $var4.$hasTexture = 1; $var4.$textureU = var$12; $var4.$textureV = var$12; nlea_Tessellator_addVertex($var4, 1.0, 1.0, 1.0); $var4.$hasTexture = 1; $var4.$textureU = var$11; $var4.$textureV = var$12; nlea_Tessellator_addVertex($var4, (-1.0), 1.0, 1.0); nlea_Tessellator_draw($var4); nleg_EaglerAdapterGL30_glPopMatrix(); $var10 = $var10 + 1 | 0; while (true) { if ($var10 < 6) { nleg_EaglerAdapterGL30_glPushMatrix(); if ($var10 == 1) { var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$9, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$6 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$6); var$6.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$6.$sb = var$5; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$6; } $rt_putStderr($rt_ustr(var$22)); $rt_putStderr($rt_ustr(var$23)); } } if ($var10 == 2) { var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par3, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr($rt_ustr(var$24)); $rt_putStderr($rt_ustr(var$25)); } } if ($var10 == 3) { var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$10, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$6 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$6); var$6.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$6.$sb = var$5; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$6; } $rt_putStderr($rt_ustr(var$26)); $rt_putStderr($rt_ustr(var$27)); } } if ($var10 == 4) { var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$9, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$6 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$6); var$6.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$6.$sb = var$5; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$6; } $rt_putStderr($rt_ustr(var$28)); $rt_putStderr($rt_ustr(var$29)); } } if ($var10 == 5) { var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$10, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr($rt_ustr(var$30)); $rt_putStderr($rt_ustr(var$31)); } } nms_GuiMainMenu_$callClinit(); var$5 = nms_GuiMainMenu_titlePanoramaPaths.data[$var10]; continue main; } if (nle_ConfigConstants_panoramaBlur) nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 0); $var6 = $var6 + 1 | 0; if ($var6 >= $rt_imul($var5, $var5)) break; if (nle_ConfigConstants_panoramaBlur) { nleg_EaglerAdapterGL30_glPushMatrix(); $var7 = $var6 % $var5 | 0; $var8 = $var5; $var7 = ($var7 / $var8 - 0.5) / 64.0; $var8 = (($var6 / $var5 | 0) / $var8 - 0.5) / 64.0; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = $var7; var$5.$y = $var8; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$6 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$6); var$6.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$6.$sb = var$5; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$6; } $rt_putStderr($rt_ustr(var$16)); $rt_putStderr($rt_ustr(var$17)); } nlea_EaglerAdapterImpl2_$callClinit(); $panTimer = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$start6)) * 0.029999999329447746; $var8 = $panTimer / 400.0; $var8 = nms_MathHelper_SIN_TABLE.data[($var8 * 10430.3779296875 | 0) & 65535] * 25.0 + 20.0; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var8 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr($rt_ustr(var$18)); $rt_putStderr($rt_ustr(var$19)); } $var8 = -$panTimer * 0.10000000149011612; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var8 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr($rt_ustr(var$20)); $rt_putStderr($rt_ustr(var$21)); } } $var10 = 0; } $var4.$xOffset = 0.0; $var4.$yOffset0 = 0.0; $var4.$zOffset = 0.0; nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 1); nleg_EaglerAdapterGL30_matrixMode = 5889; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; nleg_EaglerAdapterGL30_glPopMatrix(); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glEnable(2929); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, var$5, var$6, $var5, $var6, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, $var7, $var8, $panTimer, $var10, $ptr); }, nms_GuiMainMenu_rotateAndBlurSkybox = ($this, $par1) => { let $var2, $var4, $var4_0, $var5, $var6, $var7, var$8, var$9, var$10, var$11, var$12, var$13; nms_GuiMainMenu_$callClinit(); nleg_EaglerAdapterGL30_glBindTexture(3553, nms_GuiMainMenu_viewportTexture); $this.$mc.$renderEngine.$boundTexture = (-1); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.copyTexSubImage2D(3553, 0, 0, 0, 0, 0, 256, 256); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 1); nlea_Tessellator_$callClinit(); $var2 = nlea_Tessellator_instance; if ($var2.$isDrawing) nlea_Tessellator_draw($var2); $var2.$isDrawing = 1; $var2.$vertexCount = 0; $var2.$rawBufferIndex = 0; $var2.$addedVertices = 0; $var2.$drawMode = 7; $var2.$hasNormals = 0; $var2.$hasColor = 0; $var2.$hasTexture = 0; $var2.$hasBrightness = 0; $var2.$isColorDisabled = 0; $var4 = 0; while ($var4 < 3) { $var4_0 = $var4 + 1 | 0; nlea_Tessellator_setColorRGBA($var2, 255, 255, 255, 1.0 / $var4_0 * 255.0 | 0); $var5 = $this.$width; $var6 = $this.$height; $var7 = ($var4 - 1 | 0) / 256.0; var$8 = $var5; var$9 = $var6; var$10 = $this.$zLevel; var$11 = 0.0 + $var7; $var2.$hasTexture = 1; var$12 = var$11; $var2.$textureU = var$12; $var2.$textureV = 0.0; nlea_Tessellator_addVertex($var2, var$8, var$9, var$10); var$11 = $this.$zLevel; var$13 = 1.0 + $var7; $var2.$hasTexture = 1; $var7 = var$13; $var2.$textureU = $var7; $var2.$textureV = 0.0; nlea_Tessellator_addVertex($var2, var$8, 0.0, var$11); var$11 = $this.$zLevel; $var2.$hasTexture = 1; $var2.$textureU = $var7; $var2.$textureV = 1.0; nlea_Tessellator_addVertex($var2, 0.0, 0.0, var$11); var$10 = $this.$zLevel; $var2.$hasTexture = 1; $var2.$textureU = var$12; $var2.$textureV = 1.0; nlea_Tessellator_addVertex($var2, 0.0, var$9, var$10); $var4 = $var4_0; } nlea_Tessellator_draw($var2); nleg_EaglerAdapterGL30_glColorMask(1, 1, 1, 1); $this.$mc.$renderEngine.$boundTexture = (-1); }, nms_GuiMainMenu_renderSkybox = ($this, $par1, $par2, $par3) => { let $var4, var$5, var$6, $var5, $var6, $var7, $var8, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nle_ConfigConstants_panoramaBlur) { nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2__wglViewport(0, 0, 256, 256); $ptr = 2; continue main; } $var4 = $this.$mc; var$5 = $var4.$displayWidth; var$6 = $var4.$displayHeight; nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2__wglViewport(0, 0, var$5, var$6); $ptr = 1; case 1: nms_GuiMainMenu_drawPanorama($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } return; case 2: nms_GuiMainMenu_drawPanorama($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glEnable(3553); nms_GuiMainMenu_rotateAndBlurSkybox($this, $par3); nms_GuiMainMenu_rotateAndBlurSkybox($this, $par3); nms_GuiMainMenu_rotateAndBlurSkybox($this, $par3); nms_GuiMainMenu_rotateAndBlurSkybox($this, $par3); nms_GuiMainMenu_rotateAndBlurSkybox($this, $par3); nms_GuiMainMenu_rotateAndBlurSkybox($this, $par3); nms_GuiMainMenu_rotateAndBlurSkybox($this, $par3); nms_GuiMainMenu_rotateAndBlurSkybox($this, $par3); $var4 = $this.$mc; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $var4.$displayWidth, $var4.$displayHeight); nlea_Tessellator_$callClinit(); $var4 = nlea_Tessellator_instance; if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; $par1 = $this.$width; $par2 = $this.$height; $var5 = $par1 <= $par2 ? 120.0 / $par2 : 120.0 / $par1; $var6 = $par2 * $var5 / 256.0; $var7 = $par1 * $var5 / 256.0; nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9729); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9729); nlea_Tessellator_setColorRGBA($var4, 255, 255, 255, 255); $var8 = $this.$width; var$11 = $this.$height; var$12 = $this.$zLevel; var$13 = 0.5 - $var6; var$14 = 0.5 + $var7; $var4.$hasTexture = 1; $par3 = var$13; $var4.$textureU = $par3; $var5 = var$14; $var4.$textureV = $var5; nlea_Tessellator_addVertex($var4, 0.0, var$11, var$12); var$15 = $var8; var$12 = $this.$zLevel; var$13 = 0.5 - $var7; $var4.$hasTexture = 1; $var4.$textureU = $par3; $par3 = var$13; $var4.$textureV = $par3; nlea_Tessellator_addVertex($var4, var$15, var$11, var$12); var$12 = $this.$zLevel; var$13 = 0.5 + $var6; $var4.$hasTexture = 1; $var6 = var$13; $var4.$textureU = $var6; $var4.$textureV = $par3; nlea_Tessellator_addVertex($var4, var$15, 0.0, var$12); var$11 = $this.$zLevel; $var4.$hasTexture = 1; $var4.$textureU = $var6; $var4.$textureV = $var5; nlea_Tessellator_addVertex($var4, 0.0, 0.0, var$11); nlea_Tessellator_draw($var4); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, var$5, var$6, $var5, $var6, $var7, $var8, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_GuiMainMenu_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, $w, $var6, $var10, var$8, $i, $posX, $posY, $ww, $hh, var$14, var$15, var$16, var$17, $var8, $x, $y, $ln0w, $ln1w, $ln2w, $over, $iconSize, var$26, $lines, $offset, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$offset = $thread.pop();$lines = $thread.pop();var$26 = $thread.pop();$iconSize = $thread.pop();$over = $thread.pop();$ln2w = $thread.pop();$ln1w = $thread.pop();$ln0w = $thread.pop();$y = $thread.pop();$x = $thread.pop();$var8 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$hh = $thread.pop();$ww = $thread.pop();$posY = $thread.pop();$posX = $thread.pop();$i = $thread.pop();var$8 = $thread.pop();$var10 = $thread.pop();$var6 = $thread.pop();$w = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$mousex1 = $par1; $this.$mousey1 = $par2; $ptr = 1; case 1: nms_GuiMainMenu_renderSkybox($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var4 = nlea_Tessellator_instance; $w = $this.$width; $var6 = ($w / 2 | 0) - 137 | 0; if (nle_ConfigConstants_panoramaBlur) { nms_Gui_drawGradientRect($this, 0, 0, $w, $this.$height, (-2130706433), 16777215); nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, 0, (-2147483648)); } if (!nle_ConfigConstants_eaglercraftTitleLogo) { $var10 = nms_GuiMainMenu_mclogo; $ptr = 2; continue main; } $var10 = nms_GuiMainMenu_eag; $ptr = 3; continue main; case 2: nle_TextureLocation_bindTexture($var10); if ($rt_suspending()) { break main; } nms_Gui_drawTexturedModalRect($this, $var6 + 0 | 0, 30, 0, 0, 155, 44); nms_Gui_drawTexturedModalRect($this, $var6 + 155 | 0, 30, 0, 45, 155, 44); $var10 = $this.$fontRenderer; var$8 = $rt_s(1594); $i = 2; $posX = $this.$height - 20 | 0; $posY = 16777215; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = 3; $hh = $posX + 1 | 0; $w = 1; $ptr = 4; continue main; case 3: nle_TextureLocation_bindTexture($var10); if ($rt_suspending()) { break main; } nms_Gui_drawTexturedModalRect($this, $var6 + 0 | 0, 30, 0, 0, 155, 44); nms_Gui_drawTexturedModalRect($this, $var6 + 155 | 0, 30, 0, 45, 155, 44); $var10 = $this.$fontRenderer; var$8 = $rt_s(1594); $i = 2; $posX = $this.$height - 20 | 0; $posY = 16777215; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = 3; $hh = $posX + 1 | 0; $w = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($var10, var$8, $ww, $hh, $posY, $w); if ($rt_suspending()) { break main; } $hh = $tmp; $ww = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString($var10, var$8, $i, $posX, $posY, $ww); if ($rt_suspending()) { break main; } $i = $tmp; var$14 = $this.$fontRenderer; nms_EnumChatFormatting_$callClinit(); $var10 = nms_EnumChatFormatting_GRAY; var$15 = $var10 === null ? $rt_s(1) : $var10.$field_96304_B; $var10 = new jl_StringBuilder; $var10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var10, $var10.$length0, $rt_s(1595)); $i = $var10.$length0; if (var$15 === null) var$15 = $rt_s(1); jl_AbstractStringBuilder_insert($var10, $i, var$15); jl_AbstractStringBuilder_insert($var10, $var10.$length0, $rt_s(1596)); var$8 = new jl_String; var$16 = $var10.$buffer; var$17 = var$16.data; $posX = $var10.$length0; $posY = var$17.length; if ($posX >= 0 && $posX <= ($posY - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$16.data, 0, $posX); $i = 2; $posX = $this.$height - 10 | 0; $posY = 16777215; var$14.$randomStyle = 0; var$14.$boldStyle = 0; var$14.$italicStyle = 0; var$14.$underlineStyle = 0; var$14.$strikethroughStyle = 0; $ww = 3; $hh = $posX + 1 | 0; $w = 1; $ptr = 6; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var10); $rt_throw($var10); case 6: $tmp = nms_FontRenderer_renderString(var$14, var$8, $ww, $hh, $posY, $w); if ($rt_suspending()) { break main; } $hh = $tmp; $ww = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$14, var$8, $i, $posX, $posY, $ww); if ($rt_suspending()) { break main; } $i = $tmp; $var10 = $rt_s(1597); var$8 = $this.$fontRenderer; $i = ($this.$width - nms_FontRenderer_getStringWidth(var$8, $var10) | 0) - 2 | 0; $posX = $this.$height - 10 | 0; $posY = 16777215; var$8.$randomStyle = 0; var$8.$boldStyle = 0; var$8.$italicStyle = 0; var$8.$underlineStyle = 0; var$8.$strikethroughStyle = 0; $ww = $i + 1 | 0; $hh = $posX + 1 | 0; $w = 1; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString(var$8, $var10, $ww, $hh, $posY, $w); if ($rt_suspending()) { break main; } $hh = $tmp; $ww = 0; $ptr = 9; case 9: $tmp = nms_FontRenderer_renderString(var$8, $var10, $i, $posX, $posY, $ww); if ($rt_suspending()) { break main; } $i = $tmp; $var10 = $rt_s(1598); var$8 = $this.$fontRenderer; $i = ($this.$width - nms_FontRenderer_getStringWidth(var$8, $var10) | 0) - 2 | 0; $posX = $this.$height - 20 | 0; $posY = 16777215; var$8.$randomStyle = 0; var$8.$boldStyle = 0; var$8.$italicStyle = 0; var$8.$underlineStyle = 0; var$8.$strikethroughStyle = 0; $ww = $i + 1 | 0; $hh = $posX + 1 | 0; $w = 1; $ptr = 10; case 10: $tmp = nms_FontRenderer_renderString(var$8, $var10, $ww, $hh, $posY, $w); if ($rt_suspending()) { break main; } $hh = $tmp; $ww = 0; $ptr = 11; case 11: $tmp = nms_FontRenderer_renderString(var$8, $var10, $i, $posX, $posY, $ww); if ($rt_suspending()) { break main; } $i = $tmp; if (nms_GuiMainMenu_showingEndian && nlea_EaglerAdapterImpl2_isBigEndian0()) { $var10 = $this.$fontRenderer; var$8 = $rt_s(1599); $i = $this.$width / 2 | 0; $posX = $this.$height - 10 | 0; $posY = (-17477); $i = $i - (nms_FontRenderer_getStringWidth($var10, var$8) / 2 | 0) | 0; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = $i + 1 | 0; $hh = $posX + 1 | 0; $w = 1; $ptr = 12; continue main; } $var10 = $this.$field_92025_p; if ($var10 !== null && $var10.$nativeString.length > 0) { nms_Gui_drawRect($this.$field_92022_t - 2 | 0, $this.$field_92021_u - 2 | 0, $this.$field_92020_v + 2 | 0, $this.$field_92019_w - 1 | 0, 1428160512); $var10 = $this.$fontRenderer; var$8 = $this.$field_92025_p; $i = $this.$field_92022_t; $posX = $this.$field_92021_u; $posY = 16777215; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = $i + 1 | 0; $hh = $posX + 1 | 0; $w = 1; $ptr = 14; continue main; } if ($this.$splashText === null) { a: { $var10 = $rt_s(1585); $w = (nms_FontRenderer_getStringWidth($this.$fontRenderer, $var10) * 3 | 0) / 4 | 0; if (!$this.$showAck) { $i = $this.$width; $posX = ($i - $w | 0) - 4 | 0; if ($par1 >= $posX && $par1 <= $i && $par2 >= 0 && $par2 <= 9) { nms_Gui_drawRect($posX, 0, $i, 9, 1426063513); break a; } } $i = $this.$width; nms_Gui_drawRect(($i - $w | 0) - 4 | 0, 0, $i, 9, 1428160512); } nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = ($this.$width - $w | 0) - 2 | 0; var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = $par3; var$8.$y = 1.0; var$8.$z = 0.0; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; $var4.$buf = $rt_createByteArray(32); jl_Object__init_(var$8); var$8.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var4, 16); var$8.$sb = $var4; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = 0.75; var$8.$y = 0.75; var$8.$z = 0.75; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; $var4.$buf = $rt_createByteArray(32); jl_Object__init_(var$8); var$8.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var4, 16); var$8.$sb = $var4; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = $this.$fontRenderer; $i = 0; $posX = 0; $posY = 16777215; var$8.$randomStyle = 0; var$8.$boldStyle = 0; var$8.$italicStyle = 0; var$8.$underlineStyle = 0; var$8.$strikethroughStyle = 0; $ww = 1; $hh = 1; $ptr = 16; continue main; } nlea_Tessellator_setColorRGBA($var4, 255, 255, 255, 255); nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = ($this.$width / 2 | 0) + 90 | 0; $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = $par3; $var10.$y = 70.0; $var10.$z = 0.0; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = 0.0; $var10.$y = 0.0; $var10.$z = 1.0; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nlea_EaglerAdapterImpl2_$callClinit(); $var8 = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(1000))) / 1000.0 * 3.1415927410125732 * 2.0; $var8 = nms_MathHelper_SIN_TABLE.data[($var8 * 10430.3779296875 | 0) & 65535] * 0.10000000149011612; if ($var8 < 0.0) $var8 = -$var8; $par3 = (1.7999999523162842 - $var8) * 100.0 / (nms_FontRenderer_getStringWidth($this.$fontRenderer, $this.$splashText) + 32 | 0); $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = $par3; $var10.$y = $par3; $var10.$z = $par3; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = $this.$fontRenderer; var$8 = $this.$splashText; $posX = (-8); $posY = 16776960; $i = 0 - (nms_FontRenderer_getStringWidth($var10, var$8) / 2 | 0) | 0; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = $i + 1 | 0; $hh = (-7); $w = 1; $ptr = 18; continue main; case 12: $tmp = nms_FontRenderer_renderString($var10, var$8, $ww, $hh, $posY, $w); if ($rt_suspending()) { break main; } $hh = $tmp; $ww = 0; $ptr = 13; case 13: $tmp = nms_FontRenderer_renderString($var10, var$8, $i, $posX, $posY, $ww); if ($rt_suspending()) { break main; } $i = $tmp; $var10 = $this.$field_92025_p; if ($var10 !== null && $var10.$nativeString.length > 0) { nms_Gui_drawRect($this.$field_92022_t - 2 | 0, $this.$field_92021_u - 2 | 0, $this.$field_92020_v + 2 | 0, $this.$field_92019_w - 1 | 0, 1428160512); $var10 = $this.$fontRenderer; var$8 = $this.$field_92025_p; $i = $this.$field_92022_t; $posX = $this.$field_92021_u; $posY = 16777215; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = $i + 1 | 0; $hh = $posX + 1 | 0; $w = 1; $ptr = 14; continue main; } if ($this.$splashText === null) { b: { $var10 = $rt_s(1585); $w = (nms_FontRenderer_getStringWidth($this.$fontRenderer, $var10) * 3 | 0) / 4 | 0; if (!$this.$showAck) { $i = $this.$width; $posX = ($i - $w | 0) - 4 | 0; if ($par1 >= $posX && $par1 <= $i && $par2 >= 0 && $par2 <= 9) { nms_Gui_drawRect($posX, 0, $i, 9, 1426063513); break b; } } $i = $this.$width; nms_Gui_drawRect(($i - $w | 0) - 4 | 0, 0, $i, 9, 1428160512); } nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = ($this.$width - $w | 0) - 2 | 0; var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = $par3; var$8.$y = 1.0; var$8.$z = 0.0; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; $var4.$buf = $rt_createByteArray(32); jl_Object__init_(var$8); var$8.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var4, 16); var$8.$sb = $var4; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = 0.75; var$8.$y = 0.75; var$8.$z = 0.75; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; $var4.$buf = $rt_createByteArray(32); jl_Object__init_(var$8); var$8.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var4, 16); var$8.$sb = $var4; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = $this.$fontRenderer; $i = 0; $posX = 0; $posY = 16777215; var$8.$randomStyle = 0; var$8.$boldStyle = 0; var$8.$italicStyle = 0; var$8.$underlineStyle = 0; var$8.$strikethroughStyle = 0; $ww = 1; $hh = 1; $ptr = 16; continue main; } nlea_Tessellator_setColorRGBA($var4, 255, 255, 255, 255); nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = ($this.$width / 2 | 0) + 90 | 0; $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = $par3; $var10.$y = 70.0; $var10.$z = 0.0; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = 0.0; $var10.$y = 0.0; $var10.$z = 1.0; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nlea_EaglerAdapterImpl2_$callClinit(); $var8 = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(1000))) / 1000.0 * 3.1415927410125732 * 2.0; $var8 = nms_MathHelper_SIN_TABLE.data[($var8 * 10430.3779296875 | 0) & 65535] * 0.10000000149011612; if ($var8 < 0.0) $var8 = -$var8; $par3 = (1.7999999523162842 - $var8) * 100.0 / (nms_FontRenderer_getStringWidth($this.$fontRenderer, $this.$splashText) + 32 | 0); $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = $par3; $var10.$y = $par3; $var10.$z = $par3; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = $this.$fontRenderer; var$8 = $this.$splashText; $posX = (-8); $posY = 16776960; $i = 0 - (nms_FontRenderer_getStringWidth($var10, var$8) / 2 | 0) | 0; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = $i + 1 | 0; $hh = (-7); $w = 1; $ptr = 18; continue main; case 14: $tmp = nms_FontRenderer_renderString($var10, var$8, $ww, $hh, $posY, $w); if ($rt_suspending()) { break main; } $hh = $tmp; $ww = 0; $ptr = 15; case 15: $tmp = nms_FontRenderer_renderString($var10, var$8, $i, $posX, $posY, $ww); if ($rt_suspending()) { break main; } $i = $tmp; if ($this.$splashText === null) { c: { $var10 = $rt_s(1585); $w = (nms_FontRenderer_getStringWidth($this.$fontRenderer, $var10) * 3 | 0) / 4 | 0; if (!$this.$showAck) { $i = $this.$width; $posX = ($i - $w | 0) - 4 | 0; if ($par1 >= $posX && $par1 <= $i && $par2 >= 0 && $par2 <= 9) { nms_Gui_drawRect($posX, 0, $i, 9, 1426063513); break c; } } $i = $this.$width; nms_Gui_drawRect(($i - $w | 0) - 4 | 0, 0, $i, 9, 1428160512); } nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = ($this.$width - $w | 0) - 2 | 0; var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = $par3; var$8.$y = 1.0; var$8.$z = 0.0; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; $var4.$buf = $rt_createByteArray(32); jl_Object__init_(var$8); var$8.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var4, 16); var$8.$sb = $var4; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = 0.75; var$8.$y = 0.75; var$8.$z = 0.75; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; $var4.$buf = $rt_createByteArray(32); jl_Object__init_(var$8); var$8.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var4, 16); var$8.$sb = $var4; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = $this.$fontRenderer; $i = 0; $posX = 0; $posY = 16777215; var$8.$randomStyle = 0; var$8.$boldStyle = 0; var$8.$italicStyle = 0; var$8.$underlineStyle = 0; var$8.$strikethroughStyle = 0; $ww = 1; $hh = 1; $ptr = 16; continue main; } nlea_Tessellator_setColorRGBA($var4, 255, 255, 255, 255); nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = ($this.$width / 2 | 0) + 90 | 0; $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = $par3; $var10.$y = 70.0; $var10.$z = 0.0; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = 0.0; $var10.$y = 0.0; $var10.$z = 1.0; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nlea_EaglerAdapterImpl2_$callClinit(); $var8 = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(1000))) / 1000.0 * 3.1415927410125732 * 2.0; $var8 = nms_MathHelper_SIN_TABLE.data[($var8 * 10430.3779296875 | 0) & 65535] * 0.10000000149011612; if ($var8 < 0.0) $var8 = -$var8; $par3 = (1.7999999523162842 - $var8) * 100.0 / (nms_FontRenderer_getStringWidth($this.$fontRenderer, $this.$splashText) + 32 | 0); $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = $par3; $var10.$y = $par3; $var10.$z = $par3; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = $this.$fontRenderer; var$8 = $this.$splashText; $posX = (-8); $posY = 16776960; $i = 0 - (nms_FontRenderer_getStringWidth($var10, var$8) / 2 | 0) | 0; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = $i + 1 | 0; $hh = (-7); $w = 1; $ptr = 18; continue main; case 16: $tmp = nms_FontRenderer_renderString(var$8, $var10, $ww, $ww, $posY, $hh); if ($rt_suspending()) { break main; } $hh = $tmp; $ww = 0; $ptr = 17; case 17: $tmp = nms_FontRenderer_renderString(var$8, $var10, $i, $posX, $posY, $ww); if ($rt_suspending()) { break main; } $i = $tmp; nleg_EaglerAdapterGL30_glPopMatrix(); if (nle_ConfigConstants_mainMenuItemLink === null) { if (!$this.$showAck) { $i = 0; $var10 = $this.$buttonList; $posX = $rt_compare($i, $var10.$size0); if ($posX >= 0) return; if ($i >= 0 && $posX < 0) { $var10 = $var10.$array.data[$i]; var$8 = $this.$mc; $ptr = 21; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); } $par1 = 0; $par2 = 0; $i = 0; $var10 = $this.$buttonList; $posX = $rt_compare($i, $var10.$size0); if ($posX >= 0) { nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $x = ($this.$width - 345 | 0) / 2 | 0; $y = ($this.$height - 230 | 0) / 2 | 0; $var10 = nms_GuiMainMenu_ackbk; $ptr = 20; continue main; } if ($i >= 0 && $posX < 0) { $var10 = $var10.$array.data[$i]; var$8 = $this.$mc; $ptr = 23; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); } $i = $this.$width; $posX = (($i / 2 | 0) - 170 | 0) - ($i / 10 | 0) | 0; $posY = ($this.$height / 4 | 0) + 70 | 0; $ww = 66; $hh = 46; $var10 = nle_ConfigConstants_mainMenuItemLine0; $ln0w = $var10 === null ? 0 : nms_FontRenderer_getStringWidth($this.$fontRenderer, $var10); if ($ww < $ln0w) $ww = $ln0w; if ($ln0w > 0) $hh = 58; $var10 = nle_ConfigConstants_mainMenuItemLine1; $ln1w = $var10 === null ? 0 : nms_FontRenderer_getStringWidth($this.$fontRenderer, $var10); if ($ww < $ln1w) $ww = $ln1w; if ($ln1w > 0) $hh = $hh + 12 | 0; $var10 = nle_ConfigConstants_mainMenuItemLine2; $ln2w = $var10 === null ? 0 : nms_FontRenderer_getStringWidth($this.$fontRenderer, $var10); if ($ww < $ln2w) $ww = $ln2w; if ($ln2w > 0) $hh = $hh + 12 | 0; $var6 = $ww + 20 | 0; $w = $hh + 20 | 0; $over = $par1 > $posX && $par1 < ($posX + (($var6 / 4 | 0) * 3 | 0) | 0) && $par2 > $posY && $par2 < ($posY + (($w / 4 | 0) * 3 | 0) | 0) ? 1 : 0; $iconSize = 45; if (!$over) { nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nlea_EaglerAdapterImpl2_$callClinit(); var$26 = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(1000000))) / 300.0; var$26 = nms_MathHelper_SIN_TABLE.data[(var$26 * 10430.3779296875 | 0) & 65535] * 0.17000000178813934 + 0.5; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 0.8999999761581421; nleg_EaglerAdapterGL30_colorG = 0.8999999761581421; nleg_EaglerAdapterGL30_colorB = 0.8999999761581421; nleg_EaglerAdapterGL30_colorA = var$26; $var10 = nms_GuiMainMenu_items; $ptr = 25; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = $posX; $var8 = $posY; $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = $par3; $var10.$y = $var8; $var10.$z = 0.0; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = 0.75; $var10.$y = 0.75; $var10.$z = 0.75; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_Gui_drawRect(0, 0, $var6, $w, 1140850722); $posY = $var6 - 3 | 0; nms_Gui_drawRect(3, 3, $posY, 4, (-1717986919)); $posX = $w - 4 | 0; nms_Gui_drawRect(3, $posX, $posY, $w - 3 | 0, (-1717986919)); nms_Gui_drawRect(3, 4, 4, $posX, (-1717986919)); nms_Gui_drawRect($var6 - 4 | 0, 4, $posY, $posX, (-1717986919)); $i = 10; if ($ln0w <= 0) { $var10 = nms_GuiMainMenu_items; $ptr = 28; continue main; } $var10 = $this.$fontRenderer; var$8 = nle_ConfigConstants_mainMenuItemLine0; $posX = ($var6 - $ln0w | 0) / 2 | 0; $posY = 16777113; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = $posX + 1 | 0; $hh = 11; $w = 1; $ptr = 26; continue main; case 18: $tmp = nms_FontRenderer_renderString($var10, var$8, $ww, $hh, $posY, $w); if ($rt_suspending()) { break main; } $hh = $tmp; $ww = 0; $ptr = 19; case 19: $tmp = nms_FontRenderer_renderString($var10, var$8, $i, $posX, $posY, $ww); if ($rt_suspending()) { break main; } $i = $tmp; nleg_EaglerAdapterGL30_glPopMatrix(); d: { $var10 = $rt_s(1585); $w = (nms_FontRenderer_getStringWidth($this.$fontRenderer, $var10) * 3 | 0) / 4 | 0; if (!$this.$showAck) { $i = $this.$width; $posX = ($i - $w | 0) - 4 | 0; if ($par1 >= $posX && $par1 <= $i && $par2 >= 0 && $par2 <= 9) { nms_Gui_drawRect($posX, 0, $i, 9, 1426063513); break d; } } $i = $this.$width; nms_Gui_drawRect(($i - $w | 0) - 4 | 0, 0, $i, 9, 1428160512); } nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = ($this.$width - $w | 0) - 2 | 0; var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = $par3; var$8.$y = 1.0; var$8.$z = 0.0; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; $var4.$buf = $rt_createByteArray(32); jl_Object__init_(var$8); var$8.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var4, 16); var$8.$sb = $var4; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = 0.75; var$8.$y = 0.75; var$8.$z = 0.75; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; $var4.$buf = $rt_createByteArray(32); jl_Object__init_(var$8); var$8.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var4, 16); var$8.$sb = $var4; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = $this.$fontRenderer; $i = 0; $posX = 0; $posY = 16777215; var$8.$randomStyle = 0; var$8.$boldStyle = 0; var$8.$italicStyle = 0; var$8.$underlineStyle = 0; var$8.$strikethroughStyle = 0; $ww = 1; $hh = 1; $ptr = 16; continue main; case 20: nle_TextureLocation_bindTexture($var10); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = $x; $var8 = $y; $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = $par3; $var10.$y = $var8; $var10.$z = 0.0; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = 1.3899999856948853; $var10.$y = 1.3899999856948853; $var10.$z = 1.3899999856948853; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_Gui_drawTexturedModalRect($this, 0, 0, 0, 0, 248, 166); nleg_EaglerAdapterGL30_glPopMatrix(); $var10 = nms_GuiMainMenu_beaconx; $ptr = 22; continue main; case 21: $var10.$drawButton(var$8, $par1, $par2); if ($rt_suspending()) { break main; } $i = $i + 1 | 0; $var10 = $this.$buttonList; $posX = $rt_compare($i, $var10.$size0); if ($posX >= 0) return; if ($i >= 0 && $posX < 0) { $var10 = $var10.$array.data[$i]; var$8 = $this.$mc; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); case 22: nle_TextureLocation_bindTexture($var10); if ($rt_suspending()) { break main; } nms_Gui_drawTexturedModalRect($this, $x + 323 | 0, $y + 7 | 0, 114, 223, 13, 13); $lines = $this.$ackLines.$size0; if ($this.$scrollPosition < 0) $this.$scrollPosition = 0; if (($this.$scrollPosition + 21 | 0) > $lines) $this.$scrollPosition = $lines - 21 | 0; $i = 0; $par2 = $x + 10 | 0; $posX = $y + 10 | 0; if ($i >= 21) { $offset = (193 * $this.$scrollPosition | 0) / $lines | 0; $par1 = $x + 326 | 0; $par2 = $y + 27 | 0; $i = $x + 334 | 0; nms_Gui_drawRect($par1, $par2, $i, $y + 220 | 0, 855638048); nms_Gui_drawRect($par1, $par2 + $offset | 0, $i, (($par2 + (4053 / $lines | 0) | 0) + $offset | 0) + 1 | 0, 1711276032); return; } $var10 = $this.$fontRenderer; var$8 = $this.$ackLines; $par1 = $this.$scrollPosition + $i | 0; if ($par1 >= 0 && $par1 < var$8.$size0) { var$8 = var$8.$array.data[$par1]; $par1 = $posX + ($i * 10 | 0) | 0; $posY = 4210784; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = 0; $ptr = 24; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); case 23: $var10.$drawButton(var$8, $par1, $par2); if ($rt_suspending()) { break main; } $i = $i + 1 | 0; $var10 = $this.$buttonList; $posX = $rt_compare($i, $var10.$size0); if ($posX >= 0) { nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $x = ($this.$width - 345 | 0) / 2 | 0; $y = ($this.$height - 230 | 0) / 2 | 0; $var10 = nms_GuiMainMenu_ackbk; $ptr = 20; continue main; } if ($i >= 0 && $posX < 0) { $var10 = $var10.$array.data[$i]; var$8 = $this.$mc; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); case 24: nms_FontRenderer_renderString($var10, var$8, $par2, $par1, $posY, $ww); if ($rt_suspending()) { break main; } $i = $i + 1 | 0; if ($i >= 21) { $offset = (193 * $this.$scrollPosition | 0) / $lines | 0; $par1 = $x + 326 | 0; $par2 = $y + 27 | 0; $i = $x + 334 | 0; nms_Gui_drawRect($par1, $par2, $i, $y + 220 | 0, 855638048); nms_Gui_drawRect($par1, $par2 + $offset | 0, $i, (($par2 + (4053 / $lines | 0) | 0) + $offset | 0) + 1 | 0, 1711276032); return; } $var10 = $this.$fontRenderer; var$8 = $this.$ackLines; $par1 = $this.$scrollPosition + $i | 0; if ($par1 >= 0 && $par1 < var$8.$size0) { var$8 = var$8.$array.data[$par1]; $par1 = $posX + ($i * 10 | 0) | 0; $posY = 4210784; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = 0; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); case 25: nle_TextureLocation_bindTexture($var10); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = $posX; $var8 = $posY; $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = $par3; $var10.$y = $var8; $var10.$z = 0.0; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = 0.75; $var10.$y = 0.75; $var10.$z = 0.75; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var10.$sb = var$8; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $i = ($var6 - $iconSize | 0) / 2 | 0; $posX = $ln0w <= 0 ? 10 : 22; nms_Item_$callClinit(); nms_Gui_drawTexturedModelRectFromIcon($this, $i, $posX, nms_Item_itemsList.data[nms_GuiMainMenu_showRandomItem].$getIconFromDamage(0), $iconSize, $iconSize); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(3042); if (!$this.$showAck) { $i = 0; $var10 = $this.$buttonList; $posX = $rt_compare($i, $var10.$size0); if ($posX >= 0) return; if ($i >= 0 && $posX < 0) { $var10 = $var10.$array.data[$i]; var$8 = $this.$mc; $ptr = 21; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); } $par1 = 0; $par2 = 0; $i = 0; $var10 = $this.$buttonList; $posX = $rt_compare($i, $var10.$size0); if ($posX >= 0) { nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $x = ($this.$width - 345 | 0) / 2 | 0; $y = ($this.$height - 230 | 0) / 2 | 0; $var10 = nms_GuiMainMenu_ackbk; $ptr = 20; continue main; } if ($i >= 0 && $posX < 0) { $var10 = $var10.$array.data[$i]; var$8 = $this.$mc; $ptr = 23; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); case 26: $tmp = nms_FontRenderer_renderString($var10, var$8, $ww, $hh, $posY, $w); if ($rt_suspending()) { break main; } $hh = $tmp; $ww = 0; $ptr = 27; case 27: $tmp = nms_FontRenderer_renderString($var10, var$8, $posX, $i, $posY, $ww); if ($rt_suspending()) { break main; } $i = $tmp; $i = 22; $var10 = nms_GuiMainMenu_items; $ptr = 28; case 28: nle_TextureLocation_bindTexture($var10); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $posX = ($var6 - $iconSize | 0) / 2 | 0; nms_Item_$callClinit(); nms_Gui_drawTexturedModelRectFromIcon($this, $posX, $i, nms_Item_itemsList.data[nms_GuiMainMenu_showRandomItem].$getIconFromDamage(0), $iconSize, $iconSize); $i = $i + 50 | 0; if ($ln1w > 0) { $var10 = $this.$fontRenderer; var$8 = nle_ConfigConstants_mainMenuItemLine1; $posX = ($var6 - $ln1w | 0) / 2 | 0; $posY = 16777113; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = $posX + 1 | 0; $hh = $i + 1 | 0; $w = 1; $ptr = 29; continue main; } if ($ln2w > 0) { $var10 = $this.$fontRenderer; var$8 = nle_ConfigConstants_mainMenuItemLine2; $posX = ($var6 - $ln2w | 0) / 2 | 0; $posY = 14540253; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = $posX + 1 | 0; $hh = $i + 1 | 0; $w = 1; $ptr = 31; continue main; } nleg_EaglerAdapterGL30_glPopMatrix(); if (!$this.$showAck) { $i = 0; $var10 = $this.$buttonList; $posX = $rt_compare($i, $var10.$size0); if ($posX >= 0) return; if ($i >= 0 && $posX < 0) { $var10 = $var10.$array.data[$i]; var$8 = $this.$mc; $ptr = 21; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); } $par1 = 0; $par2 = 0; $i = 0; $var10 = $this.$buttonList; $posX = $rt_compare($i, $var10.$size0); if ($posX >= 0) { nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $x = ($this.$width - 345 | 0) / 2 | 0; $y = ($this.$height - 230 | 0) / 2 | 0; $var10 = nms_GuiMainMenu_ackbk; $ptr = 20; continue main; } if ($i >= 0 && $posX < 0) { $var10 = $var10.$array.data[$i]; var$8 = $this.$mc; $ptr = 23; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); case 29: $tmp = nms_FontRenderer_renderString($var10, var$8, $ww, $hh, $posY, $w); if ($rt_suspending()) { break main; } $hh = $tmp; $ww = 0; $ptr = 30; case 30: $tmp = nms_FontRenderer_renderString($var10, var$8, $posX, $i, $posY, $ww); if ($rt_suspending()) { break main; } $posX = $tmp; $i = $i + 12 | 0; if ($ln2w > 0) { $var10 = $this.$fontRenderer; var$8 = nle_ConfigConstants_mainMenuItemLine2; $posX = ($var6 - $ln2w | 0) / 2 | 0; $posY = 14540253; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $ww = $posX + 1 | 0; $hh = $i + 1 | 0; $w = 1; $ptr = 31; continue main; } nleg_EaglerAdapterGL30_glPopMatrix(); if (!$this.$showAck) { $i = 0; $var10 = $this.$buttonList; $posX = $rt_compare($i, $var10.$size0); if ($posX >= 0) return; if ($i >= 0 && $posX < 0) { $var10 = $var10.$array.data[$i]; var$8 = $this.$mc; $ptr = 21; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); } $par1 = 0; $par2 = 0; $i = 0; $var10 = $this.$buttonList; $posX = $rt_compare($i, $var10.$size0); if ($posX >= 0) { nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $x = ($this.$width - 345 | 0) / 2 | 0; $y = ($this.$height - 230 | 0) / 2 | 0; $var10 = nms_GuiMainMenu_ackbk; $ptr = 20; continue main; } if ($i >= 0 && $posX < 0) { $var10 = $var10.$array.data[$i]; var$8 = $this.$mc; $ptr = 23; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); case 31: $tmp = nms_FontRenderer_renderString($var10, var$8, $ww, $hh, $posY, $w); if ($rt_suspending()) { break main; } $hh = $tmp; $ww = 0; $ptr = 32; case 32: $tmp = nms_FontRenderer_renderString($var10, var$8, $posX, $i, $posY, $ww); if ($rt_suspending()) { break main; } $i = $tmp; nleg_EaglerAdapterGL30_glPopMatrix(); if (!$this.$showAck) { $i = 0; $var10 = $this.$buttonList; $posX = $rt_compare($i, $var10.$size0); if ($posX >= 0) return; if ($i >= 0 && $posX < 0) { $var10 = $var10.$array.data[$i]; var$8 = $this.$mc; $ptr = 21; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); } $par1 = 0; $par2 = 0; $i = 0; $var10 = $this.$buttonList; $posX = $rt_compare($i, $var10.$size0); if ($posX >= 0) { nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $x = ($this.$width - 345 | 0) / 2 | 0; $y = ($this.$height - 230 | 0) / 2 | 0; $var10 = nms_GuiMainMenu_ackbk; $ptr = 20; continue main; } if ($i >= 0 && $posX < 0) { $var10 = $var10.$array.data[$i]; var$8 = $this.$mc; $ptr = 23; continue main; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $w, $var6, $var10, var$8, $i, $posX, $posY, $ww, $hh, var$14, var$15, var$16, var$17, $var8, $x, $y, $ln0w, $ln1w, $ln2w, $over, $iconSize, var$26, $lines, $offset, $ptr); }, nms_GuiMainMenu_updateScreen = $this => { let var$1, var$2; a: { nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_buttonStates.data[0]) { var$1 = $this.$dragstart; if (var$1 > 0) { var$1 = $this.$mousey1 - var$1 | 0; var$2 = $this.$ackLines.$size0; var$1 = ($rt_imul(var$1, var$2) / 193 | 0) + $this.$dragstartI | 0; $this.$scrollPosition = var$1; if (var$1 < 0) $this.$scrollPosition = 0; if (($this.$scrollPosition + 21 | 0) > var$2) $this.$scrollPosition = var$2 - 21 | 0; break a; } } $this.$dragstart = (-1); } }, nms_GuiMainMenu__clinit_ = () => { let var$1, $rand$seed, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = new nle_EaglercraftRandom; $rand$seed = Long_fromNumber(performance.now() * 1000000.0); var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = $rand$seed; nms_GuiMainMenu_rand = var$1; nms_GuiMainMenu_showingEndian = 1; if (nle_ConfigConstants_mainMenuItemLink === null) nms_GuiMainMenu_showRandomItem = (-1); else { $rand$seed = Long_fromNumber(performance.now() * 1000000.0); while (true) { $rand$seed = Long_and(Long_add(Long_mul($rand$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3 = Long_lo(Long_shr(Long_mul(Long_fromInt(256), Long_fromInt(Long_lo(Long_shru($rand$seed, 17)))), 31)) + 256 | 0; nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$3] !== null) break; } nms_GuiMainMenu_showRandomItem = var$3; } nms_GuiMainMenu_viewportTexture = (-1); nms_GuiMainMenu_field_96140_r = 0; nms_GuiMainMenu_field_96139_s = 0; var$4 = $rt_createArray(nle_TextureLocation, 6); var$5 = var$4.data; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1600); var$1.$glObject = (-1); var$6 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$5[0] = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1601); var$1.$glObject = (-1); var$6 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$5[1] = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1602); var$1.$glObject = (-1); var$6 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$5[2] = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1603); var$1.$glObject = (-1); var$6 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$5[3] = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1604); var$1.$glObject = (-1); var$6 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$5[4] = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1605); var$1.$glObject = (-1); var$6 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$5[5] = var$1; nms_GuiMainMenu_titlePanoramaPaths = var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1606); var$1.$glObject = (-1); var$6 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; nms_GuiMainMenu_mclogo = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1607); var$1.$glObject = (-1); var$6 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; nms_GuiMainMenu_eag = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1608); var$1.$glObject = (-1); var$6 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; nms_GuiMainMenu_ackbk = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1609); var$1.$glObject = (-1); var$6 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; nms_GuiMainMenu_beaconx = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1181); var$1.$glObject = (-1); var$6 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; nms_GuiMainMenu_items = var$1; }; function nms_GuiConnecting() { let a = this; nms_GuiScreen.call(a); a.$clientHandler = null; a.$networkConnection = null; a.$uri = null; a.$cancelled = 0; a.$field_98098_c = null; a.$timer0 = 0; } let nms_GuiConnecting__init_ = ($this, $par1GuiScreen, $par2Minecraft, $par3ServerData) => { let var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$par3ServerData = $thread.pop();$par2Minecraft = $thread.pop();$par1GuiScreen = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_GuiScreen__init_($this); $this.$cancelled = 0; $this.$mc = $par2Minecraft; $this.$field_98098_c = $par1GuiScreen; $this.$clientHandler = null; $this.$networkConnection = null; $this.$uri = $par3ServerData.$serverIP; $par1GuiScreen = null; var$4 = $rt_s(18); $ptr = 1; case 1: nms_Minecraft_loadWorld($par2Minecraft, $par1GuiScreen, var$4); if ($rt_suspending()) { break main; } $par2Minecraft.$currentServerData = $par3ServerData; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiScreen, $par2Minecraft, $par3ServerData, var$4, $ptr); }, nms_GuiConnecting__init_0 = (var_0, var_1, var_2) => { let var_3 = new nms_GuiConnecting(); nms_GuiConnecting__init_(var_3, var_0, var_1, var_2); return var_3; }, nms_GuiConnecting_updateScreen = $this => { let $e, var$2, var$3, var$4, var$5, $i, $port, $i2, var$9, var$10, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$i2 = $thread.pop();$port = $thread.pop();$i = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$e = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$timer0 > 2 && $this.$clientHandler === null) { try { if (jl_String_startsWith0($this.$uri, $rt_s(187))) $e = jl_String_substring0($this.$uri, 5); else if (jl_String_startsWith0($this.$uri, $rt_s(188))) $e = jl_String_substring0($this.$uri, 6); else { if (jl_String_contains($this.$uri, $rt_s(1610))) { var$2 = $this.$mc; var$3 = nms_GuiDisconnected__init_($this.$field_98098_c, $rt_s(1611), $rt_s(1612), $rt_wrapArray(jl_Object, [$rt_s(1613), $rt_s(18)])); $ptr = 2; continue main; } $e = $this.$uri; var$4 = !nlea_EaglerAdapterImpl2_isSSLPage() ? $rt_s(187) : $rt_s(188); var$5 = $this.$uri; var$2 = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(var$2, var$4), var$5); $this.$uri = jl_StringBuilder_toString(var$2); } $i = jl_String_lastIndexOf1($e, 58); $port = (-1); if ($i > 0 && jl_String_startsWith0($e, $rt_s(1614)) && jl_String_charAt($e, $i - 1 | 0) != 93) $i = (-1); if ($i == (-1)) $port = !jl_String_startsWith0($this.$uri, $rt_s(1615)) ? 80 : 443; if (jl_String_endsWith($e, $rt_s(192))) $e = jl_String_substring($e, 0, jl_String_length($e) - 1 | 0); a: { b: { if ($port == (-1)) { c: { try { $i2 = jl_String_indexOf1($e, 47); $i = $i + 1 | 0; if ($i2 == (-1)) { $port = jl_String_length($e); break c; } $port = $i2 - 1 | 0; break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { break a; } else { throw $$e; } } } try { $port = jl_Integer_parseInt(jl_String_substring($e, $i, $port)); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { break a; } else { throw $$e; } } } } var$4 = new nms_NetClientHandler; var$5 = $this.$mc; var$2 = $this.$uri; $i = 0; $ptr = 4; continue main; } $e = $this.$mc; var$4 = nms_GuiDisconnected__init_($this.$field_98098_c, $rt_s(1611), $rt_s(1612), $rt_wrapArray(jl_Object, [$rt_s(1616), $rt_s(18)])); $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } d: { try { nms_NetClientHandler_disconnect($this.$clientHandler); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } jl_Throwable_printStackTrace($e, jl_System_errCache); var$2 = $e.$getMessage(); $e = $e.constructor; if ($e === null) var$5 = null; else { var$5 = $e.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = $e; $e.classObject = var$5; } } if (var$5.$name1 === null) var$5.$name1 = $rt_str(var$5.$platformClass.$meta.name); var$5 = var$5.$name1; if (var$2 === null) $e = $rt_s(18); else { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); $e = new jl_String; var$9 = var$4.$buffer; var$10 = var$9.data; $port = var$4.$length0; $i2 = var$10.length; if ($port >= 0 && $port <= ($i2 - 0 | 0)) $e.$nativeString = $rt_charArrayToString(var$9.data, 0, $port); else { $e = new jl_IndexOutOfBoundsException; jl_Throwable__init_($e); $rt_throw($e); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $i = var$4.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $i, var$5); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $e); $e = new jl_String; var$9 = var$4.$buffer; var$10 = var$9.data; $port = var$4.$length0; $i2 = var$10.length; if ($port >= 0 && $port <= ($i2 - 0 | 0)) { $e.$nativeString = $rt_charArrayToString(var$9.data, 0, $port); $ptr = 6; continue main; } $e = new jl_IndexOutOfBoundsException; jl_Throwable__init_($e); $rt_throw($e); } $e = $this.$clientHandler; if ($e !== null) { $ptr = 1; continue main; } if (jl_System_errCache === null) { $e = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); $e.$out0 = var$4; var$4 = new jl_StringBuilder; jl_Object__init_(var$4); var$4.$buffer = $rt_createCharArray(16); $e.$sb = var$4; $e.$buffer0 = $rt_createCharArray(32); $e.$autoFlush = 0; $e.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $e; } $rt_putStderr("[GuiConnecting] - Could not process packets!"); $rt_putStderr("\n"); if ($this.$timer0 > 15 && !nlea_EaglerAdapterImpl2_connectionOpen() && $this.$mc.$currentScreen === $this) { $e = $rt_s(18); $ptr = 3; continue main; } $this.$timer0 = $this.$timer0 + 1 | 0; return; case 1: nms_NetClientHandler_processReadPackets($e); if ($rt_suspending()) { break main; } if ($this.$timer0 > 15 && !nlea_EaglerAdapterImpl2_connectionOpen() && $this.$mc.$currentScreen === $this) { $e = $rt_s(18); $ptr = 3; continue main; } $this.$timer0 = $this.$timer0 + 1 | 0; return; case 2: e: { try { nms_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; break e; } else { throw $$e; } } return; } f: { try { nms_NetClientHandler_disconnect($this.$clientHandler); break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } jl_Throwable_printStackTrace($e, jl_System_errCache); var$2 = $e.$getMessage(); $e = $e.constructor; if ($e === null) var$5 = null; else { var$5 = $e.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = $e; $e.classObject = var$5; } } if (var$5.$name1 === null) var$5.$name1 = $rt_str(var$5.$platformClass.$meta.name); var$5 = var$5.$name1; if (var$2 === null) $e = $rt_s(18); else { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); $e = new jl_String; var$9 = var$4.$buffer; var$10 = var$9.data; $port = var$4.$length0; $i2 = var$10.length; if ($port >= 0 && $port <= ($i2 - 0 | 0)) $e.$nativeString = $rt_charArrayToString(var$9.data, 0, $port); else { $e = new jl_IndexOutOfBoundsException; jl_Throwable__init_($e); $rt_throw($e); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $i = var$4.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $i, var$5); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $e); $e = new jl_String; var$9 = var$4.$buffer; var$10 = var$9.data; $port = var$4.$length0; $i2 = var$10.length; if ($port >= 0 && $port <= ($i2 - 0 | 0)) { $e.$nativeString = $rt_charArrayToString(var$9.data, 0, $port); $ptr = 6; continue main; } $e = new jl_IndexOutOfBoundsException; jl_Throwable__init_($e); $rt_throw($e); case 3: nms_GuiConnecting_showDisconnectScreen($this, $e); if ($rt_suspending()) { break main; } $this.$timer0 = $this.$timer0 + 1 | 0; return; case 4: e: { try { nms_NetClientHandler__init_0(var$4, var$5, var$2, $i); if ($rt_suspending()) { break main; } $this.$clientHandler = var$4; otcic_JsConsolePrintStream_println(jl_System_out(), $rt_s(1617)); var$4 = $this.$clientHandler; var$5 = new nms_Packet2ClientProtocol; nle_EaglerProfile_$callClinit(); nms_Packet2ClientProtocol__init_(var$5, 78, nle_EaglerProfile_username, $e, $port); nms_NetClientHandler_addToSendQueue(var$4, var$5); nms_NetClientHandler_addToSendQueue($this.$clientHandler, nms_Packet250CustomPayload__init_($rt_s(1618), nle_EaglerProfile_getSkinPacket())); nms_NetClientHandler_addToSendQueue($this.$clientHandler, nms_Packet250CustomPayload__init_($rt_s(1619), nle_EaglerProfile_getCapePacket())); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; break e; } else { throw $$e; } } $e = $this.$clientHandler; if ($e !== null) { $ptr = 1; continue main; } if (jl_System_errCache === null) { $e = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); $e.$out0 = var$4; var$4 = new jl_StringBuilder; jl_Object__init_(var$4); var$4.$buffer = $rt_createCharArray(16); $e.$sb = var$4; $e.$buffer0 = $rt_createCharArray(32); $e.$autoFlush = 0; $e.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $e; } $rt_putStderr("[GuiConnecting] - Could not process packets!"); $rt_putStderr("\n"); if ($this.$timer0 > 15 && !nlea_EaglerAdapterImpl2_connectionOpen() && $this.$mc.$currentScreen === $this) { $e = $rt_s(18); $ptr = 3; continue main; } $this.$timer0 = $this.$timer0 + 1 | 0; return; } g: { try { nms_NetClientHandler_disconnect($this.$clientHandler); break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } jl_Throwable_printStackTrace($e, jl_System_errCache); var$2 = $e.$getMessage(); $e = $e.constructor; if ($e === null) var$5 = null; else { var$5 = $e.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = $e; $e.classObject = var$5; } } if (var$5.$name1 === null) var$5.$name1 = $rt_str(var$5.$platformClass.$meta.name); var$5 = var$5.$name1; if (var$2 === null) $e = $rt_s(18); else { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); $e = new jl_String; var$9 = var$4.$buffer; var$10 = var$9.data; $port = var$4.$length0; $i2 = var$10.length; if ($port >= 0 && $port <= ($i2 - 0 | 0)) $e.$nativeString = $rt_charArrayToString(var$9.data, 0, $port); else { $e = new jl_IndexOutOfBoundsException; jl_Throwable__init_($e); $rt_throw($e); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $i = var$4.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $i, var$5); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $e); $e = new jl_String; var$9 = var$4.$buffer; var$10 = var$9.data; $port = var$4.$length0; $i2 = var$10.length; if ($port >= 0 && $port <= ($i2 - 0 | 0)) { $e.$nativeString = $rt_charArrayToString(var$9.data, 0, $port); $ptr = 6; continue main; } $e = new jl_IndexOutOfBoundsException; jl_Throwable__init_($e); $rt_throw($e); case 5: e: { try { nms_Minecraft_displayGuiScreen($e, var$4); if ($rt_suspending()) { break main; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; break e; } else { throw $$e; } } return; } f: { try { nms_NetClientHandler_disconnect($this.$clientHandler); break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } jl_Throwable_printStackTrace($e, jl_System_errCache); var$2 = $e.$getMessage(); $e = $e.constructor; if ($e === null) var$5 = null; else { var$5 = $e.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = $e; $e.classObject = var$5; } } if (var$5.$name1 === null) var$5.$name1 = $rt_str(var$5.$platformClass.$meta.name); var$5 = var$5.$name1; if (var$2 === null) $e = $rt_s(18); else { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); $e = new jl_String; var$9 = var$4.$buffer; var$10 = var$9.data; $port = var$4.$length0; $i2 = var$10.length; if ($port >= 0 && $port <= ($i2 - 0 | 0)) $e.$nativeString = $rt_charArrayToString(var$9.data, 0, $port); else { $e = new jl_IndexOutOfBoundsException; jl_Throwable__init_($e); $rt_throw($e); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $i = var$4.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $i, var$5); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $e); $e = new jl_String; var$9 = var$4.$buffer; var$10 = var$9.data; $port = var$4.$length0; $i2 = var$10.length; if ($port >= 0 && $port <= ($i2 - 0 | 0)) { $e.$nativeString = $rt_charArrayToString(var$9.data, 0, $port); $ptr = 6; continue main; } $e = new jl_IndexOutOfBoundsException; jl_Throwable__init_($e); $rt_throw($e); case 6: nms_GuiConnecting_showDisconnectScreen($this, $e); if ($rt_suspending()) { break main; } $e = $this.$clientHandler; if ($e !== null) { $ptr = 1; continue main; } if (jl_System_errCache === null) { $e = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); $e.$out0 = var$4; var$4 = new jl_StringBuilder; jl_Object__init_(var$4); var$4.$buffer = $rt_createCharArray(16); $e.$sb = var$4; $e.$buffer0 = $rt_createCharArray(32); $e.$autoFlush = 0; $e.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $e; } $rt_putStderr("[GuiConnecting] - Could not process packets!"); $rt_putStderr("\n"); if ($this.$timer0 > 15 && !nlea_EaglerAdapterImpl2_connectionOpen() && $this.$mc.$currentScreen === $this) { $e = $rt_s(18); $ptr = 3; continue main; } $this.$timer0 = $this.$timer0 + 1 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $e, var$2, var$3, var$4, var$5, $i, $port, $i2, var$9, var$10, $ptr); }, nms_GuiConnecting_showDisconnectScreen = ($this, $e) => { let $l, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$l = $thread.pop();$e = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); $l = nlea_EaglerAdapterImpl2_rateLimitStatus; nlea_EaglerAdapterImpl2_rateLimitStatus = null; if ($l === nlea_EaglerAdapterImpl2$RateLimit_NOW_LOCKED) { $e = $this.$mc; var$3 = nms_GuiDisconnected__init_($this.$field_98098_c, $rt_s(1620), $rt_s(1621), $rt_createArray(jl_Object, 0)); $ptr = 1; continue main; } if ($l === nlea_EaglerAdapterImpl2$RateLimit_LOCKED) { $e = $this.$mc; var$3 = nms_GuiDisconnected__init_($this.$field_98098_c, $rt_s(1622), $rt_s(1621), $rt_createArray(jl_Object, 0)); $ptr = 2; continue main; } if ($l === nlea_EaglerAdapterImpl2$RateLimit_BLOCKED) { $e = $this.$mc; var$3 = nms_GuiDisconnected__init_($this.$field_98098_c, $rt_s(1623), $rt_s(1621), $rt_createArray(jl_Object, 0)); $ptr = 3; continue main; } if ($l === nlea_EaglerAdapterImpl2$RateLimit_FAILED_POSSIBLY_LOCKED) { $e = $this.$mc; var$3 = nms_GuiDisconnected__init_($this.$field_98098_c, $rt_s(1624), $rt_s(1621), $rt_createArray(jl_Object, 0)); $ptr = 4; continue main; } var$4 = $this.$mc; var$5 = new nms_GuiDisconnected; var$6 = $this.$field_98098_c; var$7 = $rt_createArray(jl_Object, 2); var$8 = $this.$uri; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1625)); var$10 = var$9.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, var$10, var$8); var$8 = new jl_String; var$11 = var$9.$buffer; var$12 = var$11.data; var$10 = var$9.$length0; var$13 = var$12.length; if (var$10 >= 0 && var$10 <= (var$13 - 0 | 0)) { var$12 = var$7.data; var$8.$nativeString = $rt_charArrayToString(var$11.data, 0, var$10); var$12[0] = var$8; var$12[1] = $e; nms_GuiDisconnected__init_0(var$5, var$6, $rt_s(1611), $rt_s(1612), var$7); $ptr = 5; continue main; } $e = new jl_IndexOutOfBoundsException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($e); $rt_throw($e); case 1: nms_Minecraft_displayGuiScreen($e, var$3); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($e, var$3); if ($rt_suspending()) { break main; } return; case 3: nms_Minecraft_displayGuiScreen($e, var$3); if ($rt_suspending()) { break main; } return; case 4: nms_Minecraft_displayGuiScreen($e, var$3); if ($rt_suspending()) { break main; } return; case 5: nms_Minecraft_displayGuiScreen(var$4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $e, $l, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_GuiConnecting_keyTyped = ($this, $par1, $par2) => { return; }, nms_GuiConnecting_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; var$2 = $this.$buttonList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 100 | 0; var$5 = (($this.$height / 4 | 0) + 120 | 0) + 12 | 0; $var1 = nms_StringTranslate_translateKey($var1, $rt_s(1626)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 0; var$6.$xPosition = var$8; var$6.$yPosition = var$5; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = $var1; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; }, nms_GuiConnecting_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$id0) return; $this.$cancelled = 1; $par1GuiButton = $this.$clientHandler; if ($par1GuiButton !== null) { $par1GuiButton.$disconnected = 1; $par1GuiButton.$netManager.$wakeThreads(); $par1GuiButton.$netManager.$networkShutdown($rt_s(1627), $rt_createArray(jl_Object, 0)); } $par1GuiButton = $this.$mc; var$2 = $this.$field_98098_c; var$3 = nle_IntegratedServer_statusState; if (var$3 && var$3 != (-2) && var$3 != (-1) ? 0 : 1) { $ptr = 1; continue main; } if (nle_IntegratedServer_isWorldRunning()) { nle_IntegratedServer_statusState = 4; nle_IntegratedServer_sendIPCPacket(new nlesi_IPCPacket01StopServer); } var$4 = nle_IntegratedServerLAN_lanRelaySocket; if (var$4 !== null) { var$4.$close(); nle_IntegratedServerLAN_lanRelaySocket = null; nle_IntegratedServerLAN_currentCode = null; } nlea_EaglerAdapterImpl2_$callClinit(); var$4 = nle_IntegratedServerLAN_clients; if (var$4.$cachedValues === null) { var$5 = new ju_HashMap$2; var$5.$this$01 = var$4; var$4.$cachedValues = var$5; } var$4 = var$4.$cachedValues.$iterator(); while (var$4.$hasNext()) { nle_IntegratedServerLAN$LANClient_disconnect(var$4.$next()); } var$4 = nle_IntegratedServerLAN_clients; if (var$4.$elementCount > 0) { var$4.$elementCount = 0; var$6 = var$4.$elementData.data; var$5 = null; var$3 = 0; var$7 = var$6.length; if (var$3 > var$7) { $par1GuiButton = new jl_IllegalArgumentException; jl_RuntimeException__init_($par1GuiButton); $rt_throw($par1GuiButton); } while (var$3 < var$7) { var$8 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$8; } var$4.$modCount0 = var$4.$modCount0 + 1 | 0; } var$5 = new nle_GuiScreenSingleplayerLoading; var$9 = new nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0; var$10 = nle_GuiScreenSingleplayerLoading_defaultExceptionAction; var$11 = nle_GuiScreenSingleplayerLoading_defaultTerminateAction; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$12 = new ju_ArrayList; jl_Object__init_(var$12); var$12.$array = $rt_createArray(jl_Object, 10); var$5.$buttonList = var$12; var$5.$allowUserInput = 0; var$5.$selectedButton = null; var$5.$eventButton = 0; var$5.$field_85043_c = Long_ZERO; var$5.$field_92018_d = 0; var$5.$menu = var$2; var$5.$message0 = $rt_s(492); var$5.$checkTaskComplete = var$9; var$5.$onException = var$10; var$5.$taskKill = var$11; var$5.$lastStatus = nle_IntegratedServer_worldStatusString; var$5.$currentStatus = $rt_s(492); $ptr = 2; continue main; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_GuiConnecting_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, $var4, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; if ($this.$clientHandler !== null) { var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(1628)); var$8 = $this.$width / 2 | 0; var$4 = ($this.$height / 2 | 0) - 50 | 0; var$9 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = var$4 + 1 | 0; var$12 = 1; $ptr = 2; continue main; } var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(1629)); var$4 = $this.$width / 2 | 0; var$10 = ($this.$height / 2 | 0) - 50 | 0; var$11 = 16777215; var$12 = var$4 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$4 = var$12 + 1 | 0; var$9 = var$10 + 1 | 0; var$8 = 1; $ptr = 4; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; if ($this.$clientHandler !== null) { var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(1628)); var$8 = $this.$width / 2 | 0; var$4 = ($this.$height / 2 | 0) - 50 | 0; var$9 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = var$4 + 1 | 0; var$12 = 1; $ptr = 2; continue main; } var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(1629)); var$4 = $this.$width / 2 | 0; var$10 = ($this.$height / 2 | 0) - 50 | 0; var$11 = 16777215; var$12 = var$4 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$4 = var$12 + 1 | 0; var$9 = var$10 + 1 | 0; var$8 = 1; $ptr = 4; continue main; case 2: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$8, var$4, var$9, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$7 = $this.$fontRenderer; var$6 = $this.$clientHandler.$field_72560_a; var$4 = $this.$width / 2 | 0; var$9 = ($this.$height / 2 | 0) - 10 | 0; var$8 = 16777215; var$4 = var$4 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$11 = var$9 + 1 | 0; var$12 = 1; $ptr = 6; continue main; case 4: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$4, var$9, var$11, var$8); if ($rt_suspending()) { break main; } var$9 = $tmp; var$4 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$12, var$10, var$11, var$4); if ($rt_suspending()) { break main; } var$4 = $tmp; var$7 = $this.$fontRenderer; var$6 = $rt_s(18); var$4 = $this.$width / 2 | 0; var$9 = ($this.$height / 2 | 0) - 10 | 0; var$8 = 16777215; var$4 = var$4 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$11 = var$9 + 1 | 0; var$12 = 1; $ptr = 8; continue main; case 6: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$8, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$4, var$9, var$8, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$7 = $this.$buttonList; var$9 = $rt_compare(var$4, var$7.$size0); if (var$9 >= 0) return; if (var$4 >= 0 && var$9 < 0) { var$7 = var$7.$array.data[var$4]; var$6 = $this.$mc; $ptr = 10; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 8: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$8, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 9; case 9: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$4, var$9, var$8, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$7 = $this.$buttonList; var$9 = $rt_compare(var$4, var$7.$size0); if (var$9 >= 0) return; if (var$4 >= 0 && var$9 < 0) { var$7 = var$7.$array.data[var$4]; var$6 = $this.$mc; $ptr = 10; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 10: var$7.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$7 = $this.$buttonList; var$9 = $rt_compare(var$4, var$7.$size0); if (var$9 >= 0) return; if (var$4 >= 0 && var$9 < 0) { var$7 = var$7.$array.data[var$4]; var$6 = $this.$mc; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_GuiConnecting_doesGuiPauseGame = $this => { return 0; }, nms_IProgressUpdate = $rt_classWithoutFields(0); function nms_LoadingScreenRenderer() { let a = this; jl_Object.call(a); a.$field_73727_a = null; a.$mc10 = null; a.$currentlyDisplayedText = null; a.$field_73723_d = Long_ZERO; a.$field_73724_e = 0; } let nms_LoadingScreenRenderer_func_73722_d = ($this, $par1Str) => { let $var2; a: { $this.$currentlyDisplayedText = $par1Str; $par1Str = $this.$mc10; if (!$par1Str.$running) { if ($this.$field_73724_e) break a; $par1Str = new nms_MinecraftError; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $var2 = nms_ScaledResolution__init_($par1Str.$gameSettings, $par1Str.$displayWidth, $par1Str.$displayHeight); nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clear(256); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, $var2.$scaledWidth, $var2.$scaledHeight, 0.0, 100.0, 300.0); nleg_EaglerAdapterGL30_matrixMode = 5888; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); $par1Str = nleg_EaglerAdapterGL30_deevis; $par1Str.$x = 0.0; $par1Str.$y = 0.0; $par1Str.$z = (-200.0); $par1Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Str, $par1Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Str = new otcic_JSStderrPrintStream; $var2 = new ji_ByteArrayOutputStream; $var2.$buf = $rt_createByteArray(32); $par1Str.$out0 = $var2; $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); $par1Str.$sb = $var2; $par1Str.$buffer0 = $rt_createCharArray(32); $par1Str.$autoFlush = 0; $par1Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } }, nms_LoadingScreenRenderer_setLoadingProgress = ($this, $par1) => { let $var4, var$3, $var7, $var5, $var6, var$7, var$8, var$9, var$10, $var8, $var11, $var12, var$14, var$15, var$16, var$17, var$18, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var8 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var7 = $thread.pop();var$3 = $thread.pop();$var4 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$this.$mc10.$running) { if ($this.$field_73724_e) break a; $var4 = new nms_MinecraftError; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } nlea_EaglerAdapterImpl2_$callClinit(); var$3 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (Long_ge(Long_sub(var$3, $this.$field_73723_d), Long_fromInt(100))) { $this.$field_73723_d = var$3; $var4 = new nms_ScaledResolution; $var7 = $this.$mc10; nms_ScaledResolution__init_0($var4, $var7.$gameSettings, $var7.$displayWidth, $var7.$displayHeight); $var5 = $var4.$scaledWidth; $var6 = $var4.$scaledHeight; nleg_EaglerAdapterGL30_$callClinit(); nlea_EaglerAdapterImpl2_webgl.clear(256); nleg_EaglerAdapterGL30_matrixMode = 5889; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glOrtho(0.0, $var4.$scaledWidth, $var4.$scaledHeight, 0.0, 100.0, 300.0); nleg_EaglerAdapterGL30_matrixMode = 5888; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); $var4 = nleg_EaglerAdapterGL30_deevis; $var4.$x = 0.0; $var4.$y = 0.0; $var4.$z = (-200.0); $var4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var4, $var4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var4 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); $var4.$out0 = $var7; $var7 = new jl_StringBuilder; $var7.$buffer = $rt_createCharArray(16); $var4.$sb = $var7; $var4.$buffer0 = $rt_createCharArray(32); $var4.$autoFlush = 0; $var4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nlea_EaglerAdapterImpl2_webgl.clear(16640); nlea_Tessellator_$callClinit(); $var7 = nlea_Tessellator_instance; nms_Gui_$callClinit(); $var4 = nms_Gui_optionsBackground; $ptr = 1; continue main; } } return; case 1: nle_TextureLocation_bindTexture($var4); if ($rt_suspending()) { break main; } if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var7, 64, 64, 64, 255); var$7 = $var6; var$8 = $var6 / 32.0; $var7.$hasTexture = 1; $var7.$textureU = 0.0; var$9 = var$8; $var7.$textureV = var$9; nlea_Tessellator_addVertex($var7, 0.0, var$7, 0.0); var$10 = $var5; var$8 = $var5 / 32.0; $var7.$hasTexture = 1; $var8 = var$8; $var7.$textureU = $var8; $var7.$textureV = var$9; nlea_Tessellator_addVertex($var7, var$10, var$7, 0.0); $var7.$hasTexture = 1; $var7.$textureU = $var8; $var7.$textureV = 0.0; nlea_Tessellator_addVertex($var7, var$10, 0.0, 0.0); $var7.$hasTexture = 1; $var7.$textureU = 0.0; $var7.$textureV = 0.0; nlea_Tessellator_addVertex($var7, 0.0, 0.0, 0.0); nlea_Tessellator_draw($var7); if ($par1 >= 0) { $var11 = ($var5 / 2 | 0) - 50 | 0; $var12 = ($var6 / 2 | 0) + 16 | 0; nleg_EaglerAdapterGL30_glDisable(3553); if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var7, 128, 128, 128, 255); var$10 = $var11; var$7 = $var12; nlea_Tessellator_addVertex($var7, var$10, var$7, 0.0); var$14 = $var12 + 2 | 0; nlea_Tessellator_addVertex($var7, var$10, var$14, 0.0); var$8 = $var11 + 100 | 0; nlea_Tessellator_addVertex($var7, var$8, var$14, 0.0); nlea_Tessellator_addVertex($var7, var$8, var$7, 0.0); nlea_Tessellator_setColorRGBA($var7, 128, 255, 128, 255); nlea_Tessellator_addVertex($var7, var$10, var$7, 0.0); nlea_Tessellator_addVertex($var7, var$10, var$14, 0.0); var$10 = $var11 + $par1 | 0; nlea_Tessellator_addVertex($var7, var$10, var$14, 0.0); nlea_Tessellator_addVertex($var7, var$10, var$7, 0.0); nlea_Tessellator_draw($var7); nleg_EaglerAdapterGL30_glEnable(3553); } $var4 = $this.$mc10.$fontRenderer0; $var7 = $this.$currentlyDisplayedText; $par1 = ($var5 - nms_FontRenderer_getStringWidth($var4, $var7) | 0) / 2 | 0; var$15 = ($var6 / 2 | 0) - 4 | 0; var$16 = var$15 - 16 | 0; var$17 = 16777215; $var4.$randomStyle = 0; $var4.$boldStyle = 0; $var4.$italicStyle = 0; $var4.$underlineStyle = 0; $var4.$strikethroughStyle = 0; var$18 = $par1 + 1 | 0; $var6 = var$16 + 1 | 0; $var11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($var4, $var7, var$18, $var6, var$17, $var11); if ($rt_suspending()) { break main; } $var6 = $tmp; var$18 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString($var4, $var7, $par1, var$16, var$17, var$18); if ($rt_suspending()) { break main; } $par1 = $tmp; $var4 = $this.$mc10.$fontRenderer0; $var7 = $this.$field_73727_a; $par1 = ($var5 - nms_FontRenderer_getStringWidth($var4, $var7) | 0) / 2 | 0; var$15 = var$15 + 8 | 0; var$16 = 16777215; $var4.$randomStyle = 0; $var4.$boldStyle = 0; $var4.$italicStyle = 0; $var4.$underlineStyle = 0; $var4.$strikethroughStyle = 0; var$17 = $par1 + 1 | 0; var$18 = var$15 + 1 | 0; $var6 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($var4, $var7, var$17, var$18, var$16, $var6); if ($rt_suspending()) { break main; } var$18 = $tmp; var$17 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString($var4, $var7, $par1, var$15, var$16, var$17); if ($rt_suspending()) { break main; } $par1 = $tmp; $var4 = $this.$mc10; if ($var4.$gameSettings.$enableVsync) { $par1 = 0; var$15 = 1; $ptr = 6; continue main; } if (nle_EnumBrowser_getBrowser() !== nle_EnumBrowser_DESKTOP) { try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } return; } $var7 = $var4.$currentScreen; var$16 = $var7 !== null && $var7 instanceof nms_GuiMainMenu ? 2 : $var4.$gameSettings.$limitFramerate; if (var$16 <= 0) $par1 = 0; else { nms_EntityRenderer_$callClinit(); $par1 = 200; if (var$16 == 1) $par1 = 120; if (var$16 == 2) $par1 = 35; } var$15 = 0; $ptr = 8; continue main; case 6: nlea_EaglerAdapterImpl2_updateDisplay($par1, var$15); if ($rt_suspending()) { break main; } try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } return; case 7: b: { try { jl_Thread_yield(); if ($rt_suspending()) { break main; } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } } return; case 8: nlea_EaglerAdapterImpl2_updateDisplay($par1, var$15); if ($rt_suspending()) { break main; } try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var4, var$3, $var7, $var5, $var6, var$7, var$8, var$9, var$10, $var8, $var11, $var12, var$14, var$15, var$16, var$17, var$18, $ptr); }; function nle_GuiScreenVSyncWarning() { let a = this; nms_GuiScreen.call(a); a.$cont = null; a.$messages = null; a.$top0 = 0; } let nle_GuiScreenVSyncWarning_initGui = $this => { let var$1, var$2, $i, $j, var$5, var$6, var$7, var$8, var$9, $l, var$11; var$1 = $this.$messages; var$2 = var$1.$array; $i = 0; $j = var$1.$size0; var$5 = null; if ($i > $j) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while ($i < $j) { var$6 = var$2.data; var$7 = $i + 1 | 0; var$6[$i] = var$5; $i = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; nms_EnumChatFormatting_$callClinit(); var$5 = nms_EnumChatFormatting_RED; var$8 = var$5 === null ? $rt_s(1) : var$5.$field_96304_B; nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1630)); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); $i = var$5.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, $i, var$8); $i = var$5.$length0; if (var$9 === null) var$9 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, $i, var$9); var$9 = new jl_String; var$2 = var$5.$buffer; var$6 = var$2.data; $j = var$5.$length0; var$7 = var$6.length; if ($j >= 0 && $j <= (var$7 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$2.data, 0, $j); ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; $j = var$1.$size0; var$1.$size0 = $j + 1 | 0; var$2[$j] = var$9; var$1.$modCount = var$1.$modCount + 1 | 0; var$5 = $this.$messages; var$1 = null; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; $j = var$5.$size0; var$5.$size0 = $j + 1 | 0; var$2[$j] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$messages; var$1 = nms_EnumChatFormatting_GRAY; var$8 = var$1 === null ? $rt_s(1) : var$1.$field_96304_B; var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1631)); var$1 = new jl_StringBuilder; var$1.$buffer = $rt_createCharArray(16); $i = var$1.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, $i, var$8); $i = var$1.$length0; if (var$9 === null) var$9 = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, $i, var$9); var$9 = new jl_String; var$2 = var$1.$buffer; var$6 = var$2.data; $j = var$1.$length0; var$7 = var$6.length; if ($j >= 0 && $j <= (var$7 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$2.data, 0, $j); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; $j = var$5.$size0; var$5.$size0 = $j + 1 | 0; var$2[$j] = var$9; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$messages; var$1 = nms_EnumChatFormatting_GRAY; var$8 = var$1 === null ? $rt_s(1) : var$1.$field_96304_B; var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1632)); var$1 = new jl_StringBuilder; var$1.$buffer = $rt_createCharArray(16); $i = var$1.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, $i, var$8); $i = var$1.$length0; if (var$9 === null) var$9 = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, $i, var$9); var$9 = new jl_String; var$2 = var$1.$buffer; var$6 = var$2.data; $j = var$1.$length0; var$7 = var$6.length; if ($j >= 0 && $j <= (var$7 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$2.data, 0, $j); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; $j = var$5.$size0; var$5.$size0 = $j + 1 | 0; var$2[$j] = var$9; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$messages; var$1 = null; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; $j = var$5.$size0; var$5.$size0 = $j + 1 | 0; var$2[$j] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$messages; var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1633)); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; $j = var$5.$size0; var$5.$size0 = $j + 1 | 0; var$2[$j] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$messages; var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1634)); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; $j = var$5.$size0; var$5.$size0 = $j + 1 | 0; var$2[$j] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$messages; var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1635)); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; $j = var$5.$size0; var$5.$size0 = $j + 1 | 0; var$2[$j] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$messages; var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1636)); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; $j = var$5.$size0; var$5.$size0 = $j + 1 | 0; var$2[$j] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$messages; var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1637)); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; $j = var$5.$size0; var$5.$size0 = $j + 1 | 0; var$2[$j] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; $j = 0; $i = 0; var$5 = $this.$messages; $l = var$5.$size0; while (true) { var$7 = $rt_compare($i, $l); if (var$7 >= 0) { $i = ($this.$height / 6 | 0) + ($j / (-12) | 0) | 0; $this.$top0 = $i; $j = $j + $i | 0; var$5 = $this.$buttonList; var$2 = var$5.$array; $i = 0; var$7 = var$5.$size0; var$1 = null; if ($i > var$7) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while ($i < var$7) { var$6 = var$2.data; $l = $i + 1 | 0; var$6[$i] = var$1; $i = $l; } var$5.$size0 = 0; var$5.$modCount = var$5.$modCount + 1 | 0; var$1 = new nms_GuiButton; $l = ($this.$width / 2 | 0) - 100 | 0; var$11 = $j + 16 | 0; var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1638)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$1.$width0 = 200; var$1.$height0 = 20; var$1.$enabled = 1; var$1.$drawButton0 = 1; var$1.$id0 = 0; var$1.$xPosition = $l; var$1.$yPosition = var$11; var$1.$width0 = 200; var$1.$height0 = 20; var$1.$displayString = var$9; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$2[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$buttonList; var$1 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 100 | 0; $l = $j + 40 | 0; var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1639)); var$1.$width0 = 200; var$1.$height0 = 20; var$1.$enabled = 1; var$1.$drawButton0 = 1; var$1.$id0 = 1; var$1.$xPosition = var$7; var$1.$yPosition = $l; var$1.$width0 = 200; var$1.$height0 = 20; var$1.$displayString = var$9; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$2[var$7] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$buttonList; var$1 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 100 | 0; $j = $j + 64 | 0; var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1640)); var$1.$width0 = 200; var$1.$height0 = 20; var$1.$enabled = 1; var$1.$drawButton0 = 1; var$1.$id0 = 2; var$1.$xPosition = var$7; var$1.$yPosition = $j; var$1.$width0 = 200; var$1.$height0 = 20; var$1.$displayString = var$9; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; $j = var$5.$size0; var$5.$size0 = $j + 1 | 0; var$2[$j] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; return; } if ($i < 0) break; if (var$7 >= 0) break; $j = var$5.$array.data[$i] === null ? $j + 5 | 0 : $j + 9 | 0; $i = $i + 1 | 0; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); }, nle_GuiScreenVSyncWarning_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, $j, $i, $l, $str, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$str = $thread.pop();$l = $thread.pop();$i = $thread.pop();$j = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $j = 0; $i = 0; $l = $this.$messages.$size0; while (true) { if ($i >= $l) { var$4 = 0; $str = $this.$buttonList; var$9 = $rt_compare(var$4, $str.$size0); if (var$9 >= 0) return; if (var$4 >= 0 && var$9 < 0) { $str = $str.$array.data[var$4]; var$10 = $this.$mc; $ptr = 4; continue main; } $str = new jl_IndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); } $str = $this.$messages; if ($i < 0) break; if ($i >= $str.$size0) break; $str = $str.$array.data[$i]; if ($str !== null) { var$10 = $this.$fontRenderer; var$11 = $this.$width / 2 | 0; var$12 = $this.$top0 + $j | 0; var$13 = 16777215; var$4 = var$11 - (nms_FontRenderer_getStringWidth(var$10, $str) / 2 | 0) | 0; var$10.$randomStyle = 0; var$10.$boldStyle = 0; var$10.$italicStyle = 0; var$10.$underlineStyle = 0; var$10.$strikethroughStyle = 0; var$9 = var$4 + 1 | 0; var$11 = var$12 + 1 | 0; var$14 = 1; $ptr = 2; continue main; } $j = $j + 5 | 0; $i = $i + 1 | 0; } $str = new jl_IndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } $j = 0; $i = 0; $l = $this.$messages.$size0; while (true) { if ($i >= $l) { var$4 = 0; $str = $this.$buttonList; var$9 = $rt_compare(var$4, $str.$size0); if (var$9 >= 0) return; if (var$4 >= 0 && var$9 < 0) { $str = $str.$array.data[var$4]; var$10 = $this.$mc; $ptr = 4; continue main; } $str = new jl_IndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); } $str = $this.$messages; if ($i < 0) break; if ($i >= $str.$size0) break; $str = $str.$array.data[$i]; if ($str !== null) { var$10 = $this.$fontRenderer; var$11 = $this.$width / 2 | 0; var$12 = $this.$top0 + $j | 0; var$13 = 16777215; var$4 = var$11 - (nms_FontRenderer_getStringWidth(var$10, $str) / 2 | 0) | 0; var$10.$randomStyle = 0; var$10.$boldStyle = 0; var$10.$italicStyle = 0; var$10.$underlineStyle = 0; var$10.$strikethroughStyle = 0; var$9 = var$4 + 1 | 0; var$11 = var$12 + 1 | 0; var$14 = 1; $ptr = 2; continue main; } $j = $j + 5 | 0; $i = $i + 1 | 0; } $str = new jl_IndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); case 2: $tmp = nms_FontRenderer_renderString(var$10, $str, var$9, var$11, var$13, var$14); if ($rt_suspending()) { break main; } var$11 = $tmp; var$9 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$10, $str, var$4, var$12, var$13, var$9); if ($rt_suspending()) { break main; } var$4 = $tmp; $j = $j + 9 | 0; while (true) { $i = $i + 1 | 0; if ($i >= $l) { var$4 = 0; $str = $this.$buttonList; var$9 = $rt_compare(var$4, $str.$size0); if (var$9 >= 0) return; if (var$4 >= 0 && var$9 < 0) { $str = $str.$array.data[var$4]; var$10 = $this.$mc; $ptr = 4; continue main; } $str = new jl_IndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); } $str = $this.$messages; if ($i < 0) break; if ($i >= $str.$size0) break; $str = $str.$array.data[$i]; if ($str !== null) { var$10 = $this.$fontRenderer; var$11 = $this.$width / 2 | 0; var$12 = $this.$top0 + $j | 0; var$13 = 16777215; var$4 = var$11 - (nms_FontRenderer_getStringWidth(var$10, $str) / 2 | 0) | 0; var$10.$randomStyle = 0; var$10.$boldStyle = 0; var$10.$italicStyle = 0; var$10.$underlineStyle = 0; var$10.$strikethroughStyle = 0; var$9 = var$4 + 1 | 0; var$11 = var$12 + 1 | 0; var$14 = 1; $ptr = 2; continue main; } $j = $j + 5 | 0; } $str = new jl_IndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); case 4: $str.$drawButton(var$10, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; $str = $this.$buttonList; var$9 = $rt_compare(var$4, $str.$size0); if (var$9 >= 0) return; if (var$4 >= 0 && var$9 < 0) { $str = $str.$array.data[var$4]; var$10 = $this.$mc; continue main; } $str = new jl_IndexOutOfBoundsException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $rt_throw($str); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $j, $i, $l, $str, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nle_GuiScreenVSyncWarning_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1GuiButton.$id0; if (!var$2) { $par1GuiButton = $this.$mc.$gameSettings; $par1GuiButton.$enableVsync = 1; nms_GameSettings_saveOptions($par1GuiButton); $par1GuiButton = $this.$mc; var$3 = $this.$cont; $ptr = 1; continue main; } if (var$2 == 1) { $par1GuiButton = $this.$mc; var$3 = $this.$cont; $ptr = 2; continue main; } if (var$2 != 2) return; $par1GuiButton = $this.$mc.$gameSettings; $par1GuiButton.$hideVsyncWarning = 1; nms_GameSettings_saveOptions($par1GuiButton); $par1GuiButton = $this.$mc; var$3 = $this.$cont; $ptr = 3; continue main; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } return; case 3: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, $ptr); }; function nms_EnumChatFormatting() { let a = this; jl_Enum.call(a); a.$field_96329_z = 0; a.$field_96303_A = 0; a.$field_96304_B = null; } let nms_EnumChatFormatting_BLACK = null, nms_EnumChatFormatting_DARK_BLUE = null, nms_EnumChatFormatting_DARK_GREEN = null, nms_EnumChatFormatting_DARK_AQUA = null, nms_EnumChatFormatting_DARK_RED = null, nms_EnumChatFormatting_DARK_PURPLE = null, nms_EnumChatFormatting_GOLD = null, nms_EnumChatFormatting_GRAY = null, nms_EnumChatFormatting_DARK_GRAY = null, nms_EnumChatFormatting_BLUE = null, nms_EnumChatFormatting_GREEN = null, nms_EnumChatFormatting_AQUA = null, nms_EnumChatFormatting_RED = null, nms_EnumChatFormatting_LIGHT_PURPLE = null, nms_EnumChatFormatting_YELLOW = null, nms_EnumChatFormatting_WHITE = null, nms_EnumChatFormatting_OBFUSCATED = null, nms_EnumChatFormatting_BOLD = null, nms_EnumChatFormatting_STRIKETHROUGH = null, nms_EnumChatFormatting_UNDERLINE = null, nms_EnumChatFormatting_ITALIC = null, nms_EnumChatFormatting_RESET = null, nms_EnumChatFormatting_field_96321_w = null, nms_EnumChatFormatting_field_96331_x = null, nms_EnumChatFormatting_field_96330_y = null, nms_EnumChatFormatting_$VALUES = null, nms_EnumChatFormatting_$callClinit = () => { nms_EnumChatFormatting_$callClinit = $rt_eraseClinit(nms_EnumChatFormatting); nms_EnumChatFormatting__clinit_(); }, nms_EnumChatFormatting_toString = $this => { return $this.$field_96304_B; }, nms_EnumChatFormatting_$values = () => { let var$1, var$2; nms_EnumChatFormatting_$callClinit(); var$1 = $rt_createArray(nms_EnumChatFormatting, 22); var$2 = var$1.data; var$2[0] = nms_EnumChatFormatting_BLACK; var$2[1] = nms_EnumChatFormatting_DARK_BLUE; var$2[2] = nms_EnumChatFormatting_DARK_GREEN; var$2[3] = nms_EnumChatFormatting_DARK_AQUA; var$2[4] = nms_EnumChatFormatting_DARK_RED; var$2[5] = nms_EnumChatFormatting_DARK_PURPLE; var$2[6] = nms_EnumChatFormatting_GOLD; var$2[7] = nms_EnumChatFormatting_GRAY; var$2[8] = nms_EnumChatFormatting_DARK_GRAY; var$2[9] = nms_EnumChatFormatting_BLUE; var$2[10] = nms_EnumChatFormatting_GREEN; var$2[11] = nms_EnumChatFormatting_AQUA; var$2[12] = nms_EnumChatFormatting_RED; var$2[13] = nms_EnumChatFormatting_LIGHT_PURPLE; var$2[14] = nms_EnumChatFormatting_YELLOW; var$2[15] = nms_EnumChatFormatting_WHITE; var$2[16] = nms_EnumChatFormatting_OBFUSCATED; var$2[17] = nms_EnumChatFormatting_BOLD; var$2[18] = nms_EnumChatFormatting_STRIKETHROUGH; var$2[19] = nms_EnumChatFormatting_UNDERLINE; var$2[20] = nms_EnumChatFormatting_ITALIC; var$2[21] = nms_EnumChatFormatting_RESET; return var$1; }, nms_EnumChatFormatting__clinit_ = () => { let $var3, var$2, var$3, var$4, var$5, var$6, var$7, $var2, $var1, var$10; $var3 = new nms_EnumChatFormatting; nms_EnumChatFormatting_$callClinit(); $var3.$name0 = $rt_s(1641); $var3.$ordinal = 0; $var3.$field_96329_z = 48; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$3, var$3 + 1 | 0); var$2.$buffer.data[var$3] = 167; var$3 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$3, var$3 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[var$3] = 48; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_BLACK = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1642); $var3.$ordinal = 1; $var3.$field_96329_z = 49; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 49; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_DARK_BLUE = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1643); $var3.$ordinal = 2; $var3.$field_96329_z = 50; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 50; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_DARK_GREEN = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1644); $var3.$ordinal = 3; $var3.$field_96329_z = 51; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 51; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_DARK_AQUA = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1645); $var3.$ordinal = 4; $var3.$field_96329_z = 52; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 52; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_DARK_RED = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1646); $var3.$ordinal = 5; $var3.$field_96329_z = 53; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 53; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_DARK_PURPLE = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1647); $var3.$ordinal = 6; $var3.$field_96329_z = 54; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 54; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_GOLD = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1648); $var3.$ordinal = 7; $var3.$field_96329_z = 55; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 55; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_GRAY = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1649); $var3.$ordinal = 8; $var3.$field_96329_z = 56; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 56; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_DARK_GRAY = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1650); $var3.$ordinal = 9; $var3.$field_96329_z = 57; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 57; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_BLUE = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1651); $var3.$ordinal = 10; $var3.$field_96329_z = 97; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 97; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_GREEN = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1652); $var3.$ordinal = 11; $var3.$field_96329_z = 98; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 98; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_AQUA = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1653); $var3.$ordinal = 12; $var3.$field_96329_z = 99; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 99; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_RED = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1654); $var3.$ordinal = 13; $var3.$field_96329_z = 100; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 100; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_LIGHT_PURPLE = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1655); $var3.$ordinal = 14; $var3.$field_96329_z = 101; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 101; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_YELLOW = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1656); $var3.$ordinal = 15; $var3.$field_96329_z = 102; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 102; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_WHITE = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1657); $var3.$ordinal = 16; $var3.$field_96329_z = 107; $var3.$field_96303_A = 1; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$3, var$3 + 1 | 0); var$2.$buffer.data[var$3] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 107; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_OBFUSCATED = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1658); $var3.$ordinal = 17; $var3.$field_96329_z = 108; $var3.$field_96303_A = 1; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 108; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_BOLD = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1659); $var3.$ordinal = 18; $var3.$field_96329_z = 109; $var3.$field_96303_A = 1; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 109; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_STRIKETHROUGH = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(323); $var3.$ordinal = 19; $var3.$field_96329_z = 110; $var3.$field_96303_A = 1; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$7 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$7, var$7 + 1 | 0); var$2.$buffer.data[var$7] = 167; var$7 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$7, var$7 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[var$7] = 110; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_UNDERLINE = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1660); $var3.$ordinal = 20; $var3.$field_96329_z = 111; $var3.$field_96303_A = 1; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var2] = 111; var$6 = new jl_String; var$3 = var$2.$length0; var$7 = var$5.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$3); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_ITALIC = $var3; $var3 = new nms_EnumChatFormatting; $var3.$name0 = $rt_s(1661); $var3.$ordinal = 21; $var3.$field_96329_z = 114; $var3.$field_96303_A = 0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $var2 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var2, $var2 + 1 | 0); var$2.$buffer.data[$var2] = 167; $var1 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, $var1, $var1 + 1 | 0); var$4 = var$2.$buffer; var$5 = var$4.data; var$5[$var1] = 114; var$6 = new jl_String; $var2 = var$2.$length0; var$3 = var$5.length; if ($var2 >= 0 && $var2 <= (var$3 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, $var2); $var3.$field_96304_B = var$6; nms_EnumChatFormatting_RESET = $var3; nms_EnumChatFormatting_$VALUES = nms_EnumChatFormatting_$values(); $var3 = new ju_HashMap; $var1 = ju_HashMap_calculateCapacity(16); $var3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, $var1); var$4 = var$5.data; $var3.$elementData = var$5; $var3.$loadFactor = 0.75; $var3.$threshold = var$4.length * 0.75 | 0; nms_EnumChatFormatting_field_96321_w = $var3; $var3 = new ju_HashMap; $var1 = ju_HashMap_calculateCapacity(16); $var3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, $var1); var$4 = var$5.data; $var3.$elementData = var$5; $var3.$loadFactor = 0.75; $var3.$threshold = var$4.length * 0.75 | 0; nms_EnumChatFormatting_field_96331_x = $var3; $var3 = new jl_String; var$4 = $rt_createCharArray(1); var$5 = var$4.data; var$5[0] = 167; $var3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$5.length); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1662)); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $var3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1663)); $var3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; $var2 = var$2.$length0; var$3 = var$5.length; if ($var2 >= 0 && $var2 <= (var$3 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$4.data, 0, $var2); nms_EnumChatFormatting_field_96330_y = jur_Pattern_compile($var3, 0); var$4 = (nms_EnumChatFormatting_$VALUES.$clone0()).data; $var1 = var$4.length; $var2 = 0; while ($var2 < $var1) { $var3 = var$4[$var2]; var$2 = nms_EnumChatFormatting_field_96321_w; var$7 = $var3.$field_96329_z; var$5 = jl_Character_characterCache.data; if (var$7 >= var$5.length) { var$6 = new jl_Character; var$6.$value5 = var$7; } else { var$6 = var$5[var$7]; if (var$6 === null) { var$6 = new jl_Character; var$6.$value5 = var$7; var$5[var$7] = var$6; } } ju_HashMap_putImpl(var$2, var$6, $var3); var$2 = nms_EnumChatFormatting_field_96331_x; var$10 = $var3.$name0; var$6 = var$10.$nativeString.toLowerCase(); if (var$6 !== var$10.$nativeString) var$10 = jl_String__init_(var$6); ju_HashMap_putImpl(var$2, var$10, $var3); $var2 = $var2 + 1 | 0; } return; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); }, nms_StatCollector = $rt_classWithoutFields(), nms_StatCollector_localizedName = null, nms_StatCollector_$callClinit = () => { nms_StatCollector_$callClinit = $rt_eraseClinit(nms_StatCollector); nms_StatCollector__clinit_(); }, nms_StatCollector__init_ = $this => { nms_StatCollector_$callClinit(); }, nms_StatCollector__init_0 = () => { let var_0 = new nms_StatCollector(); nms_StatCollector__init_(var_0); return var_0; }, nms_StatCollector__clinit_ = () => { nms_StringTranslate_$callClinit(); nms_StatCollector_localizedName = nms_StringTranslate_instance; }, nle_DefaultSkinRenderer = $rt_classWithoutFields(), nle_DefaultSkinRenderer_defaultVanillaSkins = null, nle_DefaultSkinRenderer_defaultVanillaCapes = null, nle_DefaultSkinRenderer_defaultVanillaSkinClassicOrSlimVariants = null, nle_DefaultSkinRenderer_skinCookies = null, nle_DefaultSkinRenderer_skinGLUnits = null, nle_DefaultSkinRenderer_capeGLUnits = null, nle_DefaultSkinRenderer_skinGLTimeout = null, nle_DefaultSkinRenderer_lastClean = Long_ZERO, nle_DefaultSkinRenderer_oldSkinRenderer = null, nle_DefaultSkinRenderer_newSkinRenderer = null, nle_DefaultSkinRenderer_newSkinRendererSlim = null, nle_DefaultSkinRenderer_zombieRenderer = null, nle_DefaultSkinRenderer_villagerRenderer = null; let nle_DefaultSkinRenderer_endermanRenderer = null, nle_DefaultSkinRenderer_blazeRenderer = null, nle_DefaultSkinRenderer_skeletonRenderer = null, nle_DefaultSkinRenderer_$callClinit = () => { nle_DefaultSkinRenderer_$callClinit = $rt_eraseClinit(nle_DefaultSkinRenderer); nle_DefaultSkinRenderer__clinit_(); }, nle_DefaultSkinRenderer__init_ = $this => { nle_DefaultSkinRenderer_$callClinit(); }, nle_DefaultSkinRenderer__init_0 = () => { let var_0 = new nle_DefaultSkinRenderer(); nle_DefaultSkinRenderer__init_(var_0); return var_0; }, nle_DefaultSkinRenderer_deleteOldSkins = () => { let $now, var$2, $itr, var$4, var$5, var$6, var$7, $itr2; nle_DefaultSkinRenderer_$callClinit(); a: { nlea_EaglerAdapterImpl2_$callClinit(); $now = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (Long_gt(Long_sub($now, nle_DefaultSkinRenderer_lastClean), Long_fromInt(60000))) { nle_DefaultSkinRenderer_lastClean = $now; var$2 = nle_DefaultSkinRenderer_skinGLTimeout; $itr = new ju_HashMap$EntryIterator; $itr.$associatedMap = var$2; $itr.$expectedModCount = var$2.$modCount0; $itr.$futureEntry0 = null; while (ju_HashMap$AbstractMapIterator_hasNext($itr)) { ju_HashMap$AbstractMapIterator_makeNext($itr); var$4 = $itr.$currentEntry0; if (Long_gt(Long_sub($now, var$4.$value1.$value7), Long_fromInt(80000))) { ju_HashMap$AbstractMapIterator_remove($itr); var$2 = nle_DefaultSkinRenderer_skinGLUnits; var$5 = var$4.$key; if (var$5 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$6 = var$5.$hashCode(); var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { $itr2 = var$2.$key; if (var$5 !== $itr2 && !var$5.$equals($itr2) ? 0 : 1) break; } var$2 = var$2.$next3; } } if (var$2 === null ? 0 : 1) { var$2 = nms_Minecraft_theMinecraft.$renderEngine; $itr2 = ju_HashMap_removeByKey(nle_DefaultSkinRenderer_skinGLUnits, var$4.$key); var$6 = ($itr2 === null ? null : $itr2.$value1).$value0; var$2 = var$2.$textureNameToImageMap; $itr2 = var$2.$keySet0; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } $itr2 = ju_HashMap_removeByKey($itr2.$backingMap, var$5); nms_IntHashMap_removeEntry(var$2, var$6); nleg_EaglerAdapterGL30_$callClinit(); var$2 = nleg_EaglerAdapterGL30_texObjects; if (var$6 < var$2.$size4 && var$6 >= 0) { var$7 = var$2.$values.data; $itr2 = var$7[var$6]; var$7[var$6] = null; var$2.$allocatedObjects = var$2.$allocatedObjects - 1 | 0; } else $itr2 = null; var$2 = $itr2; nlea_EaglerAdapterImpl2_webgl.deleteTexture(var$2.$obj1); } var$2 = nle_DefaultSkinRenderer_capeGLUnits; var$5 = var$4.$key; if (var$5 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$6 = var$5.$hashCode(); var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { $itr2 = var$2.$key; if (var$5 !== $itr2 && !var$5.$equals($itr2) ? 0 : 1) break; } var$2 = var$2.$next3; } } if (var$2 === null ? 0 : 1) { var$2 = nms_Minecraft_theMinecraft.$renderEngine; $itr2 = ju_HashMap_removeByKey(nle_DefaultSkinRenderer_capeGLUnits, var$4.$key); var$6 = ($itr2 === null ? null : $itr2.$value1).$value0; var$2 = var$2.$textureNameToImageMap; $itr2 = var$2.$keySet0; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } $itr2 = ju_HashMap_removeByKey($itr2.$backingMap, var$5); nms_IntHashMap_removeEntry(var$2, var$6); nleg_EaglerAdapterGL30_$callClinit(); var$2 = nleg_EaglerAdapterGL30_texObjects; if (var$6 < var$2.$size4 && var$6 >= 0) { var$7 = var$2.$values.data; $itr2 = var$7[var$6]; var$7[var$6] = null; var$2.$allocatedObjects = var$2.$allocatedObjects - 1 | 0; } else $itr2 = null; var$2 = $itr2; nlea_EaglerAdapterImpl2_webgl.deleteTexture(var$2.$obj1); } } } var$2 = nle_DefaultSkinRenderer_skinCookies; $itr2 = new ju_HashMap$EntryIterator; $itr2.$associatedMap = var$2; $itr2.$expectedModCount = var$2.$modCount0; $itr2.$futureEntry0 = null; while (true) { if (!ju_HashMap$AbstractMapIterator_hasNext($itr2)) break a; ju_HashMap$AbstractMapIterator_makeNext($itr2); if ($itr2.$currentEntry0.$value1.$isDead) ju_HashMap$AbstractMapIterator_remove($itr2); } } } }, nle_DefaultSkinRenderer_bindSyncedSkin = $pp => { let var$2, $skinToLoad, $type, var$5, $type2, $loc, $h, $i, $w, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();$w = $thread.pop();$i = $thread.pop();$h = $thread.pop();$loc = $thread.pop();$type2 = $thread.pop();var$5 = $thread.pop();$type = $thread.pop();$skinToLoad = $thread.pop();var$2 = $thread.pop();$pp = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nle_DefaultSkinRenderer_$callClinit(); if ($pp instanceof nms_EntityClientPlayerMP) return 0; if (!($pp instanceof nms_EntityOtherPlayerMP)) return 0; var$2 = $pp.$skinPacket; if (var$2 === null) { nle_DefaultSkinRenderer_requestSkin($pp); return 0; } a: { b: { c: { $skinToLoad = var$2.data; $type = $skinToLoad[0] & 255; if ($type != 4 && $type >= 0) { nle_EaglerProfile_$callClinit(); var$5 = nle_EaglerProfile_SKIN_DATA_SIZE.data; if ($type < var$5.length) break c; } $type2 = $skinToLoad[1] & 255; var$2 = nle_DefaultSkinRenderer_defaultVanillaSkins.data; if ($type2 >= var$2.length) break b; $loc = var$2[$type2]; if ($loc === null) return 0; $ptr = 1; continue main; } $loc = nle_DefaultSkinRenderer_skinGLUnits; $h = $pp.$entityId; $skinToLoad = $loc.$elementData.data; $loc = $skinToLoad[$h & ($skinToLoad.length - 1 | 0)]; while ($loc !== null) { if ($loc.$origKeyHash == $h) { $i = $loc.$key; if ($pp !== $i && !(!($i instanceof nms_Entity) ? 0 : $i.$entityId != $h ? 0 : 1) ? 0 : 1) break; } $loc = $loc.$next3; } if (!($loc === null ? 0 : 1)) { d: { e: { $skinToLoad = $rt_createByteArray(var$5[$type]); $type2 = $skinToLoad.data.length; jl_System_fastArraycopy(var$2, 1, $skinToLoad, 0, $type2); switch ($pp.$skinPacket.data[0] & 255) { case 0: break e; case 1: case 5: break; default: break e; } $w = 64; $h = 64; break d; } $w = 64; $h = 32; } if (($type2 / 4 | 0) == $rt_imul($w, $h)) { $loc = nle_DefaultSkinRenderer_skinGLUnits; $type = nms_RenderEngine_setupTextureRaw(nms_Minecraft_theMinecraft.$renderEngine, $skinToLoad, $w, $h); if ($type >= (-128) && $type <= 127) { jl_Integer_ensureIntegerCache(); $i = jl_Integer_integerCache.data[$type + 128 | 0]; } else { $i = new jl_Integer; $i.$value0 = $type; } ju_HashMap_putImpl($loc, $pp, $i); } } $loc = nle_DefaultSkinRenderer_skinGLTimeout; nlea_EaglerAdapterImpl2_$callClinit(); var$11 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $i = new jl_Long; $i.$value7 = var$11; ju_HashMap_putImpl($loc, $pp, $i); $loc = nle_DefaultSkinRenderer_skinGLUnits; if ($pp === null) { $loc = $loc.$elementData.data[0]; while ($loc !== null && $loc.$key !== null) { $loc = $loc.$next3; } } else { $type2 = $pp.$entityId; var$2 = $loc.$elementData.data; $loc = var$2[$type2 & (var$2.length - 1 | 0)]; while ($loc !== null) { if ($loc.$origKeyHash == $type2) { $i = $loc.$key; if ($pp !== $i && !(!($i instanceof nms_Entity) ? 0 : $i.$entityId != $type2 ? 0 : 1) ? 0 : 1) break; } $loc = $loc.$next3; } } $i = $loc === null ? null : $loc.$value1; if ($i === null) break a; $w = $i.$value0; if ($w <= 0) break a; $pp = nms_Minecraft_theMinecraft.$renderEngine; if ($w != $pp.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $w); $pp.$boundTexture = $w; } } return 1; } $pp = nle_DefaultSkinRenderer_defaultVanillaSkins.data[0]; $ptr = 2; continue main; case 1: nle_TextureLocation_bindTexture($loc); if ($rt_suspending()) { break main; } return 1; case 2: nle_TextureLocation_bindTexture($pp); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($pp, var$2, $skinToLoad, $type, var$5, $type2, $loc, $h, $i, $w, var$11, $ptr); }, nle_DefaultSkinRenderer_bindSyncedCape = $p => { let $tp, $cp, $pp, var$5, $loc, $dataToLoad, var$8, $offset, $capeType, $len, $h, var$13, $i, $preset, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$preset = $thread.pop();$i = $thread.pop();var$13 = $thread.pop();$h = $thread.pop();$len = $thread.pop();$capeType = $thread.pop();$offset = $thread.pop();var$8 = $thread.pop();$dataToLoad = $thread.pop();$loc = $thread.pop();var$5 = $thread.pop();$pp = $thread.pop();$cp = $thread.pop();$tp = $thread.pop();$p = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nle_DefaultSkinRenderer_$callClinit(); nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; if ($p instanceof nms_EntityClientPlayerMP) { nle_EaglerProfile_$callClinit(); $tp = nle_EaglerProfile_presetCapeId; if ($tp < 0) { $p = nle_EaglerProfile_capes; $tp = nle_EaglerProfile_customCapeId; if ($tp >= 0 && $tp < $p.$size0) { $cp = $p.$array.data[$tp]; if ($cp === null) return 0; $p = nms_Minecraft_theMinecraft.$renderEngine; $tp = $cp.$glTex0; if ($tp != $p.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $tp); $p.$boundTexture = $tp; } nleg_EaglerAdapterGL30_matrixMode = 5890; $p = nleg_EaglerAdapterGL30_deevis; $p.$x = 2.0; $p.$y = 1.0; $p.$z = 1.0; $p = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $p, $p); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $p = new otcic_JSStderrPrintStream; $pp = new ji_ByteArrayOutputStream; $pp.$buf = $rt_createByteArray(32); jl_Object__init_($p); $p.$out0 = $pp; $pp = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pp, 16); $p.$sb = $pp; $p.$buffer0 = $rt_createCharArray(32); $p.$autoFlush = 0; $p.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $p; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_matrixMode = 5888; return 1; } $p = new jl_IndexOutOfBoundsException; $p.$suppressionEnabled = 1; $p.$writableStackTrace = 1; $rt_throw($p); } var$5 = nle_DefaultSkinRenderer_defaultVanillaCapes.data; if ($tp >= var$5.length) return 0; $loc = var$5[$tp]; if ($loc === null) return 0; $ptr = 1; continue main; } if ($p instanceof nms_EntityOtherPlayerMP) { $pp = $p; var$5 = $pp.$skinPacket; if (var$5 === null) nle_DefaultSkinRenderer_requestSkin($pp); else { $dataToLoad = var$5.data; $tp = $dataToLoad[0] & 255; if ($tp >= 0) { nle_EaglerProfile_$callClinit(); var$8 = nle_EaglerProfile_SKIN_DATA_SIZE.data; if ($tp < var$8.length) { $offset = 1 + var$8[$tp] | 0; $tp = $dataToLoad.length; if ($tp > ($offset + 1 | 0)) { $capeType = $dataToLoad[$offset] & 255; if ($capeType >= 0) { var$8 = nle_EaglerProfile_CAPE_DATA_SIZE.data; if ($capeType < var$8.length) { $len = var$8[$capeType]; if ($tp > (($offset + $len | 0) + 1 | 0)) { if ($capeType != 2) { $p = nle_DefaultSkinRenderer_capeGLUnits; $h = $pp.$entityId; $dataToLoad = $p.$elementData.data; $p = $dataToLoad[$h & ($dataToLoad.length - 1 | 0)]; while ($p !== null) { if ($p.$origKeyHash == $h) { $loc = $p.$key; if ($pp !== $loc && !(!($loc instanceof nms_Entity) ? 0 : $loc.$entityId != $h ? 0 : 1) ? 0 : 1) break; } $p = $p.$next3; } if (!($p === null ? 0 : 1)) { $dataToLoad = $rt_createByteArray($len); jl_System_fastArraycopy(var$5, $offset + 2 | 0, $dataToLoad, 0, $len); switch ($capeType) { case 0: break; default: } if (($dataToLoad.data.length / 4 | 0) == 1024) { $p = nle_DefaultSkinRenderer_capeGLUnits; $tp = nms_RenderEngine_setupTextureRaw(nms_Minecraft_theMinecraft.$renderEngine, $dataToLoad, 32, 32); if ($tp >= (-128) && $tp <= 127) { jl_Integer_ensureIntegerCache(); $loc = jl_Integer_integerCache.data[$tp + 128 | 0]; } else { $loc = new jl_Integer; $loc.$value0 = $tp; } ju_HashMap_putImpl($p, $pp, $loc); } } $p = nle_DefaultSkinRenderer_skinGLTimeout; nlea_EaglerAdapterImpl2_$callClinit(); var$13 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $loc = new jl_Long; $loc.$value7 = var$13; ju_HashMap_putImpl($p, $pp, $loc); $p = nle_DefaultSkinRenderer_capeGLUnits; if ($pp === null) { $p = $p.$elementData.data[0]; while ($p !== null && $p.$key !== null) { $p = $p.$next3; } } else { $capeType = $pp.$entityId; var$5 = $p.$elementData.data; $p = var$5[$capeType & (var$5.length - 1 | 0)]; while ($p !== null) { if ($p.$origKeyHash == $capeType) { $loc = $p.$key; if ($pp !== $loc && !(!($loc instanceof nms_Entity) ? 0 : $loc.$entityId != $capeType ? 0 : 1) ? 0 : 1) break; } $p = $p.$next3; } } $i = $p === null ? null : $p.$value1; if ($i !== null && $i.$value0 > 0) { nleg_EaglerAdapterGL30_matrixMode = 5890; $p = nleg_EaglerAdapterGL30_deevis; $p.$x = 2.0; $p.$y = 1.0; $p.$z = 1.0; $p = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $p, $p); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $p = new otcic_JSStderrPrintStream; $pp = new ji_ByteArrayOutputStream; $pp.$buf = $rt_createByteArray(32); jl_Object__init_($p); $p.$out0 = $pp; $pp = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pp, 16); $p.$sb = $pp; $p.$buffer0 = $rt_createCharArray(32); $p.$autoFlush = 0; $p.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $p; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_matrixMode = 5888; $p = nms_Minecraft_theMinecraft.$renderEngine; $offset = $i.$value0; if ($offset != $p.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $offset); $p.$boundTexture = $offset; } return 1; } return 0; } $preset = $dataToLoad[$offset + 2 | 0] & 255; var$5 = nle_DefaultSkinRenderer_defaultVanillaCapes.data; if ($preset >= var$5.length) return 0; $loc = var$5[$preset]; if ($loc === null) return 0; $ptr = 2; continue main; } } } } } } } } return 0; case 1: nle_TextureLocation_bindTexture($loc); if ($rt_suspending()) { break main; } return 1; case 2: nle_TextureLocation_bindTexture($loc); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($p, $tp, $cp, $pp, var$5, $loc, $dataToLoad, var$8, $offset, $capeType, $len, $h, var$13, $i, $preset, $ptr); }, nle_DefaultSkinRenderer_getSkinLayerByte = $p => { let var$2, $tp, var$4, $offset; nle_DefaultSkinRenderer_$callClinit(); if ($p instanceof nms_EntityClientPlayerMP) return nms_GameSettings_getSkinLayers(nms_Minecraft_theMinecraft.$gameSettings); if ($p instanceof nms_EntityOtherPlayerMP) { var$2 = $p.$skinPacket; if (var$2 !== null) { var$2 = var$2.data; $tp = var$2[0] & 255; if ($tp >= 0) { nle_EaglerProfile_$callClinit(); var$4 = nle_EaglerProfile_SKIN_DATA_SIZE.data; if ($tp < var$4.length) { $offset = 1 + var$4[$tp] | 0; $tp = var$2.length; $offset = $offset + 1 | 0; if ($tp > $offset) return var$2[$offset] & 255; } } } } return 255; }, nle_DefaultSkinRenderer_updateSkinLayerByte = ($skinFlags, $pkt) => { let var$3, $tp, var$5, $offset; nle_DefaultSkinRenderer_$callClinit(); $pkt = $pkt.data; var$3 = $pkt.length; if (var$3 > 0) { $tp = $pkt[0] & 255; if ($tp >= 0) { nle_EaglerProfile_$callClinit(); var$5 = nle_EaglerProfile_SKIN_DATA_SIZE.data; if ($tp < var$5.length) { $offset = (1 + var$5[$tp] | 0) + 1 | 0; if (var$3 > $offset) $pkt[$offset] = $skinFlags << 24 >> 24; } } } }, nle_DefaultSkinRenderer_requestSkin = $pp => { let $cookie, var$3, var$4, $pkt, var$6, var$7, var$8, $n, var$10, var$11, $$je; nle_DefaultSkinRenderer_$callClinit(); if (!ju_HashMap_containsValue(nle_DefaultSkinRenderer_skinCookies, $pp)) { $cookie = Long_lo(Long_rem(Long_fromNumber(performance.now() * 1000000.0), Long_fromInt(65536))); var$3 = nle_DefaultSkinRenderer_skinCookies; if ($cookie >= (-128) && $cookie <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[$cookie + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = $cookie; } ju_HashMap_putImpl(var$3, var$4, $pp); $pp = $pp.$username; var$3 = jnci_UTF8Charset_INSTANCE; $pkt = $rt_fastStringToCharArray($pp.$nativeString); var$6 = $pkt.data.length; var$4 = new jn_CharBufferOverArray; var$7 = 0 + var$6 | 0; jl_Object__init_(var$4); var$4.$mark = (-1); var$4.$capacity = var$6; var$4.$limit0 = var$6; var$4.$position0 = 0; var$4.$limit0 = var$7; var$4.$start1 = 0; var$4.$readOnly1 = 0; var$4.$array1 = $pkt; a: { try { $pp = jnc_CharsetEncoder_encode(jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput(jnci_UTF8Charset_newEncoder(var$3), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$4); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { var$3 = $$je; } else { throw $$e; } } var$4 = new jl_AssertionError; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(405); var$4.$cause = var$3; $rt_throw(var$4); } var$8 = $pp.$position0; if (!var$8 && $pp.$limit0 == $pp.$capacity) $n = $pp.$array0; else { $n = $rt_createByteArray($pp.$limit0 - var$8 | 0); jn_ByteBuffer_get($pp, $n, 0, $n.data.length); } var$6 = $n.data.length; $pkt = $rt_createByteArray(var$6 + 2 | 0); var$10 = $pkt.data; jl_System_fastArraycopy($n, 0, $pkt, 2, var$6); var$10[0] = ($cookie & 255) << 24 >> 24; var$10[1] = ($cookie >> 8 & 255) << 24 >> 24; $pp = nms_Minecraft_theMinecraft.$thePlayer; var$11 = $pp === null ? null : $pp.$sendQueue; $pp = new nms_Packet250CustomPayload; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $pp.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $pp.$channel0 = $rt_s(1664); $pp.$data10 = $pkt; $cookie = var$10.length; $pp.$length4 = $cookie; if ($cookie > 32767) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(1124); $rt_throw(var$3); } if (!var$11.$disconnected) var$11.$netManager.$addToSendQueue($pp); } }, nle_DefaultSkinRenderer_skinResponse = $data => { let $packet, $cookie, $p, var$5, var$6, var$7, var$8, var$9, var$10; nle_DefaultSkinRenderer_$callClinit(); $packet = $data.data; $cookie = $packet[0] & 255 | ($packet[1] & 255) << 8; $p = nle_DefaultSkinRenderer_skinCookies; var$5 = $rt_compare($cookie, (-128)); if (var$5 >= 0 && $cookie <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[$cookie + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = $cookie; } if (var$6 === null) { var$7 = $p.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$8 = var$6.$value0; var$9 = $p.$elementData.data; var$7 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$8) { $p = var$7.$key; if (var$6 !== $p && !(var$6 === $p ? 1 : $p instanceof jl_Integer && $p.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$7 = var$7.$next3; } } if (var$7 === null ? 0 : 1) { var$10 = $packet.length; if (var$10 > 3) { $p = nle_DefaultSkinRenderer_skinCookies; if (var$5 >= 0 && $cookie <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[$cookie + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = $cookie; } $p = ju_HashMap_removeByKey($p, var$6); $p = $p === null ? null : $p.$value1; $packet = $rt_createByteArray(var$10 - 2 | 0); jl_System_fastArraycopy($data, 2, $packet, 0, $packet.data.length); $p.$skinPacket = $packet; } } }, nle_DefaultSkinRenderer_isNewSkin = $id => { nle_DefaultSkinRenderer_$callClinit(); a: { b: { if (!$id) break b; if ($id == 2) break b; if ($id == 4) break b; if ($id == 6) break b; if ($id == 8) break b; if ($id == 10) break b; if ($id == 12) break b; if ($id == 14) break b; if ($id == 18) break b; if ($id != 28) { $id = 1; break a; } } $id = 0; } return $id; }, nle_DefaultSkinRenderer_isStandardModel = $id => { let var$2; nle_DefaultSkinRenderer_$callClinit(); var$2 = $id != 18 && $id != 28 ? 0 : 1; return !var$2 && $id != 19 && $id != 20 && $id != 21 && $id != 32 && $id != 33 && $id != 34 ? 1 : 0; }, nle_DefaultSkinRenderer_isPlayerNewSkin = $p => { let var$2, var$3, $type; nle_DefaultSkinRenderer_$callClinit(); if (!($p instanceof nms_EntityClientPlayerMP)) { if ($p instanceof nms_EntityOtherPlayerMP) { var$2 = $p.$skinPacket; if (var$2 !== null) { var$2 = var$2.data; if (var$2[0] == 4) return nle_DefaultSkinRenderer_isNewSkin(var$2[1] & 255); return var$2[0] != 1 && var$2[0] != 3 && var$2[0] != 5 && var$2[0] != 6 ? 0 : 1; } } return 0; } nle_EaglerProfile_$callClinit(); var$3 = nle_EaglerProfile_presetSkinId; if (var$3 > (-1)) return nle_DefaultSkinRenderer_isNewSkin(var$3); $p = nle_EaglerProfile_skins; var$3 = nle_EaglerProfile_customSkinId; if (var$3 >= 0 && var$3 < $p.$size0) { var$3 = $p.$array.data[var$3].$data11.data.length; $type = 0; a: { while (true) { var$2 = nle_EaglerProfile_SKIN_DATA_SIZE.data; if ($type >= var$2.length) { $type = (-1); break a; } if (var$3 == var$2[$type]) break; $type = $type + 1 | 0; } } return $type != 1 && $type != 3 ? 0 : 1; } $p = new jl_IndexOutOfBoundsException; $p.$suppressionEnabled = 1; $p.$writableStackTrace = 1; $rt_throw($p); }, nle_DefaultSkinRenderer_isPlayerNewSkinSlim = $p => { let var$2, var$3; nle_DefaultSkinRenderer_$callClinit(); if ($p instanceof nms_EntityClientPlayerMP) { nle_EaglerProfile_$callClinit(); var$2 = nle_EaglerProfile_presetSkinId; if (var$2 != (-1)) { var$3 = nle_DefaultSkinRenderer_defaultVanillaSkinClassicOrSlimVariants.data; return var$2 < var$3.length && var$3[var$2] ? 1 : 0; } $p = nle_EaglerProfile_skins; var$2 = nle_EaglerProfile_customSkinId; if (var$2 >= 0 && var$2 < $p.$size0) return $p.$array.data[var$2].$slim; $p = new jl_IndexOutOfBoundsException; $p.$suppressionEnabled = 1; $p.$writableStackTrace = 1; $rt_throw($p); } if ($p instanceof nms_EntityOtherPlayerMP) { var$3 = $p.$skinPacket; if (var$3 !== null) { var$3 = var$3.data; if (var$3[0] != 4) return var$3[0] != 5 && var$3[0] != 6 ? 0 : 1; var$2 = var$3[1] & 255; var$3 = nle_DefaultSkinRenderer_defaultVanillaSkinClassicOrSlimVariants.data; return var$2 < var$3.length && var$3[var$2] ? 1 : 0; } } return 0; }, nle_DefaultSkinRenderer_isPlayerStandard = $p => { let var$2, var$3; nle_DefaultSkinRenderer_$callClinit(); if ($p instanceof nms_EntityClientPlayerMP) { nle_EaglerProfile_$callClinit(); var$2 = nle_EaglerProfile_presetSkinId; if (var$2 != (-1)) return nle_DefaultSkinRenderer_isStandardModel(var$2); return 1; } if ($p instanceof nms_EntityOtherPlayerMP) { var$3 = $p.$skinPacket; if (var$3 !== null) { var$3 = var$3.data; if (var$3[0] != 4) return 1; return nle_DefaultSkinRenderer_isStandardModel(var$3[1] & 255); } } return 1; }, nle_DefaultSkinRenderer_getPlayerRenderer = $p => { let var$2, var$3; nle_DefaultSkinRenderer_$callClinit(); if ($p instanceof nms_EntityClientPlayerMP) { nle_EaglerProfile_$callClinit(); var$2 = nle_EaglerProfile_presetSkinId; if (var$2 != (-1)) return var$2; return 0; } if ($p instanceof nms_EntityOtherPlayerMP) { var$3 = $p.$skinPacket; if (var$3 !== null) { var$3 = var$3.data; if (var$3[0] != 4) return 0; if ((var$3[1] & 255) >= nle_DefaultSkinRenderer_defaultVanillaSkins.data.length) return 0; return var$3[1] & 255; } } return 0; }, nle_DefaultSkinRenderer_renderPlayerPreview = ($x, $y, $mx, $my, $id2) => { let $capeMode, $id, var$8, var$9, var$10, var$11, var$12, var$13, $gonnaShowCape, var$15, var$16, var$17, $isNew, $type, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$type = $thread.pop();$isNew = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$gonnaShowCape = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$id = $thread.pop();$capeMode = $thread.pop();$id2 = $thread.pop();$my = $thread.pop();$mx = $thread.pop();$y = $thread.pop();$x = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nle_DefaultSkinRenderer_$callClinit(); $capeMode = ($id2 & 65536) != 65536 ? 0 : 1; if ($capeMode) $id2 = $id2 - 65536 | 0; nle_EaglerProfile_$callClinit(); $id = $id2 - nle_EaglerProfile_skins.$size0 | 0; nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glDisable(2884); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPushMatrix(); var$8 = $x; var$9 = $y - 80 | 0; var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = var$8; var$10.$y = var$9; var$10.$z = 100.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 50.0; var$10.$y = 50.0; var$10.$z = 50.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 1.0; var$10.$y = 0.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); var$8 = 3.1415927410125732; nlegv_Matrix4f_rotate(var$8, nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$11 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$11); var$11.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$11.$sb = var$10; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$11; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(32826); var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 1.0; var$10.$y = (-1.0); var$10.$z = 1.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glPushMatrix(); var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 0.0; var$10.$y = 1.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$11); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 1.0; var$10.$y = 0.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$11); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 1.0; var$10.$y = (-1.0); var$10.$z = 1.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$11); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 0.0; var$10.$y = 1.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($capeMode) { var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 0.0; var$10.$y = 1.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.4434609413146973, nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $mx = ($x - ($x - $mx | 0) | 0) - 20 | 0; var$12 = ($y - $my | 0) * (-0.019999999552965164); var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 1.0; var$10.$y = 0.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { var$12 = ($y - $my | 0) * (-0.05999999865889549); var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 1.0; var$10.$y = 0.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } var$13 = ($x - $mx | 0) * 0.05999999865889549; var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 0.0; var$10.$y = 1.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$13 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 0.0; var$10.$y = (-1.0); var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($id >= 0) { var$10 = nle_DefaultSkinRenderer_defaultVanillaSkins.data[$id]; $ptr = 1; continue main; } var$11 = nms_Minecraft_theMinecraft.$renderEngine; var$10 = nle_EaglerProfile_skins; if ($id2 >= 0 && $id2 < var$10.$size0) { $mx = var$10.$array.data[$id2].$glTex; if ($mx != var$11.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $mx); var$11.$boundTexture = $mx; } $gonnaShowCape = 0; if (!nle_DefaultSkinRenderer_isStandardModel($id) && $id >= 0) { if ($id != 18 && $id != 28 ? 0 : 1) { if (nle_DefaultSkinRenderer_zombieRenderer === null) { var$10 = new nms_ModelZombie; nms_ModelBiped__init_(var$10, 0.0, 0.0, 64, 32); nle_DefaultSkinRenderer_zombieRenderer = var$10; } var$10 = nle_DefaultSkinRenderer_zombieRenderer; var$10.$isChild0 = 0; var$11 = null; nlea_EaglerAdapterImpl2_$callClinit(); nms_ModelBiped_render(var$10, var$11, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625); } else if ($id == 32) { if (nle_DefaultSkinRenderer_villagerRenderer === null) nle_DefaultSkinRenderer_villagerRenderer = nms_ModelVillager__init_(0.0, 0.0, 64, 64); var$10 = nle_DefaultSkinRenderer_villagerRenderer; var$10.$isChild0 = 0; var$11 = null; nlea_EaglerAdapterImpl2_$callClinit(); nms_ModelVillager_setRotationAngles(var$10, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625, var$11); nms_ModelRenderer_render(var$10.$villagerHead, 0.0625); nms_ModelRenderer_render(var$10.$villagerBody, 0.0625); nms_ModelRenderer_render(var$10.$rightVillagerLeg, 0.0625); nms_ModelRenderer_render(var$10.$leftVillagerLeg, 0.0625); nms_ModelRenderer_render(var$10.$villagerArms, 0.0625); $capeMode = $gonnaShowCape; } else { if ($id == 19) { if (nle_DefaultSkinRenderer_endermanRenderer === null) nle_DefaultSkinRenderer_endermanRenderer = nms_ModelEnderman__init_(); var$11 = nle_DefaultSkinRenderer_endermanRenderer; var$11.$isChild0 = 0; var$15 = null; nlea_EaglerAdapterImpl2_$callClinit(); var$16 = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0; var$9 = ($y - $my | 0) * (-0.10000000149011612); nms_ModelBiped_render(var$11, var$15, 0.0, 0.0, var$16, var$13, var$9, 0.0625); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.399999976158142; nleg_EaglerAdapterGL30_colorG = 1.399999976158142; nleg_EaglerAdapterGL30_colorB = 1.399999976158142; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glDisable(2929); nms_RenderEnderman_$callClinit(); var$10 = nms_RenderEnderman_tex_eyes; $ptr = 2; continue main; } if ($id == 20) { if (nle_DefaultSkinRenderer_skeletonRenderer === null) nle_DefaultSkinRenderer_skeletonRenderer = nms_ModelSkeleton__init_(0.0); var$11 = nle_DefaultSkinRenderer_skeletonRenderer; var$11.$isChild0 = 0; var$15 = null; nlea_EaglerAdapterImpl2_$callClinit(); nms_ModelBiped_render(var$11, var$15, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625); $capeMode = $gonnaShowCape; } else if ($id != 21) $capeMode = $gonnaShowCape; else { if (nle_DefaultSkinRenderer_blazeRenderer === null) nle_DefaultSkinRenderer_blazeRenderer = nms_ModelBlaze__init_(); var$11 = nle_DefaultSkinRenderer_blazeRenderer; var$11.$isChild0 = 0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.5; nleg_EaglerAdapterGL30_colorG = 1.5; nleg_EaglerAdapterGL30_colorB = 1.5; nleg_EaglerAdapterGL30_colorA = 1.0; var$15 = null; nlea_EaglerAdapterImpl2_$callClinit(); nms_ModelBlaze_setRotationAngles(var$11, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625, var$15); nms_ModelRenderer_render(var$11.$blazeHead, 0.0625); $x = 0; while (true) { var$17 = var$11.$blazeSticks.data; if ($x >= var$17.length) break; nms_ModelRenderer_render(var$17[$x], 0.0625); $x = $x + 1 | 0; } $capeMode = $gonnaShowCape; } } } else { if (nle_DefaultSkinRenderer_oldSkinRenderer === null) nle_DefaultSkinRenderer_oldSkinRenderer = nms_ModelBiped__init_0(0.0, 0.0, 64, 32); if (nle_DefaultSkinRenderer_newSkinRenderer === null) nle_DefaultSkinRenderer_newSkinRenderer = nle_ModelBipedNewSkins__init_(0.0, 0); if (nle_DefaultSkinRenderer_newSkinRendererSlim === null) nle_DefaultSkinRenderer_newSkinRendererSlim = nle_ModelBipedNewSkins__init_(0.0, 1); nle_DefaultSkinRenderer_oldSkinRenderer.$isChild0 = 0; nle_DefaultSkinRenderer_newSkinRenderer.$isChild0 = 0; nle_DefaultSkinRenderer_newSkinRendererSlim.$isChild0 = 0; $isNew = nle_DefaultSkinRenderer_isNewSkin($id); if ($id < 0) { var$10 = nle_EaglerProfile_skins; if ($id2 >= 0 && $id2 < var$10.$size0) { $mx = var$10.$array.data[$id2].$data11.data.length; $type = 0; a: { while (true) { var$17 = nle_EaglerProfile_SKIN_DATA_SIZE.data; if ($type >= var$17.length) { $type = (-1); break a; } if ($mx == var$17[$type]) break; $type = $type + 1 | 0; } } $isNew = $type != 1 && $type != 3 ? 0 : 1; } else { var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; $rt_throw(var$10); } } b: { if (!$isNew) { var$11 = nle_DefaultSkinRenderer_oldSkinRenderer; var$11.$blockTransparentSkin = 1; var$15 = null; nlea_EaglerAdapterImpl2_$callClinit(); nms_ModelBiped_render(var$11, var$15, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625); nle_DefaultSkinRenderer_oldSkinRenderer.$blockTransparentSkin = 0; } else { c: { d: { e: { if ($id < 0) { var$10 = nle_EaglerProfile_skins; if ($id2 >= 0 && $id2 < var$10.$size0) { if (var$10.$array.data[$id2].$slim) break d; else break e; } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; $rt_throw(var$10); } } if ($id < 0) break c; var$17 = nle_DefaultSkinRenderer_defaultVanillaSkinClassicOrSlimVariants.data; if (!($id < var$17.length && var$17[$id] ? 1 : 0)) break c; } var$11 = nle_DefaultSkinRenderer_newSkinRendererSlim; var$11.$blockTransparentSkin = 1; var$15 = null; nlea_EaglerAdapterImpl2_$callClinit(); nle_ModelBipedNewSkins_render(var$11, var$15, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625); nle_DefaultSkinRenderer_newSkinRendererSlim.$blockTransparentSkin = 0; break b; } var$11 = nle_DefaultSkinRenderer_newSkinRenderer; var$11.$blockTransparentSkin = 1; var$15 = null; nlea_EaglerAdapterImpl2_$callClinit(); nle_ModelBipedNewSkins_render(var$11, var$15, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625); nle_DefaultSkinRenderer_newSkinRenderer.$blockTransparentSkin = 0; } } } if ($capeMode) { $x = nle_EaglerProfile_presetCapeId; if (!($x >= 0 && nle_DefaultSkinRenderer_defaultVanillaCapes.data[$x] === null)) { nleg_EaglerAdapterGL30_glPushMatrix(); var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 0.0; var$10.$y = 0.0; var$10.$z = 0.15000000596046448; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 0.0; var$10.$y = 1.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$8, nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 1.0; var$10.$y = 0.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.10471975803375244), nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $x = nle_EaglerProfile_presetCapeId; if ($x >= 0) { var$10 = nle_DefaultSkinRenderer_defaultVanillaCapes.data[$x]; $ptr = 3; continue main; } var$10 = nms_Minecraft_theMinecraft.$renderEngine; var$11 = nle_EaglerProfile_capes; $x = nle_EaglerProfile_customCapeId; if ($x >= 0 && $x < var$11.$size0) { $x = var$11.$array.data[$x].$glTex0; if ($x != var$10.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $x); var$10.$boundTexture = $x; } nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPushMatrix(); var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 2.0; var$10.$y = 1.0; var$10.$z = 1.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_matrixMode = 5888; if (nle_DefaultSkinRenderer_oldSkinRenderer === null) nle_DefaultSkinRenderer_oldSkinRenderer = nms_ModelBiped__init_0(0.0, 0.0, 64, 32); nms_ModelRenderer_render(nle_DefaultSkinRenderer_oldSkinRenderer.$bipedCloak, 0.0625); if (nle_EaglerProfile_presetCapeId < 0) { nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; } nleg_EaglerAdapterGL30_glPopMatrix(); } else { var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; $rt_throw(var$10); } } } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glDisable(2896); return; } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; $rt_throw(var$10); case 1: nle_TextureLocation_bindTexture(var$10); if ($rt_suspending()) { break main; } $gonnaShowCape = 0; if (!nle_DefaultSkinRenderer_isStandardModel($id) && $id >= 0) { if ($id != 18 && $id != 28 ? 0 : 1) { if (nle_DefaultSkinRenderer_zombieRenderer === null) { var$10 = new nms_ModelZombie; nms_ModelBiped__init_(var$10, 0.0, 0.0, 64, 32); nle_DefaultSkinRenderer_zombieRenderer = var$10; } var$10 = nle_DefaultSkinRenderer_zombieRenderer; var$10.$isChild0 = 0; var$11 = null; nlea_EaglerAdapterImpl2_$callClinit(); nms_ModelBiped_render(var$10, var$11, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625); } else if ($id == 32) { if (nle_DefaultSkinRenderer_villagerRenderer === null) nle_DefaultSkinRenderer_villagerRenderer = nms_ModelVillager__init_(0.0, 0.0, 64, 64); var$10 = nle_DefaultSkinRenderer_villagerRenderer; var$10.$isChild0 = 0; var$11 = null; nlea_EaglerAdapterImpl2_$callClinit(); nms_ModelVillager_setRotationAngles(var$10, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625, var$11); nms_ModelRenderer_render(var$10.$villagerHead, 0.0625); nms_ModelRenderer_render(var$10.$villagerBody, 0.0625); nms_ModelRenderer_render(var$10.$rightVillagerLeg, 0.0625); nms_ModelRenderer_render(var$10.$leftVillagerLeg, 0.0625); nms_ModelRenderer_render(var$10.$villagerArms, 0.0625); $capeMode = $gonnaShowCape; } else { if ($id == 19) { if (nle_DefaultSkinRenderer_endermanRenderer === null) nle_DefaultSkinRenderer_endermanRenderer = nms_ModelEnderman__init_(); var$11 = nle_DefaultSkinRenderer_endermanRenderer; var$11.$isChild0 = 0; var$15 = null; nlea_EaglerAdapterImpl2_$callClinit(); var$16 = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0; var$9 = ($y - $my | 0) * (-0.10000000149011612); nms_ModelBiped_render(var$11, var$15, 0.0, 0.0, var$16, var$13, var$9, 0.0625); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.399999976158142; nleg_EaglerAdapterGL30_colorG = 1.399999976158142; nleg_EaglerAdapterGL30_colorB = 1.399999976158142; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glDisable(2929); nms_RenderEnderman_$callClinit(); var$10 = nms_RenderEnderman_tex_eyes; $ptr = 2; continue main; } if ($id == 20) { if (nle_DefaultSkinRenderer_skeletonRenderer === null) nle_DefaultSkinRenderer_skeletonRenderer = nms_ModelSkeleton__init_(0.0); var$11 = nle_DefaultSkinRenderer_skeletonRenderer; var$11.$isChild0 = 0; var$15 = null; nlea_EaglerAdapterImpl2_$callClinit(); nms_ModelBiped_render(var$11, var$15, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625); $capeMode = $gonnaShowCape; } else if ($id != 21) $capeMode = $gonnaShowCape; else { if (nle_DefaultSkinRenderer_blazeRenderer === null) nle_DefaultSkinRenderer_blazeRenderer = nms_ModelBlaze__init_(); var$11 = nle_DefaultSkinRenderer_blazeRenderer; var$11.$isChild0 = 0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.5; nleg_EaglerAdapterGL30_colorG = 1.5; nleg_EaglerAdapterGL30_colorB = 1.5; nleg_EaglerAdapterGL30_colorA = 1.0; var$15 = null; nlea_EaglerAdapterImpl2_$callClinit(); nms_ModelBlaze_setRotationAngles(var$11, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625, var$15); nms_ModelRenderer_render(var$11.$blazeHead, 0.0625); $x = 0; while (true) { var$17 = var$11.$blazeSticks.data; if ($x >= var$17.length) break; nms_ModelRenderer_render(var$17[$x], 0.0625); $x = $x + 1 | 0; } $capeMode = $gonnaShowCape; } } } else { if (nle_DefaultSkinRenderer_oldSkinRenderer === null) nle_DefaultSkinRenderer_oldSkinRenderer = nms_ModelBiped__init_0(0.0, 0.0, 64, 32); if (nle_DefaultSkinRenderer_newSkinRenderer === null) nle_DefaultSkinRenderer_newSkinRenderer = nle_ModelBipedNewSkins__init_(0.0, 0); if (nle_DefaultSkinRenderer_newSkinRendererSlim === null) nle_DefaultSkinRenderer_newSkinRendererSlim = nle_ModelBipedNewSkins__init_(0.0, 1); nle_DefaultSkinRenderer_oldSkinRenderer.$isChild0 = 0; nle_DefaultSkinRenderer_newSkinRenderer.$isChild0 = 0; nle_DefaultSkinRenderer_newSkinRendererSlim.$isChild0 = 0; $isNew = nle_DefaultSkinRenderer_isNewSkin($id); if ($id < 0) { var$10 = nle_EaglerProfile_skins; if ($id2 >= 0 && $id2 < var$10.$size0) { $mx = var$10.$array.data[$id2].$data11.data.length; $type = 0; f: { while (true) { var$17 = nle_EaglerProfile_SKIN_DATA_SIZE.data; if ($type >= var$17.length) { $type = (-1); break f; } if ($mx == var$17[$type]) break; $type = $type + 1 | 0; } } $isNew = $type != 1 && $type != 3 ? 0 : 1; } else { var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; $rt_throw(var$10); } } g: { if (!$isNew) { var$11 = nle_DefaultSkinRenderer_oldSkinRenderer; var$11.$blockTransparentSkin = 1; var$15 = null; nlea_EaglerAdapterImpl2_$callClinit(); nms_ModelBiped_render(var$11, var$15, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625); nle_DefaultSkinRenderer_oldSkinRenderer.$blockTransparentSkin = 0; } else { h: { i: { j: { if ($id < 0) { var$10 = nle_EaglerProfile_skins; if ($id2 >= 0 && $id2 < var$10.$size0) { if (var$10.$array.data[$id2].$slim) break i; else break j; } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; $rt_throw(var$10); } } if ($id < 0) break h; var$17 = nle_DefaultSkinRenderer_defaultVanillaSkinClassicOrSlimVariants.data; if (!($id < var$17.length && var$17[$id] ? 1 : 0)) break h; } var$11 = nle_DefaultSkinRenderer_newSkinRendererSlim; var$11.$blockTransparentSkin = 1; var$15 = null; nlea_EaglerAdapterImpl2_$callClinit(); nle_ModelBipedNewSkins_render(var$11, var$15, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625); nle_DefaultSkinRenderer_newSkinRendererSlim.$blockTransparentSkin = 0; break g; } var$11 = nle_DefaultSkinRenderer_newSkinRenderer; var$11.$blockTransparentSkin = 1; var$15 = null; nlea_EaglerAdapterImpl2_$callClinit(); nle_ModelBipedNewSkins_render(var$11, var$15, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, ($y - $my | 0) * (-0.10000000149011612), 0.0625); nle_DefaultSkinRenderer_newSkinRenderer.$blockTransparentSkin = 0; } } } if ($capeMode) { $x = nle_EaglerProfile_presetCapeId; if (!($x >= 0 && nle_DefaultSkinRenderer_defaultVanillaCapes.data[$x] === null)) { nleg_EaglerAdapterGL30_glPushMatrix(); var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 0.0; var$10.$y = 0.0; var$10.$z = 0.15000000596046448; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 0.0; var$10.$y = 1.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$8, nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 1.0; var$10.$y = 0.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.10471975803375244), nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $x = nle_EaglerProfile_presetCapeId; if ($x >= 0) { var$10 = nle_DefaultSkinRenderer_defaultVanillaCapes.data[$x]; $ptr = 3; continue main; } var$10 = nms_Minecraft_theMinecraft.$renderEngine; var$11 = nle_EaglerProfile_capes; $x = nle_EaglerProfile_customCapeId; if ($x >= 0 && $x < var$11.$size0) { $x = var$11.$array.data[$x].$glTex0; if ($x != var$10.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $x); var$10.$boundTexture = $x; } nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPushMatrix(); var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 2.0; var$10.$y = 1.0; var$10.$z = 1.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_matrixMode = 5888; if (nle_DefaultSkinRenderer_oldSkinRenderer === null) nle_DefaultSkinRenderer_oldSkinRenderer = nms_ModelBiped__init_0(0.0, 0.0, 64, 32); nms_ModelRenderer_render(nle_DefaultSkinRenderer_oldSkinRenderer.$bipedCloak, 0.0625); if (nle_EaglerProfile_presetCapeId < 0) { nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; } nleg_EaglerAdapterGL30_glPopMatrix(); } else { var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; $rt_throw(var$10); } } } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glDisable(2896); return; case 2: nle_TextureLocation_bindTexture(var$10); if ($rt_suspending()) { break main; } nms_ModelBiped_render(nle_DefaultSkinRenderer_endermanRenderer, null, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$13, var$9, 0.0625); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $capeMode = $gonnaShowCape; if ($capeMode) { $x = nle_EaglerProfile_presetCapeId; if (!($x >= 0 && nle_DefaultSkinRenderer_defaultVanillaCapes.data[$x] === null)) { nleg_EaglerAdapterGL30_glPushMatrix(); var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 0.0; var$10.$y = 0.0; var$10.$z = 0.15000000596046448; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 0.0; var$10.$y = 1.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$8, nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 1.0; var$10.$y = 0.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.10471975803375244), nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $x = nle_EaglerProfile_presetCapeId; if ($x >= 0) { var$10 = nle_DefaultSkinRenderer_defaultVanillaCapes.data[$x]; $ptr = 3; continue main; } var$10 = nms_Minecraft_theMinecraft.$renderEngine; var$11 = nle_EaglerProfile_capes; $x = nle_EaglerProfile_customCapeId; if ($x >= 0 && $x < var$11.$size0) { $x = var$11.$array.data[$x].$glTex0; if ($x != var$10.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $x); var$10.$boundTexture = $x; } nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPushMatrix(); var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 2.0; var$10.$y = 1.0; var$10.$z = 1.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_matrixMode = 5888; if (nle_DefaultSkinRenderer_oldSkinRenderer === null) nle_DefaultSkinRenderer_oldSkinRenderer = nms_ModelBiped__init_0(0.0, 0.0, 64, 32); nms_ModelRenderer_render(nle_DefaultSkinRenderer_oldSkinRenderer.$bipedCloak, 0.0625); if (nle_EaglerProfile_presetCapeId < 0) { nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; } nleg_EaglerAdapterGL30_glPopMatrix(); } else { var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; $rt_throw(var$10); } } } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glDisable(2896); return; case 3: nle_TextureLocation_bindTexture(var$10); if ($rt_suspending()) { break main; } if (nle_DefaultSkinRenderer_oldSkinRenderer === null) nle_DefaultSkinRenderer_oldSkinRenderer = nms_ModelBiped__init_0(0.0, 0.0, 64, 32); nms_ModelRenderer_render(nle_DefaultSkinRenderer_oldSkinRenderer.$bipedCloak, 0.0625); if (nle_EaglerProfile_presetCapeId < 0) { nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glDisable(2896); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($x, $y, $mx, $my, $id2, $capeMode, $id, var$8, var$9, var$10, var$11, var$12, var$13, $gonnaShowCape, var$15, var$16, var$17, $isNew, $type, $ptr); }, nle_DefaultSkinRenderer_renderAlexOrSteve = ($x, $y, $mx, $my, $alex) => { let $bp, var$7, var$8, var$9, var$10, var$11; nle_DefaultSkinRenderer_$callClinit(); if (!$alex) { if (nle_DefaultSkinRenderer_newSkinRenderer === null) nle_DefaultSkinRenderer_newSkinRenderer = nle_ModelBipedNewSkins__init_(0.0, 0); $bp = nle_DefaultSkinRenderer_newSkinRenderer; } else { if (nle_DefaultSkinRenderer_newSkinRendererSlim === null) nle_DefaultSkinRenderer_newSkinRendererSlim = nle_ModelBipedNewSkins__init_(0.0, 1); $bp = nle_DefaultSkinRenderer_newSkinRendererSlim; } nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glDisable(2884); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPushMatrix(); var$7 = $x; var$8 = $y - 80 | 0; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = var$7; var$9.$y = var$8; var$9.$z = 100.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 50.0; var$9.$y = 50.0; var$9.$z = 50.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = 0.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(32826); var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = (-1.0); var$9.$z = 1.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glPushMatrix(); var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$10); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = 0.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$10); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = (-1.0); var$9.$z = 1.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$10); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$7 = $y - $my | 0; var$8 = var$7 * (-0.05999999865889549); var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = 0.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$8 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$11 = ($x - $mx | 0) * 0.05999999865889549; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$11 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = (-1.0); var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $bp.$isChild0 = 0; var$9 = null; nlea_EaglerAdapterImpl2_$callClinit(); nle_ModelBipedNewSkins_render($bp, var$9, 0.0, 0.0, Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100000))) / 50.0, var$11, var$7 * (-0.10000000149011612), 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glDisable(2896); }, nle_DefaultSkinRenderer_isPlayerPreviewNew = $id2 => { let var$2, var$3, var$4, var$5, var$6; nle_DefaultSkinRenderer_$callClinit(); nle_EaglerProfile_$callClinit(); var$2 = nle_EaglerProfile_skins; var$3 = var$2.$size0; if (($id2 - var$3 | 0) >= 0) return 0; if ($id2 >= 0) { var$4 = $rt_compare($id2, var$3); if (var$4 < 0) { a: { b: { var$5 = var$2.$array.data; var$3 = var$5[$id2].$data11.data.length; var$6 = nle_EaglerProfile_SKIN_DATA_SIZE.data; if (var$3 != var$6[1]) { if ($id2 >= 0 && var$4 < 0) { if (var$5[$id2].$data11.data.length != var$6[3]) { $id2 = 0; break a; } else break b; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } $id2 = 1; } return $id2; } } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, nle_DefaultSkinRenderer__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $rt_createArray(nle_TextureLocation, 38); var$2 = var$1.data; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1665); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[0] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1666); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[1] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1667); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[2] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1668); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[3] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1669); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[4] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1670); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[5] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1671); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[6] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1672); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[7] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1673); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[8] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1674); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[9] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1675); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[10] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1676); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[11] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1677); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[12] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1678); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[13] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1679); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[14] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1680); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[15] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1681); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[16] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1682); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[17] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1683); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[18] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1684); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[19] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1685); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[20] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1686); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[21] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1687); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[22] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1688); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[23] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1689); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[24] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1690); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[25] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1691); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[26] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1692); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[27] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1693); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[28] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1694); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[29] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1695); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[30] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1696); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[31] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1697); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[32] = var$3; var$2[33] = null; var$2[34] = null; var$2[35] = null; var$2[36] = null; var$2[37] = null; nle_DefaultSkinRenderer_defaultVanillaSkins = var$1; var$1 = $rt_createArray(nle_TextureLocation, 21); var$2 = var$1.data; var$2[0] = null; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1698); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[1] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1699); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[2] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1700); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[3] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1701); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[4] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1702); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[5] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1703); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[6] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1704); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[7] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1705); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[8] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1706); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[9] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1707); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[10] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1708); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[11] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1709); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[12] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1710); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[13] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1711); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[14] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1712); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[15] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1713); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[16] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1714); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[17] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1715); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[18] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1716); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[19] = var$3; var$3 = new nle_TextureLocation; var$3.$path = $rt_s(1717); var$3.$glObject = (-1); var$4 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2[20] = var$3; nle_DefaultSkinRenderer_defaultVanillaCapes = var$1; nle_DefaultSkinRenderer_defaultVanillaSkinClassicOrSlimVariants = $rt_createBooleanArrayFromData([0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1]); var$3 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$2 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$1 = var$2.data; var$3.$elementData = var$2; var$3.$loadFactor = 0.75; var$3.$threshold = var$1.length * 0.75 | 0; nle_DefaultSkinRenderer_skinCookies = var$3; var$3 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$2 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$1 = var$2.data; var$3.$elementData = var$2; var$3.$loadFactor = 0.75; var$3.$threshold = var$1.length * 0.75 | 0; nle_DefaultSkinRenderer_skinGLUnits = var$3; var$3 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$2 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$1 = var$2.data; var$3.$elementData = var$2; var$3.$loadFactor = 0.75; var$3.$threshold = var$1.length * 0.75 | 0; nle_DefaultSkinRenderer_capeGLUnits = var$3; var$3 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$2 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$1 = var$2.data; var$3.$elementData = var$2; var$3.$loadFactor = 0.75; var$3.$threshold = var$1.length * 0.75 | 0; nle_DefaultSkinRenderer_skinGLTimeout = var$3; nle_DefaultSkinRenderer_lastClean = Long_ZERO; nle_DefaultSkinRenderer_oldSkinRenderer = null; nle_DefaultSkinRenderer_newSkinRenderer = null; nle_DefaultSkinRenderer_newSkinRendererSlim = null; nle_DefaultSkinRenderer_zombieRenderer = null; nle_DefaultSkinRenderer_villagerRenderer = null; nle_DefaultSkinRenderer_endermanRenderer = null; nle_DefaultSkinRenderer_blazeRenderer = null; nle_DefaultSkinRenderer_skeletonRenderer = null; }; function nms_GuiMultiplayer() { let a = this; nms_GuiScreen.call(a); a.$parentScreen2 = null; a.$serverSlotContainer = null; a.$selectedServer = 0; a.$field_96289_p = null; a.$buttonSelect = null; a.$buttonDelete0 = null; a.$deleteClicked = 0; a.$addClicked = 0; a.$editClicked = 0; a.$directClicked = 0; a.$lagTooltip = null; a.$theServerData = null; a.$hasInitialRefresh = 0; a.$ticksOpened = 0; a.$relaysButton = null; } let nms_GuiMultiplayer_threadsPending = 0, nms_GuiMultiplayer_lock = null, nms_GuiMultiplayer_internetServerList = null, nms_GuiMultiplayer_lanServerList = null, nms_GuiMultiplayer_lastCooldown = Long_ZERO, nms_GuiMultiplayer_lastRefresh = Long_ZERO, nms_GuiMultiplayer_cooldownTimer = 0, nms_GuiMultiplayer_isLockedOut = 0, nms_GuiMultiplayer__init_0 = ($this, $par1GuiScreen) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_GuiScreen__init_($this); $this.$selectedServer = (-1); $this.$deleteClicked = 0; $this.$addClicked = 0; $this.$editClicked = 0; $this.$directClicked = 0; $this.$lagTooltip = null; $this.$theServerData = null; $this.$hasInitialRefresh = 0; $this.$parentScreen2 = $par1GuiScreen; $par1GuiScreen = new nle_GuiNetworkSettingsButton; nms_Gui_$callClinit(); $par1GuiScreen.$screen0 = $this; nms_StringTranslate_$callClinit(); $par1GuiScreen.$text1 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $rt_s(1718)); $par1GuiScreen.$mc13 = nms_Minecraft_theMinecraft; $this.$relaysButton = $par1GuiScreen; nms_GuiMultiplayer_isLockedOut = 0; $par1GuiScreen = nms_GuiMultiplayer_lanServerList; if ($par1GuiScreen !== null) { var$2 = $par1GuiScreen.$deadURIs.$backingMap; if (var$2.$elementCount > 0) { var$2.$elementCount = 0; var$3 = var$2.$elementData.data; var$4 = null; var$5 = 0; var$6 = var$3.length; if (var$5 > var$6) { $par1GuiScreen = new jl_IllegalArgumentException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); } while (var$5 < var$6) { var$7 = var$5 + 1 | 0; var$3[var$5] = var$4; var$5 = var$7; } var$2.$modCount0 = var$2.$modCount0 + 1 | 0; } $par1GuiScreen.$refreshCounter = 0; nle_LANServerList_refresh($par1GuiScreen); } }, nms_GuiMultiplayer__init_ = var_0 => { let var_1 = new nms_GuiMultiplayer(); nms_GuiMultiplayer__init_0(var_1, var_0); return var_1; }, nms_GuiMultiplayer_testIfCanRefresh = () => { let $t, var$2; nlea_EaglerAdapterImpl2_$callClinit(); $t = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (Long_gt(Long_sub($t, nms_GuiMultiplayer_lastRefresh), Long_fromInt(1000))) { nms_GuiMultiplayer_lastRefresh = $t; var$2 = nms_GuiMultiplayer_cooldownTimer; if (var$2 >= 8) nms_GuiMultiplayer_isLockedOut = 1; else nms_GuiMultiplayer_cooldownTimer = var$2 + 1 | 0; if (nms_GuiMultiplayer_cooldownTimer < 5) { nms_GuiMultiplayer_isLockedOut = 0; return 1; } } return 0; }, nms_GuiMultiplayer_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; var$1 = $this.$buttonList; var$2 = var$1.$array; var$3 = 0; var$4 = var$1.$size0; var$5 = null; if (var$3 > var$4) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$3 < var$4) { var$6 = var$2.data; var$7 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; if ($this.$hasInitialRefresh) { var$1 = $this.$serverSlotContainer; var$7 = $this.$width; var$8 = $this.$height; var$4 = var$8 - 64 | 0; var$1.$width7 = var$7; var$1.$height10 = var$8; var$1.$top = 32; var$1.$bottom = var$4; var$1.$left0 = 0; var$1.$right0 = var$7; } else { $this.$hasInitialRefresh = 1; if (nms_GuiMultiplayer_internetServerList === null) { var$1 = new nms_ServerList; var$5 = $this.$mc; nms_ServerList_$callClinit(); var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$1.$servers = var$9; var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$1.$allServers = var$9; var$1.$mc17 = var$5; nms_ServerList_loadServerList(var$1); nms_GuiMultiplayer_internetServerList = var$1; } else if (nms_GuiMultiplayer_testIfCanRefresh()) nms_ServerList_loadServerList(nms_GuiMultiplayer_internetServerList); if (nms_GuiMultiplayer_lanServerList === null) nms_GuiMultiplayer_lanServerList = nle_LANServerList__init_0(); else if (nms_GuiMultiplayer_testIfCanRefresh()) { var$1 = nms_GuiMultiplayer_lanServerList; var$5 = var$1.$deadURIs.$backingMap; if (var$5.$elementCount > 0) { var$5.$elementCount = 0; var$2 = var$5.$elementData.data; var$9 = null; var$3 = 0; var$4 = var$2.length; if (var$3 > var$4) { var$1 = new jl_IllegalArgumentException; jl_Throwable__init_(var$1); $rt_throw(var$1); } while (var$3 < var$4) { var$7 = var$3 + 1 | 0; var$2[var$3] = var$9; var$3 = var$7; } var$5.$modCount0 = var$5.$modCount0 + 1 | 0; } var$1.$refreshCounter = 0; nle_LANServerList_refresh(var$1); } var$1 = new nms_GuiSlotServer; nms_GuiSlotServer_$callClinit(); var$5 = $this.$mc; var$8 = $this.$width; var$10 = $this.$height; nms_GuiSlot__init_(var$1, var$5, var$8, var$10, 32, var$10 - 64 | 0, 36); var$1.$parentGui = $this; $this.$serverSlotContainer = var$1; } nms_GuiMultiplayer_initGuiControls($this); }, nms_GuiMultiplayer_initGuiControls = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $var2; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; var$2 = $this.$buttonList; var$3 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 154 | 0; var$5 = $this.$height - 28 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(1719)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$3.$width0 = 200; var$3.$height0 = 20; var$3.$enabled = 1; var$3.$drawButton0 = 1; var$3.$id0 = 7; var$3.$xPosition = var$4; var$3.$yPosition = var$5; var$3.$width0 = 70; var$3.$height0 = 20; var$3.$displayString = var$6; $this.$field_96289_p = var$3; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$7 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 74 | 0; var$4 = $this.$height - 28 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(1720)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 2; var$6.$xPosition = var$8; var$6.$yPosition = var$4; var$6.$width0 = 70; var$6.$height0 = 20; var$6.$displayString = var$2; $this.$buttonDelete0 = var$6; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 154 | 0; var$5 = $this.$height - 52 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(1721)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 1; var$6.$xPosition = var$4; var$6.$yPosition = var$5; var$6.$width0 = 100; var$6.$height0 = 20; var$6.$displayString = var$2; $this.$buttonSelect = var$6; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; $var2 = var$3.$size0; var$3.$size0 = $var2 + 1 | 0; var$7[$var2] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 50 | 0; var$4 = $this.$height - 52 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(1722)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 4; var$6.$xPosition = var$8; var$6.$yPosition = var$4; var$6.$width0 = 100; var$6.$height0 = 20; var$6.$displayString = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$8 = (($this.$width / 2 | 0) + 4 | 0) + 50 | 0; var$4 = $this.$height - 52 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(1723)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 3; var$6.$xPosition = var$8; var$6.$yPosition = var$4; var$6.$width0 = 100; var$6.$height0 = 20; var$6.$displayString = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) + 4 | 0; var$4 = $this.$height - 28 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(1724)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 8; var$6.$xPosition = var$8; var$6.$yPosition = var$4; var$6.$width0 = 70; var$6.$height0 = 20; var$6.$displayString = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$8 = (($this.$width / 2 | 0) + 4 | 0) + 76 | 0; var$4 = $this.$height - 28 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(1626)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 0; var$6.$xPosition = var$8; var$6.$yPosition = var$4; var$6.$width0 = 75; var$6.$height0 = 20; var$6.$displayString = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; $var2 = $this.$selectedServer; $var2 = $var2 >= 0 && $var2 < ((nms_GuiMultiplayer_internetServerList.$servers.$size0 + nms_GuiMultiplayer_lanServerList.$lanServersList.$size2 | 0) + 1 | 0) ? 1 : 0; $this.$buttonSelect.$enabled = $var2; $this.$field_96289_p.$enabled = $var2; $this.$buttonDelete0.$enabled = $var2; }, nms_GuiMultiplayer_updateScreen = $this => { nms_ServerList_updateServerPing(nms_GuiMultiplayer_internetServerList); nle_LANServerList_update(nms_GuiMultiplayer_lanServerList); $this.$ticksOpened = $this.$ticksOpened + 1 | 0; }, nms_GuiMultiplayer_onGuiClosed = $this => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; }, nms_GuiMultiplayer_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, $var2, $var4, $var3, $var9, $var6, var$9, var$10, var$11, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();$var9 = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($par1GuiButton.$enabled) { var$2 = $par1GuiButton.$id0; if (var$2 != 2) { if (var$2 == 1) { var$3 = $this.$selectedServer; $ptr = 1; continue main; } if (var$2 == 4) { $this.$directClicked = 1; $par1GuiButton = $this.$mc; $var2 = new nle_GuiScreenConnectOption; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var2.$buttonList = $var4; $var2.$allowUserInput = 0; $var2.$selectedButton = null; $var2.$eventButton = 0; $var2.$field_85043_c = Long_ZERO; $var2.$field_92018_d = 0; $var2.$guiScreen0 = $this; $var4 = new nle_GuiNetworkSettingsButton; $var4.$screen0 = $var2; nms_StringTranslate_$callClinit(); $var4.$text1 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $rt_s(1718)); $var4.$mc13 = nms_Minecraft_theMinecraft; $var2.$relaysButton1 = $var4; $ptr = 2; continue main; } if (var$2 == 3) { $this.$addClicked = 1; $var2 = $this.$mc; $var4 = new nms_GuiScreenAddServer; $var3 = new nms_ServerData; nms_StatCollector_$callClinit(); nms_ServerData__init_($var3, nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1725)), $rt_s(18), 0); $this.$theServerData = $var3; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $par1GuiButton = new ju_ArrayList; $par1GuiButton.$array = $rt_createArray(jl_Object, 10); $var4.$buttonList = $par1GuiButton; $var4.$allowUserInput = 0; $var4.$selectedButton = null; $var4.$eventButton = 0; $var4.$field_85043_c = Long_ZERO; $var4.$field_92018_d = 0; $var4.$parentGui2 = $this; $var4.$newServerData = $var3; $ptr = 3; continue main; } if (var$2 != 7) { if (!var$2) { $par1GuiButton = $this.$mc; $var2 = $this.$parentScreen2; $ptr = 4; continue main; } if (var$2 != 8) { $var2 = $this.$serverSlotContainer; $ptr = 5; continue main; } if (!nms_GuiMultiplayer_testIfCanRefresh()) break a; nms_GuiMultiplayer_lastRefresh = Long_ZERO; nms_GuiMultiplayer_cooldownTimer = nms_GuiMultiplayer_cooldownTimer - 1 | 0; $par1GuiButton = $this.$mc; $var2 = nms_GuiMultiplayer__init_($this.$parentScreen2); $ptr = 7; continue main; } $this.$editClicked = 1; $par1GuiButton = nms_GuiMultiplayer_internetServerList; var$3 = $this.$selectedServer; $par1GuiButton = $par1GuiButton.$servers; if (var$3 >= 0 && var$3 < $par1GuiButton.$size0) { $var9 = $par1GuiButton.$array.data[var$3]; $par1GuiButton = nms_ServerData__init_0($var9.$serverName1, $var9.$serverIP, 0); $this.$theServerData = $par1GuiButton; $par1GuiButton.$hideAddress = $var9.$hideAddress; $var2 = $this.$mc; $var4 = new nms_GuiScreenAddServer; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var3 = new ju_ArrayList; $var3.$array = $rt_createArray(jl_Object, 10); $var4.$buttonList = $var3; $var4.$allowUserInput = 0; $var4.$selectedButton = null; $var4.$eventButton = 0; $var4.$field_85043_c = Long_ZERO; $var4.$field_92018_d = 0; $var4.$parentGui2 = $this; $var4.$newServerData = $par1GuiButton; $ptr = 6; continue main; } $par1GuiButton = new jl_IndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } $par1GuiButton = nms_GuiMultiplayer_internetServerList; var$3 = $this.$selectedServer; $par1GuiButton = $par1GuiButton.$servers; if (var$3 >= 0 && var$3 < $par1GuiButton.$size0) { $var2 = $par1GuiButton.$array.data[var$3].$serverName1; if ($var2 !== null) { $this.$deleteClicked = 1; nms_StringTranslate_$callClinit(); $var3 = nms_StringTranslate_instance; $var4 = nms_StringTranslate_translateKey($var3, $rt_s(1726)); $par1GuiButton = nms_StringTranslate_translateKey($var3, $rt_s(1727)); $var6 = new jl_StringBuilder; $var6.$buffer = $rt_createCharArray(16); var$9 = $var6.$length0; jl_AbstractStringBuilder_insertSpace($var6, var$9, var$9 + 1 | 0); $var6.$buffer.data[var$9] = 39; jl_AbstractStringBuilder_insert($var6, $var6.$length0, $var2); jl_AbstractStringBuilder_insert($var6, $var6.$length0, $rt_s(1728)); var$3 = $var6.$length0; if ($par1GuiButton === null) $par1GuiButton = $rt_s(1); jl_AbstractStringBuilder_insert($var6, var$3, $par1GuiButton); $var2 = new jl_String; var$10 = $var6.$buffer; var$11 = var$10.data; var$2 = $var6.$length0; var$9 = var$11.length; if (var$2 >= 0 && var$2 <= (var$9 - 0 | 0)) { $var2.$nativeString = $rt_charArrayToString(var$10.data, 0, var$2); $var6 = nms_StringTranslate_translateKey($var3, $rt_s(1729)); $var7 = nms_StringTranslate_translateKey($var3, $rt_s(1626)); $var8 = new nms_GuiYesNo; var$3 = $this.$selectedServer; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $par1GuiButton = new ju_ArrayList; $par1GuiButton.$array = $rt_createArray(jl_Object, 10); $var8.$buttonList = $par1GuiButton; $var8.$allowUserInput = 0; $var8.$selectedButton = null; $var8.$eventButton = 0; $var8.$field_85043_c = Long_ZERO; $var8.$field_92018_d = 0; $var8.$parentScreen = $this; $var8.$message10 = $var4; $var8.$message2 = $var2; $var8.$buttonText1 = $var6; $var8.$buttonText2 = $var7; $var8.$worldNumber = var$3; $par1GuiButton = $this.$mc; $ptr = 8; continue main; } $par1GuiButton = new jl_IndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1GuiButton); $rt_throw($par1GuiButton); } } else { $par1GuiButton = new jl_IndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } } } return; case 1: nms_GuiMultiplayer_joinServer($this, var$3); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, $var2); if ($rt_suspending()) { break main; } return; case 3: nms_Minecraft_displayGuiScreen($var2, $var4); if ($rt_suspending()) { break main; } return; case 4: nms_Minecraft_displayGuiScreen($par1GuiButton, $var2); if ($rt_suspending()) { break main; } return; case 5: nms_GuiSlot_actionPerformed($var2, $par1GuiButton); if ($rt_suspending()) { break main; } return; case 6: nms_Minecraft_displayGuiScreen($var2, $var4); if ($rt_suspending()) { break main; } return; case 7: nms_Minecraft_displayGuiScreen($par1GuiButton, $var2); if ($rt_suspending()) { break main; } return; case 8: nms_Minecraft_displayGuiScreen($par1GuiButton, $var8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, $var2, $var4, $var3, $var9, $var6, var$9, var$10, var$11, $var7, $var8, $ptr); }, nms_GuiMultiplayer_confirmClicked = ($this, $par1, $par2) => { let var$3, var$4, var$5, $var3, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$deleteClicked) { if ($this.$directClicked) { $this.$directClicked = 0; if (!$par1) { var$3 = $this.$mc; $ptr = 2; continue main; } var$3 = $this.$theServerData; var$4 = $this.$mc; var$5 = new nms_GuiConnecting; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var3 = new ju_ArrayList; $var3.$array = $rt_createArray(jl_Object, 10); var$5.$buttonList = $var3; var$5.$allowUserInput = 0; var$5.$selectedButton = null; var$5.$eventButton = 0; var$5.$field_85043_c = Long_ZERO; var$5.$field_92018_d = 0; var$5.$cancelled = 0; var$5.$mc = var$4; var$5.$field_98098_c = $this; var$5.$clientHandler = null; var$5.$networkConnection = null; var$5.$uri = var$3.$serverIP; $var3 = null; var$7 = $rt_s(18); $ptr = 3; continue main; } if ($this.$addClicked) { $this.$addClicked = 0; if ($par1) { var$3 = nms_GuiMultiplayer_internetServerList; var$5 = $this.$theServerData; var$5.$pingSentTime = Long_fromInt(-1); var$5.$hasPing = 0; var$4 = var$3.$allServers; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$8 = var$4.$array.data; $par2 = var$4.$size0; var$4.$size0 = $par2 + 1 | 0; var$8[$par2] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; nms_ServerList_refreshServerPing(var$3); nms_ServerList_saveServerList(nms_GuiMultiplayer_internetServerList); $this.$selectedServer = (-1); } var$3 = $this.$mc; $ptr = 5; continue main; } if (!$this.$editClicked) return; $this.$editClicked = 0; if ($par1) { var$3 = nms_GuiMultiplayer_internetServerList; $par1 = $this.$selectedServer; var$5 = var$3.$servers; if ($par1 >= 0 && $par1 < var$5.$size0) { $var3 = var$5.$array.data[$par1]; var$5 = $this.$theServerData; $var3.$serverName1 = var$5.$serverName1; $var3.$serverIP = var$5.$serverIP; $var3.$hideAddress = var$5.$hideAddress; $var3.$pingSentTime = Long_fromInt(-1); nms_ServerList_saveServerList(var$3); } else { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } } var$3 = $this.$mc; $ptr = 6; continue main; } $this.$deleteClicked = 0; if ($par1) { var$3 = nms_GuiMultiplayer_internetServerList; var$5 = ju_ArrayList_remove(var$3.$servers, $par2); var$3 = var$3.$allServers; var$9 = var$3.$size0; $par1 = 0; a: { while (true) { $par2 = $rt_compare($par1, var$9); if ($par2 >= 0) { $par1 = (-1); break a; } if ($par1 < 0) break; if ($par2 >= 0) break; var$4 = var$3.$array.data[$par1]; if (var$5 === var$4 ? 1 : var$5 === null ? (var$4 !== null ? 0 : 1) : var$4 instanceof nms_ServerData && var$5.$id7 == var$4.$id7 ? 1 : 0) break a; $par1 = $par1 + 1 | 0; } var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } if ($par1 >= 0) ju_ArrayList_remove(var$3, $par1); if (var$5 !== null) { $par2 = var$5.$serverIconGL; if ($par2 != (-1)) { nleg_EaglerAdapterGL30_$callClinit(); var$4 = nleg_EaglerAdapterGL30_texObjects; if ($par2 < var$4.$size4 && $par2 >= 0) { var$8 = var$4.$values.data; $var3 = var$8[$par2]; var$8[$par2] = null; var$4.$allocatedObjects = var$4.$allocatedObjects - 1 | 0; } else $var3 = null; var$3 = $var3; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteTexture(var$3.$obj1); var$5.$serverIconGL = (-1); } var$5.$serverIconDirty = 0; var$5.$serverIconEnabled = 0; } nms_ServerList_saveServerList(nms_GuiMultiplayer_internetServerList); $this.$selectedServer = (-1); } var$3 = $this.$mc; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$3, $this); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen(var$3, $this); if ($rt_suspending()) { break main; } return; case 3: nms_Minecraft_loadWorld(var$4, $var3, var$7); if ($rt_suspending()) { break main; } var$4.$currentServerData = var$3; $ptr = 4; case 4: nms_Minecraft_displayGuiScreen(var$4, var$5); if ($rt_suspending()) { break main; } return; case 5: nms_Minecraft_displayGuiScreen(var$3, $this); if ($rt_suspending()) { break main; } return; case 6: nms_Minecraft_displayGuiScreen(var$3, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, $var3, var$7, var$8, var$9, $ptr); }, nms_GuiMultiplayer_keyTyped = ($this, $par1, $par2) => { let $var3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$selectedServer; if ($par2 == 59) { var$4 = $this.$mc.$gameSettings; var$4.$hideServerAddress = var$4.$hideServerAddress ? 0 : 1; nms_GameSettings_saveOptions(var$4); } else { nms_GuiScreen_$callClinit(); var$5 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 0 : 1; if (var$5 && $par2 == 200) { nms_ServerList_$callClinit(); if ($var3 > nms_ServerList_forcedServers.$size0) { var$5 = nms_GuiMultiplayer_internetServerList.$servers.$size0; if ($var3 < var$5) { $this.$selectedServer = $this.$selectedServer - 1 | 0; if ($var3 < (var$5 - 1 | 0)) { var$4 = $this.$serverSlotContainer; $par1 = -var$4.$slotHeight | 0; var$6 = var$4.$amountScrolled + $par1; var$4.$amountScrolled = var$6; $par1 = (((var$5 + nms_GuiMultiplayer_lanServerList.$lanServersList.$size2 | 0) + 1 | 0) * 36 | 0) - ((var$4.$bottom - var$4.$top | 0) - 4 | 0) | 0; if ($par1 < 0) $par1 = $par1 / 2 | 0; if (var$6 < 0.0) var$4.$amountScrolled = 0.0; var$6 = var$4.$amountScrolled; var$7 = $par1; if (var$6 > var$7) var$4.$amountScrolled = var$7; var$4.$initialClickY = (-2.0); } } } } else { var$5 = !nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 0 : 1; if (var$5 && $par2 == 208) { var$5 = nms_GuiMultiplayer_internetServerList.$servers.$size0; if ($var3 < (var$5 - 1 | 0)) { $this.$selectedServer = $this.$selectedServer + 1 | 0; if ($var3 > 0) { var$4 = $this.$serverSlotContainer; $par1 = var$4.$slotHeight; var$6 = var$4.$amountScrolled + $par1; var$4.$amountScrolled = var$6; $par1 = (((var$5 + nms_GuiMultiplayer_lanServerList.$lanServersList.$size2 | 0) + 1 | 0) * 36 | 0) - ((var$4.$bottom - var$4.$top | 0) - 4 | 0) | 0; if ($par1 < 0) $par1 = $par1 / 2 | 0; if (var$6 < 0.0) var$4.$amountScrolled = 0.0; var$6 = var$4.$amountScrolled; var$7 = $par1; if (var$6 > var$7) var$4.$amountScrolled = var$7; var$4.$initialClickY = (-2.0); } } } else if ($par1 == 13) { var$4 = $this.$buttonList; if (2 >= var$4.$size0) { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } var$4 = var$4.$array.data[2]; $ptr = 1; continue main; } } } return; case 1: nms_GuiMultiplayer_actionPerformed($this, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, var$5, var$6, var$7, $ptr); }, nms_GuiMultiplayer_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, $linkWidth, $showAyonull, $link, $canYouNot, $mouseOver, $w, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$w = $thread.pop();$mouseOver = $thread.pop();$canYouNot = $thread.pop();$link = $thread.pop();$showAyonull = $thread.pop();$linkWidth = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$lagTooltip = null; nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; $linkWidth = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $showAyonull = nle_ConfigConstants_ayonullTitle !== null && nle_ConfigConstants_ayonullLink !== null ? 1 : 0; $link = $this.$serverSlotContainer; $link.$top = !$showAyonull ? 32 : 42; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, $linkWidth); if ($rt_suspending()) { break main; } $showAyonull = nle_ConfigConstants_ayonullTitle !== null && nle_ConfigConstants_ayonullLink !== null ? 1 : 0; $link = $this.$serverSlotContainer; $link.$top = !$showAyonull ? 32 : 42; $ptr = 2; case 2: nms_GuiSlot_drawScreen($link, $par1, $par2, $par3); if ($rt_suspending()) { break main; } if ($showAyonull) { $link = $this.$fontRenderer; $canYouNot = nle_ConfigConstants_ayonullTitle; $linkWidth = $this.$width / 2 | 0; $mouseOver = 12; $w = 14540134; $linkWidth = $linkWidth - (nms_FontRenderer_getStringWidth($link, $canYouNot) / 2 | 0) | 0; $link.$randomStyle = 0; $link.$boldStyle = 0; $link.$italicStyle = 0; $link.$underlineStyle = 0; $link.$strikethroughStyle = 0; $showAyonull = $linkWidth + 1 | 0; var$11 = 13; var$12 = 1; $ptr = 5; continue main; } $link = $this.$fontRenderer; $canYouNot = nms_StringTranslate_translateKey($var4, $rt_s(1730)); $mouseOver = $this.$width / 2 | 0; $w = 16; $linkWidth = 16777215; $mouseOver = $mouseOver - (nms_FontRenderer_getStringWidth($link, $canYouNot) / 2 | 0) | 0; $link.$randomStyle = 0; $link.$boldStyle = 0; $link.$italicStyle = 0; $link.$underlineStyle = 0; $link.$strikethroughStyle = 0; $showAyonull = $mouseOver + 1 | 0; var$11 = 17; var$12 = 1; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString($link, $canYouNot, $showAyonull, var$11, $linkWidth, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; $showAyonull = 0; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($link, $canYouNot, $mouseOver, $w, $linkWidth, $showAyonull); if ($rt_suspending()) { break main; } $linkWidth = $tmp; $linkWidth = 0; $link = $this.$buttonList; $mouseOver = $rt_compare($linkWidth, $link.$size0); if ($mouseOver < 0) { if ($linkWidth >= 0 && $mouseOver < 0) { $link = $link.$array.data[$linkWidth]; $canYouNot = $this.$mc; $ptr = 11; continue main; } $link = new jl_IndexOutOfBoundsException; $link.$suppressionEnabled = 1; $link.$writableStackTrace = 1; $rt_throw($link); } $link = $this.$lagTooltip; if ($link !== null) { $ptr = 7; continue main; } if (!nms_GuiMultiplayer_isLockedOut) { $link = $this.$relaysButton; $ptr = 8; continue main; } $canYouNot = $rt_s(1731); $w = nms_FontRenderer_getStringWidth($this.$fontRenderer, $canYouNot); var$11 = $this.$width; $linkWidth = ((var$11 - $w | 0) - 4 | 0) / 2 | 0; $mouseOver = $this.$height; nms_Gui_drawRect($linkWidth, $mouseOver - 80 | 0, ((var$11 + $w | 0) + 4 | 0) / 2 | 0, $mouseOver - 70 | 0, (-872415232)); $link = $this.$fontRenderer; $linkWidth = ($this.$width - $w | 0) / 2 | 0; $mouseOver = $this.$height - 79 | 0; $w = (-2285022); $link.$randomStyle = 0; $link.$boldStyle = 0; $link.$italicStyle = 0; $link.$underlineStyle = 0; $link.$strikethroughStyle = 0; $showAyonull = $linkWidth + 1 | 0; var$11 = $mouseOver + 1 | 0; var$12 = 1; $ptr = 9; continue main; case 5: $tmp = nms_FontRenderer_renderString($link, $canYouNot, $showAyonull, var$11, $w, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; $showAyonull = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString($link, $canYouNot, $linkWidth, $mouseOver, $w, $showAyonull); if ($rt_suspending()) { break main; } $linkWidth = $tmp; $link = nle_ConfigConstants_ayonullLink; $linkWidth = nms_FontRenderer_getStringWidth($this.$fontRenderer, $link); $mouseOver = $this.$width; $mouseOver = $par1 > ((($mouseOver - $linkWidth | 0) / 2 | 0) - 10 | 0) && $par1 < ((($mouseOver + $linkWidth | 0) / 2 | 0) + 10 | 0) && $par2 > 21 && $par2 < 35 ? 1 : 0; $canYouNot = $this.$fontRenderer; nms_EnumChatFormatting_$callClinit(); $var4 = nms_EnumChatFormatting_UNDERLINE; var$13 = $var4 === null ? $rt_s(1) : $var4.$field_96304_B; $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); $w = $var4.$length0; if (var$13 === null) var$13 = $rt_s(1); jl_AbstractStringBuilder_insert($var4, $w, var$13); $w = $var4.$length0; if ($link === null) $link = $rt_s(1); jl_AbstractStringBuilder_insert($var4, $w, $link); $link = new jl_String; var$14 = $var4.$buffer; var$15 = var$14.data; $showAyonull = $var4.$length0; var$11 = var$15.length; if ($showAyonull >= 0 && $showAyonull <= (var$11 - 0 | 0)) { $link.$nativeString = $rt_charArrayToString(var$14.data, 0, $showAyonull); $linkWidth = ($this.$width - $linkWidth | 0) / 2 | 0; $w = 23; $mouseOver = !$mouseOver ? 7829469 : 12303359; $canYouNot.$randomStyle = 0; $canYouNot.$boldStyle = 0; $canYouNot.$italicStyle = 0; $canYouNot.$underlineStyle = 0; $canYouNot.$strikethroughStyle = 0; $showAyonull = $linkWidth + 1 | 0; var$11 = 24; var$12 = 1; $ptr = 12; continue main; } $link = new jl_IndexOutOfBoundsException; $link.$suppressionEnabled = 1; $link.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($link); $rt_throw($link); case 7: nms_GuiMultiplayer_func_74007_a($this, $link, $par1, $par2); if ($rt_suspending()) { break main; } if (!nms_GuiMultiplayer_isLockedOut) { $link = $this.$relaysButton; $ptr = 8; continue main; } $canYouNot = $rt_s(1731); $w = nms_FontRenderer_getStringWidth($this.$fontRenderer, $canYouNot); var$11 = $this.$width; $linkWidth = ((var$11 - $w | 0) - 4 | 0) / 2 | 0; $mouseOver = $this.$height; nms_Gui_drawRect($linkWidth, $mouseOver - 80 | 0, ((var$11 + $w | 0) + 4 | 0) / 2 | 0, $mouseOver - 70 | 0, (-872415232)); $link = $this.$fontRenderer; $linkWidth = ($this.$width - $w | 0) / 2 | 0; $mouseOver = $this.$height - 79 | 0; $w = (-2285022); $link.$randomStyle = 0; $link.$boldStyle = 0; $link.$italicStyle = 0; $link.$underlineStyle = 0; $link.$strikethroughStyle = 0; $showAyonull = $linkWidth + 1 | 0; var$11 = $mouseOver + 1 | 0; var$12 = 1; $ptr = 9; continue main; case 8: nle_GuiNetworkSettingsButton_drawScreen($link, $par1, $par2); if ($rt_suspending()) { break main; } return; case 9: $tmp = nms_FontRenderer_renderString($link, $canYouNot, $showAyonull, var$11, $w, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; $showAyonull = 0; $ptr = 10; case 10: $tmp = nms_FontRenderer_renderString($link, $canYouNot, $linkWidth, $mouseOver, $w, $showAyonull); if ($rt_suspending()) { break main; } $linkWidth = $tmp; if (nms_GuiMultiplayer_cooldownTimer < 3) nms_GuiMultiplayer_isLockedOut = 0; $link = $this.$relaysButton; $ptr = 8; continue main; case 11: $link.$drawButton($canYouNot, $par1, $par2); if ($rt_suspending()) { break main; } $linkWidth = $linkWidth + 1 | 0; $link = $this.$buttonList; $mouseOver = $rt_compare($linkWidth, $link.$size0); if ($mouseOver < 0) { if ($linkWidth >= 0 && $mouseOver < 0) { $link = $link.$array.data[$linkWidth]; $canYouNot = $this.$mc; continue main; } $link = new jl_IndexOutOfBoundsException; $link.$suppressionEnabled = 1; $link.$writableStackTrace = 1; $rt_throw($link); } $link = $this.$lagTooltip; if ($link !== null) { $ptr = 7; continue main; } if (!nms_GuiMultiplayer_isLockedOut) { $link = $this.$relaysButton; $ptr = 8; continue main; } $canYouNot = $rt_s(1731); $w = nms_FontRenderer_getStringWidth($this.$fontRenderer, $canYouNot); var$11 = $this.$width; $linkWidth = ((var$11 - $w | 0) - 4 | 0) / 2 | 0; $mouseOver = $this.$height; nms_Gui_drawRect($linkWidth, $mouseOver - 80 | 0, ((var$11 + $w | 0) + 4 | 0) / 2 | 0, $mouseOver - 70 | 0, (-872415232)); $link = $this.$fontRenderer; $linkWidth = ($this.$width - $w | 0) / 2 | 0; $mouseOver = $this.$height - 79 | 0; $w = (-2285022); $link.$randomStyle = 0; $link.$boldStyle = 0; $link.$italicStyle = 0; $link.$underlineStyle = 0; $link.$strikethroughStyle = 0; $showAyonull = $linkWidth + 1 | 0; var$11 = $mouseOver + 1 | 0; var$12 = 1; $ptr = 9; continue main; case 12: $tmp = nms_FontRenderer_renderString($canYouNot, $link, $showAyonull, var$11, $mouseOver, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; $showAyonull = 0; $ptr = 13; case 13: $tmp = nms_FontRenderer_renderString($canYouNot, $link, $linkWidth, $w, $mouseOver, $showAyonull); if ($rt_suspending()) { break main; } $linkWidth = $tmp; $linkWidth = 0; $link = $this.$buttonList; $mouseOver = $rt_compare($linkWidth, $link.$size0); if ($mouseOver < 0) { if ($linkWidth >= 0 && $mouseOver < 0) { $link = $link.$array.data[$linkWidth]; $canYouNot = $this.$mc; $ptr = 11; continue main; } $link = new jl_IndexOutOfBoundsException; $link.$suppressionEnabled = 1; $link.$writableStackTrace = 1; $rt_throw($link); } $link = $this.$lagTooltip; if ($link !== null) { $ptr = 7; continue main; } if (!nms_GuiMultiplayer_isLockedOut) { $link = $this.$relaysButton; $ptr = 8; continue main; } $canYouNot = $rt_s(1731); $w = nms_FontRenderer_getStringWidth($this.$fontRenderer, $canYouNot); var$11 = $this.$width; $linkWidth = ((var$11 - $w | 0) - 4 | 0) / 2 | 0; $mouseOver = $this.$height; nms_Gui_drawRect($linkWidth, $mouseOver - 80 | 0, ((var$11 + $w | 0) + 4 | 0) / 2 | 0, $mouseOver - 70 | 0, (-872415232)); $link = $this.$fontRenderer; $linkWidth = ($this.$width - $w | 0) / 2 | 0; $mouseOver = $this.$height - 79 | 0; $w = (-2285022); $link.$randomStyle = 0; $link.$boldStyle = 0; $link.$italicStyle = 0; $link.$underlineStyle = 0; $link.$strikethroughStyle = 0; $showAyonull = $linkWidth + 1 | 0; var$11 = $mouseOver + 1 | 0; var$12 = 1; $ptr = 9; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $linkWidth, $showAyonull, $link, $canYouNot, $mouseOver, $w, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_GuiMultiplayer_mouseClicked = ($this, $par1, $par2, $par3) => { let var$4, $linkWidth, $mouseOver, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$mouseOver = $thread.pop();$linkWidth = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par3 && nle_ConfigConstants_ayonullTitle !== null) { var$4 = nle_ConfigConstants_ayonullLink; if (var$4 !== null) { $linkWidth = nms_FontRenderer_getStringWidth($this.$fontRenderer, var$4); $mouseOver = $this.$width; if ($par1 > ((($mouseOver - $linkWidth | 0) / 2 | 0) - 10 | 0) && $par1 < ((($mouseOver + $linkWidth | 0) / 2 | 0) + 10 | 0) && $par2 > 21 && $par2 < 35 ? 1 : 0) { var$4 = nle_ConfigConstants_ayonullLink; nlea_EaglerAdapterImpl2_$callClinit(); nleat_SelfDefence_ignoreNextWindow = 1; window.open($rt_ustr(var$4), "_blank"); return; } } } var$4 = $this.$relaysButton; $ptr = 1; case 1: nle_GuiNetworkSettingsButton_mouseClicked(var$4, $par1, $par2, $par3); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $linkWidth, $mouseOver, $ptr); }, nms_GuiMultiplayer_joinServer = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, $var2, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var2 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = nms_GuiMultiplayer_internetServerList.$servers; var$3 = var$2.$size0; var$4 = $rt_compare($par1, var$3); if (var$4 < 0) { if ($par1 >= 0 && var$4 < 0) { var$5 = var$2.$array.data[$par1]; var$6 = $this.$mc; var$2 = new nms_GuiConnecting; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$buttonList = var$7; var$2.$allowUserInput = 0; var$2.$selectedButton = null; var$2.$eventButton = 0; var$2.$field_85043_c = Long_ZERO; var$2.$field_92018_d = 0; var$2.$cancelled = 0; var$2.$mc = var$6; var$2.$field_98098_c = $this; var$2.$clientHandler = null; var$2.$networkConnection = null; var$2.$uri = var$5.$serverIP; var$7 = null; $var2 = $rt_s(18); $ptr = 1; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $par1 = $par1 - var$3 | 0; var$2 = nms_GuiMultiplayer_lanServerList.$lanServersList; if ($par1 >= var$2.$size2) return; if ($par1 < 0) { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var2 = ju_LinkedList$SequentialListIterator_next(ju_LinkedList_listIterator(var$2, $par1)); var$7 = $var2.$lanServerMotd; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1732)); $par1 = var$2.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $par1, var$7); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1733)); var$7 = new jl_String; var$9 = var$2.$buffer; var$10 = var$9.data; var$4 = var$2.$length0; var$3 = var$10.length; if (var$4 >= 0 && var$4 <= (var$3 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$9.data, 0, var$4); var$5 = $var2.$lanServerCode; $var2 = $var2.$lanServerRelay; var$2 = $this.$mc.$loadingScreen; if (var$2.$mc10.$running) { var$2.$field_73723_d = Long_ZERO; var$2.$field_73727_a = var$7; $par1 = (-1); $ptr = 3; continue main; } if (!var$2.$field_73724_e) { var$2 = new nms_MinecraftError; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$2 = $this.$mc; var$6 = new nle_GuiScreenLANConnecting; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$6.$buttonList = var$7; var$6.$allowUserInput = 0; var$6.$selectedButton = null; var$6.$eventButton = 0; var$6.$field_85043_c = Long_ZERO; var$6.$field_92018_d = 0; var$6.$completed = 0; var$6.$netHandler = null; var$6.$renderCount = 0; var$6.$parent0 = $this; var$6.$code0 = var$5; var$6.$relay = $var2; $ptr = 4; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); case 1: nms_Minecraft_loadWorld(var$6, var$7, $var2); if ($rt_suspending()) { break main; } var$6.$currentServerData = var$5; $ptr = 2; case 2: nms_Minecraft_displayGuiScreen(var$6, var$2); if ($rt_suspending()) { break main; } return; case 3: nms_LoadingScreenRenderer_setLoadingProgress(var$2, $par1); if ($rt_suspending()) { break main; } var$2.$field_73723_d = Long_ZERO; var$2 = $this.$mc; var$6 = new nle_GuiScreenLANConnecting; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$6.$buttonList = var$7; var$6.$allowUserInput = 0; var$6.$selectedButton = null; var$6.$eventButton = 0; var$6.$field_85043_c = Long_ZERO; var$6.$field_92018_d = 0; var$6.$completed = 0; var$6.$netHandler = null; var$6.$renderCount = 0; var$6.$parent0 = $this; var$6.$code0 = var$5; var$6.$relay = $var2; $ptr = 4; case 4: nms_Minecraft_displayGuiScreen(var$2, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, var$5, var$6, var$7, $var2, var$9, var$10, $ptr); }, nms_GuiMultiplayer_func_74007_a = ($this, $par1Str, $par2, $par3) => { let $var4, $var5, var$6, $var6, $full, var$9, $i, var$11, $var4_0, $var6_0, $w, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$w = $thread.pop();$var6_0 = $thread.pop();$var4_0 = $thread.pop();var$11 = $thread.pop();$i = $thread.pop();var$9 = $thread.pop();$full = $thread.pop();$var6 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($par1Str !== null) { if (jl_String_indexOf($par1Str, 10, 0) < 0) { $var4 = $par2 + 12 | 0; $var5 = $par3 - 12 | 0; nms_Gui_drawGradientRect($this, $var4 - 3 | 0, $var5 - 3 | 0, ($var4 + nms_FontRenderer_getStringWidth($this.$fontRenderer, $par1Str) | 0) + 3 | 0, ($var5 + 8 | 0) + 3 | 0, (-1073741824), (-1073741824)); var$6 = $this.$fontRenderer; $par2 = (-1); var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; $par3 = $var4 + 1 | 0; $var6 = $var5 + 1 | 0; $full = 1; $ptr = 1; continue main; } var$9 = jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), $par1Str, 0); $var6 = 0; $full = 0; $i = 0; b: { c: while (true) { var$11 = var$9.data; $var4 = var$11.length; if ($i >= $var4) { $var4_0 = $par2 + 12 | 0; $var5 = $par3 - 12 | 0; nms_Gui_drawGradientRect($this, $var4_0 - 3 | 0, $var5 - 3 | 0, ($var4_0 + $var6 | 0) + 3 | 0, ($var5 + ($full * 9 | 0) | 0) + 2 | 0, (-1073741824), (-1073741824)); $i = 0; $var6 = $var4_0 + 1 | 0; while ($i < $var4) { if (var$11[$i].$nativeString.length > 0) { $par1Str = $this.$fontRenderer; var$6 = var$11[$i]; $par3 = 0 + 1 | 0; $var6_0 = $var5 + (9 * 0 | 0) | 0; $w = (-1); $par1Str.$randomStyle = 0; $par1Str.$boldStyle = 0; $par1Str.$italicStyle = 0; $par1Str.$underlineStyle = 0; $par1Str.$strikethroughStyle = 0; $par2 = $var6_0 + 1 | 0; $full = 1; $ptr = 3; continue main; } $i = $i + 1 | 0; } break a; } $par1Str = var$11[$i]; var$15 = $rt_createCharArray($par1Str.$nativeString.length); var$16 = var$15.data; $var6_0 = 0; while ($var6_0 < $par1Str.$nativeString.length) { if ($var6_0 < 0) break b; if ($var6_0 >= $par1Str.$nativeString.length) break b; if ($par1Str.$nativeString.charCodeAt($var6_0) == 13) $var4_0 = 32; else { if ($var6_0 < 0) break c; if ($var6_0 >= $par1Str.$nativeString.length) break c; $var4_0 = $par1Str.$nativeString.charCodeAt($var6_0); } var$16[$var6_0] = $var4_0; $var6_0 = $var6_0 + 1 | 0; } $par1Str = new jl_String; $par1Str.$nativeString = ""; $par1Str.$nativeString = $rt_fullArrayToString(var$15.data); var$11[$i] = jl_String_trim($par1Str); if (var$11[$i].$nativeString.length > 0) { $w = nms_FontRenderer_getStringWidth($this.$fontRenderer, var$11[$i]); if ($w > $var6) $var6 = $w; $full = $full + 1 | 0; } $i = $i + 1 | 0; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } } return; case 1: $tmp = nms_FontRenderer_renderString(var$6, $par1Str, $par3, $var6, $par2, $full); if ($rt_suspending()) { break main; } $var6 = $tmp; $par3 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$6, $par1Str, $var4, $var5, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; return; case 3: $tmp = nms_FontRenderer_renderString($par1Str, var$6, $var6, $par2, $w, $full); if ($rt_suspending()) { break main; } $full = $tmp; $par2 = 0; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($par1Str, var$6, $var4_0, $var6_0, $w, $par2); if ($rt_suspending()) { break main; } $par2 = $tmp; $full = $par3; while (true) { $i = $i + 1 | 0; if ($i >= $var4) break; if (var$11[$i].$nativeString.length > 0) { $par1Str = $this.$fontRenderer; var$6 = var$11[$i]; $par3 = $full + 1 | 0; $var6_0 = $var5 + (9 * $full | 0) | 0; $w = (-1); $par1Str.$randomStyle = 0; $par1Str.$boldStyle = 0; $par1Str.$italicStyle = 0; $par1Str.$underlineStyle = 0; $par1Str.$strikethroughStyle = 0; $par2 = $var6_0 + 1 | 0; $full = 1; $ptr = 3; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2, $par3, $var4, $var5, var$6, $var6, $full, var$9, $i, var$11, $var4_0, $var6_0, $w, var$15, var$16, $ptr); }, nms_GuiMultiplayer__clinit_ = () => { nms_GuiMultiplayer_threadsPending = 0; nms_GuiMultiplayer_lock = new jl_Object; nms_GuiMultiplayer_internetServerList = null; nms_GuiMultiplayer_lanServerList = null; nms_GuiMultiplayer_lastCooldown = Long_ZERO; nms_GuiMultiplayer_lastRefresh = Long_ZERO; nms_GuiMultiplayer_cooldownTimer = 0; nms_GuiMultiplayer_isLockedOut = 0; }; function nms_KeyBinding() { let a = this; jl_Object.call(a); a.$keyDescription = null; a.$keyCode = 0; a.$pressed = 0; a.$pressTime = 0; } let nms_KeyBinding_keybindArray = null, nms_KeyBinding_hash = null, nms_KeyBinding_resetKeyBindingArrayAndHash = () => { let var$1, var$2, var$3, var$4, $var0$index, var$6, var$7, $var0$index_0, $var1; var$1 = nms_KeyBinding_hash; var$1.$versionStamp = var$1.$versionStamp + 1 | 0; var$2 = var$1.$slots; var$3 = 0; while (true) { var$4 = var$2.data; if (var$3 >= var$4.length) break; var$4[var$3] = null; var$3 = var$3 + 1 | 0; } var$1.$count5 = 0; var$1 = nms_KeyBinding_keybindArray; $var0$index = 0; var$6 = var$1.$modCount; var$7 = var$1.$size(); while ($var0$index >= var$7 ? 0 : 1) { if (var$6 < var$1.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var0$index_0 = $var0$index + 1 | 0; $var1 = var$1.$get($var0$index); nms_IntHashMap_addKey(nms_KeyBinding_hash, $var1.$keyCode, $var1); $var0$index = $var0$index_0; } }, nms_KeyBinding_isPressed = $this => { let var$1; var$1 = $this.$pressTime; if (!var$1) return 0; $this.$pressTime = var$1 - 1 | 0; return 1; }, nms_KeyBinding__clinit_ = () => { let var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_KeyBinding_keybindArray = var$1; nms_KeyBinding_hash = nms_IntHashMap__init_(); }, nms_IInventory = $rt_classWithoutFields(0); function nms_InventoryPlayer() { let a = this; jl_Object.call(a); a.$mainInventory = null; a.$armorInventory = null; a.$currentItem = 0; a.$currentItemStack = null; a.$player = null; a.$itemStack = null; a.$inventoryChanged = 0; } let nms_InventoryPlayer_getInventorySlotContainItem = ($this, $par1) => { let $var2, var$3; $var2 = 0; while (true) { var$3 = $this.$mainInventory.data; if ($var2 >= var$3.length) return (-1); if (var$3[$var2] !== null && var$3[$var2].$itemID == $par1) break; $var2 = $var2 + 1 | 0; } return $var2; }, nms_InventoryPlayer_getInventorySlotContainItemAndDamage = ($this, $par1, $par2) => { let $var3, var$4; $var3 = 0; while (true) { var$4 = $this.$mainInventory.data; if ($var3 >= var$4.length) return (-1); if (var$4[$var3] !== null && var$4[$var3].$itemID == $par1 && var$4[$var3].$itemDamage == $par2) break; $var3 = $var3 + 1 | 0; } return $var3; }, nms_InventoryPlayer_storeItemStack = ($this, $par1ItemStack) => { let $var2, var$3, var$4, var$5, var$6, var$7; $var2 = 0; while (true) { var$3 = $this.$mainInventory.data; if ($var2 >= var$3.length) return (-1); if (var$3[$var2] !== null && var$3[$var2].$itemID == $par1ItemStack.$itemID) { a: { b: { var$4 = var$3[$var2]; nms_Item_$callClinit(); var$5 = nms_Item_itemsList.data; var$6 = var$4.$itemID; if (var$5[var$6].$maxStackSize > 1) { if (!(var$5[var$6].$maxDamage <= 0 ? 0 : 1)) break b; var$7 = var$5[var$6].$maxDamage <= 0 ? 0 : 1; if (!(var$7 && var$4.$itemDamage > 0 ? 1 : 0)) break b; } var$7 = 0; break a; } var$7 = 1; } if (var$7 && var$3[$var2].$stackSize < var$5[var$3[$var2].$itemID].$maxStackSize && var$3[$var2].$stackSize < 64 && !(var$5[var$3[$var2].$itemID].$hasSubtypes && var$3[$var2].$itemDamage != $par1ItemStack.$itemDamage) && nms_ItemStack_areItemStackTagsEqual(var$3[$var2], $par1ItemStack)) break; } $var2 = $var2 + 1 | 0; } return $var2; }, nms_InventoryPlayer_setCurrentItem = ($this, $par1, $par2, $par3, $par4) => { let $var7, $var6, var$7; $var7 = $this.$currentItem; $this.$currentItemStack = $var7 < 9 && $var7 >= 0 ? $this.$mainInventory.data[$var7] : null; $var7 = !$par3 ? nms_InventoryPlayer_getInventorySlotContainItem($this, $par1) : nms_InventoryPlayer_getInventorySlotContainItemAndDamage($this, $par1, $par2); if ($var7 >= 0 && $var7 < 9) $this.$currentItem = $var7; else if ($par4 && $par1 > 0) { $var6 = 0; a: { while (true) { var$7 = $this.$mainInventory.data; if ($var6 >= var$7.length) { $var6 = (-1); break a; } if (var$7[$var6] === null) break; $var6 = $var6 + 1 | 0; } } if ($var6 >= 0 && $var6 < 9) $this.$currentItem = $var6; nms_Item_$callClinit(); nms_InventoryPlayer_func_70439_a($this, nms_Item_itemsList.data[$par1], $par2); } }, nms_InventoryPlayer_changeCurrentItem = ($this, $par1) => { if ($par1 > 0) $par1 = 1; if ($par1 < 0) $par1 = (-1); $this.$currentItem = $this.$currentItem - $par1 | 0; while (true) { $par1 = $this.$currentItem; if ($par1 >= 0) break; $this.$currentItem = $par1 + 9 | 0; } while (true) { $par1 = $this.$currentItem; if ($par1 < 9) break; $this.$currentItem = $par1 - 9 | 0; } }, nms_InventoryPlayer_func_70439_a = ($this, $par1Item, $par2) => { let var$3, $var3, var$5, var$6, var$7, var$8, $var4; if ($par1Item !== null) { var$3 = $this.$currentItemStack; if (var$3 !== null) { nms_Item_$callClinit(); if (!nms_Item_itemsList.data[var$3.$itemID].$isItemTool(var$3)) $var3 = 0; else { a: { var$5 = var$3.$stackTagCompound; if (var$5 !== null) { b: { var$5 = var$5.$tagMap; if (!$rt_s(1734).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1734).$nativeString.length) break b; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$6 = $rt_s(1734).$hashCode1; var$7 = var$5.$elementData.data; var$5 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$6) { c: { var$3 = var$5.$key; if ($rt_s(1734) !== var$3) { if ($rt_s(1734) === var$3) $var3 = 1; else if (!(var$3 instanceof jl_String)) $var3 = 0; else { var$3 = var$3; $var3 = $rt_s(1734).$nativeString !== var$3.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break c; } } $var3 = 1; } if ($var3) break; } var$5 = var$5.$next3; } if (var$5 === null ? 0 : 1) { $var3 = 1; break a; } } $var3 = 0; } $var3 = $var3 ? 0 : 1; } if ($var3) { var$5 = $this.$currentItemStack; if (nms_InventoryPlayer_getInventorySlotContainItemAndDamage($this, var$5.$itemID, var$5.$itemDamage) == $this.$currentItem) return; } } $var3 = nms_InventoryPlayer_getInventorySlotContainItemAndDamage($this, $par1Item.$itemID0, $par2); if ($var3 < 0) { var$8 = $this.$mainInventory; $var3 = $this.$currentItem; var$5 = new nms_ItemStack; nms_Item_$callClinit(); $par1Item = nms_Item_itemsList.data[$par1Item.$itemID0]; nms_ItemStack_$callClinit(); var$5.$itemID = $par1Item.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = $par2; if ($par2 < 0) var$5.$itemDamage = 0; var$8.data[$var3] = var$5; } else { var$7 = $this.$mainInventory.data; $var4 = var$7[$var3].$stackSize; var$6 = $this.$currentItem; var$7[$var3] = var$7[var$6]; var$5 = new nms_ItemStack; nms_Item_$callClinit(); $par1Item = nms_Item_itemsList.data[$par1Item.$itemID0]; nms_ItemStack_$callClinit(); var$5.$itemID = $par1Item.$itemID0; var$5.$stackSize = $var4; var$5.$itemDamage = $par2; if ($par2 < 0) var$5.$itemDamage = 0; var$7[var$6] = var$5; } } }, nms_InventoryPlayer_storePartialItemStack = ($this, $par1ItemStack) => { let $var2, $var3, $var4, var$5, var$6, $var4_0, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16; $var2 = $par1ItemStack.$itemID; $var3 = $par1ItemStack.$stackSize; nms_Item_$callClinit(); if (nms_Item_itemsList.data[$var2].$maxStackSize == 1) { $var4 = 0; a: { while (true) { var$5 = $this.$mainInventory.data; if ($var4 >= var$5.length) { $var4 = (-1); break a; } if (var$5[$var4] === null) break; $var4 = $var4 + 1 | 0; } } if ($var4 < 0) return $var3; if (var$5[$var4] === null) { nms_ItemStack_$callClinit(); var$6 = new nms_ItemStack; $var4_0 = $par1ItemStack.$itemDamage; var$6.$itemID = $var2; var$6.$stackSize = $var3; var$6.$itemDamage = $var4_0; if ($var4_0 < 0) var$6.$itemDamage = 0; $par1ItemStack = $par1ItemStack.$stackTagCompound; if ($par1ItemStack !== null) { var$8 = new nms_NBTTagCompound; var$9 = $par1ItemStack.$name; if (var$9 === null) var$9 = $rt_s(18); var$8.$name = var$9; var$9 = new ju_HashMap; jl_Object__init_(var$9); $var3 = ju_HashMap_calculateCapacity(16); var$9.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$11 = var$10.data; var$9.$elementData = var$10; var$9.$loadFactor = 0.75; var$9.$threshold = var$11.length * 0.75 | 0; var$8.$tagMap = var$9; var$9 = $par1ItemStack.$tagMap; if (var$9.$cachedKeySet === null) { var$12 = new ju_HashMap$1; var$12.$this$0 = var$9; var$9.$cachedKeySet = var$12; } var$9 = var$9.$cachedKeySet.$iterator(); while (var$9.$hasNext()) { var$12 = var$9.$next(); var$13 = $par1ItemStack.$tagMap; if (var$12 === null) { var$13 = var$13.$elementData.data[0]; while (var$13 !== null && var$13.$key !== null) { var$13 = var$13.$next3; } } else { b: { if (!var$12.$hashCode1) { $var2 = 0; while (true) { if ($var2 >= var$12.$nativeString.length) break b; var$12.$hashCode1 = (31 * var$12.$hashCode1 | 0) + var$12.$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } $var4_0 = var$12.$hashCode1; var$11 = var$13.$elementData.data; var$13 = var$11[$var4_0 & (var$11.length - 1 | 0)]; while (var$13 !== null) { if (var$13.$origKeyHash == $var4_0) { c: { var$14 = var$13.$key; if (var$12 !== var$14) { if (var$12 === var$14) $var2 = 1; else if (!(var$14 instanceof jl_String)) $var2 = 0; else { var$14 = var$14; $var2 = var$12.$nativeString !== var$14.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break c; } } $var2 = 1; } if ($var2) break; } var$13 = var$13.$next3; } } var$13 = var$13 === null ? null : var$13.$value1; var$13 = var$13.$copy(); var$14 = var$8.$tagMap; if (var$12 !== null) var$13.$name = var$12; else var$13.$name = $rt_s(18); ju_HashMap_putImpl(var$14, var$12, var$13); } var$6.$stackTagCompound = var$8; } var$5[$var4] = var$6; } return 0; } $var4_0 = nms_InventoryPlayer_storeItemStack($this, $par1ItemStack); if ($var4_0 < 0) { $var4_0 = 0; d: { while (true) { var$11 = $this.$mainInventory.data; if ($var4_0 >= var$11.length) { $var4_0 = (-1); break d; } if (var$11[$var4_0] === null) break; $var4_0 = $var4_0 + 1 | 0; } } } if ($var4_0 < 0) return $var3; var$11 = $this.$mainInventory.data; if (var$11[$var4_0] === null) { var$6 = new nms_ItemStack; var$15 = $par1ItemStack.$itemDamage; nms_ItemStack_$callClinit(); var$6.$itemID = $var2; var$6.$stackSize = 0; var$6.$itemDamage = var$15; if (var$15 < 0) var$6.$itemDamage = 0; var$11[$var4_0] = var$6; var$14 = $par1ItemStack.$stackTagCompound; if (var$14 === null ? 0 : 1) { $par1ItemStack = var$11[$var4_0]; var$16 = new nms_NBTTagCompound; var$6 = var$14.$name; if (var$6 === null) var$6 = $rt_s(18); var$16.$name = var$6; var$6 = new ju_HashMap; $var4 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, $var4); var$11 = var$5.data; var$6.$elementData = var$5; var$6.$loadFactor = 0.75; var$6.$threshold = var$11.length * 0.75 | 0; var$16.$tagMap = var$6; var$6 = var$14.$tagMap; if (var$6.$cachedKeySet === null) { var$8 = new ju_HashMap$1; var$8.$this$0 = var$6; var$6.$cachedKeySet = var$8; } var$6 = var$6.$cachedKeySet.$iterator(); while (var$6.$hasNext()) { var$8 = var$6.$next(); var$9 = var$14.$tagMap; if (var$8 === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { e: { if (!var$8.$hashCode1) { $var4 = 0; while (true) { if ($var4 >= var$8.$nativeString.length) break e; var$8.$hashCode1 = (31 * var$8.$hashCode1 | 0) + var$8.$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$15 = var$8.$hashCode1; var$11 = var$9.$elementData.data; var$9 = var$11[var$15 & (var$11.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$15) { f: { var$12 = var$9.$key; if (var$8 !== var$12) { if (var$8 === var$12) $var4 = 1; else if (!(var$12 instanceof jl_String)) $var4 = 0; else { var$12 = var$12; $var4 = var$8.$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break f; } } $var4 = 1; } if ($var4) break; } var$9 = var$9.$next3; } } var$9 = var$9 === null ? null : var$9.$value1; var$9 = var$9.$copy(); var$12 = var$16.$tagMap; if (var$8 !== null) var$9.$name = var$8; else var$9.$name = $rt_s(18); ju_HashMap_putImpl(var$12, var$8, var$9); } $par1ItemStack.$stackTagCompound = var$16; } } var$11 = $this.$mainInventory.data; $par1ItemStack = var$11[$var4_0]; var$5 = nms_Item_itemsList.data; $var4 = $var3 <= (var$5[$par1ItemStack.$itemID].$maxStackSize - var$11[$var4_0].$stackSize | 0) ? $var3 : var$5[var$11[$var4_0].$itemID].$maxStackSize - var$11[$var4_0].$stackSize | 0; if ($var4 > (64 - var$11[$var4_0].$stackSize | 0)) $var4 = 64 - var$11[$var4_0].$stackSize | 0; if (!$var4) return $var3; $var2 = $var3 - $var4 | 0; $par1ItemStack = var$11[$var4_0]; $par1ItemStack.$stackSize = $par1ItemStack.$stackSize + $var4 | 0; var$11[$var4_0].$animationsToGo = 5; return $var2; }, nms_InventoryPlayer_decrementAnimations = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7; $var1 = 0; while (true) { var$2 = $this.$mainInventory.data; if ($var1 >= var$2.length) break; if (var$2[$var1] !== null) { var$3 = var$2[$var1]; var$4 = $this.$player; var$5 = var$4.$worldObj; var$6 = $this.$currentItem != $var1 ? 0 : 1; var$7 = var$3.$animationsToGo; if (var$7 > 0) var$3.$animationsToGo = var$7 - 1 | 0; nms_Item_$callClinit(); nms_Item_itemsList.data[var$3.$itemID].$onUpdate1(var$3, var$5, var$4, $var1, var$6); } $var1 = $var1 + 1 | 0; } }, nms_InventoryPlayer_addItemStackToInventory = ($this, $par1ItemStack) => { let $var2, var$3, var$4, $var2_0, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; if ($par1ItemStack === null) return 0; $var2 = $par1ItemStack.$stackSize; if (!$var2) return 0; nms_Item_$callClinit(); var$3 = nms_Item_itemsList.data; var$4 = $par1ItemStack.$itemID; $var2_0 = var$3[var$4].$maxDamage <= 0 ? 0 : 1; if (!($var2_0 && $par1ItemStack.$itemDamage > 0 ? 1 : 0)) { while (true) { $var2 = $par1ItemStack.$stackSize; $var2_0 = nms_InventoryPlayer_storePartialItemStack($this, $par1ItemStack); $par1ItemStack.$stackSize = $var2_0; if ($var2_0 <= 0) break; if ($var2_0 < $var2) continue; else break; } $var2 = $rt_compare($var2_0, $var2); if (!$var2 && $this.$player.$capabilities.$isCreativeMode) { $par1ItemStack.$stackSize = 0; return 1; } return $var2 >= 0 ? 0 : 1; } $var2_0 = 0; a: { while (true) { var$6 = $this.$mainInventory.data; if ($var2_0 >= var$6.length) { $var2_0 = (-1); break a; } if (var$6[$var2_0] === null) break; $var2_0 = $var2_0 + 1 | 0; } } if ($var2_0 < 0) { if (!$this.$player.$capabilities.$isCreativeMode) return 0; $par1ItemStack.$stackSize = 0; return 1; } nms_ItemStack_$callClinit(); var$7 = new nms_ItemStack; var$8 = $par1ItemStack.$itemDamage; var$7.$itemID = var$4; var$7.$stackSize = $var2; var$7.$itemDamage = var$8; if (var$8 < 0) var$7.$itemDamage = 0; var$9 = $par1ItemStack.$stackTagCompound; if (var$9 !== null) { var$10 = new nms_NBTTagCompound; var$11 = var$9.$name; if (var$11 === null) var$11 = $rt_s(18); var$10.$name = var$11; var$11 = new ju_HashMap; jl_Object__init_(var$11); $var2 = ju_HashMap_calculateCapacity(16); var$11.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $var2); var$3 = var$12.data; var$11.$elementData = var$12; var$11.$loadFactor = 0.75; var$11.$threshold = var$3.length * 0.75 | 0; var$10.$tagMap = var$11; var$13 = var$9.$tagMap; if (var$13.$cachedKeySet === null) { var$11 = new ju_HashMap$1; var$11.$this$0 = var$13; var$13.$cachedKeySet = var$11; } var$14 = var$13.$cachedKeySet.$iterator(); while (var$14.$hasNext()) { var$15 = var$14.$next(); var$11 = var$9.$tagMap; if (var$15 === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { b: { if (!var$15.$hashCode1) { $var2 = 0; while (true) { if ($var2 >= var$15.$nativeString.length) break b; var$15.$hashCode1 = (31 * var$15.$hashCode1 | 0) + var$15.$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } var$4 = var$15.$hashCode1; var$3 = var$11.$elementData.data; var$11 = var$3[var$4 & (var$3.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$4) { c: { var$13 = var$11.$key; if (var$15 !== var$13) { if (var$15 === var$13) $var2 = 1; else if (!(var$13 instanceof jl_String)) $var2 = 0; else { var$13 = var$13; $var2 = var$15.$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break c; } } $var2 = 1; } if ($var2) break; } var$11 = var$11.$next3; } } var$11 = var$11 === null ? null : var$11.$value1; var$11 = var$11.$copy(); var$13 = var$10.$tagMap; if (var$15 !== null) var$11.$name = var$15; else var$11.$name = $rt_s(18); ju_HashMap_putImpl(var$13, var$15, var$11); } var$7.$stackTagCompound = var$10; } var$6[$var2_0] = var$7; $this.$mainInventory.data[$var2_0].$animationsToGo = 5; $par1ItemStack.$stackSize = 0; return 1; }, nms_InventoryPlayer_decrStackSize = ($this, $par1, $par2) => { let $var3, var$4, $var4, var$6, $var4_0, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16; $var3 = $this.$mainInventory; var$4 = $var3.data.length; if ($par1 >= var$4) { $var3 = $this.$armorInventory; $par1 = $par1 - var$4 | 0; } $var3 = $var3.data; if ($var3[$par1] === null) return null; if ($var3[$par1].$stackSize <= $par2) { $var4 = $var3[$par1]; $var3[$par1] = null; return $var4; } var$6 = $var3[$par1]; $var4_0 = new nms_ItemStack; var$4 = var$6.$itemID; var$8 = var$6.$itemDamage; nms_ItemStack_$callClinit(); $var4_0.$itemID = var$4; $var4_0.$stackSize = $par2; $var4_0.$itemDamage = var$8; if (var$8 < 0) $var4_0.$itemDamage = 0; var$9 = var$6.$stackTagCompound; if (var$9 !== null) { $var4 = new nms_NBTTagCompound; var$10 = var$9.$name; if (var$10 === null) var$10 = $rt_s(18); $var4.$name = var$10; var$10 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$10.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$12 = var$11.data; var$10.$elementData = var$11; var$10.$loadFactor = 0.75; var$10.$threshold = var$12.length * 0.75 | 0; $var4.$tagMap = var$10; var$10 = var$9.$tagMap; if (var$10.$cachedKeySet === null) { var$13 = new ju_HashMap$1; var$13.$this$0 = var$10; var$10.$cachedKeySet = var$13; } var$10 = var$10.$cachedKeySet.$iterator(); while (var$10.$hasNext()) { var$13 = var$10.$next(); var$14 = var$9.$tagMap; if (var$13 === null) { var$14 = var$14.$elementData.data[0]; while (var$14 !== null && var$14.$key !== null) { var$14 = var$14.$next3; } } else { a: { if (!var$13.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$13.$nativeString.length) break a; var$13.$hashCode1 = (31 * var$13.$hashCode1 | 0) + var$13.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$15 = var$13.$hashCode1; var$12 = var$14.$elementData.data; var$14 = var$12[var$15 & (var$12.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == var$15) { b: { var$16 = var$14.$key; if (var$13 !== var$16) { if (var$13 === var$16) var$4 = 1; else if (!(var$16 instanceof jl_String)) var$4 = 0; else { var$16 = var$16; var$4 = var$13.$nativeString !== var$16.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } var$14 = var$14.$next3; } } var$14 = var$14 === null ? null : var$14.$value1; var$14 = var$14.$copy(); var$16 = $var4.$tagMap; if (var$13 !== null) var$14.$name = var$13; else var$14.$name = $rt_s(18); ju_HashMap_putImpl(var$16, var$13, var$14); } $var4_0.$stackTagCompound = $var4; } var$6.$stackSize = var$6.$stackSize - $par2 | 0; if (!$var3[$par1].$stackSize) $var3[$par1] = null; return $var4_0; }, nms_InventoryPlayer_setInventorySlotContents = ($this, $par1, $par2ItemStack) => { let $var3, var$4; $var3 = $this.$mainInventory; var$4 = $var3.data.length; if ($par1 >= var$4) { $par1 = $par1 - var$4 | 0; $var3 = $this.$armorInventory; } $var3.data[$par1] = $par2ItemStack; }, nms_InventoryPlayer_writeToNBT = ($this, $par1NBTTagList) => { let $var2, var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; $var2 = 0; while (true) { var$3 = $this.$mainInventory.data; if ($var2 >= var$3.length) break; if (var$3[$var2] !== null) { $var3 = new nms_NBTTagCompound; $var3.$name = $rt_s(18); var$5 = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); var$5.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$3 = var$7.data; var$5.$elementData = var$7; var$5.$loadFactor = 0.75; var$5.$threshold = var$3.length * 0.75 | 0; $var3.$tagMap = var$5; var$6 = $var2 << 24 >> 24; var$8 = new nms_NBTTagByte; var$8.$name = $rt_s(1315); var$8.$data = var$6; ju_HashMap_putImpl(var$5, $rt_s(1315), var$8); var$9 = $this.$mainInventory.data[$var2]; var$6 = var$9.$itemID << 16 >> 16; var$10 = $var3.$tagMap; var$5 = new nms_NBTTagShort; var$5.$name = $rt_s(1243); var$5.$data2 = var$6; ju_HashMap_putImpl(var$10, $rt_s(1243), var$5); var$6 = var$9.$stackSize << 24 >> 24; var$10 = $var3.$tagMap; var$5 = new nms_NBTTagByte; var$5.$name = $rt_s(1271); var$5.$data = var$6; ju_HashMap_putImpl(var$10, $rt_s(1271), var$5); var$6 = var$9.$itemDamage << 16 >> 16; var$10 = $var3.$tagMap; var$5 = new nms_NBTTagShort; var$5.$name = $rt_s(1272); var$5.$data2 = var$6; ju_HashMap_putImpl(var$10, $rt_s(1272), var$5); var$9 = var$9.$stackTagCompound; if (var$9 !== null) { var$5 = $var3.$tagMap; var$9.$name = $rt_s(1273); ju_HashMap_putImpl(var$5, $rt_s(1273), var$9); } $par1NBTTagList.$tagType = 10; var$9 = $par1NBTTagList.$tagList; ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); var$3 = var$9.$array.data; var$11 = var$9.$size0; var$9.$size0 = var$11 + 1 | 0; var$3[var$11] = $var3; var$9.$modCount = var$9.$modCount + 1 | 0; } $var2 = $var2 + 1 | 0; } var$6 = 0; while (true) { var$3 = $this.$armorInventory.data; if (var$6 >= var$3.length) break; if (var$3[var$6] !== null) { $var3 = new nms_NBTTagCompound; $var3.$name = $rt_s(18); var$8 = new ju_HashMap; $var2 = ju_HashMap_calculateCapacity(16); var$8.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, $var2); var$3 = var$7.data; var$8.$elementData = var$7; var$8.$loadFactor = 0.75; var$8.$threshold = var$3.length * 0.75 | 0; $var3.$tagMap = var$8; $var2 = (var$6 + 100 | 0) << 24 >> 24; var$5 = new nms_NBTTagByte; var$5.$name = $rt_s(1315); var$5.$data = $var2; ju_HashMap_putImpl(var$8, $rt_s(1315), var$5); var$9 = $this.$armorInventory.data[var$6]; $var2 = var$9.$itemID << 16 >> 16; var$10 = $var3.$tagMap; var$5 = new nms_NBTTagShort; var$5.$name = $rt_s(1243); var$5.$data2 = $var2; ju_HashMap_putImpl(var$10, $rt_s(1243), var$5); $var2 = var$9.$stackSize << 24 >> 24; var$10 = $var3.$tagMap; var$5 = new nms_NBTTagByte; var$5.$name = $rt_s(1271); var$5.$data = $var2; ju_HashMap_putImpl(var$10, $rt_s(1271), var$5); $var2 = var$9.$itemDamage << 16 >> 16; var$10 = $var3.$tagMap; var$5 = new nms_NBTTagShort; var$5.$name = $rt_s(1272); var$5.$data2 = $var2; ju_HashMap_putImpl(var$10, $rt_s(1272), var$5); var$9 = var$9.$stackTagCompound; if (var$9 !== null) { var$5 = $var3.$tagMap; var$9.$name = $rt_s(1273); ju_HashMap_putImpl(var$5, $rt_s(1273), var$9); } $par1NBTTagList.$tagType = 10; var$9 = $par1NBTTagList.$tagList; ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); var$3 = var$9.$array.data; var$12 = var$9.$size0; var$9.$size0 = var$12 + 1 | 0; var$3[var$12] = $var3; var$9.$modCount = var$9.$modCount + 1 | 0; } var$6 = var$6 + 1 | 0; } return $par1NBTTagList; }, nms_InventoryPlayer_getStackInSlot = ($this, $par1) => { let $var2, var$3; $var2 = $this.$mainInventory; var$3 = $var2.data.length; if ($par1 >= var$3) { $par1 = $par1 - var$3 | 0; $var2 = $this.$armorInventory; } return $var2.data[$par1]; }, nms_InventoryPlayer_getInventoryStackLimit = $this => { return 64; }, nms_InventoryPlayer_getTotalArmorValue = $this => { let $var1, $var2, var$3, var$4, var$5; $var1 = 0; $var2 = 0; while (true) { var$3 = $this.$armorInventory.data; if ($var2 >= var$3.length) break; if (var$3[$var2] !== null) { var$4 = var$3[$var2]; nms_Item_$callClinit(); var$5 = nms_Item_itemsList.data; if (var$5[var$4.$itemID] instanceof nms_ItemArmor) $var1 = $var1 + var$5[var$3[$var2].$itemID].$damageReduceAmount | 0; } $var2 = $var2 + 1 | 0; } return $var1; }, nms_InventoryPlayer_damageArmor = ($this, $par1) => { let $var2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1 = $par1 / 4.0; if ($par1 < 1.0) $par1 = 1.0; $var2 = 0; while (true) { var$3 = $this.$armorInventory.data; if ($var2 >= var$3.length) break; if (var$3[$var2] !== null) { var$4 = var$3[$var2]; nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$4.$itemID] instanceof nms_ItemArmor) { var$5 = var$3[$var2]; var$6 = $par1 | 0; var$4 = $this.$player; $ptr = 1; continue main; } } $var2 = $var2 + 1 | 0; } return; case 1: nms_ItemStack_damageItem(var$5, var$6, var$4); if ($rt_suspending()) { break main; } var$7 = $this.$armorInventory.data; if (!var$7[$var2].$stackSize) var$7[$var2] = null; while (true) { $var2 = $var2 + 1 | 0; var$3 = $this.$armorInventory.data; if ($var2 >= var$3.length) break; if (var$3[$var2] === null) continue; var$4 = var$3[$var2]; nms_Item_$callClinit(); if (!(nms_Item_itemsList.data[var$4.$itemID] instanceof nms_ItemArmor)) continue; else { var$5 = var$3[$var2]; var$6 = $par1 | 0; var$4 = $this.$player; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_InventoryPlayer_dropAllItems = $this => { let $var1, var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 0; while (true) { var$2 = $this.$mainInventory.data; if ($var1 >= var$2.length) { $var1 = 0; while (true) { var$2 = $this.$armorInventory.data; if ($var1 >= var$2.length) break; if (var$2[$var1] !== null) { var$3 = $this.$player; var$4 = var$2[$var1]; var$5 = 1; $ptr = 2; continue main; } $var1 = $var1 + 1 | 0; } return; } if (var$2[$var1] !== null) break; $var1 = $var1 + 1 | 0; } var$3 = $this.$player; var$4 = var$2[$var1]; var$5 = 1; $ptr = 1; case 1: nms_EntityPlayer_dropPlayerItemWithRandomChoice(var$3, var$4, var$5); if ($rt_suspending()) { break main; } $this.$mainInventory.data[$var1] = null; while (true) { $var1 = $var1 + 1 | 0; var$2 = $this.$mainInventory.data; if ($var1 >= var$2.length) { $var1 = 0; while (true) { var$2 = $this.$armorInventory.data; if ($var1 >= var$2.length) break; if (var$2[$var1] !== null) { var$3 = $this.$player; var$4 = var$2[$var1]; var$5 = 1; $ptr = 2; continue main; } $var1 = $var1 + 1 | 0; } return; } if (var$2[$var1] === null) continue; else break; } var$3 = $this.$player; var$4 = var$2[$var1]; var$5 = 1; continue main; case 2: nms_EntityPlayer_dropPlayerItemWithRandomChoice(var$3, var$4, var$5); if ($rt_suspending()) { break main; } $this.$armorInventory.data[$var1] = null; while (true) { $var1 = $var1 + 1 | 0; var$2 = $this.$armorInventory.data; if ($var1 >= var$2.length) break; if (var$2[$var1] === null) continue; else { var$3 = $this.$player; var$4 = var$2[$var1]; var$5 = 1; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, $ptr); }, nms_InventoryPlayer_onInventoryChanged = $this => { $this.$inventoryChanged = 1; }, nms_InventoryPlayer_hasItemStack = ($this, $par1ItemStack) => { let $var2, var$3, var$4; $var2 = 0; while (true) { var$3 = $this.$armorInventory.data; if ($var2 >= var$3.length) { $var2 = 0; while (true) { var$3 = $this.$mainInventory.data; if ($var2 >= var$3.length) break; if (var$3[$var2] !== null) { var$4 = var$3[$var2]; if (var$4.$itemID == $par1ItemStack.$itemID && var$4.$itemDamage == $par1ItemStack.$itemDamage ? 1 : 0) return 1; } $var2 = $var2 + 1 | 0; } return 0; } if (var$3[$var2] !== null) { var$4 = var$3[$var2]; if (var$4.$itemID == $par1ItemStack.$itemID && var$4.$itemDamage == $par1ItemStack.$itemDamage ? 1 : 0) break; } $var2 = $var2 + 1 | 0; } return 1; }; function nms_EnumOptions() { let a = this; jl_Enum.call(a); a.$enumFloat = 0; a.$enumBoolean = 0; a.$enumString = null; } let nms_EnumOptions_MUSIC = null, nms_EnumOptions_SOUND = null, nms_EnumOptions_INVERT_MOUSE = null, nms_EnumOptions_SENSITIVITY = null, nms_EnumOptions_FOV = null, nms_EnumOptions_GAMMA = null, nms_EnumOptions_RENDER_DISTANCE = null, nms_EnumOptions_VIEW_BOBBING = null, nms_EnumOptions_ANAGLYPH = null, nms_EnumOptions_FRAMERATE_LIMIT = null, nms_EnumOptions_DIFFICULTY = null, nms_EnumOptions_GRAPHICS = null, nms_EnumOptions_AMBIENT_OCCLUSION = null, nms_EnumOptions_GUI_SCALE = null, nms_EnumOptions_RENDER_CLOUDS = null, nms_EnumOptions_PARTICLES = null, nms_EnumOptions_CHAT_VISIBILITY = null, nms_EnumOptions_CHAT_COLOR = null, nms_EnumOptions_CHAT_LINKS = null, nms_EnumOptions_CHAT_OPACITY = null, nms_EnumOptions_CHAT_LINKS_PROMPT = null, nms_EnumOptions_USE_SERVER_TEXTURES = null, nms_EnumOptions_SNOOPER_ENABLED = null, nms_EnumOptions_ENABLE_FOG = null, nms_EnumOptions_SHOW_CAPE = null, nms_EnumOptions_ANTIALIASING = null, nms_EnumOptions_CHAT_SCALE = null, nms_EnumOptions_CHAT_WIDTH = null, nms_EnumOptions_CHAT_HEIGHT_FOCUSED = null, nms_EnumOptions_CHAT_HEIGHT_UNFOCUSED = null, nms_EnumOptions_CHUNK_UPDATES = null, nms_EnumOptions_ADDERALL = null, nms_EnumOptions_VSYNC = null, nms_EnumOptions_$VALUES = null, nms_EnumOptions_$values = () => { let var$1, var$2; var$1 = $rt_createArray(nms_EnumOptions, 33); var$2 = var$1.data; var$2[0] = nms_EnumOptions_MUSIC; var$2[1] = nms_EnumOptions_SOUND; var$2[2] = nms_EnumOptions_INVERT_MOUSE; var$2[3] = nms_EnumOptions_SENSITIVITY; var$2[4] = nms_EnumOptions_FOV; var$2[5] = nms_EnumOptions_GAMMA; var$2[6] = nms_EnumOptions_RENDER_DISTANCE; var$2[7] = nms_EnumOptions_VIEW_BOBBING; var$2[8] = nms_EnumOptions_ANAGLYPH; var$2[9] = nms_EnumOptions_FRAMERATE_LIMIT; var$2[10] = nms_EnumOptions_DIFFICULTY; var$2[11] = nms_EnumOptions_GRAPHICS; var$2[12] = nms_EnumOptions_AMBIENT_OCCLUSION; var$2[13] = nms_EnumOptions_GUI_SCALE; var$2[14] = nms_EnumOptions_RENDER_CLOUDS; var$2[15] = nms_EnumOptions_PARTICLES; var$2[16] = nms_EnumOptions_CHAT_VISIBILITY; var$2[17] = nms_EnumOptions_CHAT_COLOR; var$2[18] = nms_EnumOptions_CHAT_LINKS; var$2[19] = nms_EnumOptions_CHAT_OPACITY; var$2[20] = nms_EnumOptions_CHAT_LINKS_PROMPT; var$2[21] = nms_EnumOptions_USE_SERVER_TEXTURES; var$2[22] = nms_EnumOptions_SNOOPER_ENABLED; var$2[23] = nms_EnumOptions_ENABLE_FOG; var$2[24] = nms_EnumOptions_SHOW_CAPE; var$2[25] = nms_EnumOptions_ANTIALIASING; var$2[26] = nms_EnumOptions_CHAT_SCALE; var$2[27] = nms_EnumOptions_CHAT_WIDTH; var$2[28] = nms_EnumOptions_CHAT_HEIGHT_FOCUSED; var$2[29] = nms_EnumOptions_CHAT_HEIGHT_UNFOCUSED; var$2[30] = nms_EnumOptions_CHUNK_UPDATES; var$2[31] = nms_EnumOptions_ADDERALL; var$2[32] = nms_EnumOptions_VSYNC; return var$1; }, nms_EnumOptions__clinit_ = () => { let var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1735); var$1.$ordinal = 0; var$1.$enumString = $rt_s(1736); var$1.$enumFloat = 1; var$1.$enumBoolean = 0; nms_EnumOptions_MUSIC = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1737); var$1.$ordinal = 1; var$1.$enumString = $rt_s(1738); var$1.$enumFloat = 1; var$1.$enumBoolean = 0; nms_EnumOptions_SOUND = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1739); var$1.$ordinal = 2; var$1.$enumString = $rt_s(1740); var$1.$enumFloat = 0; var$1.$enumBoolean = 1; nms_EnumOptions_INVERT_MOUSE = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1741); var$1.$ordinal = 3; var$1.$enumString = $rt_s(1742); var$1.$enumFloat = 1; var$1.$enumBoolean = 0; nms_EnumOptions_SENSITIVITY = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1743); var$1.$ordinal = 4; var$1.$enumString = $rt_s(1744); var$1.$enumFloat = 1; var$1.$enumBoolean = 0; nms_EnumOptions_FOV = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1745); var$1.$ordinal = 5; var$1.$enumString = $rt_s(1746); var$1.$enumFloat = 1; var$1.$enumBoolean = 0; nms_EnumOptions_GAMMA = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1747); var$1.$ordinal = 6; var$1.$enumString = $rt_s(1748); var$1.$enumFloat = 0; var$1.$enumBoolean = 0; nms_EnumOptions_RENDER_DISTANCE = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1749); var$1.$ordinal = 7; var$1.$enumString = $rt_s(1750); var$1.$enumFloat = 0; var$1.$enumBoolean = 1; nms_EnumOptions_VIEW_BOBBING = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1751); var$1.$ordinal = 8; var$1.$enumString = $rt_s(1752); var$1.$enumFloat = 0; var$1.$enumBoolean = 1; nms_EnumOptions_ANAGLYPH = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1753); var$1.$ordinal = 9; var$1.$enumString = $rt_s(1754); var$1.$enumFloat = 0; var$1.$enumBoolean = 0; nms_EnumOptions_FRAMERATE_LIMIT = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1755); var$1.$ordinal = 10; var$1.$enumString = $rt_s(1756); var$1.$enumFloat = 0; var$1.$enumBoolean = 0; nms_EnumOptions_DIFFICULTY = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1757); var$1.$ordinal = 11; var$1.$enumString = $rt_s(1758); var$1.$enumFloat = 0; var$1.$enumBoolean = 0; nms_EnumOptions_GRAPHICS = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1759); var$1.$ordinal = 12; var$1.$enumString = $rt_s(1760); var$1.$enumFloat = 0; var$1.$enumBoolean = 0; nms_EnumOptions_AMBIENT_OCCLUSION = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1761); var$1.$ordinal = 13; var$1.$enumString = $rt_s(1762); var$1.$enumFloat = 0; var$1.$enumBoolean = 0; nms_EnumOptions_GUI_SCALE = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1763); var$1.$ordinal = 14; var$1.$enumString = $rt_s(1764); var$1.$enumFloat = 0; var$1.$enumBoolean = 1; nms_EnumOptions_RENDER_CLOUDS = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1765); var$1.$ordinal = 15; var$1.$enumString = $rt_s(1766); var$1.$enumFloat = 0; var$1.$enumBoolean = 0; nms_EnumOptions_PARTICLES = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1767); var$1.$ordinal = 16; var$1.$enumString = $rt_s(1768); var$1.$enumFloat = 0; var$1.$enumBoolean = 0; nms_EnumOptions_CHAT_VISIBILITY = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1769); var$1.$ordinal = 17; var$1.$enumString = $rt_s(1770); var$1.$enumFloat = 0; var$1.$enumBoolean = 1; nms_EnumOptions_CHAT_COLOR = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1771); var$1.$ordinal = 18; var$1.$enumString = $rt_s(1772); var$1.$enumFloat = 0; var$1.$enumBoolean = 1; nms_EnumOptions_CHAT_LINKS = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1773); var$1.$ordinal = 19; var$1.$enumString = $rt_s(1774); var$1.$enumFloat = 1; var$1.$enumBoolean = 0; nms_EnumOptions_CHAT_OPACITY = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1775); var$1.$ordinal = 20; var$1.$enumString = $rt_s(1776); var$1.$enumFloat = 0; var$1.$enumBoolean = 1; nms_EnumOptions_CHAT_LINKS_PROMPT = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1777); var$1.$ordinal = 21; var$1.$enumString = $rt_s(1778); var$1.$enumFloat = 0; var$1.$enumBoolean = 1; nms_EnumOptions_USE_SERVER_TEXTURES = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1779); var$1.$ordinal = 22; var$1.$enumString = $rt_s(1780); var$1.$enumFloat = 0; var$1.$enumBoolean = 1; nms_EnumOptions_SNOOPER_ENABLED = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1781); var$1.$ordinal = 23; var$1.$enumString = $rt_s(1782); var$1.$enumFloat = 0; var$1.$enumBoolean = 1; nms_EnumOptions_ENABLE_FOG = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1783); var$1.$ordinal = 24; var$1.$enumString = $rt_s(1784); var$1.$enumFloat = 0; var$1.$enumBoolean = 1; nms_EnumOptions_SHOW_CAPE = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1785); var$1.$ordinal = 25; var$1.$enumString = $rt_s(1786); var$1.$enumFloat = 0; var$1.$enumBoolean = 0; nms_EnumOptions_ANTIALIASING = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1787); var$1.$ordinal = 26; var$1.$enumString = $rt_s(1788); var$1.$enumFloat = 1; var$1.$enumBoolean = 0; nms_EnumOptions_CHAT_SCALE = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1789); var$1.$ordinal = 27; var$1.$enumString = $rt_s(1790); var$1.$enumFloat = 1; var$1.$enumBoolean = 0; nms_EnumOptions_CHAT_WIDTH = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1791); var$1.$ordinal = 28; var$1.$enumString = $rt_s(1792); var$1.$enumFloat = 1; var$1.$enumBoolean = 0; nms_EnumOptions_CHAT_HEIGHT_FOCUSED = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1793); var$1.$ordinal = 29; var$1.$enumString = $rt_s(1794); var$1.$enumFloat = 1; var$1.$enumBoolean = 0; nms_EnumOptions_CHAT_HEIGHT_UNFOCUSED = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1795); var$1.$ordinal = 30; var$1.$enumString = $rt_s(1796); var$1.$enumFloat = 0; var$1.$enumBoolean = 0; nms_EnumOptions_CHUNK_UPDATES = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1797); var$1.$ordinal = 31; var$1.$enumString = $rt_s(1798); var$1.$enumFloat = 0; var$1.$enumBoolean = 1; nms_EnumOptions_ADDERALL = var$1; var$1 = new nms_EnumOptions; var$1.$name0 = $rt_s(1799); var$1.$ordinal = 32; var$1.$enumString = $rt_s(1800); var$1.$enumFloat = 0; var$1.$enumBoolean = 1; nms_EnumOptions_VSYNC = var$1; nms_EnumOptions_$VALUES = nms_EnumOptions_$values(); }; function nms_GuiContainer() { let a = this; nms_GuiScreen.call(a); a.$xSize = 0; a.$ySize = 0; a.$inventorySlots0 = null; a.$guiLeft = 0; a.$guiTop = 0; a.$theSlot = null; a.$clickedSlot = null; a.$isRightMouseClick = 0; a.$draggedStack = null; a.$field_85049_r = 0; a.$field_85048_s = 0; a.$returningStackDestSlot = null; a.$returningStackTime = Long_ZERO; a.$returningStack = null; a.$field_94077_p = null; a.$field_94076_q = 0; a.$field_94071_C = 0; a.$field_94067_D = 0; a.$field_94068_E = 0; a.$field_94069_F = 0; a.$field_94070_G = Long_ZERO; a.$field_94072_H = null; a.$field_94073_I = 0; a.$field_94074_J = 0; a.$field_94075_K = null; } let nms_GuiContainer_field_110408_a = null, nms_GuiContainer_itemRenderer = null, nms_GuiContainer_$callClinit = () => { nms_GuiContainer_$callClinit = $rt_eraseClinit(nms_GuiContainer); nms_GuiContainer__clinit_(); }, nms_GuiContainer_initGui = $this => { $this.$mc.$thePlayer.$openContainer = $this.$inventorySlots0; $this.$guiLeft = ($this.$width - $this.$xSize | 0) / 2 | 0; $this.$guiTop = ($this.$height - $this.$ySize | 0) / 2 | 0; }, nms_GuiContainer_drawScreen = ($this, $par1, $par2, $par3) => { let $var9, $var4, $var5, $var19, $var11, $var16, $var18, $var13, $var15, $var14, $var20, $var12, $var10, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $var8, $var9_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9_0 = $thread.pop();$var8 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var10 = $thread.pop();$var12 = $thread.pop();$var20 = $thread.pop();$var14 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var11 = $thread.pop();$var19 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var9 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var9 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $var4 = $this.$guiLeft; $var5 = $this.$guiTop; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, $var9); if ($rt_suspending()) { break main; } $var4 = $this.$guiLeft; $var5 = $this.$guiTop; $ptr = 2; case 2: $this.$drawGuiContainerBackgroundLayer($par3, $par1, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2929); $var9 = 0; $var19 = $this.$buttonList; $var11 = $rt_compare($var9, $var19.$size0); if ($var11 < 0) { if ($var9 >= 0 && $var11 < 0) { $var19 = $var19.$array.data[$var9]; $var16 = $this.$mc; $ptr = 3; continue main; } $var19 = new jl_IndexOutOfBoundsException; $var19.$suppressionEnabled = 1; $var19.$writableStackTrace = 1; $rt_throw($var19); } nleg_EaglerAdapterGL30_glPushMatrix(); $var19 = nleg_EaglerAdapterGL30_deevis; $var19.$x = 0.0; $var19.$y = 1.0; $var19.$z = 0.0; $var19 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, $var19, $var19); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var19 = new otcic_JSStderrPrintStream; $var16 = new ji_ByteArrayOutputStream; jl_Object__init_($var16); $var16.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var19); $var19.$out0 = $var16; $var16 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var16); $var19.$sb = $var16; $var19.$buffer0 = $rt_createCharArray(32); $var19.$autoFlush = 0; $var19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var19; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var19 = nleg_EaglerAdapterGL30_deevis; $var19.$x = 1.0; $var19.$y = 0.0; $var19.$z = 0.0; $var19 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, $var19, $var19); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var19 = new otcic_JSStderrPrintStream; $var16 = new ji_ByteArrayOutputStream; jl_Object__init_($var16); $var16.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var19); $var19.$out0 = $var16; $var16 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var16); $var19.$sb = $var16; $var19.$buffer0 = $rt_createCharArray(32); $var19.$autoFlush = 0; $var19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var19; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var19 = nleg_EaglerAdapterGL30_deevis; $var19.$x = 1.0; $var19.$y = (-1.0); $var19.$z = 1.0; $var19 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var19, $var19); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var19 = new otcic_JSStderrPrintStream; $var16 = new ji_ByteArrayOutputStream; jl_Object__init_($var16); $var16.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var19); $var19.$out0 = $var16; $var16 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var16); $var19.$sb = $var16; $var19.$buffer0 = $rt_createCharArray(32); $var19.$autoFlush = 0; $var19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var19; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = $var4; $var18 = $var5; $var19 = nleg_EaglerAdapterGL30_deevis; $var19.$x = $par3; $var19.$y = $var18; $var19.$z = 0.0; $var19 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var19, $var19); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var19 = new otcic_JSStderrPrintStream; $var16 = new ji_ByteArrayOutputStream; $var16.$buf = $rt_createByteArray(32); jl_Object__init_($var19); $var19.$out0 = $var16; $var16 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var16, 16); $var19.$sb = $var16; $var19.$buffer0 = $rt_createCharArray(32); $var19.$autoFlush = 0; $var19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var19; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } a: { nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glEnable(32826); $this.$theSlot = null; switch (nms_OpenGlHelper_lightmapTexUnit) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = 240.0; nleg_EaglerAdapterGL30_tex1Y = 240.0; break a; default: if (jl_System_errCache === null) { $var19 = new otcic_JSStderrPrintStream; $var16 = new ji_ByteArrayOutputStream; jl_Object__init_($var16); $var16.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var19); $var19.$out0 = $var16; $var16 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var16); $var19.$sb = $var16; $var19.$buffer0 = $rt_createCharArray(32); $var19.$autoFlush = 0; $var19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var19; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break a; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = 240.0; nleg_EaglerAdapterGL30_tex0Y = 240.0; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var13 = 0; $var19 = $this.$inventorySlots0.$inventorySlots; $var9 = $rt_compare($var13, $var19.$size0); if ($var9 >= 0) { $ptr = 4; continue main; } if ($var13 >= 0 && $var9 < 0) { $var15 = $var19.$array.data[$var13]; $ptr = 5; continue main; } $var19 = new jl_IndexOutOfBoundsException; $var19.$suppressionEnabled = 1; $var19.$writableStackTrace = 1; $rt_throw($var19); case 3: $var19.$drawButton($var16, $par1, $par2); if ($rt_suspending()) { break main; } $var9 = $var9 + 1 | 0; $var19 = $this.$buttonList; $var11 = $rt_compare($var9, $var19.$size0); if ($var11 < 0) { if ($var9 >= 0 && $var11 < 0) { $var19 = $var19.$array.data[$var9]; $var16 = $this.$mc; continue main; } $var19 = new jl_IndexOutOfBoundsException; $var19.$suppressionEnabled = 1; $var19.$writableStackTrace = 1; $rt_throw($var19); } nleg_EaglerAdapterGL30_glPushMatrix(); $var19 = nleg_EaglerAdapterGL30_deevis; $var19.$x = 0.0; $var19.$y = 1.0; $var19.$z = 0.0; $var19 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, $var19, $var19); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var19 = new otcic_JSStderrPrintStream; $var16 = new ji_ByteArrayOutputStream; jl_Object__init_($var16); $var16.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var19); $var19.$out0 = $var16; $var16 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var16); $var19.$sb = $var16; $var19.$buffer0 = $rt_createCharArray(32); $var19.$autoFlush = 0; $var19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var19; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var19 = nleg_EaglerAdapterGL30_deevis; $var19.$x = 1.0; $var19.$y = 0.0; $var19.$z = 0.0; $var19 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, $var19, $var19); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var19 = new otcic_JSStderrPrintStream; $var16 = new ji_ByteArrayOutputStream; jl_Object__init_($var16); $var16.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var19); $var19.$out0 = $var16; $var16 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var16); $var19.$sb = $var16; $var19.$buffer0 = $rt_createCharArray(32); $var19.$autoFlush = 0; $var19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var19; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var19 = nleg_EaglerAdapterGL30_deevis; $var19.$x = 1.0; $var19.$y = (-1.0); $var19.$z = 1.0; $var19 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var19, $var19); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var19 = new otcic_JSStderrPrintStream; $var16 = new ji_ByteArrayOutputStream; jl_Object__init_($var16); $var16.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var19); $var19.$out0 = $var16; $var16 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var16); $var19.$sb = $var16; $var19.$buffer0 = $rt_createCharArray(32); $var19.$autoFlush = 0; $var19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var19; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = $var4; $var18 = $var5; $var19 = nleg_EaglerAdapterGL30_deevis; $var19.$x = $par3; $var19.$y = $var18; $var19.$z = 0.0; $var19 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var19, $var19); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var19 = new otcic_JSStderrPrintStream; $var16 = new ji_ByteArrayOutputStream; $var16.$buf = $rt_createByteArray(32); jl_Object__init_($var19); $var19.$out0 = $var16; $var16 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var16, 16); $var19.$sb = $var16; $var19.$buffer0 = $rt_createCharArray(32); $var19.$autoFlush = 0; $var19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var19; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } a: { nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glEnable(32826); $this.$theSlot = null; switch (nms_OpenGlHelper_lightmapTexUnit) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = 240.0; nleg_EaglerAdapterGL30_tex1Y = 240.0; break a; default: if (jl_System_errCache === null) { $var19 = new otcic_JSStderrPrintStream; $var16 = new ji_ByteArrayOutputStream; jl_Object__init_($var16); $var16.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var19); $var19.$out0 = $var16; $var16 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var16); $var19.$sb = $var16; $var19.$buffer0 = $rt_createCharArray(32); $var19.$autoFlush = 0; $var19.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var19; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break a; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = 240.0; nleg_EaglerAdapterGL30_tex0Y = 240.0; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var13 = 0; $var19 = $this.$inventorySlots0.$inventorySlots; $var9 = $rt_compare($var13, $var19.$size0); if ($var9 >= 0) { $ptr = 4; continue main; } if ($var13 >= 0 && $var9 < 0) { $var15 = $var19.$array.data[$var13]; $ptr = 5; continue main; } $var19 = new jl_IndexOutOfBoundsException; $var19.$suppressionEnabled = 1; $var19.$writableStackTrace = 1; $rt_throw($var19); case 4: $this.$drawGuiContainerForegroundLayer($par1, $par2); if ($rt_suspending()) { break main; } $var14 = $this.$mc.$thePlayer.$inventory; $var19 = $this.$draggedStack; $var16 = $var19 !== null ? $var19 : $var14.$itemStack; if ($var16 === null) { if ($this.$returningStack === null) { nleg_EaglerAdapterGL30_glPopMatrix(); if ($var14.$itemStack === null) { $var19 = $this.$theSlot; if ($var19 !== null && $var19.$getHasStack()) { $var19 = $this.$theSlot.$getStack(); $ptr = 7; continue main; } } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); return; } nlea_EaglerAdapterImpl2_$callClinit(); $var18 = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$returningStackTime)) / 100.0; if ($var18 >= 1.0) { $var18 = 1.0; $this.$returningStack = null; } $var19 = $this.$returningStackDestSlot; $var9 = $var19.$xDisplayPosition; $var11 = $this.$field_85049_r; $var9 = $var9 - $var11 | 0; $var20 = $var19.$yDisplayPosition; $var12 = $this.$field_85048_s; $var20 = $var20 - $var12 | 0; $var11 = $var11 + ($var9 * $var18 | 0) | 0; $var12 = $var12 + ($var20 * $var18 | 0) | 0; $var19 = $this.$returningStack; $var16 = null; $ptr = 6; continue main; } $var9 = $var19 !== null ? 16 : 8; b: { $var10 = null; if ($var19 !== null && $this.$isRightMouseClick) { var$17 = new nms_ItemStack; $var11 = $var16.$itemID; $var20 = $var16.$stackSize; $var12 = $var16.$itemDamage; nms_ItemStack_$callClinit(); var$17.$itemID = $var11; var$17.$stackSize = $var20; var$17.$itemDamage = $var12; if ($var12 < 0) var$17.$itemDamage = 0; $var19 = $var16.$stackTagCompound; if ($var19 !== null) { $var16 = new nms_NBTTagCompound; $var15 = $var19.$name; if ($var15 === null) $var15 = $rt_s(18); $var16.$name = $var15; $var15 = new ju_HashMap; $var11 = ju_HashMap_calculateCapacity(16); $var15.$elementCount = 0; var$18 = $rt_createArray(ju_HashMap$HashEntry, $var11); var$19 = var$18.data; $var15.$elementData = var$18; $var15.$loadFactor = 0.75; $var15.$threshold = var$19.length * 0.75 | 0; $var16.$tagMap = $var15; $var15 = $var19.$tagMap; if ($var15.$cachedKeySet === null) { var$20 = new ju_HashMap$1; var$20.$this$0 = $var15; $var15.$cachedKeySet = var$20; } $var15 = $var15.$cachedKeySet.$iterator(); while ($var15.$hasNext()) { var$20 = $var15.$next(); var$21 = $var19.$tagMap; if (var$20 === null) { var$21 = var$21.$elementData.data[0]; while (var$21 !== null && var$21.$key !== null) { var$21 = var$21.$next3; } } else { c: { if (!var$20.$hashCode1) { $var11 = 0; while (true) { if ($var11 >= var$20.$nativeString.length) break c; var$20.$hashCode1 = (31 * var$20.$hashCode1 | 0) + var$20.$nativeString.charCodeAt($var11) | 0; $var11 = $var11 + 1 | 0; } } } $var12 = var$20.$hashCode1; var$19 = var$21.$elementData.data; var$21 = var$19[$var12 & (var$19.length - 1 | 0)]; while (var$21 !== null) { if (var$21.$origKeyHash == $var12) { d: { var$22 = var$21.$key; if (var$20 !== var$22) { if (var$20 === var$22) $var11 = 1; else if (!(var$22 instanceof jl_String)) $var11 = 0; else { var$22 = var$22; $var11 = var$20.$nativeString !== var$22.$nativeString ? 0 : 1; } if (!$var11) { $var11 = 0; break d; } } $var11 = 1; } if ($var11) break; } var$21 = var$21.$next3; } } var$21 = var$21 === null ? null : var$21.$value1; var$21 = var$21.$copy(); var$22 = $var16.$tagMap; if (var$20 !== null) var$21.$name = var$20; else var$21.$name = $rt_s(18); ju_HashMap_putImpl(var$22, var$20, var$21); } var$17.$stackTagCompound = $var16; } $var18 = var$17.$stackSize / 2.0; $var11 = $var18 | 0; if ($var18 > $var11) $var11 = $var11 + 1 | 0; var$17.$stackSize = $var11; } else if (!$this.$field_94076_q) var$17 = $var16; else if ($this.$field_94077_p.$backingMap.$elementCount <= 1) var$17 = $var16; else { var$17 = new nms_ItemStack; $var11 = $var16.$itemID; $var20 = $var16.$stackSize; $var12 = $var16.$itemDamage; nms_ItemStack_$callClinit(); var$17.$itemID = $var11; var$17.$stackSize = $var20; var$17.$itemDamage = $var12; if ($var12 < 0) var$17.$itemDamage = 0; var$20 = $var16.$stackTagCompound; if (var$20 !== null) { var$21 = new nms_NBTTagCompound; $var19 = var$20.$name; if ($var19 === null) $var19 = $rt_s(18); var$21.$name = $var19; $var19 = new ju_HashMap; $var11 = ju_HashMap_calculateCapacity(16); $var19.$elementCount = 0; var$18 = $rt_createArray(ju_HashMap$HashEntry, $var11); var$19 = var$18.data; $var19.$elementData = var$18; $var19.$loadFactor = 0.75; $var19.$threshold = var$19.length * 0.75 | 0; var$21.$tagMap = $var19; $var16 = var$20.$tagMap; if ($var16.$cachedKeySet === null) { $var19 = new ju_HashMap$1; $var19.$this$0 = $var16; $var16.$cachedKeySet = $var19; } var$22 = $var16.$cachedKeySet.$iterator(); while (var$22.$hasNext()) { var$23 = var$22.$next(); $var19 = var$20.$tagMap; if (var$23 === null) { $var19 = $var19.$elementData.data[0]; while ($var19 !== null && $var19.$key !== null) { $var19 = $var19.$next3; } } else { e: { if (!var$23.$hashCode1) { $var11 = 0; while (true) { if ($var11 >= var$23.$nativeString.length) break e; var$23.$hashCode1 = (31 * var$23.$hashCode1 | 0) + var$23.$nativeString.charCodeAt($var11) | 0; $var11 = $var11 + 1 | 0; } } } $var12 = var$23.$hashCode1; var$19 = $var19.$elementData.data; $var19 = var$19[$var12 & (var$19.length - 1 | 0)]; while ($var19 !== null) { if ($var19.$origKeyHash == $var12) { f: { $var16 = $var19.$key; if (var$23 !== $var16) { if (var$23 === $var16) $var11 = 1; else if (!($var16 instanceof jl_String)) $var11 = 0; else { $var16 = $var16; $var11 = var$23.$nativeString !== $var16.$nativeString ? 0 : 1; } if (!$var11) { $var11 = 0; break f; } } $var11 = 1; } if ($var11) break; } $var19 = $var19.$next3; } } $var19 = $var19 === null ? null : $var19.$value1; $var19 = $var19.$copy(); $var16 = var$21.$tagMap; if (var$23 !== null) $var19.$name = var$23; else $var19.$name = $rt_s(18); ju_HashMap_putImpl($var16, var$23, $var19); } var$17.$stackTagCompound = var$21; } $var11 = $this.$field_94069_F; var$17.$stackSize = $var11; if (!$var11) { nms_EnumChatFormatting_$callClinit(); $var19 = nms_EnumChatFormatting_YELLOW; $var16 = $var19 === null ? $rt_s(1) : $var19.$field_96304_B; $var19 = new jl_StringBuilder; $var19.$buffer = $rt_createCharArray(16); $var11 = $var19.$length0; if ($var16 === null) $var16 = $rt_s(1); jl_AbstractStringBuilder_insert($var19, $var11, $var16); $var20 = $var19.$length0; jl_AbstractStringBuilder_insertSpace($var19, $var20, $var20 + 1 | 0); var$19 = $var19.$buffer; var$18 = var$19.data; var$18[$var20] = 48; $var10 = new jl_String; $var20 = $var19.$length0; $var12 = var$18.length; if ($var20 < 0) break b; if ($var20 > ($var12 - 0 | 0)) break b; $var10.$nativeString = $rt_charArrayToString(var$19.data, 0, $var20); } } $var11 = ($par1 - $var4 | 0) - 8 | 0; $var9 = ($par2 - $var5 | 0) - $var9 | 0; $ptr = 8; continue main; } $var19 = new jl_IndexOutOfBoundsException; $var19.$suppressionEnabled = 1; $var19.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var19); $rt_throw($var19); case 5: nms_GuiContainer_drawSlotInventory($this, $var15); if ($rt_suspending()) { break main; } if (nms_GuiContainer_isPointInRegion($this, $var15.$xDisplayPosition, $var15.$yDisplayPosition, 16, 16, $par1, $par2) && $var15.$func_111238_b()) { $this.$theSlot = $var15; nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2929); $var8 = $var15.$xDisplayPosition; $var9_0 = $var15.$yDisplayPosition; nms_Gui_drawGradientRect($this, $var8, $var9_0, $var8 + 16 | 0, $var9_0 + 16 | 0, (-2130706433), (-2130706433)); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); } $var13 = $var13 + 1 | 0; $var19 = $this.$inventorySlots0.$inventorySlots; $var9 = $rt_compare($var13, $var19.$size0); if ($var9 >= 0) { $ptr = 4; continue main; } if ($var13 >= 0 && $var9 < 0) { $var15 = $var19.$array.data[$var13]; continue main; } $var19 = new jl_IndexOutOfBoundsException; $var19.$suppressionEnabled = 1; $var19.$writableStackTrace = 1; $rt_throw($var19); case 6: nms_GuiContainer_drawItemStack($this, $var19, $var11, $var12, $var16); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); if ($var14.$itemStack === null) { $var19 = $this.$theSlot; if ($var19 !== null && $var19.$getHasStack()) { $var19 = $this.$theSlot.$getStack(); $ptr = 7; continue main; } } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); return; case 7: $this.$drawItemStackTooltip($var19, $par1, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); return; case 8: nms_GuiContainer_drawItemStack($this, var$17, $var11, $var9, $var10); if ($rt_suspending()) { break main; } if ($this.$returningStack === null) { nleg_EaglerAdapterGL30_glPopMatrix(); if ($var14.$itemStack === null) { $var19 = $this.$theSlot; if ($var19 !== null && $var19.$getHasStack()) { $var19 = $this.$theSlot.$getStack(); $ptr = 7; continue main; } } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); return; } nlea_EaglerAdapterImpl2_$callClinit(); $var18 = Long_toNumber(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$returningStackTime)) / 100.0; if ($var18 >= 1.0) { $var18 = 1.0; $this.$returningStack = null; } $var19 = $this.$returningStackDestSlot; $var9 = $var19.$xDisplayPosition; $var11 = $this.$field_85049_r; $var9 = $var9 - $var11 | 0; $var20 = $var19.$yDisplayPosition; $var12 = $this.$field_85048_s; $var20 = $var20 - $var12 | 0; $var11 = $var11 + ($var9 * $var18 | 0) | 0; $var12 = $var12 + ($var20 * $var18 | 0) | 0; $var19 = $this.$returningStack; $var16 = null; $ptr = 6; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var9, $var4, $var5, $var19, $var11, $var16, $var18, $var13, $var15, $var14, $var20, $var12, $var10, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $var8, $var9_0, $ptr); }, nms_GuiContainer_drawItemStack = ($this, $par1ItemStack, $par2, $par3, $par4Str) => { let var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4Str = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 0.0; var$5.$z = 32.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $this.$zLevel = 200.0; nms_GuiContainer_$callClinit(); var$6 = nms_GuiContainer_itemRenderer; var$6.$zLevel0 = 200.0; var$7 = $this.$fontRenderer; var$5 = $this.$mc.$renderEngine; $ptr = 1; case 1: nms_RenderItem_renderItemAndEffectIntoGUI(var$6, var$7, var$5, $par1ItemStack, $par2, $par3); if ($rt_suspending()) { break main; } var$5 = nms_GuiContainer_itemRenderer; var$6 = $this.$fontRenderer; var$8 = $this.$mc.$renderEngine; $par3 = $par3 - ($this.$draggedStack !== null ? 8 : 0) | 0; $ptr = 2; case 2: nms_RenderItem_renderItemOverlayIntoGUI(var$5, var$6, var$8, $par1ItemStack, $par2, $par3, $par4Str); if ($rt_suspending()) { break main; } $this.$zLevel = 0.0; nms_GuiContainer_itemRenderer.$zLevel0 = 0.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2, $par3, $par4Str, var$5, var$6, var$7, var$8, $ptr); }, nms_GuiContainer_drawItemStackTooltip = ($this, $par1ItemStack, $par2, $par3) => { let var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $this.$mc; $var4 = nms_ItemStack_getTooltip($par1ItemStack, var$4.$thePlayer, var$4.$gameSettings.$advancedItemTooltips); $var5 = 0; a: { b: { c: { d: { e: { while (true) { var$7 = $rt_compare($var5, $var4.$size0); if (var$7 >= 0) { $ptr = 1; continue main; } if (!$var5) { nms_Item_$callClinit(); var$8 = otci_IntegerUtil_toUnsignedLogRadixString((nms_Item_itemsList.data[$par1ItemStack.$itemID].$getRarity($par1ItemStack)).$rarityColor, 4); if ($var5 < 0) break a; if ($var5 >= $var4.$size0) break a; var$9 = $var4.$array.data[$var5]; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$10 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$10, var$10 + 1 | 0); var$4.$buffer.data[var$10] = 167; var$7 = var$4.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$7, var$8); var$7 = var$4.$length0; if (var$9 === null) var$9 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$7, var$9); var$9 = new jl_String; var$11 = var$4.$buffer; var$12 = var$11.data; var$10 = var$4.$length0; var$13 = var$12.length; if (var$10 < 0) break b; if (var$10 > (var$13 - 0 | 0)) break b; var$9.$nativeString = $rt_charArrayToString(var$11.data, 0, var$10); if ($var5 < 0) break c; if ($var5 >= $var4.$size0) break c; $var4.$array.data[$var5] = var$9; } else { nms_EnumChatFormatting_$callClinit(); var$9 = nms_EnumChatFormatting_GRAY; var$9 = var$9 === null ? $rt_s(1) : var$9.$field_96304_B; if ($var5 < 0) break d; if (var$7 >= 0) break d; var$4 = $var4.$array.data[$var5]; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); var$7 = var$8.$length0; if (var$9 === null) var$9 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$7, var$9); var$7 = var$8.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$7, var$4); var$9 = new jl_String; var$11 = var$8.$buffer; var$12 = var$11.data; var$10 = var$8.$length0; var$13 = var$12.length; if (var$10 < 0) break e; if (var$10 > (var$13 - 0 | 0)) break e; var$9.$nativeString = $rt_charArrayToString(var$11.data, 0, var$10); if ($var5 < 0) break; if ($var5 >= $var4.$size0) break; $var4.$array.data[$var5] = var$9; } $var5 = $var5 + 1 | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); case 1: nms_GuiContainer_func_102021_a($this, $var4, $par2, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2, $par3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_GuiContainer_func_102021_a = ($this, $par1List, $par2, $par3) => { let $var4, $var5$index, $var15, $var12, $var14, $var8, $var7, $var5$index_0, $var9, $var13, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var13 = $thread.pop();$var9 = $thread.pop();$var5$index_0 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var15 = $thread.pop();$var5$index = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1List = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = $par1List.$size() ? 0 : 1; a: { if (!$var4) { nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2929); $var4 = 0; $var5$index = 0; $var15 = $par1List.$modCount; $var12 = $par1List.$size(); while (true) { if (!($var5$index >= $var12 ? 0 : 1)) { $var14 = $par2 + 12 | 0; $var15 = $par3 - 12 | 0; $var8 = 8; if ($par1List.$size() > 1) $var8 = $var8 + (2 + (($par1List.$size() - 1 | 0) * 10 | 0) | 0) | 0; if (($var14 + $var4 | 0) > $this.$width) $var14 = $var14 - (28 + $var4 | 0) | 0; $par2 = ($var15 + $var8 | 0) + 6 | 0; $par3 = $this.$height; if ($par2 > $par3) $var15 = ($par3 - $var8 | 0) - 6 | 0; $this.$zLevel = 300.0; nms_GuiContainer_$callClinit(); nms_GuiContainer_itemRenderer.$zLevel0 = 300.0; $par3 = $var14 - 3 | 0; $var7 = $var15 - 4 | 0; $var4 = $var14 + $var4 | 0; $var5$index_0 = $var4 + 3 | 0; $var12 = $var15 - 3 | 0; nms_Gui_drawGradientRect($this, $par3, $var7, $var5$index_0, $var12, (-267386864), (-267386864)); $var7 = $var15 + $var8 | 0; $var5$index = $var7 + 3 | 0; nms_Gui_drawGradientRect($this, $par3, $var5$index, $var5$index_0, $var7 + 4 | 0, (-267386864), (-267386864)); nms_Gui_drawGradientRect($this, $par3, $var12, $var5$index_0, $var5$index, (-267386864), (-267386864)); nms_Gui_drawGradientRect($this, $var14 - 4 | 0, $var12, $par3, $var5$index, (-267386864), (-267386864)); nms_Gui_drawGradientRect($this, $var5$index_0, $var12, $var4 + 4 | 0, $var5$index, (-267386864), (-267386864)); $var8 = $var12 + 1 | 0; $par2 = $par3 + 1 | 0; $var9 = $var5$index - 1 | 0; nms_Gui_drawGradientRect($this, $par3, $var8, $par2, $var9, 1347420415, 1344798847); nms_Gui_drawGradientRect($this, $var4 + 2 | 0, $var8, $var5$index_0, $var9, 1347420415, 1344798847); nms_Gui_drawGradientRect($this, $par3, $var12, $var5$index_0, $var8, 1347420415, 1347420415); nms_Gui_drawGradientRect($this, $par3, $var7 + 2 | 0, $var5$index_0, $var5$index, 1344798847, 1344798847); $var12 = 0; if ($var12 < $par1List.$size()) { $var13 = $par1List.$get($var12); $var6 = $this.$fontRenderer; $par3 = (-1); $var6.$randomStyle = 0; $var6.$boldStyle = 0; $var6.$italicStyle = 0; $var6.$underlineStyle = 0; $var6.$strikethroughStyle = 0; $par2 = $var14 + 1 | 0; $var4 = $var15 + 1 | 0; $var7 = 1; $ptr = 1; continue main; } $this.$zLevel = 0.0; nms_GuiContainer_itemRenderer.$zLevel0 = 0.0; nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glEnable(32826); break a; } if ($var15 < $par1List.$modCount) break; $var5$index_0 = $var5$index + 1 | 0; $var6 = $par1List.$get($var5$index); $var7 = nms_FontRenderer_getStringWidth($this.$fontRenderer, $var6); if ($var7 > $var4) $var4 = $var7; $var5$index = $var5$index_0; } $par1List = new ju_ConcurrentModificationException; $par1List.$suppressionEnabled = 1; $par1List.$writableStackTrace = 1; $rt_throw($par1List); } } return; case 1: $tmp = nms_FontRenderer_renderString($var6, $var13, $par2, $var4, $par3, $var7); if ($rt_suspending()) { break main; } $var4 = $tmp; $par2 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($var6, $var13, $var14, $var15, $par3, $par2); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$var12) $var15 = $var15 + 2 | 0; $var15 = $var15 + 10 | 0; $var12 = $var12 + 1 | 0; if ($var12 >= $par1List.$size()) { $this.$zLevel = 0.0; nms_GuiContainer_itemRenderer.$zLevel0 = 0.0; nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glEnable(32826); return; } $var13 = $par1List.$get($var12); $var6 = $this.$fontRenderer; $par3 = (-1); $var6.$randomStyle = 0; $var6.$boldStyle = 0; $var6.$italicStyle = 0; $var6.$underlineStyle = 0; $var6.$strikethroughStyle = 0; $par2 = $var14 + 1 | 0; $var4 = $var15 + 1 | 0; $var7 = 1; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1List, $par2, $par3, $var4, $var5$index, $var15, $var12, $var14, $var8, $var7, $var5$index_0, $var9, $var13, $var6, $ptr); }, nms_GuiContainer_drawSlotInventory = ($this, $par1Slot) => { let $var2, $var3, $var4, $var5, $var9, $var6, $var7, $var8, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var9 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1Slot = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $par1Slot.$xDisplayPosition; $var3 = $par1Slot.$yDisplayPosition; $var4 = $par1Slot.$getStack(); $var5 = 0; $var9 = $this.$clickedSlot; $var6 = $par1Slot === $var9 && $this.$draggedStack !== null && !$this.$isRightMouseClick ? 1 : 0; a: { $var7 = $this.$mc.$thePlayer.$inventory.$itemStack; $var8 = null; if ($par1Slot === $var9 && $this.$draggedStack !== null && $this.$isRightMouseClick && $var4 !== null) { $var9 = new nms_ItemStack; var$10 = $var4.$itemID; var$11 = $var4.$stackSize; var$12 = $var4.$itemDamage; nms_ItemStack_$callClinit(); $var9.$itemID = var$10; $var9.$stackSize = var$11; $var9.$itemDamage = var$12; if (var$12 < 0) $var9.$itemDamage = 0; var$13 = $var4.$stackTagCompound; if (var$13 !== null) { $var4 = new nms_NBTTagCompound; $var7 = var$13.$name; if ($var7 === null) $var7 = $rt_s(18); $var4.$name = $var7; $var7 = new ju_HashMap; var$10 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, var$10); var$15 = var$14.data; $var7.$elementData = var$14; $var7.$loadFactor = 0.75; $var7.$threshold = var$15.length * 0.75 | 0; $var4.$tagMap = $var7; $var7 = var$13.$tagMap; if ($var7.$cachedKeySet === null) { var$16 = new ju_HashMap$1; var$16.$this$0 = $var7; $var7.$cachedKeySet = var$16; } $var7 = $var7.$cachedKeySet.$iterator(); while ($var7.$hasNext()) { var$16 = $var7.$next(); var$17 = var$13.$tagMap; if (var$16 === null) { var$17 = var$17.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { b: { if (!var$16.$hashCode1) { var$10 = 0; while (true) { if (var$10 >= var$16.$nativeString.length) break b; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$12 = var$16.$hashCode1; var$15 = var$17.$elementData.data; var$17 = var$15[var$12 & (var$15.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == var$12) { c: { var$18 = var$17.$key; if (var$16 !== var$18) { if (var$16 === var$18) var$10 = 1; else if (!(var$18 instanceof jl_String)) var$10 = 0; else { var$18 = var$18; var$10 = var$16.$nativeString !== var$18.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break c; } } var$10 = 1; } if (var$10) break; } var$17 = var$17.$next3; } } var$17 = var$17 === null ? null : var$17.$value1; var$17 = var$17.$copy(); var$18 = $var4.$tagMap; if (var$16 !== null) var$17.$name = var$16; else var$17.$name = $rt_s(18); ju_HashMap_putImpl(var$18, var$16, var$17); } $var9.$stackTagCompound = $var4; } $var9.$stackSize = $var9.$stackSize / 2 | 0; $var4 = $var9; } else if ($this.$field_94076_q) { $var9 = $this.$field_94077_p.$backingMap; if ($par1Slot === null) { $var9 = $var9.$elementData.data[0]; while ($var9 !== null && $var9.$key !== null) { $var9 = $var9.$next3; } } else { var$13 = $par1Slot; if (!var$13.$id$) var$13.$id$ = $rt_nextId(); var$12 = $par1Slot.$id$; var$15 = $var9.$elementData.data; $var9 = var$15[var$12 & (var$15.length - 1 | 0)]; while ($var9 !== null) { if ($var9.$origKeyHash == var$12) { var$13 = $var9.$key; if ($par1Slot !== var$13 && !($par1Slot !== var$13 ? 0 : 1) ? 0 : 1) break; } $var9 = $var9.$next3; } } if (($var9 === null ? 0 : 1) && $var7 !== null) { if ($this.$field_94077_p.$backingMap.$elementCount == 1) return; if (nms_Container_func_94527_a($par1Slot, $var7, 1) && $this.$inventorySlots0.$canDragIntoSlot($par1Slot)) { $var4 = new nms_ItemStack; var$10 = $var7.$itemID; var$11 = $var7.$stackSize; var$12 = $var7.$itemDamage; nms_ItemStack_$callClinit(); $var4.$itemID = var$10; $var4.$stackSize = var$11; $var4.$itemDamage = var$12; if (var$12 < 0) $var4.$itemDamage = 0; var$13 = $var7.$stackTagCompound; if (var$13 !== null) { $var7 = new nms_NBTTagCompound; $var9 = var$13.$name; if ($var9 === null) $var9 = $rt_s(18); $var7.$name = $var9; $var9 = new ju_HashMap; var$10 = ju_HashMap_calculateCapacity(16); $var9.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, var$10); var$15 = var$14.data; $var9.$elementData = var$14; $var9.$loadFactor = 0.75; $var9.$threshold = var$15.length * 0.75 | 0; $var7.$tagMap = $var9; $var9 = var$13.$tagMap; if ($var9.$cachedKeySet === null) { var$16 = new ju_HashMap$1; var$16.$this$0 = $var9; $var9.$cachedKeySet = var$16; } $var9 = $var9.$cachedKeySet.$iterator(); while ($var9.$hasNext()) { var$16 = $var9.$next(); var$17 = var$13.$tagMap; if (var$16 === null) { var$17 = var$17.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { d: { if (!var$16.$hashCode1) { var$10 = 0; while (true) { if (var$10 >= var$16.$nativeString.length) break d; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$12 = var$16.$hashCode1; var$15 = var$17.$elementData.data; var$17 = var$15[var$12 & (var$15.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == var$12) { e: { var$18 = var$17.$key; if (var$16 !== var$18) { if (var$16 === var$18) var$10 = 1; else if (!(var$18 instanceof jl_String)) var$10 = 0; else { var$18 = var$18; var$10 = var$16.$nativeString !== var$18.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break e; } } var$10 = 1; } if (var$10) break; } var$17 = var$17.$next3; } } var$17 = var$17 === null ? null : var$17.$value1; var$17 = var$17.$copy(); var$18 = $var7.$tagMap; if (var$16 !== null) var$17.$name = var$16; else var$17.$name = $rt_s(18); ju_HashMap_putImpl(var$18, var$16, var$17); } $var4.$stackTagCompound = $var7; } $var5 = 1; $var9 = $this.$field_94077_p; var$10 = $this.$field_94071_C; var$11 = $par1Slot.$getStack() === null ? 0 : ($par1Slot.$getStack()).$stackSize; f: { switch (var$10) { case 0: var$19 = $var4.$stackSize / $var9.$backingMap.$elementCount; var$10 = var$19 | 0; if (var$19 < var$10) var$10 = var$10 - 1 | 0; $var4.$stackSize = var$10; break f; case 1: break; default: break f; } $var4.$stackSize = 1; } var$12 = $var4.$stackSize + var$11 | 0; $var4.$stackSize = var$12; nms_Item_$callClinit(); var$15 = nms_Item_itemsList.data; var$11 = $var4.$itemID; if (var$12 > var$15[var$11].$maxStackSize) { nms_EnumChatFormatting_$callClinit(); $var9 = nms_EnumChatFormatting_YELLOW; var$13 = $var9 === null ? $rt_s(1) : $var9.$field_96304_B; var$12 = var$15[var$11].$maxStackSize; $var9 = new jl_StringBuilder; $var9.$buffer = $rt_createCharArray(16); var$10 = $var9.$length0; if (var$13 === null) var$13 = $rt_s(1); jl_AbstractStringBuilder_insert($var9, var$10, var$13); jl_AbstractStringBuilder_insert0($var9, $var9.$length0, var$12, 10); $var8 = new jl_String; var$15 = $var9.$buffer; var$14 = var$15.data; var$11 = $var9.$length0; var$12 = var$14.length; if (var$11 >= 0 && var$11 <= (var$12 - 0 | 0)) { $var8.$nativeString = $rt_charArrayToString(var$15.data, 0, var$11); $var4.$stackSize = nms_Item_itemsList.data[$var4.$itemID].$maxStackSize; } else { $par1Slot = new jl_IndexOutOfBoundsException; $par1Slot.$suppressionEnabled = 1; $par1Slot.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Slot); $rt_throw($par1Slot); } } if ($var4.$stackSize <= $par1Slot.$getSlotStackLimit()) break a; nms_EnumChatFormatting_$callClinit(); $var9 = nms_EnumChatFormatting_YELLOW; var$13 = $var9 === null ? $rt_s(1) : $var9.$field_96304_B; var$12 = $par1Slot.$getSlotStackLimit(); $var9 = new jl_StringBuilder; $var9.$buffer = $rt_createCharArray(16); var$10 = $var9.$length0; if (var$13 === null) var$13 = $rt_s(1); jl_AbstractStringBuilder_insert($var9, var$10, var$13); jl_AbstractStringBuilder_insert0($var9, $var9.$length0, var$12, 10); $var8 = new jl_String; var$15 = $var9.$buffer; var$14 = var$15.data; var$11 = $var9.$length0; var$12 = var$14.length; if (var$11 >= 0 && var$11 <= (var$12 - 0 | 0)) { $var8.$nativeString = $rt_charArrayToString(var$15.data, 0, var$11); $var4.$stackSize = $par1Slot.$getSlotStackLimit(); break a; } $par1Slot = new jl_IndexOutOfBoundsException; $par1Slot.$suppressionEnabled = 1; $par1Slot.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Slot); $rt_throw($par1Slot); } $var9 = ju_HashMap_removeByKey($this.$field_94077_p.$backingMap, $par1Slot); nms_GuiContainer_func_94066_g($this); } } } $this.$zLevel = 100.0; nms_GuiContainer_$callClinit(); nms_GuiContainer_itemRenderer.$zLevel0 = 100.0; if ($var4 === null) { $var9 = $par1Slot.$getBackgroundIconIndex(); if ($var9 !== null) { nleg_EaglerAdapterGL30_glDisable(2896); nms_TextureMap_$callClinit(); $par1Slot = nms_TextureMap_locationItemsTexture; $ptr = 1; continue main; } } if ($var6) { nms_GuiContainer_itemRenderer.$zLevel0 = 0.0; $this.$zLevel = 0.0; return; } if ($var5) nms_Gui_drawRect($var2, $var3, $var2 + 16 | 0, $var3 + 16 | 0, (-2130706433)); nleg_EaglerAdapterGL30_glEnable(2929); $par1Slot = nms_GuiContainer_itemRenderer; $var9 = $this.$fontRenderer; var$13 = $this.$mc.$renderEngine; $ptr = 2; continue main; case 1: nle_TextureLocation_bindTexture($par1Slot); if ($rt_suspending()) { break main; } nms_Gui_drawTexturedModelRectFromIcon($this, $var2, $var3, $var9, 16, 16); nleg_EaglerAdapterGL30_glEnable(2896); if (1) { nms_GuiContainer_itemRenderer.$zLevel0 = 0.0; $this.$zLevel = 0.0; return; } if ($var5) nms_Gui_drawRect($var2, $var3, $var2 + 16 | 0, $var3 + 16 | 0, (-2130706433)); nleg_EaglerAdapterGL30_glEnable(2929); $par1Slot = nms_GuiContainer_itemRenderer; $var9 = $this.$fontRenderer; var$13 = $this.$mc.$renderEngine; $ptr = 2; case 2: nms_RenderItem_renderItemAndEffectIntoGUI($par1Slot, $var9, var$13, $var4, $var2, $var3); if ($rt_suspending()) { break main; } $par1Slot = nms_GuiContainer_itemRenderer; $var9 = $this.$fontRenderer; var$13 = $this.$mc.$renderEngine; $ptr = 3; case 3: nms_RenderItem_renderItemOverlayIntoGUI($par1Slot, $var9, var$13, $var4, $var2, $var3, $var8); if ($rt_suspending()) { break main; } nms_GuiContainer_itemRenderer.$zLevel0 = 0.0; $this.$zLevel = 0.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Slot, $var2, $var3, $var4, $var5, $var9, $var6, $var7, $var8, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_GuiContainer_func_94066_g = $this => { let $var1, $var3, var$3, $var2, var$5, $var4$stackSize, $var5, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $var4$stackSize_0; a: { $var1 = $this.$mc.$thePlayer.$inventory.$itemStack; if ($var1 !== null && $this.$field_94076_q) { $this.$field_94069_F = $var1.$stackSize; $var3 = $this.$field_94077_p.$backingMap; if ($var3.$cachedKeySet === null) { var$3 = new ju_HashMap$1; var$3.$this$0 = $var3; $var3.$cachedKeySet = var$3; } $var2 = $var3.$cachedKeySet.$iterator(); while (true) { if (!$var2.$hasNext()) break a; $var3 = $var2.$next(); var$5 = $var1.$itemID; $var4$stackSize = $var1.$stackSize; $var5 = $var1.$itemDamage; nms_ItemStack_$callClinit(); var$8 = $var1.$stackTagCompound; if (var$8 !== null) { var$9 = new ju_HashMap; $var5 = ju_HashMap_calculateCapacity(16); var$9.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, $var5); var$11 = var$10.data; var$9.$elementData = var$10; var$9.$loadFactor = 0.75; var$9.$threshold = var$11.length * 0.75 | 0; var$12 = var$8.$tagMap; if (var$12.$cachedKeySet === null) { var$3 = new ju_HashMap$1; var$3.$this$0 = var$12; var$12.$cachedKeySet = var$3; } var$13 = var$12.$cachedKeySet.$iterator(); while (var$13.$hasNext()) { var$14 = var$13.$next(); var$3 = var$8.$tagMap; if (var$14 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { b: { if (!var$14.$hashCode1) { $var5 = 0; while (true) { if ($var5 >= var$14.$nativeString.length) break b; var$14.$hashCode1 = (31 * var$14.$hashCode1 | 0) + var$14.$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$15 = var$14.$hashCode1; var$11 = var$3.$elementData.data; var$3 = var$11[var$15 & (var$11.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { c: { var$12 = var$3.$key; if (var$14 !== var$12) { if (var$14 === var$12) $var5 = 1; else if (!(var$12 instanceof jl_String)) $var5 = 0; else { var$12 = var$12; $var5 = var$14.$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break c; } } $var5 = 1; } if ($var5) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; var$3 = var$3.$copy(); if (var$14 !== null) var$3.$name = var$14; else var$3.$name = $rt_s(18); ju_HashMap_putImpl(var$9, var$14, var$3); } } $var5 = $var3.$getStack() === null ? 0 : ($var3.$getStack()).$stackSize; d: { var$3 = $this.$field_94077_p; switch ($this.$field_94071_C) { case 0: var$16 = $var4$stackSize / var$3.$backingMap.$elementCount; $var4$stackSize = var$16 | 0; if (var$16 < $var4$stackSize) $var4$stackSize = $var4$stackSize - 1 | 0; break d; case 1: $var4$stackSize = 1; break d; default: } } $var4$stackSize_0 = $var4$stackSize + $var5 | 0; nms_Item_$callClinit(); var$11 = nms_Item_itemsList.data; if ($var4$stackSize_0 > var$11[var$5].$maxStackSize) $var4$stackSize_0 = var$11[var$5].$maxStackSize; if ($var4$stackSize_0 > $var3.$getSlotStackLimit()) $var4$stackSize_0 = $var3.$getSlotStackLimit(); $this.$field_94069_F = $this.$field_94069_F - ($var4$stackSize_0 - $var5 | 0) | 0; } } } }, nms_GuiContainer_mouseClicked = ($this, $par1, $par2, $par3) => { let $var4, $var12, var$6, $var13, $var5, var$9, $var8, $var9, $var10, $var11, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();$var5 = $thread.pop();$var13 = $thread.pop();var$6 = $thread.pop();$var12 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } $var4 = $par3 != ($this.$mc.$gameSettings.$keyBindPickBlock.$keyCode + 100 | 0) ? 0 : 1; $var12 = 0; a: { while (true) { var$6 = $this.$inventorySlots0.$inventorySlots; $var13 = $rt_compare($var12, var$6.$size0); if ($var13 >= 0) { $var5 = null; break a; } if ($var12 < 0) break; if ($var13 >= 0) break; $var5 = var$6.$array.data[$var12]; if (nms_GuiContainer_isPointInRegion($this, $var5.$xDisplayPosition, $var5.$yDisplayPosition, 16, 16, $par1, $par2)) break a; $var12 = $var12 + 1 | 0; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } nlea_EaglerAdapterImpl2_$callClinit(); var$9 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$field_94074_J = $this.$field_94072_H === $var5 && Long_lt(Long_sub(var$9, $this.$field_94070_G), Long_fromInt(250)) && $this.$field_94073_I == $par3 ? 1 : 0; $this.$field_94068_E = 0; if (!($par3 && $par3 != 1 && !$var4)) { $var8 = $this.$guiLeft; $var9 = $this.$guiTop; $var10 = $par1 >= $var8 && $par2 >= $var9 && $par1 < ($var8 + $this.$xSize | 0) && $par2 < ($var9 + $this.$ySize | 0) ? 0 : 1; $var11 = (-1); if ($var5 !== null) $var11 = $var5.$slotNumber; if ($var10) $var11 = (-999); var$14 = $this.$mc; var$15 = var$14.$gameSettings; $par2 = var$15.$touchscreen; if ($par2 && $var10 && var$14.$thePlayer.$inventory.$itemStack === null) { var$6 = null; $ptr = 2; continue main; } if ($var11 != (-1)) { if ($par2) { if ($var5 !== null && $var5.$getHasStack()) { $this.$clickedSlot = $var5; $this.$draggedStack = null; $this.$isRightMouseClick = $par3 != 1 ? 0 : 1; } else $this.$clickedSlot = null; } else if (!$this.$field_94076_q) { if (var$14.$thePlayer.$inventory.$itemStack === null) { if ($par3 == (var$15.$keyBindPickBlock.$keyCode + 100 | 0)) { $par1 = 3; $ptr = 3; continue main; } b: { c: { $par1 = $rt_compare($var11, (-999)); if ($par1) { if (nlea_EaglerAdapterImpl2_isKeyDown(42)) break c; if (nlea_EaglerAdapterImpl2_isKeyDown(54)) break c; } $var12 = 0; break b; } $var12 = 1; } $var13 = 0; if ($var12) { $this.$field_94075_K = $var5 !== null && $var5.$getHasStack() ? $var5.$getStack() : null; $var13 = 1; } else if (!$par1) $var13 = 4; $ptr = 4; continue main; } $this.$field_94076_q = 1; $this.$field_94067_D = $par3; var$6 = $this.$field_94077_p.$backingMap; if (var$6.$elementCount > 0) { var$6.$elementCount = 0; var$16 = var$6.$elementData.data; var$14 = null; $par1 = 0; $par2 = var$16.length; if ($par1 > $par2) { var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); $rt_throw(var$6); } while ($par1 < $par2) { $var12 = $par1 + 1 | 0; var$16[$par1] = var$14; $par1 = $var12; } var$6.$modCount0 = var$6.$modCount0 + 1 | 0; } if (!$par3) $this.$field_94071_C = 0; else if ($par3 == 1) $this.$field_94071_C = 1; } } } $this.$field_94072_H = $var5; $this.$field_94070_G = var$9; $this.$field_94073_I = $par3; return; case 2: nms_Minecraft_displayGuiScreen(var$14, var$6); if ($rt_suspending()) { break main; } return; case 3: $this.$handleMouseClick($var5, $var11, $par3, $par1); if ($rt_suspending()) { break main; } $this.$field_94068_E = 1; $this.$field_94072_H = $var5; $this.$field_94070_G = var$9; $this.$field_94073_I = $par3; return; case 4: $this.$handleMouseClick($var5, $var11, $par3, $var13); if ($rt_suspending()) { break main; } $this.$field_94068_E = 1; $this.$field_94072_H = $var5; $this.$field_94070_G = var$9; $this.$field_94073_I = $par3; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var12, var$6, $var13, $var5, var$9, $var8, $var9, $var10, $var11, var$14, var$15, var$16, $ptr); }, nms_GuiContainer_mouseMovedOrUp = ($this, $par1, $par2, $par3) => { let $var11$index, $var4, $var8, $var5, $var6, $var7, $var11, $var11$index_0, $var10, var$13, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();var$13 = $thread.pop();$var10 = $thread.pop();$var11$index_0 = $thread.pop();$var11 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var8 = $thread.pop();$var4 = $thread.pop();$var11$index = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var11$index = 0; a: { while (true) { $var4 = $this.$inventorySlots0.$inventorySlots; $var8 = $rt_compare($var11$index, $var4.$size0); if ($var8 >= 0) { $var4 = null; break a; } if ($var11$index < 0) break; if ($var8 >= 0) break; $var4 = $var4.$array.data[$var11$index]; if (nms_GuiContainer_isPointInRegion($this, $var4.$xDisplayPosition, $var4.$yDisplayPosition, 16, 16, $par1, $par2)) break a; $var11$index = $var11$index + 1 | 0; } $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } $var5 = $this.$guiLeft; $var6 = $this.$guiTop; $var7 = $par1 >= $var5 && $par2 >= $var6 && $par1 < ($var5 + $this.$xSize | 0) && $par2 < ($var6 + $this.$ySize | 0) ? 0 : 1; $var8 = (-1); if ($var4 !== null) $var8 = $var4.$slotNumber; if ($var7) $var8 = (-999); b: { if ($this.$field_94074_J && $var4 !== null && !$par3 && $this.$inventorySlots0.$func_94530_a(null, $var4)) { nms_GuiScreen_$callClinit(); if (!(!nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 0 : 1)) { $par1 = 6; $ptr = 2; continue main; } c: { if ($var4.$inventory0 !== null && $this.$field_94075_K !== null) { $var11 = $this.$inventorySlots0.$inventorySlots; $var11$index = 0; $par2 = $var11.$modCount; $var8 = $var11.$size(); while (true) { if (!($var11$index >= $var8 ? 0 : 1)) break c; if ($par2 < $var11.$modCount) break; $var11$index_0 = $var11$index + 1 | 0; $var10 = $var11.$get($var11$index); if ($var10 === null) { $var11$index = $var11$index_0; continue; } if (!$var10.$canTakeStack($this.$mc.$thePlayer)) { $var11$index = $var11$index_0; continue; } if (!$var10.$getHasStack()) { $var11$index = $var11$index_0; continue; } if ($var10.$inventory0 !== $var4.$inventory0) { $var11$index = $var11$index_0; continue; } if (nms_Container_func_94527_a($var10, $this.$field_94075_K, 1)) { $par1 = $var10.$slotNumber; $var11$index = 1; $ptr = 10; continue main; } $var11$index = $var11$index_0; } $var4 = new ju_ConcurrentModificationException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } } $this.$field_94074_J = 0; $this.$field_94070_G = Long_ZERO; } else { $var11$index = $this.$field_94076_q; if ($var11$index && $this.$field_94067_D != $par3) { $this.$field_94076_q = 0; $var4 = $this.$field_94077_p.$backingMap; if ($var4.$elementCount > 0) { $var4.$elementCount = 0; var$13 = $var4.$elementData.data; $var11 = null; $par1 = 0; $par2 = var$13.length; if ($par1 > $par2) { $var4 = new jl_IllegalArgumentException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var4); $rt_throw($var4); } while ($par1 < $par2) { $par3 = $par1 + 1 | 0; var$13[$par1] = $var11; $par1 = $par3; } $var4.$modCount0 = $var4.$modCount0 + 1 | 0; } $this.$field_94068_E = 1; return; } if ($this.$field_94068_E) { $this.$field_94068_E = 0; return; } $var11 = $this.$clickedSlot; if (!($var11 !== null && $this.$mc.$gameSettings.$touchscreen)) { if ($var11$index && !($this.$field_94077_p.$backingMap.$elementCount ? 0 : 1)) { $var4 = null; $par1 = (-999); $par3 = 0 | ($this.$field_94071_C & 3) << 2; $par2 = 5; $ptr = 3; continue main; } $var11 = $this.$mc; if ($var11.$thePlayer.$inventory.$itemStack === null) break b; if ($par3 == ($var11.$gameSettings.$keyBindPickBlock.$keyCode + 100 | 0)) { $par1 = 3; $ptr = 1; continue main; } d: { e: { if ($var8 != (-999)) { if (nlea_EaglerAdapterImpl2_isKeyDown(42)) break e; if (nlea_EaglerAdapterImpl2_isKeyDown(54)) break e; } $var9 = 0; break d; } $var9 = 1; } if ($var9) $this.$field_94075_K = $var4 !== null && $var4.$getHasStack() ? $var4.$getStack() : null; $par1 = !$var9 ? 0 : 1; $ptr = 9; continue main; } if (!($par3 && $par3 != 1)) { if ($this.$draggedStack === null && $var4 !== $var11) $this.$draggedStack = $var11.$getStack(); $var9 = nms_Container_func_94527_a($var4, $this.$draggedStack, 0); if ($var8 != (-1) && $this.$draggedStack !== null && $var9) { $var11 = $this.$clickedSlot; $var11$index = $var11.$slotNumber; $var11$index_0 = 0; $ptr = 4; continue main; } $var4 = $this.$draggedStack; if ($var4 !== null) { $this.$field_85049_r = $par1 - $var5 | 0; $this.$field_85048_s = $par2 - $var6 | 0; $this.$returningStackDestSlot = $this.$clickedSlot; $this.$returningStack = $var4; nlea_EaglerAdapterImpl2_$callClinit(); $this.$returningStackTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); } $this.$draggedStack = null; $this.$clickedSlot = null; } } } if ($this.$mc.$thePlayer.$inventory.$itemStack === null) $this.$field_94070_G = Long_ZERO; $this.$field_94076_q = 0; return; case 1: $this.$handleMouseClick($var4, $var8, $par3, $par1); if ($rt_suspending()) { break main; } if ($this.$mc.$thePlayer.$inventory.$itemStack === null) $this.$field_94070_G = Long_ZERO; $this.$field_94076_q = 0; return; case 2: $this.$handleMouseClick($var4, $var8, $par3, $par1); if ($rt_suspending()) { break main; } $this.$field_94074_J = 0; $this.$field_94070_G = Long_ZERO; if ($this.$mc.$thePlayer.$inventory.$itemStack === null) $this.$field_94070_G = Long_ZERO; $this.$field_94076_q = 0; return; case 3: $this.$handleMouseClick($var4, $par1, $par3, $par2); if ($rt_suspending()) { break main; } $var4 = $this.$field_94077_p.$backingMap; if ($var4.$cachedKeySet === null) { $var11 = new ju_HashMap$1; $var11.$this$0 = $var4; $var4.$cachedKeySet = $var11; } $var11 = $var4.$cachedKeySet.$iterator(); $par2 = 1; if (!$var11.$hasNext()) { $var4 = null; $par1 = (-999); $par3 = 2 | ($this.$field_94071_C & 3) << 2; $par2 = 5; $ptr = 6; continue main; } $var10 = $var11.$next(); $par1 = $var10.$slotNumber; $var11$index = $par2 | ($this.$field_94071_C & 3) << 2; $par3 = 5; $ptr = 7; continue main; case 4: $this.$handleMouseClick($var11, $var11$index, $par3, $var11$index_0); if ($rt_suspending()) { break main; } $var11$index = 0; $var11$index_0 = 0; $ptr = 5; case 5: $this.$handleMouseClick($var4, $var8, $var11$index, $var11$index_0); if ($rt_suspending()) { break main; } if ($this.$mc.$thePlayer.$inventory.$itemStack === null) { $this.$returningStack = null; $this.$draggedStack = null; $this.$clickedSlot = null; if ($this.$mc.$thePlayer.$inventory.$itemStack === null) $this.$field_94070_G = Long_ZERO; $this.$field_94076_q = 0; return; } $var4 = $this.$clickedSlot; $var11$index = $var4.$slotNumber; $var8 = 0; $ptr = 8; continue main; case 6: $this.$handleMouseClick($var4, $par1, $par3, $par2); if ($rt_suspending()) { break main; } if ($this.$mc.$thePlayer.$inventory.$itemStack === null) $this.$field_94070_G = Long_ZERO; $this.$field_94076_q = 0; return; case 7: $this.$handleMouseClick($var10, $par1, $var11$index, $par3); if ($rt_suspending()) { break main; } if (!$var11.$hasNext()) { $var4 = null; $par1 = (-999); $par3 = 2 | ($this.$field_94071_C & 3) << 2; $par2 = 5; $ptr = 6; continue main; } $var10 = $var11.$next(); $par1 = $var10.$slotNumber; $var11$index = $par2 | ($this.$field_94071_C & 3) << 2; $par3 = 5; continue main; case 8: $this.$handleMouseClick($var4, $var11$index, $par3, $var8); if ($rt_suspending()) { break main; } $this.$field_85049_r = $par1 - $var5 | 0; $this.$field_85048_s = $par2 - $var6 | 0; $this.$returningStackDestSlot = $this.$clickedSlot; $this.$returningStack = $this.$draggedStack; nlea_EaglerAdapterImpl2_$callClinit(); $this.$returningStackTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$draggedStack = null; $this.$clickedSlot = null; if ($this.$mc.$thePlayer.$inventory.$itemStack === null) $this.$field_94070_G = Long_ZERO; $this.$field_94076_q = 0; return; case 9: $this.$handleMouseClick($var4, $var8, $par3, $par1); if ($rt_suspending()) { break main; } if ($this.$mc.$thePlayer.$inventory.$itemStack === null) $this.$field_94070_G = Long_ZERO; $this.$field_94076_q = 0; return; case 10: $this.$handleMouseClick($var10, $par1, $par3, $var11$index); if ($rt_suspending()) { break main; } $var11$index = $var11$index_0; while (true) { if (!($var11$index >= $var8 ? 0 : 1)) { $this.$field_94074_J = 0; $this.$field_94070_G = Long_ZERO; if ($this.$mc.$thePlayer.$inventory.$itemStack === null) $this.$field_94070_G = Long_ZERO; $this.$field_94076_q = 0; return; } if ($par2 < $var11.$modCount) break; $var11$index_0 = $var11$index + 1 | 0; $var10 = $var11.$get($var11$index); if ($var10 === null) { $var11$index = $var11$index_0; continue; } if (!$var10.$canTakeStack($this.$mc.$thePlayer)) { $var11$index = $var11$index_0; continue; } if (!$var10.$getHasStack()) { $var11$index = $var11$index_0; continue; } if ($var10.$inventory0 !== $var4.$inventory0) { $var11$index = $var11$index_0; continue; } if (nms_Container_func_94527_a($var10, $this.$field_94075_K, 1)) { $par1 = $var10.$slotNumber; $var11$index = 1; continue main; } $var11$index = $var11$index_0; } $var4 = new ju_ConcurrentModificationException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var11$index, $var4, $var8, $var5, $var6, $var7, $var11, $var11$index_0, $var10, var$13, $var9, $ptr); }, nms_GuiContainer_isPointInRegion = ($this, $par1, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8; $var7 = $this.$guiLeft; $var8 = $this.$guiTop; $par5 = $par5 - $var7 | 0; $par6 = $par6 - $var8 | 0; return $par5 >= ($par1 - 1 | 0) && $par5 < (($par1 + $par3 | 0) + 1 | 0) && $par6 >= ($par2 - 1 | 0) && $par6 < (($par2 + $par4 | 0) + 1 | 0) ? 1 : 0; }, nms_GuiContainer_handleMouseClick = ($this, $par1Slot, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Slot = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1Slot !== null) $par2 = $par1Slot.$slotNumber; $par1Slot = $this.$mc; var$5 = $par1Slot.$playerController; var$6 = $this.$inventorySlots0.$windowId; $par1Slot = $par1Slot.$thePlayer; var$7 = $par1Slot.$openContainer; var$8 = (var$7.$transactionID + 1 | 0) << 16 >> 16; var$7.$transactionID = var$8; $ptr = 1; case 1: $tmp = nms_Container_slotClick(var$7, $par2, $par3, $par4, $par1Slot); if ($rt_suspending()) { break main; } $par1Slot = $tmp; var$5 = var$5.$netClientHandler; var$9 = new nms_Packet102WindowClick; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$9.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$9.$window_Id = var$6; var$9.$inventorySlot = $par2; var$9.$mouseClick = $par3; if ($par1Slot === null) var$10 = null; else { var$10 = new nms_ItemStack; $par2 = $par1Slot.$itemID; $par3 = $par1Slot.$stackSize; var$6 = $par1Slot.$itemDamage; nms_ItemStack_$callClinit(); var$10.$itemID = $par2; var$10.$stackSize = $par3; var$10.$itemDamage = var$6; if (var$6 < 0) var$10.$itemDamage = 0; var$11 = $par1Slot.$stackTagCompound; if (var$11 !== null) { var$12 = new nms_NBTTagCompound; $par1Slot = var$11.$name; if ($par1Slot === null) $par1Slot = $rt_s(18); var$12.$name = $par1Slot; $par1Slot = new ju_HashMap; ju_AbstractMap__init_($par1Slot); $par2 = ju_HashMap_calculateCapacity(16); $par1Slot.$elementCount = 0; $par1Slot.$elementData = ju_HashMap_newElementArray($par1Slot, $par2); $par1Slot.$loadFactor = 0.75; ju_HashMap_computeThreshold($par1Slot); var$12.$tagMap = $par1Slot; var$7 = var$11.$tagMap; if (var$7.$cachedKeySet === null) { $par1Slot = new ju_HashMap$1; $par1Slot.$this$0 = var$7; jl_Object__init_($par1Slot); var$7.$cachedKeySet = $par1Slot; } var$13 = var$7.$cachedKeySet.$iterator(); while (var$13.$hasNext()) { var$14 = var$13.$next(); $par1Slot = var$11.$tagMap; if (var$14 === null) { $par1Slot = $par1Slot.$elementData.data[0]; while ($par1Slot !== null && $par1Slot.$key !== null) { $par1Slot = $par1Slot.$next3; } } else { a: { if (!var$14.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$14.$nativeString.length) break a; var$14.$hashCode1 = (31 * var$14.$hashCode1 | 0) + var$14.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } var$6 = var$14.$hashCode1; var$15 = $par1Slot.$elementData.data; $par1Slot = var$15[var$6 & (var$15.length - 1 | 0)]; while ($par1Slot !== null) { if ($par1Slot.$origKeyHash == var$6) { var$7 = $par1Slot.$key; if (var$14 !== var$7 && !jl_String_equals(var$14, var$7) ? 0 : 1) break; } $par1Slot = $par1Slot.$next3; } } $par1Slot = $par1Slot === null ? null : $par1Slot.$value1; $par1Slot = $par1Slot.$copy(); var$7 = var$12.$tagMap; if (var$14 !== null) $par1Slot.$name = var$14; else $par1Slot.$name = $rt_s(18); ju_HashMap_putImpl(var$7, var$14, $par1Slot); } var$10.$stackTagCompound = var$12; } } var$9.$itemStack3 = var$10; var$9.$action2 = var$8; var$9.$holdingShift = $par4; if (!var$5.$disconnected) var$5.$netManager.$addToSendQueue(var$9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Slot, $par2, $par3, $par4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_GuiContainer_keyTyped = ($this, $par1, $par2) => { let var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par2 != 1 && $par2 != $this.$mc.$gameSettings.$keyBindInventory.$keyCode) { $ptr = 2; continue main; } var$3 = $this.$mc.$thePlayer; $ptr = 1; case 1: nms_EntityClientPlayerMP_closeScreen(var$3); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_GuiContainer_checkHotbarKeys($this, $par2); if ($rt_suspending()) { break main; } var$3 = $this.$theSlot; if (var$3 !== null && var$3.$getHasStack()) { var$3 = $this.$mc.$gameSettings; if ($par2 == var$3.$keyBindPickBlock.$keyCode) { var$3 = $this.$theSlot; $par1 = var$3.$slotNumber; $par2 = 0; var$4 = 3; $ptr = 3; continue main; } if ($par2 == var$3.$keyBindDrop.$keyCode) { var$3 = $this.$theSlot; $par2 = var$3.$slotNumber; nms_GuiScreen_$callClinit(); var$4 = !(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1) ? 0 : 1; $par1 = 4; $ptr = 4; continue main; } } return; case 3: $this.$handleMouseClick(var$3, $par1, $par2, var$4); if ($rt_suspending()) { break main; } return; case 4: $this.$handleMouseClick(var$3, $par2, var$4, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, $ptr); }, nms_GuiContainer_checkHotbarKeys = ($this, $par1) => { let var$2, $var2, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($this.$mc.$thePlayer.$inventory.$itemStack === null) { var$2 = $this.$theSlot; if (var$2 !== null) { $var2 = 0; while (true) { if ($var2 >= 9) break a; if ($par1 == (2 + $var2 | 0)) { var$4 = var$2.$slotNumber; $par1 = 2; $ptr = 1; continue main; } $var2 = $var2 + 1 | 0; } } } } return 0; case 1: $this.$handleMouseClick(var$2, var$4, $var2, $par1); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, $var2, var$4, $ptr); }, nms_GuiContainer_onGuiClosed = $this => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$mc.$thePlayer; if (var$1 === null) return; var$2 = $this.$inventorySlots0; $ptr = 1; case 1: var$2.$onContainerClosed(var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); }, nms_GuiContainer_doesGuiPauseGame = $this => { return 0; }, nms_GuiContainer_updateScreen = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { var$1 = $this.$mc.$thePlayer; if (!var$1.$isDead) { var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { var$6 = 1; break a; } } var$6 = 0; } if (var$6 && !$this.$mc.$thePlayer.$isDead) return; var$1 = $this.$mc.$thePlayer; $ptr = 1; case 1: nms_EntityClientPlayerMP_closeScreen(var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_GuiContainer__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1801); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiContainer_field_110408_a = var$1; nms_GuiContainer_itemRenderer = nms_RenderItem__init_(); }; function nms_InventoryEffectRenderer() { nms_GuiContainer.call(this); this.$field_74222_o = 0; } let nms_InventoryEffectRenderer_displayDebuffEffects = $this => { let $var1, $var2, var$3, var$4, $var5, $var6, var$7, var$8, var$9, var$10, $var7, $var8, $var11, var$14, var$15, var$16, var$17, var$18, var$19, $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var11 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $this.$guiLeft - 124 | 0; $var2 = $this.$guiTop; var$3 = $this.$mc.$thePlayer.$activePotionsMap; if (var$3.$cachedValues === null) { var$4 = new ju_HashMap$2; var$4.$this$01 = var$3; var$3.$cachedValues = var$4; } var$3 = var$3.$cachedValues; if (!(var$3.$size() ? 0 : 1)) { nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(2896); $var5 = 33; if (var$3.$size() > 5) $var5 = 132 / (var$3.$size() - 1 | 0) | 0; var$3 = $this.$mc.$thePlayer.$activePotionsMap; if (var$3.$cachedValues === null) { var$4 = new ju_HashMap$2; var$4.$this$01 = var$3; var$3.$cachedValues = var$4; } $var6 = var$3.$cachedValues.$iterator(); var$7 = $var1 + 6 | 0; var$8 = ($var1 + 10 | 0) + 18 | 0; var$9 = var$8 + 1 | 0; var$3 = $rt_s(1802); var$4 = $rt_s(1803); var$10 = $rt_s(1804); if ($var6.$hasNext()) { $var7 = $var6.$next(); nms_Potion_$callClinit(); $var8 = nms_Potion_potionTypes.data[$var7.$potionID]; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiContainer_$callClinit(); $var11 = nms_GuiContainer_field_110408_a; $ptr = 1; continue main; } } return; case 1: nle_TextureLocation_bindTexture($var11); if ($rt_suspending()) { break main; } nms_Gui_drawTexturedModalRect($this, $var1, $var2, 0, 166, 140, 32); var$14 = $var8.$statusIconIndex; if (var$14 < 0 ? 0 : 1) nms_Gui_drawTexturedModalRect($this, var$7, $var2 + 7 | 0, 0 + ((var$14 % 8 | 0) * 18 | 0) | 0, 198 + ((var$14 / 8 | 0) * 18 | 0) | 0, 18, 18); a: { $var11 = $var8.$name2; nms_StatCollector_$callClinit(); $var11 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $var11); var$14 = $var7.$amplifier; if (var$14 == 1) { $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); var$14 = $var8.$length0; if ($var11 === null) $var11 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, var$14, $var11); jl_AbstractStringBuilder_insert($var8, $var8.$length0, var$3); $var11 = new jl_String; var$15 = $var8.$buffer; var$16 = var$15.data; var$17 = $var8.$length0; var$18 = var$16.length; if (var$17 >= 0 && var$17 <= (var$18 - 0 | 0)) { $var11.$nativeString = $rt_charArrayToString(var$15.data, 0, var$17); break a; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } if (var$14 == 2) { $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); var$14 = $var8.$length0; if ($var11 === null) $var11 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, var$14, $var11); jl_AbstractStringBuilder_insert($var8, $var8.$length0, var$4); $var11 = new jl_String; var$15 = $var8.$buffer; var$16 = var$15.data; var$17 = $var8.$length0; var$18 = var$16.length; if (var$17 >= 0 && var$17 <= (var$18 - 0 | 0)) { $var11.$nativeString = $rt_charArrayToString(var$15.data, 0, var$17); break a; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } if (var$14 == 3) { $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); var$14 = $var8.$length0; if ($var11 === null) $var11 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, var$14, $var11); jl_AbstractStringBuilder_insert($var8, $var8.$length0, var$10); $var11 = new jl_String; var$15 = $var8.$buffer; var$16 = var$15.data; var$17 = $var8.$length0; var$18 = var$16.length; if (var$17 >= 0 && var$17 <= (var$18 - 0 | 0)) $var11.$nativeString = $rt_charArrayToString(var$15.data, 0, var$17); else { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } } } $var8 = $this.$fontRenderer; var$18 = $var2 + 6 | 0; var$19 = 16777215; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; var$14 = var$18 + 1 | 0; var$17 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($var8, $var11, var$9, var$14, var$19, var$17); if ($rt_suspending()) { break main; } var$17 = $tmp; var$14 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString($var8, $var11, var$8, var$18, var$19, var$14); if ($rt_suspending()) { break main; } var$14 = $tmp; $var10 = $var7.$isPotionDurationMax ? $rt_s(1805) : nms_StringUtils_ticksToElapsedTime($var7.$duration); $var8 = $this.$fontRenderer; var$18 = var$18 + 10 | 0; var$19 = 8355711; $var8.$randomStyle = 0; $var8.$boldStyle = 0; $var8.$italicStyle = 0; $var8.$underlineStyle = 0; $var8.$strikethroughStyle = 0; var$14 = var$18 + 1 | 0; var$17 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($var8, $var10, var$9, var$14, var$19, var$17); if ($rt_suspending()) { break main; } var$17 = $tmp; var$14 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString($var8, $var10, var$8, var$18, var$19, var$14); if ($rt_suspending()) { break main; } var$14 = $tmp; $var2 = $var2 + $var5 | 0; if (!$var6.$hasNext()) return; $var7 = $var6.$next(); nms_Potion_$callClinit(); $var8 = nms_Potion_potionTypes.data[$var7.$potionID]; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiContainer_$callClinit(); $var11 = nms_GuiContainer_field_110408_a; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, $var5, $var6, var$7, var$8, var$9, var$10, $var7, $var8, $var11, var$14, var$15, var$16, var$17, var$18, var$19, $var10, $ptr); }; function nms_GuiInventory() { let a = this; nms_InventoryEffectRenderer.call(a); a.$xSize_lo = 0.0; a.$ySize_lo = 0.0; } let nms_GuiInventory_updateScreen = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$mc; if (!(var$1.$playerController.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1)) return; var$2 = new nms_GuiContainerCreative; var$3 = var$1.$thePlayer; nms_GuiContainerCreative_$callClinit(); var$4 = nms_ContainerCreative__init_(var$3); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$5 = new ju_ArrayList; jl_Object__init_(var$5); var$5.$array = $rt_createArray(jl_Object, 10); var$2.$buttonList = var$5; var$2.$allowUserInput = 0; var$2.$selectedButton = null; var$2.$eventButton = 0; var$2.$field_85043_c = Long_ZERO; var$2.$field_92018_d = 0; var$2.$xSize = 176; var$2.$ySize = 166; var$5 = new ju_HashSet; var$6 = new ju_HashMap; jl_Object__init_(var$6); var$7 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$9 = var$8.data; var$6.$elementData = var$8; var$6.$loadFactor = 0.75; var$6.$threshold = var$9.length * 0.75 | 0; var$5.$backingMap = var$6; var$2.$field_94077_p = var$5; var$2.$inventorySlots0 = var$4; var$2.$field_94068_E = 1; var$3.$openContainer = var$4; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$3, nms_AchievementList_openInventory, 1); var$2.$ySize = 136; var$2.$xSize = 195; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_GuiInventory_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$buttonList; var$2 = var$1.$array; var$3 = 0; var$4 = var$1.$size0; var$5 = null; if (var$3 > var$4) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$3 < var$4) { var$6 = var$2.data; var$7 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$mc; if (!(var$1.$playerController.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1)) { var$1 = var$1.$thePlayer; var$1.$openContainer = $this.$inventorySlots0; $this.$guiLeft = ($this.$width - $this.$xSize | 0) / 2 | 0; $this.$guiTop = ($this.$height - $this.$ySize | 0) / 2 | 0; var$1 = var$1.$activePotionsMap; if (var$1.$cachedValues === null) { var$5 = new ju_HashMap$2; var$5.$this$01 = var$1; var$1.$cachedValues = var$5; } if (!(var$1.$cachedValues.$size() ? 0 : 1)) { $this.$guiLeft = 160 + ((($this.$width - $this.$xSize | 0) - 200 | 0) / 2 | 0) | 0; $this.$field_74222_o = 1; } return; } var$5 = new nms_GuiContainerCreative; var$8 = var$1.$thePlayer; nms_GuiContainerCreative_$callClinit(); var$9 = nms_ContainerCreative__init_(var$8); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$10 = new ju_ArrayList; jl_Object__init_(var$10); var$10.$array = $rt_createArray(jl_Object, 10); var$5.$buttonList = var$10; var$5.$allowUserInput = 0; var$5.$selectedButton = null; var$5.$eventButton = 0; var$5.$field_85043_c = Long_ZERO; var$5.$field_92018_d = 0; var$5.$xSize = 176; var$5.$ySize = 166; var$10 = new ju_HashSet; var$11 = new ju_HashMap; jl_Object__init_(var$11); var$3 = ju_HashMap_calculateCapacity(16); var$11.$elementCount = 0; var$2 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$6 = var$2.data; var$11.$elementData = var$2; var$11.$loadFactor = 0.75; var$11.$threshold = var$6.length * 0.75 | 0; var$10.$backingMap = var$11; var$5.$field_94077_p = var$10; var$5.$inventorySlots0 = var$9; var$5.$field_94068_E = 1; var$8.$openContainer = var$9; var$5.$allowUserInput = 1; nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$8, nms_AchievementList_openInventory, 1); var$5.$ySize = 136; var$5.$xSize = 195; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$1, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_GuiInventory_drawGuiContainerForegroundLayer = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1806)); $par1 = 86; $par2 = 16; var$5 = 4210752; var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; var$6 = 0; $ptr = 1; case 1: nms_FontRenderer_renderString(var$3, var$4, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, $ptr); }, nms_GuiInventory_drawScreen = ($this, $par1, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiContainer_drawScreen($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } if (!$this.$field_74222_o) { $this.$xSize_lo = $par1; $this.$ySize_lo = $par2; return; } $ptr = 2; case 2: nms_InventoryEffectRenderer_displayDebuffEffects($this); if ($rt_suspending()) { break main; } $this.$xSize_lo = $par1; $this.$ySize_lo = $par2; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $ptr); }, nms_GuiInventory_drawGuiContainerBackgroundLayer = ($this, $par1, $par2, $par3) => { let var$4, $var4, $var5, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiContainer_$callClinit(); var$4 = nms_GuiContainer_field_110408_a; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$4); if ($rt_suspending()) { break main; } $var4 = $this.$guiLeft; $var5 = $this.$guiTop; nms_Gui_drawTexturedModalRect($this, $var4, $var5, 0, 0, $this.$xSize, $this.$ySize); $par2 = $var4 + 51 | 0; $par3 = $var5 + 75 | 0; $var5 = 30; var$7 = $par2 - $this.$xSize_lo; $par1 = ($par3 - 50 | 0) - $this.$ySize_lo; var$4 = $this.$mc.$thePlayer; $ptr = 2; case 2: nms_GuiInventory_func_110423_a($par2, $par3, $var5, var$7, $par1, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, $var5, var$7, $ptr); }, nms_GuiInventory_func_110423_a = ($par0, $par1, $par2, $par3, $par4, $par5EntityLivingBase) => { let var$7, var$8, var$9, var$10, var$11, $var6, $var7, $var8, $var9, $var10, var$17, var$18, var$19, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$par0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_glPushMatrix(); var$7 = $par0; var$8 = $par1; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = var$7; var$9.$y = var$8; var$9.$z = 50.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$11 = -$par2 | 0; var$7 = $par2; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = var$11; var$9.$y = var$7; var$9.$z = var$7; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 0.0; var$9.$z = 1.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = $par5EntityLivingBase.$renderYawOffset; $var7 = $par5EntityLivingBase.$rotationYaw; $var8 = $par5EntityLivingBase.$rotationPitch; $var9 = $par5EntityLivingBase.$prevRotationYawHead; $var10 = $par5EntityLivingBase.$rotationYawHead; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.356194496154785, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glPushMatrix(); var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = (-1.0); var$9.$z = 1.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; jl_Object__init_(var$10); var$10.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$10); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-2.356194496154785), nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); var$10.$sb = var$9; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$17 = $par4 / 40.0; $par4 = -jl_Math_atan(var$17) * 20.0; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = 0.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par4 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$18 = $par3 / 40.0; $par5EntityLivingBase.$renderYawOffset = jl_Math_atan(var$18) * 20.0; $par5EntityLivingBase.$rotationYaw = jl_Math_atan(var$18) * 40.0; $par5EntityLivingBase.$rotationPitch = -jl_Math_atan(var$17) * 20.0; $par3 = $par5EntityLivingBase.$rotationYaw; $par5EntityLivingBase.$rotationYawHead = $par3; $par5EntityLivingBase.$prevRotationYawHead = $par3; $par4 = $par5EntityLivingBase.$yOffset; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = $par4; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nms_RenderManager_instance; var$9.$playerViewY = 180.0; var$19 = 0.0; var$17 = 0.0; var$18 = 0.0; $par3 = 0.0; $par4 = 1.0; a: { try { var$10 = nms_RenderManager_getEntityRenderObject(var$9, $par5EntityLivingBase); if (var$10 !== null && var$9.$renderEngine1 !== null) { if (nms_RenderManager_field_85095_o && !nms_Entity_isInvisible($par5EntityLivingBase)) nms_RenderManager_func_85094_b(var$9, $par5EntityLivingBase, var$19, var$17, var$18, $par3, $par4); $ptr = 1; continue main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } $par5EntityLivingBase.$renderYawOffset = $var6; $par5EntityLivingBase.$rotationYaw = $var7; $par5EntityLivingBase.$rotationPitch = $var8; $par5EntityLivingBase.$prevRotationYawHead = $var9; $par5EntityLivingBase.$rotationYawHead = $var10; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); return; case 1: try { var$10.$doRender($par5EntityLivingBase, var$19, var$17, var$18, $par3, $par4); if ($rt_suspending()) { break main; } $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } $par5EntityLivingBase.$renderYawOffset = $var6; $par5EntityLivingBase.$rotationYaw = $var7; $par5EntityLivingBase.$rotationPitch = $var8; $par5EntityLivingBase.$prevRotationYawHead = $var9; $par5EntityLivingBase.$rotationYawHead = $var10; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); return; case 2: b: { try { nms_Render_doRenderShadowAndFire(var$10, $par5EntityLivingBase, var$19, var$17, var$18, $par3, $par4); if ($rt_suspending()) { break main; } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } $par5EntityLivingBase.$renderYawOffset = $var6; $par5EntityLivingBase.$rotationYaw = $var7; $par5EntityLivingBase.$rotationPitch = $var8; $par5EntityLivingBase.$prevRotationYawHead = $var9; $par5EntityLivingBase.$rotationYawHead = $var10; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0, $par1, $par2, $par3, $par4, $par5EntityLivingBase, var$7, var$8, var$9, var$10, var$11, $var6, $var7, $var8, $var9, $var10, var$17, var$18, var$19, $ptr); }, nms_GuiInventory_actionPerformed = ($this, $par1GuiButton) => { let var$2; var$2 = $par1GuiButton.$id0; }; function nms_GuiChat() { let a = this; nms_GuiScreen.call(a); a.$field_73898_b = null; a.$sentHistoryCursor = 0; a.$field_73897_d = 0; a.$field_73905_m = 0; a.$field_73903_n = 0; a.$field_73904_o = null; a.$clickedURI = null; a.$inputField = null; a.$defaultInputFieldText = null; } let nms_GuiChat__init_0 = $this => { let var$1; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$buttonList = var$1; $this.$allowUserInput = 0; $this.$selectedButton = null; $this.$eventButton = 0; $this.$field_85043_c = Long_ZERO; $this.$field_92018_d = 0; $this.$field_73898_b = $rt_s(18); $this.$sentHistoryCursor = (-1); $this.$field_73897_d = 0; $this.$field_73905_m = 0; $this.$field_73903_n = 0; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$field_73904_o = var$1; $this.$clickedURI = null; $this.$defaultInputFieldText = $rt_s(18); }, nms_GuiChat__init_ = () => { let var_0 = new nms_GuiChat(); nms_GuiChat__init_0(var_0); return var_0; }, nms_GuiChat_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; var$1 = $this.$buttonList; var$2 = new nms_GuiButton; var$3 = $this.$width - 100 | 0; nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 69; var$2.$xPosition = var$3; var$2.$yPosition = 3; var$2.$width0 = 97; var$2.$height0 = 20; var$2.$displayString = $rt_s(1807); ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$4 = var$1.$array.data; var$5 = var$1.$size0; var$1.$size0 = var$5 + 1 | 0; var$4[var$5] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; $this.$sentHistoryCursor = $this.$mc.$ingameGUI.$persistantChatGUI.$sentMessages.$size0; var$2 = nms_GuiTextField__init_($this.$fontRenderer, 4, $this.$height - 12 | 0, $this.$width - 4 | 0, 12); $this.$inputField = var$2; var$2.$maxStringLength = 100; if (var$2.$text.$nativeString.length > 100) var$2.$text = jl_String_substring(var$2.$text, 0, 100); var$2 = $this.$inputField; var$2.$enableBackgroundDrawing = 0; if (!var$2.$isFocused0) var$2.$cursorCounter = 0; var$2.$isFocused0 = 1; var$6 = $this.$defaultInputFieldText; var$7 = var$6.$nativeString.length; var$5 = var$2.$maxStringLength; if (var$7 <= var$5) var$2.$text = var$6; else var$2.$text = jl_String_substring(var$6, 0, var$5); var$2.$cursorPosition = var$2.$text.$nativeString.length; var$5 = var$2.$text.$nativeString.length; if (var$2.$cursorPosition < 0) var$2.$cursorPosition = 0; if (var$2.$cursorPosition > var$5) var$2.$cursorPosition = var$5; nms_GuiTextField_setSelectionPos(var$2, var$2.$cursorPosition); $this.$inputField.$canLoseFocus = 0; }, nms_GuiChat_actionPerformed = ($this, $par1GuiButton) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$id0 != 69) return; $par1GuiButton = $this.$mc; var$2 = null; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $ptr); }, nms_GuiChat_onGuiClosed = $this => { let var$1; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; var$1 = $this.$mc.$ingameGUI.$persistantChatGUI; var$1.$field_73768_d = 0; var$1.$field_73769_e = 0; }, nms_GuiChat_updateScreen = $this => { let var$1; var$1 = $this.$inputField; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; }, nms_GuiChat_keyTyped = ($this, $par1, $par2) => { let $var3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$field_73905_m = 0; if ($par2 == 15) nms_GuiChat_completePlayerName($this); else $this.$field_73897_d = 0; if ($par2 == 1) { $var3 = $this.$mc; var$4 = null; $ptr = 1; continue main; } if ($par2 != 28) { if ($par2 == 200) nms_GuiChat_getSentHistory($this, (-1)); else if ($par2 == 208) nms_GuiChat_getSentHistory($this, 1); else if ($par2 == 201) { $var3 = $this.$mc.$ingameGUI.$persistantChatGUI; var$4 = $var3.$mc7; var$5 = (!(var$4.$currentScreen instanceof nms_GuiChat) ? var$4.$gameSettings.$chatHeightUnfocused : var$4.$gameSettings.$chatHeightFocused) * 160.0 + 20.0; $par2 = var$5 | 0; if (var$5 < $par2) $par2 = $par2 - 1 | 0; nms_GuiNewChat_scroll($var3, ($par2 / 9 | 0) - 1 | 0); } else { if ($par2 != 209) { $var3 = $this.$inputField; $ptr = 3; continue main; } $var3 = $this.$mc.$ingameGUI.$persistantChatGUI; var$4 = $var3.$mc7; var$5 = (!(var$4.$currentScreen instanceof nms_GuiChat) ? var$4.$gameSettings.$chatHeightUnfocused : var$4.$gameSettings.$chatHeightFocused) * 160.0 + 20.0; $par2 = var$5 | 0; if (var$5 < $par2) $par2 = $par2 - 1 | 0; nms_GuiNewChat_scroll($var3, ( -($par2 / 9 | 0) | 0) + 1 | 0); } return; } $var3 = jl_String_trim($this.$inputField.$text); if ($var3.$nativeString.length > 0) { var$6 = $this.$mc.$ingameGUI.$persistantChatGUI; var$4 = var$6.$sentMessages; $par2 = var$4.$size0; $par1 = $par2 ? 0 : 1; a: { b: { if (!$par1) { $par1 = $par2 - 1 | 0; if ($par1 >= 0 && $par1 < $par2) { var$4 = var$4.$array.data[$par1]; if (var$4 === $var3) $par1 = 1; else if (!($var3 instanceof jl_String)) $par1 = 0; else { var$7 = $var3; $par1 = var$4.$nativeString !== var$7.$nativeString ? 0 : 1; } if ($par1) break a; else break b; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } } var$4 = var$6.$sentMessages; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$8 = var$4.$array.data; $par2 = var$4.$size0; var$4.$size0 = $par2 + 1 | 0; var$8[$par2] = $var3; var$4.$modCount = var$4.$modCount + 1 | 0; } var$7 = $this.$mc.$thePlayer.$sendQueue; var$4 = new nms_Packet3Chat; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$isServer = 1; var$9 = $var3.$nativeString.length; $par2 = nms_Packet3Chat_maxChatLength; if (var$9 > $par2) $var3 = jl_String_substring($var3, 0, $par2); var$4.$message1 = $var3; var$4.$isServer = 1; if (!var$7.$disconnected) var$7.$netManager.$addToSendQueue(var$4); } $var3 = $this.$mc; var$4 = null; $ptr = 2; continue main; case 1: nms_Minecraft_displayGuiScreen($var3, var$4); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($var3, var$4); if ($rt_suspending()) { break main; } return; case 3: nms_GuiTextField_textboxKeyTyped($var3, $par1, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_GuiChat_handleMouseInput = $this => { let $var1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_handleMouseInput($this); if ($rt_suspending()) { break main; } $var1 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var1) { if ($var1 > 1) $var1 = 1; if ($var1 < (-1)) $var1 = (-1); if (!(!nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 0 : 1)) $var1 = $var1 * 7 | 0; nms_GuiNewChat_scroll($this.$mc.$ingameGUI.$persistantChatGUI, $var1); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $ptr); }, nms_GuiChat_mouseClicked = ($this, $par1, $par2, $par3) => { let $var4, $var5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par3) { $var4 = $this.$mc; if ($var4.$gameSettings.$chatLinks) { $var4 = $var4.$ingameGUI.$persistantChatGUI; nlea_EaglerAdapterImpl2_$callClinit(); $var4 = nms_GuiNewChat_func_73766_a($var4, nlea_EaglerAdapterImpl2_mouseX, nlea_EaglerAdapterImpl2_mouseY); if ($var4 !== null) { $var5 = nms_ChatClickData_getURI($var4); if ($var5 !== null) { $var4 = $this.$mc; if (!$var4.$gameSettings.$chatLinksPrompt) { nleat_SelfDefence_ignoreNextWindow = 1; window.open($rt_ustr($var5), "_blank"); return; } $this.$clickedURI = $var5; var$6 = nms_GuiConfirmOpenLink__init_0($this, $var5, 0, 0); $ptr = 2; continue main; } } } } nms_GuiTextField_mouseClicked($this.$inputField, $par1, $par2, $par3); $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($var4, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var5, var$6, $ptr); }, nms_GuiChat_confirmClicked = ($this, $par1, $par2) => { let var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par2) return; if ($par1) { var$3 = $this.$clickedURI; nlea_EaglerAdapterImpl2_$callClinit(); nleat_SelfDefence_ignoreNextWindow = 1; window.open($rt_ustr(var$3), "_blank"); } $this.$clickedURI = null; var$3 = $this.$mc; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$3, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, $ptr); }, nms_GuiChat_completePlayerName = $this => { let $var3, $var1, var$3, $var5$index, var$5, $var4, var$7, var$8, $var3_0, $var5$index_0, var$11; if ($this.$field_73897_d) { $var3 = $this.$inputField; nms_GuiTextField_deleteFromCursor($var3, nms_GuiTextField_func_73798_a($var3, (-1), $var3.$cursorPosition, 0) - $this.$inputField.$cursorPosition | 0); if ($this.$field_73903_n >= $this.$field_73904_o.$size0) $this.$field_73903_n = 0; } else { $var3 = $this.$inputField; $var1 = nms_GuiTextField_func_73798_a($var3, (-1), $var3.$cursorPosition, 0); $var3 = $this.$field_73904_o; var$3 = $var3.$array; $var5$index = 0; var$5 = $var3.$size0; $var4 = null; if ($var5$index > var$5) { $var3 = new jl_IllegalArgumentException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } while ($var5$index < var$5) { var$7 = var$3.data; var$8 = $var5$index + 1 | 0; var$7[$var5$index] = $var4; $var5$index = var$8; } $var3.$size0 = 0; $var3.$modCount = $var3.$modCount + 1 | 0; $this.$field_73903_n = 0; $var3 = $this.$inputField.$text; $var4 = jl_String_substring($var3, $var1, $var3.$nativeString.length); $var3 = $var4.$nativeString.toLowerCase(); if ($var3 !== $var4.$nativeString) jl_String__init_1(new jl_String, $var3); $var3 = $this.$inputField; $var3 = jl_String_substring($var3.$text, 0, $var3.$cursorPosition); if ($var3.$nativeString.length >= 1) { $var4 = $this.$mc.$thePlayer.$sendQueue; $var3_0 = new nms_Packet203AutoComplete; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var3_0.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var3_0.$text2 = $var3; if (!$var4.$disconnected) $var4.$netManager.$addToSendQueue($var3_0); $this.$field_73905_m = 1; } if ($this.$field_73904_o.$size0 ? 0 : 1) return; $this.$field_73897_d = 1; $var3 = $this.$inputField; nms_GuiTextField_deleteFromCursor($var3, $var1 - $var3.$cursorPosition | 0); } a: { $var3 = $this.$field_73904_o; if ($var3.$size0 > 1) { $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); $var5$index_0 = 0; var$5 = $var3.$modCount; var$8 = $var3.$size(); while (true) { if (!($var5$index_0 >= var$8 ? 0 : 1)) { var$11 = $this.$mc.$ingameGUI.$persistantChatGUI; $var3_0 = new jl_String; var$3 = $var4.$buffer; var$7 = var$3.data; $var5$index = $var4.$length0; var$5 = var$7.length; if ($var5$index >= 0 && $var5$index <= (var$5 - 0 | 0)) { $var3_0.$nativeString = $rt_charArrayToString(var$3.data, 0, $var5$index); nms_GuiNewChat_func_96129_a(var$11, $var3_0, 1, var$11.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $var3 = new otcic_JSStdoutPrintStream; $var4 = new ji_ByteArrayOutputStream; $var4.$buf = $rt_createByteArray(32); jl_Object__init_($var3); $var3.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var4, 16); $var3.$sb = $var4; $var3.$buffer0 = $rt_createCharArray(32); $var3.$autoFlush = 0; $var3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var3; } $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $var3_0); $var4 = new jl_String; var$3 = $var3.$buffer; var$7 = var$3.data; var$5 = $var3.$length0; $var5$index = var$7.length; if (var$5 >= 0 && var$5 <= ($var5$index - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$3.data, 0, var$5); $rt_putStdout($rt_ustr($var4)); $rt_putStdout("\n"); break a; } $var3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } if (var$5 < $var3.$modCount) break; $var5$index = $var5$index_0 + 1 | 0; $var3_0 = $var3.$get($var5$index_0); $var1 = $var4.$length0; if ($var1 > 0) jl_AbstractStringBuilder_insert($var4, $var1, $rt_s(25)); jl_AbstractStringBuilder_insert($var4, $var4.$length0, $var3_0); $var5$index_0 = $var5$index; } $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } } $var3 = $this.$inputField; $var4 = $this.$field_73904_o; $var5$index = $this.$field_73903_n; $this.$field_73903_n = $var5$index + 1 | 0; if ($var5$index >= 0 && $var5$index < $var4.$size0) { nms_GuiTextField_writeText($var3, $var4.$array.data[$var5$index]); return; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); }, nms_GuiChat_getSentHistory = ($this, $par1) => { let var$2, $var2, var$4, $var3, var$6; var$2 = $this.$sentHistoryCursor; $var2 = var$2 + $par1 | 0; var$4 = $this.$mc.$ingameGUI.$persistantChatGUI.$sentMessages; $var3 = var$4.$size0; if ($var2 < 0) $var2 = 0; if ($var2 > $var3) $var2 = $var3; if ($var2 != var$2) { $par1 = $rt_compare($var2, $var3); if (!$par1) { $this.$sentHistoryCursor = $var3; var$6 = $this.$inputField; var$4 = $this.$field_73898_b; $par1 = var$4.$nativeString.length; var$2 = var$6.$maxStringLength; if ($par1 <= var$2) var$6.$text = var$4; else var$6.$text = jl_String_substring(var$4, 0, var$2); var$6.$cursorPosition = var$6.$text.$nativeString.length; var$2 = var$6.$text.$nativeString.length; if (var$6.$cursorPosition < 0) var$6.$cursorPosition = 0; if (var$6.$cursorPosition > var$2) var$6.$cursorPosition = var$2; nms_GuiTextField_setSelectionPos(var$6, var$6.$cursorPosition); } else { if (var$2 == $var3) $this.$field_73898_b = $this.$inputField.$text; var$6 = $this.$inputField; if ($var2 >= 0 && $par1 < 0) { var$4 = var$4.$array.data[$var2]; var$2 = var$4.$nativeString.length; $par1 = var$6.$maxStringLength; if (var$2 <= $par1) var$6.$text = var$4; else var$6.$text = jl_String_substring(var$4, 0, $par1); var$6.$cursorPosition = var$6.$text.$nativeString.length; var$2 = var$6.$text.$nativeString.length; if (var$6.$cursorPosition < 0) var$6.$cursorPosition = 0; if (var$6.$cursorPosition > var$2) var$6.$cursorPosition = var$2; nms_GuiTextField_setSelectionPos(var$6, var$6.$cursorPosition); $this.$sentHistoryCursor = $var2; } else { var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } } } }, nms_GuiChat_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $this.$height; nms_Gui_drawRect(2, var$4 - 14 | 0, $this.$width - 2 | 0, var$4 - 2 | 0, (-2147483648)); var$5 = $this.$inputField; $ptr = 1; case 1: nms_GuiTextField_drawTextBox(var$5); if ($rt_suspending()) { break main; } var$6 = 0; var$5 = $this.$buttonList; var$7 = $rt_compare(var$6, var$5.$size0); if (var$7 >= 0) return; if (var$6 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[var$6]; var$8 = $this.$mc; $ptr = 2; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 2: var$5.$drawButton(var$8, $par1, $par2); if ($rt_suspending()) { break main; } var$6 = var$6 + 1 | 0; var$5 = $this.$buttonList; var$7 = $rt_compare(var$6, var$5.$size0); if (var$7 >= 0) return; if (var$6 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[var$6]; var$8 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_GuiChat_func_73894_a = ($this, $par1ArrayOfStr) => { let var$2, var$3, $var3, var$5, $var5, var$7, var$8, $var4; if ($this.$field_73905_m) { var$2 = $this.$field_73904_o; var$3 = var$2.$array; $var3 = 0; var$5 = var$2.$size0; $var5 = null; if ($var3 > var$5) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while ($var3 < var$5) { var$7 = var$3.data; var$8 = $var3 + 1 | 0; var$7[$var3] = $var5; $var3 = var$8; } $par1ArrayOfStr = $par1ArrayOfStr.data; var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; $var3 = $par1ArrayOfStr.length; $var4 = 0; while ($var4 < $var3) { $var5 = $par1ArrayOfStr[$var4]; if ($var5.$nativeString.length > 0) { var$2 = $this.$field_73904_o; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$3[var$8] = $var5; var$2.$modCount = var$2.$modCount + 1 | 0; } $var4 = $var4 + 1 | 0; } if ($this.$field_73904_o.$size0 > 0) { $this.$field_73897_d = 1; nms_GuiChat_completePlayerName($this); } } }, nms_GuiChat_doesGuiPauseGame = $this => { return 0; }; function nms_WorldClient() { let a = this; nms_World.call(a); a.$sendQueue0 = null; a.$clientChunkProvider = null; a.$entityHashSet = null; a.$entityList = null; a.$entitySpawnQueue = null; a.$mc2 = null; a.$previousActiveChunkSet = null; } let nms_WorldClient__init_ = ($this, $par1NetClientHandler, $par2WorldSettings, $par3, $par4) => { let var$5, var$6, var$7, var$8; var$5 = null; if ($par3 == (-1)) { var$6 = new nms_WorldProviderHell; var$6.$lightBrightnessTable = $rt_createFloatArray(16); var$6.$colorsSunriseSunset = $rt_createFloatArray(4); } else if (!$par3) { var$6 = new nms_WorldProviderSurface; var$6.$lightBrightnessTable = $rt_createFloatArray(16); var$6.$colorsSunriseSunset = $rt_createFloatArray(4); } else if ($par3 != 1) var$6 = null; else { var$6 = new nms_WorldProviderEnd; var$6.$lightBrightnessTable = $rt_createFloatArray(16); var$6.$colorsSunriseSunset = $rt_createFloatArray(4); } nms_World__init_($this, var$5, $rt_s(1808), var$6, $par2WorldSettings); $this.$entityHashSet = nms_IntHashMap__init_(); $par2WorldSettings = new ju_HashSet; var$6 = new ju_HashMap; $par3 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, $par3); var$8 = var$7.data; var$6.$elementData = var$7; var$6.$loadFactor = 0.75; var$6.$threshold = var$8.length * 0.75 | 0; $par2WorldSettings.$backingMap = var$6; $this.$entityList = $par2WorldSettings; $par2WorldSettings = new ju_HashSet; var$6 = new ju_HashMap; $par3 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, $par3); var$8 = var$7.data; var$6.$elementData = var$7; var$6.$loadFactor = 0.75; var$6.$threshold = var$8.length * 0.75 | 0; $par2WorldSettings.$backingMap = var$6; $this.$entitySpawnQueue = $par2WorldSettings; $this.$mc2 = nms_Minecraft_theMinecraft; $par2WorldSettings = new ju_HashSet; var$6 = new ju_HashMap; $par3 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, $par3); var$8 = var$7.data; var$6.$elementData = var$7; var$6.$loadFactor = 0.75; var$6.$threshold = var$8.length * 0.75 | 0; $par2WorldSettings.$backingMap = var$6; $this.$previousActiveChunkSet = $par2WorldSettings; $this.$sendQueue0 = $par1NetClientHandler; $this.$difficultySetting = $par4; $par2WorldSettings = $this.$worldInfo; $par2WorldSettings.$spawnX = 8; $par2WorldSettings.$spawnY = 64; $par2WorldSettings.$spawnZ = 8; $this.$mapStorage = $par1NetClientHandler.$mapStorage0; }, nms_WorldClient__init_0 = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_WorldClient(); nms_WorldClient__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_WorldClient_tick = $this => { let $var2, var$2, $var1, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var1 = $thread.pop();var$2 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_WorldClient_updateWeather($this); $var2 = $this.$worldInfo; $var2.$totalTime = Long_add($var2.$totalTime, Long_fromInt(1)); var$2 = $var2.$theGameRules0.$theGameRules.$root; jl_String_compareTo($rt_s(1809), $rt_s(1809)); $var2 = $rt_s(1809); a: { while (true) { if (var$2 === null) { var$2 = null; break a; } $var1 = jl_String_compareTo($var2, var$2.$key0); if (!$var1) break; var$2 = $var1 >= 0 ? var$2.$right : var$2.$left; } } $var2 = var$2 === null ? null : var$2.$value4; if ($var2 === null ? 0 : $var2.$valueBoolean) { $var2 = $this.$worldInfo; var$4 = Long_add($var2.$worldTime, Long_fromInt(1)); if (Long_ge(var$4, Long_ZERO)) { var$2 = $var2.$theGameRules0; var$5 = var$2.$theGameRules.$root; $var2 = $rt_s(1809); jl_String_compareTo($var2, $rt_s(1809)); var$6 = $rt_s(1809); b: { while (true) { if (var$5 === null) { var$5 = null; break b; } $var1 = jl_String_compareTo(var$6, var$5.$key0); if (!$var1) break; var$5 = $var1 >= 0 ? var$5.$right : var$5.$left; } } var$6 = var$5 === null ? null : var$5.$value4; if (var$6 !== null) { var$6.$valueString = $rt_s(70); $var2 = $rt_s(70).$nativeString.toLowerCase(); var$2 = $var2 === $rt_s(70).$nativeString ? $rt_s(70) : jl_String__init_($var2); if (var$2 === $rt_s(70)) $var1 = 1; else if (!($rt_s(70) instanceof jl_String)) $var1 = 0; else { $var2 = $rt_s(70); $var1 = var$2.$nativeString !== $var2.$nativeString ? 0 : 1; } var$6.$valueBoolean = !$var1 ? 0 : 1; c: { try { var$6.$valueInteger = jl_Integer_parseInt($rt_s(70)); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } d: { try { var$6.$valueDouble = jl_Double_parseDouble($rt_s(70)); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } } else { var$6 = var$2.$theGameRules; var$2 = new nms_GameRuleValue; var$2.$valueString = $rt_s(70); var$5 = $rt_s(70).$nativeString.toLowerCase(); var$7 = var$5 === $rt_s(70).$nativeString ? $rt_s(70) : jl_String__init_(var$5); if (var$7 === $rt_s(70)) $var1 = 1; else if (!($rt_s(70) instanceof jl_String)) $var1 = 0; else { var$5 = $rt_s(70); $var1 = var$7.$nativeString !== var$5.$nativeString ? 0 : 1; } var$2.$valueBoolean = !$var1 ? 0 : 1; e: { try { var$2.$valueInteger = jl_Integer_parseInt($rt_s(70)); break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } f: { try { var$2.$valueDouble = jl_Double_parseDouble($rt_s(70)); break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } var$8 = var$6.$root; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; var$5 = null; var$8.$key0 = $rt_s(1809); var$8.$value4 = var$5; var$8.$height1 = 1; var$8.$size1 = 1; } else { $var1 = jl_String_compareTo($var2, var$8.$key0); if ($var1) { if ($var1 >= 0) { var$5 = var$8.$right; if (var$5 === null) { var$5 = new ju_TreeMap$TreeNode; var$7 = null; jl_Object__init_(var$5); var$5.$key0 = $rt_s(1809); var$5.$value4 = var$7; var$5.$height1 = 1; var$5.$size1 = 1; } else { $var1 = jl_String_compareTo($var2, var$5.$key0); if ($var1) { if ($var1 >= 0) { var$9 = var$5.$right; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $rt_s(1809), null); var$9.$height1 = 1; var$9.$size1 = 1; } else { $var1 = jl_String_compareTo($var2, var$9.$key0); if ($var1) { if ($var1 >= 0) { var$10 = var$9.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$6.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$10)); if ($var1) { if ($var1 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$6, var$10.$right, $rt_s(1809)); else var$10.$left = ju_TreeMap_getOrCreateNode(var$6, var$10.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$7 = var$9.$left; if (var$7 === null) var$7 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$6.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$7)); if ($var1) { if ($var1 >= 0) var$7.$right = ju_TreeMap_getOrCreateNode(var$6, var$7.$right, $rt_s(1809)); else var$7.$left = ju_TreeMap_getOrCreateNode(var$6, var$7.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$9.$left = var$7; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$5.$right = var$9; } else { var$7 = var$5.$left; if (var$7 === null) { var$7 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$7, $rt_s(1809), null); var$7.$height1 = 1; var$7.$size1 = 1; } else { $var1 = jl_String_compareTo($var2, var$7.$key0); if ($var1) { if ($var1 >= 0) { var$9 = var$7.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$6.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($var1) { if ($var1 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$6, var$9.$right, $rt_s(1809)); else var$9.$left = ju_TreeMap_getOrCreateNode(var$6, var$9.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$7.$right = var$9; } else { var$9 = var$7.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$6.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($var1) { if ($var1 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$6, var$9.$right, $rt_s(1809)); else var$9.$left = ju_TreeMap_getOrCreateNode(var$6, var$9.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$7.$left = var$9; } ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$5.$left = var$7; } ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$8.$right = var$5; } else { var$5 = var$8.$left; if (var$5 === null) { var$5 = new ju_TreeMap$TreeNode; var$7 = null; jl_Object__init_(var$5); var$5.$key0 = $rt_s(1809); var$5.$value4 = var$7; var$5.$height1 = 1; var$5.$size1 = 1; } else { $var1 = jl_String_compareTo($var2, var$5.$key0); if ($var1) { if ($var1 >= 0) { var$11 = var$5.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(1809), null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $var1 = jl_String_compareTo($var2, var$11.$key0); if ($var1) { if ($var1 >= 0) { var$7 = var$11.$right; if (var$7 === null) var$7 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$6.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$7)); if ($var1) { if ($var1 >= 0) var$7.$right = ju_TreeMap_getOrCreateNode(var$6, var$7.$right, $rt_s(1809)); else var$7.$left = ju_TreeMap_getOrCreateNode(var$6, var$7.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$11.$right = var$7; } else { var$7 = var$11.$left; if (var$7 === null) var$7 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$6.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$7)); if ($var1) { if ($var1 >= 0) var$7.$right = ju_TreeMap_getOrCreateNode(var$6, var$7.$right, $rt_s(1809)); else var$7.$left = ju_TreeMap_getOrCreateNode(var$6, var$7.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$11.$left = var$7; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$5.$right = var$11; } else { var$9 = var$5.$left; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $rt_s(1809), null); var$9.$height1 = 1; var$9.$size1 = 1; } else { $var1 = jl_String_compareTo($var2, var$9.$key0); if ($var1) { if ($var1 >= 0) { var$10 = var$9.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$6.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$10)); if ($var1) { if ($var1 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$6, var$10.$right, $rt_s(1809)); else var$10.$left = ju_TreeMap_getOrCreateNode(var$6, var$10.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$7 = var$9.$left; if (var$7 === null) var$7 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$6.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$7)); if ($var1) { if ($var1 >= 0) var$7.$right = ju_TreeMap_getOrCreateNode(var$6, var$7.$right, $rt_s(1809)); else var$7.$left = ju_TreeMap_getOrCreateNode(var$6, var$7.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$9.$left = var$7; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$5.$left = var$9; } ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$8.$left = var$5; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$6.$root = var$8; jl_String_compareTo($var2, $rt_s(1809)); $var2 = $rt_s(1809); g: { while (true) { if (var$8 === null) { var$8 = null; break g; } $var1 = jl_String_compareTo($var2, var$8.$key0); if (!$var1) break; var$8 = $var1 >= 0 ? var$8.$right : var$8.$left; } } var$8.$value4 = var$2; var$8.$value4 = var$2; var$6.$modCount2 = var$6.$modCount2 + 1 | 0; } } else { var$4 = Long_neg(var$4); var$5 = $var2.$theGameRules0; var$12 = var$5.$theGameRules.$root; var$11 = $rt_s(1809); jl_String_compareTo(var$11, $rt_s(1809)); $var2 = $rt_s(1809); h: { while (true) { if (var$12 === null) { var$12 = null; break h; } $var1 = jl_String_compareTo($var2, var$12.$key0); if (!$var1) break; var$12 = $var1 >= 0 ? var$12.$right : var$12.$left; } } $var2 = var$12 === null ? null : var$12.$value4; if ($var2 !== null) { $var2.$valueString = $rt_s(69); var$2 = $rt_s(69).$nativeString.toLowerCase(); var$12 = var$2 === $rt_s(69).$nativeString ? $rt_s(69) : jl_String__init_(var$2); if (var$12 === $rt_s(70)) $var1 = 1; else if (!($rt_s(70) instanceof jl_String)) $var1 = 0; else { var$2 = $rt_s(70); $var1 = var$12.$nativeString !== var$2.$nativeString ? 0 : 1; } $var2.$valueBoolean = !$var1 ? 0 : 1; i: { try { $var2.$valueInteger = jl_Integer_parseInt($rt_s(69)); break i; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } j: { try { $var2.$valueDouble = jl_Double_parseDouble($rt_s(69)); break j; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } } else { var$8 = var$5.$theGameRules; var$12 = new nms_GameRuleValue; var$12.$valueString = $rt_s(69); $var2 = $rt_s(69).$nativeString.toLowerCase(); var$5 = $var2 === $rt_s(69).$nativeString ? $rt_s(69) : jl_String__init_($var2); if (var$5 === $rt_s(70)) $var1 = 1; else if (!($rt_s(70) instanceof jl_String)) $var1 = 0; else { $var2 = $rt_s(70); $var1 = var$5.$nativeString !== $var2.$nativeString ? 0 : 1; } var$12.$valueBoolean = !$var1 ? 0 : 1; k: { try { var$12.$valueInteger = jl_Integer_parseInt($rt_s(69)); break k; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } l: { try { var$12.$valueDouble = jl_Double_parseDouble($rt_s(69)); break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } var$6 = var$8.$root; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; $var2 = null; var$6.$key0 = $rt_s(1809); var$6.$value4 = $var2; var$6.$height1 = 1; var$6.$size1 = 1; } else { $var1 = jl_String_compareTo(var$11, var$6.$key0); if ($var1) { if ($var1 >= 0) { $var2 = var$6.$right; if ($var2 === null) { $var2 = new ju_TreeMap$TreeNode; var$5 = null; jl_Object__init_($var2); $var2.$key0 = $rt_s(1809); $var2.$value4 = var$5; $var2.$height1 = 1; $var2.$size1 = 1; } else { $var1 = jl_String_compareTo(var$11, $var2.$key0); if ($var1) { if ($var1 >= 0) { var$5 = $var2.$right; if (var$5 === null) { var$5 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$5, $rt_s(1809), null); var$5.$height1 = 1; var$5.$size1 = 1; } else { $var1 = jl_String_compareTo(var$11, var$5.$key0); if ($var1) { if ($var1 >= 0) { var$7 = var$5.$right; if (var$7 === null) var$7 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$8.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$7)); if ($var1) { if ($var1 >= 0) var$7.$right = ju_TreeMap_getOrCreateNode(var$8, var$7.$right, $rt_s(1809)); else var$7.$left = ju_TreeMap_getOrCreateNode(var$8, var$7.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$5.$right = var$7; } else { var$7 = var$5.$left; if (var$7 === null) var$7 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$8.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$7)); if ($var1) { if ($var1 >= 0) var$7.$right = ju_TreeMap_getOrCreateNode(var$8, var$7.$right, $rt_s(1809)); else var$7.$left = ju_TreeMap_getOrCreateNode(var$8, var$7.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$5.$left = var$7; } ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } $var2.$right = var$5; } else { var$5 = $var2.$left; if (var$5 === null) { var$5 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$5, $rt_s(1809), null); var$5.$height1 = 1; var$5.$size1 = 1; } else { $var1 = jl_String_compareTo(var$11, var$5.$key0); if ($var1) { if ($var1 >= 0) { var$7 = var$5.$right; if (var$7 === null) var$7 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$8.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$7)); if ($var1) { if ($var1 >= 0) var$7.$right = ju_TreeMap_getOrCreateNode(var$8, var$7.$right, $rt_s(1809)); else var$7.$left = ju_TreeMap_getOrCreateNode(var$8, var$7.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$5.$right = var$7; } else { var$7 = var$5.$left; if (var$7 === null) var$7 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$8.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$7)); if ($var1) { if ($var1 >= 0) var$7.$right = ju_TreeMap_getOrCreateNode(var$8, var$7.$right, $rt_s(1809)); else var$7.$left = ju_TreeMap_getOrCreateNode(var$8, var$7.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$5.$left = var$7; } ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } $var2.$left = var$5; } ju_TreeMap$TreeNode_fix($var2); $var2 = ju_TreeMap$TreeNode_balance($var2); } } var$6.$right = $var2; } else { $var2 = var$6.$left; if ($var2 === null) { $var2 = new ju_TreeMap$TreeNode; var$5 = null; jl_Object__init_($var2); $var2.$key0 = $rt_s(1809); $var2.$value4 = var$5; $var2.$height1 = 1; $var2.$size1 = 1; } else { $var1 = jl_String_compareTo(var$11, $var2.$key0); if ($var1) { if ($var1 >= 0) { var$5 = $var2.$right; if (var$5 === null) { var$5 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$5, $rt_s(1809), null); var$5.$height1 = 1; var$5.$size1 = 1; } else { $var1 = jl_String_compareTo(var$11, var$5.$key0); if ($var1) { if ($var1 >= 0) { var$7 = var$5.$right; if (var$7 === null) var$7 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$8.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$7)); if ($var1) { if ($var1 >= 0) var$7.$right = ju_TreeMap_getOrCreateNode(var$8, var$7.$right, $rt_s(1809)); else var$7.$left = ju_TreeMap_getOrCreateNode(var$8, var$7.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$5.$right = var$7; } else { var$7 = var$5.$left; if (var$7 === null) var$7 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$8.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$7)); if ($var1) { if ($var1 >= 0) var$7.$right = ju_TreeMap_getOrCreateNode(var$8, var$7.$right, $rt_s(1809)); else var$7.$left = ju_TreeMap_getOrCreateNode(var$8, var$7.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$5.$left = var$7; } ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } $var2.$right = var$5; } else { var$5 = $var2.$left; if (var$5 === null) { var$5 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$5, $rt_s(1809), null); var$5.$height1 = 1; var$5.$size1 = 1; } else { $var1 = jl_String_compareTo(var$11, var$5.$key0); if ($var1) { if ($var1 >= 0) { var$7 = var$5.$right; if (var$7 === null) var$7 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$8.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$7)); if ($var1) { if ($var1 >= 0) var$7.$right = ju_TreeMap_getOrCreateNode(var$8, var$7.$right, $rt_s(1809)); else var$7.$left = ju_TreeMap_getOrCreateNode(var$8, var$7.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$5.$right = var$7; } else { var$7 = var$5.$left; if (var$7 === null) var$7 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { $var1 = ju_Comparator$NaturalOrder_compare(var$8.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$7)); if ($var1) { if ($var1 >= 0) var$7.$right = ju_TreeMap_getOrCreateNode(var$8, var$7.$right, $rt_s(1809)); else var$7.$left = ju_TreeMap_getOrCreateNode(var$8, var$7.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$5.$left = var$7; } ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } $var2.$left = var$5; } ju_TreeMap$TreeNode_fix($var2); $var2 = ju_TreeMap$TreeNode_balance($var2); } } var$6.$left = $var2; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$8.$root = var$6; jl_String_compareTo(var$11, $rt_s(1809)); $var2 = $rt_s(1809); m: { while (true) { if (var$6 === null) { var$6 = null; break m; } $var1 = jl_String_compareTo($var2, var$6.$key0); if (!$var1) break; var$6 = $var1 >= 0 ? var$6.$right : var$6.$left; } } var$6.$value4 = var$12; var$6.$value4 = var$12; var$8.$modCount2 = var$8.$modCount2 + 1 | 0; } } $this.$worldInfo.$worldTime = var$4; } $var1 = 0; n: { o: while (true) { if ($var1 >= 10) break n; var$2 = $this.$entitySpawnQueue.$backingMap; if (var$2.$elementCount ? 0 : 1) break n; if (var$2.$cachedKeySet === null) { $var2 = new ju_HashMap$1; $var2.$this$0 = var$2; var$2.$cachedKeySet = $var2; } $var2 = (var$2.$cachedKeySet.$iterator()).$next(); var$2 = ju_HashMap_removeByKey($this.$entitySpawnQueue.$backingMap, $var2); var$2 = $this.$loadedEntityList; var$13 = var$2.$modCount; var$14 = var$2.$size(); var$15 = 0; p: { while (true) { if (!(var$15 >= var$14 ? 0 : 1)) { var$16 = 0; break p; } if (var$13 < var$2.$modCount) break o; var$17 = var$15 + 1 | 0; var$6 = var$2.$get(var$15); if (var$6 === $var2 ? 1 : var$6 !== null ? var$6.$equals($var2) : $var2 !== null ? 0 : 1) break; var$15 = var$17; } var$16 = 1; } if (!var$16) { var$16 = nms_World_spawnEntityInWorld($this, $var2); var$2 = $this.$entityList; ju_HashMap_putImpl(var$2.$backingMap, $var2, var$2); if (!var$16) { var$2 = $this.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, $var2, var$2); } } $var1 = $var1 + 1 | 0; } $var2 = new ju_ConcurrentModificationException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var2 = $this.$sendQueue0; $ptr = 1; case 1: nms_NetClientHandler_processReadPackets($var2); if ($rt_suspending()) { break main; } nms_WorldClient_tickBlocksAndAmbiance($this); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, var$2, $var1, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_WorldClient_tickBlocksAndAmbiance = $this => { let $var3, $var2, var$3, var$4, var$5, $var1, $var4, var$8, $var5, var$10, var$11; nms_World_setActivePlayerChunksAndCheckLight($this); $var3 = $this.$previousActiveChunkSet; $var2 = $this.$activeChunkSet; if ($var2 === null) { $var3 = new jl_NullPointerException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $var3.$message = $rt_s(18); $rt_throw($var3); } $var3 = $var3.$backingMap; if ($var3.$cachedKeySet === null) { var$3 = new ju_HashMap$1; var$3.$this$0 = $var3; $var3.$cachedKeySet = var$3; } var$3 = $var3.$cachedKeySet.$iterator(); while (var$3.$hasNext()) { if (!ju_HashSet_contains($var2, var$3.$next())) var$3.$remove0(); } $var2 = $this.$previousActiveChunkSet.$backingMap; var$4 = $var2.$elementCount; $var3 = $this.$activeChunkSet.$backingMap; if (var$4 == $var3.$elementCount && var$4 > 0) { $var2.$elementCount = 0; var$5 = $var2.$elementData.data; var$3 = null; $var1 = 0; var$4 = var$5.length; if ($var1 > var$4) { $var3 = new jl_IllegalArgumentException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } while ($var1 < var$4) { $var4 = $var1 + 1 | 0; var$5[$var1] = var$3; $var1 = $var4; } $var2.$modCount0 = $var2.$modCount0 + 1 | 0; } $var1 = 0; if ($var3.$cachedKeySet === null) { $var2 = new ju_HashMap$1; $var2.$this$0 = $var3; $var3.$cachedKeySet = $var2; } $var2 = $var3.$cachedKeySet.$iterator(); while ($var2.$hasNext()) { $var3 = $var2.$next(); if (!ju_HashSet_contains($this.$previousActiveChunkSet, $var3)) { var$4 = $var3.$chunkXPos; $var4 = var$4 * 16 | 0; var$8 = $var3.$chunkZPos; $var5 = var$8 * 16 | 0; var$3 = $this.$chunkProvider; var$10 = var$3.$chunkMapping; var$11 = Long_or(Long_and(Long_fromInt(var$4), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$8), Long_create(4294967295, 0)), 32)); var$4 = Long_lo(Long_xor(var$11, Long_shru(var$11, 32))); var$8 = var$4 ^ (var$4 >>> 20 | 0) ^ (var$4 >>> 12 | 0); var$4 = var$8 ^ (var$8 >>> 7 | 0) ^ (var$8 >>> 4 | 0); var$5 = var$10.$hashArray.data; var$10 = var$5[var$4 & (var$5.length - 1 | 0)]; a: { while (var$10 !== null) { if (Long_eq(var$10.$key1, var$11)) { var$10 = var$10.$value6; break a; } var$10 = var$10.$nextEntry0; } var$10 = null; } var$10 = var$10; if (var$10 === null) var$10 = var$3.$blankChunk; nms_World_moodSoundAndLightCheck($this, $var4, $var5, var$10); var$3 = $this.$previousActiveChunkSet; ju_HashMap_putImpl(var$3.$backingMap, $var3, var$3); $var1 = $var1 + 1 | 0; if ($var1 >= 10) return; } } }, nms_WorldClient_setBlockAndMetadataAndInvalidate = ($this, $par1, $par2, $par3, $par4, $par5) => { let var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = 3; $ptr = 1; case 1: $tmp = nms_World_setBlock($this, $par1, $par2, $par3, $par4, $par5, var$6); if ($rt_suspending()) { break main; } $par1 = $tmp; return $par1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5, var$6, $ptr); }, nms_WorldClient_updateWeather = $this => { let var$1, var$2; if (!$this.$provider.$hasNoSky) { var$1 = $this.$rainingStrength; $this.$prevRainingStrength = var$1; var$2 = $this.$worldInfo; if (!var$2.$raining) $this.$rainingStrength = var$1 - 0.01; else $this.$rainingStrength = var$1 + 0.01; if ($this.$rainingStrength < 0.0) $this.$rainingStrength = 0.0; if ($this.$rainingStrength > 1.0) $this.$rainingStrength = 1.0; var$1 = $this.$thunderingStrength; $this.$prevThunderingStrength = var$1; if (!var$2.$thundering) $this.$thunderingStrength = var$1 - 0.01; else $this.$thunderingStrength = var$1 + 0.01; if ($this.$thunderingStrength < 0.0) $this.$thunderingStrength = 0.0; if ($this.$thunderingStrength > 1.0) $this.$thunderingStrength = 1.0; } }, nms_WorldClient_doVoidFogParticles = ($this, $par1, $par2, $par3) => { let $var5, var$5, $var6, var$7, var$8, var$9, var$10, var$11, var$12, $var9, $var7, $var8, $var10, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var9 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();var$5 = $thread.pop();$var5 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = new nle_EaglercraftRandom; var$5 = Long_fromNumber(performance.now() * 1000000.0); $var5.$seed = Long_fromInt(69); $var5.$haveNextNextGaussian = 0; $var5.$seed = var$5; $var6 = 0; var$7 = 17; var$8 = 24; var$9 = Long_fromInt(8); var$10 = Long_fromInt(16); while ($var6 < 1000) { a: { var$11 = $this.$rand0; var$12 = Long_and(Long_add(Long_mul(var$11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var9 = $par1 + Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var7 = $var9 - Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var8 = $par2 + Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var8 = $var8 - Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var9 = $par3 + Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$5 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$5; $var9 = $var9 - Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$5, var$7)))), 31)) | 0; $var10 = nms_World_getBlockId($this, $var7, $var8, $var9); if (!$var10) { var$17 = $this.$rand0; var$12 = Long_and(Long_add(Long_mul(var$17.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$12; if (Long_lo(Long_shr(Long_mul(var$9, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) > $var8) { var$18 = $this.$provider; if (var$18.$terrainType0 !== nms_WorldType_FLAT && !var$18.$hasNoSky ? 1 : 0) { var$11 = $rt_s(1477); var$19 = $var7; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$12; var$20 = var$19 + Long_lo(Long_shru(var$12, var$8)) / 1.6777216E7; var$19 = $var8; var$5 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$5; var$21 = var$19 + Long_lo(Long_shru(var$5, var$8)) / 1.6777216E7; var$22 = $var9; var$5 = Long_and(Long_add(Long_mul(var$5, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$5; var$23 = var$22 + Long_lo(Long_shru(var$5, var$8)) / 1.6777216E7; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $var8 = 0; var$27 = $this.$worldAccesses; $var9 = $rt_compare($var8, var$27.$size0); if ($var9 < 0) { if ($var8 >= 0 && $var9 < 0) { var$27 = var$27.$array.data[$var8]; $ptr = 2; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } break a; } } } if ($var10 > 0) { nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var10]; $ptr = 1; continue main; } } $var6 = $var6 + 1 | 0; } return; case 1: var$11.$randomDisplayTick($this, $var7, $var8, $var9, $var5); if ($rt_suspending()) { break main; } while (true) { $var6 = $var6 + 1 | 0; if ($var6 >= 1000) break; var$11 = $this.$rand0; var$12 = Long_and(Long_add(Long_mul(var$11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var9 = $par1 + Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var7 = $var9 - Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var8 = $par2 + Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var8 = $var8 - Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var9 = $par3 + Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$5 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$5; $var9 = $var9 - Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$5, var$7)))), 31)) | 0; $var10 = nms_World_getBlockId($this, $var7, $var8, $var9); if (!$var10) { var$17 = $this.$rand0; var$12 = Long_and(Long_add(Long_mul(var$17.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$12; if (Long_lo(Long_shr(Long_mul(var$9, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) > $var8) { var$18 = $this.$provider; if (var$18.$terrainType0 !== nms_WorldType_FLAT && !var$18.$hasNoSky ? 1 : 0) { var$11 = $rt_s(1477); var$19 = $var7; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$12; var$20 = var$19 + Long_lo(Long_shru(var$12, var$8)) / 1.6777216E7; var$19 = $var8; var$5 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$5; var$21 = var$19 + Long_lo(Long_shru(var$5, var$8)) / 1.6777216E7; var$22 = $var9; var$5 = Long_and(Long_add(Long_mul(var$5, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$5; var$23 = var$22 + Long_lo(Long_shru(var$5, var$8)) / 1.6777216E7; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $var8 = 0; var$27 = $this.$worldAccesses; $var9 = $rt_compare($var8, var$27.$size0); if ($var9 < 0) { if ($var8 >= 0 && $var9 < 0) { var$27 = var$27.$array.data[$var8]; $ptr = 2; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } continue; } } } if ($var10 <= 0) continue; else { nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var10]; continue main; } } return; case 2: nms_RenderGlobal_doSpawnParticle(var$27, var$11, var$20, var$21, var$23, var$24, var$25, var$26); if ($rt_suspending()) { break main; } $var8 = $var8 + 1 | 0; b: while (true) { var$27 = $this.$worldAccesses; $var9 = $rt_compare($var8, var$27.$size0); if ($var9 < 0) { if ($var8 >= 0 && $var9 < 0) { var$27 = var$27.$array.data[$var8]; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } while (true) { $var6 = $var6 + 1 | 0; if ($var6 >= 1000) break b; var$11 = $this.$rand0; var$12 = Long_and(Long_add(Long_mul(var$11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var9 = $par1 + Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var7 = $var9 - Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var8 = $par2 + Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var8 = $var8 - Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; $var9 = $par3 + Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) | 0; var$5 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$5; $var9 = $var9 - Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$5, var$7)))), 31)) | 0; $var10 = nms_World_getBlockId($this, $var7, $var8, $var9); if (!$var10) { var$17 = $this.$rand0; var$12 = Long_and(Long_add(Long_mul(var$17.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$12; if (Long_lo(Long_shr(Long_mul(var$9, Long_fromInt(Long_lo(Long_shru(var$12, var$7)))), 31)) > $var8) { var$18 = $this.$provider; if (var$18.$terrainType0 !== nms_WorldType_FLAT && !var$18.$hasNoSky ? 1 : 0) break; } } if ($var10 <= 0) continue; else { nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var10]; $ptr = 1; continue main; } } var$11 = $rt_s(1477); var$19 = $var7; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$12; var$20 = var$19 + Long_lo(Long_shru(var$12, var$8)) / 1.6777216E7; var$19 = $var8; var$5 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$5; var$21 = var$19 + Long_lo(Long_shru(var$5, var$8)) / 1.6777216E7; var$22 = $var9; var$5 = Long_and(Long_add(Long_mul(var$5, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$5; var$23 = var$22 + Long_lo(Long_shru(var$5, var$8)) / 1.6777216E7; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $var8 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var5, var$5, $var6, var$7, var$8, var$9, var$10, var$11, var$12, $var9, $var7, $var8, $var10, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, $ptr); }, nms_WorldClient_removeAllEntities = $this => { let $var2, var$2, var$3, $var1, $var3, $var3_0, var$7, var$8, $var4, var$10, var$11, var$12, var$13; $var2 = $this.$loadedEntityList; var$2 = $this.$unloadedEntityList; if (var$2 === null) { $var2 = new jl_NullPointerException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $var2.$message = $rt_s(18); $rt_throw($var2); } var$3 = new ju_AbstractList$1; var$3.$this$00 = $var2; var$3.$modCount1 = $var2.$modCount; var$3.$size3 = $var2.$size(); var$3.$removeIndex = (-1); a: while (true) { $var1 = var$3.$index0; if (!($var1 >= var$3.$size3 ? 0 : 1)) { $var1 = 0; while (true) { $var2 = $this.$unloadedEntityList; $var3 = $rt_compare($var1, $var2.$size0); if ($var3 >= 0) { $var1 = 0; b: { while (true) { $var2 = $this.$unloadedEntityList; $var3_0 = $var2.$size0; $var3 = $rt_compare($var1, $var3_0); if ($var3 >= 0) { var$7 = $var2.$array; $var1 = 0; var$2 = null; if ($var1 > $var3_0) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } while ($var1 < $var3_0) { var$8 = var$7.data; $var3 = $var1 + 1 | 0; var$8[$var1] = var$2; $var1 = $var3; } $var2.$size0 = 0; $var2.$modCount = $var2.$modCount + 1 | 0; $var3 = 0; c: { d: { while (true) { $var2 = $this.$loadedEntityList; $var1 = $rt_compare($var3, $var2.$size0); if ($var1 >= 0) break; if ($var3 < 0) break d; if ($var1 >= 0) break d; e: { $var2 = $var2.$array.data[$var3]; var$2 = $var2.$ridingEntity; if (var$2 !== null) { if (!var$2.$isDead && var$2.$riddenByEntity === $var2) break e; var$2.$riddenByEntity = null; $var2.$ridingEntity = null; } if ($var2.$isDead) { $var3_0 = $var2.$chunkCoordX; $var4 = $var2.$chunkCoordZ; if ($var2.$addedToChunk) { var$2 = $this.$chunkProvider; var$3 = var$2.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt($var3_0), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var4), Long_create(4294967295, 0)), 32)); $var1 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); $var1 = $var1 ^ ($var1 >>> 20 | 0) ^ ($var1 >>> 12 | 0); $var4 = $var1 ^ ($var1 >>> 7 | 0) ^ ($var1 >>> 4 | 0); var$7 = var$3.$hashArray.data; var$3 = var$7[$var4 & (var$7.length - 1 | 0)]; f: { while (var$3 !== null) { if (Long_eq(var$3.$key1, var$10)) { var$3 = var$3.$value6; break f; } var$3 = var$3.$nextEntry0; } var$3 = null; } var$3 = var$3; if (var$3 === null) var$3 = var$2.$blankChunk; var$3.$removeEntity($var2); } var$2 = $this.$loadedEntityList; $var1 = $var3 + (-1) | 0; ju_ArrayList_remove(var$2, $var3); $var3 = 0; while (true) { $var3_0 = $rt_compare($var3, $this.$worldAccesses.$size0); if ($var3_0 >= 0) break; if ($var3 < 0) break c; if ($var3_0 >= 0) break c; $var3 = $var3 + 1 | 0; } if (ju_HashSet_contains($this.$entityList, $var2)) { if ($var2.$isEntityAlive()) { var$2 = $this.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, $var2, var$2); } else $var2 = ju_HashMap_removeByKey($this.$entityList.$backingMap, $var2); } $var3 = $var1; } } $var3 = $var3 + 1 | 0; } return; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } if ($var1 < 0) break; if ($var3 >= 0) break; $var2 = $var2.$array.data[$var1]; $var3 = 0; while (true) { $var3_0 = $rt_compare($var3, $this.$worldAccesses.$size0); if ($var3_0 >= 0) break; if ($var3 < 0) break b; if ($var3_0 >= 0) break b; $var3 = $var3 + 1 | 0; } if (ju_HashSet_contains($this.$entityList, $var2)) { if ($var2.$isEntityAlive()) { var$2 = $this.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, $var2, var$2); } else $var2 = ju_HashMap_removeByKey($this.$entityList.$backingMap, $var2); } $var1 = $var1 + 1 | 0; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } if ($var1 < 0) break; if ($var3 >= 0) break; $var2 = $var2.$array.data[$var1]; $var3 = $var2.$chunkCoordX; $var4 = $var2.$chunkCoordZ; if ($var2.$addedToChunk) { var$2 = $this.$chunkProvider; var$3 = var$2.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var4), Long_create(4294967295, 0)), 32)); $var3 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); $var3 = $var3 ^ ($var3 >>> 20 | 0) ^ ($var3 >>> 12 | 0); $var4 = $var3 ^ ($var3 >>> 7 | 0) ^ ($var3 >>> 4 | 0); var$7 = var$3.$hashArray.data; var$3 = var$7[$var4 & (var$7.length - 1 | 0)]; g: { while (var$3 !== null) { if (Long_eq(var$3.$key1, var$10)) { var$3 = var$3.$value6; break g; } var$3 = var$3.$nextEntry0; } var$3 = null; } var$3 = var$3; if (var$3 === null) var$3 = var$2.$blankChunk; var$3.$removeEntity($var2); } $var1 = $var1 + 1 | 0; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var3_0 = var$3.$modCount1; $var2 = var$3.$this$00; if ($var3_0 < $var2.$modCount) { $var2 = new ju_ConcurrentModificationException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } var$3.$removeIndex = $var1; var$3.$index0 = $var1 + 1 | 0; $var2 = $var2.$get($var1); $var4 = var$2.$modCount; var$11 = var$2.$size(); var$12 = 0; h: { while (true) { if (!(var$12 >= var$11 ? 0 : 1)) { $var1 = 0; break h; } if ($var4 < var$2.$modCount) break a; $var3_0 = var$12 + 1 | 0; var$13 = var$2.$get(var$12); if (var$13 === $var2 ? 1 : var$13 !== null ? var$13.$equals($var2) : $var2 !== null ? 0 : 1) break; var$12 = $var3_0; } $var1 = 1; } if ($var1) ju_AbstractList$1_remove(var$3); } $var2 = new ju_ConcurrentModificationException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); }, nms_WorldClient_playSound = ($this, $par1, $par3, $par5, $par7Str, $par8, $par9, $par10) => { let $var11, var$9, var$10, $var14, var$12, $var12, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var12 = $thread.pop();var$12 = $thread.pop();$var14 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7Str = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var11 = 16.0; if ($par8 > 1.0) $var11 = $var11 * $par8; a: { var$9 = $this.$mc2; var$10 = var$9.$renderViewEntity; $var14 = var$10.$posX - $par1; var$12 = var$10.$posY - $par3; $var12 = var$10.$posZ - $par5; $var12 = $var14 * $var14 + var$12 * var$12 + $var12 * $var12; if ($var12 < $var11 * $var11) { if (!$par10) break a; if ($var12 <= 100.0) break a; $var14 = jl_Math_sqrt($var12) / 40.0; var$9 = $this.$mc2.$sndManager; $var11 = $par1; var$14 = $par3; var$15 = $par5; $par1 = $var14 * 20.0; $par10 = Long_lo(Long_fromNumber($par1 + jl_Math_sign($par1) * 0.5)); var$10 = var$9.$queuedsoundevents; var$9 = new nms_SoundManager$QueuedSoundEvent; var$9.$sound = $par7Str; var$9.$x4 = $var11; var$9.$y3 = var$14; var$9.$z5 = var$15; var$9.$volume = $par8; var$9.$pitch1 = $par9; var$9.$timer1 = $par10; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$16 = var$10.$array.data; var$17 = var$10.$size0; var$10.$size0 = var$17 + 1 | 0; var$16[var$17] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; } return; } var$9 = var$9.$sndManager; $var11 = $par1; var$14 = $par3; var$15 = $par5; $ptr = 1; case 1: nms_SoundManager_playSound(var$9, $par7Str, $var11, var$14, var$15, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3, $par5, $par7Str, $par8, $par9, $par10, $var11, var$9, var$10, $var14, var$12, $var12, var$14, var$15, var$16, var$17, $ptr); }, nms_GuiSleepMP = $rt_classWithoutFields(nms_GuiChat), nms_GuiSleepMP__init_ = $this => { let var$1; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$buttonList = var$1; $this.$allowUserInput = 0; $this.$selectedButton = null; $this.$eventButton = 0; $this.$field_85043_c = Long_ZERO; $this.$field_92018_d = 0; $this.$field_73898_b = $rt_s(18); $this.$sentHistoryCursor = (-1); $this.$field_73897_d = 0; $this.$field_73905_m = 0; $this.$field_73903_n = 0; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$field_73904_o = var$1; $this.$clickedURI = null; $this.$defaultInputFieldText = $rt_s(18); }, nms_GuiSleepMP__init_0 = () => { let var_0 = new nms_GuiSleepMP(); nms_GuiSleepMP__init_(var_0); return var_0; }, nms_GuiSleepMP_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; nms_GuiChat_initGui($this); var$1 = $this.$buttonList; var$2 = new nms_GuiButton; var$3 = ($this.$width / 2 | 0) - 100 | 0; var$4 = $this.$height - 40 | 0; nms_StatCollector_$callClinit(); var$5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1810)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 1; var$2.$xPosition = var$3; var$2.$yPosition = var$4; var$2.$width0 = 200; var$2.$height0 = 20; var$2.$displayString = var$5; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; }, nms_GuiSleepMP_keyTyped = ($this, $par1, $par2) => { let var$3, var$4, $var3, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par2 == 1) { var$3 = $this.$mc.$thePlayer; var$4 = var$3.$sendQueue; $var3 = new nms_Packet19EntityAction; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var3.$entityId2 = var$3.$entityId; $var3.$action0 = 3; $var3.$auxData = 0; if (!var$4.$disconnected) var$4.$netManager.$addToSendQueue($var3); } else { if ($par2 != 28 && $par2 != 156) { $ptr = 1; continue main; } $var3 = jl_String_trim($this.$inputField.$text); if ($var3.$nativeString.length > 0) { var$4 = $this.$mc.$thePlayer.$sendQueue; var$3 = new nms_Packet3Chat; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$isServer = 1; var$6 = $var3.$nativeString.length; $par2 = nms_Packet3Chat_maxChatLength; if (var$6 > $par2) $var3 = jl_String_substring($var3, 0, $par2); var$3.$message1 = $var3; var$3.$isServer = 1; if (!var$4.$disconnected) var$4.$netManager.$addToSendQueue(var$3); } $var3 = $this.$inputField; $par1 = $rt_s(18).$nativeString.length; $par2 = $var3.$maxStringLength; if ($par1 <= $par2) $var3.$text = $rt_s(18); else $var3.$text = jl_String_substring($rt_s(18), 0, $par2); $var3.$cursorPosition = $var3.$text.$nativeString.length; $par2 = $var3.$text.$nativeString.length; if ($var3.$cursorPosition < 0) $var3.$cursorPosition = 0; if ($var3.$cursorPosition > $par2) $var3.$cursorPosition = $par2; nms_GuiTextField_setSelectionPos($var3, $var3.$cursorPosition); $var3 = $this.$mc.$ingameGUI.$persistantChatGUI; $var3.$field_73768_d = 0; $var3.$field_73769_e = 0; } return; case 1: nms_GuiChat_keyTyped($this, $par1, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, $var3, var$6, $ptr); }, nms_GuiSleepMP_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1GuiButton.$id0; if (var$2 == 1) { var$3 = $this.$mc.$thePlayer; var$4 = var$3.$sendQueue; $par1GuiButton = new nms_Packet19EntityAction; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1GuiButton.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1GuiButton.$entityId2 = var$3.$entityId; $par1GuiButton.$action0 = 3; $par1GuiButton.$auxData = 0; if (!var$4.$disconnected) var$4.$netManager.$addToSendQueue($par1GuiButton); } else if (var$2 == 69) { $par1GuiButton = $this.$mc; var$3 = null; $ptr = 1; continue main; } return; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, $ptr); }; function nms_SoundManager$EntitySoundEvent() { let a = this; jl_Object.call(a); a.$e = null; a.$id3 = 0; } function nms_SoundManager$QueuedSoundEvent() { let a = this; jl_Object.call(a); a.$sound = null; a.$x4 = 0.0; a.$y3 = 0.0; a.$z5 = 0.0; a.$volume = 0.0; a.$pitch1 = 0.0; a.$timer1 = 0; } function nle_EnumBrowser() { jl_Enum.call(this); this.$name5 = null; } let nle_EnumBrowser_DESKTOP = null, nle_EnumBrowser_CHROME = null, nle_EnumBrowser_EDGE = null, nle_EnumBrowser_IE = null, nle_EnumBrowser_FIREFOX = null, nle_EnumBrowser_SAFARI = null, nle_EnumBrowser_OPERA = null, nle_EnumBrowser_WEBKIT = null, nle_EnumBrowser_GECKO = null, nle_EnumBrowser_UNKNOWN = null, nle_EnumBrowser_identifiedBrowser = null, nle_EnumBrowser_$VALUES = null, nle_EnumBrowser_getBrowser = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; if (nle_EnumBrowser_identifiedBrowser === null) { var$1 = $rt_str(window.navigator.userAgent); var$2 = var$1.$nativeString.toLowerCase(); if (var$2 !== var$1.$nativeString) var$1 = jl_String__init_(var$2); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$3, var$3 + 1 | 0); var$2.$buffer.data[var$3] = 32; jl_AbstractStringBuilder_insert(var$2, var$2.$length0, var$1); var$4 = new jl_String; var$5 = var$2.$buffer; var$6 = var$5.data; var$3 = var$2.$length0; var$7 = var$6.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); if (jl_String_contains(var$4, $rt_s(1811))) nle_EnumBrowser_identifiedBrowser = nle_EnumBrowser_EDGE; else if (jl_String_contains(var$4, $rt_s(1812))) nle_EnumBrowser_identifiedBrowser = nle_EnumBrowser_OPERA; else if (jl_String_contains(var$4, $rt_s(1813))) nle_EnumBrowser_identifiedBrowser = nle_EnumBrowser_CHROME; else if (jl_String_contains(var$4, $rt_s(1814))) nle_EnumBrowser_identifiedBrowser = nle_EnumBrowser_FIREFOX; else if (jl_String_contains(var$4, $rt_s(1815))) nle_EnumBrowser_identifiedBrowser = nle_EnumBrowser_SAFARI; else if (!jl_String_contains(var$4, $rt_s(1816)) && !jl_String_contains(var$4, $rt_s(1817))) { if (jl_String_contains(var$4, $rt_s(1818))) nle_EnumBrowser_identifiedBrowser = nle_EnumBrowser_WEBKIT; else if (jl_String_contains(var$4, $rt_s(1819))) nle_EnumBrowser_identifiedBrowser = nle_EnumBrowser_GECKO; else if (!jl_String_contains(var$4, $rt_s(1820))) nle_EnumBrowser_identifiedBrowser = nle_EnumBrowser_UNKNOWN; else nle_EnumBrowser_identifiedBrowser = nle_EnumBrowser_DESKTOP; } else nle_EnumBrowser_identifiedBrowser = nle_EnumBrowser_IE; } else { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } return nle_EnumBrowser_identifiedBrowser; }, nle_EnumBrowser_$values = () => { let var$1, var$2; var$1 = $rt_createArray(nle_EnumBrowser, 10); var$2 = var$1.data; var$2[0] = nle_EnumBrowser_DESKTOP; var$2[1] = nle_EnumBrowser_CHROME; var$2[2] = nle_EnumBrowser_EDGE; var$2[3] = nle_EnumBrowser_IE; var$2[4] = nle_EnumBrowser_FIREFOX; var$2[5] = nle_EnumBrowser_SAFARI; var$2[6] = nle_EnumBrowser_OPERA; var$2[7] = nle_EnumBrowser_WEBKIT; var$2[8] = nle_EnumBrowser_GECKO; var$2[9] = nle_EnumBrowser_UNKNOWN; return var$1; }, nle_EnumBrowser__clinit_ = () => { let var$1; var$1 = new nle_EnumBrowser; var$1.$name0 = $rt_s(1821); var$1.$ordinal = 0; var$1.$name5 = $rt_s(1822); nle_EnumBrowser_DESKTOP = var$1; var$1 = new nle_EnumBrowser; var$1.$name0 = $rt_s(1823); var$1.$ordinal = 1; var$1.$name5 = $rt_s(1824); nle_EnumBrowser_CHROME = var$1; var$1 = new nle_EnumBrowser; var$1.$name0 = $rt_s(1825); var$1.$ordinal = 2; var$1.$name5 = $rt_s(1826); nle_EnumBrowser_EDGE = var$1; var$1 = new nle_EnumBrowser; var$1.$name0 = $rt_s(1827); var$1.$ordinal = 3; var$1.$name5 = $rt_s(1827); nle_EnumBrowser_IE = var$1; var$1 = new nle_EnumBrowser; var$1.$name0 = $rt_s(1828); var$1.$ordinal = 4; var$1.$name5 = $rt_s(1829); nle_EnumBrowser_FIREFOX = var$1; var$1 = new nle_EnumBrowser; var$1.$name0 = $rt_s(1830); var$1.$ordinal = 5; var$1.$name5 = $rt_s(1831); nle_EnumBrowser_SAFARI = var$1; var$1 = new nle_EnumBrowser; var$1.$name0 = $rt_s(1832); var$1.$ordinal = 6; var$1.$name5 = $rt_s(1833); nle_EnumBrowser_OPERA = var$1; var$1 = new nle_EnumBrowser; var$1.$name0 = $rt_s(1834); var$1.$ordinal = 7; var$1.$name5 = $rt_s(1835); nle_EnumBrowser_WEBKIT = var$1; var$1 = new nle_EnumBrowser; var$1.$name0 = $rt_s(1836); var$1.$ordinal = 8; var$1.$name5 = $rt_s(1837); nle_EnumBrowser_GECKO = var$1; var$1 = new nle_EnumBrowser; var$1.$name0 = $rt_s(541); var$1.$ordinal = 9; var$1.$name5 = $rt_s(1838); nle_EnumBrowser_UNKNOWN = var$1; nle_EnumBrowser_$VALUES = nle_EnumBrowser_$values(); nle_EnumBrowser_identifiedBrowser = null; }; function jt_DateFormatElement$Numeric() { let a = this; jt_DateFormatElement.call(a); a.$field = 0; a.$length3 = 0; a.$maxLength = 0; } let jt_DateFormatElement$Numeric_format = ($this, $date, $buffer) => { let $number, $i, var$5; $number = $this.$field; if (!$date.$isTimeSet) { ju_GregorianCalendar_computeTime($date); $date.$isTimeSet = 1; } if (!$date.$areFieldsSet) { ju_GregorianCalendar_computeFields($date); $date.$areFieldsSet = 1; } $number = $this.$processBeforeFormat($date.$fields.data[$number]); $date = new jl_AbstractStringBuilder; $date.$buffer = $rt_createCharArray(20); $date = (jl_AbstractStringBuilder_insert0($date, $date.$length0, $number, 10)).$toString(); $i = $date.$nativeString.length; while ($i < $this.$length3) { var$5 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$5, var$5 + 1 | 0); $buffer.$buffer.data[var$5] = 48; $i = $i + 1 | 0; } jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $date); }, jt_DateFormatElement$Numeric_processBeforeFormat = ($this, $num) => { return $num; }, jt_DateFormatElement$Numeric_equals = ($this, $o) => { let $numeric, var$3, var$4; if ($this === $o) return 1; if ($o !== null) { $numeric = $this.constructor; if ($numeric === null) var$3 = null; else { var$3 = $numeric.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $numeric; $numeric.classObject = var$3; } } var$4 = $o.constructor; if (var$4 === null) $numeric = null; else { $numeric = var$4.classObject; if ($numeric === null) { $numeric = new jl_Class; $numeric.$platformClass = var$4; var$4.classObject = $numeric; } } if (var$3 === $numeric) { $numeric = $o; return $this.$field == $numeric.$field && $this.$length3 == $numeric.$length3 ? 1 : 0; } } return 0; }, jt_DateFormatElement$Numeric_hashCode = $this => { let var$1, var$2, var$3, var$4; var$1 = $rt_createArray(jl_Object, 2); var$2 = $this.$field; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } var$1 = var$1.data; var$1[0] = var$3; var$2 = $this.$length3; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } var$1[1] = var$3; var$4 = 1; var$2 = 0; while (var$2 < var$1.length) { var$4 = 31 * var$4 | 0; var$3 = var$1[var$2]; var$4 = var$4 + (var$3 === null ? 0 : var$3.$value0) | 0; var$2 = var$2 + 1 | 0; } return var$4; }; function jt_DateFormatElement$WeekdayText() { let a = this; jt_DateFormatElement.call(a); a.$weeks = null; a.$shortWeeks = null; a.$abbreviated0 = 0; } let jt_DateFormatElement$WeekdayText_format = ($this, $date, $buffer) => { let $weekday; if (!$date.$isTimeSet) { ju_GregorianCalendar_computeTime($date); $date.$isTimeSet = 1; } if (!$date.$areFieldsSet) { ju_GregorianCalendar_computeFields($date); $date.$areFieldsSet = 1; } $weekday = $date.$fields.data[7]; $date = !$this.$abbreviated0 ? $this.$weeks.data[$weekday] : $this.$shortWeeks.data[$weekday]; jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $date); }, jt_DateFormatElement$WeekdayText_equals = ($this, $o) => { let $that, var$3, var$4; if ($this === $o) return 1; if ($o !== null) { $that = $this.constructor; if ($that === null) var$3 = null; else { var$3 = $that.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $that; $that.classObject = var$3; } } var$4 = $o.constructor; if (var$4 === null) $that = null; else { $that = var$4.classObject; if ($that === null) { $that = new jl_Class; $that.$platformClass = var$4; var$4.classObject = $that; } } if (var$3 === $that) { $that = $o; return $this.$abbreviated0 == $that.$abbreviated0 && ju_Arrays_equals($this.$weeks, $that.$weeks) && ju_Arrays_equals($this.$shortWeeks, $that.$shortWeeks) ? 1 : 0; } } return 0; }, jt_DateFormatElement$WeekdayText_hashCode = $this => { let var$1, var$2, var$3, var$4; var$1 = $rt_createArray(jl_Object, 3).data; var$1[0] = $this.$weeks; var$1[1] = $this.$shortWeeks; var$1[2] = !$this.$abbreviated0 ? jl_Boolean_FALSE : jl_Boolean_TRUE; var$2 = 1; var$3 = 0; while (var$3 < var$1.length) { var$2 = 31 * var$2 | 0; var$4 = var$1[var$3]; var$2 = var$2 + (var$4 === null ? 0 : !var$4.$value9 ? 1237 : 1231) | 0; var$3 = var$3 + 1 | 0; } return var$2; }; function jt_DateFormatElement$EraText() { jt_DateFormatElement.call(this); this.$eras = null; } let jt_DateFormatElement$EraText_format = ($this, $date, $buffer) => { let $era; if (!$date.$isTimeSet) { ju_GregorianCalendar_computeTime($date); $date.$isTimeSet = 1; } if (!$date.$areFieldsSet) { ju_GregorianCalendar_computeFields($date); $date.$areFieldsSet = 1; } $era = $date.$fields.data[0]; $date = $this.$eras.data[$era]; jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $date); }, jt_DateFormatElement$EraText_equals = ($this, $o) => { let var$2, var$3, var$4, $eraText; if ($this === $o) return 1; if ($o !== null) { var$2 = $this.constructor; if (var$2 === null) var$3 = null; else { var$3 = var$2.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$2; var$2.classObject = var$3; } } var$4 = $o.constructor; if (var$4 === null) $eraText = null; else { $eraText = var$4.classObject; if ($eraText === null) { $eraText = new jl_Class; $eraText.$platformClass = var$4; var$4.classObject = $eraText; } } if (var$3 === $eraText) { $eraText = $o; return ju_Arrays_equals($this.$eras, $eraText.$eras); } } return 0; }, jt_DateFormatElement$EraText_hashCode = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$eras; if (var$1 === null) var$2 = 0; else { var$2 = 1; var$3 = 0; while (true) { var$4 = var$1.data; if (var$3 >= var$4.length) break; var$2 = 31 * var$2 | 0; var$5 = var$4[var$3]; if (var$5 === null) var$6 = 0; else { a: { if (!var$5.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$5.$nativeString.length) break a; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$6 = var$5.$hashCode1; } var$2 = var$2 + var$6 | 0; var$3 = var$3 + 1 | 0; } } return var$2; }; function jt_DateFormatElement$BaseTimezone() { let a = this; jt_DateFormatElement.call(a); a.$locale4 = null; a.$searchTrie = null; } let jt_DateFormatElement$BaseTimezone_equals = ($this, $o) => { let $that, var$3, var$4, var$5; if ($this === $o) return 1; if ($o !== null) { $that = $this.constructor; if ($that === null) var$3 = null; else { var$3 = $that.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $that; $that.classObject = var$3; } } var$4 = $o.constructor; if (var$4 === null) $that = null; else { $that = var$4.classObject; if ($that === null) { $that = new jl_Class; $that.$platformClass = var$4; var$4.classObject = $that; } } if (var$3 === $that) { $that = $o; $o = $this.$locale4; var$4 = $that.$locale4; var$5 = $o === var$4 ? 1 : $o !== null ? ju_Locale_equals($o, var$4) : var$4 !== null ? 0 : 1; a: { if (var$5) { $o = $this.$searchTrie; $that = $that.$searchTrie; if ($o === $that ? 1 : $o !== null ? $o.$equals($that) : $that !== null ? 0 : 1) { var$5 = 1; break a; } } var$5 = 0; } return var$5; } } return 0; }, jt_DateFormatElement$BaseTimezone_hashCode = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $rt_createArray(jl_Object, 2).data; var$1[0] = $this.$locale4; var$1[1] = $this.$searchTrie; var$2 = 1; var$3 = 0; while (var$3 < var$1.length) { var$2 = 31 * var$2 | 0; var$4 = var$1[var$3]; if (var$4 === null) var$5 = 0; else { a: { var$6 = var$4.$countryCode; if (!var$6.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$6.$nativeString.length) break a; var$6.$hashCode1 = (31 * var$6.$hashCode1 | 0) + var$6.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } b: { var$7 = var$6.$hashCode1; var$6 = var$4.$languageCode; if (!var$6.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$6.$nativeString.length) break b; var$6.$hashCode1 = (31 * var$6.$hashCode1 | 0) + var$6.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } c: { var$5 = var$7 + var$6.$hashCode1 | 0; var$4 = var$4.$variantCode; if (!var$4.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$4.$nativeString.length) break c; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$5 = var$5 + var$4.$hashCode1 | 0; } var$2 = var$2 + var$5 | 0; var$3 = var$3 + 1 | 0; } return var$2; }, jt_DateFormatElement$Rfc822Timezone = $rt_classWithoutFields(jt_DateFormatElement$BaseTimezone), jt_DateFormatElement$Rfc822Timezone_format = ($this, $date, $buffer) => { let $tz, var$4, $minutes, var$6, $hours; $tz = $date.$zone; if (!$date.$isTimeSet) { ju_GregorianCalendar_computeTime($date); $date.$isTimeSet = 1; } var$4 = $date.$time; $minutes = (($tz.$rawOffset + $tz.$diff | 0) + $tz.$underlyingZone.$getOffset(var$4) | 0) / 60000 | 0; if ($minutes >= 0) { var$6 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$6, var$6 + 1 | 0); $buffer.$buffer.data[var$6] = 43; } else { $minutes = -$minutes | 0; var$6 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$6, var$6 + 1 | 0); $buffer.$buffer.data[var$6] = 45; } $hours = $minutes / 60 | 0; var$6 = $minutes % 60 | 0; $minutes = $hours / 10 | 0; jl_AbstractStringBuilder_insert0($buffer, $buffer.$length0, $minutes, 10); $minutes = $hours % 10 | 0; jl_AbstractStringBuilder_insert0($buffer, $buffer.$length0, $minutes, 10); $minutes = var$6 / 10 | 0; jl_AbstractStringBuilder_insert0($buffer, $buffer.$length0, $minutes, 10); $minutes = var$6 % 10 | 0; jl_AbstractStringBuilder_insert0($buffer, $buffer.$length0, $minutes, 10); }; function jt_DateFormatElement$AmPmText() { jt_DateFormatElement.call(this); this.$ampms = null; } let jt_DateFormatElement$AmPmText_format = ($this, $date, $buffer) => { let $ampm; if (!$date.$isTimeSet) { ju_GregorianCalendar_computeTime($date); $date.$isTimeSet = 1; } if (!$date.$areFieldsSet) { ju_GregorianCalendar_computeFields($date); $date.$areFieldsSet = 1; } $ampm = $date.$fields.data[9]; $date = $this.$ampms.data[$ampm]; jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $date); }, jt_DateFormatElement$AmPmText_equals = ($this, $o) => { let var$2, var$3, var$4, $amPmText; if ($this === $o) return 1; if ($o !== null) { var$2 = $this.constructor; if (var$2 === null) var$3 = null; else { var$3 = var$2.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$2; var$2.classObject = var$3; } } var$4 = $o.constructor; if (var$4 === null) $amPmText = null; else { $amPmText = var$4.classObject; if ($amPmText === null) { $amPmText = new jl_Class; $amPmText.$platformClass = var$4; var$4.classObject = $amPmText; } } if (var$3 === $amPmText) { $amPmText = $o; return ju_Arrays_equals($this.$ampms, $amPmText.$ampms); } } return 0; }, jt_DateFormatElement$AmPmText_hashCode = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$ampms; if (var$1 === null) var$2 = 0; else { var$2 = 1; var$3 = 0; while (true) { var$4 = var$1.data; if (var$3 >= var$4.length) break; var$2 = 31 * var$2 | 0; var$5 = var$4[var$3]; if (var$5 === null) var$6 = 0; else { a: { if (!var$5.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$5.$nativeString.length) break a; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$6 = var$5.$hashCode1; } var$2 = var$2 + var$6 | 0; var$3 = var$3 + 1 | 0; } } return var$2; }; function jt_DateFormatElement$NumericHour() { jt_DateFormatElement$Numeric.call(this); this.$limit1 = 0; } let jt_DateFormatElement$NumericHour_processBeforeFormat = ($this, $num) => { if (!$num) $num = $this.$limit1; return $num; }, jt_DateFormatElement$NumericHour_equals = ($this, $o) => { let $that, var$3, var$4; if ($this === $o) return 1; if ($o !== null) { $that = $this.constructor; if ($that === null) var$3 = null; else { var$3 = $that.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $that; $that.classObject = var$3; } } var$4 = $o.constructor; if (var$4 === null) $that = null; else { $that = var$4.classObject; if ($that === null) { $that = new jl_Class; $that.$platformClass = var$4; var$4.classObject = $that; } } if (var$3 === $that) { if (!jt_DateFormatElement$Numeric_equals($this, $o)) return 0; $that = $o; return $this.$limit1 != $that.$limit1 ? 0 : 1; } } return 0; }, jt_DateFormatElement$NumericHour_hashCode = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $rt_createArray(jl_Object, 2); var$2 = $rt_createArray(jl_Object, 2); var$3 = $this.$field; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$3; } var$5 = var$2.data; var$5[0] = var$4; var$3 = $this.$length3; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$3; } var$5[1] = var$4; var$3 = 1; var$6 = 0; while (var$6 < var$5.length) { var$3 = 31 * var$3 | 0; var$4 = var$5[var$6]; var$3 = var$3 + (var$4 === null ? 0 : var$4.$value0) | 0; var$6 = var$6 + 1 | 0; } if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$3; } var$1 = var$1.data; var$1[0] = var$4; var$3 = $this.$limit1; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$3; } var$1[1] = var$4; var$7 = 1; var$6 = 0; while (var$6 < var$1.length) { var$7 = 31 * var$7 | 0; var$4 = var$1[var$6]; var$7 = var$7 + (var$4 === null ? 0 : var$4.$value0) | 0; var$6 = var$6 + 1 | 0; } return var$7; }, jt_DateFormatElement$NumericWeekday = $rt_classWithoutFields(jt_DateFormatElement$Numeric), jt_DateFormatElement$NumericWeekday_processBeforeFormat = ($this, $num) => { return $num == 1 ? 7 : $num - 1 | 0; }, jt_DateFormatElement$GeneralTimezone = $rt_classWithoutFields(jt_DateFormatElement$BaseTimezone), jt_DateFormatElement$GeneralTimezone_format = ($this, $date, $buffer) => { let $tz, var$4, $minutes, var$6, $hours; $tz = $date.$zone; var$4 = $tz.$id5; if (!(var$4 === $rt_s(989) ? 1 : jl_String_startsWith(var$4, $rt_s(989), 0))) { $date = $this.$locale4; $date = otciu_CLDRHelper_getTimeZoneName($date.$languageCode, $date.$countryCode, $tz.$id5); if ($date === null) $date = $tz.$id5; jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $date); } else { $minutes = $tz.$rawOffset / 60000 | 0; jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $rt_s(989)); if ($minutes >= 0) { var$6 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$6, var$6 + 1 | 0); $buffer.$buffer.data[var$6] = 43; } else { $minutes = -$minutes | 0; var$6 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$6, var$6 + 1 | 0); $buffer.$buffer.data[var$6] = 45; } $hours = $minutes / 60 | 0; $minutes = $minutes % 60 | 0; var$6 = $hours / 10 | 0; jl_AbstractStringBuilder_insert0($buffer, $buffer.$length0, var$6, 10); $hours = $hours % 10 | 0; jl_AbstractStringBuilder_insert0($buffer, $buffer.$length0, $hours, 10); var$6 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$6, var$6 + 1 | 0); $buffer.$buffer.data[var$6] = 58; $hours = $minutes / 10 | 0; jl_AbstractStringBuilder_insert0($buffer, $buffer.$length0, $hours, 10); $minutes = $minutes % 10 | 0; jl_AbstractStringBuilder_insert0($buffer, $buffer.$length0, $minutes, 10); } }; function jt_DateFormatElement$ConstantText() { jt_DateFormatElement.call(this); this.$textConstant = null; } let jt_DateFormatElement$ConstantText_format = ($this, $date, $buffer) => { $date = $this.$textConstant; jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $date); }, jt_DateFormatElement$ConstantText_equals = ($this, $o) => { let $that, var$3, var$4, var$5; if ($this === $o) return 1; if ($o !== null) { $that = $this.constructor; if ($that === null) var$3 = null; else { var$3 = $that.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $that; $that.classObject = var$3; } } var$4 = $o.constructor; if (var$4 === null) $that = null; else { $that = var$4.classObject; if ($that === null) { $that = new jl_Class; $that.$platformClass = var$4; var$4.classObject = $that; } } if (var$3 === $that) { $that = $o; $o = $this.$textConstant; $that = $that.$textConstant; if ($o === $that) var$5 = 1; else if ($o === null) var$5 = $that !== null ? 0 : 1; else if ($o === $that) var$5 = 1; else if (!($that instanceof jl_String)) var$5 = 0; else { $that = $that; var$5 = $o.$nativeString !== $that.$nativeString ? 0 : 1; } return var$5; } } return 0; }, jt_DateFormatElement$ConstantText_hashCode = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $rt_createArray(jl_Object, 1).data; var$1[0] = $this.$textConstant; var$2 = 1; var$3 = 0; while (var$3 < var$1.length) { var$2 = 31 * var$2 | 0; var$4 = var$1[var$3]; if (var$4 === null) var$5 = 0; else { a: { if (!var$4.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$5 = var$4.$hashCode1; } var$2 = var$2 + var$5 | 0; var$3 = var$3 + 1 | 0; } return var$2; }; function jt_DateFormatElement$Year() { jt_DateFormatElement.call(this); this.$field0 = 0; } let jt_DateFormatElement$Year_format = ($this, $date, $buffer) => { let var$3, $number, var$5; var$3 = $this.$field0; if (!$date.$isTimeSet) { ju_GregorianCalendar_computeTime($date); $date.$isTimeSet = 1; } if (!$date.$areFieldsSet) { ju_GregorianCalendar_computeFields($date); $date.$areFieldsSet = 1; } $number = $date.$fields.data[var$3]; if ($number < 10) jl_AbstractStringBuilder_insert0($buffer, $buffer.$length0, $number, 10); else { var$3 = ((($number % 100 | 0) / 10 | 0) + 48 | 0) & 65535; var$5 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$5, var$5 + 1 | 0); $buffer.$buffer.data[var$5] = var$3; var$3 = (($number % 10 | 0) + 48 | 0) & 65535; var$5 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$5, var$5 + 1 | 0); $buffer.$buffer.data[var$5] = var$3; } }, jt_DateFormatElement$Year_equals = ($this, $o) => { let $year, var$3, var$4; if ($this === $o) return 1; if ($o !== null) { $year = $this.constructor; if ($year === null) var$3 = null; else { var$3 = $year.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $year; $year.classObject = var$3; } } var$4 = $o.constructor; if (var$4 === null) $year = null; else { $year = var$4.classObject; if ($year === null) { $year = new jl_Class; $year.$platformClass = var$4; var$4.classObject = $year; } } if (var$3 === $year) { $year = $o; return $this.$field0 != $year.$field0 ? 0 : 1; } } return 0; }, jt_DateFormatElement$Year_hashCode = $this => { let var$1, var$2, var$3, var$4; var$1 = $rt_createArray(jl_Object, 1); var$2 = $this.$field0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } var$1 = var$1.data; var$1[0] = var$3; var$4 = 1; var$2 = 0; while (var$2 < var$1.length) { var$4 = 31 * var$4 | 0; var$3 = var$1[var$2]; var$4 = var$4 + (var$3 === null ? 0 : var$3.$value0) | 0; var$2 = var$2 + 1 | 0; } return var$4; }; function jt_DateFormatElement$Iso8601Timezone() { jt_DateFormatElement.call(this); this.$size7 = 0; } let jt_DateFormatElement$Iso8601Timezone_format = ($this, $date, $buffer) => { let var$3, var$4, $minutes, $hours, var$7; var$3 = $date.$zone; if (!$date.$isTimeSet) { ju_GregorianCalendar_computeTime($date); $date.$isTimeSet = 1; } var$4 = $date.$time; $minutes = ((var$3.$rawOffset + var$3.$diff | 0) + var$3.$underlyingZone.$getOffset(var$4) | 0) / 60000 | 0; if (!$minutes) { $hours = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $hours, $hours + 1 | 0); $buffer.$buffer.data[$hours] = 90; return; } if ($minutes > 0) { var$7 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$7, var$7 + 1 | 0); $buffer.$buffer.data[var$7] = 43; } else { $minutes = -$minutes | 0; var$7 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$7, var$7 + 1 | 0); $buffer.$buffer.data[var$7] = 45; } $hours = $minutes / 60 | 0; var$7 = $minutes % 60 | 0; $minutes = $hours / 10 | 0; jl_AbstractStringBuilder_insert0($buffer, $buffer.$length0, $minutes, 10); $minutes = $hours % 10 | 0; jl_AbstractStringBuilder_insert0($buffer, $buffer.$length0, $minutes, 10); if ($this.$size7 >= 3) { $hours = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $hours, $hours + 1 | 0); $buffer.$buffer.data[$hours] = 58; } if ($this.$size7 > 1) { $minutes = var$7 / 10 | 0; jl_AbstractStringBuilder_insert0($buffer, $buffer.$length0, $minutes, 10); $minutes = var$7 % 10 | 0; jl_AbstractStringBuilder_insert0($buffer, $buffer.$length0, $minutes, 10); } }, jt_DateFormatElement$Iso8601Timezone_equals = ($this, $o) => { let $that, var$3, var$4; if ($this === $o) return 1; if ($o !== null) { $that = $this.constructor; if ($that === null) var$3 = null; else { var$3 = $that.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $that; $that.classObject = var$3; } } var$4 = $o.constructor; if (var$4 === null) $that = null; else { $that = var$4.classObject; if ($that === null) { $that = new jl_Class; $that.$platformClass = var$4; var$4.classObject = $that; } } if (var$3 === $that) { $that = $o; return $this.$size7 != $that.$size7 ? 0 : 1; } } return 0; }, jt_DateFormatElement$Iso8601Timezone_hashCode = $this => { let var$1, var$2, var$3, var$4; var$1 = $rt_createArray(jl_Object, 1); var$2 = $this.$size7; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } var$1 = var$1.data; var$1[0] = var$3; var$4 = 1; var$2 = 0; while (var$2 < var$1.length) { var$4 = 31 * var$4 | 0; var$3 = var$1[var$2]; var$4 = var$4 + (var$3 === null ? 0 : var$3.$value0) | 0; var$2 = var$2 + 1 | 0; } return var$4; }; function jt_DateFormatElement$MonthText() { let a = this; jt_DateFormatElement.call(a); a.$months = null; a.$shortMonths = null; a.$abbreviated = 0; } let jt_DateFormatElement$MonthText_format = ($this, $date, $buffer) => { let $month; if (!$date.$isTimeSet) { ju_GregorianCalendar_computeTime($date); $date.$isTimeSet = 1; } if (!$date.$areFieldsSet) { ju_GregorianCalendar_computeFields($date); $date.$areFieldsSet = 1; } $month = $date.$fields.data[2]; $date = !$this.$abbreviated ? $this.$months.data[$month] : $this.$shortMonths.data[$month]; jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $date); }, jt_DateFormatElement$MonthText_equals = ($this, $o) => { let $monthText, var$3, var$4; if ($this === $o) return 1; if ($o !== null) { $monthText = $this.constructor; if ($monthText === null) var$3 = null; else { var$3 = $monthText.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $monthText; $monthText.classObject = var$3; } } var$4 = $o.constructor; if (var$4 === null) $monthText = null; else { $monthText = var$4.classObject; if ($monthText === null) { $monthText = new jl_Class; $monthText.$platformClass = var$4; var$4.classObject = $monthText; } } if (var$3 === $monthText) { $monthText = $o; return $this.$abbreviated == $monthText.$abbreviated && ju_Arrays_equals($this.$months, $monthText.$months) && ju_Arrays_equals($this.$shortMonths, $monthText.$shortMonths) ? 1 : 0; } } return 0; }, jt_DateFormatElement$MonthText_hashCode = $this => { let var$1, var$2, var$3, var$4; var$1 = $rt_createArray(jl_Object, 3).data; var$1[0] = $this.$months; var$1[1] = $this.$shortMonths; var$1[2] = !$this.$abbreviated ? jl_Boolean_FALSE : jl_Boolean_TRUE; var$2 = 1; var$3 = 0; while (var$3 < var$1.length) { var$2 = 31 * var$2 | 0; var$4 = var$1[var$3]; var$2 = var$2 + (var$4 === null ? 0 : !var$4.$value9 ? 1237 : 1231) | 0; var$3 = var$3 + 1 | 0; } return var$2; }, jt_DateFormatElement$NumericMonth = $rt_classWithoutFields(jt_DateFormatElement$Numeric), jt_DateFormatElement$NumericMonth_processBeforeFormat = ($this, $num) => { return $num + 1 | 0; }, jm_BitLevel = $rt_classWithoutFields(), jm_BitLevel__init_ = $this => { return; }, jm_BitLevel__init_0 = () => { let var_0 = new jm_BitLevel(); jm_BitLevel__init_(var_0); return var_0; }, jm_BitLevel_bitLength = $val => { let $i, var$3, $bLength, var$5, var$6, $highDigit; $i = $val.$sign1; if (!$i) return 0; var$3 = $val.$numberLength; $bLength = var$3 << 5; var$5 = $val.$digits.data; var$6 = var$3 - 1 | 0; $highDigit = var$5[var$6]; if ($i < 0) { if ($val.$firstNonzeroDigit == (-2)) { if (!$i) $i = (-1); else { $i = 0; while (!var$5[$i]) { $i = $i + 1 | 0; } } $val.$firstNonzeroDigit = $i; } if ($val.$firstNonzeroDigit == var$6) $highDigit = $highDigit + (-1) | 0; } return $bLength - jl_Integer_numberOfLeadingZeros($highDigit) | 0; }, jm_BitLevel_nonZeroDroppedBits = ($numberOfBits, $digits) => { let $intCount, $bitCount, $i; $intCount = $numberOfBits >> 5; $bitCount = $numberOfBits & 31; $i = 0; while (true) { $numberOfBits = $rt_compare($i, $intCount); if ($numberOfBits >= 0) break; if ($digits.data[$i]) break; $i = $i + 1 | 0; } return !$numberOfBits && !($digits.data[$i] << (32 - $bitCount | 0)) ? 0 : 1; }, jm_BitLevel_shiftLeft = ($result, $source, $intCount, $count) => { let var$5, $rightShiftCount, $i, var$8, $i_0, var$10; a: { if (!$count) jl_System_fastArraycopy($source, 0, $result, $intCount, $result.data.length - $intCount | 0); else { var$5 = $result.data; $rightShiftCount = 32 - $count | 0; $i = var$5.length - 1 | 0; var$5[$i] = 0; while (true) { if ($i <= $intCount) break a; var$8 = $source.data; $i_0 = var$5[$i]; var$10 = ($i - $intCount | 0) - 1 | 0; var$5[$i] = $i_0 | (var$8[var$10] >>> $rightShiftCount | 0); var$5[$i - 1 | 0] = var$8[var$10] << $count; $i = $i + (-1) | 0; } } } $i_0 = 0; while ($i_0 < $intCount) { $result.data[$i_0] = 0; $i_0 = $i_0 + 1 | 0; } }, jm_BitLevel_shiftRight = ($source, $count) => { let $intCount, $resLength, var$5, $resDigits, var$7, $i, var$9, var$10, var$11, $result; $intCount = $count >> 5; $count = $count & 31; $resLength = $source.$numberLength; if ($intCount >= $resLength) return $source.$sign1 >= 0 ? jm_BigInteger_ZERO : jm_BigInteger_MINUS_ONE; a: { $resLength = $resLength - $intCount | 0; var$5 = $resLength + 1 | 0; $resDigits = $rt_createIntArray(var$5); jm_BitLevel_shiftRight0($resDigits, $resLength, $source.$digits, $intCount, $count); var$7 = $source.$sign1; if (var$7 >= 0) var$5 = $resLength; else { $i = 0; while (true) { var$9 = $rt_compare($i, $intCount); if (var$9 >= 0) break; if ($source.$digits.data[$i]) break; $i = $i + 1 | 0; } if (var$9 >= 0) { if ($count <= 0) { var$5 = $resLength; break a; } if (!($source.$digits.data[$i] << (32 - $count | 0))) { var$5 = $resLength; break a; } } var$10 = $resDigits.data; var$11 = 0; while (true) { $i = $rt_compare(var$11, $resLength); if ($i >= 0) break; if (var$10[var$11] != (-1)) break; var$10[var$11] = 0; var$11 = var$11 + 1 | 0; } if ($i) var$5 = $resLength; var$10[var$11] = var$10[var$11] + 1 | 0; } } $result = new jm_BigInteger; $result.$firstNonzeroDigit = (-2); $result.$sign1 = var$7; $result.$numberLength = var$5; $result.$digits = $resDigits; jm_BigInteger_cutOffLeadingZeroes($result); return $result; }, jm_BitLevel_shiftRight0 = ($result, $resultLen, $source, $intCount, $count) => { let $allZero, $i, var$8, $leftShiftCount, var$10, var$11; $allZero = 1; $i = 0; while ($i < $intCount) { $allZero = $allZero & ($source.data[$i] ? 0 : 1); $i = $i + 1 | 0; } if (!$count) jl_System_fastArraycopy($source, $intCount, $result, 0, $resultLen); else { var$8 = $source.data; $leftShiftCount = 32 - $count | 0; $allZero = $allZero & (var$8[$i] << $leftShiftCount ? 0 : 1); var$10 = 0; var$11 = $resultLen - 1 | 0; while (var$10 < var$11) { $source = $result.data; $resultLen = var$10 + $intCount | 0; $source[var$10] = (var$8[$resultLen] >>> $count | 0) | var$8[$resultLen + 1 | 0] << $leftShiftCount; var$10 = var$10 + 1 | 0; } $result.data[var$10] = var$8[var$10 + $intCount | 0] >>> $count | 0; } return $allZero; }, ju_ConcurrentModificationException = $rt_classWithoutFields(jl_RuntimeException), ju_ConcurrentModificationException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, ju_ConcurrentModificationException__init_0 = () => { let var_0 = new ju_ConcurrentModificationException(); ju_ConcurrentModificationException__init_(var_0); return var_0; }; function ju_WeakHashMap() { let a = this; ju_AbstractMap.call(a); a.$referenceQueue = null; a.$elementCount1 = 0; a.$elementData0 = null; a.$loadFactor0 = 0; a.$threshold2 = 0; a.$modCount4 = 0; } let ju_WeakHashMap__init_ = $this => { let var$1, var$2; $this.$elementCount1 = 0; var$1 = $rt_createArray(ju_WeakHashMap$Entry, 16); var$2 = var$1.data; $this.$elementData0 = var$1; $this.$loadFactor0 = 7500; $this.$threshold2 = Long_lo(Long_div(Long_mul(Long_fromInt(var$2.length), Long_fromInt(7500)), Long_fromInt(10000))); $this.$referenceQueue = jlr_ReferenceQueue__init_0(); }, ju_WeakHashMap__init_0 = () => { let var_0 = new ju_WeakHashMap(); ju_WeakHashMap__init_(var_0); return var_0; }, ju_WeakHashMap_get = ($this, $key) => { let $entry, $index, var$4; while (true) { $entry = jlr_ReferenceQueue_poll($this.$referenceQueue); if ($entry === null) break; ju_WeakHashMap_removeEntry($this, $entry); } if ($key === null) { $entry = $this.$elementData0.data[0]; while ($entry !== null) { if ($entry.$isNull) return $entry.$value12; $entry = $entry.$next7; } return null; } $index = $key.$hashCode() & 2147483647; var$4 = $this.$elementData0.data; $entry = var$4[$index % var$4.length | 0]; while ($entry !== null) { if ($key.$equals(jlr_WeakReference_get($entry))) return $entry.$value12; $entry = $entry.$next7; } return null; }, ju_WeakHashMap_removeEntry = ($this, $toRemove) => { let $last, var$3, var$4, $index, $entry, $entry_0; $last = null; var$3 = $toRemove.$hash0 & 2147483647; var$4 = $this.$elementData0.data; $index = var$3 % var$4.length | 0; $entry = var$4[$index]; a: { while (true) { if ($entry === null) break a; if ($toRemove === $entry) break; $entry_0 = $entry.$next7; $last = $entry; $entry = $entry_0; } $this.$modCount4 = $this.$modCount4 + 1 | 0; if ($last !== null) $last.$next7 = $entry.$next7; else var$4[$index] = $entry.$next7; $this.$elementCount1 = $this.$elementCount1 - 1 | 0; } }, ju_WeakHashMap_put = ($this, $key, $value) => { let $entry, $index, var$5, var$6, $result; while (true) { $entry = jlr_ReferenceQueue_poll($this.$referenceQueue); if ($entry === null) break; ju_WeakHashMap_removeEntry($this, $entry); } a: { $index = 0; if ($key === null) { $entry = $this.$elementData0.data[0]; while ($entry !== null) { if ($entry.$isNull) break a; $entry = $entry.$next7; } } else { var$5 = $key.$hashCode() & 2147483647; var$6 = $this.$elementData0.data; $index = var$5 % var$6.length | 0; $entry = var$6[$index]; while ($entry !== null) { if ($key.$equals(jlr_WeakReference_get($entry))) break a; $entry = $entry.$next7; } } } if ($entry !== null) { $result = $entry.$value12; $entry.$value12 = $value; return $result; } $this.$modCount4 = $this.$modCount4 + 1 | 0; var$5 = $this.$elementCount1 + 1 | 0; $this.$elementCount1 = var$5; if (var$5 > $this.$threshold2) { ju_WeakHashMap_rehash($this); $index = $key === null ? 0 : ($key.$hashCode() & 2147483647) % $this.$elementData0.data.length | 0; } $entry = new ju_WeakHashMap$Entry; jlr_WeakReference__init_($entry, $key, $this.$referenceQueue); var$5 = $key !== null ? 0 : 1; $entry.$isNull = var$5; $entry.$hash0 = !var$5 ? $key.$hashCode() : 0; $entry.$value12 = $value; var$6 = $this.$elementData0.data; $entry.$next7 = var$6[$index]; var$6[$index] = $entry; return null; }, ju_WeakHashMap_rehash = $this => { let var$1, var$2, $length, $newData, var$5, var$6, $entry, $index, $entry_0; var$1 = $this.$elementData0.data; var$2 = var$1.length; $length = var$2 << 1; if (!$length) $length = 1; $newData = $rt_createArray(ju_WeakHashMap$Entry, $length); var$5 = $newData.data; var$6 = 0; while (var$6 < var$2) { $entry = var$1[var$6]; while ($entry !== null) { $index = $entry.$isNull ? 0 : ($entry.$hash0 & 2147483647) % $length | 0; $entry_0 = $entry.$next7; $entry.$next7 = var$5[$index]; var$5[$index] = $entry; $entry = $entry_0; } var$6 = var$6 + 1 | 0; } $this.$elementData0 = $newData; $this.$threshold2 = Long_lo(Long_div(Long_mul(Long_fromInt(var$5.length), Long_fromInt($this.$loadFactor0)), Long_fromInt(10000))); }; function jnc_CharsetEncoder() { let a = this; jl_Object.call(a); a.$charset0 = null; a.$replacement1 = null; a.$averageBytesPerChar = 0.0; a.$maxBytesPerChar = 0.0; a.$malformedAction0 = null; a.$unmappableAction = null; a.$status1 = 0; } let jnc_CharsetEncoder_onMalformedInput = ($this, $newAction) => { let var$2; if ($newAction !== null) { $this.$malformedAction0 = $newAction; return $this; } var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(1839); $rt_throw(var$2); }, jnc_CharsetEncoder_implOnMalformedInput = ($this, $newAction) => { return; }, jnc_CharsetEncoder_onUnmappableCharacter = ($this, $newAction) => { let var$2; if ($newAction !== null) { $this.$unmappableAction = $newAction; return $this; } var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(1839); $rt_throw(var$2); }, jnc_CharsetEncoder_implOnUnmappableCharacter = ($this, $newAction) => { return; }, jnc_CharsetEncoder_encode0 = ($this, $in, $out, $endOfInput) => { let $remaining, $result, $e, $action, var$8, var$9, var$10, $$je; a: { $remaining = $this.$status1; if ($remaining != 3) { if ($endOfInput) break a; if ($remaining != 2) break a; } $in = new jl_IllegalStateException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); } $this.$status1 = !$endOfInput ? 1 : 2; while (true) { try { $result = jnci_BufferedEncoder_encodeLoop($this, $in, $out); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_RuntimeException) { $e = $$je; $in = new jnc_CoderMalfunctionError; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $in.$cause = $e; $rt_throw($in); } else { throw $$e; } } $remaining = $result.$kind; if ($remaining ? 0 : 1) { if (!$endOfInput) return $result; $remaining = $in.$limit0 - $in.$position0 | 0; if ($remaining <= 0) return $result; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = $remaining; } else if ($remaining != 1 ? 0 : 1) break; $action = !($result.$kind != 3 ? 0 : 1) ? $this.$malformedAction0 : $this.$unmappableAction; b: { if ($action !== jnc_CodingErrorAction_REPLACE) { if ($action === jnc_CodingErrorAction_IGNORE) break b; else return $result; } var$8 = $out.$limit0 - $out.$position0 | 0; var$9 = $this.$replacement1; $remaining = var$9.data.length; if (var$8 < $remaining) return jnc_CoderResult_OVERFLOW; jn_ByteBuffer_put($out, var$9, 0, $remaining); } var$10 = $in.$position0; $remaining = $result.$kind; var$8 = $remaining != 2 ? 0 : 1; if (!(!var$8 && !($remaining != 3 ? 0 : 1) ? 0 : 1)) { $in = new jl_UnsupportedOperationException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); } jn_Buffer_position($in, var$10 + $result.$length1 | 0); } return $result; }, jnc_CharsetEncoder_encode = ($this, $in) => { let var$2, var$3, var$4, $output, $result, var$7, var$8, var$9, var$10, $output_0; var$2 = $in.$limit0 - $in.$position0 | 0; if (!var$2) { $in = new jn_ByteBufferImpl; var$3 = $rt_createByteArray(0); $in.$mark = (-1); $in.$capacity = 0; $in.$limit0 = 0; $in.$order = jn_ByteOrder_BIG_ENDIAN; $in.$start = 0; $in.$array0 = var$3; $in.$position0 = 0; $in.$limit0 = 0; $in.$direct = 0; $in.$readOnly0 = 0; return $in; } $this.$status1 = 0; var$4 = var$2 * $this.$averageBytesPerChar | 0; if (var$4 < 0) { $in = new jl_IllegalArgumentException; $output = new jl_StringBuilder; $output.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($output, $output.$length0, $rt_s(760)); jl_AbstractStringBuilder_insert0($output, $output.$length0, var$4, 10); $result = new jl_String; var$3 = $output.$buffer; var$7 = var$3.data; var$2 = $output.$length0; var$8 = var$7.length; if (var$2 >= 0 && var$2 <= (var$8 - 0 | 0)) { $result.$nativeString = $rt_charArrayToString(var$3.data, 0, var$2); $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $in.$message = $result; $rt_throw($in); } $in = new jl_IndexOutOfBoundsException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); } $output = new jn_ByteBufferImpl; var$3 = $rt_createByteArray(var$4); $output.$mark = (-1); $output.$capacity = var$4; $output.$limit0 = var$4; $output.$order = jn_ByteOrder_BIG_ENDIAN; $output.$start = 0; $output.$array0 = var$3; $output.$position0 = 0; $output.$limit0 = var$4; $output.$direct = 0; $output.$readOnly0 = 0; while (true) { $result = jnc_CharsetEncoder_encode0($this, $in, $output, 0); if ($result === jnc_CoderResult_UNDERFLOW) { $in = jnc_CharsetEncoder_encode0($this, $in, $output, 1); var$2 = $in.$kind; var$4 = var$2 != 2 ? 0 : 1; var$4 = !var$4 && !(var$2 != 3 ? 0 : 1) ? 0 : 1; a: { if (var$4) { switch (var$2) { case 0: break; case 1: $in = new jnc_BufferOverflowException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); case 2: $output = new jnc_MalformedInputException; var$4 = $in.$length1; $output.$suppressionEnabled = 1; $output.$writableStackTrace = 1; $output.$length6 = var$4; $rt_throw($output); case 3: $output = new jnc_UnmappableCharacterException; var$4 = $in.$length1; $output.$suppressionEnabled = 1; $output.$writableStackTrace = 1; $output.$length5 = var$4; $rt_throw($output); default: break a; } $in = new jnc_BufferUnderflowException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); } } b: { while (true) { var$2 = $this.$status1; if (var$2 != 2 && var$2 != 4) { $in = new jl_IllegalStateException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); } $in = jnc_CoderResult_UNDERFLOW; if ($in === $in) $this.$status1 = 3; var$2 = $in.$kind; if (var$2 ? 0 : 1) break; if (!(var$2 != 1 ? 0 : 1)) continue; var$9 = $output.$array0.data; var$2 = var$9.length; var$8 = var$2 * 2 | 0; var$7 = $rt_createByteArray(var$8); if (var$8 < var$2) var$2 = var$8; var$3 = var$7.data; var$8 = 0; while (var$8 < var$2) { var$3[var$8] = var$9[var$8]; var$8 = var$8 + 1 | 0; } var$2 = var$3.length; if (var$2 < 0) break b; if (var$2 > (var$2 - 0 | 0)) break b; $in = new jn_ByteBufferImpl; var$10 = 0 + var$2 | 0; $in.$mark = (-1); $in.$capacity = var$2; $in.$limit0 = var$2; $in.$order = jn_ByteOrder_BIG_ENDIAN; $in.$start = 0; $in.$array0 = var$7; $in.$position0 = 0; $in.$limit0 = var$10; $in.$direct = 0; $in.$readOnly0 = 0; jn_Buffer_position($in, $output.$position0); $output = $in; } $output.$limit0 = $output.$position0; $output.$position0 = 0; $output.$mark = (-1); return $output; } $in = new jl_IndexOutOfBoundsException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); } if ($result === jnc_CoderResult_OVERFLOW) { var$7 = $output.$array0.data; var$2 = var$7.length; var$4 = var$2 * 2 | 0; var$3 = $rt_createByteArray(var$4); if (var$4 < var$2) var$2 = var$4; var$9 = var$3.data; var$4 = 0; while (var$4 < var$2) { var$9[var$4] = var$7[var$4]; var$4 = var$4 + 1 | 0; } var$2 = var$9.length; if (var$2 < 0) break; if (var$2 > (var$2 - 0 | 0)) break; $output_0 = new jn_ByteBufferImpl; var$10 = 0 + var$2 | 0; $output_0.$mark = (-1); $output_0.$capacity = var$2; $output_0.$limit0 = var$2; $output_0.$order = jn_ByteOrder_BIG_ENDIAN; $output_0.$start = 0; $output_0.$array0 = var$3; $output_0.$position0 = 0; $output_0.$limit0 = var$10; $output_0.$direct = 0; $output_0.$readOnly0 = 0; jn_Buffer_position($output_0, $output.$position0); $output = $output_0; continue; } var$2 = $result.$kind; var$4 = var$2 != 2 ? 0 : 1; if (!(!var$4 && !(var$2 != 3 ? 0 : 1) ? 0 : 1)) continue; switch (var$2) { case 0: $in = new jnc_BufferUnderflowException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); case 1: $in = new jnc_BufferOverflowException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); case 2: $in = new jnc_MalformedInputException; var$4 = $result.$length1; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $in.$length6 = var$4; $rt_throw($in); case 3: $in = new jnc_UnmappableCharacterException; var$4 = $result.$length1; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $in.$length5 = var$4; $rt_throw($in); default: } } $in = new jl_IndexOutOfBoundsException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); }, jnc_CharsetEncoder_implFlush = ($this, $out) => { return jnc_CoderResult_UNDERFLOW; }, jnc_CharsetEncoder_implReset = $this => { return; }; function nleav_VFile() { jl_Object.call(this); this.$path0 = null; } let nleav_VFile_altPathSeperator = null, nleav_VFile_normalizePath = $p => { let $i, var$3; $i = 0; while (true) { var$3 = nleav_VFile_altPathSeperator.data; if ($i >= var$3.length) break; $p = jl_String_replace($p, var$3[$i], $rt_s(192)); $i = $i + 1 | 0; } if ($p === $rt_s(192) ? 1 : jl_String_startsWith($p, $rt_s(192), 0)) $p = jl_String_substring($p, 1, $p.$nativeString.length); if (jl_String_endsWith($p, $rt_s(192))) $p = jl_String_substring($p, 0, $p.$nativeString.length - $rt_s(192).$nativeString.length | 0); return $p; }, nleav_VFile_createPath = $p => { let $r, $i, var$4, $s, $j, var$7, $gg, var$9, $k, var$11; $r = new ju_ArrayList; $r.$array = $rt_createArray(jl_Object, 10); $i = 0; a: while (true) { var$4 = $p.data; if ($i >= var$4.length) { if ($r.$size0 <= 0) return null; $s = new jl_StringBuilder; $s.$buffer = $rt_createCharArray(16); $i = 0; while (true) { if ($i >= $r.$size0) { $r = new jl_String; $p = $s.$buffer; var$4 = $p.data; $j = $s.$length0; var$7 = var$4.length; if ($j >= 0 && $j <= (var$7 - 0 | 0)) { $r.$nativeString = $rt_charArrayToString($p.data, 0, $j); return $r; } $r = new jl_IndexOutOfBoundsException; $r.$suppressionEnabled = 1; $r.$writableStackTrace = 1; $rt_throw($r); } if ($i > 0) jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(192)); if ($i < 0) break; if ($i >= $r.$size0) break; $gg = $r.$array.data[$i]; jl_AbstractStringBuilder_insert($s, $s.$length0, $gg); $i = $i + 1 | 0; } $r = new jl_IndexOutOfBoundsException; $r.$suppressionEnabled = 1; $r.$writableStackTrace = 1; $rt_throw($r); } b: { if (var$4[$i] !== null) { $gg = var$4[$i].$toString(); if ($gg !== null) { $gg = nleav_VFile_normalizePath($gg); var$9 = jur_Pattern_split(jur_Pattern_compile($rt_s(192), 0), $gg, 0); $j = 0; while (true) { var$4 = var$9.data; var$7 = var$4.length; if ($j >= var$7) break; var$4[$j] = jl_String_trim(var$4[$j]); $j = $j + 1 | 0; } $j = 0; while (true) { if ($j >= var$7) break b; c: { if (var$4[$j] !== null) { $gg = var$4[$j]; if ($gg === $rt_s(129)) $k = 1; else if (!($rt_s(129) instanceof jl_String)) $k = 0; else { $s = $rt_s(129); $k = $gg.$nativeString !== $s.$nativeString ? 0 : 1; } if (!$k) { $s = var$4[$j]; if ($s === $rt_s(1397)) $k = 1; else if (!($rt_s(1397) instanceof jl_String)) $k = 0; else { $gg = $rt_s(1397); $k = $s.$nativeString !== $gg.$nativeString ? 0 : 1; } if ($k) { var$11 = $r.$size0; if (var$11 > 0) { $k = var$11 - 1 | 0; if ($k < 0) break a; if ($k >= var$11) break a; $s = $r.$array.data[$k]; if ($s === $rt_s(1397)) var$11 = 1; else if (!($rt_s(1397) instanceof jl_String)) var$11 = 0; else { $gg = $rt_s(1397); var$11 = $s.$nativeString !== $gg.$nativeString ? 0 : 1; } if (!var$11) ju_ArrayList_remove($r, $k); else { ju_ArrayList_ensureCapacity($r, $r.$size0 + 1 | 0); var$9 = $r.$array.data; var$11 = $r.$size0; $r.$size0 = var$11 + 1 | 0; var$9[var$11] = $rt_s(1397); $r.$modCount = $r.$modCount + 1 | 0; } break c; } } $s = var$4[$j]; ju_ArrayList_ensureCapacity($r, $r.$size0 + 1 | 0); var$9 = $r.$array.data; var$11 = $r.$size0; $r.$size0 = var$11 + 1 | 0; var$9[var$11] = $s; $r.$modCount = $r.$modCount + 1 | 0; } } } $j = $j + 1 | 0; } } } } $i = $i + 1 | 0; } $r = new jl_IndexOutOfBoundsException; $r.$suppressionEnabled = 1; $r.$writableStackTrace = 1; $rt_throw($r); }, nleav_VFile__init_0 = ($this, $p) => { $this.$path0 = nleav_VFile_createPath($p); }, nleav_VFile__init_ = var_0 => { let var_1 = new nleav_VFile(); nleav_VFile__init_0(var_1, var_0); return var_1; }, nleav_VFile_toString = $this => { return $this.$path0; }, nleav_VFile_hashCode = $this => { let var$1, var$2; var$1 = $this.$path0; if (var$1 === null) var$2 = 0; else { a: { if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$2 = var$1.$hashCode1; } return var$2; }, nleav_VFile_equals = ($this, $o) => { let var$2, var$3; a: { var$2 = $this.$path0; if (var$2 !== null && $o !== null && $o instanceof nleav_VFile) { $o = $o.$path0; if (var$2 === $o) var$3 = 1; else if (!($o instanceof jl_String)) var$3 = 0; else { $o = $o; var$3 = var$2.$nativeString !== $o.$nativeString ? 0 : 1; } if (var$3) { var$3 = 1; break a; } } var$3 = 0; } return var$3; }, nleav_VFile_setAllBytes = ($this, $bytes) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$bytes = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$path0; if (var$2 !== null && !jl_String_contains(var$2, $rt_s(1397)) ? 0 : 1) return 0; $ptr = 1; case 1: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } var$3 = nleav_SYS_VFS; var$2 = $this.$path0; var$4 = var$3.$fileMap; if (var$2 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { if (!var$2.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$2.$nativeString.length) break a; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$2.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { b: { var$8 = var$4.$key; if (var$2 !== var$8) { if (var$2 === var$8) var$5 = 1; else if (!(var$8 instanceof jl_String)) var$5 = 0; else { var$8 = var$8; var$5 = var$2.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break b; } } var$5 = 1; } if (var$5) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; if (var$4 === null) { var$8 = var$3.$fileMap; var$4 = new nleav_VirtualFilesystem$VFSFile; var$4.$fileSize = (-1); var$4.$hasBeenDeleted = 0; var$4.$hasBeenAccessed = 0; var$4.$exists = 0; var$4.$cache = null; var$4.$virtualFilesystem = var$3; var$4.$filePath = var$2; nlea_EaglerAdapterImpl2_$callClinit(); var$4.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$8, var$2, var$4); } var$5 = 1; $ptr = 2; case 2: $tmp = nleav_VirtualFilesystem$VFSFile_setAllBytes(var$4, $bytes, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; return var$5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $bytes, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nleav_VFile__clinit_ = () => { let var$1; var$1 = $rt_createArray(jl_String, 1); var$1.data[0] = $rt_s(95); nleav_VFile_altPathSeperator = var$1; }; function nms_IntHashMap() { let a = this; jl_Object.call(a); a.$slots = null; a.$count5 = 0; a.$threshold1 = 0; a.$growFactor = 0.75; a.$versionStamp = 0; a.$keySet0 = null; } let nms_IntHashMap__init_0 = $this => { let var$1, var$2, var$3, var$4, var$5; $this.$slots = $rt_createArray(nms_IntHashMapEntry, 16); $this.$threshold1 = 12; $this.$growFactor = 0.75; var$1 = new ju_HashSet; var$2 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$4.data; var$2.$elementData = var$4; var$2.$loadFactor = 0.75; var$2.$threshold = var$5.length * 0.75 | 0; var$1.$backingMap = var$2; $this.$keySet0 = var$1; }, nms_IntHashMap__init_ = () => { let var_0 = new nms_IntHashMap(); nms_IntHashMap__init_0(var_0); return var_0; }, nms_IntHashMap_lookup = ($this, $par1) => { let $var2, var$3, $var3; $var2 = $par1 ^ ($par1 >>> 20 | 0) ^ ($par1 >>> 12 | 0); $var2 = $var2 ^ ($var2 >>> 7 | 0) ^ ($var2 >>> 4 | 0); var$3 = $this.$slots.data; $var3 = var$3[$var2 & (var$3.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$hashEntry == $par1) return $var3.$valueEntry; $var3 = $var3.$nextEntry; } return null; }, nms_IntHashMap_addKey = ($this, $par1, $par2Obj) => { let var$3, var$4, var$5, $var3, var$7, $var4, $var5; var$3 = $this.$keySet0; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = $par1; } ju_HashMap_putImpl(var$3.$backingMap, var$4, var$3); var$5 = $par1 ^ ($par1 >>> 20 | 0) ^ ($par1 >>> 12 | 0); $var3 = var$5 ^ (var$5 >>> 7 | 0) ^ (var$5 >>> 4 | 0); var$7 = $this.$slots.data; $var4 = $var3 & (var$7.length - 1 | 0); $var5 = var$7[$var4]; while (true) { if ($var5 === null) { $this.$versionStamp = $this.$versionStamp + 1 | 0; nms_IntHashMap_insert($this, $var3, $par1, $par2Obj, $var4); return; } if ($var5.$hashEntry == $par1) break; $var5 = $var5.$nextEntry; } $var5.$valueEntry = $par2Obj; }, nms_IntHashMap_copyTo = ($this, $par1ArrayOfIntHashMapEntry) => { let $var2, $var3, $var4, var$5, $var5, $var6, $var7; $par1ArrayOfIntHashMapEntry = $par1ArrayOfIntHashMapEntry.data; $var2 = $this.$slots; $var3 = $par1ArrayOfIntHashMapEntry.length; $var4 = 0; $var3 = $var3 - 1 | 0; while (true) { var$5 = $var2.data; if ($var4 >= var$5.length) break; a: { $var5 = var$5[$var4]; if ($var5 !== null) { var$5[$var4] = null; while (true) { $var6 = $var5.$nextEntry; $var7 = $var5.$slotHash & $var3; $var5.$nextEntry = $par1ArrayOfIntHashMapEntry[$var7]; $par1ArrayOfIntHashMapEntry[$var7] = $var5; if ($var6 === null) break a; $var5 = $var6; } } } $var4 = $var4 + 1 | 0; } }, nms_IntHashMap_removeEntry = ($this, $par1) => { let var$2, $var2, var$4, $var3, $var5, var$7, $var5_0; var$2 = $par1 ^ ($par1 >>> 20 | 0) ^ ($par1 >>> 12 | 0); $var2 = var$2 ^ (var$2 >>> 7 | 0) ^ (var$2 >>> 4 | 0); var$4 = $this.$slots.data; $var3 = $var2 & (var$4.length - 1 | 0); $var5 = var$4[$var3]; var$7 = $var5; while ($var5 !== null) { $var5_0 = $var5.$nextEntry; if ($var5.$hashEntry == $par1) { $this.$versionStamp = $this.$versionStamp + 1 | 0; $this.$count5 = $this.$count5 - 1 | 0; if (var$7 !== $var5) var$7.$nextEntry = $var5_0; else var$4[$var3] = $var5_0; return $var5; } var$7 = $var5; $var5 = $var5_0; } return $var5; }, nms_IntHashMap_insert = ($this, $par1, $par2, $par3Obj, $par4) => { let var$5, $var5, var$7; var$5 = $this.$slots.data; $var5 = var$5[$par4]; var$7 = new nms_IntHashMapEntry; var$7.$valueEntry = $par3Obj; var$7.$nextEntry = $var5; var$7.$hashEntry = $par2; var$7.$slotHash = $par1; var$5[$par4] = var$7; $par1 = $this.$count5; $this.$count5 = $par1 + 1 | 0; if ($par1 >= $this.$threshold1) { $par2 = var$5.length; $par1 = 2 * $par2 | 0; if ($par2 == 1073741824) $this.$threshold1 = 2147483647; else { var$5 = $rt_createArray(nms_IntHashMapEntry, $par1); nms_IntHashMap_copyTo($this, var$5); $this.$slots = var$5; $this.$threshold1 = $par1 * 0.75 | 0; } } }, nms_IconRegister = $rt_classWithoutFields(0), nms_IconRegister_registerIcon = ($this, $var1) => { return $this.$registerIcon($var1, 1); }; function nle_TextureTerrainMap() { let a = this; jl_Object.call(a); a.$basePath0 = null; a.$width9 = 0; a.$height8 = 0; a.$missingImage = null; a.$iconList = null; a.$texture = 0; a.$missingData = null; a.$copyFramebuffer = null; a.$nextSlot = null; } let nle_TextureTerrainMap_uploadBuffer = null, nle_TextureTerrainMap_$callClinit = () => { nle_TextureTerrainMap_$callClinit = $rt_eraseClinit(nle_TextureTerrainMap); nle_TextureTerrainMap__clinit_(); }, nle_TextureTerrainMap__init_ = ($this, $size, $par2, $par3Str, $par4BufferedImage) => { let var$5, var$6, $i, $blank, $levelW, $levelH, var$11, var$12, var$13, $j; nle_TextureTerrainMap_$callClinit(); var$5 = $rt_createIntArray(3); var$6 = var$5.data; $this.$nextSlot = var$5; $this.$width9 = $size; $this.$height8 = $size; $this.$basePath0 = $par3Str; $par2 = new nle_TextureTerrainMap$TerrainIconV2; $i = var$6[1]; var$6[1] = $i + 1 | 0; nle_TextureTerrainMap$TerrainIconV2__init_($par2, $i, 1, $this, null); $this.$missingImage = $par2; $par2 = new ju_ArrayList; $par2.$array = $rt_createArray(jl_Object, 10); $this.$iconList = $par2; nleg_EaglerAdapterGL30_$callClinit(); $par2 = nleg_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); $par3Str = new nlea_EaglerAdapterImpl2$TextureGL; $blank = nlea_EaglerAdapterImpl2_webgl.createTexture(); $par3Str.$w1 = (-1); $par3Str.$h0 = (-1); $par3Str.$nearest = 1; $par3Str.$anisotropic = 0; $par3Str.$obj1 = $blank; $this.$texture = nleg_GLObjectMap_register($par2, $par3Str); $par2 = new nlea_EaglerAdapterImpl2$FramebufferGL; $par2.$obj5 = nlea_EaglerAdapterImpl2_webgl.createFramebuffer(); $this.$copyFramebuffer = $par2; nleg_EaglerAdapterGL30_glBindTexture(3553, $this.$texture); $levelW = $this.$width9; $levelH = $this.$height8; $size = $rt_imul($levelW, $levelH); $i = nleg_EaglerAdapterGL30_isWebGL; if ($i) { var$5 = $rt_createIntArray($size); $i = var$5.data.length; $blank = new jn_IntBufferOverArray; var$11 = 0 + $i | 0; $blank.$mark = (-1); $blank.$capacity = $i; $blank.$limit0 = $i; $blank.$position0 = 0; $blank.$limit0 = var$11; $blank.$start3 = 0; $blank.$readOnly3 = 0; $blank.$array4 = var$5; } else { a: { var$12 = $size << 2; if ($i) { var$5 = $rt_createByteArray(var$12); $i = var$5.data.length; if ($i >= 0 && $i <= ($i - 0 | 0)) { $par2 = new jn_ByteBufferImpl; var$13 = 0 + $i | 0; $par2.$mark = (-1); $par2.$capacity = $i; $par2.$limit0 = $i; $par2.$order = jn_ByteOrder_BIG_ENDIAN; $par2.$start = 0; $par2.$array0 = var$5; $par2.$position0 = 0; $par2.$limit0 = var$13; $par2.$direct = 0; $par2.$readOnly0 = 0; break a; } $par2 = new jl_IndexOutOfBoundsException; $par2.$suppressionEnabled = 1; $par2.$writableStackTrace = 1; $rt_throw($par2); } if (var$12 < 0) { $par2 = new jl_IllegalArgumentException; $par3Str = new jl_StringBuilder; $par3Str.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0($par3Str, $par3Str.$length0, jl_String_toString($rt_s(760))); jl_AbstractStringBuilder_insert0($par3Str, $par3Str.$length0, var$12, 10); $par4BufferedImage = new jl_String; var$5 = $par3Str.$buffer; var$6 = var$5.data; $levelW = $par3Str.$length0; $i = var$6.length; if ($levelW >= 0 && $levelW <= ($i - 0 | 0)) { $par4BufferedImage.$nativeString = $rt_charArrayToString(var$5.data, 0, $levelW); $par2.$suppressionEnabled = 1; $par2.$writableStackTrace = 1; $par2.$message = $par4BufferedImage; $rt_throw($par2); } $par2 = new jl_IndexOutOfBoundsException; $par2.$suppressionEnabled = 1; $par2.$writableStackTrace = 1; $rt_throw($par2); } $par2 = new jn_ByteBufferImpl; var$5 = $rt_createByteArray(var$12); $par2.$mark = (-1); $par2.$capacity = var$12; $par2.$limit0 = var$12; $par2.$order = jn_ByteOrder_BIG_ENDIAN; $par2.$start = 0; $par2.$array0 = var$5; $par2.$position0 = 0; $par2.$limit0 = var$12; $par2.$direct = 1; $par2.$readOnly0 = 0; $par2.$order = jn_ByteOrder_nativeOrder(); } $blank = jn_ByteBufferImpl_asIntBuffer($par2); } $i = 0; while ($i < 5) { $blank.$position0 = 0; $blank.$limit0 = $blank.$capacity; $blank.$mark = (-1); jn_Buffer_limit($blank, $rt_imul($levelW, $levelH)); $j = 0; while ($j < $blank.$limit0) { jn_IntBufferImpl_put0($blank, $j, (($j / $levelW | 0) + ($j % $levelW | 0) | 0) % 2 | 0 ? (-16777216) : (-65281)); $j = $j + 1 | 0; } nleg_EaglerAdapterGL30_glTexImage2D(3553, $i, 6408, $levelW, $levelH, 0, 6408, 5121, $blank); $levelW = $levelW / 2 | 0; $levelH = $levelH / 2 | 0; $i = $i + 1 | 0; } nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9986); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9728); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10242, 33071); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10243, 33071); nleg_EaglerAdapterGL30_glTexParameteri(3553, 33085, 4); nleg_EaglerAdapterGL30_glTexParameterf(3553, (-103), 1.0); $par2 = $this.$missingImage; var$5 = nle_TextureTerrainMap_generateMip($par4BufferedImage); $this.$missingData = var$5; nle_TextureTerrainMap_replaceTexture($this, $par2, var$5); }, nle_TextureTerrainMap__init_0 = (var_0, var_1, var_2, var_3) => { let var_4 = new nle_TextureTerrainMap(); nle_TextureTerrainMap__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, nle_TextureTerrainMap_generateMip = $src16x16 => { let $ret, var$3; nle_TextureTerrainMap_$callClinit(); $ret = $rt_createArray(nle_EaglerImage, 5); var$3 = $ret.data; var$3[0] = nle_TextureTerrainMap_populateAlpha(nle_TextureTerrainMap_create3x3_V2($src16x16)); var$3[1] = nle_TextureTerrainMap_generateLevel(var$3[0]); var$3[2] = nle_TextureTerrainMap_generateLevel(var$3[1]); var$3[3] = nle_TextureTerrainMap_generateLevel(var$3[2]); var$3[4] = nle_TextureTerrainMap_generateLevel(var$3[3]); return $ret; }, nle_TextureTerrainMap_generateLevel = $src => { let $e, var$3, var$4, var$5, var$6, $y, $x, $x2, $y2, $cg, $d, $a, $b, $c, $ca, $cr, $cb; nle_TextureTerrainMap_$callClinit(); $e = new nle_EaglerImage; var$3 = $src.$w0 / 2 | 0; var$4 = $src.$h / 2 | 0; $e.$w0 = var$3; $e.$h = var$4; $e.$alpha = 1; var$5 = $rt_createIntArray($rt_imul(var$3, var$4)); var$6 = var$5.data; $e.$data5 = var$5; $y = 0; while ($y < var$4) { $x = 0; while ($x < var$3) { $x2 = $x * 2 | 0; $y2 = $y * 2 | 0; var$5 = $src.$data5.data; $cg = $src.$w0; $d = $rt_imul($y2, $cg) + $x2 | 0; $a = var$5[$d]; $b = var$5[$d + 1 | 0]; $x2 = $rt_imul($y2 + 1 | 0, $cg) + $x2 | 0; $c = var$5[$x2]; $d = var$5[$x2 + 1 | 0]; $ca = (((($a >> 24 & 255) + ($b >> 24 & 255) | 0) + ($c >> 24 & 255) | 0) + ($d >> 24 & 255) | 0) >> 2; $cr = (((($a >> 16 & 255) + ($b >> 16 & 255) | 0) + ($c >> 16 & 255) | 0) + ($d >> 16 & 255) | 0) >> 2; $cg = (((($a >> 8 & 255) + ($b >> 8 & 255) | 0) + ($c >> 8 & 255) | 0) + ($d >> 8 & 255) | 0) >> 2; $cb = (((($a & 255) + ($b & 255) | 0) + ($c & 255) | 0) + ($d & 255) | 0) >> 2; var$6[$rt_imul($y, var$3) + $x | 0] = $ca << 24 | $cr << 16 | $cg << 8 | $cb; $x = $x + 1 | 0; } $y = $y + 1 | 0; } return $e; }, nle_TextureTerrainMap_populateAlpha = $src => { let $ret, $x, $a, var$5, $reducedR, $reducedG, $reducedB, $divisor, $array, $i, var$12, $alpha, $x_0, $reducedR2, $reducedG2, $reducedB2, $blend1, $blend2, $blend3, $blend4; nle_TextureTerrainMap_$callClinit(); $ret = new nle_EaglerImage; $x = $src.$w0; $a = $src.$h; $ret.$w0 = $x; $ret.$h = $a; $ret.$alpha = 1; var$5 = $rt_createIntArray($rt_imul($x, $a)); $ret.$data5 = var$5; $reducedR = 0; $reducedG = 0; $reducedB = 0; $divisor = 0; $array = $src.$data5; $i = 0; while (true) { var$12 = $array.data; $a = var$12.length; if ($i >= $a) break; $x = var$12[$i]; if (($x >> 24 & 255) > 2) { $reducedR = $reducedR + ($x >> 16 & 255) | 0; $reducedG = $reducedG + ($x >> 8 & 255) | 0; $reducedB = $reducedB + ($x & 255) | 0; $divisor = $divisor + 1 | 0; } $i = $i + 1 | 0; } if ($divisor) { $reducedR = $reducedR / $divisor | 0; $x = $reducedG / $divisor | 0; $alpha = $reducedB / $divisor | 0; } else { $reducedR = 0; $x = 0; $alpha = 0; } var$5 = var$5.data; $alpha = $reducedR << 16 | $x << 8 | $alpha; $i = 0; while ($i < $a) { $x_0 = var$12[$i]; $reducedG = $rt_compare($x_0 >> 24 & 255, 2); if ($reducedG >= 0) var$5[$i] = var$12[$i]; else { $reducedR2 = 0; $reducedG2 = 0; $reducedB2 = 0; $reducedB = 0; $blend1 = $i + 1 | 0; $blend2 = $i - 1 | 0; $reducedR = $src.$w0; $blend3 = $i + $reducedR | 0; $blend4 = $i - $reducedR | 0; if ($blend1 >= 0 && $blend1 < $a && $reducedG > 0) { $reducedR2 = $reducedR2 + ($x_0 >> 16 & 255) | 0; $reducedG2 = $reducedG2 + ($x_0 >> 8 & 255) | 0; $reducedB2 = $reducedB2 + ($x_0 & 255) | 0; $reducedB = 1; } if ($blend2 >= 0 && $blend2 < $a && $reducedG > 0) { $reducedR2 = $reducedR2 + ($x_0 >> 16 & 255) | 0; $reducedG2 = $reducedG2 + ($x_0 >> 8 & 255) | 0; $reducedB2 = $reducedB2 + ($x_0 & 255) | 0; $reducedB = $reducedB + 1 | 0; } if ($blend3 >= 0 && $blend3 < $a && $reducedG > 0) { $reducedR2 = $reducedR2 + ($x_0 >> 16 & 255) | 0; $reducedG2 = $reducedG2 + ($x_0 >> 8 & 255) | 0; $reducedB2 = $reducedB2 + ($x_0 & 255) | 0; $reducedB = $reducedB + 1 | 0; } if ($blend4 >= 0 && $blend4 < $a && $reducedG > 0) { $reducedR2 = $reducedR2 + ($x_0 >> 16 & 255) | 0; $reducedG2 = $reducedG2 + ($x_0 >> 8 & 255) | 0; $reducedB2 = $reducedB2 + ($x_0 & 255) | 0; $reducedB = $reducedB + 1 | 0; } if (!$reducedB) var$5[$i] = $alpha; else var$5[$i] = ($reducedR2 / $reducedB | 0) << 16 | ($reducedG2 / $reducedB | 0) << 8 | ($reducedB2 / $reducedB | 0); } $i = $i + 1 | 0; } return $ret; }, nle_TextureTerrainMap_create3x3_V2 = $src => { let $ret, var$3, var$4, var$5, var$6, $y, var$8, $x, $mh, $pixel, var$12, var$13, var$14, var$15, $mw, var$17, var$18; nle_TextureTerrainMap_$callClinit(); $ret = new nle_EaglerImage; var$3 = $src.$w0 + 32 | 0; var$4 = $src.$h + 32 | 0; $ret.$w0 = var$3; $ret.$h = var$4; $ret.$alpha = 1; var$5 = $rt_createIntArray($rt_imul(var$3, var$4)); var$6 = var$5.data; $ret.$data5 = var$5; $y = 0; while (true) { var$8 = $src.$h; if ($y >= var$8) break; $x = 0; $mh = var$8 - 16 | 0; while (true) { var$4 = $src.$w0; if ($x >= var$4) break; $pixel = $src.$data5.data[$rt_imul($y, var$4) + $x | 0]; var$12 = $rt_imul($y + 16 | 0, var$3); var$13 = $x + 16 | 0; var$6[var$12 + var$13 | 0] = $pixel; var$14 = $rt_compare($x, 16); if (var$14 < 0) var$6[var$12 + $x | 0] = $pixel; var$15 = $rt_compare($y, 16); if (var$15 < 0) var$6[$rt_imul($y, var$3) + var$13 | 0] = $pixel; if (var$14 < 0 && var$15 < 0) var$6[$rt_imul($y, var$3) + $x | 0] = $pixel; $mw = var$4 - 16 | 0; var$17 = $rt_compare($x, $mw); if (var$17 >= 0) var$6[(var$12 + var$4 | 0) + (($x - $mw | 0) + 16 | 0) | 0] = $pixel; var$18 = $rt_compare($y, $mh); if (var$18 >= 0) var$6[$rt_imul((($y - $mh | 0) + var$8 | 0) + 16 | 0, var$3) + var$13 | 0] = $pixel; if (var$17 >= 0 && var$18 >= 0) var$6[($rt_imul((($y - $mh | 0) + var$8 | 0) + 16 | 0, var$3) + var$4 | 0) + (($x - $mw | 0) + 16 | 0) | 0] = $pixel; if (var$17 >= 0 && var$15 < 0) var$6[($rt_imul($y, var$3) + var$4 | 0) + (($x - $mw | 0) + 16 | 0) | 0] = $pixel; if (var$14 < 0 && var$18 >= 0) var$6[$rt_imul((($y - $mh | 0) + var$8 | 0) + 16 | 0, var$3) + $x | 0] = $pixel; $x = $x + 1 | 0; } $y = $y + 1 | 0; } return $ret; }, nle_TextureTerrainMap_refreshTextures = $this => { let $var4, $t, var$3, $var3, var$5, $var1, $var2, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$t = $thread.pop();$var4 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (jl_System_outCache === null) { $var4 = new otcic_JSStdoutPrintStream; $t = new ji_ByteArrayOutputStream; $t.$buf = $rt_createByteArray(32); $var4.$out0 = $t; $t = new jl_StringBuilder; $t.$buffer = $rt_createCharArray(16); $var4.$sb = $t; $var4.$buffer0 = $rt_createCharArray(32); $var4.$autoFlush = 0; $var4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var4; } $rt_putStdout("Refreshing textures"); $rt_putStdout("\n"); $var4 = $this.$iconList; var$3 = 0; $var3 = $var4.$modCount; var$5 = $var4.$size(); while (true) { if (!(var$3 >= var$5 ? 0 : 1)) { $var4 = $this.$iconList; $var1 = $var4.$array; $var2 = 0; $var3 = $var4.$size0; $t = null; if ($var2 > $var3) { $var4 = new jl_IllegalArgumentException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } while ($var2 < $var3) { var$8 = $var1.data; var$5 = $var2 + 1 | 0; var$8[$var2] = $t; $var2 = var$5; } $var4.$size0 = 0; $var4.$modCount = $var4.$modCount + 1 | 0; $var1 = $rt_createIntArray(3); var$8 = $var1.data; $this.$nextSlot = $var1; var$8[1] = 1; nms_Block_$callClinit(); $var1 = nms_Block_blocksList.data; $var2 = $var1.length; $var3 = 0; while ($var3 < $var2) { $var4 = $var1[$var3]; if ($var4 !== null) $var4.$registerIcons($this); $var3 = $var3 + 1 | 0; } nms_RenderGlobal_registerDestroyBlockIcons(nms_Minecraft_theMinecraft.$renderGlobal, $this); $var4 = nms_RenderManager_instance.$entityRenderMap; if ($var4.$cachedValues === null) { $t = new ju_HashMap$2; $t.$this$01 = $var4; $var4.$cachedValues = $t; } $var4 = $var4.$cachedValues.$iterator(); while ($var4.$hasNext()) { ($var4.$next()).$updateIcons($this); } $var4 = $this.$iconList; $var3 = $var4.$modCount; var$5 = $var4.$size(); if (!(0 >= var$5 ? 0 : 1)) return; if ($var3 < $var4.$modCount) { $var4 = new ju_ConcurrentModificationException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } $var2 = 0 + 1 | 0; $t = $var4.$get(0); $ptr = 1; continue main; } if ($var3 < $var4.$modCount) break; $var2 = var$3 + 1 | 0; $t = $var4.$get(var$3); var$9 = $t.$frames; if (var$9 !== null) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteTexture(var$9.$obj1); $t.$frames = null; } var$3 = $var2; } $var4 = new ju_ConcurrentModificationException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); case 1: nle_TextureTerrainMap$TerrainIconV2_loadData($t); if ($rt_suspending()) { break main; } var$3 = $var2; if (!(var$3 >= var$5 ? 0 : 1)) return; if ($var3 < $var4.$modCount) { $var4 = new ju_ConcurrentModificationException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } $var2 = var$3 + 1 | 0; $t = $var4.$get(var$3); continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var4, $t, var$3, $var3, var$5, $var1, $var2, var$8, var$9, $ptr); }, nle_TextureTerrainMap_replaceTexture = ($this, $icon, $textures) => { let $divisor, $i, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $divisor = 1; nleg_EaglerAdapterGL30_glBindTexture(3553, $this.$texture); $i = 0; while ($i < 5) { var$5 = $textures.data; nle_TextureTerrainMap_$callClinit(); var$6 = nle_TextureTerrainMap_uploadBuffer; var$6.$position0 = 0; var$6.$limit0 = var$6.$capacity; var$6.$mark = (-1); var$5 = var$5[$i].$data5; jn_IntBuffer_put(var$6, var$5, 0, var$5.data.length); var$6 = nle_TextureTerrainMap_uploadBuffer; var$7 = var$6.$position0; var$6.$limit0 = var$7; var$6.$position0 = 0; var$6.$mark = (-1); var$8 = $icon.$originX1 / $divisor | 0; var$9 = $icon.$originY1 / $divisor | 0; var$10 = ((16 * $icon.$size6 | 0) + 32 | 0) / $divisor | 0; switch (3553) { case 3553: break; default: } nleg_EaglerAdapterGL30_bytesUploaded = nleg_EaglerAdapterGL30_bytesUploaded + ((var$7 - 0 | 0) * 4 | 0) | 0; nlea_EaglerAdapterImpl2_$callClinit(); var$11 = nlea_EaglerAdapterImpl2_webgl; var$6 = nleat_BufferConverter_convertIntBufferUnsigned(var$6); var$11.texSubImage2D(3553, $i, var$8, var$9, var$10, var$10, 6408, 5121, var$6); $divisor = $divisor * 2 | 0; $i = $i + 1 | 0; } }, nle_TextureTerrainMap_copyFrame = ($this, $icon, $frame) => { let $off, $divisor, var$5, var$6, $i, var$8, var$9, var$10, var$11, var$12, var$13, var$14; $off = $icon.$size6 * 16 | 0; $divisor = 1; var$5 = $this.$copyFramebuffer; nlea_EaglerAdapterImpl2_$callClinit(); var$6 = nlea_EaglerAdapterImpl2_webgl; var$5 = var$5 !== null ? var$5.$obj5 : nlea_EaglerAdapterImpl2_backBuffer.$obj5; var$6.bindFramebuffer(36160, var$5); nlea_EaglerAdapterImpl2_webgl.readBuffer(36064); $i = 0; while ($i < 5) { nleg_EaglerAdapterGL30_glBindTexture0(3553, $icon.$frames); var$6 = $icon.$frames; var$5 = nlea_EaglerAdapterImpl2_webgl; var$6 = var$6 !== null ? var$6.$obj1 : null; var$5.framebufferTexture2D(36160, 36064, 3553, var$6, $i); nleg_EaglerAdapterGL30_glBindTexture(3553, $this.$texture); var$8 = $icon.$originX_center / $divisor | 0; var$9 = ($icon.$originY_center - 16 | 0) / $divisor | 0; var$10 = $rt_imul($frame, $off); var$11 = var$10 + $off | 0; var$12 = 16 / $divisor | 0; var$13 = var$11 - var$12 | 0; nlea_EaglerAdapterImpl2_webgl.copyTexSubImage2D(3553, $i, var$8, var$9, 0, var$13, $off, var$12); var$14 = ($icon.$originX_center - 16 | 0) / $divisor | 0; var$11 = $icon.$originY_center / $divisor | 0; var$8 = $off - var$12 | 0; nlea_EaglerAdapterImpl2_webgl.copyTexSubImage2D(3553, $i, var$14, var$11, var$8, var$10, var$12, $off); var$14 = $icon.$originX_center / $divisor | 0; var$11 = $icon.$originY_center / $divisor | 0; nlea_EaglerAdapterImpl2_webgl.copyTexSubImage2D(3553, $i, var$14, var$11, 0, var$10, $off, $off); var$14 = $icon.$originX_center / $divisor | 0; var$11 = ($icon.$originY_center + (16 * $icon.$size6 | 0) | 0) / $divisor | 0; nlea_EaglerAdapterImpl2_webgl.copyTexSubImage2D(3553, $i, var$14, var$11, 0, var$10, $off, var$12); var$14 = ($icon.$originX_center + (16 * $icon.$size6 | 0) | 0) / $divisor | 0; var$11 = $icon.$originY_center / $divisor | 0; nlea_EaglerAdapterImpl2_webgl.copyTexSubImage2D(3553, $i, var$14, var$11, 0, var$10, var$12, $off); $off = $off / 2 | 0; $divisor = $divisor * 2 | 0; $i = $i + 1 | 0; } $icon = nlea_EaglerAdapterImpl2_webgl; var$5 = nlea_EaglerAdapterImpl2_backBuffer.$obj5; $icon.bindFramebuffer(36160, var$5); }, nle_TextureTerrainMap_registerIcon = ($this, $par1Str, $w) => { let $ret, $t, var$5, var$6, var$7, var$8, var$9, var$10, var$11; if ($w != 1 && $w != 2) { if (jl_System_errCache === null) { $ret = new otcic_JSStderrPrintStream; $t = new ji_ByteArrayOutputStream; $t.$buf = $rt_createByteArray(32); $ret.$out0 = $t; $t = new jl_StringBuilder; jl_Object__init_($t); $t.$buffer = $rt_createCharArray(16); $ret.$sb = $t; $ret.$buffer0 = $rt_createCharArray(32); $ret.$autoFlush = 0; $ret.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $ret; } $ret = new jl_StringBuilder; $ret.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ret, $ret.$length0, $rt_s(1840)); var$5 = $ret.$length0; if ($par1Str === null) $par1Str = $rt_s(1); jl_AbstractStringBuilder_insert($ret, var$5, $par1Str); jl_AbstractStringBuilder_insert($ret, $ret.$length0, $rt_s(1841)); jl_AbstractStringBuilder_insert0($ret, $ret.$length0, $w, 10); jl_AbstractStringBuilder_insert($ret, $ret.$length0, $rt_s(1842)); $par1Str = new jl_String; var$6 = $ret.$buffer; var$7 = var$6.data; var$5 = $ret.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { $par1Str.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $rt_putStderr($rt_ustr($par1Str)); $rt_putStderr("\n"); return $this.$missingImage; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); } if ($par1Str === null) return $this.$missingImage; $ret = $this.$iconList; var$9 = 0; var$8 = $ret.$modCount; var$10 = $ret.$size(); while (true) { if (!(var$9 >= var$10 ? 0 : 1)) { $ret = new nle_TextureTerrainMap$TerrainIconV2; var$6 = $this.$nextSlot.data; var$8 = var$6[$w]; var$6[$w] = var$8 + 1 | 0; nle_TextureTerrainMap$TerrainIconV2__init_($ret, var$8, $w, $this, $par1Str); $par1Str = $this.$iconList; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); var$6 = $par1Str.$array.data; var$5 = $par1Str.$size0; $par1Str.$size0 = var$5 + 1 | 0; var$6[var$5] = $ret; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; return $ret; } if (var$8 < $ret.$modCount) { $par1Str = new ju_ConcurrentModificationException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } var$5 = var$9 + 1 | 0; $t = $ret.$get(var$9); var$11 = $t.$name9; if ($par1Str === var$11) var$9 = 1; else if (!(var$11 instanceof jl_String)) var$9 = 0; else { var$11 = var$11; var$9 = $par1Str.$nativeString !== var$11.$nativeString ? 0 : 1; } if (var$9 && $w == $t.$size6) break; var$9 = var$5; } return $t; }, nle_TextureTerrainMap__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_isWebGL) { var$1 = $rt_createIntArray(65535); var$2 = var$1.data.length; var$3 = new jn_IntBufferOverArray; var$4 = 0 + var$2 | 0; var$3.$mark = (-1); var$3.$capacity = var$2; var$3.$limit0 = var$2; var$3.$position0 = 0; var$3.$limit0 = var$4; var$3.$start3 = 0; var$3.$readOnly3 = 0; var$3.$array4 = var$1; } else { var$5 = new jn_ByteBufferImpl; var$1 = $rt_createByteArray(262140); var$5.$mark = (-1); var$5.$capacity = 262140; var$5.$limit0 = 262140; var$5.$order = jn_ByteOrder_BIG_ENDIAN; var$5.$start = 0; var$5.$array0 = var$1; var$5.$position0 = 0; var$5.$limit0 = 262140; var$5.$direct = 1; var$5.$readOnly0 = 0; var$5.$order = jn_ByteOrder_nativeOrder(); var$3 = jn_ByteBufferImpl_asIntBuffer(var$5); } nle_TextureTerrainMap_uploadBuffer = var$3; }; function nms_TextureMap() { let a = this; jl_Object.call(a); a.$textureType = 0; a.$textureName2 = null; a.$basePath = null; a.$textureExt = null; a.$mapTexturesStiched = null; a.$missingImage0 = null; a.$missingTextureStiched = null; a.$atlasTexture = null; a.$listTextureStiched = null; a.$textureStichedMap = null; } let nms_TextureMap_locationBlocksTexture = null, nms_TextureMap_locationItemsTexture = null, nms_TextureMap_$callClinit = () => { nms_TextureMap_$callClinit = $rt_eraseClinit(nms_TextureMap); nms_TextureMap__clinit_(); }, nms_TextureMap_refreshTextures = $this => { let $var20, $var19, $var24, $var2, $var3, $var12, $var4, $var23, $var21, $var5, $var8, $var1, $var22, var$14, var$15, $var6, $var9, $var18, var$19, var$20, var$21, var$22, $var26, $var25, $var27, $var29, $var10, $var11, var$29, var$30, var$31, $var14, var$33, var$34, var$35, var$36, var$37, var$38, var$39, var$40, var$41, var$42, var$43, var$44, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$44 = $thread.pop();var$43 = $thread.pop();var$42 = $thread.pop();var$41 = $thread.pop();var$40 = $thread.pop();var$39 = $thread.pop();var$38 = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();$var14 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var29 = $thread.pop();$var27 = $thread.pop();$var25 = $thread.pop();$var26 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var18 = $thread.pop();$var9 = $thread.pop();$var6 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var22 = $thread.pop();$var1 = $thread.pop();$var8 = $thread.pop();$var5 = $thread.pop();$var21 = $thread.pop();$var23 = $thread.pop();$var4 = $thread.pop();$var12 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var24 = $thread.pop();$var19 = $thread.pop();$var20 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var20 = $this.$textureStichedMap; if ($var20.$elementCount > 0) { $var20.$elementCount = 0; $var19 = $var20.$elementData.data; $var24 = null; $var2 = 0; $var3 = $var19.length; if ($var2 > $var3) { $var20 = new jl_IllegalArgumentException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } while ($var2 < $var3) { $var12 = $var2 + 1 | 0; $var19[$var2] = $var24; $var2 = $var12; } $var20.$modCount0 = $var20.$modCount0 + 1 | 0; } if (!$this.$textureType) { nms_Block_$callClinit(); $var19 = nms_Block_blocksList.data; $var2 = $var19.length; $var3 = 0; while ($var3 < $var2) { $var4 = $var19[$var3]; if ($var4 !== null) $var4.$registerIcons($this); $var3 = $var3 + 1 | 0; } nms_RenderGlobal_registerDestroyBlockIcons(nms_Minecraft_theMinecraft.$renderGlobal, $this); $var20 = nms_RenderManager_instance.$entityRenderMap; if ($var20.$cachedValues === null) { $var24 = new ju_HashMap$2; $var24.$this$01 = $var20; $var20.$cachedValues = $var24; } $var20 = $var20.$cachedValues.$iterator(); while ($var20.$hasNext()) { ($var20.$next()).$updateIcons($this); } } nms_Item_$callClinit(); $var19 = nms_Item_itemsList.data; $var2 = $var19.length; $var3 = 0; while ($var3 < $var2) { $var23 = $var19[$var3]; if ($var23 !== null && $var23.$getSpriteNumber() == $this.$textureType) $var23.$registerIcons($this); $var3 = $var3 + 1 | 0; } $var20 = ju_HashMap__init_(); $var24 = $this.$textureName2; $var21 = new nms_Stitcher; $var5 = new ju_HashSet; $var8 = new ju_HashMap; $var12 = ju_HashMap_calculateCapacity(256); $var8.$elementCount = 0; $var1 = $rt_createArray(ju_HashMap$HashEntry, $var12); $var19 = $var1.data; $var8.$elementData = $var1; $var8.$loadFactor = 0.75; $var8.$threshold = $var19.length * 0.75 | 0; $var5.$backingMap = $var8; $var21.$setStitchHolders = $var5; $var5 = new ju_ArrayList; $var5.$array = $rt_createArray(jl_Object, 256); $var21.$stitchSlots = $var5; $var21.$currentWidth = 0; $var21.$currentHeight = 0; $var21.$textureName3 = $var24; $var21.$maxWidth = 8192; $var21.$maxHeight0 = 8192; $var21.$forcePowerOf2 = 1; $var21.$maxTileDimension = 0; $var24 = $this.$mapTexturesStiched; if ($var24.$elementCount > 0) { $var24.$elementCount = 0; $var19 = $var24.$elementData.data; $var5 = null; $var2 = 0; $var3 = $var19.length; if ($var2 <= $var3) { while ($var2 < $var3) { $var12 = $var2 + 1 | 0; $var19[$var2] = $var5; $var2 = $var12; } $var24.$modCount0 = $var24.$modCount0 + 1 | 0; } else { $var20 = new jl_IllegalArgumentException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } } $var24 = $this.$listTextureStiched; $var19 = $var24.$array; $var2 = 0; $var3 = $var24.$size0; $var5 = null; if ($var2 > $var3) { $var20 = new jl_IllegalArgumentException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } while ($var2 < $var3) { $var1 = $var19.data; $var12 = $var2 + 1 | 0; $var1[$var2] = $var5; $var2 = $var12; } $var24.$size0 = 0; $var24.$modCount = $var24.$modCount + 1 | 0; $var8 = nms_TextureManager_instance; $var5 = $this.$missingImage0; $var22 = nms_Texture__init_($rt_s(1574), 2, $var5.$w0, $var5.$h, 1, 33071, 6408, 9728, 9728, $var5); if (!ju_HashMap_containsValue($var8.$texturesMap, $var22)) { $var24 = $var8.$texturesMap; $var3 = $var22.$textureId; if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { $var5 = new jl_Integer; $var5.$value0 = $var3; } ju_HashMap_putImpl($var24, $var5, $var22); } else { if (jl_System_outCache === null) { $var24 = new otcic_JSStdoutPrintStream; $var5 = new ji_ByteArrayOutputStream; $var5.$buf = $rt_createByteArray(32); $var24.$out0 = $var5; $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); $var24.$sb = $var5; $var24.$buffer0 = $rt_createCharArray(32); $var24.$autoFlush = 0; $var24.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var24; } $rt_putStdout("TextureManager.registerTexture called, but this texture has already been registered. ignoring."); $rt_putStdout("\n"); } $var24 = new nms_StitchHolder; $var24.$scaleFactor = 1.0; $var24.$theTexture = $var22; var$14 = $var22.$width3; $var24.$width2 = var$14; $var12 = $var22.$height4; $var24.$height3 = $var12; $var24.$rotated = (($var12 >> 0) + ($var12 & 0 ? 1 : 0) | 0) << 0 <= ((var$14 >> 0) + (var$14 & 0 ? 1 : 0) | 0) << 0 ? 0 : 1; $var2 = $var21.$maxTileDimension; if ($var2 > 0 && var$14 > $var2 && $var12 > $var2) { var$15 = $var2; if (var$14 < $var12) $var12 = var$14; $var24.$scaleFactor = var$15 / $var12; } $var5 = $var21.$setStitchHolders; ju_HashMap_putImpl($var5.$backingMap, $var24, $var5); $var19 = $rt_createArray(nms_Texture, 1); $var19.data[0] = $var22; $var5 = new ju_Arrays$ArrayAsList; $var5.$array2 = $var19; ju_HashMap_putImpl($var20, $var24, $var5); $var24 = $this.$textureStichedMap; if ($var24.$cachedKeySet === null) { $var5 = new ju_HashMap$1; $var5.$this$0 = $var24; $var24.$cachedKeySet = $var5; } $var5 = $var24.$cachedKeySet.$iterator(); if ($var5.$hasNext()) { $var6 = $var5.$next(); $var9 = $this.$basePath; $var8 = $this.$textureExt; $var24 = new jl_StringBuilder; $var24.$buffer = $rt_createCharArray(16); $var2 = $var24.$length0; if ($var9 === null) $var9 = $rt_s(1); jl_AbstractStringBuilder_insert($var24, $var2, $var9); $var2 = $var24.$length0; if ($var6 === null) $var6 = $rt_s(1); jl_AbstractStringBuilder_insert($var24, $var2, $var6); $var2 = $var24.$length0; if ($var8 === null) $var8 = $rt_s(1); jl_AbstractStringBuilder_insert($var24, $var2, $var8); $var8 = new jl_String; $var19 = $var24.$buffer; $var1 = $var19.data; $var3 = $var24.$length0; $var12 = $var1.length; if ($var3 >= 0 && $var3 <= ($var12 - 0 | 0)) { $var8.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $var24 = nms_TextureManager_instance; $ptr = 1; continue main; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } a: { try { nms_Stitcher_doStitch($var21); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof nms_StitcherException) { $var18 = $$je; } else { throw $$e; } } $rt_throw($var18); } $this.$atlasTexture = nms_Stitcher_getTexture($var21); $var24 = new ju_ArrayList; $var24.$array = $rt_createArray(jl_Object, 10); $var5 = $var21.$stitchSlots; $var3 = 0; var$19 = $var5.$modCount; var$20 = $var5.$size(); b: while (true) { if (!($var3 >= var$20 ? 0 : 1)) { $var3 = 0; var$21 = $var24.$modCount; var$14 = $var24.$size(); var$22 = 47; $var9 = $rt_s(1843); $var6 = $rt_s(1844); $var22 = $rt_s(469); $var26 = $rt_s(1394); $var18 = $rt_s(202); $var23 = $rt_s(1845); $var4 = $rt_s(469); c: { while (true) { if (!($var3 >= var$14 ? 0 : 1)) { d: { $var20 = $this.$mapTexturesStiched; if (!$rt_s(1574).$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $rt_s(1574).$nativeString.length) break d; $rt_s(1574).$hashCode1 = (31 * $rt_s(1574).$hashCode1 | 0) + $rt_s(1574).$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } $var2 = $rt_s(1574).$hashCode1; $var19 = $var20.$elementData.data; $var20 = $var19[$var2 & ($var19.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var2) { e: { $var5 = $var20.$key; if ($rt_s(1574) !== $var5) { if ($rt_s(1574) === $var5) $var3 = 1; else if (!($var5 instanceof jl_String)) $var3 = 0; else { $var5 = $var5; $var3 = $rt_s(1574).$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break e; } } $var3 = 1; } if ($var3) break; } $var20 = $var20.$next3; } $this.$missingTextureStiched = $var20 === null ? null : $var20.$value1; $var20 = $this.$textureStichedMap; if ($var20.$cachedValues === null) { $var24 = new ju_HashMap$2; $var24.$this$01 = $var20; $var20.$cachedValues = $var24; } $var20 = $var20.$cachedValues.$iterator(); while ($var20.$hasNext()) { $var26 = $var20.$next(); $var24 = $this.$missingTextureStiched; nms_TextureStitched_init($var26, $var24.$textureSheet, $var24.$textureList, $var24.$originX0, $var24.$originY0, $var24.$width8, $var24.$height6, $var24.$rotated0); } nms_Texture_uploadTexture($this.$atlasTexture); return; } if (var$21 < $var24.$modCount) break; var$20 = $var3 + 1 | 0; $var25 = $var24.$get($var3); $var27 = $var25.$holder; $var29 = $var27.$theTexture.$textureName1; $var5 = $var27; if (!$var5.$id$) $var5.$id$ = $rt_nextId(); $var12 = $var27.$id$; $var19 = $var20.$elementData.data; $var5 = $var19[$var12 & ($var19.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var12) { $var8 = $var5.$key; if ($var27 !== $var8 && !($var27 !== $var8 ? 0 : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } $var10 = $var5 === null ? null : $var5.$value1; $var5 = $this.$textureStichedMap; if ($var29 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { f: { if (!$var29.$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $var29.$nativeString.length) break f; $var29.$hashCode1 = (31 * $var29.$hashCode1 | 0) + $var29.$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } $var12 = $var29.$hashCode1; $var19 = $var5.$elementData.data; $var5 = $var19[$var12 & ($var19.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var12) { g: { $var8 = $var5.$key; if ($var29 !== $var8) { if ($var29 === $var8) $var2 = 1; else if (!($var8 instanceof jl_String)) $var2 = 0; else { $var8 = $var8; $var2 = $var29.$nativeString !== $var8.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break g; } } $var2 = 1; } if ($var2) break; } $var5 = $var5.$next3; } } $var11 = $var5 === null ? null : $var5.$value1; $var12 = 0; if ($var11 === null) { $var12 = 1; if ($rt_s(1846) === $var29) $var2 = 1; else if (!($var29 instanceof jl_String)) $var2 = 0; else { $var8 = $var29; $var2 = $rt_s(1846).$nativeString !== $var8.$nativeString ? 0 : 1; } if ($var2) { $var11 = new nms_TextureClock; $var11.$frameCounter = 0; $var11.$tickCounter = 0; $var11.$textureName0 = $rt_s(1846); } else { if ($rt_s(1847) === $var29) $var2 = 1; else if (!($var29 instanceof jl_String)) $var2 = 0; else { $var8 = $var29; $var2 = $rt_s(1847).$nativeString !== $var8.$nativeString ? 0 : 1; } if (!$var2) { $var11 = new nms_TextureStitched; $var11.$frameCounter = 0; $var11.$tickCounter = 0; $var11.$textureName0 = $var29; } else { $var11 = new nms_TextureCompass; $var11.$frameCounter = 0; $var11.$tickCounter = 0; $var11.$textureName0 = $rt_s(1847); nms_TextureCompass_compassTexture = $var11; } } if ($var29 === $rt_s(1574)) $var2 = 1; else if (!($rt_s(1574) instanceof jl_String)) $var2 = 0; else { $var5 = $rt_s(1574); $var2 = $var29.$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$var2) { if (jl_System_outCache === null) { $var5 = new otcic_JSStdoutPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); $var5.$out0 = $var8; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var5.$sb = $var8; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var5; } $var5 = $this.$textureName2; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var9); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var29 === null ? $rt_s(1) : $var29); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var6); $var2 = $var8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var5); $var5 = new jl_String; $var19 = $var8.$buffer; $var1 = $var19.data; $var3 = $var8.$length0; var$29 = $var1.length; if ($var3 < 0) break c; if ($var3 > (var$29 - 0 | 0)) break c; $var5.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $rt_putStdout($rt_ustr($var5)); $rt_putStdout($rt_ustr($var22)); } } $var5 = $this.$atlasTexture; var$30 = $var25.$originX; var$31 = $var25.$originY; $var8 = $var27.$theTexture; nms_TextureStitched_init($var11, $var5, $var10, var$30, var$31, $var8.$width3, $var8.$height4, $var27.$rotated); ju_HashMap_putImpl($this.$mapTexturesStiched, $var29, $var11); if (!$var12) ju_HashMap_removeByKey($this.$textureStichedMap, $var29); if ($var10.$size() > 1) { $var5 = $this.$listTextureStiched; ju_ArrayList_ensureCapacity($var5, $var5.$size0 + 1 | 0); $var19 = $var5.$array.data; $var3 = $var5.$size0; $var5.$size0 = $var3 + 1 | 0; $var19[$var3] = $var11; $var5.$modCount = $var5.$modCount + 1 | 0; $var5 = $this.$basePath; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var2 = $var8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var5); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var29 === null ? $rt_s(1) : $var29); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var26); $var21 = new jl_String; $var19 = $var8.$buffer; $var1 = $var19.data; $var3 = $var8.$length0; $var12 = $var1.length; if ($var3 >= 0 && $var3 <= ($var12 - 0 | 0)) { $var21.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $var14 = nms_Minecraft_theMinecraft.$texturePackList.$selectedTexturePack; $var5 = $this.$basePath; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var2 = $var8.$length0; jl_AbstractStringBuilder_insertSpace($var8, $var2, $var2 + 1 | 0); $var8.$buffer.data[$var2] = var$22; $var2 = $var8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var5); $var2 = $var8.$length0; if ($var29 === null) $var29 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var29); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var18); $var5 = new jl_String; $var19 = $var8.$buffer; $var1 = $var19.data; $var3 = $var8.$length0; $var12 = $var1.length; if ($var3 >= 0 && $var3 <= ($var12 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $var2 = 0; $ptr = 2; continue main; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var3 = var$20; } $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } if (var$19 < $var5.$modCount) { $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } h: { var$33 = $var3 + 1 | 0; $var8 = $var5.$get($var3); if ($var8.$holder !== null) { ju_ArrayList_ensureCapacity($var24, $var24.$size0 + 1 | 0); $var19 = $var24.$array.data; $var3 = $var24.$size0; $var24.$size0 = $var3 + 1 | 0; $var19[$var3] = $var8; $var24.$modCount = $var24.$modCount + 1 | 0; } else { $var8 = $var8.$subSlots; if ($var8 !== null) { var$34 = $var8.$modCount; var$35 = $var8.$size(); $var3 = 0; while (true) { if (!($var3 >= var$35 ? 0 : 1)) break h; if (var$34 < $var8.$modCount) { $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } i: { var$36 = $var3 + 1 | 0; $var21 = $var8.$get($var3); if ($var21.$holder !== null) { ju_ArrayList_ensureCapacity($var24, $var24.$size0 + 1 | 0); $var19 = $var24.$array.data; $var3 = $var24.$size0; $var24.$size0 = $var3 + 1 | 0; $var19[$var3] = $var21; $var24.$modCount = $var24.$modCount + 1 | 0; } else { $var21 = $var21.$subSlots; if ($var21 !== null) { $var3 = 0; var$37 = $var21.$modCount; var$38 = $var21.$size(); while (true) { if (!($var3 >= var$38 ? 0 : 1)) break i; if (var$37 < $var21.$modCount) { $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } j: { var$39 = $var3 + 1 | 0; $var9 = $var21.$get($var3); if ($var9.$holder !== null) { ju_ArrayList_ensureCapacity($var24, $var24.$size0 + 1 | 0); $var19 = $var24.$array.data; $var3 = $var24.$size0; $var24.$size0 = $var3 + 1 | 0; $var19[$var3] = $var9; $var24.$modCount = $var24.$modCount + 1 | 0; } else { $var9 = $var9.$subSlots; if ($var9 !== null) { $var3 = 0; var$40 = $var9.$modCount; var$41 = $var9.$size(); while (true) { if (!($var3 >= var$41 ? 0 : 1)) break j; if (var$40 < $var9.$modCount) { $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } k: { var$42 = $var3 + 1 | 0; $var6 = $var9.$get($var3); if ($var6.$holder !== null) { ju_ArrayList_ensureCapacity($var24, $var24.$size0 + 1 | 0); $var19 = $var24.$array.data; $var3 = $var24.$size0; $var24.$size0 = $var3 + 1 | 0; $var19[$var3] = $var6; $var24.$modCount = $var24.$modCount + 1 | 0; } else { $var6 = $var6.$subSlots; if ($var6 !== null) { $var3 = 0; var$22 = $var6.$modCount; var$43 = $var6.$size(); while (true) { if (!($var3 >= var$43 ? 0 : 1)) break k; if (var$22 < $var6.$modCount) { $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } l: { var$30 = $var3 + 1 | 0; $var22 = $var6.$get($var3); if ($var22.$holder !== null) { ju_ArrayList_ensureCapacity($var24, $var24.$size0 + 1 | 0); $var19 = $var24.$array.data; $var3 = $var24.$size0; $var24.$size0 = $var3 + 1 | 0; $var19[$var3] = $var22; $var24.$modCount = $var24.$modCount + 1 | 0; } else { $var22 = $var22.$subSlots; if ($var22 !== null) { $var3 = 0; var$29 = $var22.$modCount; var$31 = $var22.$size(); while (true) { if (!($var3 >= var$31 ? 0 : 1)) break l; if (var$29 < $var22.$modCount) { $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } m: { var$14 = $var3 + 1 | 0; $var25 = $var22.$get($var3); if ($var25.$holder !== null) { ju_ArrayList_ensureCapacity($var24, $var24.$size0 + 1 | 0); $var19 = $var24.$array.data; $var3 = $var24.$size0; $var24.$size0 = $var3 + 1 | 0; $var19[$var3] = $var25; $var24.$modCount = $var24.$modCount + 1 | 0; } else { $var25 = $var25.$subSlots; if ($var25 !== null) { var$44 = 0; $var12 = $var25.$modCount; var$21 = $var25.$size(); while (true) { if (!(var$44 >= var$21 ? 0 : 1)) break m; if ($var12 < $var25.$modCount) break b; n: { $var3 = var$44 + 1 | 0; $var10 = $var25.$get(var$44); if ($var10.$holder !== null) ju_ArrayList_add($var24, $var10); else { $var10 = $var10.$subSlots; if ($var10 !== null) { $var10 = ju_AbstractList_iterator($var10); while (true) { if (!ju_AbstractList$1_hasNext($var10)) break n; nms_StitchSlot_getAllStitchSlots(ju_AbstractList$1_next($var10), $var24); } } } } var$44 = $var3; } } } } $var3 = var$14; } } } } $var3 = var$30; } } } } $var3 = var$42; } } } } $var3 = var$39; } } } } $var3 = var$36; } } } } $var3 = var$33; } $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); case 1: $tmp = nms_TextureManager_createTexture($var24, $var8); if ($rt_suspending()) { break main; } $var8 = $tmp; $var3 = $var8.$size0; if (!($var3 ? 0 : 1)) { $var9 = new nms_StitchHolder; if (0 < $var3) { $var24 = $var8.$array.data[0]; $var9.$scaleFactor = 1.0; $var9.$theTexture = $var24; var$21 = $var24.$width3; $var9.$width2 = var$21; var$14 = $var24.$height4; $var9.$height3 = var$14; $var9.$rotated = ((var$14 >> 0) + (var$14 & 0 ? 1 : 0) | 0) << 0 <= ((var$21 >> 0) + (var$21 & 0 ? 1 : 0) | 0) << 0 ? 0 : 1; $var2 = $var21.$maxTileDimension; if ($var2 > 0 && var$21 > $var2 && var$14 > $var2) { var$15 = $var2; if (var$21 < var$14) var$14 = var$21; $var9.$scaleFactor = var$15 / var$14; } $var24 = $var21.$setStitchHolders; ju_HashMap_putImpl($var24.$backingMap, $var9, $var24); ju_HashMap_putImpl($var20, $var9, $var8); } else { $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } } if ($var5.$hasNext()) { $var6 = $var5.$next(); $var9 = $this.$basePath; $var8 = $this.$textureExt; $var24 = new jl_StringBuilder; $var24.$buffer = $rt_createCharArray(16); $var2 = $var24.$length0; if ($var9 === null) $var9 = $rt_s(1); jl_AbstractStringBuilder_insert($var24, $var2, $var9); $var2 = $var24.$length0; if ($var6 === null) $var6 = $rt_s(1); jl_AbstractStringBuilder_insert($var24, $var2, $var6); $var2 = $var24.$length0; if ($var8 === null) $var8 = $rt_s(1); jl_AbstractStringBuilder_insert($var24, $var2, $var8); $var8 = new jl_String; $var19 = $var24.$buffer; $var1 = $var19.data; $var3 = $var24.$length0; $var12 = $var1.length; if ($var3 >= 0 && $var3 <= ($var12 - 0 | 0)) { $var8.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $var24 = nms_TextureManager_instance; continue main; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } o: { try { nms_Stitcher_doStitch($var21); break o; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof nms_StitcherException) { $var18 = $$je; } else { throw $$e; } } $rt_throw($var18); } $this.$atlasTexture = nms_Stitcher_getTexture($var21); $var24 = new ju_ArrayList; $var24.$array = $rt_createArray(jl_Object, 10); $var5 = $var21.$stitchSlots; $var3 = 0; var$19 = $var5.$modCount; var$20 = $var5.$size(); p: while (true) { if (!($var3 >= var$20 ? 0 : 1)) { $var3 = 0; var$21 = $var24.$modCount; var$14 = $var24.$size(); var$22 = 47; $var9 = $rt_s(1843); $var6 = $rt_s(1844); $var22 = $rt_s(469); $var26 = $rt_s(1394); $var18 = $rt_s(202); $var23 = $rt_s(1845); $var4 = $rt_s(469); q: { while (true) { if (!($var3 >= var$14 ? 0 : 1)) { r: { $var20 = $this.$mapTexturesStiched; if (!$rt_s(1574).$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $rt_s(1574).$nativeString.length) break r; $rt_s(1574).$hashCode1 = (31 * $rt_s(1574).$hashCode1 | 0) + $rt_s(1574).$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } $var2 = $rt_s(1574).$hashCode1; $var19 = $var20.$elementData.data; $var20 = $var19[$var2 & ($var19.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var2) { s: { $var5 = $var20.$key; if ($rt_s(1574) !== $var5) { if ($rt_s(1574) === $var5) $var3 = 1; else if (!($var5 instanceof jl_String)) $var3 = 0; else { $var5 = $var5; $var3 = $rt_s(1574).$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break s; } } $var3 = 1; } if ($var3) break; } $var20 = $var20.$next3; } $this.$missingTextureStiched = $var20 === null ? null : $var20.$value1; $var20 = $this.$textureStichedMap; if ($var20.$cachedValues === null) { $var24 = new ju_HashMap$2; $var24.$this$01 = $var20; $var20.$cachedValues = $var24; } $var20 = $var20.$cachedValues.$iterator(); while ($var20.$hasNext()) { $var26 = $var20.$next(); $var24 = $this.$missingTextureStiched; nms_TextureStitched_init($var26, $var24.$textureSheet, $var24.$textureList, $var24.$originX0, $var24.$originY0, $var24.$width8, $var24.$height6, $var24.$rotated0); } nms_Texture_uploadTexture($this.$atlasTexture); return; } if (var$21 < $var24.$modCount) break; var$20 = $var3 + 1 | 0; $var25 = $var24.$get($var3); $var27 = $var25.$holder; $var29 = $var27.$theTexture.$textureName1; $var5 = $var27; if (!$var5.$id$) $var5.$id$ = $rt_nextId(); $var12 = $var27.$id$; $var19 = $var20.$elementData.data; $var5 = $var19[$var12 & ($var19.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var12) { $var8 = $var5.$key; if ($var27 !== $var8 && !($var27 !== $var8 ? 0 : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } $var10 = $var5 === null ? null : $var5.$value1; $var5 = $this.$textureStichedMap; if ($var29 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { t: { if (!$var29.$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $var29.$nativeString.length) break t; $var29.$hashCode1 = (31 * $var29.$hashCode1 | 0) + $var29.$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } $var12 = $var29.$hashCode1; $var19 = $var5.$elementData.data; $var5 = $var19[$var12 & ($var19.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var12) { u: { $var8 = $var5.$key; if ($var29 !== $var8) { if ($var29 === $var8) $var2 = 1; else if (!($var8 instanceof jl_String)) $var2 = 0; else { $var8 = $var8; $var2 = $var29.$nativeString !== $var8.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break u; } } $var2 = 1; } if ($var2) break; } $var5 = $var5.$next3; } } $var11 = $var5 === null ? null : $var5.$value1; $var12 = 0; if ($var11 === null) { $var12 = 1; if ($rt_s(1846) === $var29) $var2 = 1; else if (!($var29 instanceof jl_String)) $var2 = 0; else { $var8 = $var29; $var2 = $rt_s(1846).$nativeString !== $var8.$nativeString ? 0 : 1; } if ($var2) { $var11 = new nms_TextureClock; $var11.$frameCounter = 0; $var11.$tickCounter = 0; $var11.$textureName0 = $rt_s(1846); } else { if ($rt_s(1847) === $var29) $var2 = 1; else if (!($var29 instanceof jl_String)) $var2 = 0; else { $var8 = $var29; $var2 = $rt_s(1847).$nativeString !== $var8.$nativeString ? 0 : 1; } if (!$var2) { $var11 = new nms_TextureStitched; $var11.$frameCounter = 0; $var11.$tickCounter = 0; $var11.$textureName0 = $var29; } else { $var11 = new nms_TextureCompass; $var11.$frameCounter = 0; $var11.$tickCounter = 0; $var11.$textureName0 = $rt_s(1847); nms_TextureCompass_compassTexture = $var11; } } if ($var29 === $rt_s(1574)) $var2 = 1; else if (!($rt_s(1574) instanceof jl_String)) $var2 = 0; else { $var5 = $rt_s(1574); $var2 = $var29.$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$var2) { if (jl_System_outCache === null) { $var5 = new otcic_JSStdoutPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); $var5.$out0 = $var8; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var5.$sb = $var8; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var5; } $var5 = $this.$textureName2; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var9); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var29 === null ? $rt_s(1) : $var29); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var6); $var2 = $var8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var5); $var5 = new jl_String; $var19 = $var8.$buffer; $var1 = $var19.data; $var3 = $var8.$length0; var$29 = $var1.length; if ($var3 < 0) break q; if ($var3 > (var$29 - 0 | 0)) break q; $var5.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $rt_putStdout($rt_ustr($var5)); $rt_putStdout($rt_ustr($var22)); } } $var5 = $this.$atlasTexture; var$30 = $var25.$originX; var$31 = $var25.$originY; $var8 = $var27.$theTexture; nms_TextureStitched_init($var11, $var5, $var10, var$30, var$31, $var8.$width3, $var8.$height4, $var27.$rotated); ju_HashMap_putImpl($this.$mapTexturesStiched, $var29, $var11); if (!$var12) ju_HashMap_removeByKey($this.$textureStichedMap, $var29); if ($var10.$size() > 1) { $var5 = $this.$listTextureStiched; ju_ArrayList_ensureCapacity($var5, $var5.$size0 + 1 | 0); $var19 = $var5.$array.data; $var3 = $var5.$size0; $var5.$size0 = $var3 + 1 | 0; $var19[$var3] = $var11; $var5.$modCount = $var5.$modCount + 1 | 0; $var5 = $this.$basePath; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var2 = $var8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var5); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var29 === null ? $rt_s(1) : $var29); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var26); $var21 = new jl_String; $var19 = $var8.$buffer; $var1 = $var19.data; $var3 = $var8.$length0; $var12 = $var1.length; if ($var3 >= 0 && $var3 <= ($var12 - 0 | 0)) { $var21.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $var14 = nms_Minecraft_theMinecraft.$texturePackList.$selectedTexturePack; $var5 = $this.$basePath; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var2 = $var8.$length0; jl_AbstractStringBuilder_insertSpace($var8, $var2, $var2 + 1 | 0); $var8.$buffer.data[$var2] = var$22; $var2 = $var8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var5); $var2 = $var8.$length0; if ($var29 === null) $var29 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var29); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var18); $var5 = new jl_String; $var19 = $var8.$buffer; $var1 = $var19.data; $var3 = $var8.$length0; $var12 = $var1.length; if ($var3 >= 0 && $var3 <= ($var12 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $var2 = 0; $ptr = 2; continue main; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var3 = var$20; } $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } if (var$19 < $var5.$modCount) { $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } v: { var$33 = $var3 + 1 | 0; $var8 = $var5.$get($var3); if ($var8.$holder !== null) { ju_ArrayList_ensureCapacity($var24, $var24.$size0 + 1 | 0); $var19 = $var24.$array.data; $var3 = $var24.$size0; $var24.$size0 = $var3 + 1 | 0; $var19[$var3] = $var8; $var24.$modCount = $var24.$modCount + 1 | 0; } else { $var8 = $var8.$subSlots; if ($var8 !== null) { var$34 = $var8.$modCount; var$35 = $var8.$size(); $var3 = 0; while (true) { if (!($var3 >= var$35 ? 0 : 1)) break v; if (var$34 < $var8.$modCount) { $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } a: { var$36 = $var3 + 1 | 0; $var21 = $var8.$get($var3); if ($var21.$holder !== null) { ju_ArrayList_ensureCapacity($var24, $var24.$size0 + 1 | 0); $var19 = $var24.$array.data; $var3 = $var24.$size0; $var24.$size0 = $var3 + 1 | 0; $var19[$var3] = $var21; $var24.$modCount = $var24.$modCount + 1 | 0; } else { $var21 = $var21.$subSlots; if ($var21 !== null) { $var3 = 0; var$37 = $var21.$modCount; var$38 = $var21.$size(); while (true) { if (!($var3 >= var$38 ? 0 : 1)) break a; if (var$37 < $var21.$modCount) { $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } w: { var$39 = $var3 + 1 | 0; $var9 = $var21.$get($var3); if ($var9.$holder !== null) { ju_ArrayList_ensureCapacity($var24, $var24.$size0 + 1 | 0); $var19 = $var24.$array.data; $var3 = $var24.$size0; $var24.$size0 = $var3 + 1 | 0; $var19[$var3] = $var9; $var24.$modCount = $var24.$modCount + 1 | 0; } else { $var9 = $var9.$subSlots; if ($var9 !== null) { $var3 = 0; var$40 = $var9.$modCount; var$41 = $var9.$size(); while (true) { if (!($var3 >= var$41 ? 0 : 1)) break w; if (var$40 < $var9.$modCount) { $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } x: { var$42 = $var3 + 1 | 0; $var6 = $var9.$get($var3); if ($var6.$holder !== null) { ju_ArrayList_ensureCapacity($var24, $var24.$size0 + 1 | 0); $var19 = $var24.$array.data; $var3 = $var24.$size0; $var24.$size0 = $var3 + 1 | 0; $var19[$var3] = $var6; $var24.$modCount = $var24.$modCount + 1 | 0; } else { $var6 = $var6.$subSlots; if ($var6 !== null) { $var3 = 0; var$22 = $var6.$modCount; var$43 = $var6.$size(); while (true) { if (!($var3 >= var$43 ? 0 : 1)) break x; if (var$22 < $var6.$modCount) { $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } y: { var$30 = $var3 + 1 | 0; $var22 = $var6.$get($var3); if ($var22.$holder !== null) { ju_ArrayList_ensureCapacity($var24, $var24.$size0 + 1 | 0); $var19 = $var24.$array.data; $var3 = $var24.$size0; $var24.$size0 = $var3 + 1 | 0; $var19[$var3] = $var22; $var24.$modCount = $var24.$modCount + 1 | 0; } else { $var22 = $var22.$subSlots; if ($var22 !== null) { $var3 = 0; var$29 = $var22.$modCount; var$31 = $var22.$size(); while (true) { if (!($var3 >= var$31 ? 0 : 1)) break y; if (var$29 < $var22.$modCount) { $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } z: { var$14 = $var3 + 1 | 0; $var25 = $var22.$get($var3); if ($var25.$holder !== null) { ju_ArrayList_ensureCapacity($var24, $var24.$size0 + 1 | 0); $var19 = $var24.$array.data; $var3 = $var24.$size0; $var24.$size0 = $var3 + 1 | 0; $var19[$var3] = $var25; $var24.$modCount = $var24.$modCount + 1 | 0; } else { $var25 = $var25.$subSlots; if ($var25 !== null) { var$44 = 0; $var12 = $var25.$modCount; var$21 = $var25.$size(); while (true) { if (!(var$44 >= var$21 ? 0 : 1)) break z; if ($var12 < $var25.$modCount) break p; ba: { $var3 = var$44 + 1 | 0; $var10 = $var25.$get(var$44); if ($var10.$holder !== null) ju_ArrayList_add($var24, $var10); else { $var10 = $var10.$subSlots; if ($var10 !== null) { $var10 = ju_AbstractList_iterator($var10); while (true) { if (!ju_AbstractList$1_hasNext($var10)) break ba; nms_StitchSlot_getAllStitchSlots(ju_AbstractList$1_next($var10), $var24); } } } } var$44 = $var3; } } } } $var3 = var$14; } } } } $var3 = var$30; } } } } $var3 = var$42; } } } } $var3 = var$39; } } } } $var3 = var$36; } } } } $var3 = var$33; } $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); case 2: $tmp = nms_TexturePackImplementation_func_98138_b($var14, $var5, $var2); if ($rt_suspending()) { break main; } $var2 = $tmp; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var2 = $var8.$length0; jl_AbstractStringBuilder_insertSpace($var8, $var2, $var2 + 1 | 0); $var8.$buffer.data[$var2] = var$22; jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var21); $var5 = new jl_String; $var19 = $var8.$buffer; $var1 = $var19.data; $var3 = $var8.$length0; $var12 = $var1.length; if ($var3 >= 0 && $var3 <= ($var12 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $var2 = 0; $ptr = 3; continue main; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); case 3: $tmp = nms_TexturePackImplementation_func_98138_b($var14, $var5, $var2); if ($rt_suspending()) { break main; } $var2 = $tmp; if (!$var2) { bb: { while (true) { $var3 = var$20; if (!($var3 >= var$14 ? 0 : 1)) { j: { $var20 = $this.$mapTexturesStiched; if (!$rt_s(1574).$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $rt_s(1574).$nativeString.length) break j; $rt_s(1574).$hashCode1 = (31 * $rt_s(1574).$hashCode1 | 0) + $rt_s(1574).$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } $var2 = $rt_s(1574).$hashCode1; $var19 = $var20.$elementData.data; $var20 = $var19[$var2 & ($var19.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var2) { bc: { $var5 = $var20.$key; if ($rt_s(1574) !== $var5) { if ($rt_s(1574) === $var5) $var3 = 1; else if (!($var5 instanceof jl_String)) $var3 = 0; else { $var5 = $var5; $var3 = $rt_s(1574).$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bc; } } $var3 = 1; } if ($var3) break; } $var20 = $var20.$next3; } $this.$missingTextureStiched = $var20 === null ? null : $var20.$value1; $var20 = $this.$textureStichedMap; if ($var20.$cachedValues === null) { $var24 = new ju_HashMap$2; $var24.$this$01 = $var20; $var20.$cachedValues = $var24; } $var20 = $var20.$cachedValues.$iterator(); while ($var20.$hasNext()) { $var26 = $var20.$next(); $var24 = $this.$missingTextureStiched; nms_TextureStitched_init($var26, $var24.$textureSheet, $var24.$textureList, $var24.$originX0, $var24.$originY0, $var24.$width8, $var24.$height6, $var24.$rotated0); } nms_Texture_uploadTexture($this.$atlasTexture); return; } if (var$21 < $var24.$modCount) break; var$20 = $var3 + 1 | 0; $var25 = $var24.$get($var3); $var27 = $var25.$holder; $var29 = $var27.$theTexture.$textureName1; $var5 = $var27; if (!$var5.$id$) $var5.$id$ = $rt_nextId(); $var12 = $var27.$id$; $var19 = $var20.$elementData.data; $var5 = $var19[$var12 & ($var19.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var12) { $var8 = $var5.$key; if ($var27 !== $var8 && !($var27 !== $var8 ? 0 : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } $var10 = $var5 === null ? null : $var5.$value1; $var5 = $this.$textureStichedMap; if ($var29 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { bd: { if (!$var29.$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $var29.$nativeString.length) break bd; $var29.$hashCode1 = (31 * $var29.$hashCode1 | 0) + $var29.$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } $var12 = $var29.$hashCode1; $var19 = $var5.$elementData.data; $var5 = $var19[$var12 & ($var19.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var12) { o: { $var8 = $var5.$key; if ($var29 !== $var8) { if ($var29 === $var8) $var2 = 1; else if (!($var8 instanceof jl_String)) $var2 = 0; else { $var8 = $var8; $var2 = $var29.$nativeString !== $var8.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break o; } } $var2 = 1; } if ($var2) break; } $var5 = $var5.$next3; } } $var11 = $var5 === null ? null : $var5.$value1; $var12 = 0; if ($var11 === null) { $var12 = 1; if ($rt_s(1846) === $var29) $var2 = 1; else if (!($var29 instanceof jl_String)) $var2 = 0; else { $var8 = $var29; $var2 = $rt_s(1846).$nativeString !== $var8.$nativeString ? 0 : 1; } if ($var2) { $var11 = new nms_TextureClock; $var11.$frameCounter = 0; $var11.$tickCounter = 0; $var11.$textureName0 = $rt_s(1846); } else { if ($rt_s(1847) === $var29) $var2 = 1; else if (!($var29 instanceof jl_String)) $var2 = 0; else { $var8 = $var29; $var2 = $rt_s(1847).$nativeString !== $var8.$nativeString ? 0 : 1; } if (!$var2) { $var11 = new nms_TextureStitched; $var11.$frameCounter = 0; $var11.$tickCounter = 0; $var11.$textureName0 = $var29; } else { $var11 = new nms_TextureCompass; $var11.$frameCounter = 0; $var11.$tickCounter = 0; $var11.$textureName0 = $rt_s(1847); nms_TextureCompass_compassTexture = $var11; } } if ($var29 === $rt_s(1574)) $var2 = 1; else if (!($rt_s(1574) instanceof jl_String)) $var2 = 0; else { $var5 = $rt_s(1574); $var2 = $var29.$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$var2) { if (jl_System_outCache === null) { $var5 = new otcic_JSStdoutPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); $var5.$out0 = $var8; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var5.$sb = $var8; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var5; } $var5 = $this.$textureName2; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var9); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var29 === null ? $rt_s(1) : $var29); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var6); $var2 = $var8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var5); $var5 = new jl_String; $var19 = $var8.$buffer; $var1 = $var19.data; $var3 = $var8.$length0; var$29 = $var1.length; if ($var3 < 0) break bb; if ($var3 > (var$29 - 0 | 0)) break bb; $var5.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $rt_putStdout($rt_ustr($var5)); $rt_putStdout($rt_ustr($var22)); } } $var5 = $this.$atlasTexture; var$30 = $var25.$originX; var$31 = $var25.$originY; $var8 = $var27.$theTexture; nms_TextureStitched_init($var11, $var5, $var10, var$30, var$31, $var8.$width3, $var8.$height4, $var27.$rotated); ju_HashMap_putImpl($this.$mapTexturesStiched, $var29, $var11); if (!$var12) ju_HashMap_removeByKey($this.$textureStichedMap, $var29); if ($var10.$size() <= 1) continue; else { $var5 = $this.$listTextureStiched; ju_ArrayList_ensureCapacity($var5, $var5.$size0 + 1 | 0); $var19 = $var5.$array.data; $var3 = $var5.$size0; $var5.$size0 = $var3 + 1 | 0; $var19[$var3] = $var11; $var5.$modCount = $var5.$modCount + 1 | 0; $var5 = $this.$basePath; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var2 = $var8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var5); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var29 === null ? $rt_s(1) : $var29); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var26); $var21 = new jl_String; $var19 = $var8.$buffer; $var1 = $var19.data; $var3 = $var8.$length0; $var12 = $var1.length; if ($var3 >= 0 && $var3 <= ($var12 - 0 | 0)) { $var21.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $var14 = nms_Minecraft_theMinecraft.$texturePackList.$selectedTexturePack; $var5 = $this.$basePath; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var2 = $var8.$length0; jl_AbstractStringBuilder_insertSpace($var8, $var2, $var2 + 1 | 0); $var8.$buffer.data[$var2] = var$22; $var2 = $var8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var5); $var2 = $var8.$length0; if ($var29 === null) $var29 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var29); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var18); $var5 = new jl_String; $var19 = $var8.$buffer; $var1 = $var19.data; $var3 = $var8.$length0; $var12 = $var1.length; if ($var3 >= 0 && $var3 <= ($var12 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $var2 = 0; $ptr = 2; continue main; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } } $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } if (jl_System_outCache === null) { $var5 = new otcic_JSStdoutPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); $var5.$out0 = $var8; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var5.$sb = $var8; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var5; } $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $var23); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $var21); $var8 = new jl_String; $var19 = $var5.$buffer; $var1 = $var19.data; $var3 = $var5.$length0; $var12 = $var1.length; if ($var3 >= 0 && $var3 <= ($var12 - 0 | 0)) { $var8.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $rt_putStdout($rt_ustr($var8)); $rt_putStdout($rt_ustr($var4)); $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); $var3 = $var5.$length0; jl_AbstractStringBuilder_insertSpace($var5, $var3, $var3 + 1 | 0); $var5.$buffer.data[$var3] = var$22; jl_AbstractStringBuilder_insert($var5, $var5.$length0, $var21); $var8 = new jl_String; $var19 = $var5.$buffer; $var1 = $var19.data; $var3 = $var5.$length0; $var12 = $var1.length; if ($var3 >= 0 && $var3 <= ($var12 - 0 | 0)) { $var8.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $ptr = 4; continue main; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); case 4: nms_TextureStitched_readAnimationInfo($var11, $var8); if ($rt_suspending()) { break main; } be: { while (true) { $var3 = var$20; if (!($var3 >= var$14 ? 0 : 1)) { bf: { $var20 = $this.$mapTexturesStiched; if (!$rt_s(1574).$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $rt_s(1574).$nativeString.length) break bf; $rt_s(1574).$hashCode1 = (31 * $rt_s(1574).$hashCode1 | 0) + $rt_s(1574).$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } $var2 = $rt_s(1574).$hashCode1; $var19 = $var20.$elementData.data; $var20 = $var19[$var2 & ($var19.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var2) { ba: { $var5 = $var20.$key; if ($rt_s(1574) !== $var5) { if ($rt_s(1574) === $var5) $var3 = 1; else if (!($var5 instanceof jl_String)) $var3 = 0; else { $var5 = $var5; $var3 = $rt_s(1574).$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break ba; } } $var3 = 1; } if ($var3) break; } $var20 = $var20.$next3; } $this.$missingTextureStiched = $var20 === null ? null : $var20.$value1; $var20 = $this.$textureStichedMap; if ($var20.$cachedValues === null) { $var24 = new ju_HashMap$2; $var24.$this$01 = $var20; $var20.$cachedValues = $var24; } $var20 = $var20.$cachedValues.$iterator(); while ($var20.$hasNext()) { $var26 = $var20.$next(); $var24 = $this.$missingTextureStiched; nms_TextureStitched_init($var26, $var24.$textureSheet, $var24.$textureList, $var24.$originX0, $var24.$originY0, $var24.$width8, $var24.$height6, $var24.$rotated0); } nms_Texture_uploadTexture($this.$atlasTexture); return; } if (var$21 < $var24.$modCount) break; var$20 = $var3 + 1 | 0; $var25 = $var24.$get($var3); $var27 = $var25.$holder; $var29 = $var27.$theTexture.$textureName1; $var5 = $var27; if (!$var5.$id$) $var5.$id$ = $rt_nextId(); $var12 = $var27.$id$; $var19 = $var20.$elementData.data; $var5 = $var19[$var12 & ($var19.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var12) { $var8 = $var5.$key; if ($var27 !== $var8 && !($var27 !== $var8 ? 0 : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } $var10 = $var5 === null ? null : $var5.$value1; $var5 = $this.$textureStichedMap; if ($var29 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { bg: { if (!$var29.$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $var29.$nativeString.length) break bg; $var29.$hashCode1 = (31 * $var29.$hashCode1 | 0) + $var29.$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } $var12 = $var29.$hashCode1; $var19 = $var5.$elementData.data; $var5 = $var19[$var12 & ($var19.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var12) { bh: { $var8 = $var5.$key; if ($var29 !== $var8) { if ($var29 === $var8) $var2 = 1; else if (!($var8 instanceof jl_String)) $var2 = 0; else { $var8 = $var8; $var2 = $var29.$nativeString !== $var8.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break bh; } } $var2 = 1; } if ($var2) break; } $var5 = $var5.$next3; } } $var11 = $var5 === null ? null : $var5.$value1; $var12 = 0; if ($var11 === null) { $var12 = 1; if ($rt_s(1846) === $var29) $var2 = 1; else if (!($var29 instanceof jl_String)) $var2 = 0; else { $var8 = $var29; $var2 = $rt_s(1846).$nativeString !== $var8.$nativeString ? 0 : 1; } if ($var2) { $var11 = new nms_TextureClock; $var11.$frameCounter = 0; $var11.$tickCounter = 0; $var11.$textureName0 = $rt_s(1846); } else { if ($rt_s(1847) === $var29) $var2 = 1; else if (!($var29 instanceof jl_String)) $var2 = 0; else { $var8 = $var29; $var2 = $rt_s(1847).$nativeString !== $var8.$nativeString ? 0 : 1; } if (!$var2) { $var11 = new nms_TextureStitched; $var11.$frameCounter = 0; $var11.$tickCounter = 0; $var11.$textureName0 = $var29; } else { $var11 = new nms_TextureCompass; $var11.$frameCounter = 0; $var11.$tickCounter = 0; $var11.$textureName0 = $rt_s(1847); nms_TextureCompass_compassTexture = $var11; } } if ($var29 === $rt_s(1574)) $var2 = 1; else if (!($rt_s(1574) instanceof jl_String)) $var2 = 0; else { $var5 = $rt_s(1574); $var2 = $var29.$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$var2) { if (jl_System_outCache === null) { $var5 = new otcic_JSStdoutPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); $var5.$out0 = $var8; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var5.$sb = $var8; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var5; } $var5 = $this.$textureName2; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var9); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var29 === null ? $rt_s(1) : $var29); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var6); $var2 = $var8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var5); $var5 = new jl_String; $var19 = $var8.$buffer; $var1 = $var19.data; $var3 = $var8.$length0; var$29 = $var1.length; if ($var3 < 0) break be; if ($var3 > (var$29 - 0 | 0)) break be; $var5.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $rt_putStdout($rt_ustr($var5)); $rt_putStdout($rt_ustr($var22)); } } $var5 = $this.$atlasTexture; var$30 = $var25.$originX; var$31 = $var25.$originY; $var8 = $var27.$theTexture; nms_TextureStitched_init($var11, $var5, $var10, var$30, var$31, $var8.$width3, $var8.$height4, $var27.$rotated); ju_HashMap_putImpl($this.$mapTexturesStiched, $var29, $var11); if (!$var12) ju_HashMap_removeByKey($this.$textureStichedMap, $var29); if ($var10.$size() <= 1) continue; else { $var5 = $this.$listTextureStiched; ju_ArrayList_ensureCapacity($var5, $var5.$size0 + 1 | 0); $var19 = $var5.$array.data; $var3 = $var5.$size0; $var5.$size0 = $var3 + 1 | 0; $var19[$var3] = $var11; $var5.$modCount = $var5.$modCount + 1 | 0; $var5 = $this.$basePath; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var2 = $var8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var5); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var29 === null ? $rt_s(1) : $var29); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var26); $var21 = new jl_String; $var19 = $var8.$buffer; $var1 = $var19.data; $var3 = $var8.$length0; $var12 = $var1.length; if ($var3 >= 0 && $var3 <= ($var12 - 0 | 0)) { $var21.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $var14 = nms_Minecraft_theMinecraft.$texturePackList.$selectedTexturePack; $var5 = $this.$basePath; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $var2 = $var8.$length0; jl_AbstractStringBuilder_insertSpace($var8, $var2, $var2 + 1 | 0); $var8.$buffer.data[$var2] = var$22; $var2 = $var8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var5); $var2 = $var8.$length0; if ($var29 === null) $var29 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var2, $var29); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $var18); $var5 = new jl_String; $var19 = $var8.$buffer; $var1 = $var19.data; $var3 = $var8.$length0; $var12 = $var1.length; if ($var3 >= 0 && $var3 <= ($var12 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString($var19.data, 0, $var3); $var2 = 0; $ptr = 2; continue main; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } } $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var20, $var19, $var24, $var2, $var3, $var12, $var4, $var23, $var21, $var5, $var8, $var1, $var22, var$14, var$15, $var6, $var9, $var18, var$19, var$20, var$21, var$22, $var26, $var25, $var27, $var29, $var10, $var11, var$29, var$30, var$31, $var14, var$33, var$34, var$35, var$36, var$37, var$38, var$39, var$40, var$41, var$42, var$43, var$44, $ptr); }, nms_TextureMap_registerIcon = ($this, $par1Str, $w) => { let $var2, var$4, var$5, var$6, var$7, var$8, var$9; if ($w != 1) { if (jl_System_errCache === null) { $var2 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); $var2.$out0 = var$4; var$4 = new jl_StringBuilder; jl_Object__init_(var$4); var$4.$buffer = $rt_createCharArray(16); $var2.$sb = var$4; $var2.$buffer0 = $rt_createCharArray(32); $var2.$autoFlush = 0; $var2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var2; } $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $rt_s(1840)); var$5 = $var2.$length0; if ($par1Str === null) $par1Str = $rt_s(1); jl_AbstractStringBuilder_insert($var2, var$5, $par1Str); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $rt_s(1841)); jl_AbstractStringBuilder_insert0($var2, $var2.$length0, $w, 10); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $rt_s(1848)); $par1Str = new jl_String; var$6 = $var2.$buffer; var$7 = var$6.data; var$5 = $var2.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { $par1Str.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $rt_putStderr($rt_ustr($par1Str)); $rt_putStderr("\n"); return $this.$missingTextureStiched; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); } if ($par1Str === null) { $var2 = new jl_RuntimeException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $var2.$message = $rt_s(1849); if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); var$4.$sb = var$9; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } jl_Throwable_printStackTrace($var2, jl_System_errCache); } $var2 = $this.$textureStichedMap; if ($par1Str === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$8 = $par1Str.$hashCode1; var$6 = $var2.$elementData.data; $var2 = var$6[var$8 & (var$6.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { b: { var$4 = $var2.$key; if ($par1Str !== var$4) { if ($par1Str === var$4) $w = 1; else if (!(var$4 instanceof jl_String)) $w = 0; else { var$4 = var$4; $w = $par1Str.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!$w) { $w = 0; break b; } } $w = 1; } if ($w) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null) { if ($rt_s(1846) === $par1Str) $w = 1; else if (!($par1Str instanceof jl_String)) $w = 0; else { var$4 = $par1Str; $w = $rt_s(1846).$nativeString !== var$4.$nativeString ? 0 : 1; } if ($w) { $var2 = new nms_TextureClock; $var2.$frameCounter = 0; $var2.$tickCounter = 0; $var2.$textureName0 = $rt_s(1846); } else { if ($rt_s(1847) === $par1Str) $w = 1; else if (!($par1Str instanceof jl_String)) $w = 0; else { var$4 = $par1Str; $w = $rt_s(1847).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!$w) { $var2 = new nms_TextureStitched; $var2.$frameCounter = 0; $var2.$tickCounter = 0; $var2.$textureName0 = $par1Str; } else { $var2 = new nms_TextureCompass; $var2.$frameCounter = 0; $var2.$tickCounter = 0; $var2.$textureName0 = $rt_s(1847); nms_TextureCompass_compassTexture = $var2; } } ju_HashMap_putImpl($this.$textureStichedMap, $par1Str, $var2); } return $var2; }, nms_TextureMap__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1180); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TextureMap_locationBlocksTexture = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1181); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TextureMap_locationItemsTexture = var$1; }; function ji_InputStreamReader() { let a = this; ji_Reader.call(a); a.$stream = null; a.$decoder = null; a.$inData0 = null; a.$inBuffer = null; a.$outData = null; a.$outBuffer = null; a.$streamEof = 0; a.$eof3 = 0; } let ji_InputStreamReader__init_0 = ($this, $in, $charsetName) => { let var$3, $$je; a: { try { var$3 = jnc_Charset_forName(jl_String_toString($charsetName)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_UnsupportedCharsetException) { } else { throw $$e; } } $in = new ji_UnsupportedEncodingException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $in.$message = $charsetName; $rt_throw($in); } var$3 = var$3.$newDecoder(); $charsetName = jnc_CodingErrorAction_REPLACE; if ($charsetName !== null) { var$3.$malformedAction = $charsetName; var$3.$unmappableAction0 = $charsetName; ji_InputStreamReader__init_($this, $in, var$3); return; } $charsetName = new jl_IllegalArgumentException; $charsetName.$suppressionEnabled = 1; $charsetName.$writableStackTrace = 1; $charsetName.$message = $rt_s(759); $rt_throw($charsetName); }, ji_InputStreamReader__init_2 = (var_0, var_1) => { let var_2 = new ji_InputStreamReader(); ji_InputStreamReader__init_0(var_2, var_0, var_1); return var_2; }, ji_InputStreamReader__init_1 = ($this, $in) => { let var$2, var$3; var$2 = jnci_UTF8Charset_INSTANCE; var$3 = new jnci_UTF8Decoder; jnc_CharsetDecoder__init_(var$3, var$2, 0.3333333432674408, 0.5); var$3.$inArray = $rt_createByteArray(512); var$3.$outArray = $rt_createCharArray(512); var$2 = jnc_CodingErrorAction_REPLACE; if (var$2 !== null) { var$3.$malformedAction = var$2; var$3.$unmappableAction0 = var$2; ji_InputStreamReader__init_($this, $in, var$3); return; } var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(759); $rt_throw(var$2); }, ji_InputStreamReader__init_3 = var_0 => { let var_1 = new ji_InputStreamReader(); ji_InputStreamReader__init_1(var_1, var_0); return var_1; }, ji_InputStreamReader__init_ = ($this, $in, $decoder) => { let var$3, var$4, var$5, var$6, var$7, var$8; $this.$lock0 = new jl_Object; var$3 = $rt_createByteArray(8192); var$4 = var$3.data; $this.$inData0 = var$3; var$5 = var$4.length; if (var$5 >= 0 && var$5 <= (var$5 - 0 | 0)) { var$6 = new jn_ByteBufferImpl; var$7 = 0 + var$5 | 0; var$6.$mark = (-1); var$6.$capacity = var$5; var$6.$limit0 = var$5; var$6.$order = jn_ByteOrder_BIG_ENDIAN; var$6.$start = 0; var$6.$array0 = var$3; var$6.$position0 = 0; var$6.$limit0 = var$7; var$6.$direct = 0; var$6.$readOnly0 = 0; $this.$inBuffer = var$6; var$4 = $rt_createCharArray(1024); var$3 = var$4.data; $this.$outData = var$4; var$7 = var$3.length; var$6 = new jn_CharBufferOverArray; var$8 = 0 + var$7 | 0; var$6.$mark = (-1); var$6.$capacity = var$7; var$6.$limit0 = var$7; var$6.$position0 = 0; var$6.$limit0 = var$8; var$6.$start1 = 0; var$6.$readOnly1 = 0; var$6.$array1 = var$4; $this.$outBuffer = var$6; $this.$stream = $in; $this.$decoder = $decoder; jn_Buffer_position(var$6, var$8); $in = $this.$inBuffer; jn_Buffer_position($in, $in.$limit0); return; } $in = new jl_IndexOutOfBoundsException; $in.$suppressionEnabled = 1; $in.$writableStackTrace = 1; $rt_throw($in); }, ji_InputStreamReader__init_4 = (var_0, var_1) => { let var_2 = new ji_InputStreamReader(); ji_InputStreamReader__init_(var_2, var_0, var_1); return var_2; }, ji_InputStreamReader_close = $this => { return; }, ji_InputStreamReader_read = ($this, $cbuf, $off, $len) => { let var$4, $bytesRead, $sz, var$7; if ($this.$eof3) { var$4 = $this.$outBuffer; if (!(var$4.$position0 >= var$4.$limit0 ? 0 : 1)) return (-1); } $bytesRead = 0; a: { while ($len > 0) { var$4 = $this.$outBuffer; $sz = var$4.$limit0 - var$4.$position0 | 0; if ($len < $sz) $sz = $len; jn_CharBuffer_get(var$4, $cbuf, $off + $bytesRead | 0, $sz); $len = $len - $sz | 0; $bytesRead = $bytesRead + $sz | 0; var$4 = $this.$outBuffer; var$7 = var$4.$position0 >= var$4.$limit0 ? 0 : 1; if (!var$7 && !ji_InputStreamReader_fillBuffer($this)) break a; } } return $bytesRead; }, ji_InputStreamReader_fillBuffer = $this => { let $result, var$2, var$3; if ($this.$eof3) return 0; jn_CharBufferImpl_compact($this.$outBuffer); a: { while (true) { $result = $this.$inBuffer; var$2 = $result.$position0 >= $result.$limit0 ? 0 : 1; if (!var$2 && !ji_InputStreamReader_fillReadBuffer($this)) break a; var$3 = (jnc_CharsetDecoder_decode0($this.$decoder, $this.$inBuffer, $this.$outBuffer, $this.$streamEof)).$kind; if (var$3 != 1 ? 0 : 1) break; if (var$3 ? 0 : 1) ji_InputStreamReader_fillReadBuffer($this); } } $result = $this.$inBuffer; var$2 = $result.$position0 >= $result.$limit0 ? 0 : 1; if (!var$2 && $this.$streamEof) { $result = $this.$decoder; var$3 = $result.$state0; if (var$3 != 3 && var$3 != 2) { $result = new jl_IllegalStateException; $result.$suppressionEnabled = 1; $result.$writableStackTrace = 1; $rt_throw($result); } $result.$state0 = 3; if (jnc_CoderResult_UNDERFLOW.$kind ? 0 : 1) $this.$eof3 = 1; } $result = $this.$outBuffer; $result.$limit0 = $result.$position0; $result.$position0 = 0; $result.$mark = (-1); return 1; }, ji_InputStreamReader_fillReadBuffer = $this => { let var$1, $bytesRead, var$3; if ($this.$streamEof) return 0; jn_ByteBufferImpl_compact($this.$inBuffer); a: { while (true) { var$1 = $this.$inBuffer; $bytesRead = var$1.$position0; var$3 = var$1.$limit0; if (!($bytesRead >= var$3 ? 0 : 1)) break a; $bytesRead = nle_EaglerInputStream_read0($this.$stream, var$1.$array0, $bytesRead, var$3 - $bytesRead | 0); if ($bytesRead == (-1)) { $this.$streamEof = 1; break a; } var$1 = $this.$inBuffer; jn_Buffer_position(var$1, var$1.$position0 + $bytesRead | 0); if (!$bytesRead) break; } } var$1 = $this.$inBuffer; var$1.$limit0 = var$1.$position0; var$1.$position0 = 0; var$1.$mark = (-1); return 1; }; function nms_MouseFilter() { let a = this; jl_Object.call(a); a.$field_76336_a = 0.0; a.$field_76334_b = 0.0; a.$field_76335_c = 0.0; } let nms_MouseFilter__init_ = $this => { return; }, nms_MouseFilter__init_0 = () => { let var_0 = new nms_MouseFilter(); nms_MouseFilter__init_(var_0); return var_0; }, nms_MouseFilter_smooth = ($this, $par1, $par2) => { let var$3, var$4; $par1 = $this.$field_76336_a + $par1; $this.$field_76336_a = $par1; var$3 = $this.$field_76334_b; $par1 = ($par1 - var$3) * $par2; $par2 = $this.$field_76335_c; $par2 = $par2 + ($par1 - $par2) * 0.5; $this.$field_76335_c = $par2; var$4 = $rt_compare($par1, 0.0); if (!(var$4 > 0 && $par1 > $par2)) { if (var$4 >= 0) $par2 = $par1; else if ($par1 >= $par2) $par2 = $par1; } $this.$field_76334_b = var$3 + $par2; return $par2; }, nle_EaglerMisc = $rt_classWithoutFields(), nle_EaglerMisc__init_ = $this => { return; }, nle_EaglerMisc__init_0 = () => { let var_0 = new nle_EaglerMisc(); nle_EaglerMisc__init_(var_0); return var_0; }, nle_EaglerMisc_bytesToString = $bb => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $$je; if ($bb === null) return $rt_s(18); var$2 = $bb.data; var$3 = new jl_String; jnc_StandardCharsets_$callClinit(); var$4 = jnc_StandardCharsets_UTF_8; var$5 = var$2.length; if (var$5 >= 0 && var$5 <= (var$5 - 0 | 0)) { var$6 = new jn_ByteBufferImpl; var$7 = 0 + var$5 | 0; var$6.$mark = (-1); var$6.$capacity = var$5; var$6.$limit0 = var$5; var$6.$order = jn_ByteOrder_BIG_ENDIAN; var$6.$start = 0; var$6.$array0 = $bb; var$6.$position0 = 0; var$6.$limit0 = var$7; var$6.$direct = 0; var$6.$readOnly0 = 0; a: { try { var$4 = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(jnci_UTF8Charset_newDecoder(var$4), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$6); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { var$3 = $$je; } else { throw $$e; } } var$6 = new jl_AssertionError; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; var$6.$message = $rt_s(405); var$6.$cause = var$3; $rt_throw(var$6); } var$8 = var$4.$position0; if (!var$8 && var$4.$limit0 == var$4.$capacity) $bb = var$4.$array1; else { $bb = $rt_createCharArray(var$4.$limit0 - var$8 | 0); jn_CharBuffer_get(var$4, $bb, 0, $bb.data.length); } var$3.$nativeString = $rt_fullArrayToString($bb.data); return var$3; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); }, nle_EaglerMisc_bytesToLines = $bb => { let $contents, var$3, var$4, var$5, var$6, var$7, var$8, $$je; if ($bb === null) $contents = $rt_s(18); else { var$3 = $bb.data; $contents = new jl_String; jnc_StandardCharsets_$callClinit(); var$4 = jnc_StandardCharsets_UTF_8; var$5 = var$3.length; if (var$5 >= 0 && var$5 <= (var$5 - 0 | 0)) { var$6 = new jn_ByteBufferImpl; var$7 = 0 + var$5 | 0; var$6.$mark = (-1); var$6.$capacity = var$5; var$6.$limit0 = var$5; var$6.$order = jn_ByteOrder_BIG_ENDIAN; var$6.$start = 0; var$6.$array0 = $bb; var$6.$position0 = 0; var$6.$limit0 = var$7; var$6.$direct = 0; var$6.$readOnly0 = 0; a: { try { var$4 = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(jnci_UTF8Charset_newDecoder(var$4), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$6); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { var$4 = $$je; } else { throw $$e; } } var$6 = new jl_AssertionError; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; var$6.$message = $rt_s(405); var$6.$cause = var$4; $rt_throw(var$6); } var$8 = var$4.$position0; if (!var$8 && var$4.$limit0 == var$4.$capacity) $bb = var$4.$array1; else { $bb = $rt_createCharArray(var$4.$limit0 - var$8 | 0); jn_CharBuffer_get(var$4, $bb, 0, $bb.data.length); } $contents.$nativeString = $rt_fullArrayToString($bb.data); } else { $contents = new jl_IndexOutOfBoundsException; $contents.$suppressionEnabled = 1; $contents.$writableStackTrace = 1; $rt_throw($contents); } } if ($contents.$nativeString.length ? 0 : 1) return $rt_createArray(jl_String, 0); $contents = jl_String_replace($contents, $rt_s(1590), $rt_s(469)); return jur_Pattern_split(jur_Pattern_compile($rt_s(1591), 0), $contents, 0); }; function nms_EntityLiving() { let a = this; nms_EntityLivingBase.call(a); a.$livingSoundTime = 0; a.$experienceValue = 0; a.$lookHelper = null; a.$moveHelper = null; a.$jumpHelper = null; a.$bodyHelper = null; a.$navigator = null; a.$tasks0 = null; a.$targetTasks = null; a.$attackTarget = null; a.$senses = null; a.$equipment = null; a.$equipmentDropChances = null; a.$canPickUpLoot = 0; a.$persistenceRequired = 0; a.$defaultPitch = 0.0; a.$currentTarget = null; a.$numTicksToChaseTarget = 0; a.$isLeashed = 0; a.$leashedToEntity = null; a.$field_110170_bx = null; } let nms_EntityLiving__init_ = ($this, $par1World) => { let var$2, var$3, var$4, $var2, var$6; nms_EntityLivingBase__init_($this, $par1World); $this.$equipment = $rt_createArray(nms_ItemStack, 5); $this.$equipmentDropChances = $rt_createFloatArray(5); $this.$tasks0 = nms_EntityAITasks__init_(); $this.$targetTasks = nms_EntityAITasks__init_(); var$2 = new nms_EntityLookHelper; var$2.$entity1 = $this; $this.$lookHelper = var$2; var$2 = new nms_EntityMoveHelper; var$2.$entity2 = $this; var$2.$posX12 = $this.$posX; var$2.$posY12 = $this.$posY; var$2.$posZ11 = $this.$posZ; $this.$moveHelper = var$2; var$2 = new nms_EntityJumpHelper; var$2.$entity0 = $this; $this.$jumpHelper = var$2; var$2 = new nms_EntityBodyHelper; var$2.$theLiving = $this; $this.$bodyHelper = var$2; var$2 = new nms_PathNavigate; var$3 = new nms_Vec3; var$4 = nms_Vec3_fakePool; var$3.$xCoord = 0.0; var$3.$yCoord = 0.0; var$3.$zCoord = 0.0; var$3.$myVec3LocalPool = var$4; var$2.$lastPosCheck = var$3; var$2.$canPassOpenWoodenDoors = 1; var$2.$theEntity = $this; var$2.$worldObj3 = $par1World; $par1World = nms_SharedMonsterAttributes_followRange; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if ($par1World === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$4 = $par1World.$field_111115_a; if (!var$4.$hashCode1) { $var2 = 0; while (true) { if ($var2 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } $var2 = var$4.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[$var2 & (var$6.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == $var2 && ju_HashMap_areEqualKeys($par1World, var$3.$key))) { var$3 = var$3.$next3; } } var$2.$pathSearchRange = var$3 === null ? null : var$3.$value1; $this.$navigator = var$2; $par1World = new nms_EntitySenses; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $par1World.$seenEntities = var$2; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $par1World.$unseenEntities = var$2; $par1World.$entityObj1 = $this; $this.$senses = $par1World; $var2 = 0; while (true) { var$6 = $this.$equipmentDropChances.data; if ($var2 >= var$6.length) break; var$6[$var2] = 0.08500000089406967; $var2 = $var2 + 1 | 0; } }, nms_EntityLiving_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if (!$this.$isAIEnabled()) { var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$5 && ju_HashMap_areEqualKeys(var$1, var$2.$key))) { var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (0.10000000149011612 !== var$3.$baseValue) { var$3.$baseValue = 0.10000000149011612; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityLiving_getLookHelper = $this => { return $this.$lookHelper; }, nms_EntityLiving_getMoveHelper = $this => { return $this.$moveHelper; }, nms_EntityLiving_getJumpHelper = $this => { return $this.$jumpHelper; }, nms_EntityLiving_getNavigator = $this => { return $this.$navigator; }, nms_EntityLiving_getEntitySenses = $this => { return $this.$senses; }, nms_EntityLiving_getAttackTarget = $this => { return $this.$attackTarget; }, nms_EntityLiving_setAttackTarget = ($this, $par1EntityLivingBase) => { $this.$attackTarget = $par1EntityLivingBase; }, nms_EntityLiving_canAttackClass = ($this, $par1Class) => { return $rt_cls(nms_EntityCreeper) !== $par1Class && $rt_cls(nms_EntityGhast) !== $par1Class ? 1 : 0; }, nms_EntityLiving_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); }, nms_EntityLiving_getTalkInterval = $this => { return 80; }, nms_EntityLiving_playLivingSound = $this => { let $var1, var$2, var$3; $var1 = $this.$getLivingSound(); if ($var1 !== null) { var$2 = $this.$getSoundVolume(); var$3 = $this.$getSoundPitch(); nms_World_playSoundAtEntity($this.$worldObj, $this, $var1, var$2, var$3); } }, nms_EntityLiving_onEntityUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_EntityLivingBase_onEntityUpdate($this); if ($rt_suspending()) { break main; } if (!$this.$isDead) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { var$6 = 1; break a; } } var$6 = 0; } if (var$6) { var$1 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$7; var$3 = Long_lo(Long_shru(var$7, 17)); while (true) { var$8 = var$3 % 1000 | 0; if (((var$3 - var$8 | 0) + 999 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$7; var$3 = Long_lo(Long_shru(var$7, 17)); } var$9 = $this.$livingSoundTime; $this.$livingSoundTime = var$9 + 1 | 0; if (var$8 < var$9) { $this.$livingSoundTime = -$this.$getTalkInterval() | 0; var$1 = $this.$getLivingSound(); if (var$1 !== null) { var$10 = $this.$getSoundVolume(); var$11 = $this.$getSoundPitch(); nms_World_playSoundAtEntity($this.$worldObj, $this, var$1, var$10, var$11); } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntityLiving_getExperiencePoints = ($this, $par1EntityPlayer) => { let $var2, $var3, $var4, var$5, var$6, var$7, var$8; $var2 = $this.$experienceValue; if ($var2 <= 0) return $var2; $var3 = $this.$equipment; $var4 = 0; while (true) { var$5 = $var3.data; if ($var4 >= var$5.length) break; if (var$5[$var4] !== null && $this.$equipmentDropChances.data[$var4] <= 1.0) { $par1EntityPlayer = $this.$rand; var$6 = Long_and(Long_add(Long_mul($par1EntityPlayer.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityPlayer.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); while (true) { var$8 = var$7 % 3 | 0; if (((var$7 - var$8 | 0) + 2 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par1EntityPlayer.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityPlayer.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); } $var2 = $var2 + (1 + var$8 | 0) | 0; } $var4 = $var4 + 1 | 0; } return $var2; }, nms_EntityLiving_spawnExplosionParticle = $this => { let $var1, var$2, $var2, $var4, $var6, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 0; var$2 = 24; while ($var1 < 20) { $var2 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var4 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var6 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$6 = $this.$worldObj; var$7 = $rt_s(1264); var$8 = $this.$posX; var$9 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, var$2)) / 1.6777216E7; var$12 = $this.$width1; var$8 = var$8 + var$11 * var$12 * 2.0; var$13 = var$12; var$14 = var$8 - var$13 - $var2 * 10.0; var$8 = $this.$posY; var$10 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$15 = var$8 + Long_lo(Long_shru(var$10, var$2)) / 1.6777216E7 * $this.$height2 - $var4 * 10.0; var$8 = $this.$posZ; var$16 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$16; var$8 = var$8 + Long_lo(Long_shru(var$16, var$2)) / 1.6777216E7 * var$12 * 2.0 - var$13 - $var6 * 10.0; var$17 = 0; var$9 = var$6.$worldAccesses; var$18 = $rt_compare(var$17, var$9.$size0); if (var$18 < 0) { if (var$17 >= 0 && var$18 < 0) { var$9 = var$9.$array.data[var$17]; $ptr = 1; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } $var1 = $var1 + 1 | 0; } return; case 1: nms_RenderGlobal_doSpawnParticle(var$9, var$7, var$14, var$15, var$8, $var2, $var4, $var6); if ($rt_suspending()) { break main; } var$17 = var$17 + 1 | 0; while (true) { var$9 = var$6.$worldAccesses; var$18 = $rt_compare(var$17, var$9.$size0); if (var$18 < 0) { if (var$17 >= 0 && var$18 < 0) { var$9 = var$9.$array.data[var$17]; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } $var1 = $var1 + 1 | 0; if ($var1 >= 20) break; $var2 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var4 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var6 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$6 = $this.$worldObj; var$7 = $rt_s(1264); var$8 = $this.$posX; var$9 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, var$2)) / 1.6777216E7; var$12 = $this.$width1; var$8 = var$8 + var$11 * var$12 * 2.0; var$13 = var$12; var$14 = var$8 - var$13 - $var2 * 10.0; var$8 = $this.$posY; var$10 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$15 = var$8 + Long_lo(Long_shru(var$10, var$2)) / 1.6777216E7 * $this.$height2 - $var4 * 10.0; var$8 = $this.$posZ; var$16 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$16; var$8 = var$8 + Long_lo(Long_shru(var$16, var$2)) / 1.6777216E7 * var$12 * 2.0 - var$13 - $var6 * 10.0; var$17 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $var2, $var4, $var6, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityLiving_onUpdate = $this => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLivingBase_onUpdate($this); if ($rt_suspending()) { break main; } if ($this.$worldObj.$isRemote) return; $ptr = 2; case 2: $this.$func_110159_bB(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); }, nms_EntityLiving_func_110146_f = ($this, $par1, $par2) => { if (!$this.$isAIEnabled()) return nms_EntityLivingBase_func_110146_f($this, $par1, $par2); nms_EntityBodyHelper_func_75664_a($this.$bodyHelper); return $par2; }, nms_EntityLiving_getLivingSound = $this => { return null; }, nms_EntityLiving_getDropItemId = $this => { return 0; }, nms_EntityLiving_dropFewItems = ($this, $par1, $par2) => { let $var3, var$4, var$5, var$6, $var4, $var5, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$getDropItemId(); if ($var3 > 0) { var$4 = $this.$rand; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); while (true) { $var4 = var$6 % 3 | 0; if (((var$6 - $var4 | 0) + 2 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); } if ($par2 > 0) { var$6 = $par2 + 1 | 0; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; $par2 = Long_lo(Long_shru(var$5, 17)); $var5 = var$6 - 1 | 0; if (!(var$6 & $var5)) $par1 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$6), Long_fromInt($par2)), 31)); else while (true) { $par1 = $par2 % var$6 | 0; if ((($par2 - $par1 | 0) + $var5 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; $par2 = Long_lo(Long_shru(var$5, 17)); } $var4 = $var4 + $par1 | 0; } $var5 = 0; var$9 = 0.0; $par2 = 138; if ($var5 < $var4) { var$10 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$10.$itemID = $var3; var$10.$stackSize = 1; var$10.$itemDamage = 0; var$11 = new nms_EntityItem; var$4 = $this.$worldObj; var$12 = $this.$posX; var$13 = $this.$posY + var$9; var$14 = $this.$posZ; $ptr = 1; continue main; } } return; case 1: nms_EntityItem__init_(var$11, var$4, var$12, var$13, var$14); if ($rt_suspending()) { break main; } var$15 = var$11.$dataWatcher; var$4 = var$15.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = ju_HashMap_entryByKey(var$4, jl_Integer_integerCache.data[$par2]); var$16 = var$4 === null ? null : var$4.$value1; if (!(var$10 !== var$16.$watchedObject ? 0 : 1)) { var$16.$watchedObject = var$10; var$16.$watched = 1; var$15.$objectChanged = 1; } var$15 = var$11.$dataWatcher; var$4 = var$15.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = ju_HashMap_entryByKey(var$4, jl_Integer_integerCache.data[$par2]); (var$4 === null ? null : var$4.$value1).$watched = 1; var$15.$objectChanged = 1; var$11.$delayBeforeCanPickup = 10; var$16 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$16, var$11); var$15 = var$16.$entityList; ju_HashMap_putImpl(var$15.$backingMap, var$11, var$15); if (!$par1) { var$4 = var$16.$entitySpawnQueue; ju_HashMap_putImpl(var$4.$backingMap, var$11, var$4); } $var5 = $var5 + 1 | 0; if ($var5 >= $var4) return; var$10 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$10.$itemID = $var3; var$10.$stackSize = 1; var$10.$itemDamage = 0; var$11 = new nms_EntityItem; var$4 = $this.$worldObj; var$12 = $this.$posX; var$13 = $this.$posY + var$9; var$14 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, var$5, var$6, $var4, $var5, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityLiving_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let $var7, $var4, $var6, $var2, $var3, var$7, var$8, $var5, var$10, var$11, var$12, var$13, var$14; nms_EntityLivingBase_writeEntityToNBT($this, $par1NBTTagCompound); $var7 = (!$this.$canPickUpLoot ? 0 : 1) << 24 >> 24; $var4 = $par1NBTTagCompound.$tagMap; $var6 = new nms_NBTTagByte; $var6.$name = $rt_s(1850); $var6.$data = $var7; ju_HashMap_putImpl($var4, $rt_s(1850), $var6); $var7 = (!$this.$persistenceRequired ? 0 : 1) << 24 >> 24; $var4 = $par1NBTTagCompound.$tagMap; $var6 = new nms_NBTTagByte; $var6.$name = $rt_s(1851); $var6.$data = $var7; ju_HashMap_putImpl($var4, $rt_s(1851), $var6); $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); $var6 = new ju_ArrayList; $var6.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $var6; $var3 = 0; while ($var3 < $this.$equipment.data.length) { $var4 = new nms_NBTTagCompound; $var4.$name = $rt_s(18); $var6 = new ju_HashMap; $var7 = ju_HashMap_calculateCapacity(16); $var6.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, $var7); var$8 = var$7.data; $var6.$elementData = var$7; $var6.$loadFactor = 0.75; $var6.$threshold = var$8.length * 0.75 | 0; $var4.$tagMap = $var6; var$8 = $this.$equipment.data; if (var$8[$var3] !== null) { $var5 = var$8[$var3]; $var7 = $var5.$itemID << 16 >> 16; var$10 = new nms_NBTTagShort; var$10.$name = $rt_s(1243); var$10.$data2 = $var7; ju_HashMap_putImpl($var6, $rt_s(1243), var$10); $var7 = $var5.$stackSize << 24 >> 24; var$10 = $var4.$tagMap; var$11 = new nms_NBTTagByte; var$11.$name = $rt_s(1271); var$11.$data = $var7; ju_HashMap_putImpl(var$10, $rt_s(1271), var$11); $var7 = $var5.$itemDamage << 16 >> 16; var$10 = $var4.$tagMap; var$11 = new nms_NBTTagShort; var$11.$name = $rt_s(1272); var$11.$data2 = $var7; ju_HashMap_putImpl(var$10, $rt_s(1272), var$11); $var6 = $var5.$stackTagCompound; if ($var6 !== null) { var$11 = $var4.$tagMap; $var6.$name = $rt_s(1273); ju_HashMap_putImpl(var$11, $rt_s(1273), $var6); } } $var2.$tagType = 10; $var6 = $var2.$tagList; ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); var$8 = $var6.$array.data; $var7 = $var6.$size0; $var6.$size0 = $var7 + 1 | 0; var$8[$var7] = $var4; $var6.$modCount = $var6.$modCount + 1 | 0; $var3 = $var3 + 1 | 0; } $var6 = $par1NBTTagCompound.$tagMap; $var2.$name = $rt_s(1274); ju_HashMap_putImpl($var6, $rt_s(1274), $var2); $var6 = new nms_NBTTagList; $var6.$name = $rt_s(18); $var2 = new ju_ArrayList; $var2.$array = $rt_createArray(jl_Object, 10); $var6.$tagList = $var2; $var7 = 0; while (true) { if ($var7 >= $this.$equipmentDropChances.data.length) { $var4 = $par1NBTTagCompound.$tagMap; $var6.$name = $rt_s(1280); ju_HashMap_putImpl($var4, $rt_s(1280), $var6); $var6 = nms_EntityLiving_getCustomNameTag($this); $var5 = $par1NBTTagCompound.$tagMap; $var4 = new nms_NBTTagString; $var4.$name = $rt_s(1281); $var4.$data1 = $var6; if ($var6 === null) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $var2.$message = $rt_s(186); $rt_throw($var2); } ju_HashMap_putImpl($var5, $rt_s(1281), $var4); $var7 = (!nms_EntityLiving_getAlwaysRenderNameTag($this) ? 0 : 1) << 24 >> 24; $var4 = $par1NBTTagCompound.$tagMap; $var6 = new nms_NBTTagByte; $var6.$name = $rt_s(1282); $var6.$data = $var7; ju_HashMap_putImpl($var4, $rt_s(1282), $var6); $var7 = (!$this.$isLeashed ? 0 : 1) << 24 >> 24; $var4 = $par1NBTTagCompound.$tagMap; $var6 = new nms_NBTTagByte; $var6.$name = $rt_s(1852); $var6.$data = $var7; ju_HashMap_putImpl($var4, $rt_s(1852), $var6); if ($this.$leashedToEntity !== null) { $var4 = new nms_NBTTagCompound; $var4.$name = $rt_s(1853); var$11 = new ju_HashMap; $var7 = ju_HashMap_calculateCapacity(16); var$11.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, $var7); var$8 = var$7.data; var$11.$elementData = var$7; var$11.$loadFactor = 0.75; var$11.$threshold = var$8.length * 0.75 | 0; $var4.$tagMap = var$11; $var2 = $this.$leashedToEntity; if ($var2 instanceof nms_EntityLivingBase) { var$12 = $var2.$entityUniqueID.$msb; $var2 = new nms_NBTTagLong; $var2.$name = $rt_s(1254); $var2.$data7 = var$12; ju_HashMap_putImpl(var$11, $rt_s(1254), $var2); var$12 = $this.$leashedToEntity.$entityUniqueID.$lsb; $var5 = $var4.$tagMap; $var6 = new nms_NBTTagLong; $var6.$name = $rt_s(1255); $var6.$data7 = var$12; ju_HashMap_putImpl($var5, $rt_s(1255), $var6); } else if ($var2 instanceof nms_EntityHanging) { $var5 = $var2; $var7 = $var5.$xPosition2; $var6 = new nms_NBTTagInt; $var6.$name = $rt_s(267); $var6.$data0 = $var7; ju_HashMap_putImpl(var$11, $rt_s(267), $var6); $var7 = $var5.$yPosition2; var$11 = $var4.$tagMap; $var6 = new nms_NBTTagInt; $var6.$name = $rt_s(243); $var6.$data0 = $var7; ju_HashMap_putImpl(var$11, $rt_s(243), $var6); $var7 = $var5.$zPosition1; $var5 = $var4.$tagMap; $var6 = new nms_NBTTagInt; $var6.$name = $rt_s(266); $var6.$data0 = $var7; ju_HashMap_putImpl($var5, $rt_s(266), $var6); } $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; $var4.$name = $rt_s(1853); ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(1853), $var4); } return; } $var2 = new nms_NBTTagFloat; $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($var4, $var4.$length0, $var7, 10); $var5 = new jl_String; var$8 = $var4.$buffer; var$7 = var$8.data; var$13 = $var4.$length0; $var3 = var$7.length; if (var$13 < 0) break; if (var$13 > ($var3 - 0 | 0)) break; $var5.$nativeString = $rt_charArrayToString(var$8.data, 0, var$13); var$14 = $this.$equipmentDropChances.data[$var7]; $var2.$name = $var5; $var2.$data4 = var$14; $var6.$tagType = 5; $var4 = $var6.$tagList; ju_ArrayList_ensureCapacity($var4, $var4.$size0 + 1 | 0); var$8 = $var4.$array.data; var$13 = $var4.$size0; $var4.$size0 = var$13 + 1 | 0; var$8[var$13] = $var2; $var4.$modCount = $var4.$modCount + 1 | 0; $var7 = $var7 + 1 | 0; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1NBTTagCompound); $rt_throw($par1NBTTagCompound); }, nms_EntityLiving_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let $var2, $var3, var$4, var$5, var$6, var$7, var$8, var$9; a: { nms_EntityLivingBase_readEntityFromNBT($this, $par1NBTTagCompound); $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1850).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1850).$nativeString.length) break a; $rt_s(1850).$hashCode1 = (31 * $rt_s(1850).$hashCode1 | 0) + $rt_s(1850).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(1850).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[$var3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { b: { var$5 = $var2.$key; if ($rt_s(1850) !== var$5) { if ($rt_s(1850) === var$5) var$6 = 1; else if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(1850).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1850) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { c: { if (!$rt_s(1850).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1850).$nativeString.length) break c; $rt_s(1850).$hashCode1 = (31 * $rt_s(1850).$hashCode1 | 0) + $rt_s(1850).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(1850).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[$var3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { d: { var$5 = $var2.$key; if ($rt_s(1850) !== var$5) { if ($rt_s(1850) === var$5) var$6 = 1; else if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(1850).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break d; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data; } else $var3 = 0; $var3 = !$var3 ? 0 : 1; e: { $this.$canPickUpLoot = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1851).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1851).$nativeString.length) break e; $rt_s(1851).$hashCode1 = (31 * $rt_s(1851).$hashCode1 | 0) + $rt_s(1851).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1851).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { f: { var$5 = $var2.$key; if ($rt_s(1851) !== var$5) { if ($rt_s(1851) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(1851).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break f; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1851) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { g: { if (!$rt_s(1851).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1851).$nativeString.length) break g; $rt_s(1851).$hashCode1 = (31 * $rt_s(1851).$hashCode1 | 0) + $rt_s(1851).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$6 = $rt_s(1851).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$6 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$6) { h: { var$5 = $var2.$key; if ($rt_s(1851) !== var$5) { if ($rt_s(1851) === var$5) $var3 = 1; else if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(1851).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; if (!$var3) { $var3 = 0; break h; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data; } else $var3 = 0; $var3 = !$var3 ? 0 : 1; i: { $this.$persistenceRequired = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break i; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1281).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { j: { var$5 = $var2.$key; if ($rt_s(1281) !== var$5) { if ($rt_s(1281) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(1281).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break j; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { k: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break k; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1281).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { l: { var$5 = $var2.$key; if ($rt_s(1281) !== var$5) { if ($rt_s(1281) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(1281).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break l; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) var$8 = $rt_s(18); else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1281) !== null) { m: { if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break m; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1281).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { n: { var$5 = $var2.$key; if ($rt_s(1281) !== var$5) { if ($rt_s(1281) === var$5) $var3 = 1; else if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(1281).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; if (!$var3) { $var3 = 0; break n; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } var$8 = ($var2 === null ? null : $var2.$value1).$data1; } if (var$8.$nativeString.length > 0) { o: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break o; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1281).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { p: { var$5 = $var2.$key; if ($rt_s(1281) !== var$5) { if ($rt_s(1281) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(1281).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break p; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1281) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { q: { if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break q; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1281).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { r: { var$5 = $var2.$key; if ($rt_s(1281) !== var$5) { if ($rt_s(1281) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(1281).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break r; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } var$8 = ($var2 === null ? null : $var2.$value1).$data1; } else var$8 = $rt_s(18); nms_EntityLiving_setCustomNameTag($this, var$8); } } s: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1282).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1282).$nativeString.length) break s; $rt_s(1282).$hashCode1 = (31 * $rt_s(1282).$hashCode1 | 0) + $rt_s(1282).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1282).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { t: { var$5 = $var2.$key; if ($rt_s(1282) !== var$5) { if ($rt_s(1282) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(1282).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break t; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1282) !== null) { u: { if (!$rt_s(1282).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1282).$nativeString.length) break u; $rt_s(1282).$hashCode1 = (31 * $rt_s(1282).$hashCode1 | 0) + $rt_s(1282).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1282).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { v: { var$5 = $var2.$key; if ($rt_s(1282) !== var$5) { if ($rt_s(1282) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(1282).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break v; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data; } $var3 = !$var3 ? 0 : 1; w: { nms_EntityLiving_setAlwaysRenderNameTag($this, $var3); $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1274).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1274).$nativeString.length) break w; $rt_s(1274).$hashCode1 = (31 * $rt_s(1274).$hashCode1 | 0) + $rt_s(1274).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1274).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { x: { var$5 = $var2.$key; if ($rt_s(1274) !== var$5) { if ($rt_s(1274) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(1274).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break x; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } $var3 = $var2 === null ? 0 : 1; y: { if ($var3) { z: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1274).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1274).$nativeString.length) break z; $rt_s(1274).$hashCode1 = (31 * $rt_s(1274).$hashCode1 | 0) + $rt_s(1274).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1274).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { ba: { var$5 = $var2.$key; if ($rt_s(1274) !== var$5) { if ($rt_s(1274) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(1274).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break ba; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1274) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { bb: { if (!$rt_s(1274).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1274).$nativeString.length) break bb; $rt_s(1274).$hashCode1 = (31 * $rt_s(1274).$hashCode1 | 0) + $rt_s(1274).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1274).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { bc: { var$5 = $var2.$key; if ($rt_s(1274) !== var$5) { if ($rt_s(1274) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(1274).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break bc; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; } else { $var2 = new nms_NBTTagList; if ($rt_s(1274) !== null) $var2.$name = $rt_s(1274); else $var2.$name = $rt_s(18); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = var$8; } $var3 = 0; while (true) { var$4 = $this.$equipment.data; if ($var3 >= var$4.length) break y; var$8 = $var2.$tagList; if ($var3 < 0) break; if ($var3 >= var$8.$size0) break; var$8 = var$8.$array.data[$var3]; nms_ItemStack_$callClinit(); var$5 = new nms_ItemStack; nms_ItemStack_readFromNBT(var$5, var$8); nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$5.$itemID] === null) var$5 = null; var$4[$var3] = var$5; $var3 = $var3 + 1 | 0; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); } } bd: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1280).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1280).$nativeString.length) break bd; $rt_s(1280).$hashCode1 = (31 * $rt_s(1280).$hashCode1 | 0) + $rt_s(1280).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1280).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { be: { var$5 = $var2.$key; if ($rt_s(1280) !== var$5) { if ($rt_s(1280) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(1280).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break be; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } $var3 = $var2 === null ? 0 : 1; bf: { bg: { if ($var3) { bh: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1280).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1280).$nativeString.length) break bh; $rt_s(1280).$hashCode1 = (31 * $rt_s(1280).$hashCode1 | 0) + $rt_s(1280).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1280).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { bi: { var$5 = $var2.$key; if ($rt_s(1280) !== var$5) { if ($rt_s(1280) !== var$5) { if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(1280).$nativeString !== var$5.$nativeString ? 0 : 1; } } else $var3 = 1; if (!$var3) { $var3 = 0; break bi; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) { $var2 = new nms_NBTTagList; if ($rt_s(1280) !== null) $var2.$name = $rt_s(1280); else $var2.$name = $rt_s(18); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = var$8; } else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1280) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { bj: { if (!$rt_s(1280).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1280).$nativeString.length) break bj; $rt_s(1280).$hashCode1 = (31 * $rt_s(1280).$hashCode1 | 0) + $rt_s(1280).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1280).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { bk: { var$5 = $var2.$key; if ($rt_s(1280) !== var$5) { if ($rt_s(1280) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(1280).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bk; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; } $var3 = 0; while (true) { var$8 = $var2.$tagList; var$6 = $rt_compare($var3, var$8.$size0); if (var$6 >= 0) break bg; var$4 = $this.$equipmentDropChances; if ($var3 < 0) break bf; if (var$6 >= 0) break bf; var$4.data[$var3] = var$8.$array.data[$var3].$data4; $var3 = $var3 + 1 | 0; } } } bl: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1852).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1852).$nativeString.length) break bl; $rt_s(1852).$hashCode1 = (31 * $rt_s(1852).$hashCode1 | 0) + $rt_s(1852).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1852).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { bm: { var$5 = $var2.$key; if ($rt_s(1852) !== var$5) { if ($rt_s(1852) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(1852).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bm; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1852) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { bn: { if (!$rt_s(1852).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1852).$nativeString.length) break bn; $rt_s(1852).$hashCode1 = (31 * $rt_s(1852).$hashCode1 | 0) + $rt_s(1852).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1852).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { bo: { var$5 = $var2.$key; if ($rt_s(1852) !== var$5) { if ($rt_s(1852) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(1852).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bo; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data; } $var3 = !$var3 ? 0 : 1; $this.$isLeashed = $var3; if ($var3) { bp: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1853).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1853).$nativeString.length) break bp; $rt_s(1853).$hashCode1 = (31 * $rt_s(1853).$hashCode1 | 0) + $rt_s(1853).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1853).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { bq: { var$5 = $var2.$key; if ($rt_s(1853) !== var$5) { if ($rt_s(1853) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(1853).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bq; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { br: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1853).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1853).$nativeString.length) break br; $rt_s(1853).$hashCode1 = (31 * $rt_s(1853).$hashCode1 | 0) + $rt_s(1853).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1853).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { bs: { var$5 = $var2.$key; if ($rt_s(1853) !== var$5) { if ($rt_s(1853) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(1853).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bs; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) { $par1NBTTagCompound = new nms_NBTTagCompound; if ($rt_s(1853) !== null) $par1NBTTagCompound.$name = $rt_s(1853); else $par1NBTTagCompound.$name = $rt_s(18); var$8 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); var$8.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$4 = var$9.data; var$8.$elementData = var$9; var$8.$loadFactor = 0.75; var$8.$threshold = var$4.length * 0.75 | 0; $par1NBTTagCompound.$tagMap = var$8; } else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1853) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { bt: { if (!$rt_s(1853).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1853).$nativeString.length) break bt; $rt_s(1853).$hashCode1 = (31 * $rt_s(1853).$hashCode1 | 0) + $rt_s(1853).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = $rt_s(1853).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$7 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$7) { bu: { $var2 = $par1NBTTagCompound.$key; if ($rt_s(1853) !== $var2) { if ($rt_s(1853) === $var2) $var3 = 1; else if (!($var2 instanceof jl_String)) $var3 = 0; else { $var2 = $var2; $var3 = $rt_s(1853).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bu; } } $var3 = 1; } if ($var3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $par1NBTTagCompound = $par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1; } $this.$field_110170_bx = $par1NBTTagCompound; } } return; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); }, nms_EntityLiving_setMoveForward = ($this, $par1) => { $this.$moveForward = $par1; }, nms_EntityLiving_setAIMoveSpeed = ($this, $par1) => { $this.$landMovementFactor = $par1; $this.$moveForward = $par1; }, nms_EntityLiving_onLivingUpdate = $this => { let $var3, $var4, $var10, $var5, var$5, $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var9, $var8, var$16, $var1, $var2$index, var$19, var$20, $var2$index_0, $var7, var$23, $var11, var$25, var$26, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();$var11 = $thread.pop();var$23 = $thread.pop();$var7 = $thread.pop();$var2$index_0 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var2$index = $thread.pop();$var1 = $thread.pop();var$16 = $thread.pop();$var8 = $thread.pop();$var9 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();var$5 = $thread.pop();$var5 = $thread.pop();$var10 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLivingBase_onLivingUpdate($this); if ($rt_suspending()) { break main; } $var3 = $this.$worldObj; if (!$var3.$isRemote && $this.$canPickUpLoot && !$this.$dead0) { a: { $var4 = $var3.$worldInfo.$theGameRules0.$theGameRules.$root; $var10 = $rt_s(1854); $var3 = $rt_s(1854); if ($var10 !== $var3) { $var5 = $var10.$nativeString.length; var$5 = $var3.$nativeString.length; if ($var5 < var$5) var$5 = $var5; $var6 = 0; b: { while (true) { if ($var6 >= var$5) { $var10.$nativeString.length; $var3.$nativeString.length; break a; } if ($var6 < 0) break b; if ($var6 >= $var10.$nativeString.length) break b; var$7 = $var10.$nativeString.charCodeAt($var6); if ($var6 < 0) break; if ($var6 >= $var3.$nativeString.length) break; if (var$7 - $var3.$nativeString.charCodeAt($var6) | 0) break a; $var6 = $var6 + 1 | 0; } $var3 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var3); $rt_throw($var3); } $var3 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var3); $rt_throw($var3); } } $var3 = $rt_s(1854); c: { d: { e: while (true) { if ($var4 === null) { $var4 = null; break c; } f: { $var10 = $var4.$key0; if ($var3 === $var10) $var6 = 0; else { $var5 = $var3.$nativeString.length; var$5 = $var10.$nativeString.length; if ($var5 < var$5) var$5 = $var5; $var5 = 0; while (true) { if ($var5 >= var$5) { $var6 = $var3.$nativeString.length - $var10.$nativeString.length | 0; break f; } if ($var5 < 0) break d; if ($var5 >= $var3.$nativeString.length) break d; var$7 = $var3.$nativeString.charCodeAt($var5); if ($var5 < 0) break e; if ($var5 >= $var10.$nativeString.length) break e; $var6 = var$7 - $var10.$nativeString.charCodeAt($var5) | 0; if ($var6) break; $var5 = $var5 + 1 | 0; } } } if (!$var6) break c; $var4 = $var6 >= 0 ? $var4.$right : $var4.$left; } $var3 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var3); $rt_throw($var3); } $var3 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var3); $rt_throw($var3); } $var3 = $var4 === null ? null : $var4.$value4; if ($var3 === null ? 0 : $var3.$valueBoolean) { $var3 = $this.$worldObj; $var4 = $rt_cls(nms_EntityItem); $var10 = $this.$boundingBox; var$8 = $var10.$minX - 1.0; var$9 = $var10.$minY - 0.0; var$10 = $var10.$minZ - 1.0; var$11 = $var10.$maxX + 1.0; var$12 = $var10.$maxY + 0.0; var$13 = $var10.$maxZ + 1.0; $var9 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var6 = $var9.$nextPoolIndex; $var10 = $var9.$listAABB; var$7 = $var10.$size0; $var5 = $rt_compare($var6, var$7); if ($var5 >= 0) { $var8 = new nms_AxisAlignedBB; $var8.$minX = var$8; $var8.$minY = var$9; $var8.$minZ = var$10; $var8.$maxX = var$11; $var8.$maxY = var$12; $var8.$maxZ = var$13; ju_ArrayList_ensureCapacity($var10, var$7 + 1 | 0); var$16 = $var10.$array.data; $var5 = $var10.$size0; $var10.$size0 = $var5 + 1 | 0; var$16[$var5] = $var8; $var10.$modCount = $var10.$modCount + 1 | 0; } else if ($var6 >= 0 && $var5 < 0) { $var8 = $var10.$array.data[$var6]; $var8.$minX = var$8; $var8.$minY = var$9; $var8.$minZ = var$10; $var8.$maxX = var$11; $var8.$maxY = var$12; $var8.$maxZ = var$13; } else { $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } $var9.$nextPoolIndex = $var9.$nextPoolIndex + 1 | 0; $var10 = null; $ptr = 2; continue main; } } return; case 2: $tmp = nms_World_selectEntitiesWithinAABB($var3, $var4, $var8, $var10); if ($rt_suspending()) { break main; } $var1 = $tmp; $var2$index = 0; var$19 = $var1.$modCount; var$20 = $var1.$size(); var$5 = 24; var$11 = 0.0; var$7 = 138; while ($var2$index >= var$20 ? 0 : 1) { if (var$19 < $var1.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var2$index_0 = $var2$index + 1 | 0; $var3 = $var1.$get($var2$index); if (!$var3.$isDead && nms_EntityItem_getEntityItem($var3) !== null) { $var4 = nms_EntityItem_getEntityItem($var3); $var5 = nms_EntityLiving_getArmorPosition($var4); if ($var5 > (-1)) { g: { $var6 = 1; $var7 = $this.$equipment.data[$var5]; if ($var7 !== null) { if ($var5) { nms_Item_$callClinit(); var$16 = nms_Item_itemsList.data; $var6 = $var4.$itemID; if (var$16[$var6] instanceof nms_ItemArmor && !(var$16[$var7.$itemID] instanceof nms_ItemArmor)) $var6 = 1; else { if (var$16[$var6] instanceof nms_ItemArmor) { var$23 = $var7.$itemID; if (var$16[var$23] instanceof nms_ItemArmor) { $var10 = var$16[$var6]; $var11 = var$16[var$23]; $var6 = $rt_compare($var10.$damageReduceAmount, $var11.$damageReduceAmount); if ($var6) $var6 = $var6 <= 0 ? 0 : 1; else f: { h: { if ($var4.$itemDamage <= $var7.$itemDamage) { if (!($var4.$stackTagCompound === null ? 0 : 1)) break h; if ($var7.$stackTagCompound === null ? 0 : 1) break h; } $var6 = 1; break f; } $var6 = 0; } break g; } } $var6 = 0; } } else { nms_Item_$callClinit(); var$16 = nms_Item_itemsList.data; $var2$index = $var4.$itemID; if (var$16[$var2$index] instanceof nms_ItemSword && !(var$16[$var7.$itemID] instanceof nms_ItemSword)) $var6 = 1; else { if (var$16[$var2$index] instanceof nms_ItemSword) { $var6 = $var7.$itemID; if (var$16[$var6] instanceof nms_ItemSword) { $var8 = var$16[$var2$index]; $var9 = var$16[$var6]; $var6 = $rt_compare($var8.$toolMaterial0.$damageVsEntity, $var9.$toolMaterial0.$damageVsEntity); if ($var6) $var6 = $var6 <= 0 ? 0 : 1; else i: { j: { if ($var4.$itemDamage <= $var7.$itemDamage) { if (!($var4.$stackTagCompound === null ? 0 : 1)) break j; if ($var7.$stackTagCompound === null ? 0 : 1) break j; } $var6 = 1; break i; } $var6 = 0; } break g; } } $var6 = 0; } } } } if ($var6) { if ($var7 !== null) { $var10 = $this.$rand; var$25 = Long_and(Long_add(Long_mul($var10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var10.$seed = var$25; if (Long_lo(Long_shru(var$25, var$5)) / 1.6777216E7 - 0.10000000149011612 < $this.$equipmentDropChances.data[$var5] && $var7.$stackSize) { $var10 = new nms_EntityItem; $var8 = $this.$worldObj; var$12 = $this.$posX; var$13 = $this.$posY + var$11; var$8 = $this.$posZ; $ptr = 5; continue main; } } $ptr = 3; continue main; } } } $var2$index = $var2$index_0; } return; case 3: $this.$setCurrentItemOrArmor($var5, $var4); if ($rt_suspending()) { break main; } $this.$equipmentDropChances.data[$var5] = 2.0; $this.$persistenceRequired = 1; $var6 = 1; $ptr = 4; case 4: nms_EntityLivingBase_onItemPickup($this, $var3, $var6); if ($rt_suspending()) { break main; } $var3.$isDead = 1; while (true) { $var2$index = $var2$index_0; if (!($var2$index >= var$20 ? 0 : 1)) break; if (var$19 < $var1.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var2$index_0 = $var2$index + 1 | 0; $var3 = $var1.$get($var2$index); if ($var3.$isDead) continue; if (nms_EntityItem_getEntityItem($var3) === null) continue; $var4 = nms_EntityItem_getEntityItem($var3); $var5 = nms_EntityLiving_getArmorPosition($var4); if ($var5 <= (-1)) continue; k: { $var6 = 1; $var7 = $this.$equipment.data[$var5]; if ($var7 !== null) { if ($var5) { nms_Item_$callClinit(); var$16 = nms_Item_itemsList.data; $var6 = $var4.$itemID; if (var$16[$var6] instanceof nms_ItemArmor && !(var$16[$var7.$itemID] instanceof nms_ItemArmor)) $var6 = 1; else { if (var$16[$var6] instanceof nms_ItemArmor) { var$23 = $var7.$itemID; if (var$16[var$23] instanceof nms_ItemArmor) { $var10 = var$16[$var6]; $var11 = var$16[var$23]; $var6 = $rt_compare($var10.$damageReduceAmount, $var11.$damageReduceAmount); if ($var6) $var6 = $var6 <= 0 ? 0 : 1; else l: { f: { if ($var4.$itemDamage <= $var7.$itemDamage) { if (!($var4.$stackTagCompound === null ? 0 : 1)) break f; if ($var7.$stackTagCompound === null ? 0 : 1) break f; } $var6 = 1; break l; } $var6 = 0; } break k; } } $var6 = 0; } } else { nms_Item_$callClinit(); var$16 = nms_Item_itemsList.data; $var2$index = $var4.$itemID; if (var$16[$var2$index] instanceof nms_ItemSword && !(var$16[$var7.$itemID] instanceof nms_ItemSword)) $var6 = 1; else { if (var$16[$var2$index] instanceof nms_ItemSword) { $var6 = $var7.$itemID; if (var$16[$var6] instanceof nms_ItemSword) { $var8 = var$16[$var2$index]; $var9 = var$16[$var6]; $var6 = $rt_compare($var8.$toolMaterial0.$damageVsEntity, $var9.$toolMaterial0.$damageVsEntity); if ($var6) $var6 = $var6 <= 0 ? 0 : 1; else m: { i: { if ($var4.$itemDamage <= $var7.$itemDamage) { if (!($var4.$stackTagCompound === null ? 0 : 1)) break i; if ($var7.$stackTagCompound === null ? 0 : 1) break i; } $var6 = 1; break m; } $var6 = 0; } break k; } } $var6 = 0; } } } } if (!$var6) continue; else { if ($var7 !== null) { $var10 = $this.$rand; var$25 = Long_and(Long_add(Long_mul($var10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var10.$seed = var$25; if (Long_lo(Long_shru(var$25, var$5)) / 1.6777216E7 - 0.10000000149011612 < $this.$equipmentDropChances.data[$var5] && $var7.$stackSize) { $var10 = new nms_EntityItem; $var8 = $this.$worldObj; var$12 = $this.$posX; var$13 = $this.$posY + var$11; var$8 = $this.$posZ; $ptr = 5; continue main; } } $ptr = 3; continue main; } } return; case 5: nms_EntityItem__init_($var10, $var8, var$12, var$13, var$8); if ($rt_suspending()) { break main; } $var11 = $var10.$dataWatcher; $var8 = $var11.$watchedObjects; jl_Integer_ensureIntegerCache(); $var9 = jl_Integer_integerCache.data[var$7]; if ($var9 === null) { var$26 = $var8.$elementData.data[0]; while (var$26 !== null && var$26.$key !== null) { var$26 = var$26.$next3; } } else { var$23 = jl_Integer_hashCode($var9.$value0); var$16 = $var8.$elementData.data; var$26 = var$16[var$23 & (var$16.length - 1 | 0)]; while (var$26 !== null && !(var$26.$origKeyHash == var$23 && ju_HashMap_areEqualKeys($var9, var$26.$key))) { var$26 = var$26.$next3; } } $var9 = var$26 === null ? null : var$26.$value1; if (!($var7 !== $var9.$watchedObject ? 0 : 1)) { $var9.$watchedObject = $var7; $var9.$watched = 1; $var11.$objectChanged = 1; } $var7 = $var10.$dataWatcher; $var8 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); $var11 = jl_Integer_integerCache.data[var$7]; if ($var11 === null) { $var8 = $var8.$elementData.data[0]; while ($var8 !== null && $var8.$key !== null) { $var8 = $var8.$next3; } } else { $var6 = jl_Integer_hashCode($var11.$value0); var$16 = $var8.$elementData.data; $var8 = var$16[$var6 & (var$16.length - 1 | 0)]; while ($var8 !== null && !($var8.$origKeyHash == $var6 && ju_HashMap_areEqualKeys($var11, $var8.$key))) { $var8 = $var8.$next3; } } ($var8 === null ? null : $var8.$value1).$watched = 1; $var7.$objectChanged = 1; $var10.$delayBeforeCanPickup = 10; $var8 = $this.$worldObj; $var6 = nms_World_spawnEntityInWorld($var8, $var10); $var9 = $var8.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var10, $var9); if (!$var6) { $var8 = $var8.$entitySpawnQueue; ju_HashMap_putImpl($var8.$backingMap, $var10, $var8); } $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var3, $var4, $var10, $var5, var$5, $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var9, $var8, var$16, $var1, $var2$index, var$19, var$20, $var2$index_0, $var7, var$23, $var11, var$25, var$26, $ptr); }, nms_EntityLiving_isAIEnabled = $this => { return 0; }, nms_EntityLiving_canDespawn = $this => { return 1; }, nms_EntityLiving_despawnEntity = $this => { let $var1, $var2, $var4, $var6, $var8, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$persistenceRequired) $this.$entityAge = 0; else { $var1 = nms_World_getClosestPlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, (-1.0)); if ($var1 !== null) { $var2 = $var1.$posX - $this.$posX; $var4 = $var1.$posY - $this.$posY; $var6 = $var1.$posZ - $this.$posZ; $var8 = $var2 * $var2 + $var4 * $var4 + $var6 * $var6; if ($this.$canDespawn() && $var8 > 16384.0) { $ptr = 1; continue main; } if ($this.$entityAge > 600) { $var1 = $this.$rand; var$6 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); while (true) { var$8 = var$7 % 800 | 0; if (((var$7 - var$8 | 0) + 799 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); } if (!var$8 && $var8 > 1024.0 && $this.$canDespawn()) { $ptr = 2; continue main; } } if ($var8 < 1024.0) $this.$entityAge = 0; } } return; case 1: $this.$setDead(); if ($rt_suspending()) { break main; } if ($this.$entityAge > 600) { $var1 = $this.$rand; var$6 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); while (true) { var$8 = var$7 % 800 | 0; if (((var$7 - var$8 | 0) + 799 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); } if (!var$8 && $var8 > 1024.0 && $this.$canDespawn()) { $ptr = 2; continue main; } } if ($var8 < 1024.0) $this.$entityAge = 0; return; case 2: $this.$setDead(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var4, $var6, $var8, var$6, var$7, var$8, $ptr); }, nms_EntityLiving_updateAITasks = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$entityAge = $this.$entityAge + 1 | 0; $ptr = 1; case 1: $this.$despawnEntity(); if ($rt_suspending()) { break main; } var$1 = $this.$senses; var$2 = var$1.$seenEntities; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = var$1.$unseenEntities; var$3 = var$1.$array; var$4 = 0; var$8 = var$1.$size0; var$2 = null; if (var$4 > var$8) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$4 < var$8) { var$7 = var$3.data; var$5 = var$4 + 1 | 0; var$7[var$4] = var$2; var$4 = var$5; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$targetTasks; $ptr = 2; case 2: nms_EntityAITasks_onUpdateTasks(var$1); if ($rt_suspending()) { break main; } var$1 = $this.$tasks0; $ptr = 3; case 3: nms_EntityAITasks_onUpdateTasks(var$1); if ($rt_suspending()) { break main; } nms_PathNavigate_onUpdateNavigation($this.$navigator); $this.$updateAITick(); nms_EntityMoveHelper_onUpdateMoveHelper($this.$moveHelper); nms_EntityLookHelper_onUpdateLook($this.$lookHelper); var$1 = $this.$jumpHelper; var$1.$entity0.$isJumping = var$1.$isJumping0; var$1.$isJumping0 = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityLiving_updateEntityActionState = $this => { let $var2, var$2, var$3, var$4, var$5, $var4, var$7, var$8, var$9, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$entityAge = $this.$entityAge + 1 | 0; $this.$moveStrafing = 0.0; $this.$moveForward = 0.0; $ptr = 1; case 1: $this.$despawnEntity(); if ($rt_suspending()) { break main; } $var2 = $this.$rand; var$2 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$2; if (Long_lo(Long_shru(var$2, 24)) / 1.6777216E7 < 0.019999999552965164) { $var2 = nms_World_getClosestPlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 8.0); if ($var2 === null) { $var2 = $this.$rand; var$2 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$2; $this.$randomYawVelocity = (Long_lo(Long_shru(var$2, 24)) / 1.6777216E7 - 0.5) * 20.0; } else { $this.$currentTarget = $var2; $var2 = $this.$rand; var$2 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { var$4 = var$3 % 20 | 0; if (((var$3 - var$4 | 0) + 19 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } $this.$numTicksToChaseTarget = 10 + var$4 | 0; } } a: { $var2 = $this.$currentTarget; if ($var2 === null) { $var2 = $this.$rand; var$5 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$5; if (Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 < 0.05000000074505806) { var$2 = Long_and(Long_add(Long_mul(var$5, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$2; $this.$randomYawVelocity = (Long_lo(Long_shru(var$2, 24)) / 1.6777216E7 - 0.5) * 20.0; } $this.$rotationYaw = $this.$rotationYaw + $this.$randomYawVelocity; $this.$rotationPitch = $this.$defaultPitch; } else { nms_EntityLiving_faceEntity($this, $var2, 10.0, $this.$getVerticalFaceSpeed()); $var4 = $this.$numTicksToChaseTarget; $this.$numTicksToChaseTarget = $var4 - 1 | 0; if ($var4 > 0) { $var2 = $this.$currentTarget; if (!$var2.$isDead) { var$7 = $var2.$posX - $this.$posX; var$8 = $var2.$posY - $this.$posY; var$9 = $var2.$posZ - $this.$posZ; if (var$7 * var$7 + var$8 * var$8 + var$9 * var$9 <= 64.0) break a; } } $this.$currentTarget = null; } } $var4 = $this.$isInWater(); $var3 = $this.$handleLavaMovement(); if (!(!$var4 && !$var3)) { $var2 = $this.$rand; var$2 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$2; $this.$isJumping = Long_lo(Long_shru(var$2, 24)) / 1.6777216E7 >= 0.800000011920929 ? 0 : 1; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, var$2, var$3, var$4, var$5, $var4, var$7, var$8, var$9, $var3, $ptr); }, nms_EntityLiving_getVerticalFaceSpeed = $this => { return 40; }, nms_EntityLiving_faceEntity = ($this, $par1Entity, $par2, $par3) => { let $var4, $var8, $var6, $var10, $var14, $var12, $var13, var$11; $var4 = $par1Entity.$posX - $this.$posX; $var8 = $par1Entity.$posZ - $this.$posZ; if (!($par1Entity instanceof nms_EntityLivingBase)) { $par1Entity = $par1Entity.$boundingBox; $var6 = ($par1Entity.$minY + $par1Entity.$maxY) / 2.0 - ($this.$posY + $this.$getEyeHeight()); } else { $var10 = $par1Entity; $var6 = $var10.$posY + $var10.$getEyeHeight() - ($this.$posY + $this.$getEyeHeight()); } $var14 = jl_Math_sqrt($var4 * $var4 + $var8 * $var8); $var12 = jl_Math_atan2($var8, $var4) * 180.0 / 3.141592653589793 - 90.0; $var13 = -(jl_Math_atan2($var6, $var14) * 180.0 / 3.141592653589793); var$11 = $this.$rotationPitch; $var13 = ($var13 - var$11) % 360.0; if ($var13 >= 180.0) $var13 = $var13 - 360.0; if ($var13 < (-180.0)) $var13 = $var13 + 360.0; if ($var13 > $par3) $var13 = $par3; $par3 = -$par3; if ($var13 >= $par3) $par3 = $var13; $this.$rotationPitch = var$11 + $par3; $par3 = $this.$rotationYaw; $var12 = ($var12 - $par3) % 360.0; if ($var12 >= 180.0) $var12 = $var12 - 360.0; if ($var12 < (-180.0)) $var12 = $var12 + 360.0; if ($var12 > $par2) $var12 = $par2; $par2 = -$par2; if ($var12 >= $par2) $par2 = $var12; $this.$rotationYaw = $par3 + $par2; }, nms_EntityLiving_getCanSpawnHere = $this => { let var$1, var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!nms_World_checkNoEntityCollision($this.$worldObj, $this.$boundingBox, null)) return 0; var$1 = $this.$worldObj; var$2 = $this.$boundingBox; $ptr = 1; case 1: $tmp = nms_World_getCollidingBoundingBoxes(var$1, $this, var$2); if ($rt_suspending()) { break main; } var$1 = $tmp; var$3 = var$1.$size0 ? 0 : 1; return var$3 && !nms_World_isAnyLiquid($this.$worldObj, $this.$boundingBox) ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); }, nms_EntityLiving_getRenderSizeModifier = $this => { return 1.0; }, nms_EntityLiving_getMaxSafePointTries = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $var1; if ($this.$attackTarget === null) return 3; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$6 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value3; var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$5 = $this.$attributeMap.$attributes; if (var$1 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { a: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { $var1 = 0; while (true) { if ($var1 >= var$2.$nativeString.length) break a; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt($var1) | 0; $var1 = $var1 + 1 | 0; } } } var$3 = var$2.$hashCode1; var$4 = var$5.$elementData.data; var$5 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$3 && ju_HashMap_areEqualKeys(var$1, var$5.$key))) { var$5 = var$5.$next3; } } var$1 = var$5 === null ? null : var$5.$value1; if (var$1.$field_111133_g) { var$1.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$1); var$1.$field_111133_g = 0; } $var1 = (var$6 - var$1.$field_111139_h * 0.33000001311302185 | 0) - ((3 - $this.$worldObj.$difficultySetting | 0) * 4 | 0) | 0; if ($var1 < 0) $var1 = 0; return $var1 + 3 | 0; }, nms_EntityLiving_getHeldItem = $this => { return $this.$equipment.data[0]; }, nms_EntityLiving_getCurrentItemOrArmor = ($this, $par1) => { return $this.$equipment.data[$par1]; }, nms_EntityLiving_func_130225_q = ($this, $par1) => { return $this.$equipment.data[$par1 + 1 | 0]; }, nms_EntityLiving_setCurrentItemOrArmor = ($this, $par1, $par2ItemStack) => { $this.$equipment.data[$par1] = $par2ItemStack; }, nms_EntityLiving_getLastActiveItems = $this => { return $this.$equipment; }, nms_EntityLiving_dropEquipment = ($this, $par1, $par2) => { let $var3, var$4, var$5, var$6, var$7, var$8, var$9, $var4, $var5, var$12, var$13, $var6, $var6_0, $var7, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var7 = $thread.pop();$var6_0 = $thread.pop();$var6 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = 0; var$4 = 24; var$5 = $par2 * 0.009999999776482582; var$6 = 17; var$7 = 0.0; var$8 = 138; while (true) { var$9 = $this.$equipment.data; if ($var3 >= var$9.length) break; $var4 = var$9[$var3]; var$9 = $this.$equipmentDropChances.data; $var5 = var$9[$var3] <= 1.0 ? 0 : 1; if ($var4 !== null && !(!$par1 && !$var5)) { var$12 = $this.$rand; var$13 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$13; if (Long_lo(Long_shru(var$13, var$4)) / 1.6777216E7 - var$5 < var$9[$var3]) { if (!$var5) { nms_Item_$callClinit(); var$9 = nms_Item_itemsList.data; $var5 = $var4.$itemID; if (var$9[$var5].$maxDamage <= 0 ? 0 : 1) { $var6 = var$9[$var5].$maxDamage - 25 | 0; $var6_0 = 1; if ($var6 > $var6_0) $var6_0 = $var6; $var7 = var$9[$var5].$maxDamage; var$17 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$17; $var6 = Long_lo(Long_shru(var$17, var$6)); $par2 = $var6_0 - 1 | 0; if (!($var6_0 & $par2)) $var5 = Long_lo(Long_shr(Long_mul(Long_fromInt($var6_0), Long_fromInt($var6)), 31)); else while (true) { $var5 = $var6 % $var6_0 | 0; if ((($var6 - $var5 | 0) + $par2 | 0) >= 0) break; var$17 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$17; $var6 = Long_lo(Long_shru(var$17, var$6)); } $par2 = $var5 + 1 | 0; var$17 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$17; var$18 = Long_lo(Long_shru(var$17, var$6)); $var5 = $par2 - 1 | 0; if (!($par2 & $var5)) $var6 = Long_lo(Long_shr(Long_mul(Long_fromInt($par2), Long_fromInt(var$18)), 31)); else while (true) { $var6 = var$18 % $par2 | 0; if (((var$18 - $var6 | 0) + $var5 | 0) >= 0) break; var$17 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$17; var$18 = Long_lo(Long_shru(var$17, var$6)); } $var7 = $var7 - $var6 | 0; if ($var7 <= $var6_0) $var6_0 = $var7; if ($var6_0 < 1) $var6_0 = 1; $var4.$itemDamage = $var6_0; if ($var6_0 < 0) $var4.$itemDamage = 0; } } if ($var4.$stackSize) { var$12 = new nms_EntityItem; var$19 = $this.$worldObj; var$20 = $this.$posX; var$21 = $this.$posY + var$7; var$22 = $this.$posZ; $ptr = 1; continue main; } } } $var3 = $var3 + 1 | 0; } return; case 1: nms_EntityItem__init_(var$12, var$19, var$20, var$21, var$22); if ($rt_suspending()) { break main; } var$23 = var$12.$dataWatcher; var$19 = var$23.$watchedObjects; jl_Integer_ensureIntegerCache(); var$24 = jl_Integer_integerCache.data[var$8]; if (var$24 === null) { var$19 = var$19.$elementData.data[0]; while (var$19 !== null && var$19.$key !== null) { var$19 = var$19.$next3; } } else { $var6 = jl_Integer_hashCode(var$24.$value0); var$9 = var$19.$elementData.data; var$19 = var$9[$var6 & (var$9.length - 1 | 0)]; while (var$19 !== null && !(var$19.$origKeyHash == $var6 && ju_HashMap_areEqualKeys(var$24, var$19.$key))) { var$19 = var$19.$next3; } } var$25 = var$19 === null ? null : var$19.$value1; if (!($var4 !== var$25.$watchedObject ? 0 : 1)) { var$25.$watchedObject = $var4; var$25.$watched = 1; var$23.$objectChanged = 1; } var$23 = var$12.$dataWatcher; var$19 = var$23.$watchedObjects; jl_Integer_ensureIntegerCache(); var$24 = jl_Integer_integerCache.data[var$8]; if (var$24 === null) { var$19 = var$19.$elementData.data[0]; while (var$19 !== null && var$19.$key !== null) { var$19 = var$19.$next3; } } else { $var6 = jl_Integer_hashCode(var$24.$value0); var$9 = var$19.$elementData.data; var$19 = var$9[$var6 & (var$9.length - 1 | 0)]; while (var$19 !== null && !(var$19.$origKeyHash == $var6 && ju_HashMap_areEqualKeys(var$24, var$19.$key))) { var$19 = var$19.$next3; } } (var$19 === null ? null : var$19.$value1).$watched = 1; var$23.$objectChanged = 1; var$12.$delayBeforeCanPickup = 10; var$25 = $this.$worldObj; $par2 = nms_World_spawnEntityInWorld(var$25, var$12); var$24 = var$25.$entityList; ju_HashMap_putImpl(var$24.$backingMap, var$12, var$24); if (!$par2) { var$19 = var$25.$entitySpawnQueue; ju_HashMap_putImpl(var$19.$backingMap, var$12, var$19); } a: while (true) { while (true) { $var3 = $var3 + 1 | 0; var$9 = $this.$equipment.data; if ($var3 >= var$9.length) break a; $var4 = var$9[$var3]; var$9 = $this.$equipmentDropChances.data; $var5 = var$9[$var3] <= 1.0 ? 0 : 1; if ($var4 === null) continue; if (!$par1 && !$var5) continue; var$12 = $this.$rand; var$13 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$13; if (Long_lo(Long_shru(var$13, var$4)) / 1.6777216E7 - var$5 >= var$9[$var3]) continue; else break; } if (!$var5) { nms_Item_$callClinit(); var$9 = nms_Item_itemsList.data; $var5 = $var4.$itemID; if (var$9[$var5].$maxDamage <= 0 ? 0 : 1) { $var6 = var$9[$var5].$maxDamage - 25 | 0; $var6_0 = 1; if ($var6 > $var6_0) $var6_0 = $var6; $var7 = var$9[$var5].$maxDamage; var$17 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$17; $var6 = Long_lo(Long_shru(var$17, var$6)); $par2 = $var6_0 - 1 | 0; if (!($var6_0 & $par2)) $var5 = Long_lo(Long_shr(Long_mul(Long_fromInt($var6_0), Long_fromInt($var6)), 31)); else while (true) { $var5 = $var6 % $var6_0 | 0; if ((($var6 - $var5 | 0) + $par2 | 0) >= 0) break; var$17 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$17; $var6 = Long_lo(Long_shru(var$17, var$6)); } $par2 = $var5 + 1 | 0; var$17 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$17; var$18 = Long_lo(Long_shru(var$17, var$6)); $var5 = $par2 - 1 | 0; if (!($par2 & $var5)) $var6 = Long_lo(Long_shr(Long_mul(Long_fromInt($par2), Long_fromInt(var$18)), 31)); else while (true) { $var6 = var$18 % $par2 | 0; if (((var$18 - $var6 | 0) + $var5 | 0) >= 0) break; var$17 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$17; var$18 = Long_lo(Long_shru(var$17, var$6)); } $var7 = $var7 - $var6 | 0; if ($var7 <= $var6_0) $var6_0 = $var7; if ($var6_0 < 1) $var6_0 = 1; $var4.$itemDamage = $var6_0; if ($var6_0 < 0) $var4.$itemDamage = 0; } } if ($var4.$stackSize) { var$12 = new nms_EntityItem; var$19 = $this.$worldObj; var$20 = $this.$posX; var$21 = $this.$posY + var$7; var$22 = $this.$posZ; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, var$5, var$6, var$7, var$8, var$9, $var4, $var5, var$12, var$13, $var6, $var6_0, $var7, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, $ptr); }, nms_EntityLiving_addRandomArmor = $this => { let $var5, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $var1, var$10, var$11, $var2, var$13, $var3, var$15, var$16, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var3 = $thread.pop();var$13 = $thread.pop();$var2 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var1 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var5 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $this.$rand; var$2 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$2; var$3 = 24; var$4 = Long_lo(Long_shru(var$2, var$3)) / 1.6777216E7; $var5 = $this.$worldObj; var$5 = $this.$posX; var$6 = $this.$posY; var$7 = $this.$posZ; var$8 = var$5 | 0; if (var$5 < var$8) var$8 = var$8 - 1 | 0; $var1 = var$6 | 0; if (var$6 < $var1) $var1 = $var1 - 1 | 0; var$10 = var$7 | 0; if (var$7 < var$10) var$10 = var$10 - 1 | 0; a: { if (var$4 < 0.15000000596046448 * nms_World_getTensionFactorForBlock($var5, var$8, $var1, var$10)) { $var5 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; $var1 = Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$11, 17)))), 31)); $var2 = $this.$worldObj.$difficultySetting != 3 ? 0.25 : 0.10000000149011612; var$13 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$13; if (Long_lo(Long_shru(var$13, var$3)) / 1.6777216E7 < 0.0949999988079071) $var1 = $var1 + 1 | 0; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$13; if (Long_lo(Long_shru(var$13, var$3)) / 1.6777216E7 < 0.0949999988079071) $var1 = $var1 + 1 | 0; var$2 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$2; if (Long_lo(Long_shru(var$2, var$3)) / 1.6777216E7 < 0.0949999988079071) $var1 = $var1 + 1 | 0; $var3 = 3; while (true) { if ($var3 < 0) break a; var$15 = $this.$equipment.data; var$16 = $var3 + 1 | 0; $var4 = var$15[var$16]; if ($var3 < 3) { $var5 = $this.$rand; var$2 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$2; if (Long_lo(Long_shru(var$2, var$3)) / 1.6777216E7 < $var2) break; } if ($var4 === null) { $var5 = nms_EntityLiving_getArmorItemForSlot(var$16, $var1); if ($var5 !== null) { $var4 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var4.$itemID = $var5.$itemID0; $var4.$stackSize = 1; $var4.$itemDamage = 0; $ptr = 1; continue main; } } $var3 = $var3 + (-1) | 0; } } } return; case 1: $this.$setCurrentItemOrArmor(var$16, $var4); if ($rt_suspending()) { break main; } b: { while (true) { $var3 = $var3 + (-1) | 0; if ($var3 < 0) break b; var$15 = $this.$equipment.data; var$16 = $var3 + 1 | 0; $var4 = var$15[var$16]; if ($var3 < 3) { $var5 = $this.$rand; var$2 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$2; if (Long_lo(Long_shru(var$2, var$3)) / 1.6777216E7 < $var2) break; } if ($var4 !== null) continue; $var5 = nms_EntityLiving_getArmorItemForSlot(var$16, $var1); if ($var5 === null) continue; else { $var4 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var4.$itemID = $var5.$itemID0; $var4.$stackSize = 1; $var4.$itemDamage = 0; continue main; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var5, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $var1, var$10, var$11, $var2, var$13, $var3, var$15, var$16, $var4, $ptr); }, nms_EntityLiving_getArmorPosition = $par0ItemStack => { let var$2, var$3; var$2 = $par0ItemStack.$itemID; nms_Block_$callClinit(); if (var$2 != nms_Block_pumpkin.$blockID) { nms_Item_$callClinit(); if (var$2 != nms_Item_skull.$itemID0) { a: { var$3 = nms_Item_itemsList.data; if (var$3[var$2] instanceof nms_ItemArmor) switch (var$3[var$2].$armorType) { case 0: return 4; case 1: return 3; case 2: return 2; case 3: return 1; default: break a; } } return 0; } } return 4; }, nms_EntityLiving_getArmorItemForSlot = ($par0, $par1) => { a: { b: { c: { d: { switch ($par0) { case 1: break b; case 2: break c; case 3: break d; case 4: break; default: break a; } if (!$par1) { nms_Item_$callClinit(); return nms_Item_helmetLeather; } if ($par1 == 1) { nms_Item_$callClinit(); return nms_Item_helmetGold; } if ($par1 == 2) { nms_Item_$callClinit(); return nms_Item_helmetChain; } if ($par1 == 3) { nms_Item_$callClinit(); return nms_Item_helmetIron; } if ($par1 == 4) { nms_Item_$callClinit(); return nms_Item_helmetDiamond; } } if (!$par1) { nms_Item_$callClinit(); return nms_Item_plateLeather; } if ($par1 == 1) { nms_Item_$callClinit(); return nms_Item_plateGold; } if ($par1 == 2) { nms_Item_$callClinit(); return nms_Item_plateChain; } if ($par1 == 3) { nms_Item_$callClinit(); return nms_Item_plateIron; } if ($par1 == 4) { nms_Item_$callClinit(); return nms_Item_plateDiamond; } } if (!$par1) { nms_Item_$callClinit(); return nms_Item_legsLeather; } if ($par1 == 1) { nms_Item_$callClinit(); return nms_Item_legsGold; } if ($par1 == 2) { nms_Item_$callClinit(); return nms_Item_legsChain; } if ($par1 == 3) { nms_Item_$callClinit(); return nms_Item_legsIron; } if ($par1 == 4) { nms_Item_$callClinit(); return nms_Item_legsDiamond; } } if (!$par1) { nms_Item_$callClinit(); return nms_Item_bootsLeather; } if ($par1 == 1) { nms_Item_$callClinit(); return nms_Item_bootsGold; } if ($par1 == 2) { nms_Item_$callClinit(); return nms_Item_bootsChain; } if ($par1 == 3) { nms_Item_$callClinit(); return nms_Item_bootsIron; } if ($par1 == 4) { nms_Item_$callClinit(); return nms_Item_bootsDiamond; } } return null; }, nms_EntityLiving_enchantEquipment = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, $var1, var$9, var$10, $var3, var$12, $var2, var$14, var$15, var$16; var$1 = $this.$worldObj; var$2 = $this.$posX; var$3 = $this.$posY; var$4 = $this.$posZ; var$5 = var$2 | 0; if (var$2 < var$5) var$5 = var$5 - 1 | 0; var$6 = var$3 | 0; if (var$3 < var$6) var$6 = var$6 - 1 | 0; var$7 = var$4 | 0; if (var$4 < var$7) var$7 = var$7 - 1 | 0; $var1 = nms_World_getTensionFactorForBlock(var$1, var$5, var$6, var$7); var$9 = $this.$equipment.data; if (var$9[0] !== null) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 < 0.25 * $var1) { $var3 = var$9[0]; var$12 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$6 = Long_lo(Long_shru(var$12, 17)); while (true) { var$5 = var$6 % 18 | 0; if (((var$6 - var$5 | 0) + 17 | 0) >= 0) break; var$12 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$6 = Long_lo(Long_shru(var$12, 17)); } nms_EnchantmentHelper_addRandomEnchantment(var$1, $var3, 5.0 + $var1 * var$5 | 0); } } $var2 = 0; var$14 = 0.5 * $var1; while ($var2 < 4) { var$9 = $this.$equipment.data; $var2 = $var2 + 1 | 0; $var3 = var$9[$var2]; if ($var3 !== null) { var$1 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; if (Long_lo(Long_shru(var$12, 24)) / 1.6777216E7 < var$14) { var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$15 = Long_lo(Long_shru(var$12, 17)); while (true) { var$16 = var$15 % 18 | 0; if (((var$15 - var$16 | 0) + 17 | 0) >= 0) break; var$12 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$15 = Long_lo(Long_shru(var$12, 17)); } nms_EnchantmentHelper_addRandomEnchantment(var$1, $var3, 5.0 + $var1 * var$16 | 0); } } } }, nms_EntityLiving_onSpawnWithEgg = ($this, $par1EntityLivingData) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$2 = nms_SharedMonsterAttributes_followRange; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$8 = var$3 === null ? null : var$3.$value1; var$3 = new nms_AttributeModifier; var$9 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05; var$4 = nle_ProfileUUID_randomUUID(); var$3.$isSaved = 1; var$3.$id2 = var$4; var$3.$name3 = $rt_s(1855); var$3.$amount = var$9; var$3.$operation = 1; if ($rt_s(1855) === $rt_s(18)) var$6 = 1; else if (!($rt_s(18) instanceof jl_String)) var$6 = 0; else { var$4 = $rt_s(18); var$6 = $rt_s(1855).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$6) { nms_ModifiableAttributeInstance_applyModifier(var$8, var$3); return $par1EntityLivingData; } var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(1292); $rt_throw(var$2); }, nms_EntityLiving_getEntityName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; if (nms_EntityLiving_hasCustomNameTag($this)) var$1 = nms_EntityLiving_getCustomNameTag($this); else { nms_EntityList_$callClinit(); var$1 = nms_EntityList_classToStringMapping; var$2 = $this.constructor; if (var$2 === null) var$3 = null; else { var$3 = var$2.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$2; var$2.classObject = var$3; } } if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$2 = var$3; if (!var$2.$id$) var$2.$id$ = $rt_nextId(); var$4 = var$3.$id$; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$2 = var$1.$key; if (var$3 !== var$2 && !(var$3 !== var$2 ? 0 : 1) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (var$1 === null) var$1 = $rt_s(400); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1257)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$1); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1258)); var$1 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); nms_StatCollector_$callClinit(); var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$1); } else { var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } } return var$1; }, nms_EntityLiving_func_110163_bv = $this => { $this.$persistenceRequired = 1; }, nms_EntityLiving_setCustomNameTag = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$dataWatcher; var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[138]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if ($par1Str === var$3) var$8 = 1; else if (!(var$3 instanceof jl_String)) var$8 = 0; else { var$3 = var$3; var$8 = $par1Str.$nativeString !== var$3.$nativeString ? 0 : 1; } if (!var$8) { var$4.$watchedObject = $par1Str; var$4.$watched = 1; var$2.$objectChanged = 1; } }; let nms_EntityLiving_getCustomNameTag = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[138]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject; }, nms_EntityLiving_hasCustomNameTag = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[138]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$nativeString.length <= 0 ? 0 : 1; }, nms_EntityLiving_setAlwaysRenderNameTag = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$dataWatcher; $par1 = (!$par1 ? 0 : 1) << 24 >> 24; var$3 = jl_Byte_byteCache.data[$par1 + 128 | 0]; var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[139]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = var$8.$watchedObject; if (!(var$4 instanceof jl_Byte && var$4.$value2 == var$3.$value2 ? 1 : 0)) { var$8.$watchedObject = var$3; var$8.$watched = 1; var$2.$objectChanged = 1; } }, nms_EntityLiving_getAlwaysRenderNameTag = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[139]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$value2 != 1 ? 0 : 1; }, nms_EntityLiving_getAlwaysRenderNameTagForRender = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[139]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$value2 != 1 ? 0 : 1; }, nms_EntityLiving_canPickUpLoot = $this => { return $this.$canPickUpLoot; }, nms_EntityLiving_setCanPickUpLoot = ($this, $par1) => { $this.$canPickUpLoot = $par1; }, nms_EntityLiving_interactFirst = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, $var2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$isLeashed && $this.$leashedToEntity === $par1EntityPlayer) { var$2 = 1; var$3 = $par1EntityPlayer.$capabilities.$isCreativeMode ? 0 : 1; $ptr = 2; continue main; } var$4 = $par1EntityPlayer.$inventory; var$3 = var$4.$currentItem; $var2 = var$3 < 9 && var$3 >= 0 ? var$4.$mainInventory.data[var$3] : null; a: { if ($var2 !== null) { var$2 = $var2.$itemID; nms_Item_$callClinit(); if (var$2 == nms_Item_leash.$itemID0 && $this.$allowLeashing()) { if ($this instanceof nms_EntityTameable) { var$4 = $this; if (nms_EntityTameable_isTamed(var$4)) { if (!jl_String_equalsIgnoreCase($par1EntityPlayer.$username, nms_EntityTameable_getOwnerName(var$4))) break a; nms_EntityLiving_setLeashedToEntity($this, $par1EntityPlayer, 1); $var2.$stackSize = $var2.$stackSize - 1 | 0; return 1; } } nms_EntityLiving_setLeashedToEntity($this, $par1EntityPlayer, 1); $var2.$stackSize = $var2.$stackSize - 1 | 0; return 1; } } } $ptr = 1; case 1: $tmp = $this.$interact($par1EntityPlayer); if ($rt_suspending()) { break main; } var$2 = $tmp; return var$2 ? 1 : 0; case 2: nms_EntityLiving_clearLeashed($this, var$2, var$3); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, $var2, $ptr); }, nms_EntityLiving_interact = ($this, $par1EntityPlayer) => { return 0; }, nms_EntityLiving_func_110159_bB = $this => { let var$1, var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$field_110170_bx !== null) { $ptr = 1; continue main; } a: { if ($this.$isLeashed) { var$1 = $this.$leashedToEntity; if (var$1 === null) break a; if (var$1.$isDead) break a; } return; } var$2 = 1; var$3 = 1; $ptr = 2; continue main; case 1: nms_EntityLiving_recreateLeash($this); if ($rt_suspending()) { break main; } b: { if ($this.$isLeashed) { var$1 = $this.$leashedToEntity; if (var$1 === null) break b; if (var$1.$isDead) break b; } return; } var$2 = 1; var$3 = 1; $ptr = 2; case 2: nms_EntityLiving_clearLeashed($this, var$2, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); }, nms_EntityLiving_clearLeashed = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$isLeashed) { $this.$isLeashed = 0; $this.$leashedToEntity = null; var$3 = $this.$worldObj; if (!var$3.$isRemote && $par2) { nms_Item_$callClinit(); var$4 = nms_Item_leash.$itemID0; var$5 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$5.$itemID = var$4; var$5.$stackSize = 1; var$5.$itemDamage = 0; var$6 = new nms_EntityItem; var$7 = $this.$posX; var$8 = $this.$posY + 0.0; var$9 = $this.$posZ; $ptr = 1; continue main; } var$3 = $this.$worldObj; if (!var$3.$isRemote && $par1 && var$3 instanceof nms_WorldServer) { var$5 = var$3.$getEntityTracker(); var$3 = new nms_Packet39AttachEntity; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$attachState = 1; var$3.$ridingEntityId = $this.$entityId; var$3.$vehicleEntityId = (-1); var$5.$sendPacketToAllPlayersTrackingEntity($this, var$3); } } return; case 1: nms_EntityItem__init_(var$6, var$3, var$7, var$8, var$9); if ($rt_suspending()) { break main; } var$10 = var$6.$dataWatcher; var$3 = var$10.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[138]); var$11 = var$3 === null ? null : var$3.$value1; if (!(var$5 !== var$11.$watchedObject ? 0 : 1)) { var$11.$watchedObject = var$5; var$11.$watched = 1; var$10.$objectChanged = 1; } var$11 = var$6.$dataWatcher; var$3 = var$11.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[138]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$11.$objectChanged = 1; var$6.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par2 = nms_World_spawnEntityInWorld(var$3, var$6); var$5 = var$3.$entityList; ju_HashMap_putImpl(var$5.$backingMap, var$6, var$5); if (!$par2) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$6, var$3); } var$3 = $this.$worldObj; if (!var$3.$isRemote && $par1 && var$3 instanceof nms_WorldServer) { var$5 = var$3.$getEntityTracker(); var$3 = new nms_Packet39AttachEntity; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$attachState = 1; var$3.$ridingEntityId = $this.$entityId; var$3.$vehicleEntityId = (-1); var$5.$sendPacketToAllPlayersTrackingEntity($this, var$3); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntityLiving_allowLeashing = $this => { return !$this.$isLeashed && !$rt_isInstance($this, nms_IMob) ? 1 : 0; }, nms_EntityLiving_getLeashed = $this => { return $this.$isLeashed; }, nms_EntityLiving_getLeashedToEntity = $this => { return $this.$leashedToEntity; }, nms_EntityLiving_setLeashedToEntity = ($this, $par1Entity, $par2) => { let var$3, var$4; $this.$isLeashed = 1; $this.$leashedToEntity = $par1Entity; $par1Entity = $this.$worldObj; if (!$par1Entity.$isRemote && $par2 && $par1Entity instanceof nms_WorldServer) { var$3 = $par1Entity.$getEntityTracker(); $par1Entity = new nms_Packet39AttachEntity; var$4 = $this.$leashedToEntity; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1Entity.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1Entity.$attachState = 1; $par1Entity.$ridingEntityId = $this.$entityId; $par1Entity.$vehicleEntityId = var$4 === null ? (-1) : var$4.$entityId; var$3.$sendPacketToAllPlayersTrackingEntity($this, $par1Entity); } }, nms_EntityLiving_recreateLeash = $this => { let $var4, $var7$index, var$3, $var6, $var7$index_0, $var5, var$7, $var3, var$9, var$10, var$11, $var8, var$13, var$14, var$15, var$16, var$17, var$18, $var1, $var2, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var8 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var3 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var7$index_0 = $thread.pop();$var6 = $thread.pop();var$3 = $thread.pop();$var7$index = $thread.pop();$var4 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$isLeashed) { $var4 = $this.$field_110170_bx; if ($var4 !== null) { a: { $var4 = $var4.$tagMap; if (!$rt_s(1254).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(1254).$nativeString.length) break a; $rt_s(1254).$hashCode1 = (31 * $rt_s(1254).$hashCode1 | 0) + $rt_s(1254).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var7$index = $rt_s(1254).$hashCode1; var$3 = $var4.$elementData.data; $var4 = var$3[$var7$index & (var$3.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var7$index) { b: { $var6 = $var4.$key; if ($rt_s(1254) !== $var6) { if ($rt_s(1254) === $var6) $var7$index_0 = 1; else if (!($var6 instanceof jl_String)) $var7$index_0 = 0; else { $var6 = $var6; $var7$index_0 = $rt_s(1254).$nativeString !== $var6.$nativeString ? 0 : 1; } if (!$var7$index_0) { $var7$index_0 = 0; break b; } } $var7$index_0 = 1; } if ($var7$index_0) break; } $var4 = $var4.$next3; } if ($var4 === null ? 0 : 1) { c: { $var4 = $this.$field_110170_bx.$tagMap; if (!$rt_s(1255).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(1255).$nativeString.length) break c; $rt_s(1255).$hashCode1 = (31 * $rt_s(1255).$hashCode1 | 0) + $rt_s(1255).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var7$index = $rt_s(1255).$hashCode1; var$3 = $var4.$elementData.data; $var4 = var$3[$var7$index & (var$3.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var7$index) { d: { $var6 = $var4.$key; if ($rt_s(1255) !== $var6) { if ($rt_s(1255) === $var6) $var7$index_0 = 1; else if (!($var6 instanceof jl_String)) $var7$index_0 = 0; else { $var6 = $var6; $var7$index_0 = $rt_s(1255).$nativeString !== $var6.$nativeString ? 0 : 1; } if (!$var7$index_0) { $var7$index_0 = 0; break d; } } $var7$index_0 = 1; } if ($var7$index_0) break; } $var4 = $var4.$next3; } if ($var4 === null ? 0 : 1) { e: { $var5 = new nle_ProfileUUID; var$7 = $this.$field_110170_bx; $var4 = var$7.$tagMap; if (!$rt_s(1254).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(1254).$nativeString.length) break e; $rt_s(1254).$hashCode1 = (31 * $rt_s(1254).$hashCode1 | 0) + $rt_s(1254).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var3 = $rt_s(1254).$hashCode1; var$3 = $var4.$elementData.data; $var4 = var$3[$var3 & (var$3.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var3) { f: { $var6 = $var4.$key; if ($rt_s(1254) !== $var6) { if ($rt_s(1254) === $var6) $var7$index = 1; else if (!($var6 instanceof jl_String)) $var7$index = 0; else { $var6 = $var6; $var7$index = $rt_s(1254).$nativeString !== $var6.$nativeString ? 0 : 1; } if (!$var7$index) { $var7$index = 0; break f; } } $var7$index = 1; } if ($var7$index) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) var$9 = Long_ZERO; else { $var4 = var$7.$tagMap; if ($rt_s(1254) === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { g: { if (!$rt_s(1254).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(1254).$nativeString.length) break g; $rt_s(1254).$hashCode1 = (31 * $rt_s(1254).$hashCode1 | 0) + $rt_s(1254).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var3 = $rt_s(1254).$hashCode1; var$3 = $var4.$elementData.data; $var4 = var$3[$var3 & (var$3.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var3) { h: { $var6 = $var4.$key; if ($rt_s(1254) !== $var6) { if ($rt_s(1254) === $var6) $var7$index = 1; else if (!($var6 instanceof jl_String)) $var7$index = 0; else { $var6 = $var6; $var7$index = $rt_s(1254).$nativeString !== $var6.$nativeString ? 0 : 1; } if (!$var7$index) { $var7$index = 0; break h; } } $var7$index = 1; } if ($var7$index) break; } $var4 = $var4.$next3; } } var$9 = ($var4 === null ? null : $var4.$value1).$data7; } i: { var$7 = $this.$field_110170_bx; $var6 = var$7.$tagMap; if (!$rt_s(1255).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(1255).$nativeString.length) break i; $rt_s(1255).$hashCode1 = (31 * $rt_s(1255).$hashCode1 | 0) + $rt_s(1255).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var7$index_0 = $rt_s(1255).$hashCode1; var$3 = $var6.$elementData.data; var$10 = var$3[$var7$index_0 & (var$3.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == $var7$index_0) { j: { $var6 = var$10.$key; if ($rt_s(1255) !== $var6) { if ($rt_s(1255) === $var6) $var7$index = 1; else if (!($var6 instanceof jl_String)) $var7$index = 0; else { $var6 = $var6; $var7$index = $rt_s(1255).$nativeString !== $var6.$nativeString ? 0 : 1; } if (!$var7$index) { $var7$index = 0; break j; } } $var7$index = 1; } if ($var7$index) break; } var$10 = var$10.$next3; } if (!(var$10 === null ? 0 : 1)) var$11 = Long_ZERO; else { $var6 = var$7.$tagMap; if ($rt_s(1255) === null) { var$7 = $var6.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { k: { if (!$rt_s(1255).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(1255).$nativeString.length) break k; $rt_s(1255).$hashCode1 = (31 * $rt_s(1255).$hashCode1 | 0) + $rt_s(1255).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var7$index_0 = $rt_s(1255).$hashCode1; var$3 = $var6.$elementData.data; var$7 = var$3[$var7$index_0 & (var$3.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == $var7$index_0) { l: { $var6 = var$7.$key; if ($rt_s(1255) !== $var6) { if ($rt_s(1255) === $var6) $var7$index = 1; else if (!($var6 instanceof jl_String)) $var7$index = 0; else { $var6 = $var6; $var7$index = $rt_s(1255).$nativeString !== $var6.$nativeString ? 0 : 1; } if (!$var7$index) { $var7$index = 0; break l; } } $var7$index = 1; } if ($var7$index) break; } var$7 = var$7.$next3; } } var$11 = (var$7 === null ? null : var$7.$value1).$data7; } $var5.$msb = var$9; $var5.$lsb = var$11; $var4 = $this.$worldObj; $var6 = $rt_cls(nms_EntityLivingBase); $var8 = $this.$boundingBox; var$13 = $var8.$minX - 10.0; var$14 = $var8.$minY - 10.0; var$15 = $var8.$minZ - 10.0; var$16 = $var8.$maxX + 10.0; var$17 = $var8.$maxY + 10.0; var$18 = $var8.$maxZ + 10.0; var$10 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var7$index = var$10.$nextPoolIndex; $var8 = var$10.$listAABB; $var3 = $var8.$size0; $var7$index_0 = $rt_compare($var7$index, $var3); if ($var7$index_0 >= 0) { var$7 = new nms_AxisAlignedBB; var$7.$minX = var$13; var$7.$minY = var$14; var$7.$minZ = var$15; var$7.$maxX = var$16; var$7.$maxY = var$17; var$7.$maxZ = var$18; ju_ArrayList_ensureCapacity($var8, $var3 + 1 | 0); var$3 = $var8.$array.data; $var7$index_0 = $var8.$size0; $var8.$size0 = $var7$index_0 + 1 | 0; var$3[$var7$index_0] = var$7; $var8.$modCount = $var8.$modCount + 1 | 0; } else if ($var7$index >= 0 && $var7$index_0 < 0) { var$7 = $var8.$array.data[$var7$index]; var$7.$minX = var$13; var$7.$minY = var$14; var$7.$minZ = var$15; var$7.$maxX = var$16; var$7.$maxY = var$17; var$7.$maxZ = var$18; } else { $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var4); $rt_throw($var4); } var$10.$nextPoolIndex = var$10.$nextPoolIndex + 1 | 0; $var8 = null; $ptr = 2; continue main; } } m: { $var4 = $this.$field_110170_bx.$tagMap; if (!$rt_s(267).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(267).$nativeString.length) break m; $rt_s(267).$hashCode1 = (31 * $rt_s(267).$hashCode1 | 0) + $rt_s(267).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var7$index = $rt_s(267).$hashCode1; var$3 = $var4.$elementData.data; $var4 = var$3[$var7$index & (var$3.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var7$index) { n: { $var6 = $var4.$key; if ($rt_s(267) !== $var6) { if ($rt_s(267) === $var6) $var7$index_0 = 1; else if (!($var6 instanceof jl_String)) $var7$index_0 = 0; else { $var6 = $var6; $var7$index_0 = $rt_s(267).$nativeString !== $var6.$nativeString ? 0 : 1; } if (!$var7$index_0) { $var7$index_0 = 0; break n; } } $var7$index_0 = 1; } if ($var7$index_0) break; } $var4 = $var4.$next3; } if ($var4 === null ? 0 : 1) { o: { $var4 = $this.$field_110170_bx.$tagMap; if (!$rt_s(243).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(243).$nativeString.length) break o; $rt_s(243).$hashCode1 = (31 * $rt_s(243).$hashCode1 | 0) + $rt_s(243).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var7$index = $rt_s(243).$hashCode1; var$3 = $var4.$elementData.data; $var4 = var$3[$var7$index & (var$3.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var7$index) { p: { $var6 = $var4.$key; if ($rt_s(243) !== $var6) { if ($rt_s(243) !== $var6) { if ($var6 instanceof jl_String) { $var6 = $var6; $var7$index_0 = $rt_s(243).$nativeString !== $var6.$nativeString ? 0 : 1; } else $var7$index_0 = 0; } else $var7$index_0 = 1; if (!$var7$index_0) { $var7$index_0 = 0; break p; } } $var7$index_0 = 1; } if ($var7$index_0) break; } $var4 = $var4.$next3; } if ($var4 === null ? 0 : 1) { q: { $var4 = $this.$field_110170_bx.$tagMap; if (!$rt_s(266).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(266).$nativeString.length) break q; $rt_s(266).$hashCode1 = (31 * $rt_s(266).$hashCode1 | 0) + $rt_s(266).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var7$index = $rt_s(266).$hashCode1; var$3 = $var4.$elementData.data; $var4 = var$3[$var7$index & (var$3.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var7$index) { r: { $var6 = $var4.$key; if ($rt_s(266) !== $var6) { if ($rt_s(266) === $var6) $var7$index_0 = 1; else if (!($var6 instanceof jl_String)) $var7$index_0 = 0; else { $var6 = $var6; $var7$index_0 = $rt_s(266).$nativeString !== $var6.$nativeString ? 0 : 1; } if (!$var7$index_0) { $var7$index_0 = 0; break r; } } $var7$index_0 = 1; } if ($var7$index_0) break; } $var4 = $var4.$next3; } if ($var4 === null ? 0 : 1) { s: { $var4 = $this.$field_110170_bx; $var6 = $var4.$tagMap; if (!$rt_s(267).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(267).$nativeString.length) break s; $rt_s(267).$hashCode1 = (31 * $rt_s(267).$hashCode1 | 0) + $rt_s(267).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var7$index = $rt_s(267).$hashCode1; var$3 = $var6.$elementData.data; $var6 = var$3[$var7$index & (var$3.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == $var7$index) { t: { $var8 = $var6.$key; if ($rt_s(267) !== $var8) { if ($rt_s(267) !== $var8) { if ($var8 instanceof jl_String) { $var8 = $var8; $var7$index_0 = $rt_s(267).$nativeString !== $var8.$nativeString ? 0 : 1; } else $var7$index_0 = 0; } else $var7$index_0 = 1; if (!$var7$index_0) { $var7$index_0 = 0; break t; } } $var7$index_0 = 1; } if ($var7$index_0) break; } $var6 = $var6.$next3; } if (!($var6 === null ? 0 : 1)) $var1 = 0; else { $var4 = $var4.$tagMap; if ($rt_s(267) === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { u: { if (!$rt_s(267).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(267).$nativeString.length) break u; $rt_s(267).$hashCode1 = (31 * $rt_s(267).$hashCode1 | 0) + $rt_s(267).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var7$index = $rt_s(267).$hashCode1; var$3 = $var4.$elementData.data; $var4 = var$3[$var7$index & (var$3.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var7$index) { v: { $var6 = $var4.$key; if ($rt_s(267) !== $var6) { if ($rt_s(267) === $var6) $var7$index_0 = 1; else if (!($var6 instanceof jl_String)) $var7$index_0 = 0; else { $var6 = $var6; $var7$index_0 = $rt_s(267).$nativeString !== $var6.$nativeString ? 0 : 1; } if (!$var7$index_0) { $var7$index_0 = 0; break v; } } $var7$index_0 = 1; } if ($var7$index_0) break; } $var4 = $var4.$next3; } } $var1 = ($var4 === null ? null : $var4.$value1).$data0; } w: { $var4 = $this.$field_110170_bx; $var6 = $var4.$tagMap; if (!$rt_s(243).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(243).$nativeString.length) break w; $rt_s(243).$hashCode1 = (31 * $rt_s(243).$hashCode1 | 0) + $rt_s(243).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var3 = $rt_s(243).$hashCode1; var$3 = $var6.$elementData.data; $var6 = var$3[$var3 & (var$3.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == $var3) { x: { $var8 = $var6.$key; if ($rt_s(243) !== $var8) { if ($rt_s(243) === $var8) $var7$index = 1; else if (!($var8 instanceof jl_String)) $var7$index = 0; else { $var8 = $var8; $var7$index = $rt_s(243).$nativeString !== $var8.$nativeString ? 0 : 1; } if (!$var7$index) { $var7$index = 0; break x; } } $var7$index = 1; } if ($var7$index) break; } $var6 = $var6.$next3; } if (!($var6 === null ? 0 : 1)) $var2 = 0; else { $var4 = $var4.$tagMap; if ($rt_s(243) === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { y: { if (!$rt_s(243).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(243).$nativeString.length) break y; $rt_s(243).$hashCode1 = (31 * $rt_s(243).$hashCode1 | 0) + $rt_s(243).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var3 = $rt_s(243).$hashCode1; var$3 = $var4.$elementData.data; $var4 = var$3[$var3 & (var$3.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var3) { z: { $var6 = $var4.$key; if ($rt_s(243) !== $var6) { if ($rt_s(243) === $var6) $var7$index = 1; else if (!($var6 instanceof jl_String)) $var7$index = 0; else { $var6 = $var6; $var7$index = $rt_s(243).$nativeString !== $var6.$nativeString ? 0 : 1; } if (!$var7$index) { $var7$index = 0; break z; } } $var7$index = 1; } if ($var7$index) break; } $var4 = $var4.$next3; } } $var2 = ($var4 === null ? null : $var4.$value1).$data0; } ba: { $var4 = $this.$field_110170_bx; $var6 = $var4.$tagMap; if (!$rt_s(266).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(266).$nativeString.length) break ba; $rt_s(266).$hashCode1 = (31 * $rt_s(266).$hashCode1 | 0) + $rt_s(266).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var3 = $rt_s(266).$hashCode1; var$3 = $var6.$elementData.data; $var6 = var$3[$var3 & (var$3.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == $var3) { bb: { $var8 = $var6.$key; if ($rt_s(266) !== $var8) { if ($rt_s(266) === $var8) $var7$index = 1; else if (!($var8 instanceof jl_String)) $var7$index = 0; else { $var8 = $var8; $var7$index = $rt_s(266).$nativeString !== $var8.$nativeString ? 0 : 1; } if (!$var7$index) { $var7$index = 0; break bb; } } $var7$index = 1; } if ($var7$index) break; } $var6 = $var6.$next3; } if (!($var6 === null ? 0 : 1)) $var3 = 0; else { $var4 = $var4.$tagMap; if ($rt_s(266) === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { bc: { if (!$rt_s(266).$hashCode1) { $var7$index = 0; while (true) { if ($var7$index >= $rt_s(266).$nativeString.length) break bc; $rt_s(266).$hashCode1 = (31 * $rt_s(266).$hashCode1 | 0) + $rt_s(266).$nativeString.charCodeAt($var7$index) | 0; $var7$index = $var7$index + 1 | 0; } } } $var3 = $rt_s(266).$hashCode1; var$3 = $var4.$elementData.data; $var4 = var$3[$var3 & (var$3.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var3) { bd: { $var6 = $var4.$key; if ($rt_s(266) !== $var6) { if ($rt_s(266) === $var6) $var7$index = 1; else if (!($var6 instanceof jl_String)) $var7$index = 0; else { $var6 = $var6; $var7$index = $rt_s(266).$nativeString !== $var6.$nativeString ? 0 : 1; } if (!$var7$index) { $var7$index = 0; break bd; } } $var7$index = 1; } if ($var7$index) break; } $var4 = $var4.$next3; } } $var3 = ($var4 === null ? null : $var4.$value1).$data0; } $var4 = $this.$worldObj; $ptr = 3; continue main; } } } $var7$index_0 = 0; $var7$index = 1; $ptr = 1; continue main; } } $this.$field_110170_bx = null; return; case 1: nms_EntityLiving_clearLeashed($this, $var7$index_0, $var7$index); if ($rt_suspending()) { break main; } $this.$field_110170_bx = null; return; case 2: $tmp = nms_World_selectEntitiesWithinAABB($var4, $var6, var$7, $var8); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7$index = 0; $var2 = $var6.$modCount; $var1 = $var6.$size(); $var3 = $var5 instanceof nle_ProfileUUID; $var4 = $var5; be: { while (true) { if (!($var7$index >= $var1 ? 0 : 1)) break be; if ($var2 < $var6.$modCount) { $var4 = new ju_ConcurrentModificationException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } $var7$index_0 = $var7$index + 1 | 0; $var8 = $var6.$get($var7$index); $var5 = $var8.$entityUniqueID; if ($var3 && Long_eq($var4.$lsb, $var5.$lsb) && Long_eq($var4.$msb, $var5.$msb) ? 1 : 0) break; $var7$index = $var7$index_0; } $this.$leashedToEntity = $var8; } $this.$field_110170_bx = null; return; case 3: $tmp = nms_EntityLeashKnot_getKnotForBlock($var4, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 !== null) { $this.$leashedToEntity = $var4; $this.$field_110170_bx = null; return; } $var5 = $this.$worldObj; $var4 = new nms_EntityLeashKnot; nms_Entity__init_($var4, $var5); $var4.$yOffset = 0.0; var$21 = 0.5; var$22 = 0.5; $ptr = 4; case 4: nms_Entity_setSize($var4, var$21, var$22); if ($rt_suspending()) { break main; } $var4.$xPosition2 = $var1; $var4.$yPosition2 = $var2; $var4.$zPosition1 = $var3; nms_Entity_setPosition($var4, $var1 + 0.5, $var2 + 0.5, $var3 + 0.5); $var4.$forceSpawn = 1; $var7$index = nms_World_spawnEntityInWorld($var5, $var4); $var6 = $var5.$entityList; ju_HashMap_putImpl($var6.$backingMap, $var4, $var6); if (!$var7$index) { $var5 = $var5.$entitySpawnQueue; ju_HashMap_putImpl($var5.$backingMap, $var4, $var5); } $this.$leashedToEntity = $var4; $this.$field_110170_bx = null; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var4, $var7$index, var$3, $var6, $var7$index_0, $var5, var$7, $var3, var$9, var$10, var$11, $var8, var$13, var$14, var$15, var$16, var$17, var$18, $var1, $var2, var$21, var$22, $ptr); }; function nms_EntityCreature() { let a = this; nms_EntityLiving.call(a); a.$pathToEntity = null; a.$entityToAttack = null; a.$hasAttacked = 0; a.$fleeingTick = 0; a.$homePosition = null; a.$maximumHomeDistance = 0.0; a.$field_110178_bs = null; a.$field_110180_bt = 0; } let nms_EntityCreature_field_110179_h = null, nms_EntityCreature_field_110181_i = null, nms_EntityCreature_$callClinit = () => { nms_EntityCreature_$callClinit = $rt_eraseClinit(nms_EntityCreature); nms_EntityCreature__clinit_(); }, nms_EntityCreature_isMovementCeased = $this => { return 0; }, nms_EntityCreature_updateEntityActionState = $this => { let $var3, $var5, var$3, var$4, var$5, var$6, $var21, $var14, $var15, $var20, var$11, var$12, var$13, $var6, $var22, $var12, $var16, $var18, $var8, $var10, var$21, var$22, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var12 = $thread.pop();$var22 = $thread.pop();$var6 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var20 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var21 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$fleeingTick; if ($var3 > 0) { $var3 = $var3 - 1 | 0; $this.$fleeingTick = $var3; if (!$var3) { $var5 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if ($var5 !== null) { a: { var$4 = $var5.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$5 = var$4.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$4 = var$3.$key; if ($var5 !== var$4 && !jl_Object_equals($var5, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; nms_EntityCreature_$callClinit(); nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityCreature_field_110181_i); } } $this.$hasAttacked = 0; $var21 = 16.0; $var5 = $this.$entityToAttack; if ($var5 === null) { $ptr = 1; continue main; } if ($var5.$isEntityAlive()) { $var5 = $this.$entityToAttack; $var14 = $var5.$posX - $this.$posX; $var15 = $var5.$posY - $this.$posY; $var20 = $var5.$posZ - $this.$posZ; $var14 = jl_Math_sqrt($var14 * $var14 + $var15 * $var15 + $var20 * $var20); $var5 = $this.$entityToAttack; $ptr = 2; continue main; } $this.$entityToAttack = null; b: { c: { $var3 = $this.$hasAttacked; if (!$var3) { $var5 = $this.$entityToAttack; if ($var5 !== null) { if ($this.$pathToEntity !== null) { var$3 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); while (true) { var$13 = var$12 % 20 | 0; if (((var$12 - var$13 | 0) + 19 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); } if (var$13) break c; } $this.$pathToEntity = nms_World_getPathEntityToEntity($this.$worldObj, $this, $var5, $var21, 1, 0, 0, 1); break b; } } } if (!$var3) { d: { if ($this.$pathToEntity === null) { $var5 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); while (true) { var$12 = var$5 % 180 | 0; if (((var$5 - var$12 | 0) + 179 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); } if (!var$12) break d; } $var5 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); while (true) { var$12 = var$5 % 120 | 0; if (((var$5 - var$12 | 0) + 119 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); } if (var$12 && $this.$fleeingTick <= 0) break b; } if ($this.$entityAge < 100) nms_EntityCreature_updateWanderPath($this); } } $var6 = $this.$boundingBox.$minY + 0.5; $var22 = $var6 | 0; if ($var6 < $var22) $var22 = $var22 - 1 | 0; $var3 = $this.$isInWater(); $var5 = $this.$worldObj; var$3 = $this.$boundingBox; $var12 = var$3.$minX + 0.10000000149011612; $var16 = var$3.$minY + 0.4000000059604645; $var18 = var$3.$minZ + 0.10000000149011612; $var6 = var$3.$maxX + (-0.10000000149011612); $var8 = var$3.$maxY + (-0.4000000059604645); $var10 = var$3.$maxZ + (-0.10000000149011612); var$21 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$22 = var$21.$nextPoolIndex; var$3 = var$21.$listAABB; var$12 = var$3.$size0; var$5 = $rt_compare(var$22, var$12); if (var$5 >= 0) { var$4 = new nms_AxisAlignedBB; var$4.$minX = $var12; var$4.$minY = $var16; var$4.$minZ = $var18; var$4.$maxX = $var6; var$4.$maxY = $var8; var$4.$maxZ = $var10; ju_ArrayList_ensureCapacity(var$3, var$12 + 1 | 0); var$6 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$6[var$5] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; } else if (var$22 >= 0 && var$5 < 0) { var$4 = var$3.$array.data[var$22]; var$4.$minX = $var12; var$4.$minY = $var16; var$4.$minZ = $var18; var$4.$maxX = $var6; var$4.$maxY = $var8; var$4.$maxZ = $var10; } else { $var5 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var5); $rt_throw($var5); } var$21.$nextPoolIndex = var$21.$nextPoolIndex + 1 | 0; nms_Material_$callClinit(); $var4 = nms_World_isMaterialInBB($var5, var$4, nms_Material_lava); $this.$rotationPitch = 0.0; $var5 = $this.$pathToEntity; if ($var5 !== null) { var$3 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); while (true) { var$12 = var$5 % 100 | 0; if (((var$5 - var$12 | 0) + 99 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); } if (var$12) { $var5 = nms_PathEntity_getVectorFromIndex($var5, $this, $var5.$currentPathIndex); $var6 = $this.$width1 * 2.0; $var10 = $var6 * $var6; while ($var5 !== null) { $var6 = $this.$posX; $var8 = $var5.$yCoord; $var12 = $this.$posZ; $var6 = $var6 - $var5.$xCoord; $var16 = $var8 - $var8; $var8 = $var12 - $var5.$zCoord; if ($var6 * $var6 + $var16 * $var16 + $var8 * $var8 >= $var10) break; $var5 = $this.$pathToEntity; var$5 = $var5.$currentPathIndex + 1 | 0; $var5.$currentPathIndex = var$5; if (!(var$5 < $var5.$pathLength ? 0 : 1)) { $var5 = nms_PathEntity_getVectorFromIndex($var5, $this, var$5); continue; } $var5 = null; $this.$pathToEntity = null; } $this.$isJumping = 0; if ($var5 !== null) { $var8 = $var5.$xCoord - $this.$posX; $var10 = $var5.$zCoord - $this.$posZ; $var12 = $var5.$yCoord - $var22; $var15 = (jl_Math_atan2($var10, $var8) * 180.0 / 3.141592653589793 - 90.0 - $this.$rotationYaw) % 360.0; if ($var15 >= 180.0) $var15 = $var15 - 360.0; if ($var15 < (-180.0)) $var15 = $var15 + 360.0; var$3 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $this.$attributeMap.$attributes; if (var$3 === null) { $var5 = var$4.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { e: { $var5 = var$3.$field_111115_a; if (!$var5.$hashCode1) { var$22 = 0; while (true) { if (var$22 >= $var5.$nativeString.length) break e; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt(var$22) | 0; var$22 = var$22 + 1 | 0; } } } var$22 = $var5.$hashCode1; var$6 = var$4.$elementData.data; $var5 = var$6[var$22 & (var$6.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$22) { var$4 = $var5.$key; if (var$3 !== var$4 && !jl_Object_equals(var$3, var$4) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; if ($var5.$field_111133_g) { $var5.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var5); $var5.$field_111133_g = 0; } $this.$moveForward = $var5.$field_111139_h; if ($var15 > 30.0) $var15 = 30.0; if ($var15 < (-30.0)) $var15 = (-30.0); $var20 = $this.$rotationYaw + $var15; $this.$rotationYaw = $var20; if ($this.$hasAttacked) { $var5 = $this.$entityToAttack; if ($var5 !== null) { $var16 = $var5.$posX - $this.$posX; $var21 = jl_Math_atan2($var5.$posZ - $this.$posZ, $var16) * 180.0 / 3.141592653589793 - 90.0; $this.$rotationYaw = $var21; $var21 = ($var20 - $var21 + 90.0) * 3.1415927410125732 / 180.0; var$6 = nms_MathHelper_SIN_TABLE.data; $var20 = $var21 * 10430.3779296875; $var21 = -var$6[($var20 | 0) & 65535]; $var14 = $this.$moveForward; $this.$moveStrafing = $var21 * $var14 * 1.0; $this.$moveForward = var$6[($var20 + 16384.0 | 0) & 65535] * $var14 * 1.0; } } if ($var12 > 0.0) $this.$isJumping = 1; } $var5 = $this.$entityToAttack; if ($var5 !== null) nms_EntityLiving_faceEntity($this, $var5, 30.0, 30.0); if ($this.$isCollidedHorizontally && !($this.$pathToEntity === null ? 0 : 1)) $this.$isJumping = 1; $var5 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; if (Long_lo(Long_shru(var$11, 24)) / 1.6777216E7 < 0.800000011920929 && !(!$var3 && !$var4)) $this.$isJumping = 1; return; } } $ptr = 4; continue main; case 1: $tmp = $this.$findPlayerToAttack(); if ($rt_suspending()) { break main; } $var5 = $tmp; $this.$entityToAttack = $var5; if ($var5 !== null) $this.$pathToEntity = nms_World_getPathEntityToEntity($this.$worldObj, $this, $var5, $var21, 1, 0, 0, 1); f: { g: { $var3 = $this.$hasAttacked; if (!$var3) { $var5 = $this.$entityToAttack; if ($var5 !== null) { if ($this.$pathToEntity !== null) { var$3 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); while (true) { var$13 = var$12 % 20 | 0; if (((var$12 - var$13 | 0) + 19 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); } if (var$13) break g; } $this.$pathToEntity = nms_World_getPathEntityToEntity($this.$worldObj, $this, $var5, $var21, 1, 0, 0, 1); break f; } } } if (!$var3) { h: { if ($this.$pathToEntity === null) { $var5 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); while (true) { var$12 = var$5 % 180 | 0; if (((var$5 - var$12 | 0) + 179 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); } if (!var$12) break h; } $var5 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); while (true) { var$12 = var$5 % 120 | 0; if (((var$5 - var$12 | 0) + 119 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); } if (var$12 && $this.$fleeingTick <= 0) break f; } if ($this.$entityAge < 100) nms_EntityCreature_updateWanderPath($this); } } $var6 = $this.$boundingBox.$minY + 0.5; $var22 = $var6 | 0; if ($var6 < $var22) $var22 = $var22 - 1 | 0; $var3 = $this.$isInWater(); $var5 = $this.$worldObj; var$3 = $this.$boundingBox; $var12 = var$3.$minX + 0.10000000149011612; $var16 = var$3.$minY + 0.4000000059604645; $var18 = var$3.$minZ + 0.10000000149011612; $var6 = var$3.$maxX + (-0.10000000149011612); $var8 = var$3.$maxY + (-0.4000000059604645); $var10 = var$3.$maxZ + (-0.10000000149011612); var$21 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$22 = var$21.$nextPoolIndex; var$3 = var$21.$listAABB; var$12 = var$3.$size0; var$5 = $rt_compare(var$22, var$12); if (var$5 >= 0) { var$4 = new nms_AxisAlignedBB; var$4.$minX = $var12; var$4.$minY = $var16; var$4.$minZ = $var18; var$4.$maxX = $var6; var$4.$maxY = $var8; var$4.$maxZ = $var10; ju_ArrayList_ensureCapacity(var$3, var$12 + 1 | 0); var$6 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$6[var$5] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; } else if (var$22 >= 0 && var$5 < 0) { var$4 = var$3.$array.data[var$22]; var$4.$minX = $var12; var$4.$minY = $var16; var$4.$minZ = $var18; var$4.$maxX = $var6; var$4.$maxY = $var8; var$4.$maxZ = $var10; } else { $var5 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var5); $rt_throw($var5); } var$21.$nextPoolIndex = var$21.$nextPoolIndex + 1 | 0; nms_Material_$callClinit(); $var4 = nms_World_isMaterialInBB($var5, var$4, nms_Material_lava); $this.$rotationPitch = 0.0; $var5 = $this.$pathToEntity; if ($var5 !== null) { var$3 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); while (true) { var$12 = var$5 % 100 | 0; if (((var$5 - var$12 | 0) + 99 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); } if (var$12) { $var5 = nms_PathEntity_getVectorFromIndex($var5, $this, $var5.$currentPathIndex); $var6 = $this.$width1 * 2.0; $var10 = $var6 * $var6; while ($var5 !== null) { $var6 = $this.$posX; $var8 = $var5.$yCoord; $var12 = $this.$posZ; $var6 = $var6 - $var5.$xCoord; $var16 = $var8 - $var8; $var8 = $var12 - $var5.$zCoord; if ($var6 * $var6 + $var16 * $var16 + $var8 * $var8 >= $var10) break; $var5 = $this.$pathToEntity; var$5 = $var5.$currentPathIndex + 1 | 0; $var5.$currentPathIndex = var$5; if (!(var$5 < $var5.$pathLength ? 0 : 1)) { $var5 = nms_PathEntity_getVectorFromIndex($var5, $this, var$5); continue; } $var5 = null; $this.$pathToEntity = null; } $this.$isJumping = 0; if ($var5 !== null) { $var8 = $var5.$xCoord - $this.$posX; $var10 = $var5.$zCoord - $this.$posZ; $var12 = $var5.$yCoord - $var22; $var15 = (jl_Math_atan2($var10, $var8) * 180.0 / 3.141592653589793 - 90.0 - $this.$rotationYaw) % 360.0; if ($var15 >= 180.0) $var15 = $var15 - 360.0; if ($var15 < (-180.0)) $var15 = $var15 + 360.0; var$3 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $this.$attributeMap.$attributes; if (var$3 === null) { $var5 = var$4.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { i: { $var5 = var$3.$field_111115_a; if (!$var5.$hashCode1) { var$22 = 0; while (true) { if (var$22 >= $var5.$nativeString.length) break i; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt(var$22) | 0; var$22 = var$22 + 1 | 0; } } } var$22 = $var5.$hashCode1; var$6 = var$4.$elementData.data; $var5 = var$6[var$22 & (var$6.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$22) { var$4 = $var5.$key; if (var$3 !== var$4 && !jl_Object_equals(var$3, var$4) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; if ($var5.$field_111133_g) { $var5.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var5); $var5.$field_111133_g = 0; } $this.$moveForward = $var5.$field_111139_h; if ($var15 > 30.0) $var15 = 30.0; if ($var15 < (-30.0)) $var15 = (-30.0); $var20 = $this.$rotationYaw + $var15; $this.$rotationYaw = $var20; if ($this.$hasAttacked) { $var5 = $this.$entityToAttack; if ($var5 !== null) { $var16 = $var5.$posX - $this.$posX; $var21 = jl_Math_atan2($var5.$posZ - $this.$posZ, $var16) * 180.0 / 3.141592653589793 - 90.0; $this.$rotationYaw = $var21; $var21 = ($var20 - $var21 + 90.0) * 3.1415927410125732 / 180.0; var$6 = nms_MathHelper_SIN_TABLE.data; $var20 = $var21 * 10430.3779296875; $var21 = -var$6[($var20 | 0) & 65535]; $var14 = $this.$moveForward; $this.$moveStrafing = $var21 * $var14 * 1.0; $this.$moveForward = var$6[($var20 + 16384.0 | 0) & 65535] * $var14 * 1.0; } } if ($var12 > 0.0) $this.$isJumping = 1; } $var5 = $this.$entityToAttack; if ($var5 !== null) nms_EntityLiving_faceEntity($this, $var5, 30.0, 30.0); if ($this.$isCollidedHorizontally && !($this.$pathToEntity === null ? 0 : 1)) $this.$isJumping = 1; $var5 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; if (Long_lo(Long_shru(var$11, 24)) / 1.6777216E7 < 0.800000011920929 && !(!$var3 && !$var4)) $this.$isJumping = 1; return; } } $ptr = 4; continue main; case 2: $tmp = nms_EntityLivingBase_canEntityBeSeen($this, $var5); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3) { $var5 = $this.$entityToAttack; $ptr = 3; continue main; } f: { g: { $var3 = $this.$hasAttacked; if (!$var3) { $var5 = $this.$entityToAttack; if ($var5 !== null) { if ($this.$pathToEntity !== null) { var$3 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); while (true) { var$13 = var$12 % 20 | 0; if (((var$12 - var$13 | 0) + 19 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); } if (var$13) break g; } $this.$pathToEntity = nms_World_getPathEntityToEntity($this.$worldObj, $this, $var5, $var21, 1, 0, 0, 1); break f; } } } if (!$var3) { h: { if ($this.$pathToEntity === null) { $var5 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); while (true) { var$12 = var$5 % 180 | 0; if (((var$5 - var$12 | 0) + 179 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); } if (!var$12) break h; } $var5 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); while (true) { var$12 = var$5 % 120 | 0; if (((var$5 - var$12 | 0) + 119 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); } if (var$12 && $this.$fleeingTick <= 0) break f; } if ($this.$entityAge < 100) nms_EntityCreature_updateWanderPath($this); } } $var6 = $this.$boundingBox.$minY + 0.5; $var22 = $var6 | 0; if ($var6 < $var22) $var22 = $var22 - 1 | 0; $var3 = $this.$isInWater(); $var5 = $this.$worldObj; var$3 = $this.$boundingBox; $var12 = var$3.$minX + 0.10000000149011612; $var16 = var$3.$minY + 0.4000000059604645; $var18 = var$3.$minZ + 0.10000000149011612; $var6 = var$3.$maxX + (-0.10000000149011612); $var8 = var$3.$maxY + (-0.4000000059604645); $var10 = var$3.$maxZ + (-0.10000000149011612); var$21 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$22 = var$21.$nextPoolIndex; var$3 = var$21.$listAABB; var$12 = var$3.$size0; var$5 = $rt_compare(var$22, var$12); if (var$5 >= 0) { var$4 = new nms_AxisAlignedBB; var$4.$minX = $var12; var$4.$minY = $var16; var$4.$minZ = $var18; var$4.$maxX = $var6; var$4.$maxY = $var8; var$4.$maxZ = $var10; ju_ArrayList_ensureCapacity(var$3, var$12 + 1 | 0); var$6 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$6[var$5] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; } else if (var$22 >= 0 && var$5 < 0) { var$4 = var$3.$array.data[var$22]; var$4.$minX = $var12; var$4.$minY = $var16; var$4.$minZ = $var18; var$4.$maxX = $var6; var$4.$maxY = $var8; var$4.$maxZ = $var10; } else { $var5 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var5); $rt_throw($var5); } var$21.$nextPoolIndex = var$21.$nextPoolIndex + 1 | 0; nms_Material_$callClinit(); $var4 = nms_World_isMaterialInBB($var5, var$4, nms_Material_lava); $this.$rotationPitch = 0.0; $var5 = $this.$pathToEntity; if ($var5 !== null) { var$3 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); while (true) { var$12 = var$5 % 100 | 0; if (((var$5 - var$12 | 0) + 99 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); } if (var$12) { $var5 = nms_PathEntity_getVectorFromIndex($var5, $this, $var5.$currentPathIndex); $var6 = $this.$width1 * 2.0; $var10 = $var6 * $var6; while ($var5 !== null) { $var6 = $this.$posX; $var8 = $var5.$yCoord; $var12 = $this.$posZ; $var6 = $var6 - $var5.$xCoord; $var16 = $var8 - $var8; $var8 = $var12 - $var5.$zCoord; if ($var6 * $var6 + $var16 * $var16 + $var8 * $var8 >= $var10) break; $var5 = $this.$pathToEntity; var$5 = $var5.$currentPathIndex + 1 | 0; $var5.$currentPathIndex = var$5; if (!(var$5 < $var5.$pathLength ? 0 : 1)) { $var5 = nms_PathEntity_getVectorFromIndex($var5, $this, var$5); continue; } $var5 = null; $this.$pathToEntity = null; } $this.$isJumping = 0; if ($var5 !== null) { $var8 = $var5.$xCoord - $this.$posX; $var10 = $var5.$zCoord - $this.$posZ; $var12 = $var5.$yCoord - $var22; $var15 = (jl_Math_atan2($var10, $var8) * 180.0 / 3.141592653589793 - 90.0 - $this.$rotationYaw) % 360.0; if ($var15 >= 180.0) $var15 = $var15 - 360.0; if ($var15 < (-180.0)) $var15 = $var15 + 360.0; var$3 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $this.$attributeMap.$attributes; if (var$3 === null) { $var5 = var$4.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { i: { $var5 = var$3.$field_111115_a; if (!$var5.$hashCode1) { var$22 = 0; while (true) { if (var$22 >= $var5.$nativeString.length) break i; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt(var$22) | 0; var$22 = var$22 + 1 | 0; } } } var$22 = $var5.$hashCode1; var$6 = var$4.$elementData.data; $var5 = var$6[var$22 & (var$6.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$22) { var$4 = $var5.$key; if (var$3 !== var$4 && !jl_Object_equals(var$3, var$4) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; if ($var5.$field_111133_g) { $var5.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var5); $var5.$field_111133_g = 0; } $this.$moveForward = $var5.$field_111139_h; if ($var15 > 30.0) $var15 = 30.0; if ($var15 < (-30.0)) $var15 = (-30.0); $var20 = $this.$rotationYaw + $var15; $this.$rotationYaw = $var20; if ($this.$hasAttacked) { $var5 = $this.$entityToAttack; if ($var5 !== null) { $var16 = $var5.$posX - $this.$posX; $var21 = jl_Math_atan2($var5.$posZ - $this.$posZ, $var16) * 180.0 / 3.141592653589793 - 90.0; $this.$rotationYaw = $var21; $var21 = ($var20 - $var21 + 90.0) * 3.1415927410125732 / 180.0; var$6 = nms_MathHelper_SIN_TABLE.data; $var20 = $var21 * 10430.3779296875; $var21 = -var$6[($var20 | 0) & 65535]; $var14 = $this.$moveForward; $this.$moveStrafing = $var21 * $var14 * 1.0; $this.$moveForward = var$6[($var20 + 16384.0 | 0) & 65535] * $var14 * 1.0; } } if ($var12 > 0.0) $this.$isJumping = 1; } $var5 = $this.$entityToAttack; if ($var5 !== null) nms_EntityLiving_faceEntity($this, $var5, 30.0, 30.0); if ($this.$isCollidedHorizontally && !($this.$pathToEntity === null ? 0 : 1)) $this.$isJumping = 1; $var5 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; if (Long_lo(Long_shru(var$11, 24)) / 1.6777216E7 < 0.800000011920929 && !(!$var3 && !$var4)) $this.$isJumping = 1; return; } } $ptr = 4; continue main; case 3: $this.$attackEntity($var5, $var14); if ($rt_suspending()) { break main; } j: { f: { $var3 = $this.$hasAttacked; if (!$var3) { $var5 = $this.$entityToAttack; if ($var5 !== null) { if ($this.$pathToEntity !== null) { var$3 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); while (true) { var$13 = var$12 % 20 | 0; if (((var$12 - var$13 | 0) + 19 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); } if (var$13) break f; } $this.$pathToEntity = nms_World_getPathEntityToEntity($this.$worldObj, $this, $var5, $var21, 1, 0, 0, 1); break j; } } } if (!$var3) { a: { if ($this.$pathToEntity === null) { $var5 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); while (true) { var$12 = var$5 % 180 | 0; if (((var$5 - var$12 | 0) + 179 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); } if (!var$12) break a; } $var5 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); while (true) { var$12 = var$5 % 120 | 0; if (((var$5 - var$12 | 0) + 119 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); } if (var$12 && $this.$fleeingTick <= 0) break j; } if ($this.$entityAge < 100) nms_EntityCreature_updateWanderPath($this); } } $var6 = $this.$boundingBox.$minY + 0.5; $var22 = $var6 | 0; if ($var6 < $var22) $var22 = $var22 - 1 | 0; $var3 = $this.$isInWater(); $var5 = $this.$worldObj; var$3 = $this.$boundingBox; $var12 = var$3.$minX + 0.10000000149011612; $var16 = var$3.$minY + 0.4000000059604645; $var18 = var$3.$minZ + 0.10000000149011612; $var6 = var$3.$maxX + (-0.10000000149011612); $var8 = var$3.$maxY + (-0.4000000059604645); $var10 = var$3.$maxZ + (-0.10000000149011612); var$21 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$22 = var$21.$nextPoolIndex; var$3 = var$21.$listAABB; var$12 = var$3.$size0; var$5 = $rt_compare(var$22, var$12); if (var$5 >= 0) { var$4 = new nms_AxisAlignedBB; var$4.$minX = $var12; var$4.$minY = $var16; var$4.$minZ = $var18; var$4.$maxX = $var6; var$4.$maxY = $var8; var$4.$maxZ = $var10; ju_ArrayList_ensureCapacity(var$3, var$12 + 1 | 0); var$6 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$6[var$5] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; } else if (var$22 >= 0 && var$5 < 0) { var$4 = var$3.$array.data[var$22]; var$4.$minX = $var12; var$4.$minY = $var16; var$4.$minZ = $var18; var$4.$maxX = $var6; var$4.$maxY = $var8; var$4.$maxZ = $var10; } else { $var5 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var5); $rt_throw($var5); } var$21.$nextPoolIndex = var$21.$nextPoolIndex + 1 | 0; nms_Material_$callClinit(); $var4 = nms_World_isMaterialInBB($var5, var$4, nms_Material_lava); $this.$rotationPitch = 0.0; $var5 = $this.$pathToEntity; if ($var5 !== null) { var$3 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); while (true) { var$12 = var$5 % 100 | 0; if (((var$5 - var$12 | 0) + 99 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$11; var$5 = Long_lo(Long_shru(var$11, 17)); } if (var$12) { $var5 = nms_PathEntity_getVectorFromIndex($var5, $this, $var5.$currentPathIndex); $var6 = $this.$width1 * 2.0; $var10 = $var6 * $var6; while ($var5 !== null) { $var6 = $this.$posX; $var8 = $var5.$yCoord; $var12 = $this.$posZ; $var6 = $var6 - $var5.$xCoord; $var16 = $var8 - $var8; $var8 = $var12 - $var5.$zCoord; if ($var6 * $var6 + $var16 * $var16 + $var8 * $var8 >= $var10) break; $var5 = $this.$pathToEntity; var$5 = $var5.$currentPathIndex + 1 | 0; $var5.$currentPathIndex = var$5; if (!(var$5 < $var5.$pathLength ? 0 : 1)) { $var5 = nms_PathEntity_getVectorFromIndex($var5, $this, var$5); continue; } $var5 = null; $this.$pathToEntity = null; } $this.$isJumping = 0; if ($var5 !== null) { $var8 = $var5.$xCoord - $this.$posX; $var10 = $var5.$zCoord - $this.$posZ; $var12 = $var5.$yCoord - $var22; $var15 = (jl_Math_atan2($var10, $var8) * 180.0 / 3.141592653589793 - 90.0 - $this.$rotationYaw) % 360.0; if ($var15 >= 180.0) $var15 = $var15 - 360.0; if ($var15 < (-180.0)) $var15 = $var15 + 360.0; var$3 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $this.$attributeMap.$attributes; if (var$3 === null) { $var5 = var$4.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { k: { $var5 = var$3.$field_111115_a; if (!$var5.$hashCode1) { var$22 = 0; while (true) { if (var$22 >= $var5.$nativeString.length) break k; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt(var$22) | 0; var$22 = var$22 + 1 | 0; } } } var$22 = $var5.$hashCode1; var$6 = var$4.$elementData.data; $var5 = var$6[var$22 & (var$6.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$22) { var$4 = $var5.$key; if (var$3 !== var$4 && !jl_Object_equals(var$3, var$4) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; if ($var5.$field_111133_g) { $var5.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var5); $var5.$field_111133_g = 0; } $this.$moveForward = $var5.$field_111139_h; if ($var15 > 30.0) $var15 = 30.0; if ($var15 < (-30.0)) $var15 = (-30.0); $var20 = $this.$rotationYaw + $var15; $this.$rotationYaw = $var20; if ($this.$hasAttacked) { $var5 = $this.$entityToAttack; if ($var5 !== null) { $var16 = $var5.$posX - $this.$posX; $var21 = jl_Math_atan2($var5.$posZ - $this.$posZ, $var16) * 180.0 / 3.141592653589793 - 90.0; $this.$rotationYaw = $var21; $var21 = ($var20 - $var21 + 90.0) * 3.1415927410125732 / 180.0; var$6 = nms_MathHelper_SIN_TABLE.data; $var20 = $var21 * 10430.3779296875; $var21 = -var$6[($var20 | 0) & 65535]; $var14 = $this.$moveForward; $this.$moveStrafing = $var21 * $var14 * 1.0; $this.$moveForward = var$6[($var20 + 16384.0 | 0) & 65535] * $var14 * 1.0; } } if ($var12 > 0.0) $this.$isJumping = 1; } $var5 = $this.$entityToAttack; if ($var5 !== null) nms_EntityLiving_faceEntity($this, $var5, 30.0, 30.0); if ($this.$isCollidedHorizontally && !($this.$pathToEntity === null ? 0 : 1)) $this.$isJumping = 1; $var5 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$11; if (Long_lo(Long_shru(var$11, 24)) / 1.6777216E7 < 0.800000011920929 && !(!$var3 && !$var4)) $this.$isJumping = 1; return; } } $ptr = 4; case 4: nms_EntityLiving_updateEntityActionState($this); if ($rt_suspending()) { break main; } $this.$pathToEntity = null; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var3, $var5, var$3, var$4, var$5, var$6, $var21, $var14, $var15, $var20, var$11, var$12, var$13, $var6, $var22, $var12, $var16, $var18, $var8, $var10, var$21, var$22, $var4, $ptr); }, nms_EntityCreature_updateWanderPath = $this => { let $var1, $var2, $var3, $var4, $var5, $var6, var$7, var$8, var$9, $var9, $var8, $var7, var$13, var$14, $var10; $var1 = 0; $var2 = (-1); $var3 = (-1); $var4 = (-1); $var5 = (-99999.0); $var6 = 0; while ($var6 < 10) { var$7 = $this.$posX; var$8 = $this.$rand; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; $var9 = Long_lo(Long_shru(var$9, 17)); while (true) { $var8 = $var9 % 13 | 0; if ((($var9 - $var8 | 0) + 12 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; $var9 = Long_lo(Long_shru(var$9, 17)); } var$7 = var$7 + $var8 - 6.0; $var7 = var$7 | 0; if (var$7 < $var7) $var7 = $var7 - 1 | 0; var$7 = $this.$posY; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; $var9 = Long_lo(Long_shru(var$9, 17)); while (true) { $var8 = $var9 % 7 | 0; if ((($var9 - $var8 | 0) + 6 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; $var9 = Long_lo(Long_shru(var$9, 17)); } var$13 = var$7 + $var8 - 3.0; $var8 = var$13 | 0; if (var$13 < $var8) $var8 = $var8 - 1 | 0; var$7 = $this.$posZ; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$14 = Long_lo(Long_shru(var$9, 17)); while (true) { $var9 = var$14 % 13 | 0; if (((var$14 - $var9 | 0) + 12 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$14 = Long_lo(Long_shru(var$9, 17)); } var$13 = var$7 + $var9 - 6.0; $var9 = var$13 | 0; if (var$13 < $var9) $var9 = $var9 - 1 | 0; $var10 = $this.$getBlockPathWeight($var7, $var8, $var9); if ($var10 > $var5) { $var1 = 1; $var5 = $var10; $var2 = $var7; $var3 = $var8; $var4 = $var9; } $var6 = $var6 + 1 | 0; } if ($var1) $this.$pathToEntity = nms_World_getEntityPathToXYZ($this.$worldObj, $this, $var2, $var3, $var4, 10.0, 1, 0, 0, 1); }, nms_EntityCreature_attackEntity = ($this, $par1Entity, $par2) => { return; }, nms_EntityCreature_getBlockPathWeight = ($this, $par1, $par2, $par3) => { return 0.0; }, nms_EntityCreature_findPlayerToAttack = $this => { return null; }, nms_EntityCreature_getCanSpawnHere = $this => { let var$1, $var1, $var2, $var3, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$posX; $var1 = var$1 | 0; if (var$1 < $var1) $var1 = $var1 - 1 | 0; var$1 = $this.$boundingBox.$minY; $var2 = var$1 | 0; if (var$1 < $var2) $var2 = $var2 - 1 | 0; var$1 = $this.$posZ; $var3 = var$1 | 0; if (var$1 < $var3) $var3 = $var3 - 1 | 0; $ptr = 1; case 1: $tmp = nms_EntityLiving_getCanSpawnHere($this); if ($rt_suspending()) { break main; } var$5 = $tmp; return var$5 && $this.$getBlockPathWeight($var1, $var2, $var3) >= 0.0 ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, $var2, $var3, var$5, $ptr); }, nms_EntityCreature_hasPath = $this => { return $this.$pathToEntity === null ? 0 : 1; }, nms_EntityCreature_getEntityToAttack = $this => { return $this.$entityToAttack; }, nms_EntityCreature_func_110173_bK = $this => { let var$1, var$2, var$3, var$4; var$1 = $this.$posX; var$2 = var$1 | 0; if (var$1 < var$2) var$2 = var$2 - 1 | 0; var$1 = $this.$posY; var$3 = var$1 | 0; if (var$1 < var$3) var$3 = var$3 - 1 | 0; var$1 = $this.$posZ; var$4 = var$1 | 0; if (var$1 < var$4) var$4 = var$4 - 1 | 0; return nms_EntityCreature_func_110176_b($this, var$2, var$3, var$4); }, nms_EntityCreature_func_110176_b = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8; var$4 = $this.$maximumHomeDistance; if (var$4 === (-1.0)) $par1 = 1; else { var$5 = $this.$homePosition; var$6 = var$5.$posX0 - $par1 | 0; var$7 = var$5.$posY0 - $par2 | 0; var$8 = var$5.$posZ0 - $par3 | 0; $par1 = var$6 * var$6 + var$7 * var$7 + var$8 * var$8 >= var$4 * var$4 ? 0 : 1; } return $par1; }, nms_EntityCreature_setHomeArea = ($this, $par1, $par2, $par3, $par4) => { let var$5; var$5 = $this.$homePosition; var$5.$posX0 = $par1; var$5.$posY0 = $par2; var$5.$posZ0 = $par3; $this.$maximumHomeDistance = $par4; }, nms_EntityCreature_getHomePosition = $this => { return $this.$homePosition; }, nms_EntityCreature_func_110174_bM = $this => { return $this.$maximumHomeDistance; }, nms_EntityCreature_detachHome = $this => { $this.$maximumHomeDistance = (-1.0); }, nms_EntityCreature_hasHome = $this => { return $this.$maximumHomeDistance === (-1.0) ? 0 : 1; }, nms_EntityCreature_func_110159_bB = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var3, $var7, $var5, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var5 = $thread.pop();$var7 = $thread.pop();$var3 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$field_110170_bx !== null) { $ptr = 1; continue main; } a: { if ($this.$isLeashed) { var$1 = $this.$leashedToEntity; if (var$1 === null) break a; if (var$1.$isDead) break a; } b: { c: { var$2 = $this.$isLeashed; if (var$2) { var$3 = $this.$leashedToEntity; if (var$3 !== null && var$3.$worldObj === $this.$worldObj) break c; } if (var$2) break b; if (!$this.$field_110180_bt) break b; $this.$field_110180_bt = 0; var$1 = $this.$tasks0; var$4 = $this.$field_110178_bs; var$5 = var$1.$taskEntries; var$6 = new ju_AbstractList$1; var$6.$this$00 = var$5; var$6.$modCount1 = var$5.$modCount; var$6.$size3 = var$5.$size(); var$6.$removeIndex = (-1); var$7 = 0; while (true) { var$2 = var$6.$index0; if (!(var$2 >= var$6.$size3 ? 0 : 1)) break; var$8 = var$6.$modCount1; var$5 = var$6.$this$00; if (var$8 < var$5.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$6.$removeIndex = var$2; var$6.$index0 = var$2 + 1 | 0; var$5 = var$5.$get(var$2); var$3 = var$5.$action; if (var$3 === var$4) { var$9 = var$1.$executingTaskEntries; var$10 = var$9.$modCount; var$11 = var$9.$size(); var$12 = var$7; d: { while (true) { if (!(var$12 >= var$11 ? 0 : 1)) { var$2 = 0; break d; } if (var$10 < var$9.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$8 = var$12 + 1 | 0; var$13 = var$9.$get(var$12); if (var$13 === var$5 ? 1 : var$13 !== null ? var$13.$equals(var$5) : var$5 !== null ? 0 : 1) break; var$12 = var$8; } var$2 = 1; } if (var$2) { $ptr = 5; continue main; } ju_AbstractList$1_remove(var$6); } } $this.$navigator.$avoidsWater = 1; $this.$maximumHomeDistance = (-1.0); break b; } $var3 = var$3.$posX; var$2 = $var3 | 0; $var7 = var$3.$posY; var$8 = $var7 | 0; $var5 = var$3.$posZ; var$10 = $var5 | 0; var$1 = $this.$homePosition; var$1.$posX0 = var$2; var$1.$posY0 = var$8; var$1.$posZ0 = var$10; $this.$maximumHomeDistance = 5.0; var$17 = $this.$posX - $var3; var$18 = $this.$posY - $var7; var$19 = $this.$posZ - $var5; var$18 = jl_Math_sqrt(var$17 * var$17 + var$18 * var$18 + var$19 * var$19); if ($this instanceof nms_EntityTameable && nms_EntityTameable_isSitting($this)) { if (var$18 <= 10.0) return; var$2 = 1; var$8 = 1; $ptr = 3; continue main; } if (!$this.$field_110180_bt) { var$1 = $this.$tasks0; var$4 = $this.$field_110178_bs; var$6 = var$1.$taskEntries; var$5 = new nms_EntityAITaskEntry; var$5.$tasks = var$1; var$5.$priority = 2; var$5.$action = var$4; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$20 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$20[var$8] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$navigator.$avoidsWater = 0; $this.$field_110180_bt = 1; } $this.$func_142017_o(var$18); if (var$18 > 4.0) { e: { f: { var$6 = $this.$navigator; var$1 = var$6.$theEntity; if (!var$1.$onGround) { if (!var$6.$canSwim) break f; if (!(!var$1.$isInWater() && !var$6.$theEntity.$handleLavaMovement() ? 0 : 1)) break f; } var$2 = 1; break e; } var$2 = 0; } if (!var$2) var$1 = null; else { var$1 = var$6.$worldObj3; var$4 = var$6.$theEntity; var$5 = var$6.$pathSearchRange; if (var$5.$field_111133_g) { var$5.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$5); var$5.$field_111133_g = 0; } var$1 = nms_World_getPathEntityToEntity(var$1, var$4, var$3, var$5.$field_111139_h, var$6.$canPassOpenWoodenDoors, var$6.$canPassClosedWoodenDoors, var$6.$avoidsWater, var$6.$canSwim); } if (var$1 !== null) nms_PathNavigate_setPath(var$6, var$1, 1.0); } if (var$18 > 6.0) { $var3 = var$3.$posX - $this.$posX; $var7 = var$18; $var3 = $var3 / $var7; $var5 = (var$3.$posY - $this.$posY) / $var7; $var7 = (var$3.$posZ - $this.$posZ) / $var7; $this.$motionX = $this.$motionX + $var3 * jl_Math_absImpl($var3) * 0.4; $this.$motionY = $this.$motionY + $var5 * jl_Math_absImpl($var5) * 0.4; $this.$motionZ = $this.$motionZ + $var7 * jl_Math_absImpl($var7) * 0.4; } if (var$18 > 10.0) { var$2 = 1; var$8 = 1; $ptr = 4; continue main; } } return; } var$2 = 1; var$8 = 1; $ptr = 2; continue main; case 1: nms_EntityLiving_recreateLeash($this); if ($rt_suspending()) { break main; } g: { if ($this.$isLeashed) { var$1 = $this.$leashedToEntity; if (var$1 === null) break g; if (var$1.$isDead) break g; } h: { b: { var$2 = $this.$isLeashed; if (var$2) { var$3 = $this.$leashedToEntity; if (var$3 !== null && var$3.$worldObj === $this.$worldObj) break b; } if (var$2) break h; if (!$this.$field_110180_bt) break h; $this.$field_110180_bt = 0; var$1 = $this.$tasks0; var$4 = $this.$field_110178_bs; var$5 = var$1.$taskEntries; var$6 = new ju_AbstractList$1; var$6.$this$00 = var$5; var$6.$modCount1 = var$5.$modCount; var$6.$size3 = var$5.$size(); var$6.$removeIndex = (-1); var$7 = 0; while (true) { var$2 = var$6.$index0; if (!(var$2 >= var$6.$size3 ? 0 : 1)) break; var$8 = var$6.$modCount1; var$5 = var$6.$this$00; if (var$8 < var$5.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$6.$removeIndex = var$2; var$6.$index0 = var$2 + 1 | 0; var$5 = var$5.$get(var$2); var$3 = var$5.$action; if (var$3 === var$4) { var$9 = var$1.$executingTaskEntries; var$10 = var$9.$modCount; var$11 = var$9.$size(); var$12 = var$7; i: { while (true) { if (!(var$12 >= var$11 ? 0 : 1)) { var$2 = 0; break i; } if (var$10 < var$9.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$8 = var$12 + 1 | 0; var$13 = var$9.$get(var$12); if (var$13 === var$5 ? 1 : var$13 !== null ? var$13.$equals(var$5) : var$5 !== null ? 0 : 1) break; var$12 = var$8; } var$2 = 1; } if (var$2) { $ptr = 5; continue main; } ju_AbstractList$1_remove(var$6); } } $this.$navigator.$avoidsWater = 1; $this.$maximumHomeDistance = (-1.0); break h; } $var3 = var$3.$posX; var$2 = $var3 | 0; $var7 = var$3.$posY; var$8 = $var7 | 0; $var5 = var$3.$posZ; var$10 = $var5 | 0; var$1 = $this.$homePosition; var$1.$posX0 = var$2; var$1.$posY0 = var$8; var$1.$posZ0 = var$10; $this.$maximumHomeDistance = 5.0; var$17 = $this.$posX - $var3; var$18 = $this.$posY - $var7; var$19 = $this.$posZ - $var5; var$18 = jl_Math_sqrt(var$17 * var$17 + var$18 * var$18 + var$19 * var$19); if ($this instanceof nms_EntityTameable && nms_EntityTameable_isSitting($this)) { if (var$18 <= 10.0) return; var$2 = 1; var$8 = 1; $ptr = 3; continue main; } if (!$this.$field_110180_bt) { var$1 = $this.$tasks0; var$4 = $this.$field_110178_bs; var$6 = var$1.$taskEntries; var$5 = new nms_EntityAITaskEntry; var$5.$tasks = var$1; var$5.$priority = 2; var$5.$action = var$4; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$20 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$20[var$8] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$navigator.$avoidsWater = 0; $this.$field_110180_bt = 1; } $this.$func_142017_o(var$18); if (var$18 > 4.0) { j: { e: { var$6 = $this.$navigator; var$1 = var$6.$theEntity; if (!var$1.$onGround) { if (!var$6.$canSwim) break e; if (!(!var$1.$isInWater() && !var$6.$theEntity.$handleLavaMovement() ? 0 : 1)) break e; } var$2 = 1; break j; } var$2 = 0; } if (!var$2) var$1 = null; else { var$1 = var$6.$worldObj3; var$4 = var$6.$theEntity; var$5 = var$6.$pathSearchRange; if (var$5.$field_111133_g) { var$5.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$5); var$5.$field_111133_g = 0; } var$1 = nms_World_getPathEntityToEntity(var$1, var$4, var$3, var$5.$field_111139_h, var$6.$canPassOpenWoodenDoors, var$6.$canPassClosedWoodenDoors, var$6.$avoidsWater, var$6.$canSwim); } if (var$1 !== null) nms_PathNavigate_setPath(var$6, var$1, 1.0); } if (var$18 > 6.0) { $var3 = var$3.$posX - $this.$posX; $var7 = var$18; $var3 = $var3 / $var7; $var5 = (var$3.$posY - $this.$posY) / $var7; $var7 = (var$3.$posZ - $this.$posZ) / $var7; $this.$motionX = $this.$motionX + $var3 * jl_Math_absImpl($var3) * 0.4; $this.$motionY = $this.$motionY + $var5 * jl_Math_absImpl($var5) * 0.4; $this.$motionZ = $this.$motionZ + $var7 * jl_Math_absImpl($var7) * 0.4; } if (var$18 > 10.0) { var$2 = 1; var$8 = 1; $ptr = 4; continue main; } } return; } var$2 = 1; var$8 = 1; $ptr = 2; case 2: nms_EntityLiving_clearLeashed($this, var$2, var$8); if ($rt_suspending()) { break main; } a: { k: { var$2 = $this.$isLeashed; if (var$2) { var$3 = $this.$leashedToEntity; if (var$3 !== null && var$3.$worldObj === $this.$worldObj) break k; } if (var$2) break a; if (!$this.$field_110180_bt) break a; $this.$field_110180_bt = 0; var$1 = $this.$tasks0; var$4 = $this.$field_110178_bs; var$5 = var$1.$taskEntries; var$6 = new ju_AbstractList$1; var$6.$this$00 = var$5; var$6.$modCount1 = var$5.$modCount; var$6.$size3 = var$5.$size(); var$6.$removeIndex = (-1); var$7 = 0; while (true) { var$2 = var$6.$index0; if (!(var$2 >= var$6.$size3 ? 0 : 1)) break; var$8 = var$6.$modCount1; var$5 = var$6.$this$00; if (var$8 < var$5.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$6.$removeIndex = var$2; var$6.$index0 = var$2 + 1 | 0; var$5 = var$5.$get(var$2); var$3 = var$5.$action; if (var$3 === var$4) { var$9 = var$1.$executingTaskEntries; var$10 = var$9.$modCount; var$11 = var$9.$size(); var$12 = var$7; l: { while (true) { if (!(var$12 >= var$11 ? 0 : 1)) { var$2 = 0; break l; } if (var$10 < var$9.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$8 = var$12 + 1 | 0; var$13 = var$9.$get(var$12); if (var$13 === var$5 ? 1 : var$13 !== null ? var$13.$equals(var$5) : var$5 !== null ? 0 : 1) break; var$12 = var$8; } var$2 = 1; } if (var$2) { $ptr = 5; continue main; } ju_AbstractList$1_remove(var$6); } } $this.$navigator.$avoidsWater = 1; $this.$maximumHomeDistance = (-1.0); break a; } $var3 = var$3.$posX; var$2 = $var3 | 0; $var7 = var$3.$posY; var$8 = $var7 | 0; $var5 = var$3.$posZ; var$10 = $var5 | 0; var$1 = $this.$homePosition; var$1.$posX0 = var$2; var$1.$posY0 = var$8; var$1.$posZ0 = var$10; $this.$maximumHomeDistance = 5.0; var$17 = $this.$posX - $var3; var$18 = $this.$posY - $var7; var$19 = $this.$posZ - $var5; var$18 = jl_Math_sqrt(var$17 * var$17 + var$18 * var$18 + var$19 * var$19); if ($this instanceof nms_EntityTameable && nms_EntityTameable_isSitting($this)) { if (var$18 <= 10.0) return; var$2 = 1; var$8 = 1; $ptr = 3; continue main; } if (!$this.$field_110180_bt) { var$1 = $this.$tasks0; var$4 = $this.$field_110178_bs; var$6 = var$1.$taskEntries; var$5 = new nms_EntityAITaskEntry; var$5.$tasks = var$1; var$5.$priority = 2; var$5.$action = var$4; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$20 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$20[var$8] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$navigator.$avoidsWater = 0; $this.$field_110180_bt = 1; } $this.$func_142017_o(var$18); if (var$18 > 4.0) { m: { n: { var$6 = $this.$navigator; var$1 = var$6.$theEntity; if (!var$1.$onGround) { if (!var$6.$canSwim) break n; if (!(!var$1.$isInWater() && !var$6.$theEntity.$handleLavaMovement() ? 0 : 1)) break n; } var$2 = 1; break m; } var$2 = 0; } if (!var$2) var$1 = null; else { var$1 = var$6.$worldObj3; var$4 = var$6.$theEntity; var$5 = var$6.$pathSearchRange; if (var$5.$field_111133_g) { var$5.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$5); var$5.$field_111133_g = 0; } var$1 = nms_World_getPathEntityToEntity(var$1, var$4, var$3, var$5.$field_111139_h, var$6.$canPassOpenWoodenDoors, var$6.$canPassClosedWoodenDoors, var$6.$avoidsWater, var$6.$canSwim); } if (var$1 !== null) nms_PathNavigate_setPath(var$6, var$1, 1.0); } if (var$18 > 6.0) { $var3 = var$3.$posX - $this.$posX; $var7 = var$18; $var3 = $var3 / $var7; $var5 = (var$3.$posY - $this.$posY) / $var7; $var7 = (var$3.$posZ - $this.$posZ) / $var7; $this.$motionX = $this.$motionX + $var3 * jl_Math_absImpl($var3) * 0.4; $this.$motionY = $this.$motionY + $var5 * jl_Math_absImpl($var5) * 0.4; $this.$motionZ = $this.$motionZ + $var7 * jl_Math_absImpl($var7) * 0.4; } if (var$18 > 10.0) { var$2 = 1; var$8 = 1; $ptr = 4; continue main; } } return; case 3: nms_EntityLiving_clearLeashed($this, var$2, var$8); if ($rt_suspending()) { break main; } return; case 4: nms_EntityLiving_clearLeashed($this, var$2, var$8); if ($rt_suspending()) { break main; } return; case 5: var$3.$resetTask(); if ($rt_suspending()) { break main; } var$3 = var$1.$executingTaskEntries; var$10 = var$3.$size0; var$2 = 0; g: { while (true) { var$8 = $rt_compare(var$2, var$10); if (var$8 >= 0) { var$2 = (-1); break g; } if (var$2 < 0) break; if (var$8 >= 0) break; var$9 = var$3.$array.data[var$2]; if (var$5 === var$9 ? 1 : var$5 === null ? (var$9 !== null ? 0 : 1) : var$5 !== var$9 ? 0 : 1) break g; var$2 = var$2 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } if (var$2 >= 0) ju_ArrayList_remove(var$3, var$2); o: while (true) { ju_AbstractList$1_remove(var$6); while (true) { var$2 = var$6.$index0; if (!(var$2 >= var$6.$size3 ? 0 : 1)) break o; var$8 = var$6.$modCount1; var$5 = var$6.$this$00; if (var$8 < var$5.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$6.$removeIndex = var$2; var$6.$index0 = var$2 + 1 | 0; var$5 = var$5.$get(var$2); var$3 = var$5.$action; if (var$3 !== var$4) continue; else break; } var$9 = var$1.$executingTaskEntries; var$10 = var$9.$modCount; var$11 = var$9.$size(); var$12 = var$7; p: { while (true) { if (!(var$12 >= var$11 ? 0 : 1)) { var$2 = 0; break p; } if (var$10 < var$9.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$8 = var$12 + 1 | 0; var$13 = var$9.$get(var$12); if (var$13 === var$5 ? 1 : var$13 !== null ? var$13.$equals(var$5) : var$5 !== null ? 0 : 1) break; var$12 = var$8; } var$2 = 1; } if (!var$2) continue; else { continue main; } } $this.$navigator.$avoidsWater = 1; $this.$maximumHomeDistance = (-1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var3, $var7, $var5, var$17, var$18, var$19, var$20, $ptr); }, nms_EntityCreature_func_142017_o = ($this, $par1) => { return; }, nms_EntityCreature__clinit_ = () => { let var$1, var$2, var$3; var$1 = nle_ProfileUUID_fromString($rt_s(1856)); nms_EntityCreature_field_110179_h = var$1; var$2 = new nms_AttributeModifier; var$2.$isSaved = 1; var$2.$id2 = var$1; var$2.$name3 = $rt_s(1857); var$2.$amount = 2.0; var$2.$operation = 2; if ($rt_s(1857) === $rt_s(18)) var$3 = 1; else if (!($rt_s(18) instanceof jl_String)) var$3 = 0; else { var$1 = $rt_s(18); var$3 = $rt_s(1857).$nativeString !== var$1.$nativeString ? 0 : 1; } if (!var$3) { var$2.$isSaved = 0; nms_EntityCreature_field_110181_i = var$2; return; } var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(1292); $rt_throw(var$1); }, nms_IAnimals = $rt_classWithoutFields(0), nms_IMob = $rt_classWithoutFields(0), nms_IMob_mobSelector = null, nms_IMob__clinit_ = () => { nms_IMob_mobSelector = new nms_FilterIMob; }, nms_EntityMob = $rt_classWithoutFields(nms_EntityCreature), nms_EntityMob_onLivingUpdate = $this => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityLivingBase_updateArmSwingProgress($this); if ($this.$getBrightness(1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 1; case 1: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); }, nms_EntityMob_onUpdate = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLivingBase_onUpdate($this); if ($rt_suspending()) { break main; } if ($this.$worldObj.$isRemote) { var$1 = $this.$worldObj; if (!var$1.$isRemote && !var$1.$difficultySetting) $this.$isDead = 1; return; } $ptr = 2; case 2: nms_EntityCreature_func_110159_bB($this); if ($rt_suspending()) { break main; } var$1 = $this.$worldObj; if (!var$1.$isRemote && !var$1.$difficultySetting) $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_EntityMob_findPlayerToAttack = $this => { let $var1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = nms_World_getClosestVulnerablePlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 16.0); if ($var1 === null) { $var1 = null; return $var1; } $ptr = 1; case 1: $tmp = nms_EntityLivingBase_canEntityBeSeen($this, $var1); if ($rt_suspending()) { break main; } var$2 = $tmp; if (!var$2) $var1 = null; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); }, nms_EntityMob_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let var$3, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; $ptr = 1; case 1: $tmp = nms_EntityLivingBase_attackEntityFrom($this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } var$3 = $tmp; if (!var$3) return 0; $var3 = $par1DamageSource.$getEntity(); if ($this.$riddenByEntity !== $var3 && $this.$ridingEntity !== $var3) { if ($var3 !== $this) $this.$entityToAttack = $var3; return 1; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, var$3, $var3, $ptr); }, nms_EntityMob_attackEntityAsMob = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5, $var4, var$7, $var2, $var3, var$10, var$11, var$12, var$13, var$14, $var5, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var5 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = nms_SharedMonsterAttributes_attackDamage; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$4 = var$3.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } $var4 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$4 = var$7[$var4 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var4) { var$3 = var$4.$key; if (var$2 !== var$3 && !jl_Object_equals(var$2, var$3) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$2 = var$4 === null ? null : var$4.$value1; if (var$2.$field_111133_g) { var$2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$2); var$2.$field_111133_g = 0; } $var2 = var$2.$field_111139_h; $var3 = 0; var$5 = $par1Entity instanceof nms_EntityLivingBase; if (var$5) { var$2 = $par1Entity; nms_EnchantmentHelper_$callClinit(); var$4 = nms_EnchantmentHelper_enchantmentModifierLiving; var$4.$livingModifier = 0.0; var$4.$entityLiving = var$2; nms_EnchantmentHelper_applyEnchantmentModifier(var$4, $this.$equipment.data[0]); $var2 = $var2 + nms_EnchantmentHelper_enchantmentModifierLiving.$livingModifier; nms_Enchantment_$callClinit(); $var3 = $var3 + nms_EnchantmentHelper_getEnchantmentLevel(nms_Enchantment_knockback.$effectId, $this.$equipment.data[0]) | 0; } var$2 = new nms_EntityDamageSource; var$2.$hungerDamage = 0.30000001192092896; var$2.$damageType = $rt_s(1858); var$2.$damageSourceEntity = $this; $ptr = 1; case 1: $tmp = $par1Entity.$attackEntityFrom(var$2, $var2); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) { if ($var3 > 0) { $var2 = $this.$rotationYaw * 3.1415927410125732 / 180.0; var$7 = nms_MathHelper_SIN_TABLE.data; var$10 = $var2 * 10430.3779296875; var$11 = -var$7[(var$10 | 0) & 65535]; $var2 = $var3; var$12 = var$11 * $var2 * 0.5; var$13 = 0.1; var$14 = var$7[(var$10 + 16384.0 | 0) & 65535] * $var2 * 0.5; $ptr = 2; continue main; } nms_EnchantmentHelper_$callClinit(); nms_Enchantment_$callClinit(); $var5 = nms_EnchantmentHelper_getEnchantmentLevel(nms_Enchantment_fireAspect.$effectId, $this.$equipment.data[0]); if ($var5 > 0) { $var3 = ($var5 * 4 | 0) * 20 | 0; $var5 = nms_Enchantment_fireProtection.$effectId; var$7 = $par1Entity.$getLastActiveItems(); if (var$7 === null) var$16 = 0; else { var$7 = var$7.data; var$16 = 0; var$17 = var$7.length; var$18 = 0; while (var$18 < var$17) { var$19 = nms_EnchantmentHelper_getEnchantmentLevel($var5, var$7[var$18]); if (var$19 > var$16) var$16 = var$19; var$18 = var$18 + 1 | 0; } } if (var$16 > 0) { $var2 = $var3 * var$16 * 0.15000000596046448; $var5 = $var2 | 0; if ($var2 < $var5) $var5 = $var5 - 1 | 0; $var3 = $var3 - $var5 | 0; } if ($par1Entity.$fire < $var3) $par1Entity.$fire = $var3; } if (var$5) { $par1Entity = $par1Entity; var$2 = $this.$rand; $ptr = 3; continue main; } } return $var4; case 2: $par1Entity.$addVelocity(var$12, var$13, var$14); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.6; $this.$motionZ = $this.$motionZ * 0.6; nms_EnchantmentHelper_$callClinit(); nms_Enchantment_$callClinit(); $var5 = nms_EnchantmentHelper_getEnchantmentLevel(nms_Enchantment_fireAspect.$effectId, $this.$equipment.data[0]); if ($var5 > 0) { $var3 = ($var5 * 4 | 0) * 20 | 0; $var5 = nms_Enchantment_fireProtection.$effectId; var$7 = $par1Entity.$getLastActiveItems(); if (var$7 === null) var$16 = 0; else { var$7 = var$7.data; var$16 = 0; var$17 = var$7.length; var$18 = 0; while (var$18 < var$17) { var$19 = nms_EnchantmentHelper_getEnchantmentLevel($var5, var$7[var$18]); if (var$19 > var$16) var$16 = var$19; var$18 = var$18 + 1 | 0; } } if (var$16 > 0) { $var2 = $var3 * var$16 * 0.15000000596046448; $var5 = $var2 | 0; if ($var2 < $var5) $var5 = $var5 - 1 | 0; $var3 = $var3 - $var5 | 0; } if ($par1Entity.$fire < $var3) $par1Entity.$fire = $var3; } if (!var$5) return $var4; $par1Entity = $par1Entity; var$2 = $this.$rand; $ptr = 3; case 3: nms_EnchantmentThorns_func_92096_a($this, $par1Entity, var$2); if ($rt_suspending()) { break main; } return $var4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, var$2, var$3, var$4, var$5, $var4, var$7, $var2, $var3, var$10, var$11, var$12, var$13, var$14, $var5, var$16, var$17, var$18, var$19, $ptr); }, nms_EntityMob_attackEntity = ($this, $par1Entity, $par2) => { let var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$attackTime <= 0 && $par2 < 2.0) { var$3 = $par1Entity.$boundingBox; var$4 = var$3.$maxY; var$5 = $this.$boundingBox; if (var$4 > var$5.$minY && var$3.$minY < var$5.$maxY) { $this.$attackTime = 20; $ptr = 1; continue main; } } return; case 1: $this.$attackEntityAsMob($par1Entity); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, var$3, var$4, var$5, $ptr); }, nms_EntityMob_getBlockPathWeight = ($this, $par1, $par2, $par3) => { let var$4; var$4 = $this.$worldObj; return 0.5 - var$4.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do(var$4, $par1, $par2, $par3, 1)]; }, nms_EntityMob_isValidLightLevel = $this => { let var$1, $var1, $var2, $var3, $var4, var$6, var$7, var$8, var$9, $var5; var$1 = $this.$posX; $var1 = var$1 | 0; if (var$1 < $var1) $var1 = $var1 - 1 | 0; var$1 = $this.$boundingBox.$minY; $var2 = var$1 | 0; if (var$1 < $var2) $var2 = $var2 - 1 | 0; var$1 = $this.$posZ; $var3 = var$1 | 0; if (var$1 < $var3) $var3 = $var3 - 1 | 0; $var4 = nms_World_getSavedLightValue($this.$worldObj, nms_EnumSkyBlock_Sky, $var1, $var2, $var3); var$6 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; if ($var4 > Long_lo(Long_shr(Long_mul(Long_fromInt(32), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31))) return 0; $var4 = nms_World_getBlockLightValue_do($this.$worldObj, $var1, $var2, $var3, 1); var$6 = $this.$worldObj; var$8 = var$6.$prevThunderingStrength; var$8 = var$8 + (var$6.$thunderingStrength - var$8) * 1.0; var$9 = var$6.$prevRainingStrength; if (var$8 * (var$9 + (var$6.$rainingStrength - var$9) * 1.0) <= 0.9 ? 0 : 1) { $var5 = var$6.$skylightSubtracted; var$6.$skylightSubtracted = 10; $var4 = nms_World_getBlockLightValue_do(var$6, $var1, $var2, $var3, 1); $this.$worldObj.$skylightSubtracted = $var5; } var$6 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; return $var4 > Long_lo(Long_shr(Long_mul(Long_fromInt(8), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31)) ? 0 : 1; }, nms_EntityMob_getCanSpawnHere = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$worldObj.$difficultySetting > 0 && $this.$isValidLightLevel()) { $ptr = 1; continue main; } return 0; case 1: $tmp = nms_EntityCreature_getCanSpawnHere($this); if ($rt_suspending()) { break main; } var$1 = $tmp; return !var$1 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_EntitySpider = $rt_classWithoutFields(nms_EntityMob), nms_EntitySpider_entityInit = $this => { let var$1, var$2; nms_EntityLiving_entityInit($this); var$1 = $this.$dataWatcher; var$2 = new jl_Byte; var$2.$value2 = 0; nms_DataWatcher_addObject(var$1, 16, var$2); }, nms_EntitySpider_onUpdate = $this => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLivingBase_onUpdate($this); if ($rt_suspending()) { break main; } if ($this.$worldObj.$isRemote) { var$1 = $this.$worldObj; var$2 = var$1.$isRemote; if (!var$2 && !var$1.$difficultySetting) $this.$isDead = 1; if (!var$2) nms_EntitySpider_setBesideClimbableBlock($this, $this.$isCollidedHorizontally); return; } $ptr = 2; case 2: nms_EntityCreature_func_110159_bB($this); if ($rt_suspending()) { break main; } var$1 = $this.$worldObj; var$2 = var$1.$isRemote; if (!var$2 && !var$1.$difficultySetting) $this.$isDead = 1; if (!var$2) nms_EntitySpider_setBesideClimbableBlock($this, $this.$isCollidedHorizontally); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); }, nms_EntitySpider_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; nms_EntityLiving_applyEntityAttributes($this); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_attackDamage); var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (16.0 !== var$3.$baseValue) { var$3.$baseValue = 16.0; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break b; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.800000011920929 !== var$1.$baseValue) { var$1.$baseValue = 0.800000011920929; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntitySpider_findPlayerToAttack = $this => { if (nms_Entity_getBrightness($this, 1.0) >= 0.5) return null; return nms_World_getClosestVulnerablePlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 16.0); }, nms_EntitySpider_getLivingSound = $this => { return $rt_s(580); }, nms_EntitySpider_getHurtSound = $this => { return $rt_s(580); }, nms_EntitySpider_getDeathSound = $this => { return $rt_s(1859); }, nms_EntitySpider_playStepSound = ($this, $par1, $par2, $par3, $par4) => { nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1860), 0.15000000596046448, 1.0); }, nms_EntitySpider_attackEntity = ($this, $par1Entity, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, $var4, $var6, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { b: { if (nms_Entity_getBrightness($this, 1.0) > 0.5) { var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); while (true) { var$6 = var$5 % 100 | 0; if (((var$5 - var$6 | 0) + 99 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } if (!var$6) { $this.$entityToAttack = null; break b; } } if ($par2 <= 2.0) break a; if ($par2 >= 6.0) break a; var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$7 = Long_lo(Long_shru(var$4, 17)); while (true) { var$8 = var$7 % 10 | 0; if (((var$7 - var$8 | 0) + 9 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$7 = Long_lo(Long_shru(var$4, 17)); } if (var$8) break a; if ($this.$onGround) { $var4 = $par1Entity.$posX - $this.$posX; $var6 = $par1Entity.$posZ - $this.$posZ; var$11 = jl_Math_sqrt($var4 * $var4 + $var6 * $var6); $this.$motionX = $var4 / var$11 * 0.5 * 0.800000011920929 + $this.$motionX * 0.20000000298023224; $this.$motionZ = $var6 / var$11 * 0.5 * 0.800000011920929 + $this.$motionZ * 0.20000000298023224; $this.$motionY = 0.4000000059604645; } } return; } $ptr = 1; case 1: nms_EntityMob_attackEntity($this, $par1Entity, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, var$3, var$4, var$5, var$6, var$7, var$8, $var4, $var6, var$11, $ptr); }, nms_EntitySpider_getDropItemId = $this => { nms_Item_$callClinit(); return nms_Item_silk.$itemID0; }, nms_EntitySpider_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_EntityLiving_dropFewItems($this, $par1, $par2); if ($rt_suspending()) { break main; } if ($par1) { var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); while (true) { var$6 = var$5 % 3 | 0; if (((var$5 - var$6 | 0) + 2 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } if (!var$6) break a; $par1 = 1 + $par2 | 0; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); $par2 = $par1 - 1 | 0; if (!($par1 & $par2)) var$7 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt(var$5)), 31)); else while (true) { var$7 = var$5 % $par1 | 0; if (((var$5 - var$7 | 0) + $par2 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } if (var$7 > 0) break a; } return; } nms_Item_$callClinit(); $par1 = nms_Item_spiderEye.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par1; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$8 = new nms_EntityItem; var$9 = $this.$worldObj; var$10 = $this.$posX; var$11 = $this.$posY + 0.0; var$12 = $this.$posZ; $ptr = 2; case 2: nms_EntityItem__init_(var$8, var$9, var$10, var$11, var$12); if ($rt_suspending()) { break main; } var$13 = var$8.$dataWatcher; var$9 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = ju_HashMap_entryByKey(var$9, jl_Integer_integerCache.data[138]); var$14 = var$9 === null ? null : var$9.$value1; if (!(var$3 !== var$14.$watchedObject ? 0 : 1)) { var$14.$watchedObject = var$3; var$14.$watched = 1; var$13.$objectChanged = 1; } var$14 = var$8.$dataWatcher; var$3 = var$14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[138]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$14.$objectChanged = 1; var$8.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$8); var$9 = var$3.$entityList; ju_HashMap_putImpl(var$9.$backingMap, var$8, var$9); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$8, var$3); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_EntitySpider_isOnLadder = $this => { return nms_EntitySpider_isBesideClimbableBlock($this); }, nms_EntitySpider_setInWeb = $this => { return; }; let nms_EntitySpider_getCreatureAttribute = $this => { return nms_EnumCreatureAttribute_ARTHROPOD; }, nms_EntitySpider_isPotionApplicable = ($this, $par1PotionEffect) => { let var$2, var$3; var$2 = $par1PotionEffect.$potionID; nms_Potion_$callClinit(); var$3 = $rt_compare(var$2, nms_Potion_poison.$id1); if (!var$3) var$3 = 0; else a: { b: { if (nms_EnumCreatureAttribute_ARTHROPOD === nms_EnumCreatureAttribute_UNDEAD) { if (var$2 == nms_Potion_regeneration.$id1) break b; if (!var$3) break b; } var$3 = 1; break a; } var$3 = 0; } return var$3; }, nms_EntitySpider_isBesideClimbableBlock = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return !(var$1.$watchedObject.$value2 & 1) ? 0 : 1; }, nms_EntitySpider_setBesideClimbableBlock = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; $par1 = !$par1 ? (var$7 & (-2)) << 24 >> 24 : (var$7 | 1) << 24 >> 24; var$2 = $this.$dataWatcher; var$8 = jl_Byte_byteCache.data[$par1 + 128 | 0]; var$6 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$10 = var$9.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$10) { var$3 = var$6.$key; if (var$9 !== var$3 && !(var$9 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$3 = var$6 === null ? null : var$6.$value1; var$6 = var$3.$watchedObject; if (!(var$6 instanceof jl_Byte && var$6.$value2 == var$8.$value2 ? 1 : 0)) { var$3.$watchedObject = var$8; var$3.$watched = 1; var$2.$objectChanged = 1; } }, nms_EntitySpider_onSpawnWithEgg = ($this, $par1EntityLivingData) => { let $par1EntityLivingData1, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $var4, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var4 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();$par1EntityLivingData1 = $thread.pop();$par1EntityLivingData = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_EntityLiving_onSpawnWithEgg($this, $par1EntityLivingData); if ($rt_suspending()) { break main; } $par1EntityLivingData1 = $tmp; $par1EntityLivingData = $this.$worldObj; $var2 = $par1EntityLivingData.$rand0; var$4 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); while (true) { var$6 = var$5 % 100 | 0; if (((var$5 - var$6 | 0) + 99 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } if (var$6) { if ($par1EntityLivingData1 === null) { $par1EntityLivingData1 = new nms_SpiderEffectsGroupData; $par1EntityLivingData = $this.$worldObj; if ($par1EntityLivingData.$difficultySetting > 2) { $var2 = $par1EntityLivingData.$rand0; var$4 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$4; var$7 = Long_lo(Long_shru(var$4, 24)) / 1.6777216E7; var$8 = $this.$posX; var$9 = $this.$posY; var$10 = $this.$posZ; var$5 = var$8 | 0; if (var$8 < var$5) var$5 = var$5 - 1 | 0; var$11 = var$9 | 0; if (var$9 < var$11) var$11 = var$11 - 1 | 0; $var4 = var$10 | 0; if (var$10 < $var4) $var4 = $var4 - 1 | 0; if (var$7 < 0.10000000149011612 * nms_World_getTensionFactorForBlock($par1EntityLivingData, var$5, var$11, $var4)) nms_SpiderEffectsGroupData_func_111104_a($par1EntityLivingData1, $this.$worldObj.$rand0); } } if ($par1EntityLivingData1 instanceof nms_SpiderEffectsGroupData) { $var4 = $par1EntityLivingData1.$field_111105_a; if ($var4 > 0) { nms_Potion_$callClinit(); if (nms_Potion_potionTypes.data[$var4] !== null) { $par1EntityLivingData = new nms_PotionEffect; $par1EntityLivingData.$potionID = $var4; $par1EntityLivingData.$duration = 2147483647; $par1EntityLivingData.$amplifier = 0; $par1EntityLivingData.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($this, $par1EntityLivingData); } } } return $par1EntityLivingData1; } $var2 = new nms_EntitySkeleton; $ptr = 2; case 2: nms_EntitySkeleton__init_($var2, $par1EntityLivingData); if ($rt_suspending()) { break main; } var$8 = $this.$posX; var$9 = $this.$posY; var$10 = $this.$posZ; var$7 = $this.$rotationYaw; $var2.$posX = var$8; $var2.$prevPosX = var$8; $var2.$lastTickPosX = var$8; var$9 = var$9 + $var2.$yOffset; $var2.$posY = var$9; $var2.$prevPosY = var$9; $var2.$lastTickPosY = var$9; $var2.$posZ = var$10; $var2.$prevPosZ = var$10; $var2.$lastTickPosZ = var$10; $var2.$rotationYaw = var$7; $var2.$rotationPitch = 0.0; nms_Entity_setPosition($var2, var$8, var$9, var$10); $par1EntityLivingData = null; $ptr = 3; case 3: nms_EntitySkeleton_onSpawnWithEgg($var2, $par1EntityLivingData); if ($rt_suspending()) { break main; } $par1EntityLivingData = $this.$worldObj; var$13 = nms_World_spawnEntityInWorld($par1EntityLivingData, $var2); var$14 = $par1EntityLivingData.$entityList; ju_HashMap_putImpl(var$14.$backingMap, $var2, var$14); if (!var$13) { $par1EntityLivingData = $par1EntityLivingData.$entitySpawnQueue; ju_HashMap_putImpl($par1EntityLivingData.$backingMap, $var2, $par1EntityLivingData); } $ptr = 4; case 4: nms_Entity_mountEntity($var2, $this); if ($rt_suspending()) { break main; } if ($par1EntityLivingData1 === null) { $par1EntityLivingData1 = new nms_SpiderEffectsGroupData; $par1EntityLivingData = $this.$worldObj; if ($par1EntityLivingData.$difficultySetting > 2) { $var2 = $par1EntityLivingData.$rand0; var$4 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$4; var$7 = Long_lo(Long_shru(var$4, 24)) / 1.6777216E7; var$8 = $this.$posX; var$9 = $this.$posY; var$10 = $this.$posZ; var$5 = var$8 | 0; if (var$8 < var$5) var$5 = var$5 - 1 | 0; var$11 = var$9 | 0; if (var$9 < var$11) var$11 = var$11 - 1 | 0; $var4 = var$10 | 0; if (var$10 < $var4) $var4 = $var4 - 1 | 0; if (var$7 < 0.10000000149011612 * nms_World_getTensionFactorForBlock($par1EntityLivingData, var$5, var$11, $var4)) nms_SpiderEffectsGroupData_func_111104_a($par1EntityLivingData1, $this.$worldObj.$rand0); } } if ($par1EntityLivingData1 instanceof nms_SpiderEffectsGroupData) { $var4 = $par1EntityLivingData1.$field_111105_a; if ($var4 > 0) { nms_Potion_$callClinit(); if (nms_Potion_potionTypes.data[$var4] !== null) { $par1EntityLivingData = new nms_PotionEffect; $par1EntityLivingData.$potionID = $var4; $par1EntityLivingData.$duration = 2147483647; $par1EntityLivingData.$amplifier = 0; $par1EntityLivingData.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($this, $par1EntityLivingData); } } } return $par1EntityLivingData1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingData, $par1EntityLivingData1, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $var4, var$13, var$14, $ptr); }, nms_EntityCaveSpider = $rt_classWithoutFields(nms_EntitySpider), nms_EntityCaveSpider_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; nms_EntitySpider_applyEntityAttributes($this); var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (12.0 !== var$1.$baseValue) { var$1.$baseValue = 12.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityCaveSpider_attackEntityAsMob = ($this, $par1Entity) => { let $var2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_EntityMob_attackEntityAsMob($this, $par1Entity); if ($rt_suspending()) { break main; } $var2 = $tmp; if (!$var2) return 0; if ($par1Entity instanceof nms_EntityLivingBase) { $var2 = 0; var$3 = $this.$worldObj.$difficultySetting; if (var$3 > 1) { if (var$3 == 2) $var2 = 7; else if (var$3 == 3) $var2 = 15; } if ($var2 > 0) { var$4 = $par1Entity; var$5 = new nms_PotionEffect; nms_Potion_$callClinit(); var$6 = nms_Potion_poison.$id1; $var2 = $var2 * 20 | 0; var$5.$potionID = var$6; var$5.$duration = $var2; var$5.$amplifier = 0; var$5.$isAmbient = 0; var$4.$addPotionEffect(var$5); } } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $var2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntityCaveSpider_onSpawnWithEgg = ($this, $par1EntityLivingData) => { return $par1EntityLivingData; }; function nms_Render() { let a = this; jl_Object.call(a); a.$renderManager = null; a.$renderBlocks = null; a.$shadowSize = 0.0; a.$shadowOpaque = 0.0; } let nms_Render_shadowTextures = null, nms_Render_terrain = null, nms_Render_shadow = null, nms_Render_$callClinit = () => { nms_Render_$callClinit = $rt_eraseClinit(nms_Render); nms_Render__clinit_(); }, nms_Render_bindEntityTexture = ($this, $par1Entity) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $this.$getEntityTexture($par1Entity); if ($rt_suspending()) { break main; } $par1Entity = $tmp; $ptr = 2; case 2: nle_TextureLocation_bindTexture($par1Entity); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $ptr); }, nms_Render_bindTexture = ($this, $par1TextureLocation) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1TextureLocation = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1TextureLocation); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TextureLocation, $ptr); }, nms_Render_renderEntityOnFire = ($this, $par1Entity, $par2, $par4, $par6, $par8) => { let var$6, $var9, $var10, $var11, $var13, $var12, $var19, $var15, $var16, $var17, $var18, $var20, $var21, $var22, $var23, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var19 = $thread.pop();$var12 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$6 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glDisable(2896); nms_Block_$callClinit(); var$6 = nms_Block_fire.$iconArray2.data; $var9 = var$6[0]; $var10 = var$6[1]; nleg_EaglerAdapterGL30_glPushMatrix(); $par8 = $par2; $var11 = $par4; $var13 = $par6; $var12 = nleg_EaglerAdapterGL30_deevis; $var12.$x = $par8; $var12.$y = $var11; $var12.$z = $var13; $var12 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var12, $var12); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; $var19 = new ji_ByteArrayOutputStream; $var19.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = $var19; $var19 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var19, 16); $var12.$sb = $var19; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var11 = $par1Entity.$width1 * 1.399999976158142; $var12 = nleg_EaglerAdapterGL30_deevis; $var12.$x = $var11; $var12.$y = $var11; $var12.$z = $var11; $var12 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var12, $var12); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; $var19 = new ji_ByteArrayOutputStream; $var19.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = $var19; $var19 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var19, 16); $var12.$sb = $var19; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_Render_$callClinit(); $var12 = nms_Render_terrain; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var12); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glTexParameteri(3553, 10241, 9728); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10240, 9728); nlea_Tessellator_$callClinit(); $var12 = nlea_Tessellator_instance; $var13 = 0.5; $var15 = $par1Entity.$height2 / $var11; $var16 = $par1Entity.$posY - $par1Entity.$boundingBox.$minY; $var11 = -$this.$renderManager.$playerViewY; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = 1.0; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var11 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; $var19 = new ji_ByteArrayOutputStream; $var19.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = $var19; $var19 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var19, 16); $par1Entity.$sb = $var19; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par8 = (-0.30000001192092896) + ($var15 | 0) * 0.019999999552965164; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = 0.0; $par1Entity.$z = $par8; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; $var19 = new ji_ByteArrayOutputStream; $var19.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = $var19; $var19 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var19, 16); $par1Entity.$sb = $var19; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var17 = 0.0; $var18 = 0; if ($var12.$isDrawing) nlea_Tessellator_draw($var12); $var12.$isDrawing = 1; $var12.$vertexCount = 0; $var12.$rawBufferIndex = 0; $var12.$addedVertices = 0; $var12.$drawMode = 7; $var12.$hasNormals = 0; $var12.$hasColor = 0; $var12.$hasTexture = 0; $var12.$hasBrightness = 0; $var12.$isColorDisabled = 0; while ($var15 > 0.0) { $var19 = $var18 % 2 | 0 ? $var10 : $var9; $var20 = $var19.$getMinU(); $var21 = $var19.$getMinV(); $var22 = $var19.$getMaxU(); $var23 = $var19.$getMaxV(); if (($var18 / 2 | 0) % 2 | 0) { $par8 = $var20; $var20 = $var22; $var22 = $par8; } $par2 = $var13 - 0.0; $par4 = 0.0 - $var16; $par6 = $var17; var$21 = $var20; var$22 = $var23; $var12.$hasTexture = 1; $var20 = var$21; $var12.$textureU = $var20; $var23 = var$22; $var12.$textureV = $var23; nlea_Tessellator_addVertex($var12, $par2, $par4, $par6); var$21 = -$var13 - 0.0; var$22 = $var22; $var12.$hasTexture = 1; $var11 = var$22; $var12.$textureU = $var11; $var12.$textureV = $var23; nlea_Tessellator_addVertex($var12, var$21, $par4, $par6); $par4 = 1.399999976158142 - $var16; var$22 = $var21; $var12.$hasTexture = 1; $var12.$textureU = $var11; $par8 = var$22; $var12.$textureV = $par8; nlea_Tessellator_addVertex($var12, var$21, $par4, $par6); $var12.$hasTexture = 1; $var12.$textureU = $var20; $var12.$textureV = $par8; nlea_Tessellator_addVertex($var12, $par2, $par4, $par6); $var15 = $var15 - 0.44999998807907104; $var16 = $var16 - 0.44999998807907104; $var13 = $var13 * 0.8999999761581421; $var17 = $var17 + 0.029999999329447746; $var18 = $var18 + 1 | 0; } nlea_Tessellator_draw($var12); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glEnable(2896); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, var$6, $var9, $var10, $var11, $var13, $var12, $var19, $var15, $var16, $var17, $var18, $var20, $var21, $var22, $var23, var$21, var$22, $ptr); }, nms_Render_renderShadow = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $var12, $var10, $var11, $var24, $var26, $var28, $var35, $var14, $var16, $var18, $var19, $var20, $var21, $var22, $var23, $var30, $var32, $var33, $var34, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var34 = $thread.pop();$var33 = $thread.pop();$var32 = $thread.pop();$var30 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var35 = $thread.pop();$var28 = $thread.pop();$var26 = $thread.pop();$var24 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var12 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nms_Render_$callClinit(); $var12 = nms_Render_shadow; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var12); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glTexParameteri(3553, 10242, 33071); nleg_EaglerAdapterGL30_glTexParameteri(3553, 10243, 33071); $var10 = $this.$renderManager.$worldObj9; if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } $var11 = $this.$shadowSize; if ($par1Entity instanceof nms_EntityLiving) { $var12 = $par1Entity; $var11 = $var11 * 1.0; if ($var12.$isChild()) $var11 = $var11 * 0.5; } $var24 = $par1Entity.$lastTickPosX; $var26 = $par1Entity.$posX - $var24; $var28 = $par9; $var35 = $var24 + $var26 * $var28; $var24 = $par1Entity.$lastTickPosY; $var14 = $var24 + ($par1Entity.$posY - $var24) * $var28 + $par1Entity.$getShadowSize(); $var24 = $par1Entity.$lastTickPosZ; $var16 = $var24 + ($par1Entity.$posZ - $var24) * $var28; $var24 = $var11; $var26 = $var35 - $var24; $var18 = $var26 | 0; if ($var26 < $var18) $var18 = $var18 - 1 | 0; $var26 = $var35 + $var24; $var19 = $var26 | 0; if ($var26 < $var19) $var19 = $var19 - 1 | 0; $var26 = $var14 - $var24; $var20 = $var26 | 0; if ($var26 < $var20) $var20 = $var20 - 1 | 0; $var21 = $var14 | 0; if ($var14 < $var21) $var21 = $var21 - 1 | 0; $var26 = $var16 - $var24; $var22 = $var26 | 0; if ($var26 < $var22) $var22 = $var22 - 1 | 0; $var24 = $var16 + $var24; $var23 = $var24 | 0; if ($var24 < $var23) $var23 = $var23 - 1 | 0; $var24 = $par2 - $var35; $var26 = $par4 - $var14; $var28 = $par6 - $var16; nlea_Tessellator_$callClinit(); $var30 = nlea_Tessellator_instance; if ($var30.$isDrawing) nlea_Tessellator_draw($var30); $var30.$isDrawing = 1; $var30.$vertexCount = 0; $var30.$rawBufferIndex = 0; $var30.$addedVertices = 0; $var30.$drawMode = 7; $var30.$hasNormals = 0; $var30.$hasColor = 0; $var30.$hasTexture = 0; $var30.$hasBrightness = 0; $var30.$isColorDisabled = 0; while ($var18 <= $var19) { $var32 = $var20; while ($var32 <= $var21) { $var33 = $var22; while ($var33 <= $var23) { $var34 = nms_World_getBlockId($var10, $var18, $var32 - 1 | 0, $var33); if ($var34 > 0 && nms_World_getBlockLightValue_do($var10, $var18, $var32, $var33, 1) > 3) { nms_Block_$callClinit(); nms_Render_renderShadowOnBlock($this, nms_Block_blocksList.data[$var34], $par2, $par4 + $par1Entity.$getShadowSize(), $par6, $var18, $var32, $var33, $par8, $var11, $var24, $var26 + $par1Entity.$getShadowSize(), $var28); } $var33 = $var33 + 1 | 0; } $var32 = $var32 + 1 | 0; } $var18 = $var18 + 1 | 0; } nlea_Tessellator_draw($var30); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(3008); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $var12, $var10, $var11, $var24, $var26, $var28, $var35, $var14, $var16, $var18, $var19, $var20, $var21, $var22, $var23, $var30, $var32, $var33, $var34, $ptr); }, nms_Render_renderShadowOnBlock = ($this, $par1Block, $par2, $par4, $par6, $par8, $par9, $par10, $par11, $par12, $par13, $par15, $par17) => { let $var19, $var20, $var26, var$16, $var22, $var24, $var28, $var30, $var32, $var33, $var34, $var35; nlea_Tessellator_$callClinit(); $var19 = nlea_Tessellator_instance; if ($par1Block.$renderAsNormalBlock()) { $var20 = $par11; $var26 = $par9; $par4 = ($var20 - ($par4 - ($var26 + $par15)) / 2.0) * 0.5; var$16 = $this.$renderManager.$worldObj9; $var20 = $par4 * var$16.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do(var$16, $par8, $par9, $par10, 1)]; if ($var20 >= 0.0) { if ($var20 > 1.0) $var20 = 1.0; nlea_Tessellator_setColorRGBA($var19, 255, 255, 255, $var20 * 255.0 | 0); $var20 = $par8; $var22 = $var20 + $par1Block.$minX0 + $par13; $var24 = $var20 + $par1Block.$maxX0 + $par13; $var26 = $var26 + $par1Block.$minY0 + $par15 + 0.015625; $par13 = $par10; $var28 = $par13 + $par1Block.$minZ0 + $par17; $var30 = $par13 + $par1Block.$maxZ0 + $par17; $par4 = ($par2 - $var22) / 2.0; $par13 = $par12; $var32 = $par4 / $par13 + 0.5; $var33 = ($par2 - $var24) / 2.0 / $par13 + 0.5; $var34 = ($par6 - $var28) / 2.0 / $par13 + 0.5; $var35 = ($par6 - $var30) / 2.0 / $par13 + 0.5; $par2 = $var32; $par4 = $var34; $var19.$hasTexture = 1; $par11 = $par2; $var19.$textureU = $par11; $var34 = $par4; $var19.$textureV = $var34; nlea_Tessellator_addVertex($var19, $var22, $var26, $var28); $par2 = $var35; $var19.$hasTexture = 1; $var19.$textureU = $par11; $par12 = $par2; $var19.$textureV = $par12; nlea_Tessellator_addVertex($var19, $var22, $var26, $var30); $par2 = $var33; $var19.$hasTexture = 1; $par11 = $par2; $var19.$textureU = $par11; $var19.$textureV = $par12; nlea_Tessellator_addVertex($var19, $var24, $var26, $var30); $var19.$hasTexture = 1; $var19.$textureU = $par11; $var19.$textureV = $var34; nlea_Tessellator_addVertex($var19, $var24, $var26, $var28); } } }, nms_Render_renderOffsetAABB = ($par0AxisAlignedBB, $par1, $par3, $par5) => { let $var7; nms_Render_$callClinit(); nleg_EaglerAdapterGL30_glDisable(3553); nlea_Tessellator_$callClinit(); $var7 = nlea_Tessellator_instance; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; if ($var7.$isDrawing) nlea_Tessellator_draw($var7); $var7.$isDrawing = 1; $var7.$vertexCount = 0; $var7.$rawBufferIndex = 0; $var7.$addedVertices = 0; $var7.$drawMode = 7; $var7.$hasNormals = 0; $var7.$hasColor = 0; $var7.$hasTexture = 0; $var7.$hasBrightness = 0; $var7.$isColorDisabled = 0; $var7.$xOffset = $par1; $var7.$yOffset0 = $par3; $var7.$zOffset = $par5; nlea_Tessellator_setNormal($var7, 0.0, 0.0, (-1.0)); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$minX, $par0AxisAlignedBB.$maxY, $par0AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$maxX, $par0AxisAlignedBB.$maxY, $par0AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$maxX, $par0AxisAlignedBB.$minY, $par0AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$minX, $par0AxisAlignedBB.$minY, $par0AxisAlignedBB.$minZ); nlea_Tessellator_setNormal($var7, 0.0, 0.0, 1.0); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$minX, $par0AxisAlignedBB.$minY, $par0AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$maxX, $par0AxisAlignedBB.$minY, $par0AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$maxX, $par0AxisAlignedBB.$maxY, $par0AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$minX, $par0AxisAlignedBB.$maxY, $par0AxisAlignedBB.$maxZ); nlea_Tessellator_setNormal($var7, 0.0, (-1.0), 0.0); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$minX, $par0AxisAlignedBB.$minY, $par0AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$maxX, $par0AxisAlignedBB.$minY, $par0AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$maxX, $par0AxisAlignedBB.$minY, $par0AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$minX, $par0AxisAlignedBB.$minY, $par0AxisAlignedBB.$maxZ); nlea_Tessellator_setNormal($var7, 0.0, 1.0, 0.0); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$minX, $par0AxisAlignedBB.$maxY, $par0AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$maxX, $par0AxisAlignedBB.$maxY, $par0AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$maxX, $par0AxisAlignedBB.$maxY, $par0AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$minX, $par0AxisAlignedBB.$maxY, $par0AxisAlignedBB.$minZ); nlea_Tessellator_setNormal($var7, (-1.0), 0.0, 0.0); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$minX, $par0AxisAlignedBB.$minY, $par0AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$minX, $par0AxisAlignedBB.$maxY, $par0AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$minX, $par0AxisAlignedBB.$maxY, $par0AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$minX, $par0AxisAlignedBB.$minY, $par0AxisAlignedBB.$minZ); nlea_Tessellator_setNormal($var7, 1.0, 0.0, 0.0); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$maxX, $par0AxisAlignedBB.$minY, $par0AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$maxX, $par0AxisAlignedBB.$maxY, $par0AxisAlignedBB.$minZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$maxX, $par0AxisAlignedBB.$maxY, $par0AxisAlignedBB.$maxZ); nlea_Tessellator_addVertex($var7, $par0AxisAlignedBB.$maxX, $par0AxisAlignedBB.$minY, $par0AxisAlignedBB.$maxZ); $var7.$xOffset = 0.0; $var7.$yOffset0 = 0.0; $var7.$zOffset = 0.0; nlea_Tessellator_draw($var7); nleg_EaglerAdapterGL30_glEnable(3553); }, nms_Render_setRenderManager = ($this, $par1RenderManager) => { $this.$renderManager = $par1RenderManager; }, nms_Render_doRenderShadowAndFire = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var10, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$renderManager.$options2.$fancyGraphics && $this.$shadowSize > 0.0) { var$7 = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[128]; if (var$8 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$9 = var$8.$value0; var$10 = var$7.$elementData.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { var$11 = var$7.$key; if (var$8 !== var$11 && !jl_Integer_equals(var$8, var$11) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$7 = var$7 === null ? null : var$7.$value1; if (!(!(var$7.$watchedObject.$value2 & 32) ? 0 : 1)) { var$7 = $this.$renderManager; var$12 = $par1Entity.$posX; var$13 = $par1Entity.$posY; $var10 = $par1Entity.$posZ; var$12 = var$12 - var$7.$viewerPosX; var$13 = var$13 - var$7.$viewerPosY; $var10 = $var10 - var$7.$viewerPosZ; $var12 = (1.0 - (var$12 * var$12 + var$13 * var$13 + $var10 * $var10) / 256.0) * $this.$shadowOpaque; if ($var12 > 0.0) { $ptr = 2; continue main; } } } if (!$par1Entity.$canRenderOnFire()) return; $ptr = 1; case 1: nms_Render_renderEntityOnFire($this, $par1Entity, $par2, $par4, $par6, $par9); if ($rt_suspending()) { break main; } return; case 2: nms_Render_renderShadow($this, $par1Entity, $par2, $par4, $par6, $var12, $par9); if ($rt_suspending()) { break main; } if (!$par1Entity.$canRenderOnFire()) return; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var10, $var12, $ptr); }, nms_Render_getFontRendererFromRenderManager = $this => { return $this.$renderManager.$fontRenderer2; }, nms_Render_updateIcons = ($this, $par1IconRegister) => { return; }, nms_Render__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1861); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_Render_shadowTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1180); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_Render_terrain = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1862); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_Render_shadow = var$1; }; function nms_RendererLivingEntity() { let a = this; nms_Render.call(a); a.$mainModel = null; a.$renderPassModel = null; } let nms_RendererLivingEntity_RES_ITEM_GLINT = null, nms_RendererLivingEntity_$callClinit = () => { nms_RendererLivingEntity_$callClinit = $rt_eraseClinit(nms_RendererLivingEntity); nms_RendererLivingEntity__clinit_(); }, nms_RendererLivingEntity_setRenderPassModel = ($this, $par1ModelBase) => { $this.$renderPassModel = $par1ModelBase; }, nms_RendererLivingEntity_interpolateRotation = ($this, $par1, $par2, $par3) => { let $var4; $var4 = $par2 - $par1; while ($var4 < (-180.0)) { $var4 = $var4 + 360.0; } while ($var4 >= 180.0) { $var4 = $var4 - 360.0; } return $par1 + $par3 * $var4; }, nms_RendererLivingEntity_doRenderLiving = ($this, $par1EntityLivingBase, $par2, $par4, $par6, $par8, $par9) => { let $var12, $var10, $var25, $var21, $var11, $var13, $var26, $var14, $var20, $var15, $var16, var$18, var$19, $var17, $var27, $var18, $var28, $var19, $var29, $var22, $var30, $var23, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var23 = $thread.pop();$var30 = $thread.pop();$var22 = $thread.pop();$var29 = $thread.pop();$var19 = $thread.pop();$var28 = $thread.pop();$var18 = $thread.pop();$var27 = $thread.pop();$var17 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var20 = $thread.pop();$var14 = $thread.pop();$var26 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var21 = $thread.pop();$var25 = $thread.pop();$var10 = $thread.pop();$var12 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glDisable(2884); $var12 = $this.$mainModel; $par8 = $par1EntityLivingBase.$swingProgress; $var10 = $par1EntityLivingBase.$prevSwingProgress; $par8 = $par8 - $var10; if ($par8 < 0.0) $par8 = $par8 + 1.0; $par8 = $var10 + $par8 * $par9; $var12.$onGround1 = $par8; $var25 = $this.$renderPassModel; if ($var25 !== null) $var25.$onGround1 = $par8; $var21 = $par1EntityLivingBase.$ridingEntity === null ? 0 : 1; $var12.$isRiding0 = $var21; if ($var25 !== null) $var25.$isRiding0 = $var21; $var12.$isChild0 = $par1EntityLivingBase.$isChild(); $var12 = $this.$renderPassModel; if ($var12 !== null) $var12.$isChild0 = $this.$mainModel.$isChild0; try { $var10 = nms_RendererLivingEntity_interpolateRotation($this, $par1EntityLivingBase.$prevRenderYawOffset, $par1EntityLivingBase.$renderYawOffset, $par9); $var11 = nms_RendererLivingEntity_interpolateRotation($this, $par1EntityLivingBase.$prevRotationYawHead, $par1EntityLivingBase.$rotationYawHead, $par9); if (nms_Entity_isRiding($par1EntityLivingBase)) { $var12 = $par1EntityLivingBase.$ridingEntity; if ($var12 instanceof nms_EntityLivingBase) { $var12 = $var12; $var13 = nms_MathHelper_wrapAngleTo180_float($var11 - nms_RendererLivingEntity_interpolateRotation($this, $var12.$prevRenderYawOffset, $var12.$renderYawOffset, $par9)); if ($var13 < (-85.0)) $var13 = (-85.0); if ($var13 >= 85.0) $var13 = 85.0; $var10 = $var11 - $var13; if ($var13 * $var13 > 2500.0) $var10 = $var10 + $var13 * 0.20000000298023224; } } $par8 = $par1EntityLivingBase.$prevRotationPitch; $var26 = $par8 + ($par1EntityLivingBase.$rotationPitch - $par8) * $par9; $this.$renderLivingAt($par1EntityLivingBase, $par2, $par4, $par6); $var13 = $this.$handleRotationFloat($par1EntityLivingBase, $par9); $this.$rotateCorpse($par1EntityLivingBase, $var13, $var10, $par9); $var14 = 0.0625; nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_glScalef((-1.0), (-1.0), 1.0); $this.$preRenderCallback($par1EntityLivingBase, $par9); nleg_EaglerAdapterGL30_glTranslatef(0.0, (-1.5078125), 0.0); $par8 = $par1EntityLivingBase.$prevLimbSwingAmount; $var20 = $par1EntityLivingBase.$limbSwingAmount; $var15 = $par8 + ($var20 - $par8) * $par9; $var16 = $par1EntityLivingBase.$limbSwing - $var20 * (1.0 - $par9); if ($par1EntityLivingBase.$isChild()) $var16 = $var16 * 3.0; if ($var15 > 1.0) $var15 = 1.0; nleg_EaglerAdapterGL30_glEnable(3008); $this.$mainModel.$setLivingAnimations($par1EntityLivingBase, $var16, $var15, $par9); var$18 = $var11 - $var10; $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var25 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; var$19 = new ji_ByteArrayOutputStream; var$19.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = var$19; var$19 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$19, 16); $var12.$sb = var$19; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } jl_Throwable_printStackTrace($var25, jl_System_errCache); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glPopMatrix(); $ptr = 1; case 1: nms_RendererLivingEntity_passSpecialRender($this, $par1EntityLivingBase, $par2, $par4, $par6); if ($rt_suspending()) { break main; } return; case 2: try { $this.$renderModel($par1EntityLivingBase, $var16, $var15, $var13, var$18, $var26, $var14); if ($rt_suspending()) { break main; } $var17 = 0; if ($var17 < 4) { $ptr = 4; continue main; } nleg_EaglerAdapterGL30_glDepthMask(1); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var25 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; var$19 = new ji_ByteArrayOutputStream; var$19.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = var$19; var$19 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$19, 16); $var12.$sb = var$19; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } jl_Throwable_printStackTrace($var25, jl_System_errCache); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glPopMatrix(); $ptr = 1; continue main; case 3: a: { try { $this.$renderEquippedItems($par1EntityLivingBase, $par9); if ($rt_suspending()) { break main; } $var27 = $par1EntityLivingBase.$getBrightness($par9); $var18 = $this.$getColorMultiplier($par1EntityLivingBase, $var27, $par9); nms_OpenGlHelper_setActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glDisable(3553); nms_OpenGlHelper_setActiveTexture(nms_OpenGlHelper_defaultTexUnit); $var21 = $var18 >> 24 & 255; if (!($var21 <= 0 && $par1EntityLivingBase.$hurtTime <= 0 && $par1EntityLivingBase.$deathTime <= 0)) { nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glDepthFunc(514); if (!($par1EntityLivingBase.$hurtTime <= 0 && $par1EntityLivingBase.$deathTime <= 0)) { nleg_EaglerAdapterGL30_glColor4f($var27, 0.0, 0.0, 0.4000000059604645); $this.$mainModel.$render0($par1EntityLivingBase, $var16, $var15, $var13, var$18, $var26, $var14); $var28 = 0; if ($var28 < 4) { $ptr = 7; continue main; } } if ($var21 > 0) { $var19 = ($var18 >> 16 & 255) / 255.0; $var20 = ($var18 >> 8 & 255) / 255.0; $var29 = ($var18 & 255) / 255.0; $var22 = $var21 / 255.0; nleg_EaglerAdapterGL30_glColor4f($var19, $var20, $var29, $var22); $this.$mainModel.$render0($par1EntityLivingBase, $var16, $var15, $var13, var$18, $var26, $var14); $var30 = 0; if ($var30 < 4) { $ptr = 8; continue main; } } nleg_EaglerAdapterGL30_glDepthFunc(515); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glEnable(3553); } nleg_EaglerAdapterGL30_glDisable(32826); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var25 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; var$19 = new ji_ByteArrayOutputStream; var$19.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = var$19; var$19 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$19, 16); $var12.$sb = var$19; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } jl_Throwable_printStackTrace($var25, jl_System_errCache); } nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glPopMatrix(); $ptr = 1; continue main; case 4: try { $tmp = $this.$shouldRenderPass($par1EntityLivingBase, $var17, $par9); if ($rt_suspending()) { break main; } $var18 = $tmp; if ($var18 > 0) { $this.$renderPassModel.$setLivingAnimations($par1EntityLivingBase, $var16, $var15, $par9); $this.$renderPassModel.$render0($par1EntityLivingBase, $var16, $var15, $var13, var$18, $var26, $var14); if (($var18 & 240) == 16) { $ptr = 5; continue main; } if (($var18 & 15) == 15) { $var19 = $par1EntityLivingBase.$ticksExisted + $par9; $var12 = nms_RendererLivingEntity_RES_ITEM_GLINT; $ptr = 6; continue main; } nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(3008); } $var17 = $var17 + 1 | 0; if ($var17 < 4) { continue main; } nleg_EaglerAdapterGL30_glDepthMask(1); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var25 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; var$19 = new ji_ByteArrayOutputStream; var$19.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = var$19; var$19 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$19, 16); $var12.$sb = var$19; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } jl_Throwable_printStackTrace($var25, jl_System_errCache); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glPopMatrix(); $ptr = 1; continue main; case 5: try { $this.$func_82408_c($par1EntityLivingBase, $var17, $par9); if ($rt_suspending()) { break main; } $this.$renderPassModel.$render0($par1EntityLivingBase, $var16, $var15, $var13, var$18, $var26, $var14); if (($var18 & 15) == 15) { $var19 = $par1EntityLivingBase.$ticksExisted + $par9; $var12 = nms_RendererLivingEntity_RES_ITEM_GLINT; $ptr = 6; continue main; } nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(3008); $var17 = $var17 + 1 | 0; if ($var17 < 4) { $ptr = 4; continue main; } nleg_EaglerAdapterGL30_glDepthMask(1); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var25 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; var$19 = new ji_ByteArrayOutputStream; var$19.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = var$19; var$19 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$19, 16); $var12.$sb = var$19; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } jl_Throwable_printStackTrace($var25, jl_System_errCache); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glPopMatrix(); $ptr = 1; continue main; case 6: try { nms_Render_bindTexture($this, $var12); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glColor4f(0.5, 0.5, 0.5, 1.0); nleg_EaglerAdapterGL30_glDepthFunc(514); nleg_EaglerAdapterGL30_glDepthMask(0); $var21 = 0; while ($var21 < 2) { nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glColor4f(0.3799999952316284, 0.1899999976158142, 0.6079999804496765, 1.0); nleg_EaglerAdapterGL30_glBlendFunc(768, 1); nleg_EaglerAdapterGL30_glMatrixMode(5890); nleg_EaglerAdapterGL30_glLoadIdentity(); $var10 = $var21; $var23 = $var19 * (0.0010000000474974513 + $var10 * 0.003000000026077032) * 20.0; nleg_EaglerAdapterGL30_glScalef(0.3333333432674408, 0.3333333432674408, 0.3333333432674408); nleg_EaglerAdapterGL30_glRotatef(30.0 - $var10 * 60.0, 0.0, 0.0, 1.0); nleg_EaglerAdapterGL30_glTranslatef(0.0, $var23, 0.0); nleg_EaglerAdapterGL30_glMatrixMode(5888); $this.$renderPassModel.$render0($par1EntityLivingBase, $var16, $var15, $var13, var$18, $var26, $var14); $var21 = $var21 + 1 | 0; } nleg_EaglerAdapterGL30_glColor4f(1.0, 1.0, 1.0, 1.0); nleg_EaglerAdapterGL30_glMatrixMode(5890); nleg_EaglerAdapterGL30_glDepthMask(1); nleg_EaglerAdapterGL30_glLoadIdentity(); nleg_EaglerAdapterGL30_glMatrixMode(5888); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glDepthFunc(515); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(3008); $var17 = $var17 + 1 | 0; if ($var17 < 4) { $ptr = 4; continue main; } nleg_EaglerAdapterGL30_glDepthMask(1); $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var25 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; var$19 = new ji_ByteArrayOutputStream; var$19.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = var$19; var$19 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$19, 16); $var12.$sb = var$19; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } jl_Throwable_printStackTrace($var25, jl_System_errCache); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glPopMatrix(); $ptr = 1; continue main; case 7: a: { try { $tmp = $this.$inheritRenderPass($par1EntityLivingBase, $var28, $par9); if ($rt_suspending()) { break main; } $var30 = $tmp; if ($var30 >= 0) { nleg_EaglerAdapterGL30_glColor4f($var27, 0.0, 0.0, 0.4000000059604645); $this.$renderPassModel.$render0($par1EntityLivingBase, $var16, $var15, $var13, var$18, $var26, $var14); } $var28 = $var28 + 1 | 0; if ($var28 < 4) { continue main; } if ($var21 > 0) { $var19 = ($var18 >> 16 & 255) / 255.0; $var20 = ($var18 >> 8 & 255) / 255.0; $var29 = ($var18 & 255) / 255.0; $var22 = $var21 / 255.0; nleg_EaglerAdapterGL30_glColor4f($var19, $var20, $var29, $var22); $this.$mainModel.$render0($par1EntityLivingBase, $var16, $var15, $var13, var$18, $var26, $var14); $var30 = 0; if ($var30 < 4) { $ptr = 8; continue main; } } nleg_EaglerAdapterGL30_glDepthFunc(515); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glDisable(32826); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var25 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; var$19 = new ji_ByteArrayOutputStream; var$19.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = var$19; var$19 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$19, 16); $var12.$sb = var$19; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } jl_Throwable_printStackTrace($var25, jl_System_errCache); } nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glPopMatrix(); $ptr = 1; continue main; case 8: a: { try { $tmp = $this.$inheritRenderPass($par1EntityLivingBase, $var30, $par9); if ($rt_suspending()) { break main; } $var21 = $tmp; if ($var21 >= 0) { nleg_EaglerAdapterGL30_glColor4f($var19, $var20, $var29, $var22); $this.$renderPassModel.$render0($par1EntityLivingBase, $var16, $var15, $var13, var$18, $var26, $var14); } $var30 = $var30 + 1 | 0; if ($var30 >= 4) { nleg_EaglerAdapterGL30_glDepthFunc(515); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glDisable(32826); break a; } continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var25 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; var$19 = new ji_ByteArrayOutputStream; var$19.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = var$19; var$19 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$19, 16); $var12.$sb = var$19; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } jl_Throwable_printStackTrace($var25, jl_System_errCache); } nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_lightmapTexUnit); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glActiveTexture(nms_OpenGlHelper_defaultTexUnit); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glPopMatrix(); $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par4, $par6, $par8, $par9, $var12, $var10, $var25, $var21, $var11, $var13, $var26, $var14, $var20, $var15, $var16, var$18, var$19, $var17, $var27, $var18, $var28, $var19, $var29, $var22, $var30, $var23, $ptr); }, nms_RendererLivingEntity_renderModel = ($this, $par1EntityLivingBase, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1EntityLivingBase instanceof nms_EntityPlayer) { $ptr = 3; continue main; } $ptr = 1; case 1: $tmp = $this.$getEntityTexture($par1EntityLivingBase); if ($rt_suspending()) { break main; } var$8 = $tmp; $ptr = 2; case 2: nle_TextureLocation_bindTexture(var$8); if ($rt_suspending()) { break main; } var$8 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[128]; if (var$9 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$10 = var$9.$value0; var$11 = var$8.$elementData.data; var$8 = var$11[var$10 & (var$11.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$10) { var$12 = var$8.$key; if (var$9 !== var$12 && !jl_Integer_equals(var$9, var$12) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; if (!(!(var$8.$watchedObject.$value2 & 32) ? 0 : 1)) $this.$mainModel.$render0($par1EntityLivingBase, $par2, $par3, $par4, $par5, $par6, $par7); else if ($par1EntityLivingBase.$isInvisibleToPlayer(nms_Minecraft_theMinecraft.$thePlayer)) $this.$mainModel.$setRotationAngles($par2, $par3, $par4, $par5, $par6, $par7, $par1EntityLivingBase); else { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 0.15000000596046448; if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_alphaThresh = 0.003921568859368563; $this.$mainModel.$render0($par1EntityLivingBase, $par2, $par3, $par4, $par5, $par6, $par7); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; nleg_EaglerAdapterGL30_glPopMatrix(); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } } return; case 3: $this.$bindTexture0($par1EntityLivingBase); if ($rt_suspending()) { break main; } var$8 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[128]; if (var$9 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$10 = var$9.$value0; var$11 = var$8.$elementData.data; var$8 = var$11[var$10 & (var$11.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$10) { var$12 = var$8.$key; if (var$9 !== var$12 && !jl_Integer_equals(var$9, var$12) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; if (!(!(var$8.$watchedObject.$value2 & 32) ? 0 : 1)) $this.$mainModel.$render0($par1EntityLivingBase, $par2, $par3, $par4, $par5, $par6, $par7); else if ($par1EntityLivingBase.$isInvisibleToPlayer(nms_Minecraft_theMinecraft.$thePlayer)) $this.$mainModel.$setRotationAngles($par2, $par3, $par4, $par5, $par6, $par7, $par1EntityLivingBase); else { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 0.15000000596046448; if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_alphaThresh = 0.003921568859368563; $this.$mainModel.$render0($par1EntityLivingBase, $par2, $par3, $par4, $par5, $par6, $par7); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; nleg_EaglerAdapterGL30_glPopMatrix(); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $par4, $par5, $par6, $par7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_RendererLivingEntity_renderLivingAt = ($this, $par1EntityLivingBase, $par2, $par4, $par6) => { let var$5, var$6, var$7, var$8; var$5 = $par2; var$6 = $par4; var$7 = $par6; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = var$5; $par1EntityLivingBase.$y = var$6; $par1EntityLivingBase.$z = var$7; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1EntityLivingBase.$sb = var$8; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RendererLivingEntity_rotateCorpse = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8; $var5 = 180.0 - $par3; nleg_EaglerAdapterGL30_$callClinit(); var$6 = nleg_EaglerAdapterGL30_deevis; var$6.$x = 0.0; var$6.$y = 1.0; var$6.$z = 0.0; var$6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var5 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$6, var$6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$6 = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_(var$6); var$6.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); var$6.$sb = var$7; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = $par1EntityLivingBase.$deathTime; if (var$8 > 0) { $par3 = jl_Math_sqrt((var$8 + $par4 - 1.0) / 20.0 * 1.600000023841858); if ($par3 > 1.0) $par3 = 1.0; $par2 = $par3 * $this.$getDeathMaxRotation($par1EntityLivingBase); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.0; $par1EntityLivingBase.$y = 0.0; $par1EntityLivingBase.$z = 1.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); $par1EntityLivingBase.$sb = var$6; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } }, nms_RendererLivingEntity_renderSwingProgress = ($this, $par1EntityLivingBase, $par2) => { let var$3, var$4; var$3 = $par1EntityLivingBase.$swingProgress; var$4 = $par1EntityLivingBase.$prevSwingProgress; var$3 = var$3 - var$4; if (var$3 < 0.0) var$3 = var$3 + 1.0; return var$4 + var$3 * $par2; }, nms_RendererLivingEntity_handleRotationFloat = ($this, $par1EntityLivingBase, $par2) => { return $par1EntityLivingBase.$ticksExisted + $par2; }, nms_RendererLivingEntity_renderEquippedItems = ($this, $par1EntityLivingBase, $par2) => { return; }, nms_RendererLivingEntity_renderArrowsStuckInEntity = ($this, $par1EntityLivingBase, $par2) => { let var$3, $var4, var$5, var$6, var$7, var$8, $var16, $var18, $var20, $var22, $var11, $var5, var$15, $var6, var$17, var$18, $var7, var$20, var$21, var$22, $var8, var$24, $var9, $var10, $var12, $var13, $var14, $var15, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$24 = $thread.pop();$var8 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var7 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var6 = $thread.pop();var$15 = $thread.pop();$var5 = $thread.pop();$var11 = $thread.pop();$var22 = $thread.pop();$var20 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[137]; if ($var4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = $var4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if ($var4 !== var$7 && !($var4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$8 = (var$3 === null ? null : var$3.$value1).$watchedObject.$value2; if (var$8 <= 0) return; $var4 = new nms_EntityArrow; var$3 = $par1EntityLivingBase.$worldObj; $var16 = $par1EntityLivingBase.$posX; $var18 = $par1EntityLivingBase.$posY; $var20 = $par1EntityLivingBase.$posZ; nms_Entity__init_($var4, var$3); $var4.$xTile = (-1); $var4.$yTile = (-1); $var4.$zTile = (-1); $var4.$damage = 2.0; $var4.$renderDistanceWeight = 10.0; $var22 = 0.5; $var11 = 0.5; $ptr = 1; case 1: nms_Entity_setSize($var4, $var22, $var11); if ($rt_suspending()) { break main; } nms_Entity_setPosition($var4, $var16, $var18, $var20); $var4.$yOffset = 0.0; $var5 = new nle_EaglercraftRandom; var$15 = Long_fromInt($par1EntityLivingBase.$entityId); $var5.$seed = Long_fromInt(69); $var5.$haveNextNextGaussian = 0; $var5.$seed = var$15; nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); $var6 = 0; var$17 = 17; var$18 = 24; var$3 = $rt_s(468); var$7 = $rt_s(469); a: { while ($var6 < var$8) { nleg_EaglerAdapterGL30_glPushMatrix(); $var7 = nms_ModelBase_getRandomModelBox($this.$mainModel, $var5); $par1EntityLivingBase = $var7.$cubeList; var$5 = $par1EntityLivingBase.$size0; var$15 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$15; var$20 = Long_lo(Long_shru(var$15, var$17)); var$21 = var$5 - 1 | 0; if (!(var$5 & var$21)) var$22 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$5), Long_fromInt(var$20)), 31)); else while (true) { var$22 = var$20 % var$5 | 0; if (((var$20 - var$22 | 0) + var$21 | 0) >= 0) break; var$15 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$15; var$20 = Long_lo(Long_shru(var$15, var$17)); } if (var$22 < 0) break a; if (var$22 >= var$5) break a; $var8 = $par1EntityLivingBase.$array.data[var$22]; nms_ModelRenderer_postRender($var7, 0.0625); var$24 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$24; $var9 = Long_lo(Long_shru(var$24, var$18)) / 1.6777216E7; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$24; $var10 = Long_lo(Long_shru(var$24, var$18)) / 1.6777216E7; var$15 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$15; $var11 = Long_lo(Long_shru(var$15, var$18)) / 1.6777216E7; $var22 = $var8.$posX10; $var12 = ($var22 + ($var8.$posX20 - $var22) * $var9) / 16.0; $var22 = $var8.$posY10; $var13 = ($var22 + ($var8.$posY20 - $var22) * $var10) / 16.0; $var22 = $var8.$posZ10; $var14 = ($var22 + ($var8.$posZ20 - $var22) * $var11) / 16.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = $var12; $par1EntityLivingBase.$y = $var13; $par1EntityLivingBase.$z = $var14; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $par1EntityLivingBase.$sb = $var7; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr($rt_ustr(var$3)); $rt_putStderr($rt_ustr(var$7)); } $var9 = $var9 * 2.0 - 1.0; $var22 = $var10 * 2.0 - 1.0; $var11 = $var11 * 2.0 - 1.0; $var10 = $var9 * (-1.0); $var22 = $var22 * (-1.0); $var11 = $var11 * (-1.0); $var15 = jl_Math_sqrt($var10 * $var10 + $var11 * $var11); $var11 = jl_Math_atan2($var10, $var11) * 180.0 / 3.141592653589793; $var4.$rotationYaw = $var11; $var4.$prevRotationYaw = $var11; $var11 = jl_Math_atan2($var22, $var15) * 180.0 / 3.141592653589793; $var4.$rotationPitch = $var11; $var4.$prevRotationPitch = $var11; $var16 = 0.0; $var18 = 0.0; $var20 = 0.0; $var22 = 0.0; $par1EntityLivingBase = $this.$renderManager; b: { try { $var7 = nms_RenderManager_getEntityRenderObject($par1EntityLivingBase, $var4); if ($var7 !== null && $par1EntityLivingBase.$renderEngine1 !== null) { if (nms_RenderManager_field_85095_o && !nms_Entity_isInvisible($var4)) nms_RenderManager_func_85094_b($par1EntityLivingBase, $var4, $var16, $var18, $var20, $var22, $par2); $ptr = 2; continue main; } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } nleg_EaglerAdapterGL30_glPopMatrix(); $var6 = $var6 + 1 | 0; } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); return; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); case 2: try { $var7.$doRender($var4, $var16, $var18, $var20, $var22, $par2); if ($rt_suspending()) { break main; } $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } c: { d: while (true) { e: while (true) { nleg_EaglerAdapterGL30_glPopMatrix(); $var6 = $var6 + 1 | 0; if ($var6 >= var$8) break d; nleg_EaglerAdapterGL30_glPushMatrix(); $var7 = nms_ModelBase_getRandomModelBox($this.$mainModel, $var5); $par1EntityLivingBase = $var7.$cubeList; var$5 = $par1EntityLivingBase.$size0; var$15 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$15; var$20 = Long_lo(Long_shru(var$15, var$17)); var$21 = var$5 - 1 | 0; if (!(var$5 & var$21)) var$22 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$5), Long_fromInt(var$20)), 31)); else while (true) { var$22 = var$20 % var$5 | 0; if (((var$20 - var$22 | 0) + var$21 | 0) >= 0) break; var$15 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$15; var$20 = Long_lo(Long_shru(var$15, var$17)); } if (var$22 < 0) break c; if (var$22 >= var$5) break c; $var8 = $par1EntityLivingBase.$array.data[var$22]; nms_ModelRenderer_postRender($var7, 0.0625); var$24 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$24; $var9 = Long_lo(Long_shru(var$24, var$18)) / 1.6777216E7; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$24; $var10 = Long_lo(Long_shru(var$24, var$18)) / 1.6777216E7; var$15 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$15; $var11 = Long_lo(Long_shru(var$15, var$18)) / 1.6777216E7; $var22 = $var8.$posX10; $var12 = ($var22 + ($var8.$posX20 - $var22) * $var9) / 16.0; $var22 = $var8.$posY10; $var13 = ($var22 + ($var8.$posY20 - $var22) * $var10) / 16.0; $var22 = $var8.$posZ10; $var14 = ($var22 + ($var8.$posZ20 - $var22) * $var11) / 16.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = $var12; $par1EntityLivingBase.$y = $var13; $par1EntityLivingBase.$z = $var14; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $par1EntityLivingBase.$sb = $var7; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr($rt_ustr(var$3)); $rt_putStderr($rt_ustr(var$7)); } $var9 = $var9 * 2.0 - 1.0; $var22 = $var10 * 2.0 - 1.0; $var11 = $var11 * 2.0 - 1.0; $var10 = $var9 * (-1.0); $var22 = $var22 * (-1.0); $var11 = $var11 * (-1.0); $var15 = jl_Math_sqrt($var10 * $var10 + $var11 * $var11); $var11 = jl_Math_atan2($var10, $var11) * 180.0 / 3.141592653589793; $var4.$rotationYaw = $var11; $var4.$prevRotationYaw = $var11; $var11 = jl_Math_atan2($var22, $var15) * 180.0 / 3.141592653589793; $var4.$rotationPitch = $var11; $var4.$prevRotationPitch = $var11; $var16 = 0.0; $var18 = 0.0; $var20 = 0.0; $var22 = 0.0; $par1EntityLivingBase = $this.$renderManager; f: { try { $var7 = nms_RenderManager_getEntityRenderObject($par1EntityLivingBase, $var4); if ($var7 === null) break f; if ($par1EntityLivingBase.$renderEngine1 === null) break f; else break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { continue d; } else { throw $$e; } } } } g: { try { if (!nms_RenderManager_field_85095_o) break g; if (nms_Entity_isInvisible($var4)) break g; nms_RenderManager_func_85094_b($par1EntityLivingBase, $var4, $var16, $var18, $var20, $var22, $par2); break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { continue d; } else { throw $$e; } } } try { continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { continue; } else { throw $$e; } } } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); return; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); case 3: a: { try { nms_Render_doRenderShadowAndFire($var7, $var4, $var16, $var18, $var20, $var22, $par2); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } d: { while (true) { nleg_EaglerAdapterGL30_glPopMatrix(); $var6 = $var6 + 1 | 0; if ($var6 >= var$8) break; nleg_EaglerAdapterGL30_glPushMatrix(); $var7 = nms_ModelBase_getRandomModelBox($this.$mainModel, $var5); $par1EntityLivingBase = $var7.$cubeList; var$5 = $par1EntityLivingBase.$size0; var$15 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$15; var$20 = Long_lo(Long_shru(var$15, var$17)); var$21 = var$5 - 1 | 0; if (!(var$5 & var$21)) var$22 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$5), Long_fromInt(var$20)), 31)); else while (true) { var$22 = var$20 % var$5 | 0; if (((var$20 - var$22 | 0) + var$21 | 0) >= 0) break; var$15 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$15; var$20 = Long_lo(Long_shru(var$15, var$17)); } if (var$22 < 0) break d; if (var$22 >= var$5) break d; $var8 = $par1EntityLivingBase.$array.data[var$22]; nms_ModelRenderer_postRender($var7, 0.0625); var$24 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$24; $var9 = Long_lo(Long_shru(var$24, var$18)) / 1.6777216E7; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$24; $var10 = Long_lo(Long_shru(var$24, var$18)) / 1.6777216E7; var$15 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$15; $var11 = Long_lo(Long_shru(var$15, var$18)) / 1.6777216E7; $var22 = $var8.$posX10; $var12 = ($var22 + ($var8.$posX20 - $var22) * $var9) / 16.0; $var22 = $var8.$posY10; $var13 = ($var22 + ($var8.$posY20 - $var22) * $var10) / 16.0; $var22 = $var8.$posZ10; $var14 = ($var22 + ($var8.$posZ20 - $var22) * $var11) / 16.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = $var12; $par1EntityLivingBase.$y = $var13; $par1EntityLivingBase.$z = $var14; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $par1EntityLivingBase.$sb = $var7; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr($rt_ustr(var$3)); $rt_putStderr($rt_ustr(var$7)); } $var9 = $var9 * 2.0 - 1.0; $var22 = $var10 * 2.0 - 1.0; $var11 = $var11 * 2.0 - 1.0; $var10 = $var9 * (-1.0); $var22 = $var22 * (-1.0); $var11 = $var11 * (-1.0); $var15 = jl_Math_sqrt($var10 * $var10 + $var11 * $var11); $var11 = jl_Math_atan2($var10, $var11) * 180.0 / 3.141592653589793; $var4.$rotationYaw = $var11; $var4.$prevRotationYaw = $var11; $var11 = jl_Math_atan2($var22, $var15) * 180.0 / 3.141592653589793; $var4.$rotationPitch = $var11; $var4.$prevRotationPitch = $var11; $var16 = 0.0; $var18 = 0.0; $var20 = 0.0; $var22 = 0.0; $par1EntityLivingBase = $this.$renderManager; try { $var7 = nms_RenderManager_getEntityRenderObject($par1EntityLivingBase, $var4); if ($var7 !== null && $par1EntityLivingBase.$renderEngine1 !== null) { if (nms_RenderManager_field_85095_o && !nms_Entity_isInvisible($var4)) nms_RenderManager_func_85094_b($par1EntityLivingBase, $var4, $var16, $var18, $var20, $var22, $par2); $ptr = 2; continue main; } continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); return; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, var$3, $var4, var$5, var$6, var$7, var$8, $var16, $var18, $var20, $var22, $var11, $var5, var$15, $var6, var$17, var$18, $var7, var$20, var$21, var$22, $var8, var$24, $var9, $var10, $var12, $var13, $var14, $var15, $ptr); }, nms_RendererLivingEntity_inheritRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $this.$shouldRenderPass($par1EntityLivingBase, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $ptr); }, nms_RendererLivingEntity_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { return (-1); }, nms_RendererLivingEntity_func_82408_c = ($this, $par1EntityLivingBase, $par2, $par3) => { return; }, nms_RendererLivingEntity_getDeathMaxRotation = ($this, $par1EntityLivingBase) => { return 90.0; }, nms_RendererLivingEntity_getColorMultiplier = ($this, $par1EntityLivingBase, $par2, $par3) => { return 0; }, nms_RendererLivingEntity_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { return; }, nms_RendererLivingEntity_passSpecialRender = ($this, $par1EntityLivingBase, $par2, $par4, $par6) => { let $var9, $var13, var$7, $var10, var$9, $var12, var$11, var$12, var$13, $var15, $var16, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var12 = $thread.pop();var$9 = $thread.pop();$var10 = $thread.pop();var$7 = $thread.pop();$var13 = $thread.pop();$var9 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$func_110813_b($par1EntityLivingBase)) { $var9 = 0.0266666691750288; $var13 = $this.$renderManager.$livingPlayer; var$7 = $par1EntityLivingBase.$posX - $var13.$posX; $var10 = $par1EntityLivingBase.$posY - $var13.$posY; var$9 = $par1EntityLivingBase.$posZ - $var13.$posZ; $var10 = var$7 * var$7 + $var10 * $var10 + var$9 * var$9; $var12 = !$par1EntityLivingBase.$isSneaking() ? 64.0 : 32.0; if ($var10 < $var12 * $var12) { $var13 = $par1EntityLivingBase.$getTranslatedEntityName(); if (!$par1EntityLivingBase.$isSneaking()) { $ptr = 1; continue main; } var$11 = $this.$renderManager.$fontRenderer2; nleg_EaglerAdapterGL30_glPushMatrix(); $var12 = $par2 + 0.0; var$12 = $par4 + $par1EntityLivingBase.$height2 + 0.5; var$13 = $par6; $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = $var12; $par1EntityLivingBase.$y = var$12; $par1EntityLivingBase.$z = var$13; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityLivingBase.$sb = $var15; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_normalSerial = nleg_EaglerAdapterGL30_normalSerial + 1 | 0; $var12 = jl_Math_sqrt(1.0); var$12 = 0.0 / $var12; nleg_EaglerAdapterGL30_normalX = var$12; nleg_EaglerAdapterGL30_normalY = 1.0 / $var12; nleg_EaglerAdapterGL30_normalZ = var$12; var$12 = -$this.$renderManager.$playerViewY; $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.0; $par1EntityLivingBase.$y = 1.0; $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityLivingBase.$sb = $var15; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var12 = $this.$renderManager.$playerViewX; $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 1.0; $par1EntityLivingBase.$y = 0.0; $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; $par1EntityLivingBase = new ji_ByteArrayOutputStream; $par1EntityLivingBase.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = $par1EntityLivingBase; $par1EntityLivingBase = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par1EntityLivingBase, 16); $var15.$sb = $par1EntityLivingBase; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = (-0.0266666691750288); $par1EntityLivingBase.$y = (-0.0266666691750288); $par1EntityLivingBase.$z = $var9; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityLivingBase.$sb = $var15; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glDisable(2896); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.0; $par1EntityLivingBase.$y = 9.374999046325684; $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityLivingBase.$sb = $var15; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nlea_Tessellator_$callClinit(); $var15 = nlea_Tessellator_instance; nleg_EaglerAdapterGL30_glDisable(3553); if ($var15.$isDrawing) nlea_Tessellator_draw($var15); $var15.$isDrawing = 1; $var15.$vertexCount = 0; $var15.$rawBufferIndex = 0; $var15.$addedVertices = 0; $var15.$drawMode = 7; $var15.$hasNormals = 0; $var15.$hasColor = 0; $var15.$hasTexture = 0; $var15.$hasBrightness = 0; $var15.$isColorDisabled = 0; $var16 = nms_FontRenderer_getStringWidth(var$11, $var13) / 2 | 0; nlea_Tessellator_setColorRGBA($var15, 0, 0, 0, 63); $par4 = ( -$var16 | 0) - 1 | 0; nlea_Tessellator_addVertex($var15, $par4, (-1.0), 0.0); nlea_Tessellator_addVertex($var15, $par4, 8.0, 0.0); $par2 = $var16 + 1 | 0; nlea_Tessellator_addVertex($var15, $par2, 8.0, 0.0); nlea_Tessellator_addVertex($var15, $par2, (-1.0), 0.0); nlea_Tessellator_draw($var15); nleg_EaglerAdapterGL30_glEnable(3553); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } $var16 = ( -nms_FontRenderer_getStringWidth(var$11, $var13) | 0) / 2 | 0; var$16 = 0; var$17 = 553648127; var$11.$randomStyle = 0; var$11.$boldStyle = 0; var$11.$italicStyle = 0; var$11.$underlineStyle = 0; var$11.$strikethroughStyle = 0; var$18 = 0; $ptr = 2; continue main; } } return; case 1: $this.$func_96449_a($par1EntityLivingBase, $par2, $par4, $par6, $var13, $var9, $var10); if ($rt_suspending()) { break main; } return; case 2: nms_FontRenderer_renderString(var$11, $var13, $var16, var$16, var$17, var$18); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par4, $par6, $var9, $var13, var$7, $var10, var$9, $var12, var$11, var$12, var$13, $var15, $var16, var$16, var$17, var$18, $ptr); }, nms_RendererLivingEntity_func_110813_b = ($this, $par1EntityLivingBase) => { let var$2, var$3; var$2 = nms_Minecraft_theMinecraft; var$3 = var$2 !== null && var$2.$gameSettings.$hideGUI ? 0 : 1; return var$3 && $par1EntityLivingBase !== $this.$renderManager.$livingPlayer && !$par1EntityLivingBase.$isInvisibleToPlayer(var$2.$thePlayer) && $par1EntityLivingBase.$riddenByEntity === null ? 1 : 0; }, nms_RendererLivingEntity_func_96449_a = ($this, $par1EntityLivingBase, $par2, $par4, $par6, $par8Str, $par9, $par10) => { let var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8Str = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1EntityLivingBase.$isPlayerSleeping()) { var$8 = 64; $ptr = 1; continue main; } $par4 = $par4 - 1.5; var$8 = 64; $ptr = 2; continue main; case 1: nms_RendererLivingEntity_renderLivingLabel($this, $par1EntityLivingBase, $par8Str, $par2, $par4, $par6, var$8); if ($rt_suspending()) { break main; } return; case 2: nms_RendererLivingEntity_renderLivingLabel($this, $par1EntityLivingBase, $par8Str, $par2, $par4, $par6, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par4, $par6, $par8Str, $par9, $par10, var$8, $ptr); }, nms_RendererLivingEntity_renderLivingLabel = ($this, $par1EntityLivingBase, $par2Str, $par3, $par5, $par7, $par9) => { let $var15, var$8, var$9, $var10, var$11, var$12, var$13, var$14, $var16, $var17, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var15 = $thread.pop();$par9 = $thread.pop();$par7 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par2Str = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var15 = $this.$renderManager; var$8 = $var15.$livingPlayer; var$9 = $par1EntityLivingBase.$posX - var$8.$posX; $var10 = $par1EntityLivingBase.$posY - var$8.$posY; var$11 = $par1EntityLivingBase.$posZ - var$8.$posZ; if (var$9 * var$9 + $var10 * $var10 + var$11 * var$11 > $rt_imul($par9, $par9)) return; var$8 = $var15.$fontRenderer2; nleg_EaglerAdapterGL30_glPushMatrix(); var$12 = $par3 + 0.0; var$13 = $par5 + $par1EntityLivingBase.$height2 + 0.5; var$14 = $par7; $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = var$12; $par1EntityLivingBase.$y = var$13; $par1EntityLivingBase.$z = var$14; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityLivingBase.$sb = $var15; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_normalSerial = nleg_EaglerAdapterGL30_normalSerial + 1 | 0; var$12 = jl_Math_sqrt(1.0); var$13 = 0.0 / var$12; nleg_EaglerAdapterGL30_normalX = var$13; nleg_EaglerAdapterGL30_normalY = 1.0 / var$12; nleg_EaglerAdapterGL30_normalZ = var$13; var$12 = -$this.$renderManager.$playerViewY; $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.0; $par1EntityLivingBase.$y = 1.0; $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityLivingBase.$sb = $var15; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$12 = $this.$renderManager.$playerViewX; $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 1.0; $par1EntityLivingBase.$y = 0.0; $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityLivingBase.$sb = $var15; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = (-0.0266666691750288); $par1EntityLivingBase.$y = (-0.0266666691750288); $par1EntityLivingBase.$z = 0.0266666691750288; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityLivingBase.$sb = $var15; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glDisable(2896); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glDisable(2929); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nlea_Tessellator_$callClinit(); $var15 = nlea_Tessellator_instance; $var16 = 0; if ($par2Str === $rt_s(1863)) $par9 = 1; else if (!($rt_s(1863) instanceof jl_String)) $par9 = 0; else { $par1EntityLivingBase = $rt_s(1863); $par9 = $par2Str.$nativeString !== $par1EntityLivingBase.$nativeString ? 0 : 1; } if ($par9) $var16 = (-10); nleg_EaglerAdapterGL30_glDisable(3553); if ($var15.$isDrawing) nlea_Tessellator_draw($var15); $var15.$isDrawing = 1; $var15.$vertexCount = 0; $var15.$rawBufferIndex = 0; $var15.$addedVertices = 0; $var15.$drawMode = 7; $var15.$hasNormals = 0; $var15.$hasColor = 0; $var15.$hasTexture = 0; $var15.$hasBrightness = 0; $var15.$isColorDisabled = 0; $var17 = nms_FontRenderer_getStringWidth(var$8, $par2Str) / 2 | 0; nlea_Tessellator_setColorRGBA($var15, 0, 0, 0, 63); $par5 = ( -$var17 | 0) - 1 | 0; $par7 = (-1) + $var16 | 0; nlea_Tessellator_addVertex($var15, $par5, $par7, 0.0); $par3 = 8 + $var16 | 0; nlea_Tessellator_addVertex($var15, $par5, $par3, 0.0); $par5 = $var17 + 1 | 0; nlea_Tessellator_addVertex($var15, $par5, $par3, 0.0); nlea_Tessellator_addVertex($var15, $par5, $par7, 0.0); nlea_Tessellator_draw($var15); nleg_EaglerAdapterGL30_glEnable(3553); $par9 = ( -nms_FontRenderer_getStringWidth(var$8, $par2Str) | 0) / 2 | 0; $var17 = 553648127; var$8.$randomStyle = 0; var$8.$boldStyle = 0; var$8.$italicStyle = 0; var$8.$underlineStyle = 0; var$8.$strikethroughStyle = 0; var$17 = 0; $ptr = 1; case 1: nms_FontRenderer_renderString(var$8, $par2Str, $par9, $var16, $var17, var$17); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(2929); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } $par9 = ( -nms_FontRenderer_getStringWidth(var$8, $par2Str) | 0) / 2 | 0; $var17 = (-1); var$8.$randomStyle = 0; var$8.$boldStyle = 0; var$8.$italicStyle = 0; var$8.$underlineStyle = 0; var$8.$strikethroughStyle = 0; var$17 = 0; $ptr = 2; case 2: nms_FontRenderer_renderString(var$8, $par2Str, $par9, $var16, $var17, var$17); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2Str, $par3, $par5, $par7, $par9, $var15, var$8, var$9, $var10, var$11, var$12, var$13, var$14, $var16, $var17, var$17, $ptr); }, nms_RendererLivingEntity__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1434); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RendererLivingEntity_RES_ITEM_GLINT = var$1; }, nms_RenderLiving = $rt_classWithoutFields(nms_RendererLivingEntity), nms_RenderLiving_func_130007_b = ($this, $par1EntityLiving) => { let var$2, var$3, var$4, var$5, var$6, var$7; a: { b: { if (nms_RendererLivingEntity_func_110813_b($this, $par1EntityLiving)) { var$2 = $par1EntityLiving.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[139]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$watchedObject.$value2 != 1 ? 0 : 1) break b; var$2 = $par1EntityLiving.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[138]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = var$6.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$3 = var$2.$key; if (var$6 !== var$3 && !(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if ((var$2.$watchedObject.$nativeString.length <= 0 ? 0 : 1) && $par1EntityLiving === $this.$renderManager.$field_96451_i) break b; } var$4 = 0; break a; } var$4 = 1; } return var$4; }, nms_RenderLiving_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderLiving_func_110827_b = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $var10, var$8, $var11, $var12, $var32, $var14, $var16, $var18, $var20, $var22, $var38, $var24, $var26, $var28, $var30, $var36, $var34, $var40, $var42, $var47, $var48; $var10 = $par1EntityLiving.$leashedToEntity; if ($var10 !== null) { var$8 = $par4 - (1.6 - $par1EntityLiving.$height2) * 0.5; nlea_Tessellator_$callClinit(); $var11 = nlea_Tessellator_instance; $par4 = $var10.$prevRotationYaw; $var12 = $var10.$rotationYaw; $var32 = $par9 * 0.5; $var12 = ($par4 + ($var12 - $par4) * $var32) * 0.01745329238474369; $par4 = $var10.$prevRotationPitch; $var14 = ($par4 + ($var10.$rotationPitch - $par4) * $var32) * 0.01745329238474369; $var16 = jl_Math_cos($var12); $var18 = jl_Math_sin($var12); $var20 = jl_Math_sin($var14); if ($var10 instanceof nms_EntityHanging) { $var16 = 0.0; $var18 = 0.0; $var20 = (-1.0); } $var22 = jl_Math_cos($var14); $par4 = $var10.$prevPosX; $var12 = $var10.$posX; $var38 = $par9; $var24 = $par4 + ($var12 - $par4) * $var38 - $var16 * 0.7 - $var18 * 0.5 * $var22; $var12 = $var10.$prevPosY + $var10.$getEyeHeight() * 0.7; $var26 = $var12 + ($var10.$posY + $var10.$getEyeHeight() * 0.7 - $var12) * $var38 - $var20 * 0.5 - 0.25; $var12 = $var10.$prevPosZ; $var28 = $var12 + ($var10.$posZ - $var12) * $var38 - $var18 * 0.7 + $var16 * 0.5 * $var22; $var12 = $par1EntityLiving.$prevRenderYawOffset; $var30 = ($var12 + ($par1EntityLiving.$renderYawOffset - $var12) * $var38) * 0.01745329238474369 + 1.5707963267948966; $par4 = jl_Math_cos($var30) * $par1EntityLiving.$width1 * 0.4; $var12 = jl_Math_sin($var30) * $par1EntityLiving.$width1 * 0.4; $var32 = $par1EntityLiving.$prevPosX; $var32 = $var32 + ($par1EntityLiving.$posX - $var32) * $var38 + $par4; $var36 = $par1EntityLiving.$prevPosY; $var34 = $var36 + ($par1EntityLiving.$posY - $var36) * $var38; $var36 = $par1EntityLiving.$prevPosZ; $var36 = $var36 + ($par1EntityLiving.$posZ - $var36) * $var38 + $var12; $par2 = $par2 + $par4; $par4 = $par6 + $var12; $var38 = $var24 - $var32; $var40 = $var26 - $var34; $var42 = $var28 - $var36; nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2884); if ($var11.$isDrawing) nlea_Tessellator_draw($var11); $var11.$isDrawing = 1; $var11.$vertexCount = 0; $var11.$rawBufferIndex = 0; $var11.$addedVertices = 0; $var11.$drawMode = 5; $var11.$hasNormals = 0; $var11.$hasColor = 0; $var11.$hasTexture = 0; $var11.$hasBrightness = 0; $var11.$isColorDisabled = 0; $var47 = 0; while ($var47 <= 24) { if ($var47 % 2 | 0) nlea_Tessellator_setColorRGBA($var11, 89, 71, 53, 255); else nlea_Tessellator_setColorRGBA($var11, 127, 102, 76, 255); $par8 = $var47; $var48 = $par8 / 24.0; $par6 = $var48; $var12 = $par2 + $var38 * $par6; $var32 = $var12 + 0.0; $var36 = var$8 + $var40 * ($var48 * $var48 + $var48) * 0.5 + (24.0 - $par8) / 18.0 + 0.125; $par6 = $par4 + $var42 * $par6; nlea_Tessellator_addVertex($var11, $var32, $var36, $par6); nlea_Tessellator_addVertex($var11, $var12 + 0.025, $var36 + 0.025, $par6); $var47 = $var47 + 1 | 0; } nlea_Tessellator_draw($var11); if ($var11.$isDrawing) nlea_Tessellator_draw($var11); $var11.$isDrawing = 1; $var11.$vertexCount = 0; $var11.$rawBufferIndex = 0; $var11.$addedVertices = 0; $var11.$drawMode = 5; $var11.$hasNormals = 0; $var11.$hasColor = 0; $var11.$hasTexture = 0; $var11.$hasBrightness = 0; $var11.$isColorDisabled = 0; $var47 = 0; while ($var47 <= 24) { if ($var47 % 2 | 0) nlea_Tessellator_setColorRGBA($var11, 89, 71, 53, 255); else nlea_Tessellator_setColorRGBA($var11, 127, 102, 76, 255); $par8 = $var47; $var48 = $par8 / 24.0; $var32 = $var48; $var36 = $par2 + $var38 * $var32; $var14 = $var36 + 0.0; $par6 = var$8 + $var40 * ($var48 * $var48 + $var48) * 0.5 + (24.0 - $par8) / 18.0 + 0.125; $var12 = $par6 + 0.025; $var32 = $par4 + $var42 * $var32; nlea_Tessellator_addVertex($var11, $var14, $var12, $var32); nlea_Tessellator_addVertex($var11, $var36 + 0.025, $par6, $var32 + 0.025); $var47 = $var47 + 1 | 0; } nlea_Tessellator_draw($var11); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glEnable(2884); } }, nms_RenderLiving_func_110813_b = ($this, $par1EntityLivingBase) => { let var$2, var$3, var$4, var$5, var$6, var$7; a: { b: { $par1EntityLivingBase = $par1EntityLivingBase; if (nms_RendererLivingEntity_func_110813_b($this, $par1EntityLivingBase)) { var$2 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[139]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = jl_Integer_hashCode(var$3.$value0); var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$3, var$2.$key))) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$watchedObject.$value2 != 1 ? 0 : 1) break b; var$2 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[138]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$6 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$6 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { var$7 = var$2.$key; if (var$3 !== var$7 && !jl_Integer_equals(var$3, var$7) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if ((var$2.$watchedObject.$nativeString.length <= 0 ? 0 : 1) && $par1EntityLivingBase === $this.$renderManager.$field_96451_i) break b; } var$4 = 0; break a; } var$4 = 1; } return var$4; }, nms_RenderLiving_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: $this.$doRenderLiving0($par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderSpider = $rt_classWithoutFields(nms_RenderLiving), nms_RenderSpider_spiderEyesTextures = null, nms_RenderSpider_spiderTextures = null, nms_RenderSpider_$callClinit = () => { nms_RenderSpider_$callClinit = $rt_eraseClinit(nms_RenderSpider); nms_RenderSpider__clinit_(); }, nms_RenderSpider__init_ = $this => { let var$1, var$2; nms_RenderSpider_$callClinit(); var$1 = nms_ModelSpider__init_(); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 1.0; $this.$renderPassModel = nms_ModelSpider__init_(); }, nms_RenderSpider__init_0 = () => { let var_0 = new nms_RenderSpider(); nms_RenderSpider__init_(var_0); return var_0; }, nms_RenderSpider_setSpiderDeathMaxRotation = ($this, $par1EntitySpider) => { return 180.0; }, nms_RenderSpider_setSpiderEyeBrightness = ($this, $par1EntitySpider, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntitySpider = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par2) return (-1); nms_RenderSpider_$callClinit(); var$4 = nms_RenderSpider_spiderEyesTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$4); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glBlendFunc(1, 1); $par1EntitySpider = $par1EntitySpider.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[128]; if (var$5 === null) { $par1EntitySpider = $par1EntitySpider.$elementData.data[0]; while ($par1EntitySpider !== null && $par1EntitySpider.$key !== null) { $par1EntitySpider = $par1EntitySpider.$next3; } } else { var$6 = var$5.$value0; var$7 = $par1EntitySpider.$elementData.data; $par1EntitySpider = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par1EntitySpider !== null) { if ($par1EntitySpider.$origKeyHash == var$6) { var$4 = $par1EntitySpider.$key; if (var$5 !== var$4 && !jl_Integer_equals(var$5, var$4) ? 0 : 1) break; } $par1EntitySpider = $par1EntitySpider.$next3; } } $par1EntitySpider = $par1EntitySpider === null ? null : $par1EntitySpider.$value1; if (!(!($par1EntitySpider.$watchedObject.$value2 & 32) ? 0 : 1)) { if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } } else if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } a: { switch (nms_OpenGlHelper_lightmapTexUnit) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = 61680.0; nleg_EaglerAdapterGL30_tex1Y = 0.0; break a; default: if (jl_System_errCache === null) { $par1EntitySpider = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; jl_Object__init_(var$4); var$4.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntitySpider); $par1EntitySpider.$out0 = var$4; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$4); $par1EntitySpider.$sb = var$4; $par1EntitySpider.$buffer0 = $rt_createCharArray(32); $par1EntitySpider.$autoFlush = 0; $par1EntitySpider.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntitySpider; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break a; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = 61680.0; nleg_EaglerAdapterGL30_tex0Y = 0.0; } var$8 = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorSerial = var$8; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_colorSerial = var$8 + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntitySpider, $par2, $par3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_RenderSpider_getSpiderTextures = ($this, $par1EntitySpider) => { nms_RenderSpider_$callClinit(); return nms_RenderSpider_spiderTextures; }, nms_RenderSpider_getDeathMaxRotation = ($this, $par1EntityLivingBase) => { return 180.0; }, nms_RenderSpider_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderSpider_$callClinit(); $par1EntityLiving = nms_RenderSpider_spiderTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderSpider_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: $tmp = nms_RenderSpider_setSpiderEyeBrightness($this, $par1EntityLivingBase, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $ptr); }, nms_RenderSpider_getEntityTexture = ($this, $par1Entity) => { return $this.$getSpiderTextures($par1Entity); }, nms_RenderSpider__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1864); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderSpider_spiderEyesTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1865); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderSpider_spiderTextures = var$1; }, nms_RenderCaveSpider = $rt_classWithoutFields(nms_RenderSpider), nms_RenderCaveSpider_caveSpiderTextures = null, nms_RenderCaveSpider_$callClinit = () => { nms_RenderCaveSpider_$callClinit = $rt_eraseClinit(nms_RenderCaveSpider); nms_RenderCaveSpider__clinit_(); }, nms_RenderCaveSpider__init_ = $this => { let var$1, var$2; nms_RenderCaveSpider_$callClinit(); nms_RenderSpider_$callClinit(); var$1 = nms_ModelSpider__init_(); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 1.0; $this.$renderPassModel = nms_ModelSpider__init_(); $this.$shadowSize = $this.$shadowSize * 0.699999988079071; }, nms_RenderCaveSpider__init_0 = () => { let var_0 = new nms_RenderCaveSpider(); nms_RenderCaveSpider__init_(var_0); return var_0; }, nms_RenderCaveSpider_getSpiderTextures = ($this, $par1EntitySpider) => { nms_RenderCaveSpider_$callClinit(); return nms_RenderCaveSpider_caveSpiderTextures; }, nms_RenderCaveSpider_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { let var$3; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.699999988079071; $par1EntityLivingBase.$y = 0.699999988079071; $par1EntityLivingBase.$z = 0.699999988079071; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; jl_Object__init_(var$3); var$3.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$3); $par1EntityLivingBase.$sb = var$3; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }; let nms_RenderCaveSpider_getEntityTexture = ($this, $par1Entity) => { nms_RenderCaveSpider_$callClinit(); return nms_RenderCaveSpider_caveSpiderTextures; }, nms_RenderCaveSpider__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1866); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderCaveSpider_caveSpiderTextures = var$1; }; function nms_EntityAgeable() { let a = this; nms_EntityCreature.call(a); a.$field_98056_d = 0.0; a.$field_98057_e = 0.0; } let nms_EntityAgeable_interact = ($this, $par1EntityPlayer) => { let $var4, var$3, $var2, var$5, var$6, var$7, var$8, $var3, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var3 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();$var4 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = $par1EntityPlayer.$inventory; var$3 = $var4.$currentItem; $var2 = var$3 < 9 && var$3 >= 0 ? $var4.$mainInventory.data[var$3] : null; if ($var2 !== null) { var$5 = $var2.$itemID; nms_Item_$callClinit(); if (var$5 == nms_Item_monsterPlacer.$itemID0) { if (!$this.$worldObj.$isRemote) { var$3 = $var2.$itemDamage; nms_EntityList_$callClinit(); $var4 = nms_EntityList_IDtoClassMapping; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$3; } if (var$6 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { var$5 = var$6.$value0; var$7 = $var4.$elementData.data; $var4 = var$7[var$5 & (var$7.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$5) { var$8 = $var4.$key; if (var$6 !== var$8 && !(var$6 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $var4 = $var4.$next3; } } $var3 = $var4 === null ? null : $var4.$value1; if ($var3 !== null) { var$6 = $this.constructor; if (var$6 === null) $var4 = null; else { $var4 = var$6.classObject; if ($var4 === null) { $var4 = new jl_Class; $var4.$platformClass = var$6; var$6.classObject = $var4; } } if (otp_Platform_isAssignable($var4.$platformClass, $var3.$platformClass)) { $ptr = 1; continue main; } } } return 1; } } return 0; case 1: $tmp = $this.$createChild($this); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 === null) return 1; var$5 = (-24000); $ptr = 2; case 2: nms_EntityAgeable_setGrowingAge($var4, var$5); if ($rt_suspending()) { break main; } var$10 = $this.$posX; var$11 = $this.$posY; var$12 = $this.$posZ; $var4.$posX = var$10; $var4.$prevPosX = var$10; $var4.$lastTickPosX = var$10; var$11 = var$11 + $var4.$yOffset; $var4.$posY = var$11; $var4.$prevPosY = var$11; $var4.$lastTickPosY = var$11; $var4.$posZ = var$12; $var4.$prevPosZ = var$12; $var4.$lastTickPosZ = var$12; $var4.$rotationYaw = 0.0; $var4.$rotationPitch = 0.0; nms_Entity_setPosition($var4, var$10, var$11, var$12); var$6 = $this.$worldObj; var$5 = nms_World_spawnEntityInWorld(var$6, $var4); var$8 = var$6.$entityList; ju_HashMap_putImpl(var$8.$backingMap, $var4, var$8); if (!var$5) { var$6 = var$6.$entitySpawnQueue; ju_HashMap_putImpl(var$6.$backingMap, $var4, var$6); } var$8 = $var2.$stackTagCompound; if (var$8 !== null) { a: { var$8 = var$8.$tagMap; if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$13 = $rt_s(1525).$hashCode1; var$7 = var$8.$elementData.data; var$8 = var$7[var$13 & (var$7.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$13) { b: { var$14 = var$8.$key; if ($rt_s(1525) !== var$14) { if ($rt_s(1525) !== var$14) { if (var$14 instanceof jl_String) { var$14 = var$14; var$5 = $rt_s(1525).$nativeString !== var$14.$nativeString ? 0 : 1; } else var$5 = 0; } else var$5 = 1; if (!var$5) { var$5 = 0; break b; } } var$5 = 1; } if (var$5) break; } var$8 = var$8.$next3; } if (!(var$8 === null ? 0 : 1)) var$5 = 0; else { c: { var$6 = $var2.$stackTagCompound; var$14 = var$6.$tagMap; if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$13 = $rt_s(1525).$hashCode1; var$7 = var$14.$elementData.data; var$14 = var$7[var$13 & (var$7.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == var$13) { d: { $var3 = var$14.$key; if ($rt_s(1525) !== $var3) { if ($rt_s(1525) === $var3) var$5 = 1; else if (!($var3 instanceof jl_String)) var$5 = 0; else { $var3 = $var3; var$5 = $rt_s(1525).$nativeString !== $var3.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break d; } } var$5 = 1; } if (var$5) break; } var$14 = var$14.$next3; } if (!(var$14 === null ? 0 : 1)) { var$6 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$6.$name = $rt_s(1525); else var$6.$name = $rt_s(18); var$8 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$8.$elementCount = 0; var$15 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$15.data; var$8.$elementData = var$15; var$8.$loadFactor = 0.75; var$8.$threshold = var$7.length * 0.75 | 0; var$6.$tagMap = var$8; } else { var$6 = var$6.$tagMap; if ($rt_s(1525) === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$13 = $rt_s(1525).$hashCode1; var$7 = var$6.$elementData.data; var$6 = var$7[var$13 & (var$7.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$13) { f: { var$14 = var$6.$key; if ($rt_s(1525) !== var$14) { if ($rt_s(1525) === var$14) var$5 = 1; else if (!(var$14 instanceof jl_String)) var$5 = 0; else { var$14 = var$14; var$5 = $rt_s(1525).$nativeString !== var$14.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break f; } } var$5 = 1; } if (var$5) break; } var$6 = var$6.$next3; } } var$6 = var$6 === null ? null : var$6.$value1; } g: { var$6 = var$6.$tagMap; if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$13 = $rt_s(1526).$hashCode1; var$7 = var$6.$elementData.data; var$6 = var$7[var$13 & (var$7.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$13) { h: { var$14 = var$6.$key; if ($rt_s(1526) !== var$14) { if ($rt_s(1526) === var$14) var$5 = 1; else if (!(var$14 instanceof jl_String)) var$5 = 0; else { var$14 = var$14; var$5 = $rt_s(1526).$nativeString !== var$14.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break h; } } var$5 = 1; } if (var$5) break; } var$6 = var$6.$next3; } var$5 = var$6 === null ? 0 : 1; } } else var$5 = 0; if (var$5) { $var3 = nms_Item_itemsList.data[$var2.$itemID].$getItemDisplayName($var2); var$6 = $var2.$stackTagCompound; if (var$6 !== null) { i: { var$6 = var$6.$tagMap; if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = $rt_s(1525).$hashCode1; var$7 = var$6.$elementData.data; var$6 = var$7[var$5 & (var$7.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$5) { j: { var$14 = var$6.$key; if ($rt_s(1525) !== var$14) { if ($rt_s(1525) === var$14) var$3 = 1; else if (!(var$14 instanceof jl_String)) var$3 = 0; else { var$14 = var$14; var$3 = $rt_s(1525).$nativeString !== var$14.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { k: { var$6 = $var2.$stackTagCompound; var$14 = var$6.$tagMap; if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = $rt_s(1525).$hashCode1; var$7 = var$14.$elementData.data; var$14 = var$7[var$5 & (var$7.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == var$5) { l: { var$16 = var$14.$key; if ($rt_s(1525) !== var$16) { if ($rt_s(1525) === var$16) var$3 = 1; else if (!(var$16 instanceof jl_String)) var$3 = 0; else { var$16 = var$16; var$3 = $rt_s(1525).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$14 = var$14.$next3; } if (!(var$14 === null ? 0 : 1)) { var$16 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$16.$name = $rt_s(1525); else var$16.$name = $rt_s(18); var$6 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$15 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$15.data; var$6.$elementData = var$15; var$6.$loadFactor = 0.75; var$6.$threshold = var$7.length * 0.75 | 0; var$16.$tagMap = var$6; } else { var$6 = var$6.$tagMap; if ($rt_s(1525) === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { m: { if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = $rt_s(1525).$hashCode1; var$7 = var$6.$elementData.data; var$6 = var$7[var$5 & (var$7.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$5) { n: { var$14 = var$6.$key; if ($rt_s(1525) !== var$14) { if ($rt_s(1525) === var$14) var$3 = 1; else if (!(var$14 instanceof jl_String)) var$3 = 0; else { var$14 = var$14; var$3 = $rt_s(1525).$nativeString !== var$14.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break n; } } var$3 = 1; } if (var$3) break; } var$6 = var$6.$next3; } } var$16 = var$6 === null ? null : var$6.$value1; } o: { var$8 = var$16.$tagMap; if (!$rt_s(1526).$hashCode1) { var$13 = 0; while (true) { if (var$13 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$13) | 0; var$13 = var$13 + 1 | 0; } } } var$13 = $rt_s(1526).$hashCode1; var$7 = var$8.$elementData.data; var$8 = var$7[var$13 & (var$7.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$13) { p: { var$14 = var$8.$key; if ($rt_s(1526) !== var$14) { if ($rt_s(1526) === var$14) var$5 = 1; else if (!(var$14 instanceof jl_String)) var$5 = 0; else { var$14 = var$14; var$5 = $rt_s(1526).$nativeString !== var$14.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break p; } } var$5 = 1; } if (var$5) break; } var$8 = var$8.$next3; } if (var$8 === null ? 0 : 1) { q: { var$8 = var$16.$tagMap; if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break q; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$13 = $rt_s(1526).$hashCode1; var$7 = var$8.$elementData.data; var$8 = var$7[var$13 & (var$7.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$13) { r: { var$14 = var$8.$key; if ($rt_s(1526) !== var$14) { if ($rt_s(1526) === var$14) var$5 = 1; else if (!(var$14 instanceof jl_String)) var$5 = 0; else { var$14 = var$14; var$5 = $rt_s(1526).$nativeString !== var$14.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break r; } } var$5 = 1; } if (var$5) break; } var$8 = var$8.$next3; } if (!(var$8 === null ? 0 : 1)) $var3 = $rt_s(18); else { var$8 = var$16.$tagMap; if ($rt_s(1526) === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { s: { if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$13 = $rt_s(1526).$hashCode1; var$7 = var$8.$elementData.data; var$8 = var$7[var$13 & (var$7.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$13) { t: { var$14 = var$8.$key; if ($rt_s(1526) !== var$14) { if ($rt_s(1526) === var$14) var$5 = 1; else if (!(var$14 instanceof jl_String)) var$5 = 0; else { var$14 = var$14; var$5 = $rt_s(1526).$nativeString !== var$14.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break t; } } var$5 = 1; } if (var$5) break; } var$8 = var$8.$next3; } } $var3 = (var$8 === null ? null : var$8.$value1).$data1; } } } } $var4 = $var4.$dataWatcher; var$6 = $var4.$watchedObjects; jl_Integer_ensureIntegerCache(); var$14 = jl_Integer_integerCache.data[138]; if (var$14 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$13 = var$14.$value0; var$7 = var$6.$elementData.data; var$6 = var$7[var$13 & (var$7.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$13) { var$8 = var$6.$key; if (var$14 !== var$8 && !(var$14 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$8 = var$6 === null ? null : var$6.$value1; var$6 = var$8.$watchedObject; if ($var3 === var$6) var$5 = 1; else if (!(var$6 instanceof jl_String)) var$5 = 0; else { var$6 = var$6; var$5 = $var3.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$5) { var$8.$watchedObject = $var3; var$8.$watched = 1; $var4.$objectChanged = 1; } } if (!$par1EntityPlayer.$capabilities.$isCreativeMode) { var$5 = $var2.$stackSize - 1 | 0; $var2.$stackSize = var$5; if (var$5 <= 0) { $par1EntityPlayer = $par1EntityPlayer.$inventory; var$5 = $par1EntityPlayer.$currentItem; $var4 = null; var$7 = $par1EntityPlayer.$mainInventory; var$3 = var$7.data.length; if (var$5 >= var$3) { var$5 = var$5 - var$3 | 0; var$7 = $par1EntityPlayer.$armorInventory; } var$7.data[var$5] = $var4; } } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var4, var$3, $var2, var$5, var$6, var$7, var$8, $var3, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityAgeable_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); var$2 = $this.$dataWatcher; var$1 = new jl_Integer; var$1.$value0 = 0; nms_DataWatcher_addObject(var$2, 12, var$1); }, nms_EntityAgeable_getGrowingAge = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[140]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; }, nms_EntityAgeable_setGrowingAge = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$dataWatcher; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $par1; } var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[140]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; var$8 = var$4.$watchedObject; if (!(var$3 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$3.$value0 ? 1 : 0)) { var$4.$watchedObject = var$3; var$4.$watched = 1; var$2.$objectChanged = 1; } $par1 = nms_EntityAgeable_isChild($this); $ptr = 1; case 1: $this.$setScaleForAge($par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityAgeable_onLivingUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } if ($this.$worldObj.$isRemote) { var$1 = nms_EntityAgeable_isChild($this); $ptr = 2; continue main; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[140]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$1 = var$3.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$1 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$1) { var$5 = var$2.$key; if (var$3 !== var$5 && !(var$3 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$1 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; if (var$6 < 0) { var$1 = var$6 + 1 | 0; var$2 = $this.$dataWatcher; if (var$1 >= (-128) && var$1 <= 127) { jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$1 + 128 | 0]; } else { var$7 = new jl_Integer; var$7.$value0 = var$1; } var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[140]; if (var$5 === null) { var$8 = var$3.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$6 = var$5.$value0; var$4 = var$3.$elementData.data; var$8 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$6) { var$3 = var$8.$key; if (var$5 !== var$3 && !(var$5 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$5 = var$8 === null ? null : var$8.$value1; var$3 = var$5.$watchedObject; if (!(var$7 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$7.$value0 ? 1 : 0)) { var$5.$watchedObject = var$7; var$5.$watched = 1; var$2.$objectChanged = 1; } var$1 = nms_EntityAgeable_isChild($this); $ptr = 3; continue main; } if (var$6 <= 0) return; var$1 = var$6 + (-1) | 0; var$2 = $this.$dataWatcher; if (var$1 >= (-128) && var$1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$1; } var$5 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[140]; if (var$8 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$9 = var$8.$value0; var$4 = var$5.$elementData.data; var$5 = var$4[var$9 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { var$7 = var$5.$key; if (var$8 !== var$7 && !(var$8 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$7 = var$5 === null ? null : var$5.$value1; var$5 = var$7.$watchedObject; if (!(var$3 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3.$value0 ? 1 : 0)) { var$7.$watchedObject = var$3; var$7.$watched = 1; var$2.$objectChanged = 1; } var$1 = nms_EntityAgeable_isChild($this); $ptr = 4; continue main; case 2: $this.$setScaleForAge(var$1); if ($rt_suspending()) { break main; } return; case 3: $this.$setScaleForAge(var$1); if ($rt_suspending()) { break main; } return; case 4: $this.$setScaleForAge(var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_EntityAgeable_isChild = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[140]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$value0 >= 0 ? 0 : 1; }, nms_EntityAgeable_setScaleForAge = ($this, $par1) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = !$par1 ? 1.0 : 0.5; var$3 = $this.$field_98056_d * var$2; var$2 = $this.$field_98057_e * var$2; $ptr = 1; case 1: nms_Entity_setSize($this, var$3, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, $ptr); }; function nms_EntityAnimal() { let a = this; nms_EntityAgeable.call(a); a.$inLove = 0; a.$breeding = 0; } let nms_EntityAnimal_updateAITick = $this => { if (nms_EntityAgeable_getGrowingAge($this)) $this.$inLove = 0; }, nms_EntityAnimal_onLivingUpdate = $this => { let var$1, var$2, $var1, $var2, $var4, $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityAgeable_onLivingUpdate($this); if ($rt_suspending()) { break main; } if (nms_EntityAgeable_getGrowingAge($this)) $this.$inLove = 0; var$1 = $this.$inLove; if (var$1 <= 0) $this.$breeding = 0; else { var$2 = var$1 - 1 | 0; $this.$inLove = var$2; $var1 = $rt_s(1496); if (!(var$2 % 10 | 0)) { $var2 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var4 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var6 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$7 = $this.$worldObj; var$8 = $this.$posX; var$9 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7; var$12 = $this.$width1; var$8 = var$8 + var$11 * var$12 * 2.0; var$13 = var$12; var$14 = var$8 - var$13; var$8 = $this.$posY + 0.5; var$10 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$8 = var$8 + Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * $this.$height2; var$15 = $this.$posZ; var$16 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$16; var$13 = var$15 + Long_lo(Long_shru(var$16, 24)) / 1.6777216E7 * var$12 * 2.0 - var$13; var$2 = 0; var$9 = var$7.$worldAccesses; var$1 = $rt_compare(var$2, var$9.$size0); if (var$1 < 0) { if (var$2 >= 0 && var$1 < 0) { var$9 = var$9.$array.data[var$2]; $ptr = 2; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } } } return; case 2: nms_RenderGlobal_doSpawnParticle(var$9, $var1, var$14, var$8, var$13, $var2, $var4, $var6); if ($rt_suspending()) { break main; } var$2 = var$2 + 1 | 0; var$9 = var$7.$worldAccesses; var$1 = $rt_compare(var$2, var$9.$size0); if (var$1 >= 0) return; if (var$2 >= 0 && var$1 < 0) { var$9 = var$9.$array.data[var$2]; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $var1, $var2, $var4, $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityAnimal_attackEntity = ($this, $par1Entity, $par2) => { let $var3, var$4, var$5, $var8, $var7, var$8, var$9, var$10, $var5, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var5 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($par1Entity instanceof nms_EntityPlayer) { if ($par2 < 3.0) { $var3 = $par1Entity.$posX - $this.$posX; $this.$rotationYaw = jl_Math_atan2($par1Entity.$posZ - $this.$posZ, $var3) * 180.0 / 3.141592653589793 - 90.0; $this.$hasAttacked = 1; } $par1Entity = $par1Entity.$inventory; var$4 = $par1Entity.$currentItem; var$5 = $rt_compare(var$4, 9); $var8 = var$5 < 0 && var$4 >= 0 ? $par1Entity.$mainInventory.data[var$4] : null; if (!($var8 !== null && $this.$isBreedingItem(var$5 < 0 && var$4 >= 0 ? $par1Entity.$mainInventory.data[var$4] : null))) $this.$entityToAttack = null; } else if ($par1Entity instanceof nms_EntityAnimal) { $var8 = $par1Entity; if (!(nms_EntityAgeable_getGrowingAge($this) > 0 && nms_EntityAgeable_getGrowingAge($var8) < 0)) { if ($this.$inLove > 0) { var$5 = $var8.$inLove; if (var$5 > 0) { if ($var8.$entityToAttack === null) $var8.$entityToAttack = $this; if ($var8.$entityToAttack === $this && $par2 < 3.5) { $var8.$inLove = var$5 + 1 | 0; $this.$inLove = $this.$inLove + 1 | 0; var$5 = $this.$breeding + 1 | 0; $this.$breeding = var$5; if (!(var$5 % 4 | 0)) { $par1Entity = $this.$worldObj; $var7 = $rt_s(1496); $var3 = $this.$posX; var$8 = $this.$rand; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; $par2 = Long_lo(Long_shru(var$9, 24)) / 1.6777216E7; var$10 = $this.$width1; $var3 = $var3 + $par2 * var$10 * 2.0; $var5 = var$10; var$12 = $var3 - $var5; $var3 = $this.$posY + 0.5; var$13 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$13; var$14 = $var3 + Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * $this.$height2; $var3 = $this.$posZ; var$9 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$15 = $var3 + Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 * var$10 * 2.0 - $var5; var$16 = 0.0; $var3 = 0.0; $var5 = 0.0; var$5 = 0; var$8 = $par1Entity.$worldAccesses; var$4 = $rt_compare(var$5, var$8.$size0); if (var$4 < 0) { if (var$5 >= 0 && var$4 < 0) { var$8 = var$8.$array.data[var$5]; $ptr = 2; continue main; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } } if ($this.$breeding != 60) break a; else { $ptr = 1; continue main; } } $this.$breeding = 0; break a; } } $this.$breeding = 0; $this.$entityToAttack = null; } else if ($par2 < 2.5) $this.$hasAttacked = 1; } } return; case 1: nms_EntityAnimal_procreate($this, $var8); if ($rt_suspending()) { break main; } return; case 2: nms_RenderGlobal_doSpawnParticle(var$8, $var7, var$12, var$14, var$15, var$16, $var3, $var5); if ($rt_suspending()) { break main; } var$5 = var$5 + 1 | 0; var$8 = $par1Entity.$worldAccesses; var$4 = $rt_compare(var$5, var$8.$size0); if (var$4 >= 0) { if ($this.$breeding != 60) return; $ptr = 1; continue main; } if (var$5 >= 0 && var$4 < 0) { var$8 = var$8.$array.data[var$5]; continue main; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $var3, var$4, var$5, $var8, $var7, var$8, var$9, var$10, $var5, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityAnimal_procreate = ($this, $par1EntityAnimal) => { let $var2, $var3, $var4, $var6, $var8, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1EntityAnimal = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $this.$createChild($par1EntityAnimal); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 === null) return; $var3 = 6000; $ptr = 2; case 2: nms_EntityAgeable_setGrowingAge($this, $var3); if ($rt_suspending()) { break main; } $var3 = 6000; $ptr = 3; case 3: nms_EntityAgeable_setGrowingAge($par1EntityAnimal, $var3); if ($rt_suspending()) { break main; } $this.$inLove = 0; $this.$breeding = 0; $this.$entityToAttack = null; $par1EntityAnimal.$entityToAttack = null; $par1EntityAnimal.$breeding = 0; $par1EntityAnimal.$inLove = 0; $var3 = (-24000); $ptr = 4; case 4: nms_EntityAgeable_setGrowingAge($var2, $var3); if ($rt_suspending()) { break main; } $var4 = $this.$posX; $var6 = $this.$posY; $var8 = $this.$posZ; var$7 = $this.$rotationYaw; var$8 = $this.$rotationPitch; $var2.$posX = $var4; $var2.$prevPosX = $var4; $var2.$lastTickPosX = $var4; var$9 = $var6 + $var2.$yOffset; $var2.$posY = var$9; $var2.$prevPosY = var$9; $var2.$lastTickPosY = var$9; $var2.$posZ = $var8; $var2.$prevPosZ = $var8; $var2.$lastTickPosZ = $var8; $var2.$rotationYaw = var$7; $var2.$rotationPitch = var$8; nms_Entity_setPosition($var2, $var4, var$9, $var8); $var3 = 0; var$10 = 24; while ($var3 < 7) { $var4 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var6 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var8 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$11 = $this.$worldObj; $par1EntityAnimal = $rt_s(1496); var$9 = $this.$posX; var$12 = $this.$rand; var$13 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$13; var$8 = Long_lo(Long_shru(var$13, var$10)) / 1.6777216E7; var$7 = $this.$width1; var$9 = var$9 + var$8 * var$7 * 2.0; var$14 = var$7; var$15 = var$9 - var$14; var$9 = $this.$posY + 0.5; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$13; var$9 = var$9 + Long_lo(Long_shru(var$13, var$10)) / 1.6777216E7 * $this.$height2; var$16 = $this.$posZ; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$13; var$14 = var$16 + Long_lo(Long_shru(var$13, var$10)) / 1.6777216E7 * var$7 * 2.0 - var$14; var$17 = 0; var$12 = var$11.$worldAccesses; var$18 = $rt_compare(var$17, var$12.$size0); if (var$18 < 0) { if (var$17 >= 0 && var$18 < 0) { var$12 = var$12.$array.data[var$17]; $ptr = 5; continue main; } $par1EntityAnimal = new jl_IndexOutOfBoundsException; $par1EntityAnimal.$suppressionEnabled = 1; $par1EntityAnimal.$writableStackTrace = 1; $rt_throw($par1EntityAnimal); } $var3 = $var3 + 1 | 0; } $par1EntityAnimal = $this.$worldObj; $var3 = nms_World_spawnEntityInWorld($par1EntityAnimal, $var2); var$12 = $par1EntityAnimal.$entityList; ju_HashMap_putImpl(var$12.$backingMap, $var2, var$12); if (!$var3) { $par1EntityAnimal = $par1EntityAnimal.$entitySpawnQueue; ju_HashMap_putImpl($par1EntityAnimal.$backingMap, $var2, $par1EntityAnimal); } return; case 5: nms_RenderGlobal_doSpawnParticle(var$12, $par1EntityAnimal, var$15, var$9, var$14, $var4, $var6, $var8); if ($rt_suspending()) { break main; } var$17 = var$17 + 1 | 0; while (true) { var$12 = var$11.$worldAccesses; var$18 = $rt_compare(var$17, var$12.$size0); if (var$18 < 0) { if (var$17 >= 0 && var$18 < 0) { var$12 = var$12.$array.data[var$17]; continue main; } $par1EntityAnimal = new jl_IndexOutOfBoundsException; $par1EntityAnimal.$suppressionEnabled = 1; $par1EntityAnimal.$writableStackTrace = 1; $rt_throw($par1EntityAnimal); } $var3 = $var3 + 1 | 0; if ($var3 >= 7) break; $var4 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var6 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var8 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$11 = $this.$worldObj; $par1EntityAnimal = $rt_s(1496); var$9 = $this.$posX; var$12 = $this.$rand; var$13 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$13; var$8 = Long_lo(Long_shru(var$13, var$10)) / 1.6777216E7; var$7 = $this.$width1; var$9 = var$9 + var$8 * var$7 * 2.0; var$14 = var$7; var$15 = var$9 - var$14; var$9 = $this.$posY + 0.5; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$13; var$9 = var$9 + Long_lo(Long_shru(var$13, var$10)) / 1.6777216E7 * $this.$height2; var$16 = $this.$posZ; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$13; var$14 = var$16 + Long_lo(Long_shru(var$13, var$10)) / 1.6777216E7 * var$7 * 2.0 - var$14; var$17 = 0; } $par1EntityAnimal = $this.$worldObj; $var3 = nms_World_spawnEntityInWorld($par1EntityAnimal, $var2); var$12 = $par1EntityAnimal.$entityList; ju_HashMap_putImpl(var$12.$backingMap, $var2, var$12); if (!$var3) { $par1EntityAnimal = $par1EntityAnimal.$entitySpawnQueue; ju_HashMap_putImpl($par1EntityAnimal.$backingMap, $var2, $par1EntityAnimal); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityAnimal, $var2, $var3, $var4, $var6, $var8, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityAnimal_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; $this.$fleeingTick = 60; if (!$this.$isAIEnabled()) { var$3 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $this.$attributeMap.$attributes; if (var$3 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { var$5 = var$3.$field_111115_a; if (!var$5.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$5.$nativeString.length) break a; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$8 = var$4.$elementData.data; var$4 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$7) { var$5 = var$4.$key; if (var$3 !== var$5 && !jl_Object_equals(var$3, var$5) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; nms_EntityCreature_$callClinit(); var$9 = nms_EntityCreature_field_110179_h; var$4 = var$5.$field_111135_e; if (var$9 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$10 = var$9.$msb; var$11 = var$9.$lsb; var$12 = Long_xor(var$10, var$11); var$7 = Long_hi(var$12) ^ Long_lo(var$12); var$8 = var$4.$elementData.data; var$4 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$7) { b: { var$3 = var$4.$key; if (var$9 !== var$3) { c: { if (var$3 instanceof nle_ProfileUUID) { var$3 = var$3; if (Long_eq(var$3.$lsb, var$11) && Long_eq(var$3.$msb, var$10)) { var$13 = 1; break c; } } var$13 = 0; } if (!var$13) { var$13 = 0; break b; } } var$13 = 1; } if (var$13) break; } var$4 = var$4.$next3; } } if ((var$4 === null ? null : var$4.$value1) === null) nms_ModifiableAttributeInstance_applyModifier(var$5, nms_EntityCreature_field_110181_i); } $this.$entityToAttack = null; $this.$inLove = 0; $ptr = 1; case 1: $tmp = nms_EntityLivingBase_attackEntityFrom($this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } var$13 = $tmp; return var$13; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntityAnimal_getBlockPathWeight = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6; var$4 = nms_World_getBlockId($this.$worldObj, $par1, $par2 - 1 | 0, $par3); nms_Block_$callClinit(); if (var$4 == nms_Block_grass.$blockID) var$5 = 10.0; else { var$6 = $this.$worldObj; var$5 = var$6.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do(var$6, $par1, $par2, $par3, 1)] - 0.5; } return var$5; }, nms_EntityAnimal_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = nms_EntityAgeable_getGrowingAge($this); var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(1867); var$4.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1867), var$4); var$2 = $this.$inLove; var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagInt; $par1NBTTagCompound.$name = $rt_s(1868); $par1NBTTagCompound.$data0 = var$2; ju_HashMap_putImpl(var$4, $rt_s(1868), $par1NBTTagCompound); }, nms_EntityAnimal_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NBTTagCompound = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); if ($rt_suspending()) { break main; } var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1867).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1867).$nativeString.length) break a; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1867).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(1867) !== var$6) { if ($rt_s(1867) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1867).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1867) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(1867).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1867).$nativeString.length) break c; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1867).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($rt_s(1867) !== var$6) { if ($rt_s(1867) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1867).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } $ptr = 2; case 2: a: { nms_EntityAgeable_setGrowingAge($this, var$3); if ($rt_suspending()) { break main; } var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1868).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1868).$nativeString.length) break a; $rt_s(1868).$hashCode1 = (31 * $rt_s(1868).$hashCode1 | 0) + $rt_s(1868).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$3 = $rt_s(1868).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { b: { var$6 = var$2.$key; if ($rt_s(1868) !== var$6) { if ($rt_s(1868) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(1868).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1868) === null) { var$6 = $par1NBTTagCompound.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { c: { if (!$rt_s(1868).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1868).$nativeString.length) break c; $rt_s(1868).$hashCode1 = (31 * $rt_s(1868).$hashCode1 | 0) + $rt_s(1868).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(1868).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$6 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { d: { $par1NBTTagCompound = var$6.$key; if ($rt_s(1868) !== $par1NBTTagCompound) { if ($rt_s(1868) === $par1NBTTagCompound) var$3 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$3 = $rt_s(1868).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$6 = var$6.$next3; } } var$3 = (var$6 === null ? null : var$6.$value1).$data0; } $this.$inLove = var$3; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NBTTagCompound, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_EntityAnimal_findPlayerToAttack = $this => { let $var4, $var5, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var2, var$11, $var3, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var3 = $thread.pop();var$11 = $thread.pop();$var2 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$fleeingTick > 0) return null; if ($this.$inLove > 0) { $var4 = $this.$worldObj; $var5 = $this.constructor; if ($var5 === null) var$3 = null; else { var$3 = $var5.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $var5; $var5.classObject = var$3; } } $var5 = $this.$boundingBox; var$4 = $var5.$minX - 8.0; var$5 = $var5.$minY - 8.0; var$6 = $var5.$minZ - 8.0; var$7 = $var5.$maxX + 8.0; var$8 = $var5.$maxY + 8.0; var$9 = $var5.$maxZ + 8.0; $var2 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$11 = $var2.$nextPoolIndex; $var5 = $var2.$listAABB; $var3 = $var5.$size0; var$13 = $rt_compare(var$11, $var3); if (var$13 >= 0) { var$14 = new nms_AxisAlignedBB; var$14.$minX = var$4; var$14.$minY = var$5; var$14.$minZ = var$6; var$14.$maxX = var$7; var$14.$maxY = var$8; var$14.$maxZ = var$9; ju_ArrayList_ensureCapacity($var5, $var3 + 1 | 0); var$15 = $var5.$array.data; var$11 = $var5.$size0; $var5.$size0 = var$11 + 1 | 0; var$15[var$11] = var$14; $var5.$modCount = $var5.$modCount + 1 | 0; } else if (var$11 >= 0 && var$13 < 0) { var$14 = $var5.$array.data[var$11]; var$14.$minX = var$4; var$14.$minY = var$5; var$14.$minZ = var$6; var$14.$maxX = var$7; var$14.$maxY = var$8; var$14.$maxZ = var$9; } else { $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var4); $rt_throw($var4); } $var2.$nextPoolIndex = $var2.$nextPoolIndex + 1 | 0; $var5 = null; $ptr = 2; continue main; } if (!nms_EntityAgeable_getGrowingAge($this)) { $var4 = $this.$worldObj; $var5 = $rt_cls(nms_EntityPlayer); $var2 = $this.$boundingBox; var$5 = $var2.$minX - 8.0; var$6 = $var2.$minY - 8.0; var$7 = $var2.$minZ - 8.0; var$8 = $var2.$maxX + 8.0; var$9 = $var2.$maxY + 8.0; var$4 = $var2.$maxZ + 8.0; var$14 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var3 = var$14.$nextPoolIndex; $var2 = var$14.$listAABB; var$13 = $var2.$size0; var$11 = $rt_compare($var3, var$13); if (var$11 >= 0) { var$3 = new nms_AxisAlignedBB; var$3.$minX = var$5; var$3.$minY = var$6; var$3.$minZ = var$7; var$3.$maxX = var$8; var$3.$maxY = var$9; var$3.$maxZ = var$4; ju_ArrayList_ensureCapacity($var2, var$13 + 1 | 0); var$15 = $var2.$array.data; var$11 = $var2.$size0; $var2.$size0 = var$11 + 1 | 0; var$15[var$11] = var$3; $var2.$modCount = $var2.$modCount + 1 | 0; } else if ($var3 >= 0 && var$11 < 0) { var$3 = $var2.$array.data[$var3]; var$3.$minX = var$5; var$3.$minY = var$6; var$3.$minZ = var$7; var$3.$maxX = var$8; var$3.$maxY = var$9; var$3.$maxZ = var$4; } else { $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var4); $rt_throw($var4); } var$14.$nextPoolIndex = var$14.$nextPoolIndex + 1 | 0; $var2 = null; $ptr = 1; continue main; } if (nms_EntityAgeable_getGrowingAge($this) <= 0) return null; $var4 = $this.$worldObj; $var5 = $this.constructor; if ($var5 === null) var$3 = null; else { var$3 = $var5.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $var5; $var5.classObject = var$3; } } $var5 = $this.$boundingBox; var$5 = $var5.$minX - 8.0; var$6 = $var5.$minY - 8.0; var$7 = $var5.$minZ - 8.0; var$8 = $var5.$maxX + 8.0; var$9 = $var5.$maxY + 8.0; var$4 = $var5.$maxZ + 8.0; var$14 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var3 = var$14.$nextPoolIndex; $var5 = var$14.$listAABB; var$11 = $var5.$size0; var$13 = $rt_compare($var3, var$11); if (var$13 >= 0) { $var2 = new nms_AxisAlignedBB; $var2.$minX = var$5; $var2.$minY = var$6; $var2.$minZ = var$7; $var2.$maxX = var$8; $var2.$maxY = var$9; $var2.$maxZ = var$4; ju_ArrayList_ensureCapacity($var5, var$11 + 1 | 0); var$15 = $var5.$array.data; var$11 = $var5.$size0; $var5.$size0 = var$11 + 1 | 0; var$15[var$11] = $var2; $var5.$modCount = $var5.$modCount + 1 | 0; } else if ($var3 >= 0 && var$13 < 0) { $var2 = $var5.$array.data[$var3]; $var2.$minX = var$5; $var2.$minY = var$6; $var2.$minZ = var$7; $var2.$maxX = var$8; $var2.$maxY = var$9; $var2.$maxZ = var$4; } else { $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var4); $rt_throw($var4); } var$14.$nextPoolIndex = var$14.$nextPoolIndex + 1 | 0; $var5 = null; $ptr = 3; continue main; case 1: $tmp = nms_World_selectEntitiesWithinAABB($var4, $var5, var$3, $var2); if ($rt_suspending()) { break main; } $var2 = $tmp; $var3 = 0; a: { while (true) { var$11 = $rt_compare($var3, $var2.$size0); if (var$11 >= 0) return null; if ($var3 < 0) break a; if (var$11 >= 0) break a; $var5 = $var2.$array.data[$var3]; $var4 = $var5.$inventory; var$11 = $var4.$currentItem; var$13 = $rt_compare(var$11, 9); var$3 = var$13 < 0 && var$11 >= 0 ? $var4.$mainInventory.data[var$11] : null; if (var$3 !== null && $this.$isBreedingItem(var$13 < 0 && var$11 >= 0 ? $var4.$mainInventory.data[var$11] : null)) break; $var3 = $var3 + 1 | 0; } return $var5; } $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); case 2: $tmp = nms_World_selectEntitiesWithinAABB($var4, var$3, var$14, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; $var3 = 0; a: { while (true) { var$11 = $rt_compare($var3, $var2.$size0); if (var$11 >= 0) return null; if ($var3 < 0) break a; if (var$11 >= 0) break a; $var4 = $var2.$array.data[$var3]; if ($var4 !== $this && $var4.$inLove > 0) break; $var3 = $var3 + 1 | 0; } return $var4; } $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); case 3: $tmp = nms_World_selectEntitiesWithinAABB($var4, var$3, $var2, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; $var3 = 0; a: { while (true) { var$11 = $rt_compare($var3, $var2.$size0); if (var$11 >= 0) return null; if ($var3 < 0) break a; if (var$11 >= 0) break a; $var4 = $var2.$array.data[$var3]; if ($var4 !== $this && nms_EntityAgeable_getGrowingAge($var4) < 0) break; $var3 = $var3 + 1 | 0; } return $var4; } $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var4, $var5, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var2, var$11, $var3, var$13, var$14, var$15, $ptr); }, nms_EntityAnimal_getCanSpawnHere = $this => { let var$1, $var1, $var2, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$posX; $var1 = var$1 | 0; if (var$1 < $var1) $var1 = $var1 - 1 | 0; var$1 = $this.$boundingBox.$minY; $var2 = var$1 | 0; if (var$1 < $var2) $var2 = $var2 - 1 | 0; var$1 = $this.$posZ; $var3 = var$1 | 0; if (var$1 < $var3) $var3 = $var3 - 1 | 0; a: { var$5 = nms_World_getBlockId($this.$worldObj, $var1, $var2 - 1 | 0, $var3); nms_Block_$callClinit(); if (var$5 == nms_Block_grass.$blockID) { var$6 = $this.$worldObj; if ($var2 < 0) var$5 = 0; else { if ($var2 >= 256) $var2 = 255; var$7 = $var1 >> 4; var$5 = $var3 >> 4; var$8 = var$6.$chunkProvider; var$6 = var$8.$chunkMapping; var$9 = Long_or(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$5), Long_create(4294967295, 0)), 32)); var$5 = Long_lo(Long_xor(var$9, Long_shru(var$9, 32))); var$5 = var$5 ^ (var$5 >>> 20 | 0) ^ (var$5 >>> 12 | 0); var$10 = var$5 ^ (var$5 >>> 7 | 0) ^ (var$5 >>> 4 | 0); var$11 = var$6.$hashArray.data; var$6 = var$11[var$10 & (var$11.length - 1 | 0)]; b: { while (var$6 !== null) { if (Long_eq(var$6.$key1, var$9)) { var$6 = var$6.$value6; break b; } var$6 = var$6.$nextEntry0; } var$6 = null; } var$6 = var$6; if (var$6 === null) var$6 = var$8.$blankChunk; var$5 = var$6.$getBlockLightValue($var1 & 15, $var2, $var3 & 15, 0); } if (var$5 > 8) { var$1 = $this.$posX; var$10 = var$1 | 0; if (var$1 < var$10) var$10 = var$10 - 1 | 0; var$6 = $this.$boundingBox; var$1 = var$6.$minY; $var2 = var$1 | 0; if (var$1 < $var2) $var2 = $var2 - 1 | 0; var$1 = $this.$posZ; var$7 = var$1 | 0; if (var$1 < var$7) var$7 = var$7 - 1 | 0; if (nms_World_checkNoEntityCollision($this.$worldObj, var$6, null)) { var$6 = $this.$worldObj; var$8 = $this.$boundingBox; $ptr = 1; continue main; } c: { if (0) { if (nms_World_getBlockId($this.$worldObj, var$10, $var2 - 1 | 0, var$7) == nms_Block_grass.$blockID) var$12 = 10.0; else { var$6 = $this.$worldObj; var$12 = var$6.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do(var$6, var$10, $var2, var$7, 1)] - 0.5; } if (var$12 >= 0.0) { var$5 = 1; break c; } } var$5 = 0; } if (var$5) { var$5 = 1; break a; } } } var$5 = 0; } return var$5; case 1: $tmp = nms_World_getCollidingBoundingBoxes(var$6, $this, var$8); if ($rt_suspending()) { break main; } var$6 = $tmp; var$5 = var$6.$size0 ? 0 : 1; var$5 = var$5 && !nms_World_isAnyLiquid($this.$worldObj, $this.$boundingBox) ? 1 : 0; d: { if (var$5) { if (nms_World_getBlockId($this.$worldObj, var$10, $var2 - 1 | 0, var$7) == nms_Block_grass.$blockID) var$12 = 10.0; else { var$6 = $this.$worldObj; var$12 = var$6.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do(var$6, var$10, $var2, var$7, 1)] - 0.5; } if (var$12 >= 0.0) { var$5 = 1; break d; } } var$5 = 0; } return !var$5 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, $var2, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_EntityAnimal_getTalkInterval = $this => { return 120; }, nms_EntityAnimal_canDespawn = $this => { return 0; }, nms_EntityAnimal_getExperiencePoints = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4; $par1EntityPlayer = $this.$worldObj.$rand0; var$2 = Long_and(Long_add(Long_mul($par1EntityPlayer.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityPlayer.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { var$4 = var$3 % 3 | 0; if (((var$3 - var$4 | 0) + 2 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($par1EntityPlayer.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityPlayer.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } return 1 + var$4 | 0; }, nms_EntityAnimal_isBreedingItem = ($this, $par1ItemStack) => { let var$2; var$2 = $par1ItemStack.$itemID; nms_Item_$callClinit(); return var$2 != nms_Item_wheat.$itemID0 ? 0 : 1; }, nms_EntityAnimal_interact = ($this, $par1EntityPlayer) => { let var$2, var$3, $var2, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1EntityPlayer.$inventory; var$3 = var$2.$currentItem; $var2 = var$3 < 9 && var$3 >= 0 ? var$2.$mainInventory.data[var$3] : null; if ($var2 !== null && $this.$isBreedingItem($var2) && !nms_EntityAgeable_getGrowingAge($this) && $this.$inLove <= 0) { if (!$par1EntityPlayer.$capabilities.$isCreativeMode) { var$5 = $var2.$stackSize - 1 | 0; $var2.$stackSize = var$5; if (var$5 <= 0) { $par1EntityPlayer = $par1EntityPlayer.$inventory; var$5 = $par1EntityPlayer.$currentItem; var$2 = null; var$6 = $par1EntityPlayer.$mainInventory; var$3 = var$6.data.length; if (var$5 >= var$3) { var$5 = var$5 - var$3 | 0; var$6 = $par1EntityPlayer.$armorInventory; } var$6.data[var$5] = var$2; } } $this.$inLove = 600; $this.$entityToAttack = null; return 1; } $ptr = 1; case 1: $tmp = nms_EntityAgeable_interact($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } var$5 = $tmp; return var$5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, $var2, var$5, var$6, $ptr); }, nms_EntityAnimal_func_110196_bT = $this => { $this.$inLove = 600; $this.$entityToAttack = null; }, nms_EntityAnimal_isInLove = $this => { return $this.$inLove <= 0 ? 0 : 1; }, nms_EntityAnimal_resetInLove = $this => { $this.$inLove = 0; }, nms_EntityAnimal_canMateWith = ($this, $par1EntityAnimal) => { let var$2, var$3, var$4, var$5; if ($par1EntityAnimal === $this) var$2 = 0; else { var$3 = $par1EntityAnimal.constructor; if (var$3 === null) var$4 = null; else { var$4 = var$3.classObject; if (var$4 === null) { var$4 = new jl_Class; var$4.$platformClass = var$3; var$3.classObject = var$4; } } var$5 = $this.constructor; if (var$5 === null) var$3 = null; else { var$3 = var$5.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$5; var$5.classObject = var$3; } } if (var$4 !== var$3) var$2 = 0; else { var$2 = $this.$inLove <= 0 ? 0 : 1; var$2 = var$2 && ($par1EntityAnimal.$inLove <= 0 ? 0 : 1) ? 1 : 0; } } return var$2; }, nms_EntityAnimal_handleHealthUpdate = ($this, $par1) => { let $var2, var$3, $var3, $var5, $var7, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 != 18) { $ptr = 1; continue main; } $var2 = 0; var$3 = 24; while ($var2 < 7) { $var3 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var5 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var7 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$7 = $this.$worldObj; var$8 = $rt_s(1496); var$9 = $this.$posX; var$10 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, var$3)) / 1.6777216E7; var$13 = $this.$width1; var$9 = var$9 + var$12 * var$13 * 2.0; var$14 = var$13; var$15 = var$9 - var$14; var$16 = $this.$posY + 0.5; var$17 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$17; var$9 = var$16 + Long_lo(Long_shru(var$17, var$3)) / 1.6777216E7 * $this.$height2; var$16 = $this.$posZ; var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$17; var$16 = var$16 + Long_lo(Long_shru(var$17, var$3)) / 1.6777216E7 * var$13 * 2.0 - var$14; $par1 = 0; var$10 = var$7.$worldAccesses; var$18 = $rt_compare($par1, var$10.$size0); if (var$18 < 0) { if ($par1 >= 0 && var$18 < 0) { var$10 = var$10.$array.data[$par1]; $ptr = 2; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } $var2 = $var2 + 1 | 0; } return; case 1: nms_EntityLivingBase_handleHealthUpdate($this, $par1); if ($rt_suspending()) { break main; } return; case 2: nms_RenderGlobal_doSpawnParticle(var$10, var$8, var$15, var$9, var$16, $var3, $var5, $var7); if ($rt_suspending()) { break main; } $par1 = $par1 + 1 | 0; while (true) { var$10 = var$7.$worldAccesses; var$18 = $rt_compare($par1, var$10.$size0); if (var$18 < 0) { if ($par1 >= 0 && var$18 < 0) { var$10 = var$10.$array.data[$par1]; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } $var2 = $var2 + 1 | 0; if ($var2 >= 7) break; $var3 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var5 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var7 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$7 = $this.$worldObj; var$8 = $rt_s(1496); var$9 = $this.$posX; var$10 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, var$3)) / 1.6777216E7; var$13 = $this.$width1; var$9 = var$9 + var$12 * var$13 * 2.0; var$14 = var$13; var$15 = var$9 - var$14; var$16 = $this.$posY + 0.5; var$17 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$17; var$9 = var$16 + Long_lo(Long_shru(var$17, var$3)) / 1.6777216E7 * $this.$height2; var$16 = $this.$posZ; var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$17; var$16 = var$16 + Long_lo(Long_shru(var$17, var$3)) / 1.6777216E7 * var$13 * 2.0 - var$14; $par1 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var2, var$3, $var3, $var5, $var7, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }; function nms_EntityPig() { nms_EntityAnimal.call(this); this.$aiControlledByPlayer = null; } let nms_EntityPig__init_ = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; $this.$field_98056_d = (-1.0); $this.$field_98056_d = 0.8999999761581421; $this.$field_98057_e = 0.8999999761581421; var$2 = 0.8999999761581421; $ptr = 1; case 1: nms_Entity_setSize($this, var$2, var$2); if ($rt_suspending()) { break main; } var$3 = $this.$navigator; var$3.$avoidsWater = 1; $par1World = $this.$tasks0; var$4 = new nms_EntityAISwimming; var$4.$theEntity2 = $this; var$4.$mutexBits = 4; var$3.$canSwim = 1; var$5 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 0; var$3.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIPanic; var$4.$theEntityCreature = $this; var$4.$speed1 = 1.25; var$4.$mutexBits = 1; var$5 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 1; var$3.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIControlledByPlayer; var$4.$thisEntity = $this; var$4.$maxSpeed = 0.30000001192092896; var$4.$mutexBits = 7; $this.$aiControlledByPlayer = var$4; var$5 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 2; var$3.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIMate; var$4.$theAnimal = $this; var$4.$theWorld1 = $this.$worldObj; var$4.$moveSpeed = 1.0; var$4.$mutexBits = 3; var$5 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 3; var$3.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$4 = $this.$tasks0; var$3 = new nms_EntityAITempt; nms_Item_$callClinit(); var$8 = nms_Item_carrotOnAStick.$itemID0; var$3.$temptedEntity = $this; var$3.$field_75282_b = 1.2; var$3.$breedingFood = var$8; var$3.$scaredByPlayerMovement = 0; var$3.$mutexBits = 3; var$5 = var$4.$taskEntries; $par1World = new nms_EntityAITaskEntry; $par1World.$tasks = var$4; $par1World.$priority = 4; $par1World.$action = var$3; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$6[var$7] = $par1World; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAITempt; var$7 = nms_Item_carrot.$itemID0; var$4.$temptedEntity = $this; var$4.$field_75282_b = 1.2; var$4.$breedingFood = var$7; var$4.$scaredByPlayerMovement = 0; var$4.$mutexBits = 3; var$5 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 4; var$3.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIFollowParent; var$4.$childAnimal = $this; var$4.$field_75347_c = 1.1; var$5 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 5; var$3.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIWander; var$4.$entity = $this; var$4.$speed = 1.0; var$4.$mutexBits = 1; var$5 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 6; var$3.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIWatchClosest; var$4.$theWatcher = $this; var$4.$watchedClass = $rt_cls(nms_EntityPlayer); var$4.$maxDistanceForPlayer = 6.0; var$4.$field_75331_e = 0.019999999552965164; var$4.$mutexBits = 2; var$5 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 7; var$3.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAILookIdle; var$4.$idleEntity = $this; var$4.$mutexBits = 3; var$5 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 8; var$3.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityPig__init_0 = var_0 => { let var_1 = new nms_EntityPig(); nms_EntityPig__init_(var_1, var_0); return var_1; }, nms_EntityPig_isAIEnabled = $this => { return 1; }, nms_EntityPig_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (10.0 !== var$3.$baseValue) { var$3.$baseValue = 10.0; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break b; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.25 !== var$1.$baseValue) { var$1.$baseValue = 0.25; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityPig_updateAITasks = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$entityAge = $this.$entityAge + 1 | 0; $ptr = 1; case 1: nms_EntityLiving_despawnEntity($this); if ($rt_suspending()) { break main; } var$1 = $this.$senses; var$2 = var$1.$seenEntities; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = var$1.$unseenEntities; var$3 = var$1.$array; var$4 = 0; var$8 = var$1.$size0; var$2 = null; if (var$4 > var$8) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } while (var$4 < var$8) { var$7 = var$3.data; var$5 = var$4 + 1 | 0; var$7[var$4] = var$2; var$4 = var$5; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$targetTasks; $ptr = 2; case 2: nms_EntityAITasks_onUpdateTasks(var$1); if ($rt_suspending()) { break main; } var$1 = $this.$tasks0; $ptr = 3; case 3: nms_EntityAITasks_onUpdateTasks(var$1); if ($rt_suspending()) { break main; } nms_PathNavigate_onUpdateNavigation($this.$navigator); if (nms_EntityAgeable_getGrowingAge($this)) $this.$inLove = 0; nms_EntityMoveHelper_onUpdateMoveHelper($this.$moveHelper); nms_EntityLookHelper_onUpdateLook($this.$lookHelper); var$1 = $this.$jumpHelper; var$1.$entity0.$isJumping = var$1.$isJumping0; var$1.$isJumping0 = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityPig_entityInit = $this => { nms_EntityAgeable_entityInit($this); nms_DataWatcher_addObject($this.$dataWatcher, 16, jl_Byte_byteCache.data[128]); }, nms_EntityPig_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_EntityAnimal_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; var$7 = (!(!(var$2.$watchedObject.$value2 & 1) ? 0 : 1) ? 0 : 1) << 24 >> 24; var$2 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(1869); $par1NBTTagCompound.$data = var$7; ju_HashMap_putImpl(var$2, $rt_s(1869), $par1NBTTagCompound); }, nms_EntityPig_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NBTTagCompound = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_EntityAnimal_readEntityFromNBT($this, $par1NBTTagCompound); if ($rt_suspending()) { break main; } var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1869).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1869).$nativeString.length) break a; $rt_s(1869).$hashCode1 = (31 * $rt_s(1869).$hashCode1 | 0) + $rt_s(1869).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1869).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(1869) !== var$6) { if ($rt_s(1869) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1869).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1869) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { c: { if (!$rt_s(1869).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1869).$nativeString.length) break c; $rt_s(1869).$hashCode1 = (31 * $rt_s(1869).$hashCode1 | 0) + $rt_s(1869).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1869).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$4) { d: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(1869) !== var$2) { if ($rt_s(1869) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(1869).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data; } if (!(!var$3 ? 0 : 1)) { $par1NBTTagCompound = $this.$dataWatcher; var$7 = jl_Byte_byteCache.data[128]; var$8 = $par1NBTTagCompound.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$4 = var$6.$value0; var$5 = var$8.$elementData.data; var$8 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$4) { var$2 = var$8.$key; if (var$6 !== var$2 && !(var$6 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$2 = var$8 === null ? null : var$8.$value1; var$8 = var$2.$watchedObject; if (!(var$8 instanceof jl_Byte && var$8.$value2 == var$7.$value2 ? 1 : 0)) { var$2.$watchedObject = var$7; var$2.$watched = 1; $par1NBTTagCompound.$objectChanged = 1; } } else { $par1NBTTagCompound = $this.$dataWatcher; var$7 = jl_Byte_byteCache.data[129]; var$8 = $par1NBTTagCompound.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$4 = var$6.$value0; var$5 = var$8.$elementData.data; var$8 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$4) { var$2 = var$8.$key; if (var$6 !== var$2 && !(var$6 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$2 = var$8 === null ? null : var$8.$value1; var$8 = var$2.$watchedObject; if (!(var$8 instanceof jl_Byte && var$8.$value2 == var$7.$value2 ? 1 : 0)) { var$2.$watchedObject = var$7; var$2.$watched = 1; $par1NBTTagCompound.$objectChanged = 1; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NBTTagCompound, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityPig_getLivingSound = $this => { return $rt_s(572); }, nms_EntityPig_getHurtSound = $this => { return $rt_s(572); }, nms_EntityPig_getDeathSound = $this => { return $rt_s(573); }, nms_EntityPig_playStepSound = ($this, $par1, $par2, $par3, $par4) => { nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1870), 0.15000000596046448, 1.0); }, nms_EntityPig_interact = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_EntityAnimal_interact($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2) return 1; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; var$2 = !(var$3.$watchedObject.$value2 & 1) ? 0 : 1; a: { if (var$2 && !$this.$worldObj.$isRemote) { var$3 = $this.$riddenByEntity; if (var$3 === null) break a; if (var$3 === $par1EntityPlayer) break a; } return 0; } $ptr = 2; case 2: nms_Entity_mountEntity($par1EntityPlayer, $this); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_EntityPig_getDropItemId = $this => { let var$1, var$2, var$3, var$4, var$5; a: { b: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break b; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[128]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value2 & 1) ? 0 : 1) break b; } var$3 = 0; break a; } var$3 = 1; } if (!var$3) { nms_Item_$callClinit(); var$3 = nms_Item_porkRaw.$itemID0; } else { nms_Item_$callClinit(); var$3 = nms_Item_porkCooked.$itemID0; } return var$3; }, nms_EntityPig_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, $var4, var$6, $var3, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var3 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var4 = Long_lo(Long_shru(var$4, 17)); while (true) { var$6 = $var4 % 3 | 0; if ((($var4 - var$6 | 0) + 2 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var4 = Long_lo(Long_shru(var$4, 17)); } $var3 = var$6 + 1 | 0; $par1 = 1 + $par2 | 0; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var4 = Long_lo(Long_shru(var$4, 17)); $par2 = $par1 - 1 | 0; if (!($par1 & $par2)) var$6 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($var4)), 31)); else while (true) { var$6 = $var4 % $par1 | 0; if ((($var4 - var$6 | 0) + $par2 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var4 = Long_lo(Long_shru(var$4, 17)); } $var3 = $var3 + var$6 | 0; $var4 = 0; var$8 = 0.0; $par2 = 138; var$9 = 128; var$10 = 1; if ($var4 >= $var3) { var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[144]; if (var$11 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $par1 = var$11.$value0; var$12 = var$3.$elementData.data; var$3 = var$12[$par1 & (var$12.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $par1) { var$13 = var$3.$key; if (var$11 !== var$13 && !(var$11 === var$13 ? 1 : var$13 instanceof jl_Integer && var$13.$value0 == $par1 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(!(var$3.$watchedObject.$value2 & 1) ? 0 : 1)) return; nms_Item_$callClinit(); $par1 = nms_Item_saddle.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par1; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$11 = new nms_EntityItem; var$13 = $this.$worldObj; var$14 = $this.$posX; var$8 = $this.$posY + var$8; var$15 = $this.$posZ; $ptr = 3; continue main; } a: { b: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break b; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[var$9]; if (var$13 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $par1 = var$13.$value0; var$12 = var$3.$elementData.data; var$3 = var$12[$par1 & (var$12.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $par1) { var$11 = var$3.$key; if (var$13 !== var$11 && !jl_Integer_equals(var$13, var$11) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value2 & var$10) ? 0 : 1) break b; } $par1 = 0; break a; } $par1 = 1; } if (!$par1) { nms_Item_$callClinit(); var$6 = nms_Item_porkRaw.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = var$6; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$11 = new nms_EntityItem; var$13 = $this.$worldObj; var$14 = $this.$posX; var$15 = $this.$posY + var$8; var$16 = $this.$posZ; $ptr = 1; continue main; } nms_Item_$callClinit(); $par1 = nms_Item_porkCooked.$itemID0; var$17 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$17.$itemID = $par1; var$17.$stackSize = 1; var$17.$itemDamage = 0; var$18 = new nms_EntityItem; var$3 = $this.$worldObj; var$14 = $this.$posX; var$15 = $this.$posY + var$8; var$16 = $this.$posZ; $ptr = 2; continue main; case 1: nms_EntityItem__init_(var$11, var$13, var$14, var$15, var$16); if ($rt_suspending()) { break main; } var$17 = var$11.$dataWatcher; var$13 = var$17.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = ju_HashMap_entryByKey(var$13, jl_Integer_integerCache.data[$par2]); var$18 = var$13 === null ? null : var$13.$value1; if (!(var$3 !== var$18.$watchedObject ? 0 : 1)) { var$18.$watchedObject = var$3; var$18.$watched = 1; var$17.$objectChanged = 1; } var$18 = var$11.$dataWatcher; var$3 = var$18.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[$par2]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$18.$objectChanged = 1; var$11.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$11); var$13 = var$3.$entityList; ju_HashMap_putImpl(var$13.$backingMap, var$11, var$13); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$11, var$3); } $var4 = $var4 + 1 | 0; if ($var4 >= $var3) { var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[144]; if (var$11 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $par1 = var$11.$value0; var$12 = var$3.$elementData.data; var$3 = var$12[$par1 & (var$12.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $par1) { var$13 = var$3.$key; if (var$11 !== var$13 && !(var$11 === var$13 ? 1 : var$13 instanceof jl_Integer && var$13.$value0 == $par1 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(!(var$3.$watchedObject.$value2 & 1) ? 0 : 1)) return; nms_Item_$callClinit(); $par1 = nms_Item_saddle.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par1; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$11 = new nms_EntityItem; var$13 = $this.$worldObj; var$14 = $this.$posX; var$8 = $this.$posY + var$8; var$15 = $this.$posZ; $ptr = 3; continue main; } c: { d: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break d; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[var$9]; if (var$13 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $par1 = var$13.$value0; var$12 = var$3.$elementData.data; var$3 = var$12[$par1 & (var$12.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $par1) { var$11 = var$3.$key; if (var$13 !== var$11 && !jl_Integer_equals(var$13, var$11) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value2 & var$10) ? 0 : 1) break d; } $par1 = 0; break c; } $par1 = 1; } if (!$par1) { nms_Item_$callClinit(); var$6 = nms_Item_porkRaw.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = var$6; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$11 = new nms_EntityItem; var$13 = $this.$worldObj; var$14 = $this.$posX; var$15 = $this.$posY + var$8; var$16 = $this.$posZ; continue main; } nms_Item_$callClinit(); $par1 = nms_Item_porkCooked.$itemID0; var$17 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$17.$itemID = $par1; var$17.$stackSize = 1; var$17.$itemDamage = 0; var$18 = new nms_EntityItem; var$3 = $this.$worldObj; var$14 = $this.$posX; var$15 = $this.$posY + var$8; var$16 = $this.$posZ; $ptr = 2; case 2: nms_EntityItem__init_(var$18, var$3, var$14, var$15, var$16); if ($rt_suspending()) { break main; } var$13 = var$18.$dataWatcher; var$3 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[$par2]); var$11 = var$3 === null ? null : var$3.$value1; if (!(var$17 !== var$11.$watchedObject ? 0 : 1)) { var$11.$watchedObject = var$17; var$11.$watched = 1; var$13.$objectChanged = 1; } var$13 = var$18.$dataWatcher; var$3 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[$par2]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$13.$objectChanged = 1; var$18.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$18); var$11 = var$3.$entityList; ju_HashMap_putImpl(var$11.$backingMap, var$18, var$11); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$18, var$3); } $var4 = $var4 + 1 | 0; if ($var4 >= $var3) { var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[144]; if (var$11 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $par1 = var$11.$value0; var$12 = var$3.$elementData.data; var$3 = var$12[$par1 & (var$12.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $par1) { var$13 = var$3.$key; if (var$11 !== var$13 && !(var$11 === var$13 ? 1 : var$13 instanceof jl_Integer && var$13.$value0 == $par1 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(!(var$3.$watchedObject.$value2 & 1) ? 0 : 1)) return; nms_Item_$callClinit(); $par1 = nms_Item_saddle.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par1; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$11 = new nms_EntityItem; var$13 = $this.$worldObj; var$14 = $this.$posX; var$8 = $this.$posY + var$8; var$15 = $this.$posZ; $ptr = 3; continue main; } c: { d: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break d; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[var$9]; if (var$13 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $par1 = var$13.$value0; var$12 = var$3.$elementData.data; var$3 = var$12[$par1 & (var$12.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $par1) { var$11 = var$3.$key; if (var$13 !== var$11 && !jl_Integer_equals(var$13, var$11) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value2 & var$10) ? 0 : 1) break d; } $par1 = 0; break c; } $par1 = 1; } if (!$par1) { nms_Item_$callClinit(); var$6 = nms_Item_porkRaw.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = var$6; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$11 = new nms_EntityItem; var$13 = $this.$worldObj; var$14 = $this.$posX; var$15 = $this.$posY + var$8; var$16 = $this.$posZ; $ptr = 1; continue main; } nms_Item_$callClinit(); $par1 = nms_Item_porkCooked.$itemID0; var$17 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$17.$itemID = $par1; var$17.$stackSize = 1; var$17.$itemDamage = 0; var$18 = new nms_EntityItem; var$3 = $this.$worldObj; var$14 = $this.$posX; var$15 = $this.$posY + var$8; var$16 = $this.$posZ; continue main; case 3: nms_EntityItem__init_(var$11, var$13, var$14, var$8, var$15); if ($rt_suspending()) { break main; } var$17 = var$11.$dataWatcher; var$13 = var$17.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = ju_HashMap_entryByKey(var$13, jl_Integer_integerCache.data[$par2]); var$18 = var$13 === null ? null : var$13.$value1; if (!(var$3 !== var$18.$watchedObject ? 0 : 1)) { var$18.$watchedObject = var$3; var$18.$watched = 1; var$17.$objectChanged = 1; } var$18 = var$11.$dataWatcher; var$3 = var$18.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[$par2]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$18.$objectChanged = 1; var$11.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$11); var$13 = var$3.$entityList; ju_HashMap_putImpl(var$13.$backingMap, var$11, var$13); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$11, var$3); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, $var4, var$6, $var3, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityPig_onStruckByLightning = ($this, $par1EntityLightningBolt) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; $par1EntityLightningBolt = $this.$worldObj; if (!$par1EntityLightningBolt.$isRemote) { $var2 = new nms_EntityPigZombie; nms_EntityPigZombie_$callClinit(); nms_EntityZombie__init_0($var2, $par1EntityLightningBolt); $var2.$isImmuneToFire = 1; var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; var$6 = $this.$rotationYaw; var$7 = $this.$rotationPitch; $var2.$posX = var$3; $var2.$prevPosX = var$3; $var2.$lastTickPosX = var$3; var$4 = var$4 + $var2.$yOffset; $var2.$posY = var$4; $var2.$prevPosY = var$4; $var2.$lastTickPosY = var$4; $var2.$posZ = var$5; $var2.$prevPosZ = var$5; $var2.$lastTickPosZ = var$5; $var2.$rotationYaw = var$6; $var2.$rotationPitch = var$7; nms_Entity_setPosition($var2, var$3, var$4, var$5); $par1EntityLightningBolt = $this.$worldObj; var$8 = nms_World_spawnEntityInWorld($par1EntityLightningBolt, $var2); var$9 = $par1EntityLightningBolt.$entityList; ju_HashMap_putImpl(var$9.$backingMap, $var2, var$9); if (!var$8) { $par1EntityLightningBolt = $par1EntityLightningBolt.$entitySpawnQueue; ju_HashMap_putImpl($par1EntityLightningBolt.$backingMap, $var2, $par1EntityLightningBolt); } $this.$isDead = 1; } }, nms_EntityPig_fall = ($this, $par1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLivingBase_fall($this, $par1); if ($rt_suspending()) { break main; } if ($par1 > 5.0) { var$2 = $this.$riddenByEntity; if (var$2 instanceof nms_EntityPlayer) { var$2 = var$2; nms_AchievementList_$callClinit(); var$2.$addStat(nms_AchievementList_flyPig, 1); } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, $ptr); }, nms_EntityPig_isBreedingItem = ($this, $par1ItemStack) => { let var$2; a: { if ($par1ItemStack !== null) { var$2 = $par1ItemStack.$itemID; nms_Item_$callClinit(); if (var$2 == nms_Item_carrot.$itemID0) { var$2 = 1; break a; } } var$2 = 0; } return var$2; }, nms_EntityPig_createChild = ($this, $par1EntityAgeable) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1EntityAgeable = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityAgeable = new nms_EntityPig; var$2 = $this.$worldObj; $ptr = 1; case 1: nms_EntityPig__init_($par1EntityAgeable, var$2); if ($rt_suspending()) { break main; } return $par1EntityAgeable; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityAgeable, var$2, $ptr); }, nms_RenderPig = $rt_classWithoutFields(nms_RenderLiving), nms_RenderPig_saddledPigTextures = null, nms_RenderPig_pigTextures = null, nms_RenderPig_$callClinit = () => { nms_RenderPig_$callClinit = $rt_eraseClinit(nms_RenderPig); nms_RenderPig__clinit_(); }, nms_RenderPig_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderPig_$callClinit(); $par1EntityLiving = nms_RenderPig_pigTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderPig_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { let var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; if (!$par2) { $par1EntityLivingBase = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { $par2 = var$4.$value0; var$5 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$5[$par2 & (var$5.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == $par2) { var$6 = $par1EntityLivingBase.$key; if (var$4 !== var$6 && !jl_Integer_equals(var$4, var$6) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; if (!($par1EntityLivingBase.$watchedObject.$value2 & 1) ? 0 : 1) { nms_RenderPig_$callClinit(); $par1EntityLivingBase = nms_RenderPig_saddledPigTextures; $ptr = 1; continue main; } } return (-1); case 1: nle_TextureLocation_bindTexture($par1EntityLivingBase); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, var$4, var$5, var$6, $ptr); }, nms_RenderPig_getEntityTexture = ($this, $par1Entity) => { nms_RenderPig_$callClinit(); return nms_RenderPig_pigTextures; }, nms_RenderPig__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1871); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderPig_saddledPigTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1872); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderPig_pigTextures = var$1; }; function nms_ModelBase() { let a = this; jl_Object.call(a); a.$onGround1 = 0.0; a.$isRiding0 = 0; a.$boxList = null; a.$isChild0 = 0; a.$modelTextureMap = null; a.$textureWidth0 = 0; a.$textureHeight0 = 0; } let nms_ModelBase_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { return; }, nms_ModelBase_setLivingAnimations = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { return; }, nms_ModelBase_getRandomModelBox = ($this, $par1Random) => { let var$2, var$3, var$4, var$5, var$6, var$7; var$2 = $this.$boxList; var$3 = var$2.$size0; var$4 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); var$6 = var$3 - 1 | 0; if (!(var$3 & var$6)) var$7 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$3), Long_fromInt(var$5)), 31)); else while (true) { var$7 = var$5 % var$3 | 0; if (((var$5 - var$7 | 0) + var$6 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } if (var$7 >= 0 && var$7 < var$3) return var$2.$array.data[var$7]; $par1Random = new jl_IndexOutOfBoundsException; $par1Random.$suppressionEnabled = 1; $par1Random.$writableStackTrace = 1; $rt_throw($par1Random); }, nms_ModelBase_getTextureOffset = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$modelTextureMap; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } return var$2 === null ? null : var$2.$value1; }; function nms_ModelQuadruped() { let a = this; nms_ModelBase.call(a); a.$head0 = null; a.$body = null; a.$leg1 = null; a.$leg2 = null; a.$leg3 = null; a.$leg4 = null; a.$field_78145_g = 0.0; a.$field_78151_h = 0.0; } let nms_ModelQuadruped__init_ = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$3; $this.$isChild0 = 1; var$3 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; var$3.$elementData = var$5; var$3.$loadFactor = 0.75; var$3.$threshold = var$6.length * 0.75 | 0; $this.$modelTextureMap = var$3; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$3 = new nms_ModelRenderer; var$7 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$8; var$3.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$8.$modCount = var$8.$modCount + 1 | 0; var$3.$boxName = var$7; var$10 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$10; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 0; $this.$head0 = var$3; $this.$field_78145_g = 8.0; $this.$field_78151_h = 4.0; var$8 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 0, 0, (-4.0), (-4.0), (-8.0), 8, 8, 8, $par2); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$6[var$11] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; var$3 = $this.$head0; var$12 = 18 - $par1 | 0; var$3.$rotationPointX = 0.0; var$3.$rotationPointY = var$12; var$3.$rotationPointZ = (-6.0); var$3 = new nms_ModelRenderer; var$7 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$8; var$3.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$6[var$11] = var$3; var$8.$modCount = var$8.$modCount + 1 | 0; var$3.$boxName = var$7; var$4 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$3.$textureWidth = var$4; var$3.$textureHeight = var$11; var$3.$textureOffsetX = 28; var$3.$textureOffsetY = 8; $this.$body = var$3; var$8 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 28, 8, (-5.0), (-10.0), (-7.0), 10, 16, 8, $par2); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$6[var$11] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; var$3 = $this.$body; var$12 = 17 - $par1 | 0; var$3.$rotationPointX = 0.0; var$3.$rotationPointY = var$12; var$3.$rotationPointZ = 2.0; var$3 = new nms_ModelRenderer; var$7 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$8; var$3.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$8.$modCount = var$8.$modCount + 1 | 0; var$3.$boxName = var$7; var$10 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$10; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 16; $this.$leg1 = var$3; var$8 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 0, 16, (-2.0), 0.0, (-2.0), 4, $par1, 4, $par2); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$6[var$11] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; var$3 = $this.$leg1; var$12 = 24 - $par1 | 0; var$3.$rotationPointX = (-3.0); var$3.$rotationPointY = var$12; var$3.$rotationPointZ = 7.0; var$3 = new nms_ModelRenderer; var$8 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$7; var$3.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$6 = var$7.$array.data; var$9 = var$7.$size0; var$7.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$7.$modCount = var$7.$modCount + 1 | 0; var$3.$boxName = var$8; var$10 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$10; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 16; $this.$leg2 = var$3; var$8 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 0, 16, (-2.0), 0.0, (-2.0), 4, $par1, 4, $par2); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$6[var$11] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; var$3 = $this.$leg2; var$3.$rotationPointX = 3.0; var$3.$rotationPointY = var$12; var$3.$rotationPointZ = 7.0; var$3 = new nms_ModelRenderer; var$7 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$8; var$3.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$8.$modCount = var$8.$modCount + 1 | 0; var$3.$boxName = var$7; var$10 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$10; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 16; $this.$leg3 = var$3; var$8 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 0, 16, (-2.0), 0.0, (-2.0), 4, $par1, 4, $par2); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$6[var$11] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; var$3 = $this.$leg3; var$3.$rotationPointX = (-3.0); var$3.$rotationPointY = var$12; var$3.$rotationPointZ = (-5.0); var$3 = new nms_ModelRenderer; var$7 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$8; var$3.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$8.$modCount = var$8.$modCount + 1 | 0; var$3.$boxName = var$7; var$10 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$10; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 16; $this.$leg4 = var$3; var$8 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 0, 16, (-2.0), 0.0, (-2.0), 4, $par1, 4, $par2); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$4 = var$8.$size0; var$8.$size0 = var$4 + 1 | 0; var$6[var$4] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; var$3 = $this.$leg4; var$3.$rotationPointX = 3.0; var$3.$rotationPointY = var$12; var$3.$rotationPointZ = (-5.0); }, nms_ModelQuadruped__init_0 = (var_0, var_1) => { let var_2 = new nms_ModelQuadruped(); nms_ModelQuadruped__init_(var_2, var_0, var_1); return var_2; }, nms_ModelQuadruped_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8; $this.$setRotationAngles($par2, $par3, $par4, $par5, $par6, $par7, $par1Entity); if (!$this.$isChild0) { nms_ModelRenderer_render($this.$head0, $par7); nms_ModelRenderer_render($this.$body, $par7); nms_ModelRenderer_render($this.$leg1, $par7); nms_ModelRenderer_render($this.$leg2, $par7); nms_ModelRenderer_render($this.$leg3, $par7); nms_ModelRenderer_render($this.$leg4, $par7); } else { nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = $this.$field_78145_g * $par7; $par4 = $this.$field_78151_h * $par7; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par3; $par1Entity.$z = $par4; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$head0, $par7); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.5; $par1Entity.$y = 0.5; $par1Entity.$z = 0.5; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par3 = 24.0 * $par7; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par3; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$body, $par7); nms_ModelRenderer_render($this.$leg1, $par7); nms_ModelRenderer_render($this.$leg2, $par7); nms_ModelRenderer_render($this.$leg3, $par7); nms_ModelRenderer_render($this.$leg4, $par7); nleg_EaglerAdapterGL30_glPopMatrix(); } }, nms_ModelQuadruped_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, var$9, var$10; $par7Entity = $this.$head0; $par7Entity.$rotateAngleX = $par5 / 57.2957763671875; $par7Entity.$rotateAngleY = $par4 / 57.2957763671875; $this.$body.$rotateAngleX = 1.5707963705062866; $par7Entity = $this.$leg1; $par3 = $par1 * 0.6661999821662903; var$8 = nms_MathHelper_SIN_TABLE.data; var$9 = ($par3 * 10430.3779296875 + 16384.0 | 0) & 65535; $par7Entity.$rotateAngleX = var$8[var$9] * 1.399999976158142 * $par2; $par7Entity = $this.$leg2; var$10 = (($par3 + 3.1415927410125732) * 10430.3779296875 + 16384.0 | 0) & 65535; $par7Entity.$rotateAngleX = var$8[var$10] * 1.399999976158142 * $par2; $this.$leg3.$rotateAngleX = var$8[var$10] * 1.399999976158142 * $par2; $this.$leg4.$rotateAngleX = var$8[var$9] * 1.399999976158142 * $par2; }, nms_ModelPig = $rt_classWithoutFields(nms_ModelQuadruped), nms_ModelPig__init_ = $this => { let var$1, var$2, var$3, var$4, var$5; nms_ModelQuadruped__init_($this, 6, 0.0); var$1 = $this.$head0; var$1.$textureOffsetX = 16; var$1.$textureOffsetY = 16; var$2 = var$1.$cubeList; var$3 = nms_ModelBox__init_(var$1, 16, 16, (-2.0), 0.0, (-9.0), 4, 3, 1, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$4[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; $this.$field_78145_g = 4.0; }, nms_ModelPig__init_0 = () => { let var_0 = new nms_ModelPig(); nms_ModelPig__init_(var_0); return var_0; }; function nms_EntitySheep() { let a = this; nms_EntityAnimal.call(a); a.$field_90016_e = null; a.$sheepTimer = 0; a.$aiEatGrass = null; } let nms_EntitySheep_fleeceColorTable = null, nms_EntitySheep__init_ = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; $this.$field_98056_d = (-1.0); var$2 = new nms_InventoryCrafting; $par1World = new nms_ContainerSheep; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $par1World.$inventoryItemStacks = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $par1World.$inventorySlots = var$3; $par1World.$field_94535_f = (-1); var$3 = new ju_HashSet; var$4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $par1World.$field_94537_h = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $par1World.$crafters = var$3; var$3 = new ju_HashSet; var$4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $par1World.$playerList = var$3; $par1World.$field_90034_a = $this; var$2.$stackList = $rt_createArray(nms_ItemStack, 2); var$2.$eventHandler = $par1World; var$2.$inventoryWidth = 2; $this.$field_90016_e = var$2; $par1World = new nms_EntityAIEatGrass; $par1World.$theEntity7 = $this; $par1World.$theWorld2 = $this.$worldObj; $par1World.$mutexBits = 7; $this.$aiEatGrass = $par1World; var$5 = $this.$field_98056_d <= 0.0 ? 0 : 1; $this.$field_98056_d = 0.8999999761581421; $this.$field_98057_e = 1.2999999523162842; if (var$5) { var$3 = $this.$navigator; var$3.$avoidsWater = 1; $par1World = $this.$tasks0; var$2 = new nms_EntityAISwimming; var$2.$theEntity2 = $this; var$2.$mutexBits = 4; var$3.$canSwim = 1; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 0; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIPanic; var$2.$theEntityCreature = $this; var$2.$speed1 = 1.25; var$2.$mutexBits = 1; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 1; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIMate; var$2.$theAnimal = $this; var$2.$theWorld1 = $this.$worldObj; var$2.$moveSpeed = 1.0; var$2.$mutexBits = 3; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 2; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $this.$tasks0; var$3 = new nms_EntityAITempt; nms_Item_$callClinit(); var$9 = nms_Item_wheat.$itemID0; var$3.$temptedEntity = $this; var$3.$field_75282_b = 1.1; var$3.$breedingFood = var$9; var$3.$scaredByPlayerMovement = 0; var$3.$mutexBits = 3; var$4 = var$2.$taskEntries; $par1World = new nms_EntityAITaskEntry; $par1World.$tasks = var$2; $par1World.$priority = 3; $par1World.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = $par1World; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIFollowParent; var$2.$childAnimal = $this; var$2.$field_75347_c = 1.1; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 4; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = $this.$aiEatGrass; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 5; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$5 = var$4.$size0; var$4.$size0 = var$5 + 1 | 0; var$7[var$5] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIWander; var$2.$entity = $this; var$2.$speed = 1.0; var$2.$mutexBits = 1; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 6; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIWatchClosest; var$2.$theWatcher = $this; var$2.$watchedClass = $rt_cls(nms_EntityPlayer); var$2.$maxDistanceForPlayer = 6.0; var$2.$field_75331_e = 0.019999999552965164; var$2.$mutexBits = 2; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 7; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAILookIdle; var$2.$idleEntity = $this; var$2.$mutexBits = 3; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 8; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$field_90016_e; var$2 = new nms_ItemStack; var$3 = nms_Item_dyePowder; nms_ItemStack_$callClinit(); var$2.$itemID = var$3.$itemID0; var$2.$stackSize = 1; var$2.$itemDamage = 0; $par1World.$stackList.data[0] = var$2; $par1World.$eventHandler.$onCraftMatrixChanged($par1World); $par1World = $this.$field_90016_e; var$2 = new nms_ItemStack; var$2.$itemID = nms_Item_dyePowder.$itemID0; var$2.$stackSize = 1; var$2.$itemDamage = 0; $par1World.$stackList.data[1] = var$2; $par1World.$eventHandler.$onCraftMatrixChanged($par1World); return; } var$10 = 0.8999999761581421; var$11 = 1.2999999523162842; $ptr = 1; case 1: nms_Entity_setSize($this, var$10, var$11); if ($rt_suspending()) { break main; } var$3 = $this.$navigator; var$3.$avoidsWater = 1; $par1World = $this.$tasks0; var$2 = new nms_EntityAISwimming; var$2.$theEntity2 = $this; var$2.$mutexBits = 4; var$3.$canSwim = 1; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 0; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIPanic; var$2.$theEntityCreature = $this; var$2.$speed1 = 1.25; var$2.$mutexBits = 1; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 1; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIMate; var$2.$theAnimal = $this; var$2.$theWorld1 = $this.$worldObj; var$2.$moveSpeed = 1.0; var$2.$mutexBits = 3; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 2; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $this.$tasks0; var$3 = new nms_EntityAITempt; nms_Item_$callClinit(); var$9 = nms_Item_wheat.$itemID0; var$3.$temptedEntity = $this; var$3.$field_75282_b = 1.1; var$3.$breedingFood = var$9; var$3.$scaredByPlayerMovement = 0; var$3.$mutexBits = 3; var$4 = var$2.$taskEntries; $par1World = new nms_EntityAITaskEntry; $par1World.$tasks = var$2; $par1World.$priority = 3; $par1World.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = $par1World; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIFollowParent; var$2.$childAnimal = $this; var$2.$field_75347_c = 1.1; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 4; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = $this.$aiEatGrass; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 5; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$5 = var$4.$size0; var$4.$size0 = var$5 + 1 | 0; var$7[var$5] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIWander; var$2.$entity = $this; var$2.$speed = 1.0; var$2.$mutexBits = 1; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 6; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIWatchClosest; var$2.$theWatcher = $this; var$2.$watchedClass = $rt_cls(nms_EntityPlayer); var$2.$maxDistanceForPlayer = 6.0; var$2.$field_75331_e = 0.019999999552965164; var$2.$mutexBits = 2; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 7; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAILookIdle; var$2.$idleEntity = $this; var$2.$mutexBits = 3; var$4 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 8; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$field_90016_e; var$2 = new nms_ItemStack; var$3 = nms_Item_dyePowder; nms_ItemStack_$callClinit(); var$2.$itemID = var$3.$itemID0; var$2.$stackSize = 1; var$2.$itemDamage = 0; $par1World.$stackList.data[0] = var$2; $par1World.$eventHandler.$onCraftMatrixChanged($par1World); $par1World = $this.$field_90016_e; var$2 = new nms_ItemStack; var$2.$itemID = nms_Item_dyePowder.$itemID0; var$2.$stackSize = 1; var$2.$itemDamage = 0; $par1World.$stackList.data[1] = var$2; $par1World.$eventHandler.$onCraftMatrixChanged($par1World); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntitySheep__init_0 = var_0 => { let var_1 = new nms_EntitySheep(); nms_EntitySheep__init_(var_1, var_0); return var_1; }, nms_EntitySheep_isAIEnabled = $this => { return 1; }, nms_EntitySheep_updateAITasks = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$sheepTimer = $this.$aiEatGrass.$eatGrassTick; $this.$entityAge = $this.$entityAge + 1 | 0; $ptr = 1; case 1: nms_EntityLiving_despawnEntity($this); if ($rt_suspending()) { break main; } var$1 = $this.$senses; var$2 = var$1.$seenEntities; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = var$1.$unseenEntities; var$3 = var$1.$array; var$4 = 0; var$5 = var$1.$size0; var$2 = null; if (var$4 > var$5) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$2; var$4 = var$8; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$targetTasks; $ptr = 2; case 2: nms_EntityAITasks_onUpdateTasks(var$1); if ($rt_suspending()) { break main; } var$1 = $this.$tasks0; $ptr = 3; case 3: nms_EntityAITasks_onUpdateTasks(var$1); if ($rt_suspending()) { break main; } nms_PathNavigate_onUpdateNavigation($this.$navigator); var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[140]; if (var$2 === null) var$1 = ju_HashMap_findNullKeyEntry(var$1); else { var$5 = jl_Integer_hashCode0(var$2); var$1 = ju_HashMap_findNonNullKeyEntry(var$1, var$2, var$5 & (var$1.$elementData.data.length - 1 | 0), var$5); } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value0) $this.$inLove = 0; nms_EntityMoveHelper_onUpdateMoveHelper($this.$moveHelper); nms_EntityLookHelper_onUpdateLook($this.$lookHelper); var$1 = $this.$jumpHelper; var$1.$entity0.$isJumping = var$1.$isJumping0; var$1.$isJumping0 = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntitySheep_onLivingUpdate = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$worldObj.$isRemote) { var$1 = $this.$sheepTimer - 1 | 0; if (0 > var$1) var$1 = 0; $this.$sheepTimer = var$1; } $ptr = 1; case 1: nms_EntityAnimal_onLivingUpdate($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_EntitySheep_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (8.0 !== var$3.$baseValue) { var$3.$baseValue = 8.0; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break b; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.23000000417232513 !== var$1.$baseValue) { var$1.$baseValue = 0.23000000417232513; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntitySheep_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); var$2 = $this.$dataWatcher; var$1 = new jl_Integer; var$1.$value0 = 0; nms_DataWatcher_addObject(var$2, 12, var$1); var$2 = $this.$dataWatcher; var$1 = new jl_Byte; var$1.$value2 = 0; nms_DataWatcher_addObject(var$2, 16, var$1); }, nms_EntitySheep_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $par1 = var$4.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[$par1 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $par1) { var$6 = var$3.$key; if (var$4 !== var$6 && !(var$4 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == $par1 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value2 & 16) ? 0 : 1) return; var$3 = new nms_ItemStack; nms_Block_$callClinit(); $par2 = nms_Block_cloth.$blockID; var$4 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$7 = var$6.$value0; var$5 = var$4.$elementData.data; var$4 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$7) { var$8 = var$4.$key; if (var$6 !== var$8 && !(var$6 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; var$7 = var$4.$watchedObject.$value2 & 15; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = var$7; if (var$7 < 0) var$3.$itemDamage = 0; var$4 = new nms_EntityItem; var$6 = $this.$worldObj; var$9 = $this.$posX; var$10 = $this.$posY + 0.0; var$11 = $this.$posZ; $ptr = 1; case 1: nms_EntityItem__init_(var$4, var$6, var$9, var$10, var$11); if ($rt_suspending()) { break main; } var$12 = var$4.$dataWatcher; var$6 = var$12.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[138]; if (var$13 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$7 = jl_Integer_hashCode(var$13.$value0); var$5 = var$6.$elementData.data; var$6 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$6 !== null && !(var$6.$origKeyHash == var$7 && ju_HashMap_areEqualKeys(var$13, var$6.$key))) { var$6 = var$6.$next3; } } var$8 = var$6 === null ? null : var$6.$value1; if (!(var$3 !== var$8.$watchedObject ? 0 : 1)) { var$8.$watchedObject = var$3; var$8.$watched = 1; var$12.$objectChanged = 1; } var$13 = var$4.$dataWatcher; var$3 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[138]; if (var$8 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $par2 = jl_Integer_hashCode(var$8.$value0); var$5 = var$3.$elementData.data; var$3 = var$5[$par2 & (var$5.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == $par2 && ju_HashMap_areEqualKeys(var$8, var$3.$key))) { var$3 = var$3.$next3; } } (var$3 === null ? null : var$3.$value1).$watched = 1; var$13.$objectChanged = 1; var$4.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$4); var$6 = var$3.$entityList; ju_HashMap_putImpl(var$6.$backingMap, var$4, var$6); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$4, var$3); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntitySheep_getDropItemId = $this => { nms_Block_$callClinit(); return nms_Block_cloth.$blockID; }, nms_EntitySheep_handleHealthUpdate = ($this, $par1) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 == 10) { $this.$sheepTimer = 40; return; } $ptr = 1; case 1: nms_EntityAnimal_handleHealthUpdate($this, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $ptr); }, nms_EntitySheep_func_70894_j = ($this, $par1) => { let var$2, var$3; var$2 = $this.$sheepTimer; if (var$2 <= 0) $par1 = 0.0; else { var$3 = $rt_compare(var$2, 4); $par1 = var$3 >= 0 && var$2 <= 36 ? 1.0 : var$3 < 0 ? (var$2 - $par1) / 4.0 : -((var$2 - 40 | 0) - $par1) / 4.0; } return $par1; }, nms_EntitySheep_func_70890_k = ($this, $par1) => { let var$2; var$2 = $this.$sheepTimer; if (var$2 > 4 && var$2 <= 36) { $par1 = ((var$2 - 4 | 0) - $par1) / 32.0 * 28.700000762939453; return 0.6283185482025146 + 0.21991150081157684 * nms_MathHelper_SIN_TABLE.data[($par1 * 10430.3779296875 | 0) & 65535]; } return var$2 > 0 ? 0.6283185482025146 : $this.$rotationPitch / 57.2957763671875; }, nms_EntitySheep_interact = ($this, $par1EntityPlayer) => { let var$2, var$3, $var2, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var3, $var4, var$17, var$18, var$19, var$20, $var5, var$22, var$23, var$24, var$25, var$26, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var5 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1EntityPlayer.$inventory; var$3 = var$2.$currentItem; $var2 = var$3 < 9 && var$3 >= 0 ? var$2.$mainInventory.data[var$3] : null; if ($var2 !== null) { var$5 = $var2.$itemID; nms_Item_$callClinit(); if (var$5 == nms_Item_shears.$itemID0) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 !== null) { var$5 = var$6.$value0; var$7 = var$2.$elementData.data; var$2 = var$7[var$5 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$8 = var$2.$key; if (var$6 !== var$8 && !(var$6 !== var$8 ? (var$8 instanceof jl_Integer && var$8.$value0 == var$5 ? 1 : 0) : 1) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(!(var$2.$watchedObject.$value2 & 16) ? 0 : 1)) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[140]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$5 = var$6.$value0; var$7 = var$2.$elementData.data; var$2 = var$7[var$5 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$8 = var$2.$key; if (var$6 !== var$8 && !jl_Integer_equals(var$6, var$8) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value0 >= 0 ? 0 : 1)) { if (!$this.$worldObj.$isRemote) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$5 = var$6.$value0; var$7 = var$2.$elementData.data; var$2 = var$7[var$5 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$8 = var$2.$key; if (var$6 !== var$8 && !(var$6 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; var$2 = $this.$dataWatcher; var$5 = (var$3 | 16) << 24 >> 24; var$9 = jl_Byte_byteCache.data[var$5 + 128 | 0]; var$6 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[144]; if (var$10 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$11 = var$10.$value0; var$7 = var$6.$elementData.data; var$6 = var$7[var$11 & (var$7.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$11) { var$8 = var$6.$key; if (var$10 !== var$8 && !(var$10 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$11 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$8 = var$6 === null ? null : var$6.$value1; var$6 = var$8.$watchedObject; if (!(var$6 instanceof jl_Byte && var$6.$value2 == var$9.$value2 ? 1 : 0)) { var$8.$watchedObject = var$9; var$8.$watched = 1; var$2.$objectChanged = 1; } var$2 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$12; var$13 = Long_lo(Long_shru(var$12, 17)); while (true) { var$14 = var$13 % 3 | 0; if (((var$13 - var$14 | 0) + 2 | 0) >= 0) break; var$12 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$12; var$13 = Long_lo(Long_shru(var$12, 17)); } $var3 = 1 + var$14 | 0; $var4 = 0; var$14 = 144; var$17 = 1.0; var$3 = 138; var$18 = 24; if ($var4 < $var3) { var$9 = new nms_ItemStack; nms_Block_$callClinit(); var$19 = nms_Block_cloth.$blockID; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[var$14]; if (var$8 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$20 = var$8.$value0; var$7 = var$2.$elementData.data; var$2 = var$7[var$20 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$20) { var$6 = var$2.$key; if (var$8 !== var$6 && !(var$8 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$20 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; var$11 = var$2.$watchedObject.$value2 & 15; nms_ItemStack_$callClinit(); var$9.$itemID = var$19; var$9.$stackSize = 1; var$9.$itemDamage = var$11; if (var$11 < 0) var$9.$itemDamage = 0; $var5 = new nms_EntityItem; var$2 = $this.$worldObj; var$22 = $this.$posX; var$23 = $this.$posY + var$17; var$24 = $this.$posZ; $ptr = 3; continue main; } } var$5 = 1; $ptr = 2; continue main; } } } } $ptr = 1; case 1: $tmp = nms_EntityAnimal_interact($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } var$5 = $tmp; return var$5; case 2: nms_ItemStack_damageItem($var2, var$5, $par1EntityPlayer); if ($rt_suspending()) { break main; } nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1873), 1.0, 1.0); $ptr = 1; continue main; case 3: nms_EntityItem__init_($var5, var$2, var$22, var$23, var$24); if ($rt_suspending()) { break main; } var$6 = $var5.$dataWatcher; var$8 = var$6.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$3]; if (var$2 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$5 = jl_Integer_hashCode(var$2.$value0); var$7 = var$8.$elementData.data; var$8 = var$7[var$5 & (var$7.length - 1 | 0)]; while (var$8 !== null && !(var$8.$origKeyHash == var$5 && ju_HashMap_areEqualKeys(var$2, var$8.$key))) { var$8 = var$8.$next3; } } var$2 = var$8 === null ? null : var$8.$value1; if (!(var$9 !== var$2.$watchedObject ? 0 : 1)) { var$2.$watchedObject = var$9; var$2.$watched = 1; var$6.$objectChanged = 1; } var$10 = $var5.$dataWatcher; var$2 = var$10.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[var$3]; if (var$8 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$5 = jl_Integer_hashCode(var$8.$value0); var$7 = var$2.$elementData.data; var$2 = var$7[var$5 & (var$7.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$5 && ju_HashMap_areEqualKeys(var$8, var$2.$key))) { var$2 = var$2.$next3; } } (var$2 === null ? null : var$2.$value1).$watched = 1; var$10.$objectChanged = 1; $var5.$delayBeforeCanPickup = 10; var$2 = $this.$worldObj; var$5 = nms_World_spawnEntityInWorld(var$2, $var5); var$6 = var$2.$entityList; ju_HashMap_putImpl(var$6.$backingMap, $var5, var$6); if (!var$5) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, $var5, var$2); } var$22 = $var5.$motionY; var$2 = $this.$rand; var$25 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$25; $var5.$motionY = var$22 + Long_lo(Long_shru(var$25, var$18)) / 1.6777216E7 * 0.05000000074505806; var$22 = $var5.$motionX; var$25 = Long_and(Long_add(Long_mul(var$25, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$25; var$26 = Long_lo(Long_shru(var$25, var$18)) / 1.6777216E7; var$25 = Long_and(Long_add(Long_mul(var$25, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$25; $var5.$motionX = var$22 + (var$26 - Long_lo(Long_shru(var$25, var$18)) / 1.6777216E7) * 0.10000000149011612; var$22 = $var5.$motionZ; var$25 = Long_and(Long_add(Long_mul(var$25, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$25; var$26 = Long_lo(Long_shru(var$25, var$18)) / 1.6777216E7; var$12 = Long_and(Long_add(Long_mul(var$25, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$12; $var5.$motionZ = var$22 + (var$26 - Long_lo(Long_shru(var$12, var$18)) / 1.6777216E7) * 0.10000000149011612; $var4 = $var4 + 1 | 0; if ($var4 >= $var3) { var$5 = 1; $ptr = 2; continue main; } var$9 = new nms_ItemStack; nms_Block_$callClinit(); var$19 = nms_Block_cloth.$blockID; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[var$14]; if (var$8 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$20 = var$8.$value0; var$7 = var$2.$elementData.data; var$2 = var$7[var$20 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$20) { var$6 = var$2.$key; if (var$8 !== var$6 && !(var$8 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$20 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; var$11 = var$2.$watchedObject.$value2 & 15; nms_ItemStack_$callClinit(); var$9.$itemID = var$19; var$9.$stackSize = 1; var$9.$itemDamage = var$11; if (var$11 < 0) var$9.$itemDamage = 0; $var5 = new nms_EntityItem; var$2 = $this.$worldObj; var$22 = $this.$posX; var$23 = $this.$posY + var$17; var$24 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, $var2, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var3, $var4, var$17, var$18, var$19, var$20, $var5, var$22, var$23, var$24, var$25, var$26, $ptr); }, nms_EntitySheep_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[140]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = jl_Integer_hashCode(var$3.$value0); var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$3, var$2.$key))) { var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; var$7 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagInt; var$2.$name = $rt_s(1867); var$2.$data0 = var$6; ju_HashMap_putImpl(var$7, $rt_s(1867), var$2); var$6 = $this.$inLove; var$7 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagInt; var$2.$name = $rt_s(1868); var$2.$data0 = var$6; ju_HashMap_putImpl(var$7, $rt_s(1868), var$2); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$6 = var$7.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$6 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { var$3 = var$2.$key; if (var$7 !== var$3 && !(var$7 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; var$6 = (!(!(var$2.$watchedObject.$value2 & 16) ? 0 : 1) ? 0 : 1) << 24 >> 24; var$7 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagByte; var$2.$name = $rt_s(1874); var$2.$data = var$6; ju_HashMap_putImpl(var$7, $rt_s(1874), var$2); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$7 = var$2.$key; if (var$3 !== var$7 && !(var$3 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = ((var$2 === null ? null : var$2.$value1).$watchedObject.$value2 & 15) << 24 >> 24; $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagByte; var$2.$name = $rt_s(1875); var$2.$data = var$6; ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(1875), var$2); }, nms_EntitySheep_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NBTTagCompound = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); if ($rt_suspending()) { break main; } var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1867).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1867).$nativeString.length) break a; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1867).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(1867) !== var$6) { if ($rt_s(1867) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1867).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$7 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1867) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(1867).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1867).$nativeString.length) break c; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1867).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($rt_s(1867) !== var$6) { if ($rt_s(1867) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1867).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$data0; } var$8 = $this.$dataWatcher; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$7; } var$6 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$4 = jl_Integer_hashCode(var$9.$value0); var$5 = var$6.$elementData.data; var$6 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$6 !== null && !(var$6.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$9, var$6.$key))) { var$6 = var$6.$next3; } } var$10 = var$6 === null ? null : var$6.$value1; var$6 = var$10.$watchedObject; if (!(var$2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$2.$value0 ? 1 : 0)) { var$10.$watchedObject = var$2; var$10.$watched = 1; var$8.$objectChanged = 1; } var$8 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = ju_HashMap_entryByKey(var$8, jl_Integer_integerCache.data[140]); var$8 = var$8 === null ? null : var$8.$value1; var$11 = !(var$8.$watchedObject.$value0 >= 0 ? 0 : 1) ? 1.0 : 0.5; var$12 = $this.$field_98056_d * var$11; var$11 = $this.$field_98057_e * var$11; $ptr = 2; case 2: a: { nms_Entity_setSize($this, var$12, var$11); if ($rt_suspending()) { break main; } var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1868).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1868).$nativeString.length) break a; $rt_s(1868).$hashCode1 = (31 * $rt_s(1868).$hashCode1 | 0) + $rt_s(1868).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1868).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(1868) !== var$6) { if ($rt_s(1868) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1868).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1868) !== null) { e: { if (!$rt_s(1868).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1868).$nativeString.length) break e; $rt_s(1868).$hashCode1 = (31 * $rt_s(1868).$hashCode1 | 0) + $rt_s(1868).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1868).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { f: { var$6 = var$2.$key; if ($rt_s(1868) !== var$6) { if ($rt_s(1868) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(1868).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; g: { $this.$inLove = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1874).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1874).$nativeString.length) break g; $rt_s(1874).$hashCode1 = (31 * $rt_s(1874).$hashCode1 | 0) + $rt_s(1874).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1874).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { h: { var$6 = var$2.$key; if ($rt_s(1874) !== var$6) { if ($rt_s(1874) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(1874).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break h; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1874) !== null) { i: { if (!$rt_s(1874).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1874).$nativeString.length) break i; $rt_s(1874).$hashCode1 = (31 * $rt_s(1874).$hashCode1 | 0) + $rt_s(1874).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1874).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { j: { var$6 = var$2.$key; if ($rt_s(1874) !== var$6) { if ($rt_s(1874) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(1874).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break j; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } var$3 = !var$3 ? 0 : 1; var$8 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$13 = var$6.$value0; var$5 = var$8.$elementData.data; var$8 = var$5[var$13 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$13) { var$2 = var$8.$key; if (var$6 !== var$2 && !(var$6 !== var$2 ? (var$2 instanceof jl_Integer && var$2.$value0 == var$13 ? 1 : 0) : 1) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$7 = (var$8 === null ? null : var$8.$value1).$watchedObject.$value2; if (!var$3) { var$8 = $this.$dataWatcher; var$3 = (var$7 & (-17)) << 24 >> 24; var$9 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$2 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[144]; if (var$10 !== null) { var$4 = var$10.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$10 !== var$6 && !(var$10 !== var$6 ? (var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) : 1) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$9.$value2 ? 1 : 0)) { var$6.$watchedObject = var$9; var$6.$watched = 1; var$8.$objectChanged = 1; } } else { var$8 = $this.$dataWatcher; var$3 = (var$7 | 16) << 24 >> 24; var$9 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$2 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[144]; if (var$10 !== null) { var$4 = var$10.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$10 !== var$6 && !(var$10 !== var$6 ? (var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) : 1) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$9.$value2 ? 1 : 0)) { var$6.$watchedObject = var$9; var$6.$watched = 1; var$8.$objectChanged = 1; } } k: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1875).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1875).$nativeString.length) break k; $rt_s(1875).$hashCode1 = (31 * $rt_s(1875).$hashCode1 | 0) + $rt_s(1875).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$4 = $rt_s(1875).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { l: { var$6 = var$2.$key; if ($rt_s(1875) !== var$6) { if ($rt_s(1875) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1875).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$4 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1875) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { m: { if (!$rt_s(1875).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1875).$nativeString.length) break m; $rt_s(1875).$hashCode1 = (31 * $rt_s(1875).$hashCode1 | 0) + $rt_s(1875).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1875).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$3 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$3) { n: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(1875) !== var$2) { if ($rt_s(1875) === var$2) var$7 = 1; else if (!(var$2 instanceof jl_String)) var$7 = 0; else { var$2 = var$2; var$7 = $rt_s(1875).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break n; } } var$7 = 1; } if (var$7) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$4 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data; } $par1NBTTagCompound = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { var$13 = var$2.$value0; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$13 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$13) { var$8 = $par1NBTTagCompound.$key; if (var$2 !== var$8 && !(var$2 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$watchedObject.$value2; $par1NBTTagCompound = $this.$dataWatcher; var$3 = (var$3 & 240 | var$4 & 15) << 24 >> 24; var$10 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$8 = $par1NBTTagCompound.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$4 = var$6.$value0; var$5 = var$8.$elementData.data; var$8 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$4) { var$2 = var$8.$key; if (var$6 !== var$2 && !(var$6 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$2 = var$8 === null ? null : var$8.$value1; var$8 = var$2.$watchedObject; if (!(var$8 instanceof jl_Byte && var$8.$value2 == var$10.$value2 ? 1 : 0)) { var$2.$watchedObject = var$10; var$2.$watched = 1; $par1NBTTagCompound.$objectChanged = 1; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NBTTagCompound, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntitySheep_getLivingSound = $this => { return $rt_s(1876); }, nms_EntitySheep_getHurtSound = $this => { return $rt_s(1876); }, nms_EntitySheep_getDeathSound = $this => { return $rt_s(1876); }, nms_EntitySheep_playStepSound = ($this, $par1, $par2, $par3, $par4) => { nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1877), 0.15000000596046448, 1.0); }, nms_EntitySheep_getRandomFleeceColor = $par0Random => { let var$2, var$3, $var1, var$5; var$2 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { $var1 = var$3 % 100 | 0; if (((var$3 - $var1 | 0) + 99 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } if ($var1 < 5) var$5 = 15; else if ($var1 < 10) var$5 = 7; else if ($var1 < 15) var$5 = 8; else if ($var1 < 18) var$5 = 12; else { var$2 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { $var1 = var$3 % 500 | 0; if (((var$3 - $var1 | 0) + 499 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } var$5 = $var1 ? 0 : 6; } return var$5; }, nms_EntitySheep_onSpawnWithEgg = ($this, $par1EntityLivingData) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$2 = nms_SharedMonsterAttributes_followRange; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$4 = var$3.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null && !(var$4.$origKeyHash == var$6 && ju_HashMap_areEqualKeys(var$2, var$4.$key))) { var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = new nms_AttributeModifier; var$9 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05; var$3 = nle_ProfileUUID_randomUUID(); var$4.$isSaved = 1; var$4.$id2 = var$3; var$4.$name3 = $rt_s(1855); var$4.$amount = var$9; var$4.$operation = 1; if ($rt_s(1855) === $rt_s(18)) var$5 = 1; else if (!($rt_s(18) instanceof jl_String)) var$5 = 0; else { var$3 = $rt_s(18); var$5 = $rt_s(1855).$nativeString !== var$3.$nativeString ? 0 : 1; } if (var$5) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); var$2.$message = $rt_s(1292); $rt_throw(var$2); } nms_ModifiableAttributeInstance_applyModifier(var$8, var$4); var$5 = nms_EntitySheep_getRandomFleeceColor($this.$worldObj.$rand0); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$10 = var$3.$value0; var$7 = var$2.$elementData.data; var$2 = var$7[var$10 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { var$4 = var$2.$key; if (var$3 !== var$4 && !(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; var$2 = $this.$dataWatcher; var$5 = (var$6 & 240 | var$5 & 15) << 24 >> 24; var$11 = jl_Byte_byteCache.data[var$5 + 128 | 0]; var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$12 = var$8.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$12 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$12) { var$3 = var$4.$key; if (var$8 !== var$3 && !(var$8 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$3 = var$4 === null ? null : var$4.$value1; var$4 = var$3.$watchedObject; if (!(var$4 instanceof jl_Byte && var$4.$value2 == var$11.$value2 ? 1 : 0)) { var$3.$watchedObject = var$11; var$3.$watched = 1; var$2.$objectChanged = 1; } return $par1EntityLivingData; }, nms_EntitySheep_func_90014_a = ($this, $par1EntityAnimal, $par2EntityAnimal) => { let $var5, var$4, var$5, var$6, var$7, $var3, $var6, var$10, var$11; $var5 = $par1EntityAnimal.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$5 = var$4.$value0; var$6 = $var5.$elementData.data; $var5 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$5) { var$7 = $var5.$key; if (var$4 !== var$7 && !jl_Integer_equals(var$4, var$7) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; $var3 = 15 - ($var5.$watchedObject.$value2 & 15) | 0; $par2EntityAnimal = $par2EntityAnimal.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { $par2EntityAnimal = $par2EntityAnimal.$elementData.data[0]; while ($par2EntityAnimal !== null && $par2EntityAnimal.$key !== null) { $par2EntityAnimal = $par2EntityAnimal.$next3; } } else { $var6 = var$7.$value0; var$6 = $par2EntityAnimal.$elementData.data; $par2EntityAnimal = var$6[$var6 & (var$6.length - 1 | 0)]; while ($par2EntityAnimal !== null) { if ($par2EntityAnimal.$origKeyHash == $var6) { $var5 = $par2EntityAnimal.$key; if (var$7 !== $var5 && !jl_Integer_equals(var$7, $var5) ? 0 : 1) break; } $par2EntityAnimal = $par2EntityAnimal.$next3; } } $par2EntityAnimal = $par2EntityAnimal === null ? null : $par2EntityAnimal.$value1; $var6 = 15 - ($par2EntityAnimal.$watchedObject.$value2 & 15) | 0; $par2EntityAnimal = $this.$field_90016_e; var$6 = $par2EntityAnimal.$stackList.data; var$10 = var$6.length; $var5 = 0 < var$10 ? var$6[0] : null; $var5.$itemDamage = $var3; if ($var3 < 0) $var5.$itemDamage = 0; $var5 = 1 < var$10 ? var$6[1] : null; $var5.$itemDamage = $var6; if ($var6 < 0) $var5.$itemDamage = 0; a: { nms_CraftingManager_$callClinit(); $var5 = nms_CraftingManager_findMatchingRecipe(nms_CraftingManager_instance, $par2EntityAnimal, $par1EntityAnimal.$worldObj); if ($var5 !== null) { nms_Item_$callClinit(); if (nms_Item_itemsList.data[$var5.$itemID].$itemID0 == nms_Item_dyePowder.$itemID0) { $var6 = $var5.$itemDamage; break a; } } $par1EntityAnimal = $this.$worldObj.$rand0; var$11 = Long_and(Long_add(Long_mul($par1EntityAnimal.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityAnimal.$seed = var$11; if (!Long_lo(Long_shru(var$11, 47)) ? 0 : 1) $var6 = $var3; } return $var6; }, nms_EntitySheep_createChild = ($this, $par1EntityAgeable) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityAgeable = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityAgeable = $par1EntityAgeable; var$2 = new nms_EntitySheep; var$3 = $this.$worldObj; $ptr = 1; case 1: nms_EntitySheep__init_(var$2, var$3); if ($rt_suspending()) { break main; } var$4 = 15 - nms_EntitySheep_func_90014_a($this, $this, $par1EntityAgeable) | 0; $par1EntityAgeable = var$2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { $par1EntityAgeable = $par1EntityAgeable.$elementData.data[0]; while ($par1EntityAgeable !== null && $par1EntityAgeable.$key !== null) { $par1EntityAgeable = $par1EntityAgeable.$next3; } } else { var$5 = var$3.$value0; var$6 = $par1EntityAgeable.$elementData.data; $par1EntityAgeable = var$6[var$5 & (var$6.length - 1 | 0)]; while ($par1EntityAgeable !== null) { if ($par1EntityAgeable.$origKeyHash == var$5) { var$7 = $par1EntityAgeable.$key; if (var$3 !== var$7 && !jl_Integer_equals(var$3, var$7) ? 0 : 1) break; } $par1EntityAgeable = $par1EntityAgeable.$next3; } } var$8 = ($par1EntityAgeable === null ? null : $par1EntityAgeable.$value1).$watchedObject.$value2; $par1EntityAgeable = var$2.$dataWatcher; var$4 = (var$8 & 240 | var$4 & 15) << 24 >> 24; var$9 = jl_Byte_byteCache.data[var$4 + 128 | 0]; var$3 = $par1EntityAgeable.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$7.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$10 = var$3.$key; if (var$7 !== var$10 && !jl_Integer_equals(var$7, var$10) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = var$3 === null ? null : var$3.$value1; var$3 = var$7.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$9.$value2 ? 1 : 0)) { var$7.$watchedObject = var$9; var$7.$watched = 1; $par1EntityAgeable.$objectChanged = 1; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityAgeable, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntitySheep__clinit_ = () => { let var$1, var$2; var$1 = $rt_createArray($rt_arraycls($rt_floatcls), 16); var$2 = var$1.data; var$2[0] = $rt_createFloatArrayFromData([1.0, 1.0, 1.0]); var$2[1] = $rt_createFloatArrayFromData([0.8500000238418579, 0.5, 0.20000000298023224]); var$2[2] = $rt_createFloatArrayFromData([0.699999988079071, 0.30000001192092896, 0.8500000238418579]); var$2[3] = $rt_createFloatArrayFromData([0.4000000059604645, 0.6000000238418579, 0.8500000238418579]); var$2[4] = $rt_createFloatArrayFromData([0.8999999761581421, 0.8999999761581421, 0.20000000298023224]); var$2[5] = $rt_createFloatArrayFromData([0.5, 0.800000011920929, 0.10000000149011612]); var$2[6] = $rt_createFloatArrayFromData([0.949999988079071, 0.5, 0.6499999761581421]); var$2[7] = $rt_createFloatArrayFromData([0.30000001192092896, 0.30000001192092896, 0.30000001192092896]); var$2[8] = $rt_createFloatArrayFromData([0.6000000238418579, 0.6000000238418579, 0.6000000238418579]); var$2[9] = $rt_createFloatArrayFromData([0.30000001192092896, 0.5, 0.6000000238418579]); var$2[10] = $rt_createFloatArrayFromData([0.5, 0.25, 0.699999988079071]); var$2[11] = $rt_createFloatArrayFromData([0.20000000298023224, 0.30000001192092896, 0.699999988079071]); var$2[12] = $rt_createFloatArrayFromData([0.4000000059604645, 0.30000001192092896, 0.20000000298023224]); var$2[13] = $rt_createFloatArrayFromData([0.4000000059604645, 0.5, 0.20000000298023224]); var$2[14] = $rt_createFloatArrayFromData([0.6000000238418579, 0.20000000298023224, 0.20000000298023224]); var$2[15] = $rt_createFloatArrayFromData([0.10000000149011612, 0.10000000149011612, 0.10000000149011612]); nms_EntitySheep_fleeceColorTable = var$1; }, nms_RenderSheep = $rt_classWithoutFields(nms_RenderLiving), nms_RenderSheep_sheepTextures = null, nms_RenderSheep_shearedSheepTextures = null, nms_RenderSheep_$callClinit = () => { nms_RenderSheep_$callClinit = $rt_eraseClinit(nms_RenderSheep); nms_RenderSheep__clinit_(); }, nms_RenderSheep_setWoolColorAndRender = ($this, $par1EntitySheep, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, $var5, var$10, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();var$10 = $thread.pop();$var5 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntitySheep = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par2) { var$4 = $par1EntitySheep.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; if (!(!(var$4.$watchedObject.$value2 & 16) ? 0 : 1)) { nms_RenderSheep_$callClinit(); var$4 = nms_RenderSheep_sheepTextures; $ptr = 1; continue main; } } return (-1); case 1: nle_TextureLocation_bindTexture(var$4); if ($rt_suspending()) { break main; } $par1EntitySheep = $par1EntitySheep.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { $par1EntitySheep = $par1EntitySheep.$elementData.data[0]; while ($par1EntitySheep !== null && $par1EntitySheep.$key !== null) { $par1EntitySheep = $par1EntitySheep.$next3; } } else { var$6 = var$8.$value0; var$7 = $par1EntitySheep.$elementData.data; $par1EntitySheep = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par1EntitySheep !== null) { if ($par1EntitySheep.$origKeyHash == var$6) { var$4 = $par1EntitySheep.$key; if (var$8 !== var$4 && !(var$8 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } $par1EntitySheep = $par1EntitySheep.$next3; } } $var5 = ($par1EntitySheep === null ? null : $par1EntitySheep.$value1).$watchedObject.$value2 & 15; var$7 = nms_EntitySheep_fleeceColorTable.data; $par3 = 1.0 * var$7[$var5].data[0]; var$10 = 1.0 * var$7[$var5].data[1]; $var4 = 1.0 * var$7[$var5].data[2]; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par3; nleg_EaglerAdapterGL30_colorG = var$10; nleg_EaglerAdapterGL30_colorB = $var4; nleg_EaglerAdapterGL30_colorA = 1.0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntitySheep, $par2, $par3, var$4, var$5, var$6, var$7, var$8, $var5, var$10, $var4, $ptr); }, nms_RenderSheep_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderSheep_$callClinit(); $par1EntityLiving = nms_RenderSheep_shearedSheepTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderSheep_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: $tmp = nms_RenderSheep_setWoolColorAndRender($this, $par1EntityLivingBase, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $ptr); }, nms_RenderSheep_getEntityTexture = ($this, $par1Entity) => { nms_RenderSheep_$callClinit(); return nms_RenderSheep_shearedSheepTextures; }, nms_RenderSheep__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1878); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderSheep_sheepTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1879); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderSheep_shearedSheepTextures = var$1; }; function nms_ModelSheep2() { nms_ModelQuadruped.call(this); this.$field_78153_i = 0.0; } let nms_ModelSheep2__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; nms_ModelQuadruped__init_($this, 12, 0.0); var$1 = new nms_ModelRenderer; var$2 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$3; var$1.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$4[var$5] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; var$1.$boxName = var$2; var$5 = $this.$textureWidth0; var$6 = $this.$textureHeight0; var$1.$textureWidth = var$5; var$1.$textureHeight = var$6; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; $this.$head0 = var$1; var$3 = var$1.$cubeList; var$2 = nms_ModelBox__init_(var$1, 0, 0, (-3.0), (-4.0), (-6.0), 6, 6, 8, 0.0); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$4[var$7] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$1 = $this.$head0; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 6.0; var$1.$rotationPointZ = (-8.0); var$1 = new nms_ModelRenderer; var$2 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$3; var$1.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$4[var$6] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; var$1.$boxName = var$2; var$5 = $this.$textureWidth0; var$6 = $this.$textureHeight0; var$1.$textureWidth = var$5; var$1.$textureHeight = var$6; var$1.$textureOffsetX = 28; var$1.$textureOffsetY = 8; $this.$body = var$1; var$3 = var$1.$cubeList; var$2 = nms_ModelBox__init_(var$1, 28, 8, (-4.0), (-10.0), (-7.0), 8, 16, 6, 0.0); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$4[var$7] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$1 = $this.$body; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 5.0; var$1.$rotationPointZ = 2.0; }, nms_ModelSheep2__init_0 = () => { let var_0 = new nms_ModelSheep2(); nms_ModelSheep2__init_(var_0); return var_0; }, nms_ModelSheep2_setLivingAnimations = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { let var$5; var$5 = $this.$head0; $par1EntityLivingBase = $par1EntityLivingBase; var$5.$rotationPointY = 6.0 + nms_EntitySheep_func_70894_j($par1EntityLivingBase, $par4) * 9.0; $this.$field_78153_i = nms_EntitySheep_func_70890_k($par1EntityLivingBase, $par4); }, nms_ModelSheep2_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { nms_ModelQuadruped_setRotationAngles($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity); $this.$head0.$rotateAngleX = $this.$field_78153_i; }; function nms_ModelSheep1() { nms_ModelQuadruped.call(this); this.$field_78152_i = 0.0; } let nms_ModelSheep1__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_ModelQuadruped__init_($this, 12, 0.0); var$1 = new nms_ModelRenderer; var$2 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$3; var$1.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$4[var$5] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; var$1.$boxName = var$2; var$6 = $this.$textureWidth0; var$5 = $this.$textureHeight0; var$1.$textureWidth = var$6; var$1.$textureHeight = var$5; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; $this.$head0 = var$1; var$3 = var$1.$cubeList; var$2 = nms_ModelBox__init_(var$1, 0, 0, (-3.0), (-4.0), (-4.0), 6, 6, 6, 0.6000000238418579); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$4[var$7] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$1 = $this.$head0; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 6.0; var$1.$rotationPointZ = (-8.0); var$1 = new nms_ModelRenderer; var$2 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$3; var$1.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$4[var$5] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; var$1.$boxName = var$2; var$6 = $this.$textureWidth0; var$5 = $this.$textureHeight0; var$1.$textureWidth = var$6; var$1.$textureHeight = var$5; var$1.$textureOffsetX = 28; var$1.$textureOffsetY = 8; $this.$body = var$1; var$3 = var$1.$cubeList; var$2 = nms_ModelBox__init_(var$1, 28, 8, (-4.0), (-10.0), (-7.0), 8, 16, 6, 1.75); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$4[var$7] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$1 = $this.$body; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 5.0; var$1.$rotationPointZ = 2.0; var$3 = new nms_ModelRenderer; var$1 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$2; var$3.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$4[var$7] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3.$boxName = var$1; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$7; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 16; $this.$leg1 = var$3; var$2 = var$3.$cubeList; var$1 = nms_ModelBox__init_(var$3, 0, 16, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.5); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = $this.$leg1; var$1.$rotationPointX = (-3.0); var$1.$rotationPointY = 12.0; var$1.$rotationPointZ = 7.0; var$3 = new nms_ModelRenderer; var$1 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$2; var$3.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$4[var$7] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3.$boxName = var$1; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$7; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 16; $this.$leg2 = var$3; var$2 = var$3.$cubeList; var$1 = nms_ModelBox__init_(var$3, 0, 16, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.5); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = $this.$leg2; var$1.$rotationPointX = 3.0; var$1.$rotationPointY = 12.0; var$1.$rotationPointZ = 7.0; var$3 = new nms_ModelRenderer; var$1 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$2; var$3.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$4[var$7] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3.$boxName = var$1; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$7; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 16; $this.$leg3 = var$3; var$2 = var$3.$cubeList; var$1 = nms_ModelBox__init_(var$3, 0, 16, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.5); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = $this.$leg3; var$1.$rotationPointX = (-3.0); var$1.$rotationPointY = 12.0; var$1.$rotationPointZ = (-5.0); var$2 = new nms_ModelRenderer; var$3 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$1; var$2.$baseModel = $this; var$1 = $this.$boxList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$4 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$4[var$7] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$2.$boxName = var$3; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$2.$textureWidth = var$8; var$2.$textureHeight = var$7; var$2.$textureOffsetX = 0; var$2.$textureOffsetY = 16; $this.$leg4 = var$2; var$3 = var$2.$cubeList; var$1 = nms_ModelBox__init_(var$2, 0, 16, (-2.0), 0.0, (-2.0), 4, 6, 4, 0.5); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; var$1 = $this.$leg4; var$1.$rotationPointX = 3.0; var$1.$rotationPointY = 12.0; var$1.$rotationPointZ = (-5.0); }, nms_ModelSheep1__init_0 = () => { let var_0 = new nms_ModelSheep1(); nms_ModelSheep1__init_(var_0); return var_0; }, nms_ModelSheep1_setLivingAnimations = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { let var$5; var$5 = $this.$head0; $par1EntityLivingBase = $par1EntityLivingBase; var$5.$rotationPointY = 6.0 + nms_EntitySheep_func_70894_j($par1EntityLivingBase, $par4) * 9.0; $this.$field_78152_i = nms_EntitySheep_func_70890_k($par1EntityLivingBase, $par4); }, nms_ModelSheep1_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { nms_ModelQuadruped_setRotationAngles($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity); $this.$head0.$rotateAngleX = $this.$field_78152_i; }, nms_EntityCow = $rt_classWithoutFields(nms_EntityAnimal), nms_EntityCow__init_ = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; $this.$field_98056_d = (-1.0); $this.$field_98056_d = 0.8999999761581421; $this.$field_98057_e = 1.2999999523162842; var$2 = 0.8999999761581421; var$3 = 1.2999999523162842; $ptr = 1; case 1: nms_Entity_setSize($this, var$2, var$3); if ($rt_suspending()) { break main; } var$4 = $this.$navigator; var$4.$avoidsWater = 1; $par1World = $this.$tasks0; var$5 = new nms_EntityAISwimming; var$5.$theEntity2 = $this; var$5.$mutexBits = 4; var$4.$canSwim = 1; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 0; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIPanic; var$5.$theEntityCreature = $this; var$5.$speed1 = 2.0; var$5.$mutexBits = 1; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 1; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIMate; var$5.$theAnimal = $this; var$5.$theWorld1 = $this.$worldObj; var$5.$moveSpeed = 1.0; var$5.$mutexBits = 3; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 2; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; var$5 = $this.$tasks0; var$4 = new nms_EntityAITempt; nms_Item_$callClinit(); var$10 = nms_Item_wheat.$itemID0; var$4.$temptedEntity = $this; var$4.$field_75282_b = 1.25; var$4.$breedingFood = var$10; var$4.$scaredByPlayerMovement = 0; var$4.$mutexBits = 3; var$6 = var$5.$taskEntries; $par1World = new nms_EntityAITaskEntry; $par1World.$tasks = var$5; $par1World.$priority = 3; $par1World.$action = var$4; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = $par1World; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIFollowParent; var$5.$childAnimal = $this; var$5.$field_75347_c = 1.25; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 4; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIWander; var$5.$entity = $this; var$5.$speed = 1.0; var$5.$mutexBits = 1; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 5; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIWatchClosest; var$5.$theWatcher = $this; var$5.$watchedClass = $rt_cls(nms_EntityPlayer); var$5.$maxDistanceForPlayer = 6.0; var$5.$field_75331_e = 0.019999999552965164; var$5.$mutexBits = 2; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 6; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAILookIdle; var$5.$idleEntity = $this; var$5.$mutexBits = 3; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 7; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityCow__init_0 = var_0 => { let var_1 = new nms_EntityCow(); nms_EntityCow__init_(var_1, var_0); return var_1; }, nms_EntityCow_isAIEnabled = $this => { return 1; }, nms_EntityCow_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (10.0 !== var$3.$baseValue) { var$3.$baseValue = 10.0; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break b; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.20000000298023224 !== var$1.$baseValue) { var$1.$baseValue = 0.20000000298023224; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityCow_getLivingSound = $this => { return $rt_s(1880); }, nms_EntityCow_getHurtSound = $this => { return $rt_s(1881); }, nms_EntityCow_getDeathSound = $this => { return $rt_s(1881); }, nms_EntityCow_playStepSound = ($this, $par1, $par2, $par3, $par4) => { nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1882), 0.15000000596046448, 1.0); }, nms_EntityCow_getSoundVolume = $this => { return 0.4000000059604645; }, nms_EntityCow_getDropItemId = $this => { nms_Item_$callClinit(); return nms_Item_leather.$itemID0; }, nms_EntityCow_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, var$5, $var3, var$7, $var4, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var4 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = 17; $var3 = Long_lo(Long_shru(var$4, var$5)); var$7 = 2; while (true) { $var4 = $var3 % 3 | 0; if ((($var3 - $var4 | 0) + var$7 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var3 = Long_lo(Long_shru(var$4, var$5)); } $par1 = 1 + $par2 | 0; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); var$9 = $par1 - 1 | 0; var$10 = $par1 & var$9; if (!var$10) $var3 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($par2)), 31)); else while (true) { $var3 = $par2 % $par1 | 0; if ((($par2 - $var3 | 0) + var$9 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); } $var3 = $var4 + $var3 | 0; $var4 = 0; var$11 = 0.0; var$12 = 138; if ($var4 < $var3) { nms_Item_$callClinit(); $par2 = nms_Item_leather.$itemID0; var$13 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$13.$itemID = $par2; var$13.$stackSize = 1; var$13.$itemDamage = 0; var$14 = new nms_EntityItem; var$3 = $this.$worldObj; var$15 = $this.$posX; var$16 = $this.$posY + var$11; var$17 = $this.$posZ; $ptr = 1; continue main; } var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); while (true) { $var3 = $par2 % 3 | 0; if ((($par2 - $var3 | 0) + var$7 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); } $var3 = $var3 + 1 | 0; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); if (!var$10) $var4 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($par2)), 31)); else while (true) { $var4 = $par2 % $par1 | 0; if ((($par2 - $var4 | 0) + var$9 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); } $par1 = $var3 + $var4 | 0; var$10 = 0; $var4 = 128; var$18 = 1; if (var$10 >= $par1) return; a: { b: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break b; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$19 = jl_Integer_integerCache.data[$var4]; if (var$19 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$9 = var$19.$value0; var$20 = var$3.$elementData.data; var$3 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { var$21 = var$3.$key; if (var$19 !== var$21 && !jl_Integer_equals(var$19, var$21) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value2 & var$18) ? 0 : 1) break b; } $par2 = 0; break a; } $par2 = 1; } if (!$par2) { nms_Item_$callClinit(); $par2 = nms_Item_beefRaw.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$21 = new nms_EntityItem; var$19 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$11; var$15 = $this.$posZ; $ptr = 2; continue main; } nms_Item_$callClinit(); $par2 = nms_Item_beefCooked.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$21 = new nms_EntityItem; var$19 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$11; var$15 = $this.$posZ; $ptr = 3; continue main; case 1: nms_EntityItem__init_(var$14, var$3, var$15, var$16, var$17); if ($rt_suspending()) { break main; } var$19 = var$14.$dataWatcher; var$3 = var$19.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$12]); var$21 = var$3 === null ? null : var$3.$value1; if (!(var$13 !== var$21.$watchedObject ? 0 : 1)) { var$21.$watchedObject = var$13; var$21.$watched = 1; var$19.$objectChanged = 1; } var$19 = var$14.$dataWatcher; var$3 = var$19.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$12]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$19.$objectChanged = 1; var$14.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par2 = nms_World_spawnEntityInWorld(var$3, var$14); var$21 = var$3.$entityList; ju_HashMap_putImpl(var$21.$backingMap, var$14, var$21); if (!$par2) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$14, var$3); } $var4 = $var4 + 1 | 0; if ($var4 < $var3) { nms_Item_$callClinit(); $par2 = nms_Item_leather.$itemID0; var$13 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$13.$itemID = $par2; var$13.$stackSize = 1; var$13.$itemDamage = 0; var$14 = new nms_EntityItem; var$3 = $this.$worldObj; var$15 = $this.$posX; var$16 = $this.$posY + var$11; var$17 = $this.$posZ; continue main; } var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); while (true) { $var3 = $par2 % 3 | 0; if ((($par2 - $var3 | 0) + var$7 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); } $var3 = $var3 + 1 | 0; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); if (!var$10) $var4 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($par2)), 31)); else while (true) { $var4 = $par2 % $par1 | 0; if ((($par2 - $var4 | 0) + var$9 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); } $par1 = $var3 + $var4 | 0; var$10 = 0; $var4 = 128; var$18 = 1; if (var$10 >= $par1) return; c: { d: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break d; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$19 = jl_Integer_integerCache.data[$var4]; if (var$19 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$9 = var$19.$value0; var$20 = var$3.$elementData.data; var$3 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { var$21 = var$3.$key; if (var$19 !== var$21 && !jl_Integer_equals(var$19, var$21) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value2 & var$18) ? 0 : 1) break d; } $par2 = 0; break c; } $par2 = 1; } if (!$par2) { nms_Item_$callClinit(); $par2 = nms_Item_beefRaw.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$21 = new nms_EntityItem; var$19 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$11; var$15 = $this.$posZ; $ptr = 2; continue main; } nms_Item_$callClinit(); $par2 = nms_Item_beefCooked.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$21 = new nms_EntityItem; var$19 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$11; var$15 = $this.$posZ; $ptr = 3; continue main; case 2: nms_EntityItem__init_(var$21, var$19, var$16, var$17, var$15); if ($rt_suspending()) { break main; } var$14 = var$21.$dataWatcher; var$19 = var$14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$19 = ju_HashMap_entryByKey(var$19, jl_Integer_integerCache.data[var$12]); var$13 = var$19 === null ? null : var$19.$value1; if (!(var$3 !== var$13.$watchedObject ? 0 : 1)) { var$13.$watchedObject = var$3; var$13.$watched = 1; var$14.$objectChanged = 1; } var$13 = var$21.$dataWatcher; var$3 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$12]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$13.$objectChanged = 1; var$21.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par2 = nms_World_spawnEntityInWorld(var$3, var$21); var$19 = var$3.$entityList; ju_HashMap_putImpl(var$19.$backingMap, var$21, var$19); if (!$par2) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$21, var$3); } var$10 = var$10 + 1 | 0; if (var$10 >= $par1) return; e: { f: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break f; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$19 = jl_Integer_integerCache.data[$var4]; if (var$19 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$9 = var$19.$value0; var$20 = var$3.$elementData.data; var$3 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { var$21 = var$3.$key; if (var$19 !== var$21 && !jl_Integer_equals(var$19, var$21) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value2 & var$18) ? 0 : 1) break f; } $par2 = 0; break e; } $par2 = 1; } if (!$par2) { nms_Item_$callClinit(); $par2 = nms_Item_beefRaw.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$21 = new nms_EntityItem; var$19 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$11; var$15 = $this.$posZ; continue main; } nms_Item_$callClinit(); $par2 = nms_Item_beefCooked.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$21 = new nms_EntityItem; var$19 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$11; var$15 = $this.$posZ; $ptr = 3; case 3: nms_EntityItem__init_(var$21, var$19, var$16, var$17, var$15); if ($rt_suspending()) { break main; } var$14 = var$21.$dataWatcher; var$19 = var$14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$19 = ju_HashMap_entryByKey(var$19, jl_Integer_integerCache.data[var$12]); var$13 = var$19 === null ? null : var$19.$value1; if (!(var$3 !== var$13.$watchedObject ? 0 : 1)) { var$13.$watchedObject = var$3; var$13.$watched = 1; var$14.$objectChanged = 1; } var$13 = var$21.$dataWatcher; var$3 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$12]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$13.$objectChanged = 1; var$21.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par2 = nms_World_spawnEntityInWorld(var$3, var$21); var$19 = var$3.$entityList; ju_HashMap_putImpl(var$19.$backingMap, var$21, var$19); if (!$par2) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$21, var$3); } var$10 = var$10 + 1 | 0; if (var$10 >= $par1) return; e: { f: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break f; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$19 = jl_Integer_integerCache.data[$var4]; if (var$19 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$9 = var$19.$value0; var$20 = var$3.$elementData.data; var$3 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { var$21 = var$3.$key; if (var$19 !== var$21 && !jl_Integer_equals(var$19, var$21) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value2 & var$18) ? 0 : 1) break f; } $par2 = 0; break e; } $par2 = 1; } if (!$par2) { nms_Item_$callClinit(); $par2 = nms_Item_beefRaw.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$21 = new nms_EntityItem; var$19 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$11; var$15 = $this.$posZ; $ptr = 2; continue main; } nms_Item_$callClinit(); $par2 = nms_Item_beefCooked.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$21 = new nms_EntityItem; var$19 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$11; var$15 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, $var3, var$7, $var4, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr); }, nms_EntityCow_interact = ($this, $par1EntityPlayer) => { let var$2, var$3, $var2, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1EntityPlayer.$inventory; var$3 = var$2.$currentItem; $var2 = var$3 < 9 && var$3 >= 0 ? var$2.$mainInventory.data[var$3] : null; if ($var2 !== null) { var$5 = $var2.$itemID; nms_Item_$callClinit(); if (var$5 == nms_Item_bucketEmpty.$itemID0 && !$par1EntityPlayer.$capabilities.$isCreativeMode) { var$6 = $var2.$stackSize; $var2.$stackSize = var$6 - 1 | 0; if (var$6 == 1) { $par1EntityPlayer = new nms_ItemStack; var$7 = nms_Item_bucketMilk; nms_ItemStack_$callClinit(); $par1EntityPlayer.$itemID = var$7.$itemID0; $par1EntityPlayer.$stackSize = 1; $par1EntityPlayer.$itemDamage = 0; var$8 = var$2.$mainInventory; var$5 = var$8.data.length; if (var$3 >= var$5) { var$3 = var$3 - var$5 | 0; var$8 = var$2.$armorInventory; } var$8.data[var$3] = $par1EntityPlayer; } else { var$7 = new nms_ItemStack; $var2 = nms_Item_bucketMilk; nms_ItemStack_$callClinit(); var$7.$itemID = $var2.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; if (!nms_InventoryPlayer_addItemStackToInventory(var$2, var$7)) { var$2 = new nms_ItemStack; var$2.$itemID = nms_Item_bucketMilk.$itemID0; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$5 = 0; $ptr = 2; continue main; } } return 1; } } $ptr = 1; case 1: $tmp = nms_EntityAnimal_interact($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } var$5 = $tmp; return var$5; case 2: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, var$2, var$5); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, $var2, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityCow_spawnBabyAnimal = ($this, $par1EntityAgeable) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1EntityAgeable = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityAgeable = new nms_EntityCow; var$2 = $this.$worldObj; $ptr = 1; case 1: nms_EntityCow__init_($par1EntityAgeable, var$2); if ($rt_suspending()) { break main; } return $par1EntityAgeable; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityAgeable, var$2, $ptr); }, nms_EntityCow_createChild = ($this, $par1EntityAgeable) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityAgeable = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $this.$spawnBabyAnimal($par1EntityAgeable); if ($rt_suspending()) { break main; } $par1EntityAgeable = $tmp; return $par1EntityAgeable; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityAgeable, $ptr); }, nms_RenderCow = $rt_classWithoutFields(nms_RenderLiving), nms_RenderCow_cowTextures = null, nms_RenderCow_$callClinit = () => { nms_RenderCow_$callClinit = $rt_eraseClinit(nms_RenderCow); nms_RenderCow__clinit_(); }, nms_RenderCow_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderCow_$callClinit(); $par1EntityLiving = nms_RenderCow_cowTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderCow_getEntityTexture = ($this, $par1Entity) => { nms_RenderCow_$callClinit(); return nms_RenderCow_cowTextures; }, nms_RenderCow__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1883); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderCow_cowTextures = var$1; }, nms_ModelCow = $rt_classWithoutFields(nms_ModelQuadruped), nms_ModelCow__init_0 = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; nms_ModelQuadruped__init_($this, 12, 0.0); var$1 = new nms_ModelRenderer; var$2 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$3; var$1.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$4[var$5] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; var$1.$boxName = var$2; var$6 = $this.$textureWidth0; var$5 = $this.$textureHeight0; var$1.$textureWidth = var$6; var$1.$textureHeight = var$5; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; $this.$head0 = var$1; var$3 = var$1.$cubeList; var$2 = nms_ModelBox__init_(var$1, 0, 0, (-4.0), (-4.0), (-6.0), 8, 8, 6, 0.0); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$4[var$7] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$1 = $this.$head0; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = (-8.0); var$1.$textureOffsetX = 22; var$1.$textureOffsetY = 0; var$3 = var$1.$cubeList; var$2 = nms_ModelBox__init_(var$1, 22, 0, (-5.0), (-5.0), (-4.0), 1, 3, 1, 0.0); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$4[var$7] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$1 = $this.$head0; var$1.$textureOffsetX = 22; var$1.$textureOffsetY = 0; var$3 = var$1.$cubeList; var$2 = nms_ModelBox__init_(var$1, 22, 0, 4.0, (-5.0), (-4.0), 1, 3, 1, 0.0); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$4[var$7] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$1 = new nms_ModelRenderer; var$2 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$3; var$1.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$4[var$5] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; var$1.$boxName = var$2; var$6 = $this.$textureWidth0; var$5 = $this.$textureHeight0; var$1.$textureWidth = var$6; var$1.$textureHeight = var$5; var$1.$textureOffsetX = 18; var$1.$textureOffsetY = 4; $this.$body = var$1; var$3 = var$1.$cubeList; var$2 = nms_ModelBox__init_(var$1, 18, 4, (-6.0), (-10.0), (-7.0), 12, 18, 10, 0.0); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$4[var$7] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$1 = $this.$body; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 5.0; var$1.$rotationPointZ = 2.0; var$1.$textureOffsetX = 52; var$1.$textureOffsetY = 0; var$3 = var$1.$cubeList; var$2 = nms_ModelBox__init_(var$1, 52, 0, (-2.0), 2.0, (-8.0), 4, 6, 1, 0.0); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$4[var$7] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$1 = $this.$leg1; var$1.$rotationPointX = var$1.$rotationPointX - 1.0; var$2 = $this.$leg2; var$2.$rotationPointX = var$2.$rotationPointX + 1.0; var$1.$rotationPointZ = var$1.$rotationPointZ + 0.0; var$2.$rotationPointZ = var$2.$rotationPointZ + 0.0; var$1 = $this.$leg3; var$1.$rotationPointX = var$1.$rotationPointX - 1.0; var$2 = $this.$leg4; var$2.$rotationPointX = var$2.$rotationPointX + 1.0; var$1.$rotationPointZ = var$1.$rotationPointZ - 1.0; var$2.$rotationPointZ = var$2.$rotationPointZ - 1.0; $this.$field_78151_h = $this.$field_78151_h + 2.0; }, nms_ModelCow__init_ = () => { let var_0 = new nms_ModelCow(); nms_ModelCow__init_0(var_0); return var_0; }, nms_EntityMooshroom = $rt_classWithoutFields(nms_EntityCow), nms_EntityMooshroom_interact = ($this, $par1EntityPlayer) => { let $var3, var$3, $var2, $var4, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $par1EntityPlayer.$inventory; var$3 = $var3.$currentItem; $var2 = var$3 < 9 && var$3 >= 0 ? $var3.$mainInventory.data[var$3] : null; if ($var2 !== null) { $var4 = $var2.$itemID; nms_Item_$callClinit(); if ($var4 == nms_Item_bowlEmpty.$itemID0) { $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[140]; if (var$6 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$7 = var$6.$value0; var$8 = $var3.$elementData.data; $var3 = var$8[var$7 & (var$8.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$7) { var$9 = $var3.$key; if (var$6 !== var$9 && !(var$6 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } if (($var3 === null ? null : $var3.$value1).$watchedObject.$value0 >= 0) { if ($var2.$stackSize == 1) { $par1EntityPlayer = $par1EntityPlayer.$inventory; $var4 = $par1EntityPlayer.$currentItem; $var3 = new nms_ItemStack; $var2 = nms_Item_bowlSoup; nms_ItemStack_$callClinit(); $var3.$itemID = $var2.$itemID0; $var3.$stackSize = 1; $var3.$itemDamage = 0; var$8 = $par1EntityPlayer.$mainInventory; var$3 = var$8.data.length; if ($var4 >= var$3) { $var4 = $var4 - var$3 | 0; var$8 = $par1EntityPlayer.$armorInventory; } var$8.data[$var4] = $var3; return 1; } $var3 = $par1EntityPlayer.$inventory; var$9 = new nms_ItemStack; var$6 = nms_Item_bowlSoup; nms_ItemStack_$callClinit(); var$9.$itemID = var$6.$itemID0; var$9.$stackSize = 1; var$9.$itemDamage = 0; if (nms_InventoryPlayer_addItemStackToInventory($var3, var$9) && !$par1EntityPlayer.$capabilities.$isCreativeMode) { $par1EntityPlayer = $par1EntityPlayer.$inventory; $var4 = $par1EntityPlayer.$currentItem; var$3 = 1; $ptr = 2; continue main; } } } } if ($var2 !== null) { $var4 = $var2.$itemID; nms_Item_$callClinit(); if ($var4 == nms_Item_shears.$itemID0) { $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[140]; if ($var2 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var4 = $var2.$value0; var$8 = $var3.$elementData.data; $var3 = var$8[$var4 & (var$8.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var4) { var$9 = $var3.$key; if ($var2 !== var$9 && !($var2 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == $var4 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } if (($var3 === null ? null : $var3.$value1).$watchedObject.$value0 >= 0) { $this.$isDead = 1; $par1EntityPlayer = $this.$worldObj; $var3 = $rt_s(1474); var$10 = $this.$posX; var$11 = $this.$posY + $this.$height2 / 2.0; var$12 = $this.$posZ; var$13 = 0.0; var$14 = 0.0; var$15 = 0.0; $var4 = 0; $var2 = $par1EntityPlayer.$worldAccesses; var$3 = $rt_compare($var4, $var2.$size0); if (var$3 >= 0) { $par1EntityPlayer = $this.$worldObj; if ($par1EntityPlayer.$isRemote) return 1; $var3 = new nms_EntityCow; $ptr = 3; continue main; } if ($var4 >= 0 && var$3 < 0) { $var2 = $var2.$array.data[$var4]; $ptr = 4; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } } } $ptr = 1; case 1: $tmp = nms_EntityCow_interact($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } $var4 = $tmp; return $var4; case 2: nms_InventoryPlayer_decrStackSize($par1EntityPlayer, $var4, var$3); if ($rt_suspending()) { break main; } return 1; case 3: nms_EntityCow__init_($var3, $par1EntityPlayer); if ($rt_suspending()) { break main; } var$13 = $this.$posX; var$14 = $this.$posY; var$15 = $this.$posZ; var$16 = $this.$rotationYaw; var$17 = $this.$rotationPitch; $var3.$posX = var$13; $var3.$prevPosX = var$13; $var3.$lastTickPosX = var$13; var$14 = var$14 + $var3.$yOffset; $var3.$posY = var$14; $var3.$prevPosY = var$14; $var3.$lastTickPosY = var$14; $var3.$posZ = var$15; $var3.$prevPosZ = var$15; $var3.$lastTickPosZ = var$15; $var3.$rotationYaw = var$16; $var3.$rotationPitch = var$17; nms_Entity_setPosition($var3, var$13, var$14, var$15); $par1EntityPlayer = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[134]; if ($var2 === null) { $par1EntityPlayer = $par1EntityPlayer.$elementData.data[0]; while ($par1EntityPlayer !== null && $par1EntityPlayer.$key !== null) { $par1EntityPlayer = $par1EntityPlayer.$next3; } } else { $var4 = $var2.$value0; var$8 = $par1EntityPlayer.$elementData.data; $par1EntityPlayer = var$8[$var4 & (var$8.length - 1 | 0)]; while ($par1EntityPlayer !== null) { if ($par1EntityPlayer.$origKeyHash == $var4) { var$9 = $par1EntityPlayer.$key; if ($var2 !== var$9 && !($var2 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == $var4 ? 1 : 0) ? 0 : 1) break; } $par1EntityPlayer = $par1EntityPlayer.$next3; } } var$18 = ($par1EntityPlayer === null ? null : $par1EntityPlayer.$value1).$watchedObject.$value3; $par1EntityPlayer = $var3.$dataWatcher; var$16 = 0.0; $var2 = nms_SharedMonsterAttributes_maxHealth; if ($var3.$attributeMap === null) $var3.$attributeMap = nms_ServersideAttributeMap__init_(); var$9 = $var3.$attributeMap.$attributes; if ($var2 === null) $var2 = ju_HashMap_findNullKeyEntry(var$9); else { var$3 = nms_BaseAttribute_hashCode($var2); $var2 = ju_HashMap_findNonNullKeyEntry(var$9, $var2, var$3 & (var$9.$elementData.data.length - 1 | 0), var$3); } $var2 = $var2 === null ? null : $var2.$value1; if ($var2.$field_111133_g) { $var2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var2); $var2.$field_111133_g = 0; } var$17 = $var2.$field_111139_h; if (var$18 >= var$16) var$16 = var$18 <= var$17 ? var$18 : var$17; $var2 = new jl_Float; $var2.$value3 = var$16; var$9 = $par1EntityPlayer.$watchedObjects; jl_Integer_ensureIntegerCache(); var$19 = jl_Integer_integerCache.data[134]; if (var$19 === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$7 = var$19.$value0; var$8 = var$9.$elementData.data; var$9 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$7) { var$6 = var$9.$key; if (var$19 !== var$6 && !(var$19 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$9 = var$9.$next3; } } var$6 = var$9 === null ? null : var$9.$value1; var$9 = var$6.$watchedObject; if ($var2 === var$9) $var4 = 1; else a: { if (var$9 instanceof jl_Float) { var$16 = $var2.$value3; var$17 = var$9.$value3; if (var$16 !== var$16 ? (var$17 === var$17 ? 0 : 1) : $rt_floatToRawIntBits(var$16) != $rt_floatToRawIntBits(var$17) ? 0 : 1) { $var4 = 1; break a; } } $var4 = 0; } if (!$var4) { var$6.$watchedObject = $var2; var$6.$watched = 1; $par1EntityPlayer.$objectChanged = 1; } $var3.$renderYawOffset = $this.$renderYawOffset; $par1EntityPlayer = $this.$worldObj; $var4 = nms_World_spawnEntityInWorld($par1EntityPlayer, $var3); $var2 = $par1EntityPlayer.$entityList; ju_HashMap_putImpl($var2.$backingMap, $var3, $var2); if (!$var4) { $par1EntityPlayer = $par1EntityPlayer.$entitySpawnQueue; ju_HashMap_putImpl($par1EntityPlayer.$backingMap, $var3, $par1EntityPlayer); } $var4 = 0; var$20 = 138; if ($var4 >= 5) return 1; var$6 = $this.$worldObj; var$19 = new nms_EntityItem; var$13 = $this.$posX; var$14 = $this.$posY + $this.$height2; var$15 = $this.$posZ; var$21 = new nms_ItemStack; nms_Block_$callClinit(); $par1EntityPlayer = nms_Block_mushroomRed; nms_ItemStack_$callClinit(); var$21.$itemID = $par1EntityPlayer.$blockID; var$21.$stackSize = 1; var$21.$itemDamage = 0; $ptr = 5; continue main; case 4: nms_RenderGlobal_doSpawnParticle($var2, $var3, var$10, var$11, var$12, var$13, var$14, var$15); if ($rt_suspending()) { break main; } $var4 = $var4 + 1 | 0; $var2 = $par1EntityPlayer.$worldAccesses; var$3 = $rt_compare($var4, $var2.$size0); if (var$3 >= 0) { $par1EntityPlayer = $this.$worldObj; if ($par1EntityPlayer.$isRemote) return 1; $var3 = new nms_EntityCow; $ptr = 3; continue main; } if ($var4 >= 0 && var$3 < 0) { $var2 = $var2.$array.data[$var4]; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 5: nms_EntityItem__init_(var$19, var$6, var$13, var$14, var$15); if ($rt_suspending()) { break main; } var$9 = var$19.$dataWatcher; $par1EntityPlayer = var$9.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$20]; if ($var2 === null) { $par1EntityPlayer = $par1EntityPlayer.$elementData.data[0]; while ($par1EntityPlayer !== null && $par1EntityPlayer.$key !== null) { $par1EntityPlayer = $par1EntityPlayer.$next3; } } else { var$22 = $var2.$value0; var$8 = $par1EntityPlayer.$elementData.data; $par1EntityPlayer = var$8[var$22 & (var$8.length - 1 | 0)]; while ($par1EntityPlayer !== null) { if ($par1EntityPlayer.$origKeyHash == var$22) { $var3 = $par1EntityPlayer.$key; if ($var2 !== $var3 && !jl_Integer_equals($var2, $var3) ? 0 : 1) break; } $par1EntityPlayer = $par1EntityPlayer.$next3; } } $var3 = $par1EntityPlayer === null ? null : $par1EntityPlayer.$value1; if (!(var$21 !== $var3.$watchedObject ? 0 : 1)) { $var3.$watchedObject = var$21; $var3.$watched = 1; var$9.$objectChanged = 1; } var$9 = var$19.$dataWatcher; $par1EntityPlayer = var$9.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$20]; if ($var2 === null) { $par1EntityPlayer = $par1EntityPlayer.$elementData.data[0]; while ($par1EntityPlayer !== null && $par1EntityPlayer.$key !== null) { $par1EntityPlayer = $par1EntityPlayer.$next3; } } else { var$7 = $var2.$value0; var$8 = $par1EntityPlayer.$elementData.data; $par1EntityPlayer = var$8[var$7 & (var$8.length - 1 | 0)]; while ($par1EntityPlayer !== null) { if ($par1EntityPlayer.$origKeyHash == var$7) { $var3 = $par1EntityPlayer.$key; if ($var2 !== $var3 && !jl_Integer_equals($var2, $var3) ? 0 : 1) break; } $par1EntityPlayer = $par1EntityPlayer.$next3; } } ($par1EntityPlayer === null ? null : $par1EntityPlayer.$value1).$watched = 1; var$9.$objectChanged = 1; var$3 = nms_World_spawnEntityInWorld(var$6, var$19); $par1EntityPlayer = var$6.$entityList; ju_HashMap_putImpl($par1EntityPlayer.$backingMap, var$19, $par1EntityPlayer); if (!var$3) { $par1EntityPlayer = var$6.$entitySpawnQueue; ju_HashMap_putImpl($par1EntityPlayer.$backingMap, var$19, $par1EntityPlayer); } $var4 = $var4 + 1 | 0; if ($var4 >= 5) return 1; var$6 = $this.$worldObj; var$19 = new nms_EntityItem; var$13 = $this.$posX; var$14 = $this.$posY + $this.$height2; var$15 = $this.$posZ; var$21 = new nms_ItemStack; nms_Block_$callClinit(); $par1EntityPlayer = nms_Block_mushroomRed; nms_ItemStack_$callClinit(); var$21.$itemID = $par1EntityPlayer.$blockID; var$21.$stackSize = 1; var$21.$itemDamage = 0; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var3, var$3, $var2, $var4, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr); }, nms_EntityMooshroom_spawnBabyAnimal = ($this, $par1EntityAgeable) => { let var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityAgeable = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityAgeable = new nms_EntityMooshroom; var$2 = $this.$worldObj; $ptr = 1; case 1: nms_EntityCow__init_($par1EntityAgeable, var$2); if ($rt_suspending()) { break main; } var$3 = $par1EntityAgeable.$field_98056_d <= 0.0 ? 0 : 1; $par1EntityAgeable.$field_98056_d = 0.8999999761581421; $par1EntityAgeable.$field_98057_e = 1.2999999523162842; if (var$3) return $par1EntityAgeable; var$4 = 0.8999999761581421; var$5 = 1.2999999523162842; $ptr = 2; case 2: nms_Entity_setSize($par1EntityAgeable, var$4, var$5); if ($rt_suspending()) { break main; } return $par1EntityAgeable; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityAgeable, var$2, var$3, var$4, var$5, $ptr); }, nms_EntityMooshroom_createChild = ($this, $par1EntityAgeable) => { let var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityAgeable = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityAgeable = new nms_EntityMooshroom; var$2 = $this.$worldObj; $ptr = 1; case 1: nms_EntityCow__init_($par1EntityAgeable, var$2); if ($rt_suspending()) { break main; } var$3 = $par1EntityAgeable.$field_98056_d <= 0.0 ? 0 : 1; $par1EntityAgeable.$field_98056_d = 0.8999999761581421; $par1EntityAgeable.$field_98057_e = 1.2999999523162842; if (var$3) return $par1EntityAgeable; var$4 = 0.8999999761581421; var$5 = 1.2999999523162842; $ptr = 2; case 2: nms_Entity_setSize($par1EntityAgeable, var$4, var$5); if ($rt_suspending()) { break main; } return $par1EntityAgeable; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityAgeable, var$2, var$3, var$4, var$5, $ptr); }, nms_RenderMooshroom = $rt_classWithoutFields(nms_RenderLiving), nms_RenderMooshroom_mooshroomTextures = null, nms_RenderMooshroom_$callClinit = () => { nms_RenderMooshroom_$callClinit = $rt_eraseClinit(nms_RenderMooshroom); nms_RenderMooshroom__clinit_(); }, nms_RenderMooshroom_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderMooshroom_$callClinit(); $par1EntityLiving = nms_RenderMooshroom_mooshroomTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderMooshroom_renderMooshroomEquippedItems = ($this, $par1EntityMooshroom, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1EntityMooshroom = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityMooshroom = $par1EntityMooshroom.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[140]; if (var$3 === null) { $par1EntityMooshroom = $par1EntityMooshroom.$elementData.data[0]; while ($par1EntityMooshroom !== null && $par1EntityMooshroom.$key !== null) { $par1EntityMooshroom = $par1EntityMooshroom.$next3; } } else { var$4 = var$3.$value0; var$5 = $par1EntityMooshroom.$elementData.data; $par1EntityMooshroom = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1EntityMooshroom !== null) { if ($par1EntityMooshroom.$origKeyHash == var$4) { var$6 = $par1EntityMooshroom.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } $par1EntityMooshroom = $par1EntityMooshroom.$next3; } } $par1EntityMooshroom = $par1EntityMooshroom === null ? null : $par1EntityMooshroom.$value1; if ($par1EntityMooshroom.$watchedObject.$value0 >= 0 ? 0 : 1) return; nms_TextureMap_$callClinit(); $par1EntityMooshroom = nms_TextureMap_locationBlocksTexture; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityMooshroom); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glPushMatrix(); $par1EntityMooshroom = nleg_EaglerAdapterGL30_deevis; $par1EntityMooshroom.$x = 1.0; $par1EntityMooshroom.$y = (-1.0); $par1EntityMooshroom.$z = 1.0; $par1EntityMooshroom = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityMooshroom, $par1EntityMooshroom); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityMooshroom = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityMooshroom); $par1EntityMooshroom.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); $par1EntityMooshroom.$sb = var$6; $par1EntityMooshroom.$buffer0 = $rt_createCharArray(32); $par1EntityMooshroom.$autoFlush = 0; $par1EntityMooshroom.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityMooshroom; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityMooshroom = nleg_EaglerAdapterGL30_deevis; $par1EntityMooshroom.$x = 0.20000000298023224; $par1EntityMooshroom.$y = 0.4000000059604645; $par1EntityMooshroom.$z = 0.5; $par1EntityMooshroom = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityMooshroom, $par1EntityMooshroom); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityMooshroom = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityMooshroom); $par1EntityMooshroom.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); $par1EntityMooshroom.$sb = var$6; $par1EntityMooshroom.$buffer0 = $rt_createCharArray(32); $par1EntityMooshroom.$autoFlush = 0; $par1EntityMooshroom.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityMooshroom; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityMooshroom = nleg_EaglerAdapterGL30_deevis; $par1EntityMooshroom.$x = 0.0; $par1EntityMooshroom.$y = 1.0; $par1EntityMooshroom.$z = 0.0; $par1EntityMooshroom = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); var$7 = 0.7330383062362671; nlegv_Matrix4f_rotate(var$7, nleg_EaglerAdapterGL30_deevis, $par1EntityMooshroom, $par1EntityMooshroom); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityMooshroom = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityMooshroom); $par1EntityMooshroom.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); $par1EntityMooshroom.$sb = var$6; $par1EntityMooshroom.$buffer0 = $rt_createCharArray(32); $par1EntityMooshroom.$autoFlush = 0; $par1EntityMooshroom.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityMooshroom; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityMooshroom = $this.$renderBlocks; nms_Block_$callClinit(); var$6 = nms_Block_mushroomRed; var$8 = 0; $par2 = 1.0; $ptr = 2; case 2: nms_RenderBlocks_renderBlockAsItem($par1EntityMooshroom, var$6, var$8, $par2); if ($rt_suspending()) { break main; } $par1EntityMooshroom = nleg_EaglerAdapterGL30_deevis; $par1EntityMooshroom.$x = 0.10000000149011612; $par1EntityMooshroom.$y = 0.0; $par1EntityMooshroom.$z = (-0.6000000238418579); $par1EntityMooshroom = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityMooshroom, $par1EntityMooshroom); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityMooshroom = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityMooshroom); $par1EntityMooshroom.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); $par1EntityMooshroom.$sb = var$6; $par1EntityMooshroom.$buffer0 = $rt_createCharArray(32); $par1EntityMooshroom.$autoFlush = 0; $par1EntityMooshroom.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityMooshroom; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityMooshroom = nleg_EaglerAdapterGL30_deevis; $par1EntityMooshroom.$x = 0.0; $par1EntityMooshroom.$y = 1.0; $par1EntityMooshroom.$z = 0.0; $par1EntityMooshroom = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$7, nleg_EaglerAdapterGL30_deevis, $par1EntityMooshroom, $par1EntityMooshroom); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityMooshroom = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityMooshroom); $par1EntityMooshroom.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); $par1EntityMooshroom.$sb = var$6; $par1EntityMooshroom.$buffer0 = $rt_createCharArray(32); $par1EntityMooshroom.$autoFlush = 0; $par1EntityMooshroom.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityMooshroom; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityMooshroom = $this.$renderBlocks; var$6 = nms_Block_mushroomRed; var$8 = 0; $par2 = 1.0; $ptr = 3; case 3: nms_RenderBlocks_renderBlockAsItem($par1EntityMooshroom, var$6, var$8, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); nms_ModelRenderer_postRender($this.$mainModel.$head0, 0.0625); $par1EntityMooshroom = nleg_EaglerAdapterGL30_deevis; $par1EntityMooshroom.$x = 1.0; $par1EntityMooshroom.$y = (-1.0); $par1EntityMooshroom.$z = 1.0; $par1EntityMooshroom = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityMooshroom, $par1EntityMooshroom); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityMooshroom = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityMooshroom); $par1EntityMooshroom.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); $par1EntityMooshroom.$sb = var$6; $par1EntityMooshroom.$buffer0 = $rt_createCharArray(32); $par1EntityMooshroom.$autoFlush = 0; $par1EntityMooshroom.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityMooshroom; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityMooshroom = nleg_EaglerAdapterGL30_deevis; $par1EntityMooshroom.$x = 0.0; $par1EntityMooshroom.$y = 0.75; $par1EntityMooshroom.$z = (-0.20000000298023224); $par1EntityMooshroom = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityMooshroom, $par1EntityMooshroom); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityMooshroom = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityMooshroom); $par1EntityMooshroom.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); $par1EntityMooshroom.$sb = var$6; $par1EntityMooshroom.$buffer0 = $rt_createCharArray(32); $par1EntityMooshroom.$autoFlush = 0; $par1EntityMooshroom.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityMooshroom; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityMooshroom = nleg_EaglerAdapterGL30_deevis; $par1EntityMooshroom.$x = 0.0; $par1EntityMooshroom.$y = 1.0; $par1EntityMooshroom.$z = 0.0; $par1EntityMooshroom = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.20943951606750488, nleg_EaglerAdapterGL30_deevis, $par1EntityMooshroom, $par1EntityMooshroom); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityMooshroom = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityMooshroom); $par1EntityMooshroom.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); $par1EntityMooshroom.$sb = var$6; $par1EntityMooshroom.$buffer0 = $rt_createCharArray(32); $par1EntityMooshroom.$autoFlush = 0; $par1EntityMooshroom.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityMooshroom; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityMooshroom = $this.$renderBlocks; var$6 = nms_Block_mushroomRed; var$8 = 0; $par2 = 1.0; $ptr = 4; case 4: nms_RenderBlocks_renderBlockAsItem($par1EntityMooshroom, var$6, var$8, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(2884); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityMooshroom, $par2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_RenderMooshroom_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderMooshroom_renderEquippedItems = ($this, $par1EntityLivingBase, $par2) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: nms_RenderMooshroom_renderMooshroomEquippedItems($this, $par1EntityLivingBase, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $ptr); }, nms_RenderMooshroom_getEntityTexture = ($this, $par1Entity) => { nms_RenderMooshroom_$callClinit(); return nms_RenderMooshroom_mooshroomTextures; }, nms_RenderMooshroom_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderMooshroom__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1884); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderMooshroom_mooshroomTextures = var$1; }, nms_EntityOwnable = $rt_classWithoutFields(0); function nms_EntityTameable() { nms_EntityAnimal.call(this); this.$aiSit = null; } let nms_EntityTameable_playTameEffect = ($this, $par1) => { let $var2, $var3, var$4, $var4, $var6, $var8, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $rt_s(1496); if (!$par1) $var2 = $rt_s(1479); $var3 = 0; var$4 = 24; while ($var3 < 7) { $var4 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var6 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var8 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$8 = $this.$worldObj; var$9 = $this.$posX; var$10 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, var$4)) / 1.6777216E7; var$13 = $this.$width1; var$9 = var$9 + var$12 * var$13 * 2.0; var$14 = var$13; var$15 = var$9 - var$14; var$9 = $this.$posY + 0.5; var$11 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$11; var$9 = var$9 + Long_lo(Long_shru(var$11, var$4)) / 1.6777216E7 * $this.$height2; var$16 = $this.$posZ; var$11 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$11; var$16 = var$16 + Long_lo(Long_shru(var$11, var$4)) / 1.6777216E7 * var$13 * 2.0 - var$14; $par1 = 0; var$10 = var$8.$worldAccesses; var$17 = $rt_compare($par1, var$10.$size0); if (var$17 < 0) { if ($par1 >= 0 && var$17 < 0) { var$10 = var$10.$array.data[$par1]; $ptr = 1; continue main; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var3 = $var3 + 1 | 0; } return; case 1: nms_RenderGlobal_doSpawnParticle(var$10, $var2, var$15, var$9, var$16, $var4, $var6, $var8); if ($rt_suspending()) { break main; } $par1 = $par1 + 1 | 0; while (true) { var$10 = var$8.$worldAccesses; var$17 = $rt_compare($par1, var$10.$size0); if (var$17 < 0) { if ($par1 >= 0 && var$17 < 0) { var$10 = var$10.$array.data[$par1]; continue main; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var3 = $var3 + 1 | 0; if ($var3 >= 7) break; $var4 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var6 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var8 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$8 = $this.$worldObj; var$9 = $this.$posX; var$10 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, var$4)) / 1.6777216E7; var$13 = $this.$width1; var$9 = var$9 + var$12 * var$13 * 2.0; var$14 = var$13; var$15 = var$9 - var$14; var$9 = $this.$posY + 0.5; var$11 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$11; var$9 = var$9 + Long_lo(Long_shru(var$11, var$4)) / 1.6777216E7 * $this.$height2; var$16 = $this.$posZ; var$11 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$11; var$16 = var$16 + Long_lo(Long_shru(var$11, var$4)) / 1.6777216E7 * var$13 * 2.0 - var$14; $par1 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var2, $var3, var$4, $var4, $var6, $var8, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_EntityTameable_handleHealthUpdate = ($this, $par1) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 == 7) { $par1 = 1; $ptr = 1; continue main; } if ($par1 != 6) { $ptr = 2; continue main; } $par1 = 0; $ptr = 3; continue main; case 1: nms_EntityTameable_playTameEffect($this, $par1); if ($rt_suspending()) { break main; } return; case 2: nms_EntityAnimal_handleHealthUpdate($this, $par1); if ($rt_suspending()) { break main; } return; case 3: nms_EntityTameable_playTameEffect($this, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $ptr); }, nms_EntityTameable_isTamed = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return !(var$1.$watchedObject.$value2 & 4) ? 0 : 1; }, nms_EntityTameable_setTamed = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; if (!$par1) { var$2 = $this.$dataWatcher; $par1 = (var$7 & (-5)) << 24 >> 24; var$8 = jl_Byte_byteCache.data[$par1 + 128 | 0]; var$6 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$10 = var$9.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$10) { var$3 = var$6.$key; if (var$9 !== var$3 && !(var$9 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$3 = var$6 === null ? null : var$6.$value1; var$6 = var$3.$watchedObject; if (!(var$6 instanceof jl_Byte && var$6.$value2 == var$8.$value2 ? 1 : 0)) { var$3.$watchedObject = var$8; var$3.$watched = 1; var$2.$objectChanged = 1; } } else { var$2 = $this.$dataWatcher; $par1 = (var$7 | 4) << 24 >> 24; var$8 = jl_Byte_byteCache.data[$par1 + 128 | 0]; var$6 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$10 = var$9.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$10) { var$3 = var$6.$key; if (var$9 !== var$3 && !(var$9 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$3 = var$6 === null ? null : var$6.$value1; var$6 = var$3.$watchedObject; if (!(var$6 instanceof jl_Byte && var$6.$value2 == var$8.$value2 ? 1 : 0)) { var$3.$watchedObject = var$8; var$3.$watched = 1; var$2.$objectChanged = 1; } } }, nms_EntityTameable_isSitting = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return !(var$1.$watchedObject.$value2 & 1) ? 0 : 1; }, nms_EntityTameable_setSitting = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; if (!$par1) { var$2 = $this.$dataWatcher; $par1 = (var$7 & (-2)) << 24 >> 24; var$8 = jl_Byte_byteCache.data[$par1 + 128 | 0]; var$6 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$10 = var$9.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$10) { var$3 = var$6.$key; if (var$9 !== var$3 && !(var$9 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$3 = var$6 === null ? null : var$6.$value1; var$6 = var$3.$watchedObject; if (!(var$6 instanceof jl_Byte && var$6.$value2 == var$8.$value2 ? 1 : 0)) { var$3.$watchedObject = var$8; var$3.$watched = 1; var$2.$objectChanged = 1; } } else { var$2 = $this.$dataWatcher; $par1 = (var$7 | 1) << 24 >> 24; var$8 = jl_Byte_byteCache.data[$par1 + 128 | 0]; var$6 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$10 = var$9.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$10) { var$3 = var$6.$key; if (var$9 !== var$3 && !(var$9 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$3 = var$6 === null ? null : var$6.$value1; var$6 = var$3.$watchedObject; if (!(var$6 instanceof jl_Byte && var$6.$value2 == var$8.$value2 ? 1 : 0)) { var$3.$watchedObject = var$8; var$3.$watched = 1; var$2.$objectChanged = 1; } } }, nms_EntityTameable_getOwnerName = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[145]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject; }, nms_EntityTameable_setOwner = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$dataWatcher; var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[145]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if ($par1Str === var$3) var$8 = 1; else if (!(var$3 instanceof jl_String)) var$8 = 0; else { var$3 = var$3; var$8 = $par1Str.$nativeString !== var$3.$nativeString ? 0 : 1; } if (!var$8) { var$4.$watchedObject = $par1Str; var$4.$watched = 1; var$2.$objectChanged = 1; } }, nms_EntityTameable_func_130012_q = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$worldObj; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[145]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$watchedObject; var$7 = 0; a: { b: { c: { while (true) { var$2 = var$1.$playerEntities; var$8 = $rt_compare(var$7, var$2.$size0); if (var$8 >= 0) break; if (var$7 < 0) break c; if (var$8 >= 0) break c; var$2 = var$2.$array.data[var$7].$username; if (var$3 === var$2) var$8 = 1; else if (!(var$2 instanceof jl_String)) var$8 = 0; else { var$2 = var$2; var$8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } if (var$8) { var$1 = var$1.$playerEntities; if (var$7 < 0) break a; if (var$7 >= var$1.$size0) break a; var$1 = var$1.$array.data[var$7]; break b; } var$7 = var$7 + 1 | 0; } var$1 = null; break b; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nms_EntityTameable_getTeam = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$3 = var$2.$value0; var$4 = $var1.$elementData.data; $var1 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$3) { var$5 = $var1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; if (!($var1.$watchedObject.$value2 & 4) ? 0 : 1) { $var1 = $this.$worldObj; var$5 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[145]; if (var$6 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$3 = var$6.$value0; var$4 = var$5.$elementData.data; var$5 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$3) { var$2 = var$5.$key; if (var$6 !== var$2 && !jl_Integer_equals(var$6, var$2) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$6 = (var$5 === null ? null : var$5.$value1).$watchedObject; var$7 = 0; a: { while (true) { var$5 = $var1.$playerEntities; var$8 = $rt_compare(var$7, var$5.$size0); if (var$8 >= 0) { $var1 = null; break a; } if (var$7 < 0) break; if (var$8 >= 0) break; var$5 = var$5.$array.data[var$7].$username; if (var$6 === var$5) var$8 = 1; else if (!(var$5 instanceof jl_String)) var$8 = 0; else { var$5 = var$5; var$8 = var$6.$nativeString !== var$5.$nativeString ? 0 : 1; } if (var$8) { $var1 = $var1.$playerEntities; if (var$7 >= 0 && var$7 < $var1.$size0) { $var1 = $var1.$array.data[var$7]; break a; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } var$7 = var$7 + 1 | 0; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } if ($var1 !== null) { var$5 = $var1.$worldObj.$worldScoreboard; $var1 = $var1.$username; var$5 = var$5.$teamMemberships; if ($var1 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { b: { if (!$var1.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $var1.$nativeString.length) break b; $var1.$hashCode1 = (31 * $var1.$hashCode1 | 0) + $var1.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$3 = $var1.$hashCode1; var$4 = var$5.$elementData.data; var$5 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$3) { c: { var$2 = var$5.$key; if ($var1 !== var$2) { if ($var1 === var$2) var$7 = 1; else if (!(var$2 instanceof jl_String)) var$7 = 0; else { var$2 = var$2; var$7 = $var1.$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break c; } } var$7 = 1; } if (var$7) break; } var$5 = var$5.$next3; } } return var$5 === null ? null : var$5.$value1; } } return null; }, nms_EntityTameable_isOnSameTeam = ($this, $par1EntityLivingBase) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$4 = var$3.$value0; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$6 = $var2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if (!($var2.$watchedObject.$value2 & 4) ? 0 : 1) { $var2 = $this.$worldObj; var$6 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[145]; if (var$7 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$4 = var$7.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$4) { var$3 = var$6.$key; if (var$7 !== var$3 && !jl_Integer_equals(var$7, var$3) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$7 = (var$6 === null ? null : var$6.$value1).$watchedObject; var$8 = 0; a: { while (true) { var$6 = $var2.$playerEntities; var$9 = $rt_compare(var$8, var$6.$size0); if (var$9 >= 0) { $var2 = null; break a; } if (var$8 < 0) break; if (var$9 >= 0) break; var$6 = var$6.$array.data[var$8].$username; if (var$7 === var$6) var$9 = 1; else if (!(var$6 instanceof jl_String)) var$9 = 0; else { var$6 = var$6; var$9 = var$7.$nativeString !== var$6.$nativeString ? 0 : 1; } if (var$9) { $var2 = $var2.$playerEntities; if (var$8 >= 0 && var$8 < $var2.$size0) { $var2 = $var2.$array.data[var$8]; break a; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityLivingBase); $rt_throw($par1EntityLivingBase); } var$8 = var$8 + 1 | 0; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityLivingBase); $rt_throw($par1EntityLivingBase); } if ($par1EntityLivingBase === $var2) return 1; if ($var2 !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$getTeam(); var$3 = $var2.$worldObj.$worldScoreboard; var$6 = $var2.$username; var$3 = var$3.$teamMemberships; if (var$6 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { b: { if (!var$6.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$6.$nativeString.length) break b; var$6.$hashCode1 = (31 * var$6.$hashCode1 | 0) + var$6.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$4 = var$6.$hashCode1; var$5 = var$3.$elementData.data; var$3 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$4) { var$7 = var$3.$key; if (var$6 !== var$7 && !jl_String_equals(var$6, var$7) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$6 = var$3 === null ? null : var$3.$value1; if (var$6 === null) var$8 = 0; else { var$6 = $var2.$worldObj.$worldScoreboard; $var2 = $var2.$username; var$6 = var$6.$teamMemberships; if ($var2 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { c: { if (!$var2.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $var2.$nativeString.length) break c; $var2.$hashCode1 = (31 * $var2.$hashCode1 | 0) + $var2.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$4 = $var2.$hashCode1; var$5 = var$6.$elementData.data; var$6 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$4) { var$3 = var$6.$key; if ($var2 !== var$3 && !jl_String_equals($var2, var$3) ? 0 : 1) break; } var$6 = var$6.$next3; } } $var2 = var$6 === null ? null : var$6.$value1; var$8 = $par1EntityLivingBase === null ? 0 : $var2 !== $par1EntityLivingBase ? 0 : 1; } return var$8; } } $par1EntityLivingBase = $par1EntityLivingBase.$getTeam(); $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) $var2 = ju_HashMap_findNullKeyEntry($var2); else { var$9 = jl_Integer_hashCode0(var$6); $var2 = ju_HashMap_findNonNullKeyEntry($var2, var$6, var$9 & ($var2.$elementData.data.length - 1 | 0), var$9); } $var2 = $var2 === null ? null : $var2.$value1; var$8 = !($var2.$watchedObject.$value2 & 4) ? 0 : 1; d: { if (var$8) { $var2 = $this.$worldObj; var$6 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = ju_HashMap_entryByKey(var$6, jl_Integer_integerCache.data[145]); var$7 = (var$6 === null ? null : var$6.$value1).$watchedObject; var$8 = 0; e: { while (true) { var$6 = $var2.$playerEntities; var$9 = $rt_compare(var$8, var$6.$size0); if (var$9 >= 0) { var$3 = null; break e; } if (var$8 < 0) break; if (var$9 >= 0) break; var$6 = var$6.$array.data[var$8].$username; if (var$7 === var$6) var$9 = 1; else if (!(var$6 instanceof jl_String)) var$9 = 0; else { var$6 = var$6; var$9 = var$7.$nativeString !== var$6.$nativeString ? 0 : 1; } if (var$9) { $var2 = $var2.$playerEntities; if (var$8 >= 0 && var$8 < $var2.$size0) { var$3 = $var2.$array.data[var$8]; break e; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1EntityLivingBase); $rt_throw($par1EntityLivingBase); } var$8 = var$8 + 1 | 0; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1EntityLivingBase); $rt_throw($par1EntityLivingBase); } if (var$3 !== null) { var$6 = var$3.$worldObj.$worldScoreboard; $var2 = var$3.$username; var$6 = var$6.$teamMemberships; if ($var2 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { f: { if (!$var2.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $var2.$nativeString.length) break f; $var2.$hashCode1 = (31 * $var2.$hashCode1 | 0) + $var2.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$4 = $var2.$hashCode1; var$5 = var$6.$elementData.data; var$6 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$6 !== null && !(var$6.$origKeyHash == var$4 && ju_HashMap_areEqualKeys($var2, var$6.$key))) { var$6 = var$6.$next3; } } $var2 = var$6 === null ? null : var$6.$value1; break d; } } $var2 = null; } if ($var2 === null) var$8 = 0; else { $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) $var2 = ju_HashMap_findNullKeyEntry($var2); else { var$9 = jl_Integer_hashCode0(var$6); $var2 = ju_HashMap_findNonNullKeyEntry($var2, var$6, var$9 & ($var2.$elementData.data.length - 1 | 0), var$9); } $var2 = $var2 === null ? null : $var2.$value1; var$8 = !($var2.$watchedObject.$value2 & 4) ? 0 : 1; g: { if (var$8) { $var2 = $this.$worldObj; var$6 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = ju_HashMap_entryByKey(var$6, jl_Integer_integerCache.data[145]); var$7 = (var$6 === null ? null : var$6.$value1).$watchedObject; var$8 = 0; h: { while (true) { var$6 = $var2.$playerEntities; var$9 = $rt_compare(var$8, var$6.$size0); if (var$9 >= 0) { $var2 = null; break h; } if (var$8 < 0) break; if (var$9 >= 0) break; var$6 = var$6.$array.data[var$8].$username; if (var$7 === var$6) var$9 = 1; else if (!(var$6 instanceof jl_String)) var$9 = 0; else { var$3 = var$6; var$9 = var$7.$nativeString !== var$3.$nativeString ? 0 : 1; } if (var$9) { $var2 = $var2.$playerEntities; if (var$8 >= 0 && var$8 < $var2.$size0) { $var2 = $var2.$array.data[var$8]; break h; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1EntityLivingBase); $rt_throw($par1EntityLivingBase); } var$8 = var$8 + 1 | 0; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1EntityLivingBase); $rt_throw($par1EntityLivingBase); } if ($var2 !== null) { var$6 = $var2.$worldObj.$worldScoreboard; $var2 = $var2.$username; var$6 = var$6.$teamMemberships; if ($var2 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { i: { if (!$var2.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $var2.$nativeString.length) break i; $var2.$hashCode1 = (31 * $var2.$hashCode1 | 0) + $var2.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$4 = $var2.$hashCode1; var$5 = var$6.$elementData.data; var$6 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$6 !== null && !(var$6.$origKeyHash == var$4 && ju_HashMap_areEqualKeys($var2, var$6.$key))) { var$6 = var$6.$next3; } } $var2 = var$6 === null ? null : var$6.$value1; break g; } } $var2 = null; } var$8 = $par1EntityLivingBase === null ? 0 : $var2 !== $par1EntityLivingBase ? 0 : 1; } return var$8; }, nms_EntityTameable_getOwner = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$worldObj; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[145]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$watchedObject; var$7 = 0; a: { b: { c: { while (true) { var$2 = var$1.$playerEntities; var$8 = $rt_compare(var$7, var$2.$size0); if (var$8 >= 0) break; if (var$7 < 0) break c; if (var$8 >= 0) break c; var$2 = var$2.$array.data[var$7].$username; if (var$3 === var$2) var$8 = 1; else if (!(var$2 instanceof jl_String)) var$8 = 0; else { var$2 = var$2; var$8 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } if (var$8) { var$1 = var$1.$playerEntities; if (var$7 < 0) break a; if (var$7 >= var$1.$size0) break a; var$1 = var$1.$array.data[var$7]; break b; } var$7 = var$7 + 1 | 0; } var$1 = null; break b; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }; function nms_EntityWolf() { let a = this; nms_EntityTameable.call(a); a.$field_70926_e = 0.0; a.$field_70924_f = 0.0; a.$isShaking = 0; a.$field_70928_h = 0; a.$timeWolfIsShaking = 0.0; a.$prevTimeWolfIsShaking = 0.0; } let nms_EntityWolf__init_ = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; $this.$field_98056_d = (-1.0); $par1World = new nms_EntityAISit; $par1World.$theEntity6 = $this; $par1World.$mutexBits = 5; $this.$aiSit = $par1World; $this.$field_98056_d = 0.6000000238418579; $this.$field_98057_e = 0.800000011920929; var$2 = 0.6000000238418579; var$3 = 0.800000011920929; $ptr = 1; case 1: nms_Entity_setSize($this, var$2, var$3); if ($rt_suspending()) { break main; } var$4 = $this.$navigator; var$4.$avoidsWater = 1; $par1World = $this.$tasks0; var$5 = new nms_EntityAISwimming; var$5.$theEntity2 = $this; var$5.$mutexBits = 4; var$4.$canSwim = 1; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 1; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = $this.$aiSit; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 2; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAILeapAtTarget; var$5.$leaper = $this; var$5.$leapMotionY = 0.4000000059604645; var$5.$mutexBits = 5; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 3; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIAttackOnCollide; var$5.$attacker = $this; var$5.$worldObj8 = $this.$worldObj; var$5.$field_75440_e = 1.0; var$5.$longMemory = 1; var$5.$mutexBits = 3; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 4; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIFollowOwner; var$5.$thePet = $this; var$5.$theWorld4 = $this.$worldObj; var$5.$field_75336_f = 1.0; var$5.$petPathfinder = $this.$navigator; var$5.$minDist = 10.0; var$5.$maxDist = 2.0; var$5.$mutexBits = 3; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 5; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIMate; var$5.$theAnimal = $this; var$5.$theWorld1 = $this.$worldObj; var$5.$moveSpeed = 1.0; var$5.$mutexBits = 3; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 6; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIWander; var$5.$entity = $this; var$5.$speed = 1.0; var$5.$mutexBits = 1; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 7; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIBeg; var$5.$theWolf = $this; var$5.$worldObject = $this.$worldObj; var$5.$minPlayerDistance = 8.0; var$5.$mutexBits = 2; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 8; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIWatchClosest; var$5.$theWatcher = $this; var$5.$watchedClass = $rt_cls(nms_EntityPlayer); var$5.$maxDistanceForPlayer = 8.0; var$5.$field_75331_e = 0.019999999552965164; var$5.$mutexBits = 2; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 9; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAILookIdle; var$5.$idleEntity = $this; var$5.$mutexBits = 3; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 9; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$5 = new nms_EntityAIOwnerHurtByTarget; var$5.$taskOwner = $this; var$5.$shouldCheckSight = 0; var$5.$nearbyOnly = 0; var$5.$theDefendingTameable = $this; var$5.$mutexBits = 1; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 1; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$5 = new nms_EntityAIOwnerHurtTarget; var$5.$taskOwner = $this; var$5.$shouldCheckSight = 0; var$5.$nearbyOnly = 0; var$5.$theEntityTameable = $this; var$5.$mutexBits = 1; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 2; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$5 = new nms_EntityAIHurtByTarget; var$5.$taskOwner = $this; var$5.$shouldCheckSight = 0; var$5.$nearbyOnly = 0; var$5.$entityCallsForHelp = 1; var$5.$mutexBits = 1; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 3; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$5 = new nms_EntityAITargetNonTamed; var$6 = null; var$5.$taskOwner = $this; var$5.$shouldCheckSight = 0; var$5.$nearbyOnly = 0; var$5.$targetClass = $rt_cls(nms_EntitySheep); var$5.$targetChance = 200; var$4 = new nms_EntityAINearestAttackableTargetSorter; var$4.$theEntity5 = $this; var$5.$theNearestAttackableTargetSorter = var$4; var$5.$mutexBits = 1; var$4 = new nms_EntityAINearestAttackableTargetSelector; var$4.$field_111102_d = var$5; var$4.$field_111103_c = var$6; var$5.$targetEntitySelector = var$4; var$5.$theTameable = $this; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 4; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; nms_EntityWolf_setTamed($this, 0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_EntityWolf__init_0 = var_0 => { let var_1 = new nms_EntityWolf(); nms_EntityWolf__init_(var_1, var_0); return var_1; }, nms_EntityWolf_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (0.30000001192092896 !== var$3.$baseValue) { var$3.$baseValue = 0.30000001192092896; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } if (!nms_EntityTameable_isTamed($this)) { var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break b; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (8.0 !== var$1.$baseValue) { var$1.$baseValue = 8.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } } else { var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break c; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (20.0 !== var$1.$baseValue) { var$1.$baseValue = 20.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } } }, nms_EntityWolf_isAIEnabled = $this => { return 1; }, nms_EntityWolf_setAttackTarget = ($this, $par1EntityLivingBase) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; $this.$attackTarget = $par1EntityLivingBase; if ($par1EntityLivingBase === null) { $par1EntityLivingBase = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$3) { var$5 = $par1EntityLivingBase.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } var$6 = ($par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1).$watchedObject.$value2; $par1EntityLivingBase = $this.$dataWatcher; var$6 = (var$6 & (-3)) << 24 >> 24; var$7 = jl_Byte_byteCache.data[var$6 + 128 | 0]; var$5 = $par1EntityLivingBase.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$3 = var$8.$value0; var$4 = var$5.$elementData.data; var$5 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$3) { var$2 = var$5.$key; if (var$8 !== var$2 && !(var$8 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$2 = var$5 === null ? null : var$5.$value1; var$5 = var$2.$watchedObject; if (!(var$5 instanceof jl_Byte && var$5.$value2 == var$7.$value2 ? 1 : 0)) { var$2.$watchedObject = var$7; var$2.$watched = 1; $par1EntityLivingBase.$objectChanged = 1; } } else if (!nms_EntityTameable_isTamed($this)) { $par1EntityLivingBase = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$3) { var$5 = $par1EntityLivingBase.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } var$6 = ($par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1).$watchedObject.$value2; $par1EntityLivingBase = $this.$dataWatcher; var$6 = (var$6 | 2) << 24 >> 24; var$7 = jl_Byte_byteCache.data[var$6 + 128 | 0]; var$5 = $par1EntityLivingBase.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$3 = var$8.$value0; var$4 = var$5.$elementData.data; var$5 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$3) { var$2 = var$5.$key; if (var$8 !== var$2 && !(var$8 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$2 = var$5 === null ? null : var$5.$value1; var$5 = var$2.$watchedObject; if (!(var$5 instanceof jl_Byte && var$5.$value2 == var$7.$value2 ? 1 : 0)) { var$2.$watchedObject = var$7; var$2.$watched = 1; $par1EntityLivingBase.$objectChanged = 1; } } }, nms_EntityWolf_updateAITick = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$1 = $this.$dataWatcher; var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value3; var$8 = new jl_Float; var$8.$value3 = var$7; var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[146]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$9 = var$6.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$9 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$9) { var$3 = var$2.$key; if (var$6 !== var$3 && !(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; var$2 = var$3.$watchedObject; if (var$8 === var$2) var$4 = 1; else a: { if (var$2 instanceof jl_Float) { var$10 = var$8.$value3; var$7 = var$2.$value3; if (var$10 !== var$10 ? (var$7 === var$7 ? 0 : 1) : $rt_floatToRawIntBits(var$10) != $rt_floatToRawIntBits(var$7) ? 0 : 1) { var$4 = 1; break a; } } var$4 = 0; } if (!var$4) { var$3.$watchedObject = var$8; var$3.$watched = 1; var$1.$objectChanged = 1; } }, nms_EntityWolf_entityInit = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); var$2 = $this.$dataWatcher; var$1 = new jl_Integer; var$1.$value0 = 0; nms_DataWatcher_addObject(var$2, 12, var$1); nms_DataWatcher_addObject($this.$dataWatcher, 16, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 17, $rt_s(18)); var$2 = $this.$dataWatcher; var$1 = new jl_Float; var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[134]; if (var$4 === null) { var$5 = var$3.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$6 = var$4.$value0; var$7 = var$3.$elementData.data; var$5 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$6) { var$3 = var$5.$key; if (var$4 !== var$3 && !(var$4 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$1.$value3 = (var$5 === null ? null : var$5.$value1).$watchedObject.$value3; nms_DataWatcher_addObject(var$2, 18, var$1); var$1 = $this.$dataWatcher; var$2 = new jl_Byte; var$2.$value2 = 0; nms_DataWatcher_addObject(var$1, 19, var$2); var$1 = $this.$dataWatcher; var$2 = new jl_Byte; var$2.$value2 = 14; nms_DataWatcher_addObject(var$1, 20, var$2); }, nms_EntityWolf_playStepSound = ($this, $par1, $par2, $par3, $par4) => { nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1885), 0.15000000596046448, 1.0); }, nms_EntityWolf_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[140]; if (var$3 === null) var$2 = ju_HashMap_findNullKeyEntry(var$2); else { var$4 = jl_Integer_hashCode0(var$3); var$2 = ju_HashMap_findNonNullKeyEntry(var$2, var$3, var$4 & (var$2.$elementData.data.length - 1 | 0), var$4); } var$5 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; var$3 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagInt; var$2.$name = $rt_s(1867); var$2.$data0 = var$5; ju_HashMap_putImpl(var$3, $rt_s(1867), var$2); var$5 = $this.$inLove; var$3 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagInt; var$2.$name = $rt_s(1868); var$2.$data0 = var$5; ju_HashMap_putImpl(var$3, $rt_s(1868), var$2); if (nms_EntityTameable_getOwnerName($this) === null) { var$6 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagString; var$3.$name = $rt_s(1886); var$3.$data1 = $rt_s(18); ju_HashMap_putImpl(var$6, $rt_s(1886), var$3); } else { var$2 = nms_EntityTameable_getOwnerName($this); var$6 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagString; var$3.$name = $rt_s(1886); var$3.$data1 = var$2; if (var$2 === null) { var$7 = new jl_IllegalArgumentException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $rt_s(186); $rt_throw(var$7); } ju_HashMap_putImpl(var$6, $rt_s(1886), var$3); } var$5 = (!nms_EntityTameable_isSitting($this) ? 0 : 1) << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagByte; var$2.$name = $rt_s(1887); var$2.$data = var$5; ju_HashMap_putImpl(var$3, $rt_s(1887), var$2); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$5 = var$3.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$5 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; var$5 = (!(!(var$2.$watchedObject.$value2 & 2) ? 0 : 1) ? 0 : 1) << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagByte; var$2.$name = $rt_s(1888); var$2.$data = var$5; ju_HashMap_putImpl(var$3, $rt_s(1888), var$2); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[148]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$4 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$3 = var$2.$key; if (var$6 !== var$3 && !(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$5 = ((var$2 === null ? null : var$2.$value1).$watchedObject.$value2 & 15) << 24 >> 24; var$2 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(1889); $par1NBTTagCompound.$data = var$5; ju_HashMap_putImpl(var$2, $rt_s(1889), $par1NBTTagCompound); }, nms_EntityWolf_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NBTTagCompound = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); if ($rt_suspending()) { break main; } var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1867).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1867).$nativeString.length) break a; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1867).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if ($rt_s(1867) !== var$6 && !jl_String_equals($rt_s(1867), var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$7 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1867) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { if (!$rt_s(1867).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1867).$nativeString.length) break b; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1867).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if ($rt_s(1867) !== var$6 && !jl_String_equals($rt_s(1867), var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$data0; } var$8 = $this.$dataWatcher; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$7; } var$6 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) var$6 = ju_HashMap_findNullKeyEntry(var$6); else { var$7 = jl_Integer_hashCode0(var$9); var$6 = ju_HashMap_findNonNullKeyEntry(var$6, var$9, var$7 & (var$6.$elementData.data.length - 1 | 0), var$7); } var$9 = var$6 === null ? null : var$6.$value1; var$6 = var$9.$watchedObject; if (!(var$2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$2.$value0 ? 1 : 0)) { var$9.$watchedObject = var$2; var$9.$watched = 1; var$8.$objectChanged = 1; } var$10 = !((ju_HashMap_get($this.$dataWatcher.$watchedObjects, jl_Integer_valueOf(12))).$watchedObject.$value0 >= 0 ? 0 : 1) ? 1.0 : 0.5; var$11 = $this.$field_98056_d * var$10; var$10 = $this.$field_98057_e * var$10; $ptr = 2; case 2: a: { nms_Entity_setSize($this, var$11, var$10); if ($rt_suspending()) { break main; } var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1868).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1868).$nativeString.length) break a; $rt_s(1868).$hashCode1 = (31 * $rt_s(1868).$hashCode1 | 0) + $rt_s(1868).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1868).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { c: { var$6 = var$2.$key; if ($rt_s(1868) !== var$6) { if ($rt_s(1868) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(1868).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break c; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1868) !== null) { d: { if (!$rt_s(1868).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1868).$nativeString.length) break d; $rt_s(1868).$hashCode1 = (31 * $rt_s(1868).$hashCode1 | 0) + $rt_s(1868).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1868).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { e: { var$6 = var$2.$key; if ($rt_s(1868) !== var$6) { if ($rt_s(1868) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(1868).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break e; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } f: { $this.$inLove = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1886).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1886).$nativeString.length) break f; $rt_s(1886).$hashCode1 = (31 * $rt_s(1886).$hashCode1 | 0) + $rt_s(1886).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1886).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { g: { var$6 = var$2.$key; if ($rt_s(1886) !== var$6) { if ($rt_s(1886) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(1886).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break g; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$8 = $rt_s(18); else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1886) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { h: { if (!$rt_s(1886).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1886).$nativeString.length) break h; $rt_s(1886).$hashCode1 = (31 * $rt_s(1886).$hashCode1 | 0) + $rt_s(1886).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1886).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { i: { var$6 = var$2.$key; if ($rt_s(1886) !== var$6) { if ($rt_s(1886) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1886).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break i; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$8 = (var$2 === null ? null : var$2.$value1).$data1; } if (var$8.$nativeString.length > 0) { nms_EntityTameable_setOwner($this, var$8); nms_EntityWolf_setTamed($this, 1); } j: { var$2 = $this.$aiSit; var$6 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1887).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1887).$nativeString.length) break j; $rt_s(1887).$hashCode1 = (31 * $rt_s(1887).$hashCode1 | 0) + $rt_s(1887).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1887).$hashCode1; var$5 = var$6.$elementData.data; var$6 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$4) { k: { var$9 = var$6.$key; if ($rt_s(1887) !== var$9) { if ($rt_s(1887) === var$9) var$3 = 1; else if (!(var$9 instanceof jl_String)) var$3 = 0; else { var$9 = var$9; var$3 = $rt_s(1887).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break k; } } var$3 = 1; } if (var$3) break; } var$6 = var$6.$next3; } if (!(var$6 === null ? 0 : 1)) var$3 = 0; else { var$6 = $par1NBTTagCompound.$tagMap; if ($rt_s(1887) !== null) { l: { if (!$rt_s(1887).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1887).$nativeString.length) break l; $rt_s(1887).$hashCode1 = (31 * $rt_s(1887).$hashCode1 | 0) + $rt_s(1887).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1887).$hashCode1; var$5 = var$6.$elementData.data; var$6 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$4) { m: { var$9 = var$6.$key; if ($rt_s(1887) !== var$9) { if ($rt_s(1887) !== var$9) { if (var$9 instanceof jl_String) { var$9 = var$9; var$3 = $rt_s(1887).$nativeString !== var$9.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break m; } } var$3 = 1; } if (var$3) break; } var$6 = var$6.$next3; } } else { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } var$3 = (var$6 === null ? null : var$6.$value1).$data; } var$3 = !var$3 ? 0 : 1; n: { var$2.$isSitting0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1887).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1887).$nativeString.length) break n; $rt_s(1887).$hashCode1 = (31 * $rt_s(1887).$hashCode1 | 0) + $rt_s(1887).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1887).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { o: { var$6 = var$2.$key; if ($rt_s(1887) !== var$6) { if ($rt_s(1887) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(1887).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break o; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1887) !== null) { p: { if (!$rt_s(1887).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1887).$nativeString.length) break p; $rt_s(1887).$hashCode1 = (31 * $rt_s(1887).$hashCode1 | 0) + $rt_s(1887).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1887).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { q: { var$6 = var$2.$key; if ($rt_s(1887) !== var$6) { if ($rt_s(1887) !== var$6) { if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1887).$nativeString !== var$6.$nativeString ? 0 : 1; } } else var$3 = 1; if (!var$3) { var$3 = 0; break q; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } var$3 = !var$3 ? 0 : 1; r: { nms_EntityTameable_setSitting($this, var$3); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1888).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1888).$nativeString.length) break r; $rt_s(1888).$hashCode1 = (31 * $rt_s(1888).$hashCode1 | 0) + $rt_s(1888).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1888).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { s: { var$6 = var$2.$key; if ($rt_s(1888) !== var$6) { if ($rt_s(1888) === var$6) var$7 = 1; else if (var$6 instanceof jl_String) { var$6 = var$6; var$7 = $rt_s(1888).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$7 = 0; if (!var$7) { var$7 = 0; break s; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1888) !== null) { t: { if (!$rt_s(1888).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1888).$nativeString.length) break t; $rt_s(1888).$hashCode1 = (31 * $rt_s(1888).$hashCode1 | 0) + $rt_s(1888).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1888).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { u: { var$6 = var$2.$key; if ($rt_s(1888) !== var$6) { if ($rt_s(1888) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$7 = $rt_s(1888).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break u; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } else var$3 = 0; var$3 = !var$3 ? 0 : 1; var$8 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 !== null) { var$12 = var$6.$value0; var$5 = var$8.$elementData.data; var$8 = var$5[var$12 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$12) { var$2 = var$8.$key; if (var$6 !== var$2 && !(var$6 !== var$2 ? (var$2 instanceof jl_Integer && var$2.$value0 == var$12 ? 1 : 0) : 1) ? 0 : 1) break; } var$8 = var$8.$next3; } } else { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } var$7 = (var$8 === null ? null : var$8.$value1).$watchedObject.$value2; if (!var$3) { var$8 = $this.$dataWatcher; var$3 = (var$7 & (-3)) << 24 >> 24; var$13 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$2 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$9.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$9 !== var$6 && !(var$9 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$13.$value2 ? 1 : 0)) { var$6.$watchedObject = var$13; var$6.$watched = 1; var$8.$objectChanged = 1; } } else { var$8 = $this.$dataWatcher; var$3 = (var$7 | 2) << 24 >> 24; var$13 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$2 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$9.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$9 !== var$6 && !(var$9 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$13.$value2 ? 1 : 0)) { var$6.$watchedObject = var$13; var$6.$watched = 1; var$8.$objectChanged = 1; } } v: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1889).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1889).$nativeString.length) break v; $rt_s(1889).$hashCode1 = (31 * $rt_s(1889).$hashCode1 | 0) + $rt_s(1889).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1889).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { w: { var$6 = var$2.$key; if ($rt_s(1889) !== var$6) { if ($rt_s(1889) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(1889).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break w; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { x: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1889).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1889).$nativeString.length) break x; $rt_s(1889).$hashCode1 = (31 * $rt_s(1889).$hashCode1 | 0) + $rt_s(1889).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1889).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { y: { var$6 = var$2.$key; if ($rt_s(1889) !== var$6) { if ($rt_s(1889) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(1889).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break y; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$7 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1889) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { z: { if (!$rt_s(1889).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1889).$nativeString.length) break z; $rt_s(1889).$hashCode1 = (31 * $rt_s(1889).$hashCode1 | 0) + $rt_s(1889).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$3 = $rt_s(1889).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$3 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$3) { ba: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(1889) !== var$2) { if ($rt_s(1889) === var$2) var$7 = 1; else if (!(var$2 instanceof jl_String)) var$7 = 0; else { var$2 = var$2; var$7 = $rt_s(1889).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break ba; } } var$7 = 1; } if (var$7) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$7 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data; } $par1NBTTagCompound = $this.$dataWatcher; var$3 = (var$7 & 15) << 24 >> 24; var$9 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$8 = $par1NBTTagCompound.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[148]; if (var$6 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$4 = var$6.$value0; var$5 = var$8.$elementData.data; var$8 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$4) { var$2 = var$8.$key; if (var$6 !== var$2 && !(var$6 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$2 = var$8 === null ? null : var$8.$value1; var$8 = var$2.$watchedObject; if (!(var$8 instanceof jl_Byte && var$8.$value2 == var$9.$value2 ? 1 : 0)) { var$2.$watchedObject = var$9; var$2.$watched = 1; $par1NBTTagCompound.$objectChanged = 1; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NBTTagCompound, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntityWolf_getLivingSound = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; var$6 = !(var$1.$watchedObject.$value2 & 2) ? 0 : 1; a: { if (var$6) var$1 = $rt_s(1890); else { var$1 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$7; var$3 = Long_lo(Long_shru(var$7, 17)); while (true) { var$8 = var$3 % 3 | 0; if (((var$3 - var$8 | 0) + 2 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$7; var$3 = Long_lo(Long_shru(var$7, 17)); } if (var$8) var$1 = $rt_s(1891); else { if (nms_EntityTameable_isTamed($this)) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[146]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$6 = var$5.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$6) { var$2 = var$1.$key; if (var$5 !== var$2 && !(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 < 10.0) { var$1 = $rt_s(1892); break a; } } var$1 = $rt_s(1893); } } } return var$1; }, nms_EntityWolf_getHurtSound = $this => { return $rt_s(1894); }, nms_EntityWolf_getDeathSound = $this => { return $rt_s(1895); }, nms_EntityWolf_getSoundVolume = $this => { return 0.4000000059604645; }, nms_EntityWolf_getDropItemId = $this => { return (-1); }, nms_EntityWolf_onLivingUpdate = $this => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityAnimal_onLivingUpdate($this); if ($rt_suspending()) { break main; } if (!$this.$worldObj.$isRemote && $this.$isShaking && !$this.$field_70928_h && !($this.$pathToEntity === null ? 0 : 1) && $this.$onGround) { $this.$field_70928_h = 1; $this.$timeWolfIsShaking = 0.0; $this.$prevTimeWolfIsShaking = 0.0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); }, nms_EntityWolf_onUpdate = $this => { let var$1, var$2, $var2, var$4, var$5, $var1, $var4, var$8, $var5, var$10, $var3, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var3 = $thread.pop();var$10 = $thread.pop();$var5 = $thread.pop();var$8 = $thread.pop();$var4 = $thread.pop();$var1 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLivingBase_onUpdate($this); if ($rt_suspending()) { break main; } if (!$this.$worldObj.$isRemote) { $ptr = 2; continue main; } $this.$field_70924_f = $this.$field_70926_e; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var2 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var2 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var2) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var2 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value2 != 1 ? 0 : 1)) { $var1 = $this.$field_70926_e; $this.$field_70926_e = $var1 + (0.0 - $var1) * 0.4000000059604645; } else { $var4 = $this.$field_70926_e; $this.$field_70926_e = $var4 + (1.0 - $var4) * 0.4000000059604645; } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var2 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var2 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var2) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var2 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (var$1.$watchedObject.$value2 != 1 ? 0 : 1) $this.$numTicksToChaseTarget = 10; a: { if (nms_Entity_isWet($this)) { $this.$isShaking = 1; $this.$field_70928_h = 0; $this.$timeWolfIsShaking = 0.0; $this.$prevTimeWolfIsShaking = 0.0; } else if (!(!$this.$isShaking && !$this.$field_70928_h) && $this.$field_70928_h) { if ($this.$timeWolfIsShaking === 0.0) { var$2 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$8; $var5 = Long_lo(Long_shru(var$8, 24)) / 1.6777216E7; var$10 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; $var4 = ($var5 - Long_lo(Long_shru(var$10, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1896), 0.4000000059604645, $var4); } $var4 = $this.$timeWolfIsShaking; $this.$prevTimeWolfIsShaking = $var4; $this.$timeWolfIsShaking = $var4 + 0.05000000074505806; if ($var4 >= 2.0) { $this.$isShaking = 0; $this.$field_70928_h = 0; $this.$prevTimeWolfIsShaking = 0.0; $this.$timeWolfIsShaking = 0.0; } $var4 = $this.$timeWolfIsShaking; if ($var4 > 0.4000000059604645) { $var1 = $this.$boundingBox.$minY; $var4 = ($var4 - 0.4000000059604645) * 3.1415927410125732; $var2 = nms_MathHelper_SIN_TABLE.data[($var4 * 10430.3779296875 | 0) & 65535] * 7.0 | 0; $var3 = 0; var$12 = 24; var$13 = $var1 + 0.800000011920929; while (true) { if ($var3 >= $var2) break a; var$1 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; $var4 = Long_lo(Long_shru(var$8, var$12)) / 1.6777216E7 * 2.0 - 1.0; $var1 = $this.$width1; $var4 = $var4 * $var1 * 0.5; var$10 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var5 = (Long_lo(Long_shru(var$10, var$12)) / 1.6777216E7 * 2.0 - 1.0) * $var1 * 0.5; var$1 = $this.$worldObj; var$2 = $rt_s(1241); var$14 = $this.$posX + $var4; var$15 = $this.$posZ + $var5; var$16 = $this.$motionX; var$17 = $this.$motionY; var$18 = $this.$motionZ; var$19 = 0; var$5 = var$1.$worldAccesses; var$20 = $rt_compare(var$19, var$5.$size0); if (var$20 < 0) { if (var$19 >= 0 && var$20 < 0) { var$5 = var$5.$array.data[var$19]; $ptr = 3; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var3 = $var3 + 1 | 0; } } } } return; case 2: nms_EntityCreature_func_110159_bB($this); if ($rt_suspending()) { break main; } $this.$field_70924_f = $this.$field_70926_e; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var2 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var2 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var2) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var2 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value2 != 1 ? 0 : 1)) { $var1 = $this.$field_70926_e; $this.$field_70926_e = $var1 + (0.0 - $var1) * 0.4000000059604645; } else { $var4 = $this.$field_70926_e; $this.$field_70926_e = $var4 + (1.0 - $var4) * 0.4000000059604645; } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var2 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var2 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var2) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var2 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (var$1.$watchedObject.$value2 != 1 ? 0 : 1) $this.$numTicksToChaseTarget = 10; b: { if (nms_Entity_isWet($this)) { $this.$isShaking = 1; $this.$field_70928_h = 0; $this.$timeWolfIsShaking = 0.0; $this.$prevTimeWolfIsShaking = 0.0; } else if (!(!$this.$isShaking && !$this.$field_70928_h) && $this.$field_70928_h) { if ($this.$timeWolfIsShaking === 0.0) { var$2 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$8; $var5 = Long_lo(Long_shru(var$8, 24)) / 1.6777216E7; var$10 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; $var4 = ($var5 - Long_lo(Long_shru(var$10, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1896), 0.4000000059604645, $var4); } $var4 = $this.$timeWolfIsShaking; $this.$prevTimeWolfIsShaking = $var4; $this.$timeWolfIsShaking = $var4 + 0.05000000074505806; if ($var4 >= 2.0) { $this.$isShaking = 0; $this.$field_70928_h = 0; $this.$prevTimeWolfIsShaking = 0.0; $this.$timeWolfIsShaking = 0.0; } $var4 = $this.$timeWolfIsShaking; if ($var4 > 0.4000000059604645) { $var1 = $this.$boundingBox.$minY; $var4 = ($var4 - 0.4000000059604645) * 3.1415927410125732; $var2 = nms_MathHelper_SIN_TABLE.data[($var4 * 10430.3779296875 | 0) & 65535] * 7.0 | 0; $var3 = 0; var$12 = 24; var$13 = $var1 + 0.800000011920929; while (true) { if ($var3 >= $var2) break b; var$1 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; $var4 = Long_lo(Long_shru(var$8, var$12)) / 1.6777216E7 * 2.0 - 1.0; $var1 = $this.$width1; $var4 = $var4 * $var1 * 0.5; var$10 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var5 = (Long_lo(Long_shru(var$10, var$12)) / 1.6777216E7 * 2.0 - 1.0) * $var1 * 0.5; var$1 = $this.$worldObj; var$2 = $rt_s(1241); var$14 = $this.$posX + $var4; var$15 = $this.$posZ + $var5; var$16 = $this.$motionX; var$17 = $this.$motionY; var$18 = $this.$motionZ; var$19 = 0; var$5 = var$1.$worldAccesses; var$20 = $rt_compare(var$19, var$5.$size0); if (var$20 < 0) { if (var$19 >= 0 && var$20 < 0) { var$5 = var$5.$array.data[var$19]; $ptr = 3; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var3 = $var3 + 1 | 0; } } } } return; case 3: nms_RenderGlobal_doSpawnParticle(var$5, var$2, var$14, var$13, var$15, var$16, var$17, var$18); if ($rt_suspending()) { break main; } var$19 = var$19 + 1 | 0; while (true) { var$5 = var$1.$worldAccesses; var$20 = $rt_compare(var$19, var$5.$size0); if (var$20 < 0) { if (var$19 >= 0 && var$20 < 0) { var$5 = var$5.$array.data[var$19]; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var3 = $var3 + 1 | 0; if ($var3 >= $var2) break; var$1 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; $var4 = Long_lo(Long_shru(var$8, var$12)) / 1.6777216E7 * 2.0 - 1.0; $var1 = $this.$width1; $var4 = $var4 * $var1 * 0.5; var$10 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var5 = (Long_lo(Long_shru(var$10, var$12)) / 1.6777216E7 * 2.0 - 1.0) * $var1 * 0.5; var$1 = $this.$worldObj; var$2 = $rt_s(1241); var$14 = $this.$posX + $var4; var$15 = $this.$posZ + $var5; var$16 = $this.$motionX; var$17 = $this.$motionY; var$18 = $this.$motionZ; var$19 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $var2, var$4, var$5, $var1, $var4, var$8, $var5, var$10, $var3, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr); }, nms_EntityWolf_getShakeAngle = ($this, $par1, $par2) => { let $var3, var$4; $var3 = $this.$prevTimeWolfIsShaking; $var3 = ($var3 + ($this.$timeWolfIsShaking - $var3) * $par1 + $par2) / 1.7999999523162842; if ($var3 < 0.0) $var3 = 0.0; else if ($var3 > 1.0) $var3 = 1.0; $par1 = $var3 * 3.1415927410125732; var$4 = nms_MathHelper_SIN_TABLE.data; return var$4[($par1 * 10430.3779296875 | 0) & 65535] * var$4[($par1 * 11.0 * 10430.3779296875 | 0) & 65535] * 0.15000000596046448 * 3.1415927410125732; }, nms_EntityWolf_getEyeHeight = $this => { return $this.$height2 * 0.800000011920929; }, nms_EntityWolf_getVerticalFaceSpeed = $this => { return nms_EntityTameable_isSitting($this) ? 20 : 40; }, nms_EntityWolf_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let $var3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; $var3 = $par1DamageSource.$getEntity(); $this.$aiSit.$isSitting0 = 0; if ($var3 !== null && !($var3 instanceof nms_EntityPlayer) && !($var3 instanceof nms_EntityArrow)) $par2 = ($par2 + 1.0) / 2.0; $ptr = 1; case 1: $tmp = nms_EntityAnimal_attackEntityFrom($this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } var$4 = $tmp; return var$4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, $var3, var$4, $ptr); }, nms_EntityWolf_attackEntityAsMob = ($this, $par1Entity) => { let $var2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = !nms_EntityTameable_isTamed($this) ? 2 : 4; var$3 = new nms_EntityDamageSource; var$3.$hungerDamage = 0.30000001192092896; var$3.$damageType = $rt_s(1858); var$3.$damageSourceEntity = $this; var$4 = $var2; $ptr = 1; case 1: $tmp = $par1Entity.$attackEntityFrom(var$3, var$4); if ($rt_suspending()) { break main; } $var2 = $tmp; return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $var2, var$3, var$4, $ptr); }, nms_EntityWolf_setTamed = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6; nms_EntityTameable_setTamed($this, $par1); if (!$par1) { var$2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$5 = var$4.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (8.0 !== var$2.$baseValue) { var$2.$baseValue = 8.0; var$2.$field_111133_g = 1; var$3 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } } } else { var$2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { b: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= var$4.$nativeString.length) break b; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$5 = var$4.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (20.0 !== var$2.$baseValue) { var$2.$baseValue = 20.0; var$2.$field_111133_g = 1; var$3 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } } } }, nms_EntityWolf_interact = ($this, $par1EntityPlayer) => { let $var3, var$3, $var2, var$5, var$6, $var4, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $par1EntityPlayer.$inventory; var$3 = $var3.$currentItem; $var2 = var$3 < 9 && var$3 >= 0 ? $var3.$mainInventory.data[var$3] : null; a: { if (nms_EntityTameable_isTamed($this)) { b: { c: { if ($var2 !== null) { nms_Item_$callClinit(); var$5 = nms_Item_itemsList.data; var$6 = $var2.$itemID; if (!(var$5[var$6] instanceof nms_ItemFood)) { if (var$6 != nms_Item_dyePowder.$itemID0) break c; $var4 = ($var2.$itemDamage ^ (-1)) & 15; $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[148]; if (var$8 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$9 = var$8.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[var$9 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$9) { var$10 = $var3.$key; if (var$8 !== var$10 && !(var$8 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } if ($var4 == (($var3 === null ? null : $var3.$value1).$watchedObject.$value2 & 15)) break c; $var3 = $this.$dataWatcher; var$6 = ($var4 & 15) << 24 >> 24; var$11 = jl_Byte_byteCache.data[var$6 + 128 | 0]; var$10 = $var3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[148]; if (var$12 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { $var4 = var$12.$value0; var$5 = var$10.$elementData.data; var$10 = var$5[$var4 & (var$5.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == $var4) { var$8 = var$10.$key; if (var$12 !== var$8 && !(var$12 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == $var4 ? 1 : 0) ? 0 : 1) break; } var$10 = var$10.$next3; } } var$8 = var$10 === null ? null : var$10.$value1; var$10 = var$8.$watchedObject; if (!(var$10 instanceof jl_Byte && var$10.$value2 == var$11.$value2 ? 1 : 0)) { var$8.$watchedObject = var$11; var$8.$watched = 1; $var3.$objectChanged = 1; } if (!$par1EntityPlayer.$capabilities.$isCreativeMode) { var$6 = $var2.$stackSize - 1 | 0; $var2.$stackSize = var$6; if (var$6 <= 0) { $par1EntityPlayer = $par1EntityPlayer.$inventory; var$6 = $par1EntityPlayer.$currentItem; $var3 = null; var$5 = $par1EntityPlayer.$mainInventory; var$3 = var$5.data.length; if (var$6 >= var$3) { var$6 = var$6 - var$3 | 0; var$5 = $par1EntityPlayer.$armorInventory; } var$5.data[var$6] = $var3; } } return 1; } $var3 = var$5[var$6]; if ($var3.$isWolfsFavoriteMeat) { var$10 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[146]; if (var$8 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { var$3 = var$8.$value0; var$5 = var$10.$elementData.data; var$10 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$3) { var$12 = var$10.$key; if (var$8 !== var$12 && !(var$8 === var$12 ? 1 : var$12 instanceof jl_Integer && var$12.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$10 = var$10.$next3; } } if ((var$10 === null ? null : var$10.$value1).$watchedObject.$value3 < 20.0) break b; } } } if (!jl_String_equalsIgnoreCase($par1EntityPlayer.$username, nms_EntityTameable_getOwnerName($this))) break a; if ($this.$worldObj.$isRemote) break a; if ($var2 === null) var$6 = 0; else { nms_Item_$callClinit(); var$5 = nms_Item_itemsList.data; var$6 = $var2.$itemID; var$6 = !(var$5[var$6] instanceof nms_ItemFood) ? 0 : var$5[var$6].$isWolfsFavoriteMeat; } if (var$6) break a; $this.$aiSit.$isSitting0 = nms_EntityTameable_isSitting($this) ? 0 : 1; $this.$isJumping = 0; $this.$pathToEntity = null; $this.$entityToAttack = null; $this.$attackTarget = null; $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[144]; if (var$10 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$6 = var$10.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[var$6 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$6) { $var2 = $var3.$key; if (var$10 !== $var2 && !jl_Integer_equals(var$10, $var2) ? 0 : 1) break; } $var3 = $var3.$next3; } } var$3 = ($var3 === null ? null : $var3.$value1).$watchedObject.$value2; $var3 = $this.$dataWatcher; var$6 = (var$3 & (-3)) << 24 >> 24; var$12 = jl_Byte_byteCache.data[var$6 + 128 | 0]; var$10 = $var3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { $var4 = var$8.$value0; var$5 = var$10.$elementData.data; var$10 = var$5[$var4 & (var$5.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == $var4) { $var2 = var$10.$key; if (var$8 !== $var2 && !jl_Integer_equals(var$8, $var2) ? 0 : 1) break; } var$10 = var$10.$next3; } } $var2 = var$10 === null ? null : var$10.$value1; var$10 = $var2.$watchedObject; if (!(var$10 instanceof jl_Byte && var$10.$value2 == var$12.$value2 ? 1 : 0)) { $var2.$watchedObject = var$12; $var2.$watched = 1; $var3.$objectChanged = 1; } break a; } if (!$par1EntityPlayer.$capabilities.$isCreativeMode) $var2.$stackSize = $var2.$stackSize - 1 | 0; var$13 = $var3.$healAmount; $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[134]; if (var$8 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var4 = var$8.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[$var4 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var4) { var$10 = $var3.$key; if (var$8 !== var$10 && !jl_Integer_equals(var$8, var$10) ? 0 : 1) break; } $var3 = $var3.$next3; } } var$14 = ($var3 === null ? null : $var3.$value1).$watchedObject.$value3; if (var$14 > 0.0) { var$13 = var$14 + var$13; $var3 = $this.$dataWatcher; var$15 = 0.0; var$10 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$10 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, var$10); var$10 = var$10 === null ? null : var$10.$value1; if (var$10.$field_111133_g) { var$10.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$10); var$10.$field_111133_g = 0; } var$14 = var$10.$field_111139_h; if (var$13 >= var$15) var$15 = var$13 <= var$14 ? var$13 : var$14; var$11 = new jl_Float; var$11.$value3 = var$15; var$10 = $var3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[134]; if (var$12 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { $var4 = var$12.$value0; var$5 = var$10.$elementData.data; var$10 = var$5[$var4 & (var$5.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == $var4) { var$8 = var$10.$key; if (var$12 !== var$8 && !jl_Integer_equals(var$12, var$8) ? 0 : 1) break; } var$10 = var$10.$next3; } } var$8 = var$10 === null ? null : var$10.$value1; var$10 = var$8.$watchedObject; if (var$11 === var$10) var$6 = 1; else d: { if (var$10 instanceof jl_Float) { var$13 = var$11.$value3; var$15 = var$10.$value3; if (var$13 !== var$13 ? (var$15 === var$15 ? 0 : 1) : $rt_floatToRawIntBits(var$13) != $rt_floatToRawIntBits(var$15) ? 0 : 1) { var$6 = 1; break d; } } var$6 = 0; } if (!var$6) { var$8.$watchedObject = var$11; var$8.$watched = 1; $var3.$objectChanged = 1; } } if ($var2.$stackSize <= 0) { $par1EntityPlayer = $par1EntityPlayer.$inventory; var$6 = $par1EntityPlayer.$currentItem; $var3 = null; var$5 = $par1EntityPlayer.$mainInventory; var$3 = var$5.data.length; if (var$6 >= var$3) { var$6 = var$6 - var$3 | 0; var$5 = $par1EntityPlayer.$armorInventory; } var$5.data[var$6] = $var3; } return 1; } if ($var2 !== null) { var$6 = $var2.$itemID; nms_Item_$callClinit(); if (var$6 == nms_Item_bone.$itemID0) { $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var4 = var$8.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[$var4 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var4) { var$10 = $var3.$key; if (var$8 !== var$10 && !(var$8 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == $var4 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; if (!(!($var3.$watchedObject.$value2 & 2) ? 0 : 1)) { if (!$par1EntityPlayer.$capabilities.$isCreativeMode) $var2.$stackSize = $var2.$stackSize - 1 | 0; if ($var2.$stackSize <= 0) { $var3 = $par1EntityPlayer.$inventory; var$6 = $var3.$currentItem; var$10 = null; var$5 = $var3.$mainInventory; var$3 = var$5.data.length; if (var$6 >= var$3) { var$6 = var$6 - var$3 | 0; var$5 = $var3.$armorInventory; } var$5.data[var$6] = var$10; } if ($this.$worldObj.$isRemote) return 1; $var3 = $this.$rand; var$16 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$16; $var4 = Long_lo(Long_shru(var$16, 17)); while (true) { var$9 = $var4 % 3 | 0; if ((($var4 - var$9 | 0) + 2 | 0) >= 0) break; var$16 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$16; $var4 = Long_lo(Long_shru(var$16, 17)); } if (!var$9) { nms_EntityTameable_setTamed($this, 1); $var3 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$10 = $this.$attributeMap.$attributes; if ($var3 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { e: { $var2 = $var3.$field_111115_a; if (!$var2.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $var2.$nativeString.length) break e; $var2.$hashCode1 = (31 * $var2.$hashCode1 | 0) + $var2.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } $var4 = $var2.$hashCode1; var$5 = var$10.$elementData.data; var$10 = var$5[$var4 & (var$5.length - 1 | 0)]; while (var$10 !== null && !(var$10.$origKeyHash == $var4 && ju_HashMap_areEqualKeys($var3, var$10.$key))) { var$10 = var$10.$next3; } } $var3 = var$10 === null ? null : var$10.$value1; if (20.0 !== $var3.$baseValue) { $var3.$baseValue = 20.0; $var3.$field_111133_g = 1; var$10 = $var3.$field_111138_a; if ($var3.$field_111136_b.$shouldWatch) { var$10 = var$10.$field_111162_d; ju_HashMap_putImpl(var$10.$backingMap, $var3, var$10); } } $this.$pathToEntity = null; $this.$attackTarget = null; $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[144]; if (var$10 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$6 = var$10.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[var$6 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$6) { $var2 = $var3.$key; if (var$10 !== $var2 && !jl_Integer_equals(var$10, $var2) ? 0 : 1) break; } $var3 = $var3.$next3; } } var$3 = ($var3 === null ? null : $var3.$value1).$watchedObject.$value2; $var3 = $this.$dataWatcher; var$6 = (var$3 & (-3)) << 24 >> 24; var$12 = jl_Byte_byteCache.data[var$6 + 128 | 0]; var$10 = $var3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { $var4 = var$8.$value0; var$5 = var$10.$elementData.data; var$10 = var$5[$var4 & (var$5.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == $var4) { $var2 = var$10.$key; if (var$8 !== $var2 && !jl_Integer_equals(var$8, $var2) ? 0 : 1) break; } var$10 = var$10.$next3; } } $var2 = var$10 === null ? null : var$10.$value1; var$10 = $var2.$watchedObject; if (!(var$10 instanceof jl_Byte && var$10.$value2 == var$12.$value2 ? 1 : 0)) { $var2.$watchedObject = var$12; $var2.$watched = 1; $var3.$objectChanged = 1; } $this.$aiSit.$isSitting0 = 1; var$13 = 20.0; $var3 = $this.$dataWatcher; var$10 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var2 = $this.$attributeMap.$attributes; if (var$10 === null) var$10 = ju_HashMap_findNullKeyEntry($var2); else { var$3 = nms_BaseAttribute_hashCode(var$10); var$10 = ju_HashMap_findNonNullKeyEntry($var2, var$10, var$3 & ($var2.$elementData.data.length - 1 | 0), var$3); } var$10 = var$10 === null ? null : var$10.$value1; if (var$10.$field_111133_g) { var$10.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$10); var$10.$field_111133_g = 0; } var$15 = var$10.$field_111139_h; if (var$13 > var$15) var$13 = var$15; var$12 = new jl_Float; var$12.$value3 = var$13; var$10 = $var3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[134]; if (var$8 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { $var4 = var$8.$value0; var$5 = var$10.$elementData.data; var$10 = var$5[$var4 & (var$5.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == $var4) { $var2 = var$10.$key; if (var$8 !== $var2 && !(var$8 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == $var4 ? 1 : 0) ? 0 : 1) break; } var$10 = var$10.$next3; } } var$10 = var$10 === null ? null : var$10.$value1; $var2 = var$10.$watchedObject; if (var$12 === $var2) var$6 = 1; else f: { if ($var2 instanceof jl_Float) { var$13 = var$12.$value3; var$15 = $var2.$value3; if (var$13 !== var$13 ? (var$15 === var$15 ? 0 : 1) : $rt_floatToRawIntBits(var$13) != $rt_floatToRawIntBits(var$15) ? 0 : 1) { var$6 = 1; break f; } } var$6 = 0; } if (!var$6) { var$10.$watchedObject = var$12; var$10.$watched = 1; $var3.$objectChanged = 1; } nms_EntityTameable_setOwner($this, $par1EntityPlayer.$username); var$6 = 1; $ptr = 3; continue main; } var$6 = 0; $ptr = 2; continue main; } } } } $ptr = 1; case 1: $tmp = nms_EntityAnimal_interact($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } var$6 = $tmp; return var$6; case 2: nms_EntityTameable_playTameEffect($this, var$6); if ($rt_suspending()) { break main; } return 1; case 3: nms_EntityTameable_playTameEffect($this, var$6); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var3, var$3, $var2, var$5, var$6, $var4, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityWolf_handleHealthUpdate = ($this, $par1) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 == 8) { $this.$field_70928_h = 1; $this.$timeWolfIsShaking = 0.0; $this.$prevTimeWolfIsShaking = 0.0; return; } if ($par1 == 7) { $par1 = 1; $ptr = 1; continue main; } if ($par1 != 6) { $ptr = 2; continue main; } $par1 = 0; $ptr = 3; continue main; case 1: nms_EntityTameable_playTameEffect($this, $par1); if ($rt_suspending()) { break main; } return; case 2: nms_EntityAnimal_handleHealthUpdate($this, $par1); if ($rt_suspending()) { break main; } return; case 3: nms_EntityTameable_playTameEffect($this, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $ptr); }, nms_EntityWolf_isBreedingItem = ($this, $par1ItemStack) => { let var$2, var$3; if ($par1ItemStack === null) var$2 = 0; else { nms_Item_$callClinit(); var$3 = nms_Item_itemsList.data; var$2 = $par1ItemStack.$itemID; var$2 = !(var$3[var$2] instanceof nms_ItemFood) ? 0 : var$3[var$2].$isWolfsFavoriteMeat; } return var$2; }, nms_EntityWolf_canMateWith = ($this, $par1EntityAnimal) => { let $var2, var$3; if ($par1EntityAnimal === $this) return 0; if (!nms_EntityTameable_isTamed($this)) return 0; if (!($par1EntityAnimal instanceof nms_EntityWolf)) return 0; $var2 = $par1EntityAnimal; if (!nms_EntityTameable_isTamed($var2)) var$3 = 0; else if (nms_EntityTameable_isSitting($var2)) var$3 = 0; else { var$3 = $this.$inLove <= 0 ? 0 : 1; var$3 = var$3 && ($var2.$inLove <= 0 ? 0 : 1) ? 1 : 0; } return var$3; }, nms_EntityWolf_canDespawn = $this => { return !nms_EntityTameable_isTamed($this) && $this.$ticksExisted > 2400 ? 1 : 0; }, nms_EntityWolf_func_142018_a = ($this, $par1EntityLivingBase, $par2EntityLivingBase) => { let $var3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; if (!($par1EntityLivingBase instanceof nms_EntityCreeper) && !($par1EntityLivingBase instanceof nms_EntityGhast)) { if ($par1EntityLivingBase instanceof nms_EntityWolf) { $var3 = $par1EntityLivingBase; if (nms_EntityTameable_isTamed($var3) && nms_EntityTameable_func_130012_q($var3) === $par2EntityLivingBase) return 0; } a: { if ($par1EntityLivingBase instanceof nms_EntityPlayer && $par2EntityLivingBase instanceof nms_EntityPlayer) { $var3 = $par1EntityLivingBase; var$4 = $par2EntityLivingBase.$worldObj.$worldScoreboard; $par2EntityLivingBase = $par2EntityLivingBase.$username; var$4 = var$4.$teamMemberships; if ($par2EntityLivingBase === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { b: { if (!$par2EntityLivingBase.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $par2EntityLivingBase.$nativeString.length) break b; $par2EntityLivingBase.$hashCode1 = (31 * $par2EntityLivingBase.$hashCode1 | 0) + $par2EntityLivingBase.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $par2EntityLivingBase.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { c: { var$8 = var$4.$key; if ($par2EntityLivingBase !== var$8) { if ($par2EntityLivingBase === var$8) var$5 = 1; else if (!(var$8 instanceof jl_String)) var$5 = 0; else { var$8 = var$8; var$5 = $par2EntityLivingBase.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break c; } } var$5 = 1; } if (var$5) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = $var3.$worldObj.$worldScoreboard; $par2EntityLivingBase = $var3.$username; $var3 = var$4.$teamMemberships; if ($par2EntityLivingBase === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { d: { if (!$par2EntityLivingBase.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $par2EntityLivingBase.$nativeString.length) break d; $par2EntityLivingBase.$hashCode1 = (31 * $par2EntityLivingBase.$hashCode1 | 0) + $par2EntityLivingBase.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$9 = $par2EntityLivingBase.$hashCode1; var$7 = $var3.$elementData.data; $var3 = var$7[var$9 & (var$7.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$9) { e: { var$4 = $var3.$key; if ($par2EntityLivingBase !== var$4) { if ($par2EntityLivingBase === var$4) var$5 = 1; else if (!(var$4 instanceof jl_String)) var$5 = 0; else { var$4 = var$4; var$5 = $par2EntityLivingBase.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break e; } } var$5 = 1; } if (var$5) break; } $var3 = $var3.$next3; } } $par2EntityLivingBase = $var3 === null ? null : $var3.$value1; if (!(var$8 === null ? 1 : !($par2EntityLivingBase === null ? 0 : var$8 !== $par2EntityLivingBase ? 0 : 1) ? 1 : var$8.$allowFriendlyFire)) { var$5 = 0; break a; } } if ($par1EntityLivingBase instanceof nms_EntityHorse) { $par1EntityLivingBase = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[144]; if ($var3 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$10 = $var3.$value0; var$7 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$7[var$10 & (var$7.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$10) { $par2EntityLivingBase = $par1EntityLivingBase.$key; if ($var3 !== $par2EntityLivingBase && !jl_Integer_equals($var3, $par2EntityLivingBase) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; if (!($par1EntityLivingBase.$watchedObject.$value0 & 2) ? 0 : 1) { var$5 = 0; break a; } } var$5 = 1; } return var$5; } return 0; }, nms_EntityWolf_createChild = ($this, $par1EntityAgeable) => { let var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityAgeable = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityAgeable = new nms_EntityWolf; var$2 = $this.$worldObj; $ptr = 1; case 1: nms_EntityWolf__init_($par1EntityAgeable, var$2); if ($rt_suspending()) { break main; } var$2 = nms_EntityTameable_getOwnerName($this); if (var$2 !== null && (jl_String_trim(var$2)).$nativeString.length > 0) { nms_EntityTameable_setOwner($par1EntityAgeable, var$2); nms_EntityTameable_setTamed($par1EntityAgeable, 1); var$2 = nms_SharedMonsterAttributes_maxHealth; if ($par1EntityAgeable.$attributeMap === null) $par1EntityAgeable.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $par1EntityAgeable.$attributeMap.$attributes; if (var$2 === null) var$2 = ju_HashMap_findNullKeyEntry(var$3); else { var$4 = nms_BaseAttribute_hashCode(var$2); var$2 = ju_HashMap_findNonNullKeyEntry(var$3, var$2, var$4 & (var$3.$elementData.data.length - 1 | 0), var$4); } var$5 = var$2 === null ? null : var$2.$value1; if (20.0 !== var$5.$baseValue) { var$5.$baseValue = 20.0; var$5.$field_111133_g = 1; var$2 = var$5.$field_111138_a; if (var$5.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$5, var$2); } } } return $par1EntityAgeable; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityAgeable, var$2, var$3, var$4, var$5, $ptr); }, nms_RenderWolf = $rt_classWithoutFields(nms_RenderLiving), nms_RenderWolf_wolfTextures = null, nms_RenderWolf_tamedWolfTextures = null, nms_RenderWolf_anrgyWolfTextures = null, nms_RenderWolf_wolfCollarTextures = null, nms_RenderWolf_$callClinit = () => { nms_RenderWolf_$callClinit = $rt_eraseClinit(nms_RenderWolf); nms_RenderWolf__clinit_(); }, nms_RenderWolf_func_82447_a = ($this, $par1EntityWolf, $par2, $par3) => { let $var4, var$5, var$6, var$7, var$8, var$9, var$10, $var5, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();$var5 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityWolf = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par2 && $par1EntityWolf.$isShaking) { $var4 = nms_Entity_getBrightness($par1EntityWolf, $par3); var$5 = $par1EntityWolf.$prevTimeWolfIsShaking; $var4 = $var4 * (0.75 + (var$5 + ($par1EntityWolf.$timeWolfIsShaking - var$5) * $par3) / 2.0 * 0.25); nms_RenderWolf_$callClinit(); $par1EntityWolf = nms_RenderWolf_wolfTextures; $ptr = 1; continue main; } if ($par2 == 1) { var$6 = $par1EntityWolf.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$8 = var$7.$value0; var$9 = var$6.$elementData.data; var$6 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$8) { var$10 = var$6.$key; if (var$7 !== var$10 && !(var$7 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$6 = var$6 === null ? null : var$6.$value1; if (!(var$6.$watchedObject.$value2 & 4) ? 0 : 1) { nms_RenderWolf_$callClinit(); var$6 = nms_RenderWolf_wolfCollarTextures; $ptr = 2; continue main; } } return (-1); case 1: nle_TextureLocation_bindTexture($par1EntityWolf); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var4; nleg_EaglerAdapterGL30_colorG = $var4; nleg_EaglerAdapterGL30_colorB = $var4; nleg_EaglerAdapterGL30_colorA = 1.0; return 1; case 2: nle_TextureLocation_bindTexture(var$6); if ($rt_suspending()) { break main; } $par1EntityWolf = $par1EntityWolf.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[148]; if (var$10 === null) { $par1EntityWolf = $par1EntityWolf.$elementData.data[0]; while ($par1EntityWolf !== null && $par1EntityWolf.$key !== null) { $par1EntityWolf = $par1EntityWolf.$next3; } } else { var$8 = var$10.$value0; var$9 = $par1EntityWolf.$elementData.data; $par1EntityWolf = var$9[var$8 & (var$9.length - 1 | 0)]; while ($par1EntityWolf !== null) { if ($par1EntityWolf.$origKeyHash == var$8) { var$6 = $par1EntityWolf.$key; if (var$10 !== var$6 && !(var$10 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } $par1EntityWolf = $par1EntityWolf.$next3; } } $var5 = ($par1EntityWolf === null ? null : $par1EntityWolf.$value1).$watchedObject.$value2 & 15; var$9 = nms_EntitySheep_fleeceColorTable.data; $par3 = 1.0 * var$9[$var5].data[0]; var$12 = 1.0 * var$9[$var5].data[1]; $var4 = 1.0 * var$9[$var5].data[2]; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par3; nleg_EaglerAdapterGL30_colorG = var$12; nleg_EaglerAdapterGL30_colorB = $var4; nleg_EaglerAdapterGL30_colorA = 1.0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityWolf, $par2, $par3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, $var5, var$12, $ptr); }, nms_RenderWolf_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: $tmp = nms_RenderWolf_func_82447_a($this, $par1EntityLivingBase, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $ptr); }, nms_RenderWolf_bindTexture = ($this, $par1EntityLiving) => { let var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; var$2 = $par1EntityLiving.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value2 & 4) ? 0 : 1) { nms_RenderWolf_$callClinit(); $par1EntityLiving = nms_RenderWolf_tamedWolfTextures; $ptr = 1; continue main; } $par1EntityLiving = $par1EntityLiving.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $par1EntityLiving = $par1EntityLiving.$elementData.data[0]; while ($par1EntityLiving !== null && $par1EntityLiving.$key !== null) { $par1EntityLiving = $par1EntityLiving.$next3; } } else { var$7 = var$2.$value0; var$5 = $par1EntityLiving.$elementData.data; $par1EntityLiving = var$5[var$7 & (var$5.length - 1 | 0)]; while ($par1EntityLiving !== null) { if ($par1EntityLiving.$origKeyHash == var$7) { var$6 = $par1EntityLiving.$key; if (var$2 !== var$6 && !(var$2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $par1EntityLiving = $par1EntityLiving.$next3; } } $par1EntityLiving = $par1EntityLiving === null ? null : $par1EntityLiving.$value1; if (!(!($par1EntityLiving.$watchedObject.$value2 & 2) ? 0 : 1)) { nms_RenderWolf_$callClinit(); $par1EntityLiving = nms_RenderWolf_wolfTextures; $ptr = 2; continue main; } nms_RenderWolf_$callClinit(); $par1EntityLiving = nms_RenderWolf_anrgyWolfTextures; $ptr = 3; continue main; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 2: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 3: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_RenderWolf_handleRotationFloat = ($this, $par1EntityLivingBase, $par2) => { let var$3, var$4, var$5, var$6, var$7; $par1EntityLivingBase = $par1EntityLivingBase; var$3 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = jl_Integer_hashCode(var$4.$value0); var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$5 && ju_HashMap_areEqualKeys(var$4, var$3.$key))) { var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value2 & 2) ? 0 : 1) $par2 = 1.539380431175232; else { var$3 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = jl_Integer_hashCode(var$4.$value0); var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$5 && ju_HashMap_areEqualKeys(var$4, var$3.$key))) { var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(!(var$3.$watchedObject.$value2 & 4) ? 0 : 1)) $par2 = 0.6283185482025146; else { $par1EntityLivingBase = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[146]; if (var$7 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$5 = var$7.$value0; var$6 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$6[var$5 & (var$6.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$5) { var$3 = $par1EntityLivingBase.$key; if (var$7 !== var$3 && !jl_Integer_equals(var$7, var$3) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par2 = (0.550000011920929 - (20.0 - ($par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1).$watchedObject.$value3) * 0.019999999552965164) * 3.1415927410125732; } } return $par2; }, nms_RenderWolf_getEntityTexture = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5, var$6, var$7; $par1Entity = $par1Entity; var$2 = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value2 & 4) ? 0 : 1) { nms_RenderWolf_$callClinit(); $par1Entity = nms_RenderWolf_tamedWolfTextures; } else { $par1Entity = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$7 = var$2.$value0; var$5 = $par1Entity.$elementData.data; $par1Entity = var$5[var$7 & (var$5.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$7) { var$6 = $par1Entity.$key; if (var$2 !== var$6 && !jl_Integer_equals(var$2, var$6) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if (!(!($par1Entity.$watchedObject.$value2 & 2) ? 0 : 1)) { nms_RenderWolf_$callClinit(); $par1Entity = nms_RenderWolf_wolfTextures; } else { nms_RenderWolf_$callClinit(); $par1Entity = nms_RenderWolf_anrgyWolfTextures; } } return $par1Entity; }, nms_RenderWolf__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1897); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderWolf_wolfTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1898); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderWolf_tamedWolfTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1899); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderWolf_anrgyWolfTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1900); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderWolf_wolfCollarTextures = var$1; }; function nms_ModelWolf() { let a = this; nms_ModelBase.call(a); a.$wolfHeadMain = null; a.$wolfBody = null; a.$wolfLeg1 = null; a.$wolfLeg2 = null; a.$wolfLeg3 = null; a.$wolfLeg4 = null; a.$wolfTail = null; a.$wolfMane = null; } let nms_ModelWolf__init_0 = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; $this.$wolfHeadMain = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 0, (-3.0), (-3.0), (-2.0), 6, 6, 4, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$wolfHeadMain; var$1.$rotationPointX = (-1.0); var$1.$rotationPointY = 13.5; var$1.$rotationPointZ = (-7.0); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$2 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$1.$textureWidth = var$2; var$1.$textureHeight = var$9; var$1.$textureOffsetX = 18; var$1.$textureOffsetY = 14; $this.$wolfBody = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 18, 14, (-4.0), (-2.0), (-3.0), 6, 9, 6, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$wolfBody; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 14.0; var$1.$rotationPointZ = 2.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 21; var$1.$textureOffsetY = 0; $this.$wolfMane = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 21, 0, (-4.0), (-3.0), (-3.0), 8, 6, 7, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$wolfMane; var$1.$rotationPointX = (-1.0); var$1.$rotationPointY = 14.0; var$1.$rotationPointZ = 2.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 18; $this.$wolfLeg1 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 18, (-1.0), 0.0, (-1.0), 2, 8, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$wolfLeg1; var$1.$rotationPointX = (-2.5); var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = 7.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 18; $this.$wolfLeg2 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 18, (-1.0), 0.0, (-1.0), 2, 8, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$wolfLeg2; var$1.$rotationPointX = 0.5; var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = 7.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 18; $this.$wolfLeg3 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 18, (-1.0), 0.0, (-1.0), 2, 8, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$wolfLeg3; var$1.$rotationPointX = (-2.5); var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = (-4.0); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 18; $this.$wolfLeg4 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 18, (-1.0), 0.0, (-1.0), 2, 8, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$wolfLeg4; var$1.$rotationPointX = 0.5; var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = (-4.0); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 9; var$1.$textureOffsetY = 18; $this.$wolfTail = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 9, 18, (-1.0), 0.0, (-1.0), 2, 8, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$wolfTail; var$1.$rotationPointX = (-1.0); var$1.$rotationPointY = 12.0; var$1.$rotationPointZ = 8.0; var$1 = $this.$wolfHeadMain; var$1.$textureOffsetX = 16; var$1.$textureOffsetY = 14; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 16, 14, (-3.0), (-5.0), 0.0, 2, 2, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$wolfHeadMain; var$1.$textureOffsetX = 16; var$1.$textureOffsetY = 14; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 16, 14, 1.0, (-5.0), 0.0, 2, 2, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$wolfHeadMain; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 10; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 10, (-1.5), 0.0, (-5.0), 3, 3, 4, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; }, nms_ModelWolf__init_ = () => { let var_0 = new nms_ModelWolf(); nms_ModelWolf__init_0(var_0); return var_0; }, nms_ModelWolf_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8; $par1Entity = $this.$wolfHeadMain; $par1Entity.$rotateAngleX = $par6 / 57.2957763671875; $par1Entity.$rotateAngleY = $par5 / 57.2957763671875; $this.$wolfTail.$rotateAngleX = $par4; if (!$this.$isChild0) { nms_ModelRenderer_renderWithRotation($par1Entity, $par7); nms_ModelRenderer_render($this.$wolfBody, $par7); nms_ModelRenderer_render($this.$wolfLeg1, $par7); nms_ModelRenderer_render($this.$wolfLeg2, $par7); nms_ModelRenderer_render($this.$wolfLeg3, $par7); nms_ModelRenderer_render($this.$wolfLeg4, $par7); nms_ModelRenderer_renderWithRotation($this.$wolfTail, $par7); nms_ModelRenderer_render($this.$wolfMane, $par7); } else { nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = 5.0 * $par7; $par4 = 2.0 * $par7; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par3; $par1Entity.$z = $par4; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_renderWithRotation($this.$wolfHeadMain, $par7); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.5; $par1Entity.$y = 0.5; $par1Entity.$z = 0.5; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par3 = 24.0 * $par7; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par3; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$wolfBody, $par7); nms_ModelRenderer_render($this.$wolfLeg1, $par7); nms_ModelRenderer_render($this.$wolfLeg2, $par7); nms_ModelRenderer_render($this.$wolfLeg3, $par7); nms_ModelRenderer_render($this.$wolfLeg4, $par7); nms_ModelRenderer_renderWithRotation($this.$wolfTail, $par7); nms_ModelRenderer_render($this.$wolfMane, $par7); nleg_EaglerAdapterGL30_glPopMatrix(); } }, nms_ModelWolf_setLivingAnimations = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $var5 = $par1EntityLivingBase; $par1EntityLivingBase = $var5.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$7 = var$6.$value0; var$8 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$8[var$7 & (var$8.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$7) { var$9 = $par1EntityLivingBase.$key; if (var$6 !== var$9 && !(var$6 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; if (!($par1EntityLivingBase.$watchedObject.$value2 & 2) ? 0 : 1) $this.$wolfTail.$rotateAngleY = 0.0; else { $par1EntityLivingBase = $this.$wolfTail; var$10 = $par2 * 0.6661999821662903; $par1EntityLivingBase.$rotateAngleY = nms_MathHelper_SIN_TABLE.data[(var$10 * 10430.3779296875 + 16384.0 | 0) & 65535] * 1.399999976158142 * $par3; } var$9 = $var5.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $par1EntityLivingBase = jl_Integer_integerCache.data[144]; if ($par1EntityLivingBase === null) { var$6 = var$9.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$11 = $par1EntityLivingBase.$value0; var$8 = var$9.$elementData.data; var$6 = var$8[var$11 & (var$8.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$11) { var$9 = var$6.$key; if ($par1EntityLivingBase !== var$9 && !($par1EntityLivingBase === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$11 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } $par1EntityLivingBase = var$6 === null ? null : var$6.$value1; if (!($par1EntityLivingBase.$watchedObject.$value2 & 1) ? 0 : 1) { $par1EntityLivingBase = $this.$wolfMane; $par1EntityLivingBase.$rotationPointX = (-1.0); $par1EntityLivingBase.$rotationPointY = 16.0; $par1EntityLivingBase.$rotationPointZ = (-3.0); $par1EntityLivingBase.$rotateAngleX = 1.2566370964050293; $par1EntityLivingBase.$rotateAngleY = 0.0; $par1EntityLivingBase = $this.$wolfBody; $par1EntityLivingBase.$rotationPointX = 0.0; $par1EntityLivingBase.$rotationPointY = 18.0; $par1EntityLivingBase.$rotationPointZ = 0.0; $par1EntityLivingBase.$rotateAngleX = 0.7853981852531433; $par1EntityLivingBase = $this.$wolfTail; $par1EntityLivingBase.$rotationPointX = (-1.0); $par1EntityLivingBase.$rotationPointY = 21.0; $par1EntityLivingBase.$rotationPointZ = 6.0; $par1EntityLivingBase = $this.$wolfLeg1; $par1EntityLivingBase.$rotationPointX = (-2.5); $par1EntityLivingBase.$rotationPointY = 22.0; $par1EntityLivingBase.$rotationPointZ = 2.0; $par1EntityLivingBase.$rotateAngleX = 4.71238899230957; $par1EntityLivingBase = $this.$wolfLeg2; $par1EntityLivingBase.$rotationPointX = 0.5; $par1EntityLivingBase.$rotationPointY = 22.0; $par1EntityLivingBase.$rotationPointZ = 2.0; $par1EntityLivingBase.$rotateAngleX = 4.71238899230957; $par1EntityLivingBase = $this.$wolfLeg3; $par1EntityLivingBase.$rotateAngleX = 5.811946868896484; $par1EntityLivingBase.$rotationPointX = (-2.490000009536743); $par1EntityLivingBase.$rotationPointY = 17.0; $par1EntityLivingBase.$rotationPointZ = (-4.0); $par1EntityLivingBase = $this.$wolfLeg4; $par1EntityLivingBase.$rotateAngleX = 5.811946868896484; $par1EntityLivingBase.$rotationPointX = 0.5099999904632568; $par1EntityLivingBase.$rotationPointY = 17.0; $par1EntityLivingBase.$rotationPointZ = (-4.0); } else { $par1EntityLivingBase = $this.$wolfBody; $par1EntityLivingBase.$rotationPointX = 0.0; $par1EntityLivingBase.$rotationPointY = 14.0; $par1EntityLivingBase.$rotationPointZ = 2.0; $par1EntityLivingBase.$rotateAngleX = 1.5707963705062866; $par1EntityLivingBase = $this.$wolfMane; $par1EntityLivingBase.$rotationPointX = (-1.0); $par1EntityLivingBase.$rotationPointY = 14.0; $par1EntityLivingBase.$rotationPointZ = (-3.0); $par1EntityLivingBase.$rotateAngleX = 1.5707963705062866; $par1EntityLivingBase = $this.$wolfTail; $par1EntityLivingBase.$rotationPointX = (-1.0); $par1EntityLivingBase.$rotationPointY = 12.0; $par1EntityLivingBase.$rotationPointZ = 8.0; var$12 = $this.$wolfLeg1; var$12.$rotationPointX = (-2.5); var$12.$rotationPointY = 16.0; var$12.$rotationPointZ = 7.0; $par1EntityLivingBase = $this.$wolfLeg2; $par1EntityLivingBase.$rotationPointX = 0.5; $par1EntityLivingBase.$rotationPointY = 16.0; $par1EntityLivingBase.$rotationPointZ = 7.0; var$9 = $this.$wolfLeg3; var$9.$rotationPointX = (-2.5); var$9.$rotationPointY = 16.0; var$9.$rotationPointZ = (-4.0); var$6 = $this.$wolfLeg4; var$6.$rotationPointX = 0.5; var$6.$rotationPointY = 16.0; var$6.$rotationPointZ = (-4.0); var$10 = $par2 * 0.6661999821662903; var$8 = nms_MathHelper_SIN_TABLE.data; var$7 = (var$10 * 10430.3779296875 + 16384.0 | 0) & 65535; var$12.$rotateAngleX = var$8[var$7] * 1.399999976158142 * $par3; var$13 = ((var$10 + 3.1415927410125732) * 10430.3779296875 + 16384.0 | 0) & 65535; $par1EntityLivingBase.$rotateAngleX = var$8[var$13] * 1.399999976158142 * $par3; var$9.$rotateAngleX = var$8[var$13] * 1.399999976158142 * $par3; var$6.$rotateAngleX = var$8[var$7] * 1.399999976158142 * $par3; } $par1EntityLivingBase = $this.$wolfHeadMain; $par2 = $var5.$field_70924_f; $par1EntityLivingBase.$rotateAngleZ = ($par2 + ($var5.$field_70926_e - $par2) * $par4) * 0.15000000596046448 * 3.1415927410125732 + nms_EntityWolf_getShakeAngle($var5, $par4, 0.0); $this.$wolfMane.$rotateAngleZ = nms_EntityWolf_getShakeAngle($var5, $par4, (-0.07999999821186066)); $this.$wolfBody.$rotateAngleZ = nms_EntityWolf_getShakeAngle($var5, $par4, (-0.1599999964237213)); $this.$wolfTail.$rotateAngleZ = nms_EntityWolf_getShakeAngle($var5, $par4, (-0.20000000298023224)); }, nms_ModelWolf_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { $par7Entity = $this.$wolfHeadMain; $par7Entity.$rotateAngleX = $par5 / 57.2957763671875; $par7Entity.$rotateAngleY = $par4 / 57.2957763671875; $this.$wolfTail.$rotateAngleX = $par3; }; function nms_EntityChicken() { let a = this; nms_EntityAnimal.call(a); a.$field_70886_e = 0.0; a.$destPos = 0.0; a.$field_70884_g = 0.0; a.$field_70888_h = 0.0; a.$field_70889_i = 0.0; a.$timeUntilNextEgg = 0; } let nms_EntityChicken__init_ = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; $this.$field_98056_d = (-1.0); $this.$field_70889_i = 1.0; $this.$field_98056_d = 0.30000001192092896; $this.$field_98057_e = 0.699999988079071; var$2 = 0.30000001192092896; var$3 = 0.699999988079071; $ptr = 1; case 1: nms_Entity_setSize($this, var$2, var$3); if ($rt_suspending()) { break main; } $par1World = $this.$rand; var$4 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); while (true) { var$6 = var$5 % 6000 | 0; if (((var$5 - var$6 | 0) + 5999 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } $this.$timeUntilNextEgg = var$6 + 6000 | 0; $par1World = $this.$tasks0; var$7 = new nms_EntityAISwimming; var$7.$theEntity2 = $this; var$7.$mutexBits = 4; $this.$navigator.$canSwim = 1; var$8 = $par1World.$taskEntries; var$9 = new nms_EntityAITaskEntry; var$9.$tasks = $par1World; var$9.$priority = 0; var$9.$action = var$7; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$10 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$10[var$11] = var$9; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$7 = new nms_EntityAIPanic; var$7.$theEntityCreature = $this; var$7.$speed1 = 1.4; var$7.$mutexBits = 1; var$8 = $par1World.$taskEntries; var$9 = new nms_EntityAITaskEntry; var$9.$tasks = $par1World; var$9.$priority = 1; var$9.$action = var$7; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$10 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$10[var$11] = var$9; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$7 = new nms_EntityAIMate; var$7.$theAnimal = $this; var$7.$theWorld1 = $this.$worldObj; var$7.$moveSpeed = 1.0; var$7.$mutexBits = 3; var$8 = $par1World.$taskEntries; var$9 = new nms_EntityAITaskEntry; var$9.$tasks = $par1World; var$9.$priority = 2; var$9.$action = var$7; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$10 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$10[var$11] = var$9; var$8.$modCount = var$8.$modCount + 1 | 0; var$7 = $this.$tasks0; var$9 = new nms_EntityAITempt; nms_Item_$callClinit(); var$5 = nms_Item_seeds.$itemID0; var$9.$temptedEntity = $this; var$9.$field_75282_b = 1.0; var$9.$breedingFood = var$5; var$9.$scaredByPlayerMovement = 0; var$9.$mutexBits = 3; var$8 = var$7.$taskEntries; $par1World = new nms_EntityAITaskEntry; $par1World.$tasks = var$7; $par1World.$priority = 3; $par1World.$action = var$9; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$10 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$10[var$11] = $par1World; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$7 = new nms_EntityAIFollowParent; var$7.$childAnimal = $this; var$7.$field_75347_c = 1.1; var$8 = $par1World.$taskEntries; var$9 = new nms_EntityAITaskEntry; var$9.$tasks = $par1World; var$9.$priority = 4; var$9.$action = var$7; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$10 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$10[var$11] = var$9; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$7 = new nms_EntityAIWander; var$7.$entity = $this; var$7.$speed = 1.0; var$7.$mutexBits = 1; var$8 = $par1World.$taskEntries; var$9 = new nms_EntityAITaskEntry; var$9.$tasks = $par1World; var$9.$priority = 5; var$9.$action = var$7; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$10 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$10[var$11] = var$9; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$7 = new nms_EntityAIWatchClosest; var$7.$theWatcher = $this; var$7.$watchedClass = $rt_cls(nms_EntityPlayer); var$7.$maxDistanceForPlayer = 6.0; var$7.$field_75331_e = 0.019999999552965164; var$7.$mutexBits = 2; var$8 = $par1World.$taskEntries; var$9 = new nms_EntityAITaskEntry; var$9.$tasks = $par1World; var$9.$priority = 6; var$9.$action = var$7; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$10 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$10[var$11] = var$9; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$7 = new nms_EntityAILookIdle; var$7.$idleEntity = $this; var$7.$mutexBits = 3; var$8 = $par1World.$taskEntries; var$9 = new nms_EntityAITaskEntry; var$9.$tasks = $par1World; var$9.$priority = 7; var$9.$action = var$7; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$10 = var$8.$array.data; var$11 = var$8.$size0; var$8.$size0 = var$11 + 1 | 0; var$10[var$11] = var$9; var$8.$modCount = var$8.$modCount + 1 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntityChicken__init_0 = var_0 => { let var_1 = new nms_EntityChicken(); nms_EntityChicken__init_(var_1, var_0); return var_1; }, nms_EntityChicken_isAIEnabled = $this => { return 1; }, nms_EntityChicken_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (4.0 !== var$3.$baseValue) { var$3.$baseValue = 4.0; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break b; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.25 !== var$1.$baseValue) { var$1.$baseValue = 0.25; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityChicken_onLivingUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityAnimal_onLivingUpdate($this); if ($rt_suspending()) { break main; } var$1 = $this.$field_70886_e; $this.$field_70888_h = var$1; var$2 = $this.$destPos; $this.$field_70884_g = var$2; var$3 = var$2; var$4 = $this.$onGround; var$2 = var$3 + (!var$4 ? 4 : (-1)) * 0.3; $this.$destPos = var$2; if (var$2 < 0.0) $this.$destPos = 0.0; if ($this.$destPos > 1.0) $this.$destPos = 1.0; if (!var$4 && $this.$field_70889_i < 1.0) $this.$field_70889_i = 1.0; var$2 = $this.$field_70889_i * 0.9; $this.$field_70889_i = var$2; if (!var$4) { var$5 = $this.$motionY; if (var$5 < 0.0) $this.$motionY = var$5 * 0.6; } $this.$field_70886_e = var$1 + var$2 * 2.0; var$6 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[140]; if (var$7 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$4 = var$7.$value0; var$8 = var$6.$elementData.data; var$6 = var$8[var$4 & (var$8.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$4) { var$9 = var$6.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$6 = var$6 === null ? null : var$6.$value1; if (!(var$6.$watchedObject.$value0 >= 0 ? 0 : 1)) { var$6 = $this.$worldObj; if (!var$6.$isRemote) { var$4 = $this.$timeUntilNextEgg - 1 | 0; $this.$timeUntilNextEgg = var$4; if (var$4 <= 0) { var$9 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$2 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7; var$11 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$11; nms_World_playSoundAtEntity(var$6, $this, $rt_s(1901), 1.0, (var$2 - Long_lo(Long_shru(var$11, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0); nms_Item_$callClinit(); var$4 = nms_Item_egg.$itemID0; var$6 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$6.$itemID = var$4; var$6.$stackSize = 1; var$6.$itemDamage = 0; var$7 = new nms_EntityItem; var$9 = $this.$worldObj; var$5 = $this.$posX; var$3 = $this.$posY + 0.0; var$12 = $this.$posZ; $ptr = 2; continue main; } } } return; case 2: nms_EntityItem__init_(var$7, var$9, var$5, var$3, var$12); if ($rt_suspending()) { break main; } var$13 = var$7.$dataWatcher; var$9 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = ju_HashMap_entryByKey(var$9, jl_Integer_integerCache.data[138]); var$14 = var$9 === null ? null : var$9.$value1; if (!(var$6 !== var$14.$watchedObject ? 0 : 1)) { var$14.$watchedObject = var$6; var$14.$watched = 1; var$13.$objectChanged = 1; } var$14 = var$7.$dataWatcher; var$6 = var$14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = ju_HashMap_entryByKey(var$6, jl_Integer_integerCache.data[138]); (var$6 === null ? null : var$6.$value1).$watched = 1; var$14.$objectChanged = 1; var$7.$delayBeforeCanPickup = 10; var$6 = $this.$worldObj; var$4 = nms_World_spawnEntityInWorld(var$6, var$7); var$9 = var$6.$entityList; ju_HashMap_putImpl(var$9.$backingMap, var$7, var$9); if (!var$4) { var$6 = var$6.$entitySpawnQueue; ju_HashMap_putImpl(var$6.$backingMap, var$7, var$6); } var$6 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$11; var$15 = Long_lo(Long_shru(var$11, 17)); while (true) { var$16 = var$15 % 6000 | 0; if (((var$15 - var$16 | 0) + 5999 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$11; var$15 = Long_lo(Long_shru(var$11, 17)); } $this.$timeUntilNextEgg = var$16 + 6000 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityChicken_fall = ($this, $par1) => { return; }, nms_EntityChicken_getLivingSound = $this => { return $rt_s(1902); }, nms_EntityChicken_getHurtSound = $this => { return $rt_s(1903); }, nms_EntityChicken_getDeathSound = $this => { return $rt_s(1903); }, nms_EntityChicken_playStepSound = ($this, $par1, $par2, $par3, $par4) => { nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1904), 0.15000000596046448, 1.0); }, nms_EntityChicken_getDropItemId = $this => { nms_Item_$callClinit(); return nms_Item_feather.$itemID0; }, nms_EntityChicken_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, var$5, $var4, $var3, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); while (true) { $var4 = var$5 % 3 | 0; if (((var$5 - $var4 | 0) + 2 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } $par1 = 1 + $par2 | 0; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var3 = Long_lo(Long_shru(var$4, 17)); $par2 = $par1 - 1 | 0; if (!($par1 & $par2)) var$5 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($var3)), 31)); else while (true) { var$5 = $var3 % $par1 | 0; if ((($var3 - var$5 | 0) + $par2 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var3 = Long_lo(Long_shru(var$4, 17)); } $var3 = $var4 + var$5 | 0; $var4 = 0; var$8 = 0.0; var$9 = 138; if ($var4 < $var3) { nms_Item_$callClinit(); $par1 = nms_Item_feather.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par1; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$10 = new nms_EntityItem; var$11 = $this.$worldObj; var$12 = $this.$posX; var$13 = $this.$posY + var$8; var$14 = $this.$posZ; $ptr = 1; continue main; } a: { b: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break b; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[128]; if (var$11 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var3 = var$11.$value0; var$15 = var$3.$elementData.data; var$3 = var$15[$var3 & (var$15.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var3) { var$10 = var$3.$key; if (var$11 !== var$10 && !jl_Integer_equals(var$11, var$10) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value2 & 1) ? 0 : 1) break b; } $par1 = 0; break a; } $par1 = 1; } if (!$par1) { nms_Item_$callClinit(); $par1 = nms_Item_chickenRaw.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par1; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$10 = new nms_EntityItem; var$11 = $this.$worldObj; var$12 = $this.$posX; var$8 = $this.$posY + var$8; var$13 = $this.$posZ; $ptr = 2; continue main; } nms_Item_$callClinit(); $par1 = nms_Item_chickenCooked.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par1; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$16 = new nms_EntityItem; var$10 = $this.$worldObj; var$12 = $this.$posX; var$8 = $this.$posY + var$8; var$13 = $this.$posZ; $ptr = 3; continue main; case 1: nms_EntityItem__init_(var$10, var$11, var$12, var$13, var$14); if ($rt_suspending()) { break main; } var$16 = var$10.$dataWatcher; var$11 = var$16.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = ju_HashMap_entryByKey(var$11, jl_Integer_integerCache.data[var$9]); var$17 = var$11 === null ? null : var$11.$value1; if (!(var$3 !== var$17.$watchedObject ? 0 : 1)) { var$17.$watchedObject = var$3; var$17.$watched = 1; var$16.$objectChanged = 1; } var$17 = var$10.$dataWatcher; var$3 = var$17.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$9]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$17.$objectChanged = 1; var$10.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$10); var$11 = var$3.$entityList; ju_HashMap_putImpl(var$11.$backingMap, var$10, var$11); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$10, var$3); } $var4 = $var4 + 1 | 0; if ($var4 < $var3) { nms_Item_$callClinit(); $par1 = nms_Item_feather.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par1; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$10 = new nms_EntityItem; var$11 = $this.$worldObj; var$12 = $this.$posX; var$13 = $this.$posY + var$8; var$14 = $this.$posZ; continue main; } c: { d: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break d; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[128]; if (var$11 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var3 = var$11.$value0; var$15 = var$3.$elementData.data; var$3 = var$15[$var3 & (var$15.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var3) { var$10 = var$3.$key; if (var$11 !== var$10 && !jl_Integer_equals(var$11, var$10) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value2 & 1) ? 0 : 1) break d; } $par1 = 0; break c; } $par1 = 1; } if (!$par1) { nms_Item_$callClinit(); $par1 = nms_Item_chickenRaw.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par1; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$10 = new nms_EntityItem; var$11 = $this.$worldObj; var$12 = $this.$posX; var$8 = $this.$posY + var$8; var$13 = $this.$posZ; $ptr = 2; continue main; } nms_Item_$callClinit(); $par1 = nms_Item_chickenCooked.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par1; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$16 = new nms_EntityItem; var$10 = $this.$worldObj; var$12 = $this.$posX; var$8 = $this.$posY + var$8; var$13 = $this.$posZ; $ptr = 3; continue main; case 2: nms_EntityItem__init_(var$10, var$11, var$12, var$8, var$13); if ($rt_suspending()) { break main; } var$16 = var$10.$dataWatcher; var$11 = var$16.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = ju_HashMap_entryByKey(var$11, jl_Integer_integerCache.data[var$9]); var$17 = var$11 === null ? null : var$11.$value1; if (!(var$3 !== var$17.$watchedObject ? 0 : 1)) { var$17.$watchedObject = var$3; var$17.$watched = 1; var$16.$objectChanged = 1; } var$11 = var$10.$dataWatcher; var$3 = var$11.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$9]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$11.$objectChanged = 1; var$10.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$10); var$11 = var$3.$entityList; ju_HashMap_putImpl(var$11.$backingMap, var$10, var$11); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$10, var$3); } return; case 3: nms_EntityItem__init_(var$16, var$10, var$12, var$8, var$13); if ($rt_suspending()) { break main; } var$17 = var$16.$dataWatcher; var$10 = var$17.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = ju_HashMap_entryByKey(var$10, jl_Integer_integerCache.data[var$9]); var$11 = var$10 === null ? null : var$10.$value1; if (!(var$3 !== var$11.$watchedObject ? 0 : 1)) { var$11.$watchedObject = var$3; var$11.$watched = 1; var$17.$objectChanged = 1; } var$10 = var$16.$dataWatcher; var$3 = var$10.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$9]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$10.$objectChanged = 1; var$16.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$16); var$10 = var$3.$entityList; ju_HashMap_putImpl(var$10.$backingMap, var$16, var$10); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$16, var$3); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, $var4, $var3, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_EntityChicken_isBreedingItem = ($this, $par1ItemStack) => { let var$2; a: { if ($par1ItemStack !== null) { nms_Item_$callClinit(); if (nms_Item_itemsList.data[$par1ItemStack.$itemID] instanceof nms_ItemSeeds) { var$2 = 1; break a; } } var$2 = 0; } return var$2; }, nms_EntityChicken_createChild = ($this, $par1EntityAgeable) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1EntityAgeable = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityAgeable = new nms_EntityChicken; var$2 = $this.$worldObj; $ptr = 1; case 1: nms_EntityChicken__init_($par1EntityAgeable, var$2); if ($rt_suspending()) { break main; } return $par1EntityAgeable; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityAgeable, var$2, $ptr); }, nms_RenderChicken = $rt_classWithoutFields(nms_RenderLiving), nms_RenderChicken_chickenTextures = null, nms_RenderChicken_$callClinit = () => { nms_RenderChicken_$callClinit = $rt_eraseClinit(nms_RenderChicken); nms_RenderChicken__clinit_(); }, nms_RenderChicken_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderChicken_$callClinit(); $par1EntityLiving = nms_RenderChicken_chickenTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderChicken_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderChicken_handleRotationFloat = ($this, $par1EntityLivingBase, $par2) => { let var$3, var$4; $par1EntityLivingBase = $par1EntityLivingBase; var$3 = $par1EntityLivingBase.$field_70888_h; var$3 = var$3 + ($par1EntityLivingBase.$field_70886_e - var$3) * $par2; var$4 = $par1EntityLivingBase.$field_70884_g; $par2 = var$4 + ($par1EntityLivingBase.$destPos - var$4) * $par2; return (nms_MathHelper_SIN_TABLE.data[(var$3 * 10430.3779296875 | 0) & 65535] + 1.0) * $par2; }, nms_RenderChicken_getEntityTexture = ($this, $par1Entity) => { nms_RenderChicken_$callClinit(); return nms_RenderChicken_chickenTextures; }, nms_RenderChicken_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderChicken__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1905); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderChicken_chickenTextures = var$1; }; function nms_ModelChicken() { let a = this; nms_ModelBase.call(a); a.$head4 = null; a.$body2 = null; a.$rightLeg = null; a.$leftLeg = null; a.$rightWing = null; a.$leftWing = null; a.$bill = null; a.$chin = null; } let nms_ModelChicken__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; $this.$head4 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 0, (-2.0), (-6.0), (-2.0), 4, 6, 3, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$head4; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = (-4.0); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 14; var$1.$textureOffsetY = 0; $this.$bill = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 14, 0, (-2.0), (-4.0), (-4.0), 4, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$bill; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = (-4.0); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 14; var$1.$textureOffsetY = 4; $this.$chin = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 14, 4, (-1.0), (-2.0), (-3.0), 2, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$chin; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = (-4.0); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 9; $this.$body2 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 9, (-3.0), (-4.0), (-3.0), 6, 8, 6, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$body2; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 26; var$1.$textureOffsetY = 0; $this.$rightLeg = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 26, 0, (-1.0), 0.0, (-3.0), 3, 5, 3, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$rightLeg; var$1.$rotationPointX = (-2.0); var$1.$rotationPointY = 19.0; var$1.$rotationPointZ = 1.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 26; var$1.$textureOffsetY = 0; $this.$leftLeg = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 26, 0, (-1.0), 0.0, (-3.0), 3, 5, 3, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$leftLeg; var$1.$rotationPointX = 1.0; var$1.$rotationPointY = 19.0; var$1.$rotationPointZ = 1.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 24; var$1.$textureOffsetY = 13; $this.$rightWing = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 24, 13, 0.0, 0.0, (-3.0), 1, 4, 6, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$rightWing; var$1.$rotationPointX = (-4.0); var$1.$rotationPointY = 13.0; var$1.$rotationPointZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 24; var$1.$textureOffsetY = 13; $this.$leftWing = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 24, 13, (-1.0), 0.0, (-3.0), 1, 4, 6, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$leftWing; var$1.$rotationPointX = 4.0; var$1.$rotationPointY = 13.0; var$1.$rotationPointZ = 0.0; }, nms_ModelChicken__init_0 = () => { let var_0 = new nms_ModelChicken(); nms_ModelChicken__init_(var_0); return var_0; }, nms_ModelChicken_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8; nms_ModelChicken_setRotationAngles($this, $par2, $par3, $par4, $par5, $par6, $par7, $par1Entity); if (!$this.$isChild0) { nms_ModelRenderer_render($this.$head4, $par7); nms_ModelRenderer_render($this.$bill, $par7); nms_ModelRenderer_render($this.$chin, $par7); nms_ModelRenderer_render($this.$body2, $par7); nms_ModelRenderer_render($this.$rightLeg, $par7); nms_ModelRenderer_render($this.$leftLeg, $par7); nms_ModelRenderer_render($this.$rightWing, $par7); nms_ModelRenderer_render($this.$leftWing, $par7); } else { nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = 5.0 * $par7; $par4 = 2.0 * $par7; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par3; $par1Entity.$z = $par4; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$head4, $par7); nms_ModelRenderer_render($this.$bill, $par7); nms_ModelRenderer_render($this.$chin, $par7); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.5; $par1Entity.$y = 0.5; $par1Entity.$z = 0.5; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par3 = 24.0 * $par7; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par3; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$body2, $par7); nms_ModelRenderer_render($this.$rightLeg, $par7); nms_ModelRenderer_render($this.$leftLeg, $par7); nms_ModelRenderer_render($this.$rightWing, $par7); nms_ModelRenderer_render($this.$leftWing, $par7); nleg_EaglerAdapterGL30_glPopMatrix(); } }, nms_ModelChicken_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, var$9; $par7Entity = $this.$head4; $par5 = $par5 / 57.2957763671875; $par7Entity.$rotateAngleX = $par5; $par4 = $par4 / 57.2957763671875; $par7Entity.$rotateAngleY = $par4; var$8 = $this.$bill; var$8.$rotateAngleX = $par5; var$8.$rotateAngleY = $par4; var$8 = $this.$chin; var$8.$rotateAngleX = $par7Entity.$rotateAngleX; var$8.$rotateAngleY = $par7Entity.$rotateAngleY; $this.$body2.$rotateAngleX = 1.5707963705062866; $par7Entity = $this.$rightLeg; $par4 = $par1 * 0.6661999821662903; var$9 = nms_MathHelper_SIN_TABLE.data; $par7Entity.$rotateAngleX = var$9[($par4 * 10430.3779296875 + 16384.0 | 0) & 65535] * 1.399999976158142 * $par2; $this.$leftLeg.$rotateAngleX = var$9[(($par4 + 3.1415927410125732) * 10430.3779296875 + 16384.0 | 0) & 65535] * 1.399999976158142 * $par2; $this.$rightWing.$rotateAngleZ = $par3; $this.$leftWing.$rotateAngleZ = -$par3; }; function nms_EntityOcelot() { nms_EntityTameable.call(this); this.$aiTempt = null; } let nms_EntityOcelot__init_ = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; $this.$field_98056_d = (-1.0); $par1World = new nms_EntityAISit; $par1World.$theEntity6 = $this; $par1World.$mutexBits = 5; $this.$aiSit = $par1World; $this.$field_98056_d = 0.6000000238418579; $this.$field_98057_e = 0.800000011920929; var$2 = 0.6000000238418579; var$3 = 0.800000011920929; $ptr = 1; case 1: nms_Entity_setSize($this, var$2, var$3); if ($rt_suspending()) { break main; } var$4 = $this.$navigator; var$4.$avoidsWater = 1; $par1World = $this.$tasks0; var$5 = new nms_EntityAISwimming; var$5.$theEntity2 = $this; var$5.$mutexBits = 4; var$4.$canSwim = 1; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 1; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = $this.$aiSit; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 2; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; var$5 = $this.$tasks0; var$4 = new nms_EntityAITempt; nms_Item_$callClinit(); var$9 = nms_Item_fishRaw.$itemID0; var$4.$temptedEntity = $this; var$4.$field_75282_b = 0.6; var$4.$breedingFood = var$9; var$4.$scaredByPlayerMovement = 1; var$4.$mutexBits = 3; $this.$aiTempt = var$4; var$6 = var$5.$taskEntries; $par1World = new nms_EntityAITaskEntry; $par1World.$tasks = var$5; $par1World.$priority = 3; $par1World.$action = var$4; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = $par1World; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIAvoidEntity; var$6 = new nms_EntityAIAvoidEntitySelector; var$6.$entityAvoiderAI = var$5; var$5.$field_98218_a = var$6; var$5.$theEntity3 = $this; var$5.$targetEntityClass = $rt_cls(nms_EntityPlayer); var$5.$distanceFromEntity = 16.0; var$5.$farSpeed = 0.8; var$5.$nearSpeed = 1.33; var$5.$entityPathNavigate = $this.$navigator; var$5.$mutexBits = 1; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 4; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIFollowOwner; var$5.$thePet = $this; var$5.$theWorld4 = $this.$worldObj; var$5.$field_75336_f = 1.0; var$5.$petPathfinder = $this.$navigator; var$5.$minDist = 10.0; var$5.$maxDist = 5.0; var$5.$mutexBits = 3; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 5; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIOcelotSit; var$5.$theOcelot = $this; var$5.$field_75404_b = 1.33; var$5.$mutexBits = 5; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 6; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAILeapAtTarget; var$5.$leaper = $this; var$5.$leapMotionY = 0.30000001192092896; var$5.$mutexBits = 5; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 7; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIOcelotAttack; var$5.$theEntity8 = $this; var$5.$theWorld7 = $this.$worldObj; var$5.$mutexBits = 3; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 8; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIMate; var$5.$theAnimal = $this; var$5.$theWorld1 = $this.$worldObj; var$5.$moveSpeed = 0.8; var$5.$mutexBits = 3; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 9; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIWander; var$5.$entity = $this; var$5.$speed = 0.8; var$5.$mutexBits = 1; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 10; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$tasks0; var$5 = new nms_EntityAIWatchClosest; var$5.$theWatcher = $this; var$5.$watchedClass = $rt_cls(nms_EntityPlayer); var$5.$maxDistanceForPlayer = 10.0; var$5.$field_75331_e = 0.019999999552965164; var$5.$mutexBits = 2; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 11; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$5 = new nms_EntityAITargetNonTamed; var$6 = null; var$5.$taskOwner = $this; var$5.$shouldCheckSight = 0; var$5.$nearbyOnly = 0; var$5.$targetClass = $rt_cls(nms_EntityChicken); var$5.$targetChance = 750; var$4 = new nms_EntityAINearestAttackableTargetSorter; var$4.$theEntity5 = $this; var$5.$theNearestAttackableTargetSorter = var$4; var$5.$mutexBits = 1; var$4 = new nms_EntityAINearestAttackableTargetSelector; var$4.$field_111102_d = var$5; var$4.$field_111103_c = var$6; var$5.$targetEntitySelector = var$4; var$5.$theTameable = $this; var$6 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 1; var$4.$action = var$5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_EntityOcelot__init_0 = var_0 => { let var_1 = new nms_EntityOcelot(); nms_EntityOcelot__init_(var_1, var_0); return var_1; }, nms_EntityOcelot_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); var$2 = $this.$dataWatcher; var$1 = new jl_Integer; var$1.$value0 = 0; nms_DataWatcher_addObject(var$2, 12, var$1); nms_DataWatcher_addObject($this.$dataWatcher, 16, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 17, $rt_s(18)); nms_DataWatcher_addObject($this.$dataWatcher, 18, jl_Byte_byteCache.data[128]); }, nms_EntityOcelot_updateAITick = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $var1; var$1 = $this.$moveHelper; if (!var$1.$update2) { nms_Entity_setFlag($this, 1, 0); nms_Entity_setFlag($this, 3, 0); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$5 && ju_HashMap_areEqualKeys(var$1, var$2.$key))) { var$2 = var$2.$next3; } } var$7 = var$2 === null ? null : var$2.$value1; nms_EntityLivingBase_$callClinit(); var$1 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$2 = var$7.$field_111135_e; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$8 = var$1.$msb; var$9 = var$1.$lsb; var$10 = Long_xor(var$8, var$9); var$5 = Long_hi(var$10) ^ Long_lo(var$10); var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { b: { var$3 = var$2.$key; if (var$1 !== var$3) { c: { if (var$3 instanceof nle_ProfileUUID) { var$3 = var$3; if (Long_eq(var$3.$lsb, var$9) && Long_eq(var$3.$msb, var$8)) { var$4 = 1; break c; } } var$4 = 0; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (var$1 !== null) nms_ModifiableAttributeInstance_removeModifier(var$7, nms_EntityLivingBase_sprintingSpeedBoostModifier); } else { $var1 = var$1.$speed3; if ($var1 === 0.6) { nms_Entity_setFlag($this, 1, 1); nms_Entity_setFlag($this, 3, 0); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { d: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break d; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$5 && ju_HashMap_areEqualKeys(var$1, var$2.$key))) { var$2 = var$2.$next3; } } var$7 = var$2 === null ? null : var$2.$value1; nms_EntityLivingBase_$callClinit(); var$1 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$2 = var$7.$field_111135_e; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$8 = var$1.$msb; var$9 = var$1.$lsb; var$10 = Long_xor(var$8, var$9); var$5 = Long_hi(var$10) ^ Long_lo(var$10); var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { e: { var$3 = var$2.$key; if (var$1 !== var$3) { f: { if (var$3 instanceof nle_ProfileUUID) { var$3 = var$3; if (Long_eq(var$3.$lsb, var$9) && Long_eq(var$3.$msb, var$8)) { var$4 = 1; break f; } } var$4 = 0; } if (!var$4) { var$4 = 0; break e; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (var$1 !== null) nms_ModifiableAttributeInstance_removeModifier(var$7, nms_EntityLivingBase_sprintingSpeedBoostModifier); } else if ($var1 !== 1.33) { nms_Entity_setFlag($this, 1, 0); nms_Entity_setFlag($this, 3, 0); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { g: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break g; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$5 && ju_HashMap_areEqualKeys(var$1, var$2.$key))) { var$2 = var$2.$next3; } } var$7 = var$2 === null ? null : var$2.$value1; nms_EntityLivingBase_$callClinit(); var$1 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$2 = var$7.$field_111135_e; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$8 = var$1.$msb; var$9 = var$1.$lsb; var$10 = Long_xor(var$8, var$9); var$5 = Long_hi(var$10) ^ Long_lo(var$10); var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { h: { var$3 = var$2.$key; if (var$1 !== var$3) { i: { if (var$3 instanceof nle_ProfileUUID) { var$3 = var$3; if (Long_eq(var$3.$lsb, var$9) && Long_eq(var$3.$msb, var$8)) { var$4 = 1; break i; } } var$4 = 0; } if (!var$4) { var$4 = 0; break h; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (var$1 !== null) nms_ModifiableAttributeInstance_removeModifier(var$7, nms_EntityLivingBase_sprintingSpeedBoostModifier); } else { nms_Entity_setFlag($this, 1, 0); nms_Entity_setFlag($this, 3, 1); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { j: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break j; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$5 && ju_HashMap_areEqualKeys(var$1, var$2.$key))) { var$2 = var$2.$next3; } } var$7 = var$2 === null ? null : var$2.$value1; nms_EntityLivingBase_$callClinit(); var$1 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$2 = var$7.$field_111135_e; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$8 = var$1.$msb; var$9 = var$1.$lsb; var$10 = Long_xor(var$8, var$9); var$5 = Long_hi(var$10) ^ Long_lo(var$10); var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { k: { var$3 = var$2.$key; if (var$1 !== var$3) { l: { if (var$3 instanceof nle_ProfileUUID) { var$3 = var$3; if (Long_eq(var$3.$lsb, var$9) && Long_eq(var$3.$msb, var$8)) { var$4 = 1; break l; } } var$4 = 0; } if (!var$4) { var$4 = 0; break k; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (var$1 !== null) nms_ModifiableAttributeInstance_removeModifier(var$7, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$7, nms_EntityLivingBase_sprintingSpeedBoostModifier); } } }, nms_EntityOcelot_canDespawn = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; var$6 = !(var$1.$watchedObject.$value2 & 4) ? 0 : 1; return !var$6 && $this.$ticksExisted > 2400 ? 1 : 0; }, nms_EntityOcelot_isAIEnabled = $this => { return 1; }, nms_EntityOcelot_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (10.0 !== var$3.$baseValue) { var$3.$baseValue = 10.0; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break b; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.30000001192092896 !== var$1.$baseValue) { var$1.$baseValue = 0.30000001192092896; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityOcelot_fall = ($this, $par1) => { return; }, nms_EntityOcelot_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[140]; if (var$3 === null) var$2 = ju_HashMap_findNullKeyEntry(var$2); else { var$4 = jl_Integer_hashCode0(var$3); var$2 = ju_HashMap_findNonNullKeyEntry(var$2, var$3, var$4 & (var$2.$elementData.data.length - 1 | 0), var$4); } var$5 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; var$3 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagInt; var$2.$name = $rt_s(1867); var$2.$data0 = var$5; ju_HashMap_putImpl(var$3, $rt_s(1867), var$2); var$5 = $this.$inLove; var$3 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagInt; var$2.$name = $rt_s(1868); var$2.$data0 = var$5; ju_HashMap_putImpl(var$3, $rt_s(1868), var$2); var$6 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[145]; if (var$2 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$5 = var$2.$value0; var$7 = var$6.$elementData.data; var$6 = var$7[var$5 & (var$7.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$5) { var$3 = var$6.$key; if (var$2 !== var$3 && !jl_Integer_equals(var$2, var$3) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$6 = var$6 === null ? null : var$6.$value1; if (var$6.$watchedObject === null) { var$8 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagString; var$3.$name = $rt_s(1886); var$3.$data1 = $rt_s(18); ju_HashMap_putImpl(var$8, $rt_s(1886), var$3); } else { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[145]; if (var$3 === null) { var$8 = var$2.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$4 = var$3.$value0; var$7 = var$2.$elementData.data; var$8 = var$7[var$4 & (var$7.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$4) { var$2 = var$8.$key; if (var$3 !== var$2 && !jl_Integer_equals(var$3, var$2) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$8 = (var$8 === null ? null : var$8.$value1).$watchedObject; var$3 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagString; var$2.$name = $rt_s(1886); var$2.$data1 = var$8; if (var$8 === null) { var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; var$6.$message = $rt_s(186); $rt_throw(var$6); } ju_HashMap_putImpl(var$3, $rt_s(1886), var$2); } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$9 = var$8.$value0; var$7 = var$2.$elementData.data; var$2 = var$7[var$9 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$9) { var$3 = var$2.$key; if (var$8 !== var$3 && !jl_Integer_equals(var$8, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; var$5 = (!(!(var$2.$watchedObject.$value2 & 1) ? 0 : 1) ? 0 : 1) << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagByte; var$2.$name = $rt_s(1887); var$2.$data = var$5; ju_HashMap_putImpl(var$3, $rt_s(1887), var$2); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[146]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$5 = var$3.$value0; var$7 = var$2.$elementData.data; var$2 = var$7[var$5 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$8 = var$2.$key; if (var$3 !== var$8 && !(var$3 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$5 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; var$2 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagInt; $par1NBTTagCompound.$name = $rt_s(1906); $par1NBTTagCompound.$data0 = var$5; ju_HashMap_putImpl(var$2, $rt_s(1906), $par1NBTTagCompound); }, nms_EntityOcelot_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NBTTagCompound = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); if ($rt_suspending()) { break main; } var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1867).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1867).$nativeString.length) break a; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1867).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if ($rt_s(1867) !== var$6 && !jl_String_equals($rt_s(1867), var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$7 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1867) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { if (!$rt_s(1867).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1867).$nativeString.length) break b; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1867).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if ($rt_s(1867) !== var$6 && !jl_String_equals($rt_s(1867), var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$data0; } var$8 = $this.$dataWatcher; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$7; } var$6 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) var$6 = ju_HashMap_findNullKeyEntry(var$6); else { var$7 = jl_Integer_hashCode0(var$9); var$6 = ju_HashMap_findNonNullKeyEntry(var$6, var$9, var$7 & (var$6.$elementData.data.length - 1 | 0), var$7); } var$9 = var$6 === null ? null : var$6.$value1; var$6 = var$9.$watchedObject; if (!(var$2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$2.$value0 ? 1 : 0)) { var$9.$watchedObject = var$2; var$9.$watched = 1; var$8.$objectChanged = 1; } var$10 = !((ju_HashMap_get($this.$dataWatcher.$watchedObjects, jl_Integer_valueOf(12))).$watchedObject.$value0 >= 0 ? 0 : 1) ? 1.0 : 0.5; var$11 = $this.$field_98056_d * var$10; var$10 = $this.$field_98057_e * var$10; $ptr = 2; case 2: a: { nms_Entity_setSize($this, var$11, var$10); if ($rt_suspending()) { break main; } var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1868).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1868).$nativeString.length) break a; $rt_s(1868).$hashCode1 = (31 * $rt_s(1868).$hashCode1 | 0) + $rt_s(1868).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1868).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { c: { var$6 = var$2.$key; if ($rt_s(1868) !== var$6) { if ($rt_s(1868) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(1868).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break c; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1868) !== null) { d: { if (!$rt_s(1868).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1868).$nativeString.length) break d; $rt_s(1868).$hashCode1 = (31 * $rt_s(1868).$hashCode1 | 0) + $rt_s(1868).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1868).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { e: { var$6 = var$2.$key; if ($rt_s(1868) !== var$6) { if ($rt_s(1868) !== var$6) { if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1868).$nativeString !== var$6.$nativeString ? 0 : 1; } } else var$3 = 1; if (!var$3) { var$3 = 0; break e; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } f: { $this.$inLove = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1886).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1886).$nativeString.length) break f; $rt_s(1886).$hashCode1 = (31 * $rt_s(1886).$hashCode1 | 0) + $rt_s(1886).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1886).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { g: { var$6 = var$2.$key; if ($rt_s(1886) !== var$6) { if ($rt_s(1886) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1886).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break g; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$12 = $rt_s(18); else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1886) !== null) { h: { if (!$rt_s(1886).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1886).$nativeString.length) break h; $rt_s(1886).$hashCode1 = (31 * $rt_s(1886).$hashCode1 | 0) + $rt_s(1886).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1886).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { i: { var$6 = var$2.$key; if ($rt_s(1886) !== var$6) { if ($rt_s(1886) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(1886).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break i; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$12 = (var$2 === null ? null : var$2.$value1).$data1; } if (var$12.$nativeString.length > 0) { var$8 = $this.$dataWatcher; var$2 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[145]; if (var$9 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$9.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$9 !== var$6 && !jl_Integer_equals(var$9, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (var$12 !== var$2) { if (var$2 instanceof jl_String) { var$2 = var$2; var$3 = var$12.$nativeString !== var$2.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$6.$watchedObject = var$12; var$6.$watched = 1; var$8.$objectChanged = 1; } var$8 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$3 = jl_Integer_hashCode(var$2.$value0); var$5 = var$8.$elementData.data; var$8 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$8 !== null && !(var$8.$origKeyHash == var$3 && ju_HashMap_areEqualKeys(var$2, var$8.$key))) { var$8 = var$8.$next3; } } var$7 = (var$8 === null ? null : var$8.$value1).$watchedObject.$value2; var$8 = $this.$dataWatcher; var$3 = (var$7 | 4) << 24 >> 24; var$12 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$2 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = jl_Integer_hashCode(var$9.$value0); var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$9, var$2.$key))) { var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$12.$value2 ? 1 : 0)) { var$6.$watchedObject = var$12; var$6.$watched = 1; var$8.$objectChanged = 1; } } j: { var$9 = $this.$aiSit; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1887).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1887).$nativeString.length) break j; $rt_s(1887).$hashCode1 = (31 * $rt_s(1887).$hashCode1 | 0) + $rt_s(1887).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(1887).$hashCode1; var$5 = var$2.$elementData.data; var$12 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$7) { k: { var$2 = var$12.$key; if ($rt_s(1887) !== var$2) { if ($rt_s(1887) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(1887).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break k; } } var$3 = 1; } if (var$3) break; } var$12 = var$12.$next3; } if (var$12 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1887) === null) { var$12 = var$2.$elementData.data[0]; while (var$12 !== null && var$12.$key !== null) { var$12 = var$12.$next3; } } else { l: { if (!$rt_s(1887).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1887).$nativeString.length) break l; $rt_s(1887).$hashCode1 = (31 * $rt_s(1887).$hashCode1 | 0) + $rt_s(1887).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(1887).$hashCode1; var$5 = var$2.$elementData.data; var$12 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$7) { m: { var$2 = var$12.$key; if ($rt_s(1887) !== var$2) { if ($rt_s(1887) === var$2) var$3 = 1; else if (var$2 instanceof jl_String) { var$2 = var$2; var$3 = $rt_s(1887).$nativeString !== var$2.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break m; } } var$3 = 1; } if (var$3) break; } var$12 = var$12.$next3; } } var$3 = (var$12 === null ? null : var$12.$value1).$data; } else var$3 = 0; var$3 = !var$3 ? 0 : 1; n: { var$9.$isSitting0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1887).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1887).$nativeString.length) break n; $rt_s(1887).$hashCode1 = (31 * $rt_s(1887).$hashCode1 | 0) + $rt_s(1887).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1887).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { o: { var$6 = var$2.$key; if ($rt_s(1887) !== var$6) { if ($rt_s(1887) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1887).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break o; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1887) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { p: { if (!$rt_s(1887).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1887).$nativeString.length) break p; $rt_s(1887).$hashCode1 = (31 * $rt_s(1887).$hashCode1 | 0) + $rt_s(1887).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1887).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { q: { var$6 = var$2.$key; if ($rt_s(1887) !== var$6) { if ($rt_s(1887) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1887).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break q; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } else var$3 = 0; var$3 = !var$3 ? 0 : 1; var$8 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 !== null) { var$13 = var$6.$value0; var$5 = var$8.$elementData.data; var$8 = var$5[var$13 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$13) { var$2 = var$8.$key; if (var$6 !== var$2 && !jl_Integer_equals(var$6, var$2) ? 0 : 1) break; } var$8 = var$8.$next3; } } else { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } var$7 = (var$8 === null ? null : var$8.$value1).$watchedObject.$value2; if (!var$3) { var$8 = $this.$dataWatcher; var$3 = (var$7 & (-2)) << 24 >> 24; var$12 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$2 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$9.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$9 !== var$6 && !jl_Integer_equals(var$9, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$12.$value2 ? 1 : 0)) { var$6.$watchedObject = var$12; var$6.$watched = 1; var$8.$objectChanged = 1; } } else { var$8 = $this.$dataWatcher; var$3 = (var$7 | 1) << 24 >> 24; var$12 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$2 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$9.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$9 !== var$6 && !jl_Integer_equals(var$9, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$12.$value2 ? 1 : 0)) { var$6.$watchedObject = var$12; var$6.$watched = 1; var$8.$objectChanged = 1; } } r: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1906).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1906).$nativeString.length) break r; $rt_s(1906).$hashCode1 = (31 * $rt_s(1906).$hashCode1 | 0) + $rt_s(1906).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1906).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { s: { var$6 = var$2.$key; if ($rt_s(1906) !== var$6) { if ($rt_s(1906) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1906).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break s; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1906) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { t: { if (!$rt_s(1906).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1906).$nativeString.length) break t; $rt_s(1906).$hashCode1 = (31 * $rt_s(1906).$hashCode1 | 0) + $rt_s(1906).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1906).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$4) { u: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(1906) !== var$2) { if ($rt_s(1906) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(1906).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break u; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data0; } $par1NBTTagCompound = $this.$dataWatcher; var$3 = var$3 << 24 >> 24; var$9 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$8 = $par1NBTTagCompound.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[146]; if (var$6 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$4 = var$6.$value0; var$5 = var$8.$elementData.data; var$8 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$4) { var$2 = var$8.$key; if (var$6 !== var$2 && !(var$6 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$2 = var$8 === null ? null : var$8.$value1; var$8 = var$2.$watchedObject; if (!(var$8 instanceof jl_Byte && var$8.$value2 == var$9.$value2 ? 1 : 0)) { var$2.$watchedObject = var$9; var$2.$watched = 1; $par1NBTTagCompound.$objectChanged = 1; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NBTTagCompound, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntityOcelot_getLivingSound = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 4) ? 0 : 1)) var$1 = $rt_s(18); else if ($this.$inLove <= 0 ? 0 : 1) var$1 = $rt_s(1907); else { var$1 = $this.$rand; var$6 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$6; var$1 = Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$6, 17)))), 31)) ? $rt_s(1908) : $rt_s(1909); } return var$1; }, nms_EntityOcelot_getHurtSound = $this => { return $rt_s(1910); }, nms_EntityOcelot_getDeathSound = $this => { return $rt_s(1910); }, nms_EntityOcelot_getSoundVolume = $this => { return 0.4000000059604645; }, nms_EntityOcelot_getDropItemId = $this => { nms_Item_$callClinit(); return nms_Item_leather.$itemID0; }, nms_EntityOcelot_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; $this.$aiSit.$isSitting0 = 0; $ptr = 1; case 1: $tmp = nms_EntityAnimal_attackEntityFrom($this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, var$3, $ptr); }, nms_EntityOcelot_dropFewItems = ($this, $par1, $par2) => { return; }, nms_EntityOcelot_interact = ($this, $par1EntityPlayer) => { let var$2, var$3, $var2, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1EntityPlayer.$inventory; var$3 = var$2.$currentItem; $var2 = var$3 < 9 && var$3 >= 0 ? var$2.$mainInventory.data[var$3] : null; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 !== null) { var$6 = var$5.$value0; var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { var$8 = var$2.$key; if (var$5 !== var$8 && !(var$5 !== var$8 ? (var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) : 1) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value2 & 4) ? 0 : 1) { var$9 = $par1EntityPlayer.$username; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[145]; if (var$5 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$6 = var$5.$value0; var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { var$8 = var$2.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } if (jl_String_equalsIgnoreCase(var$9, (var$2 === null ? null : var$2.$value1).$watchedObject) && !$this.$worldObj.$isRemote) { a: { if ($var2 !== null) { var$10 = $var2.$itemID; nms_Item_$callClinit(); if (var$10 == nms_Item_fishRaw.$itemID0) { var$10 = 1; break a; } } var$10 = 0; } if (!var$10) { var$2 = $this.$aiSit; $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$6 = var$5.$value0; var$7 = $var2.$elementData.data; $var2 = var$7[var$6 & (var$7.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$6) { var$8 = $var2.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; var$2.$isSitting0 = (!($var2.$watchedObject.$value2 & 1) ? 0 : 1) ? 0 : 1; } } } else if ($this.$aiTempt.$isRunning && $var2 !== null) { var$10 = $var2.$itemID; nms_Item_$callClinit(); if (var$10 == nms_Item_fishRaw.$itemID0) { var$11 = $par1EntityPlayer.$posX - $this.$posX; var$12 = $par1EntityPlayer.$posY - $this.$posY; var$13 = $par1EntityPlayer.$posZ - $this.$posZ; if (var$11 * var$11 + var$12 * var$12 + var$13 * var$13 < 9.0) { if (!$par1EntityPlayer.$capabilities.$isCreativeMode) $var2.$stackSize = $var2.$stackSize - 1 | 0; if ($var2.$stackSize <= 0) { var$2 = $par1EntityPlayer.$inventory; var$10 = var$2.$currentItem; $var2 = null; var$7 = var$2.$mainInventory; var$3 = var$7.data.length; if (var$10 >= var$3) { var$10 = var$10 - var$3 | 0; var$7 = var$2.$armorInventory; } var$7.data[var$10] = $var2; } if ($this.$worldObj.$isRemote) return 1; var$2 = $this.$rand; var$14 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$14; var$15 = Long_lo(Long_shru(var$14, 17)); while (true) { var$16 = var$15 % 3 | 0; if (((var$15 - var$16 | 0) + 2 | 0) >= 0) break; var$14 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$14; var$15 = Long_lo(Long_shru(var$14, 17)); } if (var$16) { var$10 = 0; $ptr = 2; continue main; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$16 = var$8.$value0; var$7 = var$2.$elementData.data; var$2 = var$7[var$16 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$16) { $var2 = var$2.$key; if (var$8 !== $var2 && !(var$8 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$16 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$15 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; var$2 = $this.$dataWatcher; var$10 = (var$15 | 4) << 24 >> 24; var$9 = jl_Byte_byteCache.data[var$10 + 128 | 0]; $var2 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$16 = var$5.$value0; var$7 = $var2.$elementData.data; $var2 = var$7[var$16 & (var$7.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$16) { var$8 = $var2.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$16 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } var$8 = $var2 === null ? null : $var2.$value1; $var2 = var$8.$watchedObject; if (!($var2 instanceof jl_Byte && $var2.$value2 == var$9.$value2 ? 1 : 0)) { var$8.$watchedObject = var$9; var$8.$watched = 1; var$2.$objectChanged = 1; } var$2 = $this.$worldObj.$rand0; var$14 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$14; var$16 = Long_lo(Long_shru(var$14, 17)); while (true) { var$17 = var$16 % 3 | 0; if (((var$16 - var$17 | 0) + 2 | 0) >= 0) break; var$14 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$14; var$16 = Long_lo(Long_shru(var$14, 17)); } var$10 = 1 + var$17 | 0; var$2 = $this.$dataWatcher; var$10 = var$10 << 24 >> 24; var$9 = jl_Byte_byteCache.data[var$10 + 128 | 0]; $var2 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[146]; if (var$5 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$6 = var$5.$value0; var$7 = $var2.$elementData.data; $var2 = var$7[var$6 & (var$7.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$6) { var$8 = $var2.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } var$8 = $var2 === null ? null : $var2.$value1; $var2 = var$8.$watchedObject; if (!($var2 instanceof jl_Byte && $var2.$value2 == var$9.$value2 ? 1 : 0)) { var$8.$watchedObject = var$9; var$8.$watched = 1; var$2.$objectChanged = 1; } var$5 = $par1EntityPlayer.$username; $par1EntityPlayer = $this.$dataWatcher; var$2 = $par1EntityPlayer.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[145]; if (var$8 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$6 = var$8.$value0; var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { $var2 = var$2.$key; if (var$8 !== $var2 && !(var$8 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var2 = var$2 === null ? null : var$2.$value1; var$2 = $var2.$watchedObject; if (var$5 === var$2) var$10 = 1; else if (!(var$2 instanceof jl_String)) var$10 = 0; else { var$2 = var$2; var$10 = var$5.$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$10) { $var2.$watchedObject = var$5; $var2.$watched = 1; $par1EntityPlayer.$objectChanged = 1; } var$10 = 1; $ptr = 3; continue main; } } } $ptr = 1; case 1: $tmp = nms_EntityAnimal_interact($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } var$10 = $tmp; return var$10; case 2: nms_EntityTameable_playTameEffect($this, var$10); if ($rt_suspending()) { break main; } return 1; case 3: nms_EntityTameable_playTameEffect($this, var$10); if ($rt_suspending()) { break main; } $this.$aiSit.$isSitting0 = 1; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, $var2, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_EntityOcelot_isBreedingItem = ($this, $par1ItemStack) => { let var$2; a: { if ($par1ItemStack !== null) { var$2 = $par1ItemStack.$itemID; nms_Item_$callClinit(); if (var$2 == nms_Item_fishRaw.$itemID0) { var$2 = 1; break a; } } var$2 = 0; } return var$2; }, nms_EntityOcelot_canMateWith = ($this, $par1EntityAnimal) => { let $var2, var$3, var$4, var$5, var$6, var$7; if ($par1EntityAnimal === $this) return 0; $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$4 = var$3.$value0; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$6 = $var2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if (!(!($var2.$watchedObject.$value2 & 4) ? 0 : 1)) return 0; if (!($par1EntityAnimal instanceof nms_EntityOcelot)) return 0; $var2 = $par1EntityAnimal; $par1EntityAnimal = $var2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { $par1EntityAnimal = $par1EntityAnimal.$elementData.data[0]; while ($par1EntityAnimal !== null && $par1EntityAnimal.$key !== null) { $par1EntityAnimal = $par1EntityAnimal.$next3; } } else { var$7 = var$6.$value0; var$5 = $par1EntityAnimal.$elementData.data; $par1EntityAnimal = var$5[var$7 & (var$5.length - 1 | 0)]; while ($par1EntityAnimal !== null) { if ($par1EntityAnimal.$origKeyHash == var$7) { var$3 = $par1EntityAnimal.$key; if (var$6 !== var$3 && !(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $par1EntityAnimal = $par1EntityAnimal.$next3; } } $par1EntityAnimal = $par1EntityAnimal === null ? null : $par1EntityAnimal.$value1; if (!(!($par1EntityAnimal.$watchedObject.$value2 & 4) ? 0 : 1)) var$4 = 0; else { var$4 = $this.$inLove <= 0 ? 0 : 1; var$4 = var$4 && ($var2.$inLove <= 0 ? 0 : 1) ? 1 : 0; } return var$4; }, nms_EntityOcelot_getCanSpawnHere = $this => { let var$1, var$2, var$3, $var1, $var2, $var4, var$7, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj; var$2 = var$1.$rand0; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; $var1 = Long_lo(Long_shru(var$3, 17)); while (true) { $var2 = $var1 % 3 | 0; if ((($var1 - $var2 | 0) + 2 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; $var1 = Long_lo(Long_shru(var$3, 17)); } if (!$var2) return 0; if (!nms_World_checkNoEntityCollision(var$1, $this.$boundingBox, null)) return 0; var$1 = $this.$worldObj; var$2 = $this.$boundingBox; $ptr = 1; case 1: $tmp = nms_World_getCollidingBoundingBoxes(var$1, $this, var$2); if ($rt_suspending()) { break main; } var$1 = $tmp; $var4 = var$1.$size0 ? 0 : 1; a: { if ($var4 && !nms_World_isAnyLiquid($this.$worldObj, $this.$boundingBox)) { var$7 = $this.$posX; $var1 = var$7 | 0; if (var$7 < $var1) $var1 = $var1 - 1 | 0; var$7 = $this.$boundingBox.$minY; $var2 = var$7 | 0; if (var$7 < $var2) $var2 = $var2 - 1 | 0; var$7 = $this.$posZ; $var3 = var$7 | 0; if (var$7 < $var3) $var3 = $var3 - 1 | 0; if ($var2 < 63) return 0; $var4 = nms_World_getBlockId($this.$worldObj, $var1, $var2 - 1 | 0, $var3); nms_Block_$callClinit(); if ($var4 == nms_Block_grass.$blockID) break a; if ($var4 == nms_Block_leaves.$blockID) break a; } return 0; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $var1, $var2, $var4, var$7, $var3, $ptr); }, nms_EntityOcelot_getEntityName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[138]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (var$1.$watchedObject.$nativeString.length <= 0 ? 0 : 1) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[138]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$6 = var$5.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$6) { var$2 = var$1.$key; if (var$5 !== var$2 && !(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = (var$1 === null ? null : var$1.$value1).$watchedObject; } else { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value2 & 4) ? 0 : 1) var$1 = $rt_s(1911); else { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[138]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (var$1.$watchedObject.$nativeString.length <= 0 ? 0 : 1) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[138]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$6 = var$5.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$6) { var$2 = var$1.$key; if (var$5 !== var$2 && !jl_Integer_equals(var$5, var$2) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = (var$1 === null ? null : var$1.$value1).$watchedObject; } else { nms_EntityList_$callClinit(); var$1 = nms_EntityList_classToStringMapping; var$2 = $this.constructor; if (var$2 === null) var$5 = null; else { var$5 = var$2.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = var$2; var$2.classObject = var$5; } } if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$2 = var$5; if (!var$2.$id$) var$2.$id$ = $rt_nextId(); var$6 = var$5.$id$; var$4 = var$1.$elementData.data; var$1 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$6) { var$2 = var$1.$key; if (var$5 !== var$2 && !(var$5 !== var$2 ? 0 : 1) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (var$1 === null) var$1 = $rt_s(400); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(1257)); jl_StringBuilder_insert(var$5, var$5.$length0, var$1); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(1258)); var$1 = new jl_String; var$4 = var$5.$buffer; var$7 = var$4.data; var$8 = var$5.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$8); nms_StatCollector_$callClinit(); var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$1); } else { var$1 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$1); $rt_throw(var$1); } } } } return var$1; }, nms_EntityOcelot_onSpawnWithEgg = ($this, $par1EntityLivingData) => { let $var3, var$3, var$4, $var2, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var2 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$par1EntityLivingData = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = nms_SharedMonsterAttributes_followRange; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if ($var3 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$4 = $var3.$field_111115_a; if (!var$4.$hashCode1) { $var2 = 0; while (true) { if ($var2 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$6 && ju_HashMap_areEqualKeys($var3, var$3.$key))) { var$3 = var$3.$next3; } } var$8 = var$3 === null ? null : var$3.$value1; var$3 = new nms_AttributeModifier; var$9 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05; var$4 = nle_ProfileUUID_randomUUID(); var$3.$isSaved = 1; var$3.$id2 = var$4; var$3.$name3 = $rt_s(1855); var$3.$amount = var$9; var$3.$operation = 1; if ($rt_s(1855) === $rt_s(18)) $var2 = 1; else if (!($rt_s(18) instanceof jl_String)) $var2 = 0; else { var$4 = $rt_s(18); $var2 = $rt_s(1855).$nativeString !== var$4.$nativeString ? 0 : 1; } if ($var2) { $var3 = new jl_IllegalArgumentException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $var3.$message = $rt_s(1292); $rt_throw($var3); } nms_ModifiableAttributeInstance_applyModifier(var$8, var$3); $var3 = $this.$worldObj.$rand0; var$10 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$10; $var2 = Long_lo(Long_shru(var$10, 17)); while (true) { var$11 = $var2 % 7 | 0; if ((($var2 - var$11 | 0) + 6 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$10; $var2 = Long_lo(Long_shru(var$10, 17)); } if (!var$11) { $var2 = 0; var$11 = 140; if ($var2 < 2) { $var3 = new nms_EntityOcelot; var$3 = $this.$worldObj; $ptr = 1; continue main; } } return $par1EntityLivingData; case 1: nms_EntityOcelot__init_($var3, var$3); if ($rt_suspending()) { break main; } var$9 = $this.$posX; var$12 = $this.$posY; var$13 = $this.$posZ; var$14 = $this.$rotationYaw; $var3.$posX = var$9; $var3.$prevPosX = var$9; $var3.$lastTickPosX = var$9; var$12 = var$12 + $var3.$yOffset; $var3.$posY = var$12; $var3.$prevPosY = var$12; $var3.$lastTickPosY = var$12; $var3.$posZ = var$13; $var3.$prevPosZ = var$13; $var3.$lastTickPosZ = var$13; $var3.$rotationYaw = var$14; $var3.$rotationPitch = 0.0; nms_Entity_setPosition($var3, var$9, var$12, var$13); var$3 = $var3.$dataWatcher; var$15 = new jl_Integer; var$15.$value0 = (-24000); var$4 = var$3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[var$11]; if (var$16 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$17 = var$16.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$17 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$17) { var$8 = var$4.$key; if (var$16 !== var$8 && !(var$16 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$17 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = var$8.$watchedObject; if (!(var$15 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$15.$value0 ? 1 : 0)) { var$8.$watchedObject = var$15; var$8.$watched = 1; var$3.$objectChanged = 1; } var$3 = $var3.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[var$11]; if (var$8 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$17 = jl_Integer_hashCode(var$8.$value0); var$7 = var$3.$elementData.data; var$3 = var$7[var$17 & (var$7.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$17 && ju_HashMap_areEqualKeys(var$8, var$3.$key))) { var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; var$18 = !(var$3.$watchedObject.$value0 >= 0 ? 0 : 1) ? 1.0 : 0.5; var$14 = $var3.$field_98056_d * var$18; var$18 = $var3.$field_98057_e * var$18; $ptr = 2; case 2: nms_Entity_setSize($var3, var$14, var$18); if ($rt_suspending()) { break main; } var$3 = $this.$worldObj; var$19 = nms_World_spawnEntityInWorld(var$3, $var3); var$4 = var$3.$entityList; ju_HashMap_putImpl(var$4.$backingMap, $var3, var$4); if (!var$19) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, $var3, var$3); } $var2 = $var2 + 1 | 0; if ($var2 >= 2) return $par1EntityLivingData; $var3 = new nms_EntityOcelot; var$3 = $this.$worldObj; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingData, $var3, var$3, var$4, $var2, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_EntityOcelot_createChild = ($this, $par1EntityAgeable) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityAgeable = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityAgeable = new nms_EntityOcelot; var$2 = $this.$worldObj; $ptr = 1; case 1: nms_EntityOcelot__init_($par1EntityAgeable, var$2); if ($rt_suspending()) { break main; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value2 & 4) ? 0 : 1) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[145]; if (var$3 !== null) { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject; var$2 = $par1EntityAgeable.$dataWatcher; var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[145]; if (var$8 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$9 = var$8.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$9 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { var$6 = var$3.$key; if (var$8 !== var$6 && !jl_Integer_equals(var$8, var$6) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$6 = var$3 === null ? null : var$3.$value1; var$3 = var$6.$watchedObject; if (var$7 === var$3) var$4 = 1; else if (!(var$3 instanceof jl_String)) var$4 = 0; else { var$3 = var$3; var$4 = var$7.$nativeString !== var$3.$nativeString ? 0 : 1; } if (!var$4) { var$6.$watchedObject = var$7; var$6.$watched = 1; var$2.$objectChanged = 1; } var$2 = $par1EntityAgeable.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$10 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; var$2 = $par1EntityAgeable.$dataWatcher; var$4 = (var$10 | 4) << 24 >> 24; var$8 = jl_Byte_byteCache.data[var$4 + 128 | 0]; var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$9 = var$6.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$9 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { var$7 = var$3.$key; if (var$6 !== var$7 && !jl_Integer_equals(var$6, var$7) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$6 = var$3 === null ? null : var$3.$value1; var$3 = var$6.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$8.$value2 ? 1 : 0)) { var$6.$watchedObject = var$8; var$6.$watched = 1; var$2.$objectChanged = 1; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[146]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$4 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; var$2 = $par1EntityAgeable.$dataWatcher; var$4 = var$4 << 24 >> 24; var$7 = jl_Byte_byteCache.data[var$4 + 128 | 0]; var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[146]; if (var$8 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$9 = var$8.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$9 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { var$6 = var$3.$key; if (var$8 !== var$6 && !jl_Integer_equals(var$8, var$6) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$6 = var$3 === null ? null : var$3.$value1; var$3 = var$6.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$7.$value2 ? 1 : 0)) { var$6.$watchedObject = var$7; var$6.$watched = 1; var$2.$objectChanged = 1; } } return $par1EntityAgeable; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityAgeable, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_RenderOcelot = $rt_classWithoutFields(nms_RenderLiving), nms_RenderOcelot_blackOcelotTextures = null, nms_RenderOcelot_ocelotTextures = null, nms_RenderOcelot_redOcelotTextures = null, nms_RenderOcelot_siameseOcelotTextures = null, nms_RenderOcelot_$callClinit = () => { nms_RenderOcelot_$callClinit = $rt_eraseClinit(nms_RenderOcelot); nms_RenderOcelot__clinit_(); }, nms_RenderOcelot_bindTexture = ($this, $par1EntityLiving) => { let var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[146]; if (var$2 === null) { $par1EntityLiving = $par1EntityLiving.$elementData.data[0]; while ($par1EntityLiving !== null && $par1EntityLiving.$key !== null) { $par1EntityLiving = $par1EntityLiving.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1EntityLiving.$elementData.data; $par1EntityLiving = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1EntityLiving !== null) { if ($par1EntityLiving.$origKeyHash == var$3) { var$5 = $par1EntityLiving.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $par1EntityLiving = $par1EntityLiving.$next3; } } switch (($par1EntityLiving === null ? null : $par1EntityLiving.$value1).$watchedObject.$value2) { case 0: break; case 1: nms_RenderOcelot_$callClinit(); $par1EntityLiving = nms_RenderOcelot_blackOcelotTextures; $ptr = 2; continue main; case 2: nms_RenderOcelot_$callClinit(); $par1EntityLiving = nms_RenderOcelot_redOcelotTextures; $ptr = 3; continue main; case 3: nms_RenderOcelot_$callClinit(); $par1EntityLiving = nms_RenderOcelot_siameseOcelotTextures; $ptr = 4; continue main; default: } nms_RenderOcelot_$callClinit(); $par1EntityLiving = nms_RenderOcelot_ocelotTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 2: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 3: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 4: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, var$2, var$3, var$4, var$5, $ptr); }, nms_RenderOcelot_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderOcelot_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { let var$3, var$4, var$5, var$6; $par1EntityLivingBase = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$4 = var$3.$value0; var$5 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$4) { var$6 = $par1EntityLivingBase.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; if (!($par1EntityLivingBase.$watchedObject.$value2 & 4) ? 0 : 1) { nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.800000011920929; $par1EntityLivingBase.$y = 0.800000011920929; $par1EntityLivingBase.$z = 0.800000011920929; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; jl_Object__init_(var$3); var$3.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$3); $par1EntityLivingBase.$sb = var$3; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } }, nms_RenderOcelot_getEntityTexture = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5; $par1Entity = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[146]; if (var$2 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1Entity.$elementData.data; $par1Entity = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$3) { var$5 = $par1Entity.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; a: { switch ($par1Entity.$watchedObject.$value2) { case 0: break; case 1: nms_RenderOcelot_$callClinit(); $par1Entity = nms_RenderOcelot_blackOcelotTextures; break a; case 2: nms_RenderOcelot_$callClinit(); $par1Entity = nms_RenderOcelot_redOcelotTextures; break a; case 3: nms_RenderOcelot_$callClinit(); $par1Entity = nms_RenderOcelot_siameseOcelotTextures; break a; default: } nms_RenderOcelot_$callClinit(); $par1Entity = nms_RenderOcelot_ocelotTextures; } return $par1Entity; }, nms_RenderOcelot_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderOcelot__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1912); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderOcelot_blackOcelotTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1913); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderOcelot_ocelotTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1914); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderOcelot_redOcelotTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1915); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderOcelot_siameseOcelotTextures = var$1; }; function nms_ModelOcelot() { let a = this; nms_ModelBase.call(a); a.$ocelotBackLeftLeg = null; a.$ocelotBackRightLeg = null; a.$ocelotFrontLeftLeg = null; a.$ocelotFrontRightLeg = null; a.$ocelotTail = null; a.$ocelotTail2 = null; a.$ocelotHead = null; a.$ocelotBody = null; a.$field_78163_i = 0; } let nms_ModelOcelot__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$2 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$4.data; var$2.$elementData = var$4; var$2.$loadFactor = 0.75; var$2.$threshold = var$5.length * 0.75 | 0; $this.$modelTextureMap = var$2; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; $this.$field_78163_i = 1; var$6 = new nms_TextureOffset; var$6.$textureOffsetX0 = 0; var$6.$textureOffsetY0 = 0; ju_HashMap_putImpl(var$2, $rt_s(1916), var$6); var$2 = $this.$modelTextureMap; var$6 = new nms_TextureOffset; var$6.$textureOffsetX0 = 0; var$6.$textureOffsetY0 = 24; ju_HashMap_putImpl(var$2, $rt_s(1917), var$6); var$2 = $this.$modelTextureMap; var$6 = new nms_TextureOffset; var$6.$textureOffsetX0 = 0; var$6.$textureOffsetY0 = 10; ju_HashMap_putImpl(var$2, $rt_s(1918), var$6); var$2 = $this.$modelTextureMap; var$6 = new nms_TextureOffset; var$6.$textureOffsetX0 = 6; var$6.$textureOffsetY0 = 10; ju_HashMap_putImpl(var$2, $rt_s(1919), var$6); var$6 = new nms_ModelRenderer; var$6.$textureWidth = 64.0; var$6.$textureHeight = 32.0; var$6.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$6.$cubeList = var$2; var$6.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$5[var$7] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$6.$boxName = $rt_s(1920); var$3 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$6.$textureWidth = var$3; var$6.$textureHeight = var$7; $this.$ocelotHead = var$6; nms_ModelRenderer_addBox(var$6, $rt_s(1014), (-2.5), (-2.0), (-3.0), 5, 4, 5); nms_ModelRenderer_addBox($this.$ocelotHead, $rt_s(1921), (-1.5), 0.0, (-4.0), 3, 2, 2); nms_ModelRenderer_addBox($this.$ocelotHead, $rt_s(1922), (-2.0), (-3.0), 0.0, 1, 1, 2); nms_ModelRenderer_addBox($this.$ocelotHead, $rt_s(1923), 1.0, (-3.0), 0.0, 1, 1, 2); var$1 = $this.$ocelotHead; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = (-9.0); var$1 = new nms_ModelRenderer; var$6 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$2; var$1.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$5[var$8] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$1.$boxName = var$6; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$1.$textureWidth = var$9; var$1.$textureHeight = var$8; var$1.$textureOffsetX = 20; var$1.$textureOffsetY = 0; $this.$ocelotBody = var$1; var$2 = var$1.$cubeList; var$6 = nms_ModelBox__init_(var$1, 20, 0, (-2.0), 3.0, (-8.0), 4, 16, 6, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$5[var$7] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = $this.$ocelotBody; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 12.0; var$1.$rotationPointZ = (-10.0); var$1 = new nms_ModelRenderer; var$6 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$2; var$1.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$5[var$8] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$1.$boxName = var$6; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$1.$textureWidth = var$9; var$1.$textureHeight = var$8; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 15; $this.$ocelotTail = var$1; var$2 = var$1.$cubeList; var$6 = nms_ModelBox__init_(var$1, 0, 15, (-0.5), 0.0, 0.0, 1, 8, 1, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$5[var$7] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = $this.$ocelotTail; var$1.$rotateAngleX = 0.8999999761581421; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = 8.0; var$1 = new nms_ModelRenderer; var$6 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$2; var$1.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$5[var$7] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$1.$boxName = var$6; var$7 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$1.$textureWidth = var$7; var$1.$textureHeight = var$9; var$1.$textureOffsetX = 4; var$1.$textureOffsetY = 15; $this.$ocelotTail2 = var$1; var$2 = var$1.$cubeList; var$6 = nms_ModelBox__init_(var$1, 4, 15, (-0.5), 0.0, 0.0, 1, 8, 1, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$5[var$7] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = $this.$ocelotTail2; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 20.0; var$1.$rotationPointZ = 14.0; var$1 = new nms_ModelRenderer; var$6 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$2; var$1.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$5[var$8] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$1.$boxName = var$6; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$1.$textureWidth = var$9; var$1.$textureHeight = var$8; var$1.$textureOffsetX = 8; var$1.$textureOffsetY = 13; $this.$ocelotBackLeftLeg = var$1; var$2 = var$1.$cubeList; var$6 = nms_ModelBox__init_(var$1, 8, 13, (-1.0), 0.0, 1.0, 2, 6, 2, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$5[var$7] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = $this.$ocelotBackLeftLeg; var$1.$rotationPointX = 1.100000023841858; var$1.$rotationPointY = 18.0; var$1.$rotationPointZ = 5.0; var$1 = new nms_ModelRenderer; var$6 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$2; var$1.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$5[var$8] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$1.$boxName = var$6; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$1.$textureWidth = var$9; var$1.$textureHeight = var$8; var$1.$textureOffsetX = 8; var$1.$textureOffsetY = 13; $this.$ocelotBackRightLeg = var$1; var$2 = var$1.$cubeList; var$6 = nms_ModelBox__init_(var$1, 8, 13, (-1.0), 0.0, 1.0, 2, 6, 2, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$5[var$7] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = $this.$ocelotBackRightLeg; var$1.$rotationPointX = (-1.100000023841858); var$1.$rotationPointY = 18.0; var$1.$rotationPointZ = 5.0; var$1 = new nms_ModelRenderer; var$6 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$2; var$1.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$5[var$8] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$1.$boxName = var$6; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$1.$textureWidth = var$9; var$1.$textureHeight = var$8; var$1.$textureOffsetX = 40; var$1.$textureOffsetY = 0; $this.$ocelotFrontLeftLeg = var$1; var$2 = var$1.$cubeList; var$6 = nms_ModelBox__init_(var$1, 40, 0, (-1.0), 0.0, 0.0, 2, 10, 2, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$5[var$7] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = $this.$ocelotFrontLeftLeg; var$1.$rotationPointX = 1.2000000476837158; var$1.$rotationPointY = 13.800000190734863; var$1.$rotationPointZ = (-5.0); var$1 = new nms_ModelRenderer; var$6 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$2; var$1.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$5[var$8] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$1.$boxName = var$6; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$1.$textureWidth = var$9; var$1.$textureHeight = var$8; var$1.$textureOffsetX = 40; var$1.$textureOffsetY = 0; $this.$ocelotFrontRightLeg = var$1; var$2 = var$1.$cubeList; var$6 = nms_ModelBox__init_(var$1, 40, 0, (-1.0), 0.0, 0.0, 2, 10, 2, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$5[var$7] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = $this.$ocelotFrontRightLeg; var$1.$rotationPointX = (-1.2000000476837158); var$1.$rotationPointY = 13.800000190734863; var$1.$rotationPointZ = (-5.0); }, nms_ModelOcelot__init_0 = () => { let var_0 = new nms_ModelOcelot(); nms_ModelOcelot__init_(var_0); return var_0; }, nms_ModelOcelot_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8; nms_ModelOcelot_setRotationAngles($this, $par2, $par3, $par4, $par5, $par6, $par7, $par1Entity); if (!$this.$isChild0) { nms_ModelRenderer_render($this.$ocelotHead, $par7); nms_ModelRenderer_render($this.$ocelotBody, $par7); nms_ModelRenderer_render($this.$ocelotTail, $par7); nms_ModelRenderer_render($this.$ocelotTail2, $par7); nms_ModelRenderer_render($this.$ocelotBackLeftLeg, $par7); nms_ModelRenderer_render($this.$ocelotBackRightLeg, $par7); nms_ModelRenderer_render($this.$ocelotFrontLeftLeg, $par7); nms_ModelRenderer_render($this.$ocelotFrontRightLeg, $par7); } else { nleg_EaglerAdapterGL30_glPushMatrix(); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.75; $par1Entity.$y = 0.75; $par1Entity.$z = 0.75; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par3 = 10.0 * $par7; $par4 = 4.0 * $par7; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par3; $par1Entity.$z = $par4; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$ocelotHead, $par7); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.5; $par1Entity.$y = 0.5; $par1Entity.$z = 0.5; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par3 = 24.0 * $par7; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par3; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$ocelotBody, $par7); nms_ModelRenderer_render($this.$ocelotBackLeftLeg, $par7); nms_ModelRenderer_render($this.$ocelotBackRightLeg, $par7); nms_ModelRenderer_render($this.$ocelotFrontLeftLeg, $par7); nms_ModelRenderer_render($this.$ocelotFrontRightLeg, $par7); nms_ModelRenderer_render($this.$ocelotTail, $par7); nms_ModelRenderer_render($this.$ocelotTail2, $par7); nleg_EaglerAdapterGL30_glPopMatrix(); } }, nms_ModelOcelot_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, var$9, var$10, var$11; $par7Entity = $this.$ocelotHead; $par7Entity.$rotateAngleX = $par5 / 57.2957763671875; $par7Entity.$rotateAngleY = $par4 / 57.2957763671875; var$8 = $this.$field_78163_i; if (var$8 != 3) { $this.$ocelotBody.$rotateAngleX = 1.5707963705062866; if (var$8 == 2) { $par7Entity = $this.$ocelotBackLeftLeg; $par5 = $par1 * 0.6661999821662903; var$9 = nms_MathHelper_SIN_TABLE.data; $par7Entity.$rotateAngleX = var$9[($par5 * 10430.3779296875 + 16384.0 | 0) & 65535] * 1.0 * $par2; $this.$ocelotBackRightLeg.$rotateAngleX = var$9[(($par5 + 0.30000001192092896) * 10430.3779296875 + 16384.0 | 0) & 65535] * 1.0 * $par2; $par7Entity = $this.$ocelotFrontLeftLeg; $par5 = $par5 + 3.1415927410125732; $par7Entity.$rotateAngleX = var$9[(($par5 + 0.30000001192092896) * 10430.3779296875 + 16384.0 | 0) & 65535] * 1.0 * $par2; $this.$ocelotFrontRightLeg.$rotateAngleX = var$9[($par5 * 10430.3779296875 + 16384.0 | 0) & 65535] * 1.0 * $par2; $this.$ocelotTail2.$rotateAngleX = 1.72787606716156 + 0.3141592741012573 * var$9[($par1 * 10430.3779296875 + 16384.0 | 0) & 65535] * $par2; } else { $par7Entity = $this.$ocelotBackLeftLeg; $par5 = $par1 * 0.6661999821662903; var$9 = nms_MathHelper_SIN_TABLE.data; var$10 = ($par5 * 10430.3779296875 + 16384.0 | 0) & 65535; $par7Entity.$rotateAngleX = var$9[var$10] * 1.0 * $par2; $par7Entity = $this.$ocelotBackRightLeg; var$11 = (($par5 + 3.1415927410125732) * 10430.3779296875 + 16384.0 | 0) & 65535; $par7Entity.$rotateAngleX = var$9[var$11] * 1.0 * $par2; $this.$ocelotFrontLeftLeg.$rotateAngleX = var$9[var$11] * 1.0 * $par2; $this.$ocelotFrontRightLeg.$rotateAngleX = var$9[var$10] * 1.0 * $par2; if (var$8 != 1) $this.$ocelotTail2.$rotateAngleX = 1.72787606716156 + 0.4712389409542084 * var$9[($par1 * 10430.3779296875 + 16384.0 | 0) & 65535] * $par2; else $this.$ocelotTail2.$rotateAngleX = 1.72787606716156 + 0.7853981852531433 * var$9[($par1 * 10430.3779296875 + 16384.0 | 0) & 65535] * $par2; } } }, nms_ModelOcelot_setLivingAnimations = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, var$9; $var5 = $par1EntityLivingBase; $par1EntityLivingBase = $this.$ocelotBody; $par1EntityLivingBase.$rotationPointY = 12.0; $par1EntityLivingBase.$rotationPointZ = (-10.0); $par1EntityLivingBase = $this.$ocelotHead; $par1EntityLivingBase.$rotationPointY = 15.0; $par1EntityLivingBase.$rotationPointZ = (-9.0); $par1EntityLivingBase = $this.$ocelotTail; $par1EntityLivingBase.$rotationPointY = 15.0; $par1EntityLivingBase.$rotationPointZ = 8.0; var$6 = $this.$ocelotTail2; var$6.$rotationPointY = 20.0; var$6.$rotationPointZ = 14.0; var$6 = $this.$ocelotFrontLeftLeg; var$7 = $this.$ocelotFrontRightLeg; var$7.$rotationPointY = 13.800000190734863; var$6.$rotationPointY = 13.800000190734863; var$7.$rotationPointZ = (-5.0); var$6.$rotationPointZ = (-5.0); var$6 = $this.$ocelotBackLeftLeg; var$7 = $this.$ocelotBackRightLeg; var$7.$rotationPointY = 18.0; var$6.$rotationPointY = 18.0; var$7.$rotationPointZ = 5.0; var$6.$rotationPointZ = 5.0; $par1EntityLivingBase.$rotateAngleX = 0.8999999761581421; $par1EntityLivingBase = $var5.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[128]; if (var$7 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$8 = var$7.$value0; var$9 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$9[var$8 & (var$9.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$8) { var$6 = $par1EntityLivingBase.$key; if (var$7 !== var$6 && !jl_Integer_equals(var$7, var$6) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; if (!($par1EntityLivingBase.$watchedObject.$value2 & 2) ? 0 : 1) { $par1EntityLivingBase = $this.$ocelotBody; $par1EntityLivingBase.$rotationPointY = $par1EntityLivingBase.$rotationPointY + 1.0; $par1EntityLivingBase = $this.$ocelotHead; $par1EntityLivingBase.$rotationPointY = $par1EntityLivingBase.$rotationPointY + 2.0; $par1EntityLivingBase = $this.$ocelotTail; $par1EntityLivingBase.$rotationPointY = $par1EntityLivingBase.$rotationPointY + 1.0; $var5 = $this.$ocelotTail2; $var5.$rotationPointY = $var5.$rotationPointY + (-4.0); $var5.$rotationPointZ = $var5.$rotationPointZ + 2.0; $par1EntityLivingBase.$rotateAngleX = 1.5707963705062866; $var5.$rotateAngleX = 1.5707963705062866; $this.$field_78163_i = 0; } else { $par1EntityLivingBase = $var5.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[128]; if (var$7 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$8 = var$7.$value0; var$9 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$9[var$8 & (var$9.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$8) { var$6 = $par1EntityLivingBase.$key; if (var$7 !== var$6 && !jl_Integer_equals(var$7, var$6) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; if (!($par1EntityLivingBase.$watchedObject.$value2 & 8) ? 0 : 1) { $par1EntityLivingBase = $this.$ocelotTail2; $var5 = $this.$ocelotTail; $par1EntityLivingBase.$rotationPointY = $var5.$rotationPointY; $par1EntityLivingBase.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ + 2.0; $var5.$rotateAngleX = 1.5707963705062866; $par1EntityLivingBase.$rotateAngleX = 1.5707963705062866; $this.$field_78163_i = 2; } else { $par1EntityLivingBase = $var5.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$8 = var$6.$value0; var$9 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$9[var$8 & (var$9.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$8) { $var5 = $par1EntityLivingBase.$key; if (var$6 !== $var5 && !(var$6 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; if (!(!($par1EntityLivingBase.$watchedObject.$value2 & 1) ? 0 : 1)) $this.$field_78163_i = 1; else { $par1EntityLivingBase = $this.$ocelotBody; $par1EntityLivingBase.$rotateAngleX = 0.7853981852531433; $par1EntityLivingBase.$rotationPointY = $par1EntityLivingBase.$rotationPointY + (-4.0); $par1EntityLivingBase.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ + 5.0; $par1EntityLivingBase = $this.$ocelotHead; $par1EntityLivingBase.$rotationPointY = $par1EntityLivingBase.$rotationPointY + (-3.299999952316284); $par1EntityLivingBase.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ + 1.0; $par1EntityLivingBase = $this.$ocelotTail; $par1EntityLivingBase.$rotationPointY = $par1EntityLivingBase.$rotationPointY + 8.0; $par1EntityLivingBase.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ + (-2.0); $var5 = $this.$ocelotTail2; $var5.$rotationPointY = $var5.$rotationPointY + 2.0; $var5.$rotationPointZ = $var5.$rotationPointZ + (-0.800000011920929); $par1EntityLivingBase.$rotateAngleX = 1.72787606716156; $var5.$rotateAngleX = 2.670353889465332; $par1EntityLivingBase = $this.$ocelotFrontLeftLeg; $var5 = $this.$ocelotFrontRightLeg; $var5.$rotateAngleX = (-0.15707963705062866); $par1EntityLivingBase.$rotateAngleX = (-0.15707963705062866); $var5.$rotationPointY = 15.800000190734863; $par1EntityLivingBase.$rotationPointY = 15.800000190734863; $var5.$rotationPointZ = (-7.0); $par1EntityLivingBase.$rotationPointZ = (-7.0); $par1EntityLivingBase = $this.$ocelotBackLeftLeg; $var5 = $this.$ocelotBackRightLeg; $var5.$rotateAngleX = (-1.5707963705062866); $par1EntityLivingBase.$rotateAngleX = (-1.5707963705062866); $var5.$rotationPointY = 21.0; $par1EntityLivingBase.$rotationPointY = 21.0; $var5.$rotationPointZ = 1.0; $par1EntityLivingBase.$rotationPointZ = 1.0; $this.$field_78163_i = 3; } } } }; function nms_EntitySilverfish() { nms_EntityMob.call(this); this.$allySummonCooldown = 0; } let nms_EntitySilverfish_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, var$1); var$2 = var$1 === null ? null : var$1.$value1; if (0.10000000149011612 !== var$2.$baseValue) { var$2.$baseValue = 0.10000000149011612; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$3 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$1, var$3); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_attackDamage); var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$2.$nativeString.length) break a; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$2 = var$3.$key; if (var$1 !== var$2 && !jl_Object_equals(var$1, var$2) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (8.0 !== var$2.$baseValue) { var$2.$baseValue = 8.0; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { b: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$2.$nativeString.length) break b; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$2 = var$3.$key; if (var$1 !== var$2 && !jl_Object_equals(var$1, var$2) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (0.6000000238418579 !== var$2.$baseValue) { var$2.$baseValue = 0.6000000238418579; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } var$1 = nms_SharedMonsterAttributes_attackDamage; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { c: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$2.$nativeString.length) break c; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$2 = var$3.$key; if (var$1 !== var$2 && !jl_Object_equals(var$1, var$2) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$1 = var$3 === null ? null : var$3.$value1; if (1.0 !== var$1.$baseValue) { var$1.$baseValue = 1.0; var$1.$field_111133_g = 1; var$3 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$1, var$3); } } }, nms_EntitySilverfish_canTriggerWalking = $this => { return 0; }, nms_EntitySilverfish_findPlayerToAttack = $this => { return nms_World_getClosestVulnerablePlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 8.0); }, nms_EntitySilverfish_getLivingSound = $this => { return $rt_s(574); }, nms_EntitySilverfish_getHurtSound = $this => { return $rt_s(1924); }, nms_EntitySilverfish_getDeathSound = $this => { return $rt_s(1925); }, nms_EntitySilverfish_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$invulnerable; if (var$3) return 0; if ($this.$allySummonCooldown <= 0 && !(!($par1DamageSource instanceof nms_EntityDamageSource) && $par1DamageSource !== nms_DamageSource_magic)) $this.$allySummonCooldown = 20; if (var$3) return 0; $ptr = 1; case 1: $tmp = nms_EntityLivingBase_attackEntityFrom($this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } var$4 = $tmp; if (!var$4) var$4 = 0; else { $par1DamageSource = $par1DamageSource.$getEntity(); if ($this.$riddenByEntity !== $par1DamageSource && $this.$ridingEntity !== $par1DamageSource) { if ($par1DamageSource !== $this) $this.$entityToAttack = $par1DamageSource; var$4 = 1; } else var$4 = 1; } return var$4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, var$3, var$4, $ptr); }, nms_EntitySilverfish_attackEntity = ($this, $par1Entity, $par2) => { let var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$attackTime <= 0 && $par2 < 1.2000000476837158) { var$3 = $par1Entity.$boundingBox; var$4 = var$3.$maxY; var$5 = $this.$boundingBox; if (var$4 > var$5.$minY && var$3.$minY < var$5.$maxY) { $this.$attackTime = 20; $ptr = 1; continue main; } } return; case 1: nms_EntityMob_attackEntityAsMob($this, $par1Entity); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, var$3, var$4, var$5, $ptr); }, nms_EntitySilverfish_playStepSound = ($this, $par1, $par2, $par3, $par4) => { nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1926), 0.15000000596046448, 1.0); }, nms_EntitySilverfish_getDropItemId = $this => { return 0; }, nms_EntitySilverfish_onUpdate = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$renderYawOffset = $this.$rotationYaw; $ptr = 1; case 1: nms_EntityLivingBase_onUpdate($this); if ($rt_suspending()) { break main; } if ($this.$worldObj.$isRemote) { var$1 = $this.$worldObj; if (!var$1.$isRemote && !var$1.$difficultySetting) $this.$isDead = 1; return; } $ptr = 2; case 2: nms_EntityCreature_func_110159_bB($this); if ($rt_suspending()) { break main; } var$1 = $this.$worldObj; if (!var$1.$isRemote && !var$1.$difficultySetting) $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_EntitySilverfish_updateEntityActionState = $this => { let $var5, var$2, $var1, $var2, $var3, $var4, var$7, var$8, var$9, var$10, $var6, $var7, $var10, $var11, var$15, var$16, $var8, var$18, $var1_0, $var9, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var9 = $thread.pop();$var1_0 = $thread.pop();var$18 = $thread.pop();$var8 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$2 = $thread.pop();$var5 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityCreature_updateEntityActionState($this); if ($rt_suspending()) { break main; } if (!$this.$worldObj.$isRemote) { a: { $var5 = $this.$allySummonCooldown; if ($var5 > 0) { $var5 = $var5 - 1 | 0; $this.$allySummonCooldown = $var5; if (!$var5) { var$2 = $this.$posX; $var1 = var$2 | 0; if (var$2 < $var1) $var1 = $var1 - 1 | 0; var$2 = $this.$posY; $var2 = var$2 | 0; if (var$2 < $var2) $var2 = $var2 - 1 | 0; var$2 = $this.$posZ; $var3 = var$2 | 0; if (var$2 < $var3) $var3 = $var3 - 1 | 0; $var4 = 0; $var5 = 0; var$7 = $rt_s(1854); var$8 = $rt_s(1854); var$9 = $rt_s(1854); var$10 = 47; while (true) { if ($var4) break a; if ($var5 > 5) break a; if ($var5 < (-5)) break a; $var6 = 0; while (!$var4 && $var6 <= 10 && $var6 >= (-10)) { $var7 = 0; b: { while (!$var4) { if ($var7 > 10) break b; if ($var7 < (-10)) break b; $var10 = $this.$worldObj; $var11 = $var1 + $var6 | 0; var$15 = $var2 + $var5 | 0; var$16 = $var3 + $var7 | 0; $var8 = nms_World_getBlockId($var10, $var11, var$15, var$16); nms_Block_$callClinit(); if ($var8 == nms_Block_silverfish.$blockID) { c: { $var10 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; if (var$7 !== var$8) { $var8 = var$7.$nativeString.length; var$18 = var$8.$nativeString.length; if ($var8 < var$18) var$18 = $var8; $var1_0 = 0; d: { while (true) { if ($var1_0 >= var$18) { var$7.$nativeString.length; var$8.$nativeString.length; break c; } if ($var1_0 < 0) break d; if ($var1_0 >= var$7.$nativeString.length) break d; $var9 = var$7.$nativeString.charCodeAt($var1_0); if ($var1_0 < 0) break; if ($var1_0 >= var$8.$nativeString.length) break; if ($var9 - var$8.$nativeString.charCodeAt($var1_0) | 0) break c; $var1_0 = $var1_0 + 1 | 0; } var$8 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$8); $rt_throw(var$8); } var$8 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$8); $rt_throw(var$8); } } e: { f: { g: while (true) { if ($var10 === null) { $var10 = null; break e; } h: { var$21 = $var10.$key0; if (var$9 === var$21) $var1_0 = 0; else { $var9 = var$9.$nativeString.length; $var8 = var$21.$nativeString.length; if ($var9 < $var8) $var8 = $var9; $var9 = 0; while (true) { if ($var9 >= $var8) { $var1_0 = var$9.$nativeString.length - var$21.$nativeString.length | 0; break h; } if ($var9 < 0) break f; if ($var9 >= var$9.$nativeString.length) break f; var$18 = var$9.$nativeString.charCodeAt($var9); if ($var9 < 0) break g; if ($var9 >= var$21.$nativeString.length) break g; $var1_0 = var$18 - var$21.$nativeString.charCodeAt($var9) | 0; if ($var1_0) break; $var9 = $var9 + 1 | 0; } } } if (!$var1_0) break e; $var10 = $var1_0 >= 0 ? $var10.$right : $var10.$left; } var$8 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$8); $rt_throw(var$8); } var$8 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$8); $rt_throw(var$8); } $var10 = $var10 === null ? null : $var10.$value4; if ($var10 === null ? 0 : $var10.$valueBoolean) { $var10 = $this.$worldObj; $var1_0 = 0; $ptr = 4; continue main; } $var9 = nms_World_getBlockMetadata($this.$worldObj, $var11, var$15, var$16); $var10 = nms_Block_stone; if ($var9 == 1) $var10 = nms_Block_cobblestone; if ($var9 == 2) $var10 = nms_Block_stoneBrick; var$21 = $this.$worldObj; $var1_0 = $var10.$blockID; $var8 = 0; $var9 = 3; $ptr = 6; continue main; } $var7 = $var7 > 0 ? 0 - $var7 | 0 : 1 - $var7 | 0; } } $var6 = $var6 > 0 ? 0 - $var6 | 0 : 1 - $var6 | 0; } $var5 = $var5 > 0 ? 0 - $var5 | 0 : 1 - $var5 | 0; } } } } var$8 = $this.$entityToAttack; if (var$8 === null && !($this.$pathToEntity === null ? 0 : 1)) { var$2 = $this.$posX; $var1_0 = var$2 | 0; if (var$2 < $var1_0) $var1_0 = $var1_0 - 1 | 0; var$2 = $this.$posY + 0.5; $var2 = var$2 | 0; if (var$2 < $var2) $var2 = $var2 - 1 | 0; var$2 = $this.$posZ; $var3 = var$2 | 0; if (var$2 < $var3) $var3 = $var3 - 1 | 0; var$8 = $this.$rand; var$22 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$22; $var4 = Long_lo(Long_shru(var$22, 17)); while (true) { $var11 = $var4 % 6 | 0; if ((($var4 - $var11 | 0) + 5 | 0) >= 0) break; var$22 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$22; $var4 = Long_lo(Long_shru(var$22, 17)); } $var5 = nms_World_getBlockId($this.$worldObj, $var1_0 + nms_Facing_offsetsXForSide.data[$var11] | 0, $var2 + nms_Facing_offsetsYForSide.data[$var11] | 0, $var3 + nms_Facing_offsetsZForSide.data[$var11] | 0); nms_Block_$callClinit(); if ($var5 != nms_Block_stone.$blockID && $var5 != nms_Block_cobblestone.$blockID && $var5 != nms_Block_stoneBrick.$blockID ? 0 : 1) { var$8 = $this.$worldObj; $var1 = $var1_0 + nms_Facing_offsetsXForSide.data[$var11] | 0; $var4 = $var2 + nms_Facing_offsetsYForSide.data[$var11] | 0; $var11 = $var3 + nms_Facing_offsetsZForSide.data[$var11] | 0; $var3 = nms_Block_silverfish.$blockID; $var6 = $var5 == nms_Block_cobblestone.$blockID ? 1 : $var5 != nms_Block_stoneBrick.$blockID ? 0 : 2; $var5 = 3; $ptr = 2; continue main; } nms_EntityCreature_updateWanderPath($this); } else if (var$8 !== null && !($this.$pathToEntity === null ? 0 : 1)) $this.$entityToAttack = null; } return; case 2: nms_World_setBlock(var$8, $var1, $var4, $var11, $var3, $var6, $var5); if ($rt_suspending()) { break main; } $ptr = 3; case 3: nms_EntityLiving_spawnExplosionParticle($this); if ($rt_suspending()) { break main; } $this.$isDead = 1; return; case 4: nms_World_destroyBlock($var10, $var11, var$15, var$16, $var1_0); if ($rt_suspending()) { break main; } $var10 = nms_Block_silverfish; var$21 = $this.$worldObj; $var1_0 = 0; $ptr = 5; case 5: $var10.$onBlockDestroyedByPlayer(var$21, $var11, var$15, var$16, $var1_0); if ($rt_suspending()) { break main; } $var10 = $this.$rand; var$22 = Long_and(Long_add(Long_mul($var10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var10.$seed = var$22; $var11 = !Long_lo(Long_shru(var$22, var$10)) ? 0 : 1; a: { if ($var11) $var4 = 1; else while (true) { if ($var7 > 0) { $var11 = 0; $var7 = $var11 - $var7 | 0; } else { $var11 = 1; $var7 = $var11 - $var7 | 0; } if ($var4) break a; $var11 = 10; $var11 = $rt_compare($var7, $var11); if ($var11 > 0) break a; $var11 = (-10); $var11 = $rt_compare($var7, $var11); if ($var11 < 0) break; $var10 = $this.$worldObj; $var11 = $var1 + $var6 | 0; var$15 = $var2 + $var5 | 0; var$16 = $var3 + $var7 | 0; $var8 = nms_World_getBlockId($var10, $var11, var$15, var$16); nms_Block_$callClinit(); $var10 = nms_Block_silverfish; $var1_0 = $var10.$blockID; $var1_0 = $rt_compare($var8, $var1_0); if ($var1_0) continue; else { i: { $var10 = $this.$worldObj; $var10 = $var10.$worldInfo; $var10 = $var10.$theGameRules0; $var10 = $var10.$theGameRules; $var10 = $var10.$root; if (var$7 !== var$8) { $var8 = var$7.$nativeString.length; var$18 = var$8.$nativeString.length; $var1_0 = $rt_compare($var8, var$18); if ($var1_0 < 0) var$18 = $var8; $var1_0 = 0; j: { while (true) { $var8 = $rt_compare($var1_0, var$18); if ($var8 >= 0) { var$7.$nativeString.length; var$8.$nativeString.length; break i; } if ($var1_0 < 0) break j; $var8 = var$7.$nativeString.length; $var8 = $rt_compare($var1_0, $var8); if ($var8 >= 0) break j; $var9 = var$7.$nativeString.charCodeAt($var1_0); if ($var1_0 < 0) break; $var8 = var$8.$nativeString.length; $var8 = $rt_compare($var1_0, $var8); if ($var8 >= 0) break; $var8 = var$8.$nativeString.charCodeAt($var1_0); $var8 = $var9 - $var8 | 0; if ($var8) break i; $var8 = 1; $var1_0 = $var1_0 + $var8 | 0; } var$8 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$8); $rt_throw(var$8); } var$8 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$8); $rt_throw(var$8); } } k: { l: { m: while (true) { if ($var10 === null) { $var10 = null; break k; } n: { var$21 = $var10.$key0; var$21 = var$21; if (var$9 === var$21) $var1_0 = 0; else { $var9 = var$9.$nativeString.length; $var8 = var$21.$nativeString.length; $var1_0 = $rt_compare($var9, $var8); if ($var1_0 < 0) $var8 = $var9; $var9 = 0; while (true) { $var1_0 = $rt_compare($var9, $var8); if ($var1_0 >= 0) { $var8 = var$9.$nativeString.length; $var1_0 = var$21.$nativeString.length; $var1_0 = $var8 - $var1_0 | 0; break n; } if ($var9 < 0) break l; $var1_0 = var$9.$nativeString.length; $var1_0 = $rt_compare($var9, $var1_0); if ($var1_0 >= 0) break l; var$18 = var$9.$nativeString.charCodeAt($var9); if ($var9 < 0) break m; $var1_0 = var$21.$nativeString.length; $var1_0 = $rt_compare($var9, $var1_0); if ($var1_0 >= 0) break m; $var1_0 = var$21.$nativeString.charCodeAt($var9); $var1_0 = var$18 - $var1_0 | 0; if ($var1_0) break; $var1_0 = 1; $var9 = $var9 + $var1_0 | 0; } } } if (!$var1_0) break k; $var10 = $var1_0 >= 0 ? $var10.$right : $var10.$left; } var$8 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$8); $rt_throw(var$8); } var$8 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$8); $rt_throw(var$8); } $var10 = $var10 === null ? null : $var10.$value4; $var10 = $var10; $var1_0 = $var10 === null ? 0 : $var10.$valueBoolean; if ($var1_0) { $var10 = $this.$worldObj; $var1_0 = 0; $ptr = 4; continue main; } $var10 = $this.$worldObj; $var9 = nms_World_getBlockMetadata($var10, $var11, var$15, var$16); $var10 = nms_Block_stone; $var1_0 = 1; $var1_0 = $rt_compare($var9, $var1_0); if (!$var1_0) $var10 = nms_Block_cobblestone; $var1_0 = 2; $var1_0 = $rt_compare($var9, $var1_0); if (!$var1_0) $var10 = nms_Block_stoneBrick; var$21 = $this.$worldObj; $var1_0 = $var10.$blockID; $var8 = 0; $var9 = 3; $ptr = 6; continue main; } } } b: while (true) { $var6 = $var6 > 0 ? 0 - $var6 | 0 : 1 - $var6 | 0; while (!(!$var4 && $var6 <= 10 && $var6 >= (-10))) { $var5 = $var5 > 0 ? 0 - $var5 | 0 : 1 - $var5 | 0; if ($var4) break b; if ($var5 > 5) break b; if ($var5 < (-5)) break b; $var6 = 0; } $var7 = 0; while (!$var4) { $var11 = 10; $var11 = $rt_compare($var7, $var11); if ($var11 > 0) continue b; $var11 = (-10); $var11 = $rt_compare($var7, $var11); if ($var11 < 0) continue b; $var10 = $this.$worldObj; $var11 = $var1 + $var6 | 0; var$15 = $var2 + $var5 | 0; var$16 = $var3 + $var7 | 0; $var8 = nms_World_getBlockId($var10, $var11, var$15, var$16); nms_Block_$callClinit(); $var10 = nms_Block_silverfish; $var1_0 = $var10.$blockID; $var1_0 = $rt_compare($var8, $var1_0); if (!$var1_0) { d: { $var10 = $this.$worldObj; $var10 = $var10.$worldInfo; $var10 = $var10.$theGameRules0; $var10 = $var10.$theGameRules; $var10 = $var10.$root; if (var$7 !== var$8) { $var8 = var$7.$nativeString.length; var$18 = var$8.$nativeString.length; $var1_0 = $rt_compare($var8, var$18); if ($var1_0 < 0) var$18 = $var8; $var1_0 = 0; f: { while (true) { $var8 = $rt_compare($var1_0, var$18); if ($var8 >= 0) { var$7.$nativeString.length; var$8.$nativeString.length; break d; } if ($var1_0 < 0) break f; $var8 = var$7.$nativeString.length; $var8 = $rt_compare($var1_0, $var8); if ($var8 >= 0) break f; $var9 = var$7.$nativeString.charCodeAt($var1_0); if ($var1_0 < 0) break; $var8 = var$8.$nativeString.length; $var8 = $rt_compare($var1_0, $var8); if ($var8 >= 0) break; $var8 = var$8.$nativeString.charCodeAt($var1_0); $var8 = $var9 - $var8 | 0; if ($var8) break d; $var8 = 1; $var1_0 = $var1_0 + $var8 | 0; } var$8 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$8); $rt_throw(var$8); } var$8 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$8); $rt_throw(var$8); } } h: { o: { p: while (true) { if ($var10 === null) { $var10 = null; break h; } q: { var$21 = $var10.$key0; var$21 = var$21; if (var$9 === var$21) $var1_0 = 0; else { $var9 = var$9.$nativeString.length; $var8 = var$21.$nativeString.length; $var1_0 = $rt_compare($var9, $var8); if ($var1_0 < 0) $var8 = $var9; $var9 = 0; while (true) { $var1_0 = $rt_compare($var9, $var8); if ($var1_0 >= 0) { $var8 = var$9.$nativeString.length; $var1_0 = var$21.$nativeString.length; $var1_0 = $var8 - $var1_0 | 0; break q; } if ($var9 < 0) break o; $var1_0 = var$9.$nativeString.length; $var1_0 = $rt_compare($var9, $var1_0); if ($var1_0 >= 0) break o; var$18 = var$9.$nativeString.charCodeAt($var9); if ($var9 < 0) break p; $var1_0 = var$21.$nativeString.length; $var1_0 = $rt_compare($var9, $var1_0); if ($var1_0 >= 0) break p; $var1_0 = var$21.$nativeString.charCodeAt($var9); $var1_0 = var$18 - $var1_0 | 0; if ($var1_0) break; $var1_0 = 1; $var9 = $var9 + $var1_0 | 0; } } } if (!$var1_0) break h; $var10 = $var1_0 >= 0 ? $var10.$right : $var10.$left; } var$8 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$8); $rt_throw(var$8); } var$8 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$8); $rt_throw(var$8); } $var10 = $var10 === null ? null : $var10.$value4; $var10 = $var10; $var1_0 = $var10 === null ? 0 : $var10.$valueBoolean; if ($var1_0) { $var10 = $this.$worldObj; $var1_0 = 0; $ptr = 4; continue main; } $var10 = $this.$worldObj; $var9 = nms_World_getBlockMetadata($var10, $var11, var$15, var$16); $var10 = nms_Block_stone; $var1_0 = 1; $var1_0 = $rt_compare($var9, $var1_0); if (!$var1_0) $var10 = nms_Block_cobblestone; $var1_0 = 2; $var1_0 = $rt_compare($var9, $var1_0); if (!$var1_0) $var10 = nms_Block_stoneBrick; var$21 = $this.$worldObj; $var1_0 = $var10.$blockID; $var8 = 0; $var9 = 3; $ptr = 6; continue main; } if ($var7 > 0) { $var11 = 0; $var7 = $var11 - $var7 | 0; } else { $var11 = 1; $var7 = $var11 - $var7 | 0; } } } var$8 = $this.$entityToAttack; if (var$8 === null && !($this.$pathToEntity === null ? 0 : 1)) { var$2 = $this.$posX; $var1_0 = var$2 | 0; if (var$2 < $var1_0) $var1_0 = $var1_0 - 1 | 0; var$2 = $this.$posY + 0.5; $var2 = var$2 | 0; if (var$2 < $var2) $var2 = $var2 - 1 | 0; var$2 = $this.$posZ; $var3 = var$2 | 0; if (var$2 < $var3) $var3 = $var3 - 1 | 0; var$8 = $this.$rand; var$22 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$22; $var4 = Long_lo(Long_shru(var$22, 17)); while (true) { $var11 = $var4 % 6 | 0; if ((($var4 - $var11 | 0) + 5 | 0) >= 0) break; var$22 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$22; $var4 = Long_lo(Long_shru(var$22, 17)); } $var5 = nms_World_getBlockId($this.$worldObj, $var1_0 + nms_Facing_offsetsXForSide.data[$var11] | 0, $var2 + nms_Facing_offsetsYForSide.data[$var11] | 0, $var3 + nms_Facing_offsetsZForSide.data[$var11] | 0); nms_Block_$callClinit(); if ($var5 != nms_Block_stone.$blockID && $var5 != nms_Block_cobblestone.$blockID && $var5 != nms_Block_stoneBrick.$blockID ? 0 : 1) { var$8 = $this.$worldObj; $var1 = $var1_0 + nms_Facing_offsetsXForSide.data[$var11] | 0; $var4 = $var2 + nms_Facing_offsetsYForSide.data[$var11] | 0; $var11 = $var3 + nms_Facing_offsetsZForSide.data[$var11] | 0; $var3 = nms_Block_silverfish.$blockID; $var6 = $var5 == nms_Block_cobblestone.$blockID ? 1 : $var5 != nms_Block_stoneBrick.$blockID ? 0 : 2; $var5 = 3; $ptr = 2; continue main; } nms_EntityCreature_updateWanderPath($this); } else if (var$8 !== null && !($this.$pathToEntity === null ? 0 : 1)) $this.$entityToAttack = null; return; case 6: nms_World_setBlock(var$21, $var11, var$15, var$16, $var1_0, $var8, $var9); if ($rt_suspending()) { break main; } $var10 = nms_Block_silverfish; var$21 = $this.$worldObj; $var1_0 = 0; $ptr = 5; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var5, var$2, $var1, $var2, $var3, $var4, var$7, var$8, var$9, var$10, $var6, $var7, $var10, $var11, var$15, var$16, $var8, var$18, $var1_0, $var9, var$21, var$22, $ptr); }, nms_EntitySilverfish_getBlockPathWeight = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6; var$4 = nms_World_getBlockId($this.$worldObj, $par1, $par2 - 1 | 0, $par3); nms_Block_$callClinit(); if (var$4 == nms_Block_stone.$blockID) var$5 = 10.0; else { var$6 = $this.$worldObj; var$5 = 0.5 - var$6.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do(var$6, $par1, $par2, $par3, 1)]; } return var$5; }, nms_EntitySilverfish_isValidLightLevel = $this => { return 1; }, nms_EntitySilverfish_getCanSpawnHere = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var1 = $this.$worldObj; if ($var1.$difficultySetting > 0) { var$2 = $this.$posX; var$3 = var$2 | 0; if (var$2 < var$3) var$3 = var$3 - 1 | 0; var$4 = $this.$boundingBox; var$2 = var$4.$minY; var$5 = var$2 | 0; if (var$2 < var$5) var$5 = var$5 - 1 | 0; var$2 = $this.$posZ; var$6 = var$2 | 0; if (var$2 < var$6) var$6 = var$6 - 1 | 0; if (nms_World_checkNoEntityCollision($var1, var$4, null)) { $var1 = $this.$worldObj; var$4 = $this.$boundingBox; $ptr = 1; continue main; } b: { if (0) { var$7 = nms_World_getBlockId($this.$worldObj, var$3, var$5 - 1 | 0, var$6); nms_Block_$callClinit(); if (var$7 == nms_Block_stone.$blockID) var$8 = 10.0; else { $var1 = $this.$worldObj; var$8 = 0.5 - $var1.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do($var1, var$3, var$5, var$6, 1)]; } if (var$8 >= 0.0) { var$7 = 1; break b; } } var$7 = 0; } if (var$7) { var$7 = 1; break a; } } var$7 = 0; } if (!var$7) return 0; return nms_World_getClosestPlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 5.0) !== null ? 0 : 1; case 1: $tmp = nms_World_getCollidingBoundingBoxes($var1, $this, var$4); if ($rt_suspending()) { break main; } $var1 = $tmp; var$7 = $var1.$size0 ? 0 : 1; var$7 = var$7 && !nms_World_isAnyLiquid($this.$worldObj, $this.$boundingBox) ? 1 : 0; c: { if (var$7) { var$7 = nms_World_getBlockId($this.$worldObj, var$3, var$5 - 1 | 0, var$6); nms_Block_$callClinit(); if (var$7 == nms_Block_stone.$blockID) var$8 = 10.0; else { $var1 = $this.$worldObj; var$8 = 0.5 - $var1.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do($var1, var$3, var$5, var$6, 1)]; } if (var$8 >= 0.0) { var$7 = 1; break c; } } var$7 = 0; } if (!(!var$7 ? 0 : 1)) return 0; return nms_World_getClosestPlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 5.0) !== null ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntitySilverfish_getCreatureAttribute = $this => { return nms_EnumCreatureAttribute_ARTHROPOD; }, nms_RenderSilverfish = $rt_classWithoutFields(nms_RenderLiving), nms_RenderSilverfish_silverfishTextures = null, nms_RenderSilverfish_$callClinit = () => { nms_RenderSilverfish_$callClinit = $rt_eraseClinit(nms_RenderSilverfish); nms_RenderSilverfish__clinit_(); }, nms_RenderSilverfish__init_ = $this => { let var$1, var$2; nms_RenderSilverfish_$callClinit(); var$1 = nms_ModelSilverfish__init_(); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.30000001192092896; }, nms_RenderSilverfish__init_0 = () => { let var_0 = new nms_RenderSilverfish(); nms_RenderSilverfish__init_(var_0); return var_0; }, nms_RenderSilverfish_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderSilverfish_getDeathMaxRotation = ($this, $par1EntityLivingBase) => { return 180.0; }, nms_RenderSilverfish_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderSilverfish_$callClinit(); $par1EntityLiving = nms_RenderSilverfish_silverfishTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderSilverfish_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { return (-1); }, nms_RenderSilverfish_getEntityTexture = ($this, $par1Entity) => { nms_RenderSilverfish_$callClinit(); return nms_RenderSilverfish_silverfishTextures; }, nms_RenderSilverfish_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderSilverfish__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1927); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderSilverfish_silverfishTextures = var$1; }; function nms_EntityCreeper() { let a = this; nms_EntityMob.call(a); a.$lastActiveTime = 0; a.$timeSinceIgnited = 0; a.$fuseTime = 0; a.$explosionRadius = 0; } let nms_EntityCreeper__init_ = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6; nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; $this.$experienceValue = 5; $this.$fuseTime = 30; $this.$explosionRadius = 3; var$2 = $this.$tasks0; $par1World = new nms_EntityAISwimming; $par1World.$theEntity2 = $this; $par1World.$mutexBits = 4; $this.$navigator.$canSwim = 1; var$3 = var$2.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = var$2; var$4.$priority = 1; var$4.$action = $par1World; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAICreeperSwell; var$2.$swellingCreeper = $this; var$2.$mutexBits = 1; var$3 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 2; var$4.$action = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; var$2 = $this.$tasks0; var$4 = new nms_EntityAIAvoidEntity; var$3 = new nms_EntityAIAvoidEntitySelector; var$3.$entityAvoiderAI = var$4; var$4.$field_98218_a = var$3; var$4.$theEntity3 = $this; var$4.$targetEntityClass = $rt_cls(nms_EntityOcelot); var$4.$distanceFromEntity = 6.0; var$4.$farSpeed = 1.0; var$4.$nearSpeed = 1.2; var$4.$entityPathNavigate = $this.$navigator; var$4.$mutexBits = 1; var$3 = var$2.$taskEntries; $par1World = new nms_EntityAITaskEntry; $par1World.$tasks = var$2; $par1World.$priority = 3; $par1World.$action = var$4; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = $par1World; var$3.$modCount = var$3.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIAttackOnCollide; var$2.$attacker = $this; var$2.$worldObj8 = $this.$worldObj; var$2.$field_75440_e = 1.0; var$2.$longMemory = 0; var$2.$mutexBits = 3; var$3 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 4; var$4.$action = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIWander; var$2.$entity = $this; var$2.$speed = 0.8; var$2.$mutexBits = 1; var$3 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 5; var$4.$action = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIWatchClosest; var$2.$theWatcher = $this; var$2.$watchedClass = $rt_cls(nms_EntityPlayer); var$2.$maxDistanceForPlayer = 8.0; var$2.$field_75331_e = 0.019999999552965164; var$2.$mutexBits = 2; var$3 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 6; var$4.$action = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAILookIdle; var$2.$idleEntity = $this; var$2.$mutexBits = 3; var$3 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 6; var$4.$action = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$2 = new nms_EntityAINearestAttackableTarget; var$3 = null; var$2.$taskOwner = $this; var$2.$shouldCheckSight = 1; var$2.$nearbyOnly = 0; var$2.$targetClass = $rt_cls(nms_EntityPlayer); var$2.$targetChance = 0; var$4 = new nms_EntityAINearestAttackableTargetSorter; var$4.$theEntity5 = $this; var$2.$theNearestAttackableTargetSorter = var$4; var$2.$mutexBits = 1; var$4 = new nms_EntityAINearestAttackableTargetSelector; var$4.$field_111102_d = var$2; var$4.$field_111103_c = var$3; var$2.$targetEntitySelector = var$4; var$3 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 1; var$4.$action = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$2 = new nms_EntityAIHurtByTarget; var$2.$taskOwner = $this; var$2.$shouldCheckSight = 0; var$2.$nearbyOnly = 0; var$2.$entityCallsForHelp = 0; var$2.$mutexBits = 1; var$3 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 2; var$4.$action = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; }, nms_EntityCreeper__init_0 = var_0 => { let var_1 = new nms_EntityCreeper(); nms_EntityCreeper__init_(var_1, var_0); return var_1; }, nms_EntityCreeper_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_attackDamage); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.25 !== var$1.$baseValue) { var$1.$baseValue = 0.25; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityCreeper_isAIEnabled = $this => { return 1; }, nms_EntityCreeper_getMaxSafePointTries = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attackTarget === null) var$1 = 3; else { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = 3 + ((var$2 === null ? null : var$2.$value1).$watchedObject.$value3 - 1.0 | 0) | 0; } return var$1; }, nms_EntityCreeper_fall = ($this, $par1) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLivingBase_fall($this, $par1); if ($rt_suspending()) { break main; } var$2 = $this.$timeSinceIgnited + $par1 * 1.5 | 0; $this.$timeSinceIgnited = var$2; var$3 = $this.$fuseTime - 5 | 0; if (var$2 > var$3) $this.$timeSinceIgnited = var$3; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, $ptr); }, nms_EntityCreeper_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); nms_DataWatcher_addObject($this.$dataWatcher, 16, jl_Byte_byteCache.data[127]); nms_DataWatcher_addObject($this.$dataWatcher, 17, jl_Byte_byteCache.data[128]); }, nms_EntityCreeper_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[145]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$watchedObject.$value2 == 1) { var$6 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1928); var$3.$data = 1; ju_HashMap_putImpl(var$6, $rt_s(1928), var$3); } var$7 = $this.$fuseTime << 16 >> 16; var$6 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(1929); var$3.$data2 = var$7; ju_HashMap_putImpl(var$6, $rt_s(1929), var$3); var$7 = $this.$explosionRadius << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(1930); $par1NBTTagCompound.$data = var$7; ju_HashMap_putImpl(var$3, $rt_s(1930), $par1NBTTagCompound); }, nms_EntityCreeper_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher; var$3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1928).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1928).$nativeString.length) break a; $rt_s(1928).$hashCode1 = (31 * $rt_s(1928).$hashCode1 | 0) + $rt_s(1928).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(1928).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { b: { var$7 = var$3.$key; if ($rt_s(1928) !== var$7) { if ($rt_s(1928) !== var$7) { if (var$7 instanceof jl_String) { var$7 = var$7; var$8 = $rt_s(1928).$nativeString !== var$7.$nativeString ? 0 : 1; } else var$8 = 0; } else var$8 = 1; if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$3 = var$3.$next3; } if (var$3 === null ? 0 : 1) { var$3 = $par1NBTTagCompound.$tagMap; if ($rt_s(1928) !== null) { c: { if (!$rt_s(1928).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1928).$nativeString.length) break c; $rt_s(1928).$hashCode1 = (31 * $rt_s(1928).$hashCode1 | 0) + $rt_s(1928).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$4 = $rt_s(1928).$hashCode1; var$6 = var$3.$elementData.data; var$9 = var$6[var$4 & (var$6.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$4) { d: { var$3 = var$9.$key; if ($rt_s(1928) !== var$3) { if ($rt_s(1928) === var$3) var$8 = 1; else if (!(var$3 instanceof jl_String)) var$8 = 0; else { var$3 = var$3; var$8 = $rt_s(1928).$nativeString !== var$3.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break d; } } var$8 = 1; } if (var$8) break; } var$9 = var$9.$next3; } } else { var$9 = var$3.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } var$8 = (var$9 === null ? null : var$9.$value1).$data; } else var$8 = 0; var$8 = (!(!var$8 ? 0 : 1) ? 0 : 1) << 24 >> 24; var$9 = jl_Byte_byteCache.data[var$8 + 128 | 0]; var$10 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[145]; if (var$7 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { var$5 = var$7.$value0; var$6 = var$10.$elementData.data; var$10 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$5) { var$3 = var$10.$key; if (var$7 !== var$3 && !(var$7 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$10 = var$10.$next3; } } var$3 = var$10 === null ? null : var$10.$value1; var$10 = var$3.$watchedObject; if (!(var$10 instanceof jl_Byte && var$10.$value2 == var$9.$value2 ? 1 : 0)) { var$3.$watchedObject = var$9; var$3.$watched = 1; var$2.$objectChanged = 1; } e: { var$3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1929).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1929).$nativeString.length) break e; $rt_s(1929).$hashCode1 = (31 * $rt_s(1929).$hashCode1 | 0) + $rt_s(1929).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$5 = $rt_s(1929).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { f: { var$7 = var$3.$key; if ($rt_s(1929) !== var$7) { if ($rt_s(1929) === var$7) var$8 = 1; else if (var$7 instanceof jl_String) { var$7 = var$7; var$8 = $rt_s(1929).$nativeString !== var$7.$nativeString ? 0 : 1; } else var$8 = 0; if (!var$8) { var$8 = 0; break f; } } var$8 = 1; } if (var$8) break; } var$3 = var$3.$next3; } if (var$3 === null ? 0 : 1) { g: { var$3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1929).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1929).$nativeString.length) break g; $rt_s(1929).$hashCode1 = (31 * $rt_s(1929).$hashCode1 | 0) + $rt_s(1929).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$5 = $rt_s(1929).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { h: { var$7 = var$3.$key; if ($rt_s(1929) !== var$7) { if ($rt_s(1929) === var$7) var$8 = 1; else if (!(var$7 instanceof jl_String)) var$8 = 0; else { var$7 = var$7; var$8 = $rt_s(1929).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break h; } } var$8 = 1; } if (var$8) break; } var$3 = var$3.$next3; } if (!(var$3 === null ? 0 : 1)) var$8 = 0; else { var$3 = $par1NBTTagCompound.$tagMap; if ($rt_s(1929) === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { i: { if (!$rt_s(1929).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1929).$nativeString.length) break i; $rt_s(1929).$hashCode1 = (31 * $rt_s(1929).$hashCode1 | 0) + $rt_s(1929).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$5 = $rt_s(1929).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { j: { var$7 = var$3.$key; if ($rt_s(1929) !== var$7) { if ($rt_s(1929) === var$7) var$8 = 1; else if (!(var$7 instanceof jl_String)) var$8 = 0; else { var$7 = var$7; var$8 = $rt_s(1929).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break j; } } var$8 = 1; } if (var$8) break; } var$3 = var$3.$next3; } } var$8 = (var$3 === null ? null : var$3.$value1).$data2; } $this.$fuseTime = var$8; } k: { var$3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1930).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1930).$nativeString.length) break k; $rt_s(1930).$hashCode1 = (31 * $rt_s(1930).$hashCode1 | 0) + $rt_s(1930).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$5 = $rt_s(1930).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { l: { var$7 = var$3.$key; if ($rt_s(1930) !== var$7) { if ($rt_s(1930) === var$7) var$8 = 1; else if (!(var$7 instanceof jl_String)) var$8 = 0; else { var$7 = var$7; var$8 = $rt_s(1930).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break l; } } var$8 = 1; } if (var$8) break; } var$3 = var$3.$next3; } if (var$3 === null ? 0 : 1) { m: { var$3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1930).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1930).$nativeString.length) break m; $rt_s(1930).$hashCode1 = (31 * $rt_s(1930).$hashCode1 | 0) + $rt_s(1930).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$5 = $rt_s(1930).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { n: { var$7 = var$3.$key; if ($rt_s(1930) !== var$7) { if ($rt_s(1930) === var$7) var$8 = 1; else if (!(var$7 instanceof jl_String)) var$8 = 0; else { var$7 = var$7; var$8 = $rt_s(1930).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break n; } } var$8 = 1; } if (var$8) break; } var$3 = var$3.$next3; } if (!(var$3 === null ? 0 : 1)) var$8 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1930) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { o: { if (!$rt_s(1930).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1930).$nativeString.length) break o; $rt_s(1930).$hashCode1 = (31 * $rt_s(1930).$hashCode1 | 0) + $rt_s(1930).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$5 = $rt_s(1930).$hashCode1; var$6 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$6[var$5 & (var$6.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$5) { p: { var$3 = $par1NBTTagCompound.$key; if ($rt_s(1930) !== var$3) { if ($rt_s(1930) === var$3) var$8 = 1; else if (!(var$3 instanceof jl_String)) var$8 = 0; else { var$3 = var$3; var$8 = $rt_s(1930).$nativeString !== var$3.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break p; } } var$8 = 1; } if (var$8) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$8 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data; } $this.$explosionRadius = var$8; } }, nms_EntityCreeper_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, $var2, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var2 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$this.$isDead) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 !== null) { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } else { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { var$3 = 1; break a; } } var$3 = 0; } if (var$3) { $this.$lastActiveTime = $this.$timeSinceIgnited; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$6 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; if (var$6 > 0 && !$this.$timeSinceIgnited) nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1931), 1.0, 0.5); var$3 = $this.$timeSinceIgnited + var$6 | 0; $this.$timeSinceIgnited = var$3; if (var$3 < 0) $this.$timeSinceIgnited = 0; var$3 = $this.$timeSinceIgnited; var$6 = $this.$fuseTime; if (var$3 >= var$6) { $this.$timeSinceIgnited = var$6; var$1 = $this.$worldObj; if (!var$1.$isRemote) { b: { var$2 = var$1.$worldInfo.$theGameRules0.$theGameRules.$root; var$5 = $rt_s(1854); var$1 = $rt_s(1854); if (var$5 !== var$1) { var$6 = var$5.$nativeString.length; var$7 = var$1.$nativeString.length; if (var$6 < var$7) var$7 = var$6; var$3 = 0; c: { while (true) { if (var$3 >= var$7) { var$5.$nativeString.length; var$1.$nativeString.length; break b; } if (var$3 < 0) break c; if (var$3 >= var$5.$nativeString.length) break c; $var2 = var$5.$nativeString.charCodeAt(var$3); if (var$3 < 0) break; if (var$3 >= var$1.$nativeString.length) break; if ($var2 - var$1.$nativeString.charCodeAt(var$3) | 0) break b; var$3 = var$3 + 1 | 0; } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } } var$1 = $rt_s(1854); d: { e: { f: while (true) { if (var$2 === null) { var$2 = null; break d; } g: { var$5 = var$2.$key0; if (var$1 === var$5) var$3 = 0; else { var$6 = var$1.$nativeString.length; var$7 = var$5.$nativeString.length; if (var$6 < var$7) var$7 = var$6; var$6 = 0; while (true) { if (var$6 >= var$7) { var$3 = var$1.$nativeString.length - var$5.$nativeString.length | 0; break g; } if (var$6 < 0) break e; if (var$6 >= var$1.$nativeString.length) break e; $var2 = var$1.$nativeString.charCodeAt(var$6); if (var$6 < 0) break f; if (var$6 >= var$5.$nativeString.length) break f; var$3 = $var2 - var$5.$nativeString.charCodeAt(var$6) | 0; if (var$3) break; var$6 = var$6 + 1 | 0; } } } if (!var$3) break d; var$2 = var$3 >= 0 ? var$2.$right : var$2.$left; } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } var$1 = var$2 === null ? null : var$2.$value4; $var2 = var$1 === null ? 0 : var$1.$valueBoolean; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[145]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$7 = var$5.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$7) { var$2 = var$1.$key; if (var$5 !== var$2 && !(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value2 != 1 ? 0 : 1)) { var$1 = $this.$worldObj; var$9 = $this.$posX; var$10 = $this.$posY; var$11 = $this.$posZ; var$12 = $this.$explosionRadius; var$2 = new nms_Explosion; var$2.$isSmoking = 1; var$2.$field_77289_h = 16; var$5 = new nle_EaglercraftRandom; var$13 = Long_fromNumber(performance.now() * 1000000.0); var$5.$seed = Long_fromInt(69); var$5.$haveNextNextGaussian = 0; var$5.$seed = var$13; var$2.$explosionRNG = var$5; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$2.$affectedBlockPositions = var$5; var$5 = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); var$5.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$4 = var$14.data; var$5.$elementData = var$14; var$5.$loadFactor = 0.75; var$5.$threshold = var$4.length * 0.75 | 0; var$2.$field_77288_k = var$5; var$2.$worldObj1 = var$1; var$2.$exploder = $this; var$2.$explosionSize = var$12; var$2.$explosionX = var$9; var$2.$explosionY = var$10; var$2.$explosionZ = var$11; var$2.$isFlaming = 0; var$2.$isSmoking = $var2; $ptr = 3; continue main; } var$1 = $this.$worldObj; var$9 = $this.$posX; var$10 = $this.$posY; var$15 = $this.$posZ; var$16 = $this.$explosionRadius * 2 | 0; var$17 = new nms_Explosion; var$17.$isSmoking = 1; var$17.$field_77289_h = 16; var$18 = new nle_EaglercraftRandom; var$13 = Long_fromNumber(performance.now() * 1000000.0); var$18.$seed = Long_fromInt(69); var$18.$haveNextNextGaussian = 0; var$18.$seed = var$13; var$17.$explosionRNG = var$18; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$17.$affectedBlockPositions = var$2; var$2 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$4 = var$14.data; var$2.$elementData = var$14; var$2.$loadFactor = 0.75; var$2.$threshold = var$4.length * 0.75 | 0; var$17.$field_77288_k = var$2; var$17.$worldObj1 = var$1; var$17.$exploder = $this; var$17.$explosionSize = var$16; var$17.$explosionX = var$9; var$17.$explosionY = var$10; var$17.$explosionZ = var$15; var$17.$isFlaming = 0; var$17.$isSmoking = $var2; $ptr = 5; continue main; } } } $ptr = 1; case 1: nms_EntityLivingBase_onUpdate($this); if ($rt_suspending()) { break main; } if ($this.$worldObj.$isRemote) { var$1 = $this.$worldObj; if (!var$1.$isRemote && !var$1.$difficultySetting) $this.$isDead = 1; return; } $ptr = 2; case 2: nms_EntityCreature_func_110159_bB($this); if ($rt_suspending()) { break main; } var$1 = $this.$worldObj; if (!var$1.$isRemote && !var$1.$difficultySetting) $this.$isDead = 1; return; case 3: nms_Explosion_doExplosionA(var$2); if ($rt_suspending()) { break main; } var$3 = 1; $ptr = 4; case 4: nms_Explosion_doExplosionB(var$2, var$3); if ($rt_suspending()) { break main; } $this.$isDead = 1; $ptr = 1; continue main; case 5: nms_Explosion_doExplosionA(var$17); if ($rt_suspending()) { break main; } var$3 = 1; $ptr = 6; case 6: nms_Explosion_doExplosionB(var$17, var$3); if ($rt_suspending()) { break main; } $this.$isDead = 1; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, $var2, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityCreeper_getHurtSound = $this => { return $rt_s(1932); }, nms_EntityCreeper_getDeathSound = $this => { return $rt_s(1933); }, nms_EntityCreeper_onDeath = ($this, $par1DamageSource) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLivingBase_onDeath($this, $par1DamageSource); if ($rt_suspending()) { break main; } if (!($par1DamageSource.$getEntity() instanceof nms_EntitySkeleton)) return; nms_Item_$callClinit(); $var2 = nms_Item_record13.$itemID0; var$3 = $this.$rand; var$4 = (nms_Item_recordWait.$itemID0 - $var2 | 0) + 1 | 0; var$5 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); var$7 = var$4 - 1 | 0; if (!(var$4 & var$7)) var$8 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$4), Long_fromInt(var$6)), 31)); else while (true) { var$8 = var$6 % var$4 | 0; if (((var$6 - var$8 | 0) + var$7 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); } $var2 = $var2 + var$8 | 0; $par1DamageSource = new nms_ItemStack; nms_ItemStack_$callClinit(); $par1DamageSource.$itemID = $var2; $par1DamageSource.$stackSize = 1; $par1DamageSource.$itemDamage = 0; var$9 = new nms_EntityItem; var$3 = $this.$worldObj; var$10 = $this.$posX; var$11 = $this.$posY + 0.0; var$12 = $this.$posZ; $ptr = 2; case 2: nms_EntityItem__init_(var$9, var$3, var$10, var$11, var$12); if ($rt_suspending()) { break main; } var$13 = var$9.$dataWatcher; var$14 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$14, jl_Integer_integerCache.data[138]); var$14 = var$3 === null ? null : var$3.$value1; if (!($par1DamageSource !== var$14.$watchedObject ? 0 : 1)) { var$14.$watchedObject = $par1DamageSource; var$14.$watched = 1; var$13.$objectChanged = 1; } var$13 = var$9.$dataWatcher; $par1DamageSource = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); $par1DamageSource = ju_HashMap_entryByKey($par1DamageSource, jl_Integer_integerCache.data[138]); ($par1DamageSource === null ? null : $par1DamageSource.$value1).$watched = 1; var$13.$objectChanged = 1; var$9.$delayBeforeCanPickup = 10; $par1DamageSource = $this.$worldObj; $var2 = nms_World_spawnEntityInWorld($par1DamageSource, var$9); var$3 = $par1DamageSource.$entityList; ju_HashMap_putImpl(var$3.$backingMap, var$9, var$3); if (!$var2) { $par1DamageSource = $par1DamageSource.$entitySpawnQueue; ju_HashMap_putImpl($par1DamageSource.$backingMap, var$9, $par1DamageSource); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_EntityCreeper_attackEntityAsMob = ($this, $par1Entity) => { return 1; }, nms_EntityCreeper_getDropItemId = $this => { nms_Item_$callClinit(); return nms_Item_gunpowder.$itemID0; }, nms_EntityCreeper_onStruckByLightning = ($this, $par1EntityLightningBolt) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityLightningBolt = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$isImmuneToFire) { $par1EntityLightningBolt = nms_DamageSource_inFire; var$2 = 5.0; if (!$this.$invulnerable) { $ptr = 1; continue main; } } var$3 = $this.$fire + 1 | 0; $this.$fire = var$3; if (!var$3) { var$3 = 160; nms_Enchantment_$callClinit(); var$4 = nms_Enchantment_fireProtection.$effectId; var$5 = $this.$equipment; nms_EnchantmentHelper_$callClinit(); if (var$5 === null) var$6 = 0; else { var$5 = var$5.data; var$6 = 0; var$7 = var$5.length; var$8 = 0; while (var$8 < var$7) { var$9 = nms_EnchantmentHelper_getEnchantmentLevel(var$4, var$5[var$8]); if (var$9 > var$6) var$6 = var$9; var$8 = var$8 + 1 | 0; } } if (var$6 > 0) { var$2 = 160.0 * var$6 * 0.15000000596046448; var$4 = var$2 | 0; if (var$2 < var$4) var$4 = var$4 - 1 | 0; var$3 = var$3 - var$4 | 0; } if ($this.$fire < var$3) $this.$fire = var$3; } $par1EntityLightningBolt = $this.$dataWatcher; var$10 = jl_Byte_byteCache.data[129]; var$11 = $par1EntityLightningBolt.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[145]; if (var$12 === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { var$6 = var$12.$value0; var$5 = var$11.$elementData.data; var$11 = var$5[var$6 & (var$5.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$6) { var$13 = var$11.$key; if (var$12 !== var$13 && !(var$12 === var$13 ? 1 : var$13 instanceof jl_Integer && var$13.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$11 = var$11.$next3; } } var$13 = var$11 === null ? null : var$11.$value1; var$11 = var$13.$watchedObject; if (!(var$11 instanceof jl_Byte && var$11.$value2 == var$10.$value2 ? 1 : 0)) { var$13.$watchedObject = var$10; var$13.$watched = 1; $par1EntityLightningBolt.$objectChanged = 1; } return; case 1: $tmp = nms_EntityLivingBase_attackEntityFrom($this, $par1EntityLightningBolt, var$2); if ($rt_suspending()) { break main; } var$3 = $tmp; if (var$3) { $par1EntityLightningBolt = $par1EntityLightningBolt.$getEntity(); if ($this.$riddenByEntity !== $par1EntityLightningBolt && $this.$ridingEntity !== $par1EntityLightningBolt && $par1EntityLightningBolt !== $this) $this.$entityToAttack = $par1EntityLightningBolt; } var$3 = $this.$fire + 1 | 0; $this.$fire = var$3; if (!var$3) { var$3 = 160; nms_Enchantment_$callClinit(); var$4 = nms_Enchantment_fireProtection.$effectId; var$5 = $this.$equipment; nms_EnchantmentHelper_$callClinit(); if (var$5 === null) var$6 = 0; else { var$5 = var$5.data; var$6 = 0; var$7 = var$5.length; var$8 = 0; while (var$8 < var$7) { var$9 = nms_EnchantmentHelper_getEnchantmentLevel(var$4, var$5[var$8]); if (var$9 > var$6) var$6 = var$9; var$8 = var$8 + 1 | 0; } } if (var$6 > 0) { var$2 = 160.0 * var$6 * 0.15000000596046448; var$4 = var$2 | 0; if (var$2 < var$4) var$4 = var$4 - 1 | 0; var$3 = var$3 - var$4 | 0; } if ($this.$fire < var$3) $this.$fire = var$3; } $par1EntityLightningBolt = $this.$dataWatcher; var$10 = jl_Byte_byteCache.data[129]; var$11 = $par1EntityLightningBolt.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[145]; if (var$12 === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { var$6 = var$12.$value0; var$5 = var$11.$elementData.data; var$11 = var$5[var$6 & (var$5.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$6) { var$13 = var$11.$key; if (var$12 !== var$13 && !(var$12 === var$13 ? 1 : var$13 instanceof jl_Integer && var$13.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$11 = var$11.$next3; } } var$13 = var$11 === null ? null : var$11.$value1; var$11 = var$13.$watchedObject; if (!(var$11 instanceof jl_Byte && var$11.$value2 == var$10.$value2 ? 1 : 0)) { var$13.$watchedObject = var$10; var$13.$watched = 1; $par1EntityLightningBolt.$objectChanged = 1; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLightningBolt, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }; function nms_RenderCreeper() { nms_RenderLiving.call(this); this.$creeperModel = null; } let nms_RenderCreeper_armoredCreeperTextures = null, nms_RenderCreeper_creeperTextures = null, nms_RenderCreeper_$callClinit = () => { nms_RenderCreeper_$callClinit = $rt_eraseClinit(nms_RenderCreeper); nms_RenderCreeper__clinit_(); }, nms_RenderCreeper__init_ = $this => { let var$1, var$2; nms_RenderCreeper_$callClinit(); var$1 = nms_ModelCreeper__init_0(0.0); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.5; $this.$creeperModel = nms_ModelCreeper__init_0(2.0); }, nms_RenderCreeper__init_0 = () => { let var_0 = new nms_RenderCreeper(); nms_RenderCreeper__init_(var_0); return var_0; }, nms_RenderCreeper_updateCreeperScale = ($this, $par1EntityCreeper, $par2) => { let var$3, $var3, $var4, $var5, $var6, var$8; var$3 = $par1EntityCreeper.$lastActiveTime; $var3 = (var$3 + ($par1EntityCreeper.$timeSinceIgnited - var$3 | 0) * $par2) / ($par1EntityCreeper.$fuseTime - 2 | 0); $par2 = $var3 * 100.0; $var4 = 1.0 + nms_MathHelper_SIN_TABLE.data[($par2 * 10430.3779296875 | 0) & 65535] * $var3 * 0.009999999776482582; if ($var3 < 0.0) $var3 = 0.0; if ($var3 > 1.0) $var3 = 1.0; $par2 = $var3 * $var3; $par2 = $par2 * $par2; $var5 = (1.0 + $par2 * 0.4000000059604645) * $var4; $var6 = (1.0 + $par2 * 0.10000000149011612) / $var4; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityCreeper = nleg_EaglerAdapterGL30_deevis; $par1EntityCreeper.$x = $var5; $par1EntityCreeper.$y = $var6; $par1EntityCreeper.$z = $var5; $par1EntityCreeper = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityCreeper, $par1EntityCreeper); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityCreeper = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityCreeper); $par1EntityCreeper.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1EntityCreeper.$sb = var$8; $par1EntityCreeper.$buffer0 = $rt_createCharArray(32); $par1EntityCreeper.$autoFlush = 0; $par1EntityCreeper.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityCreeper; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RenderCreeper_updateCreeperColorMultiplier = ($this, $par1EntityCreeper, $par2, $par3) => { let $var5, $var4; $var5 = $par1EntityCreeper.$lastActiveTime; $var4 = ($var5 + ($par1EntityCreeper.$timeSinceIgnited - $var5 | 0) * $par3) / ($par1EntityCreeper.$fuseTime - 2 | 0); if (!(($var4 * 10.0 | 0) % 2 | 0)) return 0; $var5 = $var4 * 0.20000000298023224 * 255.0 | 0; if ($var5 < 0) $var5 = 0; if ($var5 > 255) $var5 = 255; return $var5 << 24 | 16711680 | 65280 | 255; }, nms_RenderCreeper_renderCreeperPassModel = ($this, $par1EntityCreeper, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, $var4, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityCreeper = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $par1EntityCreeper.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[145]; if (var$5 === null) { var$6 = var$4.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$7 = var$5.$value0; var$8 = var$4.$elementData.data; var$6 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { var$4 = var$6.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$5 = var$6 === null ? null : var$6.$value1; if (var$5.$watchedObject.$value2 != 1 ? 0 : 1) { var$5 = $par1EntityCreeper.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[128]; if (var$6 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$9 = var$6.$value0; var$8 = var$5.$elementData.data; var$5 = var$8[var$9 & (var$8.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { var$4 = var$5.$key; if (var$6 !== var$4 && !jl_Integer_equals(var$6, var$4) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$5 = var$5 === null ? null : var$5.$value1; if (!(!(var$5.$watchedObject.$value2 & 32) ? 0 : 1)) { nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } } else { nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } } if ($par2 == 1) { $var4 = $par1EntityCreeper.$ticksExisted + $par3; nms_RenderCreeper_$callClinit(); $par1EntityCreeper = nms_RenderCreeper_armoredCreeperTextures; $ptr = 1; continue main; } if ($par2 == 2) { nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_matrixMode = 5890; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_matrixMode = 5888; nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glDisable(3042); } } return (-1); case 1: nle_TextureLocation_bindTexture($par1EntityCreeper); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_matrixMode = 5890; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); $var5 = $var4 * 0.009999999776482582; $par1EntityCreeper = nleg_EaglerAdapterGL30_deevis; $par1EntityCreeper.$x = $var5; $par1EntityCreeper.$y = $var5; $par1EntityCreeper.$z = 0.0; $par1EntityCreeper = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityCreeper, $par1EntityCreeper); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityCreeper = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityCreeper); $par1EntityCreeper.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); $par1EntityCreeper.$sb = var$5; $par1EntityCreeper.$buffer0 = $rt_createCharArray(32); $par1EntityCreeper.$autoFlush = 0; $par1EntityCreeper.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityCreeper; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $this.$renderPassModel = $this.$creeperModel; nleg_EaglerAdapterGL30_matrixMode = 5888; nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 0.5; nleg_EaglerAdapterGL30_colorG = 0.5; nleg_EaglerAdapterGL30_colorB = 0.5; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glBlendFunc(1, 1); return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityCreeper, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, $var4, $var5, $ptr); }, nms_RenderCreeper_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { nms_RenderCreeper_updateCreeperScale($this, $par1EntityLivingBase, $par2); }, nms_RenderCreeper_getColorMultiplier = ($this, $par1EntityLivingBase, $par2, $par3) => { return nms_RenderCreeper_updateCreeperColorMultiplier($this, $par1EntityLivingBase, $par2, $par3); }, nms_RenderCreeper_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: $tmp = nms_RenderCreeper_renderCreeperPassModel($this, $par1EntityLivingBase, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $ptr); }, nms_RenderCreeper_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderCreeper_$callClinit(); $par1EntityLiving = nms_RenderCreeper_creeperTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderCreeper_inheritRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { return (-1); }, nms_RenderCreeper_getEntityTexture = ($this, $par1Entity) => { nms_RenderCreeper_$callClinit(); return nms_RenderCreeper_creeperTextures; }, nms_RenderCreeper__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1934); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderCreeper_armoredCreeperTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1935); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderCreeper_creeperTextures = var$1; }; function nms_EntityEnderman() { let a = this; nms_EntityMob.call(a); a.$teleportDelay = 0; a.$stareTimer = 0; a.$lastEntityToAttack = null; a.$isAggressive = 0; } let nms_EntityEnderman_attackingSpeedBoostModifierUUID = null, nms_EntityEnderman_attackingSpeedBoostModifier = null, nms_EntityEnderman_carriableBlocks = null, nms_EntityEnderman_$callClinit = () => { nms_EntityEnderman_$callClinit = $rt_eraseClinit(nms_EntityEnderman); nms_EntityEnderman__clinit_(); }, nms_EntityEnderman_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, var$1); var$2 = var$1 === null ? null : var$1.$value1; if (0.10000000149011612 !== var$2.$baseValue) { var$2.$baseValue = 0.10000000149011612; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$3 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$1, var$3); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_attackDamage); var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$2.$nativeString.length) break a; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$2 = var$3.$key; if (var$1 !== var$2 && !jl_Object_equals(var$1, var$2) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (40.0 !== var$2.$baseValue) { var$2.$baseValue = 40.0; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { b: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$2.$nativeString.length) break b; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$2 = var$3.$key; if (var$1 !== var$2 && !jl_Object_equals(var$1, var$2) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (0.30000001192092896 !== var$2.$baseValue) { var$2.$baseValue = 0.30000001192092896; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } var$1 = nms_SharedMonsterAttributes_attackDamage; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { c: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$2.$nativeString.length) break c; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$2 = var$3.$key; if (var$1 !== var$2 && !jl_Object_equals(var$1, var$2) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$1 = var$3 === null ? null : var$3.$value1; if (7.0 !== var$1.$baseValue) { var$1.$baseValue = 7.0; var$1.$field_111133_g = 1; var$3 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$1, var$3); } } }, nms_EntityEnderman_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); var$2 = $this.$dataWatcher; var$1 = new jl_Byte; var$1.$value2 = 0; nms_DataWatcher_addObject(var$2, 16, var$1); var$1 = $this.$dataWatcher; var$2 = new jl_Byte; var$2.$value2 = 0; nms_DataWatcher_addObject(var$1, 17, var$2); var$1 = $this.$dataWatcher; var$2 = new jl_Byte; var$2.$value2 = 0; nms_DataWatcher_addObject(var$1, 18, var$2); }, nms_EntityEnderman_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$4 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2 << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagShort; var$2.$name = $rt_s(1936); var$2.$data2 = var$4; ju_HashMap_putImpl(var$3, $rt_s(1936), var$2); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[145]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = var$6.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$3 = var$2.$key; if (var$6 !== var$3 && !(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$4 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2 << 16 >> 16; $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagShort; var$2.$name = $rt_s(1937); var$2.$data2 = var$4; ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(1937), var$2); }, nms_EntityEnderman_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1936).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1936).$nativeString.length) break a; $rt_s(1936).$hashCode1 = (31 * $rt_s(1936).$hashCode1 | 0) + $rt_s(1936).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1936).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { b: { var$5 = var$2.$key; if ($rt_s(1936) !== var$5) { if ($rt_s(1936) === var$5) var$6 = 1; else if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(1936).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1936) !== null) { c: { if (!$rt_s(1936).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1936).$nativeString.length) break c; $rt_s(1936).$hashCode1 = (31 * $rt_s(1936).$hashCode1 | 0) + $rt_s(1936).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1936).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { d: { var$5 = var$2.$key; if ($rt_s(1936) !== var$5) { if ($rt_s(1936) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$6 = $rt_s(1936).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$6 = 0; } else var$6 = 1; if (!var$6) { var$6 = 0; break d; } } var$6 = 1; } if (var$6) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data2; } else var$6 = 0; var$7 = $this.$dataWatcher; var$3 = (var$6 & 255) << 24 >> 24; var$8 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$2 = var$7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$10 = var$9.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { var$5 = var$2.$key; if (var$9 !== var$5 && !(var$9 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$5 = var$2 === null ? null : var$2.$value1; var$2 = var$5.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$8.$value2 ? 1 : 0)) { var$5.$watchedObject = var$8; var$5.$watched = 1; var$7.$objectChanged = 1; } e: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1937).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1937).$nativeString.length) break e; $rt_s(1937).$hashCode1 = (31 * $rt_s(1937).$hashCode1 | 0) + $rt_s(1937).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$10 = $rt_s(1937).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { f: { var$5 = var$2.$key; if ($rt_s(1937) !== var$5) { if ($rt_s(1937) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(1937).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$6 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1937) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { g: { if (!$rt_s(1937).$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $rt_s(1937).$nativeString.length) break g; $rt_s(1937).$hashCode1 = (31 * $rt_s(1937).$hashCode1 | 0) + $rt_s(1937).$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$10 = $rt_s(1937).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$10 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$10) { h: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(1937) !== var$2) { if ($rt_s(1937) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(1937).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$6 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data2; } $par1NBTTagCompound = $this.$dataWatcher; var$3 = (var$6 & 255) << 24 >> 24; var$9 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$7 = $par1NBTTagCompound.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[145]; if (var$5 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$10 = var$5.$value0; var$4 = var$7.$elementData.data; var$7 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$10) { var$2 = var$7.$key; if (var$5 !== var$2 && !(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$2 = var$7 === null ? null : var$7.$value1; var$7 = var$2.$watchedObject; if (!(var$7 instanceof jl_Byte && var$7.$value2 == var$9.$value2 ? 1 : 0)) { var$2.$watchedObject = var$9; var$2.$watched = 1; $par1NBTTagCompound.$objectChanged = 1; } }, nms_EntityEnderman_findPlayerToAttack = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = nms_World_getClosestVulnerablePlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 64.0); if ($var1 === null) return null; $ptr = 1; case 1: $tmp = nms_EntityEnderman_shouldAttackPlayer($this, $var1); if ($rt_suspending()) { break main; } var$2 = $tmp; if (!var$2) $this.$stareTimer = 0; else { $this.$isAggressive = 1; if (!$this.$stareTimer) nms_World_playSoundAtEntity($this.$worldObj, $var1, $rt_s(570), 1.0, 1.0); var$3 = $this.$stareTimer; $this.$stareTimer = var$3 + 1 | 0; if (var$3 == 5) { $this.$stareTimer = 0; var$4 = $this.$dataWatcher; var$5 = jl_Byte_byteCache.data[129]; var$6 = var$4.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[146]; if (var$7 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$8 = var$7.$value0; var$9 = var$6.$elementData.data; var$6 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$8) { var$10 = var$6.$key; if (var$7 !== var$10 && !(var$7 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$10 = var$6 === null ? null : var$6.$value1; var$6 = var$10.$watchedObject; if (!(var$6 instanceof jl_Byte && var$6.$value2 == var$5.$value2 ? 1 : 0)) { var$10.$watchedObject = var$5; var$10.$watched = 1; var$4.$objectChanged = 1; } return $var1; } } return null; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityEnderman_shouldAttackPlayer = ($this, $par1EntityPlayer) => { let $var2, var$3, $var3, $var4, var$6, var$7, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $par1EntityPlayer.$inventory.$armorInventory.data[3]; if ($var2 !== null) { var$3 = $var2.$itemID; nms_Block_$callClinit(); if (var$3 == nms_Block_pumpkin.$blockID) return 0; } $var3 = nms_Vec3_normalize(nms_EntityLivingBase_getLook($par1EntityPlayer, 1.0)); $var4 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX - $par1EntityPlayer.$posX, $this.$boundingBox.$minY + $this.$height2 / 2.0 - ($par1EntityPlayer.$posY + $par1EntityPlayer.$getEyeHeight()), $this.$posZ - $par1EntityPlayer.$posZ); var$6 = $var4.$xCoord; var$6 = var$6 * var$6; var$7 = $var4.$yCoord; var$6 = var$6 + var$7 * var$7; var$7 = $var4.$zCoord; $var5 = jl_Math_sqrt(var$6 + var$7 * var$7); $var2 = nms_Vec3_normalize($var4); if ($var3.$xCoord * $var2.$xCoord + $var3.$yCoord * $var2.$yCoord + $var3.$zCoord * $var2.$zCoord <= 1.0 - 0.025 / $var5) return 0; $ptr = 1; case 1: $tmp = nms_EntityLivingBase_canEntityBeSeen($par1EntityPlayer, $this); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var2, var$3, $var3, $var4, var$6, var$7, $var5, $ptr); }, nms_EntityEnderman_onLivingUpdate = $this => { let var$1, $var7, var$3, var$4, $var6, $var6_0, var$7, $var2, $var4, var$10, var$11, var$12, var$13, $var3, $var5, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();var$7 = $thread.pop();$var6_0 = $thread.pop();$var6 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var7 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nms_Entity_isWet($this)) { var$1 = nms_DamageSource_drown; $var7 = 1.0; $ptr = 1; continue main; } if ($this.$lastEntityToAttack !== $this.$entityToAttack) { var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 !== null) { a: { var$4 = var$1.$field_111115_a; if (!var$4.$hashCode1) { $var6 = 0; while (true) { if ($var6 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var6) | 0; $var6 = $var6 + 1 | 0; } } } $var6_0 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$1 !== var$4 && !jl_Object_equals(var$1, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; nms_EntityEnderman_$callClinit(); nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityEnderman_attackingSpeedBoostModifier); if ($this.$entityToAttack !== null) nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityEnderman_attackingSpeedBoostModifier); } b: { $this.$lastEntityToAttack = $this.$entityToAttack; var$1 = $this.$worldObj; if (!var$1.$isRemote) { c: { d: { e: { var$3 = var$1.$worldInfo.$theGameRules0.$theGameRules.$root; var$4 = $rt_s(1854); var$1 = $rt_s(1854); if (var$4 !== var$1) { $var2 = var$4.$nativeString.length; $var4 = var$1.$nativeString.length; if ($var2 < $var4) $var4 = $var2; $var6 = 0; while (true) { if ($var6 >= $var4) { var$4.$nativeString.length; var$1.$nativeString.length; break e; } if ($var6 < 0) break c; if ($var6 >= var$4.$nativeString.length) break c; $var6_0 = var$4.$nativeString.charCodeAt($var6); if ($var6 < 0) break d; if ($var6 >= var$1.$nativeString.length) break d; if ($var6_0 - var$1.$nativeString.charCodeAt($var6) | 0) break; $var6 = $var6 + 1 | 0; } } } var$1 = $rt_s(1854); f: { g: { h: while (true) { if (var$3 === null) { var$3 = null; break f; } i: { var$4 = var$3.$key0; if (var$1 !== var$4) { $var2 = var$1.$nativeString.length; $var4 = var$4.$nativeString.length; if ($var2 < $var4) $var4 = $var2; $var2 = 0; while (true) { if ($var2 >= $var4) { $var6 = var$1.$nativeString.length - var$4.$nativeString.length | 0; break i; } if ($var2 < 0) break g; if ($var2 >= var$1.$nativeString.length) break g; $var6_0 = var$1.$nativeString.charCodeAt($var2); if ($var2 < 0) break h; if ($var2 >= var$4.$nativeString.length) break h; $var6 = $var6_0 - var$4.$nativeString.charCodeAt($var2) | 0; if ($var6) break; $var2 = $var2 + 1 | 0; } } else $var6 = 0; } if (!$var6) break f; var$3 = $var6 >= 0 ? var$3.$right : var$3.$left; } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } var$1 = var$3 === null ? null : var$3.$value4; if (!(var$1 === null ? 0 : var$1.$valueBoolean)) break b; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value2) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = $var6_0 % 2000 | 0; if ((($var6_0 - $var4 | 0) + 1999 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); } if ($var4) break b; var$11 = $this.$posX - 1.0; var$12 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, 22))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$11 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, 21))))) * 1.1102230246251565E-16 * 2.0; $var6_0 = var$11 | 0; if (var$11 < $var6_0) $var6_0 = $var6_0 - 1 | 0; var$11 = $this.$posY; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, 22))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$11 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, 21))))) * 1.1102230246251565E-16 * 2.0; $var2 = var$11 | 0; if (var$11 < $var2) $var2 = $var2 - 1 | 0; var$11 = $this.$posZ - 1.0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, 22))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$13; var$11 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, 21))))) * 1.1102230246251565E-16 * 2.0; $var3 = var$11 | 0; if (var$11 < $var3) $var3 = $var3 - 1 | 0; $var4 = nms_World_getBlockId($this.$worldObj, $var6_0, $var2, $var3); $var5 = nms_World_getBlockId($this.$worldObj, $var6_0, $var2 - 1 | 0, $var3); if ($var4) break b; if ($var5 <= 0) break b; nms_Block_$callClinit(); if (!nms_Block_blocksList.data[$var5].$renderAsNormalBlock()) break b; var$1 = $this.$worldObj; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[144]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var5 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var5 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var5) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } $var5 = (var$3 === null ? null : var$3.$value1).$watchedObject.$value2; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[145]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$17 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[var$17 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$17) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$17 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } $var4 = (var$3 === null ? null : var$3.$value1).$watchedObject.$value2; $var6 = 3; $ptr = 9; continue main; } var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = $var6_0 % 20 | 0; if ((($var6_0 - $var4 | 0) + 19 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); } if ($var4) break b; var$11 = $this.$posX - 2.0; var$12 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, 22))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$11 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, 21))))) * 1.1102230246251565E-16 * 4.0; $var6_0 = var$11 | 0; if (var$11 < $var6_0) $var6_0 = $var6_0 - 1 | 0; var$11 = $this.$posY; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, 22))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$11 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, 21))))) * 1.1102230246251565E-16 * 3.0; $var2 = var$11 | 0; if (var$11 < $var2) $var2 = $var2 - 1 | 0; var$11 = $this.$posZ - 2.0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, 22))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$13; var$11 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, 21))))) * 1.1102230246251565E-16 * 4.0; $var3 = var$11 | 0; if (var$11 < $var3) $var3 = $var3 - 1 | 0; $var4 = nms_World_getBlockId($this.$worldObj, $var6_0, $var2, $var3); nms_EntityEnderman_$callClinit(); if (!nms_EntityEnderman_carriableBlocks.data[$var4]) break b; $var6 = nms_World_getBlockId($this.$worldObj, $var6_0, $var2, $var3); var$1 = $this.$dataWatcher; $var6 = ($var6 & 255) << 24 >> 24; var$18 = jl_Byte_byteCache.data[$var6 + 128 | 0]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[144]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var5 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var5 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var5) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $var6 = nms_World_getBlockMetadata($this.$worldObj, $var6_0, $var2, $var3); var$1 = $this.$dataWatcher; $var6 = ($var6 & 255) << 24 >> 24; var$18 = jl_Byte_byteCache.data[$var6 + 128 | 0]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[145]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var5 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var5 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var5) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } var$1 = $this.$worldObj; $var6 = 0; $var4 = 0; $var5 = 3; $ptr = 10; continue main; } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } } $var6 = 0; $var4 = 22; $var6_0 = 21; while ($var6 < 2) { var$1 = $this.$worldObj; var$3 = $rt_s(1455); var$19 = $this.$posX; var$4 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$11 = Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16 - 0.5; var$20 = $this.$width1; var$19 = var$19 + var$11 * var$20; var$11 = $this.$posY; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$21 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 * $this.$height2 - 0.25; var$22 = $this.$posZ; var$12 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$23 = var$22 + (Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * var$20; var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$12 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$13, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$20 = (Long_toNumber(Long_add(var$12, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * 2.0; var$12 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$22 = -(Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$11 = (Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * 2.0; $var2 = 0; var$4 = var$1.$worldAccesses; $var5 = $rt_compare($var2, var$4.$size0); if ($var5 < 0) { if ($var2 >= 0 && $var5 < 0) { var$4 = var$4.$array.data[$var2]; $ptr = 2; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var6 = $var6 + 1 | 0; } var$1 = $this.$worldObj; $var6 = var$1.$skylightSubtracted >= 4 ? 0 : 1; if ($var6 && !var$1.$isRemote) { $var7 = nms_Entity_getBrightness($this, 1.0); if ($var7 > 0.5) { var$1 = $this.$worldObj; var$11 = $this.$posX; $var4 = var$11 | 0; if (var$11 < $var4) $var4 = $var4 - 1 | 0; var$11 = $this.$posY; $var6_0 = var$11 | 0; if (var$11 < $var6_0) $var6_0 = $var6_0 - 1 | 0; var$11 = $this.$posZ; $var2 = var$11 | 0; if (var$11 < $var2) $var2 = $var2 - 1 | 0; $var5 = $var4 >> 4; $var6 = $var2 >> 4; var$1 = var$1.$chunkProvider; var$3 = var$1.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt($var5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var6), Long_create(4294967295, 0)), 32)); $var6 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); $var6 = $var6 ^ ($var6 >>> 20 | 0) ^ ($var6 >>> 12 | 0); $var3 = $var6 ^ ($var6 >>> 7 | 0) ^ ($var6 >>> 4 | 0); var$7 = var$3.$hashArray.data; var$3 = var$7[$var3 & (var$7.length - 1 | 0)]; j: { while (var$3 !== null) { if (Long_eq(var$3.$key1, var$13)) { var$3 = var$3.$value6; break j; } var$3 = var$3.$nextEntry0; } var$3 = null; } var$3 = var$3; if (var$3 === null) var$3 = var$1.$blankChunk; if (var$3.$canBlockSeeTheSky($var4 & 15, $var6_0, $var2 & 15)) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 30.0 < ($var7 - 0.4000000059604645) * 2.0) { $this.$entityToAttack = null; var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$isAggressive = 0; $ptr = 8; continue main; } } } } if (!nms_Entity_isWet($this)) { k: { l: { if (!$this.$isImmuneToFire) { if ($this.$fire <= 0) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[128]; if (var$3 !== null) { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !jl_Integer_equals(var$3, var$4) ? 0 : 1) break; } var$1 = var$1.$next3; } } else { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 1) ? 0 : 1)) break l; } $var6 = 1; break k; } } $var6 = 0; } if (!$var6) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[146]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; $var6 = var$1.$watchedObject.$value2 <= 0 ? 0 : 1; if ($var6 && !$this.$isAggressive) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = $var6_0 % 100 | 0; if ((($var6_0 - $var4 | 0) + 99 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); } if (!$var4) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } } } $this.$isJumping = 0; var$1 = $this.$entityToAttack; if (var$1 !== null) nms_EntityLiving_faceEntity($this, var$1, 100.0, 100.0); if (!$this.$worldObj.$isRemote) { m: { if (!$this.$isDead) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !jl_Integer_equals(var$3, var$4) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { $var6 = 1; break m; } } $var6 = 0; } if ($var6) { var$1 = $this.$entityToAttack; if (var$1 === null) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$teleportDelay = 0; } else { if (var$1 instanceof nms_EntityPlayer) { var$1 = var$1; $ptr = 5; continue main; } var$1 = $this.$entityToAttack; var$11 = var$1.$posX - $this.$posX; var$19 = var$1.$posY - $this.$posY; var$20 = var$1.$posZ - $this.$posZ; if (var$11 * var$11 + var$19 * var$19 + var$20 * var$20 > 256.0) { $var2 = $this.$teleportDelay; $this.$teleportDelay = $var2 + 1 | 0; if ($var2 >= 30) { $ptr = 6; continue main; } } } } } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 4; continue main; } } $this.$entityToAttack = null; var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$isAggressive = 0; $ptr = 3; continue main; case 1: nms_EntityEnderman_attackEntityFrom($this, var$1, $var7); if ($rt_suspending()) { break main; } if ($this.$lastEntityToAttack !== $this.$entityToAttack) { var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 !== null) { n: { var$4 = var$1.$field_111115_a; if (!var$4.$hashCode1) { $var6 = 0; while (true) { if ($var6 >= var$4.$nativeString.length) break n; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var6) | 0; $var6 = $var6 + 1 | 0; } } } $var6_0 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$1 !== var$4 && !jl_Object_equals(var$1, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; nms_EntityEnderman_$callClinit(); nms_ModifiableAttributeInstance_removeModifier(var$3, nms_EntityEnderman_attackingSpeedBoostModifier); if ($this.$entityToAttack !== null) nms_ModifiableAttributeInstance_applyModifier(var$3, nms_EntityEnderman_attackingSpeedBoostModifier); } o: { $this.$lastEntityToAttack = $this.$entityToAttack; var$1 = $this.$worldObj; if (!var$1.$isRemote) { b: { c: { d: { var$3 = var$1.$worldInfo.$theGameRules0.$theGameRules.$root; var$4 = $rt_s(1854); var$1 = $rt_s(1854); if (var$4 !== var$1) { $var2 = var$4.$nativeString.length; $var4 = var$1.$nativeString.length; if ($var2 < $var4) $var4 = $var2; $var6 = 0; while (true) { if ($var6 >= $var4) { var$4.$nativeString.length; var$1.$nativeString.length; break d; } if ($var6 < 0) break b; if ($var6 >= var$4.$nativeString.length) break b; $var6_0 = var$4.$nativeString.charCodeAt($var6); if ($var6 < 0) break c; if ($var6 >= var$1.$nativeString.length) break c; if ($var6_0 - var$1.$nativeString.charCodeAt($var6) | 0) break; $var6 = $var6 + 1 | 0; } } } var$1 = $rt_s(1854); p: { q: { g: while (true) { if (var$3 === null) { var$3 = null; break p; } r: { var$4 = var$3.$key0; if (var$1 !== var$4) { $var2 = var$1.$nativeString.length; $var4 = var$4.$nativeString.length; if ($var2 < $var4) $var4 = $var2; $var2 = 0; while (true) { if ($var2 >= $var4) { $var6 = var$1.$nativeString.length - var$4.$nativeString.length | 0; break r; } if ($var2 < 0) break q; if ($var2 >= var$1.$nativeString.length) break q; $var6_0 = var$1.$nativeString.charCodeAt($var2); if ($var2 < 0) break g; if ($var2 >= var$4.$nativeString.length) break g; $var6 = $var6_0 - var$4.$nativeString.charCodeAt($var2) | 0; if ($var6) break; $var2 = $var2 + 1 | 0; } } else $var6 = 0; } if (!$var6) break p; var$3 = $var6 >= 0 ? var$3.$right : var$3.$left; } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } var$1 = var$3 === null ? null : var$3.$value4; if (!(var$1 === null ? 0 : var$1.$valueBoolean)) break o; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value2) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = $var6_0 % 2000 | 0; if ((($var6_0 - $var4 | 0) + 1999 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); } if ($var4) break o; var$11 = $this.$posX - 1.0; var$12 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, 22))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$11 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, 21))))) * 1.1102230246251565E-16 * 2.0; $var6_0 = var$11 | 0; if (var$11 < $var6_0) $var6_0 = $var6_0 - 1 | 0; var$11 = $this.$posY; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, 22))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$11 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, 21))))) * 1.1102230246251565E-16 * 2.0; $var2 = var$11 | 0; if (var$11 < $var2) $var2 = $var2 - 1 | 0; var$11 = $this.$posZ - 1.0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, 22))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$13; var$11 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, 21))))) * 1.1102230246251565E-16 * 2.0; $var3 = var$11 | 0; if (var$11 < $var3) $var3 = $var3 - 1 | 0; $var4 = nms_World_getBlockId($this.$worldObj, $var6_0, $var2, $var3); $var5 = nms_World_getBlockId($this.$worldObj, $var6_0, $var2 - 1 | 0, $var3); if ($var4) break o; if ($var5 <= 0) break o; nms_Block_$callClinit(); if (!nms_Block_blocksList.data[$var5].$renderAsNormalBlock()) break o; var$1 = $this.$worldObj; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[144]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var5 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var5 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var5) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } $var5 = (var$3 === null ? null : var$3.$value1).$watchedObject.$value2; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[145]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$17 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[var$17 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$17) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$17 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } $var4 = (var$3 === null ? null : var$3.$value1).$watchedObject.$value2; $var6 = 3; $ptr = 9; continue main; } var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = $var6_0 % 20 | 0; if ((($var6_0 - $var4 | 0) + 19 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); } if ($var4) break o; var$11 = $this.$posX - 2.0; var$12 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, 22))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$11 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, 21))))) * 1.1102230246251565E-16 * 4.0; $var6_0 = var$11 | 0; if (var$11 < $var6_0) $var6_0 = $var6_0 - 1 | 0; var$11 = $this.$posY; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, 22))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$11 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, 21))))) * 1.1102230246251565E-16 * 3.0; $var2 = var$11 | 0; if (var$11 < $var2) $var2 = $var2 - 1 | 0; var$11 = $this.$posZ - 2.0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, 22))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$13; var$11 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, 21))))) * 1.1102230246251565E-16 * 4.0; $var3 = var$11 | 0; if (var$11 < $var3) $var3 = $var3 - 1 | 0; $var4 = nms_World_getBlockId($this.$worldObj, $var6_0, $var2, $var3); nms_EntityEnderman_$callClinit(); if (!nms_EntityEnderman_carriableBlocks.data[$var4]) break o; $var6 = nms_World_getBlockId($this.$worldObj, $var6_0, $var2, $var3); var$1 = $this.$dataWatcher; $var6 = ($var6 & 255) << 24 >> 24; var$18 = jl_Byte_byteCache.data[$var6 + 128 | 0]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[144]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var5 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var5 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var5) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $var6 = nms_World_getBlockMetadata($this.$worldObj, $var6_0, $var2, $var3); var$1 = $this.$dataWatcher; $var6 = ($var6 & 255) << 24 >> 24; var$18 = jl_Byte_byteCache.data[$var6 + 128 | 0]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[145]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var5 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var5 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var5) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } var$1 = $this.$worldObj; $var6 = 0; $var4 = 0; $var5 = 3; $ptr = 10; continue main; } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } } $var6 = 0; $var4 = 22; $var6_0 = 21; while ($var6 < 2) { var$1 = $this.$worldObj; var$3 = $rt_s(1455); var$19 = $this.$posX; var$4 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$11 = Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16 - 0.5; var$20 = $this.$width1; var$19 = var$19 + var$11 * var$20; var$11 = $this.$posY; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$21 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 * $this.$height2 - 0.25; var$22 = $this.$posZ; var$12 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$23 = var$22 + (Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * var$20; var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$12 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$13, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$20 = (Long_toNumber(Long_add(var$12, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * 2.0; var$12 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$22 = -(Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$11 = (Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * 2.0; $var2 = 0; var$4 = var$1.$worldAccesses; $var5 = $rt_compare($var2, var$4.$size0); if ($var5 < 0) { if ($var2 >= 0 && $var5 < 0) { var$4 = var$4.$array.data[$var2]; $ptr = 2; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var6 = $var6 + 1 | 0; } var$1 = $this.$worldObj; $var6 = var$1.$skylightSubtracted >= 4 ? 0 : 1; if ($var6 && !var$1.$isRemote) { $var7 = nms_Entity_getBrightness($this, 1.0); if ($var7 > 0.5) { var$1 = $this.$worldObj; var$11 = $this.$posX; $var4 = var$11 | 0; if (var$11 < $var4) $var4 = $var4 - 1 | 0; var$11 = $this.$posY; $var6_0 = var$11 | 0; if (var$11 < $var6_0) $var6_0 = $var6_0 - 1 | 0; var$11 = $this.$posZ; $var2 = var$11 | 0; if (var$11 < $var2) $var2 = $var2 - 1 | 0; $var5 = $var4 >> 4; $var6 = $var2 >> 4; var$1 = var$1.$chunkProvider; var$3 = var$1.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt($var5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var6), Long_create(4294967295, 0)), 32)); $var6 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); $var6 = $var6 ^ ($var6 >>> 20 | 0) ^ ($var6 >>> 12 | 0); $var3 = $var6 ^ ($var6 >>> 7 | 0) ^ ($var6 >>> 4 | 0); var$7 = var$3.$hashArray.data; var$3 = var$7[$var3 & (var$7.length - 1 | 0)]; s: { while (var$3 !== null) { if (Long_eq(var$3.$key1, var$13)) { var$3 = var$3.$value6; break s; } var$3 = var$3.$nextEntry0; } var$3 = null; } var$3 = var$3; if (var$3 === null) var$3 = var$1.$blankChunk; if (var$3.$canBlockSeeTheSky($var4 & 15, $var6_0, $var2 & 15)) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 30.0 < ($var7 - 0.4000000059604645) * 2.0) { $this.$entityToAttack = null; var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$isAggressive = 0; $ptr = 8; continue main; } } } } if (!nms_Entity_isWet($this)) { t: { k: { if (!$this.$isImmuneToFire) { if ($this.$fire <= 0) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[128]; if (var$3 !== null) { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !jl_Integer_equals(var$3, var$4) ? 0 : 1) break; } var$1 = var$1.$next3; } } else { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 1) ? 0 : 1)) break k; } $var6 = 1; break t; } } $var6 = 0; } if (!$var6) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[146]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; $var6 = var$1.$watchedObject.$value2 <= 0 ? 0 : 1; if ($var6 && !$this.$isAggressive) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = $var6_0 % 100 | 0; if ((($var6_0 - $var4 | 0) + 99 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); } if (!$var4) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } } } $this.$isJumping = 0; var$1 = $this.$entityToAttack; if (var$1 !== null) nms_EntityLiving_faceEntity($this, var$1, 100.0, 100.0); if (!$this.$worldObj.$isRemote) { u: { if (!$this.$isDead) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !jl_Integer_equals(var$3, var$4) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { $var6 = 1; break u; } } $var6 = 0; } if ($var6) { var$1 = $this.$entityToAttack; if (var$1 === null) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$teleportDelay = 0; } else { if (var$1 instanceof nms_EntityPlayer) { var$1 = var$1; $ptr = 5; continue main; } var$1 = $this.$entityToAttack; var$11 = var$1.$posX - $this.$posX; var$19 = var$1.$posY - $this.$posY; var$20 = var$1.$posZ - $this.$posZ; if (var$11 * var$11 + var$19 * var$19 + var$20 * var$20 > 256.0) { $var2 = $this.$teleportDelay; $this.$teleportDelay = $var2 + 1 | 0; if ($var2 >= 30) { $ptr = 6; continue main; } } } } } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 4; continue main; } } $this.$entityToAttack = null; var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$isAggressive = 0; $ptr = 3; continue main; case 2: nms_RenderGlobal_doSpawnParticle(var$4, var$3, var$19, var$21, var$23, var$20, var$22, var$11); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; while (true) { var$4 = var$1.$worldAccesses; $var5 = $rt_compare($var2, var$4.$size0); if ($var5 < 0) { if ($var2 >= 0 && $var5 < 0) { var$4 = var$4.$array.data[$var2]; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var6 = $var6 + 1 | 0; if ($var6 >= 2) break; var$1 = $this.$worldObj; var$3 = $rt_s(1455); var$19 = $this.$posX; var$4 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$11 = Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16 - 0.5; var$20 = $this.$width1; var$19 = var$19 + var$11 * var$20; var$11 = $this.$posY; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$21 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 * $this.$height2 - 0.25; var$22 = $this.$posZ; var$12 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$23 = var$22 + (Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * var$20; var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$12 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$13, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$20 = (Long_toNumber(Long_add(var$12, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * 2.0; var$12 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$22 = -(Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$11 = (Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * 2.0; $var2 = 0; } var$1 = $this.$worldObj; $var6 = var$1.$skylightSubtracted >= 4 ? 0 : 1; if ($var6 && !var$1.$isRemote) { $var7 = nms_Entity_getBrightness($this, 1.0); if ($var7 > 0.5) { var$1 = $this.$worldObj; var$11 = $this.$posX; $var4 = var$11 | 0; if (var$11 < $var4) $var4 = $var4 - 1 | 0; var$11 = $this.$posY; $var6_0 = var$11 | 0; if (var$11 < $var6_0) $var6_0 = $var6_0 - 1 | 0; var$11 = $this.$posZ; $var2 = var$11 | 0; if (var$11 < $var2) $var2 = $var2 - 1 | 0; $var5 = $var4 >> 4; $var6 = $var2 >> 4; var$1 = var$1.$chunkProvider; var$3 = var$1.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt($var5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var6), Long_create(4294967295, 0)), 32)); $var6 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); $var6 = $var6 ^ ($var6 >>> 20 | 0) ^ ($var6 >>> 12 | 0); $var3 = $var6 ^ ($var6 >>> 7 | 0) ^ ($var6 >>> 4 | 0); var$7 = var$3.$hashArray.data; var$3 = var$7[$var3 & (var$7.length - 1 | 0)]; v: { while (var$3 !== null) { if (Long_eq(var$3.$key1, var$13)) { var$3 = var$3.$value6; break v; } var$3 = var$3.$nextEntry0; } var$3 = null; } var$3 = var$3; if (var$3 === null) var$3 = var$1.$blankChunk; if (var$3.$canBlockSeeTheSky($var4 & 15, $var6_0, $var2 & 15)) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 30.0 < ($var7 - 0.4000000059604645) * 2.0) { $this.$entityToAttack = null; var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$isAggressive = 0; $ptr = 8; continue main; } } } } if (!nms_Entity_isWet($this)) { w: { x: { if (!$this.$isImmuneToFire) { if ($this.$fire <= 0) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[128]; if (var$3 !== null) { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !jl_Integer_equals(var$3, var$4) ? 0 : 1) break; } var$1 = var$1.$next3; } } else { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 1) ? 0 : 1)) break x; } $var6 = 1; break w; } } $var6 = 0; } if (!$var6) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[146]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; $var6 = var$1.$watchedObject.$value2 <= 0 ? 0 : 1; if ($var6 && !$this.$isAggressive) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = $var6_0 % 100 | 0; if ((($var6_0 - $var4 | 0) + 99 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); } if (!$var4) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } } } $this.$isJumping = 0; var$1 = $this.$entityToAttack; if (var$1 !== null) nms_EntityLiving_faceEntity($this, var$1, 100.0, 100.0); if (!$this.$worldObj.$isRemote) { y: { if (!$this.$isDead) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !jl_Integer_equals(var$3, var$4) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { $var6 = 1; break y; } } $var6 = 0; } if ($var6) { var$1 = $this.$entityToAttack; if (var$1 === null) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$teleportDelay = 0; } else { if (var$1 instanceof nms_EntityPlayer) { var$1 = var$1; $ptr = 5; continue main; } var$1 = $this.$entityToAttack; var$11 = var$1.$posX - $this.$posX; var$19 = var$1.$posY - $this.$posY; var$20 = var$1.$posZ - $this.$posZ; if (var$11 * var$11 + var$19 * var$19 + var$20 * var$20 > 256.0) { $var2 = $this.$teleportDelay; $this.$teleportDelay = $var2 + 1 | 0; if ($var2 >= 30) { $ptr = 6; continue main; } } } } } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 4; continue main; } } $this.$entityToAttack = null; var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$isAggressive = 0; $ptr = 3; case 3: nms_EntityEnderman_teleportRandomly($this); if ($rt_suspending()) { break main; } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[146]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; $var6 = var$1.$watchedObject.$value2 <= 0 ? 0 : 1; if ($var6 && !$this.$isAggressive) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = $var6_0 % 100 | 0; if ((($var6_0 - $var4 | 0) + 99 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); } if (!$var4) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } } } $this.$isJumping = 0; var$1 = $this.$entityToAttack; if (var$1 !== null) nms_EntityLiving_faceEntity($this, var$1, 100.0, 100.0); if (!$this.$worldObj.$isRemote) { z: { if (!$this.$isDead) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !jl_Integer_equals(var$3, var$4) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { $var6 = 1; break z; } } $var6 = 0; } if ($var6) { var$1 = $this.$entityToAttack; if (var$1 === null) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$teleportDelay = 0; } else { if (var$1 instanceof nms_EntityPlayer) { var$1 = var$1; $ptr = 5; continue main; } var$1 = $this.$entityToAttack; var$11 = var$1.$posX - $this.$posX; var$19 = var$1.$posY - $this.$posY; var$20 = var$1.$posZ - $this.$posZ; if (var$11 * var$11 + var$19 * var$19 + var$20 * var$20 > 256.0) { $var2 = $this.$teleportDelay; $this.$teleportDelay = $var2 + 1 | 0; if ($var2 >= 30) { $ptr = 6; continue main; } } } } } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 4; case 4: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } return; case 5: ba: { $tmp = nms_EntityEnderman_shouldAttackPlayer($this, var$1); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) { var$1 = $this.$entityToAttack; var$11 = var$1.$posX - $this.$posX; var$19 = var$1.$posY - $this.$posY; var$20 = var$1.$posZ - $this.$posZ; if (var$11 * var$11 + var$19 * var$19 + var$20 * var$20 >= 16.0) { $this.$teleportDelay = 0; break ba; } $ptr = 7; continue main; } var$1 = $this.$entityToAttack; var$11 = var$1.$posX - $this.$posX; var$19 = var$1.$posY - $this.$posY; var$20 = var$1.$posZ - $this.$posZ; if (var$11 * var$11 + var$19 * var$19 + var$20 * var$20 > 256.0) { $var2 = $this.$teleportDelay; $this.$teleportDelay = $var2 + 1 | 0; if ($var2 >= 30) { $ptr = 6; continue main; } } } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 4; continue main; case 6: $tmp = nms_EntityEnderman_teleportToEntity($this, var$1); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6) $this.$teleportDelay = 0; nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 4; continue main; case 7: nms_EntityEnderman_teleportRandomly($this); if ($rt_suspending()) { break main; } $this.$teleportDelay = 0; nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 4; continue main; case 8: nms_EntityEnderman_teleportRandomly($this); if ($rt_suspending()) { break main; } if (!nms_Entity_isWet($this)) { bb: { bc: { if (!$this.$isImmuneToFire) { if ($this.$fire <= 0) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[128]; if (var$3 !== null) { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !jl_Integer_equals(var$3, var$4) ? 0 : 1) break; } var$1 = var$1.$next3; } } else { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 1) ? 0 : 1)) break bc; } $var6 = 1; break bb; } } $var6 = 0; } if (!$var6) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[146]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; $var6 = var$1.$watchedObject.$value2 <= 0 ? 0 : 1; if ($var6 && !$this.$isAggressive) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = $var6_0 % 100 | 0; if ((($var6_0 - $var4 | 0) + 99 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); } if (!$var4) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } } } $this.$isJumping = 0; var$1 = $this.$entityToAttack; if (var$1 !== null) nms_EntityLiving_faceEntity($this, var$1, 100.0, 100.0); if (!$this.$worldObj.$isRemote) { bd: { if (!$this.$isDead) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !jl_Integer_equals(var$3, var$4) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { $var6 = 1; break bd; } } $var6 = 0; } if ($var6) { var$1 = $this.$entityToAttack; if (var$1 === null) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$teleportDelay = 0; } else { if (var$1 instanceof nms_EntityPlayer) { var$1 = var$1; $ptr = 5; continue main; } var$1 = $this.$entityToAttack; var$11 = var$1.$posX - $this.$posX; var$19 = var$1.$posY - $this.$posY; var$20 = var$1.$posZ - $this.$posZ; if (var$11 * var$11 + var$19 * var$19 + var$20 * var$20 > 256.0) { $var2 = $this.$teleportDelay; $this.$teleportDelay = $var2 + 1 | 0; if ($var2 >= 30) { $ptr = 6; continue main; } } } } } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 4; continue main; } } $this.$entityToAttack = null; var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$isAggressive = 0; $ptr = 3; continue main; case 9: nms_World_setBlock(var$1, $var6_0, $var2, $var3, $var5, $var4, $var6); if ($rt_suspending()) { break main; } var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[144]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $var6 = 0; $var4 = 22; $var6_0 = 21; while ($var6 < 2) { var$1 = $this.$worldObj; var$3 = $rt_s(1455); var$19 = $this.$posX; var$4 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$11 = Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16 - 0.5; var$20 = $this.$width1; var$19 = var$19 + var$11 * var$20; var$11 = $this.$posY; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$21 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 * $this.$height2 - 0.25; var$22 = $this.$posZ; var$12 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$23 = var$22 + (Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * var$20; var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$12 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$13, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$20 = (Long_toNumber(Long_add(var$12, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * 2.0; var$12 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$22 = -(Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$11 = (Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * 2.0; $var2 = 0; var$4 = var$1.$worldAccesses; $var5 = $rt_compare($var2, var$4.$size0); if ($var5 < 0) { if ($var2 >= 0 && $var5 < 0) { var$4 = var$4.$array.data[$var2]; $ptr = 2; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var6 = $var6 + 1 | 0; } var$1 = $this.$worldObj; $var6 = var$1.$skylightSubtracted >= 4 ? 0 : 1; if ($var6 && !var$1.$isRemote) { $var7 = nms_Entity_getBrightness($this, 1.0); if ($var7 > 0.5) { var$1 = $this.$worldObj; var$11 = $this.$posX; $var4 = var$11 | 0; if (var$11 < $var4) $var4 = $var4 - 1 | 0; var$11 = $this.$posY; $var6_0 = var$11 | 0; if (var$11 < $var6_0) $var6_0 = $var6_0 - 1 | 0; var$11 = $this.$posZ; $var2 = var$11 | 0; if (var$11 < $var2) $var2 = $var2 - 1 | 0; $var5 = $var4 >> 4; $var6 = $var2 >> 4; var$1 = var$1.$chunkProvider; var$3 = var$1.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt($var5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var6), Long_create(4294967295, 0)), 32)); $var6 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); $var6 = $var6 ^ ($var6 >>> 20 | 0) ^ ($var6 >>> 12 | 0); $var3 = $var6 ^ ($var6 >>> 7 | 0) ^ ($var6 >>> 4 | 0); var$7 = var$3.$hashArray.data; var$3 = var$7[$var3 & (var$7.length - 1 | 0)]; g: { while (var$3 !== null) { if (Long_eq(var$3.$key1, var$13)) { var$3 = var$3.$value6; break g; } var$3 = var$3.$nextEntry0; } var$3 = null; } var$3 = var$3; if (var$3 === null) var$3 = var$1.$blankChunk; if (var$3.$canBlockSeeTheSky($var4 & 15, $var6_0, $var2 & 15)) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 30.0 < ($var7 - 0.4000000059604645) * 2.0) { $this.$entityToAttack = null; var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$isAggressive = 0; $ptr = 8; continue main; } } } } if (!nms_Entity_isWet($this)) { be: { bf: { if (!$this.$isImmuneToFire) { if ($this.$fire <= 0) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[128]; if (var$3 !== null) { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !jl_Integer_equals(var$3, var$4) ? 0 : 1) break; } var$1 = var$1.$next3; } } else { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 1) ? 0 : 1)) break bf; } $var6 = 1; break be; } } $var6 = 0; } if (!$var6) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[146]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; $var6 = var$1.$watchedObject.$value2 <= 0 ? 0 : 1; if ($var6 && !$this.$isAggressive) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = $var6_0 % 100 | 0; if ((($var6_0 - $var4 | 0) + 99 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); } if (!$var4) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } } } $this.$isJumping = 0; var$1 = $this.$entityToAttack; if (var$1 !== null) nms_EntityLiving_faceEntity($this, var$1, 100.0, 100.0); if (!$this.$worldObj.$isRemote) { bg: { if (!$this.$isDead) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !jl_Integer_equals(var$3, var$4) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { $var6 = 1; break bg; } } $var6 = 0; } if ($var6) { var$1 = $this.$entityToAttack; if (var$1 === null) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$teleportDelay = 0; } else { if (var$1 instanceof nms_EntityPlayer) { var$1 = var$1; $ptr = 5; continue main; } var$1 = $this.$entityToAttack; var$11 = var$1.$posX - $this.$posX; var$19 = var$1.$posY - $this.$posY; var$20 = var$1.$posZ - $this.$posZ; if (var$11 * var$11 + var$19 * var$19 + var$20 * var$20 > 256.0) { $var2 = $this.$teleportDelay; $this.$teleportDelay = $var2 + 1 | 0; if ($var2 >= 30) { $ptr = 6; continue main; } } } } } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 4; continue main; } } $this.$entityToAttack = null; var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$isAggressive = 0; $ptr = 3; continue main; case 10: nms_World_setBlock(var$1, $var6_0, $var2, $var3, $var6, $var4, $var5); if ($rt_suspending()) { break main; } $var6 = 0; $var4 = 22; $var6_0 = 21; while ($var6 < 2) { var$1 = $this.$worldObj; var$3 = $rt_s(1455); var$19 = $this.$posX; var$4 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$11 = Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16 - 0.5; var$20 = $this.$width1; var$19 = var$19 + var$11 * var$20; var$11 = $this.$posY; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$21 = var$11 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 * $this.$height2 - 0.25; var$22 = $this.$posZ; var$12 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$23 = var$22 + (Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * var$20; var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$12 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$13, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$20 = (Long_toNumber(Long_add(var$12, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * 2.0; var$12 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$22 = -(Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$12, $var6_0))))) * 1.1102230246251565E-16); var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$12, $var4))), 27); var$13 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$13; var$11 = (Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$13, $var6_0))))) * 1.1102230246251565E-16 - 0.5) * 2.0; $var2 = 0; var$4 = var$1.$worldAccesses; $var5 = $rt_compare($var2, var$4.$size0); if ($var5 < 0) { if ($var2 >= 0 && $var5 < 0) { var$4 = var$4.$array.data[$var2]; $ptr = 2; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var6 = $var6 + 1 | 0; } var$1 = $this.$worldObj; $var6 = var$1.$skylightSubtracted >= 4 ? 0 : 1; if ($var6 && !var$1.$isRemote) { $var7 = nms_Entity_getBrightness($this, 1.0); if ($var7 > 0.5) { var$1 = $this.$worldObj; var$11 = $this.$posX; $var4 = var$11 | 0; if (var$11 < $var4) $var4 = $var4 - 1 | 0; var$11 = $this.$posY; $var6_0 = var$11 | 0; if (var$11 < $var6_0) $var6_0 = $var6_0 - 1 | 0; var$11 = $this.$posZ; $var2 = var$11 | 0; if (var$11 < $var2) $var2 = $var2 - 1 | 0; $var5 = $var4 >> 4; $var6 = $var2 >> 4; var$1 = var$1.$chunkProvider; var$3 = var$1.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt($var5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var6), Long_create(4294967295, 0)), 32)); $var6 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); $var6 = $var6 ^ ($var6 >>> 20 | 0) ^ ($var6 >>> 12 | 0); $var3 = $var6 ^ ($var6 >>> 7 | 0) ^ ($var6 >>> 4 | 0); var$7 = var$3.$hashArray.data; var$3 = var$7[$var3 & (var$7.length - 1 | 0)]; bh: { while (var$3 !== null) { if (Long_eq(var$3.$key1, var$13)) { var$3 = var$3.$value6; break bh; } var$3 = var$3.$nextEntry0; } var$3 = null; } var$3 = var$3; if (var$3 === null) var$3 = var$1.$blankChunk; if (var$3.$canBlockSeeTheSky($var4 & 15, $var6_0, $var2 & 15)) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 30.0 < ($var7 - 0.4000000059604645) * 2.0) { $this.$entityToAttack = null; var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$isAggressive = 0; $ptr = 8; continue main; } } } } if (!nms_Entity_isWet($this)) { bi: { w: { if (!$this.$isImmuneToFire) { if ($this.$fire <= 0) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[128]; if (var$3 !== null) { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !jl_Integer_equals(var$3, var$4) ? 0 : 1) break; } var$1 = var$1.$next3; } } else { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 1) ? 0 : 1)) break w; } $var6 = 1; break bi; } } $var6 = 0; } if (!$var6) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[146]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; $var6 = var$1.$watchedObject.$value2 <= 0 ? 0 : 1; if ($var6 && !$this.$isAggressive) { var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = $var6_0 % 100 | 0; if ((($var6_0 - $var4 | 0) + 99 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; $var6_0 = Long_lo(Long_shru(var$10, 17)); } if (!$var4) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } } } $this.$isJumping = 0; var$1 = $this.$entityToAttack; if (var$1 !== null) nms_EntityLiving_faceEntity($this, var$1, 100.0, 100.0); if (!$this.$worldObj.$isRemote) { bj: { if (!$this.$isDead) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var6 = var$3.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var6) { var$4 = var$1.$key; if (var$3 !== var$4 && !jl_Integer_equals(var$3, var$4) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { $var6 = 1; break bj; } } $var6 = 0; } if ($var6) { var$1 = $this.$entityToAttack; if (var$1 === null) { var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$teleportDelay = 0; } else { if (var$1 instanceof nms_EntityPlayer) { var$1 = var$1; $ptr = 5; continue main; } var$1 = $this.$entityToAttack; var$11 = var$1.$posX - $this.$posX; var$19 = var$1.$posY - $this.$posY; var$20 = var$1.$posZ - $this.$posZ; if (var$11 * var$11 + var$19 * var$19 + var$20 * var$20 > 256.0) { $var2 = $this.$teleportDelay; $this.$teleportDelay = $var2 + 1 | 0; if ($var2 >= 30) { $ptr = 6; continue main; } } } } } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 4; continue main; } } $this.$entityToAttack = null; var$1 = $this.$dataWatcher; var$18 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[146]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var6_0 = var$16.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var6_0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var6_0) { var$4 = var$3.$key; if (var$16 !== var$4 && !(var$16 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6_0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$18.$value2 ? 1 : 0)) { var$4.$watchedObject = var$18; var$4.$watched = 1; var$1.$objectChanged = 1; } $this.$isAggressive = 0; $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var7, var$3, var$4, $var6, $var6_0, var$7, $var2, $var4, var$10, var$11, var$12, var$13, $var3, $var5, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr); }, nms_EntityEnderman_teleportRandomly = $this => { let $var3, var$2, var$3, var$4, $var1, $var5, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var1 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var3 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$posX; var$2 = $this.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$3, 22))), 27); var$3 = Long_and(Long_add(Long_mul(var$3, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; $var1 = $var3 + (Long_toNumber(Long_add(var$4, Long_fromInt(Long_lo(Long_shru(var$3, 21))))) * 1.1102230246251565E-16 - 0.5) * 64.0; $var3 = $this.$posY; var$3 = Long_and(Long_add(Long_mul(var$3, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; $var3 = $var3 + (Long_lo(Long_shr(Long_mul(Long_fromInt(64), Long_fromInt(Long_lo(Long_shru(var$3, 17)))), 31)) - 32 | 0); $var5 = $this.$posZ; var$4 = Long_and(Long_add(Long_mul(var$3, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$4; var$3 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$4, 22))), 27); var$7 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$7; $var5 = $var5 + (Long_toNumber(Long_add(var$3, Long_fromInt(Long_lo(Long_shru(var$7, 21))))) * 1.1102230246251565E-16 - 0.5) * 64.0; $ptr = 1; case 1: $tmp = nms_EntityEnderman_teleportTo($this, $var1, $var3, $var5); if ($rt_suspending()) { break main; } var$8 = $tmp; return var$8; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var3, var$2, var$3, var$4, $var1, $var5, var$7, var$8, $ptr); }, nms_EntityEnderman_teleportToEntity = ($this, $par1Entity) => { let $var9, $var2, var$4, var$5, $var5, $var7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();$var9 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = nms_Vec3_normalize(nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX - $par1Entity.$posX, $this.$boundingBox.$minY + $this.$height2 / 2.0 - $par1Entity.$posY + $par1Entity.$getEyeHeight(), $this.$posZ - $par1Entity.$posZ)); $var9 = $this.$posX; $var2 = $this.$rand; var$4 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$4; var$5 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$4, 22))), 27); var$4 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$4; $var5 = $var9 + (Long_toNumber(Long_add(var$5, Long_fromInt(Long_lo(Long_shru(var$4, 21))))) * 1.1102230246251565E-16 - 0.5) * 8.0 - $par1Entity.$xCoord * 16.0; $var7 = $this.$posY; var$5 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$5; $var7 = $var7 + (Long_lo(Long_shr(Long_mul(Long_fromInt(16), Long_fromInt(Long_lo(Long_shru(var$5, 17)))), 31)) - 8 | 0) - $par1Entity.$yCoord * 16.0; $var9 = $this.$posZ; var$4 = Long_and(Long_add(Long_mul(var$5, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$4; var$8 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$4, 22))), 27); var$4 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$4; $var9 = $var9 + (Long_toNumber(Long_add(var$8, Long_fromInt(Long_lo(Long_shru(var$4, 21))))) * 1.1102230246251565E-16 - 0.5) * 8.0 - $par1Entity.$zCoord * 16.0; $ptr = 1; case 1: $tmp = nms_EntityEnderman_teleportTo($this, $var5, $var7, $var9); if ($rt_suspending()) { break main; } var$9 = $tmp; return var$9; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $var9, $var2, var$4, var$5, $var5, $var7, var$8, var$9, $ptr); }, nms_EntityEnderman_teleportTo = ($this, $par1, $par3, $par5) => { let $var7, $var9, $var11, $var13, $var14, $var15, $var16, $var17, $var18, var$13, var$14, $var30, $var19, var$17, $var21, $var22, var$20, $var23, $var28, $var24, $var26, var$25, var$26, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();$var26 = $thread.pop();$var24 = $thread.pop();$var28 = $thread.pop();$var23 = $thread.pop();var$20 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();var$17 = $thread.pop();$var19 = $thread.pop();$var30 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = $this.$posX; $var9 = $this.$posY; $var11 = $this.$posZ; $this.$posX = $par1; $this.$posY = $par3; $this.$posZ = $par5; $var13 = 0; $var14 = $par1 | 0; if ($par1 < $var14) $var14 = $var14 - 1 | 0; $var15 = $par3 | 0; if ($par3 < $var15) $var15 = $var15 - 1 | 0; $var16 = $par5 | 0; if ($par5 < $var16) $var16 = $var16 - 1 | 0; if ($var15 >= 0 && $var15 < 256 ? 1 : 0) { $var17 = 0; while (!$var17 && $var15 > 0) { $var18 = nms_World_getBlockId($this.$worldObj, $var14, $var15 - 1 | 0, $var16); if ($var18) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var18].$blockMaterial.$blocksMovement()) { $var17 = 1; continue; } } $this.$posY = $this.$posY - 1.0; $var15 = $var15 + (-1) | 0; } if ($var17) { nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); var$13 = $this.$worldObj; var$14 = $this.$boundingBox; $ptr = 1; continue main; } } if (!$var13) { nms_Entity_setPosition($this, $var7, $var9, $var11); return 0; } $var30 = 128; $var18 = 0; $par3 = 127.0; $var16 = 24; $var15 = 22; $var17 = 21; while ($var18 < $var30) { $var19 = $var18 / $par3; var$13 = $this.$rand; var$17 = Long_and(Long_add(Long_mul(var$13.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$17; $var21 = (Long_lo(Long_shru(var$17, $var16)) / 1.6777216E7 - 0.5) * 0.20000000298023224; var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$17; $var22 = (Long_lo(Long_shru(var$17, $var16)) / 1.6777216E7 - 0.5) * 0.20000000298023224; var$20 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$20; $var23 = (Long_lo(Long_shru(var$20, $var16)) / 1.6777216E7 - 0.5) * 0.20000000298023224; $par1 = $var7 + ($this.$posX - $var7) * $var19; var$20 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$20; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$20, $var15))), 27); var$20 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$20; $par5 = Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$20, $var17))))) * 1.1102230246251565E-16 - 0.5; $var28 = $this.$width1; $var24 = $par1 + $par5 * $var28 * 2.0; $var26 = $var9 + ($this.$posY - $var9) * $var19; var$25 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$25; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$25, $var15))), 27); var$25 = Long_and(Long_add(Long_mul(var$25, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$25; $var26 = $var26 + Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$25, $var17))))) * 1.1102230246251565E-16 * $this.$height2; $par1 = $var11 + ($this.$posZ - $var11) * $var19; var$25 = Long_and(Long_add(Long_mul(var$25, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$25; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$25, $var15))), 27); var$20 = Long_and(Long_add(Long_mul(var$25, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$20; $var28 = $par1 + (Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$20, $var17))))) * 1.1102230246251565E-16 - 0.5) * $var28 * 2.0; var$13 = $this.$worldObj; var$14 = $rt_s(1455); $par1 = $var21; $par5 = $var22; $var19 = $var23; $var13 = 0; var$26 = var$13.$worldAccesses; $var14 = $rt_compare($var13, var$26.$size0); if ($var14 < 0) { if ($var13 >= 0 && $var14 < 0) { var$26 = var$26.$array.data[$var13]; $ptr = 2; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); } $var18 = $var18 + 1 | 0; } var$13 = $this.$worldObj; $var18 = 0; a: { while (true) { $var13 = $rt_compare($var18, var$13.$worldAccesses.$size0); if ($var13 >= 0) break; if ($var18 < 0) break a; if ($var13 >= 0) break a; $var18 = $var18 + 1 | 0; } nms_World_playSoundAtEntity(var$13, $this, $rt_s(1938), 1.0, 1.0); return 1; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); case 1: $tmp = nms_World_getCollidingBoundingBoxes(var$13, $this, var$14); if ($rt_suspending()) { break main; } var$13 = $tmp; $var18 = var$13.$size0 ? 0 : 1; if ($var18 && !nms_World_isAnyLiquid($this.$worldObj, $this.$boundingBox)) $var13 = 1; if (!$var13) { nms_Entity_setPosition($this, $var7, $var9, $var11); return 0; } $var30 = 128; $var18 = 0; $par3 = 127.0; $var16 = 24; $var15 = 22; $var17 = 21; while ($var18 < $var30) { $var19 = $var18 / $par3; var$13 = $this.$rand; var$17 = Long_and(Long_add(Long_mul(var$13.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$17; $var21 = (Long_lo(Long_shru(var$17, $var16)) / 1.6777216E7 - 0.5) * 0.20000000298023224; var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$17; $var22 = (Long_lo(Long_shru(var$17, $var16)) / 1.6777216E7 - 0.5) * 0.20000000298023224; var$20 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$20; $var23 = (Long_lo(Long_shru(var$20, $var16)) / 1.6777216E7 - 0.5) * 0.20000000298023224; $par1 = $var7 + ($this.$posX - $var7) * $var19; var$20 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$20; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$20, $var15))), 27); var$20 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$20; $par5 = Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$20, $var17))))) * 1.1102230246251565E-16 - 0.5; $var28 = $this.$width1; $var24 = $par1 + $par5 * $var28 * 2.0; $var26 = $var9 + ($this.$posY - $var9) * $var19; var$25 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$25; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$25, $var15))), 27); var$25 = Long_and(Long_add(Long_mul(var$25, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$25; $var26 = $var26 + Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$25, $var17))))) * 1.1102230246251565E-16 * $this.$height2; $par1 = $var11 + ($this.$posZ - $var11) * $var19; var$25 = Long_and(Long_add(Long_mul(var$25, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$25; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$25, $var15))), 27); var$20 = Long_and(Long_add(Long_mul(var$25, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$20; $var28 = $par1 + (Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$20, $var17))))) * 1.1102230246251565E-16 - 0.5) * $var28 * 2.0; var$13 = $this.$worldObj; var$14 = $rt_s(1455); $par1 = $var21; $par5 = $var22; $var19 = $var23; $var13 = 0; var$26 = var$13.$worldAccesses; $var14 = $rt_compare($var13, var$26.$size0); if ($var14 < 0) { if ($var13 >= 0 && $var14 < 0) { var$26 = var$26.$array.data[$var13]; $ptr = 2; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); } $var18 = $var18 + 1 | 0; } var$13 = $this.$worldObj; $var18 = 0; b: { while (true) { $var13 = $rt_compare($var18, var$13.$worldAccesses.$size0); if ($var13 >= 0) break; if ($var18 < 0) break b; if ($var13 >= 0) break b; $var18 = $var18 + 1 | 0; } nms_World_playSoundAtEntity(var$13, $this, $rt_s(1938), 1.0, 1.0); return 1; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); case 2: nms_RenderGlobal_doSpawnParticle(var$26, var$14, $var24, $var26, $var28, $par1, $par5, $var19); if ($rt_suspending()) { break main; } $var13 = $var13 + 1 | 0; while (true) { var$26 = var$13.$worldAccesses; $var14 = $rt_compare($var13, var$26.$size0); if ($var14 < 0) { if ($var13 >= 0 && $var14 < 0) { var$26 = var$26.$array.data[$var13]; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); } $var18 = $var18 + 1 | 0; if ($var18 >= $var30) break; $var19 = $var18 / $par3; var$13 = $this.$rand; var$17 = Long_and(Long_add(Long_mul(var$13.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$17; $var21 = (Long_lo(Long_shru(var$17, $var16)) / 1.6777216E7 - 0.5) * 0.20000000298023224; var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$17; $var22 = (Long_lo(Long_shru(var$17, $var16)) / 1.6777216E7 - 0.5) * 0.20000000298023224; var$20 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$20; $var23 = (Long_lo(Long_shru(var$20, $var16)) / 1.6777216E7 - 0.5) * 0.20000000298023224; $par1 = $var7 + ($this.$posX - $var7) * $var19; var$20 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$20; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$20, $var15))), 27); var$20 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$20; $par5 = Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$20, $var17))))) * 1.1102230246251565E-16 - 0.5; $var28 = $this.$width1; $var24 = $par1 + $par5 * $var28 * 2.0; $var26 = $var9 + ($this.$posY - $var9) * $var19; var$25 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$25; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$25, $var15))), 27); var$25 = Long_and(Long_add(Long_mul(var$25, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$25; $var26 = $var26 + Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$25, $var17))))) * 1.1102230246251565E-16 * $this.$height2; $par1 = $var11 + ($this.$posZ - $var11) * $var19; var$25 = Long_and(Long_add(Long_mul(var$25, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$25; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$25, $var15))), 27); var$20 = Long_and(Long_add(Long_mul(var$25, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$20; $var28 = $par1 + (Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$20, $var17))))) * 1.1102230246251565E-16 - 0.5) * $var28 * 2.0; var$13 = $this.$worldObj; var$14 = $rt_s(1455); $par1 = $var21; $par5 = $var22; $var19 = $var23; $var13 = 0; } var$13 = $this.$worldObj; $var18 = 0; c: { while (true) { $var13 = $rt_compare($var18, var$13.$worldAccesses.$size0); if ($var13 >= 0) break; if ($var18 < 0) break c; if ($var13 >= 0) break c; $var18 = $var18 + 1 | 0; } nms_World_playSoundAtEntity(var$13, $this, $rt_s(1938), 1.0, 1.0); return 1; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3, $par5, $var7, $var9, $var11, $var13, $var14, $var15, $var16, $var17, $var18, var$13, var$14, $var30, $var19, var$17, $var21, $var22, var$20, $var23, $var28, $var24, $var26, var$25, var$26, $ptr); }, nms_EntityEnderman_getLivingSound = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[146]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return !(var$1.$watchedObject.$value2 <= 0 ? 0 : 1) ? $rt_s(1939) : $rt_s(569); }, nms_EntityEnderman_getHurtSound = $this => { return $rt_s(1940); }, nms_EntityEnderman_getDeathSound = $this => { return $rt_s(1941); }, nms_EntityEnderman_getDropItemId = $this => { nms_Item_$callClinit(); return nms_Item_enderPearl.$itemID0; }, nms_EntityEnderman_dropFewItems = ($this, $par1, $par2) => { let $var3, var$4, var$5, var$6, $var4, $var5, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Item_$callClinit(); $var3 = nms_Item_enderPearl.$itemID0; if ($var3 > 0) { var$4 = $this.$rand; $par1 = 2 + $par2 | 0; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); $par2 = $par1 - 1 | 0; if (!($par1 & $par2)) $var4 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt(var$6)), 31)); else while (true) { $var4 = var$6 % $par1 | 0; if (((var$6 - $var4 | 0) + $par2 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); } $var5 = 0; var$9 = 0.0; $par2 = 138; if ($var5 < $var4) { var$10 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$10.$itemID = $var3; var$10.$stackSize = 1; var$10.$itemDamage = 0; var$11 = new nms_EntityItem; var$4 = $this.$worldObj; var$12 = $this.$posX; var$13 = $this.$posY + var$9; var$14 = $this.$posZ; $ptr = 1; continue main; } } return; case 1: nms_EntityItem__init_(var$11, var$4, var$12, var$13, var$14); if ($rt_suspending()) { break main; } var$15 = var$11.$dataWatcher; var$4 = var$15.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = ju_HashMap_entryByKey(var$4, jl_Integer_integerCache.data[$par2]); var$16 = var$4 === null ? null : var$4.$value1; if (!(var$10 !== var$16.$watchedObject ? 0 : 1)) { var$16.$watchedObject = var$10; var$16.$watched = 1; var$15.$objectChanged = 1; } var$15 = var$11.$dataWatcher; var$4 = var$15.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = ju_HashMap_entryByKey(var$4, jl_Integer_integerCache.data[$par2]); (var$4 === null ? null : var$4.$value1).$watched = 1; var$15.$objectChanged = 1; var$11.$delayBeforeCanPickup = 10; var$4 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$4, var$11); var$16 = var$4.$entityList; ju_HashMap_putImpl(var$16.$backingMap, var$11, var$16); if (!$par1) { var$4 = var$4.$entitySpawnQueue; ju_HashMap_putImpl(var$4.$backingMap, var$11, var$4); } $var5 = $var5 + 1 | 0; if ($var5 >= $var4) return; var$10 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$10.$itemID = $var3; var$10.$stackSize = 1; var$10.$itemDamage = 0; var$11 = new nms_EntityItem; var$4 = $this.$worldObj; var$12 = $this.$posX; var$13 = $this.$posY + var$9; var$14 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, var$5, var$6, $var4, $var5, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityEnderman_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; var$3 = $this.$dataWatcher; var$4 = jl_Byte_byteCache.data[129]; var$5 = var$3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[146]; if (var$6 === null) { var$7 = var$5.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$8 = var$6.$value0; var$9 = var$5.$elementData.data; var$7 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$8) { var$5 = var$7.$key; if (var$6 !== var$5 && !(var$6 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$6 = var$7 === null ? null : var$7.$value1; var$5 = var$6.$watchedObject; if (!(var$5 instanceof jl_Byte && var$5.$value2 == var$4.$value2 ? 1 : 0)) { var$6.$watchedObject = var$4; var$6.$watched = 1; var$3.$objectChanged = 1; } if ($par1DamageSource instanceof nms_EntityDamageSource && $par1DamageSource.$getEntity() instanceof nms_EntityPlayer) $this.$isAggressive = 1; if (!($par1DamageSource instanceof nms_EntityDamageSourceIndirect)) { if ($this.$invulnerable) return 0; $ptr = 1; continue main; } $this.$isAggressive = 0; $var3 = 0; if ($var3 >= 64) return 0; $ptr = 2; continue main; case 1: $tmp = nms_EntityLivingBase_attackEntityFrom($this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3) $var3 = 0; else { $par1DamageSource = $par1DamageSource.$getEntity(); if ($this.$riddenByEntity !== $par1DamageSource && $this.$ridingEntity !== $par1DamageSource) { if ($par1DamageSource !== $this) $this.$entityToAttack = $par1DamageSource; $var3 = 1; } else $var3 = 1; } return $var3; case 2: $tmp = nms_EntityEnderman_teleportRandomly($this); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8) return 1; $var3 = $var3 + 1 | 0; if ($var3 >= 64) return 0; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var3, $ptr); }, nms_EntityEnderman__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; var$1 = nle_ProfileUUID_fromString($rt_s(1942)); nms_EntityEnderman_attackingSpeedBoostModifierUUID = var$1; var$2 = new nms_AttributeModifier; var$2.$isSaved = 1; var$2.$id2 = var$1; var$2.$name3 = $rt_s(1943); var$2.$amount = 6.199999809265137; var$2.$operation = 0; if ($rt_s(1943) === $rt_s(18)) var$3 = 1; else if (!($rt_s(18) instanceof jl_String)) var$3 = 0; else { var$1 = $rt_s(18); var$3 = $rt_s(1943).$nativeString !== var$1.$nativeString ? 0 : 1; } if (var$3) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(1292); $rt_throw(var$1); } var$2.$isSaved = 0; nms_EntityEnderman_attackingSpeedBoostModifier = var$2; var$4 = $rt_createBooleanArray(256); var$5 = var$4.data; nms_EntityEnderman_carriableBlocks = var$4; nms_Block_$callClinit(); var$5[nms_Block_grass.$blockID] = 1; var$5[nms_Block_dirt.$blockID] = 1; var$5[nms_Block_sand.$blockID] = 1; var$5[nms_Block_gravel.$blockID] = 1; var$5[nms_Block_plantYellow.$blockID] = 1; var$5[nms_Block_plantRed.$blockID] = 1; var$5[nms_Block_mushroomBrown.$blockID] = 1; var$5[nms_Block_mushroomRed.$blockID] = 1; var$5[nms_Block_tnt.$blockID] = 1; var$5[nms_Block_cactus.$blockID] = 1; var$5[nms_Block_blockClay.$blockID] = 1; var$5[nms_Block_pumpkin.$blockID] = 1; var$5[nms_Block_melon.$blockID] = 1; var$5[nms_Block_mycelium.$blockID] = 1; }; function nms_RenderEnderman() { let a = this; nms_RenderLiving.call(a); a.$endermanModel = null; a.$rnd = null; } let nms_RenderEnderman_endermanEyesTexture = null, nms_RenderEnderman_endermanTextures = null, nms_RenderEnderman_terrain = null, nms_RenderEnderman_tex_eyes = null, nms_RenderEnderman_$callClinit = () => { nms_RenderEnderman_$callClinit = $rt_eraseClinit(nms_RenderEnderman); nms_RenderEnderman__clinit_(); }, nms_RenderEnderman__init_ = $this => { let var$1, var$2, var$3; nms_RenderEnderman_$callClinit(); var$1 = nms_ModelEnderman__init_(); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.5; var$1 = new nle_EaglercraftRandom; var$3 = Long_fromNumber(performance.now() * 1000000.0); var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = var$3; $this.$rnd = var$1; var$1 = $this.$mainModel; $this.$endermanModel = var$1; $this.$renderPassModel = var$1; }, nms_RenderEnderman__init_0 = () => { let var_0 = new nms_RenderEnderman(); nms_RenderEnderman__init_(var_0); return var_0; }, nms_RenderEnderman_renderEnderman = ($this, $par1EntityEnderman, $par2, $par4, $par6, $par8, $par9) => { let var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityEnderman = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $this.$endermanModel; var$8 = $par1EntityEnderman.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$10 = var$9.$value0; var$11 = var$8.$elementData.data; var$8 = var$11[var$10 & (var$11.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$10) { var$12 = var$8.$key; if (var$9 !== var$12 && !(var$9 === var$12 ? 1 : var$12 instanceof jl_Integer && var$12.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; var$7.$isCarrying = var$8.$watchedObject.$value2 <= 0 ? 0 : 1; var$8 = $this.$endermanModel; var$12 = $par1EntityEnderman.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[146]; if (var$7 === null) { var$12 = var$12.$elementData.data[0]; while (var$12 !== null && var$12.$key !== null) { var$12 = var$12.$next3; } } else { var$13 = var$7.$value0; var$11 = var$12.$elementData.data; var$12 = var$11[var$13 & (var$11.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$13) { var$9 = var$12.$key; if (var$7 !== var$9 && !(var$7 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } var$12 = var$12.$next3; } } var$12 = var$12 === null ? null : var$12.$value1; var$8.$isAttacking = var$12.$watchedObject.$value2 <= 0 ? 0 : 1; var$8 = $par1EntityEnderman.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[146]; if (var$12 === null) { var$9 = var$8.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$10 = var$12.$value0; var$11 = var$8.$elementData.data; var$9 = var$11[var$10 & (var$11.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$10) { var$8 = var$9.$key; if (var$12 !== var$8 && !(var$12 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$9 = var$9.$next3; } } var$8 = var$9 === null ? null : var$9.$value1; if (var$8.$watchedObject.$value2 <= 0 ? 0 : 1) { $par2 = $par2 + nle_EaglercraftRandom_nextGaussian($this.$rnd) * 0.02; $par6 = $par6 + nle_EaglercraftRandom_nextGaussian($this.$rnd) * 0.02; } $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityEnderman, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityEnderman, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityEnderman, $par2, $par4, $par6, $par8, $par9, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_RenderEnderman_renderCarrying = ($this, $par1EntityEnderman, $par2) => { let var$3, var$4, var$5, $var5, var$7, $var4, $var6, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1EntityEnderman = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $par1EntityEnderman.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$5 = var$3.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { $var5 = var$4.$value0; var$7 = var$3.$elementData.data; var$5 = var$7[$var5 & (var$7.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == $var5) { var$3 = var$5.$key; if (var$4 !== var$3 && !(var$4 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == $var5 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$3 = var$5 === null ? null : var$5.$value1; if (var$3.$watchedObject.$value2 <= 0) return; nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_glPushMatrix(); var$3 = nleg_EaglerAdapterGL30_deevis; var$3.$x = 0.0; var$3.$y = 0.6875; var$3.$z = (-0.75); var$3 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$3, var$3); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$3); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$3 = nleg_EaglerAdapterGL30_deevis; var$3.$x = 1.0; var$3.$y = 0.0; var$3.$z = 0.0; var$3 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, var$3, var$3); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$3); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$3 = nleg_EaglerAdapterGL30_deevis; var$3.$x = 0.0; var$3.$y = 1.0; var$3.$z = 0.0; var$3 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, var$3, var$3); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$3); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$3 = nleg_EaglerAdapterGL30_deevis; var$3.$x = (-0.5); var$3.$y = (-0.5); var$3.$z = 0.5; var$3 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$3, var$3); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$3); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } a: { $var4 = nms_Entity_getBrightnessForRender($par1EntityEnderman, $par2); $var5 = $var4 % 65536 | 0; $var6 = $var4 / 65536 | 0; $var4 = nms_OpenGlHelper_lightmapTexUnit; $par2 = $var5 / 1.0; var$10 = $var6 / 1.0; switch ($var4) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = $par2; nleg_EaglerAdapterGL30_tex1Y = var$10; break a; default: if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; jl_Object__init_(var$5); var$5.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$3); var$3.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$5); var$3.$sb = var$5; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break a; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = $par2; nleg_EaglerAdapterGL30_tex0Y = var$10; } $var4 = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorSerial = $var4; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_colorSerial = $var4 + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_TextureMap_$callClinit(); var$3 = nms_TextureMap_locationBlocksTexture; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$3); if ($rt_suspending()) { break main; } var$3 = $this.$renderBlocks; nms_Block_$callClinit(); var$7 = nms_Block_blocksList; var$5 = $par1EntityEnderman.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[144]; if (var$11 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { $var6 = var$11.$value0; var$12 = var$5.$elementData.data; var$5 = var$12[$var6 & (var$12.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == $var6) { var$4 = var$5.$key; if (var$11 !== var$4 && !(var$11 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$5 = var$5 === null ? null : var$5.$value1; var$5 = var$7.data[var$5.$watchedObject.$value2]; $par1EntityEnderman = $par1EntityEnderman.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[145]; if (var$11 === null) { $par1EntityEnderman = $par1EntityEnderman.$elementData.data[0]; while ($par1EntityEnderman !== null && $par1EntityEnderman.$key !== null) { $par1EntityEnderman = $par1EntityEnderman.$next3; } } else { $var6 = var$11.$value0; var$7 = $par1EntityEnderman.$elementData.data; $par1EntityEnderman = var$7[$var6 & (var$7.length - 1 | 0)]; while ($par1EntityEnderman !== null) { if ($par1EntityEnderman.$origKeyHash == $var6) { var$4 = $par1EntityEnderman.$key; if (var$11 !== var$4 && !(var$11 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } $par1EntityEnderman = $par1EntityEnderman.$next3; } } $var4 = ($par1EntityEnderman === null ? null : $par1EntityEnderman.$value1).$watchedObject.$value2; $par2 = 1.0; $ptr = 2; case 2: nms_RenderBlocks_renderBlockAsItem(var$3, var$5, $var4, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(32826); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityEnderman, $par2, var$3, var$4, var$5, $var5, var$7, $var4, $var6, var$10, var$11, var$12, $ptr); }, nms_RenderEnderman_renderEyes = ($this, $par1EntityEnderman, $par2, $par3) => { let var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityEnderman = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par2) return (-1); nms_RenderEnderman_$callClinit(); var$4 = nms_RenderEnderman_endermanEyesTexture; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$4); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glBlendFunc(1, 1); nleg_EaglerAdapterGL30_glDisable(2896); $par1EntityEnderman = $par1EntityEnderman.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[128]; if (var$5 === null) { $par1EntityEnderman = $par1EntityEnderman.$elementData.data[0]; while ($par1EntityEnderman !== null && $par1EntityEnderman.$key !== null) { $par1EntityEnderman = $par1EntityEnderman.$next3; } } else { var$6 = var$5.$value0; var$7 = $par1EntityEnderman.$elementData.data; $par1EntityEnderman = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par1EntityEnderman !== null) { if ($par1EntityEnderman.$origKeyHash == var$6) { var$4 = $par1EntityEnderman.$key; if (var$5 !== var$4 && !jl_Integer_equals(var$5, var$4) ? 0 : 1) break; } $par1EntityEnderman = $par1EntityEnderman.$next3; } } $par1EntityEnderman = $par1EntityEnderman === null ? null : $par1EntityEnderman.$value1; if (!(!($par1EntityEnderman.$watchedObject.$value2 & 32) ? 0 : 1)) { if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } } else if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } a: { switch (nms_OpenGlHelper_lightmapTexUnit) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = 61680.0; nleg_EaglerAdapterGL30_tex1Y = 0.0; break a; default: if (jl_System_errCache === null) { $par1EntityEnderman = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; jl_Object__init_(var$4); var$4.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityEnderman); $par1EntityEnderman.$out0 = var$4; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$4); $par1EntityEnderman.$sb = var$4; $par1EntityEnderman.$buffer0 = $rt_createCharArray(32); $par1EntityEnderman.$autoFlush = 0; $par1EntityEnderman.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityEnderman; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break a; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = 61680.0; nleg_EaglerAdapterGL30_tex0Y = 0.0; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityEnderman, $par2, $par3, var$4, var$5, var$6, var$7, $ptr); }, nms_RenderEnderman_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; $ptr = 1; case 1: nms_RenderEnderman_renderEnderman($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderEnderman_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: $tmp = nms_RenderEnderman_renderEyes($this, $par1EntityLivingBase, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $ptr); }, nms_RenderEnderman_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderEnderman_$callClinit(); $par1EntityLiving = nms_RenderEnderman_endermanTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderEnderman_renderEquippedItems = ($this, $par1EntityLivingBase, $par2) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: nms_RenderEnderman_renderCarrying($this, $par1EntityLivingBase, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $ptr); }, nms_RenderEnderman_getEntityTexture = ($this, $par1Entity) => { nms_RenderEnderman_$callClinit(); return nms_RenderEnderman_endermanTextures; }, nms_RenderEnderman_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderEnderman_renderEnderman($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderEnderman__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1944); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderEnderman_endermanEyesTexture = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1945); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderEnderman_endermanTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1180); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderEnderman_terrain = var$1; nms_RenderEnderman_tex_eyes = nms_RenderEnderman_endermanEyesTexture; }, nms_EntityGolem = $rt_classWithoutFields(nms_EntityCreature), nms_EntityGolem_fall = ($this, $par1) => { return; }, nms_EntityGolem_getLivingSound = $this => { return $rt_s(1946); }, nms_EntityGolem_getHurtSound = $this => { return $rt_s(1946); }, nms_EntityGolem_getDeathSound = $this => { return $rt_s(1946); }, nms_EntityGolem_getTalkInterval = $this => { return 120; }, nms_EntityGolem_canDespawn = $this => { return 0; }, nms_IRangedAttackMob = $rt_classWithoutFields(0), nms_EntitySnowman = $rt_classWithoutFields(nms_EntityGolem), nms_EntitySnowman__init_ = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; var$2 = 0.4000000059604645; var$3 = 1.7999999523162842; $ptr = 1; case 1: nms_Entity_setSize($this, var$2, var$3); if ($rt_suspending()) { break main; } $this.$navigator.$avoidsWater = 1; $par1World = $this.$tasks0; var$4 = new nms_EntityAIArrowAttack; var$4.$rangedAttackTime = (-1); if (!($this instanceof nms_EntityLivingBase)) { $par1World = new jl_IllegalArgumentException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $par1World.$message = $rt_s(1947); $rt_throw($par1World); } var$4.$rangedAttackEntityHost = $this; var$4.$entityHost = $this; var$4.$entityMoveSpeed = 1.25; var$4.$field_96561_g = 20; var$4.$maxRangedAttackTime = 20; var$4.$field_96562_i = 10.0; var$4.$field_82642_h = 100.0; var$4.$mutexBits = 3; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 1; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIWander; var$4.$entity = $this; var$4.$speed = 1.0; var$4.$mutexBits = 1; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 2; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$7[var$9] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIWatchClosest; var$4.$theWatcher = $this; var$4.$watchedClass = $rt_cls(nms_EntityPlayer); var$4.$maxDistanceForPlayer = 6.0; var$4.$field_75331_e = 0.019999999552965164; var$4.$mutexBits = 2; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 3; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAILookIdle; var$4.$idleEntity = $this; var$4.$mutexBits = 3; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 4; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; var$4 = $this.$targetTasks; var$6 = new nms_EntityAINearestAttackableTarget; $par1World = nms_IMob_mobSelector; var$6.$taskOwner = $this; var$6.$shouldCheckSight = 1; var$6.$nearbyOnly = 0; var$6.$targetClass = $rt_cls(nms_EntityLiving); var$6.$targetChance = 0; var$5 = new nms_EntityAINearestAttackableTargetSorter; var$5.$theEntity5 = $this; var$6.$theNearestAttackableTargetSorter = var$5; var$6.$mutexBits = 1; var$5 = new nms_EntityAINearestAttackableTargetSelector; var$5.$field_111102_d = var$6; var$5.$field_111103_c = $par1World; var$6.$targetEntitySelector = var$5; var$5 = var$4.$taskEntries; $par1World = new nms_EntityAITaskEntry; $par1World.$tasks = var$4; $par1World.$priority = 1; $par1World.$action = var$6; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = $par1World; var$5.$modCount = var$5.$modCount + 1 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_EntitySnowman__init_0 = var_0 => { let var_1 = new nms_EntitySnowman(); nms_EntitySnowman__init_(var_1, var_0); return var_1; }, nms_EntitySnowman_isAIEnabled = $this => { return 1; }, nms_EntitySnowman_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (4.0 !== var$3.$baseValue) { var$3.$baseValue = 4.0; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break b; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.20000000298023224 !== var$1.$baseValue) { var$1.$baseValue = 0.20000000298023224; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntitySnowman_onLivingUpdate = $this => { let var$1, var$2, var$3, $var1, $var2, $var3, var$7, var$8, var$9, var$10, var$11, var$12, $var4, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();$var4 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } if (nms_Entity_isWet($this)) { var$1 = nms_DamageSource_drown; var$2 = 1.0; $ptr = 2; continue main; } var$3 = $this.$posX; $var1 = var$3 | 0; if (var$3 < $var1) $var1 = $var1 - 1 | 0; var$3 = $this.$posZ; $var2 = var$3 | 0; if (var$3 < $var2) $var2 = $var2 - 1 | 0; var$1 = $this.$worldObj; $var3 = $var1 >> 4; var$7 = $var2 >> 4; var$8 = var$1.$chunkProvider; var$9 = var$8.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), 32)); var$7 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); var$7 = var$7 ^ (var$7 >>> 20 | 0) ^ (var$7 >>> 12 | 0); var$11 = var$7 ^ (var$7 >>> 7 | 0) ^ (var$7 >>> 4 | 0); var$12 = var$9.$hashArray.data; var$9 = var$12[var$11 & (var$12.length - 1 | 0)]; a: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$10)) { var$9 = var$9.$value6; break a; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$8.$blankChunk; var$1 = var$9 === null ? var$1.$provider.$worldChunkMgr.$getBiomeGenAt($var1, $var2) : nms_Chunk_getBiomeGenForWorldCoords(var$9, $var1 & 15, $var2 & 15, var$1.$provider.$worldChunkMgr); if (var$1.$temperature > 1.0) { var$1 = nms_DamageSource_onFire; var$2 = 1.0; $ptr = 3; continue main; } $var1 = 0; while ($var1 < 4) { var$3 = $this.$posX + ((($var1 % 2 | 0) * 2 | 0) - 1 | 0) * 0.25; var$11 = var$3 | 0; if (var$3 < var$11) var$11 = var$11 - 1 | 0; var$3 = $this.$posY; $var3 = var$3 | 0; if (var$3 < $var3) $var3 = $var3 - 1 | 0; var$3 = $this.$posZ + (((($var1 / 2 | 0) % 2 | 0) * 2 | 0) - 1 | 0) * 0.25; $var4 = var$3 | 0; if (var$3 < $var4) $var4 = $var4 - 1 | 0; if (!nms_World_getBlockId($this.$worldObj, var$11, $var3, $var4)) { var$1 = $this.$worldObj; var$7 = var$11 >> 4; $var2 = $var4 >> 4; var$8 = var$1.$chunkProvider; var$9 = var$8.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var2), Long_create(4294967295, 0)), 32)); $var2 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); $var2 = $var2 ^ ($var2 >>> 20 | 0) ^ ($var2 >>> 12 | 0); var$14 = $var2 ^ ($var2 >>> 7 | 0) ^ ($var2 >>> 4 | 0); var$12 = var$9.$hashArray.data; var$9 = var$12[var$14 & (var$12.length - 1 | 0)]; b: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$10)) { var$9 = var$9.$value6; break b; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$8.$blankChunk; if ((var$9 === null ? var$1.$provider.$worldChunkMgr.$getBiomeGenAt(var$11, $var4) : nms_Chunk_getBiomeGenForWorldCoords(var$9, var$11 & 15, $var4 & 15, var$1.$provider.$worldChunkMgr)).$temperature < 0.800000011920929) { nms_Block_$callClinit(); if (nms_Block_snow.$canPlaceBlockAt($this.$worldObj, var$11, $var3, $var4)) { var$1 = $this.$worldObj; $var2 = nms_Block_snow.$blockID; var$7 = 0; var$14 = 3; $ptr = 4; continue main; } } } $var1 = $var1 + 1 | 0; } return; case 2: nms_EntityLivingBase_attackEntityFrom($this, var$1, var$2); if ($rt_suspending()) { break main; } var$3 = $this.$posX; $var1 = var$3 | 0; if (var$3 < $var1) $var1 = $var1 - 1 | 0; var$3 = $this.$posZ; $var2 = var$3 | 0; if (var$3 < $var2) $var2 = $var2 - 1 | 0; var$1 = $this.$worldObj; $var3 = $var1 >> 4; var$7 = $var2 >> 4; var$8 = var$1.$chunkProvider; var$9 = var$8.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), 32)); var$7 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); var$7 = var$7 ^ (var$7 >>> 20 | 0) ^ (var$7 >>> 12 | 0); var$11 = var$7 ^ (var$7 >>> 7 | 0) ^ (var$7 >>> 4 | 0); var$12 = var$9.$hashArray.data; var$9 = var$12[var$11 & (var$12.length - 1 | 0)]; c: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$10)) { var$9 = var$9.$value6; break c; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$8.$blankChunk; var$1 = var$9 === null ? var$1.$provider.$worldChunkMgr.$getBiomeGenAt($var1, $var2) : nms_Chunk_getBiomeGenForWorldCoords(var$9, $var1 & 15, $var2 & 15, var$1.$provider.$worldChunkMgr); if (var$1.$temperature > 1.0) { var$1 = nms_DamageSource_onFire; var$2 = 1.0; $ptr = 3; continue main; } $var1 = 0; while ($var1 < 4) { var$3 = $this.$posX + ((($var1 % 2 | 0) * 2 | 0) - 1 | 0) * 0.25; var$11 = var$3 | 0; if (var$3 < var$11) var$11 = var$11 - 1 | 0; var$3 = $this.$posY; $var3 = var$3 | 0; if (var$3 < $var3) $var3 = $var3 - 1 | 0; var$3 = $this.$posZ + (((($var1 / 2 | 0) % 2 | 0) * 2 | 0) - 1 | 0) * 0.25; $var4 = var$3 | 0; if (var$3 < $var4) $var4 = $var4 - 1 | 0; if (!nms_World_getBlockId($this.$worldObj, var$11, $var3, $var4)) { var$1 = $this.$worldObj; var$7 = var$11 >> 4; $var2 = $var4 >> 4; var$8 = var$1.$chunkProvider; var$9 = var$8.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var2), Long_create(4294967295, 0)), 32)); $var2 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); $var2 = $var2 ^ ($var2 >>> 20 | 0) ^ ($var2 >>> 12 | 0); var$14 = $var2 ^ ($var2 >>> 7 | 0) ^ ($var2 >>> 4 | 0); var$12 = var$9.$hashArray.data; var$9 = var$12[var$14 & (var$12.length - 1 | 0)]; d: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$10)) { var$9 = var$9.$value6; break d; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$8.$blankChunk; if ((var$9 === null ? var$1.$provider.$worldChunkMgr.$getBiomeGenAt(var$11, $var4) : nms_Chunk_getBiomeGenForWorldCoords(var$9, var$11 & 15, $var4 & 15, var$1.$provider.$worldChunkMgr)).$temperature < 0.800000011920929) { nms_Block_$callClinit(); if (nms_Block_snow.$canPlaceBlockAt($this.$worldObj, var$11, $var3, $var4)) { var$1 = $this.$worldObj; $var2 = nms_Block_snow.$blockID; var$7 = 0; var$14 = 3; $ptr = 4; continue main; } } } $var1 = $var1 + 1 | 0; } return; case 3: nms_EntityLivingBase_attackEntityFrom($this, var$1, var$2); if ($rt_suspending()) { break main; } $var1 = 0; while ($var1 < 4) { var$3 = $this.$posX + ((($var1 % 2 | 0) * 2 | 0) - 1 | 0) * 0.25; var$11 = var$3 | 0; if (var$3 < var$11) var$11 = var$11 - 1 | 0; var$3 = $this.$posY; $var3 = var$3 | 0; if (var$3 < $var3) $var3 = $var3 - 1 | 0; var$3 = $this.$posZ + (((($var1 / 2 | 0) % 2 | 0) * 2 | 0) - 1 | 0) * 0.25; $var4 = var$3 | 0; if (var$3 < $var4) $var4 = $var4 - 1 | 0; if (!nms_World_getBlockId($this.$worldObj, var$11, $var3, $var4)) { var$1 = $this.$worldObj; var$7 = var$11 >> 4; $var2 = $var4 >> 4; var$8 = var$1.$chunkProvider; var$9 = var$8.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var2), Long_create(4294967295, 0)), 32)); $var2 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); $var2 = $var2 ^ ($var2 >>> 20 | 0) ^ ($var2 >>> 12 | 0); var$14 = $var2 ^ ($var2 >>> 7 | 0) ^ ($var2 >>> 4 | 0); var$12 = var$9.$hashArray.data; var$9 = var$12[var$14 & (var$12.length - 1 | 0)]; e: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$10)) { var$9 = var$9.$value6; break e; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$8.$blankChunk; if ((var$9 === null ? var$1.$provider.$worldChunkMgr.$getBiomeGenAt(var$11, $var4) : nms_Chunk_getBiomeGenForWorldCoords(var$9, var$11 & 15, $var4 & 15, var$1.$provider.$worldChunkMgr)).$temperature < 0.800000011920929) { nms_Block_$callClinit(); if (nms_Block_snow.$canPlaceBlockAt($this.$worldObj, var$11, $var3, $var4)) { var$1 = $this.$worldObj; $var2 = nms_Block_snow.$blockID; var$7 = 0; var$14 = 3; $ptr = 4; continue main; } } } $var1 = $var1 + 1 | 0; } return; case 4: nms_World_setBlock(var$1, var$11, $var3, $var4, $var2, var$7, var$14); if ($rt_suspending()) { break main; } while (true) { $var1 = $var1 + 1 | 0; if ($var1 >= 4) break; var$3 = $this.$posX + ((($var1 % 2 | 0) * 2 | 0) - 1 | 0) * 0.25; var$11 = var$3 | 0; if (var$3 < var$11) var$11 = var$11 - 1 | 0; var$3 = $this.$posY; $var3 = var$3 | 0; if (var$3 < $var3) $var3 = $var3 - 1 | 0; var$3 = $this.$posZ + (((($var1 / 2 | 0) % 2 | 0) * 2 | 0) - 1 | 0) * 0.25; $var4 = var$3 | 0; if (var$3 < $var4) $var4 = $var4 - 1 | 0; if (nms_World_getBlockId($this.$worldObj, var$11, $var3, $var4)) continue; var$1 = $this.$worldObj; var$7 = var$11 >> 4; $var2 = $var4 >> 4; var$8 = var$1.$chunkProvider; var$9 = var$8.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var2), Long_create(4294967295, 0)), 32)); $var2 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); $var2 = $var2 ^ ($var2 >>> 20 | 0) ^ ($var2 >>> 12 | 0); var$14 = $var2 ^ ($var2 >>> 7 | 0) ^ ($var2 >>> 4 | 0); var$12 = var$9.$hashArray.data; var$9 = var$12[var$14 & (var$12.length - 1 | 0)]; e: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$10)) { var$9 = var$9.$value6; break e; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$8.$blankChunk; if ((var$9 === null ? var$1.$provider.$worldChunkMgr.$getBiomeGenAt(var$11, $var4) : nms_Chunk_getBiomeGenForWorldCoords(var$9, var$11 & 15, $var4 & 15, var$1.$provider.$worldChunkMgr)).$temperature >= 0.800000011920929) continue; nms_Block_$callClinit(); if (!nms_Block_snow.$canPlaceBlockAt($this.$worldObj, var$11, $var3, $var4)) continue; else { var$1 = $this.$worldObj; $var2 = nms_Block_snow.$blockID; var$7 = 0; var$14 = 3; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $var1, $var2, $var3, var$7, var$8, var$9, var$10, var$11, var$12, $var4, var$14, $ptr); }, nms_EntitySnowman_getDropItemId = $this => { nms_Item_$callClinit(); return nms_Item_snowball.$itemID0; }, nms_EntitySnowman_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, $var3, $var4, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var3 = Long_lo(Long_shr(Long_mul(Long_fromInt(16), Long_fromInt(Long_lo(Long_shru(var$4, 17)))), 31)); $var4 = 0; var$7 = 0.0; var$8 = 138; if ($var4 >= $var3) return; nms_Item_$callClinit(); $par2 = nms_Item_snowball.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$9 = new nms_EntityItem; var$10 = $this.$worldObj; var$11 = $this.$posX; var$12 = $this.$posY + var$7; var$13 = $this.$posZ; $ptr = 1; case 1: nms_EntityItem__init_(var$9, var$10, var$11, var$12, var$13); if ($rt_suspending()) { break main; } var$14 = var$9.$dataWatcher; var$10 = var$14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = ju_HashMap_entryByKey(var$10, jl_Integer_integerCache.data[var$8]); var$15 = var$10 === null ? null : var$10.$value1; if (!(var$3 !== var$15.$watchedObject ? 0 : 1)) { var$15.$watchedObject = var$3; var$15.$watched = 1; var$14.$objectChanged = 1; } var$15 = var$9.$dataWatcher; var$3 = var$15.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$8]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$15.$objectChanged = 1; var$9.$delayBeforeCanPickup = 10; var$15 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$15, var$9); var$3 = var$15.$entityList; ju_HashMap_putImpl(var$3.$backingMap, var$9, var$3); if (!$par1) { var$3 = var$15.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$9, var$3); } $var4 = $var4 + 1 | 0; if ($var4 >= $var3) return; nms_Item_$callClinit(); $par2 = nms_Item_snowball.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$9 = new nms_EntityItem; var$10 = $this.$worldObj; var$11 = $this.$posX; var$12 = $this.$posY + var$7; var$13 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, $var3, $var4, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_EntitySnowman_attackEntityWithRangedAttack = ($this, $par1EntityLivingBase, $par2) => { let $var3, var$4, $var4, $var6, $var8, var$8, $var10, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();$var10 = $thread.pop();var$8 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = new nms_EntitySnowball; var$4 = $this.$worldObj; $ptr = 1; case 1: nms_EntityThrowable__init_($var3, var$4, $this); if ($rt_suspending()) { break main; } $var4 = $par1EntityLivingBase.$posX - $this.$posX; $var6 = $par1EntityLivingBase.$posY + $par1EntityLivingBase.$getEyeHeight() - 1.100000023841858 - $var3.$posY; $var8 = $par1EntityLivingBase.$posZ - $this.$posZ; nms_EntityThrowable_setThrowableHeading($var3, $var4, $var6 + jl_Math_sqrt($var4 * $var4 + $var8 * $var8) * 0.20000000298023224, $var8, 1.600000023841858, 12.0); var$4 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$8; $var10 = 1.0 / (Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929); nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1501), 1.0, $var10); $par1EntityLivingBase = $this.$worldObj; var$10 = nms_World_spawnEntityInWorld($par1EntityLivingBase, $var3); var$4 = $par1EntityLivingBase.$entityList; ju_HashMap_putImpl(var$4.$backingMap, $var3, var$4); if (!var$10) { $par1EntityLivingBase = $par1EntityLivingBase.$entitySpawnQueue; ju_HashMap_putImpl($par1EntityLivingBase.$backingMap, $var3, $par1EntityLivingBase); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $var3, var$4, $var4, $var6, $var8, var$8, $var10, var$10, $ptr); }; function nms_RenderSnowMan() { nms_RenderLiving.call(this); this.$snowmanModel = null; } let nms_RenderSnowMan_snowManTextures = null, nms_RenderSnowMan_$callClinit = () => { nms_RenderSnowMan_$callClinit = $rt_eraseClinit(nms_RenderSnowMan); nms_RenderSnowMan__clinit_(); }, nms_RenderSnowMan__init_ = $this => { let var$1, var$2; nms_RenderSnowMan_$callClinit(); var$1 = nms_ModelSnowMan__init_0(); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.5; var$1 = var$1; $this.$snowmanModel = var$1; $this.$renderPassModel = var$1; }, nms_RenderSnowMan__init_0 = () => { let var_0 = new nms_RenderSnowMan(); nms_RenderSnowMan__init_(var_0); return var_0; }, nms_RenderSnowMan_renderSnowmanPumpkin = ($this, $par1EntitySnowman, $par2) => { let $var3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntitySnowman = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = new nms_ItemStack; nms_Block_$callClinit(); var$4 = nms_Block_pumpkin; nms_ItemStack_$callClinit(); var$5 = var$4.$blockID; $var3.$itemID = var$5; $var3.$stackSize = 1; $var3.$itemDamage = 0; nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$5].$itemID0 >= 256) return; nleg_EaglerAdapterGL30_glPushMatrix(); nms_ModelRenderer_postRender($this.$snowmanModel.$head5, 0.0625); if (nms_RenderBlocks_renderItemIn3d(nms_Block_blocksList.data[$var3.$itemID].$getRenderType())) { var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = (-0.34375); var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); var$4.$sb = var$6; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.5707963705062866, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); var$4.$sb = var$6; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.625; var$4.$y = (-0.625); var$4.$z = 0.625; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$6, 16); var$4.$sb = var$6; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } var$4 = $this.$renderManager.$itemRenderer; var$7 = 0; $ptr = 1; case 1: nms_ItemRenderer_renderItem(var$4, $par1EntitySnowman, $var3, var$7); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntitySnowman, $par2, $var3, var$4, var$5, var$6, var$7, $ptr); }, nms_RenderSnowMan_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderSnowMan_$callClinit(); $par1EntityLiving = nms_RenderSnowMan_snowManTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderSnowMan_renderEquippedItems = ($this, $par1EntityLivingBase, $par2) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: nms_RenderSnowMan_renderSnowmanPumpkin($this, $par1EntityLivingBase, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $ptr); }, nms_RenderSnowMan_getEntityTexture = ($this, $par1Entity) => { nms_RenderSnowMan_$callClinit(); return nms_RenderSnowMan_snowManTextures; }, nms_RenderSnowMan__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1948); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderSnowMan_snowManTextures = var$1; }; function nms_EntitySkeleton() { let a = this; nms_EntityMob.call(a); a.$aiArrowAttack = null; a.$aiAttackOnCollide = null; } let nms_EntitySkeleton__init_ = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); var$2 = new nms_ChunkCoordinates; var$2.$posX0 = 0; var$2.$posY0 = 0; var$2.$posZ0 = 0; $this.$homePosition = var$2; $this.$maximumHomeDistance = (-1.0); var$2 = new nms_EntityAIMoveTowardsRestriction; var$2.$theEntity0 = $this; var$2.$movementSpeed = 1.0; var$2.$mutexBits = 1; $this.$field_110178_bs = var$2; $this.$experienceValue = 5; var$2 = new nms_EntityAIArrowAttack; var$2.$rangedAttackTime = (-1); if (!($this instanceof nms_EntityLivingBase)) { $par1World = new jl_IllegalArgumentException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $par1World.$message = $rt_s(1947); $rt_throw($par1World); } var$2.$rangedAttackEntityHost = $this; var$2.$entityHost = $this; var$2.$entityMoveSpeed = 1.0; var$2.$field_96561_g = 20; var$2.$maxRangedAttackTime = 60; var$2.$field_96562_i = 15.0; var$2.$field_82642_h = 225.0; var$2.$mutexBits = 3; $this.$aiArrowAttack = var$2; var$2 = new nms_EntityAIAttackOnCollide; var$2.$attacker = $this; var$2.$worldObj8 = $this.$worldObj; var$2.$field_75440_e = 1.2; var$2.$longMemory = 0; var$2.$mutexBits = 3; var$2.$classTarget = $rt_cls(nms_EntityPlayer); $this.$aiAttackOnCollide = var$2; var$2 = $this.$tasks0; var$3 = new nms_EntityAISwimming; var$3.$theEntity2 = $this; var$3.$mutexBits = 4; $this.$navigator.$canSwim = 1; var$4 = var$2.$taskEntries; var$5 = new nms_EntityAITaskEntry; var$5.$tasks = var$2; var$5.$priority = 1; var$5.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$6 = var$4.$array.data; var$7 = var$4.$size0; var$4.$size0 = var$7 + 1 | 0; var$6[var$7] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $this.$tasks0; var$3 = new nms_EntityAIRestrictSun; var$3.$theEntity11 = $this; var$4 = var$2.$taskEntries; var$5 = new nms_EntityAITaskEntry; var$5.$tasks = var$2; var$5.$priority = 2; var$5.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$6 = var$4.$array.data; var$7 = var$4.$size0; var$4.$size0 = var$7 + 1 | 0; var$6[var$7] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $this.$tasks0; var$3 = new nms_EntityAIFleeSun; var$3.$theCreature = $this; var$3.$movementSpeed1 = 1.0; var$3.$theWorld3 = $this.$worldObj; var$3.$mutexBits = 1; var$4 = var$2.$taskEntries; var$5 = new nms_EntityAITaskEntry; var$5.$tasks = var$2; var$5.$priority = 3; var$5.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$6 = var$4.$array.data; var$7 = var$4.$size0; var$4.$size0 = var$7 + 1 | 0; var$6[var$7] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $this.$tasks0; var$3 = new nms_EntityAIWander; var$3.$entity = $this; var$3.$speed = 1.0; var$3.$mutexBits = 1; var$4 = var$2.$taskEntries; var$5 = new nms_EntityAITaskEntry; var$5.$tasks = var$2; var$5.$priority = 5; var$5.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$6 = var$4.$array.data; var$7 = var$4.$size0; var$4.$size0 = var$7 + 1 | 0; var$6[var$7] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $this.$tasks0; var$3 = new nms_EntityAIWatchClosest; var$3.$theWatcher = $this; var$3.$watchedClass = $rt_cls(nms_EntityPlayer); var$3.$maxDistanceForPlayer = 8.0; var$3.$field_75331_e = 0.019999999552965164; var$3.$mutexBits = 2; var$4 = var$2.$taskEntries; var$5 = new nms_EntityAITaskEntry; var$5.$tasks = var$2; var$5.$priority = 6; var$5.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$6 = var$4.$array.data; var$7 = var$4.$size0; var$4.$size0 = var$7 + 1 | 0; var$6[var$7] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $this.$tasks0; var$3 = new nms_EntityAILookIdle; var$3.$idleEntity = $this; var$3.$mutexBits = 3; var$4 = var$2.$taskEntries; var$5 = new nms_EntityAITaskEntry; var$5.$tasks = var$2; var$5.$priority = 6; var$5.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$6 = var$4.$array.data; var$7 = var$4.$size0; var$4.$size0 = var$7 + 1 | 0; var$6[var$7] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $this.$targetTasks; var$3 = new nms_EntityAIHurtByTarget; var$3.$taskOwner = $this; var$3.$shouldCheckSight = 0; var$3.$nearbyOnly = 0; var$3.$entityCallsForHelp = 0; var$3.$mutexBits = 1; var$4 = var$2.$taskEntries; var$5 = new nms_EntityAITaskEntry; var$5.$tasks = var$2; var$5.$priority = 1; var$5.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$6 = var$4.$array.data; var$7 = var$4.$size0; var$4.$size0 = var$7 + 1 | 0; var$6[var$7] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $this.$targetTasks; var$3 = new nms_EntityAINearestAttackableTarget; var$4 = null; var$3.$taskOwner = $this; var$3.$shouldCheckSight = 1; var$3.$nearbyOnly = 0; var$3.$targetClass = $rt_cls(nms_EntityPlayer); var$3.$targetChance = 0; var$5 = new nms_EntityAINearestAttackableTargetSorter; var$5.$theEntity5 = $this; var$3.$theNearestAttackableTargetSorter = var$5; var$3.$mutexBits = 1; var$5 = new nms_EntityAINearestAttackableTargetSelector; var$5.$field_111102_d = var$3; var$5.$field_111103_c = var$4; var$3.$targetEntitySelector = var$5; var$4 = var$2.$taskEntries; var$5 = new nms_EntityAITaskEntry; var$5.$tasks = var$2; var$5.$priority = 2; var$5.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$6 = var$4.$array.data; var$7 = var$4.$size0; var$4.$size0 = var$7 + 1 | 0; var$6[var$7] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; if ($par1World !== null && !$par1World.$isRemote) { $ptr = 1; continue main; } return; case 1: nms_EntitySkeleton_setCombatTask($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_EntitySkeleton__init_0 = var_0 => { let var_1 = new nms_EntitySkeleton(); nms_EntitySkeleton__init_(var_1, var_0); return var_1; }, nms_EntitySkeleton_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_attackDamage); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.25 !== var$1.$baseValue) { var$1.$baseValue = 0.25; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntitySkeleton_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); var$2 = $this.$dataWatcher; var$1 = new jl_Byte; var$1.$value2 = 0; nms_DataWatcher_addObject(var$2, 13, var$1); }, nms_EntitySkeleton_isAIEnabled = $this => { return 1; }, nms_EntitySkeleton_getLivingSound = $this => { return $rt_s(1949); }, nms_EntitySkeleton_getHurtSound = $this => { return $rt_s(1950); }, nms_EntitySkeleton_getDeathSound = $this => { return $rt_s(1951); }, nms_EntitySkeleton_playStepSound = ($this, $par1, $par2, $par3, $par4) => { nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1952), 0.15000000596046448, 1.0); }, nms_EntitySkeleton_attackEntityAsMob = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_EntityMob_attackEntityAsMob($this, $par1Entity); if ($rt_suspending()) { break main; } var$2 = $tmp; if (!var$2) return 0; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[141]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (var$3.$watchedObject.$value2 == 1 && $par1Entity instanceof nms_EntityLivingBase) { var$3 = $par1Entity; var$7 = new nms_PotionEffect; nms_Potion_$callClinit(); var$7.$potionID = nms_Potion_wither.$id1; var$7.$duration = 200; var$7.$amplifier = 0; var$7.$isAmbient = 0; var$3.$addPotionEffect(var$7); } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_EntitySkeleton_getCreatureAttribute = $this => { return nms_EnumCreatureAttribute_UNDEAD; }, nms_EntitySkeleton_onLivingUpdate = $this => { let var$1, $var2, $var1, var$4, var$5, var$6, var$7, var$8, var$9, $var3, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var3 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var1 = $thread.pop();$var2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj; $var2 = var$1.$skylightSubtracted >= 4 ? 0 : 1; if ($var2 && !var$1.$isRemote) { $var1 = nms_Entity_getBrightness($this, 1.0); if ($var1 > 0.5) { var$1 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$4; if (Long_lo(Long_shru(var$4, 24)) / 1.6777216E7 * 30.0 < ($var1 - 0.4000000059604645) * 2.0) { var$1 = $this.$worldObj; var$5 = $this.$posX; var$6 = var$5 | 0; if (var$5 < var$6) var$6 = var$6 - 1 | 0; var$5 = $this.$posY; var$7 = var$5 | 0; if (var$5 < var$7) var$7 = var$7 - 1 | 0; var$5 = $this.$posZ; var$8 = var$5 | 0; if (var$5 < var$8) var$8 = var$8 - 1 | 0; var$9 = var$6 >> 4; $var2 = var$8 >> 4; var$1 = var$1.$chunkProvider; $var3 = var$1.$chunkMapping; var$11 = Long_or(Long_and(Long_fromInt(var$9), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var2), Long_create(4294967295, 0)), 32)); $var2 = Long_lo(Long_xor(var$11, Long_shru(var$11, 32))); $var2 = $var2 ^ ($var2 >>> 20 | 0) ^ ($var2 >>> 12 | 0); var$12 = $var2 ^ ($var2 >>> 7 | 0) ^ ($var2 >>> 4 | 0); var$13 = $var3.$hashArray.data; $var3 = var$13[var$12 & (var$13.length - 1 | 0)]; a: { while ($var3 !== null) { if (Long_eq($var3.$key1, var$11)) { $var3 = $var3.$value6; break a; } $var3 = $var3.$nextEntry0; } $var3 = null; } $var3 = $var3; if ($var3 === null) $var3 = var$1.$blankChunk; if ($var3.$canBlockSeeTheSky(var$6 & 15, var$7, var$8 & 15)) { $var2 = 1; $var3 = $this.$equipment.data[4]; if ($var3 !== null) { nms_Item_$callClinit(); var$13 = nms_Item_itemsList.data; var$8 = $var3.$itemID; if (var$13[var$8].$maxDamage <= 0 ? 0 : 1) { var$9 = $var3.$itemDamage; var$1 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$4; $var2 = var$9 + Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$4, 17)))), 31)) | 0; $var3.$itemDamage = $var2; if ($var2 < 0) $var3.$itemDamage = 0; if ($var3.$itemDamage >= var$13[var$8].$maxDamage) { $ptr = 3; continue main; } } $var2 = 0; } if ($var2) { $var2 = 160; nms_Enchantment_$callClinit(); var$9 = nms_Enchantment_fireProtection.$effectId; var$13 = $this.$equipment; nms_EnchantmentHelper_$callClinit(); if (var$13 === null) var$8 = 0; else { var$13 = var$13.data; var$8 = 0; var$7 = var$13.length; var$6 = 0; while (var$6 < var$7) { var$12 = nms_EnchantmentHelper_getEnchantmentLevel(var$9, var$13[var$6]); if (var$12 > var$8) var$8 = var$12; var$6 = var$6 + 1 | 0; } } if (var$8 > 0) { $var1 = 160.0 * var$8 * 0.15000000596046448; var$9 = $var1 | 0; if ($var1 < var$9) var$9 = var$9 - 1 | 0; $var2 = $var2 - var$9 | 0; } if ($this.$fire < $var2) $this.$fire = $var2; } } } } } if ($this.$worldObj.$isRemote) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$14 = jl_Integer_integerCache.data[141]; if (var$14 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$8 = var$14.$value0; var$13 = var$1.$elementData.data; var$1 = var$13[var$8 & (var$13.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$8) { $var3 = var$1.$key; if (var$14 !== $var3 && !(var$14 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value2 == 1) { var$15 = 0.7200000286102295; $var1 = 2.3399999141693115; $ptr = 2; continue main; } } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 1; case 1: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } return; case 2: nms_Entity_setSize($this, var$15, $var1); if ($rt_suspending()) { break main; } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 1; continue main; case 3: nms_EntityLivingBase_renderBrokenItemStack($this, $var3); if ($rt_suspending()) { break main; } $this.$equipment.data[4] = null; if (0) { $var2 = 160; nms_Enchantment_$callClinit(); var$9 = nms_Enchantment_fireProtection.$effectId; var$13 = $this.$equipment; nms_EnchantmentHelper_$callClinit(); if (var$13 === null) var$8 = 0; else { var$13 = var$13.data; var$8 = 0; var$7 = var$13.length; var$6 = 0; while (var$6 < var$7) { var$12 = nms_EnchantmentHelper_getEnchantmentLevel(var$9, var$13[var$6]); if (var$12 > var$8) var$8 = var$12; var$6 = var$6 + 1 | 0; } } if (var$8 > 0) { $var1 = 160.0 * var$8 * 0.15000000596046448; var$9 = $var1 | 0; if ($var1 < var$9) var$9 = var$9 - 1 | 0; $var2 = $var2 - var$9 | 0; } if ($this.$fire < $var2) $this.$fire = $var2; } if ($this.$worldObj.$isRemote) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$14 = jl_Integer_integerCache.data[141]; if (var$14 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$8 = var$14.$value0; var$13 = var$1.$elementData.data; var$1 = var$13[var$8 & (var$13.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$8) { $var3 = var$1.$key; if (var$14 !== $var3 && !(var$14 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value2 == 1) { var$15 = 0.7200000286102295; $var1 = 2.3399999141693115; $ptr = 2; continue main; } } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var2, $var1, var$4, var$5, var$6, var$7, var$8, var$9, $var3, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_EntitySkeleton_updateRidden = $this => { let $var1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Entity_updateRidden($this); if ($rt_suspending()) { break main; } $this.$field_70768_au = $this.$field_110154_aX; $this.$field_110154_aX = 0.0; $this.$fallDistance = 0.0; $var1 = $this.$ridingEntity; if ($var1 instanceof nms_EntityCreature) $this.$renderYawOffset = $var1.$renderYawOffset; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $ptr); }, nms_EntitySkeleton_onDeath = ($this, $par1DamageSource) => { let $var2, $var3, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLivingBase_onDeath($this, $par1DamageSource); if ($rt_suspending()) { break main; } if ($par1DamageSource.$getSourceOfDamage() instanceof nms_EntityArrow && $par1DamageSource.$getEntity() instanceof nms_EntityPlayer) { $var2 = $par1DamageSource.$getEntity(); $var3 = $var2.$posX - $this.$posX; $var5 = $var2.$posZ - $this.$posZ; if ($var3 * $var3 + $var5 * $var5 >= 2500.0) { nms_AchievementList_$callClinit(); $var2.$addStat(nms_AchievementList_snipeSkeleton, 1); } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $var2, $var3, $var5, $ptr); }, nms_EntitySkeleton_getDropItemId = $this => { nms_Item_$callClinit(); return nms_Item_arrow.$itemID0; }, nms_EntitySkeleton_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, $var4, $var3, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[141]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $par1 = var$4.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[$par1 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $par1) { var$6 = var$3.$key; if (var$4 !== var$6 && !(var$4 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == $par1 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; a: { if (var$3.$watchedObject.$value2 != 1) { var$3 = $this.$rand; $par1 = 3 + $par2 | 0; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; var$8 = Long_lo(Long_shru(var$7, 17)); $var4 = $par1 - 1 | 0; if (!($par1 & $var4)) $var3 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt(var$8)), 31)); else while (true) { $var3 = var$8 % $par1 | 0; if (((var$8 - $var3 | 0) + $var4 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; var$8 = Long_lo(Long_shru(var$7, 17)); } $var4 = 0; var$11 = 0.0; $par1 = 138; if ($var4 >= $var3) break a; nms_Item_$callClinit(); var$8 = nms_Item_arrow.$itemID0; var$6 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$6.$itemID = var$8; var$6.$stackSize = 1; var$6.$itemDamage = 0; var$12 = new nms_EntityItem; var$3 = $this.$worldObj; var$13 = $this.$posX; var$14 = $this.$posY + var$11; var$15 = $this.$posZ; $ptr = 1; continue main; } var$3 = $this.$rand; $par1 = 3 + $par2 | 0; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; var$8 = Long_lo(Long_shru(var$7, 17)); $var4 = $par1 - 1 | 0; if (!($par1 & $var4)) $var3 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt(var$8)), 31)); else while (true) { $var3 = var$8 % $par1 | 0; if (((var$8 - $var3 | 0) + $var4 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; var$8 = Long_lo(Long_shru(var$7, 17)); } $var3 = $var3 - 1 | 0; $var4 = 0; var$14 = 0.0; var$16 = 138; if ($var4 < $var3) { nms_Item_$callClinit(); $par1 = nms_Item_coal.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par1; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$4 = new nms_EntityItem; var$6 = $this.$worldObj; var$11 = $this.$posX; var$13 = $this.$posY + var$14; var$15 = $this.$posZ; $ptr = 2; continue main; } } var$3 = $this.$rand; $par1 = 3 + $par2 | 0; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, 17)); $par2 = $par1 - 1 | 0; if (!($par1 & $par2)) $var4 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($var3)), 31)); else while (true) { $var4 = $var3 % $par1 | 0; if ((($var3 - $var4 | 0) + $par2 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, 17)); } $par1 = 0; var$14 = 0.0; var$17 = 138; if ($par1 >= $var4) return; nms_Item_$callClinit(); $par2 = nms_Item_bone.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$4 = new nms_EntityItem; var$6 = $this.$worldObj; var$11 = $this.$posX; var$13 = $this.$posY + var$14; var$15 = $this.$posZ; $ptr = 3; continue main; case 1: nms_EntityItem__init_(var$12, var$3, var$13, var$14, var$15); if ($rt_suspending()) { break main; } var$4 = var$12.$dataWatcher; var$18 = var$4.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$18, jl_Integer_integerCache.data[$par1]); var$3 = var$3 === null ? null : var$3.$value1; if (!(var$6 !== var$3.$watchedObject ? 0 : 1)) { var$3.$watchedObject = var$6; var$3.$watched = 1; var$4.$objectChanged = 1; } var$6 = var$12.$dataWatcher; var$3 = var$6.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[$par1]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$6.$objectChanged = 1; var$12.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; var$8 = nms_World_spawnEntityInWorld(var$3, var$12); var$4 = var$3.$entityList; ju_HashMap_putImpl(var$4.$backingMap, var$12, var$4); if (!var$8) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$12, var$3); } $var4 = $var4 + 1 | 0; if ($var4 < $var3) { nms_Item_$callClinit(); var$8 = nms_Item_arrow.$itemID0; var$6 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$6.$itemID = var$8; var$6.$stackSize = 1; var$6.$itemDamage = 0; var$12 = new nms_EntityItem; var$3 = $this.$worldObj; var$13 = $this.$posX; var$14 = $this.$posY + var$11; var$15 = $this.$posZ; continue main; } var$3 = $this.$rand; $par1 = 3 + $par2 | 0; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, 17)); $par2 = $par1 - 1 | 0; if (!($par1 & $par2)) $var4 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($var3)), 31)); else while (true) { $var4 = $var3 % $par1 | 0; if ((($var3 - $var4 | 0) + $par2 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, 17)); } $par1 = 0; var$14 = 0.0; var$17 = 138; if ($par1 >= $var4) return; nms_Item_$callClinit(); $par2 = nms_Item_bone.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$4 = new nms_EntityItem; var$6 = $this.$worldObj; var$11 = $this.$posX; var$13 = $this.$posY + var$14; var$15 = $this.$posZ; $ptr = 3; continue main; case 2: nms_EntityItem__init_(var$4, var$6, var$11, var$13, var$15); if ($rt_suspending()) { break main; } var$18 = var$4.$dataWatcher; var$6 = var$18.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = ju_HashMap_entryByKey(var$6, jl_Integer_integerCache.data[var$16]); var$12 = var$6 === null ? null : var$6.$value1; if (!(var$3 !== var$12.$watchedObject ? 0 : 1)) { var$12.$watchedObject = var$3; var$12.$watched = 1; var$18.$objectChanged = 1; } var$12 = var$4.$dataWatcher; var$3 = var$12.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$16]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$12.$objectChanged = 1; var$4.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$4); var$6 = var$3.$entityList; ju_HashMap_putImpl(var$6.$backingMap, var$4, var$6); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$4, var$3); } $var4 = $var4 + 1 | 0; if ($var4 < $var3) { nms_Item_$callClinit(); $par1 = nms_Item_coal.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par1; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$4 = new nms_EntityItem; var$6 = $this.$worldObj; var$11 = $this.$posX; var$13 = $this.$posY + var$14; var$15 = $this.$posZ; continue main; } var$3 = $this.$rand; $par1 = 3 + $par2 | 0; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, 17)); $par2 = $par1 - 1 | 0; if (!($par1 & $par2)) $var4 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($var3)), 31)); else while (true) { $var4 = $var3 % $par1 | 0; if ((($var3 - $var4 | 0) + $par2 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, 17)); } $par1 = 0; var$14 = 0.0; var$17 = 138; if ($par1 >= $var4) return; nms_Item_$callClinit(); $par2 = nms_Item_bone.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$4 = new nms_EntityItem; var$6 = $this.$worldObj; var$11 = $this.$posX; var$13 = $this.$posY + var$14; var$15 = $this.$posZ; $ptr = 3; case 3: nms_EntityItem__init_(var$4, var$6, var$11, var$13, var$15); if ($rt_suspending()) { break main; } var$18 = var$4.$dataWatcher; var$6 = var$18.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = ju_HashMap_entryByKey(var$6, jl_Integer_integerCache.data[var$17]); var$12 = var$6 === null ? null : var$6.$value1; if (!(var$3 !== var$12.$watchedObject ? 0 : 1)) { var$12.$watchedObject = var$3; var$12.$watched = 1; var$18.$objectChanged = 1; } var$12 = var$4.$dataWatcher; var$3 = var$12.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$17]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$12.$objectChanged = 1; var$4.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par2 = nms_World_spawnEntityInWorld(var$3, var$4); var$6 = var$3.$entityList; ju_HashMap_putImpl(var$6.$backingMap, var$4, var$6); if (!$par2) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$4, var$3); } $par1 = $par1 + 1 | 0; if ($par1 >= $var4) return; nms_Item_$callClinit(); $par2 = nms_Item_bone.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$4 = new nms_EntityItem; var$6 = $this.$worldObj; var$11 = $this.$posX; var$13 = $this.$posY + var$14; var$15 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, var$8, $var4, $var3, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntitySkeleton_dropRareDrop = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[141]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { $par1 = var$3.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[$par1 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $par1) { var$5 = var$2.$key; if (var$3 !== var$5 && !(var$3 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $par1 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$watchedObject.$value2 != 1) return; var$3 = new nms_ItemStack; nms_Item_$callClinit(); var$6 = nms_Item_skull.$itemID0; nms_ItemStack_$callClinit(); var$3.$itemID = var$6; var$3.$stackSize = 1; var$3.$itemDamage = 1; var$2 = new nms_EntityItem; var$5 = $this.$worldObj; var$7 = $this.$posX; var$8 = $this.$posY + 0.0; var$9 = $this.$posZ; $ptr = 1; case 1: nms_EntityItem__init_(var$2, var$5, var$7, var$8, var$9); if ($rt_suspending()) { break main; } var$10 = var$2.$dataWatcher; var$5 = var$10.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[138]; if (var$11 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$6 = jl_Integer_hashCode(var$11.$value0); var$4 = var$5.$elementData.data; var$5 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$6 && ju_HashMap_areEqualKeys(var$11, var$5.$key))) { var$5 = var$5.$next3; } } var$5 = var$5 === null ? null : var$5.$value1; if (!(var$3 !== var$5.$watchedObject ? 0 : 1)) { var$5.$watchedObject = var$3; var$5.$watched = 1; var$10.$objectChanged = 1; } var$10 = var$2.$dataWatcher; var$3 = var$10.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[138]; if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$12 = jl_Integer_hashCode(var$5.$value0); var$4 = var$3.$elementData.data; var$3 = var$4[var$12 & (var$4.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$12 && ju_HashMap_areEqualKeys(var$5, var$3.$key))) { var$3 = var$3.$next3; } } (var$3 === null ? null : var$3.$value1).$watched = 1; var$10.$objectChanged = 1; var$2.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$2); var$5 = var$3.$entityList; ju_HashMap_putImpl(var$5.$backingMap, var$2, var$5); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_EntitySkeleton_onSpawnWithEgg = ($this, $par1EntityLivingData) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1EntityLivingData = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = nms_SharedMonsterAttributes_followRange; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if ($var2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$4 = $var2.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$6 && ju_HashMap_areEqualKeys($var2, var$3.$key))) { var$3 = var$3.$next3; } } var$8 = var$3 === null ? null : var$3.$value1; var$3 = new nms_AttributeModifier; var$9 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05; var$4 = nle_ProfileUUID_randomUUID(); var$3.$isSaved = 1; var$3.$id2 = var$4; var$3.$name3 = $rt_s(1855); var$3.$amount = var$9; var$3.$operation = 1; if ($rt_s(1855) === $rt_s(18)) var$5 = 1; else if (!($rt_s(18) instanceof jl_String)) var$5 = 0; else { var$4 = $rt_s(18); var$5 = $rt_s(1855).$nativeString !== var$4.$nativeString ? 0 : 1; } if (var$5) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var2); $var2.$message = $rt_s(1292); $rt_throw($var2); } nms_ModifiableAttributeInstance_applyModifier(var$8, var$3); if ($this.$worldObj.$provider instanceof nms_WorldProviderHell) { $var2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); while (true) { var$12 = var$11 % 5 | 0; if (((var$11 - var$12 | 0) + 4 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); } if (var$12 > 0) { $var2 = $this.$tasks0; var$3 = $this.$aiAttackOnCollide; var$8 = $var2.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $var2; var$4.$priority = 4; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$13 = var$8.$size0; var$8.$size0 = var$13 + 1 | 0; var$7[var$13] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $var2 = $this.$dataWatcher; var$14 = jl_Byte_byteCache.data[129]; var$3 = $var2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[141]; if (var$8 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$6 = var$8.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$4 = var$3.$key; if (var$8 !== var$4 && !(var$8 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$14.$value2 ? 1 : 0)) { var$4.$watchedObject = var$14; var$4.$watched = 1; $var2.$objectChanged = 1; } $this.$isImmuneToFire = 1; var$15 = 0.7200000286102295; var$16 = 2.3399999141693115; $ptr = 3; continue main; } } $var2 = $this.$tasks0; var$3 = $this.$aiArrowAttack; var$8 = $var2.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $var2; var$4.$priority = 4; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$13 = var$8.$size0; var$8.$size0 = var$13 + 1 | 0; var$7[var$13] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $ptr = 1; case 1: nms_EntityLiving_addRandomArmor($this); if ($rt_suspending()) { break main; } $var2 = new nms_ItemStack; nms_Item_$callClinit(); var$3 = nms_Item_bow; nms_ItemStack_$callClinit(); $var2.$itemID = var$3.$itemID0; $var2.$stackSize = 1; $var2.$itemDamage = 0; $this.$equipment.data[0] = $var2; if ($this.$worldObj.$isRemote) { nms_EntityLiving_enchantEquipment($this); $var2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; var$17 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7; $var2 = $this.$worldObj; var$9 = $this.$posX; var$18 = $this.$posY; var$19 = $this.$posZ; var$11 = var$9 | 0; if (var$9 < var$11) var$11 = var$11 - 1 | 0; var$6 = var$18 | 0; if (var$18 < var$6) var$6 = var$6 - 1 | 0; var$13 = var$19 | 0; if (var$19 < var$13) var$13 = var$13 - 1 | 0; $this.$canPickUpLoot = var$17 >= 0.550000011920929 * nms_World_getTensionFactorForBlock($var2, var$11, var$6, var$13) ? 0 : 1; if ($this.$equipment.data[4] === null) { $var2 = $this.$worldObj; if (Long_eq(Long_rem($var2.$worldInfo.$totalTime, Long_fromInt(600)), Long_ZERO)) { var$3 = $var2.$theCalendar; nlea_EaglerAdapterImpl2_$callClinit(); var$20 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!(var$3.$isTimeSet && var$3.$areFieldsSet && Long_eq(var$3.$time, var$20))) { var$3.$time = var$20; var$3.$isTimeSet = 1; var$3.$areFieldsSet = 0; ju_GregorianCalendar_computeFields(var$3); var$3.$areFieldsSet = 1; } } $var2 = $var2.$theCalendar; if (!$var2.$isTimeSet) { ju_GregorianCalendar_computeTime($var2); $var2.$isTimeSet = 1; } if (!$var2.$areFieldsSet) { ju_GregorianCalendar_computeFields($var2); $var2.$areFieldsSet = 1; } if (($var2.$fields.data[2] + 1 | 0) == 10) { if (!$var2.$isTimeSet) { ju_GregorianCalendar_computeTime($var2); $var2.$isTimeSet = 1; } if (!$var2.$areFieldsSet) { ju_GregorianCalendar_computeFields($var2); $var2.$areFieldsSet = 1; } if ($var2.$fields.data[5] == 31) { $var2 = $this.$rand; var$20 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$20; if (Long_lo(Long_shru(var$20, 24)) / 1.6777216E7 < 0.25) { var$3 = new nms_ItemStack; var$10 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 >= 0.10000000149011612) { nms_Block_$callClinit(); $var2 = nms_Block_pumpkin; } else { nms_Block_$callClinit(); $var2 = nms_Block_pumpkinLantern; } nms_ItemStack_$callClinit(); var$3.$itemID = $var2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 0; $this.$equipment.data[4] = var$3; $this.$equipmentDropChances.data[4] = 0.0; } } } } return $par1EntityLivingData; } $ptr = 2; case 2: nms_EntitySkeleton_setCombatTask($this); if ($rt_suspending()) { break main; } nms_EntityLiving_enchantEquipment($this); $var2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; var$17 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7; $var2 = $this.$worldObj; var$9 = $this.$posX; var$18 = $this.$posY; var$19 = $this.$posZ; var$11 = var$9 | 0; if (var$9 < var$11) var$11 = var$11 - 1 | 0; var$6 = var$18 | 0; if (var$18 < var$6) var$6 = var$6 - 1 | 0; var$13 = var$19 | 0; if (var$19 < var$13) var$13 = var$13 - 1 | 0; $this.$canPickUpLoot = var$17 >= 0.550000011920929 * nms_World_getTensionFactorForBlock($var2, var$11, var$6, var$13) ? 0 : 1; if ($this.$equipment.data[4] === null) { $var2 = $this.$worldObj; if (Long_eq(Long_rem($var2.$worldInfo.$totalTime, Long_fromInt(600)), Long_ZERO)) { var$3 = $var2.$theCalendar; nlea_EaglerAdapterImpl2_$callClinit(); var$20 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!(var$3.$isTimeSet && var$3.$areFieldsSet && Long_eq(var$3.$time, var$20))) { var$3.$time = var$20; var$3.$isTimeSet = 1; var$3.$areFieldsSet = 0; ju_GregorianCalendar_computeFields(var$3); var$3.$areFieldsSet = 1; } } $var2 = $var2.$theCalendar; if (!$var2.$isTimeSet) { ju_GregorianCalendar_computeTime($var2); $var2.$isTimeSet = 1; } if (!$var2.$areFieldsSet) { ju_GregorianCalendar_computeFields($var2); $var2.$areFieldsSet = 1; } if (($var2.$fields.data[2] + 1 | 0) == 10) { if (!$var2.$isTimeSet) { ju_GregorianCalendar_computeTime($var2); $var2.$isTimeSet = 1; } if (!$var2.$areFieldsSet) { ju_GregorianCalendar_computeFields($var2); $var2.$areFieldsSet = 1; } if ($var2.$fields.data[5] == 31) { $var2 = $this.$rand; var$20 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$20; if (Long_lo(Long_shru(var$20, 24)) / 1.6777216E7 < 0.25) { var$3 = new nms_ItemStack; var$10 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 >= 0.10000000149011612) { nms_Block_$callClinit(); $var2 = nms_Block_pumpkin; } else { nms_Block_$callClinit(); $var2 = nms_Block_pumpkinLantern; } nms_ItemStack_$callClinit(); var$3.$itemID = $var2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 0; $this.$equipment.data[4] = var$3; $this.$equipmentDropChances.data[4] = 0.0; } } } } return $par1EntityLivingData; case 3: nms_Entity_setSize($this, var$15, var$16); if ($rt_suspending()) { break main; } var$3 = new nms_ItemStack; nms_Item_$callClinit(); $var2 = nms_Item_swordStone; nms_ItemStack_$callClinit(); var$3.$itemID = $var2.$itemID0; var$3.$stackSize = 1; var$3.$itemDamage = 0; $this.$equipment.data[0] = var$3; if ($this.$worldObj.$isRemote) { $var2 = nms_SharedMonsterAttributes_attackDamage; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if ($var2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { b: { var$4 = $var2.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break b; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$4 = var$3.$key; if ($var2 !== var$4 && !jl_Object_equals($var2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } $var2 = var$3 === null ? null : var$3.$value1; if (4.0 !== $var2.$baseValue) { $var2.$baseValue = 4.0; $var2.$field_111133_g = 1; var$3 = $var2.$field_111138_a; if ($var2.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, $var2, var$3); } } $var2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; var$17 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7; $var2 = $this.$worldObj; var$9 = $this.$posX; var$18 = $this.$posY; var$19 = $this.$posZ; var$11 = var$9 | 0; if (var$9 < var$11) var$11 = var$11 - 1 | 0; var$6 = var$18 | 0; if (var$18 < var$6) var$6 = var$6 - 1 | 0; var$13 = var$19 | 0; if (var$19 < var$13) var$13 = var$13 - 1 | 0; $this.$canPickUpLoot = var$17 >= 0.550000011920929 * nms_World_getTensionFactorForBlock($var2, var$11, var$6, var$13) ? 0 : 1; if ($this.$equipment.data[4] === null) { $var2 = $this.$worldObj; if (Long_eq(Long_rem($var2.$worldInfo.$totalTime, Long_fromInt(600)), Long_ZERO)) { var$3 = $var2.$theCalendar; nlea_EaglerAdapterImpl2_$callClinit(); var$20 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!(var$3.$isTimeSet && var$3.$areFieldsSet && Long_eq(var$3.$time, var$20))) { var$3.$time = var$20; var$3.$isTimeSet = 1; var$3.$areFieldsSet = 0; ju_GregorianCalendar_computeFields(var$3); var$3.$areFieldsSet = 1; } } $var2 = $var2.$theCalendar; if (!$var2.$isTimeSet) { ju_GregorianCalendar_computeTime($var2); $var2.$isTimeSet = 1; } if (!$var2.$areFieldsSet) { ju_GregorianCalendar_computeFields($var2); $var2.$areFieldsSet = 1; } if (($var2.$fields.data[2] + 1 | 0) == 10) { if (!$var2.$isTimeSet) { ju_GregorianCalendar_computeTime($var2); $var2.$isTimeSet = 1; } if (!$var2.$areFieldsSet) { ju_GregorianCalendar_computeFields($var2); $var2.$areFieldsSet = 1; } if ($var2.$fields.data[5] == 31) { $var2 = $this.$rand; var$20 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$20; if (Long_lo(Long_shru(var$20, 24)) / 1.6777216E7 < 0.25) { var$3 = new nms_ItemStack; var$10 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 >= 0.10000000149011612) { nms_Block_$callClinit(); $var2 = nms_Block_pumpkin; } else { nms_Block_$callClinit(); $var2 = nms_Block_pumpkinLantern; } nms_ItemStack_$callClinit(); var$3.$itemID = $var2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 0; $this.$equipment.data[4] = var$3; $this.$equipmentDropChances.data[4] = 0.0; } } } } return $par1EntityLivingData; } $ptr = 4; case 4: nms_EntitySkeleton_setCombatTask($this); if ($rt_suspending()) { break main; } $var2 = nms_SharedMonsterAttributes_attackDamage; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if ($var2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$4 = $var2.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$4 = var$3.$key; if ($var2 !== var$4 && !jl_Object_equals($var2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } $var2 = var$3 === null ? null : var$3.$value1; if (4.0 !== $var2.$baseValue) { $var2.$baseValue = 4.0; $var2.$field_111133_g = 1; var$3 = $var2.$field_111138_a; if ($var2.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, $var2, var$3); } } $var2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; var$17 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7; $var2 = $this.$worldObj; var$9 = $this.$posX; var$18 = $this.$posY; var$19 = $this.$posZ; var$11 = var$9 | 0; if (var$9 < var$11) var$11 = var$11 - 1 | 0; var$6 = var$18 | 0; if (var$18 < var$6) var$6 = var$6 - 1 | 0; var$13 = var$19 | 0; if (var$19 < var$13) var$13 = var$13 - 1 | 0; $this.$canPickUpLoot = var$17 >= 0.550000011920929 * nms_World_getTensionFactorForBlock($var2, var$11, var$6, var$13) ? 0 : 1; if ($this.$equipment.data[4] === null) { $var2 = $this.$worldObj; if (Long_eq(Long_rem($var2.$worldInfo.$totalTime, Long_fromInt(600)), Long_ZERO)) { var$3 = $var2.$theCalendar; nlea_EaglerAdapterImpl2_$callClinit(); var$20 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!(var$3.$isTimeSet && var$3.$areFieldsSet && Long_eq(var$3.$time, var$20))) { var$3.$time = var$20; var$3.$isTimeSet = 1; var$3.$areFieldsSet = 0; ju_GregorianCalendar_computeFields(var$3); var$3.$areFieldsSet = 1; } } $var2 = $var2.$theCalendar; if (!$var2.$isTimeSet) { ju_GregorianCalendar_computeTime($var2); $var2.$isTimeSet = 1; } if (!$var2.$areFieldsSet) { ju_GregorianCalendar_computeFields($var2); $var2.$areFieldsSet = 1; } if (($var2.$fields.data[2] + 1 | 0) == 10) { if (!$var2.$isTimeSet) { ju_GregorianCalendar_computeTime($var2); $var2.$isTimeSet = 1; } if (!$var2.$areFieldsSet) { ju_GregorianCalendar_computeFields($var2); $var2.$areFieldsSet = 1; } if ($var2.$fields.data[5] == 31) { $var2 = $this.$rand; var$20 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$20; if (Long_lo(Long_shru(var$20, 24)) / 1.6777216E7 < 0.25) { var$3 = new nms_ItemStack; var$10 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 >= 0.10000000149011612) { nms_Block_$callClinit(); $var2 = nms_Block_pumpkin; } else { nms_Block_$callClinit(); $var2 = nms_Block_pumpkinLantern; } nms_ItemStack_$callClinit(); var$3.$itemID = $var2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 0; $this.$equipment.data[4] = var$3; $this.$equipmentDropChances.data[4] = 0.0; } } } } return $par1EntityLivingData; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingData, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr); }, nms_EntitySkeleton_setCombatTask = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $this.$tasks0; var$2 = $this.$aiAttackOnCollide; var$3 = $var1.$taskEntries; var$4 = new ju_AbstractList$1; var$4.$this$00 = var$3; var$4.$modCount1 = var$3.$modCount; var$4.$size3 = var$3.$size(); var$4.$removeIndex = (-1); var$5 = 0; while (true) { var$6 = var$4.$index0; if (!(var$6 >= var$4.$size3 ? 0 : 1)) { $var1 = $this.$tasks0; var$2 = $this.$aiArrowAttack; var$3 = $var1.$taskEntries; var$7 = new ju_AbstractList$1; var$7.$this$00 = var$3; var$7.$modCount1 = var$3.$modCount; var$7.$size3 = var$3.$size(); var$7.$removeIndex = (-1); var$8 = 0; while (true) { var$6 = var$7.$index0; if (!(var$6 >= var$7.$size3 ? 0 : 1)) { a: { $var1 = $this.$equipment.data[0]; if ($var1 !== null) { var$6 = $var1.$itemID; nms_Item_$callClinit(); if (var$6 == nms_Item_bow.$itemID0) { $var1 = $this.$tasks0; var$2 = $this.$aiArrowAttack; var$4 = $var1.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $var1; var$3.$priority = 4; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$9 = var$4.$array.data; var$10 = var$4.$size0; var$4.$size0 = var$10 + 1 | 0; var$9[var$10] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; break a; } } $var1 = $this.$tasks0; var$2 = $this.$aiAttackOnCollide; var$4 = $var1.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $var1; var$3.$priority = 4; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$9 = var$4.$array.data; var$10 = var$4.$size0; var$4.$size0 = var$10 + 1 | 0; var$9[var$10] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; } return; } var$10 = var$7.$modCount1; var$3 = var$7.$this$00; if (var$10 < var$3.$modCount) break; var$7.$removeIndex = var$6; var$7.$index0 = var$6 + 1 | 0; var$3 = var$3.$get(var$6); var$11 = var$3.$action; if (var$11 === var$2) { var$12 = $var1.$executingTaskEntries; var$10 = var$12.$modCount; var$13 = var$12.$size(); var$14 = var$8; b: { while (true) { if (!(var$14 >= var$13 ? 0 : 1)) { var$6 = 0; break b; } if (var$10 < var$12.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } var$6 = var$14 + 1 | 0; var$4 = var$12.$get(var$14); if (var$4 === var$3 ? 1 : var$4 !== null ? var$4.$equals(var$3) : var$3 !== null ? 0 : 1) break; var$14 = var$6; } var$6 = 1; } if (var$6) { $ptr = 2; continue main; } ju_AbstractList$1_remove(var$7); } } $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } var$10 = var$4.$modCount1; var$3 = var$4.$this$00; if (var$10 < var$3.$modCount) break; var$4.$removeIndex = var$6; var$4.$index0 = var$6 + 1 | 0; var$3 = var$3.$get(var$6); var$11 = var$3.$action; if (var$11 === var$2) { var$12 = $var1.$executingTaskEntries; var$13 = var$12.$modCount; var$14 = var$12.$size(); var$8 = var$5; c: { while (true) { if (!(var$8 >= var$14 ? 0 : 1)) { var$6 = 0; break c; } if (var$13 < var$12.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } var$10 = var$8 + 1 | 0; var$7 = var$12.$get(var$8); if (var$7 === var$3 ? 1 : var$7 !== null ? var$7.$equals(var$3) : var$3 !== null ? 0 : 1) break; var$8 = var$10; } var$6 = 1; } if (var$6) { $ptr = 1; continue main; } ju_AbstractList$1_remove(var$4); } } $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); case 1: var$11.$resetTask(); if ($rt_suspending()) { break main; } var$11 = $var1.$executingTaskEntries; var$13 = var$11.$size0; var$6 = 0; d: { while (true) { var$10 = $rt_compare(var$6, var$13); if (var$10 >= 0) { var$6 = (-1); break d; } if (var$6 < 0) break; if (var$10 >= 0) break; var$12 = var$11.$array.data[var$6]; if (var$3 === var$12 ? 1 : var$3 === null ? (var$12 !== null ? 0 : 1) : var$3 !== var$12 ? 0 : 1) break d; var$6 = var$6 + 1 | 0; } $var1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var1); $rt_throw($var1); } if (var$6 >= 0) ju_ArrayList_remove(var$11, var$6); e: while (true) { ju_AbstractList$1_remove(var$4); while (true) { var$6 = var$4.$index0; if (!(var$6 >= var$4.$size3 ? 0 : 1)) { $var1 = $this.$tasks0; var$2 = $this.$aiArrowAttack; var$3 = $var1.$taskEntries; var$7 = new ju_AbstractList$1; var$7.$this$00 = var$3; var$7.$modCount1 = var$3.$modCount; var$7.$size3 = var$3.$size(); var$7.$removeIndex = (-1); var$8 = 0; while (true) { var$6 = var$7.$index0; if (!(var$6 >= var$7.$size3 ? 0 : 1)) { f: { $var1 = $this.$equipment.data[0]; if ($var1 !== null) { var$6 = $var1.$itemID; nms_Item_$callClinit(); if (var$6 == nms_Item_bow.$itemID0) { $var1 = $this.$tasks0; var$2 = $this.$aiArrowAttack; var$4 = $var1.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $var1; var$3.$priority = 4; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$9 = var$4.$array.data; var$10 = var$4.$size0; var$4.$size0 = var$10 + 1 | 0; var$9[var$10] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; break f; } } $var1 = $this.$tasks0; var$2 = $this.$aiAttackOnCollide; var$4 = $var1.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $var1; var$3.$priority = 4; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$9 = var$4.$array.data; var$10 = var$4.$size0; var$4.$size0 = var$10 + 1 | 0; var$9[var$10] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; } return; } var$10 = var$7.$modCount1; var$3 = var$7.$this$00; if (var$10 < var$3.$modCount) break; var$7.$removeIndex = var$6; var$7.$index0 = var$6 + 1 | 0; var$3 = var$3.$get(var$6); var$11 = var$3.$action; if (var$11 === var$2) { var$12 = $var1.$executingTaskEntries; var$10 = var$12.$modCount; var$13 = var$12.$size(); var$14 = var$8; g: { while (true) { if (!(var$14 >= var$13 ? 0 : 1)) { var$6 = 0; break g; } if (var$10 < var$12.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } var$6 = var$14 + 1 | 0; var$4 = var$12.$get(var$14); if (var$4 === var$3 ? 1 : var$4 !== null ? var$4.$equals(var$3) : var$3 !== null ? 0 : 1) break; var$14 = var$6; } var$6 = 1; } if (var$6) { $ptr = 2; continue main; } ju_AbstractList$1_remove(var$7); } } $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } var$10 = var$4.$modCount1; var$3 = var$4.$this$00; if (var$10 < var$3.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } var$4.$removeIndex = var$6; var$4.$index0 = var$6 + 1 | 0; var$3 = var$3.$get(var$6); var$11 = var$3.$action; if (var$11 !== var$2) continue; else break; } var$12 = $var1.$executingTaskEntries; var$13 = var$12.$modCount; var$14 = var$12.$size(); var$8 = var$5; h: { while (true) { if (!(var$8 >= var$14 ? 0 : 1)) { var$6 = 0; break h; } if (var$13 < var$12.$modCount) break e; var$10 = var$8 + 1 | 0; var$7 = var$12.$get(var$8); if (var$7 === var$3 ? 1 : var$7 !== null ? var$7.$equals(var$3) : var$3 !== null ? 0 : 1) break; var$8 = var$10; } var$6 = 1; } if (!var$6) continue; else { continue main; } } $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); case 2: var$11.$resetTask(); if ($rt_suspending()) { break main; } var$4 = $var1.$executingTaskEntries; var$13 = var$4.$size0; var$6 = 0; d: { while (true) { var$10 = $rt_compare(var$6, var$13); if (var$10 >= 0) { var$6 = (-1); break d; } if (var$6 < 0) break; if (var$10 >= 0) break; var$11 = var$4.$array.data[var$6]; if (var$3 === var$11 ? 1 : var$3 === null ? (var$11 !== null ? 0 : 1) : var$3 !== var$11 ? 0 : 1) break d; var$6 = var$6 + 1 | 0; } $var1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var1); $rt_throw($var1); } if (var$6 >= 0) ju_ArrayList_remove(var$4, var$6); e: while (true) { ju_AbstractList$1_remove(var$7); while (true) { var$6 = var$7.$index0; if (!(var$6 >= var$7.$size3 ? 0 : 1)) { i: { $var1 = $this.$equipment.data[0]; if ($var1 !== null) { var$6 = $var1.$itemID; nms_Item_$callClinit(); if (var$6 == nms_Item_bow.$itemID0) { $var1 = $this.$tasks0; var$2 = $this.$aiArrowAttack; var$4 = $var1.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $var1; var$3.$priority = 4; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$9 = var$4.$array.data; var$10 = var$4.$size0; var$4.$size0 = var$10 + 1 | 0; var$9[var$10] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; break i; } } $var1 = $this.$tasks0; var$2 = $this.$aiAttackOnCollide; var$4 = $var1.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $var1; var$3.$priority = 4; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$9 = var$4.$array.data; var$10 = var$4.$size0; var$4.$size0 = var$10 + 1 | 0; var$9[var$10] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; } return; } var$10 = var$7.$modCount1; var$3 = var$7.$this$00; if (var$10 < var$3.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } var$7.$removeIndex = var$6; var$7.$index0 = var$6 + 1 | 0; var$3 = var$3.$get(var$6); var$11 = var$3.$action; if (var$11 !== var$2) continue; else break; } var$12 = $var1.$executingTaskEntries; var$10 = var$12.$modCount; var$13 = var$12.$size(); var$14 = var$8; h: { while (true) { if (!(var$14 >= var$13 ? 0 : 1)) { var$6 = 0; break h; } if (var$10 < var$12.$modCount) break e; var$6 = var$14 + 1 | 0; var$4 = var$12.$get(var$14); if (var$4 === var$3 ? 1 : var$4 !== null ? var$4.$equals(var$3) : var$3 !== null ? 0 : 1) break; var$14 = var$6; } var$6 = 1; } if (!var$6) continue; else { continue main; } } $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_EntitySkeleton_attackEntityWithRangedAttack = ($this, $par1EntityLivingBase, $par2) => { let $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11; $var3 = new nms_EntityArrow; var$4 = $this.$worldObj; nms_EntityArrow__init_($var3, var$4, $this, $par1EntityLivingBase, 1.600000023841858, 14 - (var$4.$difficultySetting * 4 | 0) | 0); nms_Enchantment_$callClinit(); $var4 = nms_EnchantmentHelper_getEnchantmentLevel(nms_Enchantment_power.$effectId, $this.$equipment.data[0]); $var5 = nms_EnchantmentHelper_getEnchantmentLevel(nms_Enchantment_punch.$effectId, $this.$equipment.data[0]); var$7 = $par2 * 2.0 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.25 + $this.$worldObj.$difficultySetting * 0.10999999940395355; $var3.$damage = var$7; if ($var4 > 0) $var3.$damage = var$7 + $var4 * 0.5 + 0.5; if ($var5 > 0) $var3.$knockbackStrength = $var5; a: { if (nms_EnchantmentHelper_getEnchantmentLevel(nms_Enchantment_flame.$effectId, $this.$equipment.data[0]) <= 0) { $par1EntityLivingBase = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[141]; if (var$8 === null) { var$4 = $par1EntityLivingBase.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { $var4 = var$8.$value0; var$9 = $par1EntityLivingBase.$elementData.data; var$4 = var$9[$var4 & (var$9.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var4) { $par1EntityLivingBase = var$4.$key; if (var$8 !== $par1EntityLivingBase && !(var$8 === $par1EntityLivingBase ? 1 : $par1EntityLivingBase instanceof jl_Integer && $par1EntityLivingBase.$value0 == $var4 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } if ((var$4 === null ? null : var$4.$value1).$watchedObject.$value2 != 1) break a; } if ($var3.$fire < 2000) $var3.$fire = 2000; } var$4 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$10; var$11 = 1.0 / (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929); nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1501), 1.0, var$11); $par1EntityLivingBase = $this.$worldObj; $var5 = nms_World_spawnEntityInWorld($par1EntityLivingBase, $var3); var$4 = $par1EntityLivingBase.$entityList; ju_HashMap_putImpl(var$4.$backingMap, $var3, var$4); if (!$var5) { $par1EntityLivingBase = $par1EntityLivingBase.$entitySpawnQueue; ju_HashMap_putImpl($par1EntityLivingBase.$backingMap, $var3, $par1EntityLivingBase); } }, nms_EntitySkeleton_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, $var2, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NBTTagCompound = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); if ($rt_suspending()) { break main; } var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1953).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1953).$nativeString.length) break a; $rt_s(1953).$hashCode1 = (31 * $rt_s(1953).$hashCode1 | 0) + $rt_s(1953).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1953).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { b: { var$5 = var$2.$key; if ($rt_s(1953) !== var$5) { if ($rt_s(1953) === var$5) $var2 = 1; else if (!(var$5 instanceof jl_String)) $var2 = 0; else { var$5 = var$5; $var2 = $rt_s(1953).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break b; } } $var2 = 1; } if ($var2) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) { $ptr = 2; continue main; } c: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1953).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1953).$nativeString.length) break c; $rt_s(1953).$hashCode1 = (31 * $rt_s(1953).$hashCode1 | 0) + $rt_s(1953).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1953).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { d: { var$5 = var$2.$key; if ($rt_s(1953) !== var$5) { if ($rt_s(1953) === var$5) $var2 = 1; else if (!(var$5 instanceof jl_String)) $var2 = 0; else { var$5 = var$5; $var2 = $rt_s(1953).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break d; } } $var2 = 1; } if ($var2) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var2 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1953) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { e: { if (!$rt_s(1953).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1953).$nativeString.length) break e; $rt_s(1953).$hashCode1 = (31 * $rt_s(1953).$hashCode1 | 0) + $rt_s(1953).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1953).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$3) { f: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(1953) !== var$2) { if ($rt_s(1953) === var$2) $var2 = 1; else if (!(var$2 instanceof jl_String)) $var2 = 0; else { var$2 = var$2; $var2 = $rt_s(1953).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break f; } } $var2 = 1; } if ($var2) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $var2 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data; } $par1NBTTagCompound = $this.$dataWatcher; var$7 = $var2 << 24 >> 24; var$8 = jl_Byte_byteCache.data[var$7 + 128 | 0]; var$9 = $par1NBTTagCompound.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[141]; if (var$5 === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$7 = var$5.$value0; var$4 = var$9.$elementData.data; var$9 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$7) { var$2 = var$9.$key; if (var$5 !== var$2 && !(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$9 = var$9.$next3; } } var$2 = var$9 === null ? null : var$9.$value1; var$9 = var$2.$watchedObject; if (!(var$9 instanceof jl_Byte && var$9.$value2 == var$8.$value2 ? 1 : 0)) { var$2.$watchedObject = var$8; var$2.$watched = 1; $par1NBTTagCompound.$objectChanged = 1; } var$3 = $rt_compare($var2, 1); $this.$isImmuneToFire = var$3 ? 0 : 1; if (var$3) { var$10 = 0.6000000238418579; var$11 = 1.7999999523162842; $ptr = 3; continue main; } var$10 = 0.7200000286102295; var$11 = 2.3399999141693115; $ptr = 4; continue main; case 2: nms_EntitySkeleton_setCombatTask($this); if ($rt_suspending()) { break main; } return; case 3: nms_Entity_setSize($this, var$10, var$11); if ($rt_suspending()) { break main; } $ptr = 2; continue main; case 4: nms_Entity_setSize($this, var$10, var$11); if ($rt_suspending()) { break main; } $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NBTTagCompound, var$2, var$3, var$4, var$5, $var2, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntitySkeleton_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[141]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2 << 24 >> 24; var$2 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(1953); $par1NBTTagCompound.$data = var$7; ju_HashMap_putImpl(var$2, $rt_s(1953), $par1NBTTagCompound); }, nms_EntitySkeleton_setCurrentItemOrArmor = ($this, $par1, $par2ItemStack) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2ItemStack = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$equipment.data[$par1] = $par2ItemStack; if (!$this.$worldObj.$isRemote && !$par1) { $ptr = 1; continue main; } return; case 1: nms_EntitySkeleton_setCombatTask($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2ItemStack, $ptr); }, nms_EntitySkeleton_getYOffset = $this => { return $this.$yOffset - 0.5; }; function nms_RenderBiped() { let a = this; nms_RenderLiving.call(a); a.$modelBipedMain0 = null; a.$field_77070_b = 0.0; a.$field_82423_g = null; a.$field_82425_h = null; } let nms_RenderBiped_field_110859_k = null, nms_RenderBiped_bipedArmorFilenamePrefix = null, nms_RenderBiped_func_82421_b = $this => { $this.$field_82423_g = nms_ModelBiped__init_0(1.0, 0.0, 64, 32); $this.$field_82425_h = nms_ModelBiped__init_0(0.5, 0.0, 64, 32); }, nms_RenderBiped_func_110858_a = ($par0ItemArmor, $par1, $par2Str) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var4, $$je; var$4 = $rt_createArray(jl_Object, 3); var$5 = var$4.data; var$5[0] = nms_RenderBiped_bipedArmorFilenamePrefix.data[$par0ItemArmor.$renderIndex]; $par1 = $par1 != 2 ? 1 : 2; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); $par0ItemArmor = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { $par0ItemArmor = new jl_Integer; $par0ItemArmor.$value0 = $par1; } var$5[1] = $par0ItemArmor; if ($par2Str === null) $par0ItemArmor = $rt_s(18); else { var$6 = $rt_createArray(jl_Object, 1); var$6.data[0] = $par2Str; $par2Str = new ju_Formatter; ju_Locale_$callClinit(); var$7 = ju_Locale_defaultLocale; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); $par2Str.$out1 = var$8; $par2Str.$locale1 = var$7; a: { try { ju_Formatter$FormatWriter_write(ju_Formatter$FormatWriter__init_($par2Str, var$8, var$7, $rt_s(1954), var$6)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $par0ItemArmor = $$je; } else { throw $$e; } } $par2Str.$ioException = $par0ItemArmor; } $par2Str = $par2Str.$out1; if ($par2Str === null) { $par0ItemArmor = new ju_FormatterClosedException; $par0ItemArmor.$suppressionEnabled = 1; $par0ItemArmor.$writableStackTrace = 1; $rt_throw($par0ItemArmor); } $par0ItemArmor = new jl_String; var$6 = $par2Str.$buffer; var$9 = var$6.data; var$10 = $par2Str.$length0; var$11 = var$9.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) $par0ItemArmor.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); else { $par0ItemArmor = new jl_IndexOutOfBoundsException; jl_Exception__init_($par0ItemArmor); $rt_throw($par0ItemArmor); } } var$5[2] = $par0ItemArmor; $par0ItemArmor = new ju_Formatter; ju_Locale_$callClinit(); var$8 = ju_Locale_defaultLocale; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $par0ItemArmor.$out1 = var$12; $par0ItemArmor.$locale1 = var$8; b: { try { ju_Formatter$FormatWriter_write(ju_Formatter$FormatWriter__init_($par0ItemArmor, var$12, var$8, $rt_s(1955), var$4)); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $par2Str = $$je; } else { throw $$e; } } $par0ItemArmor.$ioException = $par2Str; } $par0ItemArmor = $par0ItemArmor.$out1; if ($par0ItemArmor === null) { $par0ItemArmor = new ju_FormatterClosedException; $par0ItemArmor.$suppressionEnabled = 1; $par0ItemArmor.$writableStackTrace = 1; $rt_throw($par0ItemArmor); } $par2Str = new jl_String; var$6 = $par0ItemArmor.$buffer; var$4 = var$6.data; var$13 = $par0ItemArmor.$length0; var$10 = var$4.length; if (var$13 >= 0 && var$13 <= (var$10 - 0 | 0)) { c: { $par2Str.$nativeString = $rt_charArrayToString(var$6.data, 0, var$13); $par0ItemArmor = nms_RenderBiped_field_110859_k; if (!$par2Str.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $par2Str.$nativeString.length) break c; $par2Str.$hashCode1 = (31 * $par2Str.$hashCode1 | 0) + $par2Str.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } $par1 = $par2Str.$hashCode1; var$6 = $par0ItemArmor.$elementData.data; $par0ItemArmor = var$6[$par1 & (var$6.length - 1 | 0)]; while ($par0ItemArmor !== null) { if ($par0ItemArmor.$origKeyHash == $par1) { d: { $var4 = $par0ItemArmor.$key; if ($par2Str !== $var4) { if ($par2Str === $var4) var$13 = 1; else if (!($var4 instanceof jl_String)) var$13 = 0; else { $var4 = $var4; var$13 = $par2Str.$nativeString !== $var4.$nativeString ? 0 : 1; } if (!var$13) { var$13 = 0; break d; } } var$13 = 1; } if (var$13) break; } $par0ItemArmor = $par0ItemArmor.$next3; } $var4 = $par0ItemArmor === null ? null : $par0ItemArmor.$value1; if ($var4 === null) { $var4 = new nle_TextureLocation; $var4.$path = $par2Str; $var4.$glObject = (-1); $par0ItemArmor = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity($par0ItemArmor, $par0ItemArmor.$size0 + 1 | 0); var$6 = $par0ItemArmor.$array.data; var$13 = $par0ItemArmor.$size0; $par0ItemArmor.$size0 = var$13 + 1 | 0; var$6[var$13] = $var4; $par0ItemArmor.$modCount = $par0ItemArmor.$modCount + 1 | 0; ju_HashMap_putImpl(nms_RenderBiped_field_110859_k, $par2Str, $var4); } return $var4; } $par0ItemArmor = new jl_IndexOutOfBoundsException; jl_Exception__init_($par0ItemArmor); $rt_throw($par0ItemArmor); }, nms_RenderBiped_func_130006_a = ($this, $par1EntityLiving, $par2, $par3) => { let $var9, $var4, $var5, $var6, $var7, var$9, var$10, $var10, $var11, $var12, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var9 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var9 = 3 - $par2 | 0; $var4 = $par1EntityLiving.$equipment.data[$var9 + 1 | 0]; if ($var4 !== null) { nms_Item_$callClinit(); $var5 = nms_Item_itemsList.data[$var4.$itemID]; if ($var5 instanceof nms_ItemArmor) { $var6 = $var5; $par1EntityLiving = nms_RenderBiped_func_110858_a($var6, $par2, null); $ptr = 1; continue main; } } return (-1); case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } $var9 = $rt_compare($par2, 2); $var7 = $var9 ? $this.$field_82423_g : $this.$field_82425_h; $var7.$bipedHead.$showModel = $par2 ? 0 : 1; $var7.$bipedHeadwear.$showModel = $par2 ? 0 : 1; $par1EntityLiving = $var7.$bipedBody; var$9 = $rt_compare($par2, 1); $par1EntityLiving.$showModel = var$9 && $var9 ? 0 : 1; $var7.$bipedRightArm.$showModel = var$9 ? 0 : 1; $var7.$bipedLeftArm.$showModel = var$9 ? 0 : 1; $var7.$bipedRightLeg.$showModel = $var9 && $par2 != 3 ? 0 : 1; $var7.$bipedLeftLeg.$showModel = $var9 && $par2 != 3 ? 0 : 1; $this.$renderPassModel = $var7; $par1EntityLiving = $this.$mainModel; $var7.$onGround1 = $par1EntityLiving.$onGround1; $var7.$isRiding0 = $par1EntityLiving.$isRiding0; $var7.$isChild0 = $par1EntityLiving.$isChild0; if ($var6.$material !== nms_EnumArmorMaterial_CLOTH) { a: { nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $var4.$stackTagCompound; if ($var6 !== null) { b: { $var6 = $var6.$tagMap; if (!$rt_s(1734).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1734).$nativeString.length) break b; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } var$9 = $rt_s(1734).$hashCode1; var$10 = $var6.$elementData.data; $var6 = var$10[var$9 & (var$10.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { c: { $var7 = $var6.$key; if ($rt_s(1734) !== $var7) { if ($rt_s(1734) === $var7) $par2 = 1; else if (!($var7 instanceof jl_String)) $par2 = 0; else { $var7 = $var7; $par2 = $rt_s(1734).$nativeString !== $var7.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break c; } } $par2 = 1; } if ($par2) break; } $var6 = $var6.$next3; } if ($var6 === null ? 0 : 1) { $par2 = 1; break a; } } $par2 = 0; } if (!$par2) return 1; return 15; } d: { $var9 = nms_ItemArmor_getColor($var6, $var4); $var10 = ($var9 >> 16 & 255) / 255.0; $var11 = ($var9 >> 8 & 255) / 255.0; $var12 = ($var9 & 255) / 255.0; $par3 = 1.0 * $var10; $var10 = 1.0 * $var11; $var8 = 1.0 * $var12; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par3; nleg_EaglerAdapterGL30_colorG = $var10; nleg_EaglerAdapterGL30_colorB = $var8; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $var4.$stackTagCompound; if ($var6 !== null) { e: { $var6 = $var6.$tagMap; if (!$rt_s(1734).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1734).$nativeString.length) break e; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } var$9 = $rt_s(1734).$hashCode1; var$10 = $var6.$elementData.data; $var6 = var$10[var$9 & (var$10.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { f: { $var7 = $var6.$key; if ($rt_s(1734) !== $var7) { if ($rt_s(1734) === $var7) $par2 = 1; else if (!($var7 instanceof jl_String)) $par2 = 0; else { $var7 = $var7; $par2 = $rt_s(1734).$nativeString !== $var7.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break f; } } $par2 = 1; } if ($par2) break; } $var6 = $var6.$next3; } if ($var6 === null ? 0 : 1) { $par2 = 1; break d; } } $par2 = 0; } if (!$par2) return 16; return 31; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par3, $var9, $var4, $var5, $var6, $var7, var$9, var$10, $var10, $var11, $var12, $var8, $ptr); }, nms_RenderBiped_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $var12, $var11, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var11 = $thread.pop();$var12 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_RenderBiped_func_82420_a($this, $par1EntityLiving, $par1EntityLiving.$equipment.data[0]); $var12 = $par4 - $par1EntityLiving.$yOffset; $var11 = $par1EntityLiving.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[128]; if (var$9 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { var$10 = var$9.$value0; var$11 = $var11.$elementData.data; $var11 = var$11[var$10 & (var$11.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$10) { var$12 = $var11.$key; if (var$9 !== var$12 && !jl_Integer_equals(var$9, var$12) ? 0 : 1) break; } $var11 = $var11.$next3; } } $var11 = $var11 === null ? null : $var11.$value1; if (!($var11.$watchedObject.$value2 & 2) ? 0 : 1) $var12 = $var12 - 0.125; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityLiving, $par2, $var12, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityLiving, $par2, $var12, $par6, $par8, $par9); $par1EntityLiving = $this.$field_82423_g; $var11 = $this.$field_82425_h; var$9 = $this.$modelBipedMain0; var$9.$aimedBow = 0; $var11.$aimedBow = 0; $par1EntityLiving.$aimedBow = 0; var$9.$isSneak = 0; $var11.$isSneak = 0; $par1EntityLiving.$isSneak = 0; var$9.$heldItemRight = 0; $var11.$heldItemRight = 0; $par1EntityLiving.$heldItemRight = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $var12, $var11, var$9, var$10, var$11, var$12, $ptr); }, nms_RenderBiped_func_82420_a = ($this, $par1EntityLiving, $par2ItemStack) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$3 = $this.$field_82423_g; var$4 = $this.$field_82425_h; var$5 = $this.$modelBipedMain0; var$6 = $par2ItemStack === null ? 0 : 1; var$5.$heldItemRight = var$6; var$4.$heldItemRight = var$6; var$3.$heldItemRight = var$6; $par1EntityLiving = $par1EntityLiving.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[128]; if (var$7 === null) { $par1EntityLiving = $par1EntityLiving.$elementData.data[0]; while ($par1EntityLiving !== null && $par1EntityLiving.$key !== null) { $par1EntityLiving = $par1EntityLiving.$next3; } } else { var$8 = var$7.$value0; var$9 = $par1EntityLiving.$elementData.data; $par1EntityLiving = var$9[var$8 & (var$9.length - 1 | 0)]; while ($par1EntityLiving !== null) { if ($par1EntityLiving.$origKeyHash == var$8) { $par2ItemStack = $par1EntityLiving.$key; if (var$7 !== $par2ItemStack && !jl_Integer_equals(var$7, $par2ItemStack) ? 0 : 1) break; } $par1EntityLiving = $par1EntityLiving.$next3; } } $par1EntityLiving = $par1EntityLiving === null ? null : $par1EntityLiving.$value1; var$6 = !($par1EntityLiving.$watchedObject.$value2 & 2) ? 0 : 1; var$5.$isSneak = var$6; var$4.$isSneak = var$6; var$3.$isSneak = var$6; }, nms_RenderBiped_func_130005_c = ($this, $par1EntityLiving, $par2) => { let var$3, $var4, $var5, var$6, $var7, var$8, var$9, var$10, var$11, var$12, $var3, $var6, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();$var6 = $thread.pop();$var3 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; var$3 = $par1EntityLiving.$equipment.data; $var4 = var$3[0]; $var5 = var$3[4]; if ($var5 !== null) { nleg_EaglerAdapterGL30_glPushMatrix(); nms_ModelRenderer_postRender($this.$modelBipedMain0.$bipedHead, 0.0625); nms_Item_$callClinit(); var$3 = nms_Item_itemsList.data; var$6 = $var5.$itemID; if (var$3[var$6].$itemID0 < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_renderItemIn3d(nms_Block_blocksList.data[var$6].$getRenderType())) { $var7 = nleg_EaglerAdapterGL30_deevis; $var7.$x = 0.0; $var7.$y = (-0.25); $var7.$z = 0.0; $var7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var7, $var7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var7); $var7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var7.$sb = var$8; $var7.$buffer0 = $rt_createCharArray(32); $var7.$autoFlush = 0; $var7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var7 = nleg_EaglerAdapterGL30_deevis; $var7.$x = 0.0; $var7.$y = 1.0; $var7.$z = 0.0; $var7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.5707963705062866, nleg_EaglerAdapterGL30_deevis, $var7, $var7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var7); $var7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var7.$sb = var$8; $var7.$buffer0 = $rt_createCharArray(32); $var7.$autoFlush = 0; $var7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var7 = nleg_EaglerAdapterGL30_deevis; $var7.$x = 0.625; $var7.$y = (-0.625); $var7.$z = (-0.625); $var7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var7, $var7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var7); $var7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var7.$sb = var$8; $var7.$buffer0 = $rt_createCharArray(32); $var7.$autoFlush = 0; $var7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var7 = $this.$renderManager.$itemRenderer; var$9 = 0; $ptr = 1; continue main; } if (var$3[var$6].$itemID0 == nms_Item_skull.$itemID0) { $var7 = nleg_EaglerAdapterGL30_deevis; $var7.$x = 1.0625; $var7.$y = (-1.0625); $var7.$z = (-1.0625); $var7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var7, $var7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var7); $var7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var7.$sb = var$8; $var7.$buffer0 = $rt_createCharArray(32); $var7.$autoFlush = 0; $var7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var7 = $rt_s(18); var$10 = $var5.$stackTagCompound; if (var$10 === null ? 0 : 1) { a: { var$10 = var$10.$tagMap; if (!$rt_s(1956).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1956).$nativeString.length) break a; $rt_s(1956).$hashCode1 = (31 * $rt_s(1956).$hashCode1 | 0) + $rt_s(1956).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$6 = $rt_s(1956).$hashCode1; var$3 = var$10.$elementData.data; var$10 = var$3[var$6 & (var$3.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$6) { b: { var$11 = var$10.$key; if ($rt_s(1956) !== var$11) { if ($rt_s(1956) === var$11) var$9 = 1; else if (!(var$11 instanceof jl_String)) var$9 = 0; else { var$11 = var$11; var$9 = $rt_s(1956).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break b; } } var$9 = 1; } if (var$9) break; } var$10 = var$10.$next3; } if (var$10 === null ? 0 : 1) { c: { var$11 = $var5.$stackTagCompound; var$8 = var$11.$tagMap; if (!$rt_s(1956).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1956).$nativeString.length) break c; $rt_s(1956).$hashCode1 = (31 * $rt_s(1956).$hashCode1 | 0) + $rt_s(1956).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$6 = $rt_s(1956).$hashCode1; var$3 = var$8.$elementData.data; var$8 = var$3[var$6 & (var$3.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$6) { d: { var$10 = var$8.$key; if ($rt_s(1956) !== var$10) { if ($rt_s(1956) === var$10) var$9 = 1; else if (!(var$10 instanceof jl_String)) var$9 = 0; else { var$10 = var$10; var$9 = $rt_s(1956).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break d; } } var$9 = 1; } if (var$9) break; } var$8 = var$8.$next3; } if (!(var$8 === null ? 0 : 1)) $var7 = $rt_s(18); else { var$8 = var$11.$tagMap; if ($rt_s(1956) === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { e: { if (!$rt_s(1956).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1956).$nativeString.length) break e; $rt_s(1956).$hashCode1 = (31 * $rt_s(1956).$hashCode1 | 0) + $rt_s(1956).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$6 = $rt_s(1956).$hashCode1; var$3 = var$8.$elementData.data; var$8 = var$3[var$6 & (var$3.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$6) { f: { var$10 = var$8.$key; if ($rt_s(1956) !== var$10) { if ($rt_s(1956) === var$10) var$9 = 1; else if (!(var$10 instanceof jl_String)) var$9 = 0; else { var$10 = var$10; var$9 = $rt_s(1956).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break f; } } var$9 = 1; } if (var$9) break; } var$8 = var$8.$next3; } } $var7 = (var$8 === null ? null : var$8.$value1).$data1; } } } nms_TileEntitySkullRenderer_$callClinit(); var$8 = nms_TileEntitySkullRenderer_skullRenderer; var$12 = (-0.5); $par2 = 0.0; $var3 = (-0.5); var$9 = 1; $var6 = 180.0; var$15 = $var5.$itemDamage; $ptr = 2; continue main; } nleg_EaglerAdapterGL30_glPopMatrix(); } if ($var4 === null) return; nleg_EaglerAdapterGL30_glPushMatrix(); if ($this.$mainModel.$isChild0) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.625; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = (-1.0); $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.5; $var5.$y = 0.5; $var5.$z = 0.5; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nms_ModelRenderer_postRender($this.$modelBipedMain0.$bipedRightArm, 0.0625); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = (-0.0625); $var5.$y = 0.4375; $var5.$z = 0.0625; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } g: { var$9 = $var4.$itemID; if (var$9 < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_renderItemIn3d(nms_Block_blocksList.data[var$9].$getRenderType())) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.1875; $var5.$z = (-0.3125); $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = (-0.375); $var5.$y = (-0.375); $var5.$z = 0.375; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break g; } } var$9 = $var4.$itemID; nms_Item_$callClinit(); if (var$9 == nms_Item_bow.$itemID0) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.125; $var5.$z = 0.3125; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.625; $var5.$y = (-0.625); $var5.$z = 0.625; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else if (!nms_Item_itemsList.data[var$9].$isFull3D()) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.25; $var5.$y = 0.1875; $var5.$z = (-0.1875); $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.375; $var5.$y = 0.375; $var5.$z = 0.375; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.0; $var5.$z = 1.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.0471975803375244, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.0; $var5.$z = 1.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { if (nms_Item_itemsList.data[$var4.$itemID].$shouldRotateAroundWhenRendering()) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.0; $var5.$z = 1.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = (-0.125); $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $this.$func_82422_c(); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.625; $var5.$y = (-0.625); $var5.$z = 0.625; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } $var5 = $this.$renderManager.$itemRenderer; var$9 = 0; $ptr = 3; continue main; case 1: nms_ItemRenderer_renderItem($var7, $par1EntityLiving, $var5, var$9); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); if ($var4 === null) return; nleg_EaglerAdapterGL30_glPushMatrix(); if ($this.$mainModel.$isChild0) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.625; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = (-1.0); $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.5; $var5.$y = 0.5; $var5.$z = 0.5; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nms_ModelRenderer_postRender($this.$modelBipedMain0.$bipedRightArm, 0.0625); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = (-0.0625); $var5.$y = 0.4375; $var5.$z = 0.0625; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } h: { var$9 = $var4.$itemID; if (var$9 < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_renderItemIn3d(nms_Block_blocksList.data[var$9].$getRenderType())) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.1875; $var5.$z = (-0.3125); $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = (-0.375); $var5.$y = (-0.375); $var5.$z = 0.375; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break h; } } var$9 = $var4.$itemID; nms_Item_$callClinit(); if (var$9 == nms_Item_bow.$itemID0) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.125; $var5.$z = 0.3125; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.625; $var5.$y = (-0.625); $var5.$z = 0.625; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else if (!nms_Item_itemsList.data[var$9].$isFull3D()) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.25; $var5.$y = 0.1875; $var5.$z = (-0.1875); $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.375; $var5.$y = 0.375; $var5.$z = 0.375; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.0; $var5.$z = 1.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.0471975803375244, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.0; $var5.$z = 1.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { if (nms_Item_itemsList.data[$var4.$itemID].$shouldRotateAroundWhenRendering()) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.0; $var5.$z = 1.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = (-0.125); $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $this.$func_82422_c(); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.625; $var5.$y = (-0.625); $var5.$z = 0.625; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } $var5 = $this.$renderManager.$itemRenderer; var$9 = 0; $ptr = 3; continue main; case 2: nms_TileEntitySkullRenderer_func_82393_a(var$8, var$12, $par2, $var3, var$9, $var6, var$15, $var7); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); if ($var4 === null) return; nleg_EaglerAdapterGL30_glPushMatrix(); if ($this.$mainModel.$isChild0) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.625; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = (-1.0); $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.5; $var5.$y = 0.5; $var5.$z = 0.5; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nms_ModelRenderer_postRender($this.$modelBipedMain0.$bipedRightArm, 0.0625); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = (-0.0625); $var5.$y = 0.4375; $var5.$z = 0.0625; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } h: { var$9 = $var4.$itemID; if (var$9 < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_renderItemIn3d(nms_Block_blocksList.data[var$9].$getRenderType())) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.1875; $var5.$z = (-0.3125); $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = (-0.375); $var5.$y = (-0.375); $var5.$z = 0.375; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break h; } } var$9 = $var4.$itemID; nms_Item_$callClinit(); if (var$9 == nms_Item_bow.$itemID0) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.125; $var5.$z = 0.3125; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.625; $var5.$y = (-0.625); $var5.$z = 0.625; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else if (!nms_Item_itemsList.data[var$9].$isFull3D()) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.25; $var5.$y = 0.1875; $var5.$z = (-0.1875); $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.375; $var5.$y = 0.375; $var5.$z = 0.375; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.0; $var5.$z = 1.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.0471975803375244, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.0; $var5.$z = 1.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { if (nms_Item_itemsList.data[$var4.$itemID].$shouldRotateAroundWhenRendering()) { $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 0.0; $var5.$z = 1.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = (-0.125); $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $this.$func_82422_c(); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.625; $var5.$y = (-0.625); $var5.$z = 0.625; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 1.0; $var5.$y = 0.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.0; $var5.$y = 1.0; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $var7 = new ji_ByteArrayOutputStream; $var7.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $var7; $var7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var7, 16); $var5.$sb = $var7; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } $var5 = $this.$renderManager.$itemRenderer; var$9 = 0; $ptr = 3; case 3: nms_ItemRenderer_renderItem($var5, $par1EntityLiving, $var4, var$9); if ($rt_suspending()) { break main; } nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$var4.$itemID].$requiresMultipleRenderPasses()) { nleg_EaglerAdapterGL30_glPopMatrix(); return; } $var5 = $this.$renderManager.$itemRenderer; var$9 = 1; $ptr = 4; case 4: nms_ItemRenderer_renderItem($var5, $par1EntityLiving, $var4, var$9); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, var$3, $var4, $var5, var$6, $var7, var$8, var$9, var$10, var$11, var$12, $var3, $var6, var$15, $ptr); }, nms_RenderBiped_func_82422_c = $this => { let var$1, var$2; nleg_EaglerAdapterGL30_$callClinit(); var$1 = nleg_EaglerAdapterGL30_deevis; var$1.$x = 0.0; var$1.$y = 0.1875; var$1.$z = 0.0; var$1 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$1, var$1); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); jl_Object__init_(var$1); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$2, 16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RenderBiped_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: $tmp = $this.$func_130006_a($par1EntityLivingBase, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $ptr); }, nms_RenderBiped_bindTexture = ($this, $par1EntityLiving) => { return; }, nms_RenderBiped_renderEquippedItems = ($this, $par1EntityLivingBase, $par2) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: $this.$func_130005_c($par1EntityLivingBase, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $ptr); }, nms_RenderBiped_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: $this.$doRenderLiving0($par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderBiped__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_RenderBiped_field_110859_k = var$1; nms_RenderBiped_bipedArmorFilenamePrefix = $rt_wrapArray(jl_String, [$rt_s(1957), $rt_s(1958), $rt_s(1959), $rt_s(1960), $rt_s(1961)]); }, nms_RenderSkeleton = $rt_classWithoutFields(nms_RenderBiped), nms_RenderSkeleton_skeletonTextures = null, nms_RenderSkeleton_witherSkeletonTextures = null, nms_RenderSkeleton_$callClinit = () => { nms_RenderSkeleton_$callClinit = $rt_eraseClinit(nms_RenderSkeleton); nms_RenderSkeleton__clinit_(); }, nms_RenderSkeleton__init_ = $this => { let var$1, var$2; nms_RenderSkeleton_$callClinit(); var$1 = nms_ModelSkeleton__init_(0.0); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.5; $this.$modelBipedMain0 = var$1; $this.$field_77070_b = 1.0; $this.$field_82423_g = nms_ModelBiped__init_0(1.0, 0.0, 64, 32); $this.$field_82425_h = nms_ModelBiped__init_0(0.5, 0.0, 64, 32); }, nms_RenderSkeleton__init_0 = () => { let var_0 = new nms_RenderSkeleton(); nms_RenderSkeleton__init_(var_0); return var_0; }, nms_RenderSkeleton_func_82422_c = $this => { let var$1, var$2; nleg_EaglerAdapterGL30_$callClinit(); var$1 = nleg_EaglerAdapterGL30_deevis; var$1.$x = 0.09375; var$1.$y = 0.1875; var$1.$z = 0.0; var$1 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$1, var$1); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); jl_Object__init_(var$1); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$2, 16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RenderSkeleton_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { let var$3, var$4, var$5, var$6; $par1EntityLivingBase = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[141]; if (var$3 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$4 = var$3.$value0; var$5 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$4) { var$6 = $par1EntityLivingBase.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; if ($par1EntityLivingBase.$watchedObject.$value2 == 1) { nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 1.2000000476837158; $par1EntityLivingBase.$y = 1.2000000476837158; $par1EntityLivingBase.$z = 1.2000000476837158; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; jl_Object__init_(var$3); var$3.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$3); $par1EntityLivingBase.$sb = var$3; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } }, nms_RenderSkeleton_getEntityTexture = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5; $par1Entity = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[141]; if (var$2 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1Entity.$elementData.data; $par1Entity = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$3) { var$5 = $par1Entity.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if ($par1Entity.$watchedObject.$value2 != 1) { nms_RenderSkeleton_$callClinit(); $par1Entity = nms_RenderSkeleton_skeletonTextures; } else { nms_RenderSkeleton_$callClinit(); $par1Entity = nms_RenderSkeleton_witherSkeletonTextures; } return $par1Entity; }, nms_RenderSkeleton__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1962); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderSkeleton_skeletonTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1963); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderSkeleton_witherSkeletonTextures = var$1; }; function nms_EntityWitch() { nms_EntityMob.call(this); this.$witchAttackTimer = 0; } let nms_EntityWitch_field_110184_bp = null, nms_EntityWitch_field_110185_bq = null, nms_EntityWitch_witchDrops = null, nms_EntityWitch_$callClinit = () => { nms_EntityWitch_$callClinit = $rt_eraseClinit(nms_EntityWitch); nms_EntityWitch__clinit_(); }, nms_EntityWitch__init_0 = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_EntityWitch_$callClinit(); nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; $this.$experienceValue = 5; var$2 = $this.$tasks0; $par1World = new nms_EntityAISwimming; $par1World.$theEntity2 = $this; $par1World.$mutexBits = 4; $this.$navigator.$canSwim = 1; var$3 = var$2.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = var$2; var$4.$priority = 1; var$4.$action = $par1World; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIArrowAttack; var$2.$rangedAttackTime = (-1); if (!($this instanceof nms_EntityLivingBase)) { $par1World = new jl_IllegalArgumentException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $par1World.$message = $rt_s(1947); $rt_throw($par1World); } var$2.$rangedAttackEntityHost = $this; var$2.$entityHost = $this; var$2.$entityMoveSpeed = 1.0; var$2.$field_96561_g = 60; var$2.$maxRangedAttackTime = 60; var$2.$field_96562_i = 10.0; var$2.$field_82642_h = 100.0; var$2.$mutexBits = 3; var$3 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 2; var$4.$action = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIWander; var$2.$entity = $this; var$2.$speed = 1.0; var$2.$mutexBits = 1; var$3 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 2; var$4.$action = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIWatchClosest; var$2.$theWatcher = $this; var$2.$watchedClass = $rt_cls(nms_EntityPlayer); var$2.$maxDistanceForPlayer = 8.0; var$2.$field_75331_e = 0.019999999552965164; var$2.$mutexBits = 2; var$3 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 3; var$4.$action = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$5[var$7] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAILookIdle; var$2.$idleEntity = $this; var$2.$mutexBits = 3; var$3 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 3; var$4.$action = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$2 = new nms_EntityAIHurtByTarget; var$2.$taskOwner = $this; var$2.$shouldCheckSight = 0; var$2.$nearbyOnly = 0; var$2.$entityCallsForHelp = 0; var$2.$mutexBits = 1; var$3 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 1; var$4.$action = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$2 = new nms_EntityAINearestAttackableTarget; var$3 = null; var$2.$taskOwner = $this; var$2.$shouldCheckSight = 1; var$2.$nearbyOnly = 0; var$2.$targetClass = $rt_cls(nms_EntityPlayer); var$2.$targetChance = 0; var$4 = new nms_EntityAINearestAttackableTargetSorter; var$4.$theEntity5 = $this; var$2.$theNearestAttackableTargetSorter = var$4; var$2.$mutexBits = 1; var$4 = new nms_EntityAINearestAttackableTargetSelector; var$4.$field_111102_d = var$2; var$4.$field_111103_c = var$3; var$2.$targetEntitySelector = var$4; var$3 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 2; var$4.$action = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; }, nms_EntityWitch__init_ = var_0 => { let var_1 = new nms_EntityWitch(); nms_EntityWitch__init_0(var_1, var_0); return var_1; }, nms_EntityWitch_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); nms_DataWatcher_addObject($this.$dataWatcher, 21, jl_Byte_byteCache.data[128]); }, nms_EntityWitch_getLivingSound = $this => { return $rt_s(1964); }, nms_EntityWitch_getHurtSound = $this => { return $rt_s(1965); }, nms_EntityWitch_getDeathSound = $this => { return $rt_s(1966); }, nms_EntityWitch_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_attackDamage); var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (26.0 !== var$3.$baseValue) { var$3.$baseValue = 26.0; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break b; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.25 !== var$1.$baseValue) { var$1.$baseValue = 0.25; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityWitch_isAIEnabled = $this => { return 1; }, nms_EntityWitch_onLivingUpdate = $this => { let $var2, $var3, var$3, var$4, $var4, $var1, var$7, var$8, $var5, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var5 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var1 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj.$isRemote) { $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[149]; if ($var3 !== null) { var$3 = $var3.$value0; var$4 = $var2.$elementData.data; $var2 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$3) { $var4 = $var2.$key; if ($var3 !== $var4 && !($var3 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2.$watchedObject.$value2 != 1 ? 0 : 1) { var$3 = $this.$witchAttackTimer; $this.$witchAttackTimer = var$3 - 1 | 0; if (var$3 <= 0) { $var3 = $this.$dataWatcher; $var1 = jl_Byte_byteCache.data[128]; $var2 = $var3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[149]; if (var$7 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$8 = var$7.$value0; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { $var4 = $var2.$key; if (var$7 !== $var4 && !(var$7 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; $var4 = $var2.$watchedObject; if (!($var4 instanceof jl_Byte && $var4.$value2 == $var1.$value2 ? 1 : 0)) { $var2.$watchedObject = $var1; $var2.$watched = 1; $var3.$objectChanged = 1; } a: { var$4 = $this.$equipment.data; $var1 = var$4[0]; var$4[0] = null; if ($var1 !== null) { var$3 = $var1.$itemID; nms_Item_$callClinit(); $var2 = nms_Item_potion; if (var$3 == $var2.$itemID0) { $var2 = nms_ItemPotion_getEffects($var2, $var1); if ($var2 !== null) { $var3 = $var2.$iterator(); while (true) { if (!$var3.$hasNext()) break a; $var4 = $var3.$next(); $var2 = new nms_PotionEffect; $var2.$potionID = $var4.$potionID; $var2.$duration = $var4.$duration; $var2.$amplifier = $var4.$amplifier; nms_EntityLivingBase_addPotionEffect($this, $var2); } } } } } $var2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var3 = $this.$attributeMap.$attributes; if ($var2 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { b: { $var4 = $var2.$field_111115_a; if (!$var4.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $var4.$nativeString.length) break b; $var4.$hashCode1 = (31 * $var4.$hashCode1 | 0) + $var4.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $var4.$hashCode1; var$4 = $var3.$elementData.data; $var3 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$3) { $var4 = $var3.$key; if ($var2 !== $var4 && !jl_Object_equals($var2, $var4) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; nms_EntityWitch_$callClinit(); nms_ModifiableAttributeInstance_removeModifier($var3, nms_EntityWitch_field_110185_bq); } } else { c: { $var5 = (-1); $var2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 < 0.15000000596046448) { d: { e: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break e; $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[128]; if ($var4 !== null) { var$11 = $var4.$value0; var$4 = $var2.$elementData.data; $var2 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$11) { $var3 = $var2.$key; if ($var4 !== $var3 && !jl_Integer_equals($var4, $var3) ? 0 : 1) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if (!($var2.$watchedObject.$value2 & 1) ? 0 : 1) break e; } var$3 = 0; break d; } var$3 = 1; } if (var$3) { nms_Potion_$callClinit(); $var2 = nms_Potion_fireResistance; $var3 = $this.$activePotionsMap; var$3 = $var2.$id1; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$3; } if ($var2 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$11 = $var2.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$11) { $var4 = $var3.$key; if ($var2 !== $var4 && !($var2 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == var$11 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } if (!($var3 === null ? 0 : 1)) { $var5 = 16307; break c; } } } $var2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 < 0.05000000074505806) { $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[134]; if ($var4 !== null) { var$11 = $var4.$value0; var$4 = $var2.$elementData.data; $var2 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$11) { $var3 = $var2.$key; if ($var4 !== $var3 && !($var4 !== $var3 ? ($var3 instanceof jl_Integer && $var3.$value0 == var$11 ? 1 : 0) : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } var$12 = ($var2 === null ? null : $var2.$value1).$watchedObject.$value3; $var2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var4 = $this.$attributeMap.$attributes; if ($var2 !== null) { f: { $var3 = $var2.$field_111115_a; if (!$var3.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $var3.$nativeString.length) break f; $var3.$hashCode1 = (31 * $var3.$hashCode1 | 0) + $var3.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $var3.$hashCode1; var$4 = $var4.$elementData.data; $var3 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var3 !== null && !($var3.$origKeyHash == var$8 && ju_HashMap_areEqualKeys($var2, $var3.$key))) { $var3 = $var3.$next3; } } else { $var3 = $var4.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } $var2 = $var3 === null ? null : $var3.$value1; if ($var2.$field_111133_g) { $var2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var2); $var2.$field_111133_g = 0; } if (var$12 < $var2.$field_111139_h) { $var5 = 16341; break c; } } $var2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 < 0.25 && $this.$attackTarget !== null) { nms_Potion_$callClinit(); $var2 = nms_Potion_moveSpeed; $var3 = $this.$activePotionsMap; var$3 = $var2.$id1; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$3; } if ($var2 !== null) { var$11 = $var2.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$11) { $var4 = $var3.$key; if ($var2 !== $var4 && !($var2 !== $var4 ? ($var4 instanceof jl_Integer && $var4.$value0 == var$11 ? 1 : 0) : 1) ? 0 : 1) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } if (!($var3 === null ? 0 : 1)) { $var2 = $this.$attackTarget; var$13 = $var2.$posX - $this.$posX; var$14 = $var2.$posY - $this.$posY; var$15 = $var2.$posZ - $this.$posZ; if (var$13 * var$13 + var$14 * var$14 + var$15 * var$15 > 121.0) { $var5 = 16274; break c; } } } $var2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 < 0.25 && $this.$attackTarget !== null) { nms_Potion_$callClinit(); $var2 = nms_Potion_moveSpeed; $var3 = $this.$activePotionsMap; var$3 = $var2.$id1; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$3; } if ($var2 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$16 = $var2.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[var$16 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$16) { $var4 = $var3.$key; if ($var2 !== $var4 && !($var2 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == var$16 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } if (!($var3 === null ? 0 : 1)) { $var2 = $this.$attackTarget; var$13 = $var2.$posX - $this.$posX; var$14 = $var2.$posY - $this.$posY; var$15 = $var2.$posZ - $this.$posZ; if (var$13 * var$13 + var$14 * var$14 + var$15 * var$15 > 121.0) $var5 = 16274; } } } if ($var5 > (-1)) { $var3 = new nms_ItemStack; nms_Item_$callClinit(); $var2 = nms_Item_potion; nms_ItemStack_$callClinit(); $var3.$itemID = $var2.$itemID0; $var3.$stackSize = 1; $var3.$itemDamage = $var5; if ($var5 < 0) $var3.$itemDamage = 0; var$4 = $this.$equipment.data; var$4[0] = $var3; $var2 = var$4[0]; $this.$witchAttackTimer = nms_Item_itemsList.data[$var2.$itemID].$getMaxItemUseDuration($var2); $var3 = $this.$dataWatcher; $var1 = jl_Byte_byteCache.data[129]; $var2 = $var3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[149]; if (var$7 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$8 = var$7.$value0; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { $var4 = $var2.$key; if (var$7 !== $var4 && !(var$7 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; $var4 = $var2.$watchedObject; if (!($var4 instanceof jl_Byte && $var4.$value2 == $var1.$value2 ? 1 : 0)) { $var2.$watchedObject = $var1; $var2.$watched = 1; $var3.$objectChanged = 1; } $var2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var3 = $this.$attributeMap.$attributes; if ($var2 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { g: { $var4 = $var2.$field_111115_a; if (!$var4.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $var4.$nativeString.length) break g; $var4.$hashCode1 = (31 * $var4.$hashCode1 | 0) + $var4.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $var4.$hashCode1; var$4 = $var3.$elementData.data; $var3 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$3) { $var4 = $var3.$key; if ($var2 !== $var4 && !jl_Object_equals($var2, $var4) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; nms_EntityWitch_$callClinit(); nms_ModifiableAttributeInstance_removeModifier($var3, nms_EntityWitch_field_110185_bq); nms_ModifiableAttributeInstance_applyModifier($var3, nms_EntityWitch_field_110185_bq); } } $var2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 1; case 1: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, $var3, var$3, var$4, $var4, $var1, var$7, var$8, $var5, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityWitch_handleHealthUpdate = ($this, $par1) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 != 15) { $ptr = 1; continue main; } $var2 = 0; var$3 = 17; var$4 = 34; while (true) { var$5 = $this.$rand; var$6 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, var$3)); while (true) { var$8 = var$7 % 35 | 0; if (((var$7 - var$8 | 0) + var$4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, var$3)); } if ($var2 >= (var$8 + 10 | 0)) break; var$9 = $this.$worldObj; var$10 = $rt_s(1482); var$11 = $this.$posX + nle_EaglercraftRandom_nextGaussian(var$5) * 0.12999999523162842; var$12 = $this.$boundingBox.$maxY + 0.5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.12999999523162842; var$13 = $this.$posZ + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.12999999523162842; var$14 = 0.0; var$15 = 0.0; var$16 = 0.0; $par1 = 0; var$5 = var$9.$worldAccesses; var$7 = $rt_compare($par1, var$5.$size0); if (var$7 < 0) { if ($par1 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[$par1]; $ptr = 2; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $var2 = $var2 + 1 | 0; } return; case 1: nms_EntityLivingBase_handleHealthUpdate($this, $par1); if ($rt_suspending()) { break main; } return; case 2: nms_RenderGlobal_doSpawnParticle(var$5, var$10, var$11, var$12, var$13, var$14, var$15, var$16); if ($rt_suspending()) { break main; } $par1 = $par1 + 1 | 0; while (true) { var$5 = var$9.$worldAccesses; var$7 = $rt_compare($par1, var$5.$size0); if (var$7 < 0) { if ($par1 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[$par1]; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $var2 = $var2 + 1 | 0; var$5 = $this.$rand; var$6 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, var$3)); while (true) { var$8 = var$7 % 35 | 0; if (((var$7 - var$8 | 0) + var$4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, var$3)); } if ($var2 >= (var$8 + 10 | 0)) break; var$9 = $this.$worldObj; var$10 = $rt_s(1482); var$11 = $this.$posX + nle_EaglercraftRandom_nextGaussian(var$5) * 0.12999999523162842; var$12 = $this.$boundingBox.$maxY + 0.5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.12999999523162842; var$13 = $this.$posZ + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.12999999523162842; var$14 = 0.0; var$15 = 0.0; var$16 = 0.0; $par1 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityWitch_applyPotionDamageCalculations = ($this, $par1DamageSource, $par2) => { $par2 = nms_EntityLivingBase_applyPotionDamageCalculations($this, $par1DamageSource, $par2); if ($par1DamageSource.$getEntity() === $this) $par2 = 0.0; if ($par1DamageSource.$magicDamage) $par2 = $par2 * 0.15; return $par2; }, nms_EntityWitch_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, var$5, $var3, var$7, var$8, $var4, var$10, var$11, var$12, var$13, var$14, $var5, var$16, var$17, $var6, $var7, var$20, var$21, var$22, var$23, var$24, var$25, var$26, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var5 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var4 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = 17; $var3 = Long_lo(Long_shru(var$4, var$5)); var$7 = 2; while (true) { var$8 = $var3 % 3 | 0; if ((($var3 - var$8 | 0) + var$7 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var3 = Long_lo(Long_shru(var$4, var$5)); } $var3 = var$8 + 1 | 0; $var4 = 0; var$10 = $par2 + 1 | 0; var$11 = var$10 - 1 | 0; var$12 = var$10 & var$11; var$13 = Long_fromInt(var$10); var$14 = 0.0; var$8 = 138; while ($var4 < $var3) { var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par1 = Long_lo(Long_shru(var$4, var$5)); while (true) { $var5 = $par1 % 3 | 0; if ((($par1 - $var5 | 0) + var$7 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par1 = Long_lo(Long_shru(var$4, var$5)); } nms_EntityWitch_$callClinit(); var$16 = nms_EntityWitch_witchDrops.data; $par1 = var$16.length; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$17 = Long_lo(Long_shru(var$4, var$5)); $var6 = $par1 - 1 | 0; if (!($par1 & $var6)) $var7 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt(var$17)), 31)); else while (true) { $var7 = var$17 % $par1 | 0; if (((var$17 - $var7 | 0) + $var6 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$17 = Long_lo(Long_shru(var$4, var$5)); } $var6 = var$16[$var7]; if ($par2 > 0) { var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par1 = Long_lo(Long_shru(var$4, var$5)); if (!var$12) $var7 = Long_lo(Long_shr(Long_mul(var$13, Long_fromInt($par1)), 31)); else while (true) { $var7 = $par1 % var$10 | 0; if ((($par1 - $var7 | 0) + var$11 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par1 = Long_lo(Long_shru(var$4, var$5)); } $var5 = $var5 + $var7 | 0; } $var7 = 0; if ($var7 < $var5) { var$20 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$20.$itemID = $var6; var$20.$stackSize = 1; var$20.$itemDamage = 0; var$21 = new nms_EntityItem; var$3 = $this.$worldObj; var$22 = $this.$posX; var$23 = $this.$posY + var$14; var$24 = $this.$posZ; $ptr = 1; continue main; } $var4 = $var4 + 1 | 0; } return; case 1: nms_EntityItem__init_(var$21, var$3, var$22, var$23, var$24); if ($rt_suspending()) { break main; } var$25 = var$21.$dataWatcher; var$3 = var$25.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$8]); var$26 = var$3 === null ? null : var$3.$value1; if (!(var$20 !== var$26.$watchedObject ? 0 : 1)) { var$26.$watchedObject = var$20; var$26.$watched = 1; var$25.$objectChanged = 1; } var$26 = var$21.$dataWatcher; var$25 = var$26.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$25, jl_Integer_integerCache.data[var$8]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$26.$objectChanged = 1; var$21.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$21); var$26 = var$3.$entityList; ju_HashMap_putImpl(var$26.$backingMap, var$21, var$26); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$21, var$3); } $var7 = $var7 + 1 | 0; while (true) { if ($var7 < $var5) { var$20 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$20.$itemID = $var6; var$20.$stackSize = 1; var$20.$itemDamage = 0; var$21 = new nms_EntityItem; var$3 = $this.$worldObj; var$22 = $this.$posX; var$23 = $this.$posY + var$14; var$24 = $this.$posZ; continue main; } $var4 = $var4 + 1 | 0; if ($var4 >= $var3) break; var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par1 = Long_lo(Long_shru(var$4, var$5)); while (true) { $var5 = $par1 % 3 | 0; if ((($par1 - $var5 | 0) + var$7 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par1 = Long_lo(Long_shru(var$4, var$5)); } nms_EntityWitch_$callClinit(); var$16 = nms_EntityWitch_witchDrops.data; $par1 = var$16.length; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$17 = Long_lo(Long_shru(var$4, var$5)); $var6 = $par1 - 1 | 0; if (!($par1 & $var6)) $var7 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt(var$17)), 31)); else while (true) { $var7 = var$17 % $par1 | 0; if (((var$17 - $var7 | 0) + $var6 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$17 = Long_lo(Long_shru(var$4, var$5)); } $var6 = var$16[$var7]; if ($par2 > 0) { var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par1 = Long_lo(Long_shru(var$4, var$5)); if (!var$12) $var7 = Long_lo(Long_shr(Long_mul(var$13, Long_fromInt($par1)), 31)); else while (true) { $var7 = $par1 % var$10 | 0; if ((($par1 - $var7 | 0) + var$11 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par1 = Long_lo(Long_shru(var$4, var$5)); } $var5 = $var5 + $var7 | 0; } $var7 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, $var3, var$7, var$8, $var4, var$10, var$11, var$12, var$13, var$14, $var5, var$16, var$17, $var6, $var7, var$20, var$21, var$22, var$23, var$24, var$25, var$26, $ptr); }, nms_EntityWitch_attackEntityWithRangedAttack = ($this, $par1EntityLivingBase, $par2) => { let $var3, var$4, var$5, var$6, var$7, var$8, $var4, $var6, $var8, $var10, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[149]; if (var$4 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$5 = var$4.$value0; var$6 = $var3.$elementData.data; $var3 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$5) { var$7 = $var3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; if ($var3.$watchedObject.$value2 != 1 ? 0 : 1) return; $var3 = new nms_EntityPotion; var$4 = $this.$worldObj; var$7 = new nms_ItemStack; nms_Item_$callClinit(); var$8 = nms_Item_potion; nms_ItemStack_$callClinit(); var$7.$itemID = var$8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 32732; $ptr = 1; case 1: a: { nms_EntityThrowable__init_($var3, var$4, $this); if ($rt_suspending()) { break main; } $var3.$potionDamage = var$7; $var3.$rotationPitch = $var3.$rotationPitch + 20.0; $var4 = $par1EntityLivingBase.$posX + $par1EntityLivingBase.$motionX - $this.$posX; $var6 = $par1EntityLivingBase.$posY + $par1EntityLivingBase.$getEyeHeight() - 1.100000023841858 - $this.$posY; $var8 = $par1EntityLivingBase.$posZ + $par1EntityLivingBase.$motionZ - $this.$posZ; $var10 = jl_Math_sqrt($var4 * $var4 + $var8 * $var8); if ($var10 >= 8.0) { nms_Potion_$callClinit(); var$7 = nms_Potion_moveSlowdown; var$4 = $par1EntityLivingBase.$activePotionsMap; var$5 = var$7.$id1; if (var$5 >= (-128) && var$5 <= 127) { jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$5 + 128 | 0]; } else { var$7 = new jl_Integer; var$7.$value0 = var$5; } if (var$7 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$13 = var$7.$value0; var$6 = var$4.$elementData.data; var$4 = var$6[var$13 & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$13) { var$8 = var$4.$key; if (var$7 !== var$8 && !(var$7 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } if (!(var$4 === null ? 0 : 1)) { if ($var3.$potionDamage === null) { var$4 = new nms_ItemStack; var$4.$itemID = nms_Item_potion.$itemID0; var$4.$stackSize = 1; var$4.$itemDamage = 0; $var3.$potionDamage = var$4; } $var3.$potionDamage.$itemDamage = 32698; break a; } } var$4 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[134]; if (var$8 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$13 = var$8.$value0; var$6 = var$4.$elementData.data; var$4 = var$6[var$13 & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$13) { var$7 = var$4.$key; if (var$8 !== var$7 && !(var$8 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; if (var$4.$watchedObject.$value3 >= 8.0) { nms_Potion_$callClinit(); var$7 = nms_Potion_poison; var$4 = $par1EntityLivingBase.$activePotionsMap; var$5 = var$7.$id1; if (var$5 >= (-128) && var$5 <= 127) { jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$5 + 128 | 0]; } else { var$7 = new jl_Integer; var$7.$value0 = var$5; } if (var$7 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$13 = var$7.$value0; var$6 = var$4.$elementData.data; var$4 = var$6[var$13 & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$13) { var$8 = var$4.$key; if (var$7 !== var$8 && !(var$7 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } if (!(var$4 === null ? 0 : 1)) { if ($var3.$potionDamage === null) { var$4 = new nms_ItemStack; var$4.$itemID = nms_Item_potion.$itemID0; var$4.$stackSize = 1; var$4.$itemDamage = 0; $var3.$potionDamage = var$4; } $var3.$potionDamage.$itemDamage = 32660; break a; } } if ($var10 <= 3.0) { nms_Potion_$callClinit(); var$4 = nms_Potion_weakness; $par1EntityLivingBase = $par1EntityLivingBase.$activePotionsMap; var$14 = var$4.$id1; if (var$14 >= (-128) && var$14 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$14 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$14; } if (var$4 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$13 = var$4.$value0; var$6 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$6[var$13 & (var$6.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$13) { var$7 = $par1EntityLivingBase.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } if (!($par1EntityLivingBase === null ? 0 : 1)) { $par1EntityLivingBase = $this.$rand; var$15 = Long_and(Long_add(Long_mul($par1EntityLivingBase.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityLivingBase.$seed = var$15; if (Long_lo(Long_shru(var$15, 24)) / 1.6777216E7 < 0.25) { if ($var3.$potionDamage === null) { var$4 = new nms_ItemStack; var$4.$itemID = nms_Item_potion.$itemID0; var$4.$stackSize = 1; var$4.$itemDamage = 0; $var3.$potionDamage = var$4; } $var3.$potionDamage.$itemDamage = 32696; } } } } nms_EntityThrowable_setThrowableHeading($var3, $var4, $var6 + $var10 * 0.20000000298023224, $var8, 0.75, 8.0); var$7 = $this.$worldObj; var$5 = nms_World_spawnEntityInWorld(var$7, $var3); $par1EntityLivingBase = var$7.$entityList; ju_HashMap_putImpl($par1EntityLivingBase.$backingMap, $var3, $par1EntityLivingBase); if (!var$5) { $par1EntityLivingBase = var$7.$entitySpawnQueue; ju_HashMap_putImpl($par1EntityLivingBase.$backingMap, $var3, $par1EntityLivingBase); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $var3, var$4, var$5, var$6, var$7, var$8, $var4, $var6, $var8, $var10, var$13, var$14, var$15, $ptr); }, nms_EntityWitch__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = nle_ProfileUUID_fromString($rt_s(1967)); nms_EntityWitch_field_110184_bp = var$1; var$2 = new nms_AttributeModifier; var$2.$isSaved = 1; var$2.$id2 = var$1; var$2.$name3 = $rt_s(1968); var$2.$amount = (-0.25); var$2.$operation = 0; if ($rt_s(1968) === $rt_s(18)) var$3 = 1; else if (!($rt_s(18) instanceof jl_String)) var$3 = 0; else { var$1 = $rt_s(18); var$3 = $rt_s(1968).$nativeString !== var$1.$nativeString ? 0 : 1; } if (var$3) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(1292); $rt_throw(var$1); } var$2.$isSaved = 0; nms_EntityWitch_field_110185_bq = var$2; var$4 = $rt_createIntArray(8); var$5 = var$4.data; nms_Item_$callClinit(); var$5[0] = nms_Item_glowstone.$itemID0; var$5[1] = nms_Item_sugar.$itemID0; var$5[2] = nms_Item_redstone.$itemID0; var$5[3] = nms_Item_spiderEye.$itemID0; var$5[4] = nms_Item_glassBottle.$itemID0; var$5[5] = nms_Item_gunpowder.$itemID0; var$6 = nms_Item_stick.$itemID0; var$5[6] = var$6; var$5[7] = var$6; nms_EntityWitch_witchDrops = var$4; }; function nms_RenderWitch() { nms_RenderLiving.call(this); this.$witchModel = null; } let nms_RenderWitch_witchTextures = null, nms_RenderWitch_$callClinit = () => { nms_RenderWitch_$callClinit = $rt_eraseClinit(nms_RenderWitch); nms_RenderWitch__clinit_(); }, nms_RenderWitch__init_ = $this => { let var$1, var$2; nms_RenderWitch_$callClinit(); var$1 = nms_ModelWitch__init_(0.0); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.5; $this.$witchModel = var$1; }, nms_RenderWitch__init_0 = () => { let var_0 = new nms_RenderWitch(); nms_RenderWitch__init_(var_0); return var_0; }, nms_RenderWitch_func_82411_a = ($this, $par1EntityWitch, $par2) => { let $var4, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var4 = $thread.pop();$par2 = $thread.pop();$par1EntityWitch = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var4 = $par1EntityWitch.$equipment.data[0]; if ($var4 === null) return; nleg_EaglerAdapterGL30_glPushMatrix(); if ($this.$mainModel.$isChild0) { var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 0.625; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = (-1.0); var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.5; var$4.$y = 0.5; var$4.$z = 0.5; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nms_ModelRenderer_postRender($this.$witchModel.$villagerNose, 0.0625); var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = (-0.0625); var$4.$y = 0.53125; var$4.$z = 0.21875; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } a: { var$6 = $var4.$itemID; if (var$6 < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_renderItemIn3d(nms_Block_blocksList.data[var$6].$getRenderType())) { var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 0.1875; var$4.$z = (-0.3125); var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.375; var$4.$y = (-0.375); var$4.$z = 0.375; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break a; } } var$6 = $var4.$itemID; nms_Item_$callClinit(); if (var$6 == nms_Item_bow.$itemID0) { var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 0.125; var$4.$z = 0.3125; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.625; var$4.$y = (-0.625); var$4.$z = 0.625; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else if (!nms_Item_itemsList.data[var$6].$isFull3D()) { var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.25; var$4.$y = 0.1875; var$4.$z = (-0.1875); var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.375; var$4.$y = 0.375; var$4.$z = 0.375; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 0.0; var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.0471975803375244, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 0.0; var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { if (nms_Item_itemsList.data[$var4.$itemID].$shouldRotateAroundWhenRendering()) { var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 0.0; var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = (-0.125); var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 0.1875; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; jl_Object__init_(var$5); var$5.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$5); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.625; var$4.$y = (-0.625); var$4.$z = 0.625; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.2617993950843811), nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 0.0; var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.6981316804885864, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = $this.$renderManager.$itemRenderer; var$6 = 0; $ptr = 1; case 1: nms_ItemRenderer_renderItem(var$4, $par1EntityWitch, $var4, var$6); if ($rt_suspending()) { break main; } nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$var4.$itemID].$requiresMultipleRenderPasses()) { nleg_EaglerAdapterGL30_glPopMatrix(); return; } var$4 = $this.$renderManager.$itemRenderer; var$6 = 1; $ptr = 2; case 2: nms_ItemRenderer_renderItem(var$4, $par1EntityWitch, $var4, var$6); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityWitch, $par2, $var4, var$4, var$5, var$6, $ptr); }, nms_RenderWitch_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; var$7 = $par1EntityLiving.$equipment.data[0]; $this.$witchModel.$field_82900_g = var$7 === null ? 0 : 1; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, var$7, $ptr); }, nms_RenderWitch_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { let var$3; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.9375; $par1EntityLivingBase.$y = 0.9375; $par1EntityLivingBase.$z = 0.9375; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; jl_Object__init_(var$3); var$3.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$3); $par1EntityLivingBase.$sb = var$3; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RenderWitch_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderWitch_$callClinit(); $par1EntityLiving = nms_RenderWitch_witchTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderWitch_renderEquippedItems = ($this, $par1EntityLivingBase, $par2) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: nms_RenderWitch_func_82411_a($this, $par1EntityLivingBase, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $ptr); }, nms_RenderWitch_getEntityTexture = ($this, $par1Entity) => { nms_RenderWitch_$callClinit(); return nms_RenderWitch_witchTextures; }, nms_RenderWitch_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; var$7 = $par1Entity.$equipment.data[0]; $this.$witchModel.$field_82900_g = var$7 === null ? 0 : 1; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, var$7, $ptr); }, nms_RenderWitch__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1969); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderWitch_witchTextures = var$1; }; function nms_EntityBlaze() { let a = this; nms_EntityMob.call(a); a.$heightOffset = 0.0; a.$heightOffsetUpdateTime = 0; a.$field_70846_g = 0; } let nms_EntityBlaze_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, var$1); var$2 = var$1 === null ? null : var$1.$value1; if (0.10000000149011612 !== var$2.$baseValue) { var$2.$baseValue = 0.10000000149011612; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$3 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$1, var$3); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_attackDamage); var$1 = nms_SharedMonsterAttributes_attackDamage; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$2.$nativeString.length) break a; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$2 = var$3.$key; if (var$1 !== var$2 && !jl_Object_equals(var$1, var$2) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$1 = var$3 === null ? null : var$3.$value1; if (6.0 !== var$1.$baseValue) { var$1.$baseValue = 6.0; var$1.$field_111133_g = 1; var$3 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$1, var$3); } } }, nms_EntityBlaze_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); var$2 = $this.$dataWatcher; var$1 = new jl_Byte; var$1.$value2 = 0; nms_DataWatcher_addObject(var$2, 16, var$1); }, nms_EntityBlaze_getLivingSound = $this => { return $rt_s(568); }, nms_EntityBlaze_getHurtSound = $this => { return $rt_s(1970); }, nms_EntityBlaze_getDeathSound = $this => { return $rt_s(1971); }, nms_EntityBlaze_getBrightnessForRender = ($this, $par1) => { return 15728880; }, nms_EntityBlaze_getBrightness = ($this, $par1) => { return 1.0; }, nms_EntityBlaze_onLivingUpdate = $this => { let var$1, var$2, $var1, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var1 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj.$isRemote) { if (nms_Entity_isWet($this)) { var$1 = nms_DamageSource_drown; var$2 = 1.0; if (!$this.$invulnerable) { $ptr = 1; continue main; } } $var1 = $this.$heightOffsetUpdateTime - 1 | 0; $this.$heightOffsetUpdateTime = $var1; if ($var1 <= 0) { $this.$heightOffsetUpdateTime = 100; $this.$heightOffset = 0.5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 3.0; } var$1 = $this.$entityToAttack; if (var$1 !== null && var$1.$posY + var$1.$getEyeHeight() > $this.$posY + $this.$height2 * 0.8500000238418579 + $this.$heightOffset) { var$4 = $this.$motionY; $this.$motionY = var$4 + (0.30000001192092896 - var$4) * 0.30000001192092896; } } var$1 = $this.$rand; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); while (true) { var$7 = var$6 % 24 | 0; if (((var$6 - var$7 | 0) + 23 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); } a: { if (!var$7) { var$8 = $this.$worldObj; var$9 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$9; var$1.$seed = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1 = 0; while (true) { var$10 = $rt_compare($var1, var$8.$worldAccesses.$size0); if (var$10 >= 0) break a; if ($var1 < 0) break; if (var$10 >= 0) break; $var1 = $var1 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } if (!$this.$onGround) { var$11 = $this.$motionY; if (var$11 < 0.0) $this.$motionY = var$11 * 0.6; } $var1 = 0; var$12 = 22; var$7 = 21; while ($var1 < 2) { var$1 = $this.$worldObj; var$13 = $rt_s(1488); var$11 = $this.$posX; var$8 = $this.$rand; var$14 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$5 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$12))), 27); var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$4 = Long_toNumber(Long_add(var$5, Long_fromInt(Long_lo(Long_shru(var$14, var$7))))) * 1.1102230246251565E-16 - 0.5; var$15 = $this.$width1; var$16 = var$11 + var$4 * var$15; var$17 = $this.$posY; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$5 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$12))), 27); var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$17 = var$17 + Long_toNumber(Long_add(var$5, Long_fromInt(Long_lo(Long_shru(var$14, var$7))))) * 1.1102230246251565E-16 * $this.$height2; var$18 = $this.$posZ; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$5 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$12))), 27); var$9 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$11 = var$18 + (Long_toNumber(Long_add(var$5, Long_fromInt(Long_lo(Long_shru(var$9, var$7))))) * 1.1102230246251565E-16 - 0.5) * var$15; var$15 = 0.0; var$18 = 0.0; var$4 = 0.0; var$6 = 0; var$8 = var$1.$worldAccesses; var$10 = $rt_compare(var$6, var$8.$size0); if (var$10 < 0) { if (var$6 >= 0 && var$10 < 0) { var$8 = var$8.$array.data[var$6]; $ptr = 3; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var1 = $var1 + 1 | 0; } nms_EntityLivingBase_updateArmSwingProgress($this); $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 2; continue main; case 1: $tmp = nms_EntityLivingBase_attackEntityFrom($this, var$1, var$2); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1) { var$1 = var$1.$getEntity(); if ($this.$riddenByEntity !== var$1 && $this.$ridingEntity !== var$1 && var$1 !== $this) $this.$entityToAttack = var$1; } $var1 = $this.$heightOffsetUpdateTime - 1 | 0; $this.$heightOffsetUpdateTime = $var1; if ($var1 <= 0) { $this.$heightOffsetUpdateTime = 100; $this.$heightOffset = 0.5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 3.0; } var$1 = $this.$entityToAttack; if (var$1 !== null && var$1.$posY + var$1.$getEyeHeight() > $this.$posY + $this.$height2 * 0.8500000238418579 + $this.$heightOffset) { var$4 = $this.$motionY; $this.$motionY = var$4 + (0.30000001192092896 - var$4) * 0.30000001192092896; } var$1 = $this.$rand; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); while (true) { var$7 = var$6 % 24 | 0; if (((var$6 - var$7 | 0) + 23 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); } b: { if (!var$7) { var$8 = $this.$worldObj; var$9 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$9; var$1.$seed = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1 = 0; while (true) { var$10 = $rt_compare($var1, var$8.$worldAccesses.$size0); if (var$10 >= 0) break b; if ($var1 < 0) break; if (var$10 >= 0) break; $var1 = $var1 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } if (!$this.$onGround) { var$11 = $this.$motionY; if (var$11 < 0.0) $this.$motionY = var$11 * 0.6; } $var1 = 0; var$12 = 22; var$7 = 21; while ($var1 < 2) { var$1 = $this.$worldObj; var$13 = $rt_s(1488); var$11 = $this.$posX; var$8 = $this.$rand; var$14 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$5 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$12))), 27); var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$4 = Long_toNumber(Long_add(var$5, Long_fromInt(Long_lo(Long_shru(var$14, var$7))))) * 1.1102230246251565E-16 - 0.5; var$15 = $this.$width1; var$16 = var$11 + var$4 * var$15; var$17 = $this.$posY; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$5 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$12))), 27); var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$17 = var$17 + Long_toNumber(Long_add(var$5, Long_fromInt(Long_lo(Long_shru(var$14, var$7))))) * 1.1102230246251565E-16 * $this.$height2; var$18 = $this.$posZ; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$5 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$12))), 27); var$9 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$11 = var$18 + (Long_toNumber(Long_add(var$5, Long_fromInt(Long_lo(Long_shru(var$9, var$7))))) * 1.1102230246251565E-16 - 0.5) * var$15; var$15 = 0.0; var$18 = 0.0; var$4 = 0.0; var$6 = 0; var$8 = var$1.$worldAccesses; var$10 = $rt_compare(var$6, var$8.$size0); if (var$10 < 0) { if (var$6 >= 0 && var$10 < 0) { var$8 = var$8.$array.data[var$6]; $ptr = 3; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var1 = $var1 + 1 | 0; } nms_EntityLivingBase_updateArmSwingProgress($this); $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 2; case 2: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } return; case 3: nms_RenderGlobal_doSpawnParticle(var$8, var$13, var$16, var$17, var$11, var$15, var$18, var$4); if ($rt_suspending()) { break main; } var$6 = var$6 + 1 | 0; while (true) { var$8 = var$1.$worldAccesses; var$10 = $rt_compare(var$6, var$8.$size0); if (var$10 < 0) { if (var$6 >= 0 && var$10 < 0) { var$8 = var$8.$array.data[var$6]; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var1 = $var1 + 1 | 0; if ($var1 >= 2) break; var$1 = $this.$worldObj; var$13 = $rt_s(1488); var$11 = $this.$posX; var$8 = $this.$rand; var$14 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$5 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$12))), 27); var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$4 = Long_toNumber(Long_add(var$5, Long_fromInt(Long_lo(Long_shru(var$14, var$7))))) * 1.1102230246251565E-16 - 0.5; var$15 = $this.$width1; var$16 = var$11 + var$4 * var$15; var$17 = $this.$posY; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$5 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$12))), 27); var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$17 = var$17 + Long_toNumber(Long_add(var$5, Long_fromInt(Long_lo(Long_shru(var$14, var$7))))) * 1.1102230246251565E-16 * $this.$height2; var$18 = $this.$posZ; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$14; var$5 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$12))), 27); var$9 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$11 = var$18 + (Long_toNumber(Long_add(var$5, Long_fromInt(Long_lo(Long_shru(var$9, var$7))))) * 1.1102230246251565E-16 - 0.5) * var$15; var$15 = 0.0; var$18 = 0.0; var$4 = 0.0; var$6 = 0; } nms_EntityLivingBase_updateArmSwingProgress($this); $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $var1, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityBlaze_attackEntity = ($this, $par1Entity, $par2) => { let var$3, $var11, $var3, var$6, $var5, $var7, var$9, var$10, var$11, var$12, $var10, $var9, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var9 = $thread.pop();$var10 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();$var11 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$attackTime; if (var$3 <= 0 && $par2 < 2.0) { $var11 = $par1Entity.$boundingBox; $var3 = $var11.$maxY; var$6 = $this.$boundingBox; if ($var3 > var$6.$minY && $var11.$minY < var$6.$maxY) { $this.$attackTime = 20; $ptr = 1; continue main; } } if ($par2 < 30.0) { $var3 = $par1Entity.$posX - $this.$posX; $var5 = $par1Entity.$boundingBox.$minY + $par1Entity.$height2 / 2.0 - ($this.$posY + $this.$height2 / 2.0); $var7 = $par1Entity.$posZ - $this.$posZ; if (!var$3) { var$3 = $this.$field_70846_g + 1 | 0; $this.$field_70846_g = var$3; if (var$3 == 1) { $this.$attackTime = 60; $par1Entity = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var11 = jl_Integer_integerCache.data[144]; if ($var11 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$9 = $var11.$value0; var$10 = $par1Entity.$elementData.data; $par1Entity = var$10[var$9 & (var$10.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$9) { var$6 = $par1Entity.$key; if ($var11 !== var$6 && !($var11 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; var$3 = ($par1Entity.$watchedObject.$value2 | 1) << 24 >> 24; $par1Entity = $this.$dataWatcher; var$11 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$6 = $par1Entity.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[144]; if (var$12 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$9 = var$12.$value0; var$10 = var$6.$elementData.data; var$6 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$9) { $var11 = var$6.$key; if (var$12 !== $var11 && !(var$12 === $var11 ? 1 : $var11 instanceof jl_Integer && $var11.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } $var11 = var$6 === null ? null : var$6.$value1; var$6 = $var11.$watchedObject; if (!(var$6 instanceof jl_Byte && var$6.$value2 == var$11.$value2 ? 1 : 0)) { $var11.$watchedObject = var$11; $var11.$watched = 1; $par1Entity.$objectChanged = 1; } } else if (var$3 <= 4) $this.$attackTime = 6; else { $this.$attackTime = 100; $this.$field_70846_g = 0; $par1Entity = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var11 = jl_Integer_integerCache.data[144]; if ($var11 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$9 = $var11.$value0; var$10 = $par1Entity.$elementData.data; $par1Entity = var$10[var$9 & (var$10.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$9) { var$6 = $par1Entity.$key; if ($var11 !== var$6 && !($var11 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; var$3 = ($par1Entity.$watchedObject.$value2 & (-2)) << 24 >> 24; var$6 = $this.$dataWatcher; var$11 = jl_Byte_byteCache.data[var$3 + 128 | 0]; $par1Entity = var$6.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[144]; if (var$12 === null) { $var11 = $par1Entity.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { $var10 = var$12.$value0; var$10 = $par1Entity.$elementData.data; $var11 = var$10[$var10 & (var$10.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == $var10) { $par1Entity = $var11.$key; if (var$12 !== $par1Entity && !(var$12 === $par1Entity ? 1 : $par1Entity instanceof jl_Integer && $par1Entity.$value0 == $var10 ? 1 : 0) ? 0 : 1) break; } $var11 = $var11.$next3; } } $var11 = $var11 === null ? null : $var11.$value1; $par1Entity = $var11.$watchedObject; if (!($par1Entity instanceof jl_Byte && $par1Entity.$value2 == var$11.$value2 ? 1 : 0)) { $var11.$watchedObject = var$11; $var11.$watched = 1; var$6.$objectChanged = 1; } } if ($this.$field_70846_g > 1) { $var9 = jl_Math_sqrt($par2) * 0.5; var$6 = $this.$worldObj; $var11 = null; var$15 = 1009; var$16 = $this.$posX | 0; var$17 = $this.$posY | 0; var$18 = $this.$posZ | 0; var$3 = 0; $var10 = 0; $par1Entity = var$6.$worldAccesses; var$9 = $rt_compare($var10, $par1Entity.$size0); if (var$9 < 0) { if ($var10 >= 0 && var$9 < 0) { $par1Entity = $par1Entity.$array.data[$var10]; $ptr = 4; continue main; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } $var10 = 0; var$19 = $var9; if ($var10 < 1) { $var11 = new nms_EntitySmallFireball; $par1Entity = $this.$worldObj; var$20 = $var3 + nle_EaglercraftRandom_nextGaussian($this.$rand) * var$19; var$21 = $var7 + nle_EaglercraftRandom_nextGaussian($this.$rand) * var$19; $ptr = 2; continue main; } } } $this.$rotationYaw = jl_Math_atan2($var7, $var3) * 180.0 / 3.141592653589793 - 90.0; $this.$hasAttacked = 1; } return; case 1: nms_EntityMob_attackEntityAsMob($this, $par1Entity); if ($rt_suspending()) { break main; } return; case 2: nms_EntityFireball__init_0($var11, $par1Entity, $this, var$20, $var5, var$21); if ($rt_suspending()) { break main; } $par2 = 0.3125; $var9 = 0.3125; $ptr = 3; case 3: nms_Entity_setSize($var11, $par2, $var9); if ($rt_suspending()) { break main; } $var11.$posY = $this.$posY + $this.$height2 / 2.0 + 0.5; var$12 = $this.$worldObj; var$3 = nms_World_spawnEntityInWorld(var$12, $var11); $par1Entity = var$12.$entityList; ju_HashMap_putImpl($par1Entity.$backingMap, $var11, $par1Entity); if (!var$3) { $par1Entity = var$12.$entitySpawnQueue; ju_HashMap_putImpl($par1Entity.$backingMap, $var11, $par1Entity); } $var10 = $var10 + 1 | 0; if ($var10 >= 1) { $this.$rotationYaw = jl_Math_atan2($var7, $var3) * 180.0 / 3.141592653589793 - 90.0; $this.$hasAttacked = 1; return; } $var11 = new nms_EntitySmallFireball; $par1Entity = $this.$worldObj; var$20 = $var3 + nle_EaglercraftRandom_nextGaussian($this.$rand) * var$19; var$21 = $var7 + nle_EaglercraftRandom_nextGaussian($this.$rand) * var$19; $ptr = 2; continue main; case 4: nms_RenderGlobal_playAuxSFX($par1Entity, $var11, var$15, var$16, var$17, var$18, var$3); if ($rt_suspending()) { break main; } $var10 = $var10 + 1 | 0; $par1Entity = var$6.$worldAccesses; var$9 = $rt_compare($var10, $par1Entity.$size0); if (var$9 < 0) { if ($var10 >= 0 && var$9 < 0) { $par1Entity = $par1Entity.$array.data[$var10]; continue main; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } $var10 = 0; var$19 = $var9; if ($var10 >= 1) { $this.$rotationYaw = jl_Math_atan2($var7, $var3) * 180.0 / 3.141592653589793 - 90.0; $this.$hasAttacked = 1; return; } $var11 = new nms_EntitySmallFireball; $par1Entity = $this.$worldObj; var$20 = $var3 + nle_EaglercraftRandom_nextGaussian($this.$rand) * var$19; var$21 = $var7 + nle_EaglercraftRandom_nextGaussian($this.$rand) * var$19; $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, var$3, $var11, $var3, var$6, $var5, $var7, var$9, var$10, var$11, var$12, $var10, $var9, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr); }, nms_EntityBlaze_fall = ($this, $par1) => { return; }, nms_EntityBlaze_getDropItemId = $this => { nms_Item_$callClinit(); return nms_Item_blazeRod.$itemID0; }, nms_EntityBlaze_isBurning = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return !(var$1.$watchedObject.$value2 & 1) ? 0 : 1; }, nms_EntityBlaze_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, $var4, $var3, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1) { var$3 = $this.$rand; $par1 = 2 + $par2 | 0; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var4 = Long_lo(Long_shru(var$4, 17)); $par2 = $par1 - 1 | 0; if (!($par1 & $par2)) $var3 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($var4)), 31)); else while (true) { $var3 = $var4 % $par1 | 0; if ((($var4 - $var3 | 0) + $par2 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var4 = Long_lo(Long_shru(var$4, 17)); } $var4 = 0; var$7 = 0.0; $par1 = 138; if ($var4 < $var3) { nms_Item_$callClinit(); $par2 = nms_Item_blazeRod.$itemID0; var$8 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$8.$itemID = $par2; var$8.$stackSize = 1; var$8.$itemDamage = 0; var$9 = new nms_EntityItem; var$3 = $this.$worldObj; var$10 = $this.$posX; var$11 = $this.$posY + var$7; var$12 = $this.$posZ; $ptr = 1; continue main; } } return; case 1: nms_EntityItem__init_(var$9, var$3, var$10, var$11, var$12); if ($rt_suspending()) { break main; } var$13 = var$9.$dataWatcher; var$3 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[$par1]); var$3 = var$3 === null ? null : var$3.$value1; if (!(var$8 !== var$3.$watchedObject ? 0 : 1)) { var$3.$watchedObject = var$8; var$3.$watched = 1; var$13.$objectChanged = 1; } var$13 = var$9.$dataWatcher; var$3 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[$par1]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$13.$objectChanged = 1; var$9.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par2 = nms_World_spawnEntityInWorld(var$3, var$9); var$14 = var$3.$entityList; ju_HashMap_putImpl(var$14.$backingMap, var$9, var$14); if (!$par2) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$9, var$3); } $var4 = $var4 + 1 | 0; if ($var4 >= $var3) return; nms_Item_$callClinit(); $par2 = nms_Item_blazeRod.$itemID0; var$8 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$8.$itemID = $par2; var$8.$stackSize = 1; var$8.$itemDamage = 0; var$9 = new nms_EntityItem; var$3 = $this.$worldObj; var$10 = $this.$posX; var$11 = $this.$posY + var$7; var$12 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, $var4, $var3, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_EntityBlaze_isValidLightLevel = $this => { return 1; }; function nms_RenderBlaze() { nms_RenderLiving.call(this); this.$field_77068_a = 0; } let nms_RenderBlaze_blazeTextures = null, nms_RenderBlaze_$callClinit = () => { nms_RenderBlaze_$callClinit = $rt_eraseClinit(nms_RenderBlaze); nms_RenderBlaze__clinit_(); }, nms_RenderBlaze__init_ = $this => { let var$1, var$2; nms_RenderBlaze_$callClinit(); var$1 = nms_ModelBlaze__init_(); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.5; $this.$field_77068_a = 8; }, nms_RenderBlaze__init_0 = () => { let var_0 = new nms_RenderBlaze(); nms_RenderBlaze__init_(var_0); return var_0; }, nms_RenderBlaze_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; if (8 != $this.$field_77068_a) { $this.$field_77068_a = 8; $this.$mainModel = nms_ModelBlaze__init_(); } $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderBlaze_getEntityTexture = ($this, $par1Entity) => { nms_RenderBlaze_$callClinit(); return nms_RenderBlaze_blazeTextures; }, nms_RenderBlaze_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderBlaze_$callClinit(); $par1EntityLiving = nms_RenderBlaze_blazeTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderBlaze_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; if (8 != $this.$field_77068_a) { $this.$field_77068_a = 8; $this.$mainModel = nms_ModelBlaze__init_(); } $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderBlaze__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1972); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderBlaze_blazeTextures = var$1; }; function nms_EntityZombie() { nms_EntityMob.call(this); this.$conversionTime = 0; } let nms_EntityZombie_field_110186_bp = null, nms_EntityZombie_babySpeedBoostUUID = null, nms_EntityZombie_babySpeedBoostModifier = null, nms_EntityZombie_$callClinit = () => { nms_EntityZombie_$callClinit = $rt_eraseClinit(nms_EntityZombie); nms_EntityZombie__clinit_(); }, nms_EntityZombie__init_0 = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6; nms_EntityZombie_$callClinit(); nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; $this.$experienceValue = 5; var$2 = $this.$navigator; var$2.$canPassClosedWoodenDoors = 1; var$3 = $this.$tasks0; $par1World = new nms_EntityAISwimming; $par1World.$theEntity2 = $this; $par1World.$mutexBits = 4; var$2.$canSwim = 1; var$4 = var$3.$taskEntries; var$2 = new nms_EntityAITaskEntry; var$2.$tasks = var$3; var$2.$priority = 0; var$2.$action = $par1World; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIBreakDoor; var$3.$theEntity1 = $this; var$3.$field_75358_j = (-1); var$4 = $par1World.$taskEntries; var$2 = new nms_EntityAITaskEntry; var$2.$tasks = $par1World; var$2.$priority = 1; var$2.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; var$3 = $this.$tasks0; var$2 = new nms_EntityAIAttackOnCollide; var$2.$attacker = $this; var$2.$worldObj8 = $this.$worldObj; var$2.$field_75440_e = 1.0; var$2.$longMemory = 0; var$2.$mutexBits = 3; var$2.$classTarget = $rt_cls(nms_EntityPlayer); var$4 = var$3.$taskEntries; $par1World = new nms_EntityAITaskEntry; $par1World.$tasks = var$3; $par1World.$priority = 2; $par1World.$action = var$2; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = $par1World; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIAttackOnCollide; var$3.$attacker = $this; var$3.$worldObj8 = $this.$worldObj; var$3.$field_75440_e = 1.0; var$3.$longMemory = 1; var$3.$mutexBits = 3; var$3.$classTarget = $rt_cls(nms_EntityVillager); var$4 = $par1World.$taskEntries; var$2 = new nms_EntityAITaskEntry; var$2.$tasks = $par1World; var$2.$priority = 3; var$2.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIMoveTowardsRestriction; var$3.$theEntity0 = $this; var$3.$movementSpeed = 1.0; var$3.$mutexBits = 1; var$4 = $par1World.$taskEntries; var$2 = new nms_EntityAITaskEntry; var$2.$tasks = $par1World; var$2.$priority = 4; var$2.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIMoveThroughVillage; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$3.$doorList = var$2; var$3.$theEntity4 = $this; var$3.$movementSpeed0 = 1.0; var$3.$isNocturnal = 0; var$3.$mutexBits = 1; var$4 = $par1World.$taskEntries; var$2 = new nms_EntityAITaskEntry; var$2.$tasks = $par1World; var$2.$priority = 5; var$2.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIWander; var$3.$entity = $this; var$3.$speed = 1.0; var$3.$mutexBits = 1; var$4 = $par1World.$taskEntries; var$2 = new nms_EntityAITaskEntry; var$2.$tasks = $par1World; var$2.$priority = 6; var$2.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIWatchClosest; var$3.$theWatcher = $this; var$3.$watchedClass = $rt_cls(nms_EntityPlayer); var$3.$maxDistanceForPlayer = 8.0; var$3.$field_75331_e = 0.019999999552965164; var$3.$mutexBits = 2; var$4 = $par1World.$taskEntries; var$2 = new nms_EntityAITaskEntry; var$2.$tasks = $par1World; var$2.$priority = 7; var$2.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAILookIdle; var$3.$idleEntity = $this; var$3.$mutexBits = 3; var$4 = $par1World.$taskEntries; var$2 = new nms_EntityAITaskEntry; var$2.$tasks = $par1World; var$2.$priority = 7; var$2.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$3 = new nms_EntityAIHurtByTarget; var$3.$taskOwner = $this; var$3.$shouldCheckSight = 0; var$3.$nearbyOnly = 0; var$3.$entityCallsForHelp = 1; var$3.$mutexBits = 1; var$4 = $par1World.$taskEntries; var$2 = new nms_EntityAITaskEntry; var$2.$tasks = $par1World; var$2.$priority = 1; var$2.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$3 = new nms_EntityAINearestAttackableTarget; var$4 = null; var$3.$taskOwner = $this; var$3.$shouldCheckSight = 1; var$3.$nearbyOnly = 0; var$3.$targetClass = $rt_cls(nms_EntityPlayer); var$3.$targetChance = 0; var$2 = new nms_EntityAINearestAttackableTargetSorter; var$2.$theEntity5 = $this; var$3.$theNearestAttackableTargetSorter = var$2; var$3.$mutexBits = 1; var$2 = new nms_EntityAINearestAttackableTargetSelector; var$2.$field_111102_d = var$3; var$2.$field_111103_c = var$4; var$3.$targetEntitySelector = var$2; var$4 = $par1World.$taskEntries; var$2 = new nms_EntityAITaskEntry; var$2.$tasks = $par1World; var$2.$priority = 2; var$2.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$3 = new nms_EntityAINearestAttackableTarget; var$4 = null; var$3.$taskOwner = $this; var$3.$shouldCheckSight = 0; var$3.$nearbyOnly = 0; var$3.$targetClass = $rt_cls(nms_EntityVillager); var$3.$targetChance = 0; var$2 = new nms_EntityAINearestAttackableTargetSorter; var$2.$theEntity5 = $this; var$3.$theNearestAttackableTargetSorter = var$2; var$3.$mutexBits = 1; var$2 = new nms_EntityAINearestAttackableTargetSelector; var$2.$field_111102_d = var$3; var$2.$field_111103_c = var$4; var$3.$targetEntitySelector = var$2; var$4 = $par1World.$taskEntries; var$2 = new nms_EntityAITaskEntry; var$2.$tasks = $par1World; var$2.$priority = 2; var$2.$action = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; }, nms_EntityZombie__init_ = var_0 => { let var_1 = new nms_EntityZombie(); nms_EntityZombie__init_0(var_1, var_0); return var_1; }, nms_EntityZombie_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if (!$this.$isAIEnabled()) { var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, var$1); var$2 = var$1 === null ? null : var$1.$value1; if (0.10000000149011612 !== var$2.$baseValue) { var$2.$baseValue = 0.10000000149011612; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$3 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$1, var$3); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_attackDamage); var$1 = nms_SharedMonsterAttributes_followRange; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$2.$nativeString.length) break a; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$2 = var$3.$key; if (var$1 !== var$2 && !jl_Object_equals(var$1, var$2) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (40.0 !== var$2.$baseValue) { var$2.$baseValue = 40.0; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { b: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$2.$nativeString.length) break b; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$2 = var$3.$key; if (var$1 !== var$2 && !jl_Object_equals(var$1, var$2) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (0.23000000417232513 !== var$2.$baseValue) { var$2.$baseValue = 0.23000000417232513; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } var$1 = nms_SharedMonsterAttributes_attackDamage; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { c: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$2.$nativeString.length) break c; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$2 = var$3.$key; if (var$1 !== var$2 && !jl_Object_equals(var$1, var$2) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (3.0 !== var$2.$baseValue) { var$2.$baseValue = 3.0; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap; nms_EntityZombie_$callClinit(); var$1 = nms_ServersideAttributeMap_func_111150_b(var$3, nms_EntityZombie_field_110186_bp); var$3 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; var$8 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$7, 22))), 27); var$9 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$9; var$10 = Long_toNumber(Long_add(var$8, Long_fromInt(Long_lo(Long_shru(var$9, 21))))) * 1.1102230246251565E-16 * 0.10000000149011612; if (var$10 !== var$1.$baseValue) { var$1.$baseValue = var$10; var$1.$field_111133_g = 1; var$3 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$1, var$3); } } }, nms_EntityZombie_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); nms_DataWatcher_addObject($this.$dataWatcher, 12, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 13, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 14, jl_Byte_byteCache.data[128]); }, nms_EntityZombie_getTotalArmorValue = $this => { let $var1; $var1 = nms_EntityLivingBase_getTotalArmorValue($this) + 2 | 0; if ($var1 > 20) $var1 = 20; return $var1; }, nms_EntityZombie_isAIEnabled = $this => { return 1; }, nms_EntityZombie_isChild = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[140]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$value2 != 1 ? 0 : 1; }, nms_EntityZombie_setChild = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$2 = $this.$dataWatcher; var$3 = (!$par1 ? 0 : 1) << 24 >> 24; var$4 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$5 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[140]; if (var$6 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$7 = var$6.$value0; var$8 = var$5.$elementData.data; var$5 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$7) { var$9 = var$5.$key; if (var$6 !== var$9 && !(var$6 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$9 = var$5 === null ? null : var$5.$value1; var$5 = var$9.$watchedObject; if (!(var$5 instanceof jl_Byte && var$5.$value2 == var$4.$value2 ? 1 : 0)) { var$9.$watchedObject = var$4; var$9.$watched = 1; var$2.$objectChanged = 1; } var$5 = $this.$worldObj; if (var$5 !== null && !var$5.$isRemote) { var$5 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$9 = $this.$attributeMap.$attributes; if (var$5 === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { a: { var$4 = var$5.$field_111115_a; if (!var$4.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = var$4.$hashCode1; var$8 = var$9.$elementData.data; var$9 = var$8[var$3 & (var$8.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$3) { var$4 = var$9.$key; if (var$5 !== var$4 && !jl_Object_equals(var$5, var$4) ? 0 : 1) break; } var$9 = var$9.$next3; } } var$9 = var$9 === null ? null : var$9.$value1; nms_EntityZombie_$callClinit(); nms_ModifiableAttributeInstance_removeModifier(var$9, nms_EntityZombie_babySpeedBoostModifier); if ($par1) nms_ModifiableAttributeInstance_applyModifier(var$9, nms_EntityZombie_babySpeedBoostModifier); } }, nms_EntityZombie_isVillager = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[141]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$value2 != 1 ? 0 : 1; }, nms_EntityZombie_setVillager = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$dataWatcher; $par1 = (!$par1 ? 0 : 1) << 24 >> 24; var$3 = jl_Byte_byteCache.data[$par1 + 128 | 0]; var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[141]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = var$8.$watchedObject; if (!(var$4 instanceof jl_Byte && var$4.$value2 == var$3.$value2 ? 1 : 0)) { var$8.$watchedObject = var$3; var$8.$watched = 1; var$2.$objectChanged = 1; } }, nms_EntityZombie_onLivingUpdate = $this => { let var$1, $var2, $var3, var$4, var$5, $var1, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var1 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj; $var2 = var$1.$skylightSubtracted >= 4 ? 0 : 1; if ($var2 && !var$1.$isRemote) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[140]; if ($var3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var2 = $var3.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var2 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var2) { var$5 = var$1.$key; if ($var3 !== var$5 && !($var3 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var2 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value2 != 1 ? 0 : 1)) { $var1 = nms_Entity_getBrightness($this, 1.0); if ($var1 > 0.5) { var$1 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$7; if (Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 * 30.0 < ($var1 - 0.4000000059604645) * 2.0) { var$1 = $this.$worldObj; var$8 = $this.$posX; var$9 = var$8 | 0; if (var$8 < var$9) var$9 = var$9 - 1 | 0; var$8 = $this.$posY; var$10 = var$8 | 0; if (var$8 < var$10) var$10 = var$10 - 1 | 0; var$8 = $this.$posZ; var$11 = var$8 | 0; if (var$8 < var$11) var$11 = var$11 - 1 | 0; var$12 = var$9 >> 4; $var2 = var$11 >> 4; var$1 = var$1.$chunkProvider; $var3 = var$1.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt(var$12), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var2), Long_create(4294967295, 0)), 32)); $var2 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); $var2 = $var2 ^ ($var2 >>> 20 | 0) ^ ($var2 >>> 12 | 0); var$14 = $var2 ^ ($var2 >>> 7 | 0) ^ ($var2 >>> 4 | 0); var$4 = $var3.$hashArray.data; $var3 = var$4[var$14 & (var$4.length - 1 | 0)]; a: { while ($var3 !== null) { if (Long_eq($var3.$key1, var$13)) { $var3 = $var3.$value6; break a; } $var3 = $var3.$nextEntry0; } $var3 = null; } $var3 = $var3; if ($var3 === null) $var3 = var$1.$blankChunk; if ($var3.$canBlockSeeTheSky(var$9 & 15, var$10, var$11 & 15)) { $var2 = 1; $var3 = $this.$equipment.data[4]; if ($var3 !== null) { nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data; var$14 = $var3.$itemID; if (var$4[var$14].$maxDamage <= 0 ? 0 : 1) { var$12 = $var3.$itemDamage; var$1 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$7; $var2 = var$12 + Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31)) | 0; $var3.$itemDamage = $var2; if ($var2 < 0) $var3.$itemDamage = 0; if ($var3.$itemDamage >= var$4[var$14].$maxDamage) { $ptr = 2; continue main; } } $var2 = 0; } if ($var2) { $var2 = 160; nms_Enchantment_$callClinit(); var$12 = nms_Enchantment_fireProtection.$effectId; var$4 = $this.$equipment; nms_EnchantmentHelper_$callClinit(); if (var$4 === null) var$14 = 0; else { var$4 = var$4.data; var$14 = 0; var$11 = var$4.length; var$10 = 0; while (var$10 < var$11) { var$9 = nms_EnchantmentHelper_getEnchantmentLevel(var$12, var$4[var$10]); if (var$9 > var$14) var$14 = var$9; var$10 = var$10 + 1 | 0; } } if (var$14 > 0) { var$15 = 160.0 * var$14 * 0.15000000596046448; var$12 = var$15 | 0; if (var$15 < var$12) var$12 = var$12 - 1 | 0; $var2 = $var2 - var$12 | 0; } if ($this.$fire < $var2) $this.$fire = $var2; } } } } } } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 1; case 1: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } return; case 2: nms_EntityLivingBase_renderBrokenItemStack($this, $var3); if ($rt_suspending()) { break main; } var$1 = null; $this.$equipment.data[4] = var$1; if (0) { $var2 = 160; nms_Enchantment_$callClinit(); var$12 = nms_Enchantment_fireProtection.$effectId; var$4 = $this.$equipment; nms_EnchantmentHelper_$callClinit(); if (var$4 === null) var$14 = 0; else { var$4 = var$4.data; var$14 = 0; var$11 = var$4.length; var$10 = 0; while (var$10 < var$11) { var$9 = nms_EnchantmentHelper_getEnchantmentLevel(var$12, var$4[var$10]); if (var$9 > var$14) var$14 = var$9; var$10 = var$10 + 1 | 0; } } if (var$14 > 0) { var$15 = 160.0 * var$14 * 0.15000000596046448; var$12 = var$15 | 0; if (var$15 < var$12) var$12 = var$12 - 1 | 0; $var2 = $var2 - var$12 | 0; } if ($this.$fire < $var2) $this.$fire = $var2; } nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var2, $var3, var$4, var$5, $var1, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_EntityZombie_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let $var3, $var7, var$5, var$6, var$7, $var10, var$9, $var4, $var5, $var6, $var8, var$14, var$15, var$16, var$17, var$18, $var11, var$20, $var9, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var9 = $thread.pop();var$20 = $thread.pop();$var11 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$9 = $thread.pop();$var10 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var7 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$invulnerable) { $ptr = 1; continue main; } if (!0) return 0; $var3 = $this.$attackTarget; if ($var3 === null) { $var7 = $this.$entityToAttack; if ($var7 instanceof nms_EntityLivingBase) $var3 = $var7; } if ($var3 === null && $par1DamageSource.$getEntity() instanceof nms_EntityLivingBase) $var3 = $par1DamageSource.$getEntity(); a: { if ($var3 !== null && $this.$worldObj.$difficultySetting >= 3) { $par1DamageSource = $this.$rand; var$5 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 24)) / 1.6777216E7; nms_EntityZombie_$callClinit(); $par1DamageSource = nms_EntityZombie_field_110186_bp; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var7 = $this.$attributeMap.$attributes; if ($par1DamageSource === null) { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { b: { var$7 = $par1DamageSource.$field_111115_a; if (!var$7.$hashCode1) { $var10 = 0; while (true) { if ($var10 >= var$7.$nativeString.length) break b; var$7.$hashCode1 = (31 * var$7.$hashCode1 | 0) + var$7.$nativeString.charCodeAt($var10) | 0; $var10 = $var10 + 1 | 0; } } } $var10 = var$7.$hashCode1; var$9 = $var7.$elementData.data; $var7 = var$9[$var10 & (var$9.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == $var10) { var$7 = $var7.$key; if ($par1DamageSource !== var$7 && !jl_Object_equals($par1DamageSource, var$7) ? 0 : 1) break; } $var7 = $var7.$next3; } } $par1DamageSource = $var7 === null ? null : $var7.$value1; if ($par1DamageSource.$field_111133_g) { $par1DamageSource.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($par1DamageSource); $par1DamageSource.$field_111133_g = 0; } if (var$6 < $par1DamageSource.$field_111139_h) { var$6 = $this.$posX; $var4 = var$6 | 0; if (var$6 < $var4) $var4 = $var4 - 1 | 0; var$6 = $this.$posY; $var5 = var$6 | 0; if (var$6 < $var5) $var5 = $var5 - 1 | 0; var$6 = $this.$posZ; $var6 = var$6 | 0; if (var$6 < $var6) $var6 = $var6 - 1 | 0; $var7 = nms_EntityZombie__init_($this.$worldObj); $var8 = 0; $par1DamageSource = null; var$14 = 3; var$15 = 17; var$16 = 2; var$17 = 34; var$18 = 33; while (true) { if ($var8 >= 50) break a; var$7 = $this.$rand; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); while (true) { $var11 = $var10 % var$17 | 0; if ((($var10 - $var11 | 0) + var$18 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); } var$20 = $var11 + 7 | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); while (true) { $var11 = $var10 % var$14 | 0; if ((($var10 - $var11 | 0) + var$16 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); } $var9 = $var4 + $rt_imul(var$20, $var11 + (-1) | 0) | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); while (true) { $var11 = $var10 % var$17 | 0; if ((($var10 - $var11 | 0) + var$18 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); } var$20 = $var11 + 7 | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); while (true) { $var11 = $var10 % var$14 | 0; if ((($var10 - $var11 | 0) + var$16 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); } $var10 = $var5 + $rt_imul(var$20, $var11 + (-1) | 0) | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; var$20 = Long_lo(Long_shru(var$5, var$15)); while (true) { var$22 = var$20 % var$17 | 0; if (((var$20 - var$22 | 0) + var$18 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; var$20 = Long_lo(Long_shru(var$5, var$15)); } var$23 = var$22 + 7 | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; var$20 = Long_lo(Long_shru(var$5, var$15)); while (true) { var$22 = var$20 % var$14 | 0; if (((var$20 - var$22 | 0) + var$16 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; var$20 = Long_lo(Long_shru(var$5, var$15)); } $var11 = $var6 + $rt_imul(var$23, var$22 + (-1) | 0) | 0; var$7 = $this.$worldObj; var$20 = $var10 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid(var$7, nms_Block_blocksList.data[nms_World_getBlockId(var$7, $var9, var$20, $var11)], nms_World_getBlockMetadata(var$7, $var9, var$20, $var11)) && nms_World_getBlockLightValue_do($this.$worldObj, $var9, $var10, $var11, 1) < 10) { nms_Entity_setPosition($var7, $var9, $var10, $var11); if (nms_World_checkNoEntityCollision($this.$worldObj, $var7.$boundingBox, $par1DamageSource)) { var$7 = $this.$worldObj; var$24 = $var7.$boundingBox; $ptr = 2; continue main; } } $var8 = $var8 + 1 | 0; } } } } return 1; case 1: $tmp = nms_EntityLivingBase_attackEntityFrom($this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } $var10 = $tmp; if (!$var10) $var10 = 0; else { $var3 = $par1DamageSource.$getEntity(); if ($this.$riddenByEntity !== $var3 && $this.$ridingEntity !== $var3) { if ($var3 !== $this) $this.$entityToAttack = $var3; $var10 = 1; } else $var10 = 1; } if (!$var10) return 0; $var3 = $this.$attackTarget; if ($var3 === null) { $var7 = $this.$entityToAttack; if ($var7 instanceof nms_EntityLivingBase) $var3 = $var7; } if ($var3 === null && $par1DamageSource.$getEntity() instanceof nms_EntityLivingBase) $var3 = $par1DamageSource.$getEntity(); c: { if ($var3 !== null && $this.$worldObj.$difficultySetting >= 3) { $par1DamageSource = $this.$rand; var$5 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 24)) / 1.6777216E7; nms_EntityZombie_$callClinit(); $par1DamageSource = nms_EntityZombie_field_110186_bp; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var7 = $this.$attributeMap.$attributes; if ($par1DamageSource === null) { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { d: { var$7 = $par1DamageSource.$field_111115_a; if (!var$7.$hashCode1) { $var10 = 0; while (true) { if ($var10 >= var$7.$nativeString.length) break d; var$7.$hashCode1 = (31 * var$7.$hashCode1 | 0) + var$7.$nativeString.charCodeAt($var10) | 0; $var10 = $var10 + 1 | 0; } } } $var10 = var$7.$hashCode1; var$9 = $var7.$elementData.data; $var7 = var$9[$var10 & (var$9.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == $var10) { var$7 = $var7.$key; if ($par1DamageSource !== var$7 && !jl_Object_equals($par1DamageSource, var$7) ? 0 : 1) break; } $var7 = $var7.$next3; } } $par1DamageSource = $var7 === null ? null : $var7.$value1; if ($par1DamageSource.$field_111133_g) { $par1DamageSource.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($par1DamageSource); $par1DamageSource.$field_111133_g = 0; } if (var$6 < $par1DamageSource.$field_111139_h) { var$6 = $this.$posX; $var4 = var$6 | 0; if (var$6 < $var4) $var4 = $var4 - 1 | 0; var$6 = $this.$posY; $var5 = var$6 | 0; if (var$6 < $var5) $var5 = $var5 - 1 | 0; var$6 = $this.$posZ; $var6 = var$6 | 0; if (var$6 < $var6) $var6 = $var6 - 1 | 0; $var7 = nms_EntityZombie__init_($this.$worldObj); $var8 = 0; $par1DamageSource = null; var$14 = 3; var$15 = 17; var$16 = 2; var$17 = 34; var$18 = 33; while (true) { if ($var8 >= 50) break c; var$7 = $this.$rand; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); while (true) { $var11 = $var10 % var$17 | 0; if ((($var10 - $var11 | 0) + var$18 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); } var$20 = $var11 + 7 | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); while (true) { $var11 = $var10 % var$14 | 0; if ((($var10 - $var11 | 0) + var$16 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); } $var9 = $var4 + $rt_imul(var$20, $var11 + (-1) | 0) | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); while (true) { $var11 = $var10 % var$17 | 0; if ((($var10 - $var11 | 0) + var$18 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); } var$20 = $var11 + 7 | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); while (true) { $var11 = $var10 % var$14 | 0; if ((($var10 - $var11 | 0) + var$16 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); } $var10 = $var5 + $rt_imul(var$20, $var11 + (-1) | 0) | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; var$20 = Long_lo(Long_shru(var$5, var$15)); while (true) { var$22 = var$20 % var$17 | 0; if (((var$20 - var$22 | 0) + var$18 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; var$20 = Long_lo(Long_shru(var$5, var$15)); } var$23 = var$22 + 7 | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; var$20 = Long_lo(Long_shru(var$5, var$15)); while (true) { var$22 = var$20 % var$14 | 0; if (((var$20 - var$22 | 0) + var$16 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; var$20 = Long_lo(Long_shru(var$5, var$15)); } $var11 = $var6 + $rt_imul(var$23, var$22 + (-1) | 0) | 0; var$7 = $this.$worldObj; var$20 = $var10 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid(var$7, nms_Block_blocksList.data[nms_World_getBlockId(var$7, $var9, var$20, $var11)], nms_World_getBlockMetadata(var$7, $var9, var$20, $var11)) && nms_World_getBlockLightValue_do($this.$worldObj, $var9, $var10, $var11, 1) < 10) { nms_Entity_setPosition($var7, $var9, $var10, $var11); if (nms_World_checkNoEntityCollision($this.$worldObj, $var7.$boundingBox, $par1DamageSource)) { var$7 = $this.$worldObj; var$24 = $var7.$boundingBox; $ptr = 2; continue main; } } $var8 = $var8 + 1 | 0; } } } } return 1; case 2: $tmp = nms_World_getCollidingBoundingBoxes(var$7, $var7, var$24); if ($rt_suspending()) { break main; } var$7 = $tmp; $var10 = var$7.$size0 ? 0 : 1; if ($var10 && !nms_World_isAnyLiquid($this.$worldObj, $var7.$boundingBox)) { $par1DamageSource = $this.$worldObj; $var10 = nms_World_spawnEntityInWorld($par1DamageSource, $var7); var$7 = $par1DamageSource.$entityList; ju_HashMap_putImpl(var$7.$backingMap, $var7, var$7); if (!$var10) { $par1DamageSource = $par1DamageSource.$entitySpawnQueue; ju_HashMap_putImpl($par1DamageSource.$backingMap, $var7, $par1DamageSource); } $var7.$attackTarget = $var3; $par1DamageSource = null; $ptr = 3; continue main; } while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 50) break; var$7 = $this.$rand; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); while (true) { $var11 = $var10 % var$17 | 0; if ((($var10 - $var11 | 0) + var$18 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); } var$20 = $var11 + 7 | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); while (true) { $var11 = $var10 % var$14 | 0; if ((($var10 - $var11 | 0) + var$16 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); } $var9 = $var4 + $rt_imul(var$20, $var11 + (-1) | 0) | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); while (true) { $var11 = $var10 % var$17 | 0; if ((($var10 - $var11 | 0) + var$18 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); } var$20 = $var11 + 7 | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); while (true) { $var11 = $var10 % var$14 | 0; if ((($var10 - $var11 | 0) + var$16 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; $var10 = Long_lo(Long_shru(var$5, var$15)); } $var10 = $var5 + $rt_imul(var$20, $var11 + (-1) | 0) | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; var$20 = Long_lo(Long_shru(var$5, var$15)); while (true) { var$22 = var$20 % var$17 | 0; if (((var$20 - var$22 | 0) + var$18 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; var$20 = Long_lo(Long_shru(var$5, var$15)); } var$23 = var$22 + 7 | 0; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; var$20 = Long_lo(Long_shru(var$5, var$15)); while (true) { var$22 = var$20 % var$14 | 0; if (((var$20 - var$22 | 0) + var$16 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$5; var$20 = Long_lo(Long_shru(var$5, var$15)); } $var11 = $var6 + $rt_imul(var$23, var$22 + (-1) | 0) | 0; var$7 = $this.$worldObj; var$20 = $var10 - 1 | 0; nms_Block_$callClinit(); if (!nms_World_isBlockTopFacingSurfaceSolid(var$7, nms_Block_blocksList.data[nms_World_getBlockId(var$7, $var9, var$20, $var11)], nms_World_getBlockMetadata(var$7, $var9, var$20, $var11))) continue; if (nms_World_getBlockLightValue_do($this.$worldObj, $var9, $var10, $var11, 1) >= 10) continue; nms_Entity_setPosition($var7, $var9, $var10, $var11); if (!nms_World_checkNoEntityCollision($this.$worldObj, $var7.$boundingBox, $par1DamageSource)) continue; else { var$7 = $this.$worldObj; var$24 = $var7.$boundingBox; continue main; } } return 1; case 3: nms_EntityZombie_onSpawnWithEgg($var7, $par1DamageSource); if ($rt_suspending()) { break main; } $par1DamageSource = nms_EntityZombie_field_110186_bp; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var3 = $this.$attributeMap.$attributes; if ($par1DamageSource === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { e: { var$7 = $par1DamageSource.$field_111115_a; if (!var$7.$hashCode1) { $var10 = 0; while (true) { if ($var10 >= var$7.$nativeString.length) break e; var$7.$hashCode1 = (31 * var$7.$hashCode1 | 0) + var$7.$nativeString.charCodeAt($var10) | 0; $var10 = $var10 + 1 | 0; } } } var$20 = var$7.$hashCode1; var$9 = $var3.$elementData.data; $var3 = var$9[var$20 & (var$9.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$20) { var$7 = $var3.$key; if ($par1DamageSource !== var$7 && !jl_Object_equals($par1DamageSource, var$7) ? 0 : 1) break; } $var3 = $var3.$next3; } } var$24 = $var3 === null ? null : $var3.$value1; $par1DamageSource = new nms_AttributeModifier; var$7 = nle_ProfileUUID_randomUUID(); $par1DamageSource.$isSaved = 1; $par1DamageSource.$id2 = var$7; $par1DamageSource.$name3 = $rt_s(1973); $par1DamageSource.$amount = (-0.05000000074505806); $par1DamageSource.$operation = 0; if ($rt_s(1973) === $rt_s(18)) $var10 = 1; else if (!($rt_s(18) instanceof jl_String)) $var10 = 0; else { var$7 = $rt_s(18); $var10 = $rt_s(1973).$nativeString !== var$7.$nativeString ? 0 : 1; } if ($var10) { $var3 = new jl_IllegalArgumentException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $var3.$message = $rt_s(1292); $rt_throw($var3); } nms_ModifiableAttributeInstance_applyModifier(var$24, $par1DamageSource); $par1DamageSource = nms_EntityZombie_field_110186_bp; if ($var7.$attributeMap === null) $var7.$attributeMap = nms_ServersideAttributeMap__init_(); $var3 = $var7.$attributeMap.$attributes; if ($par1DamageSource === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { f: { $var7 = $par1DamageSource.$field_111115_a; if (!$var7.$hashCode1) { $var10 = 0; while (true) { if ($var10 >= $var7.$nativeString.length) break f; $var7.$hashCode1 = (31 * $var7.$hashCode1 | 0) + $var7.$nativeString.charCodeAt($var10) | 0; $var10 = $var10 + 1 | 0; } } } var$20 = $var7.$hashCode1; var$9 = $var3.$elementData.data; $var3 = var$9[var$20 & (var$9.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$20) { $var7 = $var3.$key; if ($par1DamageSource !== $var7 && !jl_Object_equals($par1DamageSource, $var7) ? 0 : 1) break; } $var3 = $var3.$next3; } } var$7 = $var3 === null ? null : $var3.$value1; $par1DamageSource = new nms_AttributeModifier; $var7 = nle_ProfileUUID_randomUUID(); $par1DamageSource.$isSaved = 1; $par1DamageSource.$id2 = $var7; $par1DamageSource.$name3 = $rt_s(1974); $par1DamageSource.$amount = (-0.05000000074505806); $par1DamageSource.$operation = 0; if ($rt_s(1974) === $rt_s(18)) $var10 = 1; else if (!($rt_s(18) instanceof jl_String)) $var10 = 0; else { $var7 = $rt_s(18); $var10 = $rt_s(1974).$nativeString !== $var7.$nativeString ? 0 : 1; } if (!$var10) { nms_ModifiableAttributeInstance_applyModifier(var$7, $par1DamageSource); return 1; } $var3 = new jl_IllegalArgumentException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $var3.$message = $rt_s(1292); $rt_throw($var3); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, $var3, $var7, var$5, var$6, var$7, $var10, var$9, $var4, $var5, $var6, $var8, var$14, var$15, var$16, var$17, var$18, $var11, var$20, $var9, var$22, var$23, var$24, $ptr); }, nms_EntityZombie_onUpdate = $this => { let $var1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj.$isRemote && nms_EntityZombie_isConverting($this)) { $var1 = nms_EntityZombie_getConversionTimeBoost($this); $var1 = $this.$conversionTime - $var1 | 0; $this.$conversionTime = $var1; if ($var1 <= 0) { $ptr = 3; continue main; } } $ptr = 1; case 1: nms_EntityLivingBase_onUpdate($this); if ($rt_suspending()) { break main; } if ($this.$worldObj.$isRemote) { var$2 = $this.$worldObj; if (!var$2.$isRemote && !var$2.$difficultySetting) $this.$isDead = 1; return; } $ptr = 2; case 2: nms_EntityCreature_func_110159_bB($this); if ($rt_suspending()) { break main; } var$2 = $this.$worldObj; if (!var$2.$isRemote && !var$2.$difficultySetting) $this.$isDead = 1; return; case 3: nms_EntityZombie_convertToVillager($this); if ($rt_suspending()) { break main; } $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $ptr); }, nms_EntityZombie_attackEntityAsMob = ($this, $par1Entity) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_EntityMob_attackEntityAsMob($this, $par1Entity); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 && $this.$equipment.data[0] === null) { a: { b: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break b; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[128]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !jl_Integer_equals(var$4, var$7) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value2 & 1) ? 0 : 1) break b; } var$8 = 0; break a; } var$8 = 1; } if (var$8) { var$3 = $this.$rand; var$9 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$9; var$10 = Long_lo(Long_shru(var$9, 24)) / 1.6777216E7; var$8 = $this.$worldObj.$difficultySetting; if (var$10 < var$8 * 0.30000001192092896) { var$8 = (2 * var$8 | 0) * 20 | 0; nms_Enchantment_$callClinit(); var$11 = nms_Enchantment_fireProtection.$effectId; var$6 = $par1Entity.$getLastActiveItems(); nms_EnchantmentHelper_$callClinit(); if (var$6 === null) var$5 = 0; else { var$6 = var$6.data; var$5 = 0; var$12 = var$6.length; var$13 = 0; while (var$13 < var$12) { var$14 = nms_EnchantmentHelper_getEnchantmentLevel(var$11, var$6[var$13]); if (var$14 > var$5) var$5 = var$14; var$13 = var$13 + 1 | 0; } } if (var$5 > 0) { var$15 = var$8 * var$5 * 0.15000000596046448; var$11 = var$15 | 0; if (var$15 < var$11) var$11 = var$11 - 1 | 0; var$8 = var$8 - var$11 | 0; } if ($par1Entity.$fire < var$8) $par1Entity.$fire = var$8; } } } return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_EntityZombie_getLivingSound = $this => { return $rt_s(563); }, nms_EntityZombie_getHurtSound = $this => { return $rt_s(561); }, nms_EntityZombie_getDeathSound = $this => { return $rt_s(1975); }, nms_EntityZombie_playStepSound = ($this, $par1, $par2, $par3, $par4) => { nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1976), 0.15000000596046448, 1.0); }, nms_EntityZombie_getDropItemId = $this => { nms_Item_$callClinit(); return nms_Item_rottenFlesh.$itemID0; }, nms_EntityZombie_getCreatureAttribute = $this => { return nms_EnumCreatureAttribute_UNDEAD; }, nms_EntityZombie_dropRareDrop = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 3 | 0; if (((var$4 - var$5 | 0) + 2 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } switch (var$5) { case 0: nms_Item_$callClinit(); var$6 = nms_Item_ingotIron.$itemID0; var$2 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$2.$itemID = var$6; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$7 = new nms_EntityItem; var$8 = $this.$worldObj; var$9 = $this.$posX; var$10 = $this.$posY + 0.0; var$11 = $this.$posZ; $ptr = 1; continue main; case 1: nms_Item_$callClinit(); $par1 = nms_Item_carrot.$itemID0; var$2 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$2.$itemID = $par1; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$7 = new nms_EntityItem; var$8 = $this.$worldObj; var$9 = $this.$posX; var$10 = $this.$posY + 0.0; var$11 = $this.$posZ; $ptr = 2; continue main; case 2: nms_Item_$callClinit(); $par1 = nms_Item_potato.$itemID0; var$2 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$2.$itemID = $par1; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$7 = new nms_EntityItem; var$8 = $this.$worldObj; var$9 = $this.$posX; var$10 = $this.$posY + 0.0; var$11 = $this.$posZ; $ptr = 3; continue main; default: } return; case 1: nms_EntityItem__init_(var$7, var$8, var$9, var$10, var$11); if ($rt_suspending()) { break main; } var$12 = var$7.$dataWatcher; var$8 = var$12.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = ju_HashMap_entryByKey(var$8, jl_Integer_integerCache.data[138]); var$13 = var$8 === null ? null : var$8.$value1; if (!(var$2 !== var$13.$watchedObject ? 0 : 1)) { var$13.$watchedObject = var$2; var$13.$watched = 1; var$12.$objectChanged = 1; } var$13 = var$7.$dataWatcher; var$2 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = ju_HashMap_entryByKey(var$2, jl_Integer_integerCache.data[138]); (var$2 === null ? null : var$2.$value1).$watched = 1; var$13.$objectChanged = 1; var$7.$delayBeforeCanPickup = 10; var$2 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$2, var$7); var$8 = var$2.$entityList; ju_HashMap_putImpl(var$8.$backingMap, var$7, var$8); if (!$par1) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, var$7, var$2); } return; case 2: nms_EntityItem__init_(var$7, var$8, var$9, var$10, var$11); if ($rt_suspending()) { break main; } var$12 = var$7.$dataWatcher; var$8 = var$12.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = ju_HashMap_entryByKey(var$8, jl_Integer_integerCache.data[138]); var$13 = var$8 === null ? null : var$8.$value1; if (!(var$2 !== var$13.$watchedObject ? 0 : 1)) { var$13.$watchedObject = var$2; var$13.$watched = 1; var$12.$objectChanged = 1; } var$13 = var$7.$dataWatcher; var$2 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = ju_HashMap_entryByKey(var$2, jl_Integer_integerCache.data[138]); (var$2 === null ? null : var$2.$value1).$watched = 1; var$13.$objectChanged = 1; var$7.$delayBeforeCanPickup = 10; var$2 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$2, var$7); var$8 = var$2.$entityList; ju_HashMap_putImpl(var$8.$backingMap, var$7, var$8); if (!$par1) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, var$7, var$2); } return; case 3: nms_EntityItem__init_(var$7, var$8, var$9, var$10, var$11); if ($rt_suspending()) { break main; } var$12 = var$7.$dataWatcher; var$8 = var$12.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = ju_HashMap_entryByKey(var$8, jl_Integer_integerCache.data[138]); var$13 = var$8 === null ? null : var$8.$value1; if (!(var$2 !== var$13.$watchedObject ? 0 : 1)) { var$13.$watchedObject = var$2; var$13.$watched = 1; var$12.$objectChanged = 1; } var$13 = var$7.$dataWatcher; var$2 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = ju_HashMap_entryByKey(var$2, jl_Integer_integerCache.data[138]); (var$2 === null ? null : var$2.$value1).$watched = 1; var$13.$objectChanged = 1; var$7.$delayBeforeCanPickup = 10; var$2 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$2, var$7); var$8 = var$2.$entityList; ju_HashMap_putImpl(var$8.$backingMap, var$7, var$8); if (!$par1) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, var$7, var$2); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntityZombie_addRandomArmor = $this => { let var$1, var$2, var$3, $var1, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$var1 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLiving_addRandomArmor($this); if ($rt_suspending()) { break main; } var$1 = $this.$rand; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; if (Long_lo(Long_shru(var$2, 24)) / 1.6777216E7 < ($this.$worldObj.$difficultySetting != 3 ? 0.009999999776482582 : 0.05000000074505806)) { var$2 = Long_and(Long_add(Long_mul(var$2, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { $var1 = var$3 % 3 | 0; if (((var$3 - $var1 | 0) + 2 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } if ($var1) { var$5 = new nms_ItemStack; nms_Item_$callClinit(); var$1 = nms_Item_shovelIron; nms_ItemStack_$callClinit(); var$5.$itemID = var$1.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; $this.$equipment.data[0] = var$5; } else { var$1 = new nms_ItemStack; nms_Item_$callClinit(); var$5 = nms_Item_swordIron; nms_ItemStack_$callClinit(); var$1.$itemID = var$5.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; $this.$equipment.data[0] = var$1; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $var1, var$5, $ptr); }, nms_EntityZombie_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[140]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$watchedObject.$value2 != 1 ? 0 : 1) { var$6 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1977); var$3.$data = 1; ju_HashMap_putImpl(var$6, $rt_s(1977), var$3); } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[141]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$watchedObject.$value2 != 1 ? 0 : 1) { var$6 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1978); var$3.$data = 1; ju_HashMap_putImpl(var$6, $rt_s(1978), var$3); } var$4 = !nms_EntityZombie_isConverting($this) ? (-1) : $this.$conversionTime; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagInt; $par1NBTTagCompound.$name = $rt_s(1979); $par1NBTTagCompound.$data0 = var$4; ju_HashMap_putImpl(var$3, $rt_s(1979), $par1NBTTagCompound); }, nms_EntityZombie_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1977).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1977).$nativeString.length) break a; $rt_s(1977).$hashCode1 = (31 * $rt_s(1977).$hashCode1 | 0) + $rt_s(1977).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1977).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(1977) !== var$6) { if ($rt_s(1977) === var$6) var$3 = 1; else if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(1977).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1977) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(1977).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1977).$nativeString.length) break c; $rt_s(1977).$hashCode1 = (31 * $rt_s(1977).$hashCode1 | 0) + $rt_s(1977).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1977).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($rt_s(1977) !== var$6) { if ($rt_s(1977) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1977).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } if (!var$3 ? 0 : 1) nms_EntityZombie_setChild($this, 1); e: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1978).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1978).$nativeString.length) break e; $rt_s(1978).$hashCode1 = (31 * $rt_s(1978).$hashCode1 | 0) + $rt_s(1978).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1978).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { f: { var$6 = var$2.$key; if ($rt_s(1978) !== var$6) { if ($rt_s(1978) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(1978).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1978) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { g: { if (!$rt_s(1978).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1978).$nativeString.length) break g; $rt_s(1978).$hashCode1 = (31 * $rt_s(1978).$hashCode1 | 0) + $rt_s(1978).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1978).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { h: { var$6 = var$2.$key; if ($rt_s(1978) !== var$6) { if ($rt_s(1978) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(1978).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } else var$3 = 0; if (!var$3 ? 0 : 1) { var$2 = $this.$dataWatcher; var$7 = jl_Byte_byteCache.data[129]; var$8 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[141]; if (var$9 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$4 = var$9.$value0; var$5 = var$8.$elementData.data; var$8 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$4) { var$6 = var$8.$key; if (var$9 !== var$6 && !(var$9 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; var$6 = var$8.$watchedObject; if (!(var$6 instanceof jl_Byte && var$6.$value2 == var$7.$value2 ? 1 : 0)) { var$8.$watchedObject = var$7; var$8.$watched = 1; var$2.$objectChanged = 1; } } i: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1979).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1979).$nativeString.length) break i; $rt_s(1979).$hashCode1 = (31 * $rt_s(1979).$hashCode1 | 0) + $rt_s(1979).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1979).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { j: { var$6 = var$2.$key; if ($rt_s(1979) !== var$6) { if ($rt_s(1979) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1979).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { k: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1979).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1979).$nativeString.length) break k; $rt_s(1979).$hashCode1 = (31 * $rt_s(1979).$hashCode1 | 0) + $rt_s(1979).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1979).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { l: { var$6 = var$2.$key; if ($rt_s(1979) !== var$6) { if ($rt_s(1979) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1979).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$10 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1979) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { m: { if (!$rt_s(1979).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1979).$nativeString.length) break m; $rt_s(1979).$hashCode1 = (31 * $rt_s(1979).$hashCode1 | 0) + $rt_s(1979).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1979).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { n: { var$6 = var$2.$key; if ($rt_s(1979) !== var$6) { if ($rt_s(1979) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1979).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break n; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$10 = (var$2 === null ? null : var$2.$value1).$data0; } if (var$10 > (-1)) { o: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1979).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(1979).$nativeString.length) break o; $rt_s(1979).$hashCode1 = (31 * $rt_s(1979).$hashCode1 | 0) + $rt_s(1979).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$3 = $rt_s(1979).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { p: { var$6 = var$2.$key; if ($rt_s(1979) !== var$6) { if ($rt_s(1979) === var$6) var$10 = 1; else if (!(var$6 instanceof jl_String)) var$10 = 0; else { var$6 = var$6; var$10 = $rt_s(1979).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break p; } } var$10 = 1; } if (var$10) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1979) === null) { var$6 = $par1NBTTagCompound.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { q: { if (!$rt_s(1979).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1979).$nativeString.length) break q; $rt_s(1979).$hashCode1 = (31 * $rt_s(1979).$hashCode1 | 0) + $rt_s(1979).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$10 = $rt_s(1979).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$6 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$10) { r: { $par1NBTTagCompound = var$6.$key; if ($rt_s(1979) !== $par1NBTTagCompound) { if ($rt_s(1979) === $par1NBTTagCompound) var$3 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$3 = $rt_s(1979).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break r; } } var$3 = 1; } if (var$3) break; } var$6 = var$6.$next3; } } var$3 = (var$6 === null ? null : var$6.$value1).$data0; } nms_EntityZombie_startConversion($this, var$3); } } }, nms_EntityZombie_onKillEntity = ($this, $par1EntityLivingBase) => { let var$2, var$3, $var2, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$worldObj; var$3 = $rt_compare(var$2.$difficultySetting, 2); if (var$3 >= 0 && $par1EntityLivingBase instanceof nms_EntityVillager) { if (!var$3) { $var2 = $this.$rand; var$5 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$5; if (!Long_lo(Long_shru(var$5, 47)) ? 0 : 1) return; } $var2 = nms_EntityZombie__init_(var$2); var$6 = $par1EntityLivingBase.$posX; var$7 = $par1EntityLivingBase.$posY; var$8 = $par1EntityLivingBase.$posZ; var$9 = $par1EntityLivingBase.$rotationYaw; var$10 = $par1EntityLivingBase.$rotationPitch; $var2.$posX = var$6; $var2.$prevPosX = var$6; $var2.$lastTickPosX = var$6; var$7 = var$7 + $var2.$yOffset; $var2.$posY = var$7; $var2.$prevPosY = var$7; $var2.$lastTickPosY = var$7; $var2.$posZ = var$8; $var2.$prevPosZ = var$8; $var2.$lastTickPosZ = var$8; $var2.$rotationYaw = var$9; $var2.$rotationPitch = var$10; nms_Entity_setPosition($var2, var$6, var$7, var$8); var$11 = $this.$worldObj; var$2 = $par1EntityLivingBase.$riddenByEntity; if (var$2 !== null) { var$12 = null; $ptr = 1; continue main; } if ($par1EntityLivingBase.$ridingEntity === null) { $ptr = 2; continue main; } var$2 = null; $ptr = 3; continue main; } return; case 1: var$2.$mountEntity(var$12); if ($rt_suspending()) { break main; } if ($par1EntityLivingBase.$ridingEntity === null) { $ptr = 2; continue main; } var$2 = null; $ptr = 3; continue main; case 2: $par1EntityLivingBase.$setDead(); if ($rt_suspending()) { break main; } if ($par1EntityLivingBase instanceof nms_EntityPlayer) { var$2 = var$11.$playerEntities; var$13 = var$2.$size0; var$3 = 0; a: { while (true) { if (var$3 >= var$13) { var$3 = (-1); break a; } if (var$3 < 0) break; if (var$3 >= var$2.$size0) break; var$12 = var$2.$array.data[var$3]; if ($par1EntityLivingBase === var$12 ? 1 : $par1EntityLivingBase !== null ? $par1EntityLivingBase.$equals(var$12) : var$12 !== null ? 0 : 1) break a; var$3 = var$3 + 1 | 0; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1EntityLivingBase); $rt_throw($par1EntityLivingBase); } if (var$3 >= 0) ju_ArrayList_remove(var$2, var$3); } var$2 = ju_HashMap_removeByKey(var$11.$entityList.$backingMap, $par1EntityLivingBase); var$2 = null; $ptr = 4; continue main; case 3: $par1EntityLivingBase.$mountEntity(var$2); if ($rt_suspending()) { break main; } $ptr = 2; continue main; case 4: nms_EntityZombie_onSpawnWithEgg($var2, var$2); if ($rt_suspending()) { break main; } var$12 = $var2.$dataWatcher; var$2 = jl_Byte_byteCache.data[129]; var$11 = var$12.$watchedObjects; jl_Integer_ensureIntegerCache(); var$14 = jl_Integer_integerCache.data[141]; if (var$14 === null) { var$15 = var$11.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { var$16 = var$14.$value0; var$17 = var$11.$elementData.data; var$15 = var$17[var$16 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$16) { var$11 = var$15.$key; if (var$14 !== var$11 && !(var$14 === var$11 ? 1 : var$11 instanceof jl_Integer && var$11.$value0 == var$16 ? 1 : 0) ? 0 : 1) break; } var$15 = var$15.$next3; } } var$15 = var$15 === null ? null : var$15.$value1; var$11 = var$15.$watchedObject; if (!(var$11 instanceof jl_Byte && var$11.$value2 == var$2.$value2 ? 1 : 0)) { var$15.$watchedObject = var$2; var$15.$watched = 1; var$12.$objectChanged = 1; } if ($par1EntityLivingBase.$isChild()) nms_EntityZombie_setChild($var2, 1); $par1EntityLivingBase = $this.$worldObj; var$3 = nms_World_spawnEntityInWorld($par1EntityLivingBase, $var2); var$2 = $par1EntityLivingBase.$entityList; ju_HashMap_putImpl(var$2.$backingMap, $var2, var$2); if (!var$3) { $par1EntityLivingBase = $par1EntityLivingBase.$entitySpawnQueue; ju_HashMap_putImpl($par1EntityLivingBase.$backingMap, $var2, $par1EntityLivingBase); } $par1EntityLivingBase = $this.$worldObj; var$2 = null; var$16 = 1016; var$13 = $this.$posX | 0; var$18 = $this.$posY | 0; var$19 = $this.$posZ | 0; var$3 = 0; var$20 = 0; $var2 = $par1EntityLivingBase.$worldAccesses; var$21 = $rt_compare(var$20, $var2.$size0); if (var$21 >= 0) return; if (var$20 >= 0 && var$21 < 0) { $var2 = $var2.$array.data[var$20]; $ptr = 5; continue main; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); case 5: nms_RenderGlobal_playAuxSFX($var2, var$2, var$16, var$13, var$18, var$19, var$3); if ($rt_suspending()) { break main; } var$20 = var$20 + 1 | 0; $var2 = $par1EntityLivingBase.$worldAccesses; var$21 = $rt_compare(var$20, $var2.$size0); if (var$21 >= 0) return; if (var$20 >= 0 && var$21 < 0) { $var2 = $var2.$array.data[var$20]; continue main; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; $rt_throw($par1EntityLivingBase); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, var$2, var$3, $var2, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr); }, nms_EntityZombie_onSpawnWithEgg = ($this, $var3) => { let $var5, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var2, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var2 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_SharedMonsterAttributes_followRange; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if ($var5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$4 = $var5.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$6 && ju_HashMap_areEqualKeys($var5, var$3.$key))) { var$3 = var$3.$next3; } } var$8 = var$3 === null ? null : var$3.$value1; var$3 = new nms_AttributeModifier; var$9 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05; var$4 = nle_ProfileUUID_randomUUID(); var$3.$isSaved = 1; var$3.$id2 = var$4; var$3.$name3 = $rt_s(1855); var$3.$amount = var$9; var$3.$operation = 1; if ($rt_s(1855) === $rt_s(18)) var$5 = 1; else if (!($rt_s(18) instanceof jl_String)) var$5 = 0; else { var$4 = $rt_s(18); var$5 = $rt_s(1855).$nativeString !== var$4.$nativeString ? 0 : 1; } if (var$5) { $var5 = new jl_IllegalArgumentException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var5); $var5.$message = $rt_s(1292); $rt_throw($var5); } nms_ModifiableAttributeInstance_applyModifier(var$8, var$3); $var5 = $this.$worldObj; var$9 = $this.$posX; var$10 = $this.$posY; var$11 = $this.$posZ; var$12 = var$9 | 0; if (var$9 < var$12) var$12 = var$12 - 1 | 0; var$6 = var$10 | 0; if (var$10 < var$6) var$6 = var$6 - 1 | 0; var$13 = var$11 | 0; if (var$11 < var$13) var$13 = var$13 - 1 | 0; $var2 = nms_World_getTensionFactorForBlock($var5, var$12, var$6, var$13); $var5 = $this.$rand; var$15 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$15; var$13 = 24; $this.$canPickUpLoot = Long_lo(Long_shru(var$15, var$13)) / 1.6777216E7 >= 0.550000011920929 * $var2 ? 0 : 1; if ($var3 === null) { $var3 = new nms_EntityZombieGroupData; $var5 = $this.$worldObj.$rand0; var$16 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$16; var$5 = Long_lo(Long_shru(var$16, var$13)) / 1.6777216E7 >= 0.05000000074505806 ? 0 : 1; var$15 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$15; var$6 = Long_lo(Long_shru(var$15, var$13)) / 1.6777216E7 >= 0.05000000074505806 ? 0 : 1; $var3.$field_142047_c = $this; $var3.$field_142048_a = 0; $var3.$field_142046_b = 0; $var3.$field_142048_a = var$5; $var3.$field_142046_b = var$6; } if ($var3 instanceof nms_EntityZombieGroupData) { if ($var3.$field_142046_b) { var$3 = $this.$dataWatcher; var$8 = jl_Byte_byteCache.data[129]; $var5 = var$3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$17 = jl_Integer_integerCache.data[141]; if (var$17 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$12 = var$17.$value0; var$7 = $var5.$elementData.data; $var5 = var$7[var$12 & (var$7.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$12) { var$4 = $var5.$key; if (var$17 !== var$4 && !(var$17 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; var$4 = $var5.$watchedObject; if (!(var$4 instanceof jl_Byte && var$4.$value2 == var$8.$value2 ? 1 : 0)) { $var5.$watchedObject = var$8; $var5.$watched = 1; var$3.$objectChanged = 1; } } if ($var3.$field_142048_a) nms_EntityZombie_setChild($this, 1); } $ptr = 1; case 1: $this.$addRandomArmor(); if ($rt_suspending()) { break main; } nms_EntityLiving_enchantEquipment($this); if ($this.$equipment.data[4] === null) { $var5 = $this.$worldObj; if (Long_eq(Long_rem($var5.$worldInfo.$totalTime, Long_fromInt(600)), Long_ZERO)) { var$3 = $var5.$theCalendar; nlea_EaglerAdapterImpl2_$callClinit(); var$16 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!(var$3.$isTimeSet && var$3.$areFieldsSet && Long_eq(var$3.$time, var$16))) { var$3.$time = var$16; var$3.$isTimeSet = 1; var$3.$areFieldsSet = 0; ju_GregorianCalendar_computeFields(var$3); var$3.$areFieldsSet = 1; } } $var5 = $var5.$theCalendar; if (!$var5.$isTimeSet) { ju_GregorianCalendar_computeTime($var5); $var5.$isTimeSet = 1; } if (!$var5.$areFieldsSet) { ju_GregorianCalendar_computeFields($var5); $var5.$areFieldsSet = 1; } if (($var5.$fields.data[2] + 1 | 0) == 10) { if (!$var5.$isTimeSet) { ju_GregorianCalendar_computeTime($var5); $var5.$isTimeSet = 1; } if (!$var5.$areFieldsSet) { ju_GregorianCalendar_computeFields($var5); $var5.$areFieldsSet = 1; } if ($var5.$fields.data[5] == 31) { $var5 = $this.$rand; var$16 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$16; if (Long_lo(Long_shru(var$16, var$13)) / 1.6777216E7 < 0.25) { var$3 = new nms_ItemStack; var$15 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$15; if (Long_lo(Long_shru(var$15, var$13)) / 1.6777216E7 >= 0.10000000149011612) { nms_Block_$callClinit(); $var5 = nms_Block_pumpkin; } else { nms_Block_$callClinit(); $var5 = nms_Block_pumpkinLantern; } nms_ItemStack_$callClinit(); var$3.$itemID = $var5.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 0; $this.$equipment.data[4] = var$3; $this.$equipmentDropChances.data[4] = 0.0; } } } } $var5 = nms_SharedMonsterAttributes_knockbackResistance; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if ($var5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { b: { var$4 = $var5.$field_111115_a; if (!var$4.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$4.$nativeString.length) break b; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$5 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$5 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$4 = var$3.$key; if ($var5 !== var$4 && !jl_Object_equals($var5, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$8 = var$3 === null ? null : var$3.$value1; $var5 = new nms_AttributeModifier; var$4 = $this.$rand; var$18 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$18; var$15 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$18, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$16; var$9 = Long_toNumber(Long_add(var$15, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.05000000074505806; var$4 = nle_ProfileUUID_randomUUID(); $var5.$isSaved = 1; $var5.$id2 = var$4; $var5.$name3 = $rt_s(1855); $var5.$amount = var$9; $var5.$operation = 0; if ($rt_s(1855) === $rt_s(18)) var$5 = 1; else if (!($rt_s(18) instanceof jl_String)) var$5 = 0; else { var$4 = $rt_s(18); var$5 = $rt_s(1855).$nativeString !== var$4.$nativeString ? 0 : 1; } if (var$5) { $var5 = new jl_IllegalArgumentException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $var5.$message = $rt_s(1292); $rt_throw($var5); } nms_ModifiableAttributeInstance_applyModifier(var$8, $var5); $var5 = nms_SharedMonsterAttributes_followRange; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if ($var5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { c: { var$4 = $var5.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break c; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$19 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$19 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$19) { var$4 = var$3.$key; if ($var5 !== var$4 && !jl_Object_equals($var5, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$8 = var$3 === null ? null : var$3.$value1; $var5 = new nms_AttributeModifier; var$4 = $this.$rand; var$18 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$18; var$15 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$18, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$16; var$9 = Long_toNumber(Long_add(var$15, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 1.5; var$4 = nle_ProfileUUID_randomUUID(); $var5.$isSaved = 1; $var5.$id2 = var$4; $var5.$name3 = $rt_s(1980); $var5.$amount = var$9; $var5.$operation = 2; if ($rt_s(1980) === $rt_s(18)) var$5 = 1; else if (!($rt_s(18) instanceof jl_String)) var$5 = 0; else { var$4 = $rt_s(18); var$5 = $rt_s(1980).$nativeString !== var$4.$nativeString ? 0 : 1; } if (var$5) { $var5 = new jl_IllegalArgumentException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $var5.$message = $rt_s(1292); $rt_throw($var5); } nms_ModifiableAttributeInstance_applyModifier(var$8, $var5); $var5 = $this.$rand; var$15 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$15; if (Long_lo(Long_shru(var$15, var$13)) / 1.6777216E7 < $var2 * 0.05000000074505806) { $var5 = nms_EntityZombie_field_110186_bp; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if ($var5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { d: { var$4 = $var5.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break d; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$4 = var$3.$key; if ($var5 !== var$4 && !jl_Object_equals($var5, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$8 = var$3 === null ? null : var$3.$value1; $var5 = new nms_AttributeModifier; var$4 = $this.$rand; var$18 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$18; var$15 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$18, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$16; var$9 = Long_toNumber(Long_add(var$15, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.25 + 0.5; var$4 = nle_ProfileUUID_randomUUID(); $var5.$isSaved = 1; $var5.$id2 = var$4; $var5.$name3 = $rt_s(1981); $var5.$amount = var$9; $var5.$operation = 0; if ($rt_s(1981) === $rt_s(18)) var$5 = 1; else if (!($rt_s(18) instanceof jl_String)) var$5 = 0; else { var$4 = $rt_s(18); var$5 = $rt_s(1981).$nativeString !== var$4.$nativeString ? 0 : 1; } if (var$5) { $var5 = new jl_IllegalArgumentException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $var5.$message = $rt_s(1292); $rt_throw($var5); } nms_ModifiableAttributeInstance_applyModifier(var$8, $var5); $var5 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if ($var5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { e: { var$4 = $var5.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break e; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$4 = var$3.$key; if ($var5 !== var$4 && !jl_Object_equals($var5, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$8 = var$3 === null ? null : var$3.$value1; $var5 = new nms_AttributeModifier; var$4 = $this.$rand; var$18 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$18; var$15 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$18, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$16; var$9 = Long_toNumber(Long_add(var$15, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 3.0 + 1.0; var$4 = nle_ProfileUUID_randomUUID(); $var5.$isSaved = 1; $var5.$id2 = var$4; $var5.$name3 = $rt_s(1981); $var5.$amount = var$9; $var5.$operation = 2; if ($rt_s(1981) === $rt_s(18)) var$5 = 1; else if (!($rt_s(18) instanceof jl_String)) var$5 = 0; else { var$4 = $rt_s(18); var$5 = $rt_s(1981).$nativeString !== var$4.$nativeString ? 0 : 1; } if (var$5) { $var5 = new jl_IllegalArgumentException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $var5.$message = $rt_s(1292); $rt_throw($var5); } nms_ModifiableAttributeInstance_applyModifier(var$8, $var5); } return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var3, $var5, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var2, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_EntityZombie_interact = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; var$2 = $par1EntityPlayer.$inventory; var$3 = var$2.$currentItem; var$4 = var$3 < 9 && var$3 >= 0 ? var$2.$mainInventory.data[var$3] : null; if (var$4 !== null) { nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$4.$itemID] === nms_Item_appleGold && !var$4.$itemDamage) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[141]; if (var$5 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$6 = var$5.$value0; var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { var$8 = var$2.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$watchedObject.$value2 != 1 ? 0 : 1) { nms_Potion_$callClinit(); var$2 = nms_Potion_weakness; var$8 = $this.$activePotionsMap; var$9 = var$2.$id1; if (var$9 >= (-128) && var$9 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$9; } if (var$2 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$6 = var$2.$value0; var$7 = var$8.$elementData.data; var$8 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$6) { var$5 = var$8.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } if (var$8 === null ? 0 : 1) { if (!$par1EntityPlayer.$capabilities.$isCreativeMode) var$4.$stackSize = var$4.$stackSize - 1 | 0; if (var$4.$stackSize <= 0) { $par1EntityPlayer = $par1EntityPlayer.$inventory; var$6 = $par1EntityPlayer.$currentItem; var$2 = null; var$7 = $par1EntityPlayer.$mainInventory; var$9 = var$7.data.length; if (var$6 >= var$9) { var$6 = var$6 - var$9 | 0; var$7 = $par1EntityPlayer.$armorInventory; } var$7.data[var$6] = var$2; } if (!$this.$worldObj.$isRemote) { $par1EntityPlayer = $this.$rand; var$10 = Long_and(Long_add(Long_mul($par1EntityPlayer.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityPlayer.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); while (true) { var$11 = var$6 % 2401 | 0; if (((var$6 - var$11 | 0) + 2400 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($par1EntityPlayer.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityPlayer.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); } nms_EntityZombie_startConversion($this, var$11 + 3600 | 0); } return 1; } } } } return 0; }, nms_EntityZombie_startConversion = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $this.$conversionTime = $par1; var$2 = $this.$dataWatcher; var$3 = jl_Byte_byteCache.data[129]; var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[142]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; var$8 = var$4.$watchedObject; if (!(var$8 instanceof jl_Byte && var$8.$value2 == var$3.$value2 ? 1 : 0)) { var$4.$watchedObject = var$3; var$4.$watched = 1; var$2.$objectChanged = 1; } nms_Potion_$callClinit(); var$9 = nms_Potion_weakness.$id1; var$4 = $this.$activePotionsMap; if (var$9 >= (-128) && var$9 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$9; } var$4 = ju_HashMap_removeByKey(var$4, var$2); var$4 = var$4 === null ? null : var$4.$value1; if (var$4 !== null) { $this.$potionsNeedUpdate = 1; if (!$this.$worldObj.$isRemote) { var$2 = nms_Potion_potionTypes.data[var$4.$potionID]; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2.$removeAttributesModifiersFromEntity($this, $this.$attributeMap, var$4.$amplifier); } } var$2 = new nms_PotionEffect; var$10 = nms_Potion_damageBoost.$id1; var$9 = $this.$worldObj.$difficultySetting - 1 | 0; var$6 = 0; if (var$9 < var$6) var$6 = var$9; var$2.$potionID = var$10; var$2.$duration = $par1; var$2.$amplifier = var$6; var$2.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($this, var$2); }, nms_EntityZombie_handleHealthUpdate = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 != 16) { $ptr = 1; continue main; } var$2 = $this.$worldObj; var$3 = $this.$posX + 0.5; var$4 = $this.$posY + 0.5; var$5 = $this.$posZ + 0.5; var$6 = $rt_s(1982); var$7 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$8; var$9 = 1.0 + Long_lo(Long_shru(var$8, 24)) / 1.6777216E7; var$8 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$8; var$10 = Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 * 0.699999988079071 + 0.30000001192092896; $par1 = 0; $ptr = 2; continue main; case 1: nms_EntityLivingBase_handleHealthUpdate($this, $par1); if ($rt_suspending()) { break main; } return; case 2: nms_WorldClient_playSound(var$2, var$3, var$4, var$5, var$6, var$9, var$10, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityZombie_canDespawn = $this => { return nms_EntityZombie_isConverting($this) ? 0 : 1; }, nms_EntityZombie_isConverting = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[142]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$value2 != 1 ? 0 : 1; }, nms_EntityZombie_convertToVillager = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = new nms_EntityVillager; var$2 = $this.$worldObj; nms_EntityVillager_$callClinit(); var$3 = 0; $ptr = 1; case 1: nms_EntityVillager__init_($var1, var$2, var$3); if ($rt_suspending()) { break main; } var$4 = $this.$posX; var$5 = $this.$posY; var$6 = $this.$posZ; var$7 = $this.$rotationYaw; var$8 = $this.$rotationPitch; $var1.$posX = var$4; $var1.$prevPosX = var$4; $var1.$lastTickPosX = var$4; var$5 = var$5 + $var1.$yOffset; $var1.$posY = var$5; $var1.$prevPosY = var$5; $var1.$lastTickPosY = var$5; $var1.$posZ = var$6; $var1.$prevPosZ = var$6; $var1.$lastTickPosZ = var$6; $var1.$rotationYaw = var$7; $var1.$rotationPitch = var$8; nms_Entity_setPosition($var1, var$4, var$5, var$6); var$2 = null; $ptr = 2; case 2: nms_EntityVillager_onSpawnWithEgg($var1, var$2); if ($rt_suspending()) { break main; } $var1.$field_82190_bM = 1; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = var$9.$value0; var$10 = var$2.$elementData.data; var$2 = var$10[var$3 & (var$10.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$11 = var$2.$key; if (var$9 !== var$11 && !(var$9 === var$11 ? 1 : var$11 instanceof jl_Integer && var$11.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value2 != 1 ? 0 : 1)) { var$2 = $this.$worldObj; var$9 = $this.$riddenByEntity; if (var$9 !== null) { var$11 = null; $ptr = 3; continue main; } if ($this.$ridingEntity !== null) { var$9 = null; $ptr = 4; continue main; } $this.$isDead = 1; if ($this instanceof nms_EntityPlayer) { var$9 = var$2.$playerEntities; var$12 = var$9.$size0; var$3 = 0; a: { while (true) { var$13 = $rt_compare(var$3, var$12); if (var$13 >= 0) { var$3 = (-1); break a; } if (var$3 < 0) break; if (var$13 >= 0) break; var$11 = var$9.$array.data[var$3]; if ($this === var$11 ? 1 : $this === null ? (var$11 !== null ? 0 : 1) : !(var$11 instanceof nms_Entity) ? 0 : var$11.$entityId != $this.$entityId ? 0 : 1) break a; var$3 = var$3 + 1 | 0; } $var1 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var1); $rt_throw($var1); } if (var$3 >= 0) ju_ArrayList_remove(var$9, var$3); } var$2 = ju_HashMap_removeByKey(var$2.$entityList.$backingMap, $this); var$2 = $this.$worldObj; var$3 = nms_World_spawnEntityInWorld(var$2, $var1); var$9 = var$2.$entityList; ju_HashMap_putImpl(var$9.$backingMap, $var1, var$9); if (!var$3) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, $var1, var$2); } var$9 = new nms_PotionEffect; nms_Potion_$callClinit(); var$9.$potionID = nms_Potion_confusion.$id1; var$9.$duration = 200; var$9.$amplifier = 0; var$9.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($var1, var$9); $var1 = $this.$worldObj; var$2 = null; var$13 = 1017; var$12 = $this.$posX | 0; var$14 = $this.$posY | 0; var$15 = $this.$posZ | 0; var$3 = 0; var$16 = 0; var$9 = $var1.$worldAccesses; var$17 = $rt_compare(var$16, var$9.$size0); if (var$17 >= 0) return; if (var$16 >= 0 && var$17 < 0) { var$9 = var$9.$array.data[var$16]; $ptr = 5; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } var$2 = $var1.$dataWatcher; var$9 = new jl_Integer; var$9.$value0 = (-24000); var$11 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$18 = jl_Integer_integerCache.data[140]; if (var$18 === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { var$12 = var$18.$value0; var$10 = var$11.$elementData.data; var$11 = var$10[var$12 & (var$10.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$12) { var$19 = var$11.$key; if (var$18 !== var$19 && !(var$18 === var$19 ? 1 : var$19 instanceof jl_Integer && var$19.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } var$11 = var$11.$next3; } } var$19 = var$11 === null ? null : var$11.$value1; var$11 = var$19.$watchedObject; if (!(var$9 === var$11 ? 1 : var$11 instanceof jl_Integer && var$11.$value0 == var$9.$value0 ? 1 : 0)) { var$19.$watchedObject = var$9; var$19.$watched = 1; var$2.$objectChanged = 1; } var$2 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_Integer_hashCode(var$9.$value0); var$10 = var$2.$elementData.data; var$2 = var$10[var$3 & (var$10.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$3 && ju_HashMap_areEqualKeys(var$9, var$2.$key))) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; var$7 = !(var$2.$watchedObject.$value0 >= 0 ? 0 : 1) ? 1.0 : 0.5; var$8 = $var1.$field_98056_d * var$7; var$7 = $var1.$field_98057_e * var$7; $ptr = 6; continue main; case 3: var$9.$mountEntity(var$11); if ($rt_suspending()) { break main; } if ($this.$ridingEntity !== null) { var$9 = null; $ptr = 4; continue main; } $this.$isDead = 1; if ($this instanceof nms_EntityPlayer) { var$9 = var$2.$playerEntities; var$12 = var$9.$size0; var$3 = 0; b: { while (true) { var$13 = $rt_compare(var$3, var$12); if (var$13 >= 0) { var$3 = (-1); break b; } if (var$3 < 0) break; if (var$13 >= 0) break; var$11 = var$9.$array.data[var$3]; if ($this === var$11 ? 1 : $this === null ? (var$11 !== null ? 0 : 1) : !(var$11 instanceof nms_Entity) ? 0 : var$11.$entityId != $this.$entityId ? 0 : 1) break b; var$3 = var$3 + 1 | 0; } $var1 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var1); $rt_throw($var1); } if (var$3 >= 0) ju_ArrayList_remove(var$9, var$3); } var$2 = ju_HashMap_removeByKey(var$2.$entityList.$backingMap, $this); var$2 = $this.$worldObj; var$3 = nms_World_spawnEntityInWorld(var$2, $var1); var$9 = var$2.$entityList; ju_HashMap_putImpl(var$9.$backingMap, $var1, var$9); if (!var$3) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, $var1, var$2); } var$9 = new nms_PotionEffect; nms_Potion_$callClinit(); var$9.$potionID = nms_Potion_confusion.$id1; var$9.$duration = 200; var$9.$amplifier = 0; var$9.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($var1, var$9); $var1 = $this.$worldObj; var$2 = null; var$13 = 1017; var$12 = $this.$posX | 0; var$14 = $this.$posY | 0; var$15 = $this.$posZ | 0; var$3 = 0; var$16 = 0; var$9 = $var1.$worldAccesses; var$17 = $rt_compare(var$16, var$9.$size0); if (var$17 >= 0) return; if (var$16 >= 0 && var$17 < 0) { var$9 = var$9.$array.data[var$16]; $ptr = 5; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); case 4: nms_Entity_mountEntity($this, var$9); if ($rt_suspending()) { break main; } $this.$isDead = 1; if ($this instanceof nms_EntityPlayer) { var$9 = var$2.$playerEntities; var$12 = var$9.$size0; var$3 = 0; c: { while (true) { var$13 = $rt_compare(var$3, var$12); if (var$13 >= 0) { var$3 = (-1); break c; } if (var$3 < 0) break; if (var$13 >= 0) break; var$11 = var$9.$array.data[var$3]; if ($this === var$11 ? 1 : $this === null ? (var$11 !== null ? 0 : 1) : !(var$11 instanceof nms_Entity) ? 0 : var$11.$entityId != $this.$entityId ? 0 : 1) break c; var$3 = var$3 + 1 | 0; } $var1 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var1); $rt_throw($var1); } if (var$3 >= 0) ju_ArrayList_remove(var$9, var$3); } var$2 = ju_HashMap_removeByKey(var$2.$entityList.$backingMap, $this); var$2 = $this.$worldObj; var$3 = nms_World_spawnEntityInWorld(var$2, $var1); var$9 = var$2.$entityList; ju_HashMap_putImpl(var$9.$backingMap, $var1, var$9); if (!var$3) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, $var1, var$2); } var$9 = new nms_PotionEffect; nms_Potion_$callClinit(); var$9.$potionID = nms_Potion_confusion.$id1; var$9.$duration = 200; var$9.$amplifier = 0; var$9.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($var1, var$9); $var1 = $this.$worldObj; var$2 = null; var$13 = 1017; var$12 = $this.$posX | 0; var$14 = $this.$posY | 0; var$15 = $this.$posZ | 0; var$3 = 0; var$16 = 0; var$9 = $var1.$worldAccesses; var$17 = $rt_compare(var$16, var$9.$size0); if (var$17 >= 0) return; if (var$16 >= 0 && var$17 < 0) { var$9 = var$9.$array.data[var$16]; $ptr = 5; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); case 5: nms_RenderGlobal_playAuxSFX(var$9, var$2, var$13, var$12, var$14, var$15, var$3); if ($rt_suspending()) { break main; } var$16 = var$16 + 1 | 0; var$9 = $var1.$worldAccesses; var$17 = $rt_compare(var$16, var$9.$size0); if (var$17 >= 0) return; if (var$16 >= 0 && var$17 < 0) { var$9 = var$9.$array.data[var$16]; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); case 6: nms_Entity_setSize($var1, var$8, var$7); if ($rt_suspending()) { break main; } var$2 = $this.$worldObj; var$9 = $this.$riddenByEntity; if (var$9 !== null) { var$11 = null; $ptr = 3; continue main; } if ($this.$ridingEntity !== null) { var$9 = null; $ptr = 4; continue main; } $this.$isDead = 1; if ($this instanceof nms_EntityPlayer) { var$9 = var$2.$playerEntities; var$12 = var$9.$size0; var$3 = 0; d: { while (true) { var$13 = $rt_compare(var$3, var$12); if (var$13 >= 0) { var$3 = (-1); break d; } if (var$3 < 0) break; if (var$13 >= 0) break; var$11 = var$9.$array.data[var$3]; if ($this === var$11 ? 1 : $this === null ? (var$11 !== null ? 0 : 1) : !(var$11 instanceof nms_Entity) ? 0 : var$11.$entityId != $this.$entityId ? 0 : 1) break d; var$3 = var$3 + 1 | 0; } $var1 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var1); $rt_throw($var1); } if (var$3 >= 0) ju_ArrayList_remove(var$9, var$3); } var$2 = ju_HashMap_removeByKey(var$2.$entityList.$backingMap, $this); var$2 = $this.$worldObj; var$3 = nms_World_spawnEntityInWorld(var$2, $var1); var$9 = var$2.$entityList; ju_HashMap_putImpl(var$9.$backingMap, $var1, var$9); if (!var$3) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, $var1, var$2); } var$9 = new nms_PotionEffect; nms_Potion_$callClinit(); var$9.$potionID = nms_Potion_confusion.$id1; var$9.$duration = 200; var$9.$amplifier = 0; var$9.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($var1, var$9); $var1 = $this.$worldObj; var$2 = null; var$13 = 1017; var$12 = $this.$posX | 0; var$14 = $this.$posY | 0; var$15 = $this.$posZ | 0; var$3 = 0; var$16 = 0; var$9 = $var1.$worldAccesses; var$17 = $rt_compare(var$16, var$9.$size0); if (var$17 >= 0) return; if (var$16 >= 0 && var$17 < 0) { var$9 = var$9.$array.data[var$16]; $ptr = 5; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_EntityZombie_getConversionTimeBoost = $this => { let $var1, var$2, var$3, $var2, $var3, $var4, $var5, $var6; a: { $var1 = 1; var$2 = $this.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; if (Long_lo(Long_shru(var$3, 24)) / 1.6777216E7 < 0.009999999776482582) { $var2 = 0; $var3 = ($this.$posX | 0) - 4 | 0; while ($var3 < (($this.$posX | 0) + 4 | 0)) { if ($var2 >= 14) break a; $var4 = ($this.$posY | 0) - 4 | 0; while ($var4 < (($this.$posY | 0) + 4 | 0) && $var2 < 14) { $var5 = ($this.$posZ | 0) - 4 | 0; while ($var5 < (($this.$posZ | 0) + 4 | 0) && $var2 < 14) { $var6 = nms_World_getBlockId($this.$worldObj, $var3, $var4, $var5); nms_Block_$callClinit(); if (!($var6 != nms_Block_fenceIron.$blockID && $var6 != nms_Block_bed.$blockID)) { var$2 = $this.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; if (Long_lo(Long_shru(var$3, 24)) / 1.6777216E7 < 0.30000001192092896) $var1 = $var1 + 1 | 0; $var2 = $var2 + 1 | 0; } $var5 = $var5 + 1 | 0; } $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } } } return $var1; }, nms_EntityZombie__clinit_ = () => { let var$1, var$2, var$3; var$1 = nms_RangedAttribute__init_($rt_s(1983), 0.0, 0.0, 1.0); var$1.$field_111119_c = $rt_s(1984); nms_EntityZombie_field_110186_bp = var$1; var$1 = nle_ProfileUUID_fromString($rt_s(1985)); nms_EntityZombie_babySpeedBoostUUID = var$1; var$2 = new nms_AttributeModifier; var$2.$isSaved = 1; var$2.$id2 = var$1; var$2.$name3 = $rt_s(1986); var$2.$amount = 0.5; var$2.$operation = 1; if ($rt_s(1986) === $rt_s(18)) var$3 = 1; else if (!($rt_s(18) instanceof jl_String)) var$3 = 0; else { var$1 = $rt_s(18); var$3 = $rt_s(1986).$nativeString !== var$1.$nativeString ? 0 : 1; } if (!var$3) { nms_EntityZombie_babySpeedBoostModifier = var$2; return; } var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(1292); $rt_throw(var$2); }; function nms_RenderZombie() { let a = this; nms_RenderBiped.call(a); a.$field_82434_o = null; a.$zombieVillagerModel = null; a.$field_82437_k = null; a.$field_82435_l = null; a.$field_82436_m = null; a.$field_82433_n = null; a.$field_82431_q = 0; } let nms_RenderZombie_zombiePigmanTextures = null, nms_RenderZombie_zombieTextures = null, nms_RenderZombie_zombieVillagerTextures = null, nms_RenderZombie_$callClinit = () => { nms_RenderZombie_$callClinit = $rt_eraseClinit(nms_RenderZombie); nms_RenderZombie__clinit_(); }, nms_RenderZombie__init_ = $this => { let var$1, var$2; nms_RenderZombie_$callClinit(); var$1 = new nms_ModelZombie; nms_ModelBiped__init_(var$1, 0.0, 0.0, 64, 64); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.5; $this.$modelBipedMain0 = var$1; $this.$field_77070_b = 1.0; nms_RenderZombie_func_82421_b($this); $this.$field_82431_q = 1; $this.$field_82434_o = $this.$modelBipedMain0; $this.$zombieVillagerModel = nms_ModelZombieVillager__init_(0.0, 0.0, 0); }, nms_RenderZombie__init_0 = () => { let var_0 = new nms_RenderZombie(); nms_RenderZombie__init_(var_0); return var_0; }, nms_RenderZombie_func_82421_b = $this => { let var$1; var$1 = new nms_ModelZombie; nms_ModelBiped__init_(var$1, 1.0, 0.0, 64, 32); $this.$field_82423_g = var$1; var$1 = new nms_ModelZombie; nms_ModelBiped__init_(var$1, 0.5, 0.0, 64, 32); $this.$field_82425_h = var$1; $this.$field_82437_k = $this.$field_82423_g; $this.$field_82435_l = var$1; $this.$field_82436_m = nms_ModelZombieVillager__init_(1.0, 0.0, 1); $this.$field_82433_n = nms_ModelZombieVillager__init_(0.5, 0.0, 1); }, nms_RenderZombie_func_82427_a = ($this, $par1EntityZombie) => { let var$2, var$3, var$4, var$5; $par1EntityZombie = $par1EntityZombie.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[141]; if (var$2 === null) { $par1EntityZombie = $par1EntityZombie.$elementData.data[0]; while ($par1EntityZombie !== null && $par1EntityZombie.$key !== null) { $par1EntityZombie = $par1EntityZombie.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1EntityZombie.$elementData.data; $par1EntityZombie = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1EntityZombie !== null) { if ($par1EntityZombie.$origKeyHash == var$3) { var$5 = $par1EntityZombie.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $par1EntityZombie = $par1EntityZombie.$next3; } } $par1EntityZombie = $par1EntityZombie === null ? null : $par1EntityZombie.$value1; if (!($par1EntityZombie.$watchedObject.$value2 != 1 ? 0 : 1)) { $this.$mainModel = $this.$field_82434_o; $this.$field_82423_g = $this.$field_82437_k; $this.$field_82425_h = $this.$field_82435_l; } else { if ($this.$field_82431_q != 10) { $this.$zombieVillagerModel = nms_ModelZombieVillager__init_(0.0, 0.0, 0); $this.$field_82431_q = 10; $this.$field_82436_m = nms_ModelZombieVillager__init_(1.0, 0.0, 1); $this.$field_82433_n = nms_ModelZombieVillager__init_(0.5, 0.0, 1); } $this.$mainModel = $this.$zombieVillagerModel; $this.$field_82423_g = $this.$field_82436_m; $this.$field_82425_h = $this.$field_82433_n; } $this.$modelBipedMain0 = $this.$mainModel; }, nms_RenderZombie_func_130005_c = ($this, $par1EntityLiving, $par2) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; nms_RenderZombie_func_82427_a($this, $par1EntityLiving); $ptr = 1; case 1: nms_RenderBiped_func_130005_c($this, $par1EntityLiving, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $ptr); }, nms_RenderZombie_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; nms_RenderZombie_func_82427_a($this, $par1EntityLiving); $ptr = 1; case 1: nms_RenderBiped_doRenderLiving($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderZombie_func_130006_a = ($this, $par1EntityLiving, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; nms_RenderZombie_func_82427_a($this, $par1EntityLiving); $ptr = 1; case 1: $tmp = nms_RenderBiped_func_130006_a($this, $par1EntityLiving, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par3, $ptr); }, nms_RenderZombie_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; nms_RenderZombie_func_82427_a($this, $par1EntityLivingBase); $ptr = 1; case 1: $tmp = nms_RenderBiped_func_130006_a($this, $par1EntityLivingBase, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $ptr); }, nms_RenderZombie_renderEquippedItems = ($this, $par1EntityLivingBase, $par2) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; nms_RenderZombie_func_82427_a($this, $par1EntityLivingBase); $ptr = 1; case 1: nms_RenderBiped_func_130005_c($this, $par1EntityLivingBase, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $ptr); }, nms_RenderZombie_rotateCorpse = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9; var$5 = $par1EntityLivingBase; $par1EntityLivingBase = var$5.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[142]; if (var$6 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$7 = var$6.$value0; var$8 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$8[var$7 & (var$8.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$7) { var$9 = $par1EntityLivingBase.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; if ($par1EntityLivingBase.$watchedObject.$value2 != 1 ? 0 : 1) $par3 = $par3 + jl_Math_cos(var$5.$ticksExisted * 3.25) * 3.141592653589793 * 0.25; nms_RendererLivingEntity_rotateCorpse($this, var$5, $par2, $par3, $par4); }, nms_RenderZombie_getEntityTexture = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5; $par1Entity = $par1Entity; if ($par1Entity instanceof nms_EntityPigZombie) { nms_RenderZombie_$callClinit(); $par1Entity = nms_RenderZombie_zombiePigmanTextures; } else { $par1Entity = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[141]; if (var$2 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1Entity.$elementData.data; $par1Entity = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$3) { var$5 = $par1Entity.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if (!($par1Entity.$watchedObject.$value2 != 1 ? 0 : 1)) { nms_RenderZombie_$callClinit(); $par1Entity = nms_RenderZombie_zombieTextures; } else { nms_RenderZombie_$callClinit(); $par1Entity = nms_RenderZombie_zombieVillagerTextures; } } return $par1Entity; }, nms_RenderZombie_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; nms_RenderZombie_func_82427_a($this, $par1Entity); $ptr = 1; case 1: nms_RenderBiped_doRenderLiving($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderZombie__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1987); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderZombie_zombiePigmanTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1988); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderZombie_zombieTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1989); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderZombie_zombieVillagerTextures = var$1; }; function nms_EntitySlime() { let a = this; nms_EntityLiving.call(a); a.$squishAmount = 0.0; a.$squishFactor = 0.0; a.$prevSquishFactor = 0.0; a.$slimeJumpDelay = 0; } let nms_EntitySlime_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); var$2 = $this.$dataWatcher; var$1 = new jl_Byte; var$1.$value2 = 1; nms_DataWatcher_addObject(var$2, 16, var$1); }, nms_EntitySlime_setSlimeSize = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$dataWatcher; var$3 = new jl_Byte; var$3.$value2 = $par1 << 24 >> 24; var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; var$8 = var$4.$watchedObject; if (!(var$8 instanceof jl_Byte && var$8.$value2 == var$3.$value2 ? 1 : 0)) { var$4.$watchedObject = var$3; var$4.$watched = 1; var$2.$objectChanged = 1; } var$9 = 0.6000000238418579 * $par1; $ptr = 1; case 1: nms_Entity_setSize($this, var$9, var$9); if ($rt_suspending()) { break main; } nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); var$3 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $this.$attributeMap.$attributes; if (var$3 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { var$8 = var$3.$field_111115_a; if (!var$8.$hashCode1) { var$10 = 0; while (true) { if (var$10 >= var$8.$nativeString.length) break a; var$8.$hashCode1 = (31 * var$8.$hashCode1 | 0) + var$8.$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$6 = var$8.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$3 !== var$8 && !jl_Object_equals(var$3, var$8) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$3 = var$4 === null ? null : var$4.$value1; var$11 = $rt_imul($par1, $par1); if (var$11 !== var$3.$baseValue) { var$3.$baseValue = var$11; var$3.$field_111133_g = 1; var$4 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$4 = var$4.$field_111162_d; ju_HashMap_putImpl(var$4.$backingMap, var$3, var$4); } } var$3 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $this.$attributeMap.$attributes; if (var$3 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { b: { var$8 = var$3.$field_111115_a; if (!var$8.$hashCode1) { var$10 = 0; while (true) { if (var$10 >= var$8.$nativeString.length) break b; var$8.$hashCode1 = (31 * var$8.$hashCode1 | 0) + var$8.$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$6 = var$8.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null && !(var$4.$origKeyHash == var$6 && ju_HashMap_areEqualKeys(var$3, var$4.$key))) { var$4 = var$4.$next3; } } var$3 = var$4 === null ? null : var$4.$value1; if (var$3.$field_111133_g) { var$3.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$3); var$3.$field_111133_g = 0; } var$12 = var$3.$field_111139_h; var$3 = $this.$dataWatcher; var$9 = 0.0; var$4 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$8 = $this.$attributeMap.$attributes; if (var$4 === null) var$4 = ju_HashMap_findNullKeyEntry(var$8); else { var$13 = nms_BaseAttribute_hashCode(var$4); var$4 = ju_HashMap_findNonNullKeyEntry(var$8, var$4, var$13 & (var$8.$elementData.data.length - 1 | 0), var$13); } var$4 = var$4 === null ? null : var$4.$value1; if (var$4.$field_111133_g) { var$4.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$4); var$4.$field_111133_g = 0; } var$14 = var$4.$field_111139_h; if (var$12 >= var$9) var$9 = var$12 <= var$14 ? var$12 : var$14; var$4 = new jl_Float; var$4.$value3 = var$9; var$8 = var$3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$6 = var$2.$value0; var$7 = var$8.$elementData.data; var$8 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$6) { var$5 = var$8.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$5 = var$8 === null ? null : var$8.$value1; var$8 = var$5.$watchedObject; if (var$4 === var$8) var$10 = 1; else c: { if (var$8 instanceof jl_Float) { var$9 = var$4.$value3; var$14 = var$8.$value3; if (var$9 !== var$9 ? (var$14 === var$14 ? 0 : 1) : $rt_floatToRawIntBits(var$9) != $rt_floatToRawIntBits(var$14) ? 0 : 1) { var$10 = 1; break c; } } var$10 = 0; } if (!var$10) { var$5.$watchedObject = var$4; var$5.$watched = 1; var$3.$objectChanged = 1; } $this.$experienceValue = $par1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_EntitySlime_getSlimeSize = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; }, nms_EntitySlime_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2 - 1 | 0; var$2 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagInt; $par1NBTTagCompound.$name = $rt_s(1990); $par1NBTTagCompound.$data0 = var$7; ju_HashMap_putImpl(var$2, $rt_s(1990), $par1NBTTagCompound); }, nms_EntitySlime_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NBTTagCompound = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); if ($rt_suspending()) { break main; } var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1990).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1990).$nativeString.length) break a; $rt_s(1990).$hashCode1 = (31 * $rt_s(1990).$hashCode1 | 0) + $rt_s(1990).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1990).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(1990) !== var$6) { if ($rt_s(1990) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1990).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1990) === null) { var$6 = $par1NBTTagCompound.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { c: { if (!$rt_s(1990).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1990).$nativeString.length) break c; $rt_s(1990).$hashCode1 = (31 * $rt_s(1990).$hashCode1 | 0) + $rt_s(1990).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$3 = $rt_s(1990).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$6 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$3) { d: { $par1NBTTagCompound = var$6.$key; if ($rt_s(1990) !== $par1NBTTagCompound) { if ($rt_s(1990) === $par1NBTTagCompound) var$4 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$4 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$4 = $rt_s(1990).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$6 = var$6.$next3; } } var$3 = (var$6 === null ? null : var$6.$value1).$data0; } var$4 = var$3 + 1 | 0; $ptr = 2; case 2: nms_EntitySlime_setSlimeSize($this, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NBTTagCompound, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntitySlime_getSlimeParticle = $this => { return $rt_s(1495); }, nms_EntitySlime_getJumpSound = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; var$1 = var$1.$watchedObject.$value2 <= 1 ? $rt_s(1991) : $rt_s(1992); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1993)); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$6 = var$4.data; var$7 = var$2.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$7); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_EntitySlime_onUpdate = $this => { let var$1, var$2, $var1, var$4, var$5, $var4, $var3, var$8, var$9, var$10, var$11, var$12, $var5, $var7, $var6, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var6 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var1 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj; if (!var$1.$isRemote && !var$1.$difficultySetting) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var1 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var1 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var1) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value2 > 0) $this.$isDead = 1; } $var4 = $this.$squishFactor; $var4 = $var4 + ($this.$squishAmount - $var4) * 0.5; $this.$squishFactor = $var4; $this.$prevSquishFactor = $var4; $var1 = $this.$onGround; $ptr = 1; case 1: a: { nms_EntityLivingBase_onUpdate($this); if ($rt_suspending()) { break main; } if (!$this.$worldObj.$isRemote) { if ($this.$field_110170_bx !== null) { $ptr = 2; continue main; } if ($this.$isLeashed) { var$1 = $this.$leashedToEntity; if (var$1 === null) break a; if (var$1.$isDead) break a; } } $var3 = $this.$onGround; if ($var3 && !$var1) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var1 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var1 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var1) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$8 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; $var3 = 0; $var1 = var$8 * 8 | 0; var$9 = 24; var$10 = var$8; while ($var3 < $var1) { var$1 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$11; $var4 = Long_lo(Long_shru(var$11, var$9)) / 1.6777216E7 * 3.1415927410125732 * 2.0; var$12 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; $var5 = Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7 * 0.5 + 0.5; var$4 = nms_MathHelper_SIN_TABLE.data; $var7 = $var4 * 10430.3779296875; $var6 = var$4[($var7 | 0) & 65535] * var$10 * 0.5 * $var5; $var7 = var$4[($var7 + 16384.0 | 0) & 65535] * var$10 * 0.5 * $var5; var$1 = $this.$worldObj; var$2 = $this.$getSlimeParticle(); var$16 = $this.$posX + $var6; var$17 = $this.$boundingBox.$minY; var$18 = $this.$posZ + $var7; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; var$8 = 0; var$5 = var$1.$worldAccesses; var$22 = $rt_compare(var$8, var$5.$size0); if (var$22 < 0) { if (var$8 >= 0 && var$22 < 0) { var$5 = var$5.$array.data[var$8]; $ptr = 5; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var3 = $var3 + 1 | 0; } if ($this.$makesSoundOnLand()) { var$1 = $this.$getJumpSound(); $var4 = nms_EntitySlime_getSoundVolume($this); var$2 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$12; $var5 = Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$12; $var5 = (($var5 - Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7) * 0.20000000298023224 + 1.0) / 0.800000011920929; nms_World_playSoundAtEntity($this.$worldObj, $this, var$1, $var4, $var5); } $this.$squishAmount = (-0.5); } else if (!$var3 && $var1) $this.$squishAmount = 1.0; $this.$alterSquishAmount(); if (!$this.$worldObj.$isRemote) return; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var1 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var1 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var1) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } $var4 = 0.6000000238418579 * (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; $ptr = 4; continue main; } $var3 = 1; var$8 = 1; $ptr = 3; continue main; case 2: nms_EntityLiving_recreateLeash($this); if ($rt_suspending()) { break main; } a: { if ($this.$isLeashed) { var$1 = $this.$leashedToEntity; if (var$1 === null) break a; if (var$1.$isDead) break a; } $var3 = $this.$onGround; if ($var3 && !$var1) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var1 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var1 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var1) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$8 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; $var3 = 0; $var1 = var$8 * 8 | 0; var$9 = 24; var$10 = var$8; while ($var3 < $var1) { var$1 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$11; $var4 = Long_lo(Long_shru(var$11, var$9)) / 1.6777216E7 * 3.1415927410125732 * 2.0; var$12 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; $var5 = Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7 * 0.5 + 0.5; var$4 = nms_MathHelper_SIN_TABLE.data; $var7 = $var4 * 10430.3779296875; $var6 = var$4[($var7 | 0) & 65535] * var$10 * 0.5 * $var5; $var7 = var$4[($var7 + 16384.0 | 0) & 65535] * var$10 * 0.5 * $var5; var$1 = $this.$worldObj; var$2 = $this.$getSlimeParticle(); var$16 = $this.$posX + $var6; var$17 = $this.$boundingBox.$minY; var$18 = $this.$posZ + $var7; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; var$8 = 0; var$5 = var$1.$worldAccesses; var$22 = $rt_compare(var$8, var$5.$size0); if (var$22 < 0) { if (var$8 >= 0 && var$22 < 0) { var$5 = var$5.$array.data[var$8]; $ptr = 5; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var3 = $var3 + 1 | 0; } if ($this.$makesSoundOnLand()) { var$1 = $this.$getJumpSound(); $var4 = nms_EntitySlime_getSoundVolume($this); var$2 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$12; $var5 = Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$12; $var5 = (($var5 - Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7) * 0.20000000298023224 + 1.0) / 0.800000011920929; nms_World_playSoundAtEntity($this.$worldObj, $this, var$1, $var4, $var5); } $this.$squishAmount = (-0.5); } else if (!$var3 && $var1) $this.$squishAmount = 1.0; $this.$alterSquishAmount(); if (!$this.$worldObj.$isRemote) return; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var1 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var1 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var1) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } $var4 = 0.6000000238418579 * (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; $ptr = 4; continue main; } $var3 = 1; var$8 = 1; $ptr = 3; case 3: nms_EntityLiving_clearLeashed($this, $var3, var$8); if ($rt_suspending()) { break main; } $var3 = $this.$onGround; if ($var3 && !$var1) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var1 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var1 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var1) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$8 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; $var3 = 0; $var1 = var$8 * 8 | 0; var$9 = 24; var$10 = var$8; while ($var3 < $var1) { var$1 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$11; $var4 = Long_lo(Long_shru(var$11, var$9)) / 1.6777216E7 * 3.1415927410125732 * 2.0; var$12 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; $var5 = Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7 * 0.5 + 0.5; var$4 = nms_MathHelper_SIN_TABLE.data; $var7 = $var4 * 10430.3779296875; $var6 = var$4[($var7 | 0) & 65535] * var$10 * 0.5 * $var5; $var7 = var$4[($var7 + 16384.0 | 0) & 65535] * var$10 * 0.5 * $var5; var$1 = $this.$worldObj; var$2 = $this.$getSlimeParticle(); var$16 = $this.$posX + $var6; var$17 = $this.$boundingBox.$minY; var$18 = $this.$posZ + $var7; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; var$8 = 0; var$5 = var$1.$worldAccesses; var$22 = $rt_compare(var$8, var$5.$size0); if (var$22 < 0) { if (var$8 >= 0 && var$22 < 0) { var$5 = var$5.$array.data[var$8]; $ptr = 5; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $var3 = $var3 + 1 | 0; } if ($this.$makesSoundOnLand()) { var$1 = $this.$getJumpSound(); $var4 = nms_EntitySlime_getSoundVolume($this); var$2 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$12; $var5 = Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$12; $var5 = (($var5 - Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7) * 0.20000000298023224 + 1.0) / 0.800000011920929; nms_World_playSoundAtEntity($this.$worldObj, $this, var$1, $var4, $var5); } $this.$squishAmount = (-0.5); } else if (!$var3 && $var1) $this.$squishAmount = 1.0; $this.$alterSquishAmount(); if (!$this.$worldObj.$isRemote) return; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var1 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var1 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var1) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } $var4 = 0.6000000238418579 * (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; $ptr = 4; case 4: nms_Entity_setSize($this, $var4, $var4); if ($rt_suspending()) { break main; } return; case 5: nms_RenderGlobal_doSpawnParticle(var$5, var$2, var$16, var$17, var$18, var$19, var$20, var$21); if ($rt_suspending()) { break main; } var$8 = var$8 + 1 | 0; while (true) { var$5 = var$1.$worldAccesses; var$22 = $rt_compare(var$8, var$5.$size0); if (var$22 < 0) break; $var3 = $var3 + 1 | 0; if ($var3 >= $var1) { if ($this.$makesSoundOnLand()) { var$1 = $this.$getJumpSound(); $var4 = nms_EntitySlime_getSoundVolume($this); var$2 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$12; $var5 = Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$12; $var5 = (($var5 - Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7) * 0.20000000298023224 + 1.0) / 0.800000011920929; nms_World_playSoundAtEntity($this.$worldObj, $this, var$1, $var4, $var5); } $this.$squishAmount = (-0.5); $this.$alterSquishAmount(); if (!$this.$worldObj.$isRemote) return; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var1 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var1 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var1) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } $var4 = 0.6000000238418579 * (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; $ptr = 4; continue main; } var$1 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$11; $var4 = Long_lo(Long_shru(var$11, var$9)) / 1.6777216E7 * 3.1415927410125732 * 2.0; var$12 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$12; $var5 = Long_lo(Long_shru(var$12, var$9)) / 1.6777216E7 * 0.5 + 0.5; var$4 = nms_MathHelper_SIN_TABLE.data; $var7 = $var4 * 10430.3779296875; $var6 = var$4[($var7 | 0) & 65535] * var$10 * 0.5 * $var5; $var7 = var$4[($var7 + 16384.0 | 0) & 65535] * var$10 * 0.5 * $var5; var$1 = $this.$worldObj; var$2 = $this.$getSlimeParticle(); var$16 = $this.$posX + $var6; var$17 = $this.$boundingBox.$minY; var$18 = $this.$posZ + $var7; var$19 = 0.0; var$20 = 0.0; var$21 = 0.0; var$8 = 0; } if (var$8 >= 0 && var$22 < 0) { var$5 = var$5.$array.data[var$8]; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $var1, var$4, var$5, $var4, $var3, var$8, var$9, var$10, var$11, var$12, $var5, $var7, $var6, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr); }, nms_EntitySlime_updateEntityActionState = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLiving_despawnEntity($this); if ($rt_suspending()) { break main; } $var1 = nms_World_getClosestVulnerablePlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 16.0); if ($var1 !== null) nms_EntityLiving_faceEntity($this, $var1, 10.0, 20.0); a: { b: { var$2 = $this.$onGround; if (var$2) { var$3 = $this.$slimeJumpDelay; $this.$slimeJumpDelay = var$3 - 1 | 0; if (var$3 <= 0) break b; } $this.$isJumping = 0; if (!var$2) break a; $this.$moveForward = 0.0; $this.$moveStrafing = 0.0; break a; } var$2 = $this.$getJumpDelay(); $this.$slimeJumpDelay = var$2; if ($var1 !== null) $this.$slimeJumpDelay = var$2 / 3 | 0; $this.$isJumping = 1; if (nms_EntitySlime_makesSoundOnJump($this)) { $var1 = $this.$getJumpSound(); var$4 = nms_EntitySlime_getSoundVolume($this); var$5 = $this.$rand; var$6 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 24)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = ((var$7 - Long_lo(Long_shru(var$6, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0) * 0.800000011920929; nms_World_playSoundAtEntity($this.$worldObj, $this, $var1, var$4, var$7); } $var1 = $this.$rand; var$6 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$6; $this.$moveStrafing = 1.0 - Long_lo(Long_shru(var$6, 24)) / 1.6777216E7 * 2.0; $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$3 = var$5.$value0; var$8 = $var1.$elementData.data; $var1 = var$8[var$3 & (var$8.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$3) { var$9 = $var1.$key; if (var$5 !== var$9 && !(var$5 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $var1 = $var1.$next3; } } $this.$moveForward = 1 * ($var1 === null ? null : $var1.$value1).$watchedObject.$value2 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_EntitySlime_alterSquishAmount = $this => { $this.$squishAmount = $this.$squishAmount * 0.6000000238418579; }, nms_EntitySlime_getJumpDelay = $this => { let var$1, var$2, var$3, var$4; var$1 = $this.$rand; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { var$4 = var$3 % 20 | 0; if (((var$3 - var$4 | 0) + 19 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } return var$4 + 10 | 0; }, nms_EntitySlime_createInstance = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = new nms_EntitySlime; nms_EntityLiving__init_(var$1, $this.$worldObj); var$2 = var$1.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 3 | 0; if (((var$4 - var$5 | 0) + 2 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } var$6 = 1 << var$5; var$1.$yOffset = 0.0; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 20 | 0; if (((var$4 - var$5 | 0) + 19 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } var$1.$slimeJumpDelay = var$5 + 10 | 0; $ptr = 1; case 1: nms_EntitySlime_setSlimeSize(var$1, var$6); if ($rt_suspending()) { break main; } return var$1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntitySlime_setDead = $this => { let $var6, var$2, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $var3, var$12, var$13, $var4, $var5, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var3 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$var6 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { $var2 = var$2.$value0; var$4 = $var6.$elementData.data; $var6 = var$4[$var2 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == $var2) { var$5 = $var6.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var2 ? 1 : 0) ? 0 : 1) break; } $var6 = $var6.$next3; } } var$6 = ($var6 === null ? null : $var6.$value1).$watchedObject.$value2; if (!$this.$worldObj.$isRemote && var$6 > 1) { $var6 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[134]; if (var$5 === null) { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { var$7 = var$5.$value0; var$4 = $var6.$elementData.data; $var6 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$7) { var$2 = $var6.$key; if (var$5 !== var$2 && !(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $var6 = $var6.$next3; } } if (($var6 === null ? null : $var6.$value1).$watchedObject.$value3 <= 0.0) { $var6 = $this.$rand; var$8 = Long_and(Long_add(Long_mul($var6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 17)); while (true) { var$10 = var$9 % 3 | 0; if (((var$9 - var$10 | 0) + 2 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul($var6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 17)); } $var2 = 2 + var$10 | 0; $var3 = 0; var$12 = var$6; var$13 = 24; if ($var3 < $var2) { $var4 = (($var3 % 2 | 0) - 0.5) * var$12 / 4.0; $var5 = (($var3 / 2 | 0) - 0.5) * var$12 / 4.0; $ptr = 1; continue main; } } } $this.$isDead = 1; return; case 1: $tmp = $this.$createInstance(); if ($rt_suspending()) { break main; } $var6 = $tmp; var$7 = var$6 / 2 | 0; $ptr = 2; case 2: nms_EntitySlime_setSlimeSize($var6, var$7); if ($rt_suspending()) { break main; } var$16 = $this.$posX + $var4; var$17 = $this.$posY + 0.5; var$18 = $this.$posZ + $var5; var$2 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$8; $var5 = Long_lo(Long_shru(var$8, var$13)) / 1.6777216E7 * 360.0; $var6.$posX = var$16; $var6.$prevPosX = var$16; $var6.$lastTickPosX = var$16; var$17 = var$17 + $var6.$yOffset; $var6.$posY = var$17; $var6.$prevPosY = var$17; $var6.$lastTickPosY = var$17; $var6.$posZ = var$18; $var6.$prevPosZ = var$18; $var6.$lastTickPosZ = var$18; $var6.$rotationYaw = $var5; $var6.$rotationPitch = 0.0; nms_Entity_setPosition($var6, var$16, var$17, var$18); var$2 = $this.$worldObj; var$7 = nms_World_spawnEntityInWorld(var$2, $var6); var$5 = var$2.$entityList; ju_HashMap_putImpl(var$5.$backingMap, $var6, var$5); if (!var$7) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, $var6, var$2); } $var3 = $var3 + 1 | 0; if ($var3 >= $var2) { $this.$isDead = 1; return; } $var4 = (($var3 % 2 | 0) - 0.5) * var$12 / 4.0; $var5 = (($var3 / 2 | 0) - 0.5) * var$12 / 4.0; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var6, var$2, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $var3, var$12, var$13, $var4, $var5, var$16, var$17, var$18, $ptr); }, nms_EntitySlime_onCollideWithPlayer = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$canDamagePlayer()) return; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; $ptr = 1; case 1: $tmp = nms_EntityLivingBase_canEntityBeSeen($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } var$4 = $tmp; if (var$4) { var$8 = $this.$posX - $par1EntityPlayer.$posX; var$9 = $this.$posY - $par1EntityPlayer.$posY; var$10 = $this.$posZ - $par1EntityPlayer.$posZ; var$11 = var$8 * var$8 + var$9 * var$9 + var$10 * var$10; var$9 = var$7; if (var$11 < 0.6 * var$9 * 0.6 * var$9) $this.$getAttackStrength(); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntitySlime_canDamagePlayer = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$value2 <= 1 ? 0 : 1; }, nms_EntitySlime_getAttackStrength = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; }, nms_EntitySlime_getHurtSound = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; var$1 = var$1.$watchedObject.$value2 <= 1 ? $rt_s(1991) : $rt_s(1992); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1993)); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$6 = var$4.data; var$7 = var$2.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$7); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_EntitySlime_getDeathSound = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; var$1 = var$1.$watchedObject.$value2 <= 1 ? $rt_s(1991) : $rt_s(1992); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1993)); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$6 = var$4.data; var$7 = var$2.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$7); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_EntitySlime_getDropItemId = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (var$1.$watchedObject.$value2 != 1) var$3 = 0; else { nms_Item_$callClinit(); var$3 = nms_Item_slimeBall.$itemID0; } return var$3; }, nms_EntitySlime_getCanSpawnHere = $this => { let $var2, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$worldObj; var$2 = $this.$posX; var$3 = var$2 | 0; if (var$2 < var$3) var$3 = var$3 - 1 | 0; var$2 = $this.$posZ; var$4 = var$2 | 0; if (var$2 < var$4) var$4 = var$4 - 1 | 0; var$5 = var$3 >> 4; var$3 = var$4 >> 4; var$6 = $var2.$chunkProvider; var$7 = var$6.$chunkMapping; var$8 = Long_or(Long_and(Long_fromInt(var$5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$3), Long_create(4294967295, 0)), 32)); var$5 = Long_lo(Long_xor(var$8, Long_shru(var$8, 32))); var$5 = var$5 ^ (var$5 >>> 20 | 0) ^ (var$5 >>> 12 | 0); var$4 = var$5 ^ (var$5 >>> 7 | 0) ^ (var$5 >>> 4 | 0); var$9 = var$7.$hashArray.data; var$7 = var$9[var$4 & (var$9.length - 1 | 0)]; a: { while (var$7 !== null) { if (Long_eq(var$7.$key1, var$8)) { var$7 = var$7.$value6; break a; } var$7 = var$7.$nextEntry0; } var$7 = null; } var$7 = var$7; if (var$7 === null) var$7 = var$6.$blankChunk; if ($var2.$worldInfo.$terrainType === nms_WorldType_FLAT) { $var2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; if (Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$10, 17)))), 31)) != 1) return 0; } $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[144]; if (var$11 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$4 = var$11.$value0; var$9 = $var2.$elementData.data; $var2 = var$9[var$4 & (var$9.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$6 = $var2.$key; if (var$11 !== var$6 && !(var$11 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if (!($var2.$watchedObject.$value2 != 1 && $this.$worldObj.$difficultySetting <= 0)) { $var2 = $this.$worldObj; var$2 = $this.$posX; var$12 = var$2 | 0; if (var$2 < var$12) var$12 = var$12 - 1 | 0; var$2 = $this.$posZ; var$13 = var$2 | 0; if (var$2 < var$13) var$13 = var$13 - 1 | 0; var$3 = var$12 >> 4; var$5 = var$13 >> 4; var$6 = $var2.$chunkProvider; var$11 = var$6.$chunkMapping; var$8 = Long_or(Long_and(Long_fromInt(var$3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$5), Long_create(4294967295, 0)), 32)); var$5 = Long_lo(Long_xor(var$8, Long_shru(var$8, 32))); var$5 = var$5 ^ (var$5 >>> 20 | 0) ^ (var$5 >>> 12 | 0); var$4 = var$5 ^ (var$5 >>> 7 | 0) ^ (var$5 >>> 4 | 0); var$9 = var$11.$hashArray.data; var$11 = var$9[var$4 & (var$9.length - 1 | 0)]; b: { while (var$11 !== null) { if (Long_eq(var$11.$key1, var$8)) { var$11 = var$11.$value6; break b; } var$11 = var$11.$nextEntry0; } var$11 = null; } var$11 = var$11; if (var$11 === null) var$11 = var$6.$blankChunk; $var2 = var$11 === null ? $var2.$provider.$worldChunkMgr.$getBiomeGenAt(var$12, var$13) : nms_Chunk_getBiomeGenForWorldCoords(var$11, var$12 & 15, var$13 & 15, $var2.$provider.$worldChunkMgr); nms_BiomeGenBase_$callClinit(); if ($var2 === nms_BiomeGenBase_swampland) { var$2 = $this.$posY; if (var$2 > 50.0 && var$2 < 70.0) { $var2 = $this.$rand; var$8 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$8; if (Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 < 0.5) { var$10 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; var$14 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7; $var2 = $this.$worldObj; if (var$14 < nms_WorldProvider_moonPhaseFactors.data[Long_lo(Long_div($var2.$worldInfo.$worldTime, Long_fromInt(24000))) % 8 | 0]) { var$15 = $this.$posX; var$13 = var$15 | 0; if (var$15 < var$13) var$13 = var$13 - 1 | 0; var$4 = var$2 | 0; if (var$2 < var$4) var$4 = var$4 - 1 | 0; var$2 = $this.$posZ; var$3 = var$2 | 0; if (var$2 < var$3) var$3 = var$3 - 1 | 0; var$3 = nms_World_getBlockLightValue_do($var2, var$13, var$4, var$3, 1); $var2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; if (var$3 <= Long_lo(Long_shr(Long_mul(Long_fromInt(8), Long_fromInt(Long_lo(Long_shru(var$10, 17)))), 31))) { if (!nms_World_checkNoEntityCollision($this.$worldObj, $this.$boundingBox, null)) return 0; $var2 = $this.$worldObj; var$6 = $this.$boundingBox; $ptr = 2; continue main; } } } } } $var2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; var$3 = Long_lo(Long_shru(var$10, 17)); while (true) { var$4 = var$3 % 10 | 0; if (((var$3 - var$4 | 0) + 9 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; var$3 = Long_lo(Long_shru(var$10, 17)); } if (!var$4) { $var2 = var$7.$getRandomWithSeed(Long_fromInt(987234911)); var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; var$3 = Long_lo(Long_shru(var$10, 17)); while (true) { var$4 = var$3 % 10 | 0; if (((var$3 - var$4 | 0) + 9 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$10; var$3 = Long_lo(Long_shru(var$10, 17)); } if (!var$4 && $this.$posY < 40.0) { if (!nms_World_checkNoEntityCollision($this.$worldObj, $this.$boundingBox, null)) return 0; $var2 = $this.$worldObj; var$6 = $this.$boundingBox; $ptr = 1; continue main; } } } return 0; case 1: $tmp = nms_World_getCollidingBoundingBoxes($var2, $this, var$6); if ($rt_suspending()) { break main; } $var2 = $tmp; var$5 = $var2.$size0 ? 0 : 1; return var$5 && !nms_World_isAnyLiquid($this.$worldObj, $this.$boundingBox) ? 1 : 0; case 2: $tmp = nms_World_getCollidingBoundingBoxes($var2, $this, var$6); if ($rt_suspending()) { break main; } $var2 = $tmp; var$5 = $var2.$size0 ? 0 : 1; return var$5 && !nms_World_isAnyLiquid($this.$worldObj, $this.$boundingBox) ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_EntitySlime_getSoundVolume = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return 0.4000000059604645 * (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; }, nms_EntitySlime_getVerticalFaceSpeed = $this => { return 0; }, nms_EntitySlime_makesSoundOnJump = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$value2 <= 0 ? 0 : 1; }, nms_EntitySlime_makesSoundOnLand = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$value2 <= 2 ? 0 : 1; }; function nms_RenderSlime() { nms_RenderLiving.call(this); this.$scaleAmount = null; } let nms_RenderSlime_slimeTextures = null, nms_RenderSlime_$callClinit = () => { nms_RenderSlime_$callClinit = $rt_eraseClinit(nms_RenderSlime); nms_RenderSlime__clinit_(); }, nms_RenderSlime_shouldSlimeRenderPass = ($this, $par1EntitySlime, $par2, $par3) => { let var$4, var$5, var$6, var$7; $par1EntitySlime = $par1EntitySlime.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[128]; if (var$4 === null) { $par1EntitySlime = $par1EntitySlime.$elementData.data[0]; while ($par1EntitySlime !== null && $par1EntitySlime.$key !== null) { $par1EntitySlime = $par1EntitySlime.$next3; } } else { var$5 = var$4.$value0; var$6 = $par1EntitySlime.$elementData.data; $par1EntitySlime = var$6[var$5 & (var$6.length - 1 | 0)]; while ($par1EntitySlime !== null) { if ($par1EntitySlime.$origKeyHash == var$5) { var$7 = $par1EntitySlime.$key; if (var$4 !== var$7 && !jl_Integer_equals(var$4, var$7) ? 0 : 1) break; } $par1EntitySlime = $par1EntitySlime.$next3; } } $par1EntitySlime = $par1EntitySlime === null ? null : $par1EntitySlime.$value1; if (!($par1EntitySlime.$watchedObject.$value2 & 32) ? 0 : 1) return 0; if (!$par2) { $this.$renderPassModel = $this.$scaleAmount; nleg_EaglerAdapterGL30_glEnable(2977); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); return 1; } if ($par2 == 1) { nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; } return (-1); }, nms_RenderSlime_scaleSlime = ($this, $par1EntitySlime, $par2) => { let var$3, var$4, var$5, var$6, var$7, $var3, $var4, $var5; var$3 = $par1EntitySlime.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } $var3 = (var$3 === null ? null : var$3.$value1).$watchedObject.$value2; $var4 = $par1EntitySlime.$prevSquishFactor; $var5 = 1.0 / (($var4 + ($par1EntitySlime.$squishFactor - $var4) * $par2) / ($var3 * 0.5 + 1.0) + 1.0); $par2 = $var5 * $var3; $var3 = 1.0 / $var5 * $var3; nleg_EaglerAdapterGL30_$callClinit(); $par1EntitySlime = nleg_EaglerAdapterGL30_deevis; $par1EntitySlime.$x = $par2; $par1EntitySlime.$y = $var3; $par1EntitySlime.$z = $par2; $par1EntitySlime = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntitySlime, $par1EntitySlime); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntitySlime = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntitySlime); $par1EntitySlime.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3, 16); $par1EntitySlime.$sb = var$3; $par1EntitySlime.$buffer0 = $rt_createCharArray(32); $par1EntitySlime.$autoFlush = 0; $par1EntitySlime.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntitySlime; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RenderSlime_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { nms_RenderSlime_scaleSlime($this, $par1EntityLivingBase, $par2); }, nms_RenderSlime_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderSlime_$callClinit(); $par1EntityLiving = nms_RenderSlime_slimeTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderSlime_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { return nms_RenderSlime_shouldSlimeRenderPass($this, $par1EntityLivingBase, $par2, $par3); }, nms_RenderSlime_getEntityTexture = ($this, $par1Entity) => { nms_RenderSlime_$callClinit(); return nms_RenderSlime_slimeTextures; }, nms_RenderSlime__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1994); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderSlime_slimeTextures = var$1; }; function nms_ModelSlime() { let a = this; nms_ModelBase.call(a); a.$slimeBodies = null; a.$slimeRightEye = null; a.$slimeLeftEye = null; a.$slimeMouth = null; } let nms_ModelSlime__init_0 = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$2; $this.$isChild0 = 1; var$2 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$4.data; var$2.$elementData = var$4; var$2.$loadFactor = 0.75; var$2.$threshold = var$5.length * 0.75 | 0; $this.$modelTextureMap = var$2; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$9; var$2.$textureHeight = var$8; var$2.$textureOffsetX = 0; var$2.$textureOffsetY = $par1; $this.$slimeBodies = var$2; var$7 = var$2.$cubeList; var$6 = nms_ModelBox__init_(var$2, 0, $par1, (-4.0), 16.0, (-4.0), 8, 8, 8, 0.0); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$9 = var$7.$size0; var$7.$size0 = var$9 + 1 | 0; var$5[var$9] = var$6; var$7.$modCount = var$7.$modCount + 1 | 0; if ($par1 > 0) { var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$9; var$2.$textureHeight = var$8; var$2.$textureOffsetX = 0; var$2.$textureOffsetY = $par1; $this.$slimeBodies = var$2; var$6 = var$2.$cubeList; var$7 = nms_ModelBox__init_(var$2, 0, $par1, (-3.0), 17.0, (-3.0), 6, 6, 6, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$5 = var$6.$array.data; var$3 = var$6.$size0; var$6.$size0 = var$3 + 1 | 0; var$5[var$3] = var$7; var$6.$modCount = var$6.$modCount + 1 | 0; var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$9; var$2.$textureHeight = var$8; var$2.$textureOffsetX = 32; var$2.$textureOffsetY = 0; $this.$slimeRightEye = var$2; var$7 = var$2.$cubeList; var$6 = nms_ModelBox__init_(var$2, 32, 0, (-3.25), 18.0, (-3.5), 2, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$3 = var$7.$size0; var$7.$size0 = var$3 + 1 | 0; var$5[var$3] = var$6; var$7.$modCount = var$7.$modCount + 1 | 0; var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$9; var$2.$textureHeight = var$8; var$2.$textureOffsetX = 32; var$2.$textureOffsetY = 4; $this.$slimeLeftEye = var$2; var$7 = var$2.$cubeList; var$6 = nms_ModelBox__init_(var$2, 32, 4, 1.25, 18.0, (-3.5), 2, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$3 = var$7.$size0; var$7.$size0 = var$3 + 1 | 0; var$5[var$3] = var$6; var$7.$modCount = var$7.$modCount + 1 | 0; var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$9; var$2.$textureHeight = var$8; var$2.$textureOffsetX = 32; var$2.$textureOffsetY = 8; $this.$slimeMouth = var$2; var$7 = var$2.$cubeList; var$6 = nms_ModelBox__init_(var$2, 32, 8, 0.0, 21.0, (-3.5), 1, 1, 1, 0.0); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$3 = var$7.$size0; var$7.$size0 = var$3 + 1 | 0; var$5[var$3] = var$6; var$7.$modCount = var$7.$modCount + 1 | 0; } }, nms_ModelSlime__init_ = var_0 => { let var_1 = new nms_ModelSlime(); nms_ModelSlime__init_0(var_1, var_0); return var_1; }, nms_ModelSlime_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { nms_ModelRenderer_render($this.$slimeBodies, $par7); $par1Entity = $this.$slimeRightEye; if ($par1Entity !== null) { nms_ModelRenderer_render($par1Entity, $par7); nms_ModelRenderer_render($this.$slimeLeftEye, $par7); nms_ModelRenderer_render($this.$slimeMouth, $par7); } }, nms_EntityMagmaCube = $rt_classWithoutFields(nms_EntitySlime), nms_EntityMagmaCube_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) var$1 = ju_HashMap_findNullKeyEntry(var$2); else { var$3 = nms_BaseAttribute_hashCode(var$1); var$1 = ju_HashMap_findNonNullKeyEntry(var$2, var$1, var$3 & (var$2.$elementData.data.length - 1 | 0), var$3); } var$4 = var$1 === null ? null : var$1.$value1; if (0.10000000149011612 !== var$4.$baseValue) { var$4.$baseValue = 0.10000000149011612; var$4.$field_111133_g = 1; var$1 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$4, var$1); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$4 = var$1.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { var$4 = var$2.$key; if (var$1 !== var$4 && !jl_Object_equals(var$1, var$4) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.20000000298023224 !== var$1.$baseValue) { var$1.$baseValue = 0.20000000298023224; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityMagmaCube_getCanSpawnHere = $this => { let var$1, var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj; if (var$1.$difficultySetting > 0 && nms_World_checkNoEntityCollision(var$1, $this.$boundingBox, null)) { var$1 = $this.$worldObj; var$2 = $this.$boundingBox; $ptr = 1; continue main; } return 0; case 1: $tmp = nms_World_getCollidingBoundingBoxes(var$1, $this, var$2); if ($rt_suspending()) { break main; } var$1 = $tmp; var$3 = var$1.$size0 ? 0 : 1; return var$3 && !nms_World_isAnyLiquid($this.$worldObj, $this.$boundingBox) ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); }, nms_EntityMagmaCube_getTotalArmorValue = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject.$value2 * 3 | 0; }, nms_EntityMagmaCube_getBrightnessForRender = ($this, $par1) => { return 15728880; }, nms_EntityMagmaCube_getBrightness = ($this, $par1) => { return 1.0; }, nms_EntityMagmaCube_getSlimeParticle = $this => { return $rt_s(1485); }, nms_EntityMagmaCube_createInstance = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = new nms_EntityMagmaCube; nms_EntityLiving__init_(var$1, $this.$worldObj); var$2 = var$1.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 3 | 0; if (((var$4 - var$5 | 0) + 2 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } var$6 = 1 << var$5; var$1.$yOffset = 0.0; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 20 | 0; if (((var$4 - var$5 | 0) + 19 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } var$1.$slimeJumpDelay = var$5 + 10 | 0; $ptr = 1; case 1: nms_EntitySlime_setSlimeSize(var$1, var$6); if ($rt_suspending()) { break main; } var$1.$isImmuneToFire = 1; return var$1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntityMagmaCube_getDropItemId = $this => { nms_Item_$callClinit(); return nms_Item_magmaCream.$itemID0; }, nms_EntityMagmaCube_dropFewItems = ($this, $par1, $par2) => { let $var3, var$4, var$5, $var5, var$7, var$8, var$9, $var4, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var4 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Item_$callClinit(); $var3 = nms_Item_magmaCream.$itemID0; if ($var3 > 0) { var$4 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { $var5 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[$var5 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var5) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == $var5 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } if ((var$4 === null ? null : var$4.$value1).$watchedObject.$value2 > 1) { var$4 = $this.$rand; var$9 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$9; $var4 = Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$9, 17)))), 31)) - 2 | 0; if ($par2 > 0) { var$11 = $par2 + 1 | 0; var$12 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; $var5 = Long_lo(Long_shru(var$12, 17)); $par1 = var$11 - 1 | 0; if (!(var$11 & $par1)) $par2 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$11), Long_fromInt($var5)), 31)); else while (true) { $par2 = $var5 % var$11 | 0; if ((($var5 - $par2 | 0) + $par1 | 0) >= 0) break; var$12 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; $var5 = Long_lo(Long_shru(var$12, 17)); } $var4 = $var4 + $par2 | 0; } $var5 = 0; var$13 = 0.0; $par2 = 138; if ($var5 < $var4) { var$14 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$14.$itemID = $var3; var$14.$stackSize = 1; var$14.$itemDamage = 0; var$15 = new nms_EntityItem; var$4 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$13; var$18 = $this.$posZ; $ptr = 1; continue main; } } } return; case 1: nms_EntityItem__init_(var$15, var$4, var$16, var$17, var$18); if ($rt_suspending()) { break main; } var$5 = var$15.$dataWatcher; var$4 = var$5.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = ju_HashMap_entryByKey(var$4, jl_Integer_integerCache.data[$par2]); var$8 = var$4 === null ? null : var$4.$value1; if (!(var$14 !== var$8.$watchedObject ? 0 : 1)) { var$8.$watchedObject = var$14; var$8.$watched = 1; var$5.$objectChanged = 1; } var$5 = var$15.$dataWatcher; var$4 = var$5.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = ju_HashMap_entryByKey(var$4, jl_Integer_integerCache.data[$par2]); (var$4 === null ? null : var$4.$value1).$watched = 1; var$5.$objectChanged = 1; var$15.$delayBeforeCanPickup = 10; var$4 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$4, var$15); var$8 = var$4.$entityList; ju_HashMap_putImpl(var$8.$backingMap, var$15, var$8); if (!$par1) { var$4 = var$4.$entitySpawnQueue; ju_HashMap_putImpl(var$4.$backingMap, var$15, var$4); } $var5 = $var5 + 1 | 0; if ($var5 >= $var4) return; var$14 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$14.$itemID = $var3; var$14.$stackSize = 1; var$14.$itemDamage = 0; var$15 = new nms_EntityItem; var$4 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$13; var$18 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, var$5, $var5, var$7, var$8, var$9, $var4, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityMagmaCube_isBurning = $this => { return 0; }, nms_EntityMagmaCube_getJumpDelay = $this => { let var$1, var$2, var$3, var$4; var$1 = $this.$rand; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { var$4 = var$3 % 20 | 0; if (((var$3 - var$4 | 0) + 19 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } return (var$4 + 10 | 0) * 4 | 0; }, nms_EntityMagmaCube_alterSquishAmount = $this => { $this.$squishAmount = $this.$squishAmount * 0.8999999761581421; }, nms_EntityMagmaCube_jump = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } $this.$motionY = 0.41999998688697815 + (var$1 === null ? null : var$1.$value1).$watchedObject.$value2 * 0.10000000149011612; $this.$isAirBorne = 1; }, nms_EntityMagmaCube_fall = ($this, $par1) => { return; }, nms_EntityMagmaCube_canDamagePlayer = $this => { return 1; }, nms_EntityMagmaCube_getAttackStrength = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject.$value2 + 2 | 0; }, nms_EntityMagmaCube_getHurtSound = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; var$1 = var$1.$watchedObject.$value2 <= 1 ? $rt_s(1991) : $rt_s(1992); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1993)); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$6 = var$4.data; var$7 = var$2.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$7); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_EntityMagmaCube_getDeathSound = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; var$1 = var$1.$watchedObject.$value2 <= 1 ? $rt_s(1991) : $rt_s(1992); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1993)); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$6 = var$4.data; var$7 = var$2.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$7); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_EntityMagmaCube_getJumpSound = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$value2 <= 1 ? $rt_s(1995) : $rt_s(1996); }, nms_EntityMagmaCube_handleLavaMovement = $this => { return 0; }, nms_EntityMagmaCube_makesSoundOnLand = $this => { return 1; }, nms_RenderMagmaCube = $rt_classWithoutFields(nms_RenderLiving), nms_RenderMagmaCube_magmaCubeTextures = null, nms_RenderMagmaCube_$callClinit = () => { nms_RenderMagmaCube_$callClinit = $rt_eraseClinit(nms_RenderMagmaCube); nms_RenderMagmaCube__clinit_(); }, nms_RenderMagmaCube__init_ = $this => { let var$1, var$2; nms_RenderMagmaCube_$callClinit(); var$1 = nms_ModelMagmaCube__init_(); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.25; }, nms_RenderMagmaCube__init_0 = () => { let var_0 = new nms_RenderMagmaCube(); nms_RenderMagmaCube__init_(var_0); return var_0; }, nms_RenderMagmaCube_scaleMagmaCube = ($this, $par1EntityMagmaCube, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var5; var$3 = $par1EntityMagmaCube.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$8 = (var$3 === null ? null : var$3.$value1).$watchedObject.$value2; var$9 = $par1EntityMagmaCube.$prevSquishFactor; $par2 = var$9 + ($par1EntityMagmaCube.$squishFactor - var$9) * $par2; var$9 = var$8; $var5 = 1.0 / ($par2 / (var$9 * 0.5 + 1.0) + 1.0); $par2 = $var5 * var$9; var$9 = 1.0 / $var5 * var$9; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityMagmaCube = nleg_EaglerAdapterGL30_deevis; $par1EntityMagmaCube.$x = $par2; $par1EntityMagmaCube.$y = var$9; $par1EntityMagmaCube.$z = $par2; $par1EntityMagmaCube = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityMagmaCube, $par1EntityMagmaCube); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityMagmaCube = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityMagmaCube); $par1EntityMagmaCube.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3, 16); $par1EntityMagmaCube.$sb = var$3; $par1EntityMagmaCube.$buffer0 = $rt_createCharArray(32); $par1EntityMagmaCube.$autoFlush = 0; $par1EntityMagmaCube.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityMagmaCube; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RenderMagmaCube_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderMagmaCube_$callClinit(); $par1EntityLiving = nms_RenderMagmaCube_magmaCubeTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderMagmaCube_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { nms_RenderMagmaCube_scaleMagmaCube($this, $par1EntityLivingBase, $par2); }, nms_RenderMagmaCube_getEntityTexture = ($this, $par1Entity) => { nms_RenderMagmaCube_$callClinit(); return nms_RenderMagmaCube_magmaCubeTextures; }, nms_RenderMagmaCube__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1997); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderMagmaCube_magmaCubeTextures = var$1; }; function nms_RenderPlayer() { let a = this; nms_RendererLivingEntity.call(a); a.$modelBipedMain = null; a.$modelArmorChestplate = null; a.$modelArmor = null; a.$modelBipedMainNewSkin = null; a.$modelBipedMainNewSkinSlim = null; } let nms_RenderPlayer_steveTextures = null, nms_RenderPlayer_entityTexture = null, nms_RenderPlayer_$callClinit = () => { nms_RenderPlayer_$callClinit = $rt_eraseClinit(nms_RenderPlayer); nms_RenderPlayer__clinit_(); }, nms_RenderPlayer__init_ = $this => { let var$1, var$2; nms_RenderPlayer_$callClinit(); var$1 = nms_ModelBiped__init_0(0.0, 0.0, 64, 32); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.5; $this.$modelBipedMain = var$1; $this.$modelBipedMainNewSkin = nle_ModelBipedNewSkins__init_(0.0, 0); $this.$modelBipedMainNewSkinSlim = nle_ModelBipedNewSkins__init_(0.0, 1); $this.$modelArmorChestplate = nms_ModelBiped__init_0(1.0, 0.0, 64, 32); $this.$modelArmor = nms_ModelBiped__init_0(0.5, 0.0, 64, 32); }, nms_RenderPlayer__init_0 = () => { let var_0 = new nms_RenderPlayer(); nms_RenderPlayer__init_(var_0); return var_0; }, nms_RenderPlayer_setArmorModel = ($this, $par1AbstractClientPlayer, $par2, $par3) => { let $var9, $var4, $var5, $var6, $var7, var$9, var$10, $var10, $var11, $var12, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var9 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1AbstractClientPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1AbstractClientPlayer = $par1AbstractClientPlayer.$inventory; $var9 = 3 - $par2 | 0; $var4 = $par1AbstractClientPlayer.$armorInventory.data[$var9]; if ($var4 !== null) { nms_Item_$callClinit(); $var5 = nms_Item_itemsList.data[$var4.$itemID]; if ($var5 instanceof nms_ItemArmor) { $var6 = $var5; $par1AbstractClientPlayer = nms_RenderBiped_func_110858_a($var6, $par2, null); $ptr = 1; continue main; } } return (-1); case 1: nle_TextureLocation_bindTexture($par1AbstractClientPlayer); if ($rt_suspending()) { break main; } $var9 = $rt_compare($par2, 2); $var7 = $var9 ? $this.$modelArmorChestplate : $this.$modelArmor; $var7.$bipedHead.$showModel = $par2 ? 0 : 1; $var7.$bipedHeadwear.$showModel = $par2 ? 0 : 1; $par1AbstractClientPlayer = $var7.$bipedBody; var$9 = $rt_compare($par2, 1); $par1AbstractClientPlayer.$showModel = var$9 && $var9 ? 0 : 1; $var7.$bipedRightArm.$showModel = var$9 ? 0 : 1; $var7.$bipedLeftArm.$showModel = var$9 ? 0 : 1; $var7.$bipedRightLeg.$showModel = $var9 && $par2 != 3 ? 0 : 1; $var7.$bipedLeftLeg.$showModel = $var9 && $par2 != 3 ? 0 : 1; $this.$renderPassModel = $var7; $par1AbstractClientPlayer = $this.$mainModel; $var7.$onGround1 = $par1AbstractClientPlayer.$onGround1; $var7.$isRiding0 = $par1AbstractClientPlayer.$isRiding0; $var7.$isChild0 = $par1AbstractClientPlayer.$isChild0; if ($var6.$material !== nms_EnumArmorMaterial_CLOTH) { a: { nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $var4.$stackTagCompound; if ($var6 !== null) { b: { $var6 = $var6.$tagMap; if (!$rt_s(1734).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1734).$nativeString.length) break b; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } var$9 = $rt_s(1734).$hashCode1; var$10 = $var6.$elementData.data; $var6 = var$10[var$9 & (var$10.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { c: { $var7 = $var6.$key; if ($rt_s(1734) !== $var7) { if ($rt_s(1734) === $var7) $par2 = 1; else if (!($var7 instanceof jl_String)) $par2 = 0; else { $var7 = $var7; $par2 = $rt_s(1734).$nativeString !== $var7.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break c; } } $par2 = 1; } if ($par2) break; } $var6 = $var6.$next3; } if ($var6 === null ? 0 : 1) { $par2 = 1; break a; } } $par2 = 0; } if (!$par2) return 1; return 15; } d: { $var9 = nms_ItemArmor_getColor($var6, $var4); $var10 = ($var9 >> 16 & 255) / 255.0; $var11 = ($var9 >> 8 & 255) / 255.0; $var12 = ($var9 & 255) / 255.0; $par3 = 1.0 * $var10; $var10 = 1.0 * $var11; $var8 = 1.0 * $var12; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par3; nleg_EaglerAdapterGL30_colorG = $var10; nleg_EaglerAdapterGL30_colorB = $var8; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $var4.$stackTagCompound; if ($var6 !== null) { e: { $var6 = $var6.$tagMap; if (!$rt_s(1734).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1734).$nativeString.length) break e; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } var$9 = $rt_s(1734).$hashCode1; var$10 = $var6.$elementData.data; $var6 = var$10[var$9 & (var$10.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { f: { $var7 = $var6.$key; if ($rt_s(1734) !== $var7) { if ($rt_s(1734) === $var7) $par2 = 1; else if (!($var7 instanceof jl_String)) $par2 = 0; else { $var7 = $var7; $par2 = $rt_s(1734).$nativeString !== $var7.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break f; } } $par2 = 1; } if ($par2) break; } $var6 = $var6.$next3; } if ($var6 === null ? 0 : 1) { $par2 = 1; break d; } } $par2 = 0; } if (!$par2) return 16; return 31; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1AbstractClientPlayer, $par2, $par3, $var9, $var4, $var5, $var6, $var7, var$9, var$10, $var10, $var11, $var12, $var8, $ptr); }, nms_RenderPlayer_renderPlayer = ($this, $par1EntityPlayer, $par2, $par4, $par6, $par8, $par9) => { let $renderType, var$8, $var14, $var12, $var11, var$12, $md, var$14, var$15, $skinLayersByte, $var10, $var13, $var11_0, $var12_0, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var12_0 = $thread.pop();$var11_0 = $thread.pop();$var13 = $thread.pop();$var10 = $thread.pop();$skinLayersByte = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$md = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$var12 = $thread.pop();$var14 = $thread.pop();var$8 = $thread.pop();$renderType = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1EntityPlayer instanceof nms_EntityOtherPlayerMP) { $ptr = 1; continue main; } if (!nle_DefaultSkinRenderer_isPlayerStandard($par1EntityPlayer)) { $renderType = nle_DefaultSkinRenderer_getPlayerRenderer($par1EntityPlayer); if ($renderType != 18 && $renderType != 28 ? 0 : 1) { if (nle_DefaultSkinRenderer_zombieRenderer === null) { var$8 = new nms_ModelZombie; nms_ModelBiped__init_(var$8, 0.0, 0.0, 64, 32); nle_DefaultSkinRenderer_zombieRenderer = var$8; } var$8 = nle_DefaultSkinRenderer_zombieRenderer; $this.$mainModel = var$8; var$8.$isChild0 = 0; var$8.$isSneak = $par1EntityPlayer.$isSneaking(); nle_DefaultSkinRenderer_zombieRenderer.$isRiding0 = $par1EntityPlayer.$ridingEntity === null ? 0 : 1; $var14 = $par4 - $par1EntityPlayer.$yOffset; if ($par1EntityPlayer.$isSneaking() && !($par1EntityPlayer instanceof nms_EntityPlayerSP)) $var14 = $var14 - 0.125; $ptr = 5; continue main; } switch ($renderType) { case 19: if (nle_DefaultSkinRenderer_endermanRenderer === null) nle_DefaultSkinRenderer_endermanRenderer = nms_ModelEnderman__init_(); $var12 = nle_DefaultSkinRenderer_endermanRenderer; $var12.$isChild0 = 0; $var11 = $par1EntityPlayer.$inventory; $renderType = $var11.$currentItem; var$12 = $rt_compare($renderType, 9); var$8 = var$12 < 0 && $renderType >= 0 ? $var11.$mainInventory.data[$renderType] : null; $var12.$isCarrying = var$8 !== null && (var$12 < 0 && $renderType >= 0 ? $var11.$mainInventory.data[$renderType] : null).$itemID < 256 ? 1 : 0; $this.$mainModel = $var12; $var14 = $par4 - $par1EntityPlayer.$yOffset + 0.05000000074505806; $ptr = 6; continue main; case 20: if (nle_DefaultSkinRenderer_skeletonRenderer === null) nle_DefaultSkinRenderer_skeletonRenderer = nms_ModelSkeleton__init_(0.0); var$8 = nle_DefaultSkinRenderer_skeletonRenderer; var$8.$isChild0 = 0; $this.$mainModel = var$8; $par4 = $par4 - $par1EntityPlayer.$yOffset; $ptr = 2; continue main; case 21: if (nle_DefaultSkinRenderer_blazeRenderer === null) nle_DefaultSkinRenderer_blazeRenderer = nms_ModelBlaze__init_(); var$8 = nle_DefaultSkinRenderer_blazeRenderer; var$8.$isChild0 = 0; $this.$mainModel = var$8; $par4 = $par4 - $par1EntityPlayer.$yOffset; $ptr = 3; continue main; case 32: if (nle_DefaultSkinRenderer_villagerRenderer === null) nle_DefaultSkinRenderer_villagerRenderer = nms_ModelVillager__init_(0.0, 0.0, 64, 64); var$8 = nle_DefaultSkinRenderer_villagerRenderer; var$8.$isChild0 = 0; $this.$mainModel = var$8; $par4 = $par4 - $par1EntityPlayer.$yOffset; $ptr = 4; continue main; default: } return; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; var$8 = $par1EntityPlayer.$inventory; $renderType = var$8.$currentItem; $var11 = $renderType < 9 && $renderType >= 0 ? var$8.$mainInventory.data[$renderType] : null; var$8 = $this.$modelArmorChestplate; $var12 = $this.$modelArmor; $md = $this.$modelBipedMain; var$14 = $this.$modelBipedMainNewSkin; var$15 = $this.$modelBipedMainNewSkinSlim; var$12 = $var11 === null ? 0 : 1; var$15.$heldItemRight = var$12; var$14.$heldItemRight = var$12; $md.$heldItemRight = var$12; $var12.$heldItemRight = var$12; var$8.$heldItemRight = var$12; if ($var11 !== null && $par1EntityPlayer.$itemInUseCount > 0) { nms_Item_$callClinit(); $var12 = nms_Item_itemsList.data[$var11.$itemID].$getItemUseAction($var11); if ($var12 === nms_EnumAction_block) { var$8 = $this.$modelArmorChestplate; $var12 = $this.$modelArmor; $var11 = $this.$modelBipedMain; $md = $this.$modelBipedMainNewSkin; $this.$modelBipedMainNewSkinSlim.$heldItemRight = 3; $md.$heldItemRight = 3; $var11.$heldItemRight = 3; $var12.$heldItemRight = 3; var$8.$heldItemRight = 3; } else if ($var12 === nms_EnumAction_bow) { var$8 = $this.$modelArmorChestplate; $var12 = $this.$modelArmor; $var11 = $this.$modelBipedMain; $md = $this.$modelBipedMainNewSkin; $this.$modelBipedMainNewSkinSlim.$aimedBow = 1; $md.$aimedBow = 1; $var11.$aimedBow = 1; $var12.$aimedBow = 1; var$8.$aimedBow = 1; } } var$8 = $this.$modelArmorChestplate; $var12 = $this.$modelArmor; $var11 = $this.$modelBipedMain; $md = $this.$modelBipedMainNewSkin; var$14 = $this.$modelBipedMainNewSkinSlim; var$12 = $par1EntityPlayer.$isSneaking(); var$14.$isSneak = var$12; $md.$isSneak = var$12; $var11.$isSneak = var$12; $var12.$isSneak = var$12; var$8.$isSneak = var$12; $var14 = $par4 - $par1EntityPlayer.$yOffset; if ($par1EntityPlayer.$isSneaking() && !($par1EntityPlayer instanceof nms_EntityPlayerSP)) $var14 = $var14 - 0.125; $this.$mainModel = !nle_DefaultSkinRenderer_isPlayerNewSkin($par1EntityPlayer) ? $this.$modelBipedMain : !nle_DefaultSkinRenderer_isPlayerNewSkinSlim($par1EntityPlayer) ? $this.$modelBipedMainNewSkin : $this.$modelBipedMainNewSkinSlim; $skinLayersByte = nle_DefaultSkinRenderer_getSkinLayerByte($par1EntityPlayer); $var12 = $this.$mainModel; if ($var12 instanceof nle_ModelBipedNewSkins) { $md = $var12; $md.$field_178730_v.$isHidden = ($skinLayersByte & 1) == 1 ? 0 : 1; $md.$field_178734_a.$isHidden = ($skinLayersByte & 4) == 4 ? 0 : 1; $md.$field_178732_b.$isHidden = ($skinLayersByte & 8) == 8 ? 0 : 1; $md.$field_178733_c.$isHidden = ($skinLayersByte & 16) == 16 ? 0 : 1; $md.$field_178731_d.$isHidden = ($skinLayersByte & 32) == 32 ? 0 : 1; } var$8 = $var12; var$8.$bipedHeadwear.$isHidden = ($skinLayersByte & 2) == 2 ? 0 : 1; $var12.$isChild0 = 0; var$8.$blockTransparentSkin = 1; $ptr = 9; continue main; case 1: nms_RenderPlayer_bindTexture($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } if (!nle_DefaultSkinRenderer_isPlayerStandard($par1EntityPlayer)) { $renderType = nle_DefaultSkinRenderer_getPlayerRenderer($par1EntityPlayer); if ($renderType != 18 && $renderType != 28 ? 0 : 1) { if (nle_DefaultSkinRenderer_zombieRenderer === null) { var$8 = new nms_ModelZombie; nms_ModelBiped__init_(var$8, 0.0, 0.0, 64, 32); nle_DefaultSkinRenderer_zombieRenderer = var$8; } var$8 = nle_DefaultSkinRenderer_zombieRenderer; $this.$mainModel = var$8; var$8.$isChild0 = 0; var$8.$isSneak = $par1EntityPlayer.$isSneaking(); nle_DefaultSkinRenderer_zombieRenderer.$isRiding0 = $par1EntityPlayer.$ridingEntity === null ? 0 : 1; $var14 = $par4 - $par1EntityPlayer.$yOffset; if ($par1EntityPlayer.$isSneaking() && !($par1EntityPlayer instanceof nms_EntityPlayerSP)) $var14 = $var14 - 0.125; $ptr = 5; continue main; } switch ($renderType) { case 19: if (nle_DefaultSkinRenderer_endermanRenderer === null) nle_DefaultSkinRenderer_endermanRenderer = nms_ModelEnderman__init_(); $var12 = nle_DefaultSkinRenderer_endermanRenderer; $var12.$isChild0 = 0; $var11 = $par1EntityPlayer.$inventory; $renderType = $var11.$currentItem; var$12 = $rt_compare($renderType, 9); var$8 = var$12 < 0 && $renderType >= 0 ? $var11.$mainInventory.data[$renderType] : null; $var12.$isCarrying = var$8 !== null && (var$12 < 0 && $renderType >= 0 ? $var11.$mainInventory.data[$renderType] : null).$itemID < 256 ? 1 : 0; $this.$mainModel = $var12; $var14 = $par4 - $par1EntityPlayer.$yOffset + 0.05000000074505806; $ptr = 6; continue main; case 20: if (nle_DefaultSkinRenderer_skeletonRenderer === null) nle_DefaultSkinRenderer_skeletonRenderer = nms_ModelSkeleton__init_(0.0); var$8 = nle_DefaultSkinRenderer_skeletonRenderer; var$8.$isChild0 = 0; $this.$mainModel = var$8; $par4 = $par4 - $par1EntityPlayer.$yOffset; $ptr = 2; continue main; case 21: if (nle_DefaultSkinRenderer_blazeRenderer === null) nle_DefaultSkinRenderer_blazeRenderer = nms_ModelBlaze__init_(); var$8 = nle_DefaultSkinRenderer_blazeRenderer; var$8.$isChild0 = 0; $this.$mainModel = var$8; $par4 = $par4 - $par1EntityPlayer.$yOffset; $ptr = 3; continue main; case 32: if (nle_DefaultSkinRenderer_villagerRenderer === null) nle_DefaultSkinRenderer_villagerRenderer = nms_ModelVillager__init_(0.0, 0.0, 64, 64); var$8 = nle_DefaultSkinRenderer_villagerRenderer; var$8.$isChild0 = 0; $this.$mainModel = var$8; $par4 = $par4 - $par1EntityPlayer.$yOffset; $ptr = 4; continue main; default: } return; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; var$8 = $par1EntityPlayer.$inventory; $renderType = var$8.$currentItem; $var11 = $renderType < 9 && $renderType >= 0 ? var$8.$mainInventory.data[$renderType] : null; var$8 = $this.$modelArmorChestplate; $var12 = $this.$modelArmor; $md = $this.$modelBipedMain; var$14 = $this.$modelBipedMainNewSkin; var$15 = $this.$modelBipedMainNewSkinSlim; var$12 = $var11 === null ? 0 : 1; var$15.$heldItemRight = var$12; var$14.$heldItemRight = var$12; $md.$heldItemRight = var$12; $var12.$heldItemRight = var$12; var$8.$heldItemRight = var$12; if ($var11 !== null && $par1EntityPlayer.$itemInUseCount > 0) { nms_Item_$callClinit(); $var12 = nms_Item_itemsList.data[$var11.$itemID].$getItemUseAction($var11); if ($var12 === nms_EnumAction_block) { var$8 = $this.$modelArmorChestplate; $var12 = $this.$modelArmor; $var11 = $this.$modelBipedMain; $md = $this.$modelBipedMainNewSkin; $this.$modelBipedMainNewSkinSlim.$heldItemRight = 3; $md.$heldItemRight = 3; $var11.$heldItemRight = 3; $var12.$heldItemRight = 3; var$8.$heldItemRight = 3; } else if ($var12 === nms_EnumAction_bow) { var$8 = $this.$modelArmorChestplate; $var12 = $this.$modelArmor; $var11 = $this.$modelBipedMain; $md = $this.$modelBipedMainNewSkin; $this.$modelBipedMainNewSkinSlim.$aimedBow = 1; $md.$aimedBow = 1; $var11.$aimedBow = 1; $var12.$aimedBow = 1; var$8.$aimedBow = 1; } } var$8 = $this.$modelArmorChestplate; $var12 = $this.$modelArmor; $var11 = $this.$modelBipedMain; $md = $this.$modelBipedMainNewSkin; var$14 = $this.$modelBipedMainNewSkinSlim; var$12 = $par1EntityPlayer.$isSneaking(); var$14.$isSneak = var$12; $md.$isSneak = var$12; $var11.$isSneak = var$12; $var12.$isSneak = var$12; var$8.$isSneak = var$12; $var14 = $par4 - $par1EntityPlayer.$yOffset; if ($par1EntityPlayer.$isSneaking() && !($par1EntityPlayer instanceof nms_EntityPlayerSP)) $var14 = $var14 - 0.125; $this.$mainModel = !nle_DefaultSkinRenderer_isPlayerNewSkin($par1EntityPlayer) ? $this.$modelBipedMain : !nle_DefaultSkinRenderer_isPlayerNewSkinSlim($par1EntityPlayer) ? $this.$modelBipedMainNewSkin : $this.$modelBipedMainNewSkinSlim; $skinLayersByte = nle_DefaultSkinRenderer_getSkinLayerByte($par1EntityPlayer); $var12 = $this.$mainModel; if ($var12 instanceof nle_ModelBipedNewSkins) { $md = $var12; $md.$field_178730_v.$isHidden = ($skinLayersByte & 1) == 1 ? 0 : 1; $md.$field_178734_a.$isHidden = ($skinLayersByte & 4) == 4 ? 0 : 1; $md.$field_178732_b.$isHidden = ($skinLayersByte & 8) == 8 ? 0 : 1; $md.$field_178733_c.$isHidden = ($skinLayersByte & 16) == 16 ? 0 : 1; $md.$field_178731_d.$isHidden = ($skinLayersByte & 32) == 32 ? 0 : 1; } var$8 = $var12; var$8.$bipedHeadwear.$isHidden = ($skinLayersByte & 2) == 2 ? 0 : 1; $var12.$isChild0 = 0; var$8.$blockTransparentSkin = 1; $ptr = 9; continue main; case 2: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityPlayer, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } $this.$mainModel = $this.$modelBipedMain; return; case 3: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityPlayer, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } $this.$mainModel = $this.$modelBipedMain; return; case 4: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityPlayer, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } $this.$mainModel = $this.$modelBipedMain; return; case 5: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityPlayer, $par2, $var14, $par6, $par8, $par9); if ($rt_suspending()) { break main; } $par1EntityPlayer = nle_DefaultSkinRenderer_zombieRenderer; $par1EntityPlayer.$isSneak = 0; $par1EntityPlayer.$isRiding0 = 0; $this.$mainModel = $this.$modelBipedMain; return; case 6: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityPlayer, $par2, $var14, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderEnderman_$callClinit(); var$8 = nms_RenderEnderman_tex_eyes; $ptr = 7; case 7: nle_TextureLocation_bindTexture(var$8); if ($rt_suspending()) { break main; } $ptr = 8; case 8: nms_RenderPlayer_bindTexture($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glDisable(2884); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 1); $par8 = $par2; $var10 = $par4 - $par1EntityPlayer.$yOffset + 0.05000000074505806; $var13 = $par6; var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = $par8; var$8.$y = $var10; var$8.$z = $var13; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; $var12 = new ji_ByteArrayOutputStream; $var12.$buf = $rt_createByteArray(32); jl_Object__init_(var$8); var$8.$out0 = $var12; $var12 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var12, 16); var$8.$sb = $var12; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var13 = $par1EntityPlayer.$ticksExisted + $par9; $par8 = $par1EntityPlayer.$prevRenderYawOffset; $var10 = $par8 + ($par1EntityPlayer.$renderYawOffset - $par8) * $par9; $par8 = $par1EntityPlayer.$prevRotationYawHead; $var11_0 = $par8 + ($par1EntityPlayer.$rotationYawHead - $par8) * $par9; $par8 = $par1EntityPlayer.$prevRotationPitch; $var12_0 = $par8 + ($par1EntityPlayer.$rotationPitch - $par8) * $par9; nms_RenderPlayer_rotatePlayer($this, $par1EntityPlayer, $var13, $var10, $par9); nleg_EaglerAdapterGL30_glEnable(32826); var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = (-0.949999988079071); var$8.$y = (-1.0); var$8.$z = 0.949999988079071; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; $var12 = new ji_ByteArrayOutputStream; $var12.$buf = $rt_createByteArray(32); jl_Object__init_(var$8); var$8.$out0 = $var12; $var12 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var12, 16); var$8.$sb = $var12; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = 0.0; var$8.$y = (-1.347212553024292); var$8.$z = 0.0; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; $var12 = new ji_ByteArrayOutputStream; $var12.$buf = $rt_createByteArray(32); jl_Object__init_(var$8); var$8.$out0 = $var12; $var12 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var12, 16); var$8.$sb = $var12; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityPlayer = $par1EntityPlayer.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var12 = jl_Integer_integerCache.data[128]; if ($var12 === null) { $par1EntityPlayer = $par1EntityPlayer.$elementData.data[0]; while ($par1EntityPlayer !== null && $par1EntityPlayer.$key !== null) { $par1EntityPlayer = $par1EntityPlayer.$next3; } } else { $skinLayersByte = $var12.$value0; var$21 = $par1EntityPlayer.$elementData.data; $par1EntityPlayer = var$21[$skinLayersByte & (var$21.length - 1 | 0)]; while ($par1EntityPlayer !== null) { if ($par1EntityPlayer.$origKeyHash == $skinLayersByte) { var$8 = $par1EntityPlayer.$key; if ($var12 !== var$8 && !jl_Integer_equals($var12, var$8) ? 0 : 1) break; } $par1EntityPlayer = $par1EntityPlayer.$next3; } } $par1EntityPlayer = $par1EntityPlayer === null ? null : $par1EntityPlayer.$value1; var$22 = !(!($par1EntityPlayer.$watchedObject.$value2 & 32) ? 0 : 1) ? 1.0 : 0.30000001192092896; a: { nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 2.299999952316284; nleg_EaglerAdapterGL30_colorG = 2.299999952316284; nleg_EaglerAdapterGL30_colorB = 2.299999952316284; nleg_EaglerAdapterGL30_colorA = var$22; switch (nms_OpenGlHelper_lightmapTexUnit) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = 61680.0; nleg_EaglerAdapterGL30_tex1Y = 0.0; break a; default: if (jl_System_errCache === null) { $par1EntityPlayer = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; jl_Object__init_(var$8); var$8.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityPlayer); $par1EntityPlayer.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$8); $par1EntityPlayer.$sb = var$8; $par1EntityPlayer.$buffer0 = $rt_createCharArray(32); $par1EntityPlayer.$autoFlush = 0; $par1EntityPlayer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityPlayer; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break a; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = 61680.0; nleg_EaglerAdapterGL30_tex0Y = 0.0; } nms_ModelBiped_render(nle_DefaultSkinRenderer_endermanRenderer, null, 0.0, 0.0, $var13, $var11_0 - $var10, $var12_0, 0.0625); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nle_DefaultSkinRenderer_endermanRenderer.$isCarrying = 0; $this.$mainModel = $this.$modelBipedMain; return; case 9: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityPlayer, $par2, $var14, $par6, $par8, $par9); if ($rt_suspending()) { break main; } $this.$mainModel.$blockTransparentSkin = 0; $par1EntityPlayer = $this.$modelArmorChestplate; var$8 = $this.$modelArmor; $var12 = $this.$modelBipedMain; $var11 = $this.$modelBipedMainNewSkin; $md = $this.$modelBipedMainNewSkinSlim; $md.$aimedBow = 0; $var11.$aimedBow = 0; $var12.$aimedBow = 0; var$8.$aimedBow = 0; $par1EntityPlayer.$aimedBow = 0; $md.$isSneak = 0; $var11.$isSneak = 0; $var12.$isSneak = 0; var$8.$isSneak = 0; $par1EntityPlayer.$isSneak = 0; $md.$heldItemRight = 0; $var11.$heldItemRight = 0; $var12.$heldItemRight = 0; var$8.$heldItemRight = 0; $par1EntityPlayer.$heldItemRight = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $par4, $par6, $par8, $par9, $renderType, var$8, $var14, $var12, $var11, var$12, $md, var$14, var$15, $skinLayersByte, $var10, $var13, $var11_0, $var12_0, var$21, var$22, $ptr); }, nms_RenderPlayer_renderSpecials = ($this, $par1EntityPlayer, $par2) => { let $var4, $isNew, $isSlim, $renderType, $allowFNAW, $var6, var$9, var$10, $var22, $var25, $var27, var$14, $var11, $var16, $var17, $var18, $var26, $var28, $var10, $var21, $var24, $var9, $var12, $var14, $var19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var19 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var9 = $thread.pop();$var24 = $thread.pop();$var21 = $thread.pop();$var10 = $thread.pop();$var28 = $thread.pop();$var26 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var11 = $thread.pop();var$14 = $thread.pop();$var27 = $thread.pop();$var25 = $thread.pop();$var22 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();$allowFNAW = $thread.pop();$renderType = $thread.pop();$isSlim = $thread.pop();$isNew = $thread.pop();$var4 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $ptr = 1; case 1: nms_RendererLivingEntity_renderArrowsStuckInEntity($this, $par1EntityPlayer, $par2); if ($rt_suspending()) { break main; } $var4 = $par1EntityPlayer.$inventory.$armorInventory.data[3]; $isNew = nle_DefaultSkinRenderer_isPlayerNewSkin($par1EntityPlayer); $isSlim = nle_DefaultSkinRenderer_isPlayerNewSkinSlim($par1EntityPlayer); $renderType = nle_DefaultSkinRenderer_getPlayerRenderer($par1EntityPlayer); $allowFNAW = nms_Minecraft_theMinecraft.$gameSettings.$allowFNAWSkins; a: { if ($var4 !== null) { nleg_EaglerAdapterGL30_glPushMatrix(); $var6 = $isNew ? (!$isSlim ? $this.$modelBipedMainNewSkin : $this.$modelBipedMainNewSkinSlim) : $this.$modelBipedMain; nms_ModelRenderer_postRender($var6.$bipedHead, 0.0625); nms_Item_$callClinit(); var$9 = nms_Item_itemsList.data; var$10 = $var4.$itemID; if (var$9[var$10].$itemID0 >= 256) { if (var$9[var$10].$itemID0 != nms_Item_skull.$itemID0) { nleg_EaglerAdapterGL30_glPopMatrix(); break a; } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0625; $var6.$y = (-1.0625); $var6.$z = (-1.0625); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var22 = new ji_ByteArrayOutputStream; $var22.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var22; $var22 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var22, 16); $var6.$sb = $var22; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = $rt_s(18); $var25 = $var4.$stackTagCompound; if ($var25 === null ? 0 : 1) { b: { $var25 = $var25.$tagMap; if (!$rt_s(1956).$hashCode1) { $var27 = 0; while (true) { if ($var27 >= $rt_s(1956).$nativeString.length) break b; $rt_s(1956).$hashCode1 = (31 * $rt_s(1956).$hashCode1 | 0) + $rt_s(1956).$nativeString.charCodeAt($var27) | 0; $var27 = $var27 + 1 | 0; } } } var$10 = $rt_s(1956).$hashCode1; var$9 = $var25.$elementData.data; $var25 = var$9[var$10 & (var$9.length - 1 | 0)]; while ($var25 !== null) { if ($var25.$origKeyHash == var$10) { c: { var$14 = $var25.$key; if ($rt_s(1956) !== var$14) { if ($rt_s(1956) === var$14) $var27 = 1; else if (!(var$14 instanceof jl_String)) $var27 = 0; else { var$14 = var$14; $var27 = $rt_s(1956).$nativeString !== var$14.$nativeString ? 0 : 1; } if (!$var27) { $var27 = 0; break c; } } $var27 = 1; } if ($var27) break; } $var25 = $var25.$next3; } if ($var25 === null ? 0 : 1) { d: { var$14 = $var4.$stackTagCompound; $var22 = var$14.$tagMap; if (!$rt_s(1956).$hashCode1) { $var27 = 0; while (true) { if ($var27 >= $rt_s(1956).$nativeString.length) break d; $rt_s(1956).$hashCode1 = (31 * $rt_s(1956).$hashCode1 | 0) + $rt_s(1956).$nativeString.charCodeAt($var27) | 0; $var27 = $var27 + 1 | 0; } } } var$10 = $rt_s(1956).$hashCode1; var$9 = $var22.$elementData.data; $var22 = var$9[var$10 & (var$9.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == var$10) { e: { $var25 = $var22.$key; if ($rt_s(1956) !== $var25) { if ($rt_s(1956) === $var25) $var27 = 1; else if (!($var25 instanceof jl_String)) $var27 = 0; else { $var25 = $var25; $var27 = $rt_s(1956).$nativeString !== $var25.$nativeString ? 0 : 1; } if (!$var27) { $var27 = 0; break e; } } $var27 = 1; } if ($var27) break; } $var22 = $var22.$next3; } if (!($var22 === null ? 0 : 1)) $var6 = $rt_s(18); else { $var22 = var$14.$tagMap; if ($rt_s(1956) === null) { $var22 = $var22.$elementData.data[0]; while ($var22 !== null && $var22.$key !== null) { $var22 = $var22.$next3; } } else { f: { if (!$rt_s(1956).$hashCode1) { $var27 = 0; while (true) { if ($var27 >= $rt_s(1956).$nativeString.length) break f; $rt_s(1956).$hashCode1 = (31 * $rt_s(1956).$hashCode1 | 0) + $rt_s(1956).$nativeString.charCodeAt($var27) | 0; $var27 = $var27 + 1 | 0; } } } var$10 = $rt_s(1956).$hashCode1; var$9 = $var22.$elementData.data; $var22 = var$9[var$10 & (var$9.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == var$10) { g: { $var25 = $var22.$key; if ($rt_s(1956) !== $var25) { if ($rt_s(1956) === $var25) $var27 = 1; else if (!($var25 instanceof jl_String)) $var27 = 0; else { $var25 = $var25; $var27 = $rt_s(1956).$nativeString !== $var25.$nativeString ? 0 : 1; } if (!$var27) { $var27 = 0; break g; } } $var27 = 1; } if ($var27) break; } $var22 = $var22.$next3; } } $var6 = ($var22 === null ? null : $var22.$value1).$data1; } } } nms_TileEntitySkullRenderer_$callClinit(); $var22 = nms_TileEntitySkullRenderer_skullRenderer; $var11 = (-0.5); $var16 = 0.0; $var17 = (-0.5); $var27 = 1; $var18 = 180.0; $var26 = $var4.$itemDamage; $ptr = 3; continue main; } nms_Block_$callClinit(); if (nms_RenderBlocks_renderItemIn3d(nms_Block_blocksList.data[var$10].$getRenderType())) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = (-0.25); $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var22 = new ji_ByteArrayOutputStream; $var22.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var22; $var22 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var22, 16); $var6.$sb = $var22; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.5707963705062866, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var22 = new ji_ByteArrayOutputStream; $var22.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var22; $var22 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var22, 16); $var6.$sb = $var22; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.625; $var6.$y = (-0.625); $var6.$z = (-0.625); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var22 = new ji_ByteArrayOutputStream; $var22.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var22; $var22 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var22, 16); $var6.$sb = $var22; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var6 = $this.$renderManager.$itemRenderer; $var27 = 0; $ptr = 2; continue main; } } if (!(!nle_DefaultSkinRenderer_isStandardModel($renderType) && !($renderType != 18 && $renderType != 28 ? 0 : 1))) { $var6 = $par1EntityPlayer.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var25 = jl_Integer_integerCache.data[128]; if ($var25 !== null) { var$10 = $var25.$value0; var$9 = $var6.$elementData.data; $var6 = var$9[var$10 & (var$9.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$10) { $var22 = $var6.$key; if ($var25 !== $var22 && !jl_Integer_equals($var25, $var22) ? 0 : 1) break; } $var6 = $var6.$next3; } } else { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } $var6 = $var6 === null ? null : $var6.$value1; if (!(!($var6.$watchedObject.$value2 & 32) ? 0 : 1)) { $var6 = $par1EntityPlayer.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var25 = jl_Integer_integerCache.data[144]; if ($var25 !== null) { var$10 = $var25.$value0; var$9 = $var6.$elementData.data; $var6 = var$9[var$10 & (var$9.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$10) { $var22 = $var6.$key; if ($var25 !== $var22 && !jl_Integer_equals($var25, $var22) ? 0 : 1) break; } $var6 = $var6.$next3; } } else { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } $var6 = $var6 === null ? null : $var6.$value1; if (!(!($var6.$watchedObject.$value2 & 2) ? 0 : 1)) { $ptr = 4; continue main; } } } $var6 = $par1EntityPlayer.$inventory; $var26 = $var6.$currentItem; $var22 = $var26 < 9 && $var26 >= 0 ? $var6.$mainInventory.data[$var26] : null; if ($var22 !== null) { nleg_EaglerAdapterGL30_glPushMatrix(); $allowFNAW = $renderType != 18 && $renderType != 28 ? 0 : 1; if (!$allowFNAW && $renderType != 20) nms_ModelRenderer_postRender((!$isNew ? $this.$modelBipedMain : !$isSlim ? $this.$modelBipedMainNewSkin : $this.$modelBipedMainNewSkinSlim).$bipedRightArm, 0.0625); else nms_ModelRenderer_postRender($this.$mainModel.$bipedRightArm, 0.0625); $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = (-0.0625); $var6.$y = 0.4375; $var6.$z = 0.0625; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($par1EntityPlayer.$fishEntity !== null) { $var22 = new nms_ItemStack; nms_Item_$callClinit(); $var6 = nms_Item_stick; nms_ItemStack_$callClinit(); $var22.$itemID = $var6.$itemID0; $var22.$stackSize = 1; $var22.$itemDamage = 0; } $var25 = null; if ($par1EntityPlayer.$itemInUseCount > 0) { nms_Item_$callClinit(); $var25 = nms_Item_itemsList.data[$var22.$itemID].$getItemUseAction($var22); } h: { $allowFNAW = $var22.$itemID; if ($allowFNAW < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_renderItemIn3d(nms_Block_blocksList.data[$allowFNAW].$getRenderType())) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.1875; $var6.$z = (-0.3125); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = (-0.375); $var6.$y = (-0.375); $var6.$z = 0.375; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break h; } } $allowFNAW = $var22.$itemID; nms_Item_$callClinit(); if ($allowFNAW == nms_Item_bow.$itemID0) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.125; $var6.$z = 0.3125; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.625; $var6.$y = (-0.625); $var6.$z = 0.625; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else if (!nms_Item_itemsList.data[$allowFNAW].$isFull3D()) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.25; $var6.$y = 0.1875; $var6.$z = (-0.1875); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.375; $var6.$y = 0.375; $var6.$z = 0.375; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.0471975803375244, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { if (nms_Item_itemsList.data[$var22.$itemID].$shouldRotateAroundWhenRendering()) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; var$14 = new ji_ByteArrayOutputStream; var$14.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = var$14; var$14 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$14, 16); $var6.$sb = var$14; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = (-0.125); $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; var$14 = new ji_ByteArrayOutputStream; var$14.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = var$14; var$14 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$14, 16); $var6.$sb = var$14; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($par1EntityPlayer.$itemInUseCount > 0 && $var25 === nms_EnumAction_block) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.05000000074505806; $var6.$y = 0.0; $var6.$z = (-0.10000000149011612); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.8726646304130554), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.1745329201221466), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.0471975803375244), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.1875; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.625; $var6.$y = (-0.625); $var6.$z = 0.625; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$var22.$itemID].$requiresMultipleRenderPasses()) { $var27 = nms_Item_itemsList.data[$var22.$itemID].$getColorFromItemStack($var22, 0); $par2 = ($var27 >> 16 & 255) / 255.0; $var28 = ($var27 >> 8 & 255) / 255.0; $var10 = ($var27 & 255) / 255.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par2; nleg_EaglerAdapterGL30_colorG = $var28; nleg_EaglerAdapterGL30_colorB = $var10; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $this.$renderManager.$itemRenderer; $allowFNAW = 0; $ptr = 5; continue main; } $var27 = 0; if ($var27 <= 1) { $var26 = nms_Item_itemsList.data[$var22.$itemID].$getColorFromItemStack($var22, $var27); $var28 = ($var26 >> 16 & 255) / 255.0; $var10 = ($var26 >> 8 & 255) / 255.0; $par2 = ($var26 & 255) / 255.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var28; nleg_EaglerAdapterGL30_colorG = $var10; nleg_EaglerAdapterGL30_colorB = $par2; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $this.$renderManager.$itemRenderer; $ptr = 6; continue main; } nleg_EaglerAdapterGL30_glPopMatrix(); } return; case 2: nms_ItemRenderer_renderItem($var6, $par1EntityPlayer, $var4, $var27); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); if (!(!nle_DefaultSkinRenderer_isStandardModel($renderType) && !($renderType != 18 && $renderType != 28 ? 0 : 1))) { $var6 = $par1EntityPlayer.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var25 = jl_Integer_integerCache.data[128]; if ($var25 !== null) { var$10 = $var25.$value0; var$9 = $var6.$elementData.data; $var6 = var$9[var$10 & (var$9.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$10) { $var22 = $var6.$key; if ($var25 !== $var22 && !jl_Integer_equals($var25, $var22) ? 0 : 1) break; } $var6 = $var6.$next3; } } else { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } $var6 = $var6 === null ? null : $var6.$value1; if (!(!($var6.$watchedObject.$value2 & 32) ? 0 : 1)) { $var6 = $par1EntityPlayer.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var25 = jl_Integer_integerCache.data[144]; if ($var25 !== null) { var$10 = $var25.$value0; var$9 = $var6.$elementData.data; $var6 = var$9[var$10 & (var$9.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$10) { $var22 = $var6.$key; if ($var25 !== $var22 && !jl_Integer_equals($var25, $var22) ? 0 : 1) break; } $var6 = $var6.$next3; } } else { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } $var6 = $var6 === null ? null : $var6.$value1; if (!(!($var6.$watchedObject.$value2 & 2) ? 0 : 1)) { $ptr = 4; continue main; } } } $var6 = $par1EntityPlayer.$inventory; $var26 = $var6.$currentItem; $var22 = $var26 < 9 && $var26 >= 0 ? $var6.$mainInventory.data[$var26] : null; if ($var22 !== null) { nleg_EaglerAdapterGL30_glPushMatrix(); $allowFNAW = $renderType != 18 && $renderType != 28 ? 0 : 1; if (!$allowFNAW && $renderType != 20) nms_ModelRenderer_postRender((!$isNew ? $this.$modelBipedMain : !$isSlim ? $this.$modelBipedMainNewSkin : $this.$modelBipedMainNewSkinSlim).$bipedRightArm, 0.0625); else nms_ModelRenderer_postRender($this.$mainModel.$bipedRightArm, 0.0625); $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = (-0.0625); $var6.$y = 0.4375; $var6.$z = 0.0625; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($par1EntityPlayer.$fishEntity !== null) { $var22 = new nms_ItemStack; nms_Item_$callClinit(); $var6 = nms_Item_stick; nms_ItemStack_$callClinit(); $var22.$itemID = $var6.$itemID0; $var22.$stackSize = 1; $var22.$itemDamage = 0; } $var25 = null; if ($par1EntityPlayer.$itemInUseCount > 0) { nms_Item_$callClinit(); $var25 = nms_Item_itemsList.data[$var22.$itemID].$getItemUseAction($var22); } i: { $allowFNAW = $var22.$itemID; if ($allowFNAW < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_renderItemIn3d(nms_Block_blocksList.data[$allowFNAW].$getRenderType())) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.1875; $var6.$z = (-0.3125); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = (-0.375); $var6.$y = (-0.375); $var6.$z = 0.375; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break i; } } $allowFNAW = $var22.$itemID; nms_Item_$callClinit(); if ($allowFNAW == nms_Item_bow.$itemID0) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.125; $var6.$z = 0.3125; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.625; $var6.$y = (-0.625); $var6.$z = 0.625; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else if (!nms_Item_itemsList.data[$allowFNAW].$isFull3D()) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.25; $var6.$y = 0.1875; $var6.$z = (-0.1875); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.375; $var6.$y = 0.375; $var6.$z = 0.375; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.0471975803375244, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { if (nms_Item_itemsList.data[$var22.$itemID].$shouldRotateAroundWhenRendering()) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; var$14 = new ji_ByteArrayOutputStream; var$14.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = var$14; var$14 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$14, 16); $var6.$sb = var$14; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = (-0.125); $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; var$14 = new ji_ByteArrayOutputStream; var$14.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = var$14; var$14 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$14, 16); $var6.$sb = var$14; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($par1EntityPlayer.$itemInUseCount > 0 && $var25 === nms_EnumAction_block) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.05000000074505806; $var6.$y = 0.0; $var6.$z = (-0.10000000149011612); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.8726646304130554), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.1745329201221466), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.0471975803375244), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.1875; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.625; $var6.$y = (-0.625); $var6.$z = 0.625; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$var22.$itemID].$requiresMultipleRenderPasses()) { $var27 = nms_Item_itemsList.data[$var22.$itemID].$getColorFromItemStack($var22, 0); $par2 = ($var27 >> 16 & 255) / 255.0; $var28 = ($var27 >> 8 & 255) / 255.0; $var10 = ($var27 & 255) / 255.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par2; nleg_EaglerAdapterGL30_colorG = $var28; nleg_EaglerAdapterGL30_colorB = $var10; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $this.$renderManager.$itemRenderer; $allowFNAW = 0; $ptr = 5; continue main; } $var27 = 0; if ($var27 <= 1) { $var26 = nms_Item_itemsList.data[$var22.$itemID].$getColorFromItemStack($var22, $var27); $var28 = ($var26 >> 16 & 255) / 255.0; $var10 = ($var26 >> 8 & 255) / 255.0; $par2 = ($var26 & 255) / 255.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var28; nleg_EaglerAdapterGL30_colorG = $var10; nleg_EaglerAdapterGL30_colorB = $par2; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $this.$renderManager.$itemRenderer; $ptr = 6; continue main; } nleg_EaglerAdapterGL30_glPopMatrix(); } return; case 3: nms_TileEntitySkullRenderer_func_82393_a($var22, $var11, $var16, $var17, $var27, $var18, $var26, $var6); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); if (!(!nle_DefaultSkinRenderer_isStandardModel($renderType) && !($renderType != 18 && $renderType != 28 ? 0 : 1))) { $var6 = $par1EntityPlayer.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var25 = jl_Integer_integerCache.data[128]; if ($var25 !== null) { var$10 = $var25.$value0; var$9 = $var6.$elementData.data; $var6 = var$9[var$10 & (var$9.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$10) { $var22 = $var6.$key; if ($var25 !== $var22 && !jl_Integer_equals($var25, $var22) ? 0 : 1) break; } $var6 = $var6.$next3; } } else { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } $var6 = $var6 === null ? null : $var6.$value1; if (!(!($var6.$watchedObject.$value2 & 32) ? 0 : 1)) { $var6 = $par1EntityPlayer.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var25 = jl_Integer_integerCache.data[144]; if ($var25 !== null) { var$10 = $var25.$value0; var$9 = $var6.$elementData.data; $var6 = var$9[var$10 & (var$9.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$10) { $var22 = $var6.$key; if ($var25 !== $var22 && !jl_Integer_equals($var25, $var22) ? 0 : 1) break; } $var6 = $var6.$next3; } } else { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } $var6 = $var6 === null ? null : $var6.$value1; if (!(!($var6.$watchedObject.$value2 & 2) ? 0 : 1)) { $ptr = 4; continue main; } } } $var6 = $par1EntityPlayer.$inventory; $var26 = $var6.$currentItem; $var22 = $var26 < 9 && $var26 >= 0 ? $var6.$mainInventory.data[$var26] : null; if ($var22 !== null) { nleg_EaglerAdapterGL30_glPushMatrix(); $allowFNAW = $renderType != 18 && $renderType != 28 ? 0 : 1; if (!$allowFNAW && $renderType != 20) nms_ModelRenderer_postRender((!$isNew ? $this.$modelBipedMain : !$isSlim ? $this.$modelBipedMainNewSkin : $this.$modelBipedMainNewSkinSlim).$bipedRightArm, 0.0625); else nms_ModelRenderer_postRender($this.$mainModel.$bipedRightArm, 0.0625); $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = (-0.0625); $var6.$y = 0.4375; $var6.$z = 0.0625; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($par1EntityPlayer.$fishEntity !== null) { $var22 = new nms_ItemStack; nms_Item_$callClinit(); $var6 = nms_Item_stick; nms_ItemStack_$callClinit(); $var22.$itemID = $var6.$itemID0; $var22.$stackSize = 1; $var22.$itemDamage = 0; } $var25 = null; if ($par1EntityPlayer.$itemInUseCount > 0) { nms_Item_$callClinit(); $var25 = nms_Item_itemsList.data[$var22.$itemID].$getItemUseAction($var22); } i: { $allowFNAW = $var22.$itemID; if ($allowFNAW < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_renderItemIn3d(nms_Block_blocksList.data[$allowFNAW].$getRenderType())) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.1875; $var6.$z = (-0.3125); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = (-0.375); $var6.$y = (-0.375); $var6.$z = 0.375; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break i; } } $allowFNAW = $var22.$itemID; nms_Item_$callClinit(); if ($allowFNAW == nms_Item_bow.$itemID0) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.125; $var6.$z = 0.3125; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.625; $var6.$y = (-0.625); $var6.$z = 0.625; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else if (!nms_Item_itemsList.data[$allowFNAW].$isFull3D()) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.25; $var6.$y = 0.1875; $var6.$z = (-0.1875); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.375; $var6.$y = 0.375; $var6.$z = 0.375; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.0471975803375244, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { if (nms_Item_itemsList.data[$var22.$itemID].$shouldRotateAroundWhenRendering()) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; var$14 = new ji_ByteArrayOutputStream; var$14.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = var$14; var$14 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$14, 16); $var6.$sb = var$14; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = (-0.125); $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; var$14 = new ji_ByteArrayOutputStream; var$14.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = var$14; var$14 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$14, 16); $var6.$sb = var$14; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($par1EntityPlayer.$itemInUseCount > 0 && $var25 === nms_EnumAction_block) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.05000000074505806; $var6.$y = 0.0; $var6.$z = (-0.10000000149011612); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.8726646304130554), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.1745329201221466), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.0471975803375244), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.1875; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.625; $var6.$y = (-0.625); $var6.$z = 0.625; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$var22.$itemID].$requiresMultipleRenderPasses()) { $var27 = nms_Item_itemsList.data[$var22.$itemID].$getColorFromItemStack($var22, 0); $par2 = ($var27 >> 16 & 255) / 255.0; $var28 = ($var27 >> 8 & 255) / 255.0; $var10 = ($var27 & 255) / 255.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par2; nleg_EaglerAdapterGL30_colorG = $var28; nleg_EaglerAdapterGL30_colorB = $var10; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $this.$renderManager.$itemRenderer; $allowFNAW = 0; $ptr = 5; continue main; } $var27 = 0; if ($var27 <= 1) { $var26 = nms_Item_itemsList.data[$var22.$itemID].$getColorFromItemStack($var22, $var27); $var28 = ($var26 >> 16 & 255) / 255.0; $var10 = ($var26 >> 8 & 255) / 255.0; $par2 = ($var26 & 255) / 255.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var28; nleg_EaglerAdapterGL30_colorG = $var10; nleg_EaglerAdapterGL30_colorB = $par2; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $this.$renderManager.$itemRenderer; $ptr = 6; continue main; } nleg_EaglerAdapterGL30_glPopMatrix(); } return; case 4: $tmp = nle_DefaultSkinRenderer_bindSyncedCape($par1EntityPlayer); if ($rt_suspending()) { break main; } $var27 = $tmp; if ($var27) { nleg_EaglerAdapterGL30_glPushMatrix(); $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 0.125; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var22 = new ji_ByteArrayOutputStream; $var22.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var22; $var22 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var22, 16); $var6.$sb = $var22; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var21 = $par1EntityPlayer.$field_71091_bM; $var24 = $par1EntityPlayer.$field_71094_bP - $var21; $var9 = $par2; $var21 = $var21 + $var24 * $var9; $var24 = $par1EntityPlayer.$prevPosX; $var21 = $var21 - ($var24 + ($par1EntityPlayer.$posX - $var24) * $var9); $var24 = $par1EntityPlayer.$field_71096_bN; $var24 = $var24 + ($par1EntityPlayer.$field_71095_bQ - $var24) * $var9; $var12 = $par1EntityPlayer.$prevPosY; $var24 = $var24 - ($var12 + ($par1EntityPlayer.$posY - $var12) * $var9); $var12 = $par1EntityPlayer.$field_71097_bO; $var12 = $var12 + ($par1EntityPlayer.$field_71085_bR - $var12) * $var9; $var14 = $par1EntityPlayer.$prevPosZ; $var9 = $var12 - ($var14 + ($par1EntityPlayer.$posZ - $var14) * $var9); $var11 = $par1EntityPlayer.$prevRenderYawOffset; $var11 = ($var11 + ($par1EntityPlayer.$renderYawOffset - $var11) * $par2) * 3.1415927410125732 / 180.0; var$9 = nms_MathHelper_SIN_TABLE.data; $var16 = $var11 * 10430.3779296875; $var12 = var$9[($var16 | 0) & 65535]; $var14 = -var$9[($var16 + 16384.0 | 0) & 65535]; $var16 = $var24 * 10.0; if ($var16 < (-6.0)) $var16 = (-6.0); if ($var16 > 32.0) $var16 = 32.0; $var17 = ($var21 * $var12 + $var9 * $var14) * 100.0; $var18 = ($var21 * $var14 - $var9 * $var12) * 100.0; if ($var17 < 0.0) $var17 = 0.0; $var11 = $par1EntityPlayer.$prevCameraYaw; $var19 = $var11 + ($par1EntityPlayer.$cameraYaw - $var11) * $par2; $var11 = $par1EntityPlayer.$prevDistanceWalkedModified; $par2 = $var16 + var$9[(($var11 + ($par1EntityPlayer.$distanceWalkedModified - $var11) * $par2) * 6.0 * 10430.3779296875 | 0) & 65535] * 32.0 * $var19; if ($par1EntityPlayer.$isSneaking()) $par2 = $par2 + 25.0; $par2 = 6.0 + $var17 / 2.0 + $par2; $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var22 = new ji_ByteArrayOutputStream; $var22.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var22; $var22 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var22, 16); $var6.$sb = $var22; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par2 = $var18 / 2.0; $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var22 = new ji_ByteArrayOutputStream; $var22.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var22; $var22 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var22, 16); $var6.$sb = $var22; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par2 = -$var18 / 2.0; $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var22 = new ji_ByteArrayOutputStream; $var22.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var22; $var22 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var22, 16); $var6.$sb = $var22; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var22 = new ji_ByteArrayOutputStream; $var22.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var22; $var22 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var22, 16); $var6.$sb = $var22; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$modelBipedMain.$bipedCloak, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); } nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; $var6 = $par1EntityPlayer.$inventory; $var26 = $var6.$currentItem; $var22 = $var26 < 9 && $var26 >= 0 ? $var6.$mainInventory.data[$var26] : null; if ($var22 !== null) { nleg_EaglerAdapterGL30_glPushMatrix(); $allowFNAW = $renderType != 18 && $renderType != 28 ? 0 : 1; if (!$allowFNAW && $renderType != 20) nms_ModelRenderer_postRender((!$isNew ? $this.$modelBipedMain : !$isSlim ? $this.$modelBipedMainNewSkin : $this.$modelBipedMainNewSkinSlim).$bipedRightArm, 0.0625); else nms_ModelRenderer_postRender($this.$mainModel.$bipedRightArm, 0.0625); $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = (-0.0625); $var6.$y = 0.4375; $var6.$z = 0.0625; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($par1EntityPlayer.$fishEntity !== null) { $var22 = new nms_ItemStack; nms_Item_$callClinit(); $var6 = nms_Item_stick; nms_ItemStack_$callClinit(); $var22.$itemID = $var6.$itemID0; $var22.$stackSize = 1; $var22.$itemDamage = 0; } $var25 = null; if ($par1EntityPlayer.$itemInUseCount > 0) { nms_Item_$callClinit(); $var25 = nms_Item_itemsList.data[$var22.$itemID].$getItemUseAction($var22); } j: { $allowFNAW = $var22.$itemID; if ($allowFNAW < 256) { nms_Block_$callClinit(); if (nms_RenderBlocks_renderItemIn3d(nms_Block_blocksList.data[$allowFNAW].$getRenderType())) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.1875; $var6.$z = (-0.3125); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = (-0.375); $var6.$y = (-0.375); $var6.$z = 0.375; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break j; } } $allowFNAW = $var22.$itemID; nms_Item_$callClinit(); if ($allowFNAW == nms_Item_bow.$itemID0) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.125; $var6.$z = 0.3125; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.3490658402442932), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.625; $var6.$y = (-0.625); $var6.$z = 0.625; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else if (!nms_Item_itemsList.data[$allowFNAW].$isFull3D()) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.25; $var6.$y = 0.1875; $var6.$z = (-0.1875); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.375; $var6.$y = 0.375; $var6.$z = 0.375; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.0471975803375244, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { if (nms_Item_itemsList.data[$var22.$itemID].$shouldRotateAroundWhenRendering()) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; var$14 = new ji_ByteArrayOutputStream; var$14.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = var$14; var$14 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$14, 16); $var6.$sb = var$14; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = (-0.125); $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; var$14 = new ji_ByteArrayOutputStream; var$14.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = var$14; var$14 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$14, 16); $var6.$sb = var$14; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if ($par1EntityPlayer.$itemInUseCount > 0 && $var25 === nms_EnumAction_block) { $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.05000000074505806; $var6.$y = 0.0; $var6.$z = (-0.10000000149011612); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.8726646304130554), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.1745329201221466), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.0471975803375244), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.1875; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.625; $var6.$y = (-0.625); $var6.$z = 0.625; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.7453292608261108), nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var6.$sb = $var25; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$var22.$itemID].$requiresMultipleRenderPasses()) { $var27 = nms_Item_itemsList.data[$var22.$itemID].$getColorFromItemStack($var22, 0); $par2 = ($var27 >> 16 & 255) / 255.0; $var28 = ($var27 >> 8 & 255) / 255.0; $var10 = ($var27 & 255) / 255.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par2; nleg_EaglerAdapterGL30_colorG = $var28; nleg_EaglerAdapterGL30_colorB = $var10; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $this.$renderManager.$itemRenderer; $allowFNAW = 0; $ptr = 5; continue main; } $var27 = 0; if ($var27 <= 1) { $var26 = nms_Item_itemsList.data[$var22.$itemID].$getColorFromItemStack($var22, $var27); $var28 = ($var26 >> 16 & 255) / 255.0; $var10 = ($var26 >> 8 & 255) / 255.0; $par2 = ($var26 & 255) / 255.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var28; nleg_EaglerAdapterGL30_colorG = $var10; nleg_EaglerAdapterGL30_colorB = $par2; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $this.$renderManager.$itemRenderer; $ptr = 6; continue main; } nleg_EaglerAdapterGL30_glPopMatrix(); } return; case 5: nms_ItemRenderer_renderItem($var6, $par1EntityPlayer, $var22, $allowFNAW); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); return; case 6: nms_ItemRenderer_renderItem($var6, $par1EntityPlayer, $var22, $var27); if ($rt_suspending()) { break main; } $var27 = $var27 + 1 | 0; if ($var27 > 1) { nleg_EaglerAdapterGL30_glPopMatrix(); return; } $var26 = nms_Item_itemsList.data[$var22.$itemID].$getColorFromItemStack($var22, $var27); $var28 = ($var26 >> 16 & 255) / 255.0; $var10 = ($var26 >> 8 & 255) / 255.0; $par2 = ($var26 & 255) / 255.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var28; nleg_EaglerAdapterGL30_colorG = $var10; nleg_EaglerAdapterGL30_colorB = $par2; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $this.$renderManager.$itemRenderer; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $var4, $isNew, $isSlim, $renderType, $allowFNAW, $var6, var$9, var$10, $var22, $var25, $var27, var$14, $var11, $var16, $var17, $var18, $var26, $var28, $var10, $var21, $var24, $var9, $var12, $var14, $var19, $ptr); }, nms_RenderPlayer_func_96450_a = ($this, $par1AbstractClientPlayer, $par2, $par4, $par6, $par8Str, $par9, $par10) => { let var$8, $var13, var$10, $var14, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var14 = $thread.pop();var$10 = $thread.pop();$var13 = $thread.pop();var$8 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8Str = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1AbstractClientPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par10 < 100.0) { var$8 = $par1AbstractClientPlayer.$worldObj.$worldScoreboard; $var13 = var$8.$field_96541_d.data[2]; if ($var13 !== null) { var$10 = $par1AbstractClientPlayer.$username; $var14 = var$8.$field_96544_c; if (var$10 === null) { var$12 = $var14.$elementData.data[0]; while (var$12 !== null && var$12.$key !== null) { var$12 = var$12.$next3; } } else { a: { if (!var$10.$hashCode1) { var$13 = 0; while (true) { if (var$13 >= var$10.$nativeString.length) break a; var$10.$hashCode1 = (31 * var$10.$hashCode1 | 0) + var$10.$nativeString.charCodeAt(var$13) | 0; var$13 = var$13 + 1 | 0; } } } var$14 = var$10.$hashCode1; var$15 = $var14.$elementData.data; var$12 = var$15[var$14 & (var$15.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$14) { b: { $var14 = var$12.$key; if (var$10 !== $var14) { if (var$10 === $var14) var$13 = 1; else if (!($var14 instanceof jl_String)) var$13 = 0; else { $var14 = $var14; var$13 = var$10.$nativeString !== $var14.$nativeString ? 0 : 1; } if (!var$13) { var$13 = 0; break b; } } var$13 = 1; } if (var$13) break; } var$12 = var$12.$next3; } } var$16 = var$12 === null ? null : var$12.$value1; if (var$16 === null) { var$16 = new ju_HashMap; var$13 = ju_HashMap_calculateCapacity(16); var$16.$elementCount = 0; var$17 = $rt_createArray(ju_HashMap$HashEntry, var$13); var$15 = var$17.data; var$16.$elementData = var$17; var$16.$loadFactor = 0.75; var$16.$threshold = var$15.length * 0.75 | 0; ju_HashMap_putImpl(var$8.$field_96544_c, var$10, var$16); } $var14 = $var13; if (!$var14.$id$) $var14.$id$ = $rt_nextId(); var$14 = $var13.$id$; var$15 = var$16.$elementData.data; $var14 = var$15[var$14 & (var$15.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == var$14) { var$18 = $var14.$key; if ($var13 !== var$18 && !($var13 !== var$18 ? 0 : 1) ? 0 : 1) break; } $var14 = $var14.$next3; } $var14 = $var14 === null ? null : $var14.$value1; if ($var14 === null) { $var14 = new nms_Score; $var14.$theScoreboard = var$8; $var14.$theScoreObjective = $var13; $var14.$field_96654_d = var$10; ju_HashMap_putImpl(var$16, $var13, $var14); } if (!$par1AbstractClientPlayer.$sleeping) { var$19 = $var14.$field_96655_e; var$8 = $var13.$displayName; $var13 = new jl_StringBuilder; $var13.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($var13, $var13.$length0, var$19, 10); var$14 = $var13.$length0; jl_AbstractStringBuilder_insertSpace($var13, var$14, var$14 + 1 | 0); $var13.$buffer.data[var$14] = 32; var$13 = $var13.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert($var13, var$13, var$8); var$8 = new jl_String; var$15 = $var13.$buffer; var$17 = var$15.data; var$19 = $var13.$length0; var$14 = var$17.length; if (var$19 >= 0 && var$19 <= (var$14 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$15.data, 0, var$19); var$13 = 64; $ptr = 3; continue main; } $par1AbstractClientPlayer = new jl_IndexOutOfBoundsException; $par1AbstractClientPlayer.$suppressionEnabled = 1; $par1AbstractClientPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1AbstractClientPlayer); $rt_throw($par1AbstractClientPlayer); } var$19 = $var14.$field_96655_e; var$8 = $var13.$displayName; $var13 = new jl_StringBuilder; $var13.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($var13, $var13.$length0, var$19, 10); var$14 = $var13.$length0; jl_AbstractStringBuilder_insertSpace($var13, var$14, var$14 + 1 | 0); $var13.$buffer.data[var$14] = 32; var$13 = $var13.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert($var13, var$13, var$8); var$8 = new jl_String; var$15 = $var13.$buffer; var$17 = var$15.data; var$14 = $var13.$length0; var$19 = var$17.length; if (var$14 >= 0 && var$14 <= (var$19 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$15.data, 0, var$14); $par10 = $par4 - 1.5; var$13 = 64; $ptr = 4; continue main; } $par1AbstractClientPlayer = new jl_IndexOutOfBoundsException; $par1AbstractClientPlayer.$suppressionEnabled = 1; $par1AbstractClientPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1AbstractClientPlayer); $rt_throw($par1AbstractClientPlayer); } } if (!$par1AbstractClientPlayer.$sleeping) { var$13 = 64; $ptr = 1; continue main; } $par4 = $par4 - 1.5; var$13 = 64; $ptr = 2; continue main; case 1: nms_RendererLivingEntity_renderLivingLabel($this, $par1AbstractClientPlayer, $par8Str, $par2, $par4, $par6, var$13); if ($rt_suspending()) { break main; } return; case 2: nms_RendererLivingEntity_renderLivingLabel($this, $par1AbstractClientPlayer, $par8Str, $par2, $par4, $par6, var$13); if ($rt_suspending()) { break main; } return; case 3: nms_RendererLivingEntity_renderLivingLabel($this, $par1AbstractClientPlayer, var$8, $par2, $par4, $par6, var$13); if ($rt_suspending()) { break main; } $par4 = $par4 + $this.$renderManager.$fontRenderer2.$FONT_HEIGHT * 1.149999976158142 * $par9; if (!$par1AbstractClientPlayer.$sleeping) { var$13 = 64; $ptr = 1; continue main; } $par4 = $par4 - 1.5; var$13 = 64; $ptr = 2; continue main; case 4: nms_RendererLivingEntity_renderLivingLabel($this, $par1AbstractClientPlayer, var$8, $par2, $par10, $par6, var$13); if ($rt_suspending()) { break main; } $par4 = $par4 + $this.$renderManager.$fontRenderer2.$FONT_HEIGHT * 1.149999976158142 * $par9; if (!$par1AbstractClientPlayer.$sleeping) { var$13 = 64; $ptr = 1; continue main; } $par4 = $par4 - 1.5; var$13 = 64; $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1AbstractClientPlayer, $par2, $par4, $par6, $par8Str, $par9, $par10, var$8, $var13, var$10, $var14, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_RenderPlayer_renderFirstPersonArm = ($this, $par1EntityPlayer) => { let var$2; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; var$2 = $this.$modelBipedMain; var$2.$onGround1 = 0.0; var$2.$setRotationAngles(0.0, 0.0, 0.0, 0.0, 0.0, 0.0625, $par1EntityPlayer); nms_ModelRenderer_render($this.$modelBipedMain.$bipedRightArm, 0.0625); }, nms_RenderPlayer_rotatePlayer = ($this, $par1AbstractClientPlayer, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10; a: { if (!$par1AbstractClientPlayer.$isDead) { var$5 = $par1AbstractClientPlayer.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[134]; if (var$6 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$7 = var$6.$value0; var$8 = var$5.$elementData.data; var$5 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$7) { var$9 = var$5.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$5 = var$5.$next3; } } if ((var$5 === null ? null : var$5.$value1).$watchedObject.$value3 > 0.0) { var$10 = 1; break a; } } var$10 = 0; } if (var$10 && $par1AbstractClientPlayer.$sleeping) { b: { c: { var$5 = $par1AbstractClientPlayer.$playerLocation; if (var$5 !== null) switch (nms_World_getBlockMetadata($par1AbstractClientPlayer.$worldObj, var$5.$posX0, var$5.$posY0, var$5.$posZ0) & 3) { case 0: $par2 = 90.0; break b; case 1: $par2 = 0.0; break b; case 2: $par2 = 270.0; break b; case 3: $par2 = 180.0; break b; default: break c; } } $par2 = 0.0; } nleg_EaglerAdapterGL30_$callClinit(); $par1AbstractClientPlayer = nleg_EaglerAdapterGL30_deevis; $par1AbstractClientPlayer.$x = 0.0; $par1AbstractClientPlayer.$y = 1.0; $par1AbstractClientPlayer.$z = 0.0; $par1AbstractClientPlayer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1AbstractClientPlayer, $par1AbstractClientPlayer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1AbstractClientPlayer = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_($par1AbstractClientPlayer); $par1AbstractClientPlayer.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); $par1AbstractClientPlayer.$sb = var$5; $par1AbstractClientPlayer.$buffer0 = $rt_createCharArray(32); $par1AbstractClientPlayer.$autoFlush = 0; $par1AbstractClientPlayer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1AbstractClientPlayer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1AbstractClientPlayer = nleg_EaglerAdapterGL30_deevis; $par1AbstractClientPlayer.$x = 0.0; $par1AbstractClientPlayer.$y = 0.0; $par1AbstractClientPlayer.$z = 1.0; $par1AbstractClientPlayer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.5707963705062866, nleg_EaglerAdapterGL30_deevis, $par1AbstractClientPlayer, $par1AbstractClientPlayer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1AbstractClientPlayer = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_($par1AbstractClientPlayer); $par1AbstractClientPlayer.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); $par1AbstractClientPlayer.$sb = var$5; $par1AbstractClientPlayer.$buffer0 = $rt_createCharArray(32); $par1AbstractClientPlayer.$autoFlush = 0; $par1AbstractClientPlayer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1AbstractClientPlayer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1AbstractClientPlayer = nleg_EaglerAdapterGL30_deevis; $par1AbstractClientPlayer.$x = 0.0; $par1AbstractClientPlayer.$y = 1.0; $par1AbstractClientPlayer.$z = 0.0; $par1AbstractClientPlayer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(4.71238899230957, nleg_EaglerAdapterGL30_deevis, $par1AbstractClientPlayer, $par1AbstractClientPlayer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1AbstractClientPlayer = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_($par1AbstractClientPlayer); $par1AbstractClientPlayer.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); $par1AbstractClientPlayer.$sb = var$5; $par1AbstractClientPlayer.$buffer0 = $rt_createCharArray(32); $par1AbstractClientPlayer.$autoFlush = 0; $par1AbstractClientPlayer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1AbstractClientPlayer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else nms_RendererLivingEntity_rotateCorpse($this, $par1AbstractClientPlayer, $par2, $par3, $par4); }, nms_RenderPlayer_func_96449_a = ($this, $par1EntityLivingBase, $par2, $par4, $par6, $par8Str, $par9, $par10) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8Str = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: nms_RenderPlayer_func_96450_a($this, $par1EntityLivingBase, $par2, $par4, $par6, $par8Str, $par9, $par10); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par4, $par6, $par8Str, $par9, $par10, $ptr); }, nms_RenderPlayer_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { let var$3; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.9375; $par1EntityLivingBase.$y = 0.9375; $par1EntityLivingBase.$z = 0.9375; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; jl_Object__init_(var$3); var$3.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$3); $par1EntityLivingBase.$sb = var$3; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RenderPlayer_func_82408_c = ($this, $par1EntityLivingBase, $par2, $par3) => { let var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase.$inventory; var$4 = 3 - $par2 | 0; $par1EntityLivingBase = $par1EntityLivingBase.$armorInventory.data[var$4]; if ($par1EntityLivingBase !== null) { nms_Item_$callClinit(); $par1EntityLivingBase = nms_Item_itemsList.data[$par1EntityLivingBase.$itemID]; if ($par1EntityLivingBase instanceof nms_ItemArmor) { $par1EntityLivingBase = nms_RenderBiped_func_110858_a($par1EntityLivingBase, $par2, $rt_s(1998)); $ptr = 1; continue main; } } return; case 1: nle_TextureLocation_bindTexture($par1EntityLivingBase); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, var$4, $ptr); }, nms_RenderPlayer_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: $tmp = nms_RenderPlayer_setArmorModel($this, $par1EntityLivingBase, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $ptr); }, nms_RenderPlayer_renderEquippedItems = ($this, $par1EntityLivingBase, $par2) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: nms_RenderPlayer_renderSpecials($this, $par1EntityLivingBase, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $ptr); }, nms_RenderPlayer_rotateCorpse = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { nms_RenderPlayer_rotatePlayer($this, $par1EntityLivingBase, $par2, $par3, $par4); }, nms_RenderPlayer_renderLivingAt = ($this, $par1EntityLivingBase, $par2, $par4, $par6) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; a: { $par1EntityLivingBase = $par1EntityLivingBase; if (!$par1EntityLivingBase.$isDead) { var$5 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[134]; if (var$6 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$7 = jl_Integer_hashCode(var$6.$value0); var$8 = var$5.$elementData.data; var$5 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$7 && ju_HashMap_areEqualKeys(var$6, var$5.$key))) { var$5 = var$5.$next3; } } if ((var$5 === null ? null : var$5.$value1).$watchedObject.$value3 > 0.0) { var$9 = 1; break a; } } var$9 = 0; } if (var$9 && $par1EntityLivingBase.$sleeping) { $par2 = $par2 + $par1EntityLivingBase.$field_71079_bU; $par4 = $par4 + $par1EntityLivingBase.$field_71082_cx; $par6 = $par6 + $par1EntityLivingBase.$field_71089_bV; var$10 = $par2; var$11 = $par4; var$12 = $par6; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = var$10; $par1EntityLivingBase.$y = var$11; $par1EntityLivingBase.$z = var$12; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; ji_OutputStream__init_(var$5); var$5.$buf = $rt_createByteArray(32); ji_FilterOutputStream__init_($par1EntityLivingBase, var$5); $par1EntityLivingBase.$sb = jl_StringBuilder__init_(); $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { var$10 = $par2; var$11 = $par4; var$12 = $par6; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = var$10; $par1EntityLivingBase.$y = var$11; $par1EntityLivingBase.$z = var$12; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; ji_OutputStream__init_(var$5); var$5.$buf = $rt_createByteArray(32); ji_FilterOutputStream__init_($par1EntityLivingBase, var$5); $par1EntityLivingBase.$sb = jl_StringBuilder__init_(); $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } }, nms_RenderPlayer_getEntityTexture = ($this, $par1Entity) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!($par1Entity instanceof nms_EntityOtherPlayerMP)) { nle_DefaultSkinRenderer_$callClinit(); var$2 = nle_DefaultSkinRenderer_defaultVanillaSkins.data; nle_EaglerProfile_$callClinit(); return var$2[nle_EaglerProfile_presetSkinId]; } $par1Entity = $par1Entity; $ptr = 1; case 1: $tmp = nle_DefaultSkinRenderer_bindSyncedSkin($par1Entity); if ($rt_suspending()) { break main; } var$3 = $tmp; if (var$3) return null; nms_RenderPlayer_$callClinit(); $par1Entity = nms_RenderPlayer_entityTexture; $ptr = 2; case 2: nle_TextureLocation_bindTexture($par1Entity); if ($rt_suspending()) { break main; } return nms_RenderPlayer_entityTexture; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, var$2, var$3, $ptr); }, nms_RenderPlayer_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderPlayer_renderPlayer($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderPlayer_bindTexture = ($this, $par1EntityLiving) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!($par1EntityLiving instanceof nms_EntityClientPlayerMP)) { if ($par1EntityLiving instanceof nms_EntityOtherPlayerMP) { $par1EntityLiving = $par1EntityLiving; $ptr = 2; continue main; } nms_RenderPlayer_$callClinit(); $par1EntityLiving = nms_RenderPlayer_entityTexture; $ptr = 1; continue main; } nle_EaglerProfile_$callClinit(); var$2 = nle_EaglerProfile_presetSkinId; if (var$2 < 0) { $par1EntityLiving = nms_Minecraft_theMinecraft.$renderEngine; var$3 = nle_EaglerProfile_skins; var$2 = nle_EaglerProfile_customSkinId; if (var$2 >= 0 && var$2 < var$3.$size0) { var$2 = var$3.$array.data[var$2].$glTex; if (var$2 != $par1EntityLiving.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, var$2); $par1EntityLiving.$boundTexture = var$2; } return; } $par1EntityLiving = new jl_IndexOutOfBoundsException; $par1EntityLiving.$suppressionEnabled = 1; $par1EntityLiving.$writableStackTrace = 1; $rt_throw($par1EntityLiving); } nle_DefaultSkinRenderer_$callClinit(); var$4 = nle_DefaultSkinRenderer_defaultVanillaSkins.data; if (var$4[var$2] !== null) $par1EntityLiving = var$4[var$2]; else { nms_RenderPlayer_$callClinit(); $par1EntityLiving = nms_RenderPlayer_entityTexture; } $ptr = 4; continue main; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 2: $tmp = nle_DefaultSkinRenderer_bindSyncedSkin($par1EntityLiving); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2) return; nms_RenderPlayer_$callClinit(); $par1EntityLiving = nms_RenderPlayer_entityTexture; $ptr = 3; case 3: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 4: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, var$2, var$3, var$4, $ptr); }, nms_RenderPlayer__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1999); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderPlayer_steveTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2000); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderPlayer_entityTexture = var$1; }, nms_EntityGiantZombie = $rt_classWithoutFields(nms_EntityMob), nms_EntityGiantZombie_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, var$1); var$2 = var$1 === null ? null : var$1.$value1; if (0.10000000149011612 !== var$2.$baseValue) { var$2.$baseValue = 0.10000000149011612; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$3 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$1, var$3); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_attackDamage); var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$2.$nativeString.length) break a; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$2 = var$3.$key; if (var$1 !== var$2 && !jl_Object_equals(var$1, var$2) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (100.0 !== var$2.$baseValue) { var$2.$baseValue = 100.0; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { b: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$2.$nativeString.length) break b; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$2 = var$3.$key; if (var$1 !== var$2 && !jl_Object_equals(var$1, var$2) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (0.5 !== var$2.$baseValue) { var$2.$baseValue = 0.5; var$2.$field_111133_g = 1; var$1 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$2, var$1); } } var$1 = nms_SharedMonsterAttributes_attackDamage; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$1 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { c: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$2.$nativeString.length) break c; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$2 = var$3.$key; if (var$1 !== var$2 && !jl_Object_equals(var$1, var$2) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$1 = var$3 === null ? null : var$3.$value1; if (50.0 !== var$1.$baseValue) { var$1.$baseValue = 50.0; var$1.$field_111133_g = 1; var$3 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$1, var$3); } } }, nms_EntityGiantZombie_getBlockPathWeight = ($this, $par1, $par2, $par3) => { let var$4; var$4 = $this.$worldObj; return var$4.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do(var$4, $par1, $par2, $par3, 1)] - 0.5; }; function nms_RenderGiantZombie() { nms_RenderLiving.call(this); this.$scale2 = 0.0; } let nms_RenderGiantZombie_zombieTextures = null, nms_RenderGiantZombie_$callClinit = () => { nms_RenderGiantZombie_$callClinit = $rt_eraseClinit(nms_RenderGiantZombie); nms_RenderGiantZombie__clinit_(); }, nms_RenderGiantZombie_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderGiantZombie_$callClinit(); $par1EntityLiving = nms_RenderGiantZombie_zombieTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderGiantZombie_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { let var$3; $par2 = $this.$scale2; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = $par2; $par1EntityLivingBase.$y = $par2; $par1EntityLivingBase.$z = $par2; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; jl_Object__init_(var$3); var$3.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$3); $par1EntityLivingBase.$sb = var$3; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RenderGiantZombie_getEntityTexture = ($this, $par1Entity) => { nms_RenderGiantZombie_$callClinit(); return nms_RenderGiantZombie_zombieTextures; }, nms_RenderGiantZombie__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1988); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderGiantZombie_zombieTextures = var$1; }; function nms_ModelBiped() { let a = this; nms_ModelBase.call(a); a.$bipedHead = null; a.$bipedHeadwear = null; a.$bipedBody = null; a.$bipedRightArm = null; a.$bipedLeftArm = null; a.$bipedRightLeg = null; a.$bipedLeftLeg = null; a.$bipedEars = null; a.$bipedCloak = null; a.$blockTransparentSkin = 0; a.$heldItemLeft = 0; a.$heldItemRight = 0; a.$isSneak = 0; a.$aimedBow = 0; } let nms_ModelBiped__init_1 = $this => { nms_ModelBiped__init_($this, 0.0, 0.0, 64, 32); }, nms_ModelBiped__init_2 = () => { let var_0 = new nms_ModelBiped(); nms_ModelBiped__init_1(var_0); return var_0; }, nms_ModelBiped__init_ = ($this, $par1, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$5; $this.$isChild0 = 1; var$5 = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); var$5.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$8 = var$7.data; var$5.$elementData = var$7; var$5.$loadFactor = 0.75; var$5.$threshold = var$8.length * 0.75 | 0; $this.$modelTextureMap = var$5; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; $this.$blockTransparentSkin = 0; $this.$textureWidth0 = $par3; $this.$textureHeight0 = $par4; var$5 = new nms_ModelRenderer; var$9 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$10; var$5.$baseModel = $this; var$10 = $this.$boxList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; var$11 = var$10.$size0; var$10.$size0 = var$11 + 1 | 0; var$8[var$11] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; var$5.$boxName = var$9; var$6 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$5.$textureWidth = var$6; var$5.$textureHeight = var$11; var$5.$textureOffsetX = 0; var$5.$textureOffsetY = 0; $this.$bipedCloak = var$5; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 0, 0, (-5.0), 0.0, (-1.0), 10, 16, 1, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = new nms_ModelRenderer; var$9 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$10; var$5.$baseModel = $this; var$10 = $this.$boxList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; var$11 = var$10.$size0; var$10.$size0 = var$11 + 1 | 0; var$8[var$11] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; var$5.$boxName = var$9; var$6 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$5.$textureWidth = var$6; var$5.$textureHeight = var$11; var$5.$textureOffsetX = 24; var$5.$textureOffsetY = 0; $this.$bipedEars = var$5; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 24, 0, (-3.0), (-6.0), (-1.0), 6, 6, 1, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = new nms_ModelRenderer; var$9 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$10; var$5.$baseModel = $this; var$10 = $this.$boxList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; var$11 = var$10.$size0; var$10.$size0 = var$11 + 1 | 0; var$8[var$11] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; var$5.$boxName = var$9; var$6 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$5.$textureWidth = var$6; var$5.$textureHeight = var$11; var$5.$textureOffsetX = 0; var$5.$textureOffsetY = 0; $this.$bipedHead = var$5; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 0, 0, (-4.0), (-8.0), (-4.0), 8, 8, 8, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = $this.$bipedHead; var$12 = 0.0 + $par2; var$5.$rotationPointX = 0.0; var$5.$rotationPointY = var$12; var$5.$rotationPointZ = 0.0; var$5 = new nms_ModelRenderer; var$9 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$10; var$5.$baseModel = $this; var$10 = $this.$boxList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; var$11 = var$10.$size0; var$10.$size0 = var$11 + 1 | 0; var$8[var$11] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; var$5.$boxName = var$9; var$6 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$5.$textureWidth = var$6; var$5.$textureHeight = var$11; var$5.$textureOffsetX = 32; var$5.$textureOffsetY = 0; $this.$bipedHeadwear = var$5; var$13 = $par1 + 0.5; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 32, 0, (-4.0), (-8.0), (-4.0), 8, 8, 8, var$13); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = $this.$bipedHeadwear; var$5.$rotationPointX = 0.0; var$5.$rotationPointY = var$12; var$5.$rotationPointZ = 0.0; var$5 = new nms_ModelRenderer; var$9 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$10; var$5.$baseModel = $this; var$10 = $this.$boxList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; var$11 = var$10.$size0; var$10.$size0 = var$11 + 1 | 0; var$8[var$11] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; var$5.$boxName = var$9; var$6 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$5.$textureWidth = var$6; var$5.$textureHeight = var$11; var$5.$textureOffsetX = 16; var$5.$textureOffsetY = 16; $this.$bipedBody = var$5; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 16, 16, (-4.0), 0.0, (-2.0), 8, 12, 4, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = $this.$bipedBody; var$5.$rotationPointX = 0.0; var$5.$rotationPointY = var$12; var$5.$rotationPointZ = 0.0; var$5 = new nms_ModelRenderer; var$10 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$9; var$5.$baseModel = $this; var$9 = $this.$boxList; ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); var$8 = var$9.$array.data; var$11 = var$9.$size0; var$9.$size0 = var$11 + 1 | 0; var$8[var$11] = var$5; var$9.$modCount = var$9.$modCount + 1 | 0; var$5.$boxName = var$10; var$6 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$5.$textureWidth = var$6; var$5.$textureHeight = var$11; var$5.$textureOffsetX = 40; var$5.$textureOffsetY = 16; $this.$bipedRightArm = var$5; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 40, 16, (-3.0), (-2.0), (-2.0), 4, 12, 4, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = $this.$bipedRightArm; var$12 = 2.0 + $par2; var$5.$rotationPointX = (-5.0); var$5.$rotationPointY = var$12; var$5.$rotationPointZ = 0.0; var$5 = new nms_ModelRenderer; var$9 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$10; var$5.$baseModel = $this; var$10 = $this.$boxList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; var$11 = var$10.$size0; var$10.$size0 = var$11 + 1 | 0; var$8[var$11] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; var$5.$boxName = var$9; var$6 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$5.$textureWidth = var$6; var$5.$textureHeight = var$11; var$5.$textureOffsetX = 40; var$5.$textureOffsetY = 16; $this.$bipedLeftArm = var$5; var$5.$mirror = 1; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 40, 16, (-1.0), (-2.0), (-2.0), 4, 12, 4, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = $this.$bipedLeftArm; var$5.$rotationPointX = 5.0; var$5.$rotationPointY = var$12; var$5.$rotationPointZ = 0.0; var$5 = new nms_ModelRenderer; var$9 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$10; var$5.$baseModel = $this; var$10 = $this.$boxList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; var$11 = var$10.$size0; var$10.$size0 = var$11 + 1 | 0; var$8[var$11] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; var$5.$boxName = var$9; var$6 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$5.$textureWidth = var$6; var$5.$textureHeight = var$11; var$5.$textureOffsetX = 0; var$5.$textureOffsetY = 16; $this.$bipedRightLeg = var$5; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 0, 16, (-2.0), 0.0, (-2.0), 4, 12, 4, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = $this.$bipedRightLeg; $par2 = 12.0 + $par2; var$5.$rotationPointX = (-1.899999976158142); var$5.$rotationPointY = $par2; var$5.$rotationPointZ = 0.0; var$5 = new nms_ModelRenderer; var$9 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$10; var$5.$baseModel = $this; var$10 = $this.$boxList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; var$11 = var$10.$size0; var$10.$size0 = var$11 + 1 | 0; var$8[var$11] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; var$5.$boxName = var$9; var$6 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$5.$textureWidth = var$6; var$5.$textureHeight = var$11; var$5.$textureOffsetX = 0; var$5.$textureOffsetY = 16; $this.$bipedLeftLeg = var$5; var$5.$mirror = 1; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 0, 16, (-2.0), 0.0, (-2.0), 4, 12, 4, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = $this.$bipedLeftLeg; var$5.$rotationPointX = 1.899999976158142; var$5.$rotationPointY = $par2; var$5.$rotationPointZ = 0.0; }, nms_ModelBiped__init_0 = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_ModelBiped(); nms_ModelBiped__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_ModelBiped_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8; $this.$setRotationAngles($par2, $par3, $par4, $par5, $par6, $par7, $par1Entity); if (!$this.$isChild0) { nms_ModelRenderer_render($this.$bipedHead, $par7); nms_ModelRenderer_render($this.$bipedBody, $par7); nms_ModelRenderer_render($this.$bipedRightArm, $par7); nms_ModelRenderer_render($this.$bipedLeftArm, $par7); nms_ModelRenderer_render($this.$bipedRightLeg, $par7); nms_ModelRenderer_render($this.$bipedLeftLeg, $par7); nms_ModelRenderer_render($this.$bipedHeadwear, $par7); } else { nleg_EaglerAdapterGL30_glPushMatrix(); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.75; $par1Entity.$y = 0.75; $par1Entity.$z = 0.75; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par3 = 16.0 * $par7; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par3; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$bipedHead, $par7); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.5; $par1Entity.$y = 0.5; $par1Entity.$z = 0.5; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par3 = 24.0 * $par7; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par3; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$bipedBody, $par7); nms_ModelRenderer_render($this.$bipedRightArm, $par7); nms_ModelRenderer_render($this.$bipedLeftArm, $par7); nms_ModelRenderer_render($this.$bipedRightLeg, $par7); nms_ModelRenderer_render($this.$bipedLeftLeg, $par7); nms_ModelRenderer_render($this.$bipedHeadwear, $par7); nleg_EaglerAdapterGL30_glPopMatrix(); } }, nms_ModelBiped_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, var$9, var$10, var$11, var$12, var$13, $var8, $var9, $var10, var$17; $par7Entity = $this.$bipedHead; $par4 = $par4 / 57.2957763671875; $par7Entity.$rotateAngleY = $par4; $par5 = $par5 / 57.2957763671875; $par7Entity.$rotateAngleX = $par5; $par7Entity = $this.$bipedHeadwear; $par7Entity.$rotateAngleY = $par4; $par7Entity.$rotateAngleX = $par5; $par7Entity = $this.$bipedRightArm; $par5 = $par1 * 0.6661999821662903; $par4 = $par5 + 3.1415927410125732; var$8 = nms_MathHelper_SIN_TABLE.data; var$9 = ($par4 * 10430.3779296875 + 16384.0 | 0) & 65535; $par7Entity.$rotateAngleX = var$8[var$9] * 2.0 * $par2 * 0.5; var$10 = $this.$bipedLeftArm; var$11 = ($par5 * 10430.3779296875 + 16384.0 | 0) & 65535; var$10.$rotateAngleX = var$8[var$11] * 2.0 * $par2 * 0.5; $par7Entity.$rotateAngleZ = 0.0; var$10.$rotateAngleZ = 0.0; var$12 = $this.$bipedRightLeg; var$12.$rotateAngleX = var$8[var$11] * 1.399999976158142 * $par2; var$13 = $this.$bipedLeftLeg; var$13.$rotateAngleX = var$8[var$9] * 1.399999976158142 * $par2; var$12.$rotateAngleY = 0.0; var$13.$rotateAngleY = 0.0; if ($this.$isRiding0) { $par7Entity.$rotateAngleX = $par7Entity.$rotateAngleX + (-0.6283185482025146); var$10.$rotateAngleX = var$10.$rotateAngleX + (-0.6283185482025146); var$12.$rotateAngleX = (-1.2566370964050293); var$13.$rotateAngleX = (-1.2566370964050293); var$12.$rotateAngleY = 0.3141592741012573; var$13.$rotateAngleY = (-0.3141592741012573); } var$11 = $this.$heldItemLeft; if (var$11) var$10.$rotateAngleX = var$10.$rotateAngleX * 0.5 - 0.3141592741012573 * var$11; var$11 = $this.$heldItemRight; if (var$11) $par7Entity.$rotateAngleX = $par7Entity.$rotateAngleX * 0.5 - 0.3141592741012573 * var$11; $par7Entity.$rotateAngleY = 0.0; var$10.$rotateAngleY = 0.0; $var8 = $this.$onGround1; if ($var8 > (-9990.0)) { $par7Entity = $this.$bipedBody; $par1 = jl_Math_sqrt($var8) * 3.1415927410125732 * 2.0; var$8 = nms_MathHelper_SIN_TABLE.data; $par7Entity.$rotateAngleY = var$8[($par1 * 10430.3779296875 | 0) & 65535] * 0.20000000298023224; $par7Entity = $this.$bipedRightArm; var$10 = $this.$bipedBody; $par1 = var$10.$rotateAngleY; $par4 = $par1 * 10430.3779296875; var$9 = ($par4 | 0) & 65535; $par7Entity.$rotationPointZ = var$8[var$9] * 5.0; var$11 = ($par4 + 16384.0 | 0) & 65535; $par7Entity.$rotationPointX = -var$8[var$11] * 5.0; var$12 = $this.$bipedLeftArm; var$12.$rotationPointZ = -var$8[var$9] * 5.0; var$12.$rotationPointX = var$8[var$11] * 5.0; $par7Entity.$rotateAngleY = $par7Entity.$rotateAngleY + $par1; var$12.$rotateAngleY = var$12.$rotateAngleY + var$10.$rotateAngleY; $par1 = var$12.$rotateAngleX; $par2 = var$10.$rotateAngleY; var$12.$rotateAngleX = $par1 + $par2; $par4 = $this.$onGround1; $par1 = 1.0 - $par4; $par1 = $par1 * $par1; $var9 = var$8[((1.0 - $par1 * $par1) * 3.1415927410125732 * 10430.3779296875 | 0) & 65535]; var$11 = ($par4 * 3.1415927410125732 * 10430.3779296875 | 0) & 65535; $var10 = var$8[var$11] * -($this.$bipedHead.$rotateAngleX - 0.699999988079071) * 0.75; $par7Entity.$rotateAngleX = $par7Entity.$rotateAngleX - ($var9 * 1.2 + $var10); $par7Entity.$rotateAngleY = $par7Entity.$rotateAngleY + $par2 * 2.0; $par7Entity.$rotateAngleZ = var$8[var$11] * (-0.4000000059604645); } if (!$this.$isSneak) { $this.$bipedBody.$rotateAngleX = 0.0; $par7Entity = $this.$bipedRightLeg; $par7Entity.$rotationPointZ = 0.10000000149011612; var$10 = $this.$bipedLeftLeg; var$10.$rotationPointZ = 0.10000000149011612; $par7Entity.$rotationPointY = 12.0; var$10.$rotationPointY = 12.0; $this.$bipedHead.$rotationPointY = 0.0; $this.$bipedHeadwear.$rotationPointY = 0.0; } else { $this.$bipedBody.$rotateAngleX = 0.5; $par7Entity = $this.$bipedRightArm; $par7Entity.$rotateAngleX = $par7Entity.$rotateAngleX + 0.4000000059604645; $par7Entity = $this.$bipedLeftArm; $par7Entity.$rotateAngleX = $par7Entity.$rotateAngleX + 0.4000000059604645; $par7Entity = $this.$bipedRightLeg; $par7Entity.$rotationPointZ = 4.0; var$10 = $this.$bipedLeftLeg; var$10.$rotationPointZ = 4.0; $par7Entity.$rotationPointY = 9.0; var$10.$rotationPointY = 9.0; $this.$bipedHead.$rotationPointY = 1.0; $this.$bipedHeadwear.$rotationPointY = 1.0; } $par7Entity = $this.$bipedRightArm; $par2 = $par7Entity.$rotateAngleZ; $par1 = $par3 * 0.09000000357627869; var$8 = nms_MathHelper_SIN_TABLE.data; var$9 = ($par1 * 10430.3779296875 + 16384.0 | 0) & 65535; $par7Entity.$rotateAngleZ = $par2 + var$8[var$9] * 0.05000000074505806 + 0.05000000074505806; var$10 = $this.$bipedLeftArm; var$10.$rotateAngleZ = var$10.$rotateAngleZ - (var$8[var$9] * 0.05000000074505806 + 0.05000000074505806); $par1 = $par7Entity.$rotateAngleX; var$17 = ($par3 * 0.06700000166893005 * 10430.3779296875 | 0) & 65535; $par7Entity.$rotateAngleX = $par1 + var$8[var$17] * 0.05000000074505806; var$10.$rotateAngleX = var$10.$rotateAngleX - var$8[var$17] * 0.05000000074505806; if ($this.$aimedBow) { $par7Entity.$rotateAngleZ = 0.0; var$10.$rotateAngleZ = 0.0; var$12 = $this.$bipedHead; $par7Entity.$rotateAngleY = (-0.10000000149011612) + var$12.$rotateAngleY; var$10.$rotateAngleY = 0.10000000149011612 + var$12.$rotateAngleY + 0.4000000059604645; $par7Entity.$rotateAngleX = (-1.5707963705062866) + var$12.$rotateAngleX; var$10.$rotateAngleX = (-1.5707963705062866) + var$12.$rotateAngleX; $par7Entity.$rotateAngleX = $par7Entity.$rotateAngleX - 0.0; var$10.$rotateAngleX = var$10.$rotateAngleX - 0.0; $par7Entity.$rotateAngleZ = $par7Entity.$rotateAngleZ + var$8[var$9] * 0.05000000074505806 + 0.05000000074505806; var$10.$rotateAngleZ = var$10.$rotateAngleZ - (var$8[var$9] * 0.05000000074505806 + 0.05000000074505806); $par7Entity.$rotateAngleX = $par7Entity.$rotateAngleX + var$8[var$17] * 0.05000000074505806; var$10.$rotateAngleX = var$10.$rotateAngleX - var$8[var$17] * 0.05000000074505806; } }, nms_ModelBiped_renderCloak = ($this, $par1) => { nms_ModelRenderer_render($this.$bipedCloak, $par1); }, nms_ModelZombie = $rt_classWithoutFields(nms_ModelBiped), nms_ModelZombie__init_ = $this => { nms_ModelBiped__init_($this, 0.0, 0.0, 64, 64); }, nms_ModelZombie__init_0 = () => { let var_0 = new nms_ModelZombie(); nms_ModelZombie__init_(var_0); return var_0; }, nms_ModelZombie_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, $var8, $var9, var$11, var$12; nms_ModelBiped_setRotationAngles($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity); $par1 = $this.$onGround1; $par2 = $par1 * 3.1415927410125732; var$8 = nms_MathHelper_SIN_TABLE.data; $var8 = var$8[($par2 * 10430.3779296875 | 0) & 65535]; $par1 = 1.0 - $par1; $var9 = var$8[((1.0 - $par1 * $par1) * 3.1415927410125732 * 10430.3779296875 | 0) & 65535]; $par7Entity = $this.$bipedRightArm; $par7Entity.$rotateAngleZ = 0.0; var$11 = $this.$bipedLeftArm; var$11.$rotateAngleZ = 0.0; $par1 = 0.10000000149011612 - $var8 * 0.6000000238418579; $par7Entity.$rotateAngleY = -$par1; var$11.$rotateAngleY = $par1; $par7Entity.$rotateAngleX = (-1.5707963705062866); var$11.$rotateAngleX = (-1.5707963705062866); $par1 = $par7Entity.$rotateAngleX; $par2 = $var8 * 1.2000000476837158 - $var9 * 0.4000000059604645; $par7Entity.$rotateAngleX = $par1 - $par2; var$11.$rotateAngleX = var$11.$rotateAngleX - $par2; $par4 = $par7Entity.$rotateAngleZ; var$12 = ($par3 * 0.09000000357627869 * 10430.3779296875 + 16384.0 | 0) & 65535; $par7Entity.$rotateAngleZ = $par4 + var$8[var$12] * 0.05000000074505806 + 0.05000000074505806; var$11.$rotateAngleZ = var$11.$rotateAngleZ - (var$8[var$12] * 0.05000000074505806 + 0.05000000074505806); $par1 = $par7Entity.$rotateAngleX; var$12 = ($par3 * 0.06700000166893005 * 10430.3779296875 | 0) & 65535; $par7Entity.$rotateAngleX = $par1 + var$8[var$12] * 0.05000000074505806; var$11.$rotateAngleX = var$11.$rotateAngleX - var$8[var$12] * 0.05000000074505806; }, nms_EntityFlying = $rt_classWithoutFields(nms_EntityLiving), nms_EntityFlying_fall = ($this, $par1) => { return; }, nms_EntityFlying_updateFallState = ($this, $par1, $par3) => { return; }, nms_EntityFlying_moveEntityWithHeading = ($this, $par1, $par2) => { let $var10, $var9, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $var5, var$13, $var4, var$15, var$16, $var3, var$18, $var8, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();var$18 = $thread.pop();$var3 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var4 = $thread.pop();var$13 = $thread.pop();$var5 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var9 = $thread.pop();$var10 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$inWater) { nms_Entity_moveFlying($this, $par1, $par2, 0.019999999552965164); $var10 = $this.$motionX; $var9 = $this.$motionY; var$5 = $this.$motionZ; $ptr = 1; continue main; } var$6 = $this.$worldObj; var$7 = $this.$boundingBox; var$8 = var$7.$minX + 0.10000000149011612; var$9 = var$7.$minY + 0.4000000059604645; var$10 = var$7.$minZ + 0.10000000149011612; $var10 = var$7.$maxX + (-0.10000000149011612); $var9 = var$7.$maxY + (-0.4000000059604645); var$5 = var$7.$maxZ + (-0.10000000149011612); var$11 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var5 = var$11.$nextPoolIndex; var$7 = var$11.$listAABB; var$13 = var$7.$size0; $var4 = $rt_compare($var5, var$13); if ($var4 >= 0) { var$15 = new nms_AxisAlignedBB; var$15.$minX = var$8; var$15.$minY = var$9; var$15.$minZ = var$10; var$15.$maxX = $var10; var$15.$maxY = $var9; var$15.$maxZ = var$5; ju_ArrayList_ensureCapacity(var$7, var$13 + 1 | 0); var$16 = var$7.$array.data; $var4 = var$7.$size0; var$7.$size0 = $var4 + 1 | 0; var$16[$var4] = var$15; var$7.$modCount = var$7.$modCount + 1 | 0; } else if ($var5 >= 0 && $var4 < 0) { var$15 = var$7.$array.data[$var5]; var$15.$minX = var$8; var$15.$minY = var$9; var$15.$minZ = var$10; var$15.$maxX = $var10; var$15.$maxY = $var9; var$15.$maxZ = var$5; } else { var$6 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$6); $rt_throw(var$6); } var$11.$nextPoolIndex = var$11.$nextPoolIndex + 1 | 0; nms_Material_$callClinit(); if (nms_World_isMaterialInBB(var$6, var$15, nms_Material_lava)) { nms_Entity_moveFlying($this, $par1, $par2, 0.019999999552965164); $var10 = $this.$motionX; $var9 = $this.$motionY; var$5 = $this.$motionZ; $ptr = 2; continue main; } $var3 = 0.9100000262260437; if ($this.$onGround) { $var3 = 0.546000063419342; var$6 = $this.$worldObj; $var9 = $this.$posX; var$13 = $var9 | 0; if ($var9 < var$13) var$13 = var$13 - 1 | 0; $var9 = $this.$boundingBox.$minY; $var4 = $var9 | 0; if ($var9 < $var4) $var4 = $var4 - 1 | 0; var$18 = $var4 - 1 | 0; $var9 = $this.$posZ; $var5 = $var9 | 0; if ($var9 < $var5) $var5 = $var5 - 1 | 0; $var4 = nms_World_getBlockId(var$6, var$13, var$18, $var5); if ($var4 > 0) { nms_Block_$callClinit(); $var3 = nms_Block_blocksList.data[$var4].$slipperiness * 0.9100000262260437; } } $var8 = 0.16277135908603668 / ($var3 * $var3 * $var3); nms_Entity_moveFlying($this, $par1, $par2, !$this.$onGround ? 0.019999999552965164 : 0.10000000149011612 * $var8); $par1 = 0.9100000262260437; if ($this.$onGround) { $par1 = 0.546000063419342; var$6 = $this.$worldObj; $var10 = $this.$posX; var$18 = $var10 | 0; if ($var10 < var$18) var$18 = var$18 - 1 | 0; $var10 = $this.$boundingBox.$minY; $var4 = $var10 | 0; if ($var10 < $var4) $var4 = $var4 - 1 | 0; $var5 = $var4 - 1 | 0; $var10 = $this.$posZ; var$13 = $var10 | 0; if ($var10 < var$13) var$13 = var$13 - 1 | 0; $var5 = nms_World_getBlockId(var$6, var$18, $var5, var$13); if ($var5 > 0) { nms_Block_$callClinit(); $par1 = nms_Block_blocksList.data[$var5].$slipperiness * 0.9100000262260437; } } $var10 = $this.$motionX; $var9 = $this.$motionY; var$5 = $this.$motionZ; $ptr = 3; continue main; case 1: nms_Entity_moveEntity($this, $var10, $var9, var$5); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.800000011920929; $this.$motionY = $this.$motionY * 0.800000011920929; $this.$motionZ = $this.$motionZ * 0.800000011920929; $this.$prevLimbSwingAmount = $this.$limbSwingAmount; $var10 = $this.$posX - $this.$prevPosX; $var9 = $this.$posZ - $this.$prevPosZ; $var7 = jl_Math_sqrt($var10 * $var10 + $var9 * $var9) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $par1 = $this.$limbSwingAmount; $par1 = $par1 + ($var7 - $par1) * 0.4000000059604645; $this.$limbSwingAmount = $par1; $this.$limbSwing = $this.$limbSwing + $par1; return; case 2: nms_Entity_moveEntity($this, $var10, $var9, var$5); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.5; $this.$motionY = $this.$motionY * 0.5; $this.$motionZ = $this.$motionZ * 0.5; $this.$prevLimbSwingAmount = $this.$limbSwingAmount; $var10 = $this.$posX - $this.$prevPosX; $var9 = $this.$posZ - $this.$prevPosZ; $var7 = jl_Math_sqrt($var10 * $var10 + $var9 * $var9) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $par1 = $this.$limbSwingAmount; $par1 = $par1 + ($var7 - $par1) * 0.4000000059604645; $this.$limbSwingAmount = $par1; $this.$limbSwing = $this.$limbSwing + $par1; return; case 3: nms_Entity_moveEntity($this, $var10, $var9, var$5); if ($rt_suspending()) { break main; } $var10 = $this.$motionX; $var9 = $par1; $this.$motionX = $var10 * $var9; $this.$motionY = $this.$motionY * $var9; $this.$motionZ = $this.$motionZ * $var9; $this.$prevLimbSwingAmount = $this.$limbSwingAmount; $var10 = $this.$posX - $this.$prevPosX; $var9 = $this.$posZ - $this.$prevPosZ; $var7 = jl_Math_sqrt($var10 * $var10 + $var9 * $var9) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $par1 = $this.$limbSwingAmount; $par1 = $par1 + ($var7 - $par1) * 0.4000000059604645; $this.$limbSwingAmount = $par1; $this.$limbSwing = $this.$limbSwing + $par1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var10, $var9, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $var5, var$13, $var4, var$15, var$16, $var3, var$18, $var8, $var7, $ptr); }, nms_EntityFlying_isOnLadder = $this => { return 0; }; function nms_EntityGhast() { let a = this; nms_EntityFlying.call(a); a.$courseChangeCooldown = 0; a.$waypointX = 0.0; a.$waypointY = 0.0; a.$waypointZ = 0.0; a.$targetedEntity = null; a.$aggroCooldown = 0; a.$prevAttackCounter = 0; a.$attackCounter = 0; a.$explosionStrength = 0; } let nms_EntityGhast_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; var$3 = $par1DamageSource.$damageType; if ($rt_s(2001) === var$3) var$4 = 1; else if (!(var$3 instanceof jl_String)) var$4 = 0; else { var$3 = var$3; var$4 = $rt_s(2001).$nativeString !== var$3.$nativeString ? 0 : 1; } if (var$4 && $par1DamageSource.$getEntity() instanceof nms_EntityPlayer) { $par2 = 1000.0; $ptr = 2; continue main; } $ptr = 1; case 1: $tmp = nms_EntityLivingBase_attackEntityFrom($this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } var$4 = $tmp; return var$4; case 2: nms_EntityLivingBase_attackEntityFrom($this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } $par1DamageSource = $par1DamageSource.$getEntity(); nms_AchievementList_$callClinit(); $par1DamageSource.$addStat(nms_AchievementList_ghast, 1); return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, var$3, var$4, $ptr); }, nms_EntityGhast_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); nms_DataWatcher_addObject($this.$dataWatcher, 16, jl_Byte_byteCache.data[128]); }, nms_EntityGhast_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) var$1 = ju_HashMap_findNullKeyEntry(var$2); else { var$3 = nms_BaseAttribute_hashCode(var$1); var$1 = ju_HashMap_findNonNullKeyEntry(var$2, var$1, var$3 & (var$2.$elementData.data.length - 1 | 0), var$3); } var$4 = var$1 === null ? null : var$1.$value1; if (0.10000000149011612 !== var$4.$baseValue) { var$4.$baseValue = 0.10000000149011612; var$4.$field_111133_g = 1; var$1 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$4, var$1); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$4 = var$1.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { var$4 = var$2.$key; if (var$1 !== var$4 && !jl_Object_equals(var$1, var$4) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (10.0 !== var$1.$baseValue) { var$1.$baseValue = 10.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityGhast_updateEntityActionState = $this => { let $var17, $var1, $var11, $var3, $var15, $var5, $var13, $var7, var$9, var$10, $var12, var$12, var$13, var$14, $var18, var$16, $var20, var$18, var$19, var$20, var$21, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var20 = $thread.pop();var$16 = $thread.pop();$var18 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var12 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();$var13 = $thread.pop();$var5 = $thread.pop();$var15 = $thread.pop();$var3 = $thread.pop();$var11 = $thread.pop();$var1 = $thread.pop();$var17 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var17 = $this.$worldObj; if (!$var17.$isRemote && !$var17.$difficultySetting) $this.$isDead = 1; $ptr = 1; case 1: nms_EntityLiving_despawnEntity($this); if ($rt_suspending()) { break main; } $this.$prevAttackCounter = $this.$attackCounter; $var1 = $this.$waypointX; $var11 = $this.$posX; $var1 = $var1 - $var11; $var3 = $this.$waypointY; $var15 = $this.$posY; $var3 = $var3 - $var15; $var5 = $this.$waypointZ; $var13 = $this.$posZ; $var5 = $var5 - $var13; $var7 = $var1 * $var1 + $var3 * $var3 + $var5 * $var5; if (!($var7 >= 1.0 && $var7 <= 3600.0)) { $var17 = $this.$rand; var$9 = Long_and(Long_add(Long_mul($var17.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var17.$seed = var$9; $this.$waypointX = $var11 + (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 * 2.0 - 1.0) * 16.0; var$9 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var17.$seed = var$9; $this.$waypointY = $var15 + (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 * 2.0 - 1.0) * 16.0; var$10 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var17.$seed = var$10; $this.$waypointZ = $var13 + (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 2.0 - 1.0) * 16.0; } $var12 = $this.$courseChangeCooldown; var$12 = $var12 - 1 | 0; $this.$courseChangeCooldown = var$12; if ($var12 <= 0) { $var17 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var17.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var17.$seed = var$10; var$13 = Long_lo(Long_shru(var$10, 17)); while (true) { var$14 = var$13 % 5 | 0; if (((var$13 - var$14 | 0) + 4 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($var17.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var17.$seed = var$10; var$13 = Long_lo(Long_shru(var$10, 17)); } $this.$courseChangeCooldown = var$12 + (var$14 + 2 | 0) | 0; $var11 = jl_Math_sqrt($var7); $var15 = $this.$waypointX; $var13 = $this.$waypointY; $var18 = $this.$waypointZ; $ptr = 2; continue main; } $var17 = $this.$targetedEntity; if ($var17 !== null && $var17.$isDead) $this.$targetedEntity = null; a: { if ($this.$targetedEntity !== null) { $var12 = $this.$aggroCooldown; $this.$aggroCooldown = $var12 - 1 | 0; if ($var12 > 0) break a; } $var17 = nms_World_getClosestVulnerablePlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 100.0); $this.$targetedEntity = $var17; if ($var17 !== null) $this.$aggroCooldown = 20; } $var17 = $this.$targetedEntity; if ($var17 !== null) { $var11 = $var17.$posX - $this.$posX; $var1 = $var17.$posY; $var3 = $this.$posY; $var1 = $var1 - $var3; $var15 = $var17.$posZ - $this.$posZ; if ($var11 * $var11 + $var1 * $var1 + $var15 * $var15 < 4096.0) { $var13 = $var17.$boundingBox.$minY + $var17.$height2 / 2.0 - ($var3 + $this.$height2 / 2.0); var$16 = -jl_Math_atan2($var11, $var15) * 180.0 / 3.1415927410125732; $this.$rotationYaw = var$16; $this.$renderYawOffset = var$16; $var17 = $this.$targetedEntity; $ptr = 3; continue main; } } var$16 = -jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $this.$rotationYaw = var$16; $this.$renderYawOffset = var$16; $var12 = $this.$attackCounter; if ($var12 > 0) $this.$attackCounter = $var12 - 1 | 0; if (!$this.$worldObj.$isRemote) { $var17 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var20 = jl_Integer_integerCache.data[144]; if ($var20 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var12 = $var20.$value0; var$18 = $var17.$elementData.data; $var17 = var$18[$var12 & (var$18.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var12) { var$19 = $var17.$key; if ($var20 !== var$19 && !($var20 === var$19 ? 1 : var$19 instanceof jl_Integer && var$19.$value0 == $var12 ? 1 : 0) ? 0 : 1) break; } $var17 = $var17.$next3; } } var$20 = ($var17 === null ? null : $var17.$value1).$watchedObject.$value2; $var12 = ($this.$attackCounter <= 10 ? 0 : 1) << 24 >> 24; if (var$20 != $var12) { $var17 = $this.$dataWatcher; var$21 = jl_Byte_byteCache.data[$var12 + 128 | 0]; $var20 = $var17.$watchedObjects; jl_Integer_ensureIntegerCache(); var$22 = jl_Integer_integerCache.data[144]; if (var$22 === null) { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } else { var$20 = var$22.$value0; var$18 = $var20.$elementData.data; $var20 = var$18[var$20 & (var$18.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == var$20) { var$19 = $var20.$key; if (var$22 !== var$19 && !(var$22 === var$19 ? 1 : var$19 instanceof jl_Integer && var$19.$value0 == var$20 ? 1 : 0) ? 0 : 1) break; } $var20 = $var20.$next3; } } var$19 = $var20 === null ? null : $var20.$value1; $var20 = var$19.$watchedObject; if (!($var20 instanceof jl_Byte && $var20.$value2 == var$21.$value2 ? 1 : 0)) { var$19.$watchedObject = var$21; var$19.$watched = 1; $var17.$objectChanged = 1; } } } return; case 2: $tmp = nms_EntityGhast_isCourseTraversable($this, $var15, $var13, $var18, $var11); if ($rt_suspending()) { break main; } $var12 = $tmp; if (!$var12) { $this.$waypointX = $this.$posX; $this.$waypointY = $this.$posY; $this.$waypointZ = $this.$posZ; } else { $this.$motionX = $this.$motionX + $var1 / $var11 * 0.1; $this.$motionY = $this.$motionY + $var3 / $var11 * 0.1; $this.$motionZ = $this.$motionZ + $var5 / $var11 * 0.1; } $var17 = $this.$targetedEntity; if ($var17 !== null && $var17.$isDead) $this.$targetedEntity = null; b: { if ($this.$targetedEntity !== null) { $var12 = $this.$aggroCooldown; $this.$aggroCooldown = $var12 - 1 | 0; if ($var12 > 0) break b; } $var17 = nms_World_getClosestVulnerablePlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 100.0); $this.$targetedEntity = $var17; if ($var17 !== null) $this.$aggroCooldown = 20; } $var17 = $this.$targetedEntity; if ($var17 !== null) { $var11 = $var17.$posX - $this.$posX; $var1 = $var17.$posY; $var3 = $this.$posY; $var1 = $var1 - $var3; $var15 = $var17.$posZ - $this.$posZ; if ($var11 * $var11 + $var1 * $var1 + $var15 * $var15 < 4096.0) { $var13 = $var17.$boundingBox.$minY + $var17.$height2 / 2.0 - ($var3 + $this.$height2 / 2.0); var$16 = -jl_Math_atan2($var11, $var15) * 180.0 / 3.1415927410125732; $this.$rotationYaw = var$16; $this.$renderYawOffset = var$16; $var17 = $this.$targetedEntity; $ptr = 3; continue main; } } var$16 = -jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732; $this.$rotationYaw = var$16; $this.$renderYawOffset = var$16; $var12 = $this.$attackCounter; if ($var12 > 0) $this.$attackCounter = $var12 - 1 | 0; if (!$this.$worldObj.$isRemote) { $var17 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var20 = jl_Integer_integerCache.data[144]; if ($var20 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var12 = $var20.$value0; var$18 = $var17.$elementData.data; $var17 = var$18[$var12 & (var$18.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var12) { var$19 = $var17.$key; if ($var20 !== var$19 && !($var20 === var$19 ? 1 : var$19 instanceof jl_Integer && var$19.$value0 == $var12 ? 1 : 0) ? 0 : 1) break; } $var17 = $var17.$next3; } } var$20 = ($var17 === null ? null : $var17.$value1).$watchedObject.$value2; $var12 = ($this.$attackCounter <= 10 ? 0 : 1) << 24 >> 24; if (var$20 != $var12) { $var17 = $this.$dataWatcher; var$21 = jl_Byte_byteCache.data[$var12 + 128 | 0]; $var20 = $var17.$watchedObjects; jl_Integer_ensureIntegerCache(); var$22 = jl_Integer_integerCache.data[144]; if (var$22 === null) { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } else { var$20 = var$22.$value0; var$18 = $var20.$elementData.data; $var20 = var$18[var$20 & (var$18.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == var$20) { var$19 = $var20.$key; if (var$22 !== var$19 && !(var$22 === var$19 ? 1 : var$19 instanceof jl_Integer && var$19.$value0 == var$20 ? 1 : 0) ? 0 : 1) break; } $var20 = $var20.$next3; } } var$19 = $var20 === null ? null : $var20.$value1; $var20 = var$19.$watchedObject; if (!($var20 instanceof jl_Byte && $var20.$value2 == var$21.$value2 ? 1 : 0)) { var$19.$watchedObject = var$21; var$19.$watched = 1; $var17.$objectChanged = 1; } } } return; case 3: $tmp = nms_EntityLivingBase_canEntityBeSeen($this, $var17); if ($rt_suspending()) { break main; } $var12 = $tmp; if (!$var12) { $var12 = $this.$attackCounter; if ($var12 > 0) $this.$attackCounter = $var12 - 1 | 0; } else { if ($this.$attackCounter == 10) { $var17 = $this.$worldObj; $var20 = null; $var12 = 1007; var$12 = $this.$posX | 0; var$20 = $this.$posY | 0; var$13 = $this.$posZ | 0; var$14 = 0; var$23 = 0; var$19 = $var17.$worldAccesses; var$24 = $rt_compare(var$23, var$19.$size0); if (var$24 < 0) { if (var$23 >= 0 && var$24 < 0) { var$19 = var$19.$array.data[var$23]; $ptr = 5; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } } $var12 = $this.$attackCounter + 1 | 0; $this.$attackCounter = $var12; if ($var12 == 20) { $var17 = $this.$worldObj; $var20 = null; var$12 = 1008; var$20 = $this.$posX | 0; var$13 = $this.$posY | 0; var$14 = $this.$posZ | 0; $var12 = 0; var$23 = 0; var$19 = $var17.$worldAccesses; var$24 = $rt_compare(var$23, var$19.$size0); if (var$24 >= 0) { $var17 = new nms_EntityLargeFireball; $var20 = $this.$worldObj; $ptr = 4; continue main; } if (var$23 >= 0 && var$24 < 0) { var$19 = var$19.$array.data[var$23]; $ptr = 6; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } } if (!$this.$worldObj.$isRemote) { $var17 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var20 = jl_Integer_integerCache.data[144]; if ($var20 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var12 = $var20.$value0; var$18 = $var17.$elementData.data; $var17 = var$18[$var12 & (var$18.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var12) { var$19 = $var17.$key; if ($var20 !== var$19 && !($var20 === var$19 ? 1 : var$19 instanceof jl_Integer && var$19.$value0 == $var12 ? 1 : 0) ? 0 : 1) break; } $var17 = $var17.$next3; } } var$20 = ($var17 === null ? null : $var17.$value1).$watchedObject.$value2; $var12 = ($this.$attackCounter <= 10 ? 0 : 1) << 24 >> 24; if (var$20 != $var12) { $var17 = $this.$dataWatcher; var$21 = jl_Byte_byteCache.data[$var12 + 128 | 0]; $var20 = $var17.$watchedObjects; jl_Integer_ensureIntegerCache(); var$22 = jl_Integer_integerCache.data[144]; if (var$22 === null) { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } else { var$20 = var$22.$value0; var$18 = $var20.$elementData.data; $var20 = var$18[var$20 & (var$18.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == var$20) { var$19 = $var20.$key; if (var$22 !== var$19 && !(var$22 === var$19 ? 1 : var$19 instanceof jl_Integer && var$19.$value0 == var$20 ? 1 : 0) ? 0 : 1) break; } $var20 = $var20.$next3; } } var$19 = $var20 === null ? null : $var20.$value1; $var20 = var$19.$watchedObject; if (!($var20 instanceof jl_Byte && $var20.$value2 == var$21.$value2 ? 1 : 0)) { var$19.$watchedObject = var$21; var$19.$watched = 1; $var17.$objectChanged = 1; } } } return; case 4: nms_EntityFireball__init_0($var17, $var20, $this, $var11, $var13, $var15); if ($rt_suspending()) { break main; } $var17.$field_92057_e = 1; $var17.$field_92057_e = $this.$explosionStrength; $var20 = nms_EntityLivingBase_getLook($this, 1.0); $var17.$posX = $this.$posX + $var20.$xCoord * 4.0; $var17.$posY = $this.$posY + $this.$height2 / 2.0 + 0.5; $var17.$posZ = $this.$posZ + $var20.$zCoord * 4.0; $var20 = $this.$worldObj; $var12 = nms_World_spawnEntityInWorld($var20, $var17); var$19 = $var20.$entityList; ju_HashMap_putImpl(var$19.$backingMap, $var17, var$19); if (!$var12) { $var20 = $var20.$entitySpawnQueue; ju_HashMap_putImpl($var20.$backingMap, $var17, $var20); } $this.$attackCounter = (-40); if (!$this.$worldObj.$isRemote) { $var17 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var20 = jl_Integer_integerCache.data[144]; if ($var20 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var12 = $var20.$value0; var$18 = $var17.$elementData.data; $var17 = var$18[$var12 & (var$18.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var12) { var$19 = $var17.$key; if ($var20 !== var$19 && !($var20 === var$19 ? 1 : var$19 instanceof jl_Integer && var$19.$value0 == $var12 ? 1 : 0) ? 0 : 1) break; } $var17 = $var17.$next3; } } var$20 = ($var17 === null ? null : $var17.$value1).$watchedObject.$value2; $var12 = ($this.$attackCounter <= 10 ? 0 : 1) << 24 >> 24; if (var$20 != $var12) { $var17 = $this.$dataWatcher; var$21 = jl_Byte_byteCache.data[$var12 + 128 | 0]; $var20 = $var17.$watchedObjects; jl_Integer_ensureIntegerCache(); var$22 = jl_Integer_integerCache.data[144]; if (var$22 === null) { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } else { var$20 = var$22.$value0; var$18 = $var20.$elementData.data; $var20 = var$18[var$20 & (var$18.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == var$20) { var$19 = $var20.$key; if (var$22 !== var$19 && !(var$22 === var$19 ? 1 : var$19 instanceof jl_Integer && var$19.$value0 == var$20 ? 1 : 0) ? 0 : 1) break; } $var20 = $var20.$next3; } } var$19 = $var20 === null ? null : $var20.$value1; $var20 = var$19.$watchedObject; if (!($var20 instanceof jl_Byte && $var20.$value2 == var$21.$value2 ? 1 : 0)) { var$19.$watchedObject = var$21; var$19.$watched = 1; $var17.$objectChanged = 1; } } } return; case 5: nms_RenderGlobal_playAuxSFX(var$19, $var20, $var12, var$12, var$20, var$13, var$14); if ($rt_suspending()) { break main; } var$23 = var$23 + 1 | 0; var$19 = $var17.$worldAccesses; var$24 = $rt_compare(var$23, var$19.$size0); if (var$24 < 0) { if (var$23 >= 0 && var$24 < 0) { var$19 = var$19.$array.data[var$23]; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } $var12 = $this.$attackCounter + 1 | 0; $this.$attackCounter = $var12; if ($var12 != 20) { if (!$this.$worldObj.$isRemote) { $var17 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var20 = jl_Integer_integerCache.data[144]; if ($var20 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var12 = $var20.$value0; var$18 = $var17.$elementData.data; $var17 = var$18[$var12 & (var$18.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var12) { var$19 = $var17.$key; if ($var20 !== var$19 && !($var20 === var$19 ? 1 : var$19 instanceof jl_Integer && var$19.$value0 == $var12 ? 1 : 0) ? 0 : 1) break; } $var17 = $var17.$next3; } } var$20 = ($var17 === null ? null : $var17.$value1).$watchedObject.$value2; $var12 = ($this.$attackCounter <= 10 ? 0 : 1) << 24 >> 24; if (var$20 != $var12) { $var17 = $this.$dataWatcher; var$21 = jl_Byte_byteCache.data[$var12 + 128 | 0]; $var20 = $var17.$watchedObjects; jl_Integer_ensureIntegerCache(); var$22 = jl_Integer_integerCache.data[144]; if (var$22 === null) { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } else { var$20 = var$22.$value0; var$18 = $var20.$elementData.data; $var20 = var$18[var$20 & (var$18.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == var$20) { var$19 = $var20.$key; if (var$22 !== var$19 && !(var$22 === var$19 ? 1 : var$19 instanceof jl_Integer && var$19.$value0 == var$20 ? 1 : 0) ? 0 : 1) break; } $var20 = $var20.$next3; } } var$19 = $var20 === null ? null : $var20.$value1; $var20 = var$19.$watchedObject; if (!($var20 instanceof jl_Byte && $var20.$value2 == var$21.$value2 ? 1 : 0)) { var$19.$watchedObject = var$21; var$19.$watched = 1; $var17.$objectChanged = 1; } } } return; } $var17 = $this.$worldObj; $var20 = null; var$12 = 1008; var$20 = $this.$posX | 0; var$13 = $this.$posY | 0; var$14 = $this.$posZ | 0; $var12 = 0; var$23 = 0; var$19 = $var17.$worldAccesses; var$24 = $rt_compare(var$23, var$19.$size0); if (var$24 >= 0) { $var17 = new nms_EntityLargeFireball; $var20 = $this.$worldObj; $ptr = 4; continue main; } if (var$23 >= 0 && var$24 < 0) { var$19 = var$19.$array.data[var$23]; $ptr = 6; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); case 6: nms_RenderGlobal_playAuxSFX(var$19, $var20, var$12, var$20, var$13, var$14, $var12); if ($rt_suspending()) { break main; } var$23 = var$23 + 1 | 0; var$19 = $var17.$worldAccesses; var$24 = $rt_compare(var$23, var$19.$size0); if (var$24 >= 0) { $var17 = new nms_EntityLargeFireball; $var20 = $this.$worldObj; $ptr = 4; continue main; } if (var$23 >= 0 && var$24 < 0) { var$19 = var$19.$array.data[var$23]; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var17, $var1, $var11, $var3, $var15, $var5, $var13, $var7, var$9, var$10, $var12, var$12, var$13, var$14, $var18, var$16, $var20, var$18, var$19, var$20, var$21, var$22, var$23, var$24, $ptr); }, nms_EntityGhast_isCourseTraversable = ($this, $par1, $par3, $par5, $par7) => { let $var9, $var11, $var13, var$8, var$9, var$10, var$11, var$12, $var16, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var16 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$par7 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var9 = ($this.$waypointX - $this.$posX) / $par7; $var11 = ($this.$waypointY - $this.$posY) / $par7; $var13 = ($this.$waypointZ - $this.$posZ) / $par7; var$8 = $this.$boundingBox; var$9 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $par1 = var$8.$minX; $par3 = var$8.$minY; $par5 = var$8.$minZ; var$10 = var$8.$maxX; var$11 = var$8.$maxY; var$12 = var$8.$maxZ; $var16 = var$9.$nextPoolIndex; var$8 = var$9.$listAABB; var$14 = var$8.$size0; var$15 = $rt_compare($var16, var$14); if (var$15 >= 0) { var$16 = new nms_AxisAlignedBB; var$16.$minX = $par1; var$16.$minY = $par3; var$16.$minZ = $par5; var$16.$maxX = var$10; var$16.$maxY = var$11; var$16.$maxZ = var$12; ju_ArrayList_ensureCapacity(var$8, var$14 + 1 | 0); var$17 = var$8.$array.data; var$14 = var$8.$size0; var$8.$size0 = var$14 + 1 | 0; var$17[var$14] = var$16; var$8.$modCount = var$8.$modCount + 1 | 0; } else if ($var16 >= 0 && var$15 < 0) { var$16 = var$8.$array.data[$var16]; var$16.$minX = $par1; var$16.$minY = $par3; var$16.$minZ = $par5; var$16.$maxX = var$10; var$16.$maxY = var$11; var$16.$maxZ = var$12; } else { var$9 = new jl_IndexOutOfBoundsException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$9); $rt_throw(var$9); } var$9.$nextPoolIndex = var$9.$nextPoolIndex + 1 | 0; $var16 = 1; if ($var16 >= $par7) return 1; var$16.$minX = var$16.$minX + $var9; var$16.$minY = var$16.$minY + $var11; var$16.$minZ = var$16.$minZ + $var13; var$16.$maxX = var$16.$maxX + $var9; var$16.$maxY = var$16.$maxY + $var11; var$16.$maxZ = var$16.$maxZ + $var13; var$9 = $this.$worldObj; $ptr = 1; case 1: $tmp = nms_World_getCollidingBoundingBoxes(var$9, $this, var$16); if ($rt_suspending()) { break main; } var$9 = $tmp; if (!(var$9.$size0 ? 0 : 1)) return 0; $var16 = $var16 + 1 | 0; if ($var16 >= $par7) return 1; var$16.$minX = var$16.$minX + $var9; var$16.$minY = var$16.$minY + $var11; var$16.$minZ = var$16.$minZ + $var13; var$16.$maxX = var$16.$maxX + $var9; var$16.$maxY = var$16.$maxY + $var11; var$16.$maxZ = var$16.$maxZ + $var13; var$9 = $this.$worldObj; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3, $par5, $par7, $var9, $var11, $var13, var$8, var$9, var$10, var$11, var$12, $var16, var$14, var$15, var$16, var$17, $ptr); }, nms_EntityGhast_getLivingSound = $this => { return $rt_s(2002); }, nms_EntityGhast_getHurtSound = $this => { return $rt_s(575); }, nms_EntityGhast_getDeathSound = $this => { return $rt_s(2003); }, nms_EntityGhast_getDropItemId = $this => { nms_Item_$callClinit(); return nms_Item_gunpowder.$itemID0; }, nms_EntityGhast_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, var$5, $var3, var$7, var$8, var$9, var$10, $var4, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var4 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = 17; $var3 = Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$4, var$5)))), 31)); $par1 = 1 + $par2 | 0; var$7 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; var$8 = Long_lo(Long_shru(var$7, var$5)); var$9 = $par1 - 1 | 0; var$10 = $par1 & var$9; if (!var$10) $par2 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt(var$8)), 31)); else while (true) { $par2 = var$8 % $par1 | 0; if (((var$8 - $par2 | 0) + var$9 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; var$8 = Long_lo(Long_shru(var$7, var$5)); } $var3 = $var3 + $par2 | 0; $var4 = 0; var$12 = 0.0; var$8 = 138; if ($var4 < $var3) { nms_Item_$callClinit(); var$13 = nms_Item_ghastTear.$itemID0; var$14 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$14.$itemID = var$13; var$14.$stackSize = 1; var$14.$itemDamage = 0; var$15 = new nms_EntityItem; var$3 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$12; var$18 = $this.$posZ; $ptr = 1; continue main; } var$3 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, var$5)); while (true) { $var4 = $var3 % 3 | 0; if ((($var3 - $var4 | 0) + 2 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, var$5)); } var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $par2 = Long_lo(Long_shru(var$7, var$5)); if (!var$10) $var3 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($par2)), 31)); else while (true) { $var3 = $par2 % $par1 | 0; if ((($par2 - $var3 | 0) + var$9 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $par2 = Long_lo(Long_shru(var$7, var$5)); } $par1 = $var4 + $var3 | 0; $par2 = 0; if ($par2 >= $par1) return; nms_Item_$callClinit(); $var3 = nms_Item_gunpowder.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $var3; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$19 = new nms_EntityItem; var$20 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$12; var$18 = $this.$posZ; $ptr = 2; continue main; case 1: nms_EntityItem__init_(var$15, var$3, var$16, var$17, var$18); if ($rt_suspending()) { break main; } var$20 = var$15.$dataWatcher; var$3 = var$20.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$8]); var$19 = var$3 === null ? null : var$3.$value1; if (!(var$14 !== var$19.$watchedObject ? 0 : 1)) { var$19.$watchedObject = var$14; var$19.$watched = 1; var$20.$objectChanged = 1; } var$20 = var$15.$dataWatcher; var$3 = var$20.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$8]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$20.$objectChanged = 1; var$15.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par2 = nms_World_spawnEntityInWorld(var$3, var$15); var$19 = var$3.$entityList; ju_HashMap_putImpl(var$19.$backingMap, var$15, var$19); if (!$par2) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$15, var$3); } $var4 = $var4 + 1 | 0; if ($var4 < $var3) { nms_Item_$callClinit(); var$13 = nms_Item_ghastTear.$itemID0; var$14 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$14.$itemID = var$13; var$14.$stackSize = 1; var$14.$itemDamage = 0; var$15 = new nms_EntityItem; var$3 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$12; var$18 = $this.$posZ; continue main; } var$3 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, var$5)); while (true) { $var4 = $var3 % 3 | 0; if ((($var3 - $var4 | 0) + 2 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, var$5)); } var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $par2 = Long_lo(Long_shru(var$7, var$5)); if (!var$10) $var3 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($par2)), 31)); else while (true) { $var3 = $par2 % $par1 | 0; if ((($par2 - $var3 | 0) + var$9 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $par2 = Long_lo(Long_shru(var$7, var$5)); } $par1 = $var4 + $var3 | 0; $par2 = 0; if ($par2 >= $par1) return; nms_Item_$callClinit(); $var3 = nms_Item_gunpowder.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $var3; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$19 = new nms_EntityItem; var$20 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$12; var$18 = $this.$posZ; $ptr = 2; case 2: nms_EntityItem__init_(var$19, var$20, var$16, var$17, var$18); if ($rt_suspending()) { break main; } var$14 = var$19.$dataWatcher; var$20 = var$14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$20 = ju_HashMap_entryByKey(var$20, jl_Integer_integerCache.data[var$8]); var$15 = var$20 === null ? null : var$20.$value1; if (!(var$3 !== var$15.$watchedObject ? 0 : 1)) { var$15.$watchedObject = var$3; var$15.$watched = 1; var$14.$objectChanged = 1; } var$15 = var$19.$dataWatcher; var$3 = var$15.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$8]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$15.$objectChanged = 1; var$19.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $var3 = nms_World_spawnEntityInWorld(var$3, var$19); var$20 = var$3.$entityList; ju_HashMap_putImpl(var$20.$backingMap, var$19, var$20); if (!$var3) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$19, var$3); } $par2 = $par2 + 1 | 0; if ($par2 >= $par1) return; nms_Item_$callClinit(); $var3 = nms_Item_gunpowder.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $var3; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$19 = new nms_EntityItem; var$20 = $this.$worldObj; var$16 = $this.$posX; var$17 = $this.$posY + var$12; var$18 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, $var3, var$7, var$8, var$9, var$10, $var4, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr); }, nms_EntityGhast_getSoundVolume = $this => { return 10.0; }, nms_EntityGhast_getCanSpawnHere = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$rand; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { var$4 = var$3 % 20 | 0; if (((var$3 - var$4 | 0) + 19 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } a: { if (!var$4) { if (nms_World_checkNoEntityCollision($this.$worldObj, $this.$boundingBox, null)) { var$1 = $this.$worldObj; var$5 = $this.$boundingBox; $ptr = 1; continue main; } if (0 && $this.$worldObj.$difficultySetting > 0) { var$6 = 1; break a; } } var$6 = 0; } return var$6; case 1: $tmp = nms_World_getCollidingBoundingBoxes(var$1, $this, var$5); if ($rt_suspending()) { break main; } var$1 = $tmp; var$6 = var$1.$size0 ? 0 : 1; var$6 = var$6 && !nms_World_isAnyLiquid($this.$worldObj, $this.$boundingBox) ? 1 : 0; return var$6 && $this.$worldObj.$difficultySetting > 0 ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntityGhast_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$explosionStrength; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagInt; $par1NBTTagCompound.$name = $rt_s(2004); $par1NBTTagCompound.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2004), $par1NBTTagCompound); }, nms_EntityGhast_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2004).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2004).$nativeString.length) break a; $rt_s(2004).$hashCode1 = (31 * $rt_s(2004).$hashCode1 | 0) + $rt_s(2004).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2004).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(2004) !== var$6) { if ($rt_s(2004) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2004).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { c: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2004).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(2004).$nativeString.length) break c; $rt_s(2004).$hashCode1 = (31 * $rt_s(2004).$hashCode1 | 0) + $rt_s(2004).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$3 = $rt_s(2004).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { d: { var$6 = var$2.$key; if ($rt_s(2004) !== var$6) { if ($rt_s(2004) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(2004).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break d; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2004) === null) { var$6 = $par1NBTTagCompound.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { e: { if (!$rt_s(2004).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2004).$nativeString.length) break e; $rt_s(2004).$hashCode1 = (31 * $rt_s(2004).$hashCode1 | 0) + $rt_s(2004).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2004).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$6 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { f: { $par1NBTTagCompound = var$6.$key; if ($rt_s(2004) !== $par1NBTTagCompound) { if ($rt_s(2004) === $par1NBTTagCompound) var$3 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$3 = $rt_s(2004).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$6 = var$6.$next3; } } var$3 = (var$6 === null ? null : var$6.$value1).$data0; } $this.$explosionStrength = var$3; } }, nms_RenderGhast = $rt_classWithoutFields(nms_RenderLiving), nms_RenderGhast_ghastTextures = null, nms_RenderGhast_ghastShootingTextures = null, nms_RenderGhast_$callClinit = () => { nms_RenderGhast_$callClinit = $rt_eraseClinit(nms_RenderGhast); nms_RenderGhast__clinit_(); }, nms_RenderGhast__init_ = $this => { let var$1, var$2; nms_RenderGhast_$callClinit(); var$1 = nms_ModelGhast__init_0(); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.5; }, nms_RenderGhast__init_0 = () => { let var_0 = new nms_RenderGhast(); nms_RenderGhast__init_(var_0); return var_0; }, nms_RenderGhast_preRenderGhast = ($this, $par1EntityGhast, $par2) => { let var$3, $var4, $var5, $var6, var$7; var$3 = $par1EntityGhast.$prevAttackCounter; $var4 = (var$3 + ($par1EntityGhast.$attackCounter - var$3 | 0) * $par2) / 20.0; if ($var4 < 0.0) $var4 = 0.0; $par2 = 1.0 / ($var4 * $var4 * $var4 * $var4 * $var4 * 2.0 + 1.0); $var5 = (8.0 + $par2) / 2.0; $var6 = (8.0 + 1.0 / $par2) / 2.0; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityGhast = nleg_EaglerAdapterGL30_deevis; $par1EntityGhast.$x = $var6; $par1EntityGhast.$y = $var5; $par1EntityGhast.$z = $var6; $par1EntityGhast = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityGhast, $par1EntityGhast); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityGhast = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityGhast); $par1EntityGhast.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $par1EntityGhast.$sb = var$7; $par1EntityGhast.$buffer0 = $rt_createCharArray(32); $par1EntityGhast.$autoFlush = 0; $par1EntityGhast.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityGhast; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; }, nms_RenderGhast_bindTexture = ($this, $par1EntityLiving) => { let var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $par1EntityLiving = $par1EntityLiving.$elementData.data[0]; while ($par1EntityLiving !== null && $par1EntityLiving.$key !== null) { $par1EntityLiving = $par1EntityLiving.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1EntityLiving.$elementData.data; $par1EntityLiving = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1EntityLiving !== null) { if ($par1EntityLiving.$origKeyHash == var$3) { var$5 = $par1EntityLiving.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $par1EntityLiving = $par1EntityLiving.$next3; } } $par1EntityLiving = $par1EntityLiving === null ? null : $par1EntityLiving.$value1; if ($par1EntityLiving.$watchedObject.$value2 != 1) { nms_RenderGhast_$callClinit(); $par1EntityLiving = nms_RenderGhast_ghastTextures; $ptr = 1; continue main; } nms_RenderGhast_$callClinit(); $par1EntityLiving = nms_RenderGhast_ghastShootingTextures; $ptr = 2; continue main; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 2: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, var$2, var$3, var$4, var$5, $ptr); }, nms_RenderGhast_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { nms_RenderGhast_preRenderGhast($this, $par1EntityLivingBase, $par2); }, nms_RenderGhast_getEntityTexture = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5; $par1Entity = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1Entity.$elementData.data; $par1Entity = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$3) { var$5 = $par1Entity.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } if (!(!($par1Entity === null ? null : $par1Entity.$value1).$watchedObject.$value2 ? 0 : 1)) { nms_RenderGhast_$callClinit(); $par1Entity = nms_RenderGhast_ghastTextures; } else { nms_RenderGhast_$callClinit(); $par1Entity = nms_RenderGhast_ghastShootingTextures; } return $par1Entity; }, nms_RenderGhast__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2005); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderGhast_ghastTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2006); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderGhast_ghastShootingTextures = var$1; }, nms_EntityWaterMob = $rt_classWithoutFields(nms_EntityCreature), nms_EntityWaterMob_canBreatheUnderwater = $this => { return 1; }, nms_EntityWaterMob_getTalkInterval = $this => { return 120; }, nms_EntityWaterMob_canDespawn = $this => { return 1; }, nms_EntityWaterMob_getExperiencePoints = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4; $par1EntityPlayer = $this.$worldObj.$rand0; var$2 = Long_and(Long_add(Long_mul($par1EntityPlayer.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityPlayer.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { var$4 = var$3 % 3 | 0; if (((var$3 - var$4 | 0) + 2 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($par1EntityPlayer.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityPlayer.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } return 1 + var$4 | 0; }, nms_EntityWaterMob_onEntityUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[129]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$6 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value8; $ptr = 1; case 1: a: { nms_EntityLivingBase_onEntityUpdate($this); if ($rt_suspending()) { break main; } if (!$this.$isDead) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[134]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$7 = jl_Integer_hashCode(var$5.$value0); var$4 = var$1.$elementData.data; var$1 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$1 !== null && !(var$1.$origKeyHash == var$7 && ju_HashMap_areEqualKeys(var$5, var$1.$key))) { var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { var$3 = 1; break a; } } var$3 = 0; } if (var$3) { var$1 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; var$7 = Long_lo(Long_shru(var$8, 17)); while (true) { var$9 = var$7 % 1000 | 0; if (((var$7 - var$9 | 0) + 999 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; var$7 = Long_lo(Long_shru(var$8, 17)); } var$10 = $this.$livingSoundTime; $this.$livingSoundTime = var$10 + 1 | 0; if (var$9 < var$10) $this.$livingSoundTime = (-120); } b: { if (!$this.$isDead) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[134]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$7 = var$5.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$7) { var$2 = var$1.$key; if (var$5 !== var$2 && !jl_Integer_equals(var$5, var$2) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { var$3 = 1; break b; } } var$3 = 0; } c: { if (var$3) { var$1 = $this.$worldObj; var$2 = $this.$boundingBox; var$11 = var$2.$minX - 0.0; var$12 = var$2.$minY + 0.6000000238418579; var$13 = var$2.$minZ - 0.0; var$14 = var$2.$maxX + 0.0; var$15 = var$2.$maxY + (-0.6000000238418579); var$16 = var$2.$maxZ + 0.0; var$5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$5.$nextPoolIndex; var$2 = var$5.$listAABB; var$3 = var$2.$size0; var$7 = $rt_compare(var$10, var$3); if (var$7 >= 0) { var$17 = new nms_AxisAlignedBB; var$17.$minX = var$11; var$17.$minY = var$12; var$17.$minZ = var$13; var$17.$maxX = var$14; var$17.$maxY = var$15; var$17.$maxZ = var$16; ju_ArrayList_ensureCapacity(var$2, var$3 + 1 | 0); var$4 = var$2.$array.data; var$10 = var$2.$size0; var$2.$size0 = var$10 + 1 | 0; var$4[var$10] = var$17; var$2.$modCount = var$2.$modCount + 1 | 0; } else if (var$10 >= 0 && var$7 < 0) { var$17 = var$2.$array.data[var$10]; var$17.$minX = var$11; var$17.$minY = var$12; var$17.$minZ = var$13; var$17.$maxX = var$14; var$17.$maxY = var$15; var$17.$maxZ = var$16; } else { var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } var$5.$nextPoolIndex = var$5.$nextPoolIndex + 1 | 0; nms_Material_$callClinit(); if (!nms_World_handleMaterialAcceleration(var$1, var$17, nms_Material_water, $this)) { var$3 = var$6 + (-1) | 0; var$1 = $this.$dataWatcher; var$3 = var$3 << 16 >> 16; if (var$3 >= (-128) && var$3 <= 127) { jl_Short_ensureShortCache(); var$2 = jl_Short_shortCache.data[var$3 + 128 | 0]; } else { var$2 = new jl_Short; var$2.$value8 = var$3; } var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$18 = jl_Integer_integerCache.data[129]; if (var$18 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$10 = var$18.$value0; var$4 = var$5.$elementData.data; var$5 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$10) { var$17 = var$5.$key; if (var$18 !== var$17 && !(var$18 === var$17 ? 1 : var$17 instanceof jl_Integer && var$17.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$17 = var$5 === null ? null : var$5.$value1; var$5 = var$17.$watchedObject; if (!(var$5 instanceof jl_Short && var$5.$value8 == var$2.$value8 ? 1 : 0)) { var$17.$watchedObject = var$2; var$17.$watched = 1; var$1.$objectChanged = 1; } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[129]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$10 = var$5.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$10) { var$2 = var$1.$key; if (var$5 !== var$2 && !(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value8 != (-20)) break c; else { var$1 = $this.$dataWatcher; jl_Short_ensureShortCache(); var$18 = jl_Short_shortCache.data[128]; var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$17 = jl_Integer_integerCache.data[129]; if (var$17 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$10 = var$17.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { var$5 = var$2.$key; if (var$17 !== var$5 && !(var$17 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$5 = var$2 === null ? null : var$2.$value1; var$2 = var$5.$watchedObject; if (!(var$2 instanceof jl_Short && var$2.$value8 == var$18.$value8 ? 1 : 0)) { var$5.$watchedObject = var$18; var$5.$watched = 1; var$1.$objectChanged = 1; } var$1 = nms_DamageSource_drown; var$19 = 2.0; $ptr = 2; continue main; } } } var$1 = $this.$dataWatcher; var$18 = new jl_Short; var$18.$value8 = 300; var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$17 = jl_Integer_integerCache.data[129]; if (var$17 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$10 = var$17.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { var$5 = var$2.$key; if (var$17 !== var$5 && !(var$17 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$5 = var$2 === null ? null : var$2.$value1; var$2 = var$5.$watchedObject; if (!(var$2 instanceof jl_Short && var$2.$value8 == var$18.$value8 ? 1 : 0)) { var$5.$watchedObject = var$18; var$5.$watched = 1; var$1.$objectChanged = 1; } } return; case 2: nms_EntityLivingBase_attackEntityFrom($this, var$1, var$19); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }; function nms_EntitySquid() { let a = this; nms_EntityWaterMob.call(a); a.$squidPitch = 0.0; a.$prevSquidPitch = 0.0; a.$squidYaw = 0.0; a.$prevSquidYaw = 0.0; a.$squidRotation = 0.0; a.$prevSquidRotation = 0.0; a.$tentacleAngle = 0.0; a.$prevTentacleAngle = 0.0; a.$randomMotionSpeed = 0.0; a.$rotationVelocity = 0.0; a.$field_70871_bB = 0.0; a.$randomMotionVecX = 0.0; a.$randomMotionVecY = 0.0; a.$randomMotionVecZ = 0.0; } let nms_EntitySquid_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) var$1 = ju_HashMap_findNullKeyEntry(var$2); else { var$3 = nms_BaseAttribute_hashCode(var$1); var$1 = ju_HashMap_findNonNullKeyEntry(var$2, var$1, var$3 & (var$2.$elementData.data.length - 1 | 0), var$3); } var$4 = var$1 === null ? null : var$1.$value1; if (0.10000000149011612 !== var$4.$baseValue) { var$4.$baseValue = 0.10000000149011612; var$4.$field_111133_g = 1; var$1 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$4, var$1); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$4 = var$1.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { var$4 = var$2.$key; if (var$1 !== var$4 && !jl_Object_equals(var$1, var$4) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (10.0 !== var$1.$baseValue) { var$1.$baseValue = 10.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntitySquid_getLivingSound = $this => { return null; }, nms_EntitySquid_getHurtSound = $this => { return null; }, nms_EntitySquid_getDeathSound = $this => { return null; }, nms_EntitySquid_getSoundVolume = $this => { return 0.4000000059604645; }, nms_EntitySquid_getDropItemId = $this => { return 0; }, nms_EntitySquid_canTriggerWalking = $this => { return 0; }, nms_EntitySquid_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, $var3, var$6, $var4, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$rand; $par1 = 3 + $par2 | 0; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var3 = Long_lo(Long_shru(var$4, 17)); $par2 = $par1 - 1 | 0; if (!($par1 & $par2)) var$6 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($var3)), 31)); else while (true) { var$6 = $var3 % $par1 | 0; if ((($var3 - var$6 | 0) + $par2 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var3 = Long_lo(Long_shru(var$4, 17)); } $var3 = var$6 + 1 | 0; $var4 = 0; var$8 = 0.0; var$9 = 138; if ($var4 >= $var3) return; var$10 = new nms_ItemStack; nms_Item_$callClinit(); var$3 = nms_Item_dyePowder; nms_ItemStack_$callClinit(); var$10.$itemID = var$3.$itemID0; var$10.$stackSize = 1; var$10.$itemDamage = 0; var$11 = new nms_EntityItem; var$3 = $this.$worldObj; var$12 = $this.$posX; var$13 = $this.$posY + var$8; var$14 = $this.$posZ; $ptr = 1; case 1: nms_EntityItem__init_(var$11, var$3, var$12, var$13, var$14); if ($rt_suspending()) { break main; } var$15 = var$11.$dataWatcher; var$3 = var$15.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[var$9]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $par2 = jl_Integer_hashCode(var$16.$value0); var$17 = var$3.$elementData.data; var$3 = var$17[$par2 & (var$17.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == $par2 && ju_HashMap_areEqualKeys(var$16, var$3.$key))) { var$3 = var$3.$next3; } } var$18 = var$3 === null ? null : var$3.$value1; if (!(var$10 !== var$18.$watchedObject ? 0 : 1)) { var$18.$watchedObject = var$10; var$18.$watched = 1; var$15.$objectChanged = 1; } var$15 = var$11.$dataWatcher; var$3 = var$15.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[var$9]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $par1 = jl_Integer_hashCode(var$16.$value0); var$17 = var$3.$elementData.data; var$3 = var$17[$par1 & (var$17.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == $par1 && ju_HashMap_areEqualKeys(var$16, var$3.$key))) { var$3 = var$3.$next3; } } (var$3 === null ? null : var$3.$value1).$watched = 1; var$15.$objectChanged = 1; var$11.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$11); var$18 = var$3.$entityList; ju_HashMap_putImpl(var$18.$backingMap, var$11, var$18); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$11, var$3); } $var4 = $var4 + 1 | 0; if ($var4 >= $var3) return; var$10 = new nms_ItemStack; nms_Item_$callClinit(); var$3 = nms_Item_dyePowder; nms_ItemStack_$callClinit(); var$10.$itemID = var$3.$itemID0; var$10.$stackSize = 1; var$10.$itemDamage = 0; var$11 = new nms_EntityItem; var$3 = $this.$worldObj; var$12 = $this.$posX; var$13 = $this.$posY + var$8; var$14 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, $var3, var$6, $var4, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntitySquid_isInWater = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; var$1 = $this.$worldObj; var$2 = $this.$boundingBox; var$3 = var$2.$minX - 0.0; var$4 = var$2.$minY + 0.6000000238418579; var$5 = var$2.$minZ - 0.0; var$6 = var$2.$maxX + 0.0; var$7 = var$2.$maxY + (-0.6000000238418579); var$8 = var$2.$maxZ + 0.0; var$9 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9.$nextPoolIndex; var$11 = var$9.$listAABB; var$12 = var$11.$size0; var$13 = $rt_compare(var$10, var$12); if (var$13 >= 0) { var$2 = new nms_AxisAlignedBB; var$2.$minX = var$3; var$2.$minY = var$4; var$2.$minZ = var$5; var$2.$maxX = var$6; var$2.$maxY = var$7; var$2.$maxZ = var$8; ju_ArrayList_ensureCapacity(var$11, var$12 + 1 | 0); var$14 = var$11.$array.data; var$12 = var$11.$size0; var$11.$size0 = var$12 + 1 | 0; var$14[var$12] = var$2; var$11.$modCount = var$11.$modCount + 1 | 0; } else if (var$10 >= 0 && var$13 < 0) { var$2 = var$11.$array.data[var$10]; var$2.$minX = var$3; var$2.$minY = var$4; var$2.$minZ = var$5; var$2.$maxX = var$6; var$2.$maxY = var$7; var$2.$maxZ = var$8; } else { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$9.$nextPoolIndex = var$9.$nextPoolIndex + 1 | 0; nms_Material_$callClinit(); return nms_World_handleMaterialAcceleration(var$1, var$2, nms_Material_water, $this); }, nms_EntitySquid_onLivingUpdate = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var1_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1_0 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } $this.$prevSquidPitch = $this.$squidPitch; $this.$prevSquidYaw = $this.$squidYaw; $var1 = $this.$squidRotation; $this.$prevSquidRotation = $var1; $this.$prevTentacleAngle = $this.$tentacleAngle; $var1 = $var1 + $this.$rotationVelocity; $this.$squidRotation = $var1; if ($var1 > 6.2831854820251465) { $this.$squidRotation = $var1 - 6.2831854820251465; var$2 = $this.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 10 | 0; if (((var$4 - var$5 | 0) + 9 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } if (!var$5) { var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; $this.$rotationVelocity = 1.0 / (Long_lo(Long_shru(var$3, 24)) / 1.6777216E7 + 1.0) * 0.20000000298023224; } } var$2 = $this.$worldObj; var$6 = $this.$boundingBox; var$7 = var$6.$minX - 0.0; var$8 = var$6.$minY + 0.6000000238418579; var$9 = var$6.$minZ - 0.0; var$10 = var$6.$maxX + 0.0; var$11 = var$6.$maxY + (-0.6000000238418579); var$12 = var$6.$maxZ + 0.0; var$13 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$4 = var$13.$nextPoolIndex; var$6 = var$13.$listAABB; var$14 = var$6.$size0; var$15 = $rt_compare(var$4, var$14); if (var$15 >= 0) { var$16 = new nms_AxisAlignedBB; var$16.$minX = var$7; var$16.$minY = var$8; var$16.$minZ = var$9; var$16.$maxX = var$10; var$16.$maxY = var$11; var$16.$maxZ = var$12; ju_ArrayList_ensureCapacity(var$6, var$14 + 1 | 0); var$17 = var$6.$array.data; var$14 = var$6.$size0; var$6.$size0 = var$14 + 1 | 0; var$17[var$14] = var$16; var$6.$modCount = var$6.$modCount + 1 | 0; } else if (var$4 >= 0 && var$15 < 0) { var$16 = var$6.$array.data[var$4]; var$16.$minX = var$7; var$16.$minY = var$8; var$16.$minZ = var$9; var$16.$maxX = var$10; var$16.$maxY = var$11; var$16.$maxZ = var$12; } else { var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$2); $rt_throw(var$2); } var$13.$nextPoolIndex = var$13.$nextPoolIndex + 1 | 0; nms_Material_$callClinit(); if (!nms_World_handleMaterialAcceleration(var$2, var$16, nms_Material_water, $this)) { $var1 = $this.$squidRotation; var$18 = nms_MathHelper_SIN_TABLE.data[($var1 * 10430.3779296875 | 0) & 65535]; if (var$18 < 0.0) var$18 = -var$18; $this.$tentacleAngle = var$18 * 3.1415927410125732 * 0.25; if (!$this.$worldObj.$isRemote) { $this.$motionX = 0.0; var$10 = $this.$motionY - 0.08; $this.$motionY = var$10; $this.$motionY = var$10 * 0.9800000190734863; $this.$motionZ = 0.0; } var$18 = $this.$squidPitch; $this.$squidPitch = var$18 + ((-90.0) - var$18) * 0.02; } else { $var1 = $this.$squidRotation; if ($var1 >= 3.1415927410125732) { $this.$tentacleAngle = 0.0; $this.$randomMotionSpeed = $this.$randomMotionSpeed * 0.8999999761581421; $this.$field_70871_bB = $this.$field_70871_bB * 0.9900000095367432; } else { $var1 = $var1 / 3.1415927410125732; var$18 = $var1 * $var1 * 3.1415927410125732; $this.$tentacleAngle = nms_MathHelper_SIN_TABLE.data[(var$18 * 10430.3779296875 | 0) & 65535] * 3.1415927410125732 * 0.25; if ($var1 <= 0.75) $this.$field_70871_bB = $this.$field_70871_bB * 0.800000011920929; else { $this.$randomMotionSpeed = 1.0; $this.$field_70871_bB = 1.0; } } if (!$this.$worldObj.$isRemote) { $var1 = $this.$randomMotionVecX; var$18 = $this.$randomMotionSpeed; $this.$motionX = $var1 * var$18; $this.$motionY = $this.$randomMotionVecY * var$18; $this.$motionZ = $this.$randomMotionVecZ * var$18; } var$10 = $this.$motionX; var$10 = var$10 * var$10; var$11 = $this.$motionZ; $var1_0 = jl_Math_sqrt(var$10 + var$11 * var$11); $var1 = $this.$renderYawOffset + ( -jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.1415927410125732 - $this.$renderYawOffset) * 0.10000000149011612; $this.$renderYawOffset = $var1; $this.$rotationYaw = $var1; $this.$squidYaw = $this.$squidYaw + 3.1415927410125732 * $this.$field_70871_bB * 1.5; $this.$squidPitch = $this.$squidPitch + ( -jl_Math_atan2($var1_0, $this.$motionY) * 180.0 / 3.1415927410125732 - $this.$squidPitch) * 0.10000000149011612; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var1_0, $ptr); }, nms_EntitySquid_moveEntityWithHeading = ($this, $par1, $par2) => { let var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$motionX; var$4 = $this.$motionY; var$5 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$3, var$4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, $ptr); }, nms_EntitySquid_updateEntityActionState = $this => { let var$1, var$2, var$3, var$4, var$5, $var1, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var1 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { var$1 = $this.$entityAge + 1 | 0; $this.$entityAge = var$1; if (var$1 > 100) { $this.$randomMotionVecZ = 0.0; $this.$randomMotionVecY = 0.0; $this.$randomMotionVecX = 0.0; } else { var$2 = $this.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 50 | 0; if (((var$4 - var$5 | 0) + 49 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } if (var$5 && $this.$inWater) { if ($this.$randomMotionVecX !== 0.0) break a; if ($this.$randomMotionVecY !== 0.0) break a; if ($this.$randomMotionVecZ !== 0.0) break a; } var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; $var1 = Long_lo(Long_shru(var$3, 24)) / 1.6777216E7 * 3.1415927410125732 * 2.0; var$7 = nms_MathHelper_SIN_TABLE.data; var$8 = $var1 * 10430.3779296875; $this.$randomMotionVecX = var$7[(var$8 + 16384.0 | 0) & 65535] * 0.20000000298023224; var$3 = Long_and(Long_add(Long_mul(var$3, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; $this.$randomMotionVecY = (-0.10000000149011612) + Long_lo(Long_shru(var$3, 24)) / 1.6777216E7 * 0.20000000298023224; $this.$randomMotionVecZ = var$7[(var$8 | 0) & 65535] * 0.20000000298023224; } } $ptr = 1; case 1: nms_EntityLiving_despawnEntity($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, $var1, var$7, var$8, $ptr); }, nms_EntitySquid_getCanSpawnHere = $this => { let var$1; var$1 = $this.$posY; return var$1 > 45.0 && var$1 < 63.0 && nms_World_checkNoEntityCollision($this.$worldObj, $this.$boundingBox, null) ? 1 : 0; }, nms_RenderSquid = $rt_classWithoutFields(nms_RenderLiving), nms_RenderSquid_squidTextures = null, nms_RenderSquid_$callClinit = () => { nms_RenderSquid_$callClinit = $rt_eraseClinit(nms_RenderSquid); nms_RenderSquid__clinit_(); }, nms_RenderSquid_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderSquid_$callClinit(); $par1EntityLiving = nms_RenderSquid_squidTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderSquid_rotateSquidsCorpse = ($this, $par1EntitySquid, $par2, $par3, $par4) => { let $var5, $var6, var$7; $par2 = $par1EntitySquid.$prevSquidPitch; $var5 = $par2 + ($par1EntitySquid.$squidPitch - $par2) * $par4; $par2 = $par1EntitySquid.$prevSquidYaw; $var6 = $par2 + ($par1EntitySquid.$squidYaw - $par2) * $par4; nleg_EaglerAdapterGL30_$callClinit(); $par1EntitySquid = nleg_EaglerAdapterGL30_deevis; $par1EntitySquid.$x = 0.0; $par1EntitySquid.$y = 0.5; $par1EntitySquid.$z = 0.0; $par1EntitySquid = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntitySquid, $par1EntitySquid); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntitySquid = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntitySquid); $par1EntitySquid.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $par1EntitySquid.$sb = var$7; $par1EntitySquid.$buffer0 = $rt_createCharArray(32); $par1EntitySquid.$autoFlush = 0; $par1EntitySquid.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntitySquid; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par3 = 180.0 - $par3; $par1EntitySquid = nleg_EaglerAdapterGL30_deevis; $par1EntitySquid.$x = 0.0; $par1EntitySquid.$y = 1.0; $par1EntitySquid.$z = 0.0; $par1EntitySquid = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par3 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntitySquid, $par1EntitySquid); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntitySquid = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntitySquid); $par1EntitySquid.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $par1EntitySquid.$sb = var$7; $par1EntitySquid.$buffer0 = $rt_createCharArray(32); $par1EntitySquid.$autoFlush = 0; $par1EntitySquid.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntitySquid; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntitySquid = nleg_EaglerAdapterGL30_deevis; $par1EntitySquid.$x = 1.0; $par1EntitySquid.$y = 0.0; $par1EntitySquid.$z = 0.0; $par1EntitySquid = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var5 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntitySquid, $par1EntitySquid); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntitySquid = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntitySquid); $par1EntitySquid.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $par1EntitySquid.$sb = var$7; $par1EntitySquid.$buffer0 = $rt_createCharArray(32); $par1EntitySquid.$autoFlush = 0; $par1EntitySquid.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntitySquid; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntitySquid = nleg_EaglerAdapterGL30_deevis; $par1EntitySquid.$x = 0.0; $par1EntitySquid.$y = 1.0; $par1EntitySquid.$z = 0.0; $par1EntitySquid = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var6 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntitySquid, $par1EntitySquid); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntitySquid = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntitySquid); $par1EntitySquid.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $par1EntitySquid.$sb = var$7; $par1EntitySquid.$buffer0 = $rt_createCharArray(32); $par1EntitySquid.$autoFlush = 0; $par1EntitySquid.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntitySquid; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntitySquid = nleg_EaglerAdapterGL30_deevis; $par1EntitySquid.$x = 0.0; $par1EntitySquid.$y = (-1.2000000476837158); $par1EntitySquid.$z = 0.0; $par1EntitySquid = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntitySquid, $par1EntitySquid); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntitySquid = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntitySquid); $par1EntitySquid.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $par1EntitySquid.$sb = var$7; $par1EntitySquid.$buffer0 = $rt_createCharArray(32); $par1EntitySquid.$autoFlush = 0; $par1EntitySquid.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntitySquid; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RenderSquid_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderSquid_handleRotationFloat = ($this, $par1EntityLivingBase, $par2) => { let var$3; $par1EntityLivingBase = $par1EntityLivingBase; var$3 = $par1EntityLivingBase.$prevTentacleAngle; return var$3 + ($par1EntityLivingBase.$tentacleAngle - var$3) * $par2; }, nms_RenderSquid_rotateCorpse = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { nms_RenderSquid_rotateSquidsCorpse($this, $par1EntityLivingBase, $par2, $par3, $par4); }, nms_RenderSquid_getEntityTexture = ($this, $par1Entity) => { nms_RenderSquid_$callClinit(); return nms_RenderSquid_squidTextures; }, nms_RenderSquid_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderSquid__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2007); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderSquid_squidTextures = var$1; }; function nms_ModelSquid() { let a = this; nms_ModelBase.call(a); a.$squidBody = null; a.$squidTentacles = null; } let nms_ModelSquid__init_ = $this => { let var$1, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $var3, $var5, $var6, var$14; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; $var2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, $var2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; $this.$squidTentacles = $rt_createArray(nms_ModelRenderer, 8); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; $this.$squidBody = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 0, (-6.0), (-8.0), (-6.0), 12, 16, 12, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$squidBody; var$1.$rotationPointY = var$1.$rotationPointY + 8.0; $var2 = 0; var$6 = null; while (true) { var$3 = $this.$squidTentacles.data; if ($var2 >= var$3.length) break; var$5 = new nms_ModelRenderer; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$1; var$5.$baseModel = $this; var$1 = $this.$boxList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$4 = var$1.$array.data; var$8 = var$1.$size0; var$1.$size0 = var$8 + 1 | 0; var$4[var$8] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$5.$boxName = var$6; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$5.$textureWidth = var$9; var$5.$textureHeight = var$8; var$5.$textureOffsetX = 48; var$5.$textureOffsetY = 0; var$3[$var2] = var$5; var$10 = $var2 * 3.141592653589793; $var3 = var$10 * 2.0 / $this.$squidTentacles.data.length; $var5 = jl_Math_cos($var3) * 5.0; $var6 = jl_Math_sin($var3) * 5.0; var$14 = $this.$squidTentacles.data[$var2]; var$5 = var$14.$cubeList; var$1 = nms_ModelBox__init_(var$14, var$14.$textureOffsetX, var$14.$textureOffsetY, (-1.0), 0.0, (-1.0), 2, 18, 2, 0.0); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$4[var$8] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$4 = $this.$squidTentacles.data; var$4[$var2].$rotationPointX = $var5; var$4[$var2].$rotationPointZ = $var6; var$4[$var2].$rotationPointY = 15.0; $var3 = var$10 * (-2.0) / var$4.length + 1.5707963267948966; var$4[$var2].$rotateAngleY = $var3; $var2 = $var2 + 1 | 0; } }, nms_ModelSquid__init_0 = () => { let var_0 = new nms_ModelSquid(); nms_ModelSquid__init_(var_0); return var_0; }, nms_ModelSquid_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let $var8, $var9, $var10; $var8 = $this.$squidTentacles.data; $var9 = $var8.length; $var10 = 0; while ($var10 < $var9) { $var8[$var10].$rotateAngleX = $par3; $var10 = $var10 + 1 | 0; } }, nms_ModelSquid_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, var$9, var$10, $var8; var$8 = $this.$squidTentacles.data; var$9 = var$8.length; var$10 = 0; while (var$10 < var$9) { var$8[var$10].$rotateAngleX = $par4; var$10 = var$10 + 1 | 0; } nms_ModelRenderer_render($this.$squidBody, $par7); $var8 = 0; while (true) { var$8 = $this.$squidTentacles.data; if ($var8 >= var$8.length) break; nms_ModelRenderer_render(var$8[$var8], $par7); $var8 = $var8 + 1 | 0; } }, nms_IMerchant = $rt_classWithoutFields(0), nms_INpc = $rt_classWithoutFields(0); function nms_EntityVillager() { let a = this; nms_EntityAgeable.call(a); a.$randomTickDivider = 0; a.$isMating = 0; a.$isPlaying = 0; a.$villageObj = null; a.$buyingPlayer = null; a.$buyingList = null; a.$timeUntilReset = 0; a.$needsInitilization = 0; a.$wealth = 0; a.$lastBuyingPlayer = null; a.$field_82190_bM = 0; a.$field_82191_bN = 0.0; } let nms_EntityVillager_villagerStockList = null, nms_EntityVillager_blacksmithSellingList = null, nms_EntityVillager_$callClinit = () => { nms_EntityVillager_$callClinit = $rt_eraseClinit(nms_EntityVillager); nms_EntityVillager__clinit_(); }, nms_EntityVillager__init_ = ($this, $par1World, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityVillager_$callClinit(); nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; $this.$field_98056_d = (-1.0); $par1World = $this.$dataWatcher; if ($par2 >= (-128) && $par2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$par2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $par2; } var$4 = $par1World.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = var$8.$watchedObject; if (!(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$3.$value0 ? 1 : 0)) { var$8.$watchedObject = var$3; var$8.$watched = 1; $par1World.$objectChanged = 1; } $par2 = $this.$field_98056_d <= 0.0 ? 0 : 1; $this.$field_98056_d = 0.6000000238418579; $this.$field_98057_e = 1.7999999523162842; if ($par2) { var$4 = $this.$navigator; var$4.$canPassClosedWoodenDoors = 1; var$4.$avoidsWater = 1; $par1World = $this.$tasks0; var$3 = new nms_EntityAISwimming; var$3.$theEntity2 = $this; var$3.$mutexBits = 4; var$4.$canSwim = 1; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 0; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; var$3 = $this.$tasks0; var$4 = new nms_EntityAIAvoidEntity; var$8 = new nms_EntityAIAvoidEntitySelector; var$8.$entityAvoiderAI = var$4; var$4.$field_98218_a = var$8; var$4.$theEntity3 = $this; var$4.$targetEntityClass = $rt_cls(nms_EntityZombie); var$4.$distanceFromEntity = 8.0; var$4.$farSpeed = 0.6; var$4.$nearSpeed = 0.6; var$4.$entityPathNavigate = $this.$navigator; var$4.$mutexBits = 1; var$8 = var$3.$taskEntries; $par1World = new nms_EntityAITaskEntry; $par1World.$tasks = var$3; $par1World.$priority = 1; $par1World.$action = var$4; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = $par1World; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAITradePlayer; var$3.$villager = $this; var$3.$mutexBits = 5; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 1; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAILookAtTradePlayer; var$3.$theWatcher = $this; var$3.$watchedClass = $rt_cls(nms_EntityPlayer); var$3.$maxDistanceForPlayer = 8.0; var$3.$field_75331_e = 0.019999999552965164; var$3.$mutexBits = 2; var$3.$theMerchant1 = $this; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 1; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIMoveIndoors; var$3.$insidePosX = (-1); var$3.$insidePosZ = (-1); var$3.$entityObj = $this; var$3.$mutexBits = 1; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 2; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; $par2 = var$8.$size0; var$8.$size0 = $par2 + 1 | 0; var$7[$par2] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIRestrictOpenDoor; var$3.$entityObj0 = $this; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 3; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIOpenDoor; var$3.$theEntity1 = $this; var$3.$theEntity1 = $this; var$3.$field_75361_i = 1; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 4; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIMoveTowardsRestriction; var$3.$theEntity0 = $this; var$3.$movementSpeed = 0.6; var$3.$mutexBits = 1; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 5; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIVillagerMate; var$3.$villagerObj = $this; var$3.$worldObj10 = $this.$worldObj; var$3.$mutexBits = 3; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 6; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIFollowGolem; var$3.$theVillager = $this; var$3.$mutexBits = 3; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 7; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIPlay; var$3.$villagerObj0 = $this; var$3.$field_75261_c = 0.32; var$3.$mutexBits = 1; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 8; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIWatchClosest2; var$3.$theWatcher = $this; var$3.$watchedClass = $rt_cls(nms_EntityPlayer); var$3.$maxDistanceForPlayer = 3.0; var$3.$field_75331_e = 1.0; var$3.$mutexBits = 2; var$3.$mutexBits = 3; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 9; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIWatchClosest2; var$3.$theWatcher = $this; var$3.$watchedClass = $rt_cls(nms_EntityVillager); var$3.$maxDistanceForPlayer = 5.0; var$3.$field_75331_e = 0.019999999552965164; var$3.$mutexBits = 2; var$3.$mutexBits = 3; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 9; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIWander; var$3.$entity = $this; var$3.$speed = 0.6; var$3.$mutexBits = 1; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 9; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIWatchClosest; var$3.$theWatcher = $this; var$3.$watchedClass = $rt_cls(nms_EntityLiving); var$3.$maxDistanceForPlayer = 8.0; var$3.$field_75331_e = 0.019999999552965164; var$3.$mutexBits = 2; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 10; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; return; } var$10 = 0.6000000238418579; var$11 = 1.7999999523162842; $ptr = 1; case 1: nms_Entity_setSize($this, var$10, var$11); if ($rt_suspending()) { break main; } var$4 = $this.$navigator; var$4.$canPassClosedWoodenDoors = 1; var$4.$avoidsWater = 1; $par1World = $this.$tasks0; var$3 = new nms_EntityAISwimming; var$3.$theEntity2 = $this; var$3.$mutexBits = 4; var$4.$canSwim = 1; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 0; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; var$3 = $this.$tasks0; var$4 = new nms_EntityAIAvoidEntity; var$8 = new nms_EntityAIAvoidEntitySelector; var$8.$entityAvoiderAI = var$4; var$4.$field_98218_a = var$8; var$4.$theEntity3 = $this; var$4.$targetEntityClass = $rt_cls(nms_EntityZombie); var$4.$distanceFromEntity = 8.0; var$4.$farSpeed = 0.6; var$4.$nearSpeed = 0.6; var$4.$entityPathNavigate = $this.$navigator; var$4.$mutexBits = 1; var$8 = var$3.$taskEntries; $par1World = new nms_EntityAITaskEntry; $par1World.$tasks = var$3; $par1World.$priority = 1; $par1World.$action = var$4; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = $par1World; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAITradePlayer; var$3.$villager = $this; var$3.$mutexBits = 5; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 1; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAILookAtTradePlayer; var$3.$theWatcher = $this; var$3.$watchedClass = $rt_cls(nms_EntityPlayer); var$3.$maxDistanceForPlayer = 8.0; var$3.$field_75331_e = 0.019999999552965164; var$3.$mutexBits = 2; var$3.$theMerchant1 = $this; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 1; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIMoveIndoors; var$3.$insidePosX = (-1); var$3.$insidePosZ = (-1); var$3.$entityObj = $this; var$3.$mutexBits = 1; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 2; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; $par2 = var$8.$size0; var$8.$size0 = $par2 + 1 | 0; var$7[$par2] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIRestrictOpenDoor; var$3.$entityObj0 = $this; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 3; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIOpenDoor; var$3.$theEntity1 = $this; var$3.$theEntity1 = $this; var$3.$field_75361_i = 1; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 4; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIMoveTowardsRestriction; var$3.$theEntity0 = $this; var$3.$movementSpeed = 0.6; var$3.$mutexBits = 1; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 5; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIVillagerMate; var$3.$villagerObj = $this; var$3.$worldObj10 = $this.$worldObj; var$3.$mutexBits = 3; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 6; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIFollowGolem; var$3.$theVillager = $this; var$3.$mutexBits = 3; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 7; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIPlay; var$3.$villagerObj0 = $this; var$3.$field_75261_c = 0.32; var$3.$mutexBits = 1; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 8; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIWatchClosest2; var$3.$theWatcher = $this; var$3.$watchedClass = $rt_cls(nms_EntityPlayer); var$3.$maxDistanceForPlayer = 3.0; var$3.$field_75331_e = 1.0; var$3.$mutexBits = 2; var$3.$mutexBits = 3; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 9; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIWatchClosest2; var$3.$theWatcher = $this; var$3.$watchedClass = $rt_cls(nms_EntityVillager); var$3.$maxDistanceForPlayer = 5.0; var$3.$field_75331_e = 0.019999999552965164; var$3.$mutexBits = 2; var$3.$mutexBits = 3; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 9; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIWander; var$3.$entity = $this; var$3.$speed = 0.6; var$3.$mutexBits = 1; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 9; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; $par1World = $this.$tasks0; var$3 = new nms_EntityAIWatchClosest; var$3.$theWatcher = $this; var$3.$watchedClass = $rt_cls(nms_EntityLiving); var$3.$maxDistanceForPlayer = 8.0; var$3.$field_75331_e = 0.019999999552965164; var$3.$mutexBits = 2; var$8 = $par1World.$taskEntries; var$4 = new nms_EntityAITaskEntry; var$4.$tasks = $par1World; var$4.$priority = 10; var$4.$action = var$3; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$7[var$9] = var$4; var$8.$modCount = var$8.$modCount + 1 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntityVillager__init_0 = (var_0, var_1) => { let var_2 = new nms_EntityVillager(); nms_EntityVillager__init_(var_2, var_0, var_1); return var_2; }, nms_EntityVillager_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.5 !== var$1.$baseValue) { var$1.$baseValue = 0.5; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityVillager_isAIEnabled = $this => { return 1; }, nms_EntityVillager_updateAITick = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, $var2, var$8, $var3$index, var$10, var$11, var$12, $var3$index_0, var$14, var$15, var$16; var$1 = $this.$randomTickDivider - 1 | 0; $this.$randomTickDivider = var$1; if (var$1 <= 0) { $var1 = $this.$worldObj.$villageCollectionObj; var$3 = $this.$posX; var$4 = var$3 | 0; if (var$3 < var$4) var$4 = var$4 - 1 | 0; var$3 = $this.$posY; var$5 = var$3 | 0; if (var$3 < var$5) var$5 = var$5 - 1 | 0; var$3 = $this.$posZ; var$6 = var$3 | 0; if (var$3 < var$6) var$6 = var$6 - 1 | 0; if ($var1.$villagerPositionsList.$size0 <= 64 && !nms_VillageCollection_isVillagerPositionPresent($var1, var$4, var$5, var$6)) { $var1 = $var1.$villagerPositionsList; $var2 = new nms_ChunkCoordinates; $var2.$posX0 = var$4; $var2.$posY0 = var$5; $var2.$posZ0 = var$6; ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$8 = $var1.$array.data; $var3$index = $var1.$size0; $var1.$size0 = $var3$index + 1 | 0; var$8[$var3$index] = $var2; $var1.$modCount = $var1.$modCount + 1 | 0; } $var1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$10; var$5 = Long_lo(Long_shru(var$10, 17)); while (true) { var$4 = var$5 % 50 | 0; if (((var$5 - var$4 | 0) + 49 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$10; var$5 = Long_lo(Long_shru(var$10, 17)); } $this.$randomTickDivider = 70 + var$4 | 0; $var1 = $this.$worldObj.$villageCollectionObj; var$3 = $this.$posX; var$5 = var$3 | 0; if (var$3 < var$5) var$5 = var$5 - 1 | 0; var$3 = $this.$posY; var$6 = var$3 | 0; if (var$3 < var$6) var$6 = var$6 - 1 | 0; var$3 = $this.$posZ; $var3$index = var$3 | 0; if (var$3 < $var3$index) $var3$index = $var3$index - 1 | 0; $var1 = nms_VillageCollection_findNearestVillage($var1, var$5, var$6, $var3$index, 32); $this.$villageObj = $var1; if ($var1 === null) $this.$maximumHomeDistance = (-1.0); else { $var1 = $var1.$getCenter(); var$1 = $var1.$posX0; $var3$index = $var1.$posY0; var$6 = $var1.$posZ0; var$5 = $this.$villageObj.$getVillageRadius() * 0.6000000238418579 | 0; $var1 = $this.$homePosition; $var1.$posX0 = var$1; $var1.$posY0 = $var3$index; $var1.$posZ0 = var$6; $this.$maximumHomeDistance = var$5; if ($this.$field_82190_bM) { $this.$field_82190_bM = 0; $this.$villageObj.$func_82683_b(5); } } } if (!($this.$buyingPlayer === null ? 0 : 1)) { var$1 = $this.$timeUntilReset; if (var$1 > 0) { var$1 = var$1 - 1 | 0; $this.$timeUntilReset = var$1; if (var$1 <= 0) { if ($this.$needsInitilization) { a: { $var1 = $this.$buyingList; if ($var1.$size0 > 1) { $var3$index = 0; var$11 = $var1.$modCount; var$12 = $var1.$size(); while (true) { if (!($var3$index >= var$12 ? 0 : 1)) break a; if (var$11 < $var1.$modCount) break; $var3$index_0 = $var3$index + 1 | 0; $var2 = $var1.$get($var3$index); var$1 = $var2.$toolUses; var$14 = $var2.$maxTradeUses; if (var$1 < var$14 ? 0 : 1) { var$15 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$15.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$15.$seed = var$10; $var3$index = Long_lo(Long_shru(var$10, 17)); while (true) { var$5 = $var3$index % 6 | 0; if ((($var3$index - var$5 | 0) + 5 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$15.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$15.$seed = var$10; $var3$index = Long_lo(Long_shru(var$10, 17)); } var$10 = Long_and(Long_add(Long_mul(var$15.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$15.$seed = var$10; $var3$index = Long_lo(Long_shru(var$10, 17)); while (true) { var$16 = $var3$index % 6 | 0; if ((($var3$index - var$16 | 0) + 5 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$15.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$15.$seed = var$10; $var3$index = Long_lo(Long_shru(var$10, 17)); } $var2.$maxTradeUses = var$14 + ((var$5 + var$16 | 0) + 2 | 0) | 0; } $var3$index = $var3$index_0; } $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } } nms_EntityVillager_addDefaultEquipmentAndRecipies($this, 1); $this.$needsInitilization = 0; $var1 = $this.$villageObj; if ($var1 !== null) { $var2 = $this.$lastBuyingPlayer; if ($var2 !== null) $var1.$setReputationForPlayer($var2, 1); } } $var2 = new nms_PotionEffect; nms_Potion_$callClinit(); $var2.$potionID = nms_Potion_regeneration.$id1; $var2.$duration = 200; $var2.$amplifier = 0; $var2.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($this, $var2); } } } }, nms_EntityVillager_interact = ($this, $par1EntityPlayer) => { let $var2, var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $par1EntityPlayer.$inventory; var$3 = $var2.$currentItem; $var2 = var$3 < 9 && var$3 >= 0 ? $var2.$mainInventory.data[var$3] : null; a: { if ($var2 !== null) { $var3 = $var2.$itemID; nms_Item_$callClinit(); if ($var3 == nms_Item_monsterPlacer.$itemID0) { $var3 = 1; break a; } } $var3 = 0; } if (!$var3) { b: { if (!$this.$isDead) { $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[134]; if (var$5 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { $var3 = var$5.$value0; var$6 = $var2.$elementData.data; $var2 = var$6[$var3 & (var$6.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { var$7 = $var2.$key; if (var$5 !== var$7 && !jl_Integer_equals(var$5, var$7) ? 0 : 1) break; } $var2 = $var2.$next3; } } if (($var2 === null ? null : $var2.$value1).$watchedObject.$value3 > 0.0) { $var3 = 1; break b; } } $var3 = 0; } if ($var3 && !($this.$buyingPlayer === null ? 0 : 1)) { $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[140]; if (var$5 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { $var3 = var$5.$value0; var$6 = $var2.$elementData.data; $var2 = var$6[$var3 & (var$6.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { var$7 = $var2.$key; if (var$5 !== var$7 && !jl_Integer_equals(var$5, var$7) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if (!($var2.$watchedObject.$value0 >= 0 ? 0 : 1)) { if ($this.$worldObj.$isRemote) return 1; $this.$buyingPlayer = $par1EntityPlayer; $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[138]; if (var$5 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { $var3 = var$5.$value0; var$6 = $var2.$elementData.data; $var2 = var$6[$var3 & (var$6.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { var$7 = $var2.$key; if (var$5 !== var$7 && !(var$5 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == $var3 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } var$8 = ($var2 === null ? null : $var2.$value1).$watchedObject; var$5 = $par1EntityPlayer.$mc4; $var2 = new nms_GuiMerchant; var$9 = $par1EntityPlayer.$inventory; $par1EntityPlayer = $par1EntityPlayer.$worldObj; nms_GuiMerchant_$callClinit(); var$7 = nms_ContainerMerchant__init_(var$9, $this, $par1EntityPlayer); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $par1EntityPlayer = new ju_ArrayList; jl_Object__init_($par1EntityPlayer); $par1EntityPlayer.$array = $rt_createArray(jl_Object, 10); $var2.$buttonList = $par1EntityPlayer; $var2.$allowUserInput = 0; $var2.$selectedButton = null; $var2.$eventButton = 0; $var2.$field_85043_c = Long_ZERO; $var2.$field_92018_d = 0; $var2.$xSize = 176; $var2.$ySize = 166; $par1EntityPlayer = new ju_HashSet; var$9 = new ju_HashMap; jl_Object__init_(var$9); $var3 = ju_HashMap_calculateCapacity(16); var$9.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$6 = var$10.data; var$9.$elementData = var$10; var$9.$loadFactor = 0.75; var$9.$threshold = var$6.length * 0.75 | 0; $par1EntityPlayer.$backingMap = var$9; $var2.$field_94077_p = $par1EntityPlayer; $var2.$inventorySlots0 = var$7; $var2.$field_94068_E = 1; $var2.$theIMerchant = $this; if (!(var$8 !== null && var$8.$nativeString.length >= 1)) { nms_StatCollector_$callClinit(); var$8 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2008)); } $var2.$field_94082_v = var$8; $ptr = 2; continue main; } } } $ptr = 1; case 1: $tmp = nms_EntityAgeable_interact($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } $var3 = $tmp; return $var3; case 2: nms_Minecraft_displayGuiScreen(var$5, $var2); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var2, var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityVillager_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); var$2 = $this.$dataWatcher; var$1 = new jl_Integer; var$1.$value0 = 0; nms_DataWatcher_addObject(var$2, 12, var$1); var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 16, jl_Integer_integerCache.data[128]); }, nms_EntityVillager_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[140]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; var$6 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagInt; var$2.$name = $rt_s(1867); var$2.$data0 = var$7; ju_HashMap_putImpl(var$6, $rt_s(1867), var$2); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; a: { var$7 = var$2.$watchedObject.$value0; var$6 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagInt; var$2.$name = $rt_s(2009); var$2.$data0 = var$7; ju_HashMap_putImpl(var$6, $rt_s(2009), var$2); var$7 = $this.$wealth; var$6 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagInt; var$2.$name = $rt_s(2010); var$2.$data0 = var$7; ju_HashMap_putImpl(var$6, $rt_s(2010), var$2); var$8 = $this.$buyingList; if (var$8 !== null) { var$6 = new nms_NBTTagCompound; var$6.$name = $rt_s(18); var$3 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$5 = var$9.data; var$3.$elementData = var$9; var$3.$loadFactor = 0.75; var$3.$threshold = var$5.length * 0.75 | 0; var$6.$tagMap = var$3; var$10 = new nms_NBTTagList; var$10.$name = $rt_s(2011); var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$10.$tagList = var$3; var$7 = 0; while (true) { var$11 = $rt_compare(var$7, var$8.$size0); if (var$11 >= 0) { var$3 = var$6.$tagMap; var$10.$name = $rt_s(2011); ju_HashMap_putImpl(var$3, $rt_s(2011), var$10); $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; var$6.$name = $rt_s(2012); ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(2012), var$6); break a; } if (var$7 < 0) break; if (var$11 >= 0) break; var$3 = nms_MerchantRecipe_writeToTags(var$8.$array.data[var$7]); var$10.$tagType = 10; var$12 = var$10.$tagList; ju_ArrayList_ensureCapacity(var$12, var$12.$size0 + 1 | 0); var$5 = var$12.$array.data; var$4 = var$12.$size0; var$12.$size0 = var$4 + 1 | 0; var$5[var$4] = var$3; var$12.$modCount = var$12.$modCount + 1 | 0; var$7 = var$7 + 1 | 0; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); } } }, nms_EntityVillager_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var2, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var2 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NBTTagCompound = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); if ($rt_suspending()) { break main; } var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1867).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1867).$nativeString.length) break a; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1867).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(1867) !== var$6) { if ($rt_s(1867) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1867).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$7 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1867) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(1867).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1867).$nativeString.length) break c; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1867).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($rt_s(1867) !== var$6) { if ($rt_s(1867) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1867).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$data0; } var$8 = $this.$dataWatcher; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$7; } var$6 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$4 = var$9.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$4) { $var2 = var$6.$key; if (var$9 !== $var2 && !jl_Integer_equals(var$9, $var2) ? 0 : 1) break; } var$6 = var$6.$next3; } } $var2 = var$6 === null ? null : var$6.$value1; var$6 = $var2.$watchedObject; if (!(var$2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$2.$value0 ? 1 : 0)) { $var2.$watchedObject = var$2; $var2.$watched = 1; var$8.$objectChanged = 1; } var$8 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[140]; if (var$2 === null) var$8 = ju_HashMap_findNullKeyEntry(var$8); else { var$7 = jl_Integer_hashCode0(var$2); var$8 = ju_HashMap_findNonNullKeyEntry(var$8, var$2, var$7 & (var$8.$elementData.data.length - 1 | 0), var$7); } var$8 = var$8 === null ? null : var$8.$value1; var$11 = !(var$8.$watchedObject.$value0 >= 0 ? 0 : 1) ? 1.0 : 0.5; var$12 = $this.$field_98056_d * var$11; var$11 = $this.$field_98057_e * var$11; $ptr = 2; case 2: a: { nms_Entity_setSize($this, var$12, var$11); if ($rt_suspending()) { break main; } var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2009).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2009).$nativeString.length) break a; $rt_s(2009).$hashCode1 = (31 * $rt_s(2009).$hashCode1 | 0) + $rt_s(2009).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2009).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { b: { var$6 = var$2.$key; if ($rt_s(2009) !== var$6) { if ($rt_s(2009) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(2009).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$7 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2009) !== null) { e: { if (!$rt_s(2009).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2009).$nativeString.length) break e; $rt_s(2009).$hashCode1 = (31 * $rt_s(2009).$hashCode1 | 0) + $rt_s(2009).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2009).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { f: { var$6 = var$2.$key; if ($rt_s(2009) !== var$6) { if ($rt_s(2009) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$7 = $rt_s(2009).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break f; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$data0; } var$8 = $this.$dataWatcher; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$7; } var$6 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 !== null) { var$4 = var$9.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$4) { $var2 = var$6.$key; if (var$9 !== $var2 && !(var$9 !== $var2 ? ($var2 instanceof jl_Integer && $var2.$value0 == var$4 ? 1 : 0) : 1) ? 0 : 1) break; } var$6 = var$6.$next3; } } else { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } $var2 = var$6 === null ? null : var$6.$value1; var$6 = $var2.$watchedObject; if (!(var$2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$2.$value0 ? 1 : 0)) { $var2.$watchedObject = var$2; $var2.$watched = 1; var$8.$objectChanged = 1; } g: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2010).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2010).$nativeString.length) break g; $rt_s(2010).$hashCode1 = (31 * $rt_s(2010).$hashCode1 | 0) + $rt_s(2010).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2010).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { h: { var$6 = var$2.$key; if ($rt_s(2010) !== var$6) { if ($rt_s(2010) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$7 = $rt_s(2010).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break h; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2010) !== null) { i: { if (!$rt_s(2010).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2010).$nativeString.length) break i; $rt_s(2010).$hashCode1 = (31 * $rt_s(2010).$hashCode1 | 0) + $rt_s(2010).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2010).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { j: { var$6 = var$2.$key; if ($rt_s(2010) !== var$6) { if ($rt_s(2010) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$7 = $rt_s(2010).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break j; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; k: { $this.$wealth = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2012).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2012).$nativeString.length) break k; $rt_s(2012).$hashCode1 = (31 * $rt_s(2012).$hashCode1 | 0) + $rt_s(2012).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2012).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { l: { var$6 = var$2.$key; if ($rt_s(2012) !== var$6) { if ($rt_s(2012) !== var$6) { if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(2012).$nativeString !== var$6.$nativeString ? 0 : 1; } } else var$7 = 1; if (!var$7) { var$7 = 0; break l; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } var$3 = var$2 === null ? 0 : 1; m: { if (var$3) { n: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2012).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2012).$nativeString.length) break n; $rt_s(2012).$hashCode1 = (31 * $rt_s(2012).$hashCode1 | 0) + $rt_s(2012).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2012).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { o: { var$6 = var$2.$key; if ($rt_s(2012) !== var$6) { if ($rt_s(2012) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2012).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break o; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) { $var2 = new nms_NBTTagCompound; if ($rt_s(2012) !== null) $var2.$name = $rt_s(2012); else $var2.$name = $rt_s(18); $par1NBTTagCompound = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); $par1NBTTagCompound.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$13.data; $par1NBTTagCompound.$elementData = var$13; $par1NBTTagCompound.$loadFactor = 0.75; $par1NBTTagCompound.$threshold = var$5.length * 0.75 | 0; $var2.$tagMap = $par1NBTTagCompound; } else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2012) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { p: { if (!$rt_s(2012).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2012).$nativeString.length) break p; $rt_s(2012).$hashCode1 = (31 * $rt_s(2012).$hashCode1 | 0) + $rt_s(2012).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2012).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$7 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$7) { q: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(2012) !== var$2) { if ($rt_s(2012) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(2012).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break q; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $var2 = $par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1; } r: { $par1NBTTagCompound = new nms_MerchantRecipeList; $par1NBTTagCompound.$array = $rt_createArray(jl_Object, 10); var$2 = $var2.$tagMap; if (!$rt_s(2011).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2011).$nativeString.length) break r; $rt_s(2011).$hashCode1 = (31 * $rt_s(2011).$hashCode1 | 0) + $rt_s(2011).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2011).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { s: { var$6 = var$2.$key; if ($rt_s(2011) !== var$6) { if ($rt_s(2011) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2011).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break s; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) { var$6 = new nms_NBTTagList; if ($rt_s(2011) !== null) var$6.$name = $rt_s(2011); else var$6.$name = $rt_s(18); var$8 = new ju_ArrayList; jl_Object__init_(var$8); var$8.$array = $rt_createArray(jl_Object, 10); var$6.$tagList = var$8; } else { var$2 = $var2.$tagMap; if ($rt_s(2011) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { t: { if (!$rt_s(2011).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2011).$nativeString.length) break t; $rt_s(2011).$hashCode1 = (31 * $rt_s(2011).$hashCode1 | 0) + $rt_s(2011).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2011).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { u: { var$6 = var$2.$key; if ($rt_s(2011) !== var$6) { if ($rt_s(2011) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2011).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break u; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; } var$3 = 0; while (true) { var$8 = var$6.$tagList; var$7 = $rt_compare(var$3, var$8.$size0); if (var$7 >= 0) break; if (var$3 < 0) break m; if (var$7 >= 0) break m; var$8 = var$8.$array.data[var$3]; var$2 = new nms_MerchantRecipe; nms_MerchantRecipe_readFromTags(var$2, var$8); ju_ArrayList_ensureCapacity($par1NBTTagCompound, $par1NBTTagCompound.$size0 + 1 | 0); var$5 = $par1NBTTagCompound.$array.data; var$4 = $par1NBTTagCompound.$size0; $par1NBTTagCompound.$size0 = var$4 + 1 | 0; var$5[var$4] = var$2; $par1NBTTagCompound.$modCount = $par1NBTTagCompound.$modCount + 1 | 0; var$3 = var$3 + 1 | 0; } $this.$buyingList = $par1NBTTagCompound; } return; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1NBTTagCompound); $rt_throw($par1NBTTagCompound); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NBTTagCompound, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var2, var$11, var$12, var$13, $ptr); }, nms_EntityVillager_canDespawn = $this => { return 0; }, nms_EntityVillager_getLivingSound = $this => { return !($this.$buyingPlayer === null ? 0 : 1) ? $rt_s(2013) : $rt_s(2014); }, nms_EntityVillager_getHurtSound = $this => { return $rt_s(2015); }, nms_EntityVillager_getDeathSound = $this => { return $rt_s(2016); }, nms_EntityVillager_setRevengeTarget = ($this, $par1EntityLivingBase) => { let var$2, $var2, var$4, var$5, var$6, var$7; $this.$entityLivingToAttack = $par1EntityLivingBase; $this.$revengeTimer = $this.$ticksExisted; var$2 = $this.$villageObj; if (var$2 !== null && $par1EntityLivingBase !== null) { var$2.$addOrRenewAgressor($par1EntityLivingBase); if ($par1EntityLivingBase instanceof nms_EntityPlayer) { $var2 = (-1); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[140]; if (var$4 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$5 = var$4.$value0; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$7 = var$2.$key; if (var$4 !== var$7 && !jl_Integer_equals(var$4, var$7) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$watchedObject.$value0 >= 0 ? 0 : 1) $var2 = (-3); a: { $this.$villageObj.$setReputationForPlayer($par1EntityLivingBase.$username, $var2); if (!$this.$isDead) { $par1EntityLivingBase = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { $var2 = var$2.$value0; var$6 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$6[$var2 & (var$6.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == $var2) { var$7 = $par1EntityLivingBase.$key; if (var$2 !== var$7 && !jl_Integer_equals(var$2, var$7) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } if (($par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1).$watchedObject.$value3 > 0.0) { $var2 = 1; break a; } } $var2 = 0; } } } }, nms_EntityVillager_onDeath = ($this, $par1DamageSource) => { let $var2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$villageObj !== null) { $var2 = $par1DamageSource.$getEntity(); if ($var2 === null) { if (nms_World_getClosestPlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 16.0) !== null) $this.$villageObj.$endMatingSeason(); } else if ($var2 instanceof nms_EntityPlayer) $this.$villageObj.$setReputationForPlayer($var2.$username, (-2)); else if ($rt_isInstance($var2, nms_IMob)) $this.$villageObj.$endMatingSeason(); } $ptr = 1; case 1: nms_EntityLivingBase_onDeath($this, $par1DamageSource); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $var2, $ptr); }, nms_EntityVillager_setCustomer = ($this, $par1EntityPlayer) => { $this.$buyingPlayer = $par1EntityPlayer; }, nms_EntityVillager_getCustomer = $this => { return $this.$buyingPlayer; }, nms_EntityVillager_useRecipe = ($this, $par1MerchantRecipe) => { let var$2, var$3, var$4, var$5; $par1MerchantRecipe.$toolUses = $par1MerchantRecipe.$toolUses + 1 | 0; $this.$livingSoundTime = (-80); var$2 = nms_EntityLivingBase_getSoundPitch($this); nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2017), 1.0, var$2); var$3 = $this.$buyingList; var$4 = var$3.$size0; var$5 = var$4 - 1 | 0; if (var$5 >= 0 && var$5 < var$4) { if (nms_MerchantRecipe_hasSameIDsAs($par1MerchantRecipe, var$3.$array.data[var$5])) { $this.$timeUntilReset = 40; $this.$needsInitilization = 1; var$3 = $this.$buyingPlayer; if (var$3 === null) $this.$lastBuyingPlayer = null; else $this.$lastBuyingPlayer = var$3.$username; } var$3 = $par1MerchantRecipe.$itemToBuy; var$5 = var$3.$itemID; nms_Item_$callClinit(); if (var$5 == nms_Item_emerald.$itemID0) $this.$wealth = $this.$wealth + var$3.$stackSize | 0; return; } $par1MerchantRecipe = new jl_IndexOutOfBoundsException; $par1MerchantRecipe.$suppressionEnabled = 1; $par1MerchantRecipe.$writableStackTrace = 1; $rt_throw($par1MerchantRecipe); }, nms_EntityVillager_func_110297_a_ = ($this, $par1ItemStack) => { let var$2; if (!$this.$worldObj.$isRemote && $this.$livingSoundTime > (-60)) { $this.$livingSoundTime = (-80); if ($par1ItemStack === null) { var$2 = nms_EntityLivingBase_getSoundPitch($this); nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2018), 1.0, var$2); } else { var$2 = nms_EntityLivingBase_getSoundPitch($this); nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2017), 1.0, var$2); } } }, nms_EntityVillager_getRecipes = ($this, $par1EntityPlayer) => { if ($this.$buyingList === null) nms_EntityVillager_addDefaultEquipmentAndRecipies($this, 1); return $this.$buyingList; }, nms_EntityVillager_addDefaultEquipmentAndRecipies = ($this, $par1) => { let $var8, $var2, $var11, $var10, $var3, var$7, var$8, var$9, $var6, var$11, var$12, var$13, $var5, $var7, var$16, $var9, var$18; $var8 = $this.$buyingList; if ($var8 === null) $this.$field_82191_bN = 0.0; else $this.$field_82191_bN = jl_Math_sqrt($var8.$size0) * 0.20000000298023224; $var2 = new nms_MerchantRecipeList; $var2.$array = $rt_createArray(jl_Object, 10); $var8 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var11 = jl_Integer_integerCache.data[144]; if ($var11 === null) { $var8 = $var8.$elementData.data[0]; while ($var8 !== null && $var8.$key !== null) { $var8 = $var8.$next3; } } else { $var10 = $var11.$value0; $var3 = $var8.$elementData.data; $var8 = $var3[$var10 & ($var3.length - 1 | 0)]; while ($var8 !== null) { if ($var8.$origKeyHash == $var10) { var$7 = $var8.$key; if ($var11 !== var$7 && !($var11 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == $var10 ? 1 : 0) ? 0 : 1) break; } $var8 = $var8.$next3; } } $var8 = $var8 === null ? null : $var8.$value1; a: { b: { switch ($var8.$watchedObject.$value0) { case 0: nms_Item_$callClinit(); $var10 = nms_Item_wheat.$itemID0; $var8 = $this.$rand; var$8 = 0.8999999761581421 + $this.$field_82191_bN; if (var$8 > 0.8999999761581421) var$8 = 0.8999999761581421 - (var$8 - 0.8999999761581421); nms_EntityVillager_$callClinit(); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$8) { $var11 = new nms_MerchantRecipe; var$7 = new nms_ItemStack; $var6 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$7.$itemID = $var10; var$7.$stackSize = $var6; var$7.$itemDamage = 0; $var8 = nms_Item_emerald; var$11 = new nms_ItemStack; var$11.$itemID = $var8.$itemID0; var$11.$stackSize = 1; var$11.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$7; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$11; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var6 = $var2.$size0; $var2.$size0 = $var6 + 1 | 0; $var3[$var6] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } nms_Block_$callClinit(); $var10 = nms_Block_cloth.$blockID; $var8 = $this.$rand; var$8 = 0.5 + $this.$field_82191_bN; if (var$8 > 0.8999999761581421) var$8 = 0.8999999761581421 - (var$8 - 0.8999999761581421); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$8) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var6 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var6; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var6 = $var2.$size0; $var2.$size0 = $var6 + 1 | 0; $var3[$var6] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } $var10 = nms_Item_chickenRaw.$itemID0; $var8 = $this.$rand; var$8 = 0.5 + $this.$field_82191_bN; if (var$8 > 0.8999999761581421) var$8 = 0.8999999761581421 - (var$8 - 0.8999999761581421); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$8) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var6 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var6; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var6 = $var2.$size0; $var2.$size0 = $var6 + 1 | 0; $var3[$var6] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } $var10 = nms_Item_fishCooked.$itemID0; $var8 = $this.$rand; var$8 = 0.4000000059604645 + $this.$field_82191_bN; if (var$8 > 0.8999999761581421) var$8 = 0.8999999761581421 - (var$8 - 0.8999999761581421); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$8) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var6 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var6; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var6 = $var2.$size0; $var2.$size0 = $var6 + 1 | 0; $var3[$var6] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } $var10 = nms_Item_bread.$itemID0; $var8 = $this.$rand; var$12 = 0.8999999761581421 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_melon.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_appleRed.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_cookie.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_shears.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_flintAndSteel.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_chickenCooked.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_arrow.$itemID0; $var8 = $this.$rand; var$12 = 0.5 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var8 = $this.$rand; var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; var$13 = Long_lo(Long_shru(var$9, 24)) / 1.6777216E7; var$12 = 0.5 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); if (var$13 >= var$12) break a; ju_ArrayList_add($var2, nms_MerchantRecipe__init_0(nms_ItemStack__init_(nms_Block_gravel, 10), nms_ItemStack__init_8(nms_Item_emerald), nms_ItemStack__init_4(nms_Item_flint.$itemID0, 4 + nle_EaglercraftRandom_nextInt($this.$rand, 2) | 0, 0))); break a; case 1: nms_Item_$callClinit(); $var10 = nms_Item_paper.$itemID0; $var8 = $this.$rand; var$8 = 0.800000011920929 + $this.$field_82191_bN; if (var$8 > 0.8999999761581421) var$8 = 0.8999999761581421 - (var$8 - 0.8999999761581421); nms_EntityVillager_$callClinit(); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$8) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var5 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var5; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var5 = $var2.$size0; $var2.$size0 = $var5 + 1 | 0; $var3[$var5] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } $var10 = nms_Item_book.$itemID0; $var8 = $this.$rand; var$8 = 0.800000011920929 + $this.$field_82191_bN; if (var$8 > 0.8999999761581421) var$8 = 0.8999999761581421 - (var$8 - 0.8999999761581421); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$8) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var5 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var5; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var5 = $var2.$size0; $var2.$size0 = $var5 + 1 | 0; $var3[$var5] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } $var10 = nms_Item_writtenBook.$itemID0; $var8 = $this.$rand; var$8 = 0.30000001192092896 + $this.$field_82191_bN; if (var$8 > 0.8999999761581421) var$8 = 0.8999999761581421 - (var$8 - 0.8999999761581421); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$8) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var5 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var5; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var5 = $var2.$size0; $var2.$size0 = $var5 + 1 | 0; $var3[$var5] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } nms_Block_$callClinit(); $var10 = nms_Block_bookShelf.$blockID; $var8 = $this.$rand; var$12 = 0.800000011920929 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Block_glass.$blockID; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_compass.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_pocketSundial.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var8 = $this.$rand; var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; var$13 = Long_lo(Long_shru(var$9, 24)) / 1.6777216E7; var$12 = 0.07000000029802322 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); if (var$13 >= var$12) break a; nms_Enchantment_$callClinit(); $var3 = nms_Enchantment_enchantmentsBookList.data; $var8 = $var3[nle_EaglercraftRandom_nextInt($var8, $var3.length)]; $var10 = nms_MathHelper_getRandomIntegerInRange($this.$rand, nms_Enchantment_getMinLevel($var8), $var8.$getMaxLevel()); $var11 = nms_ItemEnchantedBook_getEnchantedItemStack(nms_Item_enchantedBook, nms_EnchantmentData__init_($var8, $var10)); $var6 = (2 + nle_EaglercraftRandom_nextInt($this.$rand, 5 + ($var10 * 10 | 0) | 0) | 0) + (3 * $var10 | 0) | 0; ju_ArrayList_add($var2, nms_MerchantRecipe__init_0(nms_ItemStack__init_8(nms_Item_book), nms_ItemStack__init_0(nms_Item_emerald, $var6), $var11)); break a; case 2: nms_Item_$callClinit(); $var10 = nms_Item_eyeOfEnder.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_expBottle.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_redstone.$itemID0; $var8 = $this.$rand; var$12 = 0.4000000059604645 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); nms_Block_$callClinit(); $var10 = nms_Block_glowStone.$blockID; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var3 = $rt_createIntArray(8).data; $var3[0] = nms_Item_swordIron.$itemID0; $var3[1] = nms_Item_swordDiamond.$itemID0; $var3[2] = nms_Item_plateIron.$itemID0; $var3[3] = nms_Item_plateDiamond.$itemID0; $var3[4] = nms_Item_axeIron.$itemID0; $var3[5] = nms_Item_axeDiamond.$itemID0; $var3[6] = nms_Item_pickaxeIron.$itemID0; $var3[7] = nms_Item_pickaxeDiamond.$itemID0; $var5 = $var3.length; $var6 = 0; while ($var6 < $var5) { $var7 = $var3[$var6]; $var8 = $this.$rand; var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; var$13 = Long_lo(Long_shru(var$9, 24)) / 1.6777216E7; var$12 = 0.05000000074505806 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); if (var$13 < var$12) { $var11 = new nms_MerchantRecipe; var$7 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$7.$itemID = $var7; var$7.$stackSize = 1; var$7.$itemDamage = 0; nms_MerchantRecipe__init_($var11, var$7, nms_ItemStack__init_2(nms_Item_emerald, 2 + nle_EaglercraftRandom_nextInt($var8, 3) | 0, 0), nms_EnchantmentHelper_addRandomEnchantment($this.$rand, nms_ItemStack__init_4($var7, 1, 0), 5 + nle_EaglercraftRandom_nextInt($this.$rand, 15) | 0)); ju_ArrayList_add($var2, $var11); } $var6 = $var6 + 1 | 0; } break a; case 3: break; case 4: break b; default: break a; } nms_Item_$callClinit(); $var10 = nms_Item_coal.$itemID0; $var8 = $this.$rand; var$8 = 0.699999988079071 + $this.$field_82191_bN; if (var$8 > 0.8999999761581421) var$8 = 0.8999999761581421 - (var$8 - 0.8999999761581421); nms_EntityVillager_$callClinit(); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$8) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var6 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var6; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var6 = $var2.$size0; $var2.$size0 = $var6 + 1 | 0; $var3[$var6] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } $var10 = nms_Item_ingotIron.$itemID0; $var8 = $this.$rand; var$8 = 0.5 + $this.$field_82191_bN; if (var$8 > 0.8999999761581421) var$8 = 0.8999999761581421 - (var$8 - 0.8999999761581421); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$8) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var6 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var6; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var6 = $var2.$size0; $var2.$size0 = $var6 + 1 | 0; $var3[$var6] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } $var10 = nms_Item_ingotGold.$itemID0; $var8 = $this.$rand; var$8 = 0.5 + $this.$field_82191_bN; if (var$8 > 0.8999999761581421) var$8 = 0.8999999761581421 - (var$8 - 0.8999999761581421); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$8) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var6 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var6; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var6 = $var2.$size0; $var2.$size0 = $var6 + 1 | 0; $var3[$var6] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } $var10 = nms_Item_diamond.$itemID0; $var8 = $this.$rand; var$8 = 0.5 + $this.$field_82191_bN; if (var$8 > 0.8999999761581421) var$8 = 0.8999999761581421 - (var$8 - 0.8999999761581421); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$8) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var6 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var6; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var6 = $var2.$size0; $var2.$size0 = $var6 + 1 | 0; $var3[$var6] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } $var10 = nms_Item_swordIron.$itemID0; $var8 = $this.$rand; var$12 = 0.5 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_swordDiamond.$itemID0; $var8 = $this.$rand; var$12 = 0.5 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_axeIron.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_axeDiamond.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_pickaxeIron.$itemID0; $var8 = $this.$rand; var$12 = 0.5 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_pickaxeDiamond.$itemID0; $var8 = $this.$rand; var$12 = 0.5 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_shovelIron.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_shovelDiamond.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_hoeIron.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_hoeDiamond.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_bootsIron.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_bootsDiamond.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_helmetIron.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_helmetDiamond.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_plateIron.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_plateDiamond.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_legsIron.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_legsDiamond.$itemID0; $var8 = $this.$rand; var$12 = 0.20000000298023224 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_bootsChain.$itemID0; $var8 = $this.$rand; var$12 = 0.10000000149011612 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_helmetChain.$itemID0; $var8 = $this.$rand; var$12 = 0.10000000149011612 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_plateChain.$itemID0; $var8 = $this.$rand; var$12 = 0.10000000149011612 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_legsChain.$itemID0; $var8 = $this.$rand; var$12 = 0.10000000149011612 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); break a; } nms_Item_$callClinit(); $var10 = nms_Item_coal.$itemID0; $var8 = $this.$rand; var$8 = 0.699999988079071 + $this.$field_82191_bN; if (var$8 > 0.8999999761581421) var$8 = 0.8999999761581421 - (var$8 - 0.8999999761581421); nms_EntityVillager_$callClinit(); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$8) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var5 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var5; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var5 = $var2.$size0; $var2.$size0 = $var5 + 1 | 0; $var3[$var5] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } $var10 = nms_Item_porkRaw.$itemID0; $var8 = $this.$rand; var$16 = 0.5 + $this.$field_82191_bN; if (var$16 > 0.8999999761581421) var$16 = 0.8999999761581421 - (var$16 - 0.8999999761581421); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$16) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var5 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var5; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var5 = $var2.$size0; $var2.$size0 = $var5 + 1 | 0; $var3[$var5] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } $var10 = nms_Item_beefRaw.$itemID0; $var8 = $this.$rand; var$12 = 0.5 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < var$12) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var6 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var6; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var6 = $var2.$size0; $var2.$size0 = $var6 + 1 | 0; $var3[$var6] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } $var10 = nms_Item_saddle.$itemID0; $var8 = $this.$rand; var$12 = 0.10000000149011612 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_plateLeather.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_bootsLeather.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_helmetLeather.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_legsLeather.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_porkCooked.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); $var10 = nms_Item_beefCooked.$itemID0; $var8 = $this.$rand; var$12 = 0.30000001192092896 + $this.$field_82191_bN; if (var$12 > 0.8999999761581421) var$12 = 0.8999999761581421 - (var$12 - 0.8999999761581421); nms_EntityVillager_addBlacksmithItem($var2, $var10, $var8, var$12); } if ($var2.$size0 ? 0 : 1) { nms_Item_$callClinit(); $var10 = nms_Item_ingotGold.$itemID0; $var8 = $this.$rand; nms_EntityVillager_$callClinit(); var$9 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < 1.0) { $var11 = new nms_MerchantRecipe; var$11 = new nms_ItemStack; $var6 = nms_EntityVillager_getRandomCountForItem($var10, $var8); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = $var6; var$11.$itemDamage = 0; $var8 = nms_Item_emerald; var$7 = new nms_ItemStack; var$7.$itemID = $var8.$itemID0; var$7.$stackSize = 1; var$7.$itemDamage = 0; $var8 = null; $var11.$itemToBuy = var$11; $var11.$secondItemToBuy = $var8; $var11.$itemToSell = var$7; $var11.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var6 = $var2.$size0; $var2.$size0 = $var6 + 1 | 0; $var3[$var6] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } } c: { if ($rt_isInstance($var2, ju_RandomAccess)) { $var6 = $var2.$size0 - 1 | 0; d: { e: { f: { while (true) { if ($var6 <= 0) break c; $var10 = $var6 + 1 | 0; if ($var10 <= 0) { $var8 = new jl_IllegalArgumentException; jl_Throwable__init_($var8); $rt_throw($var8); } $var7 = jl_Math_randomImpl() * $var10 | 0; if ($var6 < 0) break d; $var10 = $var2.$size0; $var5 = $rt_compare($var6, $var10); if ($var5 >= 0) break d; $var3 = $var2.$array.data; $var11 = $var3[$var6]; if ($var7 < 0) break e; $var10 = $rt_compare($var7, $var10); if ($var10 >= 0) break e; $var8 = $var3[$var7]; if ($var6 < 0) break f; if ($var5 >= 0) break f; $var3[$var6] = $var8; if ($var7 < 0) break; if ($var10 >= 0) break; $var3[$var7] = $var11; $var6 = $var6 + (-1) | 0; } $var8 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($var8); $rt_throw($var8); } $var8 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($var8); $rt_throw($var8); } $var8 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($var8); $rt_throw($var8); } $var8 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($var8); $rt_throw($var8); } $var8 = new ju_ArrayList; $var10 = $var2.$size0; if ($var10 < 0) { $var8 = new jl_IllegalArgumentException; jl_Throwable__init_($var8); $rt_throw($var8); } $var8.$array = $rt_createArray(jl_Object, $var10); $var9 = 0; $var7 = $var2.$modCount; $var2.$size(); $var10 = 0; while (true) { $var3 = $var8.$array.data; $var6 = $var3.length; if ($var10 >= $var6) { $var8.$size0 = $var6; $var6 = $var6 - 1 | 0; g: { h: { i: { while (true) { if ($var6 <= 0) { $var3 = $var2.$array; $var10 = 0; $var6 = $var2.$size0; $var11 = null; if ($var10 > $var6) { $var8 = new jl_IllegalArgumentException; jl_Throwable__init_($var8); $rt_throw($var8); } while ($var10 < $var6) { var$18 = $var3.data; $var5 = $var10 + 1 | 0; var$18[$var10] = $var11; $var10 = $var5; } $var2.$size0 = 0; $var2.$modCount = $var2.$modCount + 1 | 0; $var6 = 0; $var7 = $var8.$modCount; $var9 = $var8.$size(); while (true) { if (!($var6 >= $var9 ? 0 : 1)) break c; if ($var7 < $var8.$modCount) break; $var5 = $var6 + 1 | 0; $var11 = $var8.$get($var6); ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var6 = $var2.$size0; $var2.$size0 = $var6 + 1 | 0; $var3[$var6] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; $var6 = $var5; } $var8 = new ju_ConcurrentModificationException; jl_Exception__init_($var8); $rt_throw($var8); } $var10 = $var6 + 1 | 0; if ($var10 <= 0) { $var8 = new jl_IllegalArgumentException; jl_Throwable__init_($var8); $rt_throw($var8); } $var7 = jl_Math_randomImpl() * $var10 | 0; if ($var6 < 0) break g; $var10 = $var8.$size0; $var5 = $rt_compare($var6, $var10); if ($var5 >= 0) break g; $var3 = $var8.$array.data; var$7 = $var3[$var6]; if ($var7 < 0) break h; $var10 = $rt_compare($var7, $var10); if ($var10 >= 0) break h; $var11 = $var3[$var7]; if ($var6 < 0) break i; if ($var5 >= 0) break i; $var3[$var6] = $var11; if ($var7 < 0) break; if ($var10 >= 0) break; $var3[$var7] = var$7; $var6 = $var6 + (-1) | 0; } $var8 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($var8); $rt_throw($var8); } $var8 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($var8); $rt_throw($var8); } $var8 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($var8); $rt_throw($var8); } $var8 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($var8); $rt_throw($var8); } if ($var7 < $var2.$modCount) break; $var5 = $var9 + 1 | 0; $var3[$var10] = $var2.$get($var9); $var10 = $var10 + 1 | 0; $var9 = $var5; } $var8 = new ju_ConcurrentModificationException; jl_Exception__init_($var8); $rt_throw($var8); } if ($this.$buyingList === null) { $var8 = new nms_MerchantRecipeList; $var8.$array = $rt_createArray(jl_Object, 10); $this.$buyingList = $var8; } $var9 = 0; j: { k: { l: { while ($var9 < $par1) { $var10 = $rt_compare($var9, $var2.$size0); if ($var10 >= 0) break; $var8 = $this.$buyingList; if ($var9 < 0) break j; if ($var10 >= 0) break j; $var11 = $var2.$array.data[$var9]; $var10 = 0; m: { while (true) { $var5 = $var8.$size0; $var6 = $rt_compare($var10, $var5); if ($var6 >= 0) break; if ($var10 < 0) break k; if ($var6 >= 0) break k; var$7 = $var8.$array.data[$var10]; if (nms_MerchantRecipe_hasSameIDsAs($var11, var$7)) { if (nms_MerchantRecipe_hasSameItemsAs($var11, var$7)) { if ($var10 < 0) break l; if ($var10 >= $var8.$size0) break l; $var8.$array.data[$var10] = $var11; } break m; } $var10 = $var10 + 1 | 0; } ju_ArrayList_ensureCapacity($var8, $var5 + 1 | 0); $var3 = $var8.$array.data; $var6 = $var8.$size0; $var8.$size0 = $var6 + 1 | 0; $var3[$var6] = $var11; $var8.$modCount = $var8.$modCount + 1 | 0; } $var9 = $var9 + 1 | 0; } return; } $var8 = new jl_IndexOutOfBoundsException; $var8.$suppressionEnabled = 1; $var8.$writableStackTrace = 1; $rt_throw($var8); } $var8 = new jl_IndexOutOfBoundsException; $var8.$suppressionEnabled = 1; $var8.$writableStackTrace = 1; $rt_throw($var8); } $var8 = new jl_IndexOutOfBoundsException; $var8.$suppressionEnabled = 1; $var8.$writableStackTrace = 1; $rt_throw($var8); }, nms_EntityVillager_setRecipes = ($this, $par1MerchantRecipeList) => { return; }, nms_EntityVillager_getRandomCountForItem = ($par0, $par1Random) => { let $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; nms_EntityVillager_$callClinit(); $var2 = nms_EntityVillager_villagerStockList; if ($par0 >= (-128) && $par0 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[$par0 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = $par0; } if (var$4 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$5 = var$4.$value0; var$6 = $var2.$elementData.data; $var2 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$5) { var$7 = $var2.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null) var$8 = 1; else { var$8 = $var2.$first0.$value0; var$5 = $var2.$second.$value0; if (var$8 < var$5) { $par0 = var$5 - var$8 | 0; var$9 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$9; var$10 = Long_lo(Long_shru(var$9, 17)); var$5 = $par0 - 1 | 0; if (!($par0 & var$5)) var$11 = Long_lo(Long_shr(Long_mul(Long_fromInt($par0), Long_fromInt(var$10)), 31)); else while (true) { var$11 = var$10 % $par0 | 0; if (((var$10 - var$11 | 0) + var$5 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$9; var$10 = Long_lo(Long_shru(var$9, 17)); } var$8 = var$8 + var$11 | 0; } } return var$8; }, nms_EntityVillager_addBlacksmithItem = ($par0MerchantRecipeList, $par1, $par2Random, $par3) => { let var$5, $var4, $var5, var$8, $var6, var$10, var$11, var$12; nms_EntityVillager_$callClinit(); var$5 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$5; if (Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 < $par3) { $var4 = nms_EntityVillager_getRandomCountForBlacksmithItem($par1, $par2Random); if ($var4 >= 0) { $var5 = new nms_ItemStack; nms_Item_$callClinit(); var$8 = nms_Item_emerald.$itemID0; nms_ItemStack_$callClinit(); $var5.$itemID = var$8; $var5.$stackSize = $var4; $var5.$itemDamage = 0; $var6 = new nms_ItemStack; $var6.$itemID = $par1; $var6.$stackSize = 1; $var6.$itemDamage = 0; } else { $var5 = new nms_ItemStack; nms_Item_$callClinit(); var$10 = nms_Item_emerald.$itemID0; nms_ItemStack_$callClinit(); $var5.$itemID = var$10; $var5.$stackSize = 1; $var5.$itemDamage = 0; $var6 = new nms_ItemStack; $var4 = -$var4 | 0; $var6.$itemID = $par1; $var6.$stackSize = $var4; $var6.$itemDamage = 0; } $par2Random = new nms_MerchantRecipe; var$11 = null; $par2Random.$itemToBuy = $var5; $par2Random.$secondItemToBuy = var$11; $par2Random.$itemToSell = $var6; $par2Random.$maxTradeUses = 7; ju_ArrayList_ensureCapacity($par0MerchantRecipeList, $par0MerchantRecipeList.$size0 + 1 | 0); var$12 = $par0MerchantRecipeList.$array.data; $var4 = $par0MerchantRecipeList.$size0; $par0MerchantRecipeList.$size0 = $var4 + 1 | 0; var$12[$var4] = $par2Random; $par0MerchantRecipeList.$modCount = $par0MerchantRecipeList.$modCount + 1 | 0; } }, nms_EntityVillager_getRandomCountForBlacksmithItem = ($par0, $par1Random) => { let $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; nms_EntityVillager_$callClinit(); $var2 = nms_EntityVillager_blacksmithSellingList; if ($par0 >= (-128) && $par0 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[$par0 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = $par0; } if (var$4 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$5 = var$4.$value0; var$6 = $var2.$elementData.data; $var2 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$5) { var$7 = $var2.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null) var$8 = 1; else { var$8 = $var2.$first0.$value0; var$5 = $var2.$second.$value0; if (var$8 < var$5) { $par0 = var$5 - var$8 | 0; var$9 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$9; var$10 = Long_lo(Long_shru(var$9, 17)); var$5 = $par0 - 1 | 0; if (!($par0 & var$5)) var$11 = Long_lo(Long_shr(Long_mul(Long_fromInt($par0), Long_fromInt(var$10)), 31)); else while (true) { var$11 = var$10 % $par0 | 0; if (((var$10 - var$11 | 0) + var$5 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$9; var$10 = Long_lo(Long_shru(var$9, 17)); } var$8 = var$8 + var$11 | 0; } } return var$8; }, nms_EntityVillager_handleHealthUpdate = ($this, $par1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 == 12) { var$2 = $rt_s(1496); $ptr = 1; continue main; } if ($par1 == 13) { var$2 = $rt_s(1497); $ptr = 2; continue main; } if ($par1 != 14) { $ptr = 3; continue main; } var$2 = $rt_s(1498); $ptr = 4; continue main; case 1: nms_EntityVillager_generateRandomParticles($this, var$2); if ($rt_suspending()) { break main; } return; case 2: nms_EntityVillager_generateRandomParticles($this, var$2); if ($rt_suspending()) { break main; } return; case 3: nms_EntityLivingBase_handleHealthUpdate($this, $par1); if ($rt_suspending()) { break main; } return; case 4: nms_EntityVillager_generateRandomParticles($this, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, $ptr); }, nms_EntityVillager_generateRandomParticles = ($this, $par1Str) => { let $var2, var$3, $var3, $var5, $var7, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = 0; var$3 = 24; while ($var2 < 5) { $var3 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var5 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var7 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$7 = $this.$worldObj; var$8 = $this.$posX; var$9 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, var$3)) / 1.6777216E7; var$12 = $this.$width1; var$13 = var$8 + var$11 * var$12 * 2.0; var$8 = var$12; var$13 = var$13 - var$8; var$14 = $this.$posY + 1.0; var$10 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$14 = var$14 + Long_lo(Long_shru(var$10, var$3)) / 1.6777216E7 * $this.$height2; var$15 = $this.$posZ; var$16 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$16; var$8 = var$15 + Long_lo(Long_shru(var$16, var$3)) / 1.6777216E7 * var$12 * 2.0 - var$8; var$17 = 0; var$9 = var$7.$worldAccesses; var$18 = $rt_compare(var$17, var$9.$size0); if (var$18 < 0) { if (var$17 >= 0 && var$18 < 0) { var$9 = var$9.$array.data[var$17]; $ptr = 1; continue main; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $var2 = $var2 + 1 | 0; } return; case 1: nms_RenderGlobal_doSpawnParticle(var$9, $par1Str, var$13, var$14, var$8, $var3, $var5, $var7); if ($rt_suspending()) { break main; } var$17 = var$17 + 1 | 0; while (true) { var$9 = var$7.$worldAccesses; var$18 = $rt_compare(var$17, var$9.$size0); if (var$18 < 0) { if (var$17 >= 0 && var$18 < 0) { var$9 = var$9.$array.data[var$17]; continue main; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $var2 = $var2 + 1 | 0; if ($var2 >= 5) break; $var3 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var5 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var7 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$7 = $this.$worldObj; var$8 = $this.$posX; var$9 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, var$3)) / 1.6777216E7; var$12 = $this.$width1; var$13 = var$8 + var$11 * var$12 * 2.0; var$8 = var$12; var$13 = var$13 - var$8; var$14 = $this.$posY + 1.0; var$10 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$14 = var$14 + Long_lo(Long_shru(var$10, var$3)) / 1.6777216E7 * $this.$height2; var$15 = $this.$posZ; var$16 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$16; var$8 = var$15 + Long_lo(Long_shru(var$16, var$3)) / 1.6777216E7 * var$12 * 2.0 - var$8; var$17 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $var2, var$3, $var3, $var5, $var7, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityVillager_onSpawnWithEgg = ($this, $par1EntityLivingData) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$2 = nms_SharedMonsterAttributes_followRange; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$6 && ju_HashMap_areEqualKeys(var$2, var$3.$key))) { var$3 = var$3.$next3; } } var$8 = var$3 === null ? null : var$3.$value1; var$3 = new nms_AttributeModifier; var$9 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05; var$4 = nle_ProfileUUID_randomUUID(); var$3.$isSaved = 1; var$3.$id2 = var$4; var$3.$name3 = $rt_s(1855); var$3.$amount = var$9; var$3.$operation = 1; if ($rt_s(1855) === $rt_s(18)) var$5 = 1; else if (!($rt_s(18) instanceof jl_String)) var$5 = 0; else { var$4 = $rt_s(18); var$5 = $rt_s(1855).$nativeString !== var$4.$nativeString ? 0 : 1; } if (var$5) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); var$2.$message = $rt_s(1292); $rt_throw(var$2); } nms_ModifiableAttributeInstance_applyModifier(var$8, var$3); var$2 = $this.$worldObj.$rand0; var$10 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); while (true) { var$11 = var$6 % 5 | 0; if (((var$6 - var$11 | 0) + 4 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); } var$2 = $this.$dataWatcher; if (var$11 >= (-128) && var$11 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$11 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$11; } var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[144]; if (var$12 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$12.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$12 !== var$8 && !(var$12 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = var$8.$watchedObject; if (!(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$3.$value0 ? 1 : 0)) { var$8.$watchedObject = var$3; var$8.$watched = 1; var$2.$objectChanged = 1; } return $par1EntityLivingData; }, nms_EntityVillager_allowLeashing = $this => { return 0; }, nms_EntityVillager_createChild = ($this, $par1EntityAgeable) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityAgeable = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityAgeable = new nms_EntityVillager; var$2 = $this.$worldObj; nms_EntityVillager_$callClinit(); var$3 = 0; $ptr = 1; case 1: nms_EntityVillager__init_($par1EntityAgeable, var$2, var$3); if ($rt_suspending()) { break main; } var$2 = nms_SharedMonsterAttributes_followRange; if ($par1EntityAgeable.$attributeMap === null) $par1EntityAgeable.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = ju_HashMap_entryByKey($par1EntityAgeable.$attributeMap.$attributes, var$2); var$4 = var$2 === null ? null : var$2.$value1; var$5 = new nms_AttributeModifier; var$6 = nle_EaglercraftRandom_nextGaussian($par1EntityAgeable.$rand) * 0.05; var$7 = nle_ProfileUUID_randomUUID(); var$5.$isSaved = 1; var$5.$id2 = var$7; var$5.$name3 = $rt_s(1855); var$5.$amount = var$6; var$5.$operation = 1; if ($rt_s(1855) === $rt_s(18)) var$3 = 1; else if (!($rt_s(18) instanceof jl_String)) var$3 = 0; else { var$7 = $rt_s(18); var$3 = $rt_s(1855).$nativeString !== var$7.$nativeString ? 0 : 1; } if (var$3) { var$2 = new jl_IllegalArgumentException; jl_Exception__init_0(var$2, $rt_s(1292)); $rt_throw(var$2); } nms_ModifiableAttributeInstance_applyModifier(var$4, var$5); var$2 = $par1EntityAgeable.$worldObj.$rand0; var$8 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 17)); while (true) { var$10 = var$9 % 5 | 0; if (((var$9 - var$10 | 0) + 4 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 17)); } var$2 = $par1EntityAgeable.$dataWatcher; if (var$10 >= (-128) && var$10 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$10 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$10; } var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$3 = jl_Integer_hashCode(var$7.$value0); var$11 = var$4.$elementData.data; var$4 = var$11[var$3 & (var$11.length - 1 | 0)]; while (var$4 !== null && !(var$4.$origKeyHash == var$3 && ju_HashMap_areEqualKeys(var$7, var$4.$key))) { var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; var$7 = var$4.$watchedObject; if (!(var$5 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5.$value0 ? 1 : 0)) { var$4.$watchedObject = var$5; var$4.$watched = 1; var$2.$objectChanged = 1; } return $par1EntityAgeable; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityAgeable, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntityVillager__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_EntityVillager_villagerStockList = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_EntityVillager_blacksmithSellingList = var$1; var$5 = nms_EntityVillager_villagerStockList; nms_Item_$callClinit(); var$2 = nms_Item_coal.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } var$1 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[152]; var$1.$first0 = var$7; var$1.$second = var$8; ju_HashMap_putImpl(var$5, var$6, var$1); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_ingotIron.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[136]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[138]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_ingotGold.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[136]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[138]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_diamond.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[132]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[134]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_paper.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[152]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[164]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_book.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[139]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[141]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_writtenBook.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[129]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[129]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_enderPearl.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[131]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[132]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_eyeOfEnder.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[130]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[131]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_porkRaw.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[142]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[146]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_beefRaw.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[142]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[146]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_chickenRaw.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[142]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[146]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_fishCooked.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[137]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[141]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_seeds.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[162]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[176]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_melonSeeds.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[158]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[166]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_pumpkinSeeds.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[158]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[166]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_wheat.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[146]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[150]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; nms_Block_$callClinit(); var$2 = nms_Block_cloth.$blockID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[142]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[150]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_villagerStockList; var$2 = nms_Item_rottenFlesh.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[164]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[192]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_flintAndSteel.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[131]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[132]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_shears.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[131]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[132]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_swordIron.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[135]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[139]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_swordDiamond.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[140]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[142]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_axeIron.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[134]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[136]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_axeDiamond.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[137]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[140]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_pickaxeIron.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[135]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[137]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_pickaxeDiamond.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[138]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[140]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_shovelIron.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[132]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[134]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_shovelDiamond.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[135]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[136]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_hoeIron.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[132]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[134]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_hoeDiamond.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[135]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[136]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_bootsIron.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[132]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[134]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_bootsDiamond.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[135]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[136]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_helmetIron.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[132]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[134]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_helmetDiamond.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[135]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[136]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_plateIron.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new nms_Tuple; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[138]; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[142]; var$6.$first0 = var$7; var$6.$second = var$8; ju_HashMap_putImpl(var$1, var$5, var$6); var$1 = nms_EntityVillager_blacksmithSellingList; var$2 = nms_Item_plateDiamond.$itemID0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else var$5 = jl_Integer__init_(var$2); ju_HashMap_put(var$1, var$5, nms_Tuple__init_(jl_Integer_valueOf(16), jl_Integer_valueOf(19))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_legsIron.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(8), jl_Integer_valueOf(10))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_legsDiamond.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(11), jl_Integer_valueOf(14))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_bootsChain.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(5), jl_Integer_valueOf(7))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_helmetChain.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(5), jl_Integer_valueOf(7))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_plateChain.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(11), jl_Integer_valueOf(15))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_legsChain.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(9), jl_Integer_valueOf(11))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_bread.$itemID0), nms_Tuple__init_(jl_Integer_valueOf((-4)), jl_Integer_valueOf((-2)))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_melon.$itemID0), nms_Tuple__init_(jl_Integer_valueOf((-8)), jl_Integer_valueOf((-4)))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_appleRed.$itemID0), nms_Tuple__init_(jl_Integer_valueOf((-8)), jl_Integer_valueOf((-4)))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_cookie.$itemID0), nms_Tuple__init_(jl_Integer_valueOf((-10)), jl_Integer_valueOf((-7)))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Block_glass.$blockID), nms_Tuple__init_(jl_Integer_valueOf((-5)), jl_Integer_valueOf((-3)))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Block_bookShelf.$blockID), nms_Tuple__init_(jl_Integer_valueOf(3), jl_Integer_valueOf(4))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_plateLeather.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(4), jl_Integer_valueOf(5))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_bootsLeather.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(2), jl_Integer_valueOf(4))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_helmetLeather.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(2), jl_Integer_valueOf(4))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_legsLeather.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(2), jl_Integer_valueOf(4))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_saddle.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(6), jl_Integer_valueOf(8))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_expBottle.$itemID0), nms_Tuple__init_(jl_Integer_valueOf((-4)), jl_Integer_valueOf((-1)))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_redstone.$itemID0), nms_Tuple__init_(jl_Integer_valueOf((-4)), jl_Integer_valueOf((-1)))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_compass.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(10), jl_Integer_valueOf(12))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_pocketSundial.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(10), jl_Integer_valueOf(12))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Block_glowStone.$blockID), nms_Tuple__init_(jl_Integer_valueOf((-3)), jl_Integer_valueOf((-1)))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_porkCooked.$itemID0), nms_Tuple__init_(jl_Integer_valueOf((-7)), jl_Integer_valueOf((-5)))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_beefCooked.$itemID0), nms_Tuple__init_(jl_Integer_valueOf((-7)), jl_Integer_valueOf((-5)))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_chickenCooked.$itemID0), nms_Tuple__init_(jl_Integer_valueOf((-8)), jl_Integer_valueOf((-6)))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_eyeOfEnder.$itemID0), nms_Tuple__init_(jl_Integer_valueOf(7), jl_Integer_valueOf(11))); ju_HashMap_put(nms_EntityVillager_blacksmithSellingList, jl_Integer_valueOf(nms_Item_arrow.$itemID0), nms_Tuple__init_(jl_Integer_valueOf((-12)), jl_Integer_valueOf((-8)))); }; function nms_RenderVillager() { nms_RenderLiving.call(this); this.$villagerModel = null; } let nms_RenderVillager_villagerTextures = null, nms_RenderVillager_farmerVillagerTextures = null, nms_RenderVillager_librarianVillagerTextures = null, nms_RenderVillager_priestVillagerTextures = null, nms_RenderVillager_smithVillagerTextures = null, nms_RenderVillager_butcherVillagerTextures = null, nms_RenderVillager_$callClinit = () => { nms_RenderVillager_$callClinit = $rt_eraseClinit(nms_RenderVillager); nms_RenderVillager__clinit_(); }, nms_RenderVillager__init_ = $this => { let var$1, var$2; nms_RenderVillager_$callClinit(); var$1 = nms_ModelVillager__init_(0.0, 0.0, 64, 64); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.5; $this.$villagerModel = var$1; }, nms_RenderVillager__init_0 = () => { let var_0 = new nms_RenderVillager(); nms_RenderVillager__init_(var_0); return var_0; }, nms_RenderVillager_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderVillager_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { let var$3, var$4, var$5, var$6; $par1EntityLivingBase = $par1EntityLivingBase; $par2 = 0.9375; $par1EntityLivingBase = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[140]; if (var$3 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$4 = var$3.$value0; var$5 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$4) { var$6 = $par1EntityLivingBase.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; if ($par1EntityLivingBase.$watchedObject.$value0 >= 0) $this.$shadowSize = 0.5; else { $par2 = 0.46875; $this.$shadowSize = 0.25; } nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = $par2; $par1EntityLivingBase.$y = $par2; $par1EntityLivingBase.$z = $par2; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; jl_Object__init_(var$6); var$6.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$6); $par1EntityLivingBase.$sb = var$6; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RenderVillager_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { return (-1); }, nms_RenderVillager_bindTexture = ($this, $par1EntityLiving) => { let var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $par1EntityLiving = $par1EntityLiving.$elementData.data[0]; while ($par1EntityLiving !== null && $par1EntityLiving.$key !== null) { $par1EntityLiving = $par1EntityLiving.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1EntityLiving.$elementData.data; $par1EntityLiving = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1EntityLiving !== null) { if ($par1EntityLiving.$origKeyHash == var$3) { var$5 = $par1EntityLiving.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $par1EntityLiving = $par1EntityLiving.$next3; } } switch (($par1EntityLiving === null ? null : $par1EntityLiving.$value1).$watchedObject.$value0) { case 0: break; case 1: nms_RenderVillager_$callClinit(); $par1EntityLiving = nms_RenderVillager_librarianVillagerTextures; $ptr = 2; continue main; case 2: nms_RenderVillager_$callClinit(); $par1EntityLiving = nms_RenderVillager_priestVillagerTextures; $ptr = 3; continue main; case 3: nms_RenderVillager_$callClinit(); $par1EntityLiving = nms_RenderVillager_smithVillagerTextures; $ptr = 4; continue main; case 4: nms_RenderVillager_$callClinit(); $par1EntityLiving = nms_RenderVillager_butcherVillagerTextures; $ptr = 5; continue main; default: nms_RenderVillager_$callClinit(); $par1EntityLiving = nms_RenderVillager_villagerTextures; $ptr = 6; continue main; } nms_RenderVillager_$callClinit(); $par1EntityLiving = nms_RenderVillager_farmerVillagerTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 2: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 3: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 4: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 5: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 6: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, var$2, var$3, var$4, var$5, $ptr); }, nms_RenderVillager_renderEquippedItems = ($this, $par1EntityLivingBase, $par2) => { return; }, nms_RenderVillager_getEntityTexture = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5; $par1Entity = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1Entity.$elementData.data; $par1Entity = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$3) { var$5 = $par1Entity.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; a: { switch ($par1Entity.$watchedObject.$value0) { case 0: break; case 1: nms_RenderVillager_$callClinit(); $par1Entity = nms_RenderVillager_librarianVillagerTextures; break a; case 2: nms_RenderVillager_$callClinit(); $par1Entity = nms_RenderVillager_priestVillagerTextures; break a; case 3: nms_RenderVillager_$callClinit(); $par1Entity = nms_RenderVillager_smithVillagerTextures; break a; case 4: nms_RenderVillager_$callClinit(); $par1Entity = nms_RenderVillager_butcherVillagerTextures; break a; default: nms_RenderVillager_$callClinit(); $par1Entity = nms_RenderVillager_villagerTextures; break a; } nms_RenderVillager_$callClinit(); $par1Entity = nms_RenderVillager_farmerVillagerTextures; } return $par1Entity; }, nms_RenderVillager_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderVillager__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2019); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderVillager_villagerTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2020); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderVillager_farmerVillagerTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2021); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderVillager_librarianVillagerTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2022); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderVillager_priestVillagerTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2023); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderVillager_smithVillagerTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2024); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderVillager_butcherVillagerTextures = var$1; }; function nms_EntityIronGolem() { let a = this; nms_EntityGolem.call(a); a.$homeCheckTimer = 0; a.$villageObj1 = null; a.$attackTimer = 0; a.$holdRoseTick = 0; } let nms_EntityIronGolem__init_ = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; var$2 = 1.399999976158142; var$3 = 2.9000000953674316; $ptr = 1; case 1: nms_Entity_setSize($this, var$2, var$3); if ($rt_suspending()) { break main; } $this.$navigator.$avoidsWater = 1; $par1World = $this.$tasks0; var$4 = new nms_EntityAIAttackOnCollide; var$4.$attacker = $this; var$4.$worldObj8 = $this.$worldObj; var$4.$field_75440_e = 1.0; var$4.$longMemory = 1; var$4.$mutexBits = 3; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 1; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIMoveTowardsTarget; var$4.$theEntity10 = $this; var$4.$speed4 = 0.9; var$4.$maxTargetDistance = 32.0; var$4.$mutexBits = 1; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 2; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIMoveThroughVillage; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$4.$doorList = var$6; var$4.$theEntity4 = $this; var$4.$movementSpeed0 = 0.6; var$4.$isNocturnal = 1; var$4.$mutexBits = 1; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 3; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIMoveTowardsRestriction; var$4.$theEntity0 = $this; var$4.$movementSpeed = 1.0; var$4.$mutexBits = 1; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 4; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAILookAtVillager; var$4.$theGolem0 = $this; var$4.$mutexBits = 3; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 5; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIWander; var$4.$entity = $this; var$4.$speed = 0.6; var$4.$mutexBits = 1; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 6; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIWatchClosest; var$4.$theWatcher = $this; var$4.$watchedClass = $rt_cls(nms_EntityPlayer); var$4.$maxDistanceForPlayer = 6.0; var$4.$field_75331_e = 0.019999999552965164; var$4.$mutexBits = 2; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 7; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAILookIdle; var$4.$idleEntity = $this; var$4.$mutexBits = 3; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 8; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$4 = new nms_EntityAIDefendVillage; var$4.$taskOwner = $this; var$4.$shouldCheckSight = 0; var$4.$nearbyOnly = 1; var$4.$irongolem = $this; var$4.$mutexBits = 1; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 1; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$4 = new nms_EntityAIHurtByTarget; var$4.$taskOwner = $this; var$4.$shouldCheckSight = 0; var$4.$nearbyOnly = 0; var$4.$entityCallsForHelp = 0; var$4.$mutexBits = 1; var$5 = $par1World.$taskEntries; var$6 = new nms_EntityAITaskEntry; var$6.$tasks = $par1World; var$6.$priority = 2; var$6.$action = var$4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; var$4 = $this.$targetTasks; var$6 = new nms_EntityAINearestAttackableTarget; $par1World = nms_IMob_mobSelector; var$6.$taskOwner = $this; var$6.$shouldCheckSight = 0; var$6.$nearbyOnly = 1; var$6.$targetClass = $rt_cls(nms_EntityLiving); var$6.$targetChance = 0; var$5 = new nms_EntityAINearestAttackableTargetSorter; var$5.$theEntity5 = $this; var$6.$theNearestAttackableTargetSorter = var$5; var$6.$mutexBits = 1; var$5 = new nms_EntityAINearestAttackableTargetSelector; var$5.$field_111102_d = var$6; var$5.$field_111103_c = $par1World; var$6.$targetEntitySelector = var$5; var$5 = var$4.$taskEntries; $par1World = new nms_EntityAITaskEntry; $par1World.$tasks = var$4; $par1World.$priority = 3; $par1World.$action = var$6; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$7 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$7[var$8] = $par1World; var$5.$modCount = var$5.$modCount + 1 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityIronGolem__init_0 = var_0 => { let var_1 = new nms_EntityIronGolem(); nms_EntityIronGolem__init_(var_1, var_0); return var_1; }, nms_EntityIronGolem_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); nms_DataWatcher_addObject($this.$dataWatcher, 16, jl_Byte_byteCache.data[128]); }, nms_EntityIronGolem_isAIEnabled = $this => { return 1; }, nms_EntityIronGolem_updateAITick = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$homeCheckTimer - 1 | 0; $this.$homeCheckTimer = var$1; if (var$1 <= 0) { $var1 = $this.$rand; var$3 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 50 | 0; if (((var$4 - var$5 | 0) + 49 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } $this.$homeCheckTimer = 70 + var$5 | 0; $var1 = $this.$worldObj.$villageCollectionObj; var$6 = $this.$posX; var$7 = var$6 | 0; if (var$6 < var$7) var$7 = var$7 - 1 | 0; var$6 = $this.$posY; var$8 = var$6 | 0; if (var$6 < var$8) var$8 = var$8 - 1 | 0; var$6 = $this.$posZ; var$9 = var$6 | 0; if (var$6 < var$9) var$9 = var$9 - 1 | 0; $var1 = nms_VillageCollection_findNearestVillage($var1, var$7, var$8, var$9, 32); $this.$villageObj1 = $var1; if ($var1 === null) $this.$maximumHomeDistance = (-1.0); else { $var1 = $var1.$getCenter(); var$1 = $var1.$posX0; var$9 = $var1.$posY0; var$8 = $var1.$posZ0; var$7 = $this.$villageObj1.$getVillageRadius() * 0.6000000238418579 | 0; $var1 = $this.$homePosition; $var1.$posX0 = var$1; $var1.$posY0 = var$9; $var1.$posZ0 = var$8; $this.$maximumHomeDistance = var$7; } } }, nms_EntityIronGolem_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (100.0 !== var$3.$baseValue) { var$3.$baseValue = 100.0; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break b; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.25 !== var$1.$baseValue) { var$1.$baseValue = 0.25; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityIronGolem_decreaseAirSupply = ($this, $par1) => { return $par1; }, nms_EntityIronGolem_collideWithEntity = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($rt_isInstance($par1Entity, nms_IMob)) { var$2 = $this.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 20 | 0; if (((var$4 - var$5 | 0) + 19 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } if (!var$5) $this.$attackTarget = $par1Entity; } $ptr = 1; case 1: $par1Entity.$applyEntityCollision($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, var$2, var$3, var$4, var$5, $ptr); }, nms_EntityIronGolem_onLivingUpdate = $this => { let $var4, var$2, var$3, var$4, var$5, $var2, $var1, $var3, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var4 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } $var4 = $this.$attackTimer; if ($var4 > 0) $this.$attackTimer = $var4 - 1 | 0; $var4 = $this.$holdRoseTick; if ($var4 > 0) $this.$holdRoseTick = $var4 - 1 | 0; var$2 = $this.$motionX; var$2 = var$2 * var$2; var$3 = $this.$motionZ; if (var$2 + var$3 * var$3 > 2.500000277905201E-7) { var$4 = $this.$rand; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; $var2 = Long_lo(Long_shru(var$5, 17)); while (true) { $var1 = $var2 % 5 | 0; if ((($var2 - $var1 | 0) + 4 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; $var2 = Long_lo(Long_shru(var$5, 17)); } if (!$var1) { var$2 = $this.$posX; $var1 = var$2 | 0; if (var$2 < $var1) $var1 = $var1 - 1 | 0; var$2 = $this.$posY - 0.20000000298023224 - $this.$yOffset; $var2 = var$2 | 0; if (var$2 < $var2) $var2 = $var2 - 1 | 0; var$2 = $this.$posZ; $var3 = var$2 | 0; if (var$2 < $var3) $var3 = $var3 - 1 | 0; $var4 = nms_World_getBlockId($this.$worldObj, $var1, $var2, $var3); if ($var4 > 0) { var$4 = $this.$worldObj; $var3 = nms_World_getBlockMetadata(var$4, $var1, $var2, $var3); var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1237)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $var4, 10); $var2 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, $var2, $var2 + 1 | 0); var$9.$buffer.data[$var2] = 95; jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $var3, 10); var$10 = new jl_String; var$11 = var$9.$buffer; var$12 = var$11.data; $var3 = var$9.$length0; $var2 = var$12.length; if ($var3 >= 0 && $var3 <= ($var2 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$11.data, 0, $var3); var$3 = $this.$posX; var$9 = $this.$rand; var$13 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$13; var$2 = Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 - 0.5; var$14 = $this.$width1; var$2 = var$3 + var$2 * var$14; var$3 = $this.$boundingBox.$minY + 0.1; var$15 = $this.$posZ; var$5 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$5; var$16 = var$15 + (Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 - 0.5) * var$14; var$5 = Long_and(Long_add(Long_mul(var$5, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$5; var$14 = 4.0 * (Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 - 0.5); var$15 = 0.5; var$5 = Long_and(Long_add(Long_mul(var$5, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$5; var$17 = (Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 - 0.5) * 4.0; $var4 = 0; var$9 = var$4.$worldAccesses; $var3 = $rt_compare($var4, var$9.$size0); if ($var3 < 0) { if ($var4 >= 0 && $var3 < 0) { var$9 = var$9.$array.data[$var4]; $ptr = 2; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } } } } return; case 2: nms_RenderGlobal_doSpawnParticle(var$9, var$10, var$2, var$3, var$16, var$14, var$15, var$17); if ($rt_suspending()) { break main; } $var4 = $var4 + 1 | 0; var$9 = var$4.$worldAccesses; $var3 = $rt_compare($var4, var$9.$size0); if ($var3 >= 0) return; if ($var4 >= 0 && $var3 < 0) { var$9 = var$9.$array.data[$var4]; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var4, var$2, var$3, var$4, var$5, $var2, $var1, $var3, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_EntityIronGolem_canAttackClass = ($this, $par1Class) => { let var$2, var$3, var$4, var$5, var$6, var$7; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; var$7 = !(var$2.$watchedObject.$value2 & 1) ? 0 : 1; return var$7 && otp_Platform_isAssignable($par1Class.$platformClass, $rt_cls(nms_EntityPlayer).$platformClass) ? 0 : $rt_cls(nms_EntityCreeper) !== $par1Class && $rt_cls(nms_EntityGhast) !== $par1Class ? 1 : 0; }, nms_EntityIronGolem_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; var$7 = (!(!(var$2.$watchedObject.$value2 & 1) ? 0 : 1) ? 0 : 1) << 24 >> 24; var$2 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(2025); $par1NBTTagCompound.$data = var$7; ju_HashMap_putImpl(var$2, $rt_s(2025), $par1NBTTagCompound); }, nms_EntityIronGolem_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2025).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2025).$nativeString.length) break a; $rt_s(2025).$hashCode1 = (31 * $rt_s(2025).$hashCode1 | 0) + $rt_s(2025).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2025).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(2025) !== var$6) { if ($rt_s(2025) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2025).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2025) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { c: { if (!$rt_s(2025).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2025).$nativeString.length) break c; $rt_s(2025).$hashCode1 = (31 * $rt_s(2025).$hashCode1 | 0) + $rt_s(2025).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2025).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$4) { d: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(2025) !== var$2) { if ($rt_s(2025) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(2025).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data; } var$4 = !var$3 ? 0 : 1; $par1NBTTagCompound = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { var$7 = var$2.$value0; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$7 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$7) { var$8 = $par1NBTTagCompound.$key; if (var$2 !== var$8 && !(var$2 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$watchedObject.$value2; if (!var$4) { $par1NBTTagCompound = $this.$dataWatcher; var$3 = (var$3 & (-2)) << 24 >> 24; var$9 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$8 = $par1NBTTagCompound.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$4 = var$6.$value0; var$5 = var$8.$elementData.data; var$8 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$4) { var$2 = var$8.$key; if (var$6 !== var$2 && !(var$6 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$2 = var$8 === null ? null : var$8.$value1; var$8 = var$2.$watchedObject; if (!(var$8 instanceof jl_Byte && var$8.$value2 == var$9.$value2 ? 1 : 0)) { var$2.$watchedObject = var$9; var$2.$watched = 1; $par1NBTTagCompound.$objectChanged = 1; } } else { $par1NBTTagCompound = $this.$dataWatcher; var$3 = (var$3 | 1) << 24 >> 24; var$9 = jl_Byte_byteCache.data[var$3 + 128 | 0]; var$8 = $par1NBTTagCompound.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$4 = var$6.$value0; var$5 = var$8.$elementData.data; var$8 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$4) { var$2 = var$8.$key; if (var$6 !== var$2 && !(var$6 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$2 = var$8 === null ? null : var$8.$value1; var$8 = var$2.$watchedObject; if (!(var$8 instanceof jl_Byte && var$8.$value2 == var$9.$value2 ? 1 : 0)) { var$2.$watchedObject = var$9; var$2.$watched = 1; $par1NBTTagCompound.$objectChanged = 1; } } }, nms_EntityIronGolem_attackEntityAsMob = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5, var$6, var$7, $var2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$attackTimer = 10; var$2 = new nms_EntityDamageSource; var$2.$hungerDamage = 0.30000001192092896; var$2.$damageType = $rt_s(1858); var$2.$damageSourceEntity = $this; var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); while (true) { var$6 = var$5 % 15 | 0; if (((var$5 - var$6 | 0) + 14 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } var$7 = 7 + var$6 | 0; $ptr = 1; case 1: $tmp = $par1Entity.$attackEntityFrom(var$2, var$7); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2) $par1Entity.$motionY = $par1Entity.$motionY + 0.4000000059604645; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2026), 1.0, 1.0); return $var2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, var$2, var$3, var$4, var$5, var$6, var$7, $var2, $ptr); }, nms_EntityIronGolem_handleHealthUpdate = ($this, $par1) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 == 4) { $this.$attackTimer = 10; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2026), 1.0, 1.0); } else { if ($par1 != 11) { $ptr = 1; continue main; } $this.$holdRoseTick = 400; } return; case 1: nms_EntityLivingBase_handleHealthUpdate($this, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $ptr); }, nms_EntityIronGolem_getLivingSound = $this => { return $rt_s(1946); }, nms_EntityIronGolem_getHurtSound = $this => { return $rt_s(2027); }, nms_EntityIronGolem_getDeathSound = $this => { return $rt_s(2028); }, nms_EntityIronGolem_playStepSound = ($this, $par1, $par2, $par3, $par4) => { nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2029), 1.0, 1.0); }, nms_EntityIronGolem_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, var$5, $var5, $var3, $var4, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = 17; $par2 = Long_lo(Long_shru(var$4, var$5)); $var5 = 2; while (true) { $var3 = $par2 % 3 | 0; if ((($par2 - $var3 | 0) + $var5 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); } $var4 = 0; var$9 = 0.0; var$10 = 138; if ($var4 < $var3) { nms_Block_$callClinit(); $par1 = nms_Block_plantRed.$blockID; var$11 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$11.$itemID = $par1; var$11.$stackSize = 1; var$11.$itemDamage = 0; var$12 = new nms_EntityItem; var$3 = $this.$worldObj; var$13 = $this.$posX; var$14 = $this.$posY + var$9; var$15 = $this.$posZ; $ptr = 1; continue main; } var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var3 = Long_lo(Long_shru(var$4, var$5)); while (true) { $var4 = $var3 % 3 | 0; if ((($var3 - $var4 | 0) + $var5 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var3 = Long_lo(Long_shru(var$4, var$5)); } $par2 = 3 + $var4 | 0; $var5 = 0; if ($var5 >= $par2) return; nms_Item_$callClinit(); $par1 = nms_Item_ingotIron.$itemID0; var$11 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$11.$itemID = $par1; var$11.$stackSize = 1; var$11.$itemDamage = 0; var$12 = new nms_EntityItem; var$3 = $this.$worldObj; var$13 = $this.$posX; var$14 = $this.$posY + var$9; var$15 = $this.$posZ; $ptr = 2; continue main; case 1: nms_EntityItem__init_(var$12, var$3, var$13, var$14, var$15); if ($rt_suspending()) { break main; } var$16 = var$12.$dataWatcher; var$17 = var$16.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$17, jl_Integer_integerCache.data[var$10]); var$17 = var$3 === null ? null : var$3.$value1; if (!(var$11 !== var$17.$watchedObject ? 0 : 1)) { var$17.$watchedObject = var$11; var$17.$watched = 1; var$16.$objectChanged = 1; } var$16 = var$12.$dataWatcher; var$3 = var$16.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$10]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$16.$objectChanged = 1; var$12.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$12); var$16 = var$3.$entityList; ju_HashMap_putImpl(var$16.$backingMap, var$12, var$16); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$12, var$3); } $var4 = $var4 + 1 | 0; if ($var4 < $var3) { nms_Block_$callClinit(); $par1 = nms_Block_plantRed.$blockID; var$11 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$11.$itemID = $par1; var$11.$stackSize = 1; var$11.$itemDamage = 0; var$12 = new nms_EntityItem; var$3 = $this.$worldObj; var$13 = $this.$posX; var$14 = $this.$posY + var$9; var$15 = $this.$posZ; continue main; } var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var3 = Long_lo(Long_shru(var$4, var$5)); while (true) { $var4 = $var3 % 3 | 0; if ((($var3 - $var4 | 0) + $var5 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var3 = Long_lo(Long_shru(var$4, var$5)); } $par2 = 3 + $var4 | 0; $var5 = 0; if ($var5 >= $par2) return; nms_Item_$callClinit(); $par1 = nms_Item_ingotIron.$itemID0; var$11 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$11.$itemID = $par1; var$11.$stackSize = 1; var$11.$itemDamage = 0; var$12 = new nms_EntityItem; var$3 = $this.$worldObj; var$13 = $this.$posX; var$14 = $this.$posY + var$9; var$15 = $this.$posZ; $ptr = 2; case 2: nms_EntityItem__init_(var$12, var$3, var$13, var$14, var$15); if ($rt_suspending()) { break main; } var$16 = var$12.$dataWatcher; var$17 = var$16.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$17, jl_Integer_integerCache.data[var$10]); var$17 = var$3 === null ? null : var$3.$value1; if (!(var$11 !== var$17.$watchedObject ? 0 : 1)) { var$17.$watchedObject = var$11; var$17.$watched = 1; var$16.$objectChanged = 1; } var$11 = var$12.$dataWatcher; var$3 = var$11.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$10]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$11.$objectChanged = 1; var$12.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$12); var$16 = var$3.$entityList; ju_HashMap_putImpl(var$16.$backingMap, var$12, var$16); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$12, var$3); } $var5 = $var5 + 1 | 0; if ($var5 >= $par2) return; nms_Item_$callClinit(); $par1 = nms_Item_ingotIron.$itemID0; var$11 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$11.$itemID = $par1; var$11.$stackSize = 1; var$11.$itemDamage = 0; var$12 = new nms_EntityItem; var$3 = $this.$worldObj; var$13 = $this.$posX; var$14 = $this.$posY + var$9; var$15 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, $var5, $var3, $var4, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_EntityIronGolem_onDeath = ($this, $par1DamageSource) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(!(var$2.$watchedObject.$value2 & 1) ? 0 : 1)) { var$2 = $this.$attackingPlayer; if (var$2 !== null) { var$3 = $this.$villageObj1; if (var$3 !== null) var$3.$setReputationForPlayer(var$2.$username, (-5)); } } $ptr = 1; case 1: nms_EntityLivingBase_onDeath($this, $par1DamageSource); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, var$2, var$3, var$4, var$5, var$6, $ptr); }; function nms_RenderIronGolem() { nms_RenderLiving.call(this); this.$ironGolemModel = null; } let nms_RenderIronGolem_ironGolemTextures = null, nms_RenderIronGolem_$callClinit = () => { nms_RenderIronGolem_$callClinit = $rt_eraseClinit(nms_RenderIronGolem); nms_RenderIronGolem__clinit_(); }, nms_RenderIronGolem__init_ = $this => { let var$1, var$2; nms_RenderIronGolem_$callClinit(); var$1 = nms_ModelIronGolem__init_1(0.0, (-7.0)); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.5; $this.$ironGolemModel = var$1; }, nms_RenderIronGolem__init_0 = () => { let var_0 = new nms_RenderIronGolem(); nms_RenderIronGolem__init_(var_0); return var_0; }, nms_RenderIronGolem_rotateIronGolemCorpse = ($this, $par1EntityIronGolem, $par2, $par3, $par4) => { let var$5; nms_RendererLivingEntity_rotateCorpse($this, $par1EntityIronGolem, $par2, $par3, $par4); $par2 = $par1EntityIronGolem.$limbSwingAmount; if ($par2 >= 0.01) { $par2 = 6.5 * (jl_Math_absImpl0(($par1EntityIronGolem.$limbSwing - $par2 * (1.0 - $par4) + 6.0) % 13.0 - 6.5) - 3.25) / 3.25; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityIronGolem = nleg_EaglerAdapterGL30_deevis; $par1EntityIronGolem.$x = 0.0; $par1EntityIronGolem.$y = 0.0; $par1EntityIronGolem.$z = 1.0; $par1EntityIronGolem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityIronGolem, $par1EntityIronGolem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityIronGolem = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityIronGolem); $par1EntityIronGolem.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); $par1EntityIronGolem.$sb = var$5; $par1EntityIronGolem.$buffer0 = $rt_createCharArray(32); $par1EntityIronGolem.$autoFlush = 0; $par1EntityIronGolem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityIronGolem; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } }, nms_RenderIronGolem_renderIronGolemEquippedItems = ($this, $par1EntityIronGolem, $par2) => { let var$3, var$4, var$5, $var4, $var5, $var6, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1EntityIronGolem = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1EntityIronGolem.$holdRoseTick) return; nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_glPushMatrix(); var$3 = 5.0 + 180.0 * $this.$ironGolemModel.$ironGolemRightArm.$rotateAngleX / 3.1415927410125732; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$3 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = (-0.6875); var$4.$y = 1.25; var$4.$z = (-0.9375); var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.5707963705062866, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.800000011920929; var$4.$y = (-0.800000011920929); var$4.$z = 0.800000011920929; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } a: { $var4 = nms_Entity_getBrightnessForRender($par1EntityIronGolem, $par2); $var5 = $var4 % 65536 | 0; $var6 = $var4 / 65536 | 0; $var4 = nms_OpenGlHelper_lightmapTexUnit; $par2 = $var5 / 1.0; $var3 = $var6 / 1.0; switch ($var4) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = $par2; nleg_EaglerAdapterGL30_tex1Y = $var3; break a; default: if (jl_System_errCache === null) { $par1EntityIronGolem = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; jl_Object__init_(var$4); var$4.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityIronGolem); $par1EntityIronGolem.$out0 = var$4; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$4); $par1EntityIronGolem.$sb = var$4; $par1EntityIronGolem.$buffer0 = $rt_createCharArray(32); $par1EntityIronGolem.$autoFlush = 0; $par1EntityIronGolem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityIronGolem; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break a; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = $par2; nleg_EaglerAdapterGL30_tex0Y = $var3; } $var4 = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorSerial = $var4; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_colorSerial = $var4 + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_TextureMap_$callClinit(); $par1EntityIronGolem = nms_TextureMap_locationBlocksTexture; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityIronGolem); if ($rt_suspending()) { break main; } $par1EntityIronGolem = $this.$renderBlocks; nms_Block_$callClinit(); var$4 = nms_Block_plantRed; $var4 = 0; $par2 = 1.0; $ptr = 2; case 2: nms_RenderBlocks_renderBlockAsItem($par1EntityIronGolem, var$4, $var4, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(32826); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityIronGolem, $par2, var$3, var$4, var$5, $var4, $var5, $var6, $var3, $ptr); }, nms_RenderIronGolem_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderIronGolem_renderEquippedItems = ($this, $par1EntityLivingBase, $par2) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: nms_RenderIronGolem_renderIronGolemEquippedItems($this, $par1EntityLivingBase, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $ptr); }, nms_RenderIronGolem_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderIronGolem_$callClinit(); $par1EntityLiving = nms_RenderIronGolem_ironGolemTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderIronGolem_rotateCorpse = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { nms_RenderIronGolem_rotateIronGolemCorpse($this, $par1EntityLivingBase, $par2, $par3, $par4); }, nms_RenderIronGolem_getEntityTexture = ($this, $par1Entity) => { nms_RenderIronGolem_$callClinit(); return nms_RenderIronGolem_ironGolemTextures; }, nms_RenderIronGolem_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderIronGolem__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2030); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderIronGolem_ironGolemTextures = var$1; }, nms_EntityAmbientCreature = $rt_classWithoutFields(nms_EntityLiving), nms_EntityAmbientCreature_allowLeashing = $this => { return 0; }, nms_EntityAmbientCreature_interact = ($this, $par1EntityPlayer) => { return 0; }; function nms_EntityBat() { nms_EntityAmbientCreature.call(this); this.$currentFlightTarget = null; } let nms_EntityBat_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); var$2 = $this.$dataWatcher; var$1 = new jl_Byte; var$1.$value2 = 0; nms_DataWatcher_addObject(var$2, 16, var$1); }, nms_EntityBat_getSoundVolume = $this => { return 0.10000000149011612; }, nms_EntityBat_getSoundPitch = $this => { return nms_EntityLivingBase_getSoundPitch($this) * 0.949999988079071; }, nms_EntityBat_getLivingSound = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; var$6 = !(var$1.$watchedObject.$value2 & 1) ? 0 : 1; a: { if (var$6) { var$1 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$7; if (Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31))) { var$1 = null; break a; } } var$1 = $rt_s(2031); } return var$1; }, nms_EntityBat_getHurtSound = $this => { return $rt_s(2032); }, nms_EntityBat_getDeathSound = $this => { return $rt_s(2033); }, nms_EntityBat_canBePushed = $this => { return 0; }, nms_EntityBat_collideWithEntity = ($this, $par1Entity) => { return; }, nms_EntityBat_collideWithNearbyEntities = $this => { return; }, nms_EntityBat_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (6.0 !== var$1.$baseValue) { var$1.$baseValue = 6.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityBat_isAIEnabled = $this => { return 1; }, nms_EntityBat_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_EntityLivingBase_onUpdate($this); if ($rt_suspending()) { break main; } if (!$this.$worldObj.$isRemote) { if ($this.$field_110170_bx !== null) { $ptr = 2; continue main; } if ($this.$isLeashed) { var$1 = $this.$leashedToEntity; if (var$1 === null) break a; if (var$1.$isDead) break a; } } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 1) ? 0 : 1)) $this.$motionY = $this.$motionY * 0.6000000238418579; else { $this.$motionZ = 0.0; $this.$motionY = 0.0; $this.$motionX = 0.0; var$6 = $this.$posY; var$7 = var$6 | 0; if (var$6 < var$7) var$7 = var$7 - 1 | 0; $this.$posY = var$7 + 1.0 - $this.$height2; } return; } var$8 = 1; var$7 = 1; $ptr = 3; continue main; case 2: nms_EntityLiving_recreateLeash($this); if ($rt_suspending()) { break main; } a: { if ($this.$isLeashed) { var$1 = $this.$leashedToEntity; if (var$1 === null) break a; if (var$1.$isDead) break a; } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 1) ? 0 : 1)) $this.$motionY = $this.$motionY * 0.6000000238418579; else { $this.$motionZ = 0.0; $this.$motionY = 0.0; $this.$motionX = 0.0; var$6 = $this.$posY; var$7 = var$6 | 0; if (var$6 < var$7) var$7 = var$7 - 1 | 0; $this.$posY = var$7 + 1.0 - $this.$height2; } return; } var$8 = 1; var$7 = 1; $ptr = 3; case 3: nms_EntityLiving_clearLeashed($this, var$8, var$7); if ($rt_suspending()) { break main; } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 1) ? 0 : 1)) $this.$motionY = $this.$motionY * 0.6000000238418579; else { $this.$motionZ = 0.0; $this.$motionY = 0.0; $this.$motionX = 0.0; var$6 = $this.$posY; var$7 = var$6 | 0; if (var$6 < var$7) var$7 = var$7 - 1 | 0; $this.$posY = var$7 + 1.0 - $this.$height2; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityBat_updateAITasks = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $var7, var$12, $var8, var$14, var$15, $var1, $var3, $var5, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var8 = $thread.pop();var$12 = $thread.pop();$var7 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$entityAge = $this.$entityAge + 1 | 0; $ptr = 1; case 1: nms_EntityLiving_despawnEntity($this); if ($rt_suspending()) { break main; } var$1 = $this.$senses; var$2 = var$1.$seenEntities; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = var$1.$unseenEntities; var$3 = var$1.$array; var$4 = 0; var$5 = var$1.$size0; var$2 = null; if (var$4 > var$5) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$2; var$4 = var$8; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$targetTasks; $ptr = 2; case 2: nms_EntityAITasks_onUpdateTasks(var$1); if ($rt_suspending()) { break main; } var$1 = $this.$tasks0; $ptr = 3; case 3: nms_EntityAITasks_onUpdateTasks(var$1); if ($rt_suspending()) { break main; } nms_PathNavigate_onUpdateNavigation($this.$navigator); nms_EntityMoveHelper_onUpdateMoveHelper($this.$moveHelper); nms_EntityLookHelper_onUpdateLook($this.$lookHelper); var$1 = $this.$jumpHelper; var$1.$entity0.$isJumping = var$1.$isJumping0; var$1.$isJumping0 = 0; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 !== null) { var$4 = var$2.$value0; var$3 = var$1.$elementData.data; var$1 = var$3[var$4 & (var$3.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$6 = var$1.$key; if (var$2 !== var$6 && !(var$2 !== var$6 ? (var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) : 1) ? 0 : 1) break; } var$1 = var$1.$next3; } } else { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; var$4 = !(var$1.$watchedObject.$value2 & 1) ? 0 : 1; a: { if (!var$4) { var$1 = $this.$currentFlightTarget; if (var$1 !== null) { var$4 = nms_World_getBlockId($this.$worldObj, var$1.$posX0, var$1.$posY0, var$1.$posZ0) ? 0 : 1; if (!(var$4 && $this.$currentFlightTarget.$posY0 >= 1)) $this.$currentFlightTarget = null; } b: { var$1 = $this.$currentFlightTarget; if (var$1 !== null) { var$2 = $this.$rand; var$9 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$9; var$8 = Long_lo(Long_shru(var$9, 17)); while (true) { var$10 = var$8 % 30 | 0; if (((var$8 - var$10 | 0) + 29 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$9; var$8 = Long_lo(Long_shru(var$9, 17)); } if (var$10) { var$4 = $this.$posX | 0; var$5 = $this.$posY | 0; var$8 = $this.$posZ | 0; $var7 = var$1.$posX0 - var$4 | 0; var$12 = var$1.$posY0 - var$5 | 0; $var8 = var$1.$posZ0 - var$8 | 0; if ($var7 * $var7 + var$12 * var$12 + $var8 * $var8 >= 4.0) break b; } } var$1 = new nms_ChunkCoordinates; var$5 = $this.$posX | 0; var$2 = $this.$rand; var$9 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$9; var$8 = Long_lo(Long_shru(var$9, 17)); while (true) { var$10 = var$8 % 7 | 0; if (((var$8 - var$10 | 0) + 6 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$9; var$8 = Long_lo(Long_shru(var$9, 17)); } var$4 = var$5 + var$10 | 0; var$9 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$9; var$8 = Long_lo(Long_shru(var$9, 17)); while (true) { var$10 = var$8 % 7 | 0; if (((var$8 - var$10 | 0) + 6 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$9; var$8 = Long_lo(Long_shru(var$9, 17)); } var$5 = var$4 - var$10 | 0; var$8 = $this.$posY | 0; var$9 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$9; var$14 = Long_lo(Long_shru(var$9, 17)); while (true) { var$15 = var$14 % 6 | 0; if (((var$14 - var$15 | 0) + 5 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$9; var$14 = Long_lo(Long_shru(var$9, 17)); } var$8 = (var$8 + var$15 | 0) - 2 | 0; var$10 = $this.$posZ | 0; var$9 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$9; var$14 = Long_lo(Long_shru(var$9, 17)); while (true) { var$15 = var$14 % 7 | 0; if (((var$14 - var$15 | 0) + 6 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$9; var$14 = Long_lo(Long_shru(var$9, 17)); } var$4 = var$10 + var$15 | 0; var$9 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$9; var$14 = Long_lo(Long_shru(var$9, 17)); while (true) { var$15 = var$14 % 7 | 0; if (((var$14 - var$15 | 0) + 6 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$9; var$14 = Long_lo(Long_shru(var$9, 17)); } var$4 = var$4 - var$15 | 0; var$1.$posX0 = var$5; var$1.$posY0 = var$8; var$1.$posZ0 = var$4; $this.$currentFlightTarget = var$1; } var$1 = $this.$currentFlightTarget; $var1 = var$1.$posX0 + 0.5 - $this.$posX; $var3 = var$1.$posY0 + 0.1 - $this.$posY; $var5 = var$1.$posZ0 + 0.5 - $this.$posZ; $this.$motionX = $this.$motionX + (jl_Math_sign($var1) * 0.5 - $this.$motionX) * 0.10000000149011612; $this.$motionY = $this.$motionY + (jl_Math_sign($var3) * 0.699999988079071 - $this.$motionY) * 0.10000000149011612; $var1 = $this.$motionZ + (jl_Math_sign($var5) * 0.5 - $this.$motionZ) * 0.10000000149011612; $this.$motionZ = $var1; $var7 = jl_Math_atan2($var1, $this.$motionX) * 180.0 / 3.141592653589793 - 90.0; var$12 = $this.$rotationYaw; $var8 = ($var7 - var$12) % 360.0; if ($var8 >= 180.0) $var8 = $var8 - 360.0; if ($var8 < (-180.0)) $var8 = $var8 + 360.0; $this.$moveForward = 0.5; $this.$rotationYaw = var$12 + $var8; var$1 = $this.$rand; var$9 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$9; var$10 = Long_lo(Long_shru(var$9, 17)); while (true) { var$5 = var$10 % 100 | 0; if (((var$10 - var$5 | 0) + 99 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$9; var$10 = Long_lo(Long_shru(var$9, 17)); } if (!var$5) { var$1 = $this.$worldObj; $var1 = $this.$posX; var$10 = $var1 | 0; if ($var1 < var$10) var$10 = var$10 - 1 | 0; var$4 = ($this.$posY | 0) + 1 | 0; $var1 = $this.$posZ; var$8 = $var1 | 0; if ($var1 < var$8) var$8 = var$8 - 1 | 0; var$4 = nms_World_getBlockId(var$1, var$10, var$4, var$8); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$4]; if (var$1 === null) var$4 = 0; else { var$2 = var$1.$blockMaterial; var$4 = !var$2.$isTranslucent ? var$2.$blocksMovement() : 0; var$4 = var$4 && var$1.$renderAsNormalBlock() && !var$1.$canProvidePower() ? 1 : 0; } if (var$4) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$4 = var$2.$value0; var$3 = var$1.$elementData.data; var$1 = var$3[var$4 & (var$3.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$6 = var$1.$key; if (var$2 !== var$6 && !(var$2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$5 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; var$1 = $this.$dataWatcher; var$4 = (var$5 | 1) << 24 >> 24; var$19 = jl_Byte_byteCache.data[var$4 + 128 | 0]; var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$20 = jl_Integer_integerCache.data[144]; if (var$20 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$8 = var$20.$value0; var$3 = var$2.$elementData.data; var$2 = var$3[var$8 & (var$3.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { var$6 = var$2.$key; if (var$20 !== var$6 && !(var$20 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$19.$value2 ? 1 : 0)) { var$6.$watchedObject = var$19; var$6.$watched = 1; var$1.$objectChanged = 1; } } } } else { var$1 = $this.$worldObj; $var1 = $this.$posX; var$10 = $var1 | 0; if ($var1 < var$10) var$10 = var$10 - 1 | 0; var$4 = ($this.$posY | 0) + 1 | 0; $var1 = $this.$posZ; var$8 = $var1 | 0; if ($var1 < var$8) var$8 = var$8 - 1 | 0; var$4 = nms_World_getBlockId(var$1, var$10, var$4, var$8); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$4]; if (var$1 === null) var$4 = 0; else { var$2 = var$1.$blockMaterial; var$4 = !var$2.$isTranslucent ? var$2.$blocksMovement() : 0; var$4 = var$4 && var$1.$renderAsNormalBlock() && !var$1.$canProvidePower() ? 1 : 0; } if (!var$4) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$4 = var$2.$value0; var$3 = var$1.$elementData.data; var$1 = var$3[var$4 & (var$3.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$6 = var$1.$key; if (var$2 !== var$6 && !(var$2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$5 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; var$1 = $this.$dataWatcher; var$4 = (var$5 & (-2)) << 24 >> 24; var$19 = jl_Byte_byteCache.data[var$4 + 128 | 0]; var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$20 = jl_Integer_integerCache.data[144]; if (var$20 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$8 = var$20.$value0; var$3 = var$2.$elementData.data; var$2 = var$3[var$8 & (var$3.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { var$6 = var$2.$key; if (var$20 !== var$6 && !(var$20 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$19.$value2 ? 1 : 0)) { var$6.$watchedObject = var$19; var$6.$watched = 1; var$1.$objectChanged = 1; } var$1 = $this.$worldObj; var$2 = null; var$4 = 1015; var$5 = $this.$posX | 0; var$8 = $this.$posY | 0; var$10 = $this.$posZ | 0; var$14 = 0; var$15 = 0; var$6 = var$1.$worldAccesses; var$21 = $rt_compare(var$15, var$6.$size0); if (var$21 >= 0) break a; if (var$15 >= 0 && var$21 < 0) { var$6 = var$6.$array.data[var$15]; $ptr = 4; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$1 = $this.$rand; var$9 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$9; var$5 = Long_lo(Long_shru(var$9, 17)); while (true) { var$8 = var$5 % 200 | 0; if (((var$5 - var$8 | 0) + 199 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$9; var$5 = Long_lo(Long_shru(var$9, 17)); } if (!var$8) { var$9 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$9; var$8 = Long_lo(Long_shru(var$9, 17)); while (true) { var$14 = var$8 % 360 | 0; if (((var$8 - var$14 | 0) + 359 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$9; var$8 = Long_lo(Long_shru(var$9, 17)); } $this.$rotationYawHead = var$14; } if (nms_World_getClosestPlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 4.0) !== null) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$4 = var$2.$value0; var$3 = var$1.$elementData.data; var$1 = var$3[var$4 & (var$3.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$6 = var$1.$key; if (var$2 !== var$6 && !(var$2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$5 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; var$1 = $this.$dataWatcher; var$4 = (var$5 & (-2)) << 24 >> 24; var$19 = jl_Byte_byteCache.data[var$4 + 128 | 0]; var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$20 = jl_Integer_integerCache.data[144]; if (var$20 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$8 = var$20.$value0; var$3 = var$2.$elementData.data; var$2 = var$3[var$8 & (var$3.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { var$6 = var$2.$key; if (var$20 !== var$6 && !(var$20 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$19.$value2 ? 1 : 0)) { var$6.$watchedObject = var$19; var$6.$watched = 1; var$1.$objectChanged = 1; } var$1 = $this.$worldObj; var$2 = null; var$4 = 1015; var$5 = $this.$posX | 0; var$8 = $this.$posY | 0; var$10 = $this.$posZ | 0; var$14 = 0; var$15 = 0; var$6 = var$1.$worldAccesses; var$21 = $rt_compare(var$15, var$6.$size0); if (var$21 < 0) { if (var$15 >= 0 && var$21 < 0) { var$6 = var$6.$array.data[var$15]; $ptr = 5; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } } } return; case 4: nms_RenderGlobal_playAuxSFX(var$6, var$2, var$4, var$5, var$8, var$10, var$14); if ($rt_suspending()) { break main; } var$15 = var$15 + 1 | 0; var$6 = var$1.$worldAccesses; var$21 = $rt_compare(var$15, var$6.$size0); if (var$21 >= 0) return; if (var$15 >= 0 && var$21 < 0) { var$6 = var$6.$array.data[var$15]; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); case 5: nms_RenderGlobal_playAuxSFX(var$6, var$2, var$4, var$5, var$8, var$10, var$14); if ($rt_suspending()) { break main; } var$15 = var$15 + 1 | 0; var$6 = var$1.$worldAccesses; var$21 = $rt_compare(var$15, var$6.$size0); if (var$21 >= 0) return; if (var$15 >= 0 && var$21 < 0) { var$6 = var$6.$array.data[var$15]; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $var7, var$12, $var8, var$14, var$15, $var1, $var3, $var5, var$19, var$20, var$21, $ptr); }, nms_EntityBat_canTriggerWalking = $this => { return 0; }, nms_EntityBat_fall = ($this, $par1) => { return; }, nms_EntityBat_updateFallState = ($this, $par1, $par3) => { return; }, nms_EntityBat_doesEntityNotTriggerPressurePlate = $this => { return 1; }, nms_EntityBat_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; if (!$this.$worldObj.$isRemote) { var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value2 & 1) ? 0 : 1) { var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$8 = (var$3 === null ? null : var$3.$value1).$watchedObject.$value2; var$9 = $this.$dataWatcher; var$10 = (var$8 & (-2)) << 24 >> 24; var$11 = jl_Byte_byteCache.data[var$10 + 128 | 0]; var$3 = var$9.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = var$3 === null ? null : var$3.$value1; var$3 = var$7.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$11.$value2 ? 1 : 0)) { var$7.$watchedObject = var$11; var$7.$watched = 1; var$9.$objectChanged = 1; } } } $ptr = 1; case 1: $tmp = nms_EntityLivingBase_attackEntityFrom($this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } var$8 = $tmp; return var$8; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntityBat_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher; var$3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2034).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2034).$nativeString.length) break a; $rt_s(2034).$hashCode1 = (31 * $rt_s(2034).$hashCode1 | 0) + $rt_s(2034).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(2034).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { b: { var$7 = var$3.$key; if ($rt_s(2034) !== var$7) { if ($rt_s(2034) === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(2034).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } var$3 = var$3.$next3; } if (!(var$3 === null ? 0 : 1)) var$8 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2034) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { c: { if (!$rt_s(2034).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2034).$nativeString.length) break c; $rt_s(2034).$hashCode1 = (31 * $rt_s(2034).$hashCode1 | 0) + $rt_s(2034).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$4 = $rt_s(2034).$hashCode1; var$6 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$6[var$4 & (var$6.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$4) { d: { var$3 = $par1NBTTagCompound.$key; if ($rt_s(2034) !== var$3) { if ($rt_s(2034) === var$3) var$8 = 1; else if (!(var$3 instanceof jl_String)) var$8 = 0; else { var$3 = var$3; var$8 = $rt_s(2034).$nativeString !== var$3.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break d; } } var$8 = 1; } if (var$8) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$8 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data; } var$3 = jl_Byte_byteCache.data[var$8 + 128 | 0]; $par1NBTTagCompound = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { var$5 = var$7.$value0; var$6 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$6[var$5 & (var$6.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$5) { var$9 = $par1NBTTagCompound.$key; if (var$7 !== var$9 && !(var$7 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$9 = $par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1; $par1NBTTagCompound = var$9.$watchedObject; if (!($par1NBTTagCompound instanceof jl_Byte && $par1NBTTagCompound.$value2 == var$3.$value2 ? 1 : 0)) { var$9.$watchedObject = var$3; var$9.$watched = 1; var$2.$objectChanged = 1; } }, nms_EntityBat_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; var$2 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(2034); $par1NBTTagCompound.$data = var$7; ju_HashMap_putImpl(var$2, $rt_s(2034), $par1NBTTagCompound); }, nms_EntityBat_getCanSpawnHere = $this => { let var$1, $var1, $var2, $var3, $var4, $var5, $var6, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$boundingBox.$minY; $var1 = var$1 | 0; if (var$1 < $var1) $var1 = $var1 - 1 | 0; if ($var1 >= 63) return 0; var$1 = $this.$posX; $var2 = var$1 | 0; if (var$1 < $var2) $var2 = $var2 - 1 | 0; var$1 = $this.$posZ; $var3 = var$1 | 0; if (var$1 < $var3) $var3 = $var3 - 1 | 0; $var4 = nms_World_getBlockLightValue_do($this.$worldObj, $var2, $var1, $var3, 1); $var5 = 4; $var6 = $this.$worldObj; if (Long_eq(Long_rem($var6.$worldInfo.$totalTime, Long_fromInt(600)), Long_ZERO)) { var$8 = $var6.$theCalendar; nlea_EaglerAdapterImpl2_$callClinit(); var$9 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!(var$8.$isTimeSet && var$8.$areFieldsSet && Long_eq(var$8.$time, var$9))) { var$8.$time = var$9; var$8.$isTimeSet = 1; var$8.$areFieldsSet = 0; ju_GregorianCalendar_computeFields(var$8); var$8.$areFieldsSet = 1; } } $var6 = $var6.$theCalendar; if (!$var6.$isTimeSet) { ju_GregorianCalendar_computeTime($var6); $var6.$isTimeSet = 1; } if (!$var6.$areFieldsSet) { ju_GregorianCalendar_computeFields($var6); $var6.$areFieldsSet = 1; } a: { b: { c: { if (($var6.$fields.data[2] + 1 | 0) == 10) { if (!$var6.$isTimeSet) { ju_GregorianCalendar_computeTime($var6); $var6.$isTimeSet = 1; } if (!$var6.$areFieldsSet) { ju_GregorianCalendar_computeFields($var6); $var6.$areFieldsSet = 1; } if ($var6.$fields.data[5] >= 20) break c; } if (!$var6.$isTimeSet) { ju_GregorianCalendar_computeTime($var6); $var6.$isTimeSet = 1; } if (!$var6.$areFieldsSet) { ju_GregorianCalendar_computeFields($var6); $var6.$areFieldsSet = 1; } if (($var6.$fields.data[2] + 1 | 0) != 11) break b; if (!$var6.$isTimeSet) { ju_GregorianCalendar_computeTime($var6); $var6.$isTimeSet = 1; } if (!$var6.$areFieldsSet) { ju_GregorianCalendar_computeFields($var6); $var6.$areFieldsSet = 1; } if ($var6.$fields.data[5] > 3) break b; } $var5 = 7; break a; } $var6 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6.$seed = var$10; if (!Long_lo(Long_shru(var$10, 47)) ? 0 : 1) return 0; } $var6 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($var6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6.$seed = var$10; $var1 = Long_lo(Long_shru(var$10, 17)); $var3 = $var5 - 1 | 0; if (!($var5 & $var3)) $var2 = Long_lo(Long_shr(Long_mul(Long_fromInt($var5), Long_fromInt($var1)), 31)); else while (true) { $var2 = $var1 % $var5 | 0; if ((($var1 - $var2 | 0) + $var3 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($var6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6.$seed = var$10; $var1 = Long_lo(Long_shru(var$10, 17)); } if ($var4 > $var2) $var5 = 0; else { if (nms_World_checkNoEntityCollision($this.$worldObj, $this.$boundingBox, null)) { $var6 = $this.$worldObj; var$8 = $this.$boundingBox; $ptr = 1; continue main; } $var5 = 0; } return $var5; case 1: $tmp = nms_World_getCollidingBoundingBoxes($var6, $this, var$8); if ($rt_suspending()) { break main; } $var6 = $tmp; $var5 = $var6.$size0 ? 0 : 1; return $var5 && !nms_World_isAnyLiquid($this.$worldObj, $this.$boundingBox) ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, $var2, $var3, $var4, $var5, $var6, var$8, var$9, var$10, $ptr); }; function nms_RenderBat() { nms_RenderLiving.call(this); this.$renderedBatSize = 0; } let nms_RenderBat_batTextures = null, nms_RenderBat_$callClinit = () => { nms_RenderBat_$callClinit = $rt_eraseClinit(nms_RenderBat); nms_RenderBat__clinit_(); }, nms_RenderBat__init_ = $this => { let var$1, var$2; nms_RenderBat_$callClinit(); var$1 = nms_ModelBat__init_(); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.25; $this.$renderedBatSize = 36; }, nms_RenderBat__init_0 = () => { let var_0 = new nms_RenderBat(); nms_RenderBat__init_(var_0); return var_0; }, nms_RenderBat_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; if (36 != $this.$renderedBatSize) { $this.$renderedBatSize = 36; $this.$mainModel = nms_ModelBat__init_(); } $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderBat_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { let var$3; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.3499999940395355; $par1EntityLivingBase.$y = 0.3499999940395355; $par1EntityLivingBase.$z = 0.3499999940395355; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; jl_Object__init_(var$3); var$3.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$3); $par1EntityLivingBase.$sb = var$3; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RenderBat_rotateCorpse = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10; var$5 = $par1EntityLivingBase; $par1EntityLivingBase = var$5.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$7 = var$6.$value0; var$8 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$8[var$7 & (var$8.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$7) { var$9 = $par1EntityLivingBase.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; if (!($par1EntityLivingBase.$watchedObject.$value2 & 1) ? 0 : 1) { nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.0; $par1EntityLivingBase.$y = (-0.10000000149011612); $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); $par1EntityLivingBase.$sb = var$9; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { var$10 = $par2 * 0.30000001192092896; var$10 = nms_MathHelper_SIN_TABLE.data[(var$10 * 10430.3779296875 + 16384.0 | 0) & 65535] * 0.10000000149011612; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 0.0; $par1EntityLivingBase.$y = var$10; $par1EntityLivingBase.$z = 0.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); $par1EntityLivingBase.$sb = var$9; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nms_RendererLivingEntity_rotateCorpse($this, var$5, $par2, $par3, $par4); }, nms_RenderBat_renderLivingAt = ($this, $par1EntityLivingBase, $par2, $par4, $par6) => { let var$5, var$6, var$7, var$8; var$5 = $par2; var$6 = $par4; var$7 = $par6; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = var$5; $par1EntityLivingBase.$y = var$6; $par1EntityLivingBase.$z = var$7; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; ji_OutputStream__init_(var$8); var$8.$buf = $rt_createByteArray(32); ji_FilterOutputStream__init_($par1EntityLivingBase, var$8); $par1EntityLivingBase.$sb = jl_StringBuilder__init_(); $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RenderBat_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderBat_$callClinit(); $par1EntityLiving = nms_RenderBat_batTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderBat_getEntityTexture = ($this, $par1Entity) => { nms_RenderBat_$callClinit(); return nms_RenderBat_batTextures; }, nms_RenderBat_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; if (36 != $this.$renderedBatSize) { $this.$renderedBatSize = 36; $this.$mainModel = nms_ModelBat__init_(); } $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderBat__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2035); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderBat_batTextures = var$1; }, nms_IBossDisplayData = $rt_classWithoutFields(0), nms_IEntityMultiPart = $rt_classWithoutFields(0); function nms_EntityDragon() { let a = this; nms_EntityLiving.call(a); a.$targetX = 0.0; a.$targetY = 0.0; a.$targetZ = 0.0; a.$ringBuffer = null; a.$ringBufferIndex = 0; a.$dragonPartArray = null; a.$dragonPartHead = null; a.$dragonPartBody = null; a.$dragonPartTail1 = null; a.$dragonPartTail2 = null; a.$dragonPartTail3 = null; a.$dragonPartWing1 = null; a.$dragonPartWing2 = null; a.$prevAnimTime = 0.0; a.$animTime = 0.0; a.$forceNewTarget = 0; a.$slowed = 0; a.$target = null; a.$deathTicks = 0; a.$healingEnderCrystal = null; } let nms_EntityDragon__init_ = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityLiving__init_($this, $par1World); $this.$ringBuffer = $rt_createDoubleMultiArray([3, 64]); $this.$ringBufferIndex = (-1); var$2 = $rt_createArray(nms_EntityDragonPart, 7); var$3 = var$2.data; var$4 = 0; $par1World = new nms_EntityDragonPart; var$5 = $rt_s(1920); var$6 = 6.0; var$7 = 6.0; nms_Entity__init_($par1World, $this.$worldObj); $ptr = 1; case 1: nms_Entity_setSize($par1World, var$6, var$7); if ($rt_suspending()) { break main; } $par1World.$entityDragonObj = $this; $par1World.$name7 = var$5; $this.$dragonPartHead = $par1World; var$3[var$4] = $par1World; var$4 = 1; $par1World = new nms_EntityDragonPart; var$5 = $rt_s(2036); var$6 = 8.0; var$7 = 8.0; nms_Entity__init_($par1World, $this.$worldObj); $ptr = 2; case 2: nms_Entity_setSize($par1World, var$6, var$7); if ($rt_suspending()) { break main; } $par1World.$entityDragonObj = $this; $par1World.$name7 = var$5; $this.$dragonPartBody = $par1World; var$3[var$4] = $par1World; var$4 = 2; $par1World = new nms_EntityDragonPart; var$5 = $rt_s(2037); var$6 = 4.0; var$7 = 4.0; nms_Entity__init_($par1World, $this.$worldObj); $ptr = 3; case 3: nms_Entity_setSize($par1World, var$6, var$7); if ($rt_suspending()) { break main; } $par1World.$entityDragonObj = $this; $par1World.$name7 = var$5; $this.$dragonPartTail1 = $par1World; var$3[var$4] = $par1World; var$4 = 3; $par1World = new nms_EntityDragonPart; var$5 = $rt_s(2037); var$6 = 4.0; var$7 = 4.0; nms_Entity__init_($par1World, $this.$worldObj); $ptr = 4; case 4: nms_Entity_setSize($par1World, var$6, var$7); if ($rt_suspending()) { break main; } $par1World.$entityDragonObj = $this; $par1World.$name7 = var$5; $this.$dragonPartTail2 = $par1World; var$3[var$4] = $par1World; var$4 = 4; $par1World = new nms_EntityDragonPart; var$5 = $rt_s(2037); var$6 = 4.0; var$7 = 4.0; nms_Entity__init_($par1World, $this.$worldObj); $ptr = 5; case 5: nms_Entity_setSize($par1World, var$6, var$7); if ($rt_suspending()) { break main; } $par1World.$entityDragonObj = $this; $par1World.$name7 = var$5; $this.$dragonPartTail3 = $par1World; var$3[var$4] = $par1World; var$4 = 5; $par1World = new nms_EntityDragonPart; var$5 = $rt_s(2038); var$6 = 4.0; var$7 = 4.0; nms_Entity__init_($par1World, $this.$worldObj); $ptr = 6; case 6: nms_Entity_setSize($par1World, var$6, var$7); if ($rt_suspending()) { break main; } $par1World.$entityDragonObj = $this; $par1World.$name7 = var$5; $this.$dragonPartWing1 = $par1World; var$3[var$4] = $par1World; var$4 = 6; $par1World = new nms_EntityDragonPart; var$5 = $rt_s(2038); var$6 = 4.0; var$7 = 4.0; nms_Entity__init_($par1World, $this.$worldObj); $ptr = 7; case 7: nms_Entity_setSize($par1World, var$6, var$7); if ($rt_suspending()) { break main; } $par1World.$entityDragonObj = $this; $par1World.$name7 = var$5; $this.$dragonPartWing2 = $par1World; var$3[var$4] = $par1World; $this.$dragonPartArray = var$2; $par1World = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$5 = $this.$attributeMap.$attributes; if ($par1World === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { a: { var$8 = $par1World.$field_111115_a; if (!var$8.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$8.$nativeString.length) break a; var$8.$hashCode1 = (31 * var$8.$hashCode1 | 0) + var$8.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$9 = var$8.$hashCode1; var$2 = var$5.$elementData.data; var$5 = var$2[var$9 & (var$2.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$9 && ju_HashMap_areEqualKeys($par1World, var$5.$key))) { var$5 = var$5.$next3; } } $par1World = var$5 === null ? null : var$5.$value1; if ($par1World.$field_111133_g) { $par1World.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($par1World); $par1World.$field_111133_g = 0; } var$10 = $par1World.$field_111139_h; $par1World = $this.$dataWatcher; var$6 = 0.0; var$5 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$8 = $this.$attributeMap.$attributes; if (var$5 === null) var$5 = ju_HashMap_findNullKeyEntry(var$8); else { var$11 = nms_BaseAttribute_hashCode(var$5); var$5 = ju_HashMap_findNonNullKeyEntry(var$8, var$5, var$11 & (var$8.$elementData.data.length - 1 | 0), var$11); } var$5 = var$5 === null ? null : var$5.$value1; if (var$5.$field_111133_g) { var$5.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$5); var$5.$field_111133_g = 0; } var$7 = var$5.$field_111139_h; if (var$10 >= var$6) var$6 = var$10 <= var$7 ? var$10 : var$7; var$12 = new jl_Float; var$12.$value3 = var$6; var$5 = $par1World.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[134]; if (var$13 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$9 = var$13.$value0; var$2 = var$5.$elementData.data; var$5 = var$2[var$9 & (var$2.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { var$8 = var$5.$key; if (var$13 !== var$8 && !(var$13 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$8 = var$5 === null ? null : var$5.$value1; var$5 = var$8.$watchedObject; if (var$12 === var$5) var$4 = 1; else b: { if (var$5 instanceof jl_Float) { var$6 = var$12.$value3; var$7 = var$5.$value3; if (var$6 !== var$6 ? (var$7 === var$7 ? 0 : 1) : $rt_floatToRawIntBits(var$6) != $rt_floatToRawIntBits(var$7) ? 0 : 1) { var$4 = 1; break b; } } var$4 = 0; } if (!var$4) { var$8.$watchedObject = var$12; var$8.$watched = 1; $par1World.$objectChanged = 1; } var$6 = 16.0; var$7 = 8.0; $ptr = 8; case 8: nms_Entity_setSize($this, var$6, var$7); if ($rt_suspending()) { break main; } $this.$noClip = 1; $this.$isImmuneToFire = 1; $this.$targetY = 100.0; $this.$ignoreFrustumCheck = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntityDragon__init_0 = var_0 => { let var_1 = new nms_EntityDragon(); nms_EntityDragon__init_(var_1, var_0); return var_1; }, nms_EntityDragon_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) var$1 = ju_HashMap_findNullKeyEntry(var$2); else { var$3 = nms_BaseAttribute_hashCode(var$1); var$1 = ju_HashMap_findNonNullKeyEntry(var$2, var$1, var$3 & (var$2.$elementData.data.length - 1 | 0), var$3); } var$4 = var$1 === null ? null : var$1.$value1; if (0.10000000149011612 !== var$4.$baseValue) { var$4.$baseValue = 0.10000000149011612; var$4.$field_111133_g = 1; var$1 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$4, var$1); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$4 = var$1.$field_111115_a; if (!var$4.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { var$4 = var$2.$key; if (var$1 !== var$4 && !jl_Object_equals(var$1, var$4) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (200.0 !== var$1.$baseValue) { var$1.$baseValue = 200.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityDragon_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); }, nms_EntityDragon_getMovementOffsets = ($this, $par1, $par2) => { let var$3, var$4, $var3, var$6, var$7, $var4, $var5, var$10, $var6, $var8, var$13; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[134]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var3 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var3 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var3) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == $var3 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (var$3.$watchedObject.$value3 <= 0.0) $par2 = 0.0; $par2 = 1.0 - $par2; $par1 = $this.$ringBufferIndex - ($par1 * 1 | 0) | 0; $var3 = $par1 & 63; $var4 = ($par1 - 1 | 0) & 63; $var5 = $rt_createDoubleArray(3); var$10 = $this.$ringBuffer.data; $var6 = var$10[$var3].data[0]; $var8 = (var$10[$var4].data[0] - $var6) % 360.0; if ($var8 >= 180.0) $var8 = $var8 - 360.0; if ($var8 < (-180.0)) $var8 = $var8 + 360.0; var$6 = $var5.data; var$13 = $par2; var$6[0] = $var6 + $var8 * var$13; $var6 = var$10[$var3].data[1]; var$6[1] = $var6 + (var$10[$var4].data[1] - $var6) * var$13; var$6[2] = var$10[$var3].data[2] + (var$10[$var4].data[2] - var$10[$var3].data[2]) * var$13; return $var5; }, nms_EntityDragon_onLivingUpdate = $this => { let $var15, $var1, $var29, $var1_0, $var10, $var4, $var12, $var39, $var17, $var23, var$11, var$12, var$13, $var2, $var3, $var26, $var6, $var14, $var25, $var9, $var6_0, $var8, $var27, $var28, $var7, $var11, $var13, $var16, $var18, $var19, $var21, $var32, $var30, var$34, $var31, $var33, $var35, $var37, $var36, $var38, $var40, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var40 = $thread.pop();$var38 = $thread.pop();$var36 = $thread.pop();$var37 = $thread.pop();$var35 = $thread.pop();$var33 = $thread.pop();$var31 = $thread.pop();var$34 = $thread.pop();$var30 = $thread.pop();$var32 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var7 = $thread.pop();$var28 = $thread.pop();$var27 = $thread.pop();$var8 = $thread.pop();$var6_0 = $thread.pop();$var9 = $thread.pop();$var25 = $thread.pop();$var14 = $thread.pop();$var6 = $thread.pop();$var26 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var23 = $thread.pop();$var17 = $thread.pop();$var39 = $thread.pop();$var12 = $thread.pop();$var4 = $thread.pop();$var10 = $thread.pop();$var1_0 = $thread.pop();$var29 = $thread.pop();$var1 = $thread.pop();$var15 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var15 = $this.$worldObj; if ($var15.$isRemote) { $var1 = $this.$animTime * 3.1415927410125732 * 2.0; $var29 = nms_MathHelper_SIN_TABLE.data; $var1_0 = $var29[($var1 * 10430.3779296875 + 16384.0 | 0) & 65535]; if ($var29[($this.$prevAnimTime * 3.1415927410125732 * 2.0 * 10430.3779296875 + 16384.0 | 0) & 65535] <= (-0.30000001192092896) && $var1_0 >= (-0.30000001192092896)) { $var10 = $this.$posX; $var4 = $this.$posY; $var12 = $this.$posZ; $var39 = $rt_s(2039); $var17 = 5.0; $var23 = $this.$rand; var$11 = Long_and(Long_add(Long_mul($var23.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var23.$seed = var$11; $var1 = 0.800000011920929 + Long_lo(Long_shru(var$11, 24)) / 1.6777216E7 * 0.30000001192092896; var$12 = 0; $ptr = 1; continue main; } } $this.$prevAnimTime = $this.$animTime; $var15 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var39 = jl_Integer_integerCache.data[134]; if ($var39 === null) { $var15 = $var15.$elementData.data[0]; while ($var15 !== null && $var15.$key !== null) { $var15 = $var15.$next3; } } else { var$12 = $var39.$value0; $var29 = $var15.$elementData.data; $var15 = $var29[var$12 & ($var29.length - 1 | 0)]; while ($var15 !== null) { if ($var15.$origKeyHash == var$12) { $var23 = $var15.$key; if ($var39 !== $var23 && !($var39 === $var23 ? 1 : $var23 instanceof jl_Integer && $var23.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } $var15 = $var15.$next3; } } $var15 = $var15 === null ? null : $var15.$value1; if ($var15.$watchedObject.$value3 > 0.0) { $ptr = 2; continue main; } $var15 = $this.$rand; var$13 = Long_and(Long_add(Long_mul($var15.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var15.$seed = var$13; $var1 = (Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 - 0.5) * 8.0; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var15.$seed = var$13; $var2 = (Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 - 0.5) * 4.0; var$11 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var15.$seed = var$11; $var3 = (Long_lo(Long_shru(var$11, 24)) / 1.6777216E7 - 0.5) * 8.0; $var15 = $this.$worldObj; $var39 = $rt_s(1474); $var12 = $this.$posX + $var1; $var26 = $this.$posY + 2.0 + $var2; $var6 = $this.$posZ + $var3; $var14 = 0.0; $var10 = 0.0; $var4 = 0.0; var$12 = 0; $var23 = $var15.$worldAccesses; $var25 = $rt_compare(var$12, $var23.$size0); if ($var25 >= 0) return; if (var$12 >= 0 && $var25 < 0) { $var23 = $var23.$array.data[var$12]; $ptr = 3; continue main; } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; $rt_throw($var15); case 1: nms_WorldClient_playSound($var15, $var10, $var4, $var12, $var39, $var17, $var1, var$12); if ($rt_suspending()) { break main; } $this.$prevAnimTime = $this.$animTime; $var15 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var39 = jl_Integer_integerCache.data[134]; if ($var39 === null) { $var15 = $var15.$elementData.data[0]; while ($var15 !== null && $var15.$key !== null) { $var15 = $var15.$next3; } } else { var$12 = $var39.$value0; $var29 = $var15.$elementData.data; $var15 = $var29[var$12 & ($var29.length - 1 | 0)]; while ($var15 !== null) { if ($var15.$origKeyHash == var$12) { $var23 = $var15.$key; if ($var39 !== $var23 && !($var39 === $var23 ? 1 : $var23 instanceof jl_Integer && $var23.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } $var15 = $var15.$next3; } } $var15 = $var15 === null ? null : $var15.$value1; if ($var15.$watchedObject.$value3 > 0.0) { $ptr = 2; continue main; } $var15 = $this.$rand; var$13 = Long_and(Long_add(Long_mul($var15.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var15.$seed = var$13; $var1 = (Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 - 0.5) * 8.0; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var15.$seed = var$13; $var2 = (Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 - 0.5) * 4.0; var$11 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var15.$seed = var$11; $var3 = (Long_lo(Long_shru(var$11, 24)) / 1.6777216E7 - 0.5) * 8.0; $var15 = $this.$worldObj; $var39 = $rt_s(1474); $var12 = $this.$posX + $var1; $var26 = $this.$posY + 2.0 + $var2; $var6 = $this.$posZ + $var3; $var14 = 0.0; $var10 = 0.0; $var4 = 0.0; var$12 = 0; $var23 = $var15.$worldAccesses; $var25 = $rt_compare(var$12, $var23.$size0); if ($var25 >= 0) return; if (var$12 >= 0 && $var25 < 0) { $var23 = $var23.$array.data[var$12]; $ptr = 3; continue main; } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; $rt_throw($var15); case 2: nms_EntityDragon_updateDragonEnderCrystal($this); if ($rt_suspending()) { break main; } $var10 = $this.$motionX; $var10 = $var10 * $var10; $var4 = $this.$motionZ; $var1 = 0.20000000298023224 / (jl_Math_sqrt($var10 + $var4 * $var4) * 10.0 + 1.0) * jl_Math_powImpl(2.0, $this.$motionY); if (!$this.$slowed) $this.$animTime = $this.$animTime + $var1; else $this.$animTime = $this.$animTime + $var1 * 0.5; $var1 = $this.$rotationYaw % 360.0; if ($var1 >= 180.0) $var1 = $var1 - 360.0; if ($var1 < (-180.0)) $var1 = $var1 + 360.0; a: { $this.$rotationYaw = $var1; var$12 = $this.$ringBufferIndex; if (var$12 < 0) { $var25 = 0; while (true) { $var29 = $this.$ringBuffer.data; if ($var25 >= $var29.length) break a; $var29[$var25].data[0] = $var1; $var29[$var25].data[1] = $this.$posY; $var25 = $var25 + 1 | 0; } } } var$12 = var$12 + 1 | 0; $this.$ringBufferIndex = var$12; $var29 = $this.$ringBuffer.data; if (var$12 == $var29.length) $this.$ringBufferIndex = 0; var$12 = $this.$ringBufferIndex; $var9 = $var29[var$12].data; $var10 = $var1; $var9[0] = $var10; $var29 = $var29[var$12].data; $var4 = $this.$posY; $var29[1] = $var4; if ($this.$worldObj.$isRemote) { var$12 = $this.$newPosRotationIncrements; if (var$12 > 0) { $var12 = $this.$posX; $var26 = $this.$newPosX - $var12; $var6 = var$12; $var26 = $var12 + $var26 / $var6; $var4 = $var4 + ($this.$newPosY - $var4) / $var6; $var12 = $this.$posZ; $var6_0 = $var12 + ($this.$newPosZ - $var12) / $var6; $var8 = ($this.$newRotationYaw - $var10) % 360.0; if ($var8 >= 180.0) $var8 = $var8 - 360.0; if ($var8 < (-180.0)) $var8 = $var8 + 360.0; $this.$rotationYaw = $var10 + $var8 / $var6; $var10 = $this.$rotationPitch; $this.$rotationPitch = $var10 + ($this.$newRotationPitch - $var10) / $var6; $this.$newPosRotationIncrements = var$12 - 1 | 0; nms_Entity_setPosition($this, $var26, $var4, $var6_0); $var1 = $this.$rotationYaw; $var17 = $this.$rotationPitch; $this.$rotationYaw = $var1 % 360.0; $this.$rotationPitch = $var17 % 360.0; } $this.$renderYawOffset = $this.$rotationYaw; $var15 = $this.$dragonPartHead; $var15.$height2 = 3.0; $var15.$width1 = 3.0; $var15 = $this.$dragonPartTail1; $var15.$height2 = 2.0; $var15.$width1 = 2.0; $var15 = $this.$dragonPartTail2; $var15.$height2 = 2.0; $var15.$width1 = 2.0; $var15 = $this.$dragonPartTail3; $var15.$height2 = 2.0; $var15.$width1 = 2.0; $var15 = $this.$dragonPartBody; $var15.$height2 = 3.0; $var15.$width1 = 5.0; $var15 = $this.$dragonPartWing1; $var15.$height2 = 2.0; $var15.$width1 = 4.0; $var15 = $this.$dragonPartWing2; $var15.$height2 = 3.0; $var15.$width1 = 4.0; $var2 = ((nms_EntityDragon_getMovementOffsets($this, 5, 1.0)).data[1] - (nms_EntityDragon_getMovementOffsets($this, 10, 1.0)).data[1]) * 10.0 / 180.0 * 3.1415927410125732; $var29 = nms_MathHelper_SIN_TABLE.data; $var1 = $var2 * 10430.3779296875; $var3 = $var29[($var1 + 16384.0 | 0) & 65535]; $var27 = -$var29[($var1 | 0) & 65535]; $var17 = $this.$rotationYaw * 3.1415927410125732 / 180.0 * 10430.3779296875; $var28 = $var29[($var17 | 0) & 65535]; $var7 = $var29[($var17 + 16384.0 | 0) & 65535]; $var15 = $this.$dragonPartBody; $ptr = 4; continue main; } $var10 = $this.$targetX; $var12 = $this.$posX; $var26 = $var10 - $var12; $var4 = $this.$targetY - $var4; $var6 = $this.$targetZ; $var14 = $this.$posZ; $var6 = $var6 - $var14; $var11 = $var26 * $var26; $var8 = $var11 + $var4 * $var4; $var13 = $var6 * $var6; $var8 = $var8 + $var13; $var15 = $this.$target; if ($var15 === null) { $this.$targetX = $var10 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 2.0; $this.$targetZ = $this.$targetZ + nle_EaglercraftRandom_nextGaussian($this.$rand) * 2.0; } else { $var10 = $var15.$posX; $this.$targetX = $var10; $var16 = $var15.$posZ; $this.$targetZ = $var16; $var10 = $var10 - $var12; $var12 = $var16 - $var14; $var16 = 0.4000000059604645 + jl_Math_sqrt($var10 * $var10 + $var12 * $var12) / 80.0 - 1.0; if ($var16 > 10.0) $var16 = 10.0; $this.$targetY = $this.$target.$boundingBox.$minY + $var16; } if (!(!$this.$forceNewTarget && $var8 >= 100.0 && $var8 <= 22500.0 && !$this.$isCollidedHorizontally && !$this.$isCollidedVertically)) nms_EntityDragon_setNewTarget($this); $var10 = $var4 / jl_Math_sqrt($var11 + $var13); $var4 = (-0.6000000238418579); if ($var10 >= $var4) $var4 = $var10; $var10 = 0.6000000238418579; if ($var4 <= $var10) $var10 = $var4; $this.$motionY = $this.$motionY + $var10 * 0.10000000149011612; $var1 = $this.$rotationYaw % 360.0; if ($var1 >= 180.0) $var1 = $var1 - 360.0; if ($var1 < (-180.0)) $var1 = $var1 + 360.0; $this.$rotationYaw = $var1; $var13 = (180.0 - jl_Math_atan2($var26, $var6) * 180.0 / 3.141592653589793 - $this.$rotationYaw) % 360.0; if ($var13 >= 180.0) $var13 = $var13 - 360.0; if ($var13 < (-180.0)) $var13 = $var13 + 360.0; if ($var13 > 50.0) $var13 = 50.0; if ($var13 < (-50.0)) $var13 = (-50.0); $var15 = nms_Vec3_normalize(nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$targetX - $this.$posX, $this.$targetY - $this.$posY, $this.$targetZ - $this.$posZ)); $var39 = $this.$worldObj.$vecPool; $var1 = $this.$rotationYaw * 3.1415927410125732 / 180.0; $var29 = nms_MathHelper_SIN_TABLE.data; $var17 = $var1 * 10430.3779296875; $var39 = nms_Vec3_normalize(nms_Vec3Pool_getVecFromPool($var39, $var29[($var17 | 0) & 65535], $this.$motionY, -$var29[($var17 + 16384.0 | 0) & 65535])); $var17 = ($var39.$xCoord * $var15.$xCoord + $var39.$yCoord * $var15.$yCoord + $var39.$zCoord * $var15.$zCoord + 0.5) / 1.5; if ($var17 < 0.0) $var17 = 0.0; $this.$randomYawVelocity = $this.$randomYawVelocity * 0.800000011920929; $var10 = $this.$motionX; $var10 = $var10 * $var10; $var4 = $this.$motionZ; $var18 = jl_Math_sqrt($var10 + $var4 * $var4) * 1.0 + 1.0; $var10 = $this.$motionX; $var10 = $var10 * $var10; $var4 = $this.$motionZ; $var19 = jl_Math_sqrt($var10 + $var4 * $var4) * 1.0 + 1.0; if ($var19 > 40.0) $var19 = 40.0; $var1 = $this.$randomYawVelocity + $var13 * 0.699999988079071 / $var19 / $var18; $this.$randomYawVelocity = $var1; $this.$rotationYaw = $this.$rotationYaw + $var1 * 0.10000000149011612; $var21 = 2.0 / ($var19 + 1.0); nms_Entity_moveFlying($this, 0.0, (-1.0), 0.05999999865889549 * ($var17 * $var21 + 1.0 - $var21)); if (!$this.$slowed) { $var10 = $this.$motionX; $var4 = $this.$motionY; $var12 = $this.$motionZ; $ptr = 14; continue main; } $var10 = $this.$motionX * 0.800000011920929; $var4 = $this.$motionY * 0.800000011920929; $var12 = $this.$motionZ * 0.800000011920929; $ptr = 15; continue main; case 3: nms_RenderGlobal_doSpawnParticle($var23, $var39, $var12, $var26, $var6, $var14, $var10, $var4); if ($rt_suspending()) { break main; } var$12 = var$12 + 1 | 0; $var23 = $var15.$worldAccesses; $var25 = $rt_compare(var$12, $var23.$size0); if ($var25 >= 0) return; if (var$12 >= 0 && $var25 < 0) { $var23 = $var23.$array.data[var$12]; continue main; } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; $rt_throw($var15); case 4: nms_Entity_onEntityUpdate($var15); if ($rt_suspending()) { break main; } $var15 = $this.$dragonPartBody; $var10 = $this.$posX + $var28 * 0.5; $var4 = $this.$posY; $var12 = $this.$posZ - $var7 * 0.5; $var15.$posX = $var10; $var15.$prevPosX = $var10; $var15.$lastTickPosX = $var10; $var4 = $var4 + $var15.$yOffset; $var15.$posY = $var4; $var15.$prevPosY = $var4; $var15.$lastTickPosY = $var4; $var15.$posZ = $var12; $var15.$prevPosZ = $var12; $var15.$lastTickPosZ = $var12; $var15.$rotationYaw = 0.0; $var15.$rotationPitch = 0.0; nms_Entity_setPosition($var15, $var10, $var4, $var12); $var15 = $this.$dragonPartWing1; $ptr = 5; case 5: nms_Entity_onEntityUpdate($var15); if ($rt_suspending()) { break main; } $var15 = $this.$dragonPartWing1; $var10 = $this.$posX; $var4 = $var7 * 4.5; $var10 = $var10 + $var4; $var12 = $this.$posY + 2.0; $var26 = $this.$posZ; $var6 = $var28 * 4.5; $var26 = $var26 + $var6; $var15.$posX = $var10; $var15.$prevPosX = $var10; $var15.$lastTickPosX = $var10; $var12 = $var12 + $var15.$yOffset; $var15.$posY = $var12; $var15.$prevPosY = $var12; $var15.$lastTickPosY = $var12; $var15.$posZ = $var26; $var15.$prevPosZ = $var26; $var15.$lastTickPosZ = $var26; $var15.$rotationYaw = 0.0; $var15.$rotationPitch = 0.0; nms_Entity_setPosition($var15, $var10, $var12, $var26); $var15 = $this.$dragonPartWing2; $ptr = 6; case 6: nms_Entity_onEntityUpdate($var15); if ($rt_suspending()) { break main; } $var15 = $this.$dragonPartWing2; $var10 = $this.$posX - $var4; $var4 = $this.$posY + 2.0; $var12 = $this.$posZ - $var6; $var15.$posX = $var10; $var15.$prevPosX = $var10; $var15.$lastTickPosX = $var10; $var4 = $var4 + $var15.$yOffset; $var15.$posY = $var4; $var15.$prevPosY = $var4; $var15.$lastTickPosY = $var4; $var15.$posZ = $var12; $var15.$prevPosZ = $var12; $var15.$lastTickPosZ = $var12; $var15.$rotationYaw = 0.0; $var15.$rotationPitch = 0.0; nms_Entity_setPosition($var15, $var10, $var4, $var12); $var32 = $this.$worldObj; if (!$var32.$isRemote && !$this.$hurtTime) { $var15 = $this.$dragonPartWing1.$boundingBox; $var26 = $var15.$minX - 4.0; $var6 = $var15.$minY - 2.0; $var14 = $var15.$minZ - 4.0; $var10 = $var15.$maxX + 4.0; $var4 = $var15.$maxY + 2.0; $var12 = $var15.$maxZ + 4.0; $var23 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$12 = $var23.$nextPoolIndex; $var15 = $var23.$listAABB; $var30 = $var15.$size0; $var25 = $rt_compare(var$12, $var30); if ($var25 >= 0) { $var39 = new nms_AxisAlignedBB; $var39.$minX = $var26; $var39.$minY = $var6; $var39.$minZ = $var14; $var39.$maxX = $var10; $var39.$maxY = $var4; $var39.$maxZ = $var12; ju_ArrayList_ensureCapacity($var15, $var30 + 1 | 0); $var29 = $var15.$array.data; $var25 = $var15.$size0; $var15.$size0 = $var25 + 1 | 0; $var29[$var25] = $var39; $var15.$modCount = $var15.$modCount + 1 | 0; } else if (var$12 >= 0 && $var25 < 0) { $var39 = $var15.$array.data[var$12]; $var39.$minX = $var26; $var39.$minY = $var6; $var39.$minZ = $var14; $var39.$maxX = $var10; $var39.$maxY = $var4; $var39.$maxZ = $var12; } else { $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var15); $rt_throw($var15); } $var23.$nextPoolIndex = $var23.$nextPoolIndex + 1 | 0; $var39.$minX = $var39.$minX + 0.0; $var39.$minY = $var39.$minY + (-2.0); $var39.$minZ = $var39.$minZ + 0.0; $var39.$maxX = $var39.$maxX + 0.0; $var39.$maxY = $var39.$maxY + (-2.0); $var39.$maxZ = $var39.$maxZ + 0.0; $var15 = nms_World_getEntitiesWithinAABBExcludingEntity($var32, $this, $var39, null); $ptr = 10; continue main; } var$34 = (nms_EntityDragon_getMovementOffsets($this, 5, 1.0)).data; $var29 = (nms_EntityDragon_getMovementOffsets($this, 0, 1.0)).data; $var1 = $this.$rotationYaw * 3.1415927410125732 / 180.0 - $this.$randomYawVelocity * 0.009999999776482582; $var9 = nms_MathHelper_SIN_TABLE.data; $var17 = $var1 * 10430.3779296875; $var31 = $var9[($var17 | 0) & 65535]; $var33 = $var9[($var17 + 16384.0 | 0) & 65535]; $var15 = $this.$dragonPartHead; $ptr = 7; case 7: nms_Entity_onEntityUpdate($var15); if ($rt_suspending()) { break main; } $var15 = $this.$dragonPartHead; $var10 = $this.$posX + $var31 * 5.5 * $var3; $var4 = $this.$posY + ($var29[1] - var$34[1]) * 1.0 + $var27 * 5.5; $var12 = $this.$posZ - $var33 * 5.5 * $var3; $var15.$posX = $var10; $var15.$prevPosX = $var10; $var15.$lastTickPosX = $var10; $var4 = $var4 + $var15.$yOffset; $var15.$posY = $var4; $var15.$prevPosY = $var4; $var15.$lastTickPosY = $var4; $var15.$posZ = $var12; $var15.$prevPosZ = $var12; $var15.$lastTickPosZ = $var12; $var15.$rotationYaw = 0.0; $var15.$rotationPitch = 0.0; nms_Entity_setPosition($var15, $var10, $var4, $var12); $var30 = 0; $var18 = $var28 * 1.5; $var21 = $var7 * 1.5; if ($var30 >= 3) { if ($this.$worldObj.$isRemote) return; $var15 = $this.$dragonPartHead.$boundingBox; $ptr = 8; continue main; } $var32 = null; if (!$var30) $var32 = $this.$dragonPartTail1; if ($var30 == 1) $var32 = $this.$dragonPartTail2; if ($var30 == 2) $var32 = $this.$dragonPartTail3; $var9 = (nms_EntityDragon_getMovementOffsets($this, 12 + ($var30 * 2 | 0) | 0, 1.0)).data; $var17 = $this.$rotationYaw * 3.1415927410125732 / 180.0; $var10 = ($var9[0] - var$34[0]) % 360.0; if ($var10 >= 180.0) $var10 = $var10 - 360.0; if ($var10 < (-180.0)) $var10 = $var10 + 360.0; $var35 = $var17 + $var10 * 3.1415927410125732 / 180.0 * 1.0; $var29 = nms_MathHelper_SIN_TABLE.data; $var17 = $var35 * 10430.3779296875; $var37 = $var29[($var17 | 0) & 65535]; $var36 = $var29[($var17 + 16384.0 | 0) & 65535]; $var38 = 1.5; $var30 = $var30 + 1 | 0; $var40 = $var30 * 2.0; $ptr = 12; continue main; case 8: $tmp = nms_EntityDragon_destroyBlocksInAABB($this, $var15); if ($rt_suspending()) { break main; } var$12 = $tmp; $var15 = $this.$dragonPartBody.$boundingBox; $ptr = 9; case 9: $tmp = nms_EntityDragon_destroyBlocksInAABB($this, $var15); if ($rt_suspending()) { break main; } $var25 = $tmp; $this.$slowed = var$12 | $var25; return; case 10: nms_EntityDragon_collideWithEntities($this, $var15); if ($rt_suspending()) { break main; } $var15 = $this.$worldObj; $var39 = $this.$dragonPartWing2.$boundingBox; $var26 = $var39.$minX - 4.0; $var6 = $var39.$minY - 2.0; $var14 = $var39.$minZ - 4.0; $var10 = $var39.$maxX + 4.0; $var4 = $var39.$maxY + 2.0; $var12 = $var39.$maxZ + 4.0; $var32 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$12 = $var32.$nextPoolIndex; $var39 = $var32.$listAABB; $var30 = $var39.$size0; $var25 = $rt_compare(var$12, $var30); if ($var25 >= 0) { $var23 = new nms_AxisAlignedBB; $var23.$minX = $var26; $var23.$minY = $var6; $var23.$minZ = $var14; $var23.$maxX = $var10; $var23.$maxY = $var4; $var23.$maxZ = $var12; ju_ArrayList_ensureCapacity($var39, $var30 + 1 | 0); $var29 = $var39.$array.data; $var25 = $var39.$size0; $var39.$size0 = $var25 + 1 | 0; $var29[$var25] = $var23; $var39.$modCount = $var39.$modCount + 1 | 0; } else if (var$12 >= 0 && $var25 < 0) { $var23 = $var39.$array.data[var$12]; $var23.$minX = $var26; $var23.$minY = $var6; $var23.$minZ = $var14; $var23.$maxX = $var10; $var23.$maxY = $var4; $var23.$maxZ = $var12; } else { $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var15); $rt_throw($var15); } $var32.$nextPoolIndex = $var32.$nextPoolIndex + 1 | 0; $var23.$minX = $var23.$minX + 0.0; $var23.$minY = $var23.$minY + (-2.0); $var23.$minZ = $var23.$minZ + 0.0; $var23.$maxX = $var23.$maxX + 0.0; $var23.$maxY = $var23.$maxY + (-2.0); $var23.$maxZ = $var23.$maxZ + 0.0; $var15 = nms_World_getEntitiesWithinAABBExcludingEntity($var15, $this, $var23, null); $ptr = 11; case 11: nms_EntityDragon_collideWithEntities($this, $var15); if ($rt_suspending()) { break main; } $var15 = $this.$worldObj; $var39 = $this.$dragonPartHead.$boundingBox; $var26 = $var39.$minX - 1.0; $var6 = $var39.$minY - 1.0; $var14 = $var39.$minZ - 1.0; $var10 = $var39.$maxX + 1.0; $var4 = $var39.$maxY + 1.0; $var12 = $var39.$maxZ + 1.0; $var32 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$12 = $var32.$nextPoolIndex; $var39 = $var32.$listAABB; $var30 = $var39.$size0; $var25 = $rt_compare(var$12, $var30); if ($var25 >= 0) { $var23 = new nms_AxisAlignedBB; $var23.$minX = $var26; $var23.$minY = $var6; $var23.$minZ = $var14; $var23.$maxX = $var10; $var23.$maxY = $var4; $var23.$maxZ = $var12; ju_ArrayList_ensureCapacity($var39, $var30 + 1 | 0); $var29 = $var39.$array.data; $var25 = $var39.$size0; $var39.$size0 = $var25 + 1 | 0; $var29[$var25] = $var23; $var39.$modCount = $var39.$modCount + 1 | 0; } else if (var$12 >= 0 && $var25 < 0) { $var23 = $var39.$array.data[var$12]; $var23.$minX = $var26; $var23.$minY = $var6; $var23.$minZ = $var14; $var23.$maxX = $var10; $var23.$maxY = $var4; $var23.$maxZ = $var12; } else { $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var15); $rt_throw($var15); } $var32.$nextPoolIndex = $var32.$nextPoolIndex + 1 | 0; $var32 = nms_World_getEntitiesWithinAABBExcludingEntity($var15, $this, $var23, null); var$12 = 0; while (true) { $var25 = $rt_compare(var$12, $var32.$size0); if ($var25 >= 0) { var$34 = (nms_EntityDragon_getMovementOffsets($this, 5, 1.0)).data; $var29 = (nms_EntityDragon_getMovementOffsets($this, 0, 1.0)).data; $var1 = $this.$rotationYaw * 3.1415927410125732 / 180.0 - $this.$randomYawVelocity * 0.009999999776482582; $var9 = nms_MathHelper_SIN_TABLE.data; $var17 = $var1 * 10430.3779296875; $var31 = $var9[($var17 | 0) & 65535]; $var33 = $var9[($var17 + 16384.0 | 0) & 65535]; $var15 = $this.$dragonPartHead; $ptr = 7; continue main; } if (var$12 < 0) break; if ($var25 >= 0) break; $var15 = $var32.$array.data[var$12]; if ($var15 instanceof nms_EntityLivingBase) { $var39 = new nms_EntityDamageSource; $var39.$hungerDamage = 0.30000001192092896; $var39.$damageType = $rt_s(1858); $var39.$damageSourceEntity = $this; $var1 = 10.0; $ptr = 13; continue main; } var$12 = var$12 + 1 | 0; } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; $rt_throw($var15); case 12: nms_Entity_onEntityUpdate($var32); if ($rt_suspending()) { break main; } $var10 = $this.$posX - ($var18 + $var37 * $var40) * $var3; $var4 = $this.$posY + ($var9[1] - var$34[1]) * 1.0 - ($var40 + $var38) * $var27 + 1.5; $var12 = $this.$posZ + ($var21 + $var36 * $var40) * $var3; $var32.$posX = $var10; $var32.$prevPosX = $var10; $var32.$lastTickPosX = $var10; $var4 = $var4 + $var32.$yOffset; $var32.$posY = $var4; $var32.$prevPosY = $var4; $var32.$lastTickPosY = $var4; $var32.$posZ = $var12; $var32.$prevPosZ = $var12; $var32.$lastTickPosZ = $var12; $var32.$rotationYaw = 0.0; $var32.$rotationPitch = 0.0; nms_Entity_setPosition($var32, $var10, $var4, $var12); if ($var30 >= 3) { if ($this.$worldObj.$isRemote) return; $var15 = $this.$dragonPartHead.$boundingBox; $ptr = 8; continue main; } $var32 = null; if (!$var30) $var32 = $this.$dragonPartTail1; if ($var30 == 1) $var32 = $this.$dragonPartTail2; if ($var30 == 2) $var32 = $this.$dragonPartTail3; $var9 = (nms_EntityDragon_getMovementOffsets($this, 12 + ($var30 * 2 | 0) | 0, 1.0)).data; $var17 = $this.$rotationYaw * 3.1415927410125732 / 180.0; $var10 = ($var9[0] - var$34[0]) % 360.0; if ($var10 >= 180.0) $var10 = $var10 - 360.0; if ($var10 < (-180.0)) $var10 = $var10 + 360.0; $var35 = $var17 + $var10 * 3.1415927410125732 / 180.0 * 1.0; $var29 = nms_MathHelper_SIN_TABLE.data; $var17 = $var35 * 10430.3779296875; $var37 = $var29[($var17 | 0) & 65535]; $var36 = $var29[($var17 + 16384.0 | 0) & 65535]; $var38 = 1.5; $var30 = $var30 + 1 | 0; $var40 = $var30 * 2.0; continue main; case 13: $var15.$attackEntityFrom($var39, $var1); if ($rt_suspending()) { break main; } while (true) { var$12 = var$12 + 1 | 0; $var25 = $rt_compare(var$12, $var32.$size0); if ($var25 >= 0) { var$34 = (nms_EntityDragon_getMovementOffsets($this, 5, 1.0)).data; $var29 = (nms_EntityDragon_getMovementOffsets($this, 0, 1.0)).data; $var1 = $this.$rotationYaw * 3.1415927410125732 / 180.0 - $this.$randomYawVelocity * 0.009999999776482582; $var9 = nms_MathHelper_SIN_TABLE.data; $var17 = $var1 * 10430.3779296875; $var31 = $var9[($var17 | 0) & 65535]; $var33 = $var9[($var17 + 16384.0 | 0) & 65535]; $var15 = $this.$dragonPartHead; $ptr = 7; continue main; } if (var$12 < 0) break; if ($var25 >= 0) break; $var15 = $var32.$array.data[var$12]; if (!($var15 instanceof nms_EntityLivingBase)) continue; else { $var39 = new nms_EntityDamageSource; $var39.$hungerDamage = 0.30000001192092896; $var39.$damageType = $rt_s(1858); $var39.$damageSourceEntity = $this; $var1 = 10.0; continue main; } } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; $rt_throw($var15); case 14: nms_Entity_moveEntity($this, $var10, $var4, $var12); if ($rt_suspending()) { break main; } $var23 = nms_Vec3_normalize(nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$motionX, $this.$motionY, $this.$motionZ)); $var1 = 0.800000011920929 + 0.15000000596046448 * ($var23.$xCoord * $var39.$xCoord + $var23.$yCoord * $var39.$yCoord + $var23.$zCoord * $var39.$zCoord + 1.0) / 2.0; $var10 = $this.$motionX; $var4 = $var1; $this.$motionX = $var10 * $var4; $this.$motionZ = $this.$motionZ * $var4; $this.$motionY = $this.$motionY * 0.9100000262260437; $this.$renderYawOffset = $this.$rotationYaw; $var15 = $this.$dragonPartHead; $var15.$height2 = 3.0; $var15.$width1 = 3.0; $var15 = $this.$dragonPartTail1; $var15.$height2 = 2.0; $var15.$width1 = 2.0; $var15 = $this.$dragonPartTail2; $var15.$height2 = 2.0; $var15.$width1 = 2.0; $var15 = $this.$dragonPartTail3; $var15.$height2 = 2.0; $var15.$width1 = 2.0; $var15 = $this.$dragonPartBody; $var15.$height2 = 3.0; $var15.$width1 = 5.0; $var15 = $this.$dragonPartWing1; $var15.$height2 = 2.0; $var15.$width1 = 4.0; $var15 = $this.$dragonPartWing2; $var15.$height2 = 3.0; $var15.$width1 = 4.0; $var2 = ((nms_EntityDragon_getMovementOffsets($this, 5, 1.0)).data[1] - (nms_EntityDragon_getMovementOffsets($this, 10, 1.0)).data[1]) * 10.0 / 180.0 * 3.1415927410125732; $var29 = nms_MathHelper_SIN_TABLE.data; $var1 = $var2 * 10430.3779296875; $var3 = $var29[($var1 + 16384.0 | 0) & 65535]; $var27 = -$var29[($var1 | 0) & 65535]; $var17 = $this.$rotationYaw * 3.1415927410125732 / 180.0 * 10430.3779296875; $var28 = $var29[($var17 | 0) & 65535]; $var7 = $var29[($var17 + 16384.0 | 0) & 65535]; $var15 = $this.$dragonPartBody; $ptr = 4; continue main; case 15: nms_Entity_moveEntity($this, $var10, $var4, $var12); if ($rt_suspending()) { break main; } $var23 = nms_Vec3_normalize(nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$motionX, $this.$motionY, $this.$motionZ)); $var1 = 0.800000011920929 + 0.15000000596046448 * ($var23.$xCoord * $var39.$xCoord + $var23.$yCoord * $var39.$yCoord + $var23.$zCoord * $var39.$zCoord + 1.0) / 2.0; $var10 = $this.$motionX; $var4 = $var1; $this.$motionX = $var10 * $var4; $this.$motionZ = $this.$motionZ * $var4; $this.$motionY = $this.$motionY * 0.9100000262260437; $this.$renderYawOffset = $this.$rotationYaw; $var15 = $this.$dragonPartHead; $var15.$height2 = 3.0; $var15.$width1 = 3.0; $var15 = $this.$dragonPartTail1; $var15.$height2 = 2.0; $var15.$width1 = 2.0; $var15 = $this.$dragonPartTail2; $var15.$height2 = 2.0; $var15.$width1 = 2.0; $var15 = $this.$dragonPartTail3; $var15.$height2 = 2.0; $var15.$width1 = 2.0; $var15 = $this.$dragonPartBody; $var15.$height2 = 3.0; $var15.$width1 = 5.0; $var15 = $this.$dragonPartWing1; $var15.$height2 = 2.0; $var15.$width1 = 4.0; $var15 = $this.$dragonPartWing2; $var15.$height2 = 3.0; $var15.$width1 = 4.0; $var2 = ((nms_EntityDragon_getMovementOffsets($this, 5, 1.0)).data[1] - (nms_EntityDragon_getMovementOffsets($this, 10, 1.0)).data[1]) * 10.0 / 180.0 * 3.1415927410125732; $var29 = nms_MathHelper_SIN_TABLE.data; $var1 = $var2 * 10430.3779296875; $var3 = $var29[($var1 + 16384.0 | 0) & 65535]; $var27 = -$var29[($var1 | 0) & 65535]; $var17 = $this.$rotationYaw * 3.1415927410125732 / 180.0 * 10430.3779296875; $var28 = $var29[($var17 | 0) & 65535]; $var7 = $var29[($var17 + 16384.0 | 0) & 65535]; $var15 = $this.$dragonPartBody; $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var15, $var1, $var29, $var1_0, $var10, $var4, $var12, $var39, $var17, $var23, var$11, var$12, var$13, $var2, $var3, $var26, $var6, $var14, $var25, $var9, $var6_0, $var8, $var27, $var28, $var7, $var11, $var13, $var16, $var18, $var19, $var21, $var32, $var30, var$34, $var31, $var33, $var35, $var37, $var36, $var38, $var40, $ptr); }, nms_EntityDragon_updateDragonEnderCrystal = $this => { let $var3, $var7, var$3, var$4, $var2, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var6$index, $var8, var$16, var$17, var$18, var$19, $var4, $var6$index_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6$index_0 = $thread.pop();$var4 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var8 = $thread.pop();$var6$index = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var2 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var7 = $thread.pop();$var3 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$healingEnderCrystal; if ($var3 !== null) { if (!$var3.$isDead) { if (!($this.$ticksExisted % 10 | 0)) { $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var7 = jl_Integer_integerCache.data[134]; if ($var7 !== null) { var$3 = $var7.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$3) { $var2 = $var3.$key; if ($var7 !== $var2 && !($var7 !== $var2 ? ($var2 instanceof jl_Integer && $var2.$value0 == var$3 ? 1 : 0) : 1) ? 0 : 1) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } var$6 = ($var3 === null ? null : $var3.$value1).$watchedObject.$value3; $var3 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var7 = $this.$attributeMap.$attributes; if ($var3 === null) { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { a: { $var2 = $var3.$field_111115_a; if (!$var2.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $var2.$nativeString.length) break a; $var2.$hashCode1 = (31 * $var2.$hashCode1 | 0) + $var2.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $var2.$hashCode1; var$4 = $var7.$elementData.data; $var7 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var7 !== null && !($var7.$origKeyHash == var$7 && ju_HashMap_areEqualKeys($var3, $var7.$key))) { $var7 = $var7.$next3; } } $var3 = $var7 === null ? null : $var7.$value1; if ($var3.$field_111133_g) { $var3.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var3); $var3.$field_111133_g = 0; } if (var$6 < $var3.$field_111139_h) { $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var7 = jl_Integer_integerCache.data[134]; if ($var7 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$3 = $var7.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$3) { $var2 = $var3.$key; if ($var7 !== $var2 && !($var7 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; var$6 = $var3.$watchedObject.$value3 + 1.0; $var3 = $this.$dataWatcher; var$8 = 0.0; $var2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var7 = $this.$attributeMap.$attributes; if ($var2 === null) $var7 = ju_HashMap_findNullKeyEntry($var7); else { var$9 = nms_BaseAttribute_hashCode($var2); $var7 = ju_HashMap_findNonNullKeyEntry($var7, $var2, var$9 & ($var7.$elementData.data.length - 1 | 0), var$9); } $var7 = $var7 === null ? null : $var7.$value1; if ($var7.$field_111133_g) { $var7.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var7); $var7.$field_111133_g = 0; } var$10 = $var7.$field_111139_h; if (var$6 >= var$8) var$8 = var$6 <= var$10 ? var$6 : var$10; var$11 = new jl_Float; var$11.$value3 = var$8; $var7 = $var3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[134]; if (var$12 === null) { $var2 = $var7.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$9 = var$12.$value0; var$4 = $var7.$elementData.data; $var2 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$9) { $var7 = $var2.$key; if (var$12 !== $var7 && !(var$12 === $var7 ? 1 : $var7 instanceof jl_Integer && $var7.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; $var7 = $var2.$watchedObject; if (var$11 === $var7) var$3 = 1; else b: { if ($var7 instanceof jl_Float) { var$6 = var$11.$value3; var$8 = $var7.$value3; if (var$6 !== var$6 ? (var$8 === var$8 ? 0 : 1) : $rt_floatToRawIntBits(var$6) != $rt_floatToRawIntBits(var$8) ? 0 : 1) { var$3 = 1; break b; } } var$3 = 0; } if (!var$3) { $var2.$watchedObject = var$11; $var2.$watched = 1; $var3.$objectChanged = 1; } } } } else if ($this.$worldObj.$isRemote) $this.$healingEnderCrystal = null; else { $var3 = $this.$dragonPartHead; $var2 = new nms_DamageSource; $var2.$hungerDamage = 0.30000001192092896; $var2.$damageType = $rt_s(2040); $var2.$difficultyScaled = 1; $var2.$explosion = 1; var$6 = 10.0; $ptr = 1; continue main; } } $var3 = $this.$rand; var$13 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$13; var$7 = Long_lo(Long_shru(var$13, 17)); while (true) { $var6$index = var$7 % 10 | 0; if (((var$7 - $var6$index | 0) + 9 | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$13; var$7 = Long_lo(Long_shru(var$13, 17)); } if ($var6$index) return; $var3 = $this.$worldObj; $var7 = $rt_cls(nms_EntityEnderCrystal); $var2 = $this.$boundingBox; $var8 = $var2.$minX - 32.0; var$16 = $var2.$minY - 32.0; var$17 = $var2.$minZ - 32.0; var$18 = $var2.$maxX + 32.0; var$19 = $var2.$maxY + 32.0; $var4 = $var2.$maxZ + 32.0; var$11 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$3 = var$11.$nextPoolIndex; $var2 = var$11.$listAABB; var$7 = $var2.$size0; var$9 = $rt_compare(var$3, var$7); if (var$9 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var8; var$12.$minY = var$16; var$12.$minZ = var$17; var$12.$maxX = var$18; var$12.$maxY = var$19; var$12.$maxZ = $var4; ju_ArrayList_ensureCapacity($var2, var$7 + 1 | 0); var$4 = $var2.$array.data; var$9 = $var2.$size0; $var2.$size0 = var$9 + 1 | 0; var$4[var$9] = var$12; $var2.$modCount = $var2.$modCount + 1 | 0; } else if (var$3 >= 0 && var$9 < 0) { var$12 = $var2.$array.data[var$3]; var$12.$minX = $var8; var$12.$minY = var$16; var$12.$minZ = var$17; var$12.$maxX = var$18; var$12.$maxY = var$19; var$12.$maxZ = $var4; } else { $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } var$11.$nextPoolIndex = var$11.$nextPoolIndex + 1 | 0; $var2 = null; $ptr = 2; continue main; case 1: nms_EntityDragon_attackEntityFromPart($this, $var3, $var2, var$6); if ($rt_suspending()) { break main; } $this.$healingEnderCrystal = null; $var3 = $this.$rand; var$13 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$13; var$7 = Long_lo(Long_shru(var$13, 17)); while (true) { $var6$index = var$7 % 10 | 0; if (((var$7 - $var6$index | 0) + 9 | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$13; var$7 = Long_lo(Long_shru(var$13, 17)); } if ($var6$index) return; $var3 = $this.$worldObj; $var7 = $rt_cls(nms_EntityEnderCrystal); $var2 = $this.$boundingBox; $var8 = $var2.$minX - 32.0; var$16 = $var2.$minY - 32.0; var$17 = $var2.$minZ - 32.0; var$18 = $var2.$maxX + 32.0; var$19 = $var2.$maxY + 32.0; $var4 = $var2.$maxZ + 32.0; var$11 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$3 = var$11.$nextPoolIndex; $var2 = var$11.$listAABB; var$7 = $var2.$size0; var$9 = $rt_compare(var$3, var$7); if (var$9 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var8; var$12.$minY = var$16; var$12.$minZ = var$17; var$12.$maxX = var$18; var$12.$maxY = var$19; var$12.$maxZ = $var4; ju_ArrayList_ensureCapacity($var2, var$7 + 1 | 0); var$4 = $var2.$array.data; var$9 = $var2.$size0; $var2.$size0 = var$9 + 1 | 0; var$4[var$9] = var$12; $var2.$modCount = $var2.$modCount + 1 | 0; } else if (var$3 >= 0 && var$9 < 0) { var$12 = $var2.$array.data[var$3]; var$12.$minX = $var8; var$12.$minY = var$16; var$12.$minZ = var$17; var$12.$maxX = var$18; var$12.$maxY = var$19; var$12.$maxZ = $var4; } else { $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } var$11.$nextPoolIndex = var$11.$nextPoolIndex + 1 | 0; $var2 = null; $ptr = 2; case 2: $tmp = nms_World_selectEntitiesWithinAABB($var3, $var7, var$12, $var2); if ($rt_suspending()) { break main; } $var2 = $tmp; $var3 = null; $var4 = 1.7976931348623157E308; $var6$index = 0; var$9 = $var2.$modCount; var$7 = $var2.$size(); while ($var6$index >= var$7 ? 0 : 1) { if (var$9 < $var2.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var6$index_0 = $var6$index + 1 | 0; $var7 = $var2.$get($var6$index); $var8 = $var7.$posX - $this.$posX; var$16 = $var7.$posY - $this.$posY; var$17 = $var7.$posZ - $this.$posZ; $var8 = $var8 * $var8 + var$16 * var$16 + var$17 * var$17; if ($var8 < $var4) { $var4 = $var8; $var3 = $var7; } $var6$index = $var6$index_0; } $this.$healingEnderCrystal = $var3; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var3, $var7, var$3, var$4, $var2, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var6$index, $var8, var$16, var$17, var$18, var$19, $var4, $var6$index_0, $ptr); }, nms_EntityDragon_collideWithEntities = ($this, $par1List) => { let $var7, $var2, $var4, $var6$index, var$6, var$7, $var6$index_0, $var8, $var10, $var12, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var6$index_0 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var6$index = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var7 = $thread.pop();$par1List = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = $this.$dragonPartBody.$boundingBox; $var2 = ($var7.$minX + $var7.$maxX) / 2.0; $var4 = ($var7.$minZ + $var7.$maxZ) / 2.0; $var6$index = 0; var$6 = $par1List.$modCount; var$7 = $par1List.$size(); while ($var6$index >= var$7 ? 0 : 1) { if (var$6 < $par1List.$modCount) { $par1List = new ju_ConcurrentModificationException; $par1List.$suppressionEnabled = 1; $par1List.$writableStackTrace = 1; $rt_throw($par1List); } $var6$index_0 = $var6$index + 1 | 0; $var7 = $par1List.$get($var6$index); if ($var7 instanceof nms_EntityLivingBase) { $var8 = $var7.$posX - $var2; $var10 = $var7.$posZ - $var4; $var12 = $var8 * $var8 + $var10 * $var10; $var8 = $var8 / $var12 * 4.0; var$12 = 0.20000000298023224; $var12 = $var10 / $var12 * 4.0; $ptr = 1; continue main; } $var6$index = $var6$index_0; } return; case 1: $var7.$addVelocity($var8, var$12, $var12); if ($rt_suspending()) { break main; } while (true) { $var6$index = $var6$index_0; if (!($var6$index >= var$7 ? 0 : 1)) break; if (var$6 < $par1List.$modCount) { $par1List = new ju_ConcurrentModificationException; $par1List.$suppressionEnabled = 1; $par1List.$writableStackTrace = 1; $rt_throw($par1List); } $var6$index_0 = $var6$index + 1 | 0; $var7 = $par1List.$get($var6$index); if (!($var7 instanceof nms_EntityLivingBase)) continue; else { $var8 = $var7.$posX - $var2; $var10 = $var7.$posZ - $var4; $var12 = $var8 * $var8 + $var10 * $var10; $var8 = $var8 / $var12 * 4.0; var$12 = 0.20000000298023224; $var12 = $var10 / $var12 * 4.0; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1List, $var7, $var2, $var4, $var6$index, var$6, var$7, $var6$index_0, $var8, $var10, $var12, var$12, $ptr); }, nms_EntityDragon_setNewTarget = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, $var4, $var2, $var6; a: { b: { $this.$forceNewTarget = 0; var$1 = $this.$rand; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; if (!Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$2, 17)))), 31))) { var$3 = $this.$worldObj.$playerEntities; var$4 = var$3.$size0; if (!(var$4 ? 0 : 1)) { var$2 = Long_and(Long_add(Long_mul(var$2, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$5 = Long_lo(Long_shru(var$2, 17)); var$6 = var$4 - 1 | 0; if (!(var$4 & var$6)) var$7 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$4), Long_fromInt(var$5)), 31)); else while (true) { var$7 = var$5 % var$4 | 0; if (((var$5 - var$7 | 0) + var$6 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$5 = Long_lo(Long_shru(var$2, 17)); } if (var$7 < 0) break a; if (var$7 >= var$4) break a; $this.$target = var$3.$array.data[var$7]; break b; } } while (true) { $this.$targetX = 0.0; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; $var4 = 70.0 + Long_lo(Long_shru(var$2, 24)) / 1.6777216E7 * 50.0; $this.$targetY = $var4; $this.$targetZ = 0.0; var$2 = Long_and(Long_add(Long_mul(var$2, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; $var2 = 0.0 + Long_lo(Long_shru(var$2, 24)) / 1.6777216E7 * 120.0 - 60.0; $this.$targetX = $var2; var$2 = Long_and(Long_add(Long_mul(var$2, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; $var6 = 0.0 + Long_lo(Long_shru(var$2, 24)) / 1.6777216E7 * 120.0 - 60.0; $this.$targetZ = $var6; $var2 = $this.$posX - $var2; $var4 = $this.$posY - $var4; $var6 = $this.$posZ - $var6; if (!($var2 * $var2 + $var4 * $var4 + $var6 * $var6 <= 100.0 ? 0 : 1)) continue; else break; } $this.$target = null; } return; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nms_EntityDragon_destroyBlocksInAABB = ($this, $par1AxisAlignedBB) => { let var$2, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, var$11, var$12, var$13, $var16, var$15, var$16, var$17, $var17, var$19, $var14, var$21, var$22, $var11, $var12, $var13, var$26, var$27, var$28, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var14 = $thread.pop();var$19 = $thread.pop();$var17 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var16 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$par1AxisAlignedBB = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1AxisAlignedBB.$minX; $var2 = var$2 | 0; if (var$2 < $var2) $var2 = $var2 - 1 | 0; var$2 = $par1AxisAlignedBB.$minY; $var3 = var$2 | 0; if (var$2 < $var3) $var3 = $var3 - 1 | 0; var$2 = $par1AxisAlignedBB.$minZ; $var4 = var$2 | 0; if (var$2 < $var4) $var4 = $var4 - 1 | 0; var$2 = $par1AxisAlignedBB.$maxX; $var5 = var$2 | 0; if (var$2 < $var5) $var5 = $var5 - 1 | 0; var$2 = $par1AxisAlignedBB.$maxY; $var6 = var$2 | 0; if (var$2 < $var6) $var6 = $var6 - 1 | 0; var$2 = $par1AxisAlignedBB.$maxZ; $var7 = var$2 | 0; if (var$2 < $var7) $var7 = $var7 - 1 | 0; $var8 = 0; $var9 = 0; var$11 = $rt_s(1854); var$12 = $rt_s(1854); var$13 = $rt_s(1854); a: { b: { c: { d: while (true) { if ($var2 > $var5) { if ($var9) { var$2 = $par1AxisAlignedBB.$minX; $var16 = $par1AxisAlignedBB.$maxX - var$2; var$15 = $this.$rand; var$16 = Long_and(Long_add(Long_mul(var$15.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$15.$seed = var$16; $var16 = var$2 + $var16 * Long_lo(Long_shru(var$16, 24)) / 1.6777216E7; var$2 = $par1AxisAlignedBB.$minY; var$17 = $par1AxisAlignedBB.$maxY - var$2; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$15.$seed = var$16; $var17 = var$2 + var$17 * Long_lo(Long_shru(var$16, 24)) / 1.6777216E7; var$2 = $par1AxisAlignedBB.$minZ; var$17 = $par1AxisAlignedBB.$maxZ - var$2; var$19 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$15.$seed = var$19; $var14 = var$2 + var$17 * Long_lo(Long_shru(var$19, 24)) / 1.6777216E7; var$15 = $this.$worldObj; var$12 = $rt_s(1474); var$2 = 0.0; var$17 = 0.0; var$21 = 0.0; var$22 = 0; $par1AxisAlignedBB = var$15.$worldAccesses; $var9 = $rt_compare(var$22, $par1AxisAlignedBB.$size0); if ($var9 < 0) { if (var$22 >= 0 && $var9 < 0) { $par1AxisAlignedBB = $par1AxisAlignedBB.$array.data[var$22]; $ptr = 1; continue main; } $par1AxisAlignedBB = new jl_IndexOutOfBoundsException; $par1AxisAlignedBB.$suppressionEnabled = 1; $par1AxisAlignedBB.$writableStackTrace = 1; $rt_throw($par1AxisAlignedBB); } } return $var8; } $var11 = $var3; while ($var11 <= $var6) { $var12 = $var4; while ($var12 <= $var7) { $var13 = nms_World_getBlockId($this.$worldObj, $var2, $var11, $var12); if ($var13) { nms_Block_$callClinit(); if ($var13 != nms_Block_obsidian.$blockID && $var13 != nms_Block_whiteStone.$blockID && $var13 != nms_Block_bedrock.$blockID) { e: { var$15 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; if (var$11 !== var$12) { $var13 = var$11.$nativeString.length; var$22 = var$12.$nativeString.length; if ($var13 < var$22) var$22 = $var13; $var13 = 0; while (true) { if ($var13 >= var$22) { var$11.$nativeString.length; var$12.$nativeString.length; break e; } if ($var13 < 0) break a; if ($var13 >= var$11.$nativeString.length) break a; var$26 = var$11.$nativeString.charCodeAt($var13); if ($var13 < 0) break b; if ($var13 >= var$12.$nativeString.length) break b; if (var$26 - var$12.$nativeString.charCodeAt($var13) | 0) break; $var13 = $var13 + 1 | 0; } } } f: { while (true) { if (var$15 === null) { var$15 = null; break f; } g: { var$27 = var$15.$key0; if (var$13 === var$27) var$22 = 0; else { $var13 = var$13.$nativeString.length; var$26 = var$27.$nativeString.length; if ($var13 < var$26) var$26 = $var13; $var13 = 0; while (true) { if ($var13 >= var$26) { var$22 = var$13.$nativeString.length - var$27.$nativeString.length | 0; break g; } if ($var13 < 0) break c; if ($var13 >= var$13.$nativeString.length) break c; var$28 = var$13.$nativeString.charCodeAt($var13); if ($var13 < 0) break d; if ($var13 >= var$27.$nativeString.length) break d; var$22 = var$28 - var$27.$nativeString.charCodeAt($var13) | 0; if (var$22) break; $var13 = $var13 + 1 | 0; } } } if (!var$22) break; var$15 = var$22 >= 0 ? var$15.$right : var$15.$left; } } var$15 = var$15 === null ? null : var$15.$value4; if (var$15 === null ? 0 : var$15.$valueBoolean) { var$15 = $this.$worldObj; var$22 = 0; $var13 = 0; var$28 = 3; $ptr = 2; continue main; } } $var8 = 1; } $var12 = $var12 + 1 | 0; } $var11 = $var11 + 1 | 0; } $var2 = $var2 + 1 | 0; } $par1AxisAlignedBB = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1AxisAlignedBB); $rt_throw($par1AxisAlignedBB); } $par1AxisAlignedBB = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1AxisAlignedBB); $rt_throw($par1AxisAlignedBB); } $par1AxisAlignedBB = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1AxisAlignedBB); $rt_throw($par1AxisAlignedBB); } $par1AxisAlignedBB = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1AxisAlignedBB); $rt_throw($par1AxisAlignedBB); case 1: nms_RenderGlobal_doSpawnParticle($par1AxisAlignedBB, var$12, $var16, $var17, $var14, var$2, var$17, var$21); if ($rt_suspending()) { break main; } var$22 = var$22 + 1 | 0; $par1AxisAlignedBB = var$15.$worldAccesses; $var9 = $rt_compare(var$22, $par1AxisAlignedBB.$size0); if ($var9 >= 0) return $var8; if (var$22 >= 0 && $var9 < 0) { $par1AxisAlignedBB = $par1AxisAlignedBB.$array.data[var$22]; continue main; } $par1AxisAlignedBB = new jl_IndexOutOfBoundsException; $par1AxisAlignedBB.$suppressionEnabled = 1; $par1AxisAlignedBB.$writableStackTrace = 1; $rt_throw($par1AxisAlignedBB); case 2: $tmp = nms_World_setBlock(var$15, $var2, $var11, $var12, var$22, $var13, var$28); if ($rt_suspending()) { break main; } var$22 = $tmp; $var9 = !var$22 && !$var9 ? 0 : 1; h: { i: { j: { k: while (true) { $var12 = $var12 + 1 | 0; while ($var12 > $var7) { $var11 = $var11 + 1 | 0; while ($var11 > $var6) { $var2 = $var2 + 1 | 0; if ($var2 > $var5) { if ($var9) { var$2 = $par1AxisAlignedBB.$minX; $var16 = $par1AxisAlignedBB.$maxX - var$2; var$15 = $this.$rand; var$16 = Long_and(Long_add(Long_mul(var$15.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$15.$seed = var$16; $var16 = var$2 + $var16 * Long_lo(Long_shru(var$16, 24)) / 1.6777216E7; var$2 = $par1AxisAlignedBB.$minY; var$17 = $par1AxisAlignedBB.$maxY - var$2; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$15.$seed = var$16; $var17 = var$2 + var$17 * Long_lo(Long_shru(var$16, 24)) / 1.6777216E7; var$2 = $par1AxisAlignedBB.$minZ; var$17 = $par1AxisAlignedBB.$maxZ - var$2; var$19 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$15.$seed = var$19; $var14 = var$2 + var$17 * Long_lo(Long_shru(var$19, 24)) / 1.6777216E7; var$15 = $this.$worldObj; var$12 = $rt_s(1474); var$2 = 0.0; var$17 = 0.0; var$21 = 0.0; var$22 = 0; $par1AxisAlignedBB = var$15.$worldAccesses; $var9 = $rt_compare(var$22, $par1AxisAlignedBB.$size0); if ($var9 < 0) { if (var$22 >= 0 && $var9 < 0) { $par1AxisAlignedBB = $par1AxisAlignedBB.$array.data[var$22]; $ptr = 1; continue main; } $par1AxisAlignedBB = new jl_IndexOutOfBoundsException; $par1AxisAlignedBB.$suppressionEnabled = 1; $par1AxisAlignedBB.$writableStackTrace = 1; $rt_throw($par1AxisAlignedBB); } } return $var8; } $var11 = $var3; } $var12 = $var4; } $var13 = nms_World_getBlockId($this.$worldObj, $var2, $var11, $var12); if (!$var13) continue; nms_Block_$callClinit(); if ($var13 != nms_Block_obsidian.$blockID && $var13 != nms_Block_whiteStone.$blockID && $var13 != nms_Block_bedrock.$blockID) { a: { var$15 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; if (var$11 !== var$12) { $var13 = var$11.$nativeString.length; var$22 = var$12.$nativeString.length; if ($var13 < var$22) var$22 = $var13; $var13 = 0; while (true) { if ($var13 >= var$22) { var$11.$nativeString.length; var$12.$nativeString.length; break a; } if ($var13 < 0) break h; if ($var13 >= var$11.$nativeString.length) break h; var$26 = var$11.$nativeString.charCodeAt($var13); if ($var13 < 0) break i; if ($var13 >= var$12.$nativeString.length) break i; if (var$26 - var$12.$nativeString.charCodeAt($var13) | 0) break; $var13 = $var13 + 1 | 0; } } } l: { while (true) { if (var$15 === null) { var$15 = null; break l; } e: { var$27 = var$15.$key0; if (var$13 === var$27) var$22 = 0; else { $var13 = var$13.$nativeString.length; var$26 = var$27.$nativeString.length; if ($var13 < var$26) var$26 = $var13; $var13 = 0; while (true) { if ($var13 >= var$26) { var$22 = var$13.$nativeString.length - var$27.$nativeString.length | 0; break e; } if ($var13 < 0) break j; if ($var13 >= var$13.$nativeString.length) break j; var$28 = var$13.$nativeString.charCodeAt($var13); if ($var13 < 0) break k; if ($var13 >= var$27.$nativeString.length) break k; var$22 = var$28 - var$27.$nativeString.charCodeAt($var13) | 0; if (var$22) break; $var13 = $var13 + 1 | 0; } } } if (!var$22) break; var$15 = var$22 >= 0 ? var$15.$right : var$15.$left; } } var$15 = var$15 === null ? null : var$15.$value4; if (var$15 === null ? 0 : var$15.$valueBoolean) { var$15 = $this.$worldObj; var$22 = 0; $var13 = 0; var$28 = 3; continue main; } } $var8 = 1; } $par1AxisAlignedBB = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1AxisAlignedBB); $rt_throw($par1AxisAlignedBB); } $par1AxisAlignedBB = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1AxisAlignedBB); $rt_throw($par1AxisAlignedBB); } $par1AxisAlignedBB = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1AxisAlignedBB); $rt_throw($par1AxisAlignedBB); } $par1AxisAlignedBB = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1AxisAlignedBB); $rt_throw($par1AxisAlignedBB); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1AxisAlignedBB, var$2, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, var$11, var$12, var$13, $var16, var$15, var$16, var$17, $var17, var$19, $var14, var$21, var$22, $var11, $var12, $var13, var$26, var$27, var$28, $ptr); }, nms_EntityDragon_attackEntityFromPart = ($this, $par1EntityDragonPart, $par2DamageSource, $par3) => { let $var4, var$5, $var6, $var5, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var5 = $thread.pop();$var6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2DamageSource = $thread.pop();$par1EntityDragonPart = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1EntityDragonPart !== $this.$dragonPartHead) $par3 = $par3 / 4.0 + 1.0; $var4 = $this.$rotationYaw * 3.1415927410125732 / 180.0; var$5 = nms_MathHelper_SIN_TABLE.data; $var6 = $var4 * 10430.3779296875; $var5 = var$5[($var6 | 0) & 65535]; $var6 = var$5[($var6 + 16384.0 | 0) & 65535]; var$8 = $this.$posX + $var5 * 5.0; $par1EntityDragonPart = $this.$rand; var$9 = Long_and(Long_add(Long_mul($par1EntityDragonPart.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityDragonPart.$seed = var$9; $this.$targetX = var$8 + (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 - 0.5) * 2.0; var$8 = $this.$posY; var$10 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityDragonPart.$seed = var$10; $this.$targetY = var$8 + Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 3.0 + 1.0; var$8 = $this.$posZ - $var6 * 5.0; var$10 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityDragonPart.$seed = var$10; $this.$targetZ = var$8 + (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 - 0.5) * 2.0; $this.$target = null; if (!($par2DamageSource.$getEntity() instanceof nms_EntityPlayer) && !$par2DamageSource.$explosion) return 1; $ptr = 1; case 1: nms_EntityLivingBase_attackEntityFrom($this, $par2DamageSource, $par3); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityDragonPart, $par2DamageSource, $par3, $var4, var$5, $var6, $var5, var$8, var$9, var$10, $ptr); }, nms_EntityDragon_attackEntityFrom = ($this, $par1DamageSource, $par2) => { return 0; }, nms_EntityDragon_onDeathUpdate = $this => { let $var4, var$2, var$3, $var1, var$5, $var2, $var3, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var5, var$17, var$18, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var5 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();$var1 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var4 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = $this.$deathTicks + 1 | 0; $this.$deathTicks = $var4; if ($var4 >= 180 && $var4 <= 200) { var$2 = $this.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; $var1 = (Long_lo(Long_shru(var$3, 24)) / 1.6777216E7 - 0.5) * 8.0; var$5 = Long_and(Long_add(Long_mul(var$3, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$5; $var2 = (Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 - 0.5) * 4.0; var$3 = Long_and(Long_add(Long_mul(var$5, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; $var3 = (Long_lo(Long_shru(var$3, 24)) / 1.6777216E7 - 0.5) * 8.0; var$2 = $this.$worldObj; var$8 = $rt_s(1473); var$9 = $this.$posX + $var1; var$10 = $this.$posY + 2.0 + $var2; var$11 = $this.$posZ + $var3; var$12 = 0.0; var$13 = 0.0; var$14 = 0.0; $var4 = 0; var$15 = var$2.$worldAccesses; $var5 = $rt_compare($var4, var$15.$size0); if ($var5 < 0) { if ($var4 >= 0 && $var5 < 0) { var$15 = var$15.$array.data[$var4]; $ptr = 4; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } if (!$this.$worldObj.$isRemote) { $var4 = $this.$deathTicks; if ($var4 > 150 && !($var4 % 5 | 0)) { $var4 = 1000; if ($var4 > 0) { $var5 = nms_EntityXPOrb_getXPSplit($var4); $var4 = $var4 - $var5 | 0; var$2 = $this.$worldObj; var$8 = new nms_EntityXPOrb; var$14 = $this.$posX; var$9 = $this.$posY; var$10 = $this.$posZ; $ptr = 3; continue main; } } if ($this.$deathTicks == 1) { var$2 = $this.$worldObj; $var4 = 1018; $var5 = $this.$posX | 0; var$17 = $this.$posY | 0; var$18 = $this.$posZ | 0; var$19 = 0; var$20 = 0; var$8 = var$2.$worldAccesses; var$21 = $rt_compare(var$20, var$8.$size0); if (var$21 < 0) { if (var$20 >= 0 && var$21 < 0) { var$8 = var$8.$array.data[var$20]; $ptr = 5; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } var$10 = 0.0; var$14 = 0.10000000149011612; var$9 = 0.0; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$10, var$14, var$9); if ($rt_suspending()) { break main; } $var1 = $this.$rotationYaw + 20.0; $this.$rotationYaw = $var1; $this.$renderYawOffset = $var1; if ($this.$deathTicks == 200 && !$this.$worldObj.$isRemote) { $var4 = 2000; if ($var4 > 0) { $var5 = nms_EntityXPOrb_getXPSplit($var4); $var4 = $var4 - $var5 | 0; var$2 = $this.$worldObj; var$8 = new nms_EntityXPOrb; var$14 = $this.$posX; var$9 = $this.$posY; var$10 = $this.$posZ; $ptr = 2; continue main; } var$14 = $this.$posX; var$17 = var$14 | 0; if (var$14 < var$17) var$17 = var$17 - 1 | 0; var$14 = $this.$posZ; $var5 = var$14 | 0; if (var$14 < $var5) $var5 = $var5 - 1 | 0; $ptr = 6; continue main; } return; case 2: nms_EntityXPOrb__init_(var$8, var$2, var$14, var$9, var$10, $var5); if ($rt_suspending()) { break main; } $var5 = nms_World_spawnEntityInWorld(var$2, var$8); var$15 = var$2.$entityList; ju_HashMap_putImpl(var$15.$backingMap, var$8, var$15); if (!$var5) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, var$8, var$2); } if ($var4 > 0) { $var5 = nms_EntityXPOrb_getXPSplit($var4); $var4 = $var4 - $var5 | 0; var$2 = $this.$worldObj; var$8 = new nms_EntityXPOrb; var$14 = $this.$posX; var$9 = $this.$posY; var$10 = $this.$posZ; continue main; } var$14 = $this.$posX; var$17 = var$14 | 0; if (var$14 < var$17) var$17 = var$17 - 1 | 0; var$14 = $this.$posZ; $var5 = var$14 | 0; if (var$14 < $var5) $var5 = $var5 - 1 | 0; $ptr = 6; continue main; case 3: nms_EntityXPOrb__init_(var$8, var$2, var$14, var$9, var$10, $var5); if ($rt_suspending()) { break main; } $var5 = nms_World_spawnEntityInWorld(var$2, var$8); var$15 = var$2.$entityList; ju_HashMap_putImpl(var$15.$backingMap, var$8, var$15); if (!$var5) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, var$8, var$2); } if ($var4 > 0) { $var5 = nms_EntityXPOrb_getXPSplit($var4); $var4 = $var4 - $var5 | 0; var$2 = $this.$worldObj; var$8 = new nms_EntityXPOrb; var$14 = $this.$posX; var$9 = $this.$posY; var$10 = $this.$posZ; continue main; } if ($this.$deathTicks == 1) { var$2 = $this.$worldObj; $var4 = 1018; $var5 = $this.$posX | 0; var$17 = $this.$posY | 0; var$18 = $this.$posZ | 0; var$19 = 0; var$20 = 0; var$8 = var$2.$worldAccesses; var$21 = $rt_compare(var$20, var$8.$size0); if (var$21 < 0) { if (var$20 >= 0 && var$21 < 0) { var$8 = var$8.$array.data[var$20]; $ptr = 5; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } var$10 = 0.0; var$14 = 0.10000000149011612; var$9 = 0.0; $ptr = 1; continue main; case 4: nms_RenderGlobal_doSpawnParticle(var$15, var$8, var$9, var$10, var$11, var$12, var$13, var$14); if ($rt_suspending()) { break main; } $var4 = $var4 + 1 | 0; var$15 = var$2.$worldAccesses; $var5 = $rt_compare($var4, var$15.$size0); if ($var5 < 0) { if ($var4 >= 0 && $var5 < 0) { var$15 = var$15.$array.data[$var4]; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if (!$this.$worldObj.$isRemote) { $var4 = $this.$deathTicks; if ($var4 > 150 && !($var4 % 5 | 0)) { $var4 = 1000; if ($var4 > 0) { $var5 = nms_EntityXPOrb_getXPSplit($var4); $var4 = $var4 - $var5 | 0; var$2 = $this.$worldObj; var$8 = new nms_EntityXPOrb; var$14 = $this.$posX; var$9 = $this.$posY; var$10 = $this.$posZ; $ptr = 3; continue main; } } if ($this.$deathTicks == 1) { var$2 = $this.$worldObj; $var4 = 1018; $var5 = $this.$posX | 0; var$17 = $this.$posY | 0; var$18 = $this.$posZ | 0; var$19 = 0; var$20 = 0; var$8 = var$2.$worldAccesses; var$21 = $rt_compare(var$20, var$8.$size0); if (var$21 < 0) { if (var$20 >= 0 && var$21 < 0) { var$8 = var$8.$array.data[var$20]; $ptr = 5; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } var$10 = 0.0; var$14 = 0.10000000149011612; var$9 = 0.0; $ptr = 1; continue main; case 5: nms_RenderGlobal_broadcastSound(var$8, $var4, $var5, var$17, var$18, var$19); if ($rt_suspending()) { break main; } var$20 = var$20 + 1 | 0; var$8 = var$2.$worldAccesses; var$21 = $rt_compare(var$20, var$8.$size0); if (var$21 >= 0) { var$10 = 0.0; var$14 = 0.10000000149011612; var$9 = 0.0; $ptr = 1; continue main; } if (var$20 >= 0 && var$21 < 0) { var$8 = var$8.$array.data[var$20]; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); case 6: nms_EntityDragon_createEnderPortal($this, var$17, $var5); if ($rt_suspending()) { break main; } $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var4, var$2, var$3, $var1, var$5, $var2, $var3, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var5, var$17, var$18, var$19, var$20, var$21, $ptr); }, nms_EntityDragon_createEnderPortal = ($this, $par1, $par2) => { let $var3, $var5, $var4, var$6, var$7, var$8, var$9, var$10, var$11, $var6, $var4_0, $var7, $var8, $var10, $var12, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var4_0 = $thread.pop();$var6 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = 64; nms_BlockEndPortal_bossDefeated = 1; $var5 = 63; $var4 = $par1 - 4 | 0; var$6 = $par1 + 4 | 0; var$7 = $par2 - 4 | 0; var$8 = $par2 + 4 | 0; var$9 = 12.25; var$10 = 6.25; a: while (true) { if ($var5 > 96) { var$11 = $this.$worldObj; $var4 = 64; nms_Block_$callClinit(); $var6 = nms_Block_bedrock.$blockID; $var4_0 = 0; var$6 = 3; $ptr = 1; continue main; } $var6 = $var4; while ($var6 <= var$6) { $var7 = var$7; while ($var7 <= var$8) { $var8 = $var6 - $par1 | 0; $var10 = $var7 - $par2 | 0; $var12 = $var8 * $var8 + $var10 * $var10; if ($var12 <= var$9) { $var4_0 = $rt_compare($var5, $var3); if ($var4_0 >= 0) { if ($var4_0 > 0) { var$18 = $this.$worldObj; $var4_0 = 0; var$19 = 0; var$20 = 3; $ptr = 10; continue main; } if ($var12 <= var$10) { var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_endPortal.$blockID; var$19 = 0; var$20 = 3; $ptr = 12; continue main; } var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_bedrock.$blockID; var$19 = 0; var$20 = 3; $ptr = 13; continue main; } if ($var12 <= var$10) break a; } $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } $var5 = $var5 + 1 | 0; } var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_bedrock.$blockID; var$19 = 0; var$20 = 3; $ptr = 11; continue main; case 1: nms_World_setBlock(var$11, $par1, $var4, $par2, $var6, $var4_0, var$6); if ($rt_suspending()) { break main; } var$18 = $this.$worldObj; $var4 = 65; $var6 = nms_Block_bedrock.$blockID; $var4_0 = 0; var$6 = 3; $ptr = 2; case 2: nms_World_setBlock(var$18, $par1, $var4, $par2, $var6, $var4_0, var$6); if ($rt_suspending()) { break main; } var$18 = $this.$worldObj; $var4 = 66; $var6 = nms_Block_bedrock.$blockID; $var4_0 = 0; var$6 = 3; $ptr = 3; case 3: nms_World_setBlock(var$18, $par1, $var4, $par2, $var6, $var4_0, var$6); if ($rt_suspending()) { break main; } var$18 = $this.$worldObj; $var6 = $par1 - 1 | 0; $var4_0 = nms_Block_torchWood.$blockID; var$6 = 0; var$7 = 3; $ptr = 4; case 4: nms_World_setBlock(var$18, $var6, $var4, $par2, $var4_0, var$6, var$7); if ($rt_suspending()) { break main; } var$18 = $this.$worldObj; $var6 = $par1 + 1 | 0; $var4_0 = nms_Block_torchWood.$blockID; var$6 = 0; var$7 = 3; $ptr = 5; case 5: nms_World_setBlock(var$18, $var6, $var4, $par2, $var4_0, var$6, var$7); if ($rt_suspending()) { break main; } var$18 = $this.$worldObj; $var6 = $par2 - 1 | 0; $var4_0 = nms_Block_torchWood.$blockID; var$6 = 0; var$7 = 3; $ptr = 6; case 6: nms_World_setBlock(var$18, $par1, $var4, $var6, $var4_0, var$6, var$7); if ($rt_suspending()) { break main; } var$18 = $this.$worldObj; $var6 = $par2 + 1 | 0; $var4_0 = nms_Block_torchWood.$blockID; var$6 = 0; var$7 = 3; $ptr = 7; case 7: nms_World_setBlock(var$18, $par1, $var4, $var6, $var4_0, var$6, var$7); if ($rt_suspending()) { break main; } var$18 = $this.$worldObj; $var4 = 67; $var6 = nms_Block_bedrock.$blockID; $var4_0 = 0; var$6 = 3; $ptr = 8; case 8: nms_World_setBlock(var$18, $par1, $var4, $par2, $var6, $var4_0, var$6); if ($rt_suspending()) { break main; } var$18 = $this.$worldObj; $var4 = 68; $var6 = nms_Block_dragonEgg.$blockID; $var4_0 = 0; var$6 = 3; $ptr = 9; case 9: nms_World_setBlock(var$18, $par1, $var4, $par2, $var6, $var4_0, var$6); if ($rt_suspending()) { break main; } nms_BlockEndPortal_bossDefeated = 0; return; case 10: nms_World_setBlock(var$18, $var6, $var5, $var7, $var4_0, var$19, var$20); if ($rt_suspending()) { break main; } while (true) { $var7 = $var7 + 1 | 0; while ($var7 > var$8) { $var6 = $var6 + 1 | 0; while ($var6 > var$6) { $var5 = $var5 + 1 | 0; if ($var5 > 96) { var$11 = $this.$worldObj; $var4 = 64; nms_Block_$callClinit(); $var6 = nms_Block_bedrock.$blockID; $var4_0 = 0; var$6 = 3; $ptr = 1; continue main; } $var6 = $var4; } $var7 = var$7; } $var8 = $var6 - $par1 | 0; $var10 = $var7 - $par2 | 0; $var12 = $var8 * $var8 + $var10 * $var10; if ($var12 > var$9) continue; $var4_0 = $rt_compare($var5, $var3); if ($var4_0 >= 0) { if ($var4_0 > 0) { var$18 = $this.$worldObj; $var4_0 = 0; var$19 = 0; var$20 = 3; continue main; } if ($var12 <= var$10) { var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_endPortal.$blockID; var$19 = 0; var$20 = 3; $ptr = 12; continue main; } var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_bedrock.$blockID; var$19 = 0; var$20 = 3; $ptr = 13; continue main; } if ($var12 > var$10) continue; else break; } var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_bedrock.$blockID; var$19 = 0; var$20 = 3; $ptr = 11; case 11: nms_World_setBlock(var$18, $var6, $var5, $var7, $var4_0, var$19, var$20); if ($rt_suspending()) { break main; } while (true) { $var7 = $var7 + 1 | 0; while ($var7 > var$8) { $var6 = $var6 + 1 | 0; while ($var6 > var$6) { $var5 = $var5 + 1 | 0; if ($var5 > 96) { var$11 = $this.$worldObj; $var4 = 64; nms_Block_$callClinit(); $var6 = nms_Block_bedrock.$blockID; $var4_0 = 0; var$6 = 3; $ptr = 1; continue main; } $var6 = $var4; } $var7 = var$7; } $var8 = $var6 - $par1 | 0; $var10 = $var7 - $par2 | 0; $var12 = $var8 * $var8 + $var10 * $var10; if ($var12 > var$9) continue; $var4_0 = $rt_compare($var5, $var3); if ($var4_0 >= 0) { if ($var4_0 > 0) { var$18 = $this.$worldObj; $var4_0 = 0; var$19 = 0; var$20 = 3; $ptr = 10; continue main; } if ($var12 <= var$10) { var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_endPortal.$blockID; var$19 = 0; var$20 = 3; $ptr = 12; continue main; } var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_bedrock.$blockID; var$19 = 0; var$20 = 3; $ptr = 13; continue main; } if ($var12 > var$10) continue; else break; } var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_bedrock.$blockID; var$19 = 0; var$20 = 3; continue main; case 12: nms_World_setBlock(var$18, $var6, $var5, $var7, $var4_0, var$19, var$20); if ($rt_suspending()) { break main; } while (true) { $var7 = $var7 + 1 | 0; while ($var7 > var$8) { $var6 = $var6 + 1 | 0; while ($var6 > var$6) { $var5 = $var5 + 1 | 0; if ($var5 > 96) { var$11 = $this.$worldObj; $var4 = 64; nms_Block_$callClinit(); $var6 = nms_Block_bedrock.$blockID; $var4_0 = 0; var$6 = 3; $ptr = 1; continue main; } $var6 = $var4; } $var7 = var$7; } $var8 = $var6 - $par1 | 0; $var10 = $var7 - $par2 | 0; $var12 = $var8 * $var8 + $var10 * $var10; if ($var12 > var$9) continue; $var4_0 = $rt_compare($var5, $var3); if ($var4_0 >= 0) { if ($var4_0 > 0) { var$18 = $this.$worldObj; $var4_0 = 0; var$19 = 0; var$20 = 3; $ptr = 10; continue main; } if ($var12 <= var$10) { var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_endPortal.$blockID; var$19 = 0; var$20 = 3; continue main; } var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_bedrock.$blockID; var$19 = 0; var$20 = 3; $ptr = 13; continue main; } if ($var12 > var$10) continue; else break; } var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_bedrock.$blockID; var$19 = 0; var$20 = 3; $ptr = 11; continue main; case 13: nms_World_setBlock(var$18, $var6, $var5, $var7, $var4_0, var$19, var$20); if ($rt_suspending()) { break main; } while (true) { $var7 = $var7 + 1 | 0; while ($var7 > var$8) { $var6 = $var6 + 1 | 0; while ($var6 > var$6) { $var5 = $var5 + 1 | 0; if ($var5 > 96) { var$11 = $this.$worldObj; $var4 = 64; nms_Block_$callClinit(); $var6 = nms_Block_bedrock.$blockID; $var4_0 = 0; var$6 = 3; $ptr = 1; continue main; } $var6 = $var4; } $var7 = var$7; } $var8 = $var6 - $par1 | 0; $var10 = $var7 - $par2 | 0; $var12 = $var8 * $var8 + $var10 * $var10; if ($var12 > var$9) continue; $var4_0 = $rt_compare($var5, $var3); if ($var4_0 >= 0) { if ($var4_0 > 0) { var$18 = $this.$worldObj; $var4_0 = 0; var$19 = 0; var$20 = 3; $ptr = 10; continue main; } if ($var12 <= var$10) { var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_endPortal.$blockID; var$19 = 0; var$20 = 3; $ptr = 12; continue main; } var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_bedrock.$blockID; var$19 = 0; var$20 = 3; continue main; } if ($var12 > var$10) continue; else break; } var$18 = $this.$worldObj; nms_Block_$callClinit(); $var4_0 = nms_Block_bedrock.$blockID; var$19 = 0; var$20 = 3; $ptr = 11; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, $var5, $var4, var$6, var$7, var$8, var$9, var$10, var$11, $var6, $var4_0, $var7, $var8, $var10, $var12, var$18, var$19, var$20, $ptr); }, nms_EntityDragon_despawnEntity = $this => { return; }, nms_EntityDragon_getParts = $this => { return $this.$dragonPartArray; }, nms_EntityDragon_canBeCollidedWith = $this => { return 0; }, nms_EntityDragon_getLivingSound = $this => { return $rt_s(2041); }, nms_EntityDragon_getHurtSound = $this => { return $rt_s(2042); }, nms_EntityDragon_getSoundVolume = $this => { return 5.0; }; function nms_RenderDragon() { nms_RenderLiving.call(this); this.$modelDragon = null; } let nms_RenderDragon_enderDragonExplodingTextures = null, nms_RenderDragon_enderDragonCrystalBeamTextures = null, nms_RenderDragon_enderDragonEyesTextures = null, nms_RenderDragon_enderDragonTextures = null, nms_RenderDragon_$callClinit = () => { nms_RenderDragon_$callClinit = $rt_eraseClinit(nms_RenderDragon); nms_RenderDragon__clinit_(); }, nms_RenderDragon__init_ = $this => { let var$1, var$2; nms_RenderDragon_$callClinit(); var$1 = nms_ModelDragon__init_0(0.0); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 0.5; $this.$modelDragon = var$1; $this.$renderPassModel = var$1; }, nms_RenderDragon__init_0 = () => { let var_0 = new nms_RenderDragon(); nms_RenderDragon__init_(var_0); return var_0; }, nms_RenderDragon_rotateDragonBody = ($this, $par1EntityDragon, $par2, $par3, $par4) => { let $var5, $var6, var$7, var$8, var$9; $var5 = (nms_EntityDragon_getMovementOffsets($par1EntityDragon, 7, $par4)).data[0]; $var6 = (nms_EntityDragon_getMovementOffsets($par1EntityDragon, 5, $par4)).data[1] - (nms_EntityDragon_getMovementOffsets($par1EntityDragon, 10, $par4)).data[1]; $par2 = -$var5; nleg_EaglerAdapterGL30_$callClinit(); var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = 0.0; var$7.$y = 1.0; var$7.$z = 0.0; var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par2 = $var6 * 10.0; var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = 1.0; var$7.$y = 0.0; var$7.$z = 0.0; var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = 0.0; var$7.$y = 0.0; var$7.$z = 1.0; var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = $par1EntityDragon.$deathTime; if (var$9 > 0) { $par3 = jl_Math_sqrt((var$9 + $par4 - 1.0) / 20.0 * 1.600000023841858); if ($par3 > 1.0) $par3 = 1.0; $par2 = $par3 * 90.0; $par1EntityDragon = nleg_EaglerAdapterGL30_deevis; $par1EntityDragon.$x = 0.0; $par1EntityDragon.$y = 0.0; $par1EntityDragon.$z = 1.0; $par1EntityDragon = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityDragon, $par1EntityDragon); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityDragon = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityDragon); $par1EntityDragon.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $par1EntityDragon.$sb = var$7; $par1EntityDragon.$buffer0 = $rt_createCharArray(32); $par1EntityDragon.$autoFlush = 0; $par1EntityDragon.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityDragon; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } }, nms_RenderDragon_renderDragonModel = ($this, $par1EntityDragon, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, var$9, $var8, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityDragon = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$8 = $par1EntityDragon.$deathTicks; if (var$8 <= 0) { nms_RenderDragon_$callClinit(); var$9 = nms_RenderDragon_enderDragonTextures; $ptr = 1; continue main; } a: { $var8 = var$8 / 200.0; nleg_EaglerAdapterGL30_$callClinit(); var$11 = 518; switch (515) { case 514: var$11 = 514; break a; case 515: var$11 = 518; break a; case 516: var$11 = 513; break a; default: } } if (var$11 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc(var$11); nleg_EaglerAdapterGL30_currentDepthFunc = var$11; } nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_alphaThresh = $var8; nms_RenderDragon_$callClinit(); var$9 = nms_RenderDragon_enderDragonExplodingTextures; $ptr = 2; continue main; case 1: nle_TextureLocation_bindTexture(var$9); if ($rt_suspending()) { break main; } $this.$mainModel.$render0($par1EntityDragon, $par2, $par3, $par4, $par5, $par6, $par7); if ($par1EntityDragon.$hurtTime > 0) { a: { nleg_EaglerAdapterGL30_$callClinit(); var$8 = 518; switch (514) { case 514: var$8 = 514; break a; case 515: var$8 = 518; break a; case 516: var$8 = 513; break a; default: } } if (var$8 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc(var$8); nleg_EaglerAdapterGL30_currentDepthFunc = var$8; } b: { nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 0.0; nleg_EaglerAdapterGL30_colorB = 0.0; nleg_EaglerAdapterGL30_colorA = 0.5; $this.$mainModel.$render0($par1EntityDragon, $par2, $par3, $par4, $par5, $par6, $par7); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glDisable(3042); var$11 = 518; switch (515) { case 514: var$11 = 514; break b; case 515: var$11 = 518; break b; case 516: var$11 = 513; break b; default: } } if (var$11 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc(var$11); nleg_EaglerAdapterGL30_currentDepthFunc = var$11; } } return; case 2: c: { nle_TextureLocation_bindTexture(var$9); if ($rt_suspending()) { break main; } $this.$mainModel.$render0($par1EntityDragon, $par2, $par3, $par4, $par5, $par6, $par7); nleg_EaglerAdapterGL30_alphaThresh = 0.10000000149011612; var$11 = 518; switch (514) { case 514: var$11 = 514; break c; case 515: var$11 = 518; break c; case 516: var$11 = 513; break c; default: } } if (var$11 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc(var$11); nleg_EaglerAdapterGL30_currentDepthFunc = var$11; } nms_RenderDragon_$callClinit(); var$9 = nms_RenderDragon_enderDragonTextures; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityDragon, $par2, $par3, $par4, $par5, $par6, $par7, var$8, var$9, $var8, var$11, $ptr); }, nms_RenderDragon_renderDragon = ($this, $par1EntityDragon, $par2, $par4, $par6, $par8, $par9) => { let $var17, var$8, var$9, var$10, var$11, $var12, $var21, $var20, var$15, $var11, var$17, var$18, var$19, $var13, $var14, $var15, $var16, $var10, $var18, $var19, $var22, $var23, $var24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var10 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var11 = $thread.pop();var$15 = $thread.pop();$var20 = $thread.pop();$var21 = $thread.pop();$var12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var17 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityDragon = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var17 = $par1EntityDragon.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[134]; if (var$8 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { var$9 = var$8.$value0; var$10 = $var17.$elementData.data; $var17 = var$10[var$9 & (var$10.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == var$9) { var$11 = $var17.$key; if (var$8 !== var$11 && !jl_Integer_equals(var$8, var$11) ? 0 : 1) break; } $var17 = $var17.$next3; } } $var12 = ($var17 === null ? null : $var17.$value1).$watchedObject.$value3; $var17 = nms_SharedMonsterAttributes_maxHealth; if ($par1EntityDragon.$attributeMap === null) $par1EntityDragon.$attributeMap = nms_ServersideAttributeMap__init_(); var$11 = $par1EntityDragon.$attributeMap.$attributes; if ($var17 === null) $var17 = ju_HashMap_findNullKeyEntry(var$11); else { $var21 = nms_BaseAttribute_hashCode($var17); $var17 = ju_HashMap_findNonNullKeyEntry(var$11, $var17, $var21 & (var$11.$elementData.data.length - 1 | 0), $var21); } $var17 = $var17 === null ? null : $var17.$value1; if ($var17.$field_111133_g) { $var17.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var17); $var17.$field_111133_g = 0; } nms_BossStatus_healthScale = $var12 / $var17.$field_111139_h; nms_BossStatus_statusBarLength = 100; $var17 = $par1EntityDragon.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[138]; if (var$8 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { var$9 = jl_Integer_hashCode(var$8.$value0); var$10 = $var17.$elementData.data; $var17 = var$10[var$9 & (var$10.length - 1 | 0)]; while ($var17 !== null && !($var17.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$8, $var17.$key))) { $var17 = $var17.$next3; } } $var17 = $var17 === null ? null : $var17.$value1; if ($var17.$watchedObject.$nativeString.length <= 0 ? 0 : 1) { $var17 = $par1EntityDragon.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[138]; if (var$8 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var20 = jl_Integer_hashCode(var$8.$value0); var$10 = $var17.$elementData.data; $var17 = var$10[$var20 & (var$10.length - 1 | 0)]; while ($var17 !== null && !($var17.$origKeyHash == $var20 && ju_HashMap_areEqualKeys(var$8, $var17.$key))) { $var17 = $var17.$next3; } } $var17 = ($var17 === null ? null : $var17.$value1).$watchedObject; } else { nms_EntityList_$callClinit(); $var17 = nms_EntityList_classToStringMapping; var$11 = $par1EntityDragon.constructor; if (var$11 === null) var$8 = null; else { var$8 = var$11.classObject; if (var$8 === null) { var$8 = new jl_Class; var$8.$platformClass = var$11; var$11.classObject = var$8; } } if (var$8 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { var$11 = var$8; if (!var$11.$id$) var$11.$id$ = $rt_nextId(); var$9 = var$8.$id$; var$10 = $var17.$elementData.data; $var17 = var$10[var$9 & (var$10.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == var$9) { var$11 = $var17.$key; if (var$8 !== var$11 && !jl_Object_equals(var$8, var$11) ? 0 : 1) break; } $var17 = $var17.$next3; } } var$11 = $var17 === null ? null : $var17.$value1; if (var$11 === null) var$11 = $rt_s(400); var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$8, var$8.$length0, jl_String_toString($rt_s(1257))); jl_StringBuilder_insert0(var$8, var$8.$length0, jl_String_toString(var$11)); jl_StringBuilder_insert0(var$8, var$8.$length0, jl_String_toString($rt_s(1258))); var$11 = new jl_String; var$10 = var$8.$buffer; var$15 = var$10.data; $var21 = var$8.$length0; var$9 = var$15.length; if ($var21 >= 0 && $var21 <= (var$9 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$10.data, 0, $var21); nms_StatCollector_$callClinit(); $var17 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$11); } else { $par1EntityDragon = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1EntityDragon); $rt_throw($par1EntityDragon); } } nms_BossStatus_bossName = $var17; nms_BossStatus_field_82825_d = 0; $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, $par1EntityDragon, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, $par1EntityDragon, $par2, $par4, $par6, $par8, $par9); $var17 = $par1EntityDragon.$healingEnderCrystal; if ($var17 === null) return; $par8 = ($var17.$innerRotation + $par9) * 0.20000000298023224; $var11 = nms_MathHelper_SIN_TABLE.data[($par8 * 10430.3779296875 | 0) & 65535] / 2.0 + 0.5; $par8 = ($var11 * $var11 + $var11) * 0.20000000298023224; var$17 = $var17.$posX; var$18 = $par1EntityDragon.$posX; var$17 = var$17 - var$18; var$18 = $par1EntityDragon.$prevPosX - var$18; var$19 = 1.0 - $par9; $var12 = var$17 - var$18 * var$19; var$17 = $par8 + $var17.$posY - 1.0; var$18 = $par1EntityDragon.$posY; $var13 = var$17 - var$18 - ($par1EntityDragon.$prevPosY - var$18) * var$19; var$17 = $var17.$posZ; var$18 = $par1EntityDragon.$posZ; $var14 = var$17 - var$18 - ($par1EntityDragon.$prevPosZ - var$18) * var$19; $par8 = $var12 * $var12; $var11 = $var14 * $var14; $var15 = jl_Math_sqrt($par8 + $var11); var$17 = $par8 + $var13 * $var13 + $var11; $var16 = jl_Math_sqrt(var$17); nleg_EaglerAdapterGL30_glPushMatrix(); $par8 = $par2; $var11 = $par4 + 2.0; $var10 = $par6; $var17 = nleg_EaglerAdapterGL30_deevis; $var17.$x = $par8; $var17.$y = $var11; $var17.$z = $var10; $var17 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var17, $var17); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var17 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_($var17); $var17.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); $var17.$sb = var$11; $var17.$buffer0 = $rt_createCharArray(32); $var17.$autoFlush = 0; $var17.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var17; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var11 = -jl_Math_atan2($var14, $var12) * 180.0 / 3.1415927410125732 - 90.0; $var17 = nleg_EaglerAdapterGL30_deevis; $var17.$x = 0.0; $var17.$y = 1.0; $var17.$z = 0.0; $var17 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var11 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var17, $var17); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var17 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_($var17); $var17.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); $var17.$sb = var$11; $var17.$buffer0 = $rt_createCharArray(32); $var17.$autoFlush = 0; $var17.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var17; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par8 = -jl_Math_atan2($var15, $var13) * 180.0 / 3.1415927410125732 - 90.0; $var17 = nleg_EaglerAdapterGL30_deevis; $var17.$x = 1.0; $var17.$y = 0.0; $var17.$z = 0.0; $var17 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par8 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var17, $var17); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var17 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_($var17); $var17.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); $var17.$sb = var$11; $var17.$buffer0 = $rt_createCharArray(32); $var17.$autoFlush = 0; $var17.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var17; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nlea_Tessellator_$callClinit(); $var17 = nlea_Tessellator_instance; nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_glDisable(2884); nms_RenderDragon_$callClinit(); var$11 = nms_RenderDragon_enderDragonCrystalBeamTextures; $ptr = 2; case 2: nle_TextureLocation_bindTexture(var$11); if ($rt_suspending()) { break main; } $var18 = 0.0 - ($par1EntityDragon.$ticksExisted + $par9) * 0.009999999776482582; $var19 = jl_Math_sqrt(var$17) / 32.0 - ($par1EntityDragon.$ticksExisted + $par9) * 0.009999999776482582; if ($var17.$isDrawing) nlea_Tessellator_draw($var17); $var17.$isDrawing = 1; $var17.$vertexCount = 0; $var17.$rawBufferIndex = 0; $var17.$addedVertices = 0; $var17.$drawMode = 5; $var17.$hasNormals = 0; $var17.$hasColor = 0; $var17.$hasTexture = 0; $var17.$hasBrightness = 0; $var17.$isColorDisabled = 0; $var21 = 0; $var13 = $var19; var$18 = $var16; $var12 = $var18; while ($var21 <= 8) { $par8 = $var21 % 8 | 0; $par9 = $par8 * 3.1415927410125732 * 2.0 / 8.0; var$10 = nms_MathHelper_SIN_TABLE.data; $var14 = $par9 * 10430.3779296875; $var22 = var$10[($var14 | 0) & 65535] * 0.75; $var23 = var$10[($var14 + 16384.0 | 0) & 65535] * 0.75; $var24 = $par8 * 1.0 / 8.0; nlea_Tessellator_setColorRGBA($var17, 0, 0, 0, 255); $par2 = $var22 * 0.20000000298023224; $par4 = $var23 * 0.20000000298023224; var$17 = $var24; $var17.$hasTexture = 1; $par8 = var$17; $var17.$textureU = $par8; $var17.$textureV = $var13; nlea_Tessellator_addVertex($var17, $par2, $par4, 0.0); nlea_Tessellator_setColorRGBA($var17, 255, 255, 255, 255); $par2 = $var22; $par4 = $var23; $var17.$hasTexture = 1; $var17.$textureU = $par8; $var17.$textureV = $var12; nlea_Tessellator_addVertex($var17, $par2, $par4, var$18); $var21 = $var21 + 1 | 0; } nlea_Tessellator_draw($var17); nleg_EaglerAdapterGL30_glEnable(2884); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityDragon, $par2, $par4, $par6, $par8, $par9, $var17, var$8, var$9, var$10, var$11, $var12, $var21, $var20, var$15, $var11, var$17, var$18, var$19, $var13, $var14, $var15, $var16, $var10, $var18, $var19, $var22, $var23, $var24, $ptr); }, nms_RenderDragon_renderDragonDying = ($this, $par1EntityDragon, $par2) => { let $var3, $var4, $var5, $var6$seed, var$7, $var7, var$9, var$10, $var6$seed_0, var$12, var$13, $var8, $var9, var$16, var$17, var$18, var$19; nlea_Tessellator_$callClinit(); $var3 = nlea_Tessellator_instance; if ($par1EntityDragon.$deathTicks > 0) { nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); $var4 = ($par1EntityDragon.$deathTicks + $par2) / 200.0; $var5 = 0.0; if ($var4 > 0.800000011920929) $var5 = ($var4 - 0.800000011920929) / 0.20000000298023224; $var6$seed = Long_fromInt(432); nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 1); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glEnable(2884); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } nleg_EaglerAdapterGL30_glPushMatrix(); $par1EntityDragon = nleg_EaglerAdapterGL30_deevis; $par1EntityDragon.$x = 0.0; $par1EntityDragon.$y = (-1.0); $par1EntityDragon.$z = (-2.0); $par1EntityDragon = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityDragon, $par1EntityDragon); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityDragon = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityDragon); $par1EntityDragon.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $par1EntityDragon.$sb = var$7; $par1EntityDragon.$buffer0 = $rt_createCharArray(32); $par1EntityDragon.$autoFlush = 0; $par1EntityDragon.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityDragon; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var7 = 0; var$9 = ($var4 + $var4 * $var4) / 2.0 * 60.0; var$10 = $var4 * 90.0; while ($var7 < var$9) { $var6$seed_0 = Long_and(Long_add(Long_mul($var6$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2 = Long_lo(Long_shru($var6$seed_0, 24)) / 1.6777216E7 * 360.0; var$12 = nleg_EaglerAdapterGL30_deevis; var$12.$x = 1.0; var$12.$y = 0.0; var$12.$z = 0.0; var$12 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$12, var$12); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$12 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); jl_Object__init_(var$12); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$13, 16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$12; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6$seed_0 = Long_and(Long_add(Long_mul($var6$seed_0, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2 = Long_lo(Long_shru($var6$seed_0, 24)) / 1.6777216E7 * 360.0; var$12 = nleg_EaglerAdapterGL30_deevis; var$12.$x = 0.0; var$12.$y = 1.0; var$12.$z = 0.0; var$12 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$12, var$12); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$12 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); jl_Object__init_(var$12); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$13, 16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$12; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6$seed_0 = Long_and(Long_add(Long_mul($var6$seed_0, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2 = Long_lo(Long_shru($var6$seed_0, 24)) / 1.6777216E7 * 360.0; var$12 = nleg_EaglerAdapterGL30_deevis; var$12.$x = 0.0; var$12.$y = 0.0; var$12.$z = 1.0; var$12 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$12, var$12); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$13 = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); jl_Object__init_(var$13); var$13.$out0 = var$12; var$12 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$12, 16); var$13.$sb = var$12; var$13.$buffer0 = $rt_createCharArray(32); var$13.$autoFlush = 0; var$13.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$13; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6$seed_0 = Long_and(Long_add(Long_mul($var6$seed_0, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4 = Long_lo(Long_shru($var6$seed_0, 24)) / 1.6777216E7 * 360.0; var$12 = nleg_EaglerAdapterGL30_deevis; var$12.$x = 1.0; var$12.$y = 0.0; var$12.$z = 0.0; var$12 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var4 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$12, var$12); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$12 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); jl_Object__init_(var$12); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$13, 16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$12; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6$seed = Long_and(Long_add(Long_mul($var6$seed_0, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4 = Long_lo(Long_shru($var6$seed, 24)) / 1.6777216E7 * 360.0; var$12 = nleg_EaglerAdapterGL30_deevis; var$12.$x = 0.0; var$12.$y = 1.0; var$12.$z = 0.0; var$12 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var4 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$12, var$12); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$12 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); jl_Object__init_(var$12); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$13, 16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$12; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6$seed = Long_and(Long_add(Long_mul($var6$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4 = Long_lo(Long_shru($var6$seed, 24)) / 1.6777216E7 * 360.0 + var$10; var$12 = nleg_EaglerAdapterGL30_deevis; var$12.$x = 0.0; var$12.$y = 0.0; var$12.$z = 1.0; var$12 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var4 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$12, var$12); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$12 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); jl_Object__init_(var$12); var$12.$out0 = var$13; var$13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$13, 16); var$12.$sb = var$13; var$12.$buffer0 = $rt_createCharArray(32); var$12.$autoFlush = 0; var$12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$12; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($var3.$isDrawing) nlea_Tessellator_draw($var3); $var3.$isDrawing = 1; $var3.$vertexCount = 0; $var3.$rawBufferIndex = 0; $var3.$addedVertices = 0; $var3.$drawMode = 6; $var3.$hasNormals = 0; $var3.$hasColor = 0; $var3.$hasTexture = 0; $var3.$hasBrightness = 0; $var3.$isColorDisabled = 0; $var6$seed_0 = Long_and(Long_add(Long_mul($var6$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8 = Long_lo(Long_shru($var6$seed_0, 24)) / 1.6777216E7 * 20.0 + 5.0 + $var5 * 10.0; $var6$seed = Long_and(Long_add(Long_mul($var6$seed_0, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9 = Long_lo(Long_shru($var6$seed, 24)) / 1.6777216E7 * 2.0 + 1.0 + $var5 * 2.0; nlea_Tessellator_setColorRGBA($var3, 255, 255, 255, 255.0 * (1.0 - $var5) | 0); nlea_Tessellator_addVertex($var3, 0.0, 0.0, 0.0); nlea_Tessellator_setColorRGBA($var3, 255, 0, 255, 0); var$16 = $var9; var$17 = (-0.866) * var$16; var$18 = $var8; var$19 = (-0.5) * $var9; nlea_Tessellator_addVertex($var3, var$17, var$18, var$19); nlea_Tessellator_addVertex($var3, 0.866 * var$16, var$18, var$19); nlea_Tessellator_addVertex($var3, 0.0, var$18, 1.0 * $var9); nlea_Tessellator_addVertex($var3, var$17, var$18, var$19); nlea_Tessellator_draw($var3); $var7 = $var7 + 1 | 0; } nleg_EaglerAdapterGL30_glPopMatrix(); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glDisable(2884); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); } }, nms_RenderDragon_renderGlow = ($this, $par1EntityDragon, $par2, $par3) => { let var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityDragon = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par2 == 1) { a: { nleg_EaglerAdapterGL30_$callClinit(); var$4 = 518; switch (515) { case 514: var$4 = 514; break a; case 515: var$4 = 518; break a; case 516: var$4 = 513; break a; default: } } if (var$4 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc(var$4); nleg_EaglerAdapterGL30_currentDepthFunc = var$4; } } if ($par2) return (-1); nms_RenderDragon_$callClinit(); $par1EntityDragon = nms_RenderDragon_enderDragonEyesTextures; $ptr = 1; case 1: b: { nle_TextureLocation_bindTexture($par1EntityDragon); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glBlendFunc(1, 1); nleg_EaglerAdapterGL30_glDisable(2896); var$5 = 518; switch (514) { case 514: var$5 = 514; break b; case 515: var$5 = 518; break b; case 516: var$5 = 513; break b; default: } } if (var$5 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc(var$5); nleg_EaglerAdapterGL30_currentDepthFunc = var$5; } c: { switch (nms_OpenGlHelper_lightmapTexUnit) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = 61680.0; nleg_EaglerAdapterGL30_tex1Y = 0.0; break c; default: if (jl_System_errCache === null) { $par1EntityDragon = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; jl_Object__init_(var$6); var$6.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityDragon); $par1EntityDragon.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$6); $par1EntityDragon.$sb = var$6; $par1EntityDragon.$buffer0 = $rt_createCharArray(32); $par1EntityDragon.$autoFlush = 0; $par1EntityDragon.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityDragon; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break c; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = 61680.0; nleg_EaglerAdapterGL30_tex0Y = 0.0; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityDragon, $par2, $par3, var$4, var$5, var$6, $ptr); }, nms_RenderDragon_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving; $ptr = 1; case 1: nms_RenderDragon_renderDragon($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderDragon_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: $tmp = nms_RenderDragon_renderGlow($this, $par1EntityLivingBase, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $ptr); }, nms_RenderDragon_renderEquippedItems = ($this, $par1EntityLivingBase, $par2) => { nms_RenderDragon_renderDragonDying($this, $par1EntityLivingBase, $par2); }, nms_RenderDragon_rotateCorpse = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { nms_RenderDragon_rotateDragonBody($this, $par1EntityLivingBase, $par2, $par3, $par4); }, nms_RenderDragon_renderModel = ($this, $par1EntityLivingBase, $par2, $par3, $par4, $par5, $par6, $par7) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: nms_RenderDragon_renderDragonModel($this, $par1EntityLivingBase, $par2, $par3, $par4, $par5, $par6, $par7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $par4, $par5, $par6, $par7, $ptr); }, nms_RenderDragon_bindTexture = ($this, $par1EntityLiving) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderDragon_$callClinit(); $par1EntityLiving = nms_RenderDragon_enderDragonTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $ptr); }, nms_RenderDragon_getEntityTexture = ($this, $par1Entity) => { nms_RenderDragon_$callClinit(); return nms_RenderDragon_enderDragonTextures; }, nms_RenderDragon_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderDragon_renderDragon($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderDragon__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2043); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderDragon_enderDragonExplodingTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2044); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderDragon_enderDragonCrystalBeamTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2045); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderDragon_enderDragonEyesTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2046); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderDragon_enderDragonTextures = var$1; }; function nms_EntityEnderCrystal() { let a = this; nms_Entity.call(a); a.$innerRotation = 0; a.$health0 = 0; } let nms_EntityEnderCrystal_canTriggerWalking = $this => { return 0; }, nms_EntityEnderCrystal_entityInit = $this => { let var$1, var$2, var$3; var$1 = $this.$dataWatcher; var$2 = $this.$health0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } nms_DataWatcher_addObject(var$1, 8, var$3); }, nms_EntityEnderCrystal_onUpdate = $this => { let var$1, $var2, var$3, var$4, var$5, $var1, var$7, var$8, var$9, $var3, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var3 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var1 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; $this.$innerRotation = $this.$innerRotation + 1 | 0; var$1 = $this.$dataWatcher; $var2 = $this.$health0; if ($var2 >= (-128) && $var2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$var2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $var2; } var$4 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[136]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { $var1 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[$var1 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var1) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = var$8.$watchedObject; if (!(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$3.$value0 ? 1 : 0)) { var$8.$watchedObject = var$3; var$8.$watched = 1; var$1.$objectChanged = 1; } var$9 = $this.$posX; $var1 = var$9 | 0; if (var$9 < $var1) $var1 = $var1 - 1 | 0; var$9 = $this.$posY; $var2 = var$9 | 0; if (var$9 < $var2) $var2 = $var2 - 1 | 0; var$9 = $this.$posZ; $var3 = var$9 | 0; if (var$9 < $var3) $var3 = $var3 - 1 | 0; var$11 = nms_World_getBlockId($this.$worldObj, $var1, $var2, $var3); nms_Block_$callClinit(); var$12 = nms_Block_fire.$blockID; if (var$11 == var$12) return; var$1 = $this.$worldObj; var$11 = 0; var$13 = 3; $ptr = 1; case 1: nms_World_setBlock(var$1, $var1, $var2, $var3, var$12, var$11, var$13); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var2, var$3, var$4, var$5, $var1, var$7, var$8, var$9, $var3, var$11, var$12, var$13, $ptr); }, nms_EntityEnderCrystal_writeEntityToNBT = ($this, $par1NBTTagCompound) => { return; }, nms_EntityEnderCrystal_readEntityFromNBT = ($this, $par1NBTTagCompound) => { return; }, nms_EntityEnderCrystal_getShadowSize = $this => { return 0.0; }, nms_EntityEnderCrystal_canBeCollidedWith = $this => { return 1; }, nms_EntityEnderCrystal_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; if (!$this.$isDead) { $par1DamageSource = $this.$worldObj; var$3 = $par1DamageSource.$isRemote; if (!var$3) { $this.$health0 = 0; $this.$isDead = 1; if (!var$3) { var$4 = null; var$5 = $this.$posX; var$6 = $this.$posY; var$7 = $this.$posZ; var$8 = new nms_Explosion; var$8.$isSmoking = 1; var$8.$field_77289_h = 16; var$9 = new nle_EaglercraftRandom; var$10 = Long_fromNumber(performance.now() * 1000000.0); var$9.$seed = Long_fromInt(69); var$9.$haveNextNextGaussian = 0; var$9.$seed = var$10; var$8.$explosionRNG = var$9; var$11 = new ju_ArrayList; var$11.$array = $rt_createArray(jl_Object, 10); var$8.$affectedBlockPositions = var$11; var$11 = new ju_HashMap; var$12 = ju_HashMap_calculateCapacity(16); var$11.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, var$12); var$14 = var$13.data; var$11.$elementData = var$13; var$11.$loadFactor = 0.75; var$11.$threshold = var$14.length * 0.75 | 0; var$8.$field_77288_k = var$11; var$8.$worldObj1 = $par1DamageSource; var$8.$exploder = var$4; var$8.$explosionSize = 6.0; var$8.$explosionX = var$5; var$8.$explosionY = var$6; var$8.$explosionZ = var$7; var$8.$isFlaming = 0; var$8.$isSmoking = 1; $ptr = 1; continue main; } } } return 1; case 1: nms_Explosion_doExplosionA(var$8); if ($rt_suspending()) { break main; } var$12 = 1; $ptr = 2; case 2: nms_Explosion_doExplosionB(var$8, var$12); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }; function nms_RenderEnderCrystal() { nms_Render.call(this); this.$field_76995_b = null; } let nms_RenderEnderCrystal_enderCrystalTextures = null, nms_RenderEnderCrystal_$callClinit = () => { nms_RenderEnderCrystal_$callClinit = $rt_eraseClinit(nms_RenderEnderCrystal); nms_RenderEnderCrystal__clinit_(); }, nms_RenderEnderCrystal__init_ = $this => { let var$1; nms_RenderEnderCrystal_$callClinit(); nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; $this.$shadowSize = 0.5; $this.$field_76995_b = nms_ModelEnderCrystal__init_(0.0, 1); }, nms_RenderEnderCrystal__init_0 = () => { let var_0 = new nms_RenderEnderCrystal(); nms_RenderEnderCrystal__init_(var_0); return var_0; }, nms_RenderEnderCrystal_doRenderEnderCrystal = ($this, $par1EntityEnderCrystal, $par2, $par4, $par6, $par8, $par9) => { let $var10, $var11, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityEnderCrystal = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = $par1EntityEnderCrystal.$innerRotation + $par9; nleg_EaglerAdapterGL30_glPushMatrix(); $par8 = $par2; $par9 = $par4; $var11 = $par6; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $par8; var$9.$y = $par9; var$9.$z = $var11; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_RenderEnderCrystal_$callClinit(); var$9 = nms_RenderEnderCrystal_enderCrystalTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$9); if ($rt_suspending()) { break main; } $par8 = $var10 * 0.20000000298023224; $var11 = nms_MathHelper_SIN_TABLE.data[($par8 * 10430.3779296875 | 0) & 65535] / 2.0 + 0.5; $par9 = $var11 + $var11 * $var11; nms_ModelEnderCrystal_render($this.$field_76995_b, $par1EntityEnderCrystal, 0.0, $var10 * 3.0, $par9 * 0.20000000298023224, 0.0, 0.0, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityEnderCrystal, $par2, $par4, $par6, $par8, $par9, $var10, $var11, var$9, var$10, $ptr); }, nms_RenderEnderCrystal_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderEnderCrystal_doRenderEnderCrystal($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderEnderCrystal__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2047); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderEnderCrystal_enderCrystalTextures = var$1; }; function nms_EntityWither() { let a = this; nms_EntityMob.call(a); a.$field_82220_d = null; a.$field_82221_e = null; a.$field_82217_f = null; a.$field_82218_g = null; a.$field_82223_h = null; a.$field_82224_i = null; a.$field_82222_j = 0; } let nms_EntityWither_attackEntitySelector = null, nms_EntityWither__init_ = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; $this.$experienceValue = 5; $this.$field_82220_d = $rt_createFloatArray(2); $this.$field_82221_e = $rt_createFloatArray(2); $this.$field_82217_f = $rt_createFloatArray(2); $this.$field_82218_g = $rt_createFloatArray(2); $this.$field_82223_h = $rt_createIntArray(2); $this.$field_82224_i = $rt_createIntArray(2); $par1World = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if ($par1World === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = $par1World.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$5 && ju_HashMap_areEqualKeys($par1World, var$2.$key))) { var$2 = var$2.$next3; } } $par1World = var$2 === null ? null : var$2.$value1; if ($par1World.$field_111133_g) { $par1World.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($par1World); $par1World.$field_111133_g = 0; } var$7 = $par1World.$field_111139_h; $par1World = $this.$dataWatcher; var$8 = 0.0; var$2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) var$2 = ju_HashMap_findNullKeyEntry(var$3); else { var$9 = nms_BaseAttribute_hashCode(var$2); var$2 = ju_HashMap_findNonNullKeyEntry(var$3, var$2, var$9 & (var$3.$elementData.data.length - 1 | 0), var$9); } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$field_111133_g) { var$2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$2); var$2.$field_111133_g = 0; } var$10 = var$2.$field_111139_h; if (var$7 >= var$8) var$8 = var$7 <= var$10 ? var$7 : var$10; var$11 = new jl_Float; var$11.$value3 = var$8; var$2 = $par1World.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[134]; if (var$12 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$5 = var$12.$value0; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$12 !== var$3 && !(var$12 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; var$2 = var$3.$watchedObject; if (var$11 === var$2) var$4 = 1; else b: { if (var$2 instanceof jl_Float) { var$8 = var$11.$value3; var$10 = var$2.$value3; if (var$8 !== var$8 ? (var$10 === var$10 ? 0 : 1) : $rt_floatToRawIntBits(var$8) != $rt_floatToRawIntBits(var$10) ? 0 : 1) { var$4 = 1; break b; } } var$4 = 0; } if (!var$4) { var$3.$watchedObject = var$11; var$3.$watched = 1; $par1World.$objectChanged = 1; } var$10 = 0.8999999761581421; var$8 = 4.0; $ptr = 1; case 1: nms_Entity_setSize($this, var$10, var$8); if ($rt_suspending()) { break main; } $this.$isImmuneToFire = 1; var$3 = $this.$navigator; var$3.$canSwim = 1; $par1World = $this.$tasks0; var$2 = new nms_EntityAISwimming; var$2.$theEntity2 = $this; var$2.$mutexBits = 4; var$3.$canSwim = 1; var$11 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 0; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$9 = var$11.$size0; var$11.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$11.$modCount = var$11.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIArrowAttack; var$2.$rangedAttackTime = (-1); if (!($this instanceof nms_EntityLivingBase)) { $par1World = new jl_IllegalArgumentException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $par1World.$message = $rt_s(1947); $rt_throw($par1World); } var$2.$rangedAttackEntityHost = $this; var$2.$entityHost = $this; var$2.$entityMoveSpeed = 1.0; var$2.$field_96561_g = 40; var$2.$maxRangedAttackTime = 40; var$2.$field_96562_i = 20.0; var$2.$field_82642_h = 400.0; var$2.$mutexBits = 3; var$11 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 2; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$9 = var$11.$size0; var$11.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$11.$modCount = var$11.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIWander; var$2.$entity = $this; var$2.$speed = 1.0; var$2.$mutexBits = 1; var$11 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 5; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$9 = var$11.$size0; var$11.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$11.$modCount = var$11.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAIWatchClosest; var$2.$theWatcher = $this; var$2.$watchedClass = $rt_cls(nms_EntityPlayer); var$2.$maxDistanceForPlayer = 8.0; var$2.$field_75331_e = 0.019999999552965164; var$2.$mutexBits = 2; var$11 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 6; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$9 = var$11.$size0; var$11.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$11.$modCount = var$11.$modCount + 1 | 0; $par1World = $this.$tasks0; var$2 = new nms_EntityAILookIdle; var$2.$idleEntity = $this; var$2.$mutexBits = 3; var$11 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 7; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$9 = var$11.$size0; var$11.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$11.$modCount = var$11.$modCount + 1 | 0; $par1World = $this.$targetTasks; var$2 = new nms_EntityAIHurtByTarget; var$2.$taskOwner = $this; var$2.$shouldCheckSight = 0; var$2.$nearbyOnly = 0; var$2.$entityCallsForHelp = 0; var$2.$mutexBits = 1; var$11 = $par1World.$taskEntries; var$3 = new nms_EntityAITaskEntry; var$3.$tasks = $par1World; var$3.$priority = 1; var$3.$action = var$2; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$9 = var$11.$size0; var$11.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$11.$modCount = var$11.$modCount + 1 | 0; var$2 = $this.$targetTasks; var$3 = new nms_EntityAINearestAttackableTarget; $par1World = nms_EntityWither_attackEntitySelector; var$3.$taskOwner = $this; var$3.$shouldCheckSight = 0; var$3.$nearbyOnly = 0; var$3.$targetClass = $rt_cls(nms_EntityLiving); var$3.$targetChance = 0; var$11 = new nms_EntityAINearestAttackableTargetSorter; var$11.$theEntity5 = $this; var$3.$theNearestAttackableTargetSorter = var$11; var$3.$mutexBits = 1; var$11 = new nms_EntityAINearestAttackableTargetSelector; var$11.$field_111102_d = var$3; var$11.$field_111103_c = $par1World; var$3.$targetEntitySelector = var$11; var$11 = var$2.$taskEntries; $par1World = new nms_EntityAITaskEntry; $par1World.$tasks = var$2; $par1World.$priority = 2; $par1World.$action = var$3; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$9 = var$11.$size0; var$11.$size0 = var$9 + 1 | 0; var$6[var$9] = $par1World; var$11.$modCount = var$11.$modCount + 1 | 0; $this.$experienceValue = 50; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_EntityWither__init_0 = var_0 => { let var_1 = new nms_EntityWither(); nms_EntityWither__init_(var_1, var_0); return var_1; }, nms_EntityWither_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); var$2 = $this.$dataWatcher; var$1 = new jl_Integer; var$1.$value0 = 0; nms_DataWatcher_addObject(var$2, 17, var$1); var$1 = $this.$dataWatcher; var$2 = new jl_Integer; var$2.$value0 = 0; nms_DataWatcher_addObject(var$1, 18, var$2); var$1 = $this.$dataWatcher; var$2 = new jl_Integer; var$2.$value0 = 0; nms_DataWatcher_addObject(var$1, 19, var$2); var$1 = $this.$dataWatcher; var$2 = new jl_Integer; var$2.$value0 = 0; nms_DataWatcher_addObject(var$1, 20, var$2); }, nms_EntityWither_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[148]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; var$2 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagInt; $par1NBTTagCompound.$name = $rt_s(2048); $par1NBTTagCompound.$data0 = var$7; ju_HashMap_putImpl(var$2, $rt_s(2048), $par1NBTTagCompound); }, nms_EntityWither_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; a: { nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2048).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2048).$nativeString.length) break a; $rt_s(2048).$hashCode1 = (31 * $rt_s(2048).$hashCode1 | 0) + $rt_s(2048).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2048).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(2048) !== var$6) { if ($rt_s(2048) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2048).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2048) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { c: { if (!$rt_s(2048).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2048).$nativeString.length) break c; $rt_s(2048).$hashCode1 = (31 * $rt_s(2048).$hashCode1 | 0) + $rt_s(2048).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2048).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$4) { d: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(2048) !== var$2) { if ($rt_s(2048) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(2048).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data0; } $par1NBTTagCompound = $this.$dataWatcher; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$7 = new jl_Integer; var$7.$value0 = var$3; } var$2 = $par1NBTTagCompound.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[148]; if (var$8 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$8.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$8 !== var$6 && !(var$8 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$7 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$7.$value0 ? 1 : 0)) { var$6.$watchedObject = var$7; var$6.$watched = 1; $par1NBTTagCompound.$objectChanged = 1; } }, nms_EntityWither_getShadowSize = $this => { return $this.$height2 / 8.0; }, nms_EntityWither_getLivingSound = $this => { return $rt_s(2049); }, nms_EntityWither_getHurtSound = $this => { return $rt_s(2050); }, nms_EntityWither_getDeathSound = $this => { return $rt_s(2051); }, nms_EntityWither_onLivingUpdate = $this => { let $var3, $var1, $var20, var$4, var$5, var$6, var$7, $var21, var$9, var$10, $var23, $var2, $var4, $var6, $var8, $var7, $var22, var$18, $var19, var$20, $var18, $var10, $var12, $var14, $var16, var$26, var$27, $var5, var$29, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$29 = $thread.pop();$var5 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var18 = $thread.pop();var$20 = $thread.pop();$var19 = $thread.pop();var$18 = $thread.pop();$var22 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var23 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var21 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var20 = $thread.pop();$var1 = $thread.pop();$var3 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$motionY = $this.$motionY * 0.6000000238418579; if (!$this.$worldObj.$isRemote) { $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var1 = jl_Integer_integerCache.data[145]; if ($var1 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var20 = $var1.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[$var20 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var20) { var$5 = $var3.$key; if ($var1 !== var$5 && !($var1 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var20 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } if (($var3 === null ? null : $var3.$value1).$watchedObject.$value0 > 0) { $var3 = $this.$worldObj; $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[145]; if (var$6 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$7 = var$6.$value0; var$4 = $var1.$elementData.data; $var1 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$7) { var$5 = $var1.$key; if (var$6 !== var$5 && !(var$6 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $var1 = $var1.$next3; } } $var21 = ($var1 === null ? null : $var1.$value1).$watchedObject.$value0; $var1 = $var3.$mc2.$thePlayer; if ($var21 != $var1.$entityId) { $var3 = $var3.$entityHashSet; $var20 = $var21 ^ ($var21 >>> 20 | 0) ^ ($var21 >>> 12 | 0); var$9 = $var20 ^ ($var20 >>> 7 | 0) ^ ($var20 >>> 4 | 0); var$4 = $var3.$slots.data; $var3 = var$4[var$9 & (var$4.length - 1 | 0)]; a: { while ($var3 !== null) { if ($var3.$hashEntry == $var21) { $var3 = $var3.$valueEntry; break a; } $var3 = $var3.$nextEntry; } $var3 = null; } $var1 = $var3; } if ($var1 !== null) { b: { if ($this.$posY >= $var1.$posY) { $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[134]; if (var$6 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$7 = var$6.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$7) { var$5 = $var3.$key; if (var$6 !== var$5 && !jl_Integer_equals(var$6, var$5) ? 0 : 1) break; } $var3 = $var3.$next3; } } var$10 = ($var3 === null ? null : $var3.$value1).$watchedObject.$value3; $var3 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$5 = $this.$attributeMap.$attributes; if ($var3 === null) $var3 = ju_HashMap_findNullKeyEntry(var$5); else { $var21 = nms_BaseAttribute_hashCode($var3); $var3 = ju_HashMap_findNonNullKeyEntry(var$5, $var3, $var21 & (var$5.$elementData.data.length - 1 | 0), $var21); } $var3 = $var3 === null ? null : $var3.$value1; if ($var3.$field_111133_g) { $var3.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var3); $var3.$field_111133_g = 0; } if (var$10 > $var3.$field_111139_h / 2.0 ? 0 : 1) break b; if ($this.$posY >= $var1.$posY + 5.0) break b; } if ($this.$motionY < 0.0) $this.$motionY = 0.0; $var23 = $this.$motionY; $this.$motionY = $var23 + (0.5 - $var23) * 0.6000000238418579; } $var2 = $var1.$posX - $this.$posX; $var4 = $var1.$posZ - $this.$posZ; $var6 = $var2 * $var2 + $var4 * $var4; if ($var6 > 9.0) { $var8 = jl_Math_sqrt($var6); $var23 = $this.$motionX; $this.$motionX = $var23 + ($var2 / $var8 * 0.5 - $var23) * 0.6000000238418579; $var23 = $this.$motionZ; $this.$motionZ = $var23 + ($var4 / $var8 * 0.5 - $var23) * 0.6000000238418579; } } } } $var23 = $this.$motionX; $var7 = $var23 * $var23; $var4 = $this.$motionZ; if ($var7 + $var4 * $var4 > 0.05000000074505806) $this.$rotationYaw = jl_Math_atan2($var4, $var23) * 57.2957763671875 - 90.0; nms_EntityLivingBase_updateArmSwingProgress($this); if (nms_Entity_getBrightness($this, 1.0) > 0.5) $this.$entityAge = $this.$entityAge + 2 | 0; $ptr = 1; case 1: nms_EntityLiving_onLivingUpdate($this); if ($rt_suspending()) { break main; } $var20 = 0; while ($var20 < 2) { $this.$field_82218_g.data[$var20] = $this.$field_82221_e.data[$var20]; $this.$field_82217_f.data[$var20] = $this.$field_82220_d.data[$var20]; $var20 = $var20 + 1 | 0; } $var20 = 0; while ($var20 < 2) { $var21 = $var20 + 1 | 0; $var3 = $this.$dataWatcher; var$7 = 17 + $var21 | 0; $var3 = $var3.$watchedObjects; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); $var1 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { $var1 = new jl_Integer; $var1.$value0 = var$7; } if ($var1 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var22 = $var1.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[$var22 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var22) { var$5 = $var3.$key; if ($var1 !== var$5 && !($var1 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var22 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } var$18 = ($var3 === null ? null : $var3.$value1).$watchedObject.$value0; $var3 = null; if (var$18 > 0) { $var1 = $this.$worldObj; $var3 = $var1.$mc2.$thePlayer; if (var$18 != $var3.$entityId) { $var3 = $var1.$entityHashSet; var$7 = var$18 ^ (var$18 >>> 20 | 0) ^ (var$18 >>> 12 | 0); $var22 = var$7 ^ (var$7 >>> 7 | 0) ^ (var$7 >>> 4 | 0); var$4 = $var3.$slots.data; $var3 = var$4[$var22 & (var$4.length - 1 | 0)]; c: { while ($var3 !== null) { if ($var3.$hashEntry == var$18) { $var3 = $var3.$valueEntry; break c; } $var3 = $var3.$nextEntry; } $var3 = null; } $var3 = $var3; } } if ($var3 === null) { var$4 = $this.$field_82221_e.data; $var19 = var$4[$var20]; var$20 = $this.$renderYawOffset; $var18 = 10.0; var$20 = (var$20 - $var19) % 360.0; if (var$20 >= 180.0) var$20 = var$20 - 360.0; if (var$20 < (-180.0)) var$20 = var$20 + 360.0; if (var$20 <= $var18) $var18 = var$20; if ($var18 < (-10.0)) $var18 = (-10.0); var$4[$var20] = $var19 + $var18; } else { if ($var21 <= 0) $var4 = $this.$posX; else { $var18 = ($this.$renderYawOffset + (180 * ($var21 - 1 | 0) | 0)) / 180.0 * 3.1415927410125732; $var18 = nms_MathHelper_SIN_TABLE.data[($var18 * 10430.3779296875 + 16384.0 | 0) & 65535]; $var4 = $this.$posX + $var18 * 1.3; } $var6 = $var21 > 0 ? $this.$posY + 2.2 : $this.$posY + 3.0; if ($var21 <= 0) $var8 = $this.$posZ; else { $var18 = ($this.$renderYawOffset + (180 * ($var21 - 1 | 0) | 0)) / 180.0 * 3.1415927410125732; $var18 = nms_MathHelper_SIN_TABLE.data[($var18 * 10430.3779296875 | 0) & 65535]; $var8 = $this.$posZ + $var18 * 1.3; } $var10 = $var3.$posX - $var4; $var12 = $var3.$posY + $var3.$getEyeHeight() - $var6; $var14 = $var3.$posZ - $var8; $var16 = jl_Math_sqrt($var10 * $var10 + $var14 * $var14); $var18 = jl_Math_atan2($var14, $var10) * 180.0 / 3.141592653589793 - 90.0; $var19 = -(jl_Math_atan2($var12, $var16) * 180.0 / 3.141592653589793); var$4 = $this.$field_82220_d.data; var$20 = var$4[$var20]; var$26 = 40.0; $var19 = ($var19 - var$20) % 360.0; if ($var19 >= 180.0) $var19 = $var19 - 360.0; if ($var19 < (-180.0)) $var19 = $var19 + 360.0; if ($var19 <= var$26) var$26 = $var19; if (var$26 < (-40.0)) var$26 = (-40.0); var$4[$var20] = var$20 + var$26; var$4 = $this.$field_82221_e.data; $var19 = var$4[$var20]; var$20 = 10.0; $var18 = ($var18 - $var19) % 360.0; if ($var18 >= 180.0) $var18 = $var18 - 360.0; if ($var18 < (-180.0)) $var18 = $var18 + 360.0; if ($var18 <= var$20) var$20 = $var18; if (var$20 < (-10.0)) var$20 = (-10.0); var$4[$var20] = $var19 + var$20; } $var20 = $var21; } $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var1 = jl_Integer_integerCache.data[134]; if ($var1 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var20 = $var1.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[$var20 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var20) { var$5 = $var3.$key; if ($var1 !== var$5 && !jl_Integer_equals($var1, var$5) ? 0 : 1) break; } $var3 = $var3.$next3; } } var$10 = ($var3 === null ? null : $var3.$value1).$watchedObject.$value3; $var3 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var1 = $this.$attributeMap.$attributes; if ($var3 === null) $var3 = ju_HashMap_findNullKeyEntry($var1); else { $var21 = nms_BaseAttribute_hashCode($var3); $var3 = ju_HashMap_findNonNullKeyEntry($var1, $var3, $var21 & ($var1.$elementData.data.length - 1 | 0), $var21); } $var3 = $var3 === null ? null : $var3.$value1; if ($var3.$field_111133_g) { $var3.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var3); $var3.$field_111133_g = 0; } $var22 = var$10 > $var3.$field_111139_h / 2.0 ? 0 : 1; $var21 = 0; var$7 = 17; var$27 = Long_fromInt(4); while (true) { if ($var21 >= 3) { $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var1 = jl_Integer_integerCache.data[148]; if ($var1 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var20 = $var1.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[$var20 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var20) { var$5 = $var3.$key; if ($var1 !== var$5 && !($var1 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var20 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; d: { if ($var3.$watchedObject.$value0 > 0) { $var20 = 0; var$9 = 24; while (true) { if ($var20 >= 3) break d; $var3 = $this.$worldObj; $var1 = $rt_s(1284); $var7 = $this.$posX + nle_EaglercraftRandom_nextGaussian($this.$rand) * 1.0; $var23 = $this.$posY; var$5 = $this.$rand; var$27 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$27; $var4 = $var23 + Long_lo(Long_shru(var$27, var$9)) / 1.6777216E7 * 3.299999952316284; $var8 = $this.$posZ + nle_EaglercraftRandom_nextGaussian(var$5) * 1.0; $var10 = 0.699999988079071; $var12 = 0.699999988079071; $var23 = 0.8999999761581421; $var21 = 0; var$5 = $var3.$worldAccesses; var$7 = $rt_compare($var21, var$5.$size0); if (var$7 < 0) { if ($var21 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[$var21]; $ptr = 3; continue main; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var20 = $var20 + 1 | 0; } } } return; } if ($var21 <= 0) $var23 = $this.$posX; else { $var18 = ($this.$renderYawOffset + (180 * ($var21 - 1 | 0) | 0)) / 180.0 * 3.1415927410125732; $var18 = nms_MathHelper_SIN_TABLE.data[($var18 * 10430.3779296875 + 16384.0 | 0) & 65535]; $var23 = $this.$posX + $var18 * 1.3; } $var5 = $var21 > 0 ? $this.$posY + 2.2 : $this.$posY + 3.0; if ($var21 <= 0) $var7 = $this.$posZ; else { $var18 = ($this.$renderYawOffset + (180 * ($var21 - 1 | 0) | 0)) / 180.0 * 3.1415927410125732; $var18 = nms_MathHelper_SIN_TABLE.data[($var18 * 10430.3779296875 | 0) & 65535]; $var7 = $this.$posZ + $var18 * 1.3; } $var1 = $this.$worldObj; var$5 = $rt_s(1479); $var4 = $var23 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var8 = $var5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var10 = $var7 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var12 = 0.0; $var14 = 0.0; $var16 = 0.0; $var20 = 0; $var3 = $var1.$worldAccesses; var$9 = $rt_compare($var20, $var3.$size0); if (var$9 < 0) break; if ($var22) { $var3 = $this.$worldObj; $var1 = $var3.$rand0; var$29 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$29; if (!Long_lo(Long_shr(Long_mul(var$27, Long_fromInt(Long_lo(Long_shru(var$29, var$7)))), 31))) { $var1 = $rt_s(1284); $var23 = $var23 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var4 = $var5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var7 = $var7 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var8 = 0.699999988079071; $var10 = 0.699999988079071; $var12 = 0.5; $var20 = 0; var$5 = $var3.$worldAccesses; var$9 = $rt_compare($var20, var$5.$size0); if (var$9 < 0) { if ($var20 >= 0 && var$9 < 0) { var$5 = var$5.$array.data[$var20]; $ptr = 4; continue main; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } } } $var21 = $var21 + 1 | 0; } if ($var20 >= 0 && var$9 < 0) { $var3 = $var3.$array.data[$var20]; $ptr = 2; continue main; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); case 2: nms_RenderGlobal_doSpawnParticle($var3, var$5, $var4, $var8, $var10, $var12, $var14, $var16); if ($rt_suspending()) { break main; } $var20 = $var20 + 1 | 0; while (true) { $var3 = $var1.$worldAccesses; var$9 = $rt_compare($var20, $var3.$size0); if (var$9 < 0) break; if ($var22) { $var3 = $this.$worldObj; $var1 = $var3.$rand0; var$29 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$29; if (!Long_lo(Long_shr(Long_mul(var$27, Long_fromInt(Long_lo(Long_shru(var$29, var$7)))), 31))) { $var1 = $rt_s(1284); $var23 = $var23 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var4 = $var5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var7 = $var7 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var8 = 0.699999988079071; $var10 = 0.699999988079071; $var12 = 0.5; $var20 = 0; var$5 = $var3.$worldAccesses; var$9 = $rt_compare($var20, var$5.$size0); if (var$9 < 0) { if ($var20 >= 0 && var$9 < 0) { var$5 = var$5.$array.data[$var20]; $ptr = 4; continue main; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } } } $var21 = $var21 + 1 | 0; if ($var21 >= 3) { $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var1 = jl_Integer_integerCache.data[148]; if ($var1 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var20 = $var1.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[$var20 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var20) { var$5 = $var3.$key; if ($var1 !== var$5 && !($var1 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var20 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; e: { if ($var3.$watchedObject.$value0 > 0) { $var20 = 0; var$9 = 24; while (true) { if ($var20 >= 3) break e; $var3 = $this.$worldObj; $var1 = $rt_s(1284); $var7 = $this.$posX + nle_EaglercraftRandom_nextGaussian($this.$rand) * 1.0; $var23 = $this.$posY; var$5 = $this.$rand; var$27 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$27; $var4 = $var23 + Long_lo(Long_shru(var$27, var$9)) / 1.6777216E7 * 3.299999952316284; $var8 = $this.$posZ + nle_EaglercraftRandom_nextGaussian(var$5) * 1.0; $var10 = 0.699999988079071; $var12 = 0.699999988079071; $var23 = 0.8999999761581421; $var21 = 0; var$5 = $var3.$worldAccesses; var$7 = $rt_compare($var21, var$5.$size0); if (var$7 < 0) { if ($var21 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[$var21]; $ptr = 3; continue main; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var20 = $var20 + 1 | 0; } } } return; } if ($var21 <= 0) $var23 = $this.$posX; else { $var18 = ($this.$renderYawOffset + (180 * ($var21 - 1 | 0) | 0)) / 180.0 * 3.1415927410125732; $var18 = nms_MathHelper_SIN_TABLE.data[($var18 * 10430.3779296875 + 16384.0 | 0) & 65535]; $var23 = $this.$posX + $var18 * 1.3; } $var5 = $var21 > 0 ? $this.$posY + 2.2 : $this.$posY + 3.0; if ($var21 <= 0) $var7 = $this.$posZ; else { $var18 = ($this.$renderYawOffset + (180 * ($var21 - 1 | 0) | 0)) / 180.0 * 3.1415927410125732; $var18 = nms_MathHelper_SIN_TABLE.data[($var18 * 10430.3779296875 | 0) & 65535]; $var7 = $this.$posZ + $var18 * 1.3; } $var1 = $this.$worldObj; var$5 = $rt_s(1479); $var4 = $var23 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var8 = $var5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var10 = $var7 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var12 = 0.0; $var14 = 0.0; $var16 = 0.0; $var20 = 0; } if ($var20 >= 0 && var$9 < 0) { $var3 = $var3.$array.data[$var20]; continue main; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); case 3: nms_RenderGlobal_doSpawnParticle(var$5, $var1, $var7, $var4, $var8, $var10, $var12, $var23); if ($rt_suspending()) { break main; } $var21 = $var21 + 1 | 0; while (true) { var$5 = $var3.$worldAccesses; var$7 = $rt_compare($var21, var$5.$size0); if (var$7 < 0) { if ($var21 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[$var21]; continue main; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var20 = $var20 + 1 | 0; if ($var20 >= 3) break; $var3 = $this.$worldObj; $var1 = $rt_s(1284); $var7 = $this.$posX + nle_EaglercraftRandom_nextGaussian($this.$rand) * 1.0; $var23 = $this.$posY; var$5 = $this.$rand; var$27 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$27; $var4 = $var23 + Long_lo(Long_shru(var$27, var$9)) / 1.6777216E7 * 3.299999952316284; $var8 = $this.$posZ + nle_EaglercraftRandom_nextGaussian(var$5) * 1.0; $var10 = 0.699999988079071; $var12 = 0.699999988079071; $var23 = 0.8999999761581421; $var21 = 0; } return; case 4: nms_RenderGlobal_doSpawnParticle(var$5, $var1, $var23, $var4, $var7, $var8, $var10, $var12); if ($rt_suspending()) { break main; } $var20 = $var20 + 1 | 0; while (true) { var$5 = $var3.$worldAccesses; var$9 = $rt_compare($var20, var$5.$size0); if (var$9 < 0) break; while (true) { $var21 = $var21 + 1 | 0; if ($var21 >= 3) { $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var1 = jl_Integer_integerCache.data[148]; if ($var1 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var20 = $var1.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[$var20 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var20) { var$5 = $var3.$key; if ($var1 !== var$5 && !($var1 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var20 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; e: { if ($var3.$watchedObject.$value0 > 0) { $var20 = 0; var$9 = 24; while (true) { if ($var20 >= 3) break e; $var3 = $this.$worldObj; $var1 = $rt_s(1284); $var7 = $this.$posX + nle_EaglercraftRandom_nextGaussian($this.$rand) * 1.0; $var23 = $this.$posY; var$5 = $this.$rand; var$27 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$27; $var4 = $var23 + Long_lo(Long_shru(var$27, var$9)) / 1.6777216E7 * 3.299999952316284; $var8 = $this.$posZ + nle_EaglercraftRandom_nextGaussian(var$5) * 1.0; $var10 = 0.699999988079071; $var12 = 0.699999988079071; $var23 = 0.8999999761581421; $var21 = 0; var$5 = $var3.$worldAccesses; var$7 = $rt_compare($var21, var$5.$size0); if (var$7 < 0) { if ($var21 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[$var21]; $ptr = 3; continue main; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var20 = $var20 + 1 | 0; } } } return; } if ($var21 <= 0) $var23 = $this.$posX; else { $var18 = ($this.$renderYawOffset + (180 * ($var21 - 1 | 0) | 0)) / 180.0 * 3.1415927410125732; $var18 = nms_MathHelper_SIN_TABLE.data[($var18 * 10430.3779296875 + 16384.0 | 0) & 65535]; $var23 = $this.$posX + $var18 * 1.3; } $var5 = $var21 > 0 ? $this.$posY + 2.2 : $this.$posY + 3.0; if ($var21 <= 0) $var7 = $this.$posZ; else { $var18 = ($this.$renderYawOffset + (180 * ($var21 - 1 | 0) | 0)) / 180.0 * 3.1415927410125732; $var18 = nms_MathHelper_SIN_TABLE.data[($var18 * 10430.3779296875 | 0) & 65535]; $var7 = $this.$posZ + $var18 * 1.3; } $var1 = $this.$worldObj; var$5 = $rt_s(1479); $var4 = $var23 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var8 = $var5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var10 = $var7 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var12 = 0.0; $var14 = 0.0; $var16 = 0.0; $var20 = 0; $var3 = $var1.$worldAccesses; var$9 = $rt_compare($var20, $var3.$size0); if (var$9 < 0) { if ($var20 >= 0 && var$9 < 0) { $var3 = $var3.$array.data[$var20]; $ptr = 2; continue main; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } if (!$var22) continue; $var3 = $this.$worldObj; $var1 = $var3.$rand0; var$29 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$29; if (Long_lo(Long_shr(Long_mul(var$27, Long_fromInt(Long_lo(Long_shru(var$29, var$7)))), 31))) continue; else break; } $var1 = $rt_s(1284); $var23 = $var23 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var4 = $var5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var7 = $var7 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.30000001192092896; $var8 = 0.699999988079071; $var10 = 0.699999988079071; $var12 = 0.5; $var20 = 0; } if ($var20 >= 0 && var$9 < 0) { var$5 = var$5.$array.data[$var20]; continue main; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var3, $var1, $var20, var$4, var$5, var$6, var$7, $var21, var$9, var$10, $var23, $var2, $var4, $var6, $var8, $var7, $var22, var$18, $var19, var$20, $var18, $var10, $var12, $var14, $var16, var$26, var$27, $var5, var$29, $ptr); }, nms_EntityWither_updateAITasks = $this => { let $var14, $var13, $var17, var$4, $var5, $var1, var$7, $var18, var$9, var$10, var$11, var$12, var$13, var$14, $var4, $var19, $var20, $var7, var$19, var$20, $var12, $var15, $var9, var$24, $var10, var$26, $var10003, $var11, var$29, var$30, $var6, $var8, var$33, var$34, $var16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var16 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();$var11 = $thread.pop();$var10003 = $thread.pop();var$26 = $thread.pop();$var10 = $thread.pop();var$24 = $thread.pop();$var9 = $thread.pop();$var15 = $thread.pop();$var12 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var7 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var4 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var18 = $thread.pop();var$7 = $thread.pop();$var1 = $thread.pop();$var5 = $thread.pop();var$4 = $thread.pop();$var17 = $thread.pop();$var13 = $thread.pop();$var14 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var14 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[148]; if ($var13 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var17 = $var13.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var17 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var17) { $var5 = $var14.$key; if ($var13 !== $var5 && !($var13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var17 ? 1 : 0) ? 0 : 1) break; } $var14 = $var14.$next3; } } $var14 = $var14 === null ? null : $var14.$value1; if ($var14.$watchedObject.$value0 > 0) { $var14 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[148]; if ($var13 !== null) { $var17 = $var13.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var17 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var17) { $var5 = $var14.$key; if ($var13 !== $var5 && !($var13 !== $var5 ? ($var5 instanceof jl_Integer && $var5.$value0 == $var17 ? 1 : 0) : 1) ? 0 : 1) break; } $var14 = $var14.$next3; } } else { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } $var14 = $var14 === null ? null : $var14.$value1; $var1 = $var14.$watchedObject.$value0 - 1 | 0; if ($var1 > 0) { $var14 = $this.$dataWatcher; if ($var1 >= (-128) && $var1 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var1 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var1; } $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[148]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !(var$7 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == $var18 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var13.$value0 ? 1 : 0)) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } if (!($this.$ticksExisted % 10 | 0)) { $var14 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[134]; if ($var5 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var18 = $var5.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var18) { $var13 = $var14.$key; if ($var5 !== $var13 && !jl_Integer_equals($var5, $var13) ? 0 : 1) break; } $var14 = $var14.$next3; } } var$10 = ($var14 === null ? null : $var14.$value1).$watchedObject.$value3; if (var$10 > 0.0) { var$11 = var$10 + 10.0; $var14 = $this.$dataWatcher; var$12 = 0.0; $var13 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var13 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, $var13); $var13 = $var13 === null ? null : $var13.$value1; if ($var13.$field_111133_g) { $var13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var13); $var13.$field_111133_g = 0; } var$10 = $var13.$field_111139_h; if (var$11 >= var$12) var$12 = var$11 <= var$10 ? var$11 : var$10; $var13 = new jl_Float; $var13.$value3 = var$12; $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[134]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if ($var13 === $var5) $var17 = 1; else a: { if ($var5 instanceof jl_Float) { var$11 = $var13.$value3; var$12 = $var5.$value3; if (var$11 !== var$11 ? (var$12 === var$12 ? 0 : 1) : $rt_floatToRawIntBits(var$11) != $rt_floatToRawIntBits(var$12) ? 0 : 1) { $var17 = 1; break a; } } $var17 = 0; } if (!$var17) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } } return; } b: { $var13 = $this.$worldObj; var$13 = $this.$posX; var$14 = $this.$posY + $this.$height2 * 0.8500000238418579; $var4 = $this.$posZ; $var5 = $var13.$worldInfo.$theGameRules0.$theGameRules.$root; var$9 = $rt_s(1854); $var14 = $rt_s(1854); if (var$9 !== $var14) { $var19 = var$9.$nativeString.length; $var20 = $var14.$nativeString.length; if ($var19 < $var20) $var20 = $var19; $var18 = 0; c: { while (true) { if ($var18 >= $var20) { var$9.$nativeString.length; $var14.$nativeString.length; break b; } if ($var18 < 0) break c; if ($var18 >= var$9.$nativeString.length) break c; $var7 = var$9.$nativeString.charCodeAt($var18); if ($var18 < 0) break; if ($var18 >= $var14.$nativeString.length) break; if ($var7 - $var14.$nativeString.charCodeAt($var18) | 0) break b; $var18 = $var18 + 1 | 0; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } } $var14 = $rt_s(1854); d: { e: { f: while (true) { if ($var5 === null) { $var5 = null; break d; } g: { var$9 = $var5.$key0; if ($var14 === var$9) $var18 = 0; else { $var19 = $var14.$nativeString.length; $var20 = var$9.$nativeString.length; if ($var19 < $var20) $var20 = $var19; $var19 = 0; while (true) { if ($var19 >= $var20) { $var18 = $var14.$nativeString.length - var$9.$nativeString.length | 0; break g; } if ($var19 < 0) break e; if ($var19 >= $var14.$nativeString.length) break e; $var7 = $var14.$nativeString.charCodeAt($var19); if ($var19 < 0) break f; if ($var19 >= var$9.$nativeString.length) break f; $var18 = $var7 - var$9.$nativeString.charCodeAt($var19) | 0; if ($var18) break; $var19 = $var19 + 1 | 0; } } } if (!$var18) break d; $var5 = $var18 >= 0 ? $var5.$right : $var5.$left; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = $var5 === null ? null : $var5.$value4; $var7 = $var14 === null ? 0 : $var14.$valueBoolean; $var14 = new nms_Explosion; $var14.$isSmoking = 1; $var14.$field_77289_h = 16; $var5 = new nle_EaglercraftRandom; var$19 = Long_fromNumber(performance.now() * 1000000.0); $var5.$seed = Long_fromInt(69); $var5.$haveNextNextGaussian = 0; $var5.$seed = var$19; $var14.$explosionRNG = $var5; $var5 = new ju_ArrayList; $var5.$array = $rt_createArray(jl_Object, 10); $var14.$affectedBlockPositions = $var5; $var5 = new ju_HashMap; $var18 = ju_HashMap_calculateCapacity(16); $var5.$elementCount = 0; var$20 = $rt_createArray(ju_HashMap$HashEntry, $var18); var$4 = var$20.data; $var5.$elementData = var$20; $var5.$loadFactor = 0.75; $var5.$threshold = var$4.length * 0.75 | 0; $var14.$field_77288_k = $var5; $var14.$worldObj1 = $var13; $var14.$exploder = $this; $var14.$explosionSize = 7.0; $var14.$explosionX = var$13; $var14.$explosionY = var$14; $var14.$explosionZ = $var4; $var14.$isFlaming = 0; $var14.$isSmoking = $var7; $ptr = 3; continue main; } $this.$entityAge = $this.$entityAge + 1 | 0; $this.$entityAge = 0; $var14 = $this.$senses; $var13 = $var14.$seenEntities; var$4 = $var13.$array; $var17 = 0; $var1 = $var13.$size0; $var5 = null; if ($var17 > $var1) { $var14 = new jl_IllegalArgumentException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } while ($var17 < $var1) { var$20 = var$4.data; $var18 = $var17 + 1 | 0; var$20[$var17] = $var5; $var17 = $var18; } $var13.$size0 = 0; $var13.$modCount = $var13.$modCount + 1 | 0; $var14 = $var14.$unseenEntities; var$4 = $var14.$array; $var17 = 0; $var1 = $var14.$size0; $var13 = null; if ($var17 > $var1) { $var14 = new jl_IllegalArgumentException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } while ($var17 < $var1) { var$20 = var$4.data; $var18 = $var17 + 1 | 0; var$20[$var17] = $var13; $var17 = $var18; } $var14.$size0 = 0; $var14.$modCount = $var14.$modCount + 1 | 0; $var14 = $this.$targetTasks; $ptr = 1; case 1: nms_EntityAITasks_onUpdateTasks($var14); if ($rt_suspending()) { break main; } $var14 = $this.$tasks0; $ptr = 2; case 2: nms_EntityAITasks_onUpdateTasks($var14); if ($rt_suspending()) { break main; } nms_PathNavigate_onUpdateNavigation($this.$navigator); nms_EntityMoveHelper_onUpdateMoveHelper($this.$moveHelper); nms_EntityLookHelper_onUpdateLook($this.$lookHelper); $var14 = $this.$jumpHelper; $var14.$entity0.$isJumping = $var14.$isJumping0; $var14.$isJumping0 = 0; $var1 = 1; $var20 = 17; $var19 = 9; $var12 = 22; $var15 = 21; $var9 = 19; var$24 = 24; $var10 = 128; var$26 = 134; while (true) { if ($var1 >= 3) { $var14 = $this.$attackTarget; if ($var14 === null) { $var14 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[$var10]; $var13 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[145]; if (var$9 !== null) { $var18 = var$9.$value0; var$4 = $var13.$elementData.data; $var13 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var13 !== null) { if ($var13.$origKeyHash == $var18) { $var5 = $var13.$key; if (var$9 !== $var5 && !(var$9 !== $var5 ? ($var5 instanceof jl_Integer && $var5.$value0 == $var18 ? 1 : 0) : 1) ? 0 : 1) break; } $var13 = $var13.$next3; } } else { $var13 = $var13.$elementData.data[0]; while ($var13 !== null && $var13.$key !== null) { $var13 = $var13.$next3; } } $var5 = $var13 === null ? null : $var13.$value1; $var13 = $var5.$watchedObject; if (!(var$7 === $var13 ? 1 : $var13 instanceof jl_Integer && $var13.$value0 == var$7.$value0 ? 1 : 0)) { $var5.$watchedObject = var$7; $var5.$watched = 1; $var14.$objectChanged = 1; } } else { $var17 = $var14.$entityId; $var14 = $this.$dataWatcher; if ($var17 >= (-128) && $var17 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var17 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var17; } $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[145]; if (var$7 !== null) { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !(var$7 !== var$9 ? (var$9 instanceof jl_Integer && var$9.$value0 == $var18 ? 1 : 0) : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var13.$value0 ? 1 : 0)) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } h: { $var17 = $this.$field_82222_j; if ($var17 > 0) { $var17 = $var17 - 1 | 0; $this.$field_82222_j = $var17; if (!$var17) { i: { $var13 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; $var5 = $rt_s(1854); $var14 = $rt_s(1854); if ($var5 !== $var14) { $var1 = $var5.$nativeString.length; $var19 = $var14.$nativeString.length; if ($var1 < $var19) $var19 = $var1; $var17 = 0; j: { while (true) { if ($var17 >= $var19) { $var5.$nativeString.length; $var14.$nativeString.length; break i; } if ($var17 < 0) break j; if ($var17 >= $var5.$nativeString.length) break j; $var18 = $var5.$nativeString.charCodeAt($var17); if ($var17 < 0) break; if ($var17 >= $var14.$nativeString.length) break; if ($var18 - $var14.$nativeString.charCodeAt($var17) | 0) break i; $var17 = $var17 + 1 | 0; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } } $var14 = $rt_s(1854); k: { l: { m: while (true) { if ($var13 === null) { $var13 = null; break k; } n: { $var5 = $var13.$key0; if ($var14 === $var5) $var17 = 0; else { $var1 = $var14.$nativeString.length; $var19 = $var5.$nativeString.length; if ($var1 < $var19) $var19 = $var1; $var1 = 0; while (true) { if ($var1 >= $var19) { $var17 = $var14.$nativeString.length - $var5.$nativeString.length | 0; break n; } if ($var1 < 0) break l; if ($var1 >= $var14.$nativeString.length) break l; $var18 = $var14.$nativeString.charCodeAt($var1); if ($var1 < 0) break m; if ($var1 >= $var5.$nativeString.length) break m; $var17 = $var18 - $var5.$nativeString.charCodeAt($var1) | 0; if ($var17) break; $var1 = $var1 + 1 | 0; } } } if (!$var17) break k; $var13 = $var17 >= 0 ? $var13.$right : $var13.$left; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = $var13 === null ? null : $var13.$value4; if ($var14 === null ? 0 : $var14.$valueBoolean) { var$13 = $this.$posY; $var10003 = var$13 | 0; if (var$13 < $var10003) $var10003 = $var10003 - 1 | 0; var$13 = $this.$posX; $var12 = var$13 | 0; if (var$13 < $var12) $var12 = $var12 - 1 | 0; var$13 = $this.$posZ; $var15 = var$13 | 0; if (var$13 < $var15) $var15 = $var15 - 1 | 0; $var17 = 0; $var18 = (-1); o: while (true) { if ($var18 > 1) { if (!$var17) break h; $var14 = $this.$worldObj; $var13 = null; $var1 = 1012; $var18 = $this.$posX | 0; $var19 = $this.$posY | 0; $var7 = $this.$posZ | 0; $var17 = 0; $var20 = 0; $var5 = $var14.$worldAccesses; $var9 = $rt_compare($var20, $var5.$size0); if ($var9 < 0) { if ($var20 >= 0 && $var9 < 0) { $var5 = $var5.$array.data[$var20]; $ptr = 11; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); } break h; } $var19 = (-1); while ($var19 <= 1) { $var7 = 0; while ($var7 <= 3) { $var20 = $var12 + $var18 | 0; $var9 = $var10003 + $var7 | 0; $var10 = $var15 + $var19 | 0; $var11 = nms_World_getBlockId($this.$worldObj, $var20, $var9, $var10); if ($var11 > 0) { nms_Block_$callClinit(); if ($var11 != nms_Block_bedrock.$blockID && $var11 != nms_Block_endPortal.$blockID && $var11 != nms_Block_endPortalFrame.$blockID) break o; } $var7 = $var7 + 1 | 0; } $var19 = $var19 + 1 | 0; } $var18 = $var18 + 1 | 0; } $var14 = $this.$worldObj; $var1 = 1; $ptr = 12; continue main; } } } } if (!($this.$ticksExisted % 20 | 0)) { $var14 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[var$26]; if ($var13 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var17 = $var13.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var17 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var17) { $var5 = $var14.$key; if ($var13 !== $var5 && !jl_Integer_equals($var13, $var5) ? 0 : 1) break; } $var14 = $var14.$next3; } } var$10 = ($var14 === null ? null : $var14.$value1).$watchedObject.$value3; if (var$10 > 0.0) { var$11 = var$10 + 1.0; $var14 = $this.$dataWatcher; var$12 = 0.0; $var13 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var13 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, $var13); $var13 = $var13 === null ? null : $var13.$value1; if ($var13.$field_111133_g) { $var13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var13); $var13.$field_111133_g = 0; } var$10 = $var13.$field_111139_h; if (var$11 >= var$12) var$12 = var$11 <= var$10 ? var$11 : var$10; $var13 = new jl_Float; $var13.$value3 = var$12; $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$26]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if ($var13 === $var5) $var17 = 1; else p: { if ($var5 instanceof jl_Float) { var$11 = $var13.$value3; var$12 = $var5.$value3; if (var$11 !== var$11 ? (var$12 === var$12 ? 0 : 1) : $rt_floatToRawIntBits(var$11) != $rt_floatToRawIntBits(var$12) ? 0 : 1) { $var17 = 1; break p; } } $var17 = 0; } if (!$var17) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } } return; } $var17 = $this.$ticksExisted; var$4 = $this.$field_82223_h.data; $var18 = $var1 - 1 | 0; if ($var17 >= var$4[$var18]) { $var11 = $var17 + 10 | 0; $var14 = $this.$rand; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var17 = Long_lo(Long_shru(var$29, $var20)); while (true) { $var7 = $var17 % 10 | 0; if ((($var17 - $var7 | 0) + $var19 | 0) >= 0) break; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var17 = Long_lo(Long_shru(var$29, $var20)); } var$4[$var18] = $var11 + $var7 | 0; if ($this.$worldObj.$difficultySetting >= 2) { var$4 = $this.$field_82224_i.data; $var10003 = var$4[$var18]; var$4[$var18] = var$4[$var18] + 1 | 0; if ($var10003 > 15) { var$13 = $this.$posX; $var4 = var$13 - 10.0; var$13 = var$13 + 10.0; if ($var4 < var$13) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var4 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$13 - $var4) + $var4; } var$13 = $this.$posY; $var6 = var$13 - 5.0; var$13 = var$13 + 5.0; if ($var6 < var$13) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var6 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$13 - $var6) + $var6; } var$13 = $this.$posZ; $var8 = var$13 - 10.0; var$33 = var$13 + 10.0; if ($var8 < var$33) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var8 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$33 - $var8) + $var8; } $var7 = $var1 + 1 | 0; $var17 = 1; $ptr = 5; continue main; } } $var14 = $this.$dataWatcher; $var10003 = 17 + $var1 | 0; $var14 = $var14.$watchedObjects; var$34 = $rt_compare($var10003, (-128)); if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var10003; } if ($var13 === null) { $var5 = $var14.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var7 = $var13.$value0; var$4 = $var14.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { $var14 = $var5.$key; if ($var13 !== $var14 && !($var13 === $var14 ? 1 : $var14 instanceof jl_Integer && $var14.$value0 == $var7 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var16 = ($var5 === null ? null : $var5.$value1).$watchedObject.$value0; if ($var16 <= 0) { var$9 = $this.$worldObj; var$7 = $rt_cls(nms_EntityLivingBase); $var14 = $this.$boundingBox; var$14 = $var14.$minX - 20.0; $var4 = $var14.$minY - 8.0; $var8 = $var14.$minZ - 20.0; $var6 = $var14.$maxX + 20.0; var$33 = $var14.$maxY + 8.0; var$13 = $var14.$maxZ + 20.0; $var5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var17 = $var5.$nextPoolIndex; $var14 = $var5.$listAABB; $var7 = $var14.$size0; $var18 = $rt_compare($var17, $var7); if ($var18 >= 0) { $var13 = new nms_AxisAlignedBB; $var13.$minX = var$14; $var13.$minY = $var4; $var13.$minZ = $var8; $var13.$maxX = $var6; $var13.$maxY = var$33; $var13.$maxZ = var$13; ju_ArrayList_ensureCapacity($var14, $var7 + 1 | 0); var$4 = $var14.$array.data; $var18 = $var14.$size0; $var14.$size0 = $var18 + 1 | 0; var$4[$var18] = $var13; $var14.$modCount = $var14.$modCount + 1 | 0; } else if ($var17 >= 0 && $var18 < 0) { $var13 = $var14.$array.data[$var17]; $var13.$minX = var$14; $var13.$minY = $var4; $var13.$minZ = $var8; $var13.$maxX = $var6; $var13.$maxY = var$33; $var13.$maxZ = var$13; } else { $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } $var5.$nextPoolIndex = $var5.$nextPoolIndex + 1 | 0; $var14 = nms_EntityWither_attackEntitySelector; $ptr = 7; continue main; } $var13 = $this.$worldObj; $var14 = $var13.$mc2.$thePlayer; if ($var16 != $var14.$entityId) { $var14 = $var13.$entityHashSet; $var17 = $var16 ^ ($var16 >>> 20 | 0) ^ ($var16 >>> 12 | 0); $var11 = $var17 ^ ($var17 >>> 7 | 0) ^ ($var17 >>> 4 | 0); var$4 = $var14.$slots.data; $var14 = var$4[$var11 & (var$4.length - 1 | 0)]; q: { while ($var14 !== null) { if ($var14.$hashEntry == $var16) { $var14 = $var14.$valueEntry; break q; } $var14 = $var14.$nextEntry; } $var14 = null; } $var14 = $var14; } if ($var14 !== null && $var14.$isEntityAlive()) { var$13 = $this.$posX - $var14.$posX; $var8 = $this.$posY - $var14.$posY; var$14 = $this.$posZ - $var14.$posZ; if (var$13 * var$13 + $var8 * $var8 + var$14 * var$14 <= 900.0) break; } $var13 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); $var14 = jl_Integer_integerCache.data[$var10]; $var5 = $var13.$watchedObjects; if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var10003; } if (var$9 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var7 = var$9.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { var$7 = $var5.$key; if (var$9 !== var$7 && !(var$9 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == $var7 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var14 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var14.$value0 ? 1 : 0)) { var$9.$watchedObject = $var14; var$9.$watched = 1; $var13.$objectChanged = 1; } } $var1 = $var1 + 1 | 0; } $ptr = 8; continue main; case 3: nms_Explosion_doExplosionA($var14); if ($rt_suspending()) { break main; } $var17 = 1; $ptr = 4; case 4: nms_Explosion_doExplosionB($var14, $var17); if ($rt_suspending()) { break main; } $var14 = $this.$worldObj; $var17 = 1013; $var18 = $this.$posX | 0; $var19 = $this.$posY | 0; $var7 = $this.$posZ | 0; $var20 = 0; $var9 = 0; $var13 = $var14.$worldAccesses; $var10 = $rt_compare($var9, $var13.$size0); if ($var10 >= 0) { $var14 = $this.$dataWatcher; if ($var1 >= (-128) && $var1 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var1 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var1; } $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[148]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !(var$7 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == $var18 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var13.$value0 ? 1 : 0)) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } if (!($this.$ticksExisted % 10 | 0)) { $var14 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[134]; if ($var5 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var18 = $var5.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var18) { $var13 = $var14.$key; if ($var5 !== $var13 && !jl_Integer_equals($var5, $var13) ? 0 : 1) break; } $var14 = $var14.$next3; } } var$10 = ($var14 === null ? null : $var14.$value1).$watchedObject.$value3; if (var$10 > 0.0) { var$11 = var$10 + 10.0; $var14 = $this.$dataWatcher; var$12 = 0.0; $var13 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var13 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, $var13); $var13 = $var13 === null ? null : $var13.$value1; if ($var13.$field_111133_g) { $var13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var13); $var13.$field_111133_g = 0; } var$10 = $var13.$field_111139_h; if (var$11 >= var$12) var$12 = var$11 <= var$10 ? var$11 : var$10; $var13 = new jl_Float; $var13.$value3 = var$12; $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[134]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if ($var13 === $var5) $var17 = 1; else r: { if ($var5 instanceof jl_Float) { var$11 = $var13.$value3; var$12 = $var5.$value3; if (var$11 !== var$11 ? (var$12 === var$12 ? 0 : 1) : $rt_floatToRawIntBits(var$11) != $rt_floatToRawIntBits(var$12) ? 0 : 1) { $var17 = 1; break r; } } $var17 = 0; } if (!$var17) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } } return; } if ($var9 >= 0 && $var10 < 0) { $var13 = $var13.$array.data[$var9]; $ptr = 6; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); case 5: nms_EntityWither_func_82209_a($this, $var7, $var4, $var6, $var8, $var17); if ($rt_suspending()) { break main; } $this.$field_82224_i.data[$var18] = 0; while (true) { $var14 = $this.$dataWatcher; $var10003 = 17 + $var1 | 0; $var14 = $var14.$watchedObjects; var$34 = $rt_compare($var10003, (-128)); if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var10003; } if ($var13 !== null) { $var7 = $var13.$value0; var$4 = $var14.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { $var14 = $var5.$key; if ($var13 !== $var14 && !($var13 !== $var14 ? ($var14 instanceof jl_Integer && $var14.$value0 == $var7 ? 1 : 0) : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } } else { $var5 = $var14.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } $var16 = ($var5 === null ? null : $var5.$value1).$watchedObject.$value0; if ($var16 <= 0) { var$9 = $this.$worldObj; var$7 = $rt_cls(nms_EntityLivingBase); $var14 = $this.$boundingBox; var$14 = $var14.$minX - 20.0; $var4 = $var14.$minY - 8.0; $var8 = $var14.$minZ - 20.0; $var6 = $var14.$maxX + 20.0; var$33 = $var14.$maxY + 8.0; var$13 = $var14.$maxZ + 20.0; $var5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var17 = $var5.$nextPoolIndex; $var14 = $var5.$listAABB; $var7 = $var14.$size0; $var18 = $rt_compare($var17, $var7); if ($var18 >= 0) { $var13 = new nms_AxisAlignedBB; $var13.$minX = var$14; $var13.$minY = $var4; $var13.$minZ = $var8; $var13.$maxX = $var6; $var13.$maxY = var$33; $var13.$maxZ = var$13; ju_ArrayList_ensureCapacity($var14, $var7 + 1 | 0); var$4 = $var14.$array.data; $var18 = $var14.$size0; $var14.$size0 = $var18 + 1 | 0; var$4[$var18] = $var13; $var14.$modCount = $var14.$modCount + 1 | 0; } else if ($var17 >= 0 && $var18 < 0) { $var13 = $var14.$array.data[$var17]; $var13.$minX = var$14; $var13.$minY = $var4; $var13.$minZ = $var8; $var13.$maxX = $var6; $var13.$maxY = var$33; $var13.$maxZ = var$13; } else { $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } $var5.$nextPoolIndex = $var5.$nextPoolIndex + 1 | 0; $var14 = nms_EntityWither_attackEntitySelector; $ptr = 7; continue main; } $var13 = $this.$worldObj; $var14 = $var13.$mc2.$thePlayer; if ($var16 != $var14.$entityId) { $var14 = $var13.$entityHashSet; $var17 = $var16 ^ ($var16 >>> 20 | 0) ^ ($var16 >>> 12 | 0); $var11 = $var17 ^ ($var17 >>> 7 | 0) ^ ($var17 >>> 4 | 0); var$4 = $var14.$slots.data; $var14 = var$4[$var11 & (var$4.length - 1 | 0)]; s: { while ($var14 !== null) { if ($var14.$hashEntry == $var16) { $var14 = $var14.$valueEntry; break s; } $var14 = $var14.$nextEntry; } $var14 = null; } $var14 = $var14; } if ($var14 !== null && $var14.$isEntityAlive()) { var$13 = $this.$posX - $var14.$posX; $var8 = $this.$posY - $var14.$posY; var$14 = $this.$posZ - $var14.$posZ; if (var$13 * var$13 + $var8 * $var8 + var$14 * var$14 <= 900.0) break; } $var13 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); $var14 = jl_Integer_integerCache.data[$var10]; $var5 = $var13.$watchedObjects; if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var10003; } if (var$9 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var7 = var$9.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { var$7 = $var5.$key; if (var$9 !== var$7 && !(var$9 !== var$7 ? (var$7 instanceof jl_Integer && var$7.$value0 == $var7 ? 1 : 0) : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var14 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var14.$value0 ? 1 : 0)) { var$9.$watchedObject = $var14; var$9.$watched = 1; $var13.$objectChanged = 1; } while (true) { $var1 = $var1 + 1 | 0; if ($var1 >= 3) { $var14 = $this.$attackTarget; if ($var14 === null) { $var14 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[$var10]; $var13 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[145]; if (var$9 !== null) { $var18 = var$9.$value0; var$4 = $var13.$elementData.data; $var13 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var13 !== null) { if ($var13.$origKeyHash == $var18) { $var5 = $var13.$key; if (var$9 !== $var5 && !(var$9 !== $var5 ? ($var5 instanceof jl_Integer && $var5.$value0 == $var18 ? 1 : 0) : 1) ? 0 : 1) break; } $var13 = $var13.$next3; } } else { $var13 = $var13.$elementData.data[0]; while ($var13 !== null && $var13.$key !== null) { $var13 = $var13.$next3; } } $var5 = $var13 === null ? null : $var13.$value1; $var13 = $var5.$watchedObject; if (!(var$7 === $var13 ? 1 : $var13 instanceof jl_Integer && $var13.$value0 == var$7.$value0 ? 1 : 0)) { $var5.$watchedObject = var$7; $var5.$watched = 1; $var14.$objectChanged = 1; } } else { $var17 = $var14.$entityId; $var14 = $this.$dataWatcher; if ($var17 >= (-128) && $var17 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var17 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var17; } $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[145]; if (var$7 !== null) { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !(var$7 !== var$9 ? (var$9 instanceof jl_Integer && var$9.$value0 == $var18 ? 1 : 0) : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var13.$value0 ? 1 : 0)) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } e: { $var17 = $this.$field_82222_j; if ($var17 > 0) { $var17 = $var17 - 1 | 0; $this.$field_82222_j = $var17; if (!$var17) { f: { $var13 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; $var5 = $rt_s(1854); $var14 = $rt_s(1854); if ($var5 !== $var14) { $var1 = $var5.$nativeString.length; $var19 = $var14.$nativeString.length; if ($var1 < $var19) $var19 = $var1; $var17 = 0; t: { while (true) { if ($var17 >= $var19) { $var5.$nativeString.length; $var14.$nativeString.length; break f; } if ($var17 < 0) break t; if ($var17 >= $var5.$nativeString.length) break t; $var18 = $var5.$nativeString.charCodeAt($var17); if ($var17 < 0) break; if ($var17 >= $var14.$nativeString.length) break; if ($var18 - $var14.$nativeString.charCodeAt($var17) | 0) break f; $var17 = $var17 + 1 | 0; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } } $var14 = $rt_s(1854); u: { v: { w: while (true) { if ($var13 === null) { $var13 = null; break u; } x: { $var5 = $var13.$key0; if ($var14 === $var5) $var17 = 0; else { $var1 = $var14.$nativeString.length; $var19 = $var5.$nativeString.length; if ($var1 < $var19) $var19 = $var1; $var1 = 0; while (true) { if ($var1 >= $var19) { $var17 = $var14.$nativeString.length - $var5.$nativeString.length | 0; break x; } if ($var1 < 0) break v; if ($var1 >= $var14.$nativeString.length) break v; $var18 = $var14.$nativeString.charCodeAt($var1); if ($var1 < 0) break w; if ($var1 >= $var5.$nativeString.length) break w; $var17 = $var18 - $var5.$nativeString.charCodeAt($var1) | 0; if ($var17) break; $var1 = $var1 + 1 | 0; } } } if (!$var17) break u; $var13 = $var17 >= 0 ? $var13.$right : $var13.$left; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = $var13 === null ? null : $var13.$value4; if ($var14 === null ? 0 : $var14.$valueBoolean) { var$13 = $this.$posY; $var10003 = var$13 | 0; if (var$13 < $var10003) $var10003 = $var10003 - 1 | 0; var$13 = $this.$posX; $var12 = var$13 | 0; if (var$13 < $var12) $var12 = $var12 - 1 | 0; var$13 = $this.$posZ; $var15 = var$13 | 0; if (var$13 < $var15) $var15 = $var15 - 1 | 0; $var17 = 0; $var18 = (-1); y: while (true) { if ($var18 > 1) { if (!$var17) break e; $var14 = $this.$worldObj; $var13 = null; $var1 = 1012; $var18 = $this.$posX | 0; $var19 = $this.$posY | 0; $var7 = $this.$posZ | 0; $var17 = 0; $var20 = 0; $var5 = $var14.$worldAccesses; $var9 = $rt_compare($var20, $var5.$size0); if ($var9 < 0) { if ($var20 >= 0 && $var9 < 0) { $var5 = $var5.$array.data[$var20]; $ptr = 11; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); } break e; } $var19 = (-1); while ($var19 <= 1) { $var7 = 0; while ($var7 <= 3) { $var20 = $var12 + $var18 | 0; $var9 = $var10003 + $var7 | 0; $var10 = $var15 + $var19 | 0; $var11 = nms_World_getBlockId($this.$worldObj, $var20, $var9, $var10); if ($var11 > 0) { nms_Block_$callClinit(); if ($var11 != nms_Block_bedrock.$blockID && $var11 != nms_Block_endPortal.$blockID && $var11 != nms_Block_endPortalFrame.$blockID) break y; } $var7 = $var7 + 1 | 0; } $var19 = $var19 + 1 | 0; } $var18 = $var18 + 1 | 0; } $var14 = $this.$worldObj; $var1 = 1; $ptr = 12; continue main; } } } } if (!($this.$ticksExisted % 20 | 0)) { $var14 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[var$26]; if ($var13 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var17 = $var13.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var17 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var17) { $var5 = $var14.$key; if ($var13 !== $var5 && !jl_Integer_equals($var13, $var5) ? 0 : 1) break; } $var14 = $var14.$next3; } } var$10 = ($var14 === null ? null : $var14.$value1).$watchedObject.$value3; if (var$10 > 0.0) { var$11 = var$10 + 1.0; $var14 = $this.$dataWatcher; var$12 = 0.0; $var13 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var13 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, $var13); $var13 = $var13 === null ? null : $var13.$value1; if ($var13.$field_111133_g) { $var13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var13); $var13.$field_111133_g = 0; } var$10 = $var13.$field_111139_h; if (var$11 >= var$12) var$12 = var$11 <= var$10 ? var$11 : var$10; $var13 = new jl_Float; $var13.$value3 = var$12; $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$26]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if ($var13 === $var5) $var17 = 1; else z: { if ($var5 instanceof jl_Float) { var$11 = $var13.$value3; var$12 = $var5.$value3; if (var$11 !== var$11 ? (var$12 === var$12 ? 0 : 1) : $rt_floatToRawIntBits(var$11) != $rt_floatToRawIntBits(var$12) ? 0 : 1) { $var17 = 1; break z; } } $var17 = 0; } if (!$var17) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } } return; } $var17 = $this.$ticksExisted; var$4 = $this.$field_82223_h.data; $var18 = $var1 - 1 | 0; if ($var17 < var$4[$var18]) continue; else break; } $var11 = $var17 + 10 | 0; $var14 = $this.$rand; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var17 = Long_lo(Long_shru(var$29, $var20)); while (true) { $var7 = $var17 % 10 | 0; if ((($var17 - $var7 | 0) + $var19 | 0) >= 0) break; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var17 = Long_lo(Long_shru(var$29, $var20)); } var$4[$var18] = $var11 + $var7 | 0; if ($this.$worldObj.$difficultySetting < 2) continue; var$4 = $this.$field_82224_i.data; $var10003 = var$4[$var18]; var$4[$var18] = var$4[$var18] + 1 | 0; if ($var10003 <= 15) continue; else { var$13 = $this.$posX; $var4 = var$13 - 10.0; var$13 = var$13 + 10.0; if ($var4 < var$13) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var4 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$13 - $var4) + $var4; } var$13 = $this.$posY; $var6 = var$13 - 5.0; var$13 = var$13 + 5.0; if ($var6 < var$13) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var6 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$13 - $var6) + $var6; } var$13 = $this.$posZ; $var8 = var$13 - 10.0; var$33 = var$13 + 10.0; if ($var8 < var$33) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var8 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$33 - $var8) + $var8; } $var7 = $var1 + 1 | 0; $var17 = 1; continue main; } } $ptr = 8; continue main; case 6: nms_RenderGlobal_broadcastSound($var13, $var17, $var18, $var19, $var7, $var20); if ($rt_suspending()) { break main; } $var9 = $var9 + 1 | 0; $var13 = $var14.$worldAccesses; $var10 = $rt_compare($var9, $var13.$size0); if ($var10 >= 0) { $var14 = $this.$dataWatcher; if ($var1 >= (-128) && $var1 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var1 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var1; } $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[148]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !(var$7 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == $var18 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var13.$value0 ? 1 : 0)) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } if (!($this.$ticksExisted % 10 | 0)) { $var14 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[134]; if ($var5 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var18 = $var5.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var18) { $var13 = $var14.$key; if ($var5 !== $var13 && !jl_Integer_equals($var5, $var13) ? 0 : 1) break; } $var14 = $var14.$next3; } } var$10 = ($var14 === null ? null : $var14.$value1).$watchedObject.$value3; if (var$10 > 0.0) { var$11 = var$10 + 10.0; $var14 = $this.$dataWatcher; var$12 = 0.0; $var13 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var13 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, $var13); $var13 = $var13 === null ? null : $var13.$value1; if ($var13.$field_111133_g) { $var13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var13); $var13.$field_111133_g = 0; } var$10 = $var13.$field_111139_h; if (var$11 >= var$12) var$12 = var$11 <= var$10 ? var$11 : var$10; $var13 = new jl_Float; $var13.$value3 = var$12; $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[134]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if ($var13 === $var5) $var17 = 1; else r: { if ($var5 instanceof jl_Float) { var$11 = $var13.$value3; var$12 = $var5.$value3; if (var$11 !== var$11 ? (var$12 === var$12 ? 0 : 1) : $rt_floatToRawIntBits(var$11) != $rt_floatToRawIntBits(var$12) ? 0 : 1) { $var17 = 1; break r; } } $var17 = 0; } if (!$var17) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } } return; } if ($var9 >= 0 && $var10 < 0) { $var13 = $var13.$array.data[$var9]; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); case 7: $tmp = nms_World_selectEntitiesWithinAABB(var$9, var$7, $var13, $var14); if ($rt_suspending()) { break main; } $var13 = $tmp; $var16 = 0; ba: { bb: { bc: while (true) { if ($var16 >= 10) break ba; $var11 = $var13.$size0; if ($var11 ? 0 : 1) break ba; $var14 = $this.$rand; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var7 = Long_lo(Long_shru(var$29, $var20)); $var17 = $var11 - 1 | 0; if (!($var11 & $var17)) $var18 = Long_lo(Long_shr(Long_mul(Long_fromInt($var11), Long_fromInt($var7)), 31)); else while (true) { $var18 = $var7 % $var11 | 0; if ((($var7 - $var18 | 0) + $var17 | 0) >= 0) break; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var7 = Long_lo(Long_shru(var$29, $var20)); } if ($var18 < 0) break bb; if ($var18 >= $var11) break bb; $var5 = $var13.$array.data[$var18]; if ($var5 !== $this) { bd: { if (!$var5.$isDead) { $var14 = $var5.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$26]; if (var$7 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var7 = var$7.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var7) { var$9 = $var14.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } $var14 = $var14.$next3; } } if (($var14 === null ? null : $var14.$value1).$watchedObject.$value3 > 0.0) { $var17 = 1; break bd; } } $var17 = 0; } if ($var17) { $ptr = 10; continue main; } } $var7 = $var13.$size0; $var17 = 0; be: { while (true) { if ($var17 >= $var7) { $var17 = (-1); break be; } if ($var17 < 0) break bc; if ($var17 >= $var13.$size0) break bc; $var14 = $var13.$array.data[$var17]; if ($var5 === $var14 ? 1 : $var5 !== null ? $var5.$equals($var14) : $var14 !== null ? 0 : 1) break; $var17 = $var17 + 1 | 0; } } if ($var17 >= 0) ju_ArrayList_remove($var13, $var17); $var16 = $var16 + 1 | 0; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); } while (true) { $var1 = $var1 + 1 | 0; if ($var1 >= 3) { $var14 = $this.$attackTarget; if ($var14 === null) { $var14 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[$var10]; $var13 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[145]; if (var$9 !== null) { $var18 = var$9.$value0; var$4 = $var13.$elementData.data; $var13 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var13 !== null) { if ($var13.$origKeyHash == $var18) { $var5 = $var13.$key; if (var$9 !== $var5 && !(var$9 !== $var5 ? ($var5 instanceof jl_Integer && $var5.$value0 == $var18 ? 1 : 0) : 1) ? 0 : 1) break; } $var13 = $var13.$next3; } } else { $var13 = $var13.$elementData.data[0]; while ($var13 !== null && $var13.$key !== null) { $var13 = $var13.$next3; } } $var5 = $var13 === null ? null : $var13.$value1; $var13 = $var5.$watchedObject; if (!(var$7 === $var13 ? 1 : $var13 instanceof jl_Integer && $var13.$value0 == var$7.$value0 ? 1 : 0)) { $var5.$watchedObject = var$7; $var5.$watched = 1; $var14.$objectChanged = 1; } } else { $var17 = $var14.$entityId; $var14 = $this.$dataWatcher; if ($var17 >= (-128) && $var17 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var17 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var17; } $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[145]; if (var$7 !== null) { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !(var$7 !== var$9 ? (var$9 instanceof jl_Integer && var$9.$value0 == $var18 ? 1 : 0) : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var13.$value0 ? 1 : 0)) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } bf: { $var17 = $this.$field_82222_j; if ($var17 > 0) { $var17 = $var17 - 1 | 0; $this.$field_82222_j = $var17; if (!$var17) { bg: { $var13 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; $var5 = $rt_s(1854); $var14 = $rt_s(1854); if ($var5 !== $var14) { $var1 = $var5.$nativeString.length; $var19 = $var14.$nativeString.length; if ($var1 < $var19) $var19 = $var1; $var17 = 0; bh: { while (true) { if ($var17 >= $var19) { $var5.$nativeString.length; $var14.$nativeString.length; break bg; } if ($var17 < 0) break bh; if ($var17 >= $var5.$nativeString.length) break bh; $var18 = $var5.$nativeString.charCodeAt($var17); if ($var17 < 0) break; if ($var17 >= $var14.$nativeString.length) break; if ($var18 - $var14.$nativeString.charCodeAt($var17) | 0) break bg; $var17 = $var17 + 1 | 0; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } } $var14 = $rt_s(1854); bi: { bj: { bk: while (true) { if ($var13 === null) { $var13 = null; break bi; } bl: { $var5 = $var13.$key0; if ($var14 === $var5) $var17 = 0; else { $var1 = $var14.$nativeString.length; $var19 = $var5.$nativeString.length; if ($var1 < $var19) $var19 = $var1; $var1 = 0; while (true) { if ($var1 >= $var19) { $var17 = $var14.$nativeString.length - $var5.$nativeString.length | 0; break bl; } if ($var1 < 0) break bj; if ($var1 >= $var14.$nativeString.length) break bj; $var18 = $var14.$nativeString.charCodeAt($var1); if ($var1 < 0) break bk; if ($var1 >= $var5.$nativeString.length) break bk; $var17 = $var18 - $var5.$nativeString.charCodeAt($var1) | 0; if ($var17) break; $var1 = $var1 + 1 | 0; } } } if (!$var17) break bi; $var13 = $var17 >= 0 ? $var13.$right : $var13.$left; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = $var13 === null ? null : $var13.$value4; if ($var14 === null ? 0 : $var14.$valueBoolean) { var$13 = $this.$posY; $var10003 = var$13 | 0; if (var$13 < $var10003) $var10003 = $var10003 - 1 | 0; var$13 = $this.$posX; $var12 = var$13 | 0; if (var$13 < $var12) $var12 = $var12 - 1 | 0; var$13 = $this.$posZ; $var15 = var$13 | 0; if (var$13 < $var15) $var15 = $var15 - 1 | 0; $var17 = 0; $var18 = (-1); z: while (true) { if ($var18 > 1) { if (!$var17) break bf; $var14 = $this.$worldObj; $var13 = null; $var1 = 1012; $var18 = $this.$posX | 0; $var19 = $this.$posY | 0; $var7 = $this.$posZ | 0; $var17 = 0; $var20 = 0; $var5 = $var14.$worldAccesses; $var9 = $rt_compare($var20, $var5.$size0); if ($var9 < 0) { if ($var20 >= 0 && $var9 < 0) { $var5 = $var5.$array.data[$var20]; $ptr = 11; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); } break bf; } $var19 = (-1); while ($var19 <= 1) { $var7 = 0; while ($var7 <= 3) { $var20 = $var12 + $var18 | 0; $var9 = $var10003 + $var7 | 0; $var10 = $var15 + $var19 | 0; $var11 = nms_World_getBlockId($this.$worldObj, $var20, $var9, $var10); if ($var11 > 0) { nms_Block_$callClinit(); if ($var11 != nms_Block_bedrock.$blockID && $var11 != nms_Block_endPortal.$blockID && $var11 != nms_Block_endPortalFrame.$blockID) break z; } $var7 = $var7 + 1 | 0; } $var19 = $var19 + 1 | 0; } $var18 = $var18 + 1 | 0; } $var14 = $this.$worldObj; $var1 = 1; $ptr = 12; continue main; } } } } if (!($this.$ticksExisted % 20 | 0)) { $var14 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[var$26]; if ($var13 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var17 = $var13.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var17 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var17) { $var5 = $var14.$key; if ($var13 !== $var5 && !jl_Integer_equals($var13, $var5) ? 0 : 1) break; } $var14 = $var14.$next3; } } var$10 = ($var14 === null ? null : $var14.$value1).$watchedObject.$value3; if (var$10 > 0.0) { var$11 = var$10 + 1.0; $var14 = $this.$dataWatcher; var$12 = 0.0; $var13 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var13 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, $var13); $var13 = $var13 === null ? null : $var13.$value1; if ($var13.$field_111133_g) { $var13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var13); $var13.$field_111133_g = 0; } var$10 = $var13.$field_111139_h; if (var$11 >= var$12) var$12 = var$11 <= var$10 ? var$11 : var$10; $var13 = new jl_Float; $var13.$value3 = var$12; $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$26]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if ($var13 === $var5) $var17 = 1; else bm: { if ($var5 instanceof jl_Float) { var$11 = $var13.$value3; var$12 = $var5.$value3; if (var$11 !== var$11 ? (var$12 === var$12 ? 0 : 1) : $rt_floatToRawIntBits(var$11) != $rt_floatToRawIntBits(var$12) ? 0 : 1) { $var17 = 1; break bm; } } $var17 = 0; } if (!$var17) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } } return; } $var17 = $this.$ticksExisted; var$4 = $this.$field_82223_h.data; $var18 = $var1 - 1 | 0; if ($var17 < var$4[$var18]) continue; $var11 = $var17 + 10 | 0; $var14 = $this.$rand; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var17 = Long_lo(Long_shru(var$29, $var20)); while (true) { $var7 = $var17 % 10 | 0; if ((($var17 - $var7 | 0) + $var19 | 0) >= 0) break; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var17 = Long_lo(Long_shru(var$29, $var20)); } var$4[$var18] = $var11 + $var7 | 0; if ($this.$worldObj.$difficultySetting >= 2) { var$4 = $this.$field_82224_i.data; $var10003 = var$4[$var18]; var$4[$var18] = var$4[$var18] + 1 | 0; if ($var10003 > 15) { var$13 = $this.$posX; $var4 = var$13 - 10.0; var$13 = var$13 + 10.0; if ($var4 < var$13) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var4 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$13 - $var4) + $var4; } var$13 = $this.$posY; $var6 = var$13 - 5.0; var$13 = var$13 + 5.0; if ($var6 < var$13) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var6 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$13 - $var6) + $var6; } var$13 = $this.$posZ; $var8 = var$13 - 10.0; var$33 = var$13 + 10.0; if ($var8 < var$33) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var8 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$33 - $var8) + $var8; } $var7 = $var1 + 1 | 0; $var17 = 1; $ptr = 5; continue main; } } $var14 = $this.$dataWatcher; $var10003 = 17 + $var1 | 0; $var14 = $var14.$watchedObjects; var$34 = $rt_compare($var10003, (-128)); if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var10003; } if ($var13 === null) { $var5 = $var14.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var7 = $var13.$value0; var$4 = $var14.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { $var14 = $var5.$key; if ($var13 !== $var14 && !($var13 === $var14 ? 1 : $var14 instanceof jl_Integer && $var14.$value0 == $var7 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var16 = ($var5 === null ? null : $var5.$value1).$watchedObject.$value0; if ($var16 <= 0) { var$9 = $this.$worldObj; var$7 = $rt_cls(nms_EntityLivingBase); $var14 = $this.$boundingBox; var$14 = $var14.$minX - 20.0; $var4 = $var14.$minY - 8.0; $var8 = $var14.$minZ - 20.0; $var6 = $var14.$maxX + 20.0; var$33 = $var14.$maxY + 8.0; var$13 = $var14.$maxZ + 20.0; $var5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var17 = $var5.$nextPoolIndex; $var14 = $var5.$listAABB; $var7 = $var14.$size0; $var18 = $rt_compare($var17, $var7); if ($var18 >= 0) { $var13 = new nms_AxisAlignedBB; $var13.$minX = var$14; $var13.$minY = $var4; $var13.$minZ = $var8; $var13.$maxX = $var6; $var13.$maxY = var$33; $var13.$maxZ = var$13; ju_ArrayList_ensureCapacity($var14, $var7 + 1 | 0); var$4 = $var14.$array.data; $var18 = $var14.$size0; $var14.$size0 = $var18 + 1 | 0; var$4[$var18] = $var13; $var14.$modCount = $var14.$modCount + 1 | 0; } else if ($var17 >= 0 && $var18 < 0) { $var13 = $var14.$array.data[$var17]; $var13.$minX = var$14; $var13.$minY = $var4; $var13.$minZ = $var8; $var13.$maxX = $var6; $var13.$maxY = var$33; $var13.$maxZ = var$13; } else { $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } $var5.$nextPoolIndex = $var5.$nextPoolIndex + 1 | 0; $var14 = nms_EntityWither_attackEntitySelector; continue main; } $var13 = $this.$worldObj; $var14 = $var13.$mc2.$thePlayer; if ($var16 != $var14.$entityId) { $var14 = $var13.$entityHashSet; $var17 = $var16 ^ ($var16 >>> 20 | 0) ^ ($var16 >>> 12 | 0); $var11 = $var17 ^ ($var17 >>> 7 | 0) ^ ($var17 >>> 4 | 0); var$4 = $var14.$slots.data; $var14 = var$4[$var11 & (var$4.length - 1 | 0)]; bn: { while ($var14 !== null) { if ($var14.$hashEntry == $var16) { $var14 = $var14.$valueEntry; break bn; } $var14 = $var14.$nextEntry; } $var14 = null; } $var14 = $var14; } if ($var14 !== null && $var14.$isEntityAlive()) { var$13 = $this.$posX - $var14.$posX; $var8 = $this.$posY - $var14.$posY; var$14 = $this.$posZ - $var14.$posZ; if (var$13 * var$13 + $var8 * $var8 + var$14 * var$14 <= 900.0) break; } $var13 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); $var14 = jl_Integer_integerCache.data[$var10]; $var5 = $var13.$watchedObjects; if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var10003; } if (var$9 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var7 = var$9.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { var$7 = $var5.$key; if (var$9 !== var$7 && !(var$9 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == $var7 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var14 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var14.$value0 ? 1 : 0)) { var$9.$watchedObject = $var14; var$9.$watched = 1; $var13.$objectChanged = 1; } } $ptr = 8; case 8: $tmp = nms_EntityLivingBase_canEntityBeSeen($this, $var14); if ($rt_suspending()) { break main; } $var17 = $tmp; if ($var17) { bo: { $var17 = $var1 + 1 | 0; $var14 = $var14; var$14 = $var14.$posX; var$13 = $var14.$posY + $var14.$getEyeHeight() * 0.5; $var4 = $var14.$posZ; if (!$var17) { $var14 = $this.$rand; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; if (Long_lo(Long_shru(var$29, var$24)) / 1.6777216E7 < 0.0010000000474974513) { $var7 = 1; break bo; } } $var7 = 0; } $ptr = 9; continue main; } while (true) { $var13 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); $var14 = jl_Integer_integerCache.data[$var10]; $var5 = $var13.$watchedObjects; if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var10003; } if (var$9 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var7 = var$9.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { var$7 = $var5.$key; if (var$9 !== var$7 && !(var$9 !== var$7 ? (var$7 instanceof jl_Integer && var$7.$value0 == $var7 ? 1 : 0) : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var14 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var14.$value0 ? 1 : 0)) { var$9.$watchedObject = $var14; var$9.$watched = 1; $var13.$objectChanged = 1; } while (true) { $var1 = $var1 + 1 | 0; if ($var1 >= 3) { $var14 = $this.$attackTarget; if ($var14 === null) { $var14 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[$var10]; $var13 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[145]; if (var$9 !== null) { $var18 = var$9.$value0; var$4 = $var13.$elementData.data; $var13 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var13 !== null) { if ($var13.$origKeyHash == $var18) { $var5 = $var13.$key; if (var$9 !== $var5 && !(var$9 !== $var5 ? ($var5 instanceof jl_Integer && $var5.$value0 == $var18 ? 1 : 0) : 1) ? 0 : 1) break; } $var13 = $var13.$next3; } } else { $var13 = $var13.$elementData.data[0]; while ($var13 !== null && $var13.$key !== null) { $var13 = $var13.$next3; } } $var5 = $var13 === null ? null : $var13.$value1; $var13 = $var5.$watchedObject; if (!(var$7 === $var13 ? 1 : $var13 instanceof jl_Integer && $var13.$value0 == var$7.$value0 ? 1 : 0)) { $var5.$watchedObject = var$7; $var5.$watched = 1; $var14.$objectChanged = 1; } } else { $var17 = $var14.$entityId; $var14 = $this.$dataWatcher; if ($var17 >= (-128) && $var17 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var17 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var17; } $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[145]; if (var$7 !== null) { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !(var$7 !== var$9 ? (var$9 instanceof jl_Integer && var$9.$value0 == $var18 ? 1 : 0) : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var13.$value0 ? 1 : 0)) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } h: { $var17 = $this.$field_82222_j; if ($var17 > 0) { $var17 = $var17 - 1 | 0; $this.$field_82222_j = $var17; if (!$var17) { i: { $var13 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; $var5 = $rt_s(1854); $var14 = $rt_s(1854); if ($var5 !== $var14) { $var1 = $var5.$nativeString.length; $var19 = $var14.$nativeString.length; if ($var1 < $var19) $var19 = $var1; $var17 = 0; j: { while (true) { if ($var17 >= $var19) { $var5.$nativeString.length; $var14.$nativeString.length; break i; } if ($var17 < 0) break j; if ($var17 >= $var5.$nativeString.length) break j; $var18 = $var5.$nativeString.charCodeAt($var17); if ($var17 < 0) break; if ($var17 >= $var14.$nativeString.length) break; if ($var18 - $var14.$nativeString.charCodeAt($var17) | 0) break i; $var17 = $var17 + 1 | 0; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } } $var14 = $rt_s(1854); k: { l: { m: while (true) { if ($var13 === null) { $var13 = null; break k; } n: { $var5 = $var13.$key0; if ($var14 === $var5) $var17 = 0; else { $var1 = $var14.$nativeString.length; $var19 = $var5.$nativeString.length; if ($var1 < $var19) $var19 = $var1; $var1 = 0; while (true) { if ($var1 >= $var19) { $var17 = $var14.$nativeString.length - $var5.$nativeString.length | 0; break n; } if ($var1 < 0) break l; if ($var1 >= $var14.$nativeString.length) break l; $var18 = $var14.$nativeString.charCodeAt($var1); if ($var1 < 0) break m; if ($var1 >= $var5.$nativeString.length) break m; $var17 = $var18 - $var5.$nativeString.charCodeAt($var1) | 0; if ($var17) break; $var1 = $var1 + 1 | 0; } } } if (!$var17) break k; $var13 = $var17 >= 0 ? $var13.$right : $var13.$left; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = $var13 === null ? null : $var13.$value4; if ($var14 === null ? 0 : $var14.$valueBoolean) { var$13 = $this.$posY; $var10003 = var$13 | 0; if (var$13 < $var10003) $var10003 = $var10003 - 1 | 0; var$13 = $this.$posX; $var12 = var$13 | 0; if (var$13 < $var12) $var12 = $var12 - 1 | 0; var$13 = $this.$posZ; $var15 = var$13 | 0; if (var$13 < $var15) $var15 = $var15 - 1 | 0; $var17 = 0; $var18 = (-1); o: while (true) { if ($var18 > 1) { if (!$var17) break h; $var14 = $this.$worldObj; $var13 = null; $var1 = 1012; $var18 = $this.$posX | 0; $var19 = $this.$posY | 0; $var7 = $this.$posZ | 0; $var17 = 0; $var20 = 0; $var5 = $var14.$worldAccesses; $var9 = $rt_compare($var20, $var5.$size0); if ($var9 < 0) { if ($var20 >= 0 && $var9 < 0) { $var5 = $var5.$array.data[$var20]; $ptr = 11; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); } break h; } $var19 = (-1); while ($var19 <= 1) { $var7 = 0; while ($var7 <= 3) { $var20 = $var12 + $var18 | 0; $var9 = $var10003 + $var7 | 0; $var10 = $var15 + $var19 | 0; $var11 = nms_World_getBlockId($this.$worldObj, $var20, $var9, $var10); if ($var11 > 0) { nms_Block_$callClinit(); if ($var11 != nms_Block_bedrock.$blockID && $var11 != nms_Block_endPortal.$blockID && $var11 != nms_Block_endPortalFrame.$blockID) break o; } $var7 = $var7 + 1 | 0; } $var19 = $var19 + 1 | 0; } $var18 = $var18 + 1 | 0; } $var14 = $this.$worldObj; $var1 = 1; $ptr = 12; continue main; } } } } if (!($this.$ticksExisted % 20 | 0)) { $var14 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[var$26]; if ($var13 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var17 = $var13.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var17 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var17) { $var5 = $var14.$key; if ($var13 !== $var5 && !jl_Integer_equals($var13, $var5) ? 0 : 1) break; } $var14 = $var14.$next3; } } var$10 = ($var14 === null ? null : $var14.$value1).$watchedObject.$value3; if (var$10 > 0.0) { var$11 = var$10 + 1.0; $var14 = $this.$dataWatcher; var$12 = 0.0; $var13 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var13 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, $var13); $var13 = $var13 === null ? null : $var13.$value1; if ($var13.$field_111133_g) { $var13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var13); $var13.$field_111133_g = 0; } var$10 = $var13.$field_111139_h; if (var$11 >= var$12) var$12 = var$11 <= var$10 ? var$11 : var$10; $var13 = new jl_Float; $var13.$value3 = var$12; $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$26]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if ($var13 === $var5) $var17 = 1; else p: { if ($var5 instanceof jl_Float) { var$11 = $var13.$value3; var$12 = $var5.$value3; if (var$11 !== var$11 ? (var$12 === var$12 ? 0 : 1) : $rt_floatToRawIntBits(var$11) != $rt_floatToRawIntBits(var$12) ? 0 : 1) { $var17 = 1; break p; } } $var17 = 0; } if (!$var17) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } } return; } $var17 = $this.$ticksExisted; var$4 = $this.$field_82223_h.data; $var18 = $var1 - 1 | 0; if ($var17 < var$4[$var18]) continue; else break; } $var11 = $var17 + 10 | 0; $var14 = $this.$rand; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var17 = Long_lo(Long_shru(var$29, $var20)); while (true) { $var7 = $var17 % 10 | 0; if ((($var17 - $var7 | 0) + $var19 | 0) >= 0) break; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var17 = Long_lo(Long_shru(var$29, $var20)); } var$4[$var18] = $var11 + $var7 | 0; if ($this.$worldObj.$difficultySetting >= 2) { var$4 = $this.$field_82224_i.data; $var10003 = var$4[$var18]; var$4[$var18] = var$4[$var18] + 1 | 0; if ($var10003 > 15) { var$13 = $this.$posX; $var4 = var$13 - 10.0; var$13 = var$13 + 10.0; if ($var4 < var$13) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var4 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$13 - $var4) + $var4; } var$13 = $this.$posY; $var6 = var$13 - 5.0; var$13 = var$13 + 5.0; if ($var6 < var$13) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var6 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$13 - $var6) + $var6; } var$13 = $this.$posZ; $var8 = var$13 - 10.0; var$33 = var$13 + 10.0; if ($var8 < var$33) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var8 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$33 - $var8) + $var8; } $var7 = $var1 + 1 | 0; $var17 = 1; $ptr = 5; continue main; } } $var14 = $this.$dataWatcher; $var10003 = 17 + $var1 | 0; $var14 = $var14.$watchedObjects; var$34 = $rt_compare($var10003, (-128)); if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var10003; } if ($var13 === null) { $var5 = $var14.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var7 = $var13.$value0; var$4 = $var14.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { $var14 = $var5.$key; if ($var13 !== $var14 && !($var13 === $var14 ? 1 : $var14 instanceof jl_Integer && $var14.$value0 == $var7 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var16 = ($var5 === null ? null : $var5.$value1).$watchedObject.$value0; if ($var16 <= 0) { var$9 = $this.$worldObj; var$7 = $rt_cls(nms_EntityLivingBase); $var14 = $this.$boundingBox; var$14 = $var14.$minX - 20.0; $var4 = $var14.$minY - 8.0; $var8 = $var14.$minZ - 20.0; $var6 = $var14.$maxX + 20.0; var$33 = $var14.$maxY + 8.0; var$13 = $var14.$maxZ + 20.0; $var5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var17 = $var5.$nextPoolIndex; $var14 = $var5.$listAABB; $var7 = $var14.$size0; $var18 = $rt_compare($var17, $var7); if ($var18 >= 0) { $var13 = new nms_AxisAlignedBB; $var13.$minX = var$14; $var13.$minY = $var4; $var13.$minZ = $var8; $var13.$maxX = $var6; $var13.$maxY = var$33; $var13.$maxZ = var$13; ju_ArrayList_ensureCapacity($var14, $var7 + 1 | 0); var$4 = $var14.$array.data; $var18 = $var14.$size0; $var14.$size0 = $var18 + 1 | 0; var$4[$var18] = $var13; $var14.$modCount = $var14.$modCount + 1 | 0; } else if ($var17 >= 0 && $var18 < 0) { $var13 = $var14.$array.data[$var17]; $var13.$minX = var$14; $var13.$minY = $var4; $var13.$minZ = $var8; $var13.$maxX = $var6; $var13.$maxY = var$33; $var13.$maxZ = var$13; } else { $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } $var5.$nextPoolIndex = $var5.$nextPoolIndex + 1 | 0; $var14 = nms_EntityWither_attackEntitySelector; $ptr = 7; continue main; } $var13 = $this.$worldObj; $var14 = $var13.$mc2.$thePlayer; if ($var16 != $var14.$entityId) { $var14 = $var13.$entityHashSet; $var17 = $var16 ^ ($var16 >>> 20 | 0) ^ ($var16 >>> 12 | 0); $var11 = $var17 ^ ($var17 >>> 7 | 0) ^ ($var17 >>> 4 | 0); var$4 = $var14.$slots.data; $var14 = var$4[$var11 & (var$4.length - 1 | 0)]; bp: { while ($var14 !== null) { if ($var14.$hashEntry == $var16) { $var14 = $var14.$valueEntry; break bp; } $var14 = $var14.$nextEntry; } $var14 = null; } $var14 = $var14; } if ($var14 === null) continue; if (!$var14.$isEntityAlive()) continue; var$13 = $this.$posX - $var14.$posX; $var8 = $this.$posY - $var14.$posY; var$14 = $this.$posZ - $var14.$posZ; if (var$13 * var$13 + $var8 * $var8 + var$14 * var$14 > 900.0) continue; else break; } continue main; case 9: nms_EntityWither_func_82209_a($this, $var17, var$14, var$13, $var4, $var7); if ($rt_suspending()) { break main; } var$4 = $this.$field_82223_h; $var17 = $this.$ticksExisted + 40 | 0; $var14 = $this.$rand; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var11 = Long_lo(Long_shru(var$29, $var20)); while (true) { $var10003 = $var11 % 20 | 0; if ((($var11 - $var10003 | 0) + $var9 | 0) >= 0) break; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var11 = Long_lo(Long_shru(var$29, $var20)); } var$4.data[$var18] = $var17 + $var10003 | 0; $this.$field_82224_i.data[$var18] = 0; while (true) { while (true) { $var1 = $var1 + 1 | 0; if ($var1 >= 3) { $var14 = $this.$attackTarget; if ($var14 === null) { $var14 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[$var10]; $var13 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[145]; if (var$9 !== null) { $var18 = var$9.$value0; var$4 = $var13.$elementData.data; $var13 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var13 !== null) { if ($var13.$origKeyHash == $var18) { $var5 = $var13.$key; if (var$9 !== $var5 && !(var$9 !== $var5 ? ($var5 instanceof jl_Integer && $var5.$value0 == $var18 ? 1 : 0) : 1) ? 0 : 1) break; } $var13 = $var13.$next3; } } else { $var13 = $var13.$elementData.data[0]; while ($var13 !== null && $var13.$key !== null) { $var13 = $var13.$next3; } } $var5 = $var13 === null ? null : $var13.$value1; $var13 = $var5.$watchedObject; if (!(var$7 === $var13 ? 1 : $var13 instanceof jl_Integer && $var13.$value0 == var$7.$value0 ? 1 : 0)) { $var5.$watchedObject = var$7; $var5.$watched = 1; $var14.$objectChanged = 1; } } else { $var17 = $var14.$entityId; $var14 = $this.$dataWatcher; if ($var17 >= (-128) && $var17 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var17 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var17; } $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[145]; if (var$7 !== null) { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !(var$7 !== var$9 ? (var$9 instanceof jl_Integer && var$9.$value0 == $var18 ? 1 : 0) : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var13.$value0 ? 1 : 0)) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } i: { $var17 = $this.$field_82222_j; if ($var17 > 0) { $var17 = $var17 - 1 | 0; $this.$field_82222_j = $var17; if (!$var17) { t: { $var13 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; $var5 = $rt_s(1854); $var14 = $rt_s(1854); if ($var5 !== $var14) { $var1 = $var5.$nativeString.length; $var19 = $var14.$nativeString.length; if ($var1 < $var19) $var19 = $var1; $var17 = 0; v: { while (true) { if ($var17 >= $var19) { $var5.$nativeString.length; $var14.$nativeString.length; break t; } if ($var17 < 0) break v; if ($var17 >= $var5.$nativeString.length) break v; $var18 = $var5.$nativeString.charCodeAt($var17); if ($var17 < 0) break; if ($var17 >= $var14.$nativeString.length) break; if ($var18 - $var14.$nativeString.charCodeAt($var17) | 0) break t; $var17 = $var17 + 1 | 0; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } } $var14 = $rt_s(1854); x: { m: { bq: while (true) { if ($var13 === null) { $var13 = null; break x; } br: { $var5 = $var13.$key0; if ($var14 === $var5) $var17 = 0; else { $var1 = $var14.$nativeString.length; $var19 = $var5.$nativeString.length; if ($var1 < $var19) $var19 = $var1; $var1 = 0; while (true) { if ($var1 >= $var19) { $var17 = $var14.$nativeString.length - $var5.$nativeString.length | 0; break br; } if ($var1 < 0) break m; if ($var1 >= $var14.$nativeString.length) break m; $var18 = $var14.$nativeString.charCodeAt($var1); if ($var1 < 0) break bq; if ($var1 >= $var5.$nativeString.length) break bq; $var17 = $var18 - $var5.$nativeString.charCodeAt($var1) | 0; if ($var17) break; $var1 = $var1 + 1 | 0; } } } if (!$var17) break x; $var13 = $var17 >= 0 ? $var13.$right : $var13.$left; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = $var13 === null ? null : $var13.$value4; if ($var14 === null ? 0 : $var14.$valueBoolean) { var$13 = $this.$posY; $var10003 = var$13 | 0; if (var$13 < $var10003) $var10003 = $var10003 - 1 | 0; var$13 = $this.$posX; $var12 = var$13 | 0; if (var$13 < $var12) $var12 = $var12 - 1 | 0; var$13 = $this.$posZ; $var15 = var$13 | 0; if (var$13 < $var15) $var15 = $var15 - 1 | 0; $var17 = 0; $var18 = (-1); bs: while (true) { if ($var18 > 1) { if (!$var17) break i; $var14 = $this.$worldObj; $var13 = null; $var1 = 1012; $var18 = $this.$posX | 0; $var19 = $this.$posY | 0; $var7 = $this.$posZ | 0; $var17 = 0; $var20 = 0; $var5 = $var14.$worldAccesses; $var9 = $rt_compare($var20, $var5.$size0); if ($var9 < 0) { if ($var20 >= 0 && $var9 < 0) { $var5 = $var5.$array.data[$var20]; $ptr = 11; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); } break i; } $var19 = (-1); while ($var19 <= 1) { $var7 = 0; while ($var7 <= 3) { $var20 = $var12 + $var18 | 0; $var9 = $var10003 + $var7 | 0; $var10 = $var15 + $var19 | 0; $var11 = nms_World_getBlockId($this.$worldObj, $var20, $var9, $var10); if ($var11 > 0) { nms_Block_$callClinit(); if ($var11 != nms_Block_bedrock.$blockID && $var11 != nms_Block_endPortal.$blockID && $var11 != nms_Block_endPortalFrame.$blockID) break bs; } $var7 = $var7 + 1 | 0; } $var19 = $var19 + 1 | 0; } $var18 = $var18 + 1 | 0; } $var14 = $this.$worldObj; $var1 = 1; $ptr = 12; continue main; } } } } if (!($this.$ticksExisted % 20 | 0)) { $var14 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[var$26]; if ($var13 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var17 = $var13.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var17 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var17) { $var5 = $var14.$key; if ($var13 !== $var5 && !jl_Integer_equals($var13, $var5) ? 0 : 1) break; } $var14 = $var14.$next3; } } var$10 = ($var14 === null ? null : $var14.$value1).$watchedObject.$value3; if (var$10 > 0.0) { var$11 = var$10 + 1.0; $var14 = $this.$dataWatcher; var$12 = 0.0; $var13 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var13 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, $var13); $var13 = $var13 === null ? null : $var13.$value1; if ($var13.$field_111133_g) { $var13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var13); $var13.$field_111133_g = 0; } var$10 = $var13.$field_111139_h; if (var$11 >= var$12) var$12 = var$11 <= var$10 ? var$11 : var$10; $var13 = new jl_Float; $var13.$value3 = var$12; $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$26]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if ($var13 === $var5) $var17 = 1; else bt: { if ($var5 instanceof jl_Float) { var$11 = $var13.$value3; var$12 = $var5.$value3; if (var$11 !== var$11 ? (var$12 === var$12 ? 0 : 1) : $rt_floatToRawIntBits(var$11) != $rt_floatToRawIntBits(var$12) ? 0 : 1) { $var17 = 1; break bt; } } $var17 = 0; } if (!$var17) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } } return; } $var17 = $this.$ticksExisted; var$4 = $this.$field_82223_h.data; $var18 = $var1 - 1 | 0; if ($var17 < var$4[$var18]) continue; else break; } $var11 = $var17 + 10 | 0; $var14 = $this.$rand; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var17 = Long_lo(Long_shru(var$29, $var20)); while (true) { $var7 = $var17 % 10 | 0; if ((($var17 - $var7 | 0) + $var19 | 0) >= 0) break; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var17 = Long_lo(Long_shru(var$29, $var20)); } var$4[$var18] = $var11 + $var7 | 0; if ($this.$worldObj.$difficultySetting >= 2) { var$4 = $this.$field_82224_i.data; $var10003 = var$4[$var18]; var$4[$var18] = var$4[$var18] + 1 | 0; if ($var10003 > 15) { var$13 = $this.$posX; $var4 = var$13 - 10.0; var$13 = var$13 + 10.0; if ($var4 < var$13) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var4 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$13 - $var4) + $var4; } var$13 = $this.$posY; $var6 = var$13 - 5.0; var$13 = var$13 + 5.0; if ($var6 < var$13) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var6 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$13 - $var6) + $var6; } var$13 = $this.$posZ; $var8 = var$13 - 10.0; var$33 = var$13 + 10.0; if ($var8 < var$33) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var8 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$33 - $var8) + $var8; } $var7 = $var1 + 1 | 0; $var17 = 1; $ptr = 5; continue main; } } $var14 = $this.$dataWatcher; $var10003 = 17 + $var1 | 0; $var14 = $var14.$watchedObjects; var$34 = $rt_compare($var10003, (-128)); if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var10003; } if ($var13 === null) { $var5 = $var14.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var7 = $var13.$value0; var$4 = $var14.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { $var14 = $var5.$key; if ($var13 !== $var14 && !($var13 === $var14 ? 1 : $var14 instanceof jl_Integer && $var14.$value0 == $var7 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var16 = ($var5 === null ? null : $var5.$value1).$watchedObject.$value0; if ($var16 <= 0) { var$9 = $this.$worldObj; var$7 = $rt_cls(nms_EntityLivingBase); $var14 = $this.$boundingBox; var$14 = $var14.$minX - 20.0; $var4 = $var14.$minY - 8.0; $var8 = $var14.$minZ - 20.0; $var6 = $var14.$maxX + 20.0; var$33 = $var14.$maxY + 8.0; var$13 = $var14.$maxZ + 20.0; $var5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var17 = $var5.$nextPoolIndex; $var14 = $var5.$listAABB; $var7 = $var14.$size0; $var18 = $rt_compare($var17, $var7); if ($var18 >= 0) { $var13 = new nms_AxisAlignedBB; $var13.$minX = var$14; $var13.$minY = $var4; $var13.$minZ = $var8; $var13.$maxX = $var6; $var13.$maxY = var$33; $var13.$maxZ = var$13; ju_ArrayList_ensureCapacity($var14, $var7 + 1 | 0); var$4 = $var14.$array.data; $var18 = $var14.$size0; $var14.$size0 = $var18 + 1 | 0; var$4[$var18] = $var13; $var14.$modCount = $var14.$modCount + 1 | 0; } else if ($var17 >= 0 && $var18 < 0) { $var13 = $var14.$array.data[$var17]; $var13.$minX = var$14; $var13.$minY = $var4; $var13.$minZ = $var8; $var13.$maxX = $var6; $var13.$maxY = var$33; $var13.$maxZ = var$13; } else { $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } $var5.$nextPoolIndex = $var5.$nextPoolIndex + 1 | 0; $var14 = nms_EntityWither_attackEntitySelector; $ptr = 7; continue main; } $var13 = $this.$worldObj; $var14 = $var13.$mc2.$thePlayer; if ($var16 != $var14.$entityId) { $var14 = $var13.$entityHashSet; $var17 = $var16 ^ ($var16 >>> 20 | 0) ^ ($var16 >>> 12 | 0); $var11 = $var17 ^ ($var17 >>> 7 | 0) ^ ($var17 >>> 4 | 0); var$4 = $var14.$slots.data; $var14 = var$4[$var11 & (var$4.length - 1 | 0)]; q: { while ($var14 !== null) { if ($var14.$hashEntry == $var16) { $var14 = $var14.$valueEntry; break q; } $var14 = $var14.$nextEntry; } $var14 = null; } $var14 = $var14; } if ($var14 !== null && $var14.$isEntityAlive()) { var$13 = $this.$posX - $var14.$posX; $var8 = $this.$posY - $var14.$posY; var$14 = $this.$posZ - $var14.$posZ; if (var$13 * var$13 + $var8 * $var8 + var$14 * var$14 <= 900.0) break; } $var13 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); $var14 = jl_Integer_integerCache.data[$var10]; $var5 = $var13.$watchedObjects; if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var10003; } if (var$9 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var7 = var$9.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { var$7 = $var5.$key; if (var$9 !== var$7 && !(var$9 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == $var7 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var14 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var14.$value0 ? 1 : 0)) { var$9.$watchedObject = $var14; var$9.$watched = 1; $var13.$objectChanged = 1; } } $ptr = 8; continue main; case 10: ba: { $tmp = nms_EntityLivingBase_canEntityBeSeen($this, $var5); if ($rt_suspending()) { break main; } $var17 = $tmp; if ($var17) { if (!($var5 instanceof nms_EntityPlayer)) { $var17 = $var5.$entityId; $var14 = $this.$dataWatcher; if ($var17 >= (-128) && $var17 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var17 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var17; } $var5 = $var14.$watchedObjects; if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var10003; } if (var$9 !== null) { $var7 = var$9.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { var$7 = $var5.$key; if (var$9 !== var$7 && !(var$9 !== var$7 ? (var$7 instanceof jl_Integer && var$7.$value0 == $var7 ? 1 : 0) : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var13.$value0 ? 1 : 0)) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } else if (!$var5.$capabilities.$disableDamage) { $var17 = $var5.$entityId; $var14 = $this.$dataWatcher; if ($var17 >= (-128) && $var17 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var17 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var17; } $var5 = $var14.$watchedObjects; if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var10003; } if (var$9 !== null) { $var7 = var$9.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { var$7 = $var5.$key; if (var$9 !== var$7 && !(var$9 !== var$7 ? (var$7 instanceof jl_Integer && var$7.$value0 == $var7 ? 1 : 0) : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var13.$value0 ? 1 : 0)) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } } else { r: { while (true) { $var7 = $var13.$size0; $var17 = 0; bu: { while (true) { if ($var17 >= $var7) { $var17 = (-1); break bu; } if ($var17 < 0) break r; if ($var17 >= $var13.$size0) break r; $var14 = $var13.$array.data[$var17]; if ($var5 !== $var14 ? ($var5 === null ? ($var14 !== null ? 0 : 1) : $var5.$equals($var14)) : 1) break; $var17 = $var17 + 1 | 0; } } if ($var17 >= 0) ju_ArrayList_remove($var13, $var17); $var16 = $var16 + 1 | 0; if ($var16 >= 10) break ba; $var11 = $var13.$size0; if ($var11 ? 0 : 1) break ba; $var14 = $this.$rand; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var7 = Long_lo(Long_shru(var$29, $var20)); $var17 = $var11 - 1 | 0; if (!($var11 & $var17)) $var18 = Long_lo(Long_shr(Long_mul(Long_fromInt($var11), Long_fromInt($var7)), 31)); else while (true) { $var18 = $var7 % $var11 | 0; if ((($var7 - $var18 | 0) + $var17 | 0) >= 0) break; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var7 = Long_lo(Long_shru(var$29, $var20)); } if ($var18 < 0) break; if ($var18 >= $var11) break; $var5 = $var13.$array.data[$var18]; if ($var5 === $this) continue; bv: { if (!$var5.$isDead) { $var14 = $var5.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$26]; if (var$7 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var7 = var$7.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var7) { var$9 = $var14.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } $var14 = $var14.$next3; } } if (($var14 === null ? null : $var14.$value1).$watchedObject.$value3 > 0.0) { $var17 = 1; break bv; } } $var17 = 0; } if (!$var17) continue; else { continue main; } } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } } while (true) { $var1 = $var1 + 1 | 0; if ($var1 >= 3) { $var14 = $this.$attackTarget; if ($var14 === null) { $var14 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[$var10]; $var13 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[145]; if (var$9 !== null) { $var18 = var$9.$value0; var$4 = $var13.$elementData.data; $var13 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var13 !== null) { if ($var13.$origKeyHash == $var18) { $var5 = $var13.$key; if (var$9 !== $var5 && !(var$9 !== $var5 ? ($var5 instanceof jl_Integer && $var5.$value0 == $var18 ? 1 : 0) : 1) ? 0 : 1) break; } $var13 = $var13.$next3; } } else { $var13 = $var13.$elementData.data[0]; while ($var13 !== null && $var13.$key !== null) { $var13 = $var13.$next3; } } $var5 = $var13 === null ? null : $var13.$value1; $var13 = $var5.$watchedObject; if (!(var$7 === $var13 ? 1 : $var13 instanceof jl_Integer && $var13.$value0 == var$7.$value0 ? 1 : 0)) { $var5.$watchedObject = var$7; $var5.$watched = 1; $var14.$objectChanged = 1; } } else { $var17 = $var14.$entityId; $var14 = $this.$dataWatcher; if ($var17 >= (-128) && $var17 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var17 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var17; } $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[145]; if (var$7 !== null) { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !(var$7 !== var$9 ? (var$9 instanceof jl_Integer && var$9.$value0 == $var18 ? 1 : 0) : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var13.$value0 ? 1 : 0)) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } bw: { $var17 = $this.$field_82222_j; if ($var17 > 0) { $var17 = $var17 - 1 | 0; $this.$field_82222_j = $var17; if (!$var17) { bx: { $var13 = $this.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; $var5 = $rt_s(1854); $var14 = $rt_s(1854); if ($var5 !== $var14) { $var1 = $var5.$nativeString.length; $var19 = $var14.$nativeString.length; if ($var1 < $var19) $var19 = $var1; $var17 = 0; by: { while (true) { if ($var17 >= $var19) { $var5.$nativeString.length; $var14.$nativeString.length; break bx; } if ($var17 < 0) break by; if ($var17 >= $var5.$nativeString.length) break by; $var18 = $var5.$nativeString.charCodeAt($var17); if ($var17 < 0) break; if ($var17 >= $var14.$nativeString.length) break; if ($var18 - $var14.$nativeString.charCodeAt($var17) | 0) break bx; $var17 = $var17 + 1 | 0; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } } $var14 = $rt_s(1854); bz: { bA: { bB: while (true) { if ($var13 === null) { $var13 = null; break bz; } bC: { $var5 = $var13.$key0; if ($var14 === $var5) $var17 = 0; else { $var1 = $var14.$nativeString.length; $var19 = $var5.$nativeString.length; if ($var1 < $var19) $var19 = $var1; $var1 = 0; while (true) { if ($var1 >= $var19) { $var17 = $var14.$nativeString.length - $var5.$nativeString.length | 0; break bC; } if ($var1 < 0) break bA; if ($var1 >= $var14.$nativeString.length) break bA; $var18 = $var14.$nativeString.charCodeAt($var1); if ($var1 < 0) break bB; if ($var1 >= $var5.$nativeString.length) break bB; $var17 = $var18 - $var5.$nativeString.charCodeAt($var1) | 0; if ($var17) break; $var1 = $var1 + 1 | 0; } } } if (!$var17) break bz; $var13 = $var17 >= 0 ? $var13.$right : $var13.$left; } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var14); $rt_throw($var14); } $var14 = $var13 === null ? null : $var13.$value4; if ($var14 === null ? 0 : $var14.$valueBoolean) { var$13 = $this.$posY; $var10003 = var$13 | 0; if (var$13 < $var10003) $var10003 = $var10003 - 1 | 0; var$13 = $this.$posX; $var12 = var$13 | 0; if (var$13 < $var12) $var12 = $var12 - 1 | 0; var$13 = $this.$posZ; $var15 = var$13 | 0; if (var$13 < $var15) $var15 = $var15 - 1 | 0; $var17 = 0; $var18 = (-1); bD: while (true) { if ($var18 > 1) { if (!$var17) break bw; $var14 = $this.$worldObj; $var13 = null; $var1 = 1012; $var18 = $this.$posX | 0; $var19 = $this.$posY | 0; $var7 = $this.$posZ | 0; $var17 = 0; $var20 = 0; $var5 = $var14.$worldAccesses; $var9 = $rt_compare($var20, $var5.$size0); if ($var9 < 0) { if ($var20 >= 0 && $var9 < 0) { $var5 = $var5.$array.data[$var20]; $ptr = 11; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); } break bw; } $var19 = (-1); while ($var19 <= 1) { $var7 = 0; while ($var7 <= 3) { $var20 = $var12 + $var18 | 0; $var9 = $var10003 + $var7 | 0; $var10 = $var15 + $var19 | 0; $var11 = nms_World_getBlockId($this.$worldObj, $var20, $var9, $var10); if ($var11 > 0) { nms_Block_$callClinit(); if ($var11 != nms_Block_bedrock.$blockID && $var11 != nms_Block_endPortal.$blockID && $var11 != nms_Block_endPortalFrame.$blockID) break bD; } $var7 = $var7 + 1 | 0; } $var19 = $var19 + 1 | 0; } $var18 = $var18 + 1 | 0; } $var14 = $this.$worldObj; $var1 = 1; $ptr = 12; continue main; } } } } if (!($this.$ticksExisted % 20 | 0)) { $var14 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[var$26]; if ($var13 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var17 = $var13.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var17 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var17) { $var5 = $var14.$key; if ($var13 !== $var5 && !jl_Integer_equals($var13, $var5) ? 0 : 1) break; } $var14 = $var14.$next3; } } var$10 = ($var14 === null ? null : $var14.$value1).$watchedObject.$value3; if (var$10 > 0.0) { var$11 = var$10 + 1.0; $var14 = $this.$dataWatcher; var$12 = 0.0; $var13 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var13 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, $var13); $var13 = $var13 === null ? null : $var13.$value1; if ($var13.$field_111133_g) { $var13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var13); $var13.$field_111133_g = 0; } var$10 = $var13.$field_111139_h; if (var$11 >= var$12) var$12 = var$11 <= var$10 ? var$11 : var$10; $var13 = new jl_Float; $var13.$value3 = var$12; $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$26]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if ($var13 === $var5) $var17 = 1; else bE: { if ($var5 instanceof jl_Float) { var$11 = $var13.$value3; var$12 = $var5.$value3; if (var$11 !== var$11 ? (var$12 === var$12 ? 0 : 1) : $rt_floatToRawIntBits(var$11) != $rt_floatToRawIntBits(var$12) ? 0 : 1) { $var17 = 1; break bE; } } $var17 = 0; } if (!$var17) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } } return; } $var17 = $this.$ticksExisted; var$4 = $this.$field_82223_h.data; $var18 = $var1 - 1 | 0; if ($var17 < var$4[$var18]) continue; $var11 = $var17 + 10 | 0; $var14 = $this.$rand; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var17 = Long_lo(Long_shru(var$29, $var20)); while (true) { $var7 = $var17 % 10 | 0; if ((($var17 - $var7 | 0) + $var19 | 0) >= 0) break; var$29 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$29; $var17 = Long_lo(Long_shru(var$29, $var20)); } var$4[$var18] = $var11 + $var7 | 0; if ($this.$worldObj.$difficultySetting >= 2) { var$4 = $this.$field_82224_i.data; $var10003 = var$4[$var18]; var$4[$var18] = var$4[$var18] + 1 | 0; if ($var10003 > 15) { var$13 = $this.$posX; $var4 = var$13 - 10.0; var$13 = var$13 + 10.0; if ($var4 < var$13) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var4 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$13 - $var4) + $var4; } var$13 = $this.$posY; $var6 = var$13 - 5.0; var$13 = var$13 + 5.0; if ($var6 < var$13) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var6 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$13 - $var6) + $var6; } var$13 = $this.$posZ; $var8 = var$13 - 10.0; var$33 = var$13 + 10.0; if ($var8 < var$33) { var$30 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$30; var$29 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$30, $var12))), 27); var$19 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$19; $var8 = Long_toNumber(Long_add(var$29, Long_fromInt(Long_lo(Long_shru(var$19, $var15))))) * 1.1102230246251565E-16 * (var$33 - $var8) + $var8; } $var7 = $var1 + 1 | 0; $var17 = 1; $ptr = 5; continue main; } } $var14 = $this.$dataWatcher; $var10003 = 17 + $var1 | 0; $var14 = $var14.$watchedObjects; var$34 = $rt_compare($var10003, (-128)); if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var10003; } if ($var13 === null) { $var5 = $var14.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var7 = $var13.$value0; var$4 = $var14.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { $var14 = $var5.$key; if ($var13 !== $var14 && !($var13 === $var14 ? 1 : $var14 instanceof jl_Integer && $var14.$value0 == $var7 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var16 = ($var5 === null ? null : $var5.$value1).$watchedObject.$value0; if ($var16 <= 0) { var$9 = $this.$worldObj; var$7 = $rt_cls(nms_EntityLivingBase); $var14 = $this.$boundingBox; var$14 = $var14.$minX - 20.0; $var4 = $var14.$minY - 8.0; $var8 = $var14.$minZ - 20.0; $var6 = $var14.$maxX + 20.0; var$33 = $var14.$maxY + 8.0; var$13 = $var14.$maxZ + 20.0; $var5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var17 = $var5.$nextPoolIndex; $var14 = $var5.$listAABB; $var7 = $var14.$size0; $var18 = $rt_compare($var17, $var7); if ($var18 >= 0) { $var13 = new nms_AxisAlignedBB; $var13.$minX = var$14; $var13.$minY = $var4; $var13.$minZ = $var8; $var13.$maxX = $var6; $var13.$maxY = var$33; $var13.$maxZ = var$13; ju_ArrayList_ensureCapacity($var14, $var7 + 1 | 0); var$4 = $var14.$array.data; $var18 = $var14.$size0; $var14.$size0 = $var18 + 1 | 0; var$4[$var18] = $var13; $var14.$modCount = $var14.$modCount + 1 | 0; } else if ($var17 >= 0 && $var18 < 0) { $var13 = $var14.$array.data[$var17]; $var13.$minX = var$14; $var13.$minY = $var4; $var13.$minZ = $var8; $var13.$maxX = $var6; $var13.$maxY = var$33; $var13.$maxZ = var$13; } else { $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } $var5.$nextPoolIndex = $var5.$nextPoolIndex + 1 | 0; $var14 = nms_EntityWither_attackEntitySelector; $ptr = 7; continue main; } $var13 = $this.$worldObj; $var14 = $var13.$mc2.$thePlayer; if ($var16 != $var14.$entityId) { $var14 = $var13.$entityHashSet; $var17 = $var16 ^ ($var16 >>> 20 | 0) ^ ($var16 >>> 12 | 0); $var11 = $var17 ^ ($var17 >>> 7 | 0) ^ ($var17 >>> 4 | 0); var$4 = $var14.$slots.data; $var14 = var$4[$var11 & (var$4.length - 1 | 0)]; bF: { while ($var14 !== null) { if ($var14.$hashEntry == $var16) { $var14 = $var14.$valueEntry; break bF; } $var14 = $var14.$nextEntry; } $var14 = null; } $var14 = $var14; } if ($var14 !== null && $var14.$isEntityAlive()) { var$13 = $this.$posX - $var14.$posX; $var8 = $this.$posY - $var14.$posY; var$14 = $this.$posZ - $var14.$posZ; if (var$13 * var$13 + $var8 * $var8 + var$14 * var$14 <= 900.0) break; } $var13 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); $var14 = jl_Integer_integerCache.data[$var10]; $var5 = $var13.$watchedObjects; if (var$34 >= 0 && $var10003 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var10003 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var10003; } if (var$9 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var7 = var$9.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var7 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var7) { var$7 = $var5.$key; if (var$9 !== var$7 && !(var$9 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == $var7 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if (!($var14 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var14.$value0 ? 1 : 0)) { var$9.$watchedObject = $var14; var$9.$watched = 1; $var13.$objectChanged = 1; } } $ptr = 8; continue main; case 11: nms_RenderGlobal_playAuxSFX($var5, $var13, $var1, $var18, $var19, $var7, $var17); if ($rt_suspending()) { break main; } $var20 = $var20 + 1 | 0; $var5 = $var14.$worldAccesses; $var9 = $rt_compare($var20, $var5.$size0); if ($var9 >= 0) { if (!($this.$ticksExisted % 20 | 0)) { $var14 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[var$26]; if ($var13 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var17 = $var13.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var17 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var17) { $var5 = $var14.$key; if ($var13 !== $var5 && !jl_Integer_equals($var13, $var5) ? 0 : 1) break; } $var14 = $var14.$next3; } } var$10 = ($var14 === null ? null : $var14.$value1).$watchedObject.$value3; if (var$10 > 0.0) { var$11 = var$10 + 1.0; $var14 = $this.$dataWatcher; var$12 = 0.0; $var13 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var13 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, $var13); $var13 = $var13 === null ? null : $var13.$value1; if ($var13.$field_111133_g) { $var13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var13); $var13.$field_111133_g = 0; } var$10 = $var13.$field_111139_h; if (var$11 >= var$12) var$12 = var$11 <= var$10 ? var$11 : var$10; $var13 = new jl_Float; $var13.$value3 = var$12; $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$26]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if ($var13 === $var5) $var17 = 1; else bG: { if ($var5 instanceof jl_Float) { var$11 = $var13.$value3; var$12 = $var5.$value3; if (var$11 !== var$11 ? (var$12 === var$12 ? 0 : 1) : $rt_floatToRawIntBits(var$11) != $rt_floatToRawIntBits(var$12) ? 0 : 1) { $var17 = 1; break bG; } } $var17 = 0; } if (!$var17) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } } return; } if ($var20 >= 0 && $var9 < 0) { $var5 = $var5.$array.data[$var20]; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); case 12: $tmp = nms_World_destroyBlock($var14, $var20, $var9, $var10, $var1); if ($rt_suspending()) { break main; } $var1 = $tmp; $var17 = !$var1 && !$var17 ? 0 : 1; while (true) { $var7 = $var7 + 1 | 0; while ($var7 > 3) { $var19 = $var19 + 1 | 0; while ($var19 > 1) { $var18 = $var18 + 1 | 0; if ($var18 > 1) { if ($var17) { $var14 = $this.$worldObj; $var13 = null; $var1 = 1012; $var18 = $this.$posX | 0; $var19 = $this.$posY | 0; $var7 = $this.$posZ | 0; $var17 = 0; $var20 = 0; $var5 = $var14.$worldAccesses; $var9 = $rt_compare($var20, $var5.$size0); if ($var9 < 0) { if ($var20 >= 0 && $var9 < 0) { $var5 = $var5.$array.data[$var20]; $ptr = 11; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); } } if (!($this.$ticksExisted % 20 | 0)) { $var14 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[var$26]; if ($var13 === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { $var17 = $var13.$value0; var$4 = $var14.$elementData.data; $var14 = var$4[$var17 & (var$4.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var17) { $var5 = $var14.$key; if ($var13 !== $var5 && !jl_Integer_equals($var13, $var5) ? 0 : 1) break; } $var14 = $var14.$next3; } } var$10 = ($var14 === null ? null : $var14.$value1).$watchedObject.$value3; if (var$10 > 0.0) { var$11 = var$10 + 1.0; $var14 = $this.$dataWatcher; var$12 = 0.0; $var13 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var13 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, $var13); $var13 = $var13 === null ? null : $var13.$value1; if ($var13.$field_111133_g) { $var13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var13); $var13.$field_111133_g = 0; } var$10 = $var13.$field_111139_h; if (var$11 >= var$12) var$12 = var$11 <= var$10 ? var$11 : var$10; $var13 = new jl_Float; $var13.$value3 = var$12; $var5 = $var14.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$26]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var18 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[$var18 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var18) { var$9 = $var5.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$9 = $var5 === null ? null : $var5.$value1; $var5 = var$9.$watchedObject; if ($var13 === $var5) $var17 = 1; else bH: { if ($var5 instanceof jl_Float) { var$11 = $var13.$value3; var$12 = $var5.$value3; if (var$11 !== var$11 ? (var$12 === var$12 ? 0 : 1) : $rt_floatToRawIntBits(var$11) != $rt_floatToRawIntBits(var$12) ? 0 : 1) { $var17 = 1; break bH; } } $var17 = 0; } if (!$var17) { var$9.$watchedObject = $var13; var$9.$watched = 1; $var14.$objectChanged = 1; } } } return; } $var19 = (-1); } $var7 = 0; } $var20 = $var12 + $var18 | 0; $var9 = $var10003 + $var7 | 0; $var10 = $var15 + $var19 | 0; $var11 = nms_World_getBlockId($this.$worldObj, $var20, $var9, $var10); if ($var11 <= 0) continue; nms_Block_$callClinit(); if ($var11 == nms_Block_bedrock.$blockID) continue; if ($var11 == nms_Block_endPortal.$blockID) continue; if ($var11 != nms_Block_endPortalFrame.$blockID) break; } $var14 = $this.$worldObj; $var1 = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var14, $var13, $var17, var$4, $var5, $var1, var$7, $var18, var$9, var$10, var$11, var$12, var$13, var$14, $var4, $var19, $var20, $var7, var$19, var$20, $var12, $var15, $var9, var$24, $var10, var$26, $var10003, $var11, var$29, var$30, $var6, $var8, var$33, var$34, $var16, $ptr); }, nms_EntityWither_setInWeb = $this => { return; }, nms_EntityWither_getTotalArmorValue = $this => { return 4; }, nms_EntityWither_func_82209_a = ($this, $par1, $par2, $par4, $par6, $par8) => { let var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var21, var$15, $var9, var$17, $var11, $var13, $var15, $var17, $var19, var$23, var$24, var$25, var$26, var$27, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();var$17 = $thread.pop();$var9 = $thread.pop();var$15 = $thread.pop();$var21 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $this.$worldObj; var$7 = null; var$8 = 1014; var$9 = $this.$posX | 0; var$10 = $this.$posY | 0; var$11 = $this.$posZ | 0; var$12 = 0; var$13 = 0; $var21 = var$6.$worldAccesses; var$15 = $rt_compare(var$13, $var21.$size0); if (var$15 < 0) { if (var$13 >= 0 && var$15 < 0) { $var21 = $var21.$array.data[var$13]; $ptr = 1; continue main; } $var21 = new jl_IndexOutOfBoundsException; $var21.$suppressionEnabled = 1; $var21.$writableStackTrace = 1; $rt_throw($var21); } if ($par1 <= 0) $var9 = $this.$posX; else { var$17 = ($this.$renderYawOffset + (180 * ($par1 - 1 | 0) | 0)) / 180.0 * 3.1415927410125732; var$17 = nms_MathHelper_SIN_TABLE.data[(var$17 * 10430.3779296875 + 16384.0 | 0) & 65535]; $var9 = $this.$posX + var$17 * 1.3; } $var11 = $par1 > 0 ? $this.$posY + 2.2 : $this.$posY + 3.0; if ($par1 <= 0) $var13 = $this.$posZ; else { var$17 = ($this.$renderYawOffset + (180 * ($par1 - 1 | 0) | 0)) / 180.0 * 3.1415927410125732; var$17 = nms_MathHelper_SIN_TABLE.data[(var$17 * 10430.3779296875 | 0) & 65535]; $var13 = $this.$posZ + var$17 * 1.3; } $var15 = $par2 - $var9; $var17 = $par4 - $var11; $var19 = $par6 - $var13; $var21 = new nms_EntityWitherSkull; var$6 = $this.$worldObj; $ptr = 2; continue main; case 1: nms_RenderGlobal_playAuxSFX($var21, var$7, var$8, var$9, var$10, var$11, var$12); if ($rt_suspending()) { break main; } var$13 = var$13 + 1 | 0; $var21 = var$6.$worldAccesses; var$15 = $rt_compare(var$13, $var21.$size0); if (var$15 < 0) { if (var$13 >= 0 && var$15 < 0) { $var21 = $var21.$array.data[var$13]; continue main; } $var21 = new jl_IndexOutOfBoundsException; $var21.$suppressionEnabled = 1; $var21.$writableStackTrace = 1; $rt_throw($var21); } if ($par1 <= 0) $var9 = $this.$posX; else { var$17 = ($this.$renderYawOffset + (180 * ($par1 - 1 | 0) | 0)) / 180.0 * 3.1415927410125732; var$17 = nms_MathHelper_SIN_TABLE.data[(var$17 * 10430.3779296875 + 16384.0 | 0) & 65535]; $var9 = $this.$posX + var$17 * 1.3; } $var11 = $par1 > 0 ? $this.$posY + 2.2 : $this.$posY + 3.0; if ($par1 <= 0) $var13 = $this.$posZ; else { var$17 = ($this.$renderYawOffset + (180 * ($par1 - 1 | 0) | 0)) / 180.0 * 3.1415927410125732; var$17 = nms_MathHelper_SIN_TABLE.data[(var$17 * 10430.3779296875 | 0) & 65535]; $var13 = $this.$posZ + var$17 * 1.3; } $var15 = $par2 - $var9; $var17 = $par4 - $var11; $var19 = $par6 - $var13; $var21 = new nms_EntityWitherSkull; var$6 = $this.$worldObj; $ptr = 2; case 2: nms_EntityFireball__init_0($var21, var$6, $this, $var15, $var17, $var19); if ($rt_suspending()) { break main; } var$17 = 0.3125; var$23 = 0.3125; $ptr = 3; case 3: nms_Entity_setSize($var21, var$17, var$23); if ($rt_suspending()) { break main; } if ($par8) { var$6 = $var21.$dataWatcher; var$24 = jl_Byte_byteCache.data[129]; var$7 = var$6.$watchedObjects; jl_Integer_ensureIntegerCache(); var$25 = jl_Integer_integerCache.data[138]; if (var$25 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$13 = var$25.$value0; var$26 = var$7.$elementData.data; var$7 = var$26[var$13 & (var$26.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$13) { var$27 = var$7.$key; if (var$25 !== var$27 && !(var$25 === var$27 ? 1 : var$27 instanceof jl_Integer && var$27.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$27 = var$7 === null ? null : var$7.$value1; var$7 = var$27.$watchedObject; if (!(var$7 instanceof jl_Byte && var$7.$value2 == var$24.$value2 ? 1 : 0)) { var$27.$watchedObject = var$24; var$27.$watched = 1; var$6.$objectChanged = 1; } } $var21.$posY = $var11; $var21.$posX = $var9; $var21.$posZ = $var13; var$6 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$6, $var21); var$7 = var$6.$entityList; ju_HashMap_putImpl(var$7.$backingMap, $var21, var$7); if (!$par1) { var$6 = var$6.$entitySpawnQueue; ju_HashMap_putImpl(var$6.$backingMap, $var21, var$6); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par4, $par6, $par8, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var21, var$15, $var9, var$17, $var11, $var13, $var15, $var17, $var19, var$23, var$24, var$25, var$26, var$27, $ptr); }, nms_EntityWither_attackEntityWithRangedAttack = ($this, $par1EntityLivingBase, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = 0; var$4 = $par1EntityLivingBase.$posX; var$5 = $par1EntityLivingBase.$posY + $par1EntityLivingBase.$getEyeHeight() * 0.5; var$6 = $par1EntityLivingBase.$posZ; $par1EntityLivingBase = $this.$rand; var$7 = Long_and(Long_add(Long_mul($par1EntityLivingBase.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityLivingBase.$seed = var$7; var$8 = Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 >= 0.0010000000474974513 ? 0 : 1; $ptr = 1; case 1: nms_EntityWither_func_82209_a($this, var$3, var$4, var$5, var$6, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityWither_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let $var3, var$4, var$5, var$6, var$7, var$8, var$9, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; if ($par1DamageSource === nms_DamageSource_drown) return 0; $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[148]; if (var$4 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$5 = var$4.$value0; var$6 = $var3.$elementData.data; $var3 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$5) { var$7 = $var3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; if ($var3.$watchedObject.$value0 > 0) return 0; $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[134]; if (var$4 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$5 = var$4.$value0; var$6 = $var3.$elementData.data; $var3 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$5) { var$7 = $var3.$key; if (var$4 !== var$7 && !jl_Integer_equals(var$4, var$7) ? 0 : 1) break; } $var3 = $var3.$next3; } } var$8 = ($var3 === null ? null : $var3.$value1).$watchedObject.$value3; $var3 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$7 = $this.$attributeMap.$attributes; if ($var3 === null) $var3 = ju_HashMap_findNullKeyEntry(var$7); else { var$9 = nms_BaseAttribute_hashCode($var3); $var3 = ju_HashMap_findNonNullKeyEntry(var$7, $var3, var$9 & (var$7.$elementData.data.length - 1 | 0), var$9); } $var3 = $var3 === null ? null : $var3.$value1; if ($var3.$field_111133_g) { $var3.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var3); $var3.$field_111133_g = 0; } $var4 = var$8 > $var3.$field_111139_h / 2.0 ? 0 : 1; if ($var4 && $par1DamageSource.$getSourceOfDamage() instanceof nms_EntityArrow) return 0; $var3 = $par1DamageSource.$getEntity(); if ($var3 !== null && !($var3 instanceof nms_EntityPlayer) && $var3 instanceof nms_EntityLivingBase && $var3.$getCreatureAttribute() === nms_EnumCreatureAttribute_UNDEAD) return 0; if ($this.$field_82222_j <= 0) $this.$field_82222_j = 20; $var4 = 0; while (true) { var$6 = $this.$field_82224_i.data; if ($var4 >= var$6.length) break; var$6[$var4] = var$6[$var4] + 3 | 0; $var4 = $var4 + 1 | 0; } if ($this.$invulnerable) return 0; $ptr = 1; case 1: $tmp = nms_EntityLivingBase_attackEntityFrom($this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } $var4 = $tmp; if (!$var4) $var4 = 0; else { $par1DamageSource = $par1DamageSource.$getEntity(); if ($this.$riddenByEntity !== $par1DamageSource && $this.$ridingEntity !== $par1DamageSource) { if ($par1DamageSource !== $this) $this.$entityToAttack = $par1DamageSource; $var4 = 1; } else $var4 = 1; } return $var4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, $var3, var$4, var$5, var$6, var$7, var$8, var$9, $var4, $ptr); }, nms_EntityWither_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Item_$callClinit(); $par2 = nms_Item_netherStar.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$4 = new nms_EntityItem; var$5 = $this.$worldObj; var$6 = $this.$posX; var$7 = $this.$posY + 0.0; var$8 = $this.$posZ; $ptr = 1; case 1: nms_EntityItem__init_(var$4, var$5, var$6, var$7, var$8); if ($rt_suspending()) { break main; } var$9 = var$4.$dataWatcher; var$5 = var$9.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = ju_HashMap_entryByKey(var$5, jl_Integer_integerCache.data[138]); var$10 = var$5 === null ? null : var$5.$value1; if (!(var$3 !== var$10.$watchedObject ? 0 : 1)) { var$10.$watchedObject = var$3; var$10.$watched = 1; var$9.$objectChanged = 1; } var$5 = var$4.$dataWatcher; var$3 = var$5.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[138]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$5.$objectChanged = 1; var$4.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$4); var$5 = var$3.$entityList; ju_HashMap_putImpl(var$5.$backingMap, var$4, var$5); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$4, var$3); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityWither_despawnEntity = $this => { $this.$entityAge = 0; }, nms_EntityWither_getBrightnessForRender = ($this, $par1) => { return 15728880; }, nms_EntityWither_canBeCollidedWith = $this => { return $this.$isDead ? 0 : 1; }, nms_EntityWither_fall = ($this, $par1) => { return; }, nms_EntityWither_addPotionEffect = ($this, $par1PotionEffect) => { return; }, nms_EntityWither_isAIEnabled = $this => { return 1; }, nms_EntityWither_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_attackDamage); var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (300.0 !== var$3.$baseValue) { var$3.$baseValue = 300.0; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break b; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (0.6000000238418579 !== var$3.$baseValue) { var$3.$baseValue = 0.6000000238418579; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_followRange; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break c; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (40.0 !== var$1.$baseValue) { var$1.$baseValue = 40.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityWither_getCreatureAttribute = $this => { return nms_EnumCreatureAttribute_UNDEAD; }, nms_EntityWither_mountEntity = ($this, $par1Entity) => { $this.$ridingEntity = null; }, nms_EntityWither__clinit_ = () => { nms_EntityWither_attackEntitySelector = new nms_EntityWitherAttackFilter; }; function nms_RenderWither() { nms_RenderLiving.call(this); this.$field_82419_a = 0; } let nms_RenderWither_invulnerableWitherTextures = null, nms_RenderWither_witherTextures = null, nms_RenderWither_$callClinit = () => { nms_RenderWither_$callClinit = $rt_eraseClinit(nms_RenderWither); nms_RenderWither__clinit_(); }, nms_RenderWither__init_ = $this => { let var$1, var$2; nms_RenderWither_$callClinit(); var$1 = nms_ModelWither__init_(); nms_RendererLivingEntity_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$2; $this.$shadowOpaque = 1.0; $this.$mainModel = var$1; $this.$shadowSize = 1.0; $this.$field_82419_a = 32; }, nms_RenderWither__init_0 = () => { let var_0 = new nms_RenderWither(); nms_RenderWither__init_(var_0); return var_0; }, nms_RenderWither_func_82417_a = ($this, $par1EntityWither, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, $var5, var$10, var$11, $var4, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var5 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityWither = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $par1EntityWither.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[134]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !jl_Integer_equals(var$5, var$8) ? 0 : 1) break; } var$4 = var$4.$next3; } } $var5 = (var$4 === null ? null : var$4.$value1).$watchedObject.$value3; var$4 = nms_SharedMonsterAttributes_maxHealth; if ($par1EntityWither.$attributeMap === null) $par1EntityWither.$attributeMap = nms_ServersideAttributeMap__init_(); var$8 = $par1EntityWither.$attributeMap.$attributes; if (var$4 === null) var$4 = ju_HashMap_findNullKeyEntry(var$8); else { var$10 = nms_BaseAttribute_hashCode(var$4); var$4 = ju_HashMap_findNonNullKeyEntry(var$8, var$4, var$10 & (var$8.$elementData.data.length - 1 | 0), var$10); } var$4 = var$4 === null ? null : var$4.$value1; if (var$4.$field_111133_g) { var$4.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$4); var$4.$field_111133_g = 0; } if ($var5 > var$4.$field_111139_h / 2.0 ? 0 : 1) { var$4 = $par1EntityWither.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[128]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$11 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$11 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$11) { var$8 = var$4.$key; if (var$5 !== var$8 && !jl_Integer_equals(var$5, var$8) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; if (!(!(var$4.$watchedObject.$value2 & 32) ? 0 : 1)) { nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } } else { nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } } if ($par2 == 1) { $var4 = $par1EntityWither.$ticksExisted + $par3; nms_RenderWither_$callClinit(); $par1EntityWither = nms_RenderWither_invulnerableWitherTextures; $ptr = 1; continue main; } if ($par2 == 2) { nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_matrixMode = 5890; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_matrixMode = 5888; nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glDisable(3042); } } return (-1); case 1: nle_TextureLocation_bindTexture($par1EntityWither); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_matrixMode = 5890; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); $par3 = $var4 * 0.019999999552965164; $var5 = nms_MathHelper_SIN_TABLE.data[($par3 * 10430.3779296875 + 16384.0 | 0) & 65535] * 3.0; $var6 = $var4 * 0.009999999776482582; $par1EntityWither = nleg_EaglerAdapterGL30_deevis; $par1EntityWither.$x = $var5; $par1EntityWither.$y = $var6; $par1EntityWither.$z = 0.0; $par1EntityWither = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityWither, $par1EntityWither); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityWither = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityWither); $par1EntityWither.$out0 = var$4; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4, 16); $par1EntityWither.$sb = var$4; $par1EntityWither.$buffer0 = $rt_createCharArray(32); $par1EntityWither.$autoFlush = 0; $par1EntityWither.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityWither; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $this.$renderPassModel = $this.$mainModel; nleg_EaglerAdapterGL30_matrixMode = 5888; nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 0.5; nleg_EaglerAdapterGL30_colorG = 0.5; nleg_EaglerAdapterGL30_colorB = 0.5; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glBlendFunc(1, 1); $par1EntityWither = nleg_EaglerAdapterGL30_deevis; $par1EntityWither.$x = 0.0; $par1EntityWither.$y = (-0.009999999776482582); $par1EntityWither.$z = 0.0; $par1EntityWither = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityWither, $par1EntityWither); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityWither = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityWither); $par1EntityWither.$out0 = var$4; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4, 16); $par1EntityWither.$sb = var$4; $par1EntityWither.$buffer0 = $rt_createCharArray(32); $par1EntityWither.$autoFlush = 0; $par1EntityWither.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityWither; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityWither = nleg_EaglerAdapterGL30_deevis; $par1EntityWither.$x = 1.100000023841858; $par1EntityWither.$y = 1.100000023841858; $par1EntityWither.$z = 1.100000023841858; $par1EntityWither = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityWither, $par1EntityWither); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityWither = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityWither); $par1EntityWither.$out0 = var$4; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4, 16); $par1EntityWither.$sb = var$4; $par1EntityWither.$buffer0 = $rt_createCharArray(32); $par1EntityWither.$autoFlush = 0; $par1EntityWither.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityWither; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityWither, $par2, $par3, var$4, var$5, var$6, var$7, var$8, $var5, var$10, var$11, $var4, $var6, $ptr); }, nms_RenderWither_doRenderLiving = ($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9) => { let var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par1EntityLiving; $par1EntityLiving = var$7.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[134]; if (var$8 === null) { $par1EntityLiving = $par1EntityLiving.$elementData.data[0]; while ($par1EntityLiving !== null && $par1EntityLiving.$key !== null) { $par1EntityLiving = $par1EntityLiving.$next3; } } else { var$9 = jl_Integer_hashCode(var$8.$value0); var$10 = $par1EntityLiving.$elementData.data; $par1EntityLiving = var$10[var$9 & (var$10.length - 1 | 0)]; while ($par1EntityLiving !== null && !($par1EntityLiving.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$8, $par1EntityLiving.$key))) { $par1EntityLiving = $par1EntityLiving.$next3; } } var$11 = ($par1EntityLiving === null ? null : $par1EntityLiving.$value1).$watchedObject.$value3; $par1EntityLiving = nms_SharedMonsterAttributes_maxHealth; if (var$7.$attributeMap === null) var$7.$attributeMap = nms_ServersideAttributeMap__init_(); $par1EntityLiving = ju_HashMap_entryByKey(var$7.$attributeMap.$attributes, $par1EntityLiving); $par1EntityLiving = $par1EntityLiving === null ? null : $par1EntityLiving.$value1; if ($par1EntityLiving.$field_111133_g) { $par1EntityLiving.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($par1EntityLiving); $par1EntityLiving.$field_111133_g = 0; } nms_BossStatus_healthScale = var$11 / $par1EntityLiving.$field_111139_h; nms_BossStatus_statusBarLength = 100; $par1EntityLiving = var$7.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[138]; if (var$12 === null) $par1EntityLiving = ju_HashMap_findNullKeyEntry($par1EntityLiving); else { var$13 = jl_Integer_hashCode0(var$12); $par1EntityLiving = ju_HashMap_findNonNullKeyEntry($par1EntityLiving, var$12, var$13 & ($par1EntityLiving.$elementData.data.length - 1 | 0), var$13); } $par1EntityLiving = $par1EntityLiving === null ? null : $par1EntityLiving.$value1; if ($par1EntityLiving.$watchedObject.$nativeString.length <= 0 ? 0 : 1) { $par1EntityLiving = var$7.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[138]; if (var$12 === null) $par1EntityLiving = ju_HashMap_findNullKeyEntry($par1EntityLiving); else { var$13 = jl_Integer_hashCode0(var$12); $par1EntityLiving = ju_HashMap_findNonNullKeyEntry($par1EntityLiving, var$12, var$13 & ($par1EntityLiving.$elementData.data.length - 1 | 0), var$13); } $par1EntityLiving = ($par1EntityLiving === null ? null : $par1EntityLiving.$value1).$watchedObject; } else { nms_EntityList_$callClinit(); $par1EntityLiving = nms_EntityList_classToStringMapping; var$12 = var$7.constructor; if (var$12 === null) var$8 = null; else { var$8 = var$12.classObject; if (var$8 === null) { var$8 = new jl_Class; jl_Object__init_(var$8); var$8.$platformClass = var$12; var$12.classObject = var$8; } } if (var$8 === null) { $par1EntityLiving = $par1EntityLiving.$elementData.data[0]; while ($par1EntityLiving !== null && $par1EntityLiving.$key !== null) { $par1EntityLiving = $par1EntityLiving.$next3; } } else { var$9 = jl_Object_identity(var$8); var$10 = $par1EntityLiving.$elementData.data; $par1EntityLiving = var$10[var$9 & (var$10.length - 1 | 0)]; while ($par1EntityLiving !== null && !($par1EntityLiving.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$8, $par1EntityLiving.$key))) { $par1EntityLiving = $par1EntityLiving.$next3; } } var$12 = $par1EntityLiving === null ? null : $par1EntityLiving.$value1; if (var$12 === null) var$12 = $rt_s(400); $par1EntityLiving = new jl_StringBuilder; $par1EntityLiving.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1($par1EntityLiving, $par1EntityLiving.$length0, $rt_s(1257)); jl_AbstractStringBuilder_insert1($par1EntityLiving, $par1EntityLiving.$length0, var$12); jl_AbstractStringBuilder_insert1($par1EntityLiving, $par1EntityLiving.$length0, $rt_s(1258)); var$12 = new jl_String; var$10 = $par1EntityLiving.$buffer; var$14 = var$10.data; var$9 = $par1EntityLiving.$length0; var$15 = var$14.length; if (var$9 >= 0 && var$9 <= (var$15 - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString(var$10.data, 0, var$9); nms_StatCollector_$callClinit(); $par1EntityLiving = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$12); } else $rt_throw(jl_IndexOutOfBoundsException__init_0()); } nms_BossStatus_bossName = $par1EntityLiving; nms_BossStatus_field_82825_d = 1; if (32 != $this.$field_82419_a) { $this.$field_82419_a = 32; $this.$mainModel = nms_ModelWither__init_(); } $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, var$7, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, var$7, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, $par2, $par4, $par6, $par8, $par9, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_RenderWither_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { let var$3, var$4, var$5, var$6, var$7; $par1EntityLivingBase = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[148]; if (var$3 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$4 = var$3.$value0; var$5 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$4) { var$6 = $par1EntityLivingBase.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } var$7 = ($par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1).$watchedObject.$value0; if (var$7 <= 0) { nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = 2.0; $par1EntityLivingBase.$y = 2.0; $par1EntityLivingBase.$z = 2.0; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; jl_Object__init_(var$6); var$6.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$6); $par1EntityLivingBase.$sb = var$6; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { $par2 = 2.0 - (var$7 - $par2) / 220.0 * 0.5; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = $par2; $par1EntityLivingBase.$y = $par2; $par1EntityLivingBase.$z = $par2; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; jl_Object__init_(var$6); var$6.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$6); $par1EntityLivingBase.$sb = var$6; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } }, nms_RenderWither_shouldRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; $ptr = 1; case 1: $tmp = nms_RenderWither_func_82417_a($this, $par1EntityLivingBase, $par2, $par3); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $ptr); }, nms_RenderWither_bindTexture = ($this, $par1EntityLiving) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityLiving = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLiving = $par1EntityLiving.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[148]; if (var$2 === null) { $par1EntityLiving = $par1EntityLiving.$elementData.data[0]; while ($par1EntityLiving !== null && $par1EntityLiving.$key !== null) { $par1EntityLiving = $par1EntityLiving.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1EntityLiving.$elementData.data; $par1EntityLiving = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1EntityLiving !== null) { if ($par1EntityLiving.$origKeyHash == var$3) { var$5 = $par1EntityLiving.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } $par1EntityLiving = $par1EntityLiving.$next3; } } $par1EntityLiving = $par1EntityLiving === null ? null : $par1EntityLiving.$value1; a: { b: { var$6 = $par1EntityLiving.$watchedObject.$value0; if (var$6 > 0) { if (var$6 > 80) break b; if (((var$6 / 5 | 0) % 2 | 0) != 1) break b; } var$3 = 0; break a; } var$3 = 1; } if (!var$3) { nms_RenderWither_$callClinit(); $par1EntityLiving = nms_RenderWither_witherTextures; $ptr = 1; continue main; } nms_RenderWither_$callClinit(); $par1EntityLiving = nms_RenderWither_invulnerableWitherTextures; $ptr = 2; continue main; case 1: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; case 2: nle_TextureLocation_bindTexture($par1EntityLiving); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLiving, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_RenderWither_inheritRenderPass = ($this, $par1EntityLivingBase, $par2, $par3) => { return (-1); }, nms_RenderWither_getEntityTexture = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5, var$6; $par1Entity = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[148]; if (var$2 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1Entity.$elementData.data; $par1Entity = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$3) { var$5 = $par1Entity.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; a: { b: { var$6 = $par1Entity.$watchedObject.$value0; if (var$6 > 0) { if (var$6 > 80) break b; if (((var$6 / 5 | 0) % 2 | 0) != 1) break b; } nms_RenderWither_$callClinit(); $par1Entity = nms_RenderWither_witherTextures; break a; } nms_RenderWither_$callClinit(); $par1Entity = nms_RenderWither_invulnerableWitherTextures; } return $par1Entity; }, nms_RenderWither_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par1Entity; $par1Entity = var$7.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[134]; if (var$8 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$9 = jl_Integer_hashCode(var$8.$value0); var$10 = $par1Entity.$elementData.data; $par1Entity = var$10[var$9 & (var$10.length - 1 | 0)]; while ($par1Entity !== null && !($par1Entity.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$8, $par1Entity.$key))) { $par1Entity = $par1Entity.$next3; } } var$11 = ($par1Entity === null ? null : $par1Entity.$value1).$watchedObject.$value3; $par1Entity = nms_SharedMonsterAttributes_maxHealth; if (var$7.$attributeMap === null) var$7.$attributeMap = nms_ServersideAttributeMap__init_(); $par1Entity = ju_HashMap_entryByKey(var$7.$attributeMap.$attributes, $par1Entity); $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if ($par1Entity.$field_111133_g) { $par1Entity.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($par1Entity); $par1Entity.$field_111133_g = 0; } nms_BossStatus_healthScale = var$11 / $par1Entity.$field_111139_h; nms_BossStatus_statusBarLength = 100; $par1Entity = var$7.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[138]; if (var$12 === null) $par1Entity = ju_HashMap_findNullKeyEntry($par1Entity); else { var$13 = jl_Integer_hashCode0(var$12); $par1Entity = ju_HashMap_findNonNullKeyEntry($par1Entity, var$12, var$13 & ($par1Entity.$elementData.data.length - 1 | 0), var$13); } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if ($par1Entity.$watchedObject.$nativeString.length <= 0 ? 0 : 1) { $par1Entity = var$7.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[138]; if (var$12 === null) $par1Entity = ju_HashMap_findNullKeyEntry($par1Entity); else { var$13 = jl_Integer_hashCode0(var$12); $par1Entity = ju_HashMap_findNonNullKeyEntry($par1Entity, var$12, var$13 & ($par1Entity.$elementData.data.length - 1 | 0), var$13); } $par1Entity = ($par1Entity === null ? null : $par1Entity.$value1).$watchedObject; } else { nms_EntityList_$callClinit(); $par1Entity = nms_EntityList_classToStringMapping; var$12 = var$7.constructor; if (var$12 === null) var$8 = null; else { var$8 = var$12.classObject; if (var$8 === null) { var$8 = new jl_Class; jl_Object__init_(var$8); var$8.$platformClass = var$12; var$12.classObject = var$8; } } if (var$8 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$9 = jl_Object_identity(var$8); var$10 = $par1Entity.$elementData.data; $par1Entity = var$10[var$9 & (var$10.length - 1 | 0)]; while ($par1Entity !== null && !($par1Entity.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$8, $par1Entity.$key))) { $par1Entity = $par1Entity.$next3; } } var$12 = $par1Entity === null ? null : $par1Entity.$value1; if (var$12 === null) var$12 = $rt_s(400); $par1Entity = new jl_StringBuilder; $par1Entity.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1($par1Entity, $par1Entity.$length0, $rt_s(1257)); jl_AbstractStringBuilder_insert1($par1Entity, $par1Entity.$length0, var$12); jl_AbstractStringBuilder_insert1($par1Entity, $par1Entity.$length0, $rt_s(1258)); var$12 = new jl_String; var$10 = $par1Entity.$buffer; var$14 = var$10.data; var$9 = $par1Entity.$length0; var$15 = var$14.length; if (var$9 >= 0 && var$9 <= (var$15 - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString(var$10.data, 0, var$9); nms_StatCollector_$callClinit(); $par1Entity = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$12); } else $rt_throw(jl_IndexOutOfBoundsException__init_0()); } nms_BossStatus_bossName = $par1Entity; nms_BossStatus_field_82825_d = 1; if (32 != $this.$field_82419_a) { $this.$field_82419_a = 32; $this.$mainModel = nms_ModelWither__init_(); } $ptr = 1; case 1: nms_RendererLivingEntity_doRenderLiving($this, var$7, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } nms_RenderLiving_func_110827_b($this, var$7, $par2, $par4, $par6, $par8, $par9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_RenderWither__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2052); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderWither_invulnerableWitherTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2053); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderWither_witherTextures = var$1; }, nms_RenderEntity = $rt_classWithoutFields(nms_Render), nms_RenderEntity__init_ = $this => { let var$1; nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; }, nms_RenderEntity__init_0 = () => { let var_0 = new nms_RenderEntity(); nms_RenderEntity__init_(var_0); return var_0; }, nms_RenderEntity_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { nleg_EaglerAdapterGL30_glPushMatrix(); nms_Render_renderOffsetAABB($par1Entity.$boundingBox, $par2 - $par1Entity.$lastTickPosX, $par4 - $par1Entity.$lastTickPosY, $par6 - $par1Entity.$lastTickPosZ); nleg_EaglerAdapterGL30_glPopMatrix(); }; function nms_EntityHanging() { let a = this; nms_Entity.call(a); a.$tickCounter1 = 0; a.$hangingDirection = 0; a.$xPosition2 = 0; a.$yPosition2 = 0; a.$zPosition1 = 0; } let nms_EntityHanging_entityInit = $this => { return; }, nms_EntityHanging_setDirection = ($this, $par1) => { let $var2, $var3, $var4, var$5, $var7, var$7, var$8, $var5, $var6, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20; $this.$hangingDirection = $par1; $var2 = $par1 * 90 | 0; $this.$rotationYaw = $var2; $this.$prevRotationYaw = $var2; $var2 = $this.$getWidthPixels(); $var3 = $this.$getHeightPixels(); $var4 = $this.$getWidthPixels(); var$5 = $rt_compare($par1, 2); if (var$5 && $par1) $var2 = 0.5; else { $var4 = 0.5; $var7 = nms_Direction_rotateOpposite.data[$par1] * 90 | 0; $this.$prevRotationYaw = $var7; $this.$rotationYaw = $var7; } $var2 = $var2 / 32.0; var$7 = $var3 / 32.0; var$8 = $var4 / 32.0; $var5 = $this.$xPosition2 + 0.5; $var6 = $this.$yPosition2 + 0.5; $var7 = $this.$zPosition1 + 0.5; if (!var$5) $var7 = $var7 - 0.5625; var$11 = $rt_compare($par1, 1); if (!var$11) $var5 = $var5 - 0.5625; if (!$par1) $var7 = $var7 + 0.5625; var$12 = $rt_compare($par1, 3); if (!var$12) $var5 = $var5 + 0.5625; if (!var$5) { var$13 = $this.$getWidthPixels(); $var5 = $var5 - (var$13 == 32 ? 0.5 : var$13 != 64 ? 0.0 : 0.5); } if (!var$11) { var$11 = $this.$getWidthPixels(); $var7 = $var7 + (var$11 == 32 ? 0.5 : var$11 != 64 ? 0.0 : 0.5); } if (!$par1) { var$5 = $this.$getWidthPixels(); $var5 = $var5 + (var$5 == 32 ? 0.5 : var$5 != 64 ? 0.0 : 0.5); } if (!var$12) { var$5 = $this.$getWidthPixels(); $var7 = $var7 - (var$5 == 32 ? 0.5 : var$5 != 64 ? 0.0 : 0.5); } $par1 = $this.$getHeightPixels(); $var3 = $var6 + ($par1 == 32 ? 0.5 : $par1 != 64 ? 0.0 : 0.5); nms_Entity_setPosition($this, $var5, $var3, $var7); var$14 = $this.$boundingBox; var$15 = $var5 - $var2 + 0.03125; var$16 = $var3 - var$7 + 0.03125; var$17 = $var7 - var$8 + 0.03125; var$18 = $var5 + $var2 + (-0.03125); var$19 = $var3 + var$7 + (-0.03125); var$20 = $var7 + var$8 + (-0.03125); var$14.$minX = var$15; var$14.$minY = var$16; var$14.$minZ = var$17; var$14.$maxX = var$18; var$14.$maxY = var$19; var$14.$maxZ = var$20; }, nms_EntityHanging_onUpdate = $this => { let var$1, var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$tickCounter1; $this.$tickCounter1 = var$1 + 1 | 0; if (var$1 == 100 && !$this.$worldObj.$isRemote) { $this.$tickCounter1 = 0; if (!$this.$isDead) { $ptr = 1; continue main; } } return; case 1: $tmp = $this.$onValidSurface(); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2) return; $this.$isDead = 1; var$3 = null; $ptr = 2; case 2: $this.$onBroken(var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); }, nms_EntityHanging_onValidSurface = $this => { let $var8, $var11, $var1, $var2, $var3, $var5, var$7, var$8, $var2_0, $var6, $var9, $var10$index, $var1_0, $var10$index_0, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var10$index_0 = $thread.pop();$var1_0 = $thread.pop();$var10$index = $thread.pop();$var9 = $thread.pop();$var6 = $thread.pop();$var2_0 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$var11 = $thread.pop();$var8 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = $this.$worldObj; $var11 = $this.$boundingBox; $ptr = 1; case 1: $tmp = nms_World_getCollidingBoundingBoxes($var8, $this, $var11); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!($var8.$size0 ? 0 : 1)) return 0; $var1 = $this.$getWidthPixels() / 16 | 0; if (1 > $var1) $var1 = 1; $var2 = $this.$getHeightPixels() / 16 | 0; if (1 > $var2) $var2 = 1; $var3 = $this.$xPosition2; $var5 = $this.$zPosition1; if ($this.$hangingDirection == 2) { var$7 = $this.$posX - $this.$getWidthPixels() / 32.0; $var3 = var$7 | 0; if (var$7 < $var3) $var3 = $var3 - 1 | 0; } if ($this.$hangingDirection == 1) { var$7 = $this.$posZ - $this.$getWidthPixels() / 32.0; $var5 = var$7 | 0; if (var$7 < $var5) $var5 = $var5 - 1 | 0; } if (!$this.$hangingDirection) { var$7 = $this.$posX - $this.$getWidthPixels() / 32.0; $var3 = var$7 | 0; if (var$7 < $var3) $var3 = $var3 - 1 | 0; } if ($this.$hangingDirection == 3) { var$8 = $this.$posZ - $this.$getWidthPixels() / 32.0; $var5 = var$8 | 0; if (var$8 < $var5) $var5 = $var5 - 1 | 0; } var$8 = $this.$posY - $this.$getHeightPixels() / 32.0; $var2_0 = var$8 | 0; if (var$8 < $var2_0) $var2_0 = $var2_0 - 1 | 0; $var6 = 0; a: while (true) { if ($var6 >= $var1) { $var9 = nms_World_getEntitiesWithinAABBExcludingEntity($this.$worldObj, $this, $this.$boundingBox, null); $var10$index = 0; $var1_0 = $var9.$modCount; $var1 = $var9.$size(); while (true) { if (!($var10$index >= $var1 ? 0 : 1)) return 1; if ($var1_0 < $var9.$modCount) { $var8 = new ju_ConcurrentModificationException; $var8.$suppressionEnabled = 1; $var8.$writableStackTrace = 1; $rt_throw($var8); } $var10$index_0 = $var10$index + 1 | 0; if ($var9.$get($var10$index) instanceof nms_EntityHanging) break; $var10$index = $var10$index_0; } return 0; } $var7 = 0; while ($var7 < $var2) { $var1_0 = $this.$hangingDirection; if ($var1_0 != 2 && $var1_0) { $var1_0 = nms_World_getBlockId($this.$worldObj, $this.$xPosition2, $var2_0 + $var7 | 0, $var5 + $var6 | 0); if (!$var1_0) { nms_Material_$callClinit(); $var8 = nms_Material_air; } else { nms_Block_$callClinit(); $var8 = nms_Block_blocksList.data[$var1_0].$blockMaterial; } } else { $var1_0 = nms_World_getBlockId($this.$worldObj, $var3 + $var6 | 0, $var2_0 + $var7 | 0, $this.$zPosition1); if (!$var1_0) { nms_Material_$callClinit(); $var8 = nms_Material_air; } else { nms_Block_$callClinit(); $var8 = nms_Block_blocksList.data[$var1_0].$blockMaterial; } } if (!$var8.$isSolid()) break a; $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } return 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var8, $var11, $var1, $var2, $var3, $var5, var$7, var$8, $var2_0, $var6, $var9, $var10$index, $var1_0, $var10$index_0, $var7, $ptr); }, nms_EntityHanging_canBeCollidedWith = $this => { return 1; }, nms_EntityHanging_hitByEntity = ($this, $par1Entity) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!($par1Entity instanceof nms_EntityPlayer)) var$2 = 0; else if ($this.$invulnerable) var$2 = 0; else { if (!$this.$isDead && !$this.$worldObj.$isRemote) { $this.$isDead = 1; $this.$velocityChanged = 1; $ptr = 1; continue main; } var$2 = 1; } return var$2; case 1: $this.$onBroken($par1Entity); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, var$2, $ptr); }, nms_EntityHanging_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; if (!$this.$isDead && !$this.$worldObj.$isRemote) { $this.$isDead = 1; $this.$velocityChanged = 1; $par1DamageSource = $par1DamageSource.$getEntity(); $ptr = 1; continue main; } return 1; case 1: $this.$onBroken($par1DamageSource); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, $ptr); }, nms_EntityHanging_moveEntity = ($this, $par1, $par3, $par5) => { let var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj.$isRemote && !$this.$isDead && $par1 * $par1 + $par3 * $par3 + $par5 * $par5 > 0.0) { $this.$isDead = 1; var$4 = null; $ptr = 1; continue main; } return; case 1: $this.$onBroken(var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3, $par5, var$4, $ptr); }, nms_EntityHanging_addVelocity = ($this, $par1, $par3, $par5) => { let var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj.$isRemote && !$this.$isDead && $par1 * $par1 + $par3 * $par3 + $par5 * $par5 > 0.0) { $this.$isDead = 1; var$4 = null; $ptr = 1; continue main; } return; case 1: $this.$onBroken(var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3, $par5, var$4, $ptr); }, nms_EntityHanging_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4; a: { var$2 = $this.$hangingDirection << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2054); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2054), var$4); var$2 = $this.$xPosition2; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(2055); var$4.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2055), var$4); var$2 = $this.$yPosition2; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(2056); var$4.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2056), var$4); var$2 = $this.$zPosition1; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(2057); var$4.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2057), var$4); switch ($this.$hangingDirection) { case 0: break; case 1: var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(2058); $par1NBTTagCompound.$data = 1; ju_HashMap_putImpl(var$4, $rt_s(2058), $par1NBTTagCompound); break a; case 2: var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(2058); $par1NBTTagCompound.$data = 0; ju_HashMap_putImpl(var$4, $rt_s(2058), $par1NBTTagCompound); break a; case 3: var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(2058); $par1NBTTagCompound.$data = 3; ju_HashMap_putImpl(var$4, $rt_s(2058), $par1NBTTagCompound); break a; default: break a; } var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(2058); $par1NBTTagCompound.$data = 2; ju_HashMap_putImpl(var$4, $rt_s(2058), $par1NBTTagCompound); } }, nms_EntityHanging_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2054).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2054).$nativeString.length) break a; $rt_s(2054).$hashCode1 = (31 * $rt_s(2054).$hashCode1 | 0) + $rt_s(2054).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2054).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { b: { var$5 = var$2.$key; if ($rt_s(2054) !== var$5) { if ($rt_s(2054) === var$5) var$6 = 1; else if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(2054).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$2 = var$2.$next3; } var$3 = var$2 === null ? 0 : 1; c: { if (var$3) { d: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2054).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2054).$nativeString.length) break d; $rt_s(2054).$hashCode1 = (31 * $rt_s(2054).$hashCode1 | 0) + $rt_s(2054).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2054).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { e: { var$5 = var$2.$key; if ($rt_s(2054) !== var$5) { if ($rt_s(2054) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2054).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break e; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2054) !== null) { f: { if (!$rt_s(2054).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2054).$nativeString.length) break f; $rt_s(2054).$hashCode1 = (31 * $rt_s(2054).$hashCode1 | 0) + $rt_s(2054).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$6 = $rt_s(2054).$hashCode1; var$4 = var$2.$elementData.data; var$8 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$6) { g: { var$2 = var$8.$key; if ($rt_s(2054) !== var$2) { if ($rt_s(2054) !== var$2) { if (var$2 instanceof jl_String) { var$2 = var$2; var$3 = $rt_s(2054).$nativeString !== var$2.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break g; } } var$3 = 1; } if (var$3) break; } var$8 = var$8.$next3; } } else { var$8 = var$2.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } var$3 = (var$8 === null ? null : var$8.$value1).$data; } $this.$hangingDirection = var$3; } else { h: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2058).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2058).$nativeString.length) break h; $rt_s(2058).$hashCode1 = (31 * $rt_s(2058).$hashCode1 | 0) + $rt_s(2058).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2058).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { i: { var$5 = var$2.$key; if ($rt_s(2058) !== var$5) { if ($rt_s(2058) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2058).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break i; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2058) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { j: { if (!$rt_s(2058).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2058).$nativeString.length) break j; $rt_s(2058).$hashCode1 = (31 * $rt_s(2058).$hashCode1 | 0) + $rt_s(2058).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2058).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { k: { var$5 = var$2.$key; if ($rt_s(2058) !== var$5) { if ($rt_s(2058) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2058).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break k; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } switch (var$3) { case 0: break; case 1: $this.$hangingDirection = 1; break c; case 2: $this.$hangingDirection = 0; break c; case 3: $this.$hangingDirection = 3; break c; default: break c; } $this.$hangingDirection = 2; } } l: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2055).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2055).$nativeString.length) break l; $rt_s(2055).$hashCode1 = (31 * $rt_s(2055).$hashCode1 | 0) + $rt_s(2055).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2055).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { m: { var$5 = var$2.$key; if ($rt_s(2055) !== var$5) { if ($rt_s(2055) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2055).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break m; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2055) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { n: { if (!$rt_s(2055).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2055).$nativeString.length) break n; $rt_s(2055).$hashCode1 = (31 * $rt_s(2055).$hashCode1 | 0) + $rt_s(2055).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2055).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { o: { var$5 = var$2.$key; if ($rt_s(2055) !== var$5) { if ($rt_s(2055) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2055).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break o; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; p: { $this.$xPosition2 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2056).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2056).$nativeString.length) break p; $rt_s(2056).$hashCode1 = (31 * $rt_s(2056).$hashCode1 | 0) + $rt_s(2056).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2056).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { q: { var$5 = var$2.$key; if ($rt_s(2056) !== var$5) { if ($rt_s(2056) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2056).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break q; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2056) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { r: { if (!$rt_s(2056).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2056).$nativeString.length) break r; $rt_s(2056).$hashCode1 = (31 * $rt_s(2056).$hashCode1 | 0) + $rt_s(2056).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2056).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { s: { var$5 = var$2.$key; if ($rt_s(2056) !== var$5) { if ($rt_s(2056) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2056).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break s; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } t: { $this.$yPosition2 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2057).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2057).$nativeString.length) break t; $rt_s(2057).$hashCode1 = (31 * $rt_s(2057).$hashCode1 | 0) + $rt_s(2057).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2057).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { u: { var$5 = var$2.$key; if ($rt_s(2057) !== var$5) { if ($rt_s(2057) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2057).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break u; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2057) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { v: { if (!$rt_s(2057).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2057).$nativeString.length) break v; $rt_s(2057).$hashCode1 = (31 * $rt_s(2057).$hashCode1 | 0) + $rt_s(2057).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2057).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$7 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$7) { w: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(2057) !== var$2) { if ($rt_s(2057) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(2057).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break w; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data0; } $this.$zPosition1 = var$3; nms_EntityHanging_setDirection($this, $this.$hangingDirection); }, nms_EntityHanging_shouldSetPosAfterLoading = $this => { return 0; }; function nms_EntityPainting() { nms_EntityHanging.call(this); this.$art = null; } let nms_EntityPainting__init_ = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, $var6, var$9, $var8, $var9, var$12, $var10, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();$var10 = $thread.pop();var$12 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity__init_($this, $par1World); $this.$yOffset = 0.0; var$6 = 0.5; var$7 = 0.5; $ptr = 1; case 1: nms_Entity_setSize($this, var$6, var$7); if ($rt_suspending()) { break main; } $this.$xPosition2 = $par2; $this.$yPosition2 = $par3; $this.$zPosition1 = $par4; $var6 = new ju_ArrayList; $var6.$array = $rt_createArray(jl_Object, 10); var$9 = (nms_EnumArt_$VALUES.$clone0()).data; $var8 = var$9.length; $var9 = 0; if ($var9 >= $var8) { $var9 = $var6.$size0; $par2 = $var9 ? 0 : 1; a: { if (!$par2) { $par1World = $this.$rand; var$12 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$12; $par4 = Long_lo(Long_shru(var$12, 17)); $par2 = $var9 - 1 | 0; if (!($var9 & $par2)) $par3 = Long_lo(Long_shr(Long_mul(Long_fromInt($var9), Long_fromInt($par4)), 31)); else while (true) { $par3 = $par4 % $var9 | 0; if ((($par4 - $par3 | 0) + $par2 | 0) >= 0) break; var$12 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$12; $par4 = Long_lo(Long_shru(var$12, 17)); } if ($par3 < 0) break a; if ($par3 >= $var9) break a; $this.$art = $var6.$array.data[$par3]; } nms_EntityHanging_setDirection($this, $par5); return; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = var$9[$var9]; $this.$art = $var10; nms_EntityHanging_setDirection($this, $par5); $ptr = 2; case 2: $tmp = nms_EntityHanging_onValidSurface($this); if ($rt_suspending()) { break main; } $par2 = $tmp; if ($par2) { ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); var$14 = $var6.$array.data; $par3 = $var6.$size0; $var6.$size0 = $par3 + 1 | 0; var$14[$par3] = $var10; $var6.$modCount = $var6.$modCount + 1 | 0; } $var9 = $var9 + 1 | 0; if ($var9 >= $var8) { $var9 = $var6.$size0; $par2 = $var9 ? 0 : 1; b: { if (!$par2) { $par1World = $this.$rand; var$12 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$12; $par4 = Long_lo(Long_shru(var$12, 17)); $par2 = $var9 - 1 | 0; if (!($var9 & $par2)) $par3 = Long_lo(Long_shr(Long_mul(Long_fromInt($var9), Long_fromInt($par4)), 31)); else while (true) { $par3 = $par4 % $var9 | 0; if ((($par4 - $par3 | 0) + $par2 | 0) >= 0) break; var$12 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$12; $par4 = Long_lo(Long_shru(var$12, 17)); } if ($par3 < 0) break b; if ($par3 >= $var9) break b; $this.$art = $var6.$array.data[$par3]; } nms_EntityHanging_setDirection($this, $par5); return; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = var$9[$var9]; $this.$art = $var10; nms_EntityHanging_setDirection($this, $par5); continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, $var6, var$9, $var8, $var9, var$12, $var10, var$14, $ptr); }, nms_EntityPainting__init_0 = (var_0, var_1, var_2, var_3, var_4) => { let var_5 = new nms_EntityPainting(); nms_EntityPainting__init_(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; }, nms_EntityPainting_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5; var$2 = $this.$art.$title; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagString; var$4.$name = $rt_s(2059); var$4.$data1 = var$2; if (var$2 !== null) { ju_HashMap_putImpl(var$3, $rt_s(2059), var$4); nms_EntityHanging_writeEntityToNBT($this, $par1NBTTagCompound); return; } var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(186); $rt_throw(var$5); }, nms_EntityPainting_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, $var4, var$4, var$5, var$6, $var2, $var5, $var6; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2059).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2059).$nativeString.length) break a; $rt_s(2059).$hashCode1 = (31 * $rt_s(2059).$hashCode1 | 0) + $rt_s(2059).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$4 = $rt_s(2059).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(2059) !== var$6) { if ($rt_s(2059) === var$6) $var4 = 1; else if (!(var$6 instanceof jl_String)) $var4 = 0; else { var$6 = var$6; $var4 = $rt_s(2059).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break b; } } $var4 = 1; } if ($var4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var2 = $rt_s(18); else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2059) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(2059).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2059).$nativeString.length) break c; $rt_s(2059).$hashCode1 = (31 * $rt_s(2059).$hashCode1 | 0) + $rt_s(2059).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } $var5 = $rt_s(2059).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[$var5 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var5) { d: { var$6 = var$2.$key; if ($rt_s(2059) !== var$6) { if ($rt_s(2059) === var$6) $var4 = 1; else if (!(var$6 instanceof jl_String)) $var4 = 0; else { var$6 = var$6; $var4 = $rt_s(2059).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break d; } } $var4 = 1; } if ($var4) break; } var$2 = var$2.$next3; } } $var2 = (var$2 === null ? null : var$2.$value1).$data1; } var$5 = (nms_EnumArt_$VALUES.$clone0()).data; $var4 = var$5.length; $var5 = 0; while ($var5 < $var4) { $var6 = var$5[$var5]; var$2 = $var6.$title; if (var$2 === $var2) var$4 = 1; else if (!($var2 instanceof jl_String)) var$4 = 0; else { var$6 = $var2; var$4 = var$2.$nativeString !== var$6.$nativeString ? 0 : 1; } if (var$4) $this.$art = $var6; $var5 = $var5 + 1 | 0; } if ($this.$art === null) $this.$art = nms_EnumArt_Kebab; nms_EntityHanging_readEntityFromNBT($this, $par1NBTTagCompound); }, nms_EntityPainting_getWidthPixels = $this => { return $this.$art.$sizeX; }, nms_EntityPainting_getHeightPixels = $this => { return $this.$art.$sizeY; }, nms_EntityPainting_onBroken = ($this, $par1Entity) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1Entity instanceof nms_EntityPlayer && $par1Entity.$capabilities.$isCreativeMode) return; $par1Entity = new nms_ItemStack; nms_Item_$callClinit(); $var2 = nms_Item_painting; nms_ItemStack_$callClinit(); $par1Entity.$itemID = $var2.$itemID0; $par1Entity.$stackSize = 1; $par1Entity.$itemDamage = 0; $var2 = new nms_EntityItem; var$3 = $this.$worldObj; var$4 = $this.$posX; var$5 = $this.$posY + 0.0; var$6 = $this.$posZ; $ptr = 1; case 1: nms_EntityItem__init_($var2, var$3, var$4, var$5, var$6); if ($rt_suspending()) { break main; } var$7 = $var2.$dataWatcher; var$8 = var$7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[138]; if (var$3 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$9 = jl_Integer_hashCode(var$3.$value0); var$10 = var$8.$elementData.data; var$8 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$8 !== null && !(var$8.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$3, var$8.$key))) { var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; if (!($par1Entity !== var$8.$watchedObject ? 0 : 1)) { var$8.$watchedObject = $par1Entity; var$8.$watched = 1; var$7.$objectChanged = 1; } var$7 = $var2.$dataWatcher; $par1Entity = var$7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[138]; if (var$3 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$9 = jl_Integer_hashCode(var$3.$value0); var$10 = $par1Entity.$elementData.data; $par1Entity = var$10[var$9 & (var$10.length - 1 | 0)]; while ($par1Entity !== null && !($par1Entity.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$3, $par1Entity.$key))) { $par1Entity = $par1Entity.$next3; } } ($par1Entity === null ? null : $par1Entity.$value1).$watched = 1; var$7.$objectChanged = 1; $var2.$delayBeforeCanPickup = 10; $par1Entity = $this.$worldObj; var$9 = nms_World_spawnEntityInWorld($par1Entity, $var2); var$3 = $par1Entity.$entityList; ju_HashMap_putImpl(var$3.$backingMap, $var2, var$3); if (!var$9) { $par1Entity = $par1Entity.$entitySpawnQueue; ju_HashMap_putImpl($par1Entity.$backingMap, $var2, $par1Entity); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_RenderPainting = $rt_classWithoutFields(nms_Render), nms_RenderPainting_field_110807_a = null, nms_RenderPainting_$callClinit = () => { nms_RenderPainting_$callClinit = $rt_eraseClinit(nms_RenderPainting); nms_RenderPainting__clinit_(); }, nms_RenderPainting__init_ = $this => { let var$1; nms_RenderPainting_$callClinit(); nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; }, nms_RenderPainting__init_0 = () => { let var_0 = new nms_RenderPainting(); nms_RenderPainting__init_(var_0); return var_0; }, nms_RenderPainting_renderThePainting = ($this, $par1EntityPainting, $par2, $par4, $par6, $par8, $par9) => { let $var11, var$8, $var10, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var10 = $thread.pop();var$8 = $thread.pop();$var11 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityPainting = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); $par9 = $par2; $var11 = $par4; var$8 = $par6; $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = $par9; $var10.$y = $var11; $var10.$z = var$8; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $var10.$sb = var$10; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = 0.0; $var10.$y = 1.0; $var10.$z = 0.0; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par8 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $var10.$sb = var$10; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(32826); nms_RenderPainting_$callClinit(); $var10 = nms_RenderPainting_field_110807_a; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var10); if ($rt_suspending()) { break main; } $var10 = $par1EntityPainting.$art; var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 0.0625; var$10.$y = 0.0625; var$10.$z = 0.0625; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_RenderPainting_func_77010_a($this, $par1EntityPainting, $var10.$sizeX, $var10.$sizeY, $var10.$offsetX, $var10.$offsetY); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPainting, $par2, $par4, $par6, $par8, $par9, $var11, var$8, $var10, var$10, var$11, $ptr); }, nms_RenderPainting_func_77010_a = ($this, $par1EntityPainting, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var21, var$9, var$10, $var22, var$12, $var23, $var24, $var22_0, var$16, $var25, $var26, $var27, $var28, $var29, $var30, $var31, var$24, var$25, var$26, var$27, var$28; $var6 = ( -$par2 | 0) / 2.0; $var7 = ( -$par3 | 0) / 2.0; $var21 = 0; var$9 = $par2 / 16 | 0; var$10 = $par3 / 16 | 0; $par4 = $par4 + $par2 | 0; $par5 = $par5 + $par3 | 0; while ($var21 < var$9) { $var22 = 0; while ($var22 < var$10) { var$12 = ($var21 + 1 | 0) * 16 | 0; $var23 = $var6 + var$12; $par2 = $var21 * 16 | 0; $var24 = $var6 + $par2; $var22_0 = $var22 + 1 | 0; var$16 = $var22_0 * 16 | 0; $var25 = $var7 + var$16; $par3 = $var22 * 16 | 0; $var26 = $var7 + $par3; nms_RenderPainting_func_77008_a($this, $par1EntityPainting, ($var23 + $var24) / 2.0, ($var25 + $var26) / 2.0); $var27 = ($par4 - $par2 | 0) / 256.0; $var28 = ($par4 - var$12 | 0) / 256.0; $var29 = ($par5 - $par3 | 0) / 256.0; $var30 = ($par5 - var$16 | 0) / 256.0; nlea_Tessellator_$callClinit(); $var31 = nlea_Tessellator_instance; if ($var31.$isDrawing) nlea_Tessellator_draw($var31); $var31.$isDrawing = 1; $var31.$vertexCount = 0; $var31.$rawBufferIndex = 0; $var31.$addedVertices = 0; $var31.$drawMode = 7; $var31.$hasNormals = 0; $var31.$hasColor = 0; $var31.$hasTexture = 0; $var31.$hasBrightness = 0; $var31.$isColorDisabled = 0; nlea_Tessellator_setNormal($var31, 0.0, 0.0, (-1.0)); var$24 = $var23; var$25 = $var26; var$26 = $var28; var$27 = $var29; $var31.$hasTexture = 1; $var28 = var$26; $var31.$textureU = $var28; $var26 = var$27; $var31.$textureV = $var26; nlea_Tessellator_addVertex($var31, var$24, var$25, (-0.5)); var$26 = $var24; var$27 = $var27; $var31.$hasTexture = 1; $var23 = var$27; $var31.$textureU = $var23; $var31.$textureV = $var26; nlea_Tessellator_addVertex($var31, var$26, var$25, (-0.5)); var$27 = $var25; var$28 = $var30; $var31.$hasTexture = 1; $var31.$textureU = $var23; $var23 = var$28; $var31.$textureV = $var23; nlea_Tessellator_addVertex($var31, var$26, var$27, (-0.5)); $var31.$hasTexture = 1; $var31.$textureU = $var28; $var31.$textureV = $var23; nlea_Tessellator_addVertex($var31, var$24, var$27, (-0.5)); nlea_Tessellator_setNormal($var31, 0.0, 0.0, 1.0); $var31.$hasTexture = 1; $var31.$textureU = 0.75; $var31.$textureV = 0.0; nlea_Tessellator_addVertex($var31, var$24, var$27, 0.5); $var31.$hasTexture = 1; $var31.$textureU = 0.8125; $var31.$textureV = 0.0; nlea_Tessellator_addVertex($var31, var$26, var$27, 0.5); $var31.$hasTexture = 1; $var31.$textureU = 0.8125; $var31.$textureV = 0.0625; nlea_Tessellator_addVertex($var31, var$26, var$25, 0.5); $var31.$hasTexture = 1; $var31.$textureU = 0.75; $var31.$textureV = 0.0625; nlea_Tessellator_addVertex($var31, var$24, var$25, 0.5); nlea_Tessellator_setNormal($var31, 0.0, 1.0, 0.0); $var31.$hasTexture = 1; $var31.$textureU = 0.75; $var31.$textureV = 0.001953125; nlea_Tessellator_addVertex($var31, var$24, var$27, (-0.5)); $var31.$hasTexture = 1; $var31.$textureU = 0.8125; $var31.$textureV = 0.001953125; nlea_Tessellator_addVertex($var31, var$26, var$27, (-0.5)); $var31.$hasTexture = 1; $var31.$textureU = 0.8125; $var31.$textureV = 0.001953125; nlea_Tessellator_addVertex($var31, var$26, var$27, 0.5); $var31.$hasTexture = 1; $var31.$textureU = 0.75; $var31.$textureV = 0.001953125; nlea_Tessellator_addVertex($var31, var$24, var$27, 0.5); nlea_Tessellator_setNormal($var31, 0.0, (-1.0), 0.0); $var31.$hasTexture = 1; $var31.$textureU = 0.75; $var31.$textureV = 0.001953125; nlea_Tessellator_addVertex($var31, var$24, var$25, 0.5); $var31.$hasTexture = 1; $var31.$textureU = 0.8125; $var31.$textureV = 0.001953125; nlea_Tessellator_addVertex($var31, var$26, var$25, 0.5); $var31.$hasTexture = 1; $var31.$textureU = 0.8125; $var31.$textureV = 0.001953125; nlea_Tessellator_addVertex($var31, var$26, var$25, (-0.5)); $var31.$hasTexture = 1; $var31.$textureU = 0.75; $var31.$textureV = 0.001953125; nlea_Tessellator_addVertex($var31, var$24, var$25, (-0.5)); nlea_Tessellator_setNormal($var31, (-1.0), 0.0, 0.0); $var31.$hasTexture = 1; $var31.$textureU = 0.751953125; $var31.$textureV = 0.0; nlea_Tessellator_addVertex($var31, var$24, var$27, 0.5); $var31.$hasTexture = 1; $var31.$textureU = 0.751953125; $var31.$textureV = 0.0625; nlea_Tessellator_addVertex($var31, var$24, var$25, 0.5); $var31.$hasTexture = 1; $var31.$textureU = 0.751953125; $var31.$textureV = 0.0625; nlea_Tessellator_addVertex($var31, var$24, var$25, (-0.5)); $var31.$hasTexture = 1; $var31.$textureU = 0.751953125; $var31.$textureV = 0.0; nlea_Tessellator_addVertex($var31, var$24, var$27, (-0.5)); nlea_Tessellator_setNormal($var31, 1.0, 0.0, 0.0); $var31.$hasTexture = 1; $var31.$textureU = 0.751953125; $var31.$textureV = 0.0; nlea_Tessellator_addVertex($var31, var$26, var$27, (-0.5)); $var31.$hasTexture = 1; $var31.$textureU = 0.751953125; $var31.$textureV = 0.0625; nlea_Tessellator_addVertex($var31, var$26, var$25, (-0.5)); $var31.$hasTexture = 1; $var31.$textureU = 0.751953125; $var31.$textureV = 0.0625; nlea_Tessellator_addVertex($var31, var$26, var$25, 0.5); $var31.$hasTexture = 1; $var31.$textureU = 0.751953125; $var31.$textureV = 0.0; nlea_Tessellator_addVertex($var31, var$26, var$27, 0.5); nlea_Tessellator_draw($var31); $var22 = $var22_0; } $var21 = $var21 + 1 | 0; } }, nms_RenderPainting_func_77008_a = ($this, $par1EntityPainting, $par2, $par3) => { let var$4, $var4, var$6, $var5, $var6, $var9, var$10, $var8, $var7, var$13; var$4 = $par1EntityPainting.$posX; $var4 = var$4 | 0; if (var$4 < $var4) $var4 = $var4 - 1 | 0; var$6 = $par1EntityPainting.$posY + $par3 / 16.0; $var5 = var$6 | 0; if (var$6 < $var5) $var5 = $var5 - 1 | 0; var$6 = $par1EntityPainting.$posZ; $var6 = var$6 | 0; if (var$6 < $var6) $var6 = $var6 - 1 | 0; $var9 = $par1EntityPainting.$hangingDirection; if ($var9 == 2) { var$10 = var$4 + $par2 / 16.0; $var4 = var$10 | 0; if (var$10 < $var4) $var4 = $var4 - 1 | 0; } if ($var9 == 1) { var$10 = var$6 - $par2 / 16.0; $var6 = var$10 | 0; if (var$10 < $var6) $var6 = $var6 - 1 | 0; } if (!$var9) { var$4 = var$4 - $par2 / 16.0; $var4 = var$4 | 0; if (var$4 < $var4) $var4 = $var4 - 1 | 0; } if ($var9 == 3) { var$4 = var$6 + $par2 / 16.0; $var6 = var$4 | 0; if (var$4 < $var6) $var6 = $var6 - 1 | 0; } $par1EntityPainting = $this.$renderManager.$worldObj9; $var8 = 0; $var9 = nms_World_getSkyBlockTypeBrightness($par1EntityPainting, nms_EnumSkyBlock_Sky, $var4, $var5, $var6); $var5 = nms_World_getSkyBlockTypeBrightness($par1EntityPainting, nms_EnumSkyBlock_Block, $var4, $var5, $var6); if ($var5 >= $var8) $var8 = $var5; a: { $var7 = $var9 << 20 | $var8 << 4; $var8 = $var7 % 65536 | 0; $var9 = $var7 / 65536 | 0; $var5 = nms_OpenGlHelper_lightmapTexUnit; $par2 = $var8; $par3 = $var9; nleg_EaglerAdapterGL30_$callClinit(); switch ($var5) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = $par2; nleg_EaglerAdapterGL30_tex1Y = $par3; break a; default: if (jl_System_errCache === null) { $par1EntityPainting = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; jl_Object__init_(var$13); var$13.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityPainting); $par1EntityPainting.$out0 = var$13; var$13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$13); $par1EntityPainting.$sb = var$13; $par1EntityPainting.$buffer0 = $rt_createCharArray(32); $par1EntityPainting.$autoFlush = 0; $par1EntityPainting.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityPainting; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break a; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = $par2; nleg_EaglerAdapterGL30_tex0Y = $par3; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; }, nms_RenderPainting_getEntityTexture = ($this, $par1Entity) => { nms_RenderPainting_$callClinit(); return nms_RenderPainting_field_110807_a; }, nms_RenderPainting_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderPainting_renderThePainting($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderPainting__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2060); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderPainting_field_110807_a = var$1; }; function nms_EntityItemFrame() { nms_EntityHanging.call(this); this.$itemDropChance = 0.0; } let nms_EntityItemFrame_entityInit = $this => { let var$1, var$2, var$3; var$1 = $this.$dataWatcher; var$2 = new nms_WatchableObject; var$3 = null; var$2.$dataValueId = 2; var$2.$watchedObject = var$3; var$2.$objectType = 5; var$2.$watched = 1; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$3, jl_Integer_integerCache.data[130], var$2); var$1.$isBlank = 0; nms_DataWatcher_addObject($this.$dataWatcher, 3, jl_Byte_byteCache.data[128]); }, nms_EntityItemFrame_getWidthPixels = $this => { return 9; }, nms_EntityItemFrame_getHeightPixels = $this => { return 9; }, nms_EntityItemFrame_isInRangeToRenderDist = ($this, $par1) => { let $var3; $var3 = 16.0 * 64.0 * $this.$renderDistanceWeight; return $par1 >= $var3 * $var3 ? 0 : 1; }, nms_EntityItemFrame_onBroken = ($this, $par1Entity) => { let $var3, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[130]; if (var$3 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$4 = var$3.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$4) { var$6 = $var3.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } var$3 = ($var3 === null ? null : $var3.$value1).$watchedObject; if ($par1Entity instanceof nms_EntityPlayer && $par1Entity.$capabilities.$isCreativeMode) { nms_EntityItemFrame_removeFrameFromMap($this, var$3); return; } $par1Entity = new nms_ItemStack; nms_Item_$callClinit(); $var3 = nms_Item_itemFrame; nms_ItemStack_$callClinit(); $par1Entity.$itemID = $var3.$itemID0; $par1Entity.$stackSize = 1; $par1Entity.$itemDamage = 0; $var3 = new nms_EntityItem; var$6 = $this.$worldObj; var$7 = $this.$posX; var$8 = $this.$posY + 0.0; var$9 = $this.$posZ; $ptr = 1; case 1: nms_EntityItem__init_($var3, var$6, var$7, var$8, var$9); if ($rt_suspending()) { break main; } var$10 = $var3.$dataWatcher; var$6 = var$10.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[138]; if (var$11 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$12 = jl_Integer_hashCode(var$11.$value0); var$5 = var$6.$elementData.data; var$6 = var$5[var$12 & (var$5.length - 1 | 0)]; while (var$6 !== null && !(var$6.$origKeyHash == var$12 && ju_HashMap_areEqualKeys(var$11, var$6.$key))) { var$6 = var$6.$next3; } } var$13 = var$6 === null ? null : var$6.$value1; if (!($par1Entity !== var$13.$watchedObject ? 0 : 1)) { var$13.$watchedObject = $par1Entity; var$13.$watched = 1; var$10.$objectChanged = 1; } var$11 = $var3.$dataWatcher; $par1Entity = var$11.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[138]; if (var$13 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$12 = jl_Integer_hashCode(var$13.$value0); var$5 = $par1Entity.$elementData.data; $par1Entity = var$5[var$12 & (var$5.length - 1 | 0)]; while ($par1Entity !== null && !($par1Entity.$origKeyHash == var$12 && ju_HashMap_areEqualKeys(var$13, $par1Entity.$key))) { $par1Entity = $par1Entity.$next3; } } ($par1Entity === null ? null : $par1Entity.$value1).$watched = 1; var$11.$objectChanged = 1; $var3.$delayBeforeCanPickup = 10; $par1Entity = $this.$worldObj; var$4 = nms_World_spawnEntityInWorld($par1Entity, $var3); var$6 = $par1Entity.$entityList; ju_HashMap_putImpl(var$6.$backingMap, $var3, var$6); if (!var$4) { $par1Entity = $par1Entity.$entitySpawnQueue; ju_HashMap_putImpl($par1Entity.$backingMap, $var3, $par1Entity); } if (var$3 !== null) { $par1Entity = $this.$rand; var$14 = Long_and(Long_add(Long_mul($par1Entity.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Entity.$seed = var$14; if (Long_lo(Long_shru(var$14, 24)) / 1.6777216E7 < $this.$itemDropChance) { var$11 = new nms_ItemStack; var$4 = var$3.$itemID; var$15 = var$3.$stackSize; var$12 = var$3.$itemDamage; var$11.$itemID = var$4; var$11.$stackSize = var$15; var$11.$itemDamage = var$12; if (var$12 < 0) var$11.$itemDamage = 0; var$10 = var$3.$stackTagCompound; if (var$10 !== null) { var$16 = new nms_NBTTagCompound; $par1Entity = var$10.$name; if ($par1Entity === null) $par1Entity = $rt_s(18); var$16.$name = $par1Entity; $par1Entity = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); $par1Entity.$elementCount = 0; var$17 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$5 = var$17.data; $par1Entity.$elementData = var$17; $par1Entity.$loadFactor = 0.75; $par1Entity.$threshold = var$5.length * 0.75 | 0; var$16.$tagMap = $par1Entity; $par1Entity = var$10.$tagMap; if ($par1Entity.$cachedKeySet === null) { $var3 = new ju_HashMap$1; $var3.$this$0 = $par1Entity; $par1Entity.$cachedKeySet = $var3; } $par1Entity = $par1Entity.$cachedKeySet.$iterator(); while ($par1Entity.$hasNext()) { $var3 = $par1Entity.$next(); var$3 = var$10.$tagMap; if ($var3 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { if (!$var3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $var3.$nativeString.length) break a; $var3.$hashCode1 = (31 * $var3.$hashCode1 | 0) + $var3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$12 = $var3.$hashCode1; var$5 = var$3.$elementData.data; var$3 = var$5[var$12 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$12) { b: { var$6 = var$3.$key; if ($var3 !== var$6) { if ($var3 === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $var3.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; var$3 = var$3.$copy(); var$6 = var$16.$tagMap; if ($var3 !== null) var$3.$name = $var3; else var$3.$name = $rt_s(18); ju_HashMap_putImpl(var$6, $var3, var$3); } var$11.$stackTagCompound = var$16; } nms_EntityItemFrame_removeFrameFromMap($this, var$11); if (var$11.$stackSize) { $par1Entity = new nms_EntityItem; $var3 = $this.$worldObj; var$7 = $this.$posX; var$8 = $this.$posY + 0.0; var$9 = $this.$posZ; $ptr = 2; continue main; } } } return; case 2: nms_EntityItem__init_($par1Entity, $var3, var$7, var$8, var$9); if ($rt_suspending()) { break main; } var$13 = $par1Entity.$dataWatcher; $var3 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[138]; if (var$6 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$12 = jl_Integer_hashCode(var$6.$value0); var$5 = $var3.$elementData.data; $var3 = var$5[var$12 & (var$5.length - 1 | 0)]; while ($var3 !== null && !($var3.$origKeyHash == var$12 && ju_HashMap_areEqualKeys(var$6, $var3.$key))) { $var3 = $var3.$next3; } } var$3 = $var3 === null ? null : $var3.$value1; if (!(var$11 !== var$3.$watchedObject ? 0 : 1)) { var$3.$watchedObject = var$11; var$3.$watched = 1; var$13.$objectChanged = 1; } var$13 = $par1Entity.$dataWatcher; $var3 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[138]; if (var$6 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$12 = jl_Integer_hashCode(var$6.$value0); var$5 = $var3.$elementData.data; $var3 = var$5[var$12 & (var$5.length - 1 | 0)]; while ($var3 !== null && !($var3.$origKeyHash == var$12 && ju_HashMap_areEqualKeys(var$6, $var3.$key))) { $var3 = $var3.$next3; } } ($var3 === null ? null : $var3.$value1).$watched = 1; var$13.$objectChanged = 1; $par1Entity.$delayBeforeCanPickup = 10; $var3 = $this.$worldObj; var$4 = nms_World_spawnEntityInWorld($var3, $par1Entity); var$3 = $var3.$entityList; ju_HashMap_putImpl(var$3.$backingMap, $par1Entity, var$3); if (!var$4) { $var3 = $var3.$entitySpawnQueue; ju_HashMap_putImpl($var3.$backingMap, $par1Entity, $var3); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $var3, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_EntityItemFrame_removeFrameFromMap = ($this, $par1ItemStack) => { let var$2, $var2, var$4, var$5, var$6, var$7, var$8, var$9; if ($par1ItemStack !== null) { var$2 = $par1ItemStack.$itemID; nms_Item_$callClinit(); if (var$2 == nms_Item_map.$itemID0) { $var2 = (nms_ItemMap_getMapData(nms_Item_itemsList.data[var$2], $par1ItemStack, $this.$worldObj)).$playersVisibleOnMap; var$2 = $this.$entityId; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2061)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$2, 10); var$5 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); var$4 = ju_HashMap_removeByKey($var2, var$5); if (var$4 !== null) { var$5 = var$4.$chainBackward; var$4 = var$4.$chainForward; if (var$5 !== null) { var$5.$chainForward = var$4; if (var$4 === null) $var2.$tail = var$5; else var$4.$chainBackward = var$5; } else { $var2.$head = var$4; if (var$4 === null) $var2.$tail = null; else var$4.$chainBackward = null; } } } else { $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } } $par1ItemStack.$itemFrame = null; } }, nms_EntityItemFrame_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[130]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$watchedObject !== null) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[130]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = var$6.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$3 = var$2.$key; if (var$6 !== var$3 && !(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$8 = (var$2 === null ? null : var$2.$value1).$watchedObject; var$2 = new nms_NBTTagCompound; var$2.$name = $rt_s(18); var$6 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$5 = var$9.data; var$6.$elementData = var$9; var$6.$loadFactor = 0.75; var$6.$threshold = var$5.length * 0.75 | 0; var$2.$tagMap = var$6; var$4 = var$8.$itemID << 16 >> 16; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(1243); var$3.$data2 = var$4; ju_HashMap_putImpl(var$6, $rt_s(1243), var$3); var$4 = var$8.$stackSize << 24 >> 24; var$10 = var$2.$tagMap; var$6 = new nms_NBTTagByte; var$6.$name = $rt_s(1271); var$6.$data = var$4; ju_HashMap_putImpl(var$10, $rt_s(1271), var$6); var$4 = var$8.$itemDamage << 16 >> 16; var$10 = var$2.$tagMap; var$6 = new nms_NBTTagShort; var$6.$name = $rt_s(1272); var$6.$data2 = var$4; ju_HashMap_putImpl(var$10, $rt_s(1272), var$6); var$3 = var$8.$stackTagCompound; if (var$3 !== null) { var$10 = var$2.$tagMap; var$3.$name = $rt_s(1273); ju_HashMap_putImpl(var$10, $rt_s(1273), var$3); } var$3 = $par1NBTTagCompound.$tagMap; var$2.$name = $rt_s(2062); ju_HashMap_putImpl(var$3, $rt_s(2062), var$2); var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[131]; if (var$10 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$7 = var$10.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$7) { var$6 = var$3.$key; if (var$10 !== var$6 && !(var$10 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = (var$3 === null ? null : var$3.$value1).$watchedObject.$value2 << 24 >> 24; var$6 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(2063); var$3.$data = var$4; ju_HashMap_putImpl(var$6, $rt_s(2063), var$3); var$11 = $this.$itemDropChance; var$6 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagFloat; var$3.$name = $rt_s(2064); var$3.$data4 = var$11; ju_HashMap_putImpl(var$6, $rt_s(2064), var$3); } nms_EntityHanging_writeEntityToNBT($this, $par1NBTTagCompound); }, nms_EntityItemFrame_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; a: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2062).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2062).$nativeString.length) break a; $rt_s(2062).$hashCode1 = (31 * $rt_s(2062).$hashCode1 | 0) + $rt_s(2062).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2062).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { b: { var$6 = $var2.$key; if ($rt_s(2062) !== var$6) { if ($rt_s(2062) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2062).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) { $var2 = new nms_NBTTagCompound; if ($rt_s(2062) !== null) $var2.$name = $rt_s(2062); else $var2.$name = $rt_s(18); var$7 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$8.data; var$7.$elementData = var$8; var$7.$loadFactor = 0.75; var$7.$threshold = var$5.length * 0.75 | 0; $var2.$tagMap = var$7; } else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2062) !== null) { c: { if (!$rt_s(2062).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2062).$nativeString.length) break c; $rt_s(2062).$hashCode1 = (31 * $rt_s(2062).$hashCode1 | 0) + $rt_s(2062).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$9 = $rt_s(2062).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$9 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$9) { d: { var$6 = $var2.$key; if ($rt_s(2062) !== var$6) { if ($rt_s(2062) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2062).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; } if ($var2 !== null && !($var2.$tagMap.$elementCount ? 0 : 1)) { nms_ItemStack_$callClinit(); var$7 = new nms_ItemStack; nms_ItemStack_readFromNBT(var$7, $var2); nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$7.$itemID] === null) var$7 = null; $var2 = new nms_ItemStack; var$3 = var$7.$itemID; var$9 = var$7.$stackSize; var$4 = var$7.$itemDamage; $var2.$itemID = var$3; $var2.$stackSize = var$9; $var2.$itemDamage = var$4; if (var$4 < 0) $var2.$itemDamage = 0; var$7 = var$7.$stackTagCompound; if (var$7 !== null) { var$6 = new nms_NBTTagCompound; var$10 = var$7.$name; if (var$10 === null) var$10 = $rt_s(18); var$6.$name = var$10; var$10 = new ju_HashMap; jl_Object__init_(var$10); var$3 = ju_HashMap_calculateCapacity(16); var$10.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$8.data; var$10.$elementData = var$8; var$10.$loadFactor = 0.75; var$10.$threshold = var$5.length * 0.75 | 0; var$6.$tagMap = var$10; var$10 = var$7.$tagMap; if (var$10.$cachedKeySet === null) { var$11 = new ju_HashMap$1; var$11.$this$0 = var$10; var$10.$cachedKeySet = var$11; } var$10 = var$10.$cachedKeySet.$iterator(); while (var$10.$hasNext()) { var$11 = var$10.$next(); var$12 = var$7.$tagMap; if (var$11 === null) { var$12 = var$12.$elementData.data[0]; while (var$12 !== null && var$12.$key !== null) { var$12 = var$12.$next3; } } else { e: { if (!var$11.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= var$11.$nativeString.length) break e; var$11.$hashCode1 = (31 * var$11.$hashCode1 | 0) + var$11.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = var$11.$hashCode1; var$5 = var$12.$elementData.data; var$12 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$4) { f: { var$13 = var$12.$key; if (var$11 !== var$13) { if (var$11 === var$13) var$3 = 1; else if (!(var$13 instanceof jl_String)) var$3 = 0; else { var$13 = var$13; var$3 = var$11.$nativeString !== var$13.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$12 = var$12.$next3; } } var$12 = var$12 === null ? null : var$12.$value1; var$12 = var$12.$copy(); var$13 = var$6.$tagMap; if (var$11 !== null) var$12.$name = var$11; else var$12.$name = $rt_s(18); ju_HashMap_putImpl(var$13, var$11, var$12); } $var2.$stackTagCompound = var$6; } $var2.$stackSize = 1; $var2.$itemFrame = $this; var$11 = $this.$dataWatcher; var$7 = var$11.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[130]; if (var$10 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$4 = var$10.$value0; var$5 = var$7.$elementData.data; var$7 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$4) { var$6 = var$7.$key; if (var$10 !== var$6 && !(var$10 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$6 = var$7 === null ? null : var$7.$value1; if (!($var2 !== var$6.$watchedObject ? 0 : 1)) { var$6.$watchedObject = $var2; var$6.$watched = 1; var$11.$objectChanged = 1; } $var2 = $this.$dataWatcher; var$7 = $var2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[130]; if (var$10 !== null) { var$4 = var$10.$value0; var$5 = var$7.$elementData.data; var$7 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$4) { var$6 = var$7.$key; if (var$10 !== var$6 && !(var$10 !== var$6 ? (var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) : 1) ? 0 : 1) break; } var$7 = var$7.$next3; } } else { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } var$7 = var$7 === null ? null : var$7.$value1; g: { var$7.$watched = 1; $var2.$objectChanged = 1; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2063).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2063).$nativeString.length) break g; $rt_s(2063).$hashCode1 = (31 * $rt_s(2063).$hashCode1 | 0) + $rt_s(2063).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2063).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { h: { var$6 = $var2.$key; if ($rt_s(2063) !== var$6) { if ($rt_s(2063) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(2063).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2063) !== null) { i: { if (!$rt_s(2063).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2063).$nativeString.length) break i; $rt_s(2063).$hashCode1 = (31 * $rt_s(2063).$hashCode1 | 0) + $rt_s(2063).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2063).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { j: { var$6 = $var2.$key; if ($rt_s(2063) !== var$6) { if ($rt_s(2063) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2063).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } var$9 = ($var2 === null ? null : $var2.$value1).$data; } else var$9 = 0; var$7 = $this.$dataWatcher; var$3 = (var$9 % 4 | 0) << 24 >> 24; var$11 = jl_Byte_byteCache.data[var$3 + 128 | 0]; $var2 = var$7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[131]; if (var$10 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$4 = var$10.$value0; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$6 = $var2.$key; if (var$10 !== var$6 && !(var$10 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } var$6 = $var2 === null ? null : $var2.$value1; $var2 = var$6.$watchedObject; if (!($var2 instanceof jl_Byte && $var2.$value2 == var$11.$value2 ? 1 : 0)) { var$6.$watchedObject = var$11; var$6.$watched = 1; var$7.$objectChanged = 1; } k: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2064).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2064).$nativeString.length) break k; $rt_s(2064).$hashCode1 = (31 * $rt_s(2064).$hashCode1 | 0) + $rt_s(2064).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2064).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { l: { var$6 = $var2.$key; if ($rt_s(2064) !== var$6) { if ($rt_s(2064) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2064).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { m: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2064).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2064).$nativeString.length) break m; $rt_s(2064).$hashCode1 = (31 * $rt_s(2064).$hashCode1 | 0) + $rt_s(2064).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2064).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { n: { var$6 = $var2.$key; if ($rt_s(2064) !== var$6) { if ($rt_s(2064) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2064).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break n; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) var$14 = 0.0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2064) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { o: { if (!$rt_s(2064).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2064).$nativeString.length) break o; $rt_s(2064).$hashCode1 = (31 * $rt_s(2064).$hashCode1 | 0) + $rt_s(2064).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2064).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { p: { var$6 = $var2.$key; if ($rt_s(2064) !== var$6) { if ($rt_s(2064) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2064).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break p; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } } var$14 = ($var2 === null ? null : $var2.$value1).$data4; } $this.$itemDropChance = var$14; } } nms_EntityHanging_readEntityFromNBT($this, $par1NBTTagCompound); }, nms_EntityItemFrame_interactFirst = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[130]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$watchedObject === null) { var$2 = $par1EntityPlayer.$inventory; var$7 = var$2.$currentItem; var$8 = var$7 < 9 && var$7 >= 0 ? var$2.$mainInventory.data[var$7] : null; if (var$8 !== null && !$this.$worldObj.$isRemote) { var$9 = new nms_ItemStack; var$4 = var$8.$itemID; var$7 = var$8.$stackSize; var$10 = var$8.$itemDamage; nms_ItemStack_$callClinit(); var$9.$itemID = var$4; var$9.$stackSize = var$7; var$9.$itemDamage = var$10; if (var$10 < 0) var$9.$itemDamage = 0; var$6 = var$8.$stackTagCompound; if (var$6 !== null) { var$11 = new nms_NBTTagCompound; var$2 = var$6.$name; if (var$2 === null) var$2 = $rt_s(18); var$11.$name = var$2; var$2 = new ju_HashMap; jl_Object__init_(var$2); var$4 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$5 = var$12.data; var$2.$elementData = var$12; var$2.$loadFactor = 0.75; var$2.$threshold = var$5.length * 0.75 | 0; var$11.$tagMap = var$2; var$2 = var$6.$tagMap; if (var$2.$cachedKeySet === null) { var$3 = new ju_HashMap$1; var$3.$this$0 = var$2; var$2.$cachedKeySet = var$3; } var$13 = var$2.$cachedKeySet.$iterator(); while (var$13.$hasNext()) { var$14 = var$13.$next(); var$2 = var$6.$tagMap; if (var$14 === null) { var$15 = var$2.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { a: { if (!var$14.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$14.$nativeString.length) break a; var$14.$hashCode1 = (31 * var$14.$hashCode1 | 0) + var$14.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$4 = var$14.$hashCode1; var$5 = var$2.$elementData.data; var$15 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$4) { b: { var$2 = var$15.$key; if (var$14 !== var$2) { if (var$14 === var$2) var$7 = 1; else if (!(var$2 instanceof jl_String)) var$7 = 0; else { var$2 = var$2; var$7 = var$14.$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$15 = var$15.$next3; } } var$2 = var$15 === null ? null : var$15.$value1; var$2 = var$2.$copy(); var$3 = var$11.$tagMap; if (var$14 !== null) var$2.$name = var$14; else var$2.$name = $rt_s(18); ju_HashMap_putImpl(var$3, var$14, var$2); } var$9.$stackTagCompound = var$11; } var$9.$stackSize = 1; var$9.$itemFrame = $this; var$11 = $this.$dataWatcher; var$2 = var$11.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[130]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$10 = var$6.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { var$3 = var$2.$key; if (var$6 !== var$3 && !(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (!(var$9 !== var$3.$watchedObject ? 0 : 1)) { var$3.$watchedObject = var$9; var$3.$watched = 1; var$11.$objectChanged = 1; } var$11 = $this.$dataWatcher; var$2 = var$11.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[130]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$10 = var$6.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { var$3 = var$2.$key; if (var$6 !== var$3 && !(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } (var$2 === null ? null : var$2.$value1).$watched = 1; var$11.$objectChanged = 1; if (!$par1EntityPlayer.$capabilities.$isCreativeMode) { var$4 = var$8.$stackSize - 1 | 0; var$8.$stackSize = var$4; if (var$4 <= 0) { $par1EntityPlayer = $par1EntityPlayer.$inventory; var$4 = $par1EntityPlayer.$currentItem; var$2 = null; var$5 = $par1EntityPlayer.$mainInventory; var$7 = var$5.data.length; if (var$4 >= var$7) { var$4 = var$4 - var$7 | 0; var$5 = $par1EntityPlayer.$armorInventory; } var$5.data[var$4] = var$2; } } } } else if (!$this.$worldObj.$isRemote) { $par1EntityPlayer = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[131]; if (var$3 === null) { $par1EntityPlayer = $par1EntityPlayer.$elementData.data[0]; while ($par1EntityPlayer !== null && $par1EntityPlayer.$key !== null) { $par1EntityPlayer = $par1EntityPlayer.$next3; } } else { var$10 = var$3.$value0; var$5 = $par1EntityPlayer.$elementData.data; $par1EntityPlayer = var$5[var$10 & (var$5.length - 1 | 0)]; while ($par1EntityPlayer !== null) { if ($par1EntityPlayer.$origKeyHash == var$10) { var$2 = $par1EntityPlayer.$key; if (var$3 !== var$2 && !(var$3 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } $par1EntityPlayer = $par1EntityPlayer.$next3; } } $par1EntityPlayer = $par1EntityPlayer === null ? null : $par1EntityPlayer.$value1; var$4 = $par1EntityPlayer.$watchedObject.$value2 + 1 | 0; $par1EntityPlayer = $this.$dataWatcher; var$4 = (var$4 % 4 | 0) << 24 >> 24; var$11 = jl_Byte_byteCache.data[var$4 + 128 | 0]; var$2 = $par1EntityPlayer.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[131]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$10 = var$6.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { var$3 = var$2.$key; if (var$6 !== var$3 && !(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; var$2 = var$3.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$11.$value2 ? 1 : 0)) { var$3.$watchedObject = var$11; var$3.$watched = 1; $par1EntityPlayer.$objectChanged = 1; } } return 1; }; function nms_RenderItemFrame() { let a = this; nms_Render.call(a); a.$renderBlocksInstance = null; a.$field_94147_f = null; } let nms_RenderItemFrame_mapBackgroundTextures = null, nms_RenderItemFrame_$callClinit = () => { nms_RenderItemFrame_$callClinit = $rt_eraseClinit(nms_RenderItemFrame); nms_RenderItemFrame__clinit_(); }, nms_RenderItemFrame__init_ = $this => { let var$1, var$2; nms_RenderItemFrame_$callClinit(); nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$2 = nms_Minecraft_theMinecraft; var$1.$minecraftRB = var$2; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = var$2; $this.$renderBlocksInstance = var$1; }, nms_RenderItemFrame__init_0 = () => { let var_0 = new nms_RenderItemFrame(); nms_RenderItemFrame__init_(var_0); return var_0; }, nms_RenderItemFrame_updateIcons = ($this, $par1IconRegister) => { $this.$field_94147_f = $par1IconRegister.$registerIcon($rt_s(2065), 1); }, nms_RenderItemFrame_func_82404_a = ($this, $par1EntityItemFrame, $par2, $par4, $par6, $par8, $par9) => { let $var10, $var11, $var12, $var13, var$11, $var15, $var14, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var14 = $thread.pop();$var15 = $thread.pop();var$11 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityItemFrame = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); $var10 = $par1EntityItemFrame.$posX - $par2 - 0.5; $var11 = $par1EntityItemFrame.$posY - $par4 - 0.5; $var12 = $par1EntityItemFrame.$posZ - $par6 - 0.5; $var13 = $par1EntityItemFrame.$xPosition2; var$11 = nms_Direction_offsetX.data; $var15 = $par1EntityItemFrame.$hangingDirection; $var13 = $var13 + var$11[$var15] | 0; $var14 = $par1EntityItemFrame.$yPosition2; $var15 = $par1EntityItemFrame.$zPosition1 + nms_Direction_offsetZ.data[$var15] | 0; $par8 = $var13 - $var10; $par9 = $var14 - $var11; $var10 = $var15 - $var12; var$14 = nleg_EaglerAdapterGL30_deevis; var$14.$x = $par8; var$14.$y = $par9; var$14.$z = $var10; var$14 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$14, var$14); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$14 = new otcic_JSStderrPrintStream; var$15 = new ji_ByteArrayOutputStream; var$15.$buf = $rt_createByteArray(32); jl_Object__init_(var$14); var$14.$out0 = var$15; var$15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$15, 16); var$14.$sb = var$15; var$14.$buffer0 = $rt_createCharArray(32); var$14.$autoFlush = 0; var$14.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$14; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $ptr = 1; case 1: nms_RenderItemFrame_renderFrameItemAsBlock($this, $par1EntityItemFrame); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_RenderItemFrame_func_82402_b($this, $par1EntityItemFrame); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityItemFrame, $par2, $par4, $par6, $par8, $par9, $var10, $var11, $var12, $var13, var$11, $var15, $var14, var$14, var$15, $ptr); }, nms_RenderItemFrame_renderFrameItemAsBlock = ($this, $par1EntityItemFrame) => { let var$2, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$par1EntityItemFrame = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); var$2 = $par1EntityItemFrame.$rotationYaw; $par1EntityItemFrame = nleg_EaglerAdapterGL30_deevis; $par1EntityItemFrame.$x = 0.0; $par1EntityItemFrame.$y = 1.0; $par1EntityItemFrame.$z = 0.0; $par1EntityItemFrame = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityItemFrame, $par1EntityItemFrame); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItemFrame = new otcic_JSStderrPrintStream; $var2 = new ji_ByteArrayOutputStream; $var2.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItemFrame); $par1EntityItemFrame.$out0 = $var2; $var2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var2, 16); $par1EntityItemFrame.$sb = $var2; $par1EntityItemFrame.$buffer0 = $rt_createCharArray(32); $par1EntityItemFrame.$autoFlush = 0; $par1EntityItemFrame.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItemFrame; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_TextureMap_$callClinit(); $par1EntityItemFrame = nms_TextureMap_locationBlocksTexture; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityItemFrame); if ($rt_suspending()) { break main; } nms_Block_$callClinit(); $var2 = nms_Block_planks; nleg_EaglerAdapterGL30_glPushMatrix(); $par1EntityItemFrame = $this.$renderBlocksInstance; var$4 = 0.8125; nms_RenderBlocks_overrideBlockBounds($par1EntityItemFrame, 0.0, 0.1875, 0.1875, 0.03125, var$4, var$4); $par1EntityItemFrame = $this.$renderBlocksInstance; $par1EntityItemFrame.$overrideBlockTexture = $this.$field_94147_f; var$5 = 0; var$6 = 1.0; $ptr = 2; case 2: nms_RenderBlocks_renderBlockAsItem($par1EntityItemFrame, $var2, var$5, var$6); if ($rt_suspending()) { break main; } var$7 = $this.$renderBlocksInstance; var$7.$overrideBlockTexture = null; var$7.$lockBlockBounds = 0; nleg_EaglerAdapterGL30_glPopMatrix(); $this.$renderBlocksInstance.$overrideBlockTexture = nms_Block_planks.$getIcon(1, 2); nleg_EaglerAdapterGL30_glPushMatrix(); $par1EntityItemFrame = $this.$renderBlocksInstance; var$8 = 0.125; var$9 = 0.06260000169277191; var$10 = 0.1875; var$11 = 0.875; nms_RenderBlocks_overrideBlockBounds($par1EntityItemFrame, 0.0, var$8, var$8, var$9, var$10, var$11); $par1EntityItemFrame = $this.$renderBlocksInstance; var$5 = 0; var$6 = 1.0; $ptr = 3; case 3: nms_RenderBlocks_renderBlockAsItem($par1EntityItemFrame, $var2, var$5, var$6); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); nms_RenderBlocks_overrideBlockBounds($this.$renderBlocksInstance, 0.0, var$4, var$8, var$9, var$11, var$11); $par1EntityItemFrame = $this.$renderBlocksInstance; var$5 = 0; var$6 = 1.0; $ptr = 4; case 4: nms_RenderBlocks_renderBlockAsItem($par1EntityItemFrame, $var2, var$5, var$6); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); $par1EntityItemFrame = $this.$renderBlocksInstance; var$12 = 0.0625; nms_RenderBlocks_overrideBlockBounds($par1EntityItemFrame, 0.0, var$8, var$8, var$12, var$11, var$10); $par1EntityItemFrame = $this.$renderBlocksInstance; var$5 = 0; var$6 = 1.0; $ptr = 5; case 5: nms_RenderBlocks_renderBlockAsItem($par1EntityItemFrame, $var2, var$5, var$6); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); nms_RenderBlocks_overrideBlockBounds($this.$renderBlocksInstance, 0.0, var$8, var$4, var$12, var$11, var$11); $par1EntityItemFrame = $this.$renderBlocksInstance; var$5 = 0; var$6 = 1.0; $ptr = 6; case 6: nms_RenderBlocks_renderBlockAsItem($par1EntityItemFrame, $var2, var$5, var$6); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); $par1EntityItemFrame = $this.$renderBlocksInstance; $par1EntityItemFrame.$lockBlockBounds = 0; $par1EntityItemFrame.$overrideBlockTexture = null; nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityItemFrame, var$2, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_RenderItemFrame_func_82402_b = ($this, $par1EntityItemFrame) => { let $var3, $var9, var$4, var$5, $var6, var$7, $var10, $var7, var$10, var$11, $var4, var$13, var$14, var$15, var$16, var$17, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var4 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var7 = $thread.pop();$var10 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var9 = $thread.pop();$var3 = $thread.pop();$par1EntityItemFrame = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $par1EntityItemFrame.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var9 = jl_Integer_integerCache.data[130]; if ($var9 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$4 = $var9.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$4) { $var6 = $var3.$key; if ($var9 !== $var6 && !($var9 === $var6 ? 1 : $var6 instanceof jl_Integer && $var6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } var$7 = ($var3 === null ? null : $var3.$value1).$watchedObject; if (var$7 === null) return; $var3 = new nms_EntityItem; $var9 = $par1EntityItemFrame.$worldObj; $var10 = 0.0; $var7 = 0.0; var$10 = 0.0; $ptr = 1; case 1: nms_EntityItem__init_($var3, $var9, $var10, $var7, var$10); if ($rt_suspending()) { break main; } var$11 = $var3.$dataWatcher; $var9 = var$11.$watchedObjects; jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[138]; if ($var4 === null) { $var9 = $var9.$elementData.data[0]; while ($var9 !== null && $var9.$key !== null) { $var9 = $var9.$next3; } } else { var$13 = $var4.$value0; var$5 = $var9.$elementData.data; $var9 = var$5[var$13 & (var$5.length - 1 | 0)]; while ($var9 !== null) { if ($var9.$origKeyHash == var$13) { $var6 = $var9.$key; if ($var4 !== $var6 && !jl_Integer_equals($var4, $var6) ? 0 : 1) break; } $var9 = $var9.$next3; } } $var6 = $var9 === null ? null : $var9.$value1; if (!(var$7 !== $var6.$watchedObject ? 0 : 1)) { $var6.$watchedObject = var$7; $var6.$watched = 1; var$11.$objectChanged = 1; } var$11 = $var3.$dataWatcher; $var9 = var$11.$watchedObjects; jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[138]; if ($var4 === null) { $var9 = $var9.$elementData.data[0]; while ($var9 !== null && $var9.$key !== null) { $var9 = $var9.$next3; } } else { var$13 = $var4.$value0; var$5 = $var9.$elementData.data; $var9 = var$5[var$13 & (var$5.length - 1 | 0)]; while ($var9 !== null) { if ($var9.$origKeyHash == var$13) { $var6 = $var9.$key; if ($var4 !== $var6 && !jl_Integer_equals($var4, $var6) ? 0 : 1) break; } $var9 = $var9.$next3; } } ($var9 === null ? null : $var9.$value1).$watched = 1; var$11.$objectChanged = 1; (nms_EntityItem_getEntityItem($var3)).$stackSize = 1; $var3.$hoverStart = 0.0; nleg_EaglerAdapterGL30_glPushMatrix(); var$5 = nms_Direction_offsetX.data; var$4 = $par1EntityItemFrame.$hangingDirection; var$14 = (-0.453125) * var$5[var$4]; var$15 = (-0.453125) * nms_Direction_offsetZ.data[var$4]; $var9 = nleg_EaglerAdapterGL30_deevis; $var9.$x = var$14; $var9.$y = (-0.18000000715255737); $var9.$z = var$15; $var9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var9, $var9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var9 = new otcic_JSStderrPrintStream; $var6 = new ji_ByteArrayOutputStream; $var6.$buf = $rt_createByteArray(32); jl_Object__init_($var9); $var9.$out0 = $var6; $var6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var6, 16); $var9.$sb = $var6; $var9.$buffer0 = $rt_createCharArray(32); $var9.$autoFlush = 0; $var9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$16 = 180.0 + $par1EntityItemFrame.$rotationYaw; $var9 = nleg_EaglerAdapterGL30_deevis; $var9.$x = 0.0; $var9.$y = 1.0; $var9.$z = 0.0; $var9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$16 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var9, $var9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var9 = new otcic_JSStderrPrintStream; $var6 = new ji_ByteArrayOutputStream; $var6.$buf = $rt_createByteArray(32); jl_Object__init_($var9); $var9.$out0 = $var6; $var6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var6, 16); $var9.$sb = $var6; $var9.$buffer0 = $rt_createCharArray(32); $var9.$autoFlush = 0; $var9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var9 = $par1EntityItemFrame.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[131]; if ($var4 === null) { $var9 = $var9.$elementData.data[0]; while ($var9 !== null && $var9.$key !== null) { $var9 = $var9.$next3; } } else { var$13 = $var4.$value0; var$5 = $var9.$elementData.data; $var9 = var$5[var$13 & (var$5.length - 1 | 0)]; while ($var9 !== null) { if ($var9.$origKeyHash == var$13) { $var6 = $var9.$key; if ($var4 !== $var6 && !($var4 === $var6 ? 1 : $var6 instanceof jl_Integer && $var6.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } $var9 = $var9.$next3; } } $var9 = $var9 === null ? null : $var9.$value1; var$16 = (-90) * $var9.$watchedObject.$value2 | 0; $var9 = nleg_EaglerAdapterGL30_deevis; $var9.$x = 0.0; $var9.$y = 0.0; $var9.$z = 1.0; $var9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$16 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var9, $var9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var9 = new otcic_JSStderrPrintStream; $var6 = new ji_ByteArrayOutputStream; $var6.$buf = $rt_createByteArray(32); jl_Object__init_($var9); $var9.$out0 = $var6; $var6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var6, 16); $var9.$sb = $var6; $var9.$buffer0 = $rt_createCharArray(32); $var9.$autoFlush = 0; $var9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var9 = $par1EntityItemFrame.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[131]; if ($var4 === null) { $var9 = $var9.$elementData.data[0]; while ($var9 !== null && $var9.$key !== null) { $var9 = $var9.$next3; } } else { var$13 = $var4.$value0; var$5 = $var9.$elementData.data; $var9 = var$5[var$13 & (var$5.length - 1 | 0)]; while ($var9 !== null) { if ($var9.$origKeyHash == var$13) { $var6 = $var9.$key; if ($var4 !== $var6 && !($var4 === $var6 ? 1 : $var6 instanceof jl_Integer && $var6.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } $var9 = $var9.$next3; } } $var9 = $var9 === null ? null : $var9.$value1; a: { switch ($var9.$watchedObject.$value2) { case 1: break; case 2: $var9 = nleg_EaglerAdapterGL30_deevis; $var9.$x = 0.0; $var9.$y = (-0.3199999928474426); $var9.$z = 0.0; $var9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var9, $var9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var9 = new otcic_JSStderrPrintStream; $var6 = new ji_ByteArrayOutputStream; $var6.$buf = $rt_createByteArray(32); jl_Object__init_($var9); $var9.$out0 = $var6; $var6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var6, 16); $var9.$sb = $var6; $var9.$buffer0 = $rt_createCharArray(32); $var9.$autoFlush = 0; $var9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break a; case 3: $var9 = nleg_EaglerAdapterGL30_deevis; $var9.$x = 0.1599999964237213; $var9.$y = (-0.1599999964237213); $var9.$z = 0.0; $var9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var9, $var9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var9 = new otcic_JSStderrPrintStream; $var6 = new ji_ByteArrayOutputStream; $var6.$buf = $rt_createByteArray(32); jl_Object__init_($var9); $var9.$out0 = $var6; $var6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var6, 16); $var9.$sb = $var6; $var9.$buffer0 = $rt_createCharArray(32); $var9.$autoFlush = 0; $var9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break a; default: break a; } $var9 = nleg_EaglerAdapterGL30_deevis; $var9.$x = (-0.1599999964237213); $var9.$y = (-0.1599999964237213); $var9.$z = 0.0; $var9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var9, $var9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var9 = new otcic_JSStderrPrintStream; $var6 = new ji_ByteArrayOutputStream; $var6.$buf = $rt_createByteArray(32); jl_Object__init_($var9); $var9.$out0 = $var6; $var6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var6, 16); $var9.$sb = $var6; $var9.$buffer0 = $rt_createCharArray(32); $var9.$autoFlush = 0; $var9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var9 = nms_EntityItem_getEntityItem($var3); nms_Item_$callClinit(); if (nms_Item_itemsList.data[$var9.$itemID] === nms_Item_map) { nms_RenderItemFrame_$callClinit(); $var9 = nms_RenderItemFrame_mapBackgroundTextures; $ptr = 2; continue main; } $var9 = nms_EntityItem_getEntityItem($var3); if (nms_Item_itemsList.data[$var9.$itemID] === nms_Item_compass) { $var9 = nms_TextureCompass_compassTexture; $var10 = $var9.$currentAngle; $var7 = $var9.$angleDelta; $var9.$currentAngle = 0.0; $var9.$angleDelta = 0.0; $var6 = $par1EntityItemFrame.$worldObj; var$10 = $par1EntityItemFrame.$posX; var$17 = $par1EntityItemFrame.$posZ; var$14 = (180 + ($par1EntityItemFrame.$hangingDirection * 90 | 0) | 0) % 360.0; if (var$14 >= 180.0) var$14 = var$14 - 360.0; if (var$14 < (-180.0)) var$14 = var$14 + 360.0; nms_TextureCompass_updateCompass($var9, $var6, var$10, var$17, var$14, 0, 1); $var9.$currentAngle = $var10; $var9.$angleDelta = $var7; } nms_RenderItem_$callClinit(); nms_RenderItem_renderInFrame = 1; nleg_EaglerAdapterGL30_flipLightMatrix(); $par1EntityItemFrame = nms_RenderManager_instance; $var7 = 0.0; var$10 = 0.0; $var10 = 0.0; var$14 = 0.0; var$16 = 0.0; b: { try { $var9 = nms_RenderManager_getEntityRenderObject($par1EntityItemFrame, $var3); if ($var9 !== null && $par1EntityItemFrame.$renderEngine1 !== null) { if (nms_RenderManager_field_85095_o && !nms_Entity_isInvisible($var3)) nms_RenderManager_func_85094_b($par1EntityItemFrame, $var3, $var7, var$10, $var10, var$14, var$16); $ptr = 3; continue main; } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } nleg_EaglerAdapterGL30_flipLightMatrix(); nms_RenderItem_renderInFrame = 0; $par1EntityItemFrame = nms_EntityItem_getEntityItem($var3); if (nms_Item_itemsList.data[$par1EntityItemFrame.$itemID] === nms_Item_compass) nms_TextureCompass_updateAnimation(nms_TextureCompass_compassTexture); nleg_EaglerAdapterGL30_glPopMatrix(); return; case 2: nle_TextureLocation_bindTexture($var9); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var4 = nlea_Tessellator_instance; $var9 = nleg_EaglerAdapterGL30_deevis; $var9.$x = 0.0; $var9.$y = 1.0; $var9.$z = 0.0; $var9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var9, $var9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var9 = new otcic_JSStderrPrintStream; $var6 = new ji_ByteArrayOutputStream; $var6.$buf = $rt_createByteArray(32); jl_Object__init_($var9); $var9.$out0 = $var6; $var6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var6, 16); $var9.$sb = $var6; $var9.$buffer0 = $rt_createCharArray(32); $var9.$autoFlush = 0; $var9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var9 = nleg_EaglerAdapterGL30_deevis; $var9.$x = 0.0; $var9.$y = 0.0; $var9.$z = 1.0; $var9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, $var9, $var9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var9 = new otcic_JSStderrPrintStream; $var6 = new ji_ByteArrayOutputStream; $var6.$buf = $rt_createByteArray(32); jl_Object__init_($var9); $var9.$out0 = $var6; $var6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var6, 16); $var9.$sb = $var6; $var9.$buffer0 = $rt_createCharArray(32); $var9.$autoFlush = 0; $var9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var9 = nleg_EaglerAdapterGL30_deevis; $var9.$x = 0.0078125; $var9.$y = 0.0078125; $var9.$z = 0.0078125; $var9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var9, $var9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var9 = new otcic_JSStderrPrintStream; $var6 = new ji_ByteArrayOutputStream; $var6.$buf = $rt_createByteArray(32); jl_Object__init_($var9); $var9.$out0 = $var6; $var6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var6, 16); $var9.$sb = $var6; $var9.$buffer0 = $rt_createCharArray(32); $var9.$autoFlush = 0; $var9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var9 = nleg_EaglerAdapterGL30_deevis; $var9.$x = (-65.0); $var9.$y = (-85.0); $var9.$z = 1.0; $var9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var9, $var9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var9 = new otcic_JSStderrPrintStream; $var6 = new ji_ByteArrayOutputStream; $var6.$buf = $rt_createByteArray(32); jl_Object__init_($var9); $var9.$out0 = $var6; $var6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var6, 16); $var9.$sb = $var6; $var9.$buffer0 = $rt_createCharArray(32); $var9.$autoFlush = 0; $var9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_normalSerial = nleg_EaglerAdapterGL30_normalSerial + 1 | 0; var$14 = jl_Math_sqrt(1.0); var$16 = 0.0 / var$14; nleg_EaglerAdapterGL30_normalX = var$16; nleg_EaglerAdapterGL30_normalY = var$16; nleg_EaglerAdapterGL30_normalZ = (-1.0) / var$14; nleg_EaglerAdapterGL30_glDisable(2884); if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; $var4.$hasTexture = 1; $var4.$textureU = 0.0010000000474974513; $var4.$textureV = 0.9990000128746033; nlea_Tessellator_addVertex($var4, (-7.0), 135.0, 0.0); $var4.$hasTexture = 1; $var4.$textureU = 0.9990000128746033; $var4.$textureV = 0.9990000128746033; nlea_Tessellator_addVertex($var4, 135.0, 135.0, 0.0); $var4.$hasTexture = 1; $var4.$textureU = 0.9990000128746033; $var4.$textureV = 0.0010000000474974513; nlea_Tessellator_addVertex($var4, 135.0, (-7.0), 0.0); $var4.$hasTexture = 1; $var4.$textureU = 0.0010000000474974513; $var4.$textureV = 0.0010000000474974513; nlea_Tessellator_addVertex($var4, (-7.0), (-7.0), 0.0); nlea_Tessellator_draw($var4); nleg_EaglerAdapterGL30_glEnable(2884); $var9 = nleg_EaglerAdapterGL30_deevis; $var9.$x = 0.0; $var9.$y = 0.0; $var9.$z = (-2.0); $var9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var9, $var9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var9 = new otcic_JSStderrPrintStream; $var6 = new ji_ByteArrayOutputStream; $var6.$buf = $rt_createByteArray(32); jl_Object__init_($var9); $var9.$out0 = $var6; $var6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var6, 16); $var9.$sb = $var6; $var9.$buffer0 = $rt_createCharArray(32); $var9.$autoFlush = 0; $var9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nms_ItemMap_getMapData(nms_Item_map, nms_EntityItem_getEntityItem($var3), $par1EntityItemFrame.$worldObj); $par1EntityItemFrame = nleg_EaglerAdapterGL30_deevis; $par1EntityItemFrame.$x = 0.0; $par1EntityItemFrame.$y = 0.0; $par1EntityItemFrame.$z = (-1.0); $par1EntityItemFrame = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityItemFrame, $par1EntityItemFrame); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItemFrame = new otcic_JSStderrPrintStream; $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItemFrame); $par1EntityItemFrame.$out0 = $var3; $var3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var3, 16); $par1EntityItemFrame.$sb = $var3; $par1EntityItemFrame.$buffer0 = $rt_createCharArray(32); $par1EntityItemFrame.$autoFlush = 0; $par1EntityItemFrame.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItemFrame; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($var6 === null) { nleg_EaglerAdapterGL30_glPopMatrix(); return; } $par1EntityItemFrame = $this.$renderManager; $var3 = $par1EntityItemFrame.$itemRenderer.$mapItemRenderer; $var9 = null; $par1EntityItemFrame = $par1EntityItemFrame.$renderEngine1; $ptr = 5; continue main; case 3: try { $var9.$doRender($var3, $var7, var$10, $var10, var$14, var$16); if ($rt_suspending()) { break main; } $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } nleg_EaglerAdapterGL30_flipLightMatrix(); nms_RenderItem_renderInFrame = 0; $par1EntityItemFrame = nms_EntityItem_getEntityItem($var3); if (nms_Item_itemsList.data[$par1EntityItemFrame.$itemID] === nms_Item_compass) nms_TextureCompass_updateAnimation(nms_TextureCompass_compassTexture); nleg_EaglerAdapterGL30_glPopMatrix(); return; case 4: c: { try { nms_Render_doRenderShadowAndFire($var9, $var3, $var7, var$10, $var10, var$14, var$16); if ($rt_suspending()) { break main; } break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } nleg_EaglerAdapterGL30_flipLightMatrix(); nms_RenderItem_renderInFrame = 0; $par1EntityItemFrame = nms_EntityItem_getEntityItem($var3); if (nms_Item_itemsList.data[$par1EntityItemFrame.$itemID] === nms_Item_compass) nms_TextureCompass_updateAnimation(nms_TextureCompass_compassTexture); nleg_EaglerAdapterGL30_glPopMatrix(); return; case 5: nms_MapItemRenderer_renderMap($var3, $var9, $par1EntityItemFrame, $var6); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityItemFrame, $var3, $var9, var$4, var$5, $var6, var$7, $var10, $var7, var$10, var$11, $var4, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_RenderItemFrame_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderItemFrame_func_82404_a($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderItemFrame__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1435); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderItemFrame_mapBackgroundTextures = var$1; }, nms_EntityLeashKnot = $rt_classWithoutFields(nms_EntityHanging), nms_EntityLeashKnot_entityInit = $this => { return; }, nms_EntityLeashKnot_getWidthPixels = $this => { return 9; }, nms_EntityLeashKnot_getHeightPixels = $this => { return 9; }, nms_EntityLeashKnot_isInRangeToRenderDist = ($this, $par1) => { return $par1 >= 1024.0 ? 0 : 1; }, nms_EntityLeashKnot_onBroken = ($this, $par1Entity) => { return; }, nms_EntityLeashKnot_writeEntityToNBT = ($this, $par1NBTTagCompound) => { return; }, nms_EntityLeashKnot_interactFirst = ($this, $par1EntityPlayer) => { let $var6, $var7$index, $var3, var$5, var$6, $var8, var$8, $var4, var$10, var$11, var$12, var$13, $var4_0, $var7$index_0, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var7$index_0 = $thread.pop();$var4_0 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var4 = $thread.pop();var$8 = $thread.pop();$var8 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();$var7$index = $thread.pop();$var6 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = $par1EntityPlayer.$inventory; $var7$index = $var6.$currentItem; $var6 = $var7$index < 9 && $var7$index >= 0 ? $var6.$mainInventory.data[$var7$index] : null; $var3 = 0; if ($var6 !== null) { $var7$index = $var6.$itemID; nms_Item_$callClinit(); if ($var7$index == nms_Item_leash.$itemID0) { var$5 = $this.$worldObj; if (!var$5.$isRemote) { var$6 = $rt_cls(nms_EntityLiving); $var8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$8 = $this.$posX; $var4 = var$8 - 7.0; var$10 = $this.$posY; var$11 = var$10 - 7.0; var$12 = $this.$posZ; var$13 = var$12 - 7.0; var$8 = var$8 + 7.0; var$10 = var$10 + 7.0; $var4_0 = var$12 + 7.0; $var7$index_0 = $var8.$nextPoolIndex; $var6 = $var8.$listAABB; $var7$index = $var6.$size0; var$16 = $rt_compare($var7$index_0, $var7$index); if (var$16 >= 0) { var$17 = new nms_AxisAlignedBB; var$17.$minX = $var4; var$17.$minY = var$11; var$17.$minZ = var$13; var$17.$maxX = var$8; var$17.$maxY = var$10; var$17.$maxZ = $var4_0; ju_ArrayList_ensureCapacity($var6, $var7$index + 1 | 0); var$18 = $var6.$array.data; $var7$index_0 = $var6.$size0; $var6.$size0 = $var7$index_0 + 1 | 0; var$18[$var7$index_0] = var$17; $var6.$modCount = $var6.$modCount + 1 | 0; } else if ($var7$index_0 >= 0 && var$16 < 0) { var$17 = $var6.$array.data[$var7$index_0]; var$17.$minX = $var4; var$17.$minY = var$11; var$17.$minZ = var$13; var$17.$maxX = var$8; var$17.$maxY = var$10; var$17.$maxZ = $var4_0; } else { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $var8.$nextPoolIndex = $var8.$nextPoolIndex + 1 | 0; $var6 = null; $ptr = 1; continue main; } } } $var6 = $this.$worldObj; if (!$var6.$isRemote && !$var3) { $this.$isDead = 1; if ($par1EntityPlayer.$capabilities.$isCreativeMode) { $par1EntityPlayer = $rt_cls(nms_EntityLiving); var$6 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$11 = $this.$posX; var$13 = var$11 - 7.0; var$8 = $this.$posY; var$10 = var$8 - 7.0; $var4_0 = $this.$posZ; var$12 = $var4_0 - 7.0; var$11 = var$11 + 7.0; var$8 = var$8 + 7.0; $var4 = $var4_0 + 7.0; $var3 = var$6.$nextPoolIndex; $var8 = var$6.$listAABB; $var7$index_0 = $var8.$size0; $var7$index = $rt_compare($var3, $var7$index_0); if ($var7$index >= 0) { var$5 = new nms_AxisAlignedBB; var$5.$minX = var$13; var$5.$minY = var$10; var$5.$minZ = var$12; var$5.$maxX = var$11; var$5.$maxY = var$8; var$5.$maxZ = $var4; ju_ArrayList_ensureCapacity($var8, $var7$index_0 + 1 | 0); var$18 = $var8.$array.data; $var7$index = $var8.$size0; $var8.$size0 = $var7$index + 1 | 0; var$18[$var7$index] = var$5; $var8.$modCount = $var8.$modCount + 1 | 0; } else if ($var3 >= 0 && $var7$index < 0) { var$5 = $var8.$array.data[$var3]; var$5.$minX = var$13; var$5.$minY = var$10; var$5.$minZ = var$12; var$5.$maxX = var$11; var$5.$maxY = var$8; var$5.$maxZ = $var4; } else { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } var$6.$nextPoolIndex = var$6.$nextPoolIndex + 1 | 0; $var8 = null; $ptr = 2; continue main; } } return 1; case 1: a: { $tmp = nms_World_selectEntitiesWithinAABB(var$5, var$6, var$17, $var6); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 !== null) { $var7$index = 0; var$16 = $var6.$modCount; var$19 = $var6.$size(); while (true) { if (!($var7$index >= var$19 ? 0 : 1)) break a; if (var$16 < $var6.$modCount) break; $var7$index_0 = $var7$index + 1 | 0; $var8 = $var6.$get($var7$index); if (!$var8.$isLeashed) { $var7$index = $var7$index_0; continue; } if ($var8.$leashedToEntity !== $par1EntityPlayer) { $var7$index = $var7$index_0; continue; } nms_EntityLiving_setLeashedToEntity($var8, $this, 1); $var3 = 1; $var7$index = $var7$index_0; } $par1EntityPlayer = new ju_ConcurrentModificationException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } } $var6 = $this.$worldObj; if (!$var6.$isRemote && !$var3) { $this.$isDead = 1; if ($par1EntityPlayer.$capabilities.$isCreativeMode) { $par1EntityPlayer = $rt_cls(nms_EntityLiving); var$6 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$11 = $this.$posX; var$13 = var$11 - 7.0; var$8 = $this.$posY; var$10 = var$8 - 7.0; $var4_0 = $this.$posZ; var$12 = $var4_0 - 7.0; var$11 = var$11 + 7.0; var$8 = var$8 + 7.0; $var4 = $var4_0 + 7.0; $var3 = var$6.$nextPoolIndex; $var8 = var$6.$listAABB; $var7$index_0 = $var8.$size0; $var7$index = $rt_compare($var3, $var7$index_0); if ($var7$index >= 0) { var$5 = new nms_AxisAlignedBB; var$5.$minX = var$13; var$5.$minY = var$10; var$5.$minZ = var$12; var$5.$maxX = var$11; var$5.$maxY = var$8; var$5.$maxZ = $var4; ju_ArrayList_ensureCapacity($var8, $var7$index_0 + 1 | 0); var$18 = $var8.$array.data; $var7$index = $var8.$size0; $var8.$size0 = $var7$index + 1 | 0; var$18[$var7$index] = var$5; $var8.$modCount = $var8.$modCount + 1 | 0; } else if ($var3 >= 0 && $var7$index < 0) { var$5 = $var8.$array.data[$var3]; var$5.$minX = var$13; var$5.$minY = var$10; var$5.$minZ = var$12; var$5.$maxX = var$11; var$5.$maxY = var$8; var$5.$maxZ = $var4; } else { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } var$6.$nextPoolIndex = var$6.$nextPoolIndex + 1 | 0; $var8 = null; $ptr = 2; continue main; } } return 1; case 2: b: { $tmp = nms_World_selectEntitiesWithinAABB($var6, $par1EntityPlayer, var$5, $var8); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 !== null) { $var7$index = 0; var$16 = $var6.$modCount; var$19 = $var6.$size(); while (true) { if (!($var7$index >= var$19 ? 0 : 1)) break b; if (var$16 < $var6.$modCount) { $par1EntityPlayer = new ju_ConcurrentModificationException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $var7$index_0 = $var7$index + 1 | 0; $var8 = $var6.$get($var7$index); if (!$var8.$isLeashed) { $var7$index = $var7$index_0; continue; } if ($var8.$leashedToEntity === $this) { $var3 = 1; $var7$index = 0; $ptr = 3; continue main; } $var7$index = $var7$index_0; } } } return 1; case 3: nms_EntityLiving_clearLeashed($var8, $var3, $var7$index); if ($rt_suspending()) { break main; } $var7$index = $var7$index_0; while ($var7$index >= var$19 ? 0 : 1) { if (var$16 < $var6.$modCount) { $par1EntityPlayer = new ju_ConcurrentModificationException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $var7$index_0 = $var7$index + 1 | 0; $var8 = $var6.$get($var7$index); if (!$var8.$isLeashed) { $var7$index = $var7$index_0; continue; } if ($var8.$leashedToEntity === $this) { $var3 = 1; $var7$index = 0; continue main; } $var7$index = $var7$index_0; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var6, $var7$index, $var3, var$5, var$6, $var8, var$8, $var4, var$10, var$11, var$12, var$13, $var4_0, $var7$index_0, var$16, var$17, var$18, var$19, $ptr); }, nms_EntityLeashKnot_onValidSurface = $this => { let $var1, var$2; $var1 = nms_World_getBlockId($this.$worldObj, $this.$xPosition2, $this.$yPosition2, $this.$zPosition1); nms_Block_$callClinit(); var$2 = nms_Block_blocksList.data; return var$2[$var1] !== null && var$2[$var1].$getRenderType() == 11 ? 1 : 0; }, nms_EntityLeashKnot_getKnotForBlock = ($par0World, $par1, $par2, $par3) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var7, $var6$index, var$17, $var4, var$19, $var6$index_0, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();$var6$index_0 = $thread.pop();var$19 = $thread.pop();$var4 = $thread.pop();var$17 = $thread.pop();$var6$index = $thread.pop();$var7 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$par0World = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $rt_cls(nms_EntityLeashKnot); var$6 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$7 = $par1; var$8 = var$7 - 1.0; var$9 = $par2; var$10 = var$9 - 1.0; var$11 = $par3; var$12 = var$11 - 1.0; var$13 = var$7 + 1.0; var$7 = var$9 + 1.0; var$9 = var$11 + 1.0; var$14 = var$6.$nextPoolIndex; $var7 = var$6.$listAABB; $var6$index = $var7.$size0; var$17 = $rt_compare(var$14, $var6$index); if (var$17 >= 0) { $var4 = new nms_AxisAlignedBB; $var4.$minX = var$8; $var4.$minY = var$10; $var4.$minZ = var$12; $var4.$maxX = var$13; $var4.$maxY = var$7; $var4.$maxZ = var$9; ju_ArrayList_ensureCapacity($var7, $var6$index + 1 | 0); var$19 = $var7.$array.data; $var6$index = $var7.$size0; $var7.$size0 = $var6$index + 1 | 0; var$19[$var6$index] = $var4; $var7.$modCount = $var7.$modCount + 1 | 0; } else if (var$14 >= 0 && var$17 < 0) { $var4 = $var7.$array.data[var$14]; $var4.$minX = var$8; $var4.$minY = var$10; $var4.$minZ = var$12; $var4.$maxX = var$13; $var4.$maxY = var$7; $var4.$maxZ = var$9; } else { $par0World = new jl_IndexOutOfBoundsException; $par0World.$suppressionEnabled = 1; $par0World.$writableStackTrace = 1; $rt_throw($par0World); } var$6.$nextPoolIndex = var$6.$nextPoolIndex + 1 | 0; $var7 = null; $ptr = 1; case 1: a: { $tmp = nms_World_selectEntitiesWithinAABB($par0World, var$5, $var4, $var7); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 !== null) { $var6$index_0 = 0; var$14 = $var4.$modCount; var$21 = $var4.$size(); while (true) { if (!($var6$index_0 >= var$21 ? 0 : 1)) break a; if (var$14 < $var4.$modCount) { $par0World = new ju_ConcurrentModificationException; $par0World.$suppressionEnabled = 1; $par0World.$writableStackTrace = 1; $rt_throw($par0World); } $var6$index = $var6$index_0 + 1 | 0; $var7 = $var4.$get($var6$index_0); if ($var7.$xPosition2 == $par1 && $var7.$yPosition2 == $par2 && $var7.$zPosition1 == $par3) break; $var6$index_0 = $var6$index; } return $var7; } } return null; default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0World, $par1, $par2, $par3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var7, $var6$index, var$17, $var4, var$19, $var6$index_0, var$21, $ptr); }; function nms_RenderLeashKnot() { nms_Render.call(this); this.$leashKnotModel = null; } let nms_RenderLeashKnot_leashKnotTextures = null, nms_RenderLeashKnot_$callClinit = () => { nms_RenderLeashKnot_$callClinit = $rt_eraseClinit(nms_RenderLeashKnot); nms_RenderLeashKnot__clinit_(); }, nms_RenderLeashKnot__init_ = $this => { let var$1; nms_RenderLeashKnot_$callClinit(); nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; $this.$leashKnotModel = nms_ModelLeashKnot__init_0(); }, nms_RenderLeashKnot__init_0 = () => { let var_0 = new nms_RenderLeashKnot(); nms_RenderLeashKnot__init_(var_0); return var_0; }, nms_RenderLeashKnot_func_110799_a = ($this, $par1EntityLeashKnot, $par2, $par4, $par6, $par8, $par9) => { let $var10, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityLeashKnot = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glDisable(2884); $par8 = $par2; $par9 = $par4; $var10 = $par6; $par1EntityLeashKnot = nleg_EaglerAdapterGL30_deevis; $par1EntityLeashKnot.$x = $par8; $par1EntityLeashKnot.$y = $par9; $par1EntityLeashKnot.$z = $var10; $par1EntityLeashKnot = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityLeashKnot, $par1EntityLeashKnot); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLeashKnot = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLeashKnot); $par1EntityLeashKnot.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1EntityLeashKnot.$sb = var$8; $par1EntityLeashKnot.$buffer0 = $rt_createCharArray(32); $par1EntityLeashKnot.$autoFlush = 0; $par1EntityLeashKnot.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLeashKnot; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = 0.0625; nleg_EaglerAdapterGL30_glEnable(32826); $par1EntityLeashKnot = nleg_EaglerAdapterGL30_deevis; $par1EntityLeashKnot.$x = (-1.0); $par1EntityLeashKnot.$y = (-1.0); $par1EntityLeashKnot.$z = 1.0; $par1EntityLeashKnot = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLeashKnot, $par1EntityLeashKnot); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLeashKnot = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityLeashKnot); $par1EntityLeashKnot.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1EntityLeashKnot.$sb = var$8; $par1EntityLeashKnot.$buffer0 = $rt_createCharArray(32); $par1EntityLeashKnot.$autoFlush = 0; $par1EntityLeashKnot.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLeashKnot; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(3008); nms_RenderLeashKnot_$callClinit(); $par1EntityLeashKnot = nms_RenderLeashKnot_leashKnotTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityLeashKnot); if ($rt_suspending()) { break main; } $par1EntityLeashKnot = $this.$leashKnotModel.$field_110723_a; $par1EntityLeashKnot.$rotateAngleY = 0.0; $par1EntityLeashKnot.$rotateAngleX = 0.0; nms_ModelRenderer_render($par1EntityLeashKnot, $var10); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLeashKnot, $par2, $par4, $par6, $par8, $par9, $var10, var$8, $ptr); }, nms_RenderLeashKnot_getEntityTexture = ($this, $par1Entity) => { nms_RenderLeashKnot_$callClinit(); return nms_RenderLeashKnot_leashKnotTextures; }, nms_RenderLeashKnot_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderLeashKnot_func_110799_a($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderLeashKnot__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2066); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderLeashKnot_leashKnotTextures = var$1; }, nms_IProjectile = $rt_classWithoutFields(0); function nms_EntityArrow() { let a = this; nms_Entity.call(a); a.$xTile = 0; a.$yTile = 0; a.$zTile = 0; a.$inTile = 0; a.$inData = 0; a.$inGround = 0; a.$canBePickedUp = 0; a.$arrowShake = 0; a.$shootingEntity = null; a.$ticksInGround0 = 0; a.$ticksInAir = 0; a.$damage = 0.0; a.$knockbackStrength = 0; } let nms_EntityArrow__init_ = ($this, $par1World, $par2EntityLivingBase, $par3EntityLivingBase, $par4, $par5) => { let $var12, $var6, $var8, $var10, $var14, $var15, $var16, $var18, var$14; nms_Entity__init_($this, $par1World); $this.$xTile = (-1); $this.$yTile = (-1); $this.$zTile = (-1); $this.$damage = 2.0; $this.$renderDistanceWeight = 10.0; $this.$shootingEntity = $par2EntityLivingBase; if ($par2EntityLivingBase instanceof nms_EntityPlayer) $this.$canBePickedUp = 1; $var12 = $par2EntityLivingBase.$posY + $par2EntityLivingBase.$height2 * 0.8500000238418579 - 0.10000000149011612; $this.$posY = $var12; $var6 = $par3EntityLivingBase.$posX - $par2EntityLivingBase.$posX; $var8 = $par3EntityLivingBase.$boundingBox.$minY + $par3EntityLivingBase.$height2 / 3.0 - $var12; $var10 = $par3EntityLivingBase.$posZ - $par2EntityLivingBase.$posZ; $var12 = jl_Math_sqrt($var6 * $var6 + $var10 * $var10); if ($var12 >= 1.0E-7) { $var14 = jl_Math_atan2($var10, $var6) * 180.0 / 3.141592653589793 - 90.0; $var15 = -(jl_Math_atan2($var8, $var12) * 180.0 / 3.141592653589793); $var16 = $var6 / $var12; $var18 = $var10 / $var12; $var16 = $par2EntityLivingBase.$posX + $var16; var$14 = $this.$posY; $var18 = $par2EntityLivingBase.$posZ + $var18; $this.$posX = $var16; $this.$prevPosX = $var16; $this.$lastTickPosX = $var16; var$14 = var$14 + $this.$yOffset; $this.$posY = var$14; $this.$prevPosY = var$14; $this.$lastTickPosY = var$14; $this.$posZ = $var18; $this.$prevPosZ = $var18; $this.$lastTickPosZ = $var18; $this.$rotationYaw = $var14; $this.$rotationPitch = $var15; nms_Entity_setPosition($this, $var16, var$14, $var18); $this.$yOffset = 0.0; nms_EntityArrow_setThrowableHeading($this, $var6, $var8 + $var12 * 0.20000000298023224, $var10, $par4, $par5); } }, nms_EntityArrow__init_2 = (var_0, var_1, var_2, var_3, var_4) => { let var_5 = new nms_EntityArrow(); nms_EntityArrow__init_(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; }, nms_EntityArrow__init_0 = ($this, $par1World, $par2EntityLivingBase, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2EntityLivingBase = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity__init_($this, $par1World); $this.$xTile = (-1); $this.$yTile = (-1); $this.$zTile = (-1); $this.$damage = 2.0; $this.$renderDistanceWeight = 10.0; $this.$shootingEntity = $par2EntityLivingBase; if ($par2EntityLivingBase instanceof nms_EntityPlayer) $this.$canBePickedUp = 1; var$4 = 0.5; var$5 = 0.5; $ptr = 1; case 1: nms_Entity_setSize($this, var$4, var$5); if ($rt_suspending()) { break main; } var$6 = $par2EntityLivingBase.$posX; var$7 = $par2EntityLivingBase.$posY + 0.11999999731779099; var$8 = $par2EntityLivingBase.$posZ; var$4 = $par2EntityLivingBase.$rotationYaw; var$9 = $par2EntityLivingBase.$rotationPitch; $this.$posX = var$6; $this.$prevPosX = var$6; $this.$lastTickPosX = var$6; var$10 = var$7 + $this.$yOffset; $this.$posY = var$10; $this.$prevPosY = var$10; $this.$lastTickPosY = var$10; $this.$posZ = var$8; $this.$prevPosZ = var$8; $this.$lastTickPosZ = var$8; $this.$rotationYaw = var$4; $this.$rotationPitch = var$9; nms_Entity_setPosition($this, var$6, var$10, var$8); var$10 = $this.$posX; var$5 = $this.$rotationYaw / 180.0 * 3.1415927410125732; var$11 = nms_MathHelper_SIN_TABLE.data; var$4 = var$5 * 10430.3779296875; var$10 = var$10 - var$11[(var$4 + 16384.0 | 0) & 65535] * 0.1599999964237213; $this.$posX = var$10; var$6 = $this.$posY - 0.10000000149011612; $this.$posY = var$6; var$7 = $this.$posZ - var$11[(var$4 | 0) & 65535] * 0.1599999964237213; $this.$posZ = var$7; nms_Entity_setPosition($this, var$10, var$6, var$7); $this.$yOffset = 0.0; var$5 = $this.$rotationYaw / 180.0 * 3.1415927410125732; var$11 = nms_MathHelper_SIN_TABLE.data; var$12 = var$5 * 10430.3779296875; var$5 = -var$11[(var$12 | 0) & 65535]; var$9 = $this.$rotationPitch / 180.0 * 3.1415927410125732 * 10430.3779296875; var$13 = (var$9 + 16384.0 | 0) & 65535; var$10 = var$5 * var$11[var$13]; $this.$motionX = var$10; var$6 = var$11[(var$12 + 16384.0 | 0) & 65535] * var$11[var$13]; $this.$motionZ = var$6; var$7 = -var$11[(var$9 | 0) & 65535]; $this.$motionY = var$7; nms_EntityArrow_setThrowableHeading($this, var$10, var$7, var$6, $par3 * 1.5, 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2EntityLivingBase, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntityArrow__init_1 = (var_0, var_1, var_2) => { let var_3 = new nms_EntityArrow(); nms_EntityArrow__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_EntityArrow_entityInit = $this => { nms_DataWatcher_addObject($this.$dataWatcher, 16, jl_Byte_byteCache.data[128]); }, nms_EntityArrow_setThrowableHeading = ($this, $par1, $par3, $par5, $par7, $par8) => { let var$6, var$7, var$8, var$9, $var10; var$6 = jl_Math_sqrt($par1 * $par1 + $par3 * $par3 + $par5 * $par5); $par1 = $par1 / var$6; $par3 = $par3 / var$6; $par5 = $par5 / var$6; var$6 = nle_EaglercraftRandom_nextGaussian($this.$rand); var$7 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$8; var$9 = var$6 * (!(!Long_lo(Long_shru(var$8, 47)) ? 0 : 1) ? 1 : (-1)) * 0.007499999832361937; var$6 = $par8; $par1 = $par1 + var$9 * var$6; var$9 = nle_EaglercraftRandom_nextGaussian(var$7); var$7 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$8; $par3 = $par3 + var$9 * (!(!Long_lo(Long_shru(var$8, 47)) ? 0 : 1) ? 1 : (-1)) * 0.007499999832361937 * var$6; var$9 = nle_EaglercraftRandom_nextGaussian(var$7); var$7 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$8; $par5 = $par5 + var$9 * (!(!Long_lo(Long_shru(var$8, 47)) ? 0 : 1) ? 1 : (-1)) * 0.007499999832361937 * var$6; var$6 = $par7; $par1 = $par1 * var$6; $par3 = $par3 * var$6; $par5 = $par5 * var$6; $this.$motionX = $par1; $this.$motionY = $par3; $this.$motionZ = $par5; $var10 = jl_Math_sqrt($par1 * $par1 + $par5 * $par5); $par7 = jl_Math_atan2($par1, $par5) * 180.0 / 3.141592653589793; $this.$rotationYaw = $par7; $this.$prevRotationYaw = $par7; $par7 = jl_Math_atan2($par3, $var10) * 180.0 / 3.141592653589793; $this.$rotationPitch = $par7; $this.$prevRotationPitch = $par7; $this.$ticksInGround0 = 0; }, nms_EntityArrow_setPositionAndRotation2 = ($this, $par1, $par3, $par5, $par7, $par8, $par9) => { nms_Entity_setPosition($this, $par1, $par3, $par5); $this.$rotationYaw = $par7 % 360.0; $this.$rotationPitch = $par8 % 360.0; }, nms_EntityArrow_setVelocity = ($this, $par1, $par3, $par5) => { let $var7, var$5; $this.$motionX = $par1; $this.$motionY = $par3; $this.$motionZ = $par5; if ($this.$prevRotationPitch === 0.0 && $this.$prevRotationYaw === 0.0) { $var7 = jl_Math_sqrt($par1 * $par1 + $par5 * $par5); var$5 = jl_Math_atan2($par1, $par5) * 180.0 / 3.141592653589793; $this.$rotationYaw = var$5; $this.$prevRotationYaw = var$5; $var7 = jl_Math_atan2($par3, $var7) * 180.0 / 3.141592653589793; $this.$rotationPitch = $var7; $this.$prevRotationPitch = $var7; $this.$prevRotationPitch = $var7; var$5 = $this.$rotationYaw; $this.$prevRotationYaw = var$5; $par1 = $this.$posX; $par3 = $this.$posY; $par5 = $this.$posZ; $this.$posX = $par1; $this.$prevPosX = $par1; $this.$lastTickPosX = $par1; $par3 = $par3 + $this.$yOffset; $this.$posY = $par3; $this.$prevPosY = $par3; $this.$lastTickPosY = $par3; $this.$posZ = $par5; $this.$prevPosZ = $par5; $this.$lastTickPosZ = $par5; $this.$rotationYaw = var$5; $this.$rotationPitch = $var7; nms_Entity_setPosition($this, $par1, $par3, $par5); $this.$ticksInGround0 = 0; } }, nms_EntityArrow_onUpdate = $this => { let $var7, $var14, $var1, $var21, $var16, $var17, $var3, $var26, $var22, $var9, $var18, $var19, var$13, var$14, $var4, $var2, $var5, $var13, $var25, var$20, var$21, var$22, var$23, $var6, $var20, var$26, var$27, $var24, var$29, $var27, var$31, $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();var$31 = $thread.pop();$var27 = $thread.pop();var$29 = $thread.pop();$var24 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();$var20 = $thread.pop();$var6 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var25 = $thread.pop();$var13 = $thread.pop();$var5 = $thread.pop();$var2 = $thread.pop();$var4 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var9 = $thread.pop();$var22 = $thread.pop();$var26 = $thread.pop();$var3 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var21 = $thread.pop();$var1 = $thread.pop();$var14 = $thread.pop();$var7 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Entity_onEntityUpdate($this); if ($rt_suspending()) { break main; } if ($this.$prevRotationPitch === 0.0 && $this.$prevRotationYaw === 0.0) { $var7 = $this.$motionX; $var7 = $var7 * $var7; $var14 = $this.$motionZ; $var1 = jl_Math_sqrt($var7 + $var14 * $var14); $var21 = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.141592653589793; $this.$rotationYaw = $var21; $this.$prevRotationYaw = $var21; $var21 = jl_Math_atan2($this.$motionY, $var1) * 180.0 / 3.141592653589793; $this.$rotationPitch = $var21; $this.$prevRotationPitch = $var21; } $var16 = nms_World_getBlockId($this.$worldObj, $this.$xTile, $this.$yTile, $this.$zTile); if ($var16 > 0) { nms_Block_$callClinit(); $var17 = nms_Block_blocksList.data[$var16]; $var3 = $this.$worldObj; $var26 = $this.$xTile; $var22 = $this.$yTile; $var9 = $this.$zTile; $ptr = 2; continue main; } $var16 = $this.$arrowShake; if ($var16 > 0) $this.$arrowShake = $var16 - 1 | 0; if ($this.$inGround) { $var18 = nms_World_getBlockId($this.$worldObj, $this.$xTile, $this.$yTile, $this.$zTile); $var19 = nms_World_getBlockMetadata($this.$worldObj, $this.$xTile, $this.$yTile, $this.$zTile); if ($var18 == $this.$inTile && $var19 == $this.$inData) { $var16 = $this.$ticksInGround0 + 1 | 0; $this.$ticksInGround0 = $var16; if ($var16 == 1200) $this.$isDead = 1; } else { $this.$inGround = 0; $var7 = $this.$motionX; $var17 = $this.$rand; var$13 = Long_and(Long_add(Long_mul($var17.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var17.$seed = var$13; $this.$motionX = $var7 * Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * 0.20000000298023224; $var7 = $this.$motionY; var$14 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var17.$seed = var$14; $this.$motionY = $var7 * Long_lo(Long_shru(var$14, 24)) / 1.6777216E7 * 0.20000000298023224; $var7 = $this.$motionZ; var$13 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var17.$seed = var$13; $this.$motionZ = $var7 * Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * 0.20000000298023224; $this.$ticksInGround0 = 0; $this.$ticksInAir = 0; } return; } $this.$ticksInAir = $this.$ticksInAir + 1 | 0; $var17 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX, $this.$posY, $this.$posZ); $var3 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); $var4 = $this.$worldObj; $var26 = 0; $var16 = 1; $ptr = 4; continue main; case 2: $var17.$setBlockBoundsBasedOnState($var3, $var26, $var22, $var9); if ($rt_suspending()) { break main; } $var17 = nms_Block_blocksList.data[$var16]; $var3 = $this.$worldObj; $var16 = $this.$xTile; $var26 = $this.$yTile; $var22 = $this.$zTile; $ptr = 3; case 3: $tmp = $var17.$getCollisionBoundingBoxFromPool($var3, $var16, $var26, $var22); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 !== null && nms_AxisAlignedBB_isVecInside($var2, nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX, $this.$posY, $this.$posZ))) $this.$inGround = 1; $var16 = $this.$arrowShake; if ($var16 > 0) $this.$arrowShake = $var16 - 1 | 0; if ($this.$inGround) { $var18 = nms_World_getBlockId($this.$worldObj, $this.$xTile, $this.$yTile, $this.$zTile); $var19 = nms_World_getBlockMetadata($this.$worldObj, $this.$xTile, $this.$yTile, $this.$zTile); if ($var18 == $this.$inTile && $var19 == $this.$inData) { $var16 = $this.$ticksInGround0 + 1 | 0; $this.$ticksInGround0 = $var16; if ($var16 == 1200) $this.$isDead = 1; } else { $this.$inGround = 0; $var7 = $this.$motionX; $var17 = $this.$rand; var$13 = Long_and(Long_add(Long_mul($var17.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var17.$seed = var$13; $this.$motionX = $var7 * Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * 0.20000000298023224; $var7 = $this.$motionY; var$14 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var17.$seed = var$14; $this.$motionY = $var7 * Long_lo(Long_shru(var$14, 24)) / 1.6777216E7 * 0.20000000298023224; $var7 = $this.$motionZ; var$13 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var17.$seed = var$13; $this.$motionZ = $var7 * Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * 0.20000000298023224; $this.$ticksInGround0 = 0; $this.$ticksInAir = 0; } return; } $this.$ticksInAir = $this.$ticksInAir + 1 | 0; $var17 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX, $this.$posY, $this.$posZ); $var3 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); $var4 = $this.$worldObj; $var26 = 0; $var16 = 1; $ptr = 4; case 4: $tmp = nms_World_rayTraceBlocks_do_do($var4, $var17, $var3, $var26, $var16); if ($rt_suspending()) { break main; } $var4 = $tmp; $var17 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX, $this.$posY, $this.$posZ); $var3 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); if ($var4 !== null) { $var5 = $this.$worldObj.$vecPool; $var3 = $var4.$hitVec; $var3 = nms_Vec3Pool_getVecFromPool($var5, $var3.$xCoord, $var3.$yCoord, $var3.$zCoord); } a: { $var5 = null; $var13 = $this.$worldObj; $var25 = nms_AxisAlignedBB_addCoord($this.$boundingBox, $this.$motionX, $this.$motionY, $this.$motionZ); var$20 = $var25.$minX - 1.0; var$21 = $var25.$minY - 1.0; var$22 = $var25.$minZ - 1.0; $var7 = $var25.$maxX + 1.0; $var14 = $var25.$maxY + 1.0; var$23 = $var25.$maxZ + 1.0; $var6 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var16 = $var6.$nextPoolIndex; $var25 = $var6.$listAABB; $var22 = $var25.$size0; $var26 = $rt_compare($var16, $var22); if ($var26 >= 0) { $var20 = new nms_AxisAlignedBB; $var20.$minX = var$20; $var20.$minY = var$21; $var20.$minZ = var$22; $var20.$maxX = $var7; $var20.$maxY = $var14; $var20.$maxZ = var$23; ju_ArrayList_ensureCapacity($var25, $var22 + 1 | 0); var$26 = $var25.$array.data; $var26 = $var25.$size0; $var25.$size0 = $var26 + 1 | 0; var$26[$var26] = $var20; $var25.$modCount = $var25.$modCount + 1 | 0; } else { if ($var16 < 0) break a; if ($var26 >= 0) break a; $var20 = $var25.$array.data[$var16]; $var20.$minX = var$20; $var20.$minY = var$21; $var20.$minZ = var$22; $var20.$maxX = $var7; $var20.$maxY = $var14; $var20.$maxZ = var$23; } $var6.$nextPoolIndex = $var6.$nextPoolIndex + 1 | 0; $var6 = nms_World_getEntitiesWithinAABBExcludingEntity($var13, $this, $var20, null); $var7 = 0.0; $var9 = 0; b: { while (true) { $var16 = $rt_compare($var9, $var6.$size0); if ($var16 >= 0) { if ($var5 !== null) { $var4 = new nms_MovingObjectPosition; $var4.$typeOfHit = nms_EnumMovingObjectType_ENTITY; $var4.$entityHit = $var5; $var4.$hitVec = nms_Vec3Pool_getVecFromPool($var5.$worldObj.$vecPool, $var5.$posX, $var5.$posY, $var5.$posZ); } c: { if ($var4 !== null) { $var17 = $var4.$entityHit; if ($var17 !== null && $var17 instanceof nms_EntityPlayer) { d: { $var20 = $var17; if (!$var20.$capabilities.$disableDamage) { $var17 = $this.$shootingEntity; if ($var17 instanceof nms_EntityPlayer) { $var17 = $var17; $var3 = $var17.$worldObj.$worldScoreboard; $var17 = $var17.$username; $var3 = $var3.$teamMemberships; if ($var17 !== null) { e: { if (!$var17.$hashCode1) { $var16 = 0; while (true) { if ($var16 >= $var17.$nativeString.length) break e; $var17.$hashCode1 = (31 * $var17.$hashCode1 | 0) + $var17.$nativeString.charCodeAt($var16) | 0; $var16 = $var16 + 1 | 0; } } } $var22 = $var17.$hashCode1; var$26 = $var3.$elementData.data; $var3 = var$26[$var22 & (var$26.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var22) { f: { $var5 = $var3.$key; if ($var17 !== $var5) { if ($var17 !== $var5) { if ($var5 instanceof jl_String) { $var5 = $var5; $var16 = $var17.$nativeString !== $var5.$nativeString ? 0 : 1; } else $var16 = 0; } else $var16 = 1; if (!$var16) { $var16 = 0; break f; } } $var16 = 1; } if ($var16) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; $var17 = $var20.$worldObj.$worldScoreboard; $var5 = $var20.$username; $var17 = $var17.$teamMemberships; if ($var5 !== null) { g: { if (!$var5.$hashCode1) { $var16 = 0; while (true) { if ($var16 >= $var5.$nativeString.length) break g; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt($var16) | 0; $var16 = $var16 + 1 | 0; } } } $var22 = $var5.$hashCode1; var$26 = $var17.$elementData.data; $var17 = var$26[$var22 & (var$26.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var22) { h: { $var13 = $var17.$key; if ($var5 !== $var13) { if ($var5 === $var13) $var16 = 1; else if (!($var13 instanceof jl_String)) $var16 = 0; else { $var13 = $var13; $var16 = $var5.$nativeString !== $var13.$nativeString ? 0 : 1; } if (!$var16) { $var16 = 0; break h; } } $var16 = 1; } if ($var16) break; } $var17 = $var17.$next3; } } else { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } $var17 = $var17 === null ? null : $var17.$value1; if (!($var3 === null ? 1 : !($var17 === null ? 0 : $var3 !== $var17 ? 0 : 1) ? 1 : $var3.$allowFriendlyFire)) break d; break c; } break c; } } $var4 = null; } } } if ($var4 !== null) { if ($var4.$entityHit !== null) { $var7 = $this.$motionX; $var7 = $var7 * $var7; $var14 = $this.$motionY; $var7 = $var7 + $var14 * $var14; $var14 = $this.$motionZ; $var7 = jl_Math_sqrt($var7 + $var14 * $var14) * $this.$damage; $var22 = $var7 | 0; if ($var7 > $var22) $var22 = $var22 + 1 | 0; $var17 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[144]; if ($var5 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var9 = $var5.$value0; var$26 = $var17.$elementData.data; $var17 = var$26[$var9 & (var$26.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var9) { $var3 = $var17.$key; if ($var5 !== $var3 && !($var5 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } $var17 = $var17.$next3; } } $var17 = $var17 === null ? null : $var17.$value1; if (!($var17.$watchedObject.$value2 & 1) ? 0 : 1) { $var17 = $this.$rand; $var16 = ($var22 / 2 | 0) + 2 | 0; var$13 = Long_and(Long_add(Long_mul($var17.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var17.$seed = var$13; $var18 = Long_lo(Long_shru(var$13, 17)); $var26 = $var16 - 1 | 0; if (!($var16 & $var26)) $var9 = Long_lo(Long_shr(Long_mul(Long_fromInt($var16), Long_fromInt($var18)), 31)); else while (true) { $var9 = $var18 % $var16 | 0; if ((($var18 - $var9 | 0) + $var26 | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul($var17.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var17.$seed = var$13; $var18 = Long_lo(Long_shru(var$13, 17)); } $var22 = $var22 + $var9 | 0; } $var17 = $this.$shootingEntity; if ($var17 !== null) { $var3 = new nms_EntityDamageSourceIndirect; $var3.$hungerDamage = 0.30000001192092896; $var3.$damageType = $rt_s(2067); $var3.$damageSourceEntity = $this; $var3.$indirectEntity = $var17; $var3.$projectile = 1; } else { $var3 = new nms_EntityDamageSourceIndirect; $var3.$hungerDamage = 0.30000001192092896; $var3.$damageType = $rt_s(2067); $var3.$damageSourceEntity = $this; $var3.$indirectEntity = $this; $var3.$projectile = 1; } i: { j: { if (!$this.$isImmuneToFire) { if ($this.$fire > 0) break j; $var17 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[128]; if ($var13 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var9 = $var13.$value0; var$26 = $var17.$elementData.data; $var17 = var$26[$var9 & (var$26.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var9) { $var5 = $var17.$key; if ($var13 !== $var5 && !jl_Integer_equals($var13, $var5) ? 0 : 1) break; } $var17 = $var17.$next3; } } $var17 = $var17 === null ? null : $var17.$value1; if (!($var17.$watchedObject.$value2 & 1) ? 0 : 1) break j; } $var16 = 0; break i; } $var16 = 1; } if ($var16) { $var17 = $var4.$entityHit; if (!($var17 instanceof nms_EntityEnderman)) { $var16 = 100; nms_Enchantment_$callClinit(); $var26 = nms_Enchantment_fireProtection.$effectId; var$26 = $var17.$getLastActiveItems(); nms_EnchantmentHelper_$callClinit(); if (var$26 === null) $var9 = 0; else { var$26 = var$26.data; $var9 = 0; $var18 = var$26.length; $var19 = 0; while ($var19 < $var18) { var$27 = nms_EnchantmentHelper_getEnchantmentLevel($var26, var$26[$var19]); if (var$27 > $var9) $var9 = var$27; $var19 = $var19 + 1 | 0; } } if ($var9 > 0) { $var21 = 100.0 * $var9 * 0.15000000596046448; $var26 = $var21 | 0; if ($var21 < $var26) $var26 = $var26 - 1 | 0; $var16 = $var16 - $var26 | 0; } if ($var17.$fire < $var16) $var17.$fire = $var16; } } $var17 = $var4.$entityHit; $var21 = $var22; $ptr = 8; continue main; } $var16 = $var4.$blockX; $this.$xTile = $var16; $var26 = $var4.$blockY; $this.$yTile = $var26; $var22 = $var4.$blockZ; $this.$zTile = $var22; $this.$inTile = nms_World_getBlockId($this.$worldObj, $var16, $var26, $var22); $this.$inData = nms_World_getBlockMetadata($this.$worldObj, $this.$xTile, $this.$yTile, $this.$zTile); $var17 = $var4.$hitVec; $var7 = $var17.$xCoord - $this.$posX; $this.$motionX = $var7; $var14 = $var17.$yCoord - $this.$posY; $this.$motionY = $var14; var$23 = $var17.$zCoord - $this.$posZ; $this.$motionZ = var$23; $var21 = jl_Math_sqrt($var7 * $var7 + $var14 * $var14 + var$23 * var$23); $var7 = $this.$posX; $var14 = $this.$motionX; var$23 = $var21; $this.$posX = $var7 - $var14 / var$23 * 0.05000000074505806; $this.$posY = $this.$posY - $this.$motionY / var$23 * 0.05000000074505806; $this.$posZ = $this.$posZ - $this.$motionZ / var$23 * 0.05000000074505806; $var3 = $this.$rand; var$13 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$13; $var24 = 1.2000000476837158 / (Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * 0.20000000298023224 + 0.8999999761581421); nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2068), 1.0, $var24); $this.$inGround = 1; $this.$arrowShake = 7; $var17 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[144]; if ($var3 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var16 = $var3.$value0; var$26 = $var17.$elementData.data; $var17 = var$26[$var16 & (var$26.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var16) { $var4 = $var17.$key; if ($var3 !== $var4 && !($var3 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == $var16 ? 1 : 0) ? 0 : 1) break; } $var17 = $var17.$next3; } } $var26 = ($var17 === null ? null : $var17.$value1).$watchedObject.$value2; $var17 = $this.$dataWatcher; $var16 = ($var26 & (-2)) << 24 >> 24; $var13 = jl_Byte_byteCache.data[$var16 + 128 | 0]; $var3 = $var17.$watchedObjects; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[144]; if ($var5 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var22 = $var5.$value0; var$26 = $var3.$elementData.data; $var3 = var$26[$var22 & (var$26.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var22) { $var4 = $var3.$key; if ($var5 !== $var4 && !($var5 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == $var22 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var4 = $var3 === null ? null : $var3.$value1; $var3 = $var4.$watchedObject; if (!($var3 instanceof jl_Byte && $var3.$value2 == $var13.$value2 ? 1 : 0)) { $var4.$watchedObject = $var13; $var4.$watched = 1; $var17.$objectChanged = 1; } $var16 = $this.$inTile; if ($var16) { nms_Block_$callClinit(); $var17 = nms_Block_blocksList.data[$var16]; $var3 = $this.$worldObj; $var16 = $this.$xTile; $var26 = $this.$yTile; $var22 = $this.$zTile; $ptr = 7; continue main; } } $var17 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[144]; if ($var3 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var16 = $var3.$value0; var$26 = $var17.$elementData.data; $var17 = var$26[$var16 & (var$26.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var16) { $var4 = $var17.$key; if ($var3 !== $var4 && !($var3 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == $var16 ? 1 : 0) ? 0 : 1) break; } $var17 = $var17.$next3; } } $var17 = $var17 === null ? null : $var17.$value1; $var16 = !($var17.$watchedObject.$value2 & 1) ? 0 : 1; k: { if ($var16) { $var16 = 0; while (true) { if ($var16 >= 4) break k; $var17 = $this.$worldObj; $var3 = $rt_s(1317); $var7 = $this.$posX; $var14 = $this.$motionX; var$23 = $var16; $var7 = $var7 + $var14 * var$23 / 4.0; var$22 = $this.$posY; var$20 = $this.$motionY; var$22 = var$22 + var$20 * var$23 / 4.0; var$21 = $this.$posZ; var$29 = $this.$motionZ; var$23 = var$21 + var$29 * var$23 / 4.0; $var14 = -$var14; var$20 = -var$20 + 0.2; var$21 = -var$29; $var26 = 0; $var4 = $var17.$worldAccesses; $var22 = $rt_compare($var26, $var4.$size0); if ($var22 < 0) break; $var16 = $var16 + 1 | 0; } if ($var26 >= 0 && $var22 < 0) { $var4 = $var4.$array.data[$var26]; $ptr = 5; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } } $var7 = $this.$posX; $var14 = $this.$motionX; $this.$posX = $var7 + $var14; $this.$posY = $this.$posY + $this.$motionY; $var7 = $this.$posZ; var$23 = $this.$motionZ; $this.$posZ = $var7 + var$23; $var21 = jl_Math_sqrt($var14 * $var14 + var$23 * var$23); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.141592653589793; $var21 = jl_Math_atan2($this.$motionY, $var21) * 180.0 / 3.141592653589793; $this.$rotationPitch = $var21; while (true) { $var24 = $this.$prevRotationPitch; if ($var21 - $var24 >= (-180.0)) break; $this.$prevRotationPitch = $var24 - 360.0; } while (true) { $var24 = $this.$prevRotationPitch; $var27 = $var21 - $var24; if ($var27 < 180.0) break; $this.$prevRotationPitch = $var24 + 360.0; } while (true) { $var21 = $this.$rotationYaw; $var1 = $this.$prevRotationYaw; if ($var21 - $var1 >= (-180.0)) break; $this.$prevRotationYaw = $var1 - 360.0; } while (true) { $var1 = $this.$prevRotationYaw; var$31 = $var21 - $var1; if (var$31 < 180.0) break; $this.$prevRotationYaw = $var1 + 360.0; } $this.$rotationPitch = $var24 + $var27 * 0.20000000298023224; $this.$rotationYaw = $var1 + var$31 * 0.20000000298023224; $var24 = 0.9900000095367432; if ($this.$inWater) { $var26 = 0; while ($var26 < 4) { $var17 = $this.$worldObj; $var3 = $rt_s(1242); $var7 = $this.$posX; $var14 = $this.$motionX; $var7 = $var7 - $var14 * 0.25; var$22 = $this.$posY; var$20 = $this.$motionY; var$22 = var$22 - var$20 * 0.25; var$21 = $this.$posZ; var$29 = $this.$motionZ; var$23 = var$21 - var$29 * 0.25; $var16 = 0; $var4 = $var17.$worldAccesses; $var22 = $rt_compare($var16, $var4.$size0); if ($var22 < 0) { if ($var16 >= 0 && $var22 < 0) { $var4 = $var4.$array.data[$var16]; $ptr = 9; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } $var26 = $var26 + 1 | 0; } $var24 = 0.800000011920929; } $var7 = $this.$motionX; $var14 = $var24; $this.$motionX = $var7 * $var14; $var7 = $this.$motionY * $var14; $this.$motionY = $var7; $this.$motionZ = $this.$motionZ * $var14; $this.$motionY = $var7 - 0.05000000074505806; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $ptr = 6; continue main; } if ($var9 < 0) break; if ($var16 >= 0) break; $var10 = $var6.$array.data[$var9]; if ($var10.$canBeCollidedWith() && !($var10 === $this.$shootingEntity && $this.$ticksInAir < 5)) { $var13 = $var10.$boundingBox; $var14 = $var13.$minX - 0.30000001192092896; var$23 = $var13.$minY - 0.30000001192092896; var$22 = $var13.$minZ - 0.30000001192092896; var$20 = $var13.$maxX + 0.30000001192092896; var$21 = $var13.$maxY + 0.30000001192092896; var$29 = $var13.$maxZ + 0.30000001192092896; $var20 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var16 = $var20.$nextPoolIndex; $var13 = $var20.$listAABB; $var22 = $var13.$size0; $var26 = $rt_compare($var16, $var22); if ($var26 >= 0) { $var25 = new nms_AxisAlignedBB; $var25.$minX = $var14; $var25.$minY = var$23; $var25.$minZ = var$22; $var25.$maxX = var$20; $var25.$maxY = var$21; $var25.$maxZ = var$29; ju_ArrayList_ensureCapacity($var13, $var22 + 1 | 0); var$26 = $var13.$array.data; $var26 = $var13.$size0; $var13.$size0 = $var26 + 1 | 0; var$26[$var26] = $var25; $var13.$modCount = $var13.$modCount + 1 | 0; } else { if ($var16 < 0) break b; if ($var26 >= 0) break b; $var25 = $var13.$array.data[$var16]; $var25.$minX = $var14; $var25.$minY = var$23; $var25.$minZ = var$22; $var25.$maxX = var$20; $var25.$maxY = var$21; $var25.$maxZ = var$29; } $var20.$nextPoolIndex = $var20.$nextPoolIndex + 1 | 0; $var13 = nms_AxisAlignedBB_calculateIntercept($var25, $var17, $var3); if ($var13 !== null) { $var13 = $var13.$hitVec; $var14 = $var13.$xCoord - $var17.$xCoord; var$23 = $var13.$yCoord - $var17.$yCoord; var$22 = $var13.$zCoord - $var17.$zCoord; $var14 = jl_Math_sqrt($var14 * $var14 + var$23 * var$23 + var$22 * var$22); if (!($var14 >= $var7 && $var7 !== 0.0)) { $var5 = $var10; $var7 = $var14; } } } $var9 = $var9 + 1 | 0; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var17); $rt_throw($var17); } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var17); $rt_throw($var17); case 5: nms_RenderGlobal_doSpawnParticle($var4, $var3, $var7, var$22, var$23, $var14, var$20, var$21); if ($rt_suspending()) { break main; } $var26 = $var26 + 1 | 0; while (true) { $var4 = $var17.$worldAccesses; $var22 = $rt_compare($var26, $var4.$size0); if ($var22 < 0) break; $var16 = $var16 + 1 | 0; if ($var16 >= 4) { $var7 = $this.$posX; $var14 = $this.$motionX; $this.$posX = $var7 + $var14; $this.$posY = $this.$posY + $this.$motionY; $var7 = $this.$posZ; var$23 = $this.$motionZ; $this.$posZ = $var7 + var$23; $var21 = jl_Math_sqrt($var14 * $var14 + var$23 * var$23); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.141592653589793; $var21 = jl_Math_atan2($this.$motionY, $var21) * 180.0 / 3.141592653589793; $this.$rotationPitch = $var21; while (true) { $var24 = $this.$prevRotationPitch; if ($var21 - $var24 >= (-180.0)) break; $this.$prevRotationPitch = $var24 - 360.0; } while (true) { $var24 = $this.$prevRotationPitch; $var27 = $var21 - $var24; if ($var27 < 180.0) break; $this.$prevRotationPitch = $var24 + 360.0; } while (true) { $var21 = $this.$rotationYaw; $var1 = $this.$prevRotationYaw; if ($var21 - $var1 >= (-180.0)) break; $this.$prevRotationYaw = $var1 - 360.0; } while (true) { $var1 = $this.$prevRotationYaw; var$31 = $var21 - $var1; if (var$31 < 180.0) break; $this.$prevRotationYaw = $var1 + 360.0; } $this.$rotationPitch = $var24 + $var27 * 0.20000000298023224; $this.$rotationYaw = $var1 + var$31 * 0.20000000298023224; $var24 = 0.9900000095367432; if ($this.$inWater) { $var26 = 0; while ($var26 < 4) { $var17 = $this.$worldObj; $var3 = $rt_s(1242); $var7 = $this.$posX; $var14 = $this.$motionX; $var7 = $var7 - $var14 * 0.25; var$22 = $this.$posY; var$20 = $this.$motionY; var$22 = var$22 - var$20 * 0.25; var$21 = $this.$posZ; var$29 = $this.$motionZ; var$23 = var$21 - var$29 * 0.25; $var16 = 0; $var4 = $var17.$worldAccesses; $var22 = $rt_compare($var16, $var4.$size0); if ($var22 < 0) { if ($var16 >= 0 && $var22 < 0) { $var4 = $var4.$array.data[$var16]; $ptr = 9; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } $var26 = $var26 + 1 | 0; } $var24 = 0.800000011920929; } $var7 = $this.$motionX; $var14 = $var24; $this.$motionX = $var7 * $var14; $var7 = $this.$motionY * $var14; $this.$motionY = $var7; $this.$motionZ = $this.$motionZ * $var14; $this.$motionY = $var7 - 0.05000000074505806; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $ptr = 6; continue main; } $var17 = $this.$worldObj; $var3 = $rt_s(1317); $var7 = $this.$posX; $var14 = $this.$motionX; var$23 = $var16; $var7 = $var7 + $var14 * var$23 / 4.0; var$22 = $this.$posY; var$20 = $this.$motionY; var$22 = var$22 + var$20 * var$23 / 4.0; var$21 = $this.$posZ; var$29 = $this.$motionZ; var$23 = var$21 + var$29 * var$23 / 4.0; $var14 = -$var14; var$20 = -var$20 + 0.2; var$21 = -var$29; $var26 = 0; } if ($var26 >= 0 && $var22 < 0) { $var4 = $var4.$array.data[$var26]; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); case 6: nms_Entity_doBlockCollisions($this); if ($rt_suspending()) { break main; } return; case 7: $var17.$onEntityCollidedWithBlock($var3, $var16, $var26, $var22, $this); if ($rt_suspending()) { break main; } $var17 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[144]; if ($var3 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var16 = $var3.$value0; var$26 = $var17.$elementData.data; $var17 = var$26[$var16 & (var$26.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var16) { $var4 = $var17.$key; if ($var3 !== $var4 && !($var3 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == $var16 ? 1 : 0) ? 0 : 1) break; } $var17 = $var17.$next3; } } $var17 = $var17 === null ? null : $var17.$value1; $var16 = !($var17.$watchedObject.$value2 & 1) ? 0 : 1; l: { if ($var16) { $var16 = 0; while (true) { if ($var16 >= 4) break l; $var17 = $this.$worldObj; $var3 = $rt_s(1317); $var7 = $this.$posX; $var14 = $this.$motionX; var$23 = $var16; $var7 = $var7 + $var14 * var$23 / 4.0; var$22 = $this.$posY; var$20 = $this.$motionY; var$22 = var$22 + var$20 * var$23 / 4.0; var$21 = $this.$posZ; var$29 = $this.$motionZ; var$23 = var$21 + var$29 * var$23 / 4.0; $var14 = -$var14; var$20 = -var$20 + 0.2; var$21 = -var$29; $var26 = 0; $var4 = $var17.$worldAccesses; $var22 = $rt_compare($var26, $var4.$size0); if ($var22 < 0) break; $var16 = $var16 + 1 | 0; } if ($var26 >= 0 && $var22 < 0) { $var4 = $var4.$array.data[$var26]; $ptr = 5; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } } $var7 = $this.$posX; $var14 = $this.$motionX; $this.$posX = $var7 + $var14; $this.$posY = $this.$posY + $this.$motionY; $var7 = $this.$posZ; var$23 = $this.$motionZ; $this.$posZ = $var7 + var$23; $var21 = jl_Math_sqrt($var14 * $var14 + var$23 * var$23); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.141592653589793; $var21 = jl_Math_atan2($this.$motionY, $var21) * 180.0 / 3.141592653589793; $this.$rotationPitch = $var21; while (true) { $var24 = $this.$prevRotationPitch; if ($var21 - $var24 >= (-180.0)) break; $this.$prevRotationPitch = $var24 - 360.0; } while (true) { $var24 = $this.$prevRotationPitch; $var27 = $var21 - $var24; if ($var27 < 180.0) break; $this.$prevRotationPitch = $var24 + 360.0; } while (true) { $var21 = $this.$rotationYaw; $var1 = $this.$prevRotationYaw; if ($var21 - $var1 >= (-180.0)) break; $this.$prevRotationYaw = $var1 - 360.0; } while (true) { $var1 = $this.$prevRotationYaw; var$31 = $var21 - $var1; if (var$31 < 180.0) break; $this.$prevRotationYaw = $var1 + 360.0; } $this.$rotationPitch = $var24 + $var27 * 0.20000000298023224; $this.$rotationYaw = $var1 + var$31 * 0.20000000298023224; $var24 = 0.9900000095367432; if ($this.$inWater) { $var26 = 0; while ($var26 < 4) { $var17 = $this.$worldObj; $var3 = $rt_s(1242); $var7 = $this.$posX; $var14 = $this.$motionX; $var7 = $var7 - $var14 * 0.25; var$22 = $this.$posY; var$20 = $this.$motionY; var$22 = var$22 - var$20 * 0.25; var$21 = $this.$posZ; var$29 = $this.$motionZ; var$23 = var$21 - var$29 * 0.25; $var16 = 0; $var4 = $var17.$worldAccesses; $var22 = $rt_compare($var16, $var4.$size0); if ($var22 < 0) { if ($var16 >= 0 && $var22 < 0) { $var4 = $var4.$array.data[$var16]; $ptr = 9; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } $var26 = $var26 + 1 | 0; } $var24 = 0.800000011920929; } $var7 = $this.$motionX; $var14 = $var24; $this.$motionX = $var7 * $var14; $var7 = $this.$motionY * $var14; $this.$motionY = $var7; $this.$motionZ = $this.$motionZ * $var14; $this.$motionY = $var7 - 0.05000000074505806; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $ptr = 6; continue main; case 8: $tmp = $var17.$attackEntityFrom($var3, $var21); if ($rt_suspending()) { break main; } $var16 = $tmp; if (!$var16) { $this.$motionX = $this.$motionX * (-0.10000000149011612); $this.$motionY = $this.$motionY * (-0.10000000149011612); $this.$motionZ = $this.$motionZ * (-0.10000000149011612); $this.$rotationYaw = $this.$rotationYaw + 180.0; $this.$prevRotationYaw = $this.$prevRotationYaw + 180.0; $this.$ticksInAir = 0; } else { $var17 = $var4.$entityHit; if ($var17 instanceof nms_EntityLivingBase) { $var25 = $var17; if (!$this.$worldObj.$isRemote) { $var17 = $var25.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[137]; if ($var5 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var22 = $var5.$value0; var$26 = $var17.$elementData.data; $var17 = var$26[$var22 & (var$26.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var22) { $var3 = $var17.$key; if ($var5 !== $var3 && !($var5 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == $var22 ? 1 : 0) ? 0 : 1) break; } $var17 = $var17.$next3; } } $var17 = $var17 === null ? null : $var17.$value1; $var16 = $var17.$watchedObject.$value2 + 1 | 0; $var17 = $var25.$dataWatcher; $var16 = $var16 << 24 >> 24; $var20 = jl_Byte_byteCache.data[$var16 + 128 | 0]; $var3 = $var17.$watchedObjects; jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[137]; if ($var13 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var22 = $var13.$value0; var$26 = $var3.$elementData.data; $var3 = var$26[$var22 & (var$26.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var22) { $var5 = $var3.$key; if ($var13 !== $var5 && !($var13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var22 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var5 = $var3 === null ? null : $var3.$value1; $var3 = $var5.$watchedObject; if (!($var3 instanceof jl_Byte && $var3.$value2 == $var20.$value2 ? 1 : 0)) { $var5.$watchedObject = $var20; $var5.$watched = 1; $var17.$objectChanged = 1; } } if ($this.$knockbackStrength > 0) { $var7 = $this.$motionX; $var7 = $var7 * $var7; $var14 = $this.$motionZ; $var27 = jl_Math_sqrt($var7 + $var14 * $var14); if ($var27 > 0.0) { $var17 = $var4.$entityHit; $var7 = $this.$motionX; $var14 = $this.$knockbackStrength; $var7 = $var7 * $var14 * 0.6000000238418579; var$23 = $var27; $var7 = $var7 / var$23; var$22 = 0.1; $var14 = $this.$motionZ * $var14 * 0.6000000238418579 / var$23; $ptr = 11; continue main; } } $var17 = $this.$shootingEntity; if ($var17 !== null) { $var3 = $this.$rand; $ptr = 10; continue main; } $var17 = $this.$shootingEntity; if ($var17 !== null) { $var3 = $var4.$entityHit; if ($var3 !== $var17 && $var3 instanceof nms_EntityPlayer && $var17 instanceof nms_EntityPlayerMP) { $var17 = $var17.$playerNetServerHandler; $var3 = new nms_Packet70GameEvent; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var3.$eventType = 6; $var3.$gameMode1 = 0; $var17.$sendPacketToPlayer($var3); } } } $var3 = $this.$rand; var$13 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$13; $var24 = 1.2000000476837158 / (Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * 0.20000000298023224 + 0.8999999761581421); nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2068), 1.0, $var24); if (!($var4.$entityHit instanceof nms_EntityEnderman)) $this.$isDead = 1; } $var17 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[144]; if ($var3 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var16 = $var3.$value0; var$26 = $var17.$elementData.data; $var17 = var$26[$var16 & (var$26.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var16) { $var4 = $var17.$key; if ($var3 !== $var4 && !($var3 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == $var16 ? 1 : 0) ? 0 : 1) break; } $var17 = $var17.$next3; } } $var17 = $var17 === null ? null : $var17.$value1; $var16 = !($var17.$watchedObject.$value2 & 1) ? 0 : 1; m: { if ($var16) { $var16 = 0; while (true) { if ($var16 >= 4) break m; $var17 = $this.$worldObj; $var3 = $rt_s(1317); $var7 = $this.$posX; $var14 = $this.$motionX; var$23 = $var16; $var7 = $var7 + $var14 * var$23 / 4.0; var$22 = $this.$posY; var$20 = $this.$motionY; var$22 = var$22 + var$20 * var$23 / 4.0; var$21 = $this.$posZ; var$29 = $this.$motionZ; var$23 = var$21 + var$29 * var$23 / 4.0; $var14 = -$var14; var$20 = -var$20 + 0.2; var$21 = -var$29; $var26 = 0; $var4 = $var17.$worldAccesses; $var22 = $rt_compare($var26, $var4.$size0); if ($var22 < 0) break; $var16 = $var16 + 1 | 0; } if ($var26 >= 0 && $var22 < 0) { $var4 = $var4.$array.data[$var26]; $ptr = 5; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } } $var7 = $this.$posX; $var14 = $this.$motionX; $this.$posX = $var7 + $var14; $this.$posY = $this.$posY + $this.$motionY; $var7 = $this.$posZ; var$23 = $this.$motionZ; $this.$posZ = $var7 + var$23; $var21 = jl_Math_sqrt($var14 * $var14 + var$23 * var$23); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.141592653589793; $var21 = jl_Math_atan2($this.$motionY, $var21) * 180.0 / 3.141592653589793; $this.$rotationPitch = $var21; while (true) { $var24 = $this.$prevRotationPitch; if ($var21 - $var24 >= (-180.0)) break; $this.$prevRotationPitch = $var24 - 360.0; } while (true) { $var24 = $this.$prevRotationPitch; $var27 = $var21 - $var24; if ($var27 < 180.0) break; $this.$prevRotationPitch = $var24 + 360.0; } while (true) { $var21 = $this.$rotationYaw; $var1 = $this.$prevRotationYaw; if ($var21 - $var1 >= (-180.0)) break; $this.$prevRotationYaw = $var1 - 360.0; } while (true) { $var1 = $this.$prevRotationYaw; var$31 = $var21 - $var1; if (var$31 < 180.0) break; $this.$prevRotationYaw = $var1 + 360.0; } $this.$rotationPitch = $var24 + $var27 * 0.20000000298023224; $this.$rotationYaw = $var1 + var$31 * 0.20000000298023224; $var24 = 0.9900000095367432; if ($this.$inWater) { $var26 = 0; while ($var26 < 4) { $var17 = $this.$worldObj; $var3 = $rt_s(1242); $var7 = $this.$posX; $var14 = $this.$motionX; $var7 = $var7 - $var14 * 0.25; var$22 = $this.$posY; var$20 = $this.$motionY; var$22 = var$22 - var$20 * 0.25; var$21 = $this.$posZ; var$29 = $this.$motionZ; var$23 = var$21 - var$29 * 0.25; $var16 = 0; $var4 = $var17.$worldAccesses; $var22 = $rt_compare($var16, $var4.$size0); if ($var22 < 0) { if ($var16 >= 0 && $var22 < 0) { $var4 = $var4.$array.data[$var16]; $ptr = 9; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } $var26 = $var26 + 1 | 0; } $var24 = 0.800000011920929; } $var7 = $this.$motionX; $var14 = $var24; $this.$motionX = $var7 * $var14; $var7 = $this.$motionY * $var14; $this.$motionY = $var7; $this.$motionZ = $this.$motionZ * $var14; $this.$motionY = $var7 - 0.05000000074505806; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $ptr = 6; continue main; case 9: nms_RenderGlobal_doSpawnParticle($var4, $var3, $var7, var$22, var$23, $var14, var$20, var$29); if ($rt_suspending()) { break main; } $var16 = $var16 + 1 | 0; while (true) { $var4 = $var17.$worldAccesses; $var22 = $rt_compare($var16, $var4.$size0); if ($var22 < 0) { if ($var16 >= 0 && $var22 < 0) { $var4 = $var4.$array.data[$var16]; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } $var26 = $var26 + 1 | 0; if ($var26 >= 4) break; $var17 = $this.$worldObj; $var3 = $rt_s(1242); $var7 = $this.$posX; $var14 = $this.$motionX; $var7 = $var7 - $var14 * 0.25; var$22 = $this.$posY; var$20 = $this.$motionY; var$22 = var$22 - var$20 * 0.25; var$21 = $this.$posZ; var$29 = $this.$motionZ; var$23 = var$21 - var$29 * 0.25; $var16 = 0; } $var7 = $this.$motionX; $var14 = 0.800000011920929; $this.$motionX = $var7 * $var14; $var7 = $this.$motionY * $var14; $this.$motionY = $var7; $this.$motionZ = $this.$motionZ * $var14; $this.$motionY = $var7 - 0.05000000074505806; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $ptr = 6; continue main; case 10: nms_EnchantmentThorns_func_92096_a($var17, $var25, $var3); if ($rt_suspending()) { break main; } $var17 = $this.$shootingEntity; if ($var17 !== null) { $var3 = $var4.$entityHit; if ($var3 !== $var17 && $var3 instanceof nms_EntityPlayer && $var17 instanceof nms_EntityPlayerMP) { $var17 = $var17.$playerNetServerHandler; $var3 = new nms_Packet70GameEvent; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var3.$eventType = 6; $var3.$gameMode1 = 0; $var17.$sendPacketToPlayer($var3); } } $var3 = $this.$rand; var$13 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$13; $var24 = 1.2000000476837158 / (Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * 0.20000000298023224 + 0.8999999761581421); nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2068), 1.0, $var24); if (!($var4.$entityHit instanceof nms_EntityEnderman)) $this.$isDead = 1; $var17 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[144]; if ($var3 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var16 = $var3.$value0; var$26 = $var17.$elementData.data; $var17 = var$26[$var16 & (var$26.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var16) { $var4 = $var17.$key; if ($var3 !== $var4 && !($var3 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == $var16 ? 1 : 0) ? 0 : 1) break; } $var17 = $var17.$next3; } } $var17 = $var17 === null ? null : $var17.$value1; $var16 = !($var17.$watchedObject.$value2 & 1) ? 0 : 1; n: { if ($var16) { $var16 = 0; while (true) { if ($var16 >= 4) break n; $var17 = $this.$worldObj; $var3 = $rt_s(1317); $var7 = $this.$posX; $var14 = $this.$motionX; var$23 = $var16; $var7 = $var7 + $var14 * var$23 / 4.0; var$22 = $this.$posY; var$20 = $this.$motionY; var$22 = var$22 + var$20 * var$23 / 4.0; var$21 = $this.$posZ; var$29 = $this.$motionZ; var$23 = var$21 + var$29 * var$23 / 4.0; $var14 = -$var14; var$20 = -var$20 + 0.2; var$21 = -var$29; $var26 = 0; $var4 = $var17.$worldAccesses; $var22 = $rt_compare($var26, $var4.$size0); if ($var22 < 0) break; $var16 = $var16 + 1 | 0; } if ($var26 >= 0 && $var22 < 0) { $var4 = $var4.$array.data[$var26]; $ptr = 5; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } } $var7 = $this.$posX; $var14 = $this.$motionX; $this.$posX = $var7 + $var14; $this.$posY = $this.$posY + $this.$motionY; $var7 = $this.$posZ; var$23 = $this.$motionZ; $this.$posZ = $var7 + var$23; $var21 = jl_Math_sqrt($var14 * $var14 + var$23 * var$23); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.141592653589793; $var21 = jl_Math_atan2($this.$motionY, $var21) * 180.0 / 3.141592653589793; $this.$rotationPitch = $var21; while (true) { $var24 = $this.$prevRotationPitch; if ($var21 - $var24 >= (-180.0)) break; $this.$prevRotationPitch = $var24 - 360.0; } while (true) { $var24 = $this.$prevRotationPitch; $var27 = $var21 - $var24; if ($var27 < 180.0) break; $this.$prevRotationPitch = $var24 + 360.0; } while (true) { $var21 = $this.$rotationYaw; $var1 = $this.$prevRotationYaw; if ($var21 - $var1 >= (-180.0)) break; $this.$prevRotationYaw = $var1 - 360.0; } while (true) { $var1 = $this.$prevRotationYaw; var$31 = $var21 - $var1; if (var$31 < 180.0) break; $this.$prevRotationYaw = $var1 + 360.0; } $this.$rotationPitch = $var24 + $var27 * 0.20000000298023224; $this.$rotationYaw = $var1 + var$31 * 0.20000000298023224; $var24 = 0.9900000095367432; if ($this.$inWater) { $var26 = 0; while ($var26 < 4) { $var17 = $this.$worldObj; $var3 = $rt_s(1242); $var7 = $this.$posX; $var14 = $this.$motionX; $var7 = $var7 - $var14 * 0.25; var$22 = $this.$posY; var$20 = $this.$motionY; var$22 = var$22 - var$20 * 0.25; var$21 = $this.$posZ; var$29 = $this.$motionZ; var$23 = var$21 - var$29 * 0.25; $var16 = 0; $var4 = $var17.$worldAccesses; $var22 = $rt_compare($var16, $var4.$size0); if ($var22 < 0) { if ($var16 >= 0 && $var22 < 0) { $var4 = $var4.$array.data[$var16]; $ptr = 9; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } $var26 = $var26 + 1 | 0; } $var24 = 0.800000011920929; } $var7 = $this.$motionX; $var14 = $var24; $this.$motionX = $var7 * $var14; $var7 = $this.$motionY * $var14; $this.$motionY = $var7; $this.$motionZ = $this.$motionZ * $var14; $this.$motionY = $var7 - 0.05000000074505806; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $ptr = 6; continue main; case 11: $var17.$addVelocity($var7, var$22, $var14); if ($rt_suspending()) { break main; } $var17 = $this.$shootingEntity; if ($var17 !== null) { $var3 = $this.$rand; $ptr = 10; continue main; } $var17 = $this.$shootingEntity; if ($var17 !== null) { $var3 = $var4.$entityHit; if ($var3 !== $var17 && $var3 instanceof nms_EntityPlayer && $var17 instanceof nms_EntityPlayerMP) { $var17 = $var17.$playerNetServerHandler; $var3 = new nms_Packet70GameEvent; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var3.$eventType = 6; $var3.$gameMode1 = 0; $var17.$sendPacketToPlayer($var3); } } $var3 = $this.$rand; var$13 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$13; $var24 = 1.2000000476837158 / (Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * 0.20000000298023224 + 0.8999999761581421); nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2068), 1.0, $var24); if (!($var4.$entityHit instanceof nms_EntityEnderman)) $this.$isDead = 1; $var17 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[144]; if ($var3 === null) { $var17 = $var17.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { $var16 = $var3.$value0; var$26 = $var17.$elementData.data; $var17 = var$26[$var16 & (var$26.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == $var16) { $var4 = $var17.$key; if ($var3 !== $var4 && !($var3 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == $var16 ? 1 : 0) ? 0 : 1) break; } $var17 = $var17.$next3; } } $var17 = $var17 === null ? null : $var17.$value1; $var16 = !($var17.$watchedObject.$value2 & 1) ? 0 : 1; o: { if ($var16) { $var16 = 0; while (true) { if ($var16 >= 4) break o; $var17 = $this.$worldObj; $var3 = $rt_s(1317); $var7 = $this.$posX; $var14 = $this.$motionX; var$23 = $var16; $var7 = $var7 + $var14 * var$23 / 4.0; var$22 = $this.$posY; var$20 = $this.$motionY; var$22 = var$22 + var$20 * var$23 / 4.0; var$21 = $this.$posZ; var$29 = $this.$motionZ; var$23 = var$21 + var$29 * var$23 / 4.0; $var14 = -$var14; var$20 = -var$20 + 0.2; var$21 = -var$29; $var26 = 0; $var4 = $var17.$worldAccesses; $var22 = $rt_compare($var26, $var4.$size0); if ($var22 < 0) break; $var16 = $var16 + 1 | 0; } if ($var26 >= 0 && $var22 < 0) { $var4 = $var4.$array.data[$var26]; $ptr = 5; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } } $var7 = $this.$posX; $var14 = $this.$motionX; $this.$posX = $var7 + $var14; $this.$posY = $this.$posY + $this.$motionY; $var7 = $this.$posZ; var$23 = $this.$motionZ; $this.$posZ = $var7 + var$23; $var21 = jl_Math_sqrt($var14 * $var14 + var$23 * var$23); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.141592653589793; $var21 = jl_Math_atan2($this.$motionY, $var21) * 180.0 / 3.141592653589793; $this.$rotationPitch = $var21; while (true) { $var24 = $this.$prevRotationPitch; if ($var21 - $var24 >= (-180.0)) break; $this.$prevRotationPitch = $var24 - 360.0; } while (true) { $var24 = $this.$prevRotationPitch; $var27 = $var21 - $var24; if ($var27 < 180.0) break; $this.$prevRotationPitch = $var24 + 360.0; } while (true) { $var21 = $this.$rotationYaw; $var1 = $this.$prevRotationYaw; if ($var21 - $var1 >= (-180.0)) break; $this.$prevRotationYaw = $var1 - 360.0; } while (true) { $var1 = $this.$prevRotationYaw; var$31 = $var21 - $var1; if (var$31 < 180.0) break; $this.$prevRotationYaw = $var1 + 360.0; } $this.$rotationPitch = $var24 + $var27 * 0.20000000298023224; $this.$rotationYaw = $var1 + var$31 * 0.20000000298023224; $var24 = 0.9900000095367432; if ($this.$inWater) { $var26 = 0; while ($var26 < 4) { $var17 = $this.$worldObj; $var3 = $rt_s(1242); $var7 = $this.$posX; $var14 = $this.$motionX; $var7 = $var7 - $var14 * 0.25; var$22 = $this.$posY; var$20 = $this.$motionY; var$22 = var$22 - var$20 * 0.25; var$21 = $this.$posZ; var$29 = $this.$motionZ; var$23 = var$21 - var$29 * 0.25; $var16 = 0; $var4 = $var17.$worldAccesses; $var22 = $rt_compare($var16, $var4.$size0); if ($var22 < 0) { if ($var16 >= 0 && $var22 < 0) { $var4 = $var4.$array.data[$var16]; $ptr = 9; continue main; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } $var26 = $var26 + 1 | 0; } $var24 = 0.800000011920929; } $var7 = $this.$motionX; $var14 = $var24; $this.$motionX = $var7 * $var14; $var7 = $this.$motionY * $var14; $this.$motionY = $var7; $this.$motionZ = $this.$motionZ * $var14; $this.$motionY = $var7 - 0.05000000074505806; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $ptr = 6; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var7, $var14, $var1, $var21, $var16, $var17, $var3, $var26, $var22, $var9, $var18, $var19, var$13, var$14, $var4, $var2, $var5, $var13, $var25, var$20, var$21, var$22, var$23, $var6, $var20, var$26, var$27, $var24, var$29, $var27, var$31, $var10, $ptr); }, nms_EntityArrow_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5; var$2 = $this.$xTile << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(2069); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2069), var$4); var$2 = $this.$yTile << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(2070); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2070), var$4); var$2 = $this.$zTile << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(2071); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2071), var$4); var$2 = $this.$inTile << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2072); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2072), var$4); var$2 = $this.$inData << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2073); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2073), var$4); var$2 = $this.$arrowShake << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2074); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2074), var$4); var$2 = (!$this.$inGround ? 0 : 1) << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2075); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2075), var$4); var$2 = $this.$canBePickedUp << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2076); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2076), var$4); var$5 = $this.$damage; var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagDouble; $par1NBTTagCompound.$name = $rt_s(2077); $par1NBTTagCompound.$data6 = var$5; ju_HashMap_putImpl(var$4, $rt_s(2077), $par1NBTTagCompound); }, nms_EntityArrow_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2069).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2069).$nativeString.length) break a; $rt_s(2069).$hashCode1 = (31 * $rt_s(2069).$hashCode1 | 0) + $rt_s(2069).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2069).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { b: { var$5 = var$2.$key; if ($rt_s(2069) !== var$5) { if ($rt_s(2069) === var$5) var$6 = 1; else if (var$5 instanceof jl_String) { var$5 = var$5; var$6 = $rt_s(2069).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$6 = 0; if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2069) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(2069).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2069).$nativeString.length) break c; $rt_s(2069).$hashCode1 = (31 * $rt_s(2069).$hashCode1 | 0) + $rt_s(2069).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2069).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { d: { var$5 = var$2.$key; if ($rt_s(2069) !== var$5) { if ($rt_s(2069) === var$5) var$6 = 1; else if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(2069).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break d; } } var$6 = 1; } if (var$6) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data2; } else var$3 = 0; e: { $this.$xTile = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2070).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2070).$nativeString.length) break e; $rt_s(2070).$hashCode1 = (31 * $rt_s(2070).$hashCode1 | 0) + $rt_s(2070).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$6 = $rt_s(2070).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { f: { var$5 = var$2.$key; if ($rt_s(2070) !== var$5) { if ($rt_s(2070) === var$5) var$3 = 1; else if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2070).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2070) === null) { var$7 = var$2.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { g: { if (!$rt_s(2070).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2070).$nativeString.length) break g; $rt_s(2070).$hashCode1 = (31 * $rt_s(2070).$hashCode1 | 0) + $rt_s(2070).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$6 = $rt_s(2070).$hashCode1; var$4 = var$2.$elementData.data; var$7 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$6) { h: { var$2 = var$7.$key; if ($rt_s(2070) !== var$2) { if ($rt_s(2070) !== var$2) { if (var$2 instanceof jl_String) { var$2 = var$2; var$3 = $rt_s(2070).$nativeString !== var$2.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$7 = var$7.$next3; } } var$3 = (var$7 === null ? null : var$7.$value1).$data2; } i: { $this.$yTile = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2071).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2071).$nativeString.length) break i; $rt_s(2071).$hashCode1 = (31 * $rt_s(2071).$hashCode1 | 0) + $rt_s(2071).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2071).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { j: { var$5 = var$2.$key; if ($rt_s(2071) !== var$5) { if ($rt_s(2071) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2071).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2071) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { k: { if (!$rt_s(2071).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2071).$nativeString.length) break k; $rt_s(2071).$hashCode1 = (31 * $rt_s(2071).$hashCode1 | 0) + $rt_s(2071).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2071).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { l: { var$5 = var$2.$key; if ($rt_s(2071) !== var$5) { if ($rt_s(2071) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2071).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data2; } else var$3 = 0; m: { $this.$zTile = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2072).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2072).$nativeString.length) break m; $rt_s(2072).$hashCode1 = (31 * $rt_s(2072).$hashCode1 | 0) + $rt_s(2072).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2072).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { n: { var$5 = var$2.$key; if ($rt_s(2072) !== var$5) { if ($rt_s(2072) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2072).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break n; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2072) !== null) { o: { if (!$rt_s(2072).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2072).$nativeString.length) break o; $rt_s(2072).$hashCode1 = (31 * $rt_s(2072).$hashCode1 | 0) + $rt_s(2072).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2072).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { p: { var$5 = var$2.$key; if ($rt_s(2072) !== var$5) { if ($rt_s(2072) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2072).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break p; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data; } else var$6 = 0; q: { $this.$inTile = var$6 & 255; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2073).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2073).$nativeString.length) break q; $rt_s(2073).$hashCode1 = (31 * $rt_s(2073).$hashCode1 | 0) + $rt_s(2073).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2073).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { r: { var$5 = var$2.$key; if ($rt_s(2073) !== var$5) { if ($rt_s(2073) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2073).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break r; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$6 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2073) !== null) { s: { if (!$rt_s(2073).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2073).$nativeString.length) break s; $rt_s(2073).$hashCode1 = (31 * $rt_s(2073).$hashCode1 | 0) + $rt_s(2073).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2073).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { t: { var$5 = var$2.$key; if ($rt_s(2073) !== var$5) { if ($rt_s(2073) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2073).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break t; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data; } u: { $this.$inData = var$6 & 255; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2074).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2074).$nativeString.length) break u; $rt_s(2074).$hashCode1 = (31 * $rt_s(2074).$hashCode1 | 0) + $rt_s(2074).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2074).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { v: { var$5 = var$2.$key; if ($rt_s(2074) !== var$5) { if ($rt_s(2074) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2074).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break v; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$6 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2074) !== null) { w: { if (!$rt_s(2074).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2074).$nativeString.length) break w; $rt_s(2074).$hashCode1 = (31 * $rt_s(2074).$hashCode1 | 0) + $rt_s(2074).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2074).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { x: { var$5 = var$2.$key; if ($rt_s(2074) !== var$5) { if ($rt_s(2074) !== var$5) { if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2074).$nativeString !== var$5.$nativeString ? 0 : 1; } } else var$3 = 1; if (!var$3) { var$3 = 0; break x; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data; } y: { $this.$arrowShake = var$6 & 255; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2075).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2075).$nativeString.length) break y; $rt_s(2075).$hashCode1 = (31 * $rt_s(2075).$hashCode1 | 0) + $rt_s(2075).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2075).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { z: { var$5 = var$2.$key; if ($rt_s(2075) !== var$5) { if ($rt_s(2075) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2075).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break z; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2075) !== null) { ba: { if (!$rt_s(2075).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2075).$nativeString.length) break ba; $rt_s(2075).$hashCode1 = (31 * $rt_s(2075).$hashCode1 | 0) + $rt_s(2075).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2075).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { bb: { var$5 = var$2.$key; if ($rt_s(2075) !== var$5) { if ($rt_s(2075) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2075).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bb; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data; } else var$6 = 0; var$3 = var$6 != 1 ? 0 : 1; bc: { $this.$inGround = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2077).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2077).$nativeString.length) break bc; $rt_s(2077).$hashCode1 = (31 * $rt_s(2077).$hashCode1 | 0) + $rt_s(2077).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2077).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { bd: { var$5 = var$2.$key; if ($rt_s(2077) !== var$5) { if ($rt_s(2077) === var$5) var$3 = 1; else if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2077).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break bd; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { be: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2077).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2077).$nativeString.length) break be; $rt_s(2077).$hashCode1 = (31 * $rt_s(2077).$hashCode1 | 0) + $rt_s(2077).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2077).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { bf: { var$5 = var$2.$key; if ($rt_s(2077) !== var$5) { if ($rt_s(2077) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2077).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bf; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$9 = 0.0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2077) !== null) { bg: { if (!$rt_s(2077).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2077).$nativeString.length) break bg; $rt_s(2077).$hashCode1 = (31 * $rt_s(2077).$hashCode1 | 0) + $rt_s(2077).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2077).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { bh: { var$5 = var$2.$key; if ($rt_s(2077) !== var$5) { if ($rt_s(2077) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2077).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bh; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$9 = (var$2 === null ? null : var$2.$value1).$data6; } $this.$damage = var$9; } bi: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2076).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2076).$nativeString.length) break bi; $rt_s(2076).$hashCode1 = (31 * $rt_s(2076).$hashCode1 | 0) + $rt_s(2076).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2076).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { bj: { var$5 = var$2.$key; if ($rt_s(2076) !== var$5) { if ($rt_s(2076) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2076).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bj; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { bk: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2076).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2076).$nativeString.length) break bk; $rt_s(2076).$hashCode1 = (31 * $rt_s(2076).$hashCode1 | 0) + $rt_s(2076).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2076).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { bl: { var$5 = var$2.$key; if ($rt_s(2076) !== var$5) { if ($rt_s(2076) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2076).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bl; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2076) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { bm: { if (!$rt_s(2076).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2076).$nativeString.length) break bm; $rt_s(2076).$hashCode1 = (31 * $rt_s(2076).$hashCode1 | 0) + $rt_s(2076).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2076).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$8 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$8) { bn: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(2076) !== var$2) { if ($rt_s(2076) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(2076).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bn; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data; } $this.$canBePickedUp = var$3; } else { bo: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1316).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1316).$nativeString.length) break bo; $rt_s(1316).$hashCode1 = (31 * $rt_s(1316).$hashCode1 | 0) + $rt_s(1316).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(1316).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { bp: { var$5 = var$2.$key; if ($rt_s(1316) !== var$5) { if ($rt_s(1316) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(1316).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bp; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { bq: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1316).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1316).$nativeString.length) break bq; $rt_s(1316).$hashCode1 = (31 * $rt_s(1316).$hashCode1 | 0) + $rt_s(1316).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(1316).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { br: { var$5 = var$2.$key; if ($rt_s(1316) !== var$5) { if ($rt_s(1316) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(1316).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break br; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1316) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { bs: { if (!$rt_s(1316).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1316).$nativeString.length) break bs; $rt_s(1316).$hashCode1 = (31 * $rt_s(1316).$hashCode1 | 0) + $rt_s(1316).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(1316).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$8 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$8) { bt: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(1316) !== var$2) { if ($rt_s(1316) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(1316).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bt; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data; } $this.$canBePickedUp = !(!var$3 ? 0 : 1) ? 0 : 1; } } }, nms_EntityArrow_onCollideWithPlayer = ($this, $par1EntityPlayer) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj.$isRemote && $this.$inGround && $this.$arrowShake <= 0) { a: { b: { $var2 = $this.$canBePickedUp; var$3 = $rt_compare($var2, 1); if (var$3) { if ($var2 != 2) break b; if (!$par1EntityPlayer.$capabilities.$isCreativeMode) break b; } $var2 = 1; break a; } $var2 = 0; } if (!var$3) { var$4 = $par1EntityPlayer.$inventory; var$5 = new nms_ItemStack; nms_Item_$callClinit(); var$6 = nms_Item_arrow; nms_ItemStack_$callClinit(); var$5.$itemID = var$6.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; if (!nms_InventoryPlayer_addItemStackToInventory(var$4, var$5)) $var2 = 0; } if ($var2) { var$5 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$7; var$8 = Long_lo(Long_shru(var$7, 24)) / 1.6777216E7; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$7; var$8 = ((var$8 - Long_lo(Long_shru(var$7, 24)) / 1.6777216E7) * 0.699999988079071 + 1.0) * 2.0; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2078), 0.20000000298023224, var$8); var$5 = $par1EntityPlayer.$mc4; var$6 = var$5.$effectRenderer; var$4 = new nms_EntityPickupFX; var$5 = var$5.$theWorld; var$9 = (-0.5); var$10 = $this.$posX; var$11 = $this.$posY; var$12 = $this.$posZ; var$13 = $this.$motionX; var$14 = $this.$motionY; var$15 = $this.$motionZ; $ptr = 1; continue main; } } return; case 1: nms_EntityFX__init_(var$4, var$5, var$10, var$11, var$12, var$13, var$14, var$15); if ($rt_suspending()) { break main; } var$4.$entityToPickUp = $this; var$4.$entityPickingUp = $par1EntityPlayer; var$4.$maxAge = 3; var$4.$yOffs = var$9; var$16 = var$6.$fxLayers.data; if (var$16[3].$size0 >= 4000) ju_ArrayList_remove(var$16[3], 0); $par1EntityPlayer = var$6.$fxLayers.data[3]; ju_ArrayList_ensureCapacity($par1EntityPlayer, $par1EntityPlayer.$size0 + 1 | 0); var$16 = $par1EntityPlayer.$array.data; $var2 = $par1EntityPlayer.$size0; $par1EntityPlayer.$size0 = $var2 + 1 | 0; var$16[$var2] = var$4; $par1EntityPlayer.$modCount = $par1EntityPlayer.$modCount + 1 | 0; $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityArrow_canTriggerWalking = $this => { return 0; }, nms_EntityArrow_getShadowSize = $this => { return 0.0; }, nms_EntityArrow_canAttackWithItem = $this => { return 0; }, nms_RenderArrow = $rt_classWithoutFields(nms_Render), nms_RenderArrow_arrowTextures = null, nms_RenderArrow_$callClinit = () => { nms_RenderArrow_$callClinit = $rt_eraseClinit(nms_RenderArrow); nms_RenderArrow__clinit_(); }, nms_RenderArrow__init_ = $this => { let var$1; nms_RenderArrow_$callClinit(); nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; }, nms_RenderArrow__init_0 = () => { let var_0 = new nms_RenderArrow(); nms_RenderArrow__init_(var_0); return var_0; }, nms_RenderArrow_renderArrow = ($this, $par1EntityArrow, $par2, $par4, $par6, $par8, $par9) => { let $var10, $var20, $var21, var$10, $var22, $var23, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();var$10 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityArrow = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderArrow_$callClinit(); $var10 = nms_RenderArrow_arrowTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var10); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); $par8 = $par2; $var20 = $par4; $var21 = $par6; $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = $par8; $var10.$y = $var20; $var10.$z = $var21; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $var10.$sb = var$10; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par8 = $par1EntityArrow.$prevRotationYaw; $var20 = $par8 + ($par1EntityArrow.$rotationYaw - $par8) * $par9 - 90.0; $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = 0.0; $var10.$y = 1.0; $var10.$z = 0.0; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var20 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $var10.$sb = var$10; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par8 = $par1EntityArrow.$prevRotationPitch; $par8 = $par8 + ($par1EntityArrow.$rotationPitch - $par8) * $par9; $var10 = nleg_EaglerAdapterGL30_deevis; $var10.$x = 0.0; $var10.$y = 0.0; $var10.$z = 1.0; $var10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par8 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var10, $var10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $var10.$sb = var$10; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nlea_Tessellator_$callClinit(); $var10 = nlea_Tessellator_instance; nleg_EaglerAdapterGL30_glEnable(32826); $var21 = $par1EntityArrow.$arrowShake - $par9; if ($var21 > 0.0) { $par8 = $var21 * 3.0; $var22 = -nms_MathHelper_SIN_TABLE.data[($par8 * 10430.3779296875 | 0) & 65535] * $var21; $par1EntityArrow = nleg_EaglerAdapterGL30_deevis; $par1EntityArrow.$x = 0.0; $par1EntityArrow.$y = 0.0; $par1EntityArrow.$z = 1.0; $par1EntityArrow = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var22 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityArrow, $par1EntityArrow); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityArrow = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityArrow); $par1EntityArrow.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $par1EntityArrow.$sb = var$10; $par1EntityArrow.$buffer0 = $rt_createCharArray(32); $par1EntityArrow.$autoFlush = 0; $par1EntityArrow.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityArrow; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $par1EntityArrow = nleg_EaglerAdapterGL30_deevis; $par1EntityArrow.$x = 1.0; $par1EntityArrow.$y = 0.0; $par1EntityArrow.$z = 0.0; $par1EntityArrow = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $par1EntityArrow, $par1EntityArrow); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; $par1EntityArrow = new ji_ByteArrayOutputStream; $par1EntityArrow.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = $par1EntityArrow; $par1EntityArrow = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par1EntityArrow, 16); var$10.$sb = $par1EntityArrow; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityArrow = nleg_EaglerAdapterGL30_deevis; $par1EntityArrow.$x = 0.05624999850988388; $par1EntityArrow.$y = 0.05624999850988388; $par1EntityArrow.$z = 0.05624999850988388; $par1EntityArrow = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityArrow, $par1EntityArrow); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityArrow = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityArrow); $par1EntityArrow.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $par1EntityArrow.$sb = var$10; $par1EntityArrow.$buffer0 = $rt_createCharArray(32); $par1EntityArrow.$autoFlush = 0; $par1EntityArrow.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityArrow; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityArrow = nleg_EaglerAdapterGL30_deevis; $par1EntityArrow.$x = (-4.0); $par1EntityArrow.$y = 0.0; $par1EntityArrow.$z = 0.0; $par1EntityArrow = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityArrow, $par1EntityArrow); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityArrow = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityArrow); $par1EntityArrow.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $par1EntityArrow.$sb = var$10; $par1EntityArrow.$buffer0 = $rt_createCharArray(32); $par1EntityArrow.$autoFlush = 0; $par1EntityArrow.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityArrow; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_normalSerial = nleg_EaglerAdapterGL30_normalSerial + 1 | 0; $par9 = jl_Math_sqrt(0.003164062276482582); nleg_EaglerAdapterGL30_normalX = 0.05624999850988388 / $par9; $par8 = 0.0 / $par9; nleg_EaglerAdapterGL30_normalY = $par8; nleg_EaglerAdapterGL30_normalZ = $par8; if ($var10.$isDrawing) nlea_Tessellator_draw($var10); $var10.$isDrawing = 1; $var10.$vertexCount = 0; $var10.$rawBufferIndex = 0; $var10.$addedVertices = 0; $var10.$drawMode = 7; $var10.$hasNormals = 0; $var10.$hasColor = 0; $var10.$hasTexture = 0; $var10.$hasBrightness = 0; $var10.$isColorDisabled = 0; $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = 0.15625; nlea_Tessellator_addVertex($var10, (-7.0), (-2.0), (-2.0)); $var10.$hasTexture = 1; $var10.$textureU = 0.15625; $var10.$textureV = 0.15625; nlea_Tessellator_addVertex($var10, (-7.0), (-2.0), 2.0); $var10.$hasTexture = 1; $var10.$textureU = 0.15625; $var10.$textureV = 0.3125; nlea_Tessellator_addVertex($var10, (-7.0), 2.0, 2.0); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = 0.3125; nlea_Tessellator_addVertex($var10, (-7.0), 2.0, (-2.0)); nlea_Tessellator_draw($var10); nleg_EaglerAdapterGL30_normalSerial = nleg_EaglerAdapterGL30_normalSerial + 1 | 0; $var21 = jl_Math_sqrt(0.003164062276482582); nleg_EaglerAdapterGL30_normalX = (-0.05624999850988388) / $var21; $par8 = 0.0 / $var21; nleg_EaglerAdapterGL30_normalY = $par8; nleg_EaglerAdapterGL30_normalZ = $par8; if ($var10.$isDrawing) nlea_Tessellator_draw($var10); $var10.$isDrawing = 1; $var10.$vertexCount = 0; $var10.$rawBufferIndex = 0; $var10.$addedVertices = 0; $var10.$drawMode = 7; $var10.$hasNormals = 0; $var10.$hasColor = 0; $var10.$hasTexture = 0; $var10.$hasBrightness = 0; $var10.$isColorDisabled = 0; $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = 0.15625; nlea_Tessellator_addVertex($var10, (-7.0), 2.0, (-2.0)); $var10.$hasTexture = 1; $var10.$textureU = 0.15625; $var10.$textureV = 0.15625; nlea_Tessellator_addVertex($var10, (-7.0), 2.0, 2.0); $var10.$hasTexture = 1; $var10.$textureU = 0.15625; $var10.$textureV = 0.3125; nlea_Tessellator_addVertex($var10, (-7.0), (-2.0), 2.0); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = 0.3125; nlea_Tessellator_addVertex($var10, (-7.0), (-2.0), (-2.0)); nlea_Tessellator_draw($var10); $var23 = 0; while ($var23 < 4) { $par1EntityArrow = nleg_EaglerAdapterGL30_deevis; $par1EntityArrow.$x = 1.0; $par1EntityArrow.$y = 0.0; $par1EntityArrow.$z = 0.0; $par1EntityArrow = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.5707963705062866, nleg_EaglerAdapterGL30_deevis, $par1EntityArrow, $par1EntityArrow); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityArrow = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityArrow); $par1EntityArrow.$out0 = var$13; var$13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$13, 16); $par1EntityArrow.$sb = var$13; $par1EntityArrow.$buffer0 = $rt_createCharArray(32); $par1EntityArrow.$autoFlush = 0; $par1EntityArrow.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityArrow; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_normalSerial = nleg_EaglerAdapterGL30_normalSerial + 1 | 0; var$14 = jl_Math_sqrt(0.003164062276482582); var$15 = 0.0 / var$14; nleg_EaglerAdapterGL30_normalX = var$15; nleg_EaglerAdapterGL30_normalY = var$15; nleg_EaglerAdapterGL30_normalZ = 0.05624999850988388 / var$14; if ($var10.$isDrawing) nlea_Tessellator_draw($var10); $var10.$isDrawing = 1; $var10.$vertexCount = 0; $var10.$rawBufferIndex = 0; $var10.$addedVertices = 0; $var10.$drawMode = 7; $var10.$hasNormals = 0; $var10.$hasColor = 0; $var10.$hasTexture = 0; $var10.$hasBrightness = 0; $var10.$isColorDisabled = 0; $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = 0.0; nlea_Tessellator_addVertex($var10, (-8.0), (-2.0), 0.0); $var10.$hasTexture = 1; $var10.$textureU = 0.5; $var10.$textureV = 0.0; nlea_Tessellator_addVertex($var10, 8.0, (-2.0), 0.0); $var10.$hasTexture = 1; $var10.$textureU = 0.5; $var10.$textureV = 0.15625; nlea_Tessellator_addVertex($var10, 8.0, 2.0, 0.0); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = 0.15625; nlea_Tessellator_addVertex($var10, (-8.0), 2.0, 0.0); nlea_Tessellator_draw($var10); $var23 = $var23 + 1 | 0; } nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityArrow, $par2, $par4, $par6, $par8, $par9, $var10, $var20, $var21, var$10, $var22, $var23, var$13, var$14, var$15, $ptr); }, nms_RenderArrow_getEntityTexture = ($this, $par1Entity) => { nms_RenderArrow_$callClinit(); return nms_RenderArrow_arrowTextures; }, nms_RenderArrow_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderArrow_renderArrow($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderArrow__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2079); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderArrow_arrowTextures = var$1; }; function nms_EntityThrowable() { let a = this; nms_Entity.call(a); a.$xTile0 = 0; a.$yTile0 = 0; a.$zTile0 = 0; a.$inTile1 = 0; a.$inGround1 = 0; a.$throwableShake = 0; a.$thrower = null; a.$throwerName = null; a.$ticksInGround = 0; a.$ticksInAir1 = 0; } let nms_EntityThrowable_entityInit = $this => { return; }, nms_EntityThrowable_isInRangeToRenderDist = ($this, $par1) => { let var$2, $var3; var$2 = $this.$boundingBox; $var3 = (var$2.$maxX - var$2.$minX + var$2.$maxY - var$2.$minY + var$2.$maxZ - var$2.$minZ) / 3.0 * 4.0 * 64.0; return $par1 >= $var3 * $var3 ? 0 : 1; }, nms_EntityThrowable__init_ = ($this, $par1World, $par2EntityLivingBase) => { let var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$par2EntityLivingBase = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity__init_($this, $par1World); $this.$xTile0 = (-1); $this.$yTile0 = (-1); $this.$zTile0 = (-1); $this.$thrower = $par2EntityLivingBase; var$3 = 0.25; $var3 = 0.25; $ptr = 1; case 1: nms_Entity_setSize($this, var$3, $var3); if ($rt_suspending()) { break main; } var$5 = $par2EntityLivingBase.$posX; var$6 = $par2EntityLivingBase.$posY + $par2EntityLivingBase.$getEyeHeight(); var$7 = $par2EntityLivingBase.$posZ; $var3 = $par2EntityLivingBase.$rotationYaw; var$3 = $par2EntityLivingBase.$rotationPitch; $this.$posX = var$5; $this.$prevPosX = var$5; $this.$lastTickPosX = var$5; var$6 = var$6 + $this.$yOffset; $this.$posY = var$6; $this.$prevPosY = var$6; $this.$lastTickPosY = var$6; $this.$posZ = var$7; $this.$prevPosZ = var$7; $this.$lastTickPosZ = var$7; $this.$rotationYaw = $var3; $this.$rotationPitch = var$3; nms_Entity_setPosition($this, var$5, var$6, var$7); var$5 = $this.$posX; $var3 = $this.$rotationYaw / 180.0 * 3.1415927410125732; var$8 = nms_MathHelper_SIN_TABLE.data; var$3 = $var3 * 10430.3779296875; var$5 = var$5 - var$8[(var$3 + 16384.0 | 0) & 65535] * 0.1599999964237213; $this.$posX = var$5; var$6 = $this.$posY - 0.10000000149011612; $this.$posY = var$6; var$7 = $this.$posZ - var$8[(var$3 | 0) & 65535] * 0.1599999964237213; $this.$posZ = var$7; nms_Entity_setPosition($this, var$5, var$6, var$7); $this.$yOffset = 0.0; var$9 = $this.$rotationYaw / 180.0 * 3.1415927410125732; var$8 = nms_MathHelper_SIN_TABLE.data; var$10 = var$9 * 10430.3779296875; var$11 = -var$8[(var$10 | 0) & 65535]; var$12 = $this.$rotationPitch; var$13 = (var$12 / 180.0 * 3.1415927410125732 * 10430.3779296875 + 16384.0 | 0) & 65535; $this.$motionX = var$11 * var$8[var$13] * 0.4000000059604645; $this.$motionZ = var$8[(var$10 + 16384.0 | 0) & 65535] * var$8[var$13] * 0.4000000059604645; var$3 = (var$12 + $this.$func_70183_g()) / 180.0 * 3.1415927410125732; var$5 = -nms_MathHelper_SIN_TABLE.data[(var$3 * 10430.3779296875 | 0) & 65535] * 0.4000000059604645; $this.$motionY = var$5; nms_EntityThrowable_setThrowableHeading($this, $this.$motionX, var$5, $this.$motionZ, $this.$func_70182_d(), 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2EntityLivingBase, var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntityThrowable_func_70182_d = $this => { return 1.5; }, nms_EntityThrowable_func_70183_g = $this => { return 0.0; }, nms_EntityThrowable_setThrowableHeading = ($this, $par1, $par3, $par5, $par7, $par8) => { let var$6, var$7, var$8, $var10; var$6 = jl_Math_sqrt($par1 * $par1 + $par3 * $par3 + $par5 * $par5); var$7 = $par1 / var$6; $par1 = $par3 / var$6; var$6 = $par5 / var$6; $par3 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.007499999832361937; var$8 = $par8; $par3 = var$7 + $par3 * var$8; $par5 = $par1 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.007499999832361937 * var$8; $par1 = var$6 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.007499999832361937 * var$8; var$6 = $par7; $par3 = $par3 * var$6; $par5 = $par5 * var$6; $par1 = $par1 * var$6; $this.$motionX = $par3; $this.$motionY = $par5; $this.$motionZ = $par1; $var10 = jl_Math_sqrt($par3 * $par3 + $par1 * $par1); $par7 = jl_Math_atan2($par3, $par1) * 180.0 / 3.141592653589793; $this.$rotationYaw = $par7; $this.$prevRotationYaw = $par7; $par7 = jl_Math_atan2($par5, $var10) * 180.0 / 3.141592653589793; $this.$rotationPitch = $par7; $this.$prevRotationPitch = $par7; $this.$ticksInGround = 0; }, nms_EntityThrowable_setVelocity = ($this, $par1, $par3, $par5) => { let $var7, var$5; $this.$motionX = $par1; $this.$motionY = $par3; $this.$motionZ = $par5; if ($this.$prevRotationPitch === 0.0 && $this.$prevRotationYaw === 0.0) { $var7 = jl_Math_sqrt($par1 * $par1 + $par5 * $par5); var$5 = jl_Math_atan2($par1, $par5) * 180.0 / 3.141592653589793; $this.$rotationYaw = var$5; $this.$prevRotationYaw = var$5; var$5 = jl_Math_atan2($par3, $var7) * 180.0 / 3.141592653589793; $this.$rotationPitch = var$5; $this.$prevRotationPitch = var$5; } }, nms_EntityThrowable_onUpdate = $this => { let $var1, $var6, $var16, var$4, var$5, $var2, $var8, $var9, $var3, $var13, $var4, var$12, $var14, var$14, var$15, var$16, $var10, $var7, var$19, var$20, $var5, var$22, var$23, var$24, $var17, $var18, $var19, var$28, var$29, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var5 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var7 = $thread.pop();$var10 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var14 = $thread.pop();var$12 = $thread.pop();$var4 = $thread.pop();$var13 = $thread.pop();$var3 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var16 = $thread.pop();$var6 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$lastTickPosX = $this.$posX; $this.$lastTickPosY = $this.$posY; $this.$lastTickPosZ = $this.$posZ; $ptr = 1; case 1: nms_Entity_onEntityUpdate($this); if ($rt_suspending()) { break main; } $var1 = $this.$throwableShake; if ($var1 > 0) $this.$throwableShake = $var1 - 1 | 0; if (!$this.$inGround1) $this.$ticksInAir1 = $this.$ticksInAir1 + 1 | 0; else { if (nms_World_getBlockId($this.$worldObj, $this.$xTile0, $this.$yTile0, $this.$zTile0) == $this.$inTile1) { $var1 = $this.$ticksInGround + 1 | 0; $this.$ticksInGround = $var1; if ($var1 == 1200) $this.$isDead = 1; return; } $this.$inGround1 = 0; $var6 = $this.$motionX; $var16 = $this.$rand; var$4 = Long_and(Long_add(Long_mul($var16.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var16.$seed = var$4; $this.$motionX = $var6 * Long_lo(Long_shru(var$4, 24)) / 1.6777216E7 * 0.20000000298023224; $var6 = $this.$motionY; var$4 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var16.$seed = var$4; $this.$motionY = $var6 * Long_lo(Long_shru(var$4, 24)) / 1.6777216E7 * 0.20000000298023224; $var6 = $this.$motionZ; var$5 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var16.$seed = var$5; $this.$motionZ = $var6 * Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 * 0.20000000298023224; $this.$ticksInGround = 0; $this.$ticksInAir1 = 0; } $var16 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); $var8 = $this.$worldObj; $var1 = 0; $var9 = 0; $ptr = 2; case 2: $tmp = nms_World_rayTraceBlocks_do_do($var8, $var16, $var2, $var1, $var9); if ($rt_suspending()) { break main; } $var3 = $tmp; $var16 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); if ($var3 !== null) { $var8 = $this.$worldObj.$vecPool; $var2 = $var3.$hitVec; $var2 = nms_Vec3Pool_getVecFromPool($var8, $var2.$xCoord, $var2.$yCoord, $var2.$zCoord); } a: { $var13 = $this.$worldObj; if (!$var13.$isRemote) { $var4 = null; $var8 = nms_AxisAlignedBB_addCoord($this.$boundingBox, $this.$motionX, $this.$motionY, $this.$motionZ); $var6 = $var8.$minX - 1.0; var$12 = $var8.$minY - 1.0; $var14 = $var8.$minZ - 1.0; var$14 = $var8.$maxX + 1.0; var$15 = $var8.$maxY + 1.0; var$16 = $var8.$maxZ + 1.0; $var10 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var9 = $var10.$nextPoolIndex; $var8 = $var10.$listAABB; $var1 = $var8.$size0; $var7 = $rt_compare($var9, $var1); if ($var7 >= 0) { var$19 = new nms_AxisAlignedBB; var$19.$minX = $var6; var$19.$minY = var$12; var$19.$minZ = $var14; var$19.$maxX = var$14; var$19.$maxY = var$15; var$19.$maxZ = var$16; ju_ArrayList_ensureCapacity($var8, $var1 + 1 | 0); var$20 = $var8.$array.data; $var9 = $var8.$size0; $var8.$size0 = $var9 + 1 | 0; var$20[$var9] = var$19; $var8.$modCount = $var8.$modCount + 1 | 0; } else if ($var9 >= 0 && $var7 < 0) { var$19 = $var8.$array.data[$var9]; var$19.$minX = $var6; var$19.$minY = var$12; var$19.$minZ = $var14; var$19.$maxX = var$14; var$19.$maxY = var$15; var$19.$maxZ = var$16; } else { $var16 = new jl_IndexOutOfBoundsException; $var16.$suppressionEnabled = 1; $var16.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var16); $rt_throw($var16); } $var10.$nextPoolIndex = $var10.$nextPoolIndex + 1 | 0; $var5 = nms_World_getEntitiesWithinAABBExcludingEntity($var13, $this, var$19, null); $var6 = 0.0; $var8 = nms_EntityThrowable_getThrower($this); $var9 = 0; b: { while (true) { $var1 = $rt_compare($var9, $var5.$size0); if ($var1 >= 0) { if ($var4 === null) break a; $var3 = new nms_MovingObjectPosition; $var3.$typeOfHit = nms_EnumMovingObjectType_ENTITY; $var3.$entityHit = $var4; $var3.$hitVec = nms_Vec3Pool_getVecFromPool($var4.$worldObj.$vecPool, $var4.$posX, $var4.$posY, $var4.$posZ); break a; } if ($var9 < 0) break; if ($var1 >= 0) break; $var10 = $var5.$array.data[$var9]; if ($var10.$canBeCollidedWith() && !($var10 === $var8 && $this.$ticksInAir1 < 5)) { $var13 = $var10.$boundingBox; $var14 = $var13.$minX - 0.30000001192092896; var$14 = $var13.$minY - 0.30000001192092896; var$15 = $var13.$minZ - 0.30000001192092896; var$16 = $var13.$maxX + 0.30000001192092896; var$22 = $var13.$maxY + 0.30000001192092896; var$12 = $var13.$maxZ + 0.30000001192092896; var$23 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$24 = var$23.$nextPoolIndex; $var13 = var$23.$listAABB; $var7 = $var13.$size0; $var1 = $rt_compare(var$24, $var7); if ($var1 >= 0) { var$19 = new nms_AxisAlignedBB; var$19.$minX = $var14; var$19.$minY = var$14; var$19.$minZ = var$15; var$19.$maxX = var$16; var$19.$maxY = var$22; var$19.$maxZ = var$12; ju_ArrayList_ensureCapacity($var13, $var7 + 1 | 0); var$20 = $var13.$array.data; $var7 = $var13.$size0; $var13.$size0 = $var7 + 1 | 0; var$20[$var7] = var$19; $var13.$modCount = $var13.$modCount + 1 | 0; } else { if (var$24 < 0) break b; if ($var1 >= 0) break b; var$19 = $var13.$array.data[var$24]; var$19.$minX = $var14; var$19.$minY = var$14; var$19.$minZ = var$15; var$19.$maxX = var$16; var$19.$maxY = var$22; var$19.$maxZ = var$12; } var$23.$nextPoolIndex = var$23.$nextPoolIndex + 1 | 0; $var13 = nms_AxisAlignedBB_calculateIntercept(var$19, $var16, $var2); if ($var13 !== null) { $var13 = $var13.$hitVec; var$12 = $var13.$xCoord - $var16.$xCoord; $var14 = $var13.$yCoord - $var16.$yCoord; var$14 = $var13.$zCoord - $var16.$zCoord; $var14 = jl_Math_sqrt(var$12 * var$12 + $var14 * $var14 + var$14 * var$14); if (!($var14 >= $var6 && $var6 !== 0.0)) { $var4 = $var10; $var6 = $var14; } } } $var9 = $var9 + 1 | 0; } $var16 = new jl_IndexOutOfBoundsException; $var16.$suppressionEnabled = 1; $var16.$writableStackTrace = 1; $rt_throw($var16); } $var16 = new jl_IndexOutOfBoundsException; $var16.$suppressionEnabled = 1; $var16.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var16); $rt_throw($var16); } } c: { if ($var3 !== null) { if ($var3.$typeOfHit !== nms_EnumMovingObjectType_TILE) break c; $var1 = nms_World_getBlockId($this.$worldObj, $var3.$blockX, $var3.$blockY, $var3.$blockZ); nms_Block_$callClinit(); if ($var1 != nms_Block_portal.$blockID) break c; nms_Entity_setInPortal($this); } $var6 = $this.$posX; var$12 = $this.$motionX; $this.$posX = $var6 + var$12; $this.$posY = $this.$posY + $this.$motionY; $var6 = $this.$posZ; $var14 = $this.$motionZ; $this.$posZ = $var6 + $var14; $var17 = jl_Math_sqrt(var$12 * var$12 + $var14 * $var14); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.141592653589793; $var17 = jl_Math_atan2($this.$motionY, $var17) * 180.0 / 3.141592653589793; $this.$rotationPitch = $var17; while (true) { $var18 = $this.$prevRotationPitch; if ($var17 - $var18 >= (-180.0)) break; $this.$prevRotationPitch = $var18 - 360.0; } while (true) { $var18 = $this.$prevRotationPitch; $var19 = $var17 - $var18; if ($var19 < 180.0) break; $this.$prevRotationPitch = $var18 + 360.0; } while (true) { $var17 = $this.$rotationYaw; var$28 = $this.$prevRotationYaw; if ($var17 - var$28 >= (-180.0)) break; $this.$prevRotationYaw = var$28 - 360.0; } while (true) { var$28 = $this.$prevRotationYaw; var$29 = $var17 - var$28; if (var$29 < 180.0) break; $this.$prevRotationYaw = var$28 + 360.0; } $this.$rotationPitch = $var18 + $var19 * 0.20000000298023224; $this.$rotationYaw = var$28 + var$29 * 0.20000000298023224; $var18 = 0.9900000095367432; $var19 = $this.$getGravityVelocity(); if ($this.$inWater) { $var7 = 0; while ($var7 < 4) { $var16 = $this.$worldObj; $var2 = $rt_s(1242); $var6 = $this.$posX; var$12 = $this.$motionX; $var6 = $var6 - var$12 * 0.25; var$14 = $this.$posY; var$15 = $this.$motionY; var$14 = var$14 - var$15 * 0.25; var$16 = $this.$posZ; var$22 = $this.$motionZ; $var14 = var$16 - var$22 * 0.25; $var1 = 0; $var8 = $var16.$worldAccesses; $var9 = $rt_compare($var1, $var8.$size0); if ($var9 < 0) { if ($var1 >= 0 && $var9 < 0) { $var8 = $var8.$array.data[$var1]; $ptr = 4; continue main; } $var16 = new jl_IndexOutOfBoundsException; $var16.$suppressionEnabled = 1; $var16.$writableStackTrace = 1; $rt_throw($var16); } $var7 = $var7 + 1 | 0; } $var18 = 0.800000011920929; } $var6 = $this.$motionX; var$12 = $var18; $this.$motionX = $var6 * var$12; $var6 = $this.$motionY * var$12; $this.$motionY = $var6; $this.$motionZ = $this.$motionZ * var$12; $this.$motionY = $var6 - $var19; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; } $ptr = 3; case 3: $this.$onImpact($var3); if ($rt_suspending()) { break main; } $var6 = $this.$posX; var$12 = $this.$motionX; $this.$posX = $var6 + var$12; $this.$posY = $this.$posY + $this.$motionY; $var6 = $this.$posZ; $var14 = $this.$motionZ; $this.$posZ = $var6 + $var14; $var17 = jl_Math_sqrt(var$12 * var$12 + $var14 * $var14); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.141592653589793; $var17 = jl_Math_atan2($this.$motionY, $var17) * 180.0 / 3.141592653589793; $this.$rotationPitch = $var17; while (true) { $var18 = $this.$prevRotationPitch; if ($var17 - $var18 >= (-180.0)) break; $this.$prevRotationPitch = $var18 - 360.0; } while (true) { $var18 = $this.$prevRotationPitch; $var19 = $var17 - $var18; if ($var19 < 180.0) break; $this.$prevRotationPitch = $var18 + 360.0; } while (true) { $var17 = $this.$rotationYaw; var$28 = $this.$prevRotationYaw; if ($var17 - var$28 >= (-180.0)) break; $this.$prevRotationYaw = var$28 - 360.0; } while (true) { var$28 = $this.$prevRotationYaw; var$29 = $var17 - var$28; if (var$29 < 180.0) break; $this.$prevRotationYaw = var$28 + 360.0; } $this.$rotationPitch = $var18 + $var19 * 0.20000000298023224; $this.$rotationYaw = var$28 + var$29 * 0.20000000298023224; $var18 = 0.9900000095367432; $var19 = $this.$getGravityVelocity(); if ($this.$inWater) { $var7 = 0; while ($var7 < 4) { $var16 = $this.$worldObj; $var2 = $rt_s(1242); $var6 = $this.$posX; var$12 = $this.$motionX; $var6 = $var6 - var$12 * 0.25; var$14 = $this.$posY; var$15 = $this.$motionY; var$14 = var$14 - var$15 * 0.25; var$16 = $this.$posZ; var$22 = $this.$motionZ; $var14 = var$16 - var$22 * 0.25; $var1 = 0; $var8 = $var16.$worldAccesses; $var9 = $rt_compare($var1, $var8.$size0); if ($var9 < 0) { if ($var1 >= 0 && $var9 < 0) { $var8 = $var8.$array.data[$var1]; $ptr = 4; continue main; } $var16 = new jl_IndexOutOfBoundsException; $var16.$suppressionEnabled = 1; $var16.$writableStackTrace = 1; $rt_throw($var16); } $var7 = $var7 + 1 | 0; } $var18 = 0.800000011920929; } $var6 = $this.$motionX; var$12 = $var18; $this.$motionX = $var6 * var$12; $var6 = $this.$motionY * var$12; $this.$motionY = $var6; $this.$motionZ = $this.$motionZ * var$12; $this.$motionY = $var6 - $var19; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; case 4: nms_RenderGlobal_doSpawnParticle($var8, $var2, $var6, var$14, $var14, var$12, var$15, var$22); if ($rt_suspending()) { break main; } $var1 = $var1 + 1 | 0; while (true) { $var8 = $var16.$worldAccesses; $var9 = $rt_compare($var1, $var8.$size0); if ($var9 < 0) { if ($var1 >= 0 && $var9 < 0) { $var8 = $var8.$array.data[$var1]; continue main; } $var16 = new jl_IndexOutOfBoundsException; $var16.$suppressionEnabled = 1; $var16.$writableStackTrace = 1; $rt_throw($var16); } $var7 = $var7 + 1 | 0; if ($var7 >= 4) break; $var16 = $this.$worldObj; $var2 = $rt_s(1242); $var6 = $this.$posX; var$12 = $this.$motionX; $var6 = $var6 - var$12 * 0.25; var$14 = $this.$posY; var$15 = $this.$motionY; var$14 = var$14 - var$15 * 0.25; var$16 = $this.$posZ; var$22 = $this.$motionZ; $var14 = var$16 - var$22 * 0.25; $var1 = 0; } $var6 = $this.$motionX; var$12 = 0.800000011920929; $this.$motionX = $var6 * var$12; $var6 = $this.$motionY * var$12; $this.$motionY = $var6; $this.$motionZ = $this.$motionZ * var$12; $this.$motionY = $var6 - $var19; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var6, $var16, var$4, var$5, $var2, $var8, $var9, $var3, $var13, $var4, var$12, $var14, var$14, var$15, var$16, $var10, $var7, var$19, var$20, $var5, var$22, var$23, var$24, $var17, $var18, $var19, var$28, var$29, $ptr); }, nms_EntityThrowable_getGravityVelocity = $this => { return 0.029999999329447746; }, nms_EntityThrowable_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5; var$2 = $this.$xTile0 << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(2069); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2069), var$4); var$2 = $this.$yTile0 << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(2070); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2070), var$4); var$2 = $this.$zTile0 << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(2071); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2071), var$4); var$2 = $this.$inTile1 << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2072); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2072), var$4); var$2 = $this.$throwableShake << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2074); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2074), var$4); var$2 = (!$this.$inGround1 ? 0 : 1) << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2075); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2075), var$4); var$5 = $this.$throwerName; if (!(var$5 !== null && var$5.$nativeString.length)) { var$5 = $this.$thrower; if (var$5 !== null && var$5 instanceof nms_EntityPlayer) $this.$throwerName = var$5.$getEntityName(); } var$4 = $this.$throwerName; if (var$4 === null) var$4 = $rt_s(18); var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagString; $par1NBTTagCompound.$name = $rt_s(2080); $par1NBTTagCompound.$data1 = var$4; ju_HashMap_putImpl(var$3, $rt_s(2080), $par1NBTTagCompound); }, nms_EntityThrowable_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2069).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2069).$nativeString.length) break a; $rt_s(2069).$hashCode1 = (31 * $rt_s(2069).$hashCode1 | 0) + $rt_s(2069).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2069).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(2069) !== var$6) { if ($rt_s(2069) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(2069).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2069) !== null) { c: { if (!$rt_s(2069).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2069).$nativeString.length) break c; $rt_s(2069).$hashCode1 = (31 * $rt_s(2069).$hashCode1 | 0) + $rt_s(2069).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$3 = $rt_s(2069).$hashCode1; var$5 = var$2.$elementData.data; var$7 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$3) { d: { var$2 = var$7.$key; if ($rt_s(2069) !== var$2) { if ($rt_s(2069) === var$2) var$4 = 1; else if (!(var$2 instanceof jl_String)) var$4 = 0; else { var$2 = var$2; var$4 = $rt_s(2069).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$7 = var$7.$next3; } } else { var$7 = var$2.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } var$4 = (var$7 === null ? null : var$7.$value1).$data2; } else var$4 = 0; e: { $this.$xTile0 = var$4; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2070).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2070).$nativeString.length) break e; $rt_s(2070).$hashCode1 = (31 * $rt_s(2070).$hashCode1 | 0) + $rt_s(2070).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2070).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { f: { var$6 = var$2.$key; if ($rt_s(2070) !== var$6) { if ($rt_s(2070) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2070).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break f; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$4 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2070) !== null) { g: { if (!$rt_s(2070).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2070).$nativeString.length) break g; $rt_s(2070).$hashCode1 = (31 * $rt_s(2070).$hashCode1 | 0) + $rt_s(2070).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2070).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { h: { var$6 = var$2.$key; if ($rt_s(2070) !== var$6) { if ($rt_s(2070) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$4 = $rt_s(2070).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break h; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$4 = (var$2 === null ? null : var$2.$value1).$data2; } i: { $this.$yTile0 = var$4; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2071).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2071).$nativeString.length) break i; $rt_s(2071).$hashCode1 = (31 * $rt_s(2071).$hashCode1 | 0) + $rt_s(2071).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2071).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { j: { var$6 = var$2.$key; if ($rt_s(2071) !== var$6) { if ($rt_s(2071) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2071).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break j; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2071) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { k: { if (!$rt_s(2071).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2071).$nativeString.length) break k; $rt_s(2071).$hashCode1 = (31 * $rt_s(2071).$hashCode1 | 0) + $rt_s(2071).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2071).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { l: { var$6 = var$2.$key; if ($rt_s(2071) !== var$6) { if ($rt_s(2071) === var$6) var$4 = 1; else if (var$6 instanceof jl_String) { var$6 = var$6; var$4 = $rt_s(2071).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$4 = 0; if (!var$4) { var$4 = 0; break l; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$4 = (var$2 === null ? null : var$2.$value1).$data2; } else var$4 = 0; m: { $this.$zTile0 = var$4; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2072).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2072).$nativeString.length) break m; $rt_s(2072).$hashCode1 = (31 * $rt_s(2072).$hashCode1 | 0) + $rt_s(2072).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2072).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { n: { var$6 = var$2.$key; if ($rt_s(2072) !== var$6) { if ($rt_s(2072) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$4 = $rt_s(2072).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break n; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2072) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { o: { if (!$rt_s(2072).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2072).$nativeString.length) break o; $rt_s(2072).$hashCode1 = (31 * $rt_s(2072).$hashCode1 | 0) + $rt_s(2072).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2072).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { p: { var$6 = var$2.$key; if ($rt_s(2072) !== var$6) { if ($rt_s(2072) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$4 = $rt_s(2072).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break p; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } q: { $this.$inTile1 = var$3 & 255; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2074).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2074).$nativeString.length) break q; $rt_s(2074).$hashCode1 = (31 * $rt_s(2074).$hashCode1 | 0) + $rt_s(2074).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2074).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { r: { var$6 = var$2.$key; if ($rt_s(2074) !== var$6) { if ($rt_s(2074) !== var$6) { if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2074).$nativeString !== var$6.$nativeString ? 0 : 1; } } else var$4 = 1; if (!var$4) { var$4 = 0; break r; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2074) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { s: { if (!$rt_s(2074).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2074).$nativeString.length) break s; $rt_s(2074).$hashCode1 = (31 * $rt_s(2074).$hashCode1 | 0) + $rt_s(2074).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2074).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { t: { var$6 = var$2.$key; if ($rt_s(2074) !== var$6) { if ($rt_s(2074) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2074).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break t; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } else var$3 = 0; u: { $this.$throwableShake = var$3 & 255; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2075).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2075).$nativeString.length) break u; $rt_s(2075).$hashCode1 = (31 * $rt_s(2075).$hashCode1 | 0) + $rt_s(2075).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2075).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { v: { var$6 = var$2.$key; if ($rt_s(2075) !== var$6) { if ($rt_s(2075) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2075).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break v; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2075) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { w: { if (!$rt_s(2075).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2075).$nativeString.length) break w; $rt_s(2075).$hashCode1 = (31 * $rt_s(2075).$hashCode1 | 0) + $rt_s(2075).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2075).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { x: { var$6 = var$2.$key; if ($rt_s(2075) !== var$6) { if ($rt_s(2075) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2075).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break x; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } var$4 = var$3 != 1 ? 0 : 1; y: { $this.$inGround1 = var$4; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2080).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2080).$nativeString.length) break y; $rt_s(2080).$hashCode1 = (31 * $rt_s(2080).$hashCode1 | 0) + $rt_s(2080).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2080).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { z: { var$6 = var$2.$key; if ($rt_s(2080) !== var$6) { if ($rt_s(2080) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2080).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break z; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $par1NBTTagCompound = $rt_s(18); else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2080) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { ba: { if (!$rt_s(2080).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2080).$nativeString.length) break ba; $rt_s(2080).$hashCode1 = (31 * $rt_s(2080).$hashCode1 | 0) + $rt_s(2080).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2080).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$8 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$8) { bb: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(2080) !== var$2) { if ($rt_s(2080) === var$2) var$4 = 1; else if (!(var$2 instanceof jl_String)) var$4 = 0; else { var$2 = var$2; var$4 = $rt_s(2080).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break bb; } } var$4 = 1; } if (var$4) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $par1NBTTagCompound = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data1; } $this.$throwerName = $par1NBTTagCompound; if ($par1NBTTagCompound !== null && !$par1NBTTagCompound.$nativeString.length) $this.$throwerName = null; }, nms_EntityThrowable_getShadowSize = $this => { return 0.0; }, nms_EntityThrowable_getThrower = $this => { let var$1, var$2, var$3, var$4, var$5; a: { if ($this.$thrower === null) { var$1 = $this.$throwerName; if (var$1 !== null && var$1.$nativeString.length > 0) { var$1 = $this.$worldObj; var$2 = $this.$throwerName; var$3 = 0; b: { c: { while (true) { var$4 = var$1.$playerEntities; var$5 = $rt_compare(var$3, var$4.$size0); if (var$5 >= 0) break; if (var$3 < 0) break c; if (var$5 >= 0) break c; var$4 = var$4.$array.data[var$3].$username; if (var$2 === var$4) var$5 = 1; else if (!(var$4 instanceof jl_String)) var$5 = 0; else { var$4 = var$4; var$5 = var$2.$nativeString !== var$4.$nativeString ? 0 : 1; } if (var$5) { var$1 = var$1.$playerEntities; if (var$3 < 0) break a; if (var$3 >= var$1.$size0) break a; var$1 = var$1.$array.data[var$3]; break b; } var$3 = var$3 + 1 | 0; } var$1 = null; break b; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $this.$thrower = var$1; } } return $this.$thrower; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nms_EntitySnowball = $rt_classWithoutFields(nms_EntityThrowable), nms_EntitySnowball_onImpact = ($this, $par1MovingObjectPosition) => { let $var2, var$3, var$4, var$5, $var3, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1MovingObjectPosition = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1MovingObjectPosition = $par1MovingObjectPosition.$entityHit; if ($par1MovingObjectPosition !== null) { $var2 = 0; if ($par1MovingObjectPosition instanceof nms_EntityBlaze) $var2 = 3; var$3 = nms_EntityThrowable_getThrower($this); var$4 = new nms_EntityDamageSourceIndirect; var$4.$hungerDamage = 0.30000001192092896; var$4.$damageType = $rt_s(2081); var$4.$damageSourceEntity = $this; var$4.$indirectEntity = var$3; var$4.$projectile = 1; var$5 = $var2; $ptr = 1; continue main; } $var3 = 0; while ($var3 < 8) { var$3 = $this.$worldObj; var$4 = $rt_s(1491); var$7 = $this.$posX; var$8 = $this.$posY; var$9 = $this.$posZ; var$10 = 0.0; var$11 = 0.0; var$12 = 0.0; $var2 = 0; $par1MovingObjectPosition = var$3.$worldAccesses; var$13 = $rt_compare($var2, $par1MovingObjectPosition.$size0); if (var$13 < 0) { if ($var2 >= 0 && var$13 < 0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[$var2]; $ptr = 2; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; $rt_throw($par1MovingObjectPosition); } $var3 = $var3 + 1 | 0; } if (!$this.$worldObj.$isRemote) $this.$isDead = 1; return; case 1: $par1MovingObjectPosition.$attackEntityFrom(var$4, var$5); if ($rt_suspending()) { break main; } $var3 = 0; while ($var3 < 8) { var$3 = $this.$worldObj; var$4 = $rt_s(1491); var$7 = $this.$posX; var$8 = $this.$posY; var$9 = $this.$posZ; var$10 = 0.0; var$11 = 0.0; var$12 = 0.0; $var2 = 0; $par1MovingObjectPosition = var$3.$worldAccesses; var$13 = $rt_compare($var2, $par1MovingObjectPosition.$size0); if (var$13 < 0) { if ($var2 >= 0 && var$13 < 0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[$var2]; $ptr = 2; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; $rt_throw($par1MovingObjectPosition); } $var3 = $var3 + 1 | 0; } if (!$this.$worldObj.$isRemote) $this.$isDead = 1; return; case 2: nms_RenderGlobal_doSpawnParticle($par1MovingObjectPosition, var$4, var$7, var$8, var$9, var$10, var$11, var$12); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; while (true) { $par1MovingObjectPosition = var$3.$worldAccesses; var$13 = $rt_compare($var2, $par1MovingObjectPosition.$size0); if (var$13 < 0) { if ($var2 >= 0 && var$13 < 0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[$var2]; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; $rt_throw($par1MovingObjectPosition); } $var3 = $var3 + 1 | 0; if ($var3 >= 8) break; var$3 = $this.$worldObj; var$4 = $rt_s(1491); var$7 = $this.$posX; var$8 = $this.$posY; var$9 = $this.$posZ; var$10 = 0.0; var$11 = 0.0; var$12 = 0.0; $var2 = 0; } if (!$this.$worldObj.$isRemote) $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1MovingObjectPosition, $var2, var$3, var$4, var$5, $var3, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }; function nms_RenderSnowball() { let a = this; nms_Render.call(a); a.$field_94151_a = null; a.$field_94150_f = 0; } let nms_RenderSnowball_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $var10, $var13, var$9, $var11, var$11, $var12, $var14, $var15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();var$11 = $thread.pop();$var11 = $thread.pop();var$9 = $thread.pop();$var13 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = $this.$field_94151_a.$getIconFromDamage($this.$field_94150_f); if ($var10 === null) return; nleg_EaglerAdapterGL30_glPushMatrix(); $par8 = $par2; $par9 = $par4; $var13 = $par6; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $par8; var$9.$y = $par9; var$9.$z = $var13; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var11 = new ji_ByteArrayOutputStream; $var11.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var11; $var11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var11, 16); var$9.$sb = $var11; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(32826); var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.5; var$9.$y = 0.5; var$9.$z = 0.5; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var11 = new ji_ByteArrayOutputStream; $var11.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var11; $var11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var11, 16); var$9.$sb = $var11; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_TextureMap_$callClinit(); var$9 = nms_TextureMap_locationItemsTexture; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$9); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var11 = nlea_Tessellator_instance; if ($var10 === nms_ItemPotion_func_94589_d($rt_s(2082))) { var$11 = $par1Entity; if (var$11.$potionDamage === null) { $par1Entity = new nms_ItemStack; var$9 = nms_Item_potion; nms_ItemStack_$callClinit(); $par1Entity.$itemID = var$9.$itemID0; $par1Entity.$stackSize = 1; $par1Entity.$itemDamage = 0; var$11.$potionDamage = $par1Entity; } $var12 = nms_PotionHelper_func_77915_a(var$11.$potionDamage.$itemDamage, 0); $var13 = ($var12 >> 16 & 255) / 255.0; $var14 = ($var12 >> 8 & 255) / 255.0; $var15 = ($var12 & 255) / 255.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var13; nleg_EaglerAdapterGL30_colorG = $var14; nleg_EaglerAdapterGL30_colorB = $var15; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPushMatrix(); nms_RenderSnowball_func_77026_a($this, $var11, nms_ItemPotion_func_94589_d($rt_s(1998))); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; } nms_RenderSnowball_func_77026_a($this, $var11, $var10); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $var10, $var13, var$9, $var11, var$11, $var12, $var14, $var15, $ptr); }, nms_RenderSnowball_getEntityTexture = ($this, $par1Entity) => { nms_TextureMap_$callClinit(); return nms_TextureMap_locationItemsTexture; }, nms_RenderSnowball_func_77026_a = ($this, $par1Tessellator, $par2Icon) => { let $var3, $var4, $var5, $var6, var$7, var$8, var$9, var$10, var$11, var$12; $var3 = $par2Icon.$getMinU(); $var4 = $par2Icon.$getMaxU(); $var5 = $par2Icon.$getMinV(); $var6 = $par2Icon.$getMaxV(); var$7 = 180.0 - $this.$renderManager.$playerViewY; nleg_EaglerAdapterGL30_$callClinit(); $par2Icon = nleg_EaglerAdapterGL30_deevis; $par2Icon.$x = 0.0; $par2Icon.$y = 1.0; $par2Icon.$z = 0.0; $par2Icon = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$7 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par2Icon, $par2Icon); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par2Icon = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par2Icon); $par2Icon.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par2Icon.$sb = var$8; $par2Icon.$buffer0 = $rt_createCharArray(32); $par2Icon.$autoFlush = 0; $par2Icon.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par2Icon; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = -$this.$renderManager.$playerViewX; $par2Icon = nleg_EaglerAdapterGL30_deevis; $par2Icon.$x = 1.0; $par2Icon.$y = 0.0; $par2Icon.$z = 0.0; $par2Icon = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$9 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par2Icon, $par2Icon); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par2Icon = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par2Icon); $par2Icon.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par2Icon.$sb = var$8; $par2Icon.$buffer0 = $rt_createCharArray(32); $par2Icon.$autoFlush = 0; $par2Icon.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par2Icon; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($par1Tessellator.$isDrawing) nlea_Tessellator_draw($par1Tessellator); $par1Tessellator.$isDrawing = 1; $par1Tessellator.$vertexCount = 0; $par1Tessellator.$rawBufferIndex = 0; $par1Tessellator.$addedVertices = 0; $par1Tessellator.$drawMode = 7; $par1Tessellator.$hasNormals = 0; $par1Tessellator.$hasColor = 0; $par1Tessellator.$hasTexture = 0; $par1Tessellator.$hasBrightness = 0; $par1Tessellator.$isColorDisabled = 0; nlea_Tessellator_setNormal($par1Tessellator, 0.0, 1.0, 0.0); var$10 = $var3; var$11 = $var6; $par1Tessellator.$hasTexture = 1; var$9 = var$10; $par1Tessellator.$textureU = var$9; var$12 = var$11; $par1Tessellator.$textureV = var$12; nlea_Tessellator_addVertex($par1Tessellator, (-0.5), (-0.25), 0.0); var$11 = $var4; $par1Tessellator.$hasTexture = 1; $var3 = var$11; $par1Tessellator.$textureU = $var3; $par1Tessellator.$textureV = var$12; nlea_Tessellator_addVertex($par1Tessellator, 0.5, (-0.25), 0.0); var$11 = $var5; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = $var3; var$12 = var$11; $par1Tessellator.$textureV = var$12; nlea_Tessellator_addVertex($par1Tessellator, 0.5, 0.75, 0.0); $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = var$9; $par1Tessellator.$textureV = var$12; nlea_Tessellator_addVertex($par1Tessellator, (-0.5), 0.75, 0.0); nlea_Tessellator_draw($par1Tessellator); }; function nms_Item() { let a = this; jl_Object.call(a); a.$tabToDisplayOn = null; a.$itemID0 = 0; a.$maxStackSize = 0; a.$maxDamage = 0; a.$bFull3D = 0; a.$hasSubtypes = 0; a.$containerItem = null; a.$potionEffect = null; a.$unlocalizedName0 = null; a.$itemIcon = null; a.$iconString = null; } let nms_Item_field_111210_e = null, nms_Item_itemRand = null, nms_Item_itemsList = null, nms_Item_shovelIron = null, nms_Item_pickaxeIron = null, nms_Item_axeIron = null, nms_Item_flintAndSteel = null, nms_Item_appleRed = null, nms_Item_bow = null, nms_Item_arrow = null, nms_Item_coal = null, nms_Item_diamond = null, nms_Item_ingotIron = null, nms_Item_ingotGold = null, nms_Item_swordIron = null, nms_Item_swordWood = null, nms_Item_shovelWood = null, nms_Item_pickaxeWood = null, nms_Item_axeWood = null, nms_Item_swordStone = null, nms_Item_shovelStone = null, nms_Item_pickaxeStone = null, nms_Item_axeStone = null, nms_Item_swordDiamond = null, nms_Item_shovelDiamond = null, nms_Item_pickaxeDiamond = null, nms_Item_axeDiamond = null, nms_Item_stick = null, nms_Item_bowlEmpty = null, nms_Item_bowlSoup = null, nms_Item_swordGold = null, nms_Item_shovelGold = null, nms_Item_pickaxeGold = null, nms_Item_axeGold = null, nms_Item_silk = null, nms_Item_feather = null, nms_Item_gunpowder = null, nms_Item_hoeWood = null, nms_Item_hoeStone = null, nms_Item_hoeIron = null, nms_Item_hoeDiamond = null, nms_Item_hoeGold = null, nms_Item_seeds = null, nms_Item_wheat = null, nms_Item_bread = null, nms_Item_helmetLeather = null, nms_Item_plateLeather = null, nms_Item_legsLeather = null, nms_Item_bootsLeather = null, nms_Item_helmetChain = null; let nms_Item_plateChain = null, nms_Item_legsChain = null, nms_Item_bootsChain = null, nms_Item_helmetIron = null, nms_Item_plateIron = null, nms_Item_legsIron = null, nms_Item_bootsIron = null, nms_Item_helmetDiamond = null, nms_Item_plateDiamond = null, nms_Item_legsDiamond = null, nms_Item_bootsDiamond = null, nms_Item_helmetGold = null, nms_Item_plateGold = null, nms_Item_legsGold = null, nms_Item_bootsGold = null, nms_Item_flint = null, nms_Item_porkRaw = null, nms_Item_porkCooked = null, nms_Item_painting = null, nms_Item_appleGold = null, nms_Item_sign = null, nms_Item_doorWood = null, nms_Item_bucketEmpty = null, nms_Item_bucketWater = null, nms_Item_bucketLava = null, nms_Item_minecartEmpty = null, nms_Item_saddle = null, nms_Item_doorIron = null, nms_Item_redstone = null, nms_Item_snowball = null, nms_Item_boat = null, nms_Item_leather = null, nms_Item_bucketMilk = null, nms_Item_brick = null, nms_Item_clay = null, nms_Item_reed = null, nms_Item_paper = null, nms_Item_book = null, nms_Item_slimeBall = null, nms_Item_minecartCrate = null, nms_Item_minecartPowered = null, nms_Item_egg = null, nms_Item_compass = null, nms_Item_fishingRod = null, nms_Item_pocketSundial = null, nms_Item_glowstone = null, nms_Item_fishRaw = null, nms_Item_fishCooked = null, nms_Item_dyePowder = null, nms_Item_bone = null; let nms_Item_sugar = null, nms_Item_cake = null, nms_Item_bed = null, nms_Item_redstoneRepeater = null, nms_Item_cookie = null, nms_Item_map = null, nms_Item_shears = null, nms_Item_melon = null, nms_Item_pumpkinSeeds = null, nms_Item_melonSeeds = null, nms_Item_beefRaw = null, nms_Item_beefCooked = null, nms_Item_chickenRaw = null, nms_Item_chickenCooked = null, nms_Item_rottenFlesh = null, nms_Item_enderPearl = null, nms_Item_blazeRod = null, nms_Item_ghastTear = null, nms_Item_goldNugget = null, nms_Item_netherStalkSeeds = null, nms_Item_potion = null, nms_Item_glassBottle = null, nms_Item_spiderEye = null, nms_Item_fermentedSpiderEye = null, nms_Item_blazePowder = null, nms_Item_magmaCream = null, nms_Item_brewingStand = null, nms_Item_cauldron = null, nms_Item_eyeOfEnder = null, nms_Item_speckledMelon = null, nms_Item_monsterPlacer = null, nms_Item_expBottle = null, nms_Item_fireballCharge = null, nms_Item_writableBook = null, nms_Item_writtenBook = null, nms_Item_emerald = null, nms_Item_itemFrame = null, nms_Item_flowerPot = null, nms_Item_carrot = null, nms_Item_potato = null, nms_Item_bakedPotato = null, nms_Item_poisonousPotato = null, nms_Item_emptyMap = null, nms_Item_goldenCarrot = null, nms_Item_skull = null, nms_Item_carrotOnAStick = null, nms_Item_netherStar = null, nms_Item_pumpkinPie = null, nms_Item_firework = null, nms_Item_fireworkCharge = null; let nms_Item_enchantedBook = null, nms_Item_comparator = null, nms_Item_netherrackBrick = null, nms_Item_netherQuartz = null, nms_Item_minecartTnt = null, nms_Item_minecartHopper = null, nms_Item_horseArmorIron = null, nms_Item_horseArmorGold = null, nms_Item_horseArmorDiamond = null, nms_Item_leash = null, nms_Item_nameTag = null, nms_Item_record13 = null, nms_Item_recordCat = null, nms_Item_recordBlocks = null, nms_Item_recordChirp = null, nms_Item_recordFar = null, nms_Item_recordMall = null, nms_Item_recordMellohi = null, nms_Item_recordStal = null, nms_Item_recordStrad = null, nms_Item_recordWard = null, nms_Item_record11 = null, nms_Item_recordWait = null, nms_Item_$callClinit = () => { nms_Item_$callClinit = $rt_eraseClinit(nms_Item); nms_Item__clinit_(); }, nms_Item__init_ = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_Item_$callClinit(); $this.$maxStackSize = 64; var$2 = 256 + $par1 | 0; $this.$itemID0 = var$2; if (nms_Item_itemsList.data[var$2] !== null) { if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); var$3.$out0 = var$4; var$4 = new jl_StringBuilder; jl_Object__init_(var$4); var$4.$buffer = $rt_createCharArray(16); var$3.$sb = var$4; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2083)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $par1, 10); var$3 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; var$7 = var$4.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); $rt_putStdout($rt_ustr(var$3)); $rt_putStdout("\n"); } else { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } } nms_Item_itemsList.data[var$2] = $this; }, nms_Item__init_0 = var_0 => { let var_1 = new nms_Item(); nms_Item__init_(var_1, var_0); return var_1; }, nms_Item_setMaxStackSize = ($this, $par1) => { $this.$maxStackSize = $par1; return $this; }, nms_Item_getSpriteNumber = $this => { return 1; }, nms_Item_getIconFromDamage = ($this, $par1) => { return $this.$itemIcon; }, nms_Item_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { return 0; }, nms_Item_getStrVsBlock = ($this, $par1ItemStack, $par2Block) => { return 1.0; }, nms_Item_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { return $par1ItemStack; }, nms_Item_onEaten = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { return $par1ItemStack; }, nms_Item_getItemStackLimit = $this => { return $this.$maxStackSize; }, nms_Item_getMetadata = ($this, $par1) => { return 0; }, nms_Item_getHasSubtypes = $this => { return $this.$hasSubtypes; }, nms_Item_setHasSubtypes = ($this, $par1) => { $this.$hasSubtypes = $par1; return $this; }, nms_Item_getMaxDamage = $this => { return $this.$maxDamage; }, nms_Item_setMaxDamage = ($this, $par1) => { $this.$maxDamage = $par1; return $this; }, nms_Item_isDamageable = $this => { return $this.$maxDamage > 0 && !$this.$hasSubtypes ? 1 : 0; }, nms_Item_hitEntity = ($this, $par1ItemStack, $par2EntityLivingBase, $par3EntityLivingBase) => { return 0; }, nms_Item_onBlockDestroyed = ($this, $par1ItemStack, $par2World, $par3, $par4, $par5, $par6, $par7EntityLivingBase) => { return 0; }, nms_Item_canHarvestBlock = ($this, $par1Block) => { return 0; }, nms_Item_itemInteractionForEntity = ($this, $par1ItemStack, $par2EntityPlayer, $par3EntityLivingBase) => { return 0; }, nms_Item_setFull3D = $this => { $this.$bFull3D = 1; return $this; }, nms_Item_isFull3D = $this => { return $this.$bFull3D; }, nms_Item_shouldRotateAroundWhenRendering = $this => { return 0; }, nms_Item_setUnlocalizedName = ($this, $par1Str) => { $this.$unlocalizedName0 = $par1Str; return $this; }, nms_Item_getUnlocalizedNameInefficiently = ($this, $par1ItemStack) => { let $var2; $var2 = $this.$getUnlocalizedName($par1ItemStack); if ($var2 === null) $par1ItemStack = $rt_s(18); else { nms_StatCollector_$callClinit(); $par1ItemStack = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $var2); } return $par1ItemStack; }, nms_Item_getUnlocalizedName0 = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$unlocalizedName0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2084)); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }; let nms_Item_getUnlocalizedName = ($this, $par1ItemStack) => { let var$2, var$3, var$4, var$5, var$6, var$7; $par1ItemStack = $this.$unlocalizedName0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2084)); var$3 = var$2.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, $par1ItemStack); $par1ItemStack = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return $par1ItemStack; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); }, nms_Item_setContainerItem = ($this, $par1Item) => { $this.$containerItem = $par1Item; return $this; }, nms_Item_doesContainerItemLeaveCraftingGrid = ($this, $par1ItemStack) => { return 1; }, nms_Item_getShareTag = $this => { return 1; }, nms_Item_getContainerItem = $this => { return $this.$containerItem; }, nms_Item_hasContainerItem = $this => { return $this.$containerItem === null ? 0 : 1; }, nms_Item_getStatName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$getUnlocalizedName0(); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1258)); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); nms_StatCollector_$callClinit(); return nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$1); } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_Item_getItemStackDisplayName = ($this, $par1ItemStack) => { let var$2, var$3, var$4, var$5, var$6, var$7; $par1ItemStack = $this.$getUnlocalizedName($par1ItemStack); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = var$2.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, $par1ItemStack); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1258)); $par1ItemStack = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); nms_StatCollector_$callClinit(); return nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); }, nms_Item_getColorFromItemStack = ($this, $par1ItemStack, $par2) => { return 16777215; }, nms_Item_onUpdate = ($this, $par1ItemStack, $par2World, $par3Entity, $par4, $par5) => { return; }, nms_Item_onCreated = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { return; }, nms_Item_getItemUseAction = ($this, $par1ItemStack) => { return nms_EnumAction_none; }, nms_Item_getMaxItemUseDuration = ($this, $par1ItemStack) => { return 0; }, nms_Item_onPlayerStoppedUsing = ($this, $par1ItemStack, $par2World, $par3EntityPlayer, $par4) => { return; }, nms_Item_setPotionEffect = ($this, $par1Str) => { $this.$potionEffect = $par1Str; return $this; }, nms_Item_getPotionEffect = $this => { return $this.$potionEffect; }, nms_Item_isPotionIngredient = $this => { return $this.$potionEffect === null ? 0 : 1; }, nms_Item_addInformation = ($this, $par1ItemStack, $par2EntityPlayer, $par3List, $par4) => { return; }, nms_Item_getItemDisplayName = ($this, $par1ItemStack) => { let var$2, var$3, var$4, var$5, var$6, var$7; $par1ItemStack = $this.$getUnlocalizedName($par1ItemStack); if ($par1ItemStack === null) var$2 = $rt_s(18); else { nms_StatCollector_$callClinit(); var$2 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $par1ItemStack); } $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); var$3 = $par1ItemStack.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, var$3, var$2); jl_AbstractStringBuilder_insert($par1ItemStack, $par1ItemStack.$length0, $rt_s(1258)); var$2 = new jl_String; var$4 = $par1ItemStack.$buffer; var$5 = var$4.data; var$6 = $par1ItemStack.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); nms_StatCollector_$callClinit(); var$2 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$2); $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); var$3 = $par1ItemStack.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, var$3, var$2); var$2 = new jl_String; var$4 = $par1ItemStack.$buffer; var$5 = var$4.data; var$6 = $par1ItemStack.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return jl_String_trim(var$2); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); }, nms_Item_hasEffect = ($this, $par1ItemStack) => { let var$2, var$3, var$4, var$5, var$6; a: { var$2 = $par1ItemStack.$stackTagCompound; if (var$2 !== null) { b: { var$2 = var$2.$tagMap; if (!$rt_s(1734).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1734).$nativeString.length) break b; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1734).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { c: { var$6 = var$2.$key; if ($rt_s(1734) !== var$6) { if ($rt_s(1734) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1734).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break c; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$3 = 1; break a; } } var$3 = 0; } return var$3; }, nms_Item_getRarity = ($this, $par1ItemStack) => { let var$2, var$3, var$4, var$5, var$6; a: { var$2 = $par1ItemStack.$stackTagCompound; if (var$2 !== null) { b: { var$2 = var$2.$tagMap; if (!$rt_s(1734).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1734).$nativeString.length) break b; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1734).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { c: { var$6 = var$2.$key; if ($rt_s(1734) !== var$6) { if ($rt_s(1734) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1734).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break c; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$3 = 1; break a; } } var$3 = 0; } return !var$3 ? nms_EnumRarity_common : nms_EnumRarity_rare; }, nms_Item_isItemTool = ($this, $par1ItemStack) => { return $this.$maxStackSize == 1 && ($this.$maxDamage > 0 && !$this.$hasSubtypes ? 1 : 0) ? 1 : 0; }, nms_Item_getMovingObjectPositionFromPlayer = ($this, $par1World, $par2EntityPlayer, $par3) => { let $var16, $var5, $var6, $var7, $var9, $var21, $var11, $var13, $var15, var$13, $var14, $var17, $var18, $var20, $var23, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();$var23 = $thread.pop();$var20 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var14 = $thread.pop();var$13 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var21 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var16 = $thread.pop();$par3 = $thread.pop();$par2EntityPlayer = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var16 = $par2EntityPlayer.$prevRotationPitch; $var5 = $var16 + ($par2EntityPlayer.$rotationPitch - $var16) * 1.0; $var16 = $par2EntityPlayer.$prevRotationYaw; $var6 = $var16 + ($par2EntityPlayer.$rotationYaw - $var16) * 1.0; $var7 = $par2EntityPlayer.$prevPosX; $var7 = $var7 + ($par2EntityPlayer.$posX - $var7) * 1.0; $var9 = $par2EntityPlayer.$prevPosY; $var9 = $var9 + ($par2EntityPlayer.$posY - $var9) * 1.0 + 1.62 - $par2EntityPlayer.$yOffset; $var21 = $par2EntityPlayer.$prevPosZ; $var11 = $var21 + ($par2EntityPlayer.$posZ - $var21) * 1.0; $var13 = nms_Vec3Pool_getVecFromPool($par1World.$vecPool, $var7, $var9, $var11); $var15 = -$var6 * 0.01745329238474369 - 3.1415927410125732; var$13 = nms_MathHelper_SIN_TABLE.data; $var16 = $var15 * 10430.3779296875; $var14 = var$13[($var16 + 16384.0 | 0) & 65535]; $var15 = var$13[($var16 | 0) & 65535]; $var5 = -$var5 * 0.01745329238474369 * 10430.3779296875; $var16 = -var$13[($var5 + 16384.0 | 0) & 65535]; $var17 = var$13[($var5 | 0) & 65535]; $var18 = $var15 * $var16; $var20 = $var14 * $var16; $var7 = $var18 * 5.0; $var9 = $var17 * 5.0; $var11 = $var20 * 5.0; $var23 = nms_Vec3Pool_getVecFromPool($var13.$myVec3LocalPool, $var13.$xCoord + $var7, $var13.$yCoord + $var9, $var13.$zCoord + $var11); var$19 = $par3 ? 0 : 1; $ptr = 1; case 1: $tmp = nms_World_rayTraceBlocks_do_do($par1World, $var13, $var23, $par3, var$19); if ($rt_suspending()) { break main; } $par1World = $tmp; return $par1World; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2EntityPlayer, $par3, $var16, $var5, $var6, $var7, $var9, $var21, $var11, $var13, $var15, var$13, $var14, $var17, $var18, $var20, $var23, var$19, $ptr); }, nms_Item_getItemEnchantability = $this => { return 0; }, nms_Item_requiresMultipleRenderPasses = $this => { return 0; }, nms_Item_getIconFromDamageForRenderPass = ($this, $par1, $par2) => { return $this.$getIconFromDamage($par1); }, nms_Item_getSubItems = ($this, $par1, $par2CreativeTabs, $par3List) => { let var$4, var$5; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; $par3List.$size0 = var$5 + 1 | 0; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; }, nms_Item_getCreativeTab = $this => { return $this.$tabToDisplayOn; }, nms_Item_setCreativeTab = ($this, $par1CreativeTabs) => { $this.$tabToDisplayOn = $par1CreativeTabs; return $this; }, nms_Item_canItemEditBlocks = $this => { return 1; }, nms_Item_getIsRepairable = ($this, $par1ItemStack, $par2ItemStack) => { return 0; }, nms_Item_registerIcons = ($this, $par1IconRegister) => { $this.$itemIcon = nms_TextureMap_registerIcon($par1IconRegister, nms_Item_getIconString($this), 1); }, nms_Item_setTextureName = ($this, $par1Str) => { $this.$iconString = $par1Str; return $this; }, nms_Item_getIconString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; a: { var$1 = $this.$iconString; if (var$1 === null) { var$2 = $this.$itemID0; var$1 = $this.$unlocalizedName0; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$2, 10); var$4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$4, var$4 + 1 | 0); var$3.$buffer.data[var$4] = 95; var$2 = var$3.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$2, var$1); var$1 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$4 = var$3.$length0; var$7 = var$6.length; if (var$4 < 0) break a; if (var$4 > (var$7 - 0 | 0)) break a; var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4); } return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_Item__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; nms_Item_field_111210_e = nle_ProfileUUID_fromString($rt_s(2086)); var$1 = new nle_EaglercraftRandom; var$2 = Long_fromNumber(performance.now() * 1000000.0); var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = var$2; nms_Item_itemRand = var$1; nms_Item_itemsList = $rt_createArray(nms_Item, 32000); var$3 = new nms_ItemSpade; var$1 = nms_EnumToolMaterial_IRON; nms_ItemSpade_$callClinit(); var$4 = nms_ItemSpade_blocksEffectiveAgainst; nms_Item__init_(var$3, 0); var$3.$efficiencyOnProperMaterial = 4.0; var$3.$toolMaterial = var$1; var$3.$blocksEffectiveAgainst = var$4; var$3.$maxStackSize = 1; var$3.$maxDamage = var$1.$maxUses; var$3.$efficiencyOnProperMaterial = var$1.$efficiencyOnProperMaterial0; var$3.$damageVsEntity0 = 1.0 + var$1.$damageVsEntity; nms_CreativeTabs_$callClinit(); var$3.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$3.$unlocalizedName0 = $rt_s(2087); var$3.$iconString = $rt_s(2088); nms_Item_shovelIron = var$3; var$1 = new nms_ItemPickaxe; var$3 = nms_EnumToolMaterial_IRON; nms_ItemPickaxe_$callClinit(); var$4 = nms_ItemPickaxe_blocksEffectiveAgainst; nms_Item__init_(var$1, 1); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 2.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2089); var$1.$iconString = $rt_s(2090); nms_Item_pickaxeIron = var$1; var$1 = new nms_ItemAxe; var$3 = nms_EnumToolMaterial_IRON; nms_ItemAxe_$callClinit(); var$4 = nms_ItemAxe_blocksEffectiveAgainst; nms_Item__init_(var$1, 2); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 3.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2091); var$1.$iconString = $rt_s(2092); nms_Item_axeIron = var$1; var$1 = new nms_ItemFlintAndSteel; nms_Item__init_(var$1, 3); var$1.$maxStackSize = 1; var$1.$maxDamage = 64; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2093); var$1.$iconString = $rt_s(2094); nms_Item_flintAndSteel = var$1; var$1 = new nms_ItemFood; nms_Item__init_(var$1, 4); var$1.$itemUseDuration = 32; var$1.$healAmount = 4; var$1.$isWolfsFavoriteMeat = 0; var$1.$saturationModifier = 0.30000001192092896; var$1.$tabToDisplayOn = nms_CreativeTabs_tabFood; var$1.$unlocalizedName0 = $rt_s(2095); var$1.$iconString = $rt_s(2095); nms_Item_appleRed = var$1; var$1 = new nms_ItemBow; nms_Item__init_(var$1, 5); var$1.$maxStackSize = 1; var$1.$maxDamage = 384; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$1.$unlocalizedName0 = $rt_s(2096); var$1.$iconString = $rt_s(2096); nms_Item_bow = var$1; var$1 = nms_Item__init_0(6); var$1.$unlocalizedName0 = $rt_s(2067); var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$1.$iconString = $rt_s(2067); nms_Item_arrow = var$1; var$1 = new nms_ItemCoal; nms_Item__init_(var$1, 7); var$1.$hasSubtypes = 1; var$1.$maxDamage = 0; var$1.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; var$1.$unlocalizedName0 = $rt_s(2097); var$1.$iconString = $rt_s(2097); nms_Item_coal = var$1; var$1 = nms_Item__init_0(8); var$1.$unlocalizedName0 = $rt_s(1960); var$1.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; var$1.$iconString = $rt_s(1960); nms_Item_diamond = var$1; var$1 = nms_Item__init_0(9); var$1.$unlocalizedName0 = $rt_s(2098); var$1.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; var$1.$iconString = $rt_s(2099); nms_Item_ingotIron = var$1; var$1 = nms_Item__init_0(10); var$1.$unlocalizedName0 = $rt_s(2100); var$1.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; var$1.$iconString = $rt_s(2101); nms_Item_ingotGold = var$1; var$1 = new nms_ItemSword; var$3 = nms_EnumToolMaterial_IRON; nms_Item__init_(var$1, 11); var$1.$toolMaterial0 = var$3; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$1.$weaponDamage = 4.0 + var$3.$damageVsEntity; var$1.$unlocalizedName0 = $rt_s(2102); var$1.$iconString = $rt_s(2103); nms_Item_swordIron = var$1; var$1 = new nms_ItemSword; var$3 = nms_EnumToolMaterial_WOOD; nms_Item__init_(var$1, 12); var$1.$toolMaterial0 = var$3; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$1.$weaponDamage = 4.0 + var$3.$damageVsEntity; var$1.$unlocalizedName0 = $rt_s(2104); var$1.$iconString = $rt_s(2105); nms_Item_swordWood = var$1; var$1 = new nms_ItemSpade; var$3 = nms_EnumToolMaterial_WOOD; var$4 = nms_ItemSpade_blocksEffectiveAgainst; nms_Item__init_(var$1, 13); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 1.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2106); var$1.$iconString = $rt_s(2107); nms_Item_shovelWood = var$1; var$1 = new nms_ItemPickaxe; var$3 = nms_EnumToolMaterial_WOOD; var$4 = nms_ItemPickaxe_blocksEffectiveAgainst; nms_Item__init_(var$1, 14); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 2.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2108); var$1.$iconString = $rt_s(2109); nms_Item_pickaxeWood = var$1; var$1 = new nms_ItemAxe; var$3 = nms_EnumToolMaterial_WOOD; var$4 = nms_ItemAxe_blocksEffectiveAgainst; nms_Item__init_(var$1, 15); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 3.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2110); var$1.$iconString = $rt_s(2111); nms_Item_axeWood = var$1; var$1 = new nms_ItemSword; var$3 = nms_EnumToolMaterial_STONE; nms_Item__init_(var$1, 16); var$1.$toolMaterial0 = var$3; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$1.$weaponDamage = 4.0 + var$3.$damageVsEntity; var$1.$unlocalizedName0 = $rt_s(2112); var$1.$iconString = $rt_s(2113); nms_Item_swordStone = var$1; var$1 = new nms_ItemSpade; var$3 = nms_EnumToolMaterial_STONE; var$4 = nms_ItemSpade_blocksEffectiveAgainst; nms_Item__init_(var$1, 17); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 1.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2114); var$1.$iconString = $rt_s(2115); nms_Item_shovelStone = var$1; var$1 = new nms_ItemPickaxe; var$3 = nms_EnumToolMaterial_STONE; var$4 = nms_ItemPickaxe_blocksEffectiveAgainst; nms_Item__init_(var$1, 18); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 2.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2116); var$1.$iconString = $rt_s(2117); nms_Item_pickaxeStone = var$1; var$1 = new nms_ItemAxe; var$3 = nms_EnumToolMaterial_STONE; var$4 = nms_ItemAxe_blocksEffectiveAgainst; nms_Item__init_(var$1, 19); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 3.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2118); var$1.$iconString = $rt_s(2119); nms_Item_axeStone = var$1; var$1 = new nms_ItemSword; var$3 = nms_EnumToolMaterial_EMERALD; nms_Item__init_(var$1, 20); var$1.$toolMaterial0 = var$3; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$1.$weaponDamage = 4.0 + var$3.$damageVsEntity; var$1.$unlocalizedName0 = $rt_s(2120); var$1.$iconString = $rt_s(2121); nms_Item_swordDiamond = var$1; var$1 = new nms_ItemSpade; var$3 = nms_EnumToolMaterial_EMERALD; var$4 = nms_ItemSpade_blocksEffectiveAgainst; nms_Item__init_(var$1, 21); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 1.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2122); var$1.$iconString = $rt_s(2123); nms_Item_shovelDiamond = var$1; var$1 = new nms_ItemPickaxe; var$3 = nms_EnumToolMaterial_EMERALD; var$4 = nms_ItemPickaxe_blocksEffectiveAgainst; nms_Item__init_(var$1, 22); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 2.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2124); var$1.$iconString = $rt_s(2125); nms_Item_pickaxeDiamond = var$1; var$1 = new nms_ItemAxe; var$3 = nms_EnumToolMaterial_EMERALD; var$4 = nms_ItemAxe_blocksEffectiveAgainst; nms_Item__init_(var$1, 23); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 3.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2126); var$1.$iconString = $rt_s(2127); nms_Item_axeDiamond = var$1; var$1 = nms_Item__init_0(24); var$1.$bFull3D = 1; var$1.$unlocalizedName0 = $rt_s(2128); var$1.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; var$1.$iconString = $rt_s(2128); nms_Item_stick = var$1; var$1 = nms_Item__init_0(25); var$1.$unlocalizedName0 = $rt_s(2129); var$1.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; var$1.$iconString = $rt_s(2129); nms_Item_bowlEmpty = var$1; var$1 = new nms_ItemSoup; nms_Item__init_(var$1, 26); var$1.$itemUseDuration = 32; var$1.$healAmount = 6; var$1.$isWolfsFavoriteMeat = 0; var$1.$saturationModifier = 0.6000000238418579; var$1.$tabToDisplayOn = nms_CreativeTabs_tabFood; var$1.$maxStackSize = 1; var$1.$unlocalizedName0 = $rt_s(2130); var$1.$iconString = $rt_s(2131); nms_Item_bowlSoup = var$1; var$1 = new nms_ItemSword; var$3 = nms_EnumToolMaterial_GOLD; nms_Item__init_(var$1, 27); var$1.$toolMaterial0 = var$3; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$1.$weaponDamage = 4.0 + var$3.$damageVsEntity; var$1.$unlocalizedName0 = $rt_s(2132); var$1.$iconString = $rt_s(2133); nms_Item_swordGold = var$1; var$1 = new nms_ItemSpade; var$3 = nms_EnumToolMaterial_GOLD; var$4 = nms_ItemSpade_blocksEffectiveAgainst; nms_Item__init_(var$1, 28); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 1.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2134); var$1.$iconString = $rt_s(2135); nms_Item_shovelGold = var$1; var$1 = new nms_ItemPickaxe; var$3 = nms_EnumToolMaterial_GOLD; var$4 = nms_ItemPickaxe_blocksEffectiveAgainst; nms_Item__init_(var$1, 29); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 2.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2136); var$1.$iconString = $rt_s(2137); nms_Item_pickaxeGold = var$1; var$1 = new nms_ItemAxe; var$3 = nms_EnumToolMaterial_GOLD; var$4 = nms_ItemAxe_blocksEffectiveAgainst; nms_Item__init_(var$1, 30); var$1.$efficiencyOnProperMaterial = 4.0; var$1.$toolMaterial = var$3; var$1.$blocksEffectiveAgainst = var$4; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$efficiencyOnProperMaterial = var$3.$efficiencyOnProperMaterial0; var$1.$damageVsEntity0 = 3.0 + var$3.$damageVsEntity; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2138); var$1.$iconString = $rt_s(2139); nms_Item_axeGold = var$1; var$1 = new nms_ItemReed; nms_Block_$callClinit(); var$3 = nms_Block_tripWire; nms_Item__init_(var$1, 31); var$1.$spawnID = var$3.$blockID; var$1.$unlocalizedName0 = $rt_s(5); var$1.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; var$1.$iconString = $rt_s(5); nms_Item_silk = var$1; var$1 = nms_Item__init_0(32); var$1.$unlocalizedName0 = $rt_s(2140); var$1.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; var$1.$iconString = $rt_s(2140); nms_Item_feather = var$1; var$1 = nms_Item__init_0(33); var$1.$unlocalizedName0 = $rt_s(2141); nms_PotionHelper_$callClinit(); var$1.$potionEffect = nms_PotionHelper_gunpowderEffect; var$1.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; var$1.$iconString = $rt_s(2142); nms_Item_gunpowder = var$1; var$1 = new nms_ItemHoe; var$3 = nms_EnumToolMaterial_WOOD; nms_Item__init_(var$1, 34); var$1.$theToolMaterial = var$3; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2143); var$1.$iconString = $rt_s(2144); nms_Item_hoeWood = var$1; var$1 = new nms_ItemHoe; var$3 = nms_EnumToolMaterial_STONE; nms_Item__init_(var$1, 35); var$1.$theToolMaterial = var$3; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2145); var$1.$iconString = $rt_s(2146); nms_Item_hoeStone = var$1; var$1 = new nms_ItemHoe; var$3 = nms_EnumToolMaterial_IRON; nms_Item__init_(var$1, 36); var$1.$theToolMaterial = var$3; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2147); var$1.$iconString = $rt_s(2148); nms_Item_hoeIron = var$1; var$1 = new nms_ItemHoe; var$3 = nms_EnumToolMaterial_EMERALD; nms_Item__init_(var$1, 37); var$1.$theToolMaterial = var$3; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2149); var$1.$iconString = $rt_s(2150); nms_Item_hoeDiamond = var$1; var$1 = new nms_ItemHoe; var$3 = nms_EnumToolMaterial_GOLD; nms_Item__init_(var$1, 38); var$1.$theToolMaterial = var$3; var$1.$maxStackSize = 1; var$1.$maxDamage = var$3.$maxUses; var$1.$tabToDisplayOn = nms_CreativeTabs_tabTools; var$1.$unlocalizedName0 = $rt_s(2151); var$1.$iconString = $rt_s(2152); nms_Item_hoeGold = var$1; var$1 = new nms_ItemSeeds; var$5 = nms_Block_crops.$blockID; var$6 = nms_Block_tilledField.$blockID; nms_Item__init_(var$1, 39); var$1.$blockType0 = var$5; var$1.$soilBlockID = var$6; var$1.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; var$1.$unlocalizedName0 = $rt_s(2153); var$1.$iconString = $rt_s(2154); nms_Item_seeds = var$1; var$1 = nms_Item__init_0(40); var$1.$unlocalizedName0 = $rt_s(2155); var$1.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; var$1.$iconString = $rt_s(2155); nms_Item_wheat = var$1; var$1 = new nms_ItemFood; nms_Item__init_(var$1, 41); var$1.$itemUseDuration = 32; var$1.$healAmount = 5; var$1.$isWolfsFavoriteMeat = 0; var$1.$saturationModifier = 0.6000000238418579; var$1.$tabToDisplayOn = nms_CreativeTabs_tabFood; var$1.$unlocalizedName0 = $rt_s(2156); var$1.$iconString = $rt_s(2156); nms_Item_bread = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_CLOTH; nms_Item__init_(var$1, 42); var$1.$material = var$3; var$1.$armorType = 0; var$1.$renderIndex = 0; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[0]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[0], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2157); var$1.$iconString = $rt_s(2158); nms_Item_helmetLeather = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_CLOTH; nms_Item__init_(var$1, 43); var$1.$material = var$3; var$1.$armorType = 1; var$1.$renderIndex = 0; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[1]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[1], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2159); var$1.$iconString = $rt_s(2160); nms_Item_plateLeather = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_CLOTH; nms_Item__init_(var$1, 44); var$1.$material = var$3; var$1.$armorType = 2; var$1.$renderIndex = 0; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[2]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[2], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2161); var$1.$iconString = $rt_s(2162); nms_Item_legsLeather = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_CLOTH; nms_Item__init_(var$1, 45); var$1.$material = var$3; var$1.$armorType = 3; var$1.$renderIndex = 0; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[3]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[3], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2163); var$1.$iconString = $rt_s(2164); nms_Item_bootsLeather = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_CHAIN; nms_Item__init_(var$1, 46); var$1.$material = var$3; var$1.$armorType = 0; var$1.$renderIndex = 1; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[0]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[0], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2165); var$1.$iconString = $rt_s(2166); nms_Item_helmetChain = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_CHAIN; nms_Item__init_(var$1, 47); var$1.$material = var$3; var$1.$armorType = 1; var$1.$renderIndex = 1; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[1]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[1], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2167); var$1.$iconString = $rt_s(2168); nms_Item_plateChain = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_CHAIN; nms_Item__init_(var$1, 48); var$1.$material = var$3; var$1.$armorType = 2; var$1.$renderIndex = 1; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[2]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[2], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2169); var$1.$iconString = $rt_s(2170); nms_Item_legsChain = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_CHAIN; nms_Item__init_(var$1, 49); var$1.$material = var$3; var$1.$armorType = 3; var$1.$renderIndex = 1; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[3]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[3], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2171); var$1.$iconString = $rt_s(2172); nms_Item_bootsChain = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_IRON; nms_Item__init_(var$1, 50); var$1.$material = var$3; var$1.$armorType = 0; var$1.$renderIndex = 2; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[0]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[0], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2173); var$1.$iconString = $rt_s(2174); nms_Item_helmetIron = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_IRON; nms_Item__init_(var$1, 51); var$1.$material = var$3; var$1.$armorType = 1; var$1.$renderIndex = 2; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[1]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[1], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2175); var$1.$iconString = $rt_s(2176); nms_Item_plateIron = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_IRON; nms_Item__init_(var$1, 52); var$1.$material = var$3; var$1.$armorType = 2; var$1.$renderIndex = 2; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[2]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[2], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2177); var$1.$iconString = $rt_s(2178); nms_Item_legsIron = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_IRON; nms_Item__init_(var$1, 53); var$1.$material = var$3; var$1.$armorType = 3; var$1.$renderIndex = 2; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[3]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[3], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2179); var$1.$iconString = $rt_s(2180); nms_Item_bootsIron = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_DIAMOND; nms_Item__init_(var$1, 54); var$1.$material = var$3; var$1.$armorType = 0; var$1.$renderIndex = 3; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[0]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[0], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2181); var$1.$iconString = $rt_s(2182); nms_Item_helmetDiamond = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_DIAMOND; nms_Item__init_(var$1, 55); var$1.$material = var$3; var$1.$armorType = 1; var$1.$renderIndex = 3; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[1]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[1], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2183); var$1.$iconString = $rt_s(2184); nms_Item_plateDiamond = var$1; var$1 = new nms_ItemArmor; var$3 = nms_EnumArmorMaterial_DIAMOND; nms_Item__init_(var$1, 56); var$1.$material = var$3; var$1.$armorType = 2; var$1.$renderIndex = 3; var$1.$damageReduceAmount = var$3.$damageReductionAmountArray.data[2]; var$1.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[2], var$3.$maxDamageFactor); var$1.$maxStackSize = 1; var$1.$tabToDisplayOn = nms_CreativeTabs_tabCombat; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$7 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl(var$3.$registryObjects, var$1, var$7); var$1.$unlocalizedName0 = $rt_s(2185); nms_Item_legsDiamond = nms_Item_setTextureName(var$1, $rt_s(2186)); nms_Item_bootsDiamond = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemArmor__init_(57, nms_EnumArmorMaterial_DIAMOND, 3, 3), $rt_s(2187)), $rt_s(2188)); nms_Item_helmetGold = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemArmor__init_(58, nms_EnumArmorMaterial_GOLD, 4, 0), $rt_s(2189)), $rt_s(2190)); nms_Item_plateGold = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemArmor__init_(59, nms_EnumArmorMaterial_GOLD, 4, 1), $rt_s(2191)), $rt_s(2192)); nms_Item_legsGold = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemArmor__init_(60, nms_EnumArmorMaterial_GOLD, 4, 2), $rt_s(2193)), $rt_s(2194)); nms_Item_bootsGold = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemArmor__init_(61, nms_EnumArmorMaterial_GOLD, 4, 3), $rt_s(2195)), $rt_s(2196)); nms_Item_flint = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item__init_0(62), $rt_s(2197)), nms_CreativeTabs_tabMaterials), $rt_s(2197)); nms_Item_porkRaw = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood__init_(63, 3, 0.30000001192092896, 1), $rt_s(2198)), $rt_s(2199)); nms_Item_porkCooked = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood__init_(64, 8, 0.800000011920929, 1), $rt_s(2200)), $rt_s(2201)); nms_Item_painting = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemHangingEntity__init_(65, $rt_cls(nms_EntityPainting)), $rt_s(2202)), $rt_s(2202)); var$1 = nms_ItemFood_setAlwaysEdible(nms_ItemAppleGold__init_(66, 4, 1.2000000476837158, 0)); nms_Potion_$callClinit(); nms_Item_appleGold = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood_setPotionEffect(var$1, nms_Potion_regeneration.$id1, 5, 1, 1.0), $rt_s(2203)), $rt_s(2204)); nms_Item_sign = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemSign__init_0(67), $rt_s(2205)), $rt_s(2205)); var$1 = new nms_ItemDoor; nms_Material_$callClinit(); nms_ItemDoor__init_(var$1, 68, nms_Material_wood); nms_Item_doorWood = nms_Item_setTextureName(nms_Item_setUnlocalizedName(var$1, $rt_s(2206)), $rt_s(2207)); nms_Item_bucketEmpty = nms_Item_setTextureName(nms_Item_setMaxStackSize(nms_Item_setUnlocalizedName(nms_ItemBucket__init_(69, 0), $rt_s(2208)), 16), $rt_s(2209)); nms_Item_bucketWater = nms_Item_setTextureName(nms_Item_setContainerItem(nms_Item_setUnlocalizedName(nms_ItemBucket__init_(70, nms_Block_waterMoving.$blockID), $rt_s(2210)), nms_Item_bucketEmpty), $rt_s(2211)); nms_Item_bucketLava = nms_Item_setTextureName(nms_Item_setContainerItem(nms_Item_setUnlocalizedName(nms_ItemBucket__init_(71, nms_Block_lavaMoving.$blockID), $rt_s(2212)), nms_Item_bucketEmpty), $rt_s(2213)); nms_Item_minecartEmpty = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemMinecart__init_(72, 0), $rt_s(2214)), $rt_s(2215)); nms_Item_saddle = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemSaddle__init_(73), $rt_s(2216)), $rt_s(2216)); nms_Item_doorIron = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemDoor__init_0(74, nms_Material_iron), $rt_s(2217)), $rt_s(2218)); nms_Item_redstone = nms_Item_setTextureName(nms_Item_setPotionEffect(nms_Item_setUnlocalizedName(nms_ItemRedstone__init_(75), $rt_s(2219)), nms_PotionHelper_redstoneEffect), $rt_s(2220)); nms_Item_snowball = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemSnowball__init_(76), $rt_s(2221)), $rt_s(2221)); nms_Item_boat = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemBoat__init_(77), $rt_s(2222)), $rt_s(2222)); nms_Item_leather = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item__init_0(78), $rt_s(1957)), nms_CreativeTabs_tabMaterials), $rt_s(1957)); nms_Item_bucketMilk = nms_Item_setTextureName(nms_Item_setContainerItem(nms_Item_setUnlocalizedName(nms_ItemBucketMilk__init_0(79), $rt_s(2223)), nms_Item_bucketEmpty), $rt_s(2224)); nms_Item_brick = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item__init_0(80), $rt_s(81)), nms_CreativeTabs_tabMaterials), $rt_s(81)); nms_Item_clay = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item__init_0(81), $rt_s(2225)), nms_CreativeTabs_tabMaterials), $rt_s(2226)); nms_Item_reed = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_ItemReed__init_(82, nms_Block_reed), $rt_s(2227)), nms_CreativeTabs_tabMaterials), $rt_s(2227)); nms_Item_paper = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item__init_0(83), $rt_s(2228)), nms_CreativeTabs_tabMisc), $rt_s(2228)); nms_Item_book = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_ItemBook__init_(84), $rt_s(2229)), nms_CreativeTabs_tabMisc), $rt_s(2230)); nms_Item_slimeBall = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item__init_0(85), $rt_s(2231)), nms_CreativeTabs_tabMisc), $rt_s(2231)); nms_Item_minecartCrate = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemMinecart__init_(86, 1), $rt_s(2232)), $rt_s(2233)); nms_Item_minecartPowered = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemMinecart__init_(87, 2), $rt_s(2234)), $rt_s(2235)); nms_Item_egg = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemEgg__init_0(88), $rt_s(2236)), $rt_s(2236)); nms_Item_compass = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item__init_0(89), $rt_s(1847)), nms_CreativeTabs_tabTools), $rt_s(1847)); nms_Item_fishingRod = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFishingRod__init_0(90), $rt_s(2237)), $rt_s(2238)); nms_Item_pocketSundial = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item__init_0(91), $rt_s(1846)), nms_CreativeTabs_tabTools), $rt_s(1846)); nms_Item_glowstone = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setPotionEffect(nms_Item_setUnlocalizedName(nms_Item__init_0(92), $rt_s(2239)), nms_PotionHelper_glowstoneEffect), nms_CreativeTabs_tabMaterials), $rt_s(2240)); nms_Item_fishRaw = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood__init_(93, 2, 0.30000001192092896, 0), $rt_s(2241)), $rt_s(2242)); nms_Item_fishCooked = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood__init_(94, 5, 0.6000000238418579, 0), $rt_s(2243)), $rt_s(2244)); nms_Item_dyePowder = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemDye__init_(95), $rt_s(2245)), $rt_s(2246)); nms_Item_bone = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setFull3D(nms_Item_setUnlocalizedName(nms_Item__init_0(96), $rt_s(2247))), nms_CreativeTabs_tabMisc), $rt_s(2247)); nms_Item_sugar = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setPotionEffect(nms_Item_setUnlocalizedName(nms_Item__init_0(97), $rt_s(2248)), nms_PotionHelper_sugarEffect), nms_CreativeTabs_tabMaterials), $rt_s(2248)); nms_Item_cake = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item_setMaxStackSize(nms_ItemReed__init_(98, nms_Block_cake), 1), $rt_s(2249)), nms_CreativeTabs_tabFood), $rt_s(2249)); nms_Item_bed = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_Item_setMaxStackSize(nms_ItemBed__init_0(99), 1), $rt_s(2250)), $rt_s(2250)); nms_Item_redstoneRepeater = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_ItemReed__init_(100, nms_Block_redstoneRepeaterIdle), $rt_s(2251)), nms_CreativeTabs_tabRedstone), $rt_s(2252)); nms_Item_cookie = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood__init_(101, 2, 0.10000000149011612, 0), $rt_s(2253)), $rt_s(2253)); nms_Item_map = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemMap__init_(102), $rt_s(2254)), $rt_s(2255)); nms_Item_shears = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemShears__init_0(103), $rt_s(2256)), $rt_s(2256)); nms_Item_melon = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood__init_(104, 2, 0.30000001192092896, 0), $rt_s(2257)), $rt_s(2257)); nms_Item_pumpkinSeeds = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemSeeds__init_(105, nms_Block_pumpkinStem.$blockID, nms_Block_tilledField.$blockID), $rt_s(2258)), $rt_s(2258)); nms_Item_melonSeeds = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemSeeds__init_(106, nms_Block_melonStem.$blockID, nms_Block_tilledField.$blockID), $rt_s(2259)), $rt_s(2259)); nms_Item_beefRaw = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood__init_(107, 3, 0.30000001192092896, 1), $rt_s(2260)), $rt_s(2261)); nms_Item_beefCooked = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood__init_(108, 8, 0.800000011920929, 1), $rt_s(2262)), $rt_s(2263)); nms_Item_chickenRaw = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood_setPotionEffect(nms_ItemFood__init_(109, 2, 0.30000001192092896, 1), nms_Potion_hunger.$id1, 30, 0, 0.30000001192092896), $rt_s(2264)), $rt_s(2265)); nms_Item_chickenCooked = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood__init_(110, 6, 0.6000000238418579, 1), $rt_s(2266)), $rt_s(2267)); nms_Item_rottenFlesh = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood_setPotionEffect(nms_ItemFood__init_(111, 4, 0.10000000149011612, 1), nms_Potion_hunger.$id1, 30, 0, 0.800000011920929), $rt_s(2268)), $rt_s(2269)); nms_Item_enderPearl = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemEnderPearl__init_0(112), $rt_s(2270)), $rt_s(2271)); nms_Item_blazeRod = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item__init_0(113), $rt_s(1457)), nms_CreativeTabs_tabMaterials), $rt_s(2272)); nms_Item_ghastTear = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setPotionEffect(nms_Item_setUnlocalizedName(nms_Item__init_0(114), $rt_s(2273)), $rt_s(2274)), nms_CreativeTabs_tabBrewing), $rt_s(2275)); nms_Item_goldNugget = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item__init_0(115), $rt_s(2276)), nms_CreativeTabs_tabMaterials), $rt_s(2277)); nms_Item_netherStalkSeeds = nms_Item_setTextureName(nms_Item_setPotionEffect(nms_Item_setUnlocalizedName(nms_ItemSeeds__init_(116, nms_Block_netherStalk.$blockID, nms_Block_slowSand.$blockID), $rt_s(2278)), $rt_s(2279)), $rt_s(2280)); nms_Item_potion = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemPotion__init_(117), $rt_s(1458)), $rt_s(1458)); nms_Item_glassBottle = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemGlassBottle__init_(118), $rt_s(2281)), $rt_s(2282)); nms_Item_spiderEye = nms_Item_setTextureName(nms_Item_setPotionEffect(nms_Item_setUnlocalizedName(nms_ItemFood_setPotionEffect(nms_ItemFood__init_(119, 2, 0.800000011920929, 0), nms_Potion_poison.$id1, 5, 0, 1.0), $rt_s(2283)), nms_PotionHelper_spiderEyeEffect), $rt_s(2284)); nms_Item_fermentedSpiderEye = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setPotionEffect(nms_Item_setUnlocalizedName(nms_Item__init_0(120), $rt_s(2285)), nms_PotionHelper_fermentedSpiderEyeEffect), nms_CreativeTabs_tabBrewing), $rt_s(2286)); nms_Item_blazePowder = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setPotionEffect(nms_Item_setUnlocalizedName(nms_Item__init_0(121), $rt_s(2287)), nms_PotionHelper_blazePowderEffect), nms_CreativeTabs_tabBrewing), $rt_s(2288)); nms_Item_magmaCream = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setPotionEffect(nms_Item_setUnlocalizedName(nms_Item__init_0(122), $rt_s(2289)), nms_PotionHelper_magmaCreamEffect), nms_CreativeTabs_tabBrewing), $rt_s(2290)); nms_Item_brewingStand = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_ItemReed__init_(123, nms_Block_brewingStand), $rt_s(2291)), nms_CreativeTabs_tabBrewing), $rt_s(2292)); nms_Item_cauldron = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_ItemReed__init_(124, nms_Block_cauldron), $rt_s(2293)), nms_CreativeTabs_tabBrewing), $rt_s(2293)); nms_Item_eyeOfEnder = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemEnderEye__init_0(125), $rt_s(2294)), $rt_s(2295)); nms_Item_speckledMelon = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setPotionEffect(nms_Item_setUnlocalizedName(nms_Item__init_0(126), $rt_s(2296)), nms_PotionHelper_speckledMelonEffect), nms_CreativeTabs_tabBrewing), $rt_s(2297)); nms_Item_monsterPlacer = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemMonsterPlacer__init_(127), $rt_s(2298)), $rt_s(2299)); nms_Item_expBottle = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemExpBottle__init_(128), $rt_s(2300)), $rt_s(2301)); nms_Item_fireballCharge = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFireball__init_0(129), $rt_s(2001)), $rt_s(2001)); nms_Item_writableBook = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_ItemWritableBook__init_0(130), $rt_s(2302)), nms_CreativeTabs_tabMisc), $rt_s(2303)); nms_Item_writtenBook = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemEditableBook__init_0(131), $rt_s(2304)), $rt_s(2305)); nms_Item_emerald = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item__init_0(132), $rt_s(2306)), nms_CreativeTabs_tabMaterials), $rt_s(2306)); nms_Item_itemFrame = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemHangingEntity__init_(133, $rt_cls(nms_EntityItemFrame)), $rt_s(2307)), $rt_s(2308)); nms_Item_flowerPot = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_ItemReed__init_(134, nms_Block_flowerPot), $rt_s(2309)), nms_CreativeTabs_tabDecorations), $rt_s(2310)); nms_Item_carrot = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemSeedFood__init_(135, 4, 0.6000000238418579, nms_Block_carrot.$blockID, nms_Block_tilledField.$blockID), $rt_s(2311)), $rt_s(2312)); nms_Item_potato = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemSeedFood__init_(136, 1, 0.30000001192092896, nms_Block_potato.$blockID, nms_Block_tilledField.$blockID), $rt_s(2313)), $rt_s(2313)); nms_Item_bakedPotato = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood__init_(137, 6, 0.6000000238418579, 0), $rt_s(2314)), $rt_s(2315)); nms_Item_poisonousPotato = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFood_setPotionEffect(nms_ItemFood__init_(138, 2, 0.30000001192092896, 0), nms_Potion_poison.$id1, 5, 0, 0.6000000238418579), $rt_s(2316)), $rt_s(2317)); nms_Item_emptyMap = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemEmptyMap__init_(139), $rt_s(2318)), $rt_s(2319)); nms_Item_goldenCarrot = nms_Item_setTextureName(nms_Item_setPotionEffect(nms_Item_setUnlocalizedName(nms_ItemFood__init_(140, 6, 1.2000000476837158, 0), $rt_s(2320)), nms_PotionHelper_goldenCarrotEffect), $rt_s(2321)); nms_Item_skull = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemSkull__init_0(141), $rt_s(2322)), $rt_s(2322)); nms_Item_carrotOnAStick = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemCarrotOnAStick__init_(142), $rt_s(2323)), $rt_s(2324)); nms_Item_netherStar = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_ItemSimpleFoiled__init_0(143), $rt_s(2325)), nms_CreativeTabs_tabMaterials), $rt_s(2326)); nms_Item_pumpkinPie = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_ItemFood__init_(144, 8, 0.30000001192092896, 0), $rt_s(2327)), nms_CreativeTabs_tabFood), $rt_s(2328)); nms_Item_firework = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemFirework__init_0(145), $rt_s(2329)), $rt_s(2329)); nms_Item_fireworkCharge = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_ItemFireworkCharge__init_(146), $rt_s(2330)), nms_CreativeTabs_tabMisc), $rt_s(2331)); nms_Item_enchantedBook = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_Item_setMaxStackSize(nms_ItemEnchantedBook__init_0(147), 1), $rt_s(2332)), $rt_s(2333)); nms_Item_comparator = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_ItemReed__init_(148, nms_Block_redstoneComparatorIdle), $rt_s(2334)), nms_CreativeTabs_tabRedstone), $rt_s(2334)); nms_Item_netherrackBrick = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item__init_0(149), $rt_s(2335)), nms_CreativeTabs_tabMaterials), $rt_s(2335)); nms_Item_netherQuartz = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setUnlocalizedName(nms_Item__init_0(150), $rt_s(2336)), nms_CreativeTabs_tabMaterials), $rt_s(2337)); nms_Item_minecartTnt = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemMinecart__init_(151, 3), $rt_s(2338)), $rt_s(2339)); nms_Item_minecartHopper = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemMinecart__init_(152, 5), $rt_s(2340)), $rt_s(2341)); nms_Item_horseArmorIron = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setMaxStackSize(nms_Item_setUnlocalizedName(nms_Item__init_0(161), $rt_s(2342)), 1), nms_CreativeTabs_tabMisc), $rt_s(2343)); nms_Item_horseArmorGold = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setMaxStackSize(nms_Item_setUnlocalizedName(nms_Item__init_0(162), $rt_s(2344)), 1), nms_CreativeTabs_tabMisc), $rt_s(2345)); nms_Item_horseArmorDiamond = nms_Item_setTextureName(nms_Item_setCreativeTab(nms_Item_setMaxStackSize(nms_Item_setUnlocalizedName(nms_Item__init_0(163), $rt_s(2346)), 1), nms_CreativeTabs_tabMisc), $rt_s(2347)); nms_Item_leash = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemLeash__init_(164), $rt_s(2348)), $rt_s(2349)); nms_Item_nameTag = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemNameTag__init_(165), $rt_s(2350)), $rt_s(2351)); nms_Item_record13 = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemRecord__init_(2000, $rt_s(2352)), $rt_s(2353)), $rt_s(2354)); nms_Item_recordCat = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemRecord__init_(2001, $rt_s(2355)), $rt_s(2353)), $rt_s(2356)); nms_Item_recordBlocks = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemRecord__init_(2002, $rt_s(2357)), $rt_s(2353)), $rt_s(2358)); nms_Item_recordChirp = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemRecord__init_(2003, $rt_s(2359)), $rt_s(2353)), $rt_s(2360)); nms_Item_recordFar = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemRecord__init_(2004, $rt_s(2361)), $rt_s(2353)), $rt_s(2362)); nms_Item_recordMall = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemRecord__init_(2005, $rt_s(2363)), $rt_s(2353)), $rt_s(2364)); nms_Item_recordMellohi = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemRecord__init_(2006, $rt_s(2365)), $rt_s(2353)), $rt_s(2366)); nms_Item_recordStal = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemRecord__init_(2007, $rt_s(2367)), $rt_s(2353)), $rt_s(2368)); nms_Item_recordStrad = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemRecord__init_(2008, $rt_s(2369)), $rt_s(2353)), $rt_s(2370)); nms_Item_recordWard = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemRecord__init_(2009, $rt_s(2371)), $rt_s(2353)), $rt_s(2372)); nms_Item_record11 = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemRecord__init_(2010, $rt_s(2373)), $rt_s(2353)), $rt_s(2374)); nms_Item_recordWait = nms_Item_setTextureName(nms_Item_setUnlocalizedName(nms_ItemRecord__init_(2011, $rt_s(2375)), $rt_s(2353)), $rt_s(2376)); nms_StatList_initStats(); }, nms_EntityEnderPearl = $rt_classWithoutFields(nms_EntityThrowable), nms_EntityEnderPearl_onImpact = ($this, $par1MovingObjectPosition) => { let $var3, var$3, var$4, var$5, $var2, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$par1MovingObjectPosition = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1MovingObjectPosition = $par1MovingObjectPosition.$entityHit; if ($par1MovingObjectPosition !== null) { if ($this.$thrower === null) { $var3 = $this.$throwerName; if ($var3 !== null && $var3.$nativeString.length > 0) { $var3 = $this.$worldObj; var$3 = $this.$throwerName; var$4 = 0; a: { while (true) { var$5 = $var3.$playerEntities; $var2 = $rt_compare(var$4, var$5.$size0); if ($var2 >= 0) { $var3 = null; break a; } if (var$4 < 0) break; if ($var2 >= 0) break; var$5 = var$5.$array.data[var$4].$username; if (var$3 === var$5) $var2 = 1; else if (!(var$5 instanceof jl_String)) $var2 = 0; else { var$5 = var$5; $var2 = var$3.$nativeString !== var$5.$nativeString ? 0 : 1; } if ($var2) { $var3 = $var3.$playerEntities; if (var$4 >= 0 && var$4 < $var3.$size0) { $var3 = $var3.$array.data[var$4]; break a; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$4 = var$4 + 1 | 0; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = $var3; } } var$5 = $this.$thrower; $var3 = new nms_EntityDamageSourceIndirect; $var3.$hungerDamage = 0.30000001192092896; $var3.$damageType = $rt_s(2081); $var3.$damageSourceEntity = $this; $var3.$indirectEntity = var$5; $var3.$projectile = 1; var$7 = 0.0; $ptr = 1; continue main; } $var2 = 0; var$8 = 22; var$9 = 21; while (true) { if ($var2 >= 32) { if (!$this.$worldObj.$isRemote) { if ($this.$thrower === null) { $par1MovingObjectPosition = $this.$throwerName; if ($par1MovingObjectPosition !== null && $par1MovingObjectPosition.$nativeString.length > 0) { $par1MovingObjectPosition = $this.$worldObj; $var3 = $this.$throwerName; var$4 = 0; b: { while (true) { var$3 = $par1MovingObjectPosition.$playerEntities; $var2 = $rt_compare(var$4, var$3.$size0); if ($var2 >= 0) { $par1MovingObjectPosition = null; break b; } if (var$4 < 0) break; if ($var2 >= 0) break; var$3 = var$3.$array.data[var$4].$username; if ($var3 === var$3) $var2 = 1; else if (!(var$3 instanceof jl_String)) $var2 = 0; else { var$3 = var$3; $var2 = $var3.$nativeString !== var$3.$nativeString ? 0 : 1; } if ($var2) { $par1MovingObjectPosition = $par1MovingObjectPosition.$playerEntities; if (var$4 >= 0 && var$4 < $par1MovingObjectPosition.$size0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[var$4]; break b; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$4 = var$4 + 1 | 0; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = $par1MovingObjectPosition; } } var$3 = $this.$thrower; if (var$3 !== null && var$3 instanceof nms_EntityPlayerMP) { $var3 = var$3; if (!$var3.$playerNetServerHandler.$connectionClosed && $var3.$worldObj === $this.$worldObj) { if (var$3.$ridingEntity === null ? 0 : 1) { $par1MovingObjectPosition = null; $ptr = 3; continue main; } if ($this.$thrower === null) { $par1MovingObjectPosition = $this.$throwerName; if ($par1MovingObjectPosition !== null && $par1MovingObjectPosition.$nativeString.length > 0) { $par1MovingObjectPosition = $this.$worldObj; $var3 = $this.$throwerName; var$4 = 0; c: { while (true) { var$3 = $par1MovingObjectPosition.$playerEntities; $var2 = $rt_compare(var$4, var$3.$size0); if ($var2 >= 0) { $par1MovingObjectPosition = null; break c; } if (var$4 < 0) break; if ($var2 >= 0) break; var$3 = var$3.$array.data[var$4].$username; if ($var3 === var$3) $var2 = 1; else if (!(var$3 instanceof jl_String)) $var2 = 0; else { var$3 = var$3; $var2 = $var3.$nativeString !== var$3.$nativeString ? 0 : 1; } if ($var2) { $par1MovingObjectPosition = $par1MovingObjectPosition.$playerEntities; if (var$4 >= 0 && var$4 < $par1MovingObjectPosition.$size0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[var$4]; break c; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$4 = var$4 + 1 | 0; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = $par1MovingObjectPosition; } } $par1MovingObjectPosition = $this.$thrower; var$10 = $this.$posX; var$11 = $this.$posY; var$12 = $this.$posZ; var$7 = $par1MovingObjectPosition.$rotationYaw; var$13 = $par1MovingObjectPosition.$rotationPitch; $par1MovingObjectPosition.$posX = var$10; $par1MovingObjectPosition.$prevPosX = var$10; $par1MovingObjectPosition.$lastTickPosX = var$10; var$11 = var$11 + $par1MovingObjectPosition.$yOffset; $par1MovingObjectPosition.$posY = var$11; $par1MovingObjectPosition.$prevPosY = var$11; $par1MovingObjectPosition.$lastTickPosY = var$11; $par1MovingObjectPosition.$posZ = var$12; $par1MovingObjectPosition.$prevPosZ = var$12; $par1MovingObjectPosition.$lastTickPosZ = var$12; $par1MovingObjectPosition.$rotationYaw = var$7; $par1MovingObjectPosition.$rotationPitch = var$13; nms_Entity_setPosition($par1MovingObjectPosition, var$10, var$11, var$12); if ($this.$thrower === null) { $par1MovingObjectPosition = $this.$throwerName; if ($par1MovingObjectPosition !== null && $par1MovingObjectPosition.$nativeString.length > 0) { $par1MovingObjectPosition = $this.$worldObj; $var3 = $this.$throwerName; var$4 = 0; d: { e: { while (true) { var$3 = $par1MovingObjectPosition.$playerEntities; $var2 = $rt_compare(var$4, var$3.$size0); if ($var2 >= 0) break; if (var$4 < 0) break e; if ($var2 >= 0) break e; var$3 = var$3.$array.data[var$4].$username; if ($var3 === var$3) $var2 = 1; else if (!(var$3 instanceof jl_String)) $var2 = 0; else { var$3 = var$3; $var2 = $var3.$nativeString !== var$3.$nativeString ? 0 : 1; } if ($var2) { $par1MovingObjectPosition = $par1MovingObjectPosition.$playerEntities; if (var$4 >= 0 && var$4 < $par1MovingObjectPosition.$size0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[var$4]; break d; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$4 = var$4 + 1 | 0; } $par1MovingObjectPosition = null; break d; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = $par1MovingObjectPosition; } } $var3 = $this.$thrower; $var3.$fallDistance = 0.0; $par1MovingObjectPosition = nms_DamageSource_fall; var$7 = 5.0; $ptr = 4; continue main; } } $this.$isDead = 1; } return; } $par1MovingObjectPosition = $this.$worldObj; $var3 = $rt_s(1455); var$11 = $this.$posX; var$12 = $this.$posY; var$3 = $this.$rand; var$14 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$14; var$15 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$8))), 27); var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$14; var$12 = var$12 + Long_toNumber(Long_add(var$15, Long_fromInt(Long_lo(Long_shru(var$14, var$9))))) * 1.1102230246251565E-16 * 2.0; var$16 = $this.$posZ; var$17 = nle_EaglercraftRandom_nextGaussian(var$3); var$10 = 0.0; var$18 = nle_EaglercraftRandom_nextGaussian($this.$rand); var$4 = 0; var$3 = $par1MovingObjectPosition.$worldAccesses; var$19 = $rt_compare(var$4, var$3.$size0); if (var$19 < 0) break; $var2 = $var2 + 1 | 0; } if (var$4 >= 0 && var$19 < 0) { var$3 = var$3.$array.data[var$4]; $ptr = 2; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; $rt_throw($par1MovingObjectPosition); case 1: $par1MovingObjectPosition.$attackEntityFrom($var3, var$7); if ($rt_suspending()) { break main; } $var2 = 0; var$8 = 22; var$9 = 21; while (true) { if ($var2 >= 32) { if (!$this.$worldObj.$isRemote) { if ($this.$thrower === null) { $par1MovingObjectPosition = $this.$throwerName; if ($par1MovingObjectPosition !== null && $par1MovingObjectPosition.$nativeString.length > 0) { $par1MovingObjectPosition = $this.$worldObj; $var3 = $this.$throwerName; var$4 = 0; f: { while (true) { var$3 = $par1MovingObjectPosition.$playerEntities; $var2 = $rt_compare(var$4, var$3.$size0); if ($var2 >= 0) { $par1MovingObjectPosition = null; break f; } if (var$4 < 0) break; if ($var2 >= 0) break; var$3 = var$3.$array.data[var$4].$username; if ($var3 === var$3) $var2 = 1; else if (!(var$3 instanceof jl_String)) $var2 = 0; else { var$3 = var$3; $var2 = $var3.$nativeString !== var$3.$nativeString ? 0 : 1; } if ($var2) { $par1MovingObjectPosition = $par1MovingObjectPosition.$playerEntities; if (var$4 >= 0 && var$4 < $par1MovingObjectPosition.$size0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[var$4]; break f; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$4 = var$4 + 1 | 0; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = $par1MovingObjectPosition; } } var$3 = $this.$thrower; if (var$3 !== null && var$3 instanceof nms_EntityPlayerMP) { $var3 = var$3; if (!$var3.$playerNetServerHandler.$connectionClosed && $var3.$worldObj === $this.$worldObj) { if (var$3.$ridingEntity === null ? 0 : 1) { $par1MovingObjectPosition = null; $ptr = 3; continue main; } if ($this.$thrower === null) { $par1MovingObjectPosition = $this.$throwerName; if ($par1MovingObjectPosition !== null && $par1MovingObjectPosition.$nativeString.length > 0) { $par1MovingObjectPosition = $this.$worldObj; $var3 = $this.$throwerName; var$4 = 0; g: { while (true) { var$3 = $par1MovingObjectPosition.$playerEntities; $var2 = $rt_compare(var$4, var$3.$size0); if ($var2 >= 0) { $par1MovingObjectPosition = null; break g; } if (var$4 < 0) break; if ($var2 >= 0) break; var$3 = var$3.$array.data[var$4].$username; if ($var3 === var$3) $var2 = 1; else if (!(var$3 instanceof jl_String)) $var2 = 0; else { var$3 = var$3; $var2 = $var3.$nativeString !== var$3.$nativeString ? 0 : 1; } if ($var2) { $par1MovingObjectPosition = $par1MovingObjectPosition.$playerEntities; if (var$4 >= 0 && var$4 < $par1MovingObjectPosition.$size0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[var$4]; break g; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$4 = var$4 + 1 | 0; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = $par1MovingObjectPosition; } } $par1MovingObjectPosition = $this.$thrower; var$10 = $this.$posX; var$11 = $this.$posY; var$12 = $this.$posZ; var$7 = $par1MovingObjectPosition.$rotationYaw; var$13 = $par1MovingObjectPosition.$rotationPitch; $par1MovingObjectPosition.$posX = var$10; $par1MovingObjectPosition.$prevPosX = var$10; $par1MovingObjectPosition.$lastTickPosX = var$10; var$11 = var$11 + $par1MovingObjectPosition.$yOffset; $par1MovingObjectPosition.$posY = var$11; $par1MovingObjectPosition.$prevPosY = var$11; $par1MovingObjectPosition.$lastTickPosY = var$11; $par1MovingObjectPosition.$posZ = var$12; $par1MovingObjectPosition.$prevPosZ = var$12; $par1MovingObjectPosition.$lastTickPosZ = var$12; $par1MovingObjectPosition.$rotationYaw = var$7; $par1MovingObjectPosition.$rotationPitch = var$13; nms_Entity_setPosition($par1MovingObjectPosition, var$10, var$11, var$12); if ($this.$thrower === null) { $par1MovingObjectPosition = $this.$throwerName; if ($par1MovingObjectPosition !== null && $par1MovingObjectPosition.$nativeString.length > 0) { $par1MovingObjectPosition = $this.$worldObj; $var3 = $this.$throwerName; var$4 = 0; h: { i: { while (true) { var$3 = $par1MovingObjectPosition.$playerEntities; $var2 = $rt_compare(var$4, var$3.$size0); if ($var2 >= 0) break; if (var$4 < 0) break i; if ($var2 >= 0) break i; var$3 = var$3.$array.data[var$4].$username; if ($var3 === var$3) $var2 = 1; else if (!(var$3 instanceof jl_String)) $var2 = 0; else { var$3 = var$3; $var2 = $var3.$nativeString !== var$3.$nativeString ? 0 : 1; } if ($var2) { $par1MovingObjectPosition = $par1MovingObjectPosition.$playerEntities; if (var$4 >= 0 && var$4 < $par1MovingObjectPosition.$size0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[var$4]; break h; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$4 = var$4 + 1 | 0; } $par1MovingObjectPosition = null; break h; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = $par1MovingObjectPosition; } } $var3 = $this.$thrower; $var3.$fallDistance = 0.0; $par1MovingObjectPosition = nms_DamageSource_fall; var$7 = 5.0; $ptr = 4; continue main; } } $this.$isDead = 1; } return; } $par1MovingObjectPosition = $this.$worldObj; $var3 = $rt_s(1455); var$11 = $this.$posX; var$12 = $this.$posY; var$3 = $this.$rand; var$14 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$14; var$15 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$8))), 27); var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$14; var$12 = var$12 + Long_toNumber(Long_add(var$15, Long_fromInt(Long_lo(Long_shru(var$14, var$9))))) * 1.1102230246251565E-16 * 2.0; var$16 = $this.$posZ; var$17 = nle_EaglercraftRandom_nextGaussian(var$3); var$10 = 0.0; var$18 = nle_EaglercraftRandom_nextGaussian($this.$rand); var$4 = 0; var$3 = $par1MovingObjectPosition.$worldAccesses; var$19 = $rt_compare(var$4, var$3.$size0); if (var$19 < 0) break; $var2 = $var2 + 1 | 0; } if (var$4 >= 0 && var$19 < 0) { var$3 = var$3.$array.data[var$4]; $ptr = 2; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; $rt_throw($par1MovingObjectPosition); case 2: nms_RenderGlobal_doSpawnParticle(var$3, $var3, var$11, var$12, var$16, var$17, var$10, var$18); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; while (true) { var$3 = $par1MovingObjectPosition.$worldAccesses; var$19 = $rt_compare(var$4, var$3.$size0); if (var$19 < 0) break; $var2 = $var2 + 1 | 0; if ($var2 >= 32) { if (!$this.$worldObj.$isRemote) { if ($this.$thrower === null) { $par1MovingObjectPosition = $this.$throwerName; if ($par1MovingObjectPosition !== null && $par1MovingObjectPosition.$nativeString.length > 0) { $par1MovingObjectPosition = $this.$worldObj; $var3 = $this.$throwerName; var$4 = 0; j: { while (true) { var$3 = $par1MovingObjectPosition.$playerEntities; $var2 = $rt_compare(var$4, var$3.$size0); if ($var2 >= 0) { $par1MovingObjectPosition = null; break j; } if (var$4 < 0) break; if ($var2 >= 0) break; var$3 = var$3.$array.data[var$4].$username; if ($var3 === var$3) $var2 = 1; else if (!(var$3 instanceof jl_String)) $var2 = 0; else { var$3 = var$3; $var2 = $var3.$nativeString !== var$3.$nativeString ? 0 : 1; } if ($var2) { $par1MovingObjectPosition = $par1MovingObjectPosition.$playerEntities; if (var$4 >= 0 && var$4 < $par1MovingObjectPosition.$size0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[var$4]; break j; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$4 = var$4 + 1 | 0; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = $par1MovingObjectPosition; } } var$3 = $this.$thrower; if (var$3 !== null && var$3 instanceof nms_EntityPlayerMP) { $var3 = var$3; if (!$var3.$playerNetServerHandler.$connectionClosed && $var3.$worldObj === $this.$worldObj) { if (var$3.$ridingEntity === null ? 0 : 1) { $par1MovingObjectPosition = null; $ptr = 3; continue main; } if ($this.$thrower === null) { $par1MovingObjectPosition = $this.$throwerName; if ($par1MovingObjectPosition !== null && $par1MovingObjectPosition.$nativeString.length > 0) { $par1MovingObjectPosition = $this.$worldObj; $var3 = $this.$throwerName; var$4 = 0; k: { while (true) { var$3 = $par1MovingObjectPosition.$playerEntities; $var2 = $rt_compare(var$4, var$3.$size0); if ($var2 >= 0) { $par1MovingObjectPosition = null; break k; } if (var$4 < 0) break; if ($var2 >= 0) break; var$3 = var$3.$array.data[var$4].$username; if ($var3 === var$3) $var2 = 1; else if (!(var$3 instanceof jl_String)) $var2 = 0; else { var$3 = var$3; $var2 = $var3.$nativeString !== var$3.$nativeString ? 0 : 1; } if ($var2) { $par1MovingObjectPosition = $par1MovingObjectPosition.$playerEntities; if (var$4 >= 0 && var$4 < $par1MovingObjectPosition.$size0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[var$4]; break k; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$4 = var$4 + 1 | 0; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = $par1MovingObjectPosition; } } $par1MovingObjectPosition = $this.$thrower; var$10 = $this.$posX; var$11 = $this.$posY; var$12 = $this.$posZ; var$7 = $par1MovingObjectPosition.$rotationYaw; var$13 = $par1MovingObjectPosition.$rotationPitch; $par1MovingObjectPosition.$posX = var$10; $par1MovingObjectPosition.$prevPosX = var$10; $par1MovingObjectPosition.$lastTickPosX = var$10; var$11 = var$11 + $par1MovingObjectPosition.$yOffset; $par1MovingObjectPosition.$posY = var$11; $par1MovingObjectPosition.$prevPosY = var$11; $par1MovingObjectPosition.$lastTickPosY = var$11; $par1MovingObjectPosition.$posZ = var$12; $par1MovingObjectPosition.$prevPosZ = var$12; $par1MovingObjectPosition.$lastTickPosZ = var$12; $par1MovingObjectPosition.$rotationYaw = var$7; $par1MovingObjectPosition.$rotationPitch = var$13; nms_Entity_setPosition($par1MovingObjectPosition, var$10, var$11, var$12); if ($this.$thrower === null) { $par1MovingObjectPosition = $this.$throwerName; if ($par1MovingObjectPosition !== null && $par1MovingObjectPosition.$nativeString.length > 0) { $par1MovingObjectPosition = $this.$worldObj; $var3 = $this.$throwerName; var$4 = 0; l: { c: { while (true) { var$3 = $par1MovingObjectPosition.$playerEntities; $var2 = $rt_compare(var$4, var$3.$size0); if ($var2 >= 0) break; if (var$4 < 0) break c; if ($var2 >= 0) break c; var$3 = var$3.$array.data[var$4].$username; if ($var3 === var$3) $var2 = 1; else if (!(var$3 instanceof jl_String)) $var2 = 0; else { var$3 = var$3; $var2 = $var3.$nativeString !== var$3.$nativeString ? 0 : 1; } if ($var2) { $par1MovingObjectPosition = $par1MovingObjectPosition.$playerEntities; if (var$4 >= 0 && var$4 < $par1MovingObjectPosition.$size0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[var$4]; break l; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$4 = var$4 + 1 | 0; } $par1MovingObjectPosition = null; break l; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = $par1MovingObjectPosition; } } $var3 = $this.$thrower; $var3.$fallDistance = 0.0; $par1MovingObjectPosition = nms_DamageSource_fall; var$7 = 5.0; $ptr = 4; continue main; } } $this.$isDead = 1; } return; } $par1MovingObjectPosition = $this.$worldObj; $var3 = $rt_s(1455); var$11 = $this.$posX; var$12 = $this.$posY; var$3 = $this.$rand; var$14 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$14; var$15 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$8))), 27); var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$14; var$12 = var$12 + Long_toNumber(Long_add(var$15, Long_fromInt(Long_lo(Long_shru(var$14, var$9))))) * 1.1102230246251565E-16 * 2.0; var$16 = $this.$posZ; var$17 = nle_EaglercraftRandom_nextGaussian(var$3); var$10 = 0.0; var$18 = nle_EaglercraftRandom_nextGaussian($this.$rand); var$4 = 0; } if (var$4 >= 0 && var$19 < 0) { var$3 = var$3.$array.data[var$4]; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; $rt_throw($par1MovingObjectPosition); case 3: var$3.$mountEntity($par1MovingObjectPosition); if ($rt_suspending()) { break main; } if ($this.$thrower === null) { $par1MovingObjectPosition = $this.$throwerName; if ($par1MovingObjectPosition !== null && $par1MovingObjectPosition.$nativeString.length > 0) { $par1MovingObjectPosition = $this.$worldObj; $var3 = $this.$throwerName; var$4 = 0; m: { while (true) { var$3 = $par1MovingObjectPosition.$playerEntities; $var2 = $rt_compare(var$4, var$3.$size0); if ($var2 >= 0) { $par1MovingObjectPosition = null; break m; } if (var$4 < 0) break; if ($var2 >= 0) break; var$3 = var$3.$array.data[var$4].$username; if ($var3 === var$3) $var2 = 1; else if (!(var$3 instanceof jl_String)) $var2 = 0; else { var$3 = var$3; $var2 = $var3.$nativeString !== var$3.$nativeString ? 0 : 1; } if ($var2) { $par1MovingObjectPosition = $par1MovingObjectPosition.$playerEntities; if (var$4 >= 0 && var$4 < $par1MovingObjectPosition.$size0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[var$4]; break m; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$4 = var$4 + 1 | 0; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = $par1MovingObjectPosition; } } $par1MovingObjectPosition = $this.$thrower; var$10 = $this.$posX; var$11 = $this.$posY; var$12 = $this.$posZ; var$7 = $par1MovingObjectPosition.$rotationYaw; var$13 = $par1MovingObjectPosition.$rotationPitch; $par1MovingObjectPosition.$posX = var$10; $par1MovingObjectPosition.$prevPosX = var$10; $par1MovingObjectPosition.$lastTickPosX = var$10; var$11 = var$11 + $par1MovingObjectPosition.$yOffset; $par1MovingObjectPosition.$posY = var$11; $par1MovingObjectPosition.$prevPosY = var$11; $par1MovingObjectPosition.$lastTickPosY = var$11; $par1MovingObjectPosition.$posZ = var$12; $par1MovingObjectPosition.$prevPosZ = var$12; $par1MovingObjectPosition.$lastTickPosZ = var$12; $par1MovingObjectPosition.$rotationYaw = var$7; $par1MovingObjectPosition.$rotationPitch = var$13; nms_Entity_setPosition($par1MovingObjectPosition, var$10, var$11, var$12); if ($this.$thrower === null) { $par1MovingObjectPosition = $this.$throwerName; if ($par1MovingObjectPosition !== null && $par1MovingObjectPosition.$nativeString.length > 0) { $par1MovingObjectPosition = $this.$worldObj; $var3 = $this.$throwerName; var$4 = 0; n: { o: { while (true) { var$3 = $par1MovingObjectPosition.$playerEntities; $var2 = $rt_compare(var$4, var$3.$size0); if ($var2 >= 0) break; if (var$4 < 0) break o; if ($var2 >= 0) break o; var$3 = var$3.$array.data[var$4].$username; if ($var3 === var$3) $var2 = 1; else if (!(var$3 instanceof jl_String)) $var2 = 0; else { var$3 = var$3; $var2 = $var3.$nativeString !== var$3.$nativeString ? 0 : 1; } if ($var2) { $par1MovingObjectPosition = $par1MovingObjectPosition.$playerEntities; if (var$4 >= 0 && var$4 < $par1MovingObjectPosition.$size0) { $par1MovingObjectPosition = $par1MovingObjectPosition.$array.data[var$4]; break n; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$4 = var$4 + 1 | 0; } $par1MovingObjectPosition = null; break n; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = $par1MovingObjectPosition; } } $var3 = $this.$thrower; $var3.$fallDistance = 0.0; $par1MovingObjectPosition = nms_DamageSource_fall; var$7 = 5.0; $ptr = 4; case 4: $var3.$attackEntityFrom($par1MovingObjectPosition, var$7); if ($rt_suspending()) { break main; } $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1MovingObjectPosition, $var3, var$3, var$4, var$5, $var2, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }; function nms_EntityEnderEye() { let a = this; nms_Entity.call(a); a.$targetX0 = 0.0; a.$targetY0 = 0.0; a.$targetZ0 = 0.0; a.$despawnTimer = 0; a.$shatterOrDrop = 0; } let nms_EntityEnderEye_entityInit = $this => { return; }, nms_EntityEnderEye_isInRangeToRenderDist = ($this, $par1) => { let var$2, $var3; var$2 = $this.$boundingBox; $var3 = (var$2.$maxX - var$2.$minX + var$2.$maxY - var$2.$minY + var$2.$maxZ - var$2.$minZ) / 3.0 * 4.0 * 64.0; return $par1 >= $var3 * $var3 ? 0 : 1; }, nms_EntityEnderEye_moveTowards = ($this, $par1, $par3, $par4) => { let $var6, $var8, $var10, var$7, var$8, var$9, var$10; $var6 = $par1 - $this.$posX; $var8 = $par4 - $this.$posZ; $var10 = jl_Math_sqrt($var6 * $var6 + $var8 * $var8); if ($var10 <= 12.0) { $this.$targetX0 = $par1; $this.$targetY0 = $par3; $this.$targetZ0 = $par4; } else { $par1 = $this.$posX; $par4 = $var10; $this.$targetX0 = $par1 + $var6 / $par4 * 12.0; $this.$targetZ0 = $this.$posZ + $var8 / $par4 * 12.0; $this.$targetY0 = $this.$posY + 8.0; } $this.$despawnTimer = 0; var$7 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 17)); while (true) { var$10 = var$9 % 5 | 0; if (((var$9 - var$10 | 0) + 4 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 17)); } $this.$shatterOrDrop = var$10 <= 0 ? 0 : 1; }, nms_EntityEnderEye_setVelocity = ($this, $par1, $par3, $par5) => { let $var7, var$5; $this.$motionX = $par1; $this.$motionY = $par3; $this.$motionZ = $par5; if ($this.$prevRotationPitch === 0.0 && $this.$prevRotationYaw === 0.0) { $var7 = jl_Math_sqrt($par1 * $par1 + $par5 * $par5); var$5 = jl_Math_atan2($par1, $par5) * 180.0 / 3.141592653589793; $this.$rotationYaw = var$5; $this.$prevRotationYaw = var$5; var$5 = jl_Math_atan2($par3, $var7) * 180.0 / 3.141592653589793; $this.$rotationPitch = var$5; $this.$prevRotationPitch = var$5; } }, nms_EntityEnderEye_onUpdate = $this => { let $var2, $var8, $var4, $var1, $var6, $var7, var$7, var$8, var$9, $var3, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var3 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var1 = $thread.pop();$var4 = $thread.pop();$var8 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$lastTickPosX = $this.$posX; $this.$lastTickPosY = $this.$posY; $this.$lastTickPosZ = $this.$posZ; $ptr = 1; case 1: nms_Entity_onEntityUpdate($this); if ($rt_suspending()) { break main; } $var2 = $this.$posX; $var8 = $this.$motionX; $this.$posX = $var2 + $var8; $this.$posY = $this.$posY + $this.$motionY; $var2 = $this.$posZ; $var4 = $this.$motionZ; $this.$posZ = $var2 + $var4; $var1 = jl_Math_sqrt($var8 * $var8 + $var4 * $var4); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.141592653589793; $var2 = $this.$motionY; $var8 = $var1; $var6 = jl_Math_atan2($var2, $var8) * 180.0 / 3.141592653589793; $this.$rotationPitch = $var6; while (true) { $var7 = $this.$prevRotationPitch; if ($var6 - $var7 >= (-180.0)) break; $this.$prevRotationPitch = $var7 - 360.0; } while (true) { $var7 = $this.$prevRotationPitch; var$7 = $var6 - $var7; if (var$7 < 180.0) break; $this.$prevRotationPitch = $var7 + 360.0; } while (true) { $var6 = $this.$rotationYaw; var$8 = $this.$prevRotationYaw; if ($var6 - var$8 >= (-180.0)) break; $this.$prevRotationYaw = var$8 - 360.0; } while (true) { var$8 = $this.$prevRotationYaw; var$9 = $var6 - var$8; if (var$9 < 180.0) break; $this.$prevRotationYaw = var$8 + 360.0; } $this.$rotationPitch = $var7 + var$7 * 0.20000000298023224; $this.$rotationYaw = var$8 + var$9 * 0.20000000298023224; if (!$this.$worldObj.$isRemote) { $var2 = $this.$targetX0 - $this.$posX; $var4 = $this.$targetZ0 - $this.$posZ; $var6 = jl_Math_sqrt($var2 * $var2 + $var4 * $var4); $var7 = jl_Math_atan2($var4, $var2); $var8 = $var8 + ($var6 - $var1) * 0.0025; if ($var6 < 1.0) { $var8 = $var8 * 0.8; $this.$motionY = $this.$motionY * 0.8; } $var2 = $var7; $this.$motionX = jl_Math_cos($var2) * $var8; $this.$motionZ = jl_Math_sin($var2) * $var8; if ($this.$posY >= $this.$targetY0) { $var2 = $this.$motionY; $this.$motionY = $var2 + ((-1.0) - $var2) * 0.014999999664723873; } else { $var2 = $this.$motionY; $this.$motionY = $var2 + (1.0 - $var2) * 0.014999999664723873; } } if ($this.$inWater) { $var3 = 0; while ($var3 < 4) { var$11 = $this.$worldObj; var$12 = $rt_s(1242); $var2 = $this.$posX; $var8 = $this.$motionX; $var2 = $var2 - $var8 * 0.25; var$13 = $this.$posY; var$14 = $this.$motionY; var$13 = var$13 - var$14 * 0.25; var$15 = $this.$posZ; var$16 = $this.$motionZ; $var4 = var$15 - var$16 * 0.25; var$17 = 0; var$18 = var$11.$worldAccesses; var$19 = $rt_compare(var$17, var$18.$size0); if (var$19 < 0) { if (var$17 >= 0 && var$19 < 0) { var$18 = var$18.$array.data[var$17]; $ptr = 3; continue main; } var$11 = new jl_IndexOutOfBoundsException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; $rt_throw(var$11); } $var3 = $var3 + 1 | 0; } } else { var$11 = $this.$worldObj; var$12 = $rt_s(1455); $var2 = $this.$posX; $var8 = $this.$motionX; $var2 = $var2 - $var8 * 0.25; var$18 = $this.$rand; var$20 = Long_and(Long_add(Long_mul(var$18.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$18.$seed = var$20; var$21 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$20, 22))), 27); var$20 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$18.$seed = var$20; $var2 = $var2 + Long_toNumber(Long_add(var$21, Long_fromInt(Long_lo(Long_shru(var$20, 21))))) * 1.1102230246251565E-16 * 0.6 - 0.3; var$13 = $this.$posY; var$14 = $this.$motionY; var$13 = var$13 - var$14 * 0.25 - 0.5; var$15 = $this.$posZ; var$16 = $this.$motionZ; $var4 = var$15 - var$16 * 0.25; var$21 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$18.$seed = var$21; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$21, 22))), 27); var$22 = Long_and(Long_add(Long_mul(var$21, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$18.$seed = var$22; $var4 = $var4 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$22, 21))))) * 1.1102230246251565E-16 * 0.6 - 0.3; $var3 = 0; var$18 = var$11.$worldAccesses; var$17 = $rt_compare($var3, var$18.$size0); if (var$17 < 0) { if ($var3 >= 0 && var$17 < 0) { var$18 = var$18.$array.data[$var3]; $ptr = 2; continue main; } var$11 = new jl_IndexOutOfBoundsException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; $rt_throw(var$11); } } if (!$this.$worldObj.$isRemote) { nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $var3 = $this.$despawnTimer + 1 | 0; $this.$despawnTimer = $var3; if ($var3 > 80) { var$11 = $this.$worldObj; if (!var$11.$isRemote) { $this.$isDead = 1; if ($this.$shatterOrDrop) { var$12 = new nms_EntityItem; $var2 = $this.$posX; $var8 = $this.$posY; $var4 = $this.$posZ; var$18 = new nms_ItemStack; nms_Item_$callClinit(); var$23 = nms_Item_eyeOfEnder; nms_ItemStack_$callClinit(); var$18.$itemID = var$23.$itemID0; var$18.$stackSize = 1; var$18.$itemDamage = 0; $ptr = 4; continue main; } $var3 = 2003; $var2 = $this.$posX; var$17 = Long_lo(Long_fromNumber($var2 + jl_Math_sign($var2) * 0.5)); $var2 = $this.$posY; var$19 = Long_lo(Long_fromNumber($var2 + jl_Math_sign($var2) * 0.5)); $var2 = $this.$posZ; var$24 = Long_lo(Long_fromNumber($var2 + jl_Math_sign($var2) * 0.5)); var$25 = 0; var$12 = null; var$26 = 0; var$18 = var$11.$worldAccesses; var$27 = $rt_compare(var$26, var$18.$size0); if (var$27 < 0) { if (var$26 >= 0 && var$27 < 0) { var$18 = var$18.$array.data[var$26]; $ptr = 5; continue main; } var$11 = new jl_IndexOutOfBoundsException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$11); $rt_throw(var$11); } } } } return; case 2: nms_RenderGlobal_doSpawnParticle(var$18, var$12, $var2, var$13, $var4, $var8, var$14, var$16); if ($rt_suspending()) { break main; } $var3 = $var3 + 1 | 0; var$18 = var$11.$worldAccesses; var$17 = $rt_compare($var3, var$18.$size0); if (var$17 < 0) { if ($var3 >= 0 && var$17 < 0) { var$18 = var$18.$array.data[$var3]; continue main; } var$11 = new jl_IndexOutOfBoundsException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; $rt_throw(var$11); } if (!$this.$worldObj.$isRemote) { nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $var3 = $this.$despawnTimer + 1 | 0; $this.$despawnTimer = $var3; if ($var3 > 80) { var$11 = $this.$worldObj; if (!var$11.$isRemote) { $this.$isDead = 1; if ($this.$shatterOrDrop) { var$12 = new nms_EntityItem; $var2 = $this.$posX; $var8 = $this.$posY; $var4 = $this.$posZ; var$18 = new nms_ItemStack; nms_Item_$callClinit(); var$23 = nms_Item_eyeOfEnder; nms_ItemStack_$callClinit(); var$18.$itemID = var$23.$itemID0; var$18.$stackSize = 1; var$18.$itemDamage = 0; $ptr = 4; continue main; } $var3 = 2003; $var2 = $this.$posX; var$17 = Long_lo(Long_fromNumber($var2 + jl_Math_sign($var2) * 0.5)); $var2 = $this.$posY; var$19 = Long_lo(Long_fromNumber($var2 + jl_Math_sign($var2) * 0.5)); $var2 = $this.$posZ; var$24 = Long_lo(Long_fromNumber($var2 + jl_Math_sign($var2) * 0.5)); var$25 = 0; var$12 = null; var$26 = 0; var$18 = var$11.$worldAccesses; var$27 = $rt_compare(var$26, var$18.$size0); if (var$27 < 0) { if (var$26 >= 0 && var$27 < 0) { var$18 = var$18.$array.data[var$26]; $ptr = 5; continue main; } var$11 = new jl_IndexOutOfBoundsException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$11); $rt_throw(var$11); } } } } return; case 3: nms_RenderGlobal_doSpawnParticle(var$18, var$12, $var2, var$13, $var4, $var8, var$14, var$16); if ($rt_suspending()) { break main; } var$17 = var$17 + 1 | 0; while (true) { var$18 = var$11.$worldAccesses; var$19 = $rt_compare(var$17, var$18.$size0); if (var$19 < 0) break; $var3 = $var3 + 1 | 0; if ($var3 >= 4) { if (!$this.$worldObj.$isRemote) { nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $var3 = $this.$despawnTimer + 1 | 0; $this.$despawnTimer = $var3; if ($var3 > 80) { var$11 = $this.$worldObj; if (!var$11.$isRemote) { $this.$isDead = 1; if ($this.$shatterOrDrop) { var$12 = new nms_EntityItem; $var2 = $this.$posX; $var8 = $this.$posY; $var4 = $this.$posZ; var$18 = new nms_ItemStack; nms_Item_$callClinit(); var$23 = nms_Item_eyeOfEnder; nms_ItemStack_$callClinit(); var$18.$itemID = var$23.$itemID0; var$18.$stackSize = 1; var$18.$itemDamage = 0; $ptr = 4; continue main; } $var3 = 2003; $var2 = $this.$posX; var$17 = Long_lo(Long_fromNumber($var2 + jl_Math_sign($var2) * 0.5)); $var2 = $this.$posY; var$19 = Long_lo(Long_fromNumber($var2 + jl_Math_sign($var2) * 0.5)); $var2 = $this.$posZ; var$24 = Long_lo(Long_fromNumber($var2 + jl_Math_sign($var2) * 0.5)); var$25 = 0; var$12 = null; var$26 = 0; var$18 = var$11.$worldAccesses; var$27 = $rt_compare(var$26, var$18.$size0); if (var$27 < 0) { if (var$26 >= 0 && var$27 < 0) { var$18 = var$18.$array.data[var$26]; $ptr = 5; continue main; } var$11 = new jl_IndexOutOfBoundsException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$11); $rt_throw(var$11); } } } } return; } var$11 = $this.$worldObj; var$12 = $rt_s(1242); $var2 = $this.$posX; $var8 = $this.$motionX; $var2 = $var2 - $var8 * 0.25; var$13 = $this.$posY; var$14 = $this.$motionY; var$13 = var$13 - var$14 * 0.25; var$15 = $this.$posZ; var$16 = $this.$motionZ; $var4 = var$15 - var$16 * 0.25; var$17 = 0; } if (var$17 >= 0 && var$19 < 0) { var$18 = var$18.$array.data[var$17]; continue main; } var$11 = new jl_IndexOutOfBoundsException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; $rt_throw(var$11); case 4: nms_EntityItem__init_(var$12, var$11, $var2, $var8, $var4); if ($rt_suspending()) { break main; } var$28 = var$12.$dataWatcher; var$23 = var$28.$watchedObjects; jl_Integer_ensureIntegerCache(); var$29 = jl_Integer_integerCache.data[138]; if (var$29 === null) { var$23 = var$23.$elementData.data[0]; while (var$23 !== null && var$23.$key !== null) { var$23 = var$23.$next3; } } else { var$19 = var$29.$value0; var$30 = var$23.$elementData.data; var$23 = var$30[var$19 & (var$30.length - 1 | 0)]; while (var$23 !== null) { if (var$23.$origKeyHash == var$19) { var$31 = var$23.$key; if (var$29 !== var$31 && !jl_Integer_equals(var$29, var$31) ? 0 : 1) break; } var$23 = var$23.$next3; } } var$31 = var$23 === null ? null : var$23.$value1; if (!(var$18 !== var$31.$watchedObject ? 0 : 1)) { var$31.$watchedObject = var$18; var$31.$watched = 1; var$28.$objectChanged = 1; } var$29 = var$12.$dataWatcher; var$18 = var$29.$watchedObjects; jl_Integer_ensureIntegerCache(); var$31 = jl_Integer_integerCache.data[138]; if (var$31 === null) { var$18 = var$18.$elementData.data[0]; while (var$18 !== null && var$18.$key !== null) { var$18 = var$18.$next3; } } else { var$19 = var$31.$value0; var$30 = var$18.$elementData.data; var$18 = var$30[var$19 & (var$30.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == var$19) { var$23 = var$18.$key; if (var$31 !== var$23 && !jl_Integer_equals(var$31, var$23) ? 0 : 1) break; } var$18 = var$18.$next3; } } (var$18 === null ? null : var$18.$value1).$watched = 1; var$29.$objectChanged = 1; $var3 = nms_World_spawnEntityInWorld(var$11, var$12); var$18 = var$11.$entityList; ju_HashMap_putImpl(var$18.$backingMap, var$12, var$18); if (!$var3) { var$11 = var$11.$entitySpawnQueue; ju_HashMap_putImpl(var$11.$backingMap, var$12, var$11); } return; case 5: nms_RenderGlobal_playAuxSFX(var$18, var$12, $var3, var$17, var$19, var$24, var$25); if ($rt_suspending()) { break main; } var$26 = var$26 + 1 | 0; var$18 = var$11.$worldAccesses; var$27 = $rt_compare(var$26, var$18.$size0); if (var$27 >= 0) return; if (var$26 >= 0 && var$27 < 0) { var$18 = var$18.$array.data[var$26]; continue main; } var$11 = new jl_IndexOutOfBoundsException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$11); $rt_throw(var$11); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, $var8, $var4, $var1, $var6, $var7, var$7, var$8, var$9, $var3, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, $ptr); }, nms_EntityEnderEye_writeEntityToNBT = ($this, $par1NBTTagCompound) => { return; }, nms_EntityEnderEye_readEntityFromNBT = ($this, $par1NBTTagCompound) => { return; }, nms_EntityEnderEye_getShadowSize = $this => { return 0.0; }, nms_EntityEnderEye_getBrightnessForRender = ($this, $par1) => { return 15728880; }, nms_EntityEnderEye_canAttackWithItem = $this => { return 0; }, nms_EntityEgg = $rt_classWithoutFields(nms_EntityThrowable), nms_EntityEgg_onImpact = ($this, $par1MovingObjectPosition) => { let var$2, $var2, var$4, $var3, var$6, $var4, $var5, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$par1MovingObjectPosition = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1MovingObjectPosition = $par1MovingObjectPosition.$entityHit; if ($par1MovingObjectPosition === null) { if (!$this.$worldObj.$isRemote) { $par1MovingObjectPosition = $this.$rand; var$2 = Long_and(Long_add(Long_mul($par1MovingObjectPosition.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1MovingObjectPosition.$seed = var$2; if (!Long_lo(Long_shr(Long_mul(Long_fromInt(8), Long_fromInt(Long_lo(Long_shru(var$2, 17)))), 31))) { $var2 = 1; var$4 = Long_and(Long_add(Long_mul(var$2, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1MovingObjectPosition.$seed = var$4; if (!Long_lo(Long_shr(Long_mul(Long_fromInt(32), Long_fromInt(Long_lo(Long_shru(var$4, 17)))), 31))) $var2 = 4; $var3 = 0; var$6 = 140; if ($var3 < $var2) { $var4 = new nms_EntityChicken; $par1MovingObjectPosition = $this.$worldObj; $ptr = 2; continue main; } } } $var5 = 0; while ($var5 < 8) { $par1MovingObjectPosition = $this.$worldObj; var$9 = $rt_s(1491); var$10 = $this.$posX; var$11 = $this.$posY; var$12 = $this.$posZ; var$13 = 0.0; var$14 = 0.0; var$15 = 0.0; $var2 = 0; var$16 = $par1MovingObjectPosition.$worldAccesses; var$17 = $rt_compare($var2, var$16.$size0); if (var$17 < 0) { if ($var2 >= 0 && var$17 < 0) { var$16 = var$16.$array.data[$var2]; $ptr = 3; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; $rt_throw($par1MovingObjectPosition); } $var5 = $var5 + 1 | 0; } if (!$this.$worldObj.$isRemote) $this.$isDead = 1; return; } if ($this.$thrower === null) { var$9 = $this.$throwerName; if (var$9 !== null && var$9.$nativeString.length > 0) { var$9 = $this.$worldObj; var$16 = $this.$throwerName; $var2 = 0; a: { while (true) { var$18 = var$9.$playerEntities; $var5 = $rt_compare($var2, var$18.$size0); if ($var5 >= 0) { var$9 = null; break a; } if ($var2 < 0) break; if ($var5 >= 0) break; var$18 = var$18.$array.data[$var2].$username; if (var$16 === var$18) $var5 = 1; else if (!(var$18 instanceof jl_String)) $var5 = 0; else { var$18 = var$18; $var5 = var$16.$nativeString !== var$18.$nativeString ? 0 : 1; } if ($var5) { var$9 = var$9.$playerEntities; if ($var2 >= 0 && $var2 < var$9.$size0) { var$9 = var$9.$array.data[$var2]; break a; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $var2 = $var2 + 1 | 0; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = var$9; } } var$18 = $this.$thrower; var$9 = new nms_EntityDamageSourceIndirect; var$9.$hungerDamage = 0.30000001192092896; var$9.$damageType = $rt_s(2081); var$9.$damageSourceEntity = $this; var$9.$indirectEntity = var$18; var$9.$projectile = 1; var$19 = 0.0; $ptr = 1; case 1: $par1MovingObjectPosition.$attackEntityFrom(var$9, var$19); if ($rt_suspending()) { break main; } if (!$this.$worldObj.$isRemote) { $par1MovingObjectPosition = $this.$rand; var$2 = Long_and(Long_add(Long_mul($par1MovingObjectPosition.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1MovingObjectPosition.$seed = var$2; if (!Long_lo(Long_shr(Long_mul(Long_fromInt(8), Long_fromInt(Long_lo(Long_shru(var$2, 17)))), 31))) { $var2 = 1; var$4 = Long_and(Long_add(Long_mul(var$2, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1MovingObjectPosition.$seed = var$4; if (!Long_lo(Long_shr(Long_mul(Long_fromInt(32), Long_fromInt(Long_lo(Long_shru(var$4, 17)))), 31))) $var2 = 4; $var3 = 0; var$6 = 140; if ($var3 < $var2) { $var4 = new nms_EntityChicken; $par1MovingObjectPosition = $this.$worldObj; $ptr = 2; continue main; } } } $var5 = 0; while ($var5 < 8) { $par1MovingObjectPosition = $this.$worldObj; var$9 = $rt_s(1491); var$10 = $this.$posX; var$11 = $this.$posY; var$12 = $this.$posZ; var$13 = 0.0; var$14 = 0.0; var$15 = 0.0; $var2 = 0; var$16 = $par1MovingObjectPosition.$worldAccesses; var$17 = $rt_compare($var2, var$16.$size0); if (var$17 < 0) { if ($var2 >= 0 && var$17 < 0) { var$16 = var$16.$array.data[$var2]; $ptr = 3; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; $rt_throw($par1MovingObjectPosition); } $var5 = $var5 + 1 | 0; } if (!$this.$worldObj.$isRemote) $this.$isDead = 1; return; case 2: nms_EntityChicken__init_($var4, $par1MovingObjectPosition); if ($rt_suspending()) { break main; } var$20 = $var4.$dataWatcher; var$18 = new jl_Integer; var$18.$value0 = (-24000); $par1MovingObjectPosition = var$20.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[var$6]; if (var$16 === null) { $par1MovingObjectPosition = $par1MovingObjectPosition.$elementData.data[0]; while ($par1MovingObjectPosition !== null && $par1MovingObjectPosition.$key !== null) { $par1MovingObjectPosition = $par1MovingObjectPosition.$next3; } } else { var$21 = var$16.$value0; var$22 = $par1MovingObjectPosition.$elementData.data; $par1MovingObjectPosition = var$22[var$21 & (var$22.length - 1 | 0)]; while ($par1MovingObjectPosition !== null) { if ($par1MovingObjectPosition.$origKeyHash == var$21) { var$9 = $par1MovingObjectPosition.$key; if (var$16 !== var$9 && !(var$16 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$21 ? 1 : 0) ? 0 : 1) break; } $par1MovingObjectPosition = $par1MovingObjectPosition.$next3; } } var$9 = $par1MovingObjectPosition === null ? null : $par1MovingObjectPosition.$value1; $par1MovingObjectPosition = var$9.$watchedObject; if (!(var$18 === $par1MovingObjectPosition ? 1 : $par1MovingObjectPosition instanceof jl_Integer && $par1MovingObjectPosition.$value0 == var$18.$value0 ? 1 : 0)) { var$9.$watchedObject = var$18; var$9.$watched = 1; var$20.$objectChanged = 1; } $par1MovingObjectPosition = $var4.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[var$6]; if (var$16 === null) { $par1MovingObjectPosition = $par1MovingObjectPosition.$elementData.data[0]; while ($par1MovingObjectPosition !== null && $par1MovingObjectPosition.$key !== null) { $par1MovingObjectPosition = $par1MovingObjectPosition.$next3; } } else { $var5 = jl_Integer_hashCode(var$16.$value0); var$22 = $par1MovingObjectPosition.$elementData.data; $par1MovingObjectPosition = var$22[$var5 & (var$22.length - 1 | 0)]; while ($par1MovingObjectPosition !== null && !($par1MovingObjectPosition.$origKeyHash == $var5 && ju_HashMap_areEqualKeys(var$16, $par1MovingObjectPosition.$key))) { $par1MovingObjectPosition = $par1MovingObjectPosition.$next3; } } $par1MovingObjectPosition = $par1MovingObjectPosition === null ? null : $par1MovingObjectPosition.$value1; var$19 = !($par1MovingObjectPosition.$watchedObject.$value0 >= 0 ? 0 : 1) ? 1.0 : 0.5; var$23 = $var4.$field_98056_d * var$19; var$19 = $var4.$field_98057_e * var$19; $ptr = 4; continue main; case 3: nms_RenderGlobal_doSpawnParticle(var$16, var$9, var$10, var$11, var$12, var$13, var$14, var$15); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; while (true) { var$16 = $par1MovingObjectPosition.$worldAccesses; var$17 = $rt_compare($var2, var$16.$size0); if (var$17 < 0) { if ($var2 >= 0 && var$17 < 0) { var$16 = var$16.$array.data[$var2]; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; $rt_throw($par1MovingObjectPosition); } $var5 = $var5 + 1 | 0; if ($var5 >= 8) break; $par1MovingObjectPosition = $this.$worldObj; var$9 = $rt_s(1491); var$10 = $this.$posX; var$11 = $this.$posY; var$12 = $this.$posZ; var$13 = 0.0; var$14 = 0.0; var$15 = 0.0; $var2 = 0; } if (!$this.$worldObj.$isRemote) $this.$isDead = 1; return; case 4: nms_Entity_setSize($var4, var$23, var$19); if ($rt_suspending()) { break main; } var$13 = $this.$posX; var$14 = $this.$posY; var$15 = $this.$posZ; var$19 = $this.$rotationYaw; $var4.$posX = var$13; $var4.$prevPosX = var$13; $var4.$lastTickPosX = var$13; var$14 = var$14 + $var4.$yOffset; $var4.$posY = var$14; $var4.$prevPosY = var$14; $var4.$lastTickPosY = var$14; $var4.$posZ = var$15; $var4.$prevPosZ = var$15; $var4.$lastTickPosZ = var$15; $var4.$rotationYaw = var$19; $var4.$rotationPitch = 0.0; nms_Entity_setPosition($var4, var$13, var$14, var$15); $par1MovingObjectPosition = $this.$worldObj; $var5 = nms_World_spawnEntityInWorld($par1MovingObjectPosition, $var4); var$9 = $par1MovingObjectPosition.$entityList; ju_HashMap_putImpl(var$9.$backingMap, $var4, var$9); if (!$var5) { $par1MovingObjectPosition = $par1MovingObjectPosition.$entitySpawnQueue; ju_HashMap_putImpl($par1MovingObjectPosition.$backingMap, $var4, $par1MovingObjectPosition); } $var3 = $var3 + 1 | 0; if ($var3 < $var2) { $var4 = new nms_EntityChicken; $par1MovingObjectPosition = $this.$worldObj; $ptr = 2; continue main; } $var5 = 0; while ($var5 < 8) { $par1MovingObjectPosition = $this.$worldObj; var$9 = $rt_s(1491); var$10 = $this.$posX; var$11 = $this.$posY; var$12 = $this.$posZ; var$13 = 0.0; var$14 = 0.0; var$15 = 0.0; $var2 = 0; var$16 = $par1MovingObjectPosition.$worldAccesses; var$17 = $rt_compare($var2, var$16.$size0); if (var$17 < 0) { if ($var2 >= 0 && var$17 < 0) { var$16 = var$16.$array.data[$var2]; $ptr = 3; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; $rt_throw($par1MovingObjectPosition); } $var5 = $var5 + 1 | 0; } if (!$this.$worldObj.$isRemote) $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1MovingObjectPosition, var$2, $var2, var$4, $var3, var$6, $var4, $var5, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr); }; function nms_EntityPotion() { nms_EntityThrowable.call(this); this.$potionDamage = null; } let nms_EntityPotion_getGravityVelocity = $this => { return 0.05000000074505806; }, nms_EntityPotion_func_70182_d = $this => { return 0.5; }, nms_EntityPotion_func_70183_g = $this => { return (-20.0); }, nms_EntityPotion_onImpact = ($this, $par1MovingObjectPosition) => { let $var2, $var6, $var7, var$5, $var9, var$7, var$8, var$9, $var11, $var5$index, var$12, var$13, $var4, var$15, $var12, $var14, $var13, $var5$index_0, var$20, var$21, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var5$index_0 = $thread.pop();$var13 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();var$15 = $thread.pop();$var4 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var5$index = $thread.pop();$var11 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var9 = $thread.pop();var$5 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var2 = $thread.pop();$par1MovingObjectPosition = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj.$isRemote) { nms_Item_$callClinit(); $var2 = nms_ItemPotion_getEffects(nms_Item_potion, $this.$potionDamage); if ($var2 !== null && !($var2.$size() ? 0 : 1)) { $var6 = $this.$boundingBox; $var7 = $var6.$minX - 4.0; var$5 = $var6.$minY - 2.0; $var9 = $var6.$minZ - 4.0; var$7 = $var6.$maxX + 4.0; var$8 = $var6.$maxY + 2.0; var$9 = $var6.$maxZ + 4.0; $var11 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var5$index = $var11.$nextPoolIndex; $var6 = $var11.$listAABB; var$12 = $var6.$size0; var$13 = $rt_compare($var5$index, var$12); if (var$13 >= 0) { $var4 = new nms_AxisAlignedBB; $var4.$minX = $var7; $var4.$minY = var$5; $var4.$minZ = $var9; $var4.$maxX = var$7; $var4.$maxY = var$8; $var4.$maxZ = var$9; ju_ArrayList_ensureCapacity($var6, var$12 + 1 | 0); var$15 = $var6.$array.data; var$13 = $var6.$size0; $var6.$size0 = var$13 + 1 | 0; var$15[var$13] = $var4; $var6.$modCount = $var6.$modCount + 1 | 0; } else if ($var5$index >= 0 && var$13 < 0) { $var4 = $var6.$array.data[$var5$index]; $var4.$minX = $var7; $var4.$minY = var$5; $var4.$minZ = $var9; $var4.$maxX = var$7; $var4.$maxY = var$8; $var4.$maxZ = var$9; } else { $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $var11.$nextPoolIndex = $var11.$nextPoolIndex + 1 | 0; $var11 = $this.$worldObj; $var12 = $rt_cls(nms_EntityLivingBase); $var6 = null; $ptr = 2; continue main; } $par1MovingObjectPosition = $this.$worldObj; $var5$index = 2002; $var7 = $this.$posX; var$13 = Long_lo(Long_fromNumber($var7 + jl_Math_sign($var7) * 0.5)); $var7 = $this.$posY; var$12 = Long_lo(Long_fromNumber($var7 + jl_Math_sign($var7) * 0.5)); $var7 = $this.$posZ; $var14 = Long_lo(Long_fromNumber($var7 + jl_Math_sign($var7) * 0.5)); if ($this.$potionDamage === null) { $var2 = new nms_ItemStack; $var6 = nms_Item_potion; nms_ItemStack_$callClinit(); $var2.$itemID = $var6.$itemID0; $var2.$stackSize = 1; $var2.$itemDamage = 0; $this.$potionDamage = $var2; } $var13 = $this.$potionDamage.$itemDamage; $var2 = null; $var5$index_0 = 0; $var6 = $par1MovingObjectPosition.$worldAccesses; var$20 = $rt_compare($var5$index_0, $var6.$size0); if (var$20 < 0) { if ($var5$index_0 >= 0 && var$20 < 0) { $var6 = $var6.$array.data[$var5$index_0]; $ptr = 1; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$isDead = 1; } return; case 1: nms_RenderGlobal_playAuxSFX($var6, $var2, $var5$index, var$13, var$12, $var14, $var13); if ($rt_suspending()) { break main; } $var5$index_0 = $var5$index_0 + 1 | 0; $var6 = $par1MovingObjectPosition.$worldAccesses; var$20 = $rt_compare($var5$index_0, $var6.$size0); if (var$20 >= 0) { $this.$isDead = 1; return; } if ($var5$index_0 >= 0 && var$20 < 0) { $var6 = $var6.$array.data[$var5$index_0]; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); case 2: a: { $tmp = nms_World_selectEntitiesWithinAABB($var11, $var12, $var4, $var6); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 !== null && !($var4.$size0 ? 0 : 1)) { $var5$index_0 = 0; var$13 = $var4.$modCount; var$12 = $var4.$size(); while (true) { if (!($var5$index_0 >= var$12 ? 0 : 1)) break a; if (var$13 < $var4.$modCount) break; b: { $var5$index = $var5$index_0 + 1 | 0; $var6 = $var4.$get($var5$index_0); $var7 = $this.$posX - $var6.$posX; $var9 = $this.$posY - $var6.$posY; var$7 = $this.$posZ - $var6.$posZ; $var7 = $var7 * $var7 + $var9 * $var9 + var$7 * var$7; if ($var7 < 16.0) { $var9 = 1.0 - jl_Math_sqrt($var7) / 4.0; if ($var6 === $par1MovingObjectPosition.$entityHit) $var9 = 1.0; $var11 = $var2.$iterator(); while (true) { if (!$var11.$hasNext()) break b; $var12 = $var11.$next(); $var13 = $var12.$potionID; nms_Potion_$callClinit(); if (nms_Potion_potionTypes.data[$var13].$isInstant()) { c: { var$21 = nms_Potion_potionTypes.data[$var13]; if ($this.$thrower === null) { var$22 = $this.$throwerName; if (var$22 !== null && var$22.$nativeString.length > 0) { var$22 = $this.$worldObj; var$23 = $this.$throwerName; $var14 = 0; d: { e: { f: { while (true) { var$24 = var$22.$playerEntities; $var5$index_0 = $rt_compare($var14, var$24.$size0); if ($var5$index_0 >= 0) break; if ($var14 < 0) break f; if ($var5$index_0 >= 0) break f; var$24 = var$24.$array.data[$var14].$username; if (var$23 === var$24) $var5$index_0 = 1; else if (!(var$24 instanceof jl_String)) $var5$index_0 = 0; else { var$24 = var$24; $var5$index_0 = var$23.$nativeString !== var$24.$nativeString ? 0 : 1; } if ($var5$index_0) { var$22 = var$22.$playerEntities; if ($var14 < 0) break d; if ($var14 >= var$22.$size0) break d; var$22 = var$22.$array.data[$var14]; break e; } $var14 = $var14 + 1 | 0; } var$22 = null; break e; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = var$22; break c; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } } } var$22 = $this.$thrower; $var14 = $var12.$amplifier; $ptr = 3; continue main; } $var14 = $var9 * $var12.$duration + 0.5 | 0; if ($var14 > 20) { var$21 = new nms_PotionEffect; var$20 = $var12.$amplifier; var$21.$potionID = $var13; var$21.$duration = $var14; var$21.$amplifier = var$20; var$21.$isAmbient = 0; $var6.$addPotionEffect(var$21); } } } } $var5$index_0 = $var5$index; } $par1MovingObjectPosition = new ju_ConcurrentModificationException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; $rt_throw($par1MovingObjectPosition); } } $par1MovingObjectPosition = $this.$worldObj; $var5$index = 2002; $var7 = $this.$posX; var$13 = Long_lo(Long_fromNumber($var7 + jl_Math_sign($var7) * 0.5)); $var7 = $this.$posY; var$12 = Long_lo(Long_fromNumber($var7 + jl_Math_sign($var7) * 0.5)); $var7 = $this.$posZ; $var14 = Long_lo(Long_fromNumber($var7 + jl_Math_sign($var7) * 0.5)); if ($this.$potionDamage === null) { $var2 = new nms_ItemStack; $var6 = nms_Item_potion; nms_ItemStack_$callClinit(); $var2.$itemID = $var6.$itemID0; $var2.$stackSize = 1; $var2.$itemDamage = 0; $this.$potionDamage = $var2; } $var13 = $this.$potionDamage.$itemDamage; $var2 = null; $var5$index_0 = 0; $var6 = $par1MovingObjectPosition.$worldAccesses; var$20 = $rt_compare($var5$index_0, $var6.$size0); if (var$20 >= 0) { $this.$isDead = 1; return; } if ($var5$index_0 >= 0 && var$20 < 0) { $var6 = $var6.$array.data[$var5$index_0]; $ptr = 1; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); case 3: nms_Potion_affectEntity(var$21, var$22, $var6, $var14, $var9); if ($rt_suspending()) { break main; } g: while (true) { while (!$var11.$hasNext()) { while (true) { $var5$index_0 = $var5$index; if (!($var5$index_0 >= var$12 ? 0 : 1)) { $par1MovingObjectPosition = $this.$worldObj; $var5$index = 2002; $var7 = $this.$posX; var$13 = Long_lo(Long_fromNumber($var7 + jl_Math_sign($var7) * 0.5)); $var7 = $this.$posY; var$12 = Long_lo(Long_fromNumber($var7 + jl_Math_sign($var7) * 0.5)); $var7 = $this.$posZ; $var14 = Long_lo(Long_fromNumber($var7 + jl_Math_sign($var7) * 0.5)); if ($this.$potionDamage === null) { $var2 = new nms_ItemStack; $var6 = nms_Item_potion; nms_ItemStack_$callClinit(); $var2.$itemID = $var6.$itemID0; $var2.$stackSize = 1; $var2.$itemDamage = 0; $this.$potionDamage = $var2; } $var13 = $this.$potionDamage.$itemDamage; $var2 = null; $var5$index_0 = 0; $var6 = $par1MovingObjectPosition.$worldAccesses; var$20 = $rt_compare($var5$index_0, $var6.$size0); if (var$20 >= 0) { $this.$isDead = 1; return; } if ($var5$index_0 >= 0 && var$20 < 0) { $var6 = $var6.$array.data[$var5$index_0]; $ptr = 1; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } if (var$13 < $var4.$modCount) break g; $var5$index = $var5$index_0 + 1 | 0; $var6 = $var4.$get($var5$index_0); $var7 = $this.$posX - $var6.$posX; $var9 = $this.$posY - $var6.$posY; var$7 = $this.$posZ - $var6.$posZ; $var7 = $var7 * $var7 + $var9 * $var9 + var$7 * var$7; if ($var7 >= 16.0) continue; else break; } $var9 = 1.0 - jl_Math_sqrt($var7) / 4.0; if ($var6 === $par1MovingObjectPosition.$entityHit) $var9 = 1.0; $var11 = $var2.$iterator(); } $var12 = $var11.$next(); $var13 = $var12.$potionID; nms_Potion_$callClinit(); if (nms_Potion_potionTypes.data[$var13].$isInstant()) { h: { var$21 = nms_Potion_potionTypes.data[$var13]; if ($this.$thrower === null) { var$22 = $this.$throwerName; if (var$22 !== null && var$22.$nativeString.length > 0) { var$22 = $this.$worldObj; var$23 = $this.$throwerName; $var14 = 0; i: { j: { d: { while (true) { var$24 = var$22.$playerEntities; $var5$index_0 = $rt_compare($var14, var$24.$size0); if ($var5$index_0 >= 0) break; if ($var14 < 0) break d; if ($var5$index_0 >= 0) break d; var$24 = var$24.$array.data[$var14].$username; if (var$23 === var$24) $var5$index_0 = 1; else if (!(var$24 instanceof jl_String)) $var5$index_0 = 0; else { var$24 = var$24; $var5$index_0 = var$23.$nativeString !== var$24.$nativeString ? 0 : 1; } if ($var5$index_0) { var$22 = var$22.$playerEntities; if ($var14 < 0) break i; if ($var14 >= var$22.$size0) break i; var$22 = var$22.$array.data[$var14]; break j; } $var14 = $var14 + 1 | 0; } var$22 = null; break j; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $this.$thrower = var$22; break h; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } } } var$22 = $this.$thrower; $var14 = $var12.$amplifier; continue main; } $var14 = $var9 * $var12.$duration + 0.5 | 0; if ($var14 <= 20) continue; var$21 = new nms_PotionEffect; var$20 = $var12.$amplifier; var$21.$potionID = $var13; var$21.$duration = $var14; var$21.$amplifier = var$20; var$21.$isAmbient = 0; $var6.$addPotionEffect(var$21); } $par1MovingObjectPosition = new ju_ConcurrentModificationException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; $rt_throw($par1MovingObjectPosition); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1MovingObjectPosition, $var2, $var6, $var7, var$5, $var9, var$7, var$8, var$9, $var11, $var5$index, var$12, var$13, $var4, var$15, $var12, $var14, $var13, $var5$index_0, var$20, var$21, var$22, var$23, var$24, $ptr); }, nms_EntityPotion_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { nms_EntityThrowable_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2377).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2377).$nativeString.length) break a; $rt_s(2377).$hashCode1 = (31 * $rt_s(2377).$hashCode1 | 0) + $rt_s(2377).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2377).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { b: { var$5 = var$2.$key; if ($rt_s(2377) !== var$5) { if ($rt_s(2377) === var$5) var$6 = 1; else if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(2377).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { c: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2377).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2377).$nativeString.length) break c; $rt_s(2377).$hashCode1 = (31 * $rt_s(2377).$hashCode1 | 0) + $rt_s(2377).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$6 = $rt_s(2377).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { d: { var$5 = var$2.$key; if ($rt_s(2377) !== var$5) { if ($rt_s(2377) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2377).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) { var$2 = new nms_NBTTagCompound; if ($rt_s(2377) !== null) var$2.$name = $rt_s(2377); else var$2.$name = $rt_s(18); $par1NBTTagCompound = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); $par1NBTTagCompound.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$4 = var$7.data; $par1NBTTagCompound.$elementData = var$7; $par1NBTTagCompound.$loadFactor = 0.75; $par1NBTTagCompound.$threshold = var$4.length * 0.75 | 0; var$2.$tagMap = $par1NBTTagCompound; } else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2377) === null) { var$5 = $par1NBTTagCompound.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { e: { if (!$rt_s(2377).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2377).$nativeString.length) break e; $rt_s(2377).$hashCode1 = (31 * $rt_s(2377).$hashCode1 | 0) + $rt_s(2377).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$6 = $rt_s(2377).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; var$5 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$6) { f: { $par1NBTTagCompound = var$5.$key; if ($rt_s(2377) !== $par1NBTTagCompound) { if ($rt_s(2377) === $par1NBTTagCompound) var$3 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$3 = $rt_s(2377).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$5 = var$5.$next3; } } var$2 = var$5 === null ? null : var$5.$value1; } nms_ItemStack_$callClinit(); $par1NBTTagCompound = new nms_ItemStack; nms_ItemStack_readFromNBT($par1NBTTagCompound, var$2); nms_Item_$callClinit(); if (nms_Item_itemsList.data[$par1NBTTagCompound.$itemID] === null) $par1NBTTagCompound = null; $this.$potionDamage = $par1NBTTagCompound; } else { g: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2378).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2378).$nativeString.length) break g; $rt_s(2378).$hashCode1 = (31 * $rt_s(2378).$hashCode1 | 0) + $rt_s(2378).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2378).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { h: { var$5 = var$2.$key; if ($rt_s(2378) !== var$5) { if ($rt_s(2378) === var$5) var$6 = 1; else if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(2378).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break h; } } var$6 = 1; } if (var$6) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$8 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2378) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { i: { if (!$rt_s(2378).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2378).$nativeString.length) break i; $rt_s(2378).$hashCode1 = (31 * $rt_s(2378).$hashCode1 | 0) + $rt_s(2378).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2378).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$3) { j: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(2378) !== var$2) { if ($rt_s(2378) === var$2) var$6 = 1; else if (!(var$2 instanceof jl_String)) var$6 = 0; else { var$2 = var$2; var$6 = $rt_s(2378).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break j; } } var$6 = 1; } if (var$6) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$8 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data0; } if ($this.$potionDamage === null) { var$9 = new nms_ItemStack; nms_Item_$callClinit(); $par1NBTTagCompound = nms_Item_potion; nms_ItemStack_$callClinit(); var$9.$itemID = $par1NBTTagCompound.$itemID0; var$9.$stackSize = 1; var$9.$itemDamage = 0; $this.$potionDamage = var$9; } $par1NBTTagCompound = $this.$potionDamage; $par1NBTTagCompound.$itemDamage = var$8; if (var$8 < 0) $par1NBTTagCompound.$itemDamage = 0; } if ($this.$potionDamage === null) $this.$isDead = 1; }, nms_EntityPotion_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_EntityThrowable_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$potionDamage; if (var$2 !== null) { var$3 = new nms_NBTTagCompound; var$3.$name = $rt_s(18); var$4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$tagMap = var$4; var$5 = var$2.$itemID << 16 >> 16; var$8 = new nms_NBTTagShort; var$8.$name = $rt_s(1243); var$8.$data2 = var$5; ju_HashMap_putImpl(var$4, $rt_s(1243), var$8); var$5 = var$2.$stackSize << 24 >> 24; var$4 = var$3.$tagMap; var$8 = new nms_NBTTagByte; var$8.$name = $rt_s(1271); var$8.$data = var$5; ju_HashMap_putImpl(var$4, $rt_s(1271), var$8); var$5 = var$2.$itemDamage << 16 >> 16; var$4 = var$3.$tagMap; var$8 = new nms_NBTTagShort; var$8.$name = $rt_s(1272); var$8.$data2 = var$5; ju_HashMap_putImpl(var$4, $rt_s(1272), var$8); var$2 = var$2.$stackTagCompound; if (var$2 !== null) { var$4 = var$3.$tagMap; var$2.$name = $rt_s(1273); ju_HashMap_putImpl(var$4, $rt_s(1273), var$2); } $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; var$3.$name = $rt_s(2377); ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(2377), var$3); } }, nms_EntityExpBottle = $rt_classWithoutFields(nms_EntityThrowable), nms_EntityExpBottle_getGravityVelocity = $this => { return 0.07000000029802322; }, nms_EntityExpBottle_func_70182_d = $this => { return 0.699999988079071; }, nms_EntityExpBottle_func_70183_g = $this => { return (-20.0); }, nms_EntityExpBottle_onImpact = ($this, $par1MovingObjectPosition) => { let $var2, var$3, var$4, var$5, var$6, var$7, $var3, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var3 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1MovingObjectPosition = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1MovingObjectPosition = $this.$worldObj; if (!$par1MovingObjectPosition.$isRemote) { $var2 = 2002; var$3 = $this.$posX; var$4 = Long_lo(Long_fromNumber(var$3 + jl_Math_sign(var$3) * 0.5)); var$3 = $this.$posY; var$5 = Long_lo(Long_fromNumber(var$3 + jl_Math_sign(var$3) * 0.5)); var$6 = $this.$posZ; var$7 = Long_lo(Long_fromNumber(var$6 + jl_Math_sign(var$6) * 0.5)); $var3 = 0; var$9 = null; var$10 = 0; var$11 = $par1MovingObjectPosition.$worldAccesses; var$12 = $rt_compare(var$10, var$11.$size0); if (var$12 < 0) { if (var$10 >= 0 && var$12 < 0) { var$11 = var$11.$array.data[var$10]; $ptr = 1; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = $this.$worldObj.$rand0; var$13 = Long_and(Long_add(Long_mul($par1MovingObjectPosition.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1MovingObjectPosition.$seed = var$13; var$5 = Long_lo(Long_shru(var$13, 17)); while (true) { var$12 = var$5 % 5 | 0; if (((var$5 - var$12 | 0) + 4 | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul($par1MovingObjectPosition.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1MovingObjectPosition.$seed = var$13; var$5 = Long_lo(Long_shru(var$13, 17)); } $var2 = 3 + var$12 | 0; var$13 = Long_and(Long_add(Long_mul($par1MovingObjectPosition.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1MovingObjectPosition.$seed = var$13; var$5 = Long_lo(Long_shru(var$13, 17)); while (true) { var$12 = var$5 % 5 | 0; if (((var$5 - var$12 | 0) + 4 | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul($par1MovingObjectPosition.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1MovingObjectPosition.$seed = var$13; var$5 = Long_lo(Long_shru(var$13, 17)); } $var2 = $var2 + var$12 | 0; if ($var2 > 0) { $var3 = nms_EntityXPOrb_getXPSplit($var2); $var2 = $var2 - $var3 | 0; $par1MovingObjectPosition = $this.$worldObj; var$11 = new nms_EntityXPOrb; var$3 = $this.$posX; var$14 = $this.$posY; var$6 = $this.$posZ; $ptr = 2; continue main; } $this.$isDead = 1; } return; case 1: nms_RenderGlobal_playAuxSFX(var$11, var$9, $var2, var$4, var$5, var$7, $var3); if ($rt_suspending()) { break main; } var$10 = var$10 + 1 | 0; var$11 = $par1MovingObjectPosition.$worldAccesses; var$12 = $rt_compare(var$10, var$11.$size0); if (var$12 < 0) { if (var$10 >= 0 && var$12 < 0) { var$11 = var$11.$array.data[var$10]; continue main; } $par1MovingObjectPosition = new jl_IndexOutOfBoundsException; $par1MovingObjectPosition.$suppressionEnabled = 1; $par1MovingObjectPosition.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = $this.$worldObj.$rand0; var$13 = Long_and(Long_add(Long_mul($par1MovingObjectPosition.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1MovingObjectPosition.$seed = var$13; var$5 = Long_lo(Long_shru(var$13, 17)); while (true) { var$12 = var$5 % 5 | 0; if (((var$5 - var$12 | 0) + 4 | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul($par1MovingObjectPosition.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1MovingObjectPosition.$seed = var$13; var$5 = Long_lo(Long_shru(var$13, 17)); } $var2 = 3 + var$12 | 0; var$13 = Long_and(Long_add(Long_mul($par1MovingObjectPosition.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1MovingObjectPosition.$seed = var$13; var$5 = Long_lo(Long_shru(var$13, 17)); while (true) { var$12 = var$5 % 5 | 0; if (((var$5 - var$12 | 0) + 4 | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul($par1MovingObjectPosition.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1MovingObjectPosition.$seed = var$13; var$5 = Long_lo(Long_shru(var$13, 17)); } $var2 = $var2 + var$12 | 0; if ($var2 <= 0) { $this.$isDead = 1; return; } $var3 = nms_EntityXPOrb_getXPSplit($var2); $var2 = $var2 - $var3 | 0; $par1MovingObjectPosition = $this.$worldObj; var$11 = new nms_EntityXPOrb; var$3 = $this.$posX; var$14 = $this.$posY; var$6 = $this.$posZ; $ptr = 2; case 2: nms_EntityXPOrb__init_(var$11, $par1MovingObjectPosition, var$3, var$14, var$6, $var3); if ($rt_suspending()) { break main; } $var3 = nms_World_spawnEntityInWorld($par1MovingObjectPosition, var$11); var$9 = $par1MovingObjectPosition.$entityList; ju_HashMap_putImpl(var$9.$backingMap, var$11, var$9); if (!$var3) { $par1MovingObjectPosition = $par1MovingObjectPosition.$entitySpawnQueue; ju_HashMap_putImpl($par1MovingObjectPosition.$backingMap, var$11, $par1MovingObjectPosition); } if ($var2 <= 0) { $this.$isDead = 1; return; } $var3 = nms_EntityXPOrb_getXPSplit($var2); $var2 = $var2 - $var3 | 0; $par1MovingObjectPosition = $this.$worldObj; var$11 = new nms_EntityXPOrb; var$3 = $this.$posX; var$14 = $this.$posY; var$6 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1MovingObjectPosition, $var2, var$3, var$4, var$5, var$6, var$7, $var3, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }; function nms_EntityFireworkRocket() { let a = this; nms_Entity.call(a); a.$fireworkAge0 = 0; a.$lifetime = 0; } let nms_EntityFireworkRocket_entityInit = $this => { let var$1, var$2, var$3; var$1 = $this.$dataWatcher; var$2 = new nms_WatchableObject; var$3 = null; var$2.$dataValueId = 8; var$2.$watchedObject = var$3; var$2.$objectType = 5; var$2.$watched = 1; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$3, jl_Integer_integerCache.data[136], var$2); var$1.$isBlank = 0; }, nms_EntityFireworkRocket_isInRangeToRenderDist = ($this, $par1) => { return $par1 >= 4096.0 ? 0 : 1; }, nms_EntityFireworkRocket__init_ = ($this, $par1World, $par2, $par4, $par6, $par8ItemStack) => { let var$6, var$7, $var9, $var11, var$10, var$11, var$12, $var10, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var10 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par8ItemStack = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity__init_($this, $par1World); $this.$fireworkAge0 = 0; var$6 = 0.25; var$7 = 0.25; $ptr = 1; case 1: nms_Entity_setSize($this, var$6, var$7); if ($rt_suspending()) { break main; } nms_Entity_setPosition($this, $par2, $par4, $par6); $this.$yOffset = 0.0; $var9 = 1; if ($par8ItemStack !== null && ($par8ItemStack.$stackTagCompound === null ? 0 : 1)) { $par1World = $this.$dataWatcher; $var11 = $par1World.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[136]; if (var$10 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { var$11 = var$10.$value0; var$12 = $var11.$elementData.data; $var11 = var$12[var$11 & (var$12.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$11) { $var10 = $var11.$key; if (var$10 !== $var10 && !(var$10 !== $var10 ? ($var10 instanceof jl_Integer && $var10.$value0 == var$11 ? 1 : 0) : 1) ? 0 : 1) break; } $var11 = $var11.$next3; } } $var10 = $var11 === null ? null : $var11.$value1; if (!($par8ItemStack !== $var10.$watchedObject ? 0 : 1)) { $var10.$watchedObject = $par8ItemStack; $var10.$watched = 1; $par1World.$objectChanged = 1; } a: { $var10 = $par8ItemStack.$stackTagCompound; $par8ItemStack = $var10.$tagMap; if (!$rt_s(2379).$hashCode1) { var$14 = 0; while (true) { if (var$14 >= $rt_s(2379).$nativeString.length) break a; $rt_s(2379).$hashCode1 = (31 * $rt_s(2379).$hashCode1 | 0) + $rt_s(2379).$nativeString.charCodeAt(var$14) | 0; var$14 = var$14 + 1 | 0; } } } var$11 = $rt_s(2379).$hashCode1; var$12 = $par8ItemStack.$elementData.data; $par8ItemStack = var$12[var$11 & (var$12.length - 1 | 0)]; while ($par8ItemStack !== null) { if ($par8ItemStack.$origKeyHash == var$11) { b: { $var11 = $par8ItemStack.$key; if ($rt_s(2379) !== $var11) { if ($rt_s(2379) === $var11) var$14 = 1; else if (!($var11 instanceof jl_String)) var$14 = 0; else { $var11 = $var11; var$14 = $rt_s(2379).$nativeString !== $var11.$nativeString ? 0 : 1; } if (!var$14) { var$14 = 0; break b; } } var$14 = 1; } if (var$14) break; } $par8ItemStack = $par8ItemStack.$next3; } if (!($par8ItemStack === null ? 0 : 1)) { $var11 = new nms_NBTTagCompound; if ($rt_s(2379) !== null) $var11.$name = $rt_s(2379); else $var11.$name = $rt_s(18); $par1World = new ju_HashMap; var$14 = ju_HashMap_calculateCapacity(16); $par1World.$elementCount = 0; var$15 = $rt_createArray(ju_HashMap$HashEntry, var$14); var$12 = var$15.data; $par1World.$elementData = var$15; $par1World.$loadFactor = 0.75; $par1World.$threshold = var$12.length * 0.75 | 0; $var11.$tagMap = $par1World; } else { $par8ItemStack = $var10.$tagMap; if ($rt_s(2379) === null) { $par8ItemStack = $par8ItemStack.$elementData.data[0]; while ($par8ItemStack !== null && $par8ItemStack.$key !== null) { $par8ItemStack = $par8ItemStack.$next3; } } else { c: { if (!$rt_s(2379).$hashCode1) { var$14 = 0; while (true) { if (var$14 >= $rt_s(2379).$nativeString.length) break c; $rt_s(2379).$hashCode1 = (31 * $rt_s(2379).$hashCode1 | 0) + $rt_s(2379).$nativeString.charCodeAt(var$14) | 0; var$14 = var$14 + 1 | 0; } } } var$11 = $rt_s(2379).$hashCode1; var$12 = $par8ItemStack.$elementData.data; $par8ItemStack = var$12[var$11 & (var$12.length - 1 | 0)]; while ($par8ItemStack !== null) { if ($par8ItemStack.$origKeyHash == var$11) { d: { $var11 = $par8ItemStack.$key; if ($rt_s(2379) !== $var11) { if ($rt_s(2379) === $var11) var$14 = 1; else if (!($var11 instanceof jl_String)) var$14 = 0; else { $var11 = $var11; var$14 = $rt_s(2379).$nativeString !== $var11.$nativeString ? 0 : 1; } if (!var$14) { var$14 = 0; break d; } } var$14 = 1; } if (var$14) break; } $par8ItemStack = $par8ItemStack.$next3; } } $var11 = $par8ItemStack === null ? null : $par8ItemStack.$value1; } if ($var11 !== null) { e: { $par8ItemStack = $var11.$tagMap; if (!$rt_s(2380).$hashCode1) { var$14 = 0; while (true) { if (var$14 >= $rt_s(2380).$nativeString.length) break e; $rt_s(2380).$hashCode1 = (31 * $rt_s(2380).$hashCode1 | 0) + $rt_s(2380).$nativeString.charCodeAt(var$14) | 0; var$14 = var$14 + 1 | 0; } } } var$11 = $rt_s(2380).$hashCode1; var$12 = $par8ItemStack.$elementData.data; $par8ItemStack = var$12[var$11 & (var$12.length - 1 | 0)]; while ($par8ItemStack !== null) { if ($par8ItemStack.$origKeyHash == var$11) { f: { $var10 = $par8ItemStack.$key; if ($rt_s(2380) !== $var10) { if ($rt_s(2380) === $var10) var$14 = 1; else if (!($var10 instanceof jl_String)) var$14 = 0; else { $var10 = $var10; var$14 = $rt_s(2380).$nativeString !== $var10.$nativeString ? 0 : 1; } if (!var$14) { var$14 = 0; break f; } } var$14 = 1; } if (var$14) break; } $par8ItemStack = $par8ItemStack.$next3; } if (!($par8ItemStack === null ? 0 : 1)) var$14 = 0; else { $par8ItemStack = $var11.$tagMap; if ($rt_s(2380) === null) { $par8ItemStack = $par8ItemStack.$elementData.data[0]; while ($par8ItemStack !== null && $par8ItemStack.$key !== null) { $par8ItemStack = $par8ItemStack.$next3; } } else { g: { if (!$rt_s(2380).$hashCode1) { var$14 = 0; while (true) { if (var$14 >= $rt_s(2380).$nativeString.length) break g; $rt_s(2380).$hashCode1 = (31 * $rt_s(2380).$hashCode1 | 0) + $rt_s(2380).$nativeString.charCodeAt(var$14) | 0; var$14 = var$14 + 1 | 0; } } } var$11 = $rt_s(2380).$hashCode1; var$12 = $par8ItemStack.$elementData.data; $par8ItemStack = var$12[var$11 & (var$12.length - 1 | 0)]; while ($par8ItemStack !== null) { if ($par8ItemStack.$origKeyHash == var$11) { h: { $var11 = $par8ItemStack.$key; if ($rt_s(2380) !== $var11) { if ($rt_s(2380) === $var11) var$14 = 1; else if (!($var11 instanceof jl_String)) var$14 = 0; else { $var11 = $var11; var$14 = $rt_s(2380).$nativeString !== $var11.$nativeString ? 0 : 1; } if (!var$14) { var$14 = 0; break h; } } var$14 = 1; } if (var$14) break; } $par8ItemStack = $par8ItemStack.$next3; } } var$14 = ($par8ItemStack === null ? null : $par8ItemStack.$value1).$data; } $var9 = $var9 + var$14 | 0; } } $this.$motionX = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.001; $this.$motionZ = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.001; $this.$motionY = 0.05; $var9 = 10 * $var9 | 0; $par1World = $this.$rand; var$16 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$16; var$17 = Long_lo(Long_shru(var$16, 17)); while (true) { var$18 = var$17 % 6 | 0; if (((var$17 - var$18 | 0) + 5 | 0) >= 0) break; var$16 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$16; var$17 = Long_lo(Long_shru(var$16, 17)); } $var9 = $var9 + var$18 | 0; var$16 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$16; var$17 = Long_lo(Long_shru(var$16, 17)); while (true) { var$18 = var$17 % 7 | 0; if (((var$17 - var$18 | 0) + 6 | 0) >= 0) break; var$16 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$16; var$17 = Long_lo(Long_shru(var$16, 17)); } $this.$lifetime = $var9 + var$18 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8ItemStack, var$6, var$7, $var9, $var11, var$10, var$11, var$12, $var10, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityFireworkRocket__init_0 = (var_0, var_1, var_2, var_3, var_4) => { let var_5 = new nms_EntityFireworkRocket(); nms_EntityFireworkRocket__init_(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; }, nms_EntityFireworkRocket_setVelocity = ($this, $par1, $par3, $par5) => { let $var7, var$5; $this.$motionX = $par1; $this.$motionY = $par3; $this.$motionZ = $par5; if ($this.$prevRotationPitch === 0.0 && $this.$prevRotationYaw === 0.0) { $var7 = jl_Math_sqrt($par1 * $par1 + $par5 * $par5); var$5 = jl_Math_atan2($par1, $par5) * 180.0 / 3.141592653589793; $this.$rotationYaw = var$5; $this.$prevRotationYaw = var$5; var$5 = jl_Math_atan2($par3, $var7) * 180.0 / 3.141592653589793; $this.$rotationPitch = var$5; $this.$prevRotationPitch = var$5; } }, nms_EntityFireworkRocket_onUpdate = $this => { let var$1, var$2, var$3, $var1, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var1 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$lastTickPosX = $this.$posX; $this.$lastTickPosY = $this.$posY; $this.$lastTickPosZ = $this.$posZ; $ptr = 1; case 1: nms_Entity_onEntityUpdate($this); if ($rt_suspending()) { break main; } var$1 = $this.$motionX * 1.15; $this.$motionX = var$1; var$2 = $this.$motionZ * 1.15; $this.$motionZ = var$2; var$3 = $this.$motionY + 0.04; $this.$motionY = var$3; $ptr = 2; case 2: nms_Entity_moveEntity($this, var$1, var$3, var$2); if ($rt_suspending()) { break main; } var$1 = $this.$motionX; var$1 = var$1 * var$1; var$2 = $this.$motionZ; $var1 = jl_Math_sqrt(var$1 + var$2 * var$2); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.141592653589793; var$5 = jl_Math_atan2($this.$motionY, $var1) * 180.0 / 3.141592653589793; $this.$rotationPitch = var$5; while (true) { $var1 = $this.$prevRotationPitch; if (var$5 - $var1 >= (-180.0)) break; $this.$prevRotationPitch = $var1 - 360.0; } while (true) { $var1 = $this.$prevRotationPitch; var$6 = var$5 - $var1; if (var$6 < 180.0) break; $this.$prevRotationPitch = $var1 + 360.0; } while (true) { var$5 = $this.$rotationYaw; var$7 = $this.$prevRotationYaw; if (var$5 - var$7 >= (-180.0)) break; $this.$prevRotationYaw = var$7 - 360.0; } while (true) { var$7 = $this.$prevRotationYaw; var$8 = var$5 - var$7; if (var$8 < 180.0) break; $this.$prevRotationYaw = var$7 + 360.0; } $this.$rotationPitch = $var1 + var$6 * 0.20000000298023224; $this.$rotationYaw = var$7 + var$8 * 0.20000000298023224; if (!$this.$fireworkAge0) nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2381), 3.0, 1.0); var$9 = $this.$fireworkAge0 + 1 | 0; $this.$fireworkAge0 = var$9; var$10 = $this.$worldObj; if (var$10.$isRemote && (var$9 % 2 | 0) < 2) { var$11 = $rt_s(1475); var$2 = $this.$posX; var$12 = $this.$posY - 0.3; var$13 = $this.$posZ; var$14 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05; var$3 = -$this.$motionY * 0.5; var$1 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05; var$9 = 0; var$15 = var$10.$worldAccesses; var$16 = $rt_compare(var$9, var$15.$size0); if (var$16 < 0) { if (var$9 >= 0 && var$16 < 0) { var$15 = var$15.$array.data[var$9]; $ptr = 3; continue main; } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; $rt_throw(var$10); } } if (!$this.$worldObj.$isRemote && $this.$fireworkAge0 > $this.$lifetime) $this.$isDead = 1; return; case 3: nms_RenderGlobal_doSpawnParticle(var$15, var$11, var$2, var$12, var$13, var$14, var$3, var$1); if ($rt_suspending()) { break main; } var$9 = var$9 + 1 | 0; var$15 = var$10.$worldAccesses; var$16 = $rt_compare(var$9, var$15.$size0); if (var$16 >= 0) { if (!$this.$worldObj.$isRemote && $this.$fireworkAge0 > $this.$lifetime) $this.$isDead = 1; return; } if (var$9 >= 0 && var$16 < 0) { var$15 = var$15.$array.data[var$9]; continue main; } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; $rt_throw(var$10); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $var1, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityFireworkRocket_handleHealthUpdate = ($this, $par1) => { let $var3, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();$var3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 == 17 && $this.$worldObj.$isRemote) { $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[136]; if ($var2 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $par1 = $var2.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[$par1 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $par1) { var$5 = $var3.$key; if ($var2 !== var$5 && !($var2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $par1 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var2 = ($var3 === null ? null : $var3.$value1).$watchedObject; $var3 = null; if ($var2 !== null) { var$6 = $var2.$stackTagCompound; if (var$6 === null ? 0 : 1) { a: { $var3 = var$6.$tagMap; if (!$rt_s(2379).$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $rt_s(2379).$nativeString.length) break a; $rt_s(2379).$hashCode1 = (31 * $rt_s(2379).$hashCode1 | 0) + $rt_s(2379).$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$7 = $rt_s(2379).$hashCode1; var$4 = $var3.$elementData.data; $var3 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$7) { b: { var$5 = $var3.$key; if ($rt_s(2379) !== var$5) { if ($rt_s(2379) === var$5) $par1 = 1; else if (!(var$5 instanceof jl_String)) $par1 = 0; else { var$5 = var$5; $par1 = $rt_s(2379).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break b; } } $par1 = 1; } if ($par1) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) { $var3 = new nms_NBTTagCompound; if ($rt_s(2379) !== null) $var3.$name = $rt_s(2379); else $var3.$name = $rt_s(18); $var2 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); $var2.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$4 = var$8.data; $var2.$elementData = var$8; $var2.$loadFactor = 0.75; $var2.$threshold = var$4.length * 0.75 | 0; $var3.$tagMap = $var2; } else { $var3 = var$6.$tagMap; if ($rt_s(2379) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { c: { if (!$rt_s(2379).$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $rt_s(2379).$nativeString.length) break c; $rt_s(2379).$hashCode1 = (31 * $rt_s(2379).$hashCode1 | 0) + $rt_s(2379).$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$7 = $rt_s(2379).$hashCode1; var$4 = $var3.$elementData.data; $var3 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$7) { d: { var$5 = $var3.$key; if ($rt_s(2379) !== var$5) { if ($rt_s(2379) === var$5) $par1 = 1; else if (!(var$5 instanceof jl_String)) $par1 = 0; else { var$5 = var$5; $par1 = $rt_s(2379).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break d; } } $par1 = 1; } if ($par1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; } } } $var2 = $this.$worldObj; var$9 = $this.$posX; var$10 = $this.$posY; var$11 = $this.$posZ; var$12 = $this.$motionX; var$13 = $this.$motionY; var$14 = $this.$motionZ; var$6 = $var2.$mc2.$effectRenderer; var$5 = new nms_EntityFireworkStarterFX; $ptr = 1; continue main; } return; case 1: nms_EntityFireworkStarterFX__init_(var$5, $var2, var$9, var$10, var$11, var$12, var$13, var$14, var$6, $var3); if ($rt_suspending()) { break main; } var$4 = var$6.$fxLayers.data; if (var$4[0].$size0 >= 4000) ju_ArrayList_remove(var$4[0], 0); $var3 = var$6.$fxLayers.data[0]; ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); var$4 = $var3.$array.data; var$15 = $var3.$size0; $var3.$size0 = var$15 + 1 | 0; var$4[var$15] = var$5; $var3.$modCount = $var3.$modCount + 1 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var3, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_EntityFireworkRocket_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, $var3, var$6, $var2, var$8, var$9; var$2 = $this.$fireworkAge0; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(2382); var$4.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2382), var$4); var$2 = $this.$lifetime; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(2383); var$4.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2383), var$4); $var3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[136]; if (var$4 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$2 = var$4.$value0; var$6 = $var3.$elementData.data; $var3 = var$6[var$2 & (var$6.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$2) { var$3 = $var3.$key; if (var$4 !== var$3 && !(var$4 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$2 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var2 = ($var3 === null ? null : $var3.$value1).$watchedObject; if ($var2 !== null) { $var3 = new nms_NBTTagCompound; $var3.$name = $rt_s(18); var$8 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$8.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$6 = var$9.data; var$8.$elementData = var$9; var$8.$loadFactor = 0.75; var$8.$threshold = var$6.length * 0.75 | 0; $var3.$tagMap = var$8; var$2 = $var2.$itemID << 16 >> 16; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(1243); var$3.$data2 = var$2; ju_HashMap_putImpl(var$8, $rt_s(1243), var$3); var$2 = $var2.$stackSize << 24 >> 24; var$8 = $var3.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1271); var$3.$data = var$2; ju_HashMap_putImpl(var$8, $rt_s(1271), var$3); var$2 = $var2.$itemDamage << 16 >> 16; var$8 = $var3.$tagMap; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(1272); var$3.$data2 = var$2; ju_HashMap_putImpl(var$8, $rt_s(1272), var$3); var$4 = $var2.$stackTagCompound; if (var$4 !== null) { var$8 = $var3.$tagMap; var$4.$name = $rt_s(1273); ju_HashMap_putImpl(var$8, $rt_s(1273), var$4); } $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; $var3.$name = $rt_s(2384); ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(2384), $var3); } }, nms_EntityFireworkRocket_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, $var3, var$10; a: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2382).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2382).$nativeString.length) break a; $rt_s(2382).$hashCode1 = (31 * $rt_s(2382).$hashCode1 | 0) + $rt_s(2382).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2382).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$3) { b: { var$5 = $var2.$key; if ($rt_s(2382) !== var$5) { if ($rt_s(2382) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$6 = $rt_s(2382).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$6 = 0; } else var$6 = 1; if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) var$3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2382) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { c: { if (!$rt_s(2382).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2382).$nativeString.length) break c; $rt_s(2382).$hashCode1 = (31 * $rt_s(2382).$hashCode1 | 0) + $rt_s(2382).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2382).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$3) { d: { var$5 = $var2.$key; if ($rt_s(2382) !== var$5) { if ($rt_s(2382) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$6 = $rt_s(2382).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$6 = 0; } else var$6 = 1; if (!var$6) { var$6 = 0; break d; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } } var$3 = ($var2 === null ? null : $var2.$value1).$data0; } e: { $this.$fireworkAge0 = var$3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2383).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2383).$nativeString.length) break e; $rt_s(2383).$hashCode1 = (31 * $rt_s(2383).$hashCode1 | 0) + $rt_s(2383).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2383).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$3) { f: { var$5 = $var2.$key; if ($rt_s(2383) !== var$5) { if ($rt_s(2383) !== var$5) { if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(2383).$nativeString !== var$5.$nativeString ? 0 : 1; } } else var$6 = 1; if (!var$6) { var$6 = 0; break f; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) var$3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2383) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { g: { if (!$rt_s(2383).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2383).$nativeString.length) break g; $rt_s(2383).$hashCode1 = (31 * $rt_s(2383).$hashCode1 | 0) + $rt_s(2383).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2383).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$3) { h: { var$5 = $var2.$key; if ($rt_s(2383) !== var$5) { if ($rt_s(2383) === var$5) var$6 = 1; else if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(2383).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break h; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } } var$3 = ($var2 === null ? null : $var2.$value1).$data0; } i: { $this.$lifetime = var$3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2384).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2384).$nativeString.length) break i; $rt_s(2384).$hashCode1 = (31 * $rt_s(2384).$hashCode1 | 0) + $rt_s(2384).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2384).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { j: { var$5 = $var2.$key; if ($rt_s(2384) !== var$5) { if ($rt_s(2384) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2384).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) { $var2 = new nms_NBTTagCompound; if ($rt_s(2384) !== null) $var2.$name = $rt_s(2384); else $var2.$name = $rt_s(18); $par1NBTTagCompound = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); $par1NBTTagCompound.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$4 = var$8.data; $par1NBTTagCompound.$elementData = var$8; $par1NBTTagCompound.$loadFactor = 0.75; $par1NBTTagCompound.$threshold = var$4.length * 0.75 | 0; $var2.$tagMap = $par1NBTTagCompound; } else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2384) === null) { var$5 = $par1NBTTagCompound.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { k: { if (!$rt_s(2384).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2384).$nativeString.length) break k; $rt_s(2384).$hashCode1 = (31 * $rt_s(2384).$hashCode1 | 0) + $rt_s(2384).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$6 = $rt_s(2384).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; var$5 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$6) { l: { $par1NBTTagCompound = var$5.$key; if ($rt_s(2384) !== $par1NBTTagCompound) { if ($rt_s(2384) === $par1NBTTagCompound) var$3 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$3 = $rt_s(2384).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$5 = var$5.$next3; } } $var2 = var$5 === null ? null : var$5.$value1; } if ($var2 !== null) { nms_ItemStack_$callClinit(); $var3 = new nms_ItemStack; nms_ItemStack_readFromNBT($var3, $var2); nms_Item_$callClinit(); if (nms_Item_itemsList.data[$var3.$itemID] === null) $var3 = null; if ($var3 !== null) { $par1NBTTagCompound = $this.$dataWatcher; var$10 = $par1NBTTagCompound.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[136]; if (var$5 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { var$7 = var$5.$value0; var$4 = var$10.$elementData.data; var$10 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$7) { $var2 = var$10.$key; if (var$5 !== $var2 && !(var$5 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$10 = var$10.$next3; } } $var2 = var$10 === null ? null : var$10.$value1; if (!($var3 !== $var2.$watchedObject ? 0 : 1)) { $var2.$watchedObject = $var3; $var2.$watched = 1; $par1NBTTagCompound.$objectChanged = 1; } } } }, nms_EntityFireworkRocket_getShadowSize = $this => { return 0.0; }, nms_EntityFireworkRocket_getBrightnessForRender = ($this, $par1) => { return nms_Entity_getBrightnessForRender($this, $par1); }, nms_EntityFireworkRocket_canAttackWithItem = $this => { return 0; }; function nms_EntityFireball() { let a = this; nms_Entity.call(a); a.$xTile1 = 0; a.$yTile1 = 0; a.$zTile1 = 0; a.$inTile0 = 0; a.$inGround2 = 0; a.$shootingEntity0 = null; a.$ticksAlive = 0; a.$ticksInAir0 = 0; a.$accelerationX = 0.0; a.$accelerationY = 0.0; a.$accelerationZ = 0.0; } let nms_EntityFireball_entityInit = $this => { return; }, nms_EntityFireball_isInRangeToRenderDist = ($this, $par1) => { let var$2, $var3; var$2 = $this.$boundingBox; $var3 = (var$2.$maxX - var$2.$minX + var$2.$maxY - var$2.$minY + var$2.$maxZ - var$2.$minZ) / 3.0 * 4.0 * 64.0; return $par1 >= $var3 * $var3 ? 0 : 1; }, nms_EntityFireball__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12) => { let var$8, var$9, $var14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var14 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity__init_($this, $par1World); $this.$xTile1 = (-1); $this.$yTile1 = (-1); $this.$zTile1 = (-1); var$8 = 1.0; var$9 = 1.0; $ptr = 1; case 1: nms_Entity_setSize($this, var$8, var$9); if ($rt_suspending()) { break main; } var$8 = $this.$rotationYaw; var$9 = $this.$rotationPitch; $this.$posX = $par2; $this.$prevPosX = $par2; $this.$lastTickPosX = $par2; $var14 = $par4 + $this.$yOffset; $this.$posY = $var14; $this.$prevPosY = $var14; $this.$lastTickPosY = $var14; $this.$posZ = $par6; $this.$prevPosZ = $par6; $this.$lastTickPosZ = $par6; $this.$rotationYaw = var$8; $this.$rotationPitch = var$9; nms_Entity_setPosition($this, $par2, $var14, $par6); nms_Entity_setPosition($this, $par2, $par4, $par6); $var14 = jl_Math_sqrt($par8 * $par8 + $par10 * $par10 + $par12 * $par12); $this.$accelerationX = $par8 / $var14 * 0.1; $this.$accelerationY = $par10 / $var14 * 0.1; $this.$accelerationZ = $par12 / $var14 * 0.1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, var$8, var$9, $var14, $ptr); }, nms_EntityFireball__init_0 = ($this, $par1World, $par2EntityLivingBase, $par3, $par5, $par7) => { let var$6, var$7, var$8, var$9, var$10, var$11, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par7 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par2EntityLivingBase = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity__init_($this, $par1World); $this.$xTile1 = (-1); $this.$yTile1 = (-1); $this.$zTile1 = (-1); $this.$shootingEntity0 = $par2EntityLivingBase; var$6 = 1.0; var$7 = 1.0; $ptr = 1; case 1: nms_Entity_setSize($this, var$6, var$7); if ($rt_suspending()) { break main; } var$8 = $par2EntityLivingBase.$posX; var$9 = $par2EntityLivingBase.$posY; var$10 = $par2EntityLivingBase.$posZ; var$6 = $par2EntityLivingBase.$rotationYaw; var$11 = $par2EntityLivingBase.$rotationPitch; $this.$posX = var$8; $this.$prevPosX = var$8; $this.$lastTickPosX = var$8; $var9 = var$9 + $this.$yOffset; $this.$posY = $var9; $this.$prevPosY = $var9; $this.$lastTickPosY = $var9; $this.$posZ = var$10; $this.$prevPosZ = var$10; $this.$lastTickPosZ = var$10; $this.$rotationYaw = var$6; $this.$rotationPitch = var$11; nms_Entity_setPosition($this, var$8, $var9, var$10); nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); $this.$yOffset = 0.0; $this.$motionZ = 0.0; $this.$motionY = 0.0; $this.$motionX = 0.0; var$8 = $par3 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.4; $par3 = $par5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.4; $par5 = $par7 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.4; $var9 = jl_Math_sqrt(var$8 * var$8 + $par3 * $par3 + $par5 * $par5); $this.$accelerationX = var$8 / $var9 * 0.1; $this.$accelerationY = $par3 / $var9 * 0.1; $this.$accelerationZ = $par5 / $var9 * 0.1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2EntityLivingBase, $par3, $par5, $par7, var$6, var$7, var$8, var$9, var$10, var$11, $var9, $ptr); }, nms_EntityFireball_onUpdate = $this => { let $var15, $var1, $var6, var$4, var$5, $var2, $var9, $var8, $var3, $var4, var$11, var$12, $var13, var$14, var$15, var$16, var$17, $var18, $var12, var$20, $var5, $var16, $var17, var$24, var$25, var$26, var$27, var$28, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var5 = $thread.pop();var$20 = $thread.pop();$var12 = $thread.pop();$var18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var8 = $thread.pop();$var9 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var6 = $thread.pop();$var1 = $thread.pop();$var15 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$this.$worldObj.$isRemote) { $var15 = $this.$shootingEntity0; if (!($var15 !== null && $var15.$isDead)) { $var1 = $this.$posY | 0; if ($var1 >= 0 && $var1 < 256 ? 1 : 0) break a; } $this.$isDead = 1; return; } } $ptr = 1; case 1: nms_Entity_onEntityUpdate($this); if ($rt_suspending()) { break main; } nms_Enchantment_$callClinit(); nms_EnchantmentHelper_$callClinit(); if ($this.$fire < 20) $this.$fire = 20; if (!$this.$inGround2) $this.$ticksInAir0 = $this.$ticksInAir0 + 1 | 0; else { if (nms_World_getBlockId($this.$worldObj, $this.$xTile1, $this.$yTile1, $this.$zTile1) == $this.$inTile0) { $var1 = $this.$ticksAlive + 1 | 0; $this.$ticksAlive = $var1; if ($var1 == 600) $this.$isDead = 1; return; } $this.$inGround2 = 0; $var6 = $this.$motionX; $var15 = $this.$rand; var$4 = Long_and(Long_add(Long_mul($var15.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var15.$seed = var$4; $this.$motionX = $var6 * Long_lo(Long_shru(var$4, 24)) / 1.6777216E7 * 0.20000000298023224; $var6 = $this.$motionY; var$4 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var15.$seed = var$4; $this.$motionY = $var6 * Long_lo(Long_shru(var$4, 24)) / 1.6777216E7 * 0.20000000298023224; $var6 = $this.$motionZ; var$5 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var15.$seed = var$5; $this.$motionZ = $var6 * Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 * 0.20000000298023224; $this.$ticksAlive = 0; $this.$ticksInAir0 = 0; } $var15 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); $var9 = $this.$worldObj; $var1 = 0; $var8 = 0; $ptr = 2; case 2: $tmp = nms_World_rayTraceBlocks_do_do($var9, $var15, $var2, $var1, $var8); if ($rt_suspending()) { break main; } $var3 = $tmp; $var15 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); if ($var3 !== null) { $var9 = $this.$worldObj.$vecPool; $var2 = $var3.$hitVec; $var2 = nms_Vec3Pool_getVecFromPool($var9, $var2.$xCoord, $var2.$yCoord, $var2.$zCoord); } $var4 = null; var$11 = $this.$worldObj; $var9 = nms_AxisAlignedBB_addCoord($this.$boundingBox, $this.$motionX, $this.$motionY, $this.$motionZ); var$12 = $var9.$minX - 1.0; $var13 = $var9.$minY - 1.0; var$14 = $var9.$minZ - 1.0; var$15 = $var9.$maxX + 1.0; var$16 = $var9.$maxY + 1.0; $var6 = $var9.$maxZ + 1.0; var$17 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var1 = var$17.$nextPoolIndex; $var9 = var$17.$listAABB; $var18 = $var9.$size0; $var8 = $rt_compare($var1, $var18); if ($var8 >= 0) { $var12 = new nms_AxisAlignedBB; $var12.$minX = var$12; $var12.$minY = $var13; $var12.$minZ = var$14; $var12.$maxX = var$15; $var12.$maxY = var$16; $var12.$maxZ = $var6; ju_ArrayList_ensureCapacity($var9, $var18 + 1 | 0); var$20 = $var9.$array.data; $var8 = $var9.$size0; $var9.$size0 = $var8 + 1 | 0; var$20[$var8] = $var12; $var9.$modCount = $var9.$modCount + 1 | 0; } else if ($var1 >= 0 && $var8 < 0) { $var12 = $var9.$array.data[$var1]; $var12.$minX = var$12; $var12.$minY = $var13; $var12.$minZ = var$14; $var12.$maxX = var$15; $var12.$maxY = var$16; $var12.$maxZ = $var6; } else { $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var15); $rt_throw($var15); } var$17.$nextPoolIndex = var$17.$nextPoolIndex + 1 | 0; $var5 = nms_World_getEntitiesWithinAABBExcludingEntity(var$11, $this, $var12, null); $var6 = 0.0; $var8 = 0; b: { while (true) { $var1 = $rt_compare($var8, $var5.$size0); if ($var1 >= 0) { if ($var4 !== null) { $var3 = new nms_MovingObjectPosition; $var3.$typeOfHit = nms_EnumMovingObjectType_ENTITY; $var3.$entityHit = $var4; $var3.$hitVec = nms_Vec3Pool_getVecFromPool($var4.$worldObj.$vecPool, $var4.$posX, $var4.$posY, $var4.$posZ); } if ($var3 !== null) { $ptr = 3; continue main; } $var6 = $this.$posX; var$12 = $this.$motionX; $this.$posX = $var6 + var$12; $this.$posY = $this.$posY + $this.$motionY; $var6 = $this.$posZ; $var13 = $this.$motionZ; $this.$posZ = $var6 + $var13; $var16 = jl_Math_sqrt(var$12 * var$12 + $var13 * $var13); $this.$rotationYaw = jl_Math_atan2($this.$motionZ, $this.$motionX) * 180.0 / 3.141592653589793 + 90.0; $var16 = jl_Math_atan2($var16, $this.$motionY) * 180.0 / 3.141592653589793 - 90.0; $this.$rotationPitch = $var16; while (true) { $var17 = $this.$prevRotationPitch; if ($var16 - $var17 >= (-180.0)) break; $this.$prevRotationPitch = $var17 - 360.0; } while (true) { $var17 = $this.$prevRotationPitch; var$24 = $var16 - $var17; if (var$24 < 180.0) break; $this.$prevRotationPitch = $var17 + 360.0; } while (true) { $var16 = $this.$rotationYaw; var$25 = $this.$prevRotationYaw; if ($var16 - var$25 >= (-180.0)) break; $this.$prevRotationYaw = var$25 - 360.0; } while (true) { var$25 = $this.$prevRotationYaw; var$26 = $var16 - var$25; if (var$26 < 180.0) break; $this.$prevRotationYaw = var$25 + 360.0; } $this.$rotationPitch = $var17 + var$24 * 0.20000000298023224; $this.$rotationYaw = var$25 + var$26 * 0.20000000298023224; $var17 = $this.$getMotionFactor(); if ($this.$inWater) { $var18 = 0; while ($var18 < 4) { $var15 = $this.$worldObj; $var2 = $rt_s(1242); $var6 = $this.$posX; var$12 = $this.$motionX; $var6 = $var6 - var$12 * 0.25; var$14 = $this.$posY; var$15 = $this.$motionY; var$14 = var$14 - var$15 * 0.25; var$16 = $this.$posZ; var$27 = $this.$motionZ; $var13 = var$16 - var$27 * 0.25; $var1 = 0; $var9 = $var15.$worldAccesses; $var8 = $rt_compare($var1, $var9.$size0); if ($var8 < 0) { if ($var1 >= 0 && $var8 < 0) { $var9 = $var9.$array.data[$var1]; $ptr = 5; continue main; } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; $rt_throw($var15); } $var18 = $var18 + 1 | 0; } $var17 = 0.800000011920929; } $var6 = $this.$motionX + $this.$accelerationX; $this.$motionX = $var6; var$12 = $this.$motionY + $this.$accelerationY; $this.$motionY = var$12; $var13 = $this.$motionZ + $this.$accelerationZ; $this.$motionZ = $var13; var$14 = $var17; $this.$motionX = $var6 * var$14; $this.$motionY = var$12 * var$14; $this.$motionZ = $var13 * var$14; $var15 = $this.$worldObj; $var2 = $rt_s(1479); var$14 = $this.$posX; var$15 = $this.$posY + 0.5; var$16 = $this.$posZ; $var6 = 0.0; var$12 = 0.0; $var13 = 0.0; $var1 = 0; $var9 = $var15.$worldAccesses; $var8 = $rt_compare($var1, $var9.$size0); if ($var8 >= 0) { nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; } if ($var1 >= 0 && $var8 < 0) { $var9 = $var9.$array.data[$var1]; $ptr = 4; continue main; } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; $rt_throw($var15); } if ($var8 < 0) break; if ($var1 >= 0) break; $var9 = $var5.$array.data[$var8]; if ($var9.$canBeCollidedWith() && !($var9.$isEntityEqual($this.$shootingEntity0) && $this.$ticksInAir0 < 25)) { $var12 = $var9.$boundingBox; $var13 = $var12.$minX - 0.30000001192092896; var$14 = $var12.$minY - 0.30000001192092896; var$15 = $var12.$minZ - 0.30000001192092896; var$16 = $var12.$maxX + 0.30000001192092896; var$27 = $var12.$maxY + 0.30000001192092896; var$12 = $var12.$maxZ + 0.30000001192092896; var$11 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var1 = var$11.$nextPoolIndex; $var12 = var$11.$listAABB; var$28 = $var12.$size0; $var18 = $rt_compare($var1, var$28); if ($var18 >= 0) { var$17 = new nms_AxisAlignedBB; var$17.$minX = $var13; var$17.$minY = var$14; var$17.$minZ = var$15; var$17.$maxX = var$16; var$17.$maxY = var$27; var$17.$maxZ = var$12; ju_ArrayList_ensureCapacity($var12, var$28 + 1 | 0); var$20 = $var12.$array.data; $var18 = $var12.$size0; $var12.$size0 = $var18 + 1 | 0; var$20[$var18] = var$17; $var12.$modCount = $var12.$modCount + 1 | 0; } else { if ($var1 < 0) break b; if ($var18 >= 0) break b; var$17 = $var12.$array.data[$var1]; var$17.$minX = $var13; var$17.$minY = var$14; var$17.$minZ = var$15; var$17.$maxX = var$16; var$17.$maxY = var$27; var$17.$maxZ = var$12; } var$11.$nextPoolIndex = var$11.$nextPoolIndex + 1 | 0; $var12 = nms_AxisAlignedBB_calculateIntercept(var$17, $var15, $var2); if ($var12 !== null) { $var12 = $var12.$hitVec; var$12 = $var12.$xCoord - $var15.$xCoord; $var13 = $var12.$yCoord - $var15.$yCoord; var$14 = $var12.$zCoord - $var15.$zCoord; $var13 = jl_Math_sqrt(var$12 * var$12 + $var13 * $var13 + var$14 * var$14); if (!($var13 >= $var6 && $var6 !== 0.0)) { $var4 = $var9; $var6 = $var13; } } } $var8 = $var8 + 1 | 0; } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; $rt_throw($var15); } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var15); $rt_throw($var15); case 3: $this.$onImpact($var3); if ($rt_suspending()) { break main; } $var6 = $this.$posX; var$12 = $this.$motionX; $this.$posX = $var6 + var$12; $this.$posY = $this.$posY + $this.$motionY; $var6 = $this.$posZ; $var13 = $this.$motionZ; $this.$posZ = $var6 + $var13; $var16 = jl_Math_sqrt(var$12 * var$12 + $var13 * $var13); $this.$rotationYaw = jl_Math_atan2($this.$motionZ, $this.$motionX) * 180.0 / 3.141592653589793 + 90.0; $var16 = jl_Math_atan2($var16, $this.$motionY) * 180.0 / 3.141592653589793 - 90.0; $this.$rotationPitch = $var16; while (true) { $var17 = $this.$prevRotationPitch; if ($var16 - $var17 >= (-180.0)) break; $this.$prevRotationPitch = $var17 - 360.0; } while (true) { $var17 = $this.$prevRotationPitch; var$24 = $var16 - $var17; if (var$24 < 180.0) break; $this.$prevRotationPitch = $var17 + 360.0; } while (true) { $var16 = $this.$rotationYaw; var$25 = $this.$prevRotationYaw; if ($var16 - var$25 >= (-180.0)) break; $this.$prevRotationYaw = var$25 - 360.0; } while (true) { var$25 = $this.$prevRotationYaw; var$26 = $var16 - var$25; if (var$26 < 180.0) break; $this.$prevRotationYaw = var$25 + 360.0; } $this.$rotationPitch = $var17 + var$24 * 0.20000000298023224; $this.$rotationYaw = var$25 + var$26 * 0.20000000298023224; $var17 = $this.$getMotionFactor(); if ($this.$inWater) { $var18 = 0; while ($var18 < 4) { $var15 = $this.$worldObj; $var2 = $rt_s(1242); $var6 = $this.$posX; var$12 = $this.$motionX; $var6 = $var6 - var$12 * 0.25; var$14 = $this.$posY; var$15 = $this.$motionY; var$14 = var$14 - var$15 * 0.25; var$16 = $this.$posZ; var$27 = $this.$motionZ; $var13 = var$16 - var$27 * 0.25; $var1 = 0; $var9 = $var15.$worldAccesses; $var8 = $rt_compare($var1, $var9.$size0); if ($var8 < 0) { if ($var1 >= 0 && $var8 < 0) { $var9 = $var9.$array.data[$var1]; $ptr = 5; continue main; } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; $rt_throw($var15); } $var18 = $var18 + 1 | 0; } $var17 = 0.800000011920929; } $var6 = $this.$motionX + $this.$accelerationX; $this.$motionX = $var6; var$12 = $this.$motionY + $this.$accelerationY; $this.$motionY = var$12; $var13 = $this.$motionZ + $this.$accelerationZ; $this.$motionZ = $var13; var$14 = $var17; $this.$motionX = $var6 * var$14; $this.$motionY = var$12 * var$14; $this.$motionZ = $var13 * var$14; $var15 = $this.$worldObj; $var2 = $rt_s(1479); var$14 = $this.$posX; var$15 = $this.$posY + 0.5; var$16 = $this.$posZ; $var6 = 0.0; var$12 = 0.0; $var13 = 0.0; $var1 = 0; $var9 = $var15.$worldAccesses; $var8 = $rt_compare($var1, $var9.$size0); if ($var8 >= 0) { nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; } if ($var1 >= 0 && $var8 < 0) { $var9 = $var9.$array.data[$var1]; $ptr = 4; continue main; } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; $rt_throw($var15); case 4: nms_RenderGlobal_doSpawnParticle($var9, $var2, var$14, var$15, var$16, $var6, var$12, $var13); if ($rt_suspending()) { break main; } $var1 = $var1 + 1 | 0; $var9 = $var15.$worldAccesses; $var8 = $rt_compare($var1, $var9.$size0); if ($var8 >= 0) { nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; } if ($var1 >= 0 && $var8 < 0) { $var9 = $var9.$array.data[$var1]; continue main; } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; $rt_throw($var15); case 5: nms_RenderGlobal_doSpawnParticle($var9, $var2, $var6, var$14, $var13, var$12, var$15, var$27); if ($rt_suspending()) { break main; } $var1 = $var1 + 1 | 0; while (true) { $var9 = $var15.$worldAccesses; $var8 = $rt_compare($var1, $var9.$size0); if ($var8 < 0) break; $var18 = $var18 + 1 | 0; if ($var18 >= 4) { $var6 = $this.$motionX + $this.$accelerationX; $this.$motionX = $var6; var$12 = $this.$motionY + $this.$accelerationY; $this.$motionY = var$12; $var13 = $this.$motionZ + $this.$accelerationZ; $this.$motionZ = $var13; var$14 = 0.800000011920929; $this.$motionX = $var6 * var$14; $this.$motionY = var$12 * var$14; $this.$motionZ = $var13 * var$14; $var15 = $this.$worldObj; $var2 = $rt_s(1479); var$14 = $this.$posX; var$15 = $this.$posY + 0.5; var$16 = $this.$posZ; $var6 = 0.0; var$12 = 0.0; $var13 = 0.0; $var1 = 0; $var9 = $var15.$worldAccesses; $var8 = $rt_compare($var1, $var9.$size0); if ($var8 >= 0) { nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; } if ($var1 >= 0 && $var8 < 0) { $var9 = $var9.$array.data[$var1]; $ptr = 4; continue main; } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; $rt_throw($var15); } $var15 = $this.$worldObj; $var2 = $rt_s(1242); $var6 = $this.$posX; var$12 = $this.$motionX; $var6 = $var6 - var$12 * 0.25; var$14 = $this.$posY; var$15 = $this.$motionY; var$14 = var$14 - var$15 * 0.25; var$16 = $this.$posZ; var$27 = $this.$motionZ; $var13 = var$16 - var$27 * 0.25; $var1 = 0; } if ($var1 >= 0 && $var8 < 0) { $var9 = $var9.$array.data[$var1]; continue main; } $var15 = new jl_IndexOutOfBoundsException; $var15.$suppressionEnabled = 1; $var15.$writableStackTrace = 1; $rt_throw($var15); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var15, $var1, $var6, var$4, var$5, $var2, $var9, $var8, $var3, $var4, var$11, var$12, $var13, var$14, var$15, var$16, var$17, $var18, $var12, var$20, $var5, $var16, $var17, var$24, var$25, var$26, var$27, var$28, $ptr); }, nms_EntityFireball_getMotionFactor = $this => { return 0.949999988079071; }, nms_EntityFireball_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$2 = $this.$xTile1 << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(2069); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2069), var$4); var$2 = $this.$yTile1 << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(2070); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2070), var$4); var$2 = $this.$zTile1 << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(2071); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2071), var$4); var$2 = $this.$inTile0 << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2072); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2072), var$4); var$2 = (!$this.$inGround2 ? 0 : 1) << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2075); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2075), var$4); var$5 = $rt_createDoubleArray(3).data; var$5[0] = $this.$motionX; var$5[1] = $this.$motionY; var$5[2] = $this.$motionZ; var$6 = new nms_NBTTagList; var$6.$name = $rt_s(18); var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); var$6.$tagList = var$4; var$7 = var$5.length; var$8 = 0; var$3 = null; while (var$8 < var$7) { var$9 = var$5[var$8]; var$10 = new nms_NBTTagDouble; if (var$3 !== null) var$10.$name = var$3; else var$10.$name = $rt_s(18); var$10.$data6 = var$9; var$6.$tagType = 6; var$4 = var$6.$tagList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$11 = var$4.$array.data; var$12 = var$4.$size0; var$4.$size0 = var$12 + 1 | 0; var$11[var$12] = var$10; var$4.$modCount = var$4.$modCount + 1 | 0; var$8 = var$8 + 1 | 0; } $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; var$6.$name = $rt_s(2385); ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(2385), var$6); }, nms_EntityFireball_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8; a: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2069).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2069).$nativeString.length) break a; $rt_s(2069).$hashCode1 = (31 * $rt_s(2069).$hashCode1 | 0) + $rt_s(2069).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2069).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$3) { b: { var$5 = $var2.$key; if ($rt_s(2069) !== var$5) { if ($rt_s(2069) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$6 = $rt_s(2069).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$6 = 0; } else var$6 = 1; if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2069) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { c: { if (!$rt_s(2069).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2069).$nativeString.length) break c; $rt_s(2069).$hashCode1 = (31 * $rt_s(2069).$hashCode1 | 0) + $rt_s(2069).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2069).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$3) { d: { var$5 = $var2.$key; if ($rt_s(2069) !== var$5) { if ($rt_s(2069) === var$5) var$6 = 1; else if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(2069).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break d; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } } var$3 = ($var2 === null ? null : $var2.$value1).$data2; } else var$3 = 0; e: { $this.$xTile1 = var$3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2070).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2070).$nativeString.length) break e; $rt_s(2070).$hashCode1 = (31 * $rt_s(2070).$hashCode1 | 0) + $rt_s(2070).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2070).$hashCode1; var$4 = $var2.$elementData.data; var$7 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$3) { f: { $var2 = var$7.$key; if ($rt_s(2070) !== $var2) { if ($rt_s(2070) === $var2) var$6 = 1; else if (!($var2 instanceof jl_String)) var$6 = 0; else { $var2 = $var2; var$6 = $rt_s(2070).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break f; } } var$6 = 1; } if (var$6) break; } var$7 = var$7.$next3; } if (var$7 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2070) === null) { var$7 = $var2.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { g: { if (!$rt_s(2070).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2070).$nativeString.length) break g; $rt_s(2070).$hashCode1 = (31 * $rt_s(2070).$hashCode1 | 0) + $rt_s(2070).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$6 = $rt_s(2070).$hashCode1; var$4 = $var2.$elementData.data; var$7 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$6) { h: { $var2 = var$7.$key; if ($rt_s(2070) !== $var2) { if ($rt_s(2070) === $var2) var$3 = 1; else if ($var2 instanceof jl_String) { $var2 = $var2; var$3 = $rt_s(2070).$nativeString !== $var2.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$7 = var$7.$next3; } } var$3 = (var$7 === null ? null : var$7.$value1).$data2; } else var$3 = 0; i: { $this.$yTile1 = var$3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2071).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2071).$nativeString.length) break i; $rt_s(2071).$hashCode1 = (31 * $rt_s(2071).$hashCode1 | 0) + $rt_s(2071).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2071).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { j: { var$5 = $var2.$key; if ($rt_s(2071) !== var$5) { if ($rt_s(2071) === var$5) var$3 = 1; else if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2071).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) var$3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2071) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { k: { if (!$rt_s(2071).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2071).$nativeString.length) break k; $rt_s(2071).$hashCode1 = (31 * $rt_s(2071).$hashCode1 | 0) + $rt_s(2071).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2071).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { l: { var$5 = $var2.$key; if ($rt_s(2071) !== var$5) { if ($rt_s(2071) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2071).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } } var$3 = ($var2 === null ? null : $var2.$value1).$data2; } m: { $this.$zTile1 = var$3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2072).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2072).$nativeString.length) break m; $rt_s(2072).$hashCode1 = (31 * $rt_s(2072).$hashCode1 | 0) + $rt_s(2072).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2072).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { n: { var$5 = $var2.$key; if ($rt_s(2072) !== var$5) { if ($rt_s(2072) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2072).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break n; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2072) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { o: { if (!$rt_s(2072).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2072).$nativeString.length) break o; $rt_s(2072).$hashCode1 = (31 * $rt_s(2072).$hashCode1 | 0) + $rt_s(2072).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2072).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { p: { var$5 = $var2.$key; if ($rt_s(2072) !== var$5) { if ($rt_s(2072) === var$5) var$3 = 1; else if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2072).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break p; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } } var$6 = ($var2 === null ? null : $var2.$value1).$data; } else var$6 = 0; q: { $this.$inTile0 = var$6 & 255; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2075).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2075).$nativeString.length) break q; $rt_s(2075).$hashCode1 = (31 * $rt_s(2075).$hashCode1 | 0) + $rt_s(2075).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2075).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { r: { var$5 = $var2.$key; if ($rt_s(2075) !== var$5) { if ($rt_s(2075) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2075).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break r; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) var$6 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2075) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { s: { if (!$rt_s(2075).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2075).$nativeString.length) break s; $rt_s(2075).$hashCode1 = (31 * $rt_s(2075).$hashCode1 | 0) + $rt_s(2075).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2075).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { t: { var$5 = $var2.$key; if ($rt_s(2075) !== var$5) { if ($rt_s(2075) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2075).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break t; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } } var$6 = ($var2 === null ? null : $var2.$value1).$data; } var$3 = var$6 != 1 ? 0 : 1; u: { $this.$inGround2 = var$3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2385).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2385).$nativeString.length) break u; $rt_s(2385).$hashCode1 = (31 * $rt_s(2385).$hashCode1 | 0) + $rt_s(2385).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2385).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { v: { var$5 = $var2.$key; if ($rt_s(2385) !== var$5) { if ($rt_s(2385) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2385).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break v; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $this.$isDead = 1; else { w: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2385).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2385).$nativeString.length) break w; $rt_s(2385).$hashCode1 = (31 * $rt_s(2385).$hashCode1 | 0) + $rt_s(2385).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2385).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { x: { var$5 = $var2.$key; if ($rt_s(2385) !== var$5) { if ($rt_s(2385) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2385).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break x; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) { $var2 = new nms_NBTTagList; if ($rt_s(2385) !== null) $var2.$name = $rt_s(2385); else $var2.$name = $rt_s(18); $par1NBTTagCompound = new ju_ArrayList; $par1NBTTagCompound.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $par1NBTTagCompound; } else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2385) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { y: { if (!$rt_s(2385).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2385).$nativeString.length) break y; $rt_s(2385).$hashCode1 = (31 * $rt_s(2385).$hashCode1 | 0) + $rt_s(2385).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$8 = $rt_s(2385).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$8 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$8) { z: { $var2 = $par1NBTTagCompound.$key; if ($rt_s(2385) !== $var2) { if ($rt_s(2385) === $var2) var$3 = 1; else if (!($var2 instanceof jl_String)) var$3 = 0; else { $var2 = $var2; var$3 = $rt_s(2385).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break z; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $var2 = $par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1; } $par1NBTTagCompound = $var2.$tagList; var$6 = $par1NBTTagCompound.$size0; if (0 >= var$6) { $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); } var$4 = $par1NBTTagCompound.$array.data; $this.$motionX = var$4[0].$data6; if (1 >= var$6) { $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); } $this.$motionY = var$4[1].$data6; if (2 >= var$6) { $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); } $this.$motionZ = var$4[2].$data6; } }, nms_EntityFireball_canBeCollidedWith = $this => { return 1; }, nms_EntityFireball_getCollisionBorderSize = $this => { return 1.0; }, nms_EntityFireball_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let $var3, var$4, var$5, var$6; if ($this.$invulnerable) return 0; $this.$velocityChanged = 1; if ($par1DamageSource.$getEntity() === null) return 0; $var3 = ($par1DamageSource.$getEntity()).$getLookVec(); if ($var3 !== null) { var$4 = $var3.$xCoord; $this.$motionX = var$4; var$5 = $var3.$yCoord; $this.$motionY = var$5; var$6 = $var3.$zCoord; $this.$motionZ = var$6; $this.$accelerationX = var$4 * 0.1; $this.$accelerationY = var$5 * 0.1; $this.$accelerationZ = var$6 * 0.1; } if ($par1DamageSource.$getEntity() instanceof nms_EntityLivingBase) $this.$shootingEntity0 = $par1DamageSource.$getEntity(); return 1; }, nms_EntityFireball_getShadowSize = $this => { return 0.0; }, nms_EntityFireball_getBrightnessForRender = ($this, $par1) => { return 15728880; }; function nms_EntityLargeFireball() { nms_EntityFireball.call(this); this.$field_92057_e = 0; } let nms_EntityLargeFireball_onImpact = ($this, $par1MovingObjectPosition) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1MovingObjectPosition = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$worldObj.$isRemote) return; $par1MovingObjectPosition = $par1MovingObjectPosition.$entityHit; if ($par1MovingObjectPosition !== null) { var$2 = $this.$shootingEntity0; if (var$2 !== null) { var$3 = new nms_EntityDamageSourceIndirect; var$3.$hungerDamage = 0.30000001192092896; var$3.$damageType = $rt_s(2001); var$3.$damageSourceEntity = $this; var$3.$indirectEntity = var$2; var$3.$fireDamage = 1; var$3.$projectile = 1; } else { var$3 = new nms_EntityDamageSourceIndirect; var$3.$hungerDamage = 0.30000001192092896; var$3.$damageType = $rt_s(2386); var$3.$damageSourceEntity = $this; var$3.$indirectEntity = $this; var$3.$fireDamage = 1; var$3.$projectile = 1; } var$4 = 6.0; $ptr = 1; continue main; } a: { var$5 = $this.$worldObj; $par1MovingObjectPosition = null; var$6 = $this.$posX; var$7 = $this.$posY; var$8 = $this.$posZ; var$4 = $this.$field_92057_e; var$2 = var$5.$worldInfo.$theGameRules0.$theGameRules.$root; var$9 = $rt_s(1854); var$3 = $rt_s(1854); if (var$9 !== var$3) { var$10 = var$9.$nativeString.length; var$11 = var$3.$nativeString.length; if (var$10 < var$11) var$11 = var$10; var$12 = 0; b: { while (true) { if (var$12 >= var$11) { var$9.$nativeString.length; var$3.$nativeString.length; break a; } if (var$12 < 0) break b; if (var$12 >= var$9.$nativeString.length) break b; var$10 = var$9.$nativeString.charCodeAt(var$12); if (var$12 < 0) break; if (var$12 >= var$3.$nativeString.length) break; if (var$10 - var$3.$nativeString.charCodeAt(var$12) | 0) break a; var$12 = var$12 + 1 | 0; } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } } var$9 = $rt_s(1854); c: { d: { e: while (true) { if (var$2 === null) { var$2 = null; break c; } f: { var$3 = var$2.$key0; if (var$9 === var$3) var$13 = 0; else { var$10 = var$9.$nativeString.length; var$12 = var$3.$nativeString.length; if (var$10 < var$12) var$12 = var$10; var$10 = 0; while (true) { if (var$10 >= var$12) { var$13 = var$9.$nativeString.length - var$3.$nativeString.length | 0; break f; } if (var$10 < 0) break d; if (var$10 >= var$9.$nativeString.length) break d; var$11 = var$9.$nativeString.charCodeAt(var$10); if (var$10 < 0) break e; if (var$10 >= var$3.$nativeString.length) break e; var$13 = var$11 - var$3.$nativeString.charCodeAt(var$10) | 0; if (var$13) break; var$10 = var$10 + 1 | 0; } } } if (!var$13) break c; var$2 = var$13 >= 0 ? var$2.$right : var$2.$left; } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$2 = var$2 === null ? null : var$2.$value4; var$13 = var$2 === null ? 0 : var$2.$valueBoolean; var$3 = new nms_Explosion; var$3.$isSmoking = 1; var$3.$field_77289_h = 16; var$14 = new nle_EaglercraftRandom; var$15 = Long_fromNumber(performance.now() * 1000000.0); var$14.$seed = Long_fromInt(69); var$14.$haveNextNextGaussian = 0; var$14.$seed = var$15; var$3.$explosionRNG = var$14; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$3.$affectedBlockPositions = var$2; var$2 = new ju_HashMap; var$10 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$16 = $rt_createArray(ju_HashMap$HashEntry, var$10); var$17 = var$16.data; var$2.$elementData = var$16; var$2.$loadFactor = 0.75; var$2.$threshold = var$17.length * 0.75 | 0; var$3.$field_77288_k = var$2; var$3.$worldObj1 = var$5; var$3.$exploder = $par1MovingObjectPosition; var$3.$explosionSize = var$4; var$3.$explosionX = var$6; var$3.$explosionY = var$7; var$3.$explosionZ = var$8; var$3.$isFlaming = 1; var$3.$isSmoking = var$13; $ptr = 2; continue main; case 1: $par1MovingObjectPosition.$attackEntityFrom(var$3, var$4); if ($rt_suspending()) { break main; } g: { var$5 = $this.$worldObj; $par1MovingObjectPosition = null; var$6 = $this.$posX; var$7 = $this.$posY; var$8 = $this.$posZ; var$4 = $this.$field_92057_e; var$2 = var$5.$worldInfo.$theGameRules0.$theGameRules.$root; var$9 = $rt_s(1854); var$3 = $rt_s(1854); if (var$9 !== var$3) { var$10 = var$9.$nativeString.length; var$11 = var$3.$nativeString.length; if (var$10 < var$11) var$11 = var$10; var$12 = 0; h: { while (true) { if (var$12 >= var$11) { var$9.$nativeString.length; var$3.$nativeString.length; break g; } if (var$12 < 0) break h; if (var$12 >= var$9.$nativeString.length) break h; var$10 = var$9.$nativeString.charCodeAt(var$12); if (var$12 < 0) break; if (var$12 >= var$3.$nativeString.length) break; if (var$10 - var$3.$nativeString.charCodeAt(var$12) | 0) break g; var$12 = var$12 + 1 | 0; } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } } var$9 = $rt_s(1854); i: { j: { c: while (true) { if (var$2 === null) { var$2 = null; break i; } k: { var$3 = var$2.$key0; if (var$9 === var$3) var$13 = 0; else { var$10 = var$9.$nativeString.length; var$12 = var$3.$nativeString.length; if (var$10 < var$12) var$12 = var$10; var$10 = 0; while (true) { if (var$10 >= var$12) { var$13 = var$9.$nativeString.length - var$3.$nativeString.length | 0; break k; } if (var$10 < 0) break j; if (var$10 >= var$9.$nativeString.length) break j; var$11 = var$9.$nativeString.charCodeAt(var$10); if (var$10 < 0) break c; if (var$10 >= var$3.$nativeString.length) break c; var$13 = var$11 - var$3.$nativeString.charCodeAt(var$10) | 0; if (var$13) break; var$10 = var$10 + 1 | 0; } } } if (!var$13) break i; var$2 = var$13 >= 0 ? var$2.$right : var$2.$left; } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } var$2 = var$2 === null ? null : var$2.$value4; var$13 = var$2 === null ? 0 : var$2.$valueBoolean; var$3 = new nms_Explosion; var$3.$isSmoking = 1; var$3.$field_77289_h = 16; var$14 = new nle_EaglercraftRandom; var$15 = Long_fromNumber(performance.now() * 1000000.0); var$14.$seed = Long_fromInt(69); var$14.$haveNextNextGaussian = 0; var$14.$seed = var$15; var$3.$explosionRNG = var$14; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$3.$affectedBlockPositions = var$2; var$2 = new ju_HashMap; var$10 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$16 = $rt_createArray(ju_HashMap$HashEntry, var$10); var$17 = var$16.data; var$2.$elementData = var$16; var$2.$loadFactor = 0.75; var$2.$threshold = var$17.length * 0.75 | 0; var$3.$field_77288_k = var$2; var$3.$worldObj1 = var$5; var$3.$exploder = $par1MovingObjectPosition; var$3.$explosionSize = var$4; var$3.$explosionX = var$6; var$3.$explosionY = var$7; var$3.$explosionZ = var$8; var$3.$isFlaming = 1; var$3.$isSmoking = var$13; $ptr = 2; case 2: nms_Explosion_doExplosionA(var$3); if ($rt_suspending()) { break main; } var$18 = 1; $ptr = 3; case 3: nms_Explosion_doExplosionB(var$3, var$18); if ($rt_suspending()) { break main; } $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1MovingObjectPosition, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityLargeFireball_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3; nms_EntityFireball_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$field_92057_e; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagInt; $par1NBTTagCompound.$name = $rt_s(2004); $par1NBTTagCompound.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2004), $par1NBTTagCompound); }, nms_EntityLargeFireball_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; a: { nms_EntityFireball_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2004).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2004).$nativeString.length) break a; $rt_s(2004).$hashCode1 = (31 * $rt_s(2004).$hashCode1 | 0) + $rt_s(2004).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2004).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(2004) !== var$6) { if ($rt_s(2004) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2004).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { c: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2004).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(2004).$nativeString.length) break c; $rt_s(2004).$hashCode1 = (31 * $rt_s(2004).$hashCode1 | 0) + $rt_s(2004).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$3 = $rt_s(2004).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { d: { var$6 = var$2.$key; if ($rt_s(2004) !== var$6) { if ($rt_s(2004) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(2004).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break d; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2004) === null) { var$6 = $par1NBTTagCompound.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { e: { if (!$rt_s(2004).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2004).$nativeString.length) break e; $rt_s(2004).$hashCode1 = (31 * $rt_s(2004).$hashCode1 | 0) + $rt_s(2004).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2004).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$6 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { f: { $par1NBTTagCompound = var$6.$key; if ($rt_s(2004) !== $par1NBTTagCompound) { if ($rt_s(2004) === $par1NBTTagCompound) var$3 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$3 = $rt_s(2004).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$6 = var$6.$next3; } } var$3 = (var$6 === null ? null : var$6.$value1).$data0; } $this.$field_92057_e = var$3; } }; function nms_RenderFireball() { nms_Render.call(this); this.$field_77002_a = 0.0; } let nms_RenderFireball_doRenderFireball = ($this, $par1EntityFireball, $par2, $par4, $par6, $par8, $par9) => { let $var10, $var11, $var12, $var13, $var14, $var15, $var16, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityFireball = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); nms_TextureMap_$callClinit(); $par1EntityFireball = nms_TextureMap_locationItemsTexture; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityFireball); if ($rt_suspending()) { break main; } $par8 = $par2; $par9 = $par4; $var10 = $par6; $par1EntityFireball = nleg_EaglerAdapterGL30_deevis; $par1EntityFireball.$x = $par8; $par1EntityFireball.$y = $par9; $par1EntityFireball.$z = $var10; $par1EntityFireball = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityFireball, $par1EntityFireball); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityFireball = new otcic_JSStderrPrintStream; $var11 = new ji_ByteArrayOutputStream; $var11.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityFireball); $par1EntityFireball.$out0 = $var11; $var11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var11, 16); $par1EntityFireball.$sb = $var11; $par1EntityFireball.$buffer0 = $rt_createCharArray(32); $par1EntityFireball.$autoFlush = 0; $par1EntityFireball.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityFireball; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(32826); $par8 = $this.$field_77002_a / 1.0; $par1EntityFireball = nleg_EaglerAdapterGL30_deevis; $par1EntityFireball.$x = $par8; $par1EntityFireball.$y = $par8; $par1EntityFireball.$z = $par8; $par1EntityFireball = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityFireball, $par1EntityFireball); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityFireball = new otcic_JSStderrPrintStream; $var11 = new ji_ByteArrayOutputStream; $var11.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityFireball); $par1EntityFireball.$out0 = $var11; $var11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var11, 16); $par1EntityFireball.$sb = $var11; $par1EntityFireball.$buffer0 = $rt_createCharArray(32); $par1EntityFireball.$autoFlush = 0; $par1EntityFireball.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityFireball; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_Item_$callClinit(); $var11 = nms_Item_fireballCharge.$getIconFromDamage(0); nlea_Tessellator_$callClinit(); $var12 = nlea_Tessellator_instance; $var13 = $var11.$getMinU(); $var14 = $var11.$getMaxU(); $var15 = $var11.$getMinV(); $var16 = $var11.$getMaxV(); $par9 = 180.0 - $this.$renderManager.$playerViewY; $par1EntityFireball = nleg_EaglerAdapterGL30_deevis; $par1EntityFireball.$x = 0.0; $par1EntityFireball.$y = 1.0; $par1EntityFireball.$z = 0.0; $par1EntityFireball = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par9 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityFireball, $par1EntityFireball); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityFireball = new otcic_JSStderrPrintStream; $var11 = new ji_ByteArrayOutputStream; $var11.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityFireball); $par1EntityFireball.$out0 = $var11; $var11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var11, 16); $par1EntityFireball.$sb = $var11; $par1EntityFireball.$buffer0 = $rt_createCharArray(32); $par1EntityFireball.$autoFlush = 0; $par1EntityFireball.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityFireball; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par9 = -$this.$renderManager.$playerViewX; $par1EntityFireball = nleg_EaglerAdapterGL30_deevis; $par1EntityFireball.$x = 1.0; $par1EntityFireball.$y = 0.0; $par1EntityFireball.$z = 0.0; $par1EntityFireball = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par9 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityFireball, $par1EntityFireball); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityFireball = new otcic_JSStderrPrintStream; $var11 = new ji_ByteArrayOutputStream; $var11.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityFireball); $par1EntityFireball.$out0 = $var11; $var11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var11, 16); $par1EntityFireball.$sb = $var11; $par1EntityFireball.$buffer0 = $rt_createCharArray(32); $par1EntityFireball.$autoFlush = 0; $par1EntityFireball.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityFireball; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($var12.$isDrawing) nlea_Tessellator_draw($var12); $var12.$isDrawing = 1; $var12.$vertexCount = 0; $var12.$rawBufferIndex = 0; $var12.$addedVertices = 0; $var12.$drawMode = 7; $var12.$hasNormals = 0; $var12.$hasColor = 0; $var12.$hasTexture = 0; $var12.$hasBrightness = 0; $var12.$isColorDisabled = 0; nlea_Tessellator_setNormal($var12, 0.0, 1.0, 0.0); var$14 = $var13; var$15 = $var16; $var12.$hasTexture = 1; $par9 = var$14; $var12.$textureU = $par9; $var10 = var$15; $var12.$textureV = $var10; nlea_Tessellator_addVertex($var12, (-0.5), (-0.25), 0.0); var$15 = $var14; $var12.$hasTexture = 1; $par8 = var$15; $var12.$textureU = $par8; $var12.$textureV = $var10; nlea_Tessellator_addVertex($var12, 0.5, (-0.25), 0.0); var$15 = $var15; $var12.$hasTexture = 1; $var12.$textureU = $par8; $par8 = var$15; $var12.$textureV = $par8; nlea_Tessellator_addVertex($var12, 0.5, 0.75, 0.0); $var12.$hasTexture = 1; $var12.$textureU = $par9; $var12.$textureV = $par8; nlea_Tessellator_addVertex($var12, (-0.5), 0.75, 0.0); nlea_Tessellator_draw($var12); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityFireball, $par2, $par4, $par6, $par8, $par9, $var10, $var11, $var12, $var13, $var14, $var15, $var16, var$14, var$15, $ptr); }, nms_RenderFireball_getEntityTexture = ($this, $par1Entity) => { nms_TextureMap_$callClinit(); return nms_TextureMap_locationItemsTexture; }, nms_RenderFireball_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderFireball_doRenderFireball($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_EntitySmallFireball = $rt_classWithoutFields(nms_EntityFireball), nms_EntitySmallFireball_onImpact = ($this, $par1MovingObjectPosition) => { let var$2, var$3, var$4, var$5, $var2, $var3, $var4, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1MovingObjectPosition = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$worldObj; if (!var$2.$isRemote) { a: { var$3 = $par1MovingObjectPosition.$entityHit; if (var$3 !== null) { if (var$3.$isImmuneToFire) break a; var$2 = $this.$shootingEntity0; if (var$2 !== null) { var$4 = new nms_EntityDamageSourceIndirect; var$4.$hungerDamage = 0.30000001192092896; var$4.$damageType = $rt_s(2001); var$4.$damageSourceEntity = $this; var$4.$indirectEntity = var$2; var$4.$fireDamage = 1; var$4.$projectile = 1; } else { var$4 = new nms_EntityDamageSourceIndirect; var$4.$hungerDamage = 0.30000001192092896; var$4.$damageType = $rt_s(2386); var$4.$damageSourceEntity = $this; var$4.$indirectEntity = $this; var$4.$fireDamage = 1; var$4.$projectile = 1; } var$5 = 5.0; $ptr = 1; continue main; } b: { $var2 = $par1MovingObjectPosition.$blockX; $var3 = $par1MovingObjectPosition.$blockY; $var4 = $par1MovingObjectPosition.$blockZ; switch ($par1MovingObjectPosition.$sideHit) { case 0: $var3 = $var3 + (-1) | 0; break b; case 1: $var3 = $var3 + 1 | 0; break b; case 2: $var4 = $var4 + (-1) | 0; break b; case 3: $var4 = $var4 + 1 | 0; break b; case 4: $var2 = $var2 + (-1) | 0; break b; case 5: $var2 = $var2 + 1 | 0; break b; default: } } if (nms_World_getBlockId(var$2, $var2, $var3, $var4) ? 0 : 1) { var$2 = $this.$worldObj; nms_Block_$callClinit(); var$9 = nms_Block_fire.$blockID; var$10 = 0; var$11 = 3; $ptr = 2; continue main; } } $this.$isDead = 1; } return; case 1: $tmp = var$3.$attackEntityFrom(var$4, var$5); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2) { $par1MovingObjectPosition = $par1MovingObjectPosition.$entityHit; $var2 = 100; nms_Enchantment_$callClinit(); $var3 = nms_Enchantment_fireProtection.$effectId; var$12 = $par1MovingObjectPosition.$getLastActiveItems(); nms_EnchantmentHelper_$callClinit(); if (var$12 === null) var$9 = 0; else { var$12 = var$12.data; var$9 = 0; var$10 = var$12.length; var$11 = 0; while (var$11 < var$10) { $var4 = nms_EnchantmentHelper_getEnchantmentLevel($var3, var$12[var$11]); if ($var4 > var$9) var$9 = $var4; var$11 = var$11 + 1 | 0; } } if (var$9 > 0) { var$5 = 100.0 * var$9 * 0.15000000596046448; $var3 = var$5 | 0; if (var$5 < $var3) $var3 = $var3 - 1 | 0; $var2 = $var2 - $var3 | 0; } if ($par1MovingObjectPosition.$fire < $var2) $par1MovingObjectPosition.$fire = $var2; } $this.$isDead = 1; return; case 2: nms_World_setBlock(var$2, $var2, $var3, $var4, var$9, var$10, var$11); if ($rt_suspending()) { break main; } $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1MovingObjectPosition, var$2, var$3, var$4, var$5, $var2, $var3, $var4, var$9, var$10, var$11, var$12, $ptr); }, nms_EntitySmallFireball_canBeCollidedWith = $this => { return 0; }, nms_EntitySmallFireball_attackEntityFrom = ($this, $par1DamageSource, $par2) => { return 0; }, nms_EntityWitherSkull = $rt_classWithoutFields(nms_EntityFireball), nms_EntityWitherSkull_getMotionFactor = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[138]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return (var$1.$watchedObject.$value2 != 1 ? 0 : 1) ? 0.7300000190734863 : 0.949999988079071; }, nms_EntityWitherSkull_isBurning = $this => { return 0; }, nms_EntityWitherSkull_getBlockExplosionResistance = ($this, $par1Explosion, $par2World, $par3, $par4, $par5, $par6Block) => { let $var7, var$8, var$9; $var7 = $par6Block.$getExplosionResistance($this); $par1Explosion = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[138]; if (var$8 === null) { $par1Explosion = $par1Explosion.$elementData.data[0]; while ($par1Explosion !== null && $par1Explosion.$key !== null) { $par1Explosion = $par1Explosion.$next3; } } else { $par5 = var$8.$value0; var$9 = $par1Explosion.$elementData.data; $par1Explosion = var$9[$par5 & (var$9.length - 1 | 0)]; while ($par1Explosion !== null) { if ($par1Explosion.$origKeyHash == $par5) { $par2World = $par1Explosion.$key; if (var$8 !== $par2World && !(var$8 === $par2World ? 1 : $par2World instanceof jl_Integer && $par2World.$value0 == $par5 ? 1 : 0) ? 0 : 1) break; } $par1Explosion = $par1Explosion.$next3; } } $par1Explosion = $par1Explosion === null ? null : $par1Explosion.$value1; $par3 = $par1Explosion.$watchedObject.$value2 != 1 ? 0 : 1; if ($par3 && $par6Block !== nms_Block_bedrock && $par6Block !== nms_Block_endPortal && $par6Block !== nms_Block_endPortalFrame) $var7 = jl_Math_minImpl(0.800000011920929, $var7); return $var7; }, nms_EntityWitherSkull_onImpact = ($this, $par1MovingObjectPosition) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1MovingObjectPosition = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$worldObj.$isRemote) return; var$2 = $par1MovingObjectPosition.$entityHit; if (var$2 !== null) { var$3 = $this.$shootingEntity0; if (var$3 === null) { var$3 = nms_DamageSource_magic; var$4 = 5.0; $ptr = 1; continue main; } var$5 = new nms_EntityDamageSource; var$5.$hungerDamage = 0.30000001192092896; var$5.$damageType = $rt_s(1858); var$5.$damageSourceEntity = var$3; var$4 = 8.0; $ptr = 2; continue main; } a: { var$5 = $this.$worldObj; var$6 = $this.$posX; var$7 = $this.$posY; var$8 = $this.$posZ; $par1MovingObjectPosition = var$5.$worldInfo.$theGameRules0.$theGameRules.$root; var$2 = $rt_s(1854); var$3 = $rt_s(1854); if (var$2 !== var$3) { var$9 = var$2.$nativeString.length; var$10 = var$3.$nativeString.length; if (var$9 < var$10) var$10 = var$9; var$11 = 0; b: { while (true) { if (var$11 >= var$10) { var$2.$nativeString.length; var$3.$nativeString.length; break a; } if (var$11 < 0) break b; if (var$11 >= var$2.$nativeString.length) break b; var$12 = var$2.$nativeString.charCodeAt(var$11); if (var$11 < 0) break; if (var$11 >= var$3.$nativeString.length) break; if (var$12 - var$3.$nativeString.charCodeAt(var$11) | 0) break a; var$11 = var$11 + 1 | 0; } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } } var$2 = $rt_s(1854); c: { d: { e: while (true) { if ($par1MovingObjectPosition === null) { $par1MovingObjectPosition = null; break c; } f: { var$3 = $par1MovingObjectPosition.$key0; if (var$2 === var$3) var$11 = 0; else { var$9 = var$2.$nativeString.length; var$10 = var$3.$nativeString.length; if (var$9 < var$10) var$10 = var$9; var$9 = 0; while (true) { if (var$9 >= var$10) { var$11 = var$2.$nativeString.length - var$3.$nativeString.length | 0; break f; } if (var$9 < 0) break d; if (var$9 >= var$2.$nativeString.length) break d; var$12 = var$2.$nativeString.charCodeAt(var$9); if (var$9 < 0) break e; if (var$9 >= var$3.$nativeString.length) break e; var$11 = var$12 - var$3.$nativeString.charCodeAt(var$9) | 0; if (var$11) break; var$9 = var$9 + 1 | 0; } } } if (!var$11) break c; $par1MovingObjectPosition = var$11 >= 0 ? $par1MovingObjectPosition.$right : $par1MovingObjectPosition.$left; } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = $par1MovingObjectPosition === null ? null : $par1MovingObjectPosition.$value4; var$11 = $par1MovingObjectPosition === null ? 0 : $par1MovingObjectPosition.$valueBoolean; $par1MovingObjectPosition = new nms_Explosion; $par1MovingObjectPosition.$isSmoking = 1; $par1MovingObjectPosition.$field_77289_h = 16; var$2 = new nle_EaglercraftRandom; var$13 = Long_fromNumber(performance.now() * 1000000.0); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = var$13; $par1MovingObjectPosition.$explosionRNG = var$2; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $par1MovingObjectPosition.$affectedBlockPositions = var$2; var$2 = new ju_HashMap; var$12 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, var$12); var$15 = var$14.data; var$2.$elementData = var$14; var$2.$loadFactor = 0.75; var$2.$threshold = var$15.length * 0.75 | 0; $par1MovingObjectPosition.$field_77288_k = var$2; $par1MovingObjectPosition.$worldObj1 = var$5; $par1MovingObjectPosition.$exploder = $this; $par1MovingObjectPosition.$explosionSize = 1.0; $par1MovingObjectPosition.$explosionX = var$6; $par1MovingObjectPosition.$explosionY = var$7; $par1MovingObjectPosition.$explosionZ = var$8; $par1MovingObjectPosition.$isFlaming = 0; $par1MovingObjectPosition.$isSmoking = var$11; $ptr = 3; continue main; case 1: var$2.$attackEntityFrom(var$3, var$4); if ($rt_suspending()) { break main; } $par1MovingObjectPosition = $par1MovingObjectPosition.$entityHit; if ($par1MovingObjectPosition instanceof nms_EntityLivingBase) { $var2 = 0; var$11 = $this.$worldObj.$difficultySetting; if (var$11 > 1) { if (var$11 == 2) $var2 = 10; else if (var$11 == 3) $var2 = 40; } if ($var2 > 0) { var$2 = $par1MovingObjectPosition; var$3 = new nms_PotionEffect; nms_Potion_$callClinit(); var$11 = nms_Potion_wither.$id1; $var2 = 20 * $var2 | 0; var$3.$potionID = var$11; var$3.$duration = $var2; var$3.$amplifier = 1; var$3.$isAmbient = 0; var$2.$addPotionEffect(var$3); } } g: { var$5 = $this.$worldObj; var$6 = $this.$posX; var$7 = $this.$posY; var$8 = $this.$posZ; $par1MovingObjectPosition = var$5.$worldInfo.$theGameRules0.$theGameRules.$root; var$2 = $rt_s(1854); var$3 = $rt_s(1854); if (var$2 !== var$3) { var$9 = var$2.$nativeString.length; var$10 = var$3.$nativeString.length; if (var$9 < var$10) var$10 = var$9; var$11 = 0; h: { while (true) { if (var$11 >= var$10) { var$2.$nativeString.length; var$3.$nativeString.length; break g; } if (var$11 < 0) break h; if (var$11 >= var$2.$nativeString.length) break h; var$12 = var$2.$nativeString.charCodeAt(var$11); if (var$11 < 0) break; if (var$11 >= var$3.$nativeString.length) break; if (var$12 - var$3.$nativeString.charCodeAt(var$11) | 0) break g; var$11 = var$11 + 1 | 0; } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } } var$2 = $rt_s(1854); i: { j: { f: while (true) { if ($par1MovingObjectPosition === null) { $par1MovingObjectPosition = null; break i; } k: { var$3 = $par1MovingObjectPosition.$key0; if (var$2 === var$3) var$11 = 0; else { var$9 = var$2.$nativeString.length; var$10 = var$3.$nativeString.length; if (var$9 < var$10) var$10 = var$9; var$9 = 0; while (true) { if (var$9 >= var$10) { var$11 = var$2.$nativeString.length - var$3.$nativeString.length | 0; break k; } if (var$9 < 0) break j; if (var$9 >= var$2.$nativeString.length) break j; var$12 = var$2.$nativeString.charCodeAt(var$9); if (var$9 < 0) break f; if (var$9 >= var$3.$nativeString.length) break f; var$11 = var$12 - var$3.$nativeString.charCodeAt(var$9) | 0; if (var$11) break; var$9 = var$9 + 1 | 0; } } } if (!var$11) break i; $par1MovingObjectPosition = var$11 >= 0 ? $par1MovingObjectPosition.$right : $par1MovingObjectPosition.$left; } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = $par1MovingObjectPosition === null ? null : $par1MovingObjectPosition.$value4; var$11 = $par1MovingObjectPosition === null ? 0 : $par1MovingObjectPosition.$valueBoolean; $par1MovingObjectPosition = new nms_Explosion; $par1MovingObjectPosition.$isSmoking = 1; $par1MovingObjectPosition.$field_77289_h = 16; var$2 = new nle_EaglercraftRandom; var$13 = Long_fromNumber(performance.now() * 1000000.0); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = var$13; $par1MovingObjectPosition.$explosionRNG = var$2; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $par1MovingObjectPosition.$affectedBlockPositions = var$2; var$2 = new ju_HashMap; var$12 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, var$12); var$15 = var$14.data; var$2.$elementData = var$14; var$2.$loadFactor = 0.75; var$2.$threshold = var$15.length * 0.75 | 0; $par1MovingObjectPosition.$field_77288_k = var$2; $par1MovingObjectPosition.$worldObj1 = var$5; $par1MovingObjectPosition.$exploder = $this; $par1MovingObjectPosition.$explosionSize = 1.0; $par1MovingObjectPosition.$explosionX = var$6; $par1MovingObjectPosition.$explosionY = var$7; $par1MovingObjectPosition.$explosionZ = var$8; $par1MovingObjectPosition.$isFlaming = 0; $par1MovingObjectPosition.$isSmoking = var$11; $ptr = 3; continue main; case 2: $tmp = var$2.$attackEntityFrom(var$5, var$4); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 && !$par1MovingObjectPosition.$entityHit.$isEntityAlive()) $this.$shootingEntity0.$heal(5.0); $par1MovingObjectPosition = $par1MovingObjectPosition.$entityHit; if ($par1MovingObjectPosition instanceof nms_EntityLivingBase) { $var2 = 0; var$11 = $this.$worldObj.$difficultySetting; if (var$11 > 1) { if (var$11 == 2) $var2 = 10; else if (var$11 == 3) $var2 = 40; } if ($var2 > 0) { var$2 = $par1MovingObjectPosition; var$3 = new nms_PotionEffect; nms_Potion_$callClinit(); var$11 = nms_Potion_wither.$id1; $var2 = 20 * $var2 | 0; var$3.$potionID = var$11; var$3.$duration = $var2; var$3.$amplifier = 1; var$3.$isAmbient = 0; var$2.$addPotionEffect(var$3); } } l: { var$5 = $this.$worldObj; var$6 = $this.$posX; var$7 = $this.$posY; var$8 = $this.$posZ; $par1MovingObjectPosition = var$5.$worldInfo.$theGameRules0.$theGameRules.$root; var$2 = $rt_s(1854); var$3 = $rt_s(1854); if (var$2 !== var$3) { var$9 = var$2.$nativeString.length; var$10 = var$3.$nativeString.length; if (var$9 < var$10) var$10 = var$9; var$11 = 0; c: { while (true) { if (var$11 >= var$10) { var$2.$nativeString.length; var$3.$nativeString.length; break l; } if (var$11 < 0) break c; if (var$11 >= var$2.$nativeString.length) break c; var$12 = var$2.$nativeString.charCodeAt(var$11); if (var$11 < 0) break; if (var$11 >= var$3.$nativeString.length) break; if (var$12 - var$3.$nativeString.charCodeAt(var$11) | 0) break l; var$11 = var$11 + 1 | 0; } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } } var$2 = $rt_s(1854); d: { f: { m: while (true) { if ($par1MovingObjectPosition === null) { $par1MovingObjectPosition = null; break d; } n: { var$3 = $par1MovingObjectPosition.$key0; if (var$2 === var$3) var$11 = 0; else { var$9 = var$2.$nativeString.length; var$10 = var$3.$nativeString.length; if (var$9 < var$10) var$10 = var$9; var$9 = 0; while (true) { if (var$9 >= var$10) { var$11 = var$2.$nativeString.length - var$3.$nativeString.length | 0; break n; } if (var$9 < 0) break f; if (var$9 >= var$2.$nativeString.length) break f; var$12 = var$2.$nativeString.charCodeAt(var$9); if (var$9 < 0) break m; if (var$9 >= var$3.$nativeString.length) break m; var$11 = var$12 - var$3.$nativeString.charCodeAt(var$9) | 0; if (var$11) break; var$9 = var$9 + 1 | 0; } } } if (!var$11) break d; $par1MovingObjectPosition = var$11 >= 0 ? $par1MovingObjectPosition.$right : $par1MovingObjectPosition.$left; } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1MovingObjectPosition); $rt_throw($par1MovingObjectPosition); } $par1MovingObjectPosition = $par1MovingObjectPosition === null ? null : $par1MovingObjectPosition.$value4; var$11 = $par1MovingObjectPosition === null ? 0 : $par1MovingObjectPosition.$valueBoolean; $par1MovingObjectPosition = new nms_Explosion; $par1MovingObjectPosition.$isSmoking = 1; $par1MovingObjectPosition.$field_77289_h = 16; var$2 = new nle_EaglercraftRandom; var$13 = Long_fromNumber(performance.now() * 1000000.0); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = var$13; $par1MovingObjectPosition.$explosionRNG = var$2; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $par1MovingObjectPosition.$affectedBlockPositions = var$2; var$2 = new ju_HashMap; var$12 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, var$12); var$15 = var$14.data; var$2.$elementData = var$14; var$2.$loadFactor = 0.75; var$2.$threshold = var$15.length * 0.75 | 0; $par1MovingObjectPosition.$field_77288_k = var$2; $par1MovingObjectPosition.$worldObj1 = var$5; $par1MovingObjectPosition.$exploder = $this; $par1MovingObjectPosition.$explosionSize = 1.0; $par1MovingObjectPosition.$explosionX = var$6; $par1MovingObjectPosition.$explosionY = var$7; $par1MovingObjectPosition.$explosionZ = var$8; $par1MovingObjectPosition.$isFlaming = 0; $par1MovingObjectPosition.$isSmoking = var$11; $ptr = 3; case 3: nms_Explosion_doExplosionA($par1MovingObjectPosition); if ($rt_suspending()) { break main; } $var2 = 1; $ptr = 4; case 4: nms_Explosion_doExplosionB($par1MovingObjectPosition, $var2); if ($rt_suspending()) { break main; } $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1MovingObjectPosition, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var2, $ptr); }, nms_EntityWitherSkull_canBeCollidedWith = $this => { return 0; }, nms_EntityWitherSkull_attackEntityFrom = ($this, $par1DamageSource, $par2) => { return 0; }, nms_EntityWitherSkull_entityInit = $this => { nms_DataWatcher_addObject($this.$dataWatcher, 10, jl_Byte_byteCache.data[128]); }; function nms_RenderWitherSkull() { nms_Render.call(this); this.$skeletonHeadModel = null; } let nms_RenderWitherSkull_invulnerableWitherTextures = null, nms_RenderWitherSkull_witherTextures = null, nms_RenderWitherSkull_$callClinit = () => { nms_RenderWitherSkull_$callClinit = $rt_eraseClinit(nms_RenderWitherSkull); nms_RenderWitherSkull__clinit_(); }, nms_RenderWitherSkull__init_ = $this => { let var$1; nms_RenderWitherSkull_$callClinit(); nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; $this.$skeletonHeadModel = nms_ModelSkeletonHead__init_(); }, nms_RenderWitherSkull__init_0 = () => { let var_0 = new nms_RenderWitherSkull(); nms_RenderWitherSkull__init_(var_0); return var_0; }, nms_RenderWitherSkull_func_82399_a = ($this, $par1EntityWitherSkull, $par2, $par4, $par6, $par8, $par9) => { let $var10, $var11, $var12, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityWitherSkull = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glDisable(2884); $var10 = $par1EntityWitherSkull.$prevRotationYaw; $var11 = $par1EntityWitherSkull.$rotationYaw - $var10; while ($var11 < (-180.0)) { $var11 = $var11 + 360.0; } while ($var11 >= 180.0) { $var11 = $var11 - 360.0; } $var10 = $var10 + $par9 * $var11; $par8 = $par1EntityWitherSkull.$prevRotationPitch; $var11 = $par8 + ($par1EntityWitherSkull.$rotationPitch - $par8) * $par9; $par8 = $par2; $par9 = $par4; $var12 = $par6; var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = $par8; var$10.$y = $par9; var$10.$z = $var12; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$11 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$11); var$11.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$11.$sb = var$10; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$11; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var12 = 0.0625; nleg_EaglerAdapterGL30_glEnable(32826); var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = (-1.0); var$10.$y = (-1.0); var$10.$z = 1.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(3008); $ptr = 1; case 1: $tmp = nms_RenderWitherSkull_getEntityTexture($this, $par1EntityWitherSkull); if ($rt_suspending()) { break main; } $par1EntityWitherSkull = $tmp; $ptr = 2; case 2: nle_TextureLocation_bindTexture($par1EntityWitherSkull); if ($rt_suspending()) { break main; } $par1EntityWitherSkull = $this.$skeletonHeadModel.$skeletonHead; $par1EntityWitherSkull.$rotateAngleY = $var10 / 57.2957763671875; $par1EntityWitherSkull.$rotateAngleX = $var11 / 57.2957763671875; nms_ModelRenderer_render($par1EntityWitherSkull, $var12); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityWitherSkull, $par2, $par4, $par6, $par8, $par9, $var10, $var11, $var12, var$10, var$11, $ptr); }, nms_RenderWitherSkull_getEntityTexture = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5; $par1Entity = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[138]; if (var$2 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1Entity.$elementData.data; $par1Entity = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$3) { var$5 = $par1Entity.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if (!($par1Entity.$watchedObject.$value2 != 1 ? 0 : 1)) { nms_RenderWitherSkull_$callClinit(); $par1Entity = nms_RenderWitherSkull_witherTextures; } else { nms_RenderWitherSkull_$callClinit(); $par1Entity = nms_RenderWitherSkull_invulnerableWitherTextures; } return $par1Entity; }, nms_RenderWitherSkull_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderWitherSkull_func_82399_a($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderWitherSkull__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2052); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderWitherSkull_invulnerableWitherTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2053); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderWitherSkull_witherTextures = var$1; }; function nms_EntityItem() { let a = this; nms_Entity.call(a); a.$age = 0; a.$delayBeforeCanPickup = 0; a.$health = 0; a.$hoverStart = 0.0; } let nms_EntityItem__init_ = ($this, $par1World, $par2, $par4, $par6) => { let var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity__init_($this, $par1World); $this.$health = 5; $this.$hoverStart = jl_Math_randomImpl() * 3.141592653589793 * 2.0; var$5 = 0.25; var$6 = 0.25; $ptr = 1; case 1: nms_Entity_setSize($this, var$5, var$6); if ($rt_suspending()) { break main; } $this.$yOffset = $this.$height2 / 2.0; nms_Entity_setPosition($this, $par2, $par4, $par6); $this.$rotationYaw = jl_Math_randomImpl() * 360.0; $this.$motionX = jl_Math_randomImpl() * 0.20000000298023224 - 0.10000000149011612; $this.$motionY = 0.20000000298023224; $this.$motionZ = jl_Math_randomImpl() * 0.20000000298023224 - 0.10000000149011612; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, var$5, var$6, $ptr); }, nms_EntityItem__init_0 = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_EntityItem(); nms_EntityItem__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_EntityItem_canTriggerWalking = $this => { return 0; }, nms_EntityItem_entityInit = $this => { let var$1, var$2, var$3; var$1 = $this.$dataWatcher; var$2 = new nms_WatchableObject; var$3 = null; var$2.$dataValueId = 10; var$2.$watchedObject = var$3; var$2.$objectType = 5; var$2.$watched = 1; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$3, jl_Integer_integerCache.data[138], var$2); var$1.$isBlank = 0; }, nms_EntityItem_onUpdate = $this => { let $var1, var$2, var$3, var$4, var$5, $var3, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $var2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Entity_onEntityUpdate($this); if ($rt_suspending()) { break main; } $var1 = $this.$delayBeforeCanPickup; if ($var1 > 0) $this.$delayBeforeCanPickup = $var1 - 1 | 0; var$2 = $this.$posX; $this.$prevPosX = var$2; $this.$prevPosY = $this.$posY; var$3 = $this.$posZ; $this.$prevPosZ = var$3; $this.$motionY = $this.$motionY - 0.03999999910593033; var$4 = $this.$boundingBox; var$5 = (var$4.$minY + var$4.$maxY) / 2.0; $ptr = 2; case 2: $tmp = nms_Entity_pushOutOfBlocks($this, var$2, var$5, var$3); if ($rt_suspending()) { break main; } $var1 = $tmp; $this.$noClip = $var1; var$5 = $this.$motionX; var$2 = $this.$motionY; var$3 = $this.$motionZ; $ptr = 3; case 3: nms_Entity_moveEntity($this, var$5, var$2, var$3); if ($rt_suspending()) { break main; } $var1 = $this.$prevPosX | 0; var$5 = $this.$posX; $var3 = var$5 | 0; $var1 = $var1 == $var3 && ($this.$prevPosY | 0) == ($this.$posY | 0) && ($this.$prevPosZ | 0) == ($this.$posZ | 0) ? 0 : 1; if (!(!$var1 && ($this.$ticksExisted % 25 | 0))) { var$4 = $this.$worldObj; if (var$5 < $var3) $var3 = $var3 - 1 | 0; var$5 = $this.$posY; var$7 = var$5 | 0; if (var$5 < var$7) var$7 = var$7 - 1 | 0; var$5 = $this.$posZ; var$8 = var$5 | 0; if (var$5 < var$8) var$8 = var$8 - 1 | 0; $var1 = nms_World_getBlockId(var$4, $var3, var$7, var$8); if (!$var1) { nms_Material_$callClinit(); var$9 = nms_Material_air; } else { nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var1].$blockMaterial; } nms_Material_$callClinit(); if (var$9 === nms_Material_lava) { $this.$motionY = 0.20000000298023224; var$4 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7; var$10 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$10; $this.$motionX = (var$11 - Long_lo(Long_shru(var$10, 24)) / 1.6777216E7) * 0.20000000298023224; var$10 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7; var$10 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$10; $this.$motionZ = (var$11 - Long_lo(Long_shru(var$10, 24)) / 1.6777216E7) * 0.20000000298023224; var$12 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$12; var$13 = 2.0 + Long_lo(Long_shru(var$12, 24)) / 1.6777216E7 * 0.4000000059604645; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1239), 0.4000000059604645, var$13); } var$4 = $this.$worldObj; if (!var$4.$isRemote) { var$9 = $rt_cls(nms_EntityItem); var$14 = $this.$boundingBox; var$15 = var$14.$minX - 0.5; var$16 = var$14.$minY - 0.0; var$17 = var$14.$minZ - 0.5; var$5 = var$14.$maxX + 0.5; var$2 = var$14.$maxY + 0.0; var$3 = var$14.$maxZ + 0.5; var$18 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var1 = var$18.$nextPoolIndex; var$14 = var$18.$listAABB; var$8 = var$14.$size0; $var3 = $rt_compare($var1, var$8); if ($var3 >= 0) { var$19 = new nms_AxisAlignedBB; var$19.$minX = var$15; var$19.$minY = var$16; var$19.$minZ = var$17; var$19.$maxX = var$5; var$19.$maxY = var$2; var$19.$maxZ = var$3; ju_ArrayList_ensureCapacity(var$14, var$8 + 1 | 0); var$20 = var$14.$array.data; $var3 = var$14.$size0; var$14.$size0 = $var3 + 1 | 0; var$20[$var3] = var$19; var$14.$modCount = var$14.$modCount + 1 | 0; } else if ($var1 >= 0 && $var3 < 0) { var$19 = var$14.$array.data[$var1]; var$19.$minX = var$15; var$19.$minY = var$16; var$19.$minZ = var$17; var$19.$maxX = var$5; var$19.$maxY = var$2; var$19.$maxZ = var$3; } else { var$4 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$4); $rt_throw(var$4); } var$18.$nextPoolIndex = var$18.$nextPoolIndex + 1 | 0; var$14 = null; $ptr = 4; continue main; } } $var2 = 0.9800000190734863; if ($this.$onGround) { $var2 = 0.5880000591278076; var$4 = $this.$worldObj; var$5 = $this.$posX; var$7 = var$5 | 0; if (var$5 < var$7) var$7 = var$7 - 1 | 0; var$5 = $this.$boundingBox.$minY; $var3 = var$5 | 0; if (var$5 < $var3) $var3 = $var3 - 1 | 0; $var1 = $var3 - 1 | 0; var$5 = $this.$posZ; var$8 = var$5 | 0; if (var$5 < var$8) var$8 = var$8 - 1 | 0; $var3 = nms_World_getBlockId(var$4, var$7, $var1, var$8); if ($var3 > 0) { nms_Block_$callClinit(); $var2 = nms_Block_blocksList.data[$var3].$slipperiness * 0.9800000190734863; } } var$5 = $this.$motionX; var$2 = $var2; $this.$motionX = var$5 * var$2; var$5 = $this.$motionY * 0.9800000190734863; $this.$motionY = var$5; $this.$motionZ = $this.$motionZ * var$2; if ($this.$onGround) $this.$motionY = var$5 * (-0.5); $var1 = $this.$age + 1 | 0; $this.$age = $var1; if (!$this.$worldObj.$isRemote && $var1 >= 6000) $this.$isDead = 1; return; case 4: $tmp = nms_World_selectEntitiesWithinAABB(var$4, var$9, var$19, var$14); if ($rt_suspending()) { break main; } var$9 = $tmp; var$7 = 0; $var3 = var$9.$modCount; var$8 = var$9.$size(); while (true) { if (!(var$7 >= var$8 ? 0 : 1)) { $var2 = 0.9800000190734863; if ($this.$onGround) { $var2 = 0.5880000591278076; var$4 = $this.$worldObj; var$5 = $this.$posX; var$7 = var$5 | 0; if (var$5 < var$7) var$7 = var$7 - 1 | 0; var$5 = $this.$boundingBox.$minY; $var3 = var$5 | 0; if (var$5 < $var3) $var3 = $var3 - 1 | 0; $var1 = $var3 - 1 | 0; var$5 = $this.$posZ; var$8 = var$5 | 0; if (var$5 < var$8) var$8 = var$8 - 1 | 0; $var3 = nms_World_getBlockId(var$4, var$7, $var1, var$8); if ($var3 > 0) { nms_Block_$callClinit(); $var2 = nms_Block_blocksList.data[$var3].$slipperiness * 0.9800000190734863; } } var$5 = $this.$motionX; var$2 = $var2; $this.$motionX = var$5 * var$2; var$5 = $this.$motionY * 0.9800000190734863; $this.$motionY = var$5; $this.$motionZ = $this.$motionZ * var$2; if ($this.$onGround) $this.$motionY = var$5 * (-0.5); $var1 = $this.$age + 1 | 0; $this.$age = $var1; if (!$this.$worldObj.$isRemote && $var1 >= 6000) $this.$isDead = 1; return; } if ($var3 < var$9.$modCount) break; $var1 = var$7 + 1 | 0; nms_EntityItem_combineItems($this, var$9.$get(var$7)); var$7 = $var1; } var$4 = new ju_ConcurrentModificationException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, $var3, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $var2, $ptr); }, nms_EntityItem_combineItems = ($this, $par1EntityItem) => { let var$2, $var2, $var3, var$5, var$6, var$7, var$8, var$9, var$10; if ($par1EntityItem === $this) return 0; var$2 = $par1EntityItem.$isDead ? 0 : 1; if (var$2 && ($this.$isDead ? 0 : 1)) { $var2 = nms_EntityItem_getEntityItem($this); $var3 = nms_EntityItem_getEntityItem($par1EntityItem); nms_Item_$callClinit(); var$5 = nms_Item_itemsList.data; if (var$5[$var3.$itemID] !== var$5[$var2.$itemID]) return 0; var$6 = $var3.$stackTagCompound; var$7 = var$6 === null ? 0 : 1; var$8 = $var2.$stackTagCompound; if (var$7 ^ (var$8 === null ? 0 : 1)) return 0; if (var$6 === null ? 0 : 1) { if (!nms_NBTBase_equals(var$6, var$8)) var$2 = 0; else { var$8 = var$8; var$6 = var$6.$tagMap; var$9 = new ju_HashMap$HashMapEntrySet; var$9.$associatedMap0 = var$6; var$8 = var$8.$tagMap; var$6 = new ju_HashMap$HashMapEntrySet; var$6.$associatedMap0 = var$8; var$2 = ju_AbstractSet_equals(var$9, var$6); } if (!var$2) return 0; } var$5 = nms_Item_itemsList.data; var$10 = $var3.$itemID; if (var$5[var$10].$hasSubtypes && $var3.$itemDamage != $var2.$itemDamage) return 0; var$2 = $var3.$stackSize; var$7 = $var2.$stackSize; if (var$2 < var$7) return nms_EntityItem_combineItems($par1EntityItem, $this); var$7 = var$2 + var$7 | 0; if (var$7 > var$5[var$10].$maxStackSize) return 0; $var3.$stackSize = var$7; var$7 = $par1EntityItem.$delayBeforeCanPickup; var$10 = $this.$delayBeforeCanPickup; if (var$7 > var$10) var$10 = var$7; $par1EntityItem.$delayBeforeCanPickup = var$10; var$7 = $par1EntityItem.$age; var$10 = $this.$age; if (var$7 < var$10) var$10 = var$7; $par1EntityItem.$age = var$10; var$6 = $par1EntityItem.$dataWatcher; $var2 = var$6.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[138]; if (var$8 === null) { var$9 = $var2.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$7 = var$8.$value0; var$5 = $var2.$elementData.data; var$9 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$7) { $var2 = var$9.$key; if (var$8 !== $var2 && !(var$8 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$9 = var$9.$next3; } } var$8 = var$9 === null ? null : var$9.$value1; if (!($var3 !== var$8.$watchedObject ? 0 : 1)) { var$8.$watchedObject = $var3; var$8.$watched = 1; var$6.$objectChanged = 1; } $var2 = $par1EntityItem.$dataWatcher; $par1EntityItem = $var2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[138]; if (var$8 === null) { $par1EntityItem = $par1EntityItem.$elementData.data[0]; while ($par1EntityItem !== null && $par1EntityItem.$key !== null) { $par1EntityItem = $par1EntityItem.$next3; } } else { var$10 = var$8.$value0; var$5 = $par1EntityItem.$elementData.data; $par1EntityItem = var$5[var$10 & (var$5.length - 1 | 0)]; while ($par1EntityItem !== null) { if ($par1EntityItem.$origKeyHash == var$10) { $var3 = $par1EntityItem.$key; if (var$8 !== $var3 && !(var$8 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } $par1EntityItem = $par1EntityItem.$next3; } } ($par1EntityItem === null ? null : $par1EntityItem.$value1).$watched = 1; $var2.$objectChanged = 1; $this.$isDead = 1; return 1; } return 0; }, nms_EntityItem_handleWaterMovement = $this => { let var$1, var$2; var$1 = $this.$worldObj; var$2 = $this.$boundingBox; nms_Material_$callClinit(); return nms_World_handleMaterialAcceleration(var$1, var$2, nms_Material_water, $this); }, nms_EntityItem_dealFireDamage = ($this, $par1) => { nms_EntityItem_attackEntityFrom($this, nms_DamageSource_inFire, $par1); }, nms_EntityItem_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let var$3; if ($this.$invulnerable) return 0; if (nms_EntityItem_getEntityItem($this) !== null) { var$3 = (nms_EntityItem_getEntityItem($this)).$itemID; nms_Item_$callClinit(); if (var$3 == nms_Item_netherStar.$itemID0 && $par1DamageSource.$explosion) return 0; } $this.$velocityChanged = 1; var$3 = $this.$health - $par2 | 0; $this.$health = var$3; if (var$3 <= 0) $this.$isDead = 1; return 0; }, nms_EntityItem_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$2 = $this.$health << 24 >> 24 << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(1266); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1266), var$4); var$2 = $this.$age << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(1867); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1867), var$4); if (nms_EntityItem_getEntityItem($this) !== null) { var$5 = nms_EntityItem_getEntityItem($this); var$4 = new nms_NBTTagCompound; var$4.$name = $rt_s(18); var$6 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$8 = var$7.data; var$6.$elementData = var$7; var$6.$loadFactor = 0.75; var$6.$threshold = var$8.length * 0.75 | 0; var$4.$tagMap = var$6; var$2 = var$5.$itemID << 16 >> 16; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(1243); var$3.$data2 = var$2; ju_HashMap_putImpl(var$6, $rt_s(1243), var$3); var$2 = var$5.$stackSize << 24 >> 24; var$9 = var$4.$tagMap; var$6 = new nms_NBTTagByte; var$6.$name = $rt_s(1271); var$6.$data = var$2; ju_HashMap_putImpl(var$9, $rt_s(1271), var$6); var$2 = var$5.$itemDamage << 16 >> 16; var$9 = var$4.$tagMap; var$6 = new nms_NBTTagShort; var$6.$name = $rt_s(1272); var$6.$data2 = var$2; ju_HashMap_putImpl(var$9, $rt_s(1272), var$6); var$3 = var$5.$stackTagCompound; if (var$3 !== null) { var$9 = var$4.$tagMap; var$3.$name = $rt_s(1273); ju_HashMap_putImpl(var$9, $rt_s(1273), var$3); } $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; var$4.$name = $rt_s(2062); ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(2062), var$4); } }, nms_EntityItem_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; a: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1266).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1266).$nativeString.length) break a; $rt_s(1266).$hashCode1 = (31 * $rt_s(1266).$hashCode1 | 0) + $rt_s(1266).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1266).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$3) { b: { var$5 = $var2.$key; if ($rt_s(1266) !== var$5) { if ($rt_s(1266) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$6 = $rt_s(1266).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$6 = 0; } else var$6 = 1; if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) var$6 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1266) !== null) { c: { if (!$rt_s(1266).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1266).$nativeString.length) break c; $rt_s(1266).$hashCode1 = (31 * $rt_s(1266).$hashCode1 | 0) + $rt_s(1266).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1266).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$3) { d: { var$5 = $var2.$key; if ($rt_s(1266) !== var$5) { if ($rt_s(1266) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$6 = $rt_s(1266).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$6 = 0; } else var$6 = 1; if (!var$6) { var$6 = 0; break d; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } var$6 = ($var2 === null ? null : $var2.$value1).$data2; } e: { $this.$health = var$6 & 255; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1867).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1867).$nativeString.length) break e; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1867).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$3) { f: { var$5 = $var2.$key; if ($rt_s(1867) !== var$5) { if ($rt_s(1867) === var$5) var$6 = 1; else if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(1867).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break f; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) var$3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1867) !== null) { g: { if (!$rt_s(1867).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1867).$nativeString.length) break g; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1867).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$3) { h: { var$5 = $var2.$key; if ($rt_s(1867) !== var$5) { if ($rt_s(1867) !== var$5) { if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(1867).$nativeString !== var$5.$nativeString ? 0 : 1; } } else var$6 = 1; if (!var$6) { var$6 = 0; break h; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } var$3 = ($var2 === null ? null : $var2.$value1).$data2; } i: { $this.$age = var$3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2062).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2062).$nativeString.length) break i; $rt_s(2062).$hashCode1 = (31 * $rt_s(2062).$hashCode1 | 0) + $rt_s(2062).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2062).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$7 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { j: { var$5 = $var2.$key; if ($rt_s(2062) !== var$5) { if ($rt_s(2062) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2062).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) { $var2 = new nms_NBTTagCompound; if ($rt_s(2062) !== null) $var2.$name = $rt_s(2062); else $var2.$name = $rt_s(18); $par1NBTTagCompound = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); $par1NBTTagCompound.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$4 = var$8.data; $par1NBTTagCompound.$elementData = var$8; $par1NBTTagCompound.$loadFactor = 0.75; $par1NBTTagCompound.$threshold = var$4.length * 0.75 | 0; $var2.$tagMap = $par1NBTTagCompound; } else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2062) === null) { var$5 = $par1NBTTagCompound.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { k: { if (!$rt_s(2062).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2062).$nativeString.length) break k; $rt_s(2062).$hashCode1 = (31 * $rt_s(2062).$hashCode1 | 0) + $rt_s(2062).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$6 = $rt_s(2062).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; var$5 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$6) { l: { $par1NBTTagCompound = var$5.$key; if ($rt_s(2062) !== $par1NBTTagCompound) { if ($rt_s(2062) === $par1NBTTagCompound) var$3 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$3 = $rt_s(2062).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$5 = var$5.$next3; } } $var2 = var$5 === null ? null : var$5.$value1; } nms_ItemStack_$callClinit(); var$5 = new nms_ItemStack; nms_ItemStack_readFromNBT(var$5, $var2); nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$5.$itemID] === null) var$5 = null; var$9 = $this.$dataWatcher; $par1NBTTagCompound = var$9.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[138]; if (var$10 === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { var$7 = var$10.$value0; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$7 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$7) { $var2 = $par1NBTTagCompound.$key; if (var$10 !== $var2 && !(var$10 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $par1NBTTagCompound = $par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1; if (!(var$5 !== $par1NBTTagCompound.$watchedObject ? 0 : 1)) { $par1NBTTagCompound.$watchedObject = var$5; $par1NBTTagCompound.$watched = 1; var$9.$objectChanged = 1; } var$9 = $this.$dataWatcher; $par1NBTTagCompound = var$9.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[138]; if (var$5 === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { var$7 = var$5.$value0; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$7 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$7) { $var2 = $par1NBTTagCompound.$key; if (var$5 !== $var2 && !(var$5 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$watched = 1; var$9.$objectChanged = 1; if (nms_EntityItem_getEntityItem($this) === null) $this.$isDead = 1; }, nms_EntityItem_onCollideWithPlayer = ($this, $par1EntityPlayer) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj.$isRemote) { $var2 = nms_EntityItem_getEntityItem($this); if (!$this.$delayBeforeCanPickup && nms_InventoryPlayer_addItemStackToInventory($par1EntityPlayer.$inventory, $var2)) { var$3 = $var2.$itemID; nms_Block_$callClinit(); if (var$3 == nms_Block_wood.$blockID) { nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat($par1EntityPlayer, nms_AchievementList_mineWood, 1); } var$3 = $var2.$itemID; nms_Item_$callClinit(); if (var$3 == nms_Item_leather.$itemID0) { nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat($par1EntityPlayer, nms_AchievementList_killCow, 1); } if ($var2.$itemID == nms_Item_diamond.$itemID0) { nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat($par1EntityPlayer, nms_AchievementList_diamonds, 1); } if ($var2.$itemID == nms_Item_blazeRod.$itemID0) { nms_AchievementList_$callClinit(); nms_EntityClientPlayerMP_addStat($par1EntityPlayer, nms_AchievementList_blazeRod, 1); } var$4 = $this.$rand; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 24)) / 1.6777216E7; var$5 = Long_and(Long_add(Long_mul(var$5, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; var$6 = ((var$6 - Long_lo(Long_shru(var$5, 24)) / 1.6777216E7) * 0.699999988079071 + 1.0) * 2.0; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2078), 0.20000000298023224, var$6); var$4 = $par1EntityPlayer.$mc4; var$7 = var$4.$effectRenderer; var$8 = new nms_EntityPickupFX; var$4 = var$4.$theWorld; var$9 = (-0.5); var$10 = $this.$posX; var$11 = $this.$posY; var$12 = $this.$posZ; var$13 = $this.$motionX; var$14 = $this.$motionY; var$15 = $this.$motionZ; $ptr = 1; continue main; } } return; case 1: nms_EntityFX__init_(var$8, var$4, var$10, var$11, var$12, var$13, var$14, var$15); if ($rt_suspending()) { break main; } var$8.$entityToPickUp = $this; var$8.$entityPickingUp = $par1EntityPlayer; var$8.$maxAge = 3; var$8.$yOffs = var$9; var$16 = var$7.$fxLayers.data; if (var$16[3].$size0 >= 4000) ju_ArrayList_remove(var$16[3], 0); $par1EntityPlayer = var$7.$fxLayers.data[3]; ju_ArrayList_ensureCapacity($par1EntityPlayer, $par1EntityPlayer.$size0 + 1 | 0); var$16 = $par1EntityPlayer.$array.data; var$17 = $par1EntityPlayer.$size0; $par1EntityPlayer.$size0 = var$17 + 1 | 0; var$16[var$17] = var$8; $par1EntityPlayer.$modCount = $par1EntityPlayer.$modCount + 1 | 0; if ($var2.$stackSize <= 0) $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_EntityItem_getEntityName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = nms_EntityItem_getEntityItem($this); nms_Item_$callClinit(); var$2 = nms_Item_itemsList.data[var$1.$itemID].$getUnlocalizedName(var$1); var$1 = new jl_StringBuilder; var$1.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$1, var$1.$length0, $rt_s(2084)); var$3 = var$1.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, var$3, var$2); var$4 = new jl_String; var$5 = var$1.$buffer; var$6 = var$5.data; var$7 = var$1.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); nms_StatCollector_$callClinit(); return nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$4); } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_EntityItem_canAttackWithItem = $this => { return 0; }, nms_EntityItem_travelToDimension = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Entity_travelToDimension($this, $par1); if ($rt_suspending()) { break main; } var$2 = $this.$worldObj; if (var$2.$isRemote) return; var$3 = $rt_cls(nms_EntityItem); var$4 = $this.$boundingBox; var$5 = var$4.$minX - 0.5; var$6 = var$4.$minY - 0.0; var$7 = var$4.$minZ - 0.5; var$8 = var$4.$maxX + 0.5; var$9 = var$4.$maxY + 0.0; var$10 = var$4.$maxZ + 0.5; var$11 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$12 = var$11.$nextPoolIndex; var$4 = var$11.$listAABB; $par1 = var$4.$size0; var$13 = $rt_compare(var$12, $par1); if (var$13 >= 0) { var$14 = new nms_AxisAlignedBB; var$14.$minX = var$5; var$14.$minY = var$6; var$14.$minZ = var$7; var$14.$maxX = var$8; var$14.$maxY = var$9; var$14.$maxZ = var$10; ju_ArrayList_ensureCapacity(var$4, $par1 + 1 | 0); var$15 = var$4.$array.data; $par1 = var$4.$size0; var$4.$size0 = $par1 + 1 | 0; var$15[$par1] = var$14; var$4.$modCount = var$4.$modCount + 1 | 0; } else if (var$12 >= 0 && var$13 < 0) { var$14 = var$4.$array.data[var$12]; var$14.$minX = var$5; var$14.$minY = var$6; var$14.$minZ = var$7; var$14.$maxX = var$8; var$14.$maxY = var$9; var$14.$maxZ = var$10; } else { var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$2); $rt_throw(var$2); } var$11.$nextPoolIndex = var$11.$nextPoolIndex + 1 | 0; var$4 = null; $ptr = 2; case 2: $tmp = nms_World_selectEntitiesWithinAABB(var$2, var$3, var$14, var$4); if ($rt_suspending()) { break main; } var$3 = $tmp; var$16 = 0; var$12 = var$3.$modCount; var$13 = var$3.$size(); while (var$16 >= var$13 ? 0 : 1) { if (var$12 < var$3.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $par1 = var$16 + 1 | 0; nms_EntityItem_combineItems($this, var$3.$get(var$16)); var$16 = $par1; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityItem_getEntityItem = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[138]; if (var$2 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$3 = var$2.$value0; var$4 = $var1.$elementData.data; $var1 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$3) { var$5 = $var1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $var1 = $var1.$next3; } } $var1 = ($var1 === null ? null : $var1.$value1).$watchedObject; if ($var1 !== null) return $var1; if ($this.$worldObj !== null) { if (jl_System_errCache === null) { $var1 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); $var1.$out0 = var$5; var$5 = new jl_StringBuilder; jl_Object__init_(var$5); var$5.$buffer = $rt_createCharArray(16); $var1.$sb = var$5; $var1.$buffer0 = $rt_createCharArray(32); $var1.$autoFlush = 0; $var1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var1; } var$6 = $this.$entityId; $var1 = new jl_StringBuilder; $var1.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(2387)); jl_AbstractStringBuilder_insert0($var1, $var1.$length0, var$6, 10); jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(2388)); var$5 = new jl_String; var$4 = $var1.$buffer; var$7 = var$4.data; var$8 = $var1.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$8); $rt_putStderr($rt_ustr(var$5)); $rt_putStderr("\n"); } else { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } } var$5 = new nms_ItemStack; nms_Block_$callClinit(); $var1 = nms_Block_stone; nms_ItemStack_$callClinit(); var$5.$itemID = $var1.$blockID; var$5.$stackSize = 1; var$5.$itemDamage = 0; return var$5; }; function nms_RenderItem() { let a = this; nms_Render.call(a); a.$itemRenderBlocks = null; a.$random0 = null; a.$renderWithColor = 0; a.$zLevel0 = 0.0; } let nms_RenderItem_RES_ITEM_GLINT = null, nms_RenderItem_renderInFrame = 0, nms_RenderItem_terrain = null, nms_RenderItem_items = null, nms_RenderItem_isRenderInProgress = 0, nms_RenderItem_$callClinit = () => { nms_RenderItem_$callClinit = $rt_eraseClinit(nms_RenderItem); nms_RenderItem__clinit_(); }, nms_RenderItem__init_0 = $this => { let var$1, var$2, var$3; nms_RenderItem_$callClinit(); nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$2 = nms_Minecraft_theMinecraft; var$1.$minecraftRB = var$2; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = var$2; $this.$itemRenderBlocks = var$1; var$1 = new nle_EaglercraftRandom; var$3 = Long_fromNumber(performance.now() * 1000000.0); var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = var$3; $this.$random0 = var$1; $this.$renderWithColor = 1; $this.$shadowSize = 0.15000000596046448; $this.$shadowOpaque = 0.75; }, nms_RenderItem__init_ = () => { let var_0 = new nms_RenderItem(); nms_RenderItem__init_0(var_0); return var_0; }, nms_RenderItem_doRenderItem = ($this, $par1EntityItem, $par2, $par4, $par6, $par8, $par9) => { let $var10, $var16, $var26, $var18, $var11, $var12, $var13, $var15, var$15, var$16, $var23, $var22, $var14, $var17, $var19, $var20, $var24, $var25, $var17_0, var$26, var$27, var$28, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();$var17_0 = $thread.pop();$var25 = $thread.pop();$var24 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var14 = $thread.pop();$var22 = $thread.pop();$var23 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var18 = $thread.pop();$var26 = $thread.pop();$var16 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityItem = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_RenderItem_$callClinit(); nms_RenderItem_isRenderInProgress = 1; $this.$random0.$seed = Long_fromInt(187); $var10 = nms_EntityItem_getEntityItem($par1EntityItem); nms_Item_$callClinit(); if (nms_Item_itemsList.data[$var10.$itemID] === null) { nms_RenderItem_isRenderInProgress = 0; return; } nleg_EaglerAdapterGL30_glPushMatrix(); $var16 = $par1EntityItem.$age + $par9; $par8 = $var16 / 10.0; $var26 = $par1EntityItem.$hoverStart; $var18 = $par8 + $var26; $var11 = nms_MathHelper_SIN_TABLE.data[($var18 * 10430.3779296875 | 0) & 65535] * 0.10000000149011612 + 0.10000000149011612; $var12 = ($var16 / 20.0 + $var26) * 57.2957763671875; $var13 = 1; if ((nms_EntityItem_getEntityItem($par1EntityItem)).$stackSize > 1) $var13 = 2; if ((nms_EntityItem_getEntityItem($par1EntityItem)).$stackSize > 5) $var13 = 3; if ((nms_EntityItem_getEntityItem($par1EntityItem)).$stackSize > 20) $var13 = 4; if ((nms_EntityItem_getEntityItem($par1EntityItem)).$stackSize > 40) $var13 = 5; $par8 = $par2; $var16 = $par4 + $var11; $var26 = $par6; $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = $par8; $var15.$y = $var16; $var15.$z = $var26; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; var$15 = new ji_ByteArrayOutputStream; var$15.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = var$15; var$15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$15, 16); $var15.$sb = var$15; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(32826); if (!nms_Item_itemsList.data[$var10.$itemID].$getSpriteNumber()) { nms_Block_$callClinit(); var$16 = nms_Block_blocksList.data; $var23 = $var10.$itemID; if (var$16[$var23] !== null && nms_RenderBlocks_renderItemIn3d(var$16[$var23].$getRenderType())) { $var22 = nms_Block_blocksList.data[$var10.$itemID]; $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = 0.0; $par1EntityItem.$y = 1.0; $par1EntityItem.$z = 0.0; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityItem.$sb = $var15; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if (nms_RenderItem_renderInFrame) { $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = 1.25; $par1EntityItem.$y = 1.25; $par1EntityItem.$z = 1.25; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityItem.$sb = $var15; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = 0.0; $par1EntityItem.$y = 0.05000000074505806; $par1EntityItem.$z = 0.0; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityItem.$sb = $var15; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = 0.0; $par1EntityItem.$y = 1.0; $par1EntityItem.$z = 0.0; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityItem.$sb = $var15; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $par1EntityItem = nms_RenderItem_terrain; $ptr = 2; continue main; } } if (nms_Item_itemsList.data[$var10.$itemID].$requiresMultipleRenderPasses()) { if (!nms_RenderItem_renderInFrame) { $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = 0.5; $var15.$y = 0.5; $var15.$z = 0.5; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; var$15 = new ji_ByteArrayOutputStream; var$15.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = var$15; var$15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$15, 16); $var15.$sb = var$15; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = 0.5128204822540283; $var15.$y = 0.5128204822540283; $var15.$z = 0.5128204822540283; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; var$15 = new ji_ByteArrayOutputStream; var$15.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = var$15; var$15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$15, 16); $var15.$sb = var$15; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = 0.0; $var15.$y = (-0.05000000074505806); $var15.$z = 0.0; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; var$15 = new ji_ByteArrayOutputStream; var$15.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = var$15; var$15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$15, 16); $var15.$sb = var$15; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var15 = nms_RenderItem_items; $ptr = 1; continue main; } if (!nms_RenderItem_renderInFrame) { $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = 0.5; $var15.$y = 0.5; $var15.$z = 0.5; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; var$15 = new ji_ByteArrayOutputStream; var$15.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = var$15; var$15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$15, 16); $var15.$sb = var$15; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = 0.5128204822540283; $var15.$y = 0.5128204822540283; $var15.$z = 0.5128204822540283; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; var$15 = new ji_ByteArrayOutputStream; var$15.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = var$15; var$15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$15, 16); $var15.$sb = var$15; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = 0.0; $var15.$y = (-0.05000000074505806); $var15.$z = 0.0; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; var$15 = new ji_ByteArrayOutputStream; var$15.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = var$15; var$15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$15, 16); $var15.$sb = var$15; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } var$15 = nms_Item_itemsList.data[$var10.$itemID].$getIconFromDamage($var10.$itemDamage); if (nms_Item_itemsList.data[$var10.$itemID].$getSpriteNumber()) { $var15 = nms_RenderItem_items; $ptr = 3; continue main; } $var15 = nms_RenderItem_terrain; $ptr = 4; continue main; case 1: nle_TextureLocation_bindTexture($var15); if ($rt_suspending()) { break main; } $var14 = 0; if ($var14 > 1) { nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nms_RenderItem_isRenderInProgress = 0; return; } $this.$random0.$seed = Long_fromInt(187); $var15 = nms_Item_itemsList.data[$var10.$itemID].$getIconFromDamageForRenderPass($var10.$itemDamage, $var14); if (!$this.$renderWithColor) { $par8 = 1.0; $var16 = 1.0; $var26 = 1.0; $ptr = 7; continue main; } $var17 = nms_Item_itemsList.data[$var10.$itemID].$getColorFromItemStack($var10, $var14); $var18 = ($var17 >> 16 & 255) / 255.0; $var19 = ($var17 >> 8 & 255) / 255.0; $var20 = ($var17 & 255) / 255.0; $par8 = $var18 * 1.0; $var26 = $var19 * 1.0; $var16 = $var20 * 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par8; nleg_EaglerAdapterGL30_colorG = $var26; nleg_EaglerAdapterGL30_colorB = $var16; nleg_EaglerAdapterGL30_colorA = 1.0; $ptr = 8; continue main; case 2: nle_TextureLocation_bindTexture($par1EntityItem); if ($rt_suspending()) { break main; } $var24 = 0.25; $var25 = $var22.$getRenderType(); if (!($var25 != 1 && $var25 != 19 && $var25 != 12 && $var25 != 2)) $var24 = 0.5; $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = $var24; $par1EntityItem.$y = $var24; $par1EntityItem.$z = $var24; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityItem.$sb = $var15; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var17_0 = 0; $var17 = 24; var$15 = $rt_s(468); var$26 = $rt_s(469); if ($var17_0 >= $var13) { nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nms_RenderItem_isRenderInProgress = 0; return; } nleg_EaglerAdapterGL30_glPushMatrix(); if ($var17_0 > 0) { $par1EntityItem = $this.$random0; var$27 = Long_and(Long_add(Long_mul($par1EntityItem.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityItem.$seed = var$27; $var18 = (Long_lo(Long_shru(var$27, $var17)) / 1.6777216E7 * 2.0 - 1.0) * 0.20000000298023224 / $var24; var$27 = Long_and(Long_add(Long_mul(var$27, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityItem.$seed = var$27; $var19 = (Long_lo(Long_shru(var$27, $var17)) / 1.6777216E7 * 2.0 - 1.0) * 0.20000000298023224 / $var24; var$28 = Long_and(Long_add(Long_mul(var$27, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityItem.$seed = var$28; $var20 = (Long_lo(Long_shru(var$28, $var17)) / 1.6777216E7 * 2.0 - 1.0) * 0.20000000298023224 / $var24; $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = $var18; $par1EntityItem.$y = $var19; $par1EntityItem.$z = $var20; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityItem.$sb = $var15; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr($rt_ustr(var$15)); $rt_putStderr($rt_ustr(var$26)); } } $var18 = 1.0; $par1EntityItem = $this.$itemRenderBlocks; $var23 = $var10.$itemDamage; $ptr = 9; continue main; case 3: nle_TextureLocation_bindTexture($var15); if ($rt_suspending()) { break main; } if (!$this.$renderWithColor) { $par8 = 1.0; $var16 = 1.0; $var26 = 1.0; $ptr = 5; continue main; } $var23 = nms_Item_itemsList.data[$var10.$itemID].$getColorFromItemStack($var10, 0); $var16 = ($var23 >> 16 & 255) / 255.0; $var26 = ($var23 >> 8 & 255) / 255.0; $var18 = ($var23 & 255) / 255.0; $par8 = $var16 * 1.0; $var16 = $var26 * 1.0; $var26 = $var18 * 1.0; $ptr = 6; continue main; case 4: nle_TextureLocation_bindTexture($var15); if ($rt_suspending()) { break main; } if (!$this.$renderWithColor) { $par8 = 1.0; $var16 = 1.0; $var26 = 1.0; $ptr = 5; continue main; } $var23 = nms_Item_itemsList.data[$var10.$itemID].$getColorFromItemStack($var10, 0); $var16 = ($var23 >> 16 & 255) / 255.0; $var26 = ($var23 >> 8 & 255) / 255.0; $var18 = ($var23 & 255) / 255.0; $par8 = $var16 * 1.0; $var16 = $var26 * 1.0; $var26 = $var18 * 1.0; $ptr = 6; continue main; case 5: nms_RenderItem_renderDroppedItem($this, $par1EntityItem, var$15, $var13, $par9, $par8, $var16, $var26); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nms_RenderItem_isRenderInProgress = 0; return; case 6: nms_RenderItem_renderDroppedItem($this, $par1EntityItem, var$15, $var13, $par9, $par8, $var16, $var26); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nms_RenderItem_isRenderInProgress = 0; return; case 7: nms_RenderItem_renderDroppedItem($this, $par1EntityItem, $var15, $var13, $par9, $par8, $var16, $var26); if ($rt_suspending()) { break main; } $var14 = $var14 + 1 | 0; if ($var14 > 1) { nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nms_RenderItem_isRenderInProgress = 0; return; } $this.$random0.$seed = Long_fromInt(187); $var15 = nms_Item_itemsList.data[$var10.$itemID].$getIconFromDamageForRenderPass($var10.$itemDamage, $var14); if (!$this.$renderWithColor) { $par8 = 1.0; $var16 = 1.0; $var26 = 1.0; continue main; } $var17 = nms_Item_itemsList.data[$var10.$itemID].$getColorFromItemStack($var10, $var14); $var18 = ($var17 >> 16 & 255) / 255.0; $var19 = ($var17 >> 8 & 255) / 255.0; $var20 = ($var17 & 255) / 255.0; $par8 = $var18 * 1.0; $var26 = $var19 * 1.0; $var16 = $var20 * 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par8; nleg_EaglerAdapterGL30_colorG = $var26; nleg_EaglerAdapterGL30_colorB = $var16; nleg_EaglerAdapterGL30_colorA = 1.0; $ptr = 8; case 8: nms_RenderItem_renderDroppedItem($this, $par1EntityItem, $var15, $var13, $par9, $par8, $var26, $var16); if ($rt_suspending()) { break main; } $var14 = $var14 + 1 | 0; if ($var14 > 1) { nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nms_RenderItem_isRenderInProgress = 0; return; } $this.$random0.$seed = Long_fromInt(187); $var15 = nms_Item_itemsList.data[$var10.$itemID].$getIconFromDamageForRenderPass($var10.$itemDamage, $var14); if (!$this.$renderWithColor) { $par8 = 1.0; $var16 = 1.0; $var26 = 1.0; $ptr = 7; continue main; } $var17 = nms_Item_itemsList.data[$var10.$itemID].$getColorFromItemStack($var10, $var14); $var18 = ($var17 >> 16 & 255) / 255.0; $var19 = ($var17 >> 8 & 255) / 255.0; $var20 = ($var17 & 255) / 255.0; $par8 = $var18 * 1.0; $var26 = $var19 * 1.0; $var16 = $var20 * 1.0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par8; nleg_EaglerAdapterGL30_colorG = $var26; nleg_EaglerAdapterGL30_colorB = $var16; nleg_EaglerAdapterGL30_colorA = 1.0; continue main; case 9: nms_RenderBlocks_renderBlockAsItem($par1EntityItem, $var22, $var23, $var18); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); $var17_0 = $var17_0 + 1 | 0; if ($var17_0 >= $var13) { nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nms_RenderItem_isRenderInProgress = 0; return; } nleg_EaglerAdapterGL30_glPushMatrix(); if ($var17_0 > 0) { $par1EntityItem = $this.$random0; var$27 = Long_and(Long_add(Long_mul($par1EntityItem.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityItem.$seed = var$27; $var18 = (Long_lo(Long_shru(var$27, $var17)) / 1.6777216E7 * 2.0 - 1.0) * 0.20000000298023224 / $var24; var$27 = Long_and(Long_add(Long_mul(var$27, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityItem.$seed = var$27; $var19 = (Long_lo(Long_shru(var$27, $var17)) / 1.6777216E7 * 2.0 - 1.0) * 0.20000000298023224 / $var24; var$28 = Long_and(Long_add(Long_mul(var$27, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityItem.$seed = var$28; $var20 = (Long_lo(Long_shru(var$28, $var17)) / 1.6777216E7 * 2.0 - 1.0) * 0.20000000298023224 / $var24; $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = $var18; $par1EntityItem.$y = $var19; $par1EntityItem.$z = $var20; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $par1EntityItem.$sb = $var15; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr($rt_ustr(var$15)); $rt_putStderr($rt_ustr(var$26)); } } $var18 = 1.0; $par1EntityItem = $this.$itemRenderBlocks; $var23 = $var10.$itemDamage; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityItem, $par2, $par4, $par6, $par8, $par9, $var10, $var16, $var26, $var18, $var11, $var12, $var13, $var15, var$15, var$16, $var23, $var22, $var14, $var17, $var19, $var20, $var24, $var25, $var17_0, var$26, var$27, var$28, $ptr); }, nms_RenderItem_renderDroppedItem = ($this, $par1EntityItem, $par2Icon, $par3, $par4, $par5, $par6, $par7) => { let $var8, var$9, $var9, $var10, $var11, $var12, $var25, var$15, var$16, $var22, $var23, var$19, $var16, var$21, $var17, var$23, $var26, $var27, var$26, var$27, $var18, $var19, $var24, $var20, var$32, var$33, var$34, var$35, var$36, var$37, var$38, var$39, var$40, var$41, var$42, var$43, var$44, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$44 = $thread.pop();var$43 = $thread.pop();var$42 = $thread.pop();var$41 = $thread.pop();var$40 = $thread.pop();var$39 = $thread.pop();var$38 = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();$var20 = $thread.pop();$var24 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();$var27 = $thread.pop();$var26 = $thread.pop();var$23 = $thread.pop();$var17 = $thread.pop();var$21 = $thread.pop();$var16 = $thread.pop();var$19 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var25 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2Icon = $thread.pop();$par1EntityItem = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_Tessellator_$callClinit(); $var8 = nlea_Tessellator_instance; if ($par2Icon === null) a: { b: { $par2Icon = $this.$renderManager.$renderEngine1; var$9 = nms_EntityItem_getEntityItem($par1EntityItem); nms_Item_$callClinit(); switch (nms_Item_itemsList.data[var$9.$itemID].$getSpriteNumber()) { case 0: break; case 1: break b; default: break b; } $par2Icon = $par2Icon.$textureMapBlocks.$missingImage; break a; } $par2Icon = $par2Icon.$textureMapItems.$missingTextureStiched; } c: { $var9 = $par2Icon.$getMinU(); $var10 = $par2Icon.$getMaxU(); $var11 = $par2Icon.$getMinV(); $var12 = $par2Icon.$getMaxV(); if (!$this.$renderManager.$options2.$fancyGraphics) { $var25 = 0; var$15 = $var9; var$16 = $var12; $var22 = var$15; $var23 = var$16; var$19 = $var10; $var16 = $var11; while (true) { if ($var25 >= $par3) break c; nleg_EaglerAdapterGL30_glPushMatrix(); if ($var25 > 0) { $par1EntityItem = $this.$random0; var$21 = Long_and(Long_add(Long_mul($par1EntityItem.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityItem.$seed = var$21; $var17 = (Long_lo(Long_shru(var$21, 24)) / 1.6777216E7 * 2.0 - 1.0) * 0.30000001192092896; var$23 = Long_and(Long_add(Long_mul(var$21, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityItem.$seed = var$23; $var26 = (Long_lo(Long_shru(var$23, 24)) / 1.6777216E7 * 2.0 - 1.0) * 0.30000001192092896; var$23 = Long_and(Long_add(Long_mul(var$23, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityItem.$seed = var$23; $var27 = (Long_lo(Long_shru(var$23, 24)) / 1.6777216E7 * 2.0 - 1.0) * 0.30000001192092896; $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = $var17; $par1EntityItem.$y = $var26; $par1EntityItem.$z = $var27; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; var$26 = new ji_ByteArrayOutputStream; var$26.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = var$26; var$26 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$26, 16); $par1EntityItem.$sb = var$26; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nms_RenderItem_$callClinit(); if (!nms_RenderItem_renderInFrame) { $par4 = 180.0 - $this.$renderManager.$playerViewY; $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = 0.0; $par1EntityItem.$y = 1.0; $par1EntityItem.$z = 0.0; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par4 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; var$26 = new ji_ByteArrayOutputStream; var$26.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = var$26; var$26 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$26, 16); $par1EntityItem.$sb = var$26; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if (!nms_RenderItem_renderInFrame) nleg_EaglerAdapterGL30_flipLightMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par5; nleg_EaglerAdapterGL30_colorG = $par6; nleg_EaglerAdapterGL30_colorB = $par7; nleg_EaglerAdapterGL30_colorA = 1.0; if ($var8.$isDrawing) nlea_Tessellator_draw($var8); $var8.$isDrawing = 1; $var8.$vertexCount = 0; $var8.$rawBufferIndex = 0; $var8.$addedVertices = 0; $var8.$drawMode = 7; $var8.$hasNormals = 0; $var8.$hasColor = 0; $var8.$hasTexture = 0; $var8.$hasBrightness = 0; $var8.$isColorDisabled = 0; nlea_Tessellator_setNormal($var8, 0.0, 1.0, 0.0); $var8.$hasTexture = 1; $var8.$textureU = $var22; $var8.$textureV = $var23; nlea_Tessellator_addVertex($var8, (-0.5), (-0.25), 0.0); $var8.$hasTexture = 1; $var8.$textureU = var$19; $var8.$textureV = $var23; nlea_Tessellator_addVertex($var8, 0.5, (-0.25), 0.0); $var8.$hasTexture = 1; $var8.$textureU = var$19; $var8.$textureV = $var16; nlea_Tessellator_addVertex($var8, 0.5, 0.75, 0.0); $var8.$hasTexture = 1; $var8.$textureU = $var22; $var8.$textureV = $var16; nlea_Tessellator_addVertex($var8, (-0.5), 0.75, 0.0); nlea_Tessellator_draw($var8); if (!nms_RenderItem_renderInFrame) nleg_EaglerAdapterGL30_flipLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); $var25 = $var25 + 1 | 0; } } nleg_EaglerAdapterGL30_glPushMatrix(); nms_RenderItem_$callClinit(); if (nms_RenderItem_renderInFrame) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$27; var$27 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$27, 16); var$9.$sb = var$27; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { $par4 = (($par1EntityItem.$age + $par4) / 20.0 + $par1EntityItem.$hoverStart) * 57.2957763671875; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par4 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$27; var$27 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$27, 16); var$9.$sb = var$27; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var16 = 0.0625; $var18 = nms_EntityItem_getEntityItem($par1EntityItem); $var19 = $var18.$stackSize; $var24 = $var19 < 2 ? 1 : $var19 < 16 ? 2 : $var19 >= 32 ? 4 : 3; $var27 = 0.08437500149011612; $var22 = -($var27 * $var24 / 2.0); $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = (-0.5); $par1EntityItem.$y = (-0.25); $par1EntityItem.$z = $var22; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par1EntityItem.$sb = var$9; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var20 = 0; $var26 = (-0.8726646304130554); $par4 = 0.1745329201221466; var$26 = $rt_s(468); var$32 = $rt_s(469); var$33 = $rt_s(468); var$34 = $rt_s(469); var$35 = $rt_s(468); var$36 = $rt_s(469); var$37 = $rt_s(468); var$38 = $rt_s(469); var$39 = $rt_s(468); var$40 = $rt_s(469); var$41 = $rt_s(468); var$42 = $rt_s(469); var$43 = $rt_s(468); var$44 = $rt_s(469); if ($var20 < $var24) { $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = 0.0; $par1EntityItem.$y = 0.0; $par1EntityItem.$z = $var27; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par1EntityItem.$sb = var$9; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr($rt_ustr(var$26)); $rt_putStderr($rt_ustr(var$32)); } nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$var18.$itemID].$getSpriteNumber()) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var18.$itemID] !== null) { $par1EntityItem = nms_RenderItem_terrain; $ptr = 2; continue main; } } $par1EntityItem = nms_RenderItem_items; $ptr = 1; continue main; } nleg_EaglerAdapterGL30_glPopMatrix(); } return; case 1: nle_TextureLocation_bindTexture($par1EntityItem); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par5; nleg_EaglerAdapterGL30_colorG = $par6; nleg_EaglerAdapterGL30_colorB = $par7; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_flipLightMatrix(); nms_ItemRenderer_renderItemIn2D($var8, $var10, $var11, $var9, $var12, $par2Icon.$getSheetWidth(), $par2Icon.$getSheetHeight(), $var16); if ($var18 !== null && nms_Item_itemsList.data[$var18.$itemID].$hasEffect($var18)) { d: { $var19 = 518; switch (514) { case 514: $var19 = 514; break d; case 515: $var19 = 518; break d; case 516: $var19 = 513; break d; default: } } if ($var19 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc($var19); nleg_EaglerAdapterGL30_currentDepthFunc = $var19; } nleg_EaglerAdapterGL30_glDisable(2896); $par1EntityItem = nms_RenderItem_RES_ITEM_GLINT; $ptr = 3; continue main; } nleg_EaglerAdapterGL30_flipLightMatrix(); $var20 = $var20 + 1 | 0; if ($var20 >= $var24) { nleg_EaglerAdapterGL30_glPopMatrix(); return; } $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = 0.0; $par1EntityItem.$y = 0.0; $par1EntityItem.$z = $var27; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par1EntityItem.$sb = var$9; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr($rt_ustr(var$26)); $rt_putStderr($rt_ustr(var$32)); } nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$var18.$itemID].$getSpriteNumber()) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var18.$itemID] !== null) { $par1EntityItem = nms_RenderItem_terrain; $ptr = 2; continue main; } } $par1EntityItem = nms_RenderItem_items; continue main; case 2: nle_TextureLocation_bindTexture($par1EntityItem); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $par5; nleg_EaglerAdapterGL30_colorG = $par6; nleg_EaglerAdapterGL30_colorB = $par7; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_flipLightMatrix(); nms_ItemRenderer_renderItemIn2D($var8, $var10, $var11, $var9, $var12, $par2Icon.$getSheetWidth(), $par2Icon.$getSheetHeight(), $var16); if ($var18 !== null && nms_Item_itemsList.data[$var18.$itemID].$hasEffect($var18)) { d: { $var19 = 518; switch (514) { case 514: $var19 = 514; break d; case 515: $var19 = 518; break d; case 516: $var19 = 513; break d; default: } } if ($var19 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc($var19); nleg_EaglerAdapterGL30_currentDepthFunc = $var19; } nleg_EaglerAdapterGL30_glDisable(2896); $par1EntityItem = nms_RenderItem_RES_ITEM_GLINT; $ptr = 3; continue main; } nleg_EaglerAdapterGL30_flipLightMatrix(); $var20 = $var20 + 1 | 0; if ($var20 >= $var24) { nleg_EaglerAdapterGL30_glPopMatrix(); return; } $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = 0.0; $par1EntityItem.$y = 0.0; $par1EntityItem.$z = $var27; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par1EntityItem.$sb = var$9; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr($rt_ustr(var$26)); $rt_putStderr($rt_ustr(var$32)); } nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$var18.$itemID].$getSpriteNumber()) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var18.$itemID] !== null) { $par1EntityItem = nms_RenderItem_terrain; continue main; } } $par1EntityItem = nms_RenderItem_items; $ptr = 1; continue main; case 3: nle_TextureLocation_bindTexture($par1EntityItem); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(768, 1); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 0.3799999952316284; nleg_EaglerAdapterGL30_colorG = 0.1899999976158142; nleg_EaglerAdapterGL30_colorB = 0.6079999804496765; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPushMatrix(); $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = 0.125; $par1EntityItem.$y = 0.125; $par1EntityItem.$z = 0.125; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par1EntityItem.$sb = var$9; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr($rt_ustr(var$33)); $rt_putStderr($rt_ustr(var$34)); } nlea_EaglerAdapterImpl2_$callClinit(); $var23 = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(3000))) / 3000.0 * 8.0; $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = $var23; $par1EntityItem.$y = 0.0; $par1EntityItem.$z = 0.0; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $par1EntityItem = new ji_ByteArrayOutputStream; $par1EntityItem.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $par1EntityItem; $par1EntityItem = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par1EntityItem, 16); var$9.$sb = $par1EntityItem; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr($rt_ustr(var$35)); $rt_putStderr($rt_ustr(var$36)); } $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = 0.0; $par1EntityItem.$y = 0.0; $par1EntityItem.$z = 1.0; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var26, nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par1EntityItem.$sb = var$9; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr($rt_ustr(var$37)); $rt_putStderr($rt_ustr(var$38)); } nms_ItemRenderer_renderItemIn2D($var8, 0.0, 0.0, 1.0, 1.0, 255, 255, $var16); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = 0.125; $par1EntityItem.$y = 0.125; $par1EntityItem.$z = 0.125; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par1EntityItem.$sb = var$9; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr($rt_ustr(var$39)); $rt_putStderr($rt_ustr(var$40)); } $var22 = -(Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(4873))) / 4873.0 * 8.0); $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = $var22; $par1EntityItem.$y = 0.0; $par1EntityItem.$z = 0.0; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par1EntityItem.$sb = var$9; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr($rt_ustr(var$41)); $rt_putStderr($rt_ustr(var$42)); } $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = 0.0; $par1EntityItem.$y = 0.0; $par1EntityItem.$z = 1.0; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par4, nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par1EntityItem.$sb = var$9; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr($rt_ustr(var$43)); $rt_putStderr($rt_ustr(var$44)); } e: { nms_ItemRenderer_renderItemIn2D($var8, 0.0, 0.0, 1.0, 1.0, 255, 255, $var16); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(2896); $par3 = 518; switch (515) { case 514: $par3 = 514; break e; case 515: $par3 = 518; break e; case 516: $par3 = 513; break e; default: } } if ($par3 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_webgl.depthFunc($par3); nleg_EaglerAdapterGL30_currentDepthFunc = $par3; } nleg_EaglerAdapterGL30_flipLightMatrix(); $var20 = $var20 + 1 | 0; if ($var20 >= $var24) { nleg_EaglerAdapterGL30_glPopMatrix(); return; } $par1EntityItem = nleg_EaglerAdapterGL30_deevis; $par1EntityItem.$x = 0.0; $par1EntityItem.$y = 0.0; $par1EntityItem.$z = $var27; $par1EntityItem = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityItem, $par1EntityItem); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityItem = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityItem); $par1EntityItem.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par1EntityItem.$sb = var$9; $par1EntityItem.$buffer0 = $rt_createCharArray(32); $par1EntityItem.$autoFlush = 0; $par1EntityItem.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityItem; } $rt_putStderr($rt_ustr(var$26)); $rt_putStderr($rt_ustr(var$32)); } nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$var18.$itemID].$getSpriteNumber()) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var18.$itemID] !== null) { $par1EntityItem = nms_RenderItem_terrain; $ptr = 2; continue main; } } $par1EntityItem = nms_RenderItem_items; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityItem, $par2Icon, $par3, $par4, $par5, $par6, $par7, $var8, var$9, $var9, $var10, $var11, $var12, $var25, var$15, var$16, $var22, $var23, var$19, $var16, var$21, $var17, var$23, $var26, $var27, var$26, var$27, $var18, $var19, $var24, $var20, var$32, var$33, var$34, var$35, var$36, var$37, var$38, var$39, var$40, var$41, var$42, var$43, var$44, $ptr); }, nms_RenderItem_renderItemIntoGUI = ($this, $par1FontRenderer, $par2TextureManager, $par3ItemStack, $par4, $par5) => { let $var6, $var7, $var16, $var9, $var10, $var11, $var12, $var13, $var14, $var18, $var17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var17 = $thread.pop();$var18 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var16 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3ItemStack = $thread.pop();$par2TextureManager = $thread.pop();$par1FontRenderer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = $par3ItemStack.$itemID; $var7 = $par3ItemStack.$itemDamage; nms_Item_$callClinit(); $var16 = nms_Item_itemsList.data[$var6].$getIconFromDamage($var7); if (!nms_Item_itemsList.data[$par3ItemStack.$itemID].$getSpriteNumber()) { nms_Block_$callClinit(); if (nms_RenderBlocks_renderItemIn3d(nms_Block_blocksList.data[$var6].$getRenderType())) { nms_TextureMap_$callClinit(); $par1FontRenderer = nms_TextureMap_locationBlocksTexture; $ptr = 2; continue main; } } if (nms_Item_itemsList.data[$var6].$requiresMultipleRenderPasses()) { nleg_EaglerAdapterGL30_glDisable(2896); nms_TextureMap_$callClinit(); $par1FontRenderer = nms_TextureMap_locationItemsTexture; $ptr = 1; continue main; } nleg_EaglerAdapterGL30_glDisable(2896); if (nms_Item_itemsList.data[$par3ItemStack.$itemID].$getSpriteNumber()) { nms_RenderItem_$callClinit(); $par1FontRenderer = nms_RenderItem_items; $ptr = 3; continue main; } nms_RenderItem_$callClinit(); $par1FontRenderer = nms_RenderItem_terrain; $ptr = 4; continue main; case 1: nle_TextureLocation_bindTexture($par1FontRenderer); if ($rt_suspending()) { break main; } $var9 = 0; while ($var9 <= 1) { $var10 = nms_Item_itemsList.data[$var6].$getIconFromDamageForRenderPass($var7, $var9); $var11 = nms_Item_itemsList.data[$var6].$getColorFromItemStack($par3ItemStack, $var9); $var12 = ($var11 >> 16 & 255) / 255.0; $var13 = ($var11 >> 8 & 255) / 255.0; $var14 = ($var11 & 255) / 255.0; if ($this.$renderWithColor) { nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var12; nleg_EaglerAdapterGL30_colorG = $var13; nleg_EaglerAdapterGL30_colorB = $var14; nleg_EaglerAdapterGL30_colorA = 1.0; } nms_RenderItem_renderIcon($this, $par4, $par5, $var10, 16, 16); $var9 = $var9 + 1 | 0; } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2884); return; case 2: nle_TextureLocation_bindTexture($par1FontRenderer); if ($rt_suspending()) { break main; } $var16 = nms_Block_blocksList.data[$var6]; nleg_EaglerAdapterGL30_glPushMatrix(); $var13 = $par4 - 2 | 0; $var14 = $par5 + 3 | 0; $var18 = (-3.0) + $this.$zLevel0; $par1FontRenderer = nleg_EaglerAdapterGL30_deevis; $par1FontRenderer.$x = $var13; $par1FontRenderer.$y = $var14; $par1FontRenderer.$z = $var18; $par1FontRenderer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1FontRenderer, $par1FontRenderer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1FontRenderer = new otcic_JSStderrPrintStream; $par2TextureManager = new ji_ByteArrayOutputStream; $par2TextureManager.$buf = $rt_createByteArray(32); $par1FontRenderer.$out0 = $par2TextureManager; $par2TextureManager = new jl_StringBuilder; $par2TextureManager.$buffer = $rt_createCharArray(16); $par1FontRenderer.$sb = $par2TextureManager; $par1FontRenderer.$buffer0 = $rt_createCharArray(32); $par1FontRenderer.$autoFlush = 0; $par1FontRenderer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1FontRenderer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1FontRenderer = nleg_EaglerAdapterGL30_deevis; $par1FontRenderer.$x = 10.0; $par1FontRenderer.$y = 10.0; $par1FontRenderer.$z = 10.0; $par1FontRenderer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1FontRenderer, $par1FontRenderer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1FontRenderer = new otcic_JSStderrPrintStream; $par2TextureManager = new ji_ByteArrayOutputStream; $par2TextureManager.$buf = $rt_createByteArray(32); $par1FontRenderer.$out0 = $par2TextureManager; $par2TextureManager = new jl_StringBuilder; $par2TextureManager.$buffer = $rt_createCharArray(16); $par1FontRenderer.$sb = $par2TextureManager; $par1FontRenderer.$buffer0 = $rt_createCharArray(32); $par1FontRenderer.$autoFlush = 0; $par1FontRenderer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1FontRenderer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1FontRenderer = nleg_EaglerAdapterGL30_deevis; $par1FontRenderer.$x = 1.0; $par1FontRenderer.$y = 0.5; $par1FontRenderer.$z = 1.0; $par1FontRenderer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1FontRenderer, $par1FontRenderer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1FontRenderer = new otcic_JSStderrPrintStream; $par2TextureManager = new ji_ByteArrayOutputStream; $par2TextureManager.$buf = $rt_createByteArray(32); $par1FontRenderer.$out0 = $par2TextureManager; $par2TextureManager = new jl_StringBuilder; $par2TextureManager.$buffer = $rt_createCharArray(16); $par1FontRenderer.$sb = $par2TextureManager; $par1FontRenderer.$buffer0 = $rt_createCharArray(32); $par1FontRenderer.$autoFlush = 0; $par1FontRenderer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1FontRenderer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1FontRenderer = nleg_EaglerAdapterGL30_deevis; $par1FontRenderer.$x = 1.0; $par1FontRenderer.$y = 1.0; $par1FontRenderer.$z = (-1.0); $par1FontRenderer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1FontRenderer, $par1FontRenderer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1FontRenderer = new otcic_JSStderrPrintStream; $par2TextureManager = new ji_ByteArrayOutputStream; $par2TextureManager.$buf = $rt_createByteArray(32); $par1FontRenderer.$out0 = $par2TextureManager; $par2TextureManager = new jl_StringBuilder; $par2TextureManager.$buffer = $rt_createCharArray(16); $par1FontRenderer.$sb = $par2TextureManager; $par1FontRenderer.$buffer0 = $rt_createCharArray(32); $par1FontRenderer.$autoFlush = 0; $par1FontRenderer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1FontRenderer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1FontRenderer = nleg_EaglerAdapterGL30_deevis; $par1FontRenderer.$x = 1.0; $par1FontRenderer.$y = 0.0; $par1FontRenderer.$z = 0.0; $par1FontRenderer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.665191411972046, nleg_EaglerAdapterGL30_deevis, $par1FontRenderer, $par1FontRenderer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1FontRenderer = new otcic_JSStderrPrintStream; $par2TextureManager = new ji_ByteArrayOutputStream; $par2TextureManager.$buf = $rt_createByteArray(32); $par1FontRenderer.$out0 = $par2TextureManager; $par2TextureManager = new jl_StringBuilder; $par2TextureManager.$buffer = $rt_createCharArray(16); $par1FontRenderer.$sb = $par2TextureManager; $par1FontRenderer.$buffer0 = $rt_createCharArray(32); $par1FontRenderer.$autoFlush = 0; $par1FontRenderer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1FontRenderer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1FontRenderer = nleg_EaglerAdapterGL30_deevis; $par1FontRenderer.$x = 0.0; $par1FontRenderer.$y = 1.0; $par1FontRenderer.$z = 0.0; $par1FontRenderer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.7853981852531433, nleg_EaglerAdapterGL30_deevis, $par1FontRenderer, $par1FontRenderer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1FontRenderer = new otcic_JSStderrPrintStream; $par2TextureManager = new ji_ByteArrayOutputStream; $par2TextureManager.$buf = $rt_createByteArray(32); $par1FontRenderer.$out0 = $par2TextureManager; $par2TextureManager = new jl_StringBuilder; $par2TextureManager.$buffer = $rt_createCharArray(16); $par1FontRenderer.$sb = $par2TextureManager; $par1FontRenderer.$buffer0 = $rt_createCharArray(32); $par1FontRenderer.$autoFlush = 0; $par1FontRenderer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1FontRenderer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var17 = nms_Item_itemsList.data[$var6].$getColorFromItemStack($par3ItemStack, 0); $var18 = ($var17 >> 16 & 255) / 255.0; $var12 = ($var17 >> 8 & 255) / 255.0; $var13 = ($var17 & 255) / 255.0; if ($this.$renderWithColor) { nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var18; nleg_EaglerAdapterGL30_colorG = $var12; nleg_EaglerAdapterGL30_colorB = $var13; nleg_EaglerAdapterGL30_colorA = 1.0; } $par1FontRenderer = nleg_EaglerAdapterGL30_deevis; $par1FontRenderer.$x = 0.0; $par1FontRenderer.$y = 1.0; $par1FontRenderer.$z = 0.0; $par1FontRenderer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-1.5707963705062866), nleg_EaglerAdapterGL30_deevis, $par1FontRenderer, $par1FontRenderer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1FontRenderer = new otcic_JSStderrPrintStream; $par2TextureManager = new ji_ByteArrayOutputStream; $par2TextureManager.$buf = $rt_createByteArray(32); $par1FontRenderer.$out0 = $par2TextureManager; $par2TextureManager = new jl_StringBuilder; $par2TextureManager.$buffer = $rt_createCharArray(16); $par1FontRenderer.$sb = $par2TextureManager; $par1FontRenderer.$buffer0 = $rt_createCharArray(32); $par1FontRenderer.$autoFlush = 0; $par1FontRenderer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1FontRenderer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1FontRenderer = $this.$itemRenderBlocks; $par1FontRenderer.$useInventoryTint = $this.$renderWithColor; $var13 = 1.0; $ptr = 5; continue main; case 3: nle_TextureLocation_bindTexture($par1FontRenderer); if ($rt_suspending()) { break main; } if ($var16 === null) a: { b: { switch (nms_Item_itemsList.data[$par3ItemStack.$itemID].$getSpriteNumber()) { case 0: break; case 1: break b; default: break b; } $var16 = $par2TextureManager.$textureMapBlocks.$missingImage; break a; } $var16 = $par2TextureManager.$textureMapItems.$missingTextureStiched; } $var17 = nms_Item_itemsList.data[$var6].$getColorFromItemStack($par3ItemStack, 0); $var18 = ($var17 >> 16 & 255) / 255.0; $var12 = ($var17 >> 8 & 255) / 255.0; $var13 = ($var17 & 255) / 255.0; if ($this.$renderWithColor) { nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var18; nleg_EaglerAdapterGL30_colorG = $var12; nleg_EaglerAdapterGL30_colorB = $var13; nleg_EaglerAdapterGL30_colorA = 1.0; } nms_RenderItem_renderIcon($this, $par4, $par5, $var16, 16, 16); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2884); return; case 4: nle_TextureLocation_bindTexture($par1FontRenderer); if ($rt_suspending()) { break main; } if ($var16 === null) a: { b: { switch (nms_Item_itemsList.data[$par3ItemStack.$itemID].$getSpriteNumber()) { case 0: break; case 1: break b; default: break b; } $var16 = $par2TextureManager.$textureMapBlocks.$missingImage; break a; } $var16 = $par2TextureManager.$textureMapItems.$missingTextureStiched; } $var17 = nms_Item_itemsList.data[$var6].$getColorFromItemStack($par3ItemStack, 0); $var18 = ($var17 >> 16 & 255) / 255.0; $var12 = ($var17 >> 8 & 255) / 255.0; $var13 = ($var17 & 255) / 255.0; if ($this.$renderWithColor) { nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = $var18; nleg_EaglerAdapterGL30_colorG = $var12; nleg_EaglerAdapterGL30_colorB = $var13; nleg_EaglerAdapterGL30_colorA = 1.0; } nms_RenderItem_renderIcon($this, $par4, $par5, $var16, 16, 16); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2884); return; case 5: nms_RenderBlocks_renderBlockAsItem($par1FontRenderer, $var16, $var7, $var13); if ($rt_suspending()) { break main; } $this.$itemRenderBlocks.$useInventoryTint = 1; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glEnable(2884); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1FontRenderer, $par2TextureManager, $par3ItemStack, $par4, $par5, $var6, $var7, $var16, $var9, $var10, $var11, $var12, $var13, $var14, $var18, $var17, $ptr); }, nms_RenderItem_renderItemAndEffectIntoGUI = ($this, $par1FontRenderer, $par2TextureManager, $par3ItemStack, $par4, $par5) => { let var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3ItemStack = $thread.pop();$par2TextureManager = $thread.pop();$par1FontRenderer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par3ItemStack === null) return; $ptr = 1; case 1: nms_RenderItem_renderItemIntoGUI($this, $par1FontRenderer, $par2TextureManager, $par3ItemStack, $par4, $par5); if ($rt_suspending()) { break main; } nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$par3ItemStack.$itemID].$hasEffect($par3ItemStack)) return; a: { nleg_EaglerAdapterGL30_$callClinit(); var$6 = 518; switch (516) { case 514: var$6 = 514; break a; case 515: var$6 = 518; break a; case 516: var$6 = 513; break a; default: } } if (var$6 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc(var$6); nleg_EaglerAdapterGL30_currentDepthFunc = var$6; } nleg_EaglerAdapterGL30_glDisable(2896); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } $par1FontRenderer = nms_RenderItem_RES_ITEM_GLINT; $ptr = 2; case 2: nle_TextureLocation_bindTexture($par1FontRenderer); if ($rt_suspending()) { break main; } $this.$zLevel0 = $this.$zLevel0 - 50.0; nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(774, 774); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 0.5; nleg_EaglerAdapterGL30_colorG = 0.25; nleg_EaglerAdapterGL30_colorB = 0.800000011920929; nleg_EaglerAdapterGL30_colorA = 1.0; nms_RenderItem_renderGlint($this, $rt_imul($par4, 431278612) + $rt_imul($par5, 32178161) | 0, $par4 - 2 | 0, $par5 - 2 | 0, 20, 20); nleg_EaglerAdapterGL30_glDisable(3042); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } a: { $this.$zLevel0 = $this.$zLevel0 + 50.0; nleg_EaglerAdapterGL30_glEnable(2896); $par5 = 518; switch (515) { case 514: $par5 = 514; break a; case 515: $par5 = 518; break a; case 516: $par5 = 513; break a; default: } } if ($par5 != nleg_EaglerAdapterGL30_currentDepthFunc) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthFunc($par5); nleg_EaglerAdapterGL30_currentDepthFunc = $par5; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1FontRenderer, $par2TextureManager, $par3ItemStack, $par4, $par5, var$6, $ptr); }, nms_RenderItem_renderGlint = ($this, $par1, $par2, $par3, $par4, $par5) => { let $var6, var$7, var$8, var$9, var$10, var$11, $var8, var$13, var$14, $var9, $var11, $var12, var$18, var$19, var$20; $var6 = 0; var$7 = $par2 + 0 | 0; var$8 = $par3 + $par5 | 0; var$9 = $par5; var$10 = (0.0 + var$9) * 0.00390625; var$11 = $par2 + $par4 | 0; $var8 = $par4; var$13 = $par3 + 0 | 0; while ($var6 < 2) { if (!$var6) nleg_EaglerAdapterGL30_glBlendFunc(768, 1); $par3 = $rt_compare($var6, 1); if (!$par3) nleg_EaglerAdapterGL30_glBlendFunc(768, 1); nlea_EaglerAdapterImpl2_$callClinit(); var$14 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par2 = $var6 * 1873 | 0; $var9 = Long_toNumber(Long_rem(var$14, Long_fromInt(3000 + $par2 | 0))) / (3000.0 + $par2) * 256.0; nlea_Tessellator_$callClinit(); $var11 = nlea_Tessellator_instance; $var12 = 4.0; if (!$par3) $var12 = (-1.0); if ($var11.$isDrawing) nlea_Tessellator_draw($var11); $var11.$isDrawing = 1; $var11.$vertexCount = 0; $var11.$rawBufferIndex = 0; $var11.$addedVertices = 0; $var11.$drawMode = 7; $var11.$hasNormals = 0; $var11.$hasColor = 0; $var11.$hasTexture = 0; $var11.$hasBrightness = 0; $var11.$isColorDisabled = 0; var$18 = $this.$zLevel0; $var12 = var$9 * $var12; var$19 = ($var9 + $var12) * 0.00390625; $var11.$hasTexture = 1; $var11.$textureU = var$19; $var11.$textureV = var$10; nlea_Tessellator_addVertex($var11, var$7, var$8, var$18); var$18 = $this.$zLevel0; var$20 = $var9 + $var8; var$19 = (var$20 + $var12) * 0.00390625; $var11.$hasTexture = 1; $var11.$textureU = var$19; $var11.$textureV = var$10; nlea_Tessellator_addVertex($var11, var$11, var$8, var$18); var$19 = $this.$zLevel0; var$18 = var$20 * 0.00390625; $var11.$hasTexture = 1; $var11.$textureU = var$18; $var11.$textureV = 0.0; nlea_Tessellator_addVertex($var11, var$11, var$13, var$19); var$19 = $this.$zLevel0; var$18 = ($var9 + 0.0) * 0.00390625; $var11.$hasTexture = 1; $var11.$textureU = var$18; $var11.$textureV = 0.0; nlea_Tessellator_addVertex($var11, var$7, var$13, var$19); nlea_Tessellator_draw($var11); $var6 = $var6 + 1 | 0; } }, nms_RenderItem_renderItemOverlayIntoGUI = ($this, $par1FontRenderer, $par2TextureManager, $par3ItemStack, $par4, $par5, $var7) => { let $var8, var$8, $var12, var$10, $var9, $var11, $var10, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var10 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();var$10 = $thread.pop();$var12 = $thread.pop();var$8 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3ItemStack = $thread.pop();$par2TextureManager = $thread.pop();$par1FontRenderer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($par3ItemStack !== null) { $var8 = $par3ItemStack.$stackSize; if ($var8 > 1) break a; if ($var7 !== null) break a; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data; $var8 = $par3ItemStack.$itemID; $var12 = var$8[$var8].$maxDamage <= 0 ? 0 : 1; if ($var12 && $par3ItemStack.$itemDamage > 0 ? 1 : 0) { var$10 = 13.0 - $par3ItemStack.$itemDamage * 13.0 / var$8[$var8].$maxDamage; $var12 = Long_lo(Long_fromNumber(var$10 + jl_Math_sign(var$10) * 0.5)); var$10 = 255.0 - $par3ItemStack.$itemDamage * 255.0 / nms_Item_itemsList.data[$par3ItemStack.$itemID].$maxDamage; $var8 = Long_lo(Long_fromNumber(var$10 + jl_Math_sign(var$10) * 0.5)); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2929); nleg_EaglerAdapterGL30_glDisable(3553); nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; $var11 = 255 - $var8 | 0; $var10 = $var11 << 16 | $var8 << 8; $var11 = ($var11 / 4 | 0) << 16 | 16128; $par4 = $par4 + 2 | 0; var$14 = $par5 + 13 | 0; nms_RenderItem_renderQuad($this, $var9, $par4, var$14, 13, 2, 0); nms_RenderItem_renderQuad($this, $var9, $par4, var$14, 12, 1, $var11); nms_RenderItem_renderQuad($this, $var9, $par4, var$14, $var12, 1, $var10); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; } } return; } if ($var7 === null) { $par2TextureManager = new jl_StringBuilder; $par2TextureManager.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($par2TextureManager, $par2TextureManager.$length0, $var8, 10); $var7 = new jl_String; var$8 = $par2TextureManager.$buffer; var$15 = var$8.data; $var8 = $par2TextureManager.$length0; $var11 = var$15.length; if ($var8 >= 0 && $var8 <= ($var11 - 0 | 0)) $var7.$nativeString = $rt_charArrayToString(var$8.data, 0, $var8); else { $par1FontRenderer = new jl_IndexOutOfBoundsException; $par1FontRenderer.$suppressionEnabled = 1; $par1FontRenderer.$writableStackTrace = 1; $rt_throw($par1FontRenderer); } } nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2929); $var10 = (($par4 + 19 | 0) - 2 | 0) - nms_FontRenderer_getStringWidth($par1FontRenderer, $var7) | 0; var$14 = ($par5 + 6 | 0) + 3 | 0; var$16 = 16777215; $par1FontRenderer.$randomStyle = 0; $par1FontRenderer.$boldStyle = 0; $par1FontRenderer.$italicStyle = 0; $par1FontRenderer.$underlineStyle = 0; $par1FontRenderer.$strikethroughStyle = 0; $var12 = $var10 + 1 | 0; $var8 = var$14 + 1 | 0; $var11 = 1; $ptr = 1; case 1: $tmp = nms_FontRenderer_renderString($par1FontRenderer, $var7, $var12, $var8, var$16, $var11); if ($rt_suspending()) { break main; } $var8 = $tmp; $var12 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($par1FontRenderer, $var7, $var10, var$14, var$16, $var12); if ($rt_suspending()) { break main; } $var12 = $tmp; nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data; $var8 = $par3ItemStack.$itemID; $var12 = var$8[$var8].$maxDamage <= 0 ? 0 : 1; if ($var12 && $par3ItemStack.$itemDamage > 0 ? 1 : 0) { var$10 = 13.0 - $par3ItemStack.$itemDamage * 13.0 / var$8[$var8].$maxDamage; $var12 = Long_lo(Long_fromNumber(var$10 + jl_Math_sign(var$10) * 0.5)); var$10 = 255.0 - $par3ItemStack.$itemDamage * 255.0 / nms_Item_itemsList.data[$par3ItemStack.$itemID].$maxDamage; $var8 = Long_lo(Long_fromNumber(var$10 + jl_Math_sign(var$10) * 0.5)); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2929); nleg_EaglerAdapterGL30_glDisable(3553); nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; $var11 = 255 - $var8 | 0; $var10 = $var11 << 16 | $var8 << 8; $var11 = ($var11 / 4 | 0) << 16 | 16128; $par4 = $par4 + 2 | 0; var$14 = $par5 + 13 | 0; nms_RenderItem_renderQuad($this, $var9, $par4, var$14, 13, 2, 0); nms_RenderItem_renderQuad($this, $var9, $par4, var$14, 12, 1, $var11); nms_RenderItem_renderQuad($this, $var9, $par4, var$14, $var12, 1, $var10); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1FontRenderer, $par2TextureManager, $par3ItemStack, $par4, $par5, $var7, $var8, var$8, $var12, var$10, $var9, $var11, $var10, var$14, var$15, var$16, $ptr); }, nms_RenderItem_renderQuad = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6) => { let var$7, var$8, var$9; if ($par1Tessellator.$isDrawing) nlea_Tessellator_draw($par1Tessellator); $par1Tessellator.$isDrawing = 1; $par1Tessellator.$vertexCount = 0; $par1Tessellator.$rawBufferIndex = 0; $par1Tessellator.$addedVertices = 0; $par1Tessellator.$drawMode = 7; $par1Tessellator.$hasNormals = 0; $par1Tessellator.$hasColor = 0; $par1Tessellator.$hasTexture = 0; $par1Tessellator.$hasBrightness = 0; $par1Tessellator.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($par1Tessellator, ($par6 >>> 16 | 0) & 255, ($par6 >>> 8 | 0) & 255, $par6 & 255, 255); var$7 = $par2 + 0 | 0; var$8 = $par3 + 0 | 0; nlea_Tessellator_addVertex($par1Tessellator, var$7, var$8, 0.0); var$9 = $par3 + $par5 | 0; nlea_Tessellator_addVertex($par1Tessellator, var$7, var$9, 0.0); var$7 = $par2 + $par4 | 0; nlea_Tessellator_addVertex($par1Tessellator, var$7, var$9, 0.0); nlea_Tessellator_addVertex($par1Tessellator, var$7, var$8, 0.0); nlea_Tessellator_draw($par1Tessellator); }, nms_RenderItem_renderIcon = ($this, $par1, $par2, $par3Icon, $par4, $par5) => { let $var6, var$7, var$8, var$9, var$10, var$11, var$12; nlea_Tessellator_$callClinit(); $var6 = nlea_Tessellator_instance; if ($var6.$isDrawing) nlea_Tessellator_draw($var6); $var6.$isDrawing = 1; $var6.$vertexCount = 0; $var6.$rawBufferIndex = 0; $var6.$addedVertices = 0; $var6.$drawMode = 7; $var6.$hasNormals = 0; $var6.$hasColor = 0; $var6.$hasTexture = 0; $var6.$hasBrightness = 0; $var6.$isColorDisabled = 0; var$7 = $par1 + 0 | 0; var$8 = $par2 + $par5 | 0; var$9 = $this.$zLevel0; var$10 = $par3Icon.$getMinU(); var$11 = $par3Icon.$getMaxV(); $var6.$hasTexture = 1; $var6.$textureU = var$10; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, var$7, var$8, var$9); var$9 = $par1 + $par4 | 0; var$10 = $this.$zLevel0; var$11 = $par3Icon.$getMaxU(); var$12 = $par3Icon.$getMaxV(); $var6.$hasTexture = 1; $var6.$textureU = var$11; $var6.$textureV = var$12; nlea_Tessellator_addVertex($var6, var$9, var$8, var$10); var$8 = $par2 + 0 | 0; var$10 = $this.$zLevel0; var$11 = $par3Icon.$getMaxU(); var$12 = $par3Icon.$getMinV(); $var6.$hasTexture = 1; $var6.$textureU = var$11; $var6.$textureV = var$12; nlea_Tessellator_addVertex($var6, var$9, var$8, var$10); var$9 = $this.$zLevel0; var$10 = $par3Icon.$getMinU(); var$11 = $par3Icon.$getMinV(); $var6.$hasTexture = 1; $var6.$textureU = var$10; $var6.$textureV = var$11; nlea_Tessellator_addVertex($var6, var$7, var$8, var$9); nlea_Tessellator_draw($var6); }, nms_RenderItem_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderItem_doRenderItem($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderItem__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1434); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderItem_RES_ITEM_GLINT = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1180); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderItem_terrain = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1181); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderItem_items = var$1; nms_RenderItem_isRenderInProgress = 0; }; function nms_EntityXPOrb() { let a = this; nms_Entity.call(a); a.$xpColor = 0; a.$xpOrbAge = 0; a.$field_70532_c = 0; a.$xpOrbHealth = 0; a.$xpValue = 0; a.$closestPlayer = null; a.$xpTargetColor = 0; } let nms_EntityXPOrb__init_ = ($this, $par1World, $par2, $par4, $par6, $par8) => { let var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity__init_($this, $par1World); $this.$xpOrbHealth = 5; var$6 = 0.5; var$7 = 0.5; $ptr = 1; case 1: nms_Entity_setSize($this, var$6, var$7); if ($rt_suspending()) { break main; } $this.$yOffset = $this.$height2 / 2.0; nms_Entity_setPosition($this, $par2, $par4, $par6); $this.$rotationYaw = jl_Math_randomImpl() * 360.0; $this.$motionX = (jl_Math_randomImpl() * 0.20000000298023224 - 0.10000000149011612) * 2.0; $this.$motionY = jl_Math_randomImpl() * 0.2 * 2.0; $this.$motionZ = (jl_Math_randomImpl() * 0.20000000298023224 - 0.10000000149011612) * 2.0; $this.$xpValue = $par8; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, var$6, var$7, $ptr); }, nms_EntityXPOrb__init_0 = (var_0, var_1, var_2, var_3, var_4) => { let var_5 = new nms_EntityXPOrb(); nms_EntityXPOrb__init_(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; }, nms_EntityXPOrb_canTriggerWalking = $this => { return 0; }, nms_EntityXPOrb_entityInit = $this => { return; }, nms_EntityXPOrb_getBrightnessForRender = ($this, $par1) => { let $var3, $var4, $var5; $var3 = nms_Entity_getBrightnessForRender($this, $par1); $var4 = $var3 & 255; $var5 = $var3 >> 16 & 255; $var3 = $var4 + 120 | 0; if ($var3 > 240) $var3 = 240; return $var3 | $var5 << 16; }, nms_EntityXPOrb_onUpdate = $this => { let $var4, $var3, $var5, $var7, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $var13, var$13, var$14, $var1, $var9, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var1 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var13 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Entity_onEntityUpdate($this); if ($rt_suspending()) { break main; } $var4 = $this.$field_70532_c; if ($var4 > 0) $this.$field_70532_c = $var4 - 1 | 0; $var3 = $this.$posX; $this.$prevPosX = $var3; $var5 = $this.$posY; $this.$prevPosY = $var5; $var7 = $this.$posZ; $this.$prevPosZ = $var7; $this.$motionY = $this.$motionY - 0.029999999329447746; var$5 = $this.$worldObj; var$6 = $var3 | 0; if ($var3 < var$6) var$6 = var$6 - 1 | 0; var$7 = $var5 | 0; if ($var5 < var$7) var$7 = var$7 - 1 | 0; var$8 = $var7 | 0; if ($var7 < var$8) var$8 = var$8 - 1 | 0; $var4 = nms_World_getBlockId(var$5, var$6, var$7, var$8); if (!$var4) { nms_Material_$callClinit(); var$9 = nms_Material_air; } else { nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var4].$blockMaterial; } nms_Material_$callClinit(); if (var$9 === nms_Material_lava) { $this.$motionY = 0.20000000298023224; var$5 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7; var$10 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$10; $this.$motionX = (var$11 - Long_lo(Long_shru(var$10, 24)) / 1.6777216E7) * 0.20000000298023224; var$10 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$10; $var13 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$13; $this.$motionZ = ($var13 - Long_lo(Long_shru(var$13, 24)) / 1.6777216E7) * 0.20000000298023224; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$13; var$14 = 2.0 + Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * 0.4000000059604645; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(1239), 0.4000000059604645, var$14); } $var1 = $this.$posX; var$5 = $this.$boundingBox; $var3 = (var$5.$minY + var$5.$maxY) / 2.0; $var5 = $this.$posZ; $ptr = 2; case 2: nms_Entity_pushOutOfBlocks($this, $var1, $var3, $var5); if ($rt_suspending()) { break main; } if ($this.$xpTargetColor < (($this.$xpColor - 20 | 0) + ($this.$entityId % 100 | 0) | 0)) { a: { var$5 = $this.$closestPlayer; if (var$5 !== null) { $var3 = var$5.$posX - $this.$posX; $var5 = var$5.$posY - $this.$posY; $var7 = var$5.$posZ - $this.$posZ; if ($var3 * $var3 + $var5 * $var5 + $var7 * $var7 <= 64.0) break a; } $this.$closestPlayer = nms_World_getClosestPlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 8.0); } $this.$xpTargetColor = $this.$xpColor; } var$5 = $this.$closestPlayer; if (var$5 !== null) { $var3 = (var$5.$posX - $this.$posX) / 8.0; $var5 = (var$5.$posY + var$5.$getEyeHeight() - $this.$posY) / 8.0; $var7 = ($this.$closestPlayer.$posZ - $this.$posZ) / 8.0; $var9 = jl_Math_sqrt($var3 * $var3 + $var5 * $var5 + $var7 * $var7); $var11 = 1.0 - $var9; if ($var11 > 0.0) { $var1 = $var11 * $var11; $this.$motionX = $this.$motionX + $var3 / $var9 * $var1 * 0.1; $this.$motionY = $this.$motionY + $var5 / $var9 * $var1 * 0.1; $this.$motionZ = $this.$motionZ + $var7 / $var9 * $var1 * 0.1; } } $var1 = $this.$motionX; $var3 = $this.$motionY; $var5 = $this.$motionZ; $ptr = 3; case 3: nms_Entity_moveEntity($this, $var1, $var3, $var5); if ($rt_suspending()) { break main; } $var13 = 0.9800000190734863; if ($this.$onGround) { $var13 = 0.5880000591278076; var$5 = $this.$worldObj; $var1 = $this.$posX; var$6 = $var1 | 0; if ($var1 < var$6) var$6 = var$6 - 1 | 0; $var1 = $this.$boundingBox.$minY; var$8 = $var1 | 0; if ($var1 < var$8) var$8 = var$8 - 1 | 0; $var4 = var$8 - 1 | 0; $var1 = $this.$posZ; var$7 = $var1 | 0; if ($var1 < var$7) var$7 = var$7 - 1 | 0; $var4 = nms_World_getBlockId(var$5, var$6, $var4, var$7); if ($var4 > 0) { nms_Block_$callClinit(); $var13 = nms_Block_blocksList.data[$var4].$slipperiness * 0.9800000190734863; } } $var1 = $this.$motionX; $var3 = $var13; $this.$motionX = $var1 * $var3; $var1 = $this.$motionY * 0.9800000190734863; $this.$motionY = $var1; $this.$motionZ = $this.$motionZ * $var3; if ($this.$onGround) $this.$motionY = $var1 * (-0.8999999761581421); $this.$xpColor = $this.$xpColor + 1 | 0; $var4 = $this.$xpOrbAge + 1 | 0; $this.$xpOrbAge = $var4; if ($var4 >= 6000) $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var4, $var3, $var5, $var7, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $var13, var$13, var$14, $var1, $var9, $var11, $ptr); }, nms_EntityXPOrb_handleWaterMovement = $this => { let var$1, var$2; var$1 = $this.$worldObj; var$2 = $this.$boundingBox; nms_Material_$callClinit(); return nms_World_handleMaterialAcceleration(var$1, var$2, nms_Material_water, $this); }, nms_EntityXPOrb_dealFireDamage = ($this, $par1) => { let var$2; var$2 = $par1; if (!$this.$invulnerable) { $this.$velocityChanged = 1; $par1 = $this.$xpOrbHealth - var$2 | 0; $this.$xpOrbHealth = $par1; if ($par1 <= 0) $this.$isDead = 1; } }, nms_EntityXPOrb_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let var$3; if ($this.$invulnerable) return 0; $this.$velocityChanged = 1; var$3 = $this.$xpOrbHealth - $par2 | 0; $this.$xpOrbHealth = var$3; if (var$3 <= 0) $this.$isDead = 1; return 0; }, nms_EntityXPOrb_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4; var$2 = $this.$xpOrbHealth << 24 >> 24 << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(1266); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1266), var$4); var$2 = $this.$xpOrbAge << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(1867); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(1867), var$4); var$2 = $this.$xpValue << 16 >> 16; var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagShort; $par1NBTTagCompound.$name = $rt_s(2389); $par1NBTTagCompound.$data2 = var$2; ju_HashMap_putImpl(var$4, $rt_s(2389), $par1NBTTagCompound); }, nms_EntityXPOrb_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1266).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1266).$nativeString.length) break a; $rt_s(1266).$hashCode1 = (31 * $rt_s(1266).$hashCode1 | 0) + $rt_s(1266).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1266).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(1266) !== var$6) { if ($rt_s(1266) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(1266).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1266) === null) { var$7 = var$2.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { c: { if (!$rt_s(1266).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1266).$nativeString.length) break c; $rt_s(1266).$hashCode1 = (31 * $rt_s(1266).$hashCode1 | 0) + $rt_s(1266).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$3 = $rt_s(1266).$hashCode1; var$5 = var$2.$elementData.data; var$7 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$3) { d: { var$2 = var$7.$key; if ($rt_s(1266) !== var$2) { if ($rt_s(1266) === var$2) var$4 = 1; else if (!(var$2 instanceof jl_String)) var$4 = 0; else { var$2 = var$2; var$4 = $rt_s(1266).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$7 = var$7.$next3; } } var$3 = (var$7 === null ? null : var$7.$value1).$data2; } e: { $this.$xpOrbHealth = var$3 & 255; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1867).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1867).$nativeString.length) break e; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(1867).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { f: { var$6 = var$2.$key; if ($rt_s(1867) !== var$6) { if ($rt_s(1867) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(1867).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break f; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$4 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1867) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { g: { if (!$rt_s(1867).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1867).$nativeString.length) break g; $rt_s(1867).$hashCode1 = (31 * $rt_s(1867).$hashCode1 | 0) + $rt_s(1867).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(1867).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { h: { var$6 = var$2.$key; if ($rt_s(1867) !== var$6) { if ($rt_s(1867) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(1867).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break h; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$4 = (var$2 === null ? null : var$2.$value1).$data2; } i: { $this.$xpOrbAge = var$4; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2389).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2389).$nativeString.length) break i; $rt_s(2389).$hashCode1 = (31 * $rt_s(2389).$hashCode1 | 0) + $rt_s(2389).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2389).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { j: { var$6 = var$2.$key; if ($rt_s(2389) !== var$6) { if ($rt_s(2389) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2389).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break j; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$4 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2389) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { k: { if (!$rt_s(2389).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2389).$nativeString.length) break k; $rt_s(2389).$hashCode1 = (31 * $rt_s(2389).$hashCode1 | 0) + $rt_s(2389).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2389).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$8 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$8) { l: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(2389) !== var$2) { if ($rt_s(2389) === var$2) var$4 = 1; else if (!(var$2 instanceof jl_String)) var$4 = 0; else { var$2 = var$2; var$4 = $rt_s(2389).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break l; } } var$4 = 1; } if (var$4) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$4 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data2; } $this.$xpValue = var$4; }, nms_EntityXPOrb_onCollideWithPlayer = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$worldObj; if (!var$2.$isRemote && !$this.$field_70532_c && !$par1EntityPlayer.$xpCooldown) { $par1EntityPlayer.$xpCooldown = 2; var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 24)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$6; nms_World_playSoundAtEntity(var$2, $this, $rt_s(2390), 0.10000000149011612, 0.5 * ((var$5 - Long_lo(Long_shru(var$6, 24)) / 1.6777216E7) * 0.699999988079071 + 1.7999999523162842)); var$7 = $par1EntityPlayer.$mc4; var$3 = var$7.$effectRenderer; var$2 = new nms_EntityPickupFX; var$7 = var$7.$theWorld; var$8 = (-0.5); var$9 = $this.$posX; var$10 = $this.$posY; var$11 = $this.$posZ; var$12 = $this.$motionX; var$13 = $this.$motionY; var$14 = $this.$motionZ; $ptr = 1; continue main; } return; case 1: nms_EntityFX__init_(var$2, var$7, var$9, var$10, var$11, var$12, var$13, var$14); if ($rt_suspending()) { break main; } var$2.$entityToPickUp = $this; var$2.$entityPickingUp = $par1EntityPlayer; var$2.$maxAge = 3; var$2.$yOffs = var$8; var$15 = var$3.$fxLayers.data; if (var$15[3].$size0 >= 4000) ju_ArrayList_remove(var$15[3], 0); var$7 = var$3.$fxLayers.data[3]; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$15 = var$7.$array.data; var$16 = var$7.$size0; var$7.$size0 = var$16 + 1 | 0; var$15[var$16] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; nms_EntityPlayer_addExperience($par1EntityPlayer, $this.$xpValue); $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityXPOrb_getTextureByXP = $this => { let var$1, var$2; a: { var$1 = $this.$xpValue; if (var$1 >= 2477) { var$2 = 10; break a; } if (var$1 >= 1237) { var$2 = 9; break a; } if (var$1 >= 617) { var$2 = 8; break a; } if (var$1 >= 307) { var$2 = 7; break a; } if (var$1 >= 149) { var$2 = 6; break a; } if (var$1 >= 73) { var$2 = 5; break a; } if (var$1 >= 37) { var$2 = 4; break a; } if (var$1 >= 17) { var$2 = 3; break a; } if (var$1 >= 7) { var$2 = 2; break a; } if (var$1 < 3) { var$2 = 0; break a; } var$2 = 1; } return var$2; }, nms_EntityXPOrb_getXPSplit = $par0 => { a: { if ($par0 >= 2477) { $par0 = 2477; break a; } if ($par0 >= 1237) { $par0 = 1237; break a; } if ($par0 >= 617) { $par0 = 617; break a; } if ($par0 >= 307) { $par0 = 307; break a; } if ($par0 >= 149) { $par0 = 149; break a; } if ($par0 >= 73) { $par0 = 73; break a; } if ($par0 >= 37) { $par0 = 37; break a; } if ($par0 >= 17) { $par0 = 17; break a; } if ($par0 >= 7) { $par0 = 7; break a; } if ($par0 < 3) { $par0 = 1; break a; } $par0 = 3; } return $par0; }, nms_EntityXPOrb_canAttackWithItem = $this => { return 0; }, nms_RenderXPOrb = $rt_classWithoutFields(nms_Render), nms_RenderXPOrb_experienceOrbTextures = null, nms_RenderXPOrb_$callClinit = () => { nms_RenderXPOrb_$callClinit = $rt_eraseClinit(nms_RenderXPOrb); nms_RenderXPOrb__clinit_(); }, nms_RenderXPOrb__init_ = $this => { let var$1; nms_RenderXPOrb_$callClinit(); nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; $this.$shadowSize = 0.15000000596046448; $this.$shadowOpaque = 0.75; }, nms_RenderXPOrb__init_0 = () => { let var_0 = new nms_RenderXPOrb(); nms_RenderXPOrb__init_(var_0); return var_0; }, nms_RenderXPOrb_renderTheXPOrb = ($this, $par1EntityXPOrb, $par2, $par4, $par6, $par8, $par9) => { let $var11, $var12, $var25, var$10, $var10, $var22, $var13, $var14, $var18, $var19, $var20, $var24, $var27, var$20, $var23, var$22, var$23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var23 = $thread.pop();var$20 = $thread.pop();$var27 = $thread.pop();$var24 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var22 = $thread.pop();$var10 = $thread.pop();var$10 = $thread.pop();$var25 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityXPOrb = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); $par8 = $par2; $var11 = $par4; $var12 = $par6; $var25 = nleg_EaglerAdapterGL30_deevis; $var25.$x = $par8; $var25.$y = $var11; $var25.$z = $var12; $var25 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var25, $var25); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($var25); $var25.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $var25.$sb = var$10; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_RenderXPOrb_$callClinit(); $var25 = nms_RenderXPOrb_experienceOrbTextures; $ptr = 1; case 1: a: { nle_TextureLocation_bindTexture($var25); if ($rt_suspending()) { break main; } $var10 = nms_EntityXPOrb_getTextureByXP($par1EntityXPOrb); $var22 = ($var10 % 4 | 0) * 16 | 0; $var11 = ($var22 + 0 | 0) / 64.0; $var12 = ($var22 + 16 | 0) / 64.0; $var10 = ($var10 / 4 | 0) * 16 | 0; $var13 = ($var10 + 0 | 0) / 64.0; $var14 = ($var10 + 16 | 0) / 64.0; $var18 = nms_EntityXPOrb_getBrightnessForRender($par1EntityXPOrb, $par9); $var19 = $var18 % 65536 | 0; $var20 = $var18 / 65536 | 0; $var10 = nms_OpenGlHelper_lightmapTexUnit; $var24 = $var19 / 1.0; $par8 = $var20 / 1.0; switch ($var10) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = $var24; nleg_EaglerAdapterGL30_tex1Y = $par8; break a; default: if (jl_System_errCache === null) { $var25 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; jl_Object__init_(var$10); var$10.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var25); $var25.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$10); $var25.$sb = var$10; $var25.$buffer0 = $rt_createCharArray(32); $var25.$autoFlush = 0; $var25.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var25; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break a; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = $var24; nleg_EaglerAdapterGL30_tex0Y = $par8; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var27 = ($par1EntityXPOrb.$xpColor + $par9) / 2.0; $par9 = $var27 + 0.0; var$20 = nms_MathHelper_SIN_TABLE.data; $var23 = ((var$20[($par9 * 10430.3779296875 | 0) & 65535] + 1.0) * 0.5 * 255.0 | 0) << 16 | 65280 | (var$20[(($var27 + 4.188790321350098) * 10430.3779296875 | 0) & 65535] + 1.0) * 0.10000000149011612 * 255.0 | 0; $par9 = 180.0 - $this.$renderManager.$playerViewY; $par1EntityXPOrb = nleg_EaglerAdapterGL30_deevis; $par1EntityXPOrb.$x = 0.0; $par1EntityXPOrb.$y = 1.0; $par1EntityXPOrb.$z = 0.0; $par1EntityXPOrb = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par9 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityXPOrb, $par1EntityXPOrb); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityXPOrb = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityXPOrb); $par1EntityXPOrb.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $par1EntityXPOrb.$sb = $var25; $par1EntityXPOrb.$buffer0 = $rt_createCharArray(32); $par1EntityXPOrb.$autoFlush = 0; $par1EntityXPOrb.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityXPOrb; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par8 = -$this.$renderManager.$playerViewX; $par1EntityXPOrb = nleg_EaglerAdapterGL30_deevis; $par1EntityXPOrb.$x = 1.0; $par1EntityXPOrb.$y = 0.0; $par1EntityXPOrb.$z = 0.0; $par1EntityXPOrb = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par8 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityXPOrb, $par1EntityXPOrb); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityXPOrb = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityXPOrb); $par1EntityXPOrb.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $par1EntityXPOrb.$sb = $var25; $par1EntityXPOrb.$buffer0 = $rt_createCharArray(32); $par1EntityXPOrb.$autoFlush = 0; $par1EntityXPOrb.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityXPOrb; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityXPOrb = nleg_EaglerAdapterGL30_deevis; $par1EntityXPOrb.$x = 0.30000001192092896; $par1EntityXPOrb.$y = 0.30000001192092896; $par1EntityXPOrb.$z = 0.30000001192092896; $par1EntityXPOrb = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityXPOrb, $par1EntityXPOrb); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityXPOrb = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityXPOrb); $par1EntityXPOrb.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $par1EntityXPOrb.$sb = $var25; $par1EntityXPOrb.$buffer0 = $rt_createCharArray(32); $par1EntityXPOrb.$autoFlush = 0; $par1EntityXPOrb.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityXPOrb; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nlea_Tessellator_$callClinit(); $var25 = nlea_Tessellator_instance; if ($var25.$isDrawing) nlea_Tessellator_draw($var25); $var25.$isDrawing = 1; $var25.$vertexCount = 0; $var25.$rawBufferIndex = 0; $var25.$addedVertices = 0; $var25.$drawMode = 7; $var25.$hasNormals = 0; $var25.$hasColor = 0; $var25.$hasTexture = 0; $var25.$hasBrightness = 0; $var25.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var25, ($var23 >>> 16 | 0) & 255, ($var23 >>> 8 | 0) & 255, $var23 & 255, 128); nlea_Tessellator_setNormal($var25, 0.0, 1.0, 0.0); $par6 = $var11; var$22 = $var14; $var25.$hasTexture = 1; $par9 = $par6; $var25.$textureU = $par9; $var11 = var$22; $var25.$textureV = $var11; nlea_Tessellator_addVertex($var25, (-0.5), (-0.25), 0.0); var$23 = $var12; $var25.$hasTexture = 1; $par8 = var$23; $var25.$textureU = $par8; $var25.$textureV = $var11; nlea_Tessellator_addVertex($var25, 0.5, (-0.25), 0.0); var$23 = $var13; $var25.$hasTexture = 1; $var25.$textureU = $par8; $par8 = var$23; $var25.$textureV = $par8; nlea_Tessellator_addVertex($var25, 0.5, 0.75, 0.0); $var25.$hasTexture = 1; $var25.$textureU = $par9; $var25.$textureV = $par8; nlea_Tessellator_addVertex($var25, (-0.5), 0.75, 0.0); nlea_Tessellator_draw($var25); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityXPOrb, $par2, $par4, $par6, $par8, $par9, $var11, $var12, $var25, var$10, $var10, $var22, $var13, $var14, $var18, $var19, $var20, $var24, $var27, var$20, $var23, var$22, var$23, $ptr); }, nms_RenderXPOrb_getEntityTexture = ($this, $par1Entity) => { nms_RenderXPOrb_$callClinit(); return nms_RenderXPOrb_experienceOrbTextures; }, nms_RenderXPOrb_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderXPOrb_renderTheXPOrb($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderXPOrb__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2391); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderXPOrb_experienceOrbTextures = var$1; }; function nms_EntityTNTPrimed() { let a = this; nms_Entity.call(a); a.$fuse = 0; a.$tntPlacedBy = null; } let nms_EntityTNTPrimed__init_ = ($this, $par1World, $par2, $par4, $par6, $par8EntityLivingBase) => { let var$6, $var9, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$var9 = $thread.pop();var$6 = $thread.pop();$par8EntityLivingBase = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity__init_($this, $par1World); $this.$preventEntitySpawning = 1; var$6 = 0.9800000190734863; $var9 = 0.9800000190734863; $ptr = 1; case 1: nms_Entity_setSize($this, var$6, $var9); if ($rt_suspending()) { break main; } $this.$yOffset = $this.$height2 / 2.0; nms_Entity_setPosition($this, $par2, $par4, $par6); var$8 = jl_Math_randomImpl() * 3.141592653589793 * 2.0; $this.$motionX = -jl_Math_sin(var$8) * 0.019999999552965164; $this.$motionY = 0.20000000298023224; $this.$motionZ = -jl_Math_cos(var$8) * 0.019999999552965164; $this.$fuse = 80; $this.$prevPosX = $par2; $this.$prevPosY = $par4; $this.$prevPosZ = $par6; $this.$tntPlacedBy = $par8EntityLivingBase; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8EntityLivingBase, var$6, $var9, var$8, $ptr); }, nms_EntityTNTPrimed__init_0 = (var_0, var_1, var_2, var_3, var_4) => { let var_5 = new nms_EntityTNTPrimed(); nms_EntityTNTPrimed__init_(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; }, nms_EntityTNTPrimed_entityInit = $this => { return; }, nms_EntityTNTPrimed_canTriggerWalking = $this => { return 0; }, nms_EntityTNTPrimed_canBeCollidedWith = $this => { return $this.$isDead ? 0 : 1; }, nms_EntityTNTPrimed_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$motionY - 0.03999999910593033; $this.$motionY = var$1; var$2 = $this.$motionX; var$3 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, var$1, var$3); if ($rt_suspending()) { break main; } var$1 = $this.$motionX * 0.9800000190734863; $this.$motionX = var$1; var$2 = $this.$motionY * 0.9800000190734863; $this.$motionY = var$2; var$3 = $this.$motionZ * 0.9800000190734863; $this.$motionZ = var$3; if ($this.$onGround) { $this.$motionX = var$1 * 0.699999988079071; $this.$motionZ = var$3 * 0.699999988079071; $this.$motionY = var$2 * (-0.5); } a: { var$4 = $this.$fuse; $this.$fuse = var$4 - 1 | 0; if (var$4 > 0) { var$5 = $this.$worldObj; var$6 = $rt_s(1479); var$2 = $this.$posX; var$1 = $this.$posY + 0.5; var$7 = $this.$posZ; var$3 = 0.0; var$8 = 0.0; var$9 = 0.0; var$4 = 0; var$10 = var$5.$worldAccesses; var$11 = $rt_compare(var$4, var$10.$size0); if (var$11 >= 0) break a; if (var$4 >= 0 && var$11 < 0) { var$10 = var$10.$array.data[var$4]; $ptr = 4; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $this.$isDead = 1; var$5 = $this.$worldObj; if (!var$5.$isRemote) { var$3 = $this.$posX; var$9 = $this.$posY; var$8 = $this.$posZ; var$12 = new nms_Explosion; var$12.$isSmoking = 1; var$12.$field_77289_h = 16; var$13 = new nle_EaglercraftRandom; var$14 = Long_fromNumber(performance.now() * 1000000.0); var$13.$seed = Long_fromInt(69); var$13.$haveNextNextGaussian = 0; var$13.$seed = var$14; var$12.$explosionRNG = var$13; var$6 = new ju_ArrayList; jl_Object__init_(var$6); var$6.$array = $rt_createArray(jl_Object, 10); var$12.$affectedBlockPositions = var$6; var$6 = new ju_HashMap; jl_Object__init_(var$6); var$4 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$15 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$16 = var$15.data; var$6.$elementData = var$15; var$6.$loadFactor = 0.75; var$6.$threshold = var$16.length * 0.75 | 0; var$12.$field_77288_k = var$6; var$12.$worldObj1 = var$5; var$12.$exploder = $this; var$12.$explosionSize = 4.0; var$12.$explosionX = var$3; var$12.$explosionY = var$9; var$12.$explosionZ = var$8; var$12.$isFlaming = 0; var$12.$isSmoking = 1; $ptr = 2; continue main; } } return; case 2: nms_Explosion_doExplosionA(var$12); if ($rt_suspending()) { break main; } var$4 = 1; $ptr = 3; case 3: nms_Explosion_doExplosionB(var$12, var$4); if ($rt_suspending()) { break main; } return; case 4: nms_RenderGlobal_doSpawnParticle(var$10, var$6, var$2, var$1, var$7, var$3, var$8, var$9); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$10 = var$5.$worldAccesses; var$11 = $rt_compare(var$4, var$10.$size0); if (var$11 >= 0) return; if (var$4 >= 0 && var$11 < 0) { var$10 = var$10.$array.data[var$4]; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityTNTPrimed_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3; var$2 = $this.$fuse << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(1929); $par1NBTTagCompound.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(1929), $par1NBTTagCompound); }, nms_EntityTNTPrimed_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1929).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1929).$nativeString.length) break a; $rt_s(1929).$hashCode1 = (31 * $rt_s(1929).$hashCode1 | 0) + $rt_s(1929).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1929).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(1929) !== var$6) { if ($rt_s(1929) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1929).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$4 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1929) === null) { var$6 = $par1NBTTagCompound.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { c: { if (!$rt_s(1929).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1929).$nativeString.length) break c; $rt_s(1929).$hashCode1 = (31 * $rt_s(1929).$hashCode1 | 0) + $rt_s(1929).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$3 = $rt_s(1929).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$6 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$3) { d: { $par1NBTTagCompound = var$6.$key; if ($rt_s(1929) !== $par1NBTTagCompound) { if ($rt_s(1929) === $par1NBTTagCompound) var$4 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$4 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$4 = $rt_s(1929).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$6 = var$6.$next3; } } var$4 = (var$6 === null ? null : var$6.$value1).$data; } $this.$fuse = var$4; }, nms_EntityTNTPrimed_getShadowSize = $this => { return 0.0; }; function nms_RenderTNTPrimed() { nms_Render.call(this); this.$blockRenderer0 = null; } let nms_RenderTNTPrimed__init_ = $this => { let var$1, var$2; nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$2 = nms_Minecraft_theMinecraft; var$1.$minecraftRB = var$2; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = var$2; $this.$blockRenderer0 = var$1; $this.$shadowSize = 0.5; }, nms_RenderTNTPrimed__init_0 = () => { let var_0 = new nms_RenderTNTPrimed(); nms_RenderTNTPrimed__init_(var_0); return var_0; }, nms_RenderTNTPrimed_renderPrimedTNT = ($this, $par1EntityTNTPrimed, $par2, $par4, $par6, $par8, $par9) => { let $var10, $var11, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityTNTPrimed = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); $par8 = $par2; $var10 = $par4; $var11 = $par6; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $par8; var$9.$y = $var10; var$9.$z = $var11; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par8 = $par1EntityTNTPrimed.$fuse - $par9 + 1.0; if ($par8 < 10.0) { $var10 = 1.0 - $par8 / 10.0; if ($var10 < 0.0) $var10 = 0.0; if ($var10 > 1.0) $var10 = 1.0; $par8 = $var10 * $var10; $var11 = 1.0 + $par8 * $par8 * 0.30000001192092896; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $var11; var$9.$y = $var11; var$9.$z = $var11; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var10 = (1.0 - ($par1EntityTNTPrimed.$fuse - $par9 + 1.0) / 100.0) * 0.800000011920929; nms_TextureMap_$callClinit(); var$9 = nms_TextureMap_locationBlocksTexture; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$9); if ($rt_suspending()) { break main; } var$9 = $this.$blockRenderer0; nms_Block_$callClinit(); var$10 = nms_Block_tnt; var$11 = 0; $par8 = nms_Entity_getBrightness($par1EntityTNTPrimed, $par9); $ptr = 2; case 2: nms_RenderBlocks_renderBlockAsItem(var$9, var$10, var$11, $par8); if ($rt_suspending()) { break main; } if (($par1EntityTNTPrimed.$fuse / 5 | 0) % 2 | 0) { nleg_EaglerAdapterGL30_glPopMatrix(); return; } nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 772); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = $var10; $par1EntityTNTPrimed = $this.$blockRenderer0; var$9 = nms_Block_tnt; var$11 = 0; $par8 = 1.0; $ptr = 3; case 3: nms_RenderBlocks_renderBlockAsItem($par1EntityTNTPrimed, var$9, var$11, $par8); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityTNTPrimed, $par2, $par4, $par6, $par8, $par9, $var10, $var11, var$9, var$10, var$11, $ptr); }, nms_RenderTNTPrimed_getEntityTexture = ($this, $par1Entity) => { nms_TextureMap_$callClinit(); return nms_TextureMap_locationBlocksTexture; }, nms_RenderTNTPrimed_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderTNTPrimed_renderPrimedTNT($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }; function nms_EntityFallingSand() { let a = this; nms_Entity.call(a); a.$blockID1 = 0; a.$metadata = 0; a.$fallTime = 0; a.$shouldDropItem = 0; a.$isBreakingAnvil = 0; a.$isAnvil = 0; a.$fallHurtMax = 0; a.$fallHurtAmount = 0.0; a.$fallingBlockTileEntityData = null; } let nms_EntityFallingSand__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par9) => { let var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity__init_($this, $par1World); $this.$shouldDropItem = 1; $this.$fallHurtMax = 40; $this.$fallHurtAmount = 2.0; $this.$blockID1 = $par8; $this.$metadata = $par9; $this.$preventEntitySpawning = 1; var$7 = 0.9800000190734863; var$8 = 0.9800000190734863; $ptr = 1; case 1: nms_Entity_setSize($this, var$7, var$8); if ($rt_suspending()) { break main; } $this.$yOffset = $this.$height2 / 2.0; nms_Entity_setPosition($this, $par2, $par4, $par6); $this.$motionX = 0.0; $this.$motionY = 0.0; $this.$motionZ = 0.0; $this.$prevPosX = $par2; $this.$prevPosY = $par4; $this.$prevPosZ = $par6; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par9, var$7, var$8, $ptr); }, nms_EntityFallingSand__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5) => { let var_6 = new nms_EntityFallingSand(); nms_EntityFallingSand__init_(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; }, nms_EntityFallingSand_canTriggerWalking = $this => { return 0; }, nms_EntityFallingSand_entityInit = $this => { return; }, nms_EntityFallingSand_canBeCollidedWith = $this => { return $this.$isDead ? 0 : 1; }, nms_EntityFallingSand_onUpdate = $this => { let var$1, var$2, var$3, $var4, $var1, $var2, $var3, var$8, var$9, var$10, $var6, $var5, var$13, $var7, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var7 = $thread.pop();var$13 = $thread.pop();$var5 = $thread.pop();$var6 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$var4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$blockID1) { $this.$isDead = 1; return; } $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; $this.$fallTime = $this.$fallTime + 1 | 0; var$1 = $this.$motionY - 0.03999999910593033; $this.$motionY = var$1; var$2 = $this.$motionX; var$3 = $this.$motionZ; $ptr = 1; case 1: a: { nms_Entity_moveEntity($this, var$2, var$1, var$3); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.9800000190734863; $this.$motionY = $this.$motionY * 0.9800000190734863; $this.$motionZ = $this.$motionZ * 0.9800000190734863; $var4 = $this.$worldObj; if (!$var4.$isRemote) { var$1 = $this.$posX; $var1 = var$1 | 0; if (var$1 < $var1) $var1 = $var1 - 1 | 0; var$1 = $this.$posY; $var2 = var$1 | 0; if (var$1 < $var2) $var2 = $var2 - 1 | 0; var$1 = $this.$posZ; $var3 = var$1 | 0; if (var$1 < $var3) $var3 = $var3 - 1 | 0; if ($this.$fallTime == 1) { if (nms_World_getBlockId($var4, $var1, $var2, $var3) != $this.$blockID1) { $this.$isDead = 1; return; } $var4 = $this.$worldObj; var$8 = 0; var$9 = 0; var$10 = 3; $ptr = 2; continue main; } if ($this.$onGround) { $this.$motionX = $this.$motionX * 0.699999988079071; $this.$motionZ = $this.$motionZ * 0.699999988079071; $this.$motionY = $this.$motionY * (-0.5); var$8 = nms_World_getBlockId($this.$worldObj, $var1, $var2, $var3); nms_Block_$callClinit(); if (var$8 == nms_Block_pistonMoving.$blockID) break a; $this.$isDead = 1; if (!$this.$isBreakingAnvil) { $var6 = $this.$worldObj; var$8 = $this.$blockID1; var$9 = 1; var$10 = 1; $var4 = null; $var5 = null; $ptr = 3; continue main; } if (!$this.$shouldDropItem) break a; if ($this.$isBreakingAnvil) break a; $var4 = new nms_ItemStack; var$8 = $this.$blockID1; var$10 = nms_Block_blocksList.data[var$8].$damageDropped($this.$metadata); nms_ItemStack_$callClinit(); $var4.$itemID = var$8; $var4.$stackSize = 1; $var4.$itemDamage = var$10; if (var$10 < 0) $var4.$itemDamage = 0; $var5 = new nms_EntityItem; $var6 = $this.$worldObj; var$1 = $this.$posX; var$2 = $this.$posY + 0.0; var$3 = $this.$posZ; $ptr = 6; continue main; } b: { var$8 = $this.$fallTime; if (var$8 > 100 && !$this.$worldObj.$isRemote) { if ($var2 < 1) break b; if ($var2 > 256) break b; } if (var$8 <= 600) break a; } if ($this.$shouldDropItem) { $var4 = new nms_ItemStack; var$9 = $this.$blockID1; nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$9].$damageDropped($this.$metadata); nms_ItemStack_$callClinit(); $var4.$itemID = var$9; $var4.$stackSize = 1; $var4.$itemDamage = var$10; if (var$10 < 0) $var4.$itemDamage = 0; $var5 = new nms_EntityItem; $var6 = $this.$worldObj; var$1 = $this.$posX; var$2 = $this.$posY + 0.0; var$3 = $this.$posZ; $ptr = 4; continue main; } $this.$isDead = 1; } } return; case 2: nms_World_setBlock($var4, $var1, $var2, $var3, var$8, var$9, var$10); if ($rt_suspending()) { break main; } a: { if ($this.$onGround) { $this.$motionX = $this.$motionX * 0.699999988079071; $this.$motionZ = $this.$motionZ * 0.699999988079071; $this.$motionY = $this.$motionY * (-0.5); var$8 = nms_World_getBlockId($this.$worldObj, $var1, $var2, $var3); nms_Block_$callClinit(); if (var$8 == nms_Block_pistonMoving.$blockID) break a; $this.$isDead = 1; if (!$this.$isBreakingAnvil) { $var6 = $this.$worldObj; var$8 = $this.$blockID1; var$9 = 1; var$10 = 1; $var4 = null; $var5 = null; $ptr = 3; continue main; } if (!$this.$shouldDropItem) break a; if ($this.$isBreakingAnvil) break a; $var4 = new nms_ItemStack; var$8 = $this.$blockID1; var$10 = nms_Block_blocksList.data[var$8].$damageDropped($this.$metadata); nms_ItemStack_$callClinit(); $var4.$itemID = var$8; $var4.$stackSize = 1; $var4.$itemDamage = var$10; if (var$10 < 0) $var4.$itemDamage = 0; $var5 = new nms_EntityItem; $var6 = $this.$worldObj; var$1 = $this.$posX; var$2 = $this.$posY + 0.0; var$3 = $this.$posZ; $ptr = 6; continue main; } c: { var$8 = $this.$fallTime; if (var$8 > 100 && !$this.$worldObj.$isRemote) { if ($var2 < 1) break c; if ($var2 > 256) break c; } if (var$8 <= 600) break a; } if ($this.$shouldDropItem) { $var4 = new nms_ItemStack; var$9 = $this.$blockID1; nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$9].$damageDropped($this.$metadata); nms_ItemStack_$callClinit(); $var4.$itemID = var$9; $var4.$stackSize = 1; $var4.$itemDamage = var$10; if (var$10 < 0) $var4.$itemDamage = 0; $var5 = new nms_EntityItem; $var6 = $this.$worldObj; var$1 = $this.$posX; var$2 = $this.$posY + 0.0; var$3 = $this.$posZ; $ptr = 4; continue main; } $this.$isDead = 1; } return; case 3: $tmp = nms_World_canPlaceEntityOnSide($var6, var$8, $var1, $var2, $var3, var$9, var$10, $var4, $var5); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8 && !nms_BlockSand_canFallBelow($this.$worldObj, $var1, $var2 - 1 | 0, $var3)) { $var4 = $this.$worldObj; var$8 = $this.$blockID1; var$9 = $this.$metadata; var$10 = 3; $ptr = 5; continue main; } if ($this.$shouldDropItem && !$this.$isBreakingAnvil) { $var4 = new nms_ItemStack; var$8 = $this.$blockID1; var$10 = nms_Block_blocksList.data[var$8].$damageDropped($this.$metadata); nms_ItemStack_$callClinit(); $var4.$itemID = var$8; $var4.$stackSize = 1; $var4.$itemDamage = var$10; if (var$10 < 0) $var4.$itemDamage = 0; $var5 = new nms_EntityItem; $var6 = $this.$worldObj; var$1 = $this.$posX; var$2 = $this.$posY + 0.0; var$3 = $this.$posZ; $ptr = 6; continue main; } return; case 4: nms_EntityItem__init_($var5, $var6, var$1, var$2, var$3); if ($rt_suspending()) { break main; } var$13 = $var5.$dataWatcher; $var6 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); $var7 = jl_Integer_integerCache.data[138]; if ($var7 === null) { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { var$10 = jl_Integer_hashCode($var7.$value0); var$15 = $var6.$elementData.data; $var6 = var$15[var$10 & (var$15.length - 1 | 0)]; while ($var6 !== null && !($var6.$origKeyHash == var$10 && ju_HashMap_areEqualKeys($var7, $var6.$key))) { $var6 = $var6.$next3; } } var$16 = $var6 === null ? null : $var6.$value1; if (!($var4 !== var$16.$watchedObject ? 0 : 1)) { var$16.$watchedObject = $var4; var$16.$watched = 1; var$13.$objectChanged = 1; } $var7 = $var5.$dataWatcher; $var4 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[138]; if (var$16 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { var$9 = jl_Integer_hashCode(var$16.$value0); var$15 = $var4.$elementData.data; $var4 = var$15[var$9 & (var$15.length - 1 | 0)]; while ($var4 !== null && !($var4.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$16, $var4.$key))) { $var4 = $var4.$next3; } } ($var4 === null ? null : $var4.$value1).$watched = 1; $var7.$objectChanged = 1; $var5.$delayBeforeCanPickup = 10; $var4 = $this.$worldObj; var$8 = nms_World_spawnEntityInWorld($var4, $var5); $var6 = $var4.$entityList; ju_HashMap_putImpl($var6.$backingMap, $var5, $var6); if (!var$8) { $var4 = $var4.$entitySpawnQueue; ju_HashMap_putImpl($var4.$backingMap, $var5, $var4); } $this.$isDead = 1; return; case 5: a: { $tmp = nms_World_setBlock($var4, $var1, $var2, $var3, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8) { var$15 = nms_Block_blocksList.data; var$8 = $this.$blockID1; if (var$15[var$8] instanceof nms_BlockSand) { $var4 = var$15[var$8]; $var5 = $this.$worldObj; var$8 = $this.$metadata; $ptr = 7; continue main; } if ($this.$fallingBlockTileEntityData === null) break a; if (!$rt_isInstance(nms_Block_blocksList.data[$this.$blockID1], nms_ITileEntityProvider)) break a; $var4 = $this.$worldObj; $ptr = 8; continue main; } if ($this.$shouldDropItem && !$this.$isBreakingAnvil) { $var4 = new nms_ItemStack; var$8 = $this.$blockID1; var$10 = nms_Block_blocksList.data[var$8].$damageDropped($this.$metadata); nms_ItemStack_$callClinit(); $var4.$itemID = var$8; $var4.$stackSize = 1; $var4.$itemDamage = var$10; if (var$10 < 0) $var4.$itemDamage = 0; $var5 = new nms_EntityItem; $var6 = $this.$worldObj; var$1 = $this.$posX; var$2 = $this.$posY + 0.0; var$3 = $this.$posZ; $ptr = 6; continue main; } } return; case 6: nms_EntityItem__init_($var5, $var6, var$1, var$2, var$3); if ($rt_suspending()) { break main; } var$13 = $var5.$dataWatcher; $var6 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); $var7 = jl_Integer_integerCache.data[138]; if ($var7 === null) { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { var$10 = jl_Integer_hashCode($var7.$value0); var$15 = $var6.$elementData.data; $var6 = var$15[var$10 & (var$15.length - 1 | 0)]; while ($var6 !== null && !($var6.$origKeyHash == var$10 && ju_HashMap_areEqualKeys($var7, $var6.$key))) { $var6 = $var6.$next3; } } var$16 = $var6 === null ? null : $var6.$value1; if (!($var4 !== var$16.$watchedObject ? 0 : 1)) { var$16.$watchedObject = $var4; var$16.$watched = 1; var$13.$objectChanged = 1; } $var7 = $var5.$dataWatcher; $var4 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[138]; if (var$16 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { var$10 = jl_Integer_hashCode(var$16.$value0); var$15 = $var4.$elementData.data; $var4 = var$15[var$10 & (var$15.length - 1 | 0)]; while ($var4 !== null && !($var4.$origKeyHash == var$10 && ju_HashMap_areEqualKeys(var$16, $var4.$key))) { $var4 = $var4.$next3; } } ($var4 === null ? null : $var4.$value1).$watched = 1; $var7.$objectChanged = 1; $var5.$delayBeforeCanPickup = 10; $var4 = $this.$worldObj; var$8 = nms_World_spawnEntityInWorld($var4, $var5); $var6 = $var4.$entityList; ju_HashMap_putImpl($var6.$backingMap, $var5, $var6); if (!var$8) { $var4 = $var4.$entitySpawnQueue; ju_HashMap_putImpl($var4.$backingMap, $var5, $var4); } return; case 7: $var4.$onFinishFalling($var5, $var1, $var2, $var3, var$8); if ($rt_suspending()) { break main; } if ($this.$fallingBlockTileEntityData !== null && $rt_isInstance(nms_Block_blocksList.data[$this.$blockID1], nms_ITileEntityProvider)) { $var4 = $this.$worldObj; $ptr = 8; continue main; } return; case 8: $tmp = nms_World_getBlockTileEntity($var4, $var1, $var2, $var3); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 === null) return; $var5 = new nms_NBTTagCompound; $var5.$name = $rt_s(18); $var6 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); $var6.$elementCount = 0; var$17 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$15 = var$17.data; $var6.$elementData = var$17; $var6.$loadFactor = 0.75; $var6.$threshold = var$15.length * 0.75 | 0; $var5.$tagMap = $var6; $var4.$writeToNBT($var5); $var6 = $this.$fallingBlockTileEntityData.$tagMap; if ($var6.$cachedValues === null) { var$16 = new ju_HashMap$2; var$16.$this$01 = $var6; $var6.$cachedValues = var$16; } $var6 = $var6.$cachedValues.$iterator(); while ($var6.$hasNext()) { $var7 = $var6.$next(); var$13 = $var7.$name; if (var$13 === null) var$13 = $rt_s(18); if (var$13 === $rt_s(544)) var$8 = 1; else if (!($rt_s(544) instanceof jl_String)) var$8 = 0; else { var$16 = $rt_s(544); var$8 = var$13.$nativeString !== var$16.$nativeString ? 0 : 1; } if (!var$8) { var$13 = $var7.$name; if (var$13 === null) var$13 = $rt_s(18); if (var$13 === $rt_s(2392)) var$8 = 1; else if (!($rt_s(2392) instanceof jl_String)) var$8 = 0; else { var$16 = $rt_s(2392); var$8 = var$13.$nativeString !== var$16.$nativeString ? 0 : 1; } if (!var$8) { var$13 = $var7.$name; if (var$13 === null) var$13 = $rt_s(18); if (var$13 === $rt_s(2393)) var$8 = 1; else if (!($rt_s(2393) instanceof jl_String)) var$8 = 0; else { var$16 = $rt_s(2393); var$8 = var$13.$nativeString !== var$16.$nativeString ? 0 : 1; } if (!var$8) { var$13 = $var7.$name; if (var$13 === null) var$13 = $rt_s(18); var$16 = $var7.$copy(); $var7 = $var5.$tagMap; var$16.$name = var$13; ju_HashMap_putImpl($var7, var$13, var$16); } } } } $ptr = 9; case 9: $var4.$readFromNBT($var5); if ($rt_suspending()) { break main; } $ptr = 10; case 10: $var4.$onInventoryChanged(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $var4, $var1, $var2, $var3, var$8, var$9, var$10, $var6, $var5, var$13, $var7, var$15, var$16, var$17, $ptr); }, nms_EntityFallingSand_fall = ($this, $par1) => { let $var2, $var3, $var4, $var8, var$6, $var5$index, var$8, $var7, var$10, $var5$index_0, $var6, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var6 = $thread.pop();$var5$index_0 = $thread.pop();var$10 = $thread.pop();$var7 = $thread.pop();var$8 = $thread.pop();$var5$index = $thread.pop();var$6 = $thread.pop();$var8 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($this.$isAnvil) { $par1 = $par1 - 1.0; $var2 = $par1 | 0; if ($par1 > $var2) $var2 = $var2 + 1 | 0; if ($var2 > 0) { $var3 = new ju_ArrayList; $var4 = nms_World_getEntitiesWithinAABBExcludingEntity($this.$worldObj, $this, $this.$boundingBox, null); $var8 = $var4.$size0; if ($var8 < 0) { $var3 = new jl_IllegalArgumentException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var3.$array = $rt_createArray(jl_Object, $var8); var$6 = 0; $var5$index = $var4.$modCount; $var4.$size(); $var8 = 0; while (true) { var$8 = $var3.$array.data; $var7 = var$8.length; if ($var8 >= $var7) { $var3.$size0 = $var7; $var8 = $this.$blockID1; nms_Block_$callClinit(); $var4 = $var8 != nms_Block_anvil.$blockID ? nms_DamageSource_fallingBlock : nms_DamageSource_anvil; $var7 = $var3.$modCount; var$10 = $var3.$size(); $par1 = $var2; if (0 >= var$10 ? 0 : 1) { if ($var7 < $var3.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var5$index_0 = 0 + 1 | 0; $var6 = $var3.$get(0); var$13 = $par1 * $this.$fallHurtAmount; var$6 = var$13 | 0; if (var$13 < var$6) var$6 = var$6 - 1 | 0; $var8 = $this.$fallHurtMax; if (var$6 < $var8) $var8 = var$6; var$13 = $var8; $ptr = 1; continue main; } if ($this.$blockID1 != nms_Block_anvil.$blockID) break a; $var3 = $this.$rand; var$14 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$14; if (Long_lo(Long_shru(var$14, 24)) / 1.6777216E7 >= 0.05000000074505806 + $var2 * 0.05) break a; $var8 = $this.$metadata; $var7 = $var8 >> 2; $var8 = $var8 & 3; $var7 = $var7 + 1 | 0; if ($var7 > 2) { $this.$isBreakingAnvil = 1; break a; } $this.$metadata = $var8 | $var7 << 2; break a; } if ($var5$index < $var4.$modCount) break; var$10 = var$6 + 1 | 0; var$8[$var8] = $var4.$get(var$6); $var8 = $var8 + 1 | 0; var$6 = var$10; } $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } } } return; case 1: $var6.$attackEntityFrom($var4, var$13); if ($rt_suspending()) { break main; } $var5$index = $var5$index_0; if (!($var5$index >= var$10 ? 0 : 1)) { if ($this.$blockID1 == nms_Block_anvil.$blockID) { $var3 = $this.$rand; var$14 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$14; if (Long_lo(Long_shru(var$14, 24)) / 1.6777216E7 < 0.05000000074505806 + $var2 * 0.05) { $var8 = $this.$metadata; $var7 = $var8 >> 2; $var8 = $var8 & 3; $var7 = $var7 + 1 | 0; if ($var7 > 2) $this.$isBreakingAnvil = 1; else $this.$metadata = $var8 | $var7 << 2; } } return; } if ($var7 < $var3.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var5$index_0 = $var5$index + 1 | 0; $var6 = $var3.$get($var5$index); var$13 = $par1 * $this.$fallHurtAmount; var$6 = var$13 | 0; if (var$13 < var$6) var$6 = var$6 - 1 | 0; $var8 = $this.$fallHurtMax; if (var$6 < $var8) $var8 = var$6; var$13 = $var8; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var2, $var3, $var4, $var8, var$6, $var5$index, var$8, $var7, var$10, $var5$index_0, $var6, var$13, var$14, $ptr); }, nms_EntityFallingSand_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$blockID1 << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2394); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2394), var$4); var$2 = $this.$blockID1; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(2395); var$4.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2395), var$4); var$2 = $this.$metadata << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2396); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2396), var$4); var$2 = $this.$fallTime << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2397); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2397), var$4); var$2 = (!$this.$shouldDropItem ? 0 : 1) << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2398); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2398), var$4); var$2 = (!$this.$isAnvil ? 0 : 1) << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2399); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2399), var$4); var$5 = $this.$fallHurtAmount; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(2400); var$4.$data4 = var$5; ju_HashMap_putImpl(var$3, $rt_s(2400), var$4); var$2 = $this.$fallHurtMax; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(2401); var$4.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2401), var$4); var$6 = $this.$fallingBlockTileEntityData; if (var$6 !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; var$6.$name = $rt_s(2402); ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(2402), var$6); } }, nms_EntityFallingSand_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2395).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2395).$nativeString.length) break a; $rt_s(2395).$hashCode1 = (31 * $rt_s(2395).$hashCode1 | 0) + $rt_s(2395).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(2395).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { b: { var$5 = var$2.$key; if ($rt_s(2395) !== var$5) { if ($rt_s(2395) === var$5) var$6 = 1; else if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(2395).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { c: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2395).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2395).$nativeString.length) break c; $rt_s(2395).$hashCode1 = (31 * $rt_s(2395).$hashCode1 | 0) + $rt_s(2395).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2395).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { d: { var$5 = var$2.$key; if ($rt_s(2395) !== var$5) { if ($rt_s(2395) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2395).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2395) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { e: { if (!$rt_s(2395).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2395).$nativeString.length) break e; $rt_s(2395).$hashCode1 = (31 * $rt_s(2395).$hashCode1 | 0) + $rt_s(2395).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2395).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { f: { var$5 = var$2.$key; if ($rt_s(2395) !== var$5) { if ($rt_s(2395) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2395).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; $this.$blockID1 = var$3; } else { g: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2394).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2394).$nativeString.length) break g; $rt_s(2394).$hashCode1 = (31 * $rt_s(2394).$hashCode1 | 0) + $rt_s(2394).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$6 = $rt_s(2394).$hashCode1; var$4 = var$2.$elementData.data; var$8 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$6) { h: { var$2 = var$8.$key; if ($rt_s(2394) !== var$2) { if ($rt_s(2394) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(2394).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$8 = var$8.$next3; } if (var$8 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2394) === null) { var$8 = var$2.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { i: { if (!$rt_s(2394).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2394).$nativeString.length) break i; $rt_s(2394).$hashCode1 = (31 * $rt_s(2394).$hashCode1 | 0) + $rt_s(2394).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$6 = $rt_s(2394).$hashCode1; var$4 = var$2.$elementData.data; var$8 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$6) { j: { var$2 = var$8.$key; if ($rt_s(2394) !== var$2) { if ($rt_s(2394) !== var$2) { if (var$2 instanceof jl_String) { var$2 = var$2; var$3 = $rt_s(2394).$nativeString !== var$2.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$8 = var$8.$next3; } } var$6 = (var$8 === null ? null : var$8.$value1).$data; } else var$6 = 0; $this.$blockID1 = var$6 & 255; } k: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2396).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2396).$nativeString.length) break k; $rt_s(2396).$hashCode1 = (31 * $rt_s(2396).$hashCode1 | 0) + $rt_s(2396).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2396).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { l: { var$5 = var$2.$key; if ($rt_s(2396) !== var$5) { if ($rt_s(2396) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2396).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2396) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { m: { if (!$rt_s(2396).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2396).$nativeString.length) break m; $rt_s(2396).$hashCode1 = (31 * $rt_s(2396).$hashCode1 | 0) + $rt_s(2396).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2396).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { n: { var$5 = var$2.$key; if ($rt_s(2396) !== var$5) { if ($rt_s(2396) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2396).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break n; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data; } else var$6 = 0; o: { $this.$metadata = var$6 & 255; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2397).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2397).$nativeString.length) break o; $rt_s(2397).$hashCode1 = (31 * $rt_s(2397).$hashCode1 | 0) + $rt_s(2397).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2397).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { p: { var$5 = var$2.$key; if ($rt_s(2397) !== var$5) { if ($rt_s(2397) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2397).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break p; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2397) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { q: { if (!$rt_s(2397).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2397).$nativeString.length) break q; $rt_s(2397).$hashCode1 = (31 * $rt_s(2397).$hashCode1 | 0) + $rt_s(2397).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2397).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { r: { var$5 = var$2.$key; if ($rt_s(2397) !== var$5) { if ($rt_s(2397) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2397).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break r; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data; } else var$6 = 0; s: { $this.$fallTime = var$6 & 255; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2399).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2399).$nativeString.length) break s; $rt_s(2399).$hashCode1 = (31 * $rt_s(2399).$hashCode1 | 0) + $rt_s(2399).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2399).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { t: { var$5 = var$2.$key; if ($rt_s(2399) !== var$5) { if ($rt_s(2399) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2399).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break t; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { u: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2399).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2399).$nativeString.length) break u; $rt_s(2399).$hashCode1 = (31 * $rt_s(2399).$hashCode1 | 0) + $rt_s(2399).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2399).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { v: { var$5 = var$2.$key; if ($rt_s(2399) !== var$5) { if ($rt_s(2399) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2399).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break v; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2399) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { w: { if (!$rt_s(2399).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2399).$nativeString.length) break w; $rt_s(2399).$hashCode1 = (31 * $rt_s(2399).$hashCode1 | 0) + $rt_s(2399).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2399).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { x: { var$5 = var$2.$key; if ($rt_s(2399) !== var$5) { if ($rt_s(2399) === var$5) var$3 = 1; else if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2399).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break x; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } else var$3 = 0; var$3 = !var$3 ? 0 : 1; y: { $this.$isAnvil = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2400).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2400).$nativeString.length) break y; $rt_s(2400).$hashCode1 = (31 * $rt_s(2400).$hashCode1 | 0) + $rt_s(2400).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2400).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { z: { var$5 = var$2.$key; if ($rt_s(2400) !== var$5) { if ($rt_s(2400) === var$5) var$3 = 1; else if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2400).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break z; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2400) !== null) { ba: { if (!$rt_s(2400).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2400).$nativeString.length) break ba; $rt_s(2400).$hashCode1 = (31 * $rt_s(2400).$hashCode1 | 0) + $rt_s(2400).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2400).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { bb: { var$5 = var$2.$key; if ($rt_s(2400) !== var$5) { if ($rt_s(2400) === var$5) var$3 = 1; else if (var$5 instanceof jl_String) { var$5 = var$5; var$3 = $rt_s(2400).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break bb; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$9 = (var$2 === null ? null : var$2.$value1).$data4; } else var$9 = 0.0; bc: { $this.$fallHurtAmount = var$9; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2401).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2401).$nativeString.length) break bc; $rt_s(2401).$hashCode1 = (31 * $rt_s(2401).$hashCode1 | 0) + $rt_s(2401).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2401).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { bd: { var$5 = var$2.$key; if ($rt_s(2401) !== var$5) { if ($rt_s(2401) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2401).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bd; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2401) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { be: { if (!$rt_s(2401).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2401).$nativeString.length) break be; $rt_s(2401).$hashCode1 = (31 * $rt_s(2401).$hashCode1 | 0) + $rt_s(2401).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2401).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { bf: { var$5 = var$2.$key; if ($rt_s(2401) !== var$5) { if ($rt_s(2401) !== var$5) { if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2401).$nativeString !== var$5.$nativeString ? 0 : 1; } } else var$3 = 1; if (!var$3) { var$3 = 0; break bf; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } $this.$fallHurtMax = var$3; } else { var$3 = $this.$blockID1; nms_Block_$callClinit(); if (var$3 == nms_Block_anvil.$blockID) $this.$isAnvil = 1; } bg: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2398).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2398).$nativeString.length) break bg; $rt_s(2398).$hashCode1 = (31 * $rt_s(2398).$hashCode1 | 0) + $rt_s(2398).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2398).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { bh: { var$5 = var$2.$key; if ($rt_s(2398) !== var$5) { if ($rt_s(2398) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2398).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bh; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { bi: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2398).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2398).$nativeString.length) break bi; $rt_s(2398).$hashCode1 = (31 * $rt_s(2398).$hashCode1 | 0) + $rt_s(2398).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2398).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { bj: { var$5 = var$2.$key; if ($rt_s(2398) !== var$5) { if ($rt_s(2398) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2398).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bj; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2398) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { bk: { if (!$rt_s(2398).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2398).$nativeString.length) break bk; $rt_s(2398).$hashCode1 = (31 * $rt_s(2398).$hashCode1 | 0) + $rt_s(2398).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2398).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { bl: { var$5 = var$2.$key; if ($rt_s(2398) !== var$5) { if ($rt_s(2398) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2398).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bl; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } $this.$shouldDropItem = !var$3 ? 0 : 1; } bm: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2402).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2402).$nativeString.length) break bm; $rt_s(2402).$hashCode1 = (31 * $rt_s(2402).$hashCode1 | 0) + $rt_s(2402).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2402).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { bn: { var$5 = var$2.$key; if ($rt_s(2402) !== var$5) { if ($rt_s(2402) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2402).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bn; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { bo: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2402).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2402).$nativeString.length) break bo; $rt_s(2402).$hashCode1 = (31 * $rt_s(2402).$hashCode1 | 0) + $rt_s(2402).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2402).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { bp: { var$5 = var$2.$key; if ($rt_s(2402) !== var$5) { if ($rt_s(2402) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(2402).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bp; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) { $par1NBTTagCompound = new nms_NBTTagCompound; if ($rt_s(2402) !== null) $par1NBTTagCompound.$name = $rt_s(2402); else $par1NBTTagCompound.$name = $rt_s(18); var$10 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$10.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$4 = var$11.data; var$10.$elementData = var$11; var$10.$loadFactor = 0.75; var$10.$threshold = var$4.length * 0.75 | 0; $par1NBTTagCompound.$tagMap = var$10; } else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2402) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { bq: { if (!$rt_s(2402).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2402).$nativeString.length) break bq; $rt_s(2402).$hashCode1 = (31 * $rt_s(2402).$hashCode1 | 0) + $rt_s(2402).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2402).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$7 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$7) { br: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(2402) !== var$2) { if ($rt_s(2402) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(2402).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break br; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $par1NBTTagCompound = $par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1; } $this.$fallingBlockTileEntityData = $par1NBTTagCompound; } if (!$this.$blockID1) { nms_Block_$callClinit(); $this.$blockID1 = nms_Block_sand.$blockID; } }, nms_EntityFallingSand_getShadowSize = $this => { return 0.0; }, nms_EntityFallingSand_canRenderOnFire = $this => { return 0; }; function nms_RenderFallingSand() { nms_Render.call(this); this.$sandRenderBlocks = null; } let nms_RenderFallingSand__init_ = $this => { let var$1, var$2; nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$2 = nms_Minecraft_theMinecraft; var$1.$minecraftRB = var$2; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = var$2; $this.$sandRenderBlocks = var$1; $this.$shadowSize = 0.5; }, nms_RenderFallingSand__init_0 = () => { let var_0 = new nms_RenderFallingSand(); nms_RenderFallingSand__init_(var_0); return var_0; }, nms_RenderFallingSand_doRenderFallingSand = ($this, $par1EntityFallingSand, $par2, $par4, $par6, $par8, $par9) => { let $var10, $var11, var$9, var$10, var$11, var$12, var$13, $var12, var$15, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityFallingSand = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = $par1EntityFallingSand.$worldObj; nms_Block_$callClinit(); $var11 = nms_Block_blocksList.data[$par1EntityFallingSand.$blockID1]; var$9 = $par1EntityFallingSand.$posX; var$10 = var$9 | 0; if (var$9 < var$10) var$10 = var$10 - 1 | 0; var$9 = $par1EntityFallingSand.$posY; var$11 = var$9 | 0; if (var$9 < var$11) var$11 = var$11 - 1 | 0; var$9 = $par1EntityFallingSand.$posZ; var$12 = var$9 | 0; if (var$9 < var$12) var$12 = var$12 - 1 | 0; if (nms_World_getBlockId($var10, var$10, var$11, var$12) == $par1EntityFallingSand.$blockID1) return; nleg_EaglerAdapterGL30_glPushMatrix(); $par9 = $par2; $par8 = $par4; var$13 = $par6; $var12 = nleg_EaglerAdapterGL30_deevis; $var12.$x = $par9; $var12.$y = $par8; $var12.$z = var$13; $var12 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var12, $var12); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; var$15 = new ji_ByteArrayOutputStream; var$15.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = var$15; var$15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$15, 16); $var12.$sb = var$15; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_TextureMap_$callClinit(); $var12 = nms_TextureMap_locationBlocksTexture; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var12); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(2896); if ($var11 instanceof nms_BlockAnvil && $var11.$getRenderType() == 35) { $this.$sandRenderBlocks.$blockAccess = $var10; nlea_Tessellator_$callClinit(); $var12 = nlea_Tessellator_instance; if ($var12.$isDrawing) nlea_Tessellator_draw($var12); $var12.$isDrawing = 1; $var12.$vertexCount = 0; $var12.$rawBufferIndex = 0; $var12.$addedVertices = 0; $var12.$drawMode = 7; $var12.$hasNormals = 0; $var12.$hasColor = 0; $var12.$hasTexture = 0; $var12.$hasBrightness = 0; $var12.$isColorDisabled = 0; $par4 = $par1EntityFallingSand.$posX; var$16 = $par4 | 0; var$10 = $rt_compare($par4, var$16); $par4 = ( -(var$10 >= 0 ? var$16 : var$16 - 1 | 0) | 0) - 0.5; $par6 = $par1EntityFallingSand.$posY; var$17 = $par6 | 0; var$11 = $rt_compare($par6, var$17); $par6 = ( -(var$11 >= 0 ? var$17 : var$17 - 1 | 0) | 0) - 0.5; var$18 = $par1EntityFallingSand.$posZ; var$19 = var$18 | 0; var$20 = $rt_compare(var$18, var$19); $par2 = ( -(var$20 >= 0 ? var$19 : var$19 - 1 | 0) | 0) - 0.5; $var12.$xOffset = $par4; $var12.$yOffset0 = $par6; $var12.$zOffset = $par2; $var10 = $this.$sandRenderBlocks; $var11 = $var11; if (var$10 < 0) var$16 = var$16 - 1 | 0; if (var$11 < 0) var$17 = var$17 - 1 | 0; if (var$20 < 0) var$19 = var$19 - 1 | 0; nms_RenderBlocks_renderBlockAnvilMetadata($var10, $var11, var$16, var$17, var$19, $par1EntityFallingSand.$metadata); $var12.$xOffset = 0.0; $var12.$yOffset0 = 0.0; $var12.$zOffset = 0.0; nlea_Tessellator_draw($var12); } else if ($var11.$getRenderType() != 27) { nms_RenderBlocks_setRenderBoundsFromBlock($this.$sandRenderBlocks, $var11); $var12 = $this.$sandRenderBlocks; $par2 = $par1EntityFallingSand.$posX; var$10 = $par2 | 0; if ($par2 < var$10) var$10 = var$10 - 1 | 0; $par2 = $par1EntityFallingSand.$posY; var$11 = $par2 | 0; if ($par2 < var$11) var$11 = var$11 - 1 | 0; $par2 = $par1EntityFallingSand.$posZ; var$12 = $par2 | 0; if ($par2 < var$12) var$12 = var$12 - 1 | 0; nms_RenderBlocks_renderBlockSandFalling($var12, $var11, $var10, var$10, var$11, var$12, $par1EntityFallingSand.$metadata); } else { $this.$sandRenderBlocks.$blockAccess = $var10; nlea_Tessellator_$callClinit(); $var12 = nlea_Tessellator_instance; if ($var12.$isDrawing) nlea_Tessellator_draw($var12); $var12.$isDrawing = 1; $var12.$vertexCount = 0; $var12.$rawBufferIndex = 0; $var12.$addedVertices = 0; $var12.$drawMode = 7; $var12.$hasNormals = 0; $var12.$hasColor = 0; $var12.$hasTexture = 0; $var12.$hasBrightness = 0; $var12.$isColorDisabled = 0; $par2 = $par1EntityFallingSand.$posX; var$10 = $par2 | 0; var$16 = $rt_compare($par2, var$10); $par2 = ( -(var$16 >= 0 ? var$10 : var$10 - 1 | 0) | 0) - 0.5; $par4 = $par1EntityFallingSand.$posY; var$11 = $par4 | 0; var$17 = $rt_compare($par4, var$11); $par4 = ( -(var$17 >= 0 ? var$11 : var$11 - 1 | 0) | 0) - 0.5; $par6 = $par1EntityFallingSand.$posZ; var$12 = $par6 | 0; var$19 = $rt_compare($par6, var$12); $par6 = ( -(var$19 >= 0 ? var$12 : var$12 - 1 | 0) | 0) - 0.5; $var12.$xOffset = $par2; $var12.$yOffset0 = $par4; $var12.$zOffset = $par6; $par1EntityFallingSand = $this.$sandRenderBlocks; $var10 = $var11; if (var$16 < 0) var$10 = var$10 - 1 | 0; if (var$17 < 0) var$11 = var$11 - 1 | 0; if (var$19 < 0) var$12 = var$12 - 1 | 0; nms_RenderBlocks_renderBlockDragonEgg($par1EntityFallingSand, $var10, var$10, var$11, var$12); $var12.$xOffset = 0.0; $var12.$yOffset0 = 0.0; $var12.$zOffset = 0.0; nlea_Tessellator_draw($var12); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityFallingSand, $par2, $par4, $par6, $par8, $par9, $var10, $var11, var$9, var$10, var$11, var$12, var$13, $var12, var$15, var$16, var$17, var$18, var$19, var$20, $ptr); }, nms_RenderFallingSand_getEntityTexture = ($this, $par1Entity) => { nms_TextureMap_$callClinit(); return nms_TextureMap_locationBlocksTexture; }, nms_RenderFallingSand_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderFallingSand_doRenderFallingSand($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }; function nms_EntityMinecart() { let a = this; nms_Entity.call(a); a.$isInReverse = 0; a.$field_82344_g = null; a.$entityName = null; a.$turnProgress = 0; a.$minecartX = 0.0; a.$minecartY = 0.0; a.$minecartZ = 0.0; a.$minecartYaw = 0.0; a.$minecartPitch = 0.0; a.$velocityX0 = 0.0; a.$velocityY0 = 0.0; a.$velocityZ0 = 0.0; } let nms_EntityMinecart_matrix = null, nms_EntityMinecart_canTriggerWalking = $this => { return 0; }, nms_EntityMinecart_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; var$2 = new jl_Integer; var$2.$value0 = 0; nms_DataWatcher_addObject(var$1, 17, var$2); var$2 = $this.$dataWatcher; var$1 = new jl_Integer; var$1.$value0 = 1; nms_DataWatcher_addObject(var$2, 18, var$1); var$2 = $this.$dataWatcher; var$1 = new jl_Float; var$1.$value3 = 0.0; nms_DataWatcher_addObject(var$2, 19, var$1); var$2 = $this.$dataWatcher; var$1 = new jl_Integer; var$1.$value0 = 0; nms_DataWatcher_addObject(var$2, 20, var$1); var$2 = $this.$dataWatcher; var$1 = new jl_Integer; var$1.$value0 = 6; nms_DataWatcher_addObject(var$2, 21, var$1); nms_DataWatcher_addObject($this.$dataWatcher, 22, jl_Byte_byteCache.data[128]); }, nms_EntityMinecart_getCollisionBox = ($this, $par1Entity) => { return !$par1Entity.$canBePushed() ? null : $par1Entity.$boundingBox; }, nms_EntityMinecart_getBoundingBox = $this => { return null; }, nms_EntityMinecart_canBePushed = $this => { return 1; }, nms_EntityMinecart_getMountedYOffset = $this => { return $this.$height2 * 0.0 - 0.30000001192092896; }, nms_EntityMinecart_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let $var3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj.$isRemote && !$this.$isDead) { if ($this.$invulnerable) return 0; nms_EntityMinecart_setRollingDirection($this, -nms_EntityMinecart_getRollingDirection($this) | 0); nms_EntityMinecart_setRollingAmplitude($this, 10); $this.$velocityChanged = 1; nms_EntityMinecart_setDamage($this, nms_EntityMinecart_getDamage($this) + $par2 * 10.0); $var3 = $par1DamageSource.$getEntity() instanceof nms_EntityPlayer && ($par1DamageSource.$getEntity()).$capabilities.$isCreativeMode ? 1 : 0; if (!$var3 && nms_EntityMinecart_getDamage($this) <= 40.0) return 1; var$4 = $this.$riddenByEntity; if (var$4 !== null) { $ptr = 1; continue main; } if ($var3 && !($this.$entityName === null ? 0 : 1)) { $ptr = 3; continue main; } $ptr = 2; continue main; } return 1; case 1: var$4.$mountEntity($this); if ($rt_suspending()) { break main; } if ($var3 && !($this.$entityName === null ? 0 : 1)) { $ptr = 3; continue main; } $ptr = 2; case 2: $this.$killMinecart($par1DamageSource); if ($rt_suspending()) { break main; } return 1; case 3: $this.$setDead(); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, $var3, var$4, $ptr); }, nms_EntityMinecart_killMinecart = ($this, $par1DamageSource) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $this.$setDead(); if ($rt_suspending()) { break main; } $var2 = new nms_ItemStack; nms_Item_$callClinit(); $par1DamageSource = nms_Item_minecartEmpty; nms_ItemStack_$callClinit(); $var2.$itemID = $par1DamageSource.$itemID0; $var2.$stackSize = 1; $var2.$itemDamage = 0; $par1DamageSource = $this.$entityName; if ($par1DamageSource !== null) nms_ItemStack_setItemName($var2, $par1DamageSource); if (!$var2.$stackSize) return; $par1DamageSource = new nms_EntityItem; var$3 = $this.$worldObj; var$4 = $this.$posX; var$5 = $this.$posY + 0.0; var$6 = $this.$posZ; $ptr = 2; case 2: nms_EntityItem__init_($par1DamageSource, var$3, var$4, var$5, var$6); if ($rt_suspending()) { break main; } var$7 = $par1DamageSource.$dataWatcher; var$3 = var$7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[138]; if (var$8 === null) { var$9 = var$3.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$10 = jl_Integer_hashCode(var$8.$value0); var$11 = var$3.$elementData.data; var$9 = var$11[var$10 & (var$11.length - 1 | 0)]; while (var$9 !== null && !(var$9.$origKeyHash == var$10 && ju_HashMap_areEqualKeys(var$8, var$9.$key))) { var$9 = var$9.$next3; } } var$8 = var$9 === null ? null : var$9.$value1; if (!($var2 !== var$8.$watchedObject ? 0 : 1)) { var$8.$watchedObject = $var2; var$8.$watched = 1; var$7.$objectChanged = 1; } var$8 = $par1DamageSource.$dataWatcher; $var2 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[138]; if (var$3 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$12 = jl_Integer_hashCode(var$3.$value0); var$11 = $var2.$elementData.data; $var2 = var$11[var$12 & (var$11.length - 1 | 0)]; while ($var2 !== null && !($var2.$origKeyHash == var$12 && ju_HashMap_areEqualKeys(var$3, $var2.$key))) { $var2 = $var2.$next3; } } ($var2 === null ? null : $var2.$value1).$watched = 1; var$8.$objectChanged = 1; $par1DamageSource.$delayBeforeCanPickup = 10; $var2 = $this.$worldObj; var$12 = nms_World_spawnEntityInWorld($var2, $par1DamageSource); var$3 = $var2.$entityList; ju_HashMap_putImpl(var$3.$backingMap, $par1DamageSource, var$3); if (!var$12) { $var2 = $var2.$entitySpawnQueue; ju_HashMap_putImpl($var2.$backingMap, $par1DamageSource, $var2); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_EntityMinecart_performHurtAnimation = $this => { nms_EntityMinecart_setRollingDirection($this, -nms_EntityMinecart_getRollingDirection($this) | 0); nms_EntityMinecart_setRollingAmplitude($this, 10); nms_EntityMinecart_setDamage($this, nms_EntityMinecart_getDamage($this) + nms_EntityMinecart_getDamage($this) * 10.0); }, nms_EntityMinecart_canBeCollidedWith = $this => { return $this.$isDead ? 0 : 1; }, nms_EntityMinecart_setDead = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$isDead = 1; var$1 = $this.$field_82344_g; if (var$1 === null) return; $ptr = 1; case 1: nms_SoundUpdaterMinecart_update(var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_EntityMinecart_onUpdate = $this => { let $var17, $var1, $var8, $var3, var$5, var$6, $var4, $var6, $var22, $var19, $var21, $var5, $var7, $var11, $var18, $var2, $var20, $var9, $var13, var$20, $var15, var$22, $var16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var16 = $thread.pop();var$22 = $thread.pop();$var15 = $thread.pop();var$20 = $thread.pop();$var13 = $thread.pop();$var9 = $thread.pop();$var20 = $thread.pop();$var2 = $thread.pop();$var18 = $thread.pop();$var11 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var22 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();$var8 = $thread.pop();$var1 = $thread.pop();$var17 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var17 = $this.$field_82344_g; if ($var17 !== null) { $ptr = 1; continue main; } if (nms_EntityMinecart_getRollingAmplitude($this) > 0) nms_EntityMinecart_setRollingAmplitude($this, nms_EntityMinecart_getRollingAmplitude($this) - 1 | 0); if (nms_EntityMinecart_getDamage($this) > 0.0) nms_EntityMinecart_setDamage($this, nms_EntityMinecart_getDamage($this) - 1.0); if ($this.$posY < (-64.0)) { $ptr = 2; continue main; } $var17 = $this.$worldObj; if (!$var17.$isRemote && $var17 instanceof nms_WorldServer) { $var1 = $var17.$getMinecraftServer(); if (!$this.$inPortal) { $var8 = $this.$portalCounter; if ($var8 > 0) $this.$portalCounter = $var8 - 4 | 0; if ($this.$portalCounter < 0) $this.$portalCounter = 0; } else if ($var1.$getAllowNether()) { if ($this.$ridingEntity === null) { $var8 = $this.$portalCounter; $this.$portalCounter = $var8 + 1 | 0; if ($var8 >= 0) { $this.$portalCounter = 0; $this.$timeUntilPortal = 900; $var3 = $this.$worldObj.$provider.$dimensionId != (-1) ? (-1) : 0; $ptr = 3; continue main; } } $this.$inPortal = 0; } $var8 = $this.$timeUntilPortal; if ($var8 > 0) $this.$timeUntilPortal = $var8 - 1 | 0; } $var17 = $this.$worldObj; if ($var17.$isRemote) { $var8 = $this.$turnProgress; if ($var8 <= 0) { nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); var$5 = $this.$rotationYaw; var$6 = $this.$rotationPitch; $this.$rotationYaw = var$5 % 360.0; $this.$rotationPitch = var$6 % 360.0; } else { $var4 = $this.$posX; $var6 = $this.$minecartX - $var4; $var22 = $var8; $var19 = $var4 + $var6 / $var22; $var4 = $this.$posY; $var21 = $var4 + ($this.$minecartY - $var4) / $var22; $var4 = $this.$posZ; $var5 = $var4 + ($this.$minecartZ - $var4) / $var22; $var4 = $this.$minecartYaw; $var6 = $this.$rotationYaw; $var7 = ($var4 - $var6) % 360.0; if ($var7 >= 180.0) $var7 = $var7 - 360.0; if ($var7 < (-180.0)) $var7 = $var7 + 360.0; $this.$rotationYaw = $var6 + $var7 / $var22; $var4 = $this.$rotationPitch; $this.$rotationPitch = $var4 + ($this.$minecartPitch - $var4) / $var22; $this.$turnProgress = $var8 - 1 | 0; nms_Entity_setPosition($this, $var19, $var21, $var5); var$5 = $this.$rotationYaw; var$6 = $this.$rotationPitch; $this.$rotationYaw = var$5 % 360.0; $this.$rotationPitch = var$6 % 360.0; } return; } $var6 = $this.$posX; $this.$prevPosX = $var6; $var22 = $this.$posY; $this.$prevPosY = $var22; $var11 = $this.$posZ; $this.$prevPosZ = $var11; $this.$motionY = $this.$motionY - 0.03999999910593033; $var18 = $var6 | 0; if ($var6 < $var18) $var18 = $var18 - 1 | 0; $var2 = $var22 | 0; if ($var22 < $var2) $var2 = $var2 - 1 | 0; $var20 = $var11 | 0; if ($var11 < $var20) $var20 = $var20 - 1 | 0; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($var17, $var18, $var2 - 1 | 0, $var20))) $var2 = $var2 + (-1) | 0; $var4 = 0.4; $var6 = 0.0078125; $var8 = nms_World_getBlockId($this.$worldObj, $var18, $var2, $var20); if (!nms_BlockRailBase_isRailBlock($var8)) { $ptr = 4; continue main; } $var9 = nms_World_getBlockMetadata($this.$worldObj, $var18, $var2, $var20); $ptr = 5; continue main; case 1: nms_SoundUpdaterMinecart_update($var17); if ($rt_suspending()) { break main; } if (nms_EntityMinecart_getRollingAmplitude($this) > 0) nms_EntityMinecart_setRollingAmplitude($this, nms_EntityMinecart_getRollingAmplitude($this) - 1 | 0); if (nms_EntityMinecart_getDamage($this) > 0.0) nms_EntityMinecart_setDamage($this, nms_EntityMinecart_getDamage($this) - 1.0); if ($this.$posY < (-64.0)) { $ptr = 2; continue main; } $var17 = $this.$worldObj; if (!$var17.$isRemote && $var17 instanceof nms_WorldServer) { $var1 = $var17.$getMinecraftServer(); if (!$this.$inPortal) { $var8 = $this.$portalCounter; if ($var8 > 0) $this.$portalCounter = $var8 - 4 | 0; if ($this.$portalCounter < 0) $this.$portalCounter = 0; } else if ($var1.$getAllowNether()) { if ($this.$ridingEntity === null) { $var8 = $this.$portalCounter; $this.$portalCounter = $var8 + 1 | 0; if ($var8 >= 0) { $this.$portalCounter = 0; $this.$timeUntilPortal = 900; $var3 = $this.$worldObj.$provider.$dimensionId != (-1) ? (-1) : 0; $ptr = 3; continue main; } } $this.$inPortal = 0; } $var8 = $this.$timeUntilPortal; if ($var8 > 0) $this.$timeUntilPortal = $var8 - 1 | 0; } $var17 = $this.$worldObj; if ($var17.$isRemote) { $var8 = $this.$turnProgress; if ($var8 <= 0) { nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); var$5 = $this.$rotationYaw; var$6 = $this.$rotationPitch; $this.$rotationYaw = var$5 % 360.0; $this.$rotationPitch = var$6 % 360.0; } else { $var4 = $this.$posX; $var6 = $this.$minecartX - $var4; $var22 = $var8; $var19 = $var4 + $var6 / $var22; $var4 = $this.$posY; $var21 = $var4 + ($this.$minecartY - $var4) / $var22; $var4 = $this.$posZ; $var5 = $var4 + ($this.$minecartZ - $var4) / $var22; $var4 = $this.$minecartYaw; $var6 = $this.$rotationYaw; $var7 = ($var4 - $var6) % 360.0; if ($var7 >= 180.0) $var7 = $var7 - 360.0; if ($var7 < (-180.0)) $var7 = $var7 + 360.0; $this.$rotationYaw = $var6 + $var7 / $var22; $var4 = $this.$rotationPitch; $this.$rotationPitch = $var4 + ($this.$minecartPitch - $var4) / $var22; $this.$turnProgress = $var8 - 1 | 0; nms_Entity_setPosition($this, $var19, $var21, $var5); var$5 = $this.$rotationYaw; var$6 = $this.$rotationPitch; $this.$rotationYaw = var$5 % 360.0; $this.$rotationPitch = var$6 % 360.0; } return; } $var6 = $this.$posX; $this.$prevPosX = $var6; $var22 = $this.$posY; $this.$prevPosY = $var22; $var11 = $this.$posZ; $this.$prevPosZ = $var11; $this.$motionY = $this.$motionY - 0.03999999910593033; $var18 = $var6 | 0; if ($var6 < $var18) $var18 = $var18 - 1 | 0; $var2 = $var22 | 0; if ($var22 < $var2) $var2 = $var2 - 1 | 0; $var20 = $var11 | 0; if ($var11 < $var20) $var20 = $var20 - 1 | 0; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($var17, $var18, $var2 - 1 | 0, $var20))) $var2 = $var2 + (-1) | 0; $var4 = 0.4; $var6 = 0.0078125; $var8 = nms_World_getBlockId($this.$worldObj, $var18, $var2, $var20); if (!nms_BlockRailBase_isRailBlock($var8)) { $ptr = 4; continue main; } $var9 = nms_World_getBlockMetadata($this.$worldObj, $var18, $var2, $var20); $ptr = 5; continue main; case 2: $this.$setDead(); if ($rt_suspending()) { break main; } $var17 = $this.$worldObj; if (!$var17.$isRemote && $var17 instanceof nms_WorldServer) { $var1 = $var17.$getMinecraftServer(); if (!$this.$inPortal) { $var8 = $this.$portalCounter; if ($var8 > 0) $this.$portalCounter = $var8 - 4 | 0; if ($this.$portalCounter < 0) $this.$portalCounter = 0; } else if ($var1.$getAllowNether()) { if ($this.$ridingEntity === null) { $var8 = $this.$portalCounter; $this.$portalCounter = $var8 + 1 | 0; if ($var8 >= 0) { $this.$portalCounter = 0; $this.$timeUntilPortal = 900; $var3 = $this.$worldObj.$provider.$dimensionId != (-1) ? (-1) : 0; $ptr = 3; continue main; } } $this.$inPortal = 0; } $var8 = $this.$timeUntilPortal; if ($var8 > 0) $this.$timeUntilPortal = $var8 - 1 | 0; } $var17 = $this.$worldObj; if ($var17.$isRemote) { $var8 = $this.$turnProgress; if ($var8 <= 0) { nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); var$5 = $this.$rotationYaw; var$6 = $this.$rotationPitch; $this.$rotationYaw = var$5 % 360.0; $this.$rotationPitch = var$6 % 360.0; } else { $var4 = $this.$posX; $var6 = $this.$minecartX - $var4; $var22 = $var8; $var19 = $var4 + $var6 / $var22; $var4 = $this.$posY; $var21 = $var4 + ($this.$minecartY - $var4) / $var22; $var4 = $this.$posZ; $var5 = $var4 + ($this.$minecartZ - $var4) / $var22; $var4 = $this.$minecartYaw; $var6 = $this.$rotationYaw; $var7 = ($var4 - $var6) % 360.0; if ($var7 >= 180.0) $var7 = $var7 - 360.0; if ($var7 < (-180.0)) $var7 = $var7 + 360.0; $this.$rotationYaw = $var6 + $var7 / $var22; $var4 = $this.$rotationPitch; $this.$rotationPitch = $var4 + ($this.$minecartPitch - $var4) / $var22; $this.$turnProgress = $var8 - 1 | 0; nms_Entity_setPosition($this, $var19, $var21, $var5); var$5 = $this.$rotationYaw; var$6 = $this.$rotationPitch; $this.$rotationYaw = var$5 % 360.0; $this.$rotationPitch = var$6 % 360.0; } return; } $var6 = $this.$posX; $this.$prevPosX = $var6; $var22 = $this.$posY; $this.$prevPosY = $var22; $var11 = $this.$posZ; $this.$prevPosZ = $var11; $this.$motionY = $this.$motionY - 0.03999999910593033; $var18 = $var6 | 0; if ($var6 < $var18) $var18 = $var18 - 1 | 0; $var2 = $var22 | 0; if ($var22 < $var2) $var2 = $var2 - 1 | 0; $var20 = $var11 | 0; if ($var11 < $var20) $var20 = $var20 - 1 | 0; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($var17, $var18, $var2 - 1 | 0, $var20))) $var2 = $var2 + (-1) | 0; $var4 = 0.4; $var6 = 0.0078125; $var8 = nms_World_getBlockId($this.$worldObj, $var18, $var2, $var20); if (!nms_BlockRailBase_isRailBlock($var8)) { $ptr = 4; continue main; } $var9 = nms_World_getBlockMetadata($this.$worldObj, $var18, $var2, $var20); $ptr = 5; continue main; case 3: $this.$travelToDimension($var3); if ($rt_suspending()) { break main; } $this.$inPortal = 0; $var8 = $this.$timeUntilPortal; if ($var8 > 0) $this.$timeUntilPortal = $var8 - 1 | 0; $var17 = $this.$worldObj; if ($var17.$isRemote) { $var8 = $this.$turnProgress; if ($var8 <= 0) { nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); var$5 = $this.$rotationYaw; var$6 = $this.$rotationPitch; $this.$rotationYaw = var$5 % 360.0; $this.$rotationPitch = var$6 % 360.0; } else { $var4 = $this.$posX; $var6 = $this.$minecartX - $var4; $var22 = $var8; $var19 = $var4 + $var6 / $var22; $var4 = $this.$posY; $var21 = $var4 + ($this.$minecartY - $var4) / $var22; $var4 = $this.$posZ; $var5 = $var4 + ($this.$minecartZ - $var4) / $var22; $var4 = $this.$minecartYaw; $var6 = $this.$rotationYaw; $var7 = ($var4 - $var6) % 360.0; if ($var7 >= 180.0) $var7 = $var7 - 360.0; if ($var7 < (-180.0)) $var7 = $var7 + 360.0; $this.$rotationYaw = $var6 + $var7 / $var22; $var4 = $this.$rotationPitch; $this.$rotationPitch = $var4 + ($this.$minecartPitch - $var4) / $var22; $this.$turnProgress = $var8 - 1 | 0; nms_Entity_setPosition($this, $var19, $var21, $var5); var$5 = $this.$rotationYaw; var$6 = $this.$rotationPitch; $this.$rotationYaw = var$5 % 360.0; $this.$rotationPitch = var$6 % 360.0; } return; } $var6 = $this.$posX; $this.$prevPosX = $var6; $var22 = $this.$posY; $this.$prevPosY = $var22; $var11 = $this.$posZ; $this.$prevPosZ = $var11; $this.$motionY = $this.$motionY - 0.03999999910593033; $var18 = $var6 | 0; if ($var6 < $var18) $var18 = $var18 - 1 | 0; $var2 = $var22 | 0; if ($var22 < $var2) $var2 = $var2 - 1 | 0; $var20 = $var11 | 0; if ($var11 < $var20) $var20 = $var20 - 1 | 0; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($var17, $var18, $var2 - 1 | 0, $var20))) $var2 = $var2 + (-1) | 0; $var4 = 0.4; $var6 = 0.0078125; $var8 = nms_World_getBlockId($this.$worldObj, $var18, $var2, $var20); if (!nms_BlockRailBase_isRailBlock($var8)) { $ptr = 4; continue main; } $var9 = nms_World_getBlockMetadata($this.$worldObj, $var18, $var2, $var20); $ptr = 5; continue main; case 4: nms_EntityMinecart_func_94088_b($this, $var4); if ($rt_suspending()) { break main; } $ptr = 6; continue main; case 5: $this.$updateOnTrack($var18, $var2, $var20, $var4, $var6, $var8, $var9); if ($rt_suspending()) { break main; } nms_Block_$callClinit(); if ($var8 == nms_Block_railActivator.$blockID) $this.$onActivatorRailPass($var18, $var2, $var20, !($var9 & 8) ? 0 : 1); $ptr = 6; case 6: nms_Entity_doBlockCollisions($this); if ($rt_suspending()) { break main; } $this.$rotationPitch = 0.0; $var22 = $this.$prevPosX - $this.$posX; $var11 = $this.$prevPosZ - $this.$posZ; if ($var22 * $var22 + $var11 * $var11 > 0.001) { var$5 = jl_Math_atan2($var11, $var22) * 180.0 / 3.141592653589793; $this.$rotationYaw = var$5; if ($this.$isInReverse) $this.$rotationYaw = var$5 + 180.0; } var$5 = $this.$rotationYaw; var$6 = (var$5 - $this.$prevRotationYaw) % 360.0; if (var$6 >= 180.0) var$6 = var$6 - 360.0; if (var$6 < (-180.0)) var$6 = var$6 + 360.0; $var13 = var$6; if (!($var13 >= (-170.0) && $var13 < 170.0)) { $this.$rotationYaw = var$5 + 180.0; $this.$isInReverse = $this.$isInReverse ? 0 : 1; } var$5 = $this.$rotationYaw; var$6 = $this.$rotationPitch; $this.$rotationYaw = var$5 % 360.0; $this.$rotationPitch = var$6 % 360.0; $var17 = $this.$worldObj; $var1 = $this.$boundingBox; $var11 = $var1.$minX - 0.20000000298023224; $var13 = $var1.$minY - 0.0; $var7 = $var1.$minZ - 0.20000000298023224; $var6 = $var1.$maxX + 0.20000000298023224; $var22 = $var1.$maxY + 0.0; $var4 = $var1.$maxZ + 0.20000000298023224; var$20 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var8 = var$20.$nextPoolIndex; $var1 = var$20.$listAABB; $var9 = $var1.$size0; $var2 = $rt_compare($var8, $var9); if ($var2 >= 0) { $var15 = new nms_AxisAlignedBB; $var15.$minX = $var11; $var15.$minY = $var13; $var15.$minZ = $var7; $var15.$maxX = $var6; $var15.$maxY = $var22; $var15.$maxZ = $var4; ju_ArrayList_ensureCapacity($var1, $var9 + 1 | 0); var$22 = $var1.$array.data; $var2 = $var1.$size0; $var1.$size0 = $var2 + 1 | 0; var$22[$var2] = $var15; $var1.$modCount = $var1.$modCount + 1 | 0; } else if ($var8 >= 0 && $var2 < 0) { $var15 = $var1.$array.data[$var8]; $var15.$minX = $var11; $var15.$minY = $var13; $var15.$minZ = $var7; $var15.$maxX = $var6; $var15.$maxY = $var22; $var15.$maxZ = $var4; } else { $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var17); $rt_throw($var17); } a: { var$20.$nextPoolIndex = var$20.$nextPoolIndex + 1 | 0; $var15 = nms_World_getEntitiesWithinAABBExcludingEntity($var17, $this, $var15, null); if ($var15 !== null && !($var15.$size0 ? 0 : 1)) { $var16 = 0; while (true) { $var8 = $rt_compare($var16, $var15.$size0); if ($var8 >= 0) break a; if ($var16 < 0) break; if ($var8 >= 0) break; $var17 = $var15.$array.data[$var16]; if ($var17 !== $this.$riddenByEntity && $var17.$canBePushed() && $var17 instanceof nms_EntityMinecart) { $ptr = 7; continue main; } $var16 = $var16 + 1 | 0; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } } $var17 = $this.$riddenByEntity; if ($var17 !== null && $var17.$isDead) { if ($var17.$ridingEntity === $this) $var17.$ridingEntity = null; $this.$riddenByEntity = null; } return; case 7: $var17.$applyEntityCollision($this); if ($rt_suspending()) { break main; } while (true) { $var16 = $var16 + 1 | 0; $var8 = $rt_compare($var16, $var15.$size0); if ($var8 >= 0) { $var17 = $this.$riddenByEntity; if ($var17 !== null && $var17.$isDead) { if ($var17.$ridingEntity === $this) $var17.$ridingEntity = null; $this.$riddenByEntity = null; } return; } if ($var16 < 0) break; if ($var8 >= 0) break; $var17 = $var15.$array.data[$var16]; if ($var17 === $this.$riddenByEntity) continue; if (!$var17.$canBePushed()) continue; if (!($var17 instanceof nms_EntityMinecart)) continue; else { continue main; } } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var17, $var1, $var8, $var3, var$5, var$6, $var4, $var6, $var22, $var19, $var21, $var5, $var7, $var11, $var18, $var2, $var20, $var9, $var13, var$20, $var15, var$22, $var16, $ptr); }, nms_EntityMinecart_onActivatorRailPass = ($this, $par1, $par2, $par3, $par4) => { return; }, nms_EntityMinecart_func_94088_b = ($this, $par1) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$motionX; var$3 = -$par1; if (var$2 < var$3) $this.$motionX = var$3; if ($this.$motionX > $par1) $this.$motionX = $par1; if ($this.$motionZ < var$3) $this.$motionZ = var$3; if ($this.$motionZ > $par1) $this.$motionZ = $par1; if ($this.$onGround) { $this.$motionX = $this.$motionX * 0.5; $this.$motionY = $this.$motionY * 0.5; $this.$motionZ = $this.$motionZ * 0.5; } $par1 = $this.$motionX; var$2 = $this.$motionY; var$3 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, $par1, var$2, var$3); if ($rt_suspending()) { break main; } if (!$this.$onGround) { $this.$motionX = $this.$motionX * 0.949999988079071; $this.$motionY = $this.$motionY * 0.949999988079071; $this.$motionZ = $this.$motionZ * 0.949999988079071; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, $ptr); }, nms_EntityMinecart_updateOnTrack = ($this, $par1, $par2, $par3, $par4, $par6, $par8, $par9) => { let $var10, $var11, $var12, $var40, var$12, $var14, $var16, $var18, $var20, $var22, $var38, $var26, $var28, $var34, $var30, $var32, $var36, $var39, $var45, $var41, var$28, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$28 = $thread.pop();$var41 = $thread.pop();$var45 = $thread.pop();$var39 = $thread.pop();$var36 = $thread.pop();$var32 = $thread.pop();$var30 = $thread.pop();$var34 = $thread.pop();$var28 = $thread.pop();$var26 = $thread.pop();$var38 = $thread.pop();$var22 = $thread.pop();$var20 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();var$12 = $thread.pop();$var40 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$fallDistance = 0.0; $var10 = nms_EntityMinecart_func_70489_a($this, $this.$posX, $this.$posY, $this.$posZ); $this.$posY = $par2; $var11 = 0; $var12 = 0; nms_Block_$callClinit(); if ($par8 == nms_Block_railPowered.$blockID) { $var11 = !($par9 & 8) ? 0 : 1; $var12 = $var11 ? 0 : 1; } if (nms_Block_blocksList.data[$par8].$isPowered) $par9 = $par9 & 7; $var40 = $rt_compare($par9, 2); if ($var40 >= 0 && $par9 <= 5) $this.$posY = $par2 + 1 | 0; if (!$var40) $this.$motionX = $this.$motionX - $par6; if ($par9 == 3) $this.$motionX = $this.$motionX + $par6; if ($par9 == 4) $this.$motionZ = $this.$motionZ + $par6; if ($par9 == 5) $this.$motionZ = $this.$motionZ - $par6; var$12 = nms_EntityMinecart_matrix.data[$par9].data; $var14 = var$12[1].data[0] - var$12[0].data[0] | 0; $var16 = var$12[1].data[2] - var$12[0].data[2] | 0; $var18 = jl_Math_sqrt($var14 * $var14 + $var16 * $var16); $par6 = $this.$motionX; $var20 = $par6 * $var14; $var22 = $this.$motionZ; if ($var20 + $var22 * $var16 < 0.0) { $var14 = -$var14; $var16 = -$var16; } $var22 = jl_Math_sqrt($par6 * $par6 + $var22 * $var22); if ($var22 > 2.0) $var22 = 2.0; $this.$motionX = $var22 * $var14 / $var18; $this.$motionZ = $var22 * $var16 / $var18; $var38 = $this.$riddenByEntity; if ($var38 !== null && $var38 instanceof nms_EntityLivingBase && $var38.$moveForward > 0.0) { $var26 = -jl_Math_sin($var38.$rotationYaw * 3.1415927410125732 / 180.0); $var28 = jl_Math_cos($this.$riddenByEntity.$rotationYaw * 3.1415927410125732 / 180.0); $par6 = $this.$motionX; $var14 = $par6 * $par6; $var16 = $this.$motionZ; if ($var14 + $var16 * $var16 < 0.01) { $this.$motionX = $par6 + $var26 * 0.1; $this.$motionZ = $var16 + $var28 * 0.1; $var12 = 0; } } if ($var12) { $par6 = $this.$motionX; $par6 = $par6 * $par6; $var14 = $this.$motionZ; if (jl_Math_sqrt($par6 + $var14 * $var14) >= 0.03) { $this.$motionX = $this.$motionX * 0.5; $this.$motionY = $this.$motionY * 0.0; $this.$motionZ = $this.$motionZ * 0.5; } else { $this.$motionX = $this.$motionX * 0.0; $this.$motionY = $this.$motionY * 0.0; $this.$motionZ = $this.$motionZ * 0.0; } } $par6 = $par1; $var14 = $par6 + 0.5; $var26 = $var14 + var$12[0].data[0] * 0.5; $var22 = $par3; $var34 = $var22 + 0.5; $var28 = $var34 + var$12[0].data[2] * 0.5; $var30 = $var14 + var$12[1].data[0] * 0.5; $var32 = $var34 + var$12[1].data[2] * 0.5; $var16 = $var30 - $var26; $var18 = $var32 - $var28; if ($var16 === 0.0) { $this.$posX = $var14; $par6 = $this.$posZ - $var22; } else if ($var18 === 0.0) { $this.$posZ = $var34; $par6 = $this.$posX - $par6; } else $par6 = (($this.$posX - $var26) * $var16 + ($this.$posZ - $var28) * $var18) * 2.0; $var14 = $var26 + $var16 * $par6; $this.$posX = $var14; $par6 = $var28 + $var18 * $par6; $this.$posZ = $par6; nms_Entity_setPosition($this, $var14, $this.$posY + $this.$yOffset, $par6); $var34 = $this.$motionX; $var36 = $this.$motionZ; if ($this.$riddenByEntity !== null) { $var34 = $var34 * 0.75; $var36 = $var36 * 0.75; } $par6 = -$par4; if ($var34 < $par6) $var34 = $par6; if ($var34 > $par4) $var34 = $par4; if ($var36 >= $par6) $par6 = $var36; if ($par6 <= $par4) $par4 = $par6; $par6 = 0.0; $ptr = 1; case 1: a: { nms_Entity_moveEntity($this, $var34, $par6, $par4); if ($rt_suspending()) { break main; } if (var$12[0].data[1]) { $var16 = $this.$posX; $var40 = $var16 | 0; if ($var16 < $var40) $var40 = $var40 - 1 | 0; if (($var40 - $par1 | 0) == var$12[0].data[0]) { $par4 = $this.$posZ; $var40 = $par4 | 0; if ($par4 < $var40) $var40 = $var40 - 1 | 0; if (($var40 - $par3 | 0) == var$12[0].data[2]) { nms_Entity_setPosition($this, $var16, $this.$posY + var$12[0].data[1], $par4); break a; } } } if (var$12[1].data[1]) { $par6 = $this.$posX; $var40 = $par6 | 0; if ($par6 < $var40) $var40 = $var40 - 1 | 0; if (($var40 - $par1 | 0) == var$12[1].data[0]) { $var14 = $this.$posZ; $var40 = $var14 | 0; if ($var14 < $var40) $var40 = $var40 - 1 | 0; if (($var40 - $par3 | 0) == var$12[1].data[2]) nms_Entity_setPosition($this, $par6, $this.$posY + var$12[1].data[1], $var14); } } } $this.$applyDrag(); $var38 = nms_EntityMinecart_func_70489_a($this, $this.$posX, $this.$posY, $this.$posZ); if ($var38 !== null && $var10 !== null) { $var39 = ($var10.$yCoord - $var38.$yCoord) * 0.05; $par4 = $this.$motionX; $par4 = $par4 * $par4; $par6 = $this.$motionZ; $par4 = jl_Math_sqrt($par4 + $par6 * $par6); if ($par4 > 0.0) { $par6 = $this.$motionX / $par4; $var14 = $par4 + $var39; $this.$motionX = $par6 * $var14; $this.$motionZ = $this.$motionZ / $par4 * $var14; } nms_Entity_setPosition($this, $this.$posX, $var38.$yCoord, $this.$posZ); } $par4 = $this.$posX; $var45 = $par4 | 0; if ($par4 < $var45) $var45 = $var45 - 1 | 0; $par4 = $this.$posZ; $var40 = $par4 | 0; if ($par4 < $var40) $var40 = $var40 - 1 | 0; if (!($var45 == $par1 && $var40 == $par3)) { $par4 = $this.$motionX; $par4 = $par4 * $par4; $par6 = $this.$motionZ; $par4 = jl_Math_sqrt($par4 + $par6 * $par6); $this.$motionX = $par4 * ($var45 - $par1 | 0); $this.$motionZ = $par4 * ($var40 - $par3 | 0); } if ($var11) { $par4 = $this.$motionX; $par4 = $par4 * $par4; $par6 = $this.$motionZ; $var41 = jl_Math_sqrt($par4 + $par6 * $par6); if ($var41 > 0.01) { $par4 = $this.$motionX; $this.$motionX = $par4 + $par4 / $var41 * 0.06; $par4 = $this.$motionZ; $this.$motionZ = $par4 + $par4 / $var41 * 0.06; } else if ($par9 == 1) { $par8 = nms_World_getBlockId($this.$worldObj, $par1 - 1 | 0, $par2, $par3); $var38 = nms_Block_blocksList.data[$par8]; if ($var38 === null) $par8 = 0; else { var$28 = $var38.$blockMaterial; $par8 = !var$28.$isTranslucent ? var$28.$blocksMovement() : 0; $par8 = $par8 && $var38.$renderAsNormalBlock() && !$var38.$canProvidePower() ? 1 : 0; } if ($par8) $this.$motionX = 0.02; else { $par1 = nms_World_getBlockId($this.$worldObj, $par1 + 1 | 0, $par2, $par3); $var38 = nms_Block_blocksList.data[$par1]; if ($var38 === null) $par1 = 0; else { var$28 = $var38.$blockMaterial; $par1 = !var$28.$isTranslucent ? var$28.$blocksMovement() : 0; $par1 = $par1 && $var38.$renderAsNormalBlock() && !$var38.$canProvidePower() ? 1 : 0; } if ($par1) $this.$motionX = (-0.02); } } else if (!$par9) { $par8 = nms_World_getBlockId($this.$worldObj, $par1, $par2, $par3 - 1 | 0); $var38 = nms_Block_blocksList.data[$par8]; if ($var38 === null) $par8 = 0; else { var$28 = $var38.$blockMaterial; $par8 = !var$28.$isTranslucent ? var$28.$blocksMovement() : 0; $par8 = $par8 && $var38.$renderAsNormalBlock() && !$var38.$canProvidePower() ? 1 : 0; } if ($par8) $this.$motionZ = 0.02; else { $par1 = nms_World_getBlockId($this.$worldObj, $par1, $par2, $par3 + 1 | 0); $var38 = nms_Block_blocksList.data[$par1]; if ($var38 === null) $par1 = 0; else { var$28 = $var38.$blockMaterial; $par1 = !var$28.$isTranslucent ? var$28.$blocksMovement() : 0; $par1 = $par1 && $var38.$renderAsNormalBlock() && !$var38.$canProvidePower() ? 1 : 0; } if ($par1) $this.$motionZ = (-0.02); } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par6, $par8, $par9, $var10, $var11, $var12, $var40, var$12, $var14, $var16, $var18, $var20, $var22, $var38, $var26, $var28, $var34, $var30, $var32, $var36, $var39, $var45, $var41, var$28, $ptr); }, nms_EntityMinecart_applyDrag = $this => { if ($this.$riddenByEntity === null) { $this.$motionX = $this.$motionX * 0.9599999785423279; $this.$motionY = $this.$motionY * 0.0; $this.$motionZ = $this.$motionZ * 0.9599999785423279; } else { $this.$motionX = $this.$motionX * 0.996999979019165; $this.$motionY = $this.$motionY * 0.0; $this.$motionZ = $this.$motionZ * 0.996999979019165; } }, nms_EntityMinecart_func_70495_a = ($this, $par1, $par3, $par5, $par7) => { let $var9, $var10, $var11, $var12, $var13, var$10, $var15, $var17, $var19; $var9 = $par1 | 0; if ($par1 < $var9) $var9 = $var9 - 1 | 0; $var10 = $par3 | 0; if ($par3 < $var10) $var10 = $var10 - 1 | 0; $var11 = $par5 | 0; if ($par5 < $var11) $var11 = $var11 - 1 | 0; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$worldObj, $var9, $var10 - 1 | 0, $var11))) $var10 = $var10 + (-1) | 0; $var12 = nms_World_getBlockId($this.$worldObj, $var9, $var10, $var11); if (!nms_BlockRailBase_isRailBlock($var12)) return null; $var13 = nms_World_getBlockMetadata($this.$worldObj, $var9, $var10, $var11); nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var12].$isPowered) $var13 = $var13 & 7; $par3 = $var10; if ($var13 >= 2 && $var13 <= 5) $par3 = $var10 + 1 | 0; a: { var$10 = nms_EntityMinecart_matrix.data[$var13].data; $var15 = var$10[1].data[0] - var$10[0].data[0] | 0; $var17 = var$10[1].data[2] - var$10[0].data[2] | 0; $var19 = jl_Math_sqrt($var15 * $var15 + $var17 * $var17); $var15 = $var15 / $var19; $var17 = $var17 / $var19; $var15 = $par1 + $var15 * $par7; $par5 = $par5 + $var17 * $par7; if (var$10[0].data[1]) { $var10 = $var15 | 0; if ($var15 < $var10) $var10 = $var10 - 1 | 0; if (($var10 - $var9 | 0) == var$10[0].data[0]) { $var10 = $par5 | 0; if ($par5 < $var10) $var10 = $var10 - 1 | 0; if (($var10 - $var11 | 0) == var$10[0].data[2]) { $par3 = $par3 + var$10[0].data[1]; break a; } } } if (var$10[1].data[1]) { $var10 = $var15 | 0; if ($var15 < $var10) $var10 = $var10 - 1 | 0; if (($var10 - $var9 | 0) == var$10[1].data[0]) { $var12 = $par5 | 0; if ($par5 < $var12) $var12 = $var12 - 1 | 0; if (($var12 - $var11 | 0) == var$10[1].data[2]) $par3 = $par3 + var$10[1].data[1]; } } } return nms_EntityMinecart_func_70489_a($this, $var15, $par3, $par5); }, nms_EntityMinecart_func_70489_a = ($this, $par1, $par3, $par5) => { let $var7, $var8, $var9, $var10, $var11, $var23, $var12, $var33, $var25, $var15, $var17, $var35, $var27, $var19, $var21, $var29, $var31; $var7 = $par1 | 0; if ($par1 < $var7) $var7 = $var7 - 1 | 0; $var8 = $par3 | 0; if ($par3 < $var8) $var8 = $var8 - 1 | 0; $var9 = $par5 | 0; if ($par5 < $var9) $var9 = $var9 - 1 | 0; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$worldObj, $var7, $var8 - 1 | 0, $var9))) $var8 = $var8 + (-1) | 0; $var10 = nms_World_getBlockId($this.$worldObj, $var7, $var8, $var9); if (!nms_BlockRailBase_isRailBlock($var10)) return null; $var11 = nms_World_getBlockMetadata($this.$worldObj, $var7, $var8, $var9); $var23 = $var8; nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var10].$isPowered) $var11 = $var11 & 7; $var11 >= 2 && $var11 > 5; $var12 = nms_EntityMinecart_matrix.data[$var11].data; $var33 = $var7; $var25 = $var33 + 0.5; $var15 = $var25 + $var12[0].data[0] * 0.5; $par3 = $var23 + 0.5; $var17 = $par3 + $var12[0].data[1] * 0.5; $var35 = $var9; $var27 = $var35 + 0.5; $var19 = $var27 + $var12[0].data[2] * 0.5; $var21 = $var25 + $var12[1].data[0] * 0.5; $var23 = $par3 + $var12[1].data[1] * 0.5; $var25 = $var27 + $var12[1].data[2] * 0.5; $var27 = $var21 - $var15; $var29 = ($var23 - $var17) * 2.0; $var31 = $var25 - $var19; $par1 = $var27 === 0.0 ? $par5 - $var35 : $var31 === 0.0 ? $par1 - $var33 : (($par1 - $var15) * $var27 + ($par5 - $var19) * $var31) * 2.0; $par3 = $var15 + $var27 * $par1; $par5 = $var17 + $var29 * $par1; $par1 = $var19 + $var31 * $par1; $var10 = $rt_compare($var29, 0.0); if ($var10 < 0) $par5 = $par5 + 1.0; if ($var10 > 0) $par5 = $par5 + 0.5; return nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $par3, $par5, $par1); }, nms_EntityMinecart_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2403).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2403).$nativeString.length) break a; $rt_s(2403).$hashCode1 = (31 * $rt_s(2403).$hashCode1 | 0) + $rt_s(2403).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2403).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(2403) !== var$6) { if ($rt_s(2403) !== var$6) { if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2403).$nativeString !== var$6.$nativeString ? 0 : 1; } } else var$3 = 1; if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2403) !== null) { c: { if (!$rt_s(2403).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2403).$nativeString.length) break c; $rt_s(2403).$hashCode1 = (31 * $rt_s(2403).$hashCode1 | 0) + $rt_s(2403).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$3 = $rt_s(2403).$hashCode1; var$5 = var$2.$elementData.data; var$7 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$3) { d: { var$2 = var$7.$key; if ($rt_s(2403) !== var$2) { if ($rt_s(2403) === var$2) var$4 = 1; else if (!(var$2 instanceof jl_String)) var$4 = 0; else { var$2 = var$2; var$4 = $rt_s(2403).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$7 = var$7.$next3; } } else { var$7 = var$2.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } var$4 = (var$7 === null ? null : var$7.$value1).$data; } else var$4 = 0; if (!var$4 ? 0 : 1) { e: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2404).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2404).$nativeString.length) break e; $rt_s(2404).$hashCode1 = (31 * $rt_s(2404).$hashCode1 | 0) + $rt_s(2404).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2404).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { f: { var$6 = var$2.$key; if ($rt_s(2404) !== var$6) { if ($rt_s(2404) !== var$6) { if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2404).$nativeString !== var$6.$nativeString ? 0 : 1; } } else var$4 = 1; if (!var$4) { var$4 = 0; break f; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$4 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2404) !== null) { g: { if (!$rt_s(2404).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2404).$nativeString.length) break g; $rt_s(2404).$hashCode1 = (31 * $rt_s(2404).$hashCode1 | 0) + $rt_s(2404).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2404).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { h: { var$6 = var$2.$key; if ($rt_s(2404) !== var$6) { if ($rt_s(2404) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$4 = $rt_s(2404).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break h; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$4 = (var$2 === null ? null : var$2.$value1).$data0; } i: { nms_EntityMinecart_setDisplayTile($this, var$4); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2405).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2405).$nativeString.length) break i; $rt_s(2405).$hashCode1 = (31 * $rt_s(2405).$hashCode1 | 0) + $rt_s(2405).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2405).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { j: { var$6 = var$2.$key; if ($rt_s(2405) !== var$6) { if ($rt_s(2405) === var$6) var$4 = 1; else if (var$6 instanceof jl_String) { var$6 = var$6; var$4 = $rt_s(2405).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$4 = 0; if (!var$4) { var$4 = 0; break j; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2405) !== null) { k: { if (!$rt_s(2405).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2405).$nativeString.length) break k; $rt_s(2405).$hashCode1 = (31 * $rt_s(2405).$hashCode1 | 0) + $rt_s(2405).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2405).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { l: { var$6 = var$2.$key; if ($rt_s(2405) !== var$6) { if ($rt_s(2405) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$4 = $rt_s(2405).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break l; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$4 = (var$2 === null ? null : var$2.$value1).$data0; } else var$4 = 0; m: { nms_EntityMinecart_setDisplayTileData($this, var$4); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2406).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2406).$nativeString.length) break m; $rt_s(2406).$hashCode1 = (31 * $rt_s(2406).$hashCode1 | 0) + $rt_s(2406).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2406).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { n: { var$6 = var$2.$key; if ($rt_s(2406) !== var$6) { if ($rt_s(2406) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$4 = $rt_s(2406).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break n; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2406) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { o: { if (!$rt_s(2406).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2406).$nativeString.length) break o; $rt_s(2406).$hashCode1 = (31 * $rt_s(2406).$hashCode1 | 0) + $rt_s(2406).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2406).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { p: { var$6 = var$2.$key; if ($rt_s(2406) !== var$6) { if ($rt_s(2406) === var$6) var$4 = 1; else if (var$6 instanceof jl_String) { var$6 = var$6; var$4 = $rt_s(2406).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$4 = 0; if (!var$4) { var$4 = 0; break p; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$4 = (var$2 === null ? null : var$2.$value1).$data0; } else var$4 = 0; nms_EntityMinecart_setDisplayTileOffset($this, var$4); } q: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1281).$nativeString.length) break q; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(1281).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { r: { var$6 = var$2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break r; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { s: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1281).$nativeString.length) break s; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(1281).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { t: { var$6 = var$2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break t; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$9 = $rt_s(18); else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1281) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { u: { if (!$rt_s(1281).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1281).$nativeString.length) break u; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(1281).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { v: { var$6 = var$2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break v; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$9 = (var$2 === null ? null : var$2.$value1).$data1; } if (var$9.$nativeString.length > 0) { w: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1281).$nativeString.length) break w; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(1281).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { x: { var$6 = var$2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break x; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $par1NBTTagCompound = $rt_s(18); else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1281) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { y: { if (!$rt_s(1281).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1281).$nativeString.length) break y; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(1281).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$8 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$8) { z: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(1281) !== var$2) { if ($rt_s(1281) === var$2) var$4 = 1; else if (!(var$2 instanceof jl_String)) var$4 = 0; else { var$2 = var$2; var$4 = $rt_s(1281).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break z; } } var$4 = 1; } if (var$4) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $par1NBTTagCompound = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data1; } $this.$entityName = $par1NBTTagCompound; } } }, nms_EntityMinecart_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5; if (nms_EntityMinecart_hasDisplayTile($this)) { var$2 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(2403); var$3.$data = 1; ju_HashMap_putImpl(var$2, $rt_s(2403), var$3); var$4 = nms_EntityMinecart_getDisplayTile($this) === null ? 0 : (nms_EntityMinecart_getDisplayTile($this)).$blockID; var$2 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagInt; var$3.$name = $rt_s(2404); var$3.$data0 = var$4; ju_HashMap_putImpl(var$2, $rt_s(2404), var$3); var$4 = nms_EntityMinecart_getDisplayTileData($this); var$2 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagInt; var$3.$name = $rt_s(2405); var$3.$data0 = var$4; ju_HashMap_putImpl(var$2, $rt_s(2405), var$3); var$4 = nms_EntityMinecart_getDisplayTileOffset($this); var$2 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagInt; var$3.$name = $rt_s(2406); var$3.$data0 = var$4; ju_HashMap_putImpl(var$2, $rt_s(2406), var$3); } var$5 = $this.$entityName; if (var$5 !== null && var$5.$nativeString.length > 0) { var$3 = $this.$entityName; var$2 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagString; $par1NBTTagCompound.$name = $rt_s(1281); $par1NBTTagCompound.$data1 = var$3; if (var$3 === null) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(186); $rt_throw(var$5); } ju_HashMap_putImpl(var$2, $rt_s(1281), $par1NBTTagCompound); } }, nms_EntityMinecart_getShadowSize = $this => { return 0.0; }, nms_EntityMinecart_applyEntityCollision = ($this, $par1Entity) => { let $var2, $var4, $var6, $var8, var$6, $var18, $var10, $var12, $var14, $var15, var$12, var$13, $var20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var20 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var18 = $thread.pop();var$6 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj.$isRemote && $par1Entity !== $this.$riddenByEntity) { if ($par1Entity instanceof nms_EntityLivingBase && !($par1Entity instanceof nms_EntityPlayer) && !($par1Entity instanceof nms_EntityIronGolem) && !$this.$getMinecartType()) { $var2 = $this.$motionX; $var2 = $var2 * $var2; $var4 = $this.$motionZ; if ($var2 + $var4 * $var4 > 0.01 && $this.$riddenByEntity === null && $par1Entity.$ridingEntity === null) { $ptr = 1; continue main; } } $var2 = $par1Entity.$posX - $this.$posX; $var4 = $par1Entity.$posZ - $this.$posZ; $var6 = $var2 * $var2 + $var4 * $var4; if ($var6 >= 9.999999747378752E-5) { $var6 = jl_Math_sqrt($var6); $var2 = $var2 / $var6; $var4 = $var4 / $var6; $var8 = 1.0 / $var6; if ($var8 > 1.0) $var8 = 1.0; $var2 = $var2 * $var8; $var4 = $var4 * $var8; $var2 = $var2 * 0.10000000149011612; $var4 = $var4 * 0.10000000149011612; $var6 = 1.0 - $this.$entityCollisionReduction; $var2 = $var2 * $var6; $var4 = $var4 * $var6; $var2 = $var2 * 0.5; var$6 = $var4 * 0.5; if (!($par1Entity instanceof nms_EntityMinecart)) { $var6 = -$var2; $var18 = -var$6; $this.$motionX = $this.$motionX + $var6; $this.$motionY = $this.$motionY + 0.0; $this.$motionZ = $this.$motionZ + $var18; $this.$isAirBorne = 1; $var4 = $var2 / 4.0; $var2 = var$6 / 4.0; $par1Entity.$motionX = $par1Entity.$motionX + $var4; $par1Entity.$motionY = $par1Entity.$motionY + 0.0; $par1Entity.$motionZ = $par1Entity.$motionZ + $var2; $par1Entity.$isAirBorne = 1; } else { $var10 = $par1Entity.$posX - $this.$posX; $var12 = $par1Entity.$posZ - $this.$posZ; $var14 = nms_Vec3_normalize(nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $var10, 0.0, $var12)); $var15 = $this.$worldObj.$vecPool; var$12 = $this.$rotationYaw * 3.1415927410125732 / 180.0; var$13 = nms_MathHelper_SIN_TABLE.data; var$12 = var$12 * 10430.3779296875; $var15 = nms_Vec3_normalize(nms_Vec3Pool_getVecFromPool($var15, var$13[(var$12 + 16384.0 | 0) & 65535], 0.0, var$13[(var$12 | 0) & 65535])); if (jl_Math_absImpl($var14.$xCoord * $var15.$xCoord + $var14.$yCoord * $var15.$yCoord + $var14.$zCoord * $var15.$zCoord) < 0.800000011920929) return; $var18 = $par1Entity.$motionX + $this.$motionX; $var20 = $par1Entity.$motionZ + $this.$motionZ; $var14 = $par1Entity; if ($var14.$getMinecartType() == 2 && $this.$getMinecartType() != 2) { $var4 = $this.$motionX * 0.20000000298023224; $this.$motionX = $var4; $var6 = $this.$motionZ * 0.20000000298023224; $this.$motionZ = $var6; $var2 = $par1Entity.$motionX - $var2; $var18 = $par1Entity.$motionZ - var$6; $this.$motionX = $var4 + $var2; $this.$motionY = $this.$motionY + 0.0; $this.$motionZ = $var6 + $var18; $this.$isAirBorne = 1; $par1Entity.$motionX = $par1Entity.$motionX * 0.949999988079071; $par1Entity.$motionZ = $par1Entity.$motionZ * 0.949999988079071; } else if ($var14.$getMinecartType() != 2 && $this.$getMinecartType() == 2) { $var4 = $par1Entity.$motionX * 0.20000000298023224; $par1Entity.$motionX = $var4; $var6 = $par1Entity.$motionZ * 0.20000000298023224; $par1Entity.$motionZ = $var6; $var2 = $this.$motionX + $var2; $var18 = $this.$motionZ + var$6; $par1Entity.$motionX = $var4 + $var2; $par1Entity.$motionY = $par1Entity.$motionY + 0.0; $par1Entity.$motionZ = $var6 + $var18; $par1Entity.$isAirBorne = 1; $this.$motionX = $this.$motionX * 0.949999988079071; $this.$motionZ = $this.$motionZ * 0.949999988079071; } else { $var4 = $var18 / 2.0; $var6 = $var20 / 2.0; $var8 = $this.$motionX * 0.20000000298023224; $this.$motionX = $var8; $var18 = $this.$motionZ * 0.20000000298023224; $this.$motionZ = $var18; $var20 = $var4 - $var2; $var10 = $var6 - var$6; $this.$motionX = $var8 + $var20; $this.$motionY = $this.$motionY + 0.0; $this.$motionZ = $var18 + $var10; $this.$isAirBorne = 1; $var8 = $par1Entity.$motionX * 0.20000000298023224; $par1Entity.$motionX = $var8; $var18 = $par1Entity.$motionZ * 0.20000000298023224; $par1Entity.$motionZ = $var18; $var2 = $var4 + $var2; $var6 = $var6 + var$6; $par1Entity.$motionX = $var8 + $var2; $par1Entity.$motionY = $par1Entity.$motionY + 0.0; $par1Entity.$motionZ = $var18 + $var6; $par1Entity.$isAirBorne = 1; } } } } return; case 1: $par1Entity.$mountEntity($this); if ($rt_suspending()) { break main; } $var2 = $par1Entity.$posX - $this.$posX; $var4 = $par1Entity.$posZ - $this.$posZ; $var6 = $var2 * $var2 + $var4 * $var4; if ($var6 >= 9.999999747378752E-5) { $var6 = jl_Math_sqrt($var6); $var2 = $var2 / $var6; $var4 = $var4 / $var6; $var8 = 1.0 / $var6; if ($var8 > 1.0) $var8 = 1.0; $var2 = $var2 * $var8; $var4 = $var4 * $var8; $var2 = $var2 * 0.10000000149011612; $var4 = $var4 * 0.10000000149011612; $var6 = 1.0 - $this.$entityCollisionReduction; $var2 = $var2 * $var6; $var4 = $var4 * $var6; $var2 = $var2 * 0.5; var$6 = $var4 * 0.5; if (!($par1Entity instanceof nms_EntityMinecart)) { $var6 = -$var2; $var18 = -var$6; $this.$motionX = $this.$motionX + $var6; $this.$motionY = $this.$motionY + 0.0; $this.$motionZ = $this.$motionZ + $var18; $this.$isAirBorne = 1; $var4 = $var2 / 4.0; $var2 = var$6 / 4.0; $par1Entity.$motionX = $par1Entity.$motionX + $var4; $par1Entity.$motionY = $par1Entity.$motionY + 0.0; $par1Entity.$motionZ = $par1Entity.$motionZ + $var2; $par1Entity.$isAirBorne = 1; } else { $var10 = $par1Entity.$posX - $this.$posX; $var12 = $par1Entity.$posZ - $this.$posZ; $var14 = nms_Vec3_normalize(nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $var10, 0.0, $var12)); $var15 = $this.$worldObj.$vecPool; var$12 = $this.$rotationYaw * 3.1415927410125732 / 180.0; var$13 = nms_MathHelper_SIN_TABLE.data; var$12 = var$12 * 10430.3779296875; $var15 = nms_Vec3_normalize(nms_Vec3Pool_getVecFromPool($var15, var$13[(var$12 + 16384.0 | 0) & 65535], 0.0, var$13[(var$12 | 0) & 65535])); if (jl_Math_absImpl($var14.$xCoord * $var15.$xCoord + $var14.$yCoord * $var15.$yCoord + $var14.$zCoord * $var15.$zCoord) < 0.800000011920929) return; $var18 = $par1Entity.$motionX + $this.$motionX; $var20 = $par1Entity.$motionZ + $this.$motionZ; $var14 = $par1Entity; if ($var14.$getMinecartType() == 2 && $this.$getMinecartType() != 2) { $var4 = $this.$motionX * 0.20000000298023224; $this.$motionX = $var4; $var6 = $this.$motionZ * 0.20000000298023224; $this.$motionZ = $var6; $var2 = $par1Entity.$motionX - $var2; $var18 = $par1Entity.$motionZ - var$6; $this.$motionX = $var4 + $var2; $this.$motionY = $this.$motionY + 0.0; $this.$motionZ = $var6 + $var18; $this.$isAirBorne = 1; $par1Entity.$motionX = $par1Entity.$motionX * 0.949999988079071; $par1Entity.$motionZ = $par1Entity.$motionZ * 0.949999988079071; } else if ($var14.$getMinecartType() != 2 && $this.$getMinecartType() == 2) { $var4 = $par1Entity.$motionX * 0.20000000298023224; $par1Entity.$motionX = $var4; $var6 = $par1Entity.$motionZ * 0.20000000298023224; $par1Entity.$motionZ = $var6; $var2 = $this.$motionX + $var2; $var18 = $this.$motionZ + var$6; $par1Entity.$motionX = $var4 + $var2; $par1Entity.$motionY = $par1Entity.$motionY + 0.0; $par1Entity.$motionZ = $var6 + $var18; $par1Entity.$isAirBorne = 1; $this.$motionX = $this.$motionX * 0.949999988079071; $this.$motionZ = $this.$motionZ * 0.949999988079071; } else { $var4 = $var18 / 2.0; $var6 = $var20 / 2.0; $var8 = $this.$motionX * 0.20000000298023224; $this.$motionX = $var8; $var18 = $this.$motionZ * 0.20000000298023224; $this.$motionZ = $var18; $var20 = $var4 - $var2; $var10 = $var6 - var$6; $this.$motionX = $var8 + $var20; $this.$motionY = $this.$motionY + 0.0; $this.$motionZ = $var18 + $var10; $this.$isAirBorne = 1; $var8 = $par1Entity.$motionX * 0.20000000298023224; $par1Entity.$motionX = $var8; $var18 = $par1Entity.$motionZ * 0.20000000298023224; $par1Entity.$motionZ = $var18; $var2 = $var4 + $var2; $var6 = $var6 + var$6; $par1Entity.$motionX = $var8 + $var2; $par1Entity.$motionY = $par1Entity.$motionY + 0.0; $par1Entity.$motionZ = $var18 + $var6; $par1Entity.$isAirBorne = 1; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $var2, $var4, $var6, $var8, var$6, $var18, $var10, $var12, $var14, $var15, var$12, var$13, $var20, $ptr); }, nms_EntityMinecart_setPositionAndRotation2 = ($this, $par1, $par3, $par5, $par7, $par8, $par9) => { $this.$minecartX = $par1; $this.$minecartY = $par3; $this.$minecartZ = $par5; $this.$minecartYaw = $par7; $this.$minecartPitch = $par8; $this.$turnProgress = $par9 + 2 | 0; $this.$motionX = $this.$velocityX0; $this.$motionY = $this.$velocityY0; $this.$motionZ = $this.$velocityZ0; }, nms_EntityMinecart_setVelocity = ($this, $par1, $par3, $par5) => { $this.$motionX = $par1; $this.$velocityX0 = $par1; $this.$motionY = $par3; $this.$velocityY0 = $par3; $this.$motionZ = $par5; $this.$velocityZ0 = $par5; }, nms_EntityMinecart_setDamage = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$2 = $this.$dataWatcher; var$3 = new jl_Float; var$3.$value3 = $par1; var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[147]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; var$4 = var$5.$watchedObject; if (var$3 === var$4) var$9 = 1; else a: { if (var$4 instanceof jl_Float) { var$10 = var$3.$value3; $par1 = var$4.$value3; if (var$10 !== var$10 ? ($par1 === $par1 ? 0 : 1) : $rt_floatToRawIntBits(var$10) != $rt_floatToRawIntBits($par1) ? 0 : 1) { var$9 = 1; break a; } } var$9 = 0; } if (!var$9) { var$5.$watchedObject = var$3; var$5.$watched = 1; var$2.$objectChanged = 1; } }, nms_EntityMinecart_getDamage = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject.$value3; }, nms_EntityMinecart_setRollingAmplitude = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$dataWatcher; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $par1; } var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[145]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; var$4 = var$5.$watchedObject; if (!(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$3.$value0 ? 1 : 0)) { var$5.$watchedObject = var$3; var$5.$watched = 1; var$2.$objectChanged = 1; } }, nms_EntityMinecart_getRollingAmplitude = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[145]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; }, nms_EntityMinecart_setRollingDirection = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$dataWatcher; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $par1; } var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[146]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; var$4 = var$5.$watchedObject; if (!(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$3.$value0 ? 1 : 0)) { var$5.$watchedObject = var$3; var$5.$watched = 1; var$2.$objectChanged = 1; } }, nms_EntityMinecart_getRollingDirection = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[146]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; }, nms_EntityMinecart_getDisplayTile = $this => { let var$1, var$2, $var1, var$4, var$5; if (!nms_EntityMinecart_hasDisplayTile($this)) return $this.$getDefaultDisplayTile(); var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[148]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var1 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var1 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var1) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; a: { $var1 = var$1.$watchedObject.$value0 & 65535; if ($var1 > 0) { nms_Block_$callClinit(); var$4 = nms_Block_blocksList.data; if ($var1 < var$4.length) { var$1 = var$4[$var1]; break a; } } var$1 = null; } return var$1; }, nms_EntityMinecart_getDefaultDisplayTile = $this => { return null; }, nms_EntityMinecart_getDisplayTileData = $this => { let var$1, var$2, var$3, var$4, var$5; if (!nms_EntityMinecart_hasDisplayTile($this)) var$1 = $this.$getDefaultDisplayTileData(); else { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[148]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$1 = var$3.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$1 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$1) { var$5 = var$2.$key; if (var$3 !== var$5 && !(var$3 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$1 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0 >> 16; } return var$1; }, nms_EntityMinecart_getDefaultDisplayTileData = $this => { return 0; }, nms_EntityMinecart_getDisplayTileOffset = $this => { let var$1, var$2, var$3, var$4, var$5; if (!nms_EntityMinecart_hasDisplayTile($this)) var$1 = $this.$getDefaultDisplayTileOffset(); else { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[149]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$1 = var$3.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$1 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$1) { var$5 = var$2.$key; if (var$3 !== var$5 && !(var$3 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$1 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; } return var$1; }, nms_EntityMinecart_getDefaultDisplayTileOffset = $this => { return 6; }, nms_EntityMinecart_setDisplayTile = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$2 = $this.$dataWatcher; var$3 = $par1 & 65535; if (!nms_EntityMinecart_hasDisplayTile($this)) var$4 = $this.$getDefaultDisplayTileData(); else { var$5 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[148]; if (var$6 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$7 = var$6.$value0; var$8 = var$5.$elementData.data; var$5 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$7) { var$9 = var$5.$key; if (var$6 !== var$9 && !(var$6 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$4 = (var$5 === null ? null : var$5.$value1).$watchedObject.$value0 >> 16; } $par1 = var$3 | var$4 << 16; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $par1; } var$9 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[148]; if (var$10 === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$4 = var$10.$value0; var$8 = var$9.$elementData.data; var$9 = var$8[var$4 & (var$8.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$4) { var$6 = var$9.$key; if (var$10 !== var$6 && !(var$10 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$9 = var$9.$next3; } } var$6 = var$9 === null ? null : var$9.$value1; var$9 = var$6.$watchedObject; if (!(var$5 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$5.$value0 ? 1 : 0)) { var$6.$watchedObject = var$5; var$6.$watched = 1; var$2.$objectChanged = 1; } nms_EntityMinecart_setHasDisplayTile($this, 1); }, nms_EntityMinecart_setDisplayTileData = ($this, $par1) => { let $var2, $var3, var$4, var$5, var$6, var$7, var$8; $var2 = nms_EntityMinecart_getDisplayTile($this); $var3 = $var2 !== null ? $var2.$blockID : 0; var$4 = $this.$dataWatcher; $par1 = $var3 & 65535 | $par1 << 16; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = $par1; } var$5 = var$4.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[148]; if (var$6 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { $var3 = var$6.$value0; var$7 = var$5.$elementData.data; var$5 = var$7[$var3 & (var$7.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == $var3) { var$8 = var$5.$key; if (var$6 !== var$8 && !(var$6 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == $var3 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$8 = var$5 === null ? null : var$5.$value1; var$5 = var$8.$watchedObject; if (!($var2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var2.$value0 ? 1 : 0)) { var$8.$watchedObject = $var2; var$8.$watched = 1; var$4.$objectChanged = 1; } nms_EntityMinecart_setHasDisplayTile($this, 1); }, nms_EntityMinecart_setDisplayTileOffset = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$dataWatcher; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $par1; } var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[149]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = var$8.$watchedObject; if (!(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$3.$value0 ? 1 : 0)) { var$8.$watchedObject = var$3; var$8.$watched = 1; var$2.$objectChanged = 1; } nms_EntityMinecart_setHasDisplayTile($this, 1); }, nms_EntityMinecart_hasDisplayTile = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[150]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return var$1.$watchedObject.$value2 != 1 ? 0 : 1; }, nms_EntityMinecart_setHasDisplayTile = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$dataWatcher; $par1 = (!$par1 ? 0 : 1) << 24 >> 24; var$3 = jl_Byte_byteCache.data[$par1 + 128 | 0]; var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[150]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = var$8.$watchedObject; if (!(var$4 instanceof jl_Byte && var$4.$value2 == var$3.$value2 ? 1 : 0)) { var$8.$watchedObject = var$3; var$8.$watched = 1; var$2.$objectChanged = 1; } }, nms_EntityMinecart_setMinecartName = ($this, $par1Str) => { $this.$entityName = $par1Str; }, nms_EntityMinecart_getEntityName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$entityName; if (var$1 === null) { nms_EntityList_$callClinit(); var$1 = nms_EntityList_classToStringMapping; var$2 = $this.constructor; if (var$2 === null) var$3 = null; else { var$3 = var$2.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$2; var$2.classObject = var$3; } } if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$2 = var$3; if (!var$2.$id$) var$2.$id$ = $rt_nextId(); var$4 = var$3.$id$; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$2 = var$1.$key; if (var$3 !== var$2 && !(var$3 !== var$2 ? 0 : 1) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (var$1 === null) var$1 = $rt_s(400); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1257)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$1); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1258)); var$1 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); nms_StatCollector_$callClinit(); var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$1); } else { var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } } return var$1; }, nms_EntityMinecart_isInvNameLocalized = $this => { return $this.$entityName === null ? 0 : 1; }, nms_EntityMinecart_func_95999_t = $this => { return $this.$entityName; }, nms_EntityMinecart__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; var$1 = $rt_createArray($rt_arraycls($rt_arraycls($rt_intcls)), 10); var$2 = var$1.data; var$3 = $rt_createArray($rt_arraycls($rt_intcls), 2); var$4 = var$3.data; var$4[0] = $rt_createIntArrayFromData([0, 0, (-1)]); var$4[1] = $rt_createIntArrayFromData([0, 0, 1]); var$2[0] = var$3; var$3 = $rt_createArray($rt_arraycls($rt_intcls), 2); var$4 = var$3.data; var$4[0] = $rt_createIntArrayFromData([(-1), 0, 0]); var$4[1] = $rt_createIntArrayFromData([1, 0, 0]); var$2[1] = var$3; var$3 = $rt_createArray($rt_arraycls($rt_intcls), 2); var$4 = var$3.data; var$4[0] = $rt_createIntArrayFromData([(-1), (-1), 0]); var$4[1] = $rt_createIntArrayFromData([1, 0, 0]); var$2[2] = var$3; var$3 = $rt_createArray($rt_arraycls($rt_intcls), 2); var$4 = var$3.data; var$4[0] = $rt_createIntArrayFromData([(-1), 0, 0]); var$4[1] = $rt_createIntArrayFromData([1, (-1), 0]); var$2[3] = var$3; var$3 = $rt_createArray($rt_arraycls($rt_intcls), 2); var$4 = var$3.data; var$4[0] = $rt_createIntArrayFromData([0, 0, (-1)]); var$4[1] = $rt_createIntArrayFromData([0, (-1), 1]); var$2[4] = var$3; var$3 = $rt_createArray($rt_arraycls($rt_intcls), 2); var$4 = var$3.data; var$4[0] = $rt_createIntArrayFromData([0, (-1), (-1)]); var$4[1] = $rt_createIntArrayFromData([0, 0, 1]); var$2[5] = var$3; var$5 = $rt_createArray($rt_arraycls($rt_intcls), 2); var$4 = var$5.data; var$4[0] = $rt_createIntArrayFromData([0, 0, 1]); var$4[1] = $rt_createIntArrayFromData([1, 0, 0]); var$2[6] = var$5; var$3 = $rt_createArray($rt_arraycls($rt_intcls), 2); var$4 = var$3.data; var$4[0] = $rt_createIntArrayFromData([0, 0, 1]); var$4[1] = $rt_createIntArrayFromData([(-1), 0, 0]); var$2[7] = var$3; var$3 = $rt_createArray($rt_arraycls($rt_intcls), 2); var$4 = var$3.data; var$4[0] = $rt_createIntArrayFromData([0, 0, (-1)]); var$4[1] = $rt_createIntArrayFromData([(-1), 0, 0]); var$2[8] = var$3; var$3 = $rt_createArray($rt_arraycls($rt_intcls), 2); var$4 = var$3.data; var$4[0] = $rt_createIntArrayFromData([0, 0, (-1)]); var$4[1] = $rt_createIntArrayFromData([1, 0, 0]); var$2[9] = var$3; nms_EntityMinecart_matrix = var$1; }; function nms_EntityMinecartTNT() { nms_EntityMinecart.call(this); this.$minecartTNTFuse = 0; } let nms_EntityMinecartTNT_getMinecartType = $this => { return 3; }, nms_EntityMinecartTNT_getDefaultDisplayTile = $this => { nms_Block_$callClinit(); return nms_Block_tnt; }, nms_EntityMinecartTNT_onUpdate = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_EntityMinecart_onUpdate($this); if ($rt_suspending()) { break main; } var$1 = $this.$minecartTNTFuse; if (var$1 <= 0) { if (var$1) break a; $var1 = $this.$motionX; $var1 = $var1 * $var1; var$3 = $this.$motionZ; $var1 = $var1 + var$3 * var$3; $ptr = 2; continue main; } $this.$minecartTNTFuse = var$1 - 1 | 0; var$4 = $this.$worldObj; var$5 = $rt_s(1479); var$6 = $this.$posX; var$7 = $this.$posY + 0.5; var$8 = $this.$posZ; $var1 = 0.0; var$3 = 0.0; var$9 = 0.0; var$10 = 0; var$11 = var$4.$worldAccesses; var$1 = $rt_compare(var$10, var$11.$size0); if (var$1 < 0) { if (var$10 >= 0 && var$1 < 0) { var$11 = var$11.$array.data[var$10]; $ptr = 4; continue main; } var$11 = new jl_IndexOutOfBoundsException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; $rt_throw(var$11); } } if ($this.$isCollidedHorizontally) { $var1 = $this.$motionX; $var1 = $var1 * $var1; var$3 = $this.$motionZ; $var1 = $var1 + var$3 * var$3; if ($var1 >= 0.009999999776482582) { $ptr = 3; continue main; } } return; case 2: nms_EntityMinecartTNT_explodeCart($this, $var1); if ($rt_suspending()) { break main; } if ($this.$isCollidedHorizontally) { $var1 = $this.$motionX; $var1 = $var1 * $var1; var$3 = $this.$motionZ; $var1 = $var1 + var$3 * var$3; if ($var1 >= 0.009999999776482582) { $ptr = 3; continue main; } } return; case 3: nms_EntityMinecartTNT_explodeCart($this, $var1); if ($rt_suspending()) { break main; } return; case 4: nms_RenderGlobal_doSpawnParticle(var$11, var$5, var$6, var$7, var$8, $var1, var$3, var$9); if ($rt_suspending()) { break main; } var$10 = var$10 + 1 | 0; var$11 = var$4.$worldAccesses; var$1 = $rt_compare(var$10, var$11.$size0); if (var$1 >= 0) { if ($this.$isCollidedHorizontally) { $var1 = $this.$motionX; $var1 = $var1 * $var1; var$3 = $this.$motionZ; $var1 = $var1 + var$3 * var$3; if ($var1 >= 0.009999999776482582) { $ptr = 3; continue main; } } return; } if (var$10 >= 0 && var$1 < 0) { var$11 = var$11.$array.data[var$10]; continue main; } var$11 = new jl_IndexOutOfBoundsException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; $rt_throw(var$11); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntityMinecartTNT_killMinecart = ($this, $par1DamageSource) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityMinecart_killMinecart($this, $par1DamageSource); if ($rt_suspending()) { break main; } $var2 = $this.$motionX; $var2 = $var2 * $var2; var$3 = $this.$motionZ; $var2 = $var2 + var$3 * var$3; if ($par1DamageSource.$explosion) { if (!$par1DamageSource.$fireDamage && !$par1DamageSource.$explosion && $var2 < 0.009999999776482582) return; $ptr = 3; continue main; } var$4 = new nms_ItemStack; nms_Block_$callClinit(); var$5 = nms_Block_tnt; nms_ItemStack_$callClinit(); var$4.$itemID = var$5.$blockID; var$4.$stackSize = 1; var$4.$itemDamage = 0; var$6 = new nms_EntityItem; var$5 = $this.$worldObj; var$7 = $this.$posX; var$3 = $this.$posY + 0.0; var$8 = $this.$posZ; $ptr = 2; case 2: nms_EntityItem__init_(var$6, var$5, var$7, var$3, var$8); if ($rt_suspending()) { break main; } var$9 = var$6.$dataWatcher; var$5 = var$9.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[138]; if (var$10 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$11 = jl_Integer_hashCode(var$10.$value0); var$12 = var$5.$elementData.data; var$5 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$11 && ju_HashMap_areEqualKeys(var$10, var$5.$key))) { var$5 = var$5.$next3; } } var$13 = var$5 === null ? null : var$5.$value1; if (!(var$4 !== var$13.$watchedObject ? 0 : 1)) { var$13.$watchedObject = var$4; var$13.$watched = 1; var$9.$objectChanged = 1; } var$13 = var$6.$dataWatcher; var$5 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[138]; if (var$4 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$11 = jl_Integer_hashCode(var$4.$value0); var$12 = var$5.$elementData.data; var$5 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$11 && ju_HashMap_areEqualKeys(var$4, var$5.$key))) { var$5 = var$5.$next3; } } (var$5 === null ? null : var$5.$value1).$watched = 1; var$13.$objectChanged = 1; var$6.$delayBeforeCanPickup = 10; var$5 = $this.$worldObj; var$14 = nms_World_spawnEntityInWorld(var$5, var$6); var$9 = var$5.$entityList; ju_HashMap_putImpl(var$9.$backingMap, var$6, var$9); if (!var$14) { var$5 = var$5.$entitySpawnQueue; ju_HashMap_putImpl(var$5.$backingMap, var$6, var$5); } if (!$par1DamageSource.$fireDamage && !$par1DamageSource.$explosion && $var2 < 0.009999999776482582) return; $ptr = 3; case 3: nms_EntityMinecartTNT_explodeCart($this, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_EntityMinecartTNT_explodeCart = ($this, $par1) => { let $var3, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$worldObj.$isRemote) return; $var3 = jl_Math_sqrt($par1); if ($var3 > 5.0) $var3 = 5.0; var$3 = $this.$worldObj; var$4 = $this.$posX; var$5 = $this.$posY; var$6 = $this.$posZ; var$7 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$8; var$9 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$8, 22))), 27); var$10 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$10; var$11 = 4.0 + Long_toNumber(Long_add(var$9, Long_fromInt(Long_lo(Long_shru(var$10, 21))))) * 1.1102230246251565E-16 * 1.5 * $var3; var$12 = new nms_Explosion; var$12.$isSmoking = 1; var$12.$field_77289_h = 16; var$13 = new nle_EaglercraftRandom; var$10 = Long_fromNumber(performance.now() * 1000000.0); var$13.$seed = Long_fromInt(69); var$13.$haveNextNextGaussian = 0; var$13.$seed = var$10; var$12.$explosionRNG = var$13; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$12.$affectedBlockPositions = var$7; var$7 = new ju_HashMap; var$14 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$15 = $rt_createArray(ju_HashMap$HashEntry, var$14); var$16 = var$15.data; var$7.$elementData = var$15; var$7.$loadFactor = 0.75; var$7.$threshold = var$16.length * 0.75 | 0; var$12.$field_77288_k = var$7; var$12.$worldObj1 = var$3; var$12.$exploder = $this; var$12.$explosionSize = var$11; var$12.$explosionX = var$4; var$12.$explosionY = var$5; var$12.$explosionZ = var$6; var$12.$isFlaming = 0; var$12.$isSmoking = 1; $ptr = 1; case 1: nms_Explosion_doExplosionA(var$12); if ($rt_suspending()) { break main; } var$17 = 1; $ptr = 2; case 2: nms_Explosion_doExplosionB(var$12, var$17); if ($rt_suspending()) { break main; } $this.$isDead = 1; var$3 = $this.$field_82344_g; if (var$3 === null) return; $ptr = 3; case 3: nms_SoundUpdaterMinecart_update(var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var3, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_EntityMinecartTNT_fall = ($this, $par1) => { let var$2, $var2, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 < 3.0) { var$2 = $this.$riddenByEntity; if (var$2 === null) return; $ptr = 2; continue main; } $var2 = $par1 / 10.0; var$4 = $var2 * $var2; $ptr = 1; case 1: nms_EntityMinecartTNT_explodeCart($this, var$4); if ($rt_suspending()) { break main; } var$2 = $this.$riddenByEntity; if (var$2 === null) return; $ptr = 2; case 2: var$2.$fall($par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, $var2, var$4, $ptr); }, nms_EntityMinecartTNT_onActivatorRailPass = ($this, $par1, $par2, $par3, $par4) => { let var$5; if ($par4 && $this.$minecartTNTFuse < 0) { $this.$minecartTNTFuse = 80; var$5 = $this.$worldObj; if (!var$5.$isRemote) nms_World_playSoundAtEntity(var$5, $this, $rt_s(1931), 1.0, 1.0); } }, nms_EntityMinecartTNT_handleHealthUpdate = ($this, $par1) => { let var$2; if ($par1 == 10) { $this.$minecartTNTFuse = 80; var$2 = $this.$worldObj; if (!var$2.$isRemote) nms_World_playSoundAtEntity(var$2, $this, $rt_s(1931), 1.0, 1.0); } }, nms_EntityMinecartTNT_getBlockExplosionResistance = ($this, $par1Explosion, $par2World, $par3, $par4, $par5, $par6Block) => { let var$7; var$7 = $this.$minecartTNTFuse <= (-1) ? 0 : 1; return var$7 && !(!nms_BlockRailBase_isRailBlock($par6Block.$blockID) && !nms_BlockRailBase_isRailBlock(nms_World_getBlockId($par2World, $par3, $par4 + 1 | 0, $par5))) ? 0.0 : $par6Block.$getExplosionResistance($this); }, nms_EntityMinecartTNT_shouldExplodeBlock = ($this, $par1Explosion, $par2World, $par3, $par4, $par5, $par6, $par7) => { let var$8; var$8 = $this.$minecartTNTFuse <= (-1) ? 0 : 1; return var$8 && !(!nms_BlockRailBase_isRailBlock($par6) && !nms_BlockRailBase_isRailBlock(nms_World_getBlockId($par2World, $par3, $par4 + 1 | 0, $par5))) ? 0 : 1; }, nms_EntityMinecartTNT_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; a: { nms_EntityMinecart_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2407).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2407).$nativeString.length) break a; $rt_s(2407).$hashCode1 = (31 * $rt_s(2407).$hashCode1 | 0) + $rt_s(2407).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2407).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(2407) !== var$6) { if ($rt_s(2407) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2407).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { c: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2407).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(2407).$nativeString.length) break c; $rt_s(2407).$hashCode1 = (31 * $rt_s(2407).$hashCode1 | 0) + $rt_s(2407).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$3 = $rt_s(2407).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { d: { var$6 = var$2.$key; if ($rt_s(2407) !== var$6) { if ($rt_s(2407) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(2407).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break d; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2407) === null) { var$6 = $par1NBTTagCompound.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { e: { if (!$rt_s(2407).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2407).$nativeString.length) break e; $rt_s(2407).$hashCode1 = (31 * $rt_s(2407).$hashCode1 | 0) + $rt_s(2407).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(2407).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$6 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { f: { $par1NBTTagCompound = var$6.$key; if ($rt_s(2407) !== $par1NBTTagCompound) { if ($rt_s(2407) === $par1NBTTagCompound) var$3 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$3 = $rt_s(2407).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$6 = var$6.$next3; } } var$3 = (var$6 === null ? null : var$6.$value1).$data0; } $this.$minecartTNTFuse = var$3; } }, nms_EntityMinecartTNT_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3; nms_EntityMinecart_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$minecartTNTFuse; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagInt; $par1NBTTagCompound.$name = $rt_s(2407); $par1NBTTagCompound.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2407), $par1NBTTagCompound); }; function nms_RenderMinecart() { let a = this; nms_Render.call(a); a.$modelMinecart = null; a.$field_94145_f = null; } let nms_RenderMinecart_minecartTextures = null, nms_RenderMinecart_$callClinit = () => { nms_RenderMinecart_$callClinit = $rt_eraseClinit(nms_RenderMinecart); nms_RenderMinecart__clinit_(); }, nms_RenderMinecart__init_ = $this => { let var$1; nms_RenderMinecart_$callClinit(); nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; $this.$modelMinecart = nms_ModelMinecart__init_0(); $this.$shadowSize = 0.5; var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$field_94145_f = var$1; }, nms_RenderMinecart__init_0 = () => { let var_0 = new nms_RenderMinecart(); nms_RenderMinecart__init_(var_0); return var_0; }, nms_RenderMinecart_renderTheMinecart = ($this, $par1EntityMinecart, $par2, $par4, $par6, $par8, $par9) => { let $var23, $var10, var$9, $var12, $var13, $var14, $var25, $var17, $var19, var$16, $var15, $var24, $var26, $var21, $var27, $var31, $var32, $var30, var$25, var$26, var$27, $var29, $var33, $var28, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var28 = $thread.pop();$var33 = $thread.pop();$var29 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();$var30 = $thread.pop();$var32 = $thread.pop();$var31 = $thread.pop();$var27 = $thread.pop();$var21 = $thread.pop();$var26 = $thread.pop();$var24 = $thread.pop();$var15 = $thread.pop();var$16 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var25 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();var$9 = $thread.pop();$var10 = $thread.pop();$var23 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityMinecart = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); nms_RenderMinecart_$callClinit(); $var23 = nms_RenderMinecart_minecartTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var23); if ($rt_suspending()) { break main; } $var10 = Long_mul(Long_fromInt($par1EntityMinecart.$entityId), Long_fromInt(493286711)); var$9 = Long_add(Long_mul(Long_mul($var10, $var10), Long_create(97199825, 1)), Long_mul($var10, Long_fromInt(98761))); $var12 = ((Long_toNumber(Long_and(Long_shr(var$9, 16), Long_fromInt(7))) + 0.5) / 8.0 - 0.5) * 0.004000000189989805; $var13 = ((Long_toNumber(Long_and(Long_shr(var$9, 20), Long_fromInt(7))) + 0.5) / 8.0 - 0.5) * 0.004000000189989805; $var14 = ((Long_toNumber(Long_and(Long_shr(var$9, 24), Long_fromInt(7))) + 0.5) / 8.0 - 0.5) * 0.004000000189989805; $var23 = nleg_EaglerAdapterGL30_deevis; $var23.$x = $var12; $var23.$y = $var13; $var23.$z = $var14; $var23 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var23, $var23); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var23 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var23); $var23.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var23.$sb = $var25; $var23.$buffer0 = $rt_createCharArray(32); $var23.$autoFlush = 0; $var23.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var23; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var17 = $par1EntityMinecart.$lastTickPosX; $var19 = $par1EntityMinecart.$posX - $var17; var$16 = $par9; $var15 = $var17 + $var19 * var$16; $var17 = $par1EntityMinecart.$lastTickPosY; $var17 = $var17 + ($par1EntityMinecart.$posY - $var17) * var$16; $var19 = $par1EntityMinecart.$lastTickPosZ; $var19 = $var19 + ($par1EntityMinecart.$posZ - $var19) * var$16; $var23 = nms_EntityMinecart_func_70489_a($par1EntityMinecart, $var15, $var17, $var19); $var24 = $par1EntityMinecart.$prevRotationPitch; $var24 = $var24 + ($par1EntityMinecart.$rotationPitch - $var24) * $par9; if ($var23 !== null) { $var25 = nms_EntityMinecart_func_70495_a($par1EntityMinecart, $var15, $var17, $var19, 0.30000001192092896); $var26 = nms_EntityMinecart_func_70495_a($par1EntityMinecart, $var15, $var17, $var19, (-0.30000001192092896)); if ($var25 === null) $var25 = $var23; if ($var26 === null) $var26 = $var23; $par2 = $par2 + $var23.$xCoord - $var15; $var21 = $var25.$yCoord; var$16 = $var26.$yCoord; $par4 = $par4 + ($var21 + var$16) / 2.0 - $var17; $par6 = $par6 + $var23.$zCoord - $var19; $var17 = -$var25.$xCoord; $var19 = -$var21; $var21 = -$var25.$zCoord; $var27 = nms_Vec3Pool_getVecFromPool($var26.$myVec3LocalPool, $var26.$xCoord + $var17, var$16 + $var19, $var26.$zCoord + $var21); $var17 = $var27.$xCoord; $var17 = $var17 * $var17; $var19 = $var27.$yCoord; $var17 = $var17 + $var19 * $var19; $var19 = $var27.$zCoord; if (jl_Math_sqrt($var17 + $var19 * $var19) !== 0.0) { $var23 = nms_Vec3_normalize($var27); $par8 = jl_Math_atan2($var23.$zCoord, $var23.$xCoord) * 180.0 / 3.141592653589793; $var24 = jl_Math_atan($var23.$yCoord) * 73.0; } } $var31 = $par2; $var32 = $par4; $var30 = $par6; $var23 = nleg_EaglerAdapterGL30_deevis; $var23.$x = $var31; $var23.$y = $var32; $var23.$z = $var30; $var23 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var23, $var23); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var23 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var23); $var23.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var23.$sb = $var25; $var23.$buffer0 = $rt_createCharArray(32); $var23.$autoFlush = 0; $var23.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var23; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var31 = 180.0 - $par8; $var23 = nleg_EaglerAdapterGL30_deevis; $var23.$x = 0.0; $var23.$y = 1.0; $var23.$z = 0.0; $var23 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var31 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var23, $var23); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var23 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var23); $var23.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var23.$sb = $var25; $var23.$buffer0 = $rt_createCharArray(32); $var23.$autoFlush = 0; $var23.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var23; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var24 = -$var24; $var23 = nleg_EaglerAdapterGL30_deevis; $var23.$x = 0.0; $var23.$y = 0.0; $var23.$z = 1.0; $var23 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var24 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var23, $var23); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var23 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var23); $var23.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var23.$sb = $var25; $var23.$buffer0 = $rt_createCharArray(32); $var23.$autoFlush = 0; $var23.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var23; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var23 = $par1EntityMinecart.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var26 = jl_Integer_integerCache.data[145]; if ($var26 === null) { $var23 = $var23.$elementData.data[0]; while ($var23 !== null && $var23.$key !== null) { $var23 = $var23.$next3; } } else { var$25 = $var26.$value0; var$26 = $var23.$elementData.data; $var23 = var$26[var$25 & (var$26.length - 1 | 0)]; while ($var23 !== null) { if ($var23.$origKeyHash == var$25) { $var25 = $var23.$key; if ($var26 !== $var25 && !($var26 !== $var25 ? ($var25 instanceof jl_Integer && $var25.$value0 == var$25 ? 1 : 0) : 1) ? 0 : 1) break; } $var23 = $var23.$next3; } } $var23 = $var23 === null ? null : $var23.$value1; $var31 = $var23.$watchedObject.$value0 - $par9; $var25 = $par1EntityMinecart.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var23 = jl_Integer_integerCache.data[147]; if ($var23 !== null) { var$27 = $var23.$value0; var$26 = $var25.$elementData.data; $var26 = var$26[var$27 & (var$26.length - 1 | 0)]; while ($var26 !== null) { if ($var26.$origKeyHash == var$27) { $var25 = $var26.$key; if ($var23 !== $var25 && !($var23 === $var25 ? 1 : $var25 instanceof jl_Integer && $var25.$value0 == var$27 ? 1 : 0) ? 0 : 1) break; } $var26 = $var26.$next3; } } else { $var26 = $var25.$elementData.data[0]; while ($var26 !== null && $var26.$key !== null) { $var26 = $var26.$next3; } } $var23 = $var26 === null ? null : $var26.$value1; $var32 = $var23.$watchedObject.$value3 - $par9; if ($var32 < 0.0) $var32 = 0.0; if ($var31 > 0.0) { $par8 = nms_MathHelper_SIN_TABLE.data[($var31 * 10430.3779296875 | 0) & 65535] * $var31 * $var32 / 10.0; $var23 = $par1EntityMinecart.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var26 = jl_Integer_integerCache.data[146]; if ($var26 !== null) { var$27 = $var26.$value0; var$26 = $var23.$elementData.data; $var25 = var$26[var$27 & (var$26.length - 1 | 0)]; while ($var25 !== null) { if ($var25.$origKeyHash == var$27) { $var23 = $var25.$key; if ($var26 !== $var23 && !($var26 !== $var23 ? ($var23 instanceof jl_Integer && $var23.$value0 == var$27 ? 1 : 0) : 1) ? 0 : 1) break; } $var25 = $var25.$next3; } } else { $var25 = $var23.$elementData.data[0]; while ($var25 !== null && $var25.$key !== null) { $var25 = $var25.$next3; } } $var23 = $var25 === null ? null : $var25.$value1; $par8 = $par8 * $var23.$watchedObject.$value0; $var23 = nleg_EaglerAdapterGL30_deevis; $var23.$x = 1.0; $var23.$y = 0.0; $var23.$z = 0.0; $var23 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par8 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var23, $var23); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var23 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var23); $var23.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var23.$sb = $var25; $var23.$buffer0 = $rt_createCharArray(32); $var23.$autoFlush = 0; $var23.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var23; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var23 = $par1EntityMinecart.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var26 = jl_Integer_integerCache.data[150]; if ($var26 === null) { $var23 = $var23.$elementData.data[0]; while ($var23 !== null && $var23.$key !== null) { $var23 = $var23.$next3; } } else { $var29 = $var26.$value0; var$26 = $var23.$elementData.data; $var23 = var$26[$var29 & (var$26.length - 1 | 0)]; while ($var23 !== null) { if ($var23.$origKeyHash == $var29) { $var25 = $var23.$key; if ($var26 !== $var25 && !jl_Integer_equals($var26, $var25) ? 0 : 1) break; } $var23 = $var23.$next3; } } $var23 = $var23 === null ? null : $var23.$value1; if (!($var23.$watchedObject.$value2 != 1 ? 0 : 1)) $var33 = $par1EntityMinecart.$getDefaultDisplayTileOffset(); else { $var23 = $par1EntityMinecart.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var26 = jl_Integer_integerCache.data[149]; if ($var26 === null) { $var25 = $var23.$elementData.data[0]; while ($var25 !== null && $var25.$key !== null) { $var25 = $var25.$next3; } } else { var$27 = $var26.$value0; var$26 = $var23.$elementData.data; $var25 = var$26[var$27 & (var$26.length - 1 | 0)]; while ($var25 !== null) { if ($var25.$origKeyHash == var$27) { $var23 = $var25.$key; if ($var26 !== $var23 && !($var26 === $var23 ? 1 : $var23 instanceof jl_Integer && $var23.$value0 == var$27 ? 1 : 0) ? 0 : 1) break; } $var25 = $var25.$next3; } } $var33 = ($var25 === null ? null : $var25.$value1).$watchedObject.$value0; } $var28 = nms_EntityMinecart_getDisplayTile($par1EntityMinecart); $var23 = $par1EntityMinecart.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var26 = jl_Integer_integerCache.data[150]; if ($var26 === null) { $var23 = $var23.$elementData.data[0]; while ($var23 !== null && $var23.$key !== null) { $var23 = $var23.$next3; } } else { $var29 = $var26.$value0; var$26 = $var23.$elementData.data; $var23 = var$26[$var29 & (var$26.length - 1 | 0)]; while ($var23 !== null) { if ($var23.$origKeyHash == $var29) { $var25 = $var23.$key; if ($var26 !== $var25 && !jl_Integer_equals($var26, $var25) ? 0 : 1) break; } $var23 = $var23.$next3; } } $var23 = $var23 === null ? null : $var23.$value1; if (!($var23.$watchedObject.$value2 != 1 ? 0 : 1)) $var29 = $par1EntityMinecart.$getDefaultDisplayTileData(); else { $var23 = $par1EntityMinecart.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var26 = jl_Integer_integerCache.data[148]; if ($var26 === null) { $var25 = $var23.$elementData.data[0]; while ($var25 !== null && $var25.$key !== null) { $var25 = $var25.$next3; } } else { var$27 = $var26.$value0; var$26 = $var23.$elementData.data; $var25 = var$26[var$27 & (var$26.length - 1 | 0)]; while ($var25 !== null) { if ($var25.$origKeyHash == var$27) { $var23 = $var25.$key; if ($var26 !== $var23 && !($var26 === $var23 ? 1 : $var23 instanceof jl_Integer && $var23.$value0 == var$27 ? 1 : 0) ? 0 : 1) break; } $var25 = $var25.$next3; } } $var29 = ($var25 === null ? null : $var25.$value1).$watchedObject.$value0 >> 16; } if ($var28 === null) { $par1EntityMinecart = nleg_EaglerAdapterGL30_deevis; $par1EntityMinecart.$x = (-1.0); $par1EntityMinecart.$y = (-1.0); $par1EntityMinecart.$z = 1.0; $par1EntityMinecart = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityMinecart, $par1EntityMinecart); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityMinecart = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityMinecart); $par1EntityMinecart.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1EntityMinecart.$sb = $var23; $par1EntityMinecart.$buffer0 = $rt_createCharArray(32); $par1EntityMinecart.$autoFlush = 0; $par1EntityMinecart.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityMinecart; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityMinecart = $this.$modelMinecart; $par1EntityMinecart.$sideModels.data[5].$rotationPointY = 4.099999904632568; $var29 = 0; while ($var29 < 6) { nms_ModelRenderer_render($par1EntityMinecart.$sideModels.data[$var29], 0.0625); $var29 = $var29 + 1 | 0; } nleg_EaglerAdapterGL30_glPopMatrix(); return; } nleg_EaglerAdapterGL30_glPushMatrix(); nms_TextureMap_$callClinit(); $var23 = nms_TextureMap_locationBlocksTexture; $ptr = 2; case 2: nle_TextureLocation_bindTexture($var23); if ($rt_suspending()) { break main; } $var23 = nleg_EaglerAdapterGL30_deevis; $var23.$x = 0.75; $var23.$y = 0.75; $var23.$z = 0.75; $var23 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var23, $var23); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var23 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var23); $var23.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var23.$sb = $var25; $var23.$buffer0 = $rt_createCharArray(32); $var23.$autoFlush = 0; $var23.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var23; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var24 = $var33 / 16.0; $var23 = nleg_EaglerAdapterGL30_deevis; $var23.$x = 0.0; $var23.$y = $var24; $var23.$z = 0.0; $var23 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var23, $var23); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var23 = new otcic_JSStderrPrintStream; $var25 = new ji_ByteArrayOutputStream; $var25.$buf = $rt_createByteArray(32); jl_Object__init_($var23); $var23.$out0 = $var25; $var25 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var25, 16); $var23.$sb = $var25; $var23.$buffer0 = $rt_createCharArray(32); $var23.$autoFlush = 0; $var23.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var23; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $ptr = 3; case 3: $this.$renderBlockInMinecart($par1EntityMinecart, $par9, $var28, $var29); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $par1EntityMinecart = nms_RenderMinecart_minecartTextures; $ptr = 4; case 4: nle_TextureLocation_bindTexture($par1EntityMinecart); if ($rt_suspending()) { break main; } $par1EntityMinecart = nleg_EaglerAdapterGL30_deevis; $par1EntityMinecart.$x = (-1.0); $par1EntityMinecart.$y = (-1.0); $par1EntityMinecart.$z = 1.0; $par1EntityMinecart = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityMinecart, $par1EntityMinecart); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityMinecart = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityMinecart); $par1EntityMinecart.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1EntityMinecart.$sb = $var23; $par1EntityMinecart.$buffer0 = $rt_createCharArray(32); $par1EntityMinecart.$autoFlush = 0; $par1EntityMinecart.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityMinecart; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityMinecart = $this.$modelMinecart; $par1EntityMinecart.$sideModels.data[5].$rotationPointY = 4.099999904632568; $var29 = 0; while ($var29 < 6) { nms_ModelRenderer_render($par1EntityMinecart.$sideModels.data[$var29], 0.0625); $var29 = $var29 + 1 | 0; } nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityMinecart, $par2, $par4, $par6, $par8, $par9, $var23, $var10, var$9, $var12, $var13, $var14, $var25, $var17, $var19, var$16, $var15, $var24, $var26, $var21, $var27, $var31, $var32, $var30, var$25, var$26, var$27, $var29, $var33, $var28, $ptr); }, nms_RenderMinecart_getMinecartTextures = ($this, $par1EntityMinecart) => { nms_RenderMinecart_$callClinit(); return nms_RenderMinecart_minecartTextures; }, nms_RenderMinecart_renderBlockInMinecart = ($this, $par1EntityMinecart, $par2, $par3Block, $par4) => { let $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3Block = $thread.pop();$par2 = $thread.pop();$par1EntityMinecart = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_Entity_getBrightness($par1EntityMinecart, $par2); nleg_EaglerAdapterGL30_glPushMatrix(); $par1EntityMinecart = $this.$field_94145_f; $ptr = 1; case 1: nms_RenderBlocks_renderBlockAsItem($par1EntityMinecart, $par3Block, $par4, $var5); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityMinecart, $par2, $par3Block, $par4, $var5, $ptr); }, nms_RenderMinecart_getEntityTexture = ($this, $par1Entity) => { nms_RenderMinecart_$callClinit(); return nms_RenderMinecart_minecartTextures; }, nms_RenderMinecart_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderMinecart_renderTheMinecart($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderMinecart__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2408); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderMinecart_minecartTextures = var$1; }, nms_RenderTntMinecart = $rt_classWithoutFields(nms_RenderMinecart), nms_RenderTntMinecart__init_ = $this => { nms_RenderMinecart__init_($this); }, nms_RenderTntMinecart__init_0 = () => { let var_0 = new nms_RenderTntMinecart(); nms_RenderTntMinecart__init_(var_0); return var_0; }, nms_RenderTntMinecart_func_94146_a = ($this, $par1EntityMinecartTNT, $par2, $par3Block, $par4) => { let $var5, var$6, $var6, $var7, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3Block = $thread.pop();$par2 = $thread.pop();$par1EntityMinecartTNT = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $par1EntityMinecartTNT.$minecartTNTFuse; var$6 = $rt_compare($var5, (-1)); if (var$6 > 0) { $var6 = $var5 - $par2 + 1.0; if ($var6 < 10.0) { $var6 = 1.0 - $var6 / 10.0; if ($var6 < 0.0) $var6 = 0.0; if ($var6 > 1.0) $var6 = 1.0; $var6 = $var6 * $var6; $var7 = 1.0 + $var6 * $var6 * 0.30000001192092896; nleg_EaglerAdapterGL30_$callClinit(); var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $var7; var$9.$y = $var7; var$9.$z = $var7; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } $var6 = nms_Entity_getBrightness($par1EntityMinecartTNT, $par2); nleg_EaglerAdapterGL30_glPushMatrix(); $par1EntityMinecartTNT = $this.$field_94145_f; $ptr = 1; case 1: nms_RenderBlocks_renderBlockAsItem($par1EntityMinecartTNT, $par3Block, $par4, $var6); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); if (var$6 > 0 && !(($var5 / 5 | 0) % 2 | 0)) { nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 772); $par2 = (1.0 - ($var5 - $par2 + 1.0) / 100.0) * 0.800000011920929; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = $par2; nleg_EaglerAdapterGL30_glPushMatrix(); $par1EntityMinecartTNT = $this.$field_94145_f; nms_Block_$callClinit(); $par3Block = nms_Block_tnt; $par4 = 0; $par2 = 1.0; $ptr = 2; continue main; } return; case 2: nms_RenderBlocks_renderBlockAsItem($par1EntityMinecartTNT, $par3Block, $par4, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(3553); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityMinecartTNT, $par2, $par3Block, $par4, $var5, var$6, $var6, $var7, var$9, var$10, $ptr); }, nms_RenderTntMinecart_renderBlockInMinecart = ($this, $par1EntityMinecart, $par2, $par3Block, $par4) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par4 = $thread.pop();$par3Block = $thread.pop();$par2 = $thread.pop();$par1EntityMinecart = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityMinecart = $par1EntityMinecart; $ptr = 1; case 1: nms_RenderTntMinecart_func_94146_a($this, $par1EntityMinecart, $par2, $par3Block, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityMinecart, $par2, $par3Block, $par4, $ptr); }; function nms_EntityMinecartMobSpawner() { nms_EntityMinecart.call(this); this.$mobSpawnerLogic = null; } let nms_EntityMinecartMobSpawner_getMinecartType = $this => { return 4; }, nms_EntityMinecartMobSpawner_getDefaultDisplayTile = $this => { nms_Block_$callClinit(); return nms_Block_mobSpawner; }, nms_EntityMinecartMobSpawner_readEntityFromNBT = ($this, $par1NBTTagCompound) => { nms_EntityMinecart_readEntityFromNBT($this, $par1NBTTagCompound); nms_MobSpawnerBaseLogic_readFromNBT($this.$mobSpawnerLogic, $par1NBTTagCompound); }, nms_EntityMinecartMobSpawner_writeEntityToNBT = ($this, $par1NBTTagCompound) => { nms_EntityMinecart_writeEntityToNBT($this, $par1NBTTagCompound); nms_MobSpawnerBaseLogic_writeToNBT($this.$mobSpawnerLogic, $par1NBTTagCompound); }, nms_EntityMinecartMobSpawner_handleHealthUpdate = ($this, $par1) => { let var$2; var$2 = $this.$mobSpawnerLogic; if ($par1 == 1 && var$2.$spawnerMinecart.$worldObj.$isRemote) var$2.$spawnDelay = var$2.$minSpawnDelay; }, nms_EntityMinecartMobSpawner_onUpdate = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityMinecart_onUpdate($this); if ($rt_suspending()) { break main; } var$1 = $this.$mobSpawnerLogic; $ptr = 2; case 2: nms_MobSpawnerBaseLogic_updateSpawner(var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_RenderMinecartMobSpawner = $rt_classWithoutFields(nms_RenderMinecart), nms_RenderMinecartMobSpawner__init_ = $this => { let var$1; nms_RenderMinecart_$callClinit(); nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; $this.$modelMinecart = nms_ModelMinecart__init_0(); $this.$shadowSize = 0.5; var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$field_94145_f = var$1; }, nms_RenderMinecartMobSpawner__init_0 = () => { let var_0 = new nms_RenderMinecartMobSpawner(); nms_RenderMinecartMobSpawner__init_(var_0); return var_0; }, nms_RenderMinecartMobSpawner_renderBlockInMinecart = ($this, $par1EntityMinecart, $par2, $par3Block, $par4) => { let var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3Block = $thread.pop();$par2 = $thread.pop();$par1EntityMinecart = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityMinecart = $par1EntityMinecart; var$5 = nms_Entity_getBrightness($par1EntityMinecart, $par2); nleg_EaglerAdapterGL30_glPushMatrix(); var$6 = $this.$field_94145_f; $ptr = 1; case 1: nms_RenderBlocks_renderBlockAsItem(var$6, $par3Block, $par4, var$5); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nms_Block_$callClinit(); if ($par3Block !== nms_Block_mobSpawner) return; $par3Block = $par1EntityMinecart.$mobSpawnerLogic; var$7 = $par1EntityMinecart.$posX; var$8 = $par1EntityMinecart.$posY; var$9 = $par1EntityMinecart.$posZ; $ptr = 2; case 2: nms_TileEntityMobSpawnerRenderer_func_98144_a($par3Block, var$7, var$8, var$9, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityMinecart, $par2, $par3Block, $par4, var$5, var$6, var$7, var$8, var$9, $ptr); }; function nms_EntityBoat() { let a = this; nms_Entity.call(a); a.$field_70279_a = 0; a.$speedMultiplier = 0.0; a.$boatPosRotationIncrements = 0; a.$boatX = 0.0; a.$boatY = 0.0; a.$boatZ = 0.0; a.$boatYaw = 0.0; a.$boatPitch = 0.0; a.$velocityX2 = 0.0; a.$velocityY2 = 0.0; a.$velocityZ2 = 0.0; } let nms_EntityBoat_canTriggerWalking = $this => { return 0; }, nms_EntityBoat_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; var$2 = new jl_Integer; var$2.$value0 = 0; nms_DataWatcher_addObject(var$1, 17, var$2); var$2 = $this.$dataWatcher; var$1 = new jl_Integer; var$1.$value0 = 1; nms_DataWatcher_addObject(var$2, 18, var$1); var$2 = $this.$dataWatcher; var$1 = new jl_Float; var$1.$value3 = 0.0; nms_DataWatcher_addObject(var$2, 19, var$1); }, nms_EntityBoat_getCollisionBox = ($this, $par1Entity) => { return $par1Entity.$boundingBox; }, nms_EntityBoat_getBoundingBox = $this => { return $this.$boundingBox; }, nms_EntityBoat_canBePushed = $this => { return 1; }, nms_EntityBoat_getMountedYOffset = $this => { return $this.$height2 * 0.0 - 0.30000001192092896; }, nms_EntityBoat_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let var$3, var$4, var$5, var$6, var$7, $var3, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var3 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; if (!$this.$worldObj.$isRemote && !$this.$isDead) { var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[146]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } $var3 = -(var$3 === null ? null : var$3.$value1).$watchedObject.$value0 | 0; var$7 = $this.$dataWatcher; if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = $var3; } var$3 = var$7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[146]; if (var$9 !== null) { var$5 = var$9.$value0; var$6 = var$3.$elementData.data; var$10 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$5) { var$3 = var$10.$key; if (var$9 !== var$3 && !(var$9 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$10 = var$10.$next3; } } else { var$10 = var$3.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } var$10 = var$10 === null ? null : var$10.$value1; var$3 = var$10.$watchedObject; if (!(var$4 !== var$3 ? (var$3 instanceof jl_Integer && var$3.$value0 == var$4.$value0 ? 1 : 0) : 1)) { var$10.$watchedObject = var$4; var$10.$watched = 1; var$7.$objectChanged = 1; } var$7 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[138]; var$3 = var$7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[145]; if (var$10 !== null) { var$5 = var$10.$value0; var$6 = var$3.$elementData.data; var$4 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$5) { var$3 = var$4.$key; if (var$10 !== var$3 && !(var$10 !== var$3 ? (var$3 instanceof jl_Integer && var$3.$value0 == var$5 ? 1 : 0) : 1) ? 0 : 1) break; } var$4 = var$4.$next3; } } else { var$4 = var$3.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; var$3 = var$4.$watchedObject; if (!(var$9 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$9.$value0 ? 1 : 0)) { var$4.$watchedObject = var$9; var$4.$watched = 1; var$7.$objectChanged = 1; } var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[147]; if (var$4 === null) { var$7 = var$3.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$7 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$5) { var$3 = var$7.$key; if (var$4 !== var$3 && !(var$4 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$3 = var$7 === null ? null : var$7.$value1; $par2 = var$3.$watchedObject.$value3 + $par2 * 10.0; var$3 = $this.$dataWatcher; var$7 = new jl_Float; var$7.$value3 = $par2; var$4 = var$3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[147]; if (var$9 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$11 = var$9.$value0; var$6 = var$4.$elementData.data; var$4 = var$6[var$11 & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$11) { var$10 = var$4.$key; if (var$9 !== var$10 && !(var$9 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == var$11 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$10 = var$4 === null ? null : var$4.$value1; var$4 = var$10.$watchedObject; if (var$7 === var$4) $var3 = 1; else a: { if (var$4 instanceof jl_Float) { $par2 = var$7.$value3; var$12 = var$4.$value3; if ($par2 !== $par2 ? (var$12 === var$12 ? 0 : 1) : $rt_floatToRawIntBits($par2) != $rt_floatToRawIntBits(var$12) ? 0 : 1) { $var3 = 1; break a; } } $var3 = 0; } if (!$var3) { var$10.$watchedObject = var$7; var$10.$watched = 1; var$3.$objectChanged = 1; } $this.$velocityChanged = 1; $var3 = $par1DamageSource.$getEntity() instanceof nms_EntityPlayer && ($par1DamageSource.$getEntity()).$capabilities.$isCreativeMode ? 1 : 0; b: { if (!$var3) { $par1DamageSource = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[147]; if (var$7 === null) { $par1DamageSource = $par1DamageSource.$elementData.data[0]; while ($par1DamageSource !== null && $par1DamageSource.$key !== null) { $par1DamageSource = $par1DamageSource.$next3; } } else { var$13 = var$7.$value0; var$6 = $par1DamageSource.$elementData.data; $par1DamageSource = var$6[var$13 & (var$6.length - 1 | 0)]; while ($par1DamageSource !== null) { if ($par1DamageSource.$origKeyHash == var$13) { var$3 = $par1DamageSource.$key; if (var$7 !== var$3 && !(var$7 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } $par1DamageSource = $par1DamageSource.$next3; } } if (($par1DamageSource === null ? null : $par1DamageSource.$value1).$watchedObject.$value3 <= 40.0) break b; } $par1DamageSource = $this.$riddenByEntity; if ($par1DamageSource !== null) { $ptr = 1; continue main; } if (!$var3) { nms_Item_$callClinit(); $var3 = nms_Item_boat.$itemID0; $par1DamageSource = new nms_ItemStack; nms_ItemStack_$callClinit(); $par1DamageSource.$itemID = $var3; $par1DamageSource.$stackSize = 1; $par1DamageSource.$itemDamage = 0; var$3 = new nms_EntityItem; var$7 = $this.$worldObj; var$14 = $this.$posX; var$15 = $this.$posY + 0.0; var$16 = $this.$posZ; $ptr = 2; continue main; } $this.$isDead = 1; } return 1; } return 1; case 1: $par1DamageSource.$mountEntity($this); if ($rt_suspending()) { break main; } if ($var3) { $this.$isDead = 1; return 1; } nms_Item_$callClinit(); $var3 = nms_Item_boat.$itemID0; $par1DamageSource = new nms_ItemStack; nms_ItemStack_$callClinit(); $par1DamageSource.$itemID = $var3; $par1DamageSource.$stackSize = 1; $par1DamageSource.$itemDamage = 0; var$3 = new nms_EntityItem; var$7 = $this.$worldObj; var$14 = $this.$posX; var$15 = $this.$posY + 0.0; var$16 = $this.$posZ; $ptr = 2; case 2: nms_EntityItem__init_(var$3, var$7, var$14, var$15, var$16); if ($rt_suspending()) { break main; } var$10 = var$3.$dataWatcher; var$7 = var$10.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[138]; if (var$4 === null) var$7 = ju_HashMap_findNullKeyEntry(var$7); else { var$5 = jl_Integer_hashCode0(var$4); var$7 = ju_HashMap_findNonNullKeyEntry(var$7, var$4, var$5 & (var$7.$elementData.data.length - 1 | 0), var$5); } var$4 = var$7 === null ? null : var$7.$value1; if (!($par1DamageSource !== var$4.$watchedObject ? 0 : 1)) { var$4.$watchedObject = $par1DamageSource; var$4.$watched = 1; var$10.$objectChanged = 1; } var$4 = var$3.$dataWatcher; $par1DamageSource = var$4.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[138]; if (var$7 === null) $par1DamageSource = ju_HashMap_findNullKeyEntry($par1DamageSource); else { var$5 = jl_Integer_hashCode0(var$7); $par1DamageSource = ju_HashMap_findNonNullKeyEntry($par1DamageSource, var$7, var$5 & ($par1DamageSource.$elementData.data.length - 1 | 0), var$5); } ($par1DamageSource === null ? null : $par1DamageSource.$value1).$watched = 1; var$4.$objectChanged = 1; var$3.$delayBeforeCanPickup = 10; $par1DamageSource = $this.$worldObj; $var3 = nms_World_spawnEntityInWorld($par1DamageSource, var$3); var$7 = $par1DamageSource.$entityList; ju_HashMap_putImpl(var$7.$backingMap, var$3, var$7); if (!$var3) { $par1DamageSource = $par1DamageSource.$entitySpawnQueue; ju_HashMap_putImpl($par1DamageSource.$backingMap, var$3, $par1DamageSource); } $this.$isDead = 1; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, var$3, var$4, var$5, var$6, var$7, $var3, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityBoat_performHurtAnimation = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[146]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$6 = -(var$1 === null ? null : var$1.$value1).$watchedObject.$value0 | 0; var$1 = $this.$dataWatcher; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$6; } var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[146]; if (var$7 !== null) { var$3 = var$7.$value0; var$4 = var$5.$elementData.data; var$5 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$3) { var$8 = var$5.$key; if (var$7 !== var$8 && !(var$7 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } else { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } var$8 = var$5 === null ? null : var$5.$value1; var$5 = var$8.$watchedObject; if (!(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$2.$value0 ? 1 : 0)) { var$8.$watchedObject = var$2; var$8.$watched = 1; var$1.$objectChanged = 1; } var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[138]; var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[145]; if (var$8 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = var$8.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if (var$8 !== var$5 && !(var$8 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$5 = var$2 === null ? null : var$2.$value1; var$2 = var$5.$watchedObject; if (!(var$7 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$7.$value0 ? 1 : 0)) { var$5.$watchedObject = var$7; var$5.$watched = 1; var$1.$objectChanged = 1; } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[147]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$5.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$2 = var$1.$key; if (var$5 !== var$2 && !(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; var$9 = var$1.$watchedObject.$value3 * 11.0; var$1 = $this.$dataWatcher; var$7 = new jl_Float; var$7.$value3 = var$9; var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[147]; if (var$8 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = var$8.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if (var$8 !== var$5 && !(var$8 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$5 = var$2 === null ? null : var$2.$value1; var$2 = var$5.$watchedObject; if (var$7 === var$2) var$6 = 1; else a: { if (var$2 instanceof jl_Float) { var$9 = var$7.$value3; var$10 = var$2.$value3; if (var$9 !== var$9 ? (var$10 === var$10 ? 0 : 1) : $rt_floatToRawIntBits(var$9) != $rt_floatToRawIntBits(var$10) ? 0 : 1) { var$6 = 1; break a; } } var$6 = 0; } if (!var$6) { var$5.$watchedObject = var$7; var$5.$watched = 1; var$1.$objectChanged = 1; } }, nms_EntityBoat_canBeCollidedWith = $this => { return $this.$isDead ? 0 : 1; }, nms_EntityBoat_setPositionAndRotation2 = ($this, $par1, $par3, $par5, $par7, $par8, $par9) => { let $var10, $var12, $var14; if ($this.$field_70279_a) $this.$boatPosRotationIncrements = $par9 + 5 | 0; else { $var10 = $par1 - $this.$posX; $var12 = $par3 - $this.$posY; $var14 = $par5 - $this.$posZ; if ($var10 * $var10 + $var12 * $var12 + $var14 * $var14 <= 1.0) return; $this.$boatPosRotationIncrements = 3; } $this.$boatX = $par1; $this.$boatY = $par3; $this.$boatZ = $par5; $this.$boatYaw = $par7; $this.$boatPitch = $par8; $this.$motionX = $this.$velocityX2; $this.$motionY = $this.$velocityY2; $this.$motionZ = $this.$velocityZ2; }, nms_EntityBoat_setVelocity = ($this, $par1, $par3, $par5) => { $this.$motionX = $par1; $this.$velocityX2 = $par1; $this.$motionY = $par3; $this.$velocityY2 = $par3; $this.$motionZ = $par5; $this.$velocityZ2 = $par5; }, nms_EntityBoat_onUpdate = $this => { let $var18, var$2, $var1, var$4, $var9, var$6, $var24, $var16, var$9, var$10, $var2, $var4, $var23, $var6, $var8, $var10, $var12, $var20, $var26, var$20, var$21, $var11, $var13, var$24, $var15, $var17, $var25, $var14, $var6_0, $var8_0, $var5, $var7, $var27, $var19, $var21, $var22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var27 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var8_0 = $thread.pop();$var6_0 = $thread.pop();$var14 = $thread.pop();$var25 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();var$24 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var26 = $thread.pop();$var20 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var23 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var16 = $thread.pop();$var24 = $thread.pop();var$6 = $thread.pop();$var9 = $thread.pop();var$4 = $thread.pop();$var1 = $thread.pop();var$2 = $thread.pop();$var18 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Entity_onEntityUpdate($this); if ($rt_suspending()) { break main; } $var18 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[145]; if (var$2 !== null) { $var1 = var$2.$value0; var$4 = $var18.$elementData.data; $var18 = var$4[$var1 & (var$4.length - 1 | 0)]; while ($var18 !== null) { if ($var18.$origKeyHash == $var1) { $var9 = $var18.$key; if (var$2 !== $var9 && !(var$2 !== $var9 ? ($var9 instanceof jl_Integer && $var9.$value0 == $var1 ? 1 : 0) : 1) ? 0 : 1) break; } $var18 = $var18.$next3; } } else { $var18 = $var18.$elementData.data[0]; while ($var18 !== null && $var18.$key !== null) { $var18 = $var18.$next3; } } $var18 = $var18 === null ? null : $var18.$value1; if ($var18.$watchedObject.$value0 > 0) { $var18 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[145]; if (var$2 === null) { $var18 = $var18.$elementData.data[0]; while ($var18 !== null && $var18.$key !== null) { $var18 = $var18.$next3; } } else { $var1 = var$2.$value0; var$4 = $var18.$elementData.data; $var18 = var$4[$var1 & (var$4.length - 1 | 0)]; while ($var18 !== null) { if ($var18.$origKeyHash == $var1) { $var9 = $var18.$key; if (var$2 !== $var9 && !(var$2 === $var9 ? 1 : $var9 instanceof jl_Integer && $var9.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } $var18 = $var18.$next3; } } $var18 = $var18 === null ? null : $var18.$value1; $var1 = $var18.$watchedObject.$value0 - 1 | 0; $var18 = $this.$dataWatcher; if ($var1 >= (-128) && $var1 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[$var1 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = $var1; } $var9 = $var18.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[145]; if (var$6 !== null) { $var24 = var$6.$value0; var$4 = $var9.$elementData.data; $var9 = var$4[$var24 & (var$4.length - 1 | 0)]; while ($var9 !== null) { if ($var9.$origKeyHash == $var24) { $var16 = $var9.$key; if (var$6 !== $var16 && !(var$6 === $var16 ? 1 : $var16 instanceof jl_Integer && $var16.$value0 == $var24 ? 1 : 0) ? 0 : 1) break; } $var9 = $var9.$next3; } } else { $var9 = $var9.$elementData.data[0]; while ($var9 !== null && $var9.$key !== null) { $var9 = $var9.$next3; } } $var16 = $var9 === null ? null : $var9.$value1; $var9 = $var16.$watchedObject; if (!(var$2 !== $var9 ? ($var9 instanceof jl_Integer && $var9.$value0 == var$2.$value0 ? 1 : 0) : 1)) { $var16.$watchedObject = var$2; $var16.$watched = 1; $var18.$objectChanged = 1; } } $var18 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 !== null) { $var1 = var$2.$value0; var$4 = $var18.$elementData.data; $var18 = var$4[$var1 & (var$4.length - 1 | 0)]; while ($var18 !== null) { if ($var18.$origKeyHash == $var1) { $var9 = $var18.$key; if (var$2 !== $var9 && !(var$2 !== $var9 ? ($var9 instanceof jl_Integer && $var9.$value0 == $var1 ? 1 : 0) : 1) ? 0 : 1) break; } $var18 = $var18.$next3; } } else { $var18 = $var18.$elementData.data[0]; while ($var18 !== null && $var18.$key !== null) { $var18 = $var18.$next3; } } $var18 = $var18 === null ? null : $var18.$value1; if ($var18.$watchedObject.$value3 > 0.0) { $var18 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { $var18 = $var18.$elementData.data[0]; while ($var18 !== null && $var18.$key !== null) { $var18 = $var18.$next3; } } else { $var1 = var$2.$value0; var$4 = $var18.$elementData.data; $var18 = var$4[$var1 & (var$4.length - 1 | 0)]; while ($var18 !== null) { if ($var18.$origKeyHash == $var1) { $var9 = $var18.$key; if (var$2 !== $var9 && !(var$2 === $var9 ? 1 : $var9 instanceof jl_Integer && $var9.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } $var18 = $var18.$next3; } } $var18 = $var18 === null ? null : $var18.$value1; var$9 = $var18.$watchedObject.$value3 - 1.0; $var18 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = var$9; $var9 = $var18.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[147]; if (var$6 === null) { $var9 = $var9.$elementData.data[0]; while ($var9 !== null && $var9.$key !== null) { $var9 = $var9.$next3; } } else { $var24 = var$6.$value0; var$4 = $var9.$elementData.data; $var9 = var$4[$var24 & (var$4.length - 1 | 0)]; while ($var9 !== null) { if ($var9.$origKeyHash == $var24) { $var16 = $var9.$key; if (var$6 !== $var16 && !(var$6 === $var16 ? 1 : $var16 instanceof jl_Integer && $var16.$value0 == $var24 ? 1 : 0) ? 0 : 1) break; } $var9 = $var9.$next3; } } $var16 = $var9 === null ? null : $var9.$value1; $var9 = $var16.$watchedObject; if (var$2 === $var9) $var1 = 1; else a: { if ($var9 instanceof jl_Float) { var$9 = var$2.$value3; var$10 = $var9.$value3; if (var$9 !== var$9 ? (var$10 === var$10 ? 0 : 1) : $rt_floatToRawIntBits(var$9) != $rt_floatToRawIntBits(var$10) ? 0 : 1) { $var1 = 1; break a; } } $var1 = 0; } if (!$var1) { $var16.$watchedObject = var$2; $var16.$watched = 1; $var18.$objectChanged = 1; } } $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; $var2 = 0.0; $var4 = 0; while (true) { if ($var4 >= 5) { b: { $var23 = $this.$motionX; $var23 = $var23 * $var23; $var6 = $this.$motionZ; $var23 = jl_Math_sqrt($var23 + $var6 * $var6); if ($var23 > 0.26249999999999996) { $var6 = jl_Math_cos($this.$rotationYaw * 3.141592653589793 / 180.0); $var8 = jl_Math_sin($this.$rotationYaw * 3.141592653589793 / 180.0); $var10 = 0; $var12 = 1.0 + $var23 * 60.0; $var20 = 24; $var26 = 17; $var24 = 47; var$20 = Long_fromInt(2); while (true) { if ($var10 >= $var12) break b; $var18 = $this.$rand; var$21 = Long_and(Long_add(Long_mul($var18.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18.$seed = var$21; $var11 = Long_lo(Long_shru(var$21, $var20)) / 1.6777216E7 * 2.0 - 1.0; var$21 = Long_and(Long_add(Long_mul(var$21, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18.$seed = var$21; $var13 = ((Long_lo(Long_shr(Long_mul(var$20, Long_fromInt(Long_lo(Long_shru(var$21, $var26)))), 31)) * 2 | 0) - 1 | 0) * 0.7; var$24 = Long_and(Long_add(Long_mul(var$21, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18.$seed = var$24; if (!(!Long_lo(Long_shru(var$24, $var24)) ? 0 : 1)) { $var15 = $this.$posX + $var6 + $var8 * $var11 * 0.7; $var17 = $this.$posZ + $var8 - $var6 * $var11 * 0.7; $var18 = $this.$worldObj; var$2 = $rt_s(1241); $var25 = $this.$posY - 0.125; $var14 = $this.$motionX; $var6_0 = $this.$motionY; $var8_0 = $this.$motionZ; $var1 = 0; $var9 = $var18.$worldAccesses; $var4 = $rt_compare($var1, $var9.$size0); if ($var4 < 0) break; } else { $var15 = $this.$posX - $var6 * $var11 * 0.8 + $var8 * $var13; $var17 = $this.$posZ - $var8 * $var11 * 0.8 - $var6 * $var13; $var18 = $this.$worldObj; var$2 = $rt_s(1241); $var25 = $this.$posY - 0.125; $var14 = $this.$motionX; $var6_0 = $this.$motionY; $var8_0 = $this.$motionZ; $var1 = 0; $var9 = $var18.$worldAccesses; $var4 = $rt_compare($var1, $var9.$size0); if ($var4 < 0) { if ($var1 >= 0 && $var4 < 0) { $var9 = $var9.$array.data[$var1]; $ptr = 4; continue main; } $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; $rt_throw($var18); } } $var10 = $var10 + 1 | 0; } if ($var1 >= 0 && $var4 < 0) { $var9 = $var9.$array.data[$var1]; $ptr = 3; continue main; } $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; $rt_throw($var18); } } if ($this.$worldObj.$isRemote && $this.$field_70279_a) { $var1 = $this.$boatPosRotationIncrements; if ($var1 <= 0) { nms_Entity_setPosition($this, $this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); if ($this.$onGround) { $this.$motionX = $this.$motionX * 0.5; $this.$motionY = $this.$motionY * 0.5; $this.$motionZ = $this.$motionZ * 0.5; } $this.$motionX = $this.$motionX * 0.9900000095367432; $this.$motionY = $this.$motionY * 0.949999988079071; $this.$motionZ = $this.$motionZ * 0.9900000095367432; } else { $var2 = $this.$posX; $var23 = $this.$boatX - $var2; $var6 = $var1; $var6_0 = $var2 + $var23 / $var6; $var2 = $this.$posY; $var8_0 = $var2 + ($this.$boatY - $var2) / $var6; $var2 = $this.$posZ; $var25 = $var2 + ($this.$boatZ - $var2) / $var6; $var23 = $this.$boatYaw; $var2 = $this.$rotationYaw; $var12 = ($var23 - $var2) % 360.0; if ($var12 >= 180.0) $var12 = $var12 - 360.0; if ($var12 < (-180.0)) $var12 = $var12 + 360.0; $this.$rotationYaw = $var2 + $var12 / $var6; $var2 = $this.$rotationPitch; $this.$rotationPitch = $var2 + ($this.$boatPitch - $var2) / $var6; $this.$boatPosRotationIncrements = $var1 - 1 | 0; nms_Entity_setPosition($this, $var6_0, $var8_0, $var25); var$9 = $this.$rotationYaw; var$10 = $this.$rotationPitch; $this.$rotationYaw = var$9 % 360.0; $this.$rotationPitch = var$10 % 360.0; } return; } if ($var2 < 1.0) { $var6 = $var2 * 2.0 - 1.0; $this.$motionY = $this.$motionY + 0.03999999910593033 * $var6; } else { $var2 = $this.$motionY; if ($var2 < 0.0) $this.$motionY = $var2 / 2.0; $this.$motionY = $this.$motionY + 0.007000000216066837; } $var18 = $this.$riddenByEntity; if ($var18 !== null && $var18 instanceof nms_EntityLivingBase && $var18.$moveForward > 0.0) { $var8 = -jl_Math_sin($var18.$rotationYaw * 3.1415927410125732 / 180.0); $var25 = jl_Math_cos($this.$riddenByEntity.$rotationYaw * 3.1415927410125732 / 180.0); $var2 = $this.$motionX; $var6 = $this.$speedMultiplier; $this.$motionX = $var2 + $var8 * $var6 * 0.05000000074505806; $this.$motionZ = $this.$motionZ + $var25 * $var6 * 0.05000000074505806; } $var2 = $this.$motionX; $var2 = $var2 * $var2; $var6 = $this.$motionZ; $var6 = jl_Math_sqrt($var2 + $var6 * $var6); if ($var6 > 0.35) { $var8 = 0.35 / $var6; $this.$motionX = $this.$motionX * $var8; $this.$motionZ = $this.$motionZ * $var8; $var6 = 0.35; } c: { if ($var6 > $var23) { $var2 = $this.$speedMultiplier; if ($var2 < 0.35) { $var2 = $var2 + (0.35 - $var2) / 35.0; $this.$speedMultiplier = $var2; if ($var2 <= 0.35) break c; $this.$speedMultiplier = 0.35; break c; } } $var2 = $this.$speedMultiplier; $var2 = $var2 - ($var2 - 0.07) / 35.0; $this.$speedMultiplier = $var2; if ($var2 < 0.07) $this.$speedMultiplier = 0.07; } if ($this.$onGround) { $this.$motionX = $this.$motionX * 0.5; $this.$motionY = $this.$motionY * 0.5; $this.$motionZ = $this.$motionZ * 0.5; } $var2 = $this.$motionX; $var6 = $this.$motionY; $var8 = $this.$motionZ; $ptr = 2; continue main; } $var18 = $this.$boundingBox; $var23 = $var18.$minY; $var8 = $var18.$maxY - $var23; $var5 = $var23 + $var8 * ($var4 + 0 | 0) / 5.0 - 0.125; $var4 = $var4 + 1 | 0; $var7 = $var23 + $var8 * $var4 / 5.0 - 0.125; var$2 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var18 = $this.$boundingBox; $var23 = $var18.$minX; $var8 = $var18.$minZ; $var25 = $var18.$maxX; $var12 = $var18.$maxZ; $var24 = var$2.$nextPoolIndex; $var18 = var$2.$listAABB; $var20 = $var18.$size0; $var26 = $rt_compare($var24, $var20); if ($var26 >= 0) { $var9 = new nms_AxisAlignedBB; $var9.$minX = $var23; $var9.$minY = $var5; $var9.$minZ = $var8; $var9.$maxX = $var25; $var9.$maxY = $var7; $var9.$maxZ = $var12; ju_ArrayList_ensureCapacity($var18, $var20 + 1 | 0); var$4 = $var18.$array.data; $var26 = $var18.$size0; $var18.$size0 = $var26 + 1 | 0; var$4[$var26] = $var9; $var18.$modCount = $var18.$modCount + 1 | 0; } else { if ($var24 < 0) break; if ($var26 >= 0) break; $var9 = $var18.$array.data[$var24]; $var9.$minX = $var23; $var9.$minY = $var5; $var9.$minZ = $var8; $var9.$maxX = $var25; $var9.$maxY = $var7; $var9.$maxZ = $var12; } var$2.$nextPoolIndex = var$2.$nextPoolIndex + 1 | 0; $var18 = $this.$worldObj; nms_Material_$callClinit(); if (nms_World_isAABBInMaterial($var18, $var9, nms_Material_water)) $var2 = $var2 + 0.2; } $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; $rt_throw($var18); case 2: nms_Entity_moveEntity($this, $var2, $var6, $var8); if ($rt_suspending()) { break main; } if (!($this.$isCollidedHorizontally && $var23 > 0.2)) { $this.$motionX = $this.$motionX * 0.9900000095367432; $this.$motionY = $this.$motionY * 0.949999988079071; $this.$motionZ = $this.$motionZ * 0.9900000095367432; } else if (!$this.$worldObj.$isRemote && !$this.$isDead) { $this.$isDead = 1; $var24 = 0; $var8 = 0.0; $var20 = 138; if ($var24 < 3) { nms_Block_$callClinit(); $var1 = nms_Block_planks.$blockID; $var18 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var18.$itemID = $var1; $var18.$stackSize = 1; $var18.$itemDamage = 0; var$2 = new nms_EntityItem; $var9 = $this.$worldObj; $var2 = $this.$posX; $var23 = $this.$posY + $var8; $var6 = $this.$posZ; $ptr = 5; continue main; } $var1 = 0; if ($var1 < 2) { nms_Item_$callClinit(); $var4 = nms_Item_stick.$itemID0; $var18 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var18.$itemID = $var4; $var18.$stackSize = 1; $var18.$itemDamage = 0; var$2 = new nms_EntityItem; $var9 = $this.$worldObj; $var2 = $this.$posX; $var23 = $this.$posY + $var8; $var6 = $this.$posZ; $ptr = 6; continue main; } } $this.$rotationPitch = 0.0; $var8 = $this.$rotationYaw; $var25 = $this.$prevPosX - $this.$posX; $var12 = $this.$prevPosZ - $this.$posZ; if ($var25 * $var25 + $var12 * $var12 > 0.001) $var8 = jl_Math_atan2($var12, $var25) * 180.0 / 3.141592653589793; $var2 = $this.$rotationYaw; $var14 = ($var8 - $var2) % 360.0; if ($var14 >= 180.0) $var14 = $var14 - 360.0; if ($var14 < (-180.0)) $var14 = $var14 + 360.0; if ($var14 > 20.0) $var14 = 20.0; if ($var14 < (-20.0)) $var14 = (-20.0); var$9 = $var2 + $var14; $this.$rotationYaw = var$9; var$10 = $this.$rotationPitch; $this.$rotationYaw = var$9 % 360.0; $this.$rotationPitch = var$10 % 360.0; $var18 = $this.$worldObj; if (!$var18.$isRemote) { var$2 = $this.$boundingBox; $var8 = var$2.$minX - 0.20000000298023224; $var25 = var$2.$minY - 0.0; $var12 = var$2.$minZ - 0.20000000298023224; $var23 = var$2.$maxX + 0.20000000298023224; $var6 = var$2.$maxY + 0.0; $var2 = var$2.$maxZ + 0.20000000298023224; $var16 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var1 = $var16.$nextPoolIndex; var$2 = $var16.$listAABB; $var24 = var$2.$size0; $var4 = $rt_compare($var1, $var24); if ($var4 >= 0) { $var9 = new nms_AxisAlignedBB; $var9.$minX = $var8; $var9.$minY = $var25; $var9.$minZ = $var12; $var9.$maxX = $var23; $var9.$maxY = $var6; $var9.$maxZ = $var2; ju_ArrayList_ensureCapacity(var$2, $var24 + 1 | 0); var$4 = var$2.$array.data; $var4 = var$2.$size0; var$2.$size0 = $var4 + 1 | 0; var$4[$var4] = $var9; var$2.$modCount = var$2.$modCount + 1 | 0; } else if ($var1 >= 0 && $var4 < 0) { $var9 = var$2.$array.data[$var1]; $var9.$minX = $var8; $var9.$minY = $var25; $var9.$minZ = $var12; $var9.$maxX = $var23; $var9.$maxY = $var6; $var9.$maxZ = $var2; } else { $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var18); $rt_throw($var18); } d: { $var16.$nextPoolIndex = $var16.$nextPoolIndex + 1 | 0; $var16 = nms_World_getEntitiesWithinAABBExcludingEntity($var18, $this, $var9, null); if ($var16 !== null && !($var16.$size0 ? 0 : 1)) { $var26 = 0; while (true) { $var1 = $rt_compare($var26, $var16.$size0); if ($var1 >= 0) break d; if ($var26 < 0) break; if ($var1 >= 0) break; $var18 = $var16.$array.data[$var26]; if ($var18 !== $this.$riddenByEntity && $var18.$canBePushed() && $var18 instanceof nms_EntityBoat) { $ptr = 7; continue main; } $var26 = $var26 + 1 | 0; } $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; $rt_throw($var18); } } $var26 = 0; while ($var26 < 4) { $var2 = $this.$posX + (($var26 % 2 | 0) - 0.5) * 0.8; $var27 = $var2 | 0; if ($var2 < $var27) $var27 = $var27 - 1 | 0; $var2 = $this.$posZ + (($var26 / 2 | 0) - 0.5) * 0.8; $var19 = $var2 | 0; if ($var2 < $var19) $var19 = $var19 - 1 | 0; $var20 = 0; while ($var20 < 2) { $var2 = $this.$posY; $var4 = $var2 | 0; if ($var2 < $var4) $var4 = $var4 - 1 | 0; $var21 = $var4 + $var20 | 0; $var22 = nms_World_getBlockId($this.$worldObj, $var27, $var21, $var19); nms_Block_$callClinit(); if ($var22 == nms_Block_snow.$blockID) { $var18 = $this.$worldObj; $var1 = 0; $var4 = 0; $var24 = 3; $ptr = 8; continue main; } if ($var22 == nms_Block_waterlily.$blockID) { $var18 = $this.$worldObj; $var1 = 1; $ptr = 9; continue main; } $var20 = $var20 + 1 | 0; } $var26 = $var26 + 1 | 0; } $var18 = $this.$riddenByEntity; if ($var18 !== null && $var18.$isDead) $this.$riddenByEntity = null; } return; case 3: nms_RenderGlobal_doSpawnParticle($var9, var$2, $var15, $var25, $var17, $var14, $var6_0, $var8_0); if ($rt_suspending()) { break main; } $var1 = $var1 + 1 | 0; while (true) { $var9 = $var18.$worldAccesses; $var4 = $rt_compare($var1, $var9.$size0); if ($var4 < 0) break; while (true) { $var10 = $var10 + 1 | 0; if ($var10 >= $var12) { if ($this.$worldObj.$isRemote && $this.$field_70279_a) { $var1 = $this.$boatPosRotationIncrements; if ($var1 <= 0) { nms_Entity_setPosition($this, $this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); if ($this.$onGround) { $this.$motionX = $this.$motionX * 0.5; $this.$motionY = $this.$motionY * 0.5; $this.$motionZ = $this.$motionZ * 0.5; } $this.$motionX = $this.$motionX * 0.9900000095367432; $this.$motionY = $this.$motionY * 0.949999988079071; $this.$motionZ = $this.$motionZ * 0.9900000095367432; } else { $var2 = $this.$posX; $var23 = $this.$boatX - $var2; $var6 = $var1; $var6_0 = $var2 + $var23 / $var6; $var2 = $this.$posY; $var8_0 = $var2 + ($this.$boatY - $var2) / $var6; $var2 = $this.$posZ; $var25 = $var2 + ($this.$boatZ - $var2) / $var6; $var23 = $this.$boatYaw; $var2 = $this.$rotationYaw; $var12 = ($var23 - $var2) % 360.0; if ($var12 >= 180.0) $var12 = $var12 - 360.0; if ($var12 < (-180.0)) $var12 = $var12 + 360.0; $this.$rotationYaw = $var2 + $var12 / $var6; $var2 = $this.$rotationPitch; $this.$rotationPitch = $var2 + ($this.$boatPitch - $var2) / $var6; $this.$boatPosRotationIncrements = $var1 - 1 | 0; nms_Entity_setPosition($this, $var6_0, $var8_0, $var25); var$9 = $this.$rotationYaw; var$10 = $this.$rotationPitch; $this.$rotationYaw = var$9 % 360.0; $this.$rotationPitch = var$10 % 360.0; } return; } if ($var2 < 1.0) { $var6 = $var2 * 2.0 - 1.0; $this.$motionY = $this.$motionY + 0.03999999910593033 * $var6; } else { $var2 = $this.$motionY; if ($var2 < 0.0) $this.$motionY = $var2 / 2.0; $this.$motionY = $this.$motionY + 0.007000000216066837; } $var18 = $this.$riddenByEntity; if ($var18 !== null && $var18 instanceof nms_EntityLivingBase && $var18.$moveForward > 0.0) { $var8 = -jl_Math_sin($var18.$rotationYaw * 3.1415927410125732 / 180.0); $var25 = jl_Math_cos($this.$riddenByEntity.$rotationYaw * 3.1415927410125732 / 180.0); $var2 = $this.$motionX; $var6 = $this.$speedMultiplier; $this.$motionX = $var2 + $var8 * $var6 * 0.05000000074505806; $this.$motionZ = $this.$motionZ + $var25 * $var6 * 0.05000000074505806; } $var2 = $this.$motionX; $var2 = $var2 * $var2; $var6 = $this.$motionZ; $var6 = jl_Math_sqrt($var2 + $var6 * $var6); if ($var6 > 0.35) { $var8 = 0.35 / $var6; $this.$motionX = $this.$motionX * $var8; $this.$motionZ = $this.$motionZ * $var8; $var6 = 0.35; } e: { if ($var6 > $var23) { $var2 = $this.$speedMultiplier; if ($var2 < 0.35) { $var2 = $var2 + (0.35 - $var2) / 35.0; $this.$speedMultiplier = $var2; if ($var2 <= 0.35) break e; $this.$speedMultiplier = 0.35; break e; } } $var2 = $this.$speedMultiplier; $var2 = $var2 - ($var2 - 0.07) / 35.0; $this.$speedMultiplier = $var2; if ($var2 < 0.07) $this.$speedMultiplier = 0.07; } if ($this.$onGround) { $this.$motionX = $this.$motionX * 0.5; $this.$motionY = $this.$motionY * 0.5; $this.$motionZ = $this.$motionZ * 0.5; } $var2 = $this.$motionX; $var6 = $this.$motionY; $var8 = $this.$motionZ; $ptr = 2; continue main; } $var18 = $this.$rand; var$21 = Long_and(Long_add(Long_mul($var18.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18.$seed = var$21; $var11 = Long_lo(Long_shru(var$21, $var20)) / 1.6777216E7 * 2.0 - 1.0; var$21 = Long_and(Long_add(Long_mul(var$21, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18.$seed = var$21; $var13 = ((Long_lo(Long_shr(Long_mul(var$20, Long_fromInt(Long_lo(Long_shru(var$21, $var26)))), 31)) * 2 | 0) - 1 | 0) * 0.7; var$24 = Long_and(Long_add(Long_mul(var$21, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18.$seed = var$24; if (!(!Long_lo(Long_shru(var$24, $var24)) ? 0 : 1)) break; $var15 = $this.$posX - $var6 * $var11 * 0.8 + $var8 * $var13; $var17 = $this.$posZ - $var8 * $var11 * 0.8 - $var6 * $var13; $var18 = $this.$worldObj; var$2 = $rt_s(1241); $var25 = $this.$posY - 0.125; $var14 = $this.$motionX; $var6_0 = $this.$motionY; $var8_0 = $this.$motionZ; $var1 = 0; $var9 = $var18.$worldAccesses; $var4 = $rt_compare($var1, $var9.$size0); if ($var4 < 0) { if ($var1 >= 0 && $var4 < 0) { $var9 = $var9.$array.data[$var1]; $ptr = 4; continue main; } $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; $rt_throw($var18); } } $var15 = $this.$posX + $var6 + $var8 * $var11 * 0.7; $var17 = $this.$posZ + $var8 - $var6 * $var11 * 0.7; $var18 = $this.$worldObj; var$2 = $rt_s(1241); $var25 = $this.$posY - 0.125; $var14 = $this.$motionX; $var6_0 = $this.$motionY; $var8_0 = $this.$motionZ; $var1 = 0; } if ($var1 >= 0 && $var4 < 0) { $var9 = $var9.$array.data[$var1]; continue main; } $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; $rt_throw($var18); case 4: nms_RenderGlobal_doSpawnParticle($var9, var$2, $var15, $var25, $var17, $var14, $var6_0, $var8_0); if ($rt_suspending()) { break main; } $var1 = $var1 + 1 | 0; while (true) { $var9 = $var18.$worldAccesses; $var4 = $rt_compare($var1, $var9.$size0); if ($var4 < 0) break; while (true) { $var10 = $var10 + 1 | 0; if ($var10 >= $var12) { if ($this.$worldObj.$isRemote && $this.$field_70279_a) { $var1 = $this.$boatPosRotationIncrements; if ($var1 <= 0) { nms_Entity_setPosition($this, $this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); if ($this.$onGround) { $this.$motionX = $this.$motionX * 0.5; $this.$motionY = $this.$motionY * 0.5; $this.$motionZ = $this.$motionZ * 0.5; } $this.$motionX = $this.$motionX * 0.9900000095367432; $this.$motionY = $this.$motionY * 0.949999988079071; $this.$motionZ = $this.$motionZ * 0.9900000095367432; } else { $var2 = $this.$posX; $var23 = $this.$boatX - $var2; $var6 = $var1; $var6_0 = $var2 + $var23 / $var6; $var2 = $this.$posY; $var8_0 = $var2 + ($this.$boatY - $var2) / $var6; $var2 = $this.$posZ; $var25 = $var2 + ($this.$boatZ - $var2) / $var6; $var23 = $this.$boatYaw; $var2 = $this.$rotationYaw; $var12 = ($var23 - $var2) % 360.0; if ($var12 >= 180.0) $var12 = $var12 - 360.0; if ($var12 < (-180.0)) $var12 = $var12 + 360.0; $this.$rotationYaw = $var2 + $var12 / $var6; $var2 = $this.$rotationPitch; $this.$rotationPitch = $var2 + ($this.$boatPitch - $var2) / $var6; $this.$boatPosRotationIncrements = $var1 - 1 | 0; nms_Entity_setPosition($this, $var6_0, $var8_0, $var25); var$9 = $this.$rotationYaw; var$10 = $this.$rotationPitch; $this.$rotationYaw = var$9 % 360.0; $this.$rotationPitch = var$10 % 360.0; } return; } if ($var2 < 1.0) { $var6 = $var2 * 2.0 - 1.0; $this.$motionY = $this.$motionY + 0.03999999910593033 * $var6; } else { $var2 = $this.$motionY; if ($var2 < 0.0) $this.$motionY = $var2 / 2.0; $this.$motionY = $this.$motionY + 0.007000000216066837; } $var18 = $this.$riddenByEntity; if ($var18 !== null && $var18 instanceof nms_EntityLivingBase && $var18.$moveForward > 0.0) { $var8 = -jl_Math_sin($var18.$rotationYaw * 3.1415927410125732 / 180.0); $var25 = jl_Math_cos($this.$riddenByEntity.$rotationYaw * 3.1415927410125732 / 180.0); $var2 = $this.$motionX; $var6 = $this.$speedMultiplier; $this.$motionX = $var2 + $var8 * $var6 * 0.05000000074505806; $this.$motionZ = $this.$motionZ + $var25 * $var6 * 0.05000000074505806; } $var2 = $this.$motionX; $var2 = $var2 * $var2; $var6 = $this.$motionZ; $var6 = jl_Math_sqrt($var2 + $var6 * $var6); if ($var6 > 0.35) { $var8 = 0.35 / $var6; $this.$motionX = $this.$motionX * $var8; $this.$motionZ = $this.$motionZ * $var8; $var6 = 0.35; } e: { if ($var6 > $var23) { $var2 = $this.$speedMultiplier; if ($var2 < 0.35) { $var2 = $var2 + (0.35 - $var2) / 35.0; $this.$speedMultiplier = $var2; if ($var2 <= 0.35) break e; $this.$speedMultiplier = 0.35; break e; } } $var2 = $this.$speedMultiplier; $var2 = $var2 - ($var2 - 0.07) / 35.0; $this.$speedMultiplier = $var2; if ($var2 < 0.07) $this.$speedMultiplier = 0.07; } if ($this.$onGround) { $this.$motionX = $this.$motionX * 0.5; $this.$motionY = $this.$motionY * 0.5; $this.$motionZ = $this.$motionZ * 0.5; } $var2 = $this.$motionX; $var6 = $this.$motionY; $var8 = $this.$motionZ; $ptr = 2; continue main; } $var18 = $this.$rand; var$21 = Long_and(Long_add(Long_mul($var18.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18.$seed = var$21; $var11 = Long_lo(Long_shru(var$21, $var20)) / 1.6777216E7 * 2.0 - 1.0; var$21 = Long_and(Long_add(Long_mul(var$21, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18.$seed = var$21; $var13 = ((Long_lo(Long_shr(Long_mul(var$20, Long_fromInt(Long_lo(Long_shru(var$21, $var26)))), 31)) * 2 | 0) - 1 | 0) * 0.7; var$24 = Long_and(Long_add(Long_mul(var$21, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18.$seed = var$24; if (!Long_lo(Long_shru(var$24, $var24)) ? 0 : 1) break; $var15 = $this.$posX + $var6 + $var8 * $var11 * 0.7; $var17 = $this.$posZ + $var8 - $var6 * $var11 * 0.7; $var18 = $this.$worldObj; var$2 = $rt_s(1241); $var25 = $this.$posY - 0.125; $var14 = $this.$motionX; $var6_0 = $this.$motionY; $var8_0 = $this.$motionZ; $var1 = 0; $var9 = $var18.$worldAccesses; $var4 = $rt_compare($var1, $var9.$size0); if ($var4 < 0) { if ($var1 >= 0 && $var4 < 0) { $var9 = $var9.$array.data[$var1]; $ptr = 3; continue main; } $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; $rt_throw($var18); } } $var15 = $this.$posX - $var6 * $var11 * 0.8 + $var8 * $var13; $var17 = $this.$posZ - $var8 * $var11 * 0.8 - $var6 * $var13; $var18 = $this.$worldObj; var$2 = $rt_s(1241); $var25 = $this.$posY - 0.125; $var14 = $this.$motionX; $var6_0 = $this.$motionY; $var8_0 = $this.$motionZ; $var1 = 0; } if ($var1 >= 0 && $var4 < 0) { $var9 = $var9.$array.data[$var1]; continue main; } $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; $rt_throw($var18); case 5: nms_EntityItem__init_(var$2, $var9, $var2, $var23, $var6); if ($rt_suspending()) { break main; } var$6 = var$2.$dataWatcher; $var9 = var$6.$watchedObjects; jl_Integer_ensureIntegerCache(); $var16 = jl_Integer_integerCache.data[$var20]; if ($var16 === null) $var9 = ju_HashMap_findNullKeyEntry($var9); else { $var4 = jl_Integer_hashCode0($var16); $var9 = ju_HashMap_findNonNullKeyEntry($var9, $var16, $var4 & ($var9.$elementData.data.length - 1 | 0), $var4); } $var16 = $var9 === null ? null : $var9.$value1; if (!($var18 !== $var16.$watchedObject ? 0 : 1)) { $var16.$watchedObject = $var18; $var16.$watched = 1; var$6.$objectChanged = 1; } $var16 = var$2.$dataWatcher; $var18 = $var16.$watchedObjects; jl_Integer_ensureIntegerCache(); $var9 = jl_Integer_integerCache.data[$var20]; if ($var9 === null) $var18 = ju_HashMap_findNullKeyEntry($var18); else { $var4 = jl_Integer_hashCode0($var9); $var18 = ju_HashMap_findNonNullKeyEntry($var18, $var9, $var4 & ($var18.$elementData.data.length - 1 | 0), $var4); } ($var18 === null ? null : $var18.$value1).$watched = 1; $var16.$objectChanged = 1; var$2.$delayBeforeCanPickup = 10; $var18 = $this.$worldObj; $var1 = nms_World_spawnEntityInWorld($var18, var$2); $var9 = $var18.$entityList; ju_HashMap_putImpl($var9.$backingMap, var$2, $var9); if (!$var1) { $var18 = $var18.$entitySpawnQueue; ju_HashMap_putImpl($var18.$backingMap, var$2, $var18); } $var24 = $var24 + 1 | 0; if ($var24 < 3) { nms_Block_$callClinit(); $var1 = nms_Block_planks.$blockID; $var18 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var18.$itemID = $var1; $var18.$stackSize = 1; $var18.$itemDamage = 0; var$2 = new nms_EntityItem; $var9 = $this.$worldObj; $var2 = $this.$posX; $var23 = $this.$posY + $var8; $var6 = $this.$posZ; continue main; } $var1 = 0; if ($var1 < 2) { nms_Item_$callClinit(); $var4 = nms_Item_stick.$itemID0; $var18 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var18.$itemID = $var4; $var18.$stackSize = 1; $var18.$itemDamage = 0; var$2 = new nms_EntityItem; $var9 = $this.$worldObj; $var2 = $this.$posX; $var23 = $this.$posY + $var8; $var6 = $this.$posZ; $ptr = 6; continue main; } $this.$rotationPitch = 0.0; $var8 = $this.$rotationYaw; $var25 = $this.$prevPosX - $this.$posX; $var12 = $this.$prevPosZ - $this.$posZ; if ($var25 * $var25 + $var12 * $var12 > 0.001) $var8 = jl_Math_atan2($var12, $var25) * 180.0 / 3.141592653589793; $var2 = $this.$rotationYaw; $var14 = ($var8 - $var2) % 360.0; if ($var14 >= 180.0) $var14 = $var14 - 360.0; if ($var14 < (-180.0)) $var14 = $var14 + 360.0; if ($var14 > 20.0) $var14 = 20.0; if ($var14 < (-20.0)) $var14 = (-20.0); var$9 = $var2 + $var14; $this.$rotationYaw = var$9; var$10 = $this.$rotationPitch; $this.$rotationYaw = var$9 % 360.0; $this.$rotationPitch = var$10 % 360.0; $var18 = $this.$worldObj; if (!$var18.$isRemote) { var$2 = $this.$boundingBox; $var8 = var$2.$minX - 0.20000000298023224; $var25 = var$2.$minY - 0.0; $var12 = var$2.$minZ - 0.20000000298023224; $var23 = var$2.$maxX + 0.20000000298023224; $var6 = var$2.$maxY + 0.0; $var2 = var$2.$maxZ + 0.20000000298023224; $var16 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var1 = $var16.$nextPoolIndex; var$2 = $var16.$listAABB; $var24 = var$2.$size0; $var4 = $rt_compare($var1, $var24); if ($var4 >= 0) { $var9 = new nms_AxisAlignedBB; $var9.$minX = $var8; $var9.$minY = $var25; $var9.$minZ = $var12; $var9.$maxX = $var23; $var9.$maxY = $var6; $var9.$maxZ = $var2; ju_ArrayList_ensureCapacity(var$2, $var24 + 1 | 0); var$4 = var$2.$array.data; $var4 = var$2.$size0; var$2.$size0 = $var4 + 1 | 0; var$4[$var4] = $var9; var$2.$modCount = var$2.$modCount + 1 | 0; } else if ($var1 >= 0 && $var4 < 0) { $var9 = var$2.$array.data[$var1]; $var9.$minX = $var8; $var9.$minY = $var25; $var9.$minZ = $var12; $var9.$maxX = $var23; $var9.$maxY = $var6; $var9.$maxZ = $var2; } else { $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var18); $rt_throw($var18); } f: { $var16.$nextPoolIndex = $var16.$nextPoolIndex + 1 | 0; $var16 = nms_World_getEntitiesWithinAABBExcludingEntity($var18, $this, $var9, null); if ($var16 !== null && !($var16.$size0 ? 0 : 1)) { $var26 = 0; while (true) { $var1 = $rt_compare($var26, $var16.$size0); if ($var1 >= 0) break f; if ($var26 < 0) break; if ($var1 >= 0) break; $var18 = $var16.$array.data[$var26]; if ($var18 !== $this.$riddenByEntity && $var18.$canBePushed() && $var18 instanceof nms_EntityBoat) { $ptr = 7; continue main; } $var26 = $var26 + 1 | 0; } $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; $rt_throw($var18); } } $var26 = 0; while ($var26 < 4) { $var2 = $this.$posX + (($var26 % 2 | 0) - 0.5) * 0.8; $var27 = $var2 | 0; if ($var2 < $var27) $var27 = $var27 - 1 | 0; $var2 = $this.$posZ + (($var26 / 2 | 0) - 0.5) * 0.8; $var19 = $var2 | 0; if ($var2 < $var19) $var19 = $var19 - 1 | 0; $var20 = 0; while ($var20 < 2) { $var2 = $this.$posY; $var4 = $var2 | 0; if ($var2 < $var4) $var4 = $var4 - 1 | 0; $var21 = $var4 + $var20 | 0; $var22 = nms_World_getBlockId($this.$worldObj, $var27, $var21, $var19); nms_Block_$callClinit(); if ($var22 == nms_Block_snow.$blockID) { $var18 = $this.$worldObj; $var1 = 0; $var4 = 0; $var24 = 3; $ptr = 8; continue main; } if ($var22 == nms_Block_waterlily.$blockID) { $var18 = $this.$worldObj; $var1 = 1; $ptr = 9; continue main; } $var20 = $var20 + 1 | 0; } $var26 = $var26 + 1 | 0; } $var18 = $this.$riddenByEntity; if ($var18 !== null && $var18.$isDead) $this.$riddenByEntity = null; } return; case 6: nms_EntityItem__init_(var$2, $var9, $var2, $var23, $var6); if ($rt_suspending()) { break main; } var$6 = var$2.$dataWatcher; $var9 = var$6.$watchedObjects; jl_Integer_ensureIntegerCache(); $var16 = jl_Integer_integerCache.data[$var20]; if ($var16 === null) $var9 = ju_HashMap_findNullKeyEntry($var9); else { $var24 = jl_Integer_hashCode0($var16); $var9 = ju_HashMap_findNonNullKeyEntry($var9, $var16, $var24 & ($var9.$elementData.data.length - 1 | 0), $var24); } $var16 = $var9 === null ? null : $var9.$value1; if (!($var18 !== $var16.$watchedObject ? 0 : 1)) { $var16.$watchedObject = $var18; $var16.$watched = 1; var$6.$objectChanged = 1; } $var16 = var$2.$dataWatcher; $var18 = $var16.$watchedObjects; jl_Integer_ensureIntegerCache(); $var9 = jl_Integer_integerCache.data[$var20]; if ($var9 === null) $var18 = ju_HashMap_findNullKeyEntry($var18); else { $var24 = jl_Integer_hashCode0($var9); $var18 = ju_HashMap_findNonNullKeyEntry($var18, $var9, $var24 & ($var18.$elementData.data.length - 1 | 0), $var24); } ($var18 === null ? null : $var18.$value1).$watched = 1; $var16.$objectChanged = 1; var$2.$delayBeforeCanPickup = 10; $var18 = $this.$worldObj; $var4 = nms_World_spawnEntityInWorld($var18, var$2); $var9 = $var18.$entityList; ju_HashMap_putImpl($var9.$backingMap, var$2, $var9); if (!$var4) { $var18 = $var18.$entitySpawnQueue; ju_HashMap_putImpl($var18.$backingMap, var$2, $var18); } $var1 = $var1 + 1 | 0; if ($var1 < 2) { nms_Item_$callClinit(); $var4 = nms_Item_stick.$itemID0; $var18 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var18.$itemID = $var4; $var18.$stackSize = 1; $var18.$itemDamage = 0; var$2 = new nms_EntityItem; $var9 = $this.$worldObj; $var2 = $this.$posX; $var23 = $this.$posY + $var8; $var6 = $this.$posZ; continue main; } $this.$rotationPitch = 0.0; $var8 = $this.$rotationYaw; $var25 = $this.$prevPosX - $this.$posX; $var12 = $this.$prevPosZ - $this.$posZ; if ($var25 * $var25 + $var12 * $var12 > 0.001) $var8 = jl_Math_atan2($var12, $var25) * 180.0 / 3.141592653589793; $var2 = $this.$rotationYaw; $var14 = ($var8 - $var2) % 360.0; if ($var14 >= 180.0) $var14 = $var14 - 360.0; if ($var14 < (-180.0)) $var14 = $var14 + 360.0; if ($var14 > 20.0) $var14 = 20.0; if ($var14 < (-20.0)) $var14 = (-20.0); var$9 = $var2 + $var14; $this.$rotationYaw = var$9; var$10 = $this.$rotationPitch; $this.$rotationYaw = var$9 % 360.0; $this.$rotationPitch = var$10 % 360.0; $var18 = $this.$worldObj; if (!$var18.$isRemote) { var$2 = $this.$boundingBox; $var8 = var$2.$minX - 0.20000000298023224; $var25 = var$2.$minY - 0.0; $var12 = var$2.$minZ - 0.20000000298023224; $var23 = var$2.$maxX + 0.20000000298023224; $var6 = var$2.$maxY + 0.0; $var2 = var$2.$maxZ + 0.20000000298023224; $var16 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var1 = $var16.$nextPoolIndex; var$2 = $var16.$listAABB; $var24 = var$2.$size0; $var4 = $rt_compare($var1, $var24); if ($var4 >= 0) { $var9 = new nms_AxisAlignedBB; $var9.$minX = $var8; $var9.$minY = $var25; $var9.$minZ = $var12; $var9.$maxX = $var23; $var9.$maxY = $var6; $var9.$maxZ = $var2; ju_ArrayList_ensureCapacity(var$2, $var24 + 1 | 0); var$4 = var$2.$array.data; $var4 = var$2.$size0; var$2.$size0 = $var4 + 1 | 0; var$4[$var4] = $var9; var$2.$modCount = var$2.$modCount + 1 | 0; } else if ($var1 >= 0 && $var4 < 0) { $var9 = var$2.$array.data[$var1]; $var9.$minX = $var8; $var9.$minY = $var25; $var9.$minZ = $var12; $var9.$maxX = $var23; $var9.$maxY = $var6; $var9.$maxZ = $var2; } else { $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var18); $rt_throw($var18); } g: { $var16.$nextPoolIndex = $var16.$nextPoolIndex + 1 | 0; $var16 = nms_World_getEntitiesWithinAABBExcludingEntity($var18, $this, $var9, null); if ($var16 !== null && !($var16.$size0 ? 0 : 1)) { $var26 = 0; while (true) { $var1 = $rt_compare($var26, $var16.$size0); if ($var1 >= 0) break g; if ($var26 < 0) break; if ($var1 >= 0) break; $var18 = $var16.$array.data[$var26]; if ($var18 !== $this.$riddenByEntity && $var18.$canBePushed() && $var18 instanceof nms_EntityBoat) { $ptr = 7; continue main; } $var26 = $var26 + 1 | 0; } $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; $rt_throw($var18); } } $var26 = 0; while ($var26 < 4) { $var2 = $this.$posX + (($var26 % 2 | 0) - 0.5) * 0.8; $var27 = $var2 | 0; if ($var2 < $var27) $var27 = $var27 - 1 | 0; $var2 = $this.$posZ + (($var26 / 2 | 0) - 0.5) * 0.8; $var19 = $var2 | 0; if ($var2 < $var19) $var19 = $var19 - 1 | 0; $var20 = 0; while ($var20 < 2) { $var2 = $this.$posY; $var4 = $var2 | 0; if ($var2 < $var4) $var4 = $var4 - 1 | 0; $var21 = $var4 + $var20 | 0; $var22 = nms_World_getBlockId($this.$worldObj, $var27, $var21, $var19); nms_Block_$callClinit(); if ($var22 == nms_Block_snow.$blockID) { $var18 = $this.$worldObj; $var1 = 0; $var4 = 0; $var24 = 3; $ptr = 8; continue main; } if ($var22 == nms_Block_waterlily.$blockID) { $var18 = $this.$worldObj; $var1 = 1; $ptr = 9; continue main; } $var20 = $var20 + 1 | 0; } $var26 = $var26 + 1 | 0; } $var18 = $this.$riddenByEntity; if ($var18 !== null && $var18.$isDead) $this.$riddenByEntity = null; } return; case 7: $var18.$applyEntityCollision($this); if ($rt_suspending()) { break main; } while (true) { $var26 = $var26 + 1 | 0; $var1 = $rt_compare($var26, $var16.$size0); if ($var1 >= 0) { $var26 = 0; while ($var26 < 4) { $var2 = $this.$posX + (($var26 % 2 | 0) - 0.5) * 0.8; $var27 = $var2 | 0; if ($var2 < $var27) $var27 = $var27 - 1 | 0; $var2 = $this.$posZ + (($var26 / 2 | 0) - 0.5) * 0.8; $var19 = $var2 | 0; if ($var2 < $var19) $var19 = $var19 - 1 | 0; $var20 = 0; while ($var20 < 2) { $var2 = $this.$posY; $var4 = $var2 | 0; if ($var2 < $var4) $var4 = $var4 - 1 | 0; $var21 = $var4 + $var20 | 0; $var22 = nms_World_getBlockId($this.$worldObj, $var27, $var21, $var19); nms_Block_$callClinit(); if ($var22 == nms_Block_snow.$blockID) { $var18 = $this.$worldObj; $var1 = 0; $var4 = 0; $var24 = 3; $ptr = 8; continue main; } if ($var22 == nms_Block_waterlily.$blockID) { $var18 = $this.$worldObj; $var1 = 1; $ptr = 9; continue main; } $var20 = $var20 + 1 | 0; } $var26 = $var26 + 1 | 0; } $var18 = $this.$riddenByEntity; if ($var18 !== null && $var18.$isDead) $this.$riddenByEntity = null; return; } if ($var26 < 0) break; if ($var1 >= 0) break; $var18 = $var16.$array.data[$var26]; if ($var18 === $this.$riddenByEntity) continue; if (!$var18.$canBePushed()) continue; if (!($var18 instanceof nms_EntityBoat)) continue; else { continue main; } } $var18 = new jl_IndexOutOfBoundsException; $var18.$suppressionEnabled = 1; $var18.$writableStackTrace = 1; $rt_throw($var18); case 8: nms_World_setBlock($var18, $var27, $var21, $var19, $var1, $var4, $var24); if ($rt_suspending()) { break main; } h: while (true) { $var20 = $var20 + 1 | 0; while ($var20 >= 2) { $var26 = $var26 + 1 | 0; if ($var26 >= 4) break h; $var2 = $this.$posX + (($var26 % 2 | 0) - 0.5) * 0.8; $var27 = $var2 | 0; if ($var2 < $var27) $var27 = $var27 - 1 | 0; $var2 = $this.$posZ + (($var26 / 2 | 0) - 0.5) * 0.8; $var19 = $var2 | 0; if ($var2 < $var19) $var19 = $var19 - 1 | 0; $var20 = 0; } $var2 = $this.$posY; $var4 = $var2 | 0; if ($var2 < $var4) $var4 = $var4 - 1 | 0; $var21 = $var4 + $var20 | 0; $var22 = nms_World_getBlockId($this.$worldObj, $var27, $var21, $var19); nms_Block_$callClinit(); if ($var22 == nms_Block_snow.$blockID) { $var18 = $this.$worldObj; $var1 = 0; $var4 = 0; $var24 = 3; continue main; } if ($var22 != nms_Block_waterlily.$blockID) continue; else { $var18 = $this.$worldObj; $var1 = 1; $ptr = 9; continue main; } } $var18 = $this.$riddenByEntity; if ($var18 !== null && $var18.$isDead) $this.$riddenByEntity = null; return; case 9: nms_World_destroyBlock($var18, $var27, $var21, $var19, $var1); if ($rt_suspending()) { break main; } h: while (true) { $var20 = $var20 + 1 | 0; while ($var20 >= 2) { $var26 = $var26 + 1 | 0; if ($var26 >= 4) break h; $var2 = $this.$posX + (($var26 % 2 | 0) - 0.5) * 0.8; $var27 = $var2 | 0; if ($var2 < $var27) $var27 = $var27 - 1 | 0; $var2 = $this.$posZ + (($var26 / 2 | 0) - 0.5) * 0.8; $var19 = $var2 | 0; if ($var2 < $var19) $var19 = $var19 - 1 | 0; $var20 = 0; } $var2 = $this.$posY; $var4 = $var2 | 0; if ($var2 < $var4) $var4 = $var4 - 1 | 0; $var21 = $var4 + $var20 | 0; $var22 = nms_World_getBlockId($this.$worldObj, $var27, $var21, $var19); nms_Block_$callClinit(); if ($var22 == nms_Block_snow.$blockID) { $var18 = $this.$worldObj; $var1 = 0; $var4 = 0; $var24 = 3; $ptr = 8; continue main; } if ($var22 != nms_Block_waterlily.$blockID) continue; else { $var18 = $this.$worldObj; $var1 = 1; continue main; } } $var18 = $this.$riddenByEntity; if ($var18 !== null && $var18.$isDead) $this.$riddenByEntity = null; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var18, var$2, $var1, var$4, $var9, var$6, $var24, $var16, var$9, var$10, $var2, $var4, $var23, $var6, $var8, $var10, $var12, $var20, $var26, var$20, var$21, $var11, $var13, var$24, $var15, $var17, $var25, $var14, $var6_0, $var8_0, $var5, $var7, $var27, $var19, $var21, $var22, $ptr); }, nms_EntityBoat_updateRiderPosition = $this => { let $var1, $var3, var$3; if ($this.$riddenByEntity !== null) { $var1 = jl_Math_cos($this.$rotationYaw * 3.141592653589793 / 180.0) * 0.4; $var3 = jl_Math_sin($this.$rotationYaw * 3.141592653589793 / 180.0) * 0.4; var$3 = $this.$riddenByEntity; nms_Entity_setPosition(var$3, $this.$posX + $var1, $this.$posY + $this.$height2 * 0.0 - 0.30000001192092896 + var$3.$getYOffset(), $this.$posZ + $var3); } }, nms_EntityBoat_writeEntityToNBT = ($this, $par1NBTTagCompound) => { return; }, nms_EntityBoat_readEntityFromNBT = ($this, $par1NBTTagCompound) => { return; }, nms_EntityBoat_getShadowSize = $this => { return 0.0; }, nms_EntityBoat_interactFirst = ($this, $par1EntityPlayer) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$riddenByEntity; if (var$2 !== null && var$2 instanceof nms_EntityPlayer && var$2 !== $par1EntityPlayer) return 1; if ($this.$worldObj.$isRemote) return 1; $ptr = 1; case 1: nms_Entity_mountEntity($par1EntityPlayer, $this); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, $ptr); }; function nms_RenderBoat() { nms_Render.call(this); this.$modelBoat = null; } let nms_RenderBoat_boatTextures = null, nms_RenderBoat_$callClinit = () => { nms_RenderBoat_$callClinit = $rt_eraseClinit(nms_RenderBoat); nms_RenderBoat__clinit_(); }, nms_RenderBoat__init_ = $this => { let var$1; nms_RenderBoat_$callClinit(); nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; $this.$shadowSize = 0.5; $this.$modelBoat = nms_ModelBoat__init_(); }, nms_RenderBoat__init_0 = () => { let var_0 = new nms_RenderBoat(); nms_RenderBoat__init_(var_0); return var_0; }, nms_RenderBoat_renderBoat = ($this, $par1EntityBoat, $par2, $par4, $par6, $par8, $par9) => { let $var10, $var11, $var12, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityBoat = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); $var10 = $par2; $var11 = $par4; $var12 = $par6; var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = $var10; var$10.$y = $var11; var$10.$z = $var12; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = 180.0 - $par8; var$10 = nleg_EaglerAdapterGL30_deevis; var$10.$x = 0.0; var$10.$y = 1.0; var$10.$z = 0.0; var$10 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var10 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$10, var$10); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); var$10.$sb = var$11; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$10 = $par1EntityBoat.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[145]; if (var$12 === null) { var$11 = var$10.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { var$13 = var$12.$value0; var$14 = var$10.$elementData.data; var$11 = var$14[var$13 & (var$14.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$13) { var$10 = var$11.$key; if (var$12 !== var$10 && !(var$12 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } var$11 = var$11.$next3; } } var$10 = var$11 === null ? null : var$11.$value1; $var10 = var$10.$watchedObject.$value0 - $par9; var$10 = $par1EntityBoat.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[147]; if (var$11 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { var$15 = var$11.$value0; var$14 = var$10.$elementData.data; var$10 = var$14[var$15 & (var$14.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$15) { var$12 = var$10.$key; if (var$11 !== var$12 && !(var$11 === var$12 ? 1 : var$12 instanceof jl_Integer && var$12.$value0 == var$15 ? 1 : 0) ? 0 : 1) break; } var$10 = var$10.$next3; } } var$10 = var$10 === null ? null : var$10.$value1; $var11 = var$10.$watchedObject.$value3 - $par9; if ($var11 < 0.0) $var11 = 0.0; if ($var10 > 0.0) { $par8 = nms_MathHelper_SIN_TABLE.data[($var10 * 10430.3779296875 | 0) & 65535] * $var10 * $var11 / 10.0; $par1EntityBoat = $par1EntityBoat.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[146]; if (var$11 === null) { $par1EntityBoat = $par1EntityBoat.$elementData.data[0]; while ($par1EntityBoat !== null && $par1EntityBoat.$key !== null) { $par1EntityBoat = $par1EntityBoat.$next3; } } else { var$16 = var$11.$value0; var$14 = $par1EntityBoat.$elementData.data; $par1EntityBoat = var$14[var$16 & (var$14.length - 1 | 0)]; while ($par1EntityBoat !== null) { if ($par1EntityBoat.$origKeyHash == var$16) { var$10 = $par1EntityBoat.$key; if (var$11 !== var$10 && !(var$11 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == var$16 ? 1 : 0) ? 0 : 1) break; } $par1EntityBoat = $par1EntityBoat.$next3; } } $par1EntityBoat = $par1EntityBoat === null ? null : $par1EntityBoat.$value1; $par8 = $par8 * $par1EntityBoat.$watchedObject.$value0; $par1EntityBoat = nleg_EaglerAdapterGL30_deevis; $par1EntityBoat.$x = 1.0; $par1EntityBoat.$y = 0.0; $par1EntityBoat.$z = 0.0; $par1EntityBoat = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par8 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityBoat, $par1EntityBoat); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityBoat = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityBoat); $par1EntityBoat.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $par1EntityBoat.$sb = var$10; $par1EntityBoat.$buffer0 = $rt_createCharArray(32); $par1EntityBoat.$autoFlush = 0; $par1EntityBoat.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityBoat; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $par1EntityBoat = nleg_EaglerAdapterGL30_deevis; $par1EntityBoat.$x = 0.75; $par1EntityBoat.$y = 0.75; $par1EntityBoat.$z = 0.75; $par1EntityBoat = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityBoat, $par1EntityBoat); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityBoat = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityBoat); $par1EntityBoat.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $par1EntityBoat.$sb = var$10; $par1EntityBoat.$buffer0 = $rt_createCharArray(32); $par1EntityBoat.$autoFlush = 0; $par1EntityBoat.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityBoat; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityBoat = nleg_EaglerAdapterGL30_deevis; $par1EntityBoat.$x = 1.3333333730697632; $par1EntityBoat.$y = 1.3333333730697632; $par1EntityBoat.$z = 1.3333333730697632; $par1EntityBoat = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityBoat, $par1EntityBoat); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityBoat = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityBoat); $par1EntityBoat.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $par1EntityBoat.$sb = var$10; $par1EntityBoat.$buffer0 = $rt_createCharArray(32); $par1EntityBoat.$autoFlush = 0; $par1EntityBoat.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityBoat; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_RenderBoat_$callClinit(); $par1EntityBoat = nms_RenderBoat_boatTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityBoat); if ($rt_suspending()) { break main; } $par1EntityBoat = nleg_EaglerAdapterGL30_deevis; $par1EntityBoat.$x = (-1.0); $par1EntityBoat.$y = (-1.0); $par1EntityBoat.$z = 1.0; $par1EntityBoat = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityBoat, $par1EntityBoat); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityBoat = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($par1EntityBoat); $par1EntityBoat.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $par1EntityBoat.$sb = var$10; $par1EntityBoat.$buffer0 = $rt_createCharArray(32); $par1EntityBoat.$autoFlush = 0; $par1EntityBoat.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityBoat; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityBoat = $this.$modelBoat; var$13 = 0; while (var$13 < 5) { nms_ModelRenderer_render($par1EntityBoat.$boatSides.data[var$13], 0.0625); var$13 = var$13 + 1 | 0; } nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityBoat, $par2, $par4, $par6, $par8, $par9, $var10, $var11, $var12, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_RenderBoat_getEntityTexture = ($this, $par1Entity) => { nms_RenderBoat_$callClinit(); return nms_RenderBoat_boatTextures; }, nms_RenderBoat_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderBoat_renderBoat($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderBoat__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2409); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderBoat_boatTextures = var$1; }; function nms_EntityFishHook() { let a = this; nms_Entity.call(a); a.$xTile2 = 0; a.$yTile2 = 0; a.$zTile2 = 0; a.$inTile2 = 0; a.$inGround0 = 0; a.$shake = 0; a.$angler = null; a.$ticksInGround1 = 0; a.$ticksInAir2 = 0; a.$ticksCatchable = 0; a.$bobber = null; a.$fishPosRotationIncrements = 0; a.$fishX = 0.0; a.$fishY = 0.0; a.$fishZ = 0.0; a.$fishYaw = 0.0; a.$fishPitch = 0.0; a.$velocityX1 = 0.0; a.$velocityY1 = 0.0; a.$velocityZ1 = 0.0; } let nms_EntityFishHook__init_ = ($this, $par1World, $par2EntityPlayer) => { let var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$par2EntityPlayer = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity__init_($this, $par1World); $this.$xTile2 = (-1); $this.$yTile2 = (-1); $this.$zTile2 = (-1); $this.$ignoreFrustumCheck = 1; $this.$angler = $par2EntityPlayer; $par2EntityPlayer.$fishEntity = $this; var$3 = 0.25; $var3 = 0.25; $ptr = 1; case 1: nms_Entity_setSize($this, var$3, $var3); if ($rt_suspending()) { break main; } var$5 = $par2EntityPlayer.$posX; var$6 = $par2EntityPlayer.$posY + 1.62 - $par2EntityPlayer.$yOffset; var$7 = $par2EntityPlayer.$posZ; $var3 = $par2EntityPlayer.$rotationYaw; var$3 = $par2EntityPlayer.$rotationPitch; $this.$posX = var$5; $this.$prevPosX = var$5; $this.$lastTickPosX = var$5; var$6 = var$6 + $this.$yOffset; $this.$posY = var$6; $this.$prevPosY = var$6; $this.$lastTickPosY = var$6; $this.$posZ = var$7; $this.$prevPosZ = var$7; $this.$lastTickPosZ = var$7; $this.$rotationYaw = $var3; $this.$rotationPitch = var$3; nms_Entity_setPosition($this, var$5, var$6, var$7); var$6 = $this.$posX; $var3 = $this.$rotationYaw / 180.0 * 3.1415927410125732; var$8 = nms_MathHelper_SIN_TABLE.data; var$3 = $var3 * 10430.3779296875; var$6 = var$6 - var$8[(var$3 + 16384.0 | 0) & 65535] * 0.1599999964237213; $this.$posX = var$6; var$5 = $this.$posY - 0.10000000149011612; $this.$posY = var$5; var$7 = $this.$posZ - var$8[(var$3 | 0) & 65535] * 0.1599999964237213; $this.$posZ = var$7; nms_Entity_setPosition($this, var$6, var$5, var$7); $this.$yOffset = 0.0; var$9 = $this.$rotationYaw / 180.0 * 3.1415927410125732; var$8 = nms_MathHelper_SIN_TABLE.data; var$10 = var$9 * 10430.3779296875; var$11 = -var$8[(var$10 | 0) & 65535]; var$9 = $this.$rotationPitch / 180.0 * 3.1415927410125732 * 10430.3779296875; var$12 = (var$9 + 16384.0 | 0) & 65535; var$6 = var$11 * var$8[var$12] * 0.4000000059604645; $this.$motionX = var$6; var$5 = var$8[(var$10 + 16384.0 | 0) & 65535] * var$8[var$12] * 0.4000000059604645; $this.$motionZ = var$5; var$7 = -var$8[(var$9 | 0) & 65535] * 0.4000000059604645; $this.$motionY = var$7; nms_EntityFishHook_calculateVelocity($this, var$6, var$7, var$5, 1.5, 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2EntityPlayer, var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_EntityFishHook__init_0 = (var_0, var_1) => { let var_2 = new nms_EntityFishHook(); nms_EntityFishHook__init_(var_2, var_0, var_1); return var_2; }, nms_EntityFishHook_entityInit = $this => { return; }, nms_EntityFishHook_isInRangeToRenderDist = ($this, $par1) => { let var$2, $var3; var$2 = $this.$boundingBox; $var3 = (var$2.$maxX - var$2.$minX + var$2.$maxY - var$2.$minY + var$2.$maxZ - var$2.$minZ) / 3.0 * 4.0 * 64.0; return $par1 >= $var3 * $var3 ? 0 : 1; }, nms_EntityFishHook_calculateVelocity = ($this, $par1, $par3, $par5, $par7, $par8) => { let var$6, var$7, var$8, $var10; var$6 = jl_Math_sqrt($par1 * $par1 + $par3 * $par3 + $par5 * $par5); var$7 = $par1 / var$6; $par1 = $par3 / var$6; var$6 = $par5 / var$6; $par3 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.007499999832361937; var$8 = $par8; $par3 = var$7 + $par3 * var$8; $par5 = $par1 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.007499999832361937 * var$8; $par1 = var$6 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.007499999832361937 * var$8; var$6 = $par7; $par3 = $par3 * var$6; $par5 = $par5 * var$6; $par1 = $par1 * var$6; $this.$motionX = $par3; $this.$motionY = $par5; $this.$motionZ = $par1; $var10 = jl_Math_sqrt($par3 * $par3 + $par1 * $par1); $par7 = jl_Math_atan2($par3, $par1) * 180.0 / 3.141592653589793; $this.$rotationYaw = $par7; $this.$prevRotationYaw = $par7; $par7 = jl_Math_atan2($par5, $var10) * 180.0 / 3.141592653589793; $this.$rotationPitch = $par7; $this.$prevRotationPitch = $par7; $this.$ticksInGround1 = 0; }, nms_EntityFishHook_setPositionAndRotation2 = ($this, $par1, $par3, $par5, $par7, $par8, $par9) => { $this.$fishX = $par1; $this.$fishY = $par3; $this.$fishZ = $par5; $this.$fishYaw = $par7; $this.$fishPitch = $par8; $this.$fishPosRotationIncrements = $par9; $this.$motionX = $this.$velocityX1; $this.$motionY = $this.$velocityY1; $this.$motionZ = $this.$velocityZ1; }, nms_EntityFishHook_setVelocity = ($this, $par1, $par3, $par5) => { $this.$motionX = $par1; $this.$velocityX1 = $par1; $this.$motionY = $par3; $this.$velocityY1 = $par3; $this.$motionZ = $par5; $this.$velocityZ1 = $par5; }, nms_EntityFishHook_onUpdate = $this => { let $var19, $var6, $var27, $var13, $var21, $var22, $var23, $var7, $var30, $var25, $var20, $var2, $var8, $var18, $var26, var$16, $var4, var$18, var$19, $var3, $var9, $var16, $var14, var$24, $var12, $var5, $var28, $var24, $var31, $var17, $var29, var$32, var$33, $var15, var$35, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$35 = $thread.pop();$var15 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();$var29 = $thread.pop();$var17 = $thread.pop();$var31 = $thread.pop();$var24 = $thread.pop();$var28 = $thread.pop();$var5 = $thread.pop();$var12 = $thread.pop();var$24 = $thread.pop();$var14 = $thread.pop();$var16 = $thread.pop();$var9 = $thread.pop();$var3 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var4 = $thread.pop();var$16 = $thread.pop();$var26 = $thread.pop();$var18 = $thread.pop();$var8 = $thread.pop();$var2 = $thread.pop();$var20 = $thread.pop();$var25 = $thread.pop();$var30 = $thread.pop();$var7 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var13 = $thread.pop();$var27 = $thread.pop();$var6 = $thread.pop();$var19 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Entity_onEntityUpdate($this); if ($rt_suspending()) { break main; } $var19 = $this.$fishPosRotationIncrements; if ($var19 > 0) { $var6 = $this.$posX; $var27 = $this.$fishX - $var6; $var13 = $var19; $var21 = $var6 + $var27 / $var13; $var6 = $this.$posY; $var22 = $var6 + ($this.$fishY - $var6) / $var13; $var6 = $this.$posZ; $var23 = $var6 + ($this.$fishZ - $var6) / $var13; $var6 = $this.$fishYaw; $var27 = $this.$rotationYaw; $var7 = ($var6 - $var27) % 360.0; if ($var7 >= 180.0) $var7 = $var7 - 360.0; if ($var7 < (-180.0)) $var7 = $var7 + 360.0; $this.$rotationYaw = $var27 + $var7 / $var13; $var6 = $this.$rotationPitch; $this.$rotationPitch = $var6 + ($this.$fishPitch - $var6) / $var13; $this.$fishPosRotationIncrements = $var19 - 1 | 0; nms_Entity_setPosition($this, $var21, $var22, $var23); $var30 = $this.$rotationYaw; $var25 = $this.$rotationPitch; $this.$rotationYaw = $var30 % 360.0; $this.$rotationPitch = $var25 % 360.0; return; } a: { if (!$this.$worldObj.$isRemote) { $var20 = $this.$angler; $var2 = $var20.$inventory; $var8 = $var2.$currentItem; $var2 = $var8 < 9 && $var8 >= 0 ? $var2.$mainInventory.data[$var8] : null; $var19 = $var20.$isDead; if (!$var19) { b: { if (!$var19) { $var20 = $var20.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var18 = jl_Integer_integerCache.data[134]; if ($var18 === null) { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } else { $var26 = $var18.$value0; var$16 = $var20.$elementData.data; $var20 = var$16[$var26 & (var$16.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var26) { $var4 = $var20.$key; if ($var18 !== $var4 && !jl_Integer_equals($var18, $var4) ? 0 : 1) break; } $var20 = $var20.$next3; } } if (($var20 === null ? null : $var20.$value1).$watchedObject.$value3 > 0.0) { $var19 = 1; break b; } } $var19 = 0; } if ($var19 && $var2 !== null) { nms_Item_$callClinit(); if (nms_Item_itemsList.data[$var2.$itemID] === nms_Item_fishingRod) { $var20 = $this.$angler; $var6 = $this.$posX - $var20.$posX; $var27 = $this.$posY - $var20.$posY; $var13 = $this.$posZ - $var20.$posZ; if ($var6 * $var6 + $var27 * $var27 + $var13 * $var13 <= 1024.0) { $var20 = $this.$bobber; if ($var20 === null) break a; if (!$var20.$isDead) { $this.$posX = $var20.$posX; $this.$posY = $var20.$boundingBox.$minY + $var20.$height2 * 0.8; $this.$posZ = $var20.$posZ; return; } $this.$bobber = null; break a; } } } } $this.$isDead = 1; $var2 = $this.$angler; if ($var2 !== null) $var2.$fishEntity = null; $var2.$fishEntity = null; return; } } $var19 = $this.$shake; if ($var19 > 0) $this.$shake = $var19 - 1 | 0; if (!$this.$inGround0) $this.$ticksInAir2 = $this.$ticksInAir2 + 1 | 0; else { if (nms_World_getBlockId($this.$worldObj, $this.$xTile2, $this.$yTile2, $this.$zTile2) == $this.$inTile2) { $var19 = $this.$ticksInGround1 + 1 | 0; $this.$ticksInGround1 = $var19; if ($var19 == 1200) { $this.$isDead = 1; $var2 = $this.$angler; if ($var2 !== null) $var2.$fishEntity = null; } return; } $this.$inGround0 = 0; $var6 = $this.$motionX; $var20 = $this.$rand; var$18 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $this.$motionX = $var6 * Long_lo(Long_shru(var$18, 24)) / 1.6777216E7 * 0.20000000298023224; $var6 = $this.$motionY; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $this.$motionY = $var6 * Long_lo(Long_shru(var$18, 24)) / 1.6777216E7 * 0.20000000298023224; $var6 = $this.$motionZ; var$19 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $this.$motionZ = $var6 * Long_lo(Long_shru(var$19, 24)) / 1.6777216E7 * 0.20000000298023224; $this.$ticksInGround1 = 0; $this.$ticksInAir2 = 0; } $var20 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); $var4 = $this.$worldObj; $var19 = 0; $var8 = 0; $ptr = 2; case 2: $tmp = nms_World_rayTraceBlocks_do_do($var4, $var20, $var2, $var19, $var8); if ($rt_suspending()) { break main; } $var3 = $tmp; $var20 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX, $this.$posY, $this.$posZ); $var2 = nms_Vec3Pool_getVecFromPool($this.$worldObj.$vecPool, $this.$posX + $this.$motionX, $this.$posY + $this.$motionY, $this.$posZ + $this.$motionZ); if ($var3 !== null) { $var4 = $this.$worldObj.$vecPool; $var2 = $var3.$hitVec; $var2 = nms_Vec3Pool_getVecFromPool($var4, $var2.$xCoord, $var2.$yCoord, $var2.$zCoord); } $var4 = null; $var18 = $this.$worldObj; $var9 = nms_AxisAlignedBB_addCoord($this.$boundingBox, $this.$motionX, $this.$motionY, $this.$motionZ); $var16 = $var9.$minX - 1.0; $var14 = $var9.$minY - 1.0; $var21 = $var9.$minZ - 1.0; $var6 = $var9.$maxX + 1.0; $var27 = $var9.$maxY + 1.0; $var13 = $var9.$maxZ + 1.0; var$24 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var19 = var$24.$nextPoolIndex; $var9 = var$24.$listAABB; $var26 = $var9.$size0; $var8 = $rt_compare($var19, $var26); if ($var8 >= 0) { $var12 = new nms_AxisAlignedBB; $var12.$minX = $var16; $var12.$minY = $var14; $var12.$minZ = $var21; $var12.$maxX = $var6; $var12.$maxY = $var27; $var12.$maxZ = $var13; ju_ArrayList_ensureCapacity($var9, $var26 + 1 | 0); var$16 = $var9.$array.data; $var8 = $var9.$size0; $var9.$size0 = $var8 + 1 | 0; var$16[$var8] = $var12; $var9.$modCount = $var9.$modCount + 1 | 0; } else if ($var19 >= 0 && $var8 < 0) { $var12 = $var9.$array.data[$var19]; $var12.$minX = $var16; $var12.$minY = $var14; $var12.$minZ = $var21; $var12.$maxX = $var6; $var12.$maxY = $var27; $var12.$maxZ = $var13; } else { $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var20); $rt_throw($var20); } var$24.$nextPoolIndex = var$24.$nextPoolIndex + 1 | 0; $var5 = nms_World_getEntitiesWithinAABBExcludingEntity($var18, $this, $var12, null); $var6 = 0.0; $var8 = 0; c: { while (true) { $var19 = $rt_compare($var8, $var5.$size0); if ($var19 >= 0) { if ($var4 !== null) { $var3 = new nms_MovingObjectPosition; $var3.$typeOfHit = nms_EnumMovingObjectType_ENTITY; $var3.$entityHit = $var4; $var3.$hitVec = nms_Vec3Pool_getVecFromPool($var4.$worldObj.$vecPool, $var4.$posX, $var4.$posY, $var4.$posZ); } if ($var3 !== null) { $var20 = $var3.$entityHit; if ($var20 !== null) { $var2 = $this.$angler; $var4 = new nms_EntityDamageSourceIndirect; $var4.$hungerDamage = 0.30000001192092896; $var4.$damageType = $rt_s(2081); $var4.$damageSourceEntity = $this; $var4.$indirectEntity = $var2; $var4.$projectile = 1; $var30 = 0.0; $ptr = 4; continue main; } $this.$inGround0 = 1; } if ($this.$inGround0) return; $var6 = $this.$motionX; $var27 = $this.$motionY; $var13 = $this.$motionZ; $ptr = 3; continue main; } if ($var8 < 0) break; if ($var19 >= 0) break; $var9 = $var5.$array.data[$var8]; if ($var9.$canBeCollidedWith() && !($var9 === $this.$angler && $this.$ticksInAir2 < 5)) { $var18 = $var9.$boundingBox; $var13 = $var18.$minX - 0.30000001192092896; $var16 = $var18.$minY - 0.30000001192092896; $var14 = $var18.$minZ - 0.30000001192092896; $var21 = $var18.$maxX + 0.30000001192092896; $var22 = $var18.$maxY + 0.30000001192092896; $var27 = $var18.$maxZ + 0.30000001192092896; var$24 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var19 = var$24.$nextPoolIndex; $var18 = var$24.$listAABB; $var28 = $var18.$size0; $var26 = $rt_compare($var19, $var28); if ($var26 >= 0) { $var12 = new nms_AxisAlignedBB; $var12.$minX = $var13; $var12.$minY = $var16; $var12.$minZ = $var14; $var12.$maxX = $var21; $var12.$maxY = $var22; $var12.$maxZ = $var27; ju_ArrayList_ensureCapacity($var18, $var28 + 1 | 0); var$16 = $var18.$array.data; $var26 = $var18.$size0; $var18.$size0 = $var26 + 1 | 0; var$16[$var26] = $var12; $var18.$modCount = $var18.$modCount + 1 | 0; } else { if ($var19 < 0) break c; if ($var26 >= 0) break c; $var12 = $var18.$array.data[$var19]; $var12.$minX = $var13; $var12.$minY = $var16; $var12.$minZ = $var14; $var12.$maxX = $var21; $var12.$maxY = $var22; $var12.$maxZ = $var27; } var$24.$nextPoolIndex = var$24.$nextPoolIndex + 1 | 0; $var12 = nms_AxisAlignedBB_calculateIntercept($var12, $var20, $var2); if ($var12 !== null) { $var18 = $var12.$hitVec; $var27 = $var18.$xCoord - $var20.$xCoord; $var13 = $var18.$yCoord - $var20.$yCoord; $var16 = $var18.$zCoord - $var20.$zCoord; $var13 = jl_Math_sqrt($var27 * $var27 + $var13 * $var13 + $var16 * $var16); if (!($var13 >= $var6 && $var6 !== 0.0)) { $var4 = $var9; $var6 = $var13; } } } $var8 = $var8 + 1 | 0; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var20); $rt_throw($var20); case 3: nms_Entity_moveEntity($this, $var6, $var27, $var13); if ($rt_suspending()) { break main; } $var6 = $this.$motionX; $var6 = $var6 * $var6; $var27 = $this.$motionZ; $var24 = jl_Math_sqrt($var6 + $var27 * $var27); $this.$rotationYaw = jl_Math_atan2($this.$motionX, $this.$motionZ) * 180.0 / 3.141592653589793; $var30 = jl_Math_atan2($this.$motionY, $var24) * 180.0 / 3.141592653589793; $this.$rotationPitch = $var30; while (true) { $var25 = $this.$prevRotationPitch; if ($var30 - $var25 >= (-180.0)) break; $this.$prevRotationPitch = $var25 - 360.0; } while (true) { $var25 = $this.$prevRotationPitch; $var31 = $var30 - $var25; if ($var31 < 180.0) break; $this.$prevRotationPitch = $var25 + 360.0; } while (true) { $var30 = $this.$rotationYaw; $var17 = $this.$prevRotationYaw; if ($var30 - $var17 >= (-180.0)) break; $this.$prevRotationYaw = $var17 - 360.0; } while (true) { $var17 = $this.$prevRotationYaw; $var24 = $var30 - $var17; if ($var24 < 180.0) break; $this.$prevRotationYaw = $var17 + 360.0; } $this.$rotationPitch = $var25 + $var31 * 0.20000000298023224; $this.$rotationYaw = $var17 + $var24 * 0.20000000298023224; $var25 = 0.9200000166893005; if (!(!$this.$onGround && !$this.$isCollidedHorizontally)) $var25 = 0.5; $var27 = 0.0; $var28 = 0; while (true) { if ($var28 >= 5) { d: { $var19 = $rt_compare($var27, 0.0); if ($var19 > 0) { $var8 = $this.$ticksCatchable; if ($var8 > 0) $this.$ticksCatchable = $var8 - 1 | 0; else { $var29 = 500; $var20 = $this.$worldObj; $var6 = $this.$posX; var$32 = $var6 | 0; if ($var6 < var$32) var$32 = var$32 - 1 | 0; $var6 = $this.$posY; $var26 = $var6 | 0; if ($var6 < $var26) $var26 = $var26 - 1 | 0; $var8 = $var26 + 1 | 0; $var6 = $this.$posZ; var$33 = $var6 | 0; if ($var6 < var$33) var$33 = var$33 - 1 | 0; $var31 = $var20.$prevRainingStrength; if (!($var31 + ($var20.$rainingStrength - $var31) * 1.0 <= 0.2 ? 0 : 1)) $var8 = 0; else { $var28 = var$32 >> 4; $var26 = var$33 >> 4; $var4 = $var20.$chunkProvider; $var2 = $var4.$chunkMapping; var$19 = Long_or(Long_and(Long_fromInt($var28), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var26), Long_create(4294967295, 0)), 32)); $var26 = Long_lo(Long_xor(var$19, Long_shru(var$19, 32))); $var26 = $var26 ^ ($var26 >>> 20 | 0) ^ ($var26 >>> 12 | 0); $var15 = $var26 ^ ($var26 >>> 7 | 0) ^ ($var26 >>> 4 | 0); var$16 = $var2.$hashArray.data; $var2 = var$16[$var15 & (var$16.length - 1 | 0)]; e: { while ($var2 !== null) { if (Long_eq($var2.$key1, var$19)) { $var2 = $var2.$value6; break e; } $var2 = $var2.$nextEntry0; } $var2 = null; } $var2 = $var2; if ($var2 === null) $var2 = $var4.$blankChunk; $var26 = var$32 & 15; $var28 = var$33 & 15; if (!$var2.$canBlockSeeTheSky($var26, $var8, $var28)) $var8 = 0; else { $var2 = $var20.$chunkProvider; var$16 = $var2.$chunkMapping.$hashArray.data; $var4 = var$16[$var15 & (var$16.length - 1 | 0)]; f: { while ($var4 !== null) { if (Long_eq($var4.$key1, var$19)) { $var4 = $var4.$value6; break f; } $var4 = $var4.$nextEntry0; } $var4 = null; } $var4 = $var4; if ($var4 === null) $var4 = $var2.$blankChunk; if (nms_Chunk_getPrecipitationHeight($var4, $var26, $var28) > $var8) $var8 = 0; else { $var2 = $var20.$chunkProvider; var$16 = $var2.$chunkMapping.$hashArray.data; $var4 = var$16[$var15 & (var$16.length - 1 | 0)]; g: { while ($var4 !== null) { if (Long_eq($var4.$key1, var$19)) { $var4 = $var4.$value6; break g; } $var4 = $var4.$nextEntry0; } $var4 = null; } $var4 = $var4; if ($var4 === null) $var4 = $var2.$blankChunk; $var20 = $var4 === null ? $var20.$provider.$worldChunkMgr.$getBiomeGenAt(var$32, var$33) : nms_Chunk_getBiomeGenForWorldCoords($var4, $var26, $var28, $var20.$provider.$worldChunkMgr); $var8 = $var20.$enableSnow; $var8 = $var8 ? 0 : !$var8 ? $var20.$enableRain : 0; } } } if ($var8) $var29 = 300; $var20 = $this.$rand; var$19 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $var15 = Long_lo(Long_shru(var$19, 17)); $var8 = $var29 - 1 | 0; if (!($var29 & $var8)) $var28 = Long_lo(Long_shr(Long_mul(Long_fromInt($var29), Long_fromInt($var15)), 31)); else while (true) { $var28 = $var15 % $var29 | 0; if ((($var15 - $var28 | 0) + $var8 | 0) >= 0) break; var$19 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $var15 = Long_lo(Long_shru(var$19, 17)); } if (!$var28) { var$19 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $var29 = Long_lo(Long_shru(var$19, 17)); while (true) { $var15 = $var29 % 30 | 0; if ((($var29 - $var15 | 0) + 29 | 0) >= 0) break; var$19 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $var29 = Long_lo(Long_shru(var$19, 17)); } $this.$ticksCatchable = $var15 + 10 | 0; $this.$motionY = $this.$motionY - 0.20000000298023224; var$18 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var26 = 24; var$35 = Long_lo(Long_shru(var$18, $var26)) / 1.6777216E7; var$19 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $var31 = 1.0 + (var$35 - Long_lo(Long_shru(var$19, $var26)) / 1.6777216E7) * 0.4000000059604645; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2410), 0.25, $var31); $var6 = $this.$boundingBox.$minY; $var28 = $var6 | 0; if ($var6 < $var28) $var28 = $var28 - 1 | 0; $var30 = $var28; $var15 = 0; $var22 = $var30 + 1.0; h: { while (true) { $var30 = $var15; $var17 = $this.$width1; if ($var30 >= 1.0 + $var17 * 20.0) break h; $var20 = $this.$rand; var$18 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var31 = (Long_lo(Long_shru(var$18, $var26)) / 1.6777216E7 * 2.0 - 1.0) * $var17; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var17 = (Long_lo(Long_shru(var$18, $var26)) / 1.6777216E7 * 2.0 - 1.0) * $var17; $var2 = $this.$worldObj; $var4 = $rt_s(1242); $var6 = $this.$posX + $var31; $var13 = $this.$posZ + $var17; $var16 = $this.$motionX; $var14 = $this.$motionY; var$19 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $var14 = $var14 - Long_lo(Long_shru(var$19, $var26)) / 1.6777216E7 * 0.20000000298023224; $var21 = $this.$motionZ; $var8 = 0; $var20 = $var2.$worldAccesses; $var28 = $rt_compare($var8, $var20.$size0); if ($var28 < 0) break; $var15 = $var15 + 1 | 0; } if ($var8 >= 0 && $var28 < 0) { $var20 = $var20.$array.data[$var8]; $ptr = 5; continue main; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var8 = 0; while (true) { $var30 = $var8; $var17 = $this.$width1; if ($var30 >= 1.0 + $var17 * 20.0) break d; $var20 = $this.$rand; var$18 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var31 = (Long_lo(Long_shru(var$18, $var26)) / 1.6777216E7 * 2.0 - 1.0) * $var17; var$19 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $var17 = (Long_lo(Long_shru(var$19, $var26)) / 1.6777216E7 * 2.0 - 1.0) * $var17; $var20 = $this.$worldObj; $var2 = $rt_s(1241); $var6 = $this.$posX + $var31; $var13 = $this.$posZ + $var17; $var16 = $this.$motionX; $var14 = $this.$motionY; $var21 = $this.$motionZ; $var28 = 0; $var4 = $var20.$worldAccesses; $var29 = $rt_compare($var28, $var4.$size0); if ($var29 < 0) { if ($var28 >= 0 && $var29 < 0) { $var4 = $var4.$array.data[$var28]; $ptr = 6; continue main; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var8 = $var8 + 1 | 0; } } } } } if ($this.$ticksCatchable > 0) { $var6 = $this.$motionY; $var20 = $this.$rand; var$18 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var17 = Long_lo(Long_shru(var$18, 24)) / 1.6777216E7; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var30 = $var17 * Long_lo(Long_shru(var$18, 24)) / 1.6777216E7; var$19 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $this.$motionY = $var6 - $var30 * Long_lo(Long_shru(var$19, 24)) / 1.6777216E7 * 0.2; } $var13 = $var27 * 2.0 - 1.0; $var6 = $this.$motionY + 0.03999999910593033 * $var13; $this.$motionY = $var6; if ($var19 > 0) { $var25 = $var25 * 0.9; $this.$motionY = $var6 * 0.8; } $var6 = $this.$motionX; $var27 = $var25; $this.$motionX = $var6 * $var27; $this.$motionY = $this.$motionY * $var27; $this.$motionZ = $this.$motionZ * $var27; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; } $var20 = $this.$boundingBox; $var6 = $var20.$minY; $var16 = $var20.$maxY - $var6; $var14 = $var6 + $var16 * ($var28 + 0 | 0) / 5.0 - 0.125 + 0.125; $var28 = $var28 + 1 | 0; $var16 = $var6 + $var16 * $var28 / 5.0 - 0.125 + 0.125; $var2 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var20 = $this.$boundingBox; $var6 = $var20.$minX; $var21 = $var20.$minZ; $var22 = $var20.$maxX; $var23 = $var20.$maxZ; $var19 = $var2.$nextPoolIndex; $var20 = $var2.$listAABB; $var29 = $var20.$size0; $var8 = $rt_compare($var19, $var29); if ($var8 >= 0) { $var18 = new nms_AxisAlignedBB; $var18.$minX = $var6; $var18.$minY = $var14; $var18.$minZ = $var21; $var18.$maxX = $var22; $var18.$maxY = $var16; $var18.$maxZ = $var23; ju_ArrayList_ensureCapacity($var20, $var29 + 1 | 0); var$16 = $var20.$array.data; $var8 = $var20.$size0; $var20.$size0 = $var8 + 1 | 0; var$16[$var8] = $var18; $var20.$modCount = $var20.$modCount + 1 | 0; } else { if ($var19 < 0) break; if ($var8 >= 0) break; $var18 = $var20.$array.data[$var19]; $var18.$minX = $var6; $var18.$minY = $var14; $var18.$minZ = $var21; $var18.$maxX = $var22; $var18.$maxY = $var16; $var18.$maxZ = $var23; } $var2.$nextPoolIndex = $var2.$nextPoolIndex + 1 | 0; $var20 = $this.$worldObj; nms_Material_$callClinit(); if (nms_World_isAABBInMaterial($var20, $var18, nms_Material_water)) $var27 = $var27 + 0.2; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); case 4: $tmp = $var20.$attackEntityFrom($var4, $var30); if ($rt_suspending()) { break main; } $var19 = $tmp; if ($var19) $this.$bobber = $var3.$entityHit; if ($this.$inGround0) return; $var6 = $this.$motionX; $var27 = $this.$motionY; $var13 = $this.$motionZ; $ptr = 3; continue main; case 5: nms_RenderGlobal_doSpawnParticle($var20, $var4, $var6, $var22, $var13, $var16, $var14, $var21); if ($rt_suspending()) { break main; } $var8 = $var8 + 1 | 0; while (true) { $var20 = $var2.$worldAccesses; $var28 = $rt_compare($var8, $var20.$size0); if ($var28 < 0) break; $var15 = $var15 + 1 | 0; $var30 = $var15; $var17 = $this.$width1; if ($var30 >= 1.0 + $var17 * 20.0) { $var8 = 0; while (true) { $var30 = $var8; $var17 = $this.$width1; if ($var30 >= 1.0 + $var17 * 20.0) break; $var20 = $this.$rand; var$18 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var31 = (Long_lo(Long_shru(var$18, $var26)) / 1.6777216E7 * 2.0 - 1.0) * $var17; var$19 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $var17 = (Long_lo(Long_shru(var$19, $var26)) / 1.6777216E7 * 2.0 - 1.0) * $var17; $var20 = $this.$worldObj; $var2 = $rt_s(1241); $var6 = $this.$posX + $var31; $var13 = $this.$posZ + $var17; $var16 = $this.$motionX; $var14 = $this.$motionY; $var21 = $this.$motionZ; $var28 = 0; $var4 = $var20.$worldAccesses; $var29 = $rt_compare($var28, $var4.$size0); if ($var29 < 0) { if ($var28 >= 0 && $var29 < 0) { $var4 = $var4.$array.data[$var28]; $ptr = 6; continue main; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var8 = $var8 + 1 | 0; } if ($this.$ticksCatchable > 0) { $var6 = $this.$motionY; $var20 = $this.$rand; var$18 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var17 = Long_lo(Long_shru(var$18, 24)) / 1.6777216E7; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var30 = $var17 * Long_lo(Long_shru(var$18, 24)) / 1.6777216E7; var$19 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $this.$motionY = $var6 - $var30 * Long_lo(Long_shru(var$19, 24)) / 1.6777216E7 * 0.2; } $var13 = $var27 * 2.0 - 1.0; $var6 = $this.$motionY + 0.03999999910593033 * $var13; $this.$motionY = $var6; if ($var19 > 0) { $var25 = $var25 * 0.9; $this.$motionY = $var6 * 0.8; } $var6 = $this.$motionX; $var27 = $var25; $this.$motionX = $var6 * $var27; $this.$motionY = $this.$motionY * $var27; $this.$motionZ = $this.$motionZ * $var27; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; } $var20 = $this.$rand; var$18 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var31 = (Long_lo(Long_shru(var$18, $var26)) / 1.6777216E7 * 2.0 - 1.0) * $var17; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var17 = (Long_lo(Long_shru(var$18, $var26)) / 1.6777216E7 * 2.0 - 1.0) * $var17; $var2 = $this.$worldObj; $var4 = $rt_s(1242); $var6 = $this.$posX + $var31; $var13 = $this.$posZ + $var17; $var16 = $this.$motionX; $var14 = $this.$motionY; var$19 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $var14 = $var14 - Long_lo(Long_shru(var$19, $var26)) / 1.6777216E7 * 0.20000000298023224; $var21 = $this.$motionZ; $var8 = 0; } if ($var8 >= 0 && $var28 < 0) { $var20 = $var20.$array.data[$var8]; continue main; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); case 6: nms_RenderGlobal_doSpawnParticle($var4, $var2, $var6, $var22, $var13, $var16, $var14, $var21); if ($rt_suspending()) { break main; } $var28 = $var28 + 1 | 0; while (true) { $var4 = $var20.$worldAccesses; $var29 = $rt_compare($var28, $var4.$size0); if ($var29 < 0) { if ($var28 >= 0 && $var29 < 0) { $var4 = $var4.$array.data[$var28]; continue main; } $var20 = new jl_IndexOutOfBoundsException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var8 = $var8 + 1 | 0; $var30 = $var8; $var17 = $this.$width1; if ($var30 >= 1.0 + $var17 * 20.0) break; $var20 = $this.$rand; var$18 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var31 = (Long_lo(Long_shru(var$18, $var26)) / 1.6777216E7 * 2.0 - 1.0) * $var17; var$19 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $var17 = (Long_lo(Long_shru(var$19, $var26)) / 1.6777216E7 * 2.0 - 1.0) * $var17; $var20 = $this.$worldObj; $var2 = $rt_s(1241); $var6 = $this.$posX + $var31; $var13 = $this.$posZ + $var17; $var16 = $this.$motionX; $var14 = $this.$motionY; $var21 = $this.$motionZ; $var28 = 0; } if ($this.$ticksCatchable > 0) { $var6 = $this.$motionY; $var20 = $this.$rand; var$18 = Long_and(Long_add(Long_mul($var20.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var17 = Long_lo(Long_shru(var$18, 24)) / 1.6777216E7; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$18; $var30 = $var17 * Long_lo(Long_shru(var$18, 24)) / 1.6777216E7; var$19 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var20.$seed = var$19; $this.$motionY = $var6 - $var30 * Long_lo(Long_shru(var$19, 24)) / 1.6777216E7 * 0.2; } $var13 = $var27 * 2.0 - 1.0; $var6 = $this.$motionY + 0.03999999910593033 * $var13; $this.$motionY = $var6; if ($var19 > 0) { $var25 = $var25 * 0.9; $this.$motionY = $var6 * 0.8; } $var6 = $this.$motionX; $var27 = $var25; $this.$motionX = $var6 * $var27; $this.$motionY = $this.$motionY * $var27; $this.$motionZ = $this.$motionZ * $var27; nms_Entity_setPosition($this, $this.$posX, $this.$posY, $this.$posZ); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var19, $var6, $var27, $var13, $var21, $var22, $var23, $var7, $var30, $var25, $var20, $var2, $var8, $var18, $var26, var$16, $var4, var$18, var$19, $var3, $var9, $var16, $var14, var$24, $var12, $var5, $var28, $var24, $var31, $var17, $var29, var$32, var$33, $var15, var$35, $ptr); }, nms_EntityFishHook_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4; var$2 = $this.$xTile2 << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(2069); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2069), var$4); var$2 = $this.$yTile2 << 16 >> 16; var$4 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(2070); var$3.$data2 = var$2; ju_HashMap_putImpl(var$4, $rt_s(2070), var$3); var$2 = $this.$zTile2 << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(2071); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(2071), var$4); var$2 = $this.$inTile2 << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2072); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2072), var$4); var$2 = $this.$shake << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(2074); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(2074), var$4); var$2 = (!$this.$inGround0 ? 0 : 1) << 24 >> 24; var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(2075); $par1NBTTagCompound.$data = var$2; ju_HashMap_putImpl(var$4, $rt_s(2075), $par1NBTTagCompound); }, nms_EntityFishHook_getShadowSize = $this => { return 0.0; }, nms_EntityFishHook_catchFish = $this => { let var$1, $var1, var$3, $var2, $var4, $var6, $var8, $var13, $var3, $var5, $var7, var$12, var$13, var$14, var$15, var$16, $var9, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var9 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var13 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj; if (var$1.$isRemote) return 0; $var1 = 0; if ($this.$bobber !== null) { var$3 = $this.$angler; $var2 = var$3.$posX - $this.$posX; $var4 = var$3.$posY - $this.$posY; $var6 = var$3.$posZ - $this.$posZ; $var8 = jl_Math_sqrt($var2 * $var2 + $var4 * $var4 + $var6 * $var6); var$3 = $this.$bobber; var$3.$motionX = var$3.$motionX + $var2 * 0.1; var$3.$motionY = var$3.$motionY + $var4 * 0.1 + jl_Math_sqrt($var8) * 0.08; var$3 = $this.$bobber; var$3.$motionZ = var$3.$motionZ + $var6 * 0.1; $var1 = 3; } else if ($this.$ticksCatchable > 0) { $var13 = new nms_EntityItem; $var3 = $this.$posX; $var5 = $this.$posY; $var7 = $this.$posZ; var$3 = new nms_ItemStack; nms_Item_$callClinit(); var$12 = nms_Item_fishRaw; nms_ItemStack_$callClinit(); var$3.$itemID = var$12.$itemID0; var$3.$stackSize = 1; var$3.$itemDamage = 0; $ptr = 1; continue main; } if ($this.$inGround0) $var1 = 2; $this.$isDead = 1; var$12 = $this.$angler; if (var$12 !== null) var$12.$fishEntity = null; var$12.$fishEntity = null; return $var1; case 1: nms_EntityItem__init_($var13, var$1, $var3, $var5, $var7); if ($rt_suspending()) { break main; } var$1 = $var13.$dataWatcher; var$12 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[138]; if (var$13 === null) { var$12 = var$12.$elementData.data[0]; while (var$12 !== null && var$12.$key !== null) { var$12 = var$12.$next3; } } else { var$14 = var$13.$value0; var$15 = var$12.$elementData.data; var$12 = var$15[var$14 & (var$15.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$14) { var$16 = var$12.$key; if (var$13 !== var$16 && !jl_Integer_equals(var$13, var$16) ? 0 : 1) break; } var$12 = var$12.$next3; } } var$12 = var$12 === null ? null : var$12.$value1; if (!(var$3 !== var$12.$watchedObject ? 0 : 1)) { var$12.$watchedObject = var$3; var$12.$watched = 1; var$1.$objectChanged = 1; } var$12 = $var13.$dataWatcher; var$3 = var$12.$watchedObjects; jl_Integer_ensureIntegerCache(); var$16 = jl_Integer_integerCache.data[138]; if (var$16 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$14 = var$16.$value0; var$15 = var$3.$elementData.data; var$3 = var$15[var$14 & (var$15.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$14) { var$1 = var$3.$key; if (var$16 !== var$1 && !jl_Integer_equals(var$16, var$1) ? 0 : 1) break; } var$3 = var$3.$next3; } } (var$3 === null ? null : var$3.$value1).$watched = 1; var$12.$objectChanged = 1; var$3 = $this.$angler; $var3 = var$3.$posX - $this.$posX; $var5 = var$3.$posY - $this.$posY; $var7 = var$3.$posZ - $this.$posZ; $var9 = jl_Math_sqrt($var3 * $var3 + $var5 * $var5 + $var7 * $var7); $var13.$motionX = $var3 * 0.1; $var13.$motionY = $var5 * 0.1 + jl_Math_sqrt($var9) * 0.08; $var13.$motionZ = $var7 * 0.1; var$3 = $this.$worldObj; $var1 = nms_World_spawnEntityInWorld(var$3, $var13); var$12 = var$3.$entityList; ju_HashMap_putImpl(var$12.$backingMap, $var13, var$12); if (!$var1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, $var13, var$3); } var$3 = $this.$angler; nms_StatList_$callClinit(); var$3.$addStat(nms_StatList_fishCaughtStat, 1); var$3 = $this.$angler; var$12 = var$3.$worldObj; var$1 = new nms_EntityXPOrb; $var5 = var$3.$posX; $var3 = var$3.$posY + 0.5; $var7 = var$3.$posZ + 0.5; var$3 = $this.$rand; var$18 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$18; var$14 = Long_lo(Long_shru(var$18, 17)); while (true) { var$19 = var$14 % 6 | 0; if (((var$14 - var$19 | 0) + 5 | 0) >= 0) break; var$18 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$18; var$14 = Long_lo(Long_shru(var$18, 17)); } $var1 = var$19 + 1 | 0; $ptr = 2; case 2: nms_EntityXPOrb__init_(var$1, var$12, $var5, $var3, $var7, $var1); if ($rt_suspending()) { break main; } $var1 = nms_World_spawnEntityInWorld(var$12, var$1); var$3 = var$12.$entityList; ju_HashMap_putImpl(var$3.$backingMap, var$1, var$3); if (!$var1) { var$3 = var$12.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$1, var$3); } $var1 = 1; if ($this.$inGround0) $var1 = 2; $this.$isDead = 1; var$12 = $this.$angler; if (var$12 !== null) var$12.$fishEntity = null; var$12.$fishEntity = null; return $var1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, var$3, $var2, $var4, $var6, $var8, $var13, $var3, $var5, $var7, var$12, var$13, var$14, var$15, var$16, $var9, var$18, var$19, $ptr); }, nms_EntityFishHook_setDead = $this => { let var$1; $this.$isDead = 1; var$1 = $this.$angler; if (var$1 !== null) var$1.$fishEntity = null; }, nms_RenderFish = $rt_classWithoutFields(nms_Render), nms_RenderFish_field_110792_a = null, nms_RenderFish_$callClinit = () => { nms_RenderFish_$callClinit = $rt_eraseClinit(nms_RenderFish); nms_RenderFish__clinit_(); }, nms_RenderFish__init_ = $this => { let var$1; nms_RenderFish_$callClinit(); nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; }, nms_RenderFish__init_0 = () => { let var_0 = new nms_RenderFish(); nms_RenderFish__init_(var_0); return var_0; }, nms_RenderFish_doRenderFishHook = ($this, $par1EntityFishHook, $par2, $par4, $par6, $par8, $par9) => { let $var31, $var21, $var22, $var10, var$11, var$12, $var27, $var29, $var25, $var35, $var23, $var46, $var34, $var32, $var33, $var37, $var39, $var41, $var44, $var45, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var45 = $thread.pop();$var44 = $thread.pop();$var41 = $thread.pop();$var39 = $thread.pop();$var37 = $thread.pop();$var33 = $thread.pop();$var32 = $thread.pop();$var34 = $thread.pop();$var46 = $thread.pop();$var23 = $thread.pop();$var35 = $thread.pop();$var25 = $thread.pop();$var29 = $thread.pop();$var27 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var31 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1EntityFishHook = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); $par8 = $par2; $var31 = $par4; $var21 = $par6; $var22 = nleg_EaglerAdapterGL30_deevis; $var22.$x = $par8; $var22.$y = $var31; $var22.$z = $var21; $var22 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var22, $var22); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var22 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_($var22); $var22.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); $var22.$sb = $var10; $var22.$buffer0 = $rt_createCharArray(32); $var22.$autoFlush = 0; $var22.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var22; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(32826); $var22 = nleg_EaglerAdapterGL30_deevis; $var22.$x = 0.5; $var22.$y = 0.5; $var22.$z = 0.5; $var22 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var22, $var22); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; $var22 = new ji_ByteArrayOutputStream; $var22.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = $var22; $var22 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var22, 16); $var10.$sb = $var22; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_RenderFish_$callClinit(); $var22 = nms_RenderFish_field_110792_a; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var22); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var10 = nlea_Tessellator_instance; $var31 = 180.0 - $this.$renderManager.$playerViewY; $var22 = nleg_EaglerAdapterGL30_deevis; $var22.$x = 0.0; $var22.$y = 1.0; $var22.$z = 0.0; $var22 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var31 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var22, $var22); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var22 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_($var22); $var22.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); $var22.$sb = var$11; $var22.$buffer0 = $rt_createCharArray(32); $var22.$autoFlush = 0; $var22.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var22; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par8 = -$this.$renderManager.$playerViewX; $var22 = nleg_EaglerAdapterGL30_deevis; $var22.$x = 1.0; $var22.$y = 0.0; $var22.$z = 0.0; $var22 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par8 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var22, $var22); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var22 = new otcic_JSStderrPrintStream; var$11 = new ji_ByteArrayOutputStream; var$11.$buf = $rt_createByteArray(32); jl_Object__init_($var22); $var22.$out0 = var$11; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$11, 16); $var22.$sb = var$11; $var22.$buffer0 = $rt_createCharArray(32); $var22.$autoFlush = 0; $var22.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var22; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($var10.$isDrawing) nlea_Tessellator_draw($var10); $var10.$isDrawing = 1; $var10.$vertexCount = 0; $var10.$rawBufferIndex = 0; $var10.$addedVertices = 0; $var10.$drawMode = 7; $var10.$hasNormals = 0; $var10.$hasColor = 0; $var10.$hasTexture = 0; $var10.$hasBrightness = 0; $var10.$isColorDisabled = 0; nlea_Tessellator_setNormal($var10, 0.0, 1.0, 0.0); $var10.$hasTexture = 1; $var10.$textureU = 0.0625; $var10.$textureV = 0.1875; nlea_Tessellator_addVertex($var10, (-0.5), (-0.5), 0.0); $var10.$hasTexture = 1; $var10.$textureU = 0.125; $var10.$textureV = 0.1875; nlea_Tessellator_addVertex($var10, 0.5, (-0.5), 0.0); $var10.$hasTexture = 1; $var10.$textureU = 0.125; $var10.$textureV = 0.125; nlea_Tessellator_addVertex($var10, 0.5, 0.5, 0.0); $var10.$hasTexture = 1; $var10.$textureU = 0.0625; $var10.$textureV = 0.125; nlea_Tessellator_addVertex($var10, (-0.5), 0.5, 0.0); nlea_Tessellator_draw($var10); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); $var22 = $par1EntityFishHook.$angler; if ($var22 !== null) { $par8 = $var22.$swingProgress; $var31 = $var22.$prevSwingProgress; $par8 = $par8 - $var31; if ($par8 < 0.0) $par8 = $par8 + 1.0; $par8 = jl_Math_sqrt($var31 + $par8 * $par9) * 3.1415927410125732; $var21 = nms_MathHelper_SIN_TABLE.data[($par8 * 10430.3779296875 | 0) & 65535]; $var22 = nms_Vec3Pool_getVecFromPool($par1EntityFishHook.$worldObj.$vecPool, (-0.5), 0.03, 0.8); var$11 = $par1EntityFishHook.$angler; $par8 = var$11.$prevRotationPitch; $var31 = -($par8 + (var$11.$rotationPitch - $par8) * $par9) * 3.1415927410125732 / 180.0; var$12 = nms_MathHelper_SIN_TABLE.data; $par8 = $var31 * 10430.3779296875; $var31 = var$12[($par8 + 16384.0 | 0) & 65535]; $par8 = var$12[($par8 | 0) & 65535]; $var27 = $var22.$xCoord; $var29 = $var22.$yCoord; $var25 = $var31; $var35 = $var29 * $var25; $var23 = $var22.$zCoord; $var46 = $par8; $var34 = $var35 + $var23 * $var46; $var32 = $var23 * $var25 - $var29 * $var46; $var22.$xCoord = $var27; $var22.$yCoord = $var34; $var22.$zCoord = $var32; $par8 = var$11.$prevRotationYaw; $par8 = -($par8 + (var$11.$rotationYaw - $par8) * $par9) * 3.1415927410125732 / 180.0 * 10430.3779296875; $var31 = var$12[($par8 + 16384.0 | 0) & 65535]; $par8 = var$12[($par8 | 0) & 65535]; $var29 = $var31; $var25 = $var27 * $var29; $var35 = $par8; $var46 = $var25 + $var32 * $var35; $var32 = $var32 * $var29 - $var27 * $var35; $var22.$xCoord = $var46; $var22.$yCoord = $var34; $var22.$zCoord = $var32; $par8 = $var21 * 0.5 * 10430.3779296875; $var31 = var$12[($par8 + 16384.0 | 0) & 65535]; $par8 = var$12[($par8 | 0) & 65535]; $var29 = $var31; $var25 = $var46 * $var29; $var35 = $par8; $var27 = $var25 + $var32 * $var35; $var46 = $var32 * $var29 - $var46 * $var35; $var22.$xCoord = $var27; $var22.$yCoord = $var34; $var22.$zCoord = $var46; $par8 = -$var21 * 0.699999988079071 * 10430.3779296875; $var31 = var$12[($par8 + 16384.0 | 0) & 65535]; $par8 = var$12[($par8 | 0) & 65535]; $var29 = $var31; $var25 = $var34 * $var29; $var35 = $par8; $var25 = $var25 + $var46 * $var35; $var29 = $var46 * $var29 - $var34 * $var35; $var22.$xCoord = $var27; $var22.$yCoord = $var25; $var22.$zCoord = $var29; $var23 = var$11.$prevPosX; $var46 = var$11.$posX - $var23; $var35 = $par9; $var23 = $var23 + $var46 * $var35 + $var27; $var27 = var$11.$prevPosY; $var25 = $var27 + (var$11.$posY - $var27) * $var35 + $var25; $var27 = var$11.$prevPosZ; $var27 = $var27 + (var$11.$posZ - $var27) * $var35 + $var29; $var29 = var$11 === nms_Minecraft_theMinecraft.$thePlayer ? 0.0 : var$11.$getEyeHeight(); if (!($this.$renderManager.$options2.$thirdPersonView <= 0 && $par1EntityFishHook.$angler === nms_Minecraft_theMinecraft.$thePlayer)) { $var22 = $par1EntityFishHook.$angler; $par8 = $var22.$prevRenderYawOffset; $var31 = ($par8 + ($var22.$renderYawOffset - $par8) * $par9) * 3.1415927410125732 / 180.0; var$12 = nms_MathHelper_SIN_TABLE.data; $par9 = $var31 * 10430.3779296875; $var32 = var$12[($par9 | 0) & 65535]; $var34 = var$12[($par9 + 16384.0 | 0) & 65535]; $var25 = $var22.$prevPosX; $var23 = $var25 + ($var22.$posX - $var25) * $var35 - $var34 * 0.35 - $var32 * 0.85; $var25 = $var22.$prevPosY; $var25 = $var25 + $var29 + ($var22.$posY - $var25) * $var35 - 0.45; $var29 = $var22.$prevPosZ; $var27 = $var29 + ($var22.$posZ - $var29) * $var35 - $var32 * 0.35 + $var34 * 0.85; } $var29 = $par1EntityFishHook.$prevPosX; $var46 = $var29 + ($par1EntityFishHook.$posX - $var29) * $var35; $var29 = $par1EntityFishHook.$prevPosY; $var33 = $var29 + ($par1EntityFishHook.$posY - $var29) * $var35 + 0.25; $var29 = $par1EntityFishHook.$prevPosZ; $var35 = $var29 + ($par1EntityFishHook.$posZ - $var29) * $var35; $var37 = $var23 - $var46; $var39 = $var25 - $var33; $var41 = $var27 - $var35; nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glDisable(2896); if ($var10.$isDrawing) nlea_Tessellator_draw($var10); $var10.$isDrawing = 1; $var10.$vertexCount = 0; $var10.$rawBufferIndex = 0; $var10.$addedVertices = 0; $var10.$drawMode = 3; $var10.$hasNormals = 0; $var10.$hasColor = 0; $var10.$hasTexture = 0; $var10.$hasBrightness = 0; $var10.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var10, 0, 0, 0, 255); $var44 = 0; while ($var44 <= 16) { $var45 = $var44 / 16.0; $var29 = $var45; nlea_Tessellator_addVertex($var10, $par2 + $var37 * $var29, $par4 + $var39 * ($var45 * $var45 + $var45) * 0.5 + 0.25, $par6 + $var41 * $var29); $var44 = $var44 + 1 | 0; } nlea_Tessellator_draw($var10); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(3553); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityFishHook, $par2, $par4, $par6, $par8, $par9, $var31, $var21, $var22, $var10, var$11, var$12, $var27, $var29, $var25, $var35, $var23, $var46, $var34, $var32, $var33, $var37, $var39, $var41, $var44, $var45, $ptr); }, nms_RenderFish_getEntityTexture = ($this, $par1Entity) => { nms_RenderFish_$callClinit(); return nms_RenderFish_field_110792_a; }, nms_RenderFish_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1Entity = $par1Entity; $ptr = 1; case 1: nms_RenderFish_doRenderFishHook($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $par2, $par4, $par6, $par8, $par9, $ptr); }, nms_RenderFish__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1524); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderFish_field_110792_a = var$1; }, nms_IInvBasic = $rt_classWithoutFields(0); function nms_EntityHorse() { let a = this; nms_EntityAnimal.call(a); a.$eatingHaystackCounter = 0; a.$openMouthCounter = 0; a.$jumpRearingCounter = 0; a.$field_110278_bp = 0; a.$field_110279_bq = 0; a.$horseJumping = 0; a.$horseChest = null; a.$hasReproduced = 0; a.$temper = 0; a.$jumpPower = 0.0; a.$field_110294_bI = 0; a.$headLean = 0.0; a.$prevHeadLean = 0.0; a.$rearingAmount = 0.0; a.$prevRearingAmount = 0.0; a.$mouthOpenness = 0.0; a.$prevMouthOpenness = 0.0; a.$field_110285_bP = 0; a.$field_110286_bQ = null; a.$field_110280_bR = null; } let nms_EntityHorse_horseBreedingSelector = null, nms_EntityHorse_horseJumpStrength = null, nms_EntityHorse_horseArmorTextures = null, nms_EntityHorse_field_110273_bx = null, nms_EntityHorse_armorValues = null, nms_EntityHorse_horseTextures = null, nms_EntityHorse_field_110269_bA = null, nms_EntityHorse_horseMarkingTextures = null, nms_EntityHorse_field_110292_bC = null, nms_EntityHorse__init_ = ($this, $par1World) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($this, $par1World); $par1World = new nms_ChunkCoordinates; $par1World.$posX0 = 0; $par1World.$posY0 = 0; $par1World.$posZ0 = 0; $this.$homePosition = $par1World; $this.$maximumHomeDistance = (-1.0); $par1World = new nms_EntityAIMoveTowardsRestriction; $par1World.$theEntity0 = $this; $par1World.$movementSpeed = 1.0; $par1World.$mutexBits = 1; $this.$field_110178_bs = $par1World; $this.$field_98056_d = (-1.0); $this.$field_110280_bR = $rt_createArray(jl_String, 3); $this.$field_98056_d = 1.399999976158142; $this.$field_98057_e = 1.600000023841858; var$2 = 1.399999976158142; var$3 = 1.600000023841858; $ptr = 1; case 1: nms_Entity_setSize($this, var$2, var$3); if ($rt_suspending()) { break main; } $this.$isImmuneToFire = 0; $par1World = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { $par1World = $par1World.$elementData.data[0]; while ($par1World !== null && $par1World.$key !== null) { $par1World = $par1World.$next3; } } else { var$5 = var$4.$value0; var$6 = $par1World.$elementData.data; $par1World = var$6[var$5 & (var$6.length - 1 | 0)]; while ($par1World !== null) { if ($par1World.$origKeyHash == var$5) { var$7 = $par1World.$key; if (var$4 !== var$7 && !jl_Integer_equals(var$4, var$7) ? 0 : 1) break; } $par1World = $par1World.$next3; } } var$8 = ($par1World === null ? null : $par1World.$value1).$watchedObject.$value0; $par1World = $this.$dataWatcher; var$5 = var$8 & (-9); if (var$5 >= (-128) && var$5 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$5 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$5; } var$7 = $par1World.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$10 = var$9.$value0; var$6 = var$7.$elementData.data; var$7 = var$6[var$10 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$10) { var$11 = var$7.$key; if (var$9 !== var$11 && !jl_Integer_equals(var$9, var$11) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$11 = var$7 === null ? null : var$7.$value1; var$7 = var$11.$watchedObject; if (!(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$4.$value0 ? 1 : 0)) { var$11.$watchedObject = var$4; var$11.$watched = 1; $par1World.$objectChanged = 1; } var$7 = $this.$navigator; var$7.$avoidsWater = 1; $par1World = $this.$tasks0; var$4 = new nms_EntityAISwimming; var$4.$theEntity2 = $this; var$4.$mutexBits = 4; var$7.$canSwim = 1; var$11 = $par1World.$taskEntries; var$7 = new nms_EntityAITaskEntry; var$7.$tasks = $par1World; var$7.$priority = 0; var$7.$action = var$4; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$8 = var$11.$size0; var$11.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$11.$modCount = var$11.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIPanic; var$4.$theEntityCreature = $this; var$4.$speed1 = 1.2; var$4.$mutexBits = 1; var$11 = $par1World.$taskEntries; var$7 = new nms_EntityAITaskEntry; var$7.$tasks = $par1World; var$7.$priority = 1; var$7.$action = var$4; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$8 = var$11.$size0; var$11.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$11.$modCount = var$11.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIRunAroundLikeCrazy; var$4.$horseHost = $this; var$4.$field_111178_b = 1.2; var$4.$mutexBits = 1; var$11 = $par1World.$taskEntries; var$7 = new nms_EntityAITaskEntry; var$7.$tasks = $par1World; var$7.$priority = 1; var$7.$action = var$4; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$8 = var$11.$size0; var$11.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$11.$modCount = var$11.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIMate; var$4.$theAnimal = $this; var$4.$theWorld1 = $this.$worldObj; var$4.$moveSpeed = 1.0; var$4.$mutexBits = 3; var$11 = $par1World.$taskEntries; var$7 = new nms_EntityAITaskEntry; var$7.$tasks = $par1World; var$7.$priority = 2; var$7.$action = var$4; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$8 = var$11.$size0; var$11.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$11.$modCount = var$11.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIFollowParent; var$4.$childAnimal = $this; var$4.$field_75347_c = 1.0; var$11 = $par1World.$taskEntries; var$7 = new nms_EntityAITaskEntry; var$7.$tasks = $par1World; var$7.$priority = 4; var$7.$action = var$4; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$8 = var$11.$size0; var$11.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$11.$modCount = var$11.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIWander; var$4.$entity = $this; var$4.$speed = 0.7; var$4.$mutexBits = 1; var$11 = $par1World.$taskEntries; var$7 = new nms_EntityAITaskEntry; var$7.$tasks = $par1World; var$7.$priority = 6; var$7.$action = var$4; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$8 = var$11.$size0; var$11.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$11.$modCount = var$11.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAIWatchClosest; var$4.$theWatcher = $this; var$4.$watchedClass = $rt_cls(nms_EntityPlayer); var$4.$maxDistanceForPlayer = 6.0; var$4.$field_75331_e = 0.019999999552965164; var$4.$mutexBits = 2; var$11 = $par1World.$taskEntries; var$7 = new nms_EntityAITaskEntry; var$7.$tasks = $par1World; var$7.$priority = 7; var$7.$action = var$4; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$8 = var$11.$size0; var$11.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$11.$modCount = var$11.$modCount + 1 | 0; $par1World = $this.$tasks0; var$4 = new nms_EntityAILookIdle; var$4.$idleEntity = $this; var$4.$mutexBits = 3; var$11 = $par1World.$taskEntries; var$7 = new nms_EntityAITaskEntry; var$7.$tasks = $par1World; var$7.$priority = 8; var$7.$action = var$4; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$6 = var$11.$array.data; var$8 = var$11.$size0; var$11.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$11.$modCount = var$11.$modCount + 1 | 0; nms_EntityHorse_func_110226_cD($this); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntityHorse__init_0 = var_0 => { let var_1 = new nms_EntityHorse(); nms_EntityHorse__init_(var_1, var_0); return var_1; }, nms_EntityHorse_entityInit = $this => { let var$1, var$2; var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 7, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 8, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 9, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; var$2 = new jl_Float; var$2.$value3 = 1.0; nms_DataWatcher_addObject(var$1, 6, var$2); nms_DataWatcher_addObject($this.$dataWatcher, 11, jl_Byte_byteCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 10, $rt_s(18)); var$2 = $this.$dataWatcher; var$1 = new jl_Integer; var$1.$value0 = 0; nms_DataWatcher_addObject(var$2, 12, var$1); var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 16, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 19, jl_Byte_byteCache.data[128]); var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 20, jl_Integer_integerCache.data[128]); nms_DataWatcher_addObject($this.$dataWatcher, 21, $rt_s(18)); var$1 = $this.$dataWatcher; jl_Integer_ensureIntegerCache(); nms_DataWatcher_addObject(var$1, 22, jl_Integer_integerCache.data[128]); }, nms_EntityHorse_getEntityName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[138]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (var$1.$watchedObject.$nativeString.length <= 0 ? 0 : 1) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[138]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$6 = var$5.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$6) { var$2 = var$1.$key; if (var$5 !== var$2 && !(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject; } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[147]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$6 = var$5.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$6) { var$2 = var$1.$key; if (var$5 !== var$2 && !(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } switch ((var$1 === null ? null : var$1.$value1).$watchedObject.$value2) { case 0: break; case 1: nms_StatCollector_$callClinit(); return nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2411)); case 2: nms_StatCollector_$callClinit(); return nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2412)); case 3: nms_StatCollector_$callClinit(); return nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2413)); case 4: nms_StatCollector_$callClinit(); return nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2414)); default: } nms_StatCollector_$callClinit(); return nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2415)); }, nms_EntityHorse_isTame = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return !(var$1.$watchedObject.$value0 & 2) ? 0 : 1; }, nms_EntityHorse_func_110253_bW = $this => { let var$1, var$2, var$3, var$4; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[140]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = jl_Integer_hashCode(var$2.$value0); var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null && !(var$1.$origKeyHash == var$3 && ju_HashMap_areEqualKeys(var$2, var$1.$key))) { var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return (var$1.$watchedObject.$value0 >= 0 ? 0 : 1) ? 0 : 1; }, nms_EntityHorse_setScaleForAge = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1) { var$2 = $this.$field_98056_d * 1.0; var$3 = $this.$field_98057_e * 1.0; $ptr = 1; continue main; } var$4 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[140]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !jl_Integer_equals(var$5, var$8) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$9 = (var$4 === null ? null : var$4.$value1).$watchedObject.$value0; var$10 = var$9 >= 0 ? 1.0 : 0.5 + ((-24000) - var$9 | 0) / (-24000.0) * 0.5; var$3 = $this.$field_98056_d * var$10; var$2 = $this.$field_98057_e * var$10; $ptr = 2; continue main; case 1: nms_Entity_setSize($this, var$2, var$3); if ($rt_suspending()) { break main; } return; case 2: nms_Entity_setSize($this, var$3, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityHorse_allowLeashing = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$6 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; var$7 = var$6 != 3 && var$6 != 4 ? 0 : 1; return !var$7 && (!$this.$isLeashed && !$rt_isInstance($this, nms_IMob) ? 1 : 0) ? 1 : 0; }, nms_EntityHorse_func_142017_o = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; if ($par1 > 6.0) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value0 & 32) ? 0 : 1) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = jl_Integer_hashCode(var$3.$value0); var$5 = var$2.$elementData.data; var$2 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$7 && ju_HashMap_areEqualKeys(var$3, var$2.$key))) { var$2 = var$2.$next3; } } var$8 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; var$2 = $this.$dataWatcher; var$8 = var$8 & (-33); if (var$8 >= (-128) && var$8 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$8 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$8; } var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$7 = jl_Integer_hashCode(var$9.$value0); var$5 = var$3.$elementData.data; var$3 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$7 && ju_HashMap_areEqualKeys(var$9, var$3.$key))) { var$3 = var$3.$next3; } } var$10 = var$3 === null ? null : var$3.$value1; var$3 = var$10.$watchedObject; if (!(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6.$value0 ? 1 : 0)) { var$10.$watchedObject = var$6; var$10.$watched = 1; var$2.$objectChanged = 1; } } } }, nms_EntityHorse_isChested = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return !(var$1.$watchedObject.$value0 & 8) ? 0 : 1; }, nms_EntityHorse_getHorseArmorIndex = ($this, $par1ItemStack) => { let var$2; if ($par1ItemStack === null) var$2 = 0; else { var$2 = $par1ItemStack.$itemID; nms_Item_$callClinit(); var$2 = var$2 == nms_Item_horseArmorIron.$itemID0 ? 1 : var$2 == nms_Item_horseArmorGold.$itemID0 ? 2 : var$2 != nms_Item_horseArmorDiamond.$itemID0 ? 0 : 3; } return var$2; }, nms_EntityHorse_setChested = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; if ($par1) { var$2 = $this.$dataWatcher; $par1 = var$7 | 8; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = $par1; } var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$7 = var$8.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$7) { var$9 = var$3.$key; if (var$8 !== var$9 && !(var$8 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$9 = var$3 === null ? null : var$3.$value1; var$3 = var$9.$watchedObject; if (!(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6.$value0 ? 1 : 0)) { var$9.$watchedObject = var$6; var$9.$watched = 1; var$2.$objectChanged = 1; } } else { var$2 = $this.$dataWatcher; $par1 = var$7 & (-9); if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = $par1; } var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$7 = var$8.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$7) { var$9 = var$3.$key; if (var$8 !== var$9 && !(var$8 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$9 = var$3 === null ? null : var$3.$value1; var$3 = var$9.$watchedObject; if (!(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6.$value0 ? 1 : 0)) { var$9.$watchedObject = var$6; var$9.$watched = 1; var$2.$objectChanged = 1; } } }, nms_EntityHorse_increaseTemper = ($this, $par1) => { let $var2, $var2_0; $var2 = $this.$temper + $par1 | 0; $var2_0 = 0; if ($var2 >= $var2_0) $var2_0 = $var2 <= 100 ? $var2 : 100; $this.$temper = $var2_0; return $var2_0; }, nms_EntityHorse_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let $var3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $par1DamageSource.$getEntity(); var$4 = $this.$riddenByEntity; if (var$4 !== null && (!($var3 instanceof nms_Entity) ? 0 : $var3.$entityId != var$4.$entityId ? 0 : 1)) return 0; $ptr = 1; case 1: $tmp = nms_EntityAnimal_attackEntityFrom($this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } var$5 = $tmp; return var$5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, $var3, var$4, var$5, $ptr); }, nms_EntityHorse_getTotalArmorValue = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = nms_EntityHorse_armorValues; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[150]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; return var$1.data[var$2.$watchedObject.$value0]; }, nms_EntityHorse_canBePushed = $this => { return $this.$riddenByEntity !== null ? 0 : 1; }, nms_EntityHorse_func_110266_cB = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; if (!$this.$worldObj.$isRemote) { $this.$openMouthCounter = 1; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$6 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$7 = var$6 | 128; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$7; } var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$9 = var$8.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$9 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$9) { var$10 = var$2.$key; if (var$8 !== var$10 && !jl_Integer_equals(var$8, var$10) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$10 = var$2 === null ? null : var$2.$value1; var$2 = var$10.$watchedObject; if (!(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$5.$value0 ? 1 : 0)) { var$10.$watchedObject = var$5; var$10.$watched = 1; var$1.$objectChanged = 1; } } var$5 = $this.$worldObj; var$2 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 24)) / 1.6777216E7; var$11 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$11; nms_World_playSoundAtEntity(var$5, $this, $rt_s(2416), 1.0, 1.0 + (var$12 - Long_lo(Long_shru(var$11, 24)) / 1.6777216E7) * 0.20000000298023224); }, nms_EntityHorse_fall = ($this, $par1) => { let $var2, $var4, var$4, var$5, var$6, $var3, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var3 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 > 1.0) nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2417), 0.4000000059604645, 1.0); $par1 = $par1 * 0.5 - 3.0; $var2 = $par1 | 0; if ($par1 > $var2) $var2 = $var2 + 1 | 0; if ($var2 > 0) { $var4 = nms_DamageSource_fall; $par1 = $var2; var$4 = $var4.$getEntity(); var$5 = $this.$riddenByEntity; if (var$5 !== null && (!(var$4 instanceof nms_Entity) ? 0 : var$4.$entityId != var$5.$entityId ? 0 : 1)) { $var4 = $this.$riddenByEntity; if ($var4 !== null) { var$4 = nms_DamageSource_fall; $ptr = 2; continue main; } $var4 = $this.$worldObj; var$6 = $this.$posX; $var3 = var$6 | 0; if (var$6 < $var3) $var3 = $var3 - 1 | 0; var$6 = $this.$posY - 0.2 - $this.$prevRotationYaw; var$8 = var$6 | 0; if (var$6 < var$8) var$8 = var$8 - 1 | 0; var$6 = $this.$posZ; var$9 = var$6 | 0; if (var$6 < var$9) var$9 = var$9 - 1 | 0; $var3 = nms_World_getBlockId($var4, $var3, var$8, var$9); if ($var3 > 0) { nms_Block_$callClinit(); $var4 = nms_Block_blocksList.data[$var3].$stepSound; nms_World_playSoundAtEntity($this.$worldObj, $this, nms_StepSound_getStepSound($var4), $var4.$stepSoundVolume * 0.5, $var4.$stepSoundPitch * 0.75); } } else { $ptr = 1; continue main; } } return; case 1: nms_EntityAnimal_attackEntityFrom($this, $var4, $par1); if ($rt_suspending()) { break main; } $var4 = $this.$riddenByEntity; if ($var4 === null) { $var4 = $this.$worldObj; var$6 = $this.$posX; $var3 = var$6 | 0; if (var$6 < $var3) $var3 = $var3 - 1 | 0; var$6 = $this.$posY - 0.2 - $this.$prevRotationYaw; var$8 = var$6 | 0; if (var$6 < var$8) var$8 = var$8 - 1 | 0; var$6 = $this.$posZ; var$9 = var$6 | 0; if (var$6 < var$9) var$9 = var$9 - 1 | 0; $var3 = nms_World_getBlockId($var4, $var3, var$8, var$9); if ($var3 > 0) { nms_Block_$callClinit(); $var4 = nms_Block_blocksList.data[$var3].$stepSound; nms_World_playSoundAtEntity($this.$worldObj, $this, nms_StepSound_getStepSound($var4), $var4.$stepSoundVolume * 0.5, $var4.$stepSoundPitch * 0.75); } return; } var$4 = nms_DamageSource_fall; $ptr = 2; case 2: $var4.$attackEntityFrom(var$4, $par1); if ($rt_suspending()) { break main; } $var4 = $this.$worldObj; var$6 = $this.$posX; $var3 = var$6 | 0; if (var$6 < $var3) $var3 = $var3 - 1 | 0; var$6 = $this.$posY - 0.2 - $this.$prevRotationYaw; var$8 = var$6 | 0; if (var$6 < var$8) var$8 = var$8 - 1 | 0; var$6 = $this.$posZ; var$9 = var$6 | 0; if (var$6 < var$9) var$9 = var$9 - 1 | 0; $var3 = nms_World_getBlockId($var4, $var3, var$8, var$9); if ($var3 > 0) { nms_Block_$callClinit(); $var4 = nms_Block_blocksList.data[$var3].$stepSound; nms_World_playSoundAtEntity($this.$worldObj, $this, nms_StepSound_getStepSound($var4), $var4.$stepSoundVolume * 0.5, $var4.$stepSoundPitch * 0.75); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var2, $var4, var$4, var$5, var$6, $var3, var$8, var$9, $ptr); }, nms_EntityHorse_func_110226_cD = $this => { let $var1, var$2, var$3, var$4, $var3, var$6, var$7, $var2, var$9, $var2_0, $var4, var$12, var$13, var$14, var$15, var$16, var$17; $var1 = $this.$horseChest; var$2 = new nms_AnimalChest; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[147]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var3 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$var3 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var3) { var$7 = var$3.$key; if (var$4 !== var$7 && !jl_Integer_equals(var$4, var$7) ? 0 : 1) break; } var$3 = var$3.$next3; } } $var2 = (var$3 === null ? null : var$3.$value1).$watchedObject.$value2; var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$9 = jl_Integer_hashCode(var$7.$value0); var$6 = var$3.$elementData.data; var$3 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$7, var$3.$key))) { var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; $var3 = !(var$3.$watchedObject.$value0 & 8) ? 0 : 1; $var2_0 = $var3 && !($var2 != 1 && $var2 != 2) ? 17 : 2; a: { var$2.$inventoryTitle = $rt_s(2418); var$2.$field_94051_e = 0; var$2.$slotsCount = $var2_0; var$2.$inventoryContents = $rt_createArray(nms_ItemStack, $var2_0); $this.$horseChest = var$2; $var4 = nms_EntityHorse_getEntityName($this); var$2.$field_94051_e = 1; var$2.$inventoryTitle = $var4; if ($var1 !== null) { var$2 = $var1.$field_70480_d; var$12 = var$2.$size0; $var3 = 0; b: { c: { while (true) { $var2_0 = $rt_compare($var3, var$12); if ($var2_0 >= 0) { $var3 = (-1); break c; } if ($var3 < 0) break b; if ($var2_0 >= 0) break b; $var4 = var$2.$array.data[$var3]; if ($this !== $var4 ? ($this !== null ? (!($var4 instanceof nms_Entity) ? 0 : $var4.$entityId != $this.$entityId ? 0 : 1) : $var4 !== null ? 0 : 1) : 1) break; $var3 = $var3 + 1 | 0; } } if ($var3 >= 0) ju_ArrayList_remove(var$2, $var3); $var2_0 = $var1.$slotsCount; $var2 = $this.$horseChest.$slotsCount; if ($var2_0 < $var2) $var2 = $var2_0; $var3 = 0; while ($var3 < $var2) { $var4 = $var1.$inventoryContents.data[$var3]; if ($var4 !== null) { var$2 = $this.$horseChest; var$13 = new nms_ItemStack; $var2_0 = $var4.$itemID; var$12 = $var4.$stackSize; var$9 = $var4.$itemDamage; nms_ItemStack_$callClinit(); var$13.$itemID = $var2_0; var$13.$stackSize = var$12; var$13.$itemDamage = var$9; if (var$9 < 0) var$13.$itemDamage = 0; var$14 = $var4.$stackTagCompound; if (var$14 !== null) { var$15 = new nms_NBTTagCompound; $var4 = var$14.$name; if ($var4 === null) $var4 = $rt_s(18); var$15.$name = $var4; $var4 = new ju_HashMap; $var2_0 = ju_HashMap_calculateCapacity(16); $var4.$elementCount = 0; var$16 = $rt_createArray(ju_HashMap$HashEntry, $var2_0); var$6 = var$16.data; $var4.$elementData = var$16; $var4.$loadFactor = 0.75; $var4.$threshold = var$6.length * 0.75 | 0; var$15.$tagMap = $var4; var$3 = var$14.$tagMap; if (var$3.$cachedKeySet === null) { $var4 = new ju_HashMap$1; $var4.$this$0 = var$3; var$3.$cachedKeySet = $var4; } var$17 = var$3.$cachedKeySet.$iterator(); while (var$17.$hasNext()) { $var4 = var$17.$next(); var$3 = var$14.$tagMap; if ($var4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { d: { if (!$var4.$hashCode1) { $var2_0 = 0; while (true) { if ($var2_0 >= $var4.$nativeString.length) break d; $var4.$hashCode1 = (31 * $var4.$hashCode1 | 0) + $var4.$nativeString.charCodeAt($var2_0) | 0; $var2_0 = $var2_0 + 1 | 0; } } } var$9 = $var4.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { e: { var$4 = var$3.$key; if ($var4 !== var$4) { if ($var4 === var$4) $var2_0 = 1; else if (!(var$4 instanceof jl_String)) $var2_0 = 0; else { var$4 = var$4; $var2_0 = $var4.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!$var2_0) { $var2_0 = 0; break e; } } $var2_0 = 1; } if ($var2_0) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; var$3 = var$3.$copy(); var$4 = var$15.$tagMap; if ($var4 !== null) var$3.$name = $var4; else var$3.$name = $rt_s(18); ju_HashMap_putImpl(var$4, $var4, var$3); } var$13.$stackTagCompound = var$15; } var$2.$inventoryContents.data[$var3] = var$13; if (var$13.$stackSize > 64) var$13.$stackSize = 64; nms_InventoryBasic_onInventoryChanged(var$2); } $var3 = $var3 + 1 | 0; } break a; } var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$2); $rt_throw(var$2); } } var$2 = $this.$horseChest; if (var$2.$field_70480_d === null) { $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); var$2.$field_70480_d = $var4; } var$2 = var$2.$field_70480_d; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$6 = var$2.$array.data; $var2_0 = var$2.$size0; var$2.$size0 = $var2_0 + 1 | 0; var$6[$var2_0] = $this; var$2.$modCount = var$2.$modCount + 1 | 0; if (!$this.$worldObj.$isRemote) { $var3 = $this.$horseChest.$inventoryContents.data[0] === null ? 0 : 1; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var1 = jl_Integer_integerCache.data[144]; if ($var1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$9 = jl_Integer_hashCode($var1.$value0); var$6 = var$2.$elementData.data; var$2 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$9 && ju_HashMap_areEqualKeys($var1, var$2.$key))) { var$2 = var$2.$next3; } } var$12 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; if ($var3) { var$2 = $this.$dataWatcher; $var3 = var$12 | 4; if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { $var4 = new jl_Integer; $var4.$value0 = $var3; } $var1 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$12 = jl_Integer_hashCode(var$4.$value0); var$6 = $var1.$elementData.data; $var1 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var1 !== null && !($var1.$origKeyHash == var$12 && ju_HashMap_areEqualKeys(var$4, $var1.$key))) { $var1 = $var1.$next3; } } var$3 = $var1 === null ? null : $var1.$value1; $var1 = var$3.$watchedObject; if (!($var4 === $var1 ? 1 : $var1 instanceof jl_Integer && $var1.$value0 == $var4.$value0 ? 1 : 0)) { var$3.$watchedObject = $var4; var$3.$watched = 1; var$2.$objectChanged = 1; } } else { var$2 = $this.$dataWatcher; $var3 = var$12 & (-5); if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { $var4 = new jl_Integer; $var4.$value0 = $var3; } $var1 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$12 = jl_Integer_hashCode(var$4.$value0); var$6 = $var1.$elementData.data; $var1 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var1 !== null && !($var1.$origKeyHash == var$12 && ju_HashMap_areEqualKeys(var$4, $var1.$key))) { $var1 = $var1.$next3; } } var$3 = $var1 === null ? null : $var1.$value1; $var1 = var$3.$watchedObject; if (!($var4 === $var1 ? 1 : $var1 instanceof jl_Integer && $var1.$value0 == $var4.$value0 ? 1 : 0)) { var$3.$watchedObject = $var4; var$3.$watched = 1; var$2.$objectChanged = 1; } } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[147]; if ($var4 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { $var3 = jl_Integer_hashCode($var4.$value0); var$6 = var$2.$elementData.data; var$2 = var$6[$var3 & (var$6.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == $var3 && ju_HashMap_areEqualKeys($var4, var$2.$key))) { var$2 = var$2.$next3; } } if ((var$2 === null ? null : var$2.$value1).$watchedObject.$value2 ? 0 : 1) { $var3 = nms_EntityHorse_getHorseArmorIndex($this, $this.$horseChest.$inventoryContents.data[1]); var$2 = $this.$dataWatcher; if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { $var4 = new jl_Integer; $var4.$value0 = $var3; } $var1 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[150]; if (var$4 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$12 = var$4.$value0; var$6 = $var1.$elementData.data; $var1 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$12) { var$3 = $var1.$key; if (var$4 !== var$3 && !jl_Integer_equals(var$4, var$3) ? 0 : 1) break; } $var1 = $var1.$next3; } } var$3 = $var1 === null ? null : $var1.$value1; $var1 = var$3.$watchedObject; if (!($var4 === $var1 ? 1 : $var1 instanceof jl_Integer && $var1.$value0 == $var4.$value0 ? 1 : 0)) { var$3.$watchedObject = $var4; var$3.$watched = 1; var$2.$objectChanged = 1; } $this.$field_110286_bQ = null; } } }, nms_EntityHorse_func_110232_cE = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; if (!$this.$worldObj.$isRemote) { var$1 = $this.$horseChest.$inventoryContents.data[0] === null ? 0 : 1; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$4 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; if (var$1) { var$2 = $this.$dataWatcher; var$1 = var$4 | 4; if (var$1 >= (-128) && var$1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$1; } var$6 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$4 = var$7.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$4) { var$8 = var$6.$key; if (var$7 !== var$8 && !jl_Integer_equals(var$7, var$8) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$8 = var$6 === null ? null : var$6.$value1; var$6 = var$8.$watchedObject; if (!(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$3.$value0 ? 1 : 0)) { var$8.$watchedObject = var$3; var$8.$watched = 1; var$2.$objectChanged = 1; } } else { var$2 = $this.$dataWatcher; var$9 = var$4 & (-5); if (var$9 >= (-128) && var$9 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$9; } var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$1 = var$7.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$1 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$1) { var$8 = var$3.$key; if (var$7 !== var$8 && !jl_Integer_equals(var$7, var$8) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$8 = var$3 === null ? null : var$3.$value1; var$3 = var$8.$watchedObject; if (!(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6.$value0 ? 1 : 0)) { var$8.$watchedObject = var$6; var$8.$watched = 1; var$2.$objectChanged = 1; } } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[147]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$6.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$3 = var$2.$key; if (var$6 !== var$3 && !jl_Integer_equals(var$6, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } if ((var$2 === null ? null : var$2.$value1).$watchedObject.$value2 ? 0 : 1) { var$1 = nms_EntityHorse_getHorseArmorIndex($this, $this.$horseChest.$inventoryContents.data[1]); var$2 = $this.$dataWatcher; if (var$1 >= (-128) && var$1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$1; } var$6 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[150]; if (var$7 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$4 = var$7.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$4) { var$8 = var$6.$key; if (var$7 !== var$8 && !(var$7 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$8 = var$6 === null ? null : var$6.$value1; var$6 = var$8.$watchedObject; if (!(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$3.$value0 ? 1 : 0)) { var$8.$watchedObject = var$3; var$8.$watched = 1; var$2.$objectChanged = 1; } $this.$field_110286_bQ = null; } } }, nms_EntityHorse_onInventoryChanged = ($this, $par1InventoryBasic) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $par1InventoryBasic = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[150]; if (var$2 !== null) { var$3 = var$2.$value0; var$4 = $par1InventoryBasic.$elementData.data; $par1InventoryBasic = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1InventoryBasic !== null) { if ($par1InventoryBasic.$origKeyHash == var$3) { var$5 = $par1InventoryBasic.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $par1InventoryBasic = $par1InventoryBasic.$next3; } } else { $par1InventoryBasic = $par1InventoryBasic.$elementData.data[0]; while ($par1InventoryBasic !== null && $par1InventoryBasic.$key !== null) { $par1InventoryBasic = $par1InventoryBasic.$next3; } } var$6 = ($par1InventoryBasic === null ? null : $par1InventoryBasic.$value1).$watchedObject.$value0; $par1InventoryBasic = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 !== null) { var$7 = var$5.$value0; var$4 = $par1InventoryBasic.$elementData.data; $par1InventoryBasic = var$4[var$7 & (var$4.length - 1 | 0)]; while ($par1InventoryBasic !== null) { if ($par1InventoryBasic.$origKeyHash == var$7) { var$2 = $par1InventoryBasic.$key; if (var$5 !== var$2 && !jl_Integer_equals(var$5, var$2) ? 0 : 1) break; } $par1InventoryBasic = $par1InventoryBasic.$next3; } } else { $par1InventoryBasic = $par1InventoryBasic.$elementData.data[0]; while ($par1InventoryBasic !== null && $par1InventoryBasic.$key !== null) { $par1InventoryBasic = $par1InventoryBasic.$next3; } } $par1InventoryBasic = $par1InventoryBasic === null ? null : $par1InventoryBasic.$value1; var$8 = !($par1InventoryBasic.$watchedObject.$value0 & 4) ? 0 : 1; if (!$this.$worldObj.$isRemote) { var$3 = $this.$horseChest.$inventoryContents.data[0] === null ? 0 : 1; $par1InventoryBasic = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { $par1InventoryBasic = $par1InventoryBasic.$elementData.data[0]; while ($par1InventoryBasic !== null && $par1InventoryBasic.$key !== null) { $par1InventoryBasic = $par1InventoryBasic.$next3; } } else { var$9 = jl_Integer_hashCode(var$5.$value0); var$4 = $par1InventoryBasic.$elementData.data; $par1InventoryBasic = var$4[var$9 & (var$4.length - 1 | 0)]; while ($par1InventoryBasic !== null && !($par1InventoryBasic.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$5, $par1InventoryBasic.$key))) { $par1InventoryBasic = $par1InventoryBasic.$next3; } } var$7 = ($par1InventoryBasic === null ? null : $par1InventoryBasic.$value1).$watchedObject.$value0; if (var$3) { $par1InventoryBasic = $this.$dataWatcher; var$3 = var$7 | 4; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$3; } var$5 = $par1InventoryBasic.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[144]; if (var$10 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$7 = jl_Integer_hashCode(var$10.$value0); var$4 = var$5.$elementData.data; var$5 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$7 && ju_HashMap_areEqualKeys(var$10, var$5.$key))) { var$5 = var$5.$next3; } } var$11 = var$5 === null ? null : var$5.$value1; var$5 = var$11.$watchedObject; if (!(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$2.$value0 ? 1 : 0)) { var$11.$watchedObject = var$2; var$11.$watched = 1; $par1InventoryBasic.$objectChanged = 1; } } else { $par1InventoryBasic = $this.$dataWatcher; var$3 = var$7 & (-5); if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$3; } var$5 = $par1InventoryBasic.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[144]; if (var$10 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$7 = jl_Integer_hashCode(var$10.$value0); var$4 = var$5.$elementData.data; var$5 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$7 && ju_HashMap_areEqualKeys(var$10, var$5.$key))) { var$5 = var$5.$next3; } } var$11 = var$5 === null ? null : var$5.$value1; var$5 = var$11.$watchedObject; if (!(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$2.$value0 ? 1 : 0)) { var$11.$watchedObject = var$2; var$11.$watched = 1; $par1InventoryBasic.$objectChanged = 1; } } $par1InventoryBasic = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[147]; if (var$5 === null) { $par1InventoryBasic = $par1InventoryBasic.$elementData.data[0]; while ($par1InventoryBasic !== null && $par1InventoryBasic.$key !== null) { $par1InventoryBasic = $par1InventoryBasic.$next3; } } else { var$7 = jl_Integer_hashCode(var$5.$value0); var$4 = $par1InventoryBasic.$elementData.data; $par1InventoryBasic = var$4[var$7 & (var$4.length - 1 | 0)]; while ($par1InventoryBasic !== null && !($par1InventoryBasic.$origKeyHash == var$7 && ju_HashMap_areEqualKeys(var$5, $par1InventoryBasic.$key))) { $par1InventoryBasic = $par1InventoryBasic.$next3; } } if (($par1InventoryBasic === null ? null : $par1InventoryBasic.$value1).$watchedObject.$value2 ? 0 : 1) { var$3 = nms_EntityHorse_getHorseArmorIndex($this, $this.$horseChest.$inventoryContents.data[1]); $par1InventoryBasic = $this.$dataWatcher; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$3; } var$5 = $par1InventoryBasic.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[150]; if (var$10 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$7 = var$10.$value0; var$4 = var$5.$elementData.data; var$5 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$7) { var$11 = var$5.$key; if (var$10 !== var$11 && !jl_Integer_equals(var$10, var$11) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$11 = var$5 === null ? null : var$5.$value1; var$5 = var$11.$watchedObject; if (!(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$2.$value0 ? 1 : 0)) { var$11.$watchedObject = var$2; var$11.$watched = 1; $par1InventoryBasic.$objectChanged = 1; } $this.$field_110286_bQ = null; } } if ($this.$ticksExisted > 20) { if (!var$6) { $par1InventoryBasic = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[150]; if (var$5 === null) { $par1InventoryBasic = $par1InventoryBasic.$elementData.data[0]; while ($par1InventoryBasic !== null && $par1InventoryBasic.$key !== null) { $par1InventoryBasic = $par1InventoryBasic.$next3; } } else { var$7 = var$5.$value0; var$4 = $par1InventoryBasic.$elementData.data; $par1InventoryBasic = var$4[var$7 & (var$4.length - 1 | 0)]; while ($par1InventoryBasic !== null) { if ($par1InventoryBasic.$origKeyHash == var$7) { var$2 = $par1InventoryBasic.$key; if (var$5 !== var$2 && !(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $par1InventoryBasic = $par1InventoryBasic.$next3; } } if (var$6 != ($par1InventoryBasic === null ? null : $par1InventoryBasic.$value1).$watchedObject.$value0) nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2419), 0.5, 1.0); } if (!var$8) { $par1InventoryBasic = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { $par1InventoryBasic = $par1InventoryBasic.$elementData.data[0]; while ($par1InventoryBasic !== null && $par1InventoryBasic.$key !== null) { $par1InventoryBasic = $par1InventoryBasic.$next3; } } else { var$8 = var$5.$value0; var$4 = $par1InventoryBasic.$elementData.data; $par1InventoryBasic = var$4[var$8 & (var$4.length - 1 | 0)]; while ($par1InventoryBasic !== null) { if ($par1InventoryBasic.$origKeyHash == var$8) { var$2 = $par1InventoryBasic.$key; if (var$5 !== var$2 && !jl_Integer_equals(var$5, var$2) ? 0 : 1) break; } $par1InventoryBasic = $par1InventoryBasic.$next3; } } $par1InventoryBasic = $par1InventoryBasic === null ? null : $par1InventoryBasic.$value1; if (!($par1InventoryBasic.$watchedObject.$value0 & 4) ? 0 : 1) nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2420), 0.5, 1.0); } } }, nms_EntityHorse_getCanSpawnHere = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$posX; var$2 = var$1 | 0; if (var$1 < var$2) var$2 = var$2 - 1 | 0; var$1 = $this.$posZ; var$3 = var$1 | 0; if (var$1 < var$3) var$3 = var$3 - 1 | 0; var$4 = $this.$worldObj; var$5 = var$2 >> 4; var$6 = var$3 >> 4; var$7 = var$4.$chunkProvider; var$8 = var$7.$chunkMapping; var$9 = Long_or(Long_and(Long_fromInt(var$5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$6), Long_create(4294967295, 0)), 32)); var$10 = Long_lo(Long_xor(var$9, Long_shru(var$9, 32))); var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$6 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$11 = var$8.$hashArray.data; var$8 = var$11[var$6 & (var$11.length - 1 | 0)]; a: { while (var$8 !== null) { if (Long_eq(var$8.$key1, var$9)) { var$8 = var$8.$value6; break a; } var$8 = var$8.$nextEntry0; } var$8 = null; } var$8 = var$8; if (var$8 === null) var$8 = var$7.$blankChunk; if (var$8 === null) var$4.$provider.$worldChunkMgr.$getBiomeGenAt(var$2, var$3); else nms_Chunk_getBiomeGenForWorldCoords(var$8, var$2 & 15, var$3 & 15, var$4.$provider.$worldChunkMgr); $ptr = 1; case 1: $tmp = nms_EntityAnimal_getCanSpawnHere($this); if ($rt_suspending()) { break main; } var$6 = $tmp; return var$6; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntityHorse_getClosestHorse = ($this, $par1Entity, $par2) => { let $var4, $var6, $var7, $var8$index, var$7, var$8, $var8$index_0, $var9, $var10, var$12, var$13; $var4 = 1.7976931348623157E308; $var6 = null; $var7 = nms_World_getEntitiesWithinAABBExcludingEntity($this.$worldObj, $par1Entity, nms_AxisAlignedBB_addCoord($par1Entity.$boundingBox, $par2, $par2, $par2), nms_EntityHorse_horseBreedingSelector); $var8$index = 0; var$7 = $var7.$modCount; var$8 = $var7.$size(); while ($var8$index >= var$8 ? 0 : 1) { if (var$7 < $var7.$modCount) { $par1Entity = new ju_ConcurrentModificationException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); } $var8$index_0 = $var8$index + 1 | 0; $var9 = $var7.$get($var8$index); $var10 = $par1Entity.$posX; var$12 = $par1Entity.$posY; var$13 = $par1Entity.$posZ; $par2 = $var9.$posX - $var10; $var10 = $var9.$posY - var$12; var$12 = $var9.$posZ - var$13; $var10 = $par2 * $par2 + $var10 * $var10 + var$12 * var$12; if ($var10 < $var4) { $var6 = $var9; $var4 = $var10; } $var8$index = $var8$index_0; } return $var6; }, nms_EntityHorse_getDeathSound = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; if (!$this.$worldObj.$isRemote) { $this.$openMouthCounter = 1; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$6 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$7 = var$6 | 128; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$7; } var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$9 = var$8.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$9 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$9) { var$10 = var$2.$key; if (var$8 !== var$10 && !jl_Integer_equals(var$8, var$10) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$10 = var$2 === null ? null : var$2.$value1; var$2 = var$10.$watchedObject; if (!(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$5.$value0 ? 1 : 0)) { var$10.$watchedObject = var$5; var$10.$watched = 1; var$1.$objectChanged = 1; } } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[147]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$7 = var$5.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$7) { var$2 = var$1.$key; if (var$5 !== var$2 && !(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$6 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; return var$6 == 3 ? $rt_s(2421) : var$6 == 4 ? $rt_s(2422) : var$6 != 1 && var$6 != 2 ? $rt_s(2423) : $rt_s(2424); }, nms_EntityHorse_getDropItemId = $this => { let var$1, var$2, $var1, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$rand; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; $var1 = Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$2, 17)))), 31)) ? 0 : 1; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[147]; if (var$4 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$5 = var$4.$value0; var$6 = var$1.$elementData.data; var$1 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$5) { var$7 = var$1.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$8 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; if (var$8 == 4) { nms_Item_$callClinit(); $var1 = nms_Item_bone.$itemID0; } else if (var$8 != 3) { nms_Item_$callClinit(); $var1 = nms_Item_leather.$itemID0; } else if ($var1) $var1 = 0; else { nms_Item_$callClinit(); $var1 = nms_Item_rottenFlesh.$itemID0; } return $var1; }, nms_EntityHorse_getHurtSound = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; if (!$this.$worldObj.$isRemote) { $this.$openMouthCounter = 1; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$3 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$6 = var$3 | 128; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$6; } var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$8 = var$7.$value0; var$4 = var$5.$elementData.data; var$5 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$8) { var$9 = var$5.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$9 = var$5 === null ? null : var$5.$value1; var$5 = var$9.$watchedObject; if (!(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$2.$value0 ? 1 : 0)) { var$9.$watchedObject = var$2; var$9.$watched = 1; var$1.$objectChanged = 1; } } var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; var$8 = Long_lo(Long_shru(var$10, 17)); while (true) { var$11 = var$8 % 3 | 0; if (((var$8 - var$11 | 0) + 2 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; var$8 = Long_lo(Long_shru(var$10, 17)); } if (!var$11 && !$this.$worldObj.$isRemote) { $this.$jumpRearingCounter = 1; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$1 = ju_HashMap_entryByKey(var$1, jl_Integer_integerCache.data[144]); var$3 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$6 = var$3 & (-33); if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$2 = new jl_Integer; jl_Object__init_(var$2); var$2.$value0 = var$6; } var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = ju_HashMap_entryByKey(var$5, jl_Integer_integerCache.data[144]); var$9 = var$5 === null ? null : var$5.$value1; var$5 = var$9.$watchedObject; if (!(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$2.$value0 ? 1 : 0)) { var$9.$watchedObject = var$2; var$9.$watched = 1; var$1.$objectChanged = 1; } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$11 = jl_Integer_hashCode(var$5.$value0); var$4 = var$1.$elementData.data; var$1 = var$4[var$11 & (var$4.length - 1 | 0)]; while (var$1 !== null && !(var$1.$origKeyHash == var$11 && ju_HashMap_areEqualKeys(var$5, var$1.$key))) { var$1 = var$1.$next3; } } var$3 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$6 = var$3 | 64; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$6; } var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$8 = jl_Integer_hashCode(var$7.$value0); var$4 = var$5.$elementData.data; var$5 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$8 && ju_HashMap_areEqualKeys(var$7, var$5.$key))) { var$5 = var$5.$next3; } } var$9 = var$5 === null ? null : var$5.$value1; var$5 = var$9.$watchedObject; if (!(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$2.$value0 ? 1 : 0)) { var$9.$watchedObject = var$2; var$9.$watched = 1; var$1.$objectChanged = 1; } } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$6 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$6) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$3 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; return var$3 == 3 ? $rt_s(2425) : var$3 == 4 ? $rt_s(2426) : var$3 != 1 && var$3 != 2 ? $rt_s(2427) : $rt_s(2428); }, nms_EntityHorse_isHorseSaddled = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; return !(var$1.$watchedObject.$value0 & 4) ? 0 : 1; }, nms_EntityHorse_getLivingSound = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; if (!$this.$worldObj.$isRemote) { $this.$openMouthCounter = 1; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$3 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$6 = var$3 | 128; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$6; } var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$8 = var$7.$value0; var$4 = var$5.$elementData.data; var$5 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$8) { var$9 = var$5.$key; if (var$7 !== var$9 && !jl_Integer_equals(var$7, var$9) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$9 = var$5 === null ? null : var$5.$value1; var$5 = var$9.$watchedObject; if (!(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$2.$value0 ? 1 : 0)) { var$9.$watchedObject = var$2; var$9.$watched = 1; var$1.$objectChanged = 1; } } var$1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; var$8 = Long_lo(Long_shru(var$10, 17)); while (true) { var$11 = var$8 % 10 | 0; if (((var$8 - var$11 | 0) + 9 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; var$8 = Long_lo(Long_shru(var$10, 17)); } if (!var$11 && !nms_EntityHorse_isMovementBlocked($this) && !$this.$worldObj.$isRemote) { $this.$jumpRearingCounter = 1; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$1 = ju_HashMap_entryByKey(var$1, jl_Integer_integerCache.data[144]); var$3 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$6 = var$3 & (-33); if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$2 = new jl_Integer; jl_Object__init_(var$2); var$2.$value0 = var$6; } var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = ju_HashMap_entryByKey(var$5, jl_Integer_integerCache.data[144]); var$9 = var$5 === null ? null : var$5.$value1; var$5 = var$9.$watchedObject; if (!(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$2.$value0 ? 1 : 0)) { var$9.$watchedObject = var$2; var$9.$watched = 1; var$1.$objectChanged = 1; } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$11 = jl_Integer_hashCode(var$5.$value0); var$4 = var$1.$elementData.data; var$1 = var$4[var$11 & (var$4.length - 1 | 0)]; while (var$1 !== null && !(var$1.$origKeyHash == var$11 && ju_HashMap_areEqualKeys(var$5, var$1.$key))) { var$1 = var$1.$next3; } } var$3 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$6 = var$3 | 64; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$6; } var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$8 = jl_Integer_hashCode(var$7.$value0); var$4 = var$5.$elementData.data; var$5 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$8 && ju_HashMap_areEqualKeys(var$7, var$5.$key))) { var$5 = var$5.$next3; } } var$9 = var$5 === null ? null : var$5.$value1; var$5 = var$9.$watchedObject; if (!(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$2.$value0 ? 1 : 0)) { var$9.$watchedObject = var$2; var$9.$watched = 1; var$1.$objectChanged = 1; } } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$6 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$6) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$3 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; return var$3 == 3 ? $rt_s(2429) : var$3 == 4 ? $rt_s(2430) : var$3 != 1 && var$3 != 2 ? $rt_s(2431) : $rt_s(2432); }, nms_EntityHorse_getAngrySoundName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; if (!$this.$worldObj.$isRemote) { $this.$openMouthCounter = 1; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$3 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$6 = var$3 | 128; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$6; } var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$6 = var$7.$value0; var$4 = var$5.$elementData.data; var$5 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$6) { var$8 = var$5.$key; if (var$7 !== var$8 && !jl_Integer_equals(var$7, var$8) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$7 = var$5 === null ? null : var$5.$value1; var$5 = var$7.$watchedObject; if (!(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$2.$value0 ? 1 : 0)) { var$7.$watchedObject = var$2; var$7.$watched = 1; var$1.$objectChanged = 1; } } if (!$this.$worldObj.$isRemote) { $this.$jumpRearingCounter = 1; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$1 = ju_HashMap_entryByKey(var$1, jl_Integer_integerCache.data[144]); var$3 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$6 = var$3 & (-33); if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$2 = new jl_Integer; jl_Object__init_(var$2); var$2.$value0 = var$6; } var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = ju_HashMap_entryByKey(var$5, jl_Integer_integerCache.data[144]); var$7 = var$5 === null ? null : var$5.$value1; var$5 = var$7.$watchedObject; if (!(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$2.$value0 ? 1 : 0)) { var$7.$watchedObject = var$2; var$7.$watched = 1; var$1.$objectChanged = 1; } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$9 = jl_Integer_hashCode(var$5.$value0); var$4 = var$1.$elementData.data; var$1 = var$4[var$9 & (var$4.length - 1 | 0)]; while (var$1 !== null && !(var$1.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$5, var$1.$key))) { var$1 = var$1.$next3; } } var$3 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$6 = var$3 | 64; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$6; } var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$10 = jl_Integer_hashCode(var$8.$value0); var$4 = var$5.$elementData.data; var$5 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$10 && ju_HashMap_areEqualKeys(var$8, var$5.$key))) { var$5 = var$5.$next3; } } var$7 = var$5 === null ? null : var$5.$value1; var$5 = var$7.$watchedObject; if (!(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$2.$value0 ? 1 : 0)) { var$7.$watchedObject = var$2; var$7.$watched = 1; var$1.$objectChanged = 1; } } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$6 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$6) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$3 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; return var$3 != 3 && var$3 != 4 ? (var$3 != 1 && var$3 != 2 ? $rt_s(2433) : $rt_s(2434)) : null; }, nms_EntityHorse_playStepSound = ($this, $par1, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; nms_Block_$callClinit(); $var5 = nms_Block_blocksList.data[$par4].$stepSound; $par1 = nms_World_getBlockId($this.$worldObj, $par1, $par2 + 1 | 0, $par3); var$6 = nms_Block_snow; if ($par1 == var$6.$blockID) $var5 = var$6.$stepSound; if (!nms_Block_blocksList.data[$par4].$blockMaterial.$isLiquid()) { var$6 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[147]; if (var$7 === null) { var$8 = var$6.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { $par2 = var$7.$value0; var$9 = var$6.$elementData.data; var$8 = var$9[$par2 & (var$9.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == $par2) { var$6 = var$8.$key; if (var$7 !== var$6 && !(var$7 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == $par2 ? 1 : 0) ? 0 : 1) break; } var$8 = var$8.$next3; } } $par3 = (var$8 === null ? null : var$8.$value1).$watchedObject.$value2; if ($this.$riddenByEntity !== null && $par3 != 1 && $par3 != 2) { $par1 = $this.$field_110285_bP + 1 | 0; $this.$field_110285_bP = $par1; $par2 = $rt_compare($par1, 5); if ($par2 > 0 && !($par1 % 3 | 0)) { var$10 = $var5.$stepSoundVolume * 0.15000000596046448; var$11 = $var5.$stepSoundPitch; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2435), var$10, var$11); if (!$par3) { var$6 = $this.$rand; var$12 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$12; $par3 = Long_lo(Long_shru(var$12, 17)); while (true) { $par4 = $par3 % 10 | 0; if ((($par3 - $par4 | 0) + 9 | 0) >= 0) break; var$12 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$12; $par3 = Long_lo(Long_shru(var$12, 17)); } if (!$par4) { var$10 = $var5.$stepSoundVolume * 0.6000000238418579; var$11 = $var5.$stepSoundPitch; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2436), var$10, var$11); } } } else if ($par2 <= 0) { var$10 = $var5.$stepSoundVolume * 0.15000000596046448; var$11 = $var5.$stepSoundPitch; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2437), var$10, var$11); } } else if ($var5 !== nms_Block_soundWoodFootstep) { var$10 = $var5.$stepSoundVolume * 0.15000000596046448; var$11 = $var5.$stepSoundPitch; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2437), var$10, var$11); } else { var$10 = $var5.$stepSoundVolume * 0.15000000596046448; var$11 = $var5.$stepSoundPitch; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2438), var$10, var$11); } } }, nms_EntityHorse_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_maxHealth); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_knockbackResistance); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_movementSpeed); if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_SharedMonsterAttributes_followRange); if (16.0 !== var$1.$baseValue) { var$1.$baseValue = 16.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); nms_ServersideAttributeMap_func_111150_b($this.$attributeMap, nms_EntityHorse_horseJumpStrength); var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (53.0 !== var$3.$baseValue) { var$3.$baseValue = 53.0; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break b; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (0.22499999403953552 !== var$1.$baseValue) { var$1.$baseValue = 0.22499999403953552; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityHorse_getMaxTemper = $this => { return 100; }, nms_EntityHorse_getSoundVolume = $this => { return 0.800000011920929; }, nms_EntityHorse_getTalkInterval = $this => { return 400; }, nms_EntityHorse_setHorseTexturePaths = $this => { let var$1, var$2, var$3, $var3, var$5, var$6, $var4, var$8, var$9, var$10; $this.$field_110286_bQ = $rt_s(2439); var$1 = $this.$field_110280_bR.data; var$1[0] = null; var$1[1] = null; var$1[2] = null; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[147]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { $var3 = var$3.$value0; var$1 = var$2.$elementData.data; var$2 = var$1[$var3 & (var$1.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var3) { var$5 = var$2.$key; if (var$3 !== var$5 && !(var$3 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var3 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[148]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { $var4 = var$3.$value0; var$1 = var$2.$elementData.data; var$2 = var$1[$var4 & (var$1.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var4) { var$5 = var$2.$key; if (var$3 !== var$5 && !(var$3 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; a: { var$8 = var$2.$watchedObject.$value0; if (var$6) { $this.$field_110280_bR.data[0] = $rt_s(18); var$2 = $this.$field_110286_bQ; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); $var3 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var3, var$2); $var4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, $var4, $var4 + 1 | 0); var$3.$buffer.data[$var4] = 95; jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$6, 10); $var4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, $var4, $var4 + 1 | 0); var$1 = var$3.$buffer; var$9 = var$1.data; var$9[$var4] = 95; var$2 = new jl_String; $var4 = var$3.$length0; var$8 = var$9.length; if ($var4 >= 0 && $var4 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$1.data, 0, $var4); $this.$field_110286_bQ = var$2; break a; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } $var3 = var$8 & 255; $var4 = (var$8 & 65280) >> 8; $this.$field_110280_bR.data[0] = nms_EntityHorse_horseTextures.data[$var3]; var$2 = $this.$field_110286_bQ; var$3 = nms_EntityHorse_field_110269_bA.data[$var3]; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); $var3 = var$5.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, $var3, var$2); $var3 = var$5.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, $var3, var$3); var$10 = new jl_String; var$1 = var$5.$buffer; var$9 = var$1.data; var$8 = var$5.$length0; var$6 = var$9.length; if (var$8 >= 0 && var$8 <= (var$6 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$1.data, 0, var$8); $this.$field_110286_bQ = var$10; $this.$field_110280_bR.data[1] = nms_EntityHorse_horseMarkingTextures.data[$var4]; var$2 = nms_EntityHorse_field_110292_bC.data[$var4]; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$10); $var3 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var3, var$2); var$2 = new jl_String; var$1 = var$3.$buffer; var$9 = var$1.data; $var4 = var$3.$length0; var$8 = var$9.length; if ($var4 >= 0 && $var4 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$1.data, 0, $var4); $this.$field_110286_bQ = var$2; break a; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[150]; if (var$5 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$8 = var$5.$value0; var$1 = var$2.$elementData.data; var$2 = var$1[var$8 & (var$1.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { var$3 = var$2.$key; if (var$5 !== var$3 && !(var$5 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; $this.$field_110280_bR.data[2] = nms_EntityHorse_horseArmorTextures.data[$var4]; var$2 = $this.$field_110286_bQ; var$3 = nms_EntityHorse_field_110273_bx.data[$var4]; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); $var3 = var$5.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, $var3, var$2); $var3 = var$5.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, $var3, var$3); var$2 = new jl_String; var$1 = var$5.$buffer; var$9 = var$1.data; $var4 = var$5.$length0; var$8 = var$9.length; if ($var4 >= 0 && $var4 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$1.data, 0, $var4); $this.$field_110286_bQ = var$2; return; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nms_EntityHorse_openGUI = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$worldObj.$isRemote) { var$2 = $this.$riddenByEntity; if (!(var$2 !== null && var$2 !== $par1EntityPlayer)) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value0 & 2) ? 0 : 1) { var$2 = $this.$horseChest; var$6 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[138]; if (var$7 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$8 = var$7.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$8) { var$3 = var$6.$key; if (var$7 !== var$3 && !jl_Integer_equals(var$7, var$3) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$6 = var$6 === null ? null : var$6.$value1; var$9 = var$6.$watchedObject.$nativeString.length <= 0 ? 0 : 1; a: { if (var$9) { var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[138]; if (var$6 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$9 = var$6.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$9 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { var$7 = var$3.$key; if (var$6 !== var$7 && !jl_Integer_equals(var$6, var$7) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$6 = (var$3 === null ? null : var$3.$value1).$watchedObject; } else { var$6 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[147]; if (var$7 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$8 = var$7.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$8) { var$3 = var$6.$key; if (var$7 !== var$3 && !jl_Integer_equals(var$7, var$3) ? 0 : 1) break; } var$6 = var$6.$next3; } } switch ((var$6 === null ? null : var$6.$value1).$watchedObject.$value2) { case 0: break; case 1: nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2411)); break a; case 2: nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2412)); break a; case 3: nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2413)); break a; case 4: nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2414)); break a; default: } nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2415)); } } var$2.$field_94051_e = 1; var$2.$inventoryTitle = var$6; var$2 = $this.$horseChest; var$3 = $par1EntityPlayer.$mc4; var$6 = new nms_GuiScreenHorseInventory; $par1EntityPlayer = $par1EntityPlayer.$inventory; nms_GuiScreenHorseInventory_$callClinit(); var$7 = nms_ContainerHorseInventory__init_($par1EntityPlayer, var$2, $this); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$10 = new ju_ArrayList; jl_Object__init_(var$10); var$10.$array = $rt_createArray(jl_Object, 10); var$6.$buttonList = var$10; var$6.$allowUserInput = 0; var$6.$selectedButton = null; var$6.$eventButton = 0; var$6.$field_85043_c = Long_ZERO; var$6.$field_92018_d = 0; var$6.$xSize = 176; var$6.$ySize = 166; var$10 = new ju_HashSet; var$11 = new ju_HashMap; jl_Object__init_(var$11); var$9 = ju_HashMap_calculateCapacity(16); var$11.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$9); var$5 = var$12.data; var$11.$elementData = var$12; var$11.$loadFactor = 0.75; var$11.$threshold = var$5.length * 0.75 | 0; var$10.$backingMap = var$11; var$6.$field_94077_p = var$10; var$6.$inventorySlots0 = var$7; var$6.$field_94068_E = 1; var$6.$field_110413_u = $par1EntityPlayer; var$6.$field_110412_v = var$2; var$6.$field_110411_w = $this; var$6.$allowUserInput = 0; $ptr = 1; continue main; } } } return; case 1: nms_Minecraft_displayGuiScreen(var$3, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_EntityHorse_interact = ($this, $par1EntityPlayer) => { let var$2, $var4, $var2, $var3, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $var7, $var5, $var6, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var7 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var4 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1EntityPlayer.$inventory; $var4 = var$2.$currentItem; $var2 = $var4 < 9 && $var4 >= 0 ? var$2.$mainInventory.data[$var4] : null; if ($var2 !== null) { $var3 = $var2.$itemID; nms_Item_$callClinit(); if ($var3 == nms_Item_monsterPlacer.$itemID0) { $ptr = 1; continue main; } } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$9 = var$2.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(!(var$2.$watchedObject.$value0 & 2) ? 0 : 1)) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[147]; if (var$6 !== null) { var$10 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { var$9 = var$2.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; if ($var4 != 3 && $var4 != 4 ? 0 : 1) return 0; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 !== null) { var$7 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$9 = var$2.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value0 & 2) ? 0 : 1) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[140]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$10 = jl_Integer_hashCode(var$6.$value0); var$8 = var$2.$elementData.data; var$2 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$10 && ju_HashMap_areEqualKeys(var$6, var$2.$key))) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (((var$2.$watchedObject.$value0 >= 0 ? 0 : 1) ? 0 : 1) && ($par1EntityPlayer.$movementInput.$sneak && !$par1EntityPlayer.$sleeping ? 1 : 0)) { if (!$this.$worldObj.$isRemote) { var$2 = $this.$riddenByEntity; if (!(var$2 !== null && var$2 !== $par1EntityPlayer)) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = jl_Integer_hashCode(var$6.$value0); var$8 = var$2.$elementData.data; var$2 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$7 && ju_HashMap_areEqualKeys(var$6, var$2.$key))) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value0 & 2) ? 0 : 1) { var$2 = $this.$horseChest; var$9 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[138]; if ($var2 === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$10 = jl_Integer_hashCode($var2.$value0); var$8 = var$9.$elementData.data; var$9 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$9 !== null && !(var$9.$origKeyHash == var$10 && ju_HashMap_areEqualKeys($var2, var$9.$key))) { var$9 = var$9.$next3; } } var$9 = var$9 === null ? null : var$9.$value1; $var3 = var$9.$watchedObject.$nativeString.length <= 0 ? 0 : 1; a: { if ($var3) { var$9 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[138]; if ($var2 === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$10 = jl_Integer_hashCode($var2.$value0); var$8 = var$9.$elementData.data; var$9 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$9 !== null && !(var$9.$origKeyHash == var$10 && ju_HashMap_areEqualKeys($var2, var$9.$key))) { var$9 = var$9.$next3; } } var$9 = (var$9 === null ? null : var$9.$value1).$watchedObject; } else { var$9 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[147]; if ($var2 === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$10 = jl_Integer_hashCode($var2.$value0); var$8 = var$9.$elementData.data; var$9 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$9 !== null && !(var$9.$origKeyHash == var$10 && ju_HashMap_areEqualKeys($var2, var$9.$key))) { var$9 = var$9.$next3; } } switch ((var$9 === null ? null : var$9.$value1).$watchedObject.$value2) { case 0: break; case 1: nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2411)); break a; case 2: nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2412)); break a; case 3: nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2413)); break a; case 4: nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2414)); break a; default: } nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2415)); } } var$2.$field_94051_e = 1; var$2.$inventoryTitle = var$9; var$2 = $this.$horseChest; var$6 = $par1EntityPlayer.$mc4; var$9 = new nms_GuiScreenHorseInventory; $par1EntityPlayer = $par1EntityPlayer.$inventory; nms_GuiScreenHorseInventory_$callClinit(); $var2 = nms_ContainerHorseInventory__init_($par1EntityPlayer, var$2, $this); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$11 = new ju_ArrayList; ju_AbstractCollection__init_(var$11); var$11.$array = $rt_createArray(jl_Object, 10); var$9.$buttonList = var$11; var$9.$allowUserInput = 0; var$9.$selectedButton = null; var$9.$eventButton = 0; var$9.$field_85043_c = Long_ZERO; var$9.$field_92018_d = 0; var$9.$xSize = 176; var$9.$ySize = 166; var$11 = new ju_HashSet; var$12 = new ju_HashMap; ju_AbstractMap__init_(var$12); $var3 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$12.$elementData = ju_HashMap_newElementArray(var$12, $var3); var$12.$loadFactor = 0.75; ju_HashMap_computeThreshold(var$12); jl_Object__init_(var$11); var$11.$backingMap = var$12; var$9.$field_94077_p = var$11; var$9.$inventorySlots0 = $var2; var$9.$field_94068_E = 1; var$9.$field_110413_u = $par1EntityPlayer; var$9.$field_110412_v = var$2; var$9.$field_110411_w = $this; var$9.$allowUserInput = 0; $ptr = 5; continue main; } } } return 1; } } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) var$2 = ju_HashMap_findNullKeyEntry(var$2); else { $var4 = jl_Integer_hashCode0(var$9); var$2 = ju_HashMap_findNonNullKeyEntry(var$2, var$9, $var4 & (var$2.$elementData.data.length - 1 | 0), $var4); } var$2 = var$2 === null ? null : var$2.$value1; $var3 = (var$2.$watchedObject.$value0 >= 0 ? 0 : 1) ? 0 : 1; if ($var3 && $this.$riddenByEntity !== null) { $ptr = 2; continue main; } b: { if ($var2 !== null) { $var3 = 0; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[147]; if (var$6 !== null) { var$7 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$9 = var$2.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } if ((var$2 === null ? null : var$2.$value1).$watchedObject.$value2 ? 0 : 1) { $var4 = (-1); var$10 = $var2.$itemID; nms_Item_$callClinit(); if (var$10 == nms_Item_horseArmorIron.$itemID0) $var4 = 1; else if (var$10 == nms_Item_horseArmorGold.$itemID0) $var4 = 2; else if (var$10 == nms_Item_horseArmorDiamond.$itemID0) $var4 = 3; if ($var4 >= 0) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$9 = var$2.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(!(var$2.$watchedObject.$value0 & 2) ? 0 : 1)) { if (!$this.$worldObj.$isRemote) { $this.$jumpRearingCounter = 1; var$10 = (ju_HashMap_get($this.$dataWatcher.$watchedObjects, jl_Integer_valueOf(16))).$watchedObject.$value0; $par1EntityPlayer = $this.$dataWatcher; $var4 = var$10 & (-33); if ($var4 >= (-128) && $var4 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { var$2 = new jl_Integer; jl_Number__init_(var$2); var$2.$value0 = $var4; } var$6 = ju_HashMap_get($par1EntityPlayer.$watchedObjects, jl_Integer_valueOf(16)); if (!jl_Integer_equals(var$2, var$6.$watchedObject)) { var$6.$watchedObject = var$2; var$6.$watched = 1; $par1EntityPlayer.$objectChanged = 1; } $par1EntityPlayer = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) $par1EntityPlayer = ju_HashMap_findNullKeyEntry($par1EntityPlayer); else { var$10 = jl_Integer_hashCode0(var$2); $par1EntityPlayer = ju_HashMap_findNonNullKeyEntry($par1EntityPlayer, var$2, var$10 & ($par1EntityPlayer.$elementData.data.length - 1 | 0), var$10); } $var4 = ($par1EntityPlayer === null ? null : $par1EntityPlayer.$value1).$watchedObject.$value0; $par1EntityPlayer = $this.$dataWatcher; $var3 = $var4 | 64; if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = $var3; } var$9 = $par1EntityPlayer.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) var$9 = ju_HashMap_findNullKeyEntry(var$9); else { $var4 = jl_Integer_hashCode0(var$6); var$9 = ju_HashMap_findNonNullKeyEntry(var$9, var$6, $var4 & (var$9.$elementData.data.length - 1 | 0), $var4); } var$6 = var$9 === null ? null : var$9.$value1; var$9 = var$6.$watchedObject; if (!(var$2 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$2.$value0 ? 1 : 0)) { var$6.$watchedObject = var$2; var$6.$watched = 1; $par1EntityPlayer.$objectChanged = 1; } } $par1EntityPlayer = nms_EntityHorse_getAngrySoundName($this); if ($par1EntityPlayer !== null) { $var7 = nms_EntityLivingBase_getSoundPitch($this); nms_World_playSoundAtEntity($this.$worldObj, $this, $par1EntityPlayer, 0.800000011920929, $var7); } return 1; } if (!$this.$worldObj.$isRemote) { var$2 = $this.$riddenByEntity; if (!(var$2 !== null && var$2 !== $par1EntityPlayer)) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = jl_Integer_hashCode(var$6.$value0); var$8 = var$2.$elementData.data; var$2 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$7 && ju_HashMap_areEqualKeys(var$6, var$2.$key))) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value0 & 2) ? 0 : 1) { var$2 = $this.$horseChest; var$9 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[138]; if ($var2 === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$10 = jl_Integer_hashCode($var2.$value0); var$8 = var$9.$elementData.data; var$9 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$9 !== null && !(var$9.$origKeyHash == var$10 && ju_HashMap_areEqualKeys($var2, var$9.$key))) { var$9 = var$9.$next3; } } var$9 = var$9 === null ? null : var$9.$value1; $var3 = var$9.$watchedObject.$nativeString.length <= 0 ? 0 : 1; c: { if ($var3) { var$9 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[138]; if ($var2 === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$10 = jl_Integer_hashCode($var2.$value0); var$8 = var$9.$elementData.data; var$9 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$9 !== null && !(var$9.$origKeyHash == var$10 && ju_HashMap_areEqualKeys($var2, var$9.$key))) { var$9 = var$9.$next3; } } var$9 = (var$9 === null ? null : var$9.$value1).$watchedObject; } else { var$9 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[147]; if ($var2 === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$10 = jl_Integer_hashCode($var2.$value0); var$8 = var$9.$elementData.data; var$9 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$9 !== null && !(var$9.$origKeyHash == var$10 && ju_HashMap_areEqualKeys($var2, var$9.$key))) { var$9 = var$9.$next3; } } switch ((var$9 === null ? null : var$9.$value1).$watchedObject.$value2) { case 0: break; case 1: nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2411)); break c; case 2: nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2412)); break c; case 3: nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2413)); break c; case 4: nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2414)); break c; default: } nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2415)); } } var$2.$field_94051_e = 1; var$2.$inventoryTitle = var$9; var$2 = $this.$horseChest; var$6 = $par1EntityPlayer.$mc4; var$9 = new nms_GuiScreenHorseInventory; $par1EntityPlayer = $par1EntityPlayer.$inventory; nms_GuiScreenHorseInventory_$callClinit(); $var2 = nms_ContainerHorseInventory__init_($par1EntityPlayer, var$2, $this); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$11 = new ju_ArrayList; ju_AbstractCollection__init_(var$11); var$11.$array = $rt_createArray(jl_Object, 10); var$9.$buttonList = var$11; var$9.$allowUserInput = 0; var$9.$selectedButton = null; var$9.$eventButton = 0; var$9.$field_85043_c = Long_ZERO; var$9.$field_92018_d = 0; var$9.$xSize = 176; var$9.$ySize = 166; var$11 = new ju_HashSet; var$12 = new ju_HashMap; ju_AbstractMap__init_(var$12); $var3 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$12.$elementData = ju_HashMap_newElementArray(var$12, $var3); var$12.$loadFactor = 0.75; ju_HashMap_computeThreshold(var$12); jl_Object__init_(var$11); var$11.$backingMap = var$12; var$9.$field_94077_p = var$11; var$9.$inventorySlots0 = $var2; var$9.$field_94068_E = 1; var$9.$field_110413_u = $par1EntityPlayer; var$9.$field_110412_v = var$2; var$9.$field_110411_w = $this; var$9.$allowUserInput = 0; $ptr = 9; continue main; } } } return 1; } } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[147]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { $var4 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[$var4 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var4) { var$9 = var$2.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$10 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; if (!(var$10 != 3 && var$10 != 4 ? 0 : 1)) { $var7 = 0.0; $var5 = 0; $var6 = 0; $var4 = $var2.$itemID; nms_Item_$callClinit(); if ($var4 == nms_Item_wheat.$itemID0) { $var7 = 2.0; $var5 = 60; $var6 = 3; } else if ($var4 != nms_Item_sugar.$itemID0) { if ($var4 != nms_Item_bread.$itemID0) { nms_Block_$callClinit(); if ($var4 == nms_Block_hay.$blockID) { $var7 = 20.0; $var5 = 180; } else if ($var4 == nms_Item_appleRed.$itemID0) { $var7 = 3.0; $var5 = 60; $var6 = 3; } else if ($var4 == nms_Item_goldenCarrot.$itemID0) { $var7 = 4.0; $var5 = 60; $var6 = 5; if (nms_EntityHorse_isTame($this) && !nms_EntityAgeable_getGrowingAge($this)) { $var3 = 1; nms_EntityAnimal_func_110196_bT($this); } } else if ($var4 == nms_Item_appleGold.$itemID0) { $var7 = 10.0; $var5 = 240; $var6 = 10; if (nms_EntityHorse_isTame($this) && !nms_EntityAgeable_getGrowingAge($this)) { $var3 = 1; nms_EntityAnimal_func_110196_bT($this); } } } else { $var7 = 7.0; $var5 = 180; $var6 = 3; } } else { $var7 = 1.0; $var5 = 30; $var6 = 3; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[134]; if (var$6 === null) { var$9 = var$2.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$10 = var$6.$value0; var$8 = var$2.$elementData.data; var$9 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$10) { var$2 = var$9.$key; if (var$6 !== var$2 && !(var$6 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$9 = var$9.$next3; } } var$16 = (var$9 === null ? null : var$9.$value1).$watchedObject.$value3; var$9 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$6 = $this.$attributeMap.$attributes; if (var$9 === null) { var$2 = var$6.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { d: { var$2 = var$9.$field_111115_a; if (!var$2.$hashCode1) { $var4 = 0; while (true) { if ($var4 >= var$2.$nativeString.length) break d; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } $var4 = var$2.$hashCode1; var$8 = var$6.$elementData.data; var$2 = var$8[$var4 & (var$8.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == $var4 && ju_HashMap_areEqualKeys(var$9, var$2.$key))) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$field_111133_g) { var$2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$2); var$2.$field_111133_g = 0; } if (var$16 < var$2.$field_111139_h && $var7 > 0.0) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[134]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$10 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { var$9 = var$2.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$16 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value3; if (var$16 > 0.0) { $var7 = var$16 + $var7; var$2 = $this.$dataWatcher; var$17 = 0.0; var$9 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$9 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, var$9); var$9 = var$9 === null ? null : var$9.$value1; if (var$9.$field_111133_g) { var$9.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$9); var$9.$field_111133_g = 0; } var$16 = var$9.$field_111139_h; if ($var7 >= var$17) var$17 = $var7 <= var$16 ? $var7 : var$16; var$12 = new jl_Float; var$12.$value3 = var$17; var$9 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[134]; if (var$11 === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$10 = var$11.$value0; var$8 = var$9.$elementData.data; var$9 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$10) { var$6 = var$9.$key; if (var$11 !== var$6 && !jl_Integer_equals(var$11, var$6) ? 0 : 1) break; } var$9 = var$9.$next3; } } var$6 = var$9 === null ? null : var$9.$value1; var$9 = var$6.$watchedObject; if (var$12 === var$9) $var3 = 1; else e: { if (var$9 instanceof jl_Float) { $var7 = var$12.$value3; var$17 = var$9.$value3; if ($var7 !== $var7 ? (var$17 === var$17 ? 0 : 1) : $rt_floatToRawIntBits($var7) != $rt_floatToRawIntBits(var$17) ? 0 : 1) { $var3 = 1; break e; } } $var3 = 0; } if (!$var3) { var$6.$watchedObject = var$12; var$6.$watched = 1; var$2.$objectChanged = 1; } } $var3 = 1; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[140]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { $var4 = jl_Integer_hashCode(var$6.$value0); var$8 = var$2.$elementData.data; var$2 = var$8[$var4 & (var$8.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == $var4 && ju_HashMap_areEqualKeys(var$6, var$2.$key))) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; $var4 = (var$2.$watchedObject.$value0 >= 0 ? 0 : 1) ? 0 : 1; if (!$var4 && $var5 > 0) { var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[140]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$10 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { var$9 = var$2.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; $var3 = var$2.$watchedObject.$value0 + ($var5 * 20 | 0) | 0; if ($var3 > 0) $var3 = 0; var$2 = $this.$dataWatcher; if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var3; } var$6 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[140]; if (var$12 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$10 = var$12.$value0; var$8 = var$6.$elementData.data; var$6 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$10) { var$11 = var$6.$key; if (var$12 !== var$11 && !jl_Integer_equals(var$12, var$11) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$11 = var$6 === null ? null : var$6.$value1; var$6 = var$11.$watchedObject; if (!(var$9 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$9.$value0 ? 1 : 0)) { var$11.$watchedObject = var$9; var$11.$watched = 1; var$2.$objectChanged = 1; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) var$2 = ju_HashMap_findNullKeyEntry(var$2); else { $var4 = jl_Integer_hashCode0(var$9); var$2 = ju_HashMap_findNonNullKeyEntry(var$2, var$9, $var4 & (var$2.$elementData.data.length - 1 | 0), $var4); } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value0 >= 0 ? 0 : 1)) { var$17 = $this.$field_98056_d * 1.0; $var7 = $this.$field_98057_e * 1.0; $ptr = 10; continue main; } $var4 = (ju_HashMap_get($this.$dataWatcher.$watchedObjects, jl_Integer_valueOf(12))).$watchedObject.$value0; var$16 = $var4 >= 0 ? 1.0 : 0.5 + ((-24000) - $var4 | 0) / (-24000.0) * 0.5; $var7 = $this.$field_98056_d * var$16; var$17 = $this.$field_98057_e * var$16; $ptr = 11; continue main; } if ($var6 > 0 && !(!$var3 && nms_EntityHorse_isTame($this)) && $var6 < nms_EntityHorse_getMaxTemper($this)) { $var3 = 1; nms_EntityHorse_increaseTemper($this, $var6); } if ($var3) nms_EntityHorse_func_110266_cB($this); } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$9 = var$2.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; $var4 = !(var$2.$watchedObject.$value0 & 2) ? 0 : 1; if (!$var4 && !$var3) { if (nms_ItemStack_func_111282_a($var2, $par1EntityPlayer, $this)) return 1; nms_EntityHorse_makeHorseRearWithSound($this); return 1; } f: { if (!$var3 && nms_EntityHorse_func_110229_cs($this) && !nms_EntityHorse_isChested($this)) { $var4 = $var2.$itemID; nms_Block_$callClinit(); if ($var4 == nms_Block_chest.$blockID) break f; } if (!$var3 && nms_EntityHorse_func_110253_bW($this) && !nms_EntityHorse_isHorseSaddled($this)) { $var4 = $var2.$itemID; nms_Item_$callClinit(); if ($var4 == nms_Item_saddle.$itemID0) { $ptr = 8; continue main; } } if (!$var3) break b; if (!$par1EntityPlayer.$capabilities.$isCreativeMode) { $var3 = $var2.$stackSize - 1 | 0; $var2.$stackSize = $var3; if (!$var3) { $par1EntityPlayer = $par1EntityPlayer.$inventory; $var3 = $par1EntityPlayer.$currentItem; var$2 = null; $ptr = 7; continue main; } } return 1; } nms_EntityHorse_setChested($this, 1); var$2 = $rt_s(2440); $var7 = 1.0; var$17 = (nle_EaglercraftRandom_nextFloat($this.$rand) - nle_EaglercraftRandom_nextFloat($this.$rand)) * 0.20000000298023224 + 1.0; $ptr = 6; continue main; } } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) var$2 = ju_HashMap_findNullKeyEntry(var$2); else { $var4 = jl_Integer_hashCode0(var$9); var$2 = ju_HashMap_findNonNullKeyEntry(var$2, var$9, $var4 & (var$2.$elementData.data.length - 1 | 0), $var4); } var$2 = var$2 === null ? null : var$2.$value1; $var3 = (var$2.$watchedObject.$value0 >= 0 ? 0 : 1) ? 0 : 1; if ($var3 && $this.$riddenByEntity === null) { if ($var2 !== null && nms_ItemStack_func_111282_a($var2, $par1EntityPlayer, $this)) return 1; $ptr = 4; continue main; } $ptr = 3; continue main; case 1: $tmp = nms_EntityAnimal_interact($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } $var3 = $tmp; return $var3; case 2: $tmp = nms_EntityAnimal_interact($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } $var3 = $tmp; return $var3; case 3: $tmp = nms_EntityAnimal_interact($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } $var3 = $tmp; return $var3; case 4: nms_EntityHorse_func_110237_h($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } return 1; case 5: nms_Minecraft_displayGuiScreen(var$6, var$9); if ($rt_suspending()) { break main; } return 1; case 6: nms_Entity_playSound($this, var$2, $var7, var$17); if ($rt_suspending()) { break main; } nms_EntityHorse_func_110226_cD($this); if (!1 && nms_EntityHorse_func_110253_bW($this) && !nms_EntityHorse_isHorseSaddled($this)) { $var4 = $var2.$itemID; nms_Item_$callClinit(); if ($var4 == nms_Item_saddle.$itemID0) { $ptr = 8; continue main; } } if (1) { if (!$par1EntityPlayer.$capabilities.$isCreativeMode) { $var3 = $var2.$stackSize - 1 | 0; $var2.$stackSize = $var3; if (!$var3) { $par1EntityPlayer = $par1EntityPlayer.$inventory; $var3 = $par1EntityPlayer.$currentItem; var$2 = null; $ptr = 7; continue main; } } return 1; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) var$2 = ju_HashMap_findNullKeyEntry(var$2); else { $var4 = jl_Integer_hashCode0(var$9); var$2 = ju_HashMap_findNonNullKeyEntry(var$2, var$9, $var4 & (var$2.$elementData.data.length - 1 | 0), $var4); } var$2 = var$2 === null ? null : var$2.$value1; $var3 = (var$2.$watchedObject.$value0 >= 0 ? 0 : 1) ? 0 : 1; if ($var3 && $this.$riddenByEntity === null) { if ($var2 !== null && nms_ItemStack_func_111282_a($var2, $par1EntityPlayer, $this)) return 1; $ptr = 4; continue main; } $ptr = 3; continue main; case 7: nms_InventoryPlayer_setInventorySlotContents($par1EntityPlayer, $var3, var$2); if ($rt_suspending()) { break main; } return 1; case 8: nms_EntityHorse_openGUI($this, $par1EntityPlayer); if ($rt_suspending()) { break main; } return 1; case 9: nms_Minecraft_displayGuiScreen(var$6, var$9); if ($rt_suspending()) { break main; } return 1; case 10: nms_Entity_setSize($this, var$17, $var7); if ($rt_suspending()) { break main; } $var3 = 1; if ($var6 > 0 && !(!$var3 && nms_EntityHorse_isTame($this)) && $var6 < nms_EntityHorse_getMaxTemper($this)) { $var3 = 1; nms_EntityHorse_increaseTemper($this, $var6); } if ($var3) nms_EntityHorse_func_110266_cB($this); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$9 = var$2.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; $var4 = !(var$2.$watchedObject.$value0 & 2) ? 0 : 1; if (!$var4 && !$var3) { if (nms_ItemStack_func_111282_a($var2, $par1EntityPlayer, $this)) return 1; nms_EntityHorse_makeHorseRearWithSound($this); return 1; } if (!$var3 && nms_EntityHorse_func_110229_cs($this) && !nms_EntityHorse_isChested($this)) { $var4 = $var2.$itemID; nms_Block_$callClinit(); if ($var4 == nms_Block_chest.$blockID) { nms_EntityHorse_setChested($this, 1); var$2 = $rt_s(2440); $var7 = 1.0; var$17 = (nle_EaglercraftRandom_nextFloat($this.$rand) - nle_EaglercraftRandom_nextFloat($this.$rand)) * 0.20000000298023224 + 1.0; $ptr = 6; continue main; } } if (!$var3 && nms_EntityHorse_func_110253_bW($this) && !nms_EntityHorse_isHorseSaddled($this)) { $var4 = $var2.$itemID; nms_Item_$callClinit(); if ($var4 == nms_Item_saddle.$itemID0) { $ptr = 8; continue main; } } if ($var3) { if (!$par1EntityPlayer.$capabilities.$isCreativeMode) { $var3 = $var2.$stackSize - 1 | 0; $var2.$stackSize = $var3; if (!$var3) { $par1EntityPlayer = $par1EntityPlayer.$inventory; $var3 = $par1EntityPlayer.$currentItem; var$2 = null; $ptr = 7; continue main; } } return 1; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) var$2 = ju_HashMap_findNullKeyEntry(var$2); else { $var4 = jl_Integer_hashCode0(var$9); var$2 = ju_HashMap_findNonNullKeyEntry(var$2, var$9, $var4 & (var$2.$elementData.data.length - 1 | 0), $var4); } var$2 = var$2 === null ? null : var$2.$value1; $var3 = (var$2.$watchedObject.$value0 >= 0 ? 0 : 1) ? 0 : 1; if ($var3 && $this.$riddenByEntity === null) { if ($var2 !== null && nms_ItemStack_func_111282_a($var2, $par1EntityPlayer, $this)) return 1; $ptr = 4; continue main; } $ptr = 3; continue main; case 11: nms_Entity_setSize($this, $var7, var$17); if ($rt_suspending()) { break main; } $var3 = 1; if ($var6 > 0 && !(!$var3 && nms_EntityHorse_isTame($this)) && $var6 < nms_EntityHorse_getMaxTemper($this)) { $var3 = 1; nms_EntityHorse_increaseTemper($this, $var6); } if ($var3) nms_EntityHorse_func_110266_cB($this); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$9 = var$2.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; $var4 = !(var$2.$watchedObject.$value0 & 2) ? 0 : 1; if (!$var4 && !$var3) { if (nms_ItemStack_func_111282_a($var2, $par1EntityPlayer, $this)) return 1; nms_EntityHorse_makeHorseRearWithSound($this); return 1; } if (!$var3 && nms_EntityHorse_func_110229_cs($this) && !nms_EntityHorse_isChested($this)) { $var4 = $var2.$itemID; nms_Block_$callClinit(); if ($var4 == nms_Block_chest.$blockID) { nms_EntityHorse_setChested($this, 1); var$2 = $rt_s(2440); $var7 = 1.0; var$17 = (nle_EaglercraftRandom_nextFloat($this.$rand) - nle_EaglercraftRandom_nextFloat($this.$rand)) * 0.20000000298023224 + 1.0; $ptr = 6; continue main; } } if (!$var3 && nms_EntityHorse_func_110253_bW($this) && !nms_EntityHorse_isHorseSaddled($this)) { $var4 = $var2.$itemID; nms_Item_$callClinit(); if ($var4 == nms_Item_saddle.$itemID0) { $ptr = 8; continue main; } } if ($var3) { if (!$par1EntityPlayer.$capabilities.$isCreativeMode) { $var3 = $var2.$stackSize - 1 | 0; $var2.$stackSize = $var3; if (!$var3) { $par1EntityPlayer = $par1EntityPlayer.$inventory; $var3 = $par1EntityPlayer.$currentItem; var$2 = null; $ptr = 7; continue main; } } return 1; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) var$2 = ju_HashMap_findNullKeyEntry(var$2); else { $var4 = jl_Integer_hashCode0(var$9); var$2 = ju_HashMap_findNonNullKeyEntry(var$2, var$9, $var4 & (var$2.$elementData.data.length - 1 | 0), $var4); } var$2 = var$2 === null ? null : var$2.$value1; $var3 = (var$2.$watchedObject.$value0 >= 0 ? 0 : 1) ? 0 : 1; if ($var3 && $this.$riddenByEntity === null) { if ($var2 !== null && nms_ItemStack_func_111282_a($var2, $par1EntityPlayer, $this)) return 1; $ptr = 4; continue main; } $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, $var4, $var2, $var3, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $var7, $var5, $var6, var$16, var$17, $ptr); }, nms_EntityHorse_func_110237_h = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityPlayer.$rotationYaw = $this.$rotationYaw; $par1EntityPlayer.$rotationPitch = $this.$rotationPitch; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = jl_Integer_hashCode(var$3.$value0); var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$3, var$2.$key))) { var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; var$2 = $this.$dataWatcher; var$4 = var$6 & (-33); if (var$4 >= (-128) && var$4 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$4 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$4; } var$7 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$9 = jl_Integer_hashCode(var$8.$value0); var$5 = var$7.$elementData.data; var$7 = var$5[var$9 & (var$5.length - 1 | 0)]; while (var$7 !== null && !(var$7.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$8, var$7.$key))) { var$7 = var$7.$next3; } } var$10 = var$7 === null ? null : var$7.$value1; var$7 = var$10.$watchedObject; if (!(var$3 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$3.$value0 ? 1 : 0)) { var$10.$watchedObject = var$3; var$10.$watched = 1; var$2.$objectChanged = 1; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$7 = var$2.$key; if (var$3 !== var$7 && !jl_Integer_equals(var$3, var$7) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$4 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; var$2 = $this.$dataWatcher; var$6 = var$4 & (-65); if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$8 = new jl_Integer; var$8.$value0 = var$6; } var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[144]; if (var$10 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$6 = var$10.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$6 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$7 = var$3.$key; if (var$10 !== var$7 && !jl_Integer_equals(var$10, var$7) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = var$3 === null ? null : var$3.$value1; var$3 = var$7.$watchedObject; if (!(var$8 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$8.$value0 ? 1 : 0)) { var$7.$watchedObject = var$8; var$7.$watched = 1; var$2.$objectChanged = 1; } if ($this.$worldObj.$isRemote) return; $ptr = 1; case 1: nms_Entity_mountEntity($par1EntityPlayer, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityHorse_func_110229_cs = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$6 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; return var$6 != 2 && var$6 != 1 ? 0 : 1; }, nms_EntityHorse_isMovementBlocked = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; a: { if ($this.$riddenByEntity !== null) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value0 & 4) ? 0 : 1) { var$6 = 1; break a; } } var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value0 & 32) ? 0 : 1)) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value0 & 64) ? 0 : 1)) { var$6 = 0; break a; } } var$6 = 1; } return var$6; }, nms_EntityHorse_isBreedingItem = ($this, $par1ItemStack) => { return 0; }; let nms_EntityHorse_onDeath = ($this, $par1DamageSource) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLivingBase_onDeath($this, $par1DamageSource); if ($rt_suspending()) { break main; } var$2 = $this.$worldObj.$isRemote; if (!var$2) { a: { $par1DamageSource = $this.$horseChest; if ($par1DamageSource !== null && !var$2) { var$2 = 0; var$3 = 0.0; var$4 = 138; while (true) { if (var$2 >= $par1DamageSource.$slotsCount) break a; var$5 = $par1DamageSource.$inventoryContents.data[var$2]; if (var$5 !== null && var$5.$stackSize) break; var$2 = var$2 + 1 | 0; } var$6 = new nms_EntityItem; var$7 = $this.$worldObj; var$8 = $this.$posX; var$9 = $this.$posY + var$3; var$10 = $this.$posZ; $ptr = 2; continue main; } } if (!$this.$worldObj.$isRemote) { $par1DamageSource = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) $par1DamageSource = ju_HashMap_findNullKeyEntry($par1DamageSource); else { var$4 = jl_Integer_hashCode0(var$6); $par1DamageSource = ju_HashMap_findNonNullKeyEntry($par1DamageSource, var$6, var$4 & ($par1DamageSource.$elementData.data.length - 1 | 0), var$4); } $par1DamageSource = $par1DamageSource === null ? null : $par1DamageSource.$value1; if (!($par1DamageSource.$watchedObject.$value0 & 8) ? 0 : 1) { nms_Block_$callClinit(); var$11 = nms_Block_chest.$blockID; $par1DamageSource = new nms_ItemStack; nms_ItemStack_$callClinit(); $par1DamageSource.$itemID = var$11; $par1DamageSource.$stackSize = 1; $par1DamageSource.$itemDamage = 0; var$6 = new nms_EntityItem; var$7 = $this.$worldObj; var$3 = $this.$posX; var$8 = $this.$posY + 0.0; var$9 = $this.$posZ; $ptr = 3; continue main; } } } return; case 2: nms_EntityItem__init_(var$6, var$7, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$12 = var$6.$dataWatcher; var$13 = var$12.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = ju_HashMap_entryByKey(var$13, jl_Integer_integerCache.data[var$4]); var$13 = var$7 === null ? null : var$7.$value1; if (!(var$5 !== var$13.$watchedObject ? 0 : 1)) { var$13.$watchedObject = var$5; var$13.$watched = 1; var$12.$objectChanged = 1; } var$5 = var$6.$dataWatcher; var$7 = var$5.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = ju_HashMap_entryByKey(var$7, jl_Integer_integerCache.data[var$4]); (var$7 === null ? null : var$7.$value1).$watched = 1; var$5.$objectChanged = 1; var$6.$delayBeforeCanPickup = 10; var$7 = $this.$worldObj; var$11 = nms_World_spawnEntityInWorld(var$7, var$6); var$12 = var$7.$entityList; ju_HashMap_putImpl(var$12.$backingMap, var$6, var$12); if (!var$11) { var$7 = var$7.$entitySpawnQueue; ju_HashMap_putImpl(var$7.$backingMap, var$6, var$7); } while (true) { while (true) { var$2 = var$2 + 1 | 0; if (var$2 >= $par1DamageSource.$slotsCount) { if (!$this.$worldObj.$isRemote) { $par1DamageSource = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) $par1DamageSource = ju_HashMap_findNullKeyEntry($par1DamageSource); else { var$4 = jl_Integer_hashCode0(var$6); $par1DamageSource = ju_HashMap_findNonNullKeyEntry($par1DamageSource, var$6, var$4 & ($par1DamageSource.$elementData.data.length - 1 | 0), var$4); } $par1DamageSource = $par1DamageSource === null ? null : $par1DamageSource.$value1; if (!($par1DamageSource.$watchedObject.$value0 & 8) ? 0 : 1) { nms_Block_$callClinit(); var$11 = nms_Block_chest.$blockID; $par1DamageSource = new nms_ItemStack; nms_ItemStack_$callClinit(); $par1DamageSource.$itemID = var$11; $par1DamageSource.$stackSize = 1; $par1DamageSource.$itemDamage = 0; var$6 = new nms_EntityItem; var$7 = $this.$worldObj; var$3 = $this.$posX; var$8 = $this.$posY + 0.0; var$9 = $this.$posZ; $ptr = 3; continue main; } } return; } var$5 = $par1DamageSource.$inventoryContents.data[var$2]; if (var$5 === null) continue; else break; } if (var$5.$stackSize) break; } var$6 = new nms_EntityItem; var$7 = $this.$worldObj; var$8 = $this.$posX; var$9 = $this.$posY + var$3; var$10 = $this.$posZ; continue main; case 3: nms_EntityItem__init_(var$6, var$7, var$3, var$8, var$9); if ($rt_suspending()) { break main; } var$5 = var$6.$dataWatcher; var$7 = nms_DataWatcher_getWatchedObject(var$5, 10); if (!jl_Object_equals($par1DamageSource, nms_WatchableObject_getObject(var$7))) { nms_WatchableObject_setObject(var$7, $par1DamageSource); nms_WatchableObject_setWatched(var$7, 1); var$5.$objectChanged = 1; } var$7 = var$6.$dataWatcher; nms_WatchableObject_setWatchableObjectWatched(nms_DataWatcher_getWatchedObject(var$7, 10), 1); var$7.$objectChanged = 1; var$6.$delayBeforeCanPickup = 10; $par1DamageSource = $this.$worldObj; var$2 = nms_World_spawnEntityInWorld($par1DamageSource, var$6); var$7 = $par1DamageSource.$entityList; ju_HashMap_putImpl(var$7.$backingMap, var$6, var$7); if (!var$2) { $par1DamageSource = $par1DamageSource.$entitySpawnQueue; ju_HashMap_putImpl($par1DamageSource.$backingMap, var$6, $par1DamageSource); } $par1DamageSource = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) $par1DamageSource = ju_HashMap_findNullKeyEntry($par1DamageSource); else { var$11 = jl_Integer_hashCode0(var$6); $par1DamageSource = ju_HashMap_findNonNullKeyEntry($par1DamageSource, var$6, var$11 & ($par1DamageSource.$elementData.data.length - 1 | 0), var$11); } var$2 = ($par1DamageSource === null ? null : $par1DamageSource.$value1).$watchedObject.$value0; $par1DamageSource = $this.$dataWatcher; var$2 = var$2 & (-9); if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } var$7 = $par1DamageSource.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[144]; if (var$12 === null) var$7 = ju_HashMap_findNullKeyEntry(var$7); else { var$11 = jl_Integer_hashCode0(var$12); var$7 = ju_HashMap_findNonNullKeyEntry(var$7, var$12, var$11 & (var$7.$elementData.data.length - 1 | 0), var$11); } var$12 = var$7 === null ? null : var$7.$value1; var$7 = var$12.$watchedObject; if (!(var$6 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$6.$value0 ? 1 : 0)) { var$12.$watchedObject = var$6; var$12.$watched = 1; $par1DamageSource.$objectChanged = 1; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntityHorse_onLivingUpdate = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, $var2, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var2 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $this.$rand; var$2 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$2; var$3 = 17; var$4 = Long_lo(Long_shru(var$2, var$3)); while (true) { var$5 = var$4 % 200 | 0; if (((var$4 - var$5 | 0) + 199 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$2; var$4 = Long_lo(Long_shru(var$2, var$3)); } if (!var$5) $this.$field_110278_bp = 1; $ptr = 1; case 1: nms_EntityAnimal_onLivingUpdate($this); if ($rt_suspending()) { break main; } if (!$this.$worldObj.$isRemote) { $var1 = $this.$rand; var$2 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$2; var$4 = Long_lo(Long_shru(var$2, var$3)); while (true) { var$5 = var$4 % 900 | 0; if (((var$4 - var$5 | 0) + 899 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$2; var$4 = Long_lo(Long_shru(var$2, var$3)); } if (!var$5 && !$this.$deathTime) { $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[134]; if (var$6 !== null) { var$4 = var$6.$value0; var$7 = $var1.$elementData.data; $var1 = var$7[var$4 & (var$7.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$4) { $var2 = $var1.$key; if (var$6 !== $var2 && !jl_Integer_equals(var$6, $var2) ? 0 : 1) break; } $var1 = $var1.$next3; } } else { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } var$9 = ($var1 === null ? null : $var1.$value1).$watchedObject.$value3; if (var$9 > 0.0) { var$10 = var$9 + 1.0; $var1 = $this.$dataWatcher; var$11 = 0.0; $var2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); $var2 = ju_HashMap_entryByKey($this.$attributeMap.$attributes, $var2); $var2 = $var2 === null ? null : $var2.$value1; if ($var2.$field_111133_g) { $var2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var2); $var2.$field_111133_g = 0; } var$9 = $var2.$field_111139_h; if (var$10 >= var$11) var$11 = var$10 <= var$9 ? var$10 : var$9; var$12 = new jl_Float; var$12.$value3 = var$11; $var2 = $var1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[134]; if (var$13 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$4 = var$13.$value0; var$7 = $var2.$elementData.data; $var2 = var$7[var$4 & (var$7.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$6 = $var2.$key; if (var$13 !== var$6 && !jl_Integer_equals(var$13, var$6) ? 0 : 1) break; } $var2 = $var2.$next3; } } var$6 = $var2 === null ? null : $var2.$value1; $var2 = var$6.$watchedObject; if (var$12 !== $var2) a: { if ($var2 instanceof jl_Float) { var$10 = var$12.$value3; var$11 = $var2.$value3; if (var$10 !== var$10 ? (var$11 === var$11 ? 0 : 1) : $rt_floatToRawIntBits(var$10) != $rt_floatToRawIntBits(var$11) ? 0 : 1) { var$14 = 1; break a; } } var$14 = 0; } else var$14 = 1; if (!var$14) { var$6.$watchedObject = var$12; var$6.$watched = 1; $var1.$objectChanged = 1; } } } $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 !== null) { var$5 = var$6.$value0; var$7 = $var1.$elementData.data; $var1 = var$7[var$5 & (var$7.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$5) { $var2 = $var1.$key; if (var$6 !== $var2 && !jl_Integer_equals(var$6, $var2) ? 0 : 1) break; } $var1 = $var1.$next3; } } else { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; var$14 = !($var1.$watchedObject.$value0 & 32) ? 0 : 1; if (!var$14 && $this.$riddenByEntity === null) { $var1 = $this.$rand; var$2 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$2; var$4 = Long_lo(Long_shru(var$2, var$3)); while (true) { var$5 = var$4 % 300 | 0; if (((var$4 - var$5 | 0) + 299 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$2; var$4 = Long_lo(Long_shru(var$2, var$3)); } if (!var$5) { $var1 = $this.$worldObj; var$15 = $this.$posX; var$5 = var$15 | 0; if (var$15 < var$5) var$5 = var$5 - 1 | 0; var$15 = $this.$posY; var$16 = var$15 | 0; if (var$15 < var$16) var$16 = var$16 - 1 | 0; var$14 = var$16 - 1 | 0; var$15 = $this.$posZ; var$4 = var$15 | 0; if (var$15 < var$4) var$4 = var$4 - 1 | 0; var$14 = nms_World_getBlockId($var1, var$5, var$14, var$4); nms_Block_$callClinit(); if (var$14 == nms_Block_grass.$blockID) { $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[144]; if ($var2 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$16 = jl_Integer_hashCode($var2.$value0); var$7 = $var1.$elementData.data; $var1 = var$7[var$16 & (var$7.length - 1 | 0)]; while ($var1 !== null && !($var1.$origKeyHash == var$16 && ju_HashMap_areEqualKeys($var2, $var1.$key))) { $var1 = $var1.$next3; } } var$16 = ($var1 === null ? null : $var1.$value1).$watchedObject.$value0; $var1 = $this.$dataWatcher; var$14 = var$16 | 32; if (var$14 >= (-128) && var$14 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$14 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$14; } var$13 = $var1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$13 = var$13.$elementData.data[0]; while (var$13 !== null && var$13.$key !== null) { var$13 = var$13.$next3; } } else { var$14 = jl_Integer_hashCode(var$6.$value0); var$7 = var$13.$elementData.data; var$13 = var$7[var$14 & (var$7.length - 1 | 0)]; while (var$13 !== null && !(var$13.$origKeyHash == var$14 && ju_HashMap_areEqualKeys(var$6, var$13.$key))) { var$13 = var$13.$next3; } } var$13 = var$13 === null ? null : var$13.$value1; var$6 = var$13.$watchedObject; if (!($var2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == $var2.$value0 ? 1 : 0)) { var$13.$watchedObject = $var2; var$13.$watched = 1; $var1.$objectChanged = 1; } } } } $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 !== null) { var$5 = var$6.$value0; var$7 = $var1.$elementData.data; $var1 = var$7[var$5 & (var$7.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$5) { $var2 = $var1.$key; if (var$6 !== $var2 && !jl_Integer_equals(var$6, $var2) ? 0 : 1) break; } $var1 = $var1.$next3; } } else { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; if (!($var1.$watchedObject.$value0 & 32) ? 0 : 1) { var$14 = $this.$eatingHaystackCounter + 1 | 0; $this.$eatingHaystackCounter = var$14; if (var$14 > 50) { $this.$eatingHaystackCounter = 0; $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$4 = jl_Integer_hashCode(var$6.$value0); var$7 = $var1.$elementData.data; $var1 = var$7[var$4 & (var$7.length - 1 | 0)]; while ($var1 !== null && !($var1.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$6, $var1.$key))) { $var1 = $var1.$next3; } } var$16 = ($var1 === null ? null : $var1.$value1).$watchedObject.$value0; $var1 = $this.$dataWatcher; var$14 = var$16 & (-33); if (var$14 >= (-128) && var$14 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$14 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$14; } var$6 = $var1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[144]; if (var$12 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$4 = jl_Integer_hashCode(var$12.$value0); var$7 = var$6.$elementData.data; var$6 = var$7[var$4 & (var$7.length - 1 | 0)]; while (var$6 !== null && !(var$6.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$12, var$6.$key))) { var$6 = var$6.$next3; } } var$13 = var$6 === null ? null : var$6.$value1; var$6 = var$13.$watchedObject; if (!($var2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == $var2.$value0 ? 1 : 0)) { var$13.$watchedObject = $var2; var$13.$watched = 1; $var1.$objectChanged = 1; } } } $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$5 = var$6.$value0; var$7 = $var1.$elementData.data; $var1 = var$7[var$5 & (var$7.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$5) { $var2 = $var1.$key; if (var$6 !== $var2 && !jl_Integer_equals(var$6, $var2) ? 0 : 1) break; } $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; if (!($var1.$watchedObject.$value0 & 16) ? 0 : 1) { $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[140]; if (var$6 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$4 = jl_Integer_hashCode(var$6.$value0); var$7 = $var1.$elementData.data; $var1 = var$7[var$4 & (var$7.length - 1 | 0)]; while ($var1 !== null && !($var1.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$6, $var1.$key))) { $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; if (!(($var1.$watchedObject.$value0 >= 0 ? 0 : 1) ? 0 : 1)) { $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$5 = var$6.$value0; var$7 = $var1.$elementData.data; $var1 = var$7[var$5 & (var$7.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$5) { $var2 = $var1.$key; if (var$6 !== $var2 && !jl_Integer_equals(var$6, $var2) ? 0 : 1) break; } $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; if (!(!($var1.$watchedObject.$value0 & 32) ? 0 : 1)) { $var1 = nms_EntityHorse_getClosestHorse($this, $this, 16.0); if ($var1 !== null) { var$15 = $this.$posX - $var1.$posX; var$17 = $this.$posY - $var1.$posY; var$18 = $this.$posZ - $var1.$posZ; if (var$15 * var$15 + var$17 * var$17 + var$18 * var$18 > 4.0) $this.$pathToEntity = nms_World_getPathEntityToEntity($this.$worldObj, $this, $var1, 16.0, 1, 0, 0, 1); } } } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, $var2, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityHorse_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLivingBase_onUpdate($this); if ($rt_suspending()) { break main; } if ($this.$worldObj.$isRemote) { if ($this.$worldObj.$isRemote) { var$1 = $this.$dataWatcher; if (var$1.$objectChanged) { var$1.$objectChanged = 0; $this.$field_110286_bQ = null; } } var$2 = $this.$openMouthCounter; if (var$2 > 0) { var$2 = var$2 + 1 | 0; $this.$openMouthCounter = var$2; if (var$2 > 30) { $this.$openMouthCounter = 0; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$4 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$6 = var$1.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$7 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$2 = var$7 & (-129); if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 !== null) { var$4 = var$8.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$4) { var$9 = var$3.$key; if (var$8 !== var$9 && !(var$8 !== var$9 ? (var$9 instanceof jl_Integer && var$9.$value0 == var$4 ? 1 : 0) : 1) ? 0 : 1) break; } var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } var$9 = var$3 === null ? null : var$3.$value1; var$3 = var$9.$watchedObject; if (!(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6.$value0 ? 1 : 0)) { var$9.$watchedObject = var$6; var$9.$watched = 1; var$1.$objectChanged = 1; } } } if (!$this.$worldObj.$isRemote) { var$2 = $this.$jumpRearingCounter; if (var$2 > 0) { var$2 = var$2 + 1 | 0; $this.$jumpRearingCounter = var$2; if (var$2 > 20) { $this.$jumpRearingCounter = 0; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 !== null) { var$4 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$6 = var$1.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$1 = var$1.$next3; } } else { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } var$7 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$2 = var$7 & (-65); if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 !== null) { var$4 = var$8.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$4) { var$9 = var$3.$key; if (var$8 !== var$9 && !jl_Integer_equals(var$8, var$9) ? 0 : 1) break; } var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } var$9 = var$3 === null ? null : var$3.$value1; var$3 = var$9.$watchedObject; if (!(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6.$value0 ? 1 : 0)) { var$9.$watchedObject = var$6; var$9.$watched = 1; var$1.$objectChanged = 1; } } } } var$2 = $this.$field_110278_bp; if (var$2 > 0) { var$2 = var$2 + 1 | 0; $this.$field_110278_bp = var$2; if (var$2 > 8) $this.$field_110278_bp = 0; } var$2 = $this.$field_110279_bq; if (var$2 > 0) { var$2 = var$2 + 1 | 0; $this.$field_110279_bq = var$2; if (var$2 > 300) $this.$field_110279_bq = 0; } $this.$prevHeadLean = $this.$headLean; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$10 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$10) { var$6 = var$1.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value0 & 32) ? 0 : 1)) { var$11 = $this.$headLean; var$12 = var$11 + (0.0 - var$11) * 0.4000000059604645 - 0.05000000074505806; $this.$headLean = var$12; if (var$12 < 0.0) $this.$headLean = 0.0; } else { var$12 = $this.$headLean; var$12 = var$12 + (1.0 - var$12) * 0.4000000059604645 + 0.05000000074505806; $this.$headLean = var$12; if (var$12 > 1.0) $this.$headLean = 1.0; } $this.$prevRearingAmount = $this.$rearingAmount; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$10 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$10) { var$6 = var$1.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value0 & 64) ? 0 : 1) { $this.$headLean = 0.0; $this.$prevHeadLean = 0.0; var$12 = $this.$rearingAmount; var$12 = var$12 + (1.0 - var$12) * 0.4000000059604645 + 0.05000000074505806; $this.$rearingAmount = var$12; if (var$12 > 1.0) $this.$rearingAmount = 1.0; } else { $this.$field_110294_bI = 0; var$12 = $this.$rearingAmount; var$12 = var$12 + (0.800000011920929 * var$12 * var$12 * var$12 - var$12) * 0.6000000238418579 - 0.05000000074505806; $this.$rearingAmount = var$12; if (var$12 < 0.0) $this.$rearingAmount = 0.0; } $this.$prevMouthOpenness = $this.$mouthOpenness; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$10 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$10) { var$6 = var$1.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value0 & 128) ? 0 : 1)) { var$12 = $this.$mouthOpenness; var$12 = var$12 + (0.0 - var$12) * 0.699999988079071 - 0.05000000074505806; $this.$mouthOpenness = var$12; if (var$12 < 0.0) $this.$mouthOpenness = 0.0; } else { var$12 = $this.$mouthOpenness; var$12 = var$12 + (1.0 - var$12) * 0.699999988079071 + 0.05000000074505806; $this.$mouthOpenness = var$12; if (var$12 > 1.0) $this.$mouthOpenness = 1.0; } return; } $ptr = 2; case 2: nms_EntityCreature_func_110159_bB($this); if ($rt_suspending()) { break main; } if ($this.$worldObj.$isRemote) { var$1 = $this.$dataWatcher; if (var$1.$objectChanged) { var$1.$objectChanged = 0; $this.$field_110286_bQ = null; } } var$2 = $this.$openMouthCounter; if (var$2 > 0) { var$2 = var$2 + 1 | 0; $this.$openMouthCounter = var$2; if (var$2 > 30) { $this.$openMouthCounter = 0; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$4 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$6 = var$1.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$7 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$2 = var$7 & (-129); if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 !== null) { var$4 = var$8.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$4) { var$9 = var$3.$key; if (var$8 !== var$9 && !(var$8 !== var$9 ? (var$9 instanceof jl_Integer && var$9.$value0 == var$4 ? 1 : 0) : 1) ? 0 : 1) break; } var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } var$9 = var$3 === null ? null : var$3.$value1; var$3 = var$9.$watchedObject; if (!(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6.$value0 ? 1 : 0)) { var$9.$watchedObject = var$6; var$9.$watched = 1; var$1.$objectChanged = 1; } } } if (!$this.$worldObj.$isRemote) { var$2 = $this.$jumpRearingCounter; if (var$2 > 0) { var$2 = var$2 + 1 | 0; $this.$jumpRearingCounter = var$2; if (var$2 > 20) { $this.$jumpRearingCounter = 0; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 !== null) { var$4 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$6 = var$1.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$1 = var$1.$next3; } } else { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } var$7 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value0; var$1 = $this.$dataWatcher; var$2 = var$7 & (-65); if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 !== null) { var$4 = var$8.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$4) { var$9 = var$3.$key; if (var$8 !== var$9 && !jl_Integer_equals(var$8, var$9) ? 0 : 1) break; } var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } var$9 = var$3 === null ? null : var$3.$value1; var$3 = var$9.$watchedObject; if (!(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6.$value0 ? 1 : 0)) { var$9.$watchedObject = var$6; var$9.$watched = 1; var$1.$objectChanged = 1; } } } } var$2 = $this.$field_110278_bp; if (var$2 > 0) { var$2 = var$2 + 1 | 0; $this.$field_110278_bp = var$2; if (var$2 > 8) $this.$field_110278_bp = 0; } var$2 = $this.$field_110279_bq; if (var$2 > 0) { var$2 = var$2 + 1 | 0; $this.$field_110279_bq = var$2; if (var$2 > 300) $this.$field_110279_bq = 0; } $this.$prevHeadLean = $this.$headLean; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$10 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$10) { var$6 = var$1.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value0 & 32) ? 0 : 1)) { var$11 = $this.$headLean; var$12 = var$11 + (0.0 - var$11) * 0.4000000059604645 - 0.05000000074505806; $this.$headLean = var$12; if (var$12 < 0.0) $this.$headLean = 0.0; } else { var$12 = $this.$headLean; var$12 = var$12 + (1.0 - var$12) * 0.4000000059604645 + 0.05000000074505806; $this.$headLean = var$12; if (var$12 > 1.0) $this.$headLean = 1.0; } $this.$prevRearingAmount = $this.$rearingAmount; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$10 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$10) { var$6 = var$1.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value0 & 64) ? 0 : 1) { $this.$headLean = 0.0; $this.$prevHeadLean = 0.0; var$12 = $this.$rearingAmount; var$12 = var$12 + (1.0 - var$12) * 0.4000000059604645 + 0.05000000074505806; $this.$rearingAmount = var$12; if (var$12 > 1.0) $this.$rearingAmount = 1.0; } else { $this.$field_110294_bI = 0; var$12 = $this.$rearingAmount; var$12 = var$12 + (0.800000011920929 * var$12 * var$12 * var$12 - var$12) * 0.6000000238418579 - 0.05000000074505806; $this.$rearingAmount = var$12; if (var$12 < 0.0) $this.$rearingAmount = 0.0; } $this.$prevMouthOpenness = $this.$mouthOpenness; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$10 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$10) { var$6 = var$1.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value0 & 128) ? 0 : 1)) { var$12 = $this.$mouthOpenness; var$12 = var$12 + (0.0 - var$12) * 0.699999988079071 - 0.05000000074505806; $this.$mouthOpenness = var$12; if (var$12 < 0.0) $this.$mouthOpenness = 0.0; } else { var$12 = $this.$mouthOpenness; var$12 = var$12 + (1.0 - var$12) * 0.699999988079071 + 0.05000000074505806; $this.$mouthOpenness = var$12; if (var$12 > 1.0) $this.$mouthOpenness = 1.0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_EntityHorse_func_110200_cJ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { if ($this.$riddenByEntity === null && $this.$ridingEntity === null) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 !== null) { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } else { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value0 & 2) ? 0 : 1) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[140]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$6 = jl_Integer_hashCode(var$2.$value0); var$4 = var$1.$elementData.data; var$1 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$1 !== null && !(var$1.$origKeyHash == var$6 && ju_HashMap_areEqualKeys(var$2, var$1.$key))) { var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if ((var$1.$watchedObject.$value0 >= 0 ? 0 : 1) ? 0 : 1) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$6 = jl_Integer_hashCode(var$2.$value0); var$4 = var$1.$elementData.data; var$1 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$1 !== null && !(var$1.$origKeyHash == var$6 && ju_HashMap_areEqualKeys(var$2, var$1.$key))) { var$1 = var$1.$next3; } } var$7 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; var$8 = var$7 != 3 && var$7 != 4 ? 0 : 1; b: { if (!var$8) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$6 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$6) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value2 != 2) { var$8 = 0; break b; } } var$8 = 1; } if (!var$8) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$6 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$6) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$9 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value3; var$1 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$5 = $this.$attributeMap.$attributes; if (var$1 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { c: { var$2 = var$1.$field_111115_a; if (!var$2.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$2.$nativeString.length) break c; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$6 = var$2.$hashCode1; var$4 = var$5.$elementData.data; var$5 = var$4[var$6 & (var$4.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$6 && ju_HashMap_areEqualKeys(var$1, var$5.$key))) { var$5 = var$5.$next3; } } var$1 = var$5 === null ? null : var$5.$value1; if (var$1.$field_111133_g) { var$1.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$1); var$1.$field_111133_g = 0; } if (var$9 >= var$1.$field_111139_h) { var$8 = 1; break a; } } } } } var$8 = 0; } return var$8; }, nms_EntityHorse_makeHorseRearWithSound = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; if (!$this.$worldObj.$isRemote) { $this.$jumpRearingCounter = 1; $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var1 = ju_HashMap_entryByKey($var1, jl_Integer_integerCache.data[144]); var$2 = ($var1 === null ? null : $var1.$value1).$watchedObject.$value0; $var1 = $this.$dataWatcher; var$3 = var$2 & (-33); if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$4 = new jl_Integer; jl_Object__init_(var$4); var$4.$value0 = var$3; } var$5 = $var1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = ju_HashMap_entryByKey(var$5, jl_Integer_integerCache.data[144]); var$6 = var$5 === null ? null : var$5.$value1; var$5 = var$6.$watchedObject; if (!(var$4 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$4.$value0 ? 1 : 0)) { var$6.$watchedObject = var$4; var$6.$watched = 1; $var1.$objectChanged = 1; } $var1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$2 = jl_Integer_hashCode(var$4.$value0); var$7 = $var1.$elementData.data; $var1 = var$7[var$2 & (var$7.length - 1 | 0)]; while ($var1 !== null && !($var1.$origKeyHash == var$2 && ju_HashMap_areEqualKeys(var$4, $var1.$key))) { $var1 = $var1.$next3; } } var$2 = ($var1 === null ? null : $var1.$value1).$watchedObject.$value0; $var1 = $this.$dataWatcher; var$3 = var$2 | 64; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$3; } var$5 = $var1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$2 = jl_Integer_hashCode(var$8.$value0); var$7 = var$5.$elementData.data; var$5 = var$7[var$2 & (var$7.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$2 && ju_HashMap_areEqualKeys(var$8, var$5.$key))) { var$5 = var$5.$next3; } } var$6 = var$5 === null ? null : var$5.$value1; var$5 = var$6.$watchedObject; if (!(var$4 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$4.$value0 ? 1 : 0)) { var$6.$watchedObject = var$4; var$6.$watched = 1; $var1.$objectChanged = 1; } } $var1 = nms_EntityHorse_getAngrySoundName($this); if ($var1 !== null) { var$9 = nms_EntityLivingBase_getSoundPitch($this); nms_World_playSoundAtEntity($this.$worldObj, $this, $var1, 0.800000011920929, var$9); } }, nms_EntityHorse_moveEntityWithHeading = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var8, $var7, var$12, $var3, $var4, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$12 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$riddenByEntity !== null) { var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !jl_Integer_equals(var$4, var$7) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (!(var$3.$watchedObject.$value0 & 4) ? 0 : 1) { var$3 = $this.$riddenByEntity; $par1 = var$3.$rotationYaw; $this.$rotationYaw = $par1; $this.$prevRotationYaw = $par1; $par2 = var$3.$rotationPitch * 0.5; $this.$rotationPitch = $par2; $par1 = $par1 % 360.0; $this.$rotationYaw = $par1; $this.$rotationPitch = $par2 % 360.0; $this.$renderYawOffset = $par1; $this.$rotationYawHead = $par1; var$3 = var$3; $par1 = var$3.$moveStrafing * 0.5; $par2 = var$3.$moveForward; if ($par2 <= 0.0) { $par2 = $par2 * 0.25; $this.$field_110285_bP = 0; } if ($this.$onGround && $this.$jumpPower === 0.0) { var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !jl_Integer_equals(var$4, var$7) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if ((!(var$3.$watchedObject.$value0 & 64) ? 0 : 1) && !$this.$field_110294_bI) { $par1 = 0.0; $par2 = 0.0; } } if ($this.$jumpPower > 0.0 && !$this.$horseJumping && $this.$onGround) { var$3 = nms_EntityHorse_horseJumpStrength; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$7 = $this.$attributeMap.$attributes; if (var$3 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { a: { var$4 = var$3.$field_111115_a; if (!var$4.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = var$4.$hashCode1; var$6 = var$7.$elementData.data; var$7 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$7 !== null && !(var$7.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$3, var$7.$key))) { var$7 = var$7.$next3; } } var$3 = var$7 === null ? null : var$7.$value1; if (var$3.$field_111133_g) { var$3.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$3); var$3.$field_111133_g = 0; } $this.$motionY = var$3.$field_111139_h * $this.$jumpPower; nms_Potion_$callClinit(); var$3 = nms_Potion_jump; var$7 = $this.$activePotionsMap; var$8 = var$3.$id1; if (var$8 >= (-128) && var$8 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$8 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$8; } if (var$3 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$9 = var$3.$value0; var$6 = var$7.$elementData.data; var$7 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { var$4 = var$7.$key; if (var$3 !== var$4 && !(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$7 = var$7.$next3; } } if (var$7 === null ? 0 : 1) { $var8 = $this.$motionY; var$3 = nms_Potion_jump; var$7 = $this.$activePotionsMap; var$8 = var$3.$id1; if (var$8 >= (-128) && var$8 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$8 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$8; } if (var$3 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$9 = var$3.$value0; var$6 = var$7.$elementData.data; var$7 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { var$4 = var$7.$key; if (var$3 !== var$4 && !(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$7 = var$7.$next3; } } $this.$motionY = $var8 + ((var$7 === null ? null : var$7.$value1).$amplifier + 1 | 0) * 0.10000000149011612; } $this.$horseJumping = 1; $this.$isAirBorne = 1; if ($par2 > 0.0) { $var7 = $this.$rotationYaw * 3.1415927410125732 / 180.0; var$6 = nms_MathHelper_SIN_TABLE.data; var$12 = $var7 * 10430.3779296875; $var3 = var$6[(var$12 | 0) & 65535]; $var4 = var$6[(var$12 + 16384.0 | 0) & 65535]; $var8 = $this.$motionX; $var7 = (-0.4000000059604645) * $var3; var$12 = $this.$jumpPower; $this.$motionX = $var8 + $var7 * var$12; $this.$motionZ = $this.$motionZ + 0.4000000059604645 * $var4 * var$12; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(2441), 0.4000000059604645, 1.0); } $this.$jumpPower = 0.0; } $this.$stepHeight = 1.0; $this.$jumpMovementFactor = $this.$landMovementFactor * 0.10000000149011612; if ($this.$worldObj.$isRemote) { if ($this.$onGround) { $this.$jumpPower = 0.0; $this.$horseJumping = 0; } $this.$prevLimbSwingAmount = $this.$limbSwingAmount; $var8 = $this.$posX - $this.$prevPosX; $var5 = $this.$posZ - $this.$prevPosZ; $var7 = jl_Math_sqrt($var8 * $var8 + $var5 * $var5) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $par1 = $this.$limbSwingAmount; $par1 = $par1 + ($var7 - $par1) * 0.4000000059604645; $this.$limbSwingAmount = $par1; $this.$limbSwing = $this.$limbSwing + $par1; return; } var$3 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$7 = $this.$attributeMap.$attributes; if (var$3 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { b: { var$4 = var$3.$field_111115_a; if (!var$4.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$4.$nativeString.length) break b; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = var$4.$hashCode1; var$6 = var$7.$elementData.data; var$7 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { var$4 = var$7.$key; if (var$3 !== var$4 && !jl_Object_equals(var$3, var$4) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$3 = var$7 === null ? null : var$7.$value1; if (var$3.$field_111133_g) { var$3.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$3); var$3.$field_111133_g = 0; } $var7 = var$3.$field_111139_h; $this.$landMovementFactor = $var7; $this.$moveForward = $var7; $ptr = 2; continue main; } } $this.$stepHeight = 0.5; $this.$jumpMovementFactor = 0.019999999552965164; $ptr = 1; case 1: nms_EntityLivingBase_moveEntityWithHeading($this, $par1, $par2); if ($rt_suspending()) { break main; } return; case 2: nms_EntityLivingBase_moveEntityWithHeading($this, $par1, $par2); if ($rt_suspending()) { break main; } if ($this.$onGround) { $this.$jumpPower = 0.0; $this.$horseJumping = 0; } $this.$prevLimbSwingAmount = $this.$limbSwingAmount; $var8 = $this.$posX - $this.$prevPosX; $var5 = $this.$posZ - $this.$prevPosZ; $var7 = jl_Math_sqrt($var8 * $var8 + $var5 * $var5) * 4.0; if ($var7 > 1.0) $var7 = 1.0; $par1 = $this.$limbSwingAmount; $par1 = $par1 + ($var7 - $par1) * 0.4000000059604645; $this.$limbSwingAmount = $par1; $this.$limbSwing = $this.$limbSwing + $par1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var8, $var7, var$12, $var3, $var4, $var5, $ptr); }, nms_EntityHorse_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let $var5, var$3, var$4, var$5, $var3, var$7, var$8, var$9, $var2, $var4, var$12, var$13; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); $var5 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[140]; if (var$3 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$4 = jl_Integer_hashCode(var$3.$value0); var$5 = $var5.$elementData.data; $var5 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var5 !== null && !($var5.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$3, $var5.$key))) { $var5 = $var5.$next3; } } $var3 = ($var5 === null ? null : $var5.$value1).$watchedObject.$value0; var$7 = $par1NBTTagCompound.$tagMap; $var5 = new nms_NBTTagInt; $var5.$name = $rt_s(1867); $var5.$data0 = $var3; ju_HashMap_putImpl(var$7, $rt_s(1867), $var5); $var3 = $this.$inLove; var$7 = $par1NBTTagCompound.$tagMap; $var5 = new nms_NBTTagInt; $var5.$name = $rt_s(1868); $var5.$data0 = $var3; ju_HashMap_putImpl(var$7, $rt_s(1868), $var5); $var5 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 !== null) { var$8 = var$3.$value0; var$5 = $var5.$elementData.data; $var5 = var$5[var$8 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$8) { var$7 = $var5.$key; if (var$3 !== var$7 && !jl_Integer_equals(var$3, var$7) ? 0 : 1) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; $var3 = (!(!($var5.$watchedObject.$value0 & 32) ? 0 : 1) ? 0 : 1) << 24 >> 24; var$7 = $par1NBTTagCompound.$tagMap; $var5 = new nms_NBTTagByte; $var5.$name = $rt_s(2442); $var5.$data = $var3; ju_HashMap_putImpl(var$7, $rt_s(2442), $var5); $var5 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$9 = var$3.$value0; var$5 = $var5.$elementData.data; $var5 = var$5[var$9 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$9) { var$7 = $var5.$key; if (var$3 !== var$7 && !jl_Integer_equals(var$3, var$7) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; $var3 = (!(!($var5.$watchedObject.$value0 & 8) ? 0 : 1) ? 0 : 1) << 24 >> 24; var$7 = $par1NBTTagCompound.$tagMap; $var5 = new nms_NBTTagByte; $var5.$name = $rt_s(2443); $var5.$data = $var3; ju_HashMap_putImpl(var$7, $rt_s(2443), $var5); $var3 = (!$this.$hasReproduced ? 0 : 1) << 24 >> 24; var$7 = $par1NBTTagCompound.$tagMap; $var5 = new nms_NBTTagByte; $var5.$name = $rt_s(2444); $var5.$data = $var3; ju_HashMap_putImpl(var$7, $rt_s(2444), $var5); $var5 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$8 = var$3.$value0; var$5 = $var5.$elementData.data; $var5 = var$5[var$8 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$8) { var$7 = $var5.$key; if (var$3 !== var$7 && !jl_Integer_equals(var$3, var$7) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; $var3 = (!(!($var5.$watchedObject.$value0 & 16) ? 0 : 1) ? 0 : 1) << 24 >> 24; var$7 = $par1NBTTagCompound.$tagMap; $var5 = new nms_NBTTagByte; $var5.$name = $rt_s(2445); $var5.$data = $var3; ju_HashMap_putImpl(var$7, $rt_s(2445), $var5); $var5 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[147]; if (var$3 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$4 = var$3.$value0; var$5 = $var5.$elementData.data; $var5 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$4) { var$7 = $var5.$key; if (var$3 !== var$7 && !(var$3 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var3 = ($var5 === null ? null : $var5.$value1).$watchedObject.$value2; var$7 = $par1NBTTagCompound.$tagMap; $var5 = new nms_NBTTagInt; $var5.$name = $rt_s(2446); $var5.$data0 = $var3; ju_HashMap_putImpl(var$7, $rt_s(2446), $var5); $var5 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[148]; if (var$3 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$4 = var$3.$value0; var$5 = $var5.$elementData.data; $var5 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$4) { var$7 = $var5.$key; if (var$3 !== var$7 && !(var$3 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var3 = ($var5 === null ? null : $var5.$value1).$watchedObject.$value0; var$7 = $par1NBTTagCompound.$tagMap; $var5 = new nms_NBTTagInt; $var5.$name = $rt_s(2447); $var5.$data0 = $var3; ju_HashMap_putImpl(var$7, $rt_s(2447), $var5); $var3 = $this.$temper; var$7 = $par1NBTTagCompound.$tagMap; $var5 = new nms_NBTTagInt; $var5.$name = $rt_s(2448); $var5.$data0 = $var3; ju_HashMap_putImpl(var$7, $rt_s(2448), $var5); $var5 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$8 = var$3.$value0; var$5 = $var5.$elementData.data; $var5 = var$5[var$8 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$8) { var$7 = $var5.$key; if (var$3 !== var$7 && !jl_Integer_equals(var$3, var$7) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; $var3 = (!(!($var5.$watchedObject.$value0 & 2) ? 0 : 1) ? 0 : 1) << 24 >> 24; var$7 = $par1NBTTagCompound.$tagMap; $var5 = new nms_NBTTagByte; $var5.$name = $rt_s(2449); $var5.$data = $var3; ju_HashMap_putImpl(var$7, $rt_s(2449), $var5); $var5 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[149]; if (var$3 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$4 = var$3.$value0; var$5 = $var5.$elementData.data; $var5 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$4) { var$7 = $var5.$key; if (var$3 !== var$7 && !(var$3 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$3 = ($var5 === null ? null : $var5.$value1).$watchedObject; var$7 = $par1NBTTagCompound.$tagMap; $var5 = new nms_NBTTagString; $var5.$name = $rt_s(2450); $var5.$data1 = var$3; if (var$3 === null) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $var2.$message = $rt_s(186); $rt_throw($var2); } ju_HashMap_putImpl(var$7, $rt_s(2450), $var5); $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$8 = var$7.$value0; var$5 = $var2.$elementData.data; $var2 = var$5[var$8 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { $var5 = $var2.$key; if (var$7 !== $var5 && !jl_Integer_equals(var$7, $var5) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if (!($var2.$watchedObject.$value0 & 8) ? 0 : 1) { $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); $var5 = new ju_ArrayList; $var5.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $var5; $var3 = 2; while (true) { $var5 = $this.$horseChest; if ($var3 >= $var5.$slotsCount) break; $var4 = $var5.$inventoryContents.data[$var3]; if ($var4 !== null) { $var5 = new nms_NBTTagCompound; $var5.$name = $rt_s(18); var$12 = new ju_HashMap; var$9 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, var$9); var$5 = var$13.data; var$12.$elementData = var$13; var$12.$loadFactor = 0.75; var$12.$threshold = var$5.length * 0.75 | 0; $var5.$tagMap = var$12; var$9 = $var3 << 24 >> 24; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1315); var$3.$data = var$9; ju_HashMap_putImpl(var$12, $rt_s(1315), var$3); var$9 = $var4.$itemID << 16 >> 16; var$12 = $var5.$tagMap; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(1243); var$3.$data2 = var$9; ju_HashMap_putImpl(var$12, $rt_s(1243), var$3); var$9 = $var4.$stackSize << 24 >> 24; var$12 = $var5.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1271); var$3.$data = var$9; ju_HashMap_putImpl(var$12, $rt_s(1271), var$3); var$9 = $var4.$itemDamage << 16 >> 16; var$12 = $var5.$tagMap; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(1272); var$3.$data2 = var$9; ju_HashMap_putImpl(var$12, $rt_s(1272), var$3); var$7 = $var4.$stackTagCompound; if (var$7 !== null) { var$12 = $var5.$tagMap; var$7.$name = $rt_s(1273); ju_HashMap_putImpl(var$12, $rt_s(1273), var$7); } $var2.$tagType = 10; var$7 = $var2.$tagList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$4 = var$7.$size0; var$7.$size0 = var$4 + 1 | 0; var$5[var$4] = $var5; var$7.$modCount = var$7.$modCount + 1 | 0; } $var3 = $var3 + 1 | 0; } var$7 = $par1NBTTagCompound.$tagMap; $var2.$name = $rt_s(2451); ju_HashMap_putImpl(var$7, $rt_s(2451), $var2); } var$5 = $this.$horseChest.$inventoryContents.data; if (var$5[1] !== null) { $var4 = var$5[1]; $var5 = new nms_NBTTagCompound; $var5.$name = $rt_s(2452); var$12 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$5 = var$13.data; var$12.$elementData = var$13; var$12.$loadFactor = 0.75; var$12.$threshold = var$5.length * 0.75 | 0; $var5.$tagMap = var$12; $var3 = $var4.$itemID << 16 >> 16; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(1243); var$3.$data2 = $var3; ju_HashMap_putImpl(var$12, $rt_s(1243), var$3); $var3 = $var4.$stackSize << 24 >> 24; var$12 = $var5.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1271); var$3.$data = $var3; ju_HashMap_putImpl(var$12, $rt_s(1271), var$3); $var3 = $var4.$itemDamage << 16 >> 16; var$12 = $var5.$tagMap; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(1272); var$3.$data2 = $var3; ju_HashMap_putImpl(var$12, $rt_s(1272), var$3); var$7 = $var4.$stackTagCompound; if (var$7 !== null) { var$12 = $var5.$tagMap; var$7.$name = $rt_s(1273); ju_HashMap_putImpl(var$12, $rt_s(1273), var$7); } var$7 = $par1NBTTagCompound.$tagMap; $var5.$name = $rt_s(2452); ju_HashMap_putImpl(var$7, $rt_s(2452), $var5); } var$5 = $this.$horseChest.$inventoryContents.data; if (var$5[0] !== null) { $var4 = var$5[0]; var$7 = new nms_NBTTagCompound; var$7.$name = $rt_s(2453); var$12 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$5 = var$13.data; var$12.$elementData = var$13; var$12.$loadFactor = 0.75; var$12.$threshold = var$5.length * 0.75 | 0; var$7.$tagMap = var$12; $var3 = $var4.$itemID << 16 >> 16; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(1243); var$3.$data2 = $var3; ju_HashMap_putImpl(var$12, $rt_s(1243), var$3); $var3 = $var4.$stackSize << 24 >> 24; var$12 = var$7.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1271); var$3.$data = $var3; ju_HashMap_putImpl(var$12, $rt_s(1271), var$3); $var3 = $var4.$itemDamage << 16 >> 16; var$12 = var$7.$tagMap; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(1272); var$3.$data2 = $var3; ju_HashMap_putImpl(var$12, $rt_s(1272), var$3); $var5 = $var4.$stackTagCompound; if ($var5 !== null) { var$12 = var$7.$tagMap; $var5.$name = $rt_s(1273); ju_HashMap_putImpl(var$12, $rt_s(1273), $var5); } $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; var$7.$name = $rt_s(2453); ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(2453), var$7); } }, nms_EntityHorse_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let $var3, $var6, var$4, $var5, $var7, var$7, var$8, $var4, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var4 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();var$4 = $thread.pop();$var6 = $thread.pop();$var3 = $thread.pop();$par1NBTTagCompound = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityLiving_readEntityFromNBT($this, $par1NBTTagCompound); if ($rt_suspending()) { break main; } $var3 = $par1NBTTagCompound.$tagMap; $var6 = jl_String_hashCode($rt_s(1867)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { $var5 = $var3.$key; if ($rt_s(1867) !== $var5 && !jl_String_equals($rt_s(1867), $var5) ? 0 : 1) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) $var6 = 0; else { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(1867) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var6 = jl_String_hashCode($rt_s(1867)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { $var5 = $var3.$key; if ($rt_s(1867) !== $var5 && !jl_String_equals($rt_s(1867), $var5) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var6 = ($var3 === null ? null : $var3.$value1).$data0; } $var7 = $this.$dataWatcher; if ($var6 >= (-128) && $var6 <= 127) { jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[$var6 + 128 | 0]; } else { $var3 = new jl_Integer; $var3.$value0 = $var6; } $var5 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[140]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var6 = jl_Integer_hashCode0(var$7); var$4 = $var5.$elementData.data; $var5 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var5 !== null && !($var5.$origKeyHash == $var6 && ju_HashMap_areEqualKeys(var$7, $var5.$key))) { $var5 = $var5.$next3; } } var$8 = $var5 === null ? null : $var5.$value1; if (!jl_Integer_equals($var3, var$8.$watchedObject)) { var$8.$watchedObject = $var3; var$8.$watched = 1; $var7.$objectChanged = 1; } $var7 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var7 = ju_HashMap_entryByKey($var7, jl_Integer_integerCache.data[140]); $var7 = $var7 === null ? null : $var7.$value1; $var4 = $var7.$watchedObject.$value0 >= 0 ? 0 : 1; $ptr = 2; case 2: nms_EntityHorse_setScaleForAge($this, $var4); if ($rt_suspending()) { break main; } $var3 = $par1NBTTagCompound.$tagMap; $var6 = jl_String_hashCode($rt_s(1868)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { $var5 = $var3.$key; if ($rt_s(1868) !== $var5 && !jl_String_equals($rt_s(1868), $var5) ? 0 : 1) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) $var4 = 0; else { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(1868) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var6 = jl_String_hashCode($rt_s(1868)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { $var5 = $var3.$key; if ($rt_s(1868) !== $var5 && !jl_String_equals($rt_s(1868), $var5) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var4 = ($var3 === null ? null : $var3.$value1).$data0; } $this.$inLove = $var4; $var3 = $par1NBTTagCompound.$tagMap; $var6 = jl_String_hashCode($rt_s(2442)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { $var5 = $var3.$key; if ($rt_s(2442) !== $var5 && !jl_String_equals($rt_s(2442), $var5) ? 0 : 1) break; } $var3 = $var3.$next3; } if ($var3 === null ? 0 : 1) { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(2442) !== null) { $var6 = jl_String_hashCode($rt_s(2442)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { $var5 = $var3.$key; if ($rt_s(2442) !== $var5 && !jl_String_equals($rt_s(2442), $var5) ? 0 : 1) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } $var4 = ($var3 === null ? null : $var3.$value1).$data; } else $var4 = 0; var$10 = !$var4 ? 0 : 1; $var7 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[144]; if ($var5 === null) { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { var$11 = jl_Integer_hashCode0($var5); var$4 = $var7.$elementData.data; $var7 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var7 !== null && !($var7.$origKeyHash == var$11 && ju_HashMap_areEqualKeys($var5, $var7.$key))) { $var7 = $var7.$next3; } } $var6 = ($var7 === null ? null : $var7.$value1).$watchedObject.$value0; if (var$10) { $var7 = $this.$dataWatcher; $var4 = $var6 | 32; if ($var4 >= (-128) && $var4 <= 127) { jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { $var3 = new jl_Integer; $var3.$value0 = $var4; } $var5 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var6 = jl_Integer_hashCode0(var$7); var$4 = $var5.$elementData.data; $var5 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var5 !== null && !($var5.$origKeyHash == $var6 && ju_HashMap_areEqualKeys(var$7, $var5.$key))) { $var5 = $var5.$next3; } } var$8 = $var5 === null ? null : $var5.$value1; if (!jl_Integer_equals($var3, var$8.$watchedObject)) { var$8.$watchedObject = $var3; var$8.$watched = 1; $var7.$objectChanged = 1; } } else { $var7 = $this.$dataWatcher; $var4 = $var6 & (-33); if ($var4 >= (-128) && $var4 <= 127) { jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { $var3 = new jl_Integer; $var3.$value0 = $var4; } $var5 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var6 = jl_Integer_hashCode0(var$7); var$4 = $var5.$elementData.data; $var5 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var5 !== null && !($var5.$origKeyHash == $var6 && ju_HashMap_areEqualKeys(var$7, $var5.$key))) { $var5 = $var5.$next3; } } var$8 = $var5 === null ? null : $var5.$value1; if (!jl_Integer_equals($var3, var$8.$watchedObject)) { var$8.$watchedObject = $var3; var$8.$watched = 1; $var7.$objectChanged = 1; } } $var3 = $par1NBTTagCompound.$tagMap; $var6 = jl_String_hashCode($rt_s(2445)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { $var5 = $var3.$key; if ($rt_s(2445) !== $var5 && !jl_String_equals($rt_s(2445), $var5) ? 0 : 1) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) $var4 = 0; else { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(2445) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var6 = jl_String_hashCode($rt_s(2445)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { $var5 = $var3.$key; if ($rt_s(2445) !== $var5 && !jl_String_equals($rt_s(2445), $var5) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var4 = ($var3 === null ? null : $var3.$value1).$data; } var$10 = !$var4 ? 0 : 1; $var7 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[144]; if ($var5 !== null) { var$11 = jl_Integer_hashCode0($var5); var$4 = $var7.$elementData.data; $var7 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$11) { $var3 = $var7.$key; if ($var5 !== $var3 && !jl_Integer_equals($var5, $var3) ? 0 : 1) break; } $var7 = $var7.$next3; } } else { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } $var6 = ($var7 === null ? null : $var7.$value1).$watchedObject.$value0; if (var$10) { $var7 = $this.$dataWatcher; $var4 = $var6 | 16; if ($var4 >= (-128) && $var4 <= 127) { jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { $var3 = new jl_Integer; $var3.$value0 = $var4; } $var5 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var6 = jl_Integer_hashCode0(var$7); var$4 = $var5.$elementData.data; $var5 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var6) { var$8 = $var5.$key; if (var$7 !== var$8 && !jl_Integer_equals(var$7, var$8) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$8 = $var5 === null ? null : $var5.$value1; if (!jl_Integer_equals($var3, var$8.$watchedObject)) { var$8.$watchedObject = $var3; var$8.$watched = 1; $var7.$objectChanged = 1; } } else { $var7 = $this.$dataWatcher; $var4 = $var6 & (-17); if ($var4 >= (-128) && $var4 <= 127) { jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { $var3 = new jl_Integer; $var3.$value0 = $var4; } $var5 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var6 = jl_Integer_hashCode0(var$7); var$4 = $var5.$elementData.data; $var5 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var6) { var$8 = $var5.$key; if (var$7 !== var$8 && !jl_Integer_equals(var$7, var$8) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$8 = $var5 === null ? null : $var5.$value1; if (!jl_Integer_equals($var3, var$8.$watchedObject)) { var$8.$watchedObject = $var3; var$8.$watched = 1; $var7.$objectChanged = 1; } } $var3 = $par1NBTTagCompound.$tagMap; $var6 = jl_String_hashCode($rt_s(2443)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { $var5 = $var3.$key; if ($rt_s(2443) !== $var5 && !jl_String_equals($rt_s(2443), $var5) ? 0 : 1) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) $var4 = 0; else { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(2443) !== null) { $var6 = jl_String_hashCode($rt_s(2443)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { $var5 = $var3.$key; if ($rt_s(2443) !== $var5 && !jl_String_equals($rt_s(2443), $var5) ? 0 : 1) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } $var4 = ($var3 === null ? null : $var3.$value1).$data; } var$10 = !$var4 ? 0 : 1; $var7 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[144]; if ($var5 !== null) { var$11 = jl_Integer_hashCode0($var5); var$4 = $var7.$elementData.data; $var7 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$11) { $var3 = $var7.$key; if ($var5 !== $var3 && !jl_Integer_equals($var5, $var3) ? 0 : 1) break; } $var7 = $var7.$next3; } } else { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } $var6 = ($var7 === null ? null : $var7.$value1).$watchedObject.$value0; if (var$10) { $var7 = $this.$dataWatcher; $var4 = $var6 | 8; if ($var4 >= (-128) && $var4 <= 127) { jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { $var3 = new jl_Integer; $var3.$value0 = $var4; } $var5 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var6 = jl_Integer_hashCode0(var$7); var$4 = $var5.$elementData.data; $var5 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var6) { var$8 = $var5.$key; if (var$7 !== var$8 && !jl_Integer_equals(var$7, var$8) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$8 = $var5 === null ? null : $var5.$value1; if (!jl_Integer_equals($var3, var$8.$watchedObject)) { var$8.$watchedObject = $var3; var$8.$watched = 1; $var7.$objectChanged = 1; } } else { $var7 = $this.$dataWatcher; $var4 = $var6 & (-9); if ($var4 >= (-128) && $var4 <= 127) { jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { $var3 = new jl_Integer; $var3.$value0 = $var4; } $var5 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $var6 = jl_Integer_hashCode0(var$7); var$4 = $var5.$elementData.data; $var5 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var6) { var$8 = $var5.$key; if (var$7 !== var$8 && !jl_Integer_equals(var$7, var$8) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$8 = $var5 === null ? null : $var5.$value1; if (!jl_Integer_equals($var3, var$8.$watchedObject)) { var$8.$watchedObject = $var3; var$8.$watched = 1; $var7.$objectChanged = 1; } } $var3 = $par1NBTTagCompound.$tagMap; $var6 = jl_String_hashCode($rt_s(2444)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { $var5 = $var3.$key; if ($rt_s(2444) !== $var5 && !jl_String_equals($rt_s(2444), $var5) ? 0 : 1) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) $var4 = 0; else { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(2444) !== null) { $var6 = jl_String_hashCode($rt_s(2444)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { $var5 = $var3.$key; if ($rt_s(2444) !== $var5 && !jl_String_equals($rt_s(2444), $var5) ? 0 : 1) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } $var4 = ($var3 === null ? null : $var3.$value1).$data; } $this.$hasReproduced = !$var4 ? 0 : 1; $var3 = $par1NBTTagCompound.$tagMap; $var6 = jl_String_hashCode($rt_s(2446)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { $var5 = $var3.$key; if ($rt_s(2446) !== $var5 && !jl_String_equals($rt_s(2446), $var5) ? 0 : 1) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) $var4 = 0; else { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(2446) !== null) { $var6 = jl_String_hashCode($rt_s(2446)); var$4 = $var3.$elementData.data; $var3 = var$4[$var6 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var6) { a: { $var5 = $var3.$key; if ($rt_s(2446) !== $var5) { if ($rt_s(2446) !== $var5) { if ($var5 instanceof jl_String) { $var5 = $var5; $var4 = $rt_s(2446).$nativeString !== $var5.$nativeString ? 0 : 1; } else $var4 = 0; } else $var4 = 1; if (!$var4) { $var4 = 0; break a; } } $var4 = 1; } if ($var4) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } $var4 = ($var3 === null ? null : $var3.$value1).$data0; } $var7 = $this.$dataWatcher; $var4 = $var4 << 24 >> 24; var$7 = jl_Byte_byteCache.data[$var4 + 128 | 0]; $var3 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[147]; if (var$8 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$11 = var$8.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$11) { $var5 = $var3.$key; if (var$8 !== $var5 && !(var$8 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == var$11 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var5 = $var3 === null ? null : $var3.$value1; $var3 = $var5.$watchedObject; if (!($var3 instanceof jl_Byte && $var3.$value2 == var$7.$value2 ? 1 : 0)) { $var5.$watchedObject = var$7; $var5.$watched = 1; $var7.$objectChanged = 1; } b: { $this.$field_110286_bQ = null; $var3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2447).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2447).$nativeString.length) break b; $rt_s(2447).$hashCode1 = (31 * $rt_s(2447).$hashCode1 | 0) + $rt_s(2447).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$11 = $rt_s(2447).$hashCode1; var$4 = $var3.$elementData.data; $var3 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$11) { c: { $var5 = $var3.$key; if ($rt_s(2447) !== $var5) { if ($rt_s(2447) !== $var5) { if ($var5 instanceof jl_String) { $var5 = $var5; $var4 = $rt_s(2447).$nativeString !== $var5.$nativeString ? 0 : 1; } else $var4 = 0; } else $var4 = 1; if (!$var4) { $var4 = 0; break c; } } $var4 = 1; } if ($var4) break; } $var3 = $var3.$next3; } if ($var3 === null ? 0 : 1) { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(2447) !== null) { d: { if (!$rt_s(2447).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2447).$nativeString.length) break d; $rt_s(2447).$hashCode1 = (31 * $rt_s(2447).$hashCode1 | 0) + $rt_s(2447).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$11 = $rt_s(2447).$hashCode1; var$4 = $var3.$elementData.data; $var3 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$11) { e: { $var5 = $var3.$key; if ($rt_s(2447) !== $var5) { if ($rt_s(2447) !== $var5) { if ($var5 instanceof jl_String) { $var5 = $var5; $var4 = $rt_s(2447).$nativeString !== $var5.$nativeString ? 0 : 1; } else $var4 = 0; } else $var4 = 1; if (!$var4) { $var4 = 0; break e; } } $var4 = 1; } if ($var4) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } $var6 = ($var3 === null ? null : $var3.$value1).$data0; } else $var6 = 0; $var7 = $this.$dataWatcher; if ($var6 >= (-128) && $var6 <= 127) { jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[$var6 + 128 | 0]; } else { $var3 = new jl_Integer; $var3.$value0 = $var6; } $var5 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[148]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$11 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { var$8 = $var5.$key; if (var$7 !== var$8 && !(var$7 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$11 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$8 = $var5 === null ? null : $var5.$value1; $var5 = var$8.$watchedObject; if (!($var3 !== $var5 ? ($var5 instanceof jl_Integer && $var5.$value0 == $var3.$value0 ? 1 : 0) : 1)) { var$8.$watchedObject = $var3; var$8.$watched = 1; $var7.$objectChanged = 1; } f: { $this.$field_110286_bQ = null; $var3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2448).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2448).$nativeString.length) break f; $rt_s(2448).$hashCode1 = (31 * $rt_s(2448).$hashCode1 | 0) + $rt_s(2448).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$11 = $rt_s(2448).$hashCode1; var$4 = $var3.$elementData.data; $var3 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$11) { g: { $var5 = $var3.$key; if ($rt_s(2448) !== $var5) { if ($rt_s(2448) === $var5) $var4 = 1; else if ($var5 instanceof jl_String) { $var5 = $var5; $var4 = $rt_s(2448).$nativeString !== $var5.$nativeString ? 0 : 1; } else $var4 = 0; if (!$var4) { $var4 = 0; break g; } } $var4 = 1; } if ($var4) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) $var4 = 0; else { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(2448) !== null) { h: { if (!$rt_s(2448).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2448).$nativeString.length) break h; $rt_s(2448).$hashCode1 = (31 * $rt_s(2448).$hashCode1 | 0) + $rt_s(2448).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$11 = $rt_s(2448).$hashCode1; var$4 = $var3.$elementData.data; $var3 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$11) { i: { $var5 = $var3.$key; if ($rt_s(2448) !== $var5) { if ($rt_s(2448) !== $var5) { if (!($var5 instanceof jl_String)) $var4 = 0; else { $var5 = $var5; $var4 = $rt_s(2448).$nativeString !== $var5.$nativeString ? 0 : 1; } } else $var4 = 1; if (!$var4) { $var4 = 0; break i; } } $var4 = 1; } if ($var4) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } $var4 = ($var3 === null ? null : $var3.$value1).$data0; } j: { $this.$temper = $var4; $var3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2449).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2449).$nativeString.length) break j; $rt_s(2449).$hashCode1 = (31 * $rt_s(2449).$hashCode1 | 0) + $rt_s(2449).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$11 = $rt_s(2449).$hashCode1; var$4 = $var3.$elementData.data; $var3 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$11) { k: { $var5 = $var3.$key; if ($rt_s(2449) !== $var5) { if ($rt_s(2449) !== $var5) { if ($var5 instanceof jl_String) { $var5 = $var5; $var4 = $rt_s(2449).$nativeString !== $var5.$nativeString ? 0 : 1; } else $var4 = 0; } else $var4 = 1; if (!$var4) { $var4 = 0; break k; } } $var4 = 1; } if ($var4) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) $var4 = 0; else { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(2449) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { l: { if (!$rt_s(2449).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2449).$nativeString.length) break l; $rt_s(2449).$hashCode1 = (31 * $rt_s(2449).$hashCode1 | 0) + $rt_s(2449).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$11 = $rt_s(2449).$hashCode1; var$4 = $var3.$elementData.data; $var3 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$11) { m: { $var5 = $var3.$key; if ($rt_s(2449) !== $var5) { if ($rt_s(2449) === $var5) $var4 = 1; else if (!($var5 instanceof jl_String)) $var4 = 0; else { $var5 = $var5; $var4 = $rt_s(2449).$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break m; } } $var4 = 1; } if ($var4) break; } $var3 = $var3.$next3; } } $var4 = ($var3 === null ? null : $var3.$value1).$data; } var$12 = !$var4 ? 0 : 1; $var7 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[144]; if ($var5 !== null) { var$10 = $var5.$value0; var$4 = $var7.$elementData.data; $var7 = var$4[var$10 & (var$4.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$10) { $var3 = $var7.$key; if ($var5 !== $var3 && !jl_Integer_equals($var5, $var3) ? 0 : 1) break; } $var7 = $var7.$next3; } } else { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } $var6 = ($var7 === null ? null : $var7.$value1).$watchedObject.$value0; if (var$12) { $var7 = $this.$dataWatcher; $var4 = $var6 | 2; if ($var4 >= (-128) && $var4 <= 127) { jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { $var3 = new jl_Integer; $var3.$value0 = $var4; } $var5 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$11 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { var$8 = $var5.$key; if (var$7 !== var$8 && !jl_Integer_equals(var$7, var$8) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$8 = $var5 === null ? null : $var5.$value1; $var5 = var$8.$watchedObject; if (!($var3 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var3.$value0 ? 1 : 0)) { var$8.$watchedObject = $var3; var$8.$watched = 1; $var7.$objectChanged = 1; } } else { $var7 = $this.$dataWatcher; $var4 = $var6 & (-3); if ($var4 >= (-128) && $var4 <= 127) { jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { $var3 = new jl_Integer; $var3.$value0 = $var4; } $var5 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[144]; if (var$7 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$11 = var$7.$value0; var$4 = $var5.$elementData.data; $var5 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { var$8 = $var5.$key; if (var$7 !== var$8 && !jl_Integer_equals(var$7, var$8) ? 0 : 1) break; } $var5 = $var5.$next3; } } var$8 = $var5 === null ? null : $var5.$value1; $var5 = var$8.$watchedObject; if (!($var3 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == $var3.$value0 ? 1 : 0)) { var$8.$watchedObject = $var3; var$8.$watched = 1; $var7.$objectChanged = 1; } } n: { $var3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2450).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2450).$nativeString.length) break n; $rt_s(2450).$hashCode1 = (31 * $rt_s(2450).$hashCode1 | 0) + $rt_s(2450).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$11 = $rt_s(2450).$hashCode1; var$4 = $var3.$elementData.data; $var3 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$11) { o: { $var5 = $var3.$key; if ($rt_s(2450) !== $var5) { if ($rt_s(2450) !== $var5) { if ($var5 instanceof jl_String) { $var5 = $var5; $var4 = $rt_s(2450).$nativeString !== $var5.$nativeString ? 0 : 1; } else $var4 = 0; } else $var4 = 1; if (!$var4) { $var4 = 0; break o; } } $var4 = 1; } if ($var4) break; } $var3 = $var3.$next3; } if ($var3 === null ? 0 : 1) { p: { $var3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2450).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2450).$nativeString.length) break p; $rt_s(2450).$hashCode1 = (31 * $rt_s(2450).$hashCode1 | 0) + $rt_s(2450).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$11 = $rt_s(2450).$hashCode1; var$4 = $var3.$elementData.data; $var3 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$11) { q: { $var5 = $var3.$key; if ($rt_s(2450) !== $var5) { if ($rt_s(2450) === $var5) $var4 = 1; else if (!($var5 instanceof jl_String)) $var4 = 0; else { $var5 = $var5; $var4 = $rt_s(2450).$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break q; } } $var4 = 1; } if ($var4) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) var$7 = $rt_s(18); else { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(2450) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { r: { if (!$rt_s(2450).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2450).$nativeString.length) break r; $rt_s(2450).$hashCode1 = (31 * $rt_s(2450).$hashCode1 | 0) + $rt_s(2450).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$11 = $rt_s(2450).$hashCode1; var$4 = $var3.$elementData.data; $var3 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$11) { s: { $var5 = $var3.$key; if ($rt_s(2450) !== $var5) { if ($rt_s(2450) === $var5) $var4 = 1; else if (!($var5 instanceof jl_String)) $var4 = 0; else { $var5 = $var5; $var4 = $rt_s(2450).$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break s; } } $var4 = 1; } if ($var4) break; } $var3 = $var3.$next3; } } var$7 = ($var3 === null ? null : $var3.$value1).$data1; } $var7 = $this.$dataWatcher; $var3 = $var7.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[149]; if (var$8 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$11 = var$8.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[var$11 & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$11) { $var5 = $var3.$key; if (var$8 !== $var5 && !(var$8 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == var$11 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var5 = $var3 === null ? null : $var3.$value1; $var3 = $var5.$watchedObject; if (var$7 === $var3) $var4 = 1; else if (!($var3 instanceof jl_String)) $var4 = 0; else { $var3 = $var3; $var4 = var$7.$nativeString !== $var3.$nativeString ? 0 : 1; } if (!$var4) { $var5.$watchedObject = var$7; $var5.$watched = 1; $var7.$objectChanged = 1; } } if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$7 = $this.$attributeMap; $var7 = $rt_s(2454); $var3 = var$7.$attributesByName.$internalMap; $var5 = $var7.$nativeString.toLowerCase(); $var3 = ju_LinkedHashMap_getOrDefault($var3, $var5 === $var7.$nativeString ? $var7 : jl_String__init_($var5), null); if ($var3 === null) { $var3 = var$7.$field_111163_c.$internalMap; $var5 = $var7.$nativeString.toLowerCase(); if ($var5 !== $var7.$nativeString) $var7 = jl_String__init_($var5); $var3 = ju_LinkedHashMap_getOrDefault($var3, $var7, null); } if ($var3 !== null) nms_ModifiableAttributeInstance_setAttribute(nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_movementSpeed), nms_ModifiableAttributeInstance_getBaseValue($var3) * 0.25); $var4 = !(nms_DataWatcher_getWatchableObjectInt($this.$dataWatcher, 16) & 8) ? 0 : 1; t: { if ($var4) { $var3 = nms_NBTTagCompound_getTagList($par1NBTTagCompound, $rt_s(2451)); nms_EntityHorse_func_110226_cD($this); $var4 = 0; while (true) { if ($var4 >= nms_NBTTagList_tagCount($var3)) break t; $var5 = nms_NBTTagList_tagAt($var3, $var4); $var6 = nms_NBTTagCompound_getByte($var5, $rt_s(1315)) & 255; if ($var6 >= 2 && $var6 < nms_InventoryBasic_getSizeInventory($this.$horseChest)) break; $var4 = $var4 + 1 | 0; } $var7 = $this.$horseChest; $var5 = nms_ItemStack_loadItemStackFromNBT($var5); $ptr = 6; continue main; } } if (nms_NBTTagCompound_hasKey($par1NBTTagCompound, $rt_s(2452))) { $var7 = nms_ItemStack_loadItemStackFromNBT(nms_NBTTagCompound_getCompoundTag($par1NBTTagCompound, $rt_s(2452))); if ($var7 !== null && nms_EntityHorse_func_110211_v($var7.$itemID)) { $var3 = $this.$horseChest; $var4 = 1; $ptr = 4; continue main; } } u: { if (!nms_NBTTagCompound_hasKey($par1NBTTagCompound, $rt_s(2453))) { if (!nms_NBTTagCompound_getBoolean($par1NBTTagCompound, $rt_s(1869))) break u; $var7 = $this.$horseChest; $var4 = 0; $var3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_3($var3, nms_Item_saddle); $ptr = 3; continue main; } $var7 = nms_ItemStack_loadItemStackFromNBT(nms_NBTTagCompound_getCompoundTag($par1NBTTagCompound, $rt_s(2453))); if ($var7 !== null) { $var4 = $var7.$itemID; nms_Item_$callClinit(); if ($var4 == nms_Item_saddle.$itemID0) { $par1NBTTagCompound = $this.$horseChest; $var4 = 0; $ptr = 5; continue main; } } } nms_EntityHorse_func_110232_cE($this); return; case 3: nms_InventoryBasic_setInventorySlotContents($var7, $var4, $var3); if ($rt_suspending()) { break main; } nms_EntityHorse_func_110232_cE($this); return; case 4: nms_InventoryBasic_setInventorySlotContents($var3, $var4, $var7); if ($rt_suspending()) { break main; } v: { if (!nms_NBTTagCompound_hasKey($par1NBTTagCompound, $rt_s(2453))) { if (!nms_NBTTagCompound_getBoolean($par1NBTTagCompound, $rt_s(1869))) break v; $var7 = $this.$horseChest; $var4 = 0; $var3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_3($var3, nms_Item_saddle); $ptr = 3; continue main; } $var7 = nms_ItemStack_loadItemStackFromNBT(nms_NBTTagCompound_getCompoundTag($par1NBTTagCompound, $rt_s(2453))); if ($var7 !== null) { $var4 = $var7.$itemID; nms_Item_$callClinit(); if ($var4 == nms_Item_saddle.$itemID0) { $par1NBTTagCompound = $this.$horseChest; $var4 = 0; $ptr = 5; continue main; } } } nms_EntityHorse_func_110232_cE($this); return; case 5: nms_InventoryBasic_setInventorySlotContents($par1NBTTagCompound, $var4, $var7); if ($rt_suspending()) { break main; } nms_EntityHorse_func_110232_cE($this); return; case 6: nms_InventoryBasic_setInventorySlotContents($var7, $var6, $var5); if ($rt_suspending()) { break main; } while (true) { $var4 = $var4 + 1 | 0; if ($var4 >= nms_NBTTagList_tagCount($var3)) { if (nms_NBTTagCompound_hasKey($par1NBTTagCompound, $rt_s(2452))) { $var7 = nms_ItemStack_loadItemStackFromNBT(nms_NBTTagCompound_getCompoundTag($par1NBTTagCompound, $rt_s(2452))); if ($var7 !== null && nms_EntityHorse_func_110211_v($var7.$itemID)) { $var3 = $this.$horseChest; $var4 = 1; $ptr = 4; continue main; } } w: { if (!nms_NBTTagCompound_hasKey($par1NBTTagCompound, $rt_s(2453))) { if (!nms_NBTTagCompound_getBoolean($par1NBTTagCompound, $rt_s(1869))) break w; $var7 = $this.$horseChest; $var4 = 0; $var3 = new nms_ItemStack; nms_Item_$callClinit(); nms_ItemStack__init_3($var3, nms_Item_saddle); $ptr = 3; continue main; } $var7 = nms_ItemStack_loadItemStackFromNBT(nms_NBTTagCompound_getCompoundTag($par1NBTTagCompound, $rt_s(2453))); if ($var7 !== null) { $var4 = $var7.$itemID; nms_Item_$callClinit(); if ($var4 == nms_Item_saddle.$itemID0) { $par1NBTTagCompound = $this.$horseChest; $var4 = 0; $ptr = 5; continue main; } } } nms_EntityHorse_func_110232_cE($this); return; } $var5 = nms_NBTTagList_tagAt($var3, $var4); $var6 = nms_NBTTagCompound_getByte($var5, $rt_s(1315)) & 255; if ($var6 < 2) continue; if ($var6 >= nms_InventoryBasic_getSizeInventory($this.$horseChest)) continue; else break; } $var7 = $this.$horseChest; $var5 = nms_ItemStack_loadItemStackFromNBT($var5); continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NBTTagCompound, $var3, $var6, var$4, $var5, $var7, var$7, var$8, $var4, var$10, var$11, var$12, $ptr); }, nms_EntityHorse_canMateWith = ($this, $par1EntityAnimal) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; if ($par1EntityAnimal === $this) return 0; $var2 = $par1EntityAnimal.constructor; if ($var2 === null) var$3 = null; else { var$3 = $var2.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $var2; $var2.classObject = var$3; } } var$4 = $this.constructor; if (var$4 === null) $var2 = null; else { $var2 = var$4.classObject; if ($var2 === null) { $var2 = new jl_Class; $var2.$platformClass = var$4; var$4.classObject = $var2; } } if (var$3 !== $var2) return 0; $var2 = $par1EntityAnimal; if (nms_EntityHorse_func_110200_cJ($this) && nms_EntityHorse_func_110200_cJ($var2)) { $par1EntityAnimal = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[147]; if (var$5 === null) { $par1EntityAnimal = $par1EntityAnimal.$elementData.data[0]; while ($par1EntityAnimal !== null && $par1EntityAnimal.$key !== null) { $par1EntityAnimal = $par1EntityAnimal.$next3; } } else { var$6 = var$5.$value0; var$7 = $par1EntityAnimal.$elementData.data; $par1EntityAnimal = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par1EntityAnimal !== null) { if ($par1EntityAnimal.$origKeyHash == var$6) { var$4 = $par1EntityAnimal.$key; if (var$5 !== var$4 && !(var$5 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } $par1EntityAnimal = $par1EntityAnimal.$next3; } } var$8 = ($par1EntityAnimal === null ? null : $par1EntityAnimal.$value1).$watchedObject.$value2; $par1EntityAnimal = $var2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[147]; if (var$4 === null) { $par1EntityAnimal = $par1EntityAnimal.$elementData.data[0]; while ($par1EntityAnimal !== null && $par1EntityAnimal.$key !== null) { $par1EntityAnimal = $par1EntityAnimal.$next3; } } else { var$9 = var$4.$value0; var$7 = $par1EntityAnimal.$elementData.data; $par1EntityAnimal = var$7[var$9 & (var$7.length - 1 | 0)]; while ($par1EntityAnimal !== null) { if ($par1EntityAnimal.$origKeyHash == var$9) { $var2 = $par1EntityAnimal.$key; if (var$4 !== $var2 && !(var$4 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } $par1EntityAnimal = $par1EntityAnimal.$next3; } } $par1EntityAnimal = $par1EntityAnimal === null ? null : $par1EntityAnimal.$value1; a: { b: { var$6 = $par1EntityAnimal.$watchedObject.$value2; if (var$8 != var$6 && !(!var$8 && var$6 == 1)) { if (var$8 != 1) break b; if (var$6) break b; } var$8 = 1; break a; } var$8 = 0; } return var$8; } return 0; }, nms_EntityHorse_createChild = ($this, $par1EntityAgeable) => { let $var2, $var3, var$4, var$5, $var6, var$7, var$8, var$9, $var8, var$11, $var9, $var7, var$14, $var14, $var13, var$17, var$18, var$19, var$20, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var13 = $thread.pop();$var14 = $thread.pop();var$14 = $thread.pop();$var7 = $thread.pop();$var9 = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1EntityAgeable = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $par1EntityAgeable; $var3 = new nms_EntityHorse; var$4 = $this.$worldObj; $ptr = 1; case 1: nms_EntityHorse__init_($var3, var$4); if ($rt_suspending()) { break main; } var$4 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[147]; if (var$5 !== null) { $var6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 !== var$8 ? (var$8 instanceof jl_Integer && var$8.$value0 == $var6 ? 1 : 0) : 1) ? 0 : 1) break; } var$4 = var$4.$next3; } } else { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } var$9 = (var$4 === null ? null : var$4.$value1).$watchedObject.$value2; var$4 = $var2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[147]; if (var$8 !== null) { $var8 = var$8.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[$var8 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var8) { var$5 = var$4.$key; if (var$8 !== var$5 && !(var$8 !== var$5 ? (var$5 instanceof jl_Integer && var$5.$value0 == $var8 ? 1 : 0) : 1) ? 0 : 1) break; } var$4 = var$4.$next3; } } else { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; a: { $var8 = var$4.$watchedObject.$value2; if (var$9 != $var8) { b: { if (!(!var$9 && $var8 == 1)) { if (var$9 == 1) { if (!$var8) break b; var$9 = 0; break a; } var$9 = 0; break a; } } var$9 = 2; } } if (!var$9) { var$4 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$11; $var9 = Long_lo(Long_shru(var$11, 17)); while (true) { $var8 = $var9 % 9 | 0; if ((($var9 - $var8 | 0) + 8 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$11; $var9 = Long_lo(Long_shru(var$11, 17)); } if ($var8 < 4) { var$4 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[148]; if (var$8 !== null) { $var8 = var$8.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[$var8 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var8) { var$5 = var$4.$key; if (var$8 !== var$5 && !(var$8 !== var$5 ? (var$5 instanceof jl_Integer && var$5.$value0 == $var8 ? 1 : 0) : 1) ? 0 : 1) break; } var$4 = var$4.$next3; } } else { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } $var7 = (var$4 === null ? null : var$4.$value1).$watchedObject.$value0 & 255; } else if ($var8 < 8) { var$4 = $var2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[148]; if (var$8 !== null) { $var8 = var$8.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[$var8 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var8) { var$5 = var$4.$key; if (var$8 !== var$5 && !(var$8 !== var$5 ? (var$5 instanceof jl_Integer && var$5.$value0 == $var8 ? 1 : 0) : 1) ? 0 : 1) break; } var$4 = var$4.$next3; } } else { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } $var7 = (var$4 === null ? null : var$4.$value1).$watchedObject.$value0 & 255; } else { var$11 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$11; $var9 = Long_lo(Long_shru(var$11, 17)); while (true) { $var7 = $var9 % 7 | 0; if ((($var9 - $var7 | 0) + 6 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$11; $var9 = Long_lo(Long_shru(var$11, 17)); } } var$4 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$11; $var6 = Long_lo(Long_shru(var$11, 17)); while (true) { $var9 = $var6 % 5 | 0; if ((($var6 - $var9 | 0) + 4 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$11; $var6 = Long_lo(Long_shru(var$11, 17)); } if ($var9 < 4) { $var2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[148]; if (var$5 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { $var8 = var$5.$value0; var$7 = $var2.$elementData.data; $var2 = var$7[$var8 & (var$7.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var8) { var$4 = $var2.$key; if (var$5 !== var$4 && !(var$5 !== var$4 ? (var$4 instanceof jl_Integer && var$4.$value0 == $var8 ? 1 : 0) : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var9 = $var7 | ($var2 === null ? null : $var2.$value1).$watchedObject.$value0 & 65280; } else if ($var9 < 8) { $var2 = $var2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[148]; if (var$5 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { $var8 = var$5.$value0; var$7 = $var2.$elementData.data; $var2 = var$7[$var8 & (var$7.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var8) { var$4 = $var2.$key; if (var$5 !== var$4 && !(var$5 !== var$4 ? (var$4 instanceof jl_Integer && var$4.$value0 == $var8 ? 1 : 0) : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var9 = $var7 | ($var2 === null ? null : $var2.$value1).$watchedObject.$value0 & 65280; } else { var$11 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$11; $var6 = Long_lo(Long_shru(var$11, 17)); while (true) { $var9 = $var6 % 5 | 0; if ((($var6 - $var9 | 0) + 4 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$11; $var6 = Long_lo(Long_shru(var$11, 17)); } $var9 = $var7 | $var9 << 8 & 65280; } $var2 = $var3.$dataWatcher; if ($var9 >= (-128) && $var9 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[$var9 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = $var9; } var$5 = $var2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$14 = jl_Integer_integerCache.data[148]; if (var$14 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { $var8 = var$14.$value0; var$7 = var$5.$elementData.data; var$5 = var$7[$var8 & (var$7.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == $var8) { var$8 = var$5.$key; if (var$14 !== var$8 && !(var$14 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == $var8 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$8 = var$5 === null ? null : var$5.$value1; var$5 = var$8.$watchedObject; if (!(var$4 !== var$5 ? (var$5 instanceof jl_Integer && var$5.$value0 == var$4.$value0 ? 1 : 0) : 1)) { var$8.$watchedObject = var$4; var$8.$watched = 1; $var2.$objectChanged = 1; } $var3.$field_110286_bQ = null; } $var2 = $var3.$dataWatcher; $var6 = var$9 << 24 >> 24; var$14 = jl_Byte_byteCache.data[$var6 + 128 | 0]; var$4 = $var2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[147]; if (var$8 !== null) { $var8 = var$8.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[$var8 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var8) { var$5 = var$4.$key; if (var$8 !== var$5 && !(var$8 !== var$5 ? (var$5 instanceof jl_Integer && var$5.$value0 == $var8 ? 1 : 0) : 1) ? 0 : 1) break; } var$4 = var$4.$next3; } } else { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; var$4 = var$5.$watchedObject; if (!(var$4 instanceof jl_Byte && var$4.$value2 == var$14.$value2 ? 1 : 0)) { var$5.$watchedObject = var$14; var$5.$watched = 1; $var2.$objectChanged = 1; } $var3.$field_110286_bQ = null; $var2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $this.$attributeMap.$attributes; if ($var2 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { c: { var$5 = $var2.$field_111115_a; if (!var$5.$hashCode1) { $var6 = 0; while (true) { if ($var6 >= var$5.$nativeString.length) break c; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt($var6) | 0; $var6 = $var6 + 1 | 0; } } } $var8 = var$5.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[$var8 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var8) { var$5 = var$4.$key; if ($var2 !== var$5 && !jl_Object_equals($var2, var$5) ? 0 : 1) break; } var$4 = var$4.$next3; } } $var14 = (var$4 === null ? null : var$4.$value1).$baseValue; $var2 = nms_SharedMonsterAttributes_maxHealth; if ($par1EntityAgeable.$attributeMap === null) $par1EntityAgeable.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $par1EntityAgeable.$attributeMap.$attributes; if ($var2 !== null) { d: { var$5 = $var2.$field_111115_a; if (!var$5.$hashCode1) { $var6 = 0; while (true) { if ($var6 >= var$5.$nativeString.length) break d; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt($var6) | 0; $var6 = $var6 + 1 | 0; } } } $var6 = var$5.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[$var6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var6) { var$5 = var$4.$key; if ($var2 !== var$5 && !jl_Object_equals($var2, var$5) ? 0 : 1) break; } var$4 = var$4.$next3; } } else { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } $var13 = $var14 + (var$4 === null ? null : var$4.$value1).$baseValue; $var2 = $this.$rand; var$17 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$17; var$18 = 15.0 + Long_lo(Long_shr(Long_mul(Long_fromInt(8), Long_fromInt(Long_lo(Long_shru(var$17, 17)))), 31)); var$11 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$11; $var8 = Long_lo(Long_shru(var$11, 17)); while (true) { var$19 = $var8 % 9 | 0; if ((($var8 - var$19 | 0) + 8 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$11; $var8 = Long_lo(Long_shru(var$11, 17)); } $var14 = $var13 + var$18 + var$19; $var2 = nms_SharedMonsterAttributes_maxHealth; if ($var3.$attributeMap === null) $var3.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $var3.$attributeMap.$attributes; if ($var2 !== null) { e: { var$5 = $var2.$field_111115_a; if (!var$5.$hashCode1) { $var6 = 0; while (true) { if ($var6 >= var$5.$nativeString.length) break e; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt($var6) | 0; $var6 = $var6 + 1 | 0; } } } $var8 = var$5.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[$var8 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var8) { var$5 = var$4.$key; if ($var2 !== var$5 && !jl_Object_equals($var2, var$5) ? 0 : 1) break; } var$4 = var$4.$next3; } } else { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } $var2 = var$4 === null ? null : var$4.$value1; $var13 = $var14 / 3.0; if ($var13 !== $var2.$baseValue) { $var2.$baseValue = $var13; $var2.$field_111133_g = 1; var$4 = $var2.$field_111138_a; if ($var2.$field_111136_b.$shouldWatch) { var$4 = var$4.$field_111162_d; ju_HashMap_putImpl(var$4.$backingMap, $var2, var$4); } } $var2 = nms_EntityHorse_horseJumpStrength; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $this.$attributeMap.$attributes; if ($var2 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { f: { var$5 = $var2.$field_111115_a; if (!var$5.$hashCode1) { $var6 = 0; while (true) { if ($var6 >= var$5.$nativeString.length) break f; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt($var6) | 0; $var6 = $var6 + 1 | 0; } } } $var8 = var$5.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[$var8 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var8) { var$5 = var$4.$key; if ($var2 !== var$5 && !jl_Object_equals($var2, var$5) ? 0 : 1) break; } var$4 = var$4.$next3; } } $var13 = (var$4 === null ? null : var$4.$value1).$baseValue; $var2 = nms_EntityHorse_horseJumpStrength; if ($par1EntityAgeable.$attributeMap === null) $par1EntityAgeable.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $par1EntityAgeable.$attributeMap.$attributes; if ($var2 !== null) { g: { var$5 = $var2.$field_111115_a; if (!var$5.$hashCode1) { $var6 = 0; while (true) { if ($var6 >= var$5.$nativeString.length) break g; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt($var6) | 0; $var6 = $var6 + 1 | 0; } } } $var8 = var$5.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[$var8 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var8) { var$5 = var$4.$key; if ($var2 !== var$5 && !jl_Object_equals($var2, var$5) ? 0 : 1) break; } var$4 = var$4.$next3; } } else { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } $var2 = var$4 === null ? null : var$4.$value1; $var13 = $var13 + $var2.$baseValue; $var2 = $this.$rand; var$17 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$17; var$11 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$17, 22))), 27); var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$17; $var14 = 0.4000000059604645 + Long_toNumber(Long_add(var$11, Long_fromInt(Long_lo(Long_shru(var$17, 21))))) * 1.1102230246251565E-16 * 0.2; var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$17; var$11 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$17, 22))), 27); var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$17; $var14 = $var14 + Long_toNumber(Long_add(var$11, Long_fromInt(Long_lo(Long_shru(var$17, 21))))) * 1.1102230246251565E-16 * 0.2; var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$17; var$11 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$17, 22))), 27); var$20 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$20; $var13 = $var13 + $var14 + Long_toNumber(Long_add(var$11, Long_fromInt(Long_lo(Long_shru(var$20, 21))))) * 1.1102230246251565E-16 * 0.2; $var2 = nms_EntityHorse_horseJumpStrength; if ($var3.$attributeMap === null) $var3.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $var3.$attributeMap.$attributes; if ($var2 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { h: { var$5 = $var2.$field_111115_a; if (!var$5.$hashCode1) { $var8 = 0; while (true) { if ($var8 >= var$5.$nativeString.length) break h; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt($var8) | 0; $var8 = $var8 + 1 | 0; } } } var$9 = var$5.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[var$9 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$9) { var$5 = var$4.$key; if ($var2 !== var$5 && !jl_Object_equals($var2, var$5) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; $var13 = $var13 / 3.0; if ($var13 !== var$5.$baseValue) { var$5.$baseValue = $var13; var$5.$field_111133_g = 1; $var2 = var$5.$field_111138_a; if (var$5.$field_111136_b.$shouldWatch) { $var2 = $var2.$field_111162_d; ju_HashMap_putImpl($var2.$backingMap, var$5, $var2); } } $var2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $this.$attributeMap.$attributes; if ($var2 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { i: { var$5 = $var2.$field_111115_a; if (!var$5.$hashCode1) { $var8 = 0; while (true) { if ($var8 >= var$5.$nativeString.length) break i; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt($var8) | 0; $var8 = $var8 + 1 | 0; } } } var$9 = var$5.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[var$9 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$9) { var$5 = var$4.$key; if ($var2 !== var$5 && !jl_Object_equals($var2, var$5) ? 0 : 1) break; } var$4 = var$4.$next3; } } $var14 = (var$4 === null ? null : var$4.$value1).$baseValue; $var2 = nms_SharedMonsterAttributes_movementSpeed; if ($par1EntityAgeable.$attributeMap === null) $par1EntityAgeable.$attributeMap = nms_ServersideAttributeMap__init_(); $par1EntityAgeable = $par1EntityAgeable.$attributeMap.$attributes; if ($var2 === null) { $par1EntityAgeable = $par1EntityAgeable.$elementData.data[0]; while ($par1EntityAgeable !== null && $par1EntityAgeable.$key !== null) { $par1EntityAgeable = $par1EntityAgeable.$next3; } } else { j: { var$4 = $var2.$field_111115_a; if (!var$4.$hashCode1) { $var8 = 0; while (true) { if ($var8 >= var$4.$nativeString.length) break j; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var8) | 0; $var8 = $var8 + 1 | 0; } } } var$9 = var$4.$hashCode1; var$7 = $par1EntityAgeable.$elementData.data; $par1EntityAgeable = var$7[var$9 & (var$7.length - 1 | 0)]; while ($par1EntityAgeable !== null) { if ($par1EntityAgeable.$origKeyHash == var$9) { var$4 = $par1EntityAgeable.$key; if ($var2 !== var$4 && !jl_Object_equals($var2, var$4) ? 0 : 1) break; } $par1EntityAgeable = $par1EntityAgeable.$next3; } } $par1EntityAgeable = $par1EntityAgeable === null ? null : $par1EntityAgeable.$value1; $var11 = $var14 + $par1EntityAgeable.$baseValue; $par1EntityAgeable = $this.$rand; var$17 = Long_and(Long_add(Long_mul($par1EntityAgeable.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityAgeable.$seed = var$17; var$11 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$17, 22))), 27); var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityAgeable.$seed = var$17; $var13 = 0.44999998807907104 + Long_toNumber(Long_add(var$11, Long_fromInt(Long_lo(Long_shru(var$17, 21))))) * 1.1102230246251565E-16 * 0.3; var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityAgeable.$seed = var$17; var$11 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$17, 22))), 27); var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityAgeable.$seed = var$17; $var13 = $var13 + Long_toNumber(Long_add(var$11, Long_fromInt(Long_lo(Long_shru(var$17, 21))))) * 1.1102230246251565E-16 * 0.3; var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityAgeable.$seed = var$17; var$11 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$17, 22))), 27); var$20 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityAgeable.$seed = var$20; $var11 = $var11 + ($var13 + Long_toNumber(Long_add(var$11, Long_fromInt(Long_lo(Long_shru(var$20, 21))))) * 1.1102230246251565E-16 * 0.3) * 0.25; var$4 = nms_SharedMonsterAttributes_movementSpeed; if ($var3.$attributeMap === null) $var3.$attributeMap = nms_ServersideAttributeMap__init_(); $par1EntityAgeable = $var3.$attributeMap.$attributes; if (var$4 === null) { $par1EntityAgeable = $par1EntityAgeable.$elementData.data[0]; while ($par1EntityAgeable !== null && $par1EntityAgeable.$key !== null) { $par1EntityAgeable = $par1EntityAgeable.$next3; } } else { k: { $var2 = var$4.$field_111115_a; if (!$var2.$hashCode1) { $var6 = 0; while (true) { if ($var6 >= $var2.$nativeString.length) break k; $var2.$hashCode1 = (31 * $var2.$hashCode1 | 0) + $var2.$nativeString.charCodeAt($var6) | 0; $var6 = $var6 + 1 | 0; } } } $var8 = $var2.$hashCode1; var$7 = $par1EntityAgeable.$elementData.data; $par1EntityAgeable = var$7[$var8 & (var$7.length - 1 | 0)]; while ($par1EntityAgeable !== null) { if ($par1EntityAgeable.$origKeyHash == $var8) { $var2 = $par1EntityAgeable.$key; if (var$4 !== $var2 && !jl_Object_equals(var$4, $var2) ? 0 : 1) break; } $par1EntityAgeable = $par1EntityAgeable.$next3; } } var$4 = $par1EntityAgeable === null ? null : $par1EntityAgeable.$value1; $var14 = $var11 / 3.0; if ($var14 !== var$4.$baseValue) { var$4.$baseValue = $var14; var$4.$field_111133_g = 1; $par1EntityAgeable = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { $par1EntityAgeable = $par1EntityAgeable.$field_111162_d; ju_HashMap_putImpl($par1EntityAgeable.$backingMap, var$4, $par1EntityAgeable); } } return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityAgeable, $var2, $var3, var$4, var$5, $var6, var$7, var$8, var$9, $var8, var$11, $var9, $var7, var$14, $var14, $var13, var$17, var$18, var$19, var$20, $var11, $ptr); }, nms_EntityHorse_onSpawnWithEgg = ($this, $par1EntityLivingData1) => { let var$2, var$3, var$4, $var3, var$6, var$7, var$8, var$9, var$10, $var4, $var7, $var5, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var5 = $thread.pop();$var7 = $thread.pop();$var4 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityLivingData1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = nms_SharedMonsterAttributes_followRange; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$6 && ju_HashMap_areEqualKeys(var$2, var$3.$key))) { var$3 = var$3.$next3; } } var$8 = var$3 === null ? null : var$3.$value1; var$3 = new nms_AttributeModifier; var$9 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05; var$4 = nle_ProfileUUID_randomUUID(); var$3.$isSaved = 1; var$3.$id2 = var$4; var$3.$name3 = $rt_s(1855); var$3.$amount = var$9; var$3.$operation = 1; if ($rt_s(1855) !== $rt_s(18)) { if ($rt_s(18) instanceof jl_String) { var$4 = $rt_s(18); $var3 = $rt_s(1855).$nativeString !== var$4.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if ($var3) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); var$2.$message = $rt_s(1292); $rt_throw(var$2); } nms_ModifiableAttributeInstance_applyModifier(var$8, var$3); $var3 = 0; if (!($par1EntityLivingData1 instanceof nms_EntityHorseGroupData)) { $par1EntityLivingData1 = $this.$rand; var$10 = Long_and(Long_add(Long_mul($par1EntityLivingData1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityLivingData1.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = var$6 % 10 | 0; if (((var$6 - $var4 | 0) + 9 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($par1EntityLivingData1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityLivingData1.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); } if (!$var4) $var7 = 1; else { var$10 = Long_and(Long_add(Long_mul($par1EntityLivingData1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityLivingData1.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = var$6 % 7 | 0; if (((var$6 - $var4 | 0) + 6 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($par1EntityLivingData1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityLivingData1.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); } var$10 = Long_and(Long_add(Long_mul($par1EntityLivingData1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityLivingData1.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); while (true) { $var5 = var$6 % 5 | 0; if (((var$6 - $var5 | 0) + 4 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($par1EntityLivingData1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityLivingData1.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); } $var7 = 0; $var3 = $var4 | $var5 << 8; } $par1EntityLivingData1 = new nms_EntityHorseGroupData; $par1EntityLivingData1.$field_111107_a = $var7; $par1EntityLivingData1.$field_111106_b = $var3; } else { $var7 = $par1EntityLivingData1.$field_111107_a; $var3 = $par1EntityLivingData1.$field_111106_b & 255; var$2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; $var5 = Long_lo(Long_shru(var$10, 17)); while (true) { $var4 = $var5 % 5 | 0; if ((($var5 - $var4 | 0) + 4 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; $var5 = Long_lo(Long_shru(var$10, 17)); } $var3 = $var3 | $var4 << 8; } var$2 = $this.$dataWatcher; var$6 = $var7 << 24 >> 24; var$14 = jl_Byte_byteCache.data[var$6 + 128 | 0]; var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[147]; if (var$8 !== null) { $var5 = var$8.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$var5 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var5) { var$4 = var$3.$key; if (var$8 !== var$4 && !(var$8 !== var$4 ? (var$4 instanceof jl_Integer && var$4.$value0 == $var5 ? 1 : 0) : 1) ? 0 : 1) break; } var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$14.$value2 ? 1 : 0)) { var$4.$watchedObject = var$14; var$4.$watched = 1; var$2.$objectChanged = 1; } $this.$field_110286_bQ = null; var$2 = $this.$dataWatcher; if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $var3; } var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$14 = jl_Integer_integerCache.data[148]; if (var$14 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$15 = var$14.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$15) { var$8 = var$4.$key; if (var$14 !== var$8 && !(var$14 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$15 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = var$8.$watchedObject; if (!(var$3 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$3.$value0 ? 1 : 0)) { var$8.$watchedObject = var$3; var$8.$watched = 1; var$2.$objectChanged = 1; } $this.$field_110286_bQ = null; var$2 = $this.$rand; var$10 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; $var4 = 17; var$15 = Long_lo(Long_shru(var$10, $var4)); while (true) { $var5 = var$15 % 5 | 0; if (((var$15 - $var5 | 0) + 4 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; var$15 = Long_lo(Long_shru(var$10, $var4)); } if ($var5) { if ($var7 != 4 && $var7 != 3) { var$2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { b: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break b; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$2 = $this.$rand; var$16 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$17 = 15.0 + Long_lo(Long_shr(Long_mul(Long_fromInt(8), Long_fromInt(Long_lo(Long_shru(var$16, $var4)))), 31)); var$10 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; var$15 = Long_lo(Long_shru(var$10, $var4)); while (true) { $var5 = var$15 % 9 | 0; if (((var$15 - $var5 | 0) + 8 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; var$15 = Long_lo(Long_shru(var$10, $var4)); } var$9 = var$17 + $var5; if (var$9 !== var$4.$baseValue) { var$4.$baseValue = var$9; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } if ($var7) { var$2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { c: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break c; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; if (0.17499999701976776 !== var$4.$baseValue) { var$4.$baseValue = 0.17499999701976776; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } } else { var$2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { d: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break d; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$2 = $this.$rand; var$16 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$9 = 0.44999998807907104 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.3; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$9 = var$9 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.3; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$18 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$18; var$19 = (var$9 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$18, 21))))) * 1.1102230246251565E-16 * 0.3) * 0.25; if (var$19 !== var$4.$baseValue) { var$4.$baseValue = var$19; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } } } else { var$2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { e: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break e; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; if (15.0 !== var$4.$baseValue) { var$4.$baseValue = 15.0; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } var$2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { f: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break f; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; if (0.20000000298023224 !== var$4.$baseValue) { var$4.$baseValue = 0.20000000298023224; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } } if ($var7 != 2 && $var7 != 1) { var$2 = nms_EntityHorse_horseJumpStrength; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { g: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break g; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; var$3 = $this.$rand; var$16 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$9 = 0.4000000059604645 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.2; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$9 = var$9 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.2; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$18 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$18; var$9 = var$9 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$18, 21))))) * 1.1102230246251565E-16 * 0.2; if (var$9 !== var$2.$baseValue) { var$2.$baseValue = var$9; var$2.$field_111133_g = 1; var$3 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } } } else { var$2 = nms_EntityHorse_horseJumpStrength; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { h: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break h; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (0.5 !== var$2.$baseValue) { var$2.$baseValue = 0.5; var$2.$field_111133_g = 1; var$3 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } } } var$2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { i: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break i; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$6 && ju_HashMap_areEqualKeys(var$2, var$3.$key))) { var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (var$2.$field_111133_g) { var$2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$2); var$2.$field_111133_g = 0; } var$20 = var$2.$field_111139_h; var$2 = $this.$dataWatcher; var$17 = 0.0; var$3 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $this.$attributeMap.$attributes; if (var$3 === null) var$3 = ju_HashMap_findNullKeyEntry(var$4); else { $var7 = nms_BaseAttribute_hashCode(var$3); var$3 = ju_HashMap_findNonNullKeyEntry(var$4, var$3, $var7 & (var$4.$elementData.data.length - 1 | 0), $var7); } var$3 = var$3 === null ? null : var$3.$value1; if (var$3.$field_111133_g) { var$3.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$3); var$3.$field_111133_g = 0; } var$21 = var$3.$field_111139_h; if (var$20 >= var$17) var$17 = var$20 <= var$21 ? var$20 : var$21; var$3 = new jl_Float; var$3.$value3 = var$17; var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$14 = jl_Integer_integerCache.data[134]; if (var$14 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$14.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$14 !== var$8 && !(var$14 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = var$8.$watchedObject; if (var$3 === var$4) $var3 = 1; else j: { if (var$4 instanceof jl_Float) { var$17 = var$3.$value3; var$21 = var$4.$value3; if (var$17 !== var$17 ? (var$21 === var$21 ? 0 : 1) : $rt_floatToRawIntBits(var$17) != $rt_floatToRawIntBits(var$21) ? 0 : 1) { $var3 = 1; break j; } } $var3 = 0; } if (!$var3) { var$8.$watchedObject = var$3; var$8.$watched = 1; var$2.$objectChanged = 1; } return $par1EntityLivingData1; } var$2 = $this.$dataWatcher; var$14 = new jl_Integer; var$14.$value0 = (-24000); var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[140]; if (var$8 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$15 = var$8.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$8 !== var$4 && !(var$8 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$15 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$3 = var$4.$watchedObject; if (!(var$14 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$14.$value0 ? 1 : 0)) { var$4.$watchedObject = var$14; var$4.$watched = 1; var$2.$objectChanged = 1; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[140]; if (var$4 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$15 = jl_Integer_hashCode(var$4.$value0); var$7 = var$2.$elementData.data; var$2 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$15 && ju_HashMap_areEqualKeys(var$4, var$2.$key))) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value0 >= 0 ? 0 : 1)) { var$21 = $this.$field_98056_d * 1.0; var$17 = $this.$field_98057_e * 1.0; $ptr = 1; continue main; } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = ju_HashMap_entryByKey(var$2, jl_Integer_integerCache.data[140]); var$6 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; var$20 = var$6 >= 0 ? 1.0 : 0.5 + ((-24000) - var$6 | 0) / (-24000.0) * 0.5; var$17 = $this.$field_98056_d * var$20; var$21 = $this.$field_98057_e * var$20; $ptr = 2; continue main; case 1: nms_Entity_setSize($this, var$21, var$17); if ($rt_suspending()) { break main; } if ($var7 != 4 && $var7 != 3) { var$2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { k: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break k; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$2 = $this.$rand; var$16 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$17 = 15.0 + Long_lo(Long_shr(Long_mul(Long_fromInt(8), Long_fromInt(Long_lo(Long_shru(var$16, $var4)))), 31)); var$10 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; var$15 = Long_lo(Long_shru(var$10, $var4)); while (true) { $var5 = var$15 % 9 | 0; if (((var$15 - $var5 | 0) + 8 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; var$15 = Long_lo(Long_shru(var$10, $var4)); } var$9 = var$17 + $var5; if (var$9 !== var$4.$baseValue) { var$4.$baseValue = var$9; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } if ($var7) { var$2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { l: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break l; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; if (0.17499999701976776 !== var$4.$baseValue) { var$4.$baseValue = 0.17499999701976776; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } } else { var$2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { m: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break m; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$2 = $this.$rand; var$16 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$9 = 0.44999998807907104 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.3; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$9 = var$9 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.3; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$18 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$18; var$19 = (var$9 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$18, 21))))) * 1.1102230246251565E-16 * 0.3) * 0.25; if (var$19 !== var$4.$baseValue) { var$4.$baseValue = var$19; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } } } else { var$2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { n: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break n; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; if (15.0 !== var$4.$baseValue) { var$4.$baseValue = 15.0; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } var$2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { o: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break o; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; if (0.20000000298023224 !== var$4.$baseValue) { var$4.$baseValue = 0.20000000298023224; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } } if ($var7 != 2 && $var7 != 1) { var$2 = nms_EntityHorse_horseJumpStrength; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { p: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break p; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; var$3 = $this.$rand; var$16 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$9 = 0.4000000059604645 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.2; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$9 = var$9 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.2; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$18 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$18; var$9 = var$9 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$18, 21))))) * 1.1102230246251565E-16 * 0.2; if (var$9 !== var$2.$baseValue) { var$2.$baseValue = var$9; var$2.$field_111133_g = 1; var$3 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } } } else { var$2 = nms_EntityHorse_horseJumpStrength; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { q: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break q; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (0.5 !== var$2.$baseValue) { var$2.$baseValue = 0.5; var$2.$field_111133_g = 1; var$3 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } } } var$2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { r: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break r; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$6 && ju_HashMap_areEqualKeys(var$2, var$3.$key))) { var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (var$2.$field_111133_g) { var$2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$2); var$2.$field_111133_g = 0; } var$20 = var$2.$field_111139_h; var$2 = $this.$dataWatcher; var$17 = 0.0; var$3 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $this.$attributeMap.$attributes; if (var$3 === null) var$3 = ju_HashMap_findNullKeyEntry(var$4); else { $var7 = nms_BaseAttribute_hashCode(var$3); var$3 = ju_HashMap_findNonNullKeyEntry(var$4, var$3, $var7 & (var$4.$elementData.data.length - 1 | 0), $var7); } var$3 = var$3 === null ? null : var$3.$value1; if (var$3.$field_111133_g) { var$3.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$3); var$3.$field_111133_g = 0; } var$21 = var$3.$field_111139_h; if (var$20 >= var$17) var$17 = var$20 <= var$21 ? var$20 : var$21; var$3 = new jl_Float; var$3.$value3 = var$17; var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$14 = jl_Integer_integerCache.data[134]; if (var$14 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$14.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$14 !== var$8 && !(var$14 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = var$8.$watchedObject; if (var$3 === var$4) $var3 = 1; else s: { if (var$4 instanceof jl_Float) { var$17 = var$3.$value3; var$21 = var$4.$value3; if (var$17 !== var$17 ? (var$21 === var$21 ? 0 : 1) : $rt_floatToRawIntBits(var$17) != $rt_floatToRawIntBits(var$21) ? 0 : 1) { $var3 = 1; break s; } } $var3 = 0; } if (!$var3) { var$8.$watchedObject = var$3; var$8.$watched = 1; var$2.$objectChanged = 1; } return $par1EntityLivingData1; case 2: nms_Entity_setSize($this, var$17, var$21); if ($rt_suspending()) { break main; } if ($var7 != 4 && $var7 != 3) { var$2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { k: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break k; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$2 = $this.$rand; var$16 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$17 = 15.0 + Long_lo(Long_shr(Long_mul(Long_fromInt(8), Long_fromInt(Long_lo(Long_shru(var$16, $var4)))), 31)); var$10 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; var$15 = Long_lo(Long_shru(var$10, $var4)); while (true) { $var5 = var$15 % 9 | 0; if (((var$15 - $var5 | 0) + 8 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; var$15 = Long_lo(Long_shru(var$10, $var4)); } var$9 = var$17 + $var5; if (var$9 !== var$4.$baseValue) { var$4.$baseValue = var$9; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } if ($var7) { var$2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { l: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break l; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; if (0.17499999701976776 !== var$4.$baseValue) { var$4.$baseValue = 0.17499999701976776; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } } else { var$2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { m: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break m; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; var$2 = $this.$rand; var$16 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$9 = 0.44999998807907104 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.3; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$9 = var$9 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.3; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$18 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$18; var$19 = (var$9 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$18, 21))))) * 1.1102230246251565E-16 * 0.3) * 0.25; if (var$19 !== var$4.$baseValue) { var$4.$baseValue = var$19; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } } } else { var$2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { n: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break n; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; if (15.0 !== var$4.$baseValue) { var$4.$baseValue = 15.0; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } var$2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { o: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break o; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$15 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$15 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$15) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$4 = var$3 === null ? null : var$3.$value1; if (0.20000000298023224 !== var$4.$baseValue) { var$4.$baseValue = 0.20000000298023224; var$4.$field_111133_g = 1; var$2 = var$4.$field_111138_a; if (var$4.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$4, var$2); } } } if ($var7 != 2 && $var7 != 1) { var$2 = nms_EntityHorse_horseJumpStrength; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { p: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break p; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; var$3 = $this.$rand; var$16 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$9 = 0.4000000059604645 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.2; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$9 = var$9 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$16, 21))))) * 1.1102230246251565E-16 * 0.2; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$16; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$16, 22))), 27); var$18 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$18; var$9 = var$9 + Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$18, 21))))) * 1.1102230246251565E-16 * 0.2; if (var$9 !== var$2.$baseValue) { var$2.$baseValue = var$9; var$2.$field_111133_g = 1; var$3 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } } } else { var$2 = nms_EntityHorse_horseJumpStrength; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { q: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break q; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$4 = var$3.$key; if (var$2 !== var$4 && !jl_Object_equals(var$2, var$4) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (0.5 !== var$2.$baseValue) { var$2.$baseValue = 0.5; var$2.$field_111133_g = 1; var$3 = var$2.$field_111138_a; if (var$2.$field_111136_b.$shouldWatch) { var$3 = var$3.$field_111162_d; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } } } var$2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { r: { var$4 = var$2.$field_111115_a; if (!var$4.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$4.$nativeString.length) break r; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$6 && ju_HashMap_areEqualKeys(var$2, var$3.$key))) { var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (var$2.$field_111133_g) { var$2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$2); var$2.$field_111133_g = 0; } var$20 = var$2.$field_111139_h; var$2 = $this.$dataWatcher; var$17 = 0.0; var$3 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $this.$attributeMap.$attributes; if (var$3 === null) var$3 = ju_HashMap_findNullKeyEntry(var$4); else { $var7 = nms_BaseAttribute_hashCode(var$3); var$3 = ju_HashMap_findNonNullKeyEntry(var$4, var$3, $var7 & (var$4.$elementData.data.length - 1 | 0), $var7); } var$3 = var$3 === null ? null : var$3.$value1; if (var$3.$field_111133_g) { var$3.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$3); var$3.$field_111133_g = 0; } var$21 = var$3.$field_111139_h; if (var$20 >= var$17) var$17 = var$20 <= var$21 ? var$20 : var$21; var$3 = new jl_Float; var$3.$value3 = var$17; var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$14 = jl_Integer_integerCache.data[134]; if (var$14 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$14.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$14 !== var$8 && !(var$14 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; var$4 = var$8.$watchedObject; if (var$3 === var$4) $var3 = 1; else s: { if (var$4 instanceof jl_Float) { var$17 = var$3.$value3; var$21 = var$4.$value3; if (var$17 !== var$17 ? (var$21 === var$21 ? 0 : 1) : $rt_floatToRawIntBits(var$17) != $rt_floatToRawIntBits(var$21) ? 0 : 1) { $var3 = 1; break s; } } $var3 = 0; } if (!$var3) { var$8.$watchedObject = var$3; var$8.$watched = 1; var$2.$objectChanged = 1; } return $par1EntityLivingData1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingData1, var$2, var$3, var$4, $var3, var$6, var$7, var$8, var$9, var$10, $var4, $var7, $var5, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr); }, nms_EntityHorse_isAIEnabled = $this => { return 1; }, nms_EntityHorse_spawnHorseParticles = ($this, $par1) => { let $var2, $var3, var$4, $var4, $var6, $var8, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = !$par1 ? $rt_s(1479) : $rt_s(1496); $var3 = 0; var$4 = 24; while ($var3 < 7) { $var4 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var6 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var8 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$8 = $this.$worldObj; var$9 = $this.$posX; var$10 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, var$4)) / 1.6777216E7; var$13 = $this.$width1; var$9 = var$9 + var$12 * var$13 * 2.0; var$14 = var$13; var$15 = var$9 - var$14; var$9 = $this.$posY + 0.5; var$16 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$16; var$9 = var$9 + Long_lo(Long_shru(var$16, var$4)) / 1.6777216E7 * $this.$height2; var$17 = $this.$posZ; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$16; var$17 = var$17 + Long_lo(Long_shru(var$16, var$4)) / 1.6777216E7 * var$13 * 2.0 - var$14; $par1 = 0; var$10 = var$8.$worldAccesses; var$18 = $rt_compare($par1, var$10.$size0); if (var$18 < 0) { if ($par1 >= 0 && var$18 < 0) { var$10 = var$10.$array.data[$par1]; $ptr = 1; continue main; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var3 = $var3 + 1 | 0; } return; case 1: nms_RenderGlobal_doSpawnParticle(var$10, $var2, var$15, var$9, var$17, $var4, $var6, $var8); if ($rt_suspending()) { break main; } $par1 = $par1 + 1 | 0; while (true) { var$10 = var$8.$worldAccesses; var$18 = $rt_compare($par1, var$10.$size0); if (var$18 < 0) { if ($par1 >= 0 && var$18 < 0) { var$10 = var$10.$array.data[$par1]; continue main; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var3 = $var3 + 1 | 0; if ($var3 >= 7) break; $var4 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var6 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; $var8 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.02; var$8 = $this.$worldObj; var$9 = $this.$posX; var$10 = $this.$rand; var$11 = Long_and(Long_add(Long_mul(var$10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, var$4)) / 1.6777216E7; var$13 = $this.$width1; var$9 = var$9 + var$12 * var$13 * 2.0; var$14 = var$13; var$15 = var$9 - var$14; var$9 = $this.$posY + 0.5; var$16 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$16; var$9 = var$9 + Long_lo(Long_shru(var$16, var$4)) / 1.6777216E7 * $this.$height2; var$17 = $this.$posZ; var$16 = Long_and(Long_add(Long_mul(var$16, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$16; var$17 = var$17 + Long_lo(Long_shru(var$16, var$4)) / 1.6777216E7 * var$13 * 2.0 - var$14; $par1 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var2, $var3, var$4, $var4, $var6, $var8, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityHorse_handleHealthUpdate = ($this, $par1) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 == 7) { $par1 = 1; $ptr = 1; continue main; } if ($par1 != 6) { $ptr = 2; continue main; } $par1 = 0; $ptr = 3; continue main; case 1: nms_EntityHorse_spawnHorseParticles($this, $par1); if ($rt_suspending()) { break main; } return; case 2: nms_EntityAnimal_handleHealthUpdate($this, $par1); if ($rt_suspending()) { break main; } return; case 3: nms_EntityHorse_spawnHorseParticles($this, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $ptr); }, nms_EntityHorse_updateRiderPosition = $this => { let var$1, $var4, $var3, var$4, var$5, $var1, $var2; var$1 = $this.$riddenByEntity; if (var$1 !== null) nms_Entity_setPosition(var$1, $this.$posX, $this.$posY + $this.$height2 * 0.75 + var$1.$getYOffset(), $this.$posZ); $var4 = $this.$prevRearingAmount; if ($var4 > 0.0) { $var3 = $this.$renderYawOffset * 3.1415927410125732 / 180.0; var$4 = nms_MathHelper_SIN_TABLE.data; var$5 = $var3 * 10430.3779296875; $var1 = var$4[(var$5 | 0) & 65535]; $var2 = var$4[(var$5 + 16384.0 | 0) & 65535]; $var3 = 0.699999988079071 * $var4; $var4 = 0.15000000596046448 * $var4; var$1 = $this.$riddenByEntity; nms_Entity_setPosition(var$1, $this.$posX + $var3 * $var1, $this.$posY + $this.$height2 * 0.75 + var$1.$getYOffset() + $var4, $this.$posZ - $var3 * $var2); var$1 = $this.$riddenByEntity; if (var$1 instanceof nms_EntityLivingBase) var$1.$renderYawOffset = $this.$renderYawOffset; } }, nms_EntityHorse_func_110211_v = $par0 => { nms_Item_$callClinit(); return $par0 != nms_Item_horseArmorIron.$itemID0 && $par0 != nms_Item_horseArmorGold.$itemID0 && $par0 != nms_Item_horseArmorDiamond.$itemID0 ? 0 : 1; }, nms_EntityHorse_isOnLadder = $this => { return 0; }, nms_EntityHorse__clinit_ = () => { let var$1, var$2, var$3; nms_EntityHorse_horseBreedingSelector = new nms_EntityHorseBredSelector; var$1 = nms_RangedAttribute__init_($rt_s(2455), 0.7, 0.0, 2.0); var$1.$field_111119_c = $rt_s(2456); var$1.$shouldWatch = 1; nms_EntityHorse_horseJumpStrength = var$1; var$2 = $rt_createArray(jl_String, 4); var$3 = var$2.data; var$3[0] = null; var$3[1] = $rt_s(2457); var$3[2] = $rt_s(2458); var$3[3] = $rt_s(2459); nms_EntityHorse_horseArmorTextures = var$2; nms_EntityHorse_field_110273_bx = $rt_wrapArray(jl_String, [$rt_s(18), $rt_s(2460), $rt_s(2461), $rt_s(2462)]); nms_EntityHorse_armorValues = $rt_createIntArrayFromData([0, 5, 7, 11]); nms_EntityHorse_horseTextures = $rt_wrapArray(jl_String, [$rt_s(2463), $rt_s(2464), $rt_s(2465), $rt_s(2466), $rt_s(2467), $rt_s(2468), $rt_s(2469)]); nms_EntityHorse_field_110269_bA = $rt_wrapArray(jl_String, [$rt_s(2470), $rt_s(2471), $rt_s(2472), $rt_s(2473), $rt_s(2474), $rt_s(2475), $rt_s(2476)]); var$2 = $rt_createArray(jl_String, 5); var$3 = var$2.data; var$3[0] = null; var$3[1] = $rt_s(2477); var$3[2] = $rt_s(2478); var$3[3] = $rt_s(2479); var$3[4] = $rt_s(2480); nms_EntityHorse_horseMarkingTextures = var$2; nms_EntityHorse_field_110292_bC = $rt_wrapArray(jl_String, [$rt_s(18), $rt_s(2481), $rt_s(2482), $rt_s(2483), $rt_s(2484)]); }, nms_RenderHorse = $rt_classWithoutFields(nms_RenderLiving), nms_RenderHorse_field_110852_a = null, nms_RenderHorse_whiteHorseTextures = null, nms_RenderHorse_muleTextures = null, nms_RenderHorse_donkeyTextures = null, nms_RenderHorse_zombieHorseTextures = null, nms_RenderHorse_skeletonHorseTextures = null, nms_RenderHorse_$callClinit = () => { nms_RenderHorse_$callClinit = $rt_eraseClinit(nms_RenderHorse); nms_RenderHorse__clinit_(); }, nms_RenderHorse_preRenderCallback = ($this, $par1EntityLivingBase, $par2) => { let var$3, var$4, var$5, var$6, var$7; $par1EntityLivingBase = $par1EntityLivingBase; $par2 = 1.0; $par1EntityLivingBase = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[147]; if (var$3 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$4 = var$3.$value0; var$5 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$4) { var$6 = $par1EntityLivingBase.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } var$7 = ($par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1).$watchedObject.$value2; if (var$7 == 1) $par2 = 0.8700000047683716; else if (var$7 == 2) $par2 = 0.9200000166893005; nleg_EaglerAdapterGL30_$callClinit(); $par1EntityLivingBase = nleg_EaglerAdapterGL30_deevis; $par1EntityLivingBase.$x = $par2; $par1EntityLivingBase.$y = $par2; $par1EntityLivingBase.$z = $par2; $par1EntityLivingBase = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityLivingBase, $par1EntityLivingBase); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityLivingBase = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; jl_Object__init_(var$6); var$6.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1EntityLivingBase); $par1EntityLivingBase.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$6); $par1EntityLivingBase.$sb = var$6; $par1EntityLivingBase.$buffer0 = $rt_createCharArray(32); $par1EntityLivingBase.$autoFlush = 0; $par1EntityLivingBase.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityLivingBase; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } }, nms_RenderHorse_renderModel = ($this, $par1EntityLivingBase, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1EntityLivingBase = $par1EntityLivingBase; var$8 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[128]; if (var$9 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$10 = jl_Integer_hashCode(var$9.$value0); var$11 = var$8.$elementData.data; var$8 = var$11[var$10 & (var$11.length - 1 | 0)]; while (var$8 !== null && !(var$8.$origKeyHash == var$10 && ju_HashMap_areEqualKeys(var$9, var$8.$key))) { var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; if (!(var$8.$watchedObject.$value2 & 32) ? 0 : 1) { $this.$mainModel.$setRotationAngles($par2, $par3, $par4, $par5, $par6, $par7, $par1EntityLivingBase); return; } $ptr = 1; case 1: $tmp = nms_RenderHorse_getEntityTexture($this, $par1EntityLivingBase); if ($rt_suspending()) { break main; } var$8 = $tmp; $ptr = 2; case 2: nle_TextureLocation_bindTexture(var$8); if ($rt_suspending()) { break main; } $this.$mainModel.$render0($par1EntityLivingBase, $par2, $par3, $par4, $par5, $par6, $par7); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, $par3, $par4, $par5, $par6, $par7, var$8, var$9, var$10, var$11, $ptr); }, nms_RenderHorse_bindTexture = ($this, $par1EntityLiving) => { return; }, nms_RenderHorse_getEntityTexture = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; $par1Entity = $par1Entity; var$2 = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[147]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = jl_Integer_hashCode(var$3.$value0); var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$3, var$2.$key))) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; a: { if (var$2.$watchedObject.$value2) { var$2 = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[150]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = jl_Integer_hashCode(var$3.$value0); var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$3, var$2.$key))) { var$2 = var$2.$next3; } } if ((var$2 === null ? null : var$2.$value1).$watchedObject.$value0 <= 0) { var$6 = 0; break a; } } var$6 = 1; } b: { if (!var$6) { $par1Entity = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$6 = var$2.$value0; var$5 = $par1Entity.$elementData.data; $par1Entity = var$5[var$6 & (var$5.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$6) { var$7 = $par1Entity.$key; if (var$2 !== var$7 && !jl_Integer_equals(var$2, var$7) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } switch (($par1Entity === null ? null : $par1Entity.$value1).$watchedObject.$value2) { case 0: break; case 1: nms_RenderHorse_$callClinit(); $par1Entity = nms_RenderHorse_donkeyTextures; break b; case 2: nms_RenderHorse_$callClinit(); $par1Entity = nms_RenderHorse_muleTextures; break b; case 3: nms_RenderHorse_$callClinit(); $par1Entity = nms_RenderHorse_zombieHorseTextures; break b; case 4: nms_RenderHorse_$callClinit(); $par1Entity = nms_RenderHorse_skeletonHorseTextures; break b; default: } nms_RenderHorse_$callClinit(); $par1Entity = nms_RenderHorse_whiteHorseTextures; } else { if ($par1Entity.$field_110286_bQ === null) nms_EntityHorse_setHorseTexturePaths($par1Entity); var$7 = $par1Entity.$field_110286_bQ; nms_RenderHorse_$callClinit(); $par1Entity = nms_RenderHorse_field_110852_a; if (var$7 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { c: { if (!var$7.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$7.$nativeString.length) break c; var$7.$hashCode1 = (31 * var$7.$hashCode1 | 0) + var$7.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$4 = var$7.$hashCode1; var$5 = $par1Entity.$elementData.data; $par1Entity = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$4) { d: { var$2 = $par1Entity.$key; if (var$7 !== var$2) { if (var$7 === var$2) var$6 = 1; else if (!(var$2 instanceof jl_String)) var$6 = 0; else { var$2 = var$2; var$6 = var$7.$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break d; } } var$6 = 1; } if (var$6) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if ($par1Entity === null) { $par1Entity = new nle_TextureLocation; $par1Entity.$path = var$7; $par1Entity.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$5[var$8] = $par1Entity; var$2.$modCount = var$2.$modCount + 1 | 0; ju_HashMap_putImpl(nms_RenderHorse_field_110852_a, var$7, $par1Entity); } } } return $par1Entity; }, nms_RenderHorse__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_RenderHorse_field_110852_a = var$1; var$5 = new nle_TextureLocation; var$5.$path = $rt_s(2463); var$5.$glObject = (-1); var$1 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$4 = var$1.$array.data; var$6 = var$1.$size0; var$1.$size0 = var$6 + 1 | 0; var$4[var$6] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; nms_RenderHorse_whiteHorseTextures = var$5; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2485); var$1.$glObject = (-1); var$5 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$6 = var$5.$size0; var$5.$size0 = var$6 + 1 | 0; var$4[var$6] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_RenderHorse_muleTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2486); var$1.$glObject = (-1); var$5 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$6 = var$5.$size0; var$5.$size0 = var$6 + 1 | 0; var$4[var$6] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_RenderHorse_donkeyTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2487); var$1.$glObject = (-1); var$5 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$6 = var$5.$size0; var$5.$size0 = var$6 + 1 | 0; var$4[var$6] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_RenderHorse_zombieHorseTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2488); var$1.$glObject = (-1); var$5 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$6 = var$5.$size0; var$5.$size0 = var$6 + 1 | 0; var$4[var$6] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; nms_RenderHorse_skeletonHorseTextures = var$1; }; function nms_ModelHorse() { let a = this; nms_ModelBase.call(a); a.$head1 = null; a.$mouthTop = null; a.$mouthBottom = null; a.$horseLeftEar = null; a.$horseRightEar = null; a.$field_110703_f = null; a.$field_110704_g = null; a.$neck = null; a.$field_110717_i = null; a.$mane = null; a.$body0 = null; a.$tailBase = null; a.$tailMiddle = null; a.$tailTip = null; a.$backLeftLeg = null; a.$backLeftShin = null; a.$backLeftHoof = null; a.$backRightLeg = null; a.$backRightShin = null; a.$backRightHoof = null; a.$frontRightLeg = null; a.$frontLeftShin = null; a.$frontLeftHoof = null; a.$field_110684_D = null; a.$frontRightShin = null; a.$frontRightHoof = null; a.$field_110687_G = null; a.$field_110695_H = null; a.$field_110696_I = null; a.$field_110697_J = null; a.$field_110698_K = null; a.$field_110691_L = null; a.$field_110692_M = null; a.$field_110693_N = null; a.$field_110694_O = null; a.$field_110700_P = null; a.$field_110699_Q = null; a.$field_110702_R = null; a.$field_110701_S = null; } let nms_ModelHorse__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; $this.$textureWidth0 = 128; $this.$textureHeight0 = 128; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 34; $this.$body0 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 34, (-5.0), (-8.0), (-19.0), 10, 10, 24, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$body0; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 11.0; var$1.$rotationPointZ = 9.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 44; var$1.$textureOffsetY = 0; $this.$tailBase = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 44, 0, (-1.0), (-1.0), 0.0, 2, 2, 3, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$tailBase; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 3.0; var$1.$rotationPointZ = 14.0; var$1.$rotateAngleX = (-1.1344640254974365); var$1.$rotateAngleY = 0.0; var$1.$rotateAngleZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 38; var$1.$textureOffsetY = 7; $this.$tailMiddle = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 38, 7, (-1.5), (-2.0), 3.0, 3, 4, 7, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$tailMiddle; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 3.0; var$1.$rotationPointZ = 14.0; var$1.$rotateAngleX = (-1.1344640254974365); var$1.$rotateAngleY = 0.0; var$1.$rotateAngleZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 24; var$1.$textureOffsetY = 3; $this.$tailTip = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 24, 3, (-1.5), (-4.5), 9.0, 3, 4, 7, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$tailTip; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 3.0; var$1.$rotationPointZ = 14.0; var$1.$rotateAngleX = (-1.40215003490448); var$1.$rotateAngleY = 0.0; var$1.$rotateAngleZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 78; var$1.$textureOffsetY = 29; $this.$backLeftLeg = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 78, 29, (-2.5), (-2.0), (-2.5), 4, 9, 5, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$backLeftLeg; var$1.$rotationPointX = 4.0; var$1.$rotationPointY = 9.0; var$1.$rotationPointZ = 11.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 78; var$1.$textureOffsetY = 43; $this.$backLeftShin = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 78, 43, (-2.0), 0.0, (-1.5), 3, 5, 3, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$backLeftShin; var$1.$rotationPointX = 4.0; var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = 11.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 78; var$1.$textureOffsetY = 51; $this.$backLeftHoof = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 78, 51, (-2.5), 5.099999904632568, (-2.0), 4, 3, 4, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$backLeftHoof; var$1.$rotationPointX = 4.0; var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = 11.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 96; var$1.$textureOffsetY = 29; $this.$backRightLeg = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 96, 29, (-1.5), (-2.0), (-2.5), 4, 9, 5, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$backRightLeg; var$1.$rotationPointX = (-4.0); var$1.$rotationPointY = 9.0; var$1.$rotationPointZ = 11.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 96; var$1.$textureOffsetY = 43; $this.$backRightShin = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 96, 43, (-1.0), 0.0, (-1.5), 3, 5, 3, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$backRightShin; var$1.$rotationPointX = (-4.0); var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = 11.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 96; var$1.$textureOffsetY = 51; $this.$backRightHoof = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 96, 51, (-1.5), 5.099999904632568, (-2.0), 4, 3, 4, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$backRightHoof; var$1.$rotationPointX = (-4.0); var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = 11.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 44; var$1.$textureOffsetY = 29; $this.$frontRightLeg = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 44, 29, (-1.899999976158142), (-1.0), (-2.0999999046325684), 3, 8, 4, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$frontRightLeg; var$1.$rotationPointX = 4.0; var$1.$rotationPointY = 9.0; var$1.$rotationPointZ = (-8.0); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 44; var$1.$textureOffsetY = 41; $this.$frontLeftShin = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 44, 41, (-1.899999976158142), 0.0, (-1.600000023841858), 3, 5, 3, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$frontLeftShin; var$1.$rotationPointX = 4.0; var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = (-8.0); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 44; var$1.$textureOffsetY = 51; $this.$frontLeftHoof = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 44, 51, (-2.4000000953674316), 5.099999904632568, (-2.0999999046325684), 4, 3, 4, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$frontLeftHoof; var$1.$rotationPointX = 4.0; var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = (-8.0); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 60; var$1.$textureOffsetY = 29; $this.$field_110684_D = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 60, 29, (-1.100000023841858), (-1.0), (-2.0999999046325684), 3, 8, 4, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$field_110684_D; var$1.$rotationPointX = (-4.0); var$1.$rotationPointY = 9.0; var$1.$rotationPointZ = (-8.0); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 60; var$1.$textureOffsetY = 41; $this.$frontRightShin = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 60, 41, (-1.100000023841858), 0.0, (-1.600000023841858), 3, 5, 3, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$frontRightShin; var$1.$rotationPointX = (-4.0); var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = (-8.0); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 60; var$1.$textureOffsetY = 51; $this.$frontRightHoof = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 60, 51, (-1.600000023841858), 5.099999904632568, (-2.0999999046325684), 4, 3, 4, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$frontRightHoof; var$1.$rotationPointX = (-4.0); var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = (-8.0); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; $this.$head1 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 0, (-2.5), (-10.0), (-1.5), 5, 5, 7, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$head1; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = (-10.0); var$1.$rotateAngleX = 0.5235987901687622; var$1.$rotateAngleY = 0.0; var$1.$rotateAngleZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 24; var$1.$textureOffsetY = 18; $this.$mouthTop = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 24, 18, (-2.0), (-10.0), (-7.0), 4, 3, 6, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$mouthTop; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 3.950000047683716; var$1.$rotationPointZ = (-10.0); var$1.$rotateAngleX = 0.5235987901687622; var$1.$rotateAngleY = 0.0; var$1.$rotateAngleZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 24; var$1.$textureOffsetY = 27; $this.$mouthBottom = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 24, 27, (-2.0), (-7.0), (-6.5), 4, 2, 5, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$mouthBottom; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = (-10.0); var$1.$rotateAngleX = 0.5235987901687622; var$1.$rotateAngleY = 0.0; var$1.$rotateAngleZ = 0.0; var$1 = $this.$head1; var$5 = $this.$mouthTop; if (var$1.$childModels === null) { var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$childModels = var$6; } var$1 = var$1.$childModels; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$4 = var$1.$array.data; var$9 = var$1.$size0; var$1.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$head1; var$5 = $this.$mouthBottom; if (var$1.$childModels === null) { var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$childModels = var$6; } var$1 = var$1.$childModels; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$4 = var$1.$array.data; var$9 = var$1.$size0; var$1.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; $this.$horseLeftEar = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 0, 0.44999998807907104, (-12.0), 4.0, 2, 3, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$horseLeftEar; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = (-10.0); var$1.$rotateAngleX = 0.5235987901687622; var$1.$rotateAngleY = 0.0; var$1.$rotateAngleZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; $this.$horseRightEar = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 0, (-2.450000047683716), (-12.0), 4.0, 2, 3, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$horseRightEar; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = (-10.0); var$1.$rotateAngleX = 0.5235987901687622; var$1.$rotateAngleY = 0.0; var$1.$rotateAngleZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 12; $this.$field_110703_f = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 12, (-2.0), (-16.0), 4.0, 2, 7, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$field_110703_f; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = (-10.0); var$1.$rotateAngleX = 0.5235987901687622; var$1.$rotateAngleY = 0.0; var$1.$rotateAngleZ = 0.2617993950843811; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 12; $this.$field_110704_g = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 12, 0.0, (-16.0), 4.0, 2, 7, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$field_110704_g; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = (-10.0); var$1.$rotateAngleX = 0.5235987901687622; var$1.$rotateAngleY = 0.0; var$1.$rotateAngleZ = (-0.2617993950843811); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 12; $this.$neck = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 12, (-2.049999952316284), (-9.800000190734863), (-2.0), 4, 14, 8, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$neck; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = (-10.0); var$1.$rotateAngleX = 0.5235987901687622; var$1.$rotateAngleY = 0.0; var$1.$rotateAngleZ = 0.0; var$1 = nms_ModelRenderer__init_4($this, null); var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 34; $this.$field_110687_G = var$1; ju_ArrayList_add(var$1.$cubeList, nms_ModelBox__init_(var$1, 0, 34, (-3.0), 0.0, 0.0, 8, 8, 3, 0.0)); var$1 = $this.$field_110687_G; var$1.$rotationPointX = (-7.5); var$1.$rotationPointY = 3.0; var$1.$rotationPointZ = 10.0; nms_ModelHorse_func_110682_a($this, var$1, 0.0, 1.5707963705062866, 0.0); var$1 = nms_ModelRenderer__init_3($this); nms_ModelRenderer_setTextureOffset(var$1, 0, 47); $this.$field_110695_H = var$1; nms_ModelRenderer_addBox0(var$1, (-3.0), 0.0, 0.0, 8, 8, 3); nms_ModelRenderer_setRotationPoint($this.$field_110695_H, 4.5, 3.0, 10.0); nms_ModelHorse_func_110682_a($this, $this.$field_110695_H, 0.0, 1.5707963705062866, 0.0); var$1 = nms_ModelRenderer__init_($this, 80, 0); $this.$field_110696_I = var$1; nms_ModelRenderer_addBox0(var$1, (-5.0), 0.0, (-3.0), 10, 1, 8); nms_ModelRenderer_setRotationPoint($this.$field_110696_I, 0.0, 2.0, 2.0); var$1 = nms_ModelRenderer__init_($this, 106, 9); $this.$field_110697_J = var$1; nms_ModelRenderer_addBox0(var$1, (-1.5), (-1.0), (-3.0), 3, 1, 2); nms_ModelRenderer_setRotationPoint($this.$field_110697_J, 0.0, 2.0, 2.0); var$1 = nms_ModelRenderer__init_($this, 80, 9); $this.$field_110698_K = var$1; nms_ModelRenderer_addBox0(var$1, (-4.0), (-1.0), 3.0, 8, 1, 2); nms_ModelRenderer_setRotationPoint($this.$field_110698_K, 0.0, 2.0, 2.0); var$1 = nms_ModelRenderer__init_($this, 74, 0); $this.$field_110692_M = var$1; nms_ModelRenderer_addBox0(var$1, (-0.5), 6.0, (-1.0), 1, 2, 2); nms_ModelRenderer_setRotationPoint($this.$field_110692_M, 5.0, 3.0, 2.0); var$1 = nms_ModelRenderer__init_($this, 70, 0); $this.$field_110691_L = var$1; nms_ModelRenderer_addBox0(var$1, (-0.5), 0.0, (-0.5), 1, 6, 1); nms_ModelRenderer_setRotationPoint($this.$field_110691_L, 5.0, 3.0, 2.0); var$1 = nms_ModelRenderer__init_($this, 74, 4); $this.$field_110694_O = var$1; nms_ModelRenderer_addBox0(var$1, (-0.5), 6.0, (-1.0), 1, 2, 2); nms_ModelRenderer_setRotationPoint($this.$field_110694_O, (-5.0), 3.0, 2.0); var$1 = nms_ModelRenderer__init_($this, 80, 0); $this.$field_110693_N = var$1; nms_ModelRenderer_addBox0(var$1, (-0.5), 0.0, (-0.5), 1, 6, 1); nms_ModelRenderer_setRotationPoint($this.$field_110693_N, (-5.0), 3.0, 2.0); var$1 = nms_ModelRenderer__init_($this, 74, 13); $this.$field_110700_P = var$1; nms_ModelRenderer_addBox0(var$1, 1.5, (-8.0), (-4.0), 1, 2, 2); nms_ModelRenderer_setRotationPoint($this.$field_110700_P, 0.0, 4.0, (-10.0)); nms_ModelHorse_func_110682_a($this, $this.$field_110700_P, 0.5235987901687622, 0.0, 0.0); var$1 = nms_ModelRenderer__init_($this, 74, 13); $this.$field_110699_Q = var$1; nms_ModelRenderer_addBox0(var$1, (-2.5), (-8.0), (-4.0), 1, 2, 2); nms_ModelRenderer_setRotationPoint($this.$field_110699_Q, 0.0, 4.0, (-10.0)); nms_ModelHorse_func_110682_a($this, $this.$field_110699_Q, 0.5235987901687622, 0.0, 0.0); var$1 = nms_ModelRenderer__init_($this, 44, 10); $this.$field_110702_R = var$1; nms_ModelRenderer_addBox0(var$1, 2.5999999046325684, (-6.0), (-6.0), 0, 3, 16); nms_ModelRenderer_setRotationPoint($this.$field_110702_R, 0.0, 4.0, (-10.0)); var$1 = nms_ModelRenderer__init_($this, 44, 5); $this.$field_110701_S = var$1; nms_ModelRenderer_addBox0(var$1, (-2.5999999046325684), (-6.0), (-6.0), 0, 3, 16); nms_ModelRenderer_setRotationPoint($this.$field_110701_S, 0.0, 4.0, (-10.0)); var$1 = nms_ModelRenderer__init_($this, 58, 0); $this.$mane = var$1; nms_ModelRenderer_addBox0(var$1, (-1.0), (-11.5), 5.0, 2, 16, 4); nms_ModelRenderer_setRotationPoint($this.$mane, 0.0, 4.0, (-10.0)); nms_ModelHorse_func_110682_a($this, $this.$mane, 0.5235987901687622, 0.0, 0.0); var$1 = nms_ModelRenderer__init_($this, 80, 12); $this.$field_110717_i = var$1; nms_ModelRenderer_addBox1(var$1, (-2.5), (-10.100000381469727), (-7.0), 5, 5, 12, 0.20000000298023224); nms_ModelRenderer_setRotationPoint($this.$field_110717_i, 0.0, 4.0, (-10.0)); nms_ModelHorse_func_110682_a($this, $this.$field_110717_i, 0.5235987901687622, 0.0, 0.0); }, nms_ModelHorse__init_0 = () => { let var_0 = new nms_ModelHorse(); nms_ModelHorse__init_(var_0); return var_0; }, nms_ModelHorse_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, var$9, $var14, var$11, var$12, var$13, $var10, $var11, $var13, $var12, $var16, var$19, $var15, $var17; $var8 = $par1Entity; $par1Entity = $var8.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[147]; if (var$9 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { $var14 = var$9.$value0; var$11 = $par1Entity.$elementData.data; $par1Entity = var$11[$var14 & (var$11.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == $var14) { var$12 = $par1Entity.$key; if (var$9 !== var$12 && !(var$9 === var$12 ? 1 : var$12 instanceof jl_Integer && var$12.$value0 == $var14 ? 1 : 0) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } var$13 = ($par1Entity === null ? null : $par1Entity.$value1).$watchedObject.$value2; $par3 = $var8.$prevHeadLean; $var10 = $par3 + ($var8.$headLean - $par3) * 0.0; $par1Entity = $var8.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { $var14 = jl_Integer_hashCode(var$9.$value0); var$11 = $par1Entity.$elementData.data; $par1Entity = var$11[$var14 & (var$11.length - 1 | 0)]; while ($par1Entity !== null && !($par1Entity.$origKeyHash == $var14 && ju_HashMap_areEqualKeys(var$9, $par1Entity.$key))) { $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; $var11 = ($par1Entity.$watchedObject.$value0 >= 0 ? 0 : 1) ? 0 : 1; a: { if ($var11) { $par1Entity = $var8.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[144]; if (var$12 !== null) { $var13 = var$12.$value0; var$11 = $par1Entity.$elementData.data; $par1Entity = var$11[$var13 & (var$11.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == $var13) { var$9 = $par1Entity.$key; if (var$12 !== var$9 && !jl_Integer_equals(var$12, var$9) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } else { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if (!($par1Entity.$watchedObject.$value0 & 4) ? 0 : 1) { $var12 = 1; break a; } } $var12 = 0; } b: { if ($var11) { $par1Entity = $var8.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 !== null) { $var16 = var$9.$value0; var$11 = $par1Entity.$elementData.data; $par1Entity = var$11[$var16 & (var$11.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == $var16) { var$12 = $par1Entity.$key; if (var$9 !== var$12 && !jl_Integer_equals(var$9, var$12) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } else { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if (!($par1Entity.$watchedObject.$value0 & 8) ? 0 : 1) { $var13 = 1; break b; } } $var13 = 0; } $var14 = var$13 != 1 && var$13 != 2 ? 0 : 1; $par1Entity = $var8.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[140]; if (var$12 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$19 = var$12.$value0; var$11 = $par1Entity.$elementData.data; $par1Entity = var$11[var$19 & (var$11.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$19) { var$9 = $par1Entity.$key; if (var$12 !== var$9 && !jl_Integer_equals(var$12, var$9) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } var$13 = ($par1Entity === null ? null : $par1Entity.$value1).$watchedObject.$value0; $var15 = var$13 >= 0 ? 1.0 : 0.5 + ((-24000) - var$13 | 0) / (-24000.0) * 0.5; $var16 = $var8.$riddenByEntity === null ? 0 : 1; if ($var12) { nms_ModelRenderer_render($this.$field_110717_i, $par7); nms_ModelRenderer_render($this.$field_110696_I, $par7); nms_ModelRenderer_render($this.$field_110697_J, $par7); nms_ModelRenderer_render($this.$field_110698_K, $par7); nms_ModelRenderer_render($this.$field_110691_L, $par7); nms_ModelRenderer_render($this.$field_110692_M, $par7); nms_ModelRenderer_render($this.$field_110693_N, $par7); nms_ModelRenderer_render($this.$field_110694_O, $par7); nms_ModelRenderer_render($this.$field_110700_P, $par7); nms_ModelRenderer_render($this.$field_110699_Q, $par7); if ($var16) { nms_ModelRenderer_render($this.$field_110702_R, $par7); nms_ModelRenderer_render($this.$field_110701_S, $par7); } } if (!$var11) { nleg_EaglerAdapterGL30_glPushMatrix(); $par2 = 0.5 + $var15 * 0.5; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = $var15; $par1Entity.$y = $par2; $par1Entity.$z = $var15; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var8, 16); $par1Entity.$sb = $var8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par3 = 0.949999988079071 * (1.0 - $var15); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par3; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var8, 16); $par1Entity.$sb = $var8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nms_ModelRenderer_render($this.$backLeftLeg, $par7); nms_ModelRenderer_render($this.$backLeftShin, $par7); nms_ModelRenderer_render($this.$backLeftHoof, $par7); nms_ModelRenderer_render($this.$backRightLeg, $par7); nms_ModelRenderer_render($this.$backRightShin, $par7); nms_ModelRenderer_render($this.$backRightHoof, $par7); nms_ModelRenderer_render($this.$frontRightLeg, $par7); nms_ModelRenderer_render($this.$frontLeftShin, $par7); nms_ModelRenderer_render($this.$frontLeftHoof, $par7); nms_ModelRenderer_render($this.$field_110684_D, $par7); nms_ModelRenderer_render($this.$frontRightShin, $par7); nms_ModelRenderer_render($this.$frontRightHoof, $par7); if (!$var11) { nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = $var15; $par1Entity.$y = $var15; $par1Entity.$z = $var15; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var8, 16); $par1Entity.$sb = $var8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par3 = 1.350000023841858 * (1.0 - $var15); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par3; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var8 = new otcic_JSStderrPrintStream; $par1Entity = new ji_ByteArrayOutputStream; $par1Entity.$buf = $rt_createByteArray(32); jl_Object__init_($var8); $var8.$out0 = $par1Entity; $par1Entity = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par1Entity, 16); $var8.$sb = $par1Entity; $var8.$buffer0 = $rt_createCharArray(32); $var8.$autoFlush = 0; $var8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nms_ModelRenderer_render($this.$body0, $par7); nms_ModelRenderer_render($this.$tailBase, $par7); nms_ModelRenderer_render($this.$tailMiddle, $par7); nms_ModelRenderer_render($this.$tailTip, $par7); nms_ModelRenderer_render($this.$neck, $par7); nms_ModelRenderer_render($this.$mane, $par7); if (!$var11) { nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glPushMatrix(); $var17 = 0.5 + $var15 * $var15 * 0.5; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = $var17; $par1Entity.$y = $var17; $par1Entity.$z = $var17; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var8, 16); $par1Entity.$sb = $var8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($var10 <= 0.0) { $par2 = 1.350000023841858 * (1.0 - $var15); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par2; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var8, 16); $par1Entity.$sb = $var8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { $par4 = 1.0 - $var15; $par3 = 0.8999999761581421 * $par4 * $var10 + 1.350000023841858 * $par4 * (1.0 - $var10); $par4 = 0.15000000596046448 * $par4 * $var10; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par3; $par1Entity.$z = $par4; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var8, 16); $par1Entity.$sb = $var8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } if (!$var14) { nms_ModelRenderer_render($this.$horseLeftEar, $par7); nms_ModelRenderer_render($this.$horseRightEar, $par7); } else { nms_ModelRenderer_render($this.$field_110703_f, $par7); nms_ModelRenderer_render($this.$field_110704_g, $par7); } nms_ModelRenderer_render($this.$head1, $par7); if (!$var11) nleg_EaglerAdapterGL30_glPopMatrix(); if ($var13) { nms_ModelRenderer_render($this.$field_110687_G, $par7); nms_ModelRenderer_render($this.$field_110695_H, $par7); } }, nms_ModelHorse_func_110682_a = ($this, $par1ModelRenderer, $par2, $par3, $par4) => { $par1ModelRenderer.$rotateAngleX = $par2; $par1ModelRenderer.$rotateAngleY = $par3; $par1ModelRenderer.$rotateAngleZ = $par4; }, nms_ModelHorse_setLivingAnimations = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { let $var18, $var25, $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, $var13, $var14, $var15, var$18, var$19, var$20, var$21, var$22, $var17, $var19, $var20, var$26, var$27, var$28, var$29, var$30, $var24, $var26, $var27; $var18 = $par1EntityLivingBase.$prevRenderYawOffset; $var25 = $par1EntityLivingBase.$renderYawOffset - $var18; while ($var25 < (-180.0)) { $var25 = $var25 + 360.0; } while ($var25 >= 180.0) { $var25 = $var25 - 360.0; } $var5 = $var18 + $par4 * $var25; $var18 = $par1EntityLivingBase.$prevRotationYawHead; $var25 = $par1EntityLivingBase.$rotationYawHead - $var18; while ($var25 < (-180.0)) { $var25 = $var25 + 360.0; } while ($var25 >= 180.0) { $var25 = $var25 - 360.0; } $var6 = $var18 + $par4 * $var25; $var18 = $par1EntityLivingBase.$prevRotationPitch; $var7 = $var18 + ($par1EntityLivingBase.$rotationPitch - $var18) * $par4; $var8 = $var6 - $var5; $var9 = $var7 / 57.2957763671875; if ($var8 > 20.0) $var8 = 20.0; if ($var8 < (-20.0)) $var8 = (-20.0); if ($par3 > 0.20000000298023224) { $var18 = $par2 * 0.4000000059604645; $var9 = $var9 + nms_MathHelper_SIN_TABLE.data[($var18 * 10430.3779296875 + 16384.0 | 0) & 65535] * 0.15000000596046448 * $par3; } $var10 = $par1EntityLivingBase; $var18 = $var10.$prevHeadLean; $var11 = $var18 + ($var10.$headLean - $var18) * $par4; $var18 = $var10.$prevRearingAmount; $var12 = $var18 + ($var10.$rearingAmount - $var18) * $par4; $var13 = 1.0 - $var12; $var18 = $var10.$prevMouthOpenness; $var14 = $var18 + ($var10.$mouthOpenness - $var18) * $par4; $var15 = !$var10.$field_110278_bp ? 0 : 1; var$18 = $var10.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$19 = jl_Integer_integerCache.data[144]; if (var$19 === null) { var$18 = var$18.$elementData.data[0]; while (var$18 !== null && var$18.$key !== null) { var$18 = var$18.$next3; } } else { var$20 = var$19.$value0; var$21 = var$18.$elementData.data; var$18 = var$21[var$20 & (var$21.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == var$20) { var$22 = var$18.$key; if (var$19 !== var$22 && !jl_Integer_equals(var$19, var$22) ? 0 : 1) break; } var$18 = var$18.$next3; } } var$18 = var$18 === null ? null : var$18.$value1; var$20 = !(var$18.$watchedObject.$value0 & 4) ? 0 : 1; $var17 = $var10.$riddenByEntity === null ? 0 : 1; $var18 = $par1EntityLivingBase.$ticksExisted + $par4; $par4 = $par2 * 0.6661999821662903 + 3.1415927410125732; $var19 = nms_MathHelper_SIN_TABLE.data[($par4 * 10430.3779296875 + 16384.0 | 0) & 65535]; $var20 = $var19 * 0.800000011920929 * $par3; $par1EntityLivingBase = $this.$head1; $par1EntityLivingBase.$rotationPointY = 4.0; $par1EntityLivingBase.$rotationPointZ = (-10.0); $this.$tailBase.$rotationPointY = 3.0; $this.$tailMiddle.$rotationPointZ = 14.0; $var10 = $this.$field_110695_H; $var10.$rotationPointY = 3.0; $var10.$rotationPointZ = 10.0; $this.$body0.$rotateAngleX = 0.0; $par1EntityLivingBase.$rotateAngleX = 0.5235987901687622 + $var9; $par4 = $var8 / 57.2957763671875; $par1EntityLivingBase.$rotateAngleY = $par4; $var25 = $var12 * (0.2617993950843811 + $var9) + $var11 * 2.1816599369049072; $par2 = 1.0 - jl_Math_maxImpl($var12, $var11); $var10 = $this.$head1; $par1EntityLivingBase.$rotateAngleX = $var25 + $par2 * $var10.$rotateAngleX; $var25 = $var12 * $par4; $par2 = 1.0 - jl_Math_maxImpl($var12, $var11); $par1EntityLivingBase = $this.$head1; $var10.$rotateAngleY = $var25 + $par2 * $par1EntityLivingBase.$rotateAngleY; $par4 = $var12 * (-6.0) + $var11 * 11.0; $par2 = 1.0 - jl_Math_maxImpl($var12, $var11); $var10 = $this.$head1; $par1EntityLivingBase.$rotationPointY = $par4 + $par2 * $var10.$rotationPointY; $par4 = $var12 * (-1.0) + $var11 * (-10.0); $par2 = 1.0 - jl_Math_maxImpl($var12, $var11); $par1EntityLivingBase = $this.$head1; $var10.$rotationPointZ = $par4 + $par2 * $par1EntityLivingBase.$rotationPointZ; $var10 = $this.$tailBase; $var10.$rotationPointY = $var12 * 9.0 + $var13 * $var10.$rotationPointY; $var10 = $this.$tailMiddle; $var10.$rotationPointZ = $var12 * 18.0 + $var13 * $var10.$rotationPointZ; $var10 = $this.$field_110695_H; $var10.$rotationPointY = $var12 * 5.5 + $var13 * $var10.$rotationPointY; $var10.$rotationPointZ = $var12 * 15.0 + $var13 * $var10.$rotationPointZ; var$18 = $this.$body0; var$18.$rotateAngleX = $var12 * (-0.7853981852531433) + $var13 * var$18.$rotateAngleX; var$18 = $this.$horseLeftEar; var$18.$rotationPointY = $par1EntityLivingBase.$rotationPointY; var$22 = $this.$horseRightEar; var$22.$rotationPointY = $par1EntityLivingBase.$rotationPointY; var$19 = $this.$field_110703_f; var$19.$rotationPointY = $par1EntityLivingBase.$rotationPointY; var$26 = $this.$field_110704_g; var$26.$rotationPointY = $par1EntityLivingBase.$rotationPointY; var$27 = $this.$neck; var$27.$rotationPointY = $par1EntityLivingBase.$rotationPointY; var$28 = $this.$mouthTop; var$28.$rotationPointY = 0.019999999552965164; var$29 = $this.$mouthBottom; var$29.$rotationPointY = 0.0; var$30 = $this.$mane; var$30.$rotationPointY = $par1EntityLivingBase.$rotationPointY; var$18.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ; var$22.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ; var$19.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ; var$26.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ; var$27.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ; $par4 = $var14 * 1.0; var$28.$rotationPointZ = 0.019999999552965164 - $par4; var$29.$rotationPointZ = 0.0 + $par4; var$30.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ; var$18.$rotateAngleX = $par1EntityLivingBase.$rotateAngleX; var$22.$rotateAngleX = $par1EntityLivingBase.$rotateAngleX; var$19.$rotateAngleX = $par1EntityLivingBase.$rotateAngleX; var$26.$rotateAngleX = $par1EntityLivingBase.$rotateAngleX; var$27.$rotateAngleX = $par1EntityLivingBase.$rotateAngleX; var$28.$rotateAngleX = 0.0 - 0.09424778074026108 * $var14; var$29.$rotateAngleX = 0.0 + 0.15707963705062866 * $var14; var$30.$rotateAngleX = $par1EntityLivingBase.$rotateAngleX; var$18.$rotateAngleY = $par1EntityLivingBase.$rotateAngleY; var$22.$rotateAngleY = $par1EntityLivingBase.$rotateAngleY; var$19.$rotateAngleY = $par1EntityLivingBase.$rotateAngleY; var$26.$rotateAngleY = $par1EntityLivingBase.$rotateAngleY; var$27.$rotateAngleY = $par1EntityLivingBase.$rotateAngleY; var$28.$rotateAngleY = 0.0; var$29.$rotateAngleY = 0.0; var$30.$rotateAngleY = $par1EntityLivingBase.$rotateAngleY; $par1EntityLivingBase = $this.$field_110687_G; $var7 = $var20 / 5.0; $par1EntityLivingBase.$rotateAngleX = $var7; $var8 = -$var20; $var11 = $var8 / 5.0; $var10.$rotateAngleX = $var11; $var24 = 0.2617993950843811 * $var12; $par4 = $var18 * 0.6000000238418579 + 3.1415927410125732; var$21 = nms_MathHelper_SIN_TABLE.data; $var25 = var$21[($par4 * 10430.3779296875 + 16384.0 | 0) & 65535]; $var10 = $this.$frontRightLeg; $par2 = (-2.0) * $var12; $par4 = $par2 + 9.0 * $var13; $var10.$rotationPointY = $par4; $par2 = $par2 + (-8.0) * $var13; $var10.$rotationPointZ = $par2; var$18 = $this.$field_110684_D; var$18.$rotationPointY = $par4; var$18.$rotationPointZ = $par2; var$22 = $this.$backLeftShin; var$19 = $this.$backLeftLeg; $par4 = var$19.$rotationPointY; $var14 = 1.5707963705062866 + $var24; $var6 = -$var19; $var26 = $var13 * $var6 * 0.5 * $par3; var$22.$rotationPointY = $par4 + var$21[(($var14 + $var26) * 10430.3779296875 | 0) & 65535] * 7.0; $var27 = var$19.$rotationPointZ; $var5 = 4.71238899230957 + $var24; var$22.$rotationPointZ = $var27 + var$21[(($var5 + $var26) * 10430.3779296875 + 16384.0 | 0) & 65535] * 7.0; $par1EntityLivingBase = $this.$backRightShin; var$26 = $this.$backRightLeg; $var26 = var$26.$rotationPointY; $par4 = $var13 * $var19 * 0.5 * $par3; $par1EntityLivingBase.$rotationPointY = $var26 + var$21[(($var14 + $par4) * 10430.3779296875 | 0) & 65535] * 7.0; $par1EntityLivingBase.$rotationPointZ = var$26.$rotationPointZ + var$21[(($var5 + $par4) * 10430.3779296875 + 16384.0 | 0) & 65535] * 7.0; $var26 = ((-1.0471975803375244) + $var25) * $var12 + $var20 * $var13; $var27 = ((-1.0471975803375244) + -$var25) * $var12 + $var8 * $var13; $par1EntityLivingBase = $this.$frontLeftShin; $par1EntityLivingBase.$rotationPointY = $var10.$rotationPointY + var$21[((1.5707963705062866 + $var26) * 10430.3779296875 | 0) & 65535] * 7.0; $par1EntityLivingBase.$rotationPointZ = $var10.$rotationPointZ + var$21[((4.71238899230957 + $var26) * 10430.3779296875 + 16384.0 | 0) & 65535] * 7.0; $par1EntityLivingBase = $this.$frontRightShin; $par1EntityLivingBase.$rotationPointY = var$18.$rotationPointY + var$21[((1.5707963705062866 + $var27) * 10430.3779296875 | 0) & 65535] * 7.0; $par1EntityLivingBase.$rotationPointZ = var$18.$rotationPointZ + var$21[((4.71238899230957 + $var27) * 10430.3779296875 + 16384.0 | 0) & 65535] * 7.0; $par4 = $var6 * 0.5 * $par3; var$19.$rotateAngleX = $var24 + $par4 * $var13; $var14 = (-0.0872664600610733) * $var12; $var19 = $var19 * 0.5 * $par3; var$22.$rotateAngleX = $var14 + ($par4 - jl_Math_maxImpl(0.0, $var19)) * $var13; $this.$backLeftHoof.$rotateAngleX = $this.$backLeftShin.$rotateAngleX; $this.$backRightLeg.$rotateAngleX = $var24 + $var19 * $var13; $this.$backRightShin.$rotateAngleX = $var14 + ($var19 - jl_Math_maxImpl(0.0, $par4)) * $var13; $this.$backRightHoof.$rotateAngleX = $this.$backRightShin.$rotateAngleX; $this.$frontRightLeg.$rotateAngleX = $var26; $par1EntityLivingBase = $this.$frontLeftShin; $var25 = $var25 * 0.20000000298023224; $par1EntityLivingBase.$rotateAngleX = ($var26 + 3.1415927410125732 * jl_Math_maxImpl(0.0, 0.20000000298023224 + $var25)) * $var12 + ($var20 + jl_Math_maxImpl(0.0, $var19)) * $var13; $this.$frontLeftHoof.$rotateAngleX = $this.$frontLeftShin.$rotateAngleX; $this.$field_110684_D.$rotateAngleX = $var27; $this.$frontRightShin.$rotateAngleX = ($var27 + 3.1415927410125732 * jl_Math_maxImpl(0.0, 0.20000000298023224 - $var25)) * $var12 + ($var8 + jl_Math_maxImpl(0.0, $par4)) * $var13; $par1EntityLivingBase = $this.$frontRightHoof; $var10 = $this.$frontRightShin; $par1EntityLivingBase.$rotateAngleX = $var10.$rotateAngleX; var$18 = $this.$backLeftHoof; var$22 = $this.$backLeftShin; var$18.$rotationPointY = var$22.$rotationPointY; var$18.$rotationPointZ = var$22.$rotationPointZ; var$18 = $this.$backRightHoof; var$22 = $this.$backRightShin; var$18.$rotationPointY = var$22.$rotationPointY; var$18.$rotationPointZ = var$22.$rotationPointZ; var$18 = $this.$frontLeftHoof; var$22 = $this.$frontLeftShin; var$18.$rotationPointY = var$22.$rotationPointY; var$18.$rotationPointZ = var$22.$rotationPointZ; $par1EntityLivingBase.$rotationPointY = $var10.$rotationPointY; $par1EntityLivingBase.$rotationPointZ = $var10.$rotationPointZ; if (var$20) { $par1EntityLivingBase = $this.$field_110696_I; $par2 = $var12 * 0.5; $par4 = $var13 * 2.0; $par2 = $par2 + $par4; $par1EntityLivingBase.$rotationPointY = $par2; $par4 = $var12 * 11.0 + $par4; $par1EntityLivingBase.$rotationPointZ = $par4; $var10 = $this.$field_110697_J; $var10.$rotationPointY = $par2; var$18 = $this.$field_110698_K; var$18.$rotationPointY = $par1EntityLivingBase.$rotationPointY; var$22 = $this.$field_110691_L; var$22.$rotationPointY = $par1EntityLivingBase.$rotationPointY; var$19 = $this.$field_110693_N; var$19.$rotationPointY = $par1EntityLivingBase.$rotationPointY; var$26 = $this.$field_110692_M; var$26.$rotationPointY = $par1EntityLivingBase.$rotationPointY; var$27 = $this.$field_110694_O; var$27.$rotationPointY = $par1EntityLivingBase.$rotationPointY; var$28 = $this.$field_110687_G; var$29 = $this.$field_110695_H; var$28.$rotationPointY = var$29.$rotationPointY; $var10.$rotationPointZ = $par4; var$18.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ; var$22.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ; var$19.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ; var$26.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ; var$27.$rotationPointZ = $par1EntityLivingBase.$rotationPointZ; var$28.$rotationPointZ = var$29.$rotationPointZ; var$28 = $this.$body0; $par1EntityLivingBase.$rotateAngleX = var$28.$rotateAngleX; $var10.$rotateAngleX = var$28.$rotateAngleX; var$18.$rotateAngleX = var$28.$rotateAngleX; $par1EntityLivingBase = $this.$field_110702_R; $var10 = $this.$head1; $par1EntityLivingBase.$rotationPointY = $var10.$rotationPointY; var$18 = $this.$field_110701_S; var$18.$rotationPointY = $var10.$rotationPointY; var$28 = $this.$field_110717_i; var$28.$rotationPointY = $var10.$rotationPointY; var$29 = $this.$field_110700_P; var$29.$rotationPointY = $var10.$rotationPointY; var$30 = $this.$field_110699_Q; var$30.$rotationPointY = $var10.$rotationPointY; $par1EntityLivingBase.$rotationPointZ = $var10.$rotationPointZ; var$18.$rotationPointZ = $var10.$rotationPointZ; var$28.$rotationPointZ = $var10.$rotationPointZ; var$29.$rotationPointZ = $var10.$rotationPointZ; var$30.$rotationPointZ = $var10.$rotationPointZ; $par1EntityLivingBase.$rotateAngleX = $var9; var$18.$rotateAngleX = $var9; var$28.$rotateAngleX = $var10.$rotateAngleX; var$29.$rotateAngleX = $var10.$rotateAngleX; var$30.$rotateAngleX = $var10.$rotateAngleX; var$28.$rotateAngleY = $var10.$rotateAngleY; var$29.$rotateAngleY = $var10.$rotateAngleY; $par1EntityLivingBase.$rotateAngleY = $var10.$rotateAngleY; var$30.$rotateAngleY = $var10.$rotateAngleY; var$18.$rotateAngleY = $var10.$rotateAngleY; if (!$var17) { $par2 = $var20 / 3.0; var$22.$rotateAngleX = $par2; var$26.$rotateAngleX = $par2; var$19.$rotateAngleX = $par2; var$27.$rotateAngleX = $par2; var$22.$rotateAngleZ = $var7; var$26.$rotateAngleZ = $var7; var$19.$rotateAngleZ = $var11; var$27.$rotateAngleZ = $var11; } else { var$22.$rotateAngleX = (-1.0471975803375244); var$26.$rotateAngleX = (-1.0471975803375244); var$19.$rotateAngleX = (-1.0471975803375244); var$27.$rotateAngleX = (-1.0471975803375244); var$22.$rotateAngleZ = 0.0; var$26.$rotateAngleZ = 0.0; var$19.$rotateAngleZ = 0.0; var$27.$rotateAngleZ = 0.0; } } $par2 = (-1.308899998664856) + $par3 * 1.5; if ($par2 > 0.0) $par2 = 0.0; if (!$var15) $this.$tailBase.$rotateAngleY = 0.0; else { $par1EntityLivingBase = $this.$tailBase; $par2 = $var18 * 0.699999988079071; $par1EntityLivingBase.$rotateAngleY = nms_MathHelper_SIN_TABLE.data[($par2 * 10430.3779296875 + 16384.0 | 0) & 65535]; $par2 = 0.0; } $par1EntityLivingBase = $this.$tailMiddle; $var10 = $this.$tailBase; $par1EntityLivingBase.$rotateAngleY = $var10.$rotateAngleY; var$18 = $this.$tailTip; var$18.$rotateAngleY = $var10.$rotateAngleY; $par1EntityLivingBase.$rotationPointY = $var10.$rotationPointY; var$18.$rotationPointY = $var10.$rotationPointY; $par1EntityLivingBase.$rotationPointZ = $var10.$rotationPointZ; var$18.$rotationPointZ = $var10.$rotationPointZ; $var10.$rotateAngleX = $par2; $par1EntityLivingBase.$rotateAngleX = $par2; var$18.$rotateAngleX = (-0.26179999113082886) + $par2; }, nms_EntityWeatherEffect = $rt_classWithoutFields(nms_Entity); function nms_EntityLightningBolt() { let a = this; nms_EntityWeatherEffect.call(a); a.$lightningState = 0; a.$boltVertex = Long_ZERO; a.$boltLivingTime = 0; } let nms_EntityLightningBolt__init_ = ($this, $par1World, $par2, $par4, $par6) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var9, var$20, var$21, $var8, var$23, var$24, $var10, $var11, var$27, var$28, var$29, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$var8 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var9 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity__init_($this, $par1World); $this.$posX = $par2; $this.$prevPosX = $par2; $this.$lastTickPosX = $par2; var$5 = $par4 + $this.$yOffset; $this.$posY = var$5; $this.$prevPosY = var$5; $this.$lastTickPosY = var$5; $this.$posZ = $par6; $this.$prevPosZ = $par6; $this.$lastTickPosZ = $par6; $this.$rotationYaw = 0.0; $this.$rotationPitch = 0.0; nms_Entity_setPosition($this, $par2, var$5, $par6); $this.$lightningState = 2; var$6 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; var$8 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$7, 16))), 32); var$9 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$9; $this.$boltVertex = Long_add(var$8, Long_fromInt(Long_lo(Long_shru(var$9, 16)))); var$8 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; var$10 = 17; var$11 = Long_lo(Long_shru(var$8, var$10)); var$12 = 2; while (true) { var$13 = var$11 % 3 | 0; if (((var$11 - var$13 | 0) + var$12 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; var$11 = Long_lo(Long_shru(var$8, var$10)); } a: { $this.$boltLivingTime = var$13 + 1 | 0; if (!$par1World.$isRemote) { b: { var$6 = $par1World.$worldInfo.$theGameRules0.$theGameRules.$root; var$14 = $rt_s(2489); var$15 = $rt_s(2489); if (var$14 !== var$15) { var$11 = var$14.$nativeString.length; var$13 = var$15.$nativeString.length; if (var$11 < var$13) var$13 = var$11; var$16 = 0; c: { while (true) { if (var$16 >= var$13) { var$14.$nativeString.length; var$15.$nativeString.length; break b; } if (var$16 < 0) break c; if (var$16 >= var$14.$nativeString.length) break c; var$11 = var$14.$nativeString.charCodeAt(var$16); if (var$16 < 0) break; if (var$16 >= var$15.$nativeString.length) break; if (var$11 - var$15.$nativeString.charCodeAt(var$16) | 0) break b; var$16 = var$16 + 1 | 0; } $par1World = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1World); $rt_throw($par1World); } $par1World = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1World); $rt_throw($par1World); } } var$14 = $rt_s(2489); d: { e: { f: while (true) { if (var$6 === null) { var$6 = null; break d; } g: { var$15 = var$6.$key0; if (var$14 === var$15) var$17 = 0; else { var$11 = var$14.$nativeString.length; var$16 = var$15.$nativeString.length; if (var$11 < var$16) var$16 = var$11; var$11 = 0; while (true) { if (var$11 >= var$16) { var$17 = var$14.$nativeString.length - var$15.$nativeString.length | 0; break g; } if (var$11 < 0) break e; if (var$11 >= var$14.$nativeString.length) break e; var$13 = var$14.$nativeString.charCodeAt(var$11); if (var$11 < 0) break f; if (var$11 >= var$15.$nativeString.length) break f; var$17 = var$13 - var$15.$nativeString.charCodeAt(var$11) | 0; if (var$17) break; var$11 = var$11 + 1 | 0; } } } if (!var$17) break d; var$6 = var$17 >= 0 ? var$6.$right : var$6.$left; } $par1World = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1World); $rt_throw($par1World); } $par1World = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1World); $rt_throw($par1World); } var$6 = var$6 === null ? null : var$6.$value4; if ((var$6 === null ? 0 : var$6.$valueBoolean) && $par1World.$difficultySetting >= 2) { var$17 = $par2 | 0; var$18 = $rt_compare($par2, var$17); $var9 = var$18 >= 0 ? var$17 : var$17 - 1 | 0; var$20 = $par4 | 0; var$21 = $rt_compare($par4, var$20); $var8 = var$21 >= 0 ? var$20 : var$20 - 1 | 0; var$16 = $par6 | 0; var$23 = $rt_compare($par6, var$16); var$24 = var$23 >= 0 ? var$16 : var$16 - 1 | 0; if (nms_World_checkChunksExist($par1World, $var9 - 10 | 0, $var8 - 10 | 0, var$24 - 10 | 0, $var9 + 10 | 0, $var8 + 10 | 0, var$24 + 10 | 0)) { $var8 = var$18 >= 0 ? var$17 : var$17 - 1 | 0; $var9 = var$21 >= 0 ? var$20 : var$20 - 1 | 0; $var10 = var$23 >= 0 ? var$16 : var$16 - 1 | 0; if (!nms_World_getBlockId($par1World, $var8, $var9, $var10)) { nms_Block_$callClinit(); var$14 = nms_Block_fire; var$11 = $var9 - 1 | 0; if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $var8, var$11, $var10)], nms_World_getBlockMetadata($par1World, $var8, var$11, $var10)) && !nms_BlockFire_canNeighborBurn(var$14, $par1World, $var8, $var9, $var10) ? 0 : 1) { $var11 = nms_Block_fire.$blockID; var$11 = 0; var$13 = 3; $ptr = 1; continue main; } } var$13 = 0; var$24 = var$16 - 1 | 0; var$27 = var$20 - 1 | 0; $var9 = var$17 - 1 | 0; while (true) { if (var$13 >= 4) break a; $var8 = var$18 >= 0 ? var$17 : $var9; var$6 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; var$11 = Long_lo(Long_shru(var$8, var$10)); while (true) { $var10 = var$11 % 3 | 0; if (((var$11 - $var10 | 0) + var$12 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; var$11 = Long_lo(Long_shru(var$8, var$10)); } var$11 = ($var8 + $var10 | 0) - 1 | 0; var$28 = var$21 >= 0 ? var$20 : var$27; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; $var8 = Long_lo(Long_shru(var$8, var$10)); while (true) { $var11 = $var8 % 3 | 0; if ((($var8 - $var11 | 0) + var$12 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; $var8 = Long_lo(Long_shru(var$8, var$10)); } $var10 = (var$28 + $var11 | 0) - 1 | 0; var$28 = var$23 >= 0 ? var$16 : var$24; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; $var8 = Long_lo(Long_shru(var$8, var$10)); while (true) { $var11 = $var8 % 3 | 0; if ((($var8 - $var11 | 0) + var$12 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; $var8 = Long_lo(Long_shru(var$8, var$10)); } $var11 = (var$28 + $var11 | 0) - 1 | 0; if (!nms_World_getBlockId($par1World, var$11, $var10, $var11)) { nms_Block_$callClinit(); var$14 = nms_Block_fire; var$28 = $var10 - 1 | 0; if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, var$11, var$28, $var11)], nms_World_getBlockMetadata($par1World, var$11, var$28, $var11)) && !nms_BlockFire_canNeighborBurn(var$14, $par1World, var$11, $var10, $var11) ? 0 : 1) { $var8 = nms_Block_fire.$blockID; var$28 = 0; var$29 = 3; $ptr = 2; continue main; } } var$13 = var$13 + 1 | 0; } } } } } return; case 1: nms_World_setBlock($par1World, $var8, $var9, $var10, $var11, var$11, var$13); if ($rt_suspending()) { break main; } var$13 = 0; var$24 = var$16 - 1 | 0; var$27 = var$20 - 1 | 0; $var9 = var$17 - 1 | 0; while (var$13 < 4) { $var8 = var$18 >= 0 ? var$17 : $var9; var$6 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; var$11 = Long_lo(Long_shru(var$8, var$10)); while (true) { $var10 = var$11 % 3 | 0; if (((var$11 - $var10 | 0) + var$12 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; var$11 = Long_lo(Long_shru(var$8, var$10)); } var$11 = ($var8 + $var10 | 0) - 1 | 0; var$28 = var$21 >= 0 ? var$20 : var$27; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; $var8 = Long_lo(Long_shru(var$8, var$10)); while (true) { $var11 = $var8 % 3 | 0; if ((($var8 - $var11 | 0) + var$12 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; $var8 = Long_lo(Long_shru(var$8, var$10)); } $var10 = (var$28 + $var11 | 0) - 1 | 0; var$28 = var$23 >= 0 ? var$16 : var$24; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; $var8 = Long_lo(Long_shru(var$8, var$10)); while (true) { $var11 = $var8 % 3 | 0; if ((($var8 - $var11 | 0) + var$12 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; $var8 = Long_lo(Long_shru(var$8, var$10)); } $var11 = (var$28 + $var11 | 0) - 1 | 0; if (!nms_World_getBlockId($par1World, var$11, $var10, $var11)) { nms_Block_$callClinit(); var$14 = nms_Block_fire; var$28 = $var10 - 1 | 0; if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, var$11, var$28, $var11)], nms_World_getBlockMetadata($par1World, var$11, var$28, $var11)) && !nms_BlockFire_canNeighborBurn(var$14, $par1World, var$11, $var10, $var11) ? 0 : 1) { $var8 = nms_Block_fire.$blockID; var$28 = 0; var$29 = 3; $ptr = 2; continue main; } } var$13 = var$13 + 1 | 0; } return; case 2: nms_World_setBlock($par1World, var$11, $var10, $var11, $var8, var$28, var$29); if ($rt_suspending()) { break main; } while (true) { var$13 = var$13 + 1 | 0; if (var$13 >= 4) break; $var8 = var$18 >= 0 ? var$17 : $var9; var$6 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; var$11 = Long_lo(Long_shru(var$8, var$10)); while (true) { $var10 = var$11 % 3 | 0; if (((var$11 - $var10 | 0) + var$12 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; var$11 = Long_lo(Long_shru(var$8, var$10)); } var$11 = ($var8 + $var10 | 0) - 1 | 0; var$28 = var$21 >= 0 ? var$20 : var$27; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; $var8 = Long_lo(Long_shru(var$8, var$10)); while (true) { $var11 = $var8 % 3 | 0; if ((($var8 - $var11 | 0) + var$12 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; $var8 = Long_lo(Long_shru(var$8, var$10)); } $var10 = (var$28 + $var11 | 0) - 1 | 0; var$28 = var$23 >= 0 ? var$16 : var$24; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; $var8 = Long_lo(Long_shru(var$8, var$10)); while (true) { $var11 = $var8 % 3 | 0; if ((($var8 - $var11 | 0) + var$12 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$8; $var8 = Long_lo(Long_shru(var$8, var$10)); } $var11 = (var$28 + $var11 | 0) - 1 | 0; if (nms_World_getBlockId($par1World, var$11, $var10, $var11)) continue; nms_Block_$callClinit(); var$14 = nms_Block_fire; var$28 = $var10 - 1 | 0; if (!(!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, var$11, var$28, $var11)], nms_World_getBlockMetadata($par1World, var$11, var$28, $var11)) && !nms_BlockFire_canNeighborBurn(var$14, $par1World, var$11, $var10, $var11) ? 0 : 1)) continue; else { $var8 = nms_Block_fire.$blockID; var$28 = 0; var$29 = 3; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var9, var$20, var$21, $var8, var$23, var$24, $var10, $var11, var$27, var$28, var$29, $ptr); }, nms_EntityLightningBolt__init_0 = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_EntityLightningBolt(); nms_EntityLightningBolt__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_EntityLightningBolt_onUpdate = $this => { let $var1, $var5, $var7, var$4, $var4, var$6, var$7, $var2, var$9, var$10, var$11, var$12, $var3, var$14, var$15, var$16, var$17, var$18, var$19, $var6, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var6 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var3 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var2 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_Entity_onEntityUpdate($this); if ($rt_suspending()) { break main; } $var1 = $this.$lightningState; if ($var1 == 2) { $var5 = $this.$worldObj; $var7 = $this.$rand; var$4 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$4; $var4 = 0; while (true) { var$6 = $var5.$worldAccesses.$size0; var$7 = $rt_compare($var4, var$6); if (var$7 >= 0) { $var7.$seed = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4 = 0; while (true) { var$7 = $rt_compare($var4, var$6); if (var$7 >= 0) break a; if ($var4 < 0) break; if (var$7 >= 0) break; $var4 = $var4 + 1 | 0; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } if ($var4 < 0) break; if (var$7 >= 0) break; $var4 = $var4 + 1 | 0; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } } b: { $var4 = $var1 - 1 | 0; $this.$lightningState = $var4; if ($var4 >= 0) break b; $var1 = $this.$boltLivingTime; if (!$var1) { $this.$isDead = 1; break b; } $var5 = $this.$rand; var$4 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$4; $var2 = Long_lo(Long_shru(var$4, 17)); while (true) { var$9 = $var2 % 10 | 0; if ((($var2 - var$9 | 0) + 9 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$4; $var2 = Long_lo(Long_shru(var$4, 17)); } if ($var4 >= ( -var$9 | 0)) break b; $this.$boltLivingTime = $var1 - 1 | 0; $this.$lightningState = 1; var$10 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$10; var$4 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$10, 16))), 32); var$10 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$10; $this.$boltVertex = Long_add(var$4, Long_fromInt(Long_lo(Long_shru(var$10, 16)))); $var5 = $this.$worldObj; if ($var5.$isRemote) break b; c: { $var7 = $var5.$worldInfo.$theGameRules0.$theGameRules.$root; var$11 = $rt_s(2489); $var5 = $rt_s(2489); if (var$11 !== $var5) { $var1 = var$11.$nativeString.length; var$6 = $var5.$nativeString.length; if ($var1 < var$6) var$6 = $var1; $var4 = 0; d: { while (true) { if ($var4 >= var$6) { var$11.$nativeString.length; $var5.$nativeString.length; break c; } if ($var4 < 0) break d; if ($var4 >= var$11.$nativeString.length) break d; var$7 = var$11.$nativeString.charCodeAt($var4); if ($var4 < 0) break; if ($var4 >= $var5.$nativeString.length) break; if (var$7 - $var5.$nativeString.charCodeAt($var4) | 0) break c; $var4 = $var4 + 1 | 0; } $var5 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var5); $rt_throw($var5); } $var5 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var5); $rt_throw($var5); } } $var5 = $rt_s(2489); e: { f: { g: while (true) { if ($var7 === null) { $var7 = null; break e; } h: { var$11 = $var7.$key0; if ($var5 === var$11) $var4 = 0; else { $var1 = $var5.$nativeString.length; var$6 = var$11.$nativeString.length; if ($var1 < var$6) var$6 = $var1; $var1 = 0; while (true) { if ($var1 >= var$6) { $var4 = $var5.$nativeString.length - var$11.$nativeString.length | 0; break h; } if ($var1 < 0) break f; if ($var1 >= $var5.$nativeString.length) break f; var$7 = $var5.$nativeString.charCodeAt($var1); if ($var1 < 0) break g; if ($var1 >= var$11.$nativeString.length) break g; $var4 = var$7 - var$11.$nativeString.charCodeAt($var1) | 0; if ($var4) break; $var1 = $var1 + 1 | 0; } } } if (!$var4) break e; $var7 = $var4 >= 0 ? $var7.$right : $var7.$left; } $var5 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var5); $rt_throw($var5); } $var5 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($var5); $rt_throw($var5); } $var5 = $var7 === null ? null : $var7.$value4; if (!($var5 === null ? 0 : $var5.$valueBoolean)) break b; $var5 = $this.$worldObj; var$12 = $this.$posX; $var3 = var$12 | 0; if (var$12 < $var3) $var3 = $var3 - 1 | 0; var$12 = $this.$posY; $var2 = var$12 | 0; if (var$12 < $var2) $var2 = $var2 - 1 | 0; var$12 = $this.$posZ; var$9 = var$12 | 0; if (var$12 < var$9) var$9 = var$9 - 1 | 0; if (!nms_World_checkChunksExist($var5, $var3 - 10 | 0, $var2 - 10 | 0, var$9 - 10 | 0, $var3 + 10 | 0, $var2 + 10 | 0, var$9 + 10 | 0)) break b; var$12 = $this.$posX; $var1 = var$12 | 0; if (var$12 < $var1) $var1 = $var1 - 1 | 0; var$12 = $this.$posY; $var2 = var$12 | 0; if (var$12 < $var2) $var2 = $var2 - 1 | 0; var$12 = $this.$posZ; $var3 = var$12 | 0; if (var$12 < $var3) $var3 = $var3 - 1 | 0; if (nms_World_getBlockId($this.$worldObj, $var1, $var2, $var3)) break b; nms_Block_$callClinit(); $var5 = nms_Block_fire; $var7 = $this.$worldObj; $var4 = $var2 - 1 | 0; if (!(!nms_World_isBlockTopFacingSurfaceSolid($var7, nms_Block_blocksList.data[nms_World_getBlockId($var7, $var1, $var4, $var3)], nms_World_getBlockMetadata($var7, $var1, $var4, $var3)) && !nms_BlockFire_canNeighborBurn($var5, $var7, $var1, $var2, $var3) ? 0 : 1)) break b; $var5 = $this.$worldObj; $var4 = nms_Block_fire.$blockID; var$7 = 0; var$6 = 3; $ptr = 3; continue main; } if ($this.$lightningState >= 0) { $var5 = $this.$worldObj; if ($var5.$isRemote) $var5.$lastLightningBolt = 2; else { var$11 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$12 = $this.$posX; var$14 = var$12 - 3.0; var$15 = $this.$posY; var$16 = var$15 - 3.0; var$17 = $this.$posZ; var$18 = var$17 - 3.0; var$19 = var$12 + 3.0; var$12 = var$15 + 6.0 + 3.0; $var6 = var$17 + 3.0; $var4 = var$11.$nextPoolIndex; $var7 = var$11.$listAABB; var$7 = $var7.$size0; $var1 = $rt_compare($var4, var$7); if ($var1 >= 0) { var$21 = new nms_AxisAlignedBB; var$21.$minX = var$14; var$21.$minY = var$16; var$21.$minZ = var$18; var$21.$maxX = var$19; var$21.$maxY = var$12; var$21.$maxZ = $var6; ju_ArrayList_ensureCapacity($var7, var$7 + 1 | 0); var$22 = $var7.$array.data; $var1 = $var7.$size0; $var7.$size0 = $var1 + 1 | 0; var$22[$var1] = var$21; $var7.$modCount = $var7.$modCount + 1 | 0; } else if ($var4 >= 0 && $var1 < 0) { var$21 = $var7.$array.data[$var4]; var$21.$minX = var$14; var$21.$minY = var$16; var$21.$minZ = var$18; var$21.$maxX = var$19; var$21.$maxY = var$12; var$21.$maxZ = $var6; } else { $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } var$11.$nextPoolIndex = var$11.$nextPoolIndex + 1 | 0; $var7 = nms_World_getEntitiesWithinAABBExcludingEntity($var5, $this, var$21, null); $var4 = 0; $var1 = $rt_compare($var4, $var7.$size0); if ($var1 < 0) { if ($var4 >= 0 && $var1 < 0) { $var5 = $var7.$array.data[$var4]; $ptr = 2; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } } } return; case 2: $var5.$onStruckByLightning($this); if ($rt_suspending()) { break main; } $var4 = $var4 + 1 | 0; $var1 = $rt_compare($var4, $var7.$size0); if ($var1 >= 0) return; if ($var4 >= 0 && $var1 < 0) { $var5 = $var7.$array.data[$var4]; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 3: nms_World_setBlock($var5, $var1, $var2, $var3, $var4, var$7, var$6); if ($rt_suspending()) { break main; } if ($this.$lightningState >= 0) { $var5 = $this.$worldObj; if ($var5.$isRemote) $var5.$lastLightningBolt = 2; else { var$11 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$12 = $this.$posX; var$14 = var$12 - 3.0; var$15 = $this.$posY; var$16 = var$15 - 3.0; var$17 = $this.$posZ; var$18 = var$17 - 3.0; var$19 = var$12 + 3.0; var$12 = var$15 + 6.0 + 3.0; $var6 = var$17 + 3.0; $var4 = var$11.$nextPoolIndex; $var7 = var$11.$listAABB; var$7 = $var7.$size0; $var1 = $rt_compare($var4, var$7); if ($var1 >= 0) { var$21 = new nms_AxisAlignedBB; var$21.$minX = var$14; var$21.$minY = var$16; var$21.$minZ = var$18; var$21.$maxX = var$19; var$21.$maxY = var$12; var$21.$maxZ = $var6; ju_ArrayList_ensureCapacity($var7, var$7 + 1 | 0); var$22 = $var7.$array.data; $var1 = $var7.$size0; $var7.$size0 = $var1 + 1 | 0; var$22[$var1] = var$21; $var7.$modCount = $var7.$modCount + 1 | 0; } else if ($var4 >= 0 && $var1 < 0) { var$21 = $var7.$array.data[$var4]; var$21.$minX = var$14; var$21.$minY = var$16; var$21.$minZ = var$18; var$21.$maxX = var$19; var$21.$maxY = var$12; var$21.$maxZ = $var6; } else { $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } var$11.$nextPoolIndex = var$11.$nextPoolIndex + 1 | 0; $var7 = nms_World_getEntitiesWithinAABBExcludingEntity($var5, $this, var$21, null); $var4 = 0; $var1 = $rt_compare($var4, $var7.$size0); if ($var1 < 0) { if ($var4 >= 0 && $var1 < 0) { $var5 = $var7.$array.data[$var4]; $ptr = 2; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var5, $var7, var$4, $var4, var$6, var$7, $var2, var$9, var$10, var$11, var$12, $var3, var$14, var$15, var$16, var$17, var$18, var$19, $var6, var$21, var$22, $ptr); }, nms_EntityLightningBolt_entityInit = $this => { return; }, nms_EntityLightningBolt_writeEntityToNBT = ($this, $par1NBTTagCompound) => { return; }, nms_EntityLightningBolt_isInRangeToRenderVec3D = ($this, $par1Vec3) => { return $this.$lightningState < 0 ? 0 : 1; }, nms_RenderLightningBolt = $rt_classWithoutFields(nms_Render), nms_RenderLightningBolt__init_ = $this => { let var$1; nms_Render_$callClinit(); var$1 = new nms_RenderBlocks; var$1.$useInventoryTint = 1; var$1.$minecraftRB = nms_Minecraft_theMinecraft; $this.$renderBlocks = var$1; $this.$shadowOpaque = 1.0; }, nms_RenderLightningBolt__init_0 = () => { let var_0 = new nms_RenderLightningBolt(); nms_RenderLightningBolt__init_(var_0); return var_0; }, nms_RenderLightningBolt_doRenderLightningBolt = ($this, $par1EntityLightningBolt, $par2, $par4, $par6, $par8, $par9) => { let $var10, $var11, $var12, $var13, $var15, $var17$seed, $var18, var$14, $var36, var$16, $var45, var$18, var$19, $var46$seed, $var19, $var26, $var21, $var22, $var24, var$26, var$27, $var32, var$29, $var37, $var39, $var41, $var43; nlea_Tessellator_$callClinit(); $var10 = nlea_Tessellator_instance; nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 1); $var11 = $rt_createDoubleArray(8).data; $var12 = $rt_createDoubleArray(8).data; $var13 = 0.0; $var15 = 0.0; $var17$seed = $par1EntityLightningBolt.$boltVertex; $var18 = 7; while ($var18 >= 0) { $var11[$var18] = $var13; $var12[$var18] = $var15; $var17$seed = Long_and(Long_add(Long_mul($var17$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14 = Long_lo(Long_shru($var17$seed, 17)); while (true) { $var36 = var$14 % 11 | 0; if (((var$14 - $var36 | 0) + 10 | 0) >= 0) break; $var17$seed = Long_and(Long_add(Long_mul($var17$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14 = Long_lo(Long_shru($var17$seed, 17)); } $var13 = $var13 + ($var36 - 5 | 0); $var17$seed = Long_and(Long_add(Long_mul($var17$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14 = Long_lo(Long_shru($var17$seed, 17)); while (true) { var$16 = var$14 % 11 | 0; if (((var$14 - var$16 | 0) + 10 | 0) >= 0) break; $var17$seed = Long_and(Long_add(Long_mul($var17$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14 = Long_lo(Long_shru($var17$seed, 17)); } $var15 = $var15 + (var$16 - 5 | 0); $var18 = $var18 + (-1) | 0; } $var45 = 0; var$18 = $par2 + 0.5; var$19 = $par6 + 0.5; while ($var45 < 4) { $var46$seed = $par1EntityLightningBolt.$boltVertex; $var19 = 0; while ($var19 < 3) { $var26 = 7; $var21 = 0; if ($var19 > 0) $var26 = 7 - $var19 | 0; if ($var19 > 0) $var21 = $var26 - 2 | 0; $var22 = $var11[$var26] - $var13; $var24 = $var12[$var26] - $var15; while ($var26 >= $var21) { if (!$var19) { $var46$seed = Long_and(Long_add(Long_mul($var46$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18 = Long_lo(Long_shru($var46$seed, 17)); while (true) { $var36 = $var18 % 11 | 0; if ((($var18 - $var36 | 0) + 10 | 0) >= 0) break; $var46$seed = Long_and(Long_add(Long_mul($var46$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18 = Long_lo(Long_shru($var46$seed, 17)); } var$26 = $var22 + ($var36 - 5 | 0); $var46$seed = Long_and(Long_add(Long_mul($var46$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18 = Long_lo(Long_shru($var46$seed, 17)); while (true) { $var36 = $var18 % 11 | 0; if ((($var18 - $var36 | 0) + 10 | 0) >= 0) break; $var46$seed = Long_and(Long_add(Long_mul($var46$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18 = Long_lo(Long_shru($var46$seed, 17)); } $par2 = $var24 + ($var36 - 5 | 0); } else { $var46$seed = Long_and(Long_add(Long_mul($var46$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18 = Long_lo(Long_shru($var46$seed, 17)); while (true) { $var36 = $var18 % 31 | 0; if ((($var18 - $var36 | 0) + 30 | 0) >= 0) break; $var46$seed = Long_and(Long_add(Long_mul($var46$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var18 = Long_lo(Long_shru($var46$seed, 17)); } var$26 = $var22 + ($var36 - 15 | 0); $var46$seed = Long_and(Long_add(Long_mul($var46$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var36 = Long_lo(Long_shru($var46$seed, 17)); while (true) { var$27 = $var36 % 31 | 0; if ((($var36 - var$27 | 0) + 30 | 0) >= 0) break; $var46$seed = Long_and(Long_add(Long_mul($var46$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var36 = Long_lo(Long_shru($var46$seed, 17)); } $par2 = $var24 + (var$27 - 15 | 0); } if ($var10.$isDrawing) nlea_Tessellator_draw($var10); $var10.$isDrawing = 1; $var10.$vertexCount = 0; $var10.$rawBufferIndex = 0; $var10.$addedVertices = 0; $var10.$drawMode = 5; $var10.$hasNormals = 0; $var10.$hasColor = 0; $var10.$hasTexture = 0; $var10.$hasBrightness = 0; $var10.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var10, 114, 114, 127, 76); $var32 = 0.1 + $var45 * 0.2; var$29 = $var19 ? $var32 : $var32 * ($var26 * 0.1 + 1.0); if (!$var19) $var32 = $var32 * (($var26 - 1 | 0) * 0.1 + 1.0); $var36 = 0; while ($var36 < 5) { $var37 = var$18 - var$29; $var39 = var$19 - var$29; var$14 = $rt_compare($var36, 1); if (!(var$14 && $var36 != 2)) $var37 = $var37 + var$29 * 2.0; $var18 = $rt_compare($var36, 2); if (!($var18 && $var36 != 3)) $var39 = $var39 + var$29 * 2.0; $var41 = var$18 - $var32; $var43 = var$19 - $var32; if (!(var$14 && $var18)) $var41 = $var41 + $var32 * 2.0; if (!($var18 && $var36 != 3)) $var43 = $var43 + $var32 * 2.0; nlea_Tessellator_addVertex($var10, $var41 + var$26, $par4 + ($var26 * 16 | 0), $var43 + $par2); nlea_Tessellator_addVertex($var10, $var37 + $var22, $par4 + (($var26 + 1 | 0) * 16 | 0), $var39 + $var24); $var36 = $var36 + 1 | 0; } nlea_Tessellator_draw($var10); $var26 = $var26 + (-1) | 0; $var22 = var$26; $var24 = $par2; } $var19 = $var19 + 1 | 0; } $var45 = $var45 + 1 | 0; } nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(3553); }, nms_RenderLightningBolt_doRender = ($this, $par1Entity, $par2, $par4, $par6, $par8, $par9) => { nms_RenderLightningBolt_doRenderLightningBolt($this, $par1Entity, $par2, $par4, $par6, $par8, $par9); }; function nms_MapItemRenderer() { let a = this; jl_Object.call(a); a.$bufferedImage = 0; a.$intArray0 = null; a.$gameSettings1 = null; a.$fontRenderer4 = null; } let nms_MapItemRenderer_mapicons = null, nms_MapItemRenderer_$callClinit = () => { nms_MapItemRenderer_$callClinit = $rt_eraseClinit(nms_MapItemRenderer); nms_MapItemRenderer__clinit_(); }, nms_MapItemRenderer__init_0 = ($this, $par1FontRenderer, $par2GameSettings, $par3RenderEngine) => { let var$4, var$5, var$6, var$7, $var4; nms_MapItemRenderer_$callClinit(); $this.$intArray0 = $rt_createIntArray(16384); $this.$gameSettings1 = $par2GameSettings; $this.$fontRenderer4 = $par1FontRenderer; $par1FontRenderer = new nle_EaglerImage; $par1FontRenderer.$w0 = 128; $par1FontRenderer.$h = 128; $par1FontRenderer.$alpha = 0; $par1FontRenderer.$data5 = $rt_createIntArray(16384); nleg_EaglerAdapterGL30_$callClinit(); $par2GameSettings = nleg_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); var$4 = new nlea_EaglerAdapterImpl2$TextureGL; var$5 = nlea_EaglerAdapterImpl2_webgl.createTexture(); var$4.$w1 = (-1); var$4.$h0 = (-1); var$4.$nearest = 1; var$4.$anisotropic = 0; var$4.$obj1 = var$5; var$6 = nleg_GLObjectMap_register($par2GameSettings, var$4); $par2GameSettings = nms_GLAllocation_field_74530_b; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$6; } ju_ArrayList_ensureCapacity($par2GameSettings, $par2GameSettings.$size0 + 1 | 0); var$7 = $par2GameSettings.$array.data; $var4 = $par2GameSettings.$size0; $par2GameSettings.$size0 = $var4 + 1 | 0; var$7[$var4] = var$4; $par2GameSettings.$modCount = $par2GameSettings.$modCount + 1 | 0; nms_RenderEngine_setupTextureExt($par3RenderEngine, $par1FontRenderer, var$6, 0, 0); nms_IntHashMap_addKey($par3RenderEngine.$textureNameToImageMap, var$6, $par1FontRenderer); $this.$bufferedImage = var$6; $var4 = 0; while ($var4 < 16384) { $this.$intArray0.data[$var4] = 0; $var4 = $var4 + 1 | 0; } }, nms_MapItemRenderer__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_MapItemRenderer(); nms_MapItemRenderer__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_MapItemRenderer_renderMap = ($this, $par1EntityPlayer, $par2RenderEngine, $par3MapData) => { let $var4, $var5, $var6, $var7, $var8, $var12, $var13, $var14, $var17, $var20, $var19, $var21, $var22, $var23, $var24, $var25, var$20, var$21, var$22, var$23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var25 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var20 = $thread.pop();$var17 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3MapData = $thread.pop();$par2RenderEngine = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = 0; while ($var4 < 16384) { $var5 = $par3MapData.$colors.data[$var4]; $var6 = $var5 / 4 | 0; if (!$var6) $this.$intArray0.data[$var4] = (((($var4 + ($var4 / 128 | 0) | 0) & 1) * 8 | 0) + 16 | 0) << 24; else { $var6 = nms_MapColor_mapColorArray.data[$var6].$colorValue; $var7 = $var5 & 3; $var8 = 220; if ($var7 == 2) $var8 = 255; if (!$var7) $var8 = 180; $var12 = $rt_imul($var6 >> 16 & 255, $var8) / 255 | 0; $var13 = $rt_imul($var6 >> 8 & 255, $var8) / 255 | 0; $var14 = $rt_imul($var6 & 255, $var8) / 255 | 0; if ($this.$gameSettings1.$anaglyph) { $var5 = $var12 * 30 | 0; $var12 = (($var5 + ($var13 * 59 | 0) | 0) + ($var14 * 11 | 0) | 0) / 100 | 0; $var13 = ($var5 + ($var13 * 70 | 0) | 0) / 100 | 0; $var14 = ($var5 + ($var14 * 70 | 0) | 0) / 100 | 0; } $this.$intArray0.data[$var4] = (-16777216) | $var12 << 16 | $var13 << 8 | $var14; } $var4 = $var4 + 1 | 0; } nms_RenderEngine_createTextureFromBytes($par2RenderEngine, $this.$intArray0, 128, 128, $this.$bufferedImage); nlea_Tessellator_$callClinit(); $var17 = nlea_Tessellator_instance; nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(1, 771); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glPushMatrix(); $par1EntityPlayer = nleg_EaglerAdapterGL30_deevis; $par1EntityPlayer.$x = 0.0; $par1EntityPlayer.$y = 1.0; $par1EntityPlayer.$z = 0.0; $par1EntityPlayer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, $par1EntityPlayer, $par1EntityPlayer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityPlayer = new otcic_JSStderrPrintStream; $var20 = new ji_ByteArrayOutputStream; $var20.$buf = $rt_createByteArray(32); $par1EntityPlayer.$out0 = $var20; $var20 = new jl_StringBuilder; $var20.$buffer = $rt_createCharArray(16); $par1EntityPlayer.$sb = $var20; $par1EntityPlayer.$buffer0 = $rt_createCharArray(32); $par1EntityPlayer.$autoFlush = 0; $par1EntityPlayer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityPlayer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityPlayer = nleg_EaglerAdapterGL30_deevis; $par1EntityPlayer.$x = 1.0; $par1EntityPlayer.$y = 0.0; $par1EntityPlayer.$z = 0.0; $par1EntityPlayer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, $par1EntityPlayer, $par1EntityPlayer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityPlayer = new otcic_JSStderrPrintStream; $var20 = new ji_ByteArrayOutputStream; $var20.$buf = $rt_createByteArray(32); $par1EntityPlayer.$out0 = $var20; $var20 = new jl_StringBuilder; $var20.$buffer = $rt_createCharArray(16); $par1EntityPlayer.$sb = $var20; $par1EntityPlayer.$buffer0 = $rt_createCharArray(32); $par1EntityPlayer.$autoFlush = 0; $par1EntityPlayer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityPlayer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityPlayer = nleg_EaglerAdapterGL30_deevis; $par1EntityPlayer.$x = 1.0; $par1EntityPlayer.$y = (-1.0); $par1EntityPlayer.$z = 1.0; $par1EntityPlayer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityPlayer, $par1EntityPlayer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityPlayer = new otcic_JSStderrPrintStream; $var20 = new ji_ByteArrayOutputStream; $var20.$buf = $rt_createByteArray(32); $par1EntityPlayer.$out0 = $var20; $var20 = new jl_StringBuilder; $var20.$buffer = $rt_createCharArray(16); $par1EntityPlayer.$sb = $var20; $par1EntityPlayer.$buffer0 = $rt_createCharArray(32); $par1EntityPlayer.$autoFlush = 0; $par1EntityPlayer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityPlayer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); if ($var17.$isDrawing) nlea_Tessellator_draw($var17); $var17.$isDrawing = 1; $var17.$vertexCount = 0; $var17.$rawBufferIndex = 0; $var17.$addedVertices = 0; $var17.$drawMode = 7; $var17.$hasNormals = 0; $var17.$hasColor = 0; $var17.$hasTexture = 0; $var17.$hasBrightness = 0; $var17.$isColorDisabled = 0; $var17.$hasTexture = 1; $var17.$textureU = 0.0; $var17.$textureV = 1.0; nlea_Tessellator_addVertex($var17, 0.0, 128.0, (-0.009999999776482582)); $var17.$hasTexture = 1; $var17.$textureU = 1.0; $var17.$textureV = 1.0; nlea_Tessellator_addVertex($var17, 128.0, 128.0, (-0.009999999776482582)); $var17.$hasTexture = 1; $var17.$textureU = 1.0; $var17.$textureV = 0.0; nlea_Tessellator_addVertex($var17, 128.0, 0.0, (-0.009999999776482582)); $var17.$hasTexture = 1; $var17.$textureU = 0.0; $var17.$textureV = 0.0; nlea_Tessellator_addVertex($var17, 0.0, 0.0, (-0.009999999776482582)); nlea_Tessellator_draw($var17); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glDisable(3042); $par2RenderEngine.$boundTexture = (-1); nms_MapItemRenderer_$callClinit(); $par1EntityPlayer = nms_MapItemRenderer_mapicons; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1EntityPlayer); if ($rt_suspending()) { break main; } $var19 = 0; $par1EntityPlayer = $par3MapData.$playersVisibleOnMap; if ($par1EntityPlayer.$cachedValues === null) { $par2RenderEngine = new ju_LinkedHashMapValues; $par2RenderEngine.$base0 = $par1EntityPlayer; $par2RenderEngine.$reversed1 = 0; $par1EntityPlayer.$cachedValues = $par2RenderEngine; } $par2RenderEngine = $par1EntityPlayer.$cachedValues; $var20 = new ju_LinkedHashMapIterator$ValueIterator; $par1EntityPlayer = $par2RenderEngine.$base0; $var5 = $par2RenderEngine.$reversed1; $var20.$base = $par1EntityPlayer; $var20.$reversed = $var5; $var20.$expectedModCount0 = $par1EntityPlayer.$modCount0; $var20.$futureEntry = !$var5 ? $par1EntityPlayer.$head : $par1EntityPlayer.$tail; while ($var20.$futureEntry === null ? 0 : 1) { $var21 = ju_LinkedHashMapIterator$ValueIterator_next($var20); nleg_EaglerAdapterGL30_glPushMatrix(); $var22 = 0.0 + $var21.$centerX / 2.0 + 64.0; $var23 = 0.0 + $var21.$centerZ / 2.0 + 64.0; $par1EntityPlayer = nleg_EaglerAdapterGL30_deevis; $par1EntityPlayer.$x = $var22; $par1EntityPlayer.$y = $var23; $par1EntityPlayer.$z = (-0.019999999552965164); $par1EntityPlayer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityPlayer, $par1EntityPlayer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityPlayer = new otcic_JSStderrPrintStream; $par2RenderEngine = new ji_ByteArrayOutputStream; $par2RenderEngine.$buf = $rt_createByteArray(32); $par1EntityPlayer.$out0 = $par2RenderEngine; $par2RenderEngine = new jl_StringBuilder; $par2RenderEngine.$buffer = $rt_createCharArray(16); $par1EntityPlayer.$sb = $par2RenderEngine; $par1EntityPlayer.$buffer0 = $rt_createCharArray(32); $par1EntityPlayer.$autoFlush = 0; $par1EntityPlayer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityPlayer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var23 = ($var21.$iconRotation * 360 | 0) / 16.0; $par1EntityPlayer = nleg_EaglerAdapterGL30_deevis; $par1EntityPlayer.$x = 0.0; $par1EntityPlayer.$y = 0.0; $par1EntityPlayer.$z = 1.0; $par1EntityPlayer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var23 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1EntityPlayer, $par1EntityPlayer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityPlayer = new otcic_JSStderrPrintStream; $par2RenderEngine = new ji_ByteArrayOutputStream; $par2RenderEngine.$buf = $rt_createByteArray(32); $par1EntityPlayer.$out0 = $par2RenderEngine; $par2RenderEngine = new jl_StringBuilder; $par2RenderEngine.$buffer = $rt_createCharArray(16); $par1EntityPlayer.$sb = $par2RenderEngine; $par1EntityPlayer.$buffer0 = $rt_createCharArray(32); $par1EntityPlayer.$autoFlush = 0; $par1EntityPlayer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityPlayer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityPlayer = nleg_EaglerAdapterGL30_deevis; $par1EntityPlayer.$x = 4.0; $par1EntityPlayer.$y = 4.0; $par1EntityPlayer.$z = 3.0; $par1EntityPlayer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1EntityPlayer, $par1EntityPlayer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityPlayer = new otcic_JSStderrPrintStream; $par2RenderEngine = new ji_ByteArrayOutputStream; $par2RenderEngine.$buf = $rt_createByteArray(32); $par1EntityPlayer.$out0 = $par2RenderEngine; $par2RenderEngine = new jl_StringBuilder; $par2RenderEngine.$buffer = $rt_createCharArray(16); $par1EntityPlayer.$sb = $par2RenderEngine; $par1EntityPlayer.$buffer0 = $rt_createCharArray(32); $par1EntityPlayer.$autoFlush = 0; $par1EntityPlayer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityPlayer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1EntityPlayer = nleg_EaglerAdapterGL30_deevis; $par1EntityPlayer.$x = (-0.125); $par1EntityPlayer.$y = 0.125; $par1EntityPlayer.$z = 0.0; $par1EntityPlayer = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1EntityPlayer, $par1EntityPlayer); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1EntityPlayer = new otcic_JSStderrPrintStream; $par2RenderEngine = new ji_ByteArrayOutputStream; $par2RenderEngine.$buf = $rt_createByteArray(32); $par1EntityPlayer.$out0 = $par2RenderEngine; $par2RenderEngine = new jl_StringBuilder; $par2RenderEngine.$buffer = $rt_createCharArray(16); $par1EntityPlayer.$sb = $par2RenderEngine; $par1EntityPlayer.$buffer0 = $rt_createCharArray(32); $par1EntityPlayer.$autoFlush = 0; $par1EntityPlayer.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1EntityPlayer; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = $var21.$iconSize; $var4 = $var5 % 4 | 0; $var22 = ($var4 + 0 | 0) / 4.0; $var5 = $var5 / 4 | 0; $var23 = ($var5 + 0 | 0) / 4.0; $var24 = ($var4 + 1 | 0) / 4.0; $var25 = ($var5 + 1 | 0) / 4.0; if ($var17.$isDrawing) nlea_Tessellator_draw($var17); $var17.$isDrawing = 1; $var17.$vertexCount = 0; $var17.$rawBufferIndex = 0; $var17.$addedVertices = 0; $var17.$drawMode = 7; $var17.$hasNormals = 0; $var17.$hasColor = 0; $var17.$hasTexture = 0; $var17.$hasBrightness = 0; $var17.$isColorDisabled = 0; var$20 = $var19 * 0.0010000000474974513; var$21 = $var22; var$22 = $var23; $var17.$hasTexture = 1; $var23 = var$21; $var17.$textureU = $var23; var$23 = var$22; $var17.$textureV = var$23; nlea_Tessellator_addVertex($var17, (-1.0), 1.0, var$20); var$21 = $var24; $var17.$hasTexture = 1; $var22 = var$21; $var17.$textureU = $var22; $var17.$textureV = var$23; nlea_Tessellator_addVertex($var17, 1.0, 1.0, var$20); var$21 = $var25; $var17.$hasTexture = 1; $var17.$textureU = $var22; $var22 = var$21; $var17.$textureV = $var22; nlea_Tessellator_addVertex($var17, 1.0, (-1.0), var$20); $var17.$hasTexture = 1; $var17.$textureU = $var23; $var17.$textureV = $var22; nlea_Tessellator_addVertex($var17, (-1.0), (-1.0), var$20); nlea_Tessellator_draw($var17); nleg_EaglerAdapterGL30_glPopMatrix(); $var19 = $var19 + 1 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2RenderEngine, $par3MapData, $var4, $var5, $var6, $var7, $var8, $var12, $var13, $var14, $var17, $var20, $var19, $var21, $var22, $var23, $var24, $var25, var$20, var$21, var$22, var$23, $ptr); }, nms_MapItemRenderer__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2490); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_MapItemRenderer_mapicons = var$1; }; function nms_StatBase() { let a = this; jl_Object.call(a); a.$statId = 0; a.$statName = null; a.$isIndependent = 0; a.$statGuid = null; a.$type2 = null; } let nms_StatBase_numberFormat = null, nms_StatBase_simpleStatType = null, nms_StatBase_decimalFormat = null, nms_StatBase_timeStatType = null, nms_StatBase_distanceStatType = null, nms_StatBase_field_111202_k = null, nms_StatBase_$callClinit = () => { nms_StatBase_$callClinit = $rt_eraseClinit(nms_StatBase); nms_StatBase__clinit_(); }, nms_StatBase_registerStat = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; nms_StatList_$callClinit(); var$1 = nms_StatList_oneShotStats; var$2 = $this.$statId; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$4 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$6 = var$1.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } if (!(var$1 === null ? 0 : 1)) { var$1 = nms_StatList_allStats; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$5 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$5[var$7] = $this; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = nms_StatList_oneShotStats; var$2 = $this.$statId; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } ju_HashMap_putImpl(var$1, var$3, $this); var$2 = $this.$statId; var$1 = nms_AchievementMap_guidMap; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$2 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$2 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$2) { var$6 = var$1.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$2 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } $this.$statGuid = var$1 === null ? null : var$1.$value1; return $this; } var$1 = new jl_RuntimeException; var$3 = nms_StatList_oneShotStats; var$2 = $this.$statId; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } if (var$6 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$4 = var$6.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$4) { var$8 = var$3.$key; if (var$6 !== var$8 && !(var$6 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = (var$3 === null ? null : var$3.$value1).$statName; var$6 = $this.$statName; var$2 = $this.$statId; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(2491)); var$7 = var$8.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$7, var$3); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(2492)); var$7 = var$8.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$7, var$6); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(2493)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$2, 10); var$3 = new jl_String; var$5 = var$8.$buffer; var$9 = var$5.data; var$7 = var$8.$length0; var$4 = var$9.length; if (var$7 >= 0 && var$7 <= (var$4 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$3; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_StatBase_isAchievement = $this => { return 0; }, nms_StatBase_toString = $this => { let var$1; var$1 = $this.$statName; nms_StatCollector_$callClinit(); return nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$1); }, nms_StatBase__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; ju_Locale_$callClinit(); var$1 = ju_Locale_US; var$2 = var$1.$languageCode; var$3 = var$1.$countryCode; if (otciu_CLDRHelper_$$metadata$$17 === null) otciu_CLDRHelper_$$metadata$$17 = otciu_CLDRHelper_getNumberFormatMap$$create(); var$4 = otciu_CLDRHelper_$$metadata$$17; if (var$3.$nativeString.length ? 0 : 1) var$5 = var$2; else { var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$6, var$6.$length0, var$2); jl_AbstractStringBuilder_insert7(var$6, var$6.$length0, 45); jl_AbstractStringBuilder_insert1(var$6, var$6.$length0, var$3); var$5 = new jl_String; var$7 = var$6.$buffer; var$8 = var$7.data; var$9 = var$6.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); else $rt_throw(jl_IndexOutOfBoundsException__init_0()); } var$5 = var$4.hasOwnProperty($rt_ustr(var$5)) ? var$4[$rt_ustr(var$5)] : var$4.hasOwnProperty($rt_ustr(var$2)) ? var$4[$rt_ustr(var$2)] : var$4.root; var$3 = (var$5.value !== null ? $rt_str(var$5.value) : null); var$6 = new jt_DecimalFormat; var$5 = new jt_DecimalFormatSymbols; var$5.$locale2 = var$1; jt_DecimalFormatSymbols_initData(var$5); jt_DecimalFormat__init_(var$6, var$3, var$5); var$6.$parseIntegerOnly = 1; var$6.$minimumFractionDigits = 0; if (var$6.$maximumFractionDigits < 0) var$6.$maximumFractionDigits = 0; var$6.$maximumFractionDigits = 0; var$6.$decimalSeparatorAlwaysShown = 0; nms_StatBase_numberFormat = var$6; nms_StatBase_simpleStatType = new nms_StatTypeSimple; var$5 = new jt_DecimalFormat; var$6 = new jt_DecimalFormatSymbols; var$6.$locale2 = ju_Locale_defaultLocale; jt_DecimalFormatSymbols_initData(var$6); jt_DecimalFormat__init_(var$5, $rt_s(2494), var$6); nms_StatBase_decimalFormat = var$5; nms_StatBase_timeStatType = new nms_StatTypeTime; nms_StatBase_distanceStatType = new nms_StatTypeDistance; nms_StatBase_field_111202_k = new nms_StatTypeFloat; }; function nms_Achievement() { let a = this; nms_StatBase.call(a); a.$displayColumn = 0; a.$displayRow = 0; a.$parentAchievement = null; a.$achievementDescription = null; a.$statStringFormatter = null; a.$theItemStack = null; a.$isSpecial = 0; } let nms_Achievement__init_ = ($this, $par1, $par2Str, $par3, $par4, $par5ItemStack, $par6Achievement) => { let var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; var$7 = 5242880 + $par1 | 0; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(2495)); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $par2Str === null ? $rt_s(1) : $par2Str); var$9 = new jl_String; var$10 = var$8.$buffer; var$11 = var$10.data; var$12 = var$8.$length0; var$13 = var$11.length; if (var$12 >= 0 && var$12 <= (var$13 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$10.data, 0, var$12); nms_StatBase_$callClinit(); var$14 = nms_StatBase_simpleStatType; $this.$statId = var$7; $this.$statName = var$9; $this.$type2 = var$14; $this.$theItemStack = $par5ItemStack; $par5ItemStack = new jl_StringBuilder; $par5ItemStack.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par5ItemStack, $par5ItemStack.$length0, $rt_s(2495)); $par1 = $par5ItemStack.$length0; if ($par2Str === null) $par2Str = $rt_s(1); jl_AbstractStringBuilder_insert($par5ItemStack, $par1, $par2Str); jl_AbstractStringBuilder_insert($par5ItemStack, $par5ItemStack.$length0, $rt_s(2496)); $par2Str = new jl_String; var$10 = $par5ItemStack.$buffer; var$11 = var$10.data; var$12 = $par5ItemStack.$length0; var$13 = var$11.length; if (var$12 >= 0 && var$12 <= (var$13 - 0 | 0)) { $par2Str.$nativeString = $rt_charArrayToString(var$10.data, 0, var$12); $this.$achievementDescription = $par2Str; $this.$displayColumn = $par3; $this.$displayRow = $par4; nms_AchievementList_$callClinit(); if ($par3 < nms_AchievementList_minDisplayColumn) nms_AchievementList_minDisplayColumn = $par3; if ($par4 < nms_AchievementList_minDisplayRow) nms_AchievementList_minDisplayRow = $par4; if ($par3 > nms_AchievementList_maxDisplayColumn) nms_AchievementList_maxDisplayColumn = $par3; if ($par4 > nms_AchievementList_maxDisplayRow) nms_AchievementList_maxDisplayRow = $par4; $this.$parentAchievement = $par6Achievement; return; } $par2Str = new jl_IndexOutOfBoundsException; $par2Str.$suppressionEnabled = 1; $par2Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par2Str); $rt_throw($par2Str); } $par2Str = new jl_IndexOutOfBoundsException; $par2Str.$suppressionEnabled = 1; $par2Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par2Str); $rt_throw($par2Str); }, nms_Achievement__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5) => { let var_6 = new nms_Achievement(); nms_Achievement__init_(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; }, nms_Achievement_isAchievement = $this => { return 1; }; function nms_RenderList() { let a = this; jl_Object.call(a); a.$field_78429_a = 0; a.$field_78427_b = 0; a.$field_78428_c = 0; a.$field_78425_d = 0.0; a.$field_78426_e = 0.0; a.$field_78423_f = 0.0; a.$field_78424_g = null; a.$field_78430_h = 0; a.$field_78431_i = 0; } let nms_RenderList__init_0 = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; nleg_EaglerAdapterGL30_$callClinit(); var$1 = nleg_EaglerAdapterGL30_isWebGL; if (var$1) { var$2 = $rt_createIntArray(65536); var$1 = var$2.data.length; var$3 = new jn_IntBufferOverArray; var$4 = 0 + var$1 | 0; var$3.$mark = (-1); var$3.$capacity = var$1; var$3.$limit0 = var$1; var$3.$position0 = 0; var$3.$limit0 = var$4; var$3.$start3 = 0; var$3.$readOnly3 = 0; var$3.$array4 = var$2; } else { if (!var$1) { var$5 = new jn_ByteBufferImpl; var$2 = $rt_createByteArray(262144); var$5.$mark = (-1); var$5.$capacity = 262144; var$5.$limit0 = 262144; var$5.$order = jn_ByteOrder_BIG_ENDIAN; var$5.$start = 0; var$5.$array0 = var$2; var$5.$position0 = 0; var$5.$limit0 = 262144; var$5.$direct = 1; var$5.$readOnly0 = 0; var$5.$order = jn_ByteOrder_nativeOrder(); } else { var$2 = $rt_createByteArray(262144); var$6 = var$2.data.length; if (var$6 >= 0 && var$6 <= (var$6 - 0 | 0)) { var$5 = new jn_ByteBufferImpl; var$7 = 0 + var$6 | 0; var$5.$mark = (-1); var$5.$capacity = var$6; var$5.$limit0 = var$6; var$5.$order = jn_ByteOrder_BIG_ENDIAN; var$5.$start = 0; var$5.$array0 = var$2; var$5.$position0 = 0; var$5.$limit0 = var$7; var$5.$direct = 0; var$5.$readOnly0 = 0; } else { var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } } var$3 = jn_ByteBufferImpl_asIntBuffer(var$5); } $this.$field_78424_g = var$3; }, nms_RenderList__init_ = () => { let var_0 = new nms_RenderList(); nms_RenderList__init_0(var_0); return var_0; }, nms_RenderList_func_78419_a = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; if ($this.$field_78430_h) { if (!$this.$field_78431_i) { var$1 = $this.$field_78424_g; var$1.$limit0 = var$1.$position0; var$1.$position0 = 0; var$1.$mark = (-1); $this.$field_78431_i = 1; } var$1 = $this.$field_78424_g; if ((var$1.$limit0 - var$1.$position0 | 0) > 0) { nleg_EaglerAdapterGL30_glPushMatrix(); var$2 = $this.$field_78429_a - $this.$field_78425_d; var$3 = $this.$field_78427_b - $this.$field_78426_e; var$4 = $this.$field_78428_c - $this.$field_78423_f; var$1 = nleg_EaglerAdapterGL30_deevis; var$1.$x = var$2; var$1.$y = var$3; var$1.$z = var$4; var$1 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$1, var$1); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); var$1.$out0 = var$5; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$1.$sb = var$5; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$1 = $this.$field_78424_g; while (true) { var$6 = var$1.$position0; var$7 = $rt_compare(var$6, var$1.$limit0); if (!(var$7 >= 0 ? 0 : 1)) break; if (var$7 >= 0) { var$1 = new jn_BufferUnderflowException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$1.$position0 = var$6 + 1 | 0; nleg_EaglerAdapterGL30_glCallList(var$1.$getElement0(var$6)); } nleg_EaglerAdapterGL30_glPopMatrix(); } } }; function nlea_Tessellator() { let a = this; jl_Object.call(a); a.$intBuffer = null; a.$floatBuffer = null; a.$vertexCount = 0; a.$textureU = 0.0; a.$textureV = 0.0; a.$brightness = 0; a.$color0 = 0; a.$hasColor = 0; a.$hasTexture = 0; a.$hasBrightness = 0; a.$hasNormals = 0; a.$rawBufferIndex = 0; a.$addedVertices = 0; a.$isColorDisabled = 0; a.$drawMode = 0; a.$xOffset = 0.0; a.$yOffset0 = 0.0; a.$zOffset = 0.0; a.$normal = 0; a.$isDrawing = 0; a.$useVBO = 0; a.$bufferSize = 0; } let nlea_Tessellator_instance = null, nlea_Tessellator_$callClinit = () => { nlea_Tessellator_$callClinit = $rt_eraseClinit(nlea_Tessellator); nlea_Tessellator__clinit_(); }, nlea_Tessellator__init_ = ($this, $par1) => { let $a; nlea_Tessellator_$callClinit(); $this.$vertexCount = 0; $this.$hasColor = 0; $this.$hasTexture = 0; $this.$hasBrightness = 0; $this.$hasNormals = 0; $this.$rawBufferIndex = 0; $this.$addedVertices = 0; $this.$isColorDisabled = 0; $this.$isDrawing = 0; $this.$useVBO = 0; $this.$bufferSize = $par1; $par1 = $par1 * 4 | 0; $a = new ArrayBuffer($par1); $this.$intBuffer = new Int32Array($a); $this.$floatBuffer = new Float32Array($a); }, nlea_Tessellator__init_0 = var_0 => { let var_1 = new nlea_Tessellator(); nlea_Tessellator__init_(var_1, var_0); return var_1; }, nlea_Tessellator_draw = $this => { let var$1, var$2, $var1; if ($this.$isDrawing) { $this.$isDrawing = 0; if ($this.$vertexCount > 0) { if ($this.$hasTexture) a: { nleg_EaglerAdapterGL30_$callClinit(); switch (32888) { case 32885: break; case 32886: nleg_EaglerAdapterGL30_enableColorArray = 1; break a; case 32887: break a; case 32888: switch (nleg_EaglerAdapterGL30_selectedClientTex) { case 0: nleg_EaglerAdapterGL30_enableTex0Array = 1; break a; case 1: nleg_EaglerAdapterGL30_enableTex1Array = 1; break a; default: } break a; default: break a; } nleg_EaglerAdapterGL30_enableNormalArray = 1; } if ($this.$hasColor) b: { nleg_EaglerAdapterGL30_$callClinit(); switch (32886) { case 32885: break; case 32886: nleg_EaglerAdapterGL30_enableColorArray = 1; break b; case 32887: break b; case 32888: switch (nleg_EaglerAdapterGL30_selectedClientTex) { case 0: nleg_EaglerAdapterGL30_enableTex0Array = 1; break b; case 1: nleg_EaglerAdapterGL30_enableTex1Array = 1; break b; default: } break b; default: break b; } nleg_EaglerAdapterGL30_enableNormalArray = 1; } if ($this.$hasNormals) c: { nleg_EaglerAdapterGL30_$callClinit(); switch (32885) { case 32885: break; case 32886: nleg_EaglerAdapterGL30_enableColorArray = 1; break c; case 32887: break c; case 32888: switch (nleg_EaglerAdapterGL30_selectedClientTex) { case 0: nleg_EaglerAdapterGL30_enableTex0Array = 1; break c; case 1: nleg_EaglerAdapterGL30_enableTex1Array = 1; break c; default: } break c; default: break c; } nleg_EaglerAdapterGL30_enableNormalArray = 1; } if ($this.$hasBrightness) { d: { nleg_EaglerAdapterGL30_$callClinit(); switch (33985) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_selectedClientTex = 1; break d; default: if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break d; } nleg_EaglerAdapterGL30_selectedClientTex = 0; } e: { switch (32888) { case 32885: break; case 32886: nleg_EaglerAdapterGL30_enableColorArray = 1; break e; case 32887: break e; case 32888: switch (nleg_EaglerAdapterGL30_selectedClientTex) { case 0: nleg_EaglerAdapterGL30_enableTex0Array = 1; break e; case 1: nleg_EaglerAdapterGL30_enableTex1Array = 1; break e; default: } break e; default: break e; } nleg_EaglerAdapterGL30_enableNormalArray = 1; } f: { switch (33984) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_selectedClientTex = 1; break f; default: if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break f; } nleg_EaglerAdapterGL30_selectedClientTex = 0; } } nleg_EaglerAdapterGL30_glDrawArrays($this.$drawMode, 0, $this.$vertexCount, otji_JSWrapper_wrap(new Int32Array($this.$intBuffer.buffer, 0, $this.$vertexCount * 8 | 0))); if ($this.$hasTexture) g: { switch (32888) { case 32885: break; case 32886: nleg_EaglerAdapterGL30_enableColorArray = 0; break g; case 32887: break g; case 32888: switch (nleg_EaglerAdapterGL30_selectedClientTex) { case 0: nleg_EaglerAdapterGL30_enableTex0Array = 0; break g; case 1: nleg_EaglerAdapterGL30_enableTex1Array = 0; break g; default: } break g; default: break g; } nleg_EaglerAdapterGL30_enableNormalArray = 0; } if ($this.$hasColor) h: { switch (32886) { case 32885: break; case 32886: nleg_EaglerAdapterGL30_enableColorArray = 0; break h; case 32887: break h; case 32888: switch (nleg_EaglerAdapterGL30_selectedClientTex) { case 0: nleg_EaglerAdapterGL30_enableTex0Array = 0; break h; case 1: nleg_EaglerAdapterGL30_enableTex1Array = 0; break h; default: } break h; default: break h; } nleg_EaglerAdapterGL30_enableNormalArray = 0; } if ($this.$hasNormals) i: { switch (32885) { case 32885: break; case 32886: nleg_EaglerAdapterGL30_enableColorArray = 0; break i; case 32887: break i; case 32888: switch (nleg_EaglerAdapterGL30_selectedClientTex) { case 0: nleg_EaglerAdapterGL30_enableTex0Array = 0; break i; case 1: nleg_EaglerAdapterGL30_enableTex1Array = 0; break i; default: } break i; default: break i; } nleg_EaglerAdapterGL30_enableNormalArray = 0; } if ($this.$hasBrightness) { j: { switch (33985) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_selectedClientTex = 1; break j; default: if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break j; } nleg_EaglerAdapterGL30_selectedClientTex = 0; } k: { switch (32888) { case 32885: break; case 32886: nleg_EaglerAdapterGL30_enableColorArray = 0; break k; case 32887: break k; case 32888: switch (nleg_EaglerAdapterGL30_selectedClientTex) { case 0: nleg_EaglerAdapterGL30_enableTex0Array = 0; break k; case 1: nleg_EaglerAdapterGL30_enableTex1Array = 0; break k; default: } break k; default: break k; } nleg_EaglerAdapterGL30_enableNormalArray = 0; } l: { switch (33984) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_selectedClientTex = 1; break l; default: if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break l; } nleg_EaglerAdapterGL30_selectedClientTex = 0; } } } $var1 = $this.$rawBufferIndex * 4 | 0; $this.$vertexCount = 0; $this.$rawBufferIndex = 0; $this.$addedVertices = 0; return $var1; } return 0; }, nlea_Tessellator_startDrawingQuads = $this => { if ($this.$isDrawing) nlea_Tessellator_draw($this); $this.$isDrawing = 1; $this.$vertexCount = 0; $this.$rawBufferIndex = 0; $this.$addedVertices = 0; $this.$drawMode = 7; $this.$hasNormals = 0; $this.$hasColor = 0; $this.$hasTexture = 0; $this.$hasBrightness = 0; $this.$isColorDisabled = 0; }, nlea_Tessellator_setColorRGBA = ($this, $par1, $par2, $par3, $par4) => { if (!$this.$isColorDisabled) { if ($par1 > 255) $par1 = 255; if ($par2 > 255) $par2 = 255; if ($par3 > 255) $par3 = 255; if ($par4 > 255) $par4 = 255; if ($par1 < 0) $par1 = 0; if ($par2 < 0) $par2 = 0; if ($par3 < 0) $par3 = 0; if ($par4 < 0) $par4 = 0; $this.$hasColor = 1; $this.$color0 = $par4 << 24 | $par3 << 16 | $par2 << 8 | $par1; } }, nlea_Tessellator_addVertex = ($this, $par1, $par3, $par5) => { let var$4, $bufferIndex, $intBuffer0, $floatBuffer0; var$4 = $this.$addedVertices; if (var$4 > 65534) return; $this.$addedVertices = var$4 + 1 | 0; $this.$vertexCount = $this.$vertexCount + 1 | 0; $bufferIndex = $this.$rawBufferIndex; $intBuffer0 = $this.$intBuffer; $floatBuffer0 = $this.$floatBuffer; $floatBuffer0[$bufferIndex + 0 | 0] = $par1 + $this.$xOffset; $floatBuffer0[$bufferIndex + 1 | 0] = $par3 + $this.$yOffset0; $floatBuffer0[$bufferIndex + 2 | 0] = $par5 + $this.$zOffset; if ($this.$hasTexture) { $floatBuffer0[$bufferIndex + 3 | 0] = $this.$textureU; $floatBuffer0[$bufferIndex + 4 | 0] = $this.$textureV; } if ($this.$hasColor) $intBuffer0[$bufferIndex + 5 | 0] = $this.$color0; if ($this.$hasNormals) $intBuffer0[$bufferIndex + 6 | 0] = $this.$normal; if ($this.$hasBrightness) $intBuffer0[$bufferIndex + 7 | 0] = $this.$brightness; $this.$rawBufferIndex = $this.$rawBufferIndex + 8 | 0; }, nlea_Tessellator_setNormal = ($this, $par1, $par2, $par3) => { $this.$hasNormals = 1; $this.$normal = (($par1 * 127.0 | 0) + 127 | 0) & 255 | ((($par2 * 127.0 | 0) + 127 | 0) & 255) << 8 | ((($par3 * 127.0 | 0) + 127 | 0) & 255) << 16; }, nlea_Tessellator__clinit_ = () => { nlea_Tessellator_instance = nlea_Tessellator__init_0(525000); }; function nms_GuiNewChat() { let a = this; nms_Gui.call(a); a.$mc7 = null; a.$sentMessages = null; a.$chatLines = null; a.$field_96134_d = null; a.$field_73768_d = 0; a.$field_73769_e = 0; } let nms_GuiNewChat_drawChat = ($this, $par1) => { let $var17, $var10, $var14, var$5, $var20, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var18, $var13, $var19, $var11, $var12, $var15, $var15_0, $var16, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$var16 = $thread.pop();$var15_0 = $thread.pop();$var15 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var19 = $thread.pop();$var13 = $thread.pop();$var18 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var20 = $thread.pop();var$5 = $thread.pop();$var14 = $thread.pop();$var10 = $thread.pop();$var17 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var17 = $this.$mc7; $var10 = $var17.$gameSettings; if ($var10.$chatVisibility != 2) { $var14 = $var17.$currentScreen instanceof nms_GuiChat; var$5 = (!$var14 ? $var10.$chatHeightUnfocused : $var10.$chatHeightFocused) * 160.0 + 20.0; $var20 = var$5 | 0; if (var$5 < $var20) $var20 = $var20 - 1 | 0; $var2 = $var20 / 9 | 0; $var3 = 0; $var4 = 0; $var5 = $this.$field_96134_d.$size0; $var6 = $var10.$chatOpacity * 0.8999999761581421 + 0.10000000149011612; if ($var5 > 0) { if ($var14) $var3 = 1; $var7 = $var10.$chatScale; var$5 = $var10.$chatWidth * 280.0 + 40.0; $var14 = var$5 | 0; if (var$5 < $var14) $var14 = $var14 - 1 | 0; var$5 = $var14 / $var7; $var8 = var$5 | 0; if (var$5 > $var8) $var8 = $var8 + 1 | 0; nleg_EaglerAdapterGL30_glPushMatrix(); $var17 = nleg_EaglerAdapterGL30_deevis; $var17.$x = 2.0; $var17.$y = 20.0; $var17.$z = 0.0; $var17 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var17, $var17); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var17 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); $var17.$out0 = $var10; $var10 = new jl_StringBuilder; $var10.$buffer = $rt_createCharArray(16); $var17.$sb = $var10; $var17.$buffer0 = $rt_createCharArray(32); $var17.$autoFlush = 0; $var17.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var17; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var17 = nleg_EaglerAdapterGL30_deevis; $var17.$x = $var7; $var17.$y = $var7; $var17.$z = 1.0; $var17 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var17, $var17); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var17 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); $var17.$out0 = $var10; $var10 = new jl_StringBuilder; $var10.$buffer = $rt_createCharArray(16); $var17.$sb = $var10; $var17.$buffer0 = $rt_createCharArray(32); $var17.$autoFlush = 0; $var17.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var17; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var9 = 0; $var8 = (0 + $var8 | 0) + 4 | 0; $var20 = 0; $var18 = 1; $var13 = 1; a: { while (true) { $var19 = $var9 + $this.$field_73768_d | 0; $var17 = $this.$field_96134_d; $var14 = $rt_compare($var19, $var17.$size0); if ($var14 >= 0) break a; if ($var9 >= $var2) break a; if ($var19 < 0) break; if ($var14 >= 0) break; $var10 = $var17.$array.data[$var19]; if ($var10 !== null) { $var11 = $par1 - $var10.$updateCounterCreated | 0; if (!($var11 >= 200 && !$var3)) { $var12 = (1.0 - $var11 / 200.0) * 10.0; if ($var12 < 0.0) $var12 = 0.0; if ($var12 > 1.0) $var12 = 1.0; $var14 = 255.0 * $var12 * $var12 | 0; if ($var3) $var14 = 255; $var15 = $var14 * $var6 | 0; $var4 = $var4 + 1 | 0; if ($var15 > 3) { b: { $var15_0 = 0; $var16 = ( -$var9 | 0) * 9 | 0; nms_Gui_drawRect($var15_0, $var16 - 9 | 0, $var8, $var16, ($var15 / 2 | 0) << 24); nleg_EaglerAdapterGL30_glEnable(3042); $var17 = $var10.$lineString; if (!$this.$mc7.$gameSettings.$chatColours) { nms_StringUtils_$callClinit(); var$23 = jur_Matcher__init_(nms_StringUtils_patternControlCode, $var17); var$24 = new jl_StringBuffer; var$24.$buffer = $rt_createCharArray(16); var$23.$leftBound0 = 0; var$25 = var$23.$string.$nativeString.length; var$23.$rightBound0 = var$25; $var17 = var$23.$matchResult; var$26 = var$23.$string; $var14 = var$23.$leftBound0; $var17.$valid = 0; $var17.$mode0 = 2; var$27 = $var17.$groupBounds.data; $var11 = 0; var$28 = var$27.length; if ($var11 > var$28) { $var17 = new jl_IllegalArgumentException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } while ($var11 < var$28) { var$29 = $var11 + 1 | 0; var$27[$var11] = (-1); $var11 = var$29; } var$27 = $var17.$consumers.data; $var11 = 0; var$28 = var$27.length; if ($var11 > var$28) { $var17 = new jl_IllegalArgumentException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } while ($var11 < var$28) { var$29 = $var11 + 1 | 0; var$27[$var11] = (-1); $var11 = var$29; } if (var$26 !== null) $var17.$string1 = var$26; if ($var14 >= 0) { $var17.$leftBound = $var14; $var17.$rightBound = var$25; } $var17.$startIndex = $var17.$leftBound; var$23.$appendPos = 0; var$23.$replacement = null; $var17.$previousMatch = (-1); while (true) { if (!jur_Matcher_find(var$23)) { $var17 = var$23.$string; $var17 = jl_String_substring($var17, var$23.$appendPos, $var17.$nativeString.length); $var11 = $var17.$nativeString.length; jl_AbstractStringBuilder_insert3(var$24, var$24.$length0, $var17, 0, $var11); $var17 = new jl_String; var$27 = var$24.$buffer; var$30 = var$27.data; $var19 = var$24.$length0; $var11 = var$30.length; if ($var19 >= 0 && $var19 <= ($var11 - 0 | 0)) { $var17.$nativeString = $rt_charArrayToString(var$27.data, 0, $var19); break b; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } var$23.$processedRepl = jur_Matcher_processReplacement(var$23, $rt_s(18)); var$26 = var$23.$string; $var11 = var$23.$appendPos; $var17 = var$23.$matchResult; if (!$var17.$valid) { $var17 = new jl_IllegalStateException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } if (0 >= $var17.$groupCount) { $var17 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var17, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var17); } $var17 = jl_String_substring(var$26, $var11, $var17.$groupBounds.data[$var20]); $var11 = $var17.$nativeString.length; jl_AbstractStringBuilder_insert3(var$24, var$24.$length0, $var17, 0, $var11); $var17 = var$23.$processedRepl; jl_AbstractStringBuilder_insert(var$24, var$24.$length0, $var17); $var17 = var$23.$matchResult; if (!$var17.$valid) { $var17 = new jl_IllegalStateException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } if (0 >= $var17.$groupCount) break; var$23.$appendPos = $var17.$groupBounds.data[$var18]; } $var17 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var17, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var17); } } $var10 = $this.$mc7.$fontRenderer0; $var14 = $var16 - 8 | 0; $var19 = 16777215 + ($var15 << 24) | 0; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $var11 = $var14 + 1 | 0; $var15 = 1; $ptr = 1; continue main; } } } $var9 = $var9 + 1 | 0; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } if ($var3) { $var14 = $this.$mc7.$fontRenderer0.$FONT_HEIGHT; $var17 = nleg_EaglerAdapterGL30_deevis; $var17.$x = (-3.0); $var17.$y = 0.0; $var17.$z = 0.0; $var17 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var17, $var17); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var17 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); $var17.$out0 = $var10; $var10 = new jl_StringBuilder; $var10.$buffer = $rt_createCharArray(16); $var17.$sb = $var10; $var17.$buffer0 = $rt_createCharArray(32); $var17.$autoFlush = 0; $var17.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var17; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var18 = $rt_imul($var5, $var14) + $var5 | 0; $var11 = $rt_imul($var4, $var14) + $var4 | 0; $var19 = $rt_imul($this.$field_73768_d, $var11) / $var5 | 0; $var13 = $rt_imul($var11, $var11) / $var18 | 0; if ($var18 != $var11) { $var14 = $var19 <= 0 ? 96 : 170; $var20 = !$this.$field_73769_e ? 3355562 : 13382451; $var19 = -$var19 | 0; $var13 = $var19 - $var13 | 0; $par1 = $var14 << 24; nms_Gui_drawRect(0, $var19, 2, $var13, $var20 + $par1 | 0); nms_Gui_drawRect(2, $var19, 1, $var13, 13421772 + $par1 | 0); } } nleg_EaglerAdapterGL30_glPopMatrix(); } } return; case 1: $tmp = nms_FontRenderer_renderString($var10, $var17, $var13, $var11, $var19, $var15); if ($rt_suspending()) { break main; } $var11 = $tmp; $var15 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($var10, $var17, $var15_0, $var14, $var19, $var15); if ($rt_suspending()) { break main; } $var14 = $tmp; c: { while (true) { $var9 = $var9 + 1 | 0; $var19 = $var9 + $this.$field_73768_d | 0; $var17 = $this.$field_96134_d; $var14 = $rt_compare($var19, $var17.$size0); if ($var14 >= 0) break c; if ($var9 >= $var2) break c; if ($var19 < 0) break; if ($var14 >= 0) break; $var10 = $var17.$array.data[$var19]; if ($var10 === null) continue; $var11 = $par1 - $var10.$updateCounterCreated | 0; if ($var11 >= 200 && !$var3) continue; $var12 = (1.0 - $var11 / 200.0) * 10.0; if ($var12 < 0.0) $var12 = 0.0; if ($var12 > 1.0) $var12 = 1.0; $var14 = 255.0 * $var12 * $var12 | 0; if ($var3) $var14 = 255; $var15 = $var14 * $var6 | 0; $var4 = $var4 + 1 | 0; if ($var15 > 3) { d: { $var15_0 = 0; $var16 = ( -$var9 | 0) * 9 | 0; nms_Gui_drawRect($var15_0, $var16 - 9 | 0, $var8, $var16, ($var15 / 2 | 0) << 24); nleg_EaglerAdapterGL30_glEnable(3042); $var17 = $var10.$lineString; if (!$this.$mc7.$gameSettings.$chatColours) { nms_StringUtils_$callClinit(); var$23 = jur_Matcher__init_(nms_StringUtils_patternControlCode, $var17); var$24 = new jl_StringBuffer; var$24.$buffer = $rt_createCharArray(16); var$23.$leftBound0 = 0; var$25 = var$23.$string.$nativeString.length; var$23.$rightBound0 = var$25; $var17 = var$23.$matchResult; var$26 = var$23.$string; $var14 = var$23.$leftBound0; $var17.$valid = 0; $var17.$mode0 = 2; var$27 = $var17.$groupBounds.data; $var11 = 0; var$28 = var$27.length; if ($var11 > var$28) { $var17 = new jl_IllegalArgumentException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } while ($var11 < var$28) { var$29 = $var11 + 1 | 0; var$27[$var11] = (-1); $var11 = var$29; } var$27 = $var17.$consumers.data; $var11 = 0; var$28 = var$27.length; if ($var11 > var$28) { $var17 = new jl_IllegalArgumentException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } while ($var11 < var$28) { var$29 = $var11 + 1 | 0; var$27[$var11] = (-1); $var11 = var$29; } if (var$26 !== null) $var17.$string1 = var$26; if ($var14 >= 0) { $var17.$leftBound = $var14; $var17.$rightBound = var$25; } $var17.$startIndex = $var17.$leftBound; var$23.$appendPos = 0; var$23.$replacement = null; $var17.$previousMatch = (-1); while (true) { if (!jur_Matcher_find(var$23)) { $var17 = var$23.$string; $var17 = jl_String_substring($var17, var$23.$appendPos, $var17.$nativeString.length); $var11 = $var17.$nativeString.length; jl_AbstractStringBuilder_insert3(var$24, var$24.$length0, $var17, 0, $var11); $var17 = new jl_String; var$27 = var$24.$buffer; var$30 = var$27.data; $var19 = var$24.$length0; $var11 = var$30.length; if ($var19 >= 0 && $var19 <= ($var11 - 0 | 0)) { $var17.$nativeString = $rt_charArrayToString(var$27.data, 0, $var19); break d; } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } var$23.$processedRepl = jur_Matcher_processReplacement(var$23, $rt_s(18)); var$26 = var$23.$string; $var11 = var$23.$appendPos; $var17 = var$23.$matchResult; if (!$var17.$valid) { $var17 = new jl_IllegalStateException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } if (0 >= $var17.$groupCount) { $var17 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var17, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var17); } $var17 = jl_String_substring(var$26, $var11, $var17.$groupBounds.data[$var20]); $var11 = $var17.$nativeString.length; jl_AbstractStringBuilder_insert3(var$24, var$24.$length0, $var17, 0, $var11); $var17 = var$23.$processedRepl; jl_AbstractStringBuilder_insert(var$24, var$24.$length0, $var17); $var17 = var$23.$matchResult; if (!$var17.$valid) { $var17 = new jl_IllegalStateException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } if (0 >= $var17.$groupCount) break; var$23.$appendPos = $var17.$groupBounds.data[$var18]; } $var17 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var17, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var17); } } $var10 = $this.$mc7.$fontRenderer0; $var14 = $var16 - 8 | 0; $var19 = 16777215 + ($var15 << 24) | 0; $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $var11 = $var14 + 1 | 0; $var15 = 1; $ptr = 1; continue main; } } $var17 = new jl_IndexOutOfBoundsException; $var17.$suppressionEnabled = 1; $var17.$writableStackTrace = 1; $rt_throw($var17); } if ($var3) { $var14 = $this.$mc7.$fontRenderer0.$FONT_HEIGHT; $var17 = nleg_EaglerAdapterGL30_deevis; $var17.$x = (-3.0); $var17.$y = 0.0; $var17.$z = 0.0; $var17 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var17, $var17); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var17 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); $var17.$out0 = $var10; $var10 = new jl_StringBuilder; $var10.$buffer = $rt_createCharArray(16); $var17.$sb = $var10; $var17.$buffer0 = $rt_createCharArray(32); $var17.$autoFlush = 0; $var17.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var17; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var18 = $rt_imul($var5, $var14) + $var5 | 0; $var11 = $rt_imul($var4, $var14) + $var4 | 0; $var19 = $rt_imul($this.$field_73768_d, $var11) / $var5 | 0; $var13 = $rt_imul($var11, $var11) / $var18 | 0; if ($var18 != $var11) { $var14 = $var19 <= 0 ? 96 : 170; $var20 = !$this.$field_73769_e ? 3355562 : 13382451; $var19 = -$var19 | 0; $var13 = $var19 - $var13 | 0; $par1 = $var14 << 24; nms_Gui_drawRect(0, $var19, 2, $var13, $var20 + $par1 | 0); nms_Gui_drawRect(2, $var19, 1, $var13, 13421772 + $par1 | 0); } } nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var17, $var10, $var14, var$5, $var20, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var18, $var13, $var19, $var11, $var12, $var15, $var15_0, $var16, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, $ptr); }, nms_GuiNewChat_func_96129_a = ($this, $par1Str, $par2, $par3, $par4) => { let $var5, $var6, $var8, var$8, var$9, var$10, var$11, var$12, $var7$index, var$14, var$15, $var7$index_0, var$17, var$18; $var5 = $this.$mc7.$currentScreen instanceof nms_GuiChat; $var6 = 1; if ($par2) nms_GuiNewChat_deleteChatLine($this, $par2); $var8 = $this.$mc7; var$8 = $var8.$fontRenderer0; $var8 = $var8.$gameSettings; var$9 = $var8.$chatWidth * 280.0 + 40.0; var$10 = var$9 | 0; if (var$9 < var$10) var$10 = var$10 - 1 | 0; var$9 = var$10 / $var8.$chatScale; var$10 = var$9 | 0; if (var$9 < var$10) var$10 = var$10 - 1 | 0; $var8 = nms_FontRenderer_wrapFormattedStringToWidth(var$8, $par1Str, var$10); var$11 = jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), $var8, 0); if (var$11 === null) { $par1Str = new jl_NullPointerException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(18); $rt_throw($par1Str); } var$12 = new ju_Arrays$ArrayAsList; var$12.$array2 = var$11; $var7$index = 0; var$14 = var$12.$modCount; var$15 = var$12.$size(); a: { while (true) { if (!($var7$index >= var$15 ? 0 : 1)) { while (true) { $var8 = $this.$field_96134_d; var$10 = $var8.$size0; if (var$10 <= 100) break; ju_ArrayList_remove($var8, var$10 - 1 | 0); } b: { if (!$par4) { $var8 = $this.$chatLines; var$8 = new nms_ChatLine; var$8.$lineString = jl_String_trim($par1Str); var$8.$updateCounterCreated = $par3; var$8.$chatLineID = $par2; ju_ArrayList_add0($var8, 0, var$8); while (true) { $par1Str = $this.$chatLines; $par3 = $par1Str.$size0; if ($par3 <= 100) break b; ju_ArrayList_remove($par1Str, $par3 - 1 | 0); } } } return; } if (var$14 < var$12.$modCount) break; $var7$index_0 = $var7$index + 1 | 0; $var8 = var$12.$get($var7$index); if ($var5 && $this.$field_73768_d > 0) { $this.$field_73769_e = 1; nms_GuiNewChat_scroll($this, 1); } if (!$var6) { var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); var$10 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$10, var$10 + 1 | 0); var$8.$buffer.data[var$10] = 32; var$10 = var$8.$length0; if ($var8 === null) $var8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$10, $var8); $var8 = new jl_String; var$17 = var$8.$buffer; var$11 = var$17.data; $var7$index = var$8.$length0; var$10 = var$11.length; if ($var7$index < 0) break a; if ($var7$index > (var$10 - 0 | 0)) break a; $var8.$nativeString = $rt_charArrayToString(var$17.data, 0, $var7$index); } $var6 = 0; var$8 = $this.$field_96134_d; var$18 = new nms_ChatLine; var$18.$lineString = $var8; var$18.$updateCounterCreated = $par3; var$18.$chatLineID = $par2; ju_ArrayList_add0(var$8, 0, var$18); $var7$index = $var7$index_0; } $par1Str = new ju_ConcurrentModificationException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); }, nms_GuiNewChat_scroll = ($this, $par1) => { let $var2, var$3, var$4, var$5, var$6, var$7; $par1 = $this.$field_73768_d + $par1 | 0; $this.$field_73768_d = $par1; $var2 = $this.$field_96134_d.$size0; var$3 = $this.$mc7; var$4 = var$3.$currentScreen instanceof nms_GuiChat; var$5 = (!var$4 ? var$3.$gameSettings.$chatHeightUnfocused : var$3.$gameSettings.$chatHeightFocused) * 160.0 + 20.0; var$6 = var$5 | 0; if (var$5 < var$6) var$6 = var$6 - 1 | 0; if ($par1 > ($var2 - (var$6 / 9 | 0) | 0)) { var$5 = (!var$4 ? var$3.$gameSettings.$chatHeightUnfocused : var$3.$gameSettings.$chatHeightFocused) * 160.0 + 20.0; var$7 = var$5 | 0; if (var$5 < var$7) var$7 = var$7 - 1 | 0; $this.$field_73768_d = $var2 - (var$7 / 9 | 0) | 0; } if ($this.$field_73768_d <= 0) { $this.$field_73768_d = 0; $this.$field_73769_e = 0; } }, nms_GuiNewChat_func_73766_a = ($this, $par1, $par2) => { let var$3, $var4, var$5, $var5, $var6, $var7, var$9, $var8, $var3, $var9; var$3 = $this.$mc7; if (!(var$3.$currentScreen instanceof nms_GuiChat)) return null; $var4 = (nms_ScaledResolution__init_(var$3.$gameSettings, var$3.$displayWidth, var$3.$displayHeight)).$scaleFactor0; var$5 = $this.$mc7; var$3 = var$5.$gameSettings; $var5 = var$3.$chatScale; $var6 = ($par1 / $var4 | 0) - 3 | 0; $var7 = ($par2 / $var4 | 0) - 25 | 0; var$9 = $var6 / $var5; $var6 = var$9 | 0; if (var$9 < $var6) $var6 = $var6 - 1 | 0; var$9 = $var7 / $var5; $par2 = var$9 | 0; if (var$9 < $par2) $par2 = $par2 - 1 | 0; if ($var6 >= 0 && $par2 >= 0) { var$9 = (!(var$5.$currentScreen instanceof nms_GuiChat) ? var$3.$chatHeightUnfocused : var$3.$chatHeightFocused) * 160.0 + 20.0; $var7 = var$9 | 0; if (var$9 < $var7) $var7 = $var7 - 1 | 0; $var8 = $var7 / 9 | 0; $var3 = $this.$field_96134_d; $par1 = $var3.$size0; if ($var8 >= $par1) $var8 = $par1; var$9 = var$3.$chatWidth * 280.0 + 40.0; $var7 = var$9 | 0; if (var$9 < $var7) $var7 = $var7 - 1 | 0; var$9 = $var7 / $var5; $var4 = var$9 | 0; if (var$9 < $var4) $var4 = $var4 - 1 | 0; if ($var6 <= $var4) { var$5 = var$5.$fontRenderer0; $var7 = var$5.$FONT_HEIGHT; if ($par2 < ($rt_imul($var7, $var8) + $var8 | 0)) { $var9 = ($par2 / ($var7 + 1 | 0) | 0) + $this.$field_73768_d | 0; var$3 = new nms_ChatClickData; if ($var9 >= 0 && $var9 < $par1) { $var3 = $var3.$array.data[$var9]; nms_ChatClickData_$callClinit(); var$3.$fontR = var$5; var$3.$line0 = $var3; var$3.$field_78310_f = nms_FontRenderer_trimStringToWidth(var$5, $var3.$lineString, $var6, 0); var$3.$clickedUrl = nms_ChatClickData_findClickedUrl(var$3); return var$3; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } } return null; } return null; }, nms_GuiNewChat_deleteChatLine = ($this, $par1) => { let $var3, $var2, var$4, var$5; $var3 = $this.$field_96134_d; $var2 = new ju_AbstractList$1; $var2.$this$00 = $var3; $var2.$modCount1 = $var3.$modCount; $var2.$size3 = $var3.$size(); $var2.$removeIndex = (-1); while (true) { var$4 = $var2.$index0; if (!(var$4 >= $var2.$size3 ? 0 : 1)) { $var3 = $this.$chatLines; $var2 = new ju_AbstractList$1; $var2.$this$00 = $var3; $var2.$modCount1 = $var3.$modCount; $var2.$size3 = $var3.$size(); $var2.$removeIndex = (-1); while (true) { var$4 = $var2.$index0; if (!(var$4 >= $var2.$size3 ? 0 : 1)) break; var$5 = $var2.$modCount1; $var3 = $var2.$this$00; if (var$5 < $var3.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var2.$removeIndex = var$4; $var2.$index0 = var$4 + 1 | 0; if (($var3.$get(var$4)).$chatLineID != $par1) continue; else { ju_AbstractList$1_remove($var2); return; } } return; } var$5 = $var2.$modCount1; $var3 = $var2.$this$00; if (var$5 < $var3.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var2.$removeIndex = var$4; $var2.$index0 = var$4 + 1 | 0; if (($var3.$get(var$4)).$chatLineID != $par1) continue; else break; } ju_AbstractList$1_remove($var2); }; function nlesi_IPCPacket0BPause() { jl_Object.call(this); this.$pause = 0; } let nlesi_IPCPacket0BPause__init_ = $this => { return; }, nlesi_IPCPacket0BPause__init_0 = () => { let var_0 = new nlesi_IPCPacket0BPause(); nlesi_IPCPacket0BPause__init_(var_0); return var_0; }, nlesi_IPCPacket0BPause_deserialize = ($this, $bin) => { let var$2; var$2 = $bin.$in.$read(); if (var$2 >= 0) { $this.$pause = !var$2 ? 0 : 1; return; } $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); }, nlesi_IPCPacket0BPause_serialize = ($this, $bin) => { let var$2; var$2 = $this.$pause; $bin.$out0.$write1(!var$2 ? 0 : 1); $bin.$written = $bin.$written + 1 | 0; }, nlesi_IPCPacket0BPause_id = $this => { return 11; }, nlesi_IPCPacket0BPause_size = $this => { return 1; }; function nms_EntityPlayerSP() { let a = this; nms_EntityPlayer.call(a); a.$movementInput = null; a.$mc4 = null; a.$sprintToggleTimer = 0; a.$sprintingTicksLeft = 0; a.$renderArmYaw = 0.0; a.$renderArmPitch = 0.0; a.$prevRenderArmYaw = 0.0; a.$prevRenderArmPitch = 0.0; a.$horseJumpPowerCounter = 0; a.$horseJumpPower = 0.0; a.$field_71162_ch = null; a.$field_71160_ci = null; a.$field_71161_cj = null; a.$timeInPortal = 0.0; a.$prevTimeInPortal = 0.0; } let nms_EntityPlayerSP_updateEntityActionState = $this => { let var$1, var$2, var$3; $this.$entityAge = $this.$entityAge + 1 | 0; nms_EntityLivingBase_updateArmSwingProgress($this); var$1 = $this.$movementInput; $this.$moveStrafing = var$1.$moveStrafe; $this.$moveForward = var$1.$moveForward0; $this.$isJumping = var$1.$jump0; var$2 = $this.$renderArmYaw; $this.$prevRenderArmYaw = var$2; var$3 = $this.$renderArmPitch; $this.$prevRenderArmPitch = var$3; $this.$renderArmPitch = var$3 + ($this.$rotationPitch - var$3) * 0.5; $this.$renderArmYaw = var$2 + ($this.$rotationYaw - var$2) * 0.5; }, nms_EntityPlayerSP_onLivingUpdate = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $var3, var$10, var$11, $var2, var$13, var$14, var$15, var$16, $var4, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();$var4 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var2 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var3 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $this.$sprintingTicksLeft; if ($var1 > 0) { $var1 = $var1 - 1 | 0; $this.$sprintingTicksLeft = $var1; if (!$var1) { nms_Entity_setFlag($this, 3, 0); var$2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) var$2 = ju_HashMap_findNullKeyEntry(var$3); else { var$4 = nms_BaseAttribute_hashCode(var$2); var$2 = ju_HashMap_findNonNullKeyEntry(var$3, var$2, var$4 & (var$3.$elementData.data.length - 1 | 0), var$4); } var$5 = var$2 === null ? null : var$2.$value1; nms_EntityLivingBase_$callClinit(); var$2 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$3 = var$5.$field_111135_e; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$6 = var$2.$msb; var$7 = var$2.$lsb; var$8 = Long_xor(var$6, var$7); $var3 = Long_hi(var$8) ^ Long_lo(var$8); var$10 = var$3.$elementData.data; var$3 = var$10[$var3 & (var$10.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var3) { a: { var$11 = var$3.$key; if (var$2 !== var$11) { b: { if (var$11 instanceof nle_ProfileUUID) { var$11 = var$11; if (Long_eq(var$11.$lsb, var$7) && Long_eq(var$11.$msb, var$6)) { $var1 = 1; break b; } } $var1 = 0; } if (!$var1) { $var1 = 0; break a; } } $var1 = 1; } if ($var1) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (var$2 !== null) nms_ModifiableAttributeInstance_removeModifier(var$5, nms_EntityLivingBase_sprintingSpeedBoostModifier); $this.$sprintingTicksLeft = 0; } } $var1 = $this.$sprintToggleTimer; if ($var1 > 0) $this.$sprintToggleTimer = $var1 - 1 | 0; c: { $this.$prevTimeInPortal = $this.$timeInPortal; if (!$this.$inPortal) { nms_Potion_$callClinit(); var$2 = nms_Potion_confusion; var$3 = $this.$activePotionsMap; $var1 = var$2.$id1; if ($var1 >= (-128) && $var1 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[$var1 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = $var1; } if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var1 = var$2.$value0; var$10 = var$3.$elementData.data; var$3 = var$10[$var1 & (var$10.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var1) { var$11 = var$3.$key; if (var$2 !== var$11 && !(var$2 === var$11 ? 1 : var$11 instanceof jl_Integer && var$11.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (var$3 === null ? 0 : 1) { var$2 = nms_Potion_confusion; var$3 = $this.$activePotionsMap; $var1 = var$2.$id1; if ($var1 >= (-128) && $var1 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[$var1 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = $var1; } if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var1 = var$2.$value0; var$10 = var$3.$elementData.data; var$3 = var$10[$var1 & (var$10.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var1) { var$11 = var$3.$key; if (var$2 !== var$11 && !(var$2 === var$11 ? 1 : var$11 instanceof jl_Integer && var$11.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if ((var$3 === null ? null : var$3.$value1).$duration > 60) { $var2 = $this.$timeInPortal + 0.006666666828095913; $this.$timeInPortal = $var2; if ($var2 <= 1.0) break c; $this.$timeInPortal = 1.0; break c; } } var$13 = $this.$timeInPortal; if (var$13 > 0.0) $this.$timeInPortal = var$13 - 0.05000000074505806; if ($this.$timeInPortal < 0.0) $this.$timeInPortal = 0.0; } else { var$2 = $this.$mc4; if (var$2.$currentScreen !== null) { var$3 = null; $ptr = 1; continue main; } if ($this.$timeInPortal === 0.0) { var$2 = $this.$mc4.$sndManager; var$3 = $rt_s(2497); var$13 = 1.0; var$11 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$8; $var2 = Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929; $ptr = 2; continue main; } $var2 = $this.$timeInPortal + 0.012500000186264515; $this.$timeInPortal = $var2; if ($var2 >= 1.0) $this.$timeInPortal = 1.0; $this.$inPortal = 0; } } $var1 = $this.$timeUntilPortal; if ($var1 > 0) $this.$timeUntilPortal = $var1 - 1 | 0; var$2 = $this.$movementInput; $var1 = var$2.$jump0; $var2 = 0.800000011920929; $var3 = var$2.$moveForward0 < $var2 ? 0 : 1; nms_MovementInputFromOptions_updatePlayerMoveState(var$2); var$4 = $this.$itemInUse === null ? 0 : 1; if (var$4 && !($this.$ridingEntity === null ? 0 : 1)) { var$2 = $this.$movementInput; var$2.$moveStrafe = var$2.$moveStrafe * 0.20000000298023224; var$2.$moveForward0 = var$2.$moveForward0 * 0.20000000298023224; $this.$sprintToggleTimer = 0; } if ($this.$movementInput.$sneak && $this.$ySize0 < 0.20000000298023224) $this.$ySize0 = 0.20000000298023224; var$14 = $this.$posX; var$15 = $this.$width1 * 0.35; var$14 = var$14 - var$15; var$16 = $this.$boundingBox.$minY + 0.5; var$15 = $this.$posZ + var$15; $ptr = 3; continue main; case 1: nms_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } if ($this.$timeInPortal === 0.0) { var$2 = $this.$mc4.$sndManager; var$3 = $rt_s(2497); var$13 = 1.0; var$11 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$8; $var2 = Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929; $ptr = 2; continue main; } $var2 = $this.$timeInPortal + 0.012500000186264515; $this.$timeInPortal = $var2; if ($var2 >= 1.0) $this.$timeInPortal = 1.0; $this.$inPortal = 0; $var1 = $this.$timeUntilPortal; if ($var1 > 0) $this.$timeUntilPortal = $var1 - 1 | 0; var$2 = $this.$movementInput; $var1 = var$2.$jump0; $var2 = 0.800000011920929; $var3 = var$2.$moveForward0 < $var2 ? 0 : 1; nms_MovementInputFromOptions_updatePlayerMoveState(var$2); var$4 = $this.$itemInUse === null ? 0 : 1; if (var$4 && !($this.$ridingEntity === null ? 0 : 1)) { var$2 = $this.$movementInput; var$2.$moveStrafe = var$2.$moveStrafe * 0.20000000298023224; var$2.$moveForward0 = var$2.$moveForward0 * 0.20000000298023224; $this.$sprintToggleTimer = 0; } if ($this.$movementInput.$sneak && $this.$ySize0 < 0.20000000298023224) $this.$ySize0 = 0.20000000298023224; var$14 = $this.$posX; var$15 = $this.$width1 * 0.35; var$14 = var$14 - var$15; var$16 = $this.$boundingBox.$minY + 0.5; var$15 = $this.$posZ + var$15; $ptr = 3; continue main; case 2: nms_SoundManager_playSoundFX(var$2, var$3, var$13, $var2); if ($rt_suspending()) { break main; } $var2 = $this.$timeInPortal + 0.012500000186264515; $this.$timeInPortal = $var2; if ($var2 >= 1.0) $this.$timeInPortal = 1.0; $this.$inPortal = 0; $var1 = $this.$timeUntilPortal; if ($var1 > 0) $this.$timeUntilPortal = $var1 - 1 | 0; var$2 = $this.$movementInput; $var1 = var$2.$jump0; $var2 = 0.800000011920929; $var3 = var$2.$moveForward0 < $var2 ? 0 : 1; nms_MovementInputFromOptions_updatePlayerMoveState(var$2); var$4 = $this.$itemInUse === null ? 0 : 1; if (var$4 && !($this.$ridingEntity === null ? 0 : 1)) { var$2 = $this.$movementInput; var$2.$moveStrafe = var$2.$moveStrafe * 0.20000000298023224; var$2.$moveForward0 = var$2.$moveForward0 * 0.20000000298023224; $this.$sprintToggleTimer = 0; } if ($this.$movementInput.$sneak && $this.$ySize0 < 0.20000000298023224) $this.$ySize0 = 0.20000000298023224; var$14 = $this.$posX; var$15 = $this.$width1 * 0.35; var$14 = var$14 - var$15; var$16 = $this.$boundingBox.$minY + 0.5; var$15 = $this.$posZ + var$15; $ptr = 3; case 3: nms_EntityPlayerSP_pushOutOfBlocks($this, var$14, var$16, var$15); if ($rt_suspending()) { break main; } var$15 = $this.$posX; var$14 = $this.$width1 * 0.35; var$15 = var$15 - var$14; var$16 = $this.$boundingBox.$minY + 0.5; var$14 = $this.$posZ - var$14; $ptr = 4; case 4: nms_EntityPlayerSP_pushOutOfBlocks($this, var$15, var$16, var$14); if ($rt_suspending()) { break main; } var$15 = $this.$posX; var$14 = $this.$width1 * 0.35; var$15 = var$15 + var$14; var$16 = $this.$boundingBox.$minY + 0.5; var$14 = $this.$posZ - var$14; $ptr = 5; case 5: nms_EntityPlayerSP_pushOutOfBlocks($this, var$15, var$16, var$14); if ($rt_suspending()) { break main; } var$15 = $this.$posX; var$14 = $this.$width1 * 0.35; var$15 = var$15 + var$14; var$16 = $this.$boundingBox.$minY + 0.5; var$14 = $this.$posZ + var$14; $ptr = 6; case 6: nms_EntityPlayerSP_pushOutOfBlocks($this, var$15, var$16, var$14); if ($rt_suspending()) { break main; } $var4 = $this.$foodStats.$foodLevel <= 6.0 && !$this.$capabilities.$allowFlying ? 0 : 1; d: { if (!$this.$onGround) break d; if ($var3) break d; if ($this.$movementInput.$moveForward0 < $var2) break d; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[128]; if (var$11 !== null) { var$4 = var$11.$value0; var$10 = var$2.$elementData.data; var$2 = var$10[var$4 & (var$10.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$3 = var$2.$key; if (var$11 !== var$3 && !jl_Integer_equals(var$11, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value2 & 8) ? 0 : 1) break d; if (!$var4) break d; if ($this.$itemInUse === null ? 0 : 1) break d; nms_Potion_$callClinit(); var$3 = nms_Potion_blindness; var$2 = $this.$activePotionsMap; var$4 = var$3.$id1; if (var$4 >= (-128) && var$4 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$4 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$4; } if (var$3 === null) { var$11 = var$2.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { $var3 = var$3.$value0; var$10 = var$2.$elementData.data; var$11 = var$10[$var3 & (var$10.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == $var3) { var$2 = var$11.$key; if (var$3 !== var$2 && !(var$3 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == $var3 ? 1 : 0) ? 0 : 1) break; } var$11 = var$11.$next3; } } if (var$11 === null ? 0 : 1) break d; if ($this.$sprintToggleTimer) { nms_Entity_setFlag($this, 3, 1); var$2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) var$2 = ju_HashMap_findNullKeyEntry(var$3); else { $var3 = nms_BaseAttribute_hashCode(var$2); var$2 = ju_HashMap_findNonNullKeyEntry(var$3, var$2, $var3 & (var$3.$elementData.data.length - 1 | 0), $var3); } var$5 = var$2 === null ? null : var$2.$value1; nms_EntityLivingBase_$callClinit(); var$3 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$2 = var$5.$field_111135_e; if (var$3 === null) { var$11 = var$2.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { var$6 = var$3.$msb; var$7 = var$3.$lsb; var$8 = Long_xor(var$6, var$7); $var3 = Long_hi(var$8) ^ Long_lo(var$8); var$10 = var$2.$elementData.data; var$11 = var$10[$var3 & (var$10.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == $var3) { e: { var$2 = var$11.$key; if (var$3 !== var$2) { f: { if (var$2 instanceof nle_ProfileUUID) { var$2 = var$2; if (Long_eq(var$2.$lsb, var$7) && Long_eq(var$2.$msb, var$6)) { var$4 = 1; break f; } } var$4 = 0; } if (!var$4) { var$4 = 0; break e; } } var$4 = 1; } if (var$4) break; } var$11 = var$11.$next3; } } var$2 = var$11 === null ? null : var$11.$value1; if (var$2 !== null) nms_ModifiableAttributeInstance_removeModifier(var$5, nms_EntityLivingBase_sprintingSpeedBoostModifier); nms_ModifiableAttributeInstance_applyModifier(var$5, nms_EntityLivingBase_sprintingSpeedBoostModifier); $this.$sprintingTicksLeft = 600; $this.$sprintToggleTimer = 0; break d; } $this.$sprintToggleTimer = 7; } if ($this.$movementInput.$sneak && !$this.$sleeping ? 1 : 0) $this.$sprintToggleTimer = 0; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[128]; if (var$11 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$11.$value0; var$10 = var$2.$elementData.data; var$2 = var$10[var$4 & (var$10.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$3 = var$2.$key; if (var$11 !== var$3 && !jl_Integer_equals(var$11, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; var$4 = !(var$2.$watchedObject.$value2 & 8) ? 0 : 1; if (var$4 && !($this.$movementInput.$moveForward0 >= $var2 && !$this.$isCollidedHorizontally && $var4)) { nms_Entity_setFlag($this, 3, 0); var$2 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$2 === null) var$2 = ju_HashMap_findNullKeyEntry(var$3); else { $var3 = nms_BaseAttribute_hashCode(var$2); var$2 = ju_HashMap_findNonNullKeyEntry(var$3, var$2, $var3 & (var$3.$elementData.data.length - 1 | 0), $var3); } var$5 = var$2 === null ? null : var$2.$value1; nms_EntityLivingBase_$callClinit(); var$2 = nms_EntityLivingBase_sprintingSpeedBoostModifierUUID; var$3 = var$5.$field_111135_e; if (var$2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$6 = var$2.$msb; var$7 = var$2.$lsb; var$8 = Long_xor(var$6, var$7); var$18 = Long_hi(var$8) ^ Long_lo(var$8); var$10 = var$3.$elementData.data; var$3 = var$10[var$18 & (var$10.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$18) { g: { var$11 = var$3.$key; if (var$2 !== var$11) { h: { if (var$11 instanceof nle_ProfileUUID) { var$11 = var$11; if (Long_eq(var$11.$lsb, var$7) && Long_eq(var$11.$msb, var$6)) { var$4 = 1; break h; } } var$4 = 0; } if (!var$4) { var$4 = 0; break g; } } var$4 = 1; } if (var$4) break; } var$3 = var$3.$next3; } } var$2 = var$3 === null ? null : var$3.$value1; if (var$2 !== null) nms_ModifiableAttributeInstance_removeModifier(var$5, nms_EntityLivingBase_sprintingSpeedBoostModifier); $this.$sprintingTicksLeft = 0; } var$2 = $this.$capabilities; if (var$2.$allowFlying && !$var1 && $this.$movementInput.$jump0) { if (!$this.$flyToggleTimer) $this.$flyToggleTimer = 7; else { var$2.$isFlying = var$2.$isFlying ? 0 : 1; var$11 = $this.$sendQueue; var$3 = new nms_Packet202PlayerAbilities; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$disableDamage0 = var$2.$disableDamage; var$3.$isFlying0 = var$2.$isFlying; var$3.$allowFlying0 = var$2.$allowFlying; var$3.$isCreativeMode0 = var$2.$isCreativeMode; var$3.$flySpeed0 = var$2.$flySpeed; var$3.$walkSpeed0 = var$2.$walkSpeed; if (!var$11.$disconnected) var$11.$netManager.$addToSendQueue(var$3); $this.$flyToggleTimer = 0; } } if ($this.$capabilities.$isFlying) { var$2 = $this.$movementInput; if (var$2.$sneak) $this.$motionY = $this.$motionY - 0.15; if (var$2.$jump0) $this.$motionY = $this.$motionY + 0.15; } var$2 = $this.$ridingEntity; if (!(var$2 !== null && var$2 instanceof nms_EntityHorse ? 1 : 0)) $this.$horseJumpPower = 0.0; else { var$4 = $this.$horseJumpPowerCounter; if (var$4 < 0) { var$4 = var$4 + 1 | 0; $this.$horseJumpPowerCounter = var$4; if (!var$4) $this.$horseJumpPower = 0.0; } if ($var1 && !$this.$movementInput.$jump0) { $this.$horseJumpPowerCounter = (-10); var$3 = $this.$sendQueue; var$2 = new nms_Packet19EntityAction; var$4 = $this.$horseJumpPower * 100.0 | 0; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$entityId2 = $this.$entityId; var$2.$action0 = 6; var$2.$auxData = var$4; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$2); } else if (!$var1 && $this.$movementInput.$jump0) { $this.$horseJumpPowerCounter = 0; $this.$horseJumpPower = 0.0; } else if ($var1) { $var1 = $this.$horseJumpPowerCounter + 1 | 0; $this.$horseJumpPowerCounter = $var1; if ($var1 < 10) $this.$horseJumpPower = $var1 * 0.10000000149011612; else $this.$horseJumpPower = 0.800000011920929 + 2.0 / ($var1 - 9 | 0) * 0.10000000149011612; } } $ptr = 7; case 7: nms_EntityPlayer_onLivingUpdate($this); if ($rt_suspending()) { break main; } if ($this.$onGround) { var$2 = $this.$capabilities; if (var$2.$isFlying) { var$2.$isFlying = 0; var$11 = $this.$sendQueue; var$3 = new nms_Packet202PlayerAbilities; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$disableDamage0 = var$2.$disableDamage; var$3.$isFlying0 = var$2.$isFlying; var$3.$allowFlying0 = var$2.$allowFlying; var$3.$isCreativeMode0 = var$2.$isCreativeMode; var$3.$flySpeed0 = var$2.$flySpeed; var$3.$walkSpeed0 = var$2.$walkSpeed; if (!var$11.$disconnected) var$11.$netManager.$addToSendQueue(var$3); } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $var3, var$10, var$11, $var2, var$13, var$14, var$15, var$16, $var4, var$18, $ptr); }, nms_EntityPlayerSP_getFOVMultiplier = $this => { let $var1, $var2, var$3, var$4, $var3, $var4; $var1 = 1.0; if ($this.$capabilities.$isFlying) $var1 = 1.100000023841858; $var2 = nms_EntityLivingBase_getEntityAttribute($this, nms_SharedMonsterAttributes_movementSpeed); var$3 = $var1; if ($var2.$field_111133_g) { $var2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var2); $var2.$field_111133_g = 0; } $var1 = var$3 * ($var2.$field_111139_h / $this.$capabilities.$walkSpeed + 1.0) / 2.0; var$4 = $this.$itemInUse; if (var$4 === null ? 0 : 1) { $var3 = var$4.$itemID; nms_Item_$callClinit(); if ($var3 == nms_Item_bow.$itemID0) { $var4 = (nms_Item_itemsList.data[$var3].$getMaxItemUseDuration(var$4) - $this.$itemInUseCount | 0) / 20.0; $var1 = $var1 * (1.0 - ($var4 <= 1.0 ? $var4 * $var4 : 1.0) * 0.15000000596046448); } } return $var1; }, nms_EntityPlayerSP_isSneaking = $this => { return $this.$movementInput.$sneak && !$this.$sleeping ? 1 : 0; }, nms_EntityPlayerSP_setPlayerSPHealth = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, $var2, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var2 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; $var2 = var$2.$watchedObject.$value3 - $par1; var$4 = $rt_compare($var2, 0.0); if (var$4 <= 0) { var$3 = $this.$dataWatcher; $var2 = 0.0; var$2 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$6 = $this.$attributeMap.$attributes; if (var$2 === null) var$2 = ju_HashMap_findNullKeyEntry(var$6); else { var$8 = nms_BaseAttribute_hashCode(var$2); var$2 = ju_HashMap_findNonNullKeyEntry(var$6, var$2, var$8 & (var$6.$elementData.data.length - 1 | 0), var$8); } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$field_111133_g) { var$2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$2); var$2.$field_111133_g = 0; } var$9 = var$2.$field_111139_h; if ($par1 >= $var2) $var2 = $par1 <= var$9 ? $par1 : var$9; var$10 = new jl_Float; var$10.$value3 = $var2; var$2 = var$3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[134]; if (var$11 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$12 = var$11.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$12 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$12) { var$6 = var$2.$key; if (var$11 !== var$6 && !(var$11 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (var$10 === var$2) var$12 = 1; else a: { if (var$2 instanceof jl_Float) { $par1 = var$10.$value3; $var2 = var$2.$value3; if ($par1 !== $par1 ? ($var2 === $var2 ? 0 : 1) : $rt_floatToRawIntBits($par1) != $rt_floatToRawIntBits($var2) ? 0 : 1) { var$12 = 1; break a; } } var$12 = 0; } if (!var$12) { var$6.$watchedObject = var$10; var$6.$watched = 1; var$3.$objectChanged = 1; } if (var$4 < 0) $this.$hurtResistantTime = $this.$maxHurtResistantTime / 2 | 0; return; } $this.$lastDamage = $var2; var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$13 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value3; var$2 = $this.$dataWatcher; $par1 = 0.0; var$3 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$6 = $this.$attributeMap.$attributes; if (var$3 === null) var$3 = ju_HashMap_findNullKeyEntry(var$6); else { var$12 = nms_BaseAttribute_hashCode(var$3); var$3 = ju_HashMap_findNonNullKeyEntry(var$6, var$3, var$12 & (var$6.$elementData.data.length - 1 | 0), var$12); } var$3 = var$3 === null ? null : var$3.$value1; if (var$3.$field_111133_g) { var$3.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$3); var$3.$field_111133_g = 0; } var$9 = var$3.$field_111139_h; if (var$13 >= $par1) $par1 = var$13 <= var$9 ? var$13 : var$9; var$3 = new jl_Float; var$3.$value3 = $par1; var$6 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[134]; if (var$10 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$8 = var$10.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$8) { var$11 = var$6.$key; if (var$10 !== var$11 && !(var$10 === var$11 ? 1 : var$11 instanceof jl_Integer && var$11.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$11 = var$6 === null ? null : var$6.$value1; var$6 = var$11.$watchedObject; if (var$3 === var$6) var$4 = 1; else b: { if (var$6 instanceof jl_Float) { $par1 = var$3.$value3; var$9 = var$6.$value3; if ($par1 !== $par1 ? (var$9 === var$9 ? 0 : 1) : $rt_floatToRawIntBits($par1) != $rt_floatToRawIntBits(var$9) ? 0 : 1) { var$4 = 1; break b; } } var$4 = 0; } if (!var$4) { var$11.$watchedObject = var$3; var$11.$watched = 1; var$2.$objectChanged = 1; } $this.$hurtResistantTime = $this.$maxHurtResistantTime; var$2 = nms_DamageSource_generic; $ptr = 1; case 1: nms_EntityClientPlayerMP_damageEntity($this, var$2, $var2); if ($rt_suspending()) { break main; } $this.$maxHurtTime = 10; $this.$hurtTime = 10; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, var$5, var$6, $var2, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntityPlayerSP_pushOutOfBlocks = ($this, $par1, $par3, $par5) => { let $var7, $var8, $var9, $var10, $var12, $var16, var$10, var$11, $var14, $var15, $var17, $var18, $var19; $var7 = $par1 | 0; if ($par1 < $var7) $var7 = $var7 - 1 | 0; $var8 = $par3 | 0; if ($par3 < $var8) $var8 = $var8 - 1 | 0; $var9 = $par5 | 0; if ($par5 < $var9) $var9 = $var9 - 1 | 0; $var10 = $par1 - $var7; $var12 = $par5 - $var9; $var16 = nms_World_getBlockId($this.$worldObj, $var7, $var8, $var9); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var16]; if (var$10 === null) $var16 = 0; else { var$11 = var$10.$blockMaterial; $var16 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $var16 = $var16 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } a: { if (!$var16) { $var16 = $var8 + 1 | 0; $var16 = nms_World_getBlockId($this.$worldObj, $var7, $var16, $var9); var$10 = nms_Block_blocksList.data[$var16]; if (var$10 !== null) { var$11 = var$10.$blockMaterial; $var16 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $var16 = $var16 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } else $var16 = 0; if (!$var16) break a; } $var14 = $var7 - 1 | 0; $var16 = nms_World_getBlockId($this.$worldObj, $var14, $var8, $var9); var$10 = nms_Block_blocksList.data[$var16]; if (var$10 === null) $var16 = 0; else { var$11 = var$10.$blockMaterial; $var16 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $var16 = $var16 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } b: { if (!$var16) { $var16 = $var8 + 1 | 0; $var16 = nms_World_getBlockId($this.$worldObj, $var14, $var16, $var9); var$10 = nms_Block_blocksList.data[$var16]; if (var$10 === null) $var16 = 0; else { var$11 = var$10.$blockMaterial; $var16 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $var16 = $var16 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$var16) { $var14 = 1; break b; } } $var14 = 0; } $var16 = $var7 + 1 | 0; $var15 = nms_World_getBlockId($this.$worldObj, $var16, $var8, $var9); var$10 = nms_Block_blocksList.data[$var15]; if (var$10 !== null) { var$11 = var$10.$blockMaterial; $var15 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $var15 = $var15 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } else $var15 = 0; c: { if (!$var15) { $var15 = $var8 + 1 | 0; $var16 = nms_World_getBlockId($this.$worldObj, $var16, $var15, $var9); var$10 = nms_Block_blocksList.data[$var16]; if (var$10 !== null) { var$11 = var$10.$blockMaterial; $var16 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $var16 = $var16 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } else $var16 = 0; if (!$var16) { $var15 = 1; break c; } } $var15 = 0; } $var16 = $var9 - 1 | 0; $var17 = nms_World_getBlockId($this.$worldObj, $var7, $var8, $var16); var$10 = nms_Block_blocksList.data[$var17]; if (var$10 === null) $var17 = 0; else { var$11 = var$10.$blockMaterial; $var17 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $var17 = $var17 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } d: { if (!$var17) { $var17 = $var8 + 1 | 0; $var16 = nms_World_getBlockId($this.$worldObj, $var7, $var17, $var16); var$10 = nms_Block_blocksList.data[$var16]; if (var$10 === null) $var16 = 0; else { var$11 = var$10.$blockMaterial; $var16 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $var16 = $var16 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$var16) { $var16 = 1; break d; } } $var16 = 0; } $var9 = $var9 + 1 | 0; $var17 = nms_World_getBlockId($this.$worldObj, $var7, $var8, $var9); var$10 = nms_Block_blocksList.data[$var17]; if (var$10 === null) $var17 = 0; else { var$11 = var$10.$blockMaterial; $var17 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $var17 = $var17 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } e: { if (!$var17) { $var8 = $var8 + 1 | 0; $var9 = nms_World_getBlockId($this.$worldObj, $var7, $var8, $var9); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 === null) $var9 = 0; else { var$11 = var$10.$blockMaterial; $var9 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $var9 = $var9 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$var9) { $var17 = 1; break e; } } $var17 = 0; } $var18 = (-1); $var19 = 9999.0; if ($var14 && $var10 < $var19) { $var18 = 0; $var19 = $var10; } if (!$var15) $par1 = $var19; else { $par1 = 1.0 - $var10; if ($par1 < $var19) $var18 = 1; else $par1 = $var19; } if ($var16 && $var12 < $par1) { $var18 = 4; $par1 = $var12; } if ($var17 && 1.0 - $var12 < $par1) $var18 = 5; if (!$var18) $this.$motionX = (-0.10000000149011612); if ($var18 == 1) $this.$motionX = 0.10000000149011612; if ($var18 == 4) $this.$motionZ = (-0.10000000149011612); if ($var18 == 5) $this.$motionZ = 0.10000000149011612; } return 0; }, nms_EntityPlayerSP_getHeldItem = $this => { let var$1, var$2; var$1 = $this.$inventory; var$2 = var$1.$currentItem; return var$2 < 9 && var$2 >= 0 ? var$1.$mainInventory.data[var$2] : null; }, nms_EntityPlayerSP_playSound = ($this, $par1Str, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $this.$worldObj; var$5 = $this.$posX; var$6 = $this.$posY - $this.$yOffset; var$7 = $this.$posZ; var$8 = 0; $ptr = 1; case 1: nms_WorldClient_playSound(var$4, var$5, var$6, var$7, $par1Str, $par2, $par3, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2, $par3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityPlayerSP_isClientWorld = $this => { return 1; }; function nms_PlayerControllerMP() { let a = this; jl_Object.call(a); a.$mc6 = null; a.$netClientHandler = null; a.$currentBlockX = 0; a.$currentBlockY = 0; a.$currentblockZ = 0; a.$field_85183_f = null; a.$curBlockDamageMP = 0.0; a.$stepSoundTickCounter = 0.0; a.$blockHitDelay = 0; a.$isHittingBlock = 0; a.$currentGameType = null; a.$currentPlayerItem = 0; } let nms_PlayerControllerMP_onPlayerDestroyBlock = ($this, $par1, $par2, $par3, $par4) => { let var$5, $var8, $var5, $var6, $var7, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var8 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par4 = $this.$currentGameType !== nms_EnumGameType_ADVENTURE ? 0 : 1; if ($par4 && !nms_EntityPlayer_isCurrentToolAdventureModeExempt($this.$mc6.$thePlayer, $par1, $par2, $par3)) return 0; if ($this.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) { var$5 = $this.$mc6.$thePlayer.$inventory; $var8 = var$5.$currentItem; $par4 = $rt_compare($var8, 9); if (($par4 < 0 && $var8 >= 0 ? var$5.$mainInventory.data[$var8] : null) !== null) { var$5 = $par4 < 0 && $var8 >= 0 ? var$5.$mainInventory.data[$var8] : null; nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$5.$itemID] instanceof nms_ItemSword) return 0; } } $var5 = $this.$mc6.$theWorld; nms_Block_$callClinit(); $var6 = nms_Block_blocksList.data[nms_World_getBlockId($var5, $par1, $par2, $par3)]; if ($var6 === null) return 0; $var7 = 2001; var$10 = $var6.$blockID + (nms_World_getBlockMetadata($var5, $par1, $par2, $par3) << 12) | 0; var$5 = null; $par4 = 0; var$11 = $var5.$worldAccesses; $var8 = $rt_compare($par4, var$11.$size0); if ($var8 >= 0) { $var7 = nms_World_getBlockMetadata($var5, $par1, $par2, $par3); $par4 = 0; $var8 = 0; var$10 = 3; $ptr = 1; continue main; } if ($par4 >= 0 && $var8 < 0) { var$11 = var$11.$array.data[$par4]; $ptr = 3; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 1: $tmp = nms_World_setBlock($var5, $par1, $par2, $par3, $par4, $var8, var$10); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8) { $ptr = 2; continue main; } $this.$currentBlockY = (-1); if (!($this.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1)) { var$5 = $this.$mc6.$thePlayer; var$11 = var$5.$inventory; $var7 = var$11.$currentItem; var$12 = $var7 < 9 && $var7 >= 0 ? var$11.$mainInventory.data[$var7] : null; if (var$12 !== null) { $par4 = $var6.$blockID; nms_Item_$callClinit(); var$11 = nms_Item_itemsList.data[var$12.$itemID]; $ptr = 4; continue main; } } return $var8; case 2: $var6.$onBlockDestroyedByPlayer($var5, $par1, $par2, $par3, $var7); if ($rt_suspending()) { break main; } $this.$currentBlockY = (-1); if (!($this.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1)) { var$5 = $this.$mc6.$thePlayer; var$11 = var$5.$inventory; $var7 = var$11.$currentItem; var$12 = $var7 < 9 && $var7 >= 0 ? var$11.$mainInventory.data[$var7] : null; if (var$12 !== null) { $par4 = $var6.$blockID; nms_Item_$callClinit(); var$11 = nms_Item_itemsList.data[var$12.$itemID]; $ptr = 4; continue main; } } return $var8; case 3: nms_RenderGlobal_playAuxSFX(var$11, var$5, $var7, $par1, $par2, $par3, var$10); if ($rt_suspending()) { break main; } $par4 = $par4 + 1 | 0; var$11 = $var5.$worldAccesses; $var8 = $rt_compare($par4, var$11.$size0); if ($var8 >= 0) { $var7 = nms_World_getBlockMetadata($var5, $par1, $par2, $par3); $par4 = 0; $var8 = 0; var$10 = 3; $ptr = 1; continue main; } if ($par4 >= 0 && $var8 < 0) { var$11 = var$11.$array.data[$par4]; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 4: $tmp = var$11.$onBlockDestroyed(var$12, $var5, $par4, $par1, $par2, $par3, var$5); if ($rt_suspending()) { break main; } $par1 = $tmp; if ($par1) { nms_StatList_$callClinit(); nms_EntityClientPlayerMP_addStat(var$5, nms_StatList_objectUseStats.data[var$12.$itemID], 1); } if (!var$12.$stackSize) { var$11 = $this.$mc6.$thePlayer.$inventory; $par1 = var$11.$currentItem; var$5 = null; var$13 = var$11.$mainInventory; $par2 = var$13.data.length; if ($par1 >= $par2) { $par1 = $par1 - $par2 | 0; var$13 = var$11.$armorInventory; } var$13.data[$par1] = var$5; } return $var8; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, var$5, $var8, $var5, $var6, $var7, var$10, var$11, var$12, var$13, $ptr); }, nms_PlayerControllerMP_clickBlock = ($this, $par1, $par2, $par3, $par4) => { let var$5, var$6, var$7, $var5, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var5 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$currentGameType !== nms_EnumGameType_ADVENTURE ? 0 : 1; a: { if (!(var$5 && !nms_EntityPlayer_isCurrentToolAdventureModeExempt($this.$mc6.$thePlayer, $par1, $par2, $par3))) { if ($this.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) { var$6 = $this.$netClientHandler; var$7 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$7.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$7.$status = 0; var$7.$xPosition0 = $par1; var$7.$yPosition0 = $par2; var$7.$zPosition = $par3; var$7.$face = $par4; if (!var$6.$disconnected) var$6.$netManager.$addToSendQueue(var$7); var$6 = $this.$mc6; var$7 = var$6.$theWorld; var$6 = var$6.$thePlayer; $ptr = 1; continue main; } if (!($this.$isHittingBlock && nms_PlayerControllerMP_sameToolAndBlock($this, $par1, $par2, $par3))) { if ($this.$isHittingBlock) { var$6 = $this.$netClientHandler; var$7 = new nms_Packet14BlockDig; $var5 = $this.$currentBlockX; var$9 = $this.$currentBlockY; var$10 = $this.$currentblockZ; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$7.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$7.$status = 1; var$7.$xPosition0 = $var5; var$7.$yPosition0 = var$9; var$7.$zPosition = var$10; var$7.$face = $par4; if (!var$6.$disconnected) var$6.$netManager.$addToSendQueue(var$7); } var$7 = $this.$netClientHandler; var$6 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$6.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$6.$status = 0; var$6.$xPosition0 = $par1; var$6.$yPosition0 = $par2; var$6.$zPosition = $par3; var$6.$face = $par4; if (!var$7.$disconnected) var$7.$netManager.$addToSendQueue(var$6); $var5 = nms_World_getBlockId($this.$mc6.$theWorld, $par1, $par2, $par3); if ($var5 > 0 && $this.$curBlockDamageMP === 0.0) { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[$var5]; var$7 = $this.$mc6; var$11 = var$7.$theWorld; var$7 = var$7.$thePlayer; $ptr = 3; continue main; } if ($var5 > 0) { nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var5]; var$6 = $this.$mc6.$thePlayer; if (nms_Block_getPlayerRelativeBlockHardness(var$11, var$6, var$6.$worldObj, $par1, $par2, $par3) >= 1.0) { $ptr = 4; continue main; } } $this.$isHittingBlock = 1; $this.$currentBlockX = $par1; $this.$currentBlockY = $par2; $this.$currentblockZ = $par3; var$6 = $this.$mc6; var$11 = var$6.$thePlayer; var$7 = var$11.$inventory; var$5 = var$7.$currentItem; $this.$field_85183_f = var$5 < 9 && var$5 >= 0 ? var$7.$mainInventory.data[var$5] : null; $this.$curBlockDamageMP = 0.0; $this.$stepSoundTickCounter = 0.0; var$7 = var$6.$theWorld; $var5 = var$11.$entityId; $par4 = 0; while (true) { var$6 = var$7.$worldAccesses; var$5 = $rt_compare($par4, var$6.$size0); if (var$5 >= 0) break; if ($par4 < 0) break a; if (var$5 >= 0) break a; nms_RenderGlobal_destroyBlockPartially(var$6.$array.data[$par4], $var5, $par1, $par2, $par3, (-1)); $par4 = $par4 + 1 | 0; } } } return; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); case 1: $tmp = nms_World_extinguishFire(var$7, var$6, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5) { $this.$blockHitDelay = 5; return; } $ptr = 2; case 2: nms_PlayerControllerMP_onPlayerDestroyBlock($this, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $this.$blockHitDelay = 5; return; case 3: var$6.$onBlockClicked(var$11, $par1, $par2, $par3, var$7); if ($rt_suspending()) { break main; } if ($var5 > 0) { nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var5]; var$6 = $this.$mc6.$thePlayer; if (nms_Block_getPlayerRelativeBlockHardness(var$11, var$6, var$6.$worldObj, $par1, $par2, $par3) >= 1.0) { $ptr = 4; continue main; } } $this.$isHittingBlock = 1; $this.$currentBlockX = $par1; $this.$currentBlockY = $par2; $this.$currentblockZ = $par3; var$6 = $this.$mc6; var$11 = var$6.$thePlayer; var$7 = var$11.$inventory; var$5 = var$7.$currentItem; $this.$field_85183_f = var$5 < 9 && var$5 >= 0 ? var$7.$mainInventory.data[var$5] : null; $this.$curBlockDamageMP = 0.0; $this.$stepSoundTickCounter = 0.0; var$7 = var$6.$theWorld; $var5 = var$11.$entityId; $par4 = 0; b: { while (true) { var$6 = var$7.$worldAccesses; var$5 = $rt_compare($par4, var$6.$size0); if (var$5 >= 0) break; if ($par4 < 0) break b; if (var$5 >= 0) break b; nms_RenderGlobal_destroyBlockPartially(var$6.$array.data[$par4], $var5, $par1, $par2, $par3, (-1)); $par4 = $par4 + 1 | 0; } return; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); case 4: nms_PlayerControllerMP_onPlayerDestroyBlock($this, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, var$5, var$6, var$7, $var5, var$9, var$10, var$11, $ptr); }, nms_PlayerControllerMP_resetBlockRemoving = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; if ($this.$isHittingBlock) { var$1 = $this.$netClientHandler; var$2 = new nms_Packet14BlockDig; var$3 = $this.$currentBlockX; var$4 = $this.$currentBlockY; var$5 = $this.$currentblockZ; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$status = 1; var$2.$xPosition0 = var$3; var$2.$yPosition0 = var$4; var$2.$zPosition = var$5; var$2.$face = (-1); if (!var$1.$disconnected) var$1.$netManager.$addToSendQueue(var$2); } $this.$isHittingBlock = 0; $this.$curBlockDamageMP = 0.0; var$1 = $this.$mc6; var$6 = var$1.$theWorld; var$7 = var$1.$thePlayer.$entityId; var$8 = $this.$currentBlockX; var$3 = $this.$currentBlockY; var$5 = $this.$currentblockZ; var$9 = 0; a: { while (true) { var$1 = var$6.$worldAccesses; var$10 = $rt_compare(var$9, var$1.$size0); if (var$10 >= 0) break; if (var$9 < 0) break a; if (var$10 >= 0) break a; nms_RenderGlobal_destroyBlockPartially(var$1.$array.data[var$9], var$7, var$8, var$3, var$5, (-1)); var$9 = var$9 + 1 | 0; } return; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nms_PlayerControllerMP_onPlayerDamageBlock = ($this, $par1, $par2, $par3, $par4) => { let $var5, var$6, var$7, $var6, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $this.$mc6.$thePlayer.$inventory.$currentItem; if ($var5 != $this.$currentPlayerItem) { $this.$currentPlayerItem = $var5; var$6 = $this.$netClientHandler; var$7 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$7.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$7.$id4 = $var5; if (!var$6.$disconnected) var$6.$netManager.$addToSendQueue(var$7); } a: { $var5 = $this.$blockHitDelay; if ($var5 > 0) $this.$blockHitDelay = $var5 - 1 | 0; else { if ($this.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) { $this.$blockHitDelay = 5; $var6 = $this.$netClientHandler; var$6 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$6.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$6.$status = 0; var$6.$xPosition0 = $par1; var$6.$yPosition0 = $par2; var$6.$zPosition = $par3; var$6.$face = $par4; if (!$var6.$disconnected) $var6.$netManager.$addToSendQueue(var$6); var$6 = $this.$mc6; var$7 = var$6.$theWorld; var$6 = var$6.$thePlayer; $ptr = 2; continue main; } if (!nms_PlayerControllerMP_sameToolAndBlock($this, $par1, $par2, $par3)) { $ptr = 1; continue main; } $var5 = nms_World_getBlockId($this.$mc6.$theWorld, $par1, $par2, $par3); if (!$var5) { $this.$isHittingBlock = 0; return; } nms_Block_$callClinit(); $var6 = nms_Block_blocksList.data[$var5]; var$9 = $this.$curBlockDamageMP; var$6 = $this.$mc6.$thePlayer; $this.$curBlockDamageMP = var$9 + nms_Block_getPlayerRelativeBlockHardness($var6, var$6, var$6.$worldObj, $par1, $par2, $par3); if ($this.$stepSoundTickCounter % 4.0 === 0.0) { var$6 = $this.$mc6.$sndManager; var$7 = nms_StepSound_getStepSound($var6.$stepSound); var$10 = $par1 + 0.5; var$11 = $par2 + 0.5; var$12 = $par3 + 0.5; $var6 = $var6.$stepSound; var$13 = ($var6.$stepSoundVolume + 1.0) / 8.0; var$9 = $var6.$stepSoundPitch * 0.5; $ptr = 4; continue main; } $this.$stepSoundTickCounter = $this.$stepSoundTickCounter + 1.0; if ($this.$curBlockDamageMP >= 1.0) { $this.$isHittingBlock = 0; var$7 = $this.$netClientHandler; $var6 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var6.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var6.$status = 2; $var6.$xPosition0 = $par1; $var6.$yPosition0 = $par2; $var6.$zPosition = $par3; $var6.$face = $par4; if (!var$7.$disconnected) var$7.$netManager.$addToSendQueue($var6); $ptr = 5; continue main; } var$6 = $this.$mc6; var$7 = var$6.$theWorld; $par1 = var$6.$thePlayer.$entityId; $par2 = $this.$currentBlockX; $par3 = $this.$currentBlockY; $par4 = $this.$currentblockZ; $var5 = ($this.$curBlockDamageMP * 10.0 | 0) - 1 | 0; var$14 = 0; while (true) { var$6 = var$7.$worldAccesses; var$15 = $rt_compare(var$14, var$6.$size0); if (var$15 >= 0) break; if (var$14 < 0) break a; if (var$15 >= 0) break a; nms_RenderGlobal_destroyBlockPartially(var$6.$array.data[var$14], $par1, $par2, $par3, $par4, $var5); var$14 = var$14 + 1 | 0; } } return; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); case 1: nms_PlayerControllerMP_clickBlock($this, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; case 2: $tmp = nms_World_extinguishFire(var$7, var$6, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5) return; $ptr = 3; case 3: nms_PlayerControllerMP_onPlayerDestroyBlock($this, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; case 4: nms_SoundManager_playSound(var$6, var$7, var$10, var$11, var$12, var$13, var$9); if ($rt_suspending()) { break main; } $this.$stepSoundTickCounter = $this.$stepSoundTickCounter + 1.0; if ($this.$curBlockDamageMP < 1.0) { var$6 = $this.$mc6; var$7 = var$6.$theWorld; $par1 = var$6.$thePlayer.$entityId; $par2 = $this.$currentBlockX; $par3 = $this.$currentBlockY; $par4 = $this.$currentblockZ; $var5 = ($this.$curBlockDamageMP * 10.0 | 0) - 1 | 0; var$14 = 0; b: { while (true) { var$6 = var$7.$worldAccesses; var$15 = $rt_compare(var$14, var$6.$size0); if (var$15 >= 0) break; if (var$14 < 0) break b; if (var$15 >= 0) break b; nms_RenderGlobal_destroyBlockPartially(var$6.$array.data[var$14], $par1, $par2, $par3, $par4, $var5); var$14 = var$14 + 1 | 0; } return; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } $this.$isHittingBlock = 0; var$7 = $this.$netClientHandler; $var6 = new nms_Packet14BlockDig; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var6.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var6.$status = 2; $var6.$xPosition0 = $par1; $var6.$yPosition0 = $par2; $var6.$zPosition = $par3; $var6.$face = $par4; if (!var$7.$disconnected) var$7.$netManager.$addToSendQueue($var6); $ptr = 5; case 5: nms_PlayerControllerMP_onPlayerDestroyBlock($this, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $this.$curBlockDamageMP = 0.0; $this.$stepSoundTickCounter = 0.0; $this.$blockHitDelay = 5; var$6 = $this.$mc6; var$7 = var$6.$theWorld; $par1 = var$6.$thePlayer.$entityId; $par2 = $this.$currentBlockX; $par3 = $this.$currentBlockY; $par4 = $this.$currentblockZ; $var5 = ($this.$curBlockDamageMP * 10.0 | 0) - 1 | 0; var$14 = 0; c: { while (true) { var$6 = var$7.$worldAccesses; var$15 = $rt_compare(var$14, var$6.$size0); if (var$15 >= 0) break; if (var$14 < 0) break c; if (var$15 >= 0) break c; nms_RenderGlobal_destroyBlockPartially(var$6.$array.data[var$14], $par1, $par2, $par3, $par4, $var5); var$14 = var$14 + 1 | 0; } return; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $var5, var$6, var$7, $var6, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_PlayerControllerMP_sameToolAndBlock = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, $var5; var$4 = $this.$mc6.$thePlayer.$inventory; var$5 = var$4.$currentItem; var$6 = var$5 < 9 && var$5 >= 0 ? var$4.$mainInventory.data[var$5] : null; var$4 = $this.$field_85183_f; $var5 = var$4 === null && var$6 === null ? 1 : 0; if (var$4 !== null && var$6 !== null) a: { b: { if (var$6.$itemID == var$4.$itemID && nms_ItemStack_areItemStackTagsEqual(var$6, var$4)) { nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$6.$itemID].$maxDamage <= 0 ? 0 : 1) break b; if (var$6.$itemDamage == $this.$field_85183_f.$itemDamage) break b; } $var5 = 0; break a; } $var5 = 1; } return $par1 == $this.$currentBlockX && $par2 == $this.$currentBlockY && $par3 == $this.$currentblockZ && $var5 ? 1 : 0; }, nms_PlayerControllerMP_onPlayerRightClick = ($this, $par1EntityPlayer, $par2World, $par3ItemStack, $par4, $par5, $par6, $par7, $par8Vec3) => { let $var13, var$10, $var16, $var9, $var10, $var11, $var12, $var14, var$17, var$18, $var13_0, $var15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var15 = $thread.pop();$var13_0 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var16 = $thread.pop();var$10 = $thread.pop();$var13 = $thread.pop();$par8Vec3 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3ItemStack = $thread.pop();$par2World = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var13 = $this.$mc6.$thePlayer.$inventory.$currentItem; if ($var13 != $this.$currentPlayerItem) { $this.$currentPlayerItem = $var13; var$10 = $this.$netClientHandler; $var16 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var16.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var16.$id4 = $var13; if (!var$10.$disconnected) var$10.$netManager.$addToSendQueue($var16); } $var9 = $par8Vec3.$xCoord - $par4; $var10 = $par8Vec3.$yCoord - $par5; $var11 = $par8Vec3.$zCoord - $par6; $var12 = 0; $var13 = $par1EntityPlayer.$movementInput.$sneak && !$par1EntityPlayer.$sleeping ? 1 : 0; a: { if ($var13) { $par8Vec3 = $par1EntityPlayer.$inventory; $var14 = $par8Vec3.$currentItem; if (($var14 < 9 && $var14 >= 0 ? $par8Vec3.$mainInventory.data[$var14] : null) !== null) break a; } $var13 = nms_World_getBlockId($par2World, $par4, $par5, $par6); if ($var13 > 0) { nms_Block_$callClinit(); $par8Vec3 = nms_Block_blocksList.data[$var13]; $ptr = 1; continue main; } } if (!$var12 && $par3ItemStack !== null) { nms_Item_$callClinit(); var$17 = nms_Item_itemsList.data; $var13 = $par3ItemStack.$itemID; if (var$17[$var13] instanceof nms_ItemBlock) { $var16 = var$17[$var13]; $ptr = 2; continue main; } } var$18 = $this.$netClientHandler; var$10 = new nms_Packet15Place; $par8Vec3 = $par1EntityPlayer.$inventory; $var14 = $par8Vec3.$currentItem; $var16 = $var14 < 9 && $var14 >= 0 ? $par8Vec3.$mainInventory.data[$var14] : null; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$10.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$10.$xPosition7 = $par4; var$10.$yPosition6 = $par5; var$10.$zPosition6 = $par6; var$10.$direction = $par7; if ($var16 === null) $par8Vec3 = null; else { $par8Vec3 = new nms_ItemStack; $var13 = $var16.$itemID; $var14 = $var16.$stackSize; $var13_0 = $var16.$itemDamage; nms_ItemStack_$callClinit(); $par8Vec3.$itemID = $var13; $par8Vec3.$stackSize = $var14; $par8Vec3.$itemDamage = $var13_0; if ($var13_0 < 0) $par8Vec3.$itemDamage = 0; $var16 = $var16.$stackTagCompound; if ($var16 !== null) $par8Vec3.$stackTagCompound = nms_NBTTagCompound_copy($var16); } var$10.$itemStack1 = $par8Vec3; var$10.$xOffset0 = $var9; var$10.$yOffset1 = $var10; var$10.$zOffset0 = $var11; if (!var$18.$disconnected) var$18.$netManager.$addToSendQueue(var$10); if ($var12) return 1; if ($par3ItemStack === null) return 0; if (!($this.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1)) { nms_Item_$callClinit(); $par8Vec3 = nms_Item_itemsList.data[$par3ItemStack.$itemID]; $ptr = 3; continue main; } $var13_0 = $par3ItemStack.$itemDamage; $var14 = $par3ItemStack.$stackSize; nms_Item_$callClinit(); $par8Vec3 = nms_Item_itemsList.data[$par3ItemStack.$itemID]; $ptr = 4; continue main; case 1: $tmp = $par8Vec3.$onBlockActivated($par2World, $par4, $par5, $par6, $par1EntityPlayer, $par7, $var9, $var10, $var11); if ($rt_suspending()) { break main; } $var13 = $tmp; if ($var13) $var12 = 1; if (!$var12 && $par3ItemStack !== null) { nms_Item_$callClinit(); var$17 = nms_Item_itemsList.data; $var13 = $par3ItemStack.$itemID; if (var$17[$var13] instanceof nms_ItemBlock) { $var16 = var$17[$var13]; $ptr = 2; continue main; } } var$18 = $this.$netClientHandler; var$10 = new nms_Packet15Place; $par8Vec3 = $par1EntityPlayer.$inventory; $var14 = $par8Vec3.$currentItem; $var16 = $var14 < 9 && $var14 >= 0 ? $par8Vec3.$mainInventory.data[$var14] : null; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$10.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$10.$xPosition7 = $par4; var$10.$yPosition6 = $par5; var$10.$zPosition6 = $par6; var$10.$direction = $par7; if ($var16 === null) $par8Vec3 = null; else { $par8Vec3 = new nms_ItemStack; $var13 = $var16.$itemID; $var14 = $var16.$stackSize; $var13_0 = $var16.$itemDamage; nms_ItemStack_$callClinit(); $par8Vec3.$itemID = $var13; $par8Vec3.$stackSize = $var14; $par8Vec3.$itemDamage = $var13_0; if ($var13_0 < 0) $par8Vec3.$itemDamage = 0; $var16 = $var16.$stackTagCompound; if ($var16 !== null) $par8Vec3.$stackTagCompound = nms_NBTTagCompound_copy($var16); } var$10.$itemStack1 = $par8Vec3; var$10.$xOffset0 = $var9; var$10.$yOffset1 = $var10; var$10.$zOffset0 = $var11; if (!var$18.$disconnected) var$18.$netManager.$addToSendQueue(var$10); if ($var12) return 1; if ($par3ItemStack === null) return 0; if (!($this.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1)) { nms_Item_$callClinit(); $par8Vec3 = nms_Item_itemsList.data[$par3ItemStack.$itemID]; $ptr = 3; continue main; } $var13_0 = $par3ItemStack.$itemDamage; $var14 = $par3ItemStack.$stackSize; nms_Item_$callClinit(); $par8Vec3 = nms_Item_itemsList.data[$par3ItemStack.$itemID]; $ptr = 4; continue main; case 2: $tmp = $var16.$canPlaceItemBlockOnSide($par2World, $par4, $par5, $par6, $par7, $par1EntityPlayer, $par3ItemStack); if ($rt_suspending()) { break main; } $var13 = $tmp; if (!$var13) return 0; var$18 = $this.$netClientHandler; var$10 = new nms_Packet15Place; $par8Vec3 = $par1EntityPlayer.$inventory; $var14 = $par8Vec3.$currentItem; $var16 = $var14 < 9 && $var14 >= 0 ? $par8Vec3.$mainInventory.data[$var14] : null; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$10.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$10.$xPosition7 = $par4; var$10.$yPosition6 = $par5; var$10.$zPosition6 = $par6; var$10.$direction = $par7; if ($var16 === null) $par8Vec3 = null; else { $par8Vec3 = new nms_ItemStack; $var13 = $var16.$itemID; $var14 = $var16.$stackSize; $var13_0 = $var16.$itemDamage; nms_ItemStack_$callClinit(); $par8Vec3.$itemID = $var13; $par8Vec3.$stackSize = $var14; $par8Vec3.$itemDamage = $var13_0; if ($var13_0 < 0) $par8Vec3.$itemDamage = 0; $var16 = $var16.$stackTagCompound; if ($var16 !== null) $par8Vec3.$stackTagCompound = nms_NBTTagCompound_copy($var16); } var$10.$itemStack1 = $par8Vec3; var$10.$xOffset0 = $var9; var$10.$yOffset1 = $var10; var$10.$zOffset0 = $var11; if (!var$18.$disconnected) var$18.$netManager.$addToSendQueue(var$10); if ($var12) return 1; if ($par3ItemStack === null) return 0; if (!($this.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1)) { nms_Item_$callClinit(); $par8Vec3 = nms_Item_itemsList.data[$par3ItemStack.$itemID]; $ptr = 3; continue main; } $var13_0 = $par3ItemStack.$itemDamage; $var14 = $par3ItemStack.$stackSize; nms_Item_$callClinit(); $par8Vec3 = nms_Item_itemsList.data[$par3ItemStack.$itemID]; $ptr = 4; continue main; case 3: $tmp = $par8Vec3.$onItemUse($par3ItemStack, $par1EntityPlayer, $par2World, $par4, $par5, $par6, $par7, $var9, $var10, $var11); if ($rt_suspending()) { break main; } $par4 = $tmp; if ($par4) { nms_StatList_$callClinit(); nms_EntityClientPlayerMP_addStat($par1EntityPlayer, nms_StatList_objectUseStats.data[$par3ItemStack.$itemID], 1); } return $par4; case 4: $tmp = $par8Vec3.$onItemUse($par3ItemStack, $par1EntityPlayer, $par2World, $par4, $par5, $par6, $par7, $var9, $var10, $var11); if ($rt_suspending()) { break main; } $var15 = $tmp; if ($var15) { nms_StatList_$callClinit(); nms_EntityClientPlayerMP_addStat($par1EntityPlayer, nms_StatList_objectUseStats.data[$par3ItemStack.$itemID], 1); } $par3ItemStack.$itemDamage = $var13_0; if ($var13_0 < 0) $par3ItemStack.$itemDamage = 0; $par3ItemStack.$stackSize = $var14; return $var15; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2World, $par3ItemStack, $par4, $par5, $par6, $par7, $par8Vec3, $var13, var$10, $var16, $var9, $var10, $var11, $var12, $var14, var$17, var$18, $var13_0, $var15, $ptr); }, nms_PlayerControllerMP_sendUseItem = ($this, $par1EntityPlayer, $par2World, $par3ItemStack) => { let $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3ItemStack = $thread.pop();$par2World = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = $this.$mc6.$thePlayer.$inventory.$currentItem; if ($var4 != $this.$currentPlayerItem) { $this.$currentPlayerItem = $var4; $var5 = $this.$netClientHandler; var$6 = new nms_Packet16BlockItemSwitch; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$6.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$6.$id4 = $var4; if (!$var5.$disconnected) $var5.$netManager.$addToSendQueue(var$6); } var$7 = $this.$netClientHandler; var$8 = new nms_Packet15Place; $var5 = $par1EntityPlayer.$inventory; var$9 = $var5.$currentItem; var$6 = var$9 < 9 && var$9 >= 0 ? $var5.$mainInventory.data[var$9] : null; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$8.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$8.$xPosition7 = (-1); var$8.$yPosition6 = (-1); var$8.$zPosition6 = (-1); var$8.$direction = 255; if (var$6 === null) $var5 = null; else { $var5 = new nms_ItemStack; $var4 = var$6.$itemID; var$10 = var$6.$stackSize; var$11 = var$6.$itemDamage; nms_ItemStack_$callClinit(); $var5.$itemID = $var4; $var5.$stackSize = var$10; $var5.$itemDamage = var$11; if (var$11 < 0) $var5.$itemDamage = 0; var$6 = var$6.$stackTagCompound; if (var$6 !== null) $var5.$stackTagCompound = nms_NBTTagCompound_copy(var$6); } var$8.$itemStack1 = $var5; var$8.$xOffset0 = 0.0; var$8.$yOffset1 = 0.0; var$8.$zOffset0 = 0.0; if (!var$7.$disconnected) var$7.$netManager.$addToSendQueue(var$8); $var4 = $par3ItemStack.$stackSize; nms_Item_$callClinit(); $var5 = nms_Item_itemsList.data[$par3ItemStack.$itemID]; $ptr = 1; case 1: $tmp = $var5.$onItemRightClick($par3ItemStack, $par2World, $par1EntityPlayer); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 === $par3ItemStack && !($var5 !== null && $var5.$stackSize != $var4)) return 0; $par1EntityPlayer = $par1EntityPlayer.$inventory; var$12 = $par1EntityPlayer.$mainInventory.data; $var4 = $par1EntityPlayer.$currentItem; var$12[$var4] = $var5; if (!$var5.$stackSize) var$12[$var4] = null; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2World, $par3ItemStack, $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }; function nms_EntityOtherPlayerMP() { let a = this; nms_EntityPlayer.call(a); a.$isItemInUse = 0; a.$otherPlayerMPPosRotationIncrements = 0; a.$otherPlayerMPX = 0.0; a.$otherPlayerMPY = 0.0; a.$otherPlayerMPZ = 0.0; a.$otherPlayerMPYaw = 0.0; a.$otherPlayerMPPitch = 0.0; a.$skinPacket = null; } let nms_EntityOtherPlayerMP_resetHeight = $this => { $this.$yOffset = 0.0; }, nms_EntityOtherPlayerMP_attackEntityFrom = ($this, $par1DamageSource, $par2) => { return 1; }, nms_EntityOtherPlayerMP_setPositionAndRotation2 = ($this, $par1, $par3, $par5, $par7, $par8, $par9) => { $this.$otherPlayerMPX = $par1; $this.$otherPlayerMPY = $par3; $this.$otherPlayerMPZ = $par5; $this.$otherPlayerMPYaw = $par7; $this.$otherPlayerMPPitch = $par8; $this.$otherPlayerMPPosRotationIncrements = $par9; }, nms_EntityOtherPlayerMP_onUpdate = $this => { let $var1, $var3, $var5, var$4, $var6, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var6 = $thread.pop();var$4 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$field_71082_cx = 0.0; $ptr = 1; case 1: nms_EntityPlayer_onUpdate($this); if ($rt_suspending()) { break main; } $this.$prevLimbSwingAmount = $this.$limbSwingAmount; $var1 = $this.$posX - $this.$prevPosX; $var3 = $this.$posZ - $this.$prevPosZ; $var5 = jl_Math_sqrt($var1 * $var1 + $var3 * $var3) * 4.0; if ($var5 > 1.0) $var5 = 1.0; a: { var$4 = $this.$limbSwingAmount; $var5 = var$4 + ($var5 - var$4) * 0.4000000059604645; $this.$limbSwingAmount = $var5; $this.$limbSwing = $this.$limbSwing + $var5; if (!$this.$isItemInUse) { $var6 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[128]; if (var$6 === null) { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { var$7 = var$6.$value0; var$8 = $var6.$elementData.data; $var6 = var$8[var$7 & (var$8.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$7) { var$9 = $var6.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } $var6 = $var6.$next3; } } $var6 = $var6 === null ? null : $var6.$value1; if (!($var6.$watchedObject.$value2 & 16) ? 0 : 1) { $var6 = $this.$inventory; var$8 = $var6.$mainInventory.data; var$10 = $var6.$currentItem; if (var$8[var$10] !== null) { $var6 = var$8[var$10]; var$9 = var$8[var$10]; nms_Item_$callClinit(); var$10 = nms_Item_itemsList.data[$var6.$itemID].$getMaxItemUseDuration($var6); if (var$9 !== $this.$itemInUse) { $this.$itemInUse = var$9; $this.$itemInUseCount = var$10; if (!$this.$worldObj.$isRemote) nms_Entity_setFlag($this, 4, 1); } $this.$isItemInUse = 1; break a; } } } if ($this.$isItemInUse) { $var6 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[128]; if (var$6 === null) { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { var$7 = var$6.$value0; var$8 = $var6.$elementData.data; $var6 = var$8[var$7 & (var$8.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$7) { var$9 = $var6.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } $var6 = $var6.$next3; } } $var6 = $var6 === null ? null : $var6.$value1; if (!(!($var6.$watchedObject.$value2 & 16) ? 0 : 1)) { $this.$itemInUse = null; $this.$itemInUseCount = 0; if (!$this.$worldObj.$isRemote) nms_Entity_setFlag($this, 4, 0); $this.$isItemInUse = 0; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var3, $var5, var$4, $var6, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityOtherPlayerMP_getShadowSize = $this => { return 0.0; }, nms_EntityOtherPlayerMP_onLivingUpdate = $this => { let var$1, $var1, $var3, var$4, $var5, $var7, var$7, $var2, var$9, $var9, var$11, var$12, var$13, var$14, var$15, var$16; $this.$entityAge = $this.$entityAge + 1 | 0; nms_EntityLivingBase_updateArmSwingProgress($this); var$1 = $this.$otherPlayerMPPosRotationIncrements; if (var$1 > 0) { $var1 = $this.$posX; $var3 = $this.$otherPlayerMPX - $var1; var$4 = var$1; $var1 = $var1 + $var3 / var$4; $var3 = $this.$posY; $var3 = $var3 + ($this.$otherPlayerMPY - $var3) / var$4; $var5 = $this.$posZ; $var5 = $var5 + ($this.$otherPlayerMPZ - $var5) / var$4; $var7 = $this.$otherPlayerMPYaw; var$7 = $this.$rotationYaw; $var7 = $var7 - var$7; while ($var7 < (-180.0)) { $var7 = $var7 + 360.0; } while ($var7 >= 180.0) { $var7 = $var7 - 360.0; } $this.$rotationYaw = var$7 + $var7 / var$4; $var7 = $this.$rotationPitch; $this.$rotationPitch = $var7 + ($this.$otherPlayerMPPitch - $var7) / var$4; $this.$otherPlayerMPPosRotationIncrements = var$1 - 1 | 0; nms_Entity_setPosition($this, $var1, $var3, $var5); $var2 = $this.$rotationYaw; var$9 = $this.$rotationPitch; $this.$rotationYaw = $var2 % 360.0; $this.$rotationPitch = var$9 % 360.0; } $this.$prevCameraYaw = $this.$cameraYaw; $var1 = $this.$motionX; $var1 = $var1 * $var1; $var3 = $this.$motionZ; $var9 = jl_Math_sqrt($var1 + $var3 * $var3); $var2 = jl_Math_atan( -$this.$motionY * 0.20000000298023224) * 15.0; if ($var9 > 0.10000000149011612) $var9 = 0.10000000149011612; a: { if ($this.$onGround) { var$11 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[134]; if (var$12 === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { var$13 = var$12.$value0; var$14 = var$11.$elementData.data; var$11 = var$14[var$13 & (var$14.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$13) { var$15 = var$11.$key; if (var$12 !== var$15 && !(var$12 === var$15 ? 1 : var$15 instanceof jl_Integer && var$15.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } var$11 = var$11.$next3; } } if ((var$11 === null ? null : var$11.$value1).$watchedObject.$value3 > 0.0) break a; } $var9 = 0.0; } b: { if (!$this.$onGround) { var$11 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[134]; if (var$12 === null) { var$15 = var$11.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { var$16 = var$12.$value0; var$14 = var$11.$elementData.data; var$15 = var$14[var$16 & (var$14.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$16) { var$11 = var$15.$key; if (var$12 !== var$11 && !(var$12 === var$11 ? 1 : var$11 instanceof jl_Integer && var$11.$value0 == var$16 ? 1 : 0) ? 0 : 1) break; } var$15 = var$15.$next3; } } if ((var$15 === null ? null : var$15.$value1).$watchedObject.$value3 > 0.0) break b; } $var2 = 0.0; } var$9 = $this.$cameraYaw; $this.$cameraYaw = var$9 + ($var9 - var$9) * 0.4000000059604645; var$9 = $this.$cameraPitch; $this.$cameraPitch = var$9 + ($var2 - var$9) * 0.800000011920929; }, nms_EntityOtherPlayerMP_setCurrentItemOrArmor = ($this, $par1, $par2ItemStack) => { let var$3; if (!$par1) { var$3 = $this.$inventory; var$3.$mainInventory.data[var$3.$currentItem] = $par2ItemStack; } else $this.$inventory.$armorInventory.data[$par1 - 1 | 0] = $par2ItemStack; }, nms_EntityOtherPlayerMP_getEyeHeight = $this => { return 1.8200000524520874; }; function nms_EntityClientPlayerMP() { let a = this; nms_EntityPlayerSP.call(a); a.$sendQueue = null; a.$oldPosX = 0.0; a.$oldMinY = 0.0; a.$oldPosY = 0.0; a.$oldPosZ = 0.0; a.$oldRotationYaw = 0.0; a.$oldRotationPitch = 0.0; a.$wasOnGround = 0; a.$shouldStopSneaking = 0; a.$wasSneaking = 0; a.$field_71168_co = 0; a.$hasSetHealth = 0; a.$field_142022_ce = null; } let nms_EntityClientPlayerMP_attackEntityFrom = ($this, $par1DamageSource, $par2) => { return 0; }, nms_EntityClientPlayerMP_heal = ($this, $par1) => { return; }, nms_EntityClientPlayerMP_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$posX; var$1 = $this.$posZ; $ptr = 1; case 1: nms_EntityPlayer_onUpdate($this); if ($rt_suspending()) { break main; } if (!($this.$ridingEntity === null ? 0 : 1)) nms_EntityClientPlayerMP_sendMotionUpdates($this); else { var$2 = $this.$sendQueue; var$3 = new nms_Packet12PlayerLook; var$4 = $this.$rotationYaw; var$5 = $this.$rotationPitch; var$6 = $this.$onGround; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$yaw0 = var$4; var$3.$pitch0 = var$5; var$3.$onGround0 = var$6; var$3.$rotating = 1; if (!var$2.$disconnected) var$2.$netManager.$addToSendQueue(var$3); var$2 = $this.$sendQueue; var$3 = new nms_Packet27PlayerInput; var$4 = $this.$moveStrafing; var$5 = $this.$moveForward; var$7 = $this.$movementInput; var$6 = var$7.$jump0; var$8 = var$7.$sneak; var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$field_111017_a = var$4; var$3.$field_111015_b = var$5; var$3.$field_111016_c = var$6; var$3.$field_111014_d = var$8; if (!var$2.$disconnected) var$2.$netManager.$addToSendQueue(var$3); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityClientPlayerMP_sendMotionUpdates = $this => { let var$1, var$2, var$3, var$4, var$5, $var2, var$7, $var3, var$9, $var5, var$11, $var7, var$13, $var9, var$15, $var11, $var13, $var14; var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[128]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; $var2 = !(var$1.$watchedObject.$value2 & 8) ? 0 : 1; if ($var2 != $this.$wasSneaking) { if (!$var2) { var$1 = $this.$sendQueue; var$2 = new nms_Packet19EntityAction; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$entityId2 = $this.$entityId; var$2.$action0 = 5; var$2.$auxData = 0; if (!var$1.$disconnected) var$1.$netManager.$addToSendQueue(var$2); } else { var$1 = $this.$sendQueue; var$2 = new nms_Packet19EntityAction; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$entityId2 = $this.$entityId; var$2.$action0 = 4; var$2.$auxData = 0; if (!var$1.$disconnected) var$1.$netManager.$addToSendQueue(var$2); } $this.$wasSneaking = $var2; } $var2 = $this.$movementInput.$sneak && !$this.$sleeping ? 1 : 0; if ($var2 != $this.$shouldStopSneaking) { if (!$var2) { var$1 = $this.$sendQueue; var$2 = new nms_Packet19EntityAction; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$entityId2 = $this.$entityId; var$2.$action0 = 2; var$2.$auxData = 0; if (!var$1.$disconnected) var$1.$netManager.$addToSendQueue(var$2); } else { var$1 = $this.$sendQueue; var$2 = new nms_Packet19EntityAction; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$entityId2 = $this.$entityId; var$2.$action0 = 1; var$2.$auxData = 0; if (!var$1.$disconnected) var$1.$netManager.$addToSendQueue(var$2); } $this.$shouldStopSneaking = $var2; } var$7 = $this.$posX; $var3 = var$7 - $this.$oldPosX; var$9 = $this.$boundingBox.$minY; $var5 = var$9 - $this.$oldMinY; var$11 = $this.$posZ; $var7 = var$11 - $this.$oldPosZ; var$13 = $this.$rotationYaw; $var9 = var$13 - $this.$oldRotationYaw; var$15 = $this.$rotationPitch; $var11 = var$15 - $this.$oldRotationPitch; $var13 = $var3 * $var3 + $var5 * $var5 + $var7 * $var7 <= 9.0E-4 && $this.$field_71168_co < 20 ? 0 : 1; $var14 = $var9 === 0.0 && $var11 === 0.0 ? 0 : 1; if ($this.$ridingEntity !== null) { var$1 = $this.$sendQueue; var$2 = new nms_Packet13PlayerLookMove; var$7 = $this.$motionX; $var5 = $this.$motionZ; var$3 = $this.$onGround; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$xPosition5 = var$7; var$2.$yPosition3 = (-999.0); var$2.$stance = (-999.0); var$2.$zPosition3 = $var5; var$2.$yaw0 = var$13; var$2.$pitch0 = var$15; var$2.$onGround0 = var$3; var$2.$rotating = 1; var$2.$moving = 1; if (!var$1.$disconnected) var$1.$netManager.$addToSendQueue(var$2); $var13 = 0; } else if ($var13 && $var14) { var$1 = $this.$sendQueue; var$2 = new nms_Packet13PlayerLookMove; $var3 = $this.$posY; var$3 = $this.$onGround; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$xPosition5 = var$7; var$2.$yPosition3 = var$9; var$2.$stance = $var3; var$2.$zPosition3 = var$11; var$2.$yaw0 = var$13; var$2.$pitch0 = var$15; var$2.$onGround0 = var$3; var$2.$rotating = 1; var$2.$moving = 1; if (!var$1.$disconnected) var$1.$netManager.$addToSendQueue(var$2); } else if ($var13) { var$1 = $this.$sendQueue; var$2 = new nms_Packet11PlayerPosition; $var3 = $this.$posY; var$3 = $this.$onGround; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$xPosition5 = var$7; var$2.$yPosition3 = var$9; var$2.$stance = $var3; var$2.$zPosition3 = var$11; var$2.$onGround0 = var$3; var$2.$moving = 1; if (!var$1.$disconnected) var$1.$netManager.$addToSendQueue(var$2); } else if (!$var14) { var$1 = $this.$sendQueue; var$2 = new nms_Packet10Flying; var$3 = $this.$onGround; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$onGround0 = var$3; if (!var$1.$disconnected) var$1.$netManager.$addToSendQueue(var$2); } else { var$1 = $this.$sendQueue; var$2 = new nms_Packet12PlayerLook; var$3 = $this.$onGround; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$yaw0 = var$13; var$2.$pitch0 = var$15; var$2.$onGround0 = var$3; var$2.$rotating = 1; if (!var$1.$disconnected) var$1.$netManager.$addToSendQueue(var$2); } $this.$field_71168_co = $this.$field_71168_co + 1 | 0; $this.$wasOnGround = $this.$onGround; if ($var13) { $this.$oldPosX = $this.$posX; $this.$oldMinY = $this.$boundingBox.$minY; $this.$oldPosY = $this.$posY; $this.$oldPosZ = $this.$posZ; $this.$field_71168_co = 0; } if ($var14) { $this.$oldRotationYaw = $this.$rotationYaw; $this.$oldRotationPitch = $this.$rotationPitch; } }, nms_EntityClientPlayerMP_joinEntityItemWithWorld = ($this, $par1EntityItem) => { return; }, nms_EntityClientPlayerMP_swingItem = $this => { let var$1, var$2; nms_EntityLivingBase_swingItem($this); var$1 = $this.$sendQueue; var$2 = new nms_Packet18Animation; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$entityId1 = $this.$entityId; var$2.$animate = 1; if (!var$1.$disconnected) var$1.$netManager.$addToSendQueue(var$2); }, nms_EntityClientPlayerMP_damageEntity = ($this, $par1DamageSource, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; if (!$this.$invulnerable) { $par1DamageSource = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { $par1DamageSource = $par1DamageSource.$elementData.data[0]; while ($par1DamageSource !== null && $par1DamageSource.$key !== null) { $par1DamageSource = $par1DamageSource.$next3; } } else { var$4 = var$3.$value0; var$5 = $par1DamageSource.$elementData.data; $par1DamageSource = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1DamageSource !== null) { if ($par1DamageSource.$origKeyHash == var$4) { var$6 = $par1DamageSource.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $par1DamageSource = $par1DamageSource.$next3; } } $par1DamageSource = $par1DamageSource === null ? null : $par1DamageSource.$value1; $par2 = $par1DamageSource.$watchedObject.$value3 - $par2; $par1DamageSource = $this.$dataWatcher; var$7 = 0.0; var$6 = nms_SharedMonsterAttributes_maxHealth; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$3 = $this.$attributeMap.$attributes; if (var$6 === null) var$6 = ju_HashMap_findNullKeyEntry(var$3); else { var$8 = nms_BaseAttribute_hashCode(var$6); var$6 = ju_HashMap_findNonNullKeyEntry(var$3, var$6, var$8 & (var$3.$elementData.data.length - 1 | 0), var$8); } var$6 = var$6 === null ? null : var$6.$value1; if (var$6.$field_111133_g) { var$6.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$6); var$6.$field_111133_g = 0; } var$9 = var$6.$field_111139_h; if ($par2 >= var$7) var$7 = $par2 <= var$9 ? $par2 : var$9; var$3 = new jl_Float; var$3.$value3 = var$7; var$6 = $par1DamageSource.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[134]; if (var$10 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$4 = var$10.$value0; var$5 = var$6.$elementData.data; var$6 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$4) { var$11 = var$6.$key; if (var$10 !== var$11 && !(var$10 === var$11 ? 1 : var$11 instanceof jl_Integer && var$11.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$6 = var$6 === null ? null : var$6.$value1; var$11 = var$6.$watchedObject; if (var$3 === var$11) var$12 = 1; else a: { if (var$11 instanceof jl_Float) { $par2 = var$3.$value3; var$7 = var$11.$value3; if ($par2 !== $par2 ? (var$7 === var$7 ? 0 : 1) : $rt_floatToRawIntBits($par2) != $rt_floatToRawIntBits(var$7) ? 0 : 1) { var$12 = 1; break a; } } var$12 = 0; } if (!var$12) { var$6.$watchedObject = var$3; var$6.$watched = 1; $par1DamageSource.$objectChanged = 1; } } }, nms_EntityClientPlayerMP_closeScreen = $this => { let var$1, var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$sendQueue; var$2 = new nms_Packet101CloseWindow; var$3 = $this.$openContainer.$windowId; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$windowId1 = var$3; if (!var$1.$disconnected) var$1.$netManager.$addToSendQueue(var$2); $this.$inventory.$itemStack = null; $this.$openContainer = $this.$inventoryContainer; var$1 = $this.$mc4; var$2 = null; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); }, nms_EntityClientPlayerMP_addStat = ($this, $par1StatBase, $par2) => { let var$3, var$4; if ($par1StatBase !== null && $par1StatBase.$isIndependent && $par1StatBase.$isAchievement()) { $par1StatBase = $par1StatBase; if (nle_LocalStorageManager_hasMadeAchievement($par1StatBase)) { var$3 = $this.$mc4.$guiAchievement; nms_StatCollector_$callClinit(); var$3.$achievementGetLocalText = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2498)); var$4 = $par1StatBase.$statName; var$3.$achievementStatName = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$4); nlea_EaglerAdapterImpl2_$callClinit(); var$3.$achievementTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$theAchievement = $par1StatBase; var$3.$haveAchiement = 0; } } }; function nms_MovingObjectPosition() { let a = this; jl_Object.call(a); a.$typeOfHit = null; a.$blockX = 0; a.$blockY = 0; a.$blockZ = 0; a.$sideHit = 0; a.$hitVec = null; a.$entityHit = null; } let nms_EnumMovingObjectType = $rt_classWithoutFields(jl_Enum), nms_EnumMovingObjectType_TILE = null, nms_EnumMovingObjectType_ENTITY = null, nms_EnumMovingObjectType_$VALUES = null, nms_EnumMovingObjectType__clinit_ = () => { let var$1, var$2; var$1 = new nms_EnumMovingObjectType; var$1.$name0 = $rt_s(2499); var$1.$ordinal = 0; nms_EnumMovingObjectType_TILE = var$1; var$2 = new nms_EnumMovingObjectType; var$2.$name0 = $rt_s(2500); var$2.$ordinal = 1; nms_EnumMovingObjectType_ENTITY = var$2; nms_EnumMovingObjectType_$VALUES = $rt_wrapArray(nms_EnumMovingObjectType, [var$1, var$2]); }; function nms_ItemStack() { let a = this; jl_Object.call(a); a.$stackSize = 0; a.$animationsToGo = 0; a.$itemID = 0; a.$stackTagCompound = null; a.$itemDamage = 0; a.$itemFrame = null; } let nms_ItemStack_field_111284_a = null, nms_ItemStack_$callClinit = () => { nms_ItemStack_$callClinit = $rt_eraseClinit(nms_ItemStack); nms_ItemStack__clinit_(); }, nms_ItemStack__init_11 = ($this, $par1Block) => { nms_ItemStack_$callClinit(); $this.$itemID = $par1Block.$blockID; $this.$stackSize = 1; $this.$itemDamage = 0; }, nms_ItemStack__init_7 = var_0 => { let var_1 = new nms_ItemStack(); nms_ItemStack__init_11(var_1, var_0); return var_1; }, nms_ItemStack__init_13 = ($this, $par1Block, $par2) => { nms_ItemStack_$callClinit(); $this.$itemID = $par1Block.$blockID; $this.$stackSize = $par2; $this.$itemDamage = 0; }, nms_ItemStack__init_ = (var_0, var_1) => { let var_2 = new nms_ItemStack(); nms_ItemStack__init_13(var_2, var_0, var_1); return var_2; }, nms_ItemStack__init_9 = ($this, $par1Block, $par2, $par3) => { nms_ItemStack_$callClinit(); $this.$itemID = $par1Block.$blockID; $this.$stackSize = $par2; $this.$itemDamage = $par3; if ($par3 < 0) $this.$itemDamage = 0; }, nms_ItemStack__init_1 = (var_0, var_1, var_2) => { let var_3 = new nms_ItemStack(); nms_ItemStack__init_9(var_3, var_0, var_1, var_2); return var_3; }, nms_ItemStack__init_3 = ($this, $par1Item) => { nms_ItemStack_$callClinit(); $this.$itemID = $par1Item.$itemID0; $this.$stackSize = 1; $this.$itemDamage = 0; }, nms_ItemStack__init_8 = var_0 => { let var_1 = new nms_ItemStack(); nms_ItemStack__init_3(var_1, var_0); return var_1; }, nms_ItemStack__init_10 = ($this, $par1Item, $par2) => { nms_ItemStack_$callClinit(); $this.$itemID = $par1Item.$itemID0; $this.$stackSize = $par2; $this.$itemDamage = 0; }, nms_ItemStack__init_0 = (var_0, var_1) => { let var_2 = new nms_ItemStack(); nms_ItemStack__init_10(var_2, var_0, var_1); return var_2; }, nms_ItemStack__init_12 = ($this, $par1Item, $par2, $par3) => { nms_ItemStack_$callClinit(); $this.$itemID = $par1Item.$itemID0; $this.$stackSize = $par2; $this.$itemDamage = $par3; if ($par3 < 0) $this.$itemDamage = 0; }, nms_ItemStack__init_2 = (var_0, var_1, var_2) => { let var_3 = new nms_ItemStack(); nms_ItemStack__init_12(var_3, var_0, var_1, var_2); return var_3; }, nms_ItemStack__init_5 = ($this, $par1, $par2, $par3) => { nms_ItemStack_$callClinit(); $this.$itemID = $par1; $this.$stackSize = $par2; $this.$itemDamage = $par3; if ($par3 < 0) $this.$itemDamage = 0; }, nms_ItemStack__init_4 = (var_0, var_1, var_2) => { let var_3 = new nms_ItemStack(); nms_ItemStack__init_5(var_3, var_0, var_1, var_2); return var_3; }, nms_ItemStack_loadItemStackFromNBT = $par0NBTTagCompound => { let $var1; nms_ItemStack_$callClinit(); $var1 = new nms_ItemStack; nms_ItemStack_readFromNBT($var1, $par0NBTTagCompound); nms_Item_$callClinit(); if (nms_Item_itemsList.data[$var1.$itemID] === null) $var1 = null; return $var1; }, nms_ItemStack__init_6 = $this => { nms_ItemStack_$callClinit(); }, nms_ItemStack__init_14 = () => { let var_0 = new nms_ItemStack(); nms_ItemStack__init_6(var_0); return var_0; }, nms_ItemStack_getItem = $this => { nms_Item_$callClinit(); return nms_Item_itemsList.data[$this.$itemID]; }, nms_ItemStack_readFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1243).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1243).$nativeString.length) break a; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1243).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { b: { var$5 = var$2.$key; if ($rt_s(1243) !== var$5) { if ($rt_s(1243) === var$5) var$6 = 1; else if (var$5 instanceof jl_String) { var$5 = var$5; var$6 = $rt_s(1243).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$6 = 0; if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1243) !== null) { c: { if (!$rt_s(1243).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1243).$nativeString.length) break c; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$3 = $rt_s(1243).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { d: { var$5 = var$2.$key; if ($rt_s(1243) !== var$5) { if ($rt_s(1243) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; var$6 = $rt_s(1243).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$6 = 0; } else var$6 = 1; if (!var$6) { var$6 = 0; break d; } } var$6 = 1; } if (var$6) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data2; } e: { $this.$itemID = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1271).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1271).$nativeString.length) break e; $rt_s(1271).$hashCode1 = (31 * $rt_s(1271).$hashCode1 | 0) + $rt_s(1271).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(1271).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { f: { var$5 = var$2.$key; if ($rt_s(1271) !== var$5) { if ($rt_s(1271) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(1271).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1271) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { g: { if (!$rt_s(1271).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1271).$nativeString.length) break g; $rt_s(1271).$hashCode1 = (31 * $rt_s(1271).$hashCode1 | 0) + $rt_s(1271).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(1271).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { h: { var$5 = var$2.$key; if ($rt_s(1271) !== var$5) { if ($rt_s(1271) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(1271).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } i: { $this.$stackSize = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1272).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1272).$nativeString.length) break i; $rt_s(1272).$hashCode1 = (31 * $rt_s(1272).$hashCode1 | 0) + $rt_s(1272).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(1272).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { j: { var$5 = var$2.$key; if ($rt_s(1272) !== var$5) { if ($rt_s(1272) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(1272).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1272) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { k: { if (!$rt_s(1272).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1272).$nativeString.length) break k; $rt_s(1272).$hashCode1 = (31 * $rt_s(1272).$hashCode1 | 0) + $rt_s(1272).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(1272).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { l: { var$5 = var$2.$key; if ($rt_s(1272) !== var$5) { if ($rt_s(1272) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(1272).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data2; } $this.$itemDamage = var$3; if (var$3 < 0) $this.$itemDamage = 0; m: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1273).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1273).$nativeString.length) break m; $rt_s(1273).$hashCode1 = (31 * $rt_s(1273).$hashCode1 | 0) + $rt_s(1273).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(1273).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { n: { var$5 = var$2.$key; if ($rt_s(1273) !== var$5) { if ($rt_s(1273) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(1273).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break n; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { o: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1273).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1273).$nativeString.length) break o; $rt_s(1273).$hashCode1 = (31 * $rt_s(1273).$hashCode1 | 0) + $rt_s(1273).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(1273).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { p: { var$5 = var$2.$key; if ($rt_s(1273) !== var$5) { if ($rt_s(1273) === var$5) var$3 = 1; else if (!(var$5 instanceof jl_String)) var$3 = 0; else { var$5 = var$5; var$3 = $rt_s(1273).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break p; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) { $par1NBTTagCompound = new nms_NBTTagCompound; if ($rt_s(1273) !== null) $par1NBTTagCompound.$name = $rt_s(1273); else $par1NBTTagCompound.$name = $rt_s(18); var$8 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$8.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$4 = var$9.data; var$8.$elementData = var$9; var$8.$loadFactor = 0.75; var$8.$threshold = var$4.length * 0.75 | 0; $par1NBTTagCompound.$tagMap = var$8; } else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1273) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { q: { if (!$rt_s(1273).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1273).$nativeString.length) break q; $rt_s(1273).$hashCode1 = (31 * $rt_s(1273).$hashCode1 | 0) + $rt_s(1273).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(1273).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$7 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$7) { r: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(1273) !== var$2) { if ($rt_s(1273) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(1273).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break r; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $par1NBTTagCompound = $par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1; } $this.$stackTagCompound = $par1NBTTagCompound; } }, nms_ItemStack_getItemDamageForDisplay = $this => { return $this.$itemDamage; }, nms_ItemStack_getItemDamage = $this => { return $this.$itemDamage; }, nms_ItemStack_setItemDamage = ($this, $par1) => { $this.$itemDamage = $par1; if ($par1 < 0) $this.$itemDamage = 0; }, nms_ItemStack_getMaxDamage = $this => { nms_Item_$callClinit(); return nms_Item_itemsList.data[$this.$itemID].$maxDamage; }, nms_ItemStack_attemptDamageItem = ($this, $par1, $par2Random) => { let $var3, $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; nms_Item_$callClinit(); if (!(nms_Item_itemsList.data[$this.$itemID].$maxDamage <= 0 ? 0 : 1)) return 0; if ($par1 > 0) { nms_Enchantment_$callClinit(); $var3 = nms_EnchantmentHelper_getEnchantmentLevel(nms_Enchantment_unbreaking.$effectId, $this); $var4 = 0; $var5 = 0; var$6 = $var3 + 1 | 0; var$7 = var$6 - 1 | 0; var$8 = var$6 & var$7; var$9 = Long_fromInt(var$6); while ($var3 > 0 && $var5 < $par1) { a: { if (nms_Item_itemsList.data[$this.$itemID] instanceof nms_ItemArmor) { var$10 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$10; if (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 < 0.6000000238418579) { var$11 = 0; break a; } } var$10 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); if (!var$8) var$12 = Long_lo(Long_shr(Long_mul(var$9, Long_fromInt(var$11)), 31)); else while (true) { var$12 = var$11 % var$6 | 0; if (((var$11 - var$12 | 0) + var$7 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); } var$11 = var$12 <= 0 ? 0 : 1; } if (var$11) $var4 = $var4 + 1 | 0; $var5 = $var5 + 1 | 0; } $par1 = $par1 - $var4 | 0; if ($par1 <= 0) return 0; } $par1 = $this.$itemDamage + $par1 | 0; $this.$itemDamage = $par1; return $par1 <= nms_Item_itemsList.data[$this.$itemID].$maxDamage ? 0 : 1; }, nms_ItemStack_damageItem = ($this, $par1, $par2EntityLivingBase) => { let var$3, $var3, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$par2EntityLivingBase = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $par2EntityLivingBase instanceof nms_EntityPlayer; if (!(var$3 && $par2EntityLivingBase.$capabilities.$isCreativeMode)) { nms_Item_$callClinit(); if ((nms_Item_itemsList.data[$this.$itemID].$maxDamage <= 0 ? 0 : 1) && nms_ItemStack_attemptDamageItem($this, $par1, $par2EntityLivingBase.$rand)) { $ptr = 1; continue main; } } return; case 1: nms_EntityLivingBase_renderBrokenItemStack($par2EntityLivingBase, $this); if ($rt_suspending()) { break main; } $this.$stackSize = $this.$stackSize - 1 | 0; if (var$3) { $var3 = $par2EntityLivingBase; nms_StatList_$callClinit(); $var3.$addStat(nms_StatList_objectBreakStats.data[$this.$itemID], 1); if (!$this.$stackSize && nms_Item_itemsList.data[$this.$itemID] instanceof nms_ItemBow) { $var3 = $var3.$inventory; var$5 = $var3.$currentItem; $par2EntityLivingBase = null; var$6 = $var3.$mainInventory; $par1 = var$6.data.length; if (var$5 >= $par1) { var$5 = var$5 - $par1 | 0; var$6 = $var3.$armorInventory; } var$6.data[var$5] = $par2EntityLivingBase; } } if ($this.$stackSize < 0) $this.$stackSize = 0; $this.$itemDamage = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2EntityLivingBase, var$3, $var3, var$5, var$6, $ptr); }, nms_ItemStack_func_111282_a = ($this, $par1EntityPlayer, $par2EntityLivingBase) => { nms_Item_$callClinit(); return nms_Item_itemsList.data[$this.$itemID].$itemInteractionForEntity($this, $par1EntityPlayer, $par2EntityLivingBase); }, nms_ItemStack_areItemStackTagsEqual = ($par0ItemStack, $par1ItemStack) => { let var$3, var$4; nms_ItemStack_$callClinit(); a: { if ($par0ItemStack === null && $par1ItemStack === null) var$3 = 1; else if ($par0ItemStack !== null && $par1ItemStack !== null) { $par0ItemStack = $par0ItemStack.$stackTagCompound; if ($par0ItemStack === null && $par1ItemStack.$stackTagCompound !== null) var$3 = 0; else { if ($par0ItemStack !== null) { $par1ItemStack = $par1ItemStack.$stackTagCompound; if (!nms_NBTBase_equals($par0ItemStack, $par1ItemStack)) var$3 = 0; else { $par1ItemStack = $par1ItemStack; $par0ItemStack = $par0ItemStack.$tagMap; var$4 = new ju_HashMap$HashMapEntrySet; var$4.$associatedMap0 = $par0ItemStack; $par0ItemStack = $par1ItemStack.$tagMap; $par1ItemStack = new ju_HashMap$HashMapEntrySet; $par1ItemStack.$associatedMap0 = $par0ItemStack; var$3 = ju_AbstractSet_equals(var$4, $par1ItemStack); } if (!var$3) { var$3 = 0; break a; } } var$3 = 1; } } else var$3 = 0; } return var$3; }, nms_ItemStack_isItemStackEqual = ($this, $par1ItemStack) => { let var$2, var$3, var$4; a: { if ($this.$stackSize != $par1ItemStack.$stackSize) var$2 = 0; else if ($this.$itemID != $par1ItemStack.$itemID) var$2 = 0; else if ($this.$itemDamage != $par1ItemStack.$itemDamage) var$2 = 0; else { var$3 = $this.$stackTagCompound; if (var$3 === null && $par1ItemStack.$stackTagCompound !== null) var$2 = 0; else { if (var$3 !== null) { $par1ItemStack = $par1ItemStack.$stackTagCompound; if (!nms_NBTBase_equals(var$3, $par1ItemStack)) var$2 = 0; else { $par1ItemStack = $par1ItemStack; var$3 = var$3.$tagMap; var$4 = new ju_HashMap$HashMapEntrySet; var$4.$associatedMap0 = var$3; $par1ItemStack = $par1ItemStack.$tagMap; var$3 = new ju_HashMap$HashMapEntrySet; var$3.$associatedMap0 = $par1ItemStack; var$2 = ju_AbstractSet_equals(var$4, var$3); } if (!var$2) { var$2 = 0; break a; } } var$2 = 1; } } } return var$2; }, nms_ItemStack_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$stackSize; nms_Item_$callClinit(); var$2 = nms_Item_itemsList.data[$this.$itemID].$getUnlocalizedName0(); var$3 = $this.$itemDamage; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$1, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 120; var$1 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$1, var$2); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 64; jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$3 = var$4.$length0; var$5 = var$7.length; if (var$3 >= 0 && var$3 <= (var$5 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$3); return var$2; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nms_ItemStack_getMaxItemUseDuration = $this => { nms_Item_$callClinit(); return nms_Item_itemsList.data[$this.$itemID].$getMaxItemUseDuration($this); }, nms_ItemStack_getItemUseAction = $this => { nms_Item_$callClinit(); return nms_Item_itemsList.data[$this.$itemID].$getItemUseAction($this); }, nms_ItemStack_setItemName = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; if ($this.$stackTagCompound === null) { var$2 = new nms_NBTTagCompound; var$2.$name = $rt_s(1273); var$3 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; var$3.$elementData = var$5; var$3.$loadFactor = 0.75; var$3.$threshold = var$6.length * 0.75 | 0; var$2.$tagMap = var$3; $this.$stackTagCompound = var$2; } a: { var$3 = $this.$stackTagCompound.$tagMap; if (!$rt_s(1525).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$4 = $rt_s(1525).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$4 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$4) { b: { var$7 = var$3.$key; if ($rt_s(1525) !== var$7) { if ($rt_s(1525) === var$7) var$8 = 1; else if (!(var$7 instanceof jl_String)) var$8 = 0; else { var$7 = var$7; var$8 = $rt_s(1525).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$3 = var$3.$next3; } if (!(var$3 === null ? 0 : 1)) { var$2 = $this.$stackTagCompound; var$7 = new nms_NBTTagCompound; var$7.$name = $rt_s(18); var$9 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$9.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; var$9.$elementData = var$5; var$9.$loadFactor = 0.75; var$9.$threshold = var$6.length * 0.75 | 0; var$7.$tagMap = var$9; var$2 = var$2.$tagMap; var$7.$name = $rt_s(1525); ju_HashMap_putImpl(var$2, $rt_s(1525), var$7); } c: { var$2 = $this.$stackTagCompound; var$7 = var$2.$tagMap; if (!$rt_s(1525).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$6 = var$7.$elementData.data; var$7 = var$6[var$10 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$10) { d: { var$9 = var$7.$key; if ($rt_s(1525) !== var$9) { if ($rt_s(1525) === var$9) var$4 = 1; else if (!(var$9 instanceof jl_String)) var$4 = 0; else { var$9 = var$9; var$4 = $rt_s(1525).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$7 = var$7.$next3; } if (!(var$7 === null ? 0 : 1)) { var$2 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$2.$name = $rt_s(1525); else var$2.$name = $rt_s(18); var$3 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; var$3.$elementData = var$5; var$3.$loadFactor = 0.75; var$3.$threshold = var$6.length * 0.75 | 0; var$2.$tagMap = var$3; } else { var$2 = var$2.$tagMap; if ($rt_s(1525) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$10 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { f: { var$7 = var$2.$key; if ($rt_s(1525) !== var$7) { if ($rt_s(1525) === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(1525).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break f; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; } var$7 = var$2.$tagMap; var$2 = new nms_NBTTagString; var$2.$name = $rt_s(1526); var$2.$data1 = $par1Str; if ($par1Str !== null) { ju_HashMap_putImpl(var$7, $rt_s(1526), var$2); return; } var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(186); $rt_throw(var$2); }, nms_ItemStack_func_135074_t = $this => { let var$1, var$2, var$3, $var1, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$stackTagCompound; if (var$1 !== null) { a: { var$1 = var$1.$tagMap; if (!$rt_s(1525).$hashCode1) { var$2 = 0; while (true) { if (var$2 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$2 = $rt_s(1525).$hashCode1; var$3 = var$1.$elementData.data; var$1 = var$3[var$2 & (var$3.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$2) { b: { $var1 = var$1.$key; if ($rt_s(1525) !== $var1) { if ($rt_s(1525) === $var1) var$5 = 1; else if (!($var1 instanceof jl_String)) var$5 = 0; else { $var1 = $var1; var$5 = $rt_s(1525).$nativeString !== $var1.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break b; } } var$5 = 1; } if (var$5) break; } var$1 = var$1.$next3; } if (var$1 === null ? 0 : 1) { c: { var$6 = $this.$stackTagCompound; $var1 = var$6.$tagMap; if (!$rt_s(1525).$hashCode1) { var$2 = 0; while (true) { if (var$2 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$2 = $rt_s(1525).$hashCode1; var$3 = $var1.$elementData.data; $var1 = var$3[var$2 & (var$3.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$2) { d: { var$7 = $var1.$key; if ($rt_s(1525) !== var$7) { if ($rt_s(1525) === var$7) var$5 = 1; else if (!(var$7 instanceof jl_String)) var$5 = 0; else { var$7 = var$7; var$5 = $rt_s(1525).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break d; } } var$5 = 1; } if (var$5) break; } $var1 = $var1.$next3; } if (!($var1 === null ? 0 : 1)) { $var1 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $var1.$name = $rt_s(1525); else $var1.$name = $rt_s(18); var$6 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$3 = var$8.data; var$6.$elementData = var$8; var$6.$loadFactor = 0.75; var$6.$threshold = var$3.length * 0.75 | 0; $var1.$tagMap = var$6; } else { var$6 = var$6.$tagMap; if ($rt_s(1525) === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { var$2 = 0; while (true) { if (var$2 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$3 = var$6.$elementData.data; var$6 = var$3[var$9 & (var$3.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$9) { f: { $var1 = var$6.$key; if ($rt_s(1525) !== $var1) { if ($rt_s(1525) === $var1) var$2 = 1; else if (!($var1 instanceof jl_String)) var$2 = 0; else { $var1 = $var1; var$2 = $rt_s(1525).$nativeString !== $var1.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break f; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } } $var1 = var$6 === null ? null : var$6.$value1; } ju_HashMap_removeByKey($var1.$tagMap, $rt_s(1526)); if ($var1.$tagMap.$elementCount ? 0 : 1) { ju_HashMap_removeByKey($this.$stackTagCompound.$tagMap, $rt_s(1525)); if ($this.$stackTagCompound.$tagMap.$elementCount ? 0 : 1) $this.$stackTagCompound = null; } } } }, nms_ItemStack_getTooltip = ($this, $par1EntityPlayer, $par2) => { let $var3, var$4, $var9, $var4, $var5, var$8, var$9, $var6, $var12, var$12, $var11, var$14, $var10, var$16, $var7, $var8, $var13, $$je; $var3 = new ju_ArrayList; $var3.$array = $rt_createArray(jl_Object, 10); nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data; $var9 = $this.$itemID; $var4 = var$4[$var9]; $var5 = var$4[$var9].$getItemDisplayName($this); var$8 = $this.$stackTagCompound; if (var$8 !== null) { var$8 = var$8.$tagMap; var$9 = jl_String_hashCode($rt_s(1525)); var$4 = var$8.$elementData.data; var$8 = var$4[var$9 & (var$4.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$9) { $var6 = var$8.$key; if ($rt_s(1525) !== $var6 && !jl_String_equals($rt_s(1525), $var6) ? 0 : 1) break; } var$8 = var$8.$next3; } if (var$8 === null ? 0 : 1) { $var12 = $this.$stackTagCompound; var$8 = $var12.$tagMap; var$9 = jl_String_hashCode($rt_s(1525)); var$4 = var$8.$elementData.data; var$8 = var$4[var$9 & (var$4.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$9) { $var6 = var$8.$key; if ($rt_s(1525) !== $var6 && !jl_String_equals($rt_s(1525), $var6) ? 0 : 1) break; } var$8 = var$8.$next3; } if (!(var$8 === null ? 0 : 1)) { var$8 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$8.$name = $rt_s(1525); else var$8.$name = $rt_s(18); $var6 = new ju_HashMap; $var9 = ju_HashMap_calculateCapacity(16); $var6.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $var9); var$4 = var$12.data; $var6.$elementData = var$12; $var6.$loadFactor = 0.75; $var6.$threshold = var$4.length * 0.75 | 0; var$8.$tagMap = $var6; } else { var$8 = $var12.$tagMap; if ($rt_s(1525) !== null) { var$9 = jl_String_hashCode($rt_s(1525)); var$4 = var$8.$elementData.data; var$8 = var$4[var$9 & (var$4.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$9) { $var6 = var$8.$key; if ($rt_s(1525) !== $var6 && !jl_String_equals($rt_s(1525), $var6) ? 0 : 1) break; } var$8 = var$8.$next3; } } else { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; } $var12 = var$8.$tagMap; var$9 = jl_String_hashCode($rt_s(1526)); var$4 = $var12.$elementData.data; $var12 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var12 !== null) { if ($var12.$origKeyHash == var$9) { $var11 = $var12.$key; if ($rt_s(1526) !== $var11 && !jl_String_equals($rt_s(1526), $var11) ? 0 : 1) break; } $var12 = $var12.$next3; } if ($var12 === null ? 0 : 1) { $var12 = var$8.$tagMap; var$9 = jl_String_hashCode($rt_s(1526)); var$4 = $var12.$elementData.data; $var12 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var12 !== null) { if ($var12.$origKeyHash == var$9) { $var11 = $var12.$key; if ($rt_s(1526) !== $var11 && !jl_String_equals($rt_s(1526), $var11) ? 0 : 1) break; } $var12 = $var12.$next3; } if (!($var12 === null ? 0 : 1)) $var5 = $rt_s(18); else { var$8 = var$8.$tagMap; if ($rt_s(1526) !== null) { var$9 = jl_String_hashCode($rt_s(1526)); var$4 = var$8.$elementData.data; var$8 = var$4[var$9 & (var$4.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$9) { $var12 = var$8.$key; if ($rt_s(1526) !== $var12 && !jl_String_equals($rt_s(1526), $var12) ? 0 : 1) break; } var$8 = var$8.$next3; } } else { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } $var5 = (var$8 === null ? null : var$8.$value1).$data1; } } } } $var6 = $this.$stackTagCompound; if ($var6 === null) $var9 = 0; else { $var6 = $var6.$tagMap; var$9 = jl_String_hashCode($rt_s(1525)); var$4 = $var6.$elementData.data; $var6 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { $var12 = $var6.$key; if ($rt_s(1525) !== $var12 && !jl_String_equals($rt_s(1525), $var12) ? 0 : 1) break; } $var6 = $var6.$next3; } if (!($var6 === null ? 0 : 1)) $var9 = 0; else { a: { var$8 = $this.$stackTagCompound; $var6 = var$8.$tagMap; if (!$rt_s(1525).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } $var9 = $rt_s(1525).$hashCode1; var$4 = $var6.$elementData.data; $var6 = var$4[$var9 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == $var9) { $var11 = $var6.$key; if ($rt_s(1525) !== $var11 && !jl_String_equals($rt_s(1525), $var11) ? 0 : 1) break; } $var6 = $var6.$next3; } if ($var6 === null ? 0 : 1) { var$8 = var$8.$tagMap; if ($rt_s(1525) === null) { $var11 = var$8.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { b: { if (!$rt_s(1525).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1525).$nativeString.length) break b; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$4 = var$8.$elementData.data; $var11 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$9) { c: { var$8 = $var11.$key; if ($rt_s(1525) !== var$8) { if ($rt_s(1525) === var$8) $var9 = 1; else if (var$8 instanceof jl_String) { var$8 = var$8; $var9 = $rt_s(1525).$nativeString !== var$8.$nativeString ? 0 : 1; } else $var9 = 0; if (!$var9) { $var9 = 0; break c; } } $var9 = 1; } if ($var9) break; } $var11 = $var11.$next3; } } var$8 = $var11 === null ? null : $var11.$value1; } else { var$8 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$8.$name = $rt_s(1525); else var$8.$name = $rt_s(18); $var6 = new ju_HashMap; $var9 = ju_HashMap_calculateCapacity(16); $var6.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, $var9); var$12 = var$4.data; $var6.$elementData = var$4; $var6.$loadFactor = 0.75; $var6.$threshold = var$12.length * 0.75 | 0; var$8.$tagMap = $var6; } d: { var$8 = var$8.$tagMap; if (!$rt_s(1526).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1526).$nativeString.length) break d; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(1526).$hashCode1; var$4 = var$8.$elementData.data; $var11 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$9) { e: { var$8 = $var11.$key; if ($rt_s(1526) !== var$8) { if ($rt_s(1526) === var$8) $var9 = 1; else if (!(var$8 instanceof jl_String)) $var9 = 0; else { var$8 = var$8; $var9 = $rt_s(1526).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break e; } } $var9 = 1; } if ($var9) break; } $var11 = $var11.$next3; } $var9 = $var11 === null ? 0 : 1; } } if ($var9) { nms_EnumChatFormatting_$callClinit(); var$8 = nms_EnumChatFormatting_ITALIC; $var12 = var$8 === null ? $rt_s(1) : var$8.$field_96304_B; var$8 = nms_EnumChatFormatting_RESET; $var6 = var$8 === null ? $rt_s(1) : var$8.$field_96304_B; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); $var9 = var$8.$length0; if ($var12 === null) $var12 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $var9, $var12); $var9 = var$8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $var9, $var5); $var9 = var$8.$length0; if ($var6 === null) $var6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $var9, $var6); $var5 = new jl_String; var$4 = var$8.$buffer; var$12 = var$4.data; var$9 = var$8.$length0; var$14 = var$12.length; if (var$9 >= 0 && var$9 <= (var$14 - 0 | 0)) $var5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); else { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); } } f: { g: { h: { i: { if (!$par2) { var$8 = $this.$stackTagCompound; if (var$8 !== null) { j: { var$8 = var$8.$tagMap; if (!$rt_s(1525).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1525).$nativeString.length) break j; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$4 = var$8.$elementData.data; $var11 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$9) { k: { var$8 = $var11.$key; if ($rt_s(1525) !== var$8) { if ($rt_s(1525) === var$8) $var9 = 1; else if (var$8 instanceof jl_String) { var$8 = var$8; $var9 = $rt_s(1525).$nativeString !== var$8.$nativeString ? 0 : 1; } else $var9 = 0; if (!$var9) { $var9 = 0; break k; } } $var9 = 1; } if ($var9) break; } $var11 = $var11.$next3; } if ($var11 === null ? 0 : 1) { l: { $var12 = $this.$stackTagCompound; var$8 = $var12.$tagMap; if (!$rt_s(1525).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1525).$nativeString.length) break l; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$4 = var$8.$elementData.data; $var10 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var10 !== null) { if ($var10.$origKeyHash == var$9) { m: { var$8 = $var10.$key; if ($rt_s(1525) !== var$8) { if ($rt_s(1525) === var$8) $var9 = 1; else if (!(var$8 instanceof jl_String)) $var9 = 0; else { var$8 = var$8; $var9 = $rt_s(1525).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break m; } } $var9 = 1; } if ($var9) break; } $var10 = $var10.$next3; } if ($var10 === null ? 0 : 1) { var$8 = $var12.$tagMap; if ($rt_s(1525) !== null) { n: { if (!$rt_s(1525).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1525).$nativeString.length) break n; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$4 = var$8.$elementData.data; $var12 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var12 !== null) { if ($var12.$origKeyHash == var$9) { o: { var$8 = $var12.$key; if ($rt_s(1525) !== var$8) { if ($rt_s(1525) !== var$8) { if (var$8 instanceof jl_String) { var$8 = var$8; $var9 = $rt_s(1525).$nativeString !== var$8.$nativeString ? 0 : 1; } else $var9 = 0; } else $var9 = 1; if (!$var9) { $var9 = 0; break o; } } $var9 = 1; } if ($var9) break; } $var12 = $var12.$next3; } } else { $var12 = var$8.$elementData.data[0]; while ($var12 !== null && $var12.$key !== null) { $var12 = $var12.$next3; } } var$8 = $var12 === null ? null : $var12.$value1; } else { var$8 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$8.$name = $rt_s(1525); else var$8.$name = $rt_s(18); $var6 = new ju_HashMap; $var9 = ju_HashMap_calculateCapacity(16); $var6.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, $var9); var$12 = var$4.data; $var6.$elementData = var$4; $var6.$loadFactor = 0.75; $var6.$threshold = var$12.length * 0.75 | 0; var$8.$tagMap = $var6; } p: { var$8 = var$8.$tagMap; if (!$rt_s(1526).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1526).$nativeString.length) break p; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(1526).$hashCode1; var$4 = var$8.$elementData.data; $var11 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$9) { q: { var$8 = $var11.$key; if ($rt_s(1526) !== var$8) { if ($rt_s(1526) !== var$8) { if (var$8 instanceof jl_String) { var$8 = var$8; $var9 = $rt_s(1526).$nativeString !== var$8.$nativeString ? 0 : 1; } else $var9 = 0; } else $var9 = 1; if (!$var9) { $var9 = 0; break q; } } $var9 = 1; } if ($var9) break; } $var11 = $var11.$next3; } $var9 = $var11 === null ? 0 : 1; } else $var9 = 0; } else $var9 = 0; if ($var9) break i; if ($this.$itemID != nms_Item_map.$itemID0) break i; var$14 = $this.$itemDamage; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); $var9 = var$8.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $var9, $var5); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(2501)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$14, 10); $var5 = new jl_String; var$4 = var$8.$buffer; var$12 = var$4.data; var$9 = var$8.$length0; var$14 = var$12.length; if (var$9 >= 0 && var$9 <= (var$14 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); break i; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); } $var6 = $rt_s(18); if ($var5.$nativeString.length > 0) { var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $var5); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1542)); $var5 = new jl_String; var$4 = var$8.$buffer; var$12 = var$4.data; var$9 = var$8.$length0; var$14 = var$12.length; if (var$9 < 0) break f; if (var$9 > (var$14 - 0 | 0)) break f; $var5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); $var6 = $rt_s(2502); } r: { var$4 = nms_Item_itemsList.data; var$9 = $this.$itemID; if (!var$4[var$9].$hasSubtypes) { var$12 = $rt_createArray(jl_Object, 2); if (var$9 >= (-128) && var$9 <= 127) { jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { var$8 = new jl_Integer; var$8.$value0 = var$9; } var$4 = var$12.data; var$4[0] = var$8; var$4[1] = $var6; var$8 = new ju_Formatter; ju_Locale_$callClinit(); $var11 = ju_Locale_defaultLocale; $var12 = new jl_StringBuilder; $var12.$buffer = $rt_createCharArray(16); var$8.$out1 = $var12; var$8.$locale1 = $var11; s: { try { ju_Formatter$FormatWriter_write(ju_Formatter$FormatWriter__init_(var$8, $var12, $var11, $rt_s(2503), var$12)); break s; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var6 = $$je; } else { throw $$e; } } var$8.$ioException = $var6; } var$8 = var$8.$out1; if (var$8 !== null) { $var6 = new jl_String; var$4 = var$8.$buffer; var$12 = var$4.data; var$9 = var$8.$length0; var$14 = var$12.length; if (var$9 >= 0 && var$9 <= (var$14 - 0 | 0)) { $var6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $var5); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $var6); $var5 = new jl_String; var$4 = var$8.$buffer; var$12 = var$4.data; var$9 = var$8.$length0; var$14 = var$12.length; if (var$9 >= 0 && var$9 <= (var$14 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); break r; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new ju_FormatterClosedException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } var$12 = $rt_createArray(jl_Object, 3); if (var$9 >= (-128) && var$9 <= 127) { jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { var$8 = new jl_Integer; var$8.$value0 = var$9; } var$16 = var$12.data; var$16[0] = var$8; var$14 = $this.$itemDamage; if (var$14 >= (-128) && var$14 <= 127) { jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[var$14 + 128 | 0]; } else { var$8 = new jl_Integer; var$8.$value0 = var$14; } var$16[1] = var$8; var$16[2] = $var6; var$8 = new ju_Formatter; ju_Locale_$callClinit(); $var11 = ju_Locale_defaultLocale; $var12 = new jl_StringBuilder; $var12.$buffer = $rt_createCharArray(16); var$8.$out1 = $var12; var$8.$locale1 = $var11; t: { try { ju_Formatter$FormatWriter_write(ju_Formatter$FormatWriter__init_(var$8, $var12, $var11, $rt_s(2504), var$12)); break t; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var6 = $$je; } else { throw $$e; } } var$8.$ioException = $var6; } var$8 = var$8.$out1; if (var$8 === null) { $par1EntityPlayer = new ju_FormatterClosedException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $var6 = new jl_String; var$4 = var$8.$buffer; var$12 = var$4.data; var$9 = var$8.$length0; var$14 = var$12.length; if (var$9 < 0) break g; if (var$9 > (var$14 - 0 | 0)) break g; $var6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $var5); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $var6); $var5 = new jl_String; var$4 = var$8.$buffer; var$12 = var$4.data; var$9 = var$8.$length0; var$14 = var$12.length; if (var$9 < 0) break h; if (var$9 > (var$14 - 0 | 0)) break h; $var5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); } } ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); var$4 = $var3.$array.data; var$9 = $var3.$size0; $var3.$size0 = var$9 + 1 | 0; var$4[var$9] = $var5; $var3.$modCount = $var3.$modCount + 1 | 0; $var4.$addInformation($this, $par1EntityPlayer, $var3, $par2); $par1EntityPlayer = $this.$stackTagCompound; $var9 = $par1EntityPlayer === null ? 0 : 1; u: { if ($var9) { if ($par1EntityPlayer === null) $var10 = null; else { v: { $par1EntityPlayer = $par1EntityPlayer.$tagMap; if (!$rt_s(1734).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1734).$nativeString.length) break v; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(1734).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var12 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var12 !== null) { if ($var12.$origKeyHash == var$9) { w: { $par1EntityPlayer = $var12.$key; if ($rt_s(1734) !== $par1EntityPlayer) { if ($rt_s(1734) !== $par1EntityPlayer) { if ($par1EntityPlayer instanceof jl_String) { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(1734).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } else $var9 = 0; } else $var9 = 1; if (!$var9) { $var9 = 0; break w; } } $var9 = 1; } if ($var9) break; } $var12 = $var12.$next3; } $var10 = $var12 === null ? null : $var12.$value1; } x: { if ($var10 !== null) { $var7 = 0; y: { while (true) { $par1EntityPlayer = $var10.$tagList; $var9 = $rt_compare($var7, $par1EntityPlayer.$size0); if ($var9 >= 0) break x; if ($var7 < 0) break y; if ($var9 >= 0) break y; z: { $var6 = $par1EntityPlayer.$array.data[$var7]; $par1EntityPlayer = $var6.$tagMap; if (!$rt_s(1243).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1243).$nativeString.length) break z; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(1243).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var11 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$9) { ba: { $par1EntityPlayer = $var11.$key; if ($rt_s(1243) !== $par1EntityPlayer) { if ($rt_s(1243) === $par1EntityPlayer) $var9 = 1; else if (!($par1EntityPlayer instanceof jl_String)) $var9 = 0; else { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(1243).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break ba; } } $var9 = 1; } if ($var9) break; } $var11 = $var11.$next3; } if (!($var11 === null ? 0 : 1)) $var8 = 0; else { $par1EntityPlayer = $var6.$tagMap; if ($rt_s(1243) === null) { $var6 = $par1EntityPlayer.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { bb: { if (!$rt_s(1243).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1243).$nativeString.length) break bb; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(1243).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var6 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { bc: { $par1EntityPlayer = $var6.$key; if ($rt_s(1243) !== $par1EntityPlayer) { if ($rt_s(1243) === $par1EntityPlayer) $var9 = 1; else if (!($par1EntityPlayer instanceof jl_String)) $var9 = 0; else { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(1243).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break bc; } } $var9 = 1; } if ($var9) break; } $var6 = $var6.$next3; } } $var8 = ($var6 === null ? null : $var6.$value1).$data2; } $par1EntityPlayer = $var10.$tagList; if ($var7 < 0) break; if ($var7 >= $par1EntityPlayer.$size0) break; bd: { $var6 = $par1EntityPlayer.$array.data[$var7]; $par1EntityPlayer = $var6.$tagMap; if (!$rt_s(2505).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(2505).$nativeString.length) break bd; $rt_s(2505).$hashCode1 = (31 * $rt_s(2505).$hashCode1 | 0) + $rt_s(2505).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(2505).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var11 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$9) { be: { $par1EntityPlayer = $var11.$key; if ($rt_s(2505) !== $par1EntityPlayer) { if ($rt_s(2505) === $par1EntityPlayer) $var9 = 1; else if (!($par1EntityPlayer instanceof jl_String)) $var9 = 0; else { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(2505).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break be; } } $var9 = 1; } if ($var9) break; } $var11 = $var11.$next3; } if (!($var11 === null ? 0 : 1)) $var9 = 0; else { $par1EntityPlayer = $var6.$tagMap; if ($rt_s(2505) === null) { $var6 = $par1EntityPlayer.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { bf: { if (!$rt_s(2505).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(2505).$nativeString.length) break bf; $rt_s(2505).$hashCode1 = (31 * $rt_s(2505).$hashCode1 | 0) + $rt_s(2505).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(2505).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var6 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { bg: { $par1EntityPlayer = $var6.$key; if ($rt_s(2505) !== $par1EntityPlayer) { if ($rt_s(2505) === $par1EntityPlayer) $var9 = 1; else if (!($par1EntityPlayer instanceof jl_String)) $var9 = 0; else { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(2505).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break bg; } } $var9 = 1; } if ($var9) break; } $var6 = $var6.$next3; } } $var9 = ($var6 === null ? null : $var6.$value1).$data2; } nms_Enchantment_$callClinit(); var$4 = nms_Enchantment_enchantmentsList.data; if (var$4[$var8] !== null) { $par1EntityPlayer = nms_Enchantment_getTranslatedName(var$4[$var8], $var9); ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); var$4 = $var3.$array.data; var$9 = $var3.$size0; $var3.$size0 = var$9 + 1 | 0; var$4[var$9] = $par1EntityPlayer; $var3.$modCount = $var3.$modCount + 1 | 0; } $var7 = $var7 + 1 | 0; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } } bh: { $par1EntityPlayer = $this.$stackTagCompound.$tagMap; if (!$rt_s(1525).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1525).$nativeString.length) break bh; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var6 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { bi: { $par1EntityPlayer = $var6.$key; if ($rt_s(1525) !== $par1EntityPlayer) { if ($rt_s(1525) === $par1EntityPlayer) $var9 = 1; else if (!($par1EntityPlayer instanceof jl_String)) $var9 = 0; else { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(1525).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break bi; } } $var9 = 1; } if ($var9) break; } $var6 = $var6.$next3; } if ($var6 === null ? 0 : 1) { bj: { $var12 = $this.$stackTagCompound; $par1EntityPlayer = $var12.$tagMap; if (!$rt_s(1525).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1525).$nativeString.length) break bj; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var6 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { bk: { $par1EntityPlayer = $var6.$key; if ($rt_s(1525) !== $par1EntityPlayer) { if ($rt_s(1525) !== $par1EntityPlayer) { if (!($par1EntityPlayer instanceof jl_String)) $var9 = 0; else { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(1525).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } } else $var9 = 1; if (!$var9) { $var9 = 0; break bk; } } $var9 = 1; } if ($var9) break; } $var6 = $var6.$next3; } if (!($var6 === null ? 0 : 1)) { $var11 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $var11.$name = $rt_s(1525); else $var11.$name = $rt_s(18); $par1EntityPlayer = new ju_HashMap; $var9 = ju_HashMap_calculateCapacity(16); $par1EntityPlayer.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, $var9); var$12 = var$4.data; $par1EntityPlayer.$elementData = var$4; $par1EntityPlayer.$loadFactor = 0.75; $par1EntityPlayer.$threshold = var$12.length * 0.75 | 0; $var11.$tagMap = $par1EntityPlayer; } else { $par1EntityPlayer = $var12.$tagMap; if ($rt_s(1525) === null) { $var6 = $par1EntityPlayer.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { bl: { if (!$rt_s(1525).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1525).$nativeString.length) break bl; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var6 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { bm: { $par1EntityPlayer = $var6.$key; if ($rt_s(1525) !== $par1EntityPlayer) { if ($rt_s(1525) === $par1EntityPlayer) $var9 = 1; else if (!($par1EntityPlayer instanceof jl_String)) $var9 = 0; else { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(1525).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break bm; } } $var9 = 1; } if ($var9) break; } $var6 = $var6.$next3; } } $var11 = $var6 === null ? null : $var6.$value1; } bn: { $par1EntityPlayer = $var11.$tagMap; if (!$rt_s(2506).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(2506).$nativeString.length) break bn; $rt_s(2506).$hashCode1 = (31 * $rt_s(2506).$hashCode1 | 0) + $rt_s(2506).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(2506).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var6 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { bo: { $par1EntityPlayer = $var6.$key; if ($rt_s(2506) !== $par1EntityPlayer) { if ($rt_s(2506) !== $par1EntityPlayer) { if (!($par1EntityPlayer instanceof jl_String)) $var9 = 0; else { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(2506).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } } else $var9 = 1; if (!$var9) { $var9 = 0; break bo; } } $var9 = 1; } if ($var9) break; } $var6 = $var6.$next3; } $var9 = $var6 === null ? 0 : 1; bp: { if ($var9) { if (!$par2) { nms_EnumChatFormatting_$callClinit(); $par1EntityPlayer = nms_EnumChatFormatting_ITALIC; $var6 = $par1EntityPlayer === null ? $rt_s(1) : $par1EntityPlayer.$field_96304_B; nms_StatCollector_$callClinit(); var$8 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2507)); $par1EntityPlayer = new jl_StringBuilder; $par1EntityPlayer.$buffer = $rt_createCharArray(16); $var9 = $par1EntityPlayer.$length0; if ($var6 === null) $var6 = $rt_s(1); jl_AbstractStringBuilder_insert($par1EntityPlayer, $var9, $var6); $var9 = $par1EntityPlayer.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert($par1EntityPlayer, $var9, var$8); var$8 = new jl_String; var$4 = $par1EntityPlayer.$buffer; var$12 = var$4.data; var$9 = $par1EntityPlayer.$length0; var$14 = var$12.length; if (var$9 >= 0 && var$9 <= (var$14 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); var$4 = $var3.$array.data; var$9 = $var3.$size0; $var3.$size0 = var$9 + 1 | 0; var$4[var$9] = var$8; $var3.$modCount = $var3.$modCount + 1 | 0; break bp; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); } bq: { $par1EntityPlayer = $var11.$tagMap; if (!$rt_s(2506).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(2506).$nativeString.length) break bq; $rt_s(2506).$hashCode1 = (31 * $rt_s(2506).$hashCode1 | 0) + $rt_s(2506).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(2506).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var6 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { br: { $par1EntityPlayer = $var6.$key; if ($rt_s(2506) !== $par1EntityPlayer) { if ($rt_s(2506) === $par1EntityPlayer) $var9 = 1; else if (!($par1EntityPlayer instanceof jl_String)) $var9 = 0; else { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(2506).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break br; } } $var9 = 1; } if ($var9) break; } $var6 = $var6.$next3; } if ($var6 === null ? 0 : 1) { $par1EntityPlayer = $var11.$tagMap; if ($rt_s(2506) === null) { $var6 = $par1EntityPlayer.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { bs: { if (!$rt_s(2506).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(2506).$nativeString.length) break bs; $rt_s(2506).$hashCode1 = (31 * $rt_s(2506).$hashCode1 | 0) + $rt_s(2506).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(2506).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var6 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { bt: { $par1EntityPlayer = $var6.$key; if ($rt_s(2506) !== $par1EntityPlayer) { if ($rt_s(2506) === $par1EntityPlayer) $var9 = 1; else if (!($par1EntityPlayer instanceof jl_String)) $var9 = 0; else { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(2506).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break bt; } } $var9 = 1; } if ($var9) break; } $var6 = $var6.$next3; } } var$9 = ($var6 === null ? null : $var6.$value1).$data0; } else var$9 = 0; $var6 = otci_IntegerUtil_toUnsignedLogRadixString(var$9, 4); $par1EntityPlayer = $var6.$nativeString.toUpperCase(); if ($par1EntityPlayer !== $var6.$nativeString) $var6 = jl_String__init_($par1EntityPlayer); $par1EntityPlayer = new jl_StringBuilder; $par1EntityPlayer.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EntityPlayer, $par1EntityPlayer.$length0, $rt_s(2508)); jl_AbstractStringBuilder_insert($par1EntityPlayer, $par1EntityPlayer.$length0, $var6); var$8 = new jl_String; var$4 = $par1EntityPlayer.$buffer; var$12 = var$4.data; var$9 = $par1EntityPlayer.$length0; var$14 = var$12.length; if (var$9 >= 0 && var$9 <= (var$14 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); var$4 = $var3.$array.data; var$9 = $var3.$size0; $var3.$size0 = var$9 + 1 | 0; var$4[var$9] = var$8; $var3.$modCount = $var3.$modCount + 1 | 0; } else { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); } } } bu: { $par1EntityPlayer = $var11.$tagMap; if (!$rt_s(2509).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(2509).$nativeString.length) break bu; $rt_s(2509).$hashCode1 = (31 * $rt_s(2509).$hashCode1 | 0) + $rt_s(2509).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(2509).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var6 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { bv: { $par1EntityPlayer = $var6.$key; if ($rt_s(2509) !== $par1EntityPlayer) { if ($rt_s(2509) === $par1EntityPlayer) $var9 = 1; else if (!($par1EntityPlayer instanceof jl_String)) $var9 = 0; else { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(2509).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break bv; } } $var9 = 1; } if ($var9) break; } $var6 = $var6.$next3; } if ($var6 === null ? 0 : 1) { bw: { $par1EntityPlayer = $var11.$tagMap; if (!$rt_s(2509).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(2509).$nativeString.length) break bw; $rt_s(2509).$hashCode1 = (31 * $rt_s(2509).$hashCode1 | 0) + $rt_s(2509).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(2509).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var6 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { bx: { $par1EntityPlayer = $var6.$key; if ($rt_s(2509) !== $par1EntityPlayer) { if ($rt_s(2509) === $par1EntityPlayer) $var9 = 1; else if (!($par1EntityPlayer instanceof jl_String)) $var9 = 0; else { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(2509).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break bx; } } $var9 = 1; } if ($var9) break; } $var6 = $var6.$next3; } if (!($var6 === null ? 0 : 1)) { $var12 = new nms_NBTTagList; if ($rt_s(2509) !== null) $var12.$name = $rt_s(2509); else $var12.$name = $rt_s(18); $par1EntityPlayer = new ju_ArrayList; $par1EntityPlayer.$array = $rt_createArray(jl_Object, 10); $var12.$tagList = $par1EntityPlayer; } else { $par1EntityPlayer = $var11.$tagMap; if ($rt_s(2509) === null) { $var6 = $par1EntityPlayer.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { by: { if (!$rt_s(2509).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(2509).$nativeString.length) break by; $rt_s(2509).$hashCode1 = (31 * $rt_s(2509).$hashCode1 | 0) + $rt_s(2509).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } var$9 = $rt_s(2509).$hashCode1; var$4 = $par1EntityPlayer.$elementData.data; $var6 = var$4[var$9 & (var$4.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$9) { bz: { $par1EntityPlayer = $var6.$key; if ($rt_s(2509) !== $par1EntityPlayer) { if ($rt_s(2509) === $par1EntityPlayer) $var9 = 1; else if (!($par1EntityPlayer instanceof jl_String)) $var9 = 0; else { $par1EntityPlayer = $par1EntityPlayer; $var9 = $rt_s(2509).$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break bz; } } $var9 = 1; } if ($var9) break; } $var6 = $var6.$next3; } } $var12 = $var6 === null ? null : $var6.$value1; } if ($var12.$tagList.$size0 > 0) { $var13 = 0; bA: { while (true) { $par1EntityPlayer = $var12.$tagList; $var9 = $rt_compare($var13, $par1EntityPlayer.$size0); if ($var9 >= 0) break u; nms_EnumChatFormatting_$callClinit(); var$8 = nms_EnumChatFormatting_DARK_PURPLE; $var6 = var$8 === null ? $rt_s(1) : var$8.$field_96304_B; var$8 = nms_EnumChatFormatting_ITALIC; var$8 = var$8 === null ? $rt_s(1) : var$8.$field_96304_B; if ($var13 < 0) break bA; if ($var9 >= 0) break bA; $var11 = $par1EntityPlayer.$array.data[$var13].$data1; $par1EntityPlayer = new jl_StringBuilder; $par1EntityPlayer.$buffer = $rt_createCharArray(16); $var9 = $par1EntityPlayer.$length0; if ($var6 === null) $var6 = $rt_s(1); jl_AbstractStringBuilder_insert($par1EntityPlayer, $var9, $var6); $var9 = $par1EntityPlayer.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert($par1EntityPlayer, $var9, var$8); $var9 = $par1EntityPlayer.$length0; if ($var11 === null) $var11 = $rt_s(1); jl_AbstractStringBuilder_insert($par1EntityPlayer, $var9, $var11); var$8 = new jl_String; var$4 = $par1EntityPlayer.$buffer; var$12 = var$4.data; var$9 = $par1EntityPlayer.$length0; var$14 = var$12.length; if (var$9 < 0) break; if (var$9 > (var$14 - 0 | 0)) break; var$8.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); var$4 = $var3.$array.data; var$9 = $var3.$size0; $var3.$size0 = var$9 + 1 | 0; var$4[var$9] = var$8; $var3.$modCount = $var3.$modCount + 1 | 0; $var13 = $var13 + 1 | 0; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } } } } } if ($par2) { var$4 = nms_Item_itemsList.data; var$9 = $this.$itemID; $par2 = var$4[var$9].$maxDamage <= 0 ? 0 : 1; if ($par2 && $this.$itemDamage > 0 ? 1 : 0) { var$14 = var$4[var$9].$maxDamage - $this.$itemDamage | 0; var$9 = var$4[var$9].$maxDamage; $par1EntityPlayer = new jl_StringBuilder; $par1EntityPlayer.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1EntityPlayer, $par1EntityPlayer.$length0, $rt_s(2510)); jl_AbstractStringBuilder_insert0($par1EntityPlayer, $par1EntityPlayer.$length0, var$14, 10); jl_AbstractStringBuilder_insert($par1EntityPlayer, $par1EntityPlayer.$length0, $rt_s(2511)); jl_AbstractStringBuilder_insert0($par1EntityPlayer, $par1EntityPlayer.$length0, var$9, 10); var$8 = new jl_String; var$4 = $par1EntityPlayer.$buffer; var$12 = var$4.data; $var9 = $par1EntityPlayer.$length0; var$9 = var$12.length; if ($var9 >= 0 && $var9 <= (var$9 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$4.data, 0, $var9); ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); var$4 = $var3.$array.data; $var9 = $var3.$size0; $var3.$size0 = $var9 + 1 | 0; var$4[$var9] = var$8; $var3.$modCount = $var3.$modCount + 1 | 0; } else { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); } } } return $var3; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); }, nms_ItemStack_addEnchantment = ($this, $par1Enchantment, $par2) => { let $var3, $var4, var$5, var$6, var$7, var$8, var$9, var$10; if ($this.$stackTagCompound === null) { $var3 = new nms_NBTTagCompound; $var3.$name = $rt_s(18); $var4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); $var4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; $var4.$elementData = var$6; $var4.$loadFactor = 0.75; $var4.$threshold = var$7.length * 0.75 | 0; $var3.$tagMap = $var4; $this.$stackTagCompound = $var3; } a: { $var4 = $this.$stackTagCompound.$tagMap; if (!$rt_s(1734).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1734).$nativeString.length) break a; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$8 = $rt_s(1734).$hashCode1; var$7 = $var4.$elementData.data; $var4 = var$7[var$8 & (var$7.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$8) { b: { var$9 = $var4.$key; if ($rt_s(1734) !== var$9) { if ($rt_s(1734) === var$9) var$5 = 1; else if (!(var$9 instanceof jl_String)) var$5 = 0; else { var$9 = var$9; var$5 = $rt_s(1734).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break b; } } var$5 = 1; } if (var$5) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) { $var4 = $this.$stackTagCompound; var$10 = new nms_NBTTagList; var$10.$name = $rt_s(1734); $var3 = new ju_ArrayList; $var3.$array = $rt_createArray(jl_Object, 10); var$10.$tagList = $var3; $var3 = $var4.$tagMap; var$10.$name = $rt_s(1734); ju_HashMap_putImpl($var3, $rt_s(1734), var$10); } c: { $var4 = $this.$stackTagCompound.$tagMap; if (!$rt_s(1734).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1734).$nativeString.length) break c; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$8 = $rt_s(1734).$hashCode1; var$7 = $var4.$elementData.data; $var4 = var$7[var$8 & (var$7.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$8) { d: { var$9 = $var4.$key; if ($rt_s(1734) !== var$9) { if ($rt_s(1734) === var$9) var$5 = 1; else if (!(var$9 instanceof jl_String)) var$5 = 0; else { var$9 = var$9; var$5 = $rt_s(1734).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break d; } } var$5 = 1; } if (var$5) break; } $var4 = $var4.$next3; } $var3 = $var4 === null ? null : $var4.$value1; $var4 = new nms_NBTTagCompound; $var4.$name = $rt_s(18); var$9 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$9.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$6 = var$7.data; var$9.$elementData = var$7; var$9.$loadFactor = 0.75; var$9.$threshold = var$6.length * 0.75 | 0; $var4.$tagMap = var$9; var$5 = $par1Enchantment.$effectId << 16 >> 16; $par1Enchantment = new nms_NBTTagShort; $par1Enchantment.$name = $rt_s(1243); $par1Enchantment.$data2 = var$5; ju_HashMap_putImpl(var$9, $rt_s(1243), $par1Enchantment); $par2 = $par2 << 24 >> 24 << 16 >> 16; var$10 = $var4.$tagMap; var$9 = new nms_NBTTagShort; var$9.$name = $rt_s(2505); var$9.$data2 = $par2; ju_HashMap_putImpl(var$10, $rt_s(2505), var$9); $var3.$tagType = 10; $par1Enchantment = $var3.$tagList; ju_ArrayList_ensureCapacity($par1Enchantment, $par1Enchantment.$size0 + 1 | 0); var$7 = $par1Enchantment.$array.data; var$5 = $par1Enchantment.$size0; $par1Enchantment.$size0 = var$5 + 1 | 0; var$7[var$5] = $var4; $par1Enchantment.$modCount = $par1Enchantment.$modCount + 1 | 0; }, nms_ItemStack__clinit_ = () => { let var$1, var$2; var$1 = new jt_DecimalFormat; var$2 = new jt_DecimalFormatSymbols; ju_Locale_$callClinit(); var$2.$locale2 = ju_Locale_defaultLocale; jt_DecimalFormatSymbols_initData(var$2); jt_DecimalFormat__init_(var$1, $rt_s(2512), var$2); nms_ItemStack_field_111284_a = var$1; }; function nle_GuiNetworkSettingsButton() { let a = this; nms_Gui.call(a); a.$screen0 = null; a.$text1 = null; a.$mc13 = null; } let nle_GuiNetworkSettingsButton_drawScreen = ($this, $xx, $yy) => { let var$3, var$4, $w, $hover, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$hover = $thread.pop();$w = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$yy = $thread.pop();$xx = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); var$3 = nleg_EaglerAdapterGL30_deevis; var$3.$x = 0.75; var$3.$y = 0.75; var$3.$z = 0.75; var$3 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$3, var$3); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); jl_Object__init_(var$3); var$3.$out0 = var$4; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4, 16); var$3.$sb = var$4; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $w = nms_FontRenderer_getStringWidth($this.$mc13.$fontRenderer0, $this.$text1); $hover = $xx > 1 && $yy > 1 && $xx < ((($w * 3 | 0) / 4 | 0) + 7 | 0) && $yy < 12 ? 1 : 0; var$3 = $this.$mc13.$fontRenderer0; nms_EnumChatFormatting_$callClinit(); var$4 = nms_EnumChatFormatting_UNDERLINE; var$7 = var$4 === null ? $rt_s(1) : var$4.$field_96304_B; var$4 = $this.$text1; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); $xx = var$8.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $xx, var$7); $xx = var$8.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $xx, var$4); var$4 = new jl_String; var$9 = var$8.$buffer; var$10 = var$9.data; $yy = var$8.$length0; $w = var$10.length; if ($yy >= 0 && $yy <= ($w - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$9.data, 0, $yy); $yy = 5; $xx = 5; $w = !$hover ? (-3355444) : (-1118686); var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; $hover = 6; var$11 = 1; $ptr = 1; continue main; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); case 1: $tmp = nms_FontRenderer_renderString(var$3, var$4, $hover, $hover, $w, var$11); if ($rt_suspending()) { break main; } var$11 = $tmp; $hover = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$3, var$4, $yy, $xx, $w, $hover); if ($rt_suspending()) { break main; } $xx = $tmp; nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $xx, $yy, var$3, var$4, $w, $hover, var$7, var$8, var$9, var$10, var$11, $ptr); }, nle_GuiNetworkSettingsButton_mouseClicked = ($this, $xx, $yy, $btn) => { let $w, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$w = $thread.pop();$btn = $thread.pop();$yy = $thread.pop();$xx = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $w = nms_FontRenderer_getStringWidth($this.$mc13.$fontRenderer0, $this.$text1); if ($xx > 2 && $yy > 2 && $xx < ((($w * 3 | 0) / 4 | 0) + 5 | 0) && $yy < 12) { var$5 = $this.$mc13; var$6 = new nle_GuiScreenRelay; var$7 = $this.$screen0; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$6.$buttonList = var$8; var$6.$allowUserInput = 0; var$6.$selectedButton = null; var$6.$eventButton = 0; var$6.$field_85043_c = Long_ZERO; var$6.$field_92018_d = 0; var$6.$addingNew = 0; var$6.$deleting = 0; var$6.$tooltipString = null; var$6.$lastRefresh = Long_ZERO; var$6.$mx = 0; var$6.$my = 0; var$6.$screen1 = var$7; $ptr = 1; continue main; } return; case 1: nms_Minecraft_displayGuiScreen(var$5, var$6); if ($rt_suspending()) { break main; } var$5 = $this.$mc13.$sndManager; var$6 = $rt_s(642); var$9 = 1.0; var$10 = 1.0; $ptr = 2; case 2: nms_SoundManager_playSoundFX(var$5, var$6, var$9, var$10); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $xx, $yy, $btn, $w, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }; function nms_PlayerCapabilities() { let a = this; jl_Object.call(a); a.$disableDamage = 0; a.$isFlying = 0; a.$allowFlying = 0; a.$isCreativeMode = 0; a.$allowEdit = 0; a.$flySpeed = 0.0; a.$walkSpeed = 0.0; } let nms_PlayerCapabilities__init_ = $this => { $this.$allowEdit = 1; $this.$flySpeed = 0.05000000074505806; $this.$walkSpeed = 0.10000000149011612; }, nms_PlayerCapabilities__init_0 = () => { let var_0 = new nms_PlayerCapabilities(); nms_PlayerCapabilities__init_(var_0); return var_0; }, nms_PlayerCapabilities_writeCapabilitiesToNBT = ($this, $par1NBTTagCompound) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; $var2 = new nms_NBTTagCompound; $var2.$name = $rt_s(18); var$3 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; var$3.$elementData = var$5; var$3.$loadFactor = 0.75; var$3.$threshold = var$6.length * 0.75 | 0; $var2.$tagMap = var$3; var$4 = (!$this.$disableDamage ? 0 : 1) << 24 >> 24; var$7 = new nms_NBTTagByte; var$7.$name = $rt_s(2513); var$7.$data = var$4; ju_HashMap_putImpl(var$3, $rt_s(2513), var$7); var$4 = (!$this.$isFlying ? 0 : 1) << 24 >> 24; var$3 = $var2.$tagMap; var$7 = new nms_NBTTagByte; var$7.$name = $rt_s(2514); var$7.$data = var$4; ju_HashMap_putImpl(var$3, $rt_s(2514), var$7); var$4 = (!$this.$allowFlying ? 0 : 1) << 24 >> 24; var$3 = $var2.$tagMap; var$7 = new nms_NBTTagByte; var$7.$name = $rt_s(2515); var$7.$data = var$4; ju_HashMap_putImpl(var$3, $rt_s(2515), var$7); var$4 = (!$this.$isCreativeMode ? 0 : 1) << 24 >> 24; var$3 = $var2.$tagMap; var$7 = new nms_NBTTagByte; var$7.$name = $rt_s(2516); var$7.$data = var$4; ju_HashMap_putImpl(var$3, $rt_s(2516), var$7); var$4 = (!$this.$allowEdit ? 0 : 1) << 24 >> 24; var$3 = $var2.$tagMap; var$7 = new nms_NBTTagByte; var$7.$name = $rt_s(2517); var$7.$data = var$4; ju_HashMap_putImpl(var$3, $rt_s(2517), var$7); var$8 = $this.$flySpeed; var$3 = $var2.$tagMap; var$7 = new nms_NBTTagFloat; var$7.$name = $rt_s(2518); var$7.$data4 = var$8; ju_HashMap_putImpl(var$3, $rt_s(2518), var$7); var$8 = $this.$walkSpeed; var$9 = $var2.$tagMap; var$3 = new nms_NBTTagFloat; var$3.$name = $rt_s(2519); var$3.$data4 = var$8; ju_HashMap_putImpl(var$9, $rt_s(2519), var$3); $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; $var2.$name = $rt_s(2520); ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(2520), $var2); }; function nms_Block() { let a = this; jl_Object.call(a); a.$displayOnCreativeTab = null; a.$textureName = null; a.$blockID = 0; a.$blockHardness = 0.0; a.$blockResistance = 0.0; a.$blockConstructorCalled = 0; a.$enableStats = 0; a.$needsRandomTick = 0; a.$isBlockContainer = 0; a.$minX0 = 0.0; a.$minY0 = 0.0; a.$minZ0 = 0.0; a.$maxX0 = 0.0; a.$maxY0 = 0.0; a.$maxZ0 = 0.0; a.$stepSound = null; a.$blockParticleGravity = 0.0; a.$blockMaterial = null; a.$slipperiness = 0.0; a.$unlocalizedName = null; a.$blockIcon = null; } let nms_Block_soundPowderFootstep = null, nms_Block_soundWoodFootstep = null, nms_Block_soundGravelFootstep = null, nms_Block_soundGrassFootstep = null, nms_Block_soundStoneFootstep = null, nms_Block_soundMetalFootstep = null, nms_Block_soundGlassFootstep = null, nms_Block_soundClothFootstep = null, nms_Block_soundSandFootstep = null, nms_Block_soundSnowFootstep = null, nms_Block_soundLadderFootstep = null, nms_Block_soundAnvilFootstep = null, nms_Block_blocksList = null, nms_Block_opaqueCubeLookup = null, nms_Block_lightOpacity = null, nms_Block_canBlockGrass = null, nms_Block_lightValue = null, nms_Block_useNeighborBrightness = null, nms_Block_stone = null, nms_Block_grass = null, nms_Block_dirt = null, nms_Block_cobblestone = null, nms_Block_planks = null, nms_Block_sapling = null, nms_Block_bedrock = null, nms_Block_waterMoving = null, nms_Block_waterStill = null, nms_Block_lavaMoving = null, nms_Block_lavaStill = null, nms_Block_sand = null, nms_Block_gravel = null, nms_Block_oreGold = null, nms_Block_oreIron = null, nms_Block_oreCoal = null, nms_Block_wood = null, nms_Block_leaves = null, nms_Block_sponge = null, nms_Block_glass = null, nms_Block_oreLapis = null, nms_Block_blockLapis = null, nms_Block_dispenser = null, nms_Block_sandStone = null, nms_Block_music = null, nms_Block_bed = null, nms_Block_railPowered = null, nms_Block_railDetector = null, nms_Block_pistonStickyBase = null, nms_Block_web = null, nms_Block_tallGrass = null, nms_Block_deadBush = null; let nms_Block_pistonBase = null, nms_Block_pistonExtension = null, nms_Block_cloth = null, nms_Block_pistonMoving = null, nms_Block_plantYellow = null, nms_Block_plantRed = null, nms_Block_mushroomBrown = null, nms_Block_mushroomRed = null, nms_Block_blockGold = null, nms_Block_blockIron = null, nms_Block_stoneDoubleSlab = null, nms_Block_stoneSingleSlab = null, nms_Block_brick = null, nms_Block_tnt = null, nms_Block_bookShelf = null, nms_Block_cobblestoneMossy = null, nms_Block_obsidian = null, nms_Block_torchWood = null, nms_Block_fire = null, nms_Block_mobSpawner = null, nms_Block_stairsWoodOak = null, nms_Block_chest = null, nms_Block_redstoneWire = null, nms_Block_oreDiamond = null, nms_Block_blockDiamond = null, nms_Block_workbench = null, nms_Block_crops = null, nms_Block_tilledField = null, nms_Block_furnaceIdle = null, nms_Block_furnaceBurning = null, nms_Block_signPost = null, nms_Block_doorWood = null, nms_Block_ladder = null, nms_Block_rail = null, nms_Block_stairsCobblestone = null, nms_Block_signWall = null, nms_Block_lever = null, nms_Block_pressurePlateStone = null, nms_Block_doorIron = null, nms_Block_pressurePlatePlanks = null, nms_Block_oreRedstone = null, nms_Block_oreRedstoneGlowing = null, nms_Block_torchRedstoneIdle = null, nms_Block_torchRedstoneActive = null, nms_Block_stoneButton = null, nms_Block_snow = null, nms_Block_ice = null, nms_Block_blockSnow = null, nms_Block_cactus = null, nms_Block_blockClay = null; let nms_Block_reed = null, nms_Block_jukebox = null, nms_Block_fence = null, nms_Block_pumpkin = null, nms_Block_netherrack = null, nms_Block_slowSand = null, nms_Block_glowStone = null, nms_Block_portal = null, nms_Block_pumpkinLantern = null, nms_Block_cake = null, nms_Block_redstoneRepeaterIdle = null, nms_Block_redstoneRepeaterActive = null, nms_Block_lockedChest = null, nms_Block_trapdoor = null, nms_Block_silverfish = null, nms_Block_stoneBrick = null, nms_Block_mushroomCapBrown = null, nms_Block_mushroomCapRed = null, nms_Block_fenceIron = null, nms_Block_thinGlass = null, nms_Block_melon = null, nms_Block_pumpkinStem = null, nms_Block_melonStem = null, nms_Block_vine = null, nms_Block_fenceGate = null, nms_Block_stairsBrick = null, nms_Block_stairsStoneBrick = null, nms_Block_mycelium = null, nms_Block_waterlily = null, nms_Block_netherBrick = null, nms_Block_netherFence = null, nms_Block_stairsNetherBrick = null, nms_Block_netherStalk = null, nms_Block_enchantmentTable = null, nms_Block_brewingStand = null, nms_Block_cauldron = null, nms_Block_endPortal = null, nms_Block_endPortalFrame = null, nms_Block_whiteStone = null, nms_Block_dragonEgg = null, nms_Block_redstoneLampIdle = null, nms_Block_redstoneLampActive = null, nms_Block_woodDoubleSlab = null, nms_Block_woodSingleSlab = null, nms_Block_cocoaPlant = null, nms_Block_stairsSandStone = null, nms_Block_oreEmerald = null, nms_Block_enderChest = null, nms_Block_tripWireSource = null, nms_Block_tripWire = null; let nms_Block_blockEmerald = null, nms_Block_stairsWoodSpruce = null, nms_Block_stairsWoodBirch = null, nms_Block_stairsWoodJungle = null, nms_Block_commandBlock = null, nms_Block_beacon = null, nms_Block_cobblestoneWall = null, nms_Block_flowerPot = null, nms_Block_carrot = null, nms_Block_potato = null, nms_Block_woodenButton = null, nms_Block_skull = null, nms_Block_anvil = null, nms_Block_chestTrapped = null, nms_Block_pressurePlateGold = null, nms_Block_pressurePlateIron = null, nms_Block_redstoneComparatorIdle = null, nms_Block_redstoneComparatorActive = null, nms_Block_daylightSensor = null, nms_Block_blockRedstone = null, nms_Block_oreNetherQuartz = null, nms_Block_hopperBlock = null, nms_Block_blockNetherQuartz = null, nms_Block_stairsNetherQuartz = null, nms_Block_railActivator = null, nms_Block_dropper = null, nms_Block_stainedClay = null, nms_Block_hay = null, nms_Block_carpet = null, nms_Block_hardenedClay = null, nms_Block_coalBlock = null, nms_Block_$callClinit = () => { nms_Block_$callClinit = $rt_eraseClinit(nms_Block); nms_Block__clinit_(); }, nms_Block__init_ = ($this, $par1, $par2Material) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9; nms_Block_$callClinit(); $this.$blockConstructorCalled = 1; $this.$enableStats = 1; $this.$stepSound = nms_Block_soundPowderFootstep; $this.$blockParticleGravity = 1.0; $this.$slipperiness = 0.6000000238418579; var$3 = nms_Block_blocksList.data; if (var$3[$par1] === null) { $this.$blockMaterial = $par2Material; var$3[$par1] = $this; $this.$blockID = $par1; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; nms_Block_opaqueCubeLookup.data[$par1] = $this.$isOpaqueCube(); var$3 = nms_Block_lightOpacity; var$3.data[$par1] = !$this.$isOpaqueCube() ? 0 : 255; var$3 = nms_Block_canBlockGrass; var$3.data[$par1] = $par2Material.$getCanBlockGrass() ? 0 : 1; return; } $par2Material = new jl_IllegalArgumentException; var$4 = var$3[$par1]; var$4 = var$4 === null ? $rt_s(1) : var$4.$toString(); var$5 = $this.$toString(); var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2521)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $par1, 10); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2522)); $par1 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, $par1, var$4); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2523)); $par1 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, $par1, var$5); var$4 = new jl_String; var$3 = var$6.$buffer; var$7 = var$3.data; var$8 = var$6.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$3.data, 0, var$8); $par2Material.$suppressionEnabled = 1; $par2Material.$writableStackTrace = 1; $par2Material.$message = var$4; $rt_throw($par2Material); } $par2Material = new jl_IndexOutOfBoundsException; $par2Material.$suppressionEnabled = 1; $par2Material.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par2Material); $rt_throw($par2Material); }, nms_Block__init_0 = (var_0, var_1) => { let var_2 = new nms_Block(); nms_Block__init_(var_2, var_0, var_1); return var_2; }, nms_Block_initializeBlock = $this => { return; }, nms_Block_setStepSound = ($this, $par1StepSound) => { $this.$stepSound = $par1StepSound; return $this; }, nms_Block_setLightOpacity = ($this, $par1) => { nms_Block_$callClinit(); nms_Block_lightOpacity.data[$this.$blockID] = $par1; return $this; }, nms_Block_setLightValue = ($this, $par1) => { nms_Block_$callClinit(); nms_Block_lightValue.data[$this.$blockID] = 15.0 * $par1 | 0; return $this; }, nms_Block_setResistance = ($this, $par1) => { $this.$blockResistance = $par1 * 3.0; return $this; }, nms_Block_renderAsNormalBlock = $this => { return 1; }, nms_Block_getBlocksMovement = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return $this.$blockMaterial.$blocksMovement() ? 0 : 1; }, nms_Block_getRenderType = $this => { return 0; }, nms_Block_setHardness = ($this, $par1) => { let var$2; $this.$blockHardness = $par1; var$2 = $this.$blockResistance; $par1 = $par1 * 5.0; if (var$2 < $par1) $this.$blockResistance = $par1; return $this; }, nms_Block_setBlockUnbreakable = $this => { $this.$blockHardness = (-1.0); if ($this.$blockResistance < (-5.0)) $this.$blockResistance = (-5.0); return $this; }, nms_Block_getBlockHardness = ($this, $par1World, $par2, $par3, $par4) => { return $this.$blockHardness; }, nms_Block_setTickRandomly = ($this, $par1) => { $this.$needsRandomTick = $par1; return $this; }, nms_Block_getTickRandomly = $this => { return $this.$needsRandomTick; }, nms_Block_hasTileEntity = $this => { return $this.$isBlockContainer; }, nms_Block_getBlockBrightness = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { nms_Block_$callClinit(); return $par1IBlockAccess.$getBrightness0($par2, $par3, $par4, nms_Block_lightValue.data[$par1IBlockAccess.$getBlockId($par2, $par3, $par4)]); }, nms_Block_getMixedBrightnessForBlock = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { nms_Block_$callClinit(); return $par1IBlockAccess.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, nms_Block_lightValue.data[$par1IBlockAccess.$getBlockId($par2, $par3, $par4)]); }; let nms_Block_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return !$par5 && $this.$minY0 > 0.0 ? 1 : $par5 == 1 && $this.$maxY0 < 1.0 ? 1 : $par5 == 2 && $this.$minZ0 > 0.0 ? 1 : $par5 == 3 && $this.$maxZ0 < 1.0 ? 1 : $par5 == 4 && $this.$minX0 > 0.0 ? 1 : $par5 == 5 && $this.$maxX0 < 1.0 ? 1 : $par1IBlockAccess.$isBlockOpaqueCube($par2, $par3, $par4) ? 0 : 1; }, nms_Block_getBlockTexture = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return $this.$getIcon($par5, $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4)); }, nms_Block_getIcon = ($this, $par1, $par2) => { return $this.$blockIcon; }, nms_Block_getBlockTextureFromSide = ($this, $par1) => { return $this.$getIcon($par1, 0); }, nms_Block_getSelectedBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par2 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par4 = var$11.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par4 + 1 | 0); var$13 = var$11.$array.data; $par3 = var$11.$size0; var$11.$size0 = $par3 + 1 | 0; var$13[$par3] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$12 = var$11.$array.data[$par2]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_Block_addCollisionBoxesToList = ($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity) => { let $var8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$par7Entity = $thread.pop();$par6List = $thread.pop();$par5AxisAlignedBB = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $this.$getCollisionBoundingBoxFromPool($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 !== null && nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $var8)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$9 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$9[$par3] = $var8; $par6List.$modCount = $par6List.$modCount + 1 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity, $var8, var$9, $ptr); }, nms_Block_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par2 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par4 = var$11.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par4 + 1 | 0); var$13 = var$11.$array.data; $par3 = var$11.$size0; var$11.$size0 = $par3 + 1 | 0; var$13[$par3] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$12 = var$11.$array.data[$par2]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_Block_isOpaqueCube = $this => { return 1; }, nms_Block_canCollideCheck = ($this, $par1, $par2) => { return $this.$isCollidable(); }, nms_Block_isCollidable = $this => { return 1; }, nms_Block_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { return; }, nms_Block_onBlockDestroyedByPlayer = ($this, $par1World, $par2, $par3, $par4, $par5) => { return; }, nms_Block_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { return; }, nms_Block_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { return; }, nms_Block_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { return; }, nms_Block_quantityDropped = ($this, $par1Random) => { return 1; }, nms_Block_idDropped = ($this, $par1, $par2Random, $par3) => { return $this.$blockID; }, nms_Block_getPlayerRelativeBlockHardness = ($this, $par1EntityPlayer, $par2World, $par3, $par4, $par5) => { let $var6, var$7, var$8; $var6 = $this.$blockHardness; if ($var6 < 0.0) var$7 = 0.0; else { $par2World = $par1EntityPlayer.$inventory; if ($this.$blockMaterial.$requiresNoTool) $par3 = 1; else { $par3 = $par2World.$currentItem; var$8 = $par2World.$mainInventory; $par4 = var$8.data.length; if ($par3 >= $par4) { $par3 = $par3 - $par4 | 0; var$8 = $par2World.$armorInventory; } $par2World = var$8.data[$par3]; if ($par2World === null) $par3 = 0; else { nms_Item_$callClinit(); $par3 = nms_Item_itemsList.data[$par2World.$itemID].$canHarvestBlock($this); } } var$7 = $par3 ? nms_EntityPlayer_getCurrentPlayerStrVsBlock($par1EntityPlayer, $this, 1) / $var6 / 30.0 : nms_EntityPlayer_getCurrentPlayerStrVsBlock($par1EntityPlayer, $this, 0) / $var6 / 100.0; } return var$7; }, nms_Block_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $var9, var$10, var$11, var$12, $var10, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();$var10 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$par1World.$isRemote) { $var8 = $this.$quantityDroppedWithBonus($par7, $par1World.$rand0); $var9 = 0; var$10 = 24; while (true) { if ($var9 >= $var8) break a; var$11 = $par1World.$rand0; var$12 = Long_and(Long_add(Long_mul(var$11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; if (Long_lo(Long_shru(var$12, var$10)) / 1.6777216E7 <= $par6) { $var10 = $this.$idDropped($par5, var$11, $par7); if ($var10 > 0) { var$11 = new nms_ItemStack; var$14 = $this.$damageDropped($par5); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = 1; var$11.$itemDamage = var$14; if (var$14 < 0) var$11.$itemDamage = 0; $ptr = 1; continue main; } } $var9 = $var9 + 1 | 0; } } } return; case 1: nms_Block_dropBlockAsItem_do($this, $par1World, $par2, $par3, $par4, var$11); if ($rt_suspending()) { break main; } while (true) { $var9 = $var9 + 1 | 0; if ($var9 >= $var8) break; var$11 = $par1World.$rand0; var$12 = Long_and(Long_add(Long_mul(var$11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$11.$seed = var$12; if (Long_lo(Long_shru(var$12, var$10)) / 1.6777216E7 > $par6) continue; $var10 = $this.$idDropped($par5, var$11, $par7); if ($var10 <= 0) continue; else { var$11 = new nms_ItemStack; var$14 = $this.$damageDropped($par5); nms_ItemStack_$callClinit(); var$11.$itemID = $var10; var$11.$stackSize = 1; var$11.$itemDamage = var$14; if (var$14 < 0) var$11.$itemDamage = 0; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $var8, $var9, var$10, var$11, var$12, $var10, var$14, $ptr); }, nms_Block_dropBlockAsItem_do = ($this, $par1World, $par2, $par3, $par4, $par5ItemStack) => { let var$6, var$7, $var13, var$9, var$10, var$11, var$12, var$13, $var7, $var9, $var11, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var13 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5ItemStack = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1World.$isRemote) { a: { var$6 = $par1World.$worldInfo.$theGameRules0.$theGameRules.$root; var$7 = $rt_s(2524); $var13 = $rt_s(2524); if (var$7 !== $var13) { var$9 = var$7.$nativeString.length; var$10 = $var13.$nativeString.length; if (var$9 < var$10) var$10 = var$9; var$11 = 0; b: { while (true) { if (var$11 >= var$10) { var$7.$nativeString.length; $var13.$nativeString.length; break a; } if (var$11 < 0) break b; if (var$11 >= var$7.$nativeString.length) break b; var$12 = var$7.$nativeString.charCodeAt(var$11); if (var$11 < 0) break; if (var$11 >= $var13.$nativeString.length) break; if (var$12 - $var13.$nativeString.charCodeAt(var$11) | 0) break a; var$11 = var$11 + 1 | 0; } $par1World = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1World); $rt_throw($par1World); } $par1World = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1World); $rt_throw($par1World); } } $var13 = $rt_s(2524); c: { d: { e: while (true) { if (var$6 === null) { var$6 = null; break c; } f: { var$7 = var$6.$key0; if ($var13 === var$7) var$11 = 0; else { var$9 = $var13.$nativeString.length; var$12 = var$7.$nativeString.length; if (var$9 < var$12) var$12 = var$9; var$10 = 0; while (true) { if (var$10 >= var$12) { var$11 = $var13.$nativeString.length - var$7.$nativeString.length | 0; break f; } if (var$10 < 0) break d; if (var$10 >= $var13.$nativeString.length) break d; var$9 = $var13.$nativeString.charCodeAt(var$10); if (var$10 < 0) break e; if (var$10 >= var$7.$nativeString.length) break e; var$11 = var$9 - var$7.$nativeString.charCodeAt(var$10) | 0; if (var$11) break; var$10 = var$10 + 1 | 0; } } } if (!var$11) break c; var$6 = var$11 >= 0 ? var$6.$right : var$6.$left; } $par1World = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1World); $rt_throw($par1World); } $par1World = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1World); $rt_throw($par1World); } $var13 = var$6 === null ? null : var$6.$value4; if ($var13 === null ? 0 : $var13.$valueBoolean) { $var13 = $par1World.$rand0; var$13 = Long_and(Long_add(Long_mul($var13.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var13.$seed = var$13; $var7 = Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * 0.699999988079071 + 0.15000000596046448; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var13.$seed = var$13; $var9 = Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * 0.699999988079071 + 0.15000000596046448; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var13.$seed = var$13; $var11 = Long_lo(Long_shru(var$13, 24)) / 1.6777216E7 * 0.699999988079071 + 0.15000000596046448; $var13 = new nms_EntityItem; $var7 = $par2 + $var7; $var9 = $par3 + $var9; $var11 = $par4 + $var11; $ptr = 1; continue main; } } return; case 1: nms_EntityItem__init_($var13, $par1World, $var7, $var9, $var11); if ($rt_suspending()) { break main; } var$17 = $var13.$dataWatcher; var$6 = var$17.$watchedObjects; jl_Integer_ensureIntegerCache(); var$18 = jl_Integer_integerCache.data[138]; if (var$18 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { $par4 = var$18.$value0; var$19 = var$6.$elementData.data; var$6 = var$19[$par4 & (var$19.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == $par4) { var$7 = var$6.$key; if (var$18 !== var$7 && !jl_Integer_equals(var$18, var$7) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$7 = var$6 === null ? null : var$6.$value1; if (!($par5ItemStack !== var$7.$watchedObject ? 0 : 1)) { var$7.$watchedObject = $par5ItemStack; var$7.$watched = 1; var$17.$objectChanged = 1; } var$18 = $var13.$dataWatcher; $par5ItemStack = var$18.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[138]; if (var$7 === null) { $par5ItemStack = $par5ItemStack.$elementData.data[0]; while ($par5ItemStack !== null && $par5ItemStack.$key !== null) { $par5ItemStack = $par5ItemStack.$next3; } } else { $par4 = var$7.$value0; var$19 = $par5ItemStack.$elementData.data; $par5ItemStack = var$19[$par4 & (var$19.length - 1 | 0)]; while ($par5ItemStack !== null) { if ($par5ItemStack.$origKeyHash == $par4) { var$6 = $par5ItemStack.$key; if (var$7 !== var$6 && !jl_Integer_equals(var$7, var$6) ? 0 : 1) break; } $par5ItemStack = $par5ItemStack.$next3; } } ($par5ItemStack === null ? null : $par5ItemStack.$value1).$watched = 1; var$18.$objectChanged = 1; $var13.$delayBeforeCanPickup = 10; $par2 = nms_World_spawnEntityInWorld($par1World, $var13); $par5ItemStack = $par1World.$entityList; ju_HashMap_putImpl($par5ItemStack.$backingMap, $var13, $par5ItemStack); if (!$par2) { $par1World = $par1World.$entitySpawnQueue; ju_HashMap_putImpl($par1World.$backingMap, $var13, $par1World); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5ItemStack, var$6, var$7, $var13, var$9, var$10, var$11, var$12, var$13, $var7, $var9, $var11, var$17, var$18, var$19, $ptr); }, nms_Block_damageDropped = ($this, $par1) => { return 0; }, nms_Block_getExplosionResistance = ($this, $par1Entity) => { return $this.$blockResistance / 5.0; }, nms_Block_collisionRayTrace = ($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3) => { let var$7, var$8, var$9, $var7, $var8, $var9, $var10, $var11, $var12, $var13, var$17, var$18, var$19, $var14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var14 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par6Vec3 = $thread.pop();$par5Vec3 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $this.$setBlockBoundsBasedOnState($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$7 = -$par2 | 0; var$8 = -$par3 | 0; var$9 = -$par4 | 0; $par5Vec3 = nms_Vec3Pool_getVecFromPool($par5Vec3.$myVec3LocalPool, $par5Vec3.$xCoord + var$7, $par5Vec3.$yCoord + var$8, $par5Vec3.$zCoord + var$9); $par1World = nms_Vec3Pool_getVecFromPool($par6Vec3.$myVec3LocalPool, $par6Vec3.$xCoord + var$7, $par6Vec3.$yCoord + var$8, $par6Vec3.$zCoord + var$9); $var7 = nms_Vec3_getIntermediateWithXValue($par5Vec3, $par1World, $this.$minX0); $var8 = nms_Vec3_getIntermediateWithXValue($par5Vec3, $par1World, $this.$maxX0); $var9 = nms_Vec3_getIntermediateWithYValue($par5Vec3, $par1World, $this.$minY0); $var10 = nms_Vec3_getIntermediateWithYValue($par5Vec3, $par1World, $this.$maxY0); $var11 = nms_Vec3_getIntermediateWithZValue($par5Vec3, $par1World, $this.$minZ0); $var12 = nms_Vec3_getIntermediateWithZValue($par5Vec3, $par1World, $this.$maxZ0); if (!nms_Block_isVecInsideYZBounds($this, $var7)) $var7 = null; if (!nms_Block_isVecInsideYZBounds($this, $var8)) $var8 = null; if (!nms_Block_isVecInsideXZBounds($this, $var9)) $var9 = null; if (!nms_Block_isVecInsideXZBounds($this, $var10)) $var10 = null; if (!nms_Block_isVecInsideXYBounds($this, $var11)) $var11 = null; if (!nms_Block_isVecInsideXYBounds($this, $var12)) $var12 = null; $var13 = null; if ($var7 !== null) $var13 = $var7; a: { if ($var8 !== null) { if ($var13 !== null) { var$17 = $var8.$xCoord; var$9 = $par5Vec3.$xCoord; var$17 = var$17 - var$9; var$18 = $var8.$yCoord; var$19 = $par5Vec3.$yCoord; var$18 = var$18 - var$19; var$7 = $var8.$zCoord; var$8 = $par5Vec3.$zCoord; var$7 = var$7 - var$8; var$17 = var$17 * var$17 + var$18 * var$18 + var$7 * var$7; var$7 = $var13.$xCoord - var$9; var$18 = $var13.$yCoord - var$19; var$19 = $var13.$zCoord - var$8; if (var$17 >= var$7 * var$7 + var$18 * var$18 + var$19 * var$19) break a; } $var13 = $var8; } } b: { if ($var9 !== null) { if ($var13 !== null) { var$17 = $var9.$xCoord; var$18 = $par5Vec3.$xCoord; var$17 = var$17 - var$18; var$19 = $var9.$yCoord; var$8 = $par5Vec3.$yCoord; var$19 = var$19 - var$8; var$7 = $var9.$zCoord; var$9 = $par5Vec3.$zCoord; var$7 = var$7 - var$9; var$7 = var$17 * var$17 + var$19 * var$19 + var$7 * var$7; var$17 = $var13.$xCoord - var$18; var$18 = $var13.$yCoord - var$8; var$19 = $var13.$zCoord - var$9; if (var$7 >= var$17 * var$17 + var$18 * var$18 + var$19 * var$19) break b; } $var13 = $var9; } } c: { if ($var10 !== null) { if ($var13 !== null) { var$17 = $var10.$xCoord; var$18 = $par5Vec3.$xCoord; var$17 = var$17 - var$18; var$19 = $var10.$yCoord; var$7 = $par5Vec3.$yCoord; var$19 = var$19 - var$7; var$8 = $var10.$zCoord; var$9 = $par5Vec3.$zCoord; var$8 = var$8 - var$9; var$8 = var$17 * var$17 + var$19 * var$19 + var$8 * var$8; var$17 = $var13.$xCoord - var$18; var$18 = $var13.$yCoord - var$7; var$19 = $var13.$zCoord - var$9; if (var$8 >= var$17 * var$17 + var$18 * var$18 + var$19 * var$19) break c; } $var13 = $var10; } } d: { if ($var11 !== null) { if ($var13 !== null) { var$17 = $var11.$xCoord; var$8 = $par5Vec3.$xCoord; var$7 = var$17 - var$8; var$17 = $var11.$yCoord; var$9 = $par5Vec3.$yCoord; var$17 = var$17 - var$9; var$18 = $var11.$zCoord; var$19 = $par5Vec3.$zCoord; var$18 = var$18 - var$19; var$17 = var$7 * var$7 + var$17 * var$17 + var$18 * var$18; var$18 = $var13.$xCoord - var$8; var$7 = $var13.$yCoord - var$9; var$19 = $var13.$zCoord - var$19; if (var$17 >= var$18 * var$18 + var$7 * var$7 + var$19 * var$19) break d; } $var13 = $var11; } } e: { if ($var12 !== null) { if ($var13 !== null) { var$17 = $var12.$xCoord; var$18 = $par5Vec3.$xCoord; var$17 = var$17 - var$18; var$7 = $var12.$yCoord; var$19 = $par5Vec3.$yCoord; var$8 = var$7 - var$19; var$9 = $var12.$zCoord; var$7 = $par5Vec3.$zCoord; var$9 = var$9 - var$7; var$8 = var$17 * var$17 + var$8 * var$8 + var$9 * var$9; var$17 = $var13.$xCoord - var$18; var$18 = $var13.$yCoord - var$19; var$19 = $var13.$zCoord - var$7; if (var$8 >= var$17 * var$17 + var$18 * var$18 + var$19 * var$19) break e; } $var13 = $var12; } } if ($var13 === null) return null; $var14 = (-1); if ($var13 === $var7) $var14 = 4; if ($var13 === $var8) $var14 = 5; if ($var13 === $var9) $var14 = 0; if ($var13 === $var10) $var14 = 1; if ($var13 === $var11) $var14 = 2; if ($var13 === $var12) $var14 = 3; $par1World = new nms_MovingObjectPosition; var$17 = $par2; var$18 = $par3; var$19 = $par4; $par6Vec3 = nms_Vec3Pool_getVecFromPool($var13.$myVec3LocalPool, $var13.$xCoord + var$17, $var13.$yCoord + var$18, $var13.$zCoord + var$19); $par1World.$typeOfHit = nms_EnumMovingObjectType_TILE; $par1World.$blockX = $par2; $par1World.$blockY = $par3; $par1World.$blockZ = $par4; $par1World.$sideHit = $var14; $par1World.$hitVec = nms_Vec3Pool_getVecFromPool($par6Vec3.$myVec3LocalPool, $par6Vec3.$xCoord, $par6Vec3.$yCoord, $par6Vec3.$zCoord); return $par1World; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3, var$7, var$8, var$9, $var7, $var8, $var9, $var10, $var11, $var12, $var13, var$17, var$18, var$19, $var14, $ptr); }, nms_Block_isVecInsideYZBounds = ($this, $par1Vec3) => { let var$2, var$3; a: { if ($par1Vec3 === null) var$2 = 0; else { var$3 = $par1Vec3.$yCoord; if (var$3 >= $this.$minY0 && var$3 <= $this.$maxY0) { var$3 = $par1Vec3.$zCoord; if (var$3 >= $this.$minZ0 && var$3 <= $this.$maxZ0) { var$2 = 1; break a; } } var$2 = 0; } } return var$2; }, nms_Block_isVecInsideXZBounds = ($this, $par1Vec3) => { let var$2, var$3; a: { if ($par1Vec3 === null) var$2 = 0; else { var$3 = $par1Vec3.$xCoord; if (var$3 >= $this.$minX0 && var$3 <= $this.$maxX0) { var$3 = $par1Vec3.$zCoord; if (var$3 >= $this.$minZ0 && var$3 <= $this.$maxZ0) { var$2 = 1; break a; } } var$2 = 0; } } return var$2; }, nms_Block_isVecInsideXYBounds = ($this, $par1Vec3) => { let var$2, var$3; a: { if ($par1Vec3 === null) var$2 = 0; else { var$3 = $par1Vec3.$xCoord; if (var$3 >= $this.$minX0 && var$3 <= $this.$maxX0) { var$3 = $par1Vec3.$yCoord; if (var$3 >= $this.$minY0 && var$3 <= $this.$maxY0) { var$2 = 1; break a; } } var$2 = 0; } } return var$2; }, nms_Block_onBlockDestroyedByExplosion = ($this, $par1World, $par2, $par3, $par4, $par5Explosion) => { return; }, nms_Block_getRenderBlockPass = $this => { return 0; }, nms_Block_canPlaceBlockOnSide0 = ($this, $par1World, $par2, $par3, $par4, $par5, $par6ItemStack) => { return $this.$canPlaceBlockOnSide($par1World, $par2, $par3, $par4, $par5); }, nms_Block_canPlaceBlockOnSide = ($this, $par1World, $par2, $par3, $par4, $par5) => { return $this.$canPlaceBlockAt($par1World, $par2, $par3, $par4); }, nms_Block_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let $var5; a: { $var5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($var5) { nms_Block_$callClinit(); if (!nms_Block_blocksList.data[$var5].$blockMaterial.$replaceable) { $par2 = 0; break a; } } $par2 = 1; } return $par2; }, nms_Block_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { return 0; }, nms_Block_onEntityWalking = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { return; }, nms_Block_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { return $par9; }, nms_Block_onBlockClicked = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer) => { return; }, nms_Block_velocityToAddToEntity = ($this, $par1World, $par2, $par3, $par4, $par5Entity, $par6Vec3) => { return; }, nms_Block_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return; }, nms_Block_getBlockColor = $this => { return 16777215; }, nms_Block_getRenderColor = ($this, $par1) => { return 16777215; }, nms_Block_colorMultiplier = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return 16777215; }, nms_Block_isProvidingWeakPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return 0; }, nms_Block_canProvidePower = $this => { return 0; }, nms_Block_onEntityCollidedWithBlock = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { return; }, nms_Block_isProvidingStrongPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return 0; }, nms_Block_setBlockBoundsForItemRender = $this => { return; }, nms_Block_quantityDroppedWithBonus = ($this, $par1, $par2Random) => { return $this.$quantityDropped($par2Random); }, nms_Block_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { return; }, nms_Block_onPostBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5) => { return; }, nms_Block_setUnlocalizedName = ($this, $par1Str) => { $this.$unlocalizedName = $par1Str; return $this; }, nms_Block_getLocalizedName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = nms_Block_getUnlocalizedName($this); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(1258)); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); nms_StatCollector_$callClinit(); return nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$1); } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }; let nms_Block_getUnlocalizedName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$unlocalizedName; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2525)); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_Block_onBlockEventReceived = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { return 0; }, nms_Block_getEnableStats = $this => { return $this.$enableStats; }, nms_Block_disableStats = $this => { $this.$enableStats = 0; return $this; }, nms_Block_getMobilityFlag = $this => { return $this.$blockMaterial.$mobilityFlag; }, nms_Block_getAmbientOcclusionLightValue = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return !$par1IBlockAccess.$isBlockNormalCube($par2, $par3, $par4) ? 1.0 : 0.20000000298023224; }, nms_Block_onFallenUpon = ($this, $par1World, $par2, $par3, $par4, $par5Entity, $par6) => { return; }, nms_Block_idPicked = ($this, $par1World, $par2, $par3, $par4) => { return $this.$blockID; }, nms_Block_getDamageValue = ($this, $par1World, $par2, $par3, $par4) => { return $this.$damageDropped(nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)); }, nms_Block_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let var$4, var$5; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; $par3List.$size0 = var$5 + 1 | 0; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; }, nms_Block_getCreativeTabToDisplayOn = $this => { return $this.$displayOnCreativeTab; }, nms_Block_setCreativeTab = ($this, $par1CreativeTabs) => { $this.$displayOnCreativeTab = $par1CreativeTabs; return $this; }, nms_Block_onBlockPreDestroy = ($this, $par1World, $par2, $par3, $par4, $par5) => { return; }, nms_Block_isFlowerPot = $this => { return 0; }, nms_Block_canDropFromExplosion = ($this, $par1Explosion) => { return 1; }, nms_Block_hasComparatorInputOverride = $this => { return 0; }, nms_Block_getComparatorInputOverride = ($this, $par1World, $par2, $par3, $par4, $par5) => { return 0; }, nms_Block_setTextureName = ($this, $par1Str) => { $this.$textureName = $par1Str; return $this; }, nms_Block_getTextureName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; a: { var$1 = $this.$textureName; if (var$1 === null) { var$2 = $this.$blockID; var$1 = $this.$unlocalizedName; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$2, 10); var$4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$4, var$4 + 1 | 0); var$3.$buffer.data[var$4] = 95; var$2 = var$3.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$2, var$1); var$1 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$4 = var$3.$length0; var$7 = var$6.length; if (var$4 < 0) break a; if (var$4 > (var$7 - 0 | 0)) break a; var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4); } return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_Block_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$4 = $this.$unlocalizedName; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$3, 10); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 95; var$3 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$3, var$4); var$2 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$6 = var$5.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); }, nms_Block_getItemIconName = $this => { return null; }, nms_Block__clinit_ = () => { let var$1, var$2, var$3, var$4, $var0, var$6, $var1, var$8; var$1 = new nms_StepSound; var$1.$stepSoundName = $rt_s(79); var$1.$stepSoundVolume = 1.0; var$1.$stepSoundPitch = 1.0; nms_Block_soundPowderFootstep = var$1; var$1 = new nms_StepSound; var$1.$stepSoundName = $rt_s(2527); var$1.$stepSoundVolume = 1.0; var$1.$stepSoundPitch = 1.0; nms_Block_soundWoodFootstep = var$1; var$1 = new nms_StepSound; var$1.$stepSoundName = $rt_s(2528); var$1.$stepSoundVolume = 1.0; var$1.$stepSoundPitch = 1.0; nms_Block_soundGravelFootstep = var$1; var$1 = new nms_StepSound; var$1.$stepSoundName = $rt_s(2529); var$1.$stepSoundVolume = 1.0; var$1.$stepSoundPitch = 1.0; nms_Block_soundGrassFootstep = var$1; var$1 = new nms_StepSound; var$1.$stepSoundName = $rt_s(79); var$1.$stepSoundVolume = 1.0; var$1.$stepSoundPitch = 1.0; nms_Block_soundStoneFootstep = var$1; var$1 = new nms_StepSound; var$1.$stepSoundName = $rt_s(79); var$1.$stepSoundVolume = 1.0; var$1.$stepSoundPitch = 1.5; nms_Block_soundMetalFootstep = var$1; var$1 = new nms_StepSoundStone; var$1.$stepSoundName = $rt_s(79); var$1.$stepSoundVolume = 1.0; var$1.$stepSoundPitch = 1.0; nms_Block_soundGlassFootstep = var$1; var$1 = new nms_StepSound; var$1.$stepSoundName = $rt_s(2530); var$1.$stepSoundVolume = 1.0; var$1.$stepSoundPitch = 1.0; nms_Block_soundClothFootstep = var$1; var$1 = new nms_StepSound; var$1.$stepSoundName = $rt_s(2531); var$1.$stepSoundVolume = 1.0; var$1.$stepSoundPitch = 1.0; nms_Block_soundSandFootstep = var$1; var$1 = new nms_StepSound; var$1.$stepSoundName = $rt_s(2532); var$1.$stepSoundVolume = 1.0; var$1.$stepSoundPitch = 1.0; nms_Block_soundSnowFootstep = var$1; var$1 = new nms_StepSoundSand; var$1.$stepSoundName = $rt_s(2533); var$1.$stepSoundVolume = 1.0; var$1.$stepSoundPitch = 1.0; nms_Block_soundLadderFootstep = var$1; var$1 = new nms_StepSoundAnvil; var$1.$stepSoundName = $rt_s(2534); var$1.$stepSoundVolume = 0.30000001192092896; var$1.$stepSoundPitch = 1.0; nms_Block_soundAnvilFootstep = var$1; nms_Block_blocksList = $rt_createArray(nms_Block, 4096); nms_Block_opaqueCubeLookup = $rt_createBooleanArray(4096); nms_Block_lightOpacity = $rt_createIntArray(4096); nms_Block_canBlockGrass = $rt_createBooleanArray(4096); nms_Block_lightValue = $rt_createIntArray(4096); nms_Block_useNeighborBrightness = $rt_createBooleanArray(4096); var$1 = new nms_BlockStone; nms_Material_$callClinit(); nms_Block__init_(var$1, 1, nms_Material_rock); nms_CreativeTabs_$callClinit(); var$1.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; var$1.$blockHardness = 1.5; if (var$1.$blockResistance < 7.5) var$1.$blockResistance = 7.5; var$1.$blockResistance = 30.0; var$1.$stepSound = nms_Block_soundStoneFootstep; var$1.$unlocalizedName = $rt_s(79); var$1.$textureName = $rt_s(79); nms_Block_stone = var$1; var$1 = new nms_BlockGrass; nms_Block__init_(var$1, 2, nms_Material_grass); var$1.$needsRandomTick = 1; var$1.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; var$1.$blockHardness = 0.6000000238418579; if (var$1.$blockResistance < 3.0) var$1.$blockResistance = 3.0; var$1.$stepSound = nms_Block_soundGrassFootstep; var$1.$unlocalizedName = $rt_s(2529); var$1.$textureName = $rt_s(2529); nms_Block_grass = var$1; var$1 = new nms_BlockDirt; nms_Block__init_(var$1, 3, nms_Material_ground); var$1.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; var$1.$blockHardness = 0.5; if (var$1.$blockResistance < 2.5) var$1.$blockResistance = 2.5; var$1.$stepSound = nms_Block_soundGravelFootstep; var$1.$unlocalizedName = $rt_s(2535); var$1.$textureName = $rt_s(2535); nms_Block_dirt = var$1; var$1 = nms_Block__init_0(4, nms_Material_rock); var$1.$blockHardness = 2.0; if (var$1.$blockResistance < 10.0) var$1.$blockResistance = 10.0; var$1.$blockResistance = 30.0; var$1.$stepSound = nms_Block_soundStoneFootstep; var$1.$unlocalizedName = $rt_s(2536); var$1.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; var$1.$textureName = $rt_s(2537); nms_Block_cobblestone = var$1; var$1 = new nms_BlockWood; nms_Block__init_(var$1, 5, nms_Material_wood); var$1.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; var$1.$blockHardness = 2.0; if (var$1.$blockResistance < 10.0) var$1.$blockResistance = 10.0; var$1.$blockResistance = 15.0; var$1.$stepSound = nms_Block_soundWoodFootstep; var$1.$unlocalizedName = $rt_s(2527); var$1.$textureName = $rt_s(2538); nms_Block_planks = var$1; var$1 = new nms_BlockSapling; nms_Block__init_(var$1, 6, nms_Material_plants); var$1.$needsRandomTick = 1; var$1.$minX0 = 0.30000001192092896; var$1.$minY0 = 0.0; var$1.$minZ0 = 0.30000001192092896; var$1.$maxX0 = 0.699999988079071; var$1.$maxY0 = 0.6000000238418579; var$1.$maxZ0 = 0.699999988079071; var$2 = nms_CreativeTabs_tabDecorations; var$1.$displayOnCreativeTab = var$2; var$1.$minX0 = 0.09999999403953552; var$1.$minY0 = 0.0; var$1.$minZ0 = 0.09999999403953552; var$1.$maxX0 = 0.8999999761581421; var$1.$maxY0 = 0.800000011920929; var$1.$maxZ0 = 0.8999999761581421; var$1.$displayOnCreativeTab = var$2; var$1.$blockHardness = 0.0; if (var$1.$blockResistance < 0.0) var$1.$blockResistance = 0.0; var$1.$stepSound = nms_Block_soundGrassFootstep; var$1.$unlocalizedName = $rt_s(2539); var$1.$textureName = $rt_s(2539); nms_Block_sapling = var$1; var$1 = nms_Block__init_0(7, nms_Material_rock); var$1.$blockHardness = (-1.0); if (var$1.$blockResistance < (-5.0)) var$1.$blockResistance = (-5.0); var$1.$blockResistance = 1.8E7; var$1.$stepSound = nms_Block_soundStoneFootstep; var$1.$unlocalizedName = $rt_s(2540); var$1.$enableStats = 0; var$1.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; var$1.$textureName = $rt_s(2540); nms_Block_bedrock = var$1; var$1 = new nms_BlockFlowing; nms_Block__init_(var$1, 8, nms_Material_water); var$1.$minX0 = 0.0; var$1.$minY0 = 0.0; var$1.$minZ0 = 0.0; var$1.$maxX0 = 1.0; var$1.$maxY0 = 1.0; var$1.$maxZ0 = 1.0; var$1.$needsRandomTick = 1; var$1.$isOptimalFlowDirection = $rt_createBooleanArray(4); var$1.$flowCost = $rt_createIntArray(4); var$1.$blockHardness = 100.0; if (var$1.$blockResistance < 500.0) var$1.$blockResistance = 500.0; nms_Block_lightOpacity.data[var$1.$blockID] = 3; var$1.$unlocalizedName = $rt_s(2541); var$1.$enableStats = 0; var$1.$textureName = $rt_s(2542); nms_Block_waterMoving = var$1; var$1 = new nms_BlockStationary; var$2 = nms_Material_water; nms_Block__init_(var$1, 9, var$2); var$1.$minX0 = 0.0; var$1.$minY0 = 0.0; var$1.$minZ0 = 0.0; var$1.$maxX0 = 1.0; var$1.$maxY0 = 1.0; var$1.$maxZ0 = 1.0; var$1.$needsRandomTick = 1; var$1.$needsRandomTick = 0; var$3 = nms_Material_lava; if (var$2 === var$3) var$1.$needsRandomTick = 1; var$1.$blockHardness = 100.0; if (var$1.$blockResistance < 500.0) var$1.$blockResistance = 500.0; nms_Block_lightOpacity.data[var$1.$blockID] = 3; var$1.$unlocalizedName = $rt_s(2541); var$1.$enableStats = 0; var$1.$textureName = $rt_s(1156); nms_Block_waterStill = var$1; var$1 = new nms_BlockFlowing; nms_Block__init_(var$1, 10, var$3); var$1.$minX0 = 0.0; var$1.$minY0 = 0.0; var$1.$minZ0 = 0.0; var$1.$maxX0 = 1.0; var$1.$maxY0 = 1.0; var$1.$maxZ0 = 1.0; var$1.$needsRandomTick = 1; var$1.$isOptimalFlowDirection = $rt_createBooleanArray(4); var$1.$flowCost = $rt_createIntArray(4); var$1.$blockHardness = 0.0; if (var$1.$blockResistance < 0.0) var$1.$blockResistance = 0.0; nms_Block_lightValue.data[var$1.$blockID] = 15; var$1.$unlocalizedName = $rt_s(1486); var$1.$enableStats = 0; var$1.$textureName = $rt_s(2543); nms_Block_lavaMoving = var$1; var$1 = new nms_BlockStationary; var$2 = nms_Material_lava; nms_Block__init_(var$1, 11, var$2); var$1.$minX0 = 0.0; var$1.$minY0 = 0.0; var$1.$minZ0 = 0.0; var$1.$maxX0 = 1.0; var$1.$maxY0 = 1.0; var$1.$maxZ0 = 1.0; var$1.$needsRandomTick = 1; var$1.$needsRandomTick = 0; if (var$2 === nms_Material_lava) var$1.$needsRandomTick = 1; var$1.$blockHardness = 100.0; if (var$1.$blockResistance < 500.0) var$1.$blockResistance = 500.0; nms_Block_lightValue.data[var$1.$blockID] = 15; var$1.$unlocalizedName = $rt_s(1486); var$1.$enableStats = 0; var$1.$textureName = $rt_s(2544); nms_Block_lavaStill = var$1; var$1 = new nms_BlockSand; nms_Block__init_(var$1, 12, nms_Material_sand); var$1.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; var$1.$blockHardness = 0.5; if (var$1.$blockResistance < 2.5) var$1.$blockResistance = 2.5; var$1.$stepSound = nms_Block_soundSandFootstep; nms_Block_sand = nms_Block_setTextureName(nms_Block_setUnlocalizedName(var$1, $rt_s(2531)), $rt_s(2531)); nms_Block_gravel = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockGravel__init_(13), 0.6000000238418579), nms_Block_soundGravelFootstep), $rt_s(2528)), $rt_s(2528)); nms_Block_oreGold = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOre__init_(14), 3.0), 5.0), nms_Block_soundStoneFootstep), $rt_s(2545)), $rt_s(2546)); nms_Block_oreIron = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOre__init_(15), 3.0), 5.0), nms_Block_soundStoneFootstep), $rt_s(2547)), $rt_s(2548)); nms_Block_oreCoal = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOre__init_(16), 3.0), 5.0), nms_Block_soundStoneFootstep), $rt_s(2549)), $rt_s(2550)); nms_Block_wood = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockLog__init_(17), 2.0), nms_Block_soundWoodFootstep), $rt_s(2551)), $rt_s(2551)); nms_Block_leaves = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setLightOpacity(nms_Block_setHardness(nms_BlockLeaves__init_(18), 0.20000000298023224), 1), nms_Block_soundGrassFootstep), $rt_s(2552)), $rt_s(2552)); nms_Block_sponge = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSponge__init_0(19), 0.6000000238418579), nms_Block_soundGrassFootstep), $rt_s(2553)), $rt_s(2553)); nms_Block_glass = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockGlass__init_0(20, nms_Material_glass, 0), 0.30000001192092896), nms_Block_soundGlassFootstep), $rt_s(2554)), $rt_s(2554)); nms_Block_oreLapis = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOre__init_(21), 3.0), 5.0), nms_Block_soundStoneFootstep), $rt_s(2555)), $rt_s(2556)); nms_Block_blockLapis = nms_Block_setTextureName(nms_Block_setCreativeTab(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_Block__init_0(22, nms_Material_rock), 3.0), 5.0), nms_Block_soundStoneFootstep), $rt_s(2557)), nms_CreativeTabs_tabBlock), $rt_s(2558)); nms_Block_dispenser = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockDispenser__init_0(23), 3.5), nms_Block_soundStoneFootstep), $rt_s(2559)), $rt_s(2559)); nms_Block_sandStone = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setHardness(nms_Block_setStepSound(nms_BlockSandStone__init_0(24), nms_Block_soundStoneFootstep), 0.800000011920929), $rt_s(2560)), $rt_s(2561)); nms_Block_music = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setHardness(nms_BlockNote__init_0(25), 0.800000011920929), $rt_s(2562)), $rt_s(2563)); nms_Block_bed = nms_Block_setTextureName(nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setHardness(nms_BlockBed__init_0(26), 0.20000000298023224), $rt_s(2250))), $rt_s(2250)); nms_Block_railPowered = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockRailPowered__init_(27), 0.699999988079071), nms_Block_soundMetalFootstep), $rt_s(2564)), $rt_s(2565)); nms_Block_railDetector = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockDetectorRail__init_(28), 0.699999988079071), nms_Block_soundMetalFootstep), $rt_s(2566)), $rt_s(2567)); nms_Block_pistonStickyBase = nms_Block_setUnlocalizedName(nms_BlockPistonBase__init_(29, 1), $rt_s(2568)); nms_Block_web = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setHardness(nms_Block_setLightOpacity(nms_BlockWeb__init_0(30), 1), 4.0), $rt_s(2569)), $rt_s(2569)); nms_Block_tallGrass = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockTallGrass__init_(31), 0.0), nms_Block_soundGrassFootstep), $rt_s(77)); nms_Block_deadBush = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockDeadBush__init_(32), 0.0), nms_Block_soundGrassFootstep), $rt_s(76)), $rt_s(76)); nms_Block_pistonBase = nms_Block_setUnlocalizedName(nms_BlockPistonBase__init_(33, 0), $rt_s(2570)); nms_Block_pistonExtension = nms_BlockPistonExtension__init_(34); nms_Block_cloth = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockColored__init_(35, nms_Material_cloth), 0.800000011920929), nms_Block_soundClothFootstep), $rt_s(2530)), $rt_s(2571)); nms_Block_pistonMoving = nms_BlockPistonMoving__init_(36); nms_Block_plantYellow = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockFlower__init_(37), 0.0), nms_Block_soundGrassFootstep), $rt_s(2572)), $rt_s(2573)); nms_Block_plantRed = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockFlower__init_(38), 0.0), nms_Block_soundGrassFootstep), $rt_s(2574)), $rt_s(2575)); nms_Block_mushroomBrown = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setLightValue(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockMushroom__init_(39), 0.0), nms_Block_soundGrassFootstep), 0.125), $rt_s(2576)), $rt_s(2577)); nms_Block_mushroomRed = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockMushroom__init_(40), 0.0), nms_Block_soundGrassFootstep), $rt_s(2576)), $rt_s(2578)); nms_Block_blockGold = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOreStorage__init_(41), 3.0), 10.0), nms_Block_soundMetalFootstep), $rt_s(2579)), $rt_s(2580)); nms_Block_blockIron = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOreStorage__init_(42), 5.0), 10.0), nms_Block_soundMetalFootstep), $rt_s(2581)), $rt_s(2582)); nms_Block_stoneDoubleSlab = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockStep__init_(43, 1), 2.0), 10.0), nms_Block_soundStoneFootstep), $rt_s(2583)); nms_Block_stoneSingleSlab = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockStep__init_(44, 0), 2.0), 10.0), nms_Block_soundStoneFootstep), $rt_s(2583)); nms_Block_brick = nms_Block_setTextureName(nms_Block_setCreativeTab(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_Block__init_0(45, nms_Material_rock), 2.0), 10.0), nms_Block_soundStoneFootstep), $rt_s(81)), nms_CreativeTabs_tabBlock), $rt_s(81)); nms_Block_tnt = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockTNT__init_0(46), 0.0), nms_Block_soundGrassFootstep), $rt_s(2584)), $rt_s(2584)); nms_Block_bookShelf = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockBookshelf__init_0(47), 1.5), nms_Block_soundWoodFootstep), $rt_s(2585)), $rt_s(2585)); nms_Block_cobblestoneMossy = nms_Block_setTextureName(nms_Block_setCreativeTab(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_Block__init_0(48, nms_Material_rock), 2.0), 10.0), nms_Block_soundStoneFootstep), $rt_s(2586)), nms_CreativeTabs_tabBlock), $rt_s(2587)); nms_Block_obsidian = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockObsidian__init_(49), 50.0), 2000.0), nms_Block_soundStoneFootstep), $rt_s(2588)), $rt_s(2588)); nms_Block_torchWood = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setLightValue(nms_Block_setHardness(nms_BlockTorch__init_(50), 0.0), 0.9375), nms_Block_soundWoodFootstep), $rt_s(2589)), $rt_s(2590)); nms_Block_fire = nms_Block_setTextureName(nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setLightValue(nms_Block_setHardness(nms_BlockFire__init_0(51), 0.0), 1.0), nms_Block_soundWoodFootstep), $rt_s(2591))), $rt_s(2591)); nms_Block_mobSpawner = nms_Block_setTextureName(nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockMobSpawner__init_0(52), 5.0), nms_Block_soundMetalFootstep), $rt_s(2592))), $rt_s(2593)); nms_Block_stairsWoodOak = nms_Block_setUnlocalizedName(nms_BlockStairs__init_(53, nms_Block_planks, 0), $rt_s(2594)); nms_Block_chest = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockChest__init_(54, 0), 2.5), nms_Block_soundWoodFootstep), $rt_s(2595)); nms_Block_redstoneWire = nms_Block_setTextureName(nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockRedstoneWire__init_0(55), 0.0), nms_Block_soundPowderFootstep), $rt_s(2596))), $rt_s(2220)); nms_Block_oreDiamond = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOre__init_(56), 3.0), 5.0), nms_Block_soundStoneFootstep), $rt_s(2597)), $rt_s(2598)); nms_Block_blockDiamond = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOreStorage__init_(57), 5.0), 10.0), nms_Block_soundMetalFootstep), $rt_s(2599)), $rt_s(2600)); nms_Block_workbench = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockWorkbench__init_0(58), 2.5), nms_Block_soundWoodFootstep), $rt_s(2601)), $rt_s(2602)); nms_Block_crops = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_BlockCrops__init_(59), $rt_s(2603)), $rt_s(2155)); nms_Block_tilledField = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockFarmland__init_(60), 0.6000000238418579), nms_Block_soundGravelFootstep), $rt_s(2604)), $rt_s(2604)); nms_Block_furnaceIdle = nms_Block_setCreativeTab(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockFurnace__init_(61, 0), 3.5), nms_Block_soundStoneFootstep), $rt_s(2605)), nms_CreativeTabs_tabDecorations); nms_Block_furnaceBurning = nms_Block_setUnlocalizedName(nms_Block_setLightValue(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockFurnace__init_(62, 1), 3.5), nms_Block_soundStoneFootstep), 0.875), $rt_s(2605)); nms_Block_signPost = nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSign__init_(63, $rt_cls(nms_TileEntitySign), 1), 1.0), nms_Block_soundWoodFootstep), $rt_s(2205))); nms_Block_doorWood = nms_Block_setTextureName(nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockDoor__init_(64, nms_Material_wood), 3.0), nms_Block_soundWoodFootstep), $rt_s(2206))), $rt_s(2207)); nms_Block_ladder = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockLadder__init_(65), 0.4000000059604645), nms_Block_soundLadderFootstep), $rt_s(2533)), $rt_s(2533)); nms_Block_rail = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockRail__init_0(66), 0.699999988079071), nms_Block_soundMetalFootstep), $rt_s(2606)), $rt_s(2607)); nms_Block_stairsCobblestone = nms_Block_setUnlocalizedName(nms_BlockStairs__init_(67, nms_Block_cobblestone, 0), $rt_s(2608)); nms_Block_signWall = nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSign__init_(68, $rt_cls(nms_TileEntitySign), 0), 1.0), nms_Block_soundWoodFootstep), $rt_s(2205))); nms_Block_lever = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockLever__init_(69), 0.5), nms_Block_soundWoodFootstep), $rt_s(2609)), $rt_s(2609)); nms_Block_pressurePlateStone = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockPressurePlate__init_(70, $rt_s(79), nms_Material_rock, nms_EnumMobType_mobs), 0.5), nms_Block_soundStoneFootstep), $rt_s(2610)); nms_Block_doorIron = nms_Block_setTextureName(nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockDoor__init_(71, nms_Material_iron), 5.0), nms_Block_soundMetalFootstep), $rt_s(2217))), $rt_s(2218)); nms_Block_pressurePlatePlanks = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockPressurePlate__init_(72, $rt_s(2611), nms_Material_wood, nms_EnumMobType_everything), 0.5), nms_Block_soundWoodFootstep), $rt_s(2610)); nms_Block_oreRedstone = nms_Block_setTextureName(nms_Block_setCreativeTab(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockRedstoneOre__init_(73, 0), 3.0), 5.0), nms_Block_soundStoneFootstep), $rt_s(2612)), nms_CreativeTabs_tabBlock), $rt_s(2613)); nms_Block_oreRedstoneGlowing = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_Block_setLightValue(nms_BlockRedstoneOre__init_(74, 1), 0.625), 3.0), 5.0), nms_Block_soundStoneFootstep), $rt_s(2612)), $rt_s(2613)); nms_Block_torchRedstoneIdle = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockRedstoneTorch__init_(75, 0), 0.0), nms_Block_soundWoodFootstep), $rt_s(2614)), $rt_s(2615)); nms_Block_torchRedstoneActive = nms_Block_setTextureName(nms_Block_setCreativeTab(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setLightValue(nms_Block_setHardness(nms_BlockRedstoneTorch__init_(76, 1), 0.0), 0.5), nms_Block_soundWoodFootstep), $rt_s(2614)), nms_CreativeTabs_tabRedstone), $rt_s(2616)); nms_Block_stoneButton = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockButtonStone__init_0(77), 0.5), nms_Block_soundStoneFootstep), $rt_s(2617)); nms_Block_snow = nms_Block_setTextureName(nms_Block_setLightOpacity(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSnow__init_(78), 0.10000000149011612), nms_Block_soundSnowFootstep), $rt_s(2532)), 0), $rt_s(2532)); nms_Block_ice = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setLightOpacity(nms_Block_setHardness(nms_BlockIce__init_(79), 0.5), 3), nms_Block_soundGlassFootstep), $rt_s(2618)), $rt_s(2618)); nms_Block_blockSnow = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSnowBlock__init_(80), 0.20000000298023224), nms_Block_soundSnowFootstep), $rt_s(2532)), $rt_s(2532)); nms_Block_cactus = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockCactus__init_0(81), 0.4000000059604645), nms_Block_soundClothFootstep), $rt_s(2619)), $rt_s(2619)); nms_Block_blockClay = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockClay__init_(82), 0.6000000238418579), nms_Block_soundGravelFootstep), $rt_s(2225)), $rt_s(2225)); nms_Block_reed = nms_Block_setTextureName(nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockReed__init_(83), 0.0), nms_Block_soundGrassFootstep), $rt_s(2227))), $rt_s(2227)); nms_Block_jukebox = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockJukeBox__init_(84), 2.0), 10.0), nms_Block_soundStoneFootstep), $rt_s(2620)), $rt_s(2620)); nms_Block_fence = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockFence__init_(85, $rt_s(2611), nms_Material_wood), 2.0), 5.0), nms_Block_soundWoodFootstep), $rt_s(2621)); nms_Block_pumpkin = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockPumpkin__init_(86, 0), 1.0), nms_Block_soundWoodFootstep), $rt_s(2622)), $rt_s(2622)); nms_Block_netherrack = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockNetherrack__init_(87), 0.4000000059604645), nms_Block_soundStoneFootstep), $rt_s(2623)), $rt_s(2624)); nms_Block_slowSand = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSoulSand__init_0(88), 0.5), nms_Block_soundSandFootstep), $rt_s(2625)), $rt_s(2626)); nms_Block_glowStone = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setLightValue(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockGlowStone__init_0(89, nms_Material_glass), 0.30000001192092896), nms_Block_soundGlassFootstep), 1.0), $rt_s(2627)), $rt_s(2628)); nms_Block_portal = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setLightValue(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockPortal__init_(90), (-1.0)), nms_Block_soundGlassFootstep), 0.75), $rt_s(1455)), $rt_s(1455)); nms_Block_pumpkinLantern = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setLightValue(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockPumpkin__init_(91, 1), 1.0), nms_Block_soundWoodFootstep), 1.0), $rt_s(2629)), $rt_s(2622)); nms_Block_cake = nms_Block_setTextureName(nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockCake__init_0(92), 0.5), nms_Block_soundClothFootstep), $rt_s(2249))), $rt_s(2249)); nms_Block_redstoneRepeaterIdle = nms_Block_setTextureName(nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockRedstoneRepeater__init_(93, 0), 0.0), nms_Block_soundWoodFootstep), $rt_s(2251))), $rt_s(2630)); nms_Block_redstoneRepeaterActive = nms_Block_setTextureName(nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setLightValue(nms_Block_setHardness(nms_BlockRedstoneRepeater__init_(94, 1), 0.0), 0.625), nms_Block_soundWoodFootstep), $rt_s(2251))), $rt_s(2631)); nms_Block_lockedChest = nms_Block_setTickRandomly(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setLightValue(nms_Block_setHardness(nms_BlockLockedChest__init_0(95), 0.0), 1.0), nms_Block_soundWoodFootstep), $rt_s(2632)), 1); nms_Block_trapdoor = nms_Block_setTextureName(nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockTrapDoor__init_0(96, nms_Material_wood), 3.0), nms_Block_soundWoodFootstep), $rt_s(2633))), $rt_s(2633)); nms_Block_silverfish = nms_Block_setUnlocalizedName(nms_Block_setHardness(nms_BlockSilverfish__init_(97), 0.75), $rt_s(2634)); nms_Block_stoneBrick = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockStoneBrick__init_0(98), 1.5), 10.0), nms_Block_soundStoneFootstep), $rt_s(2635)), $rt_s(2536)); nms_Block_mushroomCapBrown = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockMushroomCap__init_(99, nms_Material_wood, 0), 0.20000000298023224), nms_Block_soundWoodFootstep), $rt_s(2576)), $rt_s(2636)); nms_Block_mushroomCapRed = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockMushroomCap__init_(100, nms_Material_wood, 1), 0.20000000298023224), nms_Block_soundWoodFootstep), $rt_s(2576)), $rt_s(2636)); nms_Block_fenceIron = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockPane__init_(101, $rt_s(2637), $rt_s(2637), nms_Material_iron, 1), 5.0), 10.0), nms_Block_soundMetalFootstep), $rt_s(2638)); nms_Block_thinGlass = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockPane__init_(102, $rt_s(2554), $rt_s(2639), nms_Material_glass, 0), 0.30000001192092896), nms_Block_soundGlassFootstep), $rt_s(2640)); nms_Block_melon = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockMelon__init_0(103), 1.0), nms_Block_soundWoodFootstep), $rt_s(2257)), $rt_s(2257)); nms_Block_pumpkinStem = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockStem__init_(104, nms_Block_pumpkin), 0.0), nms_Block_soundWoodFootstep), $rt_s(2641)), $rt_s(2642)); nms_Block_melonStem = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockStem__init_(105, nms_Block_melon), 0.0), nms_Block_soundWoodFootstep), $rt_s(2641)), $rt_s(2643)); nms_Block_vine = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockVine__init_(106), 0.20000000298023224), nms_Block_soundGrassFootstep), $rt_s(2644)), $rt_s(2644)); nms_Block_fenceGate = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockFenceGate__init_0(107), 2.0), 5.0), nms_Block_soundWoodFootstep), $rt_s(2645)); nms_Block_stairsBrick = nms_Block_setUnlocalizedName(nms_BlockStairs__init_(108, nms_Block_brick, 0), $rt_s(2646)); nms_Block_stairsStoneBrick = nms_Block_setUnlocalizedName(nms_BlockStairs__init_(109, nms_Block_stoneBrick, 0), $rt_s(2647)); nms_Block_mycelium = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockMycelium__init_(110), 0.6000000238418579), nms_Block_soundGrassFootstep), $rt_s(2648)), $rt_s(2649)); nms_Block_waterlily = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockLilyPad__init_0(111), 0.0), nms_Block_soundGrassFootstep), $rt_s(2650)), $rt_s(2650)); nms_Block_netherBrick = nms_Block_setTextureName(nms_Block_setCreativeTab(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_Block__init_0(112, nms_Material_rock), 2.0), 10.0), nms_Block_soundStoneFootstep), $rt_s(2651)), nms_CreativeTabs_tabBlock), $rt_s(2652)); nms_Block_netherFence = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockFence__init_(113, $rt_s(2652), nms_Material_rock), 2.0), 10.0), nms_Block_soundStoneFootstep), $rt_s(2653)); nms_Block_stairsNetherBrick = nms_Block_setUnlocalizedName(nms_BlockStairs__init_(114, nms_Block_netherBrick, 0), $rt_s(2654)); nms_Block_netherStalk = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_BlockNetherStalk__init_0(115), $rt_s(2655)), $rt_s(2280)); nms_Block_enchantmentTable = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setResistance(nms_Block_setHardness(nms_BlockEnchantmentTable__init_(116), 5.0), 2000.0), $rt_s(2656)), $rt_s(2657)); nms_Block_brewingStand = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setLightValue(nms_Block_setHardness(nms_BlockBrewingStand__init_0(117), 0.5), 0.125), $rt_s(2291)), $rt_s(2292)); nms_Block_cauldron = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setHardness(nms_BlockCauldron__init_(118), 2.0), $rt_s(2293)), $rt_s(2293)); nms_Block_endPortal = nms_Block_setResistance(nms_Block_setHardness(nms_BlockEndPortal__init_(119, nms_Material_portal), (-1.0)), 6000000.0); nms_Block_endPortalFrame = nms_Block_setTextureName(nms_Block_setCreativeTab(nms_Block_setResistance(nms_Block_setUnlocalizedName(nms_Block_setHardness(nms_Block_setLightValue(nms_Block_setStepSound(nms_BlockEndPortalFrame__init_(120), nms_Block_soundGlassFootstep), 0.125), (-1.0)), $rt_s(2658)), 6000000.0), nms_CreativeTabs_tabDecorations), $rt_s(2659)); nms_Block_whiteStone = nms_Block_setTextureName(nms_Block_setCreativeTab(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_Block__init_0(121, nms_Material_rock), 3.0), 15.0), nms_Block_soundStoneFootstep), $rt_s(2660)), nms_CreativeTabs_tabBlock), $rt_s(2661)); nms_Block_dragonEgg = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setLightValue(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockDragonEgg__init_(122), 3.0), 15.0), nms_Block_soundStoneFootstep), 0.125), $rt_s(2662)), $rt_s(2663)); nms_Block_redstoneLampIdle = nms_Block_setTextureName(nms_Block_setCreativeTab(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockRedstoneLight__init_(123, 0), 0.30000001192092896), nms_Block_soundGlassFootstep), $rt_s(2664)), nms_CreativeTabs_tabRedstone), $rt_s(2665)); nms_Block_redstoneLampActive = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockRedstoneLight__init_(124, 1), 0.30000001192092896), nms_Block_soundGlassFootstep), $rt_s(2664)), $rt_s(2666)); nms_Block_woodDoubleSlab = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockWoodSlab__init_(125, 1), 2.0), 5.0), nms_Block_soundWoodFootstep), $rt_s(2667)); nms_Block_woodSingleSlab = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockWoodSlab__init_(126, 0), 2.0), 5.0), nms_Block_soundWoodFootstep), $rt_s(2667)); nms_Block_cocoaPlant = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockCocoa__init_0(127), 0.20000000298023224), 5.0), nms_Block_soundWoodFootstep), $rt_s(2668)), $rt_s(2668)); nms_Block_stairsSandStone = nms_Block_setUnlocalizedName(nms_BlockStairs__init_(128, nms_Block_sandStone, 0), $rt_s(2669)); nms_Block_oreEmerald = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOre__init_(129), 3.0), 5.0), nms_Block_soundStoneFootstep), $rt_s(2670)), $rt_s(2671)); nms_Block_enderChest = nms_Block_setLightValue(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockEnderChest__init_0(130), 22.5), 1000.0), nms_Block_soundStoneFootstep), $rt_s(2672)), 0.5); nms_Block_tripWireSource = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_BlockTripWireSource__init_0(131), $rt_s(2673)), $rt_s(2674)); nms_Block_tripWire = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_BlockTripWire__init_0(132), $rt_s(2675)), $rt_s(2676)); nms_Block_blockEmerald = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOreStorage__init_(133), 5.0), 10.0), nms_Block_soundMetalFootstep), $rt_s(2677)), $rt_s(2678)); nms_Block_stairsWoodSpruce = nms_Block_setUnlocalizedName(nms_BlockStairs__init_(134, nms_Block_planks, 1), $rt_s(2679)); nms_Block_stairsWoodBirch = nms_Block_setUnlocalizedName(nms_BlockStairs__init_(135, nms_Block_planks, 2), $rt_s(2680)); nms_Block_stairsWoodJungle = nms_Block_setUnlocalizedName(nms_BlockStairs__init_(136, nms_Block_planks, 3), $rt_s(2681)); nms_Block_commandBlock = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setResistance(nms_Block_setBlockUnbreakable(nms_BlockCommandBlock__init_(137)), 6000000.0), $rt_s(2682)), $rt_s(2683)); nms_Block_beacon = nms_Block_setTextureName(nms_Block_setLightValue(nms_Block_setUnlocalizedName(nms_BlockBeacon__init_0(138), $rt_s(2684)), 1.0), $rt_s(2684)); nms_Block_cobblestoneWall = nms_Block_setUnlocalizedName(nms_BlockWall__init_0(139, nms_Block_cobblestone), $rt_s(2685)); nms_Block_flowerPot = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockFlowerPot__init_(140), 0.0), nms_Block_soundPowderFootstep), $rt_s(2309)), $rt_s(2310)); nms_Block_carrot = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_BlockCarrot__init_0(141), $rt_s(2311)), $rt_s(2311)); nms_Block_potato = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_BlockPotato__init_(142), $rt_s(2686)), $rt_s(2686)); nms_Block_woodenButton = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockButtonWood__init_(143), 0.5), nms_Block_soundWoodFootstep), $rt_s(2617)); nms_Block_skull = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockSkull__init_0(144), 1.0), nms_Block_soundStoneFootstep), $rt_s(2322)), $rt_s(2322)); nms_Block_anvil = nms_Block_setUnlocalizedName(nms_Block_setResistance(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockAnvil__init_0(145), 5.0), nms_Block_soundAnvilFootstep), 2000.0), $rt_s(2534)); nms_Block_chestTrapped = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockChest__init_(146, 1), 2.5), nms_Block_soundWoodFootstep), $rt_s(2687)); nms_Block_pressurePlateGold = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockPressurePlateWeighted__init_(147, $rt_s(2580), nms_Material_iron, 64), 0.5), nms_Block_soundWoodFootstep), $rt_s(2688)); nms_Block_pressurePlateIron = nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockPressurePlateWeighted__init_(148, $rt_s(2582), nms_Material_iron, 640), 0.5), nms_Block_soundWoodFootstep), $rt_s(2689)); nms_Block_redstoneComparatorIdle = nms_Block_setTextureName(nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockComparator__init_(149, 0), 0.0), nms_Block_soundWoodFootstep), $rt_s(2334))), $rt_s(2690)); nms_Block_redstoneComparatorActive = nms_Block_setTextureName(nms_Block_disableStats(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setLightValue(nms_Block_setHardness(nms_BlockComparator__init_(150, 1), 0.0), 0.625), nms_Block_soundWoodFootstep), $rt_s(2334))), $rt_s(2691)); nms_Block_daylightSensor = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockDaylightDetector__init_0(151), 0.20000000298023224), nms_Block_soundWoodFootstep), $rt_s(2692)), $rt_s(2693)); nms_Block_blockRedstone = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockPoweredOre__init_(152), 5.0), 10.0), nms_Block_soundMetalFootstep), $rt_s(2694)), $rt_s(2695)); nms_Block_oreNetherQuartz = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockOre__init_(153), 3.0), 5.0), nms_Block_soundStoneFootstep), $rt_s(2336)), $rt_s(2696)); nms_Block_hopperBlock = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockHopper__init_0(154), 3.0), 8.0), nms_Block_soundWoodFootstep), $rt_s(2697)), $rt_s(2697)); var$1 = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setHardness(nms_Block_setStepSound(nms_BlockQuartz__init_0(155), nms_Block_soundStoneFootstep), 0.800000011920929), $rt_s(2698)), $rt_s(2699)); nms_Block_blockNetherQuartz = var$1; nms_Block_stairsNetherQuartz = nms_Block_setUnlocalizedName(nms_BlockStairs__init_(156, var$1, 0), $rt_s(2700)); nms_Block_railActivator = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockRailPowered__init_(157), 0.699999988079071), nms_Block_soundMetalFootstep), $rt_s(2701)), $rt_s(2702)); nms_Block_dropper = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockDropper__init_0(158), 3.5), nms_Block_soundStoneFootstep), $rt_s(2703)), $rt_s(2703)); nms_Block_stainedClay = nms_Block_setTextureName(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_BlockColored__init_(159, nms_Material_rock), 1.25), 7.0), nms_Block_soundStoneFootstep), $rt_s(2704)), $rt_s(2705)); nms_Block_hay = nms_Block_setTextureName(nms_Block_setCreativeTab(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockHay__init_0(170), 0.5), nms_Block_soundGrassFootstep), $rt_s(2706)), nms_CreativeTabs_tabBlock), $rt_s(2707)); nms_Block_carpet = nms_Block_setLightOpacity(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setHardness(nms_BlockCarpet__init_(171), 0.10000000149011612), nms_Block_soundClothFootstep), $rt_s(2708)), 0); nms_Block_hardenedClay = nms_Block_setTextureName(nms_Block_setCreativeTab(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_Block__init_0(172, nms_Material_rock), 1.25), 7.0), nms_Block_soundStoneFootstep), $rt_s(2709)), nms_CreativeTabs_tabBlock), $rt_s(2710)); nms_Block_coalBlock = nms_Block_setTextureName(nms_Block_setCreativeTab(nms_Block_setUnlocalizedName(nms_Block_setStepSound(nms_Block_setResistance(nms_Block_setHardness(nms_Block__init_0(173, nms_Material_rock), 5.0), 10.0), nms_Block_soundStoneFootstep), $rt_s(2711)), nms_CreativeTabs_tabBlock), $rt_s(2712)); nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data; $var0 = nms_Block_cloth.$blockID; var$4[$var0] = nms_Item_setUnlocalizedName(nms_ItemCloth__init_($var0 - 256 | 0), $rt_s(2530)); var$4 = nms_Item_itemsList.data; $var0 = nms_Block_stainedClay.$blockID; var$4[$var0] = nms_Item_setUnlocalizedName(nms_ItemCloth__init_($var0 - 256 | 0), $rt_s(2704)); var$4 = nms_Item_itemsList.data; $var0 = nms_Block_carpet.$blockID; var$4[$var0] = nms_Item_setUnlocalizedName(nms_ItemCloth__init_($var0 - 256 | 0), $rt_s(2708)); var$6 = nms_Item_itemsList.data; var$1 = nms_Block_wood; $var0 = var$1.$blockID; var$6[$var0] = nms_Item_setUnlocalizedName(nms_ItemMultiTextureTile__init_($var0 - 256 | 0, var$1, nms_BlockLog_woodType), $rt_s(2551)); var$6 = nms_Item_itemsList.data; var$1 = nms_Block_planks; $var0 = var$1.$blockID; var$6[$var0] = nms_Item_setUnlocalizedName(nms_ItemMultiTextureTile__init_($var0 - 256 | 0, var$1, nms_BlockWood_woodType), $rt_s(2527)); var$6 = nms_Item_itemsList.data; var$1 = nms_Block_silverfish; $var0 = var$1.$blockID; var$6[$var0] = nms_Item_setUnlocalizedName(nms_ItemMultiTextureTile__init_($var0 - 256 | 0, var$1, nms_BlockSilverfish_silverfishStoneTypes), $rt_s(2634)); var$6 = nms_Item_itemsList.data; var$1 = nms_Block_stoneBrick; $var0 = var$1.$blockID; var$6[$var0] = nms_Item_setUnlocalizedName(nms_ItemMultiTextureTile__init_($var0 - 256 | 0, var$1, nms_BlockStoneBrick_STONE_BRICK_TYPES), $rt_s(2635)); var$6 = nms_Item_itemsList.data; var$1 = nms_Block_sandStone; $var0 = var$1.$blockID; var$6[$var0] = nms_Item_setUnlocalizedName(nms_ItemMultiTextureTile__init_($var0 - 256 | 0, var$1, nms_BlockSandStone_SAND_STONE_TYPES), $rt_s(2560)); var$6 = nms_Item_itemsList.data; var$1 = nms_Block_blockNetherQuartz; $var0 = var$1.$blockID; var$6[$var0] = nms_Item_setUnlocalizedName(nms_ItemMultiTextureTile__init_($var0 - 256 | 0, var$1, nms_BlockQuartz_quartzBlockTypes), $rt_s(2698)); var$4 = nms_Item_itemsList.data; var$1 = nms_Block_stoneSingleSlab; $var1 = var$1.$blockID; var$4[$var1] = nms_Item_setUnlocalizedName(nms_ItemSlab__init_($var1 - 256 | 0, var$1, nms_Block_stoneDoubleSlab, 0), $rt_s(2583)); var$4 = nms_Item_itemsList.data; var$1 = nms_Block_stoneDoubleSlab; $var0 = var$1.$blockID; var$4[$var0] = nms_Item_setUnlocalizedName(nms_ItemSlab__init_($var0 - 256 | 0, nms_Block_stoneSingleSlab, var$1, 1), $rt_s(2583)); var$4 = nms_Item_itemsList.data; var$1 = nms_Block_woodSingleSlab; $var0 = var$1.$blockID; var$4[$var0] = nms_Item_setUnlocalizedName(nms_ItemSlab__init_($var0 - 256 | 0, var$1, nms_Block_woodDoubleSlab, 0), $rt_s(2667)); var$4 = nms_Item_itemsList.data; var$1 = nms_Block_woodDoubleSlab; $var0 = var$1.$blockID; var$4[$var0] = nms_Item_setUnlocalizedName(nms_ItemSlab__init_($var0 - 256 | 0, nms_Block_woodSingleSlab, var$1, 1), $rt_s(2667)); var$6 = nms_Item_itemsList.data; var$1 = nms_Block_sapling; $var0 = var$1.$blockID; var$6[$var0] = nms_Item_setUnlocalizedName(nms_ItemMultiTextureTile__init_($var0 - 256 | 0, var$1, nms_BlockSapling_WOOD_TYPES), $rt_s(2539)); var$4 = nms_Item_itemsList.data; $var0 = nms_Block_leaves.$blockID; var$4[$var0] = nms_Item_setUnlocalizedName(nms_ItemLeaves__init_($var0 - 256 | 0), $rt_s(2552)); var$4 = nms_Item_itemsList.data; $var0 = nms_Block_vine.$blockID; var$4[$var0] = nms_ItemColored__init_($var0 - 256 | 0, 0); var$8 = nms_Item_itemsList.data; $var0 = nms_Block_tallGrass.$blockID; var$8[$var0] = nms_ItemColored_setBlockNames(nms_ItemColored__init_($var0 - 256 | 0, 1), $rt_wrapArray(jl_String, [$rt_s(2713), $rt_s(2529), $rt_s(78)])); var$4 = nms_Item_itemsList.data; var$1 = nms_Block_snow; $var0 = var$1.$blockID; var$4[$var0] = nms_ItemSnow__init_0($var0 - 256 | 0, var$1); var$4 = nms_Item_itemsList.data; $var0 = nms_Block_waterlily.$blockID; var$4[$var0] = nms_ItemLilyPad__init_($var0 - 256 | 0); var$4 = nms_Item_itemsList.data; $var0 = nms_Block_pistonBase.$blockID; var$4[$var0] = nms_ItemPiston__init_($var0 - 256 | 0); var$4 = nms_Item_itemsList.data; $var0 = nms_Block_pistonStickyBase.$blockID; var$4[$var0] = nms_ItemPiston__init_($var0 - 256 | 0); var$6 = nms_Item_itemsList.data; var$1 = nms_Block_cobblestoneWall; $var0 = var$1.$blockID; var$6[$var0] = nms_Item_setUnlocalizedName(nms_ItemMultiTextureTile__init_($var0 - 256 | 0, var$1, nms_BlockWall_types), $rt_s(2685)); var$4 = nms_Item_itemsList.data; var$1 = nms_Block_anvil; var$4[var$1.$blockID] = nms_Item_setUnlocalizedName(nms_ItemAnvilBlock__init_(var$1), $rt_s(2534)); $var0 = 0; while ($var0 < 256) { if (nms_Block_blocksList.data[$var0] !== null) { var$4 = nms_Item_itemsList.data; if (var$4[$var0] === null) { var$4[$var0] = nms_ItemBlock__init_($var0 - 256 | 0); nms_Block_blocksList.data[$var0].$initializeBlock(); } $var1 = 0; if ($var0 > 0 && nms_Block_blocksList.data[$var0].$getRenderType() == 10) $var1 = 1; if ($var0 > 0 && nms_Block_blocksList.data[$var0] instanceof nms_BlockHalfSlab) $var1 = 1; if ($var0 == nms_Block_tilledField.$blockID) $var1 = 1; if (nms_Block_canBlockGrass.data[$var0]) $var1 = 1; if (!nms_Block_lightOpacity.data[$var0]) $var1 = 1; nms_Block_useNeighborBrightness.data[$var0] = $var1; } $var0 = $var0 + 1 | 0; } nms_Block_canBlockGrass.data[0] = 1; nms_StatList_initBreakableStats(); }; function nms_Container() { let a = this; jl_Object.call(a); a.$inventoryItemStacks = null; a.$inventorySlots = null; a.$windowId = 0; a.$transactionID = 0; a.$field_94535_f = 0; a.$field_94536_g = 0; a.$field_94537_h = null; a.$crafters = null; a.$playerList = null; } let nms_Container_addCraftingToCrafters = ($this, $par1ICrafting) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$crafters; var$3 = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); a: { while (true) { if (!(var$3 >= var$5 ? 0 : 1)) { var$3 = 0; break a; } if (var$4 < var$2.$modCount) break; var$6 = var$3 + 1 | 0; var$7 = var$2.$get(var$3); if (var$7 === $par1ICrafting ? 1 : var$7 !== null ? var$7.$equals($par1ICrafting) : $par1ICrafting !== null ? 0 : 1) { var$3 = 1; break a; } var$3 = var$6; } $par1ICrafting = new ju_ConcurrentModificationException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; $rt_throw($par1ICrafting); } if (var$3) { $par1ICrafting = new jl_IllegalArgumentException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; $par1ICrafting.$message = $rt_s(2714); $rt_throw($par1ICrafting); } var$2 = $this.$crafters; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$3 = var$2.$size0; var$2.$size0 = var$3 + 1 | 0; var$8[var$3] = $par1ICrafting; var$2.$modCount = var$2.$modCount + 1 | 0; $par1ICrafting.$sendContainerAndContentsToPlayer($this, nms_Container_getInventory($this)); $this.$detectAndSendChanges(); }, nms_Container_removeCraftingFromCrafters = ($this, $par1ICrafting) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$crafters; var$3 = var$2.$size0; var$4 = 0; a: { b: { while (true) { var$5 = $rt_compare(var$4, var$3); if (var$5 >= 0) { var$4 = (-1); break b; } if (var$4 < 0) break a; if (var$5 >= 0) break a; var$6 = var$2.$array.data[var$4]; if ($par1ICrafting === var$6 ? 1 : $par1ICrafting === null ? (var$6 !== null ? 0 : 1) : $par1ICrafting !== var$6 ? 0 : 1) break; var$4 = var$4 + 1 | 0; } } if (var$4 >= 0) ju_ArrayList_remove(var$2, var$4); return; } $par1ICrafting = new jl_IndexOutOfBoundsException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ICrafting); $rt_throw($par1ICrafting); }, nms_Container_getInventory = $this => { let $var1, $var2, var$3, var$4, var$5; $var1 = new ju_ArrayList; $var1.$array = $rt_createArray(jl_Object, 10); $var2 = 0; a: { while (true) { var$3 = $this.$inventorySlots; var$4 = $rt_compare($var2, var$3.$size0); if (var$4 >= 0) break; if ($var2 < 0) break a; if (var$4 >= 0) break a; var$3 = var$3.$array.data[$var2].$getStack(); ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$5 = $var1.$array.data; var$4 = $var1.$size0; $var1.$size0 = var$4 + 1 | 0; var$5[var$4] = var$3; $var1.$modCount = $var1.$modCount + 1 | 0; $var2 = $var2 + 1 | 0; } return $var1; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); }, nms_Container_detectAndSendChanges = $this => { let $var1, $var2, $var4, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $var1 = 0; a: { b: { c: { d: { while (true) { $var2 = $this.$inventorySlots; $var4 = $rt_compare($var1, $var2.$size0); if ($var4 >= 0) break; if ($var1 < 0) break c; if ($var4 >= 0) break c; $var2 = $var2.$array.data[$var1].$getStack(); $var3 = $this.$inventoryItemStacks; if ($var1 < 0) break d; if ($var1 >= $var3.$size0) break d; $var3 = $var3.$array.data[$var1]; nms_ItemStack_$callClinit(); $var4 = $var3 === null && $var2 === null ? 1 : $var3 !== null && $var2 !== null ? nms_ItemStack_isItemStackEqual($var3, $var2) : 0; e: { if (!$var4) { if ($var2 === null) $var3 = null; else { $var3 = new nms_ItemStack; $var4 = $var2.$itemID; var$5 = $var2.$stackSize; var$6 = $var2.$itemDamage; $var3.$itemID = $var4; $var3.$stackSize = var$5; $var3.$itemDamage = var$6; if (var$6 < 0) $var3.$itemDamage = 0; var$7 = $var2.$stackTagCompound; if (var$7 !== null) { var$8 = new nms_NBTTagCompound; $var2 = var$7.$name; if ($var2 === null) $var2 = $rt_s(18); var$8.$name = $var2; $var2 = new ju_HashMap; $var4 = ju_HashMap_calculateCapacity(16); $var2.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, $var4); var$10 = var$9.data; $var2.$elementData = var$9; $var2.$loadFactor = 0.75; $var2.$threshold = var$10.length * 0.75 | 0; var$8.$tagMap = $var2; $var2 = var$7.$tagMap; if ($var2.$cachedKeySet === null) { var$11 = new ju_HashMap$1; var$11.$this$0 = $var2; $var2.$cachedKeySet = var$11; } $var2 = $var2.$cachedKeySet.$iterator(); while ($var2.$hasNext()) { var$11 = $var2.$next(); var$12 = var$7.$tagMap; if (var$11 === null) { var$12 = var$12.$elementData.data[0]; while (var$12 !== null && var$12.$key !== null) { var$12 = var$12.$next3; } } else { f: { if (!var$11.$hashCode1) { $var4 = 0; while (true) { if ($var4 >= var$11.$nativeString.length) break f; var$11.$hashCode1 = (31 * var$11.$hashCode1 | 0) + var$11.$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$6 = var$11.$hashCode1; var$9 = var$12.$elementData.data; var$12 = var$9[var$6 & (var$9.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$6) { g: { var$13 = var$12.$key; if (var$11 !== var$13) { if (var$11 === var$13) $var4 = 1; else if (!(var$13 instanceof jl_String)) $var4 = 0; else { var$13 = var$13; $var4 = var$11.$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break g; } } $var4 = 1; } if ($var4) break; } var$12 = var$12.$next3; } } var$12 = var$12 === null ? null : var$12.$value1; var$12 = var$12.$copy(); var$13 = var$8.$tagMap; if (var$11 !== null) var$12.$name = var$11; else var$12.$name = $rt_s(18); ju_HashMap_putImpl(var$13, var$11, var$12); } $var3.$stackTagCompound = var$8; } } $var2 = $this.$inventoryItemStacks; if ($var1 < 0) break b; if ($var1 >= $var2.$size0) break b; $var2.$array.data[$var1] = $var3; $var4 = 0; while (true) { $var2 = $this.$crafters; var$5 = $rt_compare($var4, $var2.$size0); if (var$5 >= 0) break e; if ($var4 < 0) break a; if (var$5 >= 0) break a; $var2.$array.data[$var4].$sendSlotContents($this, $var1, $var3); $var4 = $var4 + 1 | 0; } } } $var1 = $var1 + 1 | 0; } return; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); }, nms_Container_getSlot = ($this, $par1) => { let var$2; var$2 = $this.$inventorySlots; if ($par1 >= 0 && $par1 < var$2.$size0) return var$2.$array.data[$par1]; var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, nms_Container_slotClick = ($this, $par1, $par2, $par3, $par4EntityPlayer) => { let $var5, $var6, $var7, $var12, var$9, $var8, $var17, $var22, var$13, $var16, $var20, $var16_0, $var9, $var10, $var11, $var17_0, $var13, var$22, $var17_1, $var18, $var19, $var24, $var15, $var21, $var23, $var14, $var14_0, $var9_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9_0 = $thread.pop();$var14_0 = $thread.pop();$var14 = $thread.pop();$var23 = $thread.pop();$var21 = $thread.pop();$var15 = $thread.pop();$var24 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17_1 = $thread.pop();var$22 = $thread.pop();$var13 = $thread.pop();$var17_0 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var16_0 = $thread.pop();$var20 = $thread.pop();$var16 = $thread.pop();var$13 = $thread.pop();$var22 = $thread.pop();$var17 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();$var12 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4EntityPlayer = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var5 = null; $var6 = $par4EntityPlayer.$inventory; if ($par3 == 5) b: { $var7 = $this.$field_94536_g; $par3 = $par2 & 3; $this.$field_94536_g = $par3; if (!($var7 == 1 && $par3 == 2) && $var7 != $par3) nms_Container_func_94533_d($this); else { $var12 = $var6.$itemStack; if ($var12 === null) nms_Container_func_94533_d($this); else if (!$par3) { $par2 = $par2 >> 2 & 3; $this.$field_94535_f = $par2; if (!($par2 && $par2 != 1 ? 0 : 1)) nms_Container_func_94533_d($this); else { $this.$field_94536_g = 1; $par4EntityPlayer = $this.$field_94537_h.$backingMap; if ($par4EntityPlayer.$elementCount > 0) { $par4EntityPlayer.$elementCount = 0; var$9 = $par4EntityPlayer.$elementData.data; $var12 = null; $par1 = 0; $par2 = var$9.length; if ($par1 > $par2) { $par4EntityPlayer = new jl_IllegalArgumentException; $par4EntityPlayer.$suppressionEnabled = 1; $par4EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par4EntityPlayer); $rt_throw($par4EntityPlayer); } while ($par1 < $par2) { $par3 = $par1 + 1 | 0; var$9[$par1] = $var12; $par1 = $par3; } $par4EntityPlayer.$modCount0 = $par4EntityPlayer.$modCount0 + 1 | 0; } } } else { if ($par3 == 1) { $par4EntityPlayer = $this.$inventorySlots; if ($par1 >= 0 && $par1 < $par4EntityPlayer.$size0) { $var8 = $par4EntityPlayer.$array.data[$par1]; if ($var8 !== null && nms_Container_func_94527_a($var8, $var12, 1) && $var8.$isItemValid($var6.$itemStack) && $var6.$itemStack.$stackSize > $this.$field_94537_h.$backingMap.$elementCount && $this.$canDragIntoSlot($var8)) { $var12 = $this.$field_94537_h; ju_HashMap_putImpl($var12.$backingMap, $var8, $var12); } break b; } $par4EntityPlayer = new jl_IndexOutOfBoundsException; $par4EntityPlayer.$suppressionEnabled = 1; $par4EntityPlayer.$writableStackTrace = 1; $rt_throw($par4EntityPlayer); } if ($par3 != 2) nms_Container_func_94533_d($this); else { if (!($this.$field_94537_h.$backingMap.$elementCount ? 0 : 1)) { $var17 = new nms_ItemStack; $par1 = $var12.$itemID; $par2 = $var12.$stackSize; $par3 = $var12.$itemDamage; nms_ItemStack_$callClinit(); $var17.$itemID = $par1; $var17.$stackSize = $par2; $var17.$itemDamage = $par3; if ($par3 < 0) $var17.$itemDamage = 0; $par4EntityPlayer = $var12.$stackTagCompound; if ($par4EntityPlayer !== null) { $var12 = new nms_NBTTagCompound; $var22 = $par4EntityPlayer.$name; if ($var22 === null) $var22 = $rt_s(18); $var12.$name = $var22; $var22 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); $var22.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$9 = var$13.data; $var22.$elementData = var$13; $var22.$loadFactor = 0.75; $var22.$threshold = var$9.length * 0.75 | 0; $var12.$tagMap = $var22; $var22 = $par4EntityPlayer.$tagMap; if ($var22.$cachedKeySet === null) { $var16 = new ju_HashMap$1; $var16.$this$0 = $var22; $var22.$cachedKeySet = $var16; } $var22 = $var22.$cachedKeySet.$iterator(); while ($var22.$hasNext()) { $var16 = $var22.$next(); $var20 = $par4EntityPlayer.$tagMap; if ($var16 === null) { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } else { c: { if (!$var16.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var16.$nativeString.length) break c; $var16.$hashCode1 = (31 * $var16.$hashCode1 | 0) + $var16.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } $par3 = $var16.$hashCode1; var$9 = $var20.$elementData.data; $var20 = var$9[$par3 & (var$9.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $par3) { d: { $var16_0 = $var20.$key; if ($var16 !== $var16_0) { if ($var16 === $var16_0) $par1 = 1; else if (!($var16_0 instanceof jl_String)) $par1 = 0; else { $var16_0 = $var16_0; $par1 = $var16.$nativeString !== $var16_0.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break d; } } $par1 = 1; } if ($par1) break; } $var20 = $var20.$next3; } } $var20 = $var20 === null ? null : $var20.$value1; $var20 = $var20.$copy(); $var16_0 = $var12.$tagMap; if ($var16 !== null) $var20.$name = $var16; else $var20.$name = $rt_s(18); ju_HashMap_putImpl($var16_0, $var16, $var20); } $var17.$stackTagCompound = $var12; } $var9 = $var6.$itemStack.$stackSize; $par4EntityPlayer = $this.$field_94537_h.$backingMap; if ($par4EntityPlayer.$cachedKeySet === null) { $var12 = new ju_HashMap$1; $var12.$this$0 = $par4EntityPlayer; $par4EntityPlayer.$cachedKeySet = $var12; } $var10 = $par4EntityPlayer.$cachedKeySet.$iterator(); while ($var10.$hasNext()) { $var11 = $var10.$next(); if ($var11 !== null && nms_Container_func_94527_a($var11, $var6.$itemStack, 1) && $var11.$isItemValid($var6.$itemStack) && $var6.$itemStack.$stackSize >= $this.$field_94537_h.$backingMap.$elementCount && $this.$canDragIntoSlot($var11)) { $var12 = new nms_ItemStack; $par1 = $var17.$itemID; $par2 = $var17.$stackSize; $par3 = $var17.$itemDamage; $var12.$itemID = $par1; $var12.$stackSize = $par2; $var12.$itemDamage = $par3; if ($par3 < 0) $var12.$itemDamage = 0; $par4EntityPlayer = $var17.$stackTagCompound; if ($par4EntityPlayer !== null) { $var22 = new nms_NBTTagCompound; $var16 = $par4EntityPlayer.$name; if ($var16 === null) $var16 = $rt_s(18); $var22.$name = $var16; $var16 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); $var16.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$9 = var$13.data; $var16.$elementData = var$13; $var16.$loadFactor = 0.75; $var16.$threshold = var$9.length * 0.75 | 0; $var22.$tagMap = $var16; $var16 = $par4EntityPlayer.$tagMap; if ($var16.$cachedKeySet === null) { $var20 = new ju_HashMap$1; $var20.$this$0 = $var16; $var16.$cachedKeySet = $var20; } $var16 = $var16.$cachedKeySet.$iterator(); while ($var16.$hasNext()) { $var20 = $var16.$next(); $var16_0 = $par4EntityPlayer.$tagMap; if ($var20 === null) { $var16_0 = $var16_0.$elementData.data[0]; while ($var16_0 !== null && $var16_0.$key !== null) { $var16_0 = $var16_0.$next3; } } else { e: { if (!$var20.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var20.$nativeString.length) break e; $var20.$hashCode1 = (31 * $var20.$hashCode1 | 0) + $var20.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } $par3 = $var20.$hashCode1; var$9 = $var16_0.$elementData.data; $var16_0 = var$9[$par3 & (var$9.length - 1 | 0)]; while ($var16_0 !== null) { if ($var16_0.$origKeyHash == $par3) { f: { $var17_0 = $var16_0.$key; if ($var20 !== $var17_0) { if ($var20 === $var17_0) $par1 = 1; else if (!($var17_0 instanceof jl_String)) $par1 = 0; else { $var17_0 = $var17_0; $par1 = $var20.$nativeString !== $var17_0.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break f; } } $par1 = 1; } if ($par1) break; } $var16_0 = $var16_0.$next3; } } $var16_0 = $var16_0 === null ? null : $var16_0.$value1; $var16_0 = $var16_0.$copy(); $var17_0 = $var22.$tagMap; if ($var20 !== null) $var16_0.$name = $var20; else $var16_0.$name = $rt_s(18); ju_HashMap_putImpl($var17_0, $var20, $var16_0); } $var12.$stackTagCompound = $var22; } $var13 = !$var11.$getHasStack() ? 0 : ($var11.$getStack()).$stackSize; g: { $par4EntityPlayer = $this.$field_94537_h; switch ($this.$field_94535_f) { case 0: var$22 = $var12.$stackSize / $par4EntityPlayer.$backingMap.$elementCount; $par1 = var$22 | 0; if (var$22 < $par1) $par1 = $par1 - 1 | 0; $var12.$stackSize = $par1; break g; case 1: break; default: break g; } $var12.$stackSize = 1; } $par3 = $var12.$stackSize + $var13 | 0; $var12.$stackSize = $par3; nms_Item_$callClinit(); var$9 = nms_Item_itemsList.data; $par2 = $var12.$itemID; if ($par3 > var$9[$par2].$maxStackSize) $var12.$stackSize = var$9[$par2].$maxStackSize; if ($var12.$stackSize > $var11.$getSlotStackLimit()) $var12.$stackSize = $var11.$getSlotStackLimit(); $var9 = $var9 - ($var12.$stackSize - $var13 | 0) | 0; $ptr = 24; continue main; } } $var17.$stackSize = $var9; if ($var9 <= 0) $var17 = null; $var6.$itemStack = $var17; } nms_Container_func_94533_d($this); } } } } else if ($this.$field_94536_g) nms_Container_func_94533_d($this); else { h: { if (!($par3 && $par3 != 1)) { if (!$par2) break h; if ($par2 == 1) break h; } if ($par3 == 2 && $par2 >= 0 && $par2 < 9) { $var12 = $this.$inventorySlots; if ($par1 >= 0 && $par1 < $var12.$size0) { $var16 = $var12.$array.data[$par1]; if (!$var16.$canTakeStack($par4EntityPlayer)) break a; var$9 = $var6.$mainInventory; $par1 = var$9.data.length; if ($par2 < $par1) $par1 = $par2; else { $par1 = $par2 - $par1 | 0; var$9 = $var6.$armorInventory; } i: { j: { $var17_1 = var$9.data[$par1]; if ($var17_1 !== null) { if ($var16.$inventory0 !== $var6) break j; if (!$var16.$isItemValid($var17_1)) break j; } $var18 = 1; break i; } $var18 = 0; } $var19 = (-1); if (!$var18) { $var19 = 0; k: { while (true) { var$9 = $var6.$mainInventory.data; if ($var19 >= var$9.length) { $var19 = (-1); break k; } if (var$9[$var19] === null) break; $var19 = $var19 + 1 | 0; } } $var18 = $var18 | ($var19 <= (-1) ? 0 : 1); } l: { if (!($var16.$getHasStack() && $var18)) { if ($var16.$getHasStack()) break l; if ($var17_1 === null) break l; if (!$var16.$isItemValid($var17_1)) break l; $par4EntityPlayer = null; var$9 = $var6.$mainInventory; $par1 = var$9.data.length; if ($par2 >= $par1) { $par2 = $par2 - $par1 | 0; var$9 = $var6.$armorInventory; } var$9.data[$par2] = $par4EntityPlayer; $ptr = 15; continue main; } $var22 = $var16.$getStack(); $var12 = new nms_ItemStack; $par1 = $var22.$itemID; $par3 = $var22.$stackSize; $var9 = $var22.$itemDamage; nms_ItemStack_$callClinit(); $var12.$itemID = $par1; $var12.$stackSize = $par3; $var12.$itemDamage = $var9; if ($var9 < 0) $var12.$itemDamage = 0; $var20 = $var22.$stackTagCompound; if ($var20 !== null) { $var16_0 = new nms_NBTTagCompound; $var17_0 = $var20.$name; if ($var17_0 === null) $var17_0 = $rt_s(18); $var16_0.$name = $var17_0; $var17_0 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); $var17_0.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$9 = var$13.data; $var17_0.$elementData = var$13; $var17_0.$loadFactor = 0.75; $var17_0.$threshold = var$9.length * 0.75 | 0; $var16_0.$tagMap = $var17_0; $var17_0 = $var20.$tagMap; if ($var17_0.$cachedKeySet === null) { $var24 = new ju_HashMap$1; $var24.$this$0 = $var17_0; $var17_0.$cachedKeySet = $var24; } $var17_0 = $var17_0.$cachedKeySet.$iterator(); while ($var17_0.$hasNext()) { $var24 = $var17_0.$next(); $var10 = $var20.$tagMap; if ($var24 === null) { $var10 = $var10.$elementData.data[0]; while ($var10 !== null && $var10.$key !== null) { $var10 = $var10.$next3; } } else { m: { if (!$var24.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var24.$nativeString.length) break m; $var24.$hashCode1 = (31 * $var24.$hashCode1 | 0) + $var24.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } $var9 = $var24.$hashCode1; var$9 = $var10.$elementData.data; $var10 = var$9[$var9 & (var$9.length - 1 | 0)]; while ($var10 !== null) { if ($var10.$origKeyHash == $var9) { n: { $var15 = $var10.$key; if ($var24 !== $var15) { if ($var24 === $var15) $par1 = 1; else if (!($var15 instanceof jl_String)) $par1 = 0; else { $var15 = $var15; $par1 = $var24.$nativeString !== $var15.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break n; } } $par1 = 1; } if ($par1) break; } $var10 = $var10.$next3; } } $var10 = $var10 === null ? null : $var10.$value1; $var10 = $var10.$copy(); $var15 = $var16_0.$tagMap; if ($var24 !== null) $var10.$name = $var24; else $var10.$name = $rt_s(18); ju_HashMap_putImpl($var15, $var24, $var10); } $var12.$stackTagCompound = $var16_0; } var$9 = $var6.$mainInventory; $par1 = var$9.data.length; if ($par2 >= $par1) { $par2 = $par2 - $par1 | 0; var$9 = $var6.$armorInventory; } var$9.data[$par2] = $var12; if (!($var16.$inventory0 === $var6 && $var16.$isItemValid($var17_1)) && $var17_1 !== null) { if ($var19 <= (-1)) break l; else { nms_InventoryPlayer_addItemStackToInventory($var6, $var17_1); $par1 = $var22.$stackSize; $ptr = 21; continue main; } } $par1 = $var22.$stackSize; $ptr = 18; continue main; } break a; } $par4EntityPlayer = new jl_IndexOutOfBoundsException; $par4EntityPlayer.$suppressionEnabled = 1; $par4EntityPlayer.$writableStackTrace = 1; $rt_throw($par4EntityPlayer); } if ($par3 == 3 && $par4EntityPlayer.$capabilities.$isCreativeMode && $var6.$itemStack === null && $par1 >= 0) { $par4EntityPlayer = $this.$inventorySlots; if ($par1 >= 0 && $par1 < $par4EntityPlayer.$size0) { $var16 = $par4EntityPlayer.$array.data[$par1]; if ($var16 === null) break a; if (!$var16.$getHasStack()) break a; $par4EntityPlayer = $var16.$getStack(); $var17_0 = new nms_ItemStack; $par1 = $par4EntityPlayer.$itemID; $par2 = $par4EntityPlayer.$stackSize; $par3 = $par4EntityPlayer.$itemDamage; nms_ItemStack_$callClinit(); $var17_0.$itemID = $par1; $var17_0.$stackSize = $par2; $var17_0.$itemDamage = $par3; if ($par3 < 0) $var17_0.$itemDamage = 0; $par4EntityPlayer = $par4EntityPlayer.$stackTagCompound; if ($par4EntityPlayer !== null) { $var12 = new nms_NBTTagCompound; $var22 = $par4EntityPlayer.$name; if ($var22 === null) $var22 = $rt_s(18); $var12.$name = $var22; $var22 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); $var22.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$9 = var$13.data; $var22.$elementData = var$13; $var22.$loadFactor = 0.75; $var22.$threshold = var$9.length * 0.75 | 0; $var12.$tagMap = $var22; $var22 = $par4EntityPlayer.$tagMap; if ($var22.$cachedKeySet === null) { $var16 = new ju_HashMap$1; $var16.$this$0 = $var22; $var22.$cachedKeySet = $var16; } $var22 = $var22.$cachedKeySet.$iterator(); while ($var22.$hasNext()) { $var16 = $var22.$next(); $var20 = $par4EntityPlayer.$tagMap; if ($var16 === null) { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } else { o: { if (!$var16.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var16.$nativeString.length) break o; $var16.$hashCode1 = (31 * $var16.$hashCode1 | 0) + $var16.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } $par3 = $var16.$hashCode1; var$9 = $var20.$elementData.data; $var20 = var$9[$par3 & (var$9.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $par3) { p: { $var16_0 = $var20.$key; if ($var16 !== $var16_0) { if ($var16 === $var16_0) $par1 = 1; else if (!($var16_0 instanceof jl_String)) $par1 = 0; else { $var16_0 = $var16_0; $par1 = $var16.$nativeString !== $var16_0.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break p; } } $par1 = 1; } if ($par1) break; } $var20 = $var20.$next3; } } $var20 = $var20 === null ? null : $var20.$value1; $var20 = $var20.$copy(); $var16_0 = $var12.$tagMap; if ($var16 !== null) $var20.$name = $var16; else $var20.$name = $rt_s(18); ju_HashMap_putImpl($var16_0, $var16, $var20); } $var17_0.$stackTagCompound = $var12; } nms_Item_$callClinit(); $var17_0.$stackSize = nms_Item_itemsList.data[$var17_0.$itemID].$maxStackSize; $var6.$itemStack = $var17_0; break a; } $par4EntityPlayer = new jl_IndexOutOfBoundsException; $par4EntityPlayer.$suppressionEnabled = 1; $par4EntityPlayer.$writableStackTrace = 1; $rt_throw($par4EntityPlayer); } if ($par3 == 4 && $var6.$itemStack === null && $par1 >= 0) { $var12 = $this.$inventorySlots; if ($par1 >= 0 && $par1 < $var12.$size0) { $var16 = $var12.$array.data[$par1]; if ($var16 === null) break a; if (!$var16.$getHasStack()) break a; if (!$var16.$canTakeStack($par4EntityPlayer)) break a; $par1 = !$par2 ? 1 : ($var16.$getStack()).$stackSize; $ptr = 6; continue main; } $par4EntityPlayer = new jl_IndexOutOfBoundsException; $par4EntityPlayer.$suppressionEnabled = 1; $par4EntityPlayer.$writableStackTrace = 1; $rt_throw($par4EntityPlayer); } if ($par3 != 6) break a; if ($par1 < 0) break a; $var12 = $this.$inventorySlots; if ($par1 >= 0 && $par1 < $var12.$size0) { q: { r: { s: { $var16 = $var12.$array.data[$par1]; $var17_0 = $var6.$itemStack; if ($var17_0 !== null && !($var16 !== null && $var16.$getHasStack() && $var16.$canTakeStack($par4EntityPlayer))) { $var9 = !$par2 ? 0 : $this.$inventorySlots.$size0 - 1 | 0; $var19 = $par2 ? (-1) : 1; $var21 = 0; $var16 = null; while (true) { if ($var21 >= 2) break s; $var23 = $var9; while ($var23 >= 0) { $var12 = $this.$inventorySlots; $par1 = $rt_compare($var23, $var12.$size0); if ($par1 >= 0) break; $par2 = $var17_0.$stackSize; nms_Item_$callClinit(); if ($par2 >= nms_Item_itemsList.data[$var17_0.$itemID].$maxStackSize) break; if ($var23 < 0) break r; if ($par1 >= 0) break r; $var24 = $var12.$array.data[$var23]; if ($var24.$getHasStack() && nms_Container_func_94527_a($var24, $var17_0, 1) && $var24.$canTakeStack($par4EntityPlayer) && $this.$func_94530_a($var17_0, $var24)) { if ($var21) break q; $par1 = ($var24.$getStack()).$stackSize; $var12 = $var24.$getStack(); if ($par1 != nms_Item_itemsList.data[$var12.$itemID].$maxStackSize) break q; } $var23 = $var23 + $var19 | 0; } $var21 = $var21 + 1 | 0; } } } $this.$detectAndSendChanges(); break a; } $par4EntityPlayer = new jl_IndexOutOfBoundsException; $par4EntityPlayer.$suppressionEnabled = 1; $par4EntityPlayer.$writableStackTrace = 1; $rt_throw($par4EntityPlayer); } $var14 = nms_Item_itemsList.data[$var17_0.$itemID].$maxStackSize - $var17_0.$stackSize | 0; $var14_0 = ($var24.$getStack()).$stackSize; if ($var14 < $var14_0) $var14_0 = $var14; $ptr = 25; continue main; } $par4EntityPlayer = new jl_IndexOutOfBoundsException; $par4EntityPlayer.$suppressionEnabled = 1; $par4EntityPlayer.$writableStackTrace = 1; $rt_throw($par4EntityPlayer); } $var19 = $rt_compare($par1, (-999)); if (!$var19) { $var12 = $var6.$itemStack; if ($var12 === null) break a; if ($var19) break a; if (!$par2) { $par1 = 0; $ptr = 1; continue main; } if ($par2 != 1) break a; $var22 = $var6.$itemStack; $var20 = new nms_ItemStack; $par1 = $var22.$itemID; $par2 = $var22.$itemDamage; nms_ItemStack_$callClinit(); $var20.$itemID = $par1; $var20.$stackSize = 1; $var20.$itemDamage = $par2; if ($par2 < 0) $var20.$itemDamage = 0; $var16_0 = $var22.$stackTagCompound; if ($var16_0 !== null) { $var17_0 = new nms_NBTTagCompound; $var12 = $var16_0.$name; if ($var12 === null) $var12 = $rt_s(18); $var17_0.$name = $var12; $var12 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); $var12.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$9 = var$13.data; $var12.$elementData = var$13; $var12.$loadFactor = 0.75; $var12.$threshold = var$9.length * 0.75 | 0; $var17_0.$tagMap = $var12; $var16 = $var16_0.$tagMap; if ($var16.$cachedKeySet === null) { $var12 = new ju_HashMap$1; $var12.$this$0 = $var16; $var16.$cachedKeySet = $var12; } $var24 = $var16.$cachedKeySet.$iterator(); while ($var24.$hasNext()) { $var10 = $var24.$next(); $var12 = $var16_0.$tagMap; if ($var10 === null) { $var15 = $var12.$elementData.data[0]; while ($var15 !== null && $var15.$key !== null) { $var15 = $var15.$next3; } } else { t: { if (!$var10.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var10.$nativeString.length) break t; $var10.$hashCode1 = (31 * $var10.$hashCode1 | 0) + $var10.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } $par2 = $var10.$hashCode1; var$9 = $var12.$elementData.data; $var15 = var$9[$par2 & (var$9.length - 1 | 0)]; while ($var15 !== null) { if ($var15.$origKeyHash == $par2) { u: { $var12 = $var15.$key; if ($var10 !== $var12) { if ($var10 === $var12) $par1 = 1; else if (!($var12 instanceof jl_String)) $par1 = 0; else { $var12 = $var12; $par1 = $var10.$nativeString !== $var12.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break u; } } $par1 = 1; } if ($par1) break; } $var15 = $var15.$next3; } } $var12 = $var15 === null ? null : $var15.$value1; $var12 = $var12.$copy(); $var16 = $var17_0.$tagMap; if ($var10 !== null) $var12.$name = $var10; else $var12.$name = $rt_s(18); ju_HashMap_putImpl($var16, $var10, $var12); } $var20.$stackTagCompound = $var17_0; } $var22.$stackSize = $var22.$stackSize - 1 | 0; $par1 = 0; $ptr = 3; continue main; } if ($par3 == 1) { if ($par1 < 0) return null; $var12 = $this.$inventorySlots; if ($par1 >= 0 && $par1 < $var12.$size0) { $var16 = $var12.$array.data[$par1]; if ($var16 === null) break a; if (!$var16.$canTakeStack($par4EntityPlayer)) break a; $ptr = 2; continue main; } $par4EntityPlayer = new jl_IndexOutOfBoundsException; $par4EntityPlayer.$suppressionEnabled = 1; $par4EntityPlayer.$writableStackTrace = 1; $rt_throw($par4EntityPlayer); } if ($par1 < 0) return null; $var12 = $this.$inventorySlots; if ($par1 >= 0 && $par1 < $var12.$size0) { $var16_0 = $var12.$array.data[$par1]; if ($var16_0 !== null) { $var17_0 = $var16_0.$getStack(); $var20 = $var6.$itemStack; if ($var17_0 !== null) { $var5 = new nms_ItemStack; $par1 = $var17_0.$itemID; $par3 = $var17_0.$stackSize; $var19 = $var17_0.$itemDamage; nms_ItemStack_$callClinit(); $var5.$itemID = $par1; $var5.$stackSize = $par3; $var5.$itemDamage = $var19; if ($var19 < 0) $var5.$itemDamage = 0; $var24 = $var17_0.$stackTagCompound; if ($var24 !== null) { $var10 = new nms_NBTTagCompound; $var12 = $var24.$name; if ($var12 === null) $var12 = $rt_s(18); $var10.$name = $var12; $var12 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); $var12.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$13 = var$9.data; $var12.$elementData = var$9; $var12.$loadFactor = 0.75; $var12.$threshold = var$13.length * 0.75 | 0; $var10.$tagMap = $var12; $var12 = $var24.$tagMap; if ($var12.$cachedKeySet === null) { $var22 = new ju_HashMap$1; $var22.$this$0 = $var12; $var12.$cachedKeySet = $var22; } $var15 = $var12.$cachedKeySet.$iterator(); while ($var15.$hasNext()) { $var17 = $var15.$next(); $var12 = $var24.$tagMap; if ($var17 === null) { $var16 = $var12.$elementData.data[0]; while ($var16 !== null && $var16.$key !== null) { $var16 = $var16.$next3; } } else { v: { if (!$var17.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var17.$nativeString.length) break v; $var17.$hashCode1 = (31 * $var17.$hashCode1 | 0) + $var17.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } $par3 = $var17.$hashCode1; var$9 = $var12.$elementData.data; $var16 = var$9[$par3 & (var$9.length - 1 | 0)]; while ($var16 !== null) { if ($var16.$origKeyHash == $par3) { w: { $var12 = $var16.$key; if ($var17 !== $var12) { if ($var17 === $var12) $par1 = 1; else if (!($var12 instanceof jl_String)) $par1 = 0; else { $var12 = $var12; $par1 = $var17.$nativeString !== $var12.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break w; } } $par1 = 1; } if ($par1) break; } $var16 = $var16.$next3; } } $var12 = $var16 === null ? null : $var16.$value1; $var12 = $var12.$copy(); $var22 = $var10.$tagMap; if ($var17 !== null) $var12.$name = $var17; else $var12.$name = $rt_s(18); ju_HashMap_putImpl($var22, $var17, $var12); } $var5.$stackTagCompound = $var10; } } x: { if ($var17_0 === null) { if ($var20 === null) break x; if (!$var16_0.$isItemValid($var20)) break x; $var19 = $par2 ? 1 : $var20.$stackSize; if ($var19 > $var16_0.$getSlotStackLimit()) $var19 = $var16_0.$getSlotStackLimit(); if ($var20.$stackSize < $var19) { if ($var20.$stackSize) break x; $var6.$itemStack = null; break x; } $par4EntityPlayer = new nms_ItemStack; $par1 = $var20.$itemID; $par2 = $var20.$itemDamage; nms_ItemStack_$callClinit(); $par4EntityPlayer.$itemID = $par1; $par4EntityPlayer.$stackSize = $var19; $par4EntityPlayer.$itemDamage = $par2; if ($par2 < 0) $par4EntityPlayer.$itemDamage = 0; $var12 = $var20.$stackTagCompound; if ($var12 !== null) { $var22 = new nms_NBTTagCompound; $var16 = $var12.$name; if ($var16 === null) $var16 = $rt_s(18); $var22.$name = $var16; $var16 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); $var16.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$9 = var$13.data; $var16.$elementData = var$13; $var16.$loadFactor = 0.75; $var16.$threshold = var$9.length * 0.75 | 0; $var22.$tagMap = $var16; $var16 = $var12.$tagMap; if ($var16.$cachedKeySet === null) { $var17_0 = new ju_HashMap$1; $var17_0.$this$0 = $var16; $var16.$cachedKeySet = $var17_0; } $var16 = $var16.$cachedKeySet.$iterator(); while ($var16.$hasNext()) { $var17_0 = $var16.$next(); $var24 = $var12.$tagMap; if ($var17_0 === null) { $var24 = $var24.$elementData.data[0]; while ($var24 !== null && $var24.$key !== null) { $var24 = $var24.$next3; } } else { y: { if (!$var17_0.$hashCode1) { $par3 = 0; while (true) { if ($par3 >= $var17_0.$nativeString.length) break y; $var17_0.$hashCode1 = (31 * $var17_0.$hashCode1 | 0) + $var17_0.$nativeString.charCodeAt($par3) | 0; $par3 = $par3 + 1 | 0; } } } $par3 = $var17_0.$hashCode1; var$9 = $var24.$elementData.data; $var24 = var$9[$par3 & (var$9.length - 1 | 0)]; while ($var24 !== null) { if ($var24.$origKeyHash == $par3) { z: { $var10 = $var24.$key; if ($var17_0 !== $var10) { if ($var17_0 === $var10) $par1 = 1; else if (!($var10 instanceof jl_String)) $par1 = 0; else { $var10 = $var10; $par1 = $var17_0.$nativeString !== $var10.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break z; } } $par1 = 1; } if ($par1) break; } $var24 = $var24.$next3; } } $var24 = $var24 === null ? null : $var24.$value1; $var24 = $var24.$copy(); $var10 = $var22.$tagMap; if ($var17_0 !== null) $var24.$name = $var17_0; else $var24.$name = $rt_s(18); ju_HashMap_putImpl($var10, $var17_0, $var24); } $par4EntityPlayer.$stackTagCompound = $var22; } $var20.$stackSize = $var20.$stackSize - $var19 | 0; $ptr = 14; continue main; } if ($var16_0.$canTakeStack($par4EntityPlayer)) { if ($var20 === null) { $var19 = !$par2 ? $var17_0.$stackSize : ($var17_0.$stackSize + 1 | 0) / 2 | 0; $ptr = 9; continue main; } if (!$var16_0.$isItemValid($var20)) { $par1 = $var17_0.$itemID; $par2 = $var20.$itemID; if ($par1 != $par2) break x; nms_Item_$callClinit(); var$9 = nms_Item_itemsList.data; if (var$9[$par2].$maxStackSize <= 1) break x; if (var$9[$par1].$hasSubtypes && $var17_0.$itemDamage != $var20.$itemDamage) break x; if (!nms_ItemStack_areItemStackTagsEqual($var17_0, $var20)) break x; $var19 = $var17_0.$stackSize; if ($var19 <= 0) break x; $par1 = $var19 + $var20.$stackSize | 0; if ($par1 > nms_Item_itemsList.data[$var20.$itemID].$maxStackSize) break x; $var20.$stackSize = $par1; $ptr = 13; continue main; } if ($var17_0.$itemID == $var20.$itemID && $var17_0.$itemDamage == $var20.$itemDamage && nms_ItemStack_areItemStackTagsEqual($var17_0, $var20)) { $var19 = $par2 ? 1 : $var20.$stackSize; if ($var19 > ($var16_0.$getSlotStackLimit() - $var17_0.$stackSize | 0)) $var19 = $var16_0.$getSlotStackLimit() - $var17_0.$stackSize | 0; nms_Item_$callClinit(); var$9 = nms_Item_itemsList.data; $par3 = $var20.$itemID; $par2 = var$9[$par3].$maxStackSize; $par1 = $var17_0.$stackSize; if ($var19 > ($par2 - $par1 | 0)) $var19 = var$9[$par3].$maxStackSize - $par1 | 0; $par4EntityPlayer = $var20.$stackTagCompound; if ($par4EntityPlayer !== null) { $var10 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); $var10.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$9 = var$13.data; $var10.$elementData = var$13; $var10.$loadFactor = 0.75; $var10.$threshold = var$9.length * 0.75 | 0; $var12 = $par4EntityPlayer.$tagMap; if ($var12.$cachedKeySet === null) { $var22 = new ju_HashMap$1; $var22.$this$0 = $var12; $var12.$cachedKeySet = $var22; } $var12 = $var12.$cachedKeySet.$iterator(); while ($var12.$hasNext()) { $var22 = $var12.$next(); $var16 = $par4EntityPlayer.$tagMap; if ($var22 === null) { $var16 = $var16.$elementData.data[0]; while ($var16 !== null && $var16.$key !== null) { $var16 = $var16.$next3; } } else { ba: { if (!$var22.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var22.$nativeString.length) break ba; $var22.$hashCode1 = (31 * $var22.$hashCode1 | 0) + $var22.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } $par3 = $var22.$hashCode1; var$9 = $var16.$elementData.data; $var16 = var$9[$par3 & (var$9.length - 1 | 0)]; while ($var16 !== null) { if ($var16.$origKeyHash == $par3) { bb: { $var24 = $var16.$key; if ($var22 !== $var24) { if ($var22 === $var24) $par1 = 1; else if (!($var24 instanceof jl_String)) $par1 = 0; else { $var24 = $var24; $par1 = $var22.$nativeString !== $var24.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break bb; } } $par1 = 1; } if ($par1) break; } $var16 = $var16.$next3; } } $var16 = $var16 === null ? null : $var16.$value1; $var16 = $var16.$copy(); if ($var22 !== null) $var16.$name = $var22; else $var16.$name = $rt_s(18); ju_HashMap_putImpl($var10, $var22, $var16); } } $par1 = $var20.$stackSize - $var19 | 0; $var20.$stackSize = $par1; if (!$par1) $var6.$itemStack = null; $var17_0.$stackSize = $var17_0.$stackSize + $var19 | 0; } else if ($var20.$stackSize <= $var16_0.$getSlotStackLimit()) { $ptr = 10; continue main; } } } $ptr = 4; continue main; } } else { $par4EntityPlayer = new jl_IndexOutOfBoundsException; $par4EntityPlayer.$suppressionEnabled = 1; $par4EntityPlayer.$writableStackTrace = 1; $rt_throw($par4EntityPlayer); } } } return $var5; case 1: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par4EntityPlayer, $var12, $par1); if ($rt_suspending()) { break main; } $var6.$itemStack = null; if ($par2 != 1) return $var5; $var22 = $var6.$itemStack; $var20 = new nms_ItemStack; $par1 = $var22.$itemID; $par2 = $var22.$itemDamage; nms_ItemStack_$callClinit(); $var20.$itemID = $par1; $var20.$stackSize = 1; $var20.$itemDamage = $par2; if ($par2 < 0) $var20.$itemDamage = 0; $var16_0 = $var22.$stackTagCompound; if ($var16_0 !== null) { $var17_0 = new nms_NBTTagCompound; $var12 = $var16_0.$name; if ($var12 === null) $var12 = $rt_s(18); $var17_0.$name = $var12; $var12 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); $var12.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$9 = var$13.data; $var12.$elementData = var$13; $var12.$loadFactor = 0.75; $var12.$threshold = var$9.length * 0.75 | 0; $var17_0.$tagMap = $var12; $var16 = $var16_0.$tagMap; if ($var16.$cachedKeySet === null) { $var12 = new ju_HashMap$1; $var12.$this$0 = $var16; $var16.$cachedKeySet = $var12; } $var24 = $var16.$cachedKeySet.$iterator(); while ($var24.$hasNext()) { $var10 = $var24.$next(); $var12 = $var16_0.$tagMap; if ($var10 === null) { $var15 = $var12.$elementData.data[0]; while ($var15 !== null && $var15.$key !== null) { $var15 = $var15.$next3; } } else { bc: { if (!$var10.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var10.$nativeString.length) break bc; $var10.$hashCode1 = (31 * $var10.$hashCode1 | 0) + $var10.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } $par2 = $var10.$hashCode1; var$9 = $var12.$elementData.data; $var15 = var$9[$par2 & (var$9.length - 1 | 0)]; while ($var15 !== null) { if ($var15.$origKeyHash == $par2) { bd: { $var12 = $var15.$key; if ($var10 !== $var12) { if ($var10 === $var12) $par1 = 1; else if (!($var12 instanceof jl_String)) $par1 = 0; else { $var12 = $var12; $par1 = $var10.$nativeString !== $var12.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break bd; } } $par1 = 1; } if ($par1) break; } $var15 = $var15.$next3; } } $var12 = $var15 === null ? null : $var15.$value1; $var12 = $var12.$copy(); $var16 = $var17_0.$tagMap; if ($var10 !== null) $var12.$name = $var10; else $var12.$name = $rt_s(18); ju_HashMap_putImpl($var16, $var10, $var12); } $var20.$stackTagCompound = $var17_0; } $var22.$stackSize = $var22.$stackSize - 1 | 0; $par1 = 0; $ptr = 3; continue main; case 2: $tmp = $this.$transferStackInSlot($par4EntityPlayer, $par1); if ($rt_suspending()) { break main; } $var17_0 = $tmp; if ($var17_0 !== null) { $var9_0 = $var17_0.$itemID; $var5 = new nms_ItemStack; $par3 = $var17_0.$stackSize; $var19 = $var17_0.$itemDamage; nms_ItemStack_$callClinit(); $var5.$itemID = $var9_0; $var5.$stackSize = $par3; $var5.$itemDamage = $var19; if ($var19 < 0) $var5.$itemDamage = 0; $var20 = $var17_0.$stackTagCompound; if ($var20 !== null) { $var16_0 = new nms_NBTTagCompound; $var12 = $var20.$name; if ($var12 === null) $var12 = $rt_s(18); $var16_0.$name = $var12; $var12 = new ju_HashMap; $par3 = ju_HashMap_calculateCapacity(16); $var12.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, $par3); var$13 = var$9.data; $var12.$elementData = var$9; $var12.$loadFactor = 0.75; $var12.$threshold = var$13.length * 0.75 | 0; $var16_0.$tagMap = $var12; $var12 = $var20.$tagMap; if ($var12.$cachedKeySet === null) { $var22 = new ju_HashMap$1; $var22.$this$0 = $var12; $var12.$cachedKeySet = $var22; } $var17_0 = $var12.$cachedKeySet.$iterator(); while ($var17_0.$hasNext()) { $var24 = $var17_0.$next(); $var12 = $var20.$tagMap; if ($var24 === null) { $var10 = $var12.$elementData.data[0]; while ($var10 !== null && $var10.$key !== null) { $var10 = $var10.$next3; } } else { be: { if (!$var24.$hashCode1) { $par3 = 0; while (true) { if ($par3 >= $var24.$nativeString.length) break be; $var24.$hashCode1 = (31 * $var24.$hashCode1 | 0) + $var24.$nativeString.charCodeAt($par3) | 0; $par3 = $par3 + 1 | 0; } } } $var19 = $var24.$hashCode1; var$9 = $var12.$elementData.data; $var10 = var$9[$var19 & (var$9.length - 1 | 0)]; while ($var10 !== null) { if ($var10.$origKeyHash == $var19) { bf: { $var12 = $var10.$key; if ($var24 !== $var12) { if ($var24 === $var12) $par3 = 1; else if (!($var12 instanceof jl_String)) $par3 = 0; else { $var12 = $var12; $par3 = $var24.$nativeString !== $var12.$nativeString ? 0 : 1; } if (!$par3) { $par3 = 0; break bf; } } $par3 = 1; } if ($par3) break; } $var10 = $var10.$next3; } } $var12 = $var10 === null ? null : $var10.$value1; $var12 = $var12.$copy(); $var22 = $var16_0.$tagMap; if ($var24 !== null) $var12.$name = $var24; else $var12.$name = $rt_s(18); ju_HashMap_putImpl($var22, $var24, $var12); } $var5.$stackTagCompound = $var16_0; } if ($var16.$getStack() !== null && ($var16.$getStack()).$itemID == $var9_0) { $par3 = 1; $ptr = 5; continue main; } } return $var5; case 3: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par4EntityPlayer, $var20, $par1); if ($rt_suspending()) { break main; } if (!$var6.$itemStack.$stackSize) $var6.$itemStack = null; return $var5; case 4: $var16_0.$onSlotChanged(); if ($rt_suspending()) { break main; } return $var5; case 5: $this.$retrySlotClick($par1, $par2, $par3, $par4EntityPlayer); if ($rt_suspending()) { break main; } return $var5; case 6: $tmp = $var16.$decrStackSize0($par1); if ($rt_suspending()) { break main; } $var17_0 = $tmp; $ptr = 7; case 7: $var16.$onPickupFromSlot($par4EntityPlayer, $var17_0); if ($rt_suspending()) { break main; } $par1 = 0; $ptr = 8; case 8: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par4EntityPlayer, $var17_0, $par1); if ($rt_suspending()) { break main; } return $var5; case 9: $tmp = $var16_0.$decrStackSize0($var19); if ($rt_suspending()) { break main; } $var22 = $tmp; $var6.$itemStack = $var22; if (!$var17_0.$stackSize) { $var12 = null; $ptr = 12; continue main; } $var12 = $var6.$itemStack; $ptr = 11; continue main; case 10: $var16_0.$putStack($var20); if ($rt_suspending()) { break main; } $var6.$itemStack = $var17_0; $ptr = 4; continue main; case 11: $var16_0.$onPickupFromSlot($par4EntityPlayer, $var12); if ($rt_suspending()) { break main; } $ptr = 4; continue main; case 12: $var16_0.$putStack($var12); if ($rt_suspending()) { break main; } $var12 = $var6.$itemStack; $ptr = 11; continue main; case 13: $tmp = $var16_0.$decrStackSize0($var19); if ($rt_suspending()) { break main; } $var12 = $tmp; if (!$var12.$stackSize) { $var12 = null; $ptr = 17; continue main; } $var12 = $var6.$itemStack; $ptr = 16; continue main; case 14: $var16_0.$putStack($par4EntityPlayer); if ($rt_suspending()) { break main; } if (!$var20.$stackSize) $var6.$itemStack = null; $ptr = 4; continue main; case 15: $var16.$putStack($var17_1); if ($rt_suspending()) { break main; } return $var5; case 16: $var16_0.$onPickupFromSlot($par4EntityPlayer, $var12); if ($rt_suspending()) { break main; } $ptr = 4; continue main; case 17: $var16_0.$putStack($var12); if ($rt_suspending()) { break main; } $var12 = $var6.$itemStack; $ptr = 16; continue main; case 18: $var16.$decrStackSize0($par1); if ($rt_suspending()) { break main; } $ptr = 19; case 19: $var16.$putStack($var17_1); if ($rt_suspending()) { break main; } $ptr = 20; case 20: $var16.$onPickupFromSlot($par4EntityPlayer, $var22); if ($rt_suspending()) { break main; } return $var5; case 21: $var16.$decrStackSize0($par1); if ($rt_suspending()) { break main; } $var12 = null; $ptr = 22; case 22: $var16.$putStack($var12); if ($rt_suspending()) { break main; } $ptr = 23; case 23: $var16.$onPickupFromSlot($par4EntityPlayer, $var22); if ($rt_suspending()) { break main; } return $var5; case 24: $var11.$putStack($var12); if ($rt_suspending()) { break main; } while ($var10.$hasNext()) { $var11 = $var10.$next(); if ($var11 === null) continue; if (!nms_Container_func_94527_a($var11, $var6.$itemStack, 1)) continue; if (!$var11.$isItemValid($var6.$itemStack)) continue; if ($var6.$itemStack.$stackSize < $this.$field_94537_h.$backingMap.$elementCount) continue; if ($this.$canDragIntoSlot($var11)) { $var12 = new nms_ItemStack; $par1 = $var17.$itemID; $par2 = $var17.$stackSize; $par3 = $var17.$itemDamage; $var12.$itemID = $par1; $var12.$stackSize = $par2; $var12.$itemDamage = $par3; if ($par3 < 0) $var12.$itemDamage = 0; $par4EntityPlayer = $var17.$stackTagCompound; if ($par4EntityPlayer !== null) { $var22 = new nms_NBTTagCompound; $var16 = $par4EntityPlayer.$name; if ($var16 === null) $var16 = $rt_s(18); $var22.$name = $var16; $var16 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); $var16.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$9 = var$13.data; $var16.$elementData = var$13; $var16.$loadFactor = 0.75; $var16.$threshold = var$9.length * 0.75 | 0; $var22.$tagMap = $var16; $var16 = $par4EntityPlayer.$tagMap; if ($var16.$cachedKeySet === null) { $var20 = new ju_HashMap$1; $var20.$this$0 = $var16; $var16.$cachedKeySet = $var20; } $var16 = $var16.$cachedKeySet.$iterator(); while ($var16.$hasNext()) { $var20 = $var16.$next(); $var16_0 = $par4EntityPlayer.$tagMap; if ($var20 === null) { $var16_0 = $var16_0.$elementData.data[0]; while ($var16_0 !== null && $var16_0.$key !== null) { $var16_0 = $var16_0.$next3; } } else { bg: { if (!$var20.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var20.$nativeString.length) break bg; $var20.$hashCode1 = (31 * $var20.$hashCode1 | 0) + $var20.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } $par3 = $var20.$hashCode1; var$9 = $var16_0.$elementData.data; $var16_0 = var$9[$par3 & (var$9.length - 1 | 0)]; while ($var16_0 !== null) { if ($var16_0.$origKeyHash == $par3) { bh: { $var17_0 = $var16_0.$key; if ($var20 !== $var17_0) { if ($var20 === $var17_0) $par1 = 1; else if (!($var17_0 instanceof jl_String)) $par1 = 0; else { $var17_0 = $var17_0; $par1 = $var20.$nativeString !== $var17_0.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break bh; } } $par1 = 1; } if ($par1) break; } $var16_0 = $var16_0.$next3; } } $var16_0 = $var16_0 === null ? null : $var16_0.$value1; $var16_0 = $var16_0.$copy(); $var17_0 = $var22.$tagMap; if ($var20 !== null) $var16_0.$name = $var20; else $var16_0.$name = $rt_s(18); ju_HashMap_putImpl($var17_0, $var20, $var16_0); } $var12.$stackTagCompound = $var22; } $var13 = !$var11.$getHasStack() ? 0 : ($var11.$getStack()).$stackSize; bi: { $par4EntityPlayer = $this.$field_94537_h; switch ($this.$field_94535_f) { case 0: var$22 = $var12.$stackSize / $par4EntityPlayer.$backingMap.$elementCount; $par1 = var$22 | 0; if (var$22 < $par1) $par1 = $par1 - 1 | 0; $var12.$stackSize = $par1; break bi; case 1: break; default: break bi; } $var12.$stackSize = 1; } $par3 = $var12.$stackSize + $var13 | 0; $var12.$stackSize = $par3; nms_Item_$callClinit(); var$9 = nms_Item_itemsList.data; $par2 = $var12.$itemID; if ($par3 > var$9[$par2].$maxStackSize) $var12.$stackSize = var$9[$par2].$maxStackSize; if ($var12.$stackSize > $var11.$getSlotStackLimit()) $var12.$stackSize = $var11.$getSlotStackLimit(); $var9 = $var9 - ($var12.$stackSize - $var13 | 0) | 0; continue main; } } $var17.$stackSize = $var9; if ($var9 <= 0) $var17 = null; $var6.$itemStack = $var17; nms_Container_func_94533_d($this); return $var5; case 25: $tmp = $var24.$decrStackSize0($var14_0); if ($rt_suspending()) { break main; } $var15 = $tmp; $var17_0.$stackSize = $var17_0.$stackSize + $var14_0 | 0; if ($var15.$stackSize > 0) { $ptr = 26; continue main; } $ptr = 27; continue main; case 26: $var24.$onPickupFromSlot($par4EntityPlayer, $var15); if ($rt_suspending()) { break main; } bj: { a: { bk: while (true) { $var23 = $var23 + $var19 | 0; while (true) { if ($var23 >= 0) { $var12 = $this.$inventorySlots; $par1 = $rt_compare($var23, $var12.$size0); if ($par1 < 0) { $par2 = $var17_0.$stackSize; nms_Item_$callClinit(); if ($par2 < nms_Item_itemsList.data[$var17_0.$itemID].$maxStackSize) break; } } $var21 = $var21 + 1 | 0; if ($var21 >= 2) break bk; $var23 = $var9; } if ($var23 < 0) break a; if ($par1 >= 0) break a; $var24 = $var12.$array.data[$var23]; if (!$var24.$getHasStack()) continue; if (!nms_Container_func_94527_a($var24, $var17_0, 1)) continue; if (!$var24.$canTakeStack($par4EntityPlayer)) continue; if (!$this.$func_94530_a($var17_0, $var24)) continue; if ($var21) break bj; $par1 = ($var24.$getStack()).$stackSize; $var12 = $var24.$getStack(); if ($par1 == nms_Item_itemsList.data[$var12.$itemID].$maxStackSize) continue; else break bj; } $this.$detectAndSendChanges(); return $var5; } $par4EntityPlayer = new jl_IndexOutOfBoundsException; $par4EntityPlayer.$suppressionEnabled = 1; $par4EntityPlayer.$writableStackTrace = 1; $rt_throw($par4EntityPlayer); } $var14 = nms_Item_itemsList.data[$var17_0.$itemID].$maxStackSize - $var17_0.$stackSize | 0; $var14_0 = ($var24.$getStack()).$stackSize; if ($var14 < $var14_0) $var14_0 = $var14; $ptr = 25; continue main; case 27: $var24.$putStack($var16); if ($rt_suspending()) { break main; } $ptr = 26; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4EntityPlayer, $var5, $var6, $var7, $var12, var$9, $var8, $var17, $var22, var$13, $var16, $var20, $var16_0, $var9, $var10, $var11, $var17_0, $var13, var$22, $var17_1, $var18, $var19, $var24, $var15, $var21, $var23, $var14, $var14_0, $var9_0, $ptr); }, nms_Container_func_94530_a = ($this, $par1ItemStack, $par2Slot) => { return 1; }, nms_Container_retrySlotClick = ($this, $par1, $par2, $par3, $par4EntityPlayer) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par4EntityPlayer = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par3 = 1; $ptr = 1; case 1: nms_Container_slotClick($this, $par1, $par2, $par3, $par4EntityPlayer); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4EntityPlayer, $ptr); }, nms_Container_onContainerClosed = ($this, $par1EntityPlayer) => { let $var2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $par1EntityPlayer.$inventory; var$3 = $var2.$itemStack; if (var$3 === null) return; var$4 = 0; $ptr = 1; case 1: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, var$3, var$4); if ($rt_suspending()) { break main; } $var2.$itemStack = null; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var2, var$3, var$4, $ptr); }, nms_Container_onCraftMatrixChanged = ($this, $par1IInventory) => { nms_Container_detectAndSendChanges($this); }, nms_Container_putStackInSlot = ($this, $par1, $par2ItemStack) => { let var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$par2ItemStack = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$inventorySlots; if ($par1 >= 0 && $par1 < var$3.$size0) { var$3 = var$3.$array.data[$par1]; $ptr = 1; continue main; } $par2ItemStack = new jl_IndexOutOfBoundsException; $par2ItemStack.$suppressionEnabled = 1; $par2ItemStack.$writableStackTrace = 1; $rt_throw($par2ItemStack); case 1: var$3.$putStack($par2ItemStack); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2ItemStack, var$3, $ptr); }, nms_Container_putStacksInSlots = ($this, $par1ArrayOfItemStack) => { let $var2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1ArrayOfItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = 0; var$3 = $par1ArrayOfItemStack.data; if ($var2 >= var$3.length) return; var$4 = $this.$inventorySlots; if ($var2 >= 0 && $var2 < var$4.$size0) { var$4 = var$4.$array.data[$var2]; var$5 = var$3[$var2]; $ptr = 1; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); case 1: var$4.$putStack(var$5); if ($rt_suspending()) { break main; } $var2 = $var2 + 1 | 0; var$3 = $par1ArrayOfItemStack.data; if ($var2 >= var$3.length) return; var$4 = $this.$inventorySlots; if ($var2 >= 0 && $var2 < var$4.$size0) { var$4 = var$4.$array.data[$var2]; var$5 = var$3[$var2]; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ArrayOfItemStack, $var2, var$3, var$4, var$5, $ptr); }, nms_Container_updateProgressBar = ($this, $par1, $par2) => { return; }, nms_Container_getNextTransactionID = ($this, $par1InventoryPlayer) => { let var$2; var$2 = ($this.$transactionID + 1 | 0) << 16 >> 16; $this.$transactionID = var$2; return var$2; }, nms_Container_mergeItemStack = ($this, $par1ItemStack, $par2, $par3, $par4) => { let var$5, var$6, $var9, var$8, $var7, $var8, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$8 = $thread.pop();$var9 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = !$par4 ? $par2 : $par3 - 1 | 0; a: { b: { nms_Item_$callClinit(); var$6 = nms_Item_itemsList.data; $var9 = $par1ItemStack.$itemID; if (var$6[$var9].$maxStackSize > 1) { if (!(var$6[$var9].$maxDamage <= 0 ? 0 : 1)) break b; var$8 = var$6[$var9].$maxDamage <= 0 ? 0 : 1; if (!(var$8 && $par1ItemStack.$itemDamage > 0 ? 1 : 0)) break b; } var$8 = 0; break a; } var$8 = 1; } c: { if (var$8) { while (true) { if ($par1ItemStack.$stackSize <= 0) break c; if (!(!$par4 && var$5 < $par3)) { if (!$par4) break c; if (var$5 < $par2) break c; } $var7 = $this.$inventorySlots; if (var$5 < 0) break; if (var$5 >= $var7.$size0) break; $var7 = $var7.$array.data[var$5]; $var8 = $var7.$getStack(); if ($var8 !== null) { var$8 = $var8.$itemID; var$11 = $par1ItemStack.$itemID; if (var$8 == var$11 && !(nms_Item_itemsList.data[var$11].$hasSubtypes && $par1ItemStack.$itemDamage != $var8.$itemDamage) && nms_ItemStack_areItemStackTagsEqual($par1ItemStack, $var8)) { var$8 = $var8.$stackSize; var$11 = $par1ItemStack.$stackSize; $var9 = var$8 + var$11 | 0; var$6 = nms_Item_itemsList.data; var$12 = $par1ItemStack.$itemID; if ($var9 <= var$6[var$12].$maxStackSize) { $par1ItemStack.$stackSize = 0; $var8.$stackSize = $var9; $ptr = 3; continue main; } if (var$8 < var$6[var$12].$maxStackSize) { $par1ItemStack.$stackSize = var$11 - (var$6[var$12].$maxStackSize - var$8 | 0) | 0; $var8.$stackSize = var$6[var$12].$maxStackSize; $ptr = 4; continue main; } } } if (!$par4) { var$5 = var$5 + 1 | 0; continue; } var$5 = var$5 + (-1) | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } } d: { e: { if ($par1ItemStack.$stackSize > 0) { var$8 = !$par4 ? $par2 : $par3 - 1 | 0; while (true) { if (!(!$par4 && var$8 < $par3)) { if (!$par4) break e; if (var$8 < $par2) break; } $var7 = $this.$inventorySlots; if (var$8 < 0) break d; if (var$8 >= $var7.$size0) break d; $var7 = $var7.$array.data[var$8]; if ($var7.$getStack() === null) { $var8 = new nms_ItemStack; $par2 = $par1ItemStack.$itemID; $par3 = $par1ItemStack.$stackSize; $par4 = $par1ItemStack.$itemDamage; nms_ItemStack_$callClinit(); $var8.$itemID = $par2; $var8.$stackSize = $par3; $var8.$itemDamage = $par4; if ($par4 < 0) $var8.$itemDamage = 0; var$13 = $par1ItemStack.$stackTagCompound; if (var$13 !== null) { var$14 = new nms_NBTTagCompound; var$15 = var$13.$name; if (var$15 === null) var$15 = $rt_s(18); var$14.$name = var$15; var$15 = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$16 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$6 = var$16.data; var$15.$elementData = var$16; var$15.$loadFactor = 0.75; var$15.$threshold = var$6.length * 0.75 | 0; var$14.$tagMap = var$15; var$15 = var$13.$tagMap; if (var$15.$cachedKeySet === null) { var$17 = new ju_HashMap$1; var$17.$this$0 = var$15; var$15.$cachedKeySet = var$17; } var$15 = var$15.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$17 = var$15.$next(); var$18 = var$13.$tagMap; if (var$17 === null) { var$18 = var$18.$elementData.data[0]; while (var$18 !== null && var$18.$key !== null) { var$18 = var$18.$next3; } } else { f: { if (!var$17.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$17.$nativeString.length) break f; var$17.$hashCode1 = (31 * var$17.$hashCode1 | 0) + var$17.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = var$17.$hashCode1; var$6 = var$18.$elementData.data; var$18 = var$6[$par4 & (var$6.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == $par4) { g: { var$19 = var$18.$key; if (var$17 !== var$19) { if (var$17 === var$19) $par2 = 1; else if (!(var$19 instanceof jl_String)) $par2 = 0; else { var$19 = var$19; $par2 = var$17.$nativeString !== var$19.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break g; } } $par2 = 1; } if ($par2) break; } var$18 = var$18.$next3; } } var$18 = var$18 === null ? null : var$18.$value1; var$18 = var$18.$copy(); var$19 = var$14.$tagMap; if (var$17 !== null) var$18.$name = var$17; else var$18.$name = $rt_s(18); ju_HashMap_putImpl(var$19, var$17, var$18); } $var8.$stackTagCompound = var$14; } $ptr = 1; continue main; } if (!$par4) { var$8 = var$8 + 1 | 0; continue; } var$8 = var$8 + (-1) | 0; } } } return 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); case 1: $var7.$putStack($var8); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $var7.$onSlotChanged(); if ($rt_suspending()) { break main; } $par1ItemStack.$stackSize = 0; return 1; case 3: $var7.$onSlotChanged(); if ($rt_suspending()) { break main; } a: { while (true) { var$5 = !$par4 ? var$5 + 1 | 0 : var$5 + (-1) | 0; if ($par1ItemStack.$stackSize <= 0) break a; if (!(!$par4 && var$5 < $par3)) { if (!$par4) break a; if (var$5 < $par2) break a; } $var7 = $this.$inventorySlots; if (var$5 < 0) break; if (var$5 >= $var7.$size0) break; $var7 = $var7.$array.data[var$5]; $var8 = $var7.$getStack(); if ($var8 === null) continue; var$8 = $var8.$itemID; var$11 = $par1ItemStack.$itemID; if (var$8 != var$11) continue; if (nms_Item_itemsList.data[var$11].$hasSubtypes && $par1ItemStack.$itemDamage != $var8.$itemDamage) continue; if (!nms_ItemStack_areItemStackTagsEqual($par1ItemStack, $var8)) continue; var$8 = $var8.$stackSize; var$11 = $par1ItemStack.$stackSize; $var9 = var$8 + var$11 | 0; var$6 = nms_Item_itemsList.data; var$12 = $par1ItemStack.$itemID; if ($var9 <= var$6[var$12].$maxStackSize) { $par1ItemStack.$stackSize = 0; $var8.$stackSize = $var9; continue main; } if (var$8 < var$6[var$12].$maxStackSize) { $par1ItemStack.$stackSize = var$11 - (var$6[var$12].$maxStackSize - var$8 | 0) | 0; $var8.$stackSize = var$6[var$12].$maxStackSize; $ptr = 4; continue main; } } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } h: { i: { if ($par1ItemStack.$stackSize > 0) { var$8 = !$par4 ? $par2 : $par3 - 1 | 0; while (true) { if (!(!$par4 && var$8 < $par3)) { if (!$par4) break i; if (var$8 < $par2) break; } $var7 = $this.$inventorySlots; if (var$8 < 0) break h; if (var$8 >= $var7.$size0) break h; $var7 = $var7.$array.data[var$8]; if ($var7.$getStack() === null) { $var8 = new nms_ItemStack; $par2 = $par1ItemStack.$itemID; $par3 = $par1ItemStack.$stackSize; $par4 = $par1ItemStack.$itemDamage; nms_ItemStack_$callClinit(); $var8.$itemID = $par2; $var8.$stackSize = $par3; $var8.$itemDamage = $par4; if ($par4 < 0) $var8.$itemDamage = 0; var$13 = $par1ItemStack.$stackTagCompound; if (var$13 !== null) { var$14 = new nms_NBTTagCompound; var$15 = var$13.$name; if (var$15 === null) var$15 = $rt_s(18); var$14.$name = var$15; var$15 = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$16 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$6 = var$16.data; var$15.$elementData = var$16; var$15.$loadFactor = 0.75; var$15.$threshold = var$6.length * 0.75 | 0; var$14.$tagMap = var$15; var$15 = var$13.$tagMap; if (var$15.$cachedKeySet === null) { var$17 = new ju_HashMap$1; var$17.$this$0 = var$15; var$15.$cachedKeySet = var$17; } var$15 = var$15.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$17 = var$15.$next(); var$18 = var$13.$tagMap; if (var$17 === null) { var$18 = var$18.$elementData.data[0]; while (var$18 !== null && var$18.$key !== null) { var$18 = var$18.$next3; } } else { j: { if (!var$17.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$17.$nativeString.length) break j; var$17.$hashCode1 = (31 * var$17.$hashCode1 | 0) + var$17.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = var$17.$hashCode1; var$6 = var$18.$elementData.data; var$18 = var$6[$par4 & (var$6.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == $par4) { k: { var$19 = var$18.$key; if (var$17 !== var$19) { if (var$17 === var$19) $par2 = 1; else if (!(var$19 instanceof jl_String)) $par2 = 0; else { var$19 = var$19; $par2 = var$17.$nativeString !== var$19.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break k; } } $par2 = 1; } if ($par2) break; } var$18 = var$18.$next3; } } var$18 = var$18 === null ? null : var$18.$value1; var$18 = var$18.$copy(); var$19 = var$14.$tagMap; if (var$17 !== null) var$18.$name = var$17; else var$18.$name = $rt_s(18); ju_HashMap_putImpl(var$19, var$17, var$18); } $var8.$stackTagCompound = var$14; } $ptr = 1; continue main; } if (!$par4) { var$8 = var$8 + 1 | 0; continue; } var$8 = var$8 + (-1) | 0; } } } return 1; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); case 4: $var7.$onSlotChanged(); if ($rt_suspending()) { break main; } a: { while (true) { var$5 = !$par4 ? var$5 + 1 | 0 : var$5 + (-1) | 0; if ($par1ItemStack.$stackSize <= 0) break a; if (!(!$par4 && var$5 < $par3)) { if (!$par4) break a; if (var$5 < $par2) break a; } $var7 = $this.$inventorySlots; if (var$5 < 0) break; if (var$5 >= $var7.$size0) break; $var7 = $var7.$array.data[var$5]; $var8 = $var7.$getStack(); if ($var8 === null) continue; var$8 = $var8.$itemID; var$11 = $par1ItemStack.$itemID; if (var$8 != var$11) continue; if (nms_Item_itemsList.data[var$11].$hasSubtypes && $par1ItemStack.$itemDamage != $var8.$itemDamage) continue; if (!nms_ItemStack_areItemStackTagsEqual($par1ItemStack, $var8)) continue; var$8 = $var8.$stackSize; var$11 = $par1ItemStack.$stackSize; $var9 = var$8 + var$11 | 0; var$6 = nms_Item_itemsList.data; var$12 = $par1ItemStack.$itemID; if ($var9 <= var$6[var$12].$maxStackSize) { $par1ItemStack.$stackSize = 0; $var8.$stackSize = $var9; $ptr = 3; continue main; } if (var$8 < var$6[var$12].$maxStackSize) { $par1ItemStack.$stackSize = var$11 - (var$6[var$12].$maxStackSize - var$8 | 0) | 0; $var8.$stackSize = var$6[var$12].$maxStackSize; continue main; } } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } h: { i: { if ($par1ItemStack.$stackSize > 0) { var$8 = !$par4 ? $par2 : $par3 - 1 | 0; while (true) { if (!(!$par4 && var$8 < $par3)) { if (!$par4) break i; if (var$8 < $par2) break; } $var7 = $this.$inventorySlots; if (var$8 < 0) break h; if (var$8 >= $var7.$size0) break h; $var7 = $var7.$array.data[var$8]; if ($var7.$getStack() === null) { $var8 = new nms_ItemStack; $par2 = $par1ItemStack.$itemID; $par3 = $par1ItemStack.$stackSize; $par4 = $par1ItemStack.$itemDamage; nms_ItemStack_$callClinit(); $var8.$itemID = $par2; $var8.$stackSize = $par3; $var8.$itemDamage = $par4; if ($par4 < 0) $var8.$itemDamage = 0; var$13 = $par1ItemStack.$stackTagCompound; if (var$13 !== null) { var$14 = new nms_NBTTagCompound; var$15 = var$13.$name; if (var$15 === null) var$15 = $rt_s(18); var$14.$name = var$15; var$15 = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$16 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$6 = var$16.data; var$15.$elementData = var$16; var$15.$loadFactor = 0.75; var$15.$threshold = var$6.length * 0.75 | 0; var$14.$tagMap = var$15; var$15 = var$13.$tagMap; if (var$15.$cachedKeySet === null) { var$17 = new ju_HashMap$1; var$17.$this$0 = var$15; var$15.$cachedKeySet = var$17; } var$15 = var$15.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$17 = var$15.$next(); var$18 = var$13.$tagMap; if (var$17 === null) { var$18 = var$18.$elementData.data[0]; while (var$18 !== null && var$18.$key !== null) { var$18 = var$18.$next3; } } else { j: { if (!var$17.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$17.$nativeString.length) break j; var$17.$hashCode1 = (31 * var$17.$hashCode1 | 0) + var$17.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = var$17.$hashCode1; var$6 = var$18.$elementData.data; var$18 = var$6[$par4 & (var$6.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == $par4) { k: { var$19 = var$18.$key; if (var$17 !== var$19) { if (var$17 === var$19) $par2 = 1; else if (!(var$19 instanceof jl_String)) $par2 = 0; else { var$19 = var$19; $par2 = var$17.$nativeString !== var$19.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break k; } } $par2 = 1; } if ($par2) break; } var$18 = var$18.$next3; } } var$18 = var$18 === null ? null : var$18.$value1; var$18 = var$18.$copy(); var$19 = var$14.$tagMap; if (var$17 !== null) var$18.$name = var$17; else var$18.$name = $rt_s(18); ju_HashMap_putImpl(var$19, var$17, var$18); } $var8.$stackTagCompound = var$14; } $ptr = 1; continue main; } if (!$par4) { var$8 = var$8 + 1 | 0; continue; } var$8 = var$8 + (-1) | 0; } } } return 1; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2, $par3, $par4, var$5, var$6, $var9, var$8, $var7, $var8, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_Container_func_94533_d = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; $this.$field_94536_g = 0; var$1 = $this.$field_94537_h.$backingMap; if (var$1.$elementCount > 0) { var$1.$elementCount = 0; var$2 = var$1.$elementData.data; var$3 = null; var$4 = 0; var$5 = var$2.length; if (var$4 > var$5) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } while (var$4 < var$5) { var$6 = var$4 + 1 | 0; var$2[var$4] = var$3; var$4 = var$6; } var$1.$modCount0 = var$1.$modCount0 + 1 | 0; } }, nms_Container_func_94527_a = ($par0Slot, $par1ItemStack, $par2) => { let $var3, var$5, $var10002; $var3 = $par0Slot !== null && $par0Slot.$getHasStack() ? 0 : 1; if ($par0Slot !== null && $par0Slot.$getHasStack() && $par1ItemStack !== null) { var$5 = $par0Slot.$getStack(); if (($par1ItemStack.$itemID == var$5.$itemID && $par1ItemStack.$itemDamage == var$5.$itemDamage ? 1 : 0) && nms_ItemStack_areItemStackTagsEqual($par0Slot.$getStack(), $par1ItemStack)) { $var10002 = !$par2 ? $par1ItemStack.$stackSize : 0; $var10002 = ($par0Slot.$getStack()).$stackSize + $var10002 | 0; nms_Item_$callClinit(); $var3 = $var3 | ($var10002 > nms_Item_itemsList.data[$par1ItemStack.$itemID].$maxStackSize ? 0 : 1); } } return $var3; }, nms_Container_canDragIntoSlot = ($this, $par1Slot) => { return 1; }, nms_Container_calcRedstoneFromInventory = $par0IInventory => { let $var1, $var2, $var3, $var4, var$6, var$7, var$8; if ($par0IInventory === null) return 0; $var1 = 0; $var2 = 0.0; $var3 = 0; while ($var3 < $par0IInventory.$getSizeInventory()) { $var4 = $par0IInventory.$getStackInSlot($var3); if ($var4 !== null) { var$6 = $var4.$stackSize; var$7 = $par0IInventory.$getInventoryStackLimit(); nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[$var4.$itemID].$maxStackSize; if (var$7 < var$8) var$8 = var$7; $var2 = $var2 + var$6 / var$8; $var1 = $var1 + 1 | 0; } $var3 = $var3 + 1 | 0; } $var2 = $var2 / $par0IInventory.$getSizeInventory() * 14.0; $var3 = $var2 | 0; if ($var2 < $var3) $var3 = $var3 - 1 | 0; return $var3 + ($var1 <= 0 ? 0 : 1) | 0; }, nms_EntityList = $rt_classWithoutFields(), nms_EntityList_stringToClassMapping = null, nms_EntityList_stringToConstructorMapping = null, nms_EntityList_classToStringMapping = null, nms_EntityList_IDtoClassMapping = null, nms_EntityList_IDtoConstructorMapping = null, nms_EntityList_classToIDMapping = null, nms_EntityList_stringToIDMapping = null, nms_EntityList_entityEggs = null, nms_EntityList_$callClinit = () => { nms_EntityList_$callClinit = $rt_eraseClinit(nms_EntityList); nms_EntityList__clinit_(); }, nms_EntityList__init_ = $this => { nms_EntityList_$callClinit(); }, nms_EntityList__init_0 = () => { let var_0 = new nms_EntityList(); nms_EntityList__init_(var_0); return var_0; }, nms_EntityList_addMapping0 = ($par0Class, $construst, $par1Str, $par2) => { let var$5, var$6, var$7; nms_EntityList_$callClinit(); ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $par1Str, $par0Class); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $par1Str, $construst); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $par0Class, $par1Str); var$5 = nms_EntityList_IDtoClassMapping; var$6 = $rt_compare($par2, (-128)); if (var$6 >= 0 && $par2 <= 127) { jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[$par2 + 128 | 0]; } else { var$7 = new jl_Integer; var$7.$value0 = $par2; } ju_HashMap_putImpl(var$5, var$7, $par0Class); var$5 = nms_EntityList_IDtoConstructorMapping; if (var$6 >= 0 && $par2 <= 127) { jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[$par2 + 128 | 0]; } else { var$7 = new jl_Integer; var$7.$value0 = $par2; } ju_HashMap_putImpl(var$5, var$7, $construst); $construst = nms_EntityList_classToIDMapping; if (var$6 >= 0 && $par2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$par2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $par2; } ju_HashMap_putImpl($construst, $par0Class, var$5); $par0Class = nms_EntityList_stringToIDMapping; if (var$6 >= 0 && $par2 <= 127) { jl_Integer_ensureIntegerCache(); $construst = jl_Integer_integerCache.data[$par2 + 128 | 0]; } else { $construst = new jl_Integer; $construst.$value0 = $par2; } ju_HashMap_putImpl($par0Class, $par1Str, $construst); }, nms_EntityList_addMapping = ($par0Class, $construst, $par1Str, $par2, $par3, $par4) => { let var$7, var$8, var$9; nms_EntityList_$callClinit(); ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $par1Str, $par0Class); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $par1Str, $construst); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $par0Class, $par1Str); var$7 = nms_EntityList_IDtoClassMapping; var$8 = $rt_compare($par2, (-128)); if (var$8 >= 0 && $par2 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$par2 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $par2; } ju_HashMap_putImpl(var$7, var$9, $par0Class); var$9 = nms_EntityList_IDtoConstructorMapping; if (var$8 >= 0 && $par2 <= 127) { jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[$par2 + 128 | 0]; } else { var$7 = new jl_Integer; var$7.$value0 = $par2; } ju_HashMap_putImpl(var$9, var$7, $construst); $construst = nms_EntityList_classToIDMapping; if (var$8 >= 0 && $par2 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$par2 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $par2; } ju_HashMap_putImpl($construst, $par0Class, var$9); $par0Class = nms_EntityList_stringToIDMapping; if (var$8 >= 0 && $par2 <= 127) { jl_Integer_ensureIntegerCache(); $construst = jl_Integer_integerCache.data[$par2 + 128 | 0]; } else { $construst = new jl_Integer; $construst.$value0 = $par2; } ju_HashMap_putImpl($par0Class, $par1Str, $construst); $par0Class = nms_EntityList_entityEggs; if (var$8 >= 0 && $par2 <= 127) { jl_Integer_ensureIntegerCache(); $construst = jl_Integer_integerCache.data[$par2 + 128 | 0]; } else { $construst = new jl_Integer; $construst.$value0 = $par2; } $par1Str = new nms_EntityEggInfo; $par1Str.$spawnedID = $par2; $par1Str.$primaryColor = $par3; $par1Str.$secondaryColor = $par4; $par4 = $par0Class.$elementCount; ju_LinkedHashMap_putImpl($par0Class, $construst, $par1Str, 0, $par0Class.$accessOrder); }, nms_EntityList__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_EntityList_stringToClassMapping = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_EntityList_stringToConstructorMapping = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_EntityList_classToStringMapping = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_EntityList_IDtoClassMapping = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_EntityList_IDtoConstructorMapping = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_EntityList_classToIDMapping = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_EntityList_stringToIDMapping = var$1; nms_EntityList_entityEggs = ju_LinkedHashMap__init_(); var$5 = new nms_EntityList$_clinit_$lambda$_63_0; nms_EntityList_$callClinit(); ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2062), $rt_cls(nms_EntityItem)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2062), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityItem), $rt_s(2062)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[129], $rt_cls(nms_EntityItem)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[129], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityItem), jl_Integer_integerCache.data[129]); var$7 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$7, $rt_s(2062), jl_Integer_integerCache.data[129]); var$5 = new nms_EntityList$_clinit_$lambda$_63_1; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2715), $rt_cls(nms_EntityXPOrb)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2715), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityXPOrb), $rt_s(2715)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[130], $rt_cls(nms_EntityXPOrb)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[130], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityXPOrb), jl_Integer_integerCache.data[130]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2715), jl_Integer_integerCache.data[130]); var$5 = new nms_EntityList$_clinit_$lambda$_63_2; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2716), $rt_cls(nms_EntityPainting)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2716), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityPainting), $rt_s(2716)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[137], $rt_cls(nms_EntityPainting)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[137], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityPainting), jl_Integer_integerCache.data[137]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2716), jl_Integer_integerCache.data[137]); var$5 = new nms_EntityList$_clinit_$lambda$_63_3; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2717), $rt_cls(nms_EntityArrow)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2717), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityArrow), $rt_s(2717)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[138], $rt_cls(nms_EntityArrow)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[138], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityArrow), jl_Integer_integerCache.data[138]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2717), jl_Integer_integerCache.data[138]); var$5 = new nms_EntityList$_clinit_$lambda$_63_4; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2718), $rt_cls(nms_EntitySnowball)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2718), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntitySnowball), $rt_s(2718)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[139], $rt_cls(nms_EntitySnowball)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[139], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntitySnowball), jl_Integer_integerCache.data[139]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2718), jl_Integer_integerCache.data[139]); var$5 = new nms_EntityList$_clinit_$lambda$_63_5; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2719), $rt_cls(nms_EntityLargeFireball)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2719), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityLargeFireball), $rt_s(2719)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[140], $rt_cls(nms_EntityLargeFireball)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[140], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityLargeFireball), jl_Integer_integerCache.data[140]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2719), jl_Integer_integerCache.data[140]); var$5 = new nms_EntityList$_clinit_$lambda$_63_6; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2720), $rt_cls(nms_EntitySmallFireball)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2720), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntitySmallFireball), $rt_s(2720)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[141], $rt_cls(nms_EntitySmallFireball)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[141], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntitySmallFireball), jl_Integer_integerCache.data[141]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2720), jl_Integer_integerCache.data[141]); var$5 = new nms_EntityList$_clinit_$lambda$_63_7; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2721), $rt_cls(nms_EntityEnderPearl)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2721), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityEnderPearl), $rt_s(2721)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[142], $rt_cls(nms_EntityEnderPearl)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[142], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityEnderPearl), jl_Integer_integerCache.data[142]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2721), jl_Integer_integerCache.data[142]); var$5 = new nms_EntityList$_clinit_$lambda$_63_8; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2722), $rt_cls(nms_EntityEnderEye)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2722), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityEnderEye), $rt_s(2722)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[143], $rt_cls(nms_EntityEnderEye)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[143], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityEnderEye), jl_Integer_integerCache.data[143]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2722), jl_Integer_integerCache.data[143]); var$5 = new nms_EntityList$_clinit_$lambda$_63_9; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2723), $rt_cls(nms_EntityPotion)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2723), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityPotion), $rt_s(2723)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[144], $rt_cls(nms_EntityPotion)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[144], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityPotion), jl_Integer_integerCache.data[144]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2723), jl_Integer_integerCache.data[144]); var$5 = new nms_EntityList$_clinit_$lambda$_63_10; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2724), $rt_cls(nms_EntityExpBottle)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2724), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityExpBottle), $rt_s(2724)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[145], $rt_cls(nms_EntityExpBottle)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[145], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityExpBottle), jl_Integer_integerCache.data[145]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2724), jl_Integer_integerCache.data[145]); var$5 = new nms_EntityList$_clinit_$lambda$_63_11; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2725), $rt_cls(nms_EntityItemFrame)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2725), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityItemFrame), $rt_s(2725)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[146], $rt_cls(nms_EntityItemFrame)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[146], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityItemFrame), jl_Integer_integerCache.data[146]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2725), jl_Integer_integerCache.data[146]); var$5 = new nms_EntityList$_clinit_$lambda$_63_12; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2726), $rt_cls(nms_EntityWitherSkull)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2726), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityWitherSkull), $rt_s(2726)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[147], $rt_cls(nms_EntityWitherSkull)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[147], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityWitherSkull), jl_Integer_integerCache.data[147]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2726), jl_Integer_integerCache.data[147]); var$5 = new nms_EntityList$_clinit_$lambda$_63_13; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2727), $rt_cls(nms_EntityTNTPrimed)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2727), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityTNTPrimed), $rt_s(2727)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[148], $rt_cls(nms_EntityTNTPrimed)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[148], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityTNTPrimed), jl_Integer_integerCache.data[148]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2727), jl_Integer_integerCache.data[148]); var$5 = new nms_EntityList$_clinit_$lambda$_63_14; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2728), $rt_cls(nms_EntityFallingSand)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2728), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityFallingSand), $rt_s(2728)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[149], $rt_cls(nms_EntityFallingSand)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[149], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityFallingSand), jl_Integer_integerCache.data[149]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2728), jl_Integer_integerCache.data[149]); var$5 = new nms_EntityList$_clinit_$lambda$_63_15; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2729), $rt_cls(nms_EntityFireworkRocket)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2729), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityFireworkRocket), $rt_s(2729)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[150], $rt_cls(nms_EntityFireworkRocket)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[150], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityFireworkRocket), jl_Integer_integerCache.data[150]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2729), jl_Integer_integerCache.data[150]); var$5 = new nms_EntityList$_clinit_$lambda$_63_16; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2730), $rt_cls(nms_EntityBoat)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2730), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityBoat), $rt_s(2730)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[169], $rt_cls(nms_EntityBoat)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[169], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityBoat), jl_Integer_integerCache.data[169]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2730), jl_Integer_integerCache.data[169]); var$5 = new nms_EntityList$_clinit_$lambda$_63_17; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2731), $rt_cls(nms_EntityMinecartEmpty)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2731), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityMinecartEmpty), $rt_s(2731)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[170], $rt_cls(nms_EntityMinecartEmpty)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[170], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityMinecartEmpty), jl_Integer_integerCache.data[170]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2731), jl_Integer_integerCache.data[170]); var$5 = new nms_EntityList$_clinit_$lambda$_63_18; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2732), $rt_cls(nms_EntityMinecartChest)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2732), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityMinecartChest), $rt_s(2732)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[171], $rt_cls(nms_EntityMinecartChest)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[171], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityMinecartChest), jl_Integer_integerCache.data[171]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2732), jl_Integer_integerCache.data[171]); var$5 = new nms_EntityList$_clinit_$lambda$_63_19; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2733), $rt_cls(nms_EntityMinecartFurnace)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2733), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityMinecartFurnace), $rt_s(2733)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[172], $rt_cls(nms_EntityMinecartFurnace)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[172], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityMinecartFurnace), jl_Integer_integerCache.data[172]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2733), jl_Integer_integerCache.data[172]); var$5 = new nms_EntityList$_clinit_$lambda$_63_20; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2734), $rt_cls(nms_EntityMinecartTNT)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2734), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityMinecartTNT), $rt_s(2734)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[173], $rt_cls(nms_EntityMinecartTNT)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[173], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityMinecartTNT), jl_Integer_integerCache.data[173]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2734), jl_Integer_integerCache.data[173]); var$5 = new nms_EntityList$_clinit_$lambda$_63_21; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2735), $rt_cls(nms_EntityMinecartHopper)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2735), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityMinecartHopper), $rt_s(2735)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[174], $rt_cls(nms_EntityMinecartHopper)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[174], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityMinecartHopper), jl_Integer_integerCache.data[174]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_s(2735), jl_Integer_integerCache.data[174]); var$5 = new nms_EntityList$_clinit_$lambda$_63_22; ju_HashMap_putImpl(nms_EntityList_stringToClassMapping, $rt_s(2736), $rt_cls(nms_EntityMinecartMobSpawner)); ju_HashMap_putImpl(nms_EntityList_stringToConstructorMapping, $rt_s(2736), var$5); ju_HashMap_putImpl(nms_EntityList_classToStringMapping, $rt_cls(nms_EntityMinecartMobSpawner), $rt_s(2736)); var$6 = nms_EntityList_IDtoClassMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[175], $rt_cls(nms_EntityMinecartMobSpawner)); var$6 = nms_EntityList_IDtoConstructorMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$6, jl_Integer_integerCache.data[175], var$5); var$5 = nms_EntityList_classToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$5, $rt_cls(nms_EntityMinecartMobSpawner), jl_Integer_integerCache.data[175]); var$1 = nms_EntityList_stringToIDMapping; jl_Integer_ensureIntegerCache(); ju_HashMap_put(var$1, $rt_s(2736), jl_Integer_integerCache.data[175]); nms_EntityList_addMapping($rt_cls(nms_EntityCreeper), new nms_EntityList$_clinit_$lambda$_63_23, $rt_s(688), 50, 894731, 0); nms_EntityList_addMapping($rt_cls(nms_EntitySkeleton), new nms_EntityList$_clinit_$lambda$_63_24, $rt_s(681), 51, 12698049, 4802889); nms_EntityList_addMapping($rt_cls(nms_EntitySpider), new nms_EntityList$_clinit_$lambda$_63_25, $rt_s(2737), 52, 3419431, 11013646); nms_EntityList_addMapping0($rt_cls(nms_EntityGiantZombie), new nms_EntityList$_clinit_$lambda$_63_26, $rt_s(2738), 53); nms_EntityList_addMapping($rt_cls(nms_EntityZombie), new nms_EntityList$_clinit_$lambda$_63_27, $rt_s(689), 54, 44975, 7969893); nms_EntityList_addMapping($rt_cls(nms_EntitySlime), new nms_EntityList$_clinit_$lambda$_63_28, $rt_s(684), 55, 5349438, 8306542); nms_EntityList_addMapping($rt_cls(nms_EntityGhast), new nms_EntityList$_clinit_$lambda$_63_29, $rt_s(2739), 56, 16382457, 12369084); nms_EntityList_addMapping($rt_cls(nms_EntityPigZombie), new nms_EntityList$_clinit_$lambda$_63_30, $rt_s(2740), 57, 15373203, 5009705); nms_EntityList_addMapping($rt_cls(nms_EntityEnderman), new nms_EntityList$_clinit_$lambda$_63_31, $rt_s(680), 58, 1447446, 0); nms_EntityList_addMapping($rt_cls(nms_EntityCaveSpider), new nms_EntityList$_clinit_$lambda$_63_32, $rt_s(2741), 59, 803406, 11013646); nms_EntityList_addMapping($rt_cls(nms_EntitySilverfish), new nms_EntityList$_clinit_$lambda$_63_33, $rt_s(2742), 60, 7237230, 3158064); nms_EntityList_addMapping($rt_cls(nms_EntityBlaze), new nms_EntityList$_clinit_$lambda$_63_34, $rt_s(682), 61, 16167425, 16775294); nms_EntityList_addMapping($rt_cls(nms_EntityMagmaCube), new nms_EntityList$_clinit_$lambda$_63_35, $rt_s(2743), 62, 3407872, 16579584); nms_EntityList_addMapping0($rt_cls(nms_EntityDragon), new nms_EntityList$_clinit_$lambda$_63_36, $rt_s(2744), 63); nms_EntityList_addMapping0($rt_cls(nms_EntityWither), new nms_EntityList$_clinit_$lambda$_63_37, $rt_s(2745), 64); nms_EntityList_addMapping($rt_cls(nms_EntityBat), new nms_EntityList$_clinit_$lambda$_63_38, $rt_s(2746), 65, 4996656, 986895); nms_EntityList_addMapping($rt_cls(nms_EntityWitch), new nms_EntityList$_clinit_$lambda$_63_39, $rt_s(2747), 66, 3407872, 5349438); nms_EntityList_addMapping($rt_cls(nms_EntityPig), new nms_EntityList$_clinit_$lambda$_63_40, $rt_s(690), 90, 15771042, 14377823); nms_EntityList_addMapping($rt_cls(nms_EntitySheep), new nms_EntityList$_clinit_$lambda$_63_41, $rt_s(2748), 91, 15198183, 16758197); nms_EntityList_addMapping($rt_cls(nms_EntityCow), new nms_EntityList$_clinit_$lambda$_63_42, $rt_s(2749), 92, 4470310, 10592673); nms_EntityList_addMapping($rt_cls(nms_EntityChicken), new nms_EntityList$_clinit_$lambda$_63_43, $rt_s(2750), 93, 10592673, 16711680); nms_EntityList_addMapping($rt_cls(nms_EntitySquid), new nms_EntityList$_clinit_$lambda$_63_44, $rt_s(691), 94, 2243405, 7375001); nms_EntityList_addMapping($rt_cls(nms_EntityWolf), new nms_EntityList$_clinit_$lambda$_63_45, $rt_s(2751), 95, 14144467, 13545366); nms_EntityList_addMapping($rt_cls(nms_EntityMooshroom), new nms_EntityList$_clinit_$lambda$_63_46, $rt_s(2752), 96, 10489616, 12040119); nms_EntityList_addMapping0($rt_cls(nms_EntitySnowman), new nms_EntityList$_clinit_$lambda$_63_47, $rt_s(2753), 97); nms_EntityList_addMapping($rt_cls(nms_EntityOcelot), new nms_EntityList$_clinit_$lambda$_63_48, $rt_s(2754), 98, 15720061, 5653556); nms_EntityList_addMapping0($rt_cls(nms_EntityIronGolem), new nms_EntityList$_clinit_$lambda$_63_49, $rt_s(2755), 99); nms_EntityList_addMapping($rt_cls(nms_EntityHorse), new nms_EntityList$_clinit_$lambda$_63_50, $rt_s(2756), 100, 12623485, 15656192); nms_EntityList_addMapping($rt_cls(nms_EntityVillager), new nms_EntityList$_clinit_$lambda$_63_51, $rt_s(693), 120, 5651507, 12422002); nms_EntityList_addMapping0($rt_cls(nms_EntityEnderCrystal), new nms_EntityList$_clinit_$lambda$_63_52, $rt_s(2757), 200); }, nms_ITexturePack = $rt_classWithoutFields(0); function nms_TexturePackImplementation() { let a = this; jl_Object.call(a); a.$texturePackID = null; a.$texturePackFileName = null; a.$texturePackFile = null; a.$firstDescriptionLine = null; a.$secondDescriptionLine = null; a.$field_98141_g = null; a.$thumbnailImage = null; a.$thumbnailTextureName = 0; } let nms_TexturePackImplementation_trimStringToGUIWidth = $par0Str => { if ($par0Str !== null && $par0Str.$nativeString.length > 34) $par0Str = jl_String_substring($par0Str, 0, 34); return $par0Str; }, nms_TexturePackImplementation_loadDescription = $this => { let $var1, $var2, var$3, var$4, var$5, var$6, var$7, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = null; $var2 = null; a: { try { var$3 = $var2; var$4 = $var1; var$5 = $rt_s(2758); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else{ $var1 = $$je; break a; } } b: { try { if ($var2 !== null) ji_BufferedReader_close($var2); if ($var1 !== null) nle_EaglerInputStream_close($var1); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } return; } c: { try { if (var$3 !== null) ji_BufferedReader_close(var$3); if (var$4 !== null) nle_EaglerInputStream_close(var$4); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $rt_throw($var1); case 1: b: { d: { try { $tmp = $this.$func_98139_b(var$5); if ($rt_suspending()) { break main; } var$6 = $tmp; $var1 = var$6; var$4 = var$6; var$7 = new ji_BufferedReader; $var2 = var$7; var$3 = var$7; ji_BufferedReader__init_(var$7, ji_InputStreamReader__init_3(var$6)); $this.$firstDescriptionLine = nms_TexturePackImplementation_trimStringToGUIWidth(ji_BufferedReader_readLine(var$7)); $this.$secondDescriptionLine = nms_TexturePackImplementation_trimStringToGUIWidth(ji_BufferedReader_readLine(var$7)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break d; } else{ $var1 = $$je; e: { try { if (var$3 !== null) ji_BufferedReader_close(var$3); if (var$4 !== null) nle_EaglerInputStream_close(var$4); break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $rt_throw($var1); } } try { ji_BufferedReader_close(var$7); if (var$6 !== null) nle_EaglerInputStream_close(var$6); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } break b; } try { if ($var2 !== null) ji_BufferedReader_close($var2); if ($var1 !== null) nle_EaglerInputStream_close($var1); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_TexturePackImplementation_func_98137_a = ($this, $par1Str, $par2) => { let $var4, var$4, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$var4 = $thread.pop();$par2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: try { $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = $this.$field_98141_g; if (var$4 !== null && $par2) { try { $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 6; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); $par2 = 1; $ptr = 10; continue main; } $rt_throw($var4); case 1: a: { try { $tmp = $this.$func_98139_b($par1Str); if ($rt_suspending()) { break main; } $var4 = $tmp; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; break a; } else { throw $$e; } } return $var4; } var$4 = $this.$field_98141_g; if (var$4 !== null && $par2) { try { $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 6; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); $par2 = 1; $ptr = 10; continue main; } $rt_throw($var4); case 2: a: { try { $tmp = nms_TexturePackDefault_func_98139_b(var$4, $par1Str); if ($rt_suspending()) { break main; } $var4 = $tmp; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; break a; } else { throw $$e; } } return $var4; } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 6; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); $par2 = 1; $ptr = 10; continue main; case 3: a: { try { $tmp = nms_TexturePackDefault_func_98139_b(var$4, $par1Str); if ($rt_suspending()) { break main; } $var4 = $tmp; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; break a; } else { throw $$e; } } return $var4; } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 6; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); $par2 = 1; $ptr = 10; continue main; case 4: a: { try { $tmp = nms_TexturePackDefault_func_98139_b(var$4, $par1Str); if ($rt_suspending()) { break main; } $var4 = $tmp; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; break a; } else { throw $$e; } } return $var4; } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 5; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 6; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); $par2 = 1; $ptr = 10; continue main; case 5: a: { try { $tmp = nms_TexturePackDefault_func_98139_b(var$4, $par1Str); if ($rt_suspending()) { break main; } $var4 = $tmp; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; break a; } else { throw $$e; } } return $var4; } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 6; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); $par2 = 1; $ptr = 10; continue main; case 6: a: { try { $tmp = nms_TexturePackDefault_func_98139_b(var$4, $par1Str); if ($rt_suspending()) { break main; } $var4 = $tmp; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; break a; } else { throw $$e; } } return $var4; } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); $par2 = 1; $ptr = 10; continue main; case 7: a: { try { $tmp = nms_TexturePackDefault_func_98139_b(var$4, $par1Str); if ($rt_suspending()) { break main; } $var4 = $tmp; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; break a; } else { throw $$e; } } return $var4; } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 8; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); $par2 = 1; $ptr = 10; continue main; case 8: a: { try { $tmp = nms_TexturePackDefault_func_98139_b(var$4, $par1Str); if ($rt_suspending()) { break main; } $var4 = $tmp; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; break a; } else { throw $$e; } } return $var4; } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); try { $ptr = 9; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; } else { throw $$e; } } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); $par2 = 1; $ptr = 10; continue main; case 9: a: { try { $tmp = nms_TexturePackDefault_func_98139_b(var$4, $par1Str); if ($rt_suspending()) { break main; } $var4 = $tmp; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var4 = $$je; break a; } else { throw $$e; } } return $var4; } var$4 = var$4.$field_98141_g; if (var$4 === null) $rt_throw($var4); $par2 = 1; $ptr = 10; case 10: $tmp = nms_TexturePackImplementation_func_98137_a(var$4, $par1Str, $par2); if ($rt_suspending()) { break main; } $var4 = $tmp; return $var4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2, $var4, var$4, $ptr); }, nms_TexturePackImplementation_getResourceAsBytes = ($this, $par1Str) => { let $is, var$3, var$4, var$5, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$is = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $is = null; a: { try { try { var$3 = $is; var$4 = 1; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } $is = var$3; $par1Str = null; break a; } catch ($$e) { $$je = $rt_wrapException($$e); $par1Str = $$je; } b: { if ($is !== null) try { nle_EaglerInputStream_close($is); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $rt_throw($par1Str); } c: { if (var$3 !== null) try { nle_EaglerInputStream_close(var$3); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } return $par1Str; case 1: a: { d: { b: { e: { try { $tmp = nms_TexturePackImplementation_func_98137_a($this, $par1Str, var$4); if ($rt_suspending()) { break main; } $par1Str = $tmp; $is = $par1Str; var$3 = $par1Str; if ($par1Str !== null) break e; var$3 = $par1Str; $is = $par1Str; $par1Str = null; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break b; } else{ $par1Str = $$je; break d; } } return $par1Str; } try { var$3 = $par1Str; $is = $par1Str; var$5 = nle_EaglerInputStream_inputStreamToBytes($par1Str); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break b; } else{ $par1Str = $$je; break d; } } c: { try { nle_EaglerInputStream_close($par1Str); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } return var$5; } try { $is = var$3; $par1Str = null; break a; } catch ($$e) { $$je = $rt_wrapException($$e); $par1Str = $$je; } } f: { if ($is !== null) try { nle_EaglerInputStream_close($is); break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $rt_throw($par1Str); } g: { if (var$3 !== null) try { nle_EaglerInputStream_close(var$3); break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } return $par1Str; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $is, var$3, var$4, var$5, $ptr); }, nms_TexturePackImplementation_deleteTexturePack = ($this, $par1RenderEngine) => { let var$2, var$3, var$4, var$5; if ($this.$thumbnailImage !== null) { var$2 = $this.$thumbnailTextureName; if (var$2 != (-1)) { $par1RenderEngine = $par1RenderEngine.$textureNameToImageMap; var$3 = $par1RenderEngine.$keySet0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$2; } var$3 = ju_HashMap_removeByKey(var$3.$backingMap, var$4); nms_IntHashMap_removeEntry($par1RenderEngine, var$2); nleg_EaglerAdapterGL30_$callClinit(); $par1RenderEngine = nleg_EaglerAdapterGL30_texObjects; if (var$2 < $par1RenderEngine.$size4 && var$2 >= 0) { var$5 = $par1RenderEngine.$values.data; var$3 = var$5[var$2]; var$5[var$2] = null; $par1RenderEngine.$allocatedObjects = $par1RenderEngine.$allocatedObjects - 1 | 0; } else var$3 = null; $par1RenderEngine = var$3; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteTexture($par1RenderEngine.$obj1); } } }, nms_TexturePackImplementation_bindThumbnailTexture = ($this, $par1RenderEngine) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1RenderEngine = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$thumbnailImage; if (var$2 !== null) { if ($this.$thumbnailTextureName == (-1)) { nleg_EaglerAdapterGL30_$callClinit(); var$3 = nleg_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); var$4 = new nlea_EaglerAdapterImpl2$TextureGL; var$5 = nlea_EaglerAdapterImpl2_webgl.createTexture(); var$4.$w1 = (-1); var$4.$h0 = (-1); var$4.$nearest = 1; var$4.$anisotropic = 0; var$4.$obj1 = var$5; var$6 = nleg_GLObjectMap_register(var$3, var$4); var$3 = nms_GLAllocation_field_74530_b; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$6; } ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; nms_RenderEngine_setupTextureExt($par1RenderEngine, var$2, var$6, 0, 0); nms_IntHashMap_addKey($par1RenderEngine.$textureNameToImageMap, var$6, var$2); $this.$thumbnailTextureName = var$6; } nleg_EaglerAdapterGL30_glBindTexture(3553, $this.$thumbnailTextureName); $par1RenderEngine.$boundTexture = (-1); return; } var$2 = $rt_s(2759); $ptr = 1; case 1: $tmp = nms_RenderEngine_getTexture($par1RenderEngine, var$2); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8 != $par1RenderEngine.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, var$8); $par1RenderEngine.$boundTexture = var$8; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1RenderEngine, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_TexturePackImplementation_func_98138_b = ($this, $par1Str, $par2) => { let $var3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $this.$func_98140_c($par1Str); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3 && $par2) { var$4 = $this.$field_98141_g; if (var$4 !== null) { nlea_EaglerAdapterImpl2_$callClinit(); var$5 = !($par1Str === $rt_s(192) ? 1 : jl_String_startsWith($par1Str, $rt_s(192), 0)) ? $par1Str : jl_String_substring($par1Str, 1, $par1Str.$nativeString.length); var$6 = nle_AssetRepository_filePool; if (var$5 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { a: { if (!var$5.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$5.$nativeString.length) break a; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$8 = var$6.$elementData.data; var$6 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$6 !== null && !(var$6.$origKeyHash == var$7 && ju_HashMap_areEqualKeys(var$5, var$6.$key))) { var$6 = var$6.$next3; } } var$9 = var$6 === null ? null : var$6.$value1; if (var$9 === null) var$5 = null; else { var$8 = var$9.data; var$5 = new nle_EaglerInputStream; var$5.$mark0 = 0; var$5.$buf1 = var$9; var$5.$pos = 0; var$5.$count = var$8.length; } $var3 = var$5 === null ? 0 : 1; if (!$var3 && $par2) { var$4 = var$4.$field_98141_g; if (var$4 !== null) { var$5 = !($par1Str === $rt_s(192) ? 1 : jl_String_startsWith($par1Str, $rt_s(192), 0)) ? $par1Str : jl_String_substring($par1Str, 1, $par1Str.$nativeString.length); var$6 = nle_AssetRepository_filePool; if (var$5 === null) var$5 = ju_HashMap_findNullKeyEntry(var$6); else { var$10 = jl_String_hashCode(var$5); var$5 = ju_HashMap_findNonNullKeyEntry(var$6, var$5, var$10 & (var$6.$elementData.data.length - 1 | 0), var$10); } var$9 = var$5 === null ? null : var$5.$value1; if (var$9 === null) var$5 = null; else { var$8 = var$9.data; var$5 = new nle_EaglerInputStream; var$5.$mark0 = 0; var$5.$buf1 = var$9; var$5.$pos = 0; var$5.$count = var$8.length; } $var3 = var$5 === null ? 0 : 1; if (!$var3 && $par2) { var$4 = var$4.$field_98141_g; if (var$4 !== null) { var$5 = !($par1Str === $rt_s(192) ? 1 : jl_String_startsWith($par1Str, $rt_s(192), 0)) ? $par1Str : jl_String_substring($par1Str, 1, jl_String_length($par1Str)); var$5 = ju_HashMap_entryByKey(nle_AssetRepository_filePool, var$5); var$9 = var$5 === null ? null : var$5.$value1; if (var$9 === null) var$5 = null; else { var$8 = var$9.data; var$5 = new nle_EaglerInputStream; var$5.$mark0 = 0; var$5.$buf1 = var$9; var$5.$pos = 0; var$5.$count = var$8.length; } $var3 = var$5 === null ? 0 : 1; if (!$var3 && $par2) { var$4 = var$4.$field_98141_g; if (var$4 !== null) { var$5 = !jl_String_startsWith0($par1Str, $rt_s(192)) ? $par1Str : jl_String_substring0($par1Str, 1); var$9 = ju_HashMap_get(nle_AssetRepository_filePool, var$5); if (var$9 === null) var$5 = null; else { var$8 = var$9.data; var$5 = new nle_EaglerInputStream; jl_Object__init_(var$5); var$5.$mark0 = 0; var$5.$buf1 = var$9; var$5.$pos = 0; var$5.$count = var$8.length; } $var3 = var$5 === null ? 0 : 1; if (!$var3 && $par2) { var$4 = var$4.$field_98141_g; if (var$4 !== null) { var$9 = nle_AssetRepository_getResource($par1Str); if (var$9 === null) var$5 = null; else { var$8 = var$9.data; var$5 = new nle_EaglerInputStream; ji_InputStream__init_(var$5); var$5.$mark0 = 0; var$5.$buf1 = var$9; var$5.$pos = 0; var$5.$count = var$8.length; } $var3 = var$5 === null ? 0 : 1; if (!$var3 && $par2) { var$4 = var$4.$field_98141_g; if (var$4 !== null) { var$8 = nlea_EaglerAdapterImpl2_loadResourceBytes($par1Str); $var3 = (var$8 === null ? null : nle_EaglerInputStream__init_(var$8)) === null ? 0 : 1; if (!$var3 && $par2) { var$4 = var$4.$field_98141_g; if (var$4 !== null) { $var3 = nlea_EaglerAdapterImpl2_loadResource($par1Str) === null ? 0 : 1; if (!$var3 && $par2) { var$4 = var$4.$field_98141_g; if (var$4 !== null) { $ptr = 2; continue main; } } } } } } } } } } } } } } } } return $var3; case 2: $tmp = nms_TexturePackDefault_func_98140_c(var$4, $par1Str); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3 && $par2) { var$4 = var$4.$field_98141_g; if (var$4 !== null) { $ptr = 3; continue main; } } return $var3; case 3: $tmp = nms_TexturePackImplementation_func_98138_b(var$4, $par1Str, $par2); if ($rt_suspending()) { break main; } $var3 = $tmp; return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $par2, $var3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_TexturePackImplementation_getTexturePackID = $this => { return $this.$texturePackID; }, nms_TexturePackImplementation_getTexturePackFileName = $this => { return $this.$texturePackFileName; }, nms_TexturePackImplementation_getFirstDescriptionLine = $this => { return $this.$firstDescriptionLine; }, nms_TexturePackImplementation_getSecondDescriptionLine = $this => { return $this.$secondDescriptionLine; }, nms_TexturePackDefault = $rt_classWithoutFields(nms_TexturePackImplementation), nms_TexturePackDefault__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = null; var$2 = null; $this.$thumbnailTextureName = (-1); $this.$texturePackID = $rt_s(161); $this.$texturePackFileName = $rt_s(1038); $this.$texturePackFile = var$1; $this.$field_98141_g = var$2; var$3 = null; a: { try { var$2 = var$3; var$1 = $rt_s(1398); var$4 = 0; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break a; } else{ var$3 = $$je; } } b: { try { if (var$2 !== null) nle_EaglerInputStream_close(var$2); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $rt_throw(var$3); } c: { try { if (var$3 !== null) nle_EaglerInputStream_close(var$3); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $this.$firstDescriptionLine = $rt_s(2760); return; case 1: a: { b: { d: { e: { try { $tmp = nms_TexturePackImplementation_func_98137_a($this, var$1, var$4); if ($rt_suspending()) { break main; } var$1 = $tmp; var$3 = var$1; var$2 = var$1; if (var$1 !== null) break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break b; } else{ var$3 = $$je; break d; } } f: { try { if (var$1 === null) break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break b; } else{ var$3 = $$je; break d; } } try { nle_EaglerInputStream_close(var$1); break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break a; } else { throw $$e; } } } break a; } try { var$2 = var$1; var$3 = var$1; var$5 = nle_EaglerInputStream_inputStreamToBytes(var$1); $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break b; } else{ var$3 = $$je; } } } g: { try { if (var$2 !== null) nle_EaglerInputStream_close(var$2); break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $rt_throw(var$3); } try { if (var$3 !== null) nle_EaglerInputStream_close(var$3); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $this.$firstDescriptionLine = $rt_s(2760); return; case 2: a: { b: { d: { try { $tmp = nle_EaglerImage_loadImage(var$5); if ($rt_suspending()) { break main; } var$6 = $tmp; $this.$thumbnailImage = var$6; break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break b; } else{ var$3 = $$je; } } c: { try { if (var$2 !== null) nle_EaglerInputStream_close(var$2); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $rt_throw(var$3); } try { if (var$1 !== null) nle_EaglerInputStream_close(var$1); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } break a; } try { if (var$3 !== null) nle_EaglerInputStream_close(var$3); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } $this.$firstDescriptionLine = $rt_s(2760); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_TexturePackDefault__init_0 = () => { let var_0 = new nms_TexturePackDefault(); nms_TexturePackDefault__init_(var_0); return var_0; }, nms_TexturePackDefault_loadDescription = $this => { $this.$firstDescriptionLine = $rt_s(2760); }, nms_TexturePackDefault_func_98140_c = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6, var$7; nlea_EaglerAdapterImpl2_$callClinit(); if ($par1Str === $rt_s(192) ? 1 : jl_String_startsWith($par1Str, $rt_s(192), 0)) $par1Str = jl_String_substring($par1Str, 1, $par1Str.$nativeString.length); var$2 = nle_AssetRepository_filePool; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$7 = var$2 === null ? null : var$2.$value1; if (var$7 === null) $par1Str = null; else { var$5 = var$7.data; $par1Str = new nle_EaglerInputStream; $par1Str.$mark0 = 0; $par1Str.$buf1 = var$7; $par1Str.$pos = 0; $par1Str.$count = var$5.length; } return $par1Str === null ? 0 : 1; }, nms_TexturePackDefault_isCompatible = $this => { return 1; }, nms_TexturePackDefault_func_98139_b = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6, var$7; nlea_EaglerAdapterImpl2_$callClinit(); if ($par1Str === $rt_s(192) ? 1 : jl_String_startsWith($par1Str, $rt_s(192), 0)) $par1Str = jl_String_substring($par1Str, 1, $par1Str.$nativeString.length); var$2 = nle_AssetRepository_filePool; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$7 = var$2 === null ? null : var$2.$value1; if (var$7 === null) $par1Str = null; else { var$5 = var$7.data; $par1Str = new nle_EaglerInputStream; $par1Str.$mark0 = 0; $par1Str.$buf1 = var$7; $par1Str.$pos = 0; $par1Str.$count = var$5.length; } return $par1Str; }, nms_TexturePackDefault_getResourceAsBytes = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6; nlea_EaglerAdapterImpl2_$callClinit(); if ($par1Str === $rt_s(192) ? 1 : jl_String_startsWith($par1Str, $rt_s(192), 0)) $par1Str = jl_String_substring($par1Str, 1, $par1Str.$nativeString.length); var$2 = nle_AssetRepository_filePool; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } return var$2 === null ? null : var$2.$value1; }; function nms_IntHashMapEntry() { let a = this; jl_Object.call(a); a.$hashEntry = 0; a.$valueEntry = null; a.$nextEntry = null; a.$slotHash = 0; } let nms_Icon = $rt_classWithoutFields(0); function nle_TextureTerrainMap$TerrainIconV2() { let a = this; jl_Object.call(a); a.$map0 = null; a.$name9 = null; a.$id10 = 0; a.$size6 = 0; a.$frames = null; a.$framesIdx = null; a.$originX1 = 0; a.$originY1 = 0; a.$minU0 = 0.0; a.$maxU0 = 0.0; a.$minV0 = 0.0; a.$maxV0 = 0.0; a.$originX_center = 0; a.$originY_center = 0; a.$minU_center = 0.0; a.$maxU_center = 0.0; a.$minV_center = 0.0; a.$maxV_center = 0.0; a.$frameCounter0 = 0; a.$frameCurrent = 0; } let nle_TextureTerrainMap$TerrainIconV2__init_ = ($this, $id, $s, $map, $name) => { let var$5, var$6, var$7, $tw, var$9, var$10, var$11, var$12, var$13; $this.$frames = null; $this.$framesIdx = null; $this.$frameCounter0 = 0; $this.$frameCurrent = 0; $this.$id10 = $id; $this.$size6 = $s; $this.$map0 = $map; $this.$name9 = $name; if ($s != 1 && $s != 2) { $map = new jl_IllegalArgumentException; $id = $s * 16 | 0; $name = new jl_StringBuilder; $name.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($name, $name.$length0, $rt_s(2761)); jl_AbstractStringBuilder_insert0($name, $name.$length0, $s, 10); jl_AbstractStringBuilder_insert($name, $name.$length0, $rt_s(1542)); jl_AbstractStringBuilder_insert0($name, $name.$length0, $id, 10); jl_AbstractStringBuilder_insert($name, $name.$length0, $rt_s(2762)); var$5 = new jl_String; var$6 = $name.$buffer; var$7 = var$6.data; $s = $name.$length0; $tw = var$7.length; if ($s >= 0 && $s <= ($tw - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $s); $map.$suppressionEnabled = 1; $map.$writableStackTrace = 1; $map.$message = var$5; $rt_throw($map); } $map = new jl_IndexOutOfBoundsException; $map.$suppressionEnabled = 1; $map.$writableStackTrace = 1; $rt_throw($map); } $tw = ($s * 16 | 0) + 32 | 0; if ($s == 2) $id = $rt_imul(($map.$width9 / $tw | 0) - 1 | 0, ($map.$height8 / $tw | 0) - 1 | 0) - $id | 0; $s = $map.$width9; var$9 = $s / $tw | 0; var$10 = $rt_imul($id % var$9 | 0, $tw); $this.$originX1 = var$10; $id = $rt_imul($id / var$9 | 0, $tw); $this.$originY1 = $id; var$11 = var$10; var$12 = $s; $this.$minU0 = var$11 / var$12; var$11 = $id; var$13 = $map.$height8; $this.$minV0 = var$11 / var$13; $this.$maxU0 = (var$10 + $tw | 0) / var$12; $this.$maxV0 = ($id + $tw | 0) / var$13; $s = var$10 + 16 | 0; $this.$originX_center = $s; $id = $id + 16 | 0; $this.$originY_center = $id; $this.$minU_center = ($s + 0.02500000037252903) / var$12; $this.$minV_center = ($id + 0.02500000037252903) / var$13; $this.$maxU_center = (($s + 16 | 0) - 0.02500000037252903) / var$12; $this.$maxV_center = (($id + 16 | 0) - 0.02500000037252903) / var$13; }, nle_TextureTerrainMap$TerrainIconV2__init_0 = (var_0, var_1, var_2, var_3) => { let var_4 = new nle_TextureTerrainMap$TerrainIconV2(); nle_TextureTerrainMap$TerrainIconV2__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, nle_TextureTerrainMap$TerrainIconV2_getMinU = $this => { return $this.$minU_center; }, nle_TextureTerrainMap$TerrainIconV2_getMaxU = $this => { return $this.$maxU_center; }, nle_TextureTerrainMap$TerrainIconV2_getInterpolatedU = ($this, $var1) => { let $var3, var$3; $var3 = $this.$maxU_center; var$3 = $this.$minU_center; return var$3 + ($var3 - var$3) * $var1 * $this.$size6 / 16.0; }, nle_TextureTerrainMap$TerrainIconV2_getMinV = $this => { return $this.$minV_center; }, nle_TextureTerrainMap$TerrainIconV2_getMaxV = $this => { return $this.$maxV_center; }, nle_TextureTerrainMap$TerrainIconV2_getInterpolatedV = ($this, $var1) => { let $var3, var$3; $var3 = $this.$maxV_center; var$3 = $this.$minV_center; return var$3 + ($var3 - var$3) * $var1 * $this.$size6 / 16.0; }, nle_TextureTerrainMap$TerrainIconV2_getIconName = $this => { let var$1; var$1 = $this.$name9; if (var$1 === null) var$1 = $rt_s(1574); return var$1; }, nle_TextureTerrainMap$TerrainIconV2_getSheetWidth = $this => { return $this.$map0.$width9; }, nle_TextureTerrainMap$TerrainIconV2_getSheetHeight = $this => { return $this.$map0.$height8; }, nle_TextureTerrainMap$TerrainIconV2_updateAnimation = $this => { let $i, var$2; if ($this.$frames !== null) { $i = $this.$frameCounter0 + 1 | 0; var$2 = $this.$framesIdx.data; $i = $i % var$2.length | 0; $this.$frameCounter0 = $i; $i = var$2[$i]; if ($this.$frameCurrent != $i) { $this.$frameCurrent = $i; nle_TextureTerrainMap_copyFrame($this.$map0, $this, $i); } } }, nle_TextureTerrainMap$TerrainIconV2_loadData = $this => { let var$1, $mipLvl, $dat, var$4, var$5, $i, $data, var$8, $len, $ss, $divs, $j, $i_0, $j_0, var$15, $k, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$k = $thread.pop();var$15 = $thread.pop();$j_0 = $thread.pop();$i_0 = $thread.pop();$j = $thread.pop();$divs = $thread.pop();$ss = $thread.pop();$len = $thread.pop();var$8 = $thread.pop();$data = $thread.pop();$i = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$dat = $thread.pop();$mipLvl = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = nms_Minecraft_theMinecraft.$texturePackList.$selectedTexturePack; $mipLvl = $this.$map0.$basePath0; $dat = $this.$name9; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$5 = 47; $i = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, $i, $i + 1 | 0); var$4.$buffer.data[$i] = var$5; $i = var$4.$length0; if ($mipLvl === null) $mipLvl = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $i, $mipLvl); $i = var$4.$length0; if ($dat === null) $dat = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $i, $dat); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(202)); $mipLvl = new jl_String; $data = var$4.$buffer; var$8 = $data.data; $len = var$4.$length0; $ss = var$8.length; if ($len >= 0 && $len <= ($ss - 0 | 0)) { $mipLvl.$nativeString = $rt_charArrayToString($data.data, 0, $len); $ptr = 1; continue main; } $mipLvl = new jl_IndexOutOfBoundsException; $mipLvl.$suppressionEnabled = 1; $mipLvl.$writableStackTrace = 1; $rt_throw($mipLvl); case 1: $tmp = var$1.$getResourceAsBytes($mipLvl); if ($rt_suspending()) { break main; } $data = $tmp; if ($data === null) { $mipLvl = $this.$map0; nle_TextureTerrainMap_replaceTexture($mipLvl, $this, $mipLvl.$missingData); return; } nlea_EaglerAdapterImpl2_$callClinit(); $mipLvl = $data.data.buffer; $ptr = 2; case 2: $tmp = nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$($mipLvl); if ($rt_suspending()) { break main; } $mipLvl = $tmp; var$1 = $mipLvl; if (var$1 === null) { $mipLvl = $this.$map0; nle_TextureTerrainMap_replaceTexture($mipLvl, $this, $mipLvl.$missingData); } else { $ss = $this.$size6 * 16 | 0; $divs = var$1.$h / $ss | 0; if ($divs != 1) { $mipLvl = $this.$map0; $data = $rt_createIntArray($rt_imul($ss, $ss)); $j = 0; while ($j < $ss) { jl_System_fastArraycopy(var$1.$data5, $rt_imul($j + 0 | 0, var$1.$w0) + 0 | 0, $data, $rt_imul($j, $ss), $ss); $j = $j + 1 | 0; } nle_TextureTerrainMap_replaceTexture($mipLvl, $this, nle_TextureTerrainMap_generateMip(nle_EaglerImage__init_($data, $ss, $ss, var$1.$alpha))); nleg_EaglerAdapterGL30_glBindTexture(3553, (-1)); $mipLvl = new nlea_EaglerAdapterImpl2$TextureGL; $dat = nlea_EaglerAdapterImpl2_webgl.createTexture(); $mipLvl.$w1 = (-1); $mipLvl.$h0 = (-1); $mipLvl.$nearest = 1; $mipLvl.$anisotropic = 0; $mipLvl.$obj1 = $dat; $this.$frames = $mipLvl; nleg_EaglerAdapterGL30_glBindTexture0(3553, $mipLvl); $mipLvl = nle_TextureTerrainMap_populateAlpha(var$1); $dat = nle_TextureTerrainMap_uploadBuffer; $dat.$position0 = 0; $dat.$limit0 = $dat.$capacity; $dat.$mark = (-1); $data = $mipLvl.$data5; jn_IntBuffer_put($dat, $data, 0, $data.data.length); $dat = nle_TextureTerrainMap_uploadBuffer; $dat.$limit0 = $dat.$position0; $dat.$position0 = 0; $dat.$mark = (-1); nleg_EaglerAdapterGL30_glTexImage2D(3553, 0, 6408, $mipLvl.$w0, $mipLvl.$h, 0, 6408, 5121, $dat); $mipLvl = nle_TextureTerrainMap_generateLevel($mipLvl); $dat = nle_TextureTerrainMap_uploadBuffer; $dat.$position0 = 0; $dat.$limit0 = $dat.$capacity; $dat.$mark = (-1); $data = $mipLvl.$data5; jn_IntBuffer_put($dat, $data, 0, $data.data.length); $dat = nle_TextureTerrainMap_uploadBuffer; $dat.$limit0 = $dat.$position0; $dat.$position0 = 0; $dat.$mark = (-1); nleg_EaglerAdapterGL30_glTexImage2D(3553, 1, 6408, $mipLvl.$w0, $mipLvl.$h, 0, 6408, 5121, $dat); $mipLvl = nle_TextureTerrainMap_generateLevel($mipLvl); $dat = nle_TextureTerrainMap_uploadBuffer; $dat.$position0 = 0; $dat.$limit0 = $dat.$capacity; $dat.$mark = (-1); $data = $mipLvl.$data5; jn_IntBuffer_put($dat, $data, 0, $data.data.length); $dat = nle_TextureTerrainMap_uploadBuffer; $dat.$limit0 = $dat.$position0; $dat.$position0 = 0; $dat.$mark = (-1); nleg_EaglerAdapterGL30_glTexImage2D(3553, 2, 6408, $mipLvl.$w0, $mipLvl.$h, 0, 6408, 5121, $dat); $mipLvl = nle_TextureTerrainMap_generateLevel($mipLvl); $dat = nle_TextureTerrainMap_uploadBuffer; $dat.$position0 = 0; $dat.$limit0 = $dat.$capacity; $dat.$mark = (-1); $data = $mipLvl.$data5; jn_IntBuffer_put($dat, $data, 0, $data.data.length); $dat = nle_TextureTerrainMap_uploadBuffer; $dat.$limit0 = $dat.$position0; $dat.$position0 = 0; $dat.$mark = (-1); nleg_EaglerAdapterGL30_glTexImage2D(3553, 3, 6408, $mipLvl.$w0, $mipLvl.$h, 0, 6408, 5121, $dat); $mipLvl = nle_TextureTerrainMap_generateLevel($mipLvl); $dat = nle_TextureTerrainMap_uploadBuffer; $dat.$position0 = 0; $dat.$limit0 = $dat.$capacity; $dat.$mark = (-1); $data = $mipLvl.$data5; jn_IntBuffer_put($dat, $data, 0, $data.data.length); $dat = nle_TextureTerrainMap_uploadBuffer; $dat.$limit0 = $dat.$position0; $dat.$position0 = 0; $dat.$mark = (-1); nleg_EaglerAdapterGL30_glTexImage2D(3553, 4, 6408, $mipLvl.$w0, $mipLvl.$h, 0, 6408, 5121, $dat); nleg_EaglerAdapterGL30_glTexParameteri(3553, 33085, 4); var$1 = nms_Minecraft_theMinecraft.$texturePackList.$selectedTexturePack; $mipLvl = $this.$map0.$basePath0; $dat = $this.$name9; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $i = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, $i, $i + 1 | 0); var$4.$buffer.data[$i] = var$5; $i = var$4.$length0; if ($mipLvl === null) $mipLvl = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $i, $mipLvl); $i = var$4.$length0; if ($dat === null) $dat = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $i, $dat); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(1394)); $mipLvl = new jl_String; $data = var$4.$buffer; var$8 = $data.data; $len = var$4.$length0; $ss = var$8.length; if ($len >= 0 && $len <= ($ss - 0 | 0)) { $mipLvl.$nativeString = $rt_charArrayToString($data.data, 0, $len); $ptr = 3; continue main; } $mipLvl = new jl_IndexOutOfBoundsException; $mipLvl.$suppressionEnabled = 1; $mipLvl.$writableStackTrace = 1; $rt_throw($mipLvl); } nle_TextureTerrainMap_replaceTexture($this.$map0, $this, nle_TextureTerrainMap_generateMip(var$1)); $this.$frames = null; $this.$framesIdx = null; } return; case 3: $tmp = var$1.$getResourceAsBytes($mipLvl); if ($rt_suspending()) { break main; } $data = $tmp; if ($data === null) $dat = $rt_s(18); else { var$8 = $data.data; $dat = new jl_String; jnc_StandardCharsets_$callClinit(); $mipLvl = jnc_StandardCharsets_UTF_8; $len = var$8.length; if ($len >= 0 && $len <= ($len - 0 | 0)) { var$4 = new jn_ByteBufferImpl; $i_0 = 0 + $len | 0; var$4.$mark = (-1); var$4.$capacity = $len; var$4.$limit0 = $len; var$4.$order = jn_ByteOrder_BIG_ENDIAN; var$4.$start = 0; var$4.$array0 = $data; var$4.$position0 = 0; var$4.$limit0 = $i_0; var$4.$direct = 0; var$4.$readOnly0 = 0; a: { try { $mipLvl = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(jnci_UTF8Charset_newDecoder($mipLvl), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$4); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $dat = $$je; } else { throw $$e; } } var$4 = new jl_AssertionError; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(405); var$4.$cause = $dat; $rt_throw(var$4); } $ss = $mipLvl.$position0; if (!$ss && $mipLvl.$limit0 == $mipLvl.$capacity) $data = $mipLvl.$array1; else { $data = $rt_createCharArray($mipLvl.$limit0 - $ss | 0); jn_CharBuffer_get($mipLvl, $data, 0, $data.data.length); } $dat.$nativeString = $rt_fullArrayToString($data.data); } else { $mipLvl = new jl_IndexOutOfBoundsException; $mipLvl.$suppressionEnabled = 1; $mipLvl.$writableStackTrace = 1; $rt_throw($mipLvl); } } if (jl_System_outCache === null) { $mipLvl = new otcic_JSStdoutPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); $mipLvl.$out0 = var$4; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $mipLvl.$sb = var$4; $mipLvl.$buffer0 = $rt_createCharArray(32); $mipLvl.$autoFlush = 0; $mipLvl.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $mipLvl; } $mipLvl = $this.$map0.$basePath0; var$4 = $this.$name9; var$1 = new jl_StringBuilder; var$1.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$1, var$1.$length0, $rt_s(1845)); $i = var$1.$length0; if ($mipLvl === null) $mipLvl = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, $i, $mipLvl); $i = var$1.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, $i, var$4); jl_AbstractStringBuilder_insert(var$1, var$1.$length0, $rt_s(202)); $mipLvl = new jl_String; $data = var$1.$buffer; var$8 = $data.data; $len = var$1.$length0; $ss = var$8.length; if ($len >= 0 && $len <= ($ss - 0 | 0)) { $mipLvl.$nativeString = $rt_charArrayToString($data.data, 0, $len); $rt_putStdout($rt_ustr($mipLvl)); $rt_putStdout("\n"); $mipLvl = jl_String_trim($dat); $i = $mipLvl.$nativeString.length ? 0 : 1; b: { if ($i) { $data = $rt_createIntArray($divs); var$8 = $data.data; $this.$framesIdx = $data; $i = 0; while ($i < $divs) { var$8[$i] = $i; $i = $i + 1 | 0; } } else { var$8 = jur_Pattern_split(jur_Pattern_compile($rt_s(1371), 0), $mipLvl, 0); $len = 0; $i = 0; c: { while (true) { $data = var$8.data; $ss = $data.length; if ($i >= $ss) break c; $j = jl_String_indexOf($data[$i], 42, 0); if ($j == (-1)) $ss = 1; else { $mipLvl = $data[$i]; $mipLvl = jl_String_substring($mipLvl, $j + 1 | 0, $mipLvl.$nativeString.length); if ($mipLvl === null) break; $ss = jl_Integer_parseIntImpl($mipLvl, 0, $mipLvl.$nativeString.length, 10); } $len = $len + $ss | 0; $i = $i + 1 | 0; } $mipLvl = new jl_NumberFormatException; $mipLvl.$suppressionEnabled = 1; $mipLvl.$writableStackTrace = 1; $mipLvl.$message = $rt_s(108); $rt_throw($mipLvl); } $this.$framesIdx = $rt_createIntArray($len); $i = 0; $i_0 = 0; while (true) { if ($i_0 >= $ss) break b; $j_0 = jl_String_indexOf($data[$i_0], 42, 0); if ($j_0 == (-1)) { var$8 = $this.$framesIdx; $len = $i + 1 | 0; $mipLvl = $data[$i_0]; if ($mipLvl === null) { $mipLvl = new jl_NumberFormatException; $mipLvl.$suppressionEnabled = 1; $mipLvl.$writableStackTrace = 1; $mipLvl.$message = $rt_s(108); $rt_throw($mipLvl); } var$8.data[$i] = jl_Integer_parseIntImpl($mipLvl, 0, $mipLvl.$nativeString.length, 10); $i = $len; } else { $mipLvl = jl_String_substring($data[$i_0], 0, $j_0); if ($mipLvl === null) { $mipLvl = new jl_NumberFormatException; $mipLvl.$suppressionEnabled = 1; $mipLvl.$writableStackTrace = 1; $mipLvl.$message = $rt_s(108); $rt_throw($mipLvl); } var$15 = jl_Integer_parseIntImpl($mipLvl, 0, $mipLvl.$nativeString.length, 10); $mipLvl = $data[$i_0]; $mipLvl = jl_String_substring($mipLvl, $j_0 + 1 | 0, $mipLvl.$nativeString.length); if ($mipLvl === null) { $mipLvl = new jl_NumberFormatException; $mipLvl.$suppressionEnabled = 1; $mipLvl.$writableStackTrace = 1; $mipLvl.$message = $rt_s(108); $rt_throw($mipLvl); } $divs = jl_Integer_parseIntImpl($mipLvl, 0, $mipLvl.$nativeString.length, 10); $k = 0; while ($k < $divs) { var$8 = $this.$framesIdx.data; $len = $i + 1 | 0; var$8[$i] = var$15; $k = $k + 1 | 0; $i = $len; } } $i_0 = $i_0 + 1 | 0; } } } return; } $mipLvl = new jl_IndexOutOfBoundsException; $mipLvl.$suppressionEnabled = 1; $mipLvl.$writableStackTrace = 1; $rt_throw($mipLvl); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $mipLvl, $dat, var$4, var$5, $i, $data, var$8, $len, $ss, $divs, $j, $i_0, $j_0, var$15, $k, $ptr); }, nle_TextureTerrainMap$TerrainIconV2_getIconWidth = $this => { return $this.$originX_center; }, nle_TextureTerrainMap$TerrainIconV2_getIconHeight = $this => { return $this.$originY_center; }, jn_FloatBuffer = $rt_classWithoutFields(jn_Buffer), jn_FloatBuffer_get = ($this, $dst, $offset, $length) => { let var$4, var$5, $i, var$7, var$8, var$9, $pos, var$11; if ($offset >= 0) { var$4 = $dst.data; var$5 = var$4.length; if ($offset <= var$5) { $i = $offset + $length | 0; if ($i > var$5) { var$7 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(2763)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $i, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(605)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$5, 10); var$9 = new jl_String; $dst = var$8.$buffer; var$4 = $dst.data; $length = var$8.$length0; var$5 = var$4.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($dst.data, 0, $length); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$7); $rt_throw(var$7); } var$5 = $this.$limit0; $pos = $this.$position0; if ((var$5 - $pos | 0) < $length) { var$7 = new jn_BufferUnderflowException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } if ($length >= 0) { $i = 0; while ($i < $length) { var$11 = $offset + 1 | 0; var$5 = $pos + 1 | 0; var$4[$offset] = $this.$getElement($pos); $i = $i + 1 | 0; $offset = var$11; $pos = var$5; } $this.$position0 = $this.$position0 + $length | 0; return $this; } var$7 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(606)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $length, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(607)); var$9 = new jl_String; $dst = var$8.$buffer; var$4 = $dst.data; $length = var$8.$length0; var$5 = var$4.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($dst.data, 0, $length); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$7); $rt_throw(var$7); } } $dst = $dst.data; var$7 = new jl_IndexOutOfBoundsException; $length = $dst.length; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(608)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $offset, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $length, 10); $length = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, $length, $length + 1 | 0); $dst = var$8.$buffer; var$4 = $dst.data; var$4[$length] = 41; var$9 = new jl_String; $length = var$8.$length0; var$5 = var$4.length; if ($length >= 0 && $length <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($dst.data, 0, $length); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$7); $rt_throw(var$7); }, jn_FloatBuffer_get0 = ($this, $dst) => { return jn_FloatBuffer_get($this, $dst, 0, $dst.data.length); }, jn_FloatBuffer_limit = ($this, $newLimit) => { jn_Buffer_limit($this, $newLimit); return $this; }, jn_FloatBuffer_position = ($this, $newPosition) => { jn_Buffer_position($this, $newPosition); return $this; }, nms_StatBasic = $rt_classWithoutFields(nms_StatBase); function nms_ModelSpider() { let a = this; nms_ModelBase.call(a); a.$spiderHead = null; a.$spiderNeck = null; a.$spiderBody = null; a.$spiderLeg1 = null; a.$spiderLeg2 = null; a.$spiderLeg3 = null; a.$spiderLeg4 = null; a.$spiderLeg5 = null; a.$spiderLeg6 = null; a.$spiderLeg7 = null; a.$spiderLeg8 = null; } let nms_ModelSpider__init_0 = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 32; var$1.$textureOffsetY = 4; $this.$spiderHead = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 32, 4, (-4.0), (-4.0), (-8.0), 8, 8, 8, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$spiderHead; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = (-3.0); var$6 = new nms_ModelRenderer; var$1 = null; var$6.$textureWidth = 64.0; var$6.$textureHeight = 32.0; var$6.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$6.$cubeList = var$5; var$6.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$4[var$9] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; var$6.$boxName = var$1; var$2 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$6.$textureWidth = var$2; var$6.$textureHeight = var$9; var$6.$textureOffsetX = 0; var$6.$textureOffsetY = 0; $this.$spiderNeck = var$6; var$1 = var$6.$cubeList; var$5 = nms_ModelBox__init_(var$6, 0, 0, (-3.0), (-3.0), (-3.0), 6, 6, 6, 0.0); ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$4 = var$1.$array.data; var$9 = var$1.$size0; var$1.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$spiderNeck; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 12; $this.$spiderBody = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 12, (-5.0), (-4.0), (-6.0), 10, 8, 12, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$spiderBody; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = 9.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 18; var$1.$textureOffsetY = 0; $this.$spiderLeg1 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 18, 0, (-15.0), (-1.0), (-1.0), 16, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$spiderLeg1; var$1.$rotationPointX = (-4.0); var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = 2.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$4[var$8] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 18; var$1.$textureOffsetY = 0; $this.$spiderLeg2 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 18, 0, (-1.0), (-1.0), (-1.0), 16, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$spiderLeg2; var$1.$rotationPointX = 4.0; var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = 2.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 18; var$1.$textureOffsetY = 0; $this.$spiderLeg3 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 18, 0, (-15.0), (-1.0), (-1.0), 16, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$spiderLeg3; var$1.$rotationPointX = (-4.0); var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = 1.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 18; var$1.$textureOffsetY = 0; $this.$spiderLeg4 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 18, 0, (-1.0), (-1.0), (-1.0), 16, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$spiderLeg4; var$1.$rotationPointX = 4.0; var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = 1.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$2 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$1.$textureWidth = var$2; var$1.$textureHeight = var$9; var$1.$textureOffsetX = 18; var$1.$textureOffsetY = 0; $this.$spiderLeg5 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 18, 0, (-15.0), (-1.0), (-1.0), 16, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$spiderLeg5; var$1.$rotationPointX = (-4.0); var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 18; var$1.$textureOffsetY = 0; $this.$spiderLeg6 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 18, 0, (-1.0), (-1.0), (-1.0), 16, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$spiderLeg6; var$1.$rotationPointX = 4.0; var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 18; var$1.$textureOffsetY = 0; $this.$spiderLeg7 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 18, 0, (-15.0), (-1.0), (-1.0), 16, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$spiderLeg7; var$1.$rotationPointX = (-4.0); var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = (-1.0); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 18; var$1.$textureOffsetY = 0; $this.$spiderLeg8 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 18, 0, (-1.0), (-1.0), (-1.0), 16, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$spiderLeg8; var$1.$rotationPointX = 4.0; var$1.$rotationPointY = 15.0; var$1.$rotationPointZ = (-1.0); }, nms_ModelSpider__init_ = () => { let var_0 = new nms_ModelSpider(); nms_ModelSpider__init_0(var_0); return var_0; }, nms_ModelSpider_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { nms_ModelSpider_setRotationAngles($this, $par2, $par3, $par4, $par5, $par6, $par7, $par1Entity); nms_ModelRenderer_render($this.$spiderHead, $par7); nms_ModelRenderer_render($this.$spiderNeck, $par7); nms_ModelRenderer_render($this.$spiderBody, $par7); nms_ModelRenderer_render($this.$spiderLeg1, $par7); nms_ModelRenderer_render($this.$spiderLeg2, $par7); nms_ModelRenderer_render($this.$spiderLeg3, $par7); nms_ModelRenderer_render($this.$spiderLeg4, $par7); nms_ModelRenderer_render($this.$spiderLeg5, $par7); nms_ModelRenderer_render($this.$spiderLeg6, $par7); nms_ModelRenderer_render($this.$spiderLeg7, $par7); nms_ModelRenderer_render($this.$spiderLeg8, $par7); }, nms_ModelSpider_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var11, $var12, $var13, $var14, $var15, $var16, $var17, $var18; $par7Entity = $this.$spiderHead; $par7Entity.$rotateAngleY = $par4 / 57.2957763671875; $par7Entity.$rotateAngleX = $par5 / 57.2957763671875; $par7Entity = $this.$spiderLeg1; $par7Entity.$rotateAngleZ = (-0.7853981852531433); var$8 = $this.$spiderLeg2; var$8.$rotateAngleZ = 0.7853981852531433; var$9 = $this.$spiderLeg3; var$9.$rotateAngleZ = (-0.5811946392059326); var$10 = $this.$spiderLeg4; var$10.$rotateAngleZ = 0.5811946392059326; var$11 = $this.$spiderLeg5; var$11.$rotateAngleZ = (-0.5811946392059326); var$12 = $this.$spiderLeg6; var$12.$rotateAngleZ = 0.5811946392059326; var$13 = $this.$spiderLeg7; var$13.$rotateAngleZ = (-0.7853981852531433); var$14 = $this.$spiderLeg8; var$14.$rotateAngleZ = 0.7853981852531433; $par7Entity.$rotateAngleY = 0.7853981852531433; var$8.$rotateAngleY = (-0.7853981852531433); var$9.$rotateAngleY = 0.39269909262657166; var$10.$rotateAngleY = (-0.39269909262657166); var$11.$rotateAngleY = (-0.39269909262657166); var$12.$rotateAngleY = 0.39269909262657166; var$13.$rotateAngleY = (-0.7853981852531433); var$14.$rotateAngleY = 0.7853981852531433; $par1 = $par1 * 0.6661999821662903; $par3 = $par1 * 2.0; $par4 = $par3 + 0.0; var$15 = nms_MathHelper_SIN_TABLE.data; $var11 = -(var$15[($par4 * 10430.3779296875 + 16384.0 | 0) & 65535] * 0.4000000059604645) * $par2; $var12 = -(var$15[(($par3 + 3.1415927410125732) * 10430.3779296875 + 16384.0 | 0) & 65535] * 0.4000000059604645) * $par2; $var13 = -(var$15[(($par3 + 1.5707963705062866) * 10430.3779296875 + 16384.0 | 0) & 65535] * 0.4000000059604645) * $par2; $var14 = -(var$15[(($par3 + 4.71238899230957) * 10430.3779296875 + 16384.0 | 0) & 65535] * 0.4000000059604645) * $par2; $var15 = jl_Math_absImpl0(var$15[(($par1 + 0.0) * 10430.3779296875 | 0) & 65535] * 0.4000000059604645) * $par2; $par4 = $par1 + 3.1415927410125732; $var16 = jl_Math_absImpl0(nms_MathHelper_SIN_TABLE.data[($par4 * 10430.3779296875 | 0) & 65535] * 0.4000000059604645) * $par2; $par4 = $par1 + 1.5707963705062866; $var17 = jl_Math_absImpl0(nms_MathHelper_SIN_TABLE.data[($par4 * 10430.3779296875 | 0) & 65535] * 0.4000000059604645) * $par2; $par1 = $par1 + 4.71238899230957; $var18 = jl_Math_absImpl0(nms_MathHelper_SIN_TABLE.data[($par1 * 10430.3779296875 | 0) & 65535] * 0.4000000059604645) * $par2; $par7Entity = $this.$spiderLeg1; $par7Entity.$rotateAngleY = $par7Entity.$rotateAngleY + $var11; var$8 = $this.$spiderLeg2; var$8.$rotateAngleY = var$8.$rotateAngleY + -$var11; var$9 = $this.$spiderLeg3; var$9.$rotateAngleY = var$9.$rotateAngleY + $var12; var$13 = $this.$spiderLeg4; var$13.$rotateAngleY = var$13.$rotateAngleY + -$var12; var$14 = $this.$spiderLeg5; var$14.$rotateAngleY = var$14.$rotateAngleY + $var13; var$10 = $this.$spiderLeg6; var$10.$rotateAngleY = var$10.$rotateAngleY + -$var13; var$11 = $this.$spiderLeg7; var$11.$rotateAngleY = var$11.$rotateAngleY + $var14; var$12 = $this.$spiderLeg8; var$12.$rotateAngleY = var$12.$rotateAngleY + -$var14; $par7Entity.$rotateAngleZ = $par7Entity.$rotateAngleZ + $var15; var$8.$rotateAngleZ = var$8.$rotateAngleZ + -$var15; var$9.$rotateAngleZ = var$9.$rotateAngleZ + $var16; var$13.$rotateAngleZ = var$13.$rotateAngleZ + -$var16; var$14.$rotateAngleZ = var$14.$rotateAngleZ + $var17; var$10.$rotateAngleZ = var$10.$rotateAngleZ + -$var17; var$11.$rotateAngleZ = var$11.$rotateAngleZ + $var18; var$12.$rotateAngleZ = var$12.$rotateAngleZ + -$var18; }; function nms_ModelRenderer() { let a = this; jl_Object.call(a); a.$textureWidth = 0.0; a.$textureHeight = 0.0; a.$textureOffsetX = 0; a.$textureOffsetY = 0; a.$rotationPointX = 0.0; a.$rotationPointY = 0.0; a.$rotationPointZ = 0.0; a.$rotateAngleX = 0.0; a.$rotateAngleY = 0.0; a.$rotateAngleZ = 0.0; a.$compiled = 0; a.$displayList = 0; a.$mirror = 0; a.$showModel = 0; a.$isHidden = 0; a.$cubeList = null; a.$childModels = null; a.$boxName = null; a.$baseModel = null; a.$offsetX0 = 0.0; a.$offsetY0 = 0.0; a.$offsetZ = 0.0; } let nms_ModelRenderer__init_2 = ($this, $par1ModelBase, $par2Str) => { let var$3, var$4, var$5, var$6; $this.$textureWidth = 64.0; $this.$textureHeight = 32.0; $this.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$cubeList = var$3; $this.$baseModel = $par1ModelBase; var$3 = $par1ModelBase.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$4[var$5] = $this; var$3.$modCount = var$3.$modCount + 1 | 0; $this.$boxName = $par2Str; var$5 = $par1ModelBase.$textureWidth0; var$6 = $par1ModelBase.$textureHeight0; $this.$textureWidth = var$5; $this.$textureHeight = var$6; }, nms_ModelRenderer__init_4 = (var_0, var_1) => { let var_2 = new nms_ModelRenderer(); nms_ModelRenderer__init_2(var_2, var_0, var_1); return var_2; }, nms_ModelRenderer__init_1 = ($this, $par1ModelBase) => { let var$2, var$3, var$4, var$5, var$6; var$2 = null; $this.$textureWidth = 64.0; $this.$textureHeight = 32.0; $this.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$cubeList = var$3; $this.$baseModel = $par1ModelBase; var$3 = $par1ModelBase.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$4[var$5] = $this; var$3.$modCount = var$3.$modCount + 1 | 0; $this.$boxName = var$2; var$5 = $par1ModelBase.$textureWidth0; var$6 = $par1ModelBase.$textureHeight0; $this.$textureWidth = var$5; $this.$textureHeight = var$6; }, nms_ModelRenderer__init_3 = var_0 => { let var_1 = new nms_ModelRenderer(); nms_ModelRenderer__init_1(var_1, var_0); return var_1; }, nms_ModelRenderer__init_0 = ($this, $par1ModelBase, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8; var$4 = null; $this.$textureWidth = 64.0; $this.$textureHeight = 32.0; $this.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); $this.$cubeList = var$5; $this.$baseModel = $par1ModelBase; var$5 = $par1ModelBase.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$6[var$7] = $this; var$5.$modCount = var$5.$modCount + 1 | 0; $this.$boxName = var$4; var$7 = $par1ModelBase.$textureWidth0; var$8 = $par1ModelBase.$textureHeight0; $this.$textureWidth = var$7; $this.$textureHeight = var$8; $this.$textureOffsetX = $par2; $this.$textureOffsetY = $par3; }, nms_ModelRenderer__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_ModelRenderer(); nms_ModelRenderer__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_ModelRenderer_setTextureOffset = ($this, $par1, $par2) => { $this.$textureOffsetX = $par1; $this.$textureOffsetY = $par2; return $this; }, nms_ModelRenderer_addBox = ($this, $par1Str, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, $var8, var$10, var$11, var$12, var$13, var$14; var$8 = $this.$boxName; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); var$10 = $var8.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, var$10, var$8); var$11 = $var8.$length0; jl_AbstractStringBuilder_insertSpace($var8, var$11, var$11 + 1 | 0); $var8.$buffer.data[var$11] = 46; var$10 = $var8.$length0; if ($par1Str === null) $par1Str = $rt_s(1); jl_AbstractStringBuilder_insert($var8, var$10, $par1Str); var$8 = new jl_String; var$12 = $var8.$buffer; var$13 = var$12.data; var$11 = $var8.$length0; var$14 = var$13.length; if (var$11 >= 0 && var$11 <= (var$14 - 0 | 0)) { a: { var$8.$nativeString = $rt_charArrayToString(var$12.data, 0, var$11); $par1Str = $this.$baseModel.$modelTextureMap; if (!var$8.$hashCode1) { var$10 = 0; while (true) { if (var$10 >= var$8.$nativeString.length) break a; var$8.$hashCode1 = (31 * var$8.$hashCode1 | 0) + var$8.$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$14 = var$8.$hashCode1; var$12 = $par1Str.$elementData.data; $par1Str = var$12[var$14 & (var$12.length - 1 | 0)]; while ($par1Str !== null) { if ($par1Str.$origKeyHash == var$14) { b: { $var8 = $par1Str.$key; if (var$8 !== $var8) { if (var$8 === $var8) var$10 = 1; else if (!($var8 instanceof jl_String)) var$10 = 0; else { $var8 = $var8; var$10 = var$8.$nativeString !== $var8.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break b; } } var$10 = 1; } if (var$10) break; } $par1Str = $par1Str.$next3; } $var8 = $par1Str === null ? null : $par1Str.$value1; var$10 = $var8.$textureOffsetX0; var$11 = $var8.$textureOffsetY0; $this.$textureOffsetX = var$10; $this.$textureOffsetY = var$11; $par1Str = $this.$cubeList; $var8 = nms_ModelBox__init_($this, var$10, var$11, $par2, $par3, $par4, $par5, $par6, $par7, 0.0); $var8.$field_78247_g = var$8; ju_ArrayList_ensureCapacity($par1Str, $par1Str.$size0 + 1 | 0); var$12 = $par1Str.$array.data; $par6 = $par1Str.$size0; $par1Str.$size0 = $par6 + 1 | 0; var$12[$par6] = $var8; $par1Str.$modCount = $par1Str.$modCount + 1 | 0; return $this; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); }, nms_ModelRenderer_addBox0 = ($this, $par1, $par2, $par3, $par4, $par5, $par6) => { let var$7, var$8, var$9; var$7 = $this.$cubeList; var$8 = nms_ModelBox__init_($this, $this.$textureOffsetX, $this.$textureOffsetY, $par1, $par2, $par3, $par4, $par5, $par6, 0.0); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$9 = var$7.$array.data; $par5 = var$7.$size0; var$7.$size0 = $par5 + 1 | 0; var$9[$par5] = var$8; var$7.$modCount = var$7.$modCount + 1 | 0; return $this; }, nms_ModelRenderer_addBox1 = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, var$9, var$10; var$8 = $this.$cubeList; var$9 = nms_ModelBox__init_($this, $this.$textureOffsetX, $this.$textureOffsetY, $par1, $par2, $par3, $par4, $par5, $par6, $par7); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$10 = var$8.$array.data; $par5 = var$8.$size0; var$8.$size0 = $par5 + 1 | 0; var$10[$par5] = var$9; var$8.$modCount = var$8.$modCount + 1 | 0; }, nms_ModelRenderer_setRotationPoint = ($this, $par1, $par2, $par3) => { $this.$rotationPointX = $par1; $this.$rotationPointY = $par2; $this.$rotationPointZ = $par3; }, nms_ModelRenderer_render = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, $var2, var$8; if (!$this.$isHidden && $this.$showModel) { if (!$this.$compiled) nms_ModelRenderer_compileDisplayList($this, $par1); var$2 = $this.$offsetX0; var$3 = $this.$offsetY0; var$4 = $this.$offsetZ; nleg_EaglerAdapterGL30_$callClinit(); var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = var$2; var$5.$y = var$3; var$5.$z = var$4; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } a: { if ($this.$rotateAngleX === 0.0 && $this.$rotateAngleY === 0.0 && $this.$rotateAngleZ === 0.0) { var$2 = $this.$rotationPointX; if (var$2 === 0.0 && $this.$rotationPointY === 0.0 && $this.$rotationPointZ === 0.0) { nleg_EaglerAdapterGL30_glCallList($this.$displayList); if ($this.$childModels === null) break a; $var2 = 0; while (true) { var$5 = $this.$childModels; var$8 = $rt_compare($var2, var$5.$size0); if (var$8 >= 0) break a; if ($var2 < 0) break; if (var$8 >= 0) break; nms_ModelRenderer_render(var$5.$array.data[$var2], $par1); $var2 = $var2 + 1 | 0; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } var$2 = var$2 * $par1; var$3 = $this.$rotationPointY * $par1; var$4 = $this.$rotationPointZ * $par1; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = var$2; var$5.$y = var$3; var$5.$z = var$4; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } b: { nleg_EaglerAdapterGL30_glCallList($this.$displayList); if ($this.$childModels !== null) { $var2 = 0; while (true) { var$5 = $this.$childModels; var$8 = $rt_compare($var2, var$5.$size0); if (var$8 >= 0) break b; if ($var2 < 0) break; if (var$8 >= 0) break; nms_ModelRenderer_render(var$5.$array.data[$var2], $par1); $var2 = $var2 + 1 | 0; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } } var$2 = -$this.$rotationPointX * $par1; var$3 = -$this.$rotationPointY * $par1; $par1 = -$this.$rotationPointZ * $par1; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = var$2; var$5.$y = var$3; var$5.$z = $par1; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { nleg_EaglerAdapterGL30_glPushMatrix(); var$2 = $this.$rotationPointX * $par1; var$3 = $this.$rotationPointY * $par1; var$4 = $this.$rotationPointZ * $par1; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = var$2; var$5.$y = var$3; var$5.$z = var$4; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$2 = $this.$rotateAngleZ; if (var$2 !== 0.0) { var$2 = var$2 * 57.2957763671875; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 0.0; var$5.$z = 1.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } var$2 = $this.$rotateAngleY; if (var$2 !== 0.0) { var$2 = var$2 * 57.2957763671875; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } var$2 = $this.$rotateAngleX; if (var$2 !== 0.0) { var$2 = var$2 * 57.2957763671875; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 1.0; var$5.$y = 0.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$2 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } c: { nleg_EaglerAdapterGL30_glCallList($this.$displayList); if ($this.$childModels !== null) { $var2 = 0; while (true) { var$5 = $this.$childModels; var$8 = $rt_compare($var2, var$5.$size0); if (var$8 >= 0) break c; if ($var2 < 0) break; if (var$8 >= 0) break; nms_ModelRenderer_render(var$5.$array.data[$var2], $par1); $var2 = $var2 + 1 | 0; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } } nleg_EaglerAdapterGL30_glPopMatrix(); } } $par1 = -$this.$offsetX0; var$2 = -$this.$offsetY0; var$3 = -$this.$offsetZ; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = $par1; var$5.$y = var$2; var$5.$z = var$3; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } }, nms_ModelRenderer_renderWithRotation = ($this, $par1) => { let var$2, var$3, var$4, var$5; if (!$this.$isHidden && $this.$showModel) { if (!$this.$compiled) nms_ModelRenderer_compileDisplayList($this, $par1); nleg_EaglerAdapterGL30_glPushMatrix(); var$2 = $this.$rotationPointX * $par1; var$3 = $this.$rotationPointY * $par1; $par1 = $this.$rotationPointZ * $par1; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = var$2; var$4.$y = var$3; var$4.$z = $par1; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1 = $this.$rotateAngleY; if ($par1 !== 0.0) { $par1 = $par1 * 57.2957763671875; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $par1 = $this.$rotateAngleX; if ($par1 !== 0.0) { $par1 = $par1 * 57.2957763671875; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $par1 = $this.$rotateAngleZ; if ($par1 !== 0.0) { $par1 = $par1 * 57.2957763671875; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 0.0; var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nleg_EaglerAdapterGL30_glCallList($this.$displayList); nleg_EaglerAdapterGL30_glPopMatrix(); } }, nms_ModelRenderer_postRender = ($this, $par1) => { let var$2, var$3, var$4, var$5; if (!$this.$isHidden && $this.$showModel) { if (!$this.$compiled) nms_ModelRenderer_compileDisplayList($this, $par1); if ($this.$rotateAngleX === 0.0 && $this.$rotateAngleY === 0.0 && $this.$rotateAngleZ === 0.0) { var$2 = $this.$rotationPointX; if (!(var$2 === 0.0 && $this.$rotationPointY === 0.0 && $this.$rotationPointZ === 0.0)) { var$2 = var$2 * $par1; var$3 = $this.$rotationPointY * $par1; $par1 = $this.$rotationPointZ * $par1; nleg_EaglerAdapterGL30_$callClinit(); var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = var$2; var$4.$y = var$3; var$4.$z = $par1; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } else { var$2 = $this.$rotationPointX * $par1; var$3 = $this.$rotationPointY * $par1; $par1 = $this.$rotationPointZ * $par1; nleg_EaglerAdapterGL30_$callClinit(); var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = var$2; var$4.$y = var$3; var$4.$z = $par1; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1 = $this.$rotateAngleZ; if ($par1 !== 0.0) { $par1 = $par1 * 57.2957763671875; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 0.0; var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $par1 = $this.$rotateAngleY; if ($par1 !== 0.0) { $par1 = $par1 * 57.2957763671875; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $par1 = $this.$rotateAngleX; if ($par1 !== 0.0) { $par1 = $par1 * 57.2957763671875; var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par1 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_(var$4); var$4.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); var$4.$sb = var$5; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } } } }, nms_ModelRenderer_compileDisplayList = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, $var2, var$9, $var3, var$11; nleg_EaglerAdapterGL30_$callClinit(); var$2 = nleg_EaglerAdapterGL30_displayListId + 1 | 0; var$3 = 0; while (var$3 < 1) { var$4 = nleg_EaglerAdapterGL30_displayListId + 1 | 0; nleg_EaglerAdapterGL30_displayListId = var$4; var$5 = nleg_EaglerAdapterGL30_displayLists; if (var$4 >= (-128) && var$4 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$4 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$4; } var$7 = new nleg_EaglerAdapterGL30$DisplayList; var$7.$id8 = var$4; var$7.$glarray = null; var$7.$glbuffer = null; var$7.$shaderMode = (-1); var$7.$listLength = 0; ju_HashMap_putImpl(var$5, var$6, var$7); var$3 = var$3 + 1 | 0; } $var2 = nms_GLAllocation_field_74531_a; var$9 = $rt_compare(var$2, (-128)); if (var$9 >= 0 && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$7 = new jl_Integer; var$7.$value0 = var$2; } jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl($var2, var$7, jl_Integer_integerCache.data[129]); $this.$displayList = var$2; if (!nleg_EaglerAdapterGL30_isCompilingDisplayList) { $var2 = nleg_EaglerAdapterGL30_displayLists; if (var$9 >= 0 && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$7 = new jl_Integer; var$7.$value0 = var$2; } if (var$7 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { $var3 = var$7.$value0; var$11 = $var2.$elementData.data; $var2 = var$11[$var3 & (var$11.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { var$5 = $var2.$key; if (var$7 !== var$5 && !(var$7 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var3 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; nleg_EaglerAdapterGL30_compilingDisplayList = $var2; if ($var2 !== null) { $var2.$shaderMode = (-1); $var2.$listLength = 0; nleg_EaglerAdapterGL30_isCompilingDisplayList = 1; } } nlea_Tessellator_$callClinit(); $var2 = nlea_Tessellator_instance; $var3 = 0; a: { while (true) { var$7 = $this.$cubeList; var$9 = $rt_compare($var3, var$7.$size0); if (var$9 >= 0) break; if ($var3 < 0) break a; if (var$9 >= 0) break a; var$7 = var$7.$array.data[$var3]; var$9 = 0; while (true) { var$11 = var$7.$quadList.data; if (var$9 >= var$11.length) break; nms_TexturedQuad_draw(var$11[var$9], $var2, $par1); var$9 = var$9 + 1 | 0; } $var3 = $var3 + 1 | 0; } nleg_EaglerAdapterGL30_glEndList(); $this.$compiled = 1; return; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); }; function nms_ModelSilverfish() { let a = this; nms_ModelBase.call(a); a.$silverfishBodyParts = null; a.$silverfishWings = null; a.$field_78170_c = null; } let nms_ModelSilverfish_silverfishBoxLength = null, nms_ModelSilverfish_silverfishTexturePositions = null, nms_ModelSilverfish__init_0 = $this => { let var$1, $var2, var$3, var$4, $var1, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; $var2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, $var2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; $this.$silverfishBodyParts = $rt_createArray(nms_ModelRenderer, 7); $this.$field_78170_c = $rt_createFloatArray(7); $var1 = (-3.5); $var2 = 0; var$6 = null; while (true) { var$4 = $this.$silverfishBodyParts.data; if ($var2 >= var$4.length) break; var$1 = new nms_ModelRenderer; var$3 = nms_ModelSilverfish_silverfishTexturePositions.data; var$7 = var$3[$var2].data[0]; var$8 = var$3[$var2].data[1]; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$9; var$1.$baseModel = $this; var$9 = $this.$boxList; ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); var$3 = var$9.$array.data; var$10 = var$9.$size0; var$9.$size0 = var$10 + 1 | 0; var$3[var$10] = var$1; var$9.$modCount = var$9.$modCount + 1 | 0; var$1.$boxName = var$6; var$11 = $this.$textureWidth0; var$10 = $this.$textureHeight0; var$1.$textureWidth = var$11; var$1.$textureHeight = var$10; var$1.$textureOffsetX = var$7; var$1.$textureOffsetY = var$8; var$4[$var2] = var$1; var$1 = $this.$silverfishBodyParts.data[$var2]; var$4 = nms_ModelSilverfish_silverfishBoxLength.data; var$12 = var$4[$var2].data[0] * (-0.5); var$13 = var$4[$var2].data[2] * (-0.5); var$7 = var$4[$var2].data[0]; var$8 = var$4[$var2].data[1]; var$11 = var$4[$var2].data[2]; var$14 = var$1.$cubeList; var$9 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, var$12, 0.0, var$13, var$7, var$8, var$11, 0.0); ju_ArrayList_ensureCapacity(var$14, var$14.$size0 + 1 | 0); var$4 = var$14.$array.data; var$8 = var$14.$size0; var$14.$size0 = var$8 + 1 | 0; var$4[var$8] = var$9; var$14.$modCount = var$14.$modCount + 1 | 0; var$4 = $this.$silverfishBodyParts.data; var$1 = var$4[$var2]; var$3 = nms_ModelSilverfish_silverfishBoxLength.data; var$15 = 24 - var$3[$var2].data[1] | 0; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = var$15; var$1.$rotationPointZ = $var1; $this.$field_78170_c.data[$var2] = $var1; if ($var2 < (var$4.length - 1 | 0)) $var1 = $var1 + (var$3[$var2].data[2] + var$3[$var2 + 1 | 0].data[2] | 0) * 0.5; $var2 = $var2 + 1 | 0; } var$4 = $rt_createArray(nms_ModelRenderer, 3); var$3 = var$4.data; $this.$silverfishWings = var$4; var$1 = new nms_ModelRenderer; var$9 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$10 = var$6.$size0; var$6.$size0 = var$10 + 1 | 0; var$4[var$10] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$9; var$10 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$1.$textureWidth = var$10; var$1.$textureHeight = var$11; var$1.$textureOffsetX = 20; var$1.$textureOffsetY = 0; var$3[0] = var$1; var$1 = $this.$silverfishWings.data[0]; var$4 = nms_ModelSilverfish_silverfishBoxLength.data; var$15 = var$4[2].data[2] * (-0.5); $var2 = var$4[2].data[2]; var$6 = var$1.$cubeList; var$9 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-5.0), 0.0, var$15, 10, 8, $var2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$silverfishWings.data; var$1 = var$4[0]; var$15 = $this.$field_78170_c.data[2]; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 16.0; var$1.$rotationPointZ = var$15; var$1 = new nms_ModelRenderer; var$9 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$10 = var$6.$size0; var$6.$size0 = var$10 + 1 | 0; var$3[var$10] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$9; var$11 = $this.$textureWidth0; var$10 = $this.$textureHeight0; var$1.$textureWidth = var$11; var$1.$textureHeight = var$10; var$1.$textureOffsetX = 20; var$1.$textureOffsetY = 11; var$4[1] = var$1; var$1 = $this.$silverfishWings.data[1]; var$4 = nms_ModelSilverfish_silverfishBoxLength.data; var$15 = var$4[4].data[2] * (-0.5); var$8 = var$4[4].data[2]; var$6 = var$1.$cubeList; var$9 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-3.0), 0.0, var$15, 6, 4, var$8, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$silverfishWings.data; var$1 = var$4[1]; var$15 = $this.$field_78170_c.data[4]; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 20.0; var$1.$rotationPointZ = var$15; var$1 = new nms_ModelRenderer; var$9 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$10 = var$6.$size0; var$6.$size0 = var$10 + 1 | 0; var$3[var$10] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$9; var$11 = $this.$textureWidth0; var$10 = $this.$textureHeight0; var$1.$textureWidth = var$11; var$1.$textureHeight = var$10; var$1.$textureOffsetX = 20; var$1.$textureOffsetY = 18; var$4[2] = var$1; var$1 = $this.$silverfishWings.data[2]; var$4 = nms_ModelSilverfish_silverfishBoxLength.data; var$15 = var$4[4].data[2] * (-0.5); var$8 = var$4[1].data[2]; var$6 = var$1.$cubeList; var$9 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-3.0), 0.0, var$15, 6, 5, var$8, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$silverfishWings.data[2]; var$15 = $this.$field_78170_c.data[1]; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 19.0; var$1.$rotationPointZ = var$15; }, nms_ModelSilverfish__init_ = () => { let var_0 = new nms_ModelSilverfish(); nms_ModelSilverfish__init_0(var_0); return var_0; }, nms_ModelSilverfish_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, var$9; nms_ModelSilverfish_setRotationAngles($this, $par2, $par3, $par4, $par5, $par6, $par7, $par1Entity); $var8 = 0; while (true) { var$9 = $this.$silverfishBodyParts.data; if ($var8 >= var$9.length) break; nms_ModelRenderer_render(var$9[$var8], $par7); $var8 = $var8 + 1 | 0; } $var8 = 0; while (true) { var$9 = $this.$silverfishWings.data; if ($var8 >= var$9.length) break; nms_ModelRenderer_render(var$9[$var8], $par7); $var8 = $var8 + 1 | 0; } }, nms_ModelSilverfish_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let $var8, var$9, var$10, var$11; $var8 = 0; $par4 = $par3 * 0.8999999761581421; while (true) { var$9 = $this.$silverfishBodyParts.data; if ($var8 >= var$9.length) break; $par7Entity = var$9[$var8]; $par1 = $par4 + $var8 * 0.15000000596046448 * 3.1415927410125732; var$10 = nms_MathHelper_SIN_TABLE.data; $par3 = $par1 * 10430.3779296875; $par1 = var$10[($par3 + 16384.0 | 0) & 65535] * 3.1415927410125732 * 0.05000000074505806; var$11 = $var8 - 2 | 0; $par7Entity.$rotateAngleY = $par1 * (1 + (var$11 < 0 ? -var$11 | 0 : var$11) | 0); $par7Entity = var$9[$var8]; $par1 = var$10[($par3 | 0) & 65535] * 3.1415927410125732 * 0.20000000298023224; if (var$11 < 0) var$11 = -var$11 | 0; $par7Entity.$rotationPointX = $par1 * var$11; $var8 = $var8 + 1 | 0; } var$10 = $this.$silverfishWings.data; var$10[0].$rotateAngleY = var$9[2].$rotateAngleY; var$10[1].$rotateAngleY = var$9[4].$rotateAngleY; var$10[1].$rotationPointX = var$9[4].$rotationPointX; var$10[2].$rotateAngleY = var$9[1].$rotateAngleY; var$10[2].$rotationPointX = var$9[1].$rotationPointX; }, nms_ModelSilverfish__clinit_ = () => { let var$1, var$2; var$1 = $rt_createArray($rt_arraycls($rt_intcls), 7); var$2 = var$1.data; var$2[0] = $rt_createIntArrayFromData([3, 2, 2]); var$2[1] = $rt_createIntArrayFromData([4, 3, 2]); var$2[2] = $rt_createIntArrayFromData([6, 4, 3]); var$2[3] = $rt_createIntArrayFromData([3, 3, 3]); var$2[4] = $rt_createIntArrayFromData([2, 2, 3]); var$2[5] = $rt_createIntArrayFromData([2, 1, 2]); var$2[6] = $rt_createIntArrayFromData([1, 1, 2]); nms_ModelSilverfish_silverfishBoxLength = var$1; var$1 = $rt_createArray($rt_arraycls($rt_intcls), 7); var$2 = var$1.data; var$2[0] = $rt_createIntArrayFromData([0, 0]); var$2[1] = $rt_createIntArrayFromData([0, 4]); var$2[2] = $rt_createIntArrayFromData([0, 9]); var$2[3] = $rt_createIntArrayFromData([0, 16]); var$2[4] = $rt_createIntArrayFromData([0, 22]); var$2[5] = $rt_createIntArrayFromData([11, 0]); var$2[6] = $rt_createIntArrayFromData([13, 4]); nms_ModelSilverfish_silverfishTexturePositions = var$1; }; function nms_ModelCreeper() { let a = this; nms_ModelBase.call(a); a.$head6 = null; a.$field_78133_b = null; a.$body5 = null; a.$leg10 = null; a.$leg20 = null; a.$leg30 = null; a.$leg40 = null; } let nms_ModelCreeper__init_ = $this => { nms_ModelCreeper__init_1($this, 0.0); }, nms_ModelCreeper__init_2 = () => { let var_0 = new nms_ModelCreeper(); nms_ModelCreeper__init_(var_0); return var_0; }, nms_ModelCreeper__init_1 = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$2; $this.$isChild0 = 1; var$2 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$4.data; var$2.$elementData = var$4; var$2.$loadFactor = 0.75; var$2.$threshold = var$5.length * 0.75 | 0; $this.$modelTextureMap = var$2; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$3 = var$7.$size0; var$7.$size0 = var$3 + 1 | 0; var$5[var$3] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$3 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$3; var$2.$textureHeight = var$8; var$2.$textureOffsetX = 0; var$2.$textureOffsetY = 0; $this.$head6 = var$2; var$7 = var$2.$cubeList; var$6 = nms_ModelBox__init_(var$2, 0, 0, (-4.0), (-8.0), (-4.0), 8, 8, 8, $par1); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$6; var$7.$modCount = var$7.$modCount + 1 | 0; var$2 = $this.$head6; var$2.$rotationPointX = 0.0; var$2.$rotationPointY = 4.0; var$2.$rotationPointZ = 0.0; var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$9 = var$7.$size0; var$7.$size0 = var$9 + 1 | 0; var$5[var$9] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$10 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$2.$textureWidth = var$10; var$2.$textureHeight = var$9; var$2.$textureOffsetX = 32; var$2.$textureOffsetY = 0; $this.$field_78133_b = var$2; var$11 = $par1 + 0.5; var$7 = var$2.$cubeList; var$6 = nms_ModelBox__init_(var$2, 32, 0, (-4.0), (-8.0), (-4.0), 8, 8, 8, var$11); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$6; var$7.$modCount = var$7.$modCount + 1 | 0; var$2 = $this.$field_78133_b; var$2.$rotationPointX = 0.0; var$2.$rotationPointY = 4.0; var$2.$rotationPointZ = 0.0; var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$9 = var$7.$size0; var$7.$size0 = var$9 + 1 | 0; var$5[var$9] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$10 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$2.$textureWidth = var$10; var$2.$textureHeight = var$9; var$2.$textureOffsetX = 16; var$2.$textureOffsetY = 16; $this.$body5 = var$2; var$7 = var$2.$cubeList; var$6 = nms_ModelBox__init_(var$2, 16, 16, (-4.0), 0.0, (-2.0), 8, 12, 4, $par1); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$6; var$7.$modCount = var$7.$modCount + 1 | 0; var$2 = $this.$body5; var$2.$rotationPointX = 0.0; var$2.$rotationPointY = 4.0; var$2.$rotationPointZ = 0.0; var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$9 = var$7.$size0; var$7.$size0 = var$9 + 1 | 0; var$5[var$9] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$10 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$2.$textureWidth = var$10; var$2.$textureHeight = var$9; var$2.$textureOffsetX = 0; var$2.$textureOffsetY = 16; $this.$leg10 = var$2; var$7 = var$2.$cubeList; var$6 = nms_ModelBox__init_(var$2, 0, 16, (-2.0), 0.0, (-2.0), 4, 6, 4, $par1); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$6; var$7.$modCount = var$7.$modCount + 1 | 0; var$2 = $this.$leg10; var$2.$rotationPointX = (-2.0); var$2.$rotationPointY = 16.0; var$2.$rotationPointZ = 4.0; var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$9 = var$7.$size0; var$7.$size0 = var$9 + 1 | 0; var$5[var$9] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$10 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$2.$textureWidth = var$10; var$2.$textureHeight = var$9; var$2.$textureOffsetX = 0; var$2.$textureOffsetY = 16; $this.$leg20 = var$2; var$7 = var$2.$cubeList; var$6 = nms_ModelBox__init_(var$2, 0, 16, (-2.0), 0.0, (-2.0), 4, 6, 4, $par1); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$6; var$7.$modCount = var$7.$modCount + 1 | 0; var$2 = $this.$leg20; var$2.$rotationPointX = 2.0; var$2.$rotationPointY = 16.0; var$2.$rotationPointZ = 4.0; var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$9 = var$7.$size0; var$7.$size0 = var$9 + 1 | 0; var$5[var$9] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$10 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$2.$textureWidth = var$10; var$2.$textureHeight = var$9; var$2.$textureOffsetX = 0; var$2.$textureOffsetY = 16; $this.$leg30 = var$2; var$7 = var$2.$cubeList; var$6 = nms_ModelBox__init_(var$2, 0, 16, (-2.0), 0.0, (-2.0), 4, 6, 4, $par1); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$6; var$7.$modCount = var$7.$modCount + 1 | 0; var$2 = $this.$leg30; var$2.$rotationPointX = (-2.0); var$2.$rotationPointY = 16.0; var$2.$rotationPointZ = (-4.0); var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$9 = var$7.$size0; var$7.$size0 = var$9 + 1 | 0; var$5[var$9] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$10 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$2.$textureWidth = var$10; var$2.$textureHeight = var$9; var$2.$textureOffsetX = 0; var$2.$textureOffsetY = 16; $this.$leg40 = var$2; var$7 = var$2.$cubeList; var$6 = nms_ModelBox__init_(var$2, 0, 16, (-2.0), 0.0, (-2.0), 4, 6, 4, $par1); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$6; var$7.$modCount = var$7.$modCount + 1 | 0; var$2 = $this.$leg40; var$2.$rotationPointX = 2.0; var$2.$rotationPointY = 16.0; var$2.$rotationPointZ = (-4.0); }, nms_ModelCreeper__init_0 = var_0 => { let var_1 = new nms_ModelCreeper(); nms_ModelCreeper__init_1(var_1, var_0); return var_1; }, nms_ModelCreeper_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { nms_ModelCreeper_setRotationAngles($this, $par2, $par3, $par4, $par5, $par6, $par7, $par1Entity); nms_ModelRenderer_render($this.$head6, $par7); nms_ModelRenderer_render($this.$body5, $par7); nms_ModelRenderer_render($this.$leg10, $par7); nms_ModelRenderer_render($this.$leg20, $par7); nms_ModelRenderer_render($this.$leg30, $par7); nms_ModelRenderer_render($this.$leg40, $par7); }, nms_ModelCreeper_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, var$9, var$10; $par7Entity = $this.$head6; $par7Entity.$rotateAngleY = $par4 / 57.2957763671875; $par7Entity.$rotateAngleX = $par5 / 57.2957763671875; $par7Entity = $this.$leg10; $par1 = $par1 * 0.6661999821662903; var$8 = nms_MathHelper_SIN_TABLE.data; var$9 = ($par1 * 10430.3779296875 + 16384.0 | 0) & 65535; $par7Entity.$rotateAngleX = var$8[var$9] * 1.399999976158142 * $par2; $par7Entity = $this.$leg20; var$10 = (($par1 + 3.1415927410125732) * 10430.3779296875 + 16384.0 | 0) & 65535; $par7Entity.$rotateAngleX = var$8[var$10] * 1.399999976158142 * $par2; $this.$leg30.$rotateAngleX = var$8[var$10] * 1.399999976158142 * $par2; $this.$leg40.$rotateAngleX = var$8[var$9] * 1.399999976158142 * $par2; }; function nms_ModelEnderman() { let a = this; nms_ModelBiped.call(a); a.$isCarrying = 0; a.$isAttacking = 0; } let nms_ModelEnderman__init_0 = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; nms_ModelBiped__init_($this, 0.0, (-14.0), 64, 32); var$1 = new nms_ModelRenderer; var$2 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$3; var$1.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$4[var$5] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; var$1.$boxName = var$2; var$6 = $this.$textureWidth0; var$5 = $this.$textureHeight0; var$1.$textureWidth = var$6; var$1.$textureHeight = var$5; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 16; $this.$bipedHeadwear = var$1; var$2 = var$1.$cubeList; var$3 = nms_ModelBox__init_(var$1, 0, 16, (-4.0), (-8.0), (-4.0), 8, 8, 8, (-0.5)); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3 = $this.$bipedHeadwear; var$3.$rotationPointX = 0.0; var$3.$rotationPointY = (-14.0); var$3.$rotationPointZ = 0.0; var$3 = new nms_ModelRenderer; var$1 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$2; var$3.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$4[var$7] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3.$boxName = var$1; var$5 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$3.$textureWidth = var$5; var$3.$textureHeight = var$7; var$3.$textureOffsetX = 32; var$3.$textureOffsetY = 16; $this.$bipedBody = var$3; var$2 = var$3.$cubeList; var$1 = nms_ModelBox__init_(var$3, 32, 16, (-4.0), 0.0, (-2.0), 8, 12, 4, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$3 = $this.$bipedBody; var$3.$rotationPointX = 0.0; var$3.$rotationPointY = (-14.0); var$3.$rotationPointZ = 0.0; var$3 = new nms_ModelRenderer; var$1 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$2; var$3.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$4[var$7] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3.$boxName = var$1; var$5 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$3.$textureWidth = var$5; var$3.$textureHeight = var$7; var$3.$textureOffsetX = 56; var$3.$textureOffsetY = 0; $this.$bipedRightArm = var$3; var$2 = var$3.$cubeList; var$1 = nms_ModelBox__init_(var$3, 56, 0, (-1.0), (-2.0), (-1.0), 2, 30, 2, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$3 = $this.$bipedRightArm; var$3.$rotationPointX = (-3.0); var$3.$rotationPointY = (-12.0); var$3.$rotationPointZ = 0.0; var$3 = new nms_ModelRenderer; var$1 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$2; var$3.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$4[var$7] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3.$boxName = var$1; var$5 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$3.$textureWidth = var$5; var$3.$textureHeight = var$7; var$3.$textureOffsetX = 56; var$3.$textureOffsetY = 0; $this.$bipedLeftArm = var$3; var$3.$mirror = 1; var$2 = var$3.$cubeList; var$1 = nms_ModelBox__init_(var$3, 56, 0, (-1.0), (-2.0), (-1.0), 2, 30, 2, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$3 = $this.$bipedLeftArm; var$3.$rotationPointX = 5.0; var$3.$rotationPointY = (-12.0); var$3.$rotationPointZ = 0.0; var$3 = new nms_ModelRenderer; var$1 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$2; var$3.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$4[var$7] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3.$boxName = var$1; var$5 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$3.$textureWidth = var$5; var$3.$textureHeight = var$7; var$3.$textureOffsetX = 56; var$3.$textureOffsetY = 0; $this.$bipedRightLeg = var$3; var$2 = var$3.$cubeList; var$1 = nms_ModelBox__init_(var$3, 56, 0, (-1.0), 0.0, (-1.0), 2, 30, 2, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$3 = $this.$bipedRightLeg; var$3.$rotationPointX = (-2.0); var$3.$rotationPointY = (-2.0); var$3.$rotationPointZ = 0.0; var$3 = new nms_ModelRenderer; var$1 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$2; var$3.$baseModel = $this; var$2 = $this.$boxList; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$4[var$7] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3.$boxName = var$1; var$5 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$3.$textureWidth = var$5; var$3.$textureHeight = var$7; var$3.$textureOffsetX = 56; var$3.$textureOffsetY = 0; $this.$bipedLeftLeg = var$3; var$3.$mirror = 1; var$2 = var$3.$cubeList; var$1 = nms_ModelBox__init_(var$3, 56, 0, (-1.0), 0.0, (-1.0), 2, 30, 2, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$4[var$6] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$3 = $this.$bipedLeftLeg; var$3.$rotationPointX = 2.0; var$3.$rotationPointY = (-2.0); var$3.$rotationPointZ = 0.0; }, nms_ModelEnderman__init_ = () => { let var_0 = new nms_ModelEnderman(); nms_ModelEnderman__init_0(var_0); return var_0; }, nms_ModelEnderman_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, var$9, var$10, var$11; nms_ModelBiped_setRotationAngles($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity); $par7Entity = $this.$bipedHead; $par7Entity.$showModel = 1; var$8 = $this.$bipedBody; var$8.$rotateAngleX = 0.0; var$8.$rotationPointY = (-14.0); var$8.$rotationPointZ = 0.0; var$8 = $this.$bipedRightLeg; var$8.$rotateAngleX = var$8.$rotateAngleX - 0.0; var$9 = $this.$bipedLeftLeg; var$9.$rotateAngleX = var$9.$rotateAngleX - 0.0; var$10 = $this.$bipedRightArm; var$10.$rotateAngleX = var$10.$rotateAngleX * 0.5; var$11 = $this.$bipedLeftArm; var$11.$rotateAngleX = var$11.$rotateAngleX * 0.5; var$8.$rotateAngleX = var$8.$rotateAngleX * 0.5; var$9.$rotateAngleX = var$9.$rotateAngleX * 0.5; if (var$10.$rotateAngleX > 0.4000000059604645) var$10.$rotateAngleX = 0.4000000059604645; if (var$11.$rotateAngleX > 0.4000000059604645) var$11.$rotateAngleX = 0.4000000059604645; if (var$10.$rotateAngleX < (-0.4000000059604645)) var$10.$rotateAngleX = (-0.4000000059604645); if (var$11.$rotateAngleX < (-0.4000000059604645)) var$11.$rotateAngleX = (-0.4000000059604645); if (var$8.$rotateAngleX > 0.4000000059604645) var$8.$rotateAngleX = 0.4000000059604645; if (var$9.$rotateAngleX > 0.4000000059604645) var$9.$rotateAngleX = 0.4000000059604645; if (var$8.$rotateAngleX < (-0.4000000059604645)) var$8.$rotateAngleX = (-0.4000000059604645); if (var$9.$rotateAngleX < (-0.4000000059604645)) var$9.$rotateAngleX = (-0.4000000059604645); if ($this.$isCarrying) { var$10.$rotateAngleX = (-0.5); var$11.$rotateAngleX = (-0.5); var$10.$rotateAngleZ = 0.05000000074505806; var$11.$rotateAngleZ = (-0.05000000074505806); } var$10.$rotationPointZ = 0.0; var$11.$rotationPointZ = 0.0; var$8.$rotationPointZ = 0.0; var$9.$rotationPointZ = 0.0; var$8.$rotationPointY = (-5.0); var$9.$rotationPointY = (-5.0); $par7Entity.$rotationPointZ = 0.0; $par7Entity.$rotationPointY = (-13.0); var$8 = $this.$bipedHeadwear; var$8.$rotationPointX = $par7Entity.$rotationPointX; var$8.$rotationPointY = (-13.0); var$8.$rotationPointZ = 0.0; var$8.$rotateAngleX = $par7Entity.$rotateAngleX; var$8.$rotateAngleY = $par7Entity.$rotateAngleY; var$8.$rotateAngleZ = $par7Entity.$rotateAngleZ; if ($this.$isAttacking) $par7Entity.$rotationPointY = $par7Entity.$rotationPointY - 5.0; }; function nms_ModelSnowMan() { let a = this; nms_ModelBase.call(a); a.$body3 = null; a.$bottomBody = null; a.$head5 = null; a.$rightHand = null; a.$leftHand = null; } let nms_ModelSnowMan__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$1.$textureWidth = 64.0; var$1.$textureHeight = 64.0; $this.$head5 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 0, (-4.0), (-8.0), (-4.0), 8, 8, 8, (-0.5)); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$head5; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = 0.0; var$6 = new nms_ModelRenderer; var$1 = null; var$6.$textureWidth = 64.0; var$6.$textureHeight = 32.0; var$6.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$6.$cubeList = var$5; var$6.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$4[var$9] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; var$6.$boxName = var$1; var$2 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$6.$textureWidth = var$2; var$6.$textureHeight = var$9; var$6.$textureOffsetX = 32; var$6.$textureOffsetY = 0; var$6.$textureWidth = 64.0; var$6.$textureHeight = 64.0; $this.$rightHand = var$6; var$5 = var$6.$cubeList; var$1 = nms_ModelBox__init_(var$6, 32, 0, (-1.0), 0.0, (-1.0), 12, 2, 2, (-0.5)); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$4[var$9] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$1 = $this.$rightHand; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 6.0; var$1.$rotationPointZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$2 = var$6.$size0; var$6.$size0 = var$2 + 1 | 0; var$4[var$2] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$2 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$1.$textureWidth = var$2; var$1.$textureHeight = var$9; var$1.$textureOffsetX = 32; var$1.$textureOffsetY = 0; var$1.$textureWidth = 64.0; var$1.$textureHeight = 64.0; $this.$leftHand = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 32, 0, (-1.0), 0.0, (-1.0), 12, 2, 2, (-0.5)); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$leftHand; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 6.0; var$1.$rotationPointZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 16; var$1.$textureWidth = 64.0; var$1.$textureHeight = 64.0; $this.$body3 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 16, (-5.0), (-10.0), (-5.0), 10, 10, 10, (-0.5)); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$body3; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 13.0; var$1.$rotationPointZ = 0.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 36; var$1.$textureWidth = 64.0; var$1.$textureHeight = 64.0; $this.$bottomBody = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 36, (-6.0), (-12.0), (-6.0), 12, 12, 12, (-0.5)); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$bottomBody; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 24.0; var$1.$rotationPointZ = 0.0; }, nms_ModelSnowMan__init_0 = () => { let var_0 = new nms_ModelSnowMan(); nms_ModelSnowMan__init_(var_0); return var_0; }, nms_ModelSnowMan_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, $var8, $var9, var$11, var$12; $par7Entity = $this.$head5; $par1 = $par4 / 57.2957763671875; $par7Entity.$rotateAngleY = $par1; $par7Entity.$rotateAngleX = $par5 / 57.2957763671875; $par7Entity = $this.$body3; $par1 = $par1 * 0.25; $par7Entity.$rotateAngleY = $par1; var$8 = nms_MathHelper_SIN_TABLE.data; $par3 = $par1 * 10430.3779296875; $var8 = var$8[($par3 | 0) & 65535]; $var9 = var$8[($par3 + 16384.0 | 0) & 65535]; var$11 = $this.$rightHand; var$11.$rotateAngleZ = 1.0; var$12 = $this.$leftHand; var$12.$rotateAngleZ = (-1.0); var$11.$rotateAngleY = 0.0 + $par1; var$12.$rotateAngleY = 3.1415927410125732 + $par7Entity.$rotateAngleY; var$11.$rotationPointX = $var9 * 5.0; var$11.$rotationPointZ = -$var8 * 5.0; var$12.$rotationPointX = -$var9 * 5.0; var$12.$rotationPointZ = $var8 * 5.0; }, nms_ModelSnowMan_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { nms_ModelSnowMan_setRotationAngles($this, $par2, $par3, $par4, $par5, $par6, $par7, $par1Entity); nms_ModelRenderer_render($this.$body3, $par7); nms_ModelRenderer_render($this.$bottomBody, $par7); nms_ModelRenderer_render($this.$head5, $par7); nms_ModelRenderer_render($this.$rightHand, $par7); nms_ModelRenderer_render($this.$leftHand, $par7); }, nms_ModelSkeleton = $rt_classWithoutFields(nms_ModelZombie), nms_ModelSkeleton__init_0 = $this => { nms_ModelSkeleton__init_1($this, 0.0); }, nms_ModelSkeleton__init_2 = () => { let var_0 = new nms_ModelSkeleton(); nms_ModelSkeleton__init_0(var_0); return var_0; }, nms_ModelSkeleton__init_1 = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_ModelBiped__init_($this, $par1, 0.0, 64, 32); var$2 = new nms_ModelRenderer; var$3 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$4; var$2.$baseModel = $this; var$4 = $this.$boxList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; var$2.$boxName = var$3; var$6 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$2.$textureWidth = var$6; var$2.$textureHeight = var$7; var$2.$textureOffsetX = 40; var$2.$textureOffsetY = 16; $this.$bipedRightArm = var$2; var$4 = var$2.$cubeList; var$3 = nms_ModelBox__init_(var$2, 40, 16, (-1.0), (-2.0), (-1.0), 2, 12, 2, $par1); ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $this.$bipedRightArm; var$2.$rotationPointX = (-5.0); var$2.$rotationPointY = 2.0; var$2.$rotationPointZ = 0.0; var$2 = new nms_ModelRenderer; var$3 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$4; var$2.$baseModel = $this; var$4 = $this.$boxList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$5[var$8] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; var$2.$boxName = var$3; var$7 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$7; var$2.$textureHeight = var$8; var$2.$textureOffsetX = 40; var$2.$textureOffsetY = 16; $this.$bipedLeftArm = var$2; var$2.$mirror = 1; var$4 = var$2.$cubeList; var$3 = nms_ModelBox__init_(var$2, 40, 16, (-1.0), (-2.0), (-1.0), 2, 12, 2, $par1); ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $this.$bipedLeftArm; var$2.$rotationPointX = 5.0; var$2.$rotationPointY = 2.0; var$2.$rotationPointZ = 0.0; var$2 = new nms_ModelRenderer; var$3 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$4; var$2.$baseModel = $this; var$4 = $this.$boxList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$5[var$8] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; var$2.$boxName = var$3; var$7 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$7; var$2.$textureHeight = var$8; var$2.$textureOffsetX = 0; var$2.$textureOffsetY = 16; $this.$bipedRightLeg = var$2; var$4 = var$2.$cubeList; var$3 = nms_ModelBox__init_(var$2, 0, 16, (-1.0), 0.0, (-1.0), 2, 12, 2, $par1); ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $this.$bipedRightLeg; var$2.$rotationPointX = (-2.0); var$2.$rotationPointY = 12.0; var$2.$rotationPointZ = 0.0; var$2 = new nms_ModelRenderer; var$3 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$4; var$2.$baseModel = $this; var$4 = $this.$boxList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$5[var$8] = var$2; var$4.$modCount = var$4.$modCount + 1 | 0; var$2.$boxName = var$3; var$7 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$7; var$2.$textureHeight = var$8; var$2.$textureOffsetX = 0; var$2.$textureOffsetY = 16; $this.$bipedLeftLeg = var$2; var$2.$mirror = 1; var$4 = var$2.$cubeList; var$3 = nms_ModelBox__init_(var$2, 0, 16, (-1.0), 0.0, (-1.0), 2, 12, 2, $par1); ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$5 = var$4.$array.data; var$6 = var$4.$size0; var$4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $this.$bipedLeftLeg; var$2.$rotationPointX = 2.0; var$2.$rotationPointY = 12.0; var$2.$rotationPointZ = 0.0; }, nms_ModelSkeleton__init_ = var_0 => { let var_1 = new nms_ModelSkeleton(); nms_ModelSkeleton__init_1(var_1, var_0); return var_1; }, nms_ModelSkeleton_setLivingAnimations = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8; $par1EntityLivingBase = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[141]; if (var$5 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$6 = var$5.$value0; var$7 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$6) { var$8 = $par1EntityLivingBase.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; $this.$aimedBow = $par1EntityLivingBase.$watchedObject.$value2 != 1 ? 0 : 1; }, nms_ModelSkeleton_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { nms_ModelZombie_setRotationAngles($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity); }; function nms_ModelVillager() { let a = this; nms_ModelBase.call(a); a.$villagerHead = null; a.$villagerBody = null; a.$villagerArms = null; a.$rightVillagerLeg = null; a.$leftVillagerLeg = null; a.$villagerNose = null; } let nms_ModelVillager__init_0 = ($this, $par1, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$5; $this.$isChild0 = 1; var$5 = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); var$5.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$8 = var$7.data; var$5.$elementData = var$7; var$5.$loadFactor = 0.75; var$5.$threshold = var$8.length * 0.75 | 0; $this.$modelTextureMap = var$5; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$5 = new nms_ModelRenderer; var$9 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$10; var$5.$baseModel = $this; var$10 = $this.$boxList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; var$11 = var$10.$size0; var$10.$size0 = var$11 + 1 | 0; var$8[var$11] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; var$5.$boxName = var$9; var$6 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$5.$textureWidth = var$6; var$5.$textureHeight = var$11; var$12 = $par3; var$5.$textureWidth = var$12; var$13 = $par4; var$5.$textureHeight = var$13; $this.$villagerHead = var$5; var$14 = 0.0 + $par2; var$5.$rotationPointX = 0.0; var$5.$rotationPointY = var$14; var$5.$rotationPointZ = 0.0; var$5.$textureOffsetX = 0; var$5.$textureOffsetY = 0; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 0, 0, (-4.0), (-10.0), (-4.0), 8, 10, 8, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = new nms_ModelRenderer; var$9 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$10; var$5.$baseModel = $this; var$10 = $this.$boxList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; var$5.$boxName = var$9; $par3 = $this.$textureWidth0; $par4 = $this.$textureHeight0; var$5.$textureWidth = $par3; var$5.$textureHeight = $par4; var$5.$textureWidth = var$12; var$5.$textureHeight = var$13; $this.$villagerNose = var$5; var$15 = $par2 - 2.0; var$5.$rotationPointX = 0.0; var$5.$rotationPointY = var$15; var$5.$rotationPointZ = 0.0; var$5.$textureOffsetX = 24; var$5.$textureOffsetY = 0; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 24, 0, (-1.0), (-1.0), (-6.0), 2, 4, 2, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = $this.$villagerHead; var$9 = $this.$villagerNose; if (var$5.$childModels === null) { var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$childModels = var$10; } var$5 = var$5.$childModels; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$8 = var$5.$array.data; $par4 = var$5.$size0; var$5.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$5.$modCount = var$5.$modCount + 1 | 0; var$10 = new nms_ModelRenderer; var$5 = null; var$10.$textureWidth = 64.0; var$10.$textureHeight = 32.0; var$10.$showModel = 1; var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$10.$cubeList = var$9; var$10.$baseModel = $this; var$9 = $this.$boxList; ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); var$8 = var$9.$array.data; $par4 = var$9.$size0; var$9.$size0 = $par4 + 1 | 0; var$8[$par4] = var$10; var$9.$modCount = var$9.$modCount + 1 | 0; var$10.$boxName = var$5; $par3 = $this.$textureWidth0; $par4 = $this.$textureHeight0; var$10.$textureWidth = $par3; var$10.$textureHeight = $par4; var$10.$textureWidth = var$12; var$10.$textureHeight = var$13; $this.$villagerBody = var$10; var$10.$rotationPointX = 0.0; var$10.$rotationPointY = var$14; var$10.$rotationPointZ = 0.0; var$10.$textureOffsetX = 16; var$10.$textureOffsetY = 20; var$9 = var$10.$cubeList; var$5 = nms_ModelBox__init_(var$10, 16, 20, (-4.0), 0.0, (-3.0), 8, 12, 6, $par1); ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); var$8 = var$9.$array.data; $par4 = var$9.$size0; var$9.$size0 = $par4 + 1 | 0; var$8[$par4] = var$5; var$9.$modCount = var$9.$modCount + 1 | 0; var$5 = $this.$villagerBody; var$5.$textureOffsetX = 0; var$5.$textureOffsetY = 38; var$16 = $par1 + 0.5; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 0, 38, (-4.0), 0.0, (-3.0), 8, 18, 6, var$16); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = new nms_ModelRenderer; var$9 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$10; var$5.$baseModel = $this; var$10 = $this.$boxList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; var$5.$boxName = var$9; $par3 = $this.$textureWidth0; $par4 = $this.$textureHeight0; var$5.$textureWidth = $par3; var$5.$textureHeight = $par4; var$5.$textureWidth = var$12; var$5.$textureHeight = var$13; $this.$villagerArms = var$5; var$15 = var$14 + 2.0; var$5.$rotationPointX = 0.0; var$5.$rotationPointY = var$15; var$5.$rotationPointZ = 0.0; var$5.$textureOffsetX = 44; var$5.$textureOffsetY = 22; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 44, 22, (-8.0), (-2.0), (-2.0), 4, 8, 4, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = $this.$villagerArms; var$5.$textureOffsetX = 44; var$5.$textureOffsetY = 22; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 44, 22, 4.0, (-2.0), (-2.0), 4, 8, 4, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = $this.$villagerArms; var$5.$textureOffsetX = 40; var$5.$textureOffsetY = 38; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 40, 38, (-4.0), 2.0, (-2.0), 8, 4, 4, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = new nms_ModelRenderer; var$9 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$10; var$5.$baseModel = $this; var$10 = $this.$boxList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; var$11 = var$10.$size0; var$10.$size0 = var$11 + 1 | 0; var$8[var$11] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; var$5.$boxName = var$9; var$6 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$5.$textureWidth = var$6; var$5.$textureHeight = var$11; var$5.$textureOffsetX = 0; var$5.$textureOffsetY = 22; var$5.$textureWidth = var$12; var$5.$textureHeight = var$13; $this.$rightVillagerLeg = var$5; $par2 = 12.0 + $par2; var$5.$rotationPointX = (-2.0); var$5.$rotationPointY = $par2; var$5.$rotationPointZ = 0.0; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 0, 22, (-2.0), 0.0, (-2.0), 4, 12, 4, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; var$5 = new nms_ModelRenderer; var$9 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$10; var$5.$baseModel = $this; var$10 = $this.$boxList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; var$11 = var$10.$size0; var$10.$size0 = var$11 + 1 | 0; var$8[var$11] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; var$5.$boxName = var$9; var$6 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$5.$textureWidth = var$6; var$5.$textureHeight = var$11; var$5.$textureOffsetX = 0; var$5.$textureOffsetY = 22; var$5.$textureWidth = var$12; var$5.$textureHeight = var$13; $this.$leftVillagerLeg = var$5; var$5.$mirror = 1; var$5.$rotationPointX = 2.0; var$5.$rotationPointY = $par2; var$5.$rotationPointZ = 0.0; var$10 = var$5.$cubeList; var$9 = nms_ModelBox__init_(var$5, 0, 22, (-2.0), 0.0, (-2.0), 4, 12, 4, $par1); ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$8 = var$10.$array.data; $par4 = var$10.$size0; var$10.$size0 = $par4 + 1 | 0; var$8[$par4] = var$9; var$10.$modCount = var$10.$modCount + 1 | 0; }, nms_ModelVillager__init_ = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_ModelVillager(); nms_ModelVillager__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_ModelVillager_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { $this.$setRotationAngles($par2, $par3, $par4, $par5, $par6, $par7, $par1Entity); nms_ModelRenderer_render($this.$villagerHead, $par7); nms_ModelRenderer_render($this.$villagerBody, $par7); nms_ModelRenderer_render($this.$rightVillagerLeg, $par7); nms_ModelRenderer_render($this.$leftVillagerLeg, $par7); nms_ModelRenderer_render($this.$villagerArms, $par7); }, nms_ModelVillager_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, var$9; $par7Entity = $this.$villagerHead; $par7Entity.$rotateAngleY = $par4 / 57.2957763671875; $par7Entity.$rotateAngleX = $par5 / 57.2957763671875; $par7Entity = $this.$villagerArms; $par7Entity.$rotationPointY = 3.0; $par7Entity.$rotationPointZ = (-1.0); $par7Entity.$rotateAngleX = (-0.75); $par7Entity = $this.$rightVillagerLeg; $par4 = $par1 * 0.6661999821662903; var$8 = nms_MathHelper_SIN_TABLE.data; $par7Entity.$rotateAngleX = var$8[($par4 * 10430.3779296875 + 16384.0 | 0) & 65535] * 1.399999976158142 * $par2 * 0.5; var$9 = $this.$leftVillagerLeg; var$9.$rotateAngleX = var$8[(($par4 + 3.1415927410125732) * 10430.3779296875 + 16384.0 | 0) & 65535] * 1.399999976158142 * $par2 * 0.5; $par7Entity.$rotateAngleY = 0.0; var$9.$rotateAngleY = 0.0; }; function nms_ModelWitch() { let a = this; nms_ModelVillager.call(a); a.$field_82900_g = 0; a.$field_82901_h = null; a.$witchHat = null; } let nms_ModelWitch__init_0 = ($this, $par1) => { let $var2, $var3, $var4, var$5, var$6, var$7, var$8; nms_ModelVillager__init_0($this, $par1, 0.0, 64, 128); $var2 = new nms_ModelRenderer; $var3 = null; $var2.$textureWidth = 64.0; $var2.$textureHeight = 32.0; $var2.$showModel = 1; $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var2.$cubeList = $var4; $var2.$baseModel = $this; $var4 = $this.$boxList; ju_ArrayList_ensureCapacity($var4, $var4.$size0 + 1 | 0); var$5 = $var4.$array.data; var$6 = $var4.$size0; $var4.$size0 = var$6 + 1 | 0; var$5[var$6] = $var2; $var4.$modCount = $var4.$modCount + 1 | 0; $var2.$boxName = $var3; var$7 = $this.$textureWidth0; var$6 = $this.$textureHeight0; $var2.$textureWidth = var$7; $var2.$textureHeight = var$6; $var2.$textureWidth = 64.0; $var2.$textureHeight = 128.0; $this.$field_82901_h = $var2; $var2.$rotationPointX = 0.0; $var2.$rotationPointY = (-2.0); $var2.$rotationPointZ = 0.0; $var2.$textureOffsetX = 0; $var2.$textureOffsetY = 0; $var4 = $var2.$cubeList; $var3 = nms_ModelBox__init_($var2, 0, 0, 0.0, 3.0, (-6.75), 1, 1, 1, (-0.25)); ju_ArrayList_ensureCapacity($var4, $var4.$size0 + 1 | 0); var$5 = $var4.$array.data; var$6 = $var4.$size0; $var4.$size0 = var$6 + 1 | 0; var$5[var$6] = $var3; $var4.$modCount = $var4.$modCount + 1 | 0; $var2 = $this.$villagerNose; $var3 = $this.$field_82901_h; if ($var2.$childModels === null) { $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var2.$childModels = $var4; } $var2 = $var2.$childModels; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); var$5 = $var2.$array.data; var$6 = $var2.$size0; $var2.$size0 = var$6 + 1 | 0; var$5[var$6] = $var3; $var2.$modCount = $var2.$modCount + 1 | 0; $var2 = new nms_ModelRenderer; $var3 = null; $var2.$textureWidth = 64.0; $var2.$textureHeight = 32.0; $var2.$showModel = 1; $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var2.$cubeList = $var4; $var2.$baseModel = $this; $var4 = $this.$boxList; ju_ArrayList_ensureCapacity($var4, $var4.$size0 + 1 | 0); var$5 = $var4.$array.data; var$6 = $var4.$size0; $var4.$size0 = var$6 + 1 | 0; var$5[var$6] = $var2; $var4.$modCount = $var4.$modCount + 1 | 0; $var2.$boxName = $var3; var$7 = $this.$textureWidth0; var$6 = $this.$textureHeight0; $var2.$textureWidth = var$7; $var2.$textureHeight = var$6; $var2.$textureWidth = 64.0; $var2.$textureHeight = 128.0; $this.$witchHat = $var2; $var2.$rotationPointX = (-5.0); $var2.$rotationPointY = (-10.03125); $var2.$rotationPointZ = (-5.0); $var2.$textureOffsetX = 0; $var2.$textureOffsetY = 64; $var4 = $var2.$cubeList; $var3 = nms_ModelBox__init_($var2, 0, 64, 0.0, 0.0, 0.0, 10, 2, 10, 0.0); ju_ArrayList_ensureCapacity($var4, $var4.$size0 + 1 | 0); var$5 = $var4.$array.data; var$6 = $var4.$size0; $var4.$size0 = var$6 + 1 | 0; var$5[var$6] = $var3; $var4.$modCount = $var4.$modCount + 1 | 0; $var2 = $this.$villagerHead; $var3 = $this.$witchHat; if ($var2.$childModels === null) { $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var2.$childModels = $var4; } $var2 = $var2.$childModels; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); var$5 = $var2.$array.data; var$6 = $var2.$size0; $var2.$size0 = var$6 + 1 | 0; var$5[var$6] = $var3; $var2.$modCount = $var2.$modCount + 1 | 0; $var2 = new nms_ModelRenderer; $var3 = null; $var2.$textureWidth = 64.0; $var2.$textureHeight = 32.0; $var2.$showModel = 1; $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var2.$cubeList = $var4; $var2.$baseModel = $this; $var4 = $this.$boxList; ju_ArrayList_ensureCapacity($var4, $var4.$size0 + 1 | 0); var$5 = $var4.$array.data; var$6 = $var4.$size0; $var4.$size0 = var$6 + 1 | 0; var$5[var$6] = $var2; $var4.$modCount = $var4.$modCount + 1 | 0; $var2.$boxName = $var3; var$7 = $this.$textureWidth0; var$6 = $this.$textureHeight0; $var2.$textureWidth = var$7; $var2.$textureHeight = var$6; $var2.$textureWidth = 64.0; $var2.$textureHeight = 128.0; $var2.$rotationPointX = 1.75; $var2.$rotationPointY = (-4.0); $var2.$rotationPointZ = 2.0; $var2.$textureOffsetX = 0; $var2.$textureOffsetY = 76; $var3 = $var2.$cubeList; $var4 = nms_ModelBox__init_($var2, 0, 76, 0.0, 0.0, 0.0, 7, 4, 7, 0.0); ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); var$5 = $var3.$array.data; var$6 = $var3.$size0; $var3.$size0 = var$6 + 1 | 0; var$5[var$6] = $var4; $var3.$modCount = $var3.$modCount + 1 | 0; $var2.$rotateAngleX = (-0.05235987901687622); $var2.$rotateAngleZ = 0.02617993950843811; $var3 = $this.$witchHat; if ($var3.$childModels === null) { $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var3.$childModels = $var4; } $var3 = $var3.$childModels; ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); var$5 = $var3.$array.data; var$6 = $var3.$size0; $var3.$size0 = var$6 + 1 | 0; var$5[var$6] = $var2; $var3.$modCount = $var3.$modCount + 1 | 0; $var3 = new nms_ModelRenderer; $var4 = null; $var3.$textureWidth = 64.0; $var3.$textureHeight = 32.0; $var3.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); $var3.$cubeList = var$8; $var3.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$5 = var$8.$array.data; var$6 = var$8.$size0; var$8.$size0 = var$6 + 1 | 0; var$5[var$6] = $var3; var$8.$modCount = var$8.$modCount + 1 | 0; $var3.$boxName = $var4; var$7 = $this.$textureWidth0; var$6 = $this.$textureHeight0; $var3.$textureWidth = var$7; $var3.$textureHeight = var$6; $var3.$textureWidth = 64.0; $var3.$textureHeight = 128.0; $var3.$rotationPointX = 1.75; $var3.$rotationPointY = (-4.0); $var3.$rotationPointZ = 2.0; $var3.$textureOffsetX = 0; $var3.$textureOffsetY = 87; $var4 = $var3.$cubeList; var$8 = nms_ModelBox__init_($var3, 0, 87, 0.0, 0.0, 0.0, 4, 4, 4, 0.0); ju_ArrayList_ensureCapacity($var4, $var4.$size0 + 1 | 0); var$5 = $var4.$array.data; var$6 = $var4.$size0; $var4.$size0 = var$6 + 1 | 0; var$5[var$6] = var$8; $var4.$modCount = $var4.$modCount + 1 | 0; $var3.$rotateAngleX = (-0.10471975803375244); $var3.$rotateAngleZ = 0.05235987901687622; if ($var2.$childModels === null) { $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var2.$childModels = $var4; } $var2 = $var2.$childModels; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); var$5 = $var2.$array.data; var$6 = $var2.$size0; $var2.$size0 = var$6 + 1 | 0; var$5[var$6] = $var3; $var2.$modCount = $var2.$modCount + 1 | 0; $var4 = new nms_ModelRenderer; $var2 = null; $var4.$textureWidth = 64.0; $var4.$textureHeight = 32.0; $var4.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); $var4.$cubeList = var$8; $var4.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$5 = var$8.$array.data; var$6 = var$8.$size0; var$8.$size0 = var$6 + 1 | 0; var$5[var$6] = $var4; var$8.$modCount = var$8.$modCount + 1 | 0; $var4.$boxName = $var2; var$7 = $this.$textureWidth0; var$6 = $this.$textureHeight0; $var4.$textureWidth = var$7; $var4.$textureHeight = var$6; $var4.$textureWidth = 64.0; $var4.$textureHeight = 128.0; $var4.$rotationPointX = 1.75; $var4.$rotationPointY = (-2.0); $var4.$rotationPointZ = 2.0; $var4.$textureOffsetX = 0; $var4.$textureOffsetY = 95; var$8 = $var4.$cubeList; $var2 = nms_ModelBox__init_($var4, 0, 95, 0.0, 0.0, 0.0, 1, 2, 1, 0.25); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$5 = var$8.$array.data; var$6 = var$8.$size0; var$8.$size0 = var$6 + 1 | 0; var$5[var$6] = $var2; var$8.$modCount = var$8.$modCount + 1 | 0; $var4.$rotateAngleX = (-0.20943951606750488); $var4.$rotateAngleZ = 0.10471975803375244; if ($var3.$childModels === null) { $var2 = new ju_ArrayList; $var2.$array = $rt_createArray(jl_Object, 10); $var3.$childModels = $var2; } $var2 = $var3.$childModels; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); var$5 = $var2.$array.data; var$6 = $var2.$size0; $var2.$size0 = var$6 + 1 | 0; var$5[var$6] = $var4; $var2.$modCount = $var2.$modCount + 1 | 0; }, nms_ModelWitch__init_ = var_0 => { let var_1 = new nms_ModelWitch(); nms_ModelWitch__init_0(var_1, var_0); return var_1; }, nms_ModelWitch_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, $var8, var$10; nms_ModelVillager_setRotationAngles($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity); var$8 = $this.$villagerNose; var$8.$offsetZ = 0.0; var$8.$offsetY0 = 0.0; var$8.$offsetX0 = 0.0; $var8 = 0.009999999776482582 * ($par7Entity.$entityId % 10 | 0); $par2 = $par7Entity.$ticksExisted * $var8; var$10 = nms_MathHelper_SIN_TABLE.data; $par1 = $par2 * 10430.3779296875; var$8.$rotateAngleX = var$10[($par1 | 0) & 65535] * 4.5 * 3.1415927410125732 / 180.0; var$8.$rotateAngleY = 0.0; var$8.$rotateAngleZ = var$10[($par1 + 16384.0 | 0) & 65535] * 2.5 * 3.1415927410125732 / 180.0; if ($this.$field_82900_g) { var$8.$rotateAngleX = (-0.8999999761581421); var$8.$offsetZ = (-0.09375); var$8.$offsetY0 = 0.1875; } }; function nms_ModelBlaze() { let a = this; nms_ModelBase.call(a); a.$blazeSticks = null; a.$blazeHead = null; } let nms_ModelBlaze__init_0 = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; $var1 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, $var1); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; $this.$blazeSticks = $rt_createArray(nms_ModelRenderer, 12); $var1 = 0; var$5 = null; while (true) { var$4 = $this.$blazeSticks.data; if ($var1 >= var$4.length) break; var$1 = new nms_ModelRenderer; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$3[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$7 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$1.$textureWidth = var$7; var$1.$textureHeight = var$8; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 16; var$4[$var1] = var$1; var$1 = $this.$blazeSticks.data[$var1]; var$9 = var$1.$cubeList; var$6 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, 0.0, 0.0, 0.0, 2, 8, 2, 0.0); ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); var$4 = var$9.$array.data; var$10 = var$9.$size0; var$9.$size0 = var$10 + 1 | 0; var$4[var$10] = var$6; var$9.$modCount = var$9.$modCount + 1 | 0; $var1 = $var1 + 1 | 0; } var$1 = new nms_ModelRenderer; var$6 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$5; var$1.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$11 = var$5.$size0; var$5.$size0 = var$11 + 1 | 0; var$4[var$11] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$1.$boxName = var$6; var$10 = $this.$textureWidth0; var$11 = $this.$textureHeight0; var$1.$textureWidth = var$10; var$1.$textureHeight = var$11; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; $this.$blazeHead = var$1; var$5 = var$1.$cubeList; var$6 = nms_ModelBox__init_(var$1, 0, 0, (-4.0), (-4.0), (-4.0), 8, 8, 8, 0.0); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; }, nms_ModelBlaze__init_ = () => { let var_0 = new nms_ModelBlaze(); nms_ModelBlaze__init_0(var_0); return var_0; }, nms_ModelBlaze_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, var$9; nms_ModelBlaze_setRotationAngles($this, $par2, $par3, $par4, $par5, $par6, $par7, $par1Entity); nms_ModelRenderer_render($this.$blazeHead, $par7); $var8 = 0; while (true) { var$9 = $this.$blazeSticks.data; if ($var8 >= var$9.length) break; nms_ModelRenderer_render(var$9[$var8], $par7); $var8 = $var8 + 1 | 0; } }, nms_ModelBlaze_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let $var8, $var9, var$10, var$11, var$12; $par6 = $par3 * 3.1415927410125732; $var8 = $par6 * (-0.10000000149011612); $var9 = 0; while ($var9 < 4) { var$10 = $this.$blazeSticks.data; $par7Entity = var$10[$var9]; $par2 = (($var9 * 2 | 0) + $par3) * 0.25; var$11 = nms_MathHelper_SIN_TABLE.data; $par7Entity.$rotationPointY = (-2.0) + var$11[($par2 * 10430.3779296875 + 16384.0 | 0) & 65535]; $par7Entity = var$10[$var9]; $par1 = $var8 * 10430.3779296875; $par7Entity.$rotationPointX = var$11[($par1 + 16384.0 | 0) & 65535] * 9.0; var$10[$var9].$rotationPointZ = var$11[($par1 | 0) & 65535] * 9.0; $var8 = $var8 + 1.0; $var9 = $var9 + 1 | 0; } $par1 = 0.7853981852531433 + $par6 * 0.029999999329447746; var$12 = 4; while (var$12 < 8) { var$11 = $this.$blazeSticks.data; $par7Entity = var$11[var$12]; $var8 = ((var$12 * 2 | 0) + $par3) * 0.25; var$10 = nms_MathHelper_SIN_TABLE.data; $par7Entity.$rotationPointY = 2.0 + var$10[($var8 * 10430.3779296875 + 16384.0 | 0) & 65535]; $par7Entity = var$11[var$12]; $var8 = $par1 * 10430.3779296875; $par7Entity.$rotationPointX = var$10[($var8 + 16384.0 | 0) & 65535] * 7.0; var$11[var$12].$rotationPointZ = var$10[($var8 | 0) & 65535] * 7.0; $par1 = $par1 + 1.0; var$12 = var$12 + 1 | 0; } $par1 = 0.4712389409542084 + $par6 * (-0.05000000074505806); var$12 = 8; while (var$12 < 12) { var$10 = $this.$blazeSticks.data; $par7Entity = var$10[var$12]; $par2 = (var$12 * 1.5 + $par3) * 0.5; var$11 = nms_MathHelper_SIN_TABLE.data; $par7Entity.$rotationPointY = 11.0 + var$11[($par2 * 10430.3779296875 + 16384.0 | 0) & 65535]; $par7Entity = var$10[var$12]; $par6 = $par1 * 10430.3779296875; $par7Entity.$rotationPointX = var$11[($par6 + 16384.0 | 0) & 65535] * 5.0; var$10[var$12].$rotationPointZ = var$11[($par6 | 0) & 65535] * 5.0; $par1 = $par1 + 1.0; var$12 = var$12 + 1 | 0; } $par7Entity = $this.$blazeHead; $par7Entity.$rotateAngleY = $par4 / 57.2957763671875; $par7Entity.$rotateAngleX = $par5 / 57.2957763671875; }, nms_ModelZombieVillager = $rt_classWithoutFields(nms_ModelBiped), nms_ModelZombieVillager__init_0 = $this => { nms_ModelZombieVillager__init_1($this, 0.0, 0.0, 0); }, nms_ModelZombieVillager__init_2 = () => { let var_0 = new nms_ModelZombieVillager(); nms_ModelZombieVillager__init_0(var_0); return var_0; }, nms_ModelZombieVillager__init_1 = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10; nms_ModelBiped__init_($this, $par1, 0.0, 64, !$par3 ? 64 : 32); if ($par3) { var$4 = new nms_ModelRenderer; var$5 = null; var$4.$textureWidth = 64.0; var$4.$textureHeight = 32.0; var$4.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$4.$cubeList = var$6; var$4.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; var$4.$boxName = var$5; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$4.$textureWidth = var$9; var$4.$textureHeight = var$8; var$4.$textureOffsetX = 0; var$4.$textureOffsetY = 0; $this.$bipedHead = var$4; var$6 = var$4.$cubeList; var$5 = nms_ModelBox__init_(var$4, 0, 0, (-4.0), (-10.0), (-4.0), 8, 6, 8, $par1); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$10 = var$6.$size0; var$6.$size0 = var$10 + 1 | 0; var$7[var$10] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$bipedHead; $par2 = 0.0 + $par2; var$4.$rotationPointX = 0.0; var$4.$rotationPointY = $par2; var$4.$rotationPointZ = 0.0; } else { var$5 = new nms_ModelRenderer; var$6 = null; var$5.$textureWidth = 64.0; var$5.$textureHeight = 32.0; var$5.$showModel = 1; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); var$5.$cubeList = var$4; var$5.$baseModel = $this; var$4 = $this.$boxList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$10 = var$4.$size0; var$4.$size0 = var$10 + 1 | 0; var$7[var$10] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; var$5.$boxName = var$6; $par3 = $this.$textureWidth0; var$10 = $this.$textureHeight0; var$5.$textureWidth = $par3; var$5.$textureHeight = var$10; $this.$bipedHead = var$5; $par2 = 0.0 + $par2; var$5.$rotationPointX = 0.0; var$5.$rotationPointY = $par2; var$5.$rotationPointZ = 0.0; var$5.$textureOffsetX = 0; var$5.$textureOffsetY = 32; var$6 = var$5.$cubeList; var$4 = nms_ModelBox__init_(var$5, 0, 32, (-4.0), (-10.0), (-4.0), 8, 10, 8, $par1); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$10 = var$6.$size0; var$6.$size0 = var$10 + 1 | 0; var$7[var$10] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$bipedHead; var$4.$textureOffsetX = 24; var$4.$textureOffsetY = 32; var$6 = var$4.$cubeList; var$5 = nms_ModelBox__init_(var$4, 24, 32, (-1.0), (-3.0), (-6.0), 2, 4, 2, $par1); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$10 = var$6.$size0; var$6.$size0 = var$10 + 1 | 0; var$7[var$10] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; } }, nms_ModelZombieVillager__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_ModelZombieVillager(); nms_ModelZombieVillager__init_1(var_3, var_0, var_1, var_2); return var_3; }, nms_ModelZombieVillager_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, $var8, $var9, var$11, var$12; nms_ModelBiped_setRotationAngles($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity); $par1 = $this.$onGround1; $par2 = $par1 * 3.1415927410125732; var$8 = nms_MathHelper_SIN_TABLE.data; $var8 = var$8[($par2 * 10430.3779296875 | 0) & 65535]; $par1 = 1.0 - $par1; $var9 = var$8[((1.0 - $par1 * $par1) * 3.1415927410125732 * 10430.3779296875 | 0) & 65535]; $par7Entity = $this.$bipedRightArm; $par7Entity.$rotateAngleZ = 0.0; var$11 = $this.$bipedLeftArm; var$11.$rotateAngleZ = 0.0; $par1 = 0.10000000149011612 - $var8 * 0.6000000238418579; $par7Entity.$rotateAngleY = -$par1; var$11.$rotateAngleY = $par1; $par7Entity.$rotateAngleX = (-1.5707963705062866); var$11.$rotateAngleX = (-1.5707963705062866); $par1 = $par7Entity.$rotateAngleX; $par2 = $var8 * 1.2000000476837158 - $var9 * 0.4000000059604645; $par7Entity.$rotateAngleX = $par1 - $par2; var$11.$rotateAngleX = var$11.$rotateAngleX - $par2; $par4 = $par7Entity.$rotateAngleZ; var$12 = ($par3 * 0.09000000357627869 * 10430.3779296875 + 16384.0 | 0) & 65535; $par7Entity.$rotateAngleZ = $par4 + var$8[var$12] * 0.05000000074505806 + 0.05000000074505806; var$11.$rotateAngleZ = var$11.$rotateAngleZ - (var$8[var$12] * 0.05000000074505806 + 0.05000000074505806); $par1 = $par7Entity.$rotateAngleX; var$12 = ($par3 * 0.06700000166893005 * 10430.3779296875 | 0) & 65535; $par7Entity.$rotateAngleX = $par1 + var$8[var$12] * 0.05000000074505806; var$11.$rotateAngleX = var$11.$rotateAngleX - var$8[var$12] * 0.05000000074505806; }; function nms_ModelMagmaCube() { let a = this; nms_ModelBase.call(a); a.$field_78109_a = null; a.$field_78108_b = null; } let nms_ModelMagmaCube__init_0 = $this => { let var$1, $var1, var$3, var$4, $var2, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; $var1 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, $var1); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; $this.$field_78109_a = $rt_createArray(nms_ModelRenderer, 8); $var1 = 0; var$1 = null; while (true) { var$4 = $this.$field_78109_a.data; if ($var1 >= var$4.length) break; $var2 = 0; if ($var1 == 2) { $var2 = 24; var$6 = 10; } else if ($var1 != 3) var$6 = $var1; else { $var2 = 24; var$6 = 19; } var$7 = new nms_ModelRenderer; var$7.$textureWidth = 64.0; var$7.$textureHeight = 32.0; var$7.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$7.$cubeList = var$8; var$7.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$3 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$3[var$9] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; var$7.$boxName = var$1; var$10 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$7.$textureWidth = var$10; var$7.$textureHeight = var$9; var$7.$textureOffsetX = $var2; var$7.$textureOffsetY = var$6; var$4[$var1] = var$7; var$7 = $this.$field_78109_a.data[$var1]; var$11 = 16 + $var1 | 0; var$12 = var$7.$cubeList; var$8 = nms_ModelBox__init_(var$7, var$7.$textureOffsetX, var$7.$textureOffsetY, (-4.0), var$11, (-4.0), 8, 1, 8, 0.0); ju_ArrayList_ensureCapacity(var$12, var$12.$size0 + 1 | 0); var$4 = var$12.$array.data; $var2 = var$12.$size0; var$12.$size0 = $var2 + 1 | 0; var$4[$var2] = var$8; var$12.$modCount = var$12.$modCount + 1 | 0; $var1 = $var1 + 1 | 0; } var$1 = new nms_ModelRenderer; var$7 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$8; var$1.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$4 = var$8.$array.data; var$6 = var$8.$size0; var$8.$size0 = var$6 + 1 | 0; var$4[var$6] = var$1; var$8.$modCount = var$8.$modCount + 1 | 0; var$1.$boxName = var$7; $var2 = $this.$textureWidth0; var$6 = $this.$textureHeight0; var$1.$textureWidth = $var2; var$1.$textureHeight = var$6; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 16; $this.$field_78108_b = var$1; var$8 = var$1.$cubeList; var$7 = nms_ModelBox__init_(var$1, 0, 16, (-2.0), 18.0, (-2.0), 4, 4, 4, 0.0); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$4 = var$8.$array.data; var$10 = var$8.$size0; var$8.$size0 = var$10 + 1 | 0; var$4[var$10] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; }, nms_ModelMagmaCube__init_ = () => { let var_0 = new nms_ModelMagmaCube(); nms_ModelMagmaCube__init_0(var_0); return var_0; }, nms_ModelMagmaCube_setLivingAnimations = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { let $var5, $var6, $var7, var$8; $var5 = $par1EntityLivingBase; $par2 = $var5.$prevSquishFactor; $var6 = $par2 + ($var5.$squishFactor - $par2) * $par4; if ($var6 < 0.0) $var6 = 0.0; $var7 = 0; while (true) { var$8 = $this.$field_78109_a.data; if ($var7 >= var$8.length) break; var$8[$var7].$rotationPointY = ( -(4 - $var7 | 0) | 0) * $var6 * 1.7000000476837158; $var7 = $var7 + 1 | 0; } }, nms_ModelMagmaCube_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, var$9; nms_ModelRenderer_render($this.$field_78108_b, $par7); $var8 = 0; while (true) { var$9 = $this.$field_78109_a.data; if ($var8 >= var$9.length) break; nms_ModelRenderer_render(var$9[$var8], $par7); $var8 = $var8 + 1 | 0; } }; function nle_ModelBipedNewSkins() { let a = this; nms_ModelBiped.call(a); a.$field_178734_a = null; a.$field_178732_b = null; a.$field_178733_c = null; a.$field_178731_d = null; a.$field_178730_v = null; a.$field_178729_w = null; a.$field_178736_x = null; a.$isAlex = 0; } let nle_ModelBipedNewSkins__init_0 = ($this, $p_i46304_1_, $p_i46304_2_) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; nms_ModelBiped__init_($this, $p_i46304_1_, 0.0, 64, 64); $this.$isAlex = $p_i46304_2_; var$3 = new nms_ModelRenderer; var$4 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$5; var$3.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$3.$boxName = var$4; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$7; var$3.$textureOffsetX = 24; var$3.$textureOffsetY = 0; $this.$field_178736_x = var$3; var$5 = var$3.$cubeList; var$4 = nms_ModelBox__init_(var$3, 24, 0, (-3.0), (-6.0), (-1.0), 6, 6, 1, $p_i46304_1_); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$6[var$8] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$3 = new nms_ModelRenderer; var$4 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$5; var$3.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$3.$boxName = var$4; var$9 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$3.$textureWidth = var$9; var$3.$textureHeight = var$7; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 0; $this.$field_178729_w = var$3; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$5 = var$3.$cubeList; var$4 = nms_ModelBox__init_(var$3, 0, 0, (-5.0), 0.0, (-1.0), 10, 16, 1, $p_i46304_1_); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$6[var$8] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; if (!$p_i46304_2_) { var$3 = new nms_ModelRenderer; var$4 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$5; var$3.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$3.$boxName = var$4; var$8 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 32; var$3.$textureOffsetY = 48; $this.$bipedLeftArm = var$3; var$5 = var$3.$cubeList; var$4 = nms_ModelBox__init_(var$3, 32, 48, (-1.0), (-2.0), (-2.0), 4, 12, 4, $p_i46304_1_); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$10 = var$5.$size0; var$5.$size0 = var$10 + 1 | 0; var$6[var$10] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$3 = $this.$bipedLeftArm; var$3.$rotationPointX = 5.0; var$3.$rotationPointY = 2.0; var$3.$rotationPointZ = 0.0; var$3 = new nms_ModelRenderer; var$4 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$5; var$3.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$3.$boxName = var$4; var$8 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 48; var$3.$textureOffsetY = 48; $this.$field_178734_a = var$3; var$11 = $p_i46304_1_ + 0.25; var$5 = var$3.$cubeList; var$4 = nms_ModelBox__init_(var$3, 48, 48, (-1.0), (-2.0), (-2.0), 4, 12, 4, var$11); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$10 = var$5.$size0; var$5.$size0 = var$10 + 1 | 0; var$6[var$10] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$3 = $this.$field_178734_a; var$3.$rotationPointX = 5.0; var$3.$rotationPointY = 2.0; var$3.$rotationPointZ = 0.0; var$3 = new nms_ModelRenderer; var$4 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$5; var$3.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$3.$boxName = var$4; var$8 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 40; var$3.$textureOffsetY = 32; $this.$field_178732_b = var$3; var$5 = var$3.$cubeList; var$4 = nms_ModelBox__init_(var$3, 40, 32, (-3.0), (-2.0), (-2.0), 4, 12, 4, var$11); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$10 = var$5.$size0; var$5.$size0 = var$10 + 1 | 0; var$6[var$10] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$3 = $this.$field_178732_b; var$3.$rotationPointX = (-5.0); var$3.$rotationPointY = 2.0; var$3.$rotationPointZ = 10.0; } else { var$3 = new nms_ModelRenderer; var$4 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$5; var$3.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$3.$boxName = var$4; var$8 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 32; var$3.$textureOffsetY = 48; $this.$bipedLeftArm = var$3; var$5 = var$3.$cubeList; var$4 = nms_ModelBox__init_(var$3, 32, 48, (-1.0), (-2.0), (-2.0), 3, 12, 4, $p_i46304_1_); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$10 = var$5.$size0; var$5.$size0 = var$10 + 1 | 0; var$6[var$10] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$3 = $this.$bipedLeftArm; var$3.$rotationPointX = 5.0; var$3.$rotationPointY = 2.5; var$3.$rotationPointZ = 0.0; var$3 = new nms_ModelRenderer; var$4 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$5; var$3.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$3.$boxName = var$4; var$8 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 40; var$3.$textureOffsetY = 16; $this.$bipedRightArm = var$3; var$5 = var$3.$cubeList; var$4 = nms_ModelBox__init_(var$3, 40, 16, (-2.0), (-2.0), (-2.0), 3, 12, 4, $p_i46304_1_); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$10 = var$5.$size0; var$5.$size0 = var$10 + 1 | 0; var$6[var$10] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$3 = $this.$bipedRightArm; var$3.$rotationPointX = (-5.0); var$3.$rotationPointY = 2.5; var$3.$rotationPointZ = 0.0; var$3 = new nms_ModelRenderer; var$4 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$5; var$3.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$3.$boxName = var$4; var$8 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 48; var$3.$textureOffsetY = 48; $this.$field_178734_a = var$3; var$12 = $p_i46304_1_ + 0.25; var$5 = var$3.$cubeList; var$4 = nms_ModelBox__init_(var$3, 48, 48, (-1.0), (-2.0), (-2.0), 3, 12, 4, var$12); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$10 = var$5.$size0; var$5.$size0 = var$10 + 1 | 0; var$6[var$10] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$3 = $this.$field_178734_a; var$3.$rotationPointX = 5.0; var$3.$rotationPointY = 2.5; var$3.$rotationPointZ = 0.0; var$3 = new nms_ModelRenderer; var$4 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$5; var$3.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$3.$boxName = var$4; var$8 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 40; var$3.$textureOffsetY = 32; $this.$field_178732_b = var$3; var$5 = var$3.$cubeList; var$4 = nms_ModelBox__init_(var$3, 40, 32, (-2.0), (-2.0), (-2.0), 3, 12, 4, var$12); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$10 = var$5.$size0; var$5.$size0 = var$10 + 1 | 0; var$6[var$10] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$3 = $this.$field_178732_b; var$3.$rotationPointX = (-5.0); var$3.$rotationPointY = 2.5; var$3.$rotationPointZ = 10.0; } var$3 = new nms_ModelRenderer; var$4 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$5; var$3.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$3.$boxName = var$4; var$8 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 16; var$3.$textureOffsetY = 48; $this.$bipedLeftLeg = var$3; var$5 = var$3.$cubeList; var$4 = nms_ModelBox__init_(var$3, 16, 48, (-2.0), 0.0, (-2.0), 4, 12, 4, $p_i46304_1_); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$10 = var$5.$size0; var$5.$size0 = var$10 + 1 | 0; var$6[var$10] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$3 = $this.$bipedLeftLeg; var$3.$rotationPointX = 1.899999976158142; var$3.$rotationPointY = 12.0; var$3.$rotationPointZ = 0.0; var$3 = new nms_ModelRenderer; var$4 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$5; var$3.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$3.$boxName = var$4; var$8 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 48; $this.$field_178733_c = var$3; $p_i46304_1_ = $p_i46304_1_ + 0.25; var$5 = var$3.$cubeList; var$4 = nms_ModelBox__init_(var$3, 0, 48, (-2.0), 0.0, (-2.0), 4, 12, 4, $p_i46304_1_); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$10 = var$5.$size0; var$5.$size0 = var$10 + 1 | 0; var$6[var$10] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$3 = $this.$field_178733_c; var$3.$rotationPointX = 1.899999976158142; var$3.$rotationPointY = 12.0; var$3.$rotationPointZ = 0.0; var$3 = new nms_ModelRenderer; var$4 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$5; var$3.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$3.$boxName = var$4; var$8 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 32; $this.$field_178731_d = var$3; var$5 = var$3.$cubeList; var$4 = nms_ModelBox__init_(var$3, 0, 32, (-2.0), 0.0, (-2.0), 4, 12, 4, $p_i46304_1_); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$10 = var$5.$size0; var$5.$size0 = var$10 + 1 | 0; var$6[var$10] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$3 = $this.$field_178731_d; var$3.$rotationPointX = (-1.899999976158142); var$3.$rotationPointY = 12.0; var$3.$rotationPointZ = 0.0; var$3 = new nms_ModelRenderer; var$4 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$5; var$3.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$5.$modCount = var$5.$modCount + 1 | 0; var$3.$boxName = var$4; var$8 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$8; var$3.$textureHeight = var$9; var$3.$textureOffsetX = 16; var$3.$textureOffsetY = 32; $this.$field_178730_v = var$3; var$5 = var$3.$cubeList; var$4 = nms_ModelBox__init_(var$3, 16, 32, (-4.0), 0.0, (-2.0), 8, 12, 4, $p_i46304_1_); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$6 = var$5.$array.data; var$10 = var$5.$size0; var$5.$size0 = var$10 + 1 | 0; var$6[var$10] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$3 = $this.$field_178730_v; var$3.$rotationPointX = 0.0; var$3.$rotationPointY = 0.0; var$3.$rotationPointZ = 0.0; }, nle_ModelBipedNewSkins__init_ = (var_0, var_1) => { let var_2 = new nle_ModelBipedNewSkins(); nle_ModelBipedNewSkins__init_0(var_2, var_0, var_1); return var_2; }, nle_ModelBipedNewSkins_render = ($this, $p_78088_1_, $p_78088_2_, $p_78088_3_, $p_78088_4_, $p_78088_5_, $p_78088_6_, $p_78088_7_) => { let var$8; nms_ModelBiped_render($this, $p_78088_1_, $p_78088_2_, $p_78088_3_, $p_78088_4_, $p_78088_5_, $p_78088_6_, $p_78088_7_); nleg_EaglerAdapterGL30_glPushMatrix(); if ($p_78088_1_ !== null && $p_78088_1_.$isSneaking()) { $p_78088_1_ = nleg_EaglerAdapterGL30_deevis; $p_78088_1_.$x = 0.0; $p_78088_1_.$y = 0.20000000298023224; $p_78088_1_.$z = 0.0; $p_78088_1_ = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $p_78088_1_, $p_78088_1_); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $p_78088_1_ = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($p_78088_1_); $p_78088_1_.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $p_78088_1_.$sb = var$8; $p_78088_1_.$buffer0 = $rt_createCharArray(32); $p_78088_1_.$autoFlush = 0; $p_78088_1_.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $p_78088_1_; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } nms_ModelRenderer_render($this.$field_178733_c, $p_78088_7_); nms_ModelRenderer_render($this.$field_178731_d, $p_78088_7_); nms_ModelRenderer_render($this.$field_178734_a, $p_78088_7_); nms_ModelRenderer_render($this.$field_178732_b, $p_78088_7_); nms_ModelRenderer_render($this.$field_178730_v, $p_78088_7_); nleg_EaglerAdapterGL30_glPopMatrix(); }, nle_ModelBipedNewSkins_setRotationAngles = ($this, $p_78087_1_, $p_78087_2_, $p_78087_3_, $p_78087_4_, $p_78087_5_, $p_78087_6_, $p_78087_7_) => { let var$8; nms_ModelBiped_setRotationAngles($this, $p_78087_1_, $p_78087_2_, $p_78087_3_, $p_78087_4_, $p_78087_5_, $p_78087_6_, $p_78087_7_); $p_78087_7_ = $this.$bipedLeftLeg; var$8 = $this.$field_178733_c; var$8.$rotateAngleX = $p_78087_7_.$rotateAngleX; var$8.$rotateAngleY = $p_78087_7_.$rotateAngleY; var$8.$rotateAngleZ = $p_78087_7_.$rotateAngleZ; var$8.$rotationPointX = $p_78087_7_.$rotationPointX; var$8.$rotationPointY = $p_78087_7_.$rotationPointY; var$8.$rotationPointZ = $p_78087_7_.$rotationPointZ; $p_78087_7_ = $this.$bipedRightLeg; var$8 = $this.$field_178731_d; var$8.$rotateAngleX = $p_78087_7_.$rotateAngleX; var$8.$rotateAngleY = $p_78087_7_.$rotateAngleY; var$8.$rotateAngleZ = $p_78087_7_.$rotateAngleZ; var$8.$rotationPointX = $p_78087_7_.$rotationPointX; var$8.$rotationPointY = $p_78087_7_.$rotationPointY; var$8.$rotationPointZ = $p_78087_7_.$rotationPointZ; $p_78087_7_ = $this.$bipedLeftArm; var$8 = $this.$field_178734_a; var$8.$rotateAngleX = $p_78087_7_.$rotateAngleX; var$8.$rotateAngleY = $p_78087_7_.$rotateAngleY; var$8.$rotateAngleZ = $p_78087_7_.$rotateAngleZ; var$8.$rotationPointX = $p_78087_7_.$rotationPointX; var$8.$rotationPointY = $p_78087_7_.$rotationPointY; var$8.$rotationPointZ = $p_78087_7_.$rotationPointZ; $p_78087_7_ = $this.$bipedRightArm; var$8 = $this.$field_178732_b; var$8.$rotateAngleX = $p_78087_7_.$rotateAngleX; var$8.$rotateAngleY = $p_78087_7_.$rotateAngleY; var$8.$rotateAngleZ = $p_78087_7_.$rotateAngleZ; var$8.$rotationPointX = $p_78087_7_.$rotationPointX; var$8.$rotationPointY = $p_78087_7_.$rotationPointY; var$8.$rotationPointZ = $p_78087_7_.$rotationPointZ; $p_78087_7_ = $this.$bipedBody; var$8 = $this.$field_178730_v; var$8.$rotateAngleX = $p_78087_7_.$rotateAngleX; var$8.$rotateAngleY = $p_78087_7_.$rotateAngleY; var$8.$rotateAngleZ = $p_78087_7_.$rotateAngleZ; var$8.$rotationPointX = $p_78087_7_.$rotationPointX; var$8.$rotationPointY = $p_78087_7_.$rotationPointY; var$8.$rotationPointZ = $p_78087_7_.$rotationPointZ; }; function nms_ModelGhast() { let a = this; nms_ModelBase.call(a); a.$body4 = null; a.$tentacles = null; } let nms_ModelGhast__init_ = $this => { let var$1, $var6, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var2$seed, $var3, $var4, $var5, var$14; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; $var6 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, $var6); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; $this.$tentacles = $rt_createArray(nms_ModelRenderer, 9); var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; $this.$body4 = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 0, (-8.0), (-8.0), (-8.0), 16, 16, 16, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$body4; var$1.$rotationPointY = var$1.$rotationPointY + 8.0; $var2$seed = Long_fromInt(1660); $var3 = 0; var$5 = null; while (true) { var$3 = $this.$tentacles.data; if ($var3 >= var$3.length) break; var$6 = new nms_ModelRenderer; var$6.$textureWidth = 64.0; var$6.$textureHeight = 32.0; var$6.$showModel = 1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); var$6.$cubeList = var$1; var$6.$baseModel = $this; var$1 = $this.$boxList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$4 = var$1.$array.data; var$9 = var$1.$size0; var$1.$size0 = var$9 + 1 | 0; var$4[var$9] = var$6; var$1.$modCount = var$1.$modCount + 1 | 0; var$6.$boxName = var$5; $var6 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$6.$textureWidth = $var6; var$6.$textureHeight = var$9; var$6.$textureOffsetX = 0; var$6.$textureOffsetY = 0; var$3[$var3] = var$6; $var4 = $var3 % 3 | 0; $var6 = $var3 / 3 | 0; $var4 = (($var4 - ($var6 % 2 | 0) * 0.5 + 0.25) / 2.0 * 2.0 - 1.0) * 5.0; $var5 = ($var6 / 2.0 * 2.0 - 1.0) * 5.0; $var2$seed = Long_and(Long_add(Long_mul($var2$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6 = Long_lo(Long_shru($var2$seed, 17)); while (true) { var$9 = $var6 % 7 | 0; if ((($var6 - var$9 | 0) + 6 | 0) >= 0) break; $var2$seed = Long_and(Long_add(Long_mul($var2$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6 = Long_lo(Long_shru($var2$seed, 17)); } $var6 = var$9 + 8 | 0; var$1 = $this.$tentacles.data[$var3]; var$14 = var$1.$cubeList; var$6 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-1.0), 0.0, (-1.0), 2, $var6, 2, 0.0); ju_ArrayList_ensureCapacity(var$14, var$14.$size0 + 1 | 0); var$4 = var$14.$array.data; $var6 = var$14.$size0; var$14.$size0 = $var6 + 1 | 0; var$4[$var6] = var$6; var$14.$modCount = var$14.$modCount + 1 | 0; var$4 = $this.$tentacles.data; var$4[$var3].$rotationPointX = $var4; var$4[$var3].$rotationPointZ = $var5; var$4[$var3].$rotationPointY = 15.0; $var3 = $var3 + 1 | 0; } }, nms_ModelGhast__init_0 = () => { let var_0 = new nms_ModelGhast(); nms_ModelGhast__init_(var_0); return var_0; }, nms_ModelGhast_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let $var8, var$9; $var8 = 0; $par3 = $par3 * 0.30000001192092896; while (true) { var$9 = $this.$tentacles.data; if ($var8 >= var$9.length) break; $par7Entity = var$9[$var8]; $par1 = $par3 + $var8; $par7Entity.$rotateAngleX = 0.20000000298023224 * nms_MathHelper_SIN_TABLE.data[($par1 * 10430.3779296875 | 0) & 65535] + 0.4000000059604645; $var8 = $var8 + 1 | 0; } }, nms_ModelGhast_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var11, $var8, $var9, $var10; nms_ModelGhast_setRotationAngles($this, $par2, $par3, $par4, $par5, $par6, $par7, $par1Entity); nleg_EaglerAdapterGL30_glPushMatrix(); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = 0.6000000238418579; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var11 = new otcic_JSStderrPrintStream; $par1Entity = new ji_ByteArrayOutputStream; $par1Entity.$buf = $rt_createByteArray(32); jl_Object__init_($var11); $var11.$out0 = $par1Entity; $par1Entity = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par1Entity, 16); $var11.$sb = $par1Entity; $var11.$buffer0 = $rt_createCharArray(32); $var11.$autoFlush = 0; $var11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var11; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$body4, $par7); $var8 = $this.$tentacles.data; $var9 = $var8.length; $var10 = 0; while ($var10 < $var9) { nms_ModelRenderer_render($var8[$var10], $par7); $var10 = $var10 + 1 | 0; } nleg_EaglerAdapterGL30_glPopMatrix(); }; function nms_ModelIronGolem() { let a = this; nms_ModelBase.call(a); a.$ironGolemHead = null; a.$ironGolemBody = null; a.$ironGolemRightArm = null; a.$ironGolemLeftArm = null; a.$ironGolemLeftLeg = null; a.$ironGolemRightLeg = null; } let nms_ModelIronGolem__init_0 = $this => { nms_ModelIronGolem__init_($this, 0.0, (-7.0)); }, nms_ModelIronGolem__init_2 = () => { let var_0 = new nms_ModelIronGolem(); nms_ModelIronGolem__init_0(var_0); return var_0; }, nms_ModelIronGolem__init_ = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$3; $this.$isChild0 = 1; var$3 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; var$3.$elementData = var$5; var$3.$loadFactor = 0.75; var$3.$threshold = var$6.length * 0.75 | 0; $this.$modelTextureMap = var$3; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$3 = new nms_ModelRenderer; var$7 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$8; var$3.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$8.$modCount = var$8.$modCount + 1 | 0; var$3.$boxName = var$7; var$4 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$4; var$3.$textureHeight = var$9; var$3.$textureWidth = 128.0; var$3.$textureHeight = 128.0; $this.$ironGolemHead = var$3; var$10 = 0.0 + $par2; var$3.$rotationPointX = 0.0; var$3.$rotationPointY = var$10; var$3.$rotationPointZ = (-2.0); var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 0; var$8 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 0, 0, (-4.0), (-12.0), (-5.5), 8, 10, 8, $par1); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; var$3 = $this.$ironGolemHead; var$3.$textureOffsetX = 24; var$3.$textureOffsetY = 0; var$8 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 24, 0, (-1.0), (-5.0), (-7.5), 2, 4, 2, $par1); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; var$3 = new nms_ModelRenderer; var$7 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$8; var$3.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$8.$modCount = var$8.$modCount + 1 | 0; var$3.$boxName = var$7; var$4 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$4; var$3.$textureHeight = var$9; var$3.$textureWidth = 128.0; var$3.$textureHeight = 128.0; $this.$ironGolemBody = var$3; var$3.$rotationPointX = 0.0; var$3.$rotationPointY = var$10; var$3.$rotationPointZ = 0.0; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 40; var$8 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 0, 40, (-9.0), (-2.0), (-6.0), 18, 12, 11, $par1); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; var$8 = $this.$ironGolemBody; var$8.$textureOffsetX = 0; var$8.$textureOffsetY = 70; var$11 = $par1 + 0.5; var$7 = var$8.$cubeList; var$3 = nms_ModelBox__init_(var$8, 0, 70, (-4.5), 10.0, (-3.0), 9, 5, 6, var$11); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$6 = var$7.$array.data; var$9 = var$7.$size0; var$7.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$7.$modCount = var$7.$modCount + 1 | 0; var$3 = new nms_ModelRenderer; var$7 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$8; var$3.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$8.$modCount = var$8.$modCount + 1 | 0; var$3.$boxName = var$7; var$4 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$4; var$3.$textureHeight = var$9; var$3.$textureWidth = 128.0; var$3.$textureHeight = 128.0; $this.$ironGolemRightArm = var$3; var$3.$rotationPointX = 0.0; var$3.$rotationPointY = (-7.0); var$3.$rotationPointZ = 0.0; var$3.$textureOffsetX = 60; var$3.$textureOffsetY = 21; var$8 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 60, 21, (-13.0), (-2.5), (-3.0), 4, 30, 6, $par1); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; var$3 = new nms_ModelRenderer; var$7 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$8; var$3.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; var$8.$modCount = var$8.$modCount + 1 | 0; var$3.$boxName = var$7; var$4 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$3.$textureWidth = var$4; var$3.$textureHeight = var$9; var$3.$textureWidth = 128.0; var$3.$textureHeight = 128.0; $this.$ironGolemLeftArm = var$3; var$3.$rotationPointX = 0.0; var$3.$rotationPointY = (-7.0); var$3.$rotationPointZ = 0.0; var$3.$textureOffsetX = 60; var$3.$textureOffsetY = 58; var$8 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 60, 58, 9.0, (-2.5), (-3.0), 4, 30, 6, $par1); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; var$3 = new nms_ModelRenderer; var$7 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$8; var$3.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$12 = var$8.$size0; var$8.$size0 = var$12 + 1 | 0; var$6[var$12] = var$3; var$8.$modCount = var$8.$modCount + 1 | 0; var$3.$boxName = var$7; var$13 = $this.$textureWidth0; var$12 = $this.$textureHeight0; var$3.$textureWidth = var$13; var$3.$textureHeight = var$12; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 22; var$3.$textureWidth = 128.0; var$3.$textureHeight = 128.0; $this.$ironGolemLeftLeg = var$3; $par2 = 18.0 + $par2; var$3.$rotationPointX = (-4.0); var$3.$rotationPointY = $par2; var$3.$rotationPointZ = 0.0; var$3.$textureOffsetX = 37; var$3.$textureOffsetY = 0; var$8 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 37, 0, (-3.5), (-3.0), (-3.0), 6, 16, 5, $par1); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; var$3 = new nms_ModelRenderer; var$7 = null; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$8; var$3.$baseModel = $this; var$8 = $this.$boxList; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$12 = var$8.$size0; var$8.$size0 = var$12 + 1 | 0; var$6[var$12] = var$3; var$8.$modCount = var$8.$modCount + 1 | 0; var$3.$boxName = var$7; var$13 = $this.$textureWidth0; var$12 = $this.$textureHeight0; var$3.$textureWidth = var$13; var$3.$textureHeight = var$12; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 22; var$3.$textureWidth = 128.0; var$3.$textureHeight = 128.0; $this.$ironGolemRightLeg = var$3; var$3.$mirror = 1; var$3.$textureOffsetX = 60; var$3.$textureOffsetY = 0; var$3.$rotationPointX = 5.0; var$3.$rotationPointY = $par2; var$3.$rotationPointZ = 0.0; var$8 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 60, 0, (-3.5), (-3.0), (-3.0), 6, 16, 5, $par1); ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$6 = var$8.$array.data; var$9 = var$8.$size0; var$8.$size0 = var$9 + 1 | 0; var$6[var$9] = var$7; var$8.$modCount = var$8.$modCount + 1 | 0; }, nms_ModelIronGolem__init_1 = (var_0, var_1) => { let var_2 = new nms_ModelIronGolem(); nms_ModelIronGolem__init_(var_2, var_0, var_1); return var_2; }, nms_ModelIronGolem_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { nms_ModelIronGolem_setRotationAngles($this, $par2, $par3, $par4, $par5, $par6, $par7, $par1Entity); nms_ModelRenderer_render($this.$ironGolemHead, $par7); nms_ModelRenderer_render($this.$ironGolemBody, $par7); nms_ModelRenderer_render($this.$ironGolemLeftLeg, $par7); nms_ModelRenderer_render($this.$ironGolemRightLeg, $par7); nms_ModelRenderer_render($this.$ironGolemRightArm, $par7); nms_ModelRenderer_render($this.$ironGolemLeftArm, $par7); }, nms_ModelIronGolem_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { $par7Entity = $this.$ironGolemHead; $par7Entity.$rotateAngleY = $par4 / 57.2957763671875; $par7Entity.$rotateAngleX = $par5 / 57.2957763671875; $par7Entity = $this.$ironGolemLeftLeg; $par4 = $par1 % 13.0 - 6.5; $par7Entity.$rotateAngleX = (-1.5) * (jl_Math_absImpl0($par4) - 3.25) / 3.25 * $par2; $this.$ironGolemRightLeg.$rotateAngleX = 1.5 * (jl_Math_absImpl0($par4) - 3.25) / 3.25 * $par2; $this.$ironGolemLeftLeg.$rotateAngleY = 0.0; $this.$ironGolemRightLeg.$rotateAngleY = 0.0; }, nms_ModelIronGolem_setLivingAnimations = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { let $var5, $var6, $var7, var$8; $var5 = $par1EntityLivingBase; $var6 = $var5.$attackTimer; if ($var6 > 0) { $par1EntityLivingBase = $this.$ironGolemRightArm; $par4 = ($var6 - $par4) % 10.0 - 5.0; $par1EntityLivingBase.$rotateAngleX = (-2.0) + 1.5 * (jl_Math_absImpl0($par4) - 2.5) / 2.5; $this.$ironGolemLeftArm.$rotateAngleX = (-2.0) + 1.5 * (jl_Math_absImpl0($par4) - 2.5) / 2.5; } else { $var7 = $var5.$holdRoseTick; if ($var7 > 0) { $this.$ironGolemRightArm.$rotateAngleX = (-0.800000011920929) + 0.02500000037252903 * (jl_Math_absImpl0($var7 % 70.0 - 35.0) - 17.5) / 17.5; $this.$ironGolemLeftArm.$rotateAngleX = 0.0; } else { $par1EntityLivingBase = $this.$ironGolemRightArm; var$8 = $par2 % 13.0 - 6.5; $par1EntityLivingBase.$rotateAngleX = ((-0.20000000298023224) + 1.5 * (jl_Math_absImpl0(var$8) - 3.25) / 3.25) * $par3; $this.$ironGolemLeftArm.$rotateAngleX = ((-0.20000000298023224) - 1.5 * (jl_Math_absImpl0(var$8) - 3.25) / 3.25) * $par3; } } }; function nms_ModelBat() { let a = this; nms_ModelBase.call(a); a.$batHead = null; a.$batBody = null; a.$batRightWing = null; a.$batLeftWing = null; a.$batOuterRightWing = null; a.$batOuterLeftWing = null; } let nms_ModelBat__init_0 = $this => { let $var1, var$2, var$3, var$4, $var2, var$6, var$7, var$8, var$9; $var1 = new ju_ArrayList; $var1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = $var1; $this.$isChild0 = 1; $var1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); $var1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; $var1.$elementData = var$3; $var1.$loadFactor = 0.75; $var1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = $var1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; $this.$textureWidth0 = 64; $this.$textureHeight0 = 64; $var1 = new nms_ModelRenderer; $var2 = null; $var1.$textureWidth = 64.0; $var1.$textureHeight = 32.0; $var1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var1.$cubeList = var$6; $var1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = $var1; var$6.$modCount = var$6.$modCount + 1 | 0; $var1.$boxName = $var2; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; $var1.$textureWidth = var$8; $var1.$textureHeight = var$7; $var1.$textureOffsetX = 0; $var1.$textureOffsetY = 0; $this.$batHead = $var1; var$6 = $var1.$cubeList; $var2 = nms_ModelBox__init_($var1, 0, 0, (-3.0), (-3.0), (-3.0), 6, 6, 6, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = $var2; var$6.$modCount = var$6.$modCount + 1 | 0; $var1 = new nms_ModelRenderer; $var2 = null; $var1.$textureWidth = 64.0; $var1.$textureHeight = 32.0; $var1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var1.$cubeList = var$6; $var1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = $var1; var$6.$modCount = var$6.$modCount + 1 | 0; $var1.$boxName = $var2; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; $var1.$textureWidth = var$8; $var1.$textureHeight = var$7; $var1.$textureOffsetX = 24; $var1.$textureOffsetY = 0; var$6 = $var1.$cubeList; $var2 = nms_ModelBox__init_($var1, 24, 0, (-4.0), (-6.0), (-2.0), 3, 4, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = $var2; var$6.$modCount = var$6.$modCount + 1 | 0; $var2 = $this.$batHead; if ($var2.$childModels === null) { var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var2.$childModels = var$6; } $var2 = $var2.$childModels; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); var$4 = $var2.$array.data; var$9 = $var2.$size0; $var2.$size0 = var$9 + 1 | 0; var$4[var$9] = $var1; $var2.$modCount = $var2.$modCount + 1 | 0; $var2 = new nms_ModelRenderer; $var1 = null; $var2.$textureWidth = 64.0; $var2.$textureHeight = 32.0; $var2.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var2.$cubeList = var$6; $var2.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = $var2; var$6.$modCount = var$6.$modCount + 1 | 0; $var2.$boxName = $var1; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; $var2.$textureWidth = var$8; $var2.$textureHeight = var$7; $var2.$textureOffsetX = 24; $var2.$textureOffsetY = 0; $var2.$mirror = 1; var$6 = $var2.$cubeList; $var1 = nms_ModelBox__init_($var2, 24, 0, 1.0, (-6.0), (-2.0), 3, 4, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = $var1; var$6.$modCount = var$6.$modCount + 1 | 0; $var1 = $this.$batHead; if ($var1.$childModels === null) { var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var1.$childModels = var$6; } $var1 = $var1.$childModels; ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$4 = $var1.$array.data; var$9 = $var1.$size0; $var1.$size0 = var$9 + 1 | 0; var$4[var$9] = $var2; $var1.$modCount = $var1.$modCount + 1 | 0; $var1 = new nms_ModelRenderer; $var2 = null; $var1.$textureWidth = 64.0; $var1.$textureHeight = 32.0; $var1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var1.$cubeList = var$6; $var1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = $var1; var$6.$modCount = var$6.$modCount + 1 | 0; $var1.$boxName = $var2; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; $var1.$textureWidth = var$8; $var1.$textureHeight = var$7; $var1.$textureOffsetX = 0; $var1.$textureOffsetY = 16; $this.$batBody = $var1; $var2 = $var1.$cubeList; var$6 = nms_ModelBox__init_($var1, 0, 16, (-3.0), 4.0, (-3.0), 6, 12, 6, 0.0); ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); var$4 = $var2.$array.data; var$9 = $var2.$size0; $var2.$size0 = var$9 + 1 | 0; var$4[var$9] = var$6; $var2.$modCount = $var2.$modCount + 1 | 0; $var1 = $this.$batBody; $var1.$textureOffsetX = 0; $var1.$textureOffsetY = 34; var$6 = $var1.$cubeList; $var2 = nms_ModelBox__init_($var1, 0, 34, (-5.0), 16.0, 0.0, 10, 6, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = $var2; var$6.$modCount = var$6.$modCount + 1 | 0; $var1 = new nms_ModelRenderer; $var2 = null; $var1.$textureWidth = 64.0; $var1.$textureHeight = 32.0; $var1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var1.$cubeList = var$6; $var1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = $var1; var$6.$modCount = var$6.$modCount + 1 | 0; $var1.$boxName = $var2; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; $var1.$textureWidth = var$8; $var1.$textureHeight = var$7; $var1.$textureOffsetX = 42; $var1.$textureOffsetY = 0; $this.$batRightWing = $var1; var$6 = $var1.$cubeList; $var2 = nms_ModelBox__init_($var1, 42, 0, (-12.0), 1.0, 1.5, 10, 16, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = $var2; var$6.$modCount = var$6.$modCount + 1 | 0; $var1 = new nms_ModelRenderer; $var2 = null; $var1.$textureWidth = 64.0; $var1.$textureHeight = 32.0; $var1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var1.$cubeList = var$6; $var1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = $var1; var$6.$modCount = var$6.$modCount + 1 | 0; $var1.$boxName = $var2; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; $var1.$textureWidth = var$8; $var1.$textureHeight = var$7; $var1.$textureOffsetX = 24; $var1.$textureOffsetY = 16; $this.$batOuterRightWing = $var1; $var1.$rotationPointX = (-12.0); $var1.$rotationPointY = 1.0; $var1.$rotationPointZ = 1.5; var$6 = $var1.$cubeList; $var2 = nms_ModelBox__init_($var1, 24, 16, (-8.0), 1.0, 0.0, 8, 12, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = $var2; var$6.$modCount = var$6.$modCount + 1 | 0; $var1 = new nms_ModelRenderer; $var2 = null; $var1.$textureWidth = 64.0; $var1.$textureHeight = 32.0; $var1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var1.$cubeList = var$6; $var1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = $var1; var$6.$modCount = var$6.$modCount + 1 | 0; $var1.$boxName = $var2; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; $var1.$textureWidth = var$8; $var1.$textureHeight = var$7; $var1.$textureOffsetX = 42; $var1.$textureOffsetY = 0; $this.$batLeftWing = $var1; $var1.$mirror = 1; var$6 = $var1.$cubeList; $var2 = nms_ModelBox__init_($var1, 42, 0, 2.0, 1.0, 1.5, 10, 16, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = $var2; var$6.$modCount = var$6.$modCount + 1 | 0; $var1 = new nms_ModelRenderer; $var2 = null; $var1.$textureWidth = 64.0; $var1.$textureHeight = 32.0; $var1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var1.$cubeList = var$6; $var1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = $var1; var$6.$modCount = var$6.$modCount + 1 | 0; $var1.$boxName = $var2; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; $var1.$textureWidth = var$8; $var1.$textureHeight = var$7; $var1.$textureOffsetX = 24; $var1.$textureOffsetY = 16; $this.$batOuterLeftWing = $var1; $var1.$mirror = 1; $var1.$rotationPointX = 12.0; $var1.$rotationPointY = 1.0; $var1.$rotationPointZ = 1.5; var$6 = $var1.$cubeList; $var2 = nms_ModelBox__init_($var1, 24, 16, 0.0, 1.0, 0.0, 8, 12, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = $var2; var$6.$modCount = var$6.$modCount + 1 | 0; $var1 = $this.$batBody; $var2 = $this.$batRightWing; if ($var1.$childModels === null) { var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var1.$childModels = var$6; } $var1 = $var1.$childModels; ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$4 = $var1.$array.data; var$9 = $var1.$size0; $var1.$size0 = var$9 + 1 | 0; var$4[var$9] = $var2; $var1.$modCount = $var1.$modCount + 1 | 0; $var1 = $this.$batBody; $var2 = $this.$batLeftWing; if ($var1.$childModels === null) { var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var1.$childModels = var$6; } $var1 = $var1.$childModels; ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$4 = $var1.$array.data; var$9 = $var1.$size0; $var1.$size0 = var$9 + 1 | 0; var$4[var$9] = $var2; $var1.$modCount = $var1.$modCount + 1 | 0; $var1 = $this.$batRightWing; $var2 = $this.$batOuterRightWing; if ($var1.$childModels === null) { var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var1.$childModels = var$6; } $var1 = $var1.$childModels; ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$4 = $var1.$array.data; var$9 = $var1.$size0; $var1.$size0 = var$9 + 1 | 0; var$4[var$9] = $var2; $var1.$modCount = $var1.$modCount + 1 | 0; $var1 = $this.$batLeftWing; $var2 = $this.$batOuterLeftWing; if ($var1.$childModels === null) { var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var1.$childModels = var$6; } $var1 = $var1.$childModels; ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$4 = $var1.$array.data; var$9 = $var1.$size0; $var1.$size0 = var$9 + 1 | 0; var$4[var$9] = $var2; $var1.$modCount = $var1.$modCount + 1 | 0; }, nms_ModelBat__init_ = () => { let var_0 = new nms_ModelBat(); nms_ModelBat__init_0(var_0); return var_0; }, nms_ModelBat_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, var$9, var$10, $var8; $par1Entity = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$9 = var$8.$value0; var$10 = $par1Entity.$elementData.data; $par1Entity = var$10[var$9 & (var$10.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$9) { $var8 = $par1Entity.$key; if (var$8 !== $var8 && !(var$8 === $var8 ? 1 : $var8 instanceof jl_Integer && $var8.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if (!($par1Entity.$watchedObject.$value2 & 1) ? 0 : 1) { $par1Entity = $this.$batHead; $par1Entity.$rotateAngleX = $par6 / 57.2957763671875; $par1Entity.$rotateAngleY = 3.1415927410125732 - $par5 / 57.2957763671875; $par1Entity.$rotateAngleZ = 3.1415927410125732; $par1Entity.$rotationPointX = 0.0; $par1Entity.$rotationPointY = (-2.0); $par1Entity.$rotationPointZ = 0.0; $par1Entity = $this.$batRightWing; $par1Entity.$rotationPointX = (-3.0); $par1Entity.$rotationPointY = 0.0; $par1Entity.$rotationPointZ = 3.0; $var8 = $this.$batLeftWing; $var8.$rotationPointX = 3.0; $var8.$rotationPointY = 0.0; $var8.$rotationPointZ = 3.0; $this.$batBody.$rotateAngleX = 3.1415927410125732; $par1Entity.$rotateAngleX = (-0.15707963705062866); $par1Entity.$rotateAngleY = (-1.2566370964050293); var$8 = $this.$batOuterRightWing; var$8.$rotateAngleY = (-1.72787606716156); $var8.$rotateAngleX = (-0.15707963705062866); $var8.$rotateAngleY = -$par1Entity.$rotateAngleY; $this.$batOuterLeftWing.$rotateAngleY = -var$8.$rotateAngleY; } else { $par1Entity = $this.$batHead; $par1Entity.$rotateAngleX = $par6 / 57.2957763671875; $par1Entity.$rotateAngleY = $par5 / 57.2957763671875; $par1Entity.$rotateAngleZ = 0.0; $par1Entity.$rotationPointX = 0.0; $par1Entity.$rotationPointY = 0.0; $par1Entity.$rotationPointZ = 0.0; $par1Entity = $this.$batRightWing; $par1Entity.$rotationPointX = 0.0; $par1Entity.$rotationPointY = 0.0; $par1Entity.$rotationPointZ = 0.0; $var8 = $this.$batLeftWing; $var8.$rotationPointX = 0.0; $var8.$rotationPointY = 0.0; $var8.$rotationPointZ = 0.0; var$8 = $this.$batBody; $par3 = $par4 * 0.10000000149011612; var$10 = nms_MathHelper_SIN_TABLE.data; var$8.$rotateAngleX = 0.7853981852531433 + var$10[($par3 * 10430.3779296875 + 16384.0 | 0) & 65535] * 0.15000000596046448; var$8.$rotateAngleY = 0.0; $par2 = var$10[($par4 * 1.2999999523162842 * 10430.3779296875 + 16384.0 | 0) & 65535] * 3.1415927410125732 * 0.25; $par1Entity.$rotateAngleY = $par2; $var8.$rotateAngleY = -$par2; $this.$batOuterRightWing.$rotateAngleY = $par1Entity.$rotateAngleY * 0.5; $this.$batOuterLeftWing.$rotateAngleY = -$par1Entity.$rotateAngleY * 0.5; } nms_ModelRenderer_render($this.$batHead, $par7); nms_ModelRenderer_render($this.$batBody, $par7); }; function nms_ModelDragon() { let a = this; nms_ModelBase.call(a); a.$head3 = null; a.$spine = null; a.$jaw = null; a.$body1 = null; a.$rearLeg = null; a.$frontLeg = null; a.$rearLegTip = null; a.$frontLegTip = null; a.$rearFoot = null; a.$frontFoot = null; a.$wing = null; a.$wingTip = null; a.$partialTicks = 0.0; } let nms_ModelDragon__init_ = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$2; $this.$isChild0 = 1; var$3 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; var$3.$elementData = var$5; var$3.$loadFactor = 0.75; var$3.$threshold = var$6.length * 0.75 | 0; $this.$modelTextureMap = var$3; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; $this.$textureWidth0 = 256; $this.$textureHeight0 = 256; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 0; var$7.$textureOffsetY0 = 0; ju_HashMap_putImpl(var$3, $rt_s(2764), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = (-56); var$7.$textureOffsetY0 = 88; ju_HashMap_putImpl(var$3, $rt_s(2765), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = (-56); var$7.$textureOffsetY0 = 144; ju_HashMap_putImpl(var$3, $rt_s(2766), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 0; var$7.$textureOffsetY0 = 0; ju_HashMap_putImpl(var$3, $rt_s(2767), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 112; var$7.$textureOffsetY0 = 0; ju_HashMap_putImpl(var$3, $rt_s(2768), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 196; var$7.$textureOffsetY0 = 0; ju_HashMap_putImpl(var$3, $rt_s(2769), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 112; var$7.$textureOffsetY0 = 30; ju_HashMap_putImpl(var$3, $rt_s(2770), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 112; var$7.$textureOffsetY0 = 88; ju_HashMap_putImpl(var$3, $rt_s(2771), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 176; var$7.$textureOffsetY0 = 44; ju_HashMap_putImpl(var$3, $rt_s(2772), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 176; var$7.$textureOffsetY0 = 65; ju_HashMap_putImpl(var$3, $rt_s(2773), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 112; var$7.$textureOffsetY0 = 104; ju_HashMap_putImpl(var$3, $rt_s(2774), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 112; var$7.$textureOffsetY0 = 136; ju_HashMap_putImpl(var$3, $rt_s(2775), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 144; var$7.$textureOffsetY0 = 104; ju_HashMap_putImpl(var$3, $rt_s(2776), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 192; var$7.$textureOffsetY0 = 104; ju_HashMap_putImpl(var$3, $rt_s(2777), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 226; var$7.$textureOffsetY0 = 138; ju_HashMap_putImpl(var$3, $rt_s(2778), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 220; var$7.$textureOffsetY0 = 53; ju_HashMap_putImpl(var$3, $rt_s(2779), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 0; var$7.$textureOffsetY0 = 0; ju_HashMap_putImpl(var$3, $rt_s(2780), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 48; var$7.$textureOffsetY0 = 0; ju_HashMap_putImpl(var$3, $rt_s(2781), var$7); var$3 = $this.$modelTextureMap; var$7 = new nms_TextureOffset; var$7.$textureOffsetX0 = 112; var$7.$textureOffsetY0 = 0; ju_HashMap_putImpl(var$3, $rt_s(2782), var$7); var$7 = new nms_ModelRenderer; var$7.$textureWidth = 64.0; var$7.$textureHeight = 32.0; var$7.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$7.$cubeList = var$3; var$7.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$3.$modCount = var$3.$modCount + 1 | 0; var$7.$boxName = $rt_s(1920); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$7.$textureWidth = var$4; var$7.$textureHeight = var$8; $this.$head3 = var$7; nms_ModelRenderer_addBox(var$7, $rt_s(2783), (-6.0), (-1.0), (-24.0), 12, 5, 16); nms_ModelRenderer_addBox($this.$head3, $rt_s(2784), (-8.0), (-8.0), (-10.0), 16, 16, 16); var$2 = $this.$head3; var$2.$mirror = 1; nms_ModelRenderer_addBox(var$2, $rt_s(2785), (-5.0), (-12.0), (-4.0), 2, 4, 6); nms_ModelRenderer_addBox($this.$head3, $rt_s(2786), (-5.0), (-3.0), (-22.0), 2, 2, 4); var$2 = $this.$head3; var$2.$mirror = 0; nms_ModelRenderer_addBox(var$2, $rt_s(2785), 3.0, (-12.0), (-4.0), 2, 4, 6); nms_ModelRenderer_addBox($this.$head3, $rt_s(2786), 3.0, (-3.0), (-22.0), 2, 2, 4); var$2 = new nms_ModelRenderer; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$3; var$2.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$6[var$8] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$2.$boxName = $rt_s(2787); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$4; var$2.$textureHeight = var$8; $this.$jaw = var$2; var$2.$rotationPointX = 0.0; var$2.$rotationPointY = 4.0; var$2.$rotationPointZ = (-8.0); nms_ModelRenderer_addBox(var$2, $rt_s(2787), (-6.0), 0.0, (-16.0), 12, 4, 16); var$2 = $this.$head3; var$7 = $this.$jaw; if (var$2.$childModels === null) { var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$childModels = var$3; } var$2 = var$2.$childModels; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$6 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = new nms_ModelRenderer; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$3; var$2.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$6[var$8] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$2.$boxName = $rt_s(2788); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$4; var$2.$textureHeight = var$8; $this.$spine = var$2; nms_ModelRenderer_addBox(var$2, $rt_s(2789), (-5.0), (-5.0), (-5.0), 10, 10, 10); nms_ModelRenderer_addBox($this.$spine, $rt_s(2785), (-1.0), (-9.0), (-3.0), 2, 4, 6); var$2 = new nms_ModelRenderer; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$3; var$2.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$6[var$8] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$2.$boxName = $rt_s(2036); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$4; var$2.$textureHeight = var$8; $this.$body1 = var$2; var$2.$rotationPointX = 0.0; var$2.$rotationPointY = 4.0; var$2.$rotationPointZ = 8.0; nms_ModelRenderer_addBox(var$2, $rt_s(2036), (-12.0), 0.0, (-16.0), 24, 24, 64); nms_ModelRenderer_addBox($this.$body1, $rt_s(2785), (-1.0), (-6.0), (-10.0), 2, 6, 12); nms_ModelRenderer_addBox($this.$body1, $rt_s(2785), (-1.0), (-6.0), 10.0, 2, 6, 12); nms_ModelRenderer_addBox($this.$body1, $rt_s(2785), (-1.0), (-6.0), 30.0, 2, 6, 12); var$2 = new nms_ModelRenderer; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$3; var$2.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$6[var$8] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$2.$boxName = $rt_s(2038); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$4; var$2.$textureHeight = var$8; $this.$wing = var$2; var$2.$rotationPointX = (-12.0); var$2.$rotationPointY = 5.0; var$2.$rotationPointZ = 2.0; nms_ModelRenderer_addBox(var$2, $rt_s(2247), (-56.0), (-4.0), (-4.0), 56, 8, 8); nms_ModelRenderer_addBox($this.$wing, $rt_s(1120), (-56.0), 0.0, 2.0, 56, 0, 56); var$2 = new nms_ModelRenderer; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$3; var$2.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$6[var$8] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$2.$boxName = $rt_s(2790); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$4; var$2.$textureHeight = var$8; $this.$wingTip = var$2; var$2.$rotationPointX = (-56.0); var$2.$rotationPointY = 0.0; var$2.$rotationPointZ = 0.0; nms_ModelRenderer_addBox(var$2, $rt_s(2247), (-56.0), (-2.0), (-2.0), 56, 4, 4); nms_ModelRenderer_addBox($this.$wingTip, $rt_s(1120), (-56.0), 0.0, 2.0, 56, 0, 56); var$2 = $this.$wing; var$7 = $this.$wingTip; if (var$2.$childModels === null) { var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$childModels = var$3; } var$2 = var$2.$childModels; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$6 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = new nms_ModelRenderer; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$3; var$2.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$6[var$8] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$2.$boxName = $rt_s(2791); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$4; var$2.$textureHeight = var$8; $this.$frontLeg = var$2; var$2.$rotationPointX = (-12.0); var$2.$rotationPointY = 20.0; var$2.$rotationPointZ = 2.0; nms_ModelRenderer_addBox(var$2, $rt_s(1014), (-4.0), (-4.0), (-4.0), 8, 24, 8); var$2 = new nms_ModelRenderer; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$3; var$2.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$6[var$8] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$2.$boxName = $rt_s(2792); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$4; var$2.$textureHeight = var$8; $this.$frontLegTip = var$2; var$2.$rotationPointX = 0.0; var$2.$rotationPointY = 20.0; var$2.$rotationPointZ = (-1.0); nms_ModelRenderer_addBox(var$2, $rt_s(1014), (-3.0), (-1.0), (-3.0), 6, 24, 6); var$2 = $this.$frontLeg; var$7 = $this.$frontLegTip; if (var$2.$childModels === null) { var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$childModels = var$3; } var$2 = var$2.$childModels; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$6 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = new nms_ModelRenderer; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$3; var$2.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$6[var$8] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$2.$boxName = $rt_s(2793); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$4; var$2.$textureHeight = var$8; $this.$frontFoot = var$2; var$2.$rotationPointX = 0.0; var$2.$rotationPointY = 23.0; var$2.$rotationPointZ = 0.0; nms_ModelRenderer_addBox(var$2, $rt_s(1014), (-4.0), 0.0, (-12.0), 8, 4, 16); var$2 = $this.$frontLegTip; var$7 = $this.$frontFoot; if (var$2.$childModels === null) { var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$childModels = var$3; } var$2 = var$2.$childModels; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$6 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = new nms_ModelRenderer; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$3; var$2.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$6[var$8] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$2.$boxName = $rt_s(2794); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$4; var$2.$textureHeight = var$8; $this.$rearLeg = var$2; var$2.$rotationPointX = (-16.0); var$2.$rotationPointY = 16.0; var$2.$rotationPointZ = 42.0; nms_ModelRenderer_addBox(var$2, $rt_s(1014), (-8.0), (-4.0), (-8.0), 16, 32, 16); var$2 = new nms_ModelRenderer; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$3; var$2.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$6[var$8] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$2.$boxName = $rt_s(2795); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$4; var$2.$textureHeight = var$8; $this.$rearLegTip = var$2; var$2.$rotationPointX = 0.0; var$2.$rotationPointY = 32.0; var$2.$rotationPointZ = (-4.0); nms_ModelRenderer_addBox(var$2, $rt_s(1014), (-6.0), (-2.0), 0.0, 12, 32, 12); var$2 = $this.$rearLeg; var$7 = $this.$rearLegTip; if (var$2.$childModels === null) { var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$childModels = var$3; } var$2 = var$2.$childModels; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$6 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = new nms_ModelRenderer; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$3; var$2.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$6[var$8] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$2.$boxName = $rt_s(2796); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$2.$textureWidth = var$4; var$2.$textureHeight = var$8; $this.$rearFoot = var$2; var$2.$rotationPointX = 0.0; var$2.$rotationPointY = 31.0; var$2.$rotationPointZ = 4.0; nms_ModelRenderer_addBox(var$2, $rt_s(1014), (-9.0), 0.0, (-20.0), 18, 6, 24); var$2 = $this.$rearLegTip; var$7 = $this.$rearFoot; if (var$2.$childModels === null) { var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$childModels = var$3; } var$2 = var$2.$childModels; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$6 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$2.$modCount = var$2.$modCount + 1 | 0; }, nms_ModelDragon__init_0 = var_0 => { let var_1 = new nms_ModelDragon(); nms_ModelDragon__init_(var_1, var_0); return var_1; }, nms_ModelDragon_setLivingAnimations = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { $this.$partialTicks = $par4; }, nms_ModelDragon_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $var9, var$10, $var10, var$12, $var13, $var15, var$15, $var16, $var17, $var24, $var12, $var19, var$21, $var22, $var20, $var21, var$25, $var23, var$27, $var25; nleg_EaglerAdapterGL30_glPushMatrix(); $var8 = $par1Entity; $par2 = $var8.$prevAnimTime; $var9 = $par2 + ($var8.$animTime - $par2) * $this.$partialTicks; $par1Entity = $this.$jaw; $par6 = $var9 * 3.1415927410125732 * 2.0; var$10 = $par6; $par1Entity.$rotateAngleX = (jl_Math_sin(var$10) + 1.0) * 0.20000000298023224; $var10 = jl_Math_sin($par6 - 1.0) + 1.0; $par2 = ($var10 * $var10 * 1.0 + $var10 * 2.0) * 0.05000000074505806; $par4 = $par2 - 2.0; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par4; $par1Entity.$z = (-3.0); $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$12; var$12 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$12, 16); $par1Entity.$sb = var$12; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par4 = $par2 * 2.0; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 1.0; $par1Entity.$y = 0.0; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par4 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$12; var$12 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$12, 16); $par1Entity.$sb = var$12; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var13 = 0.0; $var15 = nms_EntityDragon_getMovementOffsets($var8, 6, $this.$partialTicks); var$15 = (nms_EntityDragon_getMovementOffsets($var8, 5, $this.$partialTicks)).data[0] - (nms_EntityDragon_getMovementOffsets($var8, 10, $this.$partialTicks)).data[0]; while (var$15 >= 180.0) { var$15 = var$15 - 360.0; } while (var$15 < (-180.0)) { var$15 = var$15 + 360.0; } $var16 = var$15; var$15 = (nms_EntityDragon_getMovementOffsets($var8, 5, $this.$partialTicks)).data[0] + $var16 / 2.0; while (var$15 >= 180.0) { var$15 = var$15 - 360.0; } while (var$15 < (-180.0)) { var$15 = var$15 + 360.0; } $var17 = var$15; $var24 = 20.0; $var12 = (-12.0); $var19 = 0; var$21 = $var17; while ($var19 < 5) { $var22 = $var15.data; $var20 = (nms_EntityDragon_getMovementOffsets($var8, 5 - $var19 | 0, $this.$partialTicks)).data; $var21 = jl_Math_cos($var19 * 0.44999998807907104 + $par6) * 0.15000000596046448; $par1Entity = $this.$spine; var$25 = $var20[0] - $var22[0]; while (var$25 >= 180.0) { var$25 = var$25 - 360.0; } while (var$25 < (-180.0)) { var$25 = var$25 + 360.0; } $par1Entity.$rotateAngleY = var$25 * 3.1415927410125732 / 180.0 * 1.5; $par3 = $var21 + ($var20[1] - $var22[1]) * 3.1415927410125732 / 180.0 * 1.5 * 5.0; $par1Entity.$rotateAngleX = $par3; var$25 = $var20[0] - var$21; while (var$25 >= 180.0) { var$25 = var$25 - 360.0; } while (var$25 < (-180.0)) { var$25 = var$25 + 360.0; } $par1Entity.$rotateAngleZ = -var$25 * 3.1415927410125732 / 180.0 * 1.5; $par1Entity.$rotationPointY = $var24; $par1Entity.$rotationPointZ = $var12; $par1Entity.$rotationPointX = $var13; $var24 = $var24 + jl_Math_sin($par3) * 10.0; $var12 = $var12 - jl_Math_cos($this.$spine.$rotateAngleY) * jl_Math_cos($this.$spine.$rotateAngleX) * 10.0; $var13 = $var13 - jl_Math_sin($this.$spine.$rotateAngleY) * jl_Math_cos($this.$spine.$rotateAngleX) * 10.0; nms_ModelRenderer_render($this.$spine, $par7); $var19 = $var19 + 1 | 0; } $var20 = $var15.data; $par1Entity = $this.$head3; $par1Entity.$rotationPointY = $var24; $par1Entity.$rotationPointZ = $var12; $par1Entity.$rotationPointX = $var13; $var22 = (nms_EntityDragon_getMovementOffsets($var8, 0, $this.$partialTicks)).data; $par1Entity = $this.$head3; var$15 = $var22[0] - $var20[0]; while (var$15 >= 180.0) { var$15 = var$15 - 360.0; } while (var$15 < (-180.0)) { var$15 = var$15 + 360.0; } $par1Entity.$rotateAngleY = var$15 * 3.1415927410125732 / 180.0 * 1.0; var$15 = $var22[0] - var$21; while (var$15 >= 180.0) { var$15 = var$15 - 360.0; } while (var$15 < (-180.0)) { var$15 = var$15 + 360.0; } $par1Entity.$rotateAngleZ = -var$15 * 3.1415927410125732 / 180.0 * 1.0; nms_ModelRenderer_render($par1Entity, $par7); nleg_EaglerAdapterGL30_glPushMatrix(); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = 1.0; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$12; var$12 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$12, 16); $par1Entity.$sb = var$12; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par4 = -$var16 * 1.5 * 1.0; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = 0.0; $par1Entity.$z = 1.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par4 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$12; var$12 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$12, 16); $par1Entity.$sb = var$12; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = (-1.0); $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$12; var$12 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$12, 16); $par1Entity.$sb = var$12; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1Entity = $this.$body1; $par1Entity.$rotateAngleZ = 0.0; nms_ModelRenderer_render($par1Entity, $par7); $var23 = 0; var$27 = $par6 + 2.0; $par3 = $par2 * 0.10000000149011612; $par5 = 1.0 + $par3; $var13 = 0.5 + $par3; $var21 = 0.75 + $par3; $var12 = 1.2999999523162842 + $par3; $var16 = (-0.5) - $par3; while ($var23 < 2) { nleg_EaglerAdapterGL30_glEnable(2884); $this.$wing.$rotateAngleX = 0.125 - jl_Math_cos(var$10) * 0.20000000298023224; $par1Entity = $this.$wing; $par1Entity.$rotateAngleY = 0.25; $par1Entity.$rotateAngleZ = (jl_Math_sin(var$10) + 0.125) * 0.800000011920929; $this.$wingTip.$rotateAngleZ = -(jl_Math_sin(var$27) + 0.5) * 0.75; $this.$rearLeg.$rotateAngleX = $par5; $this.$rearLegTip.$rotateAngleX = $var13; $this.$rearFoot.$rotateAngleX = $var21; $this.$frontLeg.$rotateAngleX = $var12; $this.$frontLegTip.$rotateAngleX = $var16; $this.$frontFoot.$rotateAngleX = $var21; nms_ModelRenderer_render($this.$wing, $par7); nms_ModelRenderer_render($this.$frontLeg, $par7); nms_ModelRenderer_render($this.$rearLeg, $par7); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = (-1.0); $par1Entity.$y = 1.0; $par1Entity.$z = 1.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$12 = new ji_ByteArrayOutputStream; var$12.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$12; var$12 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$12, 16); $par1Entity.$sb = var$12; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if (!$var23 && 1028 != nleg_EaglerAdapterGL30_currentCullFace) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.cullFace(1028); nleg_EaglerAdapterGL30_currentCullFace = 1028; } $var23 = $var23 + 1 | 0; } nleg_EaglerAdapterGL30_glPopMatrix(); if (1029 != nleg_EaglerAdapterGL30_currentCullFace) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.cullFace(1029); nleg_EaglerAdapterGL30_currentCullFace = 1029; } nleg_EaglerAdapterGL30_glDisable(2884); $var24 = -jl_Math_sin(var$10) * 0.0; $par3 = 10.0; $par4 = 60.0; $par5 = 0.0; $var20 = nms_EntityDragon_getMovementOffsets($var8, 11, $this.$partialTicks); $var25 = 0; while ($var25 < 12) { $var15 = $var20.data; $var22 = (nms_EntityDragon_getMovementOffsets($var8, 12 + $var25 | 0, $this.$partialTicks)).data; $var24 = $var24 + jl_Math_sin($var25 * 0.44999998807907104 + $par6) * 0.05000000074505806; $par1Entity = $this.$spine; var$10 = $var22[0] - $var15[0]; while (var$10 >= 180.0) { var$10 = var$10 - 360.0; } while (var$10 < (-180.0)) { var$10 = var$10 + 360.0; } $par1Entity.$rotateAngleY = (var$10 * 1.5 + 180.0) * 3.1415927410125732 / 180.0; $var13 = $var24 + ($var22[1] - $var15[1]) * 3.1415927410125732 / 180.0 * 1.5 * 5.0; $par1Entity.$rotateAngleX = $var13; var$10 = $var22[0] - var$21; while (var$10 >= 180.0) { var$10 = var$10 - 360.0; } while (var$10 < (-180.0)) { var$10 = var$10 + 360.0; } $par1Entity.$rotateAngleZ = var$10 * 3.1415927410125732 / 180.0 * 1.5; $par1Entity.$rotationPointY = $par3; $par1Entity.$rotationPointZ = $par4; $par1Entity.$rotationPointX = $par5; $par3 = $par3 + jl_Math_sin($var13) * 10.0; $par4 = $par4 - jl_Math_cos($this.$spine.$rotateAngleY) * jl_Math_cos($this.$spine.$rotateAngleX) * 10.0; $par5 = $par5 - jl_Math_sin($this.$spine.$rotateAngleY) * jl_Math_cos($this.$spine.$rotateAngleX) * 10.0; nms_ModelRenderer_render($this.$spine, $par7); $var25 = $var25 + 1 | 0; } nleg_EaglerAdapterGL30_glPopMatrix(); }; function nms_ModelEnderCrystal() { let a = this; nms_ModelBase.call(a); a.$cube = null; a.$glass = null; a.$base2 = null; } let nms_ModelEnderCrystal__init_0 = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$3; $this.$isChild0 = 1; var$3 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; var$3.$elementData = var$5; var$3.$loadFactor = 0.75; var$3.$threshold = var$6.length * 0.75 | 0; $this.$modelTextureMap = var$3; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$3 = new nms_ModelRenderer; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$7; var$3.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$6 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$6[var$8] = var$3; var$7.$modCount = var$7.$modCount + 1 | 0; var$3.$boxName = $rt_s(2554); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$3.$textureWidth = var$4; var$3.$textureHeight = var$8; $this.$glass = var$3; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 0; var$9 = var$3.$cubeList; var$7 = nms_ModelBox__init_(var$3, 0, 0, (-4.0), (-4.0), (-4.0), 8, 8, 8, 0.0); ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); var$6 = var$9.$array.data; var$8 = var$9.$size0; var$9.$size0 = var$8 + 1 | 0; var$6[var$8] = var$7; var$9.$modCount = var$9.$modCount + 1 | 0; var$3 = new nms_ModelRenderer; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$7; var$3.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$6 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$6[var$8] = var$3; var$7.$modCount = var$7.$modCount + 1 | 0; var$3.$boxName = $rt_s(2797); var$4 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$3.$textureWidth = var$4; var$3.$textureHeight = var$8; $this.$cube = var$3; var$3.$textureOffsetX = 32; var$3.$textureOffsetY = 0; var$7 = var$3.$cubeList; var$9 = nms_ModelBox__init_(var$3, 32, 0, (-4.0), (-4.0), (-4.0), 8, 8, 8, 0.0); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$6 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$6[var$8] = var$9; var$7.$modCount = var$7.$modCount + 1 | 0; if ($par2) { var$3 = new nms_ModelRenderer; var$3.$textureWidth = 64.0; var$3.$textureHeight = 32.0; var$3.$showModel = 1; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$3.$cubeList = var$7; var$3.$baseModel = $this; var$7 = $this.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$6 = var$7.$array.data; var$4 = var$7.$size0; var$7.$size0 = var$4 + 1 | 0; var$6[var$4] = var$3; var$7.$modCount = var$7.$modCount + 1 | 0; var$3.$boxName = $rt_s(2798); $par2 = $this.$textureWidth0; var$4 = $this.$textureHeight0; var$3.$textureWidth = $par2; var$3.$textureHeight = var$4; $this.$base2 = var$3; var$3.$textureOffsetX = 0; var$3.$textureOffsetY = 16; var$7 = var$3.$cubeList; var$9 = nms_ModelBox__init_(var$3, 0, 16, (-6.0), 0.0, (-6.0), 12, 4, 12, 0.0); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$6 = var$7.$array.data; var$4 = var$7.$size0; var$7.$size0 = var$4 + 1 | 0; var$6[var$4] = var$9; var$7.$modCount = var$7.$modCount + 1 | 0; } }, nms_ModelEnderCrystal__init_ = (var_0, var_1) => { let var_2 = new nms_ModelEnderCrystal(); nms_ModelEnderCrystal__init_0(var_2, var_0, var_1); return var_2; }, nms_ModelEnderCrystal_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8; nleg_EaglerAdapterGL30_glPushMatrix(); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 2.0; $par1Entity.$y = 2.0; $par1Entity.$z = 2.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = (-0.5); $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1Entity = $this.$base2; if ($par1Entity !== null) nms_ModelRenderer_render($par1Entity, $par7); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = 1.0; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); $par3 = $par3 * 0.01745329238474369; nlegv_Matrix4f_rotate($par3, nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par4 = 0.800000011920929 + $par4; $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = $par4; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.707099974155426; $par1Entity.$y = 0.0; $par1Entity.$z = 0.707099974155426; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.0471975803375244, nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$glass, $par7); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.875; $par1Entity.$y = 0.875; $par1Entity.$z = 0.875; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.707099974155426; $par1Entity.$y = 0.0; $par1Entity.$z = 0.707099974155426; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.0471975803375244, nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = 1.0; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par3, nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$glass, $par7); $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.875; $par1Entity.$y = 0.875; $par1Entity.$z = 0.875; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.707099974155426; $par1Entity.$y = 0.0; $par1Entity.$z = 0.707099974155426; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.0471975803375244, nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1Entity = nleg_EaglerAdapterGL30_deevis; $par1Entity.$x = 0.0; $par1Entity.$y = 1.0; $par1Entity.$z = 0.0; $par1Entity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($par3, nleg_EaglerAdapterGL30_deevis, $par1Entity, $par1Entity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1Entity = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Entity); $par1Entity.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $par1Entity.$sb = var$8; $par1Entity.$buffer0 = $rt_createCharArray(32); $par1Entity.$autoFlush = 0; $par1Entity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Entity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_ModelRenderer_render($this.$cube, $par7); nleg_EaglerAdapterGL30_glPopMatrix(); }; function nms_ModelWither() { let a = this; nms_ModelBase.call(a); a.$field_82905_a = null; a.$field_82904_b = null; } let nms_ModelWither__init_0 = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; $this.$textureWidth0 = 64; $this.$textureHeight0 = 64; var$4 = $rt_createArray(nms_ModelRenderer, 3); var$3 = var$4.data; $this.$field_82905_a = var$4; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 16; var$3[0] = var$1; var$1 = $this.$field_82905_a.data[0]; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-10.0), 3.9000000953674316, (-0.5), 20, 3, 3, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$field_82905_a.data; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$10 = var$6.$size0; var$6.$size0 = var$10 + 1 | 0; var$3[var$10] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$9 = $this.$textureWidth0; var$10 = $this.$textureHeight0; var$11 = var$9; var$1.$textureWidth = var$11; var$12 = var$10; var$1.$textureHeight = var$12; var$1.$textureWidth = var$11; var$1.$textureHeight = var$12; var$4[1] = var$1; var$4 = $this.$field_82905_a.data; var$1 = var$4[1]; var$1.$rotationPointX = (-2.0); var$1.$rotationPointY = 6.900000095367432; var$1.$rotationPointZ = (-0.5); var$1 = var$4[1]; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 22; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 22, 0.0, 0.0, 0.0, 3, 10, 3, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$field_82905_a.data[1]; var$1.$textureOffsetX = 24; var$1.$textureOffsetY = 22; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 24, 22, (-4.0), 1.5, 0.5, 11, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$field_82905_a.data[1]; var$1.$textureOffsetX = 24; var$1.$textureOffsetY = 22; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 24, 22, (-4.0), 4.0, 0.5, 11, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$field_82905_a.data[1]; var$1.$textureOffsetX = 24; var$1.$textureOffsetY = 22; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 24, 22, (-4.0), 6.5, 0.5, 11, 2, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$3 = $this.$field_82905_a.data; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$10 = var$6.$size0; var$6.$size0 = var$10 + 1 | 0; var$4[var$10] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$10 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$1.$textureWidth = var$10; var$1.$textureHeight = var$9; var$1.$textureOffsetX = 12; var$1.$textureOffsetY = 22; var$3[2] = var$1; var$1 = $this.$field_82905_a.data[2]; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, 0.0, 0.0, 0.0, 3, 6, 3, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $rt_createArray(nms_ModelRenderer, 3); var$3 = var$4.data; $this.$field_82904_b = var$4; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$3[0] = var$1; var$1 = $this.$field_82904_b.data[0]; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-4.0), (-4.0), (-4.0), 8, 8, 8, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$field_82904_b.data; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$3[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 32; var$1.$textureOffsetY = 0; var$4[1] = var$1; var$1 = $this.$field_82904_b.data[1]; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-4.0), (-4.0), (-4.0), 6, 6, 6, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$field_82904_b.data; var$4[1].$rotationPointX = (-8.0); var$4[1].$rotationPointY = 4.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$3[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 32; var$1.$textureOffsetY = 0; var$4[2] = var$1; var$1 = $this.$field_82904_b.data[2]; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-4.0), (-4.0), (-4.0), 6, 6, 6, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$field_82904_b.data; var$4[2].$rotationPointX = 10.0; var$4[2].$rotationPointY = 4.0; }, nms_ModelWither__init_ = () => { let var_0 = new nms_ModelWither(); nms_ModelWither__init_0(var_0); return var_0; }, nms_ModelWither_render = ($this, $par1Entity, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $var9, $var10; nms_ModelWither_setRotationAngles($this, $par2, $par3, $par4, $par5, $par6, $par7, $par1Entity); $var8 = $this.$field_82904_b.data; $var9 = $var8.length; $var10 = 0; while ($var10 < $var9) { nms_ModelRenderer_render($var8[$var10], $par7); $var10 = $var10 + 1 | 0; } $var8 = $this.$field_82905_a.data; $var10 = $var8.length; $var9 = 0; while ($var9 < $var10) { nms_ModelRenderer_render($var8[$var9], $par7); $var9 = $var9 + 1 | 0; } }, nms_ModelWither_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, $var8, var$10; $par1 = $par3 * 0.10000000149011612; var$8 = nms_MathHelper_SIN_TABLE.data; $var8 = var$8[($par1 * 10430.3779296875 + 16384.0 | 0) & 65535]; var$10 = $this.$field_82905_a.data; var$10[1].$rotateAngleX = (0.06499999761581421 + 0.05000000074505806 * $var8) * 3.1415927410125732; $par7Entity = var$10[2]; $par2 = 6.900000095367432 + var$8[(var$10[1].$rotateAngleX * 10430.3779296875 + 16384.0 | 0) & 65535] * 10.0; $par3 = (-0.5) + var$8[(var$10[1].$rotateAngleX * 10430.3779296875 | 0) & 65535] * 10.0; $par7Entity.$rotationPointX = (-2.0); $par7Entity.$rotationPointY = $par2; $par7Entity.$rotationPointZ = $par3; var$10[2].$rotateAngleX = (0.26499998569488525 + 0.10000000149011612 * $var8) * 3.1415927410125732; var$8 = $this.$field_82904_b.data; var$8[0].$rotateAngleY = $par4 / 57.2957763671875; var$8[0].$rotateAngleX = $par5 / 57.2957763671875; }, nms_ModelWither_setLivingAnimations = ($this, $par1EntityLivingBase, $par2, $par3, $par4) => { let $var5, $var6, var$7, var$8, var$9; $var5 = $par1EntityLivingBase; $var6 = 1; while ($var6 < 3) { var$7 = $this.$field_82904_b.data; var$8 = var$7[$var6]; var$9 = $var6 - 1 | 0; var$8.$rotateAngleY = ($var5.$field_82221_e.data[var$9] - $par1EntityLivingBase.$renderYawOffset) / 57.2957763671875; var$7[$var6].$rotateAngleX = $var5.$field_82220_d.data[var$9] / 57.2957763671875; $var6 = $var6 + 1 | 0; } }; function nms_ModelLeashKnot() { nms_ModelBase.call(this); this.$field_110723_a = null; } let nms_ModelLeashKnot__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; $this.$textureWidth0 = 32; $this.$textureHeight0 = 32; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; jl_Object__init_(var$6); var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$2 = var$6.$size0; var$6.$size0 = var$2 + 1 | 0; var$4[var$2] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$2 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$2; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; $this.$field_110723_a = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 0, (-3.0), (-6.0), (-3.0), 6, 8, 6, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$4[var$8] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$field_110723_a; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 0.0; var$1.$rotationPointZ = 0.0; }, nms_ModelLeashKnot__init_0 = () => { let var_0 = new nms_ModelLeashKnot(); nms_ModelLeashKnot__init_(var_0); return var_0; }; function nms_ModelSkeletonHead() { nms_ModelBase.call(this); this.$skeletonHead = null; } let nms_ModelSkeletonHead__init_0 = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; $this.$textureWidth0 = 64; $this.$textureHeight0 = 64; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; jl_Object__init_(var$6); var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$2 = var$6.$size0; var$6.$size0 = var$2 + 1 | 0; var$4[var$2] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$2 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$2; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 35; $this.$skeletonHead = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 35, (-4.0), (-8.0), (-4.0), 8, 8, 8, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$4[var$8] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$skeletonHead; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 0.0; var$1.$rotationPointZ = 0.0; }, nms_ModelSkeletonHead__init_ = () => { let var_0 = new nms_ModelSkeletonHead(); nms_ModelSkeletonHead__init_0(var_0); return var_0; }; function nms_ModelMinecart() { nms_ModelBase.call(this); this.$sideModels = null; } let nms_ModelMinecart__init_ = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, var$7, var$8, $var3, $var2; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; $var1 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, $var1); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$4 = $rt_createArray(nms_ModelRenderer, 7); var$3 = var$4.data; $this.$sideModels = var$4; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 10; var$3[0] = var$1; var$4 = $this.$sideModels.data; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$3[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$4[1] = var$1; var$4 = $this.$sideModels.data; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$3[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$4[2] = var$1; var$3 = $this.$sideModels.data; var$1 = new nms_ModelRenderer; var$6 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$5; var$1.$baseModel = $this; var$5 = $this.$boxList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; $var3 = var$5.$size0; var$5.$size0 = $var3 + 1 | 0; var$4[$var3] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$1.$boxName = var$6; $var2 = $this.$textureWidth0; $var3 = $this.$textureHeight0; var$1.$textureWidth = $var2; var$1.$textureHeight = $var3; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$3[3] = var$1; var$4 = $this.$sideModels.data; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$3[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$4[4] = var$1; var$4 = $this.$sideModels.data; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$3[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 44; var$1.$textureOffsetY = 10; var$4[5] = var$1; var$1 = $this.$sideModels.data[0]; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-10.0), (-8.0), (-1.0), 20, 16, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; $var3 = var$6.$size0; var$6.$size0 = $var3 + 1 | 0; var$4[$var3] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$sideModels.data; var$1 = var$4[0]; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = 0.0; var$1 = var$4[5]; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-9.0), (-7.0), (-1.0), 18, 14, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; $var3 = var$6.$size0; var$6.$size0 = $var3 + 1 | 0; var$4[$var3] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$sideModels.data; var$1 = var$4[5]; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = 0.0; var$1 = var$4[1]; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-8.0), (-9.0), (-1.0), 16, 8, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$4[var$8] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$sideModels.data; var$1 = var$4[1]; var$1.$rotationPointX = (-9.0); var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = 0.0; var$6 = var$4[2]; var$5 = var$6.$cubeList; var$1 = nms_ModelBox__init_(var$6, var$6.$textureOffsetX, var$6.$textureOffsetY, (-8.0), (-9.0), (-1.0), 16, 8, 2, 0.0); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$4[var$8] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$4 = $this.$sideModels.data; var$1 = var$4[2]; var$1.$rotationPointX = 9.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = 0.0; var$6 = var$4[3]; var$5 = var$6.$cubeList; var$1 = nms_ModelBox__init_(var$6, var$6.$textureOffsetX, var$6.$textureOffsetY, (-8.0), (-9.0), (-1.0), 16, 8, 2, 0.0); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$8 = var$5.$size0; var$5.$size0 = var$8 + 1 | 0; var$4[var$8] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$4 = $this.$sideModels.data; var$1 = var$4[3]; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = (-7.0); var$6 = var$4[4]; var$5 = var$6.$cubeList; var$1 = nms_ModelBox__init_(var$6, var$6.$textureOffsetX, var$6.$textureOffsetY, (-8.0), (-9.0), (-1.0), 16, 8, 2, 0.0); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; $var2 = var$5.$size0; var$5.$size0 = $var2 + 1 | 0; var$4[$var2] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$4 = $this.$sideModels.data; var$1 = var$4[4]; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = 7.0; var$4[0].$rotateAngleX = 1.5707963705062866; var$4[1].$rotateAngleY = 4.71238899230957; var$4[2].$rotateAngleY = 1.5707963705062866; var$4[3].$rotateAngleY = 3.1415927410125732; var$4[5].$rotateAngleX = (-1.5707963705062866); }, nms_ModelMinecart__init_0 = () => { let var_0 = new nms_ModelMinecart(); nms_ModelMinecart__init_(var_0); return var_0; }; function nms_ModelBoat() { nms_ModelBase.call(this); this.$boatSides = null; } let nms_ModelBoat__init_0 = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; $var1 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, $var1); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$4 = $rt_createArray(nms_ModelRenderer, 5); var$3 = var$4.data; $this.$boatSides = var$4; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 8; var$3[0] = var$1; var$4 = $this.$boatSides.data; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$3[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$4[1] = var$1; var$3 = $this.$boatSides.data; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$4[var$8] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$3[2] = var$1; var$4 = $this.$boatSides.data; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$3[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$4[3] = var$1; var$4 = $this.$boatSides.data; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$3[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$4[4] = var$1; var$1 = $this.$boatSides.data[0]; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-12.0), (-8.0), (-3.0), 24, 16, 4, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$boatSides.data; var$1 = var$4[0]; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = 0.0; var$1 = var$4[1]; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-10.0), (-7.0), (-1.0), 20, 6, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$4[var$8] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$boatSides.data; var$1 = var$4[1]; var$1.$rotationPointX = (-11.0); var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = 0.0; var$1 = var$4[2]; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-10.0), (-7.0), (-1.0), 20, 6, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$4[var$8] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$boatSides.data; var$1 = var$4[2]; var$1.$rotationPointX = 11.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = 0.0; var$1 = var$4[3]; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-10.0), (-7.0), (-1.0), 20, 6, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$4[var$8] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$boatSides.data; var$1 = var$4[3]; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = (-9.0); var$1 = var$4[4]; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, var$1.$textureOffsetX, var$1.$textureOffsetY, (-10.0), (-7.0), (-1.0), 20, 6, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; $var1 = var$6.$size0; var$6.$size0 = $var1 + 1 | 0; var$4[$var1] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$4 = $this.$boatSides.data; var$1 = var$4[4]; var$1.$rotationPointX = 0.0; var$1.$rotationPointY = 4.0; var$1.$rotationPointZ = 9.0; var$4[0].$rotateAngleX = 1.5707963705062866; var$4[1].$rotateAngleY = 4.71238899230957; var$4[2].$rotateAngleY = 1.5707963705062866; var$4[3].$rotateAngleY = 3.1415927410125732; }, nms_ModelBoat__init_ = () => { let var_0 = new nms_ModelBoat(); nms_ModelBoat__init_0(var_0); return var_0; }; function nleg_EaglerAdapterGL30$DisplayList() { let a = this; jl_Object.call(a); a.$id8 = 0; a.$glarray = null; a.$glbuffer = null; a.$shaderMode = 0; a.$listLength = 0; } function jl_StackTraceElement() { jl_Object.call(this); this.$declaringClass0 = null; } function nle_EaglerProfile$EaglerProfileSkin() { let a = this; jl_Object.call(a); a.$name16 = null; a.$data11 = null; a.$slim = 0; a.$glTex = 0; } function nle_EaglerProfile$EaglerProfileCape() { let a = this; jl_Object.call(a); a.$name18 = null; a.$data15 = null; a.$glTex0 = 0; } function nms_DataWatcher() { let a = this; jl_Object.call(a); a.$isBlank = 0; a.$watchedObjects = null; a.$objectChanged = 0; } let nms_DataWatcher_dataTypes = null, nms_DataWatcher_$callClinit = () => { nms_DataWatcher_$callClinit = $rt_eraseClinit(nms_DataWatcher); nms_DataWatcher__clinit_(); }, nms_DataWatcher__init_ = $this => { let var$1, var$2, var$3, var$4; nms_DataWatcher_$callClinit(); $this.$isBlank = 1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$watchedObjects = var$1; }, nms_DataWatcher__init_0 = () => { let var_0 = new nms_DataWatcher(); nms_DataWatcher__init_(var_0); return var_0; }, nms_DataWatcher_addObject = ($this, $par1, $par2Obj) => { let $var3, var$4, $var4, var$6, var$7, var$8, var$9, var$10, var$11; nms_DataWatcher_$callClinit(); $var3 = nms_DataWatcher_dataTypes; var$4 = $par2Obj.constructor; if (var$4 === null) $var4 = null; else { $var4 = var$4.classObject; if ($var4 === null) { $var4 = new jl_Class; $var4.$platformClass = var$4; var$4.classObject = $var4; } } if ($var4 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$4 = $var4; if (!var$4.$id$) var$4.$id$ = $rt_nextId(); var$6 = $var4.$id$; var$7 = $var3.$elementData.data; $var3 = var$7[var$6 & (var$7.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$6) { var$4 = $var3.$key; if ($var4 !== var$4 && !($var4 !== var$4 ? 0 : 1) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; if ($var3 === null) { $var3 = new jl_IllegalArgumentException; $var4 = $par2Obj.constructor; if ($var4 === null) $par2Obj = null; else { $par2Obj = $var4.classObject; if ($par2Obj === null) { $par2Obj = new jl_Class; $par2Obj.$platformClass = $var4; $var4.classObject = $par2Obj; } } var$4 = $par2Obj === null ? $rt_s(1) : jl_Class_toString($par2Obj); $par2Obj = new jl_StringBuilder; $par2Obj.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par2Obj, $par2Obj.$length0, $rt_s(2799)); $par1 = $par2Obj.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert($par2Obj, $par1, var$4); $var4 = new jl_String; var$7 = $par2Obj.$buffer; var$8 = var$7.data; var$9 = $par2Obj.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $var3.$message = $var4; $rt_throw($var3); } $par2Obj = new jl_IndexOutOfBoundsException; $par2Obj.$suppressionEnabled = 1; $par2Obj.$writableStackTrace = 1; $rt_throw($par2Obj); } if ($par1 > 31) { $par2Obj = new jl_IllegalArgumentException; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $rt_s(2800)); jl_AbstractStringBuilder_insert0($var3, $var3.$length0, $par1, 10); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $rt_s(2801)); $var4 = new jl_String; var$7 = $var3.$buffer; var$8 = var$7.data; var$9 = $var3.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); $par2Obj.$suppressionEnabled = 1; $par2Obj.$writableStackTrace = 1; $par2Obj.$message = $var4; $rt_throw($par2Obj); } $par2Obj = new jl_IndexOutOfBoundsException; $par2Obj.$suppressionEnabled = 1; $par2Obj.$writableStackTrace = 1; $rt_throw($par2Obj); } $var4 = $this.$watchedObjects; var$10 = $rt_compare($par1, (-128)); if (var$10 >= 0 && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = $par1; } if (var$4 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { var$6 = var$4.$value0; var$7 = $var4.$elementData.data; $var4 = var$7[var$6 & (var$7.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$6) { var$11 = $var4.$key; if (var$4 !== var$11 && !(var$4 === var$11 ? 1 : var$11 instanceof jl_Integer && var$11.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } $var4 = $var4.$next3; } } if (!($var4 === null ? 0 : 1)) { $var4 = new nms_WatchableObject; var$9 = $var3.$value0; $var4.$dataValueId = $par1; $var4.$watchedObject = $par2Obj; $var4.$objectType = var$9; $var4.$watched = 1; $par2Obj = $this.$watchedObjects; if (var$10 >= 0 && $par1 <= 127) { jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { $var3 = new jl_Integer; $var3.$value0 = $par1; } ju_HashMap_putImpl($par2Obj, $var3, $var4); $this.$isBlank = 0; return; } $par2Obj = new jl_IllegalArgumentException; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $rt_s(2802)); jl_AbstractStringBuilder_insert0($var3, $var3.$length0, $par1, 10); var$9 = $var3.$length0; jl_AbstractStringBuilder_insertSpace($var3, var$9, var$9 + 1 | 0); var$7 = $var3.$buffer; var$8 = var$7.data; var$8[var$9] = 33; $var4 = new jl_String; var$9 = $var3.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); $par2Obj.$suppressionEnabled = 1; $par2Obj.$writableStackTrace = 1; $par2Obj.$message = $var4; $rt_throw($par2Obj); } $par2Obj = new jl_IndexOutOfBoundsException; $par2Obj.$suppressionEnabled = 1; $par2Obj.$writableStackTrace = 1; $rt_throw($par2Obj); }, nms_DataWatcher_getWatchableObjectInt = ($this, $par1) => { let var$2, var$3, var$4, var$5; var$2 = $this.$watchedObjects; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $par1; } if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { $par1 = var$3.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[$par1 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $par1) { var$5 = var$2.$key; if (var$3 !== var$5 && !(var$3 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $par1 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } return (var$2 === null ? null : var$2.$value1).$watchedObject.$value0; }, nms_DataWatcher_getWatchedObject = ($this, $par1) => { let $var2, var$3, var$4, var$5; $var2 = $this.$watchedObjects; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = $par1; } if (var$3 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { $par1 = var$3.$value0; var$4 = $var2.$elementData.data; $var2 = var$4[$par1 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $par1) { var$5 = $var2.$key; if (var$3 !== var$5 && !(var$3 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $par1 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } return $var2 === null ? null : $var2.$value1; }, nms_DataWatcher_readWatchableObjects = $par0DataInput => { let $var1, $var6, $var2, $var3, $var4, $var5, var$8, var$9, var$10, $var7, var$12, var$13, var$14, var$15, var$16, var$17, $var8, var$19, $$je; nms_DataWatcher_$callClinit(); $var1 = null; $var6 = $par0DataInput.$in.$read(); if ($var6 < 0) { $par0DataInput = new ji_EOFException; $par0DataInput.$suppressionEnabled = 1; $par0DataInput.$writableStackTrace = 1; $rt_throw($par0DataInput); } $var2 = $var6 << 24 >> 24; while ($var2 != 127) { if ($var1 === null) { $var1 = new ju_ArrayList; $var1.$array = $rt_createArray(jl_Object, 10); } a: { b: { $var3 = ($var2 & 224) >> 5; $var4 = $var2 & 31; $var5 = null; switch ($var3) { case 0: $var5 = new nms_WatchableObject; $var6 = $par0DataInput.$in.$read(); if ($var6 < 0) { $par0DataInput = new ji_EOFException; $par0DataInput.$suppressionEnabled = 1; $par0DataInput.$writableStackTrace = 1; $rt_throw($par0DataInput); } $var2 = $var6 << 24 >> 24; var$8 = jl_Byte_byteCache.data[$var2 + 128 | 0]; $var5.$dataValueId = $var4; $var5.$watchedObject = var$8; $var5.$objectType = $var3; $var5.$watched = 1; break a; case 1: break b; case 2: $var5 = new nms_WatchableObject; $var2 = ji_DataInputStream_readInt($par0DataInput); if ($var2 >= (-128) && $var2 <= 127) { jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[$var2 + 128 | 0]; } else { var$8 = new jl_Integer; var$8.$value0 = $var2; } $var5.$dataValueId = $var4; $var5.$watchedObject = var$8; $var5.$objectType = $var3; $var5.$watched = 1; break a; case 3: $var5 = new nms_WatchableObject; var$9 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par0DataInput)); var$8 = new jl_Float; var$8.$value3 = var$9; $var5.$dataValueId = $var4; $var5.$watchedObject = var$8; $var5.$objectType = $var3; $var5.$watched = 1; break a; case 4: $var5 = new nms_WatchableObject; var$8 = nms_Packet_readString($par0DataInput, 64); $var5.$dataValueId = $var4; $var5.$watchedObject = var$8; $var5.$objectType = $var3; $var5.$watched = 1; break a; case 5: $var5 = new nms_WatchableObject; nms_Packet_$callClinit(); var$10 = null; $var2 = ji_DataInputStream_readShort($par0DataInput); if ($var2 >= 0) { $var6 = $par0DataInput.$in.$read(); if ($var6 < 0) { $par0DataInput = new ji_EOFException; $par0DataInput.$suppressionEnabled = 1; $par0DataInput.$writableStackTrace = 1; $rt_throw($par0DataInput); } $var6 = $var6 << 24 >> 24; $var7 = ji_DataInputStream_readShort($par0DataInput); var$10 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$10.$itemID = $var2; var$10.$stackSize = $var6; var$10.$itemDamage = $var7; if ($var7 < 0) var$10.$itemDamage = 0; $var6 = ji_DataInputStream_readShort($par0DataInput); if ($var6 < 0) var$12 = null; else { var$13 = $rt_createByteArray($var6); $var2 = var$13.data.length; ji_DataInputStream_readFully($par0DataInput, var$13, 0, $var2); var$14 = new ji_DataInputStream; var$15 = new ji_BufferedInputStream; var$12 = new cjj_GZIPInputStream; var$16 = new ji_ByteArrayInputStream; var$16.$buf3 = var$13; var$16.$pos1 = 0; var$16.$mark1 = 0; var$16.$count0 = 0 + $var2 | 0; var$17 = new cjj_Inflater; cjj_ZStream__init_(var$17, cjj_Adler32__init_()); var$17.$finished = 0; var$17.$finished = 0; var$8 = cjj_Inflate__init_(var$17); var$17.$istate = var$8; $var6 = cjj_Inflate_inflateInit(var$8, 31); if ($var6) { $par0DataInput = new cjj_GZIPException; $var1 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var1); jl_AbstractStringBuilder_append0($var1, $var6); jl_AbstractStringBuilder_append($var1, $rt_s(107)); jl_AbstractStringBuilder_append($var1, var$17.$msg); ji_IOException__init_($par0DataInput, jl_AbstractStringBuilder_toString($var1)); $rt_throw($par0DataInput); } cjj_InflaterInputStream__init_(var$12, var$16, var$17, 512, 1); var$12.$myinflater = 1; var$15.$in = var$12; var$15.$markpos = (-1); var$15.$buf2 = $rt_createByteArray(8192); var$14.$in = var$15; var$14.$buff = $rt_createByteArray(8); try { var$12 = nms_CompressedStreamTools_read(var$14); } catch ($$e) { $$je = $rt_wrapException($$e); $par0DataInput = $$je; var$14.$in.$close(); $rt_throw($par0DataInput); } var$14.$in.$close(); } var$10.$stackTagCompound = var$12; } $var5.$dataValueId = $var4; $var5.$watchedObject = var$10; $var5.$objectType = $var3; $var5.$watched = 1; break a; case 6: $var6 = ji_DataInputStream_readInt($par0DataInput); $var7 = ji_DataInputStream_readInt($par0DataInput); $var8 = ji_DataInputStream_readInt($par0DataInput); $var5 = new nms_WatchableObject; var$8 = new nms_ChunkCoordinates; var$8.$posX0 = $var6; var$8.$posY0 = $var7; var$8.$posZ0 = $var8; $var5.$dataValueId = $var4; $var5.$watchedObject = var$8; $var5.$objectType = $var3; $var5.$watched = 1; break a; default: } break a; } $var5 = new nms_WatchableObject; $var2 = ji_DataInputStream_readShort($par0DataInput); if ($var2 >= (-128) && $var2 <= 127) { jl_Short_ensureShortCache(); var$8 = jl_Short_shortCache.data[$var2 + 128 | 0]; } else { var$8 = new jl_Short; var$8.$value8 = $var2; } $var5.$dataValueId = $var4; $var5.$watchedObject = var$8; $var5.$objectType = $var3; $var5.$watched = 1; } ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$19 = $var1.$array.data; $var2 = $var1.$size0; $var1.$size0 = $var2 + 1 | 0; var$19[$var2] = $var5; $var1.$modCount = $var1.$modCount + 1 | 0; $var6 = $par0DataInput.$in.$read(); if ($var6 < 0) { $par0DataInput = new ji_EOFException; $par0DataInput.$suppressionEnabled = 1; $par0DataInput.$writableStackTrace = 1; $rt_throw($par0DataInput); } $var2 = $var6 << 24 >> 24; } return $var1; }, nms_DataWatcher__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_DataWatcher_dataTypes = var$1; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_cls(jl_Byte), jl_Integer_integerCache.data[128]); var$1 = nms_DataWatcher_dataTypes; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_cls(jl_Short), jl_Integer_integerCache.data[129]); var$1 = nms_DataWatcher_dataTypes; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_cls(jl_Integer), jl_Integer_integerCache.data[130]); var$1 = nms_DataWatcher_dataTypes; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_cls(jl_Float), jl_Integer_integerCache.data[131]); var$1 = nms_DataWatcher_dataTypes; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_cls(jl_String), jl_Integer_integerCache.data[132]); var$1 = nms_DataWatcher_dataTypes; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_cls(nms_ItemStack), jl_Integer_integerCache.data[133]); var$1 = nms_DataWatcher_dataTypes; jl_Integer_ensureIntegerCache(); ju_HashMap_putImpl(var$1, $rt_cls(nms_ChunkCoordinates), jl_Integer_integerCache.data[134]); }; function nle_ProfileUUID() { let a = this; jl_Object.call(a); a.$msb = Long_ZERO; a.$lsb = Long_ZERO; } let nle_ProfileUUID__init_2 = ($this, $msb, $lsb) => { $this.$msb = $msb; $this.$lsb = $lsb; }, nle_ProfileUUID__init_0 = (var_0, var_1) => { let var_2 = new nle_ProfileUUID(); nle_ProfileUUID__init_2(var_2, var_0, var_1); return var_2; }, nle_ProfileUUID__init_1 = ($this, $uuid) => { let $msb, $lsb, $i, var$5; $msb = Long_ZERO; $lsb = Long_ZERO; $i = 0; while ($i < 8) { var$5 = $uuid.data; $msb = Long_or(Long_shl($msb, 8), Long_fromInt(var$5[$i] & 255)); $i = $i + 1 | 0; } $i = 8; while ($i < 16) { var$5 = $uuid.data; $lsb = Long_or(Long_shl($lsb, 8), Long_fromInt(var$5[$i] & 255)); $i = $i + 1 | 0; } $this.$msb = $msb; $this.$lsb = $lsb; }, nle_ProfileUUID__init_ = var_0 => { let var_1 = new nle_ProfileUUID(); nle_ProfileUUID__init_1(var_1, var_0); return var_1; }, nle_ProfileUUID_getMostSignificantBits = $this => { return $this.$msb; }, nle_ProfileUUID_getLeastSignificantBits = $this => { return $this.$lsb; }, nle_ProfileUUID_randomUUID = () => { let $randomBytes, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; $randomBytes = $rt_createByteArray(16); var$2 = $randomBytes.data; var$3 = Long_fromNumber(performance.now() * 1000000.0); var$4 = 0; var$5 = var$2.length; while (var$4 < var$5) { var$3 = Long_and(Long_add(Long_mul(var$3, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6 = Long_lo(Long_shru(var$3, 16)); var$7 = var$5 - var$4 | 0; var$8 = 4; if (var$7 < var$8) var$8 = var$7; while (true) { var$9 = var$8 + (-1) | 0; if (var$8 <= 0) break; var$7 = var$4 + 1 | 0; var$2[var$4] = var$6 << 24 >> 24; var$6 = var$6 >> 8; var$8 = var$9; var$4 = var$7; } } var$2[6] = (var$2[6] & 15) << 24 >> 24; var$2[6] = (var$2[6] | 64) << 24 >> 24; var$2[8] = (var$2[8] & 63) << 24 >> 24; var$2[8] = (var$2[8] | 128) << 24 >> 24; return nle_ProfileUUID__init_($randomBytes); }, nle_ProfileUUID_parse4Nibbles = ($name, $pos) => { let $ch2, $ch1, $ch3, $ch4; if ($pos >= 0 && $pos < $name.$nativeString.length) { $ch2 = $name.$nativeString.charCodeAt($pos); if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } $ch1 = jl_String_indexOf($rt_s(2803), jl_Character_mapChar(jl_Character_upperCaseMapping, $ch2) & 65535, 0); if ($ch1 == (-1)) $ch1 = 0; $ch2 = $pos + 1 | 0; if ($ch2 >= 0 && $ch2 < $name.$nativeString.length) { $ch2 = $name.$nativeString.charCodeAt($ch2); if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } $ch2 = jl_String_indexOf($rt_s(2803), jl_Character_mapChar(jl_Character_upperCaseMapping, $ch2) & 65535, 0); if ($ch2 == (-1)) $ch2 = 0; $ch3 = $pos + 2 | 0; if ($ch3 >= 0 && $ch3 < $name.$nativeString.length) { $ch4 = $name.$nativeString.charCodeAt($ch3); if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } $ch3 = jl_String_indexOf($rt_s(2803), jl_Character_mapChar(jl_Character_upperCaseMapping, $ch4) & 65535, 0); if ($ch3 == (-1)) $ch3 = 0; $ch4 = $pos + 3 | 0; if ($ch4 >= 0 && $ch4 < $name.$nativeString.length) { $pos = $name.$nativeString.charCodeAt($ch4); if (jl_Character_upperCaseMapping === null) { if (jl_Character_$$metadata$$1 === null) jl_Character_$$metadata$$1 = jl_Character_acquireUpperCaseMapping$$create(); jl_Character_upperCaseMapping = otciu_UnicodeHelper_createCharMapping(otciu_UnicodeHelper_decodeCaseMapping((jl_Character_$$metadata$$1.value !== null ? $rt_str(jl_Character_$$metadata$$1.value) : null))); } $ch4 = jl_String_indexOf($rt_s(2803), jl_Character_mapChar(jl_Character_upperCaseMapping, $pos) & 65535, 0); if ($ch4 == (-1)) $ch4 = 0; return Long_fromInt($ch1 << 12 | $ch2 << 8 | $ch3 << 4 | $ch4); } $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); }, nle_ProfileUUID_fromString = $name => { let $ch1, $ch2, $ch3, $ch4, $msb1, $msb2, $msb3, $msb4, $lsb1, $lsb2, $lsb3, $lsb4; if ($name.$nativeString.length == 36) { if (8 >= $name.$nativeString.length) { $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $ch1 = $name.$nativeString.charCodeAt(8); if (13 >= $name.$nativeString.length) { $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $ch2 = $name.$nativeString.charCodeAt(13); if (18 >= $name.$nativeString.length) { $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $ch3 = $name.$nativeString.charCodeAt(18); if (23 >= $name.$nativeString.length) { $name = new jl_StringIndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } $ch4 = $name.$nativeString.charCodeAt(23); if ($ch1 == 45 && $ch2 == 45 && $ch3 == 45 && $ch4 == 45) { $msb1 = nle_ProfileUUID_parse4Nibbles($name, 0); $msb2 = nle_ProfileUUID_parse4Nibbles($name, 4); $msb3 = nle_ProfileUUID_parse4Nibbles($name, 9); $msb4 = nle_ProfileUUID_parse4Nibbles($name, 14); $lsb1 = nle_ProfileUUID_parse4Nibbles($name, 19); $lsb2 = nle_ProfileUUID_parse4Nibbles($name, 24); $lsb3 = nle_ProfileUUID_parse4Nibbles($name, 28); $lsb4 = nle_ProfileUUID_parse4Nibbles($name, 32); if (Long_ge(Long_or(Long_or(Long_or(Long_or(Long_or(Long_or(Long_or($msb1, $msb2), $msb3), $msb4), $lsb1), $lsb2), $lsb3), $lsb4), Long_ZERO)) { $name = new nle_ProfileUUID; $msb1 = Long_or(Long_or(Long_or(Long_shl($msb1, 48), Long_shl($msb2, 32)), Long_shl($msb3, 16)), $msb4); $msb2 = Long_or(Long_or(Long_or(Long_shl($lsb1, 48), Long_shl($lsb2, 32)), Long_shl($lsb3, 16)), $lsb4); $name.$msb = $msb1; $name.$lsb = $msb2; return $name; } } } return nle_ProfileUUID_fromString1($name); }, nle_ProfileUUID_fromString1 = $name => { let $len, $dash1, var$4, $dash2, var$6, $dash3, var$8, $dash4, var$10, $dash5, $mostSigBits, $leastSigBits, var$14, var$15, var$16, var$17; $len = $name.$nativeString.length; if ($len > 36) { $name = new jl_IllegalArgumentException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $name.$message = $rt_s(2804); $rt_throw($name); } $dash1 = jl_String_indexOf($name, 45, 0); var$4 = $dash1 + 1 | 0; $dash2 = jl_String_indexOf($name, 45, var$4); var$6 = $dash2 + 1 | 0; $dash3 = jl_String_indexOf($name, 45, var$6); var$8 = $dash3 + 1 | 0; $dash4 = jl_String_indexOf($name, 45, var$8); var$10 = $dash4 + 1 | 0; $dash5 = jl_String_indexOf($name, 45, var$10); if ($dash4 >= 0 && $dash5 < 0) { $mostSigBits = Long_or(Long_shl(Long_or(Long_shl(Long_and(nle_JDKBackports_parseLong($name, 0, $dash1, 16), Long_create(4294967295, 0)), 16), Long_and(nle_JDKBackports_parseLong($name, var$4, $dash2, 16), Long_fromInt(65535))), 16), Long_and(nle_JDKBackports_parseLong($name, var$6, $dash3, 16), Long_fromInt(65535))); $leastSigBits = Long_or(Long_shl(Long_and(nle_JDKBackports_parseLong($name, var$8, $dash4, 16), Long_fromInt(65535)), 48), Long_and(nle_JDKBackports_parseLong($name, var$10, $len, 16), Long_create(4294967295, 65535))); $name = new nle_ProfileUUID; $name.$msb = $mostSigBits; $name.$lsb = $leastSigBits; return $name; } var$14 = new jl_IllegalArgumentException; var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(2805)); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $name); $name = new jl_String; var$16 = var$15.$buffer; var$17 = var$16.data; $dash1 = var$15.$length0; $dash2 = var$17.length; if ($dash1 >= 0 && $dash1 <= ($dash2 - 0 | 0)) { $name.$nativeString = $rt_charArrayToString(var$16.data, 0, $dash1); var$14.$suppressionEnabled = 1; var$14.$writableStackTrace = 1; var$14.$message = $name; $rt_throw(var$14); } $name = new jl_IndexOutOfBoundsException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($name); $rt_throw($name); }, nle_ProfileUUID_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; var$1 = otci_IntegerUtil_toUnsignedLogRadixString0(Long_or(Long_create(0, 1), Long_and(Long_shr($this.$msb, 32), Long_create(4294967295, 0))), 4); var$2 = jl_String_substring(var$1, 1, var$1.$nativeString.length); var$1 = otci_IntegerUtil_toUnsignedLogRadixString0(Long_or(Long_fromInt(65536), Long_and(Long_shr($this.$msb, 16), Long_fromInt(65535))), 4); var$3 = jl_String_substring(var$1, 1, var$1.$nativeString.length); var$1 = otci_IntegerUtil_toUnsignedLogRadixString0(Long_or(Long_fromInt(65536), Long_and($this.$msb, Long_fromInt(65535))), 4); var$4 = jl_String_substring(var$1, 1, var$1.$nativeString.length); var$1 = otci_IntegerUtil_toUnsignedLogRadixString0(Long_or(Long_fromInt(65536), Long_and(Long_shr($this.$lsb, 48), Long_fromInt(65535))), 4); var$1 = jl_String_substring(var$1, 1, var$1.$nativeString.length); var$5 = otci_IntegerUtil_toUnsignedLogRadixString0(Long_or(Long_create(0, 65536), Long_and($this.$lsb, Long_create(4294967295, 65535))), 4); var$6 = jl_String_substring(var$5, 1, var$5.$nativeString.length); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$7 = var$5.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$7, var$2); var$8 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$8, var$8 + 1 | 0); var$5.$buffer.data[var$8] = 45; var$8 = var$5.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$8, var$3); var$8 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$8, var$8 + 1 | 0); var$5.$buffer.data[var$8] = 45; var$8 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$8, var$4); var$8 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$8, var$8 + 1 | 0); var$5.$buffer.data[var$8] = 45; var$8 = var$5.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$8, var$1); var$8 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$8, var$8 + 1 | 0); var$5.$buffer.data[var$8] = 45; var$7 = var$5.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$7, var$6); var$1 = new jl_String; var$9 = var$5.$buffer; var$10 = var$9.data; var$8 = var$5.$length0; var$11 = var$10.length; if (var$8 >= 0 && var$8 <= (var$11 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$9.data, 0, var$8); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nle_ProfileUUID_hashCode = $this => { let $hilo; $hilo = Long_xor($this.$msb, $this.$lsb); return Long_hi($hilo) ^ Long_lo($hilo); }, nle_ProfileUUID_equals = ($this, $o) => { let var$2; a: { if ($o instanceof nle_ProfileUUID) { $o = $o; if (Long_eq($o.$lsb, $this.$lsb) && Long_eq($o.$msb, $this.$msb)) { var$2 = 1; break a; } } var$2 = 0; } return var$2; }; function nms_AttributeModifier() { let a = this; jl_Object.call(a); a.$amount = 0.0; a.$operation = 0; a.$name3 = null; a.$id2 = null; a.$isSaved = 0; } let nms_AttributeModifier_equals = ($this, $par1Obj) => { let $var2, var$3, var$4, var$5; if ($this === $par1Obj) return 1; if ($par1Obj !== null) { $var2 = $this.constructor; if ($var2 === null) var$3 = null; else { var$3 = $var2.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $var2; $var2.classObject = var$3; } } var$4 = $par1Obj.constructor; if (var$4 === null) $var2 = null; else { $var2 = var$4.classObject; if ($var2 === null) { $var2 = new jl_Class; $var2.$platformClass = var$4; var$4.classObject = $var2; } } if (var$3 === $var2) { a: { $var2 = $par1Obj; $par1Obj = $this.$id2; if ($par1Obj === null) { if ($var2.$id2 === null) break a; return 0; } b: { $var2 = $var2.$id2; if ($var2 instanceof nle_ProfileUUID) { $var2 = $var2; if (Long_eq($var2.$lsb, $par1Obj.$lsb) && Long_eq($var2.$msb, $par1Obj.$msb)) { var$5 = 1; break b; } } var$5 = 0; } if (!var$5) return 0; } return 1; } } return 0; }, nms_AttributeModifier_hashCode = $this => { let var$1, var$2, var$3; var$1 = $this.$id2; if (var$1 === null) var$2 = 0; else { var$3 = Long_xor(var$1.$msb, var$1.$lsb); var$2 = Long_hi(var$3) ^ Long_lo(var$3); } return var$2; }, nms_AttributeModifier_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$amount; var$2 = $this.$operation; var$3 = $this.$name3; var$4 = $this.$id2; var$4 = var$4 === null ? $rt_s(1) : nle_ProfileUUID_toString(var$4); var$5 = $this.$isSaved; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2806)); jl_AbstractStringBuilder_insert4(var$6, var$6.$length0, var$1); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2807)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$2, 10); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2808)); var$2 = var$6.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$3); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2809)); var$2 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$4); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2810)); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, !var$5 ? $rt_s(69) : $rt_s(70)); var$7 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$7, var$7 + 1 | 0); var$8 = var$6.$buffer; var$9 = var$8.data; var$9[var$7] = 125; var$3 = new jl_String; var$5 = var$6.$length0; var$7 = var$9.length; if (var$5 >= 0 && var$5 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$8.data, 0, var$5); return var$3; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); }; function nle_LANServerList() { let a = this; jl_Object.call(a); a.$lanServersList = null; a.$lanServersQueryList = null; a.$deadURIs = null; a.$lastRefresh0 = Long_ZERO; a.$refreshCounter = 0; } let nle_LANServerList__init_ = $this => { let var$1, var$2, var$3, var$4, var$5; $this.$lanServersList = new ju_LinkedList; $this.$lanServersQueryList = ju_LinkedHashMap__init_(); var$1 = new ju_HashSet; var$2 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$4.data; var$2.$elementData = var$4; var$2.$loadFactor = 0.75; var$2.$threshold = var$5.length * 0.75 | 0; var$1.$backingMap = var$2; $this.$deadURIs = var$1; $this.$lastRefresh0 = Long_ZERO; $this.$refreshCounter = 0; }, nle_LANServerList__init_0 = () => { let var_0 = new nle_LANServerList(); nle_LANServerList__init_(var_0); return var_0; }, nle_LANServerList_update = $this => { let $millis, var$2, $uri, $itr, $q, $rl, var$7, $l, $itr3$index, $itr3$index_0, var$11, var$12, var$13, $l_0, $l2; a: { nlea_EaglerAdapterImpl2_$callClinit(); $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (Long_gt(Long_sub($millis, $this.$lastRefresh0), Long_fromInt(10000))) { var$2 = $this.$refreshCounter + 1 | 0; $this.$refreshCounter = var$2; if (var$2 >= 10) $this.$lastRefresh0 = $millis; else nle_LANServerList_refresh($this); } else { $uri = $this.$lanServersQueryList; $itr = new ju_LinkedHashMapIterator$EntryIterator; $itr.$base = $uri; $itr.$reversed = 0; $itr.$expectedModCount0 = $uri.$modCount0; $itr.$futureEntry = $uri.$head; while (true) { $q = $itr.$futureEntry; if (!($q === null ? 0 : 1)) break a; if ($itr.$expectedModCount0 != $itr.$base.$modCount0) { $uri = new ju_ConcurrentModificationException; $uri.$suppressionEnabled = 1; $uri.$writableStackTrace = 1; $rt_throw($uri); } if (!($q === null ? 0 : 1)) { $uri = new ju_NoSuchElementException; $uri.$suppressionEnabled = 1; $uri.$writableStackTrace = 1; $rt_throw($uri); } $itr.$currentEntry2 = $q; $uri = !$itr.$reversed ? $q.$chainForward : $q.$chainBackward; b: { $itr.$futureEntry = $uri; $uri = $q.$key; $q = $q.$value1; if (!$q.$isQueryOpen()) { ju_LinkedHashMapIterator_remove($itr); if ($q.$isQueryFailed()) { $q = $this.$deadURIs; ju_HashMap_putImpl($q.$backingMap, $uri, $q); $q = $this.$lanServersList; $rl = new ju_LinkedList$SequentialListIterator; var$7 = $q.$firstEntry; $l = null; $rl.$this$02 = $q; $rl.$version = $q.$modCount; $rl.$nextEntry1 = var$7; $rl.$prevEntry = $l; $rl.$index4 = 0; while ($rl.$nextEntry1 === null ? 0 : 1) { $q = (ju_LinkedList$SequentialListIterator_next($rl)).$lanServerRelay.$address; if ($q === $uri) var$2 = 1; else if (!($uri instanceof jl_String)) var$2 = 0; else { $l = $uri; var$2 = $q.$nativeString !== $l.$nativeString ? 0 : 1; } if (!var$2) continue; ju_LinkedList$SequentialListIterator_remove($rl); } } else { $l = nle_IntegratedServer_relayManager.$relays; $itr3$index = $l.$modCount; $itr3$index_0 = $l.$size(); var$11 = 0; c: { while (true) { if (!(var$11 >= $itr3$index_0 ? 0 : 1)) { $rl = null; break c; } if ($itr3$index < $l.$modCount) { $uri = new ju_ConcurrentModificationException; $uri.$suppressionEnabled = 1; $uri.$writableStackTrace = 1; $rt_throw($uri); } var$12 = var$11 + 1 | 0; $rl = $l.$get(var$11); var$7 = $rl.$address; if (var$7 === $uri) var$2 = 1; else if (!($uri instanceof jl_String)) var$2 = 0; else { var$13 = $uri; var$2 = var$7.$nativeString !== var$13.$nativeString ? 0 : 1; } if (var$2) break; var$11 = var$12; } } $l = $this.$lanServersList; $l_0 = new ju_LinkedList$SequentialListIterator; var$13 = $l.$firstEntry; var$7 = null; $l_0.$this$02 = $l; $l_0.$version = $l.$modCount; $l_0.$nextEntry1 = var$13; $l_0.$prevEntry = var$7; $l_0.$index4 = 0; while ($l_0.$nextEntry1 === null ? 0 : 1) { $l = ju_LinkedList$SequentialListIterator_next($l_0); var$7 = $l.$lanServerRelay.$address; if (var$7 === $uri) var$2 = 1; else if (!($uri instanceof jl_String)) var$2 = 0; else { var$13 = $uri; var$2 = var$7.$nativeString !== var$13.$nativeString ? 0 : 1; } if (var$2) $l.$flagged = 0; } d: { if ($rl !== null) { var$13 = $q.$getWorlds(); var$11 = var$13.$modCount; var$12 = var$13.$size(); $itr3$index = 0; e: while (true) { if (!($itr3$index >= var$12 ? 0 : 1)) break d; if (var$11 < var$13.$modCount) { $uri = new ju_ConcurrentModificationException; $uri.$suppressionEnabled = 1; $uri.$writableStackTrace = 1; $rt_throw($uri); } $itr3$index_0 = $itr3$index + 1 | 0; $l_0 = var$13.$get($itr3$index); $l2 = $this.$lanServersList; var$7 = new ju_LinkedList$SequentialListIterator; $l = $l2.$firstEntry; $q = null; var$7.$this$02 = $l2; var$7.$version = $l2.$modCount; var$7.$nextEntry1 = $l; var$7.$prevEntry = $q; var$7.$index4 = 0; while (true) { if (!(var$7.$nextEntry1 === null ? 0 : 1)) { $q = $this.$lanServersList; $l = new nle_LANServerList$LanServer; var$7 = $l_0.$worldName8; $l_0 = $l_0.$worldCode; $l.$this$053 = $this; $l.$flagged = 1; $l.$lanServerMotd = var$7; $l.$lanServerRelay = $rl; $l.$lanServerCode = $l_0; var$2 = $q.$size2; if (var$2 < 0) { $uri = new jl_IndexOutOfBoundsException; $uri.$suppressionEnabled = 1; $uri.$writableStackTrace = 1; $rt_throw($uri); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($q, var$2), $l); $itr3$index = $itr3$index_0; continue e; } $l2 = ju_LinkedList$SequentialListIterator_next(var$7); $q = $l2.$lanServerRelay.$address; if ($q === $uri) var$2 = 1; else if (!($uri instanceof jl_String)) var$2 = 0; else { $l = $uri; var$2 = $q.$nativeString !== $l.$nativeString ? 0 : 1; } if (var$2) { $q = $l2.$lanServerCode; $l = $l_0.$worldCode; if ($q === $l) var$2 = 1; else if (!($l instanceof jl_String)) var$2 = 0; else { $l = $l; var$2 = $q.$nativeString !== $l.$nativeString ? 0 : 1; } if (var$2) break; } } $l2.$lanServerMotd = $l_0.$worldName8; $l2.$flagged = 1; $itr3$index = $itr3$index_0; } } } $q = $this.$lanServersList; var$7 = new ju_LinkedList$SequentialListIterator; $l = $q.$firstEntry; $rl = null; var$7.$this$02 = $q; var$7.$version = $q.$modCount; var$7.$nextEntry1 = $l; var$7.$prevEntry = $rl; var$7.$index4 = 0; while (true) { if (!(var$7.$nextEntry1 === null ? 0 : 1)) break b; $l = ju_LinkedList$SequentialListIterator_next(var$7); $q = $l.$lanServerRelay.$address; if ($q === $uri) var$2 = 1; else if (!($uri instanceof jl_String)) var$2 = 0; else { $rl = $uri; var$2 = $q.$nativeString !== $rl.$nativeString ? 0 : 1; } if (var$2 && !$l.$flagged) ju_LinkedList$SequentialListIterator_remove(var$7); } } } } } } } }, nle_LANServerList_refresh = $this => { let $i, var$2, var$3, $srv, var$5, var$6, var$7, var$8, var$9, var$10; nlea_EaglerAdapterImpl2_$callClinit(); $this.$lastRefresh0 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $i = 0; var$2 = nle_IntegratedServer_relayManager.$relays.$size0; a: { while ($i < var$2) { var$3 = nle_IntegratedServer_relayManager.$relays; if ($i < 0) break a; if ($i >= var$3.$size0) break a; $srv = var$3.$array.data[$i]; var$3 = $this.$lanServersQueryList; var$5 = $srv.$address; if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { b: { if (!var$5.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$5.$nativeString.length) break b; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$8 = var$3.$elementData.data; var$3 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$7) { c: { var$9 = var$3.$key; if (var$5 !== var$9) { if (var$5 === var$9) var$6 = 1; else if (!(var$9 instanceof jl_String)) var$6 = 0; else { var$9 = var$9; var$6 = var$5.$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break c; } } var$6 = 1; } if (var$6) break; } var$3 = var$3.$next3; } } var$6 = var$3 === null ? 0 : 1; if (!var$6 && !ju_HashSet_contains($this.$deadURIs, $srv.$address)) { var$3 = $this.$lanServersQueryList; var$5 = $srv.$address; var$9 = nlea_EaglerAdapterImpl2_openRelayWorldsQuery(var$5); var$10 = var$3.$elementCount; ju_LinkedHashMap_putImpl(var$3, var$5, var$9, 0, var$3.$accessOrder); } $i = $i + 1 | 0; } return; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); }; function nlesi_IPCPacket00StartServer() { let a = this; jl_Object.call(a); a.$worldName3 = null; a.$ownerName = null; a.$initialDifficulty = 0; } let nlesi_IPCPacket00StartServer__init_ = $this => { return; }, nlesi_IPCPacket00StartServer__init_0 = () => { let var_0 = new nlesi_IPCPacket00StartServer(); nlesi_IPCPacket00StartServer__init_(var_0); return var_0; }, nlesi_IPCPacket00StartServer_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$worldName3 = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$ownerName = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); var$2 = $bin.$in.$read(); if (var$2 >= 0) { $this.$initialDifficulty = var$2 << 24 >> 24; return; } $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); }, nlesi_IPCPacket00StartServer_serialize = ($this, $bin) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$worldName3; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$4 = Long_lo(var$3); var$5 = $rt_createByteArray(var$4 + 2 | 0); var$6 = var$5.data; var$6[0] = var$4 >> 8 << 24 >> 24; var$6[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$5, 2); $bin.$out0.$write4(var$5, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; var$2 = $this.$ownerName; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$4 = Long_lo(var$3); var$5 = $rt_createByteArray(var$4 + 2 | 0); var$6 = var$5.data; var$6[0] = var$4 >> 8 << 24 >> 24; var$6[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$5, 2); $bin.$out0.$write4(var$5, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; var$4 = $this.$initialDifficulty; $bin.$out0.$write1(var$4); $bin.$written = $bin.$written + 1 | 0; }, nlesi_IPCPacket00StartServer_id = $this => { return 0; }, nlesi_IPCPacket00StartServer_size = $this => { return (nlesi_IPCPacketBase_strLen($this.$worldName3) + nlesi_IPCPacketBase_strLen($this.$ownerName) | 0) + 1 | 0; }, nlesi_IPCPacket01StopServer = $rt_classWithoutFields(), nlesi_IPCPacket01StopServer__init_ = $this => { return; }, nlesi_IPCPacket01StopServer__init_0 = () => { let var_0 = new nlesi_IPCPacket01StopServer(); nlesi_IPCPacket01StopServer__init_(var_0); return var_0; }, nlesi_IPCPacket01StopServer_deserialize = ($this, $bin) => { return; }, nlesi_IPCPacket01StopServer_serialize = ($this, $bin) => { return; }, nlesi_IPCPacket01StopServer_id = $this => { return 1; }, nlesi_IPCPacket01StopServer_size = $this => { return 0; }; function nlesi_IPCPacket02InitWorld() { let a = this; jl_Object.call(a); a.$worldName6 = null; a.$gamemode = 0; a.$worldType0 = 0; a.$worldArgs = null; a.$seed2 = Long_ZERO; a.$cheats = 0; a.$structures = 0; a.$bonusChest = 0; } let nlesi_IPCPacket02InitWorld__init_ = $this => { return; }, nlesi_IPCPacket02InitWorld__init_0 = () => { let var_0 = new nlesi_IPCPacket02InitWorld(); nlesi_IPCPacket02InitWorld__init_(var_0); return var_0; }, nlesi_IPCPacket02InitWorld_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$worldName6 = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); var$2 = $bin.$in.$read(); if (var$2 < 0) { $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); } $this.$gamemode = var$2 << 24 >> 24; var$2 = $bin.$in.$read(); if (var$2 < 0) { $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); } $this.$worldType0 = var$2 << 24 >> 24; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$worldArgs = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); $this.$seed2 = ji_DataInputStream_readLong($bin); var$2 = $bin.$in.$read(); if (var$2 < 0) { $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); } $this.$cheats = !var$2 ? 0 : 1; var$2 = $bin.$in.$read(); if (var$2 < 0) { $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); } $this.$structures = !var$2 ? 0 : 1; var$2 = $bin.$in.$read(); if (var$2 >= 0) { $this.$bonusChest = !var$2 ? 0 : 1; return; } $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); }, nlesi_IPCPacket02InitWorld_serialize = ($this, $bin) => { let var$2, var$3, var$4, var$5, var$6, var$7; var$2 = $this.$worldName6; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$4 = Long_lo(var$3); var$5 = $rt_createByteArray(var$4 + 2 | 0); var$6 = var$5.data; var$6[0] = var$4 >> 8 << 24 >> 24; var$6[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$5, 2); $bin.$out0.$write4(var$5, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; var$4 = $this.$gamemode; $bin.$out0.$write1(var$4); $bin.$written = $bin.$written + 1 | 0; var$4 = $this.$worldType0; $bin.$out0.$write1(var$4); $bin.$written = $bin.$written + 1 | 0; var$2 = $this.$worldArgs; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$7 = Long_lo(var$3); var$6 = $rt_createByteArray(var$7 + 2 | 0); var$5 = var$6.data; var$5[0] = var$7 >> 8 << 24 >> 24; var$5[1] = var$7 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$6, 2); $bin.$out0.$write4(var$6, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; ji_DataOutputStream_writeLong($bin, $this.$seed2); var$4 = $this.$cheats; $bin.$out0.$write1(!var$4 ? 0 : 1); $bin.$written = $bin.$written + 1 | 0; var$4 = $this.$structures; $bin.$out0.$write1(!var$4 ? 0 : 1); $bin.$written = $bin.$written + 1 | 0; var$4 = $this.$bonusChest; $bin.$out0.$write1(!var$4 ? 0 : 1); $bin.$written = $bin.$written + 1 | 0; }, nlesi_IPCPacket02InitWorld_id = $this => { return 2; }, nlesi_IPCPacket02InitWorld_size = $this => { return ((((((nlesi_IPCPacketBase_strLen($this.$worldName6) + 1 | 0) + 1 | 0) + nlesi_IPCPacketBase_strLen($this.$worldArgs) | 0) + 8 | 0) + 1 | 0) + 1 | 0) + 1 | 0; }; function nlesi_IPCPacket03DeleteWorld() { jl_Object.call(this); this.$worldName4 = null; } let nlesi_IPCPacket03DeleteWorld__init_ = $this => { return; }, nlesi_IPCPacket03DeleteWorld__init_0 = () => { let var_0 = new nlesi_IPCPacket03DeleteWorld(); nlesi_IPCPacket03DeleteWorld__init_(var_0); return var_0; }, nlesi_IPCPacket03DeleteWorld_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$worldName4 = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); }, nlesi_IPCPacket03DeleteWorld_serialize = ($this, $bin) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$worldName4; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$4 = Long_lo(var$3); var$5 = $rt_createByteArray(var$4 + 2 | 0); var$6 = var$5.data; var$6[0] = var$4 >> 8 << 24 >> 24; var$6[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$5, 2); $bin.$out0.$write4(var$5, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; }, nlesi_IPCPacket03DeleteWorld_id = $this => { return 3; }, nlesi_IPCPacket03DeleteWorld_size = $this => { return nlesi_IPCPacketBase_strLen($this.$worldName4); }; function nlesi_IPCPacket04RenameWorld() { let a = this; jl_Object.call(a); a.$worldOldName = null; a.$worldNewName = null; a.$displayName1 = null; a.$copy0 = 0; } let nlesi_IPCPacket04RenameWorld__init_ = $this => { return; }, nlesi_IPCPacket04RenameWorld__init_0 = () => { let var_0 = new nlesi_IPCPacket04RenameWorld(); nlesi_IPCPacket04RenameWorld__init_(var_0); return var_0; }, nlesi_IPCPacket04RenameWorld_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$worldOldName = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$worldNewName = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$displayName1 = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); var$2 = $bin.$in.$read(); if (var$2 >= 0) { $this.$copy0 = !var$2 ? 0 : 1; return; } $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); }, nlesi_IPCPacket04RenameWorld_serialize = ($this, $bin) => { let var$2, var$3, var$4, var$5, var$6, var$7; var$2 = $this.$worldOldName; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$4 = Long_lo(var$3); var$5 = $rt_createByteArray(var$4 + 2 | 0); var$6 = var$5.data; var$6[0] = var$4 >> 8 << 24 >> 24; var$6[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$5, 2); $bin.$out0.$write4(var$5, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; var$2 = $this.$worldNewName; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$4 = Long_lo(var$3); var$5 = $rt_createByteArray(var$4 + 2 | 0); var$6 = var$5.data; var$6[0] = var$4 >> 8 << 24 >> 24; var$6[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$5, 2); $bin.$out0.$write4(var$5, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; var$2 = $this.$displayName1; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$7 = Long_lo(var$3); var$6 = $rt_createByteArray(var$7 + 2 | 0); var$5 = var$6.data; var$5[0] = var$7 >> 8 << 24 >> 24; var$5[1] = var$7 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$6, 2); $bin.$out0.$write4(var$6, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; var$4 = $this.$copy0; $bin.$out0.$write1(!var$4 ? 0 : 1); $bin.$written = $bin.$written + 1 | 0; }, nlesi_IPCPacket04RenameWorld_id = $this => { return 4; }, nlesi_IPCPacket04RenameWorld_size = $this => { return ((nlesi_IPCPacketBase_strLen($this.$worldOldName) + nlesi_IPCPacketBase_strLen($this.$worldNewName) | 0) + nlesi_IPCPacketBase_strLen($this.$displayName1) | 0) + 1 | 0; }; function nlesi_IPCPacket05RequestData() { let a = this; jl_Object.call(a); a.$worldName1 = null; a.$request = 0; } let nlesi_IPCPacket05RequestData__init_ = $this => { return; }, nlesi_IPCPacket05RequestData__init_0 = () => { let var_0 = new nlesi_IPCPacket05RequestData(); nlesi_IPCPacket05RequestData__init_(var_0); return var_0; }, nlesi_IPCPacket05RequestData_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$worldName1 = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); var$2 = $bin.$in.$read(); if (var$2 >= 0) { $this.$request = var$2 << 24 >> 24; return; } $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); }, nlesi_IPCPacket05RequestData_serialize = ($this, $bin) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$worldName1; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$4 = Long_lo(var$3); var$5 = $rt_createByteArray(var$4 + 2 | 0); var$6 = var$5.data; var$6[0] = var$4 >> 8 << 24 >> 24; var$6[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$5, 2); $bin.$out0.$write4(var$5, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; var$4 = $this.$request; $bin.$out0.$write1(var$4); $bin.$written = $bin.$written + 1 | 0; }, nlesi_IPCPacket05RequestData_id = $this => { return 5; }, nlesi_IPCPacket05RequestData_size = $this => { return nlesi_IPCPacketBase_strLen($this.$worldName1) + 1 | 0; }; function nlesi_IPCPacket06RenameWorldNBT() { let a = this; jl_Object.call(a); a.$worldName2 = null; a.$displayName0 = null; } let nlesi_IPCPacket06RenameWorldNBT__init_ = $this => { return; }, nlesi_IPCPacket06RenameWorldNBT__init_0 = () => { let var_0 = new nlesi_IPCPacket06RenameWorldNBT(); nlesi_IPCPacket06RenameWorldNBT__init_(var_0); return var_0; }, nlesi_IPCPacket06RenameWorldNBT_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$worldName2 = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$displayName0 = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); }, nlesi_IPCPacket06RenameWorldNBT_serialize = ($this, $bin) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$worldName2; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$4 = Long_lo(var$3); var$5 = $rt_createByteArray(var$4 + 2 | 0); var$6 = var$5.data; var$6[0] = var$4 >> 8 << 24 >> 24; var$6[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$5, 2); $bin.$out0.$write4(var$5, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; var$2 = $this.$displayName0; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$4 = Long_lo(var$3); var$5 = $rt_createByteArray(var$4 + 2 | 0); var$6 = var$5.data; var$6[0] = var$4 >> 8 << 24 >> 24; var$6[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$5, 2); $bin.$out0.$write4(var$5, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; }, nlesi_IPCPacket06RenameWorldNBT_id = $this => { return 6; }, nlesi_IPCPacket06RenameWorldNBT_size = $this => { return nlesi_IPCPacketBase_strLen($this.$worldName2) + nlesi_IPCPacketBase_strLen($this.$displayName0) | 0; }; function nlesi_IPCPacket07ImportWorld() { let a = this; jl_Object.call(a); a.$worldName5 = null; a.$worldData = null; a.$worldFormat = 0; } let nlesi_IPCPacket07ImportWorld__init_ = $this => { return; }, nlesi_IPCPacket07ImportWorld__init_0 = () => { let var_0 = new nlesi_IPCPacket07ImportWorld(); nlesi_IPCPacket07ImportWorld__init_(var_0); return var_0; }, nlesi_IPCPacket07ImportWorld_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$worldName5 = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); $this.$worldData = $rt_createByteArray(ji_DataInputStream_readInt($bin)); var$2 = $bin.$in.$read(); if (var$2 >= 0) { $this.$worldFormat = var$2 << 24 >> 24; var$3 = $this.$worldData; ji_DataInputStream_readFully($bin, var$3, 0, var$3.data.length); return; } $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); }, nlesi_IPCPacket07ImportWorld_serialize = ($this, $bin) => { let var$2, var$3, var$4, var$5, var$6, var$7; var$2 = $this.$worldName5; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$4 = Long_lo(var$3); var$5 = $rt_createByteArray(var$4 + 2 | 0); var$6 = var$5.data; var$6[0] = var$4 >> 8 << 24 >> 24; var$6[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$5, 2); $bin.$out0.$write4(var$5, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; ji_DataOutputStream_writeInt($bin, $this.$worldData.data.length); var$4 = $this.$worldFormat; $bin.$out0.$write1(var$4); $bin.$written = $bin.$written + 1 | 0; var$5 = $this.$worldData; var$7 = var$5.data.length; $bin.$out0.$write4(var$5, 0, var$7); $bin.$written = $bin.$written + var$7 | 0; }, nlesi_IPCPacket07ImportWorld_id = $this => { return 7; }, nlesi_IPCPacket07ImportWorld_size = $this => { return (nlesi_IPCPacketBase_strLen($this.$worldName5) + $this.$worldData.data.length | 0) + 5 | 0; }; function nlesi_IPCPacket0ASetWorldDifficulty() { jl_Object.call(this); this.$difficulty1 = 0; } let nlesi_IPCPacket0ASetWorldDifficulty__init_ = $this => { return; }, nlesi_IPCPacket0ASetWorldDifficulty__init_0 = () => { let var_0 = new nlesi_IPCPacket0ASetWorldDifficulty(); nlesi_IPCPacket0ASetWorldDifficulty__init_(var_0); return var_0; }, nlesi_IPCPacket0ASetWorldDifficulty_deserialize = ($this, $bin) => { let var$2; var$2 = $bin.$in.$read(); if (var$2 >= 0) { $this.$difficulty1 = var$2 << 24 >> 24; return; } $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); }, nlesi_IPCPacket0ASetWorldDifficulty_id = $this => { return 10; }, nlesi_IPCPacket0EListWorlds = $rt_classWithoutFields(), nlesi_IPCPacket0EListWorlds__init_ = $this => { return; }, nlesi_IPCPacket0EListWorlds__init_0 = () => { let var_0 = new nlesi_IPCPacket0EListWorlds(); nlesi_IPCPacket0EListWorlds__init_(var_0); return var_0; }, nlesi_IPCPacket0EListWorlds_deserialize = ($this, $bin) => { return; }, nlesi_IPCPacket0EListWorlds_serialize = ($this, $bin) => { return; }, nlesi_IPCPacket0EListWorlds_id = $this => { return 14; }, nlesi_IPCPacket0EListWorlds_size = $this => { return 0; }; function nlesi_IPCPacket0FListFiles() { jl_Object.call(this); this.$path4 = null; } let nlesi_IPCPacket0FListFiles__init_ = $this => { return; }, nlesi_IPCPacket0FListFiles__init_0 = () => { let var_0 = new nlesi_IPCPacket0FListFiles(); nlesi_IPCPacket0FListFiles__init_(var_0); return var_0; }, nlesi_IPCPacket0FListFiles_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$path4 = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); }, nlesi_IPCPacket0FListFiles_id = $this => { return 15; }; function nlesi_IPCPacket10FileRead() { jl_Object.call(this); this.$file = null; } let nlesi_IPCPacket10FileRead__init_ = $this => { return; }, nlesi_IPCPacket10FileRead__init_0 = () => { let var_0 = new nlesi_IPCPacket10FileRead(); nlesi_IPCPacket10FileRead__init_(var_0); return var_0; }, nlesi_IPCPacket10FileRead_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$file = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); }, nlesi_IPCPacket10FileRead_id = $this => { return 16; }; function nlesi_IPCPacket12FileWrite() { jl_Object.call(this); this.$path3 = null; } let nlesi_IPCPacket12FileWrite__init_ = $this => { return; }, nlesi_IPCPacket12FileWrite__init_0 = () => { let var_0 = new nlesi_IPCPacket12FileWrite(); nlesi_IPCPacket12FileWrite__init_(var_0); return var_0; }, nlesi_IPCPacket12FileWrite_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$path3 = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); }, nlesi_IPCPacket12FileWrite_id = $this => { return 18; }; function nlesi_IPCPacket13FileCopyMove() { let a = this; jl_Object.call(a); a.$fileOldName = null; a.$fileNewName = null; a.$copy1 = 0; } let nlesi_IPCPacket13FileCopyMove__init_ = $this => { return; }, nlesi_IPCPacket13FileCopyMove__init_0 = () => { let var_0 = new nlesi_IPCPacket13FileCopyMove(); nlesi_IPCPacket13FileCopyMove__init_(var_0); return var_0; }, nlesi_IPCPacket13FileCopyMove_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$fileOldName = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$fileNewName = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); var$2 = $bin.$in.$read(); if (var$2 >= 0) { $this.$copy1 = !var$2 ? 0 : 1; return; } $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); }, nlesi_IPCPacket13FileCopyMove_id = $this => { return 19; }; function nlesi_IPCPacket18ClearPlayers() { jl_Object.call(this); this.$worldName0 = null; } let nlesi_IPCPacket18ClearPlayers__init_ = $this => { $this.$worldName0 = null; }, nlesi_IPCPacket18ClearPlayers__init_0 = () => { let var_0 = new nlesi_IPCPacket18ClearPlayers(); nlesi_IPCPacket18ClearPlayers__init_(var_0); return var_0; }, nlesi_IPCPacket18ClearPlayers_deserialize = ($this, $bin) => { let var$2, var$3, var$4; var$2 = ji_DataInputStream_readUnsignedShort($bin); var$3 = $rt_createByteArray(var$2); var$4 = $rt_createCharArray(var$2); ji_DataInputStream_readFully($bin, var$3, 0, var$2); $this.$worldName0 = ji_DataInputStream_convertUTF8WithBuf(var$3, var$4, 0, var$2); }, nlesi_IPCPacket18ClearPlayers_serialize = ($this, $bin) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$worldName0; var$3 = ji_DataOutputStream_countUTFBytes($bin, var$2); if (Long_gt(var$3, Long_fromInt(65535))) { $bin = new ji_IOException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $bin.$message = $rt_s(413); $rt_throw($bin); } var$4 = Long_lo(var$3); var$5 = $rt_createByteArray(var$4 + 2 | 0); var$6 = var$5.data; var$6[0] = var$4 >> 8 << 24 >> 24; var$6[1] = var$4 << 24 >> 24; var$4 = ji_DataOutputStream_writeUTFBytesToBuffer($bin, var$2, var$5, 2); $bin.$out0.$write4(var$5, 0, var$4); $bin.$written = $bin.$written + var$4 | 0; }, nlesi_IPCPacket18ClearPlayers_id = $this => { return 24; }, nlesi_IPCPacket18ClearPlayers_size = $this => { return nlesi_IPCPacketBase_strLen($this.$worldName0); }; function nlesi_IPCPacket17ConfigureLAN() { let a = this; jl_Object.call(a); a.$gamemode0 = 0; a.$cheats0 = 0; a.$iceServers = null; } let nlesi_IPCPacket17ConfigureLAN__init_ = $this => { let var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$iceServers = var$1; }, nlesi_IPCPacket17ConfigureLAN__init_0 = () => { let var_0 = new nlesi_IPCPacket17ConfigureLAN(); nlesi_IPCPacket17ConfigureLAN__init_(var_0); return var_0; }, nlesi_IPCPacket17ConfigureLAN_deserialize = ($this, $bin) => { let var$2, $i, var$4, var$5, var$6, var$7, $iceCount, var$9; var$2 = $bin.$in.$read(); if (var$2 < 0) { $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); } $this.$gamemode0 = var$2 & 255; $i = $bin.$in.$read(); if ($i < 0) { $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); } $this.$cheats0 = !$i ? 0 : 1; var$4 = $this.$iceServers; var$5 = var$4.$array; $i = 0; var$2 = var$4.$size0; var$6 = null; if ($i > var$2) { $bin = new jl_IllegalArgumentException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); } while ($i < var$2) { var$7 = var$5.data; $iceCount = $i + 1 | 0; var$7[$i] = var$6; $i = $iceCount; } var$4.$size0 = 0; var$4.$modCount = var$4.$modCount + 1 | 0; var$2 = $bin.$in.$read(); if (var$2 < 0) { $bin = new ji_EOFException; $bin.$suppressionEnabled = 1; $bin.$writableStackTrace = 1; $rt_throw($bin); } $iceCount = var$2 & 255; $i = 0; while ($i < $iceCount) { var$6 = $this.$iceServers; var$9 = ji_DataInputStream_readUnsignedShort($bin); var$7 = $rt_createByteArray(var$9); var$5 = $rt_createCharArray(var$9); ji_DataInputStream_readFully($bin, var$7, 0, var$9); var$4 = ji_DataInputStream_convertUTF8WithBuf(var$7, var$5, 0, var$9); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$5 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$5[var$9] = var$4; var$6.$modCount = var$6.$modCount + 1 | 0; $i = $i + 1 | 0; } }, nlesi_IPCPacket17ConfigureLAN_id = $this => { return 23; }; function jlr_ReferenceQueue() { let a = this; jl_Object.call(a); a.$firstCallback = null; a.$inner = null; a.$registry = null; } let jlr_ReferenceQueue__init_ = var$0 => { var$0.$inner = []; { var$0.$registry = new FinalizationRegistry(ref => { if (!jlr_ReferenceQueue_reportNext(var$0, ref)) { var$0.$inner.push(ref); } }); } }, jlr_ReferenceQueue__init_0 = () => { let var_0 = new jlr_ReferenceQueue(); jlr_ReferenceQueue__init_(var_0); return var_0; }, jlr_ReferenceQueue_poll = var$0 => { var value = var$0.$inner.shift(); return typeof value !== 'undefined' ? value : null; }, jlr_ReferenceQueue_reportNext = (var$0, $ref) => { let $callback; $callback = var$0.$firstCallback; if ($callback === null) return 0; $callback.$complete0($ref); return 1; }, ji_UnsupportedEncodingException = $rt_classWithoutFields(ji_IOException), ji_UnsupportedEncodingException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, ji_UnsupportedEncodingException__init_0 = () => { let var_0 = new ji_UnsupportedEncodingException(); ji_UnsupportedEncodingException__init_(var_0); return var_0; }; function nms_StatCrafting() { nms_StatBase.call(this); this.$itemID1 = 0; } function nms_ItemTool() { let a = this; nms_Item.call(a); a.$blocksEffectiveAgainst = null; a.$efficiencyOnProperMaterial = 0.0; a.$damageVsEntity0 = 0.0; a.$toolMaterial = null; } let nms_ItemTool_getStrVsBlock = ($this, $par1ItemStack, $par2Block) => { let $var3, var$4; $var3 = 0; while (true) { var$4 = $this.$blocksEffectiveAgainst.data; if ($var3 >= var$4.length) break; if (var$4[$var3] === $par2Block) return $this.$efficiencyOnProperMaterial; $var3 = $var3 + 1 | 0; } return 1.0; }, nms_ItemTool_hitEntity = ($this, $par1ItemStack, $par2EntityLivingBase, $par3EntityLivingBase) => { let var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$par3EntityLivingBase = $thread.pop();$par2EntityLivingBase = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 2; $ptr = 1; case 1: nms_ItemStack_damageItem($par1ItemStack, var$4, $par3EntityLivingBase); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityLivingBase, $par3EntityLivingBase, var$4, $ptr); }, nms_ItemTool_onBlockDestroyed = ($this, $par1ItemStack, $par2World, $par3, $par4, $par5, $par6, $par7EntityLivingBase) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par7EntityLivingBase = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Block_$callClinit(); if (nms_Block_blocksList.data[$par3].$blockHardness === 0.0) return 1; $par3 = 1; $ptr = 1; case 1: nms_ItemStack_damageItem($par1ItemStack, $par3, $par7EntityLivingBase); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3, $par4, $par5, $par6, $par7EntityLivingBase, $ptr); }, nms_ItemTool_isFull3D = $this => { return 1; }, nms_ItemTool_getItemEnchantability = $this => { return $this.$toolMaterial.$enchantability; }, nms_ItemTool_getToolMaterialName = $this => { return $this.$toolMaterial.$name0; }, nms_ItemTool_getIsRepairable = ($this, $par1ItemStack, $par2ItemStack) => { return nms_EnumToolMaterial_getToolCraftingMaterial($this.$toolMaterial) == $par2ItemStack.$itemID ? 1 : 0; }, nms_ItemSpade = $rt_classWithoutFields(nms_ItemTool), nms_ItemSpade_blocksEffectiveAgainst = null, nms_ItemSpade_$callClinit = () => { nms_ItemSpade_$callClinit = $rt_eraseClinit(nms_ItemSpade); nms_ItemSpade__clinit_(); }, nms_ItemSpade_canHarvestBlock = ($this, $par1Block) => { nms_Block_$callClinit(); return $par1Block === nms_Block_snow ? 1 : $par1Block !== nms_Block_blockSnow ? 0 : 1; }, nms_ItemSpade__clinit_ = () => { let var$1, var$2; var$1 = $rt_createArray(nms_Block, 10); var$2 = var$1.data; nms_Block_$callClinit(); var$2[0] = nms_Block_grass; var$2[1] = nms_Block_dirt; var$2[2] = nms_Block_sand; var$2[3] = nms_Block_gravel; var$2[4] = nms_Block_snow; var$2[5] = nms_Block_blockSnow; var$2[6] = nms_Block_blockClay; var$2[7] = nms_Block_tilledField; var$2[8] = nms_Block_slowSand; var$2[9] = nms_Block_mycelium; nms_ItemSpade_blocksEffectiveAgainst = var$1; }; function nms_EnumToolMaterial() { let a = this; jl_Enum.call(a); a.$harvestLevel = 0; a.$maxUses = 0; a.$efficiencyOnProperMaterial0 = 0.0; a.$damageVsEntity = 0.0; a.$enchantability = 0; } let nms_EnumToolMaterial_WOOD = null, nms_EnumToolMaterial_STONE = null, nms_EnumToolMaterial_IRON = null, nms_EnumToolMaterial_EMERALD = null, nms_EnumToolMaterial_GOLD = null, nms_EnumToolMaterial_$VALUES = null, nms_EnumToolMaterial_getToolCraftingMaterial = $this => { let var$1; if ($this === nms_EnumToolMaterial_WOOD) { nms_Block_$callClinit(); var$1 = nms_Block_planks.$blockID; } else if ($this === nms_EnumToolMaterial_STONE) { nms_Block_$callClinit(); var$1 = nms_Block_cobblestone.$blockID; } else if ($this === nms_EnumToolMaterial_GOLD) { nms_Item_$callClinit(); var$1 = nms_Item_ingotGold.$itemID0; } else if ($this === nms_EnumToolMaterial_IRON) { nms_Item_$callClinit(); var$1 = nms_Item_ingotIron.$itemID0; } else if ($this !== nms_EnumToolMaterial_EMERALD) var$1 = 0; else { nms_Item_$callClinit(); var$1 = nms_Item_diamond.$itemID0; } return var$1; }, nms_EnumToolMaterial__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; var$1 = new nms_EnumToolMaterial; var$1.$name0 = $rt_s(2811); var$1.$ordinal = 0; var$1.$harvestLevel = 0; var$1.$maxUses = 59; var$1.$efficiencyOnProperMaterial0 = 2.0; var$1.$damageVsEntity = 0.0; var$1.$enchantability = 15; nms_EnumToolMaterial_WOOD = var$1; var$2 = new nms_EnumToolMaterial; var$2.$name0 = $rt_s(2812); var$2.$ordinal = 1; var$2.$harvestLevel = 1; var$2.$maxUses = 131; var$2.$efficiencyOnProperMaterial0 = 4.0; var$2.$damageVsEntity = 1.0; var$2.$enchantability = 5; nms_EnumToolMaterial_STONE = var$2; var$3 = new nms_EnumToolMaterial; var$3.$name0 = $rt_s(2813); var$3.$ordinal = 2; var$3.$harvestLevel = 2; var$3.$maxUses = 250; var$3.$efficiencyOnProperMaterial0 = 6.0; var$3.$damageVsEntity = 2.0; var$3.$enchantability = 14; nms_EnumToolMaterial_IRON = var$3; var$4 = new nms_EnumToolMaterial; var$4.$name0 = $rt_s(2814); var$4.$ordinal = 3; var$4.$harvestLevel = 3; var$4.$maxUses = 1561; var$4.$efficiencyOnProperMaterial0 = 8.0; var$4.$damageVsEntity = 3.0; var$4.$enchantability = 10; nms_EnumToolMaterial_EMERALD = var$4; var$5 = new nms_EnumToolMaterial; var$5.$name0 = $rt_s(1647); var$5.$ordinal = 4; var$5.$harvestLevel = 0; var$5.$maxUses = 32; var$5.$efficiencyOnProperMaterial0 = 12.0; var$5.$damageVsEntity = 0.0; var$5.$enchantability = 22; nms_EnumToolMaterial_GOLD = var$5; nms_EnumToolMaterial_$VALUES = $rt_wrapArray(nms_EnumToolMaterial, [var$1, var$2, var$3, var$4, var$5]); }, nms_ItemPickaxe = $rt_classWithoutFields(nms_ItemTool), nms_ItemPickaxe_blocksEffectiveAgainst = null, nms_ItemPickaxe_$callClinit = () => { nms_ItemPickaxe_$callClinit = $rt_eraseClinit(nms_ItemPickaxe); nms_ItemPickaxe__clinit_(); }, nms_ItemPickaxe_canHarvestBlock = ($this, $par1Block) => { let var$2; nms_Block_$callClinit(); if ($par1Block === nms_Block_obsidian) var$2 = $this.$toolMaterial.$harvestLevel != 3 ? 0 : 1; else if ($par1Block !== nms_Block_blockDiamond && $par1Block !== nms_Block_oreDiamond) { if ($par1Block !== nms_Block_oreEmerald && $par1Block !== nms_Block_blockEmerald) { if ($par1Block !== nms_Block_blockGold && $par1Block !== nms_Block_oreGold) { if ($par1Block !== nms_Block_blockIron && $par1Block !== nms_Block_oreIron) { if ($par1Block !== nms_Block_blockLapis && $par1Block !== nms_Block_oreLapis) { if ($par1Block !== nms_Block_oreRedstone && $par1Block !== nms_Block_oreRedstoneGlowing) { $par1Block = $par1Block.$blockMaterial; nms_Material_$callClinit(); var$2 = $par1Block === nms_Material_rock ? 1 : $par1Block === nms_Material_iron ? 1 : $par1Block !== nms_Material_anvil ? 0 : 1; } else var$2 = $this.$toolMaterial.$harvestLevel < 2 ? 0 : 1; } else var$2 = $this.$toolMaterial.$harvestLevel < 1 ? 0 : 1; } else var$2 = $this.$toolMaterial.$harvestLevel < 1 ? 0 : 1; } else var$2 = $this.$toolMaterial.$harvestLevel < 2 ? 0 : 1; } else var$2 = $this.$toolMaterial.$harvestLevel < 2 ? 0 : 1; } else var$2 = $this.$toolMaterial.$harvestLevel < 2 ? 0 : 1; return var$2; }, nms_ItemPickaxe_getStrVsBlock = ($this, $par1ItemStack, $par2Block) => { let var$3, var$4, var$5; a: { if ($par2Block !== null) { $par1ItemStack = $par2Block.$blockMaterial; nms_Material_$callClinit(); if (!($par1ItemStack !== nms_Material_iron && $par1ItemStack !== nms_Material_anvil && $par1ItemStack !== nms_Material_rock)) { var$3 = $this.$efficiencyOnProperMaterial; break a; } } var$4 = 0; b: { while (true) { var$5 = $this.$blocksEffectiveAgainst.data; if (var$4 >= var$5.length) break; if (var$5[var$4] === $par2Block) { var$3 = $this.$efficiencyOnProperMaterial; break b; } var$4 = var$4 + 1 | 0; } var$3 = 1.0; } } return var$3; }, nms_ItemPickaxe__clinit_ = () => { let var$1, var$2; var$1 = $rt_createArray(nms_Block, 23); var$2 = var$1.data; nms_Block_$callClinit(); var$2[0] = nms_Block_cobblestone; var$2[1] = nms_Block_stoneDoubleSlab; var$2[2] = nms_Block_stoneSingleSlab; var$2[3] = nms_Block_stone; var$2[4] = nms_Block_sandStone; var$2[5] = nms_Block_cobblestoneMossy; var$2[6] = nms_Block_oreIron; var$2[7] = nms_Block_blockIron; var$2[8] = nms_Block_oreCoal; var$2[9] = nms_Block_blockGold; var$2[10] = nms_Block_oreGold; var$2[11] = nms_Block_oreDiamond; var$2[12] = nms_Block_blockDiamond; var$2[13] = nms_Block_ice; var$2[14] = nms_Block_netherrack; var$2[15] = nms_Block_oreLapis; var$2[16] = nms_Block_blockLapis; var$2[17] = nms_Block_oreRedstone; var$2[18] = nms_Block_oreRedstoneGlowing; var$2[19] = nms_Block_rail; var$2[20] = nms_Block_railDetector; var$2[21] = nms_Block_railPowered; var$2[22] = nms_Block_railActivator; nms_ItemPickaxe_blocksEffectiveAgainst = var$1; }, nms_ItemAxe = $rt_classWithoutFields(nms_ItemTool), nms_ItemAxe_blocksEffectiveAgainst = null, nms_ItemAxe_$callClinit = () => { nms_ItemAxe_$callClinit = $rt_eraseClinit(nms_ItemAxe); nms_ItemAxe__clinit_(); }, nms_ItemAxe_getStrVsBlock = ($this, $par1ItemStack, $par2Block) => { let var$3, var$4, var$5; a: { if ($par2Block !== null) { $par1ItemStack = $par2Block.$blockMaterial; nms_Material_$callClinit(); if (!($par1ItemStack !== nms_Material_wood && $par1ItemStack !== nms_Material_plants && $par1ItemStack !== nms_Material_vine)) { var$3 = $this.$efficiencyOnProperMaterial; break a; } } var$4 = 0; b: { while (true) { var$5 = $this.$blocksEffectiveAgainst.data; if (var$4 >= var$5.length) break; if (var$5[var$4] === $par2Block) { var$3 = $this.$efficiencyOnProperMaterial; break b; } var$4 = var$4 + 1 | 0; } var$3 = 1.0; } } return var$3; }, nms_ItemAxe__clinit_ = () => { let var$1, var$2; var$1 = $rt_createArray(nms_Block, 8); var$2 = var$1.data; nms_Block_$callClinit(); var$2[0] = nms_Block_planks; var$2[1] = nms_Block_bookShelf; var$2[2] = nms_Block_wood; var$2[3] = nms_Block_chest; var$2[4] = nms_Block_stoneDoubleSlab; var$2[5] = nms_Block_stoneSingleSlab; var$2[6] = nms_Block_pumpkin; var$2[7] = nms_Block_pumpkinLantern; nms_ItemAxe_blocksEffectiveAgainst = var$1; }, nms_ItemFlintAndSteel = $rt_classWithoutFields(nms_Item), nms_ItemFlintAndSteel_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let var$11, $var11, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();var$11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par7) $par5 = $par5 + (-1) | 0; if ($par7 == 1) $par5 = $par5 + 1 | 0; if ($par7 == 2) $par6 = $par6 + (-1) | 0; if ($par7 == 3) $par6 = $par6 + 1 | 0; if ($par7 == 4) $par4 = $par4 + (-1) | 0; if ($par7 == 5) $par4 = $par4 + 1 | 0; if ($par2EntityPlayer.$capabilities.$allowEdit) $par7 = 1; else if ($par1ItemStack === null) $par7 = 0; else { nms_Item_$callClinit(); $par7 = 1; } if (!$par7) return 0; if (nms_World_getBlockId($par3World, $par4, $par5, $par6)) { $par4 = 1; $ptr = 1; continue main; } nms_Item_$callClinit(); var$11 = nms_Item_itemRand; var$11.$seed = Long_and(Long_add(Long_mul(var$11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par7 = 0; while (true) { $var11 = $rt_compare($par7, $par3World.$worldAccesses.$size0); if ($var11 >= 0) { nms_Block_$callClinit(); $par7 = nms_Block_fire.$blockID; $var11 = 0; var$13 = 3; $ptr = 2; continue main; } if ($par7 < 0) break; if ($var11 >= 0) break; $par7 = $par7 + 1 | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); case 1: nms_ItemStack_damageItem($par1ItemStack, $par4, $par2EntityPlayer); if ($rt_suspending()) { break main; } return 1; case 2: nms_World_setBlock($par3World, $par4, $par5, $par6, $par7, $var11, var$13); if ($rt_suspending()) { break main; } $par4 = 1; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, var$11, $var11, var$13, $ptr); }; function nms_ItemFood() { let a = this; nms_Item.call(a); a.$itemUseDuration = 0; a.$healAmount = 0; a.$saturationModifier = 0.0; a.$isWolfsFavoriteMeat = 0; a.$alwaysEdible = 0; a.$potionId = 0; a.$potionDuration = 0; a.$potionAmplifier = 0; a.$potionEffectProbability = 0.0; } let nms_ItemFood__init_0 = ($this, $par1, $par2, $par3, $par4) => { nms_Item__init_($this, $par1); $this.$itemUseDuration = 32; $this.$healAmount = $par2; $this.$isWolfsFavoriteMeat = $par4; $this.$saturationModifier = $par3; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabFood; }, nms_ItemFood__init_ = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_ItemFood(); nms_ItemFood__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_ItemFood_onEaten = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10; $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; var$4 = $par3EntityPlayer.$foodStats; var$5 = $this.$healAmount; var$6 = $this.$saturationModifier; var$7 = var$5 + var$4.$foodLevel | 0; var$8 = 20; if (var$7 < var$8) var$8 = var$7; var$4.$foodLevel = var$8; var$4.$foodSaturationLevel = jl_Math_minImpl(var$4.$foodSaturationLevel + var$5 * var$6 * 2.0, var$8); var$9 = $par2World.$rand0; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; nms_World_playSoundAtEntity($par2World, $par3EntityPlayer, $rt_s(2815), 0.5, Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 0.10000000149011612 + 0.8999999761581421); $this.$onFoodEaten($par1ItemStack, $par2World, $par3EntityPlayer); return $par1ItemStack; }, nms_ItemFood_onFoodEaten = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, var$5, var$6, var$7; if (!$par2World.$isRemote) { var$4 = $this.$potionId; if (var$4 > 0) { $par1ItemStack = $par2World.$rand0; var$5 = Long_and(Long_add(Long_mul($par1ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1ItemStack.$seed = var$5; if (Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 < $this.$potionEffectProbability) { $par1ItemStack = new nms_PotionEffect; var$6 = $this.$potionDuration * 20 | 0; var$7 = $this.$potionAmplifier; $par1ItemStack.$potionID = var$4; $par1ItemStack.$duration = var$6; $par1ItemStack.$amplifier = var$7; $par1ItemStack.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($par3EntityPlayer, $par1ItemStack); } } } }, nms_ItemFood_getMaxItemUseDuration = ($this, $par1ItemStack) => { return 32; }, nms_ItemFood_getItemUseAction = ($this, $par1ItemStack) => { return nms_EnumAction_eat; }, nms_ItemFood_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4; var$4 = !(!$this.$alwaysEdible && !($par3EntityPlayer.$foodStats.$foodLevel >= 20 ? 0 : 1)) && !$par3EntityPlayer.$capabilities.$disableDamage ? 1 : 0; if (var$4 && $par1ItemStack !== $par3EntityPlayer.$itemInUse) { $par3EntityPlayer.$itemInUse = $par1ItemStack; $par3EntityPlayer.$itemInUseCount = 32; if (!$par3EntityPlayer.$worldObj.$isRemote) nms_Entity_setFlag($par3EntityPlayer, 4, 1); } return $par1ItemStack; }, nms_ItemFood_getHealAmount = $this => { return $this.$healAmount; }, nms_ItemFood_getSaturationModifier = $this => { return $this.$saturationModifier; }, nms_ItemFood_isWolfsFavoriteMeat = $this => { return $this.$isWolfsFavoriteMeat; }, nms_ItemFood_setPotionEffect = ($this, $par1, $par2, $par3, $par4) => { $this.$potionId = $par1; $this.$potionDuration = $par2; $this.$potionAmplifier = $par3; $this.$potionEffectProbability = $par4; return $this; }, nms_ItemFood_setAlwaysEdible = $this => { $this.$alwaysEdible = 1; return $this; }; function nms_ItemBow() { nms_Item.call(this); this.$iconArray4 = null; } let nms_ItemBow_bowPullIconNameArray = null, nms_ItemBow_onPlayerStoppedUsing = ($this, $par1ItemStack, $par2World, $par3EntityPlayer, $par4) => { let $var5, var$6, $var7, var$8, $var8, var$10, var$11, $var10, var$13, var$14, $var9, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var9 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var10 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$par3EntityPlayer.$capabilities.$isCreativeMode) { nms_Enchantment_$callClinit(); if (nms_EnchantmentHelper_getEnchantmentLevel(nms_Enchantment_infinity.$effectId, $par1ItemStack) <= 0) { $var5 = 0; break a; } } $var5 = 1; } if (!$var5) { var$6 = $par3EntityPlayer.$inventory; nms_Item_$callClinit(); if (!(nms_InventoryPlayer_getInventorySlotContainItem(var$6, nms_Item_arrow.$itemID0) < 0 ? 0 : 1)) return; } $var7 = (72000 - $par4 | 0) / 20.0; var$8 = ($var7 * $var7 + $var7 * 2.0) / 3.0; if (var$8 < 0.1) return; if (var$8 > 1.0) var$8 = 1.0; $var8 = new nms_EntityArrow; var$10 = var$8 * 2.0; $ptr = 1; case 1: nms_EntityArrow__init_0($var8, $par2World, $par3EntityPlayer, var$10); if ($rt_suspending()) { break main; } if (var$8 === 1.0) { var$6 = $var8.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[144]; if (var$11 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { $var10 = var$11.$value0; var$13 = var$6.$elementData.data; var$6 = var$13[$var10 & (var$13.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == $var10) { var$14 = var$6.$key; if (var$11 !== var$14 && !(var$11 === var$14 ? 1 : var$14 instanceof jl_Integer && var$14.$value0 == $var10 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } $var9 = (var$6 === null ? null : var$6.$value1).$watchedObject.$value2; var$6 = $var8.$dataWatcher; $par4 = ($var9 | 1) << 24 >> 24; var$16 = jl_Byte_byteCache.data[$par4 + 128 | 0]; var$14 = var$6.$watchedObjects; jl_Integer_ensureIntegerCache(); var$17 = jl_Integer_integerCache.data[144]; if (var$17 === null) { var$14 = var$14.$elementData.data[0]; while (var$14 !== null && var$14.$key !== null) { var$14 = var$14.$next3; } } else { $var10 = var$17.$value0; var$13 = var$14.$elementData.data; var$14 = var$13[$var10 & (var$13.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == $var10) { var$11 = var$14.$key; if (var$17 !== var$11 && !(var$17 === var$11 ? 1 : var$11 instanceof jl_Integer && var$11.$value0 == $var10 ? 1 : 0) ? 0 : 1) break; } var$14 = var$14.$next3; } } var$11 = var$14 === null ? null : var$14.$value1; var$14 = var$11.$watchedObject; if (!(var$14 instanceof jl_Byte && var$14.$value2 == var$16.$value2 ? 1 : 0)) { var$11.$watchedObject = var$16; var$11.$watched = 1; var$6.$objectChanged = 1; } } nms_Enchantment_$callClinit(); $var9 = nms_EnchantmentHelper_getEnchantmentLevel(nms_Enchantment_power.$effectId, $par1ItemStack); if ($var9 > 0) $var8.$damage = $var8.$damage + $var9 * 0.5 + 0.5; $var10 = nms_EnchantmentHelper_getEnchantmentLevel(nms_Enchantment_punch.$effectId, $par1ItemStack); if ($var10 > 0) $var8.$knockbackStrength = $var10; if (nms_EnchantmentHelper_getEnchantmentLevel(nms_Enchantment_flame.$effectId, $par1ItemStack) > 0 && $var8.$fire < 2000) $var8.$fire = 2000; $par4 = 1; $ptr = 2; case 2: nms_ItemStack_damageItem($par1ItemStack, $par4, $par3EntityPlayer); if ($rt_suspending()) { break main; } nms_Item_$callClinit(); var$6 = nms_Item_itemRand; var$18 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$18; nms_World_playSoundAtEntity($par2World, $par3EntityPlayer, $rt_s(1501), 1.0, 1.0 / (Long_lo(Long_shru(var$18, 24)) / 1.6777216E7 * 0.4000000059604645 + 1.2000000476837158) + var$8 * 0.5); if ($var5) $var8.$canBePickedUp = 2; else { $par1ItemStack = $par3EntityPlayer.$inventory; $var9 = nms_InventoryPlayer_getInventorySlotContainItem($par1ItemStack, nms_Item_arrow.$itemID0); if ($var9 >= 0) { var$13 = $par1ItemStack.$mainInventory.data; $par1ItemStack = var$13[$var9]; $par4 = $par1ItemStack.$stackSize - 1 | 0; $par1ItemStack.$stackSize = $par4; if ($par4 <= 0) var$13[$var9] = null; } } if (!$par2World.$isRemote) { $par4 = nms_World_spawnEntityInWorld($par2World, $var8); $par1ItemStack = $par2World.$entityList; ju_HashMap_putImpl($par1ItemStack.$backingMap, $var8, $par1ItemStack); if (!$par4) { $par1ItemStack = $par2World.$entitySpawnQueue; ju_HashMap_putImpl($par1ItemStack.$backingMap, $var8, $par1ItemStack); } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, $par4, $var5, var$6, $var7, var$8, $var8, var$10, var$11, $var10, var$13, var$14, $var9, var$16, var$17, var$18, $ptr); }, nms_ItemBow_onEaten = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { return $par1ItemStack; }, nms_ItemBow_getMaxItemUseDuration = ($this, $par1ItemStack) => { return 72000; }, nms_ItemBow_getItemUseAction = ($this, $par1ItemStack) => { return nms_EnumAction_bow; }, nms_ItemBow_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { a: { if (!$par3EntityPlayer.$capabilities.$isCreativeMode) { $par2World = $par3EntityPlayer.$inventory; nms_Item_$callClinit(); if (!(nms_InventoryPlayer_getInventorySlotContainItem($par2World, nms_Item_arrow.$itemID0) < 0 ? 0 : 1)) break a; } if ($par1ItemStack !== $par3EntityPlayer.$itemInUse) { $par3EntityPlayer.$itemInUse = $par1ItemStack; $par3EntityPlayer.$itemInUseCount = 72000; if (!$par3EntityPlayer.$worldObj.$isRemote) nms_Entity_setFlag($par3EntityPlayer, 4, 1); } } return $par1ItemStack; }, nms_ItemBow_getItemEnchantability = $this => { return 1; }, nms_ItemBow_registerIcons = ($this, $par1IconRegister) => { let var$2, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; var$2 = $this.$iconString; if (var$2 === null) { $var2 = $this.$itemID0; var$2 = $this.$unlocalizedName0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $var2, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; $var2 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $var2, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2816)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$itemIcon = nms_TextureMap_registerIcon($par1IconRegister, var$2, 1); $this.$iconArray4 = $rt_createArray(nms_Icon, nms_ItemBow_bowPullIconNameArray.data.length); $var2 = 0; a: { b: { while (true) { var$9 = $this.$iconArray4.data; if ($var2 >= var$9.length) break; var$4 = $this.$iconString; if (var$4 === null) { var$5 = $this.$itemID0; var$4 = $this.$unlocalizedName0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$5, 10); var$5 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$5, var$5 + 1 | 0); var$2.$buffer.data[var$5] = 95; var$5 = var$2.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$5, var$4); var$4 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; var$8 = var$2.$length0; var$10 = var$7.length; if (var$8 < 0) break b; if (var$8 > (var$10 - 0 | 0)) break b; var$4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); } var$2 = nms_ItemBow_bowPullIconNameArray.data[$var2]; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, var$4); var$8 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$8, var$8 + 1 | 0); var$11.$buffer.data[var$8] = 95; var$5 = var$11.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$11, var$5, var$2); var$4 = new jl_String; var$6 = var$11.$buffer; var$7 = var$6.data; var$8 = var$11.$length0; var$10 = var$7.length; if (var$8 < 0) break a; if (var$8 > (var$10 - 0 | 0)) break a; var$4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); var$9[$var2] = nms_TextureMap_registerIcon($par1IconRegister, var$4, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_ItemBow__clinit_ = () => { nms_ItemBow_bowPullIconNameArray = $rt_wrapArray(jl_String, [$rt_s(87), $rt_s(88), $rt_s(89)]); }; function nms_CreativeTabs() { let a = this; jl_Object.call(a); a.$tabIndex = 0; a.$tabLabel = null; a.$backgroundImageName = null; a.$hasScrollbar = 0; a.$drawTitle = 0; a.$field_111230_s = null; } let nms_CreativeTabs_creativeTabArray = null, nms_CreativeTabs_tabBlock = null, nms_CreativeTabs_tabDecorations = null, nms_CreativeTabs_tabRedstone = null, nms_CreativeTabs_tabTransport = null, nms_CreativeTabs_tabMisc = null, nms_CreativeTabs_tabAllSearch = null, nms_CreativeTabs_tabFood = null, nms_CreativeTabs_tabTools = null, nms_CreativeTabs_tabCombat = null, nms_CreativeTabs_tabBrewing = null, nms_CreativeTabs_tabMaterials = null, nms_CreativeTabs_tabInventory = null, nms_CreativeTabs_$callClinit = () => { nms_CreativeTabs_$callClinit = $rt_eraseClinit(nms_CreativeTabs); nms_CreativeTabs__clinit_(); }, nms_CreativeTabs_getTabIndex = $this => { return $this.$tabIndex; }, nms_CreativeTabs_getTabLabel = $this => { return $this.$tabLabel; }, nms_CreativeTabs_getTranslatedTabLabel = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$tabLabel; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2817)); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); var$4 = new jl_String; var$5 = var$2.$buffer; var$6 = var$5.data; var$7 = var$2.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); return var$4; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nms_CreativeTabs_getTabIconItem = $this => { nms_Item_$callClinit(); return nms_Item_itemsList.data[$this.$getTabIconItemIndex()]; }, nms_CreativeTabs_getBackgroundImageName = $this => { return $this.$backgroundImageName; }, nms_CreativeTabs_drawInForegroundOfTab = $this => { return $this.$drawTitle; }, nms_CreativeTabs_setNoTitle = $this => { $this.$drawTitle = 0; return $this; }, nms_CreativeTabs_shouldHidePlayerInventory = $this => { return $this.$hasScrollbar; }, nms_CreativeTabs_setNoScrollbar = $this => { $this.$hasScrollbar = 0; return $this; }, nms_CreativeTabs_getTabColumn = $this => { return $this.$tabIndex % 6 | 0; }, nms_CreativeTabs_isTabInFirstRow = $this => { return $this.$tabIndex >= 6 ? 0 : 1; }, nms_CreativeTabs_func_111225_m = $this => { return $this.$field_111230_s; }, nms_CreativeTabs_func_111226_a = ($this, $par1EnumEnchantmentType) => { let $var2, $var3, $var4; $var2 = $this.$field_111230_s; if ($var2 === null) return 0; $var2 = $var2.data; $var3 = $var2.length; $var4 = 0; while ($var4 < $var3) { if ($var2[$var4] === $par1EnumEnchantmentType) return 1; $var4 = $var4 + 1 | 0; } return 0; }, nms_CreativeTabs_displayAllReleventItems = ($this, $par1List) => { let $var2, $var3, $var4, $var5; nms_Item_$callClinit(); $var2 = nms_Item_itemsList.data; $var3 = $var2.length; $var4 = 0; while ($var4 < $var3) { $var5 = $var2[$var4]; if ($var5 !== null && $var5.$getCreativeTab() === $this) $var5.$getSubItems($var5.$itemID0, $this, $par1List); $var4 = $var4 + 1 | 0; } $var2 = $this.$field_111230_s; if ($var2 !== null) nms_CreativeTabs_addEnchantmentBooksToList($this, $par1List, $var2); }, nms_CreativeTabs_addEnchantmentBooksToList = ($this, $par1List, $par2ArrayOfEnumEnchantmentType) => { let $var3, $var4, $var5, $var6, var$7, $var7, $var8, var$10, var$11; nms_Enchantment_$callClinit(); $var3 = nms_Enchantment_enchantmentsList.data; $var4 = $var3.length; $var5 = 0; while ($var5 < $var4) { $var6 = $var3[$var5]; if ($var6 !== null) { var$7 = $var6.$type; if (var$7 !== null) { $var7 = 0; $var8 = 0; while (true) { var$10 = $par2ArrayOfEnumEnchantmentType.data; if ($var8 >= var$10.length) break; if ($var7) break; if (var$7 === var$10[$var8]) $var7 = 1; $var8 = $var8 + 1 | 0; } if ($var7) { nms_Item_$callClinit(); var$11 = nms_Item_enchantedBook; var$7 = new nms_EnchantmentData; $var8 = $var6.$getMaxLevel(); var$7.$itemWeight = $var6.$weight; var$7.$enchantmentobj = $var6; var$7.$enchantmentLevel = $var8; $var6 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var6.$itemID = var$11.$itemID0; $var6.$stackSize = 1; $var6.$itemDamage = 0; nms_ItemEnchantedBook_addEnchantment(var$11, $var6, var$7); ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); var$10 = $par1List.$array.data; $var8 = $par1List.$size0; $par1List.$size0 = $var8 + 1 | 0; var$10[$var8] = $var6; $par1List.$modCount = $par1List.$modCount + 1 | 0; } } } $var5 = $var5 + 1 | 0; } }, nms_CreativeTabs__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; var$1 = $rt_createArray(nms_CreativeTabs, 12); var$2 = var$1.data; nms_CreativeTabs_creativeTabArray = var$1; var$3 = new nms_CreativeTabCombat; nms_CreativeTabs_$callClinit(); var$3.$backgroundImageName = $rt_s(2818); var$3.$hasScrollbar = 1; var$3.$drawTitle = 1; var$3.$tabIndex = 0; var$3.$tabLabel = $rt_s(2819); var$2[0] = var$3; nms_CreativeTabs_tabBlock = var$3; var$4 = new nms_CreativeTabBlock; var$4.$backgroundImageName = $rt_s(2818); var$4.$hasScrollbar = 1; var$4.$drawTitle = 1; var$4.$tabIndex = 1; var$4.$tabLabel = $rt_s(2820); var$2[1] = var$4; nms_CreativeTabs_tabDecorations = var$4; var$4 = new nms_CreativeTabDeco; var$4.$backgroundImageName = $rt_s(2818); var$4.$hasScrollbar = 1; var$4.$drawTitle = 1; var$4.$tabIndex = 2; var$4.$tabLabel = $rt_s(2219); var$2[2] = var$4; nms_CreativeTabs_tabRedstone = var$4; var$4 = new nms_CreativeTabRedstone; var$4.$backgroundImageName = $rt_s(2818); var$4.$hasScrollbar = 1; var$4.$drawTitle = 1; var$4.$tabIndex = 3; var$4.$tabLabel = $rt_s(2821); var$2[3] = var$4; nms_CreativeTabs_tabTransport = var$4; var$3 = new nms_CreativeTabTransport; var$3.$backgroundImageName = $rt_s(2818); var$3.$hasScrollbar = 1; var$3.$drawTitle = 1; var$3.$tabIndex = 4; var$3.$tabLabel = $rt_s(2822); var$2[4] = var$3; var$1 = $rt_createArray(nms_EnumEnchantmentType, 1); var$1.data[0] = nms_EnumEnchantmentType_all; var$3.$field_111230_s = var$1; nms_CreativeTabs_tabMisc = var$3; var$4 = new nms_CreativeTabMisc; var$4.$backgroundImageName = $rt_s(2818); var$4.$hasScrollbar = 1; var$4.$drawTitle = 1; var$4.$tabIndex = 5; var$4.$tabLabel = $rt_s(2823); var$2[5] = var$4; var$4.$backgroundImageName = $rt_s(2824); nms_CreativeTabs_tabAllSearch = var$4; var$4 = new nms_CreativeTabSearch; var$4.$backgroundImageName = $rt_s(2818); var$4.$hasScrollbar = 1; var$4.$drawTitle = 1; var$4.$tabIndex = 6; var$4.$tabLabel = $rt_s(2825); var$2[6] = var$4; nms_CreativeTabs_tabFood = var$4; var$4 = new nms_CreativeTabFood; var$4.$backgroundImageName = $rt_s(2818); var$4.$hasScrollbar = 1; var$4.$drawTitle = 1; var$4.$tabIndex = 7; var$4.$tabLabel = $rt_s(2826); var$2[7] = var$4; var$1 = $rt_createArray(nms_EnumEnchantmentType, 1); var$1.data[0] = nms_EnumEnchantmentType_digger; var$4.$field_111230_s = var$1; nms_CreativeTabs_tabTools = var$4; var$4 = new nms_CreativeTabTools; var$4.$backgroundImageName = $rt_s(2818); var$4.$hasScrollbar = 1; var$4.$drawTitle = 1; var$4.$tabIndex = 8; var$4.$tabLabel = $rt_s(2827); var$2[8] = var$4; var$1 = $rt_createArray(nms_EnumEnchantmentType, 7); var$5 = var$1.data; var$5[0] = nms_EnumEnchantmentType_armor; var$5[1] = nms_EnumEnchantmentType_armor_feet; var$5[2] = nms_EnumEnchantmentType_armor_head; var$5[3] = nms_EnumEnchantmentType_armor_legs; var$5[4] = nms_EnumEnchantmentType_armor_torso; var$5[5] = nms_EnumEnchantmentType_bow; var$5[6] = nms_EnumEnchantmentType_weapon; var$4.$field_111230_s = var$1; nms_CreativeTabs_tabCombat = var$4; var$4 = new nms_CreativeTabBrewing; var$4.$backgroundImageName = $rt_s(2818); var$4.$hasScrollbar = 1; var$4.$drawTitle = 1; var$4.$tabIndex = 9; var$4.$tabLabel = $rt_s(2828); var$2[9] = var$4; nms_CreativeTabs_tabBrewing = var$4; var$4 = new nms_CreativeTabMaterial; var$4.$backgroundImageName = $rt_s(2818); var$4.$hasScrollbar = 1; var$4.$drawTitle = 1; var$4.$tabIndex = 10; var$4.$tabLabel = $rt_s(2829); var$2[10] = var$4; nms_CreativeTabs_tabMaterials = var$4; var$4 = new nms_CreativeTabInventory; var$4.$backgroundImageName = $rt_s(2818); var$4.$hasScrollbar = 1; var$4.$drawTitle = 1; var$4.$tabIndex = 11; var$4.$tabLabel = $rt_s(2830); var$2[11] = var$4; var$4.$backgroundImageName = $rt_s(2831); var$4.$hasScrollbar = 0; var$4.$drawTitle = 0; nms_CreativeTabs_tabInventory = var$4; }; function nms_ItemCoal() { nms_Item.call(this); this.$field_111220_a = null; } let nms_ItemCoal_getUnlocalizedName = ($this, $par1ItemStack) => { return $par1ItemStack.$itemDamage != 1 ? $rt_s(2832) : $rt_s(2833); }, nms_ItemCoal_getSubItems = ($this, $par1, $par2CreativeTabs, $par3List) => { let var$4, var$5, var$6, var$7; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$6 = var$5 + 1 | 0; $par3List.$size0 = var$6; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 1; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; }, nms_ItemCoal_getIconFromDamage = ($this, $par1) => { return $par1 == 1 ? $this.$field_111220_a : $this.$itemIcon; }, nms_ItemCoal_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$iconString; if (var$2 === null) { var$3 = $this.$itemID0; var$2 = $this.$unlocalizedName0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$4, var$4.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_StringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1IconRegister); $rt_throw($par1IconRegister); } } $this.$itemIcon = nms_TextureMap_registerIcon($par1IconRegister, var$2, 1); $this.$field_111220_a = nms_TextureMap_registerIcon($par1IconRegister, $rt_s(2834), 1); }; function nms_ItemSword() { let a = this; nms_Item.call(a); a.$weaponDamage = 0.0; a.$toolMaterial0 = null; } let nms_ItemSword_getStrVsBlock = ($this, $par1ItemStack, $par2Block) => { let var$3, $var3; var$3 = $par2Block.$blockID; nms_Block_$callClinit(); if (var$3 == nms_Block_web.$blockID) return 15.0; $var3 = $par2Block.$blockMaterial; nms_Material_$callClinit(); return $var3 !== nms_Material_plants && $var3 !== nms_Material_vine && $var3 !== nms_Material_coral && $var3 !== nms_Material_leaves && $var3 !== nms_Material_pumpkin ? 1.0 : 1.5; }, nms_ItemSword_hitEntity = ($this, $par1ItemStack, $par2EntityLivingBase, $par3EntityLivingBase) => { let var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$par3EntityLivingBase = $thread.pop();$par2EntityLivingBase = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 1; $ptr = 1; case 1: nms_ItemStack_damageItem($par1ItemStack, var$4, $par3EntityLivingBase); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityLivingBase, $par3EntityLivingBase, var$4, $ptr); }, nms_ItemSword_onBlockDestroyed = ($this, $par1ItemStack, $par2World, $par3, $par4, $par5, $par6, $par7EntityLivingBase) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par7EntityLivingBase = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Block_$callClinit(); if (nms_Block_blocksList.data[$par3].$blockHardness === 0.0) return 1; $par3 = 2; $ptr = 1; case 1: nms_ItemStack_damageItem($par1ItemStack, $par3, $par7EntityLivingBase); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3, $par4, $par5, $par6, $par7EntityLivingBase, $ptr); }, nms_ItemSword_isFull3D = $this => { return 1; }, nms_ItemSword_getItemUseAction = ($this, $par1ItemStack) => { return nms_EnumAction_block; }, nms_ItemSword_getMaxItemUseDuration = ($this, $par1ItemStack) => { return 72000; }, nms_ItemSword_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { if ($par1ItemStack !== $par3EntityPlayer.$itemInUse) { $par3EntityPlayer.$itemInUse = $par1ItemStack; $par3EntityPlayer.$itemInUseCount = 72000; if (!$par3EntityPlayer.$worldObj.$isRemote) nms_Entity_setFlag($par3EntityPlayer, 4, 1); } return $par1ItemStack; }, nms_ItemSword_canHarvestBlock = ($this, $par1Block) => { let var$2; var$2 = $par1Block.$blockID; nms_Block_$callClinit(); return var$2 != nms_Block_web.$blockID ? 0 : 1; }, nms_ItemSword_getItemEnchantability = $this => { return $this.$toolMaterial0.$enchantability; }, nms_ItemSword_getIsRepairable = ($this, $par1ItemStack, $par2ItemStack) => { return nms_EnumToolMaterial_getToolCraftingMaterial($this.$toolMaterial0) == $par2ItemStack.$itemID ? 1 : 0; }, nms_ItemSoup = $rt_classWithoutFields(nms_ItemFood), nms_ItemSoup_onEaten = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, var$5, var$6, var$7, var$8, var$9; $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; $par1ItemStack = $par3EntityPlayer.$foodStats; var$4 = $this.$healAmount; var$5 = $this.$saturationModifier; var$6 = var$4 + $par1ItemStack.$foodLevel | 0; var$7 = 20; if (var$6 < var$7) var$7 = var$6; $par1ItemStack.$foodLevel = var$7; $par1ItemStack.$foodSaturationLevel = jl_Math_minImpl($par1ItemStack.$foodSaturationLevel + var$4 * var$5 * 2.0, var$7); var$8 = $par2World.$rand0; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; nms_World_playSoundAtEntity($par2World, $par3EntityPlayer, $rt_s(2815), 0.5, Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 * 0.10000000149011612 + 0.8999999761581421); if (!$par2World.$isRemote) { var$6 = $this.$potionId; if (var$6 > 0) { $par1ItemStack = $par2World.$rand0; var$9 = Long_and(Long_add(Long_mul($par1ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1ItemStack.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < $this.$potionEffectProbability) { $par1ItemStack = new nms_PotionEffect; var$4 = $this.$potionDuration * 20 | 0; var$7 = $this.$potionAmplifier; $par1ItemStack.$potionID = var$6; $par1ItemStack.$duration = var$4; $par1ItemStack.$amplifier = var$7; $par1ItemStack.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($par3EntityPlayer, $par1ItemStack); } } } $par1ItemStack = new nms_ItemStack; nms_Item_$callClinit(); $par2World = nms_Item_bowlEmpty; nms_ItemStack_$callClinit(); $par1ItemStack.$itemID = $par2World.$itemID0; $par1ItemStack.$stackSize = 1; $par1ItemStack.$itemDamage = 0; return $par1ItemStack; }; function nms_ItemReed() { nms_Item.call(this); this.$spawnID = 0; } let nms_ItemReed__init_0 = ($this, $par1, $par2Block) => { nms_Item__init_($this, $par1); $this.$spawnID = $par2Block.$blockID; }, nms_ItemReed__init_ = (var_0, var_1) => { let var_2 = new nms_ItemReed(); nms_ItemReed__init_0(var_2, var_0, var_1); return var_2; }, nms_ItemReed_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var11, $var13, var$13, $var12, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var11 = nms_World_getBlockId($par3World, $par4, $par5, $par6); nms_Block_$callClinit(); if ($var11 == nms_Block_snow.$blockID && (nms_World_getBlockMetadata($par3World, $par4, $par5, $par6) & 7) < 1) $par7 = 1; else if ($var11 != nms_Block_vine.$blockID && $var11 != nms_Block_tallGrass.$blockID && $var11 != nms_Block_deadBush.$blockID) { if (!$par7) $par5 = $par5 + (-1) | 0; if ($par7 == 1) $par5 = $par5 + 1 | 0; if ($par7 == 2) $par6 = $par6 + (-1) | 0; if ($par7 == 3) $par6 = $par6 + 1 | 0; if ($par7 == 4) $par4 = $par4 + (-1) | 0; if ($par7 == 5) $par4 = $par4 + 1 | 0; } if ($par2EntityPlayer.$capabilities.$allowEdit) $var13 = 1; else if ($par1ItemStack === null) $var13 = 0; else { nms_Item_$callClinit(); $var13 = 1; } if (!$var13) return 0; if (!$par1ItemStack.$stackSize) return 0; $var13 = $this.$spawnID; var$13 = 0; $var12 = null; $ptr = 1; case 1: $tmp = nms_World_canPlaceEntityOnSide($par3World, $var13, $par4, $par5, $par6, var$13, $par7, $var12, $par1ItemStack); if ($rt_suspending()) { break main; } $var13 = $tmp; if (!$var13) return 1; $var12 = nms_Block_blocksList.data[$this.$spawnID]; $var13 = $var12.$onBlockPlaced($par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, 0); $par7 = $this.$spawnID; var$13 = 3; $ptr = 2; case 2: a: { $tmp = nms_World_setBlock($par3World, $par4, $par5, $par6, $par7, $var13, var$13); if ($rt_suspending()) { break main; } $par7 = $tmp; if ($par7) { $par7 = nms_World_getBlockId($par3World, $par4, $par5, $par6); var$13 = $this.$spawnID; if ($par7 == var$13) { var$15 = nms_Block_blocksList.data[var$13]; $ptr = 3; continue main; } b: { if ($var12.$stepSound.$getPlaceSound() !== null) { $par4 = 0; while (true) { $par5 = $rt_compare($par4, $par3World.$worldAccesses.$size0); if ($par5 >= 0) break b; if ($par4 < 0) break a; if ($par5 >= 0) break a; $par4 = $par4 + 1 | 0; } } } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; } return 1; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); case 3: var$15.$onBlockPlacedBy($par3World, $par4, $par5, $par6, $par2EntityPlayer, $par1ItemStack); if ($rt_suspending()) { break main; } $par2EntityPlayer = nms_Block_blocksList.data[$this.$spawnID]; $ptr = 4; case 4: $par2EntityPlayer.$onPostBlockPlaced($par3World, $par4, $par5, $par6, $var13); if ($rt_suspending()) { break main; } c: { a: { if ($var12.$stepSound.$getPlaceSound() !== null) { $par4 = 0; while (true) { $par5 = $rt_compare($par4, $par3World.$worldAccesses.$size0); if ($par5 >= 0) break a; if ($par4 < 0) break c; if ($par5 >= 0) break c; $par4 = $par4 + 1 | 0; } } } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var11, $var13, var$13, $var12, var$15, $ptr); }, nms_PotionHelper = $rt_classWithoutFields(), nms_PotionHelper_field_77924_a = null, nms_PotionHelper_sugarEffect = null, nms_PotionHelper_spiderEyeEffect = null, nms_PotionHelper_fermentedSpiderEyeEffect = null, nms_PotionHelper_speckledMelonEffect = null, nms_PotionHelper_blazePowderEffect = null, nms_PotionHelper_magmaCreamEffect = null, nms_PotionHelper_redstoneEffect = null, nms_PotionHelper_glowstoneEffect = null, nms_PotionHelper_gunpowderEffect = null, nms_PotionHelper_goldenCarrotEffect = null, nms_PotionHelper_potionRequirements = null, nms_PotionHelper_potionAmplifiers = null, nms_PotionHelper_field_77925_n = null, nms_PotionHelper_potionPrefixes = null, nms_PotionHelper_$callClinit = () => { nms_PotionHelper_$callClinit = $rt_eraseClinit(nms_PotionHelper); nms_PotionHelper__clinit_(); }, nms_PotionHelper__init_ = $this => { nms_PotionHelper_$callClinit(); }, nms_PotionHelper__init_0 = () => { let var_0 = new nms_PotionHelper(); nms_PotionHelper__init_(var_0); return var_0; }, nms_PotionHelper_calcPotionLiquidColor = $par0Collection => { let $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, var$10, var$11, var$12; nms_PotionHelper_$callClinit(); if ($par0Collection !== null && !($par0Collection.$size() ? 0 : 1)) { $var2 = 0.0; $var3 = 0.0; $var4 = 0.0; $var5 = 0.0; $var6 = $par0Collection.$iterator(); while ($var6.$hasNext()) { $var7 = $var6.$next(); nms_Potion_$callClinit(); $var8 = nms_Potion_potionTypes.data[$var7.$potionID].$liquidColor; $var9 = 0; var$10 = ($var8 >> 16 & 255) / 255.0; var$11 = ($var8 >> 8 & 255) / 255.0; var$12 = ($var8 >> 0 & 255) / 255.0; while ($var9 <= $var7.$amplifier) { $var2 = $var2 + var$10; $var3 = $var3 + var$11; $var4 = $var4 + var$12; $var5 = $var5 + 1.0; $var9 = $var9 + 1 | 0; } } return ($var2 / $var5 * 255.0 | 0) << 16 | ($var3 / $var5 * 255.0 | 0) << 8 | $var4 / $var5 * 255.0 | 0; } return 3694022; }, nms_PotionHelper_func_77915_a = ($par0, $par1) => { let var$3, var$4, var$5, var$6, var$7, var$8, $var2; nms_PotionHelper_$callClinit(); if ($par1) return nms_PotionHelper_calcPotionLiquidColor(nms_PotionHelper_getPotionEffects($par0, $par1)); var$3 = nms_PotionHelper_field_77925_n; var$4 = $rt_compare($par0, (-128)); if (var$4 >= 0 && $par0 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$par0 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $par0; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$6 = var$5.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { var$8 = var$3.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } if (!(var$3 === null ? 0 : 1)) { $var2 = nms_PotionHelper_calcPotionLiquidColor(nms_PotionHelper_getPotionEffects($par0, 0)); var$3 = nms_PotionHelper_field_77925_n; if (var$4 >= 0 && $par0 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$par0 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $par0; } if ($var2 >= (-128) && $var2 <= 127) { jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[$var2 + 128 | 0]; } else { var$8 = new jl_Integer; var$8.$value0 = $var2; } ju_HashMap_putImpl(var$3, var$5, var$8); return $var2; } var$3 = nms_PotionHelper_field_77925_n; if (var$4 >= 0 && $par0 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$par0 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $par0; } if (var$5 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $par0 = var$5.$value0; var$7 = var$3.$elementData.data; var$3 = var$7[$par0 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $par0) { var$8 = var$3.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == $par0 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } return (var$3 === null ? null : var$3.$value1).$value0; }, nms_PotionHelper_func_77904_a = ($par0, $par1, $par2, $par3, $par4, $par5, $par6) => { let $var7, var$9; nms_PotionHelper_$callClinit(); a: { $var7 = 0; if ($par0) $var7 = !(!($par6 & 1 << $par4) ? 0 : 1) ? 1 : 0; else if ($par3 == (-1)) $var7 = !(!($par6 & 1 << $par4) ? 0 : 1) ? 0 : 1; else { if (!$par3) { $par0 = 0; var$9 = $par6; while (var$9 > 0) { var$9 = var$9 & (var$9 - 1 | 0); $par0 = $par0 + 1 | 0; } if ($par0 == $par4) { $var7 = 1; break a; } } if ($par3 == 1) { $par0 = 0; var$9 = $par6; while (var$9 > 0) { var$9 = var$9 & (var$9 - 1 | 0); $par0 = $par0 + 1 | 0; } if ($par0 > $par4) { $var7 = 1; break a; } } if ($par3 == 2) { $par0 = 0; while ($par6 > 0) { $par6 = $par6 & ($par6 - 1 | 0); $par0 = $par0 + 1 | 0; } if ($par0 < $par4) $var7 = 1; } } } if ($par1) $var7 = $rt_imul($var7, $par5); if ($par2) $var7 = $var7 * (-1) | 0; return $var7; }, nms_PotionHelper_parsePotionEffects = ($par0Str, $var15, $par2, $par3) => { let $var4, $var5, $var17, $var18, $var6, $var7, $var8, $var9, $var10, $var11, $var12, $var13, $var14, $var16; nms_PotionHelper_$callClinit(); if ($var15 < $par0Str.$nativeString.length && $par2 >= 0 && $var15 < $par2) { $var4 = jl_String_indexOf($par0Str, 124, $var15); if ($var4 >= 0 && $var4 < $par2) { $var5 = nms_PotionHelper_parsePotionEffects($par0Str, $var15, $var4 - 1 | 0, $par3); if ($var5 > 0) return $var5; $var17 = nms_PotionHelper_parsePotionEffects($par0Str, $var4 + 1 | 0, $par2, $par3); if ($var17 <= 0) $var17 = 0; return $var17; } $var5 = jl_String_indexOf($par0Str, 38, $var15); if ($var5 >= 0 && $var5 < $par2) { $var17 = nms_PotionHelper_parsePotionEffects($par0Str, $var15, $var5 - 1 | 0, $par3); if ($var17 <= 0) return 0; $var18 = nms_PotionHelper_parsePotionEffects($par0Str, $var5 + 1 | 0, $par2, $par3); if ($var18 <= 0) $var18 = 0; else if ($var17 > $var18) $var18 = $var17; return $var18; } $var6 = 0; $var7 = 0; $var8 = 0; $var9 = 0; $var10 = 0; $var11 = (-1); $var12 = 0; $var13 = 0; $var14 = 0; a: { while ($var15 < $par2) { if ($var15 < 0) break a; if ($var15 >= $par0Str.$nativeString.length) break a; b: { $var16 = $par0Str.$nativeString.charCodeAt($var15); if ($var16 >= 48 && $var16 <= 57) { if ($var6) { $var13 = $var16 - 48 | 0; $var7 = 1; break b; } $var12 = ($var12 * 10 | 0) + ($var16 - 48 | 0) | 0; $var8 = 1; break b; } if ($var16 == 42) { $var6 = 1; break b; } if ($var16 == 33) { if ($var8) { $var14 = $var14 + nms_PotionHelper_func_77904_a($var9, $var7, $var10, $var11, $var12, $var13, $par3) | 0; $var10 = 0; $var6 = 0; $var7 = 0; $var8 = 0; $var13 = 0; $var12 = 0; $var11 = (-1); } $var9 = 1; break b; } if ($var16 == 45) { if ($var8) { $var14 = $var14 + nms_PotionHelper_func_77904_a($var9, $var7, $var10, $var11, $var12, $var13, $par3) | 0; $var9 = 0; $var6 = 0; $var7 = 0; $var8 = 0; $var13 = 0; $var12 = 0; $var11 = (-1); } $var10 = 1; break b; } $var5 = $rt_compare($var16, 61); if ($var5 && $var16 != 60 && $var16 != 62) { if ($var16 != 43) break b; if (!$var8) break b; $var14 = $var14 + nms_PotionHelper_func_77904_a($var9, $var7, $var10, $var11, $var12, $var13, $par3) | 0; $var9 = 0; $var10 = 0; $var6 = 0; $var7 = 0; $var8 = 0; $var13 = 0; $var12 = 0; $var11 = (-1); break b; } if ($var8) { $var14 = $var14 + nms_PotionHelper_func_77904_a($var9, $var7, $var10, $var11, $var12, $var13, $par3) | 0; $var9 = 0; $var10 = 0; $var6 = 0; $var7 = 0; $var8 = 0; $var13 = 0; $var12 = 0; $var11 = (-1); } if (!$var5) { $var11 = 0; break b; } if ($var16 == 60) { $var11 = 2; break b; } if ($var16 != 62) break b; $var11 = 1; } $var15 = $var15 + 1 | 0; } if ($var8) $var14 = $var14 + nms_PotionHelper_func_77904_a($var9, $var7, $var10, $var11, $var12, $var13, $par3) | 0; return $var14; } $par0Str = new jl_StringIndexOutOfBoundsException; $par0Str.$suppressionEnabled = 1; $par0Str.$writableStackTrace = 1; $rt_throw($par0Str); } return 0; }, nms_PotionHelper_getPotionEffects = ($par0, $par1) => { let $var2, var$4, $var4, $var5, var$7, $var6, $var7, $var9, $var10, $var11, $var3, $var8, var$15, var$16, var$17, var$18; nms_PotionHelper_$callClinit(); $var2 = null; nms_Potion_$callClinit(); var$4 = nms_Potion_potionTypes.data; $var4 = var$4.length; $var5 = 0; var$7 = $par0 & 16384; while ($var5 < $var4) { $var6 = var$4[$var5]; if ($var6 !== null && !($var6.$usable && !$par1)) { $var7 = nms_PotionHelper_potionRequirements; $var9 = $var6.$id1; if ($var9 >= (-128) && $var9 <= 127) { jl_Integer_ensureIntegerCache(); $var10 = jl_Integer_integerCache.data[$var9 + 128 | 0]; } else { $var10 = new jl_Integer; $var10.$value0 = $var9; } if ($var10 === null) { $var11 = $var7.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { $var9 = $var10.$value0; $var3 = $var7.$elementData.data; $var11 = $var3[$var9 & ($var3.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == $var9) { $var7 = $var11.$key; if ($var10 !== $var7 && !($var10 === $var7 ? 1 : $var7 instanceof jl_Integer && $var7.$value0 == $var9 ? 1 : 0) ? 0 : 1) break; } $var11 = $var11.$next3; } } $var7 = $var11 === null ? null : $var11.$value1; if ($var7 !== null) { $var8 = nms_PotionHelper_parsePotionEffects($var7, 0, $var7.$nativeString.length, $par0); if ($var8 > 0) { $var9 = 0; $var7 = nms_PotionHelper_potionAmplifiers; var$15 = $var6.$id1; if (var$15 >= (-128) && var$15 <= 127) { jl_Integer_ensureIntegerCache(); $var11 = jl_Integer_integerCache.data[var$15 + 128 | 0]; } else { $var11 = new jl_Integer; $var11.$value0 = var$15; } if ($var11 === null) { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { var$15 = $var11.$value0; $var3 = $var7.$elementData.data; $var7 = $var3[var$15 & ($var3.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$15) { $var10 = $var7.$key; if ($var11 !== $var10 && !($var11 === $var10 ? 1 : $var10 instanceof jl_Integer && $var10.$value0 == var$15 ? 1 : 0) ? 0 : 1) break; } $var7 = $var7.$next3; } } $var10 = $var7 === null ? null : $var7.$value1; if ($var10 !== null) { $var9 = nms_PotionHelper_parsePotionEffects($var10, 0, $var10.$nativeString.length, $par0); if ($var9 < 0) $var9 = 0; } if ($var6.$isInstant()) var$16 = 1; else { var$17 = ((1200 * (($var8 * 3 | 0) + (($var8 - 1 | 0) * 2 | 0) | 0) | 0) >> $var9) * $var6.$effectiveness; var$16 = Long_lo(Long_fromNumber(var$17 + jl_Math_sign(var$17) * 0.5)); if (var$7) { var$18 = var$16 * 0.75 + 0.5; var$16 = Long_lo(Long_fromNumber(var$18 + jl_Math_sign(var$18) * 0.5)); } } if ($var2 === null) { $var2 = new ju_ArrayList; $var2.$array = $rt_createArray(jl_Object, 10); } $var11 = new nms_PotionEffect; $var11.$potionID = $var6.$id1; $var11.$duration = var$16; $var11.$amplifier = $var9; $var11.$isAmbient = 0; if (var$7) $var11.$isSplashPotion = 1; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); $var3 = $var2.$array.data; $var9 = $var2.$size0; $var2.$size0 = $var9 + 1 | 0; $var3[$var9] = $var11; $var2.$modCount = $var2.$modCount + 1 | 0; } } } $var5 = $var5 + 1 | 0; } return $var2; }, nms_PotionHelper_brewBitOperations = ($par0, $par1, $par2, $par3, $par4) => { nms_PotionHelper_$callClinit(); if ($par4) { if (!(!($par0 & 1 << $par1) ? 0 : 1)) return 0; } else if ($par2) $par0 = $par0 & (1 << $par1 ^ (-1)); else if (!$par3) $par0 = $par0 | 1 << $par1; else { $par1 = 1 << $par1; $par0 = !($par0 & $par1) ? $par0 | $par1 : $par0 & ($par1 ^ (-1)); } return $par0; }, nms_PotionHelper_applyIngredient = ($par0, $par1Str) => { let $var9, $var3, $var4, $var5, $var6, $var7, $var8, $var10; nms_PotionHelper_$callClinit(); $var9 = 0; $var3 = $par1Str.$nativeString.length; $var4 = 0; $var5 = 0; $var6 = 0; $var7 = 0; $var8 = 0; a: { while ($var9 < $var3) { if ($var9 < 0) break a; if ($var9 >= $par1Str.$nativeString.length) break a; $var10 = $par1Str.$nativeString.charCodeAt($var9); if ($var10 >= 48 && $var10 <= 57) { $var8 = ($var8 * 10 | 0) + ($var10 - 48 | 0) | 0; $var4 = 1; } else if ($var10 == 33) { if ($var4) { $par0 = nms_PotionHelper_brewBitOperations($par0, $var8, $var6, $var5, $var7); $var7 = 0; $var6 = 0; $var4 = 0; $var8 = 0; } $var5 = 1; } else if ($var10 == 45) { if ($var4) { $par0 = nms_PotionHelper_brewBitOperations($par0, $var8, $var6, $var5, $var7); $var7 = 0; $var5 = 0; $var4 = 0; $var8 = 0; } $var6 = 1; } else if ($var10 == 43) { if ($var4) { $par0 = nms_PotionHelper_brewBitOperations($par0, $var8, $var6, $var5, $var7); $var7 = 0; $var5 = 0; $var6 = 0; $var4 = 0; $var8 = 0; } } else if ($var10 == 38) { if ($var4) { $par0 = nms_PotionHelper_brewBitOperations($par0, $var8, $var6, $var5, $var7); $var5 = 0; $var6 = 0; $var4 = 0; $var8 = 0; } $var7 = 1; } $var9 = $var9 + 1 | 0; } if ($var4) $par0 = nms_PotionHelper_brewBitOperations($par0, $var8, $var6, $var5, $var7); return $par0 & 32767; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); }, nms_PotionHelper_func_77908_a = ($par0, $par1, $par2, $par3, $par4, $par5) => { nms_PotionHelper_$callClinit(); return (!(!($par0 & 1 << $par1) ? 0 : 1) ? 0 : 16) | (!(!($par0 & 1 << $par2) ? 0 : 1) ? 0 : 8) | (!(!($par0 & 1 << $par3) ? 0 : 1) ? 0 : 4) | (!(!($par0 & 1 << $par4) ? 0 : 1) ? 0 : 2) | (!(!($par0 & 1 << $par5) ? 0 : 1) ? 0 : 1); }, nms_PotionHelper__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; nms_PotionHelper_field_77924_a = null; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_PotionHelper_potionRequirements = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_PotionHelper_potionAmplifiers = var$1; var$5 = nms_PotionHelper_potionRequirements; nms_Potion_$callClinit(); var$6 = nms_Potion_regeneration.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$7 = new jl_Integer; var$7.$value0 = var$6; } ju_HashMap_putImpl(var$5, var$7, $rt_s(2835)); nms_PotionHelper_sugarEffect = $rt_s(2836); var$1 = nms_PotionHelper_potionRequirements; var$6 = nms_Potion_moveSpeed.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(2837)); nms_PotionHelper_magmaCreamEffect = $rt_s(2838); var$1 = nms_PotionHelper_potionRequirements; var$6 = nms_Potion_fireResistance.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(2839)); nms_PotionHelper_speckledMelonEffect = $rt_s(2840); var$1 = nms_PotionHelper_potionRequirements; var$6 = nms_Potion_heal.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(2841)); nms_PotionHelper_spiderEyeEffect = $rt_s(2842); var$1 = nms_PotionHelper_potionRequirements; var$6 = nms_Potion_poison.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(2843)); nms_PotionHelper_fermentedSpiderEyeEffect = $rt_s(2844); var$1 = nms_PotionHelper_potionRequirements; var$6 = nms_Potion_weakness.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(2845)); var$1 = nms_PotionHelper_potionRequirements; var$6 = nms_Potion_harm.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(2846)); var$1 = nms_PotionHelper_potionRequirements; var$6 = nms_Potion_moveSlowdown.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(2847)); nms_PotionHelper_blazePowderEffect = $rt_s(2848); var$1 = nms_PotionHelper_potionRequirements; var$6 = nms_Potion_damageBoost.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(2849)); nms_PotionHelper_goldenCarrotEffect = $rt_s(2850); var$1 = nms_PotionHelper_potionRequirements; var$6 = nms_Potion_nightVision.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(2851)); var$1 = nms_PotionHelper_potionRequirements; var$6 = nms_Potion_invisibility.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(2852)); nms_PotionHelper_glowstoneEffect = $rt_s(2853); var$1 = nms_PotionHelper_potionAmplifiers; var$6 = nms_Potion_moveSpeed.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(229)); var$1 = nms_PotionHelper_potionAmplifiers; var$6 = nms_Potion_digSpeed.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(229)); var$1 = nms_PotionHelper_potionAmplifiers; var$6 = nms_Potion_damageBoost.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(229)); var$1 = nms_PotionHelper_potionAmplifiers; var$6 = nms_Potion_regeneration.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(229)); var$1 = nms_PotionHelper_potionAmplifiers; var$6 = nms_Potion_harm.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(229)); var$1 = nms_PotionHelper_potionAmplifiers; var$6 = nms_Potion_heal.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(229)); var$1 = nms_PotionHelper_potionAmplifiers; var$6 = nms_Potion_resistance.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(229)); var$1 = nms_PotionHelper_potionAmplifiers; var$6 = nms_Potion_poison.$id1; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$6; } ju_HashMap_putImpl(var$1, var$5, $rt_s(229)); nms_PotionHelper_redstoneEffect = $rt_s(2854); nms_PotionHelper_gunpowderEffect = $rt_s(2855); var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_PotionHelper_field_77925_n = var$1; nms_PotionHelper_potionPrefixes = $rt_wrapArray(jl_String, [$rt_s(2856), $rt_s(2857), $rt_s(2858), $rt_s(2859), $rt_s(2860), $rt_s(2861), $rt_s(2862), $rt_s(2863), $rt_s(2864), $rt_s(2865), $rt_s(2866), $rt_s(2867), $rt_s(2868), $rt_s(2869), $rt_s(2870), $rt_s(2871), $rt_s(2872), $rt_s(2873), $rt_s(2874), $rt_s(2875), $rt_s(2876), $rt_s(2877), $rt_s(2878), $rt_s(2879), $rt_s(2880), $rt_s(2881), $rt_s(2882), $rt_s(2883), $rt_s(2884), $rt_s(2885), $rt_s(2886), $rt_s(2887)]); }; function nms_ItemHoe() { nms_Item.call(this); this.$theToolMaterial = null; } let nms_ItemHoe_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var11, $var12, $var13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par2EntityPlayer.$capabilities.$allowEdit) $var11 = 1; else if ($par1ItemStack === null) $var11 = 0; else { nms_Item_$callClinit(); $var11 = 1; } if (!$var11) return 0; a: { $var11 = nms_World_getBlockId($par3World, $par4, $par5, $par6); $var12 = nms_World_getBlockId($par3World, $par4, $par5 + 1 | 0, $par6); if ($par7 && !$var12) { nms_Block_$callClinit(); if ($var11 == nms_Block_grass.$blockID) break a; if ($var11 == nms_Block_dirt.$blockID) break a; } return 0; } b: { $var13 = nms_Block_tilledField; if (nms_StepSound_getStepSound($var13.$stepSound) !== null) { $par7 = 0; while (true) { $var11 = $rt_compare($par7, $par3World.$worldAccesses.$size0); if ($var11 >= 0) break b; if ($par7 < 0) break; if ($var11 >= 0) break; $par7 = $par7 + 1 | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } } if ($par3World.$isRemote) return 1; $par7 = $var13.$blockID; $var11 = 0; $var12 = 3; $ptr = 1; case 1: nms_World_setBlock($par3World, $par4, $par5, $par6, $par7, $var11, $var12); if ($rt_suspending()) { break main; } $par4 = 1; $ptr = 2; case 2: nms_ItemStack_damageItem($par1ItemStack, $par4, $par2EntityPlayer); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var11, $var12, $var13, $ptr); }, nms_ItemHoe_isFull3D = $this => { return 1; }; function nms_ItemSeeds() { let a = this; nms_Item.call(a); a.$blockType0 = 0; a.$soilBlockID = 0; } let nms_ItemSeeds__init_0 = ($this, $par1, $par2, $par3) => { nms_Item__init_($this, $par1); $this.$blockType0 = $par2; $this.$soilBlockID = $par3; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; }, nms_ItemSeeds__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_ItemSeeds(); nms_ItemSeeds__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_ItemSeeds_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par7 != 1) return 0; $var11 = $par2EntityPlayer.$capabilities.$allowEdit; if ($var11) $par7 = 1; else if ($par1ItemStack === null) $par7 = 0; else { nms_Item_$callClinit(); $par7 = 1; } if ($par7) { $par7 = $par5 + 1 | 0; if ($var11) $var11 = 1; else if ($par1ItemStack === null) $var11 = 0; else { nms_Item_$callClinit(); $var11 = 1; } if ($var11) { if (nms_World_getBlockId($par3World, $par4, $par5, $par6) == $this.$soilBlockID && (nms_World_getBlockId($par3World, $par4, $par7, $par6) ? 0 : 1)) { $par5 = $this.$blockType0; $var11 = 0; var$12 = 3; $ptr = 1; continue main; } return 0; } } return 0; case 1: nms_World_setBlock($par3World, $par4, $par7, $par6, $par5, $var11, var$12); if ($rt_suspending()) { break main; } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var11, var$12, $ptr); }; function nms_ItemArmor() { let a = this; nms_Item.call(a); a.$armorType = 0; a.$damageReduceAmount = 0; a.$renderIndex = 0; a.$material = null; a.$field_94605_cw = null; a.$field_94604_cx = null; } let nms_ItemArmor_maxDamageArray = null, nms_ItemArmor_field_94606_cu = null, nms_ItemArmor_field_94603_a = null, nms_ItemArmor_field_96605_cw = null, nms_ItemArmor__init_0 = ($this, $par1, $par2EnumArmorMaterial, $par3, $par4) => { let var$5; nms_Item__init_($this, $par1); $this.$material = $par2EnumArmorMaterial; $this.$armorType = $par4; $this.$renderIndex = $par3; $this.$damageReduceAmount = $par2EnumArmorMaterial.$damageReductionAmountArray.data[$par4]; $this.$maxDamage = $rt_imul(nms_ItemArmor_maxDamageArray.data[$par4], $par2EnumArmorMaterial.$maxDamageFactor); $this.$maxStackSize = 1; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabCombat; $par2EnumArmorMaterial = nms_BlockDispenser_dispenseBehaviorRegistry; var$5 = nms_ItemArmor_field_96605_cw; ju_HashMap_putImpl($par2EnumArmorMaterial.$registryObjects, $this, var$5); }, nms_ItemArmor__init_ = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_ItemArmor(); nms_ItemArmor__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_ItemArmor_getColorFromItemStack = ($this, $par1ItemStack, $par2) => { let $var3; if ($par2 > 0) return 16777215; $var3 = nms_ItemArmor_getColor($this, $par1ItemStack); if ($var3 < 0) $var3 = 16777215; return $var3; }, nms_ItemArmor_requiresMultipleRenderPasses = $this => { return $this.$material !== nms_EnumArmorMaterial_CLOTH ? 0 : 1; }, nms_ItemArmor_getItemEnchantability = $this => { return $this.$material.$enchantability0; }, nms_ItemArmor_getColor = ($this, $par1ItemStack) => { let $var2, $var3, var$4, var$5, var$6, var$7, var$8; if ($this.$material !== nms_EnumArmorMaterial_CLOTH) return (-1); $var2 = $par1ItemStack.$stackTagCompound; if ($var2 === null) return 10511680; a: { $var3 = $var2.$tagMap; if (!$rt_s(1525).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(1525).$hashCode1; var$6 = $var3.$elementData.data; $var3 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$5) { b: { var$7 = $var3.$key; if ($rt_s(1525) !== var$7) { if ($rt_s(1525) === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(1525).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) { $var3 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $var3.$name = $rt_s(1525); else $var3.$name = $rt_s(18); $par1ItemStack = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); $par1ItemStack.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$8.data; $par1ItemStack.$elementData = var$8; $par1ItemStack.$loadFactor = 0.75; $par1ItemStack.$threshold = var$6.length * 0.75 | 0; $var3.$tagMap = $par1ItemStack; } else { $var3 = $var2.$tagMap; if ($rt_s(1525) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { c: { if (!$rt_s(1525).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(1525).$hashCode1; var$6 = $var3.$elementData.data; $var3 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$5) { d: { var$7 = $var3.$key; if ($rt_s(1525) !== var$7) { if ($rt_s(1525) === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(1525).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; } if ($var3 === null) var$4 = 10511680; else { e: { var$7 = $var3.$tagMap; if (!$rt_s(2506).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2506).$nativeString.length) break e; $rt_s(2506).$hashCode1 = (31 * $rt_s(2506).$hashCode1 | 0) + $rt_s(2506).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(2506).$hashCode1; var$6 = var$7.$elementData.data; var$7 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$5) { f: { $var2 = var$7.$key; if ($rt_s(2506) !== $var2) { if ($rt_s(2506) === $var2) var$4 = 1; else if (!($var2 instanceof jl_String)) var$4 = 0; else { $var2 = $var2; var$4 = $rt_s(2506).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break f; } } var$4 = 1; } if (var$4) break; } var$7 = var$7.$next3; } if (!(var$7 === null ? 0 : 1)) var$4 = 10511680; else { g: { var$7 = $var3.$tagMap; if (!$rt_s(2506).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2506).$nativeString.length) break g; $rt_s(2506).$hashCode1 = (31 * $rt_s(2506).$hashCode1 | 0) + $rt_s(2506).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(2506).$hashCode1; var$6 = var$7.$elementData.data; var$7 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$5) { h: { $var2 = var$7.$key; if ($rt_s(2506) !== $var2) { if ($rt_s(2506) === $var2) var$4 = 1; else if (!($var2 instanceof jl_String)) var$4 = 0; else { $var2 = $var2; var$4 = $rt_s(2506).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break h; } } var$4 = 1; } if (var$4) break; } var$7 = var$7.$next3; } if (!(var$7 === null ? 0 : 1)) var$4 = 0; else { $var3 = $var3.$tagMap; if ($rt_s(2506) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { i: { if (!$rt_s(2506).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2506).$nativeString.length) break i; $rt_s(2506).$hashCode1 = (31 * $rt_s(2506).$hashCode1 | 0) + $rt_s(2506).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(2506).$hashCode1; var$6 = $var3.$elementData.data; $var3 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$5) { j: { var$7 = $var3.$key; if ($rt_s(2506) !== var$7) { if ($rt_s(2506) === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(2506).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break j; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } } var$4 = ($var3 === null ? null : $var3.$value1).$data0; } } } return var$4; }, nms_ItemArmor_getIconFromDamageForRenderPass = ($this, $par1, $par2) => { return $par2 == 1 ? $this.$field_94605_cw : $this.$itemIcon; }, nms_ItemArmor_func_82813_b = ($this, $par1ItemStack, $par2) => { let $var3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; if ($this.$material !== nms_EnumArmorMaterial_CLOTH) { $par1ItemStack = new jl_UnsupportedOperationException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $par1ItemStack.$message = $rt_s(2888); $rt_throw($par1ItemStack); } $var3 = $par1ItemStack.$stackTagCompound; if ($var3 === null) { $var3 = new nms_NBTTagCompound; $var3.$name = $rt_s(18); $var4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); $var4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; $var4.$elementData = var$6; $var4.$loadFactor = 0.75; $var4.$threshold = var$7.length * 0.75 | 0; $var3.$tagMap = $var4; $par1ItemStack.$stackTagCompound = $var3; } a: { $var4 = $var3.$tagMap; if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$7 = $var4.$elementData.data; $var4 = var$7[var$9 & (var$7.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$9) { b: { var$10 = $var4.$key; if ($rt_s(1525) !== var$10) { if ($rt_s(1525) === var$10) var$8 = 1; else if (!(var$10 instanceof jl_String)) var$8 = 0; else { var$10 = var$10; var$8 = $rt_s(1525).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) { $var4 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $var4.$name = $rt_s(1525); else $var4.$name = $rt_s(18); $par1ItemStack = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); $par1ItemStack.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$7 = var$6.data; $par1ItemStack.$elementData = var$6; $par1ItemStack.$loadFactor = 0.75; $par1ItemStack.$threshold = var$7.length * 0.75 | 0; $var4.$tagMap = $par1ItemStack; } else { $var4 = $var3.$tagMap; if ($rt_s(1525) === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { c: { if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$7 = $var4.$elementData.data; $var4 = var$7[var$9 & (var$7.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$9) { d: { var$10 = $var4.$key; if ($rt_s(1525) !== var$10) { if ($rt_s(1525) === var$10) var$8 = 1; else if (!(var$10 instanceof jl_String)) var$8 = 0; else { var$10 = var$10; var$8 = $rt_s(1525).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break d; } } var$8 = 1; } if (var$8) break; } $var4 = $var4.$next3; } } $var4 = $var4 === null ? null : $var4.$value1; } e: { var$10 = $var3.$tagMap; if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$7 = var$10.$elementData.data; var$10 = var$7[var$9 & (var$7.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$9) { f: { var$11 = var$10.$key; if ($rt_s(1525) !== var$11) { if ($rt_s(1525) === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $rt_s(1525).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break f; } } var$8 = 1; } if (var$8) break; } var$10 = var$10.$next3; } if (!(var$10 === null ? 0 : 1)) { $var3 = $var3.$tagMap; $var4.$name = $rt_s(1525); ju_HashMap_putImpl($var3, $rt_s(1525), $var4); } $var4 = $var4.$tagMap; $var3 = new nms_NBTTagInt; $var3.$name = $rt_s(2506); $var3.$data0 = $par2; ju_HashMap_putImpl($var4, $rt_s(2506), $var3); }, nms_ItemArmor_getIsRepairable = ($this, $par1ItemStack, $par2ItemStack) => { return nms_EnumArmorMaterial_getArmorCraftingMaterial($this.$material) == $par2ItemStack.$itemID ? 1 : 0; }, nms_ItemArmor_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$iconString; if (var$2 === null) { var$3 = $this.$itemID0; var$2 = $this.$unlocalizedName0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$4, var$4.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$3 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$3, var$3 + 1 | 0); var$4.$buffer.data[var$3] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_StringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; var$7 = var$4.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1IconRegister); $rt_throw($par1IconRegister); } } $this.$itemIcon = nms_TextureMap_registerIcon($par1IconRegister, var$2, 1); if ($this.$material === nms_EnumArmorMaterial_CLOTH) $this.$field_94605_cw = nms_TextureMap_registerIcon($par1IconRegister, nms_ItemArmor_field_94606_cu.data[$this.$armorType], 1); $this.$field_94604_cx = nms_TextureMap_registerIcon($par1IconRegister, nms_ItemArmor_field_94603_a.data[$this.$armorType], 1); }, nms_ItemArmor_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; $var4 = nms_EntityLiving_getArmorPosition($par1ItemStack) - 1 | 0; if ($par3EntityPlayer.$inventory.$armorInventory.data[$var4] === null) { var$5 = new nms_ItemStack; var$6 = $par1ItemStack.$itemID; var$7 = $par1ItemStack.$stackSize; var$8 = $par1ItemStack.$itemDamage; nms_ItemStack_$callClinit(); var$5.$itemID = var$6; var$5.$stackSize = var$7; var$5.$itemDamage = var$8; if (var$8 < 0) var$5.$itemDamage = 0; var$9 = $par1ItemStack.$stackTagCompound; if (var$9 !== null) { var$10 = new nms_NBTTagCompound; $par2World = var$9.$name; if ($par2World === null) $par2World = $rt_s(18); var$10.$name = $par2World; $par2World = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); $par2World.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$12 = var$11.data; $par2World.$elementData = var$11; $par2World.$loadFactor = 0.75; $par2World.$threshold = var$12.length * 0.75 | 0; var$10.$tagMap = $par2World; $par2World = var$9.$tagMap; if ($par2World.$cachedKeySet === null) { var$13 = new ju_HashMap$1; var$13.$this$0 = $par2World; $par2World.$cachedKeySet = var$13; } var$14 = $par2World.$cachedKeySet.$iterator(); while (var$14.$hasNext()) { $par2World = var$14.$next(); var$13 = var$9.$tagMap; if ($par2World === null) { var$15 = var$13.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { a: { if (!$par2World.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $par2World.$nativeString.length) break a; $par2World.$hashCode1 = (31 * $par2World.$hashCode1 | 0) + $par2World.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$8 = $par2World.$hashCode1; var$12 = var$13.$elementData.data; var$15 = var$12[var$8 & (var$12.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$8) { b: { var$13 = var$15.$key; if ($par2World !== var$13) { if ($par2World === var$13) var$6 = 1; else if (!(var$13 instanceof jl_String)) var$6 = 0; else { var$13 = var$13; var$6 = $par2World.$nativeString !== var$13.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$15 = var$15.$next3; } } var$13 = var$15 === null ? null : var$15.$value1; var$13 = var$13.$copy(); var$15 = var$10.$tagMap; if ($par2World !== null) var$13.$name = $par2World; else var$13.$name = $rt_s(18); ju_HashMap_putImpl(var$15, $par2World, var$13); } var$5.$stackTagCompound = var$10; } $par3EntityPlayer.$inventory.$armorInventory.data[$var4] = var$5; $par1ItemStack.$stackSize = 0; } return $par1ItemStack; }, nms_ItemArmor__clinit_ = () => { nms_ItemArmor_maxDamageArray = $rt_createIntArrayFromData([11, 16, 15, 13]); nms_ItemArmor_field_94606_cu = $rt_wrapArray(jl_String, [$rt_s(2889), $rt_s(2890), $rt_s(2891), $rt_s(2892)]); nms_ItemArmor_field_94603_a = $rt_wrapArray(jl_String, [$rt_s(2893), $rt_s(2894), $rt_s(2895), $rt_s(2896)]); nms_ItemArmor_field_96605_cw = new nms_BehaviorDispenseArmor; }; function nms_EnumArmorMaterial() { let a = this; jl_Enum.call(a); a.$maxDamageFactor = 0; a.$damageReductionAmountArray = null; a.$enchantability0 = 0; } let nms_EnumArmorMaterial_CLOTH = null, nms_EnumArmorMaterial_CHAIN = null, nms_EnumArmorMaterial_IRON = null, nms_EnumArmorMaterial_GOLD = null, nms_EnumArmorMaterial_DIAMOND = null, nms_EnumArmorMaterial_$VALUES = null, nms_EnumArmorMaterial_getArmorCraftingMaterial = $this => { let var$1; if ($this === nms_EnumArmorMaterial_CLOTH) { nms_Item_$callClinit(); var$1 = nms_Item_leather.$itemID0; } else if ($this === nms_EnumArmorMaterial_CHAIN) { nms_Item_$callClinit(); var$1 = nms_Item_ingotIron.$itemID0; } else if ($this === nms_EnumArmorMaterial_GOLD) { nms_Item_$callClinit(); var$1 = nms_Item_ingotGold.$itemID0; } else if ($this === nms_EnumArmorMaterial_IRON) { nms_Item_$callClinit(); var$1 = nms_Item_ingotIron.$itemID0; } else if ($this !== nms_EnumArmorMaterial_DIAMOND) var$1 = 0; else { nms_Item_$callClinit(); var$1 = nms_Item_diamond.$itemID0; } return var$1; }, nms_EnumArmorMaterial__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = new nms_EnumArmorMaterial; var$2 = $rt_createIntArrayFromData([1, 3, 2, 1]); var$1.$name0 = $rt_s(2897); var$1.$ordinal = 0; var$1.$maxDamageFactor = 5; var$1.$damageReductionAmountArray = var$2; var$1.$enchantability0 = 15; nms_EnumArmorMaterial_CLOTH = var$1; var$3 = new nms_EnumArmorMaterial; var$2 = $rt_createIntArrayFromData([2, 5, 4, 1]); var$3.$name0 = $rt_s(2898); var$3.$ordinal = 1; var$3.$maxDamageFactor = 15; var$3.$damageReductionAmountArray = var$2; var$3.$enchantability0 = 12; nms_EnumArmorMaterial_CHAIN = var$3; var$4 = new nms_EnumArmorMaterial; var$2 = $rt_createIntArrayFromData([2, 6, 5, 2]); var$4.$name0 = $rt_s(2813); var$4.$ordinal = 2; var$4.$maxDamageFactor = 15; var$4.$damageReductionAmountArray = var$2; var$4.$enchantability0 = 9; nms_EnumArmorMaterial_IRON = var$4; var$5 = new nms_EnumArmorMaterial; var$2 = $rt_createIntArrayFromData([2, 5, 3, 1]); var$5.$name0 = $rt_s(1647); var$5.$ordinal = 3; var$5.$maxDamageFactor = 7; var$5.$damageReductionAmountArray = var$2; var$5.$enchantability0 = 25; nms_EnumArmorMaterial_GOLD = var$5; var$6 = new nms_EnumArmorMaterial; var$2 = $rt_createIntArrayFromData([3, 8, 6, 3]); var$6.$name0 = $rt_s(2899); var$6.$ordinal = 4; var$6.$maxDamageFactor = 33; var$6.$damageReductionAmountArray = var$2; var$6.$enchantability0 = 10; nms_EnumArmorMaterial_DIAMOND = var$6; nms_EnumArmorMaterial_$VALUES = $rt_wrapArray(nms_EnumArmorMaterial, [var$1, var$3, var$4, var$5, var$6]); }; function nms_ItemHangingEntity() { nms_Item.call(this); this.$hangingEntityClass = null; } let nms_ItemHangingEntity__init_0 = ($this, $par1, $par2Class) => { nms_Item__init_($this, $par1); $this.$hangingEntityClass = $par2Class; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabDecorations; }, nms_ItemHangingEntity__init_ = (var_0, var_1) => { let var_2 = new nms_ItemHangingEntity(); nms_ItemHangingEntity__init_0(var_2, var_0, var_1); return var_2; }, nms_ItemHangingEntity_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var11, var$12, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par7) return 0; if ($par7 == 1) return 0; $var11 = nms_Direction_facingToDirection.data[$par7]; var$12 = $this.$hangingEntityClass; if (var$12 === $rt_cls(nms_EntityPainting)) { $var12 = new nms_EntityPainting; $ptr = 1; continue main; } if (var$12 === $rt_cls(nms_EntityItemFrame)) { $var12 = new nms_EntityItemFrame; nms_Entity__init_($var12, $par3World); $var12.$yOffset = 0.0; $par9 = 0.5; $par8 = 0.5; $ptr = 2; continue main; } $var12 = null; if ($par2EntityPlayer.$capabilities.$allowEdit) $par4 = 1; else if ($par1ItemStack === null) $par4 = 0; else { nms_Item_$callClinit(); $par4 = 1; } if (!$par4) return 0; if ($var12 === null) return 1; $ptr = 3; continue main; case 1: nms_EntityPainting__init_($var12, $par3World, $par4, $par5, $par6, $var11); if ($rt_suspending()) { break main; } if ($par2EntityPlayer.$capabilities.$allowEdit) $par4 = 1; else if ($par1ItemStack === null) $par4 = 0; else { nms_Item_$callClinit(); $par4 = 1; } if (!$par4) return 0; if ($var12 === null) return 1; $ptr = 3; continue main; case 2: nms_Entity_setSize($var12, $par9, $par8); if ($rt_suspending()) { break main; } $var12.$xPosition2 = $par4; $var12.$yPosition2 = $par5; $var12.$zPosition1 = $par6; $var12.$itemDropChance = 1.0; nms_EntityHanging_setDirection($var12, $var11); if ($par2EntityPlayer.$capabilities.$allowEdit) $par4 = 1; else if ($par1ItemStack === null) $par4 = 0; else { nms_Item_$callClinit(); $par4 = 1; } if (!$par4) return 0; if ($var12 === null) return 1; $ptr = 3; case 3: $tmp = nms_EntityHanging_onValidSurface($var12); if ($rt_suspending()) { break main; } $par4 = $tmp; if ($par4) { if (!$par3World.$isRemote) { $par4 = nms_World_spawnEntityInWorld($par3World, $var12); var$12 = $par3World.$entityList; ju_HashMap_putImpl(var$12.$backingMap, $var12, var$12); if (!$par4) { $par2EntityPlayer = $par3World.$entitySpawnQueue; ju_HashMap_putImpl($par2EntityPlayer.$backingMap, $var12, $par2EntityPlayer); } } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var11, var$12, $var12, $ptr); }, nms_ItemAppleGold = $rt_classWithoutFields(nms_ItemFood), nms_ItemAppleGold__init_0 = ($this, $par1, $par2, $par3, $par4) => { nms_Item__init_($this, $par1); $this.$itemUseDuration = 32; $this.$healAmount = $par2; $this.$isWolfsFavoriteMeat = $par4; $this.$saturationModifier = $par3; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabFood; $this.$hasSubtypes = 1; }, nms_ItemAppleGold__init_ = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_ItemAppleGold(); nms_ItemAppleGold__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_ItemAppleGold_hasEffect = ($this, $par1ItemStack) => { return $par1ItemStack.$itemDamage <= 0 ? 0 : 1; }, nms_ItemAppleGold_getRarity = ($this, $par1ItemStack) => { return $par1ItemStack.$itemDamage ? nms_EnumRarity_epic : nms_EnumRarity_rare; }, nms_ItemAppleGold_onFoodEaten = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, var$5, var$6, var$7, var$8; if (!$par2World.$isRemote) { var$4 = new nms_PotionEffect; nms_Potion_$callClinit(); var$4.$potionID = nms_Potion_field_76444_x.$id1; var$4.$duration = 2400; var$4.$amplifier = 0; var$4.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($par3EntityPlayer, var$4); } if ($par1ItemStack.$itemDamage <= 0) { if (!$par2World.$isRemote) { var$5 = $this.$potionId; if (var$5 > 0) { $par1ItemStack = $par2World.$rand0; var$6 = Long_and(Long_add(Long_mul($par1ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1ItemStack.$seed = var$6; if (Long_lo(Long_shru(var$6, 24)) / 1.6777216E7 < $this.$potionEffectProbability) { $par1ItemStack = new nms_PotionEffect; var$7 = $this.$potionDuration * 20 | 0; var$8 = $this.$potionAmplifier; $par1ItemStack.$potionID = var$5; $par1ItemStack.$duration = var$7; $par1ItemStack.$amplifier = var$8; $par1ItemStack.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($par3EntityPlayer, $par1ItemStack); } } } } else if (!$par2World.$isRemote) { $par1ItemStack = new nms_PotionEffect; nms_Potion_$callClinit(); $par1ItemStack.$potionID = nms_Potion_regeneration.$id1; $par1ItemStack.$duration = 600; $par1ItemStack.$amplifier = 4; $par1ItemStack.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($par3EntityPlayer, $par1ItemStack); $par1ItemStack = new nms_PotionEffect; $par1ItemStack.$potionID = nms_Potion_resistance.$id1; $par1ItemStack.$duration = 6000; $par1ItemStack.$amplifier = 0; $par1ItemStack.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($par3EntityPlayer, $par1ItemStack); $par1ItemStack = new nms_PotionEffect; $par1ItemStack.$potionID = nms_Potion_fireResistance.$id1; $par1ItemStack.$duration = 6000; $par1ItemStack.$amplifier = 0; $par1ItemStack.$isAmbient = 0; nms_EntityLivingBase_addPotionEffect($par3EntityPlayer, $par1ItemStack); } }, nms_ItemAppleGold_getSubItems = ($this, $par1, $par2CreativeTabs, $par3List) => { let var$4, var$5, var$6, var$7; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$6 = var$5 + 1 | 0; $par3List.$size0 = var$6; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 1; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; }; function nms_Potion() { let a = this; jl_Object.call(a); a.$id1 = 0; a.$field_111188_I = null; a.$isBadEffect = 0; a.$liquidColor = 0; a.$name2 = null; a.$statusIconIndex = 0; a.$effectiveness = 0.0; a.$usable = 0; } let nms_Potion_potionTypes = null, nms_Potion_field_76423_b = null, nms_Potion_moveSpeed = null, nms_Potion_moveSlowdown = null, nms_Potion_digSpeed = null, nms_Potion_digSlowdown = null, nms_Potion_damageBoost = null, nms_Potion_heal = null, nms_Potion_harm = null, nms_Potion_jump = null, nms_Potion_confusion = null, nms_Potion_regeneration = null, nms_Potion_resistance = null, nms_Potion_fireResistance = null, nms_Potion_waterBreathing = null, nms_Potion_invisibility = null, nms_Potion_blindness = null, nms_Potion_nightVision = null, nms_Potion_hunger = null, nms_Potion_weakness = null, nms_Potion_poison = null, nms_Potion_wither = null, nms_Potion_field_76434_w = null, nms_Potion_field_76444_x = null, nms_Potion_field_76443_y = null, nms_Potion_field_76442_z = null, nms_Potion_field_76409_A = null, nms_Potion_field_76410_B = null, nms_Potion_field_76411_C = null, nms_Potion_field_76405_D = null, nms_Potion_field_76406_E = null, nms_Potion_field_76407_F = null, nms_Potion_field_76408_G = null, nms_Potion_$callClinit = () => { nms_Potion_$callClinit = $rt_eraseClinit(nms_Potion); nms_Potion__clinit_(); }, nms_Potion__init_0 = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7; nms_Potion_$callClinit(); var$4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; $this.$field_111188_I = var$4; $this.$name2 = $rt_s(18); $this.$statusIconIndex = (-1); $this.$id1 = $par1; nms_Potion_potionTypes.data[$par1] = $this; $this.$isBadEffect = $par2; if (!$par2) $this.$effectiveness = 1.0; else $this.$effectiveness = 0.5; $this.$liquidColor = $par3; }, nms_Potion__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_Potion(); nms_Potion__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_Potion_setIconIndex = ($this, $par1, $par2) => { $this.$statusIconIndex = $par1 + ($par2 * 8 | 0) | 0; return $this; }, nms_Potion_getId = $this => { return $this.$id1; }, nms_Potion_performEffect = ($this, $par1EntityLivingBase, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { b: { var$3 = $this.$id1; nms_Potion_$callClinit(); if (var$3 == nms_Potion_regeneration.$id1) { var$4 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[134]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$9 = (var$4 === null ? null : var$4.$value1).$watchedObject.$value3; var$4 = nms_SharedMonsterAttributes_maxHealth; if ($par1EntityLivingBase.$attributeMap === null) $par1EntityLivingBase.$attributeMap = nms_ServersideAttributeMap__init_(); var$8 = $par1EntityLivingBase.$attributeMap.$attributes; if (var$4 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { c: { var$5 = var$4.$field_111115_a; if (!var$5.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$5.$nativeString.length) break c; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } var$6 = var$5.$hashCode1; var$7 = var$8.$elementData.data; var$8 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$8 !== null && !(var$8.$origKeyHash == var$6 && ju_HashMap_areEqualKeys(var$4, var$8.$key))) { var$8 = var$8.$next3; } } var$4 = var$8 === null ? null : var$8.$value1; if (var$4.$field_111133_g) { var$4.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$4); var$4.$field_111133_g = 0; } if (var$9 < var$4.$field_111139_h) $par1EntityLivingBase.$heal(1.0); } else { if (var$3 == nms_Potion_poison.$id1) { var$4 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[134]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } if ((var$4 === null ? null : var$4.$value1).$watchedObject.$value3 <= 1.0) break b; var$4 = nms_DamageSource_magic; var$10 = 1.0; $ptr = 2; continue main; } if (var$3 == nms_Potion_wither.$id1) { var$4 = nms_DamageSource_wither; var$10 = 1.0; $ptr = 1; continue main; } if (var$3 == nms_Potion_hunger.$id1 && $par1EntityLivingBase instanceof nms_EntityPlayer) { $par1EntityLivingBase = $par1EntityLivingBase; var$10 = 0.02500000037252903 * ($par2 + 1 | 0); if (!$par1EntityLivingBase.$capabilities.$disableDamage && !$par1EntityLivingBase.$worldObj.$isRemote) { $par1EntityLivingBase = $par1EntityLivingBase.$foodStats; $par1EntityLivingBase.$foodExhaustionLevel = jl_Math_minImpl($par1EntityLivingBase.$foodExhaustionLevel + var$10, 40.0); } } else if (!(var$3 == nms_Potion_field_76443_y.$id1 && $par1EntityLivingBase instanceof nms_EntityPlayer)) { d: { if (!(var$3 == nms_Potion_heal.$id1 && !($par1EntityLivingBase.$getCreatureAttribute() !== nms_EnumCreatureAttribute_UNDEAD ? 0 : 1))) { if ($this.$id1 != nms_Potion_harm.$id1) break d; if (!($par1EntityLivingBase.$getCreatureAttribute() !== nms_EnumCreatureAttribute_UNDEAD ? 0 : 1)) break d; } $par2 = 4 << $par2; var$3 = 0; if ($par2 > var$3) var$3 = $par2; $par1EntityLivingBase.$heal(var$3); break b; } if ($this.$id1 == nms_Potion_harm.$id1 && !($par1EntityLivingBase.$getCreatureAttribute() !== nms_EnumCreatureAttribute_UNDEAD ? 0 : 1)) break a; if ($this.$id1 == nms_Potion_heal.$id1 && ($par1EntityLivingBase.$getCreatureAttribute() !== nms_EnumCreatureAttribute_UNDEAD ? 0 : 1)) break a; } else if (!$par1EntityLivingBase.$worldObj.$isRemote) { $par1EntityLivingBase = $par1EntityLivingBase.$foodStats; $par2 = $par2 + 1 | 0; var$3 = $par2 + $par1EntityLivingBase.$foodLevel | 0; var$6 = 20; if (var$3 < var$6) var$6 = var$3; $par1EntityLivingBase.$foodLevel = var$6; $par1EntityLivingBase.$foodSaturationLevel = jl_Math_minImpl($par1EntityLivingBase.$foodSaturationLevel + $par2 * 1.0 * 2.0, var$6); } } } return; } var$4 = nms_DamageSource_magic; var$10 = 6 << $par2; $ptr = 3; continue main; case 1: $par1EntityLivingBase.$attackEntityFrom(var$4, var$10); if ($rt_suspending()) { break main; } return; case 2: $par1EntityLivingBase.$attackEntityFrom(var$4, var$10); if ($rt_suspending()) { break main; } return; case 3: $par1EntityLivingBase.$attackEntityFrom(var$4, var$10); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_Potion_affectEntity = ($this, $par1EntityLivingBase, $par2EntityLivingBase, $par3, $par4) => { let $var6, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var6 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2EntityLivingBase = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { b: { c: { $var6 = $this.$id1; nms_Potion_$callClinit(); if (!($var6 == nms_Potion_heal.$id1 && !($par2EntityLivingBase.$getCreatureAttribute() !== nms_EnumCreatureAttribute_UNDEAD ? 0 : 1))) { if ($this.$id1 != nms_Potion_harm.$id1) break c; if (!($par2EntityLivingBase.$getCreatureAttribute() !== nms_EnumCreatureAttribute_UNDEAD ? 0 : 1)) break c; } $par2EntityLivingBase.$heal($par4 * (4 << $par3) + 0.5 | 0); break b; } if ($this.$id1 == nms_Potion_harm.$id1 && !($par2EntityLivingBase.$getCreatureAttribute() !== nms_EnumCreatureAttribute_UNDEAD ? 0 : 1)) break a; if ($this.$id1 == nms_Potion_heal.$id1 && ($par2EntityLivingBase.$getCreatureAttribute() !== nms_EnumCreatureAttribute_UNDEAD ? 0 : 1)) break a; } return; } $var6 = $par4 * (6 << $par3) + 0.5 | 0; if ($par1EntityLivingBase === null) { $par1EntityLivingBase = nms_DamageSource_magic; var$6 = $var6; $ptr = 2; continue main; } var$7 = new nms_EntityDamageSourceIndirect; var$7.$hungerDamage = 0.30000001192092896; var$7.$damageType = $rt_s(2900); var$7.$damageSourceEntity = $par2EntityLivingBase; var$7.$indirectEntity = $par1EntityLivingBase; var$7.$isUnblockable = 1; var$7.$hungerDamage = 0.0; var$7.$magicDamage = 1; var$6 = $var6; $ptr = 1; case 1: $par2EntityLivingBase.$attackEntityFrom(var$7, var$6); if ($rt_suspending()) { break main; } return; case 2: $par2EntityLivingBase.$attackEntityFrom($par1EntityLivingBase, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2EntityLivingBase, $par3, $par4, $var6, var$6, var$7, $ptr); }, nms_Potion_isInstant = $this => { return 0; }, nms_Potion_isReady = ($this, $par1, $par2) => { let $var3; $var3 = $this.$id1; nms_Potion_$callClinit(); if ($var3 == nms_Potion_regeneration.$id1) { $var3 = 50 >> $par2; return $var3 <= 0 ? 1 : $par1 % $var3 | 0 ? 0 : 1; } if ($var3 == nms_Potion_poison.$id1) { $var3 = 25 >> $par2; return $var3 <= 0 ? 1 : $par1 % $var3 | 0 ? 0 : 1; } if ($var3 != nms_Potion_wither.$id1) return $var3 != nms_Potion_hunger.$id1 ? 0 : 1; $var3 = 40 >> $par2; return $var3 <= 0 ? 1 : $par1 % $var3 | 0 ? 0 : 1; }, nms_Potion_getName = $this => { return $this.$name2; }, nms_Potion_hasStatusIcon = $this => { return $this.$statusIconIndex < 0 ? 0 : 1; }, nms_Potion_getStatusIconIndex = $this => { return $this.$statusIconIndex; }, nms_Potion_isBadEffect = $this => { return $this.$isBadEffect; }, nms_Potion_setEffectiveness = ($this, $par1) => { $this.$effectiveness = $par1; return $this; }, nms_Potion_getEffectiveness = $this => { return $this.$effectiveness; }, nms_Potion_isUsable = $this => { return $this.$usable; }, nms_Potion_getLiquidColor = $this => { return $this.$liquidColor; }; let nms_Potion_func_111184_a = ($this, $par1Attribute, $par2Str, $par3, $par5) => { let $var6, var$6, var$7; $var6 = new nms_AttributeModifier; $par2Str = nle_ProfileUUID_fromString($par2Str); var$6 = $this.$name2; $var6.$isSaved = 1; $var6.$id2 = $par2Str; $var6.$name3 = var$6; $var6.$amount = $par3; $var6.$operation = $par5; if (var$6 === null) { $par1Attribute = new jl_NullPointerException; $par1Attribute.$suppressionEnabled = 1; $par1Attribute.$writableStackTrace = 1; $rt_throw($par1Attribute); } if (var$6 === $rt_s(18)) var$7 = 1; else if (!($rt_s(18) instanceof jl_String)) var$7 = 0; else { $par2Str = $rt_s(18); var$7 = var$6.$nativeString !== $par2Str.$nativeString ? 0 : 1; } if (var$7) { $par2Str = new jl_IllegalArgumentException; $par2Str.$suppressionEnabled = 1; $par2Str.$writableStackTrace = 1; $par2Str.$message = $rt_s(1292); $rt_throw($par2Str); } if ($par5 < 0 && $par5 > 2) { $par2Str = new jl_IllegalArgumentException; $par2Str.$suppressionEnabled = 1; $par2Str.$writableStackTrace = 1; $par2Str.$message = $rt_s(2901); $rt_throw($par2Str); } ju_HashMap_putImpl($this.$field_111188_I, $par1Attribute, $var6); return $this; }, nms_Potion_removeAttributesModifiersFromEntity = ($this, $par1EntityLivingBase, $par2BaseAttributeMap, $par3) => { let $var4, var$5, var$6, var$7, var$8, var$9; $par1EntityLivingBase = $this.$field_111188_I; $var4 = new ju_HashMap$EntryIterator; $var4.$associatedMap = $par1EntityLivingBase; $var4.$expectedModCount = $par1EntityLivingBase.$modCount0; $var4.$futureEntry0 = null; while (ju_HashMap$AbstractMapIterator_hasNext($var4)) { ju_HashMap$AbstractMapIterator_makeNext($var4); var$5 = $var4.$currentEntry0; $par1EntityLivingBase = var$5.$key; var$6 = $par2BaseAttributeMap.$attributes; if ($par1EntityLivingBase === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { a: { var$7 = $par1EntityLivingBase.$field_111115_a; if (!var$7.$hashCode1) { $par3 = 0; while (true) { if ($par3 >= var$7.$nativeString.length) break a; var$7.$hashCode1 = (31 * var$7.$hashCode1 | 0) + var$7.$nativeString.charCodeAt($par3) | 0; $par3 = $par3 + 1 | 0; } } } var$8 = var$7.$hashCode1; var$9 = var$6.$elementData.data; var$6 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$8) { var$7 = var$6.$key; if ($par1EntityLivingBase !== var$7 && !($par1EntityLivingBase !== var$7 ? 0 : 1) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$6 = var$6 === null ? null : var$6.$value1; if (var$6 !== null) nms_ModifiableAttributeInstance_removeModifier(var$6, var$5.$value1); } }, nms_Potion_applyAttributesModifiersToEntity = ($this, $par1EntityLivingBase, $par2BaseAttributeMap, $par3) => { let $var4, $var7, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; $par1EntityLivingBase = $this.$field_111188_I; $var4 = new ju_HashMap$EntryIterator; $var4.$associatedMap = $par1EntityLivingBase; $var4.$expectedModCount = $par1EntityLivingBase.$modCount0; $var4.$futureEntry0 = null; a: { while (ju_HashMap$AbstractMapIterator_hasNext($var4)) { ju_HashMap$AbstractMapIterator_makeNext($var4); $var7 = $var4.$currentEntry0; var$6 = $var7.$key; $par1EntityLivingBase = $par2BaseAttributeMap.$attributes; if (var$6 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { b: { var$7 = var$6.$field_111115_a; if (!var$7.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$7.$nativeString.length) break b; var$7.$hashCode1 = (31 * var$7.$hashCode1 | 0) + var$7.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = var$7.$hashCode1; var$10 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$10[var$9 & (var$10.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$9) { var$7 = $par1EntityLivingBase.$key; if (var$6 !== var$7 && !(var$6 !== var$7 ? 0 : 1) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } var$7 = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; if (var$7 !== null) { $var7 = $var7.$value1; nms_ModifiableAttributeInstance_removeModifier(var$7, $var7); var$11 = new nms_AttributeModifier; var$6 = $var7.$id2; $par1EntityLivingBase = $this.$name2; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); var$13 = var$12.$length0; if ($par1EntityLivingBase === null) $par1EntityLivingBase = $rt_s(1); jl_AbstractStringBuilder_insert(var$12, var$13, $par1EntityLivingBase); var$13 = var$12.$length0; jl_AbstractStringBuilder_insertSpace(var$12, var$13, var$13 + 1 | 0); var$12.$buffer.data[var$13] = 32; jl_AbstractStringBuilder_insert0(var$12, var$12.$length0, $par3, 10); $par1EntityLivingBase = new jl_String; var$10 = var$12.$buffer; var$14 = var$10.data; var$8 = var$12.$length0; var$13 = var$14.length; if (var$8 < 0) break a; if (var$8 > (var$13 - 0 | 0)) break a; $par1EntityLivingBase.$nativeString = $rt_charArrayToString(var$10.data, 0, var$8); var$15 = $this.$func_111183_a($par3, $var7); var$9 = $var7.$operation; var$11.$isSaved = 1; var$11.$id2 = var$6; var$11.$name3 = $par1EntityLivingBase; var$11.$amount = var$15; var$11.$operation = var$9; if ($par1EntityLivingBase === $rt_s(18)) var$13 = 1; else if (!($rt_s(18) instanceof jl_String)) var$13 = 0; else { var$6 = $rt_s(18); var$13 = $par1EntityLivingBase.$nativeString !== var$6.$nativeString ? 0 : 1; } if (var$13) { $par2BaseAttributeMap = new jl_IllegalArgumentException; $par2BaseAttributeMap.$suppressionEnabled = 1; $par2BaseAttributeMap.$writableStackTrace = 1; $par2BaseAttributeMap.$message = $rt_s(1292); $rt_throw($par2BaseAttributeMap); } if (var$9 < 0 && var$9 > 2) { $par2BaseAttributeMap = new jl_IllegalArgumentException; $par2BaseAttributeMap.$suppressionEnabled = 1; $par2BaseAttributeMap.$writableStackTrace = 1; $par2BaseAttributeMap.$message = $rt_s(2901); $rt_throw($par2BaseAttributeMap); } nms_ModifiableAttributeInstance_applyModifier(var$7, var$11); } } return; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityLivingBase); $rt_throw($par1EntityLivingBase); }, nms_Potion_func_111183_a = ($this, $par1, $par2AttributeModifier) => { return $par2AttributeModifier.$amount * ($par1 + 1 | 0); }, nms_Potion__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6; nms_Potion_potionTypes = $rt_createArray(nms_Potion, 32); nms_Potion_field_76423_b = null; var$1 = nms_Potion__init_(1, 0, 8171462); var$1.$name2 = $rt_s(2902); var$1.$statusIconIndex = 0; var$2 = nms_SharedMonsterAttributes_movementSpeed; var$3 = new nms_AttributeModifier; var$4 = nle_ProfileUUID_fromString($rt_s(2903)); var$5 = var$1.$name2; var$3.$isSaved = 1; var$3.$id2 = var$4; var$3.$name3 = var$5; var$3.$amount = 0.20000000298023224; var$3.$operation = 2; if (var$5 === null) { var$1 = new jl_NullPointerException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } if (var$5 === $rt_s(18)) var$6 = 1; else if (!($rt_s(18) instanceof jl_String)) var$6 = 0; else { var$4 = $rt_s(18); var$6 = var$5.$nativeString !== var$4.$nativeString ? 0 : 1; } if (var$6) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(1292); $rt_throw(var$2); } ju_HashMap_putImpl(var$1.$field_111188_I, var$2, var$3); nms_Potion_moveSpeed = var$1; var$1 = nms_Potion__init_(2, 1, 5926017); var$1.$name2 = $rt_s(2904); var$1.$statusIconIndex = 1; var$2 = nms_SharedMonsterAttributes_movementSpeed; var$3 = new nms_AttributeModifier; var$4 = nle_ProfileUUID_fromString($rt_s(2905)); var$5 = var$1.$name2; var$3.$isSaved = 1; var$3.$id2 = var$4; var$3.$name3 = var$5; var$3.$amount = (-0.15000000596046448); var$3.$operation = 2; if (var$5 === null) { var$1 = new jl_NullPointerException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } if (var$5 === $rt_s(18)) var$6 = 1; else if (!($rt_s(18) instanceof jl_String)) var$6 = 0; else { var$4 = $rt_s(18); var$6 = var$5.$nativeString !== var$4.$nativeString ? 0 : 1; } if (var$6) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(1292); $rt_throw(var$2); } ju_HashMap_putImpl(var$1.$field_111188_I, var$2, var$3); nms_Potion_moveSlowdown = var$1; var$1 = nms_Potion__init_(3, 0, 14270531); var$1.$name2 = $rt_s(2906); var$1.$statusIconIndex = 2; var$1.$effectiveness = 1.5; nms_Potion_digSpeed = var$1; var$1 = nms_Potion__init_(4, 1, 4866583); var$1.$name2 = $rt_s(2907); var$1.$statusIconIndex = 3; nms_Potion_digSlowdown = var$1; var$1 = new nms_PotionAttackDamage; nms_Potion__init_0(var$1, 5, 0, 9643043); var$1.$name2 = $rt_s(2908); var$1.$statusIconIndex = 4; var$2 = nms_SharedMonsterAttributes_attackDamage; var$3 = new nms_AttributeModifier; var$4 = nle_ProfileUUID_fromString($rt_s(2909)); var$5 = var$1.$name2; var$3.$isSaved = 1; var$3.$id2 = var$4; var$3.$name3 = var$5; var$3.$amount = 3.0; var$3.$operation = 2; if (var$5 === null) { var$1 = new jl_NullPointerException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } if (var$5 === $rt_s(18)) var$6 = 1; else if (!($rt_s(18) instanceof jl_String)) var$6 = 0; else { var$4 = $rt_s(18); var$6 = var$5.$nativeString !== var$4.$nativeString ? 0 : 1; } if (var$6) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(1292); $rt_throw(var$2); } ju_HashMap_putImpl(var$1.$field_111188_I, var$2, var$3); nms_Potion_damageBoost = var$1; var$1 = new nms_PotionHealth; nms_Potion__init_0(var$1, 6, 0, 16262179); var$1.$name2 = $rt_s(2910); nms_Potion_heal = var$1; var$1 = new nms_PotionHealth; nms_Potion__init_0(var$1, 7, 1, 4393481); var$1.$name2 = $rt_s(2911); nms_Potion_harm = var$1; var$1 = nms_Potion__init_(8, 0, 7889559); var$1.$name2 = $rt_s(2912); var$1.$statusIconIndex = 10; nms_Potion_jump = var$1; var$1 = nms_Potion__init_(9, 1, 5578058); var$1.$name2 = $rt_s(2913); var$1.$statusIconIndex = 11; var$1.$effectiveness = 0.25; nms_Potion_confusion = var$1; var$1 = nms_Potion__init_(10, 0, 13458603); var$1.$name2 = $rt_s(2914); var$1.$statusIconIndex = 7; var$1.$effectiveness = 0.25; nms_Potion_regeneration = var$1; var$1 = nms_Potion__init_(11, 0, 10044730); var$1.$name2 = $rt_s(2915); var$1.$statusIconIndex = 14; nms_Potion_resistance = var$1; var$1 = nms_Potion__init_(12, 0, 14981690); var$1.$name2 = $rt_s(2916); var$1.$statusIconIndex = 15; nms_Potion_fireResistance = var$1; var$1 = nms_Potion__init_(13, 0, 3035801); var$1.$name2 = $rt_s(2917); var$1.$statusIconIndex = 16; nms_Potion_waterBreathing = var$1; var$1 = nms_Potion__init_(14, 0, 8356754); var$1.$name2 = $rt_s(2918); var$1.$statusIconIndex = 8; nms_Potion_invisibility = var$1; var$1 = nms_Potion__init_(15, 1, 2039587); var$1.$name2 = $rt_s(2919); var$1.$statusIconIndex = 13; var$1.$effectiveness = 0.25; nms_Potion_blindness = var$1; var$1 = nms_Potion__init_(16, 0, 2039713); var$1.$name2 = $rt_s(2920); var$1.$statusIconIndex = 12; nms_Potion_nightVision = var$1; var$1 = nms_Potion__init_(17, 1, 5797459); var$1.$name2 = $rt_s(2921); var$1.$statusIconIndex = 9; nms_Potion_hunger = var$1; var$1 = new nms_PotionAttackDamage; nms_Potion__init_0(var$1, 18, 1, 4738376); var$1.$name2 = $rt_s(2922); var$1.$statusIconIndex = 5; var$2 = nms_SharedMonsterAttributes_attackDamage; var$3 = new nms_AttributeModifier; var$4 = nle_ProfileUUID_fromString($rt_s(2923)); var$5 = var$1.$name2; var$3.$isSaved = 1; var$3.$id2 = var$4; var$3.$name3 = var$5; var$3.$amount = 2.0; var$3.$operation = 0; if (var$5 === null) { var$1 = new jl_NullPointerException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } if (var$5 === $rt_s(18)) var$6 = 1; else if (!($rt_s(18) instanceof jl_String)) var$6 = 0; else { var$4 = $rt_s(18); var$6 = var$5.$nativeString !== var$4.$nativeString ? 0 : 1; } if (var$6) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(1292); $rt_throw(var$2); } ju_HashMap_putImpl(var$1.$field_111188_I, var$2, var$3); nms_Potion_weakness = var$1; var$1 = nms_Potion__init_(19, 1, 5149489); var$1.$name2 = $rt_s(2924); var$1.$statusIconIndex = 6; var$1.$effectiveness = 0.25; nms_Potion_poison = var$1; var$1 = nms_Potion__init_(20, 1, 3484199); var$1.$name2 = $rt_s(2925); var$1.$statusIconIndex = 17; var$1.$effectiveness = 0.25; nms_Potion_wither = var$1; var$1 = new nms_PotionHealthBoost; nms_Potion__init_0(var$1, 21, 0, 16284963); var$1.$name2 = $rt_s(2926); var$1.$statusIconIndex = 18; var$2 = nms_SharedMonsterAttributes_maxHealth; var$3 = new nms_AttributeModifier; var$4 = nle_ProfileUUID_fromString($rt_s(2927)); var$5 = var$1.$name2; var$3.$isSaved = 1; var$3.$id2 = var$4; var$3.$name3 = var$5; var$3.$amount = 4.0; var$3.$operation = 0; if (var$5 === null) { var$1 = new jl_NullPointerException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } if (var$5 === $rt_s(18)) var$6 = 1; else if (!($rt_s(18) instanceof jl_String)) var$6 = 0; else { var$4 = $rt_s(18); var$6 = var$5.$nativeString !== var$4.$nativeString ? 0 : 1; } if (var$6) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(1292); $rt_throw(var$2); } ju_HashMap_putImpl(var$1.$field_111188_I, var$2, var$3); nms_Potion_field_76434_w = var$1; var$1 = new nms_PotionAbsoption; nms_Potion__init_0(var$1, 22, 0, 2445989); var$1.$name2 = $rt_s(2928); var$1.$statusIconIndex = 18; nms_Potion_field_76444_x = var$1; var$1 = new nms_PotionHealth; nms_Potion__init_0(var$1, 23, 0, 16262179); var$1.$name2 = $rt_s(2929); nms_Potion_field_76443_y = var$1; nms_Potion_field_76442_z = null; nms_Potion_field_76409_A = null; nms_Potion_field_76410_B = null; nms_Potion_field_76411_C = null; nms_Potion_field_76405_D = null; nms_Potion_field_76406_E = null; nms_Potion_field_76407_F = null; nms_Potion_field_76408_G = null; }, nms_ItemSign = $rt_classWithoutFields(nms_Item), nms_ItemSign__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$maxStackSize = 16; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabDecorations; }, nms_ItemSign__init_0 = var_0 => { let var_1 = new nms_ItemSign(); nms_ItemSign__init_(var_1, var_0); return var_1; }, nms_ItemSign_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var11, $var12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par7) return 0; $var11 = nms_World_getBlockId($par3World, $par4, $par5, $par6); if (!$var11) { nms_Material_$callClinit(); $var12 = nms_Material_air; } else { nms_Block_$callClinit(); $var12 = nms_Block_blocksList.data[$var11].$blockMaterial; } if (!$var12.$isSolid()) return 0; $var11 = $rt_compare($par7, 1); if (!$var11) $par5 = $par5 + 1 | 0; if ($par7 == 2) $par6 = $par6 + (-1) | 0; if ($par7 == 3) $par6 = $par6 + 1 | 0; if ($par7 == 4) $par4 = $par4 + (-1) | 0; if ($par7 == 5) $par4 = $par4 + 1 | 0; if ($par2EntityPlayer.$capabilities.$allowEdit) var$13 = 1; else if ($par1ItemStack === null) var$13 = 0; else { nms_Item_$callClinit(); var$13 = 1; } if (!var$13) return 0; nms_Block_$callClinit(); if (!nms_Block_signPost.$canPlaceBlockAt($par3World, $par4, $par5, $par6)) return 0; if ($par3World.$isRemote) return 1; if ($var11) { var$13 = nms_Block_signWall.$blockID; $var11 = 3; $ptr = 1; continue main; } var$14 = ($par2EntityPlayer.$rotationYaw + 180.0) * 16.0 / 360.0 + 0.5; $var11 = var$14 | 0; if (var$14 < $var11) $var11 = $var11 - 1 | 0; $var11 = $var11 & 15; $par7 = nms_Block_signPost.$blockID; var$13 = 3; $ptr = 3; continue main; case 1: nms_World_setBlock($par3World, $par4, $par5, $par6, var$13, $par7, $var11); if ($rt_suspending()) { break main; } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; $ptr = 2; case 2: $tmp = nms_World_getBlockTileEntity($par3World, $par4, $par5, $par6); if ($rt_suspending()) { break main; } $par1ItemStack = $tmp; $var12 = $par1ItemStack; if ($var12 !== null) { if ($var12 instanceof nms_TileEntitySign) { $par1ItemStack = $par2EntityPlayer.$mc4; $par2EntityPlayer = new nms_GuiEditSign; $par3World = $var12; nms_GuiEditSign_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var12 = new ju_ArrayList; $var12.$array = $rt_createArray(jl_Object, 10); $par2EntityPlayer.$buttonList = $var12; $par2EntityPlayer.$allowUserInput = 0; $par2EntityPlayer.$selectedButton = null; $par2EntityPlayer.$eventButton = 0; $par2EntityPlayer.$field_85043_c = Long_ZERO; $par2EntityPlayer.$field_92018_d = 0; $par2EntityPlayer.$screenTitle = $rt_s(2930); $par2EntityPlayer.$entitySign = $par3World; $ptr = 4; continue main; } if ($var12 instanceof nms_TileEntityCommandBlock) { $par2EntityPlayer = $par2EntityPlayer.$mc4; $par1ItemStack = new nms_GuiCommandBlock; $par3World = $var12; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var12 = new ju_ArrayList; $var12.$array = $rt_createArray(jl_Object, 10); $par1ItemStack.$buttonList = $var12; $par1ItemStack.$allowUserInput = 0; $par1ItemStack.$selectedButton = null; $par1ItemStack.$eventButton = 0; $par1ItemStack.$field_85043_c = Long_ZERO; $par1ItemStack.$field_92018_d = 0; $par1ItemStack.$commandBlock = $par3World; $ptr = 5; continue main; } } return 1; case 3: nms_World_setBlock($par3World, $par4, $par5, $par6, $par7, $var11, var$13); if ($rt_suspending()) { break main; } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; $ptr = 2; continue main; case 4: nms_Minecraft_displayGuiScreen($par1ItemStack, $par2EntityPlayer); if ($rt_suspending()) { break main; } return 1; case 5: nms_Minecraft_displayGuiScreen($par2EntityPlayer, $par1ItemStack); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var11, $var12, var$13, var$14, $ptr); }; function nms_ItemDoor() { nms_Item.call(this); this.$doorMaterial = null; } let nms_ItemDoor__init_ = ($this, $par1, $par2Material) => { nms_Item__init_($this, $par1); $this.$doorMaterial = $par2Material; $this.$maxStackSize = 1; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabRedstone; }, nms_ItemDoor__init_0 = (var_0, var_1) => { let var_2 = new nms_ItemDoor(); nms_ItemDoor__init_(var_2, var_0, var_1); return var_2; }, nms_ItemDoor_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let var$11, $var11, var$13, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();var$11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par7 != 1) return 0; var$11 = $par5 + 1 | 0; $var11 = $this.$doorMaterial; nms_Material_$callClinit(); if ($var11 !== nms_Material_wood) { nms_Block_$callClinit(); $var11 = nms_Block_doorIron; } else { nms_Block_$callClinit(); $var11 = nms_Block_doorWood; } $par5 = $par2EntityPlayer.$capabilities.$allowEdit; if ($par5) $par7 = 1; else if ($par1ItemStack === null) $par7 = 0; else { nms_Item_$callClinit(); $par7 = 1; } if ($par7) { if ($par5) $par5 = 1; else if ($par1ItemStack === null) $par5 = 0; else { nms_Item_$callClinit(); $par5 = 1; } if ($par5) { if (!$var11.$canPlaceBlockAt($par3World, $par4, var$11, $par6)) return 0; var$13 = ($par2EntityPlayer.$rotationYaw + 180.0) * 4.0 / 360.0 - 0.5; $par7 = var$13 | 0; if (var$13 < $par7) $par7 = $par7 - 1 | 0; $var12 = $par7 & 3; $ptr = 1; continue main; } } return 0; case 1: nms_ItemDoor_placeDoorBlock($par3World, $par4, var$11, $par6, $var12, $var11); if ($rt_suspending()) { break main; } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, var$11, $var11, var$13, $var12, $ptr); }, nms_ItemDoor_placeDoorBlock = ($par0World, $par1, $par2, $par3, $par4, $par5Block) => { let $var6, $var7, $var10, $var12, $var8, var$12, var$13, var$14, $var9, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var8 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5Block = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$par0World = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; $var7 = 0; if (!$par4) $var7 = 1; if ($par4 == 1) $var6 = (-1); if ($par4 == 2) $var7 = (-1); if ($par4 == 3) $var6 = 1; $var10 = $par1 - $var6 | 0; $var12 = $par3 - $var7 | 0; $var8 = nms_World_getBlockId($par0World, $var10, $par2, $var12); nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[$var8]; if (var$12 === null) $var8 = 0; else { var$13 = var$12.$blockMaterial; $var8 = !var$13.$isTranslucent ? var$13.$blocksMovement() : 0; $var8 = $var8 && var$12.$renderAsNormalBlock() && !var$12.$canProvidePower() ? 1 : 0; } $var8 = !$var8 ? 0 : 1; var$14 = $par2 + 1 | 0; $var9 = nms_World_getBlockId($par0World, $var10, var$14, $var12); var$12 = nms_Block_blocksList.data[$var9]; if (var$12 === null) $var9 = 0; else { var$13 = var$12.$blockMaterial; $var9 = !var$13.$isTranslucent ? var$13.$blocksMovement() : 0; $var9 = $var9 && var$12.$renderAsNormalBlock() && !var$12.$canProvidePower() ? 1 : 0; } $var8 = $var8 + (!$var9 ? 0 : 1) | 0; $var6 = $par1 + $var6 | 0; $var7 = $par3 + $var7 | 0; $var9 = nms_World_getBlockId($par0World, $var6, $par2, $var7); var$12 = nms_Block_blocksList.data[$var9]; if (var$12 === null) $var9 = 0; else { var$13 = var$12.$blockMaterial; $var9 = !var$13.$isTranslucent ? var$13.$blocksMovement() : 0; $var9 = $var9 && var$12.$renderAsNormalBlock() && !var$12.$canProvidePower() ? 1 : 0; } $var9 = !$var9 ? 0 : 1; $var11 = nms_World_getBlockId($par0World, $var6, var$14, $var7); var$12 = nms_Block_blocksList.data[$var11]; if (var$12 === null) $var11 = 0; else { var$13 = var$12.$blockMaterial; $var11 = !var$13.$isTranslucent ? var$13.$blocksMovement() : 0; $var11 = $var11 && var$12.$renderAsNormalBlock() && !var$12.$canProvidePower() ? 1 : 0; } $var9 = $var9 + (!$var11 ? 0 : 1) | 0; $var10 = nms_World_getBlockId($par0World, $var10, $par2, $var12) != $par5Block.$blockID && nms_World_getBlockId($par0World, $var10, var$14, $var12) != $par5Block.$blockID ? 0 : 1; $var11 = nms_World_getBlockId($par0World, $var6, $par2, $var7) != $par5Block.$blockID && nms_World_getBlockId($par0World, $var6, var$14, $var7) != $par5Block.$blockID ? 0 : 1; $var12 = 0; if ($var10 && !$var11) $var12 = 1; else if ($var9 > $var8) $var12 = 1; $var10 = $par5Block.$blockID; $var6 = 2; $ptr = 1; case 1: nms_World_setBlock($par0World, $par1, $par2, $par3, $var10, $par4, $var6); if ($rt_suspending()) { break main; } $par4 = $par5Block.$blockID; $var6 = 8 | (!$var12 ? 0 : 1); $var10 = 2; $ptr = 2; case 2: nms_World_setBlock($par0World, $par1, var$14, $par3, $par4, $var6, $var10); if ($rt_suspending()) { break main; } $par4 = $par5Block.$blockID; $var7 = $par1 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $var7, $par2, $par3); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 3; continue main; } } $var8 = $par1 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $var8, $par2, $par3); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 4; continue main; } } $var10 = $par2 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $var10, $par3); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 5; continue main; } } if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, var$14, $par3); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 6; continue main; } } $var9 = $par3 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par2, $var9); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 7; continue main; } } $var10 = $par3 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par2, $var10); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 8; continue main; } } $par2 = $par5Block.$blockID; if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var7, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 9; continue main; } } if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var8, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 10; continue main; } } $par4 = var$14 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 11; continue main; } } $par4 = var$14 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 12; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var9); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 13; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var10); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 14; continue main; } } return; case 3: var$12.$onNeighborBlockChange($par0World, $var7, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var8 = $par1 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $var8, $par2, $par3); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 4; continue main; } } $var10 = $par2 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $var10, $par3); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 5; continue main; } } if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, var$14, $par3); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 6; continue main; } } $var9 = $par3 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par2, $var9); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 7; continue main; } } $var10 = $par3 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par2, $var10); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 8; continue main; } } $par2 = $par5Block.$blockID; if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var7, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 9; continue main; } } if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var8, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 10; continue main; } } $par4 = var$14 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 11; continue main; } } $par4 = var$14 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 12; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var9); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 13; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var10); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 14; continue main; } } return; case 4: var$12.$onNeighborBlockChange($par0World, $var8, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var10 = $par2 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $var10, $par3); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 5; continue main; } } if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, var$14, $par3); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 6; continue main; } } $var9 = $par3 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par2, $var9); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 7; continue main; } } $var10 = $par3 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par2, $var10); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 8; continue main; } } $par2 = $par5Block.$blockID; if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var7, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 9; continue main; } } if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var8, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 10; continue main; } } $par4 = var$14 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 11; continue main; } } $par4 = var$14 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 12; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var9); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 13; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var10); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 14; continue main; } } return; case 5: var$12.$onNeighborBlockChange($par0World, $par1, $var10, $par3, $par4); if ($rt_suspending()) { break main; } if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, var$14, $par3); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 6; continue main; } } $var9 = $par3 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par2, $var9); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 7; continue main; } } $var10 = $par3 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par2, $var10); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 8; continue main; } } $par2 = $par5Block.$blockID; if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var7, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 9; continue main; } } if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var8, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 10; continue main; } } $par4 = var$14 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 11; continue main; } } $par4 = var$14 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 12; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var9); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 13; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var10); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 14; continue main; } } return; case 6: var$12.$onNeighborBlockChange($par0World, $par1, var$14, $par3, $par4); if ($rt_suspending()) { break main; } $var9 = $par3 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par2, $var9); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 7; continue main; } } $var10 = $par3 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par2, $var10); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 8; continue main; } } $par2 = $par5Block.$blockID; if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var7, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 9; continue main; } } if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var8, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 10; continue main; } } $par4 = var$14 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 11; continue main; } } $par4 = var$14 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 12; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var9); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 13; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var10); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 14; continue main; } } return; case 7: var$12.$onNeighborBlockChange($par0World, $par1, $par2, $var9, $par4); if ($rt_suspending()) { break main; } $var10 = $par3 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par2, $var10); var$12 = nms_Block_blocksList.data[$var6]; if (var$12 !== null) { $ptr = 8; continue main; } } $par2 = $par5Block.$blockID; if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var7, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 9; continue main; } } if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var8, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 10; continue main; } } $par4 = var$14 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 11; continue main; } } $par4 = var$14 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 12; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var9); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 13; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var10); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 14; continue main; } } return; case 8: var$12.$onNeighborBlockChange($par0World, $par1, $par2, $var10, $par4); if ($rt_suspending()) { break main; } $par2 = $par5Block.$blockID; if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var7, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 9; continue main; } } if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var8, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 10; continue main; } } $par4 = var$14 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 11; continue main; } } $par4 = var$14 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 12; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var9); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 13; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var10); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 14; continue main; } } return; case 9: $par5Block.$onNeighborBlockChange($par0World, $var7, var$14, $par3, $par2); if ($rt_suspending()) { break main; } if (!$par0World.$isRemote) { $par4 = nms_World_getBlockId($par0World, $var8, var$14, $par3); $par5Block = nms_Block_blocksList.data[$par4]; if ($par5Block !== null) { $ptr = 10; continue main; } } $par4 = var$14 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 11; continue main; } } $par4 = var$14 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 12; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var9); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 13; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var10); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 14; continue main; } } return; case 10: $par5Block.$onNeighborBlockChange($par0World, $var8, var$14, $par3, $par2); if ($rt_suspending()) { break main; } $par4 = var$14 - 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 11; continue main; } } $par4 = var$14 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 12; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var9); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 13; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var10); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 14; continue main; } } return; case 11: $par5Block.$onNeighborBlockChange($par0World, $par1, $par4, $par3, $par2); if ($rt_suspending()) { break main; } $par4 = var$14 + 1 | 0; if (!$par0World.$isRemote) { $var6 = nms_World_getBlockId($par0World, $par1, $par4, $par3); $par5Block = nms_Block_blocksList.data[$var6]; if ($par5Block !== null) { $ptr = 12; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var9); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 13; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var10); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 14; continue main; } } return; case 12: $par5Block.$onNeighborBlockChange($par0World, $par1, $par4, $par3, $par2); if ($rt_suspending()) { break main; } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var9); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 13; continue main; } } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var10); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 14; continue main; } } return; case 13: $par5Block.$onNeighborBlockChange($par0World, $par1, var$14, $var9, $par2); if ($rt_suspending()) { break main; } if (!$par0World.$isRemote) { $par3 = nms_World_getBlockId($par0World, $par1, var$14, $var10); $par5Block = nms_Block_blocksList.data[$par3]; if ($par5Block !== null) { $ptr = 14; continue main; } } return; case 14: $par5Block.$onNeighborBlockChange($par0World, $par1, var$14, $var10, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0World, $par1, $par2, $par3, $par4, $par5Block, $var6, $var7, $var10, $var12, $var8, var$12, var$13, var$14, $var9, $var11, $ptr); }; function nms_Material() { let a = this; jl_Object.call(a); a.$canBurn = 0; a.$replaceable = 0; a.$isTranslucent = 0; a.$materialMapColor = null; a.$requiresNoTool = 0; a.$mobilityFlag = 0; a.$isAdventureModeExempt = 0; } let nms_Material_air = null, nms_Material_grass = null, nms_Material_ground = null, nms_Material_wood = null, nms_Material_rock = null, nms_Material_iron = null, nms_Material_anvil = null, nms_Material_water = null, nms_Material_lava = null, nms_Material_leaves = null, nms_Material_plants = null, nms_Material_vine = null, nms_Material_sponge = null, nms_Material_cloth = null, nms_Material_fire = null, nms_Material_sand = null, nms_Material_circuits = null, nms_Material_materialCarpet = null, nms_Material_glass = null, nms_Material_redstoneLight = null, nms_Material_tnt = null, nms_Material_coral = null, nms_Material_ice = null, nms_Material_snow = null, nms_Material_craftedSnow = null, nms_Material_cactus = null, nms_Material_clay = null, nms_Material_pumpkin = null, nms_Material_dragonEgg = null, nms_Material_portal = null, nms_Material_cake = null, nms_Material_web = null, nms_Material_piston = null, nms_Material_$callClinit = () => { nms_Material_$callClinit = $rt_eraseClinit(nms_Material); nms_Material__clinit_(); }, nms_Material_isLiquid = $this => { return 0; }, nms_Material_isSolid = $this => { return 1; }, nms_Material_getCanBlockGrass = $this => { return 1; }, nms_Material_blocksMovement = $this => { return 1; }, nms_Material_setRequiresTool = $this => { $this.$requiresNoTool = 0; return $this; }, nms_Material_setReplaceable = $this => { $this.$replaceable = 1; return $this; }, nms_Material_isReplaceable = $this => { return $this.$replaceable; }, nms_Material_isOpaque = $this => { return !$this.$isTranslucent ? $this.$blocksMovement() : 0; }, nms_Material_isToolNotRequired = $this => { return $this.$requiresNoTool; }, nms_Material_getMaterialMobility = $this => { return $this.$mobilityFlag; }, nms_Material_setNoPushMobility = $this => { $this.$mobilityFlag = 1; return $this; }, nms_Material_setImmovableMobility = $this => { $this.$mobilityFlag = 2; return $this; }, nms_Material_setAdventureModeExempt = $this => { $this.$isAdventureModeExempt = 1; return $this; }, nms_Material_isAdventureModeExempt = $this => { return $this.$isAdventureModeExempt; }, nms_Material__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = new nms_MaterialTransparent; var$2 = nms_MapColor_airColor; nms_Material_$callClinit(); var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$2; var$1.$replaceable = 1; nms_Material_air = var$1; var$1 = new nms_Material; var$3 = nms_MapColor_grassColor; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$3; nms_Material_grass = var$1; var$1 = new nms_Material; var$3 = nms_MapColor_dirtColor; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$3; nms_Material_ground = var$1; var$1 = new nms_Material; var$3 = nms_MapColor_woodColor; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$3; var$1.$canBurn = 1; nms_Material_wood = var$1; var$1 = new nms_Material; var$3 = nms_MapColor_stoneColor; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$3; var$1.$requiresNoTool = 0; nms_Material_rock = var$1; var$1 = new nms_Material; var$4 = nms_MapColor_ironColor; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$4; var$1.$requiresNoTool = 0; nms_Material_iron = var$1; var$1 = new nms_Material; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$4; var$1.$requiresNoTool = 0; var$1.$mobilityFlag = 2; nms_Material_anvil = var$1; var$1 = new nms_MaterialLiquid; var$4 = nms_MapColor_waterColor; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$4; var$1.$replaceable = 1; var$1.$mobilityFlag = 1; var$1.$mobilityFlag = 1; nms_Material_water = var$1; var$1 = new nms_MaterialLiquid; var$4 = nms_MapColor_tntColor; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$4; var$1.$replaceable = 1; var$1.$mobilityFlag = 1; var$1.$mobilityFlag = 1; nms_Material_lava = var$1; var$1 = new nms_Material; var$5 = nms_MapColor_foliageColor; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$5; var$1.$canBurn = 1; var$1.$isTranslucent = 1; var$1.$mobilityFlag = 1; nms_Material_leaves = var$1; var$1 = new nms_MaterialLogic; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$5; var$1.$isAdventureModeExempt = 1; var$1.$mobilityFlag = 1; nms_Material_plants = var$1; var$1 = new nms_MaterialLogic; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$5; var$1.$isAdventureModeExempt = 1; var$1.$canBurn = 1; var$1.$mobilityFlag = 1; var$1.$replaceable = 1; nms_Material_vine = var$1; var$1 = new nms_Material; var$6 = nms_MapColor_clothColor; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$6; nms_Material_sponge = var$1; var$1 = new nms_Material; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$6; var$1.$canBurn = 1; nms_Material_cloth = var$1; var$1 = new nms_MaterialTransparent; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$2; var$1.$replaceable = 1; var$1.$mobilityFlag = 1; nms_Material_fire = var$1; var$1 = new nms_Material; var$7 = nms_MapColor_sandColor; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$7; nms_Material_sand = var$1; var$1 = new nms_MaterialLogic; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$2; var$1.$isAdventureModeExempt = 1; var$1.$mobilityFlag = 1; nms_Material_circuits = var$1; var$1 = new nms_MaterialLogic; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$6; var$1.$isAdventureModeExempt = 1; var$1.$canBurn = 1; nms_Material_materialCarpet = var$1; var$1 = new nms_Material; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$2; var$1.$isTranslucent = 1; var$1.$isAdventureModeExempt = 1; nms_Material_glass = var$1; var$1 = new nms_Material; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$2; var$1.$isAdventureModeExempt = 1; nms_Material_redstoneLight = var$1; var$1 = new nms_Material; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$4; var$1.$canBurn = 1; var$1.$isTranslucent = 1; nms_Material_tnt = var$1; var$1 = new nms_Material; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$5; var$1.$mobilityFlag = 1; nms_Material_coral = var$1; var$1 = new nms_Material; var$4 = nms_MapColor_iceColor; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$4; var$1.$isTranslucent = 1; var$1.$isAdventureModeExempt = 1; nms_Material_ice = var$1; var$1 = new nms_MaterialLogic; var$4 = nms_MapColor_snowColor; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$4; var$1.$isAdventureModeExempt = 1; var$1.$replaceable = 1; var$1.$isTranslucent = 1; var$1.$requiresNoTool = 0; var$1.$mobilityFlag = 1; nms_Material_snow = var$1; var$1 = new nms_Material; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$4; var$1.$requiresNoTool = 0; nms_Material_craftedSnow = var$1; var$1 = new nms_Material; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$5; var$1.$isTranslucent = 1; var$1.$mobilityFlag = 1; nms_Material_cactus = var$1; var$1 = new nms_Material; var$4 = nms_MapColor_clayColor; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$4; nms_Material_clay = var$1; var$1 = new nms_Material; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$5; var$1.$mobilityFlag = 1; nms_Material_pumpkin = var$1; var$1 = new nms_Material; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$5; var$1.$mobilityFlag = 1; nms_Material_dragonEgg = var$1; var$1 = new nms_MaterialPortal; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$2; var$1.$mobilityFlag = 2; nms_Material_portal = var$1; var$1 = new nms_Material; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$2; var$1.$mobilityFlag = 1; nms_Material_cake = var$1; var$1 = new nms_MaterialWeb; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$6; var$1.$requiresNoTool = 0; var$1.$mobilityFlag = 1; nms_Material_web = var$1; var$1 = new nms_Material; var$1.$requiresNoTool = 1; var$1.$materialMapColor = var$3; var$1.$mobilityFlag = 2; nms_Material_piston = var$1; }; function nms_ItemBucket() { nms_Item.call(this); this.$isFull = 0; } let nms_ItemBucket__init_0 = ($this, $par1, $par2) => { nms_Item__init_($this, $par1); $this.$maxStackSize = 1; $this.$isFull = $par2; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabMisc; }, nms_ItemBucket__init_ = (var_0, var_1) => { let var_2 = new nms_ItemBucket(); nms_ItemBucket__init_0(var_2, var_0, var_1); return var_2; }, nms_ItemBucket_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let $var4, $var5, $var6, $var7, $var8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = $this.$isFull ? 0 : 1; $ptr = 1; case 1: $tmp = nms_Item_getMovingObjectPositionFromPlayer($this, $par2World, $par3EntityPlayer, $var4); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($var5 === null) return $par1ItemStack; if ($var5.$typeOfHit === nms_EnumMovingObjectType_TILE) { $var6 = $var5.$blockX; $var7 = $var5.$blockY; $var8 = $var5.$blockZ; $var4 = $this.$isFull; if ($var4) { if ($var4 < 0) { $par1ItemStack = new nms_ItemStack; $par2World = nms_Item_bucketEmpty; nms_ItemStack_$callClinit(); $par1ItemStack.$itemID = $par2World.$itemID0; $par1ItemStack.$stackSize = 1; $par1ItemStack.$itemDamage = 0; return $par1ItemStack; } $var4 = $var5.$sideHit; if (!$var4) $var7 = $var7 + (-1) | 0; if ($var4 == 1) $var7 = $var7 + 1 | 0; if ($var4 == 2) $var8 = $var8 + (-1) | 0; if ($var4 == 3) $var8 = $var8 + 1 | 0; if ($var4 == 4) $var6 = $var6 + (-1) | 0; if ($var4 == 5) $var6 = $var6 + 1 | 0; if (!($par3EntityPlayer.$capabilities.$allowEdit ? 1 : $par1ItemStack === null ? 0 : 1)) return $par1ItemStack; $ptr = 6; continue main; } if (!($par3EntityPlayer.$capabilities.$allowEdit ? 1 : $par1ItemStack === null ? 0 : 1)) return $par1ItemStack; $var4 = nms_World_getBlockId($par2World, $var6, $var7, $var8); if (!$var4) { nms_Material_$callClinit(); $var5 = nms_Material_air; } else { nms_Block_$callClinit(); $var5 = nms_Block_blocksList.data[$var4].$blockMaterial; } nms_Material_$callClinit(); if ($var5 === nms_Material_water && !nms_World_getBlockMetadata($par2World, $var6, $var7, $var8)) { $var4 = 0; var$9 = 0; var$10 = 3; $ptr = 2; continue main; } $var4 = nms_World_getBlockId($par2World, $var6, $var7, $var8); if (!$var4) $var5 = nms_Material_air; else { nms_Block_$callClinit(); $var5 = nms_Block_blocksList.data[$var4].$blockMaterial; } if ($var5 === nms_Material_lava && !nms_World_getBlockMetadata($par2World, $var6, $var7, $var8)) { $var4 = 0; var$9 = 0; var$10 = 3; $ptr = 3; continue main; } } return $par1ItemStack; case 2: nms_World_setBlock($par2World, $var6, $var7, $var8, $var4, var$9, var$10); if ($rt_suspending()) { break main; } if ($par3EntityPlayer.$capabilities.$isCreativeMode) return $par1ItemStack; $var4 = $par1ItemStack.$stackSize - 1 | 0; $par1ItemStack.$stackSize = $var4; if ($var4 <= 0) { $par1ItemStack = new nms_ItemStack; $par2World = nms_Item_bucketWater; nms_ItemStack_$callClinit(); $par1ItemStack.$itemID = $par2World.$itemID0; $par1ItemStack.$stackSize = 1; $par1ItemStack.$itemDamage = 0; return $par1ItemStack; } $par2World = $par3EntityPlayer.$inventory; $var5 = new nms_ItemStack; var$11 = nms_Item_bucketWater; nms_ItemStack_$callClinit(); $var5.$itemID = var$11.$itemID0; $var5.$stackSize = 1; $var5.$itemDamage = 0; if (nms_InventoryPlayer_addItemStackToInventory($par2World, $var5)) return $par1ItemStack; $var5 = new nms_ItemStack; $var5.$itemID = nms_Item_bucketWater.$itemID0; $var5.$stackSize = 1; $var5.$itemDamage = 0; $var4 = 0; $ptr = 4; continue main; case 3: nms_World_setBlock($par2World, $var6, $var7, $var8, $var4, var$9, var$10); if ($rt_suspending()) { break main; } if ($par3EntityPlayer.$capabilities.$isCreativeMode) return $par1ItemStack; $var4 = $par1ItemStack.$stackSize - 1 | 0; $par1ItemStack.$stackSize = $var4; if ($var4 <= 0) { $par1ItemStack = new nms_ItemStack; $par2World = nms_Item_bucketLava; nms_ItemStack_$callClinit(); $par1ItemStack.$itemID = $par2World.$itemID0; $par1ItemStack.$stackSize = 1; $par1ItemStack.$itemDamage = 0; return $par1ItemStack; } $par2World = $par3EntityPlayer.$inventory; $var5 = new nms_ItemStack; var$11 = nms_Item_bucketLava; nms_ItemStack_$callClinit(); $var5.$itemID = var$11.$itemID0; $var5.$stackSize = 1; $var5.$itemDamage = 0; if (nms_InventoryPlayer_addItemStackToInventory($par2World, $var5)) return $par1ItemStack; $par2World = new nms_ItemStack; $par2World.$itemID = nms_Item_bucketLava.$itemID0; $par2World.$stackSize = 1; $par2World.$itemDamage = 0; $var4 = 0; $ptr = 5; continue main; case 4: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par3EntityPlayer, $var5, $var4); if ($rt_suspending()) { break main; } return $par1ItemStack; case 5: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par3EntityPlayer, $par2World, $var4); if ($rt_suspending()) { break main; } return $par1ItemStack; case 6: $tmp = nms_ItemBucket_tryPlaceContainedLiquid($this, $par2World, $var6, $var7, $var8); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 && !$par3EntityPlayer.$capabilities.$isCreativeMode) { $par1ItemStack = new nms_ItemStack; $par2World = nms_Item_bucketEmpty; nms_ItemStack_$callClinit(); $par1ItemStack.$itemID = $par2World.$itemID0; $par1ItemStack.$stackSize = 1; $par1ItemStack.$itemDamage = 0; return $par1ItemStack; } return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, $var4, $var5, $var6, $var7, $var8, var$9, var$10, var$11, $ptr); }, nms_ItemBucket_tryPlaceContainedLiquid = ($this, $par1World, $par2, $par3, $par4) => { let $var7, $var5, $var6, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var7 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$isFull <= 0) return 0; $var7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (!$var7) { nms_Material_$callClinit(); $var5 = nms_Material_air; } else { nms_Block_$callClinit(); $var5 = nms_Block_blocksList.data[$var7].$blockMaterial; } $var6 = $var5.$isSolid() ? 0 : 1; $var7 = nms_World_getBlockId($par1World, $par2, $par3, $par4) ? 0 : 1; if (!$var7 && !$var6) return 0; if ($par1World.$provider.$isHellWorld) { $var7 = $this.$isFull; nms_Block_$callClinit(); if ($var7 == nms_Block_waterMoving.$blockID) { $var5 = $par1World.$rand0; var$8 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$8; $var5.$seed = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7 = 0; while (true) { $var6 = $rt_compare($var7, $par1World.$worldAccesses.$size0); if ($var6 >= 0) { $var7 = 0; var$9 = $par2; var$10 = $par3; var$11 = $par4; while ($var7 < 8) { $var5 = $rt_s(1488); var$12 = var$9 + jl_Math_randomImpl(); var$13 = var$10 + jl_Math_randomImpl(); var$14 = var$11 + jl_Math_randomImpl(); var$15 = 0.0; var$16 = 0.0; var$17 = 0.0; $par3 = 0; var$18 = $par1World.$worldAccesses; $par2 = $rt_compare($par3, var$18.$size0); if ($par2 < 0) { if ($par3 >= 0 && $par2 < 0) { var$18 = var$18.$array.data[$par3]; $ptr = 3; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var7 = $var7 + 1 | 0; } return 1; } if ($var7 < 0) break; if ($var6 >= 0) break; $var7 = $var7 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } if (!$par1World.$isRemote && $var6 && !$var5.$isLiquid()) { $var7 = 1; $ptr = 2; continue main; } var$19 = $this.$isFull; $var7 = 0; $var6 = 3; $ptr = 1; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, var$19, $var7, $var6); if ($rt_suspending()) { break main; } return 1; case 2: nms_World_destroyBlock($par1World, $par2, $par3, $par4, $var7); if ($rt_suspending()) { break main; } var$19 = $this.$isFull; $var7 = 0; $var6 = 3; $ptr = 1; continue main; case 3: nms_RenderGlobal_doSpawnParticle(var$18, $var5, var$12, var$13, var$14, var$15, var$16, var$17); if ($rt_suspending()) { break main; } $par3 = $par3 + 1 | 0; while (true) { var$18 = $par1World.$worldAccesses; $par2 = $rt_compare($par3, var$18.$size0); if ($par2 < 0) { if ($par3 >= 0 && $par2 < 0) { var$18 = var$18.$array.data[$par3]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var7 = $var7 + 1 | 0; if ($var7 >= 8) break; $var5 = $rt_s(1488); var$12 = var$9 + jl_Math_randomImpl(); var$13 = var$10 + jl_Math_randomImpl(); var$14 = var$11 + jl_Math_randomImpl(); var$15 = 0.0; var$16 = 0.0; var$17 = 0.0; $par3 = 0; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var7, $var5, $var6, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }; function nms_ItemMinecart() { nms_Item.call(this); this.$minecartType = 0; } let nms_ItemMinecart_dispenserMinecartBehavior = null, nms_ItemMinecart__init_0 = ($this, $par1, $par2) => { let var$3, var$4; nms_Item__init_($this, $par1); $this.$maxStackSize = 1; $this.$minecartType = $par2; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabTransport; var$3 = nms_BlockDispenser_dispenseBehaviorRegistry; var$4 = nms_ItemMinecart_dispenserMinecartBehavior; ju_HashMap_putImpl(var$3.$registryObjects, $this, var$4); }, nms_ItemMinecart__init_ = (var_0, var_1) => { let var_2 = new nms_ItemMinecart(); nms_ItemMinecart__init_0(var_2, var_0, var_1); return var_2; }, nms_ItemMinecart_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let var$11, var$12, var$13, $var12, var$15, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!nms_BlockRailBase_isRailBlock(nms_World_getBlockId($par3World, $par4, $par5, $par6))) return 0; if ($par3World.$isRemote) { $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; } var$11 = $par4 + 0.5; var$12 = $par5 + 0.5; var$13 = $par6 + 0.5; switch ($this.$minecartType) { case 1: $var12 = new nms_EntityMinecartChest; nms_Entity__init_($var12, $par3World); $var12.$preventEntitySpawning = 1; $par9 = 0.9800000190734863; $par8 = 0.699999988079071; $ptr = 1; continue main; case 2: break; case 3: $var12 = new nms_EntityMinecartTNT; nms_Entity__init_($var12, $par3World); $var12.$preventEntitySpawning = 1; $par9 = 0.9800000190734863; $par8 = 0.699999988079071; $ptr = 3; continue main; case 4: $var12 = new nms_EntityMinecartMobSpawner; nms_Entity__init_($var12, $par3World); $var12.$preventEntitySpawning = 1; $par9 = 0.9800000190734863; $par8 = 0.699999988079071; $ptr = 4; continue main; case 5: $var12 = new nms_EntityMinecartHopper; nms_Entity__init_($var12, $par3World); $var12.$preventEntitySpawning = 1; $par9 = 0.9800000190734863; $par8 = 0.699999988079071; $ptr = 5; continue main; default: $var12 = new nms_EntityMinecartEmpty; nms_Entity__init_($var12, $par3World); $var12.$preventEntitySpawning = 1; $par9 = 0.9800000190734863; $par8 = 0.699999988079071; $ptr = 6; continue main; } $var12 = new nms_EntityMinecartFurnace; nms_Entity__init_($var12, $par3World); $var12.$preventEntitySpawning = 1; $par9 = 0.9800000190734863; $par8 = 0.699999988079071; $ptr = 2; continue main; case 1: nms_Entity_setSize($var12, $par9, $par8); if ($rt_suspending()) { break main; } $var12.$yOffset = $var12.$height2 / 2.0; $par2EntityPlayer = new nms_SoundUpdaterMinecart; var$15 = $par3World.$mc2; var$16 = var$15.$sndManager; var$15 = var$15.$thePlayer; $par2EntityPlayer.$theSoundManager = var$16; $par2EntityPlayer.$theMinecart = $var12; $par2EntityPlayer.$thePlayer0 = var$15; $var12.$field_82344_g = $par2EntityPlayer; nms_Entity_setPosition($var12, var$11, var$12, var$13); $var12.$motionX = 0.0; $var12.$motionY = 0.0; $var12.$motionZ = 0.0; $var12.$prevPosX = var$11; $var12.$prevPosY = var$12; $var12.$prevPosZ = var$13; $var12.$minecartContainerItems = $rt_createArray(nms_ItemStack, 36); $var12.$dropContentsWhenDead = 1; var$15 = $par1ItemStack.$stackTagCompound; if (var$15 !== null) { a: { var$15 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par6) { b: { var$16 = var$15.$key; if ($rt_s(1525) !== var$16) { if ($rt_s(1525) !== var$16) { if (var$16 instanceof jl_String) { var$16 = var$16; $par4 = $rt_s(1525).$nativeString !== var$16.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break b; } } $par4 = 1; } if ($par4) break; } var$15 = var$15.$next3; } if (!(var$15 === null ? 0 : 1)) $par4 = 0; else { c: { $par2EntityPlayer = $par1ItemStack.$stackTagCompound; var$16 = $par2EntityPlayer.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$16.$elementData.data; var$16 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par6) { d: { var$18 = var$16.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) !== var$18) { if (!(var$18 instanceof jl_String)) $par4 = 0; else { var$18 = var$18; $par4 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } } else $par4 = 1; if (!$par4) { $par4 = 0; break d; } } $par4 = 1; } if ($par4) break; } var$16 = var$16.$next3; } if (var$16 === null ? 0 : 1) { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if ($rt_s(1525) === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$17[$par6 & (var$17.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par6) { f: { var$16 = $par2EntityPlayer.$key; if ($rt_s(1525) !== var$16) { if ($rt_s(1525) === var$16) $par4 = 1; else if (!(var$16 instanceof jl_String)) $par4 = 0; else { var$16 = var$16; $par4 = $rt_s(1525).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break f; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } $par2EntityPlayer = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; } else { $par2EntityPlayer = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par2EntityPlayer.$name = $rt_s(1525); else $par2EntityPlayer.$name = $rt_s(18); var$15 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$19 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$17 = var$19.data; var$15.$elementData = var$19; var$15.$loadFactor = 0.75; var$15.$threshold = var$17.length * 0.75 | 0; $par2EntityPlayer.$tagMap = var$15; } g: { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$17[$par6 & (var$17.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par6) { h: { var$16 = $par2EntityPlayer.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) !== var$16) { if (var$16 instanceof jl_String) { var$16 = var$16; $par4 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break h; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } $par4 = $par2EntityPlayer === null ? 0 : 1; } } else $par4 = 0; if ($par4) { nms_Item_$callClinit(); $par2EntityPlayer = nms_Item_itemsList.data[$par1ItemStack.$itemID].$getItemDisplayName($par1ItemStack); var$15 = $par1ItemStack.$stackTagCompound; if (var$15 !== null) { i: { var$15 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { j: { var$18 = var$15.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) !== var$18) { if (!(var$18 instanceof jl_String)) $par5 = 0; else { var$18 = var$18; $par5 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } } else $par5 = 1; if (!$par5) { $par5 = 0; break j; } } $par5 = 1; } if ($par5) break; } var$15 = var$15.$next3; } if (var$15 === null ? 0 : 1) { k: { var$15 = $par1ItemStack.$stackTagCompound; var$18 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$18.$elementData.data; var$18 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == $par6) { l: { var$20 = var$18.$key; if ($rt_s(1525) !== var$20) { if ($rt_s(1525) !== var$20) { if (var$20 instanceof jl_String) { var$20 = var$20; $par4 = $rt_s(1525).$nativeString !== var$20.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break l; } } $par4 = 1; } if ($par4) break; } var$18 = var$18.$next3; } if (!(var$18 === null ? 0 : 1)) { var$18 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$18.$name = $rt_s(1525); else var$18.$name = $rt_s(18); var$15 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$19 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$17 = var$19.data; var$15.$elementData = var$19; var$15.$loadFactor = 0.75; var$15.$threshold = var$17.length * 0.75 | 0; var$18.$tagMap = var$15; } else { var$15 = var$15.$tagMap; if ($rt_s(1525) === null) { var$20 = var$15.$elementData.data[0]; while (var$20 !== null && var$20.$key !== null) { var$20 = var$20.$next3; } } else { m: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par5 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$20 = var$17[$par5 & (var$17.length - 1 | 0)]; while (var$20 !== null) { if (var$20.$origKeyHash == $par5) { n: { var$15 = var$20.$key; if ($rt_s(1525) !== var$15) { if ($rt_s(1525) === var$15) $par4 = 1; else if (!(var$15 instanceof jl_String)) $par4 = 0; else { var$15 = var$15; $par4 = $rt_s(1525).$nativeString !== var$15.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break n; } } $par4 = 1; } if ($par4) break; } var$20 = var$20.$next3; } } var$18 = var$20 === null ? null : var$20.$value1; } o: { var$16 = var$18.$tagMap; if (!$rt_s(1526).$hashCode1) { $par5 = 0; while (true) { if ($par5 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par5) | 0; $par5 = $par5 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = var$16.$elementData.data; var$16 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par6) { p: { var$20 = var$16.$key; if ($rt_s(1526) !== var$20) { if ($rt_s(1526) === var$20) $par4 = 1; else if (!(var$20 instanceof jl_String)) $par4 = 0; else { var$20 = var$20; $par4 = $rt_s(1526).$nativeString !== var$20.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break p; } } $par4 = 1; } if ($par4) break; } var$16 = var$16.$next3; } if (var$16 === null ? 0 : 1) { q: { var$15 = var$18.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break q; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par6) { r: { var$16 = var$15.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) === var$16) $par4 = 1; else if (!(var$16 instanceof jl_String)) $par4 = 0; else { var$16 = var$16; $par4 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break r; } } $par4 = 1; } if ($par4) break; } var$15 = var$15.$next3; } if (!(var$15 === null ? 0 : 1)) $par2EntityPlayer = $rt_s(18); else { var$15 = var$18.$tagMap; if ($rt_s(1526) === null) { var$15 = var$15.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { s: { if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { t: { var$16 = var$15.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) === var$16) $par5 = 1; else if (!(var$16 instanceof jl_String)) $par5 = 0; else { var$16 = var$16; $par5 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par5) { $par5 = 0; break t; } } $par5 = 1; } if ($par5) break; } var$15 = var$15.$next3; } } $par2EntityPlayer = (var$15 === null ? null : var$15.$value1).$data1; } } } } $var12.$entityName = $par2EntityPlayer; } $par4 = nms_World_spawnEntityInWorld($par3World, $var12); $par2EntityPlayer = $par3World.$entityList; ju_HashMap_putImpl($par2EntityPlayer.$backingMap, $var12, $par2EntityPlayer); if (!$par4) { $par2EntityPlayer = $par3World.$entitySpawnQueue; ju_HashMap_putImpl($par2EntityPlayer.$backingMap, $var12, $par2EntityPlayer); } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; case 2: nms_Entity_setSize($var12, $par9, $par8); if ($rt_suspending()) { break main; } $var12.$yOffset = $var12.$height2 / 2.0; $par2EntityPlayer = new nms_SoundUpdaterMinecart; var$15 = $par3World.$mc2; var$16 = var$15.$sndManager; var$15 = var$15.$thePlayer; $par2EntityPlayer.$theSoundManager = var$16; $par2EntityPlayer.$theMinecart = $var12; $par2EntityPlayer.$thePlayer0 = var$15; $var12.$field_82344_g = $par2EntityPlayer; nms_Entity_setPosition($var12, var$11, var$12, var$13); $var12.$motionX = 0.0; $var12.$motionY = 0.0; $var12.$motionZ = 0.0; $var12.$prevPosX = var$11; $var12.$prevPosY = var$12; $var12.$prevPosZ = var$13; var$15 = $par1ItemStack.$stackTagCompound; if (var$15 !== null) { a: { var$15 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par6) { b: { var$16 = var$15.$key; if ($rt_s(1525) !== var$16) { if ($rt_s(1525) !== var$16) { if (var$16 instanceof jl_String) { var$16 = var$16; $par4 = $rt_s(1525).$nativeString !== var$16.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break b; } } $par4 = 1; } if ($par4) break; } var$15 = var$15.$next3; } if (!(var$15 === null ? 0 : 1)) $par4 = 0; else { c: { $par2EntityPlayer = $par1ItemStack.$stackTagCompound; var$16 = $par2EntityPlayer.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$16.$elementData.data; var$16 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par6) { d: { var$18 = var$16.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) !== var$18) { if (!(var$18 instanceof jl_String)) $par4 = 0; else { var$18 = var$18; $par4 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } } else $par4 = 1; if (!$par4) { $par4 = 0; break d; } } $par4 = 1; } if ($par4) break; } var$16 = var$16.$next3; } if (var$16 === null ? 0 : 1) { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if ($rt_s(1525) === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$17[$par6 & (var$17.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par6) { f: { var$16 = $par2EntityPlayer.$key; if ($rt_s(1525) !== var$16) { if ($rt_s(1525) === var$16) $par4 = 1; else if (!(var$16 instanceof jl_String)) $par4 = 0; else { var$16 = var$16; $par4 = $rt_s(1525).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break f; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } $par2EntityPlayer = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; } else { $par2EntityPlayer = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par2EntityPlayer.$name = $rt_s(1525); else $par2EntityPlayer.$name = $rt_s(18); var$15 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$19 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$17 = var$19.data; var$15.$elementData = var$19; var$15.$loadFactor = 0.75; var$15.$threshold = var$17.length * 0.75 | 0; $par2EntityPlayer.$tagMap = var$15; } g: { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$17[$par6 & (var$17.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par6) { h: { var$16 = $par2EntityPlayer.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) !== var$16) { if (var$16 instanceof jl_String) { var$16 = var$16; $par4 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break h; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } $par4 = $par2EntityPlayer === null ? 0 : 1; } } else $par4 = 0; if ($par4) { nms_Item_$callClinit(); $par2EntityPlayer = nms_Item_itemsList.data[$par1ItemStack.$itemID].$getItemDisplayName($par1ItemStack); var$15 = $par1ItemStack.$stackTagCompound; if (var$15 !== null) { i: { var$15 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { j: { var$18 = var$15.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) !== var$18) { if (!(var$18 instanceof jl_String)) $par5 = 0; else { var$18 = var$18; $par5 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } } else $par5 = 1; if (!$par5) { $par5 = 0; break j; } } $par5 = 1; } if ($par5) break; } var$15 = var$15.$next3; } if (var$15 === null ? 0 : 1) { k: { var$15 = $par1ItemStack.$stackTagCompound; var$18 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$18.$elementData.data; var$18 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == $par6) { l: { var$20 = var$18.$key; if ($rt_s(1525) !== var$20) { if ($rt_s(1525) !== var$20) { if (var$20 instanceof jl_String) { var$20 = var$20; $par4 = $rt_s(1525).$nativeString !== var$20.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break l; } } $par4 = 1; } if ($par4) break; } var$18 = var$18.$next3; } if (!(var$18 === null ? 0 : 1)) { var$18 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$18.$name = $rt_s(1525); else var$18.$name = $rt_s(18); var$15 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$19 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$17 = var$19.data; var$15.$elementData = var$19; var$15.$loadFactor = 0.75; var$15.$threshold = var$17.length * 0.75 | 0; var$18.$tagMap = var$15; } else { var$15 = var$15.$tagMap; if ($rt_s(1525) === null) { var$20 = var$15.$elementData.data[0]; while (var$20 !== null && var$20.$key !== null) { var$20 = var$20.$next3; } } else { m: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par5 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$20 = var$17[$par5 & (var$17.length - 1 | 0)]; while (var$20 !== null) { if (var$20.$origKeyHash == $par5) { n: { var$15 = var$20.$key; if ($rt_s(1525) !== var$15) { if ($rt_s(1525) === var$15) $par4 = 1; else if (!(var$15 instanceof jl_String)) $par4 = 0; else { var$15 = var$15; $par4 = $rt_s(1525).$nativeString !== var$15.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break n; } } $par4 = 1; } if ($par4) break; } var$20 = var$20.$next3; } } var$18 = var$20 === null ? null : var$20.$value1; } o: { var$16 = var$18.$tagMap; if (!$rt_s(1526).$hashCode1) { $par5 = 0; while (true) { if ($par5 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par5) | 0; $par5 = $par5 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = var$16.$elementData.data; var$16 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par6) { p: { var$20 = var$16.$key; if ($rt_s(1526) !== var$20) { if ($rt_s(1526) === var$20) $par4 = 1; else if (!(var$20 instanceof jl_String)) $par4 = 0; else { var$20 = var$20; $par4 = $rt_s(1526).$nativeString !== var$20.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break p; } } $par4 = 1; } if ($par4) break; } var$16 = var$16.$next3; } if (var$16 === null ? 0 : 1) { q: { var$15 = var$18.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break q; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par6) { r: { var$16 = var$15.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) === var$16) $par4 = 1; else if (!(var$16 instanceof jl_String)) $par4 = 0; else { var$16 = var$16; $par4 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break r; } } $par4 = 1; } if ($par4) break; } var$15 = var$15.$next3; } if (!(var$15 === null ? 0 : 1)) $par2EntityPlayer = $rt_s(18); else { var$15 = var$18.$tagMap; if ($rt_s(1526) === null) { var$15 = var$15.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { s: { if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { t: { var$16 = var$15.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) === var$16) $par5 = 1; else if (!(var$16 instanceof jl_String)) $par5 = 0; else { var$16 = var$16; $par5 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par5) { $par5 = 0; break t; } } $par5 = 1; } if ($par5) break; } var$15 = var$15.$next3; } } $par2EntityPlayer = (var$15 === null ? null : var$15.$value1).$data1; } } } } $var12.$entityName = $par2EntityPlayer; } $par4 = nms_World_spawnEntityInWorld($par3World, $var12); $par2EntityPlayer = $par3World.$entityList; ju_HashMap_putImpl($par2EntityPlayer.$backingMap, $var12, $par2EntityPlayer); if (!$par4) { $par2EntityPlayer = $par3World.$entitySpawnQueue; ju_HashMap_putImpl($par2EntityPlayer.$backingMap, $var12, $par2EntityPlayer); } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; case 3: nms_Entity_setSize($var12, $par9, $par8); if ($rt_suspending()) { break main; } $var12.$yOffset = $var12.$height2 / 2.0; $par2EntityPlayer = new nms_SoundUpdaterMinecart; var$15 = $par3World.$mc2; var$16 = var$15.$sndManager; var$15 = var$15.$thePlayer; $par2EntityPlayer.$theSoundManager = var$16; $par2EntityPlayer.$theMinecart = $var12; $par2EntityPlayer.$thePlayer0 = var$15; $var12.$field_82344_g = $par2EntityPlayer; nms_Entity_setPosition($var12, var$11, var$12, var$13); $var12.$motionX = 0.0; $var12.$motionY = 0.0; $var12.$motionZ = 0.0; $var12.$prevPosX = var$11; $var12.$prevPosY = var$12; $var12.$prevPosZ = var$13; $var12.$minecartTNTFuse = (-1); var$15 = $par1ItemStack.$stackTagCompound; if (var$15 !== null) { a: { var$15 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par6) { b: { var$16 = var$15.$key; if ($rt_s(1525) !== var$16) { if ($rt_s(1525) !== var$16) { if (var$16 instanceof jl_String) { var$16 = var$16; $par4 = $rt_s(1525).$nativeString !== var$16.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break b; } } $par4 = 1; } if ($par4) break; } var$15 = var$15.$next3; } if (!(var$15 === null ? 0 : 1)) $par4 = 0; else { c: { $par2EntityPlayer = $par1ItemStack.$stackTagCompound; var$16 = $par2EntityPlayer.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$16.$elementData.data; var$16 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par6) { d: { var$18 = var$16.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) !== var$18) { if (!(var$18 instanceof jl_String)) $par4 = 0; else { var$18 = var$18; $par4 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } } else $par4 = 1; if (!$par4) { $par4 = 0; break d; } } $par4 = 1; } if ($par4) break; } var$16 = var$16.$next3; } if (var$16 === null ? 0 : 1) { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if ($rt_s(1525) === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$17[$par6 & (var$17.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par6) { f: { var$16 = $par2EntityPlayer.$key; if ($rt_s(1525) !== var$16) { if ($rt_s(1525) === var$16) $par4 = 1; else if (!(var$16 instanceof jl_String)) $par4 = 0; else { var$16 = var$16; $par4 = $rt_s(1525).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break f; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } $par2EntityPlayer = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; } else { $par2EntityPlayer = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par2EntityPlayer.$name = $rt_s(1525); else $par2EntityPlayer.$name = $rt_s(18); var$15 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$19 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$17 = var$19.data; var$15.$elementData = var$19; var$15.$loadFactor = 0.75; var$15.$threshold = var$17.length * 0.75 | 0; $par2EntityPlayer.$tagMap = var$15; } g: { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$17[$par6 & (var$17.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par6) { h: { var$16 = $par2EntityPlayer.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) !== var$16) { if (var$16 instanceof jl_String) { var$16 = var$16; $par4 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break h; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } $par4 = $par2EntityPlayer === null ? 0 : 1; } } else $par4 = 0; if ($par4) { nms_Item_$callClinit(); $par2EntityPlayer = nms_Item_itemsList.data[$par1ItemStack.$itemID].$getItemDisplayName($par1ItemStack); var$15 = $par1ItemStack.$stackTagCompound; if (var$15 !== null) { i: { var$15 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { j: { var$18 = var$15.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) !== var$18) { if (!(var$18 instanceof jl_String)) $par5 = 0; else { var$18 = var$18; $par5 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } } else $par5 = 1; if (!$par5) { $par5 = 0; break j; } } $par5 = 1; } if ($par5) break; } var$15 = var$15.$next3; } if (var$15 === null ? 0 : 1) { k: { var$15 = $par1ItemStack.$stackTagCompound; var$18 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$18.$elementData.data; var$18 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == $par6) { l: { var$20 = var$18.$key; if ($rt_s(1525) !== var$20) { if ($rt_s(1525) !== var$20) { if (var$20 instanceof jl_String) { var$20 = var$20; $par4 = $rt_s(1525).$nativeString !== var$20.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break l; } } $par4 = 1; } if ($par4) break; } var$18 = var$18.$next3; } if (!(var$18 === null ? 0 : 1)) { var$18 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$18.$name = $rt_s(1525); else var$18.$name = $rt_s(18); var$15 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$19 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$17 = var$19.data; var$15.$elementData = var$19; var$15.$loadFactor = 0.75; var$15.$threshold = var$17.length * 0.75 | 0; var$18.$tagMap = var$15; } else { var$15 = var$15.$tagMap; if ($rt_s(1525) === null) { var$20 = var$15.$elementData.data[0]; while (var$20 !== null && var$20.$key !== null) { var$20 = var$20.$next3; } } else { m: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par5 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$20 = var$17[$par5 & (var$17.length - 1 | 0)]; while (var$20 !== null) { if (var$20.$origKeyHash == $par5) { n: { var$15 = var$20.$key; if ($rt_s(1525) !== var$15) { if ($rt_s(1525) === var$15) $par4 = 1; else if (!(var$15 instanceof jl_String)) $par4 = 0; else { var$15 = var$15; $par4 = $rt_s(1525).$nativeString !== var$15.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break n; } } $par4 = 1; } if ($par4) break; } var$20 = var$20.$next3; } } var$18 = var$20 === null ? null : var$20.$value1; } o: { var$16 = var$18.$tagMap; if (!$rt_s(1526).$hashCode1) { $par5 = 0; while (true) { if ($par5 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par5) | 0; $par5 = $par5 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = var$16.$elementData.data; var$16 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par6) { p: { var$20 = var$16.$key; if ($rt_s(1526) !== var$20) { if ($rt_s(1526) === var$20) $par4 = 1; else if (!(var$20 instanceof jl_String)) $par4 = 0; else { var$20 = var$20; $par4 = $rt_s(1526).$nativeString !== var$20.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break p; } } $par4 = 1; } if ($par4) break; } var$16 = var$16.$next3; } if (var$16 === null ? 0 : 1) { q: { var$15 = var$18.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break q; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par6) { r: { var$16 = var$15.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) === var$16) $par4 = 1; else if (!(var$16 instanceof jl_String)) $par4 = 0; else { var$16 = var$16; $par4 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break r; } } $par4 = 1; } if ($par4) break; } var$15 = var$15.$next3; } if (!(var$15 === null ? 0 : 1)) $par2EntityPlayer = $rt_s(18); else { var$15 = var$18.$tagMap; if ($rt_s(1526) === null) { var$15 = var$15.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { s: { if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { t: { var$16 = var$15.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) === var$16) $par5 = 1; else if (!(var$16 instanceof jl_String)) $par5 = 0; else { var$16 = var$16; $par5 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par5) { $par5 = 0; break t; } } $par5 = 1; } if ($par5) break; } var$15 = var$15.$next3; } } $par2EntityPlayer = (var$15 === null ? null : var$15.$value1).$data1; } } } } $var12.$entityName = $par2EntityPlayer; } $par4 = nms_World_spawnEntityInWorld($par3World, $var12); $par2EntityPlayer = $par3World.$entityList; ju_HashMap_putImpl($par2EntityPlayer.$backingMap, $var12, $par2EntityPlayer); if (!$par4) { $par2EntityPlayer = $par3World.$entitySpawnQueue; ju_HashMap_putImpl($par2EntityPlayer.$backingMap, $var12, $par2EntityPlayer); } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; case 4: nms_Entity_setSize($var12, $par9, $par8); if ($rt_suspending()) { break main; } $var12.$yOffset = $var12.$height2 / 2.0; $par2EntityPlayer = new nms_SoundUpdaterMinecart; var$15 = $par3World.$mc2; var$16 = var$15.$sndManager; var$15 = var$15.$thePlayer; $par2EntityPlayer.$theSoundManager = var$16; $par2EntityPlayer.$theMinecart = $var12; $par2EntityPlayer.$thePlayer0 = var$15; $var12.$field_82344_g = $par2EntityPlayer; nms_Entity_setPosition($var12, var$11, var$12, var$13); $var12.$motionX = 0.0; $var12.$motionY = 0.0; $var12.$motionZ = 0.0; $var12.$prevPosX = var$11; $var12.$prevPosY = var$12; $var12.$prevPosZ = var$13; $par2EntityPlayer = new nms_EntityMinecartMobSpawnerLogic; $par2EntityPlayer.$spawnDelay = 20; $par2EntityPlayer.$mobID = $rt_s(690); $par2EntityPlayer.$minSpawnDelay = 200; $par2EntityPlayer.$maxSpawnDelay = 800; $par2EntityPlayer.$spawnCount = 4; $par2EntityPlayer.$maxNearbyEntities = 6; $par2EntityPlayer.$activatingRangeFromPlayer = 16; $par2EntityPlayer.$spawnRange = 4; $par2EntityPlayer.$spawnerMinecart = $var12; $var12.$mobSpawnerLogic = $par2EntityPlayer; var$15 = $par1ItemStack.$stackTagCompound; if (var$15 !== null) { a: { var$15 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par6) { b: { var$16 = var$15.$key; if ($rt_s(1525) !== var$16) { if ($rt_s(1525) !== var$16) { if (var$16 instanceof jl_String) { var$16 = var$16; $par4 = $rt_s(1525).$nativeString !== var$16.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break b; } } $par4 = 1; } if ($par4) break; } var$15 = var$15.$next3; } if (!(var$15 === null ? 0 : 1)) $par4 = 0; else { c: { $par2EntityPlayer = $par1ItemStack.$stackTagCompound; var$16 = $par2EntityPlayer.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$16.$elementData.data; var$16 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par6) { d: { var$18 = var$16.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) !== var$18) { if (!(var$18 instanceof jl_String)) $par4 = 0; else { var$18 = var$18; $par4 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } } else $par4 = 1; if (!$par4) { $par4 = 0; break d; } } $par4 = 1; } if ($par4) break; } var$16 = var$16.$next3; } if (var$16 === null ? 0 : 1) { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if ($rt_s(1525) === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$17[$par6 & (var$17.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par6) { f: { var$16 = $par2EntityPlayer.$key; if ($rt_s(1525) !== var$16) { if ($rt_s(1525) === var$16) $par4 = 1; else if (!(var$16 instanceof jl_String)) $par4 = 0; else { var$16 = var$16; $par4 = $rt_s(1525).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break f; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } $par2EntityPlayer = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; } else { $par2EntityPlayer = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par2EntityPlayer.$name = $rt_s(1525); else $par2EntityPlayer.$name = $rt_s(18); var$15 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$19 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$17 = var$19.data; var$15.$elementData = var$19; var$15.$loadFactor = 0.75; var$15.$threshold = var$17.length * 0.75 | 0; $par2EntityPlayer.$tagMap = var$15; } g: { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$17[$par6 & (var$17.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par6) { h: { var$16 = $par2EntityPlayer.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) !== var$16) { if (var$16 instanceof jl_String) { var$16 = var$16; $par4 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break h; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } $par4 = $par2EntityPlayer === null ? 0 : 1; } } else $par4 = 0; if ($par4) { nms_Item_$callClinit(); $par2EntityPlayer = nms_Item_itemsList.data[$par1ItemStack.$itemID].$getItemDisplayName($par1ItemStack); var$15 = $par1ItemStack.$stackTagCompound; if (var$15 !== null) { i: { var$15 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { j: { var$18 = var$15.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) !== var$18) { if (!(var$18 instanceof jl_String)) $par5 = 0; else { var$18 = var$18; $par5 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } } else $par5 = 1; if (!$par5) { $par5 = 0; break j; } } $par5 = 1; } if ($par5) break; } var$15 = var$15.$next3; } if (var$15 === null ? 0 : 1) { k: { var$15 = $par1ItemStack.$stackTagCompound; var$18 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$18.$elementData.data; var$18 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == $par6) { l: { var$20 = var$18.$key; if ($rt_s(1525) !== var$20) { if ($rt_s(1525) !== var$20) { if (var$20 instanceof jl_String) { var$20 = var$20; $par4 = $rt_s(1525).$nativeString !== var$20.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break l; } } $par4 = 1; } if ($par4) break; } var$18 = var$18.$next3; } if (!(var$18 === null ? 0 : 1)) { var$18 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$18.$name = $rt_s(1525); else var$18.$name = $rt_s(18); var$15 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$19 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$17 = var$19.data; var$15.$elementData = var$19; var$15.$loadFactor = 0.75; var$15.$threshold = var$17.length * 0.75 | 0; var$18.$tagMap = var$15; } else { var$15 = var$15.$tagMap; if ($rt_s(1525) === null) { var$20 = var$15.$elementData.data[0]; while (var$20 !== null && var$20.$key !== null) { var$20 = var$20.$next3; } } else { m: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par5 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$20 = var$17[$par5 & (var$17.length - 1 | 0)]; while (var$20 !== null) { if (var$20.$origKeyHash == $par5) { n: { var$15 = var$20.$key; if ($rt_s(1525) !== var$15) { if ($rt_s(1525) === var$15) $par4 = 1; else if (!(var$15 instanceof jl_String)) $par4 = 0; else { var$15 = var$15; $par4 = $rt_s(1525).$nativeString !== var$15.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break n; } } $par4 = 1; } if ($par4) break; } var$20 = var$20.$next3; } } var$18 = var$20 === null ? null : var$20.$value1; } o: { var$16 = var$18.$tagMap; if (!$rt_s(1526).$hashCode1) { $par5 = 0; while (true) { if ($par5 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par5) | 0; $par5 = $par5 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = var$16.$elementData.data; var$16 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par6) { p: { var$20 = var$16.$key; if ($rt_s(1526) !== var$20) { if ($rt_s(1526) === var$20) $par4 = 1; else if (!(var$20 instanceof jl_String)) $par4 = 0; else { var$20 = var$20; $par4 = $rt_s(1526).$nativeString !== var$20.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break p; } } $par4 = 1; } if ($par4) break; } var$16 = var$16.$next3; } if (var$16 === null ? 0 : 1) { q: { var$15 = var$18.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break q; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par6) { r: { var$16 = var$15.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) === var$16) $par4 = 1; else if (!(var$16 instanceof jl_String)) $par4 = 0; else { var$16 = var$16; $par4 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break r; } } $par4 = 1; } if ($par4) break; } var$15 = var$15.$next3; } if (!(var$15 === null ? 0 : 1)) $par2EntityPlayer = $rt_s(18); else { var$15 = var$18.$tagMap; if ($rt_s(1526) === null) { var$15 = var$15.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { s: { if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { t: { var$16 = var$15.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) === var$16) $par5 = 1; else if (!(var$16 instanceof jl_String)) $par5 = 0; else { var$16 = var$16; $par5 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par5) { $par5 = 0; break t; } } $par5 = 1; } if ($par5) break; } var$15 = var$15.$next3; } } $par2EntityPlayer = (var$15 === null ? null : var$15.$value1).$data1; } } } } $var12.$entityName = $par2EntityPlayer; } $par4 = nms_World_spawnEntityInWorld($par3World, $var12); $par2EntityPlayer = $par3World.$entityList; ju_HashMap_putImpl($par2EntityPlayer.$backingMap, $var12, $par2EntityPlayer); if (!$par4) { $par2EntityPlayer = $par3World.$entitySpawnQueue; ju_HashMap_putImpl($par2EntityPlayer.$backingMap, $var12, $par2EntityPlayer); } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; case 5: nms_Entity_setSize($var12, $par9, $par8); if ($rt_suspending()) { break main; } $var12.$yOffset = $var12.$height2 / 2.0; $par2EntityPlayer = new nms_SoundUpdaterMinecart; var$15 = $par3World.$mc2; var$16 = var$15.$sndManager; var$15 = var$15.$thePlayer; $par2EntityPlayer.$theSoundManager = var$16; $par2EntityPlayer.$theMinecart = $var12; $par2EntityPlayer.$thePlayer0 = var$15; $var12.$field_82344_g = $par2EntityPlayer; nms_Entity_setPosition($var12, var$11, var$12, var$13); $var12.$motionX = 0.0; $var12.$motionY = 0.0; $var12.$motionZ = 0.0; $var12.$prevPosX = var$11; $var12.$prevPosY = var$12; $var12.$prevPosZ = var$13; $var12.$minecartContainerItems = $rt_createArray(nms_ItemStack, 36); $var12.$dropContentsWhenDead = 1; $var12.$isBlocked = 1; $var12.$transferTicker = (-1); var$15 = $par1ItemStack.$stackTagCompound; if (var$15 !== null) { a: { var$15 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par6) { b: { var$16 = var$15.$key; if ($rt_s(1525) !== var$16) { if ($rt_s(1525) !== var$16) { if (var$16 instanceof jl_String) { var$16 = var$16; $par4 = $rt_s(1525).$nativeString !== var$16.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break b; } } $par4 = 1; } if ($par4) break; } var$15 = var$15.$next3; } if (!(var$15 === null ? 0 : 1)) $par4 = 0; else { c: { $par2EntityPlayer = $par1ItemStack.$stackTagCompound; var$16 = $par2EntityPlayer.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$16.$elementData.data; var$16 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par6) { d: { var$18 = var$16.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) !== var$18) { if (!(var$18 instanceof jl_String)) $par4 = 0; else { var$18 = var$18; $par4 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } } else $par4 = 1; if (!$par4) { $par4 = 0; break d; } } $par4 = 1; } if ($par4) break; } var$16 = var$16.$next3; } if (var$16 === null ? 0 : 1) { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if ($rt_s(1525) === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$17[$par6 & (var$17.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par6) { f: { var$16 = $par2EntityPlayer.$key; if ($rt_s(1525) !== var$16) { if ($rt_s(1525) === var$16) $par4 = 1; else if (!(var$16 instanceof jl_String)) $par4 = 0; else { var$16 = var$16; $par4 = $rt_s(1525).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break f; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } $par2EntityPlayer = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; } else { $par2EntityPlayer = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par2EntityPlayer.$name = $rt_s(1525); else $par2EntityPlayer.$name = $rt_s(18); var$15 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$19 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$17 = var$19.data; var$15.$elementData = var$19; var$15.$loadFactor = 0.75; var$15.$threshold = var$17.length * 0.75 | 0; $par2EntityPlayer.$tagMap = var$15; } g: { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$17[$par6 & (var$17.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par6) { h: { var$16 = $par2EntityPlayer.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) !== var$16) { if (var$16 instanceof jl_String) { var$16 = var$16; $par4 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break h; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } $par4 = $par2EntityPlayer === null ? 0 : 1; } } else $par4 = 0; if ($par4) { nms_Item_$callClinit(); $par2EntityPlayer = nms_Item_itemsList.data[$par1ItemStack.$itemID].$getItemDisplayName($par1ItemStack); var$15 = $par1ItemStack.$stackTagCompound; if (var$15 !== null) { i: { var$15 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { j: { var$18 = var$15.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) !== var$18) { if (!(var$18 instanceof jl_String)) $par5 = 0; else { var$18 = var$18; $par5 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } } else $par5 = 1; if (!$par5) { $par5 = 0; break j; } } $par5 = 1; } if ($par5) break; } var$15 = var$15.$next3; } if (var$15 === null ? 0 : 1) { k: { var$15 = $par1ItemStack.$stackTagCompound; var$18 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$18.$elementData.data; var$18 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == $par6) { l: { var$20 = var$18.$key; if ($rt_s(1525) !== var$20) { if ($rt_s(1525) !== var$20) { if (var$20 instanceof jl_String) { var$20 = var$20; $par4 = $rt_s(1525).$nativeString !== var$20.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break l; } } $par4 = 1; } if ($par4) break; } var$18 = var$18.$next3; } if (!(var$18 === null ? 0 : 1)) { var$18 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$18.$name = $rt_s(1525); else var$18.$name = $rt_s(18); var$15 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$19 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$17 = var$19.data; var$15.$elementData = var$19; var$15.$loadFactor = 0.75; var$15.$threshold = var$17.length * 0.75 | 0; var$18.$tagMap = var$15; } else { var$15 = var$15.$tagMap; if ($rt_s(1525) === null) { var$20 = var$15.$elementData.data[0]; while (var$20 !== null && var$20.$key !== null) { var$20 = var$20.$next3; } } else { m: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par5 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$20 = var$17[$par5 & (var$17.length - 1 | 0)]; while (var$20 !== null) { if (var$20.$origKeyHash == $par5) { n: { var$15 = var$20.$key; if ($rt_s(1525) !== var$15) { if ($rt_s(1525) === var$15) $par4 = 1; else if (!(var$15 instanceof jl_String)) $par4 = 0; else { var$15 = var$15; $par4 = $rt_s(1525).$nativeString !== var$15.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break n; } } $par4 = 1; } if ($par4) break; } var$20 = var$20.$next3; } } var$18 = var$20 === null ? null : var$20.$value1; } o: { var$16 = var$18.$tagMap; if (!$rt_s(1526).$hashCode1) { $par5 = 0; while (true) { if ($par5 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par5) | 0; $par5 = $par5 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = var$16.$elementData.data; var$16 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par6) { p: { var$20 = var$16.$key; if ($rt_s(1526) !== var$20) { if ($rt_s(1526) === var$20) $par4 = 1; else if (!(var$20 instanceof jl_String)) $par4 = 0; else { var$20 = var$20; $par4 = $rt_s(1526).$nativeString !== var$20.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break p; } } $par4 = 1; } if ($par4) break; } var$16 = var$16.$next3; } if (var$16 === null ? 0 : 1) { q: { var$15 = var$18.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break q; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par6) { r: { var$16 = var$15.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) === var$16) $par4 = 1; else if (!(var$16 instanceof jl_String)) $par4 = 0; else { var$16 = var$16; $par4 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break r; } } $par4 = 1; } if ($par4) break; } var$15 = var$15.$next3; } if (!(var$15 === null ? 0 : 1)) $par2EntityPlayer = $rt_s(18); else { var$15 = var$18.$tagMap; if ($rt_s(1526) === null) { var$15 = var$15.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { s: { if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { t: { var$16 = var$15.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) === var$16) $par5 = 1; else if (!(var$16 instanceof jl_String)) $par5 = 0; else { var$16 = var$16; $par5 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par5) { $par5 = 0; break t; } } $par5 = 1; } if ($par5) break; } var$15 = var$15.$next3; } } $par2EntityPlayer = (var$15 === null ? null : var$15.$value1).$data1; } } } } $var12.$entityName = $par2EntityPlayer; } $par4 = nms_World_spawnEntityInWorld($par3World, $var12); $par2EntityPlayer = $par3World.$entityList; ju_HashMap_putImpl($par2EntityPlayer.$backingMap, $var12, $par2EntityPlayer); if (!$par4) { $par2EntityPlayer = $par3World.$entitySpawnQueue; ju_HashMap_putImpl($par2EntityPlayer.$backingMap, $var12, $par2EntityPlayer); } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; case 6: nms_Entity_setSize($var12, $par9, $par8); if ($rt_suspending()) { break main; } $var12.$yOffset = $var12.$height2 / 2.0; $par2EntityPlayer = new nms_SoundUpdaterMinecart; var$15 = $par3World.$mc2; var$16 = var$15.$sndManager; var$15 = var$15.$thePlayer; $par2EntityPlayer.$theSoundManager = var$16; $par2EntityPlayer.$theMinecart = $var12; $par2EntityPlayer.$thePlayer0 = var$15; $var12.$field_82344_g = $par2EntityPlayer; nms_Entity_setPosition($var12, var$11, var$12, var$13); $var12.$motionX = 0.0; $var12.$motionY = 0.0; $var12.$motionZ = 0.0; $var12.$prevPosX = var$11; $var12.$prevPosY = var$12; $var12.$prevPosZ = var$13; var$15 = $par1ItemStack.$stackTagCompound; if (var$15 !== null) { a: { var$15 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par6) { b: { var$16 = var$15.$key; if ($rt_s(1525) !== var$16) { if ($rt_s(1525) !== var$16) { if (var$16 instanceof jl_String) { var$16 = var$16; $par4 = $rt_s(1525).$nativeString !== var$16.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break b; } } $par4 = 1; } if ($par4) break; } var$15 = var$15.$next3; } if (!(var$15 === null ? 0 : 1)) $par4 = 0; else { c: { $par2EntityPlayer = $par1ItemStack.$stackTagCompound; var$16 = $par2EntityPlayer.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$16.$elementData.data; var$16 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par6) { d: { var$18 = var$16.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) !== var$18) { if (!(var$18 instanceof jl_String)) $par4 = 0; else { var$18 = var$18; $par4 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } } else $par4 = 1; if (!$par4) { $par4 = 0; break d; } } $par4 = 1; } if ($par4) break; } var$16 = var$16.$next3; } if (var$16 === null ? 0 : 1) { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if ($rt_s(1525) === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$17[$par6 & (var$17.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par6) { f: { var$16 = $par2EntityPlayer.$key; if ($rt_s(1525) !== var$16) { if ($rt_s(1525) === var$16) $par4 = 1; else if (!(var$16 instanceof jl_String)) $par4 = 0; else { var$16 = var$16; $par4 = $rt_s(1525).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break f; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } $par2EntityPlayer = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; } else { $par2EntityPlayer = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par2EntityPlayer.$name = $rt_s(1525); else $par2EntityPlayer.$name = $rt_s(18); var$15 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$19 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$17 = var$19.data; var$15.$elementData = var$19; var$15.$loadFactor = 0.75; var$15.$threshold = var$17.length * 0.75 | 0; $par2EntityPlayer.$tagMap = var$15; } g: { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$17[$par6 & (var$17.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par6) { h: { var$16 = $par2EntityPlayer.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) !== var$16) { if (var$16 instanceof jl_String) { var$16 = var$16; $par4 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break h; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } $par4 = $par2EntityPlayer === null ? 0 : 1; } } else $par4 = 0; if ($par4) { nms_Item_$callClinit(); $par2EntityPlayer = nms_Item_itemsList.data[$par1ItemStack.$itemID].$getItemDisplayName($par1ItemStack); var$15 = $par1ItemStack.$stackTagCompound; if (var$15 !== null) { i: { var$15 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { j: { var$18 = var$15.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) !== var$18) { if (!(var$18 instanceof jl_String)) $par5 = 0; else { var$18 = var$18; $par5 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } } else $par5 = 1; if (!$par5) { $par5 = 0; break j; } } $par5 = 1; } if ($par5) break; } var$15 = var$15.$next3; } if (var$15 === null ? 0 : 1) { k: { var$15 = $par1ItemStack.$stackTagCompound; var$18 = var$15.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$17 = var$18.$elementData.data; var$18 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == $par6) { l: { var$20 = var$18.$key; if ($rt_s(1525) !== var$20) { if ($rt_s(1525) !== var$20) { if (var$20 instanceof jl_String) { var$20 = var$20; $par4 = $rt_s(1525).$nativeString !== var$20.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break l; } } $par4 = 1; } if ($par4) break; } var$18 = var$18.$next3; } if (!(var$18 === null ? 0 : 1)) { var$18 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$18.$name = $rt_s(1525); else var$18.$name = $rt_s(18); var$15 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$19 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$17 = var$19.data; var$15.$elementData = var$19; var$15.$loadFactor = 0.75; var$15.$threshold = var$17.length * 0.75 | 0; var$18.$tagMap = var$15; } else { var$15 = var$15.$tagMap; if ($rt_s(1525) === null) { var$20 = var$15.$elementData.data[0]; while (var$20 !== null && var$20.$key !== null) { var$20 = var$20.$next3; } } else { m: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par5 = $rt_s(1525).$hashCode1; var$17 = var$15.$elementData.data; var$20 = var$17[$par5 & (var$17.length - 1 | 0)]; while (var$20 !== null) { if (var$20.$origKeyHash == $par5) { n: { var$15 = var$20.$key; if ($rt_s(1525) !== var$15) { if ($rt_s(1525) === var$15) $par4 = 1; else if (!(var$15 instanceof jl_String)) $par4 = 0; else { var$15 = var$15; $par4 = $rt_s(1525).$nativeString !== var$15.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break n; } } $par4 = 1; } if ($par4) break; } var$20 = var$20.$next3; } } var$18 = var$20 === null ? null : var$20.$value1; } o: { var$16 = var$18.$tagMap; if (!$rt_s(1526).$hashCode1) { $par5 = 0; while (true) { if ($par5 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par5) | 0; $par5 = $par5 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = var$16.$elementData.data; var$16 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par6) { p: { var$20 = var$16.$key; if ($rt_s(1526) !== var$20) { if ($rt_s(1526) === var$20) $par4 = 1; else if (!(var$20 instanceof jl_String)) $par4 = 0; else { var$20 = var$20; $par4 = $rt_s(1526).$nativeString !== var$20.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break p; } } $par4 = 1; } if ($par4) break; } var$16 = var$16.$next3; } if (var$16 === null ? 0 : 1) { q: { var$15 = var$18.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break q; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par6 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par6) { r: { var$16 = var$15.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) === var$16) $par4 = 1; else if (!(var$16 instanceof jl_String)) $par4 = 0; else { var$16 = var$16; $par4 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break r; } } $par4 = 1; } if ($par4) break; } var$15 = var$15.$next3; } if (!(var$15 === null ? 0 : 1)) $par2EntityPlayer = $rt_s(18); else { var$15 = var$18.$tagMap; if ($rt_s(1526) === null) { var$15 = var$15.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { s: { if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$17 = var$15.$elementData.data; var$15 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { t: { var$16 = var$15.$key; if ($rt_s(1526) !== var$16) { if ($rt_s(1526) === var$16) $par5 = 1; else if (!(var$16 instanceof jl_String)) $par5 = 0; else { var$16 = var$16; $par5 = $rt_s(1526).$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par5) { $par5 = 0; break t; } } $par5 = 1; } if ($par5) break; } var$15 = var$15.$next3; } } $par2EntityPlayer = (var$15 === null ? null : var$15.$value1).$data1; } } } } $var12.$entityName = $par2EntityPlayer; } $par4 = nms_World_spawnEntityInWorld($par3World, $var12); $par2EntityPlayer = $par3World.$entityList; ju_HashMap_putImpl($par2EntityPlayer.$backingMap, $var12, $par2EntityPlayer); if (!$par4) { $par2EntityPlayer = $par3World.$entitySpawnQueue; ju_HashMap_putImpl($par2EntityPlayer.$backingMap, $var12, $par2EntityPlayer); } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, var$11, var$12, var$13, $var12, var$15, var$16, var$17, var$18, var$19, var$20, $ptr); }, nms_ItemMinecart__clinit_ = () => { let var$1; var$1 = new nms_BehaviorDispenseMinecart; var$1.$behaviourDefaultDispenseItem = new nms_BehaviorDefaultDispenseItem; nms_ItemMinecart_dispenserMinecartBehavior = var$1; }, nms_ItemSaddle = $rt_classWithoutFields(nms_Item), nms_ItemSaddle__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$maxStackSize = 1; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabTransport; }, nms_ItemSaddle__init_ = var_0 => { let var_1 = new nms_ItemSaddle(); nms_ItemSaddle__init_0(var_1, var_0); return var_1; }, nms_ItemSaddle_itemInteractionForEntity = ($this, $par1ItemStack, $par2EntityPlayer, $par3EntityLivingBase) => { let $var4, var$5, var$6, var$7, var$8, var$9; if (!($par3EntityLivingBase instanceof nms_EntityPig)) return 0; $var4 = $par3EntityLivingBase; $par2EntityPlayer = $var4.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $par3EntityLivingBase = jl_Integer_integerCache.data[144]; if ($par3EntityLivingBase === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { var$5 = $par3EntityLivingBase.$value0; var$6 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$6[var$5 & (var$6.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == var$5) { var$7 = $par2EntityPlayer.$key; if ($par3EntityLivingBase !== var$7 && !($par3EntityLivingBase === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } $par2EntityPlayer = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; if (!(!($par2EntityPlayer.$watchedObject.$value2 & 1) ? 0 : 1)) { $par2EntityPlayer = $var4.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $par3EntityLivingBase = jl_Integer_integerCache.data[140]; if ($par3EntityLivingBase === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { var$5 = $par3EntityLivingBase.$value0; var$6 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$6[var$5 & (var$6.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == var$5) { var$7 = $par2EntityPlayer.$key; if ($par3EntityLivingBase !== var$7 && !jl_Integer_equals($par3EntityLivingBase, var$7) ? 0 : 1) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } $par2EntityPlayer = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; if (!($par2EntityPlayer.$watchedObject.$value0 >= 0 ? 0 : 1)) { $par2EntityPlayer = $var4.$dataWatcher; var$7 = jl_Byte_byteCache.data[129]; $par3EntityLivingBase = $par2EntityPlayer.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { $par3EntityLivingBase = $par3EntityLivingBase.$elementData.data[0]; while ($par3EntityLivingBase !== null && $par3EntityLivingBase.$key !== null) { $par3EntityLivingBase = $par3EntityLivingBase.$next3; } } else { var$9 = var$8.$value0; var$6 = $par3EntityLivingBase.$elementData.data; $par3EntityLivingBase = var$6[var$9 & (var$6.length - 1 | 0)]; while ($par3EntityLivingBase !== null) { if ($par3EntityLivingBase.$origKeyHash == var$9) { $var4 = $par3EntityLivingBase.$key; if (var$8 !== $var4 && !(var$8 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } $par3EntityLivingBase = $par3EntityLivingBase.$next3; } } $var4 = $par3EntityLivingBase === null ? null : $par3EntityLivingBase.$value1; $par3EntityLivingBase = $var4.$watchedObject; if (!($par3EntityLivingBase instanceof jl_Byte && $par3EntityLivingBase.$value2 == var$7.$value2 ? 1 : 0)) { $var4.$watchedObject = var$7; $var4.$watched = 1; $par2EntityPlayer.$objectChanged = 1; } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; } } return 1; }, nms_ItemSaddle_hitEntity = ($this, $par1ItemStack, $par2EntityLivingBase, $par3EntityLivingBase) => { let var$4, var$5, var$6, var$7, var$8, var$9; if ($par2EntityLivingBase instanceof nms_EntityPig) { $par2EntityLivingBase = $par2EntityLivingBase; $par3EntityLivingBase = $par2EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { $par3EntityLivingBase = $par3EntityLivingBase.$elementData.data[0]; while ($par3EntityLivingBase !== null && $par3EntityLivingBase.$key !== null) { $par3EntityLivingBase = $par3EntityLivingBase.$next3; } } else { var$5 = var$4.$value0; var$6 = $par3EntityLivingBase.$elementData.data; $par3EntityLivingBase = var$6[var$5 & (var$6.length - 1 | 0)]; while ($par3EntityLivingBase !== null) { if ($par3EntityLivingBase.$origKeyHash == var$5) { var$7 = $par3EntityLivingBase.$key; if (var$4 !== var$7 && !jl_Integer_equals(var$4, var$7) ? 0 : 1) break; } $par3EntityLivingBase = $par3EntityLivingBase.$next3; } } $par3EntityLivingBase = $par3EntityLivingBase === null ? null : $par3EntityLivingBase.$value1; if (!(!($par3EntityLivingBase.$watchedObject.$value2 & 1) ? 0 : 1)) { $par3EntityLivingBase = $par2EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[140]; if (var$4 === null) { $par3EntityLivingBase = $par3EntityLivingBase.$elementData.data[0]; while ($par3EntityLivingBase !== null && $par3EntityLivingBase.$key !== null) { $par3EntityLivingBase = $par3EntityLivingBase.$next3; } } else { var$5 = jl_Integer_hashCode(var$4.$value0); var$6 = $par3EntityLivingBase.$elementData.data; $par3EntityLivingBase = var$6[var$5 & (var$6.length - 1 | 0)]; while ($par3EntityLivingBase !== null && !($par3EntityLivingBase.$origKeyHash == var$5 && ju_HashMap_areEqualKeys(var$4, $par3EntityLivingBase.$key))) { $par3EntityLivingBase = $par3EntityLivingBase.$next3; } } $par3EntityLivingBase = $par3EntityLivingBase === null ? null : $par3EntityLivingBase.$value1; if (!($par3EntityLivingBase.$watchedObject.$value0 >= 0 ? 0 : 1)) { $par2EntityLivingBase = $par2EntityLivingBase.$dataWatcher; var$7 = jl_Byte_byteCache.data[129]; $par3EntityLivingBase = $par2EntityLivingBase.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { $par3EntityLivingBase = $par3EntityLivingBase.$elementData.data[0]; while ($par3EntityLivingBase !== null && $par3EntityLivingBase.$key !== null) { $par3EntityLivingBase = $par3EntityLivingBase.$next3; } } else { var$8 = var$4.$value0; var$6 = $par3EntityLivingBase.$elementData.data; $par3EntityLivingBase = var$6[var$8 & (var$6.length - 1 | 0)]; while ($par3EntityLivingBase !== null) { if ($par3EntityLivingBase.$origKeyHash == var$8) { var$9 = $par3EntityLivingBase.$key; if (var$4 !== var$9 && !jl_Integer_equals(var$4, var$9) ? 0 : 1) break; } $par3EntityLivingBase = $par3EntityLivingBase.$next3; } } var$4 = $par3EntityLivingBase === null ? null : $par3EntityLivingBase.$value1; $par3EntityLivingBase = var$4.$watchedObject; if (!($par3EntityLivingBase instanceof jl_Byte && $par3EntityLivingBase.$value2 == var$7.$value2 ? 1 : 0)) { var$4.$watchedObject = var$7; var$4.$watched = 1; $par2EntityLivingBase.$objectChanged = 1; } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; } } } return 1; }, nms_ItemRedstone = $rt_classWithoutFields(nms_Item), nms_ItemRedstone__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabRedstone; }, nms_ItemRedstone__init_ = var_0 => { let var_1 = new nms_ItemRedstone(); nms_ItemRedstone__init_0(var_1, var_0); return var_1; }, nms_ItemRedstone_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$11 = nms_World_getBlockId($par3World, $par4, $par5, $par6); nms_Block_$callClinit(); if (var$11 != nms_Block_snow.$blockID) { if (!$par7) $par5 = $par5 + (-1) | 0; if ($par7 == 1) $par5 = $par5 + 1 | 0; if ($par7 == 2) $par6 = $par6 + (-1) | 0; if ($par7 == 3) $par6 = $par6 + 1 | 0; if ($par7 == 4) $par4 = $par4 + (-1) | 0; if ($par7 == 5) $par4 = $par4 + 1 | 0; if (!(nms_World_getBlockId($par3World, $par4, $par5, $par6) ? 0 : 1)) return 0; } if ($par2EntityPlayer.$capabilities.$allowEdit) $par7 = 1; else if ($par1ItemStack === null) $par7 = 0; else { nms_Item_$callClinit(); $par7 = 1; } if (!$par7) return 0; $par7 = $par5 - 1 | 0; if (!(!nms_World_isBlockTopFacingSurfaceSolid($par3World, nms_Block_blocksList.data[nms_World_getBlockId($par3World, $par4, $par7, $par6)], nms_World_getBlockMetadata($par3World, $par4, $par7, $par6)) && nms_World_getBlockId($par3World, $par4, $par7, $par6) != nms_Block_glowStone.$blockID ? 0 : 1)) return 1; $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; var$12 = nms_Block_redstoneWire.$blockID; $par7 = 0; var$11 = 3; $ptr = 1; case 1: nms_World_setBlock($par3World, $par4, $par5, $par6, var$12, $par7, var$11); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, var$11, var$12, $ptr); }, nms_ItemSnowball = $rt_classWithoutFields(nms_Item), nms_ItemSnowball__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$maxStackSize = 16; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabMisc; }, nms_ItemSnowball__init_ = var_0 => { let var_1 = new nms_ItemSnowball(); nms_ItemSnowball__init_0(var_1, var_0); return var_1; }, nms_ItemSnowball_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par3EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; nms_Item_$callClinit(); var$4 = nms_Item_itemRand; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; nms_World_playSoundAtEntity($par2World, $par3EntityPlayer, $rt_s(1501), 0.5, 0.4000000059604645 / (Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929)); if ($par2World.$isRemote) return $par1ItemStack; var$6 = new nms_EntitySnowball; $ptr = 1; case 1: nms_EntityThrowable__init_(var$6, $par2World, $par3EntityPlayer); if ($rt_suspending()) { break main; } var$7 = nms_World_spawnEntityInWorld($par2World, var$6); $par3EntityPlayer = $par2World.$entityList; ju_HashMap_putImpl($par3EntityPlayer.$backingMap, var$6, $par3EntityPlayer); if (!var$7) { $par2World = $par2World.$entitySpawnQueue; ju_HashMap_putImpl($par2World.$backingMap, var$6, $par2World); } return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, var$4, var$5, var$6, var$7, $ptr); }, nms_ItemBoat = $rt_classWithoutFields(nms_Item), nms_ItemBoat__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$maxStackSize = 1; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabTransport; }, nms_ItemBoat__init_ = var_0 => { let var_1 = new nms_ItemBoat(); nms_ItemBoat__init_0(var_1, var_0); return var_1; }, nms_ItemBoat_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let $var4, $var16, $var5, $var6, $var21, $var7, var$10, $var9, $var11, $var13, var$14, $var14, $var15, $var18, $var17, $var20, $var23, $var26, $var29, $var24, $var25, var$25, $var34, $var33, $var35, $var28, $var30, $var31, var$32, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$32 = $thread.pop();$var31 = $thread.pop();$var30 = $thread.pop();$var28 = $thread.pop();$var35 = $thread.pop();$var33 = $thread.pop();$var34 = $thread.pop();var$25 = $thread.pop();$var25 = $thread.pop();$var24 = $thread.pop();$var29 = $thread.pop();$var26 = $thread.pop();$var23 = $thread.pop();$var20 = $thread.pop();$var17 = $thread.pop();$var18 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();var$14 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();var$10 = $thread.pop();$var7 = $thread.pop();$var21 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var16 = $thread.pop();$var4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = 1.0; $var16 = $par3EntityPlayer.$prevRotationPitch; $var5 = $var16 + ($par3EntityPlayer.$rotationPitch - $var16) * $var4; $var16 = $par3EntityPlayer.$prevRotationYaw; $var6 = $var16 + ($par3EntityPlayer.$rotationYaw - $var16) * $var4; $var21 = $par3EntityPlayer.$prevPosX; $var7 = $par3EntityPlayer.$posX - $var21; var$10 = 1.0; $var7 = $var21 + $var7 * var$10; $var21 = $par3EntityPlayer.$prevPosY; $var9 = $var21 + ($par3EntityPlayer.$posY - $var21) * var$10 + 1.62 - $par3EntityPlayer.$yOffset; $var21 = $par3EntityPlayer.$prevPosZ; $var11 = $var21 + ($par3EntityPlayer.$posZ - $var21) * var$10; $var13 = nms_Vec3Pool_getVecFromPool($par2World.$vecPool, $var7, $var9, $var11); $var16 = -$var6 * 0.01745329238474369 - 3.1415927410125732; var$14 = nms_MathHelper_SIN_TABLE.data; $var16 = $var16 * 10430.3779296875; $var14 = var$14[($var16 + 16384.0 | 0) & 65535]; $var15 = var$14[($var16 | 0) & 65535]; $var18 = -$var5 * 0.01745329238474369 * 10430.3779296875; $var16 = -var$14[($var18 + 16384.0 | 0) & 65535]; $var17 = var$14[($var18 | 0) & 65535]; $var18 = $var15 * $var16; $var20 = $var14 * $var16; $var21 = 5.0; $var7 = $var18 * $var21; $var9 = $var17 * $var21; $var11 = $var20 * $var21; $var23 = nms_Vec3Pool_getVecFromPool($var13.$myVec3LocalPool, $var13.$xCoord + $var7, $var13.$yCoord + $var9, $var13.$zCoord + $var11); $var26 = 1; $var29 = 0; $ptr = 1; case 1: $tmp = nms_World_rayTraceBlocks_do_do($par2World, $var13, $var23, $var26, $var29); if ($rt_suspending()) { break main; } $var24 = $tmp; if ($var24 === null) return $par1ItemStack; $var25 = nms_EntityLivingBase_getLook($par3EntityPlayer, $var4); $var26 = 0; $var25 = nms_AxisAlignedBB_addCoord($par3EntityPlayer.$boundingBox, $var25.$xCoord * $var21, $var25.$yCoord * $var21, $var25.$zCoord * $var21); $var21 = $var25.$minX - var$10; $var7 = $var25.$minY - var$10; $var9 = $var25.$minZ - var$10; $var11 = $var25.$maxX + var$10; var$25 = $var25.$maxY + var$10; var$10 = $var25.$maxZ + var$10; $var23 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var29 = $var23.$nextPoolIndex; $var25 = $var23.$listAABB; $var34 = $var25.$size0; $var33 = $rt_compare($var29, $var34); if ($var33 >= 0) { $var35 = new nms_AxisAlignedBB; $var35.$minX = $var21; $var35.$minY = $var7; $var35.$minZ = $var9; $var35.$maxX = $var11; $var35.$maxY = var$25; $var35.$maxZ = var$10; ju_ArrayList_ensureCapacity($var25, $var34 + 1 | 0); var$14 = $var25.$array.data; $var33 = $var25.$size0; $var25.$size0 = $var33 + 1 | 0; var$14[$var33] = $var35; $var25.$modCount = $var25.$modCount + 1 | 0; } else if ($var29 >= 0 && $var33 < 0) { $var35 = $var25.$array.data[$var29]; $var35.$minX = $var21; $var35.$minY = $var7; $var35.$minZ = $var9; $var35.$maxX = $var11; $var35.$maxY = var$25; $var35.$maxZ = var$10; } else { $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $var23.$nextPoolIndex = $var23.$nextPoolIndex + 1 | 0; $var28 = nms_World_getEntitiesWithinAABBExcludingEntity($par2World, $par3EntityPlayer, $var35, null); $var29 = 0; a: { while (true) { $var33 = $rt_compare($var29, $var28.$size0); if ($var33 >= 0) { if ($var26) return $par1ItemStack; if ($var24.$typeOfHit !== nms_EnumMovingObjectType_TILE) return $par1ItemStack; $var26 = $var24.$blockX; $var33 = $var24.$blockY; $var34 = $var24.$blockZ; $var29 = nms_World_getBlockId($par2World, $var26, $var33, $var34); nms_Block_$callClinit(); if ($var29 == nms_Block_snow.$blockID) $var33 = $var33 + (-1) | 0; $var35 = new nms_EntityBoat; $var7 = $var26 + 0.5; $var9 = $var33 + 1.0; $var11 = $var34 + 0.5; nms_Entity__init_($var35, $par2World); $var35.$field_70279_a = 1; $var35.$speedMultiplier = 0.07; $var35.$preventEntitySpawning = 1; $var18 = 1.5; $var16 = 0.6000000238418579; $ptr = 2; continue main; } if ($var29 < 0) break a; if ($var33 >= 0) break a; $var30 = $var28.$array.data[$var29]; if ($var30.$canBeCollidedWith()) { $var31 = $var30.$getCollisionBorderSize(); $var25 = $var30.$boundingBox; $var21 = $var31; $var7 = $var25.$minX - $var21; $var9 = $var25.$minY - $var21; $var11 = $var25.$minZ - $var21; var$10 = $var25.$maxX + $var21; var$25 = $var25.$maxY + $var21; $var21 = $var25.$maxZ + $var21; $var23 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var33 = $var23.$nextPoolIndex; $var25 = $var23.$listAABB; var$32 = $var25.$size0; $var34 = $rt_compare($var33, var$32); if ($var34 >= 0) { $var35 = new nms_AxisAlignedBB; $var35.$minX = $var7; $var35.$minY = $var9; $var35.$minZ = $var11; $var35.$maxX = var$10; $var35.$maxY = var$25; $var35.$maxZ = $var21; ju_ArrayList_ensureCapacity($var25, var$32 + 1 | 0); var$14 = $var25.$array.data; $var34 = $var25.$size0; $var25.$size0 = $var34 + 1 | 0; var$14[$var34] = $var35; $var25.$modCount = $var25.$modCount + 1 | 0; } else { if ($var33 < 0) break; if ($var34 >= 0) break; $var35 = $var25.$array.data[$var33]; $var35.$minX = $var7; $var35.$minY = $var9; $var35.$minZ = $var11; $var35.$maxX = var$10; $var35.$maxY = var$25; $var35.$maxZ = $var21; } $var23.$nextPoolIndex = $var23.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_isVecInside($var35, $var13)) $var26 = 1; } $var29 = $var29 + 1 | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); case 2: nms_Entity_setSize($var35, $var18, $var16); if ($rt_suspending()) { break main; } $var16 = $var35.$height2 / 2.0; $var35.$yOffset = $var16; nms_Entity_setPosition($var35, $var7, $var9 + $var16, $var11); $var35.$motionX = 0.0; $var35.$motionY = 0.0; $var35.$motionZ = 0.0; $var35.$prevPosX = $var7; $var35.$prevPosY = $var9; $var35.$prevPosZ = $var11; $var7 = $par3EntityPlayer.$rotationYaw * 4.0 / 360.0 + 0.5; $var29 = $var7 | 0; if ($var7 < $var29) $var29 = $var29 - 1 | 0; $var35.$rotationYaw = (($var29 & 3) - 1 | 0) * 90 | 0; $var25 = $var35.$boundingBox; $var11 = $var25.$minX + 0.1; var$10 = $var25.$minY + 0.1; var$25 = $var25.$minZ + 0.1; $var21 = $var25.$maxX + (-0.1); $var7 = $var25.$maxY + (-0.1); $var9 = $var25.$maxZ + (-0.1); $var24 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var26 = $var24.$nextPoolIndex; $var25 = $var24.$listAABB; $var33 = $var25.$size0; $var29 = $rt_compare($var26, $var33); if ($var29 >= 0) { $var13 = new nms_AxisAlignedBB; $var13.$minX = $var11; $var13.$minY = var$10; $var13.$minZ = var$25; $var13.$maxX = $var21; $var13.$maxY = $var7; $var13.$maxZ = $var9; ju_ArrayList_ensureCapacity($var25, $var33 + 1 | 0); var$14 = $var25.$array.data; $var29 = $var25.$size0; $var25.$size0 = $var29 + 1 | 0; var$14[$var29] = $var13; $var25.$modCount = $var25.$modCount + 1 | 0; } else if ($var26 >= 0 && $var29 < 0) { $var13 = $var25.$array.data[$var26]; $var13.$minX = $var11; $var13.$minY = var$10; $var13.$minZ = var$25; $var13.$maxX = $var21; $var13.$maxY = $var7; $var13.$maxZ = $var9; } else { $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $var24.$nextPoolIndex = $var24.$nextPoolIndex + 1 | 0; $ptr = 3; case 3: $tmp = nms_World_getCollidingBoundingBoxes($par2World, $var35, $var13); if ($rt_suspending()) { break main; } $var25 = $tmp; if (!($var25.$size0 ? 0 : 1)) return $par1ItemStack; if (!$par2World.$isRemote) { $var26 = nms_World_spawnEntityInWorld($par2World, $var35); $var25 = $par2World.$entityList; ju_HashMap_putImpl($var25.$backingMap, $var35, $var25); if (!$var26) { $par2World = $par2World.$entitySpawnQueue; ju_HashMap_putImpl($par2World.$backingMap, $var35, $par2World); } } if (!$par3EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, $var4, $var16, $var5, $var6, $var21, $var7, var$10, $var9, $var11, $var13, var$14, $var14, $var15, $var18, $var17, $var20, $var23, $var26, $var29, $var24, $var25, var$25, $var34, $var33, $var35, $var28, $var30, $var31, var$32, $ptr); }, nms_ItemBucketMilk = $rt_classWithoutFields(nms_Item), nms_ItemBucketMilk__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$maxStackSize = 1; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabMisc; }, nms_ItemBucketMilk__init_0 = var_0 => { let var_1 = new nms_ItemBucketMilk(); nms_ItemBucketMilk__init_(var_1, var_0); return var_1; }, nms_ItemBucketMilk_onEaten = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, var$5, var$6, var$7, var$8; if (!$par3EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; if (!$par2World.$isRemote) { $par2World = $par3EntityPlayer.$activePotionsMap; if ($par2World.$cachedKeySet === null) { var$4 = new ju_HashMap$1; var$4.$this$0 = $par2World; $par2World.$cachedKeySet = var$4; } $par2World = $par2World.$cachedKeySet.$iterator(); while ($par2World.$hasNext()) { var$5 = $par2World.$next(); var$4 = $par3EntityPlayer.$activePotionsMap; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; if (!$par3EntityPlayer.$worldObj.$isRemote) { $par2World.$remove0(); $par3EntityPlayer.$potionsNeedUpdate = 1; if (!$par3EntityPlayer.$worldObj.$isRemote) { nms_Potion_$callClinit(); var$8 = nms_Potion_potionTypes.data[var$5.$potionID]; if ($par3EntityPlayer.$attributeMap === null) $par3EntityPlayer.$attributeMap = nms_ServersideAttributeMap__init_(); var$8.$removeAttributesModifiersFromEntity($par3EntityPlayer, $par3EntityPlayer.$attributeMap, var$5.$amplifier); } } } } if ($par1ItemStack.$stackSize <= 0) { $par1ItemStack = new nms_ItemStack; nms_Item_$callClinit(); $par2World = nms_Item_bucketEmpty; nms_ItemStack_$callClinit(); $par1ItemStack.$itemID = $par2World.$itemID0; $par1ItemStack.$stackSize = 1; $par1ItemStack.$itemDamage = 0; } return $par1ItemStack; }, nms_ItemBucketMilk_getMaxItemUseDuration = ($this, $par1ItemStack) => { return 32; }, nms_ItemBucketMilk_getItemUseAction = ($this, $par1ItemStack) => { return nms_EnumAction_drink; }, nms_ItemBucketMilk_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { if ($par1ItemStack !== $par3EntityPlayer.$itemInUse) { $par3EntityPlayer.$itemInUse = $par1ItemStack; $par3EntityPlayer.$itemInUseCount = 32; if (!$par3EntityPlayer.$worldObj.$isRemote) nms_Entity_setFlag($par3EntityPlayer, 4, 1); } return $par1ItemStack; }, nms_ItemBook = $rt_classWithoutFields(nms_Item), nms_ItemBook__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); }, nms_ItemBook__init_ = var_0 => { let var_1 = new nms_ItemBook(); nms_ItemBook__init_0(var_1, var_0); return var_1; }, nms_ItemBook_isItemTool = ($this, $par1ItemStack) => { return $par1ItemStack.$stackSize != 1 ? 0 : 1; }, nms_ItemBook_getItemEnchantability = $this => { return 1; }, nms_ItemEgg = $rt_classWithoutFields(nms_Item), nms_ItemEgg__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$maxStackSize = 16; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; }, nms_ItemEgg__init_0 = var_0 => { let var_1 = new nms_ItemEgg(); nms_ItemEgg__init_(var_1, var_0); return var_1; }, nms_ItemEgg_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par3EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; nms_Item_$callClinit(); var$4 = nms_Item_itemRand; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; nms_World_playSoundAtEntity($par2World, $par3EntityPlayer, $rt_s(1501), 0.5, 0.4000000059604645 / (Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929)); if ($par2World.$isRemote) return $par1ItemStack; var$6 = new nms_EntityEgg; $ptr = 1; case 1: nms_EntityThrowable__init_(var$6, $par2World, $par3EntityPlayer); if ($rt_suspending()) { break main; } var$7 = nms_World_spawnEntityInWorld($par2World, var$6); $par3EntityPlayer = $par2World.$entityList; ju_HashMap_putImpl($par3EntityPlayer.$backingMap, var$6, $par3EntityPlayer); if (!var$7) { $par2World = $par2World.$entitySpawnQueue; ju_HashMap_putImpl($par2World.$backingMap, var$6, $par2World); } return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, var$4, var$5, var$6, var$7, $ptr); }; function nms_ItemFishingRod() { nms_Item.call(this); this.$theIcon2 = null; } let nms_ItemFishingRod__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$maxDamage = 64; $this.$maxStackSize = 1; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabTools; }, nms_ItemFishingRod__init_0 = var_0 => { let var_1 = new nms_ItemFishingRod(); nms_ItemFishingRod__init_(var_1, var_0); return var_1; }, nms_ItemFishingRod_isFull3D = $this => { return 1; }, nms_ItemFishingRod_shouldRotateAroundWhenRendering = $this => { return 1; }, nms_ItemFishingRod_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, var$5, var$6, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $par3EntityPlayer.$fishEntity; if (var$4 !== null) { $ptr = 1; continue main; } nms_Item_$callClinit(); var$5 = nms_Item_itemRand; var$6 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; nms_World_playSoundAtEntity($par2World, $par3EntityPlayer, $rt_s(1501), 0.5, 0.4000000059604645 / (Long_lo(Long_shru(var$6, 24)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929)); if ($par2World.$isRemote) { nms_EntityLivingBase_swingItem($par3EntityPlayer); var$4 = $par3EntityPlayer.$sendQueue; $par2World = new nms_Packet18Animation; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par2World.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par2World.$entityId1 = $par3EntityPlayer.$entityId; $par2World.$animate = 1; if (!var$4.$disconnected) var$4.$netManager.$addToSendQueue($par2World); return $par1ItemStack; } var$4 = new nms_EntityFishHook; $ptr = 3; continue main; case 1: $tmp = nms_EntityFishHook_catchFish(var$4); if ($rt_suspending()) { break main; } $var4 = $tmp; $ptr = 2; case 2: nms_ItemStack_damageItem($par1ItemStack, $var4, $par3EntityPlayer); if ($rt_suspending()) { break main; } nms_EntityLivingBase_swingItem($par3EntityPlayer); $par2World = $par3EntityPlayer.$sendQueue; var$5 = new nms_Packet18Animation; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$5.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$5.$entityId1 = $par3EntityPlayer.$entityId; var$5.$animate = 1; if (!$par2World.$disconnected) $par2World.$netManager.$addToSendQueue(var$5); return $par1ItemStack; case 3: nms_EntityFishHook__init_(var$4, $par2World, $par3EntityPlayer); if ($rt_suspending()) { break main; } $var4 = nms_World_spawnEntityInWorld($par2World, var$4); var$5 = $par2World.$entityList; ju_HashMap_putImpl(var$5.$backingMap, var$4, var$5); if (!$var4) { $par2World = $par2World.$entitySpawnQueue; ju_HashMap_putImpl($par2World.$backingMap, var$4, $par2World); } nms_EntityLivingBase_swingItem($par3EntityPlayer); var$4 = $par3EntityPlayer.$sendQueue; $par2World = new nms_Packet18Animation; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par2World.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par2World.$entityId1 = $par3EntityPlayer.$entityId; $par2World.$animate = 1; if (!var$4.$disconnected) var$4.$netManager.$addToSendQueue($par2World); return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, var$4, var$5, var$6, $var4, $ptr); }, nms_ItemFishingRod_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$iconString; if (var$2 === null) { var$3 = $this.$itemID0; var$2 = $this.$unlocalizedName0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2931)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$itemIcon = nms_TextureMap_registerIcon($par1IconRegister, var$2, 1); var$2 = $this.$iconString; if (var$2 === null) { var$3 = $this.$itemID0; var$2 = $this.$unlocalizedName0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2932)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$theIcon2 = nms_TextureMap_registerIcon($par1IconRegister, var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }; function nms_ItemDye() { nms_Item.call(this); this.$dyeIcons = null; } let nms_ItemDye_dyeColorNames = null, nms_ItemDye_dyeItemNames = null, nms_ItemDye_dyeColors = null, nms_ItemDye__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$hasSubtypes = 1; $this.$maxDamage = 0; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabMaterials; }, nms_ItemDye__init_ = var_0 => { let var_1 = new nms_ItemDye(); nms_ItemDye__init_0(var_1, var_0); return var_1; }, nms_ItemDye_getIconFromDamage = ($this, $var2) => { let $var2_0; $var2_0 = 0; if ($var2 >= $var2_0) $var2_0 = $var2 <= 15 ? $var2 : 15; return $this.$dyeIcons.data[$var2_0]; }, nms_ItemDye_getUnlocalizedName = ($this, $par1ItemStack) => { let $var2, $var2_0, var$4, $var2_1, var$6, var$7, var$8, var$9; $var2 = $par1ItemStack.$itemDamage; $var2_0 = 0; if ($var2 >= $var2_0) $var2_0 = $var2 <= 15 ? $var2 : 15; $par1ItemStack = $this.$unlocalizedName0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2084)); $var2_1 = var$4.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $var2_1, $par1ItemStack); $par1ItemStack = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; $var2 = var$7.length; if (var$8 >= 0 && var$8 <= ($var2 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); var$4 = nms_ItemDye_dyeColorNames.data[$var2_0]; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $par1ItemStack); $var2_1 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, $var2_1, $var2_1 + 1 | 0); var$9.$buffer.data[$var2_1] = 46; $var2_0 = var$9.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, $var2_0, var$4); $par1ItemStack = new jl_String; var$6 = var$9.$buffer; var$7 = var$6.data; $var2_1 = var$9.$length0; var$8 = var$7.length; if ($var2_1 >= 0 && $var2_1 <= (var$8 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$6.data, 0, $var2_1); return $par1ItemStack; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ItemStack); $rt_throw($par1ItemStack); }, nms_ItemDye_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var11, $var12, $var13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par2EntityPlayer.$capabilities.$allowEdit) $var11 = 1; else if ($par1ItemStack === null) $var11 = 0; else { nms_Item_$callClinit(); $var11 = 1; } if (!$var11) return 0; $var11 = $par1ItemStack.$itemDamage; if ($var11 == 15) { $ptr = 1; continue main; } if ($var11 == 3) { $var11 = nms_World_getBlockId($par3World, $par4, $par5, $par6); $var12 = nms_World_getBlockMetadata($par3World, $par4, $par5, $par6); nms_Block_$callClinit(); if ($var11 == nms_Block_wood.$blockID && ($var12 & 3) == 3) { if (!$par7) return 0; if ($par7 == 1) return 0; if ($par7 == 2) $par6 = $par6 + (-1) | 0; if ($par7 == 3) $par6 = $par6 + 1 | 0; if ($par7 == 4) $par4 = $par4 + (-1) | 0; if ($par7 == 5) $par4 = $par4 + 1 | 0; if (!(nms_World_getBlockId($par3World, $par4, $par5, $par6) ? 0 : 1)) return 1; $var13 = nms_Block_blocksList.data[nms_Block_cocoaPlant.$blockID].$onBlockPlaced($par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, 0); $par7 = nms_Block_cocoaPlant.$blockID; $var11 = 2; $ptr = 3; continue main; } } return 0; case 1: $tmp = nms_ItemDye_func_96604_a($par1ItemStack, $par3World, $par4, $par5, $par6); if ($rt_suspending()) { break main; } $par7 = $tmp; if (!$par7) return 0; if (!$par3World.$isRemote) { $var12 = 2005; $var13 = 0; $par1ItemStack = null; $par7 = 0; $par2EntityPlayer = $par3World.$worldAccesses; $var11 = $rt_compare($par7, $par2EntityPlayer.$size0); if ($var11 < 0) { if ($par7 >= 0 && $var11 < 0) { $par2EntityPlayer = $par2EntityPlayer.$array.data[$par7]; $ptr = 2; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } } return 1; case 2: nms_RenderGlobal_playAuxSFX($par2EntityPlayer, $par1ItemStack, $var12, $par4, $par5, $par6, $var13); if ($rt_suspending()) { break main; } $par7 = $par7 + 1 | 0; $par2EntityPlayer = $par3World.$worldAccesses; $var11 = $rt_compare($par7, $par2EntityPlayer.$size0); if ($var11 >= 0) return 1; if ($par7 >= 0 && $var11 < 0) { $par2EntityPlayer = $par2EntityPlayer.$array.data[$par7]; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); case 3: nms_World_setBlock($par3World, $par4, $par5, $par6, $par7, $var13, $var11); if ($rt_suspending()) { break main; } if (!$par2EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var11, $var12, $var13, $ptr); }, nms_ItemDye_func_96604_a = ($par0ItemStack, $par1World, $par2, $par3, $par4) => { let $var5, var$7, var$8, var$9, $var6, $var7, $var8, $var6_0, var$14, $var10, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var10 = $thread.pop();var$14 = $thread.pop();$var6_0 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$par0ItemStack = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$7 = nms_Block_sapling; if ($var5 == var$7.$blockID) { if (!$par1World.$isRemote) { var$8 = $par1World.$rand0; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < 0.45) { var$7 = var$7; $var5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if ($var5 & 8) { $ptr = 2; continue main; } $var5 = $var5 | 8; $var6 = 4; $ptr = 3; continue main; } $par0ItemStack.$stackSize = $par0ItemStack.$stackSize - 1 | 0; } return 1; } if ($var5 != nms_Block_mushroomBrown.$blockID && $var5 != nms_Block_mushroomRed.$blockID) { if ($var5 != nms_Block_melonStem.$blockID && $var5 != nms_Block_pumpkinStem.$blockID) { if ($var5 > 0 && nms_Block_blocksList.data[$var5] instanceof nms_BlockCrops) { if (nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) == 7) return 0; if ($par1World.$isRemote) return 1; var$7 = nms_Block_blocksList.data[$var5]; $ptr = 6; continue main; } if ($var5 == nms_Block_cocoaPlant.$blockID) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var7 = $var6 & 3; $var8 = ($var6 & 12) >> 2; if ($var8 >= 2) return 0; if ($par1World.$isRemote) return 1; $var5 = ($var8 + 1 | 0) << 2 | $var7; $var6 = 2; $ptr = 5; continue main; } if ($var5 != nms_Block_grass.$blockID) return 0; a: { if (!$par1World.$isRemote) { $par0ItemStack.$stackSize = $par0ItemStack.$stackSize - 1 | 0; $var6_0 = 0; $var8 = $par3 + 1 | 0; $var6 = 17; var$14 = 9; $var7 = 2; while (true) { if ($var6_0 >= 128) break a; $var10 = 0; var$16 = $par2; var$17 = $var8; var$18 = $par4; b: { while (true) { if ($var10 >= ($var6_0 / 16 | 0)) { if (nms_World_getBlockId($par1World, var$16, var$17, var$18)) break b; nms_Item_$callClinit(); $par0ItemStack = nms_Item_itemRand; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var10 = $var5 % 10 | 0; if ((($var5 - $var10 | 0) + var$14 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); } if ($var10) { if (!nms_BlockFlower_canBlockStay(nms_Block_tallGrass, $par1World, var$16, var$17, var$18)) break b; else { $var5 = nms_Block_tallGrass.$blockID; $var10 = 1; $par3 = 3; $ptr = 7; continue main; } } var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var10 = $var5 % 3 | 0; if ((($var5 - $var10 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); } if (!$var10) { if (!nms_Block_plantRed.$canBlockStay($par1World, var$16, var$17, var$18)) break b; else { $par3 = nms_Block_plantRed.$blockID; $var5 = 0; $var10 = 3; $ptr = 8; continue main; } } if (!nms_Block_plantYellow.$canBlockStay($par1World, var$16, var$17, var$18)) break b; else { $par3 = nms_Block_plantYellow.$blockID; $var5 = 0; $var10 = 3; $ptr = 9; continue main; } } nms_Item_$callClinit(); $par0ItemStack = nms_Item_itemRand; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$16 = var$16 + ($var5 - 1 | 0) | 0; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$19 = $var5 - 1 | 0; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$17 = var$17 + ($rt_imul(var$19, $var5) / 2 | 0) | 0; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$18 = var$18 + ($var5 - 1 | 0) | 0; if (nms_World_getBlockId($par1World, var$16, var$17 - 1 | 0, var$18) != nms_Block_grass.$blockID) break b; $par3 = nms_World_getBlockId($par1World, var$16, var$17, var$18); $par0ItemStack = nms_Block_blocksList.data[$par3]; if ($par0ItemStack === null) $par3 = 0; else { var$7 = $par0ItemStack.$blockMaterial; $par3 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; $par3 = $par3 && $par0ItemStack.$renderAsNormalBlock() && !$par0ItemStack.$canProvidePower() ? 1 : 0; } if ($par3) break; $var10 = $var10 + 1 | 0; } } $var6_0 = $var6_0 + 1 | 0; } } } return 1; } if (nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) == 7) return 0; if ($par1World.$isRemote) return 1; $var5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$7 = $par1World.$rand0; var$9 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$9; $var6 = $var5 + (Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$9, 17)))), 31)) + 2 | 0) | 0; if ($var6 > 7) $var6 = 7; $var5 = 2; $ptr = 4; continue main; } if (!$par1World.$isRemote) { var$7 = $par1World.$rand0; var$9 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < 0.4) { var$8 = nms_Block_blocksList.data[$var5]; $ptr = 1; continue main; } $par0ItemStack.$stackSize = $par0ItemStack.$stackSize - 1 | 0; } return 1; case 1: nms_BlockMushroom_fertilizeMushroom(var$8, $par1World, $par2, $par3, $par4, var$7); if ($rt_suspending()) { break main; } $par0ItemStack.$stackSize = $par0ItemStack.$stackSize - 1 | 0; return 1; case 2: nms_BlockSapling_growTree(var$7, $par1World, $par2, $par3, $par4, var$8); if ($rt_suspending()) { break main; } $par0ItemStack.$stackSize = $par0ItemStack.$stackSize - 1 | 0; return 1; case 3: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var5, $var6); if ($rt_suspending()) { break main; } $par0ItemStack.$stackSize = $par0ItemStack.$stackSize - 1 | 0; return 1; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var6, $var5); if ($rt_suspending()) { break main; } $par0ItemStack.$stackSize = $par0ItemStack.$stackSize - 1 | 0; return 1; case 5: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var5, $var6); if ($rt_suspending()) { break main; } $par0ItemStack.$stackSize = $par0ItemStack.$stackSize - 1 | 0; return 1; case 6: nms_BlockCrops_fertilize(var$7, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par0ItemStack.$stackSize = $par0ItemStack.$stackSize - 1 | 0; return 1; case 7: nms_World_setBlock($par1World, var$16, var$17, var$18, $var5, $var10, $par3); if ($rt_suspending()) { break main; } c: while (true) { $var6_0 = $var6_0 + 1 | 0; if ($var6_0 >= 128) break; $var10 = 0; var$16 = $par2; var$17 = $var8; var$18 = $par4; while (true) { if ($var10 >= ($var6_0 / 16 | 0)) { if (nms_World_getBlockId($par1World, var$16, var$17, var$18)) continue c; nms_Item_$callClinit(); $par0ItemStack = nms_Item_itemRand; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var10 = $var5 % 10 | 0; if ((($var5 - $var10 | 0) + var$14 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); } if ($var10) { if (!nms_BlockFlower_canBlockStay(nms_Block_tallGrass, $par1World, var$16, var$17, var$18)) continue c; else { $var5 = nms_Block_tallGrass.$blockID; $var10 = 1; $par3 = 3; continue main; } } var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var10 = $var5 % 3 | 0; if ((($var5 - $var10 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); } if (!$var10) { if (!nms_Block_plantRed.$canBlockStay($par1World, var$16, var$17, var$18)) continue c; else { $par3 = nms_Block_plantRed.$blockID; $var5 = 0; $var10 = 3; $ptr = 8; continue main; } } if (!nms_Block_plantYellow.$canBlockStay($par1World, var$16, var$17, var$18)) continue c; else { $par3 = nms_Block_plantYellow.$blockID; $var5 = 0; $var10 = 3; $ptr = 9; continue main; } } nms_Item_$callClinit(); $par0ItemStack = nms_Item_itemRand; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$16 = var$16 + ($var5 - 1 | 0) | 0; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$19 = $var5 - 1 | 0; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$17 = var$17 + ($rt_imul(var$19, $var5) / 2 | 0) | 0; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$18 = var$18 + ($var5 - 1 | 0) | 0; if (nms_World_getBlockId($par1World, var$16, var$17 - 1 | 0, var$18) != nms_Block_grass.$blockID) continue c; $par3 = nms_World_getBlockId($par1World, var$16, var$17, var$18); $par0ItemStack = nms_Block_blocksList.data[$par3]; if ($par0ItemStack === null) $par3 = 0; else { var$7 = $par0ItemStack.$blockMaterial; $par3 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; $par3 = $par3 && $par0ItemStack.$renderAsNormalBlock() && !$par0ItemStack.$canProvidePower() ? 1 : 0; } if ($par3) break; $var10 = $var10 + 1 | 0; } } return 1; case 8: nms_World_setBlock($par1World, var$16, var$17, var$18, $par3, $var5, $var10); if ($rt_suspending()) { break main; } c: while (true) { $var6_0 = $var6_0 + 1 | 0; if ($var6_0 >= 128) break; $var10 = 0; var$16 = $par2; var$17 = $var8; var$18 = $par4; while (true) { if ($var10 >= ($var6_0 / 16 | 0)) { if (nms_World_getBlockId($par1World, var$16, var$17, var$18)) continue c; nms_Item_$callClinit(); $par0ItemStack = nms_Item_itemRand; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var10 = $var5 % 10 | 0; if ((($var5 - $var10 | 0) + var$14 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); } if ($var10) { if (!nms_BlockFlower_canBlockStay(nms_Block_tallGrass, $par1World, var$16, var$17, var$18)) continue c; else { $var5 = nms_Block_tallGrass.$blockID; $var10 = 1; $par3 = 3; $ptr = 7; continue main; } } var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var10 = $var5 % 3 | 0; if ((($var5 - $var10 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); } if (!$var10) { if (!nms_Block_plantRed.$canBlockStay($par1World, var$16, var$17, var$18)) continue c; else { $par3 = nms_Block_plantRed.$blockID; $var5 = 0; $var10 = 3; continue main; } } if (!nms_Block_plantYellow.$canBlockStay($par1World, var$16, var$17, var$18)) continue c; else { $par3 = nms_Block_plantYellow.$blockID; $var5 = 0; $var10 = 3; $ptr = 9; continue main; } } nms_Item_$callClinit(); $par0ItemStack = nms_Item_itemRand; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$16 = var$16 + ($var5 - 1 | 0) | 0; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$19 = $var5 - 1 | 0; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$17 = var$17 + ($rt_imul(var$19, $var5) / 2 | 0) | 0; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$18 = var$18 + ($var5 - 1 | 0) | 0; if (nms_World_getBlockId($par1World, var$16, var$17 - 1 | 0, var$18) != nms_Block_grass.$blockID) continue c; $par3 = nms_World_getBlockId($par1World, var$16, var$17, var$18); $par0ItemStack = nms_Block_blocksList.data[$par3]; if ($par0ItemStack === null) $par3 = 0; else { var$7 = $par0ItemStack.$blockMaterial; $par3 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; $par3 = $par3 && $par0ItemStack.$renderAsNormalBlock() && !$par0ItemStack.$canProvidePower() ? 1 : 0; } if ($par3) break; $var10 = $var10 + 1 | 0; } } return 1; case 9: nms_World_setBlock($par1World, var$16, var$17, var$18, $par3, $var5, $var10); if ($rt_suspending()) { break main; } c: while (true) { $var6_0 = $var6_0 + 1 | 0; if ($var6_0 >= 128) break; $var10 = 0; var$16 = $par2; var$17 = $var8; var$18 = $par4; while (true) { if ($var10 >= ($var6_0 / 16 | 0)) { if (nms_World_getBlockId($par1World, var$16, var$17, var$18)) continue c; nms_Item_$callClinit(); $par0ItemStack = nms_Item_itemRand; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var10 = $var5 % 10 | 0; if ((($var5 - $var10 | 0) + var$14 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); } if ($var10) { if (!nms_BlockFlower_canBlockStay(nms_Block_tallGrass, $par1World, var$16, var$17, var$18)) continue c; else { $var5 = nms_Block_tallGrass.$blockID; $var10 = 1; $par3 = 3; $ptr = 7; continue main; } } var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var10 = $var5 % 3 | 0; if ((($var5 - $var10 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, $var6)); } if (!$var10) { if (!nms_Block_plantRed.$canBlockStay($par1World, var$16, var$17, var$18)) continue c; else { $par3 = nms_Block_plantRed.$blockID; $var5 = 0; $var10 = 3; $ptr = 8; continue main; } } if (!nms_Block_plantYellow.$canBlockStay($par1World, var$16, var$17, var$18)) continue c; else { $par3 = nms_Block_plantYellow.$blockID; $var5 = 0; $var10 = 3; continue main; } } nms_Item_$callClinit(); $par0ItemStack = nms_Item_itemRand; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$16 = var$16 + ($var5 - 1 | 0) | 0; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$19 = $var5 - 1 | 0; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$17 = var$17 + ($rt_imul(var$19, $var5) / 2 | 0) | 0; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); while (true) { $var5 = $par3 % 3 | 0; if ((($par3 - $var5 | 0) + $var7 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par0ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0ItemStack.$seed = var$9; $par3 = Long_lo(Long_shru(var$9, $var6)); } var$18 = var$18 + ($var5 - 1 | 0) | 0; if (nms_World_getBlockId($par1World, var$16, var$17 - 1 | 0, var$18) != nms_Block_grass.$blockID) continue c; $par3 = nms_World_getBlockId($par1World, var$16, var$17, var$18); $par0ItemStack = nms_Block_blocksList.data[$par3]; if ($par0ItemStack === null) $par3 = 0; else { var$7 = $par0ItemStack.$blockMaterial; $par3 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; $par3 = $par3 && $par0ItemStack.$renderAsNormalBlock() && !$par0ItemStack.$canProvidePower() ? 1 : 0; } if ($par3) break; $var10 = $var10 + 1 | 0; } } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0ItemStack, $par1World, $par2, $par3, $par4, $var5, var$7, var$8, var$9, $var6, $var7, $var8, $var6_0, var$14, $var10, var$16, var$17, var$18, var$19, $ptr); }, nms_ItemDye_func_96603_a = ($par0World, $par1, $par2, $par3, $par4) => { let $var5, var$7, $var6, $var7, var$10, var$11, var$12, $var8, $var10, $var12, var$16, var$17, var$18, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$par0World = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_World_getBlockId($par0World, $par1, $par2, $par3); if (!$par4) $par4 = 15; a: { if ($var5 > 0) { nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data; if ($var5 < var$7.length) { $var6 = var$7[$var5]; break a; } } $var6 = null; } if ($var6 === null) return; $ptr = 1; case 1: $var6.$setBlockBoundsBasedOnState($par0World, $par1, $par2, $par3); if ($rt_suspending()) { break main; } $var7 = 0; var$10 = $par1; $var5 = 24; var$11 = $par2; var$12 = $par3; while ($var7 < $par4) { nms_Item_$callClinit(); $var8 = nle_EaglercraftRandom_nextGaussian(nms_Item_itemRand) * 0.02; $var10 = nle_EaglercraftRandom_nextGaussian(nms_Item_itemRand) * 0.02; $var12 = nle_EaglercraftRandom_nextGaussian(nms_Item_itemRand) * 0.02; var$16 = $rt_s(1498); var$17 = nms_Item_itemRand; var$18 = Long_and(Long_add(Long_mul(var$17.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$18; var$19 = var$10 + Long_lo(Long_shru(var$18, $var5)) / 1.6777216E7; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$18; var$20 = var$11 + Long_lo(Long_shru(var$18, $var5)) / 1.6777216E7 * $var6.$maxY0; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$18; var$21 = var$12 + Long_lo(Long_shru(var$18, $var5)) / 1.6777216E7; $par2 = 0; var$17 = $par0World.$worldAccesses; $par1 = $rt_compare($par2, var$17.$size0); if ($par1 < 0) { if ($par2 >= 0 && $par1 < 0) { var$17 = var$17.$array.data[$par2]; $ptr = 2; continue main; } $par0World = new jl_IndexOutOfBoundsException; $par0World.$suppressionEnabled = 1; $par0World.$writableStackTrace = 1; $rt_throw($par0World); } $var7 = $var7 + 1 | 0; } return; case 2: nms_RenderGlobal_doSpawnParticle(var$17, var$16, var$19, var$20, var$21, $var8, $var10, $var12); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; while (true) { var$17 = $par0World.$worldAccesses; $par1 = $rt_compare($par2, var$17.$size0); if ($par1 < 0) { if ($par2 >= 0 && $par1 < 0) { var$17 = var$17.$array.data[$par2]; continue main; } $par0World = new jl_IndexOutOfBoundsException; $par0World.$suppressionEnabled = 1; $par0World.$writableStackTrace = 1; $rt_throw($par0World); } $var7 = $var7 + 1 | 0; if ($var7 >= $par4) break; nms_Item_$callClinit(); $var8 = nle_EaglercraftRandom_nextGaussian(nms_Item_itemRand) * 0.02; $var10 = nle_EaglercraftRandom_nextGaussian(nms_Item_itemRand) * 0.02; $var12 = nle_EaglercraftRandom_nextGaussian(nms_Item_itemRand) * 0.02; var$16 = $rt_s(1498); var$17 = nms_Item_itemRand; var$18 = Long_and(Long_add(Long_mul(var$17.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$18; var$19 = var$10 + Long_lo(Long_shru(var$18, $var5)) / 1.6777216E7; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$18; var$20 = var$11 + Long_lo(Long_shru(var$18, $var5)) / 1.6777216E7 * $var6.$maxY0; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$17.$seed = var$18; var$21 = var$12 + Long_lo(Long_shru(var$18, $var5)) / 1.6777216E7; $par2 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0World, $par1, $par2, $par3, $par4, $var5, var$7, $var6, $var7, var$10, var$11, var$12, $var8, $var10, $var12, var$16, var$17, var$18, var$19, var$20, var$21, $ptr); }, nms_ItemDye_itemInteractionForEntity = ($this, $par1ItemStack, $par2EntityPlayer, $par3EntityLivingBase) => { let $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11; if (!($par3EntityLivingBase instanceof nms_EntitySheep)) return 0; $var4 = $par3EntityLivingBase; $var5 = ($par1ItemStack.$itemDamage ^ (-1)) & 15; $par2EntityPlayer = $var4.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { var$7 = var$6.$value0; var$8 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$8[var$7 & (var$8.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == var$7) { $par3EntityLivingBase = $par2EntityPlayer.$key; if (var$6 !== $par3EntityLivingBase && !(var$6 === $par3EntityLivingBase ? 1 : $par3EntityLivingBase instanceof jl_Integer && $par3EntityLivingBase.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } $par2EntityPlayer = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; if (!(!($par2EntityPlayer.$watchedObject.$value2 & 16) ? 0 : 1)) { $par2EntityPlayer = $var4.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { var$7 = var$6.$value0; var$8 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$8[var$7 & (var$8.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == var$7) { $par3EntityLivingBase = $par2EntityPlayer.$key; if (var$6 !== $par3EntityLivingBase && !(var$6 === $par3EntityLivingBase ? 1 : $par3EntityLivingBase instanceof jl_Integer && $par3EntityLivingBase.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } if ((($par2EntityPlayer === null ? null : $par2EntityPlayer.$value1).$watchedObject.$value2 & 15) != $var5) { $par2EntityPlayer = $var4.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $par3EntityLivingBase = jl_Integer_integerCache.data[144]; if ($par3EntityLivingBase === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { var$9 = $par3EntityLivingBase.$value0; var$8 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$8[var$9 & (var$8.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == var$9) { var$6 = $par2EntityPlayer.$key; if ($par3EntityLivingBase !== var$6 && !($par3EntityLivingBase === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } var$10 = ($par2EntityPlayer === null ? null : $par2EntityPlayer.$value1).$watchedObject.$value2; $par2EntityPlayer = $var4.$dataWatcher; var$9 = (var$10 & 240 | $var5 & 15) << 24 >> 24; var$6 = jl_Byte_byteCache.data[var$9 + 128 | 0]; $par3EntityLivingBase = $par2EntityPlayer.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[144]; if (var$11 === null) { $par3EntityLivingBase = $par3EntityLivingBase.$elementData.data[0]; while ($par3EntityLivingBase !== null && $par3EntityLivingBase.$key !== null) { $par3EntityLivingBase = $par3EntityLivingBase.$next3; } } else { var$10 = var$11.$value0; var$8 = $par3EntityLivingBase.$elementData.data; $par3EntityLivingBase = var$8[var$10 & (var$8.length - 1 | 0)]; while ($par3EntityLivingBase !== null) { if ($par3EntityLivingBase.$origKeyHash == var$10) { $var4 = $par3EntityLivingBase.$key; if (var$11 !== $var4 && !(var$11 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } $par3EntityLivingBase = $par3EntityLivingBase.$next3; } } $var4 = $par3EntityLivingBase === null ? null : $par3EntityLivingBase.$value1; $par3EntityLivingBase = $var4.$watchedObject; if (!($par3EntityLivingBase instanceof jl_Byte && $par3EntityLivingBase.$value2 == var$6.$value2 ? 1 : 0)) { $var4.$watchedObject = var$6; $var4.$watched = 1; $par2EntityPlayer.$objectChanged = 1; } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; } } return 1; }, nms_ItemDye_getSubItems = ($this, $par1, $par2CreativeTabs, $par3List) => { let $var4, var$5, var$6; $var4 = 0; while ($var4 < 16) { $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = $var4; if ($var4 < 0) $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$5 = $par3List.$array.data; var$6 = $par3List.$size0; $par3List.$size0 = var$6 + 1 | 0; var$5[var$6] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } }, nms_ItemDye_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $this.$dyeIcons = $rt_createArray(nms_Icon, nms_ItemDye_dyeItemNames.data.length); $var2 = 0; a: { b: { while ($var2 < nms_ItemDye_dyeItemNames.data.length) { var$3 = $this.$dyeIcons; var$4 = $this.$iconString; if (var$4 === null) { var$5 = $this.$itemID0; var$4 = $this.$unlocalizedName0; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10); var$5 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$5, var$5 + 1 | 0); var$6.$buffer.data[var$5] = 95; var$5 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$5, var$4); var$4 = new jl_String; var$7 = var$6.$buffer; var$8 = var$7.data; var$9 = var$6.$length0; var$10 = var$8.length; if (var$9 < 0) break b; if (var$9 > (var$10 - 0 | 0)) break b; var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); } var$6 = nms_ItemDye_dyeItemNames.data[$var2]; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, var$4); var$5 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$5, var$5 + 1 | 0); var$11.$buffer.data[var$5] = 95; var$5 = var$11.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$11, var$5, var$6); var$4 = new jl_String; var$7 = var$11.$buffer; var$8 = var$7.data; var$9 = var$11.$length0; var$10 = var$8.length; if (var$9 < 0) break a; if (var$9 > (var$10 - 0 | 0)) break a; var$8 = var$3.data; var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$8[$var2] = nms_TextureMap_registerIcon($par1IconRegister, var$4, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_ItemDye__clinit_ = () => { nms_ItemDye_dyeColorNames = $rt_wrapArray(jl_String, [$rt_s(2933), $rt_s(2934), $rt_s(2935), $rt_s(2936), $rt_s(2937), $rt_s(2938), $rt_s(2939), $rt_s(2940), $rt_s(2941), $rt_s(2942), $rt_s(2943), $rt_s(2944), $rt_s(2945), $rt_s(2946), $rt_s(2947), $rt_s(2948)]); nms_ItemDye_dyeItemNames = $rt_wrapArray(jl_String, [$rt_s(2933), $rt_s(2934), $rt_s(2935), $rt_s(2936), $rt_s(2937), $rt_s(2938), $rt_s(2939), $rt_s(2940), $rt_s(2941), $rt_s(2942), $rt_s(2943), $rt_s(2944), $rt_s(2949), $rt_s(2946), $rt_s(2947), $rt_s(2948)]); nms_ItemDye_dyeColors = $rt_createIntArrayFromData([1973019, 11743532, 3887386, 5320730, 2437522, 8073150, 2651799, 11250603, 4408131, 14188952, 4312372, 14602026, 6719955, 12801229, 15435844, 15790320]); }, nms_ItemBed = $rt_classWithoutFields(nms_Item), nms_ItemBed__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabDecorations; }, nms_ItemBed__init_0 = var_0 => { let var_1 = new nms_ItemBed(); nms_ItemBed__init_(var_1, var_0); return var_1; }, nms_ItemBed_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let var$11, $var11, var$13, $var12, $var13, $var14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();var$11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par3World.$isRemote) return 1; if ($par7 != 1) return 0; var$11 = $par5 + 1 | 0; nms_Block_$callClinit(); $var11 = nms_Block_bed; var$13 = $par2EntityPlayer.$rotationYaw * 4.0 / 360.0 + 0.5; $par7 = var$13 | 0; if (var$13 < $par7) $par7 = $par7 - 1 | 0; $var12 = $par7 & 3; $var13 = 0; $var14 = 0; if (!$var12) $var14 = 1; if ($var12 == 1) $var13 = (-1); if ($var12 == 2) $var14 = (-1); if ($var12 == 3) $var13 = 1; $par5 = $par2EntityPlayer.$capabilities.$allowEdit; if ($par5) $par7 = 1; else if ($par1ItemStack === null) $par7 = 0; else { nms_Item_$callClinit(); $par7 = 1; } if ($par7) { $par7 = $par4 + $var13 | 0; $var13 = $par6 + $var14 | 0; if ($par5) $par5 = 1; else if ($par1ItemStack === null) $par5 = 0; else { nms_Item_$callClinit(); $par5 = 1; } if ($par5) { $par5 = nms_World_getBlockId($par3World, $par4, var$11, $par6) ? 0 : 1; if ($par5 && (nms_World_getBlockId($par3World, $par7, var$11, $var13) ? 0 : 1)) { $var14 = var$11 - 1 | 0; if (nms_World_isBlockTopFacingSurfaceSolid($par3World, nms_Block_blocksList.data[nms_World_getBlockId($par3World, $par4, $var14, $par6)], nms_World_getBlockMetadata($par3World, $par4, $var14, $par6)) && nms_World_isBlockTopFacingSurfaceSolid($par3World, nms_Block_blocksList.data[nms_World_getBlockId($par3World, $par7, $var14, $var13)], nms_World_getBlockMetadata($par3World, $par7, $var14, $var13))) { $var14 = $var11.$blockID; $par5 = 3; $ptr = 1; continue main; } } return 0; } } return 0; case 1: nms_World_setBlock($par3World, $par4, var$11, $par6, $var14, $var12, $par5); if ($rt_suspending()) { break main; } $par4 = nms_World_getBlockId($par3World, $par4, var$11, $par6); $par5 = $var11.$blockID; if ($par4 != $par5) { $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; } $par4 = $var12 + 8 | 0; $par6 = 3; $ptr = 2; case 2: nms_World_setBlock($par3World, $par7, var$11, $var13, $par5, $par4, $par6); if ($rt_suspending()) { break main; } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, var$11, $var11, var$13, $var12, $var13, $var14, $ptr); }, nms_ItemMapBase = $rt_classWithoutFields(nms_Item), nms_ItemMap = $rt_classWithoutFields(nms_ItemMapBase), nms_ItemMap__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$hasSubtypes = 1; }, nms_ItemMap__init_ = var_0 => { let var_1 = new nms_ItemMap(); nms_ItemMap__init_0(var_1, var_0); return var_1; }, nms_ItemMap_getMapData = ($this, $par1ItemStack, $par2World) => { let var$3, $var4, var$5, var$6, var$7, var$8, $var5, var$10, var$11, var$12; var$3 = $par1ItemStack.$itemDamage; $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var4, $var4.$length0, $rt_s(2950)); jl_AbstractStringBuilder_insert0($var4, $var4.$length0, var$3, 10); var$5 = new jl_String; var$6 = $var4.$buffer; var$7 = var$6.data; var$8 = $var4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { a: { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $var4 = $par2World.$mapStorage.$loadedDataMap; if (!var$5.$hashCode1) { $var5 = 0; while (true) { if ($var5 >= var$5.$nativeString.length) break a; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } $var5 = var$5.$hashCode1; var$6 = $var4.$elementData.data; $var4 = var$6[$var5 & (var$6.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var5) { b: { var$10 = $var4.$key; if (var$5 !== var$10) { if (var$5 === var$10) var$8 = 1; else if (!(var$10 instanceof jl_String)) var$8 = 0; else { var$10 = var$10; var$8 = var$5.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } $var4 = $var4.$next3; } $var4 = $var4 === null ? null : $var4.$value1; if ($var4 === null && !$par2World.$isRemote) { c: { var$5 = $par2World.$mapStorage; var$10 = var$5.$idCounts; if (!$rt_s(2254).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(2254).$nativeString.length) break c; $rt_s(2254).$hashCode1 = (31 * $rt_s(2254).$hashCode1 | 0) + $rt_s(2254).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$8 = $rt_s(2254).$hashCode1; var$6 = var$10.$elementData.data; var$10 = var$6[var$8 & (var$6.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$8) { d: { var$11 = var$10.$key; if ($rt_s(2254) !== var$11) { if ($rt_s(2254) === var$11) $var5 = 1; else if (!(var$11 instanceof jl_String)) $var5 = 0; else { var$11 = var$11; $var5 = $rt_s(2254).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break d; } } $var5 = 1; } if ($var5) break; } var$10 = var$10.$next3; } var$10 = var$10 === null ? null : var$10.$value1; if (var$10 === null) { jl_Short_ensureShortCache(); var$10 = jl_Short_shortCache.data[128]; } else { $var5 = (var$10.$value8 + 1 | 0) << 16 >> 16; if ($var5 >= (-128) && $var5 <= 127) { jl_Short_ensureShortCache(); var$10 = jl_Short_shortCache.data[$var5 + 128 | 0]; } else { var$10 = new jl_Short; var$10.$value8 = $var5; } } ju_HashMap_putImpl(var$5.$idCounts, $rt_s(2254), var$10); $var5 = var$10.$value8; $par1ItemStack.$itemDamage = $var5; if ($var5 < 0) $par1ItemStack.$itemDamage = 0; var$3 = $par1ItemStack.$itemDamage; $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var4, $var4.$length0, $rt_s(2950)); jl_AbstractStringBuilder_insert0($var4, $var4.$length0, var$3, 10); $par1ItemStack = new jl_String; var$6 = $var4.$buffer; var$7 = var$6.data; var$8 = $var4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { e: { $par1ItemStack.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $var4 = new nms_MapData; $var4.$mapName = $par1ItemStack; $var4.$colors = $rt_createByteArray(16384); var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); $var4.$playersArrayList = var$5; $var4.$playersHashMap = ju_HashMap__init_(); $var4.$playersVisibleOnMap = ju_LinkedHashMap__init_(); $var4.$scale1 = 3; var$12 = $par2World.$worldInfo.$spawnX / 1024.0; $var4.$xCenter = (var$12 + jl_Math_sign0(var$12) * 0.5 | 0) * 1024 | 0; var$12 = $par2World.$worldInfo.$spawnZ / 1024 | 0; $var4.$zCenter = (var$12 + jl_Math_sign0(var$12) * 0.5 | 0) * 1024 | 0; $var4.$dimension0 = $par2World.$provider.$dimensionId << 24 >> 24; $var4.$dirty = 1; $par2World = $par2World.$mapStorage; var$5 = $par2World.$loadedDataMap; if (!$par1ItemStack.$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $par1ItemStack.$nativeString.length) break e; $par1ItemStack.$hashCode1 = (31 * $par1ItemStack.$hashCode1 | 0) + $par1ItemStack.$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$3 = $par1ItemStack.$hashCode1; var$6 = var$5.$elementData.data; var$5 = var$6[var$3 & (var$6.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$3) { f: { var$10 = var$5.$key; if ($par1ItemStack !== var$10) { if ($par1ItemStack === var$10) $var5 = 1; else if (!(var$10 instanceof jl_String)) $var5 = 0; else { var$10 = var$10; $var5 = $par1ItemStack.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break f; } } $var5 = 1; } if ($var5) break; } var$5 = var$5.$next3; } if (var$5 === null ? 0 : 1) { var$5 = $par2World.$loadedDataList; var$10 = ju_HashMap_removeByKey($par2World.$loadedDataMap, $par1ItemStack); ju_ArrayList_remove0(var$5, var$10 === null ? null : var$10.$value1); } ju_HashMap_putImpl($par2World.$loadedDataMap, $par1ItemStack, $var4); $par1ItemStack = $par2World.$loadedDataList; ju_ArrayList_ensureCapacity($par1ItemStack, $par1ItemStack.$size0 + 1 | 0); var$6 = $par1ItemStack.$array.data; var$8 = $par1ItemStack.$size0; $par1ItemStack.$size0 = var$8 + 1 | 0; var$6[var$8] = $var4; $par1ItemStack.$modCount = $par1ItemStack.$modCount + 1 | 0; } else { $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } } return $var4; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); }, nms_ItemMap_updateMapData = ($this, $par1World, $par2Entity, $par3MapData) => { let $var12, $var6, $var7, $var8, var$8, $var19, $var9, $var10, $var11, $var33, var$14, $var42, $var13, var$17, var$18, $var14, $var15, $var16, $var18, $var20, $var43, $var36, $var21, $var22, $var23, $var24, var$30, $var26, $var27, $var28, $var29, $var31, $var32, $var34, $var35, $var36_0, $var41, $var33_0, $var39, $var40, $var38; a: { $var12 = $par1World.$provider; if ($var12.$dimensionId == $par3MapData.$dimension0 && $par2Entity instanceof nms_EntityPlayer) { $var6 = 1 << $par3MapData.$scale1; $var7 = $par3MapData.$xCenter; $var8 = $par3MapData.$zCenter; var$8 = $par2Entity.$posX - $var7; $var19 = var$8 | 0; if (var$8 < $var19) $var19 = $var19 - 1 | 0; $var9 = ($var19 / $var6 | 0) + 64 | 0; var$8 = $par2Entity.$posZ - $var8; $var19 = var$8 | 0; if (var$8 < $var19) $var19 = $var19 - 1 | 0; $var10 = ($var19 / $var6 | 0) + 64 | 0; $var11 = 128 / $var6 | 0; if ($var12.$hasNoSky) $var11 = $var11 / 2 | 0; $var12 = $par3MapData.$playersHashMap; $var33 = $par2Entity.$entityId; var$14 = $var12.$elementData.data; $var12 = var$14[$var33 & (var$14.length - 1 | 0)]; while ($var12 !== null) { if ($var12.$origKeyHash == $var33) { $var42 = $var12.$key; if ($par2Entity !== $var42 && !(!($var42 instanceof nms_Entity) ? 0 : $var42.$entityId != $var33 ? 0 : 1) ? 0 : 1) break; } $var12 = $var12.$next3; } $var12 = $var12 === null ? null : $var12.$value1; if ($var12 === null) { $var12 = nms_MapInfo__init_($par3MapData, $par2Entity); ju_HashMap_putImpl($par3MapData.$playersHashMap, $par2Entity, $var12); $par2Entity = $par3MapData.$playersArrayList; ju_ArrayList_ensureCapacity($par2Entity, $par2Entity.$size0 + 1 | 0); var$14 = $par2Entity.$array.data; $var19 = $par2Entity.$size0; $par2Entity.$size0 = $var19 + 1 | 0; var$14[$var19] = $var12; $par2Entity.$modCount = $par2Entity.$modCount + 1 | 0; } $var12.$field_82569_d = $var12.$field_82569_d + 1 | 0; $var13 = ($var9 - $var11 | 0) + 1 | 0; var$17 = $rt_imul($var6, $var6); var$18 = $var6 + 4 | 0; var$8 = var$17; while (true) { if ($var13 >= ($var9 + $var11 | 0)) break a; if (($var13 & 15) == ($var12.$field_82569_d & 15)) { $var14 = 255; $var15 = 0; $var16 = 0.0; $var18 = ($var10 - $var11 | 0) - 1 | 0; while ($var18 < ($var10 + $var11 | 0)) { b: { if ($var13 < 0) break b; if ($var18 < (-1)) break b; if ($var13 >= 128) break b; if ($var18 >= 128) break b; $var19 = $var13 - $var9 | 0; $var20 = $var18 - $var10 | 0; $var43 = $rt_imul($var19, $var19) + $rt_imul($var20, $var20) | 0; $var36 = $var11 - 2 | 0; $var21 = $var43 <= $rt_imul($var36, $var36) ? 0 : 1; $var22 = $rt_imul((($var7 / $var6 | 0) + $var13 | 0) - 64 | 0, $var6); $var23 = $rt_imul((($var8 / $var6 | 0) + $var18 | 0) - 64 | 0, $var6); $var24 = $rt_createIntArray(256); $var19 = $var22 >> 4; $var36 = $var23 >> 4; $par2Entity = $par1World.$chunkProvider; $var42 = $par2Entity.$chunkMapping; var$30 = Long_or(Long_and(Long_fromInt($var19), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var36), Long_create(4294967295, 0)), 32)); $var36 = Long_lo(Long_xor(var$30, Long_shru(var$30, 32))); $var36 = $var36 ^ ($var36 >>> 20 | 0) ^ ($var36 >>> 12 | 0); $var33 = $var36 ^ ($var36 >>> 7 | 0) ^ ($var36 >>> 4 | 0); var$14 = $var42.$hashArray.data; $var42 = var$14[$var33 & (var$14.length - 1 | 0)]; c: { while ($var42 !== null) { if (Long_eq($var42.$key1, var$30)) { $var42 = $var42.$value6; break c; } $var42 = $var42.$nextEntry0; } $var42 = null; } $var42 = $var42; if ($var42 === null) $var42 = $par2Entity.$blankChunk; if ($var42.$isEmpty()) break b; $var26 = $var22 & 15; $var27 = $var23 & 15; $var28 = 0; $var29 = 0.0; if (!$par1World.$provider.$hasNoSky) { var$14 = $var24.data; $var31 = 0; while ($var31 < $var6) { $var32 = 0; while ($var32 < $var6) { d: { $var36 = $var31 + $var26 | 0; $var19 = $var32 + $var27 | 0; $var33 = $var42.$getHeightValue($var36, $var19) + 1 | 0; $var34 = 0; if ($var33 > 1) { e: { while (true) { $var35 = 1; $var34 = $var42.$getBlockID($var36, $var33 - 1 | 0, $var19); if (!$var34) $var35 = 0; else if ($var33 > 0 && $var34 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var34].$blockMaterial.$materialMapColor === nms_MapColor_airColor) $var35 = 0; } if (!$var35) { $var33 = $var33 + (-1) | 0; if ($var33 <= 0) break e; $var34 = $var42.$getBlockID($var36, $var33 - 1 | 0, $var19); } if ($var33 <= 0) break e; if ($var35) break; } } if ($var33 > 0 && $var34) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var34].$blockMaterial.$isLiquid()) { $var36_0 = $var33 - 1 | 0; while (true) { $var35 = $var36_0 + (-1) | 0; $var41 = $var42.$getBlockID($var36, $var36_0, $var19); $var28 = $var28 + 1 | 0; if ($var35 <= 0) break; if (!$var41) break d; if (!nms_Block_blocksList.data[$var41].$blockMaterial.$isLiquid()) break d; $var36_0 = $var35; } } } } } $var29 = $var29 + $var33 / var$8; var$14[$var34] = var$14[$var34] + 1 | 0; $var32 = $var32 + 1 | 0; } $var31 = $var31 + 1 | 0; } } else { $var31 = $var22 + ($var23 * 231871 | 0) | 0; if (($rt_imul($rt_imul($var31, $var31), 31287121) + ($var31 * 11 | 0) | 0) >> 20 & 1) { var$14 = $var24.data; nms_Block_$callClinit(); $var36 = nms_Block_stone.$blockID; var$14[$var36] = var$14[$var36] + 10 | 0; } else { var$14 = $var24.data; nms_Block_$callClinit(); $var36 = nms_Block_dirt.$blockID; var$14[$var36] = var$14[$var36] + 10 | 0; } $var29 = 100.0; } var$14 = $var24.data; $var19 = $var28 / var$17 | 0; $var33 = 0; $var32 = 0; $var33_0 = 0; while ($var33_0 < 256) { if (var$14[$var33_0] > $var33) { $var33 = var$14[$var33_0]; $var32 = $var33_0; } $var33_0 = $var33_0 + 1 | 0; } $var39 = ($var29 - $var16) * 4.0 / var$18; $var33 = ($var13 + $var18 | 0) & 1; $var16 = $var33; $var39 = $var39 + ($var16 - 0.5) * 0.4; $var40 = 1; if ($var39 > 0.6) $var40 = 2; if ($var39 < (-0.6)) $var40 = 0; $var36 = 0; if ($var32 > 0) { nms_Block_$callClinit(); $var42 = nms_Block_blocksList.data[$var32].$blockMaterial.$materialMapColor; if ($var42 === nms_MapColor_waterColor) { $var16 = $var19 * 0.1 + $var16 * 0.2; $var40 = 1; if ($var16 < 0.5) $var40 = 2; if ($var16 > 0.9) $var40 = 0; } $var36 = $var42.$colorIndex; } if ($var18 < 0) { $var16 = $var29; break b; } if ($var43 >= $rt_imul($var11, $var11)) { $var16 = $var29; break b; } if ($var21 && !$var33) { $var16 = $var29; break b; } var$14 = $par3MapData.$colors.data; $var19 = $var13 + ($var18 * 128 | 0) | 0; $var43 = var$14[$var19]; $var38 = (($var36 * 4 | 0) + $var40 | 0) << 24 >> 24; if ($var43 == $var38) { $var16 = $var29; break b; } if ($var14 > $var18) $var14 = $var18; if ($var15 < $var18) $var15 = $var18; var$14[$var19] = $var38; $var16 = $var29; } $var18 = $var18 + 1 | 0; } if ($var14 <= $var15) nms_MapData_setColumnDirty($par3MapData, $var13, $var14, $var15); } $var13 = $var13 + 1 | 0; } } } }, nms_ItemMap_onUpdate = ($this, $par1ItemStack, $par2World, $var7, $par4, $par5) => { let $var6; if (!$par2World.$isRemote) { $var6 = nms_ItemMap_getMapData($this, $par1ItemStack, $par2World); if ($var7 instanceof nms_EntityPlayer) nms_MapData_updateVisiblePlayers($var6, $var7, $par1ItemStack); if ($par5) nms_ItemMap_updateMapData($this, $par2World, $var7, $var6); } }, nms_ItemMap_onCreated = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let $var5, var$5, $var4, var$7, var$8, var$9, var$10, var$11, var$12; $var5 = $par1ItemStack.$stackTagCompound; var$5 = $var5 === null ? 0 : 1; a: { if (var$5) { b: { $var4 = $var5.$tagMap; if (!$rt_s(2951).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(2951).$nativeString.length) break b; $rt_s(2951).$hashCode1 = (31 * $rt_s(2951).$hashCode1 | 0) + $rt_s(2951).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = $rt_s(2951).$hashCode1; var$7 = $var4.$elementData.data; $var4 = var$7[var$5 & (var$7.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$5) { c: { var$8 = $var4.$key; if ($rt_s(2951) !== var$8) { if ($rt_s(2951) !== var$8) { if (var$8 instanceof jl_String) { var$8 = var$8; var$9 = $rt_s(2951).$nativeString !== var$8.$nativeString ? 0 : 1; } else var$9 = 0; } else var$9 = 1; if (!var$9) { var$9 = 0; break c; } } var$9 = 1; } if (var$9) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) var$5 = 0; else { $var4 = $var5.$tagMap; if ($rt_s(2951) === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { d: { if (!$rt_s(2951).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(2951).$nativeString.length) break d; $rt_s(2951).$hashCode1 = (31 * $rt_s(2951).$hashCode1 | 0) + $rt_s(2951).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = $rt_s(2951).$hashCode1; var$7 = $var4.$elementData.data; $var4 = var$7[var$5 & (var$7.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$5) { e: { $var5 = $var4.$key; if ($rt_s(2951) !== $var5) { if ($rt_s(2951) === $var5) var$9 = 1; else if (!($var5 instanceof jl_String)) var$9 = 0; else { $var5 = $var5; var$9 = $rt_s(2951).$nativeString !== $var5.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break e; } } var$9 = 1; } if (var$9) break; } $var4 = $var4.$next3; } } var$5 = ($var4 === null ? null : $var4.$value1).$data; } if (!var$5 ? 0 : 1) { f: { nms_Item_$callClinit(); $var4 = nms_ItemMap_getMapData(nms_Item_map, $par1ItemStack, $par2World); var$10 = $par2World.$mapStorage; $var5 = var$10.$idCounts; if (!$rt_s(2254).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(2254).$nativeString.length) break f; $rt_s(2254).$hashCode1 = (31 * $rt_s(2254).$hashCode1 | 0) + $rt_s(2254).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$11 = $rt_s(2254).$hashCode1; var$7 = $var5.$elementData.data; $var5 = var$7[var$11 & (var$7.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { g: { var$8 = $var5.$key; if ($rt_s(2254) !== var$8) { if ($rt_s(2254) === var$8) var$5 = 1; else if (!(var$8 instanceof jl_String)) var$5 = 0; else { var$8 = var$8; var$5 = $rt_s(2254).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break g; } } var$5 = 1; } if (var$5) break; } $var5 = $var5.$next3; } $var5 = $var5 === null ? null : $var5.$value1; if ($var5 === null) { jl_Short_ensureShortCache(); $var5 = jl_Short_shortCache.data[128]; } else { var$5 = ($var5.$value8 + 1 | 0) << 16 >> 16; if (var$5 >= (-128) && var$5 <= 127) { jl_Short_ensureShortCache(); $var5 = jl_Short_shortCache.data[var$5 + 128 | 0]; } else { $var5 = new jl_Short; $var5.$value8 = var$5; } } ju_HashMap_putImpl(var$10.$idCounts, $rt_s(2254), $var5); var$5 = $var5.$value8; $par1ItemStack.$itemDamage = var$5; if (var$5 < 0) $par1ItemStack.$itemDamage = 0; $var5 = new nms_MapData; var$11 = $par1ItemStack.$itemDamage; $par3EntityPlayer = new jl_StringBuilder; $par3EntityPlayer.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par3EntityPlayer, $par3EntityPlayer.$length0, $rt_s(2950)); jl_AbstractStringBuilder_insert0($par3EntityPlayer, $par3EntityPlayer.$length0, var$11, 10); var$8 = new jl_String; var$7 = $par3EntityPlayer.$buffer; var$12 = var$7.data; var$9 = $par3EntityPlayer.$length0; var$11 = var$12.length; if (var$9 >= 0 && var$9 <= (var$11 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); $var5.$mapName = var$8; $var5.$colors = $rt_createByteArray(16384); $par3EntityPlayer = new ju_ArrayList; $par3EntityPlayer.$array = $rt_createArray(jl_Object, 10); $var5.$playersArrayList = $par3EntityPlayer; $par3EntityPlayer = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); $par3EntityPlayer.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$12.data; $par3EntityPlayer.$elementData = var$12; $par3EntityPlayer.$loadFactor = 0.75; $par3EntityPlayer.$threshold = var$7.length * 0.75 | 0; $var5.$playersHashMap = $par3EntityPlayer; $var5.$playersVisibleOnMap = ju_LinkedHashMap__init_(); var$5 = ($var4.$scale1 + 1 | 0) << 24 >> 24; $var5.$scale1 = var$5; if (var$5 > 4) $var5.$scale1 = 4; $var5.$xCenter = $var4.$xCenter; $var5.$zCenter = $var4.$zCenter; $var5.$dimension0 = $var4.$dimension0; $var5.$dirty = 1; var$11 = $par1ItemStack.$itemDamage; $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1ItemStack, $par1ItemStack.$length0, $rt_s(2950)); jl_AbstractStringBuilder_insert0($par1ItemStack, $par1ItemStack.$length0, var$11, 10); var$8 = new jl_String; var$7 = $par1ItemStack.$buffer; var$12 = var$7.data; var$9 = $par1ItemStack.$length0; var$11 = var$12.length; if (var$9 >= 0 && var$9 <= (var$11 - 0 | 0)) { h: { var$8.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); $par1ItemStack = $par2World.$mapStorage; $par2World = $par1ItemStack.$loadedDataMap; if (!var$8.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$8.$nativeString.length) break h; var$8.$hashCode1 = (31 * var$8.$hashCode1 | 0) + var$8.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$11 = var$8.$hashCode1; var$7 = $par2World.$elementData.data; $par2World = var$7[var$11 & (var$7.length - 1 | 0)]; while ($par2World !== null) { if ($par2World.$origKeyHash == var$11) { i: { $par3EntityPlayer = $par2World.$key; if (var$8 !== $par3EntityPlayer) { if (var$8 === $par3EntityPlayer) var$5 = 1; else if (!($par3EntityPlayer instanceof jl_String)) var$5 = 0; else { $par3EntityPlayer = $par3EntityPlayer; var$5 = var$8.$nativeString !== $par3EntityPlayer.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break i; } } var$5 = 1; } if (var$5) break; } $par2World = $par2World.$next3; } if ($par2World === null ? 0 : 1) { $par2World = $par1ItemStack.$loadedDataList; $par3EntityPlayer = ju_HashMap_removeByKey($par1ItemStack.$loadedDataMap, var$8); $par3EntityPlayer = $par3EntityPlayer === null ? null : $par3EntityPlayer.$value1; var$11 = $par2World.$size0; var$5 = 0; j: { while (true) { if (var$5 >= var$11) { var$5 = (-1); break j; } if (var$5 < 0) break; if (var$5 >= $par2World.$size0) break; $var4 = $par2World.$array.data[var$5]; if ($par3EntityPlayer === $var4 ? 1 : $par3EntityPlayer !== null ? $par3EntityPlayer.$equals($var4) : $var4 !== null ? 0 : 1) break j; var$5 = var$5 + 1 | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ItemStack); $rt_throw($par1ItemStack); } if (var$5 >= 0) ju_ArrayList_remove($par2World, var$5); } ju_HashMap_putImpl($par1ItemStack.$loadedDataMap, var$8, $var5); $par1ItemStack = $par1ItemStack.$loadedDataList; ju_ArrayList_ensureCapacity($par1ItemStack, $par1ItemStack.$size0 + 1 | 0); var$7 = $par1ItemStack.$array.data; var$9 = $par1ItemStack.$size0; $par1ItemStack.$size0 = var$9 + 1 | 0; var$7[var$9] = $var5; $par1ItemStack.$modCount = $par1ItemStack.$modCount + 1 | 0; break a; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } } } }, nms_ItemMap_addInformation = ($this, $par1ItemStack, $par2EntityPlayer, $par3List, $par4) => { let $var5, var$6, var$7, var$8, var$9; a: { $var5 = nms_ItemMap_getMapData($this, $par1ItemStack, $par2EntityPlayer.$worldObj); if ($par4) { if ($var5 === null) { ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$6 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$6[var$7] = $rt_s(2952); $par3List.$modCount = $par3List.$modCount + 1 | 0; } else { $par4 = 1 << $var5.$scale1; $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1ItemStack, $par1ItemStack.$length0, $rt_s(2953)); jl_AbstractStringBuilder_insert0($par1ItemStack, $par1ItemStack.$length0, $par4, 10); $par2EntityPlayer = new jl_String; var$6 = $par1ItemStack.$buffer; var$8 = var$6.data; var$7 = $par1ItemStack.$length0; var$9 = var$8.length; if (var$7 >= 0 && var$7 <= (var$9 - 0 | 0)) { $par2EntityPlayer.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7); ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$6 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$6[var$7] = $par2EntityPlayer; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par4 = $var5.$scale1; $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1ItemStack, $par1ItemStack.$length0, $rt_s(2954)); $par4 = $par4 << 24 >> 24; jl_AbstractStringBuilder_insert0($par1ItemStack, $par1ItemStack.$length0, $par4, 10); jl_AbstractStringBuilder_insert($par1ItemStack, $par1ItemStack.$length0, $rt_s(2955)); $par2EntityPlayer = new jl_String; var$6 = $par1ItemStack.$buffer; var$8 = var$6.data; var$7 = $par1ItemStack.$length0; var$9 = var$8.length; if (var$7 >= 0 && var$7 <= (var$9 - 0 | 0)) { $par2EntityPlayer.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7); ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$6 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$6[var$7] = $par2EntityPlayer; $par3List.$modCount = $par3List.$modCount + 1 | 0; break a; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } } } }, nms_ItemShears = $rt_classWithoutFields(nms_Item), nms_ItemShears__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$maxStackSize = 1; $this.$maxDamage = 238; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabTools; }, nms_ItemShears__init_0 = var_0 => { let var_1 = new nms_ItemShears(); nms_ItemShears__init_(var_1, var_0); return var_1; }, nms_ItemShears_onBlockDestroyed = ($this, $par1ItemStack, $par2World, $par3, $par4, $par5, $par6, $par7EntityLivingBase) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par7EntityLivingBase = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Block_$callClinit(); if ($par3 != nms_Block_leaves.$blockID && $par3 != nms_Block_web.$blockID && $par3 != nms_Block_tallGrass.$blockID && $par3 != nms_Block_vine.$blockID && $par3 != nms_Block_tripWire.$blockID) return 0; $par3 = 1; $ptr = 1; case 1: nms_ItemStack_damageItem($par1ItemStack, $par3, $par7EntityLivingBase); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3, $par4, $par5, $par6, $par7EntityLivingBase, $ptr); }, nms_ItemShears_canHarvestBlock = ($this, $par1Block) => { let var$2; var$2 = $par1Block.$blockID; nms_Block_$callClinit(); return var$2 != nms_Block_web.$blockID && var$2 != nms_Block_redstoneWire.$blockID && var$2 != nms_Block_tripWire.$blockID ? 0 : 1; }, nms_ItemShears_getStrVsBlock = ($this, $par1ItemStack, $par2Block) => { let var$3; var$3 = $par2Block.$blockID; nms_Block_$callClinit(); return var$3 != nms_Block_web.$blockID && var$3 != nms_Block_leaves.$blockID ? (var$3 == nms_Block_cloth.$blockID ? 5.0 : 1.0) : 15.0; }, nms_ItemEnderPearl = $rt_classWithoutFields(nms_Item), nms_ItemEnderPearl__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$maxStackSize = 16; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabMisc; }, nms_ItemEnderPearl__init_0 = var_0 => { let var_1 = new nms_ItemEnderPearl(); nms_ItemEnderPearl__init_(var_1, var_0); return var_1; }, nms_ItemEnderPearl_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par3EntityPlayer.$capabilities.$isCreativeMode) return $par1ItemStack; $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; nms_Item_$callClinit(); var$4 = nms_Item_itemRand; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; nms_World_playSoundAtEntity($par2World, $par3EntityPlayer, $rt_s(1501), 0.5, 0.4000000059604645 / (Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929)); if ($par2World.$isRemote) return $par1ItemStack; var$6 = new nms_EntityEnderPearl; $ptr = 1; case 1: nms_EntityThrowable__init_(var$6, $par2World, $par3EntityPlayer); if ($rt_suspending()) { break main; } var$7 = nms_World_spawnEntityInWorld($par2World, var$6); $par3EntityPlayer = $par2World.$entityList; ju_HashMap_putImpl($par3EntityPlayer.$backingMap, var$6, $par3EntityPlayer); if (!var$7) { $par2World = $par2World.$entitySpawnQueue; ju_HashMap_putImpl($par2World.$backingMap, var$6, $par2World); } return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, var$4, var$5, var$6, var$7, $ptr); }; function nms_ItemPotion() { let a = this; nms_Item.call(a); a.$effectCache = null; a.$field_94591_c = null; a.$field_94590_d = null; a.$field_94592_ct = null; } let nms_ItemPotion_field_77835_b = null, nms_ItemPotion__init_0 = ($this, $par1) => { let var$2, var$3, var$4; nms_Item__init_($this, $par1); var$2 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$4 = var$3.data; var$2.$elementData = var$3; var$2.$loadFactor = 0.75; var$2.$threshold = var$4.length * 0.75 | 0; $this.$effectCache = var$2; $this.$maxStackSize = 1; $this.$hasSubtypes = 1; $this.$maxDamage = 0; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabBrewing; }, nms_ItemPotion__init_ = var_0 => { let var_1 = new nms_ItemPotion(); nms_ItemPotion__init_0(var_1, var_0); return var_1; }, nms_ItemPotion_getEffects = ($this, $par1ItemStack) => { let $var6, $var4, var$4, var$5, $var5, $var2, $var3, var$9, var$10, var$11, var$12, var$13, var$14, var$15; $var6 = $par1ItemStack.$stackTagCompound; if ($var6 === null ? 0 : 1) { a: { $var6 = $var6.$tagMap; if (!$rt_s(2956).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2956).$nativeString.length) break a; $rt_s(2956).$hashCode1 = (31 * $rt_s(2956).$hashCode1 | 0) + $rt_s(2956).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$4 = $rt_s(2956).$hashCode1; var$5 = $var6.$elementData.data; $var6 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$4) { b: { $var5 = $var6.$key; if ($rt_s(2956) !== $var5) { if ($rt_s(2956) !== $var5) { if ($var5 instanceof jl_String) { $var5 = $var5; $var4 = $rt_s(2956).$nativeString !== $var5.$nativeString ? 0 : 1; } else $var4 = 0; } else $var4 = 1; if (!$var4) { $var4 = 0; break b; } } $var4 = 1; } if ($var4) break; } $var6 = $var6.$next3; } if ($var6 === null ? 0 : 1) { c: { $var6 = new ju_ArrayList; $var6.$array = $rt_createArray(jl_Object, 10); $var5 = $par1ItemStack.$stackTagCompound; $var2 = $var5.$tagMap; if (!$rt_s(2956).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2956).$nativeString.length) break c; $rt_s(2956).$hashCode1 = (31 * $rt_s(2956).$hashCode1 | 0) + $rt_s(2956).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } $var4 = $rt_s(2956).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var4) { d: { $var3 = $var2.$key; if ($rt_s(2956) !== $var3) { if ($rt_s(2956) === $var3) var$9 = 1; else if (!($var3 instanceof jl_String)) var$9 = 0; else { $var3 = $var3; var$9 = $rt_s(2956).$nativeString !== $var3.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break d; } } var$9 = 1; } if (var$9) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $var5.$tagMap; if ($rt_s(2956) !== null) { e: { if (!$rt_s(2956).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2956).$nativeString.length) break e; $rt_s(2956).$hashCode1 = (31 * $rt_s(2956).$hashCode1 | 0) + $rt_s(2956).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } $var4 = $rt_s(2956).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var4) { f: { $var5 = $var2.$key; if ($rt_s(2956) !== $var5) { if ($rt_s(2956) !== $var5) { if ($var5 instanceof jl_String) { $var5 = $var5; var$9 = $rt_s(2956).$nativeString !== $var5.$nativeString ? 0 : 1; } else var$9 = 0; } else var$9 = 1; if (!var$9) { var$9 = 0; break f; } } var$9 = 1; } if (var$9) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = $var2 === null ? null : $var2.$value1; } else { $var3 = new nms_NBTTagList; if ($rt_s(2956) !== null) $var3.$name = $rt_s(2956); else $var3.$name = $rt_s(18); $par1ItemStack = new ju_ArrayList; $par1ItemStack.$array = $rt_createArray(jl_Object, 10); $var3.$tagList = $par1ItemStack; } $var4 = 0; g: { while (true) { $par1ItemStack = $var3.$tagList; var$9 = $rt_compare($var4, $par1ItemStack.$size0); if (var$9 >= 0) break; if ($var4 < 0) break g; if (var$9 >= 0) break g; h: { $var5 = $par1ItemStack.$array.data[$var4]; $var2 = $var5.$tagMap; if (!$rt_s(1275).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1275).$nativeString.length) break h; $rt_s(1275).$hashCode1 = (31 * $rt_s(1275).$hashCode1 | 0) + $rt_s(1275).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$10 = $rt_s(1275).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$10) { i: { var$11 = $var2.$key; if ($rt_s(1275) !== var$11) { if ($rt_s(1275) !== var$11) { if (var$11 instanceof jl_String) { var$11 = var$11; var$9 = $rt_s(1275).$nativeString !== var$11.$nativeString ? 0 : 1; } else var$9 = 0; } else var$9 = 1; if (!var$9) { var$9 = 0; break i; } } var$9 = 1; } if (var$9) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $var5.$tagMap; if ($rt_s(1275) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { j: { if (!$rt_s(1275).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1275).$nativeString.length) break j; $rt_s(1275).$hashCode1 = (31 * $rt_s(1275).$hashCode1 | 0) + $rt_s(1275).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$10 = $rt_s(1275).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$10) { k: { var$11 = $var2.$key; if ($rt_s(1275) !== var$11) { if ($rt_s(1275) === var$11) var$9 = 1; else if (!(var$11 instanceof jl_String)) var$9 = 0; else { var$11 = var$11; var$9 = $rt_s(1275).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break k; } } var$9 = 1; } if (var$9) break; } $var2 = $var2.$next3; } } var$12 = ($var2 === null ? null : $var2.$value1).$data; } else var$12 = 0; l: { $var2 = $var5.$tagMap; if (!$rt_s(1276).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1276).$nativeString.length) break l; $rt_s(1276).$hashCode1 = (31 * $rt_s(1276).$hashCode1 | 0) + $rt_s(1276).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$10 = $rt_s(1276).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$10) { m: { var$11 = $var2.$key; if ($rt_s(1276) !== var$11) { if ($rt_s(1276) === var$11) var$9 = 1; else if (!(var$11 instanceof jl_String)) var$9 = 0; else { var$11 = var$11; var$9 = $rt_s(1276).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break m; } } var$9 = 1; } if (var$9) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) var$13 = 0; else { $var2 = $var5.$tagMap; if ($rt_s(1276) !== null) { n: { if (!$rt_s(1276).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(1276).$nativeString.length) break n; $rt_s(1276).$hashCode1 = (31 * $rt_s(1276).$hashCode1 | 0) + $rt_s(1276).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$10 = $rt_s(1276).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$10) { o: { var$11 = $var2.$key; if ($rt_s(1276) !== var$11) { if ($rt_s(1276) !== var$11) { if (!(var$11 instanceof jl_String)) var$9 = 0; else { var$11 = var$11; var$9 = $rt_s(1276).$nativeString !== var$11.$nativeString ? 0 : 1; } } else var$9 = 1; if (!var$9) { var$9 = 0; break o; } } var$9 = 1; } if (var$9) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } var$13 = ($var2 === null ? null : $var2.$value1).$data; } p: { $par1ItemStack = $var5.$tagMap; if (!$rt_s(1277).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1277).$nativeString.length) break p; $rt_s(1277).$hashCode1 = (31 * $rt_s(1277).$hashCode1 | 0) + $rt_s(1277).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$4 = $rt_s(1277).$hashCode1; var$5 = $par1ItemStack.$elementData.data; var$14 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == var$4) { q: { $par1ItemStack = var$14.$key; if ($rt_s(1277) !== $par1ItemStack) { if ($rt_s(1277) === $par1ItemStack) var$9 = 1; else if (!($par1ItemStack instanceof jl_String)) var$9 = 0; else { $par1ItemStack = $par1ItemStack; var$9 = $rt_s(1277).$nativeString !== $par1ItemStack.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break q; } } var$9 = 1; } if (var$9) break; } var$14 = var$14.$next3; } if (!(var$14 === null ? 0 : 1)) var$15 = 0; else { $par1ItemStack = $var5.$tagMap; if ($rt_s(1277) === null) { var$14 = $par1ItemStack.$elementData.data[0]; while (var$14 !== null && var$14.$key !== null) { var$14 = var$14.$next3; } } else { r: { if (!$rt_s(1277).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1277).$nativeString.length) break r; $rt_s(1277).$hashCode1 = (31 * $rt_s(1277).$hashCode1 | 0) + $rt_s(1277).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$4 = $rt_s(1277).$hashCode1; var$5 = $par1ItemStack.$elementData.data; var$14 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == var$4) { s: { $par1ItemStack = var$14.$key; if ($rt_s(1277) !== $par1ItemStack) { if ($rt_s(1277) === $par1ItemStack) var$9 = 1; else if (!($par1ItemStack instanceof jl_String)) var$9 = 0; else { $par1ItemStack = $par1ItemStack; var$9 = $rt_s(1277).$nativeString !== $par1ItemStack.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break s; } } var$9 = 1; } if (var$9) break; } var$14 = var$14.$next3; } } var$15 = (var$14 === null ? null : var$14.$value1).$data0; } t: { $par1ItemStack = $var5.$tagMap; if (!$rt_s(1278).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1278).$nativeString.length) break t; $rt_s(1278).$hashCode1 = (31 * $rt_s(1278).$hashCode1 | 0) + $rt_s(1278).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$4 = $rt_s(1278).$hashCode1; var$5 = $par1ItemStack.$elementData.data; var$14 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == var$4) { u: { $par1ItemStack = var$14.$key; if ($rt_s(1278) !== $par1ItemStack) { if ($rt_s(1278) === $par1ItemStack) var$9 = 1; else if (!($par1ItemStack instanceof jl_String)) var$9 = 0; else { $par1ItemStack = $par1ItemStack; var$9 = $rt_s(1278).$nativeString !== $par1ItemStack.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break u; } } var$9 = 1; } if (var$9) break; } var$14 = var$14.$next3; } if (!(var$14 === null ? 0 : 1)) var$9 = 0; else { $par1ItemStack = $var5.$tagMap; if ($rt_s(1278) === null) { $par1ItemStack = $par1ItemStack.$elementData.data[0]; while ($par1ItemStack !== null && $par1ItemStack.$key !== null) { $par1ItemStack = $par1ItemStack.$next3; } } else { v: { if (!$rt_s(1278).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1278).$nativeString.length) break v; $rt_s(1278).$hashCode1 = (31 * $rt_s(1278).$hashCode1 | 0) + $rt_s(1278).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$10 = $rt_s(1278).$hashCode1; var$5 = $par1ItemStack.$elementData.data; $par1ItemStack = var$5[var$10 & (var$5.length - 1 | 0)]; while ($par1ItemStack !== null) { if ($par1ItemStack.$origKeyHash == var$10) { w: { $var2 = $par1ItemStack.$key; if ($rt_s(1278) !== $var2) { if ($rt_s(1278) === $var2) var$9 = 1; else if (!($var2 instanceof jl_String)) var$9 = 0; else { $var2 = $var2; var$9 = $rt_s(1278).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break w; } } var$9 = 1; } if (var$9) break; } $par1ItemStack = $par1ItemStack.$next3; } } var$9 = ($par1ItemStack === null ? null : $par1ItemStack.$value1).$data; } var$9 = !var$9 ? 0 : 1; $par1ItemStack = new nms_PotionEffect; $par1ItemStack.$potionID = var$12; $par1ItemStack.$duration = var$15; $par1ItemStack.$amplifier = var$13; $par1ItemStack.$isAmbient = var$9; ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); var$5 = $var6.$array.data; var$4 = $var6.$size0; $var6.$size0 = var$4 + 1 | 0; var$5[var$4] = $par1ItemStack; $var6.$modCount = $var6.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } return $var6; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } } $var2 = $this.$effectCache; var$9 = $par1ItemStack.$itemDamage; if (var$9 >= (-128) && var$9 <= 127) { jl_Integer_ensureIntegerCache(); $var6 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { $var6 = new jl_Integer; $var6.$value0 = var$9; } if ($var6 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$4 = $var6.$value0; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { $var5 = $var2.$key; if ($var6 !== $var5 && !($var6 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null) { $var2 = nms_PotionHelper_getPotionEffects($par1ItemStack.$itemDamage, 0); $var6 = $this.$effectCache; var$9 = $par1ItemStack.$itemDamage; if (var$9 >= (-128) && var$9 <= 127) { jl_Integer_ensureIntegerCache(); $par1ItemStack = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { $par1ItemStack = new jl_Integer; $par1ItemStack.$value0 = var$9; } ju_HashMap_putImpl($var6, $par1ItemStack, $var2); } return $var2; }, nms_ItemPotion_onEaten = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let $var4, $var5, $var6; if (!$par3EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; a: { if (!$par2World.$isRemote) { $var4 = nms_ItemPotion_getEffects($this, $par1ItemStack); if ($var4 !== null) { $var5 = $var4.$iterator(); while (true) { if (!$var5.$hasNext()) break a; $var6 = $var5.$next(); $par2World = new nms_PotionEffect; $par2World.$potionID = $var6.$potionID; $par2World.$duration = $var6.$duration; $par2World.$amplifier = $var6.$amplifier; nms_EntityLivingBase_addPotionEffect($par3EntityPlayer, $par2World); } } } } if (!$par3EntityPlayer.$capabilities.$isCreativeMode) { if ($par1ItemStack.$stackSize <= 0) { $par1ItemStack = new nms_ItemStack; nms_Item_$callClinit(); $par2World = nms_Item_glassBottle; nms_ItemStack_$callClinit(); $par1ItemStack.$itemID = $par2World.$itemID0; $par1ItemStack.$stackSize = 1; $par1ItemStack.$itemDamage = 0; return $par1ItemStack; } $var4 = $par3EntityPlayer.$inventory; $par2World = new nms_ItemStack; nms_Item_$callClinit(); $par3EntityPlayer = nms_Item_glassBottle; nms_ItemStack_$callClinit(); $par2World.$itemID = $par3EntityPlayer.$itemID0; $par2World.$stackSize = 1; $par2World.$itemDamage = 0; nms_InventoryPlayer_addItemStackToInventory($var4, $par2World); } return $par1ItemStack; }, nms_ItemPotion_getMaxItemUseDuration = ($this, $par1ItemStack) => { return 32; }, nms_ItemPotion_getItemUseAction = ($this, $par1ItemStack) => { return nms_EnumAction_drink; }, nms_ItemPotion_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!(!($par1ItemStack.$itemDamage & 16384) ? 0 : 1)) { if ($par1ItemStack !== $par3EntityPlayer.$itemInUse) { $par3EntityPlayer.$itemInUse = $par1ItemStack; $par3EntityPlayer.$itemInUseCount = 32; if (!$par3EntityPlayer.$worldObj.$isRemote) nms_Entity_setFlag($par3EntityPlayer, 4, 1); } return $par1ItemStack; } if (!$par3EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; nms_Item_$callClinit(); var$4 = nms_Item_itemRand; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; nms_World_playSoundAtEntity($par2World, $par3EntityPlayer, $rt_s(1501), 0.5, 0.4000000059604645 / (Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929)); if ($par2World.$isRemote) return $par1ItemStack; var$6 = new nms_EntityPotion; $ptr = 1; case 1: nms_EntityThrowable__init_(var$6, $par2World, $par3EntityPlayer); if ($rt_suspending()) { break main; } var$6.$potionDamage = $par1ItemStack; var$7 = nms_World_spawnEntityInWorld($par2World, var$6); $par3EntityPlayer = $par2World.$entityList; ju_HashMap_putImpl($par3EntityPlayer.$backingMap, var$6, $par3EntityPlayer); if (!var$7) { $par2World = $par2World.$entitySpawnQueue; ju_HashMap_putImpl($par2World.$backingMap, var$6, $par2World); } return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, var$4, var$5, var$6, var$7, $ptr); }, nms_ItemPotion_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { return 0; }, nms_ItemPotion_getIconFromDamage = ($this, $par1) => { return !(!($par1 & 16384) ? 0 : 1) ? $this.$field_94590_d : $this.$field_94591_c; }, nms_ItemPotion_getIconFromDamageForRenderPass = ($this, $par1, $par2) => { return !$par2 ? $this.$field_94592_ct : !(!($par1 & 16384) ? 0 : 1) ? $this.$field_94590_d : $this.$field_94591_c; }, nms_ItemPotion_getColorFromItemStack = ($this, $par1ItemStack, $par2) => { return $par2 > 0 ? 16777215 : nms_PotionHelper_func_77915_a($par1ItemStack.$itemDamage, 0); }, nms_ItemPotion_requiresMultipleRenderPasses = $this => { return 1; }, nms_ItemPotion_isEffectInstant = ($this, $par1) => { let $var2, var$3, $var3, var$5, var$6, $var4; $var2 = $this.$effectCache; var$3 = $rt_compare($par1, (-128)); if (var$3 >= 0 && $par1 <= 127) { jl_Integer_ensureIntegerCache(); $var3 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { $var3 = new jl_Integer; $var3.$value0 = $par1; } if ($var3 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$5 = $var3.$value0; var$6 = $var2.$elementData.data; $var2 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$5) { $var4 = $var2.$key; if ($var3 !== $var4 && !($var3 === $var4 ? 1 : $var4 instanceof jl_Integer && $var4.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null) { $var2 = nms_PotionHelper_getPotionEffects($par1, 0); $var3 = $this.$effectCache; if (var$3 >= 0 && $par1 <= 127) { jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { $var4 = new jl_Integer; $var4.$value0 = $par1; } ju_HashMap_putImpl($var3, $var4, $var2); } if ($var2 !== null && !($var2.$size() ? 0 : 1)) { $var3 = $var2.$iterator(); while ($var3.$hasNext()) { $var4 = $var3.$next(); nms_Potion_$callClinit(); if (!nms_Potion_potionTypes.data[$var4.$potionID].$isInstant()) continue; else return 1; } return 0; } return 0; }, nms_ItemPotion_getItemDisplayName = ($this, $par1ItemStack) => { let var$2, $var2, $var3, var$5, var$6, var$7, var$8, var$9, $var4; var$2 = $par1ItemStack.$itemDamage; if (!var$2) { nms_StatCollector_$callClinit(); return jl_String_trim(nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2957))); } $var2 = $rt_s(18); if (!(var$2 & 16384) ? 0 : 1) { nms_StatCollector_$callClinit(); $var2 = jl_String_trim(nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2958))); $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); var$5 = $var3.$length0; if ($var2 === null) $var2 = $rt_s(1); jl_AbstractStringBuilder_insert($var3, var$5, $var2); var$2 = $var3.$length0; jl_AbstractStringBuilder_insertSpace($var3, var$2, var$2 + 1 | 0); var$6 = $var3.$buffer; var$7 = var$6.data; var$7[var$2] = 32; $var2 = new jl_String; var$2 = $var3.$length0; var$8 = var$7.length; if (var$2 >= 0 && var$2 <= (var$8 - 0 | 0)) $var2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); else { $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } } nms_Item_$callClinit(); $var3 = nms_ItemPotion_getEffects(nms_Item_potion, $par1ItemStack); if ($var3 !== null && !($var3.$size() ? 0 : 1)) { $par1ItemStack = $var3.$get(0); nms_Potion_$callClinit(); $var3 = nms_Potion_potionTypes.data[$par1ItemStack.$potionID].$name2; $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); var$5 = $par1ItemStack.$length0; if ($var3 === null) $var3 = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, var$5, $var3); jl_AbstractStringBuilder_insert($par1ItemStack, $par1ItemStack.$length0, $rt_s(2959)); $var3 = new jl_String; var$6 = $par1ItemStack.$buffer; var$7 = var$6.data; var$2 = $par1ItemStack.$length0; var$8 = var$7.length; if (var$2 >= 0 && var$2 <= (var$8 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); nms_StatCollector_$callClinit(); $par1ItemStack = jl_String_trim(nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $var3)); $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $var2); var$5 = $var3.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_AbstractStringBuilder_insert($var3, var$5, $par1ItemStack); $par1ItemStack = new jl_String; var$6 = $var3.$buffer; var$7 = var$6.data; var$2 = $var3.$length0; var$8 = var$7.length; if (var$2 >= 0 && var$2 <= (var$8 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); return $par1ItemStack; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } var$9 = $par1ItemStack.$itemDamage; nms_PotionHelper_$callClinit(); var$5 = nms_PotionHelper_func_77908_a(var$9, 5, 4, 3, 2, 1); $var4 = nms_PotionHelper_potionPrefixes.data[var$5]; nms_StatCollector_$callClinit(); $par1ItemStack = jl_String_trim(nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $var4)); $var2 = $this.$unlocalizedName0; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0($var3, $var3.$length0, jl_String_toString($rt_s(2084))); jl_StringBuilder_insert0($var3, $var3.$length0, $var2 === null ? $rt_s(1) : jl_String_toString($var2)); $var4 = new jl_String; var$6 = $var3.$buffer; var$7 = var$6.data; var$2 = $var3.$length0; var$8 = var$7.length; if (var$2 >= 0 && var$2 <= (var$8 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); $var3 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $var4); $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); var$5 = $var2.$length0; if ($var3 === null) $var3 = $rt_s(1); jl_AbstractStringBuilder_insert($var2, var$5, $var3); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $rt_s(1258)); $var3 = new jl_String; var$6 = $var2.$buffer; var$7 = var$6.data; var$2 = $var2.$length0; var$8 = var$7.length; if (var$2 >= 0 && var$2 <= (var$8 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); $var3 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $var3); $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); var$5 = $var2.$length0; if ($var3 === null) $var3 = $rt_s(1); jl_AbstractStringBuilder_insert($var2, var$5, $var3); $var3 = new jl_String; var$6 = $var2.$buffer; var$7 = var$6.data; var$2 = $var2.$length0; var$8 = var$7.length; if (var$2 >= 0 && var$2 <= (var$8 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); $var3 = jl_String_trim($var3); $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); var$5 = $var2.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_AbstractStringBuilder_insert($var2, var$5, $par1ItemStack); var$2 = $var2.$length0; jl_AbstractStringBuilder_insertSpace($var2, var$2, var$2 + 1 | 0); $var2.$buffer.data[var$2] = 32; var$5 = $var2.$length0; if ($var3 === null) $var3 = $rt_s(1); jl_AbstractStringBuilder_insert($var2, var$5, $var3); $par1ItemStack = new jl_String; var$6 = $var2.$buffer; var$7 = var$6.data; var$2 = $var2.$length0; var$8 = var$7.length; if (var$2 >= 0 && var$2 <= (var$8 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); return $par1ItemStack; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1ItemStack); $rt_throw($par1ItemStack); }, nms_ItemPotion_addInformation = ($this, $par1ItemStack, $par2EntityPlayer, $par3List, $par4) => { let $var5, $var9, $var7, $var8, var$9, var$10, var$11, var$12, $var6, var$14, var$15; a: { b: { c: { d: { e: { if ($par1ItemStack.$itemDamage) { nms_Item_$callClinit(); $var5 = nms_ItemPotion_getEffects(nms_Item_potion, $par1ItemStack); if ($var5 !== null && !($var5.$size() ? 0 : 1)) { $var9 = $var5.$iterator(); while ($var9.$hasNext()) { $var7 = $var9.$next(); nms_Potion_$callClinit(); $par2EntityPlayer = nms_Potion_potionTypes.data[$var7.$potionID].$name2; nms_StatCollector_$callClinit(); $var8 = jl_String_trim(nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $par2EntityPlayer)); var$9 = $var7.$amplifier; if (var$9 > 0) { $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1ItemStack, $par1ItemStack.$length0, $rt_s(2960)); jl_AbstractStringBuilder_insert0($par1ItemStack, $par1ItemStack.$length0, var$9, 10); $par2EntityPlayer = new jl_String; var$10 = $par1ItemStack.$buffer; var$11 = var$10.data; var$12 = $par1ItemStack.$length0; var$9 = var$11.length; if (var$12 < 0) break c; if (var$12 > (var$9 - 0 | 0)) break c; $par2EntityPlayer.$nativeString = $rt_charArrayToString(var$10.data, 0, var$12); $par1ItemStack = jl_String_trim(nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $par2EntityPlayer)); $par2EntityPlayer = new jl_StringBuilder; $par2EntityPlayer.$buffer = $rt_createCharArray(16); $par4 = $par2EntityPlayer.$length0; if ($var8 === null) $var8 = $rt_s(1); jl_AbstractStringBuilder_insert($par2EntityPlayer, $par4, $var8); $par4 = $par2EntityPlayer.$length0; jl_AbstractStringBuilder_insertSpace($par2EntityPlayer, $par4, $par4 + 1 | 0); $par2EntityPlayer.$buffer.data[$par4] = 32; $par4 = $par2EntityPlayer.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_AbstractStringBuilder_insert($par2EntityPlayer, $par4, $par1ItemStack); $var8 = new jl_String; var$10 = $par2EntityPlayer.$buffer; var$11 = var$10.data; var$12 = $par2EntityPlayer.$length0; var$9 = var$11.length; if (var$12 < 0) break d; if (var$12 > (var$9 - 0 | 0)) break d; $var8.$nativeString = $rt_charArrayToString(var$10.data, 0, var$12); } var$12 = $var7.$duration; if (var$12 > 20) { $par1ItemStack = $var7.$isPotionDurationMax ? $rt_s(1805) : nms_StringUtils_ticksToElapsedTime(var$12); $par2EntityPlayer = new jl_StringBuilder; $par2EntityPlayer.$buffer = $rt_createCharArray(16); $par4 = $par2EntityPlayer.$length0; if ($var8 === null) $var8 = $rt_s(1); jl_AbstractStringBuilder_insert($par2EntityPlayer, $par4, $var8); jl_AbstractStringBuilder_insert($par2EntityPlayer, $par2EntityPlayer.$length0, $rt_s(1542)); $par4 = $par2EntityPlayer.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_AbstractStringBuilder_insert($par2EntityPlayer, $par4, $par1ItemStack); $par4 = $par2EntityPlayer.$length0; jl_AbstractStringBuilder_insertSpace($par2EntityPlayer, $par4, $par4 + 1 | 0); var$10 = $par2EntityPlayer.$buffer; var$11 = var$10.data; var$11[$par4] = 41; $var8 = new jl_String; var$12 = $par2EntityPlayer.$length0; var$9 = var$11.length; if (var$12 < 0) break b; if (var$12 > (var$9 - 0 | 0)) break b; $var8.$nativeString = $rt_charArrayToString(var$10.data, 0, var$12); } if (!nms_Potion_potionTypes.data[$var7.$potionID].$isBadEffect) { nms_EnumChatFormatting_$callClinit(); $par1ItemStack = nms_EnumChatFormatting_GRAY; $par2EntityPlayer = $par1ItemStack === null ? $rt_s(1) : $par1ItemStack.$field_96304_B; $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); $par4 = $par1ItemStack.$length0; if ($par2EntityPlayer === null) $par2EntityPlayer = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, $par4, $par2EntityPlayer); $par4 = $par1ItemStack.$length0; if ($var8 === null) $var8 = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, $par4, $var8); $par2EntityPlayer = new jl_String; var$10 = $par1ItemStack.$buffer; var$11 = var$10.data; var$12 = $par1ItemStack.$length0; var$9 = var$11.length; if (var$12 < 0) break e; if (var$12 > (var$9 - 0 | 0)) break e; $par2EntityPlayer.$nativeString = $rt_charArrayToString(var$10.data, 0, var$12); ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$10 = $par3List.$array.data; var$12 = $par3List.$size0; $par3List.$size0 = var$12 + 1 | 0; var$10[var$12] = $par2EntityPlayer; $par3List.$modCount = $par3List.$modCount + 1 | 0; } else { nms_EnumChatFormatting_$callClinit(); $par1ItemStack = nms_EnumChatFormatting_RED; $par2EntityPlayer = $par1ItemStack === null ? $rt_s(1) : $par1ItemStack.$field_96304_B; $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); $par4 = $par1ItemStack.$length0; if ($par2EntityPlayer === null) $par2EntityPlayer = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, $par4, $par2EntityPlayer); $par4 = $par1ItemStack.$length0; if ($var8 === null) $var8 = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, $par4, $var8); $par2EntityPlayer = new jl_String; var$10 = $par1ItemStack.$buffer; var$11 = var$10.data; var$12 = $par1ItemStack.$length0; var$9 = var$11.length; if (var$12 < 0) break a; if (var$12 > (var$9 - 0 | 0)) break a; $par2EntityPlayer.$nativeString = $rt_charArrayToString(var$10.data, 0, var$12); ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$10 = $par3List.$array.data; var$12 = $par3List.$size0; $par3List.$size0 = var$12 + 1 | 0; var$10[var$12] = $par2EntityPlayer; $par3List.$modCount = $par3List.$modCount + 1 | 0; } } } else { nms_StatCollector_$callClinit(); $var6 = jl_String_trim(nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2961))); nms_EnumChatFormatting_$callClinit(); $par1ItemStack = nms_EnumChatFormatting_GRAY; $par2EntityPlayer = $par1ItemStack === null ? $rt_s(1) : $par1ItemStack.$field_96304_B; $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); $par4 = $par1ItemStack.$length0; if ($par2EntityPlayer === null) $par2EntityPlayer = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, $par4, $par2EntityPlayer); $par4 = $par1ItemStack.$length0; if ($var6 === null) $var6 = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, $par4, $var6); $par2EntityPlayer = new jl_String; var$10 = $par1ItemStack.$buffer; var$11 = var$10.data; var$14 = $par1ItemStack.$length0; var$15 = var$11.length; if (var$14 >= 0 && var$14 <= (var$15 - 0 | 0)) { $par2EntityPlayer.$nativeString = $rt_charArrayToString(var$10.data, 0, var$14); ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$10 = $par3List.$array.data; var$14 = $par3List.$size0; $par3List.$size0 = var$14 + 1 | 0; var$10[var$14] = $par2EntityPlayer; $par3List.$modCount = $par3List.$modCount + 1 | 0; } else { $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } } } return; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); }, nms_ItemPotion_hasEffect = ($this, $par1ItemStack) => { let $var2; $var2 = nms_ItemPotion_getEffects($this, $par1ItemStack); return $var2 !== null && !($var2.$size() ? 0 : 1) ? 1 : 0; }, nms_ItemPotion_getSubItems = ($this, $par1, $par2CreativeTabs, $par3List) => { let var$4, $var5, $var4, $var6, $var7, var$9, $var9, $var10, var$12; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; $var5 = $par3List.$size0; $par3List.$size0 = $var5 + 1 | 0; var$4[$var5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $var4 = nms_ItemPotion_field_77835_b.$elementCount ? 0 : 1; a: { if ($var4) { $var4 = 0; while (true) { if ($var4 > 15) break a; $var5 = 0; while ($var5 <= 1) { $var6 = $var5 ? $var4 | 16384 : $var4 | 8192; $var7 = 0; while (true) { var$9 = $rt_compare($var7, 2); if (var$9 > 0) break; var$9 = !$var7 ? $var6 : $var7 == 1 ? $var6 | 32 : var$9 ? $var6 : $var6 | 64; $var9 = nms_PotionHelper_getPotionEffects(var$9, 0); if ($var9 !== null && !($var9.$size0 ? 0 : 1)) { $par2CreativeTabs = nms_ItemPotion_field_77835_b; if (var$9 >= (-128) && var$9 <= 127) { jl_Integer_ensureIntegerCache(); $var10 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { $var10 = new jl_Integer; $var10.$value0 = var$9; } var$12 = $par2CreativeTabs.$elementCount; ju_LinkedHashMap_putImpl($par2CreativeTabs, $var9, $var10, 0, $par2CreativeTabs.$accessOrder); } $var7 = $var7 + 1 | 0; } $var5 = $var5 + 1 | 0; } $var4 = $var4 + 1 | 0; } } } $par2CreativeTabs = nms_ItemPotion_field_77835_b; if ($par2CreativeTabs.$cachedValues === null) { $var10 = new ju_LinkedHashMapValues; $var10.$base0 = $par2CreativeTabs; $var10.$reversed1 = 0; $par2CreativeTabs.$cachedValues = $var10; } $var9 = $par2CreativeTabs.$cachedValues; $var10 = new ju_LinkedHashMapIterator$ValueIterator; $par2CreativeTabs = $var9.$base0; $var4 = $var9.$reversed1; $var10.$base = $par2CreativeTabs; $var10.$reversed = $var4; $var10.$expectedModCount0 = $par2CreativeTabs.$modCount0; $var10.$futureEntry = !$var4 ? $par2CreativeTabs.$head : $par2CreativeTabs.$tail; while ($var10.$futureEntry === null ? 0 : 1) { $var5 = (ju_LinkedHashMapIterator$ValueIterator_next($var10)).$value0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = $var5; if ($var5 < 0) $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; $var4 = $par3List.$size0; $par3List.$size0 = $var4 + 1 | 0; var$4[$var4] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; } }, nms_ItemPotion_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$iconString; if (var$2 === null) { var$3 = $this.$itemID0; var$2 = $this.$unlocalizedName0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2962)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$field_94590_d = nms_TextureMap_registerIcon($par1IconRegister, var$2, 1); var$2 = $this.$iconString; if (var$2 === null) { var$3 = $this.$itemID0; var$2 = $this.$unlocalizedName0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2963)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$field_94591_c = nms_TextureMap_registerIcon($par1IconRegister, var$2, 1); var$2 = $this.$iconString; if (var$2 === null) { var$3 = $this.$itemID0; var$2 = $this.$unlocalizedName0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2964)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$field_94592_ct = nms_TextureMap_registerIcon($par1IconRegister, var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_ItemPotion_func_94589_d = $par0Str => { let var$2, var$3; if ($par0Str === $rt_s(2965)) var$2 = 1; else if (!($rt_s(2965) instanceof jl_String)) var$2 = 0; else { var$3 = $rt_s(2965); var$2 = $par0Str.$nativeString !== var$3.$nativeString ? 0 : 1; } if (var$2) { nms_Item_$callClinit(); $par0Str = nms_Item_potion.$field_94590_d; } else { if ($par0Str === $rt_s(2082)) var$2 = 1; else if (!($rt_s(2082) instanceof jl_String)) var$2 = 0; else { var$3 = $rt_s(2082); var$2 = $par0Str.$nativeString !== var$3.$nativeString ? 0 : 1; } if (var$2) { nms_Item_$callClinit(); $par0Str = nms_Item_potion.$field_94591_c; } else { if ($par0Str === $rt_s(1998)) var$2 = 1; else if (!($rt_s(1998) instanceof jl_String)) var$2 = 0; else { var$3 = $rt_s(1998); var$2 = $par0Str.$nativeString !== var$3.$nativeString ? 0 : 1; } if (!var$2) $par0Str = null; else { nms_Item_$callClinit(); $par0Str = nms_Item_potion.$field_94592_ct; } } } return $par0Str; }, nms_ItemPotion__clinit_ = () => { nms_ItemPotion_field_77835_b = ju_LinkedHashMap__init_(); }, nms_ItemGlassBottle = $rt_classWithoutFields(nms_Item), nms_ItemGlassBottle__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabBrewing; }, nms_ItemGlassBottle__init_ = var_0 => { let var_1 = new nms_ItemGlassBottle(); nms_ItemGlassBottle__init_0(var_1, var_0); return var_1; }, nms_ItemGlassBottle_getIconFromDamage = ($this, $par1) => { nms_Item_$callClinit(); return nms_Item_potion.$field_94590_d; }, nms_ItemGlassBottle_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let $var5, $var4, $var6, $var7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var5 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = 1; $ptr = 1; case 1: $tmp = nms_Item_getMovingObjectPositionFromPlayer($this, $par2World, $par3EntityPlayer, $var5); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 === null) return $par1ItemStack; if ($var4.$typeOfHit === nms_EnumMovingObjectType_TILE) { $var5 = $var4.$blockX; $var6 = $var4.$blockY; $var7 = $var4.$blockZ; if (!($par3EntityPlayer.$capabilities.$allowEdit ? 1 : $par1ItemStack === null ? 0 : 1)) return $par1ItemStack; $var5 = nms_World_getBlockId($par2World, $var5, $var6, $var7); if (!$var5) { nms_Material_$callClinit(); $var4 = nms_Material_air; } else { nms_Block_$callClinit(); $var4 = nms_Block_blocksList.data[$var5].$blockMaterial; } nms_Material_$callClinit(); if ($var4 === nms_Material_water) { $var5 = $par1ItemStack.$stackSize - 1 | 0; $par1ItemStack.$stackSize = $var5; if ($var5 <= 0) { $par1ItemStack = new nms_ItemStack; $par2World = nms_Item_potion; nms_ItemStack_$callClinit(); $par1ItemStack.$itemID = $par2World.$itemID0; $par1ItemStack.$stackSize = 1; $par1ItemStack.$itemDamage = 0; return $par1ItemStack; } $par2World = $par3EntityPlayer.$inventory; $var4 = new nms_ItemStack; var$8 = nms_Item_potion; nms_ItemStack_$callClinit(); $var4.$itemID = var$8.$itemID0; $var4.$stackSize = 1; $var4.$itemDamage = 0; if (!nms_InventoryPlayer_addItemStackToInventory($par2World, $var4)) { $par2World = new nms_ItemStack; $par2World.$itemID = nms_Item_potion.$itemID0; $par2World.$stackSize = 1; $par2World.$itemDamage = 0; $var5 = 0; $ptr = 2; continue main; } } } return $par1ItemStack; case 2: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par3EntityPlayer, $par2World, $var5); if ($rt_suspending()) { break main; } return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, $var5, $var4, $var6, $var7, var$8, $ptr); }, nms_ItemGlassBottle_registerIcons = ($this, $par1IconRegister) => { return; }, nms_ItemEnderEye = $rt_classWithoutFields(nms_Item), nms_ItemEnderEye__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabMisc; }, nms_ItemEnderEye__init_0 = var_0 => { let var_1 = new nms_ItemEnderEye(); nms_ItemEnderEye__init_(var_1, var_0); return var_1; }, nms_ItemEnderEye_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var11, $var12, $var29, $var13, $var16, var$16, $var26, $var15, $var27, $var17, $var28, $var19, $var21, var$24, $var29_0, var$26, $var30, $var23, $var31, var$30, $var14, $var18, $var20, $var22, $var24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var24 = $thread.pop();$var22 = $thread.pop();$var20 = $thread.pop();$var18 = $thread.pop();$var14 = $thread.pop();var$30 = $thread.pop();$var31 = $thread.pop();$var23 = $thread.pop();$var30 = $thread.pop();var$26 = $thread.pop();$var29_0 = $thread.pop();var$24 = $thread.pop();$var21 = $thread.pop();$var19 = $thread.pop();$var28 = $thread.pop();$var17 = $thread.pop();$var27 = $thread.pop();$var15 = $thread.pop();$var26 = $thread.pop();var$16 = $thread.pop();$var16 = $thread.pop();$var13 = $thread.pop();$var29 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var11 = nms_World_getBlockId($par3World, $par4, $par5, $par6); $var12 = nms_World_getBlockMetadata($par3World, $par4, $par5, $par6); if ($par2EntityPlayer.$capabilities.$allowEdit) $par7 = 1; else if ($par1ItemStack === null) $par7 = 0; else { nms_Item_$callClinit(); $par7 = 1; } if ($par7) { nms_Block_$callClinit(); if ($var11 == nms_Block_endPortalFrame.$blockID && !(!($var12 & 4) ? 0 : 1)) { if ($par3World.$isRemote) return 1; $par7 = $var12 + 4 | 0; $var29 = 2; $ptr = 1; continue main; } } return 0; case 1: nms_World_setBlockMetadataWithNotify($par3World, $par4, $par5, $par6, $par7, $var29); if ($rt_suspending()) { break main; } $par7 = nms_Block_endPortalFrame.$blockID; $ptr = 2; case 2: nms_World_func_96440_m($par3World, $par4, $par5, $par6, $par7); if ($rt_suspending()) { break main; } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; $var13 = 0; $par10 = $par4; $par7 = 24; $var16 = $par5 + 0.8125; var$16 = $par6; while (true) { if ($var13 >= 16) { $var11 = $var12 & 3; $var26 = 0; $var15 = 0; $var27 = 0; $var17 = 1; $var28 = nms_Direction_rotateRight.data[$var11]; $var19 = (-2); a: { while ($var19 <= 2) { $var29 = $par4 + $rt_imul(nms_Direction_offsetX.data[$var28], $var19) | 0; $var21 = $par6 + $rt_imul(nms_Direction_offsetZ.data[$var28], $var19) | 0; if (nms_World_getBlockId($par3World, $var29, $par5, $var21) == nms_Block_endPortalFrame.$blockID) { if (!(!(nms_World_getBlockMetadata($par3World, $var29, $par5, $var21) & 4) ? 0 : 1)) { $var17 = 0; break a; } if ($var27) $var15 = $var19; else { $var27 = 1; $var15 = $var19; $var26 = $var19; } } $var19 = $var19 + 1 | 0; } } b: { if ($var17 && $var15 == ($var26 + 2 | 0)) { $var29 = $var26; c: { d: { while ($var29 <= $var15) { var$24 = nms_Direction_offsetX.data; $var29_0 = $par4 + $rt_imul(var$24[$var28], $var29) | 0; var$26 = nms_Direction_offsetZ.data; $var21 = $par6 + $rt_imul(var$26[$var28], $var29) | 0; $par7 = $var29_0 + (var$24[$var11] * 4 | 0) | 0; $var21 = $var21 + (var$26[$var11] * 4 | 0) | 0; $var30 = nms_World_getBlockId($par3World, $par7, $par5, $var21); $var23 = nms_World_getBlockMetadata($par3World, $par7, $par5, $var21); if ($var30 != nms_Block_endPortalFrame.$blockID) break d; if (!(!($var23 & 4) ? 0 : 1)) break d; $var29 = $var29 + 1 | 0; } break c; } $var17 = 0; } $par7 = $var26 - 1 | 0; while ($par7 <= ($var15 + 1 | 0)) { $var29 = 1; e: { f: { while ($var29 <= 3) { var$24 = nms_Direction_offsetX.data; $var21 = $par4 + $rt_imul(var$24[$var28], $par7) | 0; var$26 = nms_Direction_offsetZ.data; $var30 = $par6 + $rt_imul(var$26[$var28], $par7) | 0; $var21 = $var21 + $rt_imul(var$24[$var11], $var29) | 0; $var30 = $var30 + $rt_imul(var$26[$var11], $var29) | 0; $var23 = nms_World_getBlockId($par3World, $var21, $par5, $var30); $var31 = nms_World_getBlockMetadata($par3World, $var21, $par5, $var30); if ($var23 != nms_Block_endPortalFrame.$blockID) break f; if (!(!($var31 & 4) ? 0 : 1)) break f; $var29 = $var29 + 1 | 0; } break e; } $var17 = 0; } $par7 = $par7 + 4 | 0; } if ($var17) while (true) { if ($var26 > $var15) break b; $var29 = 1; if ($var29 <= 3) { var$24 = nms_Direction_offsetX.data; $var21 = $par4 + $rt_imul(var$24[$var28], $var26) | 0; var$26 = nms_Direction_offsetZ.data; $var30 = $par6 + $rt_imul(var$26[$var28], $var26) | 0; $par7 = $var21 + $rt_imul(var$24[$var11], $var29) | 0; $var21 = $var30 + $rt_imul(var$26[$var11], $var29) | 0; $var30 = nms_Block_endPortal.$blockID; $var17 = 0; $var27 = 2; $ptr = 4; continue main; } $var26 = $var26 + 1 | 0; } } } return 1; } nms_Item_$callClinit(); $par1ItemStack = nms_Item_itemRand; var$30 = Long_and(Long_add(Long_mul($par1ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1ItemStack.$seed = var$30; $var14 = $par10 + (5.0 + Long_lo(Long_shru(var$30, $par7)) / 1.6777216E7 * 6.0) / 16.0; var$30 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1ItemStack.$seed = var$30; $var18 = var$16 + (5.0 + Long_lo(Long_shru(var$30, $par7)) / 1.6777216E7 * 6.0) / 16.0; $var20 = 0.0; $var22 = 0.0; $var24 = 0.0; $par1ItemStack = $rt_s(1479); $var29 = 0; $par2EntityPlayer = $par3World.$worldAccesses; $var21 = $rt_compare($var29, $par2EntityPlayer.$size0); if ($var21 < 0) break; $var13 = $var13 + 1 | 0; } if ($var29 >= 0 && $var21 < 0) { $par2EntityPlayer = $par2EntityPlayer.$array.data[$var29]; $ptr = 3; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); case 3: nms_RenderGlobal_doSpawnParticle($par2EntityPlayer, $par1ItemStack, $var14, $var16, $var18, $var20, $var22, $var24); if ($rt_suspending()) { break main; } $var29 = $var29 + 1 | 0; while (true) { $par2EntityPlayer = $par3World.$worldAccesses; $var21 = $rt_compare($var29, $par2EntityPlayer.$size0); if ($var21 < 0) break; $var13 = $var13 + 1 | 0; if ($var13 >= 16) { $var11 = $var12 & 3; $var26 = 0; $var15 = 0; $var27 = 0; $var17 = 1; $var28 = nms_Direction_rotateRight.data[$var11]; $var19 = (-2); g: { while ($var19 <= 2) { $var29 = $par4 + $rt_imul(nms_Direction_offsetX.data[$var28], $var19) | 0; $var21 = $par6 + $rt_imul(nms_Direction_offsetZ.data[$var28], $var19) | 0; if (nms_World_getBlockId($par3World, $var29, $par5, $var21) == nms_Block_endPortalFrame.$blockID) { if (!(!(nms_World_getBlockMetadata($par3World, $var29, $par5, $var21) & 4) ? 0 : 1)) { $var17 = 0; break g; } if ($var27) $var15 = $var19; else { $var27 = 1; $var15 = $var19; $var26 = $var19; } } $var19 = $var19 + 1 | 0; } } h: { if ($var17 && $var15 == ($var26 + 2 | 0)) { $var29 = $var26; b: { c: { while ($var29 <= $var15) { var$24 = nms_Direction_offsetX.data; $var29_0 = $par4 + $rt_imul(var$24[$var28], $var29) | 0; var$26 = nms_Direction_offsetZ.data; $var21 = $par6 + $rt_imul(var$26[$var28], $var29) | 0; $par7 = $var29_0 + (var$24[$var11] * 4 | 0) | 0; $var21 = $var21 + (var$26[$var11] * 4 | 0) | 0; $var30 = nms_World_getBlockId($par3World, $par7, $par5, $var21); $var23 = nms_World_getBlockMetadata($par3World, $par7, $par5, $var21); if ($var30 != nms_Block_endPortalFrame.$blockID) break c; if (!(!($var23 & 4) ? 0 : 1)) break c; $var29 = $var29 + 1 | 0; } break b; } $var17 = 0; } $par7 = $var26 - 1 | 0; while ($par7 <= ($var15 + 1 | 0)) { $var29 = 1; i: { e: { while ($var29 <= 3) { var$24 = nms_Direction_offsetX.data; $var21 = $par4 + $rt_imul(var$24[$var28], $par7) | 0; var$26 = nms_Direction_offsetZ.data; $var30 = $par6 + $rt_imul(var$26[$var28], $par7) | 0; $var21 = $var21 + $rt_imul(var$24[$var11], $var29) | 0; $var30 = $var30 + $rt_imul(var$26[$var11], $var29) | 0; $var23 = nms_World_getBlockId($par3World, $var21, $par5, $var30); $var31 = nms_World_getBlockMetadata($par3World, $var21, $par5, $var30); if ($var23 != nms_Block_endPortalFrame.$blockID) break e; if (!(!($var31 & 4) ? 0 : 1)) break e; $var29 = $var29 + 1 | 0; } break i; } $var17 = 0; } $par7 = $par7 + 4 | 0; } if ($var17) while (true) { if ($var26 > $var15) break h; $var29 = 1; if ($var29 <= 3) { var$24 = nms_Direction_offsetX.data; $var21 = $par4 + $rt_imul(var$24[$var28], $var26) | 0; var$26 = nms_Direction_offsetZ.data; $var30 = $par6 + $rt_imul(var$26[$var28], $var26) | 0; $par7 = $var21 + $rt_imul(var$24[$var11], $var29) | 0; $var21 = $var30 + $rt_imul(var$26[$var11], $var29) | 0; $var30 = nms_Block_endPortal.$blockID; $var17 = 0; $var27 = 2; $ptr = 4; continue main; } $var26 = $var26 + 1 | 0; } } } return 1; } nms_Item_$callClinit(); $par1ItemStack = nms_Item_itemRand; var$30 = Long_and(Long_add(Long_mul($par1ItemStack.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1ItemStack.$seed = var$30; $var14 = $par10 + (5.0 + Long_lo(Long_shru(var$30, $par7)) / 1.6777216E7 * 6.0) / 16.0; var$30 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1ItemStack.$seed = var$30; $var18 = var$16 + (5.0 + Long_lo(Long_shru(var$30, $par7)) / 1.6777216E7 * 6.0) / 16.0; $var20 = 0.0; $var22 = 0.0; $var24 = 0.0; $par1ItemStack = $rt_s(1479); $var29 = 0; } if ($var29 >= 0 && $var21 < 0) { $par2EntityPlayer = $par2EntityPlayer.$array.data[$var29]; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); case 4: nms_World_setBlock($par3World, $par7, $par5, $var21, $var30, $var17, $var27); if ($rt_suspending()) { break main; } $var29 = $var29 + 1 | 0; while (true) { if ($var29 <= 3) { var$24 = nms_Direction_offsetX.data; $var21 = $par4 + $rt_imul(var$24[$var28], $var26) | 0; var$26 = nms_Direction_offsetZ.data; $var30 = $par6 + $rt_imul(var$26[$var28], $var26) | 0; $par7 = $var21 + $rt_imul(var$24[$var11], $var29) | 0; $var21 = $var30 + $rt_imul(var$26[$var11], $var29) | 0; $var30 = nms_Block_endPortal.$blockID; $var17 = 0; $var27 = 2; continue main; } $var26 = $var26 + 1 | 0; if ($var26 > $var15) break; $var29 = 1; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var11, $var12, $var29, $var13, $var16, var$16, $var26, $var15, $var27, $var17, $var28, $var19, $var21, var$24, $var29_0, var$26, $var30, $var23, $var31, var$30, $var14, $var18, $var20, $var22, $var24, $ptr); }, nms_ItemEnderEye_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let $var5, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var5 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = 0; $ptr = 1; case 1: $tmp = nms_Item_getMovingObjectPositionFromPlayer($this, $par2World, $par3EntityPlayer, $var5); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 !== null && $var4.$typeOfHit === nms_EnumMovingObjectType_TILE) { $var5 = nms_World_getBlockId($par2World, $var4.$blockX, $var4.$blockY, $var4.$blockZ); nms_Block_$callClinit(); if ($var5 == nms_Block_endPortalFrame.$blockID) return $par1ItemStack; } return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, $var5, $var4, $ptr); }; function nms_ItemMonsterPlacer() { nms_Item.call(this); this.$theIcon9 = null; } let nms_ItemMonsterPlacer__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$hasSubtypes = 1; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabMisc; }, nms_ItemMonsterPlacer__init_ = var_0 => { let var_1 = new nms_ItemMonsterPlacer(); nms_ItemMonsterPlacer__init_0(var_1, var_0); return var_1; }, nms_ItemMonsterPlacer_getItemDisplayName = ($this, $par1ItemStack) => { let $var2, var$3, var$4, $var3, var$6, var$7, var$8, var$9, var$10; $var2 = $this.$unlocalizedName0; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(2084)); var$4 = var$3.$length0; if ($var2 === null) $var2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, $var2); $var3 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; var$8 = var$3.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $var3); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $rt_s(1258)); var$3 = new jl_String; var$6 = $var2.$buffer; var$7 = var$6.data; var$8 = $var2.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); nms_StatCollector_$callClinit(); var$3 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$3); $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); var$4 = $var2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($var2, var$4, var$3); var$3 = new jl_String; var$6 = $var2.$buffer; var$7 = var$6.data; var$8 = $var2.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $var2 = jl_String_trim(var$3); var$8 = $par1ItemStack.$itemDamage; nms_EntityList_$callClinit(); $par1ItemStack = nms_EntityList_IDtoClassMapping; if (var$8 >= (-128) && var$8 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$8 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$8; } if (var$3 === null) { $par1ItemStack = $par1ItemStack.$elementData.data[0]; while ($par1ItemStack !== null && $par1ItemStack.$key !== null) { $par1ItemStack = $par1ItemStack.$next3; } } else { var$9 = var$3.$value0; var$6 = $par1ItemStack.$elementData.data; $par1ItemStack = var$6[var$9 & (var$6.length - 1 | 0)]; while ($par1ItemStack !== null) { if ($par1ItemStack.$origKeyHash == var$9) { $var3 = $par1ItemStack.$key; if (var$3 !== $var3 && !(var$3 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } $par1ItemStack = $par1ItemStack.$next3; } } $var3 = $par1ItemStack === null ? null : $par1ItemStack.$value1; if ($var3 === null) $var3 = null; else { $par1ItemStack = nms_EntityList_classToStringMapping; var$10 = $var3; if (!var$10.$id$) var$10.$id$ = $rt_nextId(); var$9 = $var3.$id$; var$6 = $par1ItemStack.$elementData.data; $par1ItemStack = var$6[var$9 & (var$6.length - 1 | 0)]; while ($par1ItemStack !== null) { if ($par1ItemStack.$origKeyHash == var$9) { var$3 = $par1ItemStack.$key; if ($var3 !== var$3 && !($var3 !== var$3 ? 0 : 1) ? 0 : 1) break; } $par1ItemStack = $par1ItemStack.$next3; } $var3 = $par1ItemStack === null ? null : $par1ItemStack.$value1; } a: { if ($var3 !== null) { $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1ItemStack, $par1ItemStack.$length0, $rt_s(1257)); jl_AbstractStringBuilder_insert($par1ItemStack, $par1ItemStack.$length0, $var3); jl_AbstractStringBuilder_insert($par1ItemStack, $par1ItemStack.$length0, $rt_s(1258)); var$3 = new jl_String; var$6 = $par1ItemStack.$buffer; var$7 = var$6.data; var$8 = $par1ItemStack.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); var$3 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$3); $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); var$4 = $par1ItemStack.$length0; if ($var2 === null) $var2 = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, var$4, $var2); var$8 = $par1ItemStack.$length0; jl_AbstractStringBuilder_insertSpace($par1ItemStack, var$8, var$8 + 1 | 0); $par1ItemStack.$buffer.data[var$8] = 32; var$4 = $par1ItemStack.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, var$4, var$3); $var2 = new jl_String; var$6 = $par1ItemStack.$buffer; var$7 = var$6.data; var$8 = $par1ItemStack.$length0; var$9 = var$7.length; if (var$8 < 0) break a; if (var$8 > (var$9 - 0 | 0)) break a; $var2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); } else { $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } } return $var2; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ItemStack); $rt_throw($par1ItemStack); }, nms_ItemMonsterPlacer_getColorFromItemStack = ($this, $par1ItemStack, $par2) => { let $var3, var$4; nms_EntityList_$callClinit(); $var3 = nms_EntityList_entityEggs; var$4 = $par1ItemStack.$itemDamage; if (var$4 >= (-128) && var$4 <= 127) { jl_Integer_ensureIntegerCache(); $par1ItemStack = jl_Integer_integerCache.data[var$4 + 128 | 0]; } else { $par1ItemStack = new jl_Integer; $par1ItemStack.$value0 = var$4; } $var3 = ju_LinkedHashMap_getOrDefault($var3, $par1ItemStack, null); return $var3 === null ? 16777215 : $par2 ? $var3.$secondaryColor : $var3.$primaryColor; }, nms_ItemMonsterPlacer_requiresMultipleRenderPasses = $this => { return 1; }, nms_ItemMonsterPlacer_getIconFromDamageForRenderPass = ($this, $par1, $par2) => { return $par2 > 0 ? $this.$theIcon9 : $this.$itemIcon; }, nms_ItemMonsterPlacer_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var11, $var12, var$13, var$14, var$15, $var14, var$17, var$18, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var14 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par3World.$isRemote) return 1; $var11 = nms_World_getBlockId($par3World, $par4, $par5, $par6); $par4 = $par4 + nms_Facing_offsetsXForSide.data[$par7] | 0; $par5 = $par5 + nms_Facing_offsetsYForSide.data[$par7] | 0; $par6 = $par6 + nms_Facing_offsetsZForSide.data[$par7] | 0; $var12 = 0.0; if ($par7 == 1) { nms_Block_$callClinit(); var$13 = nms_Block_blocksList.data; if (var$13[$var11] !== null && var$13[$var11].$getRenderType() == 11) $var12 = 0.5; } $par7 = $par1ItemStack.$itemDamage; var$14 = $par4 + 0.5; $var12 = $par5 + $var12; var$15 = $par6 + 0.5; $ptr = 1; case 1: $tmp = nms_ItemMonsterPlacer_spawnCreature($par3World, $par7, var$14, $var12, var$15); if ($rt_suspending()) { break main; } $var14 = $tmp; if ($var14 !== null) { if ($var14 instanceof nms_EntityLivingBase) { var$17 = $par1ItemStack.$stackTagCompound; if (var$17 === null) $par4 = 0; else { a: { var$17 = var$17.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$13 = var$17.$elementData.data; var$17 = var$13[$par6 & (var$13.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == $par6) { b: { var$18 = var$17.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) === var$18) $par4 = 1; else if (var$18 instanceof jl_String) { var$18 = var$18; $par4 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } else $par4 = 0; if (!$par4) { $par4 = 0; break b; } } $par4 = 1; } if ($par4) break; } var$17 = var$17.$next3; } if (!(var$17 === null ? 0 : 1)) $par4 = 0; else { c: { $par3World = $par1ItemStack.$stackTagCompound; var$18 = $par3World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$13 = var$18.$elementData.data; var$18 = var$13[$par6 & (var$13.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == $par6) { d: { var$19 = var$18.$key; if ($rt_s(1525) !== var$19) { if ($rt_s(1525) === var$19) $par4 = 1; else if (!(var$19 instanceof jl_String)) $par4 = 0; else { var$19 = var$19; $par4 = $rt_s(1525).$nativeString !== var$19.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break d; } } $par4 = 1; } if ($par4) break; } var$18 = var$18.$next3; } if (var$18 === null ? 0 : 1) { $par3World = $par3World.$tagMap; if ($rt_s(1525) === null) { $par3World = $par3World.$elementData.data[0]; while ($par3World !== null && $par3World.$key !== null) { $par3World = $par3World.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$13 = $par3World.$elementData.data; $par3World = var$13[$par6 & (var$13.length - 1 | 0)]; while ($par3World !== null) { if ($par3World.$origKeyHash == $par6) { f: { var$18 = $par3World.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) !== var$18) { if (!(var$18 instanceof jl_String)) $par4 = 0; else { var$18 = var$18; $par4 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } } else $par4 = 1; if (!$par4) { $par4 = 0; break f; } } $par4 = 1; } if ($par4) break; } $par3World = $par3World.$next3; } } var$18 = $par3World === null ? null : $par3World.$value1; } else { var$18 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$18.$name = $rt_s(1525); else var$18.$name = $rt_s(18); $par3World = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); $par3World.$elementCount = 0; var$20 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$13 = var$20.data; $par3World.$elementData = var$20; $par3World.$loadFactor = 0.75; $par3World.$threshold = var$13.length * 0.75 | 0; var$18.$tagMap = $par3World; } g: { var$17 = var$18.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$13 = var$17.$elementData.data; var$17 = var$13[$par6 & (var$13.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == $par6) { h: { var$18 = var$17.$key; if ($rt_s(1526) !== var$18) { if ($rt_s(1526) !== var$18) { if (var$18 instanceof jl_String) { var$18 = var$18; $par4 = $rt_s(1526).$nativeString !== var$18.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break h; } } $par4 = 1; } if ($par4) break; } var$17 = var$17.$next3; } $par4 = var$17 === null ? 0 : 1; } } if ($par4) { $par3World = $var14; nms_Item_$callClinit(); $var14 = nms_Item_itemsList.data[$par1ItemStack.$itemID].$getItemDisplayName($par1ItemStack); var$17 = $par1ItemStack.$stackTagCompound; if (var$17 !== null) { i: { var$17 = var$17.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$13 = var$17.$elementData.data; var$17 = var$13[$par6 & (var$13.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == $par6) { j: { var$19 = var$17.$key; if ($rt_s(1525) !== var$19) { if ($rt_s(1525) === var$19) $par4 = 1; else if (!(var$19 instanceof jl_String)) $par4 = 0; else { var$19 = var$19; $par4 = $rt_s(1525).$nativeString !== var$19.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break j; } } $par4 = 1; } if ($par4) break; } var$17 = var$17.$next3; } if (var$17 === null ? 0 : 1) { k: { var$17 = $par1ItemStack.$stackTagCompound; var$19 = var$17.$tagMap; if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$13 = var$19.$elementData.data; var$19 = var$13[$par6 & (var$13.length - 1 | 0)]; while (var$19 !== null) { if (var$19.$origKeyHash == $par6) { l: { var$21 = var$19.$key; if ($rt_s(1525) !== var$21) { if ($rt_s(1525) !== var$21) { if (var$21 instanceof jl_String) { var$21 = var$21; $par4 = $rt_s(1525).$nativeString !== var$21.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break l; } } $par4 = 1; } if ($par4) break; } var$19 = var$19.$next3; } if (var$19 === null ? 0 : 1) { var$17 = var$17.$tagMap; if ($rt_s(1525) !== null) { m: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1525).$hashCode1; var$13 = var$17.$elementData.data; var$17 = var$13[$par6 & (var$13.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == $par6) { n: { var$19 = var$17.$key; if ($rt_s(1525) !== var$19) { if ($rt_s(1525) !== var$19) { if (var$19 instanceof jl_String) { var$19 = var$19; $par4 = $rt_s(1525).$nativeString !== var$19.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break n; } } $par4 = 1; } if ($par4) break; } var$17 = var$17.$next3; } } else { var$17 = var$17.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } var$21 = var$17 === null ? null : var$17.$value1; } else { var$21 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$21.$name = $rt_s(1525); else var$21.$name = $rt_s(18); var$17 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); var$17.$elementCount = 0; var$20 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$13 = var$20.data; var$17.$elementData = var$20; var$17.$loadFactor = 0.75; var$17.$threshold = var$13.length * 0.75 | 0; var$21.$tagMap = var$17; } o: { var$18 = var$21.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$13 = var$18.$elementData.data; var$18 = var$13[$par6 & (var$13.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == $par6) { p: { var$19 = var$18.$key; if ($rt_s(1526) !== var$19) { if ($rt_s(1526) === var$19) $par4 = 1; else if (!(var$19 instanceof jl_String)) $par4 = 0; else { var$19 = var$19; $par4 = $rt_s(1526).$nativeString !== var$19.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break p; } } $par4 = 1; } if ($par4) break; } var$18 = var$18.$next3; } if (var$18 === null ? 0 : 1) { q: { var$17 = var$21.$tagMap; if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break q; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$13 = var$17.$elementData.data; var$17 = var$13[$par6 & (var$13.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == $par6) { r: { var$18 = var$17.$key; if ($rt_s(1526) !== var$18) { if ($rt_s(1526) === var$18) $par4 = 1; else if (!(var$18 instanceof jl_String)) $par4 = 0; else { var$18 = var$18; $par4 = $rt_s(1526).$nativeString !== var$18.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break r; } } $par4 = 1; } if ($par4) break; } var$17 = var$17.$next3; } if (!(var$17 === null ? 0 : 1)) $var14 = $rt_s(18); else { var$17 = var$21.$tagMap; if ($rt_s(1526) === null) { var$17 = var$17.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { s: { if (!$rt_s(1526).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par6 = $rt_s(1526).$hashCode1; var$13 = var$17.$elementData.data; var$17 = var$13[$par6 & (var$13.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == $par6) { t: { var$18 = var$17.$key; if ($rt_s(1526) !== var$18) { if ($rt_s(1526) === var$18) $par4 = 1; else if (!(var$18 instanceof jl_String)) $par4 = 0; else { var$18 = var$18; $par4 = $rt_s(1526).$nativeString !== var$18.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break t; } } $par4 = 1; } if ($par4) break; } var$17 = var$17.$next3; } } $var14 = (var$17 === null ? null : var$17.$value1).$data1; } } } } $par3World = $par3World.$dataWatcher; var$17 = $par3World.$watchedObjects; jl_Integer_ensureIntegerCache(); var$19 = jl_Integer_integerCache.data[138]; if (var$19 === null) { var$17 = var$17.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { $par6 = var$19.$value0; var$13 = var$17.$elementData.data; var$17 = var$13[$par6 & (var$13.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == $par6) { var$18 = var$17.$key; if (var$19 !== var$18 && !(var$19 === var$18 ? 1 : var$18 instanceof jl_Integer && var$18.$value0 == $par6 ? 1 : 0) ? 0 : 1) break; } var$17 = var$17.$next3; } } var$18 = var$17 === null ? null : var$17.$value1; var$17 = var$18.$watchedObject; if ($var14 === var$17) $par4 = 1; else if (!(var$17 instanceof jl_String)) $par4 = 0; else { var$17 = var$17; $par4 = $var14.$nativeString !== var$17.$nativeString ? 0 : 1; } if (!$par4) { var$18.$watchedObject = $var14; var$18.$watched = 1; $par3World.$objectChanged = 1; } } } if (!$par2EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var11, $var12, var$13, var$14, var$15, $var14, var$17, var$18, var$19, var$20, var$21, $ptr); }, nms_ItemMonsterPlacer_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let $var5, $var4, $var6, $var7, var$8, $var8, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var5 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par2World.$isRemote) return $par1ItemStack; $var5 = 1; $ptr = 1; case 1: $tmp = nms_Item_getMovingObjectPositionFromPlayer($this, $par2World, $par3EntityPlayer, $var5); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 === null) return $par1ItemStack; if ($var4.$typeOfHit === nms_EnumMovingObjectType_TILE) { $var5 = $var4.$blockX; $var6 = $var4.$blockY; $var7 = $var4.$blockZ; if (!($par3EntityPlayer.$capabilities.$allowEdit ? 1 : $par1ItemStack === null ? 0 : 1)) return $par1ItemStack; var$8 = nms_World_getBlockId($par2World, $var5, $var6, $var7); if (!var$8) { nms_Material_$callClinit(); $var8 = nms_Material_air; } else { nms_Block_$callClinit(); $var8 = nms_Block_blocksList.data[var$8].$blockMaterial; } nms_Material_$callClinit(); if ($var8 === nms_Material_water) { var$8 = $par1ItemStack.$itemDamage; var$10 = $var5; var$11 = $var6; var$12 = $var7; $ptr = 2; continue main; } } return $par1ItemStack; case 2: $tmp = nms_ItemMonsterPlacer_spawnCreature($par2World, var$8, var$10, var$11, var$12); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 !== null) { if ($var8 instanceof nms_EntityLivingBase) { $var4 = $par1ItemStack.$stackTagCompound; if ($var4 === null) $var5 = 0; else { a: { $var4 = $var4.$tagMap; if (!$rt_s(1525).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } $var7 = $rt_s(1525).$hashCode1; var$13 = $var4.$elementData.data; $var4 = var$13[$var7 & (var$13.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var7) { b: { var$14 = $var4.$key; if ($rt_s(1525) !== var$14) { if ($rt_s(1525) !== var$14) { if (var$14 instanceof jl_String) { var$14 = var$14; $var5 = $rt_s(1525).$nativeString !== var$14.$nativeString ? 0 : 1; } else $var5 = 0; } else $var5 = 1; if (!$var5) { $var5 = 0; break b; } } $var5 = 1; } if ($var5) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) $var5 = 0; else { c: { $par2World = $par1ItemStack.$stackTagCompound; var$14 = $par2World.$tagMap; if (!$rt_s(1525).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } $var7 = $rt_s(1525).$hashCode1; var$13 = var$14.$elementData.data; var$14 = var$13[$var7 & (var$13.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == $var7) { d: { var$15 = var$14.$key; if ($rt_s(1525) !== var$15) { if ($rt_s(1525) === var$15) $var5 = 1; else if (var$15 instanceof jl_String) { var$15 = var$15; $var5 = $rt_s(1525).$nativeString !== var$15.$nativeString ? 0 : 1; } else $var5 = 0; if (!$var5) { $var5 = 0; break d; } } $var5 = 1; } if ($var5) break; } var$14 = var$14.$next3; } if (var$14 === null ? 0 : 1) { $par2World = $par2World.$tagMap; if ($rt_s(1525) !== null) { e: { if (!$rt_s(1525).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } $var7 = $rt_s(1525).$hashCode1; var$13 = $par2World.$elementData.data; $par2World = var$13[$var7 & (var$13.length - 1 | 0)]; while ($par2World !== null) { if ($par2World.$origKeyHash == $var7) { f: { var$14 = $par2World.$key; if ($rt_s(1525) !== var$14) { if ($rt_s(1525) !== var$14) { if (var$14 instanceof jl_String) { var$14 = var$14; $var5 = $rt_s(1525).$nativeString !== var$14.$nativeString ? 0 : 1; } else $var5 = 0; } else $var5 = 1; if (!$var5) { $var5 = 0; break f; } } $var5 = 1; } if ($var5) break; } $par2World = $par2World.$next3; } } else { $par2World = $par2World.$elementData.data[0]; while ($par2World !== null && $par2World.$key !== null) { $par2World = $par2World.$next3; } } var$14 = $par2World === null ? null : $par2World.$value1; } else { var$14 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$14.$name = $rt_s(1525); else var$14.$name = $rt_s(18); $par2World = new ju_HashMap; $var5 = ju_HashMap_calculateCapacity(16); $par2World.$elementCount = 0; var$16 = $rt_createArray(ju_HashMap$HashEntry, $var5); var$13 = var$16.data; $par2World.$elementData = var$16; $par2World.$loadFactor = 0.75; $par2World.$threshold = var$13.length * 0.75 | 0; var$14.$tagMap = $par2World; } g: { $var4 = var$14.$tagMap; if (!$rt_s(1526).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } $var7 = $rt_s(1526).$hashCode1; var$13 = $var4.$elementData.data; $var4 = var$13[$var7 & (var$13.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var7) { h: { var$14 = $var4.$key; if ($rt_s(1526) !== var$14) { if ($rt_s(1526) === var$14) $var5 = 1; else if (!(var$14 instanceof jl_String)) $var5 = 0; else { var$14 = var$14; $var5 = $rt_s(1526).$nativeString !== var$14.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break h; } } $var5 = 1; } if ($var5) break; } $var4 = $var4.$next3; } $var5 = $var4 === null ? 0 : 1; } } if ($var5) { $par2World = $var8; var$15 = nms_Item_itemsList.data[$par1ItemStack.$itemID].$getItemDisplayName($par1ItemStack); $var4 = $par1ItemStack.$stackTagCompound; if ($var4 !== null) { i: { $var4 = $var4.$tagMap; if (!$rt_s(1525).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } $var7 = $rt_s(1525).$hashCode1; var$13 = $var4.$elementData.data; $var4 = var$13[$var7 & (var$13.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var7) { j: { var$14 = $var4.$key; if ($rt_s(1525) !== var$14) { if ($rt_s(1525) === var$14) $var5 = 1; else if (var$14 instanceof jl_String) { var$14 = var$14; $var5 = $rt_s(1525).$nativeString !== var$14.$nativeString ? 0 : 1; } else $var5 = 0; if (!$var5) { $var5 = 0; break j; } } $var5 = 1; } if ($var5) break; } $var4 = $var4.$next3; } if ($var4 === null ? 0 : 1) { k: { $var4 = $par1ItemStack.$stackTagCompound; var$14 = $var4.$tagMap; if (!$rt_s(1525).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } $var7 = $rt_s(1525).$hashCode1; var$13 = var$14.$elementData.data; var$14 = var$13[$var7 & (var$13.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == $var7) { l: { var$17 = var$14.$key; if ($rt_s(1525) !== var$17) { if ($rt_s(1525) === var$17) $var5 = 1; else if (!(var$17 instanceof jl_String)) $var5 = 0; else { var$17 = var$17; $var5 = $rt_s(1525).$nativeString !== var$17.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break l; } } $var5 = 1; } if ($var5) break; } var$14 = var$14.$next3; } if (var$14 === null ? 0 : 1) { $var4 = $var4.$tagMap; if ($rt_s(1525) !== null) { m: { if (!$rt_s(1525).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } $var7 = $rt_s(1525).$hashCode1; var$13 = $var4.$elementData.data; $var4 = var$13[$var7 & (var$13.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var7) { n: { var$14 = $var4.$key; if ($rt_s(1525) !== var$14) { if ($rt_s(1525) !== var$14) { if (var$14 instanceof jl_String) { var$14 = var$14; $var5 = $rt_s(1525).$nativeString !== var$14.$nativeString ? 0 : 1; } else $var5 = 0; } else $var5 = 1; if (!$var5) { $var5 = 0; break n; } } $var5 = 1; } if ($var5) break; } $var4 = $var4.$next3; } } else { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } var$17 = $var4 === null ? null : $var4.$value1; } else { var$17 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$17.$name = $rt_s(1525); else var$17.$name = $rt_s(18); $var4 = new ju_HashMap; $var5 = ju_HashMap_calculateCapacity(16); $var4.$elementCount = 0; var$16 = $rt_createArray(ju_HashMap$HashEntry, $var5); var$13 = var$16.data; $var4.$elementData = var$16; $var4.$loadFactor = 0.75; $var4.$threshold = var$13.length * 0.75 | 0; var$17.$tagMap = $var4; } o: { $var8 = var$17.$tagMap; if (!$rt_s(1526).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } $var7 = $rt_s(1526).$hashCode1; var$13 = $var8.$elementData.data; $var8 = var$13[$var7 & (var$13.length - 1 | 0)]; while ($var8 !== null) { if ($var8.$origKeyHash == $var7) { p: { var$14 = $var8.$key; if ($rt_s(1526) !== var$14) { if ($rt_s(1526) === var$14) $var5 = 1; else if (!(var$14 instanceof jl_String)) $var5 = 0; else { var$14 = var$14; $var5 = $rt_s(1526).$nativeString !== var$14.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break p; } } $var5 = 1; } if ($var5) break; } $var8 = $var8.$next3; } if ($var8 === null ? 0 : 1) { q: { $var8 = var$17.$tagMap; if (!$rt_s(1526).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1526).$nativeString.length) break q; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } $var7 = $rt_s(1526).$hashCode1; var$13 = $var8.$elementData.data; $var8 = var$13[$var7 & (var$13.length - 1 | 0)]; while ($var8 !== null) { if ($var8.$origKeyHash == $var7) { r: { var$14 = $var8.$key; if ($rt_s(1526) !== var$14) { if ($rt_s(1526) === var$14) $var5 = 1; else if (!(var$14 instanceof jl_String)) $var5 = 0; else { var$14 = var$14; $var5 = $rt_s(1526).$nativeString !== var$14.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break r; } } $var5 = 1; } if ($var5) break; } $var8 = $var8.$next3; } if (!($var8 === null ? 0 : 1)) var$15 = $rt_s(18); else { $var8 = var$17.$tagMap; if ($rt_s(1526) === null) { $var8 = $var8.$elementData.data[0]; while ($var8 !== null && $var8.$key !== null) { $var8 = $var8.$next3; } } else { s: { if (!$rt_s(1526).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } $var7 = $rt_s(1526).$hashCode1; var$13 = $var8.$elementData.data; $var8 = var$13[$var7 & (var$13.length - 1 | 0)]; while ($var8 !== null) { if ($var8.$origKeyHash == $var7) { t: { var$14 = $var8.$key; if ($rt_s(1526) !== var$14) { if ($rt_s(1526) === var$14) $var5 = 1; else if (!(var$14 instanceof jl_String)) $var5 = 0; else { var$14 = var$14; $var5 = $rt_s(1526).$nativeString !== var$14.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break t; } } $var5 = 1; } if ($var5) break; } $var8 = $var8.$next3; } } var$15 = ($var8 === null ? null : $var8.$value1).$data1; } } } } $var8 = $par2World.$dataWatcher; $par2World = $var8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$14 = jl_Integer_integerCache.data[138]; if (var$14 === null) { $var4 = $par2World.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { $var6 = var$14.$value0; var$13 = $par2World.$elementData.data; $var4 = var$13[$var6 & (var$13.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var6) { $par2World = $var4.$key; if (var$14 !== $par2World && !(var$14 === $par2World ? 1 : $par2World instanceof jl_Integer && $par2World.$value0 == $var6 ? 1 : 0) ? 0 : 1) break; } $var4 = $var4.$next3; } } var$14 = $var4 === null ? null : $var4.$value1; $par2World = var$14.$watchedObject; if (var$15 === $par2World) $var5 = 1; else if (!($par2World instanceof jl_String)) $var5 = 0; else { $par2World = $par2World; $var5 = var$15.$nativeString !== $par2World.$nativeString ? 0 : 1; } if (!$var5) { var$14.$watchedObject = var$15; var$14.$watched = 1; $var8.$objectChanged = 1; } } } if (!$par3EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; } return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, $var5, $var4, $var6, $var7, var$8, $var8, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_ItemMonsterPlacer_spawnCreature = ($par0World, $par1, $par2, $par4, $par6) => { let $var10, var$7, var$8, var$9, var$10, $var8, $var9, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var10 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$par0World = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); $var10 = nms_EntityList_entityEggs; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$7 = new jl_Integer; var$7.$value0 = $par1; } if (var$7 === null) { $var10 = $var10.$elementData.data[0]; while ($var10 !== null && $var10.$key !== null) { $var10 = $var10.$next3; } } else { var$8 = var$7.$value0; var$9 = $var10.$elementData.data; $var10 = var$9[var$8 & (var$9.length - 1 | 0)]; while ($var10 !== null) { if ($var10.$origKeyHash == var$8) { var$10 = $var10.$key; if (var$7 !== var$10 && !(var$7 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } $var10 = $var10.$next3; } } if (!($var10 === null ? 0 : 1)) return null; $var8 = null; $var9 = 0; var$13 = 24; var$14 = null; var$15 = $rt_s(2966); var$16 = $rt_s(469); a: { while ($var9 < 1) { $var10 = null; try { var$10 = ju_HashMap_get(nms_EntityList_IDtoConstructorMapping, jl_Integer_valueOf($par1)); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$10 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; jl_Object__init_($var8); $var8.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$7); var$7.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var8); var$7.$sb = $var8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } jl_Throwable_printStackTrace(var$10, jl_System_errCache); $var8 = $var10; if ($var8 !== null) $var8.$worldObj = $par0World; else { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$10.$sb = $var10; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $var10 = new jl_StringBuilder; $var10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var10, $var10.$length0, var$15); jl_AbstractStringBuilder_insert0($var10, $var10.$length0, $par1, 10); var$10 = new jl_String; var$9 = $var10.$buffer; var$17 = var$9.data; var$8 = $var10.$length0; var$18 = var$17.length; if (var$8 < 0) break a; if (var$8 > (var$18 - 0 | 0)) break a; var$10.$nativeString = $rt_charArrayToString(var$9.data, 0, var$8); $rt_putStderr($rt_ustr(var$10)); $rt_putStderr($rt_ustr(var$16)); } if ($var8 !== null && $var8 instanceof nms_EntityLivingBase) { $var10 = $var8; var$10 = $par0World.$rand0; var$19 = Long_and(Long_add(Long_mul(var$10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$19; var$20 = Long_lo(Long_shru(var$19, var$13)) / 1.6777216E7 * 360.0 % 360.0; if (var$20 >= 180.0) var$20 = var$20 - 360.0; if (var$20 < (-180.0)) var$20 = var$20 + 360.0; $var8.$posX = $par2; $var8.$prevPosX = $par2; $var8.$lastTickPosX = $par2; var$21 = $par4 + $var8.$yOffset; $var8.$posY = var$21; $var8.$prevPosY = var$21; $var8.$lastTickPosY = var$21; $var8.$posZ = $par6; $var8.$prevPosZ = $par6; $var8.$lastTickPosZ = $par6; $var8.$rotationYaw = var$20; $var8.$rotationPitch = 0.0; nms_Entity_setPosition($var8, $par2, var$21, $par6); var$22 = $var10.$rotationYaw; $var10.$rotationYawHead = var$22; $var10.$renderYawOffset = var$22; $ptr = 2; continue main; } $var9 = $var9 + 1 | 0; } return $var8; } $par0World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par0World); $rt_throw($par0World); case 1: b: { try { $tmp = var$10.$apply($par0World); if ($rt_suspending()) { break main; } $var8 = $tmp; $var10 = $var8; break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$10 = $$je; } else { throw $$e; } } var$7 = jl_System_errCache; if (var$7 === null) { var$7 = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; var$23 = 32; jl_Object__init_($var8); var$9 = $rt_createByteArray(var$23); $var8.$buf = var$9; var$23 = 0; ji_OutputStream__init_(var$7); var$7.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var8); var$7.$sb = $var8; var$8 = 32; var$9 = $rt_createCharArray(var$8); var$7.$buffer0 = var$9; var$7.$autoFlush = var$23; $var8 = jnci_UTF8Charset_INSTANCE; var$7.$charset = $var8; jl_System_errCache = var$7; } var$7 = jl_System_errCache; jl_Throwable_printStackTrace(var$10, var$7); $var8 = $var10; } c: { while (true) { if ($var8 !== null) $var8.$worldObj = $par0World; else { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$10.$sb = $var10; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $var10 = new jl_StringBuilder; $var10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var10, $var10.$length0, var$15); jl_AbstractStringBuilder_insert0($var10, $var10.$length0, $par1, 10); var$10 = new jl_String; var$9 = $var10.$buffer; var$17 = var$9.data; var$8 = $var10.$length0; var$18 = var$17.length; if (var$8 < 0) break c; if (var$8 > (var$18 - 0 | 0)) break c; var$10.$nativeString = $rt_charArrayToString(var$9.data, 0, var$8); $rt_putStderr($rt_ustr(var$10)); $rt_putStderr($rt_ustr(var$16)); } if ($var8 !== null && $var8 instanceof nms_EntityLivingBase) { $var10 = $var8; var$10 = $par0World.$rand0; var$19 = Long_and(Long_add(Long_mul(var$10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$19; var$20 = Long_lo(Long_shru(var$19, var$13)) / 1.6777216E7 * 360.0 % 360.0; if (var$20 >= 180.0) var$20 = var$20 - 360.0; if (var$20 < (-180.0)) var$20 = var$20 + 360.0; $var8.$posX = $par2; $var8.$prevPosX = $par2; $var8.$lastTickPosX = $par2; var$21 = $par4 + $var8.$yOffset; $var8.$posY = var$21; $var8.$prevPosY = var$21; $var8.$lastTickPosY = var$21; $var8.$posZ = $par6; $var8.$prevPosZ = $par6; $var8.$lastTickPosZ = $par6; $var8.$rotationYaw = var$20; $var8.$rotationPitch = 0.0; nms_Entity_setPosition($var8, $par2, var$21, $par6); var$22 = $var10.$rotationYaw; $var10.$rotationYawHead = var$22; $var10.$renderYawOffset = var$22; $ptr = 2; continue main; } $var9 = $var9 + 1 | 0; if ($var9 >= 1) break; $var10 = null; try { var$10 = ju_HashMap_get(nms_EntityList_IDtoConstructorMapping, jl_Integer_valueOf($par1)); continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$10 = $$je; } else { throw $$e; } } var$7 = jl_System_errCache; if (var$7 === null) { var$7 = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; var$23 = 32; jl_Object__init_($var8); var$9 = $rt_createByteArray(var$23); $var8.$buf = var$9; var$23 = 0; ji_OutputStream__init_(var$7); var$7.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var8); var$7.$sb = $var8; var$8 = 32; var$9 = $rt_createCharArray(var$8); var$7.$buffer0 = var$9; var$7.$autoFlush = var$23; $var8 = jnci_UTF8Charset_INSTANCE; var$7.$charset = $var8; jl_System_errCache = var$7; } var$7 = jl_System_errCache; jl_Throwable_printStackTrace(var$10, var$7); $var8 = $var10; } return $var8; } $par0World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par0World); $rt_throw($par0World); case 2: $var10.$onSpawnWithEgg(var$14); if ($rt_suspending()) { break main; } var$23 = nms_World_spawnEntityInWorld($par0World, $var8); var$10 = $par0World.$entityList; ju_HashMap_putImpl(var$10.$backingMap, $var8, var$10); if (!var$23) { var$10 = $par0World.$entitySpawnQueue; ju_HashMap_putImpl(var$10.$backingMap, $var8, var$10); } var$10 = $var10.$getLivingSound(); if (var$10 !== null) { var$22 = $var10.$getSoundVolume(); var$24 = $var10.$getSoundPitch(); nms_World_playSoundAtEntity($var10.$worldObj, $var10, var$10, var$22, var$24); } d: { while (true) { $var9 = $var9 + 1 | 0; if ($var9 >= 1) break; $var10 = null; try { var$10 = ju_HashMap_get(nms_EntityList_IDtoConstructorMapping, jl_Integer_valueOf($par1)); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$10 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; jl_Object__init_($var8); $var8.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$7); var$7.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var8); var$7.$sb = $var8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } jl_Throwable_printStackTrace(var$10, jl_System_errCache); $var8 = $var10; if ($var8 !== null) $var8.$worldObj = $par0World; else { if (jl_System_errCache === null) { var$10 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$10); var$10.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$10.$sb = $var10; var$10.$buffer0 = $rt_createCharArray(32); var$10.$autoFlush = 0; var$10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$10; } $var10 = new jl_StringBuilder; $var10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var10, $var10.$length0, var$15); jl_AbstractStringBuilder_insert0($var10, $var10.$length0, $par1, 10); var$10 = new jl_String; var$9 = $var10.$buffer; var$17 = var$9.data; var$8 = $var10.$length0; var$18 = var$17.length; if (var$8 < 0) break d; if (var$8 > (var$18 - 0 | 0)) break d; var$10.$nativeString = $rt_charArrayToString(var$9.data, 0, var$8); $rt_putStderr($rt_ustr(var$10)); $rt_putStderr($rt_ustr(var$16)); } if ($var8 === null) continue; if (!($var8 instanceof nms_EntityLivingBase)) continue; else { $var10 = $var8; var$10 = $par0World.$rand0; var$19 = Long_and(Long_add(Long_mul(var$10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$19; var$20 = Long_lo(Long_shru(var$19, var$13)) / 1.6777216E7 * 360.0 % 360.0; if (var$20 >= 180.0) var$20 = var$20 - 360.0; if (var$20 < (-180.0)) var$20 = var$20 + 360.0; $var8.$posX = $par2; $var8.$prevPosX = $par2; $var8.$lastTickPosX = $par2; var$21 = $par4 + $var8.$yOffset; $var8.$posY = var$21; $var8.$prevPosY = var$21; $var8.$lastTickPosY = var$21; $var8.$posZ = $par6; $var8.$prevPosZ = $par6; $var8.$lastTickPosZ = $par6; $var8.$rotationYaw = var$20; $var8.$rotationPitch = 0.0; nms_Entity_setPosition($var8, $par2, var$21, $par6); var$22 = $var10.$rotationYaw; $var10.$rotationYawHead = var$22; $var10.$renderYawOffset = var$22; continue main; } } return $var8; } $par0World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par0World); $rt_throw($par0World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0World, $par1, $par2, $par4, $par6, $var10, var$7, var$8, var$9, var$10, $var8, $var9, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, $ptr); }, nms_ItemMonsterPlacer_getSubItems = ($this, $par1, $par2CreativeTabs, $par3List) => { let $var4, $var5, var$6, var$7, var$8; nms_EntityList_$callClinit(); $par2CreativeTabs = nms_EntityList_entityEggs; if ($par2CreativeTabs.$cachedValues === null) { $var4 = new ju_LinkedHashMapValues; $var4.$base0 = $par2CreativeTabs; $var4.$reversed1 = 0; $par2CreativeTabs.$cachedValues = $var4; } $var5 = $par2CreativeTabs.$cachedValues; $var4 = new ju_LinkedHashMapIterator$ValueIterator; $par2CreativeTabs = $var5.$base0; var$6 = $var5.$reversed1; $var4.$base = $par2CreativeTabs; $var4.$reversed = var$6; $var4.$expectedModCount0 = $par2CreativeTabs.$modCount0; $var4.$futureEntry = !var$6 ? $par2CreativeTabs.$head : $par2CreativeTabs.$tail; while ($var4.$futureEntry === null ? 0 : 1) { $var5 = ju_LinkedHashMapIterator$ValueIterator_next($var4); $par2CreativeTabs = new nms_ItemStack; var$7 = $var5.$spawnedID; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = var$7; if (var$7 < 0) $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$8 = $par3List.$array.data; var$6 = $par3List.$size0; $par3List.$size0 = var$6 + 1 | 0; var$8[var$6] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; } }, nms_ItemMonsterPlacer_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$iconString; if (var$2 === null) { var$3 = $this.$itemID0; var$2 = $this.$unlocalizedName0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$4, var$4.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_StringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1IconRegister); $rt_throw($par1IconRegister); } } $this.$itemIcon = nms_TextureMap_registerIcon($par1IconRegister, var$2, 1); var$4 = $this.$iconString; if (var$4 === null) { var$3 = $this.$itemID0; var$4 = $this.$unlocalizedName0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$3, 10); var$5 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$5, var$5 + 1 | 0); var$2.$buffer.data[var$5] = 95; var$3 = var$2.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$4); var$4 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; var$5 = var$2.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, var$4); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2964)); var$4 = new jl_String; var$7 = var$2.$buffer; var$6 = var$7.data; var$8 = var$2.$length0; var$5 = var$6.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$theIcon9 = nms_TextureMap_registerIcon($par1IconRegister, var$4, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_ItemExpBottle = $rt_classWithoutFields(nms_Item), nms_ItemExpBottle__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabMisc; }, nms_ItemExpBottle__init_ = var_0 => { let var_1 = new nms_ItemExpBottle(); nms_ItemExpBottle__init_0(var_1, var_0); return var_1; }, nms_ItemExpBottle_hasEffect = ($this, $par1ItemStack) => { return 1; }, nms_ItemExpBottle_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par3EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; nms_Item_$callClinit(); var$4 = nms_Item_itemRand; var$5 = Long_and(Long_add(Long_mul(var$4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$4.$seed = var$5; nms_World_playSoundAtEntity($par2World, $par3EntityPlayer, $rt_s(1501), 0.5, 0.4000000059604645 / (Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929)); if ($par2World.$isRemote) return $par1ItemStack; var$6 = new nms_EntityExpBottle; $ptr = 1; case 1: nms_EntityThrowable__init_(var$6, $par2World, $par3EntityPlayer); if ($rt_suspending()) { break main; } var$7 = nms_World_spawnEntityInWorld($par2World, var$6); $par3EntityPlayer = $par2World.$entityList; ju_HashMap_putImpl($par3EntityPlayer.$backingMap, var$6, $par3EntityPlayer); if (!var$7) { $par2World = $par2World.$entitySpawnQueue; ju_HashMap_putImpl($par2World.$backingMap, var$6, $par2World); } return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, var$4, var$5, var$6, var$7, $ptr); }, nms_ItemFireball = $rt_classWithoutFields(nms_Item), nms_ItemFireball__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabMisc; }, nms_ItemFireball__init_0 = var_0 => { let var_1 = new nms_ItemFireball(); nms_ItemFireball__init_(var_1, var_0); return var_1; }, nms_ItemFireball_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let var$11, $var11, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();var$11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par3World.$isRemote) return 1; if (!$par7) $par5 = $par5 + (-1) | 0; if ($par7 == 1) $par5 = $par5 + 1 | 0; if ($par7 == 2) $par6 = $par6 + (-1) | 0; if ($par7 == 3) $par6 = $par6 + 1 | 0; if ($par7 == 4) $par4 = $par4 + (-1) | 0; if ($par7 == 5) $par4 = $par4 + 1 | 0; if ($par2EntityPlayer.$capabilities.$allowEdit) $par7 = 1; else if ($par1ItemStack === null) $par7 = 0; else { nms_Item_$callClinit(); $par7 = 1; } if (!$par7) return 0; if (nms_World_getBlockId($par3World, $par4, $par5, $par6)) { if (!$par2EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; } nms_Item_$callClinit(); var$11 = nms_Item_itemRand; var$11.$seed = Long_and(Long_add(Long_mul(var$11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par7 = 0; while (true) { $var11 = $rt_compare($par7, $par3World.$worldAccesses.$size0); if ($var11 >= 0) { nms_Block_$callClinit(); $par7 = nms_Block_fire.$blockID; $var11 = 0; var$13 = 3; $ptr = 1; continue main; } if ($par7 < 0) break; if ($var11 >= 0) break; $par7 = $par7 + 1 | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); case 1: nms_World_setBlock($par3World, $par4, $par5, $par6, $par7, $var11, var$13); if ($rt_suspending()) { break main; } if (!$par2EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, var$11, $var11, var$13, $ptr); }, nms_ItemWritableBook = $rt_classWithoutFields(nms_Item), nms_ItemWritableBook__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$maxStackSize = 1; }, nms_ItemWritableBook__init_0 = var_0 => { let var_1 = new nms_ItemWritableBook(); nms_ItemWritableBook__init_(var_1, var_0); return var_1; }, nms_ItemWritableBook_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[$par1ItemStack.$itemID]; if (var$4 === nms_Item_writtenBook) { $par2World = $par3EntityPlayer.$mc4; var$4 = nms_GuiScreenBook__init_($par3EntityPlayer, $par1ItemStack, 0); $ptr = 1; continue main; } if (var$4 !== nms_Item_writableBook) return $par1ItemStack; $par2World = $par3EntityPlayer.$mc4; var$4 = nms_GuiScreenBook__init_($par3EntityPlayer, $par1ItemStack, 1); $ptr = 2; continue main; case 1: nms_Minecraft_displayGuiScreen($par2World, var$4); if ($rt_suspending()) { break main; } return $par1ItemStack; case 2: nms_Minecraft_displayGuiScreen($par2World, var$4); if ($rt_suspending()) { break main; } return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, var$4, $ptr); }, nms_ItemWritableBook_getShareTag = $this => { return 1; }, nms_ItemEditableBook = $rt_classWithoutFields(nms_Item), nms_ItemEditableBook__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$maxStackSize = 1; }, nms_ItemEditableBook__init_0 = var_0 => { let var_1 = new nms_ItemEditableBook(); nms_ItemEditableBook__init_(var_1, var_0); return var_1; }, nms_ItemEditableBook_getItemDisplayName = ($this, $par1ItemStack) => { let $var3, var$3, var$4, var$5, var$6, var$7, var$8; $var3 = $par1ItemStack.$stackTagCompound; if ($var3 === null ? 0 : 1) { a: { $var3 = $var3.$tagMap; if (!$rt_s(2967).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2967).$nativeString.length) break a; $rt_s(2967).$hashCode1 = (31 * $rt_s(2967).$hashCode1 | 0) + $rt_s(2967).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2967).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$4) { b: { var$6 = $var3.$key; if ($rt_s(2967) !== var$6) { if ($rt_s(2967) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2967).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } $var3 = $var3.$next3; } $var3 = $var3 === null ? null : $var3.$value1; if ($var3 !== null) { $par1ItemStack = $var3.$data1; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); var$3 = $var3.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_AbstractStringBuilder_insert($var3, var$3, $par1ItemStack); $par1ItemStack = new jl_String; var$5 = $var3.$buffer; var$7 = var$5.data; var$8 = $var3.$length0; var$4 = var$7.length; if (var$8 >= 0 && var$8 <= (var$4 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$5.data, 0, var$8); return $par1ItemStack; } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ItemStack); $rt_throw($par1ItemStack); } } $par1ItemStack = $this.$unlocalizedName0; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0($var3, $var3.$length0, jl_String_toString($rt_s(2084))); jl_StringBuilder_insert0($var3, $var3.$length0, $par1ItemStack === null ? $rt_s(1) : jl_String_toString($par1ItemStack)); var$6 = new jl_String; var$5 = $var3.$buffer; var$7 = var$5.data; var$8 = $var3.$length0; var$4 = var$7.length; if (var$8 >= 0 && var$8 <= (var$4 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$5.data, 0, var$8); nms_StatCollector_$callClinit(); $var3 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$6); $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); var$3 = $par1ItemStack.$length0; if ($var3 === null) $var3 = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, var$3, $var3); jl_AbstractStringBuilder_insert($par1ItemStack, $par1ItemStack.$length0, $rt_s(1258)); $var3 = new jl_String; var$5 = $par1ItemStack.$buffer; var$7 = var$5.data; var$8 = $par1ItemStack.$length0; var$4 = var$7.length; if (var$8 >= 0 && var$8 <= (var$4 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$5.data, 0, var$8); $var3 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $var3); $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); var$3 = $par1ItemStack.$length0; if ($var3 === null) $var3 = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, var$3, $var3); $var3 = new jl_String; var$5 = $par1ItemStack.$buffer; var$7 = var$5.data; var$8 = $par1ItemStack.$length0; var$4 = var$7.length; if (var$8 >= 0 && var$8 <= (var$4 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$5.data, 0, var$8); return jl_String_trim($var3); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1ItemStack); $rt_throw($par1ItemStack); }, nms_ItemEditableBook_addInformation = ($this, $par1ItemStack, $par2EntityPlayer, $par3List, $par4) => { let var$5, $var6, var$7, var$8, var$9, var$10, var$11, var$12, $$je; $par2EntityPlayer = $par1ItemStack.$stackTagCompound; $par4 = $par2EntityPlayer === null ? 0 : 1; a: { if ($par4) { b: { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if (!$rt_s(2968).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(2968).$nativeString.length) break b; $rt_s(2968).$hashCode1 = (31 * $rt_s(2968).$hashCode1 | 0) + $rt_s(2968).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(2968).$hashCode1; var$5 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$5[$par4 & (var$5.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par4) { c: { $var6 = $par2EntityPlayer.$key; if ($rt_s(2968) !== $var6) { if ($rt_s(2968) === $var6) var$7 = 1; else if (!($var6 instanceof jl_String)) var$7 = 0; else { $var6 = $var6; var$7 = $rt_s(2968).$nativeString !== $var6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break c; } } var$7 = 1; } if (var$7) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } $var6 = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; if ($var6 !== null) { nms_EnumChatFormatting_$callClinit(); $par1ItemStack = nms_EnumChatFormatting_GRAY; var$8 = $par1ItemStack === null ? $rt_s(1) : $par1ItemStack.$field_96304_B; var$5 = $rt_createArray(jl_Object, 1); var$5.data[0] = $var6.$data1; nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(2969), var$5); var$5 = $rt_createArray(jl_Object, 0); $par1ItemStack = new ju_Formatter; ju_Locale_$callClinit(); var$10 = ju_Locale_defaultLocale; $var6 = new jl_StringBuilder; $var6.$buffer = $rt_createCharArray(16); $par1ItemStack.$out1 = $var6; $par1ItemStack.$locale1 = var$10; d: { try { ju_Formatter$FormatWriter_write(ju_Formatter$FormatWriter__init_($par1ItemStack, $var6, var$10, var$9, var$5)); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $par2EntityPlayer = $$je; } else { throw $$e; } } $par1ItemStack.$ioException = $par2EntityPlayer; } $par1ItemStack = $par1ItemStack.$out1; if ($par1ItemStack === null) { $par1ItemStack = new ju_FormatterClosedException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $par2EntityPlayer = new jl_String; var$5 = $par1ItemStack.$buffer; var$11 = var$5.data; var$12 = $par1ItemStack.$length0; $par4 = var$11.length; if (var$12 >= 0 && var$12 <= ($par4 - 0 | 0)) { $par2EntityPlayer.$nativeString = $rt_charArrayToString(var$5.data, 0, var$12); $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); $par4 = $par1ItemStack.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, $par4, var$8); jl_AbstractStringBuilder_insert($par1ItemStack, $par1ItemStack.$length0, $par2EntityPlayer); $par2EntityPlayer = new jl_String; var$5 = $par1ItemStack.$buffer; var$11 = var$5.data; var$7 = $par1ItemStack.$length0; var$12 = var$11.length; if (var$7 >= 0 && var$7 <= (var$12 - 0 | 0)) { $par2EntityPlayer.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$5 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$5[var$7] = $par2EntityPlayer; $par3List.$modCount = $par3List.$modCount + 1 | 0; break a; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ItemStack); $rt_throw($par1ItemStack); } } } }, nms_ItemEditableBook_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[$par1ItemStack.$itemID]; if (var$4 === nms_Item_writtenBook) { $par2World = $par3EntityPlayer.$mc4; var$4 = nms_GuiScreenBook__init_($par3EntityPlayer, $par1ItemStack, 0); $ptr = 1; continue main; } if (var$4 !== nms_Item_writableBook) return $par1ItemStack; $par2World = $par3EntityPlayer.$mc4; var$4 = nms_GuiScreenBook__init_($par3EntityPlayer, $par1ItemStack, 1); $ptr = 2; continue main; case 1: nms_Minecraft_displayGuiScreen($par2World, var$4); if ($rt_suspending()) { break main; } return $par1ItemStack; case 2: nms_Minecraft_displayGuiScreen($par2World, var$4); if ($rt_suspending()) { break main; } return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, var$4, $ptr); }, nms_ItemEditableBook_getShareTag = $this => { return 1; }, nms_ItemEditableBook_hasEffect = ($this, $par1ItemStack) => { return 1; }; function nms_ItemSeedFood() { let a = this; nms_ItemFood.call(a); a.$cropId = 0; a.$soilId = 0; } let nms_ItemSeedFood__init_0 = ($this, $par1, $par2, $par3, $par4, $par5) => { nms_Item__init_($this, $par1); $this.$itemUseDuration = 32; $this.$healAmount = $par2; $this.$isWolfsFavoriteMeat = 0; $this.$saturationModifier = $par3; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabFood; $this.$cropId = $par4; $this.$soilId = $par5; }, nms_ItemSeedFood__init_ = (var_0, var_1, var_2, var_3, var_4) => { let var_5 = new nms_ItemSeedFood(); nms_ItemSeedFood__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; }, nms_ItemSeedFood_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par7 != 1) return 0; $var11 = $par2EntityPlayer.$capabilities.$allowEdit; if ($var11) $par7 = 1; else if ($par1ItemStack === null) $par7 = 0; else { nms_Item_$callClinit(); $par7 = 1; } if ($par7) { $par7 = $par5 + 1 | 0; if ($var11) $var11 = 1; else if ($par1ItemStack === null) $var11 = 0; else { nms_Item_$callClinit(); $var11 = 1; } if ($var11) { if (nms_World_getBlockId($par3World, $par4, $par5, $par6) == $this.$soilId && (nms_World_getBlockId($par3World, $par4, $par7, $par6) ? 0 : 1)) { $par5 = $this.$cropId; $var11 = 0; var$12 = 3; $ptr = 1; continue main; } return 0; } } return 0; case 1: nms_World_setBlock($par3World, $par4, $par7, $par6, $par5, $var11, var$12); if ($rt_suspending()) { break main; } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var11, var$12, $ptr); }, nms_ItemEmptyMap = $rt_classWithoutFields(nms_ItemMapBase), nms_ItemEmptyMap__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabMisc; }, nms_ItemEmptyMap__init_ = var_0 => { let var_1 = new nms_ItemEmptyMap(); nms_ItemEmptyMap__init_0(var_1, var_0); return var_1; }, nms_ItemEmptyMap_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var6, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var6 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var4 = new nms_ItemStack; nms_Item_$callClinit(); var$5 = nms_Item_map; var$6 = $par2World.$mapStorage; var$7 = var$6.$idCounts; if (!$rt_s(2254).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(2254).$nativeString.length) break a; $rt_s(2254).$hashCode1 = (31 * $rt_s(2254).$hashCode1 | 0) + $rt_s(2254).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$8 = $rt_s(2254).$hashCode1; var$9 = var$7.$elementData.data; var$10 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$8) { b: { var$7 = var$10.$key; if ($rt_s(2254) !== var$7) { if ($rt_s(2254) === var$7) var$11 = 1; else if (!(var$7 instanceof jl_String)) var$11 = 0; else { var$12 = var$7; var$11 = $rt_s(2254).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$11) { var$11 = 0; break b; } } var$11 = 1; } if (var$11) break; } var$10 = var$10.$next3; } var$7 = var$10 === null ? null : var$10.$value1; if (var$7 === null) { jl_Short_ensureShortCache(); var$7 = jl_Short_shortCache.data[128]; } else { var$8 = (var$7.$value8 + 1 | 0) << 16 >> 16; if (var$8 >= (-128) && var$8 <= 127) { jl_Short_ensureShortCache(); var$7 = jl_Short_shortCache.data[var$8 + 128 | 0]; } else { var$7 = new jl_Short; var$7.$value8 = var$8; } } ju_HashMap_putImpl(var$6.$idCounts, $rt_s(2254), var$7); var$11 = var$7.$value8; nms_ItemStack_$callClinit(); $var4.$itemID = var$5.$itemID0; $var4.$stackSize = 1; $var4.$itemDamage = var$11; if (var$11 < 0) $var4.$itemDamage = 0; var$13 = $var4.$itemDamage; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2950)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$13, 10); var$5 = new jl_String; var$9 = var$6.$buffer; var$14 = var$9.data; var$11 = var$6.$length0; var$13 = var$14.length; if (var$11 >= 0 && var$11 <= (var$13 - 0 | 0)) { c: { var$5.$nativeString = $rt_charArrayToString(var$9.data, 0, var$11); $var6 = new nms_MapData; $var6.$mapName = var$5; $var6.$colors = $rt_createByteArray(16384); var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var6.$playersArrayList = var$6; var$6 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$9 = var$14.data; var$6.$elementData = var$14; var$6.$loadFactor = 0.75; var$6.$threshold = var$9.length * 0.75 | 0; $var6.$playersHashMap = var$6; $var6.$playersVisibleOnMap = ju_LinkedHashMap__init_(); var$10 = $par2World.$mapStorage; var$6 = var$10.$loadedDataMap; if (!var$5.$hashCode1) { var$11 = 0; while (true) { if (var$11 >= var$5.$nativeString.length) break c; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$11) | 0; var$11 = var$11 + 1 | 0; } } } var$13 = var$5.$hashCode1; var$9 = var$6.$elementData.data; var$6 = var$9[var$13 & (var$9.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$13) { d: { var$7 = var$6.$key; if (var$5 !== var$7) { if (var$5 === var$7) var$8 = 1; else if (!(var$7 instanceof jl_String)) var$8 = 0; else { var$7 = var$7; var$8 = var$5.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break d; } } var$8 = 1; } if (var$8) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$6 = var$10.$loadedDataList; var$7 = ju_HashMap_removeByKey(var$10.$loadedDataMap, var$5); var$7 = var$7 === null ? null : var$7.$value1; var$13 = var$6.$size0; var$8 = 0; e: { while (true) { if (var$8 >= var$13) { var$8 = (-1); break e; } if (var$8 < 0) break; if (var$8 >= var$6.$size0) break; var$12 = var$6.$array.data[var$8]; if (var$7 === var$12 ? 1 : var$7 !== null ? var$7.$equals(var$12) : var$12 !== null ? 0 : 1) break e; var$8 = var$8 + 1 | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ItemStack); $rt_throw($par1ItemStack); } if (var$8 >= 0) ju_ArrayList_remove(var$6, var$8); } ju_HashMap_putImpl(var$10.$loadedDataMap, var$5, $var6); var$6 = var$10.$loadedDataList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$9 = var$6.$array.data; var$11 = var$6.$size0; var$6.$size0 = var$11 + 1 | 0; var$9[var$11] = $var6; var$6.$modCount = var$6.$modCount + 1 | 0; $var6.$scale1 = 0; var$16 = $par3EntityPlayer.$posX / 128.0; $var6.$xCenter = Long_lo(Long_mul(Long_fromNumber(var$16 + jl_Math_sign(var$16) * 0.5), Long_fromInt(128))); var$16 = $par3EntityPlayer.$posZ / 128.0; $var6.$zCenter = Long_lo(Long_mul(Long_fromNumber(var$16 + jl_Math_sign(var$16) * 0.5), Long_fromInt(128))); $var6.$dimension0 = $par2World.$provider.$dimensionId << 24 >> 24; $var6.$dirty = 1; var$8 = $par1ItemStack.$stackSize - 1 | 0; $par1ItemStack.$stackSize = var$8; if (var$8 <= 0) return $var4; $par2World = $par3EntityPlayer.$inventory; var$6 = new nms_ItemStack; var$8 = $var4.$itemID; var$11 = $var4.$stackSize; var$13 = $var4.$itemDamage; var$6.$itemID = var$8; var$6.$stackSize = var$11; var$6.$itemDamage = var$13; if (var$13 < 0) var$6.$itemDamage = 0; var$7 = $var4.$stackTagCompound; if (var$7 !== null) { var$12 = new nms_NBTTagCompound; var$5 = var$7.$name; if (var$5 === null) var$5 = $rt_s(18); var$12.$name = var$5; var$5 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); var$5.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$9 = var$14.data; var$5.$elementData = var$14; var$5.$loadFactor = 0.75; var$5.$threshold = var$9.length * 0.75 | 0; var$12.$tagMap = var$5; var$5 = var$7.$tagMap; if (var$5.$cachedKeySet === null) { $var6 = new ju_HashMap$1; $var6.$this$0 = var$5; var$5.$cachedKeySet = $var6; } var$5 = var$5.$cachedKeySet.$iterator(); while (var$5.$hasNext()) { $var6 = var$5.$next(); var$10 = var$7.$tagMap; if ($var6 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { f: { if (!$var6.$hashCode1) { var$11 = 0; while (true) { if (var$11 >= $var6.$nativeString.length) break f; $var6.$hashCode1 = (31 * $var6.$hashCode1 | 0) + $var6.$nativeString.charCodeAt(var$11) | 0; var$11 = var$11 + 1 | 0; } } } var$13 = $var6.$hashCode1; var$9 = var$10.$elementData.data; var$10 = var$9[var$13 & (var$9.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$13) { g: { var$17 = var$10.$key; if ($var6 !== var$17) { if ($var6 === var$17) var$8 = 1; else if (!(var$17 instanceof jl_String)) var$8 = 0; else { var$17 = var$17; var$8 = $var6.$nativeString !== var$17.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break g; } } var$8 = 1; } if (var$8) break; } var$10 = var$10.$next3; } } var$10 = var$10 === null ? null : var$10.$value1; var$10 = var$10.$copy(); var$17 = var$12.$tagMap; if ($var6 !== null) var$10.$name = $var6; else var$10.$name = $rt_s(18); ju_HashMap_putImpl(var$17, $var6, var$10); } var$6.$stackTagCompound = var$12; } if (nms_InventoryPlayer_addItemStackToInventory($par2World, var$6)) return $par1ItemStack; var$8 = 0; $ptr = 1; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); case 1: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par3EntityPlayer, $var4, var$8); if ($rt_suspending()) { break main; } return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var6, var$16, var$17, $ptr); }; function nms_ItemSkull() { nms_Item.call(this); this.$field_94586_c = null; } let nms_ItemSkull_skullTypes = null, nms_ItemSkull_field_94587_a = null, nms_ItemSkull__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabDecorations; $this.$maxDamage = 0; $this.$hasSubtypes = 1; }, nms_ItemSkull__init_0 = var_0 => { let var_1 = new nms_ItemSkull(); nms_ItemSkull__init_(var_1, var_0); return var_1; }, nms_ItemSkull_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let var$11, var$12, var$13, $var11, var$15, $var12, $var13, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();var$15 = $thread.pop();$var11 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par7) return 0; var$11 = nms_World_getBlockId($par3World, $par4, $par5, $par6); if (!var$11) { nms_Material_$callClinit(); var$12 = nms_Material_air; } else { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[var$11].$blockMaterial; } if (!var$12.$isSolid()) return 0; var$13 = $rt_compare($par7, 1); if (!var$13) $par5 = $par5 + 1 | 0; if ($par7 == 2) $par6 = $par6 + (-1) | 0; if ($par7 == 3) $par6 = $par6 + 1 | 0; if ($par7 == 4) $par4 = $par4 + (-1) | 0; if ($par7 == 5) $par4 = $par4 + 1 | 0; if ($par2EntityPlayer.$capabilities.$allowEdit) var$11 = 1; else if ($par1ItemStack === null) var$11 = 0; else { nms_Item_$callClinit(); var$11 = 1; } if (!var$11) return 0; nms_Block_$callClinit(); if (!nms_Block_skull.$canPlaceBlockAt($par3World, $par4, $par5, $par6)) return 0; $var11 = nms_Block_skull.$blockID; var$11 = 2; $ptr = 1; case 1: nms_World_setBlock($par3World, $par4, $par5, $par6, $var11, $par7, var$11); if ($rt_suspending()) { break main; } $var11 = 0; if (!var$13) { var$15 = $par2EntityPlayer.$rotationYaw * 16.0 / 360.0 + 0.5; $par7 = var$15 | 0; if (var$15 < $par7) $par7 = $par7 - 1 | 0; $var11 = $par7 & 15; } $ptr = 2; case 2: $tmp = nms_World_getBlockTileEntity($par3World, $par4, $par5, $par6); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var12 !== null && $var12 instanceof nms_TileEntitySkull) { $var13 = $rt_s(18); $par2EntityPlayer = $par1ItemStack.$stackTagCompound; if ($par2EntityPlayer === null ? 0 : 1) { a: { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if (!$rt_s(1956).$hashCode1) { $par7 = 0; while (true) { if ($par7 >= $rt_s(1956).$nativeString.length) break a; $rt_s(1956).$hashCode1 = (31 * $rt_s(1956).$hashCode1 | 0) + $rt_s(1956).$nativeString.charCodeAt($par7) | 0; $par7 = $par7 + 1 | 0; } } } var$13 = $rt_s(1956).$hashCode1; var$18 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$18[var$13 & (var$18.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == var$13) { b: { var$12 = $par2EntityPlayer.$key; if ($rt_s(1956) !== var$12) { if ($rt_s(1956) === var$12) $par7 = 1; else if (!(var$12 instanceof jl_String)) $par7 = 0; else { var$12 = var$12; $par7 = $rt_s(1956).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$par7) { $par7 = 0; break b; } } $par7 = 1; } if ($par7) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } if ($par2EntityPlayer === null ? 0 : 1) { c: { var$19 = $par1ItemStack.$stackTagCompound; $par2EntityPlayer = var$19.$tagMap; if (!$rt_s(1956).$hashCode1) { var$13 = 0; while (true) { if (var$13 >= $rt_s(1956).$nativeString.length) break c; $rt_s(1956).$hashCode1 = (31 * $rt_s(1956).$hashCode1 | 0) + $rt_s(1956).$nativeString.charCodeAt(var$13) | 0; var$13 = var$13 + 1 | 0; } } } $par7 = $rt_s(1956).$hashCode1; var$18 = $par2EntityPlayer.$elementData.data; var$20 = var$18[$par7 & (var$18.length - 1 | 0)]; while (var$20 !== null) { if (var$20.$origKeyHash == $par7) { d: { $par2EntityPlayer = var$20.$key; if ($rt_s(1956) !== $par2EntityPlayer) { if ($rt_s(1956) === $par2EntityPlayer) var$11 = 1; else if (!($par2EntityPlayer instanceof jl_String)) var$11 = 0; else { var$12 = $par2EntityPlayer; var$11 = $rt_s(1956).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$11) { var$11 = 0; break d; } } var$11 = 1; } if (var$11) break; } var$20 = var$20.$next3; } if (!(var$20 === null ? 0 : 1)) $var13 = $rt_s(18); else { $par2EntityPlayer = var$19.$tagMap; if ($rt_s(1956) === null) { var$19 = $par2EntityPlayer.$elementData.data[0]; while (var$19 !== null && var$19.$key !== null) { var$19 = var$19.$next3; } } else { e: { if (!$rt_s(1956).$hashCode1) { $par7 = 0; while (true) { if ($par7 >= $rt_s(1956).$nativeString.length) break e; $rt_s(1956).$hashCode1 = (31 * $rt_s(1956).$hashCode1 | 0) + $rt_s(1956).$nativeString.charCodeAt($par7) | 0; $par7 = $par7 + 1 | 0; } } } var$11 = $rt_s(1956).$hashCode1; var$18 = $par2EntityPlayer.$elementData.data; var$19 = var$18[var$11 & (var$18.length - 1 | 0)]; while (var$19 !== null) { if (var$19.$origKeyHash == var$11) { f: { $par2EntityPlayer = var$19.$key; if ($rt_s(1956) !== $par2EntityPlayer) { if ($rt_s(1956) === $par2EntityPlayer) $par7 = 1; else if (!($par2EntityPlayer instanceof jl_String)) $par7 = 0; else { $par2EntityPlayer = $par2EntityPlayer; $par7 = $rt_s(1956).$nativeString !== $par2EntityPlayer.$nativeString ? 0 : 1; } if (!$par7) { $par7 = 0; break f; } } $par7 = 1; } if ($par7) break; } var$19 = var$19.$next3; } } $var13 = (var$19 === null ? null : var$19.$value1).$data1; } } } $par2EntityPlayer = $var12; $par2EntityPlayer.$skullType = $par1ItemStack.$itemDamage; $par2EntityPlayer.$extraType = $var13; $par2EntityPlayer.$skullRotation = $var11; var$12 = nms_Block_skull; $ptr = 3; continue main; } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; case 3: nms_BlockSkull_makeWither(var$12, $par3World, $par4, $par5, $par6, $par2EntityPlayer); if ($rt_suspending()) { break main; } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, var$11, var$12, var$13, $var11, var$15, $var12, $var13, var$18, var$19, var$20, $ptr); }, nms_ItemSkull_getSubItems = ($this, $par1, $par2CreativeTabs, $par3List) => { let $var4, var$5, var$6; $var4 = 0; while ($var4 < nms_ItemSkull_skullTypes.data.length) { $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = $var4; if ($var4 < 0) $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$5 = $par3List.$array.data; var$6 = $par3List.$size0; $par3List.$size0 = var$6 + 1 | 0; var$5[var$6] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } }, nms_ItemSkull_getIconFromDamage = ($this, $par1) => { if (!($par1 >= 0 && $par1 < nms_ItemSkull_skullTypes.data.length)) $par1 = 0; return $this.$field_94586_c.data[$par1]; }, nms_ItemSkull_getUnlocalizedName = ($this, $par1ItemStack) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; $var2 = $par1ItemStack.$itemDamage; if (!($var2 >= 0 && $var2 < nms_ItemSkull_skullTypes.data.length)) $var2 = 0; $par1ItemStack = $this.$unlocalizedName0; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(2084)); var$4 = var$3.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, $par1ItemStack); $par1ItemStack = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$3 = nms_ItemSkull_skullTypes.data[$var2]; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $par1ItemStack); var$4 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$4, var$4 + 1 | 0); var$9.$buffer.data[var$4] = 46; $var2 = var$9.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, $var2, var$3); $par1ItemStack = new jl_String; var$5 = var$9.$buffer; var$6 = var$5.data; var$4 = var$9.$length0; var$7 = var$6.length; if (var$4 >= 0 && var$4 <= (var$7 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4); return $par1ItemStack; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ItemStack); $rt_throw($par1ItemStack); }, nms_ItemSkull_getItemDisplayName = ($this, $par1ItemStack) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { if ($par1ItemStack.$itemDamage == 3) { var$2 = $par1ItemStack.$stackTagCompound; if (var$2 === null ? 0 : 1) { b: { var$2 = var$2.$tagMap; if (!$rt_s(1956).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1956).$nativeString.length) break b; $rt_s(1956).$hashCode1 = (31 * $rt_s(1956).$hashCode1 | 0) + $rt_s(1956).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1956).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { c: { var$6 = var$2.$key; if ($rt_s(1956) !== var$6) { if ($rt_s(1956) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1956).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break c; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { d: { var$5 = $rt_createArray(jl_Object, 1); var$6 = $par1ItemStack.$stackTagCompound; $par1ItemStack = var$6.$tagMap; if (!$rt_s(1956).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1956).$nativeString.length) break d; $rt_s(1956).$hashCode1 = (31 * $rt_s(1956).$hashCode1 | 0) + $rt_s(1956).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$4 = $rt_s(1956).$hashCode1; var$8 = $par1ItemStack.$elementData.data; $par1ItemStack = var$8[var$4 & (var$8.length - 1 | 0)]; while ($par1ItemStack !== null) { if ($par1ItemStack.$origKeyHash == var$4) { e: { var$2 = $par1ItemStack.$key; if ($rt_s(1956) !== var$2) { if ($rt_s(1956) === var$2) var$7 = 1; else if (!(var$2 instanceof jl_String)) var$7 = 0; else { var$2 = var$2; var$7 = $rt_s(1956).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break e; } } var$7 = 1; } if (var$7) break; } $par1ItemStack = $par1ItemStack.$next3; } if (!($par1ItemStack === null ? 0 : 1)) $par1ItemStack = $rt_s(18); else { $par1ItemStack = var$6.$tagMap; if ($rt_s(1956) === null) { var$6 = $par1ItemStack.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { f: { if (!$rt_s(1956).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1956).$nativeString.length) break f; $rt_s(1956).$hashCode1 = (31 * $rt_s(1956).$hashCode1 | 0) + $rt_s(1956).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$4 = $rt_s(1956).$hashCode1; var$8 = $par1ItemStack.$elementData.data; var$6 = var$8[var$4 & (var$8.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$4) { g: { $par1ItemStack = var$6.$key; if ($rt_s(1956) !== $par1ItemStack) { if ($rt_s(1956) === $par1ItemStack) var$7 = 1; else if (!($par1ItemStack instanceof jl_String)) var$7 = 0; else { $par1ItemStack = $par1ItemStack; var$7 = $rt_s(1956).$nativeString !== $par1ItemStack.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break g; } } var$7 = 1; } if (var$7) break; } var$6 = var$6.$next3; } } $par1ItemStack = (var$6 === null ? null : var$6.$value1).$data1; } var$5.data[0] = $par1ItemStack; nms_StatCollector_$callClinit(); $par1ItemStack = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(2970), var$5); break a; } } } $par1ItemStack = nms_ItemSkull_getUnlocalizedName($this, $par1ItemStack); if ($par1ItemStack === null) var$9 = $rt_s(18); else { nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $par1ItemStack); } $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); var$3 = $par1ItemStack.$length0; if (var$9 === null) var$9 = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, var$3, var$9); jl_AbstractStringBuilder_insert($par1ItemStack, $par1ItemStack.$length0, $rt_s(1258)); var$9 = new jl_String; var$5 = $par1ItemStack.$buffer; var$8 = var$5.data; var$7 = $par1ItemStack.$length0; var$4 = var$8.length; if (var$7 >= 0 && var$7 <= (var$4 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$9); $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); var$3 = $par1ItemStack.$length0; if (var$9 === null) var$9 = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, var$3, var$9); var$9 = new jl_String; var$5 = $par1ItemStack.$buffer; var$8 = var$5.data; var$7 = $par1ItemStack.$length0; var$4 = var$8.length; if (var$7 >= 0 && var$7 <= (var$4 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); $par1ItemStack = jl_String_trim(var$9); break a; } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ItemStack); $rt_throw($par1ItemStack); } return $par1ItemStack; }, nms_ItemSkull_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $this.$field_94586_c = $rt_createArray(nms_Icon, nms_ItemSkull_field_94587_a.data.length); $var2 = 0; a: { b: { while ($var2 < nms_ItemSkull_field_94587_a.data.length) { var$3 = $this.$field_94586_c; var$4 = $this.$iconString; if (var$4 === null) { var$5 = $this.$itemID0; var$4 = $this.$unlocalizedName0; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10); var$5 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$5, var$5 + 1 | 0); var$6.$buffer.data[var$5] = 95; var$5 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$5, var$4); var$4 = new jl_String; var$7 = var$6.$buffer; var$8 = var$7.data; var$9 = var$6.$length0; var$10 = var$8.length; if (var$9 < 0) break b; if (var$9 > (var$10 - 0 | 0)) break b; var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); } var$6 = nms_ItemSkull_field_94587_a.data[$var2]; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, var$4); var$5 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$5, var$5 + 1 | 0); var$11.$buffer.data[var$5] = 95; var$5 = var$11.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$11, var$5, var$6); var$4 = new jl_String; var$7 = var$11.$buffer; var$8 = var$7.data; var$9 = var$11.$length0; var$10 = var$8.length; if (var$9 < 0) break a; if (var$9 > (var$10 - 0 | 0)) break a; var$8 = var$3.data; var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$8[$var2] = nms_TextureMap_registerIcon($par1IconRegister, var$4, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_ItemSkull__clinit_ = () => { nms_ItemSkull_skullTypes = $rt_wrapArray(jl_String, [$rt_s(2971), $rt_s(2972), $rt_s(2973), $rt_s(2974), $rt_s(2975)]); nms_ItemSkull_field_94587_a = $rt_wrapArray(jl_String, [$rt_s(2971), $rt_s(2972), $rt_s(2973), $rt_s(2976), $rt_s(2975)]); }, nms_ItemCarrotOnAStick = $rt_classWithoutFields(nms_Item), nms_ItemCarrotOnAStick__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabTransport; $this.$maxStackSize = 1; $this.$maxDamage = 25; }, nms_ItemCarrotOnAStick__init_ = var_0 => { let var_1 = new nms_ItemCarrotOnAStick(); nms_ItemCarrotOnAStick__init_0(var_1, var_0); return var_1; }, nms_ItemCarrotOnAStick_isFull3D = $this => { return 1; }, nms_ItemCarrotOnAStick_shouldRotateAroundWhenRendering = $this => { return 1; }, nms_ItemCarrotOnAStick_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, $var4, var$6, var$7, var$8, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par2World = $par3EntityPlayer.$ridingEntity; var$4 = $par2World === null ? 0 : 1; if (var$4 && $par2World instanceof nms_EntityPig) { $var4 = $par2World.$aiControlledByPlayer; if (!$var4.$speedBoosted && $var4.$currentSpeed > $var4.$maxSpeed * 0.30000001192092896 ? 1 : 0) { nms_Item_$callClinit(); if ((nms_Item_itemsList.data[$par1ItemStack.$itemID].$maxDamage - $par1ItemStack.$itemDamage | 0) >= 7) { $var4.$speedBoosted = 1; $var4.$speedBoostTime = 0; $par2World = $var4.$thisEntity.$rand; var$6 = Long_and(Long_add(Long_mul($par2World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2World.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); while (true) { var$8 = var$7 % 841 | 0; if (((var$7 - var$8 | 0) + 840 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2World.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); } $var4.$maxSpeedBoostTime = var$8 + 140 | 0; var$4 = 7; $ptr = 1; continue main; } } } return $par1ItemStack; case 1: nms_ItemStack_damageItem($par1ItemStack, var$4, $par3EntityPlayer); if ($rt_suspending()) { break main; } if ($par1ItemStack.$stackSize) return $par1ItemStack; $var5 = new nms_ItemStack; $var5.$itemID = nms_Item_fishingRod.$itemID0; $var5.$stackSize = 1; $var5.$itemDamage = 0; $var5.$stackTagCompound = $par1ItemStack.$stackTagCompound; return $var5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, var$4, $var4, var$6, var$7, var$8, $var5, $ptr); }, nms_ItemSimpleFoiled = $rt_classWithoutFields(nms_Item), nms_ItemSimpleFoiled__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); }, nms_ItemSimpleFoiled__init_0 = var_0 => { let var_1 = new nms_ItemSimpleFoiled(); nms_ItemSimpleFoiled__init_(var_1, var_0); return var_1; }, nms_ItemSimpleFoiled_hasEffect = ($this, $par1ItemStack) => { return 1; }, nms_ItemFirework = $rt_classWithoutFields(nms_Item), nms_ItemFirework__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); }, nms_ItemFirework__init_0 = var_0 => { let var_1 = new nms_ItemFirework(); nms_ItemFirework__init_(var_1, var_0); return var_1; }, nms_ItemFirework_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par3World.$isRemote) return 0; $var11 = new nms_EntityFireworkRocket; var$12 = $par4 + $par8; var$13 = $par5 + $par9; var$14 = $par6 + $par10; $ptr = 1; case 1: nms_EntityFireworkRocket__init_($var11, $par3World, var$12, var$13, var$14, $par1ItemStack); if ($rt_suspending()) { break main; } $par4 = nms_World_spawnEntityInWorld($par3World, $var11); var$15 = $par3World.$entityList; ju_HashMap_putImpl(var$15.$backingMap, $var11, var$15); if (!$par4) { $par3World = $par3World.$entitySpawnQueue; ju_HashMap_putImpl($par3World.$backingMap, $var11, $par3World); } if (!$par2EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var11, var$12, var$13, var$14, var$15, $ptr); }, nms_ItemFirework_addInformation = ($this, $par1ItemStack, $par2EntityPlayer, $par3List, $par4) => { let $var8, var$6, $var9, $var7, $var5, var$10, $var10, $var6, var$13, var$14, var$15; $var8 = $par1ItemStack.$stackTagCompound; $par4 = $var8 === null ? 0 : 1; a: { if ($par4) { b: { $par2EntityPlayer = $var8.$tagMap; if (!$rt_s(2379).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(2379).$nativeString.length) break b; $rt_s(2379).$hashCode1 = (31 * $rt_s(2379).$hashCode1 | 0) + $rt_s(2379).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(2379).$hashCode1; var$6 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$6[$par4 & (var$6.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par4) { c: { $var9 = $par2EntityPlayer.$key; if ($rt_s(2379) !== $var9) { if ($rt_s(2379) !== $var9) { if ($var9 instanceof jl_String) { $var9 = $var9; $var7 = $rt_s(2379).$nativeString !== $var9.$nativeString ? 0 : 1; } else $var7 = 0; } else $var7 = 1; if (!$var7) { $var7 = 0; break c; } } $var7 = 1; } if ($var7) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } if (!($par2EntityPlayer === null ? 0 : 1)) { $var5 = new nms_NBTTagCompound; if ($rt_s(2379) !== null) $var5.$name = $rt_s(2379); else $var5.$name = $rt_s(18); $par1ItemStack = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); $par1ItemStack.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$6 = var$10.data; $par1ItemStack.$elementData = var$10; $par1ItemStack.$loadFactor = 0.75; $par1ItemStack.$threshold = var$6.length * 0.75 | 0; $var5.$tagMap = $par1ItemStack; } else { $par2EntityPlayer = $var8.$tagMap; if ($rt_s(2379) !== null) { d: { if (!$rt_s(2379).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(2379).$nativeString.length) break d; $rt_s(2379).$hashCode1 = (31 * $rt_s(2379).$hashCode1 | 0) + $rt_s(2379).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(2379).$hashCode1; var$6 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$6[$par4 & (var$6.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par4) { e: { $var8 = $par2EntityPlayer.$key; if ($rt_s(2379) !== $var8) { if ($rt_s(2379) === $var8) $var7 = 1; else if (!($var8 instanceof jl_String)) $var7 = 0; else { $var8 = $var8; $var7 = $rt_s(2379).$nativeString !== $var8.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break e; } } $var7 = 1; } if ($var7) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } $var5 = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; } if ($var5 !== null) { f: { $par2EntityPlayer = $var5.$tagMap; if (!$rt_s(2380).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(2380).$nativeString.length) break f; $rt_s(2380).$hashCode1 = (31 * $rt_s(2380).$hashCode1 | 0) + $rt_s(2380).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $var10 = $rt_s(2380).$hashCode1; var$6 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$6[$var10 & (var$6.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $var10) { g: { $var8 = $par2EntityPlayer.$key; if ($rt_s(2380) !== $var8) { if ($rt_s(2380) !== $var8) { if ($var8 instanceof jl_String) { $var8 = $var8; $par4 = $rt_s(2380).$nativeString !== $var8.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break g; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } if ($par2EntityPlayer === null ? 0 : 1) { h: { nms_StatCollector_$callClinit(); $par2EntityPlayer = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2977)); $var8 = $var5.$tagMap; if (!$rt_s(2380).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(2380).$nativeString.length) break h; $rt_s(2380).$hashCode1 = (31 * $rt_s(2380).$hashCode1 | 0) + $rt_s(2380).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $var10 = $rt_s(2380).$hashCode1; var$6 = $var8.$elementData.data; $var8 = var$6[$var10 & (var$6.length - 1 | 0)]; while ($var8 !== null) { if ($var8.$origKeyHash == $var10) { i: { $var9 = $var8.$key; if ($rt_s(2380) !== $var9) { if ($rt_s(2380) === $var9) $par4 = 1; else if (!($var9 instanceof jl_String)) $par4 = 0; else { $var9 = $var9; $par4 = $rt_s(2380).$nativeString !== $var9.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break i; } } $par4 = 1; } if ($par4) break; } $var8 = $var8.$next3; } if (!($var8 === null ? 0 : 1)) $var10 = 0; else { $var8 = $var5.$tagMap; if ($rt_s(2380) === null) { $var8 = $var8.$elementData.data[0]; while ($var8 !== null && $var8.$key !== null) { $var8 = $var8.$next3; } } else { j: { if (!$rt_s(2380).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(2380).$nativeString.length) break j; $rt_s(2380).$hashCode1 = (31 * $rt_s(2380).$hashCode1 | 0) + $rt_s(2380).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $var10 = $rt_s(2380).$hashCode1; var$6 = $var8.$elementData.data; $var8 = var$6[$var10 & (var$6.length - 1 | 0)]; while ($var8 !== null) { if ($var8.$origKeyHash == $var10) { k: { $var9 = $var8.$key; if ($rt_s(2380) !== $var9) { if ($rt_s(2380) === $var9) $par4 = 1; else if (!($var9 instanceof jl_String)) $par4 = 0; else { $var9 = $var9; $par4 = $rt_s(2380).$nativeString !== $var9.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break k; } } $par4 = 1; } if ($par4) break; } $var8 = $var8.$next3; } } $var10 = ($var8 === null ? null : $var8.$value1).$data; } $par1ItemStack = new jl_StringBuilder; $par1ItemStack.$buffer = $rt_createCharArray(16); $par4 = $par1ItemStack.$length0; if ($par2EntityPlayer === null) $par2EntityPlayer = $rt_s(1); jl_AbstractStringBuilder_insert($par1ItemStack, $par4, $par2EntityPlayer); $var7 = $par1ItemStack.$length0; jl_AbstractStringBuilder_insertSpace($par1ItemStack, $var7, $var7 + 1 | 0); $par1ItemStack.$buffer.data[$var7] = 32; $par4 = $var10 << 24 >> 24; jl_AbstractStringBuilder_insert0($par1ItemStack, $par1ItemStack.$length0, $par4, 10); $par2EntityPlayer = new jl_String; var$6 = $par1ItemStack.$buffer; var$10 = var$6.data; $var7 = $par1ItemStack.$length0; $var10 = var$10.length; if ($var7 >= 0 && $var7 <= ($var10 - 0 | 0)) { $par2EntityPlayer.$nativeString = $rt_charArrayToString(var$6.data, 0, $var7); ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$6 = $par3List.$array.data; $var7 = $par3List.$size0; $par3List.$size0 = $var7 + 1 | 0; var$6[$var7] = $par2EntityPlayer; $par3List.$modCount = $par3List.$modCount + 1 | 0; } else { $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } } l: { $par2EntityPlayer = $var5.$tagMap; if (!$rt_s(2978).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(2978).$nativeString.length) break l; $rt_s(2978).$hashCode1 = (31 * $rt_s(2978).$hashCode1 | 0) + $rt_s(2978).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $var10 = $rt_s(2978).$hashCode1; var$6 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$6[$var10 & (var$6.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $var10) { m: { $var8 = $par2EntityPlayer.$key; if ($rt_s(2978) !== $var8) { if ($rt_s(2978) === $var8) $par4 = 1; else if (!($var8 instanceof jl_String)) $par4 = 0; else { $var8 = $var8; $par4 = $rt_s(2978).$nativeString !== $var8.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break m; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } if (!($par2EntityPlayer === null ? 0 : 1)) { $var6 = new nms_NBTTagList; if ($rt_s(2978) !== null) $var6.$name = $rt_s(2978); else $var6.$name = $rt_s(18); $par1ItemStack = new ju_ArrayList; $par1ItemStack.$array = $rt_createArray(jl_Object, 10); $var6.$tagList = $par1ItemStack; } else { $par2EntityPlayer = $var5.$tagMap; if ($rt_s(2978) === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { n: { if (!$rt_s(2978).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(2978).$nativeString.length) break n; $rt_s(2978).$hashCode1 = (31 * $rt_s(2978).$hashCode1 | 0) + $rt_s(2978).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(2978).$hashCode1; var$6 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$6[$par4 & (var$6.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $par4) { o: { $var8 = $par2EntityPlayer.$key; if ($rt_s(2978) !== $var8) { if ($rt_s(2978) === $var8) $var7 = 1; else if (!($var8 instanceof jl_String)) $var7 = 0; else { $var8 = $var8; $var7 = $rt_s(2978).$nativeString !== $var8.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break o; } } $var7 = 1; } if ($var7) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } $var6 = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; } if ($var6 !== null && $var6.$tagList.$size0 > 0) { $var7 = 0; p: { q: { r: { while (true) { $par1ItemStack = $var6.$tagList; $par4 = $rt_compare($var7, $par1ItemStack.$size0); if ($par4 >= 0) break a; if ($var7 < 0) break; if ($par4 >= 0) break; $var8 = $par1ItemStack.$array.data[$var7]; $var9 = new ju_ArrayList; $var9.$array = $rt_createArray(jl_Object, 10); nms_ItemFireworkCharge_func_92107_a($var8, $var9); if ($var9.$size0 > 0) { $var10 = 1; while (true) { $par4 = $rt_compare($var10, $var9.$size0); if ($par4 >= 0) break; if ($var10 < 0) break p; if ($par4 >= 0) break p; $par1ItemStack = $var9.$array.data[$var10]; $par2EntityPlayer = new jl_StringBuilder; $par2EntityPlayer.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par2EntityPlayer, $par2EntityPlayer.$length0, $rt_s(2979)); $par4 = $par2EntityPlayer.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_AbstractStringBuilder_insert($par2EntityPlayer, $par4, $par1ItemStack); $par1ItemStack = new jl_String; var$6 = $par2EntityPlayer.$buffer; var$10 = var$6.data; var$13 = $par2EntityPlayer.$length0; var$14 = var$10.length; if (var$13 < 0) break q; if (var$13 > (var$14 - 0 | 0)) break q; $par1ItemStack.$nativeString = $rt_charArrayToString(var$6.data, 0, var$13); if ($var10 < 0) break r; if ($var10 >= $var9.$size0) break r; $var9.$array.data[$var10] = $par1ItemStack; $var10 = $var10 + 1 | 0; } var$14 = $var9.$modCount; var$15 = $var9.$size(); $var10 = 0; while ($var10 >= var$15 ? 0 : 1) { if (var$14 < $var9.$modCount) { $par1ItemStack = new ju_ConcurrentModificationException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } var$13 = $var10 + 1 | 0; $par1ItemStack = $var9.$get($var10); ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$6 = $par3List.$array.data; $var10 = $par3List.$size0; $par3List.$size0 = $var10 + 1 | 0; var$6[$var10] = $par1ItemStack; $par3List.$modCount = $par3List.$modCount + 1 | 0; $var10 = var$13; } } $var7 = $var7 + 1 | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } } } } }; function nms_ItemFireworkCharge() { nms_Item.call(this); this.$theIcon1 = null; } let nms_ItemFireworkCharge__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); }, nms_ItemFireworkCharge__init_ = var_0 => { let var_1 = new nms_ItemFireworkCharge(); nms_ItemFireworkCharge__init_0(var_1, var_0); return var_1; }, nms_ItemFireworkCharge_getIconFromDamageForRenderPass = ($this, $par1, $par2) => { return $par2 > 0 ? $this.$theIcon1 : $this.$itemIcon; }, nms_ItemFireworkCharge_getColorFromItemStack = ($this, $par1ItemStack, $par2) => { let var$3, $var4, $var9, $var8, var$7, var$8, $var3, $var5, $var6, $var7, $var10, $var11; if ($par2 != 1) return 16777215; var$3 = $par1ItemStack.$stackTagCompound; $par2 = var$3 === null ? 0 : 1; a: { if ($par2) { b: { $var4 = var$3.$tagMap; if (!$rt_s(2980).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(2980).$nativeString.length) break b; $rt_s(2980).$hashCode1 = (31 * $rt_s(2980).$hashCode1 | 0) + $rt_s(2980).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $var9 = $rt_s(2980).$hashCode1; $var8 = $var4.$elementData.data; $var4 = $var8[$var9 & ($var8.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var9) { c: { var$7 = $var4.$key; if ($rt_s(2980) !== var$7) { if ($rt_s(2980) === var$7) $par2 = 1; else if (!(var$7 instanceof jl_String)) $par2 = 0; else { var$7 = var$7; $par2 = $rt_s(2980).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break c; } } $par2 = 1; } if ($par2) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) { $var4 = new nms_NBTTagCompound; if ($rt_s(2980) !== null) $var4.$name = $rt_s(2980); else $var4.$name = $rt_s(18); $par1ItemStack = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $par1ItemStack.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, $par2); $var8 = var$8.data; $par1ItemStack.$elementData = var$8; $par1ItemStack.$loadFactor = 0.75; $par1ItemStack.$threshold = $var8.length * 0.75 | 0; $var4.$tagMap = $par1ItemStack; } else { $var4 = var$3.$tagMap; if ($rt_s(2980) === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { d: { if (!$rt_s(2980).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(2980).$nativeString.length) break d; $rt_s(2980).$hashCode1 = (31 * $rt_s(2980).$hashCode1 | 0) + $rt_s(2980).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $var9 = $rt_s(2980).$hashCode1; $var8 = $var4.$elementData.data; $var4 = $var8[$var9 & ($var8.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var9) { e: { var$7 = $var4.$key; if ($rt_s(2980) !== var$7) { if ($rt_s(2980) === var$7) $par2 = 1; else if (!(var$7 instanceof jl_String)) $par2 = 0; else { var$7 = var$7; $par2 = $rt_s(2980).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break e; } } $par2 = 1; } if ($par2) break; } $var4 = $var4.$next3; } } $var4 = $var4 === null ? null : $var4.$value1; } if ($var4 !== null) { f: { $par1ItemStack = $var4.$tagMap; if (!$rt_s(2981).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(2981).$nativeString.length) break f; $rt_s(2981).$hashCode1 = (31 * $rt_s(2981).$hashCode1 | 0) + $rt_s(2981).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $var9 = $rt_s(2981).$hashCode1; $var8 = $par1ItemStack.$elementData.data; $par1ItemStack = $var8[$var9 & ($var8.length - 1 | 0)]; while ($par1ItemStack !== null) { if ($par1ItemStack.$origKeyHash == $var9) { g: { $var4 = $par1ItemStack.$key; if ($rt_s(2981) !== $var4) { if ($rt_s(2981) === $var4) $par2 = 1; else if (!($var4 instanceof jl_String)) $par2 = 0; else { $var4 = $var4; $par2 = $rt_s(2981).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break g; } } $par2 = 1; } if ($par2) break; } $par1ItemStack = $par1ItemStack.$next3; } $var3 = $par1ItemStack === null ? null : $par1ItemStack.$value1; break a; } } $var3 = null; } if ($var3 === null) return 9079434; $var8 = $var3.$intArray.data; $var9 = $var8.length; if ($var9 == 1) return $var8[0]; $var5 = 0; $var6 = 0; $var7 = 0; $var10 = 0; while ($var10 < $var9) { $var11 = $var8[$var10]; $var5 = $var5 + (($var11 & 16711680) >> 16) | 0; $var6 = $var6 + (($var11 & 65280) >> 8) | 0; $var7 = $var7 + (($var11 & 255) >> 0) | 0; $var10 = $var10 + 1 | 0; } return ($var5 / $var9 | 0) << 16 | ($var6 / $var9 | 0) << 8 | ($var7 / $var9 | 0); }, nms_ItemFireworkCharge_requiresMultipleRenderPasses = $this => { return 1; }, nms_ItemFireworkCharge_addInformation = ($this, $par1ItemStack, $par2EntityPlayer, $par3List, $par4) => { let $var5, var$6, var$7, var$8, var$9, var$10; $var5 = $par1ItemStack.$stackTagCompound; if ($var5 === null ? 0 : 1) { a: { $par2EntityPlayer = $var5.$tagMap; if (!$rt_s(2980).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(2980).$nativeString.length) break a; $rt_s(2980).$hashCode1 = (31 * $rt_s(2980).$hashCode1 | 0) + $rt_s(2980).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } var$6 = $rt_s(2980).$hashCode1; var$7 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == var$6) { b: { var$8 = $par2EntityPlayer.$key; if ($rt_s(2980) !== var$8) { if ($rt_s(2980) === var$8) $par4 = 1; else if (!(var$8 instanceof jl_String)) $par4 = 0; else { var$8 = var$8; $par4 = $rt_s(2980).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break b; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } if (!($par2EntityPlayer === null ? 0 : 1)) { $var5 = new nms_NBTTagCompound; if ($rt_s(2980) !== null) $var5.$name = $rt_s(2980); else $var5.$name = $rt_s(18); $par1ItemStack = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); $par1ItemStack.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$7 = var$9.data; $par1ItemStack.$elementData = var$9; $par1ItemStack.$loadFactor = 0.75; $par1ItemStack.$threshold = var$7.length * 0.75 | 0; $var5.$tagMap = $par1ItemStack; } else { $par2EntityPlayer = $var5.$tagMap; if ($rt_s(2980) === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { c: { if (!$rt_s(2980).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(2980).$nativeString.length) break c; $rt_s(2980).$hashCode1 = (31 * $rt_s(2980).$hashCode1 | 0) + $rt_s(2980).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$6 = $rt_s(2980).$hashCode1; var$7 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == var$6) { d: { $var5 = $par2EntityPlayer.$key; if ($rt_s(2980) !== $var5) { if ($rt_s(2980) === $var5) $par4 = 1; else if (!($var5 instanceof jl_String)) $par4 = 0; else { $var5 = $var5; $par4 = $rt_s(2980).$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break d; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } $var5 = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; } if ($var5 !== null) nms_ItemFireworkCharge_func_92107_a($var5, $par3List); } }, nms_ItemFireworkCharge_func_92107_a = ($par0NBTTagCompound, $par1List) => { let var$3, $var17, $var13, var$6, $var4, $var2, $var5, $var3, $var8, $var9, var$13, $var10, $var11, var$16, $var15, $var18, $var19, $var12; a: { var$3 = $par0NBTTagCompound.$tagMap; if (!$rt_s(2446).$hashCode1) { $var17 = 0; while (true) { if ($var17 >= $rt_s(2446).$nativeString.length) break a; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt($var17) | 0; $var17 = $var17 + 1 | 0; } } } $var17 = $rt_s(2446).$hashCode1; $var13 = var$3.$elementData.data; var$3 = $var13[$var17 & ($var13.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var17) { b: { var$6 = var$3.$key; if ($rt_s(2446) !== var$6) { if ($rt_s(2446) !== var$6) { if (!(var$6 instanceof jl_String)) $var4 = 0; else { var$6 = var$6; $var4 = $rt_s(2446).$nativeString !== var$6.$nativeString ? 0 : 1; } } else $var4 = 1; if (!$var4) { $var4 = 0; break b; } } $var4 = 1; } if ($var4) break; } var$3 = var$3.$next3; } if (var$3 === null ? 0 : 1) { var$3 = $par0NBTTagCompound.$tagMap; if ($rt_s(2446) !== null) { c: { if (!$rt_s(2446).$hashCode1) { $var17 = 0; while (true) { if ($var17 >= $rt_s(2446).$nativeString.length) break c; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt($var17) | 0; $var17 = $var17 + 1 | 0; } } } $var17 = $rt_s(2446).$hashCode1; $var13 = var$3.$elementData.data; var$3 = $var13[$var17 & ($var13.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var17) { d: { var$6 = var$3.$key; if ($rt_s(2446) !== var$6) { if ($rt_s(2446) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var4 = $rt_s(2446).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var4 = 0; } else $var4 = 1; if (!$var4) { $var4 = 0; break d; } } $var4 = 1; } if ($var4) break; } var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } $var2 = (var$3 === null ? null : var$3.$value1).$data; } else $var2 = 0; e: { if ($var2 >= 0 && $var2 <= 4) { $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(2982)); $var17 = $var2 << 24 >> 24; jl_AbstractStringBuilder_insert0($var5, $var5.$length0, $var17, 10); var$3 = new jl_String; $var13 = $var5.$buffer; $var3 = $var13.data; $var4 = $var5.$length0; $var8 = $var3.length; if ($var4 >= 0 && $var4 <= ($var8 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString($var13.data, 0, $var4); nms_StatCollector_$callClinit(); $var5 = jl_String_trim(nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$3)); ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); $var13 = $par1List.$array.data; $var4 = $par1List.$size0; $par1List.$size0 = $var4 + 1 | 0; $var13[$var4] = $var5; $par1List.$modCount = $par1List.$modCount + 1 | 0; break e; } $par0NBTTagCompound = new jl_IndexOutOfBoundsException; $par0NBTTagCompound.$suppressionEnabled = 1; $par0NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par0NBTTagCompound); $rt_throw($par0NBTTagCompound); } nms_StatCollector_$callClinit(); $var5 = jl_String_trim(nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2983))); ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); $var13 = $par1List.$array.data; $var4 = $par1List.$size0; $par1List.$size0 = $var4 + 1 | 0; $var13[$var4] = $var5; $par1List.$modCount = $par1List.$modCount + 1 | 0; } f: { var$3 = $par0NBTTagCompound.$tagMap; if (!$rt_s(2981).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2981).$nativeString.length) break f; $rt_s(2981).$hashCode1 = (31 * $rt_s(2981).$hashCode1 | 0) + $rt_s(2981).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } $var17 = $rt_s(2981).$hashCode1; $var13 = var$3.$elementData.data; var$3 = $var13[$var17 & ($var13.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var17) { g: { var$6 = var$3.$key; if ($rt_s(2981) !== var$6) { if ($rt_s(2981) !== var$6) { if (!(var$6 instanceof jl_String)) $var4 = 0; else { var$6 = var$6; $var4 = $rt_s(2981).$nativeString !== var$6.$nativeString ? 0 : 1; } } else $var4 = 1; if (!$var4) { $var4 = 0; break g; } } $var4 = 1; } if ($var4) break; } var$3 = var$3.$next3; } if (!(var$3 === null ? 0 : 1)) $var3 = $rt_createIntArray(0); else { var$3 = $par0NBTTagCompound.$tagMap; if ($rt_s(2981) === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { h: { if (!$rt_s(2981).$hashCode1) { $var17 = 0; while (true) { if ($var17 >= $rt_s(2981).$nativeString.length) break h; $rt_s(2981).$hashCode1 = (31 * $rt_s(2981).$hashCode1 | 0) + $rt_s(2981).$nativeString.charCodeAt($var17) | 0; $var17 = $var17 + 1 | 0; } } } $var17 = $rt_s(2981).$hashCode1; $var13 = var$3.$elementData.data; var$3 = $var13[$var17 & ($var13.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var17) { i: { var$6 = var$3.$key; if ($rt_s(2981) !== var$6) { if ($rt_s(2981) === var$6) $var4 = 1; else if (!(var$6 instanceof jl_String)) $var4 = 0; else { var$6 = var$6; $var4 = $rt_s(2981).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break i; } } $var4 = 1; } if ($var4) break; } var$3 = var$3.$next3; } } $var3 = (var$3 === null ? null : var$3.$value1).$intArray; } j: { k: { l: { m: { $var13 = $var3.data; $var17 = $var13.length; if ($var17 > 0) { $var4 = 1; $var5 = $rt_s(18); $var8 = 0; while ($var8 < $var17) { $var9 = $var13[$var8]; if (!$var4) { var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); $var4 = var$3.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $var5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(25)); $var5 = new jl_String; $var3 = var$3.$buffer; var$13 = $var3.data; $var10 = var$3.$length0; $var11 = var$13.length; if ($var10 < 0) break m; if ($var10 > ($var11 - 0 | 0)) break m; $var5.$nativeString = $rt_charArrayToString($var3.data, 0, $var10); } $var4 = 0; $var10 = 0; $var11 = 0; n: { while ($var11 < 16) { if ($var9 == nms_ItemDye_dyeColors.data[$var11]) { $var10 = 1; var$3 = nms_ItemDye_dyeColorNames.data[$var11]; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2984)); $var9 = var$6.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, $var9, var$3); var$16 = new jl_String; $var3 = var$6.$buffer; var$13 = $var3.data; $var11 = var$6.$length0; $var15 = var$13.length; if ($var11 < 0) break k; if ($var11 > ($var15 - 0 | 0)) break k; var$16.$nativeString = $rt_charArrayToString($var3.data, 0, $var11); nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$16); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); $var9 = var$3.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var9, $var5); $var9 = var$3.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var9, var$6); $var5 = new jl_String; $var3 = var$3.$buffer; var$13 = $var3.data; $var11 = var$3.$length0; $var15 = var$13.length; if ($var11 < 0) break l; if ($var11 > ($var15 - 0 | 0)) break l; $var5.$nativeString = $rt_charArrayToString($var3.data, 0, $var11); break n; } $var11 = $var11 + 1 | 0; } } if (!$var10) { nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2985)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); $var9 = var$3.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var9, $var5); $var9 = var$3.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var9, var$6); $var5 = new jl_String; $var3 = var$3.$buffer; var$13 = $var3.data; $var10 = var$3.$length0; $var11 = var$13.length; if ($var10 < 0) break j; if ($var10 > ($var11 - 0 | 0)) break j; $var5.$nativeString = $rt_charArrayToString($var3.data, 0, $var10); } $var8 = $var8 + 1 | 0; } ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); $var13 = $par1List.$array.data; $var4 = $par1List.$size0; $par1List.$size0 = $var4 + 1 | 0; $var13[$var4] = $var5; $par1List.$modCount = $par1List.$modCount + 1 | 0; } o: { var$3 = $par0NBTTagCompound.$tagMap; if (!$rt_s(2986).$hashCode1) { $var17 = 0; while (true) { if ($var17 >= $rt_s(2986).$nativeString.length) break o; $rt_s(2986).$hashCode1 = (31 * $rt_s(2986).$hashCode1 | 0) + $rt_s(2986).$nativeString.charCodeAt($var17) | 0; $var17 = $var17 + 1 | 0; } } } $var8 = $rt_s(2986).$hashCode1; $var13 = var$3.$elementData.data; var$3 = $var13[$var8 & ($var13.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var8) { p: { var$6 = var$3.$key; if ($rt_s(2986) !== var$6) { if ($rt_s(2986) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var17 = $rt_s(2986).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var17 = 0; } else $var17 = 1; if (!$var17) { $var17 = 0; break p; } } $var17 = 1; } if ($var17) break; } var$3 = var$3.$next3; } if (!(var$3 === null ? 0 : 1)) $var13 = $rt_createIntArray(0); else { var$3 = $par0NBTTagCompound.$tagMap; if ($rt_s(2986) !== null) { q: { if (!$rt_s(2986).$hashCode1) { $var17 = 0; while (true) { if ($var17 >= $rt_s(2986).$nativeString.length) break q; $rt_s(2986).$hashCode1 = (31 * $rt_s(2986).$hashCode1 | 0) + $rt_s(2986).$nativeString.charCodeAt($var17) | 0; $var17 = $var17 + 1 | 0; } } } $var8 = $rt_s(2986).$hashCode1; $var13 = var$3.$elementData.data; var$3 = $var13[$var8 & ($var13.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var8) { r: { var$6 = var$3.$key; if ($rt_s(2986) !== var$6) { if ($rt_s(2986) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var17 = $rt_s(2986).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var17 = 0; } else $var17 = 1; if (!$var17) { $var17 = 0; break r; } } $var17 = 1; } if ($var17) break; } var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } $var13 = (var$3 === null ? null : var$3.$value1).$intArray; } s: { $var13 = $var13.data; $var17 = $var13.length; if ($var17 > 0) { $var15 = 1; nms_StatCollector_$callClinit(); $var5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2987)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); $var4 = var$3.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $var5); $var8 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, $var8, $var8 + 1 | 0); $var3 = var$3.$buffer; var$13 = $var3.data; var$13[$var8] = 32; $var5 = new jl_String; $var8 = var$3.$length0; $var9 = var$13.length; if ($var8 >= 0 && $var8 <= ($var9 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString($var3.data, 0, $var8); $var9 = 0; t: { u: { v: { while (true) { if ($var9 >= $var17) { ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); $var13 = $par1List.$array.data; $var4 = $par1List.$size0; $par1List.$size0 = $var4 + 1 | 0; $var13[$var4] = $var5; $par1List.$modCount = $par1List.$modCount + 1 | 0; break s; } $var18 = $var13[$var9]; if (!$var15) { var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); $var4 = var$3.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $var5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(25)); $var5 = new jl_String; $var3 = var$3.$buffer; var$13 = $var3.data; $var8 = var$3.$length0; $var10 = var$13.length; if ($var8 < 0) break; if ($var8 > ($var10 - 0 | 0)) break; $var5.$nativeString = $rt_charArrayToString($var3.data, 0, $var8); } $var15 = 0; $var19 = 0; $var12 = 0; w: { while ($var12 < 16) { if ($var18 == nms_ItemDye_dyeColors.data[$var12]) { $var19 = 1; var$3 = nms_ItemDye_dyeColorNames.data[$var12]; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2984)); $var4 = var$6.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, $var4, var$3); var$16 = new jl_String; $var3 = var$6.$buffer; var$13 = $var3.data; $var8 = var$6.$length0; $var10 = var$13.length; if ($var8 < 0) break u; if ($var8 > ($var10 - 0 | 0)) break u; var$16.$nativeString = $rt_charArrayToString($var3.data, 0, $var8); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$16); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); $var4 = var$3.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $var5); $var4 = var$3.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, var$6); $var5 = new jl_String; $var3 = var$3.$buffer; var$13 = $var3.data; $var8 = var$3.$length0; $var10 = var$13.length; if ($var8 < 0) break v; if ($var8 > ($var10 - 0 | 0)) break v; $var5.$nativeString = $rt_charArrayToString($var3.data, 0, $var8); break w; } $var12 = $var12 + 1 | 0; } } if (!$var19) { var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2985)); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); $var4 = var$3.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, $var5); $var4 = var$3.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var4, var$6); $var5 = new jl_String; $var3 = var$3.$buffer; var$13 = $var3.data; $var8 = var$3.$length0; $var10 = var$13.length; if ($var8 < 0) break t; if ($var8 > ($var10 - 0 | 0)) break t; $var5.$nativeString = $rt_charArrayToString($var3.data, 0, $var8); } $var9 = $var9 + 1 | 0; } $par0NBTTagCompound = new jl_IndexOutOfBoundsException; $par0NBTTagCompound.$suppressionEnabled = 1; $par0NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par0NBTTagCompound); $rt_throw($par0NBTTagCompound); } $par0NBTTagCompound = new jl_IndexOutOfBoundsException; $par0NBTTagCompound.$suppressionEnabled = 1; $par0NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par0NBTTagCompound); $rt_throw($par0NBTTagCompound); } $par0NBTTagCompound = new jl_IndexOutOfBoundsException; $par0NBTTagCompound.$suppressionEnabled = 1; $par0NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par0NBTTagCompound); $rt_throw($par0NBTTagCompound); } $par0NBTTagCompound = new jl_IndexOutOfBoundsException; $par0NBTTagCompound.$suppressionEnabled = 1; $par0NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par0NBTTagCompound); $rt_throw($par0NBTTagCompound); } $par0NBTTagCompound = new jl_IndexOutOfBoundsException; $par0NBTTagCompound.$suppressionEnabled = 1; $par0NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par0NBTTagCompound); $rt_throw($par0NBTTagCompound); } } x: { var$3 = $par0NBTTagCompound.$tagMap; if (!$rt_s(2988).$hashCode1) { $var17 = 0; while (true) { if ($var17 >= $rt_s(2988).$nativeString.length) break x; $rt_s(2988).$hashCode1 = (31 * $rt_s(2988).$hashCode1 | 0) + $rt_s(2988).$nativeString.charCodeAt($var17) | 0; $var17 = $var17 + 1 | 0; } } } $var8 = $rt_s(2988).$hashCode1; $var13 = var$3.$elementData.data; var$3 = $var13[$var8 & ($var13.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var8) { y: { var$6 = var$3.$key; if ($rt_s(2988) !== var$6) { if ($rt_s(2988) === var$6) $var17 = 1; else if (!(var$6 instanceof jl_String)) $var17 = 0; else { var$6 = var$6; $var17 = $rt_s(2988).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var17) { $var17 = 0; break y; } } $var17 = 1; } if ($var17) break; } var$3 = var$3.$next3; } if (!(var$3 === null ? 0 : 1)) $var17 = 0; else { var$3 = $par0NBTTagCompound.$tagMap; if ($rt_s(2988) === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { z: { if (!$rt_s(2988).$hashCode1) { $var17 = 0; while (true) { if ($var17 >= $rt_s(2988).$nativeString.length) break z; $rt_s(2988).$hashCode1 = (31 * $rt_s(2988).$hashCode1 | 0) + $rt_s(2988).$nativeString.charCodeAt($var17) | 0; $var17 = $var17 + 1 | 0; } } } $var8 = $rt_s(2988).$hashCode1; $var13 = var$3.$elementData.data; var$3 = $var13[$var8 & ($var13.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var8) { ba: { var$6 = var$3.$key; if ($rt_s(2988) !== var$6) { if ($rt_s(2988) === var$6) $var17 = 1; else if (!(var$6 instanceof jl_String)) $var17 = 0; else { var$6 = var$6; $var17 = $rt_s(2988).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var17) { $var17 = 0; break ba; } } $var17 = 1; } if ($var17) break; } var$3 = var$3.$next3; } } $var17 = (var$3 === null ? null : var$3.$value1).$data; } if (!$var17 ? 0 : 1) { nms_StatCollector_$callClinit(); $var5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2989)); ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); $var13 = $par1List.$array.data; $var4 = $par1List.$size0; $par1List.$size0 = $var4 + 1 | 0; $var13[$var4] = $var5; $par1List.$modCount = $par1List.$modCount + 1 | 0; } bb: { var$3 = $par0NBTTagCompound.$tagMap; if (!$rt_s(2990).$hashCode1) { $var17 = 0; while (true) { if ($var17 >= $rt_s(2990).$nativeString.length) break bb; $rt_s(2990).$hashCode1 = (31 * $rt_s(2990).$hashCode1 | 0) + $rt_s(2990).$nativeString.charCodeAt($var17) | 0; $var17 = $var17 + 1 | 0; } } } $var8 = $rt_s(2990).$hashCode1; $var13 = var$3.$elementData.data; var$3 = $var13[$var8 & ($var13.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var8) { bc: { var$6 = var$3.$key; if ($rt_s(2990) !== var$6) { if ($rt_s(2990) === var$6) $var17 = 1; else if (!(var$6 instanceof jl_String)) $var17 = 0; else { var$6 = var$6; $var17 = $rt_s(2990).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var17) { $var17 = 0; break bc; } } $var17 = 1; } if ($var17) break; } var$3 = var$3.$next3; } if (!(var$3 === null ? 0 : 1)) $var17 = 0; else { $par0NBTTagCompound = $par0NBTTagCompound.$tagMap; if ($rt_s(2990) === null) { $par0NBTTagCompound = $par0NBTTagCompound.$elementData.data[0]; while ($par0NBTTagCompound !== null && $par0NBTTagCompound.$key !== null) { $par0NBTTagCompound = $par0NBTTagCompound.$next3; } } else { bd: { if (!$rt_s(2990).$hashCode1) { $var17 = 0; while (true) { if ($var17 >= $rt_s(2990).$nativeString.length) break bd; $rt_s(2990).$hashCode1 = (31 * $rt_s(2990).$hashCode1 | 0) + $rt_s(2990).$nativeString.charCodeAt($var17) | 0; $var17 = $var17 + 1 | 0; } } } $var8 = $rt_s(2990).$hashCode1; $var13 = $par0NBTTagCompound.$elementData.data; $par0NBTTagCompound = $var13[$var8 & ($var13.length - 1 | 0)]; while ($par0NBTTagCompound !== null) { if ($par0NBTTagCompound.$origKeyHash == $var8) { be: { var$3 = $par0NBTTagCompound.$key; if ($rt_s(2990) !== var$3) { if ($rt_s(2990) === var$3) $var17 = 1; else if (!(var$3 instanceof jl_String)) $var17 = 0; else { var$3 = var$3; $var17 = $rt_s(2990).$nativeString !== var$3.$nativeString ? 0 : 1; } if (!$var17) { $var17 = 0; break be; } } $var17 = 1; } if ($var17) break; } $par0NBTTagCompound = $par0NBTTagCompound.$next3; } } $var17 = ($par0NBTTagCompound === null ? null : $par0NBTTagCompound.$value1).$data; } if (!$var17 ? 0 : 1) { nms_StatCollector_$callClinit(); $par0NBTTagCompound = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2991)); ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); $var13 = $par1List.$array.data; $var4 = $par1List.$size0; $par1List.$size0 = $var4 + 1 | 0; $var13[$var4] = $par0NBTTagCompound; $par1List.$modCount = $par1List.$modCount + 1 | 0; } return; } $par0NBTTagCompound = new jl_IndexOutOfBoundsException; $par0NBTTagCompound.$suppressionEnabled = 1; $par0NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par0NBTTagCompound); $rt_throw($par0NBTTagCompound); } $par0NBTTagCompound = new jl_IndexOutOfBoundsException; $par0NBTTagCompound.$suppressionEnabled = 1; $par0NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par0NBTTagCompound); $rt_throw($par0NBTTagCompound); } $par0NBTTagCompound = new jl_IndexOutOfBoundsException; $par0NBTTagCompound.$suppressionEnabled = 1; $par0NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par0NBTTagCompound); $rt_throw($par0NBTTagCompound); } $par0NBTTagCompound = new jl_IndexOutOfBoundsException; $par0NBTTagCompound.$suppressionEnabled = 1; $par0NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par0NBTTagCompound); $rt_throw($par0NBTTagCompound); }, nms_ItemFireworkCharge_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$iconString; if (var$2 === null) { var$3 = $this.$itemID0; var$2 = $this.$unlocalizedName0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$4, var$4.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_StringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1IconRegister); $rt_throw($par1IconRegister); } } $this.$itemIcon = nms_TextureMap_registerIcon($par1IconRegister, var$2, 1); var$4 = $this.$iconString; if (var$4 === null) { var$3 = $this.$itemID0; var$4 = $this.$unlocalizedName0; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2085)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$3, 10); var$5 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$5, var$5 + 1 | 0); var$2.$buffer.data[var$5] = 95; var$3 = var$2.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$4); var$4 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; var$5 = var$2.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, var$4); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2964)); var$4 = new jl_String; var$7 = var$2.$buffer; var$6 = var$7.data; var$8 = var$2.$length0; var$5 = var$6.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$theIcon1 = nms_TextureMap_registerIcon($par1IconRegister, var$4, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_ItemEnchantedBook = $rt_classWithoutFields(nms_Item), nms_ItemEnchantedBook__init_ = ($this, $par1) => { nms_Item__init_($this, $par1); }, nms_ItemEnchantedBook__init_0 = var_0 => { let var_1 = new nms_ItemEnchantedBook(); nms_ItemEnchantedBook__init_(var_1, var_0); return var_1; }, nms_ItemEnchantedBook_hasEffect = ($this, $par1ItemStack) => { return 1; }, nms_ItemEnchantedBook_isItemTool = ($this, $par1ItemStack) => { return 0; }, nms_ItemEnchantedBook_getRarity = ($this, $par1ItemStack) => { let var$2, var$3, var$4, var$5, var$6, var$7; a: { var$2 = $par1ItemStack.$stackTagCompound; if (var$2 !== null) { b: { var$2 = var$2.$tagMap; if (!$rt_s(2992).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2992).$nativeString.length) break b; $rt_s(2992).$hashCode1 = (31 * $rt_s(2992).$hashCode1 | 0) + $rt_s(2992).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2992).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { c: { var$6 = var$2.$key; if ($rt_s(2992) !== var$6) { if ($rt_s(2992) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2992).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break c; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { d: { var$2 = $par1ItemStack.$stackTagCompound.$tagMap; if (!$rt_s(2992).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2992).$nativeString.length) break d; $rt_s(2992).$hashCode1 = (31 * $rt_s(2992).$hashCode1 | 0) + $rt_s(2992).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2992).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { e: { var$6 = var$2.$key; if ($rt_s(2992) !== var$6) { if ($rt_s(2992) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2992).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break e; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } var$2 = var$2 === null ? null : var$2.$value1; break a; } } var$2 = new nms_NBTTagList; var$2.$name = $rt_s(18); var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$2.$tagList = var$7; } if (var$2.$tagList.$size0 > 0) $par1ItemStack = nms_EnumRarity_uncommon; else { f: { var$2 = $par1ItemStack.$stackTagCompound; if (var$2 !== null) { g: { var$2 = var$2.$tagMap; if (!$rt_s(1734).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1734).$nativeString.length) break g; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1734).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { h: { var$7 = var$2.$key; if ($rt_s(1734) !== var$7) { if ($rt_s(1734) === var$7) var$3 = 1; else if (!(var$7 instanceof jl_String)) var$3 = 0; else { var$7 = var$7; var$3 = $rt_s(1734).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$3 = 1; break f; } } var$3 = 0; } $par1ItemStack = !var$3 ? nms_EnumRarity_common : nms_EnumRarity_rare; } return $par1ItemStack; }, nms_ItemEnchantedBook_addInformation = ($this, $par1ItemStack, $par2EntityPlayer, $par3List, $par4) => { let $var8, var$6, $var5, var$8, $var6, $var7, var$11, var$12; a: { $par2EntityPlayer = $par1ItemStack.$stackTagCompound; if ($par2EntityPlayer !== null) { b: { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if (!$rt_s(2992).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(2992).$nativeString.length) break b; $rt_s(2992).$hashCode1 = (31 * $rt_s(2992).$hashCode1 | 0) + $rt_s(2992).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $var8 = $rt_s(2992).$hashCode1; var$6 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$6[$var8 & (var$6.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $var8) { c: { $var5 = $par2EntityPlayer.$key; if ($rt_s(2992) !== $var5) { if ($rt_s(2992) !== $var5) { if ($var5 instanceof jl_String) { $var5 = $var5; $par4 = $rt_s(2992).$nativeString !== $var5.$nativeString ? 0 : 1; } else $par4 = 0; } else $par4 = 1; if (!$par4) { $par4 = 0; break c; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } if ($par2EntityPlayer === null ? 0 : 1) { d: { $par1ItemStack = $par1ItemStack.$stackTagCompound.$tagMap; if (!$rt_s(2992).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(2992).$nativeString.length) break d; $rt_s(2992).$hashCode1 = (31 * $rt_s(2992).$hashCode1 | 0) + $rt_s(2992).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $var8 = $rt_s(2992).$hashCode1; var$6 = $par1ItemStack.$elementData.data; $par1ItemStack = var$6[$var8 & (var$6.length - 1 | 0)]; while ($par1ItemStack !== null) { if ($par1ItemStack.$origKeyHash == $var8) { e: { var$8 = $par1ItemStack.$key; if ($rt_s(2992) !== var$8) { if ($rt_s(2992) === var$8) $par4 = 1; else if (!(var$8 instanceof jl_String)) $par4 = 0; else { var$8 = var$8; $par4 = $rt_s(2992).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break e; } } $par4 = 1; } if ($par4) break; } $par1ItemStack = $par1ItemStack.$next3; } $var5 = $par1ItemStack === null ? null : $par1ItemStack.$value1; break a; } } $var5 = new nms_NBTTagList; $var5.$name = $rt_s(18); $par1ItemStack = new ju_ArrayList; $par1ItemStack.$array = $rt_createArray(jl_Object, 10); $var5.$tagList = $par1ItemStack; } f: { g: { h: { if ($var5 !== null) { $var6 = 0; while (true) { $par1ItemStack = $var5.$tagList; $par4 = $rt_compare($var6, $par1ItemStack.$size0); if ($par4 >= 0) break h; if ($var6 < 0) break f; if ($par4 >= 0) break f; i: { $par1ItemStack = $par1ItemStack.$array.data[$var6]; $par2EntityPlayer = $par1ItemStack.$tagMap; if (!$rt_s(1243).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1243).$nativeString.length) break i; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $var8 = $rt_s(1243).$hashCode1; var$6 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$6[$var8 & (var$6.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == $var8) { j: { var$8 = $par2EntityPlayer.$key; if ($rt_s(1243) !== var$8) { if ($rt_s(1243) === var$8) $par4 = 1; else if (!(var$8 instanceof jl_String)) $par4 = 0; else { var$8 = var$8; $par4 = $rt_s(1243).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break j; } } $par4 = 1; } if ($par4) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } if (!($par2EntityPlayer === null ? 0 : 1)) $var7 = 0; else { $par1ItemStack = $par1ItemStack.$tagMap; if ($rt_s(1243) === null) { $par1ItemStack = $par1ItemStack.$elementData.data[0]; while ($par1ItemStack !== null && $par1ItemStack.$key !== null) { $par1ItemStack = $par1ItemStack.$next3; } } else { k: { if (!$rt_s(1243).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1243).$nativeString.length) break k; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $var7 = $rt_s(1243).$hashCode1; var$6 = $par1ItemStack.$elementData.data; $par1ItemStack = var$6[$var7 & (var$6.length - 1 | 0)]; while ($par1ItemStack !== null) { if ($par1ItemStack.$origKeyHash == $var7) { l: { $par2EntityPlayer = $par1ItemStack.$key; if ($rt_s(1243) !== $par2EntityPlayer) { if ($rt_s(1243) === $par2EntityPlayer) $par4 = 1; else if (!($par2EntityPlayer instanceof jl_String)) $par4 = 0; else { $par2EntityPlayer = $par2EntityPlayer; $par4 = $rt_s(1243).$nativeString !== $par2EntityPlayer.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break l; } } $par4 = 1; } if ($par4) break; } $par1ItemStack = $par1ItemStack.$next3; } } $var7 = ($par1ItemStack === null ? null : $par1ItemStack.$value1).$data2; } $par1ItemStack = $var5.$tagList; if ($var6 < 0) break g; if ($var6 >= $par1ItemStack.$size0) break g; m: { $par1ItemStack = $par1ItemStack.$array.data[$var6]; var$8 = $par1ItemStack.$tagMap; if (!$rt_s(2505).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(2505).$nativeString.length) break m; $rt_s(2505).$hashCode1 = (31 * $rt_s(2505).$hashCode1 | 0) + $rt_s(2505).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } var$11 = $rt_s(2505).$hashCode1; var$6 = var$8.$elementData.data; var$8 = var$6[var$11 & (var$6.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$11) { n: { var$12 = var$8.$key; if ($rt_s(2505) !== var$12) { if ($rt_s(2505) === var$12) $par4 = 1; else if (!(var$12 instanceof jl_String)) $par4 = 0; else { var$12 = var$12; $par4 = $rt_s(2505).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break n; } } $par4 = 1; } if ($par4) break; } var$8 = var$8.$next3; } if (!(var$8 === null ? 0 : 1)) $var8 = 0; else { $par1ItemStack = $par1ItemStack.$tagMap; if ($rt_s(2505) === null) { $par1ItemStack = $par1ItemStack.$elementData.data[0]; while ($par1ItemStack !== null && $par1ItemStack.$key !== null) { $par1ItemStack = $par1ItemStack.$next3; } } else { o: { if (!$rt_s(2505).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(2505).$nativeString.length) break o; $rt_s(2505).$hashCode1 = (31 * $rt_s(2505).$hashCode1 | 0) + $rt_s(2505).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } var$11 = $rt_s(2505).$hashCode1; var$6 = $par1ItemStack.$elementData.data; $par1ItemStack = var$6[var$11 & (var$6.length - 1 | 0)]; while ($par1ItemStack !== null) { if ($par1ItemStack.$origKeyHash == var$11) { p: { var$8 = $par1ItemStack.$key; if ($rt_s(2505) !== var$8) { if ($rt_s(2505) === var$8) $par4 = 1; else if (!(var$8 instanceof jl_String)) $par4 = 0; else { var$8 = var$8; $par4 = $rt_s(2505).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!$par4) { $par4 = 0; break p; } } $par4 = 1; } if ($par4) break; } $par1ItemStack = $par1ItemStack.$next3; } } $var8 = ($par1ItemStack === null ? null : $par1ItemStack.$value1).$data2; } nms_Enchantment_$callClinit(); var$6 = nms_Enchantment_enchantmentsList.data; if (var$6[$var7] !== null) { $par1ItemStack = nms_Enchantment_getTranslatedName(var$6[$var7], $var8); ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$6 = $par3List.$array.data; $var8 = $par3List.$size0; $par3List.$size0 = $var8 + 1 | 0; var$6[$var8] = $par1ItemStack; $par3List.$modCount = $par3List.$modCount + 1 | 0; } $var6 = $var6 + 1 | 0; } } } return; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); }, nms_ItemEnchantedBook_addEnchantment = ($this, $par1ItemStack, $par2EnchantmentData) => { let $var7, $var4, var$5, var$6, $var6, $var3, $var5, var$10, var$11, var$12, var$13, var$14; a: { $var7 = $par1ItemStack.$stackTagCompound; if ($var7 !== null) { b: { $var7 = $var7.$tagMap; if (!$rt_s(2992).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2992).$nativeString.length) break b; $rt_s(2992).$hashCode1 = (31 * $rt_s(2992).$hashCode1 | 0) + $rt_s(2992).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$5 = $rt_s(2992).$hashCode1; var$6 = $var7.$elementData.data; $var7 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$5) { c: { $var6 = $var7.$key; if ($rt_s(2992) !== $var6) { if ($rt_s(2992) !== $var6) { if ($var6 instanceof jl_String) { $var6 = $var6; $var4 = $rt_s(2992).$nativeString !== $var6.$nativeString ? 0 : 1; } else $var4 = 0; } else $var4 = 1; if (!$var4) { $var4 = 0; break c; } } $var4 = 1; } if ($var4) break; } $var7 = $var7.$next3; } if ($var7 === null ? 0 : 1) { d: { $var7 = $par1ItemStack.$stackTagCompound.$tagMap; if (!$rt_s(2992).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2992).$nativeString.length) break d; $rt_s(2992).$hashCode1 = (31 * $rt_s(2992).$hashCode1 | 0) + $rt_s(2992).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$5 = $rt_s(2992).$hashCode1; var$6 = $var7.$elementData.data; $var7 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$5) { e: { $var6 = $var7.$key; if ($rt_s(2992) !== $var6) { if ($rt_s(2992) !== $var6) { if ($var6 instanceof jl_String) { $var6 = $var6; $var4 = $rt_s(2992).$nativeString !== $var6.$nativeString ? 0 : 1; } else $var4 = 0; } else $var4 = 1; if (!$var4) { $var4 = 0; break e; } } $var4 = 1; } if ($var4) break; } $var7 = $var7.$next3; } $var3 = $var7 === null ? null : $var7.$value1; break a; } } $var3 = new nms_NBTTagList; $var3.$name = $rt_s(18); $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $var3.$tagList = $var7; } $var4 = 1; $var5 = 0; f: { while (true) { $var7 = $var3.$tagList; var$10 = $rt_compare($var5, $var7.$size0); if (var$10 >= 0) break f; if ($var5 < 0) break; if (var$10 >= 0) break; g: { $var6 = $var7.$array.data[$var5]; $var7 = $var6.$tagMap; if (!$rt_s(1243).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(1243).$nativeString.length) break g; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$10 = $rt_s(1243).$hashCode1; var$6 = $var7.$elementData.data; var$11 = var$6[var$10 & (var$6.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$10) { h: { $var7 = var$11.$key; if ($rt_s(1243) !== $var7) { if ($rt_s(1243) === $var7) var$5 = 1; else if (!($var7 instanceof jl_String)) var$5 = 0; else { var$12 = $var7; var$5 = $rt_s(1243).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break h; } } var$5 = 1; } if (var$5) break; } var$11 = var$11.$next3; } if (!(var$11 === null ? 0 : 1)) var$5 = 0; else { $var7 = $var6.$tagMap; if ($rt_s(1243) === null) { var$11 = $var7.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { i: { if (!$rt_s(1243).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(1243).$nativeString.length) break i; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$5 = $rt_s(1243).$hashCode1; var$6 = $var7.$elementData.data; var$11 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$5) { j: { $var7 = var$11.$key; if ($rt_s(1243) !== $var7) { if ($rt_s(1243) === $var7) var$10 = 1; else if (!($var7 instanceof jl_String)) var$10 = 0; else { $var7 = $var7; var$10 = $rt_s(1243).$nativeString !== $var7.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break j; } } var$10 = 1; } if (var$10) break; } var$11 = var$11.$next3; } } var$5 = (var$11 === null ? null : var$11.$value1).$data2; } if (var$5 == $par2EnchantmentData.$enchantmentobj.$effectId) { k: { var$12 = $var6.$tagMap; if (!$rt_s(2505).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(2505).$nativeString.length) break k; $rt_s(2505).$hashCode1 = (31 * $rt_s(2505).$hashCode1 | 0) + $rt_s(2505).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$5 = $rt_s(2505).$hashCode1; var$6 = var$12.$elementData.data; var$12 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$5) { l: { var$13 = var$12.$key; if ($rt_s(2505) !== var$13) { if ($rt_s(2505) === var$13) $var4 = 1; else if (!(var$13 instanceof jl_String)) $var4 = 0; else { var$13 = var$13; $var4 = $rt_s(2505).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break l; } } $var4 = 1; } if ($var4) break; } var$12 = var$12.$next3; } if (!(var$12 === null ? 0 : 1)) var$10 = 0; else { var$12 = $var6.$tagMap; if ($rt_s(2505) === null) { var$12 = var$12.$elementData.data[0]; while (var$12 !== null && var$12.$key !== null) { var$12 = var$12.$next3; } } else { m: { if (!$rt_s(2505).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(2505).$nativeString.length) break m; $rt_s(2505).$hashCode1 = (31 * $rt_s(2505).$hashCode1 | 0) + $rt_s(2505).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = $rt_s(2505).$hashCode1; var$6 = var$12.$elementData.data; var$12 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$5) { n: { var$13 = var$12.$key; if ($rt_s(2505) !== var$13) { if ($rt_s(2505) === var$13) $var4 = 1; else if (!(var$13 instanceof jl_String)) $var4 = 0; else { var$13 = var$13; $var4 = $rt_s(2505).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var4) { $var4 = 0; break n; } } $var4 = 1; } if ($var4) break; } var$12 = var$12.$next3; } } var$10 = (var$12 === null ? null : var$12.$value1).$data2; } $var4 = $par2EnchantmentData.$enchantmentLevel; if (var$10 < $var4) { $var4 = $var4 << 16 >> 16; $var6 = $var6.$tagMap; var$12 = new nms_NBTTagShort; var$12.$name = $rt_s(2505); var$12.$data2 = $var4; ju_HashMap_putImpl($var6, $rt_s(2505), var$12); } $var4 = 0; break f; } $var5 = $var5 + 1 | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } if ($var4) { $var7 = new nms_NBTTagCompound; $var7.$name = $rt_s(18); var$12 = new ju_HashMap; $var4 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, $var4); var$14 = var$6.data; var$12.$elementData = var$6; var$12.$loadFactor = 0.75; var$12.$threshold = var$14.length * 0.75 | 0; $var7.$tagMap = var$12; $var4 = $par2EnchantmentData.$enchantmentobj.$effectId << 16 >> 16; var$13 = new nms_NBTTagShort; var$13.$name = $rt_s(1243); var$13.$data2 = $var4; ju_HashMap_putImpl(var$12, $rt_s(1243), var$13); $var4 = $par2EnchantmentData.$enchantmentLevel << 16 >> 16; $var6 = $var7.$tagMap; $par2EnchantmentData = new nms_NBTTagShort; $par2EnchantmentData.$name = $rt_s(2505); $par2EnchantmentData.$data2 = $var4; ju_HashMap_putImpl($var6, $rt_s(2505), $par2EnchantmentData); $var3.$tagType = 10; $par2EnchantmentData = $var3.$tagList; ju_ArrayList_ensureCapacity($par2EnchantmentData, $par2EnchantmentData.$size0 + 1 | 0); var$6 = $par2EnchantmentData.$array.data; var$10 = $par2EnchantmentData.$size0; $par2EnchantmentData.$size0 = var$10 + 1 | 0; var$6[var$10] = $var7; $par2EnchantmentData.$modCount = $par2EnchantmentData.$modCount + 1 | 0; } if (!($par1ItemStack.$stackTagCompound === null ? 0 : 1)) { $par2EnchantmentData = new nms_NBTTagCompound; $par2EnchantmentData.$name = $rt_s(18); $var7 = new ju_HashMap; $var4 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, $var4); var$14 = var$6.data; $var7.$elementData = var$6; $var7.$loadFactor = 0.75; $var7.$threshold = var$14.length * 0.75 | 0; $par2EnchantmentData.$tagMap = $var7; $par1ItemStack.$stackTagCompound = $par2EnchantmentData; } $par2EnchantmentData = $par1ItemStack.$stackTagCompound.$tagMap; $var3.$name = $rt_s(2992); ju_HashMap_putImpl($par2EnchantmentData, $rt_s(2992), $var3); }, nms_ItemEnchantedBook_getEnchantedItemStack = ($this, $par1EnchantmentData) => { let $var2; $var2 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var2.$itemID = $this.$itemID0; $var2.$stackSize = 1; $var2.$itemDamage = 0; nms_ItemEnchantedBook_addEnchantment($this, $var2, $par1EnchantmentData); return $var2; }, nms_ItemLeash = $rt_classWithoutFields(nms_Item), nms_ItemLeash__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabTools; }, nms_ItemLeash__init_ = var_0 => { let var_1 = new nms_ItemLeash(); nms_ItemLeash__init_0(var_1, var_0); return var_1; }, nms_ItemLeash_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var11 = nms_World_getBlockId($par3World, $par4, $par5, $par6); nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data; if (var$12[$var11] !== null && var$12[$var11].$getRenderType() == 11) { if ($par3World.$isRemote) return 1; $ptr = 1; continue main; } return 0; case 1: nms_ItemLeash_func_135066_a($par2EntityPlayer, $par3World, $par4, $par5, $par6); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var11, var$12, $ptr); }, nms_ItemLeash_func_135066_a = ($par0EntityPlayer, $par1World, $par2, $par3, $par4) => { let $var5, $var6, var$8, $var11, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $var7, $var10$index, var$20, var$21, var$22, $var9, var$24, $var10$index_0, var$26, var$27, var$28, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();$var10$index_0 = $thread.pop();var$24 = $thread.pop();$var9 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var10$index = $thread.pop();$var7 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var11 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$par0EntityPlayer = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_EntityLeashKnot_getKnotForBlock($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var5 = $tmp; $var6 = 0; var$8 = $rt_cls(nms_EntityLiving); $var11 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = $par2; var$11 = var$10 - 7.0; var$12 = $par3; var$13 = var$12 - 7.0; var$14 = $par4; var$15 = var$14 - 7.0; var$16 = var$10 + 7.0; var$17 = var$12 + 7.0; $var7 = var$14 + 7.0; $var10$index = $var11.$nextPoolIndex; var$20 = $var11.$listAABB; var$21 = var$20.$size0; var$22 = $rt_compare($var10$index, var$21); if (var$22 >= 0) { $var9 = new nms_AxisAlignedBB; $var9.$minX = var$11; $var9.$minY = var$13; $var9.$minZ = var$15; $var9.$maxX = var$16; $var9.$maxY = var$17; $var9.$maxZ = $var7; ju_ArrayList_ensureCapacity(var$20, var$21 + 1 | 0); var$24 = var$20.$array.data; $var10$index = var$20.$size0; var$20.$size0 = $var10$index + 1 | 0; var$24[$var10$index] = $var9; var$20.$modCount = var$20.$modCount + 1 | 0; } else if ($var10$index >= 0 && var$22 < 0) { $var9 = var$20.$array.data[$var10$index]; $var9.$minX = var$11; $var9.$minY = var$13; $var9.$minZ = var$15; $var9.$maxX = var$16; $var9.$maxY = var$17; $var9.$maxZ = $var7; } else { $par0EntityPlayer = new jl_IndexOutOfBoundsException; $par0EntityPlayer.$suppressionEnabled = 1; $par0EntityPlayer.$writableStackTrace = 1; $rt_throw($par0EntityPlayer); } $var11.$nextPoolIndex = $var11.$nextPoolIndex + 1 | 0; $var11 = null; $ptr = 2; case 2: $tmp = nms_World_selectEntitiesWithinAABB($par1World, var$8, $var9, $var11); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var9 !== null) { $var10$index_0 = 0; var$22 = $var9.$modCount; var$26 = $var9.$size(); var$10 = var$10 + 0.5; var$12 = var$12 + 0.5; var$11 = var$14 + 0.5; while ($var10$index_0 >= var$26 ? 0 : 1) { if (var$22 < $var9.$modCount) { $par0EntityPlayer = new ju_ConcurrentModificationException; $par0EntityPlayer.$suppressionEnabled = 1; $par0EntityPlayer.$writableStackTrace = 1; $rt_throw($par0EntityPlayer); } $var10$index = $var10$index_0 + 1 | 0; $var11 = $var9.$get($var10$index_0); if ($var11.$isLeashed && $var11.$leashedToEntity === $par0EntityPlayer) { if ($var5 === null) { $var5 = new nms_EntityLeashKnot; nms_Entity__init_($var5, $par1World); $var5.$yOffset = 0.0; var$27 = 0.5; var$28 = 0.5; $ptr = 3; continue main; } nms_EntityLiving_setLeashedToEntity($var11, $var5, 1); $var6 = 1; } $var10$index_0 = $var10$index; } } return $var6; case 3: nms_Entity_setSize($var5, var$27, var$28); if ($rt_suspending()) { break main; } $var5.$xPosition2 = $par2; $var5.$yPosition2 = $par3; $var5.$zPosition1 = $par4; nms_Entity_setPosition($var5, var$10, var$12, var$11); $var5.$forceSpawn = 1; var$21 = nms_World_spawnEntityInWorld($par1World, $var5); var$20 = $par1World.$entityList; ju_HashMap_putImpl(var$20.$backingMap, $var5, var$20); if (!var$21) { var$20 = $par1World.$entitySpawnQueue; ju_HashMap_putImpl(var$20.$backingMap, $var5, var$20); } a: while (true) { nms_EntityLiving_setLeashedToEntity($var11, $var5, 1); $var6 = 1; while (true) { $var10$index_0 = $var10$index; if (!($var10$index_0 >= var$26 ? 0 : 1)) break a; if (var$22 < $var9.$modCount) { $par0EntityPlayer = new ju_ConcurrentModificationException; $par0EntityPlayer.$suppressionEnabled = 1; $par0EntityPlayer.$writableStackTrace = 1; $rt_throw($par0EntityPlayer); } $var10$index = $var10$index_0 + 1 | 0; $var11 = $var9.$get($var10$index_0); if (!$var11.$isLeashed) continue; if ($var11.$leashedToEntity === $par0EntityPlayer) break; } if ($var5 === null) { $var5 = new nms_EntityLeashKnot; nms_Entity__init_($var5, $par1World); $var5.$yOffset = 0.0; var$27 = 0.5; var$28 = 0.5; continue main; } } return $var6; default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0EntityPlayer, $par1World, $par2, $par3, $par4, $var5, $var6, var$8, $var11, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $var7, $var10$index, var$20, var$21, var$22, $var9, var$24, $var10$index_0, var$26, var$27, var$28, $ptr); }, nms_ItemNameTag = $rt_classWithoutFields(nms_Item), nms_ItemNameTag__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabTools; }, nms_ItemNameTag__init_ = var_0 => { let var_1 = new nms_ItemNameTag(); nms_ItemNameTag__init_0(var_1, var_0); return var_1; }, nms_ItemNameTag_itemInteractionForEntity = ($this, $par1ItemStack, $par2EntityPlayer, $par3EntityLivingBase) => { let $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; $var4 = $par1ItemStack.$stackTagCompound; if ($var4 !== null) { a: { $var4 = $var4.$tagMap; if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = $var4.$elementData.data; $var4 = var$7[var$6 & (var$7.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$6) { b: { var$8 = $var4.$key; if ($rt_s(1525) !== var$8) { if ($rt_s(1525) === var$8) var$5 = 1; else if (!(var$8 instanceof jl_String)) var$5 = 0; else { var$8 = var$8; var$5 = $rt_s(1525).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break b; } } var$5 = 1; } if (var$5) break; } $var4 = $var4.$next3; } if ($var4 === null ? 0 : 1) { c: { $par2EntityPlayer = $par1ItemStack.$stackTagCompound; var$8 = $par2EntityPlayer.$tagMap; if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = var$8.$elementData.data; var$8 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$6) { d: { var$9 = var$8.$key; if ($rt_s(1525) !== var$9) { if ($rt_s(1525) !== var$9) { if (var$9 instanceof jl_String) { var$9 = var$9; var$5 = $rt_s(1525).$nativeString !== var$9.$nativeString ? 0 : 1; } else var$5 = 0; } else var$5 = 1; if (!var$5) { var$5 = 0; break d; } } var$5 = 1; } if (var$5) break; } var$8 = var$8.$next3; } if (!(var$8 === null ? 0 : 1)) { $par2EntityPlayer = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par2EntityPlayer.$name = $rt_s(1525); else $par2EntityPlayer.$name = $rt_s(18); $var4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); $var4.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$10.data; $var4.$elementData = var$10; $var4.$loadFactor = 0.75; $var4.$threshold = var$7.length * 0.75 | 0; $par2EntityPlayer.$tagMap = $var4; } else { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if ($rt_s(1525) === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == var$6) { f: { var$8 = $par2EntityPlayer.$key; if ($rt_s(1525) !== var$8) { if ($rt_s(1525) === var$8) var$5 = 1; else if (!(var$8 instanceof jl_String)) var$5 = 0; else { var$8 = var$8; var$5 = $rt_s(1525).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break f; } } var$5 = 1; } if (var$5) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } $par2EntityPlayer = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; } g: { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$7 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == var$6) { h: { var$8 = $par2EntityPlayer.$key; if ($rt_s(1526) !== var$8) { if ($rt_s(1526) !== var$8) { if (var$8 instanceof jl_String) { var$8 = var$8; var$5 = $rt_s(1526).$nativeString !== var$8.$nativeString ? 0 : 1; } else var$5 = 0; } else var$5 = 1; if (!var$5) { var$5 = 0; break h; } } var$5 = 1; } if (var$5) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } var$5 = $par2EntityPlayer === null ? 0 : 1; } else var$5 = 0; } else var$5 = 0; if (!var$5) return 0; if (!($par3EntityLivingBase instanceof nms_EntityLiving)) return 0; $var4 = $par3EntityLivingBase; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[$par1ItemStack.$itemID].$getItemDisplayName($par1ItemStack); $par2EntityPlayer = $par1ItemStack.$stackTagCompound; if ($par2EntityPlayer !== null) { i: { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == var$6) { j: { var$9 = $par2EntityPlayer.$key; if ($rt_s(1525) !== var$9) { if ($rt_s(1525) !== var$9) { if (var$9 instanceof jl_String) { var$9 = var$9; var$5 = $rt_s(1525).$nativeString !== var$9.$nativeString ? 0 : 1; } else var$5 = 0; } else var$5 = 1; if (!var$5) { var$5 = 0; break j; } } var$5 = 1; } if (var$5) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } if ($par2EntityPlayer === null ? 0 : 1) { k: { $par2EntityPlayer = $par1ItemStack.$stackTagCompound; var$9 = $par2EntityPlayer.$tagMap; if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = var$9.$elementData.data; var$9 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$6) { l: { var$11 = var$9.$key; if ($rt_s(1525) !== var$11) { if ($rt_s(1525) !== var$11) { if (var$11 instanceof jl_String) { var$11 = var$11; var$5 = $rt_s(1525).$nativeString !== var$11.$nativeString ? 0 : 1; } else var$5 = 0; } else var$5 = 1; if (!var$5) { var$5 = 0; break l; } } var$5 = 1; } if (var$5) break; } var$9 = var$9.$next3; } if (var$9 === null ? 0 : 1) { $par2EntityPlayer = $par2EntityPlayer.$tagMap; if ($rt_s(1525) === null) { $par2EntityPlayer = $par2EntityPlayer.$elementData.data[0]; while ($par2EntityPlayer !== null && $par2EntityPlayer.$key !== null) { $par2EntityPlayer = $par2EntityPlayer.$next3; } } else { m: { if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = $par2EntityPlayer.$elementData.data; $par2EntityPlayer = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par2EntityPlayer !== null) { if ($par2EntityPlayer.$origKeyHash == var$6) { n: { var$9 = $par2EntityPlayer.$key; if ($rt_s(1525) !== var$9) { if ($rt_s(1525) !== var$9) { if (!(var$9 instanceof jl_String)) var$5 = 0; else { var$9 = var$9; var$5 = $rt_s(1525).$nativeString !== var$9.$nativeString ? 0 : 1; } } else var$5 = 1; if (!var$5) { var$5 = 0; break n; } } var$5 = 1; } if (var$5) break; } $par2EntityPlayer = $par2EntityPlayer.$next3; } } var$11 = $par2EntityPlayer === null ? null : $par2EntityPlayer.$value1; } else { var$11 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$11.$name = $rt_s(1525); else var$11.$name = $rt_s(18); $par2EntityPlayer = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); $par2EntityPlayer.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$10.data; $par2EntityPlayer.$elementData = var$10; $par2EntityPlayer.$loadFactor = 0.75; $par2EntityPlayer.$threshold = var$7.length * 0.75 | 0; var$11.$tagMap = $par2EntityPlayer; } o: { $par3EntityLivingBase = var$11.$tagMap; if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$7 = $par3EntityLivingBase.$elementData.data; $par3EntityLivingBase = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par3EntityLivingBase !== null) { if ($par3EntityLivingBase.$origKeyHash == var$6) { p: { var$9 = $par3EntityLivingBase.$key; if ($rt_s(1526) !== var$9) { if ($rt_s(1526) === var$9) var$5 = 1; else if (!(var$9 instanceof jl_String)) var$5 = 0; else { var$9 = var$9; var$5 = $rt_s(1526).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break p; } } var$5 = 1; } if (var$5) break; } $par3EntityLivingBase = $par3EntityLivingBase.$next3; } if ($par3EntityLivingBase === null ? 0 : 1) { q: { $par3EntityLivingBase = var$11.$tagMap; if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break q; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$7 = $par3EntityLivingBase.$elementData.data; $par3EntityLivingBase = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par3EntityLivingBase !== null) { if ($par3EntityLivingBase.$origKeyHash == var$6) { r: { var$8 = $par3EntityLivingBase.$key; if ($rt_s(1526) !== var$8) { if ($rt_s(1526) === var$8) var$5 = 1; else if (!(var$8 instanceof jl_String)) var$5 = 0; else { var$8 = var$8; var$5 = $rt_s(1526).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break r; } } var$5 = 1; } if (var$5) break; } $par3EntityLivingBase = $par3EntityLivingBase.$next3; } if (!($par3EntityLivingBase === null ? 0 : 1)) var$8 = $rt_s(18); else { $par3EntityLivingBase = var$11.$tagMap; if ($rt_s(1526) === null) { $par3EntityLivingBase = $par3EntityLivingBase.$elementData.data[0]; while ($par3EntityLivingBase !== null && $par3EntityLivingBase.$key !== null) { $par3EntityLivingBase = $par3EntityLivingBase.$next3; } } else { s: { if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$7 = $par3EntityLivingBase.$elementData.data; $par3EntityLivingBase = var$7[var$6 & (var$7.length - 1 | 0)]; while ($par3EntityLivingBase !== null) { if ($par3EntityLivingBase.$origKeyHash == var$6) { t: { var$8 = $par3EntityLivingBase.$key; if ($rt_s(1526) !== var$8) { if ($rt_s(1526) === var$8) var$5 = 1; else if (!(var$8 instanceof jl_String)) var$5 = 0; else { var$8 = var$8; var$5 = $rt_s(1526).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break t; } } var$5 = 1; } if (var$5) break; } $par3EntityLivingBase = $par3EntityLivingBase.$next3; } } var$8 = ($par3EntityLivingBase === null ? null : $par3EntityLivingBase.$value1).$data1; } } } } $par2EntityPlayer = $var4.$dataWatcher; var$9 = $par2EntityPlayer.$watchedObjects; jl_Integer_ensureIntegerCache(); $par3EntityLivingBase = jl_Integer_integerCache.data[138]; if ($par3EntityLivingBase === null) { var$11 = var$9.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { var$12 = $par3EntityLivingBase.$value0; var$7 = var$9.$elementData.data; var$11 = var$7[var$12 & (var$7.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$12) { var$9 = var$11.$key; if ($par3EntityLivingBase !== var$9 && !($par3EntityLivingBase === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } var$11 = var$11.$next3; } } var$11 = var$11 === null ? null : var$11.$value1; $par3EntityLivingBase = var$11.$watchedObject; if (var$8 === $par3EntityLivingBase) var$5 = 1; else if (!($par3EntityLivingBase instanceof jl_String)) var$5 = 0; else { $par3EntityLivingBase = $par3EntityLivingBase; var$5 = var$8.$nativeString !== $par3EntityLivingBase.$nativeString ? 0 : 1; } if (!var$5) { var$11.$watchedObject = var$8; var$11.$watched = 1; $par2EntityPlayer.$objectChanged = 1; } $var4.$persistenceRequired = 1; $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; }; function nms_ItemRecord() { nms_Item.call(this); this.$recordName = null; } let nms_ItemRecord_records = null, nms_ItemRecord__init_0 = ($this, $par1, $par2Str) => { nms_Item__init_($this, $par1); $this.$recordName = $par2Str; $this.$maxStackSize = 1; nms_CreativeTabs_$callClinit(); $this.$tabToDisplayOn = nms_CreativeTabs_tabMisc; ju_HashMap_putImpl(nms_ItemRecord_records, $par2Str, $this); }, nms_ItemRecord__init_ = (var_0, var_1) => { let var_2 = new nms_ItemRecord(); nms_ItemRecord__init_0(var_2, var_0, var_1); return var_2; }, nms_ItemRecord_getIconFromDamage = ($this, $par1) => { return $this.$itemIcon; }, nms_ItemRecord_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par7 = nms_World_getBlockId($par3World, $par4, $par5, $par6); nms_Block_$callClinit(); if ($par7 == nms_Block_jukebox.$blockID && !nms_World_getBlockMetadata($par3World, $par4, $par5, $par6)) { $par7 = $par3World.$isRemote; if ($par7) return 1; if (!$par7) { $ptr = 1; continue main; } $par2EntityPlayer = null; var$11 = 1005; var$12 = $this.$itemID0; $par7 = 0; var$13 = $par3World.$worldAccesses; var$14 = $rt_compare($par7, var$13.$size0); if (var$14 >= 0) { $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; } if ($par7 >= 0 && var$14 < 0) { var$13 = var$13.$array.data[$par7]; $ptr = 4; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } return 0; case 1: $tmp = nms_World_getBlockTileEntity($par3World, $par4, $par5, $par6); if ($rt_suspending()) { break main; } $par2EntityPlayer = $tmp; $par2EntityPlayer = $par2EntityPlayer; if ($par2EntityPlayer === null) { $par2EntityPlayer = null; var$11 = 1005; var$12 = $this.$itemID0; $par7 = 0; var$13 = $par3World.$worldAccesses; var$14 = $rt_compare($par7, var$13.$size0); if (var$14 >= 0) { $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; } if ($par7 >= 0 && var$14 < 0) { var$13 = var$13.$array.data[$par7]; $ptr = 4; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } var$13 = new nms_ItemStack; $par7 = $par1ItemStack.$itemID; var$11 = $par1ItemStack.$stackSize; var$12 = $par1ItemStack.$itemDamage; nms_ItemStack_$callClinit(); var$13.$itemID = $par7; var$13.$stackSize = var$11; var$13.$itemDamage = var$12; if (var$12 < 0) var$13.$itemDamage = 0; var$15 = $par1ItemStack.$stackTagCompound; if (var$15 !== null) { var$16 = new nms_NBTTagCompound; var$17 = var$15.$name; if (var$17 === null) var$17 = $rt_s(18); var$16.$name = var$17; var$17 = new ju_HashMap; jl_Object__init_(var$17); $par7 = ju_HashMap_calculateCapacity(16); var$17.$elementCount = 0; var$18 = $rt_createArray(ju_HashMap$HashEntry, $par7); var$19 = var$18.data; var$17.$elementData = var$18; var$17.$loadFactor = 0.75; var$17.$threshold = var$19.length * 0.75 | 0; var$16.$tagMap = var$17; var$17 = var$15.$tagMap; if (var$17.$cachedKeySet === null) { var$20 = new ju_HashMap$1; var$20.$this$0 = var$17; var$17.$cachedKeySet = var$20; } var$17 = var$17.$cachedKeySet.$iterator(); while (var$17.$hasNext()) { var$20 = var$17.$next(); var$21 = var$15.$tagMap; if (var$20 === null) { var$21 = var$21.$elementData.data[0]; while (var$21 !== null && var$21.$key !== null) { var$21 = var$21.$next3; } } else { a: { if (!var$20.$hashCode1) { var$12 = 0; while (true) { if (var$12 >= var$20.$nativeString.length) break a; var$20.$hashCode1 = (31 * var$20.$hashCode1 | 0) + var$20.$nativeString.charCodeAt(var$12) | 0; var$12 = var$12 + 1 | 0; } } } var$12 = var$20.$hashCode1; var$19 = var$21.$elementData.data; var$21 = var$19[var$12 & (var$19.length - 1 | 0)]; while (var$21 !== null) { if (var$21.$origKeyHash == var$12) { b: { var$22 = var$21.$key; if (var$20 !== var$22) { if (var$20 === var$22) $par7 = 1; else if (!(var$22 instanceof jl_String)) $par7 = 0; else { var$22 = var$22; $par7 = var$20.$nativeString !== var$22.$nativeString ? 0 : 1; } if (!$par7) { $par7 = 0; break b; } } $par7 = 1; } if ($par7) break; } var$21 = var$21.$next3; } } var$21 = var$21 === null ? null : var$21.$value1; var$21 = var$21.$copy(); var$22 = var$16.$tagMap; if (var$20 !== null) var$21.$name = var$20; else var$21.$name = $rt_s(18); ju_HashMap_putImpl(var$22, var$20, var$21); } var$13.$stackTagCompound = var$16; } $par2EntityPlayer.$record = var$13; $ptr = 2; case 2: nms_TileEntity_onInventoryChanged($par2EntityPlayer); if ($rt_suspending()) { break main; } $par7 = 1; var$11 = 2; $ptr = 3; case 3: nms_World_setBlockMetadataWithNotify($par3World, $par4, $par5, $par6, $par7, var$11); if ($rt_suspending()) { break main; } $par2EntityPlayer = null; var$11 = 1005; var$12 = $this.$itemID0; $par7 = 0; var$13 = $par3World.$worldAccesses; var$14 = $rt_compare($par7, var$13.$size0); if (var$14 >= 0) { $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; } if ($par7 >= 0 && var$14 < 0) { var$13 = var$13.$array.data[$par7]; $ptr = 4; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); case 4: nms_RenderGlobal_playAuxSFX(var$13, $par2EntityPlayer, var$11, $par4, $par5, $par6, var$12); if ($rt_suspending()) { break main; } $par7 = $par7 + 1 | 0; var$13 = $par3World.$worldAccesses; var$14 = $rt_compare($par7, var$13.$size0); if (var$14 >= 0) { $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; } if ($par7 >= 0 && var$14 < 0) { var$13 = var$13.$array.data[$par7]; continue main; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr); }, nms_ItemRecord_addInformation = ($this, $par1ItemStack, $par2EntityPlayer, $par3List, $par4) => { let var$5, var$6, var$7, var$8; $par1ItemStack = $this.$recordName; $par2EntityPlayer = new jl_StringBuilder; $par2EntityPlayer.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par2EntityPlayer, $par2EntityPlayer.$length0, $rt_s(1504)); $par4 = $par2EntityPlayer.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_AbstractStringBuilder_insert($par2EntityPlayer, $par4, $par1ItemStack); $par1ItemStack = new jl_String; var$5 = $par2EntityPlayer.$buffer; var$6 = var$5.data; var$7 = $par2EntityPlayer.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$5 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$5[var$7] = $par1ItemStack; $par3List.$modCount = $par3List.$modCount + 1 | 0; return; } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ItemStack); $rt_throw($par1ItemStack); }, nms_ItemRecord_getRarity = ($this, $par1ItemStack) => { return nms_EnumRarity_rare; }, nms_ItemRecord__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_ItemRecord_records = var$1; }, ju_Dictionary = $rt_classWithoutFields(); function ju_Hashtable() { let a = this; ju_Dictionary.call(a); a.$elementCount2 = 0; a.$elementData2 = null; a.$loadFactor2 = 0.0; a.$threshold3 = 0; a.$firstSlot = 0; a.$lastSlot = 0; a.$modCount7 = 0; } let ju_Hashtable_EMPTY_ENUMERATION = null, ju_Hashtable_EMPTY_ITERATOR = null, ju_Hashtable__init_0 = $this => { ju_Hashtable__init_($this, 11); }, ju_Hashtable__init_1 = () => { let var_0 = new ju_Hashtable(); ju_Hashtable__init_0(var_0); return var_0; }, ju_Hashtable__init_ = ($this, $capacity) => { let var$2, var$3, var$4; $this.$lastSlot = (-1); if ($capacity < 0) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $this.$elementCount2 = 0; if (!$capacity) $capacity = 1; var$3 = $rt_createArray(ju_Hashtable$Entry, $capacity); var$4 = var$3.data; $this.$elementData2 = var$3; $capacity = var$4.length; $this.$firstSlot = $capacity; $this.$loadFactor2 = 0.75; $this.$threshold3 = $capacity * 0.75 | 0; }, ju_Hashtable__init_2 = var_0 => { let var_1 = new ju_Hashtable(); ju_Hashtable__init_(var_1, var_0); return var_1; }, ju_Hashtable_get = ($this, $key) => { let $index, var$3, $entry, $hash; jl_Object_monitorEnterSync($this); try { a: { if (!$key.$hashCode1) { $index = 0; while (true) { if ($index >= $key.$nativeString.length) break a; $key.$hashCode1 = (31 * $key.$hashCode1 | 0) + $key.$nativeString.charCodeAt($index) | 0; $index = $index + 1 | 0; } } } $index = $key.$hashCode1 & 2147483647; var$3 = $this.$elementData2.data; $entry = var$3[$index % var$3.length | 0]; while ($entry !== null) { b: { $index = $entry.$hashcode0; if (!$key.$hashCode1) { $hash = 0; while (true) { if ($hash >= $key.$nativeString.length) break b; $key.$hashCode1 = (31 * $key.$hashCode1 | 0) + $key.$nativeString.charCodeAt($hash) | 0; $hash = $hash + 1 | 0; } } } if ($index == $key.$hashCode1 && $entry.$key.$equals($key) ? 1 : 0) return $entry.$value1; $entry = $entry.$next8; } return null; } finally { jl_Object_monitorExitSync($this); } }, ju_Hashtable_put = ($this, $key, $value) => { let $hash, var$4, var$5, $index, $entry, var$8, $result; jl_Object_monitorEnterSync($this); try { if ($key !== null && $value !== null) { a: { if (!$key.$hashCode1) { $hash = 0; while (true) { if ($hash >= $key.$nativeString.length) break a; $key.$hashCode1 = (31 * $key.$hashCode1 | 0) + $key.$nativeString.charCodeAt($hash) | 0; $hash = $hash + 1 | 0; } } } var$4 = $key.$hashCode1 & 2147483647; var$5 = $this.$elementData2.data; $index = var$4 % var$5.length | 0; $entry = var$5[$index]; while ($entry !== null) { b: { $hash = $entry.$hashcode0; if (!$key.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $key.$nativeString.length) break b; $key.$hashCode1 = (31 * $key.$hashCode1 | 0) + $key.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } if ($hash == $key.$hashCode1 && $entry.$key.$equals($key) ? 1 : 0) break; $entry = $entry.$next8; } if ($entry !== null) { $result = $entry.$value1; $entry.$value1 = $value; return $result; } $this.$modCount7 = $this.$modCount7 + 1 | 0; $hash = $this.$elementCount2 + 1 | 0; $this.$elementCount2 = $hash; if ($hash > $this.$threshold3) { ju_Hashtable_rehash($this); $index = var$4 % $this.$elementData2.data.length | 0; } if ($index < $this.$firstSlot) $this.$firstSlot = $index; if ($index > $this.$lastSlot) $this.$lastSlot = $index; c: { $result = new ju_Hashtable$Entry; $result.$key = $key; $result.$value1 = $value; if (!$key.$hashCode1) { $hash = 0; while (true) { if ($hash >= $key.$nativeString.length) break c; $key.$hashCode1 = (31 * $key.$hashCode1 | 0) + $key.$nativeString.charCodeAt($hash) | 0; $hash = $hash + 1 | 0; } } } $result.$hashcode0 = $key.$hashCode1; var$5 = $this.$elementData2.data; $result.$next8 = var$5[$index]; var$5[$index] = $result; return null; } $key = new jl_NullPointerException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $rt_throw($key); } finally { jl_Object_monitorExitSync($this); } }, ju_Hashtable_rehash = $this => { let $length, $newLast, $newData, var$4, $i, var$6, $entry, $index, $entry_0; $length = ($this.$elementData2.data.length << 1) + 1 | 0; if (!$length) $length = 1; $newLast = (-1); $newData = $rt_createArray(ju_Hashtable$Entry, $length); var$4 = $newData.data; $i = $this.$lastSlot + 1 | 0; var$6 = $length; while (true) { $i = $i + (-1) | 0; if ($i < $this.$firstSlot) break; $entry = $this.$elementData2.data[$i]; while ($entry !== null) { $index = ($entry.$key.$hashCode() & 2147483647) % $length | 0; if ($index < var$6) var$6 = $index; if ($index > $newLast) $newLast = $index; $entry_0 = $entry.$next8; $entry.$next8 = var$4[$index]; var$4[$index] = $entry; $entry = $entry_0; } } $this.$firstSlot = var$6; $this.$lastSlot = $newLast; $this.$elementData2 = $newData; $this.$threshold3 = var$4.length * $this.$loadFactor2 | 0; }, ju_Hashtable__clinit_ = () => { ju_Hashtable_EMPTY_ENUMERATION = new ju_Hashtable$1; ju_Hashtable_EMPTY_ITERATOR = new ju_Hashtable$2; }; function ju_Properties() { ju_Hashtable.call(this); this.$defaults = null; } let ju_Properties__init_ = $this => { ju_Hashtable__init_($this, 11); }, ju_Properties__init_0 = () => { let var_0 = new ju_Properties(); ju_Properties__init_(var_0); return var_0; }, ju_SequencedMap = $rt_classWithoutFields(0), ju_SortedMap = $rt_classWithoutFields(0), ju_NavigableMap = $rt_classWithoutFields(0); function ju_TreeMap() { let a = this; ju_AbstractMap.call(a); a.$root = null; a.$comparator = null; a.$originalComparator = null; a.$modCount2 = 0; a.$cachedEntrySet = null; } let ju_TreeMap__init_ = $this => { $this.$originalComparator = null; $this.$comparator = ju_Comparator$NaturalOrder_INSTANCE; }, ju_TreeMap__init_0 = () => { let var_0 = new ju_TreeMap(); ju_TreeMap__init_(var_0); return var_0; }, ju_TreeMap_put = ($this, $key, $value) => { let $node, $old, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $node = $this.$root; if ($node === null) { $node = new ju_TreeMap$TreeNode; $old = null; $node.$key0 = $key; $node.$value4 = $old; $node.$height1 = 1; $node.$size1 = 1; } else { $old = $node.$key0; var$5 = $key; var$6 = jl_String_compareTo(var$5, $old); if (var$6) { if (var$6 < 0) $node.$left = ju_TreeMap_getOrCreateNode($this, $node.$left, $key); else { var$7 = $node.$right; if (var$7 === null) { var$7 = new ju_TreeMap$TreeNode; $old = null; var$7.$key0 = $key; var$7.$value4 = $old; var$7.$height1 = 1; var$7.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$7.$key0); if (var$6) { if (var$6 < 0) { $old = var$7.$left; if ($old === null) { $old = new ju_TreeMap$TreeNode; var$8 = null; $old.$key0 = $key; $old.$value4 = var$8; $old.$height1 = 1; $old.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, $old.$key0); if (var$6) { if (var$6 < 0) { var$8 = $old.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; var$9 = null; var$8.$key0 = $key; var$8.$value4 = var$9; var$8.$height1 = 1; var$8.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$8.$key0); if (var$6) { if (var$6 < 0) { var$9 = var$8.$left; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; var$10 = null; var$9.$key0 = $key; var$9.$value4 = var$10; var$9.$height1 = 1; var$9.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$9.$key0); if (var$6) { if (var$6 < 0) { var$10 = var$9.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } else { var$10 = var$9.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$left = var$9; } else { var$9 = var$8.$right; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; var$10 = null; var$9.$key0 = $key; var$9.$value4 = var$10; var$9.$height1 = 1; var$9.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$9.$key0); if (var$6) { if (var$6 >= 0) { var$10 = var$9.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$right = var$9; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } $old.$left = var$8; } else { var$8 = $old.$right; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; var$9 = null; var$8.$key0 = $key; var$8.$value4 = var$9; var$8.$height1 = 1; var$8.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$8.$key0); if (var$6) { if (var$6 >= 0) { var$12 = var$8.$right; if (var$12 === null) { var$12 = new ju_TreeMap$TreeNode; var$9 = null; var$12.$key0 = $key; var$12.$value4 = var$9; var$12.$height1 = 1; var$12.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$12.$key0); if (var$6) { if (var$6 >= 0) { var$9 = var$12.$right; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; var$10 = null; jl_Object__init_(var$9); var$9.$key0 = $key; var$9.$value4 = var$10; var$9.$height1 = 1; var$9.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$9.$key0); if (var$6) { if (var$6 >= 0) { var$10 = var$9.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $key, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode($this, var$11.$right, $key); else var$11.$left = ju_TreeMap_getOrCreateNode($this, var$11.$left, $key); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode($this, var$11.$right, $key); else var$11.$left = ju_TreeMap_getOrCreateNode($this, var$11.$left, $key); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $key, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode($this, var$11.$right, $key); else var$11.$left = ju_TreeMap_getOrCreateNode($this, var$11.$left, $key); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode($this, var$11.$right, $key); else var$11.$left = ju_TreeMap_getOrCreateNode($this, var$11.$left, $key); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$12.$right = var$9; } else { var$9 = var$12.$left; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; var$10 = null; jl_Object__init_(var$9); var$9.$key0 = $key; var$9.$value4 = var$10; var$9.$height1 = 1; var$9.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$9.$key0); if (var$6) { if (var$6 >= 0) { var$10 = var$9.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $key, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode($this, var$11.$right, $key); else var$11.$left = ju_TreeMap_getOrCreateNode($this, var$11.$left, $key); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode($this, var$11.$right, $key); else var$11.$left = ju_TreeMap_getOrCreateNode($this, var$11.$left, $key); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $key, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode($this, var$11.$right, $key); else var$11.$left = ju_TreeMap_getOrCreateNode($this, var$11.$left, $key); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode($this, var$11.$right, $key); else var$11.$left = ju_TreeMap_getOrCreateNode($this, var$11.$left, $key); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$12.$left = var$9; } ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$8.$right = var$12; } else { var$13 = var$8.$left; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; var$9 = null; var$13.$key0 = $key; var$13.$value4 = var$9; var$13.$height1 = 1; var$13.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$13.$key0); if (var$6) { if (var$6 >= 0) { var$12 = var$13.$right; if (var$12 === null) { var$12 = new ju_TreeMap$TreeNode; var$9 = null; jl_Object__init_(var$12); var$12.$key0 = $key; var$12.$value4 = var$9; var$12.$height1 = 1; var$12.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$12.$key0); if (var$6) { if (var$6 >= 0) { var$9 = var$12.$right; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $key, null); var$9.$height1 = 1; var$9.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$9.$key0); if (var$6) { if (var$6 >= 0) { var$10 = var$9.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$6) { if (var$6 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$6) { if (var$6 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$12.$right = var$9; } else { var$9 = var$12.$left; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $key, null); var$9.$height1 = 1; var$9.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$9.$key0); if (var$6) { if (var$6 >= 0) { var$10 = var$9.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$6) { if (var$6 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$6) { if (var$6 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$12.$left = var$9; } ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$13.$right = var$12; } else { var$10 = var$13.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$9 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$9; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$6) { if (var$6 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$9 = var$10.$left; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $key, null); var$9.$height1 = 1; var$9.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$9.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$9.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode($this, var$11.$right, $key); else var$11.$left = ju_TreeMap_getOrCreateNode($this, var$11.$left, $key); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$9.$right = var$11; } else { var$11 = var$9.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode($this, var$11.$right, $key); else var$11.$left = ju_TreeMap_getOrCreateNode($this, var$11.$left, $key); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$9.$left = var$11; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$10.$left = var$9; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$13.$left = var$10; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$8.$left = var$13; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } $old.$right = var$8; } ju_TreeMap$TreeNode_fix($old); $old = ju_TreeMap$TreeNode_balance($old); } } var$7.$left = $old; } else { $old = var$7.$right; if ($old === null) { $old = new ju_TreeMap$TreeNode; var$8 = null; $old.$key0 = $key; $old.$value4 = var$8; $old.$height1 = 1; $old.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, $old.$key0); if (var$6) { if (var$6 >= 0) { var$9 = $old.$right; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; var$8 = null; var$9.$key0 = $key; var$9.$value4 = var$8; var$9.$height1 = 1; var$9.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$9.$key0); if (var$6) { if (var$6 >= 0) { var$10 = var$9.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$8 = null; var$10.$key0 = $key; var$10.$value4 = var$8; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$8 = var$10.$right; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$8); var$8.$key0 = $key; var$8.$value4 = var$11; var$8.$height1 = 1; var$8.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$8.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$8.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$8.$right = var$11; } else { var$11 = var$8.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$8.$left = var$11; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$10.$right = var$8; } else { var$8 = var$10.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$8); var$8.$key0 = $key; var$8.$value4 = var$11; var$8.$height1 = 1; var$8.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$8.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$8.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$8.$right = var$11; } else { var$11 = var$8.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$8.$left = var$11; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$10.$left = var$8; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$8 = var$9.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; var$10 = null; var$8.$key0 = $key; var$8.$value4 = var$10; var$8.$height1 = 1; var$8.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$8.$key0); if (var$6) { if (var$6 >= 0) { var$10 = var$8.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$8.$right = var$10; } else { var$10 = var$8.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$8.$left = var$10; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$9.$left = var$8; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } $old.$right = var$9; } else { var$8 = $old.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; var$9 = null; var$8.$key0 = $key; var$8.$value4 = var$9; var$8.$height1 = 1; var$8.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$8.$key0); if (var$6) { if (var$6 >= 0) { var$13 = var$8.$right; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; var$9 = null; var$13.$key0 = $key; var$13.$value4 = var$9; var$13.$height1 = 1; var$13.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$13.$key0); if (var$6) { if (var$6 >= 0) { var$12 = var$13.$right; if (var$12 === null) { var$12 = new ju_TreeMap$TreeNode; var$9 = null; jl_Object__init_(var$12); var$12.$key0 = $key; var$12.$value4 = var$9; var$12.$height1 = 1; var$12.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$12.$key0); if (var$6) { if (var$6 >= 0) { var$9 = var$12.$right; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $key, null); var$9.$height1 = 1; var$9.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$9.$key0); if (var$6) { if (var$6 >= 0) { var$10 = var$9.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$6) { if (var$6 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$6) { if (var$6 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$12.$right = var$9; } else { var$9 = var$12.$left; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $key, null); var$9.$height1 = 1; var$9.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$9.$key0); if (var$6) { if (var$6 >= 0) { var$10 = var$9.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$6) { if (var$6 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$6) { if (var$6 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$12.$left = var$9; } ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$13.$right = var$12; } else { var$10 = var$13.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$9 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$9; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$6) { if (var$6 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$9 = var$10.$left; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $key, null); var$9.$height1 = 1; var$9.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$9.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$9.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode($this, var$11.$right, $key); else var$11.$left = ju_TreeMap_getOrCreateNode($this, var$11.$left, $key); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$9.$right = var$11; } else { var$11 = var$9.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$6) { if (var$6 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode($this, var$11.$right, $key); else var$11.$left = ju_TreeMap_getOrCreateNode($this, var$11.$left, $key); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$9.$left = var$11; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$10.$left = var$9; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$13.$left = var$10; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$8.$right = var$13; } else { var$9 = var$8.$left; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; var$10 = null; var$9.$key0 = $key; var$9.$value4 = var$10; var$9.$height1 = 1; var$9.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$9.$key0); if (var$6) { if (var$6 >= 0) { var$10 = var$9.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$10.$key0); if (var$6) { if (var$6 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$6 = jl_String_compareTo(var$5, var$11.$key0); if (var$6) { if (var$6 >= 0) { var$5 = var$11.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$right = var$5; } else { var$5 = var$11.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($key); else { var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$6) { if (var$6 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode($this, var$5.$right, $key); else var$5.$left = ju_TreeMap_getOrCreateNode($this, var$5.$left, $key); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$left = var$5; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$left = var$9; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } $old.$left = var$8; } ju_TreeMap$TreeNode_fix($old); $old = ju_TreeMap$TreeNode_balance($old); } } var$7.$right = $old; } ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } $node.$right = var$7; } ju_TreeMap$TreeNode_fix($node); $node = ju_TreeMap$TreeNode_balance($node); } } $this.$root = $node; jl_String_compareTo($key, $key); a: { while (true) { if ($node === null) { $node = null; break a; } var$6 = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, $node.$key0); if (!var$6) break; $node = var$6 >= 0 ? $node.$right : $node.$left; } } $old = ju_AbstractMap$SimpleEntry_setValue($node, $value); ju_AbstractMap$SimpleEntry_setValue($node, $value); $this.$modCount2 = $this.$modCount2 + 1 | 0; return $old; }, ju_TreeMap_findExact = ($this, $key) => { let $node, var$3, $cmp; $node = $this.$root; var$3 = $key; var$3.$compareTo1($key); while (true) { if ($node === null) return null; $cmp = var$3.$compareTo1($node.$key0); if (!$cmp) break; $node = $cmp >= 0 ? $node.$right : $node.$left; } return $node; }, ju_TreeMap_pathToExactOrNext = ($this, $key, $reverse) => { let $node, $path, var$5, $depth, $cmp, var$8, var$9; $node = $this.$root; $path = $rt_createArray(ju_TreeMap$TreeNode, $node === null ? 0 : $node.$height1); var$5 = $path.data; $depth = 0; $key = $key; a: { while ($node !== null) { $cmp = $key.$compareTo1($node.$key0); if ($reverse) $cmp = -$cmp | 0; if (!$cmp) { $reverse = $depth + 1 | 0; var$5[$depth] = $node; break a; } if ($cmp >= 0) $node = $reverse ? $node.$left : $node.$right; else { $cmp = $depth + 1 | 0; var$5[$depth] = $node; $node = $reverse ? $node.$right : $node.$left; $depth = $cmp; } } $reverse = $depth; } $node = $path.constructor; if ($node === null) $key = null; else { $key = $node.classObject; if ($key === null) { $key = new jl_Class; $key.$platformClass = $node; $node.classObject = $key; } } var$8 = $key.$platformClass.$meta.item; if (var$8 === null) $node = null; else { $node = var$8.classObject; if ($node === null) { $node = new jl_Class; $node.$platformClass = var$8; var$8.classObject = $node; } } if ($node === null) { $key = new jl_NullPointerException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $rt_throw($key); } if ($node === $rt_cls($rt_voidcls)) { $key = new jl_IllegalArgumentException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $rt_throw($key); } if ($reverse < 0) { $key = new jl_NegativeArraySizeException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $rt_throw($key); } var$9 = jlr_Array_newInstanceImpl($node.$platformClass, $reverse); $depth = var$5.length; if ($reverse < $depth) $depth = $reverse; $reverse = 0; while ($reverse < $depth) { var$9.data[$reverse] = var$5[$reverse]; $reverse = $reverse + 1 | 0; } return var$9; }, ju_TreeMap_pathToNext = ($this, $key, $reverse) => { let $node, $path, var$5, $depth, var$7, var$8, var$9, var$10, var$11; $node = $this.$root; $path = $rt_createArray(ju_TreeMap$TreeNode, $node === null ? 0 : $node.$height1); var$5 = $path.data; $depth = 0; var$7 = $key; a: { b: while (true) { if ($node === null) { $node = $path.constructor; if ($node === null) $key = null; else { $key = $node.classObject; if ($key === null) { $key = new jl_Class; $key.$platformClass = $node; $node.classObject = $key; } } $node = $key.$platformClass.$meta.item; if ($node === null) $key = null; else { $key = $node.classObject; if ($key === null) { $key = new jl_Class; $key.$platformClass = $node; $node.classObject = $key; } } if ($key === null) { $key = new jl_NullPointerException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $rt_throw($key); } if ($key === $rt_cls($rt_voidcls)) { $key = new jl_IllegalArgumentException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $rt_throw($key); } if ($depth < 0) { $key = new jl_NegativeArraySizeException; $key.$suppressionEnabled = 1; $key.$writableStackTrace = 1; $rt_throw($key); } var$7 = jlr_Array_newInstanceImpl($key.$platformClass, $depth); $reverse = var$5.length; if ($depth < $reverse) $reverse = $depth; $depth = 0; while ($depth < $reverse) { var$7.data[$depth] = var$5[$depth]; $depth = $depth + 1 | 0; } return var$7; } c: { $key = $node.$key0; if (var$7 === $key) var$8 = 0; else { var$8 = var$7.$nativeString.length; var$9 = $key.$nativeString.length; if (var$8 < var$9) var$9 = var$8; var$10 = 0; while (true) { if (var$10 >= var$9) { var$8 = var$7.$nativeString.length - $key.$nativeString.length | 0; break c; } if (var$10 < 0) break a; if (var$10 >= var$7.$nativeString.length) break a; var$11 = var$7.$nativeString.charCodeAt(var$10); if (var$10 < 0) break b; if (var$10 >= $key.$nativeString.length) break b; var$8 = var$11 - $key.$nativeString.charCodeAt(var$10) | 0; if (var$8) break; var$10 = var$10 + 1 | 0; } } } if ($reverse) var$8 = -var$8 | 0; if (var$8 >= 0) $node = $reverse ? $node.$left : $node.$right; else { var$10 = $depth + 1 | 0; var$5[$depth] = $node; $node = $reverse ? $node.$right : $node.$left; $depth = var$10; } } $key = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_($key); $rt_throw($key); } $key = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_($key); $rt_throw($key); }, ju_TreeMap_getOrCreateNode = ($this, $root, $key) => { let var$3, var$4, $cmp, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; if ($root === null) { $root = new ju_TreeMap$TreeNode; var$3 = null; $root.$key0 = $key; $root.$value4 = var$3; $root.$height1 = 1; $root.$size1 = 1; return $root; } var$3 = $root.$key0; var$4 = $key; $cmp = jl_String_compareTo(var$4, var$3); if (!$cmp) return $root; if ($cmp < 0) $root.$left = ju_TreeMap_getOrCreateNode($this, $root.$left, $key); else { var$6 = $root.$right; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$3 = null; var$6.$key0 = $key; var$6.$value4 = var$3; var$6.$height1 = 1; var$6.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$6.$key0); if ($cmp) { if ($cmp < 0) var$6.$left = ju_TreeMap_getOrCreateNode($this, var$6.$left, $key); else { var$7 = var$6.$right; if (var$7 === null) { var$7 = new ju_TreeMap$TreeNode; var$3 = null; var$7.$key0 = $key; var$7.$value4 = var$3; var$7.$height1 = 1; var$7.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$7.$key0); if ($cmp) { if ($cmp < 0) { var$3 = var$7.$left; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; var$8 = null; var$3.$key0 = $key; var$3.$value4 = var$8; var$3.$height1 = 1; var$3.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$3.$key0); if ($cmp) { if ($cmp < 0) { var$8 = var$3.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; var$9 = null; var$8.$key0 = $key; var$8.$value4 = var$9; var$8.$height1 = 1; var$8.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$8.$key0); if ($cmp) { if ($cmp < 0) { var$9 = var$8.$left; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; var$10 = null; var$9.$key0 = $key; var$9.$value4 = var$10; var$9.$height1 = 1; var$9.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$9.$key0); if ($cmp) { if ($cmp < 0) { var$10 = var$9.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $key, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$10.$key0); if ($cmp) { if ($cmp >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } else { var$10 = var$9.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$4 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$4; var$10.$height1 = 1; var$10.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$10.$key0); if ($cmp) { if ($cmp >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$4 = var$11.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$left = var$4; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$4 = var$11.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$left = var$4; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$left = var$9; } else { var$9 = var$8.$right; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; var$10 = null; var$9.$key0 = $key; var$9.$value4 = var$10; var$9.$height1 = 1; var$9.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$9.$key0); if ($cmp) { if ($cmp >= 0) { var$10 = var$9.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$4 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$4; var$10.$height1 = 1; var$10.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$10.$key0); if ($cmp) { if ($cmp >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$4 = var$11.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$left = var$4; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$4 = var$11.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$left = var$4; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$4 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$4; var$10.$height1 = 1; var$10.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$10.$key0); if ($cmp) { if ($cmp >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$4 = var$11.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$left = var$4; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$4 = var$11.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$left = var$4; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$right = var$9; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$3.$left = var$8; } else { var$8 = var$3.$right; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; var$9 = null; var$8.$key0 = $key; var$8.$value4 = var$9; var$8.$height1 = 1; var$8.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$8.$key0); if ($cmp) { if ($cmp >= 0) { var$9 = var$8.$right; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; var$10 = null; var$9.$key0 = $key; var$9.$value4 = var$10; var$9.$height1 = 1; var$9.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$9.$key0); if ($cmp) { if ($cmp >= 0) { var$10 = var$9.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$4 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$4; var$10.$height1 = 1; var$10.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$10.$key0); if ($cmp) { if ($cmp >= 0) { var$12 = var$10.$right; if (var$12 === null) { var$12 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$12, $key, null); var$12.$height1 = 1; var$12.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$12.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$12.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$12.$right = var$4; } else { var$4 = var$12.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$12.$left = var$4; } ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$10.$right = var$12; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$4 = var$11.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$left = var$4; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$4 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$4; var$10.$height1 = 1; var$10.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$10.$key0); if ($cmp) { if ($cmp >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$4 = var$11.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$left = var$4; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$4 = var$11.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$left = var$4; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$right = var$9; } else { var$9 = var$8.$left; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; var$10 = null; var$9.$key0 = $key; var$9.$value4 = var$10; var$9.$height1 = 1; var$9.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$9.$key0); if ($cmp) { if ($cmp >= 0) { var$10 = var$9.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$4 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$4; var$10.$height1 = 1; var$10.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$10.$key0); if ($cmp) { if ($cmp >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$4 = var$11.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$left = var$4; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$4 = var$11.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$left = var$4; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$4 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$4; var$10.$height1 = 1; var$10.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$10.$key0); if ($cmp) { if ($cmp >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$4 = var$11.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$left = var$4; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$4 = var$11.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$left = var$4; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$left = var$9; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$3.$right = var$8; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$7.$left = var$3; } else { var$12 = var$7.$right; if (var$12 === null) { var$12 = new ju_TreeMap$TreeNode; var$3 = null; var$12.$key0 = $key; var$12.$value4 = var$3; var$12.$height1 = 1; var$12.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$12.$key0); if ($cmp) { if ($cmp >= 0) { var$13 = var$12.$right; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; var$3 = null; var$13.$key0 = $key; var$13.$value4 = var$3; var$13.$height1 = 1; var$13.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$13.$key0); if ($cmp) { if ($cmp >= 0) { var$3 = var$13.$right; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; var$8 = null; var$3.$key0 = $key; var$3.$value4 = var$8; var$3.$height1 = 1; var$3.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$3.$key0); if ($cmp) { if ($cmp >= 0) { var$11 = var$3.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; var$8 = null; jl_Object__init_(var$11); var$11.$key0 = $key; var$11.$value4 = var$8; var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$8 = var$11.$right; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$8, $key, null); var$8.$height1 = 1; var$8.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$8.$key0); if ($cmp) { if ($cmp >= 0) { var$9 = var$8.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$right = var$9; } else { var$9 = var$8.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$left = var$9; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$11.$right = var$8; } else { var$8 = var$11.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$8, $key, null); var$8.$height1 = 1; var$8.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$8.$key0); if ($cmp) { if ($cmp >= 0) { var$9 = var$8.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$right = var$9; } else { var$9 = var$8.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$left = var$9; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$11.$left = var$8; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$3.$right = var$11; } else { var$10 = var$3.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$8 = null; jl_Object__init_(var$10); var$10.$key0 = $key; var$10.$value4 = var$8; var$10.$height1 = 1; var$10.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$10.$key0); if ($cmp) { if ($cmp >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $key, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$4 = var$11.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$4)); if ($cmp) { if ($cmp >= 0) var$4.$right = ju_TreeMap_getOrCreateNode($this, var$4.$right, $key); else var$4.$left = ju_TreeMap_getOrCreateNode($this, var$4.$left, $key); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$11.$right = var$4; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$8 = var$10.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$8, $key, null); var$8.$height1 = 1; var$8.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$8.$key0); if ($cmp) { if ($cmp >= 0) { var$9 = var$8.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$right = var$9; } else { var$9 = var$8.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$left = var$9; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$10.$left = var$8; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$3.$left = var$10; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$13.$right = var$3; } else { var$3 = var$13.$left; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; var$8 = null; var$3.$key0 = $key; var$3.$value4 = var$8; var$3.$height1 = 1; var$3.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$3.$key0); if ($cmp) { if ($cmp >= 0) { var$8 = var$3.$right; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; var$9 = null; jl_Object__init_(var$8); var$8.$key0 = $key; var$8.$value4 = var$9; var$8.$height1 = 1; var$8.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$8.$key0); if ($cmp) { if ($cmp >= 0) { var$9 = var$8.$right; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $key, null); var$9.$height1 = 1; var$9.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$9.$key0); if ($cmp) { if ($cmp >= 0) { var$10 = var$9.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if ($cmp) { if ($cmp >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if ($cmp) { if ($cmp >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$right = var$9; } else { var$9 = var$8.$left; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $key, null); var$9.$height1 = 1; var$9.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$9.$key0); if ($cmp) { if ($cmp >= 0) { var$10 = var$9.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if ($cmp) { if ($cmp >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if ($cmp) { if ($cmp >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$left = var$9; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$3.$right = var$8; } else { var$8 = var$3.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; var$9 = null; jl_Object__init_(var$8); var$8.$key0 = $key; var$8.$value4 = var$9; var$8.$height1 = 1; var$8.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$8.$key0); if ($cmp) { if ($cmp >= 0) { var$9 = var$8.$right; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $key, null); var$9.$height1 = 1; var$9.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$9.$key0); if ($cmp) { if ($cmp >= 0) { var$10 = var$9.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if ($cmp) { if ($cmp >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if ($cmp) { if ($cmp >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$right = var$9; } else { var$9 = var$8.$left; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $key, null); var$9.$height1 = 1; var$9.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$9.$key0); if ($cmp) { if ($cmp >= 0) { var$10 = var$9.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if ($cmp) { if ($cmp >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if ($cmp) { if ($cmp >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$left = var$9; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$3.$left = var$8; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$13.$left = var$3; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$12.$right = var$13; } else { var$11 = var$12.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; var$3 = null; var$11.$key0 = $key; var$11.$value4 = var$3; var$11.$height1 = 1; var$11.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$11.$key0); if ($cmp) { if ($cmp >= 0) { var$13 = var$11.$right; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; var$3 = null; var$13.$key0 = $key; var$13.$value4 = var$3; var$13.$height1 = 1; var$13.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$13.$key0); if ($cmp) { if ($cmp >= 0) { var$3 = var$13.$right; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; var$8 = null; jl_Object__init_(var$3); var$3.$key0 = $key; var$3.$value4 = var$8; var$3.$height1 = 1; var$3.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$3.$key0); if ($cmp) { if ($cmp >= 0) { var$8 = var$3.$right; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$8, $key, null); var$8.$height1 = 1; var$8.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$8.$key0); if ($cmp) { if ($cmp >= 0) { var$9 = var$8.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$right = var$9; } else { var$9 = var$8.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$left = var$9; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$3.$right = var$8; } else { var$8 = var$3.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$8, $key, null); var$8.$height1 = 1; var$8.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$8.$key0); if ($cmp) { if ($cmp >= 0) { var$9 = var$8.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$right = var$9; } else { var$9 = var$8.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$left = var$9; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$3.$left = var$8; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$13.$right = var$3; } else { var$3 = var$13.$left; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; var$8 = null; jl_Object__init_(var$3); var$3.$key0 = $key; var$3.$value4 = var$8; var$3.$height1 = 1; var$3.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$3.$key0); if ($cmp) { if ($cmp >= 0) { var$8 = var$3.$right; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$8, $key, null); var$8.$height1 = 1; var$8.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$8.$key0); if ($cmp) { if ($cmp >= 0) { var$9 = var$8.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$right = var$9; } else { var$9 = var$8.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$left = var$9; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$3.$right = var$8; } else { var$8 = var$3.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$8, $key, null); var$8.$height1 = 1; var$8.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$8.$key0); if ($cmp) { if ($cmp >= 0) { var$9 = var$8.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$right = var$9; } else { var$9 = var$8.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$left = var$9; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$3.$left = var$8; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$13.$left = var$3; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$11.$right = var$13; } else { var$13 = var$11.$left; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; var$3 = null; var$13.$key0 = $key; var$13.$value4 = var$3; var$13.$height1 = 1; var$13.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$13.$key0); if ($cmp) { if ($cmp >= 0) { var$14 = var$13.$right; if (var$14 === null) { var$14 = new ju_TreeMap$TreeNode; var$3 = null; jl_Object__init_(var$14); var$14.$key0 = $key; var$14.$value4 = var$3; var$14.$height1 = 1; var$14.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$14.$key0); if ($cmp) { if ($cmp >= 0) { var$3 = var$14.$right; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$3, $key, null); var$3.$height1 = 1; var$3.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$3.$key0); if ($cmp) { if ($cmp >= 0) { var$8 = var$3.$right; if (var$8 === null) var$8 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$8)); if ($cmp) { if ($cmp >= 0) var$8.$right = ju_TreeMap_getOrCreateNode($this, var$8.$right, $key); else var$8.$left = ju_TreeMap_getOrCreateNode($this, var$8.$left, $key); ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$3.$right = var$8; } else { var$8 = var$3.$left; if (var$8 === null) var$8 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$8)); if ($cmp) { if ($cmp >= 0) var$8.$right = ju_TreeMap_getOrCreateNode($this, var$8.$right, $key); else var$8.$left = ju_TreeMap_getOrCreateNode($this, var$8.$left, $key); ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$3.$left = var$8; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$14.$right = var$3; } else { var$3 = var$14.$left; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$3, $key, null); var$3.$height1 = 1; var$3.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$3.$key0); if ($cmp) { if ($cmp >= 0) { var$8 = var$3.$right; if (var$8 === null) var$8 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$8)); if ($cmp) { if ($cmp >= 0) var$8.$right = ju_TreeMap_getOrCreateNode($this, var$8.$right, $key); else var$8.$left = ju_TreeMap_getOrCreateNode($this, var$8.$left, $key); ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$3.$right = var$8; } else { var$8 = var$3.$left; if (var$8 === null) var$8 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$8)); if ($cmp) { if ($cmp >= 0) var$8.$right = ju_TreeMap_getOrCreateNode($this, var$8.$right, $key); else var$8.$left = ju_TreeMap_getOrCreateNode($this, var$8.$left, $key); ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$3.$left = var$8; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$14.$left = var$3; } ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } var$13.$right = var$14; } else { var$8 = var$13.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; var$3 = null; jl_Object__init_(var$8); var$8.$key0 = $key; var$8.$value4 = var$3; var$8.$height1 = 1; var$8.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$8.$key0); if ($cmp) { if ($cmp >= 0) { var$9 = var$8.$right; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $key, null); var$9.$height1 = 1; var$9.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$9.$key0); if ($cmp) { if ($cmp >= 0) { var$10 = var$9.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$10)); if ($cmp) { if ($cmp >= 0) var$10.$right = ju_TreeMap_getOrCreateNode($this, var$10.$right, $key); else var$10.$left = ju_TreeMap_getOrCreateNode($this, var$10.$left, $key); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$9.$right = var$10; } else { var$3 = var$9.$left; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$3)); if ($cmp) { if ($cmp >= 0) var$3.$right = ju_TreeMap_getOrCreateNode($this, var$3.$right, $key); else var$3.$left = ju_TreeMap_getOrCreateNode($this, var$3.$left, $key); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$9.$left = var$3; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$8.$right = var$9; } else { var$3 = var$8.$left; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$3, $key, null); var$3.$height1 = 1; var$3.$size1 = 1; } else { $cmp = jl_String_compareTo(var$4, var$3.$key0); if ($cmp) { if ($cmp >= 0) { var$9 = var$3.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$3.$right = var$9; } else { var$9 = var$3.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($key); else { $cmp = ju_Comparator$NaturalOrder_compare($this.$comparator, $key, ju_AbstractMap$SimpleEntry_getKey(var$9)); if ($cmp) { if ($cmp >= 0) var$9.$right = ju_TreeMap_getOrCreateNode($this, var$9.$right, $key); else var$9.$left = ju_TreeMap_getOrCreateNode($this, var$9.$left, $key); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$3.$left = var$9; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$8.$left = var$3; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$13.$left = var$8; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$11.$left = var$13; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$12.$left = var$11; } ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$7.$right = var$12; } ju_TreeMap$TreeNode_fix(var$7); var$7 = ju_TreeMap$TreeNode_balance(var$7); } } var$6.$right = var$7; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } $root.$right = var$6; } ju_TreeMap$TreeNode_fix($root); return ju_TreeMap$TreeNode_balance($root); }, ju_TreeMap_deleteNode = ($this, $root, $key) => { let $left, $right, $minDepth, var$6, $minDepth_0, var$8, $pathToMin, $node; if ($root === null) return null; a: { $left = $root.$key0; $right = $key; $left = $left; if ($right === $left) $minDepth = 0; else { var$6 = $right.$nativeString.length; $minDepth_0 = $left.$nativeString.length; if (var$6 < $minDepth_0) $minDepth_0 = var$6; var$6 = 0; b: { while (true) { if (var$6 >= $minDepth_0) { $minDepth = $right.$nativeString.length - $left.$nativeString.length | 0; break a; } if (var$6 < 0) break b; if (var$6 >= $right.$nativeString.length) break b; var$8 = $right.$nativeString.charCodeAt(var$6); if (var$6 < 0) break; if (var$6 >= $left.$nativeString.length) break; $minDepth = var$8 - $left.$nativeString.charCodeAt(var$6) | 0; if ($minDepth) break a; var$6 = var$6 + 1 | 0; } $root = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_($root); $rt_throw($root); } $root = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_($root); $rt_throw($root); } } if ($minDepth < 0) $root.$left = ju_TreeMap_deleteNode($this, $root.$left, $key); else if ($minDepth > 0) $root.$right = ju_TreeMap_deleteNode($this, $root.$right, $key); else { $right = $root.$right; if ($right === null) return $root.$left; $left = $root.$left; $pathToMin = $rt_createArray(ju_TreeMap$TreeNode, $right.$height1).data; $minDepth = 0; while (true) { $root = $right.$left; if ($root === null) break; $minDepth_0 = $minDepth + 1 | 0; $pathToMin[$minDepth] = $right; $minDepth = $minDepth_0; $right = $root; } $root = $right.$right; while ($minDepth > 0) { $minDepth = $minDepth + (-1) | 0; $node = $pathToMin[$minDepth]; $node.$left = $root; ju_TreeMap$TreeNode_fix($node); $root = ju_TreeMap$TreeNode_balance($node); } $right.$right = $root; $right.$left = $left; ju_TreeMap$TreeNode_fix($right); $root = $right; } ju_TreeMap$TreeNode_fix($root); return ju_TreeMap$TreeNode_balance($root); }; function nms_StepSound() { let a = this; jl_Object.call(a); a.$stepSoundName = null; a.$stepSoundVolume = 0.0; a.$stepSoundPitch = 0.0; } let nms_StepSound_getVolume = $this => { return $this.$stepSoundVolume; }, nms_StepSound_getPitch = $this => { return $this.$stepSoundPitch; }, nms_StepSound_getBreakSound = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$stepSoundName; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2993)); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_StepSound_getStepSound = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$stepSoundName; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2994)); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_StepSound_getPlaceSound = $this => { return $this.$getBreakSound(); }, nms_StepSoundStone = $rt_classWithoutFields(nms_StepSound), nms_StepSoundStone_getBreakSound = $this => { return $rt_s(1518); }, nms_StepSoundStone_getPlaceSound = $this => { return $rt_s(2995); }, nms_StepSoundSand = $rt_classWithoutFields(nms_StepSound), nms_StepSoundSand_getBreakSound = $this => { return $rt_s(2996); }, nms_StepSoundAnvil = $rt_classWithoutFields(nms_StepSound), nms_StepSoundAnvil_getBreakSound = $this => { return $rt_s(2997); }, nms_StepSoundAnvil_getPlaceSound = $this => { return $rt_s(1517); }, nms_BlockStone = $rt_classWithoutFields(nms_Block), nms_BlockStone_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_cobblestone.$blockID; }; function nms_BlockGrass() { let a = this; nms_Block.call(a); a.$iconGrassTop = null; a.$iconSnowSide = null; a.$iconGrassSideOverlay = null; } let nms_BlockGrass_getIcon = ($this, $par1, $par2) => { let var$3; if ($par1 == 1) var$3 = $this.$iconGrassTop; else if ($par1) var$3 = $this.$blockIcon; else { nms_Block_$callClinit(); var$3 = nms_Block_dirt.$getIcon($par1, 0); } return var$3; }, nms_BlockGrass_getBlockTexture = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6; if ($par5 == 1) return $this.$iconGrassTop; if (!$par5) { nms_Block_$callClinit(); return nms_Block_dirt.$getIcon($par5, 0); } $var6 = $par1IBlockAccess.$getBlockMaterial($par2, $par3 + 1 | 0, $par4); nms_Material_$callClinit(); return $var6 !== nms_Material_snow && $var6 !== nms_Material_craftedSnow ? $this.$blockIcon : $this.$iconSnowSide; }, nms_BlockGrass_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2998)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2999)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$iconGrassTop = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3000)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$iconSnowSide = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3001)); var$2 = new jl_String; var$7 = var$4.$buffer; var$6 = var$7.data; var$8 = var$4.$length0; var$3 = var$6.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$iconGrassSideOverlay = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockGrass_getBlockColor = $this => { return nms_ColorizerGrass_grassBuffer.data[32639]; }, nms_BlockGrass_getRenderColor = ($this, $par1) => { return nms_ColorizerGrass_grassBuffer.data[32639]; }, nms_BlockGrass_colorMultiplier = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10; $var5 = 0; $var6 = 0; $var7 = 0; $var8 = (-1); while ($var8 <= 1) { $var9 = (-1); while ($var9 <= 1) { $var10 = ($par1IBlockAccess.$getBiomeGenForCoords($par2 + $var9 | 0, $par4 + $var8 | 0)).$getBiomeGrassColor(); $var5 = $var5 + (($var10 & 16711680) >> 16) | 0; $var6 = $var6 + (($var10 & 65280) >> 8) | 0; $var7 = $var7 + ($var10 & 255) | 0; $var9 = $var9 + 1 | 0; } $var8 = $var8 + 1 | 0; } return (($var5 / 9 | 0) & 255) << 16 | (($var6 / 9 | 0) & 255) << 8 | ($var7 / 9 | 0) & 255; }, nms_BlockGrass_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_dirt.$idDropped(0, $par2Random, $par3); }, nms_BlockGrass_getIconSideOverlay = () => { nms_Block_$callClinit(); return nms_Block_grass.$iconGrassSideOverlay; }, nms_BlockDirt = $rt_classWithoutFields(nms_Block); function nms_BlockWood() { nms_Block.call(this); this.$iconArray6 = null; } let nms_BlockWood_woodType = null, nms_BlockWood_getIcon = ($this, $par1, $par2) => { if (!($par2 >= 0 && $par2 < $this.$iconArray6.data.length)) $par2 = 0; return $this.$iconArray6.data[$par2]; }, nms_BlockWood_damageDropped = ($this, $par1) => { return $par1; }, nms_BlockWood_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let var$4, var$5, var$6, var$7; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$6 = var$5 + 1 | 0; $par3List.$size0 = var$6; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 1; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; var$6 = var$7 + 1 | 0; $par3List.$size0 = var$6; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 2; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$7 = var$5 + 1 | 0; $par3List.$size0 = var$7; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 3; ju_ArrayList_ensureCapacity($par3List, var$7 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; }, nms_BlockWood_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $this.$iconArray6 = $rt_createArray(nms_Icon, nms_BlockWood_woodType.data.length); $var2 = 0; a: { b: { while (true) { var$3 = $this.$iconArray6.data; if ($var2 >= var$3.length) break; var$4 = $this.$textureName; if (var$4 === null) { var$5 = $this.$blockID; var$4 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10); var$7 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$7, var$7 + 1 | 0); var$6.$buffer.data[var$7] = 95; var$5 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$5, var$4); var$4 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; var$7 = var$6.$length0; var$10 = var$9.length; if (var$7 < 0) break b; if (var$7 > (var$10 - 0 | 0)) break b; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$7); } var$6 = nms_BlockWood_woodType.data[$var2]; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, var$4); var$5 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$5, var$5 + 1 | 0); var$11.$buffer.data[var$5] = 95; var$5 = var$11.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$11, var$5, var$6); var$4 = new jl_String; var$8 = var$11.$buffer; var$9 = var$8.data; var$5 = var$11.$length0; var$7 = var$9.length; if (var$5 < 0) break a; if (var$5 > (var$7 - 0 | 0)) break a; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$5); var$3[$var2] = $par1IconRegister.$registerIcon(var$4, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockWood__clinit_ = () => { nms_BlockWood_woodType = $rt_wrapArray(jl_String, [$rt_s(72), $rt_s(73), $rt_s(74), $rt_s(75)]); }, nms_BlockFlower = $rt_classWithoutFields(nms_Block), nms_BlockFlower__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_plants); $this.$needsRandomTick = 1; $this.$minX0 = 0.30000001192092896; $this.$minY0 = 0.0; $this.$minZ0 = 0.30000001192092896; $this.$maxX0 = 0.699999988079071; $this.$maxY0 = 0.6000000238418579; $this.$maxZ0 = 0.699999988079071; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockFlower__init_ = var_0 => { let var_1 = new nms_BlockFlower(); nms_BlockFlower__init_0(var_1, var_0); return var_1; }, nms_BlockFlower_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5; a: { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$5) { nms_Block_$callClinit(); if (!nms_Block_blocksList.data[var$5].$blockMaterial.$replaceable) { var$5 = 0; break a; } } var$5 = 1; } return var$5 && $this.$canThisPlantGrowOnThisBlockID(nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4)) ? 1 : 0; }, nms_BlockFlower_canThisPlantGrowOnThisBlockID = ($this, $par1) => { nms_Block_$callClinit(); return $par1 != nms_Block_grass.$blockID && $par1 != nms_Block_dirt.$blockID && $par1 != nms_Block_tilledField.$blockID ? 0 : 1; }, nms_BlockFlower_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$canBlockStay($par1World, $par2, $par3, $par4)) return; $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 1; case 1: $this.$dropBlockAsItemWithChance($par1World, $par2, $par3, $par4, $par5, var$7, var$6); if ($rt_suspending()) { break main; } var$6 = 0; var$8 = 0; $par5 = 2; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$6, var$8, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, $ptr); }, nms_BlockFlower_canBlockStay = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; if ($par3 < 0) var$5 = 0; else { var$6 = $par3 >= 256 ? 255 : $par3; var$7 = $par2 >> 4; var$5 = $par4 >> 4; var$8 = $par1World.$chunkProvider; var$9 = var$8.$chunkMapping; var$10 = Long_or(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$5), Long_create(4294967295, 0)), 32)); var$5 = Long_lo(Long_xor(var$10, Long_shru(var$10, 32))); var$5 = var$5 ^ (var$5 >>> 20 | 0) ^ (var$5 >>> 12 | 0); var$11 = var$5 ^ (var$5 >>> 7 | 0) ^ (var$5 >>> 4 | 0); var$12 = var$9.$hashArray.data; var$9 = var$12[var$11 & (var$12.length - 1 | 0)]; a: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$10)) { var$9 = var$9.$value6; break a; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$8.$blankChunk; var$5 = var$9.$getBlockLightValue($par2 & 15, var$6, $par4 & 15, 0); } b: { c: { if (var$5 < 8) { var$5 = $par2 >> 4; var$6 = $par4 >> 4; var$8 = $par1World.$chunkProvider; var$9 = var$8.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt(var$5), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$6), Long_create(4294967295, 0)), 32)); var$5 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); var$5 = var$5 ^ (var$5 >>> 20 | 0) ^ (var$5 >>> 12 | 0); var$7 = var$5 ^ (var$5 >>> 7 | 0) ^ (var$5 >>> 4 | 0); var$12 = var$9.$hashArray.data; var$9 = var$12[var$7 & (var$12.length - 1 | 0)]; d: { while (var$9 !== null) { if (Long_eq(var$9.$key1, var$13)) { var$9 = var$9.$value6; break d; } var$9 = var$9.$nextEntry0; } var$9 = null; } var$9 = var$9; if (var$9 === null) var$9 = var$8.$blankChunk; if (!var$9.$canBlockSeeTheSky($par2 & 15, $par3, $par4 & 15)) break c; } if ($this.$canThisPlantGrowOnThisBlockID(nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4))) { $par2 = 1; break b; } } $par2 = 0; } return $par2; }, nms_BlockFlower_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockFlower_isOpaqueCube = $this => { return 0; }, nms_BlockFlower_renderAsNormalBlock = $this => { return 0; }, nms_BlockFlower_getRenderType = $this => { return 1; }; function nms_BlockSapling() { nms_BlockFlower.call(this); this.$saplingIcon = null; } let nms_BlockSapling_WOOD_TYPES = null, nms_BlockSapling_getIcon = ($this, $par1, $par2) => { $par1 = $par2 & 3; return $this.$saplingIcon.data[$par1]; }, nms_BlockSapling_growTree = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let $var6, $var7, $var8, $var9, $var10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 3; $var7 = null; $var8 = 0; $var9 = 0; $var10 = 0; if ($var6 == 1) { $var7 = new nms_WorldGenTaiga2; $var7.$doBlockNotify = 1; } else if ($var6 == 2) { $var7 = new nms_WorldGenForest; $var7.$doBlockNotify = 1; } else if ($var6 != 3) { $var7 = new nms_WorldGenTrees; $var7.$doBlockNotify = 1; $var7.$minTreeHeight = 4; $var7.$metaWood = 0; $var7.$metaLeaves = 0; $var7.$vinesGrow = 0; var$11 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); while (true) { var$13 = var$12 % 10 | 0; if (((var$12 - var$13 | 0) + 9 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); } if (!var$13) $var7 = nms_WorldGenBigTree__init_(1); } else { $var8 = 0; a: { while ($var8 >= (-1)) { $var9 = 0; b: { while ($var9 >= (-1)) { var$14 = $par2 + $var8 | 0; var$15 = $par4 + $var9 | 0; if (nms_World_getBlockId($par1World, var$14, $par3, var$15) == $this.$blockID && (nms_World_getBlockMetadata($par1World, var$14, $par3, var$15) & 3) == 3 ? 1 : 0) { var$16 = var$14 + 1 | 0; if (nms_World_getBlockId($par1World, var$16, $par3, var$15) == $this.$blockID && (nms_World_getBlockMetadata($par1World, var$16, $par3, var$15) & 3) == 3 ? 1 : 0) { var$17 = var$15 + 1 | 0; if ((nms_World_getBlockId($par1World, var$14, $par3, var$17) == $this.$blockID && (nms_World_getBlockMetadata($par1World, var$14, $par3, var$17) & 3) == 3 ? 1 : 0) && (nms_World_getBlockId($par1World, var$16, $par3, var$17) == $this.$blockID && (nms_World_getBlockMetadata($par1World, var$16, $par3, var$17) & 3) == 3 ? 1 : 0)) { $var7 = new nms_WorldGenHugeTrees; var$11 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$11; var$18 = Long_lo(Long_shru(var$11, 17)); while (true) { var$12 = var$18 % 20 | 0; if (((var$18 - var$12 | 0) + 19 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$11; var$18 = Long_lo(Long_shru(var$11, 17)); } var$18 = 10 + var$12 | 0; $var7.$doBlockNotify = 1; $var7.$baseHeight = var$18; $var7.$woodMetadata = 3; $var7.$leavesMetadata = 3; $var10 = 1; break b; } } } $var9 = $var9 + (-1) | 0; } } if ($var7 !== null) break a; $var8 = $var8 + (-1) | 0; } } if ($var7 === null) { $var9 = 0; $var8 = 0; $var7 = new nms_WorldGenTrees; var$11 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); while (true) { var$13 = var$12 % 7 | 0; if (((var$12 - var$13 | 0) + 6 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 17)); } var$12 = 4 + var$13 | 0; $var7.$doBlockNotify = 1; $var7.$minTreeHeight = var$12; $var7.$metaWood = 3; $var7.$metaLeaves = 3; $var7.$vinesGrow = 0; } } if (!$var10) { var$18 = 0; var$12 = 0; var$13 = 4; $ptr = 1; continue main; } var$18 = $par2 + $var8 | 0; var$12 = $par4 + $var9 | 0; var$13 = 0; var$16 = 0; var$19 = 4; $ptr = 2; continue main; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, var$18, var$12, var$13); if ($rt_suspending()) { break main; } $var8 = $par2 + $var8 | 0; $var9 = $par4 + $var9 | 0; $ptr = 6; continue main; case 2: nms_World_setBlock($par1World, var$18, $par3, var$12, var$13, var$16, var$19); if ($rt_suspending()) { break main; } var$13 = var$18 + 1 | 0; var$16 = 0; var$19 = 0; var$17 = 4; $ptr = 3; case 3: nms_World_setBlock($par1World, var$13, $par3, var$12, var$16, var$19, var$17); if ($rt_suspending()) { break main; } var$12 = var$12 + 1 | 0; var$16 = 0; var$19 = 0; var$17 = 4; $ptr = 4; case 4: nms_World_setBlock($par1World, var$18, $par3, var$12, var$16, var$19, var$17); if ($rt_suspending()) { break main; } var$18 = 0; var$16 = 0; var$19 = 4; $ptr = 5; case 5: nms_World_setBlock($par1World, var$13, $par3, var$12, var$18, var$16, var$19); if ($rt_suspending()) { break main; } $var8 = $par2 + $var8 | 0; $var9 = $par4 + $var9 | 0; $ptr = 6; case 6: $tmp = $var7.$generate($par1World, $par5Random, $var8, $par3, $var9); if ($rt_suspending()) { break main; } var$18 = $tmp; if (var$18) return; if (!$var10) { $var8 = $this.$blockID; $var9 = 4; $ptr = 7; continue main; } $par2 = $this.$blockID; $par4 = 4; $ptr = 8; continue main; case 7: nms_World_setBlock($par1World, $par2, $par3, $par4, $var8, $var6, $var9); if ($rt_suspending()) { break main; } return; case 8: nms_World_setBlock($par1World, $var8, $par3, $var9, $par2, $var6, $par4); if ($rt_suspending()) { break main; } $par2 = $var8 + 1 | 0; $par4 = $this.$blockID; var$18 = 4; $ptr = 9; case 9: nms_World_setBlock($par1World, $par2, $par3, $var9, $par4, $var6, var$18); if ($rt_suspending()) { break main; } $par4 = $var9 + 1 | 0; $var9 = $this.$blockID; var$18 = 4; $ptr = 10; case 10: nms_World_setBlock($par1World, $var8, $par3, $par4, $var9, $var6, var$18); if ($rt_suspending()) { break main; } $var8 = $this.$blockID; $var9 = 4; $ptr = 11; case 11: nms_World_setBlock($par1World, $par2, $par3, $par4, $var8, $var6, $var9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, $var6, $var7, $var8, $var9, $var10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_BlockSapling_damageDropped = ($this, $par1) => { return $par1 & 3; }, nms_BlockSapling_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let var$4, var$5, var$6, var$7; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$6 = var$5 + 1 | 0; $par3List.$size0 = var$6; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 1; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; var$6 = var$7 + 1 | 0; $par3List.$size0 = var$6; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 2; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$7 = var$5 + 1 | 0; $par3List.$size0 = var$7; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 3; ju_ArrayList_ensureCapacity($par3List, var$7 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; }, nms_BlockSapling_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $this.$saplingIcon = $rt_createArray(nms_Icon, nms_BlockSapling_WOOD_TYPES.data.length); $var2 = 0; a: { b: { while (true) { var$3 = $this.$saplingIcon.data; if ($var2 >= var$3.length) break; var$4 = $this.$textureName; if (var$4 === null) { var$5 = $this.$blockID; var$4 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10); var$7 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$7, var$7 + 1 | 0); var$6.$buffer.data[var$7] = 95; var$5 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$5, var$4); var$4 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; var$7 = var$6.$length0; var$10 = var$9.length; if (var$7 < 0) break b; if (var$7 > (var$10 - 0 | 0)) break b; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$7); } var$6 = nms_BlockSapling_WOOD_TYPES.data[$var2]; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, var$4); var$5 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$5, var$5 + 1 | 0); var$11.$buffer.data[var$5] = 95; var$5 = var$11.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$11, var$5, var$6); var$4 = new jl_String; var$8 = var$11.$buffer; var$9 = var$8.data; var$5 = var$11.$length0; var$7 = var$9.length; if (var$5 < 0) break a; if (var$5 > (var$7 - 0 | 0)) break a; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$5); var$3[$var2] = $par1IconRegister.$registerIcon(var$4, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockSapling__clinit_ = () => { nms_BlockSapling_WOOD_TYPES = $rt_wrapArray(jl_String, [$rt_s(72), $rt_s(73), $rt_s(74), $rt_s(75)]); }; function nms_BlockFluid() { nms_Block.call(this); this.$theIcon = null; } let nms_BlockFluid_getBlockColor = $this => { return 16777215; }, nms_BlockFluid_colorMultiplier = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let var$5, $var5, $var6, $var7, $var8, $var9, $var10; var$5 = $this.$blockMaterial; nms_Material_$callClinit(); if (var$5 !== nms_Material_water) return 16777215; $var5 = 0; $var6 = 0; $var7 = 0; $var8 = (-1); while ($var8 <= 1) { $var9 = (-1); while ($var9 <= 1) { $var10 = ($par1IBlockAccess.$getBiomeGenForCoords($par2 + $var9 | 0, $par4 + $var8 | 0)).$waterColorMultiplier; $var5 = $var5 + (($var10 & 16711680) >> 16) | 0; $var6 = $var6 + (($var10 & 65280) >> 8) | 0; $var7 = $var7 + ($var10 & 255) | 0; $var9 = $var9 + 1 | 0; } $var8 = $var8 + 1 | 0; } return (($var5 / 9 | 0) & 255) << 16 | (($var6 / 9 | 0) & 255) << 8 | ($var7 / 9 | 0) & 255; }, nms_BlockFluid_getIcon = ($this, $par1, $par2) => { return $par1 && $par1 != 1 ? $this.$theIcon.data[1] : $this.$theIcon.data[0]; }, nms_BlockFluid_getEffectiveFlowDecay = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5; if ($par1IBlockAccess.$getBlockMaterial($par2, $par3, $par4) !== $this.$blockMaterial) return (-1); $var5 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); if ($var5 >= 8) $var5 = 0; return $var5; }, nms_BlockFluid_renderAsNormalBlock = $this => { return 0; }, nms_BlockFluid_isOpaqueCube = $this => { return 0; }, nms_BlockFluid_canCollideCheck = ($this, $par1, $par2) => { return $par2 && !$par1 ? 1 : 0; }, nms_BlockFluid_isBlockSolid = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6; $var6 = $par1IBlockAccess.$getBlockMaterial($par2, $par3, $par4); if ($var6 === $this.$blockMaterial) $par2 = 0; else if ($par5 == 1) $par2 = 1; else { nms_Material_$callClinit(); $par2 = $var6 === nms_Material_ice ? 0 : ($par1IBlockAccess.$getBlockMaterial($par2, $par3, $par4)).$isSolid(); } return $par2; }, nms_BlockFluid_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6; $var6 = $par1IBlockAccess.$getBlockMaterial($par2, $par3, $par4); if ($var6 === $this.$blockMaterial) $par2 = 0; else if ($par5 == 1) $par2 = 1; else { nms_Material_$callClinit(); $par2 = $var6 !== nms_Material_ice ? nms_Block_shouldSideBeRendered($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) : 0; } return $par2; }, nms_BlockFluid_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockFluid_getRenderType = $this => { return 4; }, nms_BlockFluid_idDropped = ($this, $par1, $par2Random, $par3) => { return 0; }, nms_BlockFluid_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockFluid_getFlowVector = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6, $var7, var$8, var$9, $var13, var$11, var$12, var$13, $var11, $var12, var$16, var$17, var$18, var$19, var$20; $var5 = nms_Vec3Pool_getVecFromPool($par1IBlockAccess.$getWorldVec3Pool(), 0.0, 0.0, 0.0); if ($par1IBlockAccess.$getBlockMaterial($par2, $par3, $par4) !== $this.$blockMaterial) $var6 = (-1); else { $var6 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); if ($var6 >= 8) $var6 = 0; } $var7 = 0; var$8 = $par2 - 1 | 0; var$9 = $par4 - 1 | 0; $var13 = $par3 - 1 | 0; var$11 = $par3 - $par3 | 0; while ($var7 < 4) { var$12 = !$var7 ? var$8 : $par2; var$13 = $var7 == 1 ? var$9 : $par4; if ($var7 == 2) var$12 = var$12 + 1 | 0; if ($var7 == 3) var$13 = var$13 + 1 | 0; if ($par1IBlockAccess.$getBlockMaterial(var$12, $par3, var$13) !== $this.$blockMaterial) $var11 = (-1); else { $var11 = $par1IBlockAccess.$getBlockMetadata(var$12, $par3, var$13); if ($var11 >= 8) $var11 = 0; } if ($var11 >= 0) { if ($var11 >= 0) { $var12 = $var11 - $var6 | 0; var$16 = $rt_imul(var$12 - $par2 | 0, $var12); var$17 = $rt_imul(var$11, $var12); var$18 = $rt_imul(var$13 - $par4 | 0, $var12); $var5 = nms_Vec3Pool_getVecFromPool($var5.$myVec3LocalPool, $var5.$xCoord + var$16, $var5.$yCoord + var$17, $var5.$zCoord + var$18); } } else if (!($par1IBlockAccess.$getBlockMaterial(var$12, $par3, var$13)).$blocksMovement()) { if ($par1IBlockAccess.$getBlockMaterial(var$12, $var13, var$13) !== $this.$blockMaterial) $var11 = (-1); else { $var11 = $par1IBlockAccess.$getBlockMetadata(var$12, $var13, var$13); if ($var11 >= 8) $var11 = 0; } if ($var11 >= 0) { $var12 = $var11 - ($var6 - 8 | 0) | 0; var$17 = $rt_imul(var$12 - $par2 | 0, $var12); var$18 = $rt_imul(var$11, $var12); var$19 = $rt_imul(var$13 - $par4 | 0, $var12); $var5 = nms_Vec3Pool_getVecFromPool($var5.$myVec3LocalPool, $var5.$xCoord + var$17, $var5.$yCoord + var$18, $var5.$zCoord + var$19); } } $var7 = $var7 + 1 | 0; } if ($par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) >= 8) { $var13 = 0; var$20 = $par1IBlockAccess.$getBlockMaterial($par2, $par3, var$9); if (var$20 === $this.$blockMaterial) $var11 = 0; else { nms_Material_$callClinit(); $var11 = var$20 === nms_Material_ice ? 0 : ($par1IBlockAccess.$getBlockMaterial($par2, $par3, var$9)).$isSolid(); } if ($var11) $var13 = 1; a: { if (!$var13) { $var11 = $par4 + 1 | 0; var$20 = $par1IBlockAccess.$getBlockMaterial($par2, $par3, $var11); if (var$20 === $this.$blockMaterial) $var11 = 0; else { nms_Material_$callClinit(); $var11 = var$20 === nms_Material_ice ? 0 : ($par1IBlockAccess.$getBlockMaterial($par2, $par3, $var11)).$isSolid(); } if (!$var11) break a; } $var13 = 1; } b: { if (!$var13) { var$20 = $par1IBlockAccess.$getBlockMaterial(var$8, $par3, $par4); if (var$20 === $this.$blockMaterial) $var11 = 0; else { nms_Material_$callClinit(); $var11 = var$20 === nms_Material_ice ? 0 : ($par1IBlockAccess.$getBlockMaterial(var$8, $par3, $par4)).$isSolid(); } if (!$var11) break b; } $var13 = 1; } c: { if (!$var13) { $var11 = $par2 + 1 | 0; var$20 = $par1IBlockAccess.$getBlockMaterial($var11, $par3, $par4); if (var$20 === $this.$blockMaterial) $var11 = 0; else { nms_Material_$callClinit(); $var11 = var$20 === nms_Material_ice ? 0 : ($par1IBlockAccess.$getBlockMaterial($var11, $par3, $par4)).$isSolid(); } if (!$var11) break c; } $var13 = 1; } d: { if (!$var13) { $var11 = $par3 + 1 | 0; var$20 = $par1IBlockAccess.$getBlockMaterial($par2, $var11, var$9); if (var$20 === $this.$blockMaterial) $var11 = 0; else { nms_Material_$callClinit(); $var11 = var$20 === nms_Material_ice ? 0 : ($par1IBlockAccess.$getBlockMaterial($par2, $var11, var$9)).$isSolid(); } if (!$var11) break d; } $var13 = 1; } e: { if (!$var13) { $var11 = $par3 + 1 | 0; $var12 = $par4 + 1 | 0; var$20 = $par1IBlockAccess.$getBlockMaterial($par2, $var11, $var12); if (var$20 === $this.$blockMaterial) $var11 = 0; else { nms_Material_$callClinit(); $var11 = var$20 === nms_Material_ice ? 0 : ($par1IBlockAccess.$getBlockMaterial($par2, $var11, $var12)).$isSolid(); } if (!$var11) break e; } $var13 = 1; } f: { if (!$var13) { $var11 = $par3 + 1 | 0; var$20 = $par1IBlockAccess.$getBlockMaterial(var$8, $var11, $par4); if (var$20 === $this.$blockMaterial) $var11 = 0; else { nms_Material_$callClinit(); $var11 = var$20 === nms_Material_ice ? 0 : ($par1IBlockAccess.$getBlockMaterial(var$8, $var11, $par4)).$isSolid(); } if (!$var11) break f; } $var13 = 1; } g: { if (!$var13) { $par2 = $par2 + 1 | 0; $par3 = $par3 + 1 | 0; var$20 = $par1IBlockAccess.$getBlockMaterial($par2, $par3, $par4); if (var$20 === $this.$blockMaterial) $par2 = 0; else { nms_Material_$callClinit(); $par2 = var$20 === nms_Material_ice ? 0 : ($par1IBlockAccess.$getBlockMaterial($par2, $par3, $par4)).$isSolid(); } if (!$par2) break g; } $var13 = 1; } if ($var13) { $par1IBlockAccess = nms_Vec3_normalize($var5); $var5 = nms_Vec3Pool_getVecFromPool($par1IBlockAccess.$myVec3LocalPool, $par1IBlockAccess.$xCoord + 0.0, $par1IBlockAccess.$yCoord + (-6.0), $par1IBlockAccess.$zCoord + 0.0); } } return nms_Vec3_normalize($var5); }, nms_BlockFluid_velocityToAddToEntity = ($this, $par1World, $par2, $par3, $par4, $par5Entity, $par6Vec3) => { let $var7; $var7 = nms_BlockFluid_getFlowVector($this, $par1World, $par2, $par3, $par4); $par6Vec3.$xCoord = $par6Vec3.$xCoord + $var7.$xCoord; $par6Vec3.$yCoord = $par6Vec3.$yCoord + $var7.$yCoord; $par6Vec3.$zCoord = $par6Vec3.$zCoord + $var7.$zCoord; }, nms_BlockFluid_getMixedBrightnessForBlock = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10; $var5 = $par1IBlockAccess.$getLightBrightnessForSkyBlocks($par2, $par3, $par4, 0); $var6 = $par1IBlockAccess.$getLightBrightnessForSkyBlocks($par2, $par3 + 1 | 0, $par4, 0); $var7 = $var5 & 255; $var8 = $var6 & 255; $var9 = $var5 >> 16 & 255; $var10 = $var6 >> 16 & 255; if ($var7 > $var8) $var8 = $var7; if ($var9 > $var10) $var10 = $var9; return $var8 | $var10 << 16; }, nms_BlockFluid_getBlockBrightness = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6; $var5 = $par1IBlockAccess.$getLightBrightness($par2, $par3, $par4); $var6 = $par1IBlockAccess.$getLightBrightness($par2, $par3 + 1 | 0, $par4); if ($var5 > $var6) $var6 = $var5; return $var6; }, nms_BlockFluid_getRenderBlockPass = $this => { let var$1; var$1 = $this.$blockMaterial; nms_Material_$callClinit(); return var$1 !== nms_Material_water ? 0 : 1; }, nms_BlockFluid_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let var$6, var$7, var$8, var$9, var$10, $var6, var$12, var$13, $var21, $var22, $var10, $var23, $var21_0, $var22_0, $var11, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, $var7, var$30, var$31, var$32, var$33, $var13, $var15, $var17, $var19, $var23_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var23_0 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();$var7 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var11 = $thread.pop();$var22_0 = $thread.pop();$var21_0 = $thread.pop();$var23 = $thread.pop();$var10 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var6 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { var$6 = $this.$blockMaterial; nms_Material_$callClinit(); if (var$6 === nms_Material_water) { var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$8 = 17; var$9 = Long_lo(Long_shru(var$7, var$8)); while (true) { var$10 = var$9 % 10 | 0; if (((var$9 - var$10 | 0) + 9 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$8)); } if (!var$10) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if (!($var6 > 0 && $var6 < 8)) { var$12 = $rt_s(1476); var$13 = $par2; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var21 = var$13 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7; var$13 = $par3; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var22 = var$13 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7; $var10 = $par4; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var23 = $var10 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7; $var21_0 = 0.0; $var22_0 = 0.0; $var11 = 0.0; $var6 = 0; var$6 = $par1World.$worldAccesses; var$21 = $rt_compare($var6, var$6.$size0); if (var$21 < 0) { if ($var6 >= 0 && var$21 < 0) { var$6 = var$6.$array.data[$var6]; $ptr = 2; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } } $var6 = 0; var$22 = $par2 - 1 | 0; var$23 = $par4 - 1 | 0; var$24 = $par3 - 1 | 0; var$25 = $par2; var$26 = 24; var$13 = $par3; var$27 = $par4; $var22_0 = var$25 - 0.0625; $var21_0 = ($par2 + 1 | 0) + 0.0625; $var23 = var$27 - 0.0625; $var22 = ($par4 + 1 | 0) + 0.0625; $var21 = (-0.0625); var$7 = Long_fromInt(4); b: while (true) { if ($var6 >= 0) break a; var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var7 = Long_lo(Long_shr(Long_mul(var$7, Long_fromInt(Long_lo(Long_shru(var$28, var$8)))), 31)); var$21 = !$var7 ? var$22 : $par2; var$9 = $rt_compare($var7, 1); if (!var$9) var$21 = var$21 + 1 | 0; var$10 = $rt_compare($var7, 2); var$30 = !var$10 ? var$23 : $par4; var$31 = $rt_compare($var7, 3); if (!var$31) var$30 = var$30 + 1 | 0; var$32 = nms_World_getBlockId($par1World, var$21, $par3, var$30); if (!var$32) var$6 = nms_Material_air; else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$32].$blockMaterial; } c: { if (var$6 === nms_Material_air) { var$32 = nms_World_getBlockId($par1World, var$21, var$24, var$30); if (!var$32) var$12 = nms_Material_air; else { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[var$32].$blockMaterial; } if (!var$12.$blocksMovement()) { var$21 = nms_World_getBlockId($par1World, var$21, var$24, var$30); if (!var$21) var$12 = nms_Material_air; else { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[var$21].$blockMaterial; } if (!var$12.$isLiquid()) break c; } var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var11 = var$25 + Long_lo(Long_shru(var$28, var$26)) / 1.6777216E7; var$33 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$33; $var13 = var$13 + Long_lo(Long_shru(var$33, var$26)) / 1.6777216E7; var$28 = Long_and(Long_add(Long_mul(var$33, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var15 = var$27 + Long_lo(Long_shru(var$28, var$26)) / 1.6777216E7; if (!$var7) $var11 = $var22_0; if (!var$9) $var11 = $var21_0; if (!var$10) $var15 = $var23; if (!var$31) $var15 = $var22; $var17 = 0.0; $var19 = 0.0; if (!$var7) $var17 = $var21; if (!var$9) $var17 = 0.0625; if (!var$10) $var19 = $var21; if (!var$31) $var19 = 0.0625; var$12 = $rt_s(1241); $var23_0 = 0.0; var$21 = 0; var$6 = $par1World.$worldAccesses; var$9 = $rt_compare(var$21, var$6.$size0); if (var$9 < 0) break b; } } $var6 = $var6 + 1 | 0; } if (var$21 >= 0 && var$9 < 0) { var$6 = var$6.$array.data[var$21]; $ptr = 8; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } if ($this.$blockMaterial === nms_Material_water) { var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; if (!Long_lo(Long_shr(Long_mul(Long_fromInt(64), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31))) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if ($var6 > 0 && $var6 < 8) { $var23 = $par2 + 0.5; $var21 = $par3 + 0.5; $var22 = $par4 + 0.5; var$12 = $rt_s(3002); var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var10 = Long_lo(Long_shru(var$28, 24)) / 1.6777216E7 * 0.25 + 0.75; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$25 = Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 * 1.0 + 0.5; $var6 = 0; $ptr = 1; continue main; } } } if ($this.$blockMaterial === nms_Material_lava) { $var6 = $par3 + 1 | 0; var$21 = nms_World_getBlockId($par1World, $par2, $var6, $par4); if (!var$21) var$6 = nms_Material_air; else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$21].$blockMaterial; } if (var$6 === nms_Material_air) { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $var6, $par4)]; if (!(var$12 !== null ? var$12.$isOpaqueCube() : 0)) { var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$30 = 17; var$9 = Long_lo(Long_shru(var$7, var$30)); while (true) { var$10 = var$9 % 100 | 0; if (((var$9 - var$10 | 0) + 99 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); } if (!var$10) { $var10 = $par2; var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; var$9 = 24; $var21 = $var10 + Long_lo(Long_shru(var$28, var$9)) / 1.6777216E7; $var22 = $par3 + $this.$maxY0; $var10 = $par4; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var23 = $var10 + Long_lo(Long_shru(var$7, var$9)) / 1.6777216E7; var$12 = $rt_s(1486); $var21_0 = 0.0; $var22_0 = 0.0; $var11 = 0.0; $var6 = 0; var$6 = $par1World.$worldAccesses; var$21 = $rt_compare($var6, var$6.$size0); if (var$21 < 0) { if ($var6 >= 0 && var$21 < 0) { var$6 = var$6.$array.data[$var6]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$12 = $rt_s(3003); var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var10 = 0.20000000298023224 + Long_lo(Long_shru(var$28, var$9)) / 1.6777216E7 * 0.20000000298023224; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$25 = 0.8999999761581421 + Long_lo(Long_shru(var$7, var$9)) / 1.6777216E7 * 0.15000000596046448; $var6 = 0; $ptr = 3; continue main; } var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); while (true) { var$10 = var$9 % 200 | 0; if (((var$9 - var$10 | 0) + 199 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); } if (!var$10) { $var21 = $par2; $var22 = $par3; $var23 = $par4; var$12 = $rt_s(3004); var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; var$25 = 0.20000000298023224 + Long_lo(Long_shru(var$28, 24)) / 1.6777216E7 * 0.20000000298023224; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var10 = 0.8999999761581421 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 * 0.15000000596046448; $var6 = 0; $ptr = 6; continue main; } } } } var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, 17)); while (true) { var$10 = var$9 % 10 | 0; if (((var$9 - var$10 | 0) + 9 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, 17)); } d: { if (!var$10) { $var6 = $par3 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $var6, $par4)], nms_World_getBlockMetadata($par1World, $par2, $var6, $par4))) { $var6 = nms_World_getBlockId($par1World, $par2, $par3 - 2 | 0, $par4); if (!(!$var6 ? nms_Material_air : nms_Block_blocksList.data[$var6].$blockMaterial).$blocksMovement()) { $var10 = $par2; var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var21_0 = $var10 + Long_lo(Long_shru(var$28, 24)) / 1.6777216E7; $var22_0 = $par3 - 1.05; $var10 = $par4; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var23_0 = $var10 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7; if ($this.$blockMaterial !== nms_Material_water) { $par5Random = $rt_s(1493); $var21 = 0.0; $var22 = 0.0; $var23 = 0.0; $par2 = 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 >= 0) break d; if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1492); $var21 = 0.0; $var22 = 0.0; $var23 = 0.0; $par2 = 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } } } } return; case 1: nms_WorldClient_playSound($par1World, $var23, $var21, $var22, var$12, $var10, var$25, $var6); if ($rt_suspending()) { break main; } if ($this.$blockMaterial === nms_Material_lava) { $var6 = $par3 + 1 | 0; var$21 = nms_World_getBlockId($par1World, $par2, $var6, $par4); if (!var$21) var$6 = nms_Material_air; else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$21].$blockMaterial; } if (var$6 === nms_Material_air) { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $var6, $par4)]; if (!(var$12 !== null ? var$12.$isOpaqueCube() : 0)) { var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$30 = 17; var$9 = Long_lo(Long_shru(var$7, var$30)); while (true) { var$10 = var$9 % 100 | 0; if (((var$9 - var$10 | 0) + 99 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); } if (!var$10) { $var10 = $par2; var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; var$9 = 24; $var21 = $var10 + Long_lo(Long_shru(var$28, var$9)) / 1.6777216E7; $var22 = $par3 + $this.$maxY0; $var10 = $par4; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var23 = $var10 + Long_lo(Long_shru(var$7, var$9)) / 1.6777216E7; var$12 = $rt_s(1486); $var21_0 = 0.0; $var22_0 = 0.0; $var11 = 0.0; $var6 = 0; var$6 = $par1World.$worldAccesses; var$21 = $rt_compare($var6, var$6.$size0); if (var$21 < 0) { if ($var6 >= 0 && var$21 < 0) { var$6 = var$6.$array.data[$var6]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$12 = $rt_s(3003); var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var10 = 0.20000000298023224 + Long_lo(Long_shru(var$28, var$9)) / 1.6777216E7 * 0.20000000298023224; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$25 = 0.8999999761581421 + Long_lo(Long_shru(var$7, var$9)) / 1.6777216E7 * 0.15000000596046448; $var6 = 0; $ptr = 3; continue main; } var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); while (true) { var$10 = var$9 % 200 | 0; if (((var$9 - var$10 | 0) + 199 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); } if (!var$10) { $var21 = $par2; $var22 = $par3; $var23 = $par4; var$12 = $rt_s(3004); var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; var$25 = 0.20000000298023224 + Long_lo(Long_shru(var$28, 24)) / 1.6777216E7 * 0.20000000298023224; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var10 = 0.8999999761581421 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 * 0.15000000596046448; $var6 = 0; $ptr = 6; continue main; } } } } var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, 17)); while (true) { var$10 = var$9 % 10 | 0; if (((var$9 - var$10 | 0) + 9 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, 17)); } e: { if (!var$10) { $var6 = $par3 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $var6, $par4)], nms_World_getBlockMetadata($par1World, $par2, $var6, $par4))) { $var6 = nms_World_getBlockId($par1World, $par2, $par3 - 2 | 0, $par4); if (!(!$var6 ? nms_Material_air : nms_Block_blocksList.data[$var6].$blockMaterial).$blocksMovement()) { $var10 = $par2; var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var21_0 = $var10 + Long_lo(Long_shru(var$28, 24)) / 1.6777216E7; $var22_0 = $par3 - 1.05; $var10 = $par4; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var23_0 = $var10 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7; if ($this.$blockMaterial !== nms_Material_water) { $par5Random = $rt_s(1493); $var21 = 0.0; $var22 = 0.0; $var23 = 0.0; $par2 = 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 >= 0) break e; if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1492); $var21 = 0.0; $var22 = 0.0; $var23 = 0.0; $par2 = 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } } } } return; case 2: nms_RenderGlobal_doSpawnParticle(var$6, var$12, $var21, $var22, $var23, $var21_0, $var22_0, $var11); if ($rt_suspending()) { break main; } $var6 = $var6 + 1 | 0; var$6 = $par1World.$worldAccesses; var$21 = $rt_compare($var6, var$6.$size0); if (var$21 < 0) { if ($var6 >= 0 && var$21 < 0) { var$6 = var$6.$array.data[$var6]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6 = 0; var$22 = $par2 - 1 | 0; var$23 = $par4 - 1 | 0; var$24 = $par3 - 1 | 0; var$25 = $par2; var$26 = 24; var$13 = $par3; var$27 = $par4; $var22_0 = var$25 - 0.0625; $var21_0 = ($par2 + 1 | 0) + 0.0625; $var23 = var$27 - 0.0625; $var22 = ($par4 + 1 | 0) + 0.0625; $var21 = (-0.0625); var$7 = Long_fromInt(4); f: while (true) { if ($var6 >= 0) { if ($this.$blockMaterial === nms_Material_water) { var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; if (!Long_lo(Long_shr(Long_mul(Long_fromInt(64), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31))) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if ($var6 > 0 && $var6 < 8) { $var23 = $par2 + 0.5; $var21 = $par3 + 0.5; $var22 = $par4 + 0.5; var$12 = $rt_s(3002); var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var10 = Long_lo(Long_shru(var$28, 24)) / 1.6777216E7 * 0.25 + 0.75; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$25 = Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 * 1.0 + 0.5; $var6 = 0; $ptr = 1; continue main; } } } if ($this.$blockMaterial === nms_Material_lava) { $var6 = $par3 + 1 | 0; var$21 = nms_World_getBlockId($par1World, $par2, $var6, $par4); if (!var$21) var$6 = nms_Material_air; else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$21].$blockMaterial; } if (var$6 === nms_Material_air) { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $var6, $par4)]; if (!(var$12 !== null ? var$12.$isOpaqueCube() : 0)) { var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$30 = 17; var$9 = Long_lo(Long_shru(var$7, var$30)); while (true) { var$10 = var$9 % 100 | 0; if (((var$9 - var$10 | 0) + 99 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); } if (!var$10) { $var10 = $par2; var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; var$9 = 24; $var21 = $var10 + Long_lo(Long_shru(var$28, var$9)) / 1.6777216E7; $var22 = $par3 + $this.$maxY0; $var10 = $par4; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var23 = $var10 + Long_lo(Long_shru(var$7, var$9)) / 1.6777216E7; var$12 = $rt_s(1486); $var21_0 = 0.0; $var22_0 = 0.0; $var11 = 0.0; $var6 = 0; var$6 = $par1World.$worldAccesses; var$21 = $rt_compare($var6, var$6.$size0); if (var$21 < 0) { if ($var6 >= 0 && var$21 < 0) { var$6 = var$6.$array.data[$var6]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$12 = $rt_s(3003); var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var10 = 0.20000000298023224 + Long_lo(Long_shru(var$28, var$9)) / 1.6777216E7 * 0.20000000298023224; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$25 = 0.8999999761581421 + Long_lo(Long_shru(var$7, var$9)) / 1.6777216E7 * 0.15000000596046448; $var6 = 0; $ptr = 3; continue main; } var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); while (true) { var$10 = var$9 % 200 | 0; if (((var$9 - var$10 | 0) + 199 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); } if (!var$10) { $var21 = $par2; $var22 = $par3; $var23 = $par4; var$12 = $rt_s(3004); var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; var$25 = 0.20000000298023224 + Long_lo(Long_shru(var$28, 24)) / 1.6777216E7 * 0.20000000298023224; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var10 = 0.8999999761581421 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 * 0.15000000596046448; $var6 = 0; $ptr = 6; continue main; } } } } var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, 17)); while (true) { var$10 = var$9 % 10 | 0; if (((var$9 - var$10 | 0) + 9 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, 17)); } g: { if (!var$10) { $var6 = $par3 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $var6, $par4)], nms_World_getBlockMetadata($par1World, $par2, $var6, $par4))) { $var6 = nms_World_getBlockId($par1World, $par2, $par3 - 2 | 0, $par4); if (!(!$var6 ? nms_Material_air : nms_Block_blocksList.data[$var6].$blockMaterial).$blocksMovement()) { $var10 = $par2; var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var21_0 = $var10 + Long_lo(Long_shru(var$28, 24)) / 1.6777216E7; $var22_0 = $par3 - 1.05; $var10 = $par4; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var23_0 = $var10 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7; if ($this.$blockMaterial !== nms_Material_water) { $par5Random = $rt_s(1493); $var21 = 0.0; $var22 = 0.0; $var23 = 0.0; $par2 = 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 >= 0) break g; if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1492); $var21 = 0.0; $var22 = 0.0; $var23 = 0.0; $par2 = 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } } } } return; } var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var7 = Long_lo(Long_shr(Long_mul(var$7, Long_fromInt(Long_lo(Long_shru(var$28, var$8)))), 31)); var$21 = !$var7 ? var$22 : $par2; var$9 = $rt_compare($var7, 1); if (!var$9) var$21 = var$21 + 1 | 0; var$10 = $rt_compare($var7, 2); var$30 = !var$10 ? var$23 : $par4; var$31 = $rt_compare($var7, 3); if (!var$31) var$30 = var$30 + 1 | 0; var$32 = nms_World_getBlockId($par1World, var$21, $par3, var$30); if (!var$32) var$6 = nms_Material_air; else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$32].$blockMaterial; } h: { if (var$6 === nms_Material_air) { var$32 = nms_World_getBlockId($par1World, var$21, var$24, var$30); if (!var$32) var$12 = nms_Material_air; else { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[var$32].$blockMaterial; } if (!var$12.$blocksMovement()) { var$21 = nms_World_getBlockId($par1World, var$21, var$24, var$30); if (!var$21) var$12 = nms_Material_air; else { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[var$21].$blockMaterial; } if (!var$12.$isLiquid()) break h; } var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var11 = var$25 + Long_lo(Long_shru(var$28, var$26)) / 1.6777216E7; var$33 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$33; $var13 = var$13 + Long_lo(Long_shru(var$33, var$26)) / 1.6777216E7; var$28 = Long_and(Long_add(Long_mul(var$33, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var15 = var$27 + Long_lo(Long_shru(var$28, var$26)) / 1.6777216E7; if (!$var7) $var11 = $var22_0; if (!var$9) $var11 = $var21_0; if (!var$10) $var15 = $var23; if (!var$31) $var15 = $var22; $var17 = 0.0; $var19 = 0.0; if (!$var7) $var17 = $var21; if (!var$9) $var17 = 0.0625; if (!var$10) $var19 = $var21; if (!var$31) $var19 = 0.0625; var$12 = $rt_s(1241); $var23_0 = 0.0; var$21 = 0; var$6 = $par1World.$worldAccesses; var$9 = $rt_compare(var$21, var$6.$size0); if (var$9 < 0) break f; } } $var6 = $var6 + 1 | 0; } if (var$21 >= 0 && var$9 < 0) { var$6 = var$6.$array.data[var$21]; $ptr = 8; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 3: nms_WorldClient_playSound($par1World, $var21, $var22, $var23, var$12, $var10, var$25, $var6); if ($rt_suspending()) { break main; } var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); while (true) { var$10 = var$9 % 200 | 0; if (((var$9 - var$10 | 0) + 199 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); } if (!var$10) { $var21 = $par2; $var22 = $par3; $var23 = $par4; var$12 = $rt_s(3004); var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; var$25 = 0.20000000298023224 + Long_lo(Long_shru(var$28, 24)) / 1.6777216E7 * 0.20000000298023224; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var10 = 0.8999999761581421 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 * 0.15000000596046448; $var6 = 0; $ptr = 6; continue main; } var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, 17)); while (true) { var$10 = var$9 % 10 | 0; if (((var$9 - var$10 | 0) + 9 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, 17)); } f: { if (!var$10) { $var6 = $par3 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $var6, $par4)], nms_World_getBlockMetadata($par1World, $par2, $var6, $par4))) { $var6 = nms_World_getBlockId($par1World, $par2, $par3 - 2 | 0, $par4); if (!(!$var6 ? nms_Material_air : nms_Block_blocksList.data[$var6].$blockMaterial).$blocksMovement()) { $var10 = $par2; var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var21_0 = $var10 + Long_lo(Long_shru(var$28, 24)) / 1.6777216E7; $var22_0 = $par3 - 1.05; $var10 = $par4; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var23_0 = $var10 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7; if ($this.$blockMaterial !== nms_Material_water) { $par5Random = $rt_s(1493); $var21 = 0.0; $var22 = 0.0; $var23 = 0.0; $par2 = 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 >= 0) break f; if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1492); $var21 = 0.0; $var22 = 0.0; $var23 = 0.0; $par2 = 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } } } } return; case 4: nms_RenderGlobal_doSpawnParticle(var$12, $par5Random, $var21_0, $var22_0, $var23_0, $var21, $var22, $var23); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 5: nms_RenderGlobal_doSpawnParticle(var$12, $par5Random, $var21_0, $var22_0, $var23_0, $var21, $var22, $var23); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 6: nms_WorldClient_playSound($par1World, $var21, $var22, $var23, var$12, var$25, $var10, $var6); if ($rt_suspending()) { break main; } var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, 17)); while (true) { var$10 = var$9 % 10 | 0; if (((var$9 - var$10 | 0) + 9 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, 17)); } i: { if (!var$10) { $var6 = $par3 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $var6, $par4)], nms_World_getBlockMetadata($par1World, $par2, $var6, $par4))) { $var6 = nms_World_getBlockId($par1World, $par2, $par3 - 2 | 0, $par4); if (!(!$var6 ? nms_Material_air : nms_Block_blocksList.data[$var6].$blockMaterial).$blocksMovement()) { $var10 = $par2; var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var21_0 = $var10 + Long_lo(Long_shru(var$28, 24)) / 1.6777216E7; $var22_0 = $par3 - 1.05; $var10 = $par4; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var23_0 = $var10 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7; if ($this.$blockMaterial !== nms_Material_water) { $par5Random = $rt_s(1493); $var21 = 0.0; $var22 = 0.0; $var23 = 0.0; $par2 = 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 >= 0) break i; if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1492); $var21 = 0.0; $var22 = 0.0; $var23 = 0.0; $par2 = 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } } } } return; case 7: nms_RenderGlobal_doSpawnParticle(var$6, var$12, $var21, $var22, $var23, $var21_0, $var22_0, $var11); if ($rt_suspending()) { break main; } $var6 = $var6 + 1 | 0; var$6 = $par1World.$worldAccesses; var$21 = $rt_compare($var6, var$6.$size0); if (var$21 < 0) { if ($var6 >= 0 && var$21 < 0) { var$6 = var$6.$array.data[$var6]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$12 = $rt_s(3003); var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var10 = 0.20000000298023224 + Long_lo(Long_shru(var$28, var$9)) / 1.6777216E7 * 0.20000000298023224; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$25 = 0.8999999761581421 + Long_lo(Long_shru(var$7, var$9)) / 1.6777216E7 * 0.15000000596046448; $var6 = 0; $ptr = 3; continue main; case 8: nms_RenderGlobal_doSpawnParticle(var$6, var$12, $var11, $var13, $var15, $var17, $var23_0, $var19); if ($rt_suspending()) { break main; } var$21 = var$21 + 1 | 0; while (true) { var$6 = $par1World.$worldAccesses; var$9 = $rt_compare(var$21, var$6.$size0); if (var$9 < 0) break; while (true) { $var6 = $var6 + 1 | 0; if ($var6 >= 0) { if ($this.$blockMaterial === nms_Material_water) { var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; if (!Long_lo(Long_shr(Long_mul(Long_fromInt(64), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31))) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if ($var6 > 0 && $var6 < 8) { $var23 = $par2 + 0.5; $var21 = $par3 + 0.5; $var22 = $par4 + 0.5; var$12 = $rt_s(3002); var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var10 = Long_lo(Long_shru(var$28, 24)) / 1.6777216E7 * 0.25 + 0.75; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$25 = Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 * 1.0 + 0.5; $var6 = 0; $ptr = 1; continue main; } } } if ($this.$blockMaterial === nms_Material_lava) { $var6 = $par3 + 1 | 0; var$21 = nms_World_getBlockId($par1World, $par2, $var6, $par4); if (!var$21) var$6 = nms_Material_air; else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$21].$blockMaterial; } if (var$6 === nms_Material_air) { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $var6, $par4)]; if (!(var$12 !== null ? var$12.$isOpaqueCube() : 0)) { var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$30 = 17; var$9 = Long_lo(Long_shru(var$7, var$30)); while (true) { var$10 = var$9 % 100 | 0; if (((var$9 - var$10 | 0) + 99 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); } if (!var$10) { $var10 = $par2; var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; var$9 = 24; $var21 = $var10 + Long_lo(Long_shru(var$28, var$9)) / 1.6777216E7; $var22 = $par3 + $this.$maxY0; $var10 = $par4; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var23 = $var10 + Long_lo(Long_shru(var$7, var$9)) / 1.6777216E7; var$12 = $rt_s(1486); $var21_0 = 0.0; $var22_0 = 0.0; $var11 = 0.0; $var6 = 0; var$6 = $par1World.$worldAccesses; var$21 = $rt_compare($var6, var$6.$size0); if (var$21 < 0) { if ($var6 >= 0 && var$21 < 0) { var$6 = var$6.$array.data[$var6]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$12 = $rt_s(3003); var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var10 = 0.20000000298023224 + Long_lo(Long_shru(var$28, var$9)) / 1.6777216E7 * 0.20000000298023224; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$25 = 0.8999999761581421 + Long_lo(Long_shru(var$7, var$9)) / 1.6777216E7 * 0.15000000596046448; $var6 = 0; $ptr = 3; continue main; } var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); while (true) { var$10 = var$9 % 200 | 0; if (((var$9 - var$10 | 0) + 199 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, var$30)); } if (!var$10) { $var21 = $par2; $var22 = $par3; $var23 = $par4; var$12 = $rt_s(3004); var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; var$25 = 0.20000000298023224 + Long_lo(Long_shru(var$28, 24)) / 1.6777216E7 * 0.20000000298023224; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var10 = 0.8999999761581421 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 * 0.15000000596046448; $var6 = 0; $ptr = 6; continue main; } } } } var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, 17)); while (true) { var$10 = var$9 % 10 | 0; if (((var$9 - var$10 | 0) + 9 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; var$9 = Long_lo(Long_shru(var$7, 17)); } j: { if (!var$10) { $var6 = $par3 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $var6, $par4)], nms_World_getBlockMetadata($par1World, $par2, $var6, $par4))) { $var6 = nms_World_getBlockId($par1World, $par2, $par3 - 2 | 0, $par4); if (!(!$var6 ? nms_Material_air : nms_Block_blocksList.data[$var6].$blockMaterial).$blocksMovement()) { $var10 = $par2; var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var21_0 = $var10 + Long_lo(Long_shru(var$28, 24)) / 1.6777216E7; $var22_0 = $par3 - 1.05; $var10 = $par4; var$7 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var23_0 = $var10 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7; if ($this.$blockMaterial !== nms_Material_water) { $par5Random = $rt_s(1493); $var21 = 0.0; $var22 = 0.0; $var23 = 0.0; $par2 = 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 >= 0) break j; if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1492); $var21 = 0.0; $var22 = 0.0; $var23 = 0.0; $par2 = 0; var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$12.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$12 = var$12.$array.data[$par2]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } } } } return; } var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var7 = Long_lo(Long_shr(Long_mul(var$7, Long_fromInt(Long_lo(Long_shru(var$28, var$8)))), 31)); var$21 = !$var7 ? var$22 : $par2; var$9 = $rt_compare($var7, 1); if (!var$9) var$21 = var$21 + 1 | 0; var$10 = $rt_compare($var7, 2); var$30 = !var$10 ? var$23 : $par4; var$31 = $rt_compare($var7, 3); if (!var$31) var$30 = var$30 + 1 | 0; var$32 = nms_World_getBlockId($par1World, var$21, $par3, var$30); if (!var$32) var$6 = nms_Material_air; else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$32].$blockMaterial; } if (var$6 !== nms_Material_air) continue; var$32 = nms_World_getBlockId($par1World, var$21, var$24, var$30); if (!var$32) var$12 = nms_Material_air; else { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[var$32].$blockMaterial; } if (var$12.$blocksMovement()) break; var$21 = nms_World_getBlockId($par1World, var$21, var$24, var$30); if (!var$21) var$12 = nms_Material_air; else { nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[var$21].$blockMaterial; } if (!var$12.$isLiquid()) continue; else break; } var$28 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var11 = var$25 + Long_lo(Long_shru(var$28, var$26)) / 1.6777216E7; var$33 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$33; $var13 = var$13 + Long_lo(Long_shru(var$33, var$26)) / 1.6777216E7; var$28 = Long_and(Long_add(Long_mul(var$33, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$28; $var15 = var$27 + Long_lo(Long_shru(var$28, var$26)) / 1.6777216E7; if (!$var7) $var11 = $var22_0; if (!var$9) $var11 = $var21_0; if (!var$10) $var15 = $var23; if (!var$31) $var15 = $var22; $var17 = 0.0; $var19 = 0.0; if (!$var7) $var17 = $var21; if (!var$9) $var17 = 0.0625; if (!var$10) $var19 = $var21; if (!var$31) $var19 = 0.0625; var$12 = $rt_s(1241); $var23_0 = 0.0; var$21 = 0; } if (var$21 >= 0 && var$9 < 0) { var$6 = var$6.$array.data[var$21]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, var$6, var$7, var$8, var$9, var$10, $var6, var$12, var$13, $var21, $var22, $var10, $var23, $var21_0, $var22_0, $var11, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, $var7, var$30, var$31, var$32, var$33, $var13, $var15, $var17, $var19, $var23_0, $ptr); }, nms_BlockFluid_getFlowDirection = ($par0IBlockAccess, $par1, $par2, $par3, $par4Material) => { let $var5, var$7; $var5 = null; nms_Material_$callClinit(); if ($par4Material === nms_Material_water) { nms_Block_$callClinit(); $var5 = nms_BlockFluid_getFlowVector(nms_Block_waterMoving, $par0IBlockAccess, $par1, $par2, $par3); } if ($par4Material === nms_Material_lava) { nms_Block_$callClinit(); $var5 = nms_BlockFluid_getFlowVector(nms_Block_lavaMoving, $par0IBlockAccess, $par1, $par2, $par3); } var$7 = $var5.$xCoord; return var$7 === 0.0 && $var5.$zCoord === 0.0 ? (-1000.0) : jl_Math_atan2($var5.$zCoord, var$7) - 1.5707963267948966; }, nms_BlockFluid_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockFluid_checkForHarden($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $ptr); }, nms_BlockFluid_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockFluid_checkForHarden($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockFluid_checkForHarden = ($this, $par1World, $par2, $par3, $par4) => { let var$5, $var5, $var6, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nms_World_getBlockId($par1World, $par2, $par3, $par4) == $this.$blockID) { var$5 = $this.$blockMaterial; nms_Material_$callClinit(); if (var$5 === nms_Material_lava) { $var5 = 0; $var6 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); if (!$var6) var$8 = nms_Material_air; else { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var6].$blockMaterial; } if (var$8 === nms_Material_water) $var5 = 1; a: { if (!$var5) { $var6 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); if (!$var6) var$8 = nms_Material_air; else { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var6].$blockMaterial; } if (var$8 !== nms_Material_water) break a; } $var5 = 1; } b: { if (!$var5) { $var6 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); if (!$var6) var$8 = nms_Material_air; else { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var6].$blockMaterial; } if (var$8 !== nms_Material_water) break b; } $var5 = 1; } c: { if (!$var5) { $var6 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); if (!$var6) var$8 = nms_Material_air; else { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var6].$blockMaterial; } if (var$8 !== nms_Material_water) break c; } $var5 = 1; } d: { if (!$var5) { $var6 = nms_World_getBlockId($par1World, $par2, $par3 + 1 | 0, $par4); if (!$var6) var$8 = nms_Material_air; else { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var6].$blockMaterial; } if (var$8 !== nms_Material_water) break d; } $var5 = 1; } if ($var5) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if (!$var6) { nms_Block_$callClinit(); $var5 = nms_Block_obsidian.$blockID; $var6 = 0; var$9 = 3; $ptr = 1; continue main; } if ($var6 > 4) { $ptr = 2; continue main; } nms_Block_$callClinit(); $var5 = nms_Block_cobblestone.$blockID; $var6 = 0; var$9 = 3; $ptr = 3; continue main; } } } return; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, $var5, $var6, var$9); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_BlockFluid_triggerLavaMixEffects($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; case 3: nms_World_setBlock($par1World, $par2, $par3, $par4, $var5, $var6, var$9); if ($rt_suspending()) { break main; } $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, $var5, $var6, var$8, var$9, $ptr); }, nms_BlockFluid_triggerLavaMixEffects = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, $var5, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $par1World.$rand0; var$6 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$5.$seed = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5 = 0; while (true) { var$8 = $rt_compare($var5, $par1World.$worldAccesses.$size0); if (var$8 >= 0) { $var5 = 0; var$9 = $par2; var$10 = $par3 + 1.2; var$11 = $par4; while ($var5 < 8) { var$5 = $rt_s(1488); var$12 = var$9 + jl_Math_randomImpl(); var$13 = var$11 + jl_Math_randomImpl(); var$14 = 0.0; var$15 = 0.0; var$16 = 0.0; $par2 = 0; var$17 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$17.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$17 = var$17.$array.data[$par2]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var5 = $var5 + 1 | 0; } return; } if ($var5 < 0) break; if (var$8 >= 0) break; $var5 = $var5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 1: nms_RenderGlobal_doSpawnParticle(var$17, var$5, var$12, var$10, var$13, var$14, var$15, var$16); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; while (true) { var$17 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$17.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$17 = var$17.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var5 = $var5 + 1 | 0; if ($var5 >= 8) break; var$5 = $rt_s(1488); var$12 = var$9 + jl_Math_randomImpl(); var$13 = var$11 + jl_Math_randomImpl(); var$14 = 0.0; var$15 = 0.0; var$16 = 0.0; $par2 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, $var5, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_BlockFluid_registerIcons = ($this, $par1IconRegister) => { let var$2; var$2 = $this.$blockMaterial; nms_Material_$callClinit(); if (var$2 !== nms_Material_lava) $this.$theIcon = $rt_wrapArray(nms_Icon, [$par1IconRegister.$registerIcon($rt_s(1156), 1), $par1IconRegister.$registerIcon($rt_s(2542), 1)]); else $this.$theIcon = $rt_wrapArray(nms_Icon, [$par1IconRegister.$registerIcon($rt_s(2544), 1), $par1IconRegister.$registerIcon($rt_s(2543), 1)]); }, nms_BlockFluid_getFluidIcon = $par0Str => { if ($par0Str === $rt_s(1156)) { nms_Block_$callClinit(); $par0Str = nms_Block_waterMoving.$theIcon.data[0]; } else if ($par0Str === $rt_s(2542)) { nms_Block_$callClinit(); $par0Str = nms_Block_waterMoving.$theIcon.data[1]; } else if ($par0Str === $rt_s(2544)) { nms_Block_$callClinit(); $par0Str = nms_Block_lavaMoving.$theIcon.data[0]; } else if ($par0Str !== $rt_s(2543)) $par0Str = null; else { nms_Block_$callClinit(); $par0Str = nms_Block_lavaMoving.$theIcon.data[1]; } return $par0Str; }; function nms_BlockFlowing() { let a = this; nms_BlockFluid.call(a); a.$isOptimalFlowDirection = null; a.$flowCost = null; } let nms_BlockFlowing_getBlocksMovement = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let var$5; var$5 = $this.$blockMaterial; nms_Material_$callClinit(); return var$5 === nms_Material_lava ? 0 : 1; }, nms_BlockFlowing_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockFluid_checkForHarden($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } if (nms_World_getBlockId($par1World, $par2, $par3, $par4) == $this.$blockID) { var$5 = $this.$blockMaterial; nms_Material_$callClinit(); var$5 !== nms_Material_water && var$5 === nms_Material_lava && !$par1World.$provider.$hasNoSky; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, $ptr); }, nms_BlockStationary = $rt_classWithoutFields(nms_BlockFluid), nms_BlockStationary_getBlocksMovement = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let var$5; var$5 = $this.$blockMaterial; nms_Material_$callClinit(); return var$5 === nms_Material_lava ? 0 : 1; }, nms_BlockStationary_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockFluid_checkForHarden($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } if (nms_World_getBlockId($par1World, $par2, $par3, $par4) != $this.$blockID) return; var$6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$7 = $this.$blockID - 1 | 0; $par5 = 2; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$7, var$6, $par5); if ($rt_suspending()) { break main; } var$8 = $this.$blockMaterial; nms_Material_$callClinit(); var$8 !== nms_Material_water && var$8 === nms_Material_lava && !$par1World.$provider.$hasNoSky; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, $ptr); }, nms_BlockSand = $rt_classWithoutFields(nms_Block), nms_BlockSand_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { return; }, nms_BlockSand_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { return; }, nms_BlockSand_tickRate = ($this, $par1World) => { return 2; }, nms_BlockSand_canFallBelow = ($par0World, $par1, $par2, $par3) => { let $var4, $var5; $var4 = nms_World_getBlockId($par0World, $par1, $par2, $par3); if (!$var4) return 1; nms_Block_$callClinit(); if ($var4 == nms_Block_fire.$blockID) return 1; $var5 = nms_Block_blocksList.data[$var4].$blockMaterial; nms_Material_$callClinit(); return $var5 === nms_Material_water ? 1 : $var5 !== nms_Material_lava ? 0 : 1; }, nms_BlockSand_onFinishFalling = ($this, $par1World, $par2, $par3, $par4, $par5) => { return; }, nms_BlockGravel = $rt_classWithoutFields(nms_BlockSand), nms_BlockGravel__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_sand); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockGravel__init_ = var_0 => { let var_1 = new nms_BlockGravel(); nms_BlockGravel__init_0(var_1, var_0); return var_1; }, nms_BlockGravel_idDropped = ($this, $par1, $par2Random, $par3) => { let var$4, var$5, var$6, var$7; if ($par3 > 3) $par3 = 3; $par1 = 10 - ($par3 * 3 | 0) | 0; var$4 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); var$6 = $par1 - 1 | 0; if (!($par1 & var$6)) var$7 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt(var$5)), 31)); else while (true) { var$7 = var$5 % $par1 | 0; if (((var$5 - var$7 | 0) + var$6 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } if (var$7) $par1 = $this.$blockID; else { nms_Item_$callClinit(); $par1 = nms_Item_flint.$itemID0; } return $par1; }, nms_BlockOre = $rt_classWithoutFields(nms_Block), nms_BlockOre__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockOre__init_ = var_0 => { let var_1 = new nms_BlockOre(); nms_BlockOre__init_0(var_1, var_0); return var_1; }, nms_BlockOre_idDropped = ($this, $par1, $par2Random, $par3) => { $par1 = $this.$blockID; nms_Block_$callClinit(); if ($par1 == nms_Block_oreCoal.$blockID) { nms_Item_$callClinit(); $par1 = nms_Item_coal.$itemID0; } else if ($par1 == nms_Block_oreDiamond.$blockID) { nms_Item_$callClinit(); $par1 = nms_Item_diamond.$itemID0; } else if ($par1 == nms_Block_oreLapis.$blockID) { nms_Item_$callClinit(); $par1 = nms_Item_dyePowder.$itemID0; } else if ($par1 == nms_Block_oreEmerald.$blockID) { nms_Item_$callClinit(); $par1 = nms_Item_emerald.$itemID0; } else if ($par1 == nms_Block_oreNetherQuartz.$blockID) { nms_Item_$callClinit(); $par1 = nms_Item_netherQuartz.$itemID0; } return $par1; }, nms_BlockOre_quantityDropped = ($this, $par1Random) => { let var$2, var$3, var$4, var$5; var$2 = $this.$blockID; nms_Block_$callClinit(); if (var$2 != nms_Block_oreLapis.$blockID) var$2 = 1; else { var$3 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 5 | 0; if (((var$4 - var$5 | 0) + 4 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } var$2 = 4 + var$5 | 0; } return var$2; }, nms_BlockOre_quantityDroppedWithBonus = ($this, $par1, $par2Random) => { let var$3, var$4, $var3, var$6, var$7, var$8, var$9; if ($par1 > 0 && $this.$blockID != nms_BlockOre_idDropped($this, 0, $par2Random, $par1)) { $par1 = $par1 + 2 | 0; var$3 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); $var3 = $par1 - 1 | 0; if (!($par1 & $var3)) var$6 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt(var$4)), 31)); else while (true) { var$6 = var$4 % $par1 | 0; if (((var$4 - var$6 | 0) + $var3 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } $var3 = var$6 - 1 | 0; if ($var3 < 0) $var3 = 0; $par1 = $this.$blockID; nms_Block_$callClinit(); if ($par1 != nms_Block_oreLapis.$blockID) var$6 = 1; else { var$3 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$3; var$7 = Long_lo(Long_shru(var$3, 17)); while (true) { var$8 = var$7 % 5 | 0; if (((var$7 - var$8 | 0) + 4 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$3; var$7 = Long_lo(Long_shru(var$3, 17)); } var$6 = 4 + var$8 | 0; } return $rt_imul(var$6, $var3 + 1 | 0); } $par1 = $this.$blockID; nms_Block_$callClinit(); if ($par1 != nms_Block_oreLapis.$blockID) $par1 = 1; else { var$3 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$9 = var$4 % 5 | 0; if (((var$4 - var$9 | 0) + 4 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } $par1 = 4 + var$9 | 0; } return $par1; }, nms_BlockOre_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7); if ($rt_suspending()) { break main; } $par5 = nms_BlockOre_idDropped($this, $par5, $par1World.$rand0, $par7); $par7 = $this.$blockID; if ($par5 != $par7) { $var8 = 0; if ($par7 == nms_Block_oreCoal.$blockID) { var$9 = $par1World.$rand0; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); while (true) { var$12 = var$11 % 3 | 0; if (((var$11 - var$12 | 0) + 2 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); } $var8 = var$12 + 0 | 0; } else if ($par7 == nms_Block_oreDiamond.$blockID) { var$9 = $par1World.$rand0; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$13 = Long_lo(Long_shru(var$10, 17)); while (true) { var$11 = var$13 % 5 | 0; if (((var$13 - var$11 | 0) + 4 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$13 = Long_lo(Long_shru(var$10, 17)); } $var8 = var$11 + 3 | 0; } else if ($par7 == nms_Block_oreEmerald.$blockID) { var$9 = $par1World.$rand0; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$13 = Long_lo(Long_shru(var$10, 17)); while (true) { var$11 = var$13 % 5 | 0; if (((var$13 - var$11 | 0) + 4 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$13 = Long_lo(Long_shru(var$10, 17)); } $var8 = var$11 + 3 | 0; } else if ($par7 == nms_Block_oreLapis.$blockID) { var$9 = $par1World.$rand0; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; $var8 = Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$10, 17)))), 31)) + 2 | 0; } else if ($par7 == nms_Block_oreNetherQuartz.$blockID) { var$9 = $par1World.$rand0; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; $var8 = Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$10, 17)))), 31)) + 2 | 0; } if (!$par1World.$isRemote) { var$14 = $par2 + 0.5; var$15 = $par3 + 0.5; var$16 = $par4 + 0.5; if ($var8 > 0) { $par2 = nms_EntityXPOrb_getXPSplit($var8); $var8 = $var8 - $par2 | 0; var$9 = new nms_EntityXPOrb; $ptr = 2; continue main; } } } return; case 2: nms_EntityXPOrb__init_(var$9, $par1World, var$14, var$15, var$16, $par2); if ($rt_suspending()) { break main; } $par2 = nms_World_spawnEntityInWorld($par1World, var$9); var$17 = $par1World.$entityList; ju_HashMap_putImpl(var$17.$backingMap, var$9, var$17); if (!$par2) { var$17 = $par1World.$entitySpawnQueue; ju_HashMap_putImpl(var$17.$backingMap, var$9, var$17); } if ($var8 <= 0) return; $par2 = nms_EntityXPOrb_getXPSplit($var8); $var8 = $var8 - $par2 | 0; var$9 = new nms_EntityXPOrb; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_BlockOre_damageDropped = ($this, $par1) => { $par1 = $this.$blockID; nms_Block_$callClinit(); return $par1 != nms_Block_oreLapis.$blockID ? 0 : 4; }; function nms_BlockRotatedPillar() { nms_Block.call(this); this.$field_111051_a = null; } let nms_BlockRotatedPillar_getRenderType = $this => { return 31; }, nms_BlockRotatedPillar_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { let $var10, $var11; a: { $var10 = $par9 & 3; $var11 = 0; switch ($par5) { case 0: case 1: $var11 = 0; break a; case 2: case 3: $var11 = 8; break a; case 4: case 5: $var11 = 4; break a; default: } } return $var10 | $var11; }, nms_BlockRotatedPillar_getIcon = ($this, $par1, $par2) => { let $var3, $var4, var$5; a: { $var3 = $par2 & 12; $var4 = $par2 & 3; if (!$var3 && !($par1 != 1 && $par1)) var$5 = $this.$getEndIcon($var4); else if ($var3 == 4 && !($par1 != 5 && $par1 != 4)) var$5 = $this.$getEndIcon($var4); else { b: { if ($var3 == 8) { if ($par1 == 2) break b; if ($par1 == 3) break b; } var$5 = $this.$getSideIcon($var4); break a; } var$5 = $this.$getEndIcon($var4); } } return var$5; }, nms_BlockRotatedPillar_getEndIcon = ($this, $par1) => { return $this.$field_111051_a; }, nms_BlockRotatedPillar_damageDropped = ($this, $par1) => { return $par1 & 3; }; function nms_BlockLog() { let a = this; nms_BlockRotatedPillar.call(a); a.$field_111052_c = null; a.$tree_top = null; } let nms_BlockLog_woodType = null, nms_BlockLog__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_wood); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockLog__init_ = var_0 => { let var_1 = new nms_BlockLog(); nms_BlockLog__init_0(var_1, var_0); return var_1; }, nms_BlockLog_quantityDropped = ($this, $par1Random) => { return 1; }, nms_BlockLog_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_wood.$blockID; }, nms_BlockLog_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var9, $var10, $var11, var$11, var$12, var$13, $var12, $var13, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var7 = 4; if (nms_World_checkChunksExist($par1World, $par2 - 5 | 0, $par3 - 5 | 0, $par4 - 5 | 0, $par2 + 5 | 0, $par3 + 5 | 0, $par4 + 5 | 0)) { $par5 = (-4); $var9 = $par5; while (true) { if ($var9 > $var7) break a; $var10 = $par5; while ($var10 <= $var7) { $var11 = $par5; while ($var11 <= $var7) { var$11 = $par2 + $var9 | 0; var$12 = $par3 + $var10 | 0; var$13 = $par4 + $var11 | 0; $var12 = nms_World_getBlockId($par1World, var$11, var$12, var$13); nms_Block_$callClinit(); if ($var12 == nms_Block_leaves.$blockID) { $var13 = nms_World_getBlockMetadata($par1World, var$11, var$12, var$13); if (!($var13 & 8)) { $par6 = $var13 | 8; $var8 = 4; $ptr = 1; continue main; } } $var11 = $var11 + 1 | 0; } $var10 = $var10 + 1 | 0; } $var9 = $var9 + 1 | 0; } } } return; case 1: nms_World_setBlockMetadataWithNotify($par1World, var$11, var$12, var$13, $par6, $var8); if ($rt_suspending()) { break main; } a: while (true) { $var11 = $var11 + 1 | 0; while ($var11 > $var7) { $var10 = $var10 + 1 | 0; while ($var10 > $var7) { $var9 = $var9 + 1 | 0; if ($var9 > $var7) break a; $var10 = $par5; } $var11 = $par5; } var$11 = $par2 + $var9 | 0; var$12 = $par3 + $var10 | 0; var$13 = $par4 + $var11 | 0; $var12 = nms_World_getBlockId($par1World, var$11, var$12, var$13); nms_Block_$callClinit(); if ($var12 != nms_Block_leaves.$blockID) continue; $var13 = nms_World_getBlockMetadata($par1World, var$11, var$12, var$13); if ($var13 & 8) continue; else { $par6 = $var13 | 8; $var8 = 4; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, $var9, $var10, $var11, var$11, var$12, var$13, $var12, $var13, $var8, $ptr); }, nms_BlockLog_getSideIcon = ($this, $par1) => { return $this.$field_111052_c.data[$par1]; }, nms_BlockLog_getEndIcon = ($this, $par1) => { return $this.$tree_top.data[$par1]; }, nms_BlockLog_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let var$4, var$5, var$6, var$7; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$6 = var$5 + 1 | 0; $par3List.$size0 = var$6; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 1; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; var$6 = var$7 + 1 | 0; $par3List.$size0 = var$6; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 2; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$7 = var$5 + 1 | 0; $par3List.$size0 = var$7; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 3; ju_ArrayList_ensureCapacity($par3List, var$7 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; }, nms_BlockLog_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $var2 = nms_BlockLog_woodType.data.length; $this.$field_111052_c = $rt_createArray(nms_Icon, $var2); $this.$tree_top = $rt_createArray(nms_Icon, $var2); $var2 = 0; a: { b: { c: { d: { while (true) { var$3 = $this.$field_111052_c.data; if ($var2 >= var$3.length) break; var$4 = $this.$textureName; if (var$4 === null) { var$5 = $this.$blockID; var$4 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10); var$7 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$7, var$7 + 1 | 0); var$6.$buffer.data[var$7] = 95; var$7 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$7, var$4); var$4 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; var$7 = var$6.$length0; var$10 = var$9.length; if (var$7 < 0) break c; if (var$7 > (var$10 - 0 | 0)) break c; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$7); } var$6 = nms_BlockLog_woodType.data[$var2]; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, var$4); var$10 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$10, var$10 + 1 | 0); var$11.$buffer.data[var$10] = 95; var$7 = var$11.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$11, var$7, var$6); var$4 = new jl_String; var$8 = var$11.$buffer; var$9 = var$8.data; var$10 = var$11.$length0; var$5 = var$9.length; if (var$10 < 0) break a; if (var$10 > (var$5 - 0 | 0)) break a; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$10); var$3[$var2] = $par1IconRegister.$registerIcon(var$4, 1); var$3 = $this.$tree_top; var$4 = $this.$textureName; if (var$4 === null) { var$7 = $this.$blockID; var$4 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$7, 10); var$10 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$10, var$10 + 1 | 0); var$6.$buffer.data[var$10] = 95; var$7 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$7, var$4); var$4 = new jl_String; var$9 = var$6.$buffer; var$8 = var$9.data; var$10 = var$6.$length0; var$5 = var$8.length; if (var$10 < 0) break d; if (var$10 > (var$5 - 0 | 0)) break d; var$4.$nativeString = $rt_charArrayToString(var$9.data, 0, var$10); } var$6 = nms_BlockLog_woodType.data[$var2]; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, var$4); var$7 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$7, var$7 + 1 | 0); var$11.$buffer.data[var$7] = 95; var$7 = var$11.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$11, var$7, var$6); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(2999)); var$4 = new jl_String; var$8 = var$11.$buffer; var$9 = var$8.data; var$7 = var$11.$length0; var$10 = var$9.length; if (var$7 < 0) break b; if (var$7 > (var$10 - 0 | 0)) break b; var$9 = var$3.data; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$7); var$9[$var2] = $par1IconRegister.$registerIcon(var$4, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockLog__clinit_ = () => { nms_BlockLog_woodType = $rt_wrapArray(jl_String, [$rt_s(72), $rt_s(73), $rt_s(74), $rt_s(75)]); }; function nms_BlockLeavesBase() { nms_Block.call(this); this.$graphicsLevel = 0; } let nms_BlockLeavesBase_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6; $var6 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); return !$this.$graphicsLevel && $var6 == $this.$blockID ? 0 : nms_Block_shouldSideBeRendered($this, $par1IBlockAccess, $par2, $par3, $par4, $par5); }; function nms_BlockLeaves() { let a = this; nms_BlockLeavesBase.call(a); a.$iconType = 0; a.$iconArray0 = null; } let nms_BlockLeaves_LEAF_TYPES = null, nms_BlockLeaves_field_94396_b = null, nms_BlockLeaves__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_leaves); $this.$graphicsLevel = 0; $this.$iconArray0 = $rt_createArray($rt_arraycls(nms_Icon), 2); $this.$needsRandomTick = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockLeaves__init_ = var_0 => { let var_1 = new nms_BlockLeaves(); nms_BlockLeaves__init_0(var_1, var_0); return var_1; }, nms_BlockLeaves_getBlockColor = $this => { return nms_ColorizerFoliage_foliageBuffer.data[32639]; }, nms_BlockLeaves_getRenderColor = ($this, $par1) => { $par1 = $par1 & 3; return $par1 == 1 ? 6396257 : $par1 != 2 ? 4764952 : 8431445; }, nms_BlockLeaves_colorMultiplier = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var6, $var7, $var8, $var9, $var10, $var11; $par3 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) & 3; if ($par3 == 1) return 6396257; if ($par3 == 2) return 8431445; $var6 = 0; $var7 = 0; $var8 = 0; $var9 = (-1); while ($var9 <= 1) { $var10 = (-1); while ($var10 <= 1) { $var11 = ($par1IBlockAccess.$getBiomeGenForCoords($par2 + $var10 | 0, $par4 + $var9 | 0)).$getBiomeFoliageColor(); $var6 = $var6 + (($var11 & 16711680) >> 16) | 0; $var7 = $var7 + (($var11 & 65280) >> 8) | 0; $var8 = $var8 + ($var11 & 255) | 0; $var10 = $var10 + 1 | 0; } $var9 = $var9 + 1 | 0; } return (($var6 / 9 | 0) & 255) << 16 | (($var7 / 9 | 0) & 255) << 8 | ($var8 / 9 | 0) & 255; }, nms_BlockLeaves_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var9, $var10, $var11, var$11, var$12, var$13, $var12, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var7 = 1; if (nms_World_checkChunksExist($par1World, $par2 - 2 | 0, $par3 - 2 | 0, $par4 - 2 | 0, $par2 + 2 | 0, $par3 + 2 | 0, $par4 + 2 | 0)) { $par5 = (-1); $var9 = $par5; while (true) { if ($var9 > $var7) break a; $var10 = $par5; while ($var10 <= $var7) { $var11 = $par5; while ($var11 <= $var7) { var$11 = $par2 + $var9 | 0; var$12 = $par3 + $var10 | 0; var$13 = $par4 + $var11 | 0; $var12 = nms_World_getBlockId($par1World, var$11, var$12, var$13); nms_Block_$callClinit(); if ($var12 == nms_Block_leaves.$blockID) { $par6 = nms_World_getBlockMetadata($par1World, var$11, var$12, var$13) | 8; $var8 = 4; $ptr = 1; continue main; } $var11 = $var11 + 1 | 0; } $var10 = $var10 + 1 | 0; } $var9 = $var9 + 1 | 0; } } } return; case 1: nms_World_setBlockMetadataWithNotify($par1World, var$11, var$12, var$13, $par6, $var8); if ($rt_suspending()) { break main; } a: while (true) { $var11 = $var11 + 1 | 0; while ($var11 > $var7) { $var10 = $var10 + 1 | 0; while ($var10 > $var7) { $var9 = $var9 + 1 | 0; if ($var9 > $var7) break a; $var10 = $par5; } $var11 = $par5; } var$11 = $par2 + $var9 | 0; var$12 = $par3 + $var10 | 0; var$13 = $par4 + $var11 | 0; $var12 = nms_World_getBlockId($par1World, var$11, var$12, var$13); nms_Block_$callClinit(); if ($var12 != nms_Block_leaves.$blockID) continue; else { $par6 = nms_World_getBlockMetadata($par1World, var$11, var$12, var$13) | 8; $var8 = 4; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, $var9, $var10, $var11, var$11, var$12, var$13, $var12, $var8, $ptr); }, nms_BlockLeaves_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var6, $var8, $var10, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $par3 + 1 | 0; var$7 = $par1World.$prevRainingStrength; if (!(var$7 + ($par1World.$rainingStrength - var$7) * 1.0 <= 0.2 ? 0 : 1)) var$8 = 0; else { var$9 = $par2 >> 4; var$8 = $par4 >> 4; var$10 = $par1World.$chunkProvider; var$11 = var$10.$chunkMapping; var$12 = Long_or(Long_and(Long_fromInt(var$9), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$8), Long_create(4294967295, 0)), 32)); var$8 = Long_lo(Long_xor(var$12, Long_shru(var$12, 32))); var$8 = var$8 ^ (var$8 >>> 20 | 0) ^ (var$8 >>> 12 | 0); var$13 = var$8 ^ (var$8 >>> 7 | 0) ^ (var$8 >>> 4 | 0); var$14 = var$11.$hashArray.data; var$11 = var$14[var$13 & (var$14.length - 1 | 0)]; a: { while (var$11 !== null) { if (Long_eq(var$11.$key1, var$12)) { var$11 = var$11.$value6; break a; } var$11 = var$11.$nextEntry0; } var$11 = null; } var$11 = var$11; if (var$11 === null) var$11 = var$10.$blankChunk; var$15 = $par2 & 15; var$16 = $par4 & 15; if (!var$11.$canBlockSeeTheSky(var$15, var$6, var$16)) var$8 = 0; else { var$10 = $par1World.$chunkProvider; var$14 = var$10.$chunkMapping.$hashArray.data; var$11 = var$14[var$13 & (var$14.length - 1 | 0)]; b: { while (var$11 !== null) { if (Long_eq(var$11.$key1, var$12)) { var$11 = var$11.$value6; break b; } var$11 = var$11.$nextEntry0; } var$11 = null; } var$11 = var$11; if (var$11 === null) var$11 = var$10.$blankChunk; if (nms_Chunk_getPrecipitationHeight(var$11, var$15, var$16) > var$6) var$8 = 0; else { var$10 = $par1World.$chunkProvider; var$14 = var$10.$chunkMapping.$hashArray.data; var$11 = var$14[var$13 & (var$14.length - 1 | 0)]; c: { while (var$11 !== null) { if (Long_eq(var$11.$key1, var$12)) { var$11 = var$11.$value6; break c; } var$11 = var$11.$nextEntry0; } var$11 = null; } var$11 = var$11; if (var$11 === null) var$11 = var$10.$blankChunk; var$10 = var$11 === null ? $par1World.$provider.$worldChunkMgr.$getBiomeGenAt($par2, $par4) : nms_Chunk_getBiomeGenForWorldCoords(var$11, var$15, var$16, $par1World.$provider.$worldChunkMgr); var$8 = var$10.$enableSnow; var$8 = var$8 ? 0 : !var$8 ? var$10.$enableRain : 0; } } } if (var$8) { var$8 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$8, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$8, $par4))) { var$17 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$17; var$15 = Long_lo(Long_shru(var$17, 17)); while (true) { var$16 = var$15 % 15 | 0; if (((var$15 - var$16 | 0) + 14 | 0) >= 0) break; var$17 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$17; var$15 = Long_lo(Long_shru(var$17, 17)); } if (var$16 == 1) { var$18 = $par2; var$17 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$17; $var6 = var$18 + Long_lo(Long_shru(var$17, 24)) / 1.6777216E7; $var8 = $par3 - 0.05; var$18 = $par4; var$17 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$17; $var10 = var$18 + Long_lo(Long_shru(var$17, 24)) / 1.6777216E7; $par5Random = $rt_s(1492); var$22 = 0.0; var$23 = 0.0; var$24 = 0.0; $par2 = 0; var$10 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$10.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$10 = var$10.$array.data[$par2]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } } } return; case 1: nms_RenderGlobal_doSpawnParticle(var$10, $par5Random, $var6, $var8, $var10, var$22, var$23, var$24); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$10 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$10.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$10 = var$10.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var6, $var8, $var10, var$22, var$23, var$24, $ptr); }, nms_BlockLeaves_quantityDropped = ($this, $par1Random) => { let var$2, var$3, var$4; var$2 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { var$4 = var$3 % 20 | 0; if (((var$3 - var$4 | 0) + 19 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } return var$4 ? 0 : 1; }, nms_BlockLeaves_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_sapling.$blockID; }, nms_BlockLeaves_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, var$9, var$10, var$11, var$12, $var9, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var9 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1World.$isRemote) { $var8 = 20; $par5 = $par5 & 3; if ($par5 == 3) $var8 = 40; if ($par7 > 0) { $var8 = $var8 - (2 << $par7) | 0; if ($var8 < 10) $var8 = 10; } var$9 = $par1World.$rand0; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$11 = 17; var$12 = Long_lo(Long_shru(var$10, var$11)); $var9 = $var8 - 1 | 0; if (!($var8 & $var9)) var$14 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt(var$12)), 31)); else while (true) { var$14 = var$12 % $var8 | 0; if (((var$12 - var$14 | 0) + $var9 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$12 = Long_lo(Long_shru(var$10, var$11)); } if (!var$14) { nms_Block_$callClinit(); $var9 = nms_Block_sapling.$blockID; var$9 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$9.$itemID = $var9; var$9.$stackSize = 1; var$9.$itemDamage = $par5; if ($par5 < 0) var$9.$itemDamage = 0; $ptr = 1; continue main; } $var8 = 200; if ($par7 > 0) { $var8 = $var8 - (10 << $par7) | 0; if ($var8 < 40) $var8 = 40; } if (!$par5) { var$9 = $par1World.$rand0; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; $var9 = Long_lo(Long_shru(var$10, var$11)); $par5 = $var8 - 1 | 0; if (!($var8 & $par5)) $par7 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var9)), 31)); else while (true) { $par7 = $var9 % $var8 | 0; if ((($var9 - $par7 | 0) + $par5 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; $var9 = Long_lo(Long_shru(var$10, var$11)); } if (!$par7) { var$9 = new nms_ItemStack; nms_Item_$callClinit(); var$15 = nms_Item_appleRed; nms_ItemStack_$callClinit(); var$9.$itemID = var$15.$itemID0; var$9.$stackSize = 1; var$9.$itemDamage = 0; $ptr = 2; continue main; } } } return; case 1: nms_Block_dropBlockAsItem_do($this, $par1World, $par2, $par3, $par4, var$9); if ($rt_suspending()) { break main; } $var8 = 200; if ($par7 > 0) { $var8 = $var8 - (10 << $par7) | 0; if ($var8 < 40) $var8 = 40; } if (!$par5) { var$9 = $par1World.$rand0; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; $var9 = Long_lo(Long_shru(var$10, var$11)); $par5 = $var8 - 1 | 0; if (!($var8 & $par5)) $par7 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var9)), 31)); else while (true) { $par7 = $var9 % $var8 | 0; if ((($var9 - $par7 | 0) + $par5 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; $var9 = Long_lo(Long_shru(var$10, var$11)); } if (!$par7) { var$9 = new nms_ItemStack; nms_Item_$callClinit(); var$15 = nms_Item_appleRed; nms_ItemStack_$callClinit(); var$9.$itemID = var$15.$itemID0; var$9.$stackSize = 1; var$9.$itemDamage = 0; $ptr = 2; continue main; } } return; case 2: nms_Block_dropBlockAsItem_do($this, $par1World, $par2, $par3, $par4, var$9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $var8, var$9, var$10, var$11, var$12, $var9, var$14, var$15, $ptr); }, nms_BlockLeaves_damageDropped = ($this, $par1) => { return $par1 & 3; }, nms_BlockLeaves_isOpaqueCube = $this => { return $this.$graphicsLevel ? 0 : 1; }, nms_BlockLeaves_getIcon = ($this, $par1, $par2) => { $par1 = $par2 & 3; return $par1 == 1 ? $this.$iconArray0.data[$this.$iconType].data[1] : $par1 == 3 ? $this.$iconArray0.data[$this.$iconType].data[3] : $par1 != 2 ? $this.$iconArray0.data[$this.$iconType].data[0] : $this.$iconArray0.data[$this.$iconType].data[2]; }, nms_BlockLeaves_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let var$4, var$5, var$6, var$7; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$6 = var$5 + 1 | 0; $par3List.$size0 = var$6; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 1; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; var$6 = var$7 + 1 | 0; $par3List.$size0 = var$6; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 2; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$7 = var$5 + 1 | 0; $par3List.$size0 = var$7; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 3; ju_ArrayList_ensureCapacity($par3List, var$7 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; }, nms_BlockLeaves_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, $var3; $var2 = 0; while (true) { var$3 = nms_BlockLeaves_field_94396_b.data; if ($var2 >= var$3.length) break; $this.$iconArray0.data[$var2] = $rt_createArray(nms_Icon, var$3[$var2].data.length); $var3 = 0; while (true) { var$3 = nms_BlockLeaves_field_94396_b.data; if ($var3 >= var$3[$var2].data.length) break; $this.$iconArray0.data[$var2].data[$var3] = $par1IconRegister.$registerIcon(var$3[$var2].data[$var3], 1); $var3 = $var3 + 1 | 0; } $var2 = $var2 + 1 | 0; } }, nms_BlockLeaves__clinit_ = () => { let var$1, var$2; nms_BlockLeaves_LEAF_TYPES = $rt_wrapArray(jl_String, [$rt_s(72), $rt_s(73), $rt_s(74), $rt_s(75)]); var$1 = $rt_createArray($rt_arraycls(jl_String), 2); var$2 = var$1.data; var$2[0] = $rt_wrapArray(jl_String, [$rt_s(3005), $rt_s(3006), $rt_s(3007), $rt_s(3008)]); var$2[1] = $rt_wrapArray(jl_String, [$rt_s(3009), $rt_s(3010), $rt_s(3011), $rt_s(3012)]); nms_BlockLeaves_field_94396_b = var$1; }, nms_BlockSponge = $rt_classWithoutFields(nms_Block), nms_BlockSponge__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_sponge); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockSponge__init_0 = var_0 => { let var_1 = new nms_BlockSponge(); nms_BlockSponge__init_(var_1, var_0); return var_1; }; function nms_BlockBreakable() { let a = this; nms_Block.call(a); a.$localFlag = 0; a.$breakableBlockIcon = null; } let nms_BlockBreakable_isOpaqueCube = $this => { return 0; }, nms_BlockBreakable_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6; $var6 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); return !$this.$localFlag && $var6 == $this.$blockID ? 0 : nms_Block_shouldSideBeRendered($this, $par1IBlockAccess, $par2, $par3, $par4, $par5); }, nms_BlockBreakable_registerIcons = ($this, $par1IconRegister) => { $this.$blockIcon = $par1IconRegister.$registerIcon($this.$breakableBlockIcon, 1); }, nms_BlockGlass = $rt_classWithoutFields(nms_BlockBreakable), nms_BlockGlass__init_ = ($this, $par1, $par2Material, $par3) => { nms_Block__init_($this, $par1, $par2Material); $this.$localFlag = $par3; $this.$breakableBlockIcon = $rt_s(2554); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockGlass__init_0 = (var_0, var_1, var_2) => { let var_3 = new nms_BlockGlass(); nms_BlockGlass__init_(var_3, var_0, var_1, var_2); return var_3; }, nms_BlockGlass_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockGlass_getRenderBlockPass = $this => { return 0; }, nms_BlockGlass_isOpaqueCube = $this => { return 0; }, nms_BlockGlass_renderAsNormalBlock = $this => { return 0; }, nms_ITileEntityProvider = $rt_classWithoutFields(0), nms_BlockContainer = $rt_classWithoutFields(nms_Block), nms_BlockContainer_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { return; }, nms_BlockContainer_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_World_removeBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $ptr); }, nms_BlockContainer_onBlockEventReceived = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var7 = $tmp; return $var7 === null ? 0 : $var7.$receiveClientEvent($par5, $par6); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, $ptr); }; function nms_BlockDispenser() { let a = this; nms_BlockContainer.call(a); a.$random1 = null; a.$furnaceTopIcon = null; a.$furnaceFrontIcon = null; a.$field_96473_e = null; } let nms_BlockDispenser_dispenseBehaviorRegistry = null, nms_BlockDispenser__init_ = ($this, $par1) => { let var$2, var$3; nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); $this.$isBlockContainer = 1; var$2 = new nle_EaglercraftRandom; var$3 = Long_fromNumber(performance.now() * 1000000.0); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = var$3; $this.$random1 = var$2; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; }, nms_BlockDispenser__init_0 = var_0 => { let var_1 = new nms_BlockDispenser(); nms_BlockDispenser__init_(var_1, var_0); return var_1; }, nms_BlockDispenser_tickRate = ($this, $par1World) => { return 4; }, nms_BlockDispenser_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockDispenser_setDispenserDefaultDirection($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $ptr); }, nms_BlockDispenser_setDispenserDefaultDirection = ($this, $par1World, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $var5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); $var6 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); $var7 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); $var8 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); $var9 = 3; nms_Block_$callClinit(); var$10 = nms_Block_opaqueCubeLookup.data; if (var$10[$var5] && !var$10[$var6]) $var9 = 3; if (var$10[$var6] && !var$10[$var5]) $var9 = 2; if (var$10[$var7] && !var$10[$var8]) $var9 = 5; if (var$10[$var8] && !var$10[$var7]) $var9 = 4; $var5 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var9, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, $var6, $var7, $var8, $var9, var$10, $ptr); }, nms_BlockDispenser_getIcon = ($this, $par1, $par2) => { let $var3; $var3 = $par2 & 7; return $par1 == $var3 ? ($var3 != 1 && $var3 ? $this.$furnaceFrontIcon : $this.$field_96473_e) : $var3 != 1 && $var3 ? ($par1 != 1 && $par1 ? $this.$blockIcon : $this.$furnaceTopIcon) : $this.$furnaceTopIcon; }, nms_BlockDispenser_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; $this.$blockIcon = $par1IconRegister.$registerIcon($rt_s(3013), 1); $this.$furnaceTopIcon = $par1IconRegister.$registerIcon($rt_s(3014), 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3015)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$furnaceFrontIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3016)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$field_96473_e = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockDispenser_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; $var10 = $par1World; if ($var10 === null) return 1; var$11 = $par5EntityPlayer.$mc4; $par1World = new nms_GuiDispenser; $par5EntityPlayer = $par5EntityPlayer.$inventory; nms_GuiDispenser_$callClinit(); var$12 = nms_ContainerDispenser__init_($par5EntityPlayer, $var10); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $par5EntityPlayer = new ju_ArrayList; jl_Object__init_($par5EntityPlayer); $par5EntityPlayer.$array = $rt_createArray(jl_Object, 10); $par1World.$buttonList = $par5EntityPlayer; $par1World.$allowUserInput = 0; $par1World.$selectedButton = null; $par1World.$eventButton = 0; $par1World.$field_85043_c = Long_ZERO; $par1World.$field_92018_d = 0; $par1World.$xSize = 176; $par1World.$ySize = 166; $par5EntityPlayer = new ju_HashSet; var$13 = new ju_HashMap; jl_Object__init_(var$13); $par2 = ju_HashMap_calculateCapacity(16); var$13.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$15 = var$14.data; var$13.$elementData = var$14; var$13.$loadFactor = 0.75; var$13.$threshold = var$15.length * 0.75 | 0; $par5EntityPlayer.$backingMap = var$13; $par1World.$field_94077_p = $par5EntityPlayer; $par1World.$inventorySlots0 = var$12; $par1World.$field_94068_E = 1; $par1World.$theDispenser = $var10; $ptr = 2; case 2: nms_Minecraft_displayGuiScreen(var$11, $par1World); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_BlockDispenser_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var7, $var8, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par5 = $tmp; if (!$par5) { $par5 = $par3 + 1 | 0; $ptr = 2; continue main; } $var7 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var8 = !($var7 & 8) ? 0 : 1; if (1 && !$var8) { $par5 = $var7 | 8; $var6 = 4; $ptr = 3; continue main; } if (!1 && $var8) { $par5 = $var7 & (-9); $var6 = 4; $ptr = 4; continue main; } return; case 2: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par5, $par4); if ($rt_suspending()) { break main; } $par5 = $tmp; $var6 = $par5 ? 1 : 0; $var7 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var8 = !($var7 & 8) ? 0 : 1; if ($var6 && !$var8) { $par5 = $var7 | 8; $var6 = 4; $ptr = 3; continue main; } if (!$var6 && $var8) { $par5 = $var7 & (-9); $var6 = 4; $ptr = 4; continue main; } return; case 3: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par5, $var6); if ($rt_suspending()) { break main; } return; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par5, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var7, $var8, $var6, $ptr); }, nms_BlockDispenser_createNewTileEntity = ($this, $par1World) => { return nms_TileEntityDispenser__init_0(); }, nms_BlockDispenser_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let $var7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = nms_BlockPistonBase_determineOrientation($par1World, $par2, $par3, $par4, $par5EntityLivingBase); var$8 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, var$8); if ($rt_suspending()) { break main; } var$9 = $par6ItemStack.$stackTagCompound; if (var$9 === null) var$8 = 0; else { a: { var$9 = var$9.$tagMap; if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$11 = var$9.$elementData.data; var$9 = var$11[var$10 & (var$11.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$10) { b: { var$12 = var$9.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) var$8 = 1; else if (!(var$12 instanceof jl_String)) var$8 = 0; else { var$12 = var$12; var$8 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$9 = var$9.$next3; } if (!(var$9 === null ? 0 : 1)) var$8 = 0; else { c: { var$9 = $par6ItemStack.$stackTagCompound; var$12 = var$9.$tagMap; if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$11 = var$12.$elementData.data; var$12 = var$11[var$10 & (var$11.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$10) { d: { var$13 = var$12.$key; if ($rt_s(1525) !== var$13) { if ($rt_s(1525) === var$13) var$8 = 1; else if (!(var$13 instanceof jl_String)) var$8 = 0; else { var$13 = var$13; var$8 = $rt_s(1525).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break d; } } var$8 = 1; } if (var$8) break; } var$12 = var$12.$next3; } if (!(var$12 === null ? 0 : 1)) { var$9 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$9.$name = $rt_s(1525); else var$9.$name = $rt_s(18); $par5EntityLivingBase = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); $par5EntityLivingBase.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$14 = var$11.data; $par5EntityLivingBase.$elementData = var$11; $par5EntityLivingBase.$loadFactor = 0.75; $par5EntityLivingBase.$threshold = var$14.length * 0.75 | 0; var$9.$tagMap = $par5EntityLivingBase; } else { var$9 = var$9.$tagMap; if ($rt_s(1525) === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$8 = $rt_s(1525).$hashCode1; var$11 = var$9.$elementData.data; var$9 = var$11[var$8 & (var$11.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$8) { f: { var$12 = var$9.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break f; } } $var7 = 1; } if ($var7) break; } var$9 = var$9.$next3; } } var$9 = var$9 === null ? null : var$9.$value1; } g: { $par5EntityLivingBase = var$9.$tagMap; if (!$rt_s(1526).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } $var7 = $rt_s(1526).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; var$13 = var$11[$var7 & (var$11.length - 1 | 0)]; while (var$13 !== null) { if (var$13.$origKeyHash == $var7) { h: { $par5EntityLivingBase = var$13.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) var$8 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) var$8 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; var$8 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break h; } } var$8 = 1; } if (var$8) break; } var$13 = var$13.$next3; } var$8 = var$13 === null ? 0 : 1; } } if (!var$8) return; $ptr = 2; case 2: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; var$9 = $par1World; nms_Item_$callClinit(); var$12 = nms_Item_itemsList.data[$par6ItemStack.$itemID].$getItemDisplayName($par6ItemStack); $par1World = $par6ItemStack.$stackTagCompound; if ($par1World !== null) { a: { $par1World = $par1World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par3 = $rt_s(1525).$hashCode1; var$11 = $par1World.$elementData.data; var$15 = var$11[$par3 & (var$11.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par3) { b: { $par1World = var$15.$key; if ($rt_s(1525) !== $par1World) { if ($rt_s(1525) === $par1World) $par2 = 1; else if (!($par1World instanceof jl_String)) $par2 = 0; else { $par1World = $par1World; $par2 = $rt_s(1525).$nativeString !== $par1World.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break b; } } $par2 = 1; } if ($par2) break; } var$15 = var$15.$next3; } if (var$15 === null ? 0 : 1) { c: { $par1World = $par6ItemStack.$stackTagCompound; $par6ItemStack = $par1World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$11 = $par6ItemStack.$elementData.data; $par6ItemStack = var$11[$par4 & (var$11.length - 1 | 0)]; while ($par6ItemStack !== null) { if ($par6ItemStack.$origKeyHash == $par4) { d: { var$13 = $par6ItemStack.$key; if ($rt_s(1525) !== var$13) { if ($rt_s(1525) === var$13) $par2 = 1; else if (!(var$13 instanceof jl_String)) $par2 = 0; else { var$13 = var$13; $par2 = $rt_s(1525).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break d; } } $par2 = 1; } if ($par2) break; } $par6ItemStack = $par6ItemStack.$next3; } if (!($par6ItemStack === null ? 0 : 1)) { var$13 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$13.$name = $rt_s(1525); else var$13.$name = $rt_s(18); $par1World = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $par1World.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$14 = var$11.data; $par1World.$elementData = var$11; $par1World.$loadFactor = 0.75; $par1World.$threshold = var$14.length * 0.75 | 0; var$13.$tagMap = $par1World; } else { $par1World = $par1World.$tagMap; if ($rt_s(1525) === null) { $par1World = $par1World.$elementData.data[0]; while ($par1World !== null && $par1World.$key !== null) { $par1World = $par1World.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$11 = $par1World.$elementData.data; $par1World = var$11[$par4 & (var$11.length - 1 | 0)]; while ($par1World !== null) { if ($par1World.$origKeyHash == $par4) { f: { $par6ItemStack = $par1World.$key; if ($rt_s(1525) !== $par6ItemStack) { if ($rt_s(1525) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1525).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break f; } } $par2 = 1; } if ($par2) break; } $par1World = $par1World.$next3; } } var$13 = $par1World === null ? null : $par1World.$value1; } g: { $par5EntityLivingBase = var$13.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[$par4 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { h: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break h; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if ($par5EntityLivingBase === null ? 0 : 1) { i: { $par5EntityLivingBase = var$13.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break i; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[$par4 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { j: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break j; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) var$12 = $rt_s(18); else { $par5EntityLivingBase = var$13.$tagMap; if ($rt_s(1526) === null) { $par5EntityLivingBase = $par5EntityLivingBase.$elementData.data[0]; while ($par5EntityLivingBase !== null && $par5EntityLivingBase.$key !== null) { $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } else { k: { if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break k; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[$par4 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { l: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break l; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } var$12 = ($par5EntityLivingBase === null ? null : $par5EntityLivingBase.$value1).$data1; } } } } var$9.$customName = var$12; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, $var7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_BlockDispenser_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var9, $var14, var$18, $var10, $var11, var$21, $var12, var$23, var$24, var$25, var$26, var$27, $var13, var$29, var$30, var$31, var$32, var$33, var$34, var$35, var$36, var$37, var$38, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$38 = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();$var13 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$var12 = $thread.pop();var$21 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$18 = $thread.pop();$var14 = $thread.pop();$var9 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var7 = $tmp; $var7 = $var7; if ($var7 === null) { $ptr = 2; continue main; } $var8 = 0; var$9 = 9; var$10 = 24; var$11 = 17; var$12 = $par2; var$13 = 138; var$14 = $par3; var$15 = $par4; while ($var8 < var$9) { $var9 = $var7.$dispenserContents.data[$var8]; if ($var9 !== null) { $var14 = $this.$random1; var$18 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$18; $var10 = Long_lo(Long_shru(var$18, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$18; $var11 = Long_lo(Long_shru(var$18, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$21 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; $var12 = Long_lo(Long_shru(var$21, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$23 = var$12 + $var10; var$24 = var$14 + $var11; var$25 = var$15 + $var12; $par6 = $var9.$stackSize; if ($par6 > 0) { $var14 = $this.$random1; var$21 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; var$26 = Long_lo(Long_shru(var$21, var$11)); while (true) { var$27 = var$26 % 21 | 0; if (((var$26 - var$27 | 0) + 20 | 0) >= 0) break; var$21 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; var$26 = Long_lo(Long_shru(var$21, var$11)); } $var13 = var$27 + 10 | 0; if ($var13 > $par6) $var13 = $par6; $var9.$stackSize = $par6 - $var13 | 0; $var14 = new nms_EntityItem; var$29 = new nms_ItemStack; var$30 = $var9.$itemID; $par6 = $var9.$itemDamage; nms_ItemStack_$callClinit(); var$29.$itemID = var$30; var$29.$stackSize = $var13; var$29.$itemDamage = $par6; if ($par6 < 0) var$29.$itemDamage = 0; $ptr = 4; continue main; } } $var8 = $var8 + 1 | 0; } $ptr = 3; continue main; case 2: nms_World_removeBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; case 3: nms_World_func_96440_m($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $ptr = 2; continue main; case 4: nms_EntityItem__init_($var14, $par1World, var$23, var$24, var$25); if ($rt_suspending()) { break main; } var$31 = $var14.$dataWatcher; var$32 = var$31.$watchedObjects; jl_Integer_ensureIntegerCache(); var$33 = jl_Integer_integerCache.data[var$13]; if (var$33 === null) { var$32 = var$32.$elementData.data[0]; while (var$32 !== null && var$32.$key !== null) { var$32 = var$32.$next3; } } else { var$30 = var$33.$value0; var$34 = var$32.$elementData.data; var$32 = var$34[var$30 & (var$34.length - 1 | 0)]; while (var$32 !== null) { if (var$32.$origKeyHash == var$30) { var$35 = var$32.$key; if (var$33 !== var$35 && !jl_Integer_equals(var$33, var$35) ? 0 : 1) break; } var$32 = var$32.$next3; } } var$35 = var$32 === null ? null : var$32.$value1; if (!(var$29 !== var$35.$watchedObject ? 0 : 1)) { var$35.$watchedObject = var$29; var$35.$watched = 1; var$31.$objectChanged = 1; } var$35 = $var14.$dataWatcher; var$29 = var$35.$watchedObjects; jl_Integer_ensureIntegerCache(); var$32 = jl_Integer_integerCache.data[var$13]; if (var$32 === null) { var$29 = var$29.$elementData.data[0]; while (var$29 !== null && var$29.$key !== null) { var$29 = var$29.$next3; } } else { var$30 = var$32.$value0; var$34 = var$29.$elementData.data; var$29 = var$34[var$30 & (var$34.length - 1 | 0)]; while (var$29 !== null) { if (var$29.$origKeyHash == var$30) { var$31 = var$29.$key; if (var$32 !== var$31 && !jl_Integer_equals(var$32, var$31) ? 0 : 1) break; } var$29 = var$29.$next3; } } (var$29 === null ? null : var$29.$value1).$watched = 1; var$35.$objectChanged = 1; if ($var9.$stackTagCompound === null ? 0 : 1) { var$32 = nms_EntityItem_getEntityItem($var14); var$36 = $var9.$stackTagCompound; var$35 = new nms_NBTTagCompound; var$29 = var$36.$name; if (var$29 === null) var$29 = $rt_s(18); var$35.$name = var$29; var$29 = new ju_HashMap; $par6 = ju_HashMap_calculateCapacity(16); var$29.$elementCount = 0; var$37 = $rt_createArray(ju_HashMap$HashEntry, $par6); var$34 = var$37.data; var$29.$elementData = var$37; var$29.$loadFactor = 0.75; var$29.$threshold = var$34.length * 0.75 | 0; var$35.$tagMap = var$29; var$29 = var$36.$tagMap; if (var$29.$cachedKeySet === null) { var$31 = new ju_HashMap$1; var$31.$this$0 = var$29; var$29.$cachedKeySet = var$31; } var$29 = var$29.$cachedKeySet.$iterator(); while (var$29.$hasNext()) { var$31 = var$29.$next(); var$33 = var$36.$tagMap; if (var$31 === null) { var$33 = var$33.$elementData.data[0]; while (var$33 !== null && var$33.$key !== null) { var$33 = var$33.$next3; } } else { a: { if (!var$31.$hashCode1) { $par6 = 0; while (true) { if ($par6 >= var$31.$nativeString.length) break a; var$31.$hashCode1 = (31 * var$31.$hashCode1 | 0) + var$31.$nativeString.charCodeAt($par6) | 0; $par6 = $par6 + 1 | 0; } } } var$30 = var$31.$hashCode1; var$34 = var$33.$elementData.data; var$33 = var$34[var$30 & (var$34.length - 1 | 0)]; while (var$33 !== null) { if (var$33.$origKeyHash == var$30) { b: { var$38 = var$33.$key; if (var$31 !== var$38) { if (var$31 === var$38) $par6 = 1; else if (!(var$38 instanceof jl_String)) $par6 = 0; else { var$38 = var$38; $par6 = var$31.$nativeString !== var$38.$nativeString ? 0 : 1; } if (!$par6) { $par6 = 0; break b; } } $par6 = 1; } if ($par6) break; } var$33 = var$33.$next3; } } var$33 = var$33 === null ? null : var$33.$value1; var$33 = var$33.$copy(); var$38 = var$35.$tagMap; if (var$31 !== null) var$33.$name = var$31; else var$33.$name = $rt_s(18); ju_HashMap_putImpl(var$38, var$31, var$33); } var$32.$stackTagCompound = var$35; } $var14.$motionX = nle_EaglercraftRandom_nextGaussian($this.$random1) * 0.05000000074505806; $var14.$motionY = nle_EaglercraftRandom_nextGaussian($this.$random1) * 0.05000000074505806 + 0.20000000298023224; $var14.$motionZ = nle_EaglercraftRandom_nextGaussian($this.$random1) * 0.05000000074505806; $par6 = nms_World_spawnEntityInWorld($par1World, $var14); var$32 = $par1World.$entityList; ju_HashMap_putImpl(var$32.$backingMap, $var14, var$32); if (!$par6) { var$32 = $par1World.$entitySpawnQueue; ju_HashMap_putImpl(var$32.$backingMap, $var14, var$32); } c: while (true) { $par6 = $var9.$stackSize; if ($par6 > 0) { $var14 = $this.$random1; var$21 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; var$26 = Long_lo(Long_shru(var$21, var$11)); while (true) { var$27 = var$26 % 21 | 0; if (((var$26 - var$27 | 0) + 20 | 0) >= 0) break; var$21 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; var$26 = Long_lo(Long_shru(var$21, var$11)); } $var13 = var$27 + 10 | 0; if ($var13 > $par6) $var13 = $par6; $var9.$stackSize = $par6 - $var13 | 0; $var14 = new nms_EntityItem; var$29 = new nms_ItemStack; var$30 = $var9.$itemID; $par6 = $var9.$itemDamage; nms_ItemStack_$callClinit(); var$29.$itemID = var$30; var$29.$stackSize = $var13; var$29.$itemDamage = $par6; if ($par6 < 0) var$29.$itemDamage = 0; continue main; } while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= var$9) break c; $var9 = $var7.$dispenserContents.data[$var8]; if ($var9 === null) continue; else break; } $var14 = $this.$random1; var$18 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$18; $var10 = Long_lo(Long_shru(var$18, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$18; $var11 = Long_lo(Long_shru(var$18, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$21 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; $var12 = Long_lo(Long_shru(var$21, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$23 = var$12 + $var10; var$24 = var$14 + $var11; var$25 = var$15 + $var12; } $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var9, $var14, var$18, $var10, $var11, var$21, $var12, var$23, var$24, var$25, var$26, var$27, $var13, var$29, var$30, var$31, var$32, var$33, var$34, var$35, var$36, var$37, var$38, $ptr); }, nms_BlockDispenser_hasComparatorInputOverride = $this => { return 1; }, nms_BlockDispenser_getComparatorInputOverride = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; return nms_Container_calcRedstoneFromInventory($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockDispenser__clinit_ = () => { let var$1, var$2; var$1 = new nms_RegistryDefaulted; var$2 = new nms_BehaviorDefaultDispenseItem; var$1.$registryObjects = nms_RegistrySimple_func_111054_a(var$1); var$1.$defaultObject = var$2; nms_BlockDispenser_dispenseBehaviorRegistry = var$1; }; function nms_BlockSandStone() { let a = this; nms_Block.call(a); a.$field_94406_c = null; a.$field_94403_cO = null; a.$field_94404_cP = null; } let nms_BlockSandStone_SAND_STONE_TYPES = null, nms_BlockSandStone_field_94405_b = null, nms_BlockSandStone__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockSandStone__init_0 = var_0 => { let var_1 = new nms_BlockSandStone(); nms_BlockSandStone__init_(var_1, var_0); return var_1; }, nms_BlockSandStone_getIcon = ($this, $par1, $par2) => { a: { if ($par1 != 1) { if ($par1) break a; if ($par2 != 1 && $par2 != 2) break a; } return $this.$field_94403_cO; } if (!$par1) return $this.$field_94404_cP; if (!($par2 >= 0 && $par2 < $this.$field_94406_c.data.length)) $par2 = 0; return $this.$field_94406_c.data[$par2]; }, nms_BlockSandStone_damageDropped = ($this, $par1) => { return $par1; }, nms_BlockSandStone_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let var$4, var$5, var$6, var$7; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$6 = var$5 + 1 | 0; $par3List.$size0 = var$6; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 1; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; var$6 = var$7 + 1 | 0; $par3List.$size0 = var$6; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 2; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; }, nms_BlockSandStone_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; $this.$field_94406_c = $rt_createArray(nms_Icon, nms_BlockSandStone_field_94405_b.data.length); $var2 = 0; a: { while (true) { var$3 = $this.$field_94406_c.data; if ($var2 >= var$3.length) { var$4 = $this.$textureName; if (var$4 === null) { $var2 = $this.$blockID; var$5 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $var2, 10); $var2 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, $var2, $var2 + 1 | 0); var$6.$buffer.data[$var2] = 95; $var2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, $var2, var$5); var$4 = new jl_String; var$7 = var$6.$buffer; var$3 = var$7.data; var$8 = var$6.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$4); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2999)); var$4 = new jl_String; var$7 = var$5.$buffer; var$3 = var$7.data; var$8 = var$5.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$field_94403_cO = $par1IconRegister.$registerIcon(var$4, 1); var$5 = $this.$textureName; if (var$5 === null) { $var2 = $this.$blockID; var$5 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $var2, 10); $var2 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, $var2, $var2 + 1 | 0); var$4.$buffer.data[$var2] = 95; $var2 = var$4.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $var2, var$5); var$5 = new jl_String; var$7 = var$4.$buffer; var$3 = var$7.data; var$8 = var$4.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$5); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3017)); var$5 = new jl_String; var$7 = var$4.$buffer; var$3 = var$7.data; var$8 = var$4.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$field_94404_cP = $par1IconRegister.$registerIcon(var$5, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } var$4 = $this.$textureName; if (var$4 === null) { var$10 = $this.$blockID; var$4 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$10, 10); var$8 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$8, var$8 + 1 | 0); var$6.$buffer.data[var$8] = 95; var$8 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$8, var$4); var$4 = new jl_String; var$11 = var$6.$buffer; var$7 = var$11.data; var$8 = var$6.$length0; var$9 = var$7.length; if (var$8 < 0) break; if (var$8 > (var$9 - 0 | 0)) break; var$4.$nativeString = $rt_charArrayToString(var$11.data, 0, var$8); } var$6 = nms_BlockSandStone_field_94405_b.data[$var2]; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$12, var$12.$length0, var$4); var$9 = var$12.$length0; jl_AbstractStringBuilder_insertSpace(var$12, var$9, var$9 + 1 | 0); var$12.$buffer.data[var$9] = 95; var$8 = var$12.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$12, var$8, var$6); var$4 = new jl_String; var$7 = var$12.$buffer; var$11 = var$7.data; var$9 = var$12.$length0; var$10 = var$11.length; if (var$9 < 0) break a; if (var$9 > (var$10 - 0 | 0)) break a; var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$3[$var2] = $par1IconRegister.$registerIcon(var$4, 1); $var2 = $var2 + 1 | 0; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockSandStone__clinit_ = () => { nms_BlockSandStone_SAND_STONE_TYPES = $rt_wrapArray(jl_String, [$rt_s(161), $rt_s(3018), $rt_s(3019)]); nms_BlockSandStone_field_94405_b = $rt_wrapArray(jl_String, [$rt_s(84), $rt_s(3020), $rt_s(3019)]); }, nms_BlockNote = $rt_classWithoutFields(nms_BlockContainer), nms_BlockNote__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_wood); $this.$isBlockContainer = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; }, nms_BlockNote__init_0 = var_0 => { let var_1 = new nms_BlockNote(); nms_BlockNote__init_(var_1, var_0); return var_1; }, nms_BlockNote_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var6 = $tmp; $ptr = 2; case 2: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var7 = $tmp; $var7 = $var7; if ($var7 !== null && $var7.$previousRedstoneState != $var6) { if ($var6) { $ptr = 3; continue main; } $var7.$previousRedstoneState = $var6; } return; case 3: nms_TileEntityNote_triggerNote($var7, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var7.$previousRedstoneState = $var6; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, $ptr); }, nms_BlockNote_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par5EntityPlayer = $tmp; $var10 = $par5EntityPlayer; if ($var10 === null) return 1; $var10.$note = (($var10.$note + 1 | 0) % 25 | 0) << 24 >> 24; $ptr = 2; case 2: nms_TileEntity_onInventoryChanged($var10); if ($rt_suspending()) { break main; } $ptr = 3; case 3: nms_TileEntityNote_triggerNote($var10, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, $ptr); }, nms_BlockNote_onBlockClicked = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer) => { let $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par5EntityPlayer = $tmp; $var6 = $par5EntityPlayer; if ($var6 === null) return; $ptr = 2; case 2: nms_TileEntityNote_triggerNote($var6, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $var6, $ptr); }, nms_BlockNote_createNewTileEntity = ($this, $par1World) => { $par1World = new nms_TileEntityNote; nms_TileEntity_$callClinit(); $par1World.$blockMetadata = (-1); return $par1World; }, nms_BlockNote_onBlockEventReceived = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var8, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var8 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: jl_Math_powImpl(2.0, ($par6 - 12 | 0) / 12.0); $var8 = $rt_s(3021); if ($par5 == 1) $var8 = $rt_s(3022); if ($par5 == 2) $var8 = $rt_s(3023); if ($par5 == 3) $var8 = $rt_s(3024); if ($par5 == 4) $var8 = $rt_s(3025); var$8 = $par2 + 0.5; var$9 = $par3; var$10 = $par4 + 0.5; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(3026)); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $var8); $var8 = new jl_String; var$12 = var$11.$buffer; var$13 = var$12.data; $par3 = var$11.$length0; $par4 = var$13.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $var8.$nativeString = $rt_charArrayToString(var$12.data, 0, $par3); $par2 = 0; while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) { $var8 = $rt_s(1483); var$9 = var$9 + 1.2; var$14 = $par6 / 24.0; var$15 = 0.0; var$16 = 0.0; $par2 = 0; var$11 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$11.$size0); if ($par3 >= 0) return 1; if ($par2 >= 0 && $par3 < 0) { var$11 = var$11.$array.data[$par2]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($par2 < 0) break; if ($par3 >= 0) break; $par2 = $par2 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); case 1: nms_RenderGlobal_doSpawnParticle(var$11, $var8, var$8, var$9, var$10, var$14, var$15, var$16); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$11 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$11.$size0); if ($par3 >= 0) return 1; if ($par2 >= 0 && $par3 < 0) { var$11 = var$11.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var8, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_BlockDirectional = $rt_classWithoutFields(nms_Block); function nms_BlockBed() { let a = this; nms_BlockDirectional.call(a); a.$field_94472_b = null; a.$bedSideIcons = null; a.$bedTopIcons = null; } let nms_BlockBed_footBlockToHeadBlockMap = null, nms_BlockBed__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_cloth); $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.5625; $this.$maxZ0 = 1.0; }, nms_BlockBed__init_0 = var_0 => { let var_1 = new nms_BlockBed(); nms_BlockBed__init_(var_1, var_0); return var_1; }, nms_BlockBed_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, $var11, var$12, $var17, $var19, $var20, var$16, $var12$index, var$18, $var12$index_0, $var21, $var14, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var14 = $thread.pop();$var21 = $thread.pop();$var12$index_0 = $thread.pop();var$18 = $thread.pop();$var12$index = $thread.pop();var$16 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; $var10 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if (!(!($var10 & 8) ? 0 : 1)) { $var11 = $var10 & 3; var$12 = nms_BlockBed_footBlockToHeadBlockMap.data; $par2 = $par2 + var$12[$var11].data[0] | 0; $par4 = $par4 + var$12[$var11].data[1] | 0; if (nms_World_getBlockId($par1World, $par2, $par3, $par4) != $this.$blockID) return 1; $var10 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); } if ($par1World.$provider.$canRespawnHere()) { $var17 = $par2 >> 4; $par6 = $par4 >> 4; $var19 = $par1World.$chunkProvider; $var20 = $var19.$chunkMapping; var$16 = Long_or(Long_and(Long_fromInt($var17), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($par6), Long_create(4294967295, 0)), 32)); $par6 = Long_lo(Long_xor(var$16, Long_shru(var$16, 32))); $par6 = $par6 ^ ($par6 >>> 20 | 0) ^ ($par6 >>> 12 | 0); $var11 = $par6 ^ ($par6 >>> 7 | 0) ^ ($par6 >>> 4 | 0); var$12 = $var20.$hashArray.data; $var20 = var$12[$var11 & (var$12.length - 1 | 0)]; a: { while ($var20 !== null) { if (Long_eq($var20.$key1, var$16)) { $var20 = $var20.$value6; break a; } $var20 = $var20.$nextEntry0; } $var20 = null; } $var20 = $var20; if ($var20 === null) $var20 = $var19.$blankChunk; $var19 = $var20 === null ? $par1World.$provider.$worldChunkMgr.$getBiomeGenAt($par2, $par4) : nms_Chunk_getBiomeGenForWorldCoords($var20, $par2 & 15, $par4 & 15, $par1World.$provider.$worldChunkMgr); nms_BiomeGenBase_$callClinit(); if ($var19 !== nms_BiomeGenBase_hell) { if (!(!($var10 & 4) ? 0 : 1)) { $ptr = 5; continue main; } $var19 = null; $var20 = $par1World.$playerEntities; $var12$index = 0; $par6 = $var20.$modCount; $var17 = $var20.$size(); while (true) { if (!($var12$index >= $var17 ? 0 : 1)) { if ($var19 !== null) { $var19 = $par5EntityPlayer.$mc4.$ingameGUI.$persistantChatGUI; var$12 = $rt_createArray(jl_Object, 0); nms_StatCollector_$callClinit(); $par5EntityPlayer = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3027), var$12); nms_GuiNewChat_func_96129_a($var19, $par5EntityPlayer, 0, $var19.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $par1World = new otcic_JSStdoutPrintStream; ji_PrintStream__init_0($par1World, ji_ByteArrayOutputStream__init_(32), 0); jl_System_outCache = $par1World; } $par1World = new jl_StringBuilder; $par1World.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1($par1World, $par1World.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1($par1World, $par1World.$length0, $par5EntityPlayer); $par5EntityPlayer = new jl_String; var$12 = $par1World.$buffer; var$18 = var$12.data; $par3 = $par1World.$length0; $par4 = var$18.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $par5EntityPlayer.$nativeString = $rt_charArrayToString(var$12.data, 0, $par3); $rt_putStdout($rt_ustr($par5EntityPlayer)); $rt_putStdout("\n"); return 1; } $rt_throw(jl_IndexOutOfBoundsException__init_0()); } $var17 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & (-5); $par6 = 4; $ptr = 7; continue main; } if ($par6 < $var20.$modCount) break; $var12$index_0 = $var12$index + 1 | 0; $var21 = $var20.$get($var12$index); if ($var21.$sleeping) { $var14 = $var21.$playerLocation; if ($var14.$posX0 == $par2 && $var14.$posY0 == $par3 && $var14.$posZ0 == $par4) $var19 = $var21; } $var12$index = $var12$index_0; } $par1World = new ju_ConcurrentModificationException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } $par6 = 0; $var17 = 0; $var11 = 3; $ptr = 1; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, $par6, $var17, $var11); if ($rt_suspending()) { break main; } $var17 = $var10 & 3; var$12 = nms_BlockBed_footBlockToHeadBlockMap.data; $par2 = $par2 + var$12[$var17].data[0] | 0; $par4 = $par4 + var$12[$var17].data[1] | 0; if (nms_World_getBlockId($par1World, $par2, $par3, $par4) == $this.$blockID) { $par6 = 0; $var17 = 0; $var11 = 3; $ptr = 4; continue main; } $par5EntityPlayer = null; var$22 = $par2 + 0.5; var$23 = $par3 + 0.5; var$24 = $par4 + 0.5; $var19 = new nms_Explosion; $var19.$isSmoking = 1; $var19.$field_77289_h = 16; $var20 = new nle_EaglercraftRandom; var$16 = Long_fromNumber(performance.now() * 1000000.0); $var20.$seed = Long_fromInt(69); $var20.$haveNextNextGaussian = 0; $var20.$seed = var$16; $var19.$explosionRNG = $var20; $var20 = new ju_ArrayList; $var20.$array = $rt_createArray(jl_Object, 10); $var19.$affectedBlockPositions = $var20; $var20 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); $var20.$elementCount = 0; var$18 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$12 = var$18.data; $var20.$elementData = var$18; $var20.$loadFactor = 0.75; $var20.$threshold = var$12.length * 0.75 | 0; $var19.$field_77288_k = $var20; $var19.$worldObj1 = $par1World; $var19.$exploder = $par5EntityPlayer; $var19.$explosionSize = 5.0; $var19.$explosionX = var$22; $var19.$explosionY = var$23; $var19.$explosionZ = var$24; $var19.$isFlaming = 1; $var19.$isSmoking = 1; $ptr = 2; case 2: nms_Explosion_doExplosionA($var19); if ($rt_suspending()) { break main; } $par2 = 1; $ptr = 3; case 3: nms_Explosion_doExplosionB($var19, $par2); if ($rt_suspending()) { break main; } return 1; case 4: nms_World_setBlock($par1World, $par2, $par3, $par4, $par6, $var17, $var11); if ($rt_suspending()) { break main; } $par5EntityPlayer = null; var$22 = $par2 + 0.5; var$23 = $par3 + 0.5; var$24 = $par4 + 0.5; $var19 = new nms_Explosion; $var19.$isSmoking = 1; $var19.$field_77289_h = 16; $var20 = new nle_EaglercraftRandom; var$16 = Long_fromNumber(performance.now() * 1000000.0); $var20.$seed = Long_fromInt(69); $var20.$haveNextNextGaussian = 0; $var20.$seed = var$16; $var19.$explosionRNG = $var20; $var20 = new ju_ArrayList; $var20.$array = $rt_createArray(jl_Object, 10); $var19.$affectedBlockPositions = $var20; $var20 = new ju_HashMap; $par4 = ju_HashMap_calculateCapacity(16); $var20.$elementCount = 0; var$18 = $rt_createArray(ju_HashMap$HashEntry, $par4); var$12 = var$18.data; $var20.$elementData = var$18; $var20.$loadFactor = 0.75; $var20.$threshold = var$12.length * 0.75 | 0; $var19.$field_77288_k = $var20; $var19.$worldObj1 = $par1World; $var19.$exploder = $par5EntityPlayer; $var19.$explosionSize = 5.0; $var19.$explosionX = var$22; $var19.$explosionY = var$23; $var19.$explosionZ = var$24; $var19.$isFlaming = 1; $var19.$isSmoking = 1; $ptr = 2; continue main; case 5: $tmp = nms_EntityPlayer_sleepInBedAt($par5EntityPlayer, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var20 = $tmp; if ($var20 !== nms_EnumStatus_OK) { b: { if ($var20 === nms_EnumStatus_NOT_POSSIBLE_NOW) { $var19 = $par5EntityPlayer.$mc4.$ingameGUI.$persistantChatGUI; var$12 = $rt_createArray(jl_Object, 0); nms_StatCollector_$callClinit(); $par5EntityPlayer = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3028), var$12); nms_GuiNewChat_func_96129_a($var19, $par5EntityPlayer, 0, $var19.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $par1World = new otcic_JSStdoutPrintStream; ji_PrintStream__init_0($par1World, ji_ByteArrayOutputStream__init_(32), 0); jl_System_outCache = $par1World; } $par1World = new jl_StringBuilder; $par1World.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1($par1World, $par1World.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1($par1World, $par1World.$length0, $par5EntityPlayer); $par5EntityPlayer = new jl_String; var$12 = $par1World.$buffer; var$18 = var$12.data; $par3 = $par1World.$length0; $par4 = var$18.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $par5EntityPlayer.$nativeString = $rt_charArrayToString(var$12.data, 0, $par3); $rt_putStdout($rt_ustr($par5EntityPlayer)); $rt_putStdout("\n"); break b; } $rt_throw(jl_IndexOutOfBoundsException__init_0()); } if ($var20 === nms_EnumStatus_NOT_SAFE) { $var19 = $par5EntityPlayer.$mc4.$ingameGUI.$persistantChatGUI; var$12 = $rt_createArray(jl_Object, 0); nms_StatCollector_$callClinit(); $par5EntityPlayer = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3029), var$12); nms_GuiNewChat_func_96129_a($var19, $par5EntityPlayer, 0, $var19.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $par1World = new otcic_JSStdoutPrintStream; ji_PrintStream__init_0($par1World, ji_ByteArrayOutputStream__init_(32), 0); jl_System_outCache = $par1World; } $par1World = new jl_StringBuilder; $par1World.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1($par1World, $par1World.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1($par1World, $par1World.$length0, $par5EntityPlayer); $par5EntityPlayer = new jl_String; var$12 = $par1World.$buffer; var$18 = var$12.data; $par3 = $par1World.$length0; $par4 = var$18.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { $par5EntityPlayer.$nativeString = $rt_charArrayToString(var$12.data, 0, $par3); $rt_putStdout($rt_ustr($par5EntityPlayer)); $rt_putStdout("\n"); } else $rt_throw(jl_IndexOutOfBoundsException__init_0()); } } return 1; } $var17 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) | 4; $par6 = 4; $ptr = 6; case 6: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var17, $par6); if ($rt_suspending()) { break main; } return 1; case 7: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var17, $par6); if ($rt_suspending()) { break main; } $ptr = 5; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, $var11, var$12, $var17, $var19, $var20, var$16, $var12$index, var$18, $var12$index_0, $var21, $var14, var$22, var$23, var$24, $ptr); }, nms_BlockBed_getIcon = ($this, $par1, $par2) => { let $var3, $var4, $var5, var$6; if (!$par1) { nms_Block_$callClinit(); return nms_Block_planks.$getIcon($par1, 0); } $var3 = $par2 & 3; $var4 = nms_Direction_bedDirection.data[$var3].data[$par1]; $var5 = !(!($par2 & 8) ? 0 : 1) ? 0 : 1; a: { b: { if (!($var5 == 1 && $var4 == 2)) { if ($var5) break b; if ($var4 != 3) break b; } var$6 = $this.$field_94472_b.data[$var5]; break a; } if ($var4 != 5 && $var4 != 4) var$6 = $this.$bedTopIcons.data[$var5]; else var$6 = $this.$bedSideIcons.data[$var5]; } return var$6; }, nms_BlockBed_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$2 = $rt_createArray(nms_Icon, 2); var$3 = $this.$textureName; if (var$3 === null) { var$4 = $this.$blockID; var$3 = $this.$unlocalizedName; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$4, 10); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 95; var$4 = var$5.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$4, var$3); var$3 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$6 = var$5.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$3); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3030)); var$3 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$6 = var$5.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { var$10 = var$2.data; var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); var$10[0] = $par1IconRegister.$registerIcon(var$3, 1); var$3 = $this.$textureName; if (var$3 === null) { var$11 = $this.$blockID; var$3 = $this.$unlocalizedName; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$11, 10); var$4 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$4, var$4 + 1 | 0); var$5.$buffer.data[var$4] = 95; var$11 = var$5.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$11, var$3); var$3 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$4 = var$5.$length0; var$6 = var$8.length; if (var$4 >= 0 && var$4 <= (var$6 - 0 | 0)) var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$4); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$3); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3031)); var$3 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$6 = var$5.$length0; var$11 = var$8.length; if (var$6 >= 0 && var$6 <= (var$11 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); var$10[1] = $par1IconRegister.$registerIcon(var$3, 1); $this.$bedTopIcons = var$2; var$2 = $rt_createArray(nms_Icon, 2); var$5 = $this.$textureName; if (var$5 === null) { var$4 = $this.$blockID; var$3 = $this.$unlocalizedName; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$12, var$12.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$12, var$12.$length0, var$4, 10); var$6 = var$12.$length0; jl_AbstractStringBuilder_insertSpace(var$12, var$6, var$6 + 1 | 0); var$12.$buffer.data[var$6] = 95; var$4 = var$12.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$12, var$4, var$3); var$5 = new jl_String; var$7 = var$12.$buffer; var$8 = var$7.data; var$6 = var$12.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3032)); var$5 = new jl_String; var$8 = var$3.$buffer; var$7 = var$8.data; var$6 = var$3.$length0; var$9 = var$7.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { var$7 = var$2.data; var$5.$nativeString = $rt_charArrayToString(var$8.data, 0, var$6); var$7[0] = $par1IconRegister.$registerIcon(var$5, 1); var$5 = $this.$textureName; if (var$5 === null) { var$4 = $this.$blockID; var$3 = $this.$unlocalizedName; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$12, var$12.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$12, var$12.$length0, var$4, 10); var$6 = var$12.$length0; jl_AbstractStringBuilder_insertSpace(var$12, var$6, var$6 + 1 | 0); var$12.$buffer.data[var$6] = 95; var$4 = var$12.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$12, var$4, var$3); var$5 = new jl_String; var$8 = var$12.$buffer; var$10 = var$8.data; var$6 = var$12.$length0; var$9 = var$10.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$5.$nativeString = $rt_charArrayToString(var$8.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3033)); var$5 = new jl_String; var$8 = var$3.$buffer; var$10 = var$8.data; var$6 = var$3.$length0; var$9 = var$10.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$8.data, 0, var$6); var$7[1] = $par1IconRegister.$registerIcon(var$5, 1); $this.$field_94472_b = var$2; var$2 = $rt_createArray(nms_Icon, 2); var$5 = $this.$textureName; if (var$5 === null) { var$4 = $this.$blockID; var$3 = $this.$unlocalizedName; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$12, var$12.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$12, var$12.$length0, var$4, 10); var$6 = var$12.$length0; jl_AbstractStringBuilder_insertSpace(var$12, var$6, var$6 + 1 | 0); var$12.$buffer.data[var$6] = 95; var$4 = var$12.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$12, var$4, var$3); var$5 = new jl_String; var$7 = var$12.$buffer; var$8 = var$7.data; var$6 = var$12.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3034)); var$5 = new jl_String; var$8 = var$3.$buffer; var$7 = var$8.data; var$6 = var$3.$length0; var$9 = var$7.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { var$7 = var$2.data; var$5.$nativeString = $rt_charArrayToString(var$8.data, 0, var$6); var$7[0] = $par1IconRegister.$registerIcon(var$5, 1); var$5 = $this.$textureName; if (var$5 === null) { var$4 = $this.$blockID; var$3 = $this.$unlocalizedName; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$12, var$12.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$12, var$12.$length0, var$4, 10); var$6 = var$12.$length0; jl_AbstractStringBuilder_insertSpace(var$12, var$6, var$6 + 1 | 0); var$12.$buffer.data[var$6] = 95; var$4 = var$12.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$12, var$4, var$3); var$5 = new jl_String; var$8 = var$12.$buffer; var$10 = var$8.data; var$6 = var$12.$length0; var$9 = var$10.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$5.$nativeString = $rt_charArrayToString(var$8.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3035)); var$5 = new jl_String; var$8 = var$3.$buffer; var$10 = var$8.data; var$6 = var$3.$length0; var$9 = var$10.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$8.data, 0, var$6); var$7[1] = $par1IconRegister.$registerIcon(var$5, 1); $this.$bedSideIcons = var$2; return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockBed_getRenderType = $this => { return 14; }, nms_BlockBed_renderAsNormalBlock = $this => { return 0; }, nms_BlockBed_isOpaqueCube = $this => { return 0; }, nms_BlockBed_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.5625; $this.$maxZ0 = 1.0; }, nms_BlockBed_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var7 = $var6 & 3; var$8 = $var6 & 8; $par5 = !var$8 ? 0 : 1; a: { if (!$par5) { var$9 = nms_BlockBed_footBlockToHeadBlockMap.data; if (nms_World_getBlockId($par1World, $par2 + var$9[$var7].data[0] | 0, $par3, $par4 + var$9[$var7].data[1] | 0) == $this.$blockID) break a; $par5 = 0; $var7 = 0; var$10 = 3; $ptr = 1; continue main; } var$9 = nms_BlockBed_footBlockToHeadBlockMap.data; if (nms_World_getBlockId($par1World, $par2 - var$9[$var7].data[0] | 0, $par3, $par4 - var$9[$var7].data[1] | 0) != $this.$blockID) { $par5 = 0; $var7 = 0; $var6 = 3; $ptr = 2; continue main; } } return; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var7, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$11 = 1.0; if (!(!var$8 ? 0 : 1)) { $par5 = 0; $ptr = 3; continue main; } } return; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var7, $var6); if ($rt_suspending()) { break main; } return; case 3: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $var6, var$11, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, var$8, var$9, var$10, var$11, $ptr); }, nms_BlockBed_idDropped = ($this, $par1, $par2Random, $par3) => { if (!($par1 & 8) ? 0 : 1) $par1 = 0; else { nms_Item_$callClinit(); $par1 = nms_Item_bed.$itemID0; } return $par1; }, nms_BlockBed_getNearestEmptyChunkCoordinates = ($par0World, $par1, $par2, $par3, $par4) => { let $var6, $var7, var$8, var$9, var$10, $var12, $var9, $var10, $var11, $var13, $var5, var$17; $var6 = nms_World_getBlockMetadata($par0World, $par1, $par2, $par3) & 3; $var7 = 0; var$8 = $par2 - 1 | 0; var$9 = $par2 + 1 | 0; while ($var7 <= 1) { var$10 = nms_BlockBed_footBlockToHeadBlockMap.data; $var12 = ($par1 - $rt_imul(var$10[$var6].data[0], $var7) | 0) - 1 | 0; $var9 = ($par3 - $rt_imul(var$10[$var6].data[1], $var7) | 0) - 1 | 0; $var10 = $var12 + 2 | 0; $var11 = $var9 + 2 | 0; while ($var12 <= $var10) { $var13 = $var9; while ($var13 <= $var11) { nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par0World, nms_Block_blocksList.data[nms_World_getBlockId($par0World, $var12, var$8, $var13)], nms_World_getBlockMetadata($par0World, $var12, var$8, $var13))) { $var5 = nms_World_getBlockId($par0World, $var12, $par2, $var13); if (!$var5) { nms_Material_$callClinit(); var$17 = nms_Material_air; } else var$17 = nms_Block_blocksList.data[$var5].$blockMaterial; if (!(!var$17.$isTranslucent ? var$17.$blocksMovement() : 0)) { $var5 = nms_World_getBlockId($par0World, $var12, var$9, $var13); if (!$var5) { nms_Material_$callClinit(); var$17 = nms_Material_air; } else var$17 = nms_Block_blocksList.data[$var5].$blockMaterial; if (!(!var$17.$isTranslucent ? var$17.$blocksMovement() : 0)) { if ($par4 <= 0) { $par0World = new nms_ChunkCoordinates; $par0World.$posX0 = $var12; $par0World.$posY0 = $par2; $par0World.$posZ0 = $var13; return $par0World; } $par4 = $par4 + (-1) | 0; } } } $var13 = $var13 + 1 | 0; } $var12 = $var12 + 1 | 0; } $var7 = $var7 + 1 | 0; } return null; }, nms_BlockBed_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!($par5 & 8) ? 0 : 1) return; $par7 = 0; $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $ptr); }, nms_BlockBed_getMobilityFlag = $this => { return 1; }, nms_BlockBed_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Item_$callClinit(); return nms_Item_bed.$itemID0; }, nms_BlockBed__clinit_ = () => { let var$1, var$2; var$1 = $rt_createArray($rt_arraycls($rt_intcls), 4); var$2 = var$1.data; var$2[0] = $rt_createIntArrayFromData([0, 1]); var$2[1] = $rt_createIntArrayFromData([(-1), 0]); var$2[2] = $rt_createIntArrayFromData([0, (-1)]); var$2[3] = $rt_createIntArrayFromData([1, 0]); nms_BlockBed_footBlockToHeadBlockMap = var$1; }; function nms_BlockRailBase() { nms_Block.call(this); this.$isPowered = 0; } let nms_BlockRailBase_isRailBlock = $par0 => { nms_Block_$callClinit(); return $par0 != nms_Block_rail.$blockID && $par0 != nms_Block_railPowered.$blockID && $par0 != nms_Block_railDetector.$blockID && $par0 != nms_Block_railActivator.$blockID ? 0 : 1; }, nms_BlockRailBase_isPowered = $this => { return $this.$isPowered; }, nms_BlockRailBase_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockRailBase_isOpaqueCube = $this => { return 0; }, nms_BlockRailBase_collisionRayTrace = ($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par6Vec3 = $thread.pop();$par5Vec3 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockRailBase_setBlockBoundsBasedOnState($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $tmp = nms_Block_collisionRayTrace($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3); if ($rt_suspending()) { break main; } $par1World = $tmp; return $par1World; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3, $ptr); }, nms_BlockRailBase_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5; $var5 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); if ($var5 >= 2 && $var5 <= 5) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.625; $this.$maxZ0 = 1.0; } else { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.125; $this.$maxZ0 = 1.0; } }, nms_BlockRailBase_renderAsNormalBlock = $this => { return 0; }, nms_BlockRailBase_getRenderType = $this => { return 9; }, nms_BlockRailBase_quantityDropped = ($this, $par1Random) => { return 1; }, nms_BlockRailBase_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { $par3 = $par3 - 1 | 0; nms_Block_$callClinit(); return nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)); }, nms_BlockRailBase_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $par1World.$isRemote; if (!var$5) { var$6 = 1; if (!var$5) { var$7 = nms_BlockBaseRailLogic__init_($this, $par1World, $par2, $par3, $par4); $ptr = 1; continue main; } if ($this.$isPowered) { var$5 = $this.$blockID; $ptr = 3; continue main; } } return; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$5 = $tmp; $ptr = 2; case 2: nms_BlockBaseRailLogic_func_94511_a(var$7, var$5, var$6); if ($rt_suspending()) { break main; } if (!$this.$isPowered) return; var$5 = $this.$blockID; $ptr = 3; case 3: nms_BlockRailBase_onNeighborBlockChange($this, $par1World, $par2, $par3, $par4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, $ptr); }, nms_BlockRailBase_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, var$7, $var8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$7 = !$this.$isPowered ? $var6 : $var6 & 7; $var8 = 0; var$9 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$9, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$9, $par4))) $var8 = 1; if (var$7 == 2) { var$9 = $par2 + 1 | 0; if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, var$9, $par3, $par4)], nms_World_getBlockMetadata($par1World, var$9, $par3, $par4))) $var8 = 1; } if (var$7 == 3) { var$9 = $par2 - 1 | 0; if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, var$9, $par3, $par4)], nms_World_getBlockMetadata($par1World, var$9, $par3, $par4))) $var8 = 1; } if (var$7 == 4) { var$9 = $par4 - 1 | 0; if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par3, var$9)], nms_World_getBlockMetadata($par1World, $par2, $par3, var$9))) $var8 = 1; } if (var$7 == 5) { var$9 = $par4 + 1 | 0; if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par3, var$9)], nms_World_getBlockMetadata($par1World, $par2, $par3, var$9))) $var8 = 1; } if (!$var8) { $ptr = 1; continue main; } $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$9 = 0; var$10 = 1.0; $ptr = 2; continue main; case 1: $this.$func_94358_a($par1World, $par2, $par3, $par4, $var6, var$7, $par5); if ($rt_suspending()) { break main; } return; case 2: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$10, var$9); if ($rt_suspending()) { break main; } $par5 = 0; var$9 = 0; $var6 = 3; $ptr = 3; case 3: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, var$9, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, var$7, $var8, var$9, var$10, $ptr); }, nms_BlockRailBase_func_94358_a = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { return; }, nms_BlockRailBase_refreshTrackShape = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; var$6 = nms_BlockBaseRailLogic__init_($this, $par1World, $par2, $par3, $par4); $ptr = 1; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par2 = $tmp; $ptr = 2; case 2: nms_BlockBaseRailLogic_func_94511_a(var$6, $par2, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, $ptr); }, nms_BlockRailBase_getMobilityFlag = $this => { return 0; }, nms_BlockRailBase_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$isPowered) $par6 = $par6 & 7; if (!($par6 != 2 && $par6 != 3 && $par6 != 4 && $par6 != 5)) { var$7 = $par3 + 1 | 0; $par6 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par6, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 1; continue main; } } $par6 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par6, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 2; continue main; } } $par6 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 3; continue main; } } $par6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 4; continue main; } } $par6 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, $par6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 5; continue main; } } $par6 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, $par6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } } if ($this.$isPowered) { var$8 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 6; continue main; } } var$7 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 10; continue main; } } var$10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 11; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$8, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } } return; case 1: var$9.$onNeighborBlockChange($par1World, $par6, var$7, $par4, $par5); if ($rt_suspending()) { break main; } $par6 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par6, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 2; continue main; } } $par6 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 3; continue main; } } $par6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 4; continue main; } } $par6 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, $par6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 5; continue main; } } $par6 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, $par6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } if ($this.$isPowered) { var$8 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 6; continue main; } } var$7 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 10; continue main; } } var$10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 11; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$8, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } } return; case 2: var$9.$onNeighborBlockChange($par1World, $par6, var$7, $par4, $par5); if ($rt_suspending()) { break main; } $par6 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 3; continue main; } } $par6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 4; continue main; } } $par6 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, $par6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 5; continue main; } } $par6 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, $par6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } if ($this.$isPowered) { var$8 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 6; continue main; } } var$7 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 10; continue main; } } var$10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 11; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$8, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } } return; case 3: var$9.$onNeighborBlockChange($par1World, $par2, $par6, $par4, $par5); if ($rt_suspending()) { break main; } $par6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 4; continue main; } } $par6 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, $par6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 5; continue main; } } $par6 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, $par6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } if ($this.$isPowered) { var$8 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 6; continue main; } } var$7 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 10; continue main; } } var$10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 11; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$8, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } } return; case 4: var$9.$onNeighborBlockChange($par1World, $par2, $par6, $par4, $par5); if ($rt_suspending()) { break main; } $par6 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, $par6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 5; continue main; } } $par6 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, $par6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } if ($this.$isPowered) { var$8 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 6; continue main; } } var$7 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 10; continue main; } } var$10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 11; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$8, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } } return; case 5: var$9.$onNeighborBlockChange($par1World, $par2, var$7, $par6, $par5); if ($rt_suspending()) { break main; } $par6 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, $par6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } if ($this.$isPowered) { var$8 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 6; continue main; } } var$7 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 10; continue main; } } var$10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 11; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$8, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } } return; case 6: var$9.$onNeighborBlockChange($par1World, var$8, $par3, $par4, $par5); if ($rt_suspending()) { break main; } var$7 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 10; continue main; } } var$10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 11; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$8, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } return; case 7: var$9.$onNeighborBlockChange($par1World, $par2, var$7, $par6, $par5); if ($rt_suspending()) { break main; } if ($this.$isPowered) { var$8 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 6; continue main; } } var$7 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 10; continue main; } } var$10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 11; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$8, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } } return; case 8: var$9.$onNeighborBlockChange($par1World, var$7, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par6 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 10; continue main; } } var$10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 11; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$8, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } return; case 9: var$9.$onNeighborBlockChange($par1World, $par2, $par6, $par4, $par5); if ($rt_suspending()) { break main; } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 10; continue main; } } var$10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 11; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$8, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } return; case 10: var$9.$onNeighborBlockChange($par1World, $par2, var$10, $par4, $par5); if ($rt_suspending()) { break main; } var$10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 11; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$8, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } return; case 11: var$9.$onNeighborBlockChange($par1World, $par2, $par3, var$10, $par5); if ($rt_suspending()) { break main; } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$8, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } return; case 12: var$9.$onNeighborBlockChange($par1World, $par2, $par3, var$11, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$8, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } return; case 13: var$9.$onNeighborBlockChange($par1World, var$8, $par6, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 14; continue main; } } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } return; case 14: var$9.$onNeighborBlockChange($par1World, var$7, $par6, $par4, $par5); if ($rt_suspending()) { break main; } $par3 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 15; continue main; } } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } return; case 15: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par3 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } return; case 16: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } return; case 17: var$9.$onNeighborBlockChange($par1World, $par2, $par6, var$10, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 18; continue main; } } return; case 18: var$9.$onNeighborBlockChange($par1World, $par2, $par6, var$11, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }; function nms_BlockRailPowered() { nms_BlockRailBase.call(this); this.$theIcon10 = null; } let nms_BlockRailPowered__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); $this.$isPowered = 1; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.125; $this.$maxZ0 = 1.0; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabTransport; }, nms_BlockRailPowered__init_ = var_0 => { let var_1 = new nms_BlockRailPowered(); nms_BlockRailPowered__init_0(var_1, var_0); return var_1; }, nms_BlockRailPowered_getIcon = ($this, $par1, $par2) => { return $par2 & 8 ? $this.$theIcon10 : $this.$blockIcon; }, nms_BlockRailPowered_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_StringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1IconRegister); $rt_throw($par1IconRegister); } } $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$4 = $this.$textureName; if (var$4 === null) { var$3 = $this.$blockID; var$4 = $this.$unlocalizedName; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$3, 10); var$5 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$5, var$5 + 1 | 0); var$2.$buffer.data[var$5] = 95; var$3 = var$2.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$4); var$4 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; var$5 = var$2.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, var$4); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(3036)); var$4 = new jl_String; var$7 = var$2.$buffer; var$6 = var$7.data; var$8 = var$2.$length0; var$5 = var$6.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$theIcon10 = $par1IconRegister.$registerIcon(var$4, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockRailPowered_func_94360_a = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par7 >= 8) return 0; a: { $var8 = $par5 & 7; $var9 = 1; switch ($var8) { case 0: if (!$par6) { $par4 = $par4 + (-1) | 0; break a; } $par4 = $par4 + 1 | 0; break a; case 1: if (!$par6) { $par2 = $par2 + 1 | 0; break a; } $par2 = $par2 + (-1) | 0; break a; case 2: if ($par6) $par2 = $par2 + (-1) | 0; else { $par2 = $par2 + 1 | 0; $par3 = $par3 + 1 | 0; $var9 = 0; } $var8 = 1; break a; case 3: if (!$par6) $par2 = $par2 + 1 | 0; else { $par2 = $par2 + (-1) | 0; $par3 = $par3 + 1 | 0; $var9 = 0; } $var8 = 1; break a; case 4: if ($par6) $par4 = $par4 + 1 | 0; else { $par4 = $par4 + (-1) | 0; $par3 = $par3 + 1 | 0; $var9 = 0; } $var8 = 0; break a; case 5: if (!$par6) $par4 = $par4 + (-1) | 0; else { $par4 = $par4 + 1 | 0; $par3 = $par3 + 1 | 0; $var9 = 0; } $var8 = 0; break a; default: } } $ptr = 1; case 1: $tmp = nms_BlockRailPowered_func_94361_a($this, $par1World, $par2, $par3, $par4, $par6, $par7, $var8); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5) $par2 = 1; else { if ($var9) { $par3 = $par3 - 1 | 0; $ptr = 2; continue main; } $par2 = 0; } return $par2; case 2: $tmp = nms_BlockRailPowered_func_94361_a($this, $par1World, $par2, $par3, $par4, $par6, $par7, $var8); if ($rt_suspending()) { break main; } $par2 = $tmp; return !$par2 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $var8, $var9, $ptr); }, nms_BlockRailPowered_func_94361_a = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var9, $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nms_World_getBlockId($par1World, $par2, $par3, $par4) == $this.$blockID) { $var9 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var10 = $var9 & 7; if ($par7 == 1 && !($var10 && $var10 != 4 && $var10 != 5)) return 0; if (!$par7 && !($var10 != 1 && $var10 != 2 && $var10 != 3)) return 0; if ($var9 & 8) { $ptr = 1; continue main; } } return 0; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par7 = $tmp; if ($par7) return 1; $par6 = $par6 + 1 | 0; $ptr = 2; case 2: $tmp = nms_BlockRailPowered_func_94360_a($this, $par1World, $par2, $par3, $par4, $var9, $par5, $par6); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $var9, $var10, $ptr); }, nms_BlockRailPowered_func_94358_a = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, var$9, var$10, var$11, $var9, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();$var9 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var8 = $tmp; if (!$var8) { $par7 = 1; $var8 = 0; $ptr = 2; continue main; } if (1 && !($par5 & 8)) { $par5 = $par6 | 8; $par7 = 3; $ptr = 4; continue main; } if (!1 && $par5 & 8) { $par5 = 3; $ptr = 5; continue main; } if (0) { var$9 = $par3 - 1 | 0; var$10 = $this.$blockID; $par5 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par5, var$9, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 6; continue main; } } $var8 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $var8, var$9, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 7; continue main; } } $par7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 8; continue main; } } $par7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var9 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 10; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!($par6 != 2 && $par6 != 3 && $par6 != 4 && $par6 != 5)) { $par6 = $par3 + 1 | 0; $par7 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par5, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var8, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 13; continue main; } } $par5 = $par6 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 14; continue main; } } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } } } return; case 2: $tmp = nms_BlockRailPowered_func_94360_a($this, $par1World, $par2, $par3, $par4, $par5, $par7, $var8); if ($rt_suspending()) { break main; } $par7 = $tmp; if (!$par7) { $par7 = 0; $var8 = 0; $ptr = 3; continue main; } if (1 && !($par5 & 8)) { $par5 = $par6 | 8; $par7 = 3; $ptr = 4; continue main; } if (!1 && $par5 & 8) { $par5 = 3; $ptr = 5; continue main; } if (0) { var$9 = $par3 - 1 | 0; var$10 = $this.$blockID; $par5 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par5, var$9, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 6; continue main; } } $var8 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $var8, var$9, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 7; continue main; } } $par7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 8; continue main; } } $par7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var9 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 10; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!($par6 != 2 && $par6 != 3 && $par6 != 4 && $par6 != 5)) { $par6 = $par3 + 1 | 0; $par7 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par5, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var8, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 13; continue main; } } $par5 = $par6 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 14; continue main; } } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } } } return; case 3: $tmp = nms_BlockRailPowered_func_94360_a($this, $par1World, $par2, $par3, $par4, $par5, $par7, $var8); if ($rt_suspending()) { break main; } $par7 = $tmp; $par7 = $par7 ? 1 : 0; if ($par7 && !($par5 & 8)) { $par5 = $par6 | 8; $par7 = 3; $ptr = 4; continue main; } if (!$par7 && $par5 & 8) { $par5 = 3; $ptr = 5; continue main; } if (0) { var$9 = $par3 - 1 | 0; var$10 = $this.$blockID; $par5 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par5, var$9, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 6; continue main; } } $var8 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $var8, var$9, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 7; continue main; } } $par7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 8; continue main; } } $par7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var9 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 10; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!($par6 != 2 && $par6 != 3 && $par6 != 4 && $par6 != 5)) { $par6 = $par3 + 1 | 0; $par7 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par5, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var8, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 13; continue main; } } $par5 = $par6 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 14; continue main; } } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } } } return; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par5, $par7); if ($rt_suspending()) { break main; } if (1) { var$9 = $par3 - 1 | 0; var$10 = $this.$blockID; $par5 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par5, var$9, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 6; continue main; } } $var8 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $var8, var$9, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 7; continue main; } } $par7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 8; continue main; } } $par7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var9 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 10; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!($par6 != 2 && $par6 != 3 && $par6 != 4 && $par6 != 5)) { $par6 = $par3 + 1 | 0; $par7 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par5, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var8, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 13; continue main; } } $par5 = $par6 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 14; continue main; } } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } } } return; case 5: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par6, $par5); if ($rt_suspending()) { break main; } if (1) { var$9 = $par3 - 1 | 0; var$10 = $this.$blockID; $par5 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par5, var$9, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 6; continue main; } } $var8 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $var8, var$9, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 7; continue main; } } $par7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 8; continue main; } } $par7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var9 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 10; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!($par6 != 2 && $par6 != 3 && $par6 != 4 && $par6 != 5)) { $par6 = $par3 + 1 | 0; $par7 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par5, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var8, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 13; continue main; } } $par5 = $par6 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 14; continue main; } } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } } } return; case 6: var$11.$onNeighborBlockChange($par1World, $par5, var$9, $par4, var$10); if ($rt_suspending()) { break main; } $var8 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $var8, var$9, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 7; continue main; } } $par7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 8; continue main; } } $par7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var9 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 10; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!($par6 != 2 && $par6 != 3 && $par6 != 4 && $par6 != 5)) { $par6 = $par3 + 1 | 0; $par7 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par5, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var8, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 13; continue main; } } $par5 = $par6 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 14; continue main; } } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } } return; case 7: var$11.$onNeighborBlockChange($par1World, $var8, var$9, $par4, var$10); if ($rt_suspending()) { break main; } $par7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 8; continue main; } } $par7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var9 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 10; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!($par6 != 2 && $par6 != 3 && $par6 != 4 && $par6 != 5)) { $par6 = $par3 + 1 | 0; $par7 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par5, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var8, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 13; continue main; } } $par5 = $par6 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 14; continue main; } } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } } return; case 8: var$11.$onNeighborBlockChange($par1World, $par2, $par7, $par4, var$10); if ($rt_suspending()) { break main; } $par7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par7, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var9 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 10; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!($par6 != 2 && $par6 != 3 && $par6 != 4 && $par6 != 5)) { $par6 = $par3 + 1 | 0; $par7 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par5, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var8, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 13; continue main; } } $par5 = $par6 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 14; continue main; } } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } } return; case 9: var$11.$onNeighborBlockChange($par1World, $par2, $par7, $par4, var$10); if ($rt_suspending()) { break main; } $var9 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 10; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!($par6 != 2 && $par6 != 3 && $par6 != 4 && $par6 != 5)) { $par6 = $par3 + 1 | 0; $par7 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par5, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var8, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 13; continue main; } } $par5 = $par6 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 14; continue main; } } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } } return; case 10: var$11.$onNeighborBlockChange($par1World, $par2, var$9, $var9, var$10); if ($rt_suspending()) { break main; } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par7 = nms_World_getBlockId($par1World, $par2, var$9, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par7]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!($par6 != 2 && $par6 != 3 && $par6 != 4 && $par6 != 5)) { $par6 = $par3 + 1 | 0; $par7 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par5, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var8, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 13; continue main; } } $par5 = $par6 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 14; continue main; } } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } } return; case 11: var$11.$onNeighborBlockChange($par1World, $par2, var$9, var$13, var$10); if ($rt_suspending()) { break main; } if (!($par6 != 2 && $par6 != 3 && $par6 != 4 && $par6 != 5)) { $par6 = $par3 + 1 | 0; $par7 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par5, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var8, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 13; continue main; } } $par5 = $par6 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 14; continue main; } } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } } return; case 12: var$11.$onNeighborBlockChange($par1World, $par5, $par6, $par4, $par7); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var8, $par6, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 13; continue main; } } $par5 = $par6 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 14; continue main; } } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } return; case 13: var$11.$onNeighborBlockChange($par1World, $var8, $par6, $par4, $par7); if ($rt_suspending()) { break main; } $par5 = $par6 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 14; continue main; } } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } return; case 14: var$11.$onNeighborBlockChange($par1World, $par2, $par5, $par4, $par7); if ($rt_suspending()) { break main; } $par5 = $par6 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } return; case 15: var$11.$onNeighborBlockChange($par1World, $par2, $par5, $par4, $par7); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, $var9); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } return; case 16: var$11.$onNeighborBlockChange($par1World, $par2, $par6, $var9, $par7); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par6, var$13); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 17; continue main; } } return; case 17: var$11.$onNeighborBlockChange($par1World, $par2, $par6, var$13, $par7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $var8, var$9, var$10, var$11, $var9, var$13, $ptr); }; function nms_BlockDetectorRail() { nms_BlockRailBase.call(this); this.$iconArray10 = null; } let nms_BlockDetectorRail__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); $this.$isPowered = 1; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.125; $this.$maxZ0 = 1.0; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabTransport; $this.$needsRandomTick = 1; }, nms_BlockDetectorRail__init_ = var_0 => { let var_1 = new nms_BlockDetectorRail(); nms_BlockDetectorRail__init_0(var_1, var_0); return var_1; }, nms_BlockDetectorRail_canProvidePower = $this => { return 1; }, nms_BlockDetectorRail_onEntityCollidedWithBlock = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { let $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$par5Entity = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1World.$isRemote) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if (!($var6 & 8)) { $ptr = 1; continue main; } } return; case 1: nms_BlockDetectorRail_setStateIfMinecartInteractsWithRail($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Entity, $var6, $ptr); }, nms_BlockDetectorRail_isProvidingWeakPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return !(nms_World_getBlockMetadata($par1IBlockAccess, $par2, $par3, $par4) & 8) ? 0 : 15; }, nms_BlockDetectorRail_isProvidingStrongPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return !($par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) & 8) ? 0 : $par5 != 1 ? 0 : 15; }, nms_BlockDetectorRail_setStateIfMinecartInteractsWithRail = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var9, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = !($par5 & 8) ? 0 : 1; $var7 = 0; $var9 = $rt_cls(nms_EntityMinecart); var$9 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = $par2 + 0.125; var$11 = $par3; var$12 = $par4 + 0.125; var$13 = $par2 + 1 | 0; var$14 = var$13 - 0.125; var$15 = $par3 + 1 | 0; var$16 = var$15 - 0.125; var$17 = $par4 + 1 | 0; var$18 = var$17 - 0.125; var$19 = var$9.$nextPoolIndex; var$20 = var$9.$listAABB; var$21 = var$20.$size0; var$22 = $rt_compare(var$19, var$21); if (var$22 >= 0) { var$23 = new nms_AxisAlignedBB; var$23.$minX = var$10; var$23.$minY = var$11; var$23.$minZ = var$12; var$23.$maxX = var$14; var$23.$maxY = var$16; var$23.$maxZ = var$18; ju_ArrayList_ensureCapacity(var$20, var$21 + 1 | 0); var$24 = var$20.$array.data; var$22 = var$20.$size0; var$20.$size0 = var$22 + 1 | 0; var$24[var$22] = var$23; var$20.$modCount = var$20.$modCount + 1 | 0; } else if (var$19 >= 0 && var$22 < 0) { var$23 = var$20.$array.data[var$19]; var$23.$minX = var$10; var$23.$minY = var$11; var$23.$minZ = var$12; var$23.$maxX = var$14; var$23.$maxY = var$16; var$23.$maxZ = var$18; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$9.$nextPoolIndex = var$9.$nextPoolIndex + 1 | 0; var$20 = null; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB($par1World, $var9, var$23, var$20); if ($rt_suspending()) { break main; } $var9 = $tmp; if (!($var9.$size0 ? 0 : 1)) $var7 = 1; if ($var7 && !$var6) { var$19 = $par5 | 8; var$22 = 3; $ptr = 2; continue main; } if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$19, var$22); if ($rt_suspending()) { break main; } var$22 = $this.$blockID; var$21 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$21, $par3, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 5; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 7; continue main; } } var$25 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$15, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 11; continue main; } } var$26 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, $par3, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, $par3, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 15; continue main; } } var$27 = $this.$blockID; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$21, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$13, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 19; continue main; } } var$19 = var$25 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 21; continue main; } } var$19 = var$25 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 27; continue main; } } var$19 = 0; while (true) { $var9 = $par1World.$worldAccesses; var$22 = $rt_compare(var$19, $var9.$size0); if (var$22 >= 0) { if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; } if (var$19 < 0) break; if (var$22 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$19], var$21, var$25, var$26, var$13, var$15, var$17); var$19 = var$19 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 3: nms_World_func_96440_m($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } return; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par5, $var6); if ($rt_suspending()) { break main; } $par5 = $this.$blockID; var$19 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$19, $par3, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 6; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 8; continue main; } } var$22 = $par3 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$15, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 12; continue main; } } var$21 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, $par3, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, $par3, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 16; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$19, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$13, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 20; continue main; } } var$25 = var$22 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 22; continue main; } } var$25 = var$22 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 28; continue main; } } $par5 = 0; while (true) { $var9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, $var9.$size0); if ($var6 >= 0) { $par5 = $this.$blockID; $ptr = 3; continue main; } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$par5], var$19, var$22, var$21, var$13, var$15, var$17); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 5: $var9.$onNeighborBlockChange($par1World, var$21, $par3, $par4, var$22); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 7; continue main; } } var$25 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$15, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 11; continue main; } } var$26 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, $par3, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, $par3, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 15; continue main; } } var$27 = $this.$blockID; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$21, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$13, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 19; continue main; } } var$19 = var$25 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 21; continue main; } } var$19 = var$25 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 27; continue main; } } var$19 = 0; while (true) { $var9 = $par1World.$worldAccesses; var$22 = $rt_compare(var$19, $var9.$size0); if (var$22 >= 0) { if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; } if (var$19 < 0) break; if (var$22 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$19], var$21, var$25, var$26, var$13, var$15, var$17); var$19 = var$19 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 6: $var9.$onNeighborBlockChange($par1World, var$19, $par3, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 8; continue main; } } var$22 = $par3 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$15, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 12; continue main; } } var$21 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, $par3, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, $par3, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 16; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$19, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$13, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 20; continue main; } } var$25 = var$22 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 22; continue main; } } var$25 = var$22 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 28; continue main; } } $par5 = 0; while (true) { $var9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, $var9.$size0); if ($var6 >= 0) { $par5 = $this.$blockID; $ptr = 3; continue main; } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$par5], var$19, var$22, var$21, var$13, var$15, var$17); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 7: $var9.$onNeighborBlockChange($par1World, var$13, $par3, $par4, var$22); if ($rt_suspending()) { break main; } var$25 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$15, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 11; continue main; } } var$26 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, $par3, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, $par3, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 15; continue main; } } var$27 = $this.$blockID; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$21, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$13, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 19; continue main; } } var$19 = var$25 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 21; continue main; } } var$19 = var$25 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 27; continue main; } } var$19 = 0; while (true) { $var9 = $par1World.$worldAccesses; var$22 = $rt_compare(var$19, $var9.$size0); if (var$22 >= 0) { if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; } if (var$19 < 0) break; if (var$22 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$19], var$21, var$25, var$26, var$13, var$15, var$17); var$19 = var$19 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 8: $var9.$onNeighborBlockChange($par1World, var$13, $par3, $par4, $par5); if ($rt_suspending()) { break main; } var$22 = $par3 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$15, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 12; continue main; } } var$21 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, $par3, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, $par3, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 16; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$19, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$13, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 20; continue main; } } var$25 = var$22 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 22; continue main; } } var$25 = var$22 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 28; continue main; } } $par5 = 0; while (true) { $var9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, $var9.$size0); if ($var6 >= 0) { $par5 = $this.$blockID; $ptr = 3; continue main; } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$par5], var$19, var$22, var$21, var$13, var$15, var$17); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 9: $var9.$onNeighborBlockChange($par1World, $par2, var$25, $par4, var$22); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$15, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 11; continue main; } } var$26 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, $par3, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, $par3, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 15; continue main; } } var$27 = $this.$blockID; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$21, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$13, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 19; continue main; } } var$19 = var$25 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 21; continue main; } } var$19 = var$25 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 27; continue main; } } var$19 = 0; while (true) { $var9 = $par1World.$worldAccesses; var$22 = $rt_compare(var$19, $var9.$size0); if (var$22 >= 0) { if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; } if (var$19 < 0) break; if (var$22 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$19], var$21, var$25, var$26, var$13, var$15, var$17); var$19 = var$19 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 10: $var9.$onNeighborBlockChange($par1World, $par2, var$22, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$15, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 12; continue main; } } var$21 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, $par3, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, $par3, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 16; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$19, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$13, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 20; continue main; } } var$25 = var$22 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 22; continue main; } } var$25 = var$22 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 28; continue main; } } $par5 = 0; while (true) { $var9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, $var9.$size0); if ($var6 >= 0) { $par5 = $this.$blockID; $ptr = 3; continue main; } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$par5], var$19, var$22, var$21, var$13, var$15, var$17); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 11: $var9.$onNeighborBlockChange($par1World, $par2, var$15, $par4, var$22); if ($rt_suspending()) { break main; } var$26 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, $par3, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, $par3, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 15; continue main; } } var$27 = $this.$blockID; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$21, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$13, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 19; continue main; } } var$19 = var$25 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 21; continue main; } } var$19 = var$25 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 27; continue main; } } var$19 = 0; while (true) { $var9 = $par1World.$worldAccesses; var$22 = $rt_compare(var$19, $var9.$size0); if (var$22 >= 0) { if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; } if (var$19 < 0) break; if (var$22 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$19], var$21, var$25, var$26, var$13, var$15, var$17); var$19 = var$19 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 12: $var9.$onNeighborBlockChange($par1World, $par2, var$15, $par4, $par5); if ($rt_suspending()) { break main; } var$21 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, $par3, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, $par3, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 16; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$19, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$13, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 20; continue main; } } var$25 = var$22 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 22; continue main; } } var$25 = var$22 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 28; continue main; } } $par5 = 0; while (true) { $var9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, $var9.$size0); if ($var6 >= 0) { $par5 = $this.$blockID; $ptr = 3; continue main; } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$par5], var$19, var$22, var$21, var$13, var$15, var$17); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 13: $var9.$onNeighborBlockChange($par1World, $par2, $par3, var$26, var$22); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, $par3, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 15; continue main; } } var$27 = $this.$blockID; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$21, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$13, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 19; continue main; } } var$19 = var$25 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 21; continue main; } } var$19 = var$25 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 27; continue main; } } var$19 = 0; while (true) { $var9 = $par1World.$worldAccesses; var$22 = $rt_compare(var$19, $var9.$size0); if (var$22 >= 0) { if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; } if (var$19 < 0) break; if (var$22 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$19], var$21, var$25, var$26, var$13, var$15, var$17); var$19 = var$19 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 14: $var9.$onNeighborBlockChange($par1World, $par2, $par3, var$21, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, $par3, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 16; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$19, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$13, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 20; continue main; } } var$25 = var$22 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 22; continue main; } } var$25 = var$22 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 28; continue main; } } $par5 = 0; while (true) { $var9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, $var9.$size0); if ($var6 >= 0) { $par5 = $this.$blockID; $ptr = 3; continue main; } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$par5], var$19, var$22, var$21, var$13, var$15, var$17); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 15: $var9.$onNeighborBlockChange($par1World, $par2, $par3, var$17, var$22); if ($rt_suspending()) { break main; } var$27 = $this.$blockID; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$21, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$13, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 19; continue main; } } var$19 = var$25 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 21; continue main; } } var$19 = var$25 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 27; continue main; } } var$19 = 0; while (true) { $var9 = $par1World.$worldAccesses; var$22 = $rt_compare(var$19, $var9.$size0); if (var$22 >= 0) { if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; } if (var$19 < 0) break; if (var$22 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$19], var$21, var$25, var$26, var$13, var$15, var$17); var$19 = var$19 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 16: $var9.$onNeighborBlockChange($par1World, $par2, $par3, var$17, $par5); if ($rt_suspending()) { break main; } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$19, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$13, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 20; continue main; } } var$25 = var$22 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 22; continue main; } } var$25 = var$22 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 28; continue main; } } $par5 = 0; while (true) { $var9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, $var9.$size0); if ($var6 >= 0) { $par5 = $this.$blockID; $ptr = 3; continue main; } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$par5], var$19, var$22, var$21, var$13, var$15, var$17); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 17: $var9.$onNeighborBlockChange($par1World, var$21, var$25, $par4, var$27); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, var$13, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 19; continue main; } } var$19 = var$25 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 21; continue main; } } var$19 = var$25 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 27; continue main; } } var$19 = 0; while (true) { $var9 = $par1World.$worldAccesses; var$22 = $rt_compare(var$19, $var9.$size0); if (var$22 >= 0) { if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; } if (var$19 < 0) break; if (var$22 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$19], var$21, var$25, var$26, var$13, var$15, var$17); var$19 = var$19 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 18: $var9.$onNeighborBlockChange($par1World, var$19, var$22, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$13, var$22, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 20; continue main; } } var$25 = var$22 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 22; continue main; } } var$25 = var$22 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 28; continue main; } } $par5 = 0; while (true) { $var9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, $var9.$size0); if ($var6 >= 0) { $par5 = $this.$blockID; $ptr = 3; continue main; } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$par5], var$19, var$22, var$21, var$13, var$15, var$17); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 19: $var9.$onNeighborBlockChange($par1World, var$13, var$25, $par4, var$27); if ($rt_suspending()) { break main; } var$19 = var$25 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 21; continue main; } } var$19 = var$25 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 27; continue main; } } var$19 = 0; while (true) { $var9 = $par1World.$worldAccesses; var$22 = $rt_compare(var$19, $var9.$size0); if (var$22 >= 0) { if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; } if (var$19 < 0) break; if (var$22 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$19], var$21, var$25, var$26, var$13, var$15, var$17); var$19 = var$19 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 20: $var9.$onNeighborBlockChange($par1World, var$13, var$22, $par4, $par5); if ($rt_suspending()) { break main; } var$25 = var$22 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 22; continue main; } } var$25 = var$22 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 28; continue main; } } $par5 = 0; while (true) { $var9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, $var9.$size0); if ($var6 >= 0) { $par5 = $this.$blockID; $ptr = 3; continue main; } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$par5], var$19, var$22, var$21, var$13, var$15, var$17); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 21: $var9.$onNeighborBlockChange($par1World, $par2, var$19, $par4, var$27); if ($rt_suspending()) { break main; } var$19 = var$25 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par2, var$19, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$22]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 27; continue main; } } var$19 = 0; while (true) { $var9 = $par1World.$worldAccesses; var$22 = $rt_compare(var$19, $var9.$size0); if (var$22 >= 0) { if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; } if (var$19 < 0) break; if (var$22 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$19], var$21, var$25, var$26, var$13, var$15, var$17); var$19 = var$19 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 22: $var9.$onNeighborBlockChange($par1World, $par2, var$25, $par4, $par5); if ($rt_suspending()) { break main; } var$25 = var$22 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$25, $par4); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 28; continue main; } } $par5 = 0; while (true) { $var9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, $var9.$size0); if ($var6 >= 0) { $par5 = $this.$blockID; $ptr = 3; continue main; } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$par5], var$19, var$22, var$21, var$13, var$15, var$17); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 23: $var9.$onNeighborBlockChange($par1World, $par2, var$19, $par4, var$27); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$26); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 27; continue main; } } var$19 = 0; while (true) { $var9 = $par1World.$worldAccesses; var$22 = $rt_compare(var$19, $var9.$size0); if (var$22 >= 0) { if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; } if (var$19 < 0) break; if (var$22 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$19], var$21, var$25, var$26, var$13, var$15, var$17); var$19 = var$19 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 24: $var9.$onNeighborBlockChange($par1World, $par2, var$25, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$21); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 28; continue main; } } $par5 = 0; while (true) { $var9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, $var9.$size0); if ($var6 >= 0) { $par5 = $this.$blockID; $ptr = 3; continue main; } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$par5], var$19, var$22, var$21, var$13, var$15, var$17); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 25: $var9.$onNeighborBlockChange($par1World, $par2, var$25, var$26, var$27); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par2, var$25, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[var$19]; if ($var9 !== null) { $ptr = 27; continue main; } } var$19 = 0; while (true) { $var9 = $par1World.$worldAccesses; var$22 = $rt_compare(var$19, $var9.$size0); if (var$22 >= 0) { if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; } if (var$19 < 0) break; if (var$22 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$19], var$21, var$25, var$26, var$13, var$15, var$17); var$19 = var$19 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 26: $var9.$onNeighborBlockChange($par1World, $par2, var$22, var$21, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$22, var$17); nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 28; continue main; } } $par5 = 0; while (true) { $var9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, $var9.$size0); if ($var6 >= 0) { $par5 = $this.$blockID; $ptr = 3; continue main; } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$par5], var$19, var$22, var$21, var$13, var$15, var$17); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 27: $var9.$onNeighborBlockChange($par1World, $par2, var$25, var$17, var$27); if ($rt_suspending()) { break main; } var$19 = 0; while (true) { $var9 = $par1World.$worldAccesses; var$22 = $rt_compare(var$19, $var9.$size0); if (var$22 >= 0) { if (!$var7 && $var6) { $par5 = $par5 & 7; $var6 = 3; $ptr = 4; continue main; } $par5 = $this.$blockID; $ptr = 3; continue main; } if (var$19 < 0) break; if (var$22 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$19], var$21, var$25, var$26, var$13, var$15, var$17); var$19 = var$19 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 28: $var9.$onNeighborBlockChange($par1World, $par2, var$22, var$17, $par5); if ($rt_suspending()) { break main; } $par5 = 0; while (true) { $var9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, $var9.$size0); if ($var6 >= 0) { $par5 = $this.$blockID; $ptr = 3; continue main; } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$par5], var$19, var$22, var$21, var$13, var$15, var$17); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, $var9, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, $ptr); }, nms_BlockDetectorRail_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $par1World.$isRemote; if (!var$5) { var$6 = 1; if (!var$5) { var$7 = nms_BlockBaseRailLogic__init_($this, $par1World, $par2, $par3, $par4); $ptr = 2; continue main; } if ($this.$isPowered) { var$5 = $this.$blockID; $ptr = 4; continue main; } } var$5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $ptr = 1; case 1: nms_BlockDetectorRail_setStateIfMinecartInteractsWithRail($this, $par1World, $par2, $par3, $par4, var$5); if ($rt_suspending()) { break main; } return; case 2: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$5 = $tmp; $ptr = 3; case 3: nms_BlockBaseRailLogic_func_94511_a(var$7, var$5, var$6); if ($rt_suspending()) { break main; } if (!$this.$isPowered) { var$5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $ptr = 1; continue main; } var$5 = $this.$blockID; $ptr = 4; case 4: nms_BlockRailBase_onNeighborBlockChange($this, $par1World, $par2, $par3, $par4, var$5); if ($rt_suspending()) { break main; } var$5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, $ptr); }, nms_BlockDetectorRail_hasComparatorInputOverride = $this => { return 1; }, nms_BlockDetectorRail_getComparatorInputOverride = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, $var7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ((nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 8) <= 0) return 0; var$6 = $rt_cls(nms_EntityMinecart); $var7 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$8 = $par2 + 0.125; var$9 = $par3; var$10 = $par4 + 0.125; var$11 = ($par2 + 1 | 0) - 0.125; var$12 = ($par3 + 1 | 0) - 0.125; var$13 = ($par4 + 1 | 0) - 0.125; $par3 = $var7.$nextPoolIndex; var$14 = $var7.$listAABB; $par2 = var$14.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$15 = new nms_AxisAlignedBB; var$15.$minX = var$8; var$15.$minY = var$9; var$15.$minZ = var$10; var$15.$maxX = var$11; var$15.$maxY = var$12; var$15.$maxZ = var$13; ju_ArrayList_ensureCapacity(var$14, $par2 + 1 | 0); var$16 = var$14.$array.data; $par3 = var$14.$size0; var$14.$size0 = $par3 + 1 | 0; var$16[$par3] = var$15; var$14.$modCount = var$14.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$15 = var$14.$array.data[$par3]; var$15.$minX = var$8; var$15.$minY = var$9; var$15.$minZ = var$10; var$15.$maxX = var$11; var$15.$maxY = var$12; var$15.$maxZ = var$13; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var7.$nextPoolIndex = $var7.$nextPoolIndex + 1 | 0; $var7 = nms_IEntitySelector_selectInventories; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB($par1World, var$6, var$15, $var7); if ($rt_suspending()) { break main; } $var7 = $tmp; $par3 = $var7.$size0; if ($par3 <= 0) return 0; if (0 < $par3) return nms_Container_calcRedstoneFromInventory($var7.$array.data[0]); $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, $var7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_BlockDetectorRail_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$2 = $rt_createArray(nms_Icon, 2); $this.$iconArray10 = var$2; var$3 = $this.$textureName; if (var$3 === null) { var$4 = $this.$blockID; var$3 = $this.$unlocalizedName; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$4, 10); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 95; var$4 = var$5.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$4, var$3); var$3 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$6 = var$5.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$2.data[0] = $par1IconRegister.$registerIcon(var$3, 1); var$2 = $this.$iconArray10; var$3 = $this.$textureName; if (var$3 === null) { var$10 = $this.$blockID; var$3 = $this.$unlocalizedName; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$10, 10); var$4 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$4, var$4 + 1 | 0); var$5.$buffer.data[var$4] = 95; var$10 = var$5.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$10, var$3); var$3 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$4 = var$5.$length0; var$6 = var$8.length; if (var$4 >= 0 && var$4 <= (var$6 - 0 | 0)) var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$4); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$3); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3036)); var$3 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$4 = var$5.$length0; var$6 = var$8.length; if (var$4 >= 0 && var$4 <= (var$6 - 0 | 0)) { var$2 = var$2.data; var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$4); var$2[1] = $par1IconRegister.$registerIcon(var$3, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockDetectorRail_getIcon = ($this, $par1, $par2) => { return !($par2 & 8) ? $this.$iconArray10.data[0] : $this.$iconArray10.data[1]; }; function nms_BlockPistonBase() { let a = this; nms_Block.call(a); a.$isSticky = 0; a.$innerTopIcon = null; a.$bottomIcon = null; a.$topIcon = null; } let nms_BlockPistonBase__init_0 = ($this, $par1, $par2) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_piston); $this.$isSticky = $par2; $this.$stepSound = nms_Block_soundStoneFootstep; $this.$blockHardness = 0.5; if ($this.$blockResistance < 2.5) $this.$blockResistance = 2.5; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; }, nms_BlockPistonBase__init_ = (var_0, var_1) => { let var_2 = new nms_BlockPistonBase(); nms_BlockPistonBase__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockPistonBase_getIcon = ($this, $par1, $par2) => { let $var3, var$4; $var3 = $par2 & 7; if ($var3 > 5) var$4 = $this.$topIcon; else if ($par1 != $var3) var$4 = $par1 != nms_Facing_oppositeSide.data[$var3] ? $this.$blockIcon : $this.$bottomIcon; else { $par1 = !($par2 & 8) ? 0 : 1; var$4 = !$par1 && $this.$minX0 <= 0.0 && $this.$minY0 <= 0.0 && $this.$minZ0 <= 0.0 && $this.$maxX0 >= 1.0 && $this.$maxY0 >= 1.0 && $this.$maxZ0 >= 1.0 ? $this.$topIcon : $this.$innerTopIcon; } return var$4; }, nms_BlockPistonBase_getPistonBaseIcon = $par0Str => { if ($par0Str === $rt_s(1157)) { nms_Block_$callClinit(); $par0Str = nms_Block_pistonBase.$blockIcon; } else if ($par0Str === $rt_s(3037)) { nms_Block_$callClinit(); $par0Str = nms_Block_pistonBase.$topIcon; } else if ($par0Str === $rt_s(3038)) { nms_Block_$callClinit(); $par0Str = nms_Block_pistonStickyBase.$topIcon; } else if ($par0Str !== $rt_s(3039)) $par0Str = null; else { nms_Block_$callClinit(); $par0Str = nms_Block_pistonBase.$innerTopIcon; } return $par0Str; }, nms_BlockPistonBase_registerIcons = ($this, $par1IconRegister) => { $this.$blockIcon = $par1IconRegister.$registerIcon($rt_s(1157), 1); $this.$topIcon = $par1IconRegister.$registerIcon(!$this.$isSticky ? $rt_s(3037) : $rt_s(3038), 1); $this.$innerTopIcon = $par1IconRegister.$registerIcon($rt_s(3039), 1); $this.$bottomIcon = $par1IconRegister.$registerIcon($rt_s(3040), 1); }, nms_BlockPistonBase_getRenderType = $this => { return 16; }, nms_BlockPistonBase_isOpaqueCube = $this => { return 0; }, nms_BlockPistonBase_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { return 0; }, nms_BlockPistonBase_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let $var7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = nms_BlockPistonBase_determineOrientation($par1World, $par2, $par3, $par4, $par5EntityLivingBase); var$8 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, var$8); if ($rt_suspending()) { break main; } if ($par1World.$isRemote) return; $ptr = 2; case 2: nms_BlockPistonBase_updatePistonState($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, $var7, var$8, $ptr); }, nms_BlockPistonBase_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $ptr = 1; case 1: nms_BlockPistonBase_updatePistonState($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockPistonBase_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 !== null) return; $ptr = 2; case 2: nms_BlockPistonBase_updatePistonState($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, $ptr); }, nms_BlockPistonBase_updatePistonState = ($this, $par1World, $par2, $par3, $par4) => { let $var5, $var6, $var7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var6 = $var5 & 7; if ($var6 == 7) return; $ptr = 1; case 1: a: { $tmp = nms_BlockPistonBase_isIndirectlyPowered($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 && !(!($var5 & 8) ? 0 : 1)) { if (!nms_BlockPistonBase_canExtend($par1World, $par2, $par3, $par4, $var6)) break a; var$8 = $this.$blockID; $var7 = 0; if (var$8 <= 0) break a; nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; $ptr = 4; continue main; } if (!$var7 && (!($var5 & 8) ? 0 : 1)) { var$8 = 2; $ptr = 2; continue main; } } return; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var6, var$8); if ($rt_suspending()) { break main; } var$8 = $this.$blockID; $var7 = 1; if (var$8 <= 0) return; nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; $ptr = 3; case 3: var$9.$onBlockEventReceived($par1World, $par2, $par3, $par4, $var7, $var6); if ($rt_suspending()) { break main; } return; case 4: var$9.$onBlockEventReceived($par1World, $par2, $par3, $par4, $var7, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, $var6, $var7, var$8, var$9, $ptr); }, nms_BlockPistonBase_isIndirectlyPowered = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($par5) { var$6 = $par3 - 1 | 0; var$7 = 0; var$8 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else var$8 = 0; if (var$8) { $ptr = 1; continue main; } var$8 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if (var$8) { var$9 = nms_Block_blocksList.data[var$8]; $ptr = 3; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break a; } } b: { if ($par5 != 1) { var$6 = $par3 + 1 | 0; var$7 = 1; var$8 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else var$8 = 0; if (var$8) { $ptr = 2; continue main; } var$8 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break b; $par2 = 1; break a; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 5; continue main; } } c: { if ($par5 != 2) { var$6 = $par4 - 1 | 0; var$7 = 2; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!var$8) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break c; $par2 = 1; break a; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 7; continue main; } $ptr = 4; continue main; } } d: { if ($par5 != 3) { var$6 = $par4 + 1 | 0; var$7 = 3; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!var$8) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break d; $par2 = 1; break a; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 9; continue main; } $ptr = 6; continue main; } } if ($par5 != 5) { var$7 = $par2 + 1 | 0; var$8 = 5; var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 8; continue main; } var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 12; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break a; } } e: { if ($par5 != 4) { var$6 = $par2 - 1 | 0; var$7 = 4; $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else $par5 = 0; if ($par5) { $ptr = 11; continue main; } $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (!$par5) { if (!(0 <= 0 ? 0 : 1)) break e; $par2 = 1; break a; } var$9 = nms_Block_blocksList.data[$par5]; $ptr = 14; continue main; } } var$6 = 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 10; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 13; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } } return $par2; case 1: $tmp = nms_World_getBlockPowerInput($par1World, $par2, var$6, $par4); if ($rt_suspending()) { break main; } var$6 = $tmp; var$6 = var$6 <= 0 ? 0 : 1; f: { if (var$6) $par2 = 1; else { g: { if ($par5 != 1) { var$6 = $par3 + 1 | 0; var$7 = 1; var$8 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else var$8 = 0; if (var$8) { $ptr = 2; continue main; } var$8 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break g; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 5; continue main; } } h: { if ($par5 != 2) { var$6 = $par4 - 1 | 0; var$7 = 2; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!var$8) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break h; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 7; continue main; } $ptr = 4; continue main; } } i: { if ($par5 != 3) { var$6 = $par4 + 1 | 0; var$7 = 3; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!var$8) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break i; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 9; continue main; } $ptr = 6; continue main; } } if ($par5 != 5) { var$7 = $par2 + 1 | 0; var$8 = 5; var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 8; continue main; } var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 12; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break f; } } j: { if ($par5 != 4) { var$6 = $par2 - 1 | 0; var$7 = 4; $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else $par5 = 0; if ($par5) { $ptr = 11; continue main; } $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (!$par5) { if (!(0 <= 0 ? 0 : 1)) break j; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[$par5]; $ptr = 14; continue main; } } var$6 = 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 10; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 13; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } } } return $par2; case 2: $tmp = nms_World_getBlockPowerInput($par1World, $par2, var$6, $par4); if ($rt_suspending()) { break main; } var$6 = $tmp; var$6 = var$6 <= 0 ? 0 : 1; f: { if (var$6) $par2 = 1; else { g: { if ($par5 != 2) { var$6 = $par4 - 1 | 0; var$7 = 2; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!var$8) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break g; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 7; continue main; } $ptr = 4; continue main; } } h: { if ($par5 != 3) { var$6 = $par4 + 1 | 0; var$7 = 3; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!var$8) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break h; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 9; continue main; } $ptr = 6; continue main; } } if ($par5 != 5) { var$7 = $par2 + 1 | 0; var$8 = 5; var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 8; continue main; } var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 12; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break f; } } k: { if ($par5 != 4) { var$6 = $par2 - 1 | 0; var$7 = 4; $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else $par5 = 0; if ($par5) { $ptr = 11; continue main; } $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (!$par5) { if (!(0 <= 0 ? 0 : 1)) break k; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[$par5]; $ptr = 14; continue main; } } var$6 = 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 10; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 13; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } } } return $par2; case 3: $tmp = var$9.$isProvidingWeakPower($par1World, $par2, var$6, $par4, var$7); if ($rt_suspending()) { break main; } var$6 = $tmp; var$6 = var$6 <= 0 ? 0 : 1; f: { if (var$6) $par2 = 1; else { g: { if ($par5 != 1) { var$6 = $par3 + 1 | 0; var$7 = 1; var$8 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else var$8 = 0; if (var$8) { $ptr = 2; continue main; } var$8 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break g; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 5; continue main; } } h: { if ($par5 != 2) { var$6 = $par4 - 1 | 0; var$7 = 2; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!var$8) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break h; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 7; continue main; } $ptr = 4; continue main; } } i: { if ($par5 != 3) { var$6 = $par4 + 1 | 0; var$7 = 3; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!var$8) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break i; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 9; continue main; } $ptr = 6; continue main; } } if ($par5 != 5) { var$7 = $par2 + 1 | 0; var$8 = 5; var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 8; continue main; } var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 12; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break f; } } j: { if ($par5 != 4) { var$6 = $par2 - 1 | 0; var$7 = 4; $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else $par5 = 0; if ($par5) { $ptr = 11; continue main; } $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (!$par5) { if (!(0 <= 0 ? 0 : 1)) break j; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[$par5]; $ptr = 14; continue main; } } var$6 = 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 10; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 13; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } } } return $par2; case 4: $tmp = nms_World_getBlockPowerInput($par1World, $par2, $par3, var$6); if ($rt_suspending()) { break main; } var$6 = $tmp; var$6 = var$6 <= 0 ? 0 : 1; f: { if (var$6) $par2 = 1; else { g: { if ($par5 != 3) { var$6 = $par4 + 1 | 0; var$7 = 3; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!var$8) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break g; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 9; continue main; } $ptr = 6; continue main; } } if ($par5 != 5) { var$7 = $par2 + 1 | 0; var$8 = 5; var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 8; continue main; } var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 12; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break f; } } l: { if ($par5 != 4) { var$6 = $par2 - 1 | 0; var$7 = 4; $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else $par5 = 0; if ($par5) { $ptr = 11; continue main; } $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (!$par5) { if (!(0 <= 0 ? 0 : 1)) break l; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[$par5]; $ptr = 14; continue main; } } var$6 = 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 10; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 13; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } } } return $par2; case 5: $tmp = var$9.$isProvidingWeakPower($par1World, $par2, var$6, $par4, var$7); if ($rt_suspending()) { break main; } var$6 = $tmp; var$6 = var$6 <= 0 ? 0 : 1; f: { if (var$6) $par2 = 1; else { g: { if ($par5 != 2) { var$6 = $par4 - 1 | 0; var$7 = 2; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!var$8) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break g; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 7; continue main; } $ptr = 4; continue main; } } h: { if ($par5 != 3) { var$6 = $par4 + 1 | 0; var$7 = 3; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!var$8) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break h; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 9; continue main; } $ptr = 6; continue main; } } if ($par5 != 5) { var$7 = $par2 + 1 | 0; var$8 = 5; var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 8; continue main; } var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 12; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break f; } } k: { if ($par5 != 4) { var$6 = $par2 - 1 | 0; var$7 = 4; $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else $par5 = 0; if ($par5) { $ptr = 11; continue main; } $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (!$par5) { if (!(0 <= 0 ? 0 : 1)) break k; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[$par5]; $ptr = 14; continue main; } } var$6 = 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 10; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 13; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } } } return $par2; case 6: $tmp = nms_World_getBlockPowerInput($par1World, $par2, $par3, var$6); if ($rt_suspending()) { break main; } var$6 = $tmp; var$6 = var$6 <= 0 ? 0 : 1; f: { if (var$6) $par2 = 1; else { if ($par5 != 5) { var$7 = $par2 + 1 | 0; var$8 = 5; var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 8; continue main; } var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 12; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break f; } } m: { if ($par5 != 4) { var$6 = $par2 - 1 | 0; var$7 = 4; $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else $par5 = 0; if ($par5) { $ptr = 11; continue main; } $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (!$par5) { if (!(0 <= 0 ? 0 : 1)) break m; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[$par5]; $ptr = 14; continue main; } } var$6 = 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 10; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 13; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } } } return $par2; case 7: $tmp = var$9.$isProvidingWeakPower($par1World, $par2, $par3, var$6, var$7); if ($rt_suspending()) { break main; } var$6 = $tmp; var$6 = var$6 <= 0 ? 0 : 1; f: { if (var$6) $par2 = 1; else { g: { if ($par5 != 3) { var$6 = $par4 + 1 | 0; var$7 = 3; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!var$8) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (!var$8) { if (!(0 <= 0 ? 0 : 1)) break g; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[var$8]; $ptr = 9; continue main; } $ptr = 6; continue main; } } if ($par5 != 5) { var$7 = $par2 + 1 | 0; var$8 = 5; var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 8; continue main; } var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 12; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break f; } } l: { if ($par5 != 4) { var$6 = $par2 - 1 | 0; var$7 = 4; $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else $par5 = 0; if ($par5) { $ptr = 11; continue main; } $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (!$par5) { if (!(0 <= 0 ? 0 : 1)) break l; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[$par5]; $ptr = 14; continue main; } } var$6 = 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 10; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 13; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } } } return $par2; case 8: $tmp = nms_World_getBlockPowerInput($par1World, var$7, $par3, $par4); if ($rt_suspending()) { break main; } var$6 = $tmp; var$6 = var$6 <= 0 ? 0 : 1; n: { if (var$6) $par2 = 1; else { f: { if ($par5 != 4) { var$6 = $par2 - 1 | 0; var$7 = 4; $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else $par5 = 0; if ($par5) { $ptr = 11; continue main; } $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (!$par5) { if (!(0 <= 0 ? 0 : 1)) break f; $par2 = 1; break n; } var$9 = nms_Block_blocksList.data[$par5]; $ptr = 14; continue main; } } var$6 = 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 10; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 13; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } } } return $par2; case 9: $tmp = var$9.$isProvidingWeakPower($par1World, $par2, $par3, var$6, var$7); if ($rt_suspending()) { break main; } var$6 = $tmp; var$6 = var$6 <= 0 ? 0 : 1; f: { if (var$6) $par2 = 1; else { if ($par5 != 5) { var$7 = $par2 + 1 | 0; var$8 = 5; var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 8; continue main; } var$6 = nms_World_getBlockId($par1World, var$7, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 12; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break f; } } m: { if ($par5 != 4) { var$6 = $par2 - 1 | 0; var$7 = 4; $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else $par5 = 0; if ($par5) { $ptr = 11; continue main; } $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (!$par5) { if (!(0 <= 0 ? 0 : 1)) break m; $par2 = 1; break f; } var$9 = nms_Block_blocksList.data[$par5]; $ptr = 14; continue main; } } var$6 = 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 10; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 13; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } } } return $par2; case 10: $tmp = nms_World_getBlockPowerInput($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } return $par2; case 11: $tmp = nms_World_getBlockPowerInput($par1World, var$6, $par3, $par4); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 10; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 13; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } } return $par2; case 12: $tmp = var$9.$isProvidingWeakPower($par1World, var$7, $par3, $par4, var$8); if ($rt_suspending()) { break main; } var$6 = $tmp; var$6 = var$6 <= 0 ? 0 : 1; n: { if (var$6) $par2 = 1; else { f: { if ($par5 != 4) { var$6 = $par2 - 1 | 0; var$7 = 4; $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } else $par5 = 0; if ($par5) { $ptr = 11; continue main; } $par5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (!$par5) { if (!(0 <= 0 ? 0 : 1)) break f; $par2 = 1; break n; } var$9 = nms_Block_blocksList.data[$par5]; $ptr = 14; continue main; } } var$6 = 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 10; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 13; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } } } return $par2; case 13: $tmp = var$9.$isProvidingWeakPower($par1World, $par2, $par3, $par4, var$6); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } return $par2; case 14: $tmp = var$9.$isProvidingWeakPower($par1World, var$6, $par3, $par4, var$7); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 10; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 13; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { var$6 = $par3 + 2 | 0; var$7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par5) { $ptr = 15; continue main; } $par5 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if ($par5) { var$9 = nms_Block_blocksList.data[$par5]; $ptr = 16; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } } } return $par2; case 15: $tmp = nms_World_getBlockPowerInput($par1World, $par2, var$6, $par4); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } return $par2; case 16: $tmp = var$9.$isProvidingWeakPower($par1World, $par2, var$6, $par4, var$7); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 <= 0 ? 0 : 1) $par2 = 1; else { $par3 = $par3 + 1 | 0; $par5 = $par4 - 1 | 0; var$6 = 2; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 17; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 18; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } } return $par2; case 17: $tmp = nms_World_getBlockPowerInput($par1World, $par2, $par3, $par5); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } return $par2; case 18: $tmp = var$9.$isProvidingWeakPower($par1World, $par2, $par3, $par5, var$6); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par4 + 1 | 0; var$6 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 19; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par5); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 20; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } } return $par2; case 19: $tmp = nms_World_getBlockPowerInput($par1World, $par2, $par3, $par5); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } return $par2; case 20: $tmp = var$9.$isProvidingWeakPower($par1World, $par2, $par3, $par5, var$6); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 <= 0 ? 0 : 1) $par2 = 1; else { $par5 = $par2 - 1 | 0; var$6 = 4; var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 21; continue main; } var$7 = nms_World_getBlockId($par1World, $par5, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 22; continue main; } if (0 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } } return $par2; case 21: $tmp = nms_World_getBlockPowerInput($par1World, $par5, $par3, $par4); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } return $par2; case 22: $tmp = var$9.$isProvidingWeakPower($par1World, $par5, $par3, $par4, var$6); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 <= 0 ? 0 : 1) $par2 = 1; else { $par2 = $par2 + 1 | 0; $par5 = 5; var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 === null) var$6 = 0; else { var$10 = var$9.$blockMaterial; var$6 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$6 = var$6 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$6) { $ptr = 23; continue main; } var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$6) { var$9 = nms_Block_blocksList.data[var$6]; $ptr = 24; continue main; } $par2 = 0 <= 0 ? 0 : 1; } return $par2; case 23: $tmp = nms_World_getBlockPowerInput($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2 <= 0 ? 0 : 1; case 24: $tmp = var$9.$isProvidingWeakPower($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2 <= 0 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_BlockPistonBase_onBlockEventReceived = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8, $var16, $var14, $var15, $var9, $var10, $var11, $var12, $var13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var16 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1World.$isRemote) { $ptr = 1; continue main; } if (!$par5) { $ptr = 2; continue main; } if ($par5 != 1) return 1; $par5 = $par2 + nms_Facing_offsetsXForSide.data[$par6] | 0; $var7 = $par3 + nms_Facing_offsetsYForSide.data[$par6] | 0; $var8 = $par4 + nms_Facing_offsetsZForSide.data[$par6] | 0; $ptr = 3; continue main; case 1: $tmp = nms_BlockPistonBase_isIndirectlyPowered($this, $par1World, $par2, $par3, $par4, $par6); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 && $par5 == 1) { $par5 = $par6 | 8; $par6 = 2; $ptr = 5; continue main; } if (!$var7 && !$par5) return 0; if (!$par5) { $ptr = 2; continue main; } if ($par5 != 1) return 1; $par5 = $par2 + nms_Facing_offsetsXForSide.data[$par6] | 0; $var7 = $par3 + nms_Facing_offsetsYForSide.data[$par6] | 0; $var8 = $par4 + nms_Facing_offsetsZForSide.data[$par6] | 0; $ptr = 3; continue main; case 2: $tmp = nms_BlockPistonBase_tryExtend($this, $par1World, $par2, $par3, $par4, $par6); if ($rt_suspending()) { break main; } $par5 = $tmp; if (!$par5) return 0; $par5 = $par6 | 8; $par6 = 2; $ptr = 4; continue main; case 3: $tmp = nms_World_getBlockTileEntity($par1World, $par5, $var7, $var8); if ($rt_suspending()) { break main; } $var16 = $tmp; if ($var16 instanceof nms_TileEntityPiston) { $var14 = $var16; $ptr = 8; continue main; } nms_Block_$callClinit(); $par5 = nms_Block_pistonMoving.$blockID; $var7 = 3; $ptr = 6; continue main; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par5, $par6); if ($rt_suspending()) { break main; } $var14 = $par1World.$rand0; $var14.$seed = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2 = 0; a: { while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break a; if ($par3 >= 0) break a; $par2 = $par2 + 1 | 0; } return 1; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 5: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par5, $par6); if ($rt_suspending()) { break main; } return 0; case 6: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $par6, $var7); if ($rt_suspending()) { break main; } $var7 = $this.$blockID; $var14 = new nms_TileEntityPiston; nms_TileEntity_$callClinit(); $var14.$blockMetadata = (-1); $var15 = new ju_ArrayList; $var15.$array = $rt_createArray(jl_Object, 10); $var14.$pushedObjects = $var15; $var14.$storedBlockID = $var7; $var14.$storedMetadata = $par6; $var14.$storedOrientation = $par6; $var14.$extending = 0; $var14.$shouldHeadBeRendered = 1; $ptr = 7; case 7: nms_World_setBlockTileEntity($par1World, $par2, $par3, $par4, $var14); if ($rt_suspending()) { break main; } if (!$this.$isSticky) { $par2 = $par2 + nms_Facing_offsetsXForSide.data[$par6] | 0; $par3 = $par3 + nms_Facing_offsetsYForSide.data[$par6] | 0; $par4 = $par4 + nms_Facing_offsetsZForSide.data[$par6] | 0; $par5 = 0; $par6 = 0; $var7 = 3; $ptr = 9; continue main; } $var8 = $par2 + (nms_Facing_offsetsXForSide.data[$par6] * 2 | 0) | 0; $var9 = $par3 + (nms_Facing_offsetsYForSide.data[$par6] * 2 | 0) | 0; $var10 = $par4 + (nms_Facing_offsetsZForSide.data[$par6] * 2 | 0) | 0; $var11 = nms_World_getBlockId($par1World, $var8, $var9, $var10); $var12 = nms_World_getBlockMetadata($par1World, $var8, $var9, $var10); $var13 = 0; if ($var11 == nms_Block_pistonMoving.$blockID) { $ptr = 10; continue main; } b: { if (!$var13 && $var11 > 0 && nms_BlockPistonBase_canPushBlock($var11, $par1World, $var8, $var9, $var10, 0)) { if (!nms_Block_blocksList.data[$var11].$getMobilityFlag()) break b; if ($var11 == nms_Block_pistonBase.$blockID) break b; if ($var11 == nms_Block_pistonStickyBase.$blockID) break b; } if ($var13) { $var14 = $par1World.$rand0; $var14.$seed = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2 = 0; c: { while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break c; if ($par3 >= 0) break c; $par2 = $par2 + 1 | 0; } return 1; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5 = $par2 + nms_Facing_offsetsXForSide.data[$par6] | 0; $par2 = $par3 + nms_Facing_offsetsYForSide.data[$par6] | 0; $par3 = $par4 + nms_Facing_offsetsZForSide.data[$par6] | 0; $par4 = 0; $par6 = 0; $var7 = 3; $ptr = 11; continue main; } $par2 = $par2 + nms_Facing_offsetsXForSide.data[$par6] | 0; $par3 = $par3 + nms_Facing_offsetsYForSide.data[$par6] | 0; $par4 = $par4 + nms_Facing_offsetsZForSide.data[$par6] | 0; $par5 = nms_Block_pistonMoving.$blockID; $var7 = 3; $ptr = 13; continue main; case 8: nms_TileEntityPiston_clearPistonTileEntity($var14); if ($rt_suspending()) { break main; } nms_Block_$callClinit(); $par5 = nms_Block_pistonMoving.$blockID; $var7 = 3; $ptr = 6; continue main; case 9: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $par6, $var7); if ($rt_suspending()) { break main; } $var14 = $par1World.$rand0; $var14.$seed = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2 = 0; a: { while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break a; if ($par3 >= 0) break a; $par2 = $par2 + 1 | 0; } return 1; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 10: $tmp = nms_World_getBlockTileEntity($par1World, $var8, $var9, $var10); if ($rt_suspending()) { break main; } $var14 = $tmp; if ($var14 instanceof nms_TileEntityPiston) { $var15 = $var14; if ($var15.$storedOrientation == $par6 && $var15.$extending) { $ptr = 12; continue main; } } d: { if (!$var13 && $var11 > 0 && nms_BlockPistonBase_canPushBlock($var11, $par1World, $var8, $var9, $var10, 0)) { if (!nms_Block_blocksList.data[$var11].$getMobilityFlag()) break d; if ($var11 == nms_Block_pistonBase.$blockID) break d; if ($var11 == nms_Block_pistonStickyBase.$blockID) break d; } if ($var13) { $var14 = $par1World.$rand0; $var14.$seed = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2 = 0; e: { while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break e; if ($par3 >= 0) break e; $par2 = $par2 + 1 | 0; } return 1; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5 = $par2 + nms_Facing_offsetsXForSide.data[$par6] | 0; $par2 = $par3 + nms_Facing_offsetsYForSide.data[$par6] | 0; $par3 = $par4 + nms_Facing_offsetsZForSide.data[$par6] | 0; $par4 = 0; $par6 = 0; $var7 = 3; $ptr = 11; continue main; } $par2 = $par2 + nms_Facing_offsetsXForSide.data[$par6] | 0; $par3 = $par3 + nms_Facing_offsetsYForSide.data[$par6] | 0; $par4 = $par4 + nms_Facing_offsetsZForSide.data[$par6] | 0; $par5 = nms_Block_pistonMoving.$blockID; $var7 = 3; $ptr = 13; continue main; case 11: nms_World_setBlock($par1World, $par5, $par2, $par3, $par4, $par6, $var7); if ($rt_suspending()) { break main; } $var14 = $par1World.$rand0; $var14.$seed = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2 = 0; a: { while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break a; if ($par3 >= 0) break a; $par2 = $par2 + 1 | 0; } return 1; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 12: nms_TileEntityPiston_clearPistonTileEntity($var15); if ($rt_suspending()) { break main; } $var11 = $var15.$storedBlockID; $var12 = $var15.$storedMetadata; $var13 = 1; a: { if (!$var13 && $var11 > 0 && nms_BlockPistonBase_canPushBlock($var11, $par1World, $var8, $var9, $var10, 0)) { if (!nms_Block_blocksList.data[$var11].$getMobilityFlag()) break a; if ($var11 == nms_Block_pistonBase.$blockID) break a; if ($var11 == nms_Block_pistonStickyBase.$blockID) break a; } if ($var13) { $var14 = $par1World.$rand0; $var14.$seed = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2 = 0; f: { while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break f; if ($par3 >= 0) break f; $par2 = $par2 + 1 | 0; } return 1; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5 = $par2 + nms_Facing_offsetsXForSide.data[$par6] | 0; $par2 = $par3 + nms_Facing_offsetsYForSide.data[$par6] | 0; $par3 = $par4 + nms_Facing_offsetsZForSide.data[$par6] | 0; $par4 = 0; $par6 = 0; $var7 = 3; $ptr = 11; continue main; } $par2 = $par2 + nms_Facing_offsetsXForSide.data[$par6] | 0; $par3 = $par3 + nms_Facing_offsetsYForSide.data[$par6] | 0; $par4 = $par4 + nms_Facing_offsetsZForSide.data[$par6] | 0; $par5 = nms_Block_pistonMoving.$blockID; $var7 = 3; $ptr = 13; case 13: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var12, $var7); if ($rt_suspending()) { break main; } $var14 = new nms_TileEntityPiston; $var14.$blockMetadata = (-1); $var15 = new ju_ArrayList; $var15.$array = $rt_createArray(jl_Object, 10); $var14.$pushedObjects = $var15; $var14.$storedBlockID = $var11; $var14.$storedMetadata = $var12; $var14.$storedOrientation = $par6; $var14.$extending = 0; $var14.$shouldHeadBeRendered = 0; $ptr = 14; case 14: nms_World_setBlockTileEntity($par1World, $par2, $par3, $par4, $var14); if ($rt_suspending()) { break main; } $par2 = 0; $par3 = 0; $par4 = 3; $ptr = 15; case 15: nms_World_setBlock($par1World, $var8, $var9, $var10, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var14 = $par1World.$rand0; $var14.$seed = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2 = 0; a: { while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break a; if ($par3 >= 0) break a; $par2 = $par2 + 1 | 0; } return 1; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, $var8, $var16, $var14, $var15, $var9, $var10, $var11, $var12, $var13, $ptr); }, nms_BlockPistonBase_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5; $var5 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); if (!(!($var5 & 8) ? 0 : 1)) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } else a: { switch ($var5 & 7) { case 0: break; case 1: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.75; $this.$maxZ0 = 1.0; break a; case 2: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.25; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; break a; case 3: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.75; break a; case 4: $this.$minX0 = 0.25; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; break a; case 5: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.75; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; break a; default: break a; } $this.$minX0 = 0.0; $this.$minY0 = 0.25; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } }, nms_BlockPistonBase_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; }, nms_BlockPistonBase_addCollisionBoxesToList = ($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity) => { let var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$par7Entity = $thread.pop();$par6List = $thread.pop();$par5AxisAlignedBB = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; $ptr = 1; case 1: $tmp = nms_BlockPistonBase_getCollisionBoundingBoxFromPool($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; if ($par1World !== null && nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par1World)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$8 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$8[$par3] = $par1World; $par6List.$modCount = $par6List.$modCount + 1 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity, var$8, $ptr); }, nms_BlockPistonBase_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; nms_BlockPistonBase_setBlockBoundsBasedOnState($this, $par1World, $par2, $par3, $par4); $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par2 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par4 = var$11.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par4 + 1 | 0); var$13 = var$11.$array.data; $par3 = var$11.$size0; var$11.$size0 = $par3 + 1 | 0; var$13[$par3] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$12 = var$11.$array.data[$par2]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockPistonBase_renderAsNormalBlock = $this => { return 0; }, nms_BlockPistonBase_determineOrientation = ($par0World, $par1, $par2, $par3, $par4EntityLivingBase) => { let var$6, $var5, var$8, $var7; var$6 = $par4EntityLivingBase.$posX - $par1; if (var$6 < 0.0) var$6 = -var$6; if (var$6 < 2.0) { var$6 = $par4EntityLivingBase.$posZ - $par3; if (var$6 < 0.0) var$6 = -var$6; if (var$6 < 2.0) { $var5 = $par4EntityLivingBase.$posY + 1.82 - $par4EntityLivingBase.$yOffset; var$8 = $par2; if ($var5 - var$8 > 2.0) return 1; if (var$8 - $var5 > 0.0) return 0; } } $var5 = $par4EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 0.5; $par1 = $var5 | 0; if ($var5 < $par1) $par1 = $par1 - 1 | 0; $var7 = $par1 & 3; return !$var7 ? 2 : $var7 == 1 ? 5 : $var7 == 2 ? 3 : $var7 != 3 ? 0 : 4; }, nms_BlockPistonBase_canPushBlock = ($par0, $par1World, $par2, $par3, $par4, $par5) => { let var$7; nms_Block_$callClinit(); if ($par0 == nms_Block_obsidian.$blockID) return 0; a: { if (!($par0 != nms_Block_pistonBase.$blockID && $par0 != nms_Block_pistonStickyBase.$blockID)) { if (!(!(nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 8) ? 0 : 1)) break a; return 0; } var$7 = nms_Block_blocksList.data; if (var$7[$par0].$blockHardness === (-1.0)) return 0; if (var$7[$par0].$getMobilityFlag() == 2) return 0; if (nms_Block_blocksList.data[$par0].$getMobilityFlag() == 1) { if ($par5) return 1; return 0; } } return $rt_isInstance(nms_Block_blocksList.data[$par0], nms_ITileEntityProvider) ? 0 : 1; }, nms_BlockPistonBase_canExtend = ($par0World, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9; $var5 = $par1 + nms_Facing_offsetsXForSide.data[$par4] | 0; $var6 = $par2 + nms_Facing_offsetsYForSide.data[$par4] | 0; $var7 = $par3 + nms_Facing_offsetsZForSide.data[$par4] | 0; $var8 = 0; a: { while ($var8 < 13) { if ($var6 <= 0) break a; if ($var6 >= 255) break a; $var9 = nms_World_getBlockId($par0World, $var5, $var6, $var7); if (!$var9) break; if (!nms_BlockPistonBase_canPushBlock($var9, $par0World, $var5, $var6, $var7, 1)) return 0; nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var9].$getMobilityFlag() == 1) break; if ($var8 == 12) return 0; $var5 = $var5 + nms_Facing_offsetsXForSide.data[$par4] | 0; $var6 = $var6 + nms_Facing_offsetsYForSide.data[$par4] | 0; $var7 = $var7 + nms_Facing_offsetsZForSide.data[$par4] | 0; $var8 = $var8 + 1 | 0; } return 1; } return 0; }, nms_BlockPistonBase_tryExtend = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var14, $var15, $var16, $var9, $var10, var$11, var$12, var$13, $var12, var$15, var$16, var$17, $var14_0, $var15_0, $var16_0, $var17, $var18, var$23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$23 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16_0 = $thread.pop();$var15_0 = $thread.pop();$var14_0 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var14 = $par2 + nms_Facing_offsetsXForSide.data[$par5] | 0; $var15 = $par3 + nms_Facing_offsetsYForSide.data[$par5] | 0; $var16 = $par4 + nms_Facing_offsetsZForSide.data[$par5] | 0; $var9 = 0; a: { b: { while (true) { if ($var9 >= 13) break a; if ($var15 <= 0) break b; if ($var15 >= 255) break b; $var10 = nms_World_getBlockId($par1World, $var14, $var15, $var16); if (!$var10) break a; if (!nms_BlockPistonBase_canPushBlock($var10, $par1World, $var14, $var15, $var16, 1)) return 0; nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var10].$getMobilityFlag() == 1) { var$11 = nms_Block_blocksList.data[$var10]; $var10 = nms_World_getBlockMetadata($par1World, $var14, $var15, $var16); var$12 = 0; var$13 = 1.0; $ptr = 3; continue main; } if ($var9 == 12) break; $var14 = $var14 + nms_Facing_offsetsXForSide.data[$par5] | 0; $var15 = $var15 + nms_Facing_offsetsYForSide.data[$par5] | 0; $var16 = $var16 + nms_Facing_offsetsZForSide.data[$par5] | 0; $var9 = $var9 + 1 | 0; } return 0; } return 0; } $var12 = 0; var$15 = $rt_createIntArray(13).data; $var9 = $var14; var$16 = $var15; var$17 = $var16; if ($var9 == $par2 && var$16 == $par3 && var$17 == $par4) { var$12 = 0; while (!($var14 == $par2 && $var15 == $par3 && $var16 == $par4)) { $var14 = $var14 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15 = $var15 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16 = $var16 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var10 = var$12 + 1 | 0; var$12 = var$15[var$12]; $var9 = $var14 - 1 | 0; if (!$par1World.$isRemote) { $var12 = nms_World_getBlockId($par1World, $var9, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var12]; if (var$11 !== null) { $ptr = 6; continue main; } } $var12 = $var14 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var12, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 7; continue main; } } $var12 = $var15 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var12 = $var15 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 10; continue main; } } $var12 = $var16 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 11; continue main; } } $var12 = $var16 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 12; continue main; } } var$12 = $var10; } return 1; } $var14_0 = $var9 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15_0 = var$16 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16_0 = var$17 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var17 = nms_World_getBlockId($par1World, $var14_0, $var15_0, $var16_0); $var18 = nms_World_getBlockMetadata($par1World, $var14_0, $var15_0, $var16_0); if ($var17 == $this.$blockID && $var14_0 == $par2 && $var15_0 == $par3 && $var16_0 == $par4) { nms_Block_$callClinit(); $var10 = nms_Block_pistonMoving.$blockID; var$12 = $par5 | (!$this.$isSticky ? 0 : 8); $var18 = 4; $ptr = 5; continue main; } nms_Block_$callClinit(); var$12 = nms_Block_pistonMoving.$blockID; $var10 = 4; $ptr = 1; case 1: nms_World_setBlock($par1World, $var9, var$16, var$17, var$12, $var18, $var10); if ($rt_suspending()) { break main; } var$11 = new nms_TileEntityPiston; nms_TileEntity_$callClinit(); var$11.$blockMetadata = (-1); var$23 = new ju_ArrayList; var$23.$array = $rt_createArray(jl_Object, 10); var$11.$pushedObjects = var$23; var$11.$storedBlockID = $var17; var$11.$storedMetadata = $var18; var$11.$storedOrientation = $par5; var$11.$extending = 1; var$11.$shouldHeadBeRendered = 0; $ptr = 2; case 2: nms_World_setBlockTileEntity($par1World, $var9, var$16, var$17, var$11); if ($rt_suspending()) { break main; } $var10 = $var12 + 1 | 0; var$15[$var12] = $var17; $var12 = $var10; $var9 = $var14_0; var$16 = $var15_0; var$17 = $var16_0; if ($var9 == $par2 && var$16 == $par3 && var$17 == $par4) { var$12 = 0; while (!($var14 == $par2 && $var15 == $par3 && $var16 == $par4)) { $var14 = $var14 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15 = $var15 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16 = $var16 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var10 = var$12 + 1 | 0; var$12 = var$15[var$12]; $var9 = $var14 - 1 | 0; if (!$par1World.$isRemote) { $var12 = nms_World_getBlockId($par1World, $var9, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var12]; if (var$11 !== null) { $ptr = 6; continue main; } } $var12 = $var14 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var12, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 7; continue main; } } $var12 = $var15 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var12 = $var15 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 10; continue main; } } $var12 = $var16 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 11; continue main; } } $var12 = $var16 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 12; continue main; } } var$12 = $var10; } return 1; } $var14_0 = $var9 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15_0 = var$16 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16_0 = var$17 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var17 = nms_World_getBlockId($par1World, $var14_0, $var15_0, $var16_0); $var18 = nms_World_getBlockMetadata($par1World, $var14_0, $var15_0, $var16_0); if ($var17 == $this.$blockID && $var14_0 == $par2 && $var15_0 == $par3 && $var16_0 == $par4) { nms_Block_$callClinit(); $var10 = nms_Block_pistonMoving.$blockID; var$12 = $par5 | (!$this.$isSticky ? 0 : 8); $var18 = 4; $ptr = 5; continue main; } nms_Block_$callClinit(); var$12 = nms_Block_pistonMoving.$blockID; $var10 = 4; $ptr = 1; continue main; case 3: var$11.$dropBlockAsItemWithChance($par1World, $var14, $var15, $var16, $var10, var$13, var$12); if ($rt_suspending()) { break main; } $var10 = 0; var$12 = 0; $var12 = 3; $ptr = 4; case 4: nms_World_setBlock($par1World, $var14, $var15, $var16, $var10, var$12, $var12); if ($rt_suspending()) { break main; } $var12 = 0; var$15 = $rt_createIntArray(13).data; $var9 = $var14; var$16 = $var15; var$17 = $var16; if ($var9 == $par2 && var$16 == $par3 && var$17 == $par4) { var$12 = 0; while (!($var14 == $par2 && $var15 == $par3 && $var16 == $par4)) { $var14 = $var14 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15 = $var15 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16 = $var16 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var10 = var$12 + 1 | 0; var$12 = var$15[var$12]; $var9 = $var14 - 1 | 0; if (!$par1World.$isRemote) { $var12 = nms_World_getBlockId($par1World, $var9, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var12]; if (var$11 !== null) { $ptr = 6; continue main; } } $var12 = $var14 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var12, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 7; continue main; } } $var12 = $var15 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var12 = $var15 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 10; continue main; } } $var12 = $var16 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 11; continue main; } } $var12 = $var16 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 12; continue main; } } var$12 = $var10; } return 1; } $var14_0 = $var9 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15_0 = var$16 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16_0 = var$17 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var17 = nms_World_getBlockId($par1World, $var14_0, $var15_0, $var16_0); $var18 = nms_World_getBlockMetadata($par1World, $var14_0, $var15_0, $var16_0); if ($var17 == $this.$blockID && $var14_0 == $par2 && $var15_0 == $par3 && $var16_0 == $par4) { nms_Block_$callClinit(); $var10 = nms_Block_pistonMoving.$blockID; var$12 = $par5 | (!$this.$isSticky ? 0 : 8); $var18 = 4; $ptr = 5; continue main; } nms_Block_$callClinit(); var$12 = nms_Block_pistonMoving.$blockID; $var10 = 4; $ptr = 1; continue main; case 5: nms_World_setBlock($par1World, $var9, var$16, var$17, $var10, var$12, $var18); if ($rt_suspending()) { break main; } var$12 = nms_Block_pistonExtension.$blockID; $var18 = $par5 | (!$this.$isSticky ? 0 : 8); var$11 = new nms_TileEntityPiston; nms_TileEntity_$callClinit(); var$11.$blockMetadata = (-1); var$23 = new ju_ArrayList; var$23.$array = $rt_createArray(jl_Object, 10); var$11.$pushedObjects = var$23; var$11.$storedBlockID = var$12; var$11.$storedMetadata = $var18; var$11.$storedOrientation = $par5; var$11.$extending = 1; var$11.$shouldHeadBeRendered = 0; $ptr = 8; continue main; case 6: var$11.$onNeighborBlockChange($par1World, $var9, $var15, $var16, var$12); if ($rt_suspending()) { break main; } while (true) { $var12 = $var14 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var12, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 7; continue main; } } $var12 = $var15 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var12 = $var15 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 10; continue main; } } $var12 = $var16 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 11; continue main; } } $var12 = $var16 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 12; continue main; } } var$12 = $var10; if ($var14 == $par2 && $var15 == $par3 && $var16 == $par4) break; $var14 = $var14 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15 = $var15 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16 = $var16 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var10 = var$12 + 1 | 0; var$12 = var$15[var$12]; $var9 = $var14 - 1 | 0; if ($par1World.$isRemote) continue; $var12 = nms_World_getBlockId($par1World, $var9, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var12]; if (var$11 === null) continue; else { continue main; } } return 1; case 7: var$11.$onNeighborBlockChange($par1World, $var12, $var15, $var16, var$12); if ($rt_suspending()) { break main; } while (true) { $var12 = $var15 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var12 = $var15 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 10; continue main; } } $var12 = $var16 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 11; continue main; } } $var12 = $var16 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 12; continue main; } } var$12 = $var10; if ($var14 == $par2 && $var15 == $par3 && $var16 == $par4) break; $var14 = $var14 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15 = $var15 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16 = $var16 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var10 = var$12 + 1 | 0; var$12 = var$15[var$12]; $var9 = $var14 - 1 | 0; if (!$par1World.$isRemote) { $var12 = nms_World_getBlockId($par1World, $var9, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var12]; if (var$11 !== null) { $ptr = 6; continue main; } } $var12 = $var14 + 1 | 0; if ($par1World.$isRemote) continue; $var9 = nms_World_getBlockId($par1World, $var12, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 === null) continue; else { continue main; } } return 1; case 8: nms_World_setBlockTileEntity($par1World, $var9, var$16, var$17, var$11); if ($rt_suspending()) { break main; } $var10 = $var12 + 1 | 0; var$15[$var12] = $var17; $var12 = $var10; $var9 = $var14_0; var$16 = $var15_0; var$17 = $var16_0; if ($var9 == $par2 && var$16 == $par3 && var$17 == $par4) { var$12 = 0; while (!($var14 == $par2 && $var15 == $par3 && $var16 == $par4)) { $var14 = $var14 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15 = $var15 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16 = $var16 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var10 = var$12 + 1 | 0; var$12 = var$15[var$12]; $var9 = $var14 - 1 | 0; if (!$par1World.$isRemote) { $var12 = nms_World_getBlockId($par1World, $var9, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var12]; if (var$11 !== null) { $ptr = 6; continue main; } } $var12 = $var14 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var12, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 7; continue main; } } $var12 = $var15 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var12 = $var15 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 10; continue main; } } $var12 = $var16 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 11; continue main; } } $var12 = $var16 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 12; continue main; } } var$12 = $var10; } return 1; } $var14_0 = $var9 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15_0 = var$16 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16_0 = var$17 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var17 = nms_World_getBlockId($par1World, $var14_0, $var15_0, $var16_0); $var18 = nms_World_getBlockMetadata($par1World, $var14_0, $var15_0, $var16_0); if ($var17 == $this.$blockID && $var14_0 == $par2 && $var15_0 == $par3 && $var16_0 == $par4) { nms_Block_$callClinit(); $var10 = nms_Block_pistonMoving.$blockID; var$12 = $par5 | (!$this.$isSticky ? 0 : 8); $var18 = 4; $ptr = 5; continue main; } nms_Block_$callClinit(); var$12 = nms_Block_pistonMoving.$blockID; $var10 = 4; $ptr = 1; continue main; case 9: var$11.$onNeighborBlockChange($par1World, $var14, $var12, $var16, var$12); if ($rt_suspending()) { break main; } while (true) { $var12 = $var15 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 10; continue main; } } $var12 = $var16 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 11; continue main; } } $var12 = $var16 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 12; continue main; } } var$12 = $var10; if ($var14 == $par2 && $var15 == $par3 && $var16 == $par4) break; $var14 = $var14 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15 = $var15 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16 = $var16 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var10 = var$12 + 1 | 0; var$12 = var$15[var$12]; $var9 = $var14 - 1 | 0; if (!$par1World.$isRemote) { $var12 = nms_World_getBlockId($par1World, $var9, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var12]; if (var$11 !== null) { $ptr = 6; continue main; } } $var12 = $var14 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var12, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 7; continue main; } } $var12 = $var15 - 1 | 0; if ($par1World.$isRemote) continue; $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 === null) continue; else { continue main; } } return 1; case 10: var$11.$onNeighborBlockChange($par1World, $var14, $var12, $var16, var$12); if ($rt_suspending()) { break main; } while (true) { $var12 = $var16 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 11; continue main; } } $var12 = $var16 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 12; continue main; } } var$12 = $var10; if ($var14 == $par2 && $var15 == $par3 && $var16 == $par4) break; $var14 = $var14 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15 = $var15 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16 = $var16 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var10 = var$12 + 1 | 0; var$12 = var$15[var$12]; $var9 = $var14 - 1 | 0; if (!$par1World.$isRemote) { $var12 = nms_World_getBlockId($par1World, $var9, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var12]; if (var$11 !== null) { $ptr = 6; continue main; } } $var12 = $var14 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var12, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 7; continue main; } } $var12 = $var15 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var12 = $var15 + 1 | 0; if ($par1World.$isRemote) continue; $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 === null) continue; else { continue main; } } return 1; case 11: var$11.$onNeighborBlockChange($par1World, $var14, $var15, $var12, var$12); if ($rt_suspending()) { break main; } while (true) { $var12 = $var16 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 12; continue main; } } var$12 = $var10; if ($var14 == $par2 && $var15 == $par3 && $var16 == $par4) break; $var14 = $var14 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15 = $var15 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16 = $var16 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var10 = var$12 + 1 | 0; var$12 = var$15[var$12]; $var9 = $var14 - 1 | 0; if (!$par1World.$isRemote) { $var12 = nms_World_getBlockId($par1World, $var9, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var12]; if (var$11 !== null) { $ptr = 6; continue main; } } $var12 = $var14 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var12, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 7; continue main; } } $var12 = $var15 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var12 = $var15 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 10; continue main; } } $var12 = $var16 - 1 | 0; if ($par1World.$isRemote) continue; $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 === null) continue; else { continue main; } } return 1; case 12: var$11.$onNeighborBlockChange($par1World, $var14, $var15, $var12, var$12); if ($rt_suspending()) { break main; } while (true) { var$12 = $var10; if ($var14 == $par2 && $var15 == $par3 && $var16 == $par4) break; $var14 = $var14 - nms_Facing_offsetsXForSide.data[$par5] | 0; $var15 = $var15 - nms_Facing_offsetsYForSide.data[$par5] | 0; $var16 = $var16 - nms_Facing_offsetsZForSide.data[$par5] | 0; $var10 = var$12 + 1 | 0; var$12 = var$15[var$12]; $var9 = $var14 - 1 | 0; if (!$par1World.$isRemote) { $var12 = nms_World_getBlockId($par1World, $var9, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var12]; if (var$11 !== null) { $ptr = 6; continue main; } } $var12 = $var14 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var12, $var15, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 7; continue main; } } $var12 = $var15 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 9; continue main; } } $var12 = $var15 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var12, $var16); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 10; continue main; } } $var12 = $var16 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 !== null) { $ptr = 11; continue main; } } $var12 = $var16 + 1 | 0; if ($par1World.$isRemote) continue; $var9 = nms_World_getBlockId($par1World, $var14, $var15, $var12); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$var9]; if (var$11 === null) continue; else { continue main; } } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var14, $var15, $var16, $var9, $var10, var$11, var$12, var$13, $var12, var$15, var$16, var$17, $var14_0, $var15_0, $var16_0, $var17, $var18, var$23, $ptr); }, nms_BlockWeb = $rt_classWithoutFields(nms_Block), nms_BlockWeb__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_web); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockWeb__init_0 = var_0 => { let var_1 = new nms_BlockWeb(); nms_BlockWeb__init_(var_1, var_0); return var_1; }, nms_BlockWeb_onEntityCollidedWithBlock = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { $par5Entity.$setInWeb(); }, nms_BlockWeb_isOpaqueCube = $this => { return 0; }, nms_BlockWeb_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockWeb_getRenderType = $this => { return 1; }, nms_BlockWeb_renderAsNormalBlock = $this => { return 0; }, nms_BlockWeb_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_silk.$itemID0; }; function nms_BlockTallGrass() { nms_BlockFlower.call(this); this.$iconArray13 = null; } let nms_BlockTallGrass_grassTypes = null, nms_BlockTallGrass__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_vine); $this.$needsRandomTick = 1; $this.$minX0 = 0.30000001192092896; $this.$minY0 = 0.0; $this.$minZ0 = 0.30000001192092896; $this.$maxX0 = 0.699999988079071; $this.$maxY0 = 0.6000000238418579; $this.$maxZ0 = 0.699999988079071; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; $this.$minX0 = 0.09999999403953552; $this.$minY0 = 0.0; $this.$minZ0 = 0.09999999403953552; $this.$maxX0 = 0.8999999761581421; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 0.8999999761581421; }, nms_BlockTallGrass__init_ = var_0 => { let var_1 = new nms_BlockTallGrass(); nms_BlockTallGrass__init_0(var_1, var_0); return var_1; }, nms_BlockTallGrass_getIcon = ($this, $par1, $par2) => { let var$3; var$3 = $this.$iconArray13.data; if ($par2 >= var$3.length) $par2 = 0; return var$3[$par2]; }, nms_BlockTallGrass_getBlockColor = $this => { return nms_ColorizerGrass_grassBuffer.data[32639]; }, nms_BlockTallGrass_getRenderColor = ($this, $par1) => { return $par1 ? 4764952 : 16777215; }, nms_BlockTallGrass_colorMultiplier = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return !$par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) ? 16777215 : ($par1IBlockAccess.$getBiomeGenForCoords($par2, $par4)).$getBiomeGrassColor(); }, nms_BlockTallGrass_idDropped = ($this, $par1, $par2Random, $par3) => { let var$4; var$4 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$4; if (Long_lo(Long_shr(Long_mul(Long_fromInt(8), Long_fromInt(Long_lo(Long_shru(var$4, 17)))), 31))) $par1 = (-1); else { nms_Item_$callClinit(); $par1 = nms_Item_seeds.$itemID0; } return $par1; }, nms_BlockTallGrass_quantityDroppedWithBonus = ($this, $par1, $par2Random) => { let var$3, var$4, var$5, var$6; $par1 = ($par1 * 2 | 0) + 1 | 0; var$3 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); var$5 = $par1 - 1 | 0; if (!($par1 & var$5)) var$6 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt(var$4)), 31)); else while (true) { var$6 = var$4 % $par1 | 0; if (((var$4 - var$6 | 0) + var$5 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } return 1 + var$6 | 0; }, nms_BlockTallGrass_getDamageValue = ($this, $par1World, $par2, $par3, $par4) => { return nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); }, nms_BlockTallGrass_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let $var4, var$5, var$6; $var4 = 1; while ($var4 < 3) { $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = $var4; if ($var4 < 0) $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$5 = $par3List.$array.data; var$6 = $par3List.$size0; $par3List.$size0 = var$6 + 1 | 0; var$5[var$6] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } }, nms_BlockTallGrass_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3; $this.$iconArray13 = $rt_createArray(nms_Icon, nms_BlockTallGrass_grassTypes.data.length); $var2 = 0; while (true) { var$3 = $this.$iconArray13.data; if ($var2 >= var$3.length) break; var$3[$var2] = $par1IconRegister.$registerIcon(nms_BlockTallGrass_grassTypes.data[$var2], 1); $var2 = $var2 + 1 | 0; } }, nms_BlockTallGrass__clinit_ = () => { nms_BlockTallGrass_grassTypes = $rt_wrapArray(jl_String, [$rt_s(76), $rt_s(77), $rt_s(78)]); }, nms_BlockDeadBush = $rt_classWithoutFields(nms_BlockFlower), nms_BlockDeadBush__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_vine); $this.$needsRandomTick = 1; $this.$minX0 = 0.30000001192092896; $this.$minY0 = 0.0; $this.$minZ0 = 0.30000001192092896; $this.$maxX0 = 0.699999988079071; $this.$maxY0 = 0.6000000238418579; $this.$maxZ0 = 0.699999988079071; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; $this.$minX0 = 0.09999999403953552; $this.$minY0 = 0.0; $this.$minZ0 = 0.09999999403953552; $this.$maxX0 = 0.8999999761581421; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 0.8999999761581421; }, nms_BlockDeadBush__init_ = var_0 => { let var_1 = new nms_BlockDeadBush(); nms_BlockDeadBush__init_0(var_1, var_0); return var_1; }, nms_BlockDeadBush_canThisPlantGrowOnThisBlockID = ($this, $par1) => { nms_Block_$callClinit(); return $par1 != nms_Block_sand.$blockID ? 0 : 1; }, nms_BlockDeadBush_idDropped = ($this, $par1, $par2Random, $par3) => { return (-1); }; function nms_BlockPistonExtension() { nms_Block.call(this); this.$headTexture = null; } let nms_BlockPistonExtension__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_piston); $this.$stepSound = nms_Block_soundStoneFootstep; $this.$blockHardness = 0.5; if ($this.$blockResistance < 2.5) $this.$blockResistance = 2.5; }, nms_BlockPistonExtension__init_ = var_0 => { let var_1 = new nms_BlockPistonExtension(); nms_BlockPistonExtension__init_0(var_1, var_0); return var_1; }, nms_BlockPistonExtension_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = nms_Facing_oppositeSide.data[$par6 & 7]; $par5 = $par2 + nms_Facing_offsetsXForSide.data[$var7] | 0; $par2 = $par3 + nms_Facing_offsetsYForSide.data[$var7] | 0; $par3 = $par4 + nms_Facing_offsetsZForSide.data[$var7] | 0; $var8 = nms_World_getBlockId($par1World, $par5, $par2, $par3); nms_Block_$callClinit(); if (!($var8 != nms_Block_pistonBase.$blockID && $var8 != nms_Block_pistonStickyBase.$blockID)) { $par4 = nms_World_getBlockMetadata($par1World, $par5, $par2, $par3); if (!($par4 & 8) ? 0 : 1) { var$9 = nms_Block_blocksList.data[$var8]; $par6 = 0; var$10 = 1.0; $ptr = 1; continue main; } } return; case 1: var$9.$dropBlockAsItemWithChance($par1World, $par5, $par2, $par3, $par4, var$10, $par6); if ($rt_suspending()) { break main; } $par4 = 0; $par6 = 0; $var7 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par5, $par2, $par3, $par4, $par6, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, $var8, var$9, var$10, $ptr); }, nms_BlockPistonExtension_getIcon = ($this, $par1, $par2) => { let $var3, var$4; $var3 = $par2 & 7; if ($par1 == $var3) { var$4 = $this.$headTexture; if (var$4 === null) var$4 = !($par2 & 8) ? nms_BlockPistonBase_getPistonBaseIcon($rt_s(3037)) : nms_BlockPistonBase_getPistonBaseIcon($rt_s(3038)); } else var$4 = $var3 < 6 && $par1 == nms_Facing_oppositeSide.data[$var3] ? nms_BlockPistonBase_getPistonBaseIcon($rt_s(3037)) : nms_BlockPistonBase_getPistonBaseIcon($rt_s(1157)); return var$4; }, nms_BlockPistonExtension_registerIcons = ($this, $par1IconRegister) => { return; }, nms_BlockPistonExtension_getRenderType = $this => { return 17; }, nms_BlockPistonExtension_isOpaqueCube = $this => { return 0; }, nms_BlockPistonExtension_renderAsNormalBlock = $this => { return 0; }, nms_BlockPistonExtension_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { return 0; }, nms_BlockPistonExtension_canPlaceBlockOnSide = ($this, $par1World, $par2, $par3, $par4, $par5) => { return 0; }, nms_BlockPistonExtension_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockPistonExtension_addCollisionBoxesToList = ($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity) => { let var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par7Entity = $thread.pop();$par6List = $thread.pop();$par5AxisAlignedBB = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { switch (nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 7) { case 0: break; case 1: $this.$minX0 = 0.0; $this.$minY0 = 0.75; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$9 = $par2; var$10 = var$9 + $this.$minX0; var$11 = $par3; var$12 = var$11 + $this.$minY0; var$13 = $par4; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.375; $this.$minY0 = 0.0; $this.$minZ0 = 0.375; $this.$maxX0 = 0.625; $this.$maxY0 = 0.75; $this.$maxZ0 = 0.625; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$19 = var$11 + $this.$minY0; var$20 = var$13 + $this.$minZ0; var$9 = var$9 + $this.$maxX0; var$11 = var$11 + $this.$maxY0; var$13 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par7Entity = var$8.$listAABB; $par3 = $par7Entity.$size0; $par4 = $rt_compare($par2, $par3); if ($par4 >= 0) { $par1World = new nms_AxisAlignedBB; $par1World.$minX = var$10; $par1World.$minY = var$19; $par1World.$minZ = var$20; $par1World.$maxX = var$9; $par1World.$maxY = var$11; $par1World.$maxZ = var$13; ju_ArrayList_ensureCapacity($par7Entity, $par3 + 1 | 0); var$18 = $par7Entity.$array.data; $par3 = $par7Entity.$size0; $par7Entity.$size0 = $par3 + 1 | 0; var$18[$par3] = $par1World; $par7Entity.$modCount = $par7Entity.$modCount + 1 | 0; } else if ($par2 >= 0 && $par4 < 0) { $par1World = $par7Entity.$array.data[$par2]; $par1World.$minX = var$10; $par1World.$minY = var$19; $par1World.$minZ = var$20; $par1World.$maxX = var$9; $par1World.$maxY = var$11; $par1World.$maxZ = var$13; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par1World)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par1World; $par6List.$modCount = $par6List.$modCount + 1 | 0; } break a; case 2: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.25; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$9 = $par2; var$10 = var$9 + $this.$minX0; var$11 = $par3; var$12 = var$11 + $this.$minY0; var$13 = $par4; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.25; $this.$minY0 = 0.375; $this.$minZ0 = 0.25; $this.$maxX0 = 0.75; $this.$maxY0 = 0.625; $this.$maxZ0 = 1.0; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$19 = var$11 + $this.$minY0; var$20 = var$13 + $this.$minZ0; var$9 = var$9 + $this.$maxX0; var$11 = var$11 + $this.$maxY0; var$13 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par7Entity = var$8.$listAABB; $par3 = $par7Entity.$size0; $par4 = $rt_compare($par2, $par3); if ($par4 >= 0) { $par1World = new nms_AxisAlignedBB; $par1World.$minX = var$10; $par1World.$minY = var$19; $par1World.$minZ = var$20; $par1World.$maxX = var$9; $par1World.$maxY = var$11; $par1World.$maxZ = var$13; ju_ArrayList_ensureCapacity($par7Entity, $par3 + 1 | 0); var$18 = $par7Entity.$array.data; $par3 = $par7Entity.$size0; $par7Entity.$size0 = $par3 + 1 | 0; var$18[$par3] = $par1World; $par7Entity.$modCount = $par7Entity.$modCount + 1 | 0; } else if ($par2 >= 0 && $par4 < 0) { $par1World = $par7Entity.$array.data[$par2]; $par1World.$minX = var$10; $par1World.$minY = var$19; $par1World.$minZ = var$20; $par1World.$maxX = var$9; $par1World.$maxY = var$11; $par1World.$maxZ = var$13; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par1World)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par1World; $par6List.$modCount = $par6List.$modCount + 1 | 0; } break a; case 3: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.75; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$9 = $par2; var$10 = var$9 + $this.$minX0; var$11 = $par3; var$12 = var$11 + $this.$minY0; var$13 = $par4; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.25; $this.$minY0 = 0.375; $this.$minZ0 = 0.0; $this.$maxX0 = 0.75; $this.$maxY0 = 0.625; $this.$maxZ0 = 0.75; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$19 = var$11 + $this.$minY0; var$20 = var$13 + $this.$minZ0; var$9 = var$9 + $this.$maxX0; var$11 = var$11 + $this.$maxY0; var$13 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par7Entity = var$8.$listAABB; $par3 = $par7Entity.$size0; $par4 = $rt_compare($par2, $par3); if ($par4 >= 0) { $par1World = new nms_AxisAlignedBB; $par1World.$minX = var$10; $par1World.$minY = var$19; $par1World.$minZ = var$20; $par1World.$maxX = var$9; $par1World.$maxY = var$11; $par1World.$maxZ = var$13; ju_ArrayList_ensureCapacity($par7Entity, $par3 + 1 | 0); var$18 = $par7Entity.$array.data; $par3 = $par7Entity.$size0; $par7Entity.$size0 = $par3 + 1 | 0; var$18[$par3] = $par1World; $par7Entity.$modCount = $par7Entity.$modCount + 1 | 0; } else if ($par2 >= 0 && $par4 < 0) { $par1World = $par7Entity.$array.data[$par2]; $par1World.$minX = var$10; $par1World.$minY = var$19; $par1World.$minZ = var$20; $par1World.$maxX = var$9; $par1World.$maxY = var$11; $par1World.$maxZ = var$13; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par1World)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par1World; $par6List.$modCount = $par6List.$modCount + 1 | 0; } break a; case 4: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.25; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$9 = $par2; var$10 = var$9 + $this.$minX0; var$13 = $par3; var$11 = var$13 + $this.$minY0; var$12 = $par4; var$14 = var$12 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$13 + $this.$maxY0; var$17 = var$12 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$10; $par7Entity.$minY = var$11; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$10; $par7Entity.$minY = var$11; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.375; $this.$minY0 = 0.25; $this.$minZ0 = 0.25; $this.$maxX0 = 0.625; $this.$maxY0 = 0.75; $this.$maxZ0 = 1.0; $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$19 = var$13 + $this.$minY0; var$20 = var$12 + $this.$minZ0; var$9 = var$9 + $this.$maxX0; var$11 = var$13 + $this.$maxY0; var$13 = var$12 + $this.$maxZ0; $par3 = $par1World.$nextPoolIndex; $par7Entity = $par1World.$listAABB; $par2 = $par7Entity.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = var$10; var$8.$minY = var$19; var$8.$minZ = var$20; var$8.$maxX = var$9; var$8.$maxY = var$11; var$8.$maxZ = var$13; ju_ArrayList_ensureCapacity($par7Entity, $par2 + 1 | 0); var$18 = $par7Entity.$array.data; $par3 = $par7Entity.$size0; $par7Entity.$size0 = $par3 + 1 | 0; var$18[$par3] = var$8; $par7Entity.$modCount = $par7Entity.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$8 = $par7Entity.$array.data[$par3]; var$8.$minX = var$10; var$8.$minY = var$19; var$8.$minZ = var$20; var$8.$maxX = var$9; var$8.$maxY = var$11; var$8.$maxZ = var$13; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, var$8)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = var$8; $par6List.$modCount = $par6List.$modCount + 1 | 0; } break a; case 5: $this.$minX0 = 0.75; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = $par2; var$19 = var$10 + $this.$minX0; var$20 = $par3; var$9 = var$20 + $this.$minY0; var$11 = $par4; var$13 = var$11 + $this.$minZ0; var$12 = var$10 + $this.$maxX0; var$14 = var$20 + $this.$maxY0; var$15 = var$11 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$19; $par7Entity.$minY = var$9; $par7Entity.$minZ = var$13; $par7Entity.$maxX = var$12; $par7Entity.$maxY = var$14; $par7Entity.$maxZ = var$15; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$19; $par7Entity.$minY = var$9; $par7Entity.$minZ = var$13; $par7Entity.$maxX = var$12; $par7Entity.$maxY = var$14; $par7Entity.$maxZ = var$15; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.0; $this.$minY0 = 0.375; $this.$minZ0 = 0.25; $this.$maxX0 = 0.75; $this.$maxY0 = 0.625; $this.$maxZ0 = 0.75; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$19 = var$10 + $this.$minX0; var$9 = var$20 + $this.$minY0; var$13 = var$11 + $this.$minZ0; var$10 = var$10 + $this.$maxX0; var$20 = var$20 + $this.$maxY0; var$11 = var$11 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$19; $par7Entity.$minY = var$9; $par7Entity.$minZ = var$13; $par7Entity.$maxX = var$10; $par7Entity.$maxY = var$20; $par7Entity.$maxZ = var$11; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$19; $par7Entity.$minY = var$9; $par7Entity.$minZ = var$13; $par7Entity.$maxX = var$10; $par7Entity.$maxY = var$20; $par7Entity.$maxZ = var$11; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } break a; default: break a; } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.25; $this.$maxZ0 = 1.0; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$9 = $par2; var$10 = var$9 + $this.$minX0; var$11 = $par3; var$12 = var$11 + $this.$minY0; var$13 = $par4; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.375; $this.$minY0 = 0.25; $this.$minZ0 = 0.375; $this.$maxX0 = 0.625; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.625; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$19 = var$11 + $this.$minY0; var$20 = var$13 + $this.$minZ0; var$9 = var$9 + $this.$maxX0; var$11 = var$11 + $this.$maxY0; var$13 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par7Entity = var$8.$listAABB; $par3 = $par7Entity.$size0; $par4 = $rt_compare($par2, $par3); if ($par4 >= 0) { $par1World = new nms_AxisAlignedBB; $par1World.$minX = var$10; $par1World.$minY = var$19; $par1World.$minZ = var$20; $par1World.$maxX = var$9; $par1World.$maxY = var$11; $par1World.$maxZ = var$13; ju_ArrayList_ensureCapacity($par7Entity, $par3 + 1 | 0); var$18 = $par7Entity.$array.data; $par3 = $par7Entity.$size0; $par7Entity.$size0 = $par3 + 1 | 0; var$18[$par3] = $par1World; $par7Entity.$modCount = $par7Entity.$modCount + 1 | 0; } else if ($par2 >= 0 && $par4 < 0) { $par1World = $par7Entity.$array.data[$par2]; $par1World.$minX = var$10; $par1World.$minY = var$19; $par1World.$minZ = var$20; $par1World.$maxX = var$9; $par1World.$maxY = var$11; $par1World.$maxZ = var$13; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par1World)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par1World; $par6List.$modCount = $par6List.$modCount + 1 | 0; } } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr); }, nms_BlockPistonExtension_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { a: { switch ($par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) & 7) { case 0: break; case 1: $this.$minX0 = 0.0; $this.$minY0 = 0.75; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; break a; case 2: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.25; break a; case 3: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.75; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; break a; case 4: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.25; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; break a; case 5: $this.$minX0 = 0.75; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; break a; default: break a; } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.25; $this.$maxZ0 = 1.0; } }, nms_BlockPistonExtension_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 7; $var7 = nms_World_getBlockId($par1World, $par2 - nms_Facing_offsetsXForSide.data[$var6] | 0, $par3 - nms_Facing_offsetsYForSide.data[$var6] | 0, $par4 - nms_Facing_offsetsZForSide.data[$var6] | 0); nms_Block_$callClinit(); if ($var7 != nms_Block_pistonBase.$blockID && $var7 != nms_Block_pistonStickyBase.$blockID) { $par5 = 0; $var7 = 0; var$8 = 3; $ptr = 2; continue main; } var$9 = nms_Block_blocksList.data[$var7]; $par2 = $par2 - nms_Facing_offsetsXForSide.data[$var6] | 0; $par3 = $par3 - nms_Facing_offsetsYForSide.data[$var6] | 0; $par4 = $par4 - nms_Facing_offsetsZForSide.data[$var6] | 0; $ptr = 1; case 1: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } return; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var7, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, var$8, var$9, $ptr); }, nms_BlockPistonExtension_idPicked = ($this, $par1World, $par2, $par3, $par4) => { if (!(nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 8)) { nms_Block_$callClinit(); $par2 = nms_Block_pistonBase.$blockID; } else { nms_Block_$callClinit(); $par2 = nms_Block_pistonStickyBase.$blockID; } return $par2; }; function nms_BlockColored() { nms_Block.call(this); this.$iconArray11 = null; } let nms_BlockColored__init_0 = ($this, $par1, $par2Material) => { nms_Block__init_($this, $par1, $par2Material); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockColored__init_ = (var_0, var_1) => { let var_2 = new nms_BlockColored(); nms_BlockColored__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockColored_getIcon = ($this, $par1, $par2) => { let var$3; var$3 = $this.$iconArray11.data; return var$3[$par2 % var$3.length | 0]; }, nms_BlockColored_damageDropped = ($this, $par1) => { return $par1; }, nms_BlockColored_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let $var4, var$5, var$6; $var4 = 0; while ($var4 < 16) { $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = $var4; if ($var4 < 0) $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$5 = $par3List.$array.data; var$6 = $par3List.$size0; $par3List.$size0 = var$6 + 1 | 0; var$5[var$6] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } }, nms_BlockColored_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $this.$iconArray11 = $rt_createArray(nms_Icon, 16); $var2 = 0; a: { b: { while (true) { var$3 = $this.$iconArray11.data; if ($var2 >= var$3.length) break; var$4 = $this.$textureName; if (var$4 === null) { var$5 = $this.$blockID; var$6 = $this.$unlocalizedName; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$7, var$7.$length0, var$5, 10); var$5 = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, var$5, var$5 + 1 | 0); var$7.$buffer.data[var$5] = 95; var$5 = var$7.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, var$5, var$6); var$4 = new jl_String; var$8 = var$7.$buffer; var$9 = var$8.data; var$10 = var$7.$length0; var$11 = var$9.length; if (var$10 < 0) break b; if (var$10 > (var$11 - 0 | 0)) break b; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$10); } var$6 = nms_ItemDye_dyeItemNames.data[($var2 ^ (-1)) & 15]; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, var$4); var$5 = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, var$5, var$5 + 1 | 0); var$7.$buffer.data[var$5] = 95; var$5 = var$7.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, var$5, var$6); var$6 = new jl_String; var$8 = var$7.$buffer; var$9 = var$8.data; var$10 = var$7.$length0; var$11 = var$9.length; if (var$10 < 0) break a; if (var$10 > (var$11 - 0 | 0)) break a; var$6.$nativeString = $rt_charArrayToString(var$8.data, 0, var$10); var$3[$var2] = $par1IconRegister.$registerIcon(var$6, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockPistonMoving = $rt_classWithoutFields(nms_BlockContainer), nms_BlockPistonMoving__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_piston); $this.$isBlockContainer = 1; $this.$blockHardness = (-1.0); if ($this.$blockResistance < (-5.0)) $this.$blockResistance = (-5.0); }, nms_BlockPistonMoving__init_ = var_0 => { let var_1 = new nms_BlockPistonMoving(); nms_BlockPistonMoving__init_0(var_1, var_0); return var_1; }, nms_BlockPistonMoving_createNewTileEntity = ($this, $par1World) => { return null; }, nms_BlockPistonMoving_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { return; }, nms_BlockPistonMoving_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 instanceof nms_TileEntityPiston) { $par1World = $var7; $ptr = 3; continue main; } $ptr = 2; case 2: nms_World_removeBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; case 3: nms_TileEntityPiston_clearPistonTileEntity($par1World); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, $ptr); }, nms_BlockPistonMoving_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { return 0; }, nms_BlockPistonMoving_canPlaceBlockOnSide = ($this, $par1World, $par2, $par3, $par4, $par5) => { return 0; }, nms_BlockPistonMoving_getRenderType = $this => { return (-1); }, nms_BlockPistonMoving_isOpaqueCube = $this => { return 0; }, nms_BlockPistonMoving_renderAsNormalBlock = $this => { return 0; }, nms_BlockPistonMoving_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 0; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par5EntityPlayer = $tmp; if ($par5EntityPlayer !== null) return 0; $par6 = 0; var$10 = 0; var$11 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par6, var$10, var$11); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, var$10, var$11, $ptr); }, nms_BlockPistonMoving_idDropped = ($this, $par1, $par2Random, $par3) => { return 0; }, nms_BlockPistonMoving_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$8 = $tmp; $var8 = !(var$8 instanceof nms_TileEntityPiston) ? null : var$8; if ($var8 === null) return; nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$var8.$storedBlockID]; $par7 = $var8.$storedMetadata; $par5 = 0; $par6 = 1.0; $ptr = 2; case 2: var$8.$dropBlockAsItemWithChance($par1World, $par2, $par3, $par4, $par7, $par6, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, var$8, $var8, $ptr); }, nms_BlockPistonMoving_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $ptr = 1; case 1: nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockPistonMoving_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let $var5, var$6, $var6, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var5 = $tmp; $var5 = !($var5 instanceof nms_TileEntityPiston) ? null : $var5; if ($var5 === null) return null; var$6 = $var5.$lastProgress; $var6 = var$6 + ($var5.$progress - var$6) * 0.0; if ($var5.$extending) $var6 = 1.0 - $var6; var$8 = $var5.$storedBlockID; var$9 = $var5.$storedOrientation; $ptr = 2; case 2: $tmp = nms_BlockPistonMoving_getAxisAlignedBB($this, $par1World, $par2, $par3, $par4, var$8, $var6, var$9); if ($rt_suspending()) { break main; } $par1World = $tmp; return $par1World; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, var$6, $var6, var$8, var$9, $ptr); }, nms_BlockPistonMoving_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var6, $var5, $var7, $var8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var6 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1IBlockAccess = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $par1IBlockAccess.$getBlockTileEntity($par2, $par3, $par4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var5 = !($var6 instanceof nms_TileEntityPiston) ? null : $var6; if ($var5 === null) return; nms_Block_$callClinit(); $var6 = nms_Block_blocksList.data[$var5.$storedBlockID]; if ($var6 !== null && $var6 !== $this) { $ptr = 2; continue main; } return; case 2: $var6.$setBlockBoundsBasedOnState($par1IBlockAccess, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var7 = $var5.$lastProgress; $var7 = $var7 + ($var5.$progress - $var7) * 0.0; if ($var5.$extending) $var7 = 1.0 - $var7; $var8 = $var5.$storedOrientation; var$9 = $var6.$minX0; var$10 = nms_Facing_offsetsXForSide.data; $this.$minX0 = var$9 - var$10[$var8] * $var7; var$9 = $var6.$minY0; var$11 = nms_Facing_offsetsYForSide.data; $this.$minY0 = var$9 - var$11[$var8] * $var7; var$9 = $var6.$minZ0; var$12 = nms_Facing_offsetsZForSide.data; $this.$minZ0 = var$9 - var$12[$var8] * $var7; $this.$maxX0 = $var6.$maxX0 - var$10[$var8] * $var7; $this.$maxY0 = $var6.$maxY0 - var$11[$var8] * $var7; $this.$maxZ0 = $var6.$maxZ0 - var$12[$var8] * $var7; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1IBlockAccess, $par2, $par3, $par4, $var6, $var5, $var7, $var8, var$9, var$10, var$11, var$12, $ptr); }, nms_BlockPistonMoving_getAxisAlignedBB = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par5 && $par5 != $this.$blockID) { nms_Block_$callClinit(); $var8 = nms_Block_blocksList.data[$par5]; $ptr = 1; continue main; } return null; case 1: $tmp = $var8.$getCollisionBoundingBoxFromPool($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 === null) return null; var$9 = nms_Facing_offsetsXForSide.data; if (var$9[$par7] >= 0) $var8.$maxX = $var8.$maxX - var$9[$par7] * $par6; else $var8.$minX = $var8.$minX - var$9[$par7] * $par6; var$9 = nms_Facing_offsetsYForSide.data; if (var$9[$par7] >= 0) $var8.$maxY = $var8.$maxY - var$9[$par7] * $par6; else $var8.$minY = $var8.$minY - var$9[$par7] * $par6; var$9 = nms_Facing_offsetsZForSide.data; if (var$9[$par7] >= 0) $var8.$maxZ = $var8.$maxZ - var$9[$par7] * $par6; else $var8.$minZ = $var8.$minZ - var$9[$par7] * $par6; return $var8; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $var8, var$9, $ptr); }, nms_BlockPistonMoving_idPicked = ($this, $par1World, $par2, $par3, $par4) => { return 0; }, nms_BlockPistonMoving_registerIcons = ($this, $par1IconRegister) => { $this.$blockIcon = $par1IconRegister.$registerIcon($rt_s(3037), 1); }, nms_BlockMushroom = $rt_classWithoutFields(nms_BlockFlower), nms_BlockMushroom__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_plants); $this.$needsRandomTick = 1; $this.$minX0 = 0.30000001192092896; $this.$minY0 = 0.0; $this.$minZ0 = 0.30000001192092896; $this.$maxX0 = 0.699999988079071; $this.$maxY0 = 0.6000000238418579; $this.$maxZ0 = 0.699999988079071; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; $this.$minX0 = 0.30000001192092896; $this.$minY0 = 0.0; $this.$minZ0 = 0.30000001192092896; $this.$maxX0 = 0.699999988079071; $this.$maxY0 = 0.4000000059604645; $this.$maxZ0 = 0.699999988079071; $this.$needsRandomTick = 1; }, nms_BlockMushroom__init_ = var_0 => { let var_1 = new nms_BlockMushroom(); nms_BlockMushroom__init_0(var_1, var_0); return var_1; }, nms_BlockMushroom_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5; a: { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$5) { nms_Block_$callClinit(); if (!nms_Block_blocksList.data[var$5].$blockMaterial.$replaceable) { var$5 = 0; break a; } } var$5 = 1; } b: { if (var$5) { var$5 = nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4); nms_Block_$callClinit(); if (nms_Block_opaqueCubeLookup.data[var$5]) { var$5 = 1; break b; } } var$5 = 0; } return var$5 && nms_BlockMushroom_canBlockStay($this, $par1World, $par2, $par3, $par4) ? 1 : 0; }, nms_BlockMushroom_canThisPlantGrowOnThisBlockID = ($this, $par1) => { nms_Block_$callClinit(); return nms_Block_opaqueCubeLookup.data[$par1]; }, nms_BlockMushroom_canBlockStay = ($this, $par1World, $par2, $par3, $par4) => { let var$5, $var5, var$7, var$8, var$9, var$10, var$11; if ($par3 >= 0) { var$5 = $rt_compare($par3, 256); if (var$5 < 0) { a: { b: { $var5 = nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4); nms_Block_$callClinit(); if ($var5 != nms_Block_mycelium.$blockID) { if ($par3 < 0) $par2 = 0; else { if (var$5 >= 0) $par3 = 255; var$7 = $par2 >> 4; var$5 = $par4 >> 4; $par1World = $par1World.$chunkProvider; var$8 = $par1World.$chunkMapping; var$9 = Long_or(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$5), Long_create(4294967295, 0)), 32)); var$5 = Long_lo(Long_xor(var$9, Long_shru(var$9, 32))); var$5 = var$5 ^ (var$5 >>> 20 | 0) ^ (var$5 >>> 12 | 0); var$10 = var$5 ^ (var$5 >>> 7 | 0) ^ (var$5 >>> 4 | 0); var$11 = var$8.$hashArray.data; var$8 = var$11[var$10 & (var$11.length - 1 | 0)]; c: { while (var$8 !== null) { if (Long_eq(var$8.$key1, var$9)) { var$8 = var$8.$value6; break c; } var$8 = var$8.$nextEntry0; } var$8 = null; } var$8 = var$8; if (var$8 === null) var$8 = $par1World.$blankChunk; $par2 = var$8.$getBlockLightValue($par2 & 15, $par3, $par4 & 15, 0); } if ($par2 >= 13) break b; if (!nms_Block_opaqueCubeLookup.data[$var5]) break b; } $par2 = 1; break a; } $par2 = 0; } return $par2; } } return 0; }, nms_BlockMushroom_fertilizeMushroom = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let $var6, var$7, var$8, var$9, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$7 = 0; var$8 = 0; var$9 = 3; $ptr = 1; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, var$7, var$8, var$9); if ($rt_suspending()) { break main; } $var7 = null; var$8 = $this.$blockID; nms_Block_$callClinit(); if (var$8 == nms_Block_mushroomBrown.$blockID) { $var7 = new nms_WorldGenBigMushroom; $var7.$doBlockNotify = 1; $var7.$mushroomType0 = (-1); $var7.$mushroomType0 = 0; } else if (var$8 == nms_Block_mushroomRed.$blockID) { $var7 = new nms_WorldGenBigMushroom; $var7.$doBlockNotify = 1; $var7.$mushroomType0 = (-1); $var7.$mushroomType0 = 1; } if ($var7 !== null) { $ptr = 3; continue main; } var$7 = $this.$blockID; var$8 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$7, $var6, var$8); if ($rt_suspending()) { break main; } return 0; case 3: $tmp = nms_WorldGenBigMushroom_generate($var7, $par1World, $par5Random, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7) return 1; var$7 = $this.$blockID; var$8 = 3; $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, $var6, var$7, var$8, var$9, $var7, $ptr); }, nms_BlockOreStorage = $rt_classWithoutFields(nms_Block), nms_BlockOreStorage__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_iron); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockOreStorage__init_ = var_0 => { let var_1 = new nms_BlockOreStorage(); nms_BlockOreStorage__init_0(var_1, var_0); return var_1; }; function nms_BlockHalfSlab() { nms_Block.call(this); this.$isDoubleSlab = 0; } let nms_BlockHalfSlab_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { if ($this.$isDoubleSlab) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } else if (!(!($par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) & 8) ? 0 : 1)) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.5; $this.$maxZ0 = 1.0; } else { $this.$minX0 = 0.0; $this.$minY0 = 0.5; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } }, nms_BlockHalfSlab_setBlockBoundsForItemRender = $this => { if ($this.$isDoubleSlab) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } else { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.5; $this.$maxZ0 = 1.0; } }, nms_BlockHalfSlab_addCollisionBoxesToList = ($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity) => { let var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par7Entity = $thread.pop();$par6List = $thread.pop();$par5AxisAlignedBB = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockHalfSlab_setBlockBoundsBasedOnState($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$9 = $par2; var$10 = var$9 + $this.$minX0; var$11 = $par3; var$12 = var$11 + $this.$minY0; var$13 = $par4; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$11 = var$11 + $this.$maxY0; var$9 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$11; $par7Entity.$maxZ = var$9; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$16 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$16[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$11; $par7Entity.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$16 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$16[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_BlockHalfSlab_isOpaqueCube = $this => { return $this.$isDoubleSlab; }, nms_BlockHalfSlab_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { if (!$this.$isDoubleSlab && !($par5 && !($par5 != 1 && $par7 > 0.5))) $par9 = $par9 | 8; return $par9; }, nms_BlockHalfSlab_quantityDropped = ($this, $par1Random) => { return !$this.$isDoubleSlab ? 1 : 2; }, nms_BlockHalfSlab_damageDropped = ($this, $par1) => { return $par1 & 7; }, nms_BlockHalfSlab_renderAsNormalBlock = $this => { return $this.$isDoubleSlab; }, nms_BlockHalfSlab_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8; if ($this.$isDoubleSlab) return nms_Block_shouldSideBeRendered($this, $par1IBlockAccess, $par2, $par3, $par4, $par5); var$6 = $rt_compare($par5, 1); if (var$6 && $par5 && !nms_Block_shouldSideBeRendered($this, $par1IBlockAccess, $par2, $par3, $par4, $par5)) return 0; var$7 = nms_Facing_offsetsXForSide.data; var$8 = nms_Facing_oppositeSide.data; if (!(!($par1IBlockAccess.$getBlockMetadata($par2 + var$7[var$8[$par5]] | 0, $par3 + nms_Facing_offsetsYForSide.data[var$8[$par5]] | 0, $par4 + nms_Facing_offsetsZForSide.data[var$8[$par5]] | 0) & 8) ? 0 : 1)) { if (!var$6) $par2 = 1; else if (!$par5 && nms_Block_shouldSideBeRendered($this, $par1IBlockAccess, $par2, $par3, $par4, $par5)) $par2 = 1; else { $par5 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); nms_Block_$callClinit(); $par5 = $par5 != nms_Block_stoneSingleSlab.$blockID && $par5 != nms_Block_woodSingleSlab.$blockID ? 0 : 1; $par2 = $par5 && !($par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) & 8) ? 0 : 1; } } else if (!$par5) $par2 = 1; else if (!var$6 && nms_Block_shouldSideBeRendered($this, $par1IBlockAccess, $par2, $par3, $par4, $par5)) $par2 = 1; else { var$6 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); nms_Block_$callClinit(); $par5 = var$6 != nms_Block_stoneSingleSlab.$blockID && var$6 != nms_Block_woodSingleSlab.$blockID ? 0 : 1; $par2 = $par5 && $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) & 8 ? 0 : 1; } return $par2; }, nms_BlockHalfSlab_getDamageValue = ($this, $par1World, $par2, $par3, $par4) => { return nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 7 & 7; }, nms_BlockHalfSlab_idPicked = ($this, $par1World, $par2, $par3, $par4) => { $par2 = $this.$blockID; nms_Block_$callClinit(); $par3 = nms_Block_stoneSingleSlab.$blockID; if (!($par2 != $par3 && $par2 != nms_Block_woodSingleSlab.$blockID ? 0 : 1)) $par2 = $par2 == nms_Block_stoneDoubleSlab.$blockID ? $par3 : $par2 != nms_Block_woodDoubleSlab.$blockID ? $par3 : nms_Block_woodSingleSlab.$blockID; return $par2; }; function nms_BlockStep() { nms_BlockHalfSlab.call(this); this.$theIcon3 = null; } let nms_BlockStep_blockStepTypes = null, nms_BlockStep__init_0 = ($this, $par1, $par2) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); $this.$isDoubleSlab = $par2; if ($par2) nms_Block_opaqueCubeLookup.data[$par1] = 1; else { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.5; $this.$maxZ0 = 1.0; } nms_Block_lightOpacity.data[$this.$blockID] = 255; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockStep__init_ = (var_0, var_1) => { let var_2 = new nms_BlockStep(); nms_BlockStep__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockStep_getIcon = ($this, $par1, $par2) => { let $var3, var$4; $var3 = $par2 & 7; if ($this.$isDoubleSlab && $par2 & 8) $par1 = 1; a: { if (!$var3) { if ($par1 != 1 && $par1) { var$4 = $this.$theIcon3; break a; } var$4 = $this.$blockIcon; break a; } if ($var3 == 1) { nms_Block_$callClinit(); var$4 = nms_Block_sandStone.$getIcon($par1, 0); break a; } if ($var3 == 2) { nms_Block_$callClinit(); var$4 = nms_Block_planks.$getIcon($par1, 0); break a; } if ($var3 == 3) { nms_Block_$callClinit(); var$4 = nms_Block_cobblestone.$getIcon($par1, 0); break a; } if ($var3 == 4) { nms_Block_$callClinit(); var$4 = nms_Block_brick.$getIcon($par1, 0); break a; } if ($var3 == 5) { nms_Block_$callClinit(); var$4 = nms_Block_stoneBrick.$getIcon($par1, 0); break a; } if ($var3 == 6) { nms_Block_$callClinit(); var$4 = nms_Block_netherBrick.$getIcon(1, 0); break a; } if ($var3 != 7) { var$4 = $this.$blockIcon; break a; } nms_Block_$callClinit(); var$4 = nms_Block_blockNetherQuartz.$getIcon($par1, 0); } return var$4; }, nms_BlockStep_registerIcons = ($this, $par1IconRegister) => { $this.$blockIcon = $par1IconRegister.$registerIcon($rt_s(3041), 1); $this.$theIcon3 = $par1IconRegister.$registerIcon($rt_s(3042), 1); }, nms_BlockStep_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_stoneSingleSlab.$blockID; }, nms_BlockStep_getFullSlabName = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; if (!($par1 >= 0 && $par1 < nms_BlockStep_blockStepTypes.data.length)) $par1 = 0; var$2 = $this.$unlocalizedName; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(2525)); var$4 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$2); var$2 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$3 = nms_BlockStep_blockStepTypes.data[$par1]; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, var$2); var$4 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$4, var$4 + 1 | 0); var$9.$buffer.data[var$4] = 46; $par1 = var$9.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, $par1, var$3); var$2 = new jl_String; var$5 = var$9.$buffer; var$6 = var$5.data; var$4 = var$9.$length0; var$7 = var$6.length; if (var$4 >= 0 && var$4 <= (var$7 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4); return var$2; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$2); $rt_throw(var$2); }, nms_BlockStep_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let $var4, var$5, var$6; a: { nms_Block_$callClinit(); if ($par1 != nms_Block_stoneDoubleSlab.$blockID) { $var4 = 0; while (true) { if ($var4 > 7) break a; if ($var4 != 2) { $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = $var4; if ($var4 < 0) $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$5 = $par3List.$array.data; var$6 = $par3List.$size0; $par3List.$size0 = var$6 + 1 | 0; var$5[var$6] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; } $var4 = $var4 + 1 | 0; } } } }, nms_BlockStep__clinit_ = () => { nms_BlockStep_blockStepTypes = $rt_wrapArray(jl_String, [$rt_s(79), $rt_s(2531), $rt_s(2527), $rt_s(80), $rt_s(81), $rt_s(3043), $rt_s(2651), $rt_s(2337)]); }; function nms_BlockTNT() { let a = this; nms_Block.call(a); a.$field_94393_a = null; a.$field_94392_b = null; } let nms_BlockTNT__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_tnt); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; }, nms_BlockTNT__init_0 = var_0 => { let var_1 = new nms_BlockTNT(); nms_BlockTNT__init_(var_1, var_0); return var_1; }, nms_BlockTNT_getIcon = ($this, $par1, $par2) => { return !$par1 ? $this.$field_94392_b : $par1 != 1 ? $this.$blockIcon : $this.$field_94393_a; }, nms_BlockTNT_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) return; var$5 = 1; var$6 = null; $ptr = 2; case 2: nms_BlockTNT_primeTnt($this, $par1World, $par2, $par3, $par4, var$5, var$6); if ($rt_suspending()) { break main; } var$5 = 0; var$7 = 0; var$8 = 3; $ptr = 3; case 3: nms_World_setBlock($par1World, $par2, $par3, $par4, var$5, var$7, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, var$8, $ptr); }, nms_BlockTNT_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par5 = $tmp; if (!$par5) return; $par5 = 1; var$6 = null; $ptr = 2; case 2: nms_BlockTNT_primeTnt($this, $par1World, $par2, $par3, $par4, $par5, var$6); if ($rt_suspending()) { break main; } $par5 = 0; var$7 = 0; var$8 = 3; $ptr = 3; case 3: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, var$7, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, $ptr); }, nms_BlockTNT_quantityDropped = ($this, $par1Random) => { return 1; }, nms_BlockTNT_onBlockDestroyedByExplosion = ($this, $par1World, $par2, $par3, $par4, $par5Explosion) => { let $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5Explosion = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $var6 = new nms_EntityTNTPrimed; var$7 = $par2 + 0.5; var$8 = $par3 + 0.5; var$9 = $par4 + 0.5; $par5Explosion = $par5Explosion.$exploder; $par5Explosion = $par5Explosion === null ? null : $par5Explosion instanceof nms_EntityTNTPrimed ? $par5Explosion.$tntPlacedBy : !($par5Explosion instanceof nms_EntityLivingBase) ? null : $par5Explosion; $ptr = 1; case 1: nms_EntityTNTPrimed__init_($var6, $par1World, var$7, var$8, var$9, $par5Explosion); if ($rt_suspending()) { break main; } $par5Explosion = $par1World.$rand0; $par3 = $var6.$fuse; $par4 = $par3 / 4 | 0; var$10 = Long_and(Long_add(Long_mul($par5Explosion.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Explosion.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); var$12 = $par4 - 1 | 0; if (!($par4 & var$12)) var$13 = Long_lo(Long_shr(Long_mul(Long_fromInt($par4), Long_fromInt(var$11)), 31)); else while (true) { var$13 = var$11 % $par4 | 0; if (((var$11 - var$13 | 0) + var$12 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($par5Explosion.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Explosion.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); } $var6.$fuse = var$13 + ($par3 / 8 | 0) | 0; $par2 = nms_World_spawnEntityInWorld($par1World, $var6); $par5Explosion = $par1World.$entityList; ju_HashMap_putImpl($par5Explosion.$backingMap, $var6, $par5Explosion); if (!$par2) { $par1World = $par1World.$entitySpawnQueue; ju_HashMap_putImpl($par1World.$backingMap, $var6, $par1World); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Explosion, $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_BlockTNT_onBlockDestroyedByPlayer = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = null; $ptr = 1; case 1: nms_BlockTNT_primeTnt($this, $par1World, $par2, $par3, $par4, $par5, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, $ptr); }, nms_BlockTNT_primeTnt = ($this, $par1World, $par2, $par3, $par4, $par5, $par6EntityLivingBase) => { let $var7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$par6EntityLivingBase = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1World.$isRemote && ($par5 & 1) == 1) { $var7 = new nms_EntityTNTPrimed; var$8 = $par2 + 0.5; var$9 = $par3 + 0.5; var$10 = $par4 + 0.5; $ptr = 1; continue main; } return; case 1: nms_EntityTNTPrimed__init_($var7, $par1World, var$8, var$9, var$10, $par6EntityLivingBase); if ($rt_suspending()) { break main; } $par2 = nms_World_spawnEntityInWorld($par1World, $var7); $par6EntityLivingBase = $par1World.$entityList; ju_HashMap_putImpl($par6EntityLivingBase.$backingMap, $var7, $par6EntityLivingBase); if (!$par2) { $par6EntityLivingBase = $par1World.$entitySpawnQueue; ju_HashMap_putImpl($par6EntityLivingBase.$backingMap, $var7, $par6EntityLivingBase); } nms_World_playSoundAtEntity($par1World, $var7, $rt_s(1931), 1.0, 1.0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6EntityLivingBase, $var7, var$8, var$9, var$10, $ptr); }, nms_BlockTNT_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$10 = $par5EntityPlayer.$inventory; var$11 = var$10.$currentItem; $par6 = $rt_compare(var$11, 9); if (($par6 < 0 && var$11 >= 0 ? var$10.$mainInventory.data[var$11] : null) !== null) { $par6 = ($par6 < 0 && var$11 >= 0 ? var$10.$mainInventory.data[var$11] : null).$itemID; nms_Item_$callClinit(); if ($par6 == nms_Item_flintAndSteel.$itemID0) { $par6 = 1; $ptr = 1; continue main; } } return 0; case 1: nms_BlockTNT_primeTnt($this, $par1World, $par2, $par3, $par4, $par6, $par5EntityPlayer); if ($rt_suspending()) { break main; } $par6 = 0; var$11 = 0; var$12 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par6, var$11, var$12); if ($rt_suspending()) { break main; } $par1World = $par5EntityPlayer.$inventory; $par3 = $par1World.$currentItem; $par1World = $par3 < 9 && $par3 >= 0 ? $par1World.$mainInventory.data[$par3] : null; $par2 = 1; $ptr = 3; case 3: nms_ItemStack_damageItem($par1World, $par2, $par5EntityPlayer); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, var$10, var$11, var$12, $ptr); }, nms_BlockTNT_onEntityCollidedWithBlock = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { let $var6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5Entity = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par5Entity instanceof nms_EntityArrow && !$par1World.$isRemote) { a: { b: { $var6 = $par5Entity; if (!$var6.$isImmuneToFire) { if ($var6.$fire > 0) break b; $par5Entity = $var6.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[128]; if (var$7 === null) { $par5Entity = $par5Entity.$elementData.data[0]; while ($par5Entity !== null && $par5Entity.$key !== null) { $par5Entity = $par5Entity.$next3; } } else { var$8 = var$7.$value0; var$9 = $par5Entity.$elementData.data; $par5Entity = var$9[var$8 & (var$9.length - 1 | 0)]; while ($par5Entity !== null) { if ($par5Entity.$origKeyHash == var$8) { var$10 = $par5Entity.$key; if (var$7 !== var$10 && !jl_Integer_equals(var$7, var$10) ? 0 : 1) break; } $par5Entity = $par5Entity.$next3; } } $par5Entity = $par5Entity === null ? null : $par5Entity.$value1; if (!($par5Entity.$watchedObject.$value2 & 1) ? 0 : 1) break b; } var$11 = 0; break a; } var$11 = 1; } if (var$11) { var$12 = 1; $par5Entity = $var6.$shootingEntity; $par5Entity = !($par5Entity instanceof nms_EntityLivingBase) ? null : $par5Entity; $ptr = 1; continue main; } } return; case 1: nms_BlockTNT_primeTnt($this, $par1World, $par2, $par3, $par4, var$12, $par5Entity); if ($rt_suspending()) { break main; } var$11 = 0; var$12 = 0; var$8 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$11, var$12, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Entity, $var6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_BlockTNT_canDropFromExplosion = ($this, $par1Explosion) => { return 0; }, nms_BlockTNT_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2998)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2999)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$field_94393_a = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3017)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$field_94392_b = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockBookshelf = $rt_classWithoutFields(nms_Block), nms_BlockBookshelf__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_wood); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockBookshelf__init_0 = var_0 => { let var_1 = new nms_BlockBookshelf(); nms_BlockBookshelf__init_(var_1, var_0); return var_1; }, nms_BlockBookshelf_getIcon = ($this, $par1, $par2) => { let var$3; if ($par1 != 1 && $par1) var$3 = $this.$blockIcon; else { nms_Block_$callClinit(); var$3 = nms_Block_planks.$getIcon($par1, 0); } return var$3; }, nms_BlockBookshelf_quantityDropped = ($this, $par1Random) => { return 3; }, nms_BlockBookshelf_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_book.$itemID0; }, nms_BlockObsidian = $rt_classWithoutFields(nms_BlockStone), nms_BlockObsidian__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockObsidian__init_ = var_0 => { let var_1 = new nms_BlockObsidian(); nms_BlockObsidian__init_0(var_1, var_0); return var_1; }, nms_BlockObsidian_quantityDropped = ($this, $par1Random) => { return 1; }, nms_BlockObsidian_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_obsidian.$blockID; }, nms_BlockTorch = $rt_classWithoutFields(nms_Block), nms_BlockTorch__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); $this.$needsRandomTick = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockTorch__init_ = var_0 => { let var_1 = new nms_BlockTorch(); nms_BlockTorch__init_0(var_1, var_0); return var_1; }, nms_BlockTorch_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockTorch_isOpaqueCube = $this => { return 0; }, nms_BlockTorch_renderAsNormalBlock = $this => { return 0; }, nms_BlockTorch_getRenderType = $this => { return 2; }, nms_BlockTorch_canPlaceTorchOn = ($this, $par1World, $par2, $par3, $par4) => { let $var5; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par3, $par4))) return 1; $var5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); return $var5 != nms_Block_fence.$blockID && $var5 != nms_Block_netherFence.$blockID && $var5 != nms_Block_glass.$blockID && $var5 != nms_Block_cobblestoneWall.$blockID ? 0 : 1; }, nms_BlockTorch_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { return nms_World_isBlockNormalCubeDefault($par1World, $par2 - 1 | 0, $par3, $par4, 1) ? 1 : nms_World_isBlockNormalCubeDefault($par1World, $par2 + 1 | 0, $par3, $par4, 1) ? 1 : nms_World_isBlockNormalCubeDefault($par1World, $par2, $par3, $par4 - 1 | 0, 1) ? 1 : nms_World_isBlockNormalCubeDefault($par1World, $par2, $par3, $par4 + 1 | 0, 1) ? 1 : nms_BlockTorch_canPlaceTorchOn($this, $par1World, $par2, $par3 - 1 | 0, $par4); }, nms_BlockTorch_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { if ($par5 == 1 && nms_BlockTorch_canPlaceTorchOn($this, $par1World, $par2, $par3 - 1 | 0, $par4)) $par9 = 5; if ($par5 == 2 && nms_World_isBlockNormalCubeDefault($par1World, $par2, $par3, $par4 + 1 | 0, 1)) $par9 = 4; if ($par5 == 3 && nms_World_isBlockNormalCubeDefault($par1World, $par2, $par3, $par4 - 1 | 0, 1)) $par9 = 3; if ($par5 == 4 && nms_World_isBlockNormalCubeDefault($par1World, $par2 + 1 | 0, $par3, $par4, 1)) $par9 = 2; if ($par5 == 5 && nms_World_isBlockNormalCubeDefault($par1World, $par2 - 1 | 0, $par3, $par4, 1)) $par9 = 1; return $par9; }, nms_BlockTorch_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)) { if (nms_World_isBlockNormalCubeDefault($par1World, $par2 - 1 | 0, $par3, $par4, 1)) { var$5 = 1; var$6 = 2; $ptr = 1; continue main; } if (nms_World_isBlockNormalCubeDefault($par1World, $par2 + 1 | 0, $par3, $par4, 1)) { var$5 = 2; var$6 = 2; $ptr = 4; continue main; } if (nms_World_isBlockNormalCubeDefault($par1World, $par2, $par3, $par4 - 1 | 0, 1)) { var$5 = 3; var$6 = 2; $ptr = 5; continue main; } if (nms_World_isBlockNormalCubeDefault($par1World, $par2, $par3, $par4 + 1 | 0, 1)) { var$5 = 4; var$6 = 2; $ptr = 6; continue main; } if (nms_BlockTorch_canPlaceTorchOn($this, $par1World, $par2, $par3 - 1 | 0, $par4)) { var$5 = 5; var$6 = 2; $ptr = 7; continue main; } } if (!nms_BlockTorch_canPlaceBlockAt($this, $par1World, $par2, $par3, $par4) && nms_World_getBlockId($par1World, $par2, $par3, $par4) == $this.$blockID) { var$5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 2; continue main; } return; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$5, var$6); if ($rt_suspending()) { break main; } if (!nms_BlockTorch_canPlaceBlockAt($this, $par1World, $par2, $par3, $par4) && nms_World_getBlockId($par1World, $par2, $par3, $par4) == $this.$blockID) { var$5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 2; continue main; } return; case 2: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, var$5, var$7, var$6); if ($rt_suspending()) { break main; } var$5 = 0; var$6 = 0; var$8 = 3; $ptr = 3; case 3: nms_World_setBlock($par1World, $par2, $par3, $par4, var$5, var$6, var$8); if ($rt_suspending()) { break main; } return; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$5, var$6); if ($rt_suspending()) { break main; } if (!nms_BlockTorch_canPlaceBlockAt($this, $par1World, $par2, $par3, $par4) && nms_World_getBlockId($par1World, $par2, $par3, $par4) == $this.$blockID) { var$5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 2; continue main; } return; case 5: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$5, var$6); if ($rt_suspending()) { break main; } if (!nms_BlockTorch_canPlaceBlockAt($this, $par1World, $par2, $par3, $par4) && nms_World_getBlockId($par1World, $par2, $par3, $par4) == $this.$blockID) { var$5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 2; continue main; } return; case 6: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$5, var$6); if ($rt_suspending()) { break main; } if (!nms_BlockTorch_canPlaceBlockAt($this, $par1World, $par2, $par3, $par4) && nms_World_getBlockId($par1World, $par2, $par3, $par4) == $this.$blockID) { var$5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 2; continue main; } return; case 7: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$5, var$6); if ($rt_suspending()) { break main; } if (!nms_BlockTorch_canPlaceBlockAt($this, $par1World, $par2, $par3, $par4) && nms_World_getBlockId($par1World, $par2, $par3, $par4) == $this.$blockID) { var$5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 2; continue main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, var$8, $ptr); }, nms_BlockTorch_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockTorch_func_94397_d($this, $par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockTorch_func_94397_d = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nms_BlockTorch_canPlaceBlockAt($this, $par1World, $par2, $par3, $par4)) $par5 = 1; else { if (nms_World_getBlockId($par1World, $par2, $par3, $par4) == $this.$blockID) { $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 1; continue main; } $par5 = 0; } if (!$par5) return 1; $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var7 = 0; if (!nms_World_isBlockNormalCubeDefault($par1World, $par2 - 1 | 0, $par3, $par4, 1) && $var6 == 1) $var7 = 1; if (!nms_World_isBlockNormalCubeDefault($par1World, $par2 + 1 | 0, $par3, $par4, 1) && $var6 == 2) $var7 = 1; if (!nms_World_isBlockNormalCubeDefault($par1World, $par2, $par3, $par4 - 1 | 0, 1) && $var6 == 3) $var7 = 1; if (!nms_World_isBlockNormalCubeDefault($par1World, $par2, $par3, $par4 + 1 | 0, 1) && $var6 == 4) $var7 = 1; if (!nms_BlockTorch_canPlaceTorchOn($this, $par1World, $par2, $par3 - 1 | 0, $par4) && $var6 == 5) $var7 = 1; if (!$var7) return 0; $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 3; continue main; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, var$6); if ($rt_suspending()) { break main; } $par5 = 0; var$6 = 0; $var6 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, var$6, $var6); if ($rt_suspending()) { break main; } if (!0) return 1; $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var7 = 0; if (!nms_World_isBlockNormalCubeDefault($par1World, $par2 - 1 | 0, $par3, $par4, 1) && $var6 == 1) $var7 = 1; if (!nms_World_isBlockNormalCubeDefault($par1World, $par2 + 1 | 0, $par3, $par4, 1) && $var6 == 2) $var7 = 1; if (!nms_World_isBlockNormalCubeDefault($par1World, $par2, $par3, $par4 - 1 | 0, 1) && $var6 == 3) $var7 = 1; if (!nms_World_isBlockNormalCubeDefault($par1World, $par2, $par3, $par4 + 1 | 0, 1) && $var6 == 4) $var7 = 1; if (!nms_BlockTorch_canPlaceTorchOn($this, $par1World, $par2, $par3 - 1 | 0, $par4) && $var6 == 5) $var7 = 1; if (!$var7) return 0; $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 3; case 3: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, var$6); if ($rt_suspending()) { break main; } $par5 = 0; var$6 = 0; $var6 = 3; $ptr = 4; case 4: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, var$6, $var6); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, $var6, $var7, $ptr); }, nms_BlockTorch_dropTorchIfCantStay = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nms_BlockTorch_canPlaceBlockAt($this, $par1World, $par2, $par3, $par4)) return 1; if (nms_World_getBlockId($par1World, $par2, $par3, $par4) != $this.$blockID) return 0; var$5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, var$5, var$7, var$6); if ($rt_suspending()) { break main; } var$5 = 0; var$6 = 0; var$8 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$5, var$6, var$8); if ($rt_suspending()) { break main; } return 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, var$8, $ptr); }, nms_BlockTorch_collisionRayTrace = ($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3) => { let $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$par6Vec3 = $thread.pop();$par5Vec3 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 7; if ($var7 == 1) { $this.$minX0 = 0.0; $this.$minY0 = 0.20000000298023224; $this.$minZ0 = 0.3499999940395355; $this.$maxX0 = 0.30000001192092896; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 0.6499999761581421; } else if ($var7 == 2) { $this.$minX0 = 0.699999988079071; $this.$minY0 = 0.20000000298023224; $this.$minZ0 = 0.3499999940395355; $this.$maxX0 = 1.0; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 0.6499999761581421; } else if ($var7 == 3) { $this.$minX0 = 0.3499999940395355; $this.$minY0 = 0.20000000298023224; $this.$minZ0 = 0.0; $this.$maxX0 = 0.6499999761581421; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 0.30000001192092896; } else if ($var7 != 4) { $this.$minX0 = 0.4000000059604645; $this.$minY0 = 0.0; $this.$minZ0 = 0.4000000059604645; $this.$maxX0 = 0.6000000238418579; $this.$maxY0 = 0.6000000238418579; $this.$maxZ0 = 0.6000000238418579; } else { $this.$minX0 = 0.3499999940395355; $this.$minY0 = 0.20000000298023224; $this.$minZ0 = 0.699999988079071; $this.$maxX0 = 0.6499999761581421; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 1.0; } $ptr = 1; case 1: $tmp = nms_Block_collisionRayTrace($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3); if ($rt_suspending()) { break main; } $par1World = $tmp; return $par1World; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3, $var7, $ptr); }, nms_BlockTorch_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let $var6, $var7, $var9, $var11, $var15, $var13, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var13 = $thread.pop();$var15 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var7 = $par2 + 0.5; $var9 = $par3 + 0.699999988079071; $var11 = $par4 + 0.5; if ($var6 == 1) { $par5Random = $rt_s(1479); $var15 = $var7 - 0.27000001072883606; $var13 = $var9 + 0.2199999988079071; var$12 = 0.0; $var7 = 0.0; $var9 = 0.0; $par2 = 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$12 = 0.0; $var7 = 0.0; $var9 = 0.0; $par2 = 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 >= 0) break a; if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($var6 == 2) { var$13 = $rt_s(1479); $var15 = $var7 + 0.27000001072883606; $var13 = $var9 + 0.2199999988079071; var$12 = 0.0; $var7 = 0.0; $var9 = 0.0; $par2 = 0; $par5Random = $par1World.$worldAccesses; $par3 = $rt_compare($par2, $par5Random.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { $par5Random = $par5Random.$array.data[$par2]; $ptr = 2; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$12 = 0.0; $var7 = 0.0; $var9 = 0.0; $par2 = 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 >= 0) break a; if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($var6 == 3) { $par5Random = $rt_s(1479); $var13 = $var9 + 0.2199999988079071; $var15 = $var11 - 0.27000001072883606; var$12 = 0.0; $var9 = 0.0; $var11 = 0.0; $par2 = 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; $ptr = 3; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$12 = 0.0; $var9 = 0.0; $var11 = 0.0; $par2 = 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 >= 0) break a; if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; $ptr = 8; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($var6 != 4) { var$13 = $rt_s(1479); $var15 = 0.0; $var13 = 0.0; var$12 = 0.0; $par2 = 0; $par5Random = $par1World.$worldAccesses; $par3 = $rt_compare($par2, $par5Random.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { $par5Random = $par5Random.$array.data[$par2]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$13 = $rt_s(1485); $var15 = 0.0; $var13 = 0.0; var$12 = 0.0; $par2 = 0; $par5Random = $par1World.$worldAccesses; $par3 = $rt_compare($par2, $par5Random.$size0); if ($par3 >= 0) break a; if ($par2 >= 0 && $par3 < 0) { $par5Random = $par5Random.$array.data[$par2]; $ptr = 9; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1479); $var13 = $var9 + 0.2199999988079071; $var15 = $var11 + 0.27000001072883606; var$12 = 0.0; $var9 = 0.0; $var11 = 0.0; $par2 = 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; $ptr = 6; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$12 = 0.0; $var9 = 0.0; $var11 = 0.0; $par2 = 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; $ptr = 10; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } return; case 1: nms_RenderGlobal_doSpawnParticle(var$13, $par5Random, $var15, $var13, $var11, var$12, $var7, $var9); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$12 = 0.0; $var7 = 0.0; $var9 = 0.0; $par2 = 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 2: nms_RenderGlobal_doSpawnParticle($par5Random, var$13, $var15, $var13, $var11, var$12, $var7, $var9); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; $par5Random = $par1World.$worldAccesses; $par3 = $rt_compare($par2, $par5Random.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { $par5Random = $par5Random.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$12 = 0.0; $var7 = 0.0; $var9 = 0.0; $par2 = 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 3: nms_RenderGlobal_doSpawnParticle(var$13, $par5Random, $var7, $var13, $var15, var$12, $var9, $var11); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$12 = 0.0; $var9 = 0.0; $var11 = 0.0; $par2 = 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; $ptr = 8; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 4: nms_RenderGlobal_doSpawnParticle(var$13, $par5Random, $var15, $var13, $var11, var$12, $var7, $var9); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 5: nms_RenderGlobal_doSpawnParticle($par5Random, var$13, $var7, $var9, $var11, $var15, $var13, var$12); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; $par5Random = $par1World.$worldAccesses; $par3 = $rt_compare($par2, $par5Random.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { $par5Random = $par5Random.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$13 = $rt_s(1485); $var15 = 0.0; $var13 = 0.0; var$12 = 0.0; $par2 = 0; $par5Random = $par1World.$worldAccesses; $par3 = $rt_compare($par2, $par5Random.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { $par5Random = $par5Random.$array.data[$par2]; $ptr = 9; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 6: nms_RenderGlobal_doSpawnParticle(var$13, $par5Random, $var7, $var13, $var15, var$12, $var9, $var11); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$12 = 0.0; $var9 = 0.0; $var11 = 0.0; $par2 = 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; $ptr = 10; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 7: nms_RenderGlobal_doSpawnParticle(var$13, $par5Random, $var15, $var13, $var11, var$12, $var7, $var9); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 8: nms_RenderGlobal_doSpawnParticle(var$13, $par5Random, $var7, $var13, $var15, var$12, $var9, $var11); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 9: nms_RenderGlobal_doSpawnParticle($par5Random, var$13, $var7, $var9, $var11, $var15, $var13, var$12); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; $par5Random = $par1World.$worldAccesses; $par3 = $rt_compare($par2, $par5Random.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { $par5Random = $par5Random.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 10: nms_RenderGlobal_doSpawnParticle(var$13, $par5Random, $var7, $var13, $var15, var$12, $var9, $var11); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$13 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$13.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$13 = var$13.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, $var6, $var7, $var9, $var11, $var15, $var13, var$12, var$13, $ptr); }; function nms_BlockFire() { let a = this; nms_Block.call(a); a.$chanceToEncourageFire = null; a.$abilityToCatchFire = null; a.$iconArray2 = null; } let nms_BlockFire__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_fire); $this.$chanceToEncourageFire = $rt_createIntArray(256); $this.$abilityToCatchFire = $rt_createIntArray(256); $this.$needsRandomTick = 1; }, nms_BlockFire__init_0 = var_0 => { let var_1 = new nms_BlockFire(); nms_BlockFire__init_(var_1, var_0); return var_1; }, nms_BlockFire_initializeBlock = $this => { let var$1, var$2, var$3, var$4; nms_Block_$callClinit(); var$1 = nms_Block_planks.$blockID; var$2 = $this.$chanceToEncourageFire.data; var$2[var$1] = 5; var$3 = $this.$abilityToCatchFire.data; var$3[var$1] = 20; var$4 = nms_Block_woodDoubleSlab.$blockID; var$2[var$4] = 5; var$3[var$4] = 20; var$4 = nms_Block_woodSingleSlab.$blockID; var$2[var$4] = 5; var$3[var$4] = 20; var$4 = nms_Block_fence.$blockID; var$2[var$4] = 5; var$3[var$4] = 20; var$4 = nms_Block_stairsWoodOak.$blockID; var$2[var$4] = 5; var$3[var$4] = 20; var$4 = nms_Block_stairsWoodBirch.$blockID; var$2[var$4] = 5; var$3[var$4] = 20; var$4 = nms_Block_stairsWoodSpruce.$blockID; var$2[var$4] = 5; var$3[var$4] = 20; var$4 = nms_Block_stairsWoodJungle.$blockID; var$2[var$4] = 5; var$3[var$4] = 20; var$4 = nms_Block_wood.$blockID; var$2[var$4] = 5; var$3[var$4] = 5; var$4 = nms_Block_leaves.$blockID; var$2[var$4] = 30; var$3[var$4] = 60; var$4 = nms_Block_bookShelf.$blockID; var$2[var$4] = 30; var$3[var$4] = 20; var$4 = nms_Block_tnt.$blockID; var$2[var$4] = 15; var$3[var$4] = 100; var$4 = nms_Block_tallGrass.$blockID; var$2[var$4] = 60; var$3[var$4] = 100; var$4 = nms_Block_cloth.$blockID; var$2[var$4] = 30; var$3[var$4] = 60; var$4 = nms_Block_vine.$blockID; var$2[var$4] = 15; var$3[var$4] = 100; var$4 = nms_Block_coalBlock.$blockID; var$2[var$4] = 5; var$3[var$4] = 5; var$4 = nms_Block_hay.$blockID; var$2[var$4] = 60; var$3[var$4] = 20; }, nms_BlockFire_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockFire_isOpaqueCube = $this => { return 0; }, nms_BlockFire_renderAsNormalBlock = $this => { return 0; }, nms_BlockFire_getRenderType = $this => { return 3; }, nms_BlockFire_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockFire_canNeighborBurn = ($this, $par1World, $par2, $par3, $par4) => { let var$5; var$5 = $par2 + 1 | 0; if ($this.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, var$5, $par3, $par4)] <= 0 ? 0 : 1) $par2 = 1; else { var$5 = $par2 - 1 | 0; if ($this.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, var$5, $par3, $par4)] <= 0 ? 0 : 1) $par2 = 1; else { var$5 = $par3 - 1 | 0; if ($this.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, var$5, $par4)] <= 0 ? 0 : 1) $par2 = 1; else { var$5 = $par3 + 1 | 0; if ($this.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, var$5, $par4)] <= 0 ? 0 : 1) $par2 = 1; else { var$5 = $par4 - 1 | 0; if ($this.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, var$5)] <= 0 ? 0 : 1) $par2 = 1; else { $par4 = $par4 + 1 | 0; $par2 = $this.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)] <= 0 ? 0 : 1; } } } } } return $par2; }, nms_BlockFire_isCollidable = $this => { return 0; }, nms_BlockFire_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5; var$5 = $par3 - 1 | 0; nms_Block_$callClinit(); return !nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$5, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$5, $par4)) && !nms_BlockFire_canNeighborBurn($this, $par1World, $par2, $par3, $par4) ? 0 : 1; }, nms_BlockFire_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$6, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$6, $par4)) && !nms_BlockFire_canNeighborBurn($this, $par1World, $par2, $par3, $par4)) { $par5 = 0; var$6 = 0; var$7 = 3; $ptr = 1; continue main; } return; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, var$6, var$7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, $ptr); }, nms_BlockFire_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$provider.$dimensionId <= 0) { var$5 = nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4); nms_Block_$callClinit(); if (var$5 == nms_Block_obsidian.$blockID) { var$6 = nms_Block_portal; $ptr = 1; continue main; } } var$7 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$7, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$7, $par4)) && !nms_BlockFire_canNeighborBurn($this, $par1World, $par2, $par3, $par4)) { var$5 = 0; var$7 = 0; var$8 = 3; $ptr = 2; continue main; } $par1World = $par1World.$rand0; var$9 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$9; $par4 = Long_lo(Long_shru(var$9, 17)); while ((($par4 - ($par4 % 10 | 0) | 0) + 9 | 0) < 0) { var$9 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$9; $par4 = Long_lo(Long_shru(var$9, 17)); } return; case 1: $tmp = nms_BlockPortal_tryToCreatePortal(var$6, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) { var$7 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$7, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$7, $par4)) && !nms_BlockFire_canNeighborBurn($this, $par1World, $par2, $par3, $par4)) { var$5 = 0; var$7 = 0; var$8 = 3; $ptr = 2; continue main; } $par1World = $par1World.$rand0; var$9 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$9; $par4 = Long_lo(Long_shru(var$9, 17)); while ((($par4 - ($par4 % 10 | 0) | 0) + 9 | 0) < 0) { var$9 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$9; $par4 = Long_lo(Long_shru(var$9, 17)); } } return; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$5, var$7, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_BlockFire_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let var$6, $var6, $var6_0, var$9, var$10, var$11, var$12, var$13, $var9, $var7, $var6_1, $var7_0, var$18, $var7_1, $var8, $var7_2, $var8_0, var$23, var$24, var$25, var$26, $var9_0, $var9_1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9_1 = $thread.pop();$var9_0 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$var8_0 = $thread.pop();$var7_2 = $thread.pop();$var8 = $thread.pop();$var7_1 = $thread.pop();var$18 = $thread.pop();$var7_0 = $thread.pop();$var6_1 = $thread.pop();$var7 = $thread.pop();$var9 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var6_0 = $thread.pop();$var6 = $thread.pop();var$6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var6 = Long_lo(Long_shru(var$6, 17)); while (true) { $var6_0 = $var6 % 24 | 0; if ((($var6 - $var6_0 | 0) + 23 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var6 = Long_lo(Long_shru(var$6, 17)); } if (!$var6_0) { var$9 = $par2 + 0.5; var$10 = $par3 + 0.5; var$11 = $par4 + 0.5; var$12 = $rt_s(3044); var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var9 = 1.0 + Long_lo(Long_shru(var$13, 24)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var7 = Long_lo(Long_shru(var$6, 24)) / 1.6777216E7 * 0.699999988079071 + 0.30000001192092896; $var6_1 = 0; $ptr = 1; continue main; } a: { $var6_1 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!(!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $var6_1, $par4)], nms_World_getBlockMetadata($par1World, $par2, $var6_1, $par4)) && !(nms_Block_fire.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $var6_1, $par4)] <= 0 ? 0 : 1))) { $var6_1 = 0; $var7_0 = $par2; var$18 = 24; $var7_1 = $par3; $var8 = $par4; while (true) { if ($var6_1 >= 3) break a; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_2 = $var7_0 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8_0 = $var7_1 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7 * 0.5 + 0.5; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9 = $var8 + Long_lo(Long_shru(var$6, var$18)) / 1.6777216E7; var$23 = $rt_s(1488); var$24 = $var7_2; var$25 = $var8_0; var$26 = $var9; var$9 = 0.0; var$10 = 0.0; var$11 = 0.0; $par3 = 0; var$12 = $par1World.$worldAccesses; $par2 = $rt_compare($par3, var$12.$size0); if ($par2 < 0) break; $var6_1 = $var6_1 + 1 | 0; } if ($par3 >= 0 && $par2 < 0) { var$12 = var$12.$array.data[$par3]; $ptr = 2; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$12 = nms_Block_fire; $var6_1 = $par2 - 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $var6_1, $par3, $par4)] <= 0 ? 0 : 1; b: { if ($var6_1) { $var6_0 = 0; $var9 = $par2; $var6 = 24; $var7 = $par3; $var7_0 = $par4; while (true) { if ($var6_0 >= 2) break b; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_1 = $var9 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7 * 0.10000000149011612; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_0 = $var7_0 + Long_lo(Long_shru(var$6, $var6)) / 1.6777216E7; var$23 = $rt_s(1488); var$25 = $var7_1; var$26 = $var8; var$9 = $var9_0; var$10 = 0.0; var$11 = 0.0; var$24 = 0.0; $var6_1 = 0; var$12 = $par1World.$worldAccesses; var$18 = $rt_compare($var6_1, var$12.$size0); if (var$18 < 0) break; $var6_0 = $var6_0 + 1 | 0; } if ($var6_1 >= 0 && var$18 < 0) { var$12 = var$12.$array.data[$var6_1]; $ptr = 3; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; $var6_1 = $par2 + 1 | 0; var$18 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $var6_1, $par3, $par4)] <= 0 ? 0 : 1; c: { if (var$18) { $var6_0 = 0; $var7_0 = $var6_1; $var6 = 24; $var8 = $par3; $var9_0 = $par4; while (true) { if ($var6_0 >= 2) break c; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_1 = $var7_0 - Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7 * 0.10000000149011612; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8_0 = $var8 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9 = $var9_0 + Long_lo(Long_shru(var$6, $var6)) / 1.6777216E7; var$23 = $rt_s(1488); var$9 = $var7_1; var$10 = $var8_0; var$11 = $var9; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $var6_1 = 0; var$12 = $par1World.$worldAccesses; var$18 = $rt_compare($var6_1, var$12.$size0); if (var$18 < 0) break; $var6_0 = $var6_0 + 1 | 0; } if ($var6_1 >= 0 && var$18 < 0) { var$12 = var$12.$array.data[$var6_1]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; $var6_1 = $par4 - 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, $var6_1)] <= 0 ? 0 : 1; d: { if ($var6_1) { $var6 = 0; $var7_0 = $par2; var$18 = 24; $var8 = $par3; $var9_0 = $par4; while (true) { if ($var6 >= 2) break d; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_1 = $var7_0 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8_0 = $var8 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9 = $var9_0 + Long_lo(Long_shru(var$6, var$18)) / 1.6777216E7 * 0.10000000149011612; var$23 = $rt_s(1488); var$9 = $var7_1; var$10 = $var8_0; var$11 = $var9; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $var6_0 = 0; var$12 = $par1World.$worldAccesses; $var6_1 = $rt_compare($var6_0, var$12.$size0); if ($var6_1 < 0) break; $var6 = $var6 + 1 | 0; } if ($var6_0 >= 0 && $var6_1 < 0) { var$12 = var$12.$array.data[$var6_0]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; var$18 = $par4 + 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, var$18)] <= 0 ? 0 : 1; e: { if ($var6_1) { $var6_1 = 0; $var9 = $par2; $var6 = 24; $var7 = $par3; $var7_1 = var$18; while (true) { if ($var6_1 >= 2) break e; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_0 = $var9 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_0 = $var7_1 - Long_lo(Long_shru(var$6, $var6)) / 1.6777216E7 * 0.10000000149011612; var$12 = $rt_s(1488); var$9 = $var7_0; var$10 = $var8; var$11 = $var9_0; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; var$18 = 0; var$23 = $par1World.$worldAccesses; $var6_0 = $rt_compare(var$18, var$23.$size0); if ($var6_0 < 0) break; $var6_1 = $var6_1 + 1 | 0; } if (var$18 >= 0 && $var6_0 < 0) { var$23 = var$23.$array.data[var$18]; $ptr = 6; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; $par3 = $par3 + 1 | 0; if (var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)] <= 0 ? 0 : 1) { $var6_1 = 0; $var9 = $par2; $par2 = 24; $var7_0 = $par3; $var9_0 = $par4; while (true) { if ($var6_1 >= 2) break a; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7 = $var9 + Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7_0 - Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7 * 0.10000000149011612; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_1 = $var9_0 + Long_lo(Long_shru(var$6, $par2)) / 1.6777216E7; var$12 = $rt_s(1488); var$9 = $var7; var$10 = $var8; var$11 = $var9_1; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $par3 = 0; var$23 = $par1World.$worldAccesses; $par4 = $rt_compare($par3, var$23.$size0); if ($par4 < 0) { if ($par3 >= 0 && $par4 < 0) { var$23 = var$23.$array.data[$par3]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6_1 = $var6_1 + 1 | 0; } } } return; case 1: nms_WorldClient_playSound($par1World, var$9, var$10, var$11, var$12, $var9, $var7, $var6_1); if ($rt_suspending()) { break main; } f: { $var6_1 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!(!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $var6_1, $par4)], nms_World_getBlockMetadata($par1World, $par2, $var6_1, $par4)) && !(nms_Block_fire.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $var6_1, $par4)] <= 0 ? 0 : 1))) { $var6_1 = 0; $var7_0 = $par2; var$18 = 24; $var7_1 = $par3; $var8 = $par4; while (true) { if ($var6_1 >= 3) break f; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_2 = $var7_0 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8_0 = $var7_1 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7 * 0.5 + 0.5; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9 = $var8 + Long_lo(Long_shru(var$6, var$18)) / 1.6777216E7; var$23 = $rt_s(1488); var$24 = $var7_2; var$25 = $var8_0; var$26 = $var9; var$9 = 0.0; var$10 = 0.0; var$11 = 0.0; $par3 = 0; var$12 = $par1World.$worldAccesses; $par2 = $rt_compare($par3, var$12.$size0); if ($par2 < 0) break; $var6_1 = $var6_1 + 1 | 0; } if ($par3 >= 0 && $par2 < 0) { var$12 = var$12.$array.data[$par3]; $ptr = 2; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$12 = nms_Block_fire; $var6_1 = $par2 - 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $var6_1, $par3, $par4)] <= 0 ? 0 : 1; g: { if ($var6_1) { $var6_0 = 0; $var9 = $par2; $var6 = 24; $var7 = $par3; $var7_0 = $par4; while (true) { if ($var6_0 >= 2) break g; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_1 = $var9 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7 * 0.10000000149011612; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_0 = $var7_0 + Long_lo(Long_shru(var$6, $var6)) / 1.6777216E7; var$23 = $rt_s(1488); var$25 = $var7_1; var$26 = $var8; var$9 = $var9_0; var$10 = 0.0; var$11 = 0.0; var$24 = 0.0; $var6_1 = 0; var$12 = $par1World.$worldAccesses; var$18 = $rt_compare($var6_1, var$12.$size0); if (var$18 < 0) break; $var6_0 = $var6_0 + 1 | 0; } if ($var6_1 >= 0 && var$18 < 0) { var$12 = var$12.$array.data[$var6_1]; $ptr = 3; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; $var6_1 = $par2 + 1 | 0; var$18 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $var6_1, $par3, $par4)] <= 0 ? 0 : 1; h: { if (var$18) { $var6_0 = 0; $var7_0 = $var6_1; $var6 = 24; $var8 = $par3; $var9_0 = $par4; while (true) { if ($var6_0 >= 2) break h; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_1 = $var7_0 - Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7 * 0.10000000149011612; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8_0 = $var8 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9 = $var9_0 + Long_lo(Long_shru(var$6, $var6)) / 1.6777216E7; var$23 = $rt_s(1488); var$9 = $var7_1; var$10 = $var8_0; var$11 = $var9; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $var6_1 = 0; var$12 = $par1World.$worldAccesses; var$18 = $rt_compare($var6_1, var$12.$size0); if (var$18 < 0) break; $var6_0 = $var6_0 + 1 | 0; } if ($var6_1 >= 0 && var$18 < 0) { var$12 = var$12.$array.data[$var6_1]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; $var6_1 = $par4 - 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, $var6_1)] <= 0 ? 0 : 1; i: { if ($var6_1) { $var6 = 0; $var7_0 = $par2; var$18 = 24; $var8 = $par3; $var9_0 = $par4; while (true) { if ($var6 >= 2) break i; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_1 = $var7_0 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8_0 = $var8 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9 = $var9_0 + Long_lo(Long_shru(var$6, var$18)) / 1.6777216E7 * 0.10000000149011612; var$23 = $rt_s(1488); var$9 = $var7_1; var$10 = $var8_0; var$11 = $var9; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $var6_0 = 0; var$12 = $par1World.$worldAccesses; $var6_1 = $rt_compare($var6_0, var$12.$size0); if ($var6_1 < 0) break; $var6 = $var6 + 1 | 0; } if ($var6_0 >= 0 && $var6_1 < 0) { var$12 = var$12.$array.data[$var6_0]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; var$18 = $par4 + 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, var$18)] <= 0 ? 0 : 1; j: { if ($var6_1) { $var6_1 = 0; $var9 = $par2; $var6 = 24; $var7 = $par3; $var7_1 = var$18; while (true) { if ($var6_1 >= 2) break j; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_0 = $var9 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_0 = $var7_1 - Long_lo(Long_shru(var$6, $var6)) / 1.6777216E7 * 0.10000000149011612; var$12 = $rt_s(1488); var$9 = $var7_0; var$10 = $var8; var$11 = $var9_0; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; var$18 = 0; var$23 = $par1World.$worldAccesses; $var6_0 = $rt_compare(var$18, var$23.$size0); if ($var6_0 < 0) break; $var6_1 = $var6_1 + 1 | 0; } if (var$18 >= 0 && $var6_0 < 0) { var$23 = var$23.$array.data[var$18]; $ptr = 6; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; $par3 = $par3 + 1 | 0; if (var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)] <= 0 ? 0 : 1) { $var6_1 = 0; $var9 = $par2; $par2 = 24; $var7_0 = $par3; $var9_0 = $par4; while (true) { if ($var6_1 >= 2) break f; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7 = $var9 + Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7_0 - Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7 * 0.10000000149011612; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_1 = $var9_0 + Long_lo(Long_shru(var$6, $par2)) / 1.6777216E7; var$12 = $rt_s(1488); var$9 = $var7; var$10 = $var8; var$11 = $var9_1; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $par3 = 0; var$23 = $par1World.$worldAccesses; $par4 = $rt_compare($par3, var$23.$size0); if ($par4 < 0) { if ($par3 >= 0 && $par4 < 0) { var$23 = var$23.$array.data[$par3]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6_1 = $var6_1 + 1 | 0; } } } return; case 2: nms_RenderGlobal_doSpawnParticle(var$12, var$23, var$24, var$25, var$26, var$9, var$10, var$11); if ($rt_suspending()) { break main; } $par3 = $par3 + 1 | 0; while (true) { var$12 = $par1World.$worldAccesses; $par2 = $rt_compare($par3, var$12.$size0); if ($par2 < 0) { if ($par3 >= 0 && $par2 < 0) { var$12 = var$12.$array.data[$par3]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6_1 = $var6_1 + 1 | 0; if ($var6_1 >= 3) break; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_2 = $var7_0 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8_0 = $var7_1 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7 * 0.5 + 0.5; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9 = $var8 + Long_lo(Long_shru(var$6, var$18)) / 1.6777216E7; var$23 = $rt_s(1488); var$24 = $var7_2; var$25 = $var8_0; var$26 = $var9; var$9 = 0.0; var$10 = 0.0; var$11 = 0.0; $par3 = 0; } return; case 3: nms_RenderGlobal_doSpawnParticle(var$12, var$23, var$25, var$26, var$9, var$10, var$11, var$24); if ($rt_suspending()) { break main; } $var6_1 = $var6_1 + 1 | 0; while (true) { var$12 = $par1World.$worldAccesses; var$18 = $rt_compare($var6_1, var$12.$size0); if (var$18 < 0) break; $var6_0 = $var6_0 + 1 | 0; if ($var6_0 >= 2) { var$12 = nms_Block_fire; $var6_1 = $par2 + 1 | 0; var$18 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $var6_1, $par3, $par4)] <= 0 ? 0 : 1; k: { if (var$18) { $var6_0 = 0; $var7_0 = $var6_1; $var6 = 24; $var8 = $par3; $var9_0 = $par4; while (true) { if ($var6_0 >= 2) break k; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_1 = $var7_0 - Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7 * 0.10000000149011612; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8_0 = $var8 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9 = $var9_0 + Long_lo(Long_shru(var$6, $var6)) / 1.6777216E7; var$23 = $rt_s(1488); var$9 = $var7_1; var$10 = $var8_0; var$11 = $var9; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $var6_1 = 0; var$12 = $par1World.$worldAccesses; var$18 = $rt_compare($var6_1, var$12.$size0); if (var$18 < 0) break; $var6_0 = $var6_0 + 1 | 0; } if ($var6_1 >= 0 && var$18 < 0) { var$12 = var$12.$array.data[$var6_1]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; $var6_1 = $par4 - 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, $var6_1)] <= 0 ? 0 : 1; l: { if ($var6_1) { $var6 = 0; $var7_0 = $par2; var$18 = 24; $var8 = $par3; $var9_0 = $par4; while (true) { if ($var6 >= 2) break l; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_1 = $var7_0 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8_0 = $var8 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9 = $var9_0 + Long_lo(Long_shru(var$6, var$18)) / 1.6777216E7 * 0.10000000149011612; var$23 = $rt_s(1488); var$9 = $var7_1; var$10 = $var8_0; var$11 = $var9; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $var6_0 = 0; var$12 = $par1World.$worldAccesses; $var6_1 = $rt_compare($var6_0, var$12.$size0); if ($var6_1 < 0) break; $var6 = $var6 + 1 | 0; } if ($var6_0 >= 0 && $var6_1 < 0) { var$12 = var$12.$array.data[$var6_0]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; var$18 = $par4 + 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, var$18)] <= 0 ? 0 : 1; m: { if ($var6_1) { $var6_1 = 0; $var9 = $par2; $var6 = 24; $var7 = $par3; $var7_1 = var$18; while (true) { if ($var6_1 >= 2) break m; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_0 = $var9 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_0 = $var7_1 - Long_lo(Long_shru(var$6, $var6)) / 1.6777216E7 * 0.10000000149011612; var$12 = $rt_s(1488); var$9 = $var7_0; var$10 = $var8; var$11 = $var9_0; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; var$18 = 0; var$23 = $par1World.$worldAccesses; $var6_0 = $rt_compare(var$18, var$23.$size0); if ($var6_0 < 0) break; $var6_1 = $var6_1 + 1 | 0; } if (var$18 >= 0 && $var6_0 < 0) { var$23 = var$23.$array.data[var$18]; $ptr = 6; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; $par3 = $par3 + 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)] <= 0 ? 0 : 1; d: { if ($var6_1) { $var6_1 = 0; $var9 = $par2; $par2 = 24; $var7_0 = $par3; $var9_0 = $par4; while (true) { if ($var6_1 >= 2) break d; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7 = $var9 + Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7_0 - Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7 * 0.10000000149011612; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_1 = $var9_0 + Long_lo(Long_shru(var$6, $par2)) / 1.6777216E7; var$12 = $rt_s(1488); var$9 = $var7; var$10 = $var8; var$11 = $var9_1; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $par3 = 0; var$23 = $par1World.$worldAccesses; $par4 = $rt_compare($par3, var$23.$size0); if ($par4 < 0) { if ($par3 >= 0 && $par4 < 0) { var$23 = var$23.$array.data[$par3]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6_1 = $var6_1 + 1 | 0; } } } return; } var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_1 = $var9 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7 * 0.10000000149011612; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_0 = $var7_0 + Long_lo(Long_shru(var$6, $var6)) / 1.6777216E7; var$23 = $rt_s(1488); var$25 = $var7_1; var$26 = $var8; var$9 = $var9_0; var$10 = 0.0; var$11 = 0.0; var$24 = 0.0; $var6_1 = 0; } if ($var6_1 >= 0 && var$18 < 0) { var$12 = var$12.$array.data[$var6_1]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 4: nms_RenderGlobal_doSpawnParticle(var$12, var$23, var$9, var$10, var$11, var$24, var$25, var$26); if ($rt_suspending()) { break main; } $var6_1 = $var6_1 + 1 | 0; while (true) { var$12 = $par1World.$worldAccesses; var$18 = $rt_compare($var6_1, var$12.$size0); if (var$18 < 0) break; $var6_0 = $var6_0 + 1 | 0; if ($var6_0 >= 2) { var$12 = nms_Block_fire; $var6_1 = $par4 - 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, $var6_1)] <= 0 ? 0 : 1; k: { if ($var6_1) { $var6 = 0; $var7_0 = $par2; var$18 = 24; $var8 = $par3; $var9_0 = $par4; while (true) { if ($var6 >= 2) break k; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_1 = $var7_0 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8_0 = $var8 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9 = $var9_0 + Long_lo(Long_shru(var$6, var$18)) / 1.6777216E7 * 0.10000000149011612; var$23 = $rt_s(1488); var$9 = $var7_1; var$10 = $var8_0; var$11 = $var9; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $var6_0 = 0; var$12 = $par1World.$worldAccesses; $var6_1 = $rt_compare($var6_0, var$12.$size0); if ($var6_1 < 0) break; $var6 = $var6 + 1 | 0; } if ($var6_0 >= 0 && $var6_1 < 0) { var$12 = var$12.$array.data[$var6_0]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; var$18 = $par4 + 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, var$18)] <= 0 ? 0 : 1; l: { if ($var6_1) { $var6_1 = 0; $var9 = $par2; $var6 = 24; $var7 = $par3; $var7_1 = var$18; while (true) { if ($var6_1 >= 2) break l; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_0 = $var9 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_0 = $var7_1 - Long_lo(Long_shru(var$6, $var6)) / 1.6777216E7 * 0.10000000149011612; var$12 = $rt_s(1488); var$9 = $var7_0; var$10 = $var8; var$11 = $var9_0; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; var$18 = 0; var$23 = $par1World.$worldAccesses; $var6_0 = $rt_compare(var$18, var$23.$size0); if ($var6_0 < 0) break; $var6_1 = $var6_1 + 1 | 0; } if (var$18 >= 0 && $var6_0 < 0) { var$23 = var$23.$array.data[var$18]; $ptr = 6; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; $par3 = $par3 + 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)] <= 0 ? 0 : 1; c: { if ($var6_1) { $var6_1 = 0; $var9 = $par2; $par2 = 24; $var7_0 = $par3; $var9_0 = $par4; while (true) { if ($var6_1 >= 2) break c; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7 = $var9 + Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7_0 - Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7 * 0.10000000149011612; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_1 = $var9_0 + Long_lo(Long_shru(var$6, $par2)) / 1.6777216E7; var$12 = $rt_s(1488); var$9 = $var7; var$10 = $var8; var$11 = $var9_1; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $par3 = 0; var$23 = $par1World.$worldAccesses; $par4 = $rt_compare($par3, var$23.$size0); if ($par4 < 0) { if ($par3 >= 0 && $par4 < 0) { var$23 = var$23.$array.data[$par3]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6_1 = $var6_1 + 1 | 0; } } } return; } var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_1 = $var7_0 - Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7 * 0.10000000149011612; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8_0 = $var8 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9 = $var9_0 + Long_lo(Long_shru(var$6, $var6)) / 1.6777216E7; var$23 = $rt_s(1488); var$9 = $var7_1; var$10 = $var8_0; var$11 = $var9; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $var6_1 = 0; } if ($var6_1 >= 0 && var$18 < 0) { var$12 = var$12.$array.data[$var6_1]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 5: nms_RenderGlobal_doSpawnParticle(var$12, var$23, var$9, var$10, var$11, var$24, var$25, var$26); if ($rt_suspending()) { break main; } $var6_0 = $var6_0 + 1 | 0; while (true) { var$12 = $par1World.$worldAccesses; $var6_1 = $rt_compare($var6_0, var$12.$size0); if ($var6_1 < 0) break; $var6 = $var6 + 1 | 0; if ($var6 >= 2) { var$12 = nms_Block_fire; var$18 = $par4 + 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, var$18)] <= 0 ? 0 : 1; k: { if ($var6_1) { $var6_1 = 0; $var9 = $par2; $var6 = 24; $var7 = $par3; $var7_1 = var$18; while (true) { if ($var6_1 >= 2) break k; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_0 = $var9 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_0 = $var7_1 - Long_lo(Long_shru(var$6, $var6)) / 1.6777216E7 * 0.10000000149011612; var$12 = $rt_s(1488); var$9 = $var7_0; var$10 = $var8; var$11 = $var9_0; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; var$18 = 0; var$23 = $par1World.$worldAccesses; $var6_0 = $rt_compare(var$18, var$23.$size0); if ($var6_0 < 0) break; $var6_1 = $var6_1 + 1 | 0; } if (var$18 >= 0 && $var6_0 < 0) { var$23 = var$23.$array.data[var$18]; $ptr = 6; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } var$12 = nms_Block_fire; $par3 = $par3 + 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)] <= 0 ? 0 : 1; b: { if ($var6_1) { $var6_1 = 0; $var9 = $par2; $par2 = 24; $var7_0 = $par3; $var9_0 = $par4; while (true) { if ($var6_1 >= 2) break b; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7 = $var9 + Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7_0 - Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7 * 0.10000000149011612; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_1 = $var9_0 + Long_lo(Long_shru(var$6, $par2)) / 1.6777216E7; var$12 = $rt_s(1488); var$9 = $var7; var$10 = $var8; var$11 = $var9_1; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $par3 = 0; var$23 = $par1World.$worldAccesses; $par4 = $rt_compare($par3, var$23.$size0); if ($par4 < 0) { if ($par3 >= 0 && $par4 < 0) { var$23 = var$23.$array.data[$par3]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6_1 = $var6_1 + 1 | 0; } } } return; } var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_1 = $var7_0 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8_0 = $var8 + Long_lo(Long_shru(var$13, var$18)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9 = $var9_0 + Long_lo(Long_shru(var$6, var$18)) / 1.6777216E7 * 0.10000000149011612; var$23 = $rt_s(1488); var$9 = $var7_1; var$10 = $var8_0; var$11 = $var9; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $var6_0 = 0; } if ($var6_0 >= 0 && $var6_1 < 0) { var$12 = var$12.$array.data[$var6_0]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 6: nms_RenderGlobal_doSpawnParticle(var$23, var$12, var$9, var$10, var$11, var$24, var$25, var$26); if ($rt_suspending()) { break main; } var$18 = var$18 + 1 | 0; while (true) { var$23 = $par1World.$worldAccesses; $var6_0 = $rt_compare(var$18, var$23.$size0); if ($var6_0 < 0) break; $var6_1 = $var6_1 + 1 | 0; if ($var6_1 >= 2) { var$12 = nms_Block_fire; $par3 = $par3 + 1 | 0; $var6_1 = var$12.$chanceToEncourageFire.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)] <= 0 ? 0 : 1; n: { if ($var6_1) { $var6_1 = 0; $var9 = $par2; $par2 = 24; $var7_0 = $par3; $var9_0 = $par4; while (true) { if ($var6_1 >= 2) break n; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7 = $var9 + Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7_0 - Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7 * 0.10000000149011612; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_1 = $var9_0 + Long_lo(Long_shru(var$6, $par2)) / 1.6777216E7; var$12 = $rt_s(1488); var$9 = $var7; var$10 = $var8; var$11 = $var9_1; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $par3 = 0; var$23 = $par1World.$worldAccesses; $par4 = $rt_compare($par3, var$23.$size0); if ($par4 < 0) { if ($par3 >= 0 && $par4 < 0) { var$23 = var$23.$array.data[$par3]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6_1 = $var6_1 + 1 | 0; } } } return; } var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7_0 = $var9 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7 + Long_lo(Long_shru(var$13, $var6)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_0 = $var7_1 - Long_lo(Long_shru(var$6, $var6)) / 1.6777216E7 * 0.10000000149011612; var$12 = $rt_s(1488); var$9 = $var7_0; var$10 = $var8; var$11 = $var9_0; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; var$18 = 0; } if (var$18 >= 0 && $var6_0 < 0) { var$23 = var$23.$array.data[var$18]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 7: nms_RenderGlobal_doSpawnParticle(var$23, var$12, var$9, var$10, var$11, var$24, var$25, var$26); if ($rt_suspending()) { break main; } $par3 = $par3 + 1 | 0; while (true) { var$23 = $par1World.$worldAccesses; $par4 = $rt_compare($par3, var$23.$size0); if ($par4 < 0) { if ($par3 >= 0 && $par4 < 0) { var$23 = var$23.$array.data[$par3]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6_1 = $var6_1 + 1 | 0; if ($var6_1 >= 2) break; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var7 = $var9 + Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; $var8 = $var7_0 - Long_lo(Long_shru(var$13, $par2)) / 1.6777216E7 * 0.10000000149011612; var$6 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var9_1 = $var9_0 + Long_lo(Long_shru(var$6, $par2)) / 1.6777216E7; var$12 = $rt_s(1488); var$9 = $var7; var$10 = $var8; var$11 = $var9_1; var$24 = 0.0; var$25 = 0.0; var$26 = 0.0; $par3 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, var$6, $var6, $var6_0, var$9, var$10, var$11, var$12, var$13, $var9, $var7, $var6_1, $var7_0, var$18, $var7_1, $var8, $var7_2, $var8_0, var$23, var$24, var$25, var$26, $var9_0, $var9_1, $ptr); }, nms_BlockFire_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$2 = $rt_createArray(nms_Icon, 2); var$3 = $this.$textureName; if (var$3 === null) { var$4 = $this.$blockID; var$3 = $this.$unlocalizedName; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$4, 10); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 95; var$7 = var$5.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$7, var$3); var$3 = new jl_String; var$8 = var$5.$buffer; var$9 = var$8.data; var$6 = var$5.$length0; var$4 = var$9.length; if (var$6 >= 0 && var$6 <= (var$4 - 0 | 0)) var$3.$nativeString = $rt_charArrayToString(var$8.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$3); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3045)); var$3 = new jl_String; var$9 = var$5.$buffer; var$8 = var$9.data; var$6 = var$5.$length0; var$4 = var$8.length; if (var$6 >= 0 && var$6 <= (var$4 - 0 | 0)) { var$8 = var$2.data; var$3.$nativeString = $rt_charArrayToString(var$9.data, 0, var$6); var$8[0] = $par1IconRegister.$registerIcon(var$3, 1); var$5 = $this.$textureName; if (var$5 === null) { var$7 = $this.$blockID; var$5 = $this.$unlocalizedName; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$7, 10); var$6 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$6, var$6 + 1 | 0); var$3.$buffer.data[var$6] = 95; var$7 = var$3.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$7, var$5); var$5 = new jl_String; var$9 = var$3.$buffer; var$10 = var$9.data; var$6 = var$3.$length0; var$4 = var$10.length; if (var$6 >= 0 && var$6 <= (var$4 - 0 | 0)) var$5.$nativeString = $rt_charArrayToString(var$9.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3046)); var$5 = new jl_String; var$9 = var$3.$buffer; var$10 = var$9.data; var$6 = var$3.$length0; var$4 = var$10.length; if (var$6 >= 0 && var$6 <= (var$4 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$9.data, 0, var$6); var$8[1] = $par1IconRegister.$registerIcon(var$5, 1); $this.$iconArray2 = var$2; return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockFire_getIcon = ($this, $par1, $par2) => { return $this.$iconArray2.data[0]; }, nms_BlockMobSpawner = $rt_classWithoutFields(nms_BlockContainer), nms_BlockMobSpawner__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); $this.$isBlockContainer = 1; }, nms_BlockMobSpawner__init_0 = var_0 => { let var_1 = new nms_BlockMobSpawner(); nms_BlockMobSpawner__init_(var_1, var_0); return var_1; }, nms_BlockMobSpawner_createNewTileEntity = ($this, $par1World) => { return nms_TileEntityMobSpawner__init_0(); }, nms_BlockMobSpawner_idDropped = ($this, $par1, $par2Random, $par3) => { return 0; }, nms_BlockMobSpawner_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockMobSpawner_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, var$9, $var8, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7); if ($rt_suspending()) { break main; } var$8 = $par1World.$rand0; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; $par7 = Long_lo(Long_shru(var$9, 17)); while (true) { $var8 = $par7 % 15 | 0; if ((($par7 - $var8 | 0) + 14 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; $par7 = Long_lo(Long_shru(var$9, 17)); } $par7 = 15 + $var8 | 0; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$11 = Long_lo(Long_shru(var$9, 17)); while (true) { var$12 = var$11 % 15 | 0; if (((var$11 - var$12 | 0) + 14 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$11 = Long_lo(Long_shru(var$9, 17)); } $var8 = $par7 + var$12 | 0; if (!$par1World.$isRemote) { var$13 = $par2 + 0.5; var$14 = $par3 + 0.5; var$15 = $par4 + 0.5; if ($var8 > 0) { $par2 = nms_EntityXPOrb_getXPSplit($var8); $var8 = $var8 - $par2 | 0; var$16 = new nms_EntityXPOrb; $ptr = 2; continue main; } } return; case 2: nms_EntityXPOrb__init_(var$16, $par1World, var$13, var$14, var$15, $par2); if ($rt_suspending()) { break main; } $par2 = nms_World_spawnEntityInWorld($par1World, var$16); var$8 = $par1World.$entityList; ju_HashMap_putImpl(var$8.$backingMap, var$16, var$8); if (!$par2) { var$8 = $par1World.$entitySpawnQueue; ju_HashMap_putImpl(var$8.$backingMap, var$16, var$8); } if ($var8 <= 0) return; $par2 = nms_EntityXPOrb_getXPSplit($var8); $var8 = $var8 - $par2 | 0; var$16 = new nms_EntityXPOrb; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, var$8, var$9, $var8, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_BlockMobSpawner_isOpaqueCube = $this => { return 0; }, nms_BlockMobSpawner_idPicked = ($this, $par1World, $par2, $par3, $par4) => { return 0; }; function nms_BlockStairs() { let a = this; nms_Block.call(a); a.$modelBlock = null; a.$modelBlockMetadata = 0; a.$field_72156_cr = 0; a.$field_72160_cs = 0; } let nms_BlockStairs_field_72159_a = null, nms_BlockStairs__init_0 = ($this, $par1, $par2Block, $par3) => { let var$4, var$5; nms_Block__init_($this, $par1, $par2Block.$blockMaterial); $this.$modelBlock = $par2Block; $this.$modelBlockMetadata = $par3; var$4 = $par2Block.$blockHardness; $this.$blockHardness = var$4; var$5 = $this.$blockResistance; var$4 = var$4 * 5.0; if (var$5 < var$4) $this.$blockResistance = var$4; $this.$blockResistance = $par2Block.$blockResistance / 3.0 * 3.0; $this.$stepSound = $par2Block.$stepSound; nms_Block_lightOpacity.data[$this.$blockID] = 255; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockStairs__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_BlockStairs(); nms_BlockStairs__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_BlockStairs_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10; if (!$this.$field_72156_cr) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } else { $par2 = $this.$field_72160_cs; var$5 = 0.5 * ($par2 % 2 | 0); var$6 = 0.5 * (($par2 / 2 | 0) % 2 | 0); var$7 = 0.5 * (($par2 / 4 | 0) % 2 | 0); var$8 = 0.5 + var$5; var$9 = 0.5 + var$6; var$10 = 0.5 + var$7; $this.$minX0 = var$5; $this.$minY0 = var$6; $this.$minZ0 = var$7; $this.$maxX0 = var$8; $this.$maxY0 = var$9; $this.$maxZ0 = var$10; } }, nms_BlockStairs_isOpaqueCube = $this => { return 0; }, nms_BlockStairs_renderAsNormalBlock = $this => { return 0; }, nms_BlockStairs_getRenderType = $this => { return 10; }, nms_BlockStairs_func_82542_g = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, var$9, $var9, $var10, $var11, $var12, $var13, $var15, $var14, $var16, $var15_0; $var5 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); $var6 = $var5 & 3; $var7 = 0.5; $var8 = 1.0; var$9 = $var5 & 4; if (var$9) { $var7 = 0.0; $var8 = 0.5; } a: { $var9 = 0.0; $var10 = 1.0; $var11 = 0.0; $var12 = 0.5; $var13 = 1; if (!$var6) { b: { $var9 = 0.5; $var12 = 1.0; $var15 = $par2 + 1 | 0; $var14 = $par1IBlockAccess.$getBlockId($var15, $par3, $par4); $var15 = $par1IBlockAccess.$getBlockMetadata($var15, $par3, $par4); if ($var14 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var14] instanceof nms_BlockStairs) { $var16 = 1; break b; } } $var16 = 0; } if (!$var16) break a; if (var$9 != ($var15 & 4)) break a; $var16 = $var15 & 3; if ($var16 == 3) { c: { $var15 = $par4 + 1 | 0; $var14 = $par1IBlockAccess.$getBlockId($par2, $par3, $var15); if ($var14 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var14] instanceof nms_BlockStairs) { $var14 = 1; break c; } } $var14 = 0; } if (!($var14 && $par1IBlockAccess.$getBlockMetadata($par2, $par3, $var15) == $var5 ? 1 : 0)) { $var12 = 0.5; $var13 = 0; break a; } } if ($var16 != 2) break a; d: { $par4 = $par4 - 1 | 0; $var15 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); if ($var15 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var15] instanceof nms_BlockStairs) { $var15 = 1; break d; } } $var15 = 0; } if ($var15 && $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) == $var5 ? 1 : 0) break a; $var11 = 0.5; $var13 = 0; break a; } if ($var6 == 1) { e: { $var10 = 0.5; $var12 = 1.0; $var15 = $par2 - 1 | 0; $var14 = $par1IBlockAccess.$getBlockId($var15, $par3, $par4); $var15_0 = $par1IBlockAccess.$getBlockMetadata($var15, $par3, $par4); if ($var14 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var14] instanceof nms_BlockStairs) { $var15 = 1; break e; } } $var15 = 0; } if (!$var15) break a; if (var$9 != ($var15_0 & 4)) break a; $var16 = $var15_0 & 3; if ($var16 == 3) { f: { $var14 = $par4 + 1 | 0; $var15 = $par1IBlockAccess.$getBlockId($par2, $par3, $var14); if ($var15 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var15] instanceof nms_BlockStairs) { $var15 = 1; break f; } } $var15 = 0; } if (!($var15 && $par1IBlockAccess.$getBlockMetadata($par2, $par3, $var14) == $var5 ? 1 : 0)) { $var12 = 0.5; $var13 = 0; break a; } } if ($var16 != 2) break a; g: { $par4 = $par4 - 1 | 0; $var15 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); if ($var15 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var15] instanceof nms_BlockStairs) { $var15 = 1; break g; } } $var15 = 0; } if ($var15 && $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) == $var5 ? 1 : 0) break a; $var11 = 0.5; $var13 = 0; break a; } if ($var6 == 2) { h: { $var11 = 0.5; $var12 = 1.0; $var15 = $par4 + 1 | 0; $var14 = $par1IBlockAccess.$getBlockId($par2, $par3, $var15); $var15 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $var15); if ($var14 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var14] instanceof nms_BlockStairs) { $var16 = 1; break h; } } $var16 = 0; } if (!$var16) break a; if (var$9 != ($var15 & 4)) break a; $var16 = $var15 & 3; if ($var16 == 1) { i: { $var14 = $par2 + 1 | 0; $var15 = $par1IBlockAccess.$getBlockId($var14, $par3, $par4); if ($var15 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var15] instanceof nms_BlockStairs) { $var15 = 1; break i; } } $var15 = 0; } if (!($var15 && $par1IBlockAccess.$getBlockMetadata($var14, $par3, $par4) == $var5 ? 1 : 0)) { $var10 = 0.5; $var13 = 0; break a; } } if ($var16) break a; j: { $var15 = $par2 - 1 | 0; $par2 = $par1IBlockAccess.$getBlockId($var15, $par3, $par4); if ($par2 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$par2] instanceof nms_BlockStairs) { $par2 = 1; break j; } } $par2 = 0; } if ($par2 && $par1IBlockAccess.$getBlockMetadata($var15, $par3, $par4) == $var5 ? 1 : 0) break a; $var9 = 0.5; $var13 = 0; break a; } if ($var6 != 3) break a; k: { $var15 = $par4 - 1 | 0; $var14 = $par1IBlockAccess.$getBlockId($par2, $par3, $var15); $var15 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $var15); if ($var14 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var14] instanceof nms_BlockStairs) { $var16 = 1; break k; } } $var16 = 0; } if (!$var16) break a; if (var$9 != ($var15 & 4)) break a; $var16 = $var15 & 3; if ($var16 == 1) { l: { $var15 = $par2 + 1 | 0; $var14 = $par1IBlockAccess.$getBlockId($var15, $par3, $par4); if ($var14 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var14] instanceof nms_BlockStairs) { $var14 = 1; break l; } } $var14 = 0; } if (!($var14 && $par1IBlockAccess.$getBlockMetadata($var15, $par3, $par4) == $var5 ? 1 : 0)) { $var10 = 0.5; $var13 = 0; break a; } } if ($var16) break a; m: { $var15 = $par2 - 1 | 0; $par2 = $par1IBlockAccess.$getBlockId($var15, $par3, $par4); if ($par2 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$par2] instanceof nms_BlockStairs) { $par2 = 1; break m; } } $par2 = 0; } if ($par2 && $par1IBlockAccess.$getBlockMetadata($var15, $par3, $par4) == $var5 ? 1 : 0) break a; $var9 = 0.5; $var13 = 0; } $this.$minX0 = $var9; $this.$minY0 = $var7; $this.$minZ0 = $var11; $this.$maxX0 = $var10; $this.$maxY0 = $var8; $this.$maxZ0 = $var12; return $var13; }, nms_BlockStairs_func_82544_h = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, var$9, $var9, $var10, $var11, $var12, $var13, $var15, $var14, $var16, $var15_0; $var5 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); $var6 = $var5 & 3; $var7 = 0.5; $var8 = 1.0; var$9 = $var5 & 4; if (var$9) { $var7 = 0.0; $var8 = 0.5; } a: { $var9 = 0.0; $var10 = 0.5; $var11 = 0.5; $var12 = 1.0; $var13 = 0; if (!$var6) { b: { $var15 = $par2 - 1 | 0; $var14 = $par1IBlockAccess.$getBlockId($var15, $par3, $par4); $var15 = $par1IBlockAccess.$getBlockMetadata($var15, $par3, $par4); if ($var14 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var14] instanceof nms_BlockStairs) { $var16 = 1; break b; } } $var16 = 0; } if (!$var16) break a; if (var$9 != ($var15 & 4)) break a; $var16 = $var15 & 3; if ($var16 == 3) { c: { $var15 = $par4 - 1 | 0; $var14 = $par1IBlockAccess.$getBlockId($par2, $par3, $var15); if ($var14 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var14] instanceof nms_BlockStairs) { $var14 = 1; break c; } } $var14 = 0; } if (!($var14 && $par1IBlockAccess.$getBlockMetadata($par2, $par3, $var15) == $var5 ? 1 : 0)) { $var11 = 0.0; $var12 = 0.5; $var13 = 1; break a; } } if ($var16 != 2) break a; d: { $par4 = $par4 + 1 | 0; $var15 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); if ($var15 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var15] instanceof nms_BlockStairs) { $var15 = 1; break d; } } $var15 = 0; } if ($var15 && $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) == $var5 ? 1 : 0) break a; $var11 = 0.5; $var12 = 1.0; $var13 = 1; break a; } if ($var6 == 1) { e: { $var15 = $par2 + 1 | 0; $var14 = $par1IBlockAccess.$getBlockId($var15, $par3, $par4); $var15_0 = $par1IBlockAccess.$getBlockMetadata($var15, $par3, $par4); if ($var14 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var14] instanceof nms_BlockStairs) { $var15 = 1; break e; } } $var15 = 0; } if (!$var15) break a; if (var$9 != ($var15_0 & 4)) break a; $var9 = 0.5; $var10 = 1.0; $var16 = $var15_0 & 3; if ($var16 == 3) { f: { $var14 = $par4 - 1 | 0; $var15 = $par1IBlockAccess.$getBlockId($par2, $par3, $var14); if ($var15 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var15] instanceof nms_BlockStairs) { $var15 = 1; break f; } } $var15 = 0; } if (!($var15 && $par1IBlockAccess.$getBlockMetadata($par2, $par3, $var14) == $var5 ? 1 : 0)) { $var11 = 0.0; $var12 = 0.5; $var13 = 1; break a; } } if ($var16 != 2) break a; g: { $par4 = $par4 + 1 | 0; $var15 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); if ($var15 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var15] instanceof nms_BlockStairs) { $var15 = 1; break g; } } $var15 = 0; } if ($var15 && $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) == $var5 ? 1 : 0) break a; $var11 = 0.5; $var12 = 1.0; $var13 = 1; break a; } if ($var6 == 2) { h: { $var15 = $par4 - 1 | 0; $var14 = $par1IBlockAccess.$getBlockId($par2, $par3, $var15); $var15 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $var15); if ($var14 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var14] instanceof nms_BlockStairs) { $var16 = 1; break h; } } $var16 = 0; } if (!$var16) break a; if (var$9 != ($var15 & 4)) break a; $var11 = 0.0; $var12 = 0.5; $var16 = $var15 & 3; if ($var16 == 1) { i: { $var14 = $par2 - 1 | 0; $var15 = $par1IBlockAccess.$getBlockId($var14, $par3, $par4); if ($var15 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var15] instanceof nms_BlockStairs) { $var15 = 1; break i; } } $var15 = 0; } if (!($var15 && $par1IBlockAccess.$getBlockMetadata($var14, $par3, $par4) == $var5 ? 1 : 0)) { $var13 = 1; break a; } } if ($var16) break a; j: { $var15 = $par2 + 1 | 0; $par2 = $par1IBlockAccess.$getBlockId($var15, $par3, $par4); if ($par2 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$par2] instanceof nms_BlockStairs) { $par2 = 1; break j; } } $par2 = 0; } if ($par2 && $par1IBlockAccess.$getBlockMetadata($var15, $par3, $par4) == $var5 ? 1 : 0) break a; $var9 = 0.5; $var10 = 1.0; $var13 = 1; break a; } if ($var6 != 3) break a; k: { $var15 = $par4 + 1 | 0; $var14 = $par1IBlockAccess.$getBlockId($par2, $par3, $var15); $var15 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $var15); if ($var14 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var14] instanceof nms_BlockStairs) { $var16 = 1; break k; } } $var16 = 0; } if (!$var16) break a; if (var$9 != ($var15 & 4)) break a; $var16 = $var15 & 3; if ($var16 == 1) { l: { $var15 = $par2 - 1 | 0; $var14 = $par1IBlockAccess.$getBlockId($var15, $par3, $par4); if ($var14 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var14] instanceof nms_BlockStairs) { $var14 = 1; break l; } } $var14 = 0; } if (!($var14 && $par1IBlockAccess.$getBlockMetadata($var15, $par3, $par4) == $var5 ? 1 : 0)) { $var13 = 1; break a; } } if ($var16) break a; m: { $var15 = $par2 + 1 | 0; $par2 = $par1IBlockAccess.$getBlockId($var15, $par3, $par4); if ($par2 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$par2] instanceof nms_BlockStairs) { $par2 = 1; break m; } } $par2 = 0; } if ($par2 && $par1IBlockAccess.$getBlockMetadata($var15, $par3, $par4) == $var5 ? 1 : 0) break a; $var9 = 0.5; $var10 = 1.0; $var13 = 1; } if ($var13) { $this.$minX0 = $var9; $this.$minY0 = $var7; $this.$minZ0 = $var11; $this.$maxX0 = $var10; $this.$maxY0 = $var8; $this.$maxZ0 = $var12; } return $var13; }, nms_BlockStairs_addCollisionBoxesToList = ($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity) => { let var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par7Entity = $thread.pop();$par6List = $thread.pop();$par5AxisAlignedBB = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!(nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 4)) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.5; $this.$maxZ0 = 1.0; } else { $this.$minX0 = 0.0; $this.$minY0 = 0.5; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$9 = $par2; var$10 = var$9 + $this.$minX0; var$11 = $par3; var$12 = var$11 + $this.$minY0; var$13 = $par4; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; var$18 = var$8.$nextPoolIndex; $par7Entity = var$8.$listAABB; var$19 = $par7Entity.$size0; var$20 = $rt_compare(var$18, var$19); if (var$20 >= 0) { var$21 = new nms_AxisAlignedBB; var$21.$minX = var$10; var$21.$minY = var$12; var$21.$minZ = var$14; var$21.$maxX = var$15; var$21.$maxY = var$16; var$21.$maxZ = var$17; ju_ArrayList_ensureCapacity($par7Entity, var$19 + 1 | 0); var$22 = $par7Entity.$array.data; var$18 = $par7Entity.$size0; $par7Entity.$size0 = var$18 + 1 | 0; var$22[var$18] = var$21; $par7Entity.$modCount = $par7Entity.$modCount + 1 | 0; } else if (var$18 >= 0 && var$20 < 0) { var$21 = $par7Entity.$array.data[var$18]; var$21.$minX = var$10; var$21.$minY = var$12; var$21.$minZ = var$14; var$21.$maxX = var$15; var$21.$maxY = var$16; var$21.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, var$21)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$22 = $par6List.$array.data; var$18 = $par6List.$size0; $par6List.$size0 = var$18 + 1 | 0; var$22[var$18] = var$21; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $var8 = nms_BlockStairs_func_82542_g($this, $par1World, $par2, $par3, $par4); var$21 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$12 = var$11 + $this.$minY0; var$17 = var$13 + $this.$minZ0; var$14 = var$9 + $this.$maxX0; var$15 = var$11 + $this.$maxY0; var$16 = var$13 + $this.$maxZ0; var$19 = var$21.$nextPoolIndex; $par7Entity = var$21.$listAABB; var$20 = $par7Entity.$size0; var$18 = $rt_compare(var$19, var$20); if (var$18 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = var$10; var$8.$minY = var$12; var$8.$minZ = var$17; var$8.$maxX = var$14; var$8.$maxY = var$15; var$8.$maxZ = var$16; ju_ArrayList_ensureCapacity($par7Entity, var$20 + 1 | 0); var$22 = $par7Entity.$array.data; var$18 = $par7Entity.$size0; $par7Entity.$size0 = var$18 + 1 | 0; var$22[var$18] = var$8; $par7Entity.$modCount = $par7Entity.$modCount + 1 | 0; } else if (var$19 >= 0 && var$18 < 0) { var$8 = $par7Entity.$array.data[var$19]; var$8.$minX = var$10; var$8.$minY = var$12; var$8.$minZ = var$17; var$8.$maxX = var$14; var$8.$maxY = var$15; var$8.$maxZ = var$16; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$21.$nextPoolIndex = var$21.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, var$8)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$22 = $par6List.$array.data; var$19 = $par6List.$size0; $par6List.$size0 = var$19 + 1 | 0; var$22[var$19] = var$8; $par6List.$modCount = $par6List.$modCount + 1 | 0; } if ($var8 && nms_BlockStairs_func_82544_h($this, $par1World, $par2, $par3, $par4)) { $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$12 = var$11 + $this.$minY0; var$17 = var$13 + $this.$minZ0; var$14 = var$9 + $this.$maxX0; var$15 = var$11 + $this.$maxY0; var$16 = var$13 + $this.$maxZ0; $par2 = $par1World.$nextPoolIndex; $par7Entity = $par1World.$listAABB; $par4 = $par7Entity.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = var$10; var$8.$minY = var$12; var$8.$minZ = var$17; var$8.$maxX = var$14; var$8.$maxY = var$15; var$8.$maxZ = var$16; ju_ArrayList_ensureCapacity($par7Entity, $par4 + 1 | 0); var$22 = $par7Entity.$array.data; $par3 = $par7Entity.$size0; $par7Entity.$size0 = $par3 + 1 | 0; var$22[$par3] = var$8; $par7Entity.$modCount = $par7Entity.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$8 = $par7Entity.$array.data[$par2]; var$8.$minX = var$10; var$8.$minY = var$12; var$8.$minZ = var$17; var$8.$maxX = var$14; var$8.$maxY = var$15; var$8.$maxZ = var$16; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, var$8)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$22 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$22[$par3] = var$8; $par6List.$modCount = $par6List.$modCount + 1 | 0; } } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $var8, $ptr); }, nms_BlockStairs_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $this.$modelBlock; $ptr = 1; case 1: var$6.$randomDisplayTick($par1World, $par2, $par3, $par4, $par5Random); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, var$6, $ptr); }, nms_BlockStairs_onBlockClicked = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer) => { let var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $this.$modelBlock; $ptr = 1; case 1: var$6.$onBlockClicked($par1World, $par2, $par3, $par4, $par5EntityPlayer); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, var$6, $ptr); }, nms_BlockStairs_onBlockDestroyedByPlayer = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $this.$modelBlock; $ptr = 1; case 1: var$6.$onBlockDestroyedByPlayer($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, $ptr); }, nms_BlockStairs_getMixedBrightnessForBlock = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return $this.$modelBlock.$getMixedBrightnessForBlock($par1IBlockAccess, $par2, $par3, $par4); }, nms_BlockStairs_getBlockBrightness = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return $this.$modelBlock.$getBlockBrightness($par1IBlockAccess, $par2, $par3, $par4); }, nms_BlockStairs_getExplosionResistance = ($this, $par1Entity) => { return $this.$modelBlock.$getExplosionResistance($par1Entity); }, nms_BlockStairs_getRenderBlockPass = $this => { return $this.$modelBlock.$getRenderBlockPass(); }, nms_BlockStairs_getIcon = ($this, $par1, $par2) => { return $this.$modelBlock.$getIcon($par1, $this.$modelBlockMetadata); }, nms_BlockStairs_getSelectedBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return $this.$modelBlock.$getSelectedBoundingBoxFromPool($par1World, $par2, $par3, $par4); }, nms_BlockStairs_velocityToAddToEntity = ($this, $par1World, $par2, $par3, $par4, $par5Entity, $par6Vec3) => { $this.$modelBlock.$velocityToAddToEntity($par1World, $par2, $par3, $par4, $par5Entity, $par6Vec3); }, nms_BlockStairs_isCollidable = $this => { return $this.$modelBlock.$isCollidable(); }, nms_BlockStairs_canCollideCheck = ($this, $par1, $par2) => { return $this.$modelBlock.$canCollideCheck($par1, $par2); }, nms_BlockStairs_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { return $this.$modelBlock.$canPlaceBlockAt($par1World, $par2, $par3, $par4); }, nms_BlockStairs_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$modelBlock; $ptr = 1; case 1: var$5.$onBlockAdded($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, $ptr); }, nms_BlockStairs_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $this.$modelBlock; $ptr = 1; case 1: var$7.$breakBlock($par1World, $par2, $par3, $par4, $par5, $par6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, var$7, $ptr); }, nms_BlockStairs_onEntityWalking = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { let var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$par5Entity = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $this.$modelBlock; $ptr = 1; case 1: var$6.$onEntityWalking($par1World, $par2, $par3, $par4, $par5Entity); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Entity, var$6, $ptr); }, nms_BlockStairs_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$10 = $this.$modelBlock; $par6 = 0; $par7 = 0.0; $par8 = 0.0; $par9 = 0.0; $ptr = 1; case 1: $tmp = var$10.$onBlockActivated($par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, var$10, $ptr); }, nms_BlockStairs_onBlockDestroyedByExplosion = ($this, $par1World, $par2, $par3, $par4, $par5Explosion) => { let var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$par5Explosion = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $this.$modelBlock; $ptr = 1; case 1: var$6.$onBlockDestroyedByExplosion($par1World, $par2, $par3, $par4, $par5Explosion); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Explosion, var$6, $ptr); }, nms_BlockStairs_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, $var8, $var7, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par5EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 0.5; $var8 = var$7 | 0; if (var$7 < $var8) $var8 = $var8 - 1 | 0; $var7 = $var8 & 3; $var8 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 4; if (!$var7) { var$10 = 2 | $var8; var$11 = 2; $ptr = 1; continue main; } if ($var7 == 1) { var$10 = 1 | $var8; var$11 = 2; $ptr = 2; continue main; } if ($var7 == 2) { var$10 = 3 | $var8; var$11 = 2; $ptr = 3; continue main; } if ($var7 != 3) return; $var7 = 0 | $var8; $var8 = 2; $ptr = 4; continue main; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$10, var$11); if ($rt_suspending()) { break main; } if ($var7 == 1) { var$10 = 1 | $var8; var$11 = 2; $ptr = 2; continue main; } if ($var7 == 2) { var$10 = 3 | $var8; var$11 = 2; $ptr = 3; continue main; } if ($var7 != 3) return; $var7 = 0 | $var8; $var8 = 2; $ptr = 4; continue main; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$10, var$11); if ($rt_suspending()) { break main; } if ($var7 == 2) { var$10 = 3 | $var8; var$11 = 2; $ptr = 3; continue main; } if ($var7 != 3) return; $var7 = 0 | $var8; $var8 = 2; $ptr = 4; continue main; case 3: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$10, var$11); if ($rt_suspending()) { break main; } if ($var7 != 3) return; $var7 = 0 | $var8; $var8 = 2; $ptr = 4; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, $var8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, $var8, $var7, var$10, var$11, $ptr); }, nms_BlockStairs_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { if (!($par5 && !($par5 != 1 && $par7 > 0.5))) $par9 = $par9 | 4; return $par9; }, nms_BlockStairs_collisionRayTrace = ($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3) => { let $var7, $var8, $var9, $var10, $var11, var$12, $var12, $var23, $var14, $var22, $var24, $var16, $var17, $var18, var$21, var$22, $var19, $var15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var15 = $thread.pop();$var19 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var24 = $thread.pop();$var22 = $thread.pop();$var14 = $thread.pop();$var23 = $thread.pop();$var12 = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$par6Vec3 = $thread.pop();$par5Vec3 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = $rt_createArray(nms_MovingObjectPosition, 8); $var8 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var9 = $var8 & 3; $var10 = ($var8 & 4) != 4 ? 0 : 1; $var11 = nms_BlockStairs_field_72159_a; $var8 = !$var10 ? 0 : 4; var$12 = $var7.data; $var11 = $var11.data[$var9 + $var8 | 0]; $this.$field_72156_cr = 1; $var12 = 0; if ($var12 >= 8) { $var7 = $var11.data; $var23 = $var7.length; $var14 = 0; while ($var14 < $var23) { var$12[$var7[$var14]] = null; $var14 = $var14 + 1 | 0; } $var22 = null; $var24 = 0.0; $var16 = var$12.length; $var17 = 0; while ($var17 < $var16) { $var18 = var$12[$var17]; if ($var18 !== null) { $par1World = $var18.$hitVec; var$21 = $par6Vec3.$xCoord - $par1World.$xCoord; var$22 = $par6Vec3.$yCoord - $par1World.$yCoord; $var19 = $par6Vec3.$zCoord - $par1World.$zCoord; $var19 = var$21 * var$21 + var$22 * var$22 + $var19 * $var19; if ($var19 > $var24) { $var22 = $var18; $var24 = $var19; } } $var17 = $var17 + 1 | 0; } return $var22; } $var7 = $var11.data; $this.$field_72160_cs = $var12; $var14 = $var7.length; $var15 = 0; while ($var15 < $var14) { $var15 = $var15 + 1 | 0; } $ptr = 1; case 1: $tmp = nms_Block_collisionRayTrace($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3); if ($rt_suspending()) { break main; } $var22 = $tmp; var$12[$var12] = $var22; $var12 = $var12 + 1 | 0; if ($var12 >= 8) { $var7 = $var11.data; $var23 = $var7.length; $var14 = 0; while ($var14 < $var23) { var$12[$var7[$var14]] = null; $var14 = $var14 + 1 | 0; } $var22 = null; $var24 = 0.0; $var16 = var$12.length; $var17 = 0; while ($var17 < $var16) { $var18 = var$12[$var17]; if ($var18 !== null) { $par1World = $var18.$hitVec; var$21 = $par6Vec3.$xCoord - $par1World.$xCoord; var$22 = $par6Vec3.$yCoord - $par1World.$yCoord; $var19 = $par6Vec3.$zCoord - $par1World.$zCoord; $var19 = var$21 * var$21 + var$22 * var$22 + $var19 * $var19; if ($var19 > $var24) { $var22 = $var18; $var24 = $var19; } } $var17 = $var17 + 1 | 0; } return $var22; } $var7 = $var11.data; $this.$field_72160_cs = $var12; $var14 = $var7.length; $var15 = 0; while ($var15 < $var14) { $var15 = $var15 + 1 | 0; } continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3, $var7, $var8, $var9, $var10, $var11, var$12, $var12, $var23, $var14, $var22, $var24, $var16, $var17, $var18, var$21, var$22, $var19, $var15, $ptr); }, nms_BlockStairs_registerIcons = ($this, $par1IconRegister) => { return; }, nms_BlockStairs__clinit_ = () => { let var$1, var$2; var$1 = $rt_createArray($rt_arraycls($rt_intcls), 8); var$2 = var$1.data; var$2[0] = $rt_createIntArrayFromData([2, 6]); var$2[1] = $rt_createIntArrayFromData([3, 7]); var$2[2] = $rt_createIntArrayFromData([2, 3]); var$2[3] = $rt_createIntArrayFromData([6, 7]); var$2[4] = $rt_createIntArrayFromData([0, 4]); var$2[5] = $rt_createIntArrayFromData([1, 5]); var$2[6] = $rt_createIntArrayFromData([0, 1]); var$2[7] = $rt_createIntArrayFromData([4, 5]); nms_BlockStairs_field_72159_a = var$1; }; function nms_BlockChest() { let a = this; nms_BlockContainer.call(a); a.$random2 = null; a.$chestType = 0; } let nms_BlockChest__init_0 = ($this, $par1, $par2) => { let var$3, var$4; nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_wood); $this.$isBlockContainer = 1; var$3 = new nle_EaglercraftRandom; var$4 = Long_fromNumber(performance.now() * 1000000.0); var$3.$seed = Long_fromInt(69); var$3.$haveNextNextGaussian = 0; var$3.$seed = var$4; $this.$random2 = var$3; $this.$chestType = $par2; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; $this.$minX0 = 0.0625; $this.$minY0 = 0.0; $this.$minZ0 = 0.0625; $this.$maxX0 = 0.9375; $this.$maxY0 = 0.875; $this.$maxZ0 = 0.9375; }, nms_BlockChest__init_ = (var_0, var_1) => { let var_2 = new nms_BlockChest(); nms_BlockChest__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockChest_isOpaqueCube = $this => { return 0; }, nms_BlockChest_renderAsNormalBlock = $this => { return 0; }, nms_BlockChest_getRenderType = $this => { return 22; }, nms_BlockChest_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { if ($par1IBlockAccess.$getBlockId($par2, $par3, $par4 - 1 | 0) == $this.$blockID) { $this.$minX0 = 0.0625; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.9375; $this.$maxY0 = 0.875; $this.$maxZ0 = 0.9375; } else if ($par1IBlockAccess.$getBlockId($par2, $par3, $par4 + 1 | 0) == $this.$blockID) { $this.$minX0 = 0.0625; $this.$minY0 = 0.0; $this.$minZ0 = 0.0625; $this.$maxX0 = 0.9375; $this.$maxY0 = 0.875; $this.$maxZ0 = 1.0; } else if ($par1IBlockAccess.$getBlockId($par2 - 1 | 0, $par3, $par4) == $this.$blockID) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0625; $this.$maxX0 = 0.9375; $this.$maxY0 = 0.875; $this.$maxZ0 = 0.9375; } else if ($par1IBlockAccess.$getBlockId($par2 + 1 | 0, $par3, $par4) != $this.$blockID) { $this.$minX0 = 0.0625; $this.$minY0 = 0.0; $this.$minZ0 = 0.0625; $this.$maxX0 = 0.9375; $this.$maxY0 = 0.875; $this.$maxZ0 = 0.9375; } else { $this.$minX0 = 0.0625; $this.$minY0 = 0.0; $this.$minZ0 = 0.0625; $this.$maxX0 = 1.0; $this.$maxY0 = 0.875; $this.$maxZ0 = 0.9375; } }, nms_BlockChest_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, $var5, var$7, $var6, var$9, $var7, var$11, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();var$11 = $thread.pop();$var7 = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockChest_unifyAdjacentChests($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$5 = $par4 - 1 | 0; $var5 = nms_World_getBlockId($par1World, $par2, $par3, var$5); var$7 = $par4 + 1 | 0; $var6 = nms_World_getBlockId($par1World, $par2, $par3, var$7); var$9 = $par2 - 1 | 0; $var7 = nms_World_getBlockId($par1World, var$9, $par3, $par4); var$11 = $par2 + 1 | 0; $var8 = nms_World_getBlockId($par1World, var$11, $par3, $par4); if ($var5 == $this.$blockID) { $ptr = 2; continue main; } if ($var6 == $this.$blockID) { $ptr = 3; continue main; } if ($var7 == $this.$blockID) { $ptr = 4; continue main; } if ($var8 != $this.$blockID) return; $ptr = 5; continue main; case 2: nms_BlockChest_unifyAdjacentChests($this, $par1World, $par2, $par3, var$5); if ($rt_suspending()) { break main; } if ($var6 == $this.$blockID) { $ptr = 3; continue main; } if ($var7 == $this.$blockID) { $ptr = 4; continue main; } if ($var8 != $this.$blockID) return; $ptr = 5; continue main; case 3: nms_BlockChest_unifyAdjacentChests($this, $par1World, $par2, $par3, var$7); if ($rt_suspending()) { break main; } if ($var7 == $this.$blockID) { $ptr = 4; continue main; } if ($var8 != $this.$blockID) return; $ptr = 5; continue main; case 4: nms_BlockChest_unifyAdjacentChests($this, $par1World, var$9, $par3, $par4); if ($rt_suspending()) { break main; } if ($var8 != $this.$blockID) return; $ptr = 5; case 5: nms_BlockChest_unifyAdjacentChests($this, $par1World, var$11, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, $var5, var$7, $var6, var$9, $var7, var$11, $var8, $ptr); }, nms_BlockChest_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, $var7, var$9, $var8, var$11, $var9, var$13, $var10, $var11, var$16, var$17, $var12, var$19, var$20, var$21, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var12 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$13 = $thread.pop();$var9 = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par4 - 1 | 0; $var7 = nms_World_getBlockId($par1World, $par2, $par3, var$7); var$9 = $par4 + 1 | 0; $var8 = nms_World_getBlockId($par1World, $par2, $par3, var$9); var$11 = $par2 - 1 | 0; $var9 = nms_World_getBlockId($par1World, var$11, $par3, $par4); var$13 = $par2 + 1 | 0; $var10 = nms_World_getBlockId($par1World, var$13, $par3, $par4); $var11 = 0; var$16 = $par5EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 0.5; var$17 = var$16 | 0; if (var$16 < var$17) var$17 = var$17 - 1 | 0; $var12 = var$17 & 3; if (!$var12) $var11 = 2; if ($var12 == 1) $var11 = 5; if ($var12 == 2) $var11 = 3; if ($var12 == 3) $var11 = 4; $var12 = $this.$blockID; $var7 = $rt_compare($var7, $var12); if ($var7 && $var8 != $var12 && $var9 != $var12 && $var10 != $var12) { var$7 = 3; $ptr = 3; continue main; } a: { if (!($var7 && $var8 != $var12)) { if ($var11 == 4) break a; if ($var11 == 5) break a; } b: { var$7 = $this.$blockID; $var7 = $rt_compare($var9, var$7); if (!($var7 && $var10 != var$7)) { if ($var11 == 2) break b; if ($var11 == 3) break b; } var$19 = $par6ItemStack.$stackTagCompound; if (var$19 === null) var$7 = 0; else { c: { var$19 = var$19.$tagMap; if (!$rt_s(1525).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$20 = var$19.$elementData.data; var$19 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$19 !== null) { if (var$19.$origKeyHash == var$9) { d: { var$21 = var$19.$key; if ($rt_s(1525) !== var$21) { if ($rt_s(1525) === var$21) var$7 = 1; else if (!(var$21 instanceof jl_String)) var$7 = 0; else { var$21 = var$21; var$7 = $rt_s(1525).$nativeString !== var$21.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break d; } } var$7 = 1; } if (var$7) break; } var$19 = var$19.$next3; } if (!(var$19 === null ? 0 : 1)) var$7 = 0; else { e: { var$19 = $par6ItemStack.$stackTagCompound; var$21 = var$19.$tagMap; if (!$rt_s(1525).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$20 = var$21.$elementData.data; var$21 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$21 !== null) { if (var$21.$origKeyHash == var$9) { f: { var$22 = var$21.$key; if ($rt_s(1525) !== var$22) { if ($rt_s(1525) === var$22) var$7 = 1; else if (!(var$22 instanceof jl_String)) var$7 = 0; else { var$22 = var$22; var$7 = $rt_s(1525).$nativeString !== var$22.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break f; } } var$7 = 1; } if (var$7) break; } var$21 = var$21.$next3; } if (!(var$21 === null ? 0 : 1)) { var$19 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$19.$name = $rt_s(1525); else var$19.$name = $rt_s(18); $par5EntityLivingBase = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); $par5EntityLivingBase.$elementCount = 0; var$20 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$23 = var$20.data; $par5EntityLivingBase.$elementData = var$20; $par5EntityLivingBase.$loadFactor = 0.75; $par5EntityLivingBase.$threshold = var$23.length * 0.75 | 0; var$19.$tagMap = $par5EntityLivingBase; } else { var$19 = var$19.$tagMap; if ($rt_s(1525) === null) { var$19 = var$19.$elementData.data[0]; while (var$19 !== null && var$19.$key !== null) { var$19 = var$19.$next3; } } else { g: { if (!$rt_s(1525).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1525).$nativeString.length) break g; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$20 = var$19.$elementData.data; var$19 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$19 !== null) { if (var$19.$origKeyHash == var$9) { h: { var$21 = var$19.$key; if ($rt_s(1525) !== var$21) { if ($rt_s(1525) === var$21) var$7 = 1; else if (!(var$21 instanceof jl_String)) var$7 = 0; else { var$21 = var$21; var$7 = $rt_s(1525).$nativeString !== var$21.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break h; } } var$7 = 1; } if (var$7) break; } var$19 = var$19.$next3; } } var$19 = var$19 === null ? null : var$19.$value1; } i: { $par5EntityLivingBase = var$19.$tagMap; if (!$rt_s(1526).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1526).$nativeString.length) break i; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } $var7 = $rt_s(1526).$hashCode1; var$20 = $par5EntityLivingBase.$elementData.data; var$22 = var$20[$var7 & (var$20.length - 1 | 0)]; while (var$22 !== null) { if (var$22.$origKeyHash == $var7) { j: { $par5EntityLivingBase = var$22.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) var$7 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) var$7 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; var$7 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break j; } } var$7 = 1; } if (var$7) break; } var$22 = var$22.$next3; } var$7 = var$22 === null ? 0 : 1; } } if (!var$7) return; $ptr = 8; continue main; } if ($var7) { var$7 = 3; $ptr = 5; continue main; } var$7 = 3; $ptr = 6; continue main; } if ($var7) { var$7 = 3; $ptr = 1; continue main; } $var7 = 3; $ptr = 2; continue main; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, var$9, $var11, var$7); if ($rt_suspending()) { break main; } var$7 = 3; $ptr = 4; continue main; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, var$7, $var11, $var7); if ($rt_suspending()) { break main; } var$7 = 3; $ptr = 4; continue main; case 3: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var11, var$7); if ($rt_suspending()) { break main; } var$19 = $par6ItemStack.$stackTagCompound; if (var$19 === null) var$7 = 0; else { k: { var$19 = var$19.$tagMap; if (!$rt_s(1525).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$20 = var$19.$elementData.data; var$19 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$19 !== null) { if (var$19.$origKeyHash == var$9) { l: { var$21 = var$19.$key; if ($rt_s(1525) !== var$21) { if ($rt_s(1525) === var$21) var$7 = 1; else if (!(var$21 instanceof jl_String)) var$7 = 0; else { var$21 = var$21; var$7 = $rt_s(1525).$nativeString !== var$21.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break l; } } var$7 = 1; } if (var$7) break; } var$19 = var$19.$next3; } if (!(var$19 === null ? 0 : 1)) var$7 = 0; else { m: { var$19 = $par6ItemStack.$stackTagCompound; var$21 = var$19.$tagMap; if (!$rt_s(1525).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$20 = var$21.$elementData.data; var$21 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$21 !== null) { if (var$21.$origKeyHash == var$9) { n: { var$22 = var$21.$key; if ($rt_s(1525) !== var$22) { if ($rt_s(1525) === var$22) var$7 = 1; else if (!(var$22 instanceof jl_String)) var$7 = 0; else { var$22 = var$22; var$7 = $rt_s(1525).$nativeString !== var$22.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break n; } } var$7 = 1; } if (var$7) break; } var$21 = var$21.$next3; } if (!(var$21 === null ? 0 : 1)) { var$19 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$19.$name = $rt_s(1525); else var$19.$name = $rt_s(18); $par5EntityLivingBase = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); $par5EntityLivingBase.$elementCount = 0; var$20 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$23 = var$20.data; $par5EntityLivingBase.$elementData = var$20; $par5EntityLivingBase.$loadFactor = 0.75; $par5EntityLivingBase.$threshold = var$23.length * 0.75 | 0; var$19.$tagMap = $par5EntityLivingBase; } else { var$19 = var$19.$tagMap; if ($rt_s(1525) === null) { var$19 = var$19.$elementData.data[0]; while (var$19 !== null && var$19.$key !== null) { var$19 = var$19.$next3; } } else { f: { if (!$rt_s(1525).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1525).$nativeString.length) break f; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$20 = var$19.$elementData.data; var$19 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$19 !== null) { if (var$19.$origKeyHash == var$9) { o: { var$21 = var$19.$key; if ($rt_s(1525) !== var$21) { if ($rt_s(1525) === var$21) var$7 = 1; else if (!(var$21 instanceof jl_String)) var$7 = 0; else { var$21 = var$21; var$7 = $rt_s(1525).$nativeString !== var$21.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break o; } } var$7 = 1; } if (var$7) break; } var$19 = var$19.$next3; } } var$19 = var$19 === null ? null : var$19.$value1; } p: { $par5EntityLivingBase = var$19.$tagMap; if (!$rt_s(1526).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1526).$nativeString.length) break p; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } $var7 = $rt_s(1526).$hashCode1; var$20 = $par5EntityLivingBase.$elementData.data; var$22 = var$20[$var7 & (var$20.length - 1 | 0)]; while (var$22 !== null) { if (var$22.$origKeyHash == $var7) { q: { $par5EntityLivingBase = var$22.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) var$7 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) var$7 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; var$7 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break q; } } var$7 = 1; } if (var$7) break; } var$22 = var$22.$next3; } var$7 = var$22 === null ? 0 : 1; } } if (!var$7) return; $ptr = 8; continue main; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var11, var$7); if ($rt_suspending()) { break main; } r: { var$7 = $this.$blockID; $var7 = $rt_compare($var9, var$7); if (!($var7 && $var10 != var$7)) { if ($var11 == 2) break r; if ($var11 == 3) break r; } var$19 = $par6ItemStack.$stackTagCompound; if (var$19 === null) var$7 = 0; else { s: { var$19 = var$19.$tagMap; if (!$rt_s(1525).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1525).$nativeString.length) break s; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$20 = var$19.$elementData.data; var$19 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$19 !== null) { if (var$19.$origKeyHash == var$9) { t: { var$21 = var$19.$key; if ($rt_s(1525) !== var$21) { if ($rt_s(1525) === var$21) var$7 = 1; else if (!(var$21 instanceof jl_String)) var$7 = 0; else { var$21 = var$21; var$7 = $rt_s(1525).$nativeString !== var$21.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break t; } } var$7 = 1; } if (var$7) break; } var$19 = var$19.$next3; } if (!(var$19 === null ? 0 : 1)) var$7 = 0; else { u: { var$19 = $par6ItemStack.$stackTagCompound; var$21 = var$19.$tagMap; if (!$rt_s(1525).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1525).$nativeString.length) break u; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$20 = var$21.$elementData.data; var$21 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$21 !== null) { if (var$21.$origKeyHash == var$9) { v: { var$22 = var$21.$key; if ($rt_s(1525) !== var$22) { if ($rt_s(1525) === var$22) var$7 = 1; else if (!(var$22 instanceof jl_String)) var$7 = 0; else { var$22 = var$22; var$7 = $rt_s(1525).$nativeString !== var$22.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break v; } } var$7 = 1; } if (var$7) break; } var$21 = var$21.$next3; } if (!(var$21 === null ? 0 : 1)) { var$19 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$19.$name = $rt_s(1525); else var$19.$name = $rt_s(18); $par5EntityLivingBase = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); $par5EntityLivingBase.$elementCount = 0; var$20 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$23 = var$20.data; $par5EntityLivingBase.$elementData = var$20; $par5EntityLivingBase.$loadFactor = 0.75; $par5EntityLivingBase.$threshold = var$23.length * 0.75 | 0; var$19.$tagMap = $par5EntityLivingBase; } else { var$19 = var$19.$tagMap; if ($rt_s(1525) === null) { var$19 = var$19.$elementData.data[0]; while (var$19 !== null && var$19.$key !== null) { var$19 = var$19.$next3; } } else { w: { if (!$rt_s(1525).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1525).$nativeString.length) break w; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$20 = var$19.$elementData.data; var$19 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$19 !== null) { if (var$19.$origKeyHash == var$9) { x: { var$21 = var$19.$key; if ($rt_s(1525) !== var$21) { if ($rt_s(1525) === var$21) var$7 = 1; else if (!(var$21 instanceof jl_String)) var$7 = 0; else { var$21 = var$21; var$7 = $rt_s(1525).$nativeString !== var$21.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break x; } } var$7 = 1; } if (var$7) break; } var$19 = var$19.$next3; } } var$19 = var$19 === null ? null : var$19.$value1; } g: { $par5EntityLivingBase = var$19.$tagMap; if (!$rt_s(1526).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } $var7 = $rt_s(1526).$hashCode1; var$20 = $par5EntityLivingBase.$elementData.data; var$22 = var$20[$var7 & (var$20.length - 1 | 0)]; while (var$22 !== null) { if (var$22.$origKeyHash == $var7) { h: { $par5EntityLivingBase = var$22.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) var$7 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) var$7 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; var$7 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break h; } } var$7 = 1; } if (var$7) break; } var$22 = var$22.$next3; } var$7 = var$22 === null ? 0 : 1; } } if (!var$7) return; $ptr = 8; continue main; } if ($var7) { var$7 = 3; $ptr = 5; continue main; } var$7 = 3; $ptr = 6; continue main; case 5: nms_World_setBlockMetadataWithNotify($par1World, var$13, $par3, $par4, $var11, var$7); if ($rt_suspending()) { break main; } var$7 = 3; $ptr = 7; continue main; case 6: nms_World_setBlockMetadataWithNotify($par1World, var$11, $par3, $par4, $var11, var$7); if ($rt_suspending()) { break main; } var$7 = 3; $ptr = 7; case 7: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var11, var$7); if ($rt_suspending()) { break main; } var$19 = $par6ItemStack.$stackTagCompound; if (var$19 === null) var$7 = 0; else { k: { var$19 = var$19.$tagMap; if (!$rt_s(1525).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$20 = var$19.$elementData.data; var$19 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$19 !== null) { if (var$19.$origKeyHash == var$9) { l: { var$21 = var$19.$key; if ($rt_s(1525) !== var$21) { if ($rt_s(1525) === var$21) var$7 = 1; else if (!(var$21 instanceof jl_String)) var$7 = 0; else { var$21 = var$21; var$7 = $rt_s(1525).$nativeString !== var$21.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break l; } } var$7 = 1; } if (var$7) break; } var$19 = var$19.$next3; } if (!(var$19 === null ? 0 : 1)) var$7 = 0; else { m: { var$19 = $par6ItemStack.$stackTagCompound; var$21 = var$19.$tagMap; if (!$rt_s(1525).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$20 = var$21.$elementData.data; var$21 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$21 !== null) { if (var$21.$origKeyHash == var$9) { n: { var$22 = var$21.$key; if ($rt_s(1525) !== var$22) { if ($rt_s(1525) === var$22) var$7 = 1; else if (!(var$22 instanceof jl_String)) var$7 = 0; else { var$22 = var$22; var$7 = $rt_s(1525).$nativeString !== var$22.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break n; } } var$7 = 1; } if (var$7) break; } var$21 = var$21.$next3; } if (!(var$21 === null ? 0 : 1)) { var$19 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$19.$name = $rt_s(1525); else var$19.$name = $rt_s(18); $par5EntityLivingBase = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); $par5EntityLivingBase.$elementCount = 0; var$20 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$23 = var$20.data; $par5EntityLivingBase.$elementData = var$20; $par5EntityLivingBase.$loadFactor = 0.75; $par5EntityLivingBase.$threshold = var$23.length * 0.75 | 0; var$19.$tagMap = $par5EntityLivingBase; } else { var$19 = var$19.$tagMap; if ($rt_s(1525) === null) { var$19 = var$19.$elementData.data[0]; while (var$19 !== null && var$19.$key !== null) { var$19 = var$19.$next3; } } else { f: { if (!$rt_s(1525).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1525).$nativeString.length) break f; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$20 = var$19.$elementData.data; var$19 = var$20[var$9 & (var$20.length - 1 | 0)]; while (var$19 !== null) { if (var$19.$origKeyHash == var$9) { o: { var$21 = var$19.$key; if ($rt_s(1525) !== var$21) { if ($rt_s(1525) === var$21) var$7 = 1; else if (!(var$21 instanceof jl_String)) var$7 = 0; else { var$21 = var$21; var$7 = $rt_s(1525).$nativeString !== var$21.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break o; } } var$7 = 1; } if (var$7) break; } var$19 = var$19.$next3; } } var$19 = var$19 === null ? null : var$19.$value1; } p: { $par5EntityLivingBase = var$19.$tagMap; if (!$rt_s(1526).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1526).$nativeString.length) break p; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } $var7 = $rt_s(1526).$hashCode1; var$20 = $par5EntityLivingBase.$elementData.data; var$22 = var$20[$var7 & (var$20.length - 1 | 0)]; while (var$22 !== null) { if (var$22.$origKeyHash == $var7) { q: { $par5EntityLivingBase = var$22.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) var$7 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) var$7 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; var$7 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break q; } } var$7 = 1; } if (var$7) break; } var$22 = var$22.$next3; } var$7 = var$22 === null ? 0 : 1; } } if (!var$7) return; $ptr = 8; case 8: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; $par1World = $par1World; nms_Item_$callClinit(); var$19 = nms_Item_itemsList.data[$par6ItemStack.$itemID].$getItemDisplayName($par6ItemStack); $par5EntityLivingBase = $par6ItemStack.$stackTagCompound; if ($par5EntityLivingBase !== null) { k: { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$20 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$20[$par4 & (var$20.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { l: { var$22 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$22) { if ($rt_s(1525) === var$22) $par2 = 1; else if (!(var$22 instanceof jl_String)) $par2 = 0; else { var$22 = var$22; $par2 = $rt_s(1525).$nativeString !== var$22.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break l; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if ($par5EntityLivingBase === null ? 0 : 1) { m: { $par6ItemStack = $par6ItemStack.$stackTagCompound; var$21 = $par6ItemStack.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$20 = var$21.$elementData.data; var$21 = var$20[$par4 & (var$20.length - 1 | 0)]; while (var$21 !== null) { if (var$21.$origKeyHash == $par4) { n: { var$22 = var$21.$key; if ($rt_s(1525) !== var$22) { if ($rt_s(1525) === var$22) $par2 = 1; else if (!(var$22 instanceof jl_String)) $par2 = 0; else { var$22 = var$22; $par2 = $rt_s(1525).$nativeString !== var$22.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break n; } } $par2 = 1; } if ($par2) break; } var$21 = var$21.$next3; } if (!(var$21 === null ? 0 : 1)) { var$21 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$21.$name = $rt_s(1525); else var$21.$name = $rt_s(18); $par5EntityLivingBase = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $par5EntityLivingBase.$elementCount = 0; var$20 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$23 = var$20.data; $par5EntityLivingBase.$elementData = var$20; $par5EntityLivingBase.$loadFactor = 0.75; $par5EntityLivingBase.$threshold = var$23.length * 0.75 | 0; var$21.$tagMap = $par5EntityLivingBase; } else { $par6ItemStack = $par6ItemStack.$tagMap; if ($rt_s(1525) === null) { $par6ItemStack = $par6ItemStack.$elementData.data[0]; while ($par6ItemStack !== null && $par6ItemStack.$key !== null) { $par6ItemStack = $par6ItemStack.$next3; } } else { f: { if (!$rt_s(1525).$hashCode1) { $par4 = 0; while (true) { if ($par4 >= $rt_s(1525).$nativeString.length) break f; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par4) | 0; $par4 = $par4 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$20 = $par6ItemStack.$elementData.data; $par6ItemStack = var$20[$par4 & (var$20.length - 1 | 0)]; while ($par6ItemStack !== null) { if ($par6ItemStack.$origKeyHash == $par4) { o: { var$21 = $par6ItemStack.$key; if ($rt_s(1525) !== var$21) { if ($rt_s(1525) === var$21) $par2 = 1; else if (!(var$21 instanceof jl_String)) $par2 = 0; else { var$21 = var$21; $par2 = $rt_s(1525).$nativeString !== var$21.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break o; } } $par2 = 1; } if ($par2) break; } $par6ItemStack = $par6ItemStack.$next3; } } var$21 = $par6ItemStack === null ? null : $par6ItemStack.$value1; } p: { $par5EntityLivingBase = var$21.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break p; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par3 = $rt_s(1526).$hashCode1; var$20 = $par5EntityLivingBase.$elementData.data; var$24 = var$20[$par3 & (var$20.length - 1 | 0)]; while (var$24 !== null) { if (var$24.$origKeyHash == $par3) { q: { $par5EntityLivingBase = var$24.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) $par2 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) $par2 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; $par2 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break q; } } $par2 = 1; } if ($par2) break; } var$24 = var$24.$next3; } if (var$24 === null ? 0 : 1) { y: { $par5EntityLivingBase = var$21.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break y; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par3 = $rt_s(1526).$hashCode1; var$20 = $par5EntityLivingBase.$elementData.data; var$22 = var$20[$par3 & (var$20.length - 1 | 0)]; while (var$22 !== null) { if (var$22.$origKeyHash == $par3) { z: { $par5EntityLivingBase = var$22.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) $par2 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) $par2 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; $par2 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break z; } } $par2 = 1; } if ($par2) break; } var$22 = var$22.$next3; } if (!(var$22 === null ? 0 : 1)) var$19 = $rt_s(18); else { $par5EntityLivingBase = var$21.$tagMap; if ($rt_s(1526) === null) { var$21 = $par5EntityLivingBase.$elementData.data[0]; while (var$21 !== null && var$21.$key !== null) { var$21 = var$21.$next3; } } else { ba: { if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break ba; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par3 = $rt_s(1526).$hashCode1; var$20 = $par5EntityLivingBase.$elementData.data; var$21 = var$20[$par3 & (var$20.length - 1 | 0)]; while (var$21 !== null) { if (var$21.$origKeyHash == $par3) { bb: { $par5EntityLivingBase = var$21.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) $par2 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) $par2 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; $par2 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break bb; } } $par2 = 1; } if ($par2) break; } var$21 = var$21.$next3; } } var$19 = (var$21 === null ? null : var$21.$value1).$data1; } } } } $par1World.$customName0 = var$19; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, $var7, var$9, $var8, var$11, $var9, var$13, $var10, $var11, var$16, var$17, $var12, var$19, var$20, var$21, var$22, var$23, var$24, $ptr); }, nms_BlockChest_unifyAdjacentChests = ($this, $par1World, $par2, $par3, $par4) => { let $var11, $var5, var$7, $var6, $var11_0, $var7, var$11, $var8, $var13, $var10, var$15, $var14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var14 = $thread.pop();var$15 = $thread.pop();$var10 = $thread.pop();$var13 = $thread.pop();$var8 = $thread.pop();var$11 = $thread.pop();$var7 = $thread.pop();$var11_0 = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var11 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $var11 = $par4 - 1 | 0; $var5 = nms_World_getBlockId($par1World, $par2, $par3, $var11); var$7 = $par4 + 1 | 0; $var6 = nms_World_getBlockId($par1World, $par2, $par3, var$7); $var11_0 = $par2 - 1 | 0; $var7 = nms_World_getBlockId($par1World, $var11_0, $par3, $par4); var$11 = $par2 + 1 | 0; $var8 = nms_World_getBlockId($par1World, var$11, $par3, $par4); $var13 = $this.$blockID; $var10 = $rt_compare($var5, $var13); if ($var10 && $var6 != $var13) { $var10 = $rt_compare($var7, $var13); if ($var10 && $var8 != $var13) { $var13 = 3; nms_Block_$callClinit(); var$15 = nms_Block_opaqueCubeLookup.data; if (var$15[$var5] && !var$15[$var6]) $var13 = 3; if (var$15[$var6] && !var$15[$var5]) $var13 = 2; if (var$15[$var7] && !var$15[$var8]) $var13 = 5; if (var$15[$var8] && !var$15[$var7]) $var13 = 4; } else { $var10 = nms_World_getBlockId($par1World, $var10 ? var$11 : $var11_0, $par3, $var11); $var11 = nms_World_getBlockId($par1World, $var7 != $this.$blockID ? var$11 : $var11_0, $par3, var$7); $var13 = 3; if (($var7 != $this.$blockID ? nms_World_getBlockMetadata($par1World, var$11, $par3, $par4) : nms_World_getBlockMetadata($par1World, $var11_0, $par3, $par4)) == 2) $var13 = 2; nms_Block_$callClinit(); var$15 = nms_Block_opaqueCubeLookup.data; if (!(!var$15[$var5] && !var$15[$var10]) && !var$15[$var6] && !var$15[$var11]) $var13 = 3; if (!(!var$15[$var6] && !var$15[$var11]) && !var$15[$var5] && !var$15[$var10]) $var13 = 2; } } else { $var10 = nms_World_getBlockId($par1World, $var11_0, $par3, $var10 ? var$7 : $var11); $var11_0 = nms_World_getBlockId($par1World, var$11, $par3, $var5 != $this.$blockID ? var$7 : $var11); $var13 = 5; if (($var5 != $this.$blockID ? nms_World_getBlockMetadata($par1World, $par2, $par3, var$7) : nms_World_getBlockMetadata($par1World, $par2, $par3, $var11)) == 4) $var13 = 4; nms_Block_$callClinit(); var$15 = nms_Block_opaqueCubeLookup.data; if (!(!var$15[$var7] && !var$15[$var10]) && !var$15[$var8] && !var$15[$var11_0]) $var13 = 5; if (!(!var$15[$var8] && !var$15[$var11_0]) && !var$15[$var7] && !var$15[$var10]) $var13 = 4; } $var14 = 3; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var13, $var14); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var11, $var5, var$7, $var6, $var11_0, $var7, var$11, $var8, $var13, $var10, var$15, $var14, $ptr); }, nms_BlockChest_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, var$9; $var5 = 0; var$6 = $par2 - 1 | 0; if (nms_World_getBlockId($par1World, var$6, $par3, $par4) == $this.$blockID) $var5 = 1; var$7 = $par2 + 1 | 0; if (nms_World_getBlockId($par1World, var$7, $par3, $par4) == $this.$blockID) $var5 = $var5 + 1 | 0; var$8 = $par4 - 1 | 0; if (nms_World_getBlockId($par1World, $par2, $par3, var$8) == $this.$blockID) $var5 = $var5 + 1 | 0; var$9 = $par4 + 1 | 0; if (nms_World_getBlockId($par1World, $par2, $par3, var$9) == $this.$blockID) $var5 = $var5 + 1 | 0; return $var5 > 1 ? 0 : nms_BlockChest_isThereANeighborChest($this, $par1World, var$6, $par3, $par4) ? 0 : nms_BlockChest_isThereANeighborChest($this, $par1World, var$7, $par3, $par4) ? 0 : nms_BlockChest_isThereANeighborChest($this, $par1World, $par2, $par3, var$8) ? 0 : nms_BlockChest_isThereANeighborChest($this, $par1World, $par2, $par3, var$9) ? 0 : 1; }, nms_BlockChest_isThereANeighborChest = ($this, $par1World, $par2, $par3, $par4) => { return nms_World_getBlockId($par1World, $par2, $par3, $par4) != $this.$blockID ? 0 : nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4) == $this.$blockID ? 1 : nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4) == $this.$blockID ? 1 : nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0) == $this.$blockID ? 1 : nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0) != $this.$blockID ? 0 : 1; }, nms_BlockChest_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; $var6 = $par1World; if ($var6 !== null) { $var6.$blockType = null; $var6.$blockMetadata = (-1); $var6.$adjacentChestChecked = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $ptr); }, nms_BlockChest_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var9, $var14, var$18, $var10, $var11, var$21, $var12, var$23, var$24, var$25, var$26, var$27, $var13, var$29, var$30, var$31, var$32, var$33, var$34, var$35, var$36, var$37, var$38, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$38 = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();$var13 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$var12 = $thread.pop();var$21 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$18 = $thread.pop();$var14 = $thread.pop();$var9 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var7 = $tmp; $var7 = $var7; if ($var7 === null) { $ptr = 2; continue main; } $var8 = 0; var$9 = 27; var$10 = 24; var$11 = 17; var$12 = $par2; var$13 = 138; var$14 = $par3; var$15 = $par4; while ($var8 < var$9) { $var9 = $var7.$chestContents.data[$var8]; if ($var9 !== null) { $var14 = $this.$random2; var$18 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$18; $var10 = Long_lo(Long_shru(var$18, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$18; $var11 = Long_lo(Long_shru(var$18, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$21 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; $var12 = Long_lo(Long_shru(var$21, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$23 = var$12 + $var10; var$24 = var$14 + $var11; var$25 = var$15 + $var12; $par6 = $var9.$stackSize; if ($par6 > 0) { $var14 = $this.$random2; var$21 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; var$26 = Long_lo(Long_shru(var$21, var$11)); while (true) { var$27 = var$26 % 21 | 0; if (((var$26 - var$27 | 0) + 20 | 0) >= 0) break; var$21 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; var$26 = Long_lo(Long_shru(var$21, var$11)); } $var13 = var$27 + 10 | 0; if ($var13 > $par6) $var13 = $par6; $var9.$stackSize = $par6 - $var13 | 0; $var14 = new nms_EntityItem; var$29 = new nms_ItemStack; var$30 = $var9.$itemID; $par6 = $var9.$itemDamage; nms_ItemStack_$callClinit(); var$29.$itemID = var$30; var$29.$stackSize = $var13; var$29.$itemDamage = $par6; if ($par6 < 0) var$29.$itemDamage = 0; $ptr = 4; continue main; } } $var8 = $var8 + 1 | 0; } $ptr = 3; continue main; case 2: nms_World_removeBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; case 3: nms_World_func_96440_m($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $ptr = 2; continue main; case 4: nms_EntityItem__init_($var14, $par1World, var$23, var$24, var$25); if ($rt_suspending()) { break main; } var$31 = $var14.$dataWatcher; var$32 = var$31.$watchedObjects; jl_Integer_ensureIntegerCache(); var$33 = jl_Integer_integerCache.data[var$13]; if (var$33 === null) { var$32 = var$32.$elementData.data[0]; while (var$32 !== null && var$32.$key !== null) { var$32 = var$32.$next3; } } else { var$30 = var$33.$value0; var$34 = var$32.$elementData.data; var$32 = var$34[var$30 & (var$34.length - 1 | 0)]; while (var$32 !== null) { if (var$32.$origKeyHash == var$30) { var$35 = var$32.$key; if (var$33 !== var$35 && !jl_Integer_equals(var$33, var$35) ? 0 : 1) break; } var$32 = var$32.$next3; } } var$35 = var$32 === null ? null : var$32.$value1; if (!(var$29 !== var$35.$watchedObject ? 0 : 1)) { var$35.$watchedObject = var$29; var$35.$watched = 1; var$31.$objectChanged = 1; } var$35 = $var14.$dataWatcher; var$29 = var$35.$watchedObjects; jl_Integer_ensureIntegerCache(); var$32 = jl_Integer_integerCache.data[var$13]; if (var$32 === null) { var$29 = var$29.$elementData.data[0]; while (var$29 !== null && var$29.$key !== null) { var$29 = var$29.$next3; } } else { var$30 = var$32.$value0; var$34 = var$29.$elementData.data; var$29 = var$34[var$30 & (var$34.length - 1 | 0)]; while (var$29 !== null) { if (var$29.$origKeyHash == var$30) { var$31 = var$29.$key; if (var$32 !== var$31 && !jl_Integer_equals(var$32, var$31) ? 0 : 1) break; } var$29 = var$29.$next3; } } (var$29 === null ? null : var$29.$value1).$watched = 1; var$35.$objectChanged = 1; $var14.$motionX = nle_EaglercraftRandom_nextGaussian($this.$random2) * 0.05000000074505806; $var14.$motionY = nle_EaglercraftRandom_nextGaussian($this.$random2) * 0.05000000074505806 + 0.20000000298023224; $var14.$motionZ = nle_EaglercraftRandom_nextGaussian($this.$random2) * 0.05000000074505806; if ($var9.$stackTagCompound === null ? 0 : 1) { var$32 = nms_EntityItem_getEntityItem($var14); var$36 = $var9.$stackTagCompound; var$35 = new nms_NBTTagCompound; var$29 = var$36.$name; if (var$29 === null) var$29 = $rt_s(18); var$35.$name = var$29; var$29 = new ju_HashMap; $par6 = ju_HashMap_calculateCapacity(16); var$29.$elementCount = 0; var$37 = $rt_createArray(ju_HashMap$HashEntry, $par6); var$34 = var$37.data; var$29.$elementData = var$37; var$29.$loadFactor = 0.75; var$29.$threshold = var$34.length * 0.75 | 0; var$35.$tagMap = var$29; var$29 = var$36.$tagMap; if (var$29.$cachedKeySet === null) { var$31 = new ju_HashMap$1; var$31.$this$0 = var$29; var$29.$cachedKeySet = var$31; } var$29 = var$29.$cachedKeySet.$iterator(); while (var$29.$hasNext()) { var$31 = var$29.$next(); var$33 = var$36.$tagMap; if (var$31 === null) { var$33 = var$33.$elementData.data[0]; while (var$33 !== null && var$33.$key !== null) { var$33 = var$33.$next3; } } else { a: { if (!var$31.$hashCode1) { $par6 = 0; while (true) { if ($par6 >= var$31.$nativeString.length) break a; var$31.$hashCode1 = (31 * var$31.$hashCode1 | 0) + var$31.$nativeString.charCodeAt($par6) | 0; $par6 = $par6 + 1 | 0; } } } var$30 = var$31.$hashCode1; var$34 = var$33.$elementData.data; var$33 = var$34[var$30 & (var$34.length - 1 | 0)]; while (var$33 !== null) { if (var$33.$origKeyHash == var$30) { b: { var$38 = var$33.$key; if (var$31 !== var$38) { if (var$31 === var$38) $par6 = 1; else if (!(var$38 instanceof jl_String)) $par6 = 0; else { var$38 = var$38; $par6 = var$31.$nativeString !== var$38.$nativeString ? 0 : 1; } if (!$par6) { $par6 = 0; break b; } } $par6 = 1; } if ($par6) break; } var$33 = var$33.$next3; } } var$33 = var$33 === null ? null : var$33.$value1; var$33 = var$33.$copy(); var$38 = var$35.$tagMap; if (var$31 !== null) var$33.$name = var$31; else var$33.$name = $rt_s(18); ju_HashMap_putImpl(var$38, var$31, var$33); } var$32.$stackTagCompound = var$35; } $par6 = nms_World_spawnEntityInWorld($par1World, $var14); var$32 = $par1World.$entityList; ju_HashMap_putImpl(var$32.$backingMap, $var14, var$32); if (!$par6) { var$32 = $par1World.$entitySpawnQueue; ju_HashMap_putImpl(var$32.$backingMap, $var14, var$32); } c: while (true) { $par6 = $var9.$stackSize; if ($par6 > 0) { $var14 = $this.$random2; var$21 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; var$26 = Long_lo(Long_shru(var$21, var$11)); while (true) { var$27 = var$26 % 21 | 0; if (((var$26 - var$27 | 0) + 20 | 0) >= 0) break; var$21 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; var$26 = Long_lo(Long_shru(var$21, var$11)); } $var13 = var$27 + 10 | 0; if ($var13 > $par6) $var13 = $par6; $var9.$stackSize = $par6 - $var13 | 0; $var14 = new nms_EntityItem; var$29 = new nms_ItemStack; var$30 = $var9.$itemID; $par6 = $var9.$itemDamage; nms_ItemStack_$callClinit(); var$29.$itemID = var$30; var$29.$stackSize = $var13; var$29.$itemDamage = $par6; if ($par6 < 0) var$29.$itemDamage = 0; continue main; } while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= var$9) break c; $var9 = $var7.$chestContents.data[$var8]; if ($var9 === null) continue; else break; } $var14 = $this.$random2; var$18 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$18; $var10 = Long_lo(Long_shru(var$18, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$18; $var11 = Long_lo(Long_shru(var$18, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$21 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; $var12 = Long_lo(Long_shru(var$21, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$23 = var$12 + $var10; var$24 = var$14 + $var11; var$25 = var$15 + $var12; } $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var9, $var14, var$18, $var10, $var11, var$21, $var12, var$23, var$24, var$25, var$26, var$27, $var13, var$29, var$30, var$31, var$32, var$33, var$34, var$35, var$36, var$37, var$38, $ptr); }, nms_BlockChest_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; $ptr = 1; case 1: $tmp = nms_BlockChest_getInventory($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var10 = $tmp; if ($var10 === null) return 1; var$11 = $par5EntityPlayer.$mc4; $par1World = new nms_GuiChest; $par5EntityPlayer = $par5EntityPlayer.$inventory; nms_GuiChest_$callClinit(); var$12 = new nms_ContainerChest; $ptr = 2; case 2: nms_ContainerChest__init_(var$12, $par5EntityPlayer, $var10); if ($rt_suspending()) { break main; } nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$13 = new ju_ArrayList; jl_Object__init_(var$13); var$13.$array = $rt_createArray(jl_Object, 10); $par1World.$buttonList = var$13; $par1World.$allowUserInput = 0; $par1World.$selectedButton = null; $par1World.$eventButton = 0; $par1World.$field_85043_c = Long_ZERO; $par1World.$field_92018_d = 0; $par1World.$xSize = 176; $par1World.$ySize = 166; var$14 = new ju_HashSet; var$13 = new ju_HashMap; jl_Object__init_(var$13); $par2 = ju_HashMap_calculateCapacity(16); var$13.$elementCount = 0; var$15 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$16 = var$15.data; var$13.$elementData = var$15; var$13.$loadFactor = 0.75; var$13.$threshold = var$16.length * 0.75 | 0; var$14.$backingMap = var$13; $par1World.$field_94077_p = var$14; $par1World.$inventorySlots0 = var$12; $par1World.$field_94068_E = 1; $par1World.$upperChestInventory = $par5EntityPlayer; $par1World.$lowerChestInventory = $var10; $par1World.$allowUserInput = 0; $par3 = $var10.$getSizeInventory() / 9 | 0; $par1World.$inventoryRows = $par3; $par1World.$ySize = 114 + ($par3 * 18 | 0) | 0; $ptr = 3; case 3: nms_Minecraft_displayGuiScreen(var$11, $par1World); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_BlockChest_getInventory = ($this, $par1World, $par2, $par3, $par4) => { let var$5, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$5 = $tmp; $var5 = var$5; if ($var5 === null) return null; var$7 = $par3 + 1 | 0; var$8 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$8]; if (var$5 === null) var$8 = 0; else { var$9 = var$5.$blockMaterial; var$8 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; var$8 = var$8 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (var$8) return null; $ptr = 2; case 2: $tmp = nms_BlockChest_isOcelotBlockingChest($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8) return null; var$10 = $par2 - 1 | 0; if (nms_World_getBlockId($par1World, var$10, $par3, $par4) == $this.$blockID) { var$8 = nms_World_getBlockId($par1World, var$10, var$7, $par4); var$5 = nms_Block_blocksList.data[var$8]; if (var$5 === null) var$8 = 0; else { var$9 = var$5.$blockMaterial; var$8 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; var$8 = var$8 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (var$8) return null; $ptr = 3; continue main; } var$11 = $par2 + 1 | 0; if (nms_World_getBlockId($par1World, var$11, $par3, $par4) == $this.$blockID) { var$8 = nms_World_getBlockId($par1World, var$11, var$7, $par4); var$5 = nms_Block_blocksList.data[var$8]; if (var$5 === null) var$8 = 0; else { var$9 = var$5.$blockMaterial; var$8 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; var$8 = var$8 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (var$8) return null; $ptr = 5; continue main; } var$12 = $par4 - 1 | 0; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, var$12); var$5 = nms_Block_blocksList.data[var$8]; if (var$5 === null) var$8 = 0; else { var$9 = var$5.$blockMaterial; var$8 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; var$8 = var$8 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (var$8) return null; $ptr = 6; continue main; } var$13 = $par4 + 1 | 0; if (nms_World_getBlockId($par1World, $par2, $par3, var$13) != $this.$blockID) { if (nms_World_getBlockId($par1World, var$10, $par3, $par4) == $this.$blockID) { var$5 = new nms_InventoryLargeChest; var$9 = $rt_s(3047); $ptr = 4; continue main; } var$5 = $var5; if (nms_World_getBlockId($par1World, var$11, $par3, $par4) == $this.$blockID) { var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 7; continue main; } var$9 = var$5; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) { var$5 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 9; continue main; } var$5 = var$9; if (nms_World_getBlockId($par1World, $par2, $par3, var$13) != $this.$blockID) { var$9 = var$5; return var$9; } var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 10; continue main; } var$8 = nms_World_getBlockId($par1World, $par2, var$7, var$13); var$5 = nms_Block_blocksList.data[var$8]; if (var$5 === null) var$8 = 0; else { var$9 = var$5.$blockMaterial; var$8 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; var$8 = var$8 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (var$8) return null; $ptr = 8; continue main; case 3: $tmp = nms_BlockChest_isOcelotBlockingChest($par1World, var$10, $par3, $par4); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8) return null; var$11 = $par2 + 1 | 0; if (nms_World_getBlockId($par1World, var$11, $par3, $par4) == $this.$blockID) { var$8 = nms_World_getBlockId($par1World, var$11, var$7, $par4); var$5 = nms_Block_blocksList.data[var$8]; if (var$5 === null) var$8 = 0; else { var$9 = var$5.$blockMaterial; var$8 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; var$8 = var$8 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (var$8) return null; $ptr = 5; continue main; } var$12 = $par4 - 1 | 0; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, var$12); var$5 = nms_Block_blocksList.data[var$8]; if (var$5 === null) var$8 = 0; else { var$9 = var$5.$blockMaterial; var$8 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; var$8 = var$8 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (var$8) return null; $ptr = 6; continue main; } var$13 = $par4 + 1 | 0; if (nms_World_getBlockId($par1World, $par2, $par3, var$13) != $this.$blockID) { if (nms_World_getBlockId($par1World, var$10, $par3, $par4) == $this.$blockID) { var$5 = new nms_InventoryLargeChest; var$9 = $rt_s(3047); $ptr = 4; continue main; } var$5 = $var5; if (nms_World_getBlockId($par1World, var$11, $par3, $par4) == $this.$blockID) { var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 7; continue main; } var$9 = var$5; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) { var$5 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 9; continue main; } var$5 = var$9; if (nms_World_getBlockId($par1World, $par2, $par3, var$13) != $this.$blockID) { var$9 = var$5; return var$9; } var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 10; continue main; } var$8 = nms_World_getBlockId($par1World, $par2, var$7, var$13); var$5 = nms_Block_blocksList.data[var$8]; if (var$5 === null) var$8 = 0; else { var$9 = var$5.$blockMaterial; var$8 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; var$8 = var$8 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (var$8) return null; $ptr = 8; continue main; case 4: $tmp = nms_World_getBlockTileEntity($par1World, var$10, $par3, $par4); if ($rt_suspending()) { break main; } var$14 = $tmp; var$14 = var$14; var$5.$name12 = var$9; if (var$14 === null) var$14 = $var5; var$5.$upperChest = var$14; var$5.$lowerChest = $var5; if (nms_World_getBlockId($par1World, var$11, $par3, $par4) == $this.$blockID) { var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 7; continue main; } var$9 = var$5; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) { var$5 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 9; continue main; } var$5 = var$9; if (nms_World_getBlockId($par1World, $par2, $par3, var$13) != $this.$blockID) { var$9 = var$5; return var$9; } var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 10; continue main; case 5: $tmp = nms_BlockChest_isOcelotBlockingChest($par1World, var$11, $par3, $par4); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8) return null; var$12 = $par4 - 1 | 0; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) { var$8 = nms_World_getBlockId($par1World, $par2, var$7, var$12); var$5 = nms_Block_blocksList.data[var$8]; if (var$5 === null) var$8 = 0; else { var$9 = var$5.$blockMaterial; var$8 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; var$8 = var$8 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (var$8) return null; $ptr = 6; continue main; } var$13 = $par4 + 1 | 0; if (nms_World_getBlockId($par1World, $par2, $par3, var$13) != $this.$blockID) { if (nms_World_getBlockId($par1World, var$10, $par3, $par4) == $this.$blockID) { var$5 = new nms_InventoryLargeChest; var$9 = $rt_s(3047); $ptr = 4; continue main; } var$5 = $var5; if (nms_World_getBlockId($par1World, var$11, $par3, $par4) == $this.$blockID) { var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 7; continue main; } var$9 = var$5; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) { var$5 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 9; continue main; } var$5 = var$9; if (nms_World_getBlockId($par1World, $par2, $par3, var$13) != $this.$blockID) { var$9 = var$5; return var$9; } var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 10; continue main; } var$8 = nms_World_getBlockId($par1World, $par2, var$7, var$13); var$5 = nms_Block_blocksList.data[var$8]; if (var$5 === null) var$8 = 0; else { var$9 = var$5.$blockMaterial; var$8 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; var$8 = var$8 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (var$8) return null; $ptr = 8; continue main; case 6: $tmp = nms_BlockChest_isOcelotBlockingChest($par1World, $par2, $par3, var$12); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8) return null; var$13 = $par4 + 1 | 0; if (nms_World_getBlockId($par1World, $par2, $par3, var$13) != $this.$blockID) { if (nms_World_getBlockId($par1World, var$10, $par3, $par4) == $this.$blockID) { var$5 = new nms_InventoryLargeChest; var$9 = $rt_s(3047); $ptr = 4; continue main; } var$5 = $var5; if (nms_World_getBlockId($par1World, var$11, $par3, $par4) == $this.$blockID) { var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 7; continue main; } var$9 = var$5; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) { var$5 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 9; continue main; } var$5 = var$9; if (nms_World_getBlockId($par1World, $par2, $par3, var$13) != $this.$blockID) { var$9 = var$5; return var$9; } var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 10; continue main; } var$8 = nms_World_getBlockId($par1World, $par2, var$7, var$13); var$5 = nms_Block_blocksList.data[var$8]; if (var$5 === null) var$8 = 0; else { var$9 = var$5.$blockMaterial; var$8 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; var$8 = var$8 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (var$8) return null; $ptr = 8; continue main; case 7: $tmp = nms_World_getBlockTileEntity($par1World, var$11, $par3, $par4); if ($rt_suspending()) { break main; } $var5 = $tmp; $var5 = $var5; var$9.$name12 = var$14; if ($var5 === null) $var5 = var$5; var$9.$upperChest = var$5; var$9.$lowerChest = $var5; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) { var$5 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 9; continue main; } var$5 = var$9; if (nms_World_getBlockId($par1World, $par2, $par3, var$13) != $this.$blockID) { var$9 = var$5; return var$9; } var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 10; continue main; case 8: $tmp = nms_BlockChest_isOcelotBlockingChest($par1World, $par2, $par3, var$13); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8) return null; if (nms_World_getBlockId($par1World, var$10, $par3, $par4) == $this.$blockID) { var$5 = new nms_InventoryLargeChest; var$9 = $rt_s(3047); $ptr = 4; continue main; } var$5 = $var5; if (nms_World_getBlockId($par1World, var$11, $par3, $par4) == $this.$blockID) { var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 7; continue main; } var$9 = var$5; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) { var$5 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 9; continue main; } var$5 = var$9; if (nms_World_getBlockId($par1World, $par2, $par3, var$13) != $this.$blockID) { var$9 = var$5; return var$9; } var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 10; continue main; case 9: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, var$12); if ($rt_suspending()) { break main; } $var5 = $tmp; $var5 = $var5; var$5.$name12 = var$14; if ($var5 === null) $var5 = var$9; var$5.$upperChest = $var5; var$5.$lowerChest = var$9; if (nms_World_getBlockId($par1World, $par2, $par3, var$13) != $this.$blockID) { var$9 = var$5; return var$9; } var$9 = new nms_InventoryLargeChest; var$14 = $rt_s(3047); $ptr = 10; case 10: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, var$13); if ($rt_suspending()) { break main; } $par1World = $tmp; $par1World = $par1World; var$9.$name12 = var$14; if ($par1World === null) $par1World = var$5; var$9.$upperChest = var$5; var$9.$lowerChest = $par1World; return var$9; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_BlockChest_createNewTileEntity = ($this, $par1World) => { let $var2; $var2 = new nms_TileEntityChest; nms_TileEntity_$callClinit(); $var2.$blockMetadata = (-1); $var2.$chestContents = $rt_createArray(nms_ItemStack, 36); $var2.$cachedChestType = (-1); return $var2; }, nms_BlockChest_canProvidePower = $this => { return $this.$chestType != 1 ? 0 : 1; }, nms_BlockChest_isProvidingWeakPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1IBlockAccess = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!($this.$chestType != 1 ? 0 : 1)) return 0; $ptr = 1; case 1: $tmp = $par1IBlockAccess.$getBlockTileEntity($par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1IBlockAccess = $tmp; $var6 = $par1IBlockAccess.$numUsingPlayers; $par2 = 0; if ($var6 >= $par2) $par2 = $var6 <= 15 ? $var6 : 15; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1IBlockAccess, $par2, $par3, $par4, $par5, $var6, $ptr); }, nms_BlockChest_isProvidingStrongPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1IBlockAccess = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par5 != 1) $par2 = 0; else { if ($this.$chestType != 1 ? 0 : 1) { $ptr = 1; continue main; } $par2 = 0; } return $par2; case 1: $tmp = $par1IBlockAccess.$getBlockTileEntity($par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1IBlockAccess = $tmp; $par3 = $par1IBlockAccess.$numUsingPlayers; $par2 = 0; if ($par3 >= $par2) $par2 = $par3 <= 15 ? $par3 : 15; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1IBlockAccess, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockChest_isOcelotBlockingChest = ($par0World, $par1, $par2, $par3) => { let $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var4$index, $var4$index_0, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();$var4$index_0 = $thread.pop();$var4$index = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$par0World = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $rt_cls(nms_EntityOcelot); var$6 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$7 = $par1; var$8 = $par2 + 1 | 0; var$9 = $par3; var$10 = $par1 + 1 | 0; var$11 = $par2 + 2 | 0; var$12 = $par3 + 1 | 0; $par1 = var$6.$nextPoolIndex; var$13 = var$6.$listAABB; $par3 = var$13.$size0; $par2 = $rt_compare($par1, $par3); if ($par2 >= 0) { var$14 = new nms_AxisAlignedBB; var$14.$minX = var$7; var$14.$minY = var$8; var$14.$minZ = var$9; var$14.$maxX = var$10; var$14.$maxY = var$11; var$14.$maxZ = var$12; ju_ArrayList_ensureCapacity(var$13, $par3 + 1 | 0); var$15 = var$13.$array.data; $par2 = var$13.$size0; var$13.$size0 = $par2 + 1 | 0; var$15[$par2] = var$14; var$13.$modCount = var$13.$modCount + 1 | 0; } else if ($par1 >= 0 && $par2 < 0) { var$14 = var$13.$array.data[$par1]; var$14.$minX = var$7; var$14.$minY = var$8; var$14.$minZ = var$9; var$14.$maxX = var$10; var$14.$maxY = var$11; var$14.$maxZ = var$12; } else { $par0World = new jl_IndexOutOfBoundsException; $par0World.$suppressionEnabled = 1; $par0World.$writableStackTrace = 1; $rt_throw($par0World); } var$6.$nextPoolIndex = var$6.$nextPoolIndex + 1 | 0; var$6 = null; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB($par0World, $var5, var$14, var$6); if ($rt_suspending()) { break main; } $par0World = $tmp; $var4$index = 0; $par2 = $par0World.$modCount; $par3 = $par0World.$size(); while (true) { if (!($var4$index >= $par3 ? 0 : 1)) return 0; if ($par2 < $par0World.$modCount) { $par0World = new ju_ConcurrentModificationException; $par0World.$suppressionEnabled = 1; $par0World.$writableStackTrace = 1; $rt_throw($par0World); } $var4$index_0 = $var4$index + 1 | 0; $var5 = ($par0World.$get($var4$index)).$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[144]; if (var$13 === null) { var$6 = $var5.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$18 = var$13.$value0; var$15 = $var5.$elementData.data; var$6 = var$15[var$18 & (var$15.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$18) { $var5 = var$6.$key; if (var$13 !== $var5 && !(var$13 === $var5 ? 1 : $var5 instanceof jl_Integer && $var5.$value0 == var$18 ? 1 : 0) ? 0 : 1) break; } var$6 = var$6.$next3; } } $var5 = var$6 === null ? null : var$6.$value1; if (!($var5.$watchedObject.$value2 & 1) ? 0 : 1) break; $var4$index = $var4$index_0; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0World, $par1, $par2, $par3, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var4$index, $var4$index_0, var$18, $ptr); }, nms_BlockChest_hasComparatorInputOverride = $this => { return 1; }, nms_BlockChest_getComparatorInputOverride = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockChest_getInventory($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; return nms_Container_calcRedstoneFromInventory($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockChest_registerIcons = ($this, $par1IconRegister) => { $this.$blockIcon = $par1IconRegister.$registerIcon($rt_s(2611), 1); }; function nms_BlockRedstoneWire() { let a = this; nms_Block.call(a); a.$wiresProvidePower = 0; a.$blocksNeedingUpdate = null; a.$field_94413_c = null; a.$field_94410_cO = null; a.$field_94411_cP = null; a.$field_94412_cQ = null; } let nms_BlockRedstoneWire__init_ = ($this, $par1) => { let var$2, var$3, var$4, var$5; nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); $this.$wiresProvidePower = 1; var$2 = new ju_HashSet; var$3 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$5 = var$4.data; var$3.$elementData = var$4; var$3.$loadFactor = 0.75; var$3.$threshold = var$5.length * 0.75 | 0; var$2.$backingMap = var$3; $this.$blocksNeedingUpdate = var$2; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.0625; $this.$maxZ0 = 1.0; }, nms_BlockRedstoneWire__init_0 = var_0 => { let var_1 = new nms_BlockRedstoneWire(); nms_BlockRedstoneWire__init_(var_1, var_0); return var_1; }, nms_BlockRedstoneWire_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockRedstoneWire_isOpaqueCube = $this => { return 0; }, nms_BlockRedstoneWire_renderAsNormalBlock = $this => { return 0; }, nms_BlockRedstoneWire_getRenderType = $this => { return 5; }, nms_BlockRedstoneWire_colorMultiplier = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return 8388608; }, nms_BlockRedstoneWire_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { $par3 = $par3 - 1 | 0; nms_Block_$callClinit(); return !nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)) && nms_World_getBlockId($par1World, $par2, $par3, $par4) != nms_Block_glowStone.$blockID ? 0 : 1; }, nms_BlockRedstoneWire_calculateCurrentChanges = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $var15, var$10, $var10, $var11, $var12, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$10 = $thread.pop();$var15 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var15 = 0; if (nms_World_getBlockId($par1World, $par5, $par6, $par7) == $this.$blockID) { var$10 = nms_World_getBlockMetadata($par1World, $par5, $par6, $par7); if (var$10 > $var15) $var15 = var$10; } $this.$wiresProvidePower = 0; $ptr = 1; case 1: $tmp = nms_World_getStrongestIndirectPower($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var10 = $tmp; $this.$wiresProvidePower = 1; if ($var10 > 0 && $var10 > ($var15 - 1 | 0)) $var15 = $var10; $var11 = 0; $var12 = 0; var$14 = $par2 - 1 | 0; var$15 = $par4 - 1 | 0; var$16 = $par3 + 1 | 0; var$17 = $rt_compare($par3, $par6); var$18 = $par3 - 1 | 0; while ($var12 < 4) { var$19 = !$var12 ? var$14 : $par2; if ($var12 == 1) var$19 = var$19 + 1 | 0; $par6 = $var12 == 2 ? var$15 : $par4; if ($var12 == 3) $par6 = $par6 + 1 | 0; var$10 = $rt_compare(var$19, $par5); if (!(!var$10 && $par6 == $par7) && nms_World_getBlockId($par1World, var$19, $par3, $par6) == $this.$blockID) { var$20 = nms_World_getBlockMetadata($par1World, var$19, $par3, $par6); if (var$20 > $var11) $var11 = var$20; } var$20 = nms_World_getBlockId($par1World, var$19, $par3, $par6); nms_Block_$callClinit(); var$21 = nms_Block_blocksList.data[var$20]; if (var$21 === null) var$20 = 0; else { var$22 = var$21.$blockMaterial; var$20 = !var$22.$isTranslucent ? var$22.$blocksMovement() : 0; var$20 = var$20 && var$21.$renderAsNormalBlock() && !var$21.$canProvidePower() ? 1 : 0; } a: { if (var$20) { var$20 = nms_World_getBlockId($par1World, $par2, var$16, $par4); var$21 = nms_Block_blocksList.data[var$20]; if (var$21 === null) var$20 = 0; else { var$22 = var$21.$blockMaterial; var$20 = !var$22.$isTranslucent ? var$22.$blocksMovement() : 0; var$20 = var$20 && var$21.$renderAsNormalBlock() && !var$21.$canProvidePower() ? 1 : 0; } if (!var$20) { if (!var$10 && $par6 == $par7) break a; if (var$17 < 0) break a; if (nms_World_getBlockId($par1World, var$19, var$16, $par6) == $this.$blockID) { $par6 = nms_World_getBlockMetadata($par1World, var$19, var$16, $par6); if ($par6 > $var11) $var11 = $par6; } break a; } } var$20 = nms_World_getBlockId($par1World, var$19, $par3, $par6); var$21 = nms_Block_blocksList.data[var$20]; if (var$21 === null) var$20 = 0; else { var$22 = var$21.$blockMaterial; var$20 = !var$22.$isTranslucent ? var$22.$blocksMovement() : 0; var$20 = var$20 && var$21.$renderAsNormalBlock() && !var$21.$canProvidePower() ? 1 : 0; } if (!var$20 && !(!var$10 && $par6 == $par7) && var$17 <= 0 && nms_World_getBlockId($par1World, var$19, var$18, $par6) == $this.$blockID) { $par6 = nms_World_getBlockMetadata($par1World, var$19, var$18, $par6); if ($par6 > $var11) $var11 = $par6; } } $var12 = $var12 + 1 | 0; } $par5 = $var11 > $var15 ? $var11 - 1 | 0 : $var15 <= 0 ? 0 : $var15 + (-1) | 0; if ($var10 <= ($par5 - 1 | 0)) $var10 = $par5; if ($var8 == $var10) return; $par5 = 2; $ptr = 2; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var10, $par5); if ($rt_suspending()) { break main; } var$21 = $this.$blocksNeedingUpdate; var$22 = new nms_ChunkPosition; var$22.$x0 = $par2; var$22.$y0 = $par3; var$22.$z0 = $par4; ju_HashMap_putImpl(var$21.$backingMap, var$22, var$21); var$21 = $this.$blocksNeedingUpdate; var$22 = new nms_ChunkPosition; var$22.$x0 = var$14; var$22.$y0 = $par3; var$22.$z0 = $par4; ju_HashMap_putImpl(var$21.$backingMap, var$22, var$21); $par1World = $this.$blocksNeedingUpdate; var$21 = new nms_ChunkPosition; var$21.$x0 = $par2 + 1 | 0; var$21.$y0 = $par3; var$21.$z0 = $par4; ju_HashMap_putImpl($par1World.$backingMap, var$21, $par1World); $par1World = $this.$blocksNeedingUpdate; var$21 = new nms_ChunkPosition; var$21.$x0 = $par2; var$21.$y0 = var$18; var$21.$z0 = $par4; ju_HashMap_putImpl($par1World.$backingMap, var$21, $par1World); $par1World = $this.$blocksNeedingUpdate; var$21 = new nms_ChunkPosition; var$21.$x0 = $par2; var$21.$y0 = var$16; var$21.$z0 = $par4; ju_HashMap_putImpl($par1World.$backingMap, var$21, $par1World); $par1World = $this.$blocksNeedingUpdate; var$21 = new nms_ChunkPosition; var$21.$x0 = $par2; var$21.$y0 = $par3; var$21.$z0 = var$15; ju_HashMap_putImpl($par1World.$backingMap, var$21, $par1World); $par1World = $this.$blocksNeedingUpdate; var$21 = new nms_ChunkPosition; $par4 = $par4 + 1 | 0; var$21.$x0 = $par2; var$21.$y0 = $par3; var$21.$z0 = $par4; ju_HashMap_putImpl($par1World.$backingMap, var$21, $par1World); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $var8, $var15, var$10, $var10, $var11, $var12, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr); }, nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$6 = $this.$blockID; if (var$5 == var$6) { var$7 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 1; continue main; } } var$9 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 2; continue main; } } var$10 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 3; continue main; } } var$11 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 6; continue main; } } var$14 = $this.$blockID; var$6 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 7; continue main; } } var$6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; var$5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 13; continue main; } } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } } return; case 1: var$8.$onNeighborBlockChange($par1World, var$7, $par3, $par4, var$6); if ($rt_suspending()) { break main; } var$9 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 2; continue main; } } var$10 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 3; continue main; } } var$11 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 6; continue main; } } var$14 = $this.$blockID; var$6 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 7; continue main; } } var$6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; var$5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 13; continue main; } } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 2: var$8.$onNeighborBlockChange($par1World, var$9, $par3, $par4, var$6); if ($rt_suspending()) { break main; } var$10 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 3; continue main; } } var$11 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 6; continue main; } } var$14 = $this.$blockID; var$6 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 7; continue main; } } var$6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; var$5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 13; continue main; } } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 3: var$8.$onNeighborBlockChange($par1World, $par2, var$10, $par4, var$6); if ($rt_suspending()) { break main; } var$11 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 6; continue main; } } var$14 = $this.$blockID; var$6 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 7; continue main; } } var$6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; var$5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 13; continue main; } } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 4: var$8.$onNeighborBlockChange($par1World, $par2, var$11, $par4, var$6); if ($rt_suspending()) { break main; } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 6; continue main; } } var$14 = $this.$blockID; var$6 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 7; continue main; } } var$6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; var$5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 13; continue main; } } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 5: var$8.$onNeighborBlockChange($par1World, $par2, $par3, var$12, var$6); if ($rt_suspending()) { break main; } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 6; continue main; } } var$14 = $this.$blockID; var$6 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 7; continue main; } } var$6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; var$5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 13; continue main; } } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 6: var$8.$onNeighborBlockChange($par1World, $par2, $par3, var$13, var$6); if ($rt_suspending()) { break main; } var$14 = $this.$blockID; var$6 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 7; continue main; } } var$6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; var$5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 13; continue main; } } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 7: var$8.$onNeighborBlockChange($par1World, var$6, $par3, $par4, var$14); if ($rt_suspending()) { break main; } var$6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; var$5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 13; continue main; } } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 8: var$8.$onNeighborBlockChange($par1World, var$6, $par3, $par4, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; var$5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 13; continue main; } } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 9: var$8.$onNeighborBlockChange($par1World, var$7, var$10, $par4, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; var$5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 13; continue main; } } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 10: var$8.$onNeighborBlockChange($par1World, var$7, var$11, $par4, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; var$5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 13; continue main; } } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 11: var$8.$onNeighborBlockChange($par1World, var$7, $par3, var$12, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; var$5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 13; continue main; } } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 12: var$8.$onNeighborBlockChange($par1World, var$7, $par3, var$13, var$14); if ($rt_suspending()) { break main; } var$14 = $this.$blockID; var$5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 13; continue main; } } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 13: var$8.$onNeighborBlockChange($par1World, var$5, $par3, $par4, var$14); if ($rt_suspending()) { break main; } var$5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$5, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 14: var$8.$onNeighborBlockChange($par1World, var$5, $par3, $par4, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 15: var$8.$onNeighborBlockChange($par1World, var$9, var$10, $par4, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 16: var$8.$onNeighborBlockChange($par1World, var$9, var$11, $par4, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 17: var$8.$onNeighborBlockChange($par1World, var$9, $par3, var$12, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 18: var$8.$onNeighborBlockChange($par1World, var$9, $par3, var$13, var$14); if ($rt_suspending()) { break main; } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 19: var$8.$onNeighborBlockChange($par1World, var$7, $par3, var$12, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 20: var$8.$onNeighborBlockChange($par1World, var$9, $par3, var$12, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 21: var$8.$onNeighborBlockChange($par1World, $par2, var$10, var$12, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 22; continue main; } } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 22: var$8.$onNeighborBlockChange($par1World, $par2, var$11, var$12, var$14); if ($rt_suspending()) { break main; } var$5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 23; continue main; } } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 23: var$8.$onNeighborBlockChange($par1World, $par2, $par3, var$5, var$14); if ($rt_suspending()) { break main; } var$5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 24; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 24: var$8.$onNeighborBlockChange($par1World, $par2, $par3, var$5, var$14); if ($rt_suspending()) { break main; } var$14 = $this.$blockID; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 25: var$8.$onNeighborBlockChange($par1World, var$7, $par3, var$13, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 26: var$8.$onNeighborBlockChange($par1World, var$9, $par3, var$13, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 27: var$8.$onNeighborBlockChange($par1World, $par2, var$10, var$13, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 28; continue main; } } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 28: var$8.$onNeighborBlockChange($par1World, $par2, var$11, var$13, var$14); if ($rt_suspending()) { break main; } var$5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 29; continue main; } } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 29: var$8.$onNeighborBlockChange($par1World, $par2, $par3, var$5, var$14); if ($rt_suspending()) { break main; } var$5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 30; continue main; } } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 30: var$8.$onNeighborBlockChange($par1World, $par2, $par3, var$5, var$14); if ($rt_suspending()) { break main; } var$6 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 31: var$8.$onNeighborBlockChange($par1World, var$7, var$10, $par4, var$6); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 32; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 32: var$8.$onNeighborBlockChange($par1World, var$9, var$10, $par4, var$6); if ($rt_suspending()) { break main; } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 33; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 33: var$8.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$6); if ($rt_suspending()) { break main; } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 34: var$8.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$6); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 35: var$8.$onNeighborBlockChange($par1World, $par2, var$10, var$12, var$6); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 36; continue main; } } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 36: var$8.$onNeighborBlockChange($par1World, $par2, var$10, var$13, var$6); if ($rt_suspending()) { break main; } var$5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 37: var$8.$onNeighborBlockChange($par1World, var$7, var$11, $par4, var$5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$11, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 38; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 38: var$8.$onNeighborBlockChange($par1World, var$9, var$11, $par4, var$5); if ($rt_suspending()) { break main; } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 39; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 39: var$8.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$5); if ($rt_suspending()) { break main; } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 40: var$8.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 41: var$8.$onNeighborBlockChange($par1World, $par2, var$11, var$12, var$5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par3]; if (var$8 !== null) { $ptr = 42; continue main; } } return; case 42: var$8.$onNeighborBlockChange($par1World, $par2, var$11, var$13, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_BlockRedstoneWire_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $ptr = 1; case 1: nms_BlockRedstoneWire_calculateCurrentChanges($this, $par1World, $par2, $par3, $par4, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$5 = $this.$blocksNeedingUpdate.$backingMap; var$6 = var$5.$elementCount; if (var$6 < 0) { $par1World = new jl_IllegalArgumentException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$7 = $rt_createArray(jl_Object, var$6); if (var$5.$cachedKeySet === null) { var$8 = new ju_HashMap$1; var$8.$this$0 = var$5; jl_Object__init_(var$8); var$5.$cachedKeySet = var$8; } var$7 = var$7.data; var$8 = var$5.$cachedKeySet.$iterator(); var$6 = 0; var$9 = var$7.length; while (var$6 < var$9) { var$7[var$6] = var$8.$next(); var$6 = var$6 + 1 | 0; } var$5 = $this.$blocksNeedingUpdate.$backingMap; if (var$5.$elementCount > 0) { var$5.$elementCount = 0; var$10 = var$5.$elementData.data; var$8 = null; var$6 = 0; var$11 = var$10.length; if (var$6 > var$11) { $par1World = new jl_IllegalArgumentException; jl_Throwable__init_($par1World); $rt_throw($par1World); } while (var$6 < var$11) { var$12 = var$6 + 1 | 0; var$10[var$6] = var$8; var$6 = var$12; } var$5.$modCount0 = var$5.$modCount0 + 1 | 0; } var$6 = 0; while (true) { var$11 = $rt_compare(var$6, var$9); if (var$11 >= 0) { var$13 = $par3 + 1 | 0; var$9 = $this.$blockID; var$11 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 2; continue main; } } var$12 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 3; continue main; } } var$6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 4; continue main; } } var$6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 6; continue main; } } var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 8; continue main; } } var$15 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 10; continue main; } } var$9 = $par3 - 1 | 0; var$16 = $this.$blockID; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; } if (var$6 < 0) break; if (var$11 >= 0) break; var$5 = var$7[var$6]; var$11 = var$5.$x0; var$12 = var$5.$y0; var$14 = var$5.$z0; var$15 = $this.$blockID; var$13 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 5; continue main; } } var$13 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 7; continue main; } } var$13 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 9; continue main; } } var$13 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 11; continue main; } } var$13 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$12, var$13); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 13; continue main; } } var$14 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$11, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$13]; if (var$5 !== null) { $ptr = 15; continue main; } } var$6 = var$6 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 2: var$5.$onNeighborBlockChange($par1World, var$11, var$13, $par4, var$9); if ($rt_suspending()) { break main; } var$12 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 3; continue main; } } var$6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 4; continue main; } } var$6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 6; continue main; } } var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 8; continue main; } } var$15 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 10; continue main; } } var$9 = $par3 - 1 | 0; var$16 = $this.$blockID; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; case 3: var$5.$onNeighborBlockChange($par1World, var$12, var$13, $par4, var$9); if ($rt_suspending()) { break main; } var$6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 4; continue main; } } var$6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 6; continue main; } } var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 8; continue main; } } var$15 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 10; continue main; } } var$9 = $par3 - 1 | 0; var$16 = $this.$blockID; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; case 4: var$5.$onNeighborBlockChange($par1World, $par2, var$6, $par4, var$9); if ($rt_suspending()) { break main; } var$6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 6; continue main; } } var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 8; continue main; } } var$15 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 10; continue main; } } var$9 = $par3 - 1 | 0; var$16 = $this.$blockID; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; case 5: var$5.$onNeighborBlockChange($par1World, var$13, var$12, var$14, var$15); if ($rt_suspending()) { break main; } while (true) { var$13 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 7; continue main; } } var$13 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 9; continue main; } } var$13 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 11; continue main; } } var$13 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$12, var$13); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 13; continue main; } } var$14 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$11, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$13]; if (var$5 !== null) { $ptr = 15; continue main; } } var$6 = var$6 + 1 | 0; var$11 = $rt_compare(var$6, var$9); if (var$11 >= 0) { var$13 = $par3 + 1 | 0; var$9 = $this.$blockID; var$11 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 2; continue main; } } var$12 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 3; continue main; } } var$6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 4; continue main; } } var$6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 6; continue main; } } var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 8; continue main; } } var$15 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 10; continue main; } } var$9 = $par3 - 1 | 0; var$16 = $this.$blockID; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; } if (var$6 < 0) break; if (var$11 >= 0) break; var$5 = var$7[var$6]; var$11 = var$5.$x0; var$12 = var$5.$y0; var$14 = var$5.$z0; var$15 = $this.$blockID; var$13 = var$11 - 1 | 0; if ($par1World.$isRemote) continue; var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 === null) continue; else { continue main; } } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 6: var$5.$onNeighborBlockChange($par1World, $par2, var$6, $par4, var$9); if ($rt_suspending()) { break main; } var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 8; continue main; } } var$15 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 10; continue main; } } var$9 = $par3 - 1 | 0; var$16 = $this.$blockID; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; case 7: var$5.$onNeighborBlockChange($par1World, var$13, var$12, var$14, var$15); if ($rt_suspending()) { break main; } while (true) { var$13 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 9; continue main; } } var$13 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 11; continue main; } } var$13 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$12, var$13); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 13; continue main; } } var$14 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$11, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$13]; if (var$5 !== null) { $ptr = 15; continue main; } } var$6 = var$6 + 1 | 0; var$11 = $rt_compare(var$6, var$9); if (var$11 >= 0) { var$13 = $par3 + 1 | 0; var$9 = $this.$blockID; var$11 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 2; continue main; } } var$12 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 3; continue main; } } var$6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 4; continue main; } } var$6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 6; continue main; } } var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 8; continue main; } } var$15 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 10; continue main; } } var$9 = $par3 - 1 | 0; var$16 = $this.$blockID; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; } if (var$6 < 0) break; if (var$11 >= 0) break; var$5 = var$7[var$6]; var$11 = var$5.$x0; var$12 = var$5.$y0; var$14 = var$5.$z0; var$15 = $this.$blockID; var$13 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 5; continue main; } } var$13 = var$11 + 1 | 0; if ($par1World.$isRemote) continue; var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 === null) continue; else { continue main; } } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 8: var$5.$onNeighborBlockChange($par1World, $par2, var$13, var$14, var$9); if ($rt_suspending()) { break main; } var$15 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 10; continue main; } } var$9 = $par3 - 1 | 0; var$16 = $this.$blockID; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; case 9: var$5.$onNeighborBlockChange($par1World, var$11, var$13, var$14, var$15); if ($rt_suspending()) { break main; } while (true) { var$13 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 11; continue main; } } var$13 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$12, var$13); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 13; continue main; } } var$14 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$11, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$13]; if (var$5 !== null) { $ptr = 15; continue main; } } var$6 = var$6 + 1 | 0; var$11 = $rt_compare(var$6, var$9); if (var$11 >= 0) { var$13 = $par3 + 1 | 0; var$9 = $this.$blockID; var$11 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 2; continue main; } } var$12 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 3; continue main; } } var$6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 4; continue main; } } var$6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 6; continue main; } } var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 8; continue main; } } var$15 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 10; continue main; } } var$9 = $par3 - 1 | 0; var$16 = $this.$blockID; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; } if (var$6 < 0) break; if (var$11 >= 0) break; var$5 = var$7[var$6]; var$11 = var$5.$x0; var$12 = var$5.$y0; var$14 = var$5.$z0; var$15 = $this.$blockID; var$13 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 5; continue main; } } var$13 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 7; continue main; } } var$13 = var$12 - 1 | 0; if ($par1World.$isRemote) continue; var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 === null) continue; else { continue main; } } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 10: var$5.$onNeighborBlockChange($par1World, $par2, var$13, var$15, var$9); if ($rt_suspending()) { break main; } var$9 = $par3 - 1 | 0; var$16 = $this.$blockID; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; case 11: var$5.$onNeighborBlockChange($par1World, var$11, var$13, var$14, var$15); if ($rt_suspending()) { break main; } while (true) { var$13 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$12, var$13); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 13; continue main; } } var$14 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$11, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$13]; if (var$5 !== null) { $ptr = 15; continue main; } } var$6 = var$6 + 1 | 0; var$11 = $rt_compare(var$6, var$9); if (var$11 >= 0) { var$13 = $par3 + 1 | 0; var$9 = $this.$blockID; var$11 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 2; continue main; } } var$12 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 3; continue main; } } var$6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 4; continue main; } } var$6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 6; continue main; } } var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 8; continue main; } } var$15 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 10; continue main; } } var$9 = $par3 - 1 | 0; var$16 = $this.$blockID; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; } if (var$6 < 0) break; if (var$11 >= 0) break; var$5 = var$7[var$6]; var$11 = var$5.$x0; var$12 = var$5.$y0; var$14 = var$5.$z0; var$15 = $this.$blockID; var$13 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 5; continue main; } } var$13 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 7; continue main; } } var$13 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 9; continue main; } } var$13 = var$12 + 1 | 0; if ($par1World.$isRemote) continue; var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 === null) continue; else { continue main; } } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 12: var$5.$onNeighborBlockChange($par1World, var$11, var$9, $par4, var$16); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; case 13: var$5.$onNeighborBlockChange($par1World, var$11, var$12, var$13, var$15); if ($rt_suspending()) { break main; } while (true) { var$14 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$11, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$13]; if (var$5 !== null) { $ptr = 15; continue main; } } var$6 = var$6 + 1 | 0; var$11 = $rt_compare(var$6, var$9); if (var$11 >= 0) { var$13 = $par3 + 1 | 0; var$9 = $this.$blockID; var$11 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 2; continue main; } } var$12 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 3; continue main; } } var$6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 4; continue main; } } var$6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 6; continue main; } } var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 8; continue main; } } var$15 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 10; continue main; } } var$9 = $par3 - 1 | 0; var$16 = $this.$blockID; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; } if (var$6 < 0) break; if (var$11 >= 0) break; var$5 = var$7[var$6]; var$11 = var$5.$x0; var$12 = var$5.$y0; var$14 = var$5.$z0; var$15 = $this.$blockID; var$13 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 5; continue main; } } var$13 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 7; continue main; } } var$13 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 9; continue main; } } var$13 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 11; continue main; } } var$13 = var$14 - 1 | 0; if ($par1World.$isRemote) continue; var$16 = nms_World_getBlockId($par1World, var$11, var$12, var$13); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 === null) continue; else { continue main; } } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 14: var$5.$onNeighborBlockChange($par1World, var$12, var$9, $par4, var$16); if ($rt_suspending()) { break main; } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; case 15: var$5.$onNeighborBlockChange($par1World, var$11, var$12, var$14, var$15); if ($rt_suspending()) { break main; } while (true) { var$6 = var$6 + 1 | 0; var$11 = $rt_compare(var$6, var$9); if (var$11 >= 0) { var$13 = $par3 + 1 | 0; var$9 = $this.$blockID; var$11 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 2; continue main; } } var$12 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$13, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 3; continue main; } } var$6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 4; continue main; } } var$6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$14]; if (var$5 !== null) { $ptr = 6; continue main; } } var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 8; continue main; } } var$15 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$13, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 10; continue main; } } var$9 = $par3 - 1 | 0; var$16 = $this.$blockID; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$11, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, var$12, var$9, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 14; continue main; } } var$6 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 16; continue main; } } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; } if (var$6 < 0) break; if (var$11 >= 0) break; var$5 = var$7[var$6]; var$11 = var$5.$x0; var$12 = var$5.$y0; var$14 = var$5.$z0; var$15 = $this.$blockID; var$13 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 5; continue main; } } var$13 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$13, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 7; continue main; } } var$13 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 9; continue main; } } var$13 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$13, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 11; continue main; } } var$13 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, var$11, var$12, var$13); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$16]; if (var$5 !== null) { $ptr = 13; continue main; } } var$14 = var$14 + 1 | 0; if ($par1World.$isRemote) continue; var$13 = nms_World_getBlockId($par1World, var$11, var$12, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$13]; if (var$5 === null) continue; else { continue main; } } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 16: var$5.$onNeighborBlockChange($par1World, $par2, var$6, $par4, var$16); if ($rt_suspending()) { break main; } var$6 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$17]; if (var$5 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; case 17: var$5.$onNeighborBlockChange($par1World, $par2, var$6, $par4, var$16); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$14); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; case 18: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, var$11, $par3, $par4); if ($rt_suspending()) { break main; } $ptr = 19; case 19: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, var$12, $par3, $par4); if ($rt_suspending()) { break main; } $ptr = 20; case 20: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, $par2, $par3, var$14); if ($rt_suspending()) { break main; } $ptr = 21; case 21: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, $par2, $par3, var$15); if ($rt_suspending()) { break main; } var$6 = nms_World_getBlockId($par1World, var$11, $par3, $par4); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 === null) var$6 = 0; else { var$8 = var$5.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (!var$6) { $ptr = 24; continue main; } $ptr = 25; continue main; case 22: var$5.$onNeighborBlockChange($par1World, $par2, var$9, var$14, var$16); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, var$9, var$15); nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 !== null) { $ptr = 23; continue main; } } $ptr = 18; continue main; case 23: var$5.$onNeighborBlockChange($par1World, $par2, var$9, var$15, var$16); if ($rt_suspending()) { break main; } $ptr = 18; continue main; case 24: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, var$11, var$9, $par4); if ($rt_suspending()) { break main; } var$6 = nms_World_getBlockId($par1World, var$12, $par3, $par4); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 === null) var$6 = 0; else { var$8 = var$5.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (!var$6) { $ptr = 26; continue main; } $ptr = 27; continue main; case 25: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, var$11, var$13, $par4); if ($rt_suspending()) { break main; } var$6 = nms_World_getBlockId($par1World, var$12, $par3, $par4); var$5 = nms_Block_blocksList.data[var$6]; if (var$5 === null) var$6 = 0; else { var$8 = var$5.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (!var$6) { $ptr = 26; continue main; } $ptr = 27; continue main; case 26: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, var$12, var$9, $par4); if ($rt_suspending()) { break main; } $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$14); var$5 = nms_Block_blocksList.data[$par4]; if (var$5 === null) $par4 = 0; else { var$8 = var$5.$blockMaterial; $par4 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par4 = $par4 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (!$par4) { $ptr = 28; continue main; } $ptr = 29; continue main; case 27: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, var$12, var$13, $par4); if ($rt_suspending()) { break main; } $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$14); var$5 = nms_Block_blocksList.data[$par4]; if (var$5 === null) $par4 = 0; else { var$8 = var$5.$blockMaterial; $par4 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par4 = $par4 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (!$par4) { $ptr = 28; continue main; } $ptr = 29; continue main; case 28: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, $par2, var$9, var$14); if ($rt_suspending()) { break main; } $par3 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$5 = nms_Block_blocksList.data[$par3]; if (var$5 === null) $par3 = 0; else { var$8 = var$5.$blockMaterial; $par3 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par3 = $par3 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (!$par3) { $ptr = 30; continue main; } $ptr = 31; continue main; case 29: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, $par2, var$13, var$14); if ($rt_suspending()) { break main; } $par3 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$5 = nms_Block_blocksList.data[$par3]; if (var$5 === null) $par3 = 0; else { var$8 = var$5.$blockMaterial; $par3 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; $par3 = $par3 && var$5.$renderAsNormalBlock() && !var$5.$canProvidePower() ? 1 : 0; } if (!$par3) { $ptr = 30; continue main; } $ptr = 31; continue main; case 30: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, $par2, var$9, var$15); if ($rt_suspending()) { break main; } return; case 31: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, $par2, var$13, var$15); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_BlockRedstoneWire_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par6 = $par1World.$isRemote; if ($par6) return; var$7 = $par3 + 1 | 0; var$8 = $this.$blockID; var$9 = $par2 - 1 | 0; if (!$par6) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 1; continue main; } } var$11 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 2; continue main; } } $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 3; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 6; continue main; } } var$14 = $par3 - 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 12; continue main; } } var$8 = $this.$blockID; $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 13; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 1: var$10.$onNeighborBlockChange($par1World, var$9, var$7, $par4, var$8); if ($rt_suspending()) { break main; } var$11 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 2; continue main; } } $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 3; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 6; continue main; } } var$14 = $par3 - 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 12; continue main; } } var$8 = $this.$blockID; $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 13; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 2: var$10.$onNeighborBlockChange($par1World, var$11, var$7, $par4, var$8); if ($rt_suspending()) { break main; } $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 3; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 6; continue main; } } var$14 = $par3 - 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 12; continue main; } } var$8 = $this.$blockID; $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 13; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 3: var$10.$onNeighborBlockChange($par1World, $par2, $par5, $par4, var$8); if ($rt_suspending()) { break main; } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 6; continue main; } } var$14 = $par3 - 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 12; continue main; } } var$8 = $this.$blockID; $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 13; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 4: var$10.$onNeighborBlockChange($par1World, $par2, $par5, $par4, var$8); if ($rt_suspending()) { break main; } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 6; continue main; } } var$14 = $par3 - 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 12; continue main; } } var$8 = $this.$blockID; $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 13; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 5: var$10.$onNeighborBlockChange($par1World, $par2, var$7, var$12, var$8); if ($rt_suspending()) { break main; } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 6; continue main; } } var$14 = $par3 - 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 12; continue main; } } var$8 = $this.$blockID; $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 13; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 6: var$10.$onNeighborBlockChange($par1World, $par2, var$7, var$13, var$8); if ($rt_suspending()) { break main; } var$14 = $par3 - 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 12; continue main; } } var$8 = $this.$blockID; $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 13; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 7: var$10.$onNeighborBlockChange($par1World, var$9, var$14, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 12; continue main; } } var$8 = $this.$blockID; $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 13; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 8: var$10.$onNeighborBlockChange($par1World, var$11, var$14, $par4, var$8); if ($rt_suspending()) { break main; } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 12; continue main; } } var$8 = $this.$blockID; $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 13; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 9: var$10.$onNeighborBlockChange($par1World, $par2, $par5, $par4, var$8); if ($rt_suspending()) { break main; } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 12; continue main; } } var$8 = $this.$blockID; $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 13; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 10: var$10.$onNeighborBlockChange($par1World, $par2, $par5, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 12; continue main; } } var$8 = $this.$blockID; $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 13; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 11: var$10.$onNeighborBlockChange($par1World, $par2, var$14, var$12, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 12; continue main; } } var$8 = $this.$blockID; $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 13; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 12: var$10.$onNeighborBlockChange($par1World, $par2, var$14, var$13, var$8); if ($rt_suspending()) { break main; } var$8 = $this.$blockID; $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 13; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 13: var$10.$onNeighborBlockChange($par1World, $par5, $par3, $par4, var$8); if ($rt_suspending()) { break main; } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 14: var$10.$onNeighborBlockChange($par1World, $par5, $par3, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 15: var$10.$onNeighborBlockChange($par1World, var$11, var$14, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 16: var$10.$onNeighborBlockChange($par1World, var$11, var$7, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 17: var$10.$onNeighborBlockChange($par1World, var$11, $par3, var$12, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 18: var$10.$onNeighborBlockChange($par1World, var$11, $par3, var$13, var$8); if ($rt_suspending()) { break main; } var$8 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 19; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 19: var$10.$onNeighborBlockChange($par1World, $par5, $par3, $par4, var$8); if ($rt_suspending()) { break main; } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 20: var$10.$onNeighborBlockChange($par1World, $par5, $par3, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$14, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 21: var$10.$onNeighborBlockChange($par1World, var$9, var$14, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$7, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 22: var$10.$onNeighborBlockChange($par1World, var$9, var$7, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 23: var$10.$onNeighborBlockChange($par1World, var$9, $par3, var$12, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 24: var$10.$onNeighborBlockChange($par1World, var$9, $par3, var$13, var$8); if ($rt_suspending()) { break main; } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 25: var$10.$onNeighborBlockChange($par1World, var$9, $par3, var$13, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 26: var$10.$onNeighborBlockChange($par1World, var$11, $par3, var$13, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 27: var$10.$onNeighborBlockChange($par1World, $par2, var$14, var$13, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 28; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 28: var$10.$onNeighborBlockChange($par1World, $par2, var$7, var$13, var$8); if ($rt_suspending()) { break main; } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 29: var$10.$onNeighborBlockChange($par1World, $par2, $par3, $par5, var$8); if ($rt_suspending()) { break main; } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 30: var$10.$onNeighborBlockChange($par1World, $par2, $par3, $par5, var$8); if ($rt_suspending()) { break main; } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 31: var$10.$onNeighborBlockChange($par1World, var$9, $par3, var$12, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$11, $par3, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 32: var$10.$onNeighborBlockChange($par1World, var$11, $par3, var$12, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$14, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 33: var$10.$onNeighborBlockChange($par1World, $par2, var$14, var$12, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 34; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 34: var$10.$onNeighborBlockChange($par1World, $par2, var$7, var$12, var$8); if ($rt_suspending()) { break main; } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 36; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; case 35: nms_BlockRedstoneWire_calculateCurrentChanges($this, $par1World, $par2, $par3, $par4, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$15 = $this.$blocksNeedingUpdate.$backingMap; $par5 = var$15.$elementCount; if ($par5 < 0) { $par1World = new jl_IllegalArgumentException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$16 = $rt_createArray(jl_Object, $par5); if (var$15.$cachedKeySet === null) { var$10 = new ju_HashMap$1; var$10.$this$0 = var$15; jl_Object__init_(var$10); var$15.$cachedKeySet = var$10; } var$17 = var$16.data; var$15 = var$15.$cachedKeySet.$iterator(); $par5 = 0; var$18 = var$17.length; while ($par5 < var$18) { var$17[$par5] = var$15.$next(); $par5 = $par5 + 1 | 0; } var$10 = $this.$blocksNeedingUpdate.$backingMap; if (var$10.$elementCount > 0) { var$10.$elementCount = 0; var$16 = var$10.$elementData.data; var$15 = null; $par5 = 0; $par6 = var$16.length; if ($par5 > $par6) { $par1World = new jl_IllegalArgumentException; jl_Throwable__init_($par1World); $rt_throw($par1World); } while ($par5 < $par6) { var$8 = $par5 + 1 | 0; var$16[$par5] = var$15; $par5 = var$8; } var$10.$modCount0 = var$10.$modCount0 + 1 | 0; } $par5 = 0; while (true) { $par6 = $rt_compare($par5, var$18); if ($par6 >= 0) { $ptr = 38; continue main; } if ($par5 < 0) break; if ($par6 >= 0) break; var$10 = var$17[$par5]; $par6 = var$10.$x0; var$8 = var$10.$y0; var$19 = var$10.$z0; var$20 = $this.$blockID; var$21 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 44; continue main; } } var$21 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 45; continue main; } } var$21 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 46; continue main; } } var$21 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 49; continue main; } } var$21 = var$19 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$8, var$21); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 50; continue main; } } var$22 = var$19 + 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par6, var$8, var$22); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$19]; if (var$10 !== null) { $ptr = 51; continue main; } } $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 36: var$10.$onNeighborBlockChange($par1World, $par2, $par3, $par5, var$8); if ($rt_suspending()) { break main; } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 37; continue main; } } $ptr = 35; continue main; case 37: var$10.$onNeighborBlockChange($par1World, $par2, $par3, $par5, var$8); if ($rt_suspending()) { break main; } $ptr = 35; continue main; case 38: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, var$9, $par3, $par4); if ($rt_suspending()) { break main; } $ptr = 39; case 39: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, var$11, $par3, $par4); if ($rt_suspending()) { break main; } $ptr = 40; case 40: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, $par2, $par3, var$12); if ($rt_suspending()) { break main; } $ptr = 41; case 41: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, $par2, $par3, var$13); if ($rt_suspending()) { break main; } $par5 = nms_World_getBlockId($par1World, var$9, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$15 = var$10.$blockMaterial; $par5 = !var$15.$isTranslucent ? var$15.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5) { $ptr = 42; continue main; } $ptr = 43; continue main; case 42: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, var$9, var$14, $par4); if ($rt_suspending()) { break main; } $par5 = nms_World_getBlockId($par1World, var$11, $par3, $par4); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$15 = var$10.$blockMaterial; $par5 = !var$15.$isTranslucent ? var$15.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5) { $ptr = 47; continue main; } $ptr = 48; continue main; case 43: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, var$9, var$7, $par4); if ($rt_suspending()) { break main; } $par5 = nms_World_getBlockId($par1World, var$11, $par3, $par4); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$15 = var$10.$blockMaterial; $par5 = !var$15.$isTranslucent ? var$15.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5) { $ptr = 47; continue main; } $ptr = 48; continue main; case 44: var$10.$onNeighborBlockChange($par1World, var$21, var$8, var$19, var$20); if ($rt_suspending()) { break main; } while (true) { var$21 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 45; continue main; } } var$21 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 46; continue main; } } var$21 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 49; continue main; } } var$21 = var$19 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$8, var$21); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 50; continue main; } } var$22 = var$19 + 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par6, var$8, var$22); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$19]; if (var$10 !== null) { $ptr = 51; continue main; } } $par5 = $par5 + 1 | 0; $par6 = $rt_compare($par5, var$18); if ($par6 >= 0) { $ptr = 38; continue main; } if ($par5 < 0) break; if ($par6 >= 0) break; var$10 = var$17[$par5]; $par6 = var$10.$x0; var$8 = var$10.$y0; var$19 = var$10.$z0; var$20 = $this.$blockID; var$21 = $par6 - 1 | 0; if ($par1World.$isRemote) continue; var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 === null) continue; else { continue main; } } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 45: var$10.$onNeighborBlockChange($par1World, var$21, var$8, var$19, var$20); if ($rt_suspending()) { break main; } while (true) { var$21 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 46; continue main; } } var$21 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 49; continue main; } } var$21 = var$19 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$8, var$21); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 50; continue main; } } var$22 = var$19 + 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par6, var$8, var$22); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$19]; if (var$10 !== null) { $ptr = 51; continue main; } } $par5 = $par5 + 1 | 0; $par6 = $rt_compare($par5, var$18); if ($par6 >= 0) { $ptr = 38; continue main; } if ($par5 < 0) break; if ($par6 >= 0) break; var$10 = var$17[$par5]; $par6 = var$10.$x0; var$8 = var$10.$y0; var$19 = var$10.$z0; var$20 = $this.$blockID; var$21 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 44; continue main; } } var$21 = $par6 + 1 | 0; if ($par1World.$isRemote) continue; var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 === null) continue; else { continue main; } } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 46: var$10.$onNeighborBlockChange($par1World, $par6, var$21, var$19, var$20); if ($rt_suspending()) { break main; } while (true) { var$21 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 49; continue main; } } var$21 = var$19 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$8, var$21); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 50; continue main; } } var$22 = var$19 + 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par6, var$8, var$22); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$19]; if (var$10 !== null) { $ptr = 51; continue main; } } $par5 = $par5 + 1 | 0; $par6 = $rt_compare($par5, var$18); if ($par6 >= 0) { $ptr = 38; continue main; } if ($par5 < 0) break; if ($par6 >= 0) break; var$10 = var$17[$par5]; $par6 = var$10.$x0; var$8 = var$10.$y0; var$19 = var$10.$z0; var$20 = $this.$blockID; var$21 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 44; continue main; } } var$21 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 45; continue main; } } var$21 = var$8 - 1 | 0; if ($par1World.$isRemote) continue; var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 === null) continue; else { continue main; } } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 47: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, var$11, var$14, $par4); if ($rt_suspending()) { break main; } $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$12); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 === null) $par4 = 0; else { var$15 = var$10.$blockMaterial; $par4 = !var$15.$isTranslucent ? var$15.$blocksMovement() : 0; $par4 = $par4 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par4) { $ptr = 52; continue main; } $ptr = 53; continue main; case 48: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, var$11, var$7, $par4); if ($rt_suspending()) { break main; } $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$12); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 === null) $par4 = 0; else { var$15 = var$10.$blockMaterial; $par4 = !var$15.$isTranslucent ? var$15.$blocksMovement() : 0; $par4 = $par4 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par4) { $ptr = 52; continue main; } $ptr = 53; continue main; case 49: var$10.$onNeighborBlockChange($par1World, $par6, var$21, var$19, var$20); if ($rt_suspending()) { break main; } while (true) { var$21 = var$19 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$8, var$21); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 50; continue main; } } var$22 = var$19 + 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par6, var$8, var$22); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$19]; if (var$10 !== null) { $ptr = 51; continue main; } } $par5 = $par5 + 1 | 0; $par6 = $rt_compare($par5, var$18); if ($par6 >= 0) { $ptr = 38; continue main; } if ($par5 < 0) break; if ($par6 >= 0) break; var$10 = var$17[$par5]; $par6 = var$10.$x0; var$8 = var$10.$y0; var$19 = var$10.$z0; var$20 = $this.$blockID; var$21 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 44; continue main; } } var$21 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 45; continue main; } } var$21 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 46; continue main; } } var$21 = var$8 + 1 | 0; if ($par1World.$isRemote) continue; var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 === null) continue; else { continue main; } } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 50: var$10.$onNeighborBlockChange($par1World, $par6, var$8, var$21, var$20); if ($rt_suspending()) { break main; } while (true) { var$22 = var$19 + 1 | 0; if (!$par1World.$isRemote) { var$19 = nms_World_getBlockId($par1World, $par6, var$8, var$22); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$19]; if (var$10 !== null) { $ptr = 51; continue main; } } $par5 = $par5 + 1 | 0; $par6 = $rt_compare($par5, var$18); if ($par6 >= 0) { $ptr = 38; continue main; } if ($par5 < 0) break; if ($par6 >= 0) break; var$10 = var$17[$par5]; $par6 = var$10.$x0; var$8 = var$10.$y0; var$19 = var$10.$z0; var$20 = $this.$blockID; var$21 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 44; continue main; } } var$21 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 45; continue main; } } var$21 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 46; continue main; } } var$21 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 49; continue main; } } var$21 = var$19 - 1 | 0; if ($par1World.$isRemote) continue; var$22 = nms_World_getBlockId($par1World, $par6, var$8, var$21); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 === null) continue; else { continue main; } } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 51: var$10.$onNeighborBlockChange($par1World, $par6, var$8, var$22, var$20); if ($rt_suspending()) { break main; } while (true) { $par5 = $par5 + 1 | 0; $par6 = $rt_compare($par5, var$18); if ($par6 >= 0) { $ptr = 38; continue main; } if ($par5 < 0) break; if ($par6 >= 0) break; var$10 = var$17[$par5]; $par6 = var$10.$x0; var$8 = var$10.$y0; var$19 = var$10.$z0; var$20 = $this.$blockID; var$21 = $par6 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 44; continue main; } } var$21 = $par6 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, var$21, var$8, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 45; continue main; } } var$21 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 46; continue main; } } var$21 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$21, var$19); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 49; continue main; } } var$21 = var$19 - 1 | 0; if (!$par1World.$isRemote) { var$22 = nms_World_getBlockId($par1World, $par6, var$8, var$21); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$22]; if (var$10 !== null) { $ptr = 50; continue main; } } var$22 = var$19 + 1 | 0; if ($par1World.$isRemote) continue; var$19 = nms_World_getBlockId($par1World, $par6, var$8, var$22); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[var$19]; if (var$10 === null) continue; else { continue main; } } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 52: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, $par2, var$14, var$12); if ($rt_suspending()) { break main; } $par3 = nms_World_getBlockId($par1World, $par2, $par3, var$13); var$15 = nms_Block_blocksList.data[$par3]; if (var$15 === null) $par3 = 0; else { var$10 = var$15.$blockMaterial; $par3 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par3 = $par3 && var$15.$renderAsNormalBlock() && !var$15.$canProvidePower() ? 1 : 0; } if (!$par3) { $ptr = 54; continue main; } $ptr = 55; continue main; case 53: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, $par2, var$7, var$12); if ($rt_suspending()) { break main; } $par3 = nms_World_getBlockId($par1World, $par2, $par3, var$13); var$15 = nms_Block_blocksList.data[$par3]; if (var$15 === null) $par3 = 0; else { var$10 = var$15.$blockMaterial; $par3 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par3 = $par3 && var$15.$renderAsNormalBlock() && !var$15.$canProvidePower() ? 1 : 0; } if (!$par3) { $ptr = 54; continue main; } $ptr = 55; continue main; case 54: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, $par2, var$14, var$13); if ($rt_suspending()) { break main; } return; case 55: nms_BlockRedstoneWire_notifyWireNeighborsOfNeighborChange($this, $par1World, $par2, var$7, var$13); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr); }, nms_BlockRedstoneWire_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $par5 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par5, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par5, $par4)) && nms_World_getBlockId($par1World, $par2, $par5, $par4) != nms_Block_glowStone.$blockID ? 0 : 1) { $ptr = 3; continue main; } $par5 = 0; $var6 = 0; var$7 = 1.0; $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, $var6); if ($rt_suspending()) { break main; } $par5 = 0; $var6 = 0; var$8 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var6, var$8); if ($rt_suspending()) { break main; } return; case 3: nms_BlockRedstoneWire_calculateCurrentChanges($this, $par1World, $par2, $par3, $par4, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$9 = $this.$blocksNeedingUpdate.$backingMap; $par2 = var$9.$elementCount; if ($par2 < 0) { $par1World = new jl_IllegalArgumentException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$10 = $rt_createArray(jl_Object, $par2); if (var$9.$cachedKeySet === null) { var$11 = new ju_HashMap$1; var$11.$this$0 = var$9; jl_Object__init_(var$11); var$9.$cachedKeySet = var$11; } var$10 = var$10.data; var$9 = var$9.$cachedKeySet.$iterator(); $par3 = 0; $par2 = var$10.length; while ($par3 < $par2) { var$10[$par3] = var$9.$next(); $par3 = $par3 + 1 | 0; } var$11 = $this.$blocksNeedingUpdate.$backingMap; if (var$11.$elementCount > 0) { var$11.$elementCount = 0; var$12 = var$11.$elementData.data; var$9 = null; $par3 = 0; $par4 = var$12.length; if ($par3 > $par4) { $par1World = new jl_IllegalArgumentException; jl_Throwable__init_($par1World); $rt_throw($par1World); } while ($par3 < $par4) { $par5 = $par3 + 1 | 0; var$12[$par3] = var$9; $par3 = $par5; } var$11.$modCount0 = var$11.$modCount0 + 1 | 0; } $par3 = 0; a: { while (true) { $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) break; if ($par3 < 0) break a; if ($par4 >= 0) break a; var$11 = var$10[$par3]; $par4 = var$11.$x0; $var6 = var$11.$y0; var$8 = var$11.$z0; var$13 = $this.$blockID; var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 4; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 5; continue main; } } $par5 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 6; continue main; } } $par5 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 7; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 8; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$8]; if (var$11 !== null) { $ptr = 9; continue main; } } $par3 = $par3 + 1 | 0; } return; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 4: var$11.$onNeighborBlockChange($par1World, var$14, $var6, var$8, var$13); if ($rt_suspending()) { break main; } b: { while (true) { var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 5; continue main; } } $par5 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 6; continue main; } } $par5 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 7; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 8; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$8]; if (var$11 !== null) { $ptr = 9; continue main; } } $par3 = $par3 + 1 | 0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) break; if ($par3 < 0) break b; if ($par4 >= 0) break b; var$11 = var$10[$par3]; $par4 = var$11.$x0; $var6 = var$11.$y0; var$8 = var$11.$z0; var$13 = $this.$blockID; var$14 = $par4 - 1 | 0; if ($par1World.$isRemote) continue; $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 === null) continue; else { continue main; } } return; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 5: var$11.$onNeighborBlockChange($par1World, var$14, $var6, var$8, var$13); if ($rt_suspending()) { break main; } b: { while (true) { $par5 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 6; continue main; } } $par5 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 7; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 8; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$8]; if (var$11 !== null) { $ptr = 9; continue main; } } $par3 = $par3 + 1 | 0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) break; if ($par3 < 0) break b; if ($par4 >= 0) break b; var$11 = var$10[$par3]; $par4 = var$11.$x0; $var6 = var$11.$y0; var$8 = var$11.$z0; var$13 = $this.$blockID; var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 4; continue main; } } var$14 = $par4 + 1 | 0; if ($par1World.$isRemote) continue; $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 === null) continue; else { continue main; } } return; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 6: var$11.$onNeighborBlockChange($par1World, $par4, $par5, var$8, var$13); if ($rt_suspending()) { break main; } b: { while (true) { $par5 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 7; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 8; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$8]; if (var$11 !== null) { $ptr = 9; continue main; } } $par3 = $par3 + 1 | 0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) break; if ($par3 < 0) break b; if ($par4 >= 0) break b; var$11 = var$10[$par3]; $par4 = var$11.$x0; $var6 = var$11.$y0; var$8 = var$11.$z0; var$13 = $this.$blockID; var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 4; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 5; continue main; } } $par5 = $var6 - 1 | 0; if ($par1World.$isRemote) continue; var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 === null) continue; else { continue main; } } return; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 7: var$11.$onNeighborBlockChange($par1World, $par4, $par5, var$8, var$13); if ($rt_suspending()) { break main; } b: { while (true) { $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 8; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$8]; if (var$11 !== null) { $ptr = 9; continue main; } } $par3 = $par3 + 1 | 0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) break; if ($par3 < 0) break b; if ($par4 >= 0) break b; var$11 = var$10[$par3]; $par4 = var$11.$x0; $var6 = var$11.$y0; var$8 = var$11.$z0; var$13 = $this.$blockID; var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 4; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 5; continue main; } } $par5 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 6; continue main; } } $par5 = $var6 + 1 | 0; if ($par1World.$isRemote) continue; var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 === null) continue; else { continue main; } } return; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 8: var$11.$onNeighborBlockChange($par1World, $par4, $var6, $par5, var$13); if ($rt_suspending()) { break main; } b: { while (true) { $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$8]; if (var$11 !== null) { $ptr = 9; continue main; } } $par3 = $par3 + 1 | 0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) break; if ($par3 < 0) break b; if ($par4 >= 0) break b; var$11 = var$10[$par3]; $par4 = var$11.$x0; $var6 = var$11.$y0; var$8 = var$11.$z0; var$13 = $this.$blockID; var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 4; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 5; continue main; } } $par5 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 6; continue main; } } $par5 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 7; continue main; } } $par5 = var$8 - 1 | 0; if ($par1World.$isRemote) continue; var$14 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 === null) continue; else { continue main; } } return; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 9: var$11.$onNeighborBlockChange($par1World, $par4, $var6, $par5, var$13); if ($rt_suspending()) { break main; } b: { while (true) { $par3 = $par3 + 1 | 0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) break; if ($par3 < 0) break b; if ($par4 >= 0) break b; var$11 = var$10[$par3]; $par4 = var$11.$x0; $var6 = var$11.$y0; var$8 = var$11.$z0; var$13 = $this.$blockID; var$14 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 4; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$14, $var6, var$8); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 5; continue main; } } $par5 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 6; continue main; } } $par5 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $par5, var$8); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 7; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$14]; if (var$11 !== null) { $ptr = 8; continue main; } } $par5 = var$8 + 1 | 0; if ($par1World.$isRemote) continue; var$8 = nms_World_getBlockId($par1World, $par4, $var6, $par5); var$11 = nms_Block_blocksList.data[var$8]; if (var$11 === null) continue; else { continue main; } } return; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_BlockRedstoneWire_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_redstone.$itemID0; }, nms_BlockRedstoneWire_isProvidingStrongPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return $this.$wiresProvidePower ? nms_BlockRedstoneWire_isProvidingWeakPower($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) : 0; }, nms_BlockRedstoneWire_isProvidingWeakPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6, var$7, var$8, var$9, var$10, $var7, var$12, $var8, var$14, $var9, var$16, $var10; if (!$this.$wiresProvidePower) return 0; $var6 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); if (!$var6) return 0; if ($par5 == 1) return $var6; var$7 = $par2 - 1 | 0; if (nms_BlockRedstoneWire_isPowerProviderOrWire($par1IBlockAccess, var$7, $par3, $par4, 1)) var$8 = 1; else { var$9 = $par1IBlockAccess.$getBlockId(var$7, $par3, $par4); nms_Block_$callClinit(); var$8 = var$9 != nms_Block_redstoneRepeaterActive.$blockID ? 0 : 1 != ($par1IBlockAccess.$getBlockMetadata(var$7, $par3, $par4) & 3) ? 0 : 1; } a: { b: { if (!var$8) { if ($par1IBlockAccess.$isBlockNormalCube(var$7, $par3, $par4)) break b; var$8 = $par3 - 1 | 0; if (nms_BlockRedstoneWire_isPowerProviderOrWire($par1IBlockAccess, var$7, var$8, $par4, (-1))) var$8 = 1; else { var$10 = $par1IBlockAccess.$getBlockId(var$7, var$8, $par4); nms_Block_$callClinit(); var$8 = var$10 != nms_Block_redstoneRepeaterActive.$blockID ? 0 : (-1) != ($par1IBlockAccess.$getBlockMetadata(var$7, var$8, $par4) & 3) ? 0 : 1; } if (!var$8) break b; } $var7 = 1; break a; } $var7 = 0; } var$12 = $par2 + 1 | 0; if (nms_BlockRedstoneWire_isPowerProviderOrWire($par1IBlockAccess, var$12, $par3, $par4, 3)) var$8 = 1; else { var$9 = $par1IBlockAccess.$getBlockId(var$12, $par3, $par4); nms_Block_$callClinit(); var$8 = var$9 == nms_Block_redstoneRepeaterActive.$blockID ? (3 != ($par1IBlockAccess.$getBlockMetadata(var$12, $par3, $par4) & 3) ? 0 : 1) : 0; } c: { d: { if (!var$8) { if (!$par1IBlockAccess.$isBlockNormalCube(var$12, $par3, $par4)) { var$8 = $par3 - 1 | 0; if (nms_BlockRedstoneWire_isPowerProviderOrWire($par1IBlockAccess, var$12, var$8, $par4, (-1))) var$8 = 1; else { var$10 = $par1IBlockAccess.$getBlockId(var$12, var$8, $par4); nms_Block_$callClinit(); var$8 = var$10 != nms_Block_redstoneRepeaterActive.$blockID ? 0 : (-1) != ($par1IBlockAccess.$getBlockMetadata(var$12, var$8, $par4) & 3) ? 0 : 1; } if (var$8) break d; } $var8 = 0; break c; } } $var8 = 1; } var$14 = $par4 - 1 | 0; if (!nms_BlockRedstoneWire_isPowerProviderOrWire($par1IBlockAccess, $par2, $par3, var$14, 2)) { var$8 = $par1IBlockAccess.$getBlockId($par2, $par3, var$14); nms_Block_$callClinit(); var$8 = var$8 == nms_Block_redstoneRepeaterActive.$blockID ? (2 != ($par1IBlockAccess.$getBlockMetadata($par2, $par3, var$14) & 3) ? 0 : 1) : 0; } else var$8 = 1; e: { f: { if (!var$8) { if ($par1IBlockAccess.$isBlockNormalCube($par2, $par3, var$14)) break f; var$10 = $par3 - 1 | 0; if (nms_BlockRedstoneWire_isPowerProviderOrWire($par1IBlockAccess, $par2, var$10, var$14, (-1))) var$8 = 1; else { var$8 = $par1IBlockAccess.$getBlockId($par2, var$10, var$14); nms_Block_$callClinit(); var$8 = var$8 != nms_Block_redstoneRepeaterActive.$blockID ? 0 : (-1) != ($par1IBlockAccess.$getBlockMetadata($par2, var$10, var$14) & 3) ? 0 : 1; } if (!var$8) break f; } $var9 = 1; break e; } $var9 = 0; } var$16 = $par4 + 1 | 0; if (nms_BlockRedstoneWire_isPowerProviderOrWire($par1IBlockAccess, $par2, $par3, var$16, 0)) var$8 = 1; else { var$8 = $par1IBlockAccess.$getBlockId($par2, $par3, var$16); nms_Block_$callClinit(); var$8 = var$8 != nms_Block_redstoneRepeaterActive.$blockID ? 0 : 0 != ($par1IBlockAccess.$getBlockMetadata($par2, $par3, var$16) & 3) ? 0 : 1; } g: { h: { if (!var$8) { if ($par1IBlockAccess.$isBlockNormalCube($par2, $par3, var$16)) break h; var$8 = $par3 - 1 | 0; if (nms_BlockRedstoneWire_isPowerProviderOrWire($par1IBlockAccess, $par2, var$8, var$16, (-1))) var$8 = 1; else { var$10 = $par1IBlockAccess.$getBlockId($par2, var$8, var$16); nms_Block_$callClinit(); var$8 = var$10 != nms_Block_redstoneRepeaterActive.$blockID ? 0 : (-1) != ($par1IBlockAccess.$getBlockMetadata($par2, var$8, var$16) & 3) ? 0 : 1; } if (!var$8) break h; } $var10 = 1; break g; } $var10 = 0; } var$8 = $par3 + 1 | 0; if (!$par1IBlockAccess.$isBlockNormalCube($par2, var$8, $par4)) { if ($par1IBlockAccess.$isBlockNormalCube(var$7, $par3, $par4)) { if (nms_BlockRedstoneWire_isPowerProviderOrWire($par1IBlockAccess, var$7, var$8, $par4, (-1))) var$9 = 1; else { var$10 = $par1IBlockAccess.$getBlockId(var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = var$10 != nms_Block_redstoneRepeaterActive.$blockID ? 0 : (-1) != ($par1IBlockAccess.$getBlockMetadata(var$7, var$8, $par4) & 3) ? 0 : 1; } if (var$9) $var7 = 1; } if ($par1IBlockAccess.$isBlockNormalCube(var$12, $par3, $par4)) { if (nms_BlockRedstoneWire_isPowerProviderOrWire($par1IBlockAccess, var$12, var$8, $par4, (-1))) $par4 = 1; else { var$10 = $par1IBlockAccess.$getBlockId(var$12, var$8, $par4); nms_Block_$callClinit(); $par4 = var$10 != nms_Block_redstoneRepeaterActive.$blockID ? 0 : (-1) != ($par1IBlockAccess.$getBlockMetadata(var$12, var$8, $par4) & 3) ? 0 : 1; } if ($par4) $var8 = 1; } if ($par1IBlockAccess.$isBlockNormalCube($par2, $par3, var$14)) { if (nms_BlockRedstoneWire_isPowerProviderOrWire($par1IBlockAccess, $par2, var$8, var$14, (-1))) $par4 = 1; else { var$9 = $par1IBlockAccess.$getBlockId($par2, var$8, var$14); nms_Block_$callClinit(); $par4 = var$9 != nms_Block_redstoneRepeaterActive.$blockID ? 0 : (-1) != ($par1IBlockAccess.$getBlockMetadata($par2, var$8, var$14) & 3) ? 0 : 1; } if ($par4) $var9 = 1; } if ($par1IBlockAccess.$isBlockNormalCube($par2, $par3, var$16)) { if (nms_BlockRedstoneWire_isPowerProviderOrWire($par1IBlockAccess, $par2, var$8, var$16, (-1))) $par2 = 1; else { $par4 = $par1IBlockAccess.$getBlockId($par2, var$8, var$16); nms_Block_$callClinit(); $par2 = $par4 != nms_Block_redstoneRepeaterActive.$blockID ? 0 : (-1) != ($par1IBlockAccess.$getBlockMetadata($par2, var$8, var$16) & 3) ? 0 : 1; } if ($par2) $var10 = 1; } } if (!(!$var9 && !$var8 && !$var7 && !$var10 && $par5 >= 2 && $par5 <= 5) && !($par5 == 2 && $var9 && !$var7 && !$var8) && !($par5 == 3 && $var10 && !$var7 && !$var8) && !($par5 == 4 && $var7 && !$var9 && !$var10) && !($par5 == 5 && $var8 && !$var9 && !$var10)) $var6 = 0; return $var6; }, nms_BlockRedstoneWire_canProvidePower = $this => { return $this.$wiresProvidePower; }, nms_BlockRedstoneWire_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let $var6, $var9, var$8, $var7, $var11, $var13, $var14, $var16, $var15, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var15 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var7 = $thread.pop();var$8 = $thread.pop();$var9 = $thread.pop();$var6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if ($var6 > 0) { $var9 = $par2 + 0.5; var$8 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$8; $var7 = $var9 + (Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 - 0.5) * 0.2; $var9 = $par3 + 0.0625; $var11 = $par4 + 0.5; var$8 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$8; $var11 = $var11 + (Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 - 0.5) * 0.2; $var13 = $var6 / 15.0; $var14 = $var13 * 0.6000000238418579 + 0.4000000059604645; if (!$var6) $var14 = 0.0; $var16 = $var13 * $var13; $var15 = $var16 * 0.699999988079071 - 0.5; $var16 = $var16 * 0.6000000238418579 - 0.699999988079071; if ($var15 < 0.0) $var15 = 0.0; if ($var16 < 0.0) $var16 = 0.0; $par5Random = $rt_s(1490); var$15 = $var14; var$16 = $var15; var$17 = $var16; $par2 = 0; var$18 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$18.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$18 = var$18.$array.data[$par2]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } return; case 1: nms_RenderGlobal_doSpawnParticle(var$18, $par5Random, $var7, $var9, $var11, var$15, var$16, var$17); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$18 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$18.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$18 = var$18.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, $var6, $var9, var$8, $var7, $var11, $var13, $var14, $var16, $var15, var$15, var$16, var$17, var$18, $ptr); }, nms_BlockRedstoneWire_isPowerProviderOrWire = ($par0IBlockAccess, $par1, $par2, $par3, $par4) => { let $var5; $var5 = $par0IBlockAccess.$getBlockId($par1, $par2, $par3); nms_Block_$callClinit(); if ($var5 == nms_Block_redstoneWire.$blockID) return 1; if (!$var5) return 0; if (!($var5 != nms_Block_redstoneRepeaterActive.$blockID && $var5 != nms_Block_redstoneRepeaterIdle.$blockID ? 0 : 1)) return nms_Block_blocksList.data[$var5].$canProvidePower() && $par4 != (-1) ? 1 : 0; $par1 = $par0IBlockAccess.$getBlockMetadata($par1, $par2, $par3) & 3; return $par4 != $par1 && $par4 != nms_Direction_rotateOpposite.data[$par1] ? 0 : 1; }, nms_BlockRedstoneWire_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Item_$callClinit(); return nms_Item_redstone.$itemID0; }, nms_BlockRedstoneWire_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3048)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$field_94413_c = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3049)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$field_94410_cO = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3050)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$field_94411_cP = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3051)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$field_94412_cQ = $par1IconRegister.$registerIcon(var$2, 1); $this.$blockIcon = $this.$field_94413_c; return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockRedstoneWire_getRedstoneWireIcon = $par0Str => { let var$2, var$3; if ($par0Str === $rt_s(1158)) var$2 = 1; else if (!($rt_s(1158) instanceof jl_String)) var$2 = 0; else { var$3 = $rt_s(1158); var$2 = $par0Str.$nativeString !== var$3.$nativeString ? 0 : 1; } if (var$2) { nms_Block_$callClinit(); $par0Str = nms_Block_redstoneWire.$field_94413_c; } else { if ($par0Str === $rt_s(1159)) var$2 = 1; else if (!($rt_s(1159) instanceof jl_String)) var$2 = 0; else { var$3 = $rt_s(1159); var$2 = $par0Str.$nativeString !== var$3.$nativeString ? 0 : 1; } if (var$2) { nms_Block_$callClinit(); $par0Str = nms_Block_redstoneWire.$field_94410_cO; } else { if ($par0Str === $rt_s(1160)) var$2 = 1; else if (!($rt_s(1160) instanceof jl_String)) var$2 = 0; else { var$3 = $rt_s(1160); var$2 = $par0Str.$nativeString !== var$3.$nativeString ? 0 : 1; } if (var$2) { nms_Block_$callClinit(); $par0Str = nms_Block_redstoneWire.$field_94411_cP; } else { if ($par0Str === $rt_s(1161)) var$2 = 1; else if (!($rt_s(1161) instanceof jl_String)) var$2 = 0; else { var$3 = $rt_s(1161); var$2 = $par0Str.$nativeString !== var$3.$nativeString ? 0 : 1; } if (!var$2) $par0Str = null; else { nms_Block_$callClinit(); $par0Str = nms_Block_redstoneWire.$field_94412_cQ; } } } } return $par0Str; }; function nms_BlockWorkbench() { let a = this; nms_Block.call(a); a.$workbenchIconTop = null; a.$workbenchIconFront = null; } let nms_BlockWorkbench__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_wood); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockWorkbench__init_0 = var_0 => { let var_1 = new nms_BlockWorkbench(); nms_BlockWorkbench__init_(var_1, var_0); return var_1; }, nms_BlockWorkbench_getIcon = ($this, $par1, $par2) => { let var$3; if ($par1 == 1) var$3 = $this.$workbenchIconTop; else if (!$par1) { nms_Block_$callClinit(); var$3 = nms_Block_planks.$getIcon($par1, 0); } else var$3 = $par1 != 2 && $par1 != 4 ? $this.$blockIcon : $this.$workbenchIconFront; return var$3; }, nms_BlockWorkbench_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2998)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2999)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$workbenchIconTop = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3052)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$workbenchIconFront = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockWorkbench_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; var$10 = $par5EntityPlayer.$mc4; $par1World = new nms_GuiCrafting; var$11 = $par5EntityPlayer.$inventory; var$12 = $par5EntityPlayer.$worldObj; nms_GuiCrafting_$callClinit(); $par5EntityPlayer = nms_ContainerWorkbench__init_(var$11, var$12, $par2, $par3, $par4); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$11 = new ju_ArrayList; jl_Object__init_(var$11); var$11.$array = $rt_createArray(jl_Object, 10); $par1World.$buttonList = var$11; $par1World.$allowUserInput = 0; $par1World.$selectedButton = null; $par1World.$eventButton = 0; $par1World.$field_85043_c = Long_ZERO; $par1World.$field_92018_d = 0; $par1World.$xSize = 176; $par1World.$ySize = 166; var$11 = new ju_HashSet; var$12 = new ju_HashMap; jl_Object__init_(var$12); $par2 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$14 = var$13.data; var$12.$elementData = var$13; var$12.$loadFactor = 0.75; var$12.$threshold = var$14.length * 0.75 | 0; var$11.$backingMap = var$12; $par1World.$field_94077_p = var$11; $par1World.$inventorySlots0 = $par5EntityPlayer; $par1World.$field_94068_E = 1; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$10, $par1World); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, var$10, var$11, var$12, var$13, var$14, $ptr); }; function nms_BlockCrops() { nms_BlockFlower.call(this); this.$iconArray12 = null; } let nms_BlockCrops__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_plants); $this.$needsRandomTick = 1; $this.$minX0 = 0.30000001192092896; $this.$minY0 = 0.0; $this.$minZ0 = 0.30000001192092896; $this.$maxX0 = 0.699999988079071; $this.$maxY0 = 0.6000000238418579; $this.$maxZ0 = 0.699999988079071; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; $this.$needsRandomTick = 1; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.25; $this.$maxZ0 = 1.0; $this.$displayOnCreativeTab = null; $this.$blockHardness = 0.0; if ($this.$blockResistance < 0.0) $this.$blockResistance = 0.0; $this.$stepSound = nms_Block_soundGrassFootstep; $this.$enableStats = 0; }, nms_BlockCrops__init_ = var_0 => { let var_1 = new nms_BlockCrops(); nms_BlockCrops__init_0(var_1, var_0); return var_1; }, nms_BlockCrops_canThisPlantGrowOnThisBlockID = ($this, $par1) => { nms_Block_$callClinit(); return $par1 != nms_Block_tilledField.$blockID ? 0 : 1; }, nms_BlockCrops_fertilize = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, $var5, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var5 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = $par1World.$rand0; var$7 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var5 = var$5 + (Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31)) + 2 | 0) | 0; if ($var5 > 7) $var5 = 7; var$9 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var5, var$9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, $var5, var$9, $ptr); }, nms_BlockCrops_getIcon = ($this, $par1, $par2) => { if (!($par2 >= 0 && $par2 <= 7)) $par2 = 7; return $this.$iconArray12.data[$par2]; }, nms_BlockCrops_getRenderType = $this => { return 6; }, nms_BlockCrops_getSeedItem = $this => { nms_Item_$callClinit(); return nms_Item_seeds.$itemID0; }, nms_BlockCrops_getCropItem = $this => { nms_Item_$callClinit(); return nms_Item_wheat.$itemID0; }, nms_BlockCrops_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, $var8, $var9, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$8 = 0; $ptr = 1; case 1: a: { nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, $par6, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote && $par5 >= 7) { $var8 = 3 + $par7 | 0; $var9 = 0; var$11 = 17; var$12 = 14; while (true) { if ($var9 >= $var8) break a; var$13 = $par1World.$rand0; var$14 = Long_and(Long_add(Long_mul(var$13.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$14; $par7 = Long_lo(Long_shru(var$14, var$11)); while (true) { var$8 = $par7 % 15 | 0; if ((($par7 - var$8 | 0) + var$12 | 0) >= 0) break; var$14 = Long_and(Long_add(Long_mul(var$13.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$14; $par7 = Long_lo(Long_shru(var$14, var$11)); } if (var$8 <= $par5) { var$13 = new nms_ItemStack; var$15 = $this.$getSeedItem(); nms_ItemStack_$callClinit(); var$13.$itemID = var$15; var$13.$stackSize = 1; var$13.$itemDamage = 0; $ptr = 2; continue main; } $var9 = $var9 + 1 | 0; } } } return; case 2: nms_Block_dropBlockAsItem_do($this, $par1World, $par2, $par3, $par4, var$13); if ($rt_suspending()) { break main; } while (true) { $var9 = $var9 + 1 | 0; if ($var9 >= $var8) break; var$13 = $par1World.$rand0; var$14 = Long_and(Long_add(Long_mul(var$13.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$14; $par7 = Long_lo(Long_shru(var$14, var$11)); while (true) { var$8 = $par7 % 15 | 0; if ((($par7 - var$8 | 0) + var$12 | 0) >= 0) break; var$14 = Long_and(Long_add(Long_mul(var$13.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$14; $par7 = Long_lo(Long_shru(var$14, var$11)); } if (var$8 > $par5) continue; else { var$13 = new nms_ItemStack; var$15 = $this.$getSeedItem(); nms_ItemStack_$callClinit(); var$13.$itemID = var$15; var$13.$stackSize = 1; var$13.$itemDamage = 0; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, var$8, $var8, $var9, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_BlockCrops_idDropped = ($this, $par1, $par2Random, $par3) => { return $par1 != 7 ? $this.$getSeedItem() : $this.$getCropItem(); }, nms_BlockCrops_quantityDropped = ($this, $par1Random) => { return 1; }, nms_BlockCrops_idPicked = ($this, $par1World, $par2, $par3, $par4) => { return $this.$getSeedItem(); }, nms_BlockCrops_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $this.$iconArray12 = $rt_createArray(nms_Icon, 8); $var2 = 0; a: { b: { while (true) { var$3 = $this.$iconArray12.data; if ($var2 >= var$3.length) break; var$4 = $this.$textureName; if (var$4 === null) { var$5 = $this.$blockID; var$4 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10); var$7 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$7, var$7 + 1 | 0); var$6.$buffer.data[var$7] = 95; var$5 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$5, var$4); var$4 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; var$7 = var$6.$length0; var$10 = var$9.length; if (var$7 < 0) break b; if (var$7 > (var$10 - 0 | 0)) break b; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$7); } var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, var$4); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3053)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $var2, 10); var$4 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; var$10 = var$6.$length0; var$5 = var$9.length; if (var$10 < 0) break a; if (var$10 > (var$5 - 0 | 0)) break a; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$10); var$3[$var2] = $par1IconRegister.$registerIcon(var$4, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }; function nms_BlockFarmland() { let a = this; nms_Block.call(a); a.$field_94441_a = null; a.$field_94440_b = null; } let nms_BlockFarmland__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_ground); $this.$needsRandomTick = 1; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.9375; $this.$maxZ0 = 1.0; nms_Block_lightOpacity.data[$this.$blockID] = 255; }, nms_BlockFarmland__init_ = var_0 => { let var_1 = new nms_BlockFarmland(); nms_BlockFarmland__init_0(var_1, var_0); return var_1; }, nms_BlockFarmland_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; var$5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$6 = $par2 + 0 | 0; var$7 = $par3 + 0 | 0; var$8 = $par4 + 0 | 0; var$9 = $par2 + 1 | 0; var$10 = $par3 + 1 | 0; var$11 = $par4 + 1 | 0; $par2 = var$5.$nextPoolIndex; $par1World = var$5.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$7; var$12.$minZ = var$8; var$12.$maxX = var$9; var$12.$maxY = var$10; var$12.$maxZ = var$11; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$13 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$13[$par3] = var$12; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$12 = $par1World.$array.data[$par2]; var$12.$minX = var$6; var$12.$minY = var$7; var$12.$minZ = var$8; var$12.$maxX = var$9; var$12.$maxY = var$10; var$12.$maxZ = var$11; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$5.$nextPoolIndex = var$5.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockFarmland_isOpaqueCube = $this => { return 0; }, nms_BlockFarmland_renderAsNormalBlock = $this => { return 0; }, nms_BlockFarmland_getIcon = ($this, $par1, $par2) => { let var$3; if ($par1 != 1) { nms_Block_$callClinit(); var$3 = nms_Block_dirt.$getIcon($par1, 0); } else var$3 = $par2 <= 0 ? $this.$field_94440_b : $this.$field_94441_a; return var$3; }, nms_BlockFarmland_onFallenUpon = ($this, $par1World, $par2, $par3, $par4, $par5Entity, $par6) => { let var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par6 = $thread.pop();$par5Entity = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1World.$isRemote) { var$7 = $par1World.$rand0; var$8 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$8; if (Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 < $par6 - 0.5) { if (!($par5Entity instanceof nms_EntityPlayer)) { a: { var$7 = $par1World.$worldInfo.$theGameRules0.$theGameRules.$root; var$9 = $rt_s(1854); $par5Entity = $rt_s(1854); if (var$9 !== $par5Entity) { var$10 = var$9.$nativeString.length; var$11 = $par5Entity.$nativeString.length; if (var$10 < var$11) var$11 = var$10; var$12 = 0; b: { while (true) { if (var$12 >= var$11) { var$9.$nativeString.length; $par5Entity.$nativeString.length; break a; } if (var$12 < 0) break b; if (var$12 >= var$9.$nativeString.length) break b; var$13 = var$9.$nativeString.charCodeAt(var$12); if (var$12 < 0) break; if (var$12 >= $par5Entity.$nativeString.length) break; if (var$13 - $par5Entity.$nativeString.charCodeAt(var$12) | 0) break a; var$12 = var$12 + 1 | 0; } $par1World = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1World); $rt_throw($par1World); } $par1World = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1World); $rt_throw($par1World); } } $par5Entity = $rt_s(1854); c: { d: { e: while (true) { if (var$7 === null) { var$7 = null; break c; } f: { var$9 = var$7.$key0; if ($par5Entity === var$9) var$12 = 0; else { var$10 = $par5Entity.$nativeString.length; var$11 = var$9.$nativeString.length; if (var$10 < var$11) var$11 = var$10; var$10 = 0; while (true) { if (var$10 >= var$11) { var$12 = $par5Entity.$nativeString.length - var$9.$nativeString.length | 0; break f; } if (var$10 < 0) break d; if (var$10 >= $par5Entity.$nativeString.length) break d; var$13 = $par5Entity.$nativeString.charCodeAt(var$10); if (var$10 < 0) break e; if (var$10 >= var$9.$nativeString.length) break e; var$12 = var$13 - var$9.$nativeString.charCodeAt(var$10) | 0; if (var$12) break; var$10 = var$10 + 1 | 0; } } } if (!var$12) break c; var$7 = var$12 >= 0 ? var$7.$right : var$7.$left; } $par1World = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1World); $rt_throw($par1World); } $par1World = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1World); $rt_throw($par1World); } $par5Entity = var$7 === null ? null : var$7.$value4; if (!($par5Entity === null ? 0 : $par5Entity.$valueBoolean)) return; } nms_Block_$callClinit(); var$12 = nms_Block_dirt.$blockID; var$10 = 0; var$13 = 3; $ptr = 1; continue main; } } return; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, var$12, var$10, var$13); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Entity, $par6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_BlockFarmland_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par5 = nms_World_getBlockId($par1World, $par2, $par3 + 1 | 0, $par4); if (!$par5) { nms_Material_$callClinit(); $var6 = nms_Material_air; } else { nms_Block_$callClinit(); $var6 = nms_Block_blocksList.data[$par5].$blockMaterial; } if (!$var6.$isSolid()) return; nms_Block_$callClinit(); $par5 = nms_Block_dirt.$blockID; var$7 = 0; var$8 = 3; $ptr = 1; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, var$7, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, var$7, var$8, $ptr); }, nms_BlockFarmland_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_dirt.$idDropped(0, $par2Random, $par3); }, nms_BlockFarmland_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Block_$callClinit(); return nms_Block_dirt.$blockID; }, nms_BlockFarmland_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3054)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$field_94441_a = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3055)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$field_94440_b = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }; function nms_BlockFurnace() { let a = this; nms_BlockContainer.call(a); a.$furnaceRand = null; a.$isActive = 0; a.$furnaceIconTop = null; a.$furnaceIconFront = null; } let nms_BlockFurnace_keepFurnaceInventory = 0, nms_BlockFurnace__init_0 = ($this, $par1, $par2) => { let var$3, var$4; nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); $this.$isBlockContainer = 1; var$3 = new nle_EaglercraftRandom; var$4 = Long_fromNumber(performance.now() * 1000000.0); var$3.$seed = Long_fromInt(69); var$3.$haveNextNextGaussian = 0; var$3.$seed = var$4; $this.$furnaceRand = var$3; $this.$isActive = $par2; }, nms_BlockFurnace__init_ = (var_0, var_1) => { let var_2 = new nms_BlockFurnace(); nms_BlockFurnace__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockFurnace_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_furnaceIdle.$blockID; }, nms_BlockFurnace_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockFurnace_setDefaultDirection($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $ptr); }, nms_BlockFurnace_setDefaultDirection = ($this, $par1World, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $var5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); $var6 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); $var7 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); $var8 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); $var9 = 3; nms_Block_$callClinit(); var$10 = nms_Block_opaqueCubeLookup.data; if (var$10[$var5] && !var$10[$var6]) $var9 = 3; if (var$10[$var6] && !var$10[$var5]) $var9 = 2; if (var$10[$var7] && !var$10[$var8]) $var9 = 5; if (var$10[$var8] && !var$10[$var7]) $var9 = 4; $var5 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var9, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, $var6, $var7, $var8, $var9, var$10, $ptr); }, nms_BlockFurnace_getIcon = ($this, $par1, $par2) => { return $par1 == 1 ? $this.$furnaceIconTop : !$par1 ? $this.$furnaceIconTop : $par1 == $par2 ? $this.$furnaceIconFront : $this.$blockIcon; }, nms_BlockFurnace_registerIcons = ($this, $par1IconRegister) => { $this.$blockIcon = $par1IconRegister.$registerIcon($rt_s(3013), 1); $this.$furnaceIconFront = $par1IconRegister.$registerIcon(!$this.$isActive ? $rt_s(3056) : $rt_s(3057), 1); $this.$furnaceIconTop = $par1IconRegister.$registerIcon($rt_s(3014), 1); }, nms_BlockFurnace_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let $var6, $var7, $var8, var$9, $var9, var$11, $var11, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();var$11 = $thread.pop();$var9 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($this.$isActive) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var7 = $par2 + 0.5; $var8 = $par3 + 0.0; var$9 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$9; $var8 = $var8 + Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 * 6.0 / 16.0; $var9 = $par4 + 0.5; var$11 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$11; $var11 = Long_lo(Long_shru(var$11, 24)) / 1.6777216E7 * 0.6000000238418579 - 0.30000001192092896; if ($var6 == 4) { $par5Random = $rt_s(1479); var$13 = $var7 - 0.5199999809265137; var$14 = $var8; var$15 = $var9 + $var11; var$16 = 0.0; var$17 = 0.0; var$18 = 0.0; $par2 = 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$16 = 0.0; var$17 = 0.0; var$18 = 0.0; $par2 = 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 >= 0) break a; if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($var6 == 5) { $par5Random = $rt_s(1479); var$13 = $var7 + 0.5199999809265137; var$14 = $var8; var$15 = $var9 + $var11; var$16 = 0.0; var$17 = 0.0; var$18 = 0.0; $par2 = 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; $ptr = 2; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$16 = 0.0; var$17 = 0.0; var$18 = 0.0; $par2 = 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 >= 0) break a; if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; $ptr = 6; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($var6 == 2) { $par5Random = $rt_s(1479); var$13 = $var7 + $var11; var$14 = $var8; var$15 = $var9 - 0.5199999809265137; var$16 = 0.0; var$17 = 0.0; var$18 = 0.0; $par2 = 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; $ptr = 3; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$16 = 0.0; var$17 = 0.0; var$18 = 0.0; $par2 = 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 >= 0) break a; if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($var6 == 3) { $par5Random = $rt_s(1479); var$16 = $var7 + $var11; var$17 = $var8; var$18 = $var9 + 0.5199999809265137; var$13 = 0.0; var$14 = 0.0; var$15 = 0.0; $par2 = 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$13 = 0.0; var$14 = 0.0; var$15 = 0.0; $par2 = 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; $ptr = 8; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } } } return; case 1: nms_RenderGlobal_doSpawnParticle(var$19, $par5Random, var$13, var$14, var$15, var$16, var$17, var$18); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$16 = 0.0; var$17 = 0.0; var$18 = 0.0; $par2 = 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 2: nms_RenderGlobal_doSpawnParticle(var$19, $par5Random, var$13, var$14, var$15, var$16, var$17, var$18); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$16 = 0.0; var$17 = 0.0; var$18 = 0.0; $par2 = 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; $ptr = 6; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 3: nms_RenderGlobal_doSpawnParticle(var$19, $par5Random, var$13, var$14, var$15, var$16, var$17, var$18); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$16 = 0.0; var$17 = 0.0; var$18 = 0.0; $par2 = 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; $ptr = 7; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 4: nms_RenderGlobal_doSpawnParticle(var$19, $par5Random, var$13, var$14, var$15, var$16, var$17, var$18); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 5: nms_RenderGlobal_doSpawnParticle(var$19, $par5Random, var$16, var$17, var$18, var$13, var$14, var$15); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1485); var$13 = 0.0; var$14 = 0.0; var$15 = 0.0; $par2 = 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; $ptr = 8; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 6: nms_RenderGlobal_doSpawnParticle(var$19, $par5Random, var$13, var$14, var$15, var$16, var$17, var$18); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 7: nms_RenderGlobal_doSpawnParticle(var$19, $par5Random, var$13, var$14, var$15, var$16, var$17, var$18); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 8: nms_RenderGlobal_doSpawnParticle(var$19, $par5Random, var$16, var$17, var$18, var$13, var$14, var$15); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$19 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$19.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$19 = var$19.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, $var6, $var7, $var8, var$9, $var9, var$11, $var11, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_BlockFurnace_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; $var10 = $par1World; if ($var10 === null) return 1; var$11 = $par5EntityPlayer.$mc4; $par1World = new nms_GuiFurnace; $par5EntityPlayer = $par5EntityPlayer.$inventory; nms_GuiFurnace_$callClinit(); var$12 = nms_ContainerFurnace__init_($par5EntityPlayer, $var10); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $par5EntityPlayer = new ju_ArrayList; jl_Object__init_($par5EntityPlayer); $par5EntityPlayer.$array = $rt_createArray(jl_Object, 10); $par1World.$buttonList = $par5EntityPlayer; $par1World.$allowUserInput = 0; $par1World.$selectedButton = null; $par1World.$eventButton = 0; $par1World.$field_85043_c = Long_ZERO; $par1World.$field_92018_d = 0; $par1World.$xSize = 176; $par1World.$ySize = 166; $par5EntityPlayer = new ju_HashSet; var$13 = new ju_HashMap; jl_Object__init_(var$13); $par2 = ju_HashMap_calculateCapacity(16); var$13.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$15 = var$14.data; var$13.$elementData = var$14; var$13.$loadFactor = 0.75; var$13.$threshold = var$15.length * 0.75 | 0; $par5EntityPlayer.$backingMap = var$13; $par1World.$field_94077_p = $par5EntityPlayer; $par1World.$inventorySlots0 = var$12; $par1World.$field_94068_E = 1; $par1World.$furnaceInventory = $var10; $ptr = 2; case 2: nms_Minecraft_displayGuiScreen(var$11, $par1World); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_BlockFurnace_updateFurnaceBlockState = ($par0, $par1World, $par2, $par3, $par4) => { let $var5, $var6, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$par0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var6 = $tmp; nms_BlockFurnace_keepFurnaceInventory = 1; if (!$par0) { nms_Block_$callClinit(); var$8 = nms_Block_furnaceIdle.$blockID; $par0 = 0; var$9 = 3; $ptr = 2; continue main; } nms_Block_$callClinit(); var$8 = nms_Block_furnaceBurning.$blockID; $par0 = 0; var$9 = 3; $ptr = 3; continue main; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$8, $par0, var$9); if ($rt_suspending()) { break main; } nms_BlockFurnace_keepFurnaceInventory = 0; $par0 = 2; $ptr = 4; continue main; case 3: nms_World_setBlock($par1World, $par2, $par3, $par4, var$8, $par0, var$9); if ($rt_suspending()) { break main; } nms_BlockFurnace_keepFurnaceInventory = 0; $par0 = 2; $ptr = 4; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var5, $par0); if ($rt_suspending()) { break main; } if ($var6 === null) return; $var6.$tileEntityInvalid = 0; $ptr = 5; case 5: nms_World_setBlockTileEntity($par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0, $par1World, $par2, $par3, $par4, $var5, $var6, var$8, var$9, $ptr); }, nms_BlockFurnace_createNewTileEntity = ($this, $par1World) => { $par1World = new nms_TileEntityFurnace; nms_TileEntity_$callClinit(); $par1World.$blockMetadata = (-1); $par1World.$furnaceItemStacks = $rt_createArray(nms_ItemStack, 3); return $par1World; }, nms_BlockFurnace_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, var$8, $var7, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var7 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par5EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 0.5; var$8 = var$7 | 0; if (var$7 < var$8) var$8 = var$8 - 1 | 0; $var7 = var$8 & 3; if (!$var7) { var$8 = 2; var$10 = 2; $ptr = 1; continue main; } if ($var7 == 1) { var$8 = 5; var$10 = 2; $ptr = 2; continue main; } if ($var7 == 2) { var$8 = 3; var$10 = 2; $ptr = 3; continue main; } if ($var7 == 3) { $var7 = 4; var$8 = 2; $ptr = 4; continue main; } $par5EntityLivingBase = $par6ItemStack.$stackTagCompound; if ($par5EntityLivingBase === null) $var7 = 0; else { a: { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$10 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$10) { b: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break b; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) $var7 = 0; else { c: { var$13 = $par6ItemStack.$stackTagCompound; $par5EntityLivingBase = var$13.$tagMap; if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$10 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$10) { d: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break d; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) { $par5EntityLivingBase = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par5EntityLivingBase.$name = $rt_s(1525); else $par5EntityLivingBase.$name = $rt_s(18); var$12 = new ju_HashMap; $var7 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, $var7); var$14 = var$11.data; var$12.$elementData = var$11; var$12.$loadFactor = 0.75; var$12.$threshold = var$14.length * 0.75 | 0; $par5EntityLivingBase.$tagMap = var$12; } else { $par5EntityLivingBase = var$13.$tagMap; if ($rt_s(1525) === null) { $par5EntityLivingBase = $par5EntityLivingBase.$elementData.data[0]; while ($par5EntityLivingBase !== null && $par5EntityLivingBase.$key !== null) { $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$8 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$8 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$8) { f: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break f; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } $par5EntityLivingBase = $par5EntityLivingBase === null ? null : $par5EntityLivingBase.$value1; } g: { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if (!$rt_s(1526).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$8 = $rt_s(1526).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; var$15 = var$11[var$8 & (var$11.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$8) { h: { $par5EntityLivingBase = var$15.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) $var7 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) $var7 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; $var7 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break h; } } $var7 = 1; } if ($var7) break; } var$15 = var$15.$next3; } $var7 = var$15 === null ? 0 : 1; } } if (!$var7) return; $ptr = 5; continue main; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$8, var$10); if ($rt_suspending()) { break main; } if ($var7 == 1) { var$8 = 5; var$10 = 2; $ptr = 2; continue main; } if ($var7 == 2) { var$8 = 3; var$10 = 2; $ptr = 3; continue main; } if ($var7 == 3) { $var7 = 4; var$8 = 2; $ptr = 4; continue main; } $par5EntityLivingBase = $par6ItemStack.$stackTagCompound; if ($par5EntityLivingBase === null) $var7 = 0; else { i: { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$10 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$10) { j: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break j; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) $var7 = 0; else { k: { var$13 = $par6ItemStack.$stackTagCompound; $par5EntityLivingBase = var$13.$tagMap; if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$10 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$10) { l: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break l; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) { $par5EntityLivingBase = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par5EntityLivingBase.$name = $rt_s(1525); else $par5EntityLivingBase.$name = $rt_s(18); var$12 = new ju_HashMap; $var7 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, $var7); var$14 = var$11.data; var$12.$elementData = var$11; var$12.$loadFactor = 0.75; var$12.$threshold = var$14.length * 0.75 | 0; $par5EntityLivingBase.$tagMap = var$12; } else { $par5EntityLivingBase = var$13.$tagMap; if ($rt_s(1525) === null) { $par5EntityLivingBase = $par5EntityLivingBase.$elementData.data[0]; while ($par5EntityLivingBase !== null && $par5EntityLivingBase.$key !== null) { $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } else { m: { if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$8 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$8 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$8) { n: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break n; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } $par5EntityLivingBase = $par5EntityLivingBase === null ? null : $par5EntityLivingBase.$value1; } o: { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if (!$rt_s(1526).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$8 = $rt_s(1526).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; var$15 = var$11[var$8 & (var$11.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$8) { p: { $par5EntityLivingBase = var$15.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) $var7 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) $var7 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; $var7 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break p; } } $var7 = 1; } if ($var7) break; } var$15 = var$15.$next3; } $var7 = var$15 === null ? 0 : 1; } } if (!$var7) return; $ptr = 5; continue main; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$8, var$10); if ($rt_suspending()) { break main; } if ($var7 == 2) { var$8 = 3; var$10 = 2; $ptr = 3; continue main; } if ($var7 == 3) { $var7 = 4; var$8 = 2; $ptr = 4; continue main; } $par5EntityLivingBase = $par6ItemStack.$stackTagCompound; if ($par5EntityLivingBase === null) $var7 = 0; else { q: { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break q; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$10 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$10) { a: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break a; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) $var7 = 0; else { r: { var$13 = $par6ItemStack.$stackTagCompound; $par5EntityLivingBase = var$13.$tagMap; if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break r; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$10 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$10) { c: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break c; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) { $par5EntityLivingBase = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par5EntityLivingBase.$name = $rt_s(1525); else $par5EntityLivingBase.$name = $rt_s(18); var$12 = new ju_HashMap; $var7 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, $var7); var$14 = var$11.data; var$12.$elementData = var$11; var$12.$loadFactor = 0.75; var$12.$threshold = var$14.length * 0.75 | 0; $par5EntityLivingBase.$tagMap = var$12; } else { $par5EntityLivingBase = var$13.$tagMap; if ($rt_s(1525) === null) { $par5EntityLivingBase = $par5EntityLivingBase.$elementData.data[0]; while ($par5EntityLivingBase !== null && $par5EntityLivingBase.$key !== null) { $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } else { s: { if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break s; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$8 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$8 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$8) { e: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break e; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } $par5EntityLivingBase = $par5EntityLivingBase === null ? null : $par5EntityLivingBase.$value1; } t: { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if (!$rt_s(1526).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1526).$nativeString.length) break t; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$8 = $rt_s(1526).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; var$15 = var$11[var$8 & (var$11.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$8) { g: { $par5EntityLivingBase = var$15.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) $var7 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) $var7 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; $var7 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break g; } } $var7 = 1; } if ($var7) break; } var$15 = var$15.$next3; } $var7 = var$15 === null ? 0 : 1; } } if (!$var7) return; $ptr = 5; continue main; case 3: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$8, var$10); if ($rt_suspending()) { break main; } if ($var7 == 3) { $var7 = 4; var$8 = 2; $ptr = 4; continue main; } $par5EntityLivingBase = $par6ItemStack.$stackTagCompound; if ($par5EntityLivingBase === null) $var7 = 0; else { u: { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break u; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$10 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$10) { v: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break v; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) $var7 = 0; else { w: { var$13 = $par6ItemStack.$stackTagCompound; $par5EntityLivingBase = var$13.$tagMap; if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break w; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$10 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$10) { x: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break x; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) { $par5EntityLivingBase = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par5EntityLivingBase.$name = $rt_s(1525); else $par5EntityLivingBase.$name = $rt_s(18); var$12 = new ju_HashMap; $var7 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, $var7); var$14 = var$11.data; var$12.$elementData = var$11; var$12.$loadFactor = 0.75; var$12.$threshold = var$14.length * 0.75 | 0; $par5EntityLivingBase.$tagMap = var$12; } else { $par5EntityLivingBase = var$13.$tagMap; if ($rt_s(1525) === null) { $par5EntityLivingBase = $par5EntityLivingBase.$elementData.data[0]; while ($par5EntityLivingBase !== null && $par5EntityLivingBase.$key !== null) { $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } else { y: { if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break y; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$8 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$8 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$8) { z: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break z; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } $par5EntityLivingBase = $par5EntityLivingBase === null ? null : $par5EntityLivingBase.$value1; } ba: { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if (!$rt_s(1526).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1526).$nativeString.length) break ba; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$8 = $rt_s(1526).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; var$15 = var$11[var$8 & (var$11.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$8) { bb: { $par5EntityLivingBase = var$15.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) $var7 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) $var7 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; $var7 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break bb; } } $var7 = 1; } if ($var7) break; } var$15 = var$15.$next3; } $var7 = var$15 === null ? 0 : 1; } } if (!$var7) return; $ptr = 5; continue main; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, var$8); if ($rt_suspending()) { break main; } $par5EntityLivingBase = $par6ItemStack.$stackTagCompound; if ($par5EntityLivingBase === null) $var7 = 0; else { bc: { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break bc; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$10 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$10) { bd: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break bd; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) $var7 = 0; else { be: { var$13 = $par6ItemStack.$stackTagCompound; $par5EntityLivingBase = var$13.$tagMap; if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break be; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$10 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$10 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$10) { bf: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break bf; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) { $par5EntityLivingBase = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par5EntityLivingBase.$name = $rt_s(1525); else $par5EntityLivingBase.$name = $rt_s(18); var$12 = new ju_HashMap; $var7 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, $var7); var$14 = var$11.data; var$12.$elementData = var$11; var$12.$loadFactor = 0.75; var$12.$threshold = var$14.length * 0.75 | 0; $par5EntityLivingBase.$tagMap = var$12; } else { $par5EntityLivingBase = var$13.$tagMap; if ($rt_s(1525) === null) { $par5EntityLivingBase = $par5EntityLivingBase.$elementData.data[0]; while ($par5EntityLivingBase !== null && $par5EntityLivingBase.$key !== null) { $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } else { bg: { if (!$rt_s(1525).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1525).$nativeString.length) break bg; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$8 = $rt_s(1525).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[var$8 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == var$8) { bh: { var$12 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $var7 = 1; else if (!(var$12 instanceof jl_String)) $var7 = 0; else { var$12 = var$12; $var7 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break bh; } } $var7 = 1; } if ($var7) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } $par5EntityLivingBase = $par5EntityLivingBase === null ? null : $par5EntityLivingBase.$value1; } bi: { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if (!$rt_s(1526).$hashCode1) { $var7 = 0; while (true) { if ($var7 >= $rt_s(1526).$nativeString.length) break bi; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var7) | 0; $var7 = $var7 + 1 | 0; } } } var$8 = $rt_s(1526).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; var$15 = var$11[var$8 & (var$11.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$8) { bj: { $par5EntityLivingBase = var$15.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) $var7 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) $var7 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; $var7 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!$var7) { $var7 = 0; break bj; } } $var7 = 1; } if ($var7) break; } var$15 = var$15.$next3; } $var7 = var$15 === null ? 0 : 1; } } if (!$var7) return; $ptr = 5; case 5: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; var$12 = $par1World; nms_Item_$callClinit(); var$16 = nms_Item_itemsList.data[$par6ItemStack.$itemID].$getItemDisplayName($par6ItemStack); $par1World = $par6ItemStack.$stackTagCompound; if ($par1World !== null) { bc: { $par1World = $par1World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break bc; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par3 = $rt_s(1525).$hashCode1; var$11 = $par1World.$elementData.data; var$13 = var$11[$par3 & (var$11.length - 1 | 0)]; while (var$13 !== null) { if (var$13.$origKeyHash == $par3) { bd: { $par1World = var$13.$key; if ($rt_s(1525) !== $par1World) { if ($rt_s(1525) === $par1World) $par2 = 1; else if (!($par1World instanceof jl_String)) $par2 = 0; else { $par1World = $par1World; $par2 = $rt_s(1525).$nativeString !== $par1World.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break bd; } } $par2 = 1; } if ($par2) break; } var$13 = var$13.$next3; } if (var$13 === null ? 0 : 1) { be: { $par1World = $par6ItemStack.$stackTagCompound; $par6ItemStack = $par1World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break be; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$11 = $par6ItemStack.$elementData.data; $par6ItemStack = var$11[$par4 & (var$11.length - 1 | 0)]; while ($par6ItemStack !== null) { if ($par6ItemStack.$origKeyHash == $par4) { bf: { var$15 = $par6ItemStack.$key; if ($rt_s(1525) !== var$15) { if ($rt_s(1525) === var$15) $par2 = 1; else if (!(var$15 instanceof jl_String)) $par2 = 0; else { var$15 = var$15; $par2 = $rt_s(1525).$nativeString !== var$15.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break bf; } } $par2 = 1; } if ($par2) break; } $par6ItemStack = $par6ItemStack.$next3; } if (!($par6ItemStack === null ? 0 : 1)) { var$15 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$15.$name = $rt_s(1525); else var$15.$name = $rt_s(18); $par1World = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $par1World.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$11 = var$14.data; $par1World.$elementData = var$14; $par1World.$loadFactor = 0.75; $par1World.$threshold = var$11.length * 0.75 | 0; var$15.$tagMap = $par1World; } else { $par1World = $par1World.$tagMap; if ($rt_s(1525) === null) { $par1World = $par1World.$elementData.data[0]; while ($par1World !== null && $par1World.$key !== null) { $par1World = $par1World.$next3; } } else { bg: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break bg; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$11 = $par1World.$elementData.data; $par1World = var$11[$par4 & (var$11.length - 1 | 0)]; while ($par1World !== null) { if ($par1World.$origKeyHash == $par4) { bh: { $par6ItemStack = $par1World.$key; if ($rt_s(1525) !== $par6ItemStack) { if ($rt_s(1525) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1525).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break bh; } } $par2 = 1; } if ($par2) break; } $par1World = $par1World.$next3; } } var$15 = $par1World === null ? null : $par1World.$value1; } bi: { $par5EntityLivingBase = var$15.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break bi; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[$par4 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { bj: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break bj; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if ($par5EntityLivingBase === null ? 0 : 1) { bk: { $par5EntityLivingBase = var$15.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break bk; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[$par4 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { bl: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break bl; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) var$16 = $rt_s(18); else { $par5EntityLivingBase = var$15.$tagMap; if ($rt_s(1526) === null) { $par5EntityLivingBase = $par5EntityLivingBase.$elementData.data[0]; while ($par5EntityLivingBase !== null && $par5EntityLivingBase.$key !== null) { $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } else { bm: { if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break bm; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$11 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$11[$par4 & (var$11.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { bn: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break bn; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } var$16 = ($par5EntityLivingBase === null ? null : $par5EntityLivingBase.$value1).$data1; } } } } var$12.$field_94130_e = var$16; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, var$8, $var7, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_BlockFurnace_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let var$7, $var7, $var8, var$10, var$11, var$12, var$13, var$14, var$15, $var9, var$17, $var10, var$19, $var11, $var12, var$22, var$23, var$24, var$25, $var13, var$27, $var14, var$29, var$30, var$31, var$32, var$33, var$34, var$35, var$36, var$37, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();$var14 = $thread.pop();var$27 = $thread.pop();$var13 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();var$19 = $thread.pop();$var10 = $thread.pop();var$17 = $thread.pop();$var9 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!nms_BlockFurnace_keepFurnaceInventory) { $ptr = 2; continue main; } $ptr = 1; case 1: nms_World_removeBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; case 2: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$7 = $tmp; $var7 = var$7; if ($var7 === null) { $ptr = 1; continue main; } $var8 = 0; $par6 = 24; var$10 = 17; var$11 = $par2; var$12 = 138; var$13 = $par3; var$14 = $par4; while (true) { var$15 = $var7.$furnaceItemStacks.data; if ($var8 >= var$15.length) break; $var9 = var$15[$var8]; if ($var9 !== null) { var$7 = $this.$furnaceRand; var$17 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$17; $var10 = Long_lo(Long_shru(var$17, $par6)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$19 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$19; $var11 = Long_lo(Long_shru(var$19, $par6)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$17 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$17; $var12 = Long_lo(Long_shru(var$17, $par6)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$22 = var$11 + $var10; var$23 = var$13 + $var11; var$24 = var$14 + $var12; var$25 = $var9.$stackSize; if (var$25 > 0) { var$7 = $this.$furnaceRand; var$17 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$17; $var13 = Long_lo(Long_shru(var$17, var$10)); while (true) { var$27 = $var13 % 21 | 0; if ((($var13 - var$27 | 0) + 20 | 0) >= 0) break; var$17 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$17; $var13 = Long_lo(Long_shru(var$17, var$10)); } $var13 = var$27 + 10 | 0; if ($var13 > var$25) $var13 = var$25; $var9.$stackSize = var$25 - $var13 | 0; $var14 = new nms_EntityItem; var$7 = new nms_ItemStack; var$27 = $var9.$itemID; var$29 = $var9.$itemDamage; nms_ItemStack_$callClinit(); var$7.$itemID = var$27; var$7.$stackSize = $var13; var$7.$itemDamage = var$29; if (var$29 < 0) var$7.$itemDamage = 0; $ptr = 4; continue main; } } $var8 = $var8 + 1 | 0; } $ptr = 3; case 3: nms_World_func_96440_m($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $ptr = 1; continue main; case 4: nms_EntityItem__init_($var14, $par1World, var$22, var$23, var$24); if ($rt_suspending()) { break main; } var$30 = $var14.$dataWatcher; var$31 = var$30.$watchedObjects; jl_Integer_ensureIntegerCache(); var$32 = jl_Integer_integerCache.data[var$12]; if (var$32 === null) { var$31 = var$31.$elementData.data[0]; while (var$31 !== null && var$31.$key !== null) { var$31 = var$31.$next3; } } else { var$27 = var$32.$value0; var$15 = var$31.$elementData.data; var$31 = var$15[var$27 & (var$15.length - 1 | 0)]; while (var$31 !== null) { if (var$31.$origKeyHash == var$27) { var$33 = var$31.$key; if (var$32 !== var$33 && !jl_Integer_equals(var$32, var$33) ? 0 : 1) break; } var$31 = var$31.$next3; } } var$33 = var$31 === null ? null : var$31.$value1; if (!(var$7 !== var$33.$watchedObject ? 0 : 1)) { var$33.$watchedObject = var$7; var$33.$watched = 1; var$30.$objectChanged = 1; } var$31 = $var14.$dataWatcher; var$33 = var$31.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[var$12]; if (var$7 === null) { var$33 = var$33.$elementData.data[0]; while (var$33 !== null && var$33.$key !== null) { var$33 = var$33.$next3; } } else { var$27 = var$7.$value0; var$15 = var$33.$elementData.data; var$33 = var$15[var$27 & (var$15.length - 1 | 0)]; while (var$33 !== null) { if (var$33.$origKeyHash == var$27) { var$30 = var$33.$key; if (var$7 !== var$30 && !jl_Integer_equals(var$7, var$30) ? 0 : 1) break; } var$33 = var$33.$next3; } } (var$33 === null ? null : var$33.$value1).$watched = 1; var$31.$objectChanged = 1; if ($var9.$stackTagCompound === null ? 0 : 1) { var$34 = nms_EntityItem_getEntityItem($var14); var$32 = $var9.$stackTagCompound; var$35 = new nms_NBTTagCompound; var$7 = var$32.$name; if (var$7 === null) var$7 = $rt_s(18); var$35.$name = var$7; var$7 = new ju_HashMap; var$29 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$36 = $rt_createArray(ju_HashMap$HashEntry, var$29); var$15 = var$36.data; var$7.$elementData = var$36; var$7.$loadFactor = 0.75; var$7.$threshold = var$15.length * 0.75 | 0; var$35.$tagMap = var$7; var$7 = var$32.$tagMap; if (var$7.$cachedKeySet === null) { var$31 = new ju_HashMap$1; var$31.$this$0 = var$7; var$7.$cachedKeySet = var$31; } var$37 = var$7.$cachedKeySet.$iterator(); while (var$37.$hasNext()) { var$7 = var$37.$next(); var$31 = var$32.$tagMap; if (var$7 === null) { var$31 = var$31.$elementData.data[0]; while (var$31 !== null && var$31.$key !== null) { var$31 = var$31.$next3; } } else { a: { if (!var$7.$hashCode1) { var$29 = 0; while (true) { if (var$29 >= var$7.$nativeString.length) break a; var$7.$hashCode1 = (31 * var$7.$hashCode1 | 0) + var$7.$nativeString.charCodeAt(var$29) | 0; var$29 = var$29 + 1 | 0; } } } var$27 = var$7.$hashCode1; var$15 = var$31.$elementData.data; var$31 = var$15[var$27 & (var$15.length - 1 | 0)]; while (var$31 !== null) { if (var$31.$origKeyHash == var$27) { b: { var$33 = var$31.$key; if (var$7 !== var$33) { if (var$7 === var$33) var$29 = 1; else if (!(var$33 instanceof jl_String)) var$29 = 0; else { var$33 = var$33; var$29 = var$7.$nativeString !== var$33.$nativeString ? 0 : 1; } if (!var$29) { var$29 = 0; break b; } } var$29 = 1; } if (var$29) break; } var$31 = var$31.$next3; } } var$31 = var$31 === null ? null : var$31.$value1; var$31 = var$31.$copy(); var$33 = var$35.$tagMap; if (var$7 !== null) var$31.$name = var$7; else var$31.$name = $rt_s(18); ju_HashMap_putImpl(var$33, var$7, var$31); } var$34.$stackTagCompound = var$35; } $var14.$motionX = nle_EaglercraftRandom_nextGaussian($this.$furnaceRand) * 0.05000000074505806; $var14.$motionY = nle_EaglercraftRandom_nextGaussian($this.$furnaceRand) * 0.05000000074505806 + 0.20000000298023224; $var14.$motionZ = nle_EaglercraftRandom_nextGaussian($this.$furnaceRand) * 0.05000000074505806; var$29 = nms_World_spawnEntityInWorld($par1World, $var14); var$7 = $par1World.$entityList; ju_HashMap_putImpl(var$7.$backingMap, $var14, var$7); if (!var$29) { var$7 = $par1World.$entitySpawnQueue; ju_HashMap_putImpl(var$7.$backingMap, $var14, var$7); } c: while (true) { var$25 = $var9.$stackSize; if (var$25 > 0) { var$7 = $this.$furnaceRand; var$17 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$17; $var13 = Long_lo(Long_shru(var$17, var$10)); while (true) { var$27 = $var13 % 21 | 0; if ((($var13 - var$27 | 0) + 20 | 0) >= 0) break; var$17 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$17; $var13 = Long_lo(Long_shru(var$17, var$10)); } $var13 = var$27 + 10 | 0; if ($var13 > var$25) $var13 = var$25; $var9.$stackSize = var$25 - $var13 | 0; $var14 = new nms_EntityItem; var$7 = new nms_ItemStack; var$27 = $var9.$itemID; var$29 = $var9.$itemDamage; nms_ItemStack_$callClinit(); var$7.$itemID = var$27; var$7.$stackSize = $var13; var$7.$itemDamage = var$29; if (var$29 < 0) var$7.$itemDamage = 0; continue main; } while (true) { $var8 = $var8 + 1 | 0; var$15 = $var7.$furnaceItemStacks.data; if ($var8 >= var$15.length) break c; $var9 = var$15[$var8]; if ($var9 === null) continue; else break; } var$7 = $this.$furnaceRand; var$17 = Long_and(Long_add(Long_mul(var$7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$17; $var10 = Long_lo(Long_shru(var$17, $par6)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$19 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$19; $var11 = Long_lo(Long_shru(var$19, $par6)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$17 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$7.$seed = var$17; $var12 = Long_lo(Long_shru(var$17, $par6)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$22 = var$11 + $var10; var$23 = var$13 + $var11; var$24 = var$14 + $var12; } $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, var$7, $var7, $var8, var$10, var$11, var$12, var$13, var$14, var$15, $var9, var$17, $var10, var$19, $var11, $var12, var$22, var$23, var$24, var$25, $var13, var$27, $var14, var$29, var$30, var$31, var$32, var$33, var$34, var$35, var$36, var$37, $ptr); }, nms_BlockFurnace_hasComparatorInputOverride = $this => { return 1; }, nms_BlockFurnace_getComparatorInputOverride = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; return nms_Container_calcRedstoneFromInventory($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockFurnace_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Block_$callClinit(); return nms_Block_furnaceIdle.$blockID; }; function nms_BlockSign() { let a = this; nms_BlockContainer.call(a); a.$signEntityClass = null; a.$isFreestanding = 0; } let nms_BlockSign__init_0 = ($this, $par1, $par2Class, $par3) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_wood); $this.$isBlockContainer = 1; $this.$isFreestanding = $par3; $this.$signEntityClass = $par2Class; $this.$minX0 = 0.25; $this.$minY0 = 0.0; $this.$minZ0 = 0.25; $this.$maxX0 = 0.75; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.75; }, nms_BlockSign__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_BlockSign(); nms_BlockSign__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_BlockSign_getIcon = ($this, $par1, $par2) => { nms_Block_$callClinit(); return nms_Block_planks.$getIcon($par1, 0); }, nms_BlockSign_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockSign_getSelectedBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; nms_BlockSign_setBlockBoundsBasedOnState($this, $par1World, $par2, $par3, $par4); $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par2 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par4 = var$11.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par4 + 1 | 0); var$13 = var$11.$array.data; $par3 = var$11.$size0; var$11.$size0 = $par3 + 1 | 0; var$13[$par3] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$12 = var$11.$array.data[$par2]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockSign_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5; if (!$this.$isFreestanding) { $var5 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; if ($var5 == 2) { $this.$minX0 = 0.0; $this.$minY0 = 0.28125; $this.$minZ0 = 0.875; $this.$maxX0 = 1.0; $this.$maxY0 = 0.78125; $this.$maxZ0 = 1.0; } if ($var5 == 3) { $this.$minX0 = 0.0; $this.$minY0 = 0.28125; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.78125; $this.$maxZ0 = 0.125; } if ($var5 == 4) { $this.$minX0 = 0.875; $this.$minY0 = 0.28125; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.78125; $this.$maxZ0 = 1.0; } if ($var5 == 5) { $this.$minX0 = 0.0; $this.$minY0 = 0.28125; $this.$minZ0 = 0.0; $this.$maxX0 = 0.125; $this.$maxY0 = 0.78125; $this.$maxZ0 = 1.0; } } }, nms_BlockSign_getRenderType = $this => { return (-1); }, nms_BlockSign_renderAsNormalBlock = $this => { return 0; }, nms_BlockSign_getBlocksMovement = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return 1; }, nms_BlockSign_isOpaqueCube = $this => { return 0; }, nms_BlockSign_createNewTileEntity = ($this, $par1World) => { let $var3, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: try { $par1World = $this.$signEntityClass; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var3 = $$je; } else { throw $$e; } } $par1World = new jl_RuntimeException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $par1World.$cause = $var3; $rt_throw($par1World); case 1: a: { try { $tmp = jl_Class_newInstance($par1World); if ($rt_suspending()) { break main; } $par1World = $tmp; $par1World = $par1World; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var3 = $$je; break a; } else { throw $$e; } } return $par1World; } $par1World = new jl_RuntimeException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $par1World.$cause = $var3; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $var3, $ptr); }, nms_BlockSign_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_sign.$itemID0; }, nms_BlockSign_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, var$7, $var7, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; if ($this.$isFreestanding) { $par5 = nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4); if (!$par5) { nms_Material_$callClinit(); var$7 = nms_Material_air; } else { nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[$par5].$blockMaterial; } if (!var$7.$isSolid()) $var6 = 1; } else { $var7 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var6 = 1; if ($var7 == 2) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); if (!$par5) { nms_Material_$callClinit(); var$7 = nms_Material_air; } else { nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[$par5].$blockMaterial; } if (var$7.$isSolid()) $var6 = 0; } if ($var7 == 3) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); if (!$par5) { nms_Material_$callClinit(); var$7 = nms_Material_air; } else { nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[$par5].$blockMaterial; } if (var$7.$isSolid()) $var6 = 0; } if ($var7 == 4) { $par5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); if (!$par5) { nms_Material_$callClinit(); var$7 = nms_Material_air; } else { nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[$par5].$blockMaterial; } if (var$7.$isSolid()) $var6 = 0; } if ($var7 == 5) { $par5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); if (!$par5) { nms_Material_$callClinit(); var$7 = nms_Material_air; } else { nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[$par5].$blockMaterial; } if (var$7.$isSolid()) $var6 = 0; } } if (!$var6) return; $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var6 = 0; var$9 = 1.0; $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$9, $var6); if ($rt_suspending()) { break main; } $par5 = 0; $var6 = 0; $var7 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var6, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, var$7, $var7, var$9, $ptr); }, nms_BlockSign_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Item_$callClinit(); return nms_Item_sign.$itemID0; }, nms_BlockSign_registerIcons = ($this, $par1IconRegister) => { return; }; function nms_TileEntity() { let a = this; jl_Object.call(a); a.$worldObj0 = null; a.$xCoord0 = 0; a.$yCoord0 = 0; a.$zCoord0 = 0; a.$tileEntityInvalid = 0; a.$blockMetadata = 0; a.$blockType = null; } let nms_TileEntity_nameToClassMap = null, nms_TileEntity_classToNameMap = null, nms_TileEntity_$callClinit = () => { nms_TileEntity_$callClinit = $rt_eraseClinit(nms_TileEntity); nms_TileEntity__clinit_(); }, nms_TileEntity__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); }, nms_TileEntity__init_0 = () => { let var_0 = new nms_TileEntity(); nms_TileEntity__init_(var_0); return var_0; }, nms_TileEntity_getWorldObj = $this => { return $this.$worldObj0; }, nms_TileEntity_setWorldObj = ($this, $par1World) => { $this.$worldObj0 = $par1World; }, nms_TileEntity_hasWorldObj = $this => { return $this.$worldObj0 === null ? 0 : 1; }, nms_TileEntity_readFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$4 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) === null) { var$7 = var$2.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { c: { if (!$rt_s(544).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$3 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$7 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$3) { d: { var$2 = var$7.$key; if ($rt_s(544) !== var$2) { if ($rt_s(544) === var$2) var$4 = 1; else if (!(var$2 instanceof jl_String)) var$4 = 0; else { var$2 = var$2; var$4 = $rt_s(544).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$7 = var$7.$next3; } } var$4 = (var$7 === null ? null : var$7.$value1).$data0; } e: { $this.$xCoord0 = var$4; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { f: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break f; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$4 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { g: { if (!$rt_s(2392).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { h: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break h; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$4 = (var$2 === null ? null : var$2.$value1).$data0; } i: { $this.$yCoord0 = var$4; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { j: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break j; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$4 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { k: { if (!$rt_s(2393).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$8 = $rt_s(2393).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$8 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$8) { l: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(2393) !== var$2) { if ($rt_s(2393) === var$2) var$4 = 1; else if (!(var$2 instanceof jl_String)) var$4 = 0; else { var$2 = var$2; var$4 = $rt_s(2393).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break l; } } var$4 = 1; } if (var$4) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$4 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data0; } $this.$zCoord0 = var$4; }, nms_TileEntity_writeToNBT = ($this, $par1NBTTagCompound) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; nms_TileEntity_$callClinit(); $var2 = nms_TileEntity_classToNameMap; var$3 = $this.constructor; if (var$3 === null) var$4 = null; else { var$4 = var$3.classObject; if (var$4 === null) { var$4 = new jl_Class; var$4.$platformClass = var$3; var$3.classObject = var$4; } } if (var$4 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$3 = var$4; if (!var$3.$id$) var$3.$id$ = $rt_nextId(); var$5 = var$4.$id$; var$6 = $var2.$elementData.data; $var2 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$5) { var$3 = $var2.$key; if (var$4 !== var$3 && !(var$4 !== var$3 ? 0 : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 !== null) { var$7 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagString; var$4.$name = $rt_s(1243); var$4.$data1 = $var2; ju_HashMap_putImpl(var$7, $rt_s(1243), var$4); var$8 = $this.$xCoord0; var$4 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagInt; var$3.$name = $rt_s(544); var$3.$data0 = var$8; ju_HashMap_putImpl(var$4, $rt_s(544), var$3); var$8 = $this.$yCoord0; var$4 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagInt; var$3.$name = $rt_s(2392); var$3.$data0 = var$8; ju_HashMap_putImpl(var$4, $rt_s(2392), var$3); var$8 = $this.$zCoord0; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagInt; $par1NBTTagCompound.$name = $rt_s(2393); $par1NBTTagCompound.$data0 = var$8; ju_HashMap_putImpl(var$3, $rt_s(2393), $par1NBTTagCompound); return; } $par1NBTTagCompound = new jl_RuntimeException; var$3 = $this.constructor; if (var$3 === null) $var2 = null; else { $var2 = var$3.classObject; if ($var2 === null) { $var2 = new jl_Class; $var2.$platformClass = var$3; var$3.classObject = $var2; } } if ($var2 === null) var$3 = $rt_s(1); else { var$3 = (!($var2.$platformClass.$meta.flags & 2) ? 0 : 1) ? $rt_s(102) : !($var2.$platformClass.$meta.primitive ? 1 : 0) ? $rt_s(103) : $rt_s(18); if ($var2.$name1 === null) $var2.$name1 = $rt_str($var2.$platformClass.$meta.name); var$4 = $var2.$name1; $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($var2, $var2.$length0, var$3); var$8 = $var2.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_StringBuilder_insert($var2, var$8, var$4); var$3 = new jl_String; var$6 = $var2.$buffer; var$9 = var$6.data; var$10 = $var2.$length0; var$5 = var$9.length; if (var$10 >= 0 && var$10 <= (var$5 - 0 | 0)) var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); else { $par1NBTTagCompound = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1NBTTagCompound); $rt_throw($par1NBTTagCompound); } } $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var2, $var2.$length0, var$3); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $rt_s(3058)); var$3 = new jl_String; var$6 = $var2.$buffer; var$9 = var$6.data; var$10 = $var2.$length0; var$5 = var$9.length; if (var$10 >= 0 && var$10 <= (var$5 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $par1NBTTagCompound.$message = var$3; $rt_throw($par1NBTTagCompound); } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1NBTTagCompound); $rt_throw($par1NBTTagCompound); }, nms_TileEntity_updateEntity = $this => { return; }, nms_TileEntity_onInventoryChanged = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj0; if (var$1 !== null) { $this.$blockMetadata = nms_World_getBlockMetadata(var$1, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0); var$1 = $this.$worldObj0; var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$4 = $this.$zCoord0; if (var$3 >= 0 && var$3 < 256 ? 1 : 0) { var$3 = var$2 >> 4; var$2 = var$4 >> 4; var$1 = var$1.$chunkProvider; var$5 = var$1.$chunkMapping; var$6 = Long_or(Long_and(Long_fromInt(var$3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$2), Long_create(4294967295, 0)), 32)); var$2 = Long_lo(Long_xor(var$6, Long_shru(var$6, 32))); var$2 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$2 = var$2 ^ (var$2 >>> 7 | 0) ^ (var$2 >>> 4 | 0); var$7 = var$5.$hashArray.data; var$5 = var$7[var$2 & (var$7.length - 1 | 0)]; a: { while (var$5 !== null) { if (Long_eq(var$5.$key1, var$6)) { var$5 = var$5.$value6; break a; } var$5 = var$5.$nextEntry0; } var$5 = null; } var$5 = var$5; if (var$5 === null) var$5 = var$1.$blankChunk; var$5.$setChunkModified(); } if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; } var$5 = $this.$blockType; if (var$5 !== null) { var$1 = $this.$worldObj0; var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$4 = $this.$zCoord0; var$8 = var$5.$blockID; $ptr = 1; continue main; } } return; case 1: nms_World_func_96440_m(var$1, var$2, var$3, var$4, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_TileEntity_getDistanceFrom = ($this, $par1, $par3, $par5) => { let $var7, $var9, $var11; $var7 = $this.$xCoord0 + 0.5 - $par1; $var9 = $this.$yCoord0 + 0.5 - $par3; $var11 = $this.$zCoord0 + 0.5 - $par5; return $var7 * $var7 + $var9 * $var9 + $var11 * $var11; }, nms_TileEntity_getMaxRenderDistanceSquared = $this => { return 4096.0; }, nms_TileEntity_getBlockType = $this => { if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; } return $this.$blockType; }, nms_TileEntity_isInvalid = $this => { return $this.$tileEntityInvalid; }, nms_TileEntity_invalidate = $this => { $this.$tileEntityInvalid = 1; }, nms_TileEntity_validate = $this => { $this.$tileEntityInvalid = 0; }, nms_TileEntity_receiveClientEvent = ($this, $par1, $par2) => { return 0; }, nms_TileEntity_updateContainingBlockInfo = $this => { $this.$blockType = null; $this.$blockMetadata = (-1); }, nms_TileEntity__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_TileEntity_nameToClassMap = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_TileEntity_classToNameMap = var$1; var$5 = $rt_s(3059); nms_TileEntity_$callClinit(); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break a; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { b: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break b; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } c: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityFurnace)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityFurnace), var$5); var$5 = $rt_s(3061); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break c; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { d: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break d; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } e: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityChest)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityChest), var$5); var$5 = $rt_s(3062); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break e; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { f: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break f; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } g: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityEnderChest)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityEnderChest), var$5); var$5 = $rt_s(3063); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break g; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { h: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break h; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } i: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityRecordPlayer)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityRecordPlayer), var$5); var$5 = $rt_s(3064); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break i; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { j: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break j; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } k: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityDispenser)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityDispenser), var$5); var$5 = $rt_s(3065); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break k; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { l: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break l; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } m: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityDropper)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityDropper), var$5); var$5 = $rt_s(3066); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break m; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { n: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break n; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } o: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntitySign)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntitySign), var$5); var$5 = $rt_s(3067); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break o; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { p: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break p; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } q: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityMobSpawner)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityMobSpawner), var$5); var$5 = $rt_s(3068); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break q; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { r: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break r; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } s: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityNote)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityNote), var$5); var$5 = $rt_s(3069); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break s; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { t: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 !== var$8) { if (var$8 instanceof jl_String) { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$2 = 0; } else var$2 = 1; if (!var$2) { var$2 = 0; break t; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } u: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityPiston)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityPiston), var$5); var$5 = $rt_s(3070); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break u; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { v: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break v; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } w: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityBrewingStand)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityBrewingStand), var$5); var$5 = $rt_s(3071); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break w; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { x: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break x; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (!(var$6 === null ? 0 : 1)) { y: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityEnchantmentTable)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityEnchantmentTable), var$5); var$5 = $rt_s(3072); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break y; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { z: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (var$8 instanceof jl_String) { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$2 = 0; if (!var$2) { var$2 = 0; break z; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (!(var$6 === null ? 0 : 1)) { ba: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityEndPortal)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityEndPortal), var$5); var$5 = $rt_s(3073); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break ba; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { bb: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 !== var$8) { if (var$8 instanceof jl_String) { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$2 = 0; } else var$2 = 1; if (!var$2) { var$2 = 0; break bb; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } bc: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityCommandBlock)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityCommandBlock), var$5); var$5 = $rt_s(3074); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break bc; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { bd: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 !== var$8) { if (var$8 instanceof jl_String) { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } else var$2 = 0; } else var$2 = 1; if (!var$2) { var$2 = 0; break bd; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } be: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityBeacon)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityBeacon), var$5); var$5 = $rt_s(3075); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break be; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { bf: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break bf; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } bg: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntitySkull)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntitySkull), var$5); var$5 = $rt_s(3076); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break bg; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { bh: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break bh; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } bi: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityDaylightDetector)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityDaylightDetector), var$5); var$5 = $rt_s(3077); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break bi; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { bj: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break bj; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } bk: { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityHopper)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityHopper), var$5); var$5 = $rt_s(3078); var$6 = nms_TileEntity_nameToClassMap; if (!var$5.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$5.$nativeString.length) break bk; var$5.$hashCode1 = (31 * var$5.$hashCode1 | 0) + var$5.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$5.$hashCode1; var$4 = var$6.$elementData.data; var$6 = var$4[var$7 & (var$4.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { bl: { var$8 = var$6.$key; if (var$5 !== var$8) { if (var$5 === var$8) var$2 = 1; else if (!(var$8 instanceof jl_String)) var$2 = 0; else { var$8 = var$8; var$2 = var$5.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break bl; } } var$2 = 1; } if (var$2) break; } var$6 = var$6.$next3; } if (!(var$6 === null ? 0 : 1)) { ju_HashMap_putImpl(nms_TileEntity_nameToClassMap, var$5, $rt_cls(nms_TileEntityComparator)); ju_HashMap_putImpl(nms_TileEntity_classToNameMap, $rt_cls(nms_TileEntityComparator), var$5); return; } var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } var$1 = new jl_IllegalArgumentException; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3060)); var$2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$2, var$5); var$5 = new jl_String; var$4 = var$6.$buffer; var$3 = var$4.data; var$9 = var$6.$length0; var$7 = var$3.length; if (var$9 >= 0 && var$9 <= (var$7 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$4.data, 0, var$9); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); }; function nms_TileEntitySign() { let a = this; nms_TileEntity.call(a); a.$signText = null; a.$lineBeingEdited = 0; a.$isEditable = 0; a.$field_142011_d = null; } let nms_TileEntitySign__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); $this.$signText = $rt_wrapArray(jl_String, [$rt_s(18), $rt_s(18), $rt_s(18), $rt_s(18)]); $this.$lineBeingEdited = (-1); $this.$isEditable = 1; }, nms_TileEntitySign__init_0 = () => { let var_0 = new nms_TileEntitySign(); nms_TileEntitySign__init_(var_0); return var_0; }, nms_TileEntitySign_writeToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); var$2 = $this.$signText.data[0]; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagString; var$4.$name = $rt_s(3079); var$4.$data1 = var$2; if (var$2 === null) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(186); $rt_throw(var$5); } ju_HashMap_putImpl(var$3, $rt_s(3079), var$4); var$2 = $this.$signText.data[1]; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagString; var$4.$name = $rt_s(3080); var$4.$data1 = var$2; if (var$2 === null) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(186); $rt_throw(var$5); } ju_HashMap_putImpl(var$3, $rt_s(3080), var$4); var$2 = $this.$signText.data[2]; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagString; var$4.$name = $rt_s(3081); var$4.$data1 = var$2; if (var$2 === null) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(186); $rt_throw(var$5); } ju_HashMap_putImpl(var$3, $rt_s(3081), var$4); var$2 = $this.$signText.data[3]; var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagString; $par1NBTTagCompound.$name = $rt_s(3082); $par1NBTTagCompound.$data1 = var$2; if (var$2 !== null) { ju_HashMap_putImpl(var$4, $rt_s(3082), $par1NBTTagCompound); return; } var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(186); $rt_throw(var$5); }, nms_TileEntitySign_readFromNBT = ($this, $par1NBTTagCompound) => { let $var2, var$3, $var2_0, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $this.$isEditable = 0; nms_TileEntity_readFromNBT($this, $par1NBTTagCompound); $var2 = 0; a: { while ($var2 < 4) { var$3 = $this.$signText; $var2_0 = $var2 + 1 | 0; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3083)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, $var2_0, 10); var$6 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$9 = var$5.$length0; var$10 = var$8.length; if (var$9 < 0) break a; if (var$9 > (var$10 - 0 | 0)) break a; b: { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$5 = $par1NBTTagCompound.$tagMap; if (!var$6.$hashCode1) { var$9 = 0; while (true) { if (var$9 >= var$6.$nativeString.length) break b; var$6.$hashCode1 = (31 * var$6.$hashCode1 | 0) + var$6.$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$10 = var$6.$hashCode1; var$7 = var$5.$elementData.data; var$11 = var$7[var$10 & (var$7.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$10) { c: { var$5 = var$11.$key; if (var$6 !== var$5) { if (var$6 === var$5) var$9 = 1; else if (!(var$5 instanceof jl_String)) var$9 = 0; else { var$5 = var$5; var$9 = var$6.$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break c; } } var$9 = 1; } if (var$9) break; } var$11 = var$11.$next3; } if (!(var$11 === null ? 0 : 1)) var$5 = $rt_s(18); else { var$5 = $par1NBTTagCompound.$tagMap; if (var$6 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { d: { if (!var$6.$hashCode1) { var$9 = 0; while (true) { if (var$9 >= var$6.$nativeString.length) break d; var$6.$hashCode1 = (31 * var$6.$hashCode1 | 0) + var$6.$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$12 = var$6.$hashCode1; var$7 = var$5.$elementData.data; var$5 = var$7[var$12 & (var$7.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$12) { e: { var$13 = var$5.$key; if (var$6 !== var$13) { if (var$6 === var$13) var$9 = 1; else if (!(var$13 instanceof jl_String)) var$9 = 0; else { var$13 = var$13; var$9 = var$6.$nativeString !== var$13.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break e; } } var$9 = 1; } if (var$9) break; } var$5 = var$5.$next3; } } var$5 = (var$5 === null ? null : var$5.$value1).$data1; } var$3.data[$var2] = var$5; if ($this.$signText.data[$var2].$nativeString.length > 15) { var$7 = $this.$signText.data; var$7[$var2] = jl_String_substring(var$7[$var2], 0, 15); } $var2 = $var2_0; } return; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1NBTTagCompound); $rt_throw($par1NBTTagCompound); }; function nms_BlockDoor() { let a = this; nms_Block.call(a); a.$field_111044_a = null; a.$field_111043_b = null; } let nms_BlockDoor__init_0 = ($this, $par1, $par2Material) => { nms_Block__init_($this, $par1, $par2Material); $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; }, nms_BlockDoor__init_ = (var_0, var_1) => { let var_2 = new nms_BlockDoor(); nms_BlockDoor__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockDoor_getIcon = ($this, $par1, $par2) => { return $this.$field_111043_b.data[0]; }, nms_BlockDoor_getBlockTexture = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var8, $var9, $var10, var$11; if ($par5 != 1 && $par5) { $var6 = nms_BlockDoor_getFullMetadata($this, $par1IBlockAccess, $par2, $par3, $par4); $var7 = $var6 & 3; $var8 = !($var6 & 4) ? 0 : 1; $var9 = 0; $var10 = !($var6 & 8) ? 0 : 1; if ($var8) { if (!$var7 && $par5 == 2) $var9 = 1; else if ($var7 == 1 && $par5 == 5) $var9 = 1; else if ($var7 == 2 && $par5 == 3) $var9 = 1; else if ($var7 == 3 && $par5 == 4) $var9 = 1; } else { if (!$var7 && $par5 == 5) $var9 = 1; else if ($var7 == 1 && $par5 == 3) $var9 = 1; else if ($var7 == 2 && $par5 == 4) $var9 = 1; else if ($var7 == 3 && $par5 == 2) $var9 = 1; if ($var6 & 16) $var9 = $var9 ? 0 : 1; } if (!$var10) { var$11 = $this.$field_111043_b; $par2 = !$var9 ? 0 : 1; $par1IBlockAccess = var$11.data[$par2]; } else { var$11 = $this.$field_111044_a; $par2 = !$var9 ? 0 : 1; $par1IBlockAccess = var$11.data[$par2]; } return $par1IBlockAccess; } return $this.$field_111043_b.data[0]; }, nms_BlockDoor_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$2 = $rt_createArray(nms_Icon, 2); $this.$field_111044_a = var$2; $this.$field_111043_b = $rt_createArray(nms_Icon, 2); var$3 = $this.$textureName; if (var$3 === null) { var$4 = $this.$blockID; var$3 = $this.$unlocalizedName; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$4, 10); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 95; var$4 = var$5.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$4, var$3); var$3 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$6 = var$5.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$3); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3084)); var$3 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$6 = var$5.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { var$2 = var$2.data; var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); var$2[0] = $par1IconRegister.$registerIcon(var$3, 1); var$2 = $this.$field_111043_b; var$5 = $this.$textureName; if (var$5 === null) { var$4 = $this.$blockID; var$3 = $this.$unlocalizedName; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$10, var$10.$length0, var$4, 10); var$6 = var$10.$length0; jl_AbstractStringBuilder_insertSpace(var$10, var$6, var$6 + 1 | 0); var$10.$buffer.data[var$6] = 95; var$4 = var$10.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, var$4, var$3); var$5 = new jl_String; var$7 = var$10.$buffer; var$8 = var$7.data; var$6 = var$10.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3085)); var$5 = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$6 = var$3.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { var$2 = var$2.data; var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); var$2[0] = $par1IconRegister.$registerIcon(var$5, 1); var$2 = $this.$field_111044_a.data; $par1IconRegister = new nms_IconFlipped; $par1IconRegister.$baseIcon = var$2[0]; $par1IconRegister.$flipU = 1; $par1IconRegister.$flipV = 0; var$2[1] = $par1IconRegister; var$2 = $this.$field_111043_b.data; $par1IconRegister = new nms_IconFlipped; $par1IconRegister.$baseIcon = var$2[0]; $par1IconRegister.$flipU = 1; $par1IconRegister.$flipV = 0; var$2[1] = $par1IconRegister; return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockDoor_isOpaqueCube = $this => { return 0; }, nms_BlockDoor_getBlocksMovement = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return !(nms_BlockDoor_getFullMetadata($this, $par1IBlockAccess, $par2, $par3, $par4) & 4) ? 0 : 1; }, nms_BlockDoor_renderAsNormalBlock = $this => { return 0; }, nms_BlockDoor_getRenderType = $this => { return 7; }, nms_BlockDoor_getSelectedBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; nms_BlockDoor_setDoorRotation($this, nms_BlockDoor_getFullMetadata($this, $par1World, $par2, $par3, $par4)); $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par3 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par2 = var$11.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par2 + 1 | 0); var$13 = var$11.$array.data; $par2 = var$11.$size0; var$11.$size0 = $par2 + 1 | 0; var$13[$par2] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$12 = var$11.$array.data[$par3]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockDoor_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; nms_BlockDoor_setDoorRotation($this, nms_BlockDoor_getFullMetadata($this, $par1World, $par2, $par3, $par4)); $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par3 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par2 = var$11.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par2 + 1 | 0); var$13 = var$11.$array.data; $par2 = var$11.$size0; var$11.$size0 = $par2 + 1 | 0; var$13[$par2] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$12 = var$11.$array.data[$par3]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockDoor_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { nms_BlockDoor_setDoorRotation($this, nms_BlockDoor_getFullMetadata($this, $par1IBlockAccess, $par2, $par3, $par4)); }, nms_BlockDoor_setDoorRotation = ($this, $par1) => { let $var3, $var4, $var5; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 2.0; $this.$maxZ0 = 1.0; $var3 = $par1 & 3; $var4 = !($par1 & 4) ? 0 : 1; $var5 = !($par1 & 16) ? 0 : 1; if (!$var3) { if (!$var4) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.1875; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } else if ($var5) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.8125; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } else { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.1875; } } else if ($var3 == 1) { if (!$var4) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.1875; } else if ($var5) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.1875; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } else { $this.$minX0 = 0.8125; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } } else if ($var3 == 2) { if (!$var4) { $this.$minX0 = 0.8125; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } else if ($var5) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.1875; } else { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.8125; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } } else if ($var3 == 3) { if (!$var4) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.8125; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } else if ($var5) { $this.$minX0 = 0.8125; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } else { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.1875; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } } }, nms_BlockDoor_onBlockClicked = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer) => { return; }, nms_BlockDoor_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let var$10, $var10, $var11, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$10 = $this.$blockMaterial; nms_Material_$callClinit(); if (var$10 === nms_Material_iron) return 1; $var10 = nms_BlockDoor_getFullMetadata($this, $par1World, $par2, $par3, $par4); $var11 = $var10 & 7 ^ 4; if (!($var10 & 8)) { $par6 = 2; $ptr = 2; continue main; } $var10 = $par3 - 1 | 0; $par6 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $var10, $par4, $var11, $par6); if ($rt_suspending()) { break main; } $par6 = 0; $var11 = $par2 - 1 | 0; var$13 = $var10 - 1 | 0; var$14 = $par4 - 1 | 0; var$15 = $par2 + 1 | 0; var$16 = $par3 + 1 | 0; var$17 = $par4 + 1 | 0; while (true) { var$18 = $par1World.$worldAccesses; $var10 = $rt_compare($par6, var$18.$size0); if ($var10 >= 0) { $par6 = 1003; $var10 = 0; $var11 = 0; var$18 = $par1World.$worldAccesses; var$13 = $rt_compare($var11, var$18.$size0); if (var$13 >= 0) return 1; if ($var11 >= 0 && var$13 < 0) { var$18 = var$18.$array.data[$var11]; $ptr = 3; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($par6 < 0) break; if ($var10 >= 0) break; nms_RenderGlobal_markBlocksForUpdate(var$18.$array.data[$par6], $var11, var$13, var$14, var$15, var$16, var$17); $par6 = $par6 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var11, $par6); if ($rt_suspending()) { break main; } $par6 = 0; $var11 = $par2 - 1 | 0; var$13 = $par3 - 1 | 0; var$14 = $par4 - 1 | 0; var$15 = $par2 + 1 | 0; var$16 = $par3 + 1 | 0; var$17 = $par4 + 1 | 0; while (true) { var$18 = $par1World.$worldAccesses; $var10 = $rt_compare($par6, var$18.$size0); if ($var10 >= 0) { $par6 = 1003; $var10 = 0; $var11 = 0; var$18 = $par1World.$worldAccesses; var$13 = $rt_compare($var11, var$18.$size0); if (var$13 >= 0) return 1; if ($var11 >= 0 && var$13 < 0) { var$18 = var$18.$array.data[$var11]; $ptr = 3; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($par6 < 0) break; if ($var10 >= 0) break; nms_RenderGlobal_markBlocksForUpdate(var$18.$array.data[$par6], $var11, var$13, var$14, var$15, var$16, var$17); $par6 = $par6 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 3: nms_RenderGlobal_playAuxSFX(var$18, $par5EntityPlayer, $par6, $par2, $par3, $par4, $var10); if ($rt_suspending()) { break main; } $var11 = $var11 + 1 | 0; var$18 = $par1World.$worldAccesses; var$13 = $rt_compare($var11, var$18.$size0); if (var$13 >= 0) return 1; if ($var11 >= 0 && var$13 < 0) { var$18 = var$18.$array.data[$var11]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, var$10, $var10, $var11, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_BlockDoor_onPoweredBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_BlockDoor_getFullMetadata($this, $par1World, $par2, $par3, $par4); if ((!($var6 & 4) ? 0 : 1) == $par5) return; $var7 = $var6 & 7 ^ 4; if (!($var6 & 8)) { $par5 = 2; $ptr = 2; continue main; } $var6 = $par3 - 1 | 0; $par5 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $var6, $par4, $var7, $par5); if ($rt_suspending()) { break main; } $par5 = 0; $var7 = $par2 - 1 | 0; $var8 = $var6 - 1 | 0; var$9 = $par4 - 1 | 0; var$10 = $par2 + 1 | 0; var$11 = $par3 + 1 | 0; var$12 = $par4 + 1 | 0; while (true) { var$13 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, var$13.$size0); if ($var6 >= 0) { var$14 = null; $var6 = 1003; $var7 = 0; $var8 = 0; var$13 = $par1World.$worldAccesses; $par5 = $rt_compare($var8, var$13.$size0); if ($par5 >= 0) return; if ($var8 >= 0 && $par5 < 0) { var$13 = var$13.$array.data[$var8]; $ptr = 3; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate(var$13.$array.data[$par5], $var7, $var8, var$9, var$10, var$11, var$12); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, $par5); if ($rt_suspending()) { break main; } $par5 = 0; $var7 = $par2 - 1 | 0; $var8 = $par3 - 1 | 0; var$9 = $par4 - 1 | 0; var$10 = $par2 + 1 | 0; var$11 = $par3 + 1 | 0; var$12 = $par4 + 1 | 0; while (true) { var$13 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, var$13.$size0); if ($var6 >= 0) { var$14 = null; $var6 = 1003; $var7 = 0; $var8 = 0; var$13 = $par1World.$worldAccesses; $par5 = $rt_compare($var8, var$13.$size0); if ($par5 >= 0) return; if ($var8 >= 0 && $par5 < 0) { var$13 = var$13.$array.data[$var8]; $ptr = 3; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($par5 < 0) break; if ($var6 >= 0) break; nms_RenderGlobal_markBlocksForUpdate(var$13.$array.data[$par5], $var7, $var8, var$9, var$10, var$11, var$12); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 3: nms_RenderGlobal_playAuxSFX(var$13, var$14, $var6, $par2, $par3, $par4, $var7); if ($rt_suspending()) { break main; } $var8 = $var8 + 1 | 0; var$13 = $par1World.$worldAccesses; $par5 = $rt_compare($var8, var$13.$size0); if ($par5 >= 0) return; if ($var8 >= 0 && $par5 < 0) { var$13 = var$13.$array.data[$var8]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_BlockDoor_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if ($var6 & 8) { $var7 = $par3 - 1 | 0; if (nms_World_getBlockId($par1World, $par2, $var7, $par4) != $this.$blockID) { $var8 = 0; var$9 = 0; var$10 = 3; $ptr = 1; continue main; } if ($par5 <= 0) break a; if ($par5 == $this.$blockID) break a; $ptr = 3; continue main; } $var7 = 0; $var8 = $par3 + 1 | 0; if (nms_World_getBlockId($par1World, $par2, $var8, $par4) != $this.$blockID) { $var7 = 0; var$9 = 0; var$10 = 3; $ptr = 2; continue main; } var$10 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$10, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$10, $par4))) { $var7 = 0; var$9 = 0; var$10 = 3; $ptr = 4; continue main; } if (!$var7) { $ptr = 6; continue main; } if (!$par1World.$isRemote) { $par5 = 0; var$11 = 1.0; $ptr = 8; continue main; } } return; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, $var8, var$9, var$10); if ($rt_suspending()) { break main; } if ($par5 > 0 && $par5 != $this.$blockID) { $ptr = 3; continue main; } return; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $var7, var$9, var$10); if ($rt_suspending()) { break main; } $var7 = 1; var$10 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$10, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$10, $par4))) { $var7 = 0; var$9 = 0; var$10 = 3; $ptr = 4; continue main; } if (!$var7) { $ptr = 6; continue main; } if ($par1World.$isRemote) return; $par5 = 0; var$11 = 1.0; $ptr = 8; continue main; case 3: nms_BlockDoor_onNeighborBlockChange($this, $par1World, $par2, $var7, $par4, $par5); if ($rt_suspending()) { break main; } return; case 4: nms_World_setBlock($par1World, $par2, $par3, $par4, $var7, var$9, var$10); if ($rt_suspending()) { break main; } $var7 = 1; if (nms_World_getBlockId($par1World, $par2, $var8, $par4) == $this.$blockID) { var$12 = 0; var$9 = 0; var$10 = 3; $ptr = 5; continue main; } if (!$var7) { $ptr = 6; continue main; } if ($par1World.$isRemote) return; $par5 = 0; var$11 = 1.0; $ptr = 8; continue main; case 5: nms_World_setBlock($par1World, $par2, $var8, $par4, var$12, var$9, var$10); if ($rt_suspending()) { break main; } if (!$var7) { $ptr = 6; continue main; } if ($par1World.$isRemote) return; $par5 = 0; var$11 = 1.0; $ptr = 8; continue main; case 6: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var7 = $tmp; if (!$var7) { $ptr = 7; continue main; } $var8 = 1; b: { if (!$var8) { if ($par5 <= 0) break b; if (!nms_Block_blocksList.data[$par5].$canProvidePower()) break b; } if ($par5 != $this.$blockID) { $ptr = 9; continue main; } } return; case 7: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $var8, $par4); if ($rt_suspending()) { break main; } $var7 = $tmp; $var8 = $var7 ? 1 : 0; c: { if (!$var8) { if ($par5 <= 0) break c; if (!nms_Block_blocksList.data[$par5].$canProvidePower()) break c; } if ($par5 != $this.$blockID) { $ptr = 9; continue main; } } return; case 8: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $var6, var$11, $par5); if ($rt_suspending()) { break main; } return; case 9: nms_BlockDoor_onPoweredBlockChange($this, $par1World, $par2, $par3, $par4, $var8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, $var8, var$9, var$10, var$11, var$12, $ptr); }, nms_BlockDoor_idDropped = ($this, $par1, $par2Random, $par3) => { if ($par1 & 8) $par1 = 0; else { $par2Random = $this.$blockMaterial; nms_Material_$callClinit(); if ($par2Random !== nms_Material_iron) { nms_Item_$callClinit(); $par1 = nms_Item_doorWood.$itemID0; } else { nms_Item_$callClinit(); $par1 = nms_Item_doorIron.$itemID0; } } return $par1; }, nms_BlockDoor_collisionRayTrace = ($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par6Vec3 = $thread.pop();$par5Vec3 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_BlockDoor_setDoorRotation($this, nms_BlockDoor_getFullMetadata($this, $par1World, $par2, $par3, $par4)); $ptr = 1; case 1: $tmp = nms_Block_collisionRayTrace($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3); if ($rt_suspending()) { break main; } $par1World = $tmp; return $par1World; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3, $ptr); }, nms_BlockDoor_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5; a: { if ($par3 >= 255) $par2 = 0; else { var$5 = $par3 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$5, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$5, $par4))) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$5 && !nms_Block_blocksList.data[var$5].$blockMaterial.$replaceable ? 0 : 1) { $par2 = nms_World_getBlockId($par1World, $par2, $par3 + 1 | 0, $par4); if ($par2 && !nms_Block_blocksList.data[$par2].$blockMaterial.$replaceable ? 0 : 1) { $par2 = 1; break a; } } } $par2 = 0; } } return $par2; }, nms_BlockDoor_getMobilityFlag = $this => { return 1; }, nms_BlockDoor_getFullMetadata = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6, $var8, $var7, $var9; $var5 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); $var6 = !($var5 & 8) ? 0 : 1; if (!$var6) $var8 = $par1IBlockAccess.$getBlockMetadata($par2, $par3 + 1 | 0, $par4); else { $var7 = $par1IBlockAccess.$getBlockMetadata($par2, $par3 - 1 | 0, $par4); $var8 = $var5; $var5 = $var7; } $var9 = !($var8 & 1) ? 0 : 1; return $var5 & 7 | (!$var6 ? 0 : 8) | (!$var9 ? 0 : 16); }, nms_BlockDoor_idPicked = ($this, $par1World, $par2, $par3, $par4) => { let var$5; var$5 = $this.$blockMaterial; nms_Material_$callClinit(); if (var$5 !== nms_Material_iron) { nms_Item_$callClinit(); $par2 = nms_Item_doorWood.$itemID0; } else { nms_Item_$callClinit(); $par2 = nms_Item_doorIron.$itemID0; } return $par2; }, nms_BlockLadder = $rt_classWithoutFields(nms_Block), nms_BlockLadder__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockLadder__init_ = var_0 => { let var_1 = new nms_BlockLadder(); nms_BlockLadder__init_0(var_1, var_0); return var_1; }, nms_BlockLadder_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; nms_BlockLadder_updateLadderBounds($this, nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)); $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par3 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par2 = var$11.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par2 + 1 | 0); var$13 = var$11.$array.data; $par2 = var$11.$size0; var$11.$size0 = $par2 + 1 | 0; var$13[$par2] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$12 = var$11.$array.data[$par3]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockLadder_getSelectedBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; nms_BlockLadder_updateLadderBounds($this, nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)); $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par3 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par2 = var$11.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par2 + 1 | 0); var$13 = var$11.$array.data; $par2 = var$11.$size0; var$11.$size0 = $par2 + 1 | 0; var$13[$par2] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$12 = var$11.$array.data[$par3]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockLadder_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { nms_BlockLadder_updateLadderBounds($this, $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4)); }, nms_BlockLadder_updateLadderBounds = ($this, $par1) => { if ($par1 == 2) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.875; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } if ($par1 == 3) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.125; } if ($par1 == 4) { $this.$minX0 = 0.875; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } if ($par1 == 5) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.125; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } }, nms_BlockLadder_isOpaqueCube = $this => { return 0; }, nms_BlockLadder_renderAsNormalBlock = $this => { return 0; }, nms_BlockLadder_getRenderType = $this => { return 8; }, nms_BlockLadder_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7; var$5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { var$5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { $par2 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); $par1World = nms_Block_blocksList.data[$par2]; if ($par1World === null) $par2 = 0; else { var$6 = $par1World.$blockMaterial; $par2 = !var$6.$isTranslucent ? var$6.$blocksMovement() : 0; $par2 = $par2 && $par1World.$renderAsNormalBlock() && !$par1World.$canProvidePower() ? 1 : 0; } } } } return $par2; }, nms_BlockLadder_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { let var$10, var$11, var$12; if (!($par9 && $par5 != 2)) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 === null) var$10 = 0; else { var$12 = var$11.$blockMaterial; var$10 = !var$12.$isTranslucent ? var$12.$blocksMovement() : 0; var$10 = var$10 && var$11.$renderAsNormalBlock() && !var$11.$canProvidePower() ? 1 : 0; } if (var$10) $par9 = 2; } if (!($par9 && $par5 != 3)) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 === null) var$10 = 0; else { var$12 = var$11.$blockMaterial; var$10 = !var$12.$isTranslucent ? var$12.$blocksMovement() : 0; var$10 = var$10 && var$11.$renderAsNormalBlock() && !var$11.$canProvidePower() ? 1 : 0; } if (var$10) $par9 = 3; } if (!($par9 && $par5 != 4)) { var$10 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 === null) var$10 = 0; else { var$12 = var$11.$blockMaterial; var$10 = !var$12.$isTranslucent ? var$12.$blocksMovement() : 0; var$10 = var$10 && var$11.$renderAsNormalBlock() && !var$11.$canProvidePower() ? 1 : 0; } if (var$10) $par9 = 4; } if (!($par9 && $par5 != 5)) { $par2 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); $par1World = nms_Block_blocksList.data[$par2]; if ($par1World === null) $par2 = 0; else { var$11 = $par1World.$blockMaterial; $par2 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par2 = $par2 && $par1World.$renderAsNormalBlock() && !$par1World.$canProvidePower() ? 1 : 0; } if ($par2) $par9 = 5; } return $par9; }, nms_BlockLadder_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var7 = 0; if ($var6 == 2) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par5]; if (var$8 === null) $par5 = 0; else { var$9 = var$8.$blockMaterial; $par5 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; $par5 = $par5 && var$8.$renderAsNormalBlock() && !var$8.$canProvidePower() ? 1 : 0; } if ($par5) $var7 = 1; } if ($var6 == 3) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par5]; if (var$8 === null) $par5 = 0; else { var$9 = var$8.$blockMaterial; $par5 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; $par5 = $par5 && var$8.$renderAsNormalBlock() && !var$8.$canProvidePower() ? 1 : 0; } if ($par5) $var7 = 1; } if ($var6 == 4) { $par5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par5]; if (var$8 === null) $par5 = 0; else { var$9 = var$8.$blockMaterial; $par5 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; $par5 = $par5 && var$8.$renderAsNormalBlock() && !var$8.$canProvidePower() ? 1 : 0; } if ($par5) $var7 = 1; } if ($var6 == 5) { $par5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par5]; if (var$8 === null) $par5 = 0; else { var$9 = var$8.$blockMaterial; $par5 = !var$9.$isTranslucent ? var$9.$blocksMovement() : 0; $par5 = $par5 && var$8.$renderAsNormalBlock() && !var$8.$canProvidePower() ? 1 : 0; } if ($par5) $var7 = 1; } if ($var7) return; $par5 = 0; var$10 = 1.0; $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $var6, var$10, $par5); if ($rt_suspending()) { break main; } $par5 = 0; $var6 = 0; $var7 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var6, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, var$8, var$9, var$10, $ptr); }, nms_BlockLadder_quantityDropped = ($this, $par1Random) => { return 1; }; function nms_BlockRail() { nms_BlockRailBase.call(this); this.$theIcon6 = null; } let nms_BlockRail__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); $this.$isPowered = 0; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.125; $this.$maxZ0 = 1.0; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabTransport; }, nms_BlockRail__init_0 = var_0 => { let var_1 = new nms_BlockRail(); nms_BlockRail__init_(var_1, var_0); return var_1; }, nms_BlockRail_getIcon = ($this, $par1, $par2) => { return $par2 < 6 ? $this.$blockIcon : $this.$theIcon6; }, nms_BlockRail_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_StringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1IconRegister); $rt_throw($par1IconRegister); } } $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$4 = $this.$textureName; if (var$4 === null) { var$3 = $this.$blockID; var$4 = $this.$unlocalizedName; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$3, 10); var$5 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$5, var$5 + 1 | 0); var$2.$buffer.data[var$5] = 95; var$3 = var$2.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$4); var$4 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; var$5 = var$2.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, var$4); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(3086)); var$4 = new jl_String; var$7 = var$2.$buffer; var$6 = var$7.data; var$8 = var$2.$length0; var$5 = var$6.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$theIcon6 = $par1IconRegister.$registerIcon(var$4, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockRail_func_94358_a = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par7 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$par7].$canProvidePower() && nms_BlockBaseRailLogic_getNumberOfAdjacentTracks(nms_BlockBaseRailLogic__init_($this, $par1World, $par2, $par3, $par4)) == 3) { $par5 = 0; if (!$par1World.$isRemote) { var$8 = nms_BlockBaseRailLogic__init_($this, $par1World, $par2, $par3, $par4); $ptr = 1; continue main; } } } return; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par2 = $tmp; $ptr = 2; case 2: nms_BlockBaseRailLogic_func_94511_a(var$8, $par2, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, var$8, $ptr); }, nms_BlockLever = $rt_classWithoutFields(nms_Block), nms_BlockLever__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; }, nms_BlockLever__init_ = var_0 => { let var_1 = new nms_BlockLever(); nms_BlockLever__init_0(var_1, var_0); return var_1; }, nms_BlockLever_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockLever_isOpaqueCube = $this => { return 0; }, nms_BlockLever_renderAsNormalBlock = $this => { return 0; }, nms_BlockLever_getRenderType = $this => { return 12; }, nms_BlockLever_canPlaceBlockOnSide = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, var$9; a: { if (!$par5) { var$6 = nms_World_getBlockId($par1World, $par2, $par3 + 1 | 0, $par4); nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $par2 = 1; break a; } } if ($par5 == 1) { var$9 = $par3 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$9, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$9, $par4))) { $par2 = 1; break a; } } if ($par5 == 2) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $par2 = 1; break a; } } if ($par5 == 3) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $par2 = 1; break a; } } if ($par5 == 4) { var$6 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $par2 = 1; break a; } } if ($par5 == 5) { $par2 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); $par1World = nms_Block_blocksList.data[$par2]; if ($par1World === null) $par2 = 0; else { var$7 = $par1World.$blockMaterial; $par2 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; $par2 = $par2 && $par1World.$renderAsNormalBlock() && !$par1World.$canProvidePower() ? 1 : 0; } if ($par2) { $par2 = 1; break a; } } $par2 = 0; } return $par2; }, nms_BlockLever_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7; var$5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { var$5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { var$5 = $par3 - 1 | 0; if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$5, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$5, $par4))) $par2 = 1; else { $par2 = nms_World_getBlockId($par1World, $par2, $par3 + 1 | 0, $par4); $par1World = nms_Block_blocksList.data[$par2]; if ($par1World === null) $par2 = 0; else { var$6 = $par1World.$blockMaterial; $par2 = !var$6.$isTranslucent ? var$6.$blocksMovement() : 0; $par2 = $par2 && $par1World.$renderAsNormalBlock() && !$par1World.$canProvidePower() ? 1 : 0; } } } } } } return $par2; }, nms_BlockLever_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { let $var11, $var12, var$12, var$13; $var11 = $par9 & 8; $var12 = (-1); if (!$par5) { $par9 = nms_World_getBlockId($par1World, $par2, $par3 + 1 | 0, $par4); nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[$par9]; if (var$12 === null) $par9 = 0; else { var$13 = var$12.$blockMaterial; $par9 = !var$13.$isTranslucent ? var$13.$blocksMovement() : 0; $par9 = $par9 && var$12.$renderAsNormalBlock() && !var$12.$canProvidePower() ? 1 : 0; } if ($par9) $var12 = 0; } if ($par5 == 1) { $par9 = $par3 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par9, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par9, $par4))) $var12 = 5; } if ($par5 == 2) { $par9 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[$par9]; if (var$12 === null) $par9 = 0; else { var$13 = var$12.$blockMaterial; $par9 = !var$13.$isTranslucent ? var$13.$blocksMovement() : 0; $par9 = $par9 && var$12.$renderAsNormalBlock() && !var$12.$canProvidePower() ? 1 : 0; } if ($par9) $var12 = 4; } if ($par5 == 3) { $par9 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[$par9]; if (var$12 === null) $par9 = 0; else { var$13 = var$12.$blockMaterial; $par9 = !var$13.$isTranslucent ? var$13.$blocksMovement() : 0; $par9 = $par9 && var$12.$renderAsNormalBlock() && !var$12.$canProvidePower() ? 1 : 0; } if ($par9) $var12 = 3; } if ($par5 == 4) { $par9 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[$par9]; if (var$12 === null) $par9 = 0; else { var$13 = var$12.$blockMaterial; $par9 = !var$13.$isTranslucent ? var$13.$blocksMovement() : 0; $par9 = $par9 && var$12.$renderAsNormalBlock() && !var$12.$canProvidePower() ? 1 : 0; } if ($par9) $var12 = 2; } if ($par5 == 5) { $par2 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); $par1World = nms_Block_blocksList.data[$par2]; if ($par1World === null) $par2 = 0; else { var$12 = $par1World.$blockMaterial; $par2 = !var$12.$isTranslucent ? var$12.$blocksMovement() : 0; $par2 = $par2 && $par1World.$renderAsNormalBlock() && !$par1World.$canProvidePower() ? 1 : 0; } if ($par2) $var12 = 1; } return $var12 + $var11 | 0; }, nms_BlockLever_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let $var7, $var8, $var9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var7 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var8 = $var7 & 7; $var9 = $var7 & 8; switch (1) { case 0: break; case 1: $var7 = 5; break a; case 2: $var7 = 4; break a; case 3: $var7 = 3; break a; case 4: $var7 = 2; break a; case 5: $var7 = 1; break a; default: $var7 = (-1); break a; } $var7 = 0; } if ($var8 == $var7) { var$10 = $par5EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 0.5; $var8 = var$10 | 0; if (var$10 < $var8) $var8 = $var8 - 1 | 0; if ($var8 & 1) { $var7 = 6 | $var9; $var8 = 2; $ptr = 1; continue main; } $var7 = 5 | $var9; $var8 = 2; $ptr = 2; continue main; } b: { switch (0) { case 0: break; case 1: $var7 = 5; break b; case 2: $var7 = 4; break b; case 3: $var7 = 3; break b; case 4: $var7 = 2; break b; case 5: $var7 = 1; break b; default: $var7 = (-1); break b; } $var7 = 0; } if ($var8 != $var7) return; var$10 = $par5EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 0.5; $var8 = var$10 | 0; if (var$10 < $var8) $var8 = $var8 - 1 | 0; if ($var8 & 1) { $var7 = 0 | $var9; $var8 = 2; $ptr = 3; continue main; } $var7 = 7 | $var9; $var8 = 2; $ptr = 4; continue main; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, $var8); if ($rt_suspending()) { break main; } return; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, $var8); if ($rt_suspending()) { break main; } return; case 3: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, $var8); if ($rt_suspending()) { break main; } return; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, $var8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, $var7, $var8, $var9, var$10, $ptr); }, nms_BlockLever_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, $var6, $var7, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!nms_BlockLever_canPlaceBlockAt($this, $par1World, $par2, $par3, $par4)) { $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 1; continue main; } if (1) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 7; $var7 = 0; $par5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } else $par5 = 0; if (!$par5 && $var6 == 1) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 2) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 3) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 4) $var7 = 1; $par5 = $par3 - 1 | 0; if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par5, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par5, $par4)) && $var6 == 5) $var7 = 1; if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par5, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par5, $par4)) && $var6 == 6) $var7 = 1; $par5 = $par3 + 1 | 0; var$6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); var$10 = nms_Block_blocksList.data[var$6]; if (var$10 === null) var$6 = 0; else { var$11 = var$10.$blockMaterial; var$6 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; var$6 = var$6 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!var$6 && !$var6) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par5, $par4); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 7) $var7 = 1; if ($var7) { $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 3; continue main; } } return; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, var$6); if ($rt_suspending()) { break main; } $par5 = 0; var$6 = 0; $var6 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, var$6, $var6); if ($rt_suspending()) { break main; } if (0) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 7; $var7 = 0; $par5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } else $par5 = 0; if (!$par5 && $var6 == 1) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 2) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 3) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 4) $var7 = 1; $par5 = $par3 - 1 | 0; if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par5, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par5, $par4)) && $var6 == 5) $var7 = 1; if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par5, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par5, $par4)) && $var6 == 6) $var7 = 1; $par5 = $par3 + 1 | 0; var$6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); var$10 = nms_Block_blocksList.data[var$6]; if (var$10 === null) var$6 = 0; else { var$11 = var$10.$blockMaterial; var$6 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; var$6 = var$6 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!var$6 && !$var6) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par5, $par4); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 7) $var7 = 1; if ($var7) { $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 3; continue main; } } return; case 3: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, var$6); if ($rt_suspending()) { break main; } $par5 = 0; var$6 = 0; $var6 = 3; $ptr = 4; case 4: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, var$6, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, $var6, $var7, var$10, var$11, $ptr); }, nms_BlockLever_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5; $var5 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) & 7; if ($var5 == 1) { $this.$minX0 = 0.0; $this.$minY0 = 0.20000000298023224; $this.$minZ0 = 0.3125; $this.$maxX0 = 0.375; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 0.6875; } else if ($var5 == 2) { $this.$minX0 = 0.625; $this.$minY0 = 0.20000000298023224; $this.$minZ0 = 0.3125; $this.$maxX0 = 1.0; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 0.6875; } else if ($var5 == 3) { $this.$minX0 = 0.3125; $this.$minY0 = 0.20000000298023224; $this.$minZ0 = 0.0; $this.$maxX0 = 0.6875; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 0.375; } else if ($var5 == 4) { $this.$minX0 = 0.3125; $this.$minY0 = 0.20000000298023224; $this.$minZ0 = 0.625; $this.$maxX0 = 0.6875; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 1.0; } else if (!($var5 != 5 && $var5 != 6)) { $this.$minX0 = 0.25; $this.$minY0 = 0.0; $this.$minZ0 = 0.25; $this.$maxX0 = 0.75; $this.$maxY0 = 0.6000000238418579; $this.$maxZ0 = 0.75; } else if (!($var5 && $var5 != 7)) { $this.$minX0 = 0.25; $this.$minY0 = 0.4000000059604645; $this.$minZ0 = 0.25; $this.$maxX0 = 0.75; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.75; } }, nms_BlockLever_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, $var11, $var12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; $var10 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var11 = $var10 & 7; $var12 = 8 - ($var10 & 8) | 0; $par6 = $var11 + $var12 | 0; $var10 = 3; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par6, $var10); if ($rt_suspending()) { break main; } $par6 = 0; while (true) { $var10 = $rt_compare($par6, $par1World.$worldAccesses.$size0); if ($var10 >= 0) { $par6 = $this.$blockID; var$13 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 2; continue main; } } $var12 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $var12, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 3; continue main; } } var$14 = $par3 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 4; continue main; } } var$15 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 5; continue main; } } $var10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, $par2, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[var$16]; if ($par5EntityPlayer !== null) { $ptr = 6; continue main; } } var$16 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[var$17]; if ($par5EntityPlayer !== null) { $ptr = 7; continue main; } } if ($var11 == 1) { $par2 = $this.$blockID; $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 8; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 27; continue main; } } } else if ($var11 == 2) { $par2 = $this.$blockID; $par6 = $var12 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 9; continue main; } } $par6 = $var12 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 32; continue main; } } } else if ($var11 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 25; continue main; } } $par6 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 31; continue main; } } $par6 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 36; continue main; } } } else if ($var11 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 30; continue main; } } $par6 = var$16 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 35; continue main; } } $par6 = var$16 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 39; continue main; } } } else if (!($var11 != 5 && $var11 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 23; continue main; } } $par6 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 28; continue main; } } $par6 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 40; continue main; } } } else if (!($var11 && $var11 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 34; continue main; } } $par6 = var$15 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 38; continue main; } } $par6 = var$15 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 43; continue main; } } } return 1; } if ($par6 < 0) break; if ($var10 >= 0) break; $par6 = $par6 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 2: $par5EntityPlayer.$onNeighborBlockChange($par1World, var$13, $par3, $par4, $par6); if ($rt_suspending()) { break main; } $var12 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $var12, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 3; continue main; } } var$14 = $par3 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 4; continue main; } } var$15 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 5; continue main; } } $var10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, $par2, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[var$16]; if ($par5EntityPlayer !== null) { $ptr = 6; continue main; } } var$16 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[var$17]; if ($par5EntityPlayer !== null) { $ptr = 7; continue main; } } if ($var11 == 1) { $par2 = $this.$blockID; $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 8; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 27; continue main; } } } else if ($var11 == 2) { $par2 = $this.$blockID; $par6 = $var12 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 9; continue main; } } $par6 = $var12 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 32; continue main; } } } else if ($var11 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 25; continue main; } } $par6 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 31; continue main; } } $par6 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 36; continue main; } } } else if ($var11 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 30; continue main; } } $par6 = var$16 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 35; continue main; } } $par6 = var$16 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 39; continue main; } } } else if (!($var11 != 5 && $var11 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 23; continue main; } } $par6 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 28; continue main; } } $par6 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 40; continue main; } } } else if (!($var11 && $var11 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 34; continue main; } } $par6 = var$15 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 38; continue main; } } $par6 = var$15 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 43; continue main; } } } return 1; case 3: $par5EntityPlayer.$onNeighborBlockChange($par1World, $var12, $par3, $par4, $par6); if ($rt_suspending()) { break main; } var$14 = $par3 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 4; continue main; } } var$15 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 5; continue main; } } $var10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, $par2, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[var$16]; if ($par5EntityPlayer !== null) { $ptr = 6; continue main; } } var$16 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[var$17]; if ($par5EntityPlayer !== null) { $ptr = 7; continue main; } } if ($var11 == 1) { $par2 = $this.$blockID; $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 8; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 27; continue main; } } } else if ($var11 == 2) { $par2 = $this.$blockID; $par6 = $var12 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 9; continue main; } } $par6 = $var12 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 32; continue main; } } } else if ($var11 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 25; continue main; } } $par6 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 31; continue main; } } $par6 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 36; continue main; } } } else if ($var11 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 30; continue main; } } $par6 = var$16 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 35; continue main; } } $par6 = var$16 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 39; continue main; } } } else if (!($var11 != 5 && $var11 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 23; continue main; } } $par6 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 28; continue main; } } $par6 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 40; continue main; } } } else if (!($var11 && $var11 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 34; continue main; } } $par6 = var$15 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 38; continue main; } } $par6 = var$15 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 43; continue main; } } } return 1; case 4: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, var$14, $par4, $par6); if ($rt_suspending()) { break main; } var$15 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 5; continue main; } } $var10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, $par2, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[var$16]; if ($par5EntityPlayer !== null) { $ptr = 6; continue main; } } var$16 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[var$17]; if ($par5EntityPlayer !== null) { $ptr = 7; continue main; } } if ($var11 == 1) { $par2 = $this.$blockID; $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 8; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 27; continue main; } } } else if ($var11 == 2) { $par2 = $this.$blockID; $par6 = $var12 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 9; continue main; } } $par6 = $var12 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 32; continue main; } } } else if ($var11 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 25; continue main; } } $par6 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 31; continue main; } } $par6 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 36; continue main; } } } else if ($var11 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 30; continue main; } } $par6 = var$16 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 35; continue main; } } $par6 = var$16 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 39; continue main; } } } else if (!($var11 != 5 && $var11 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 23; continue main; } } $par6 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 28; continue main; } } $par6 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 40; continue main; } } } else if (!($var11 && $var11 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 34; continue main; } } $par6 = var$15 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 38; continue main; } } $par6 = var$15 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 43; continue main; } } } return 1; case 5: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, var$15, $par4, $par6); if ($rt_suspending()) { break main; } $var10 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$16 = nms_World_getBlockId($par1World, $par2, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[var$16]; if ($par5EntityPlayer !== null) { $ptr = 6; continue main; } } var$16 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[var$17]; if ($par5EntityPlayer !== null) { $ptr = 7; continue main; } } if ($var11 == 1) { $par2 = $this.$blockID; $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 8; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 27; continue main; } } } else if ($var11 == 2) { $par2 = $this.$blockID; $par6 = $var12 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 9; continue main; } } $par6 = $var12 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 32; continue main; } } } else if ($var11 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 25; continue main; } } $par6 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 31; continue main; } } $par6 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 36; continue main; } } } else if ($var11 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 30; continue main; } } $par6 = var$16 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 35; continue main; } } $par6 = var$16 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 39; continue main; } } } else if (!($var11 != 5 && $var11 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 23; continue main; } } $par6 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 28; continue main; } } $par6 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 40; continue main; } } } else if (!($var11 && $var11 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 34; continue main; } } $par6 = var$15 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 38; continue main; } } $par6 = var$15 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 43; continue main; } } } return 1; case 6: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, $par3, $var10, $par6); if ($rt_suspending()) { break main; } var$16 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$17 = nms_World_getBlockId($par1World, $par2, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[var$17]; if ($par5EntityPlayer !== null) { $ptr = 7; continue main; } } if ($var11 == 1) { $par2 = $this.$blockID; $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 8; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 27; continue main; } } } else if ($var11 == 2) { $par2 = $this.$blockID; $par6 = $var12 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 9; continue main; } } $par6 = $var12 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 32; continue main; } } } else if ($var11 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 25; continue main; } } $par6 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 31; continue main; } } $par6 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 36; continue main; } } } else if ($var11 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 30; continue main; } } $par6 = var$16 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 35; continue main; } } $par6 = var$16 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 39; continue main; } } } else if (!($var11 != 5 && $var11 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 23; continue main; } } $par6 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 28; continue main; } } $par6 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 40; continue main; } } } else if (!($var11 && $var11 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 34; continue main; } } $par6 = var$15 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 38; continue main; } } $par6 = var$15 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 43; continue main; } } } return 1; case 7: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, $par3, var$16, $par6); if ($rt_suspending()) { break main; } if ($var11 == 1) { $par2 = $this.$blockID; $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 8; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 27; continue main; } } } else if ($var11 == 2) { $par2 = $this.$blockID; $par6 = $var12 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 9; continue main; } } $par6 = $var12 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 32; continue main; } } } else if ($var11 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 25; continue main; } } $par6 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 31; continue main; } } $par6 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 36; continue main; } } } else if ($var11 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 30; continue main; } } $par6 = var$16 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 35; continue main; } } $par6 = var$16 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 39; continue main; } } } else if (!($var11 != 5 && $var11 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 23; continue main; } } $par6 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 28; continue main; } } $par6 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 40; continue main; } } } else if (!($var11 && $var11 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 34; continue main; } } $par6 = var$15 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 38; continue main; } } $par6 = var$15 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 43; continue main; } } } return 1; case 8: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par6, $par3, $par4, $par2); if ($rt_suspending()) { break main; } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 27; continue main; } } return 1; case 9: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par6, $par3, $par4, $par2); if ($rt_suspending()) { break main; } $par6 = $var12 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 32; continue main; } } return 1; case 10: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par6, $par3, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 27; continue main; } } return 1; case 11: $par5EntityPlayer.$onNeighborBlockChange($par1World, var$13, $par3, $var10, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 25; continue main; } } $par6 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 31; continue main; } } $par6 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 36; continue main; } } return 1; case 12: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par6, $par3, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 32; continue main; } } return 1; case 13: $par5EntityPlayer.$onNeighborBlockChange($par1World, var$13, var$14, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$13, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 27; continue main; } } return 1; case 14: $par5EntityPlayer.$onNeighborBlockChange($par1World, var$13, $par3, var$16, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 30; continue main; } } $par6 = var$16 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 35; continue main; } } $par6 = var$16 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 39; continue main; } } return 1; case 15: $par5EntityPlayer.$onNeighborBlockChange($par1World, $var12, $par3, $var10, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 25; continue main; } } $par6 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 31; continue main; } } $par6 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 36; continue main; } } return 1; case 16: $par5EntityPlayer.$onNeighborBlockChange($par1World, $var12, var$14, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 32; continue main; } } return 1; case 17: $par5EntityPlayer.$onNeighborBlockChange($par1World, var$13, var$15, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 27; continue main; } } return 1; case 18: $par5EntityPlayer.$onNeighborBlockChange($par1World, var$13, var$14, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$14, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 23; continue main; } } $par6 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 28; continue main; } } $par6 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 40; continue main; } } return 1; case 19: $par5EntityPlayer.$onNeighborBlockChange($par1World, $var12, $par3, var$16, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 30; continue main; } } $par6 = var$16 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 35; continue main; } } $par6 = var$16 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 39; continue main; } } return 1; case 20: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, var$14, $var10, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 25; continue main; } } $par6 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 31; continue main; } } $par6 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 36; continue main; } } return 1; case 21: $par5EntityPlayer.$onNeighborBlockChange($par1World, $var12, var$15, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 32; continue main; } } return 1; case 22: $par5EntityPlayer.$onNeighborBlockChange($par1World, var$13, $par3, $var10, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$13, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 27; continue main; } } return 1; case 23: $par5EntityPlayer.$onNeighborBlockChange($par1World, $var12, var$14, $par4, $par3); if ($rt_suspending()) { break main; } $par6 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 28; continue main; } } $par6 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 40; continue main; } } return 1; case 24: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, var$14, var$16, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 30; continue main; } } $par6 = var$16 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 35; continue main; } } $par6 = var$16 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 39; continue main; } } return 1; case 25: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, var$15, $var10, $par4); if ($rt_suspending()) { break main; } $par6 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 31; continue main; } } $par6 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 36; continue main; } } return 1; case 26: $par5EntityPlayer.$onNeighborBlockChange($par1World, $var12, $par3, $var10, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var12, $par3, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 32; continue main; } } return 1; case 27: $par5EntityPlayer.$onNeighborBlockChange($par1World, var$13, $par3, var$16, $par2); if ($rt_suspending()) { break main; } return 1; case 28: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, $par6, $par4, $par3); if ($rt_suspending()) { break main; } $par6 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 40; continue main; } } return 1; case 29: $par5EntityPlayer.$onNeighborBlockChange($par1World, var$13, var$15, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $var12, var$15, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par6]; if ($par5EntityPlayer !== null) { $ptr = 34; continue main; } } $par6 = var$15 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 38; continue main; } } $par6 = var$15 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 43; continue main; } } return 1; case 30: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, var$15, var$16, $par4); if ($rt_suspending()) { break main; } $par6 = var$16 - 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 35; continue main; } } $par6 = var$16 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 39; continue main; } } return 1; case 31: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, $par3, $par6, $par4); if ($rt_suspending()) { break main; } $par6 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 36; continue main; } } return 1; case 32: $par5EntityPlayer.$onNeighborBlockChange($par1World, $var12, $par3, var$16, $par2); if ($rt_suspending()) { break main; } return 1; case 33: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, $par6, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 40; continue main; } } return 1; case 34: $par5EntityPlayer.$onNeighborBlockChange($par1World, $var12, var$15, $par4, $par3); if ($rt_suspending()) { break main; } $par6 = var$15 - 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 38; continue main; } } $par6 = var$15 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 43; continue main; } } return 1; case 35: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, $par3, $par6, $par4); if ($rt_suspending()) { break main; } $par6 = var$16 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, $par6); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var10]; if ($par5EntityPlayer !== null) { $ptr = 39; continue main; } } return 1; case 36: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, $par3, $par6, $par4); if ($rt_suspending()) { break main; } return 1; case 37: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, var$14, $var10, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$14, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 40; continue main; } } return 1; case 38: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, $par6, $par4, $par3); if ($rt_suspending()) { break main; } $par6 = var$15 + 1 | 0; if (!$par1World.$isRemote) { $var11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$var11]; if ($par5EntityPlayer !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 43; continue main; } } return 1; case 39: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, $par3, $par6, $par4); if ($rt_suspending()) { break main; } return 1; case 40: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, var$14, var$16, $par3); if ($rt_suspending()) { break main; } return 1; case 41: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, $par6, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, $var10); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 43; continue main; } } return 1; case 42: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, var$15, $var10, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$15, var$16); nms_Block_$callClinit(); $par5EntityPlayer = nms_Block_blocksList.data[$par4]; if ($par5EntityPlayer !== null) { $ptr = 43; continue main; } } return 1; case 43: $par5EntityPlayer.$onNeighborBlockChange($par1World, $par2, var$15, var$16, $par3); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, $var11, $var12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_BlockLever_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let var$7, var$8, var$9, var$10, var$11, $var7, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var7 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (($par6 & 8) > 0) { $par5 = $this.$blockID; var$7 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 1; continue main; } } var$10 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$10, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 2; continue main; } } var$11 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 3; continue main; } } var$8 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 4; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 5; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 6; continue main; } } $var7 = $par6 & 7; if ($var7 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } } else if ($var7 == 2) { $par2 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($var7 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 24; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } } else if ($var7 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 34; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 38; continue main; } } } else if (!($var7 != 5 && $var7 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 27; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 39; continue main; } } } else if (!($var7 && $var7 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 33; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 37; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 42; continue main; } } } } return; case 1: var$9.$onNeighborBlockChange($par1World, var$7, $par3, $par4, $par5); if ($rt_suspending()) { break main; } var$10 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$10, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 2; continue main; } } var$11 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 3; continue main; } } var$8 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 4; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 5; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 6; continue main; } } $var7 = $par6 & 7; if ($var7 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } } else if ($var7 == 2) { $par2 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($var7 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 24; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } } else if ($var7 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 34; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 38; continue main; } } } else if (!($var7 != 5 && $var7 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 27; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 39; continue main; } } } else if (!($var7 && $var7 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 33; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 37; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 42; continue main; } } } return; case 2: var$9.$onNeighborBlockChange($par1World, var$10, $par3, $par4, $par5); if ($rt_suspending()) { break main; } var$11 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 3; continue main; } } var$8 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 4; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 5; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 6; continue main; } } $var7 = $par6 & 7; if ($var7 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } } else if ($var7 == 2) { $par2 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($var7 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 24; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } } else if ($var7 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 34; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 38; continue main; } } } else if (!($var7 != 5 && $var7 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 27; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 39; continue main; } } } else if (!($var7 && $var7 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 33; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 37; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 42; continue main; } } } return; case 3: var$9.$onNeighborBlockChange($par1World, $par2, var$11, $par4, $par5); if ($rt_suspending()) { break main; } var$8 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 4; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 5; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 6; continue main; } } $var7 = $par6 & 7; if ($var7 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } } else if ($var7 == 2) { $par2 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($var7 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 24; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } } else if ($var7 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 34; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 38; continue main; } } } else if (!($var7 != 5 && $var7 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 27; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 39; continue main; } } } else if (!($var7 && $var7 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 33; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 37; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 42; continue main; } } } return; case 4: var$9.$onNeighborBlockChange($par1World, $par2, var$8, $par4, $par5); if ($rt_suspending()) { break main; } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 5; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 6; continue main; } } $var7 = $par6 & 7; if ($var7 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } } else if ($var7 == 2) { $par2 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($var7 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 24; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } } else if ($var7 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 34; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 38; continue main; } } } else if (!($var7 != 5 && $var7 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 27; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 39; continue main; } } } else if (!($var7 && $var7 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 33; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 37; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 42; continue main; } } } return; case 5: var$9.$onNeighborBlockChange($par1World, $par2, $par3, var$13, $par5); if ($rt_suspending()) { break main; } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$var7]; if (var$9 !== null) { $ptr = 6; continue main; } } $var7 = $par6 & 7; if ($var7 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } } else if ($var7 == 2) { $par2 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($var7 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 24; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } } else if ($var7 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 34; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 38; continue main; } } } else if (!($var7 != 5 && $var7 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 27; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 39; continue main; } } } else if (!($var7 && $var7 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 33; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 37; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 42; continue main; } } } return; case 6: var$9.$onNeighborBlockChange($par1World, $par2, $par3, var$14, $par5); if ($rt_suspending()) { break main; } $var7 = $par6 & 7; if ($var7 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } } else if ($var7 == 2) { $par2 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($var7 == 3) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 24; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } } else if ($var7 == 4) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 34; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 38; continue main; } } } else if (!($var7 != 5 && $var7 != 6)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 27; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 39; continue main; } } } else if (!($var7 && $var7 != 7)) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 33; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 37; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 42; continue main; } } } return; case 7: var$9.$onNeighborBlockChange($par1World, $par5, $par3, $par4, $par2); if ($rt_suspending()) { break main; } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } return; case 8: var$9.$onNeighborBlockChange($par1World, $par5, $par3, $par4, $par2); if ($rt_suspending()) { break main; } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } return; case 9: var$9.$onNeighborBlockChange($par1World, $par5, $par3, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } return; case 10: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$13, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 24; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } return; case 11: var$9.$onNeighborBlockChange($par1World, $par5, $par3, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } return; case 12: var$9.$onNeighborBlockChange($par1World, var$7, var$11, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } return; case 13: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$14, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 34; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 38; continue main; } } return; case 14: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$13, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 24; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } return; case 15: var$9.$onNeighborBlockChange($par1World, var$10, var$11, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } return; case 16: var$9.$onNeighborBlockChange($par1World, var$7, var$8, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } return; case 17: var$9.$onNeighborBlockChange($par1World, var$7, var$11, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 27; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 39; continue main; } } return; case 18: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$14, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 34; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 38; continue main; } } return; case 19: var$9.$onNeighborBlockChange($par1World, $par2, var$11, var$13, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 24; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } return; case 20: var$9.$onNeighborBlockChange($par1World, var$10, var$8, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } return; case 21: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$13, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } return; case 22: var$9.$onNeighborBlockChange($par1World, var$10, var$11, $par4, $par3); if ($rt_suspending()) { break main; } $par5 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 27; continue main; } } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 39; continue main; } } return; case 23: var$9.$onNeighborBlockChange($par1World, $par2, var$11, var$14, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 34; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 38; continue main; } } return; case 24: var$9.$onNeighborBlockChange($par1World, $par2, var$8, var$13, $par4); if ($rt_suspending()) { break main; } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } return; case 25: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$13, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } return; case 26: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$14, $par2); if ($rt_suspending()) { break main; } return; case 27: var$9.$onNeighborBlockChange($par1World, $par2, $par5, $par4, $par3); if ($rt_suspending()) { break main; } $par5 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 39; continue main; } } return; case 28: var$9.$onNeighborBlockChange($par1World, var$7, var$8, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 33; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 37; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 42; continue main; } } return; case 29: var$9.$onNeighborBlockChange($par1World, $par2, var$8, var$14, $par4); if ($rt_suspending()) { break main; } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 34; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 38; continue main; } } return; case 30: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par5, $par4); if ($rt_suspending()) { break main; } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } return; case 31: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$14, $par2); if ($rt_suspending()) { break main; } return; case 32: var$9.$onNeighborBlockChange($par1World, $par2, $par5, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 39; continue main; } } return; case 33: var$9.$onNeighborBlockChange($par1World, var$10, var$8, $par4, $par3); if ($rt_suspending()) { break main; } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 37; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 42; continue main; } } return; case 34: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par5, $par4); if ($rt_suspending()) { break main; } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 38; continue main; } } return; case 35: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par5, $par4); if ($rt_suspending()) { break main; } return; case 36: var$9.$onNeighborBlockChange($par1World, $par2, var$11, var$13, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 39; continue main; } } return; case 37: var$9.$onNeighborBlockChange($par1World, $par2, $par5, $par4, $par3); if ($rt_suspending()) { break main; } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 40; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 42; continue main; } } return; case 38: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par5, $par4); if ($rt_suspending()) { break main; } return; case 39: var$9.$onNeighborBlockChange($par1World, $par2, var$11, var$14, $par3); if ($rt_suspending()) { break main; } return; case 40: var$9.$onNeighborBlockChange($par1World, $par2, $par5, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 41; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 42; continue main; } } return; case 41: var$9.$onNeighborBlockChange($par1World, $par2, var$8, var$13, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$14); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 42; continue main; } } return; case 42: var$9.$onNeighborBlockChange($par1World, $par2, var$8, var$14, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, var$7, var$8, var$9, var$10, var$11, $var7, var$13, var$14, $ptr); }, nms_BlockLever_isProvidingWeakPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return (nms_World_getBlockMetadata($par1IBlockAccess, $par2, $par3, $par4) & 8) <= 0 ? 0 : 15; }, nms_BlockLever_isProvidingStrongPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6, $var7; $var6 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); if (!($var6 & 8)) return 0; a: { $var7 = $var6 & 7; if (!$var7 && !$par5) { $par2 = 15; break a; } if ($var7 == 7 && !$par5) { $par2 = 15; break a; } if ($var7 == 6 && $par5 == 1) { $par2 = 15; break a; } if ($var7 == 5 && $par5 == 1) { $par2 = 15; break a; } if ($var7 == 4 && $par5 == 2) { $par2 = 15; break a; } if ($var7 == 3 && $par5 == 3) { $par2 = 15; break a; } if ($var7 == 2 && $par5 == 4) { $par2 = 15; break a; } if ($var7 == 1 && $par5 == 5) { $par2 = 15; break a; } $par2 = 0; } return $par2; }, nms_BlockLever_canProvidePower = $this => { return 1; }; function nms_BlockBasePressurePlate() { nms_Block.call(this); this.$pressurePlateIconName = null; } let nms_BlockBasePressurePlate_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { nms_BlockBasePressurePlate_func_94353_c_($this, $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4)); }, nms_BlockBasePressurePlate_func_94353_c_ = ($this, $par1) => { if (!($this.$getPowerSupply($par1) <= 0 ? 0 : 1)) { $this.$minX0 = 0.0625; $this.$minY0 = 0.0; $this.$minZ0 = 0.0625; $this.$maxX0 = 0.9375; $this.$maxY0 = 0.0625; $this.$maxZ0 = 0.9375; } else { $this.$minX0 = 0.0625; $this.$minY0 = 0.0; $this.$minZ0 = 0.0625; $this.$maxX0 = 0.9375; $this.$maxY0 = 0.03125; $this.$maxZ0 = 0.9375; } }, nms_BlockBasePressurePlate_tickRate = ($this, $par1World) => { return 20; }, nms_BlockBasePressurePlate_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockBasePressurePlate_isOpaqueCube = $this => { return 0; }, nms_BlockBasePressurePlate_renderAsNormalBlock = $this => { return 0; }, nms_BlockBasePressurePlate_getBlocksMovement = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return 1; }, nms_BlockBasePressurePlate_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { a: { $par3 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par3, $par4))) { $par2 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (!($par2 != nms_Block_fence.$blockID && $par2 != nms_Block_netherFence.$blockID ? 0 : 1)) { $par2 = 0; break a; } } $par2 = 1; } return $par2; }, nms_BlockBasePressurePlate_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; var$7 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$7, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$7, $par4))) { $par5 = nms_World_getBlockId($par1World, $par2, var$7, $par4); if (!($par5 != nms_Block_fence.$blockID && $par5 != nms_Block_netherFence.$blockID ? 0 : 1)) $var6 = 1; } if (!$var6) return; $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$7 = 0; var$8 = 1.0; $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$8, var$7); if ($rt_suspending()) { break main; } $par5 = 0; var$7 = 0; $var6 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, var$7, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, var$7, var$8, $ptr); }, nms_BlockBasePressurePlate_onEntityCollidedWithBlock = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { let $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$par5Entity = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1World.$isRemote) { $var6 = $this.$getPowerSupply(nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)); if (!$var6) { $ptr = 1; continue main; } } return; case 1: nms_BlockBasePressurePlate_setStateIfMobInteractsWithPlate($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Entity, $var6, $ptr); }, nms_BlockBasePressurePlate_setStateIfMobInteractsWithPlate = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $this.$getPlateState($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = $par5 <= 0 ? 0 : 1; $var8 = $var6 <= 0 ? 0 : 1; if ($par5 == $var6) { a: { b: { if (!$var8 && $var7) { $par2 = 0; c: { while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break c; if ($par3 >= 0) break c; $par2 = $par2 + 1 | 0; } break b; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($var8 && !$var7) { $par2 = 0; while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break a; if ($par3 >= 0) break a; $par2 = $par2 + 1 | 0; } } } if ($var8) $this.$tickRate($par1World); return; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6 = $this.$getMetaFromWeight($var6); $par5 = 2; $ptr = 2; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var6, $par5); if ($rt_suspending()) { break main; } $ptr = 3; case 3: nms_BlockBasePressurePlate_func_94354_b_($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par5 = 0; $var6 = $par2 - 1 | 0; var$9 = $par3 - 1 | 0; var$10 = $par4 - 1 | 0; $par2 = $par2 + 1 | 0; var$11 = $par3 + 1 | 0; $par4 = $par4 + 1 | 0; while (true) { var$12 = $par1World.$worldAccesses; $par3 = $rt_compare($par5, var$12.$size0); if ($par3 >= 0) { d: { e: { if (!$var8 && $var7) { $par2 = 0; b: { while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break b; if ($par3 >= 0) break b; $par2 = $par2 + 1 | 0; } break e; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($var8 && !$var7) { $par2 = 0; while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break d; if ($par3 >= 0) break d; $par2 = $par2 + 1 | 0; } } } if ($var8) $this.$tickRate($par1World); return; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($par5 < 0) break; if ($par3 >= 0) break; nms_RenderGlobal_markBlocksForUpdate(var$12.$array.data[$par5], $var6, var$9, var$10, $par2, var$11, $par4); $par5 = $par5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, $var8, var$9, var$10, var$11, var$12, $ptr); }, nms_BlockBasePressurePlate_getSensitiveAABB = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; var$4 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par1 + 0.125; var$6 = $par2; var$7 = $par3 + 0.125; var$8 = ($par1 + 1 | 0) - 0.125; var$9 = var$6 + 0.25; var$10 = ($par3 + 1 | 0) - 0.125; $par2 = var$4.$nextPoolIndex; var$11 = var$4.$listAABB; $par1 = var$11.$size0; $par3 = $rt_compare($par2, $par1); if ($par3 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$5; var$12.$minY = var$6; var$12.$minZ = var$7; var$12.$maxX = var$8; var$12.$maxY = var$9; var$12.$maxZ = var$10; ju_ArrayList_ensureCapacity(var$11, $par1 + 1 | 0); var$13 = var$11.$array.data; $par2 = var$11.$size0; var$11.$size0 = $par2 + 1 | 0; var$13[$par2] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$12 = var$11.$array.data[$par2]; var$12.$minX = var$5; var$12.$minY = var$6; var$12.$minZ = var$7; var$12.$maxX = var$8; var$12.$maxY = var$9; var$12.$maxZ = var$10; } else { var$11 = new jl_IndexOutOfBoundsException; var$11.$suppressionEnabled = 1; var$11.$writableStackTrace = 1; $rt_throw(var$11); } var$4.$nextPoolIndex = var$4.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockBasePressurePlate_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$getPowerSupply($par6) <= 0) return; $ptr = 1; case 1: nms_BlockBasePressurePlate_func_94354_b_($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $ptr); }, nms_BlockBasePressurePlate_func_94354_b_ = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $this.$blockID; var$6 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 1; continue main; } } var$7 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$9]; if (var$8 !== null) { $ptr = 2; continue main; } } var$9 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 3; continue main; } } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$11]; if (var$8 !== null) { $ptr = 4; continue main; } } var$11 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 5; continue main; } } var$12 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 6; continue main; } } $par3 = $this.$blockID; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$6, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$7, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 8; continue main; } } var$7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 9; continue main; } } var$7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 12; continue main; } } return; case 1: var$8.$onNeighborBlockChange($par1World, var$6, $par3, $par4, var$5); if ($rt_suspending()) { break main; } var$7 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$9]; if (var$8 !== null) { $ptr = 2; continue main; } } var$9 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 3; continue main; } } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$11]; if (var$8 !== null) { $ptr = 4; continue main; } } var$11 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 5; continue main; } } var$12 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 6; continue main; } } $par3 = $this.$blockID; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$6, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$7, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 8; continue main; } } var$7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 9; continue main; } } var$7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 12; continue main; } } return; case 2: var$8.$onNeighborBlockChange($par1World, var$7, $par3, $par4, var$5); if ($rt_suspending()) { break main; } var$9 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 3; continue main; } } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$11]; if (var$8 !== null) { $ptr = 4; continue main; } } var$11 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 5; continue main; } } var$12 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 6; continue main; } } $par3 = $this.$blockID; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$6, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$7, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 8; continue main; } } var$7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 9; continue main; } } var$7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 12; continue main; } } return; case 3: var$8.$onNeighborBlockChange($par1World, $par2, var$9, $par4, var$5); if ($rt_suspending()) { break main; } var$10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$10, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$11]; if (var$8 !== null) { $ptr = 4; continue main; } } var$11 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 5; continue main; } } var$12 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 6; continue main; } } $par3 = $this.$blockID; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$6, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$7, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 8; continue main; } } var$7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 9; continue main; } } var$7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 12; continue main; } } return; case 4: var$8.$onNeighborBlockChange($par1World, $par2, var$10, $par4, var$5); if ($rt_suspending()) { break main; } var$11 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 5; continue main; } } var$12 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 6; continue main; } } $par3 = $this.$blockID; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$6, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$7, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 8; continue main; } } var$7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 9; continue main; } } var$7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 12; continue main; } } return; case 5: var$8.$onNeighborBlockChange($par1World, $par2, $par3, var$11, var$5); if ($rt_suspending()) { break main; } var$12 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 6; continue main; } } $par3 = $this.$blockID; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$6, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$7, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 8; continue main; } } var$7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 9; continue main; } } var$7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 12; continue main; } } return; case 6: var$8.$onNeighborBlockChange($par1World, $par2, $par3, var$12, var$5); if ($rt_suspending()) { break main; } $par3 = $this.$blockID; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$6, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$7, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 8; continue main; } } var$7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 9; continue main; } } var$7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 12; continue main; } } return; case 7: var$8.$onNeighborBlockChange($par1World, var$6, var$9, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$7, var$9, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 8; continue main; } } var$7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 9; continue main; } } var$7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 12; continue main; } } return; case 8: var$8.$onNeighborBlockChange($par1World, var$7, var$9, $par4, $par3); if ($rt_suspending()) { break main; } var$7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 9; continue main; } } var$7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 12; continue main; } } return; case 9: var$8.$onNeighborBlockChange($par1World, $par2, var$7, $par4, $par3); if ($rt_suspending()) { break main; } var$7 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$7, $par4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$10]; if (var$8 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 12; continue main; } } return; case 10: var$8.$onNeighborBlockChange($par1World, $par2, var$7, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$11); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 12; continue main; } } return; case 11: var$8.$onNeighborBlockChange($par1World, $par2, var$9, var$11, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$12); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[$par4]; if (var$8 !== null) { $ptr = 12; continue main; } } return; case 12: var$8.$onNeighborBlockChange($par1World, $par2, var$9, var$12, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_BlockBasePressurePlate_isProvidingWeakPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return $this.$getPowerSupply(nms_World_getBlockMetadata($par1IBlockAccess, $par2, $par3, $par4)); }, nms_BlockBasePressurePlate_isProvidingStrongPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return $par5 != 1 ? 0 : $this.$getPowerSupply($par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4)); }, nms_BlockBasePressurePlate_canProvidePower = $this => { return 1; }, nms_BlockBasePressurePlate_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.0; $this.$minY0 = 0.375; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.625; $this.$maxZ0 = 1.0; }, nms_BlockBasePressurePlate_getMobilityFlag = $this => { return 1; }, nms_BlockBasePressurePlate_registerIcons = ($this, $par1IconRegister) => { $this.$blockIcon = $par1IconRegister.$registerIcon($this.$pressurePlateIconName, 1); }; function nms_BlockPressurePlate() { nms_BlockBasePressurePlate.call(this); this.$triggerMobType = null; } let nms_BlockPressurePlate__init_0 = ($this, $par1, $par2Str, $par3Material, $par4EnumMobType) => { nms_Block__init_($this, $par1, $par3Material); $this.$pressurePlateIconName = $par2Str; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; $this.$needsRandomTick = 1; nms_BlockBasePressurePlate_func_94353_c_($this, 1); $this.$triggerMobType = $par4EnumMobType; }, nms_BlockPressurePlate__init_ = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_BlockPressurePlate(); nms_BlockPressurePlate__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_BlockPressurePlate_getMetaFromWeight = ($this, $par1) => { return $par1 <= 0 ? 0 : 1; }, nms_BlockPressurePlate_getPowerSupply = ($this, $par1) => { return $par1 != 1 ? 0 : 15; }, nms_BlockPressurePlate_getPlateState = ($this, $par1World, $par2, $par3, $par4) => { let $var5, $var7, var$7, $var6$index, $var6$index_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6$index_0 = $thread.pop();$var6$index = $thread.pop();var$7 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = null; if ($this.$triggerMobType === nms_EnumMobType_everything) $var5 = nms_World_getEntitiesWithinAABBExcludingEntity($par1World, null, nms_BlockBasePressurePlate_getSensitiveAABB($this, $par2, $par3, $par4), null); if ($this.$triggerMobType === nms_EnumMobType_mobs) { $var5 = $rt_cls(nms_EntityLivingBase); $var7 = nms_BlockBasePressurePlate_getSensitiveAABB($this, $par2, $par3, $par4); var$7 = null; $ptr = 1; continue main; } if ($this.$triggerMobType !== nms_EnumMobType_players) { a: { if ($var5 !== null && !($var5.$size0 ? 0 : 1)) { $var6$index = 0; $par3 = $var5.$modCount; $par4 = $var5.$size(); while (true) { if (!($var6$index >= $par4 ? 0 : 1)) break a; if ($par3 < $var5.$modCount) { $par1World = new ju_ConcurrentModificationException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6$index_0 = $var6$index + 1 | 0; if (!($var5.$get($var6$index)).$doesEntityNotTriggerPressurePlate()) break; $var6$index = $var6$index_0; } return 15; } } return 0; } $var5 = $rt_cls(nms_EntityPlayer); $var7 = nms_BlockBasePressurePlate_getSensitiveAABB($this, $par2, $par3, $par4); var$7 = null; $ptr = 2; continue main; case 1: $tmp = nms_World_selectEntitiesWithinAABB($par1World, $var5, $var7, var$7); if ($rt_suspending()) { break main; } $var5 = $tmp; if ($this.$triggerMobType !== nms_EnumMobType_players) { b: { if ($var5 !== null && !($var5.$size0 ? 0 : 1)) { $var6$index = 0; $par3 = $var5.$modCount; $par4 = $var5.$size(); while (true) { if (!($var6$index >= $par4 ? 0 : 1)) break b; if ($par3 < $var5.$modCount) { $par1World = new ju_ConcurrentModificationException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6$index_0 = $var6$index + 1 | 0; if (!($var5.$get($var6$index)).$doesEntityNotTriggerPressurePlate()) break; $var6$index = $var6$index_0; } return 15; } } return 0; } $var5 = $rt_cls(nms_EntityPlayer); $var7 = nms_BlockBasePressurePlate_getSensitiveAABB($this, $par2, $par3, $par4); var$7 = null; $ptr = 2; case 2: $tmp = nms_World_selectEntitiesWithinAABB($par1World, $var5, $var7, var$7); if ($rt_suspending()) { break main; } $var5 = $tmp; c: { if ($var5 !== null && !($var5.$size0 ? 0 : 1)) { $var6$index = 0; $par3 = $var5.$modCount; $par4 = $var5.$size(); while (true) { if (!($var6$index >= $par4 ? 0 : 1)) break c; if ($par3 < $var5.$modCount) { $par1World = new ju_ConcurrentModificationException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6$index_0 = $var6$index + 1 | 0; if (!($var5.$get($var6$index)).$doesEntityNotTriggerPressurePlate()) break; $var6$index = $var6$index_0; } return 15; } } return 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, $var7, var$7, $var6$index, $var6$index_0, $ptr); }, nms_EnumMobType = $rt_classWithoutFields(jl_Enum), nms_EnumMobType_everything = null, nms_EnumMobType_mobs = null, nms_EnumMobType_players = null, nms_EnumMobType_$VALUES = null, nms_EnumMobType__clinit_ = () => { let var$1, var$2, var$3; var$1 = new nms_EnumMobType; var$1.$name0 = $rt_s(3087); var$1.$ordinal = 0; nms_EnumMobType_everything = var$1; var$2 = new nms_EnumMobType; var$2.$name0 = $rt_s(3088); var$2.$ordinal = 1; nms_EnumMobType_mobs = var$2; var$3 = new nms_EnumMobType; var$3.$name0 = $rt_s(449); var$3.$ordinal = 2; nms_EnumMobType_players = var$3; nms_EnumMobType_$VALUES = $rt_wrapArray(nms_EnumMobType, [var$1, var$2, var$3]); }; function nms_BlockRedstoneOre() { nms_Block.call(this); this.$glowing = 0; } let nms_BlockRedstoneOre__init_0 = ($this, $par1, $par2) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); if ($par2) $this.$needsRandomTick = 1; $this.$glowing = $par2; }, nms_BlockRedstoneOre__init_ = (var_0, var_1) => { let var_2 = new nms_BlockRedstoneOre(); nms_BlockRedstoneOre__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockRedstoneOre_onBlockClicked = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockRedstoneOre_sparkle($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$6 = $this.$blockID; nms_Block_$callClinit(); if (var$6 != nms_Block_oreRedstone.$blockID) return; var$7 = nms_Block_oreRedstoneGlowing.$blockID; var$6 = 0; var$8 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$7, var$6, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, var$6, var$7, var$8, $ptr); }, nms_BlockRedstoneOre_onEntityWalking = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5Entity = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockRedstoneOre_sparkle($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$6 = $this.$blockID; nms_Block_$callClinit(); if (var$6 != nms_Block_oreRedstone.$blockID) return; var$7 = nms_Block_oreRedstoneGlowing.$blockID; var$6 = 0; var$8 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$7, var$6, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Entity, var$6, var$7, var$8, $ptr); }, nms_BlockRedstoneOre_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockRedstoneOre_sparkle($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par6 = $this.$blockID; nms_Block_$callClinit(); if ($par6 != nms_Block_oreRedstone.$blockID) return 0; $par6 = nms_Block_oreRedstoneGlowing.$blockID; var$10 = 0; var$11 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par6, var$10, var$11); if ($rt_suspending()) { break main; } return 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, var$10, var$11, $ptr); }, nms_BlockRedstoneOre_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_redstone.$itemID0; }, nms_BlockRedstoneOre_quantityDroppedWithBonus = ($this, $par1, $par2Random) => { let var$3, var$4, var$5, var$6, var$7; var$3 = nms_BlockRedstoneOre_quantityDropped($this, $par2Random); $par1 = $par1 + 1 | 0; var$4 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); var$6 = $par1 - 1 | 0; if (!($par1 & var$6)) var$7 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt(var$5)), 31)); else while (true) { var$7 = var$5 % $par1 | 0; if (((var$5 - var$7 | 0) + var$6 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } return var$3 + var$7 | 0; }, nms_BlockRedstoneOre_quantityDropped = ($this, $par1Random) => { let var$2; var$2 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$2; return 4 + Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$2, 17)))), 31)) | 0; }, nms_BlockRedstoneOre_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, var$9, var$10, $var8, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var8 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7); if ($rt_suspending()) { break main; } nms_Item_$callClinit(); if (nms_Item_redstone.$itemID0 != $this.$blockID) { var$8 = $par1World.$rand0; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; $par5 = Long_lo(Long_shru(var$9, 17)); while (true) { var$10 = $par5 % 5 | 0; if ((($par5 - var$10 | 0) + 4 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; $par5 = Long_lo(Long_shru(var$9, 17)); } $var8 = 1 + var$10 | 0; if (!$par1World.$isRemote) { var$12 = $par2 + 0.5; var$13 = $par3 + 0.5; var$14 = $par4 + 0.5; if ($var8 > 0) { $par2 = nms_EntityXPOrb_getXPSplit($var8); $var8 = $var8 - $par2 | 0; var$8 = new nms_EntityXPOrb; $ptr = 2; continue main; } } } return; case 2: nms_EntityXPOrb__init_(var$8, $par1World, var$12, var$13, var$14, $par2); if ($rt_suspending()) { break main; } $par2 = nms_World_spawnEntityInWorld($par1World, var$8); var$15 = $par1World.$entityList; ju_HashMap_putImpl(var$15.$backingMap, var$8, var$15); if (!$par2) { var$15 = $par1World.$entitySpawnQueue; ju_HashMap_putImpl(var$15.$backingMap, var$8, var$15); } if ($var8 <= 0) return; $par2 = nms_EntityXPOrb_getXPSplit($var8); $var8 = $var8 - $par2 | 0; var$8 = new nms_EntityXPOrb; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, var$8, var$9, var$10, $var8, var$12, var$13, var$14, var$15, $ptr); }, nms_BlockRedstoneOre_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$glowing) return; $ptr = 1; case 1: nms_BlockRedstoneOre_sparkle($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, $ptr); }, nms_BlockRedstoneOre_sparkle = ($this, $par1World, $par2, $par3, $par4) => { let $var5, $var8, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var6, var$16, var$17, var$18, var$19, $var6_0, var$21, var$22, $var6_1, var$24, var$25, $var6_2, var$27, var$28, $var9, var$30, $var11, $var13, var$33, var$34, var$35, var$36, var$37, var$38, var$39, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$39 = $thread.pop();var$38 = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();var$30 = $thread.pop();$var9 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();$var6_2 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();$var6_1 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var6_0 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var6 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var8 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $par1World.$rand0; $var8 = 0; var$7 = $par2; var$8 = 24; var$9 = $par3; var$10 = $par4; var$11 = $par3 + 1 | 0; var$12 = var$11; var$13 = var$12 + 0.0625; var$14 = $par3 - 1 | 0; $var6 = ($par3 + 0 | 0) - 0.0625; var$16 = $par4 + 1 | 0; var$17 = var$16; var$18 = var$17 + 0.0625; var$19 = $par4 - 1 | 0; $var6_0 = ($par4 + 0 | 0) - 0.0625; var$21 = $par2 + 1 | 0; var$22 = var$21; $var6_1 = var$22 + 0.0625; var$24 = $par2 - 1 | 0; var$25 = ($par2 + 0 | 0) - 0.0625; $var6_2 = $par2; var$27 = $par4; while ($var8 < 6) { var$28 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$28; $var9 = var$7 + Long_lo(Long_shru(var$28, var$8)) / 1.6777216E7; var$30 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$30; $var11 = var$9 + Long_lo(Long_shru(var$30, var$8)) / 1.6777216E7; var$30 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$30; $var13 = var$10 + Long_lo(Long_shru(var$30, var$8)) / 1.6777216E7; if (!$var8) { nms_Block_$callClinit(); var$33 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$11, $par4)]; if (!(var$33 !== null ? var$33.$isOpaqueCube() : 0)) $var11 = var$13; } if ($var8 == 1) { nms_Block_$callClinit(); var$33 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$14, $par4)]; if (!(var$33 !== null ? var$33.$isOpaqueCube() : 0)) $var11 = $var6; } if ($var8 == 2) { nms_Block_$callClinit(); var$33 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par3, var$16)]; if (!(var$33 !== null ? var$33.$isOpaqueCube() : 0)) $var13 = var$18; } if ($var8 == 3) { nms_Block_$callClinit(); var$33 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par3, var$19)]; if (!(var$33 !== null ? var$33.$isOpaqueCube() : 0)) $var13 = $var6_0; } if ($var8 == 4) { nms_Block_$callClinit(); var$33 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, var$21, $par3, $par4)]; if (!(var$33 !== null ? var$33.$isOpaqueCube() : 0)) $var9 = $var6_1; } if ($var8 == 5) { nms_Block_$callClinit(); var$33 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, var$24, $par3, $par4)]; if (!(var$33 !== null ? var$33.$isOpaqueCube() : 0)) $var9 = var$25; } if (!($var9 >= $var6_2 && $var9 <= var$22 && $var11 >= 0.0 && $var11 <= var$12 && $var13 >= var$27 && $var13 <= var$17)) { var$34 = $rt_s(1490); var$35 = 0.0; var$36 = 0.0; var$37 = 0.0; var$38 = 0; var$33 = $par1World.$worldAccesses; var$39 = $rt_compare(var$38, var$33.$size0); if (var$39 < 0) { if (var$38 >= 0 && var$39 < 0) { var$33 = var$33.$array.data[var$38]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } $var8 = $var8 + 1 | 0; } return; case 1: nms_RenderGlobal_doSpawnParticle(var$33, var$34, $var9, $var11, $var13, var$35, var$36, var$37); if ($rt_suspending()) { break main; } var$38 = var$38 + 1 | 0; a: while (true) { var$33 = $par1World.$worldAccesses; var$39 = $rt_compare(var$38, var$33.$size0); if (var$39 < 0) { if (var$38 >= 0 && var$39 < 0) { var$33 = var$33.$array.data[var$38]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= 6) break a; var$28 = Long_and(Long_add(Long_mul($var5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$28; $var9 = var$7 + Long_lo(Long_shru(var$28, var$8)) / 1.6777216E7; var$30 = Long_and(Long_add(Long_mul(var$28, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$30; $var11 = var$9 + Long_lo(Long_shru(var$30, var$8)) / 1.6777216E7; var$30 = Long_and(Long_add(Long_mul(var$30, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var5.$seed = var$30; $var13 = var$10 + Long_lo(Long_shru(var$30, var$8)) / 1.6777216E7; if (!$var8) { nms_Block_$callClinit(); var$33 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$11, $par4)]; if (!(var$33 !== null ? var$33.$isOpaqueCube() : 0)) $var11 = var$13; } if ($var8 == 1) { nms_Block_$callClinit(); var$33 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$14, $par4)]; if (!(var$33 !== null ? var$33.$isOpaqueCube() : 0)) $var11 = $var6; } if ($var8 == 2) { nms_Block_$callClinit(); var$33 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par3, var$16)]; if (!(var$33 !== null ? var$33.$isOpaqueCube() : 0)) $var13 = var$18; } if ($var8 == 3) { nms_Block_$callClinit(); var$33 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par3, var$19)]; if (!(var$33 !== null ? var$33.$isOpaqueCube() : 0)) $var13 = $var6_0; } if ($var8 == 4) { nms_Block_$callClinit(); var$33 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, var$21, $par3, $par4)]; if (!(var$33 !== null ? var$33.$isOpaqueCube() : 0)) $var9 = $var6_1; } if ($var8 == 5) { nms_Block_$callClinit(); var$33 = nms_Block_blocksList.data[nms_World_getBlockId($par1World, var$24, $par3, $par4)]; if (!(var$33 !== null ? var$33.$isOpaqueCube() : 0)) $var9 = var$25; } if ($var9 < $var6_2) break; if ($var9 > var$22) break; if ($var11 < 0.0) break; if ($var11 > var$12) break; if ($var13 < var$27) break; if ($var13 <= var$17) continue; else break; } var$34 = $rt_s(1490); var$35 = 0.0; var$36 = 0.0; var$37 = 0.0; var$38 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, $var8, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var6, var$16, var$17, var$18, var$19, $var6_0, var$21, var$22, $var6_1, var$24, var$25, $var6_2, var$27, var$28, $var9, var$30, $var11, $var13, var$33, var$34, var$35, var$36, var$37, var$38, var$39, $ptr); }; function nms_BlockRedstoneTorch() { nms_BlockTorch.call(this); this.$torchActive = 0; } let nms_BlockRedstoneTorch_redstoneUpdateInfoCache = null, nms_BlockRedstoneTorch__init_0 = ($this, $par1, $par2) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); $this.$needsRandomTick = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; $this.$torchActive = $par2; $this.$needsRandomTick = 1; $this.$displayOnCreativeTab = null; }, nms_BlockRedstoneTorch__init_ = (var_0, var_1) => { let var_2 = new nms_BlockRedstoneTorch(); nms_BlockRedstoneTorch__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockRedstoneTorch_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)) { if ($this.$torchActive) { var$5 = $par3 - 1 | 0; var$6 = $this.$blockID; var$7 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 2; continue main; } } var$10 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 3; continue main; } } var$11 = var$5 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 4; continue main; } } var$11 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 5; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 6; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } var$6 = $par3 + 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 9; continue main; } } var$13 = var$6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } var$13 = var$6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 13; continue main; } } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } } return; } $ptr = 1; case 1: nms_BlockTorch_onBlockAdded($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } if ($this.$torchActive) { var$5 = $par3 - 1 | 0; var$6 = $this.$blockID; var$7 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 2; continue main; } } var$10 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 3; continue main; } } var$11 = var$5 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 4; continue main; } } var$11 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 5; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 6; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } var$6 = $par3 + 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 9; continue main; } } var$13 = var$6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } var$13 = var$6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 13; continue main; } } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } } return; case 2: var$9.$onNeighborBlockChange($par1World, var$7, var$5, $par4, var$6); if ($rt_suspending()) { break main; } var$10 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 3; continue main; } } var$11 = var$5 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 4; continue main; } } var$11 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 5; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 6; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } var$6 = $par3 + 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 9; continue main; } } var$13 = var$6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } var$13 = var$6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 13; continue main; } } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 3: var$9.$onNeighborBlockChange($par1World, var$10, var$5, $par4, var$6); if ($rt_suspending()) { break main; } var$11 = var$5 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 4; continue main; } } var$11 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 5; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 6; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } var$6 = $par3 + 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 9; continue main; } } var$13 = var$6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } var$13 = var$6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 13; continue main; } } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 4: var$9.$onNeighborBlockChange($par1World, $par2, var$11, $par4, var$6); if ($rt_suspending()) { break main; } var$11 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 5; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 6; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } var$6 = $par3 + 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 9; continue main; } } var$13 = var$6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } var$13 = var$6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 13; continue main; } } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 5: var$9.$onNeighborBlockChange($par1World, $par2, var$11, $par4, var$6); if ($rt_suspending()) { break main; } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 6; continue main; } } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } var$6 = $par3 + 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 9; continue main; } } var$13 = var$6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } var$13 = var$6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 13; continue main; } } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 6: var$9.$onNeighborBlockChange($par1World, $par2, var$5, var$12, var$6); if ($rt_suspending()) { break main; } var$11 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } var$6 = $par3 + 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 9; continue main; } } var$13 = var$6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } var$13 = var$6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 13; continue main; } } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 7: var$9.$onNeighborBlockChange($par1World, $par2, var$5, var$11, var$6); if ($rt_suspending()) { break main; } var$6 = $par3 + 1 | 0; var$8 = $this.$blockID; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 9; continue main; } } var$13 = var$6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } var$13 = var$6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 13; continue main; } } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 8: var$9.$onNeighborBlockChange($par1World, var$7, var$6, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 9; continue main; } } var$13 = var$6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } var$13 = var$6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 13; continue main; } } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 9: var$9.$onNeighborBlockChange($par1World, var$10, var$6, $par4, var$8); if ($rt_suspending()) { break main; } var$13 = var$6 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } var$13 = var$6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 13; continue main; } } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 10: var$9.$onNeighborBlockChange($par1World, $par2, var$13, $par4, var$8); if ($rt_suspending()) { break main; } var$13 = var$6 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 13; continue main; } } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 11: var$9.$onNeighborBlockChange($par1World, $par2, var$13, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 13; continue main; } } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 12: var$9.$onNeighborBlockChange($par1World, $par2, var$6, var$12, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 13; continue main; } } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 13: var$9.$onNeighborBlockChange($par1World, $par2, var$6, var$11, var$8); if ($rt_suspending()) { break main; } var$8 = $this.$blockID; var$14 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$14, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 14; continue main; } } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 14: var$9.$onNeighborBlockChange($par1World, var$14, $par3, $par4, var$8); if ($rt_suspending()) { break main; } var$13 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 15: var$9.$onNeighborBlockChange($par1World, var$13, $par3, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 16: var$9.$onNeighborBlockChange($par1World, var$7, var$5, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 17: var$9.$onNeighborBlockChange($par1World, var$7, var$6, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 18: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$12, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 19; continue main; } } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 19: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$11, var$8); if ($rt_suspending()) { break main; } var$8 = $this.$blockID; var$13 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 20; continue main; } } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 20: var$9.$onNeighborBlockChange($par1World, var$13, $par3, $par4, var$8); if ($rt_suspending()) { break main; } var$13 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$13, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 21: var$9.$onNeighborBlockChange($par1World, var$13, $par3, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 22: var$9.$onNeighborBlockChange($par1World, var$10, var$5, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, var$10, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 23: var$9.$onNeighborBlockChange($par1World, var$10, var$6, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 24: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$12, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 25: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$11, var$8); if ($rt_suspending()) { break main; } var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 26: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$12, var$13); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 27: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$12, var$13); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 28: var$9.$onNeighborBlockChange($par1World, $par2, var$5, var$12, var$13); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 29: var$9.$onNeighborBlockChange($par1World, $par2, var$6, var$12, var$13); if ($rt_suspending()) { break main; } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 30: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$13); if ($rt_suspending()) { break main; } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 31; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 31: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$13); if ($rt_suspending()) { break main; } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 32: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$11, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 33: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$11, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$5, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 34: var$9.$onNeighborBlockChange($par1World, $par2, var$5, var$11, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$6, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 35: var$9.$onNeighborBlockChange($par1World, $par2, var$6, var$11, var$8); if ($rt_suspending()) { break main; } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 36; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 36: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$8); if ($rt_suspending()) { break main; } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$5]; if (var$9 !== null) { $ptr = 37; continue main; } } return; case 37: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_BlockRedstoneTorch_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$torchActive) { var$7 = $par3 - 1 | 0; $par5 = $this.$blockID; var$8 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 1; continue main; } } var$10 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 2; continue main; } } $par6 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 3; continue main; } } $par6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 4; continue main; } } var$11 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 5; continue main; } } var$12 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 6; continue main; } } var$13 = $par3 + 1 | 0; $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 9; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 13; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } } return; case 1: var$9.$onNeighborBlockChange($par1World, var$8, var$7, $par4, $par5); if ($rt_suspending()) { break main; } var$10 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 2; continue main; } } $par6 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 3; continue main; } } $par6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 4; continue main; } } var$11 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 5; continue main; } } var$12 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 6; continue main; } } var$13 = $par3 + 1 | 0; $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 9; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 13; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 2: var$9.$onNeighborBlockChange($par1World, var$10, var$7, $par4, $par5); if ($rt_suspending()) { break main; } $par6 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 3; continue main; } } $par6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 4; continue main; } } var$11 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 5; continue main; } } var$12 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 6; continue main; } } var$13 = $par3 + 1 | 0; $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 9; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 13; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 3: var$9.$onNeighborBlockChange($par1World, $par2, $par6, $par4, $par5); if ($rt_suspending()) { break main; } $par6 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 4; continue main; } } var$11 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 5; continue main; } } var$12 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 6; continue main; } } var$13 = $par3 + 1 | 0; $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 9; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 13; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 4: var$9.$onNeighborBlockChange($par1World, $par2, $par6, $par4, $par5); if ($rt_suspending()) { break main; } var$11 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 5; continue main; } } var$12 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 6; continue main; } } var$13 = $par3 + 1 | 0; $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 9; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 13; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 5: var$9.$onNeighborBlockChange($par1World, $par2, var$7, var$11, $par5); if ($rt_suspending()) { break main; } var$12 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 6; continue main; } } var$13 = $par3 + 1 | 0; $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 9; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 13; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 6: var$9.$onNeighborBlockChange($par1World, $par2, var$7, var$12, $par5); if ($rt_suspending()) { break main; } var$13 = $par3 + 1 | 0; $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 7; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 9; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 13; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 7: var$9.$onNeighborBlockChange($par1World, var$8, var$13, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 9; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 13; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 8: var$9.$onNeighborBlockChange($par1World, var$10, var$13, $par4, $par5); if ($rt_suspending()) { break main; } $par6 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 9; continue main; } } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 13; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 9: var$9.$onNeighborBlockChange($par1World, $par2, $par6, $par4, $par5); if ($rt_suspending()) { break main; } $par6 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 13; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 10: var$9.$onNeighborBlockChange($par1World, $par2, $par6, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 13; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 11: var$9.$onNeighborBlockChange($par1World, $par2, var$13, var$11, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 13; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 12: var$9.$onNeighborBlockChange($par1World, $par2, var$13, var$12, $par5); if ($rt_suspending()) { break main; } var$14 = $this.$blockID; $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 13; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 13: var$9.$onNeighborBlockChange($par1World, $par5, $par3, $par4, var$14); if ($rt_suspending()) { break main; } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 14: var$9.$onNeighborBlockChange($par1World, $par5, $par3, $par4, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 15: var$9.$onNeighborBlockChange($par1World, var$8, var$7, $par4, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 16: var$9.$onNeighborBlockChange($par1World, var$8, var$13, $par4, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 17: var$9.$onNeighborBlockChange($par1World, var$8, $par3, var$11, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 18: var$9.$onNeighborBlockChange($par1World, var$8, $par3, var$12, var$14); if ($rt_suspending()) { break main; } var$14 = $this.$blockID; $par5 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 19; continue main; } } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 19: var$9.$onNeighborBlockChange($par1World, $par5, $par3, $par4, var$14); if ($rt_suspending()) { break main; } $par5 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 20: var$9.$onNeighborBlockChange($par1World, $par5, $par3, $par4, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$7, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 21: var$9.$onNeighborBlockChange($par1World, var$10, var$7, $par4, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$13, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 22: var$9.$onNeighborBlockChange($par1World, var$10, var$13, $par4, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 23: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$11, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 24: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$12, var$14); if ($rt_suspending()) { break main; } $par6 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 25: var$9.$onNeighborBlockChange($par1World, var$8, $par3, var$11, $par6); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 26: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$11, $par6); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 27: var$9.$onNeighborBlockChange($par1World, $par2, var$7, var$11, $par6); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$11); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 28: var$9.$onNeighborBlockChange($par1World, $par2, var$13, var$11, $par6); if ($rt_suspending()) { break main; } $par4 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 29: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par6); if ($rt_suspending()) { break main; } $par4 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 30: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par6); if ($rt_suspending()) { break main; } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 31: var$9.$onNeighborBlockChange($par1World, var$8, $par3, var$12, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 32: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$12, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$7, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 33: var$9.$onNeighborBlockChange($par1World, $par2, var$7, var$12, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$13, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 34; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 34: var$9.$onNeighborBlockChange($par1World, $par2, var$13, var$12, $par5); if ($rt_suspending()) { break main; } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 35; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 35: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par6]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 36: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_BlockRedstoneTorch_isProvidingWeakPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6; if (!$this.$torchActive) return 0; $var6 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); return $var6 == 5 && $par5 == 1 ? 0 : $var6 == 3 && $par5 == 3 ? 0 : $var6 == 4 && $par5 == 2 ? 0 : $var6 == 1 && $par5 == 5 ? 0 : $var6 == 2 && $par5 == 4 ? 0 : 15; }, nms_BlockRedstoneTorch_isIndirectlyPowered = ($this, $par1World, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if ($var5 == 5) { var$6 = $par3 - 1 | 0; var$7 = 0; var$8 = nms_World_getBlockId($par1World, $par2, var$6, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$8) { $ptr = 1; continue main; } var$8 = nms_World_getBlockId($par1World, $par2, var$6, $par4); if (var$8) { var$9 = nms_Block_blocksList.data[var$8]; $ptr = 3; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break a; } } if ($var5 == 3) { var$7 = $par4 - 1 | 0; var$6 = 2; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$7); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$8) { $ptr = 2; continue main; } var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$7); if (var$8) { var$9 = nms_Block_blocksList.data[var$8]; $ptr = 5; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break a; } } if ($var5 == 4) { var$6 = $par4 + 1 | 0; var$8 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 4; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 7; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break a; } } if ($var5 == 1) { var$6 = $par2 - 1 | 0; var$8 = 4; var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 6; continue main; } var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 9; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break a; } } if ($var5 == 2) { var$6 = $par2 + 1 | 0; var$7 = 5; $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 === null) $par2 = 0; else { var$10 = var$9.$blockMaterial; $par2 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par2 = $par2 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par2) { $ptr = 8; continue main; } $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if ($par2) { var$9 = nms_Block_blocksList.data[$par2]; $ptr = 10; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break a; } } $par2 = 0; } return $par2; case 1: $tmp = nms_World_getBlockPowerInput($par1World, $par2, var$6, $par4); if ($rt_suspending()) { break main; } var$7 = $tmp; var$7 = var$7 <= 0 ? 0 : 1; b: { if (var$7) $par2 = 1; else { if ($var5 == 3) { var$7 = $par4 - 1 | 0; var$6 = 2; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$7); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$8) { $ptr = 2; continue main; } var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$7); if (var$8) { var$9 = nms_Block_blocksList.data[var$8]; $ptr = 5; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break b; } } if ($var5 == 4) { var$6 = $par4 + 1 | 0; var$8 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 4; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 7; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break b; } } if ($var5 == 1) { var$6 = $par2 - 1 | 0; var$8 = 4; var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 6; continue main; } var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 9; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break b; } } if ($var5 == 2) { var$6 = $par2 + 1 | 0; var$7 = 5; $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 === null) $par2 = 0; else { var$10 = var$9.$blockMaterial; $par2 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par2 = $par2 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par2) { $ptr = 8; continue main; } $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if ($par2) { var$9 = nms_Block_blocksList.data[$par2]; $ptr = 10; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break b; } } $par2 = 0; } } return $par2; case 2: $tmp = nms_World_getBlockPowerInput($par1World, $par2, $par3, var$7); if ($rt_suspending()) { break main; } var$7 = $tmp; var$7 = var$7 <= 0 ? 0 : 1; a: { if (var$7) $par2 = 1; else { if ($var5 == 4) { var$6 = $par4 + 1 | 0; var$8 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 4; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 7; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break a; } } if ($var5 == 1) { var$6 = $par2 - 1 | 0; var$8 = 4; var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 6; continue main; } var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 9; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break a; } } if ($var5 == 2) { var$6 = $par2 + 1 | 0; var$7 = 5; $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 === null) $par2 = 0; else { var$10 = var$9.$blockMaterial; $par2 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par2 = $par2 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par2) { $ptr = 8; continue main; } $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if ($par2) { var$9 = nms_Block_blocksList.data[$par2]; $ptr = 10; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break a; } } $par2 = 0; } } return $par2; case 3: $tmp = var$9.$isProvidingWeakPower($par1World, $par2, var$6, $par4, var$7); if ($rt_suspending()) { break main; } var$7 = $tmp; var$7 = var$7 <= 0 ? 0 : 1; b: { if (var$7) $par2 = 1; else { if ($var5 == 3) { var$7 = $par4 - 1 | 0; var$6 = 2; var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$7); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 === null) var$8 = 0; else { var$10 = var$9.$blockMaterial; var$8 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$8 = var$8 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$8) { $ptr = 2; continue main; } var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$7); if (var$8) { var$9 = nms_Block_blocksList.data[var$8]; $ptr = 5; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break b; } } if ($var5 == 4) { var$6 = $par4 + 1 | 0; var$8 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 4; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 7; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break b; } } if ($var5 == 1) { var$6 = $par2 - 1 | 0; var$8 = 4; var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 6; continue main; } var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 9; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break b; } } if ($var5 == 2) { var$6 = $par2 + 1 | 0; var$7 = 5; $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 === null) $par2 = 0; else { var$10 = var$9.$blockMaterial; $par2 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par2 = $par2 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par2) { $ptr = 8; continue main; } $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if ($par2) { var$9 = nms_Block_blocksList.data[$par2]; $ptr = 10; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break b; } } $par2 = 0; } } return $par2; case 4: $tmp = nms_World_getBlockPowerInput($par1World, $par2, $par3, var$6); if ($rt_suspending()) { break main; } var$7 = $tmp; var$7 = var$7 <= 0 ? 0 : 1; c: { if (var$7) $par2 = 1; else { if ($var5 == 1) { var$6 = $par2 - 1 | 0; var$8 = 4; var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 6; continue main; } var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 9; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break c; } } if ($var5 == 2) { var$6 = $par2 + 1 | 0; var$7 = 5; $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 === null) $par2 = 0; else { var$10 = var$9.$blockMaterial; $par2 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par2 = $par2 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par2) { $ptr = 8; continue main; } $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if ($par2) { var$9 = nms_Block_blocksList.data[$par2]; $ptr = 10; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break c; } } $par2 = 0; } } return $par2; case 5: $tmp = var$9.$isProvidingWeakPower($par1World, $par2, $par3, var$7, var$6); if ($rt_suspending()) { break main; } var$7 = $tmp; var$7 = var$7 <= 0 ? 0 : 1; a: { if (var$7) $par2 = 1; else { if ($var5 == 4) { var$6 = $par4 + 1 | 0; var$8 = 3; var$7 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 4; continue main; } var$7 = nms_World_getBlockId($par1World, $par2, $par3, var$6); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 7; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break a; } } if ($var5 == 1) { var$6 = $par2 - 1 | 0; var$8 = 4; var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 6; continue main; } var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 9; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break a; } } if ($var5 == 2) { var$6 = $par2 + 1 | 0; var$7 = 5; $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 === null) $par2 = 0; else { var$10 = var$9.$blockMaterial; $par2 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par2 = $par2 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par2) { $ptr = 8; continue main; } $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if ($par2) { var$9 = nms_Block_blocksList.data[$par2]; $ptr = 10; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break a; } } $par2 = 0; } } return $par2; case 6: $tmp = nms_World_getBlockPowerInput($par1World, var$6, $par3, $par4); if ($rt_suspending()) { break main; } var$7 = $tmp; var$7 = var$7 <= 0 ? 0 : 1; d: { if (var$7) $par2 = 1; else { if ($var5 == 2) { var$6 = $par2 + 1 | 0; var$7 = 5; $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 === null) $par2 = 0; else { var$10 = var$9.$blockMaterial; $par2 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par2 = $par2 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par2) { $ptr = 8; continue main; } $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if ($par2) { var$9 = nms_Block_blocksList.data[$par2]; $ptr = 10; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break d; } } $par2 = 0; } } return $par2; case 7: $tmp = var$9.$isProvidingWeakPower($par1World, $par2, $par3, var$6, var$8); if ($rt_suspending()) { break main; } var$7 = $tmp; var$7 = var$7 <= 0 ? 0 : 1; c: { if (var$7) $par2 = 1; else { if ($var5 == 1) { var$6 = $par2 - 1 | 0; var$8 = 4; var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 === null) var$7 = 0; else { var$10 = var$9.$blockMaterial; var$7 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; var$7 = var$7 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (var$7) { $ptr = 6; continue main; } var$7 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if (var$7) { var$9 = nms_Block_blocksList.data[var$7]; $ptr = 9; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break c; } } if ($var5 == 2) { var$6 = $par2 + 1 | 0; var$7 = 5; $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 === null) $par2 = 0; else { var$10 = var$9.$blockMaterial; $par2 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par2 = $par2 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par2) { $ptr = 8; continue main; } $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if ($par2) { var$9 = nms_Block_blocksList.data[$par2]; $ptr = 10; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break c; } } $par2 = 0; } } return $par2; case 8: $tmp = nms_World_getBlockPowerInput($par1World, var$6, $par3, $par4); if ($rt_suspending()) { break main; } $par2 = $tmp; return !($par2 <= 0 ? 0 : 1) ? 0 : 1; case 9: $tmp = var$9.$isProvidingWeakPower($par1World, var$6, $par3, $par4, var$8); if ($rt_suspending()) { break main; } var$7 = $tmp; var$7 = var$7 <= 0 ? 0 : 1; d: { if (var$7) $par2 = 1; else { if ($var5 == 2) { var$6 = $par2 + 1 | 0; var$7 = 5; $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 === null) $par2 = 0; else { var$10 = var$9.$blockMaterial; $par2 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par2 = $par2 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par2) { $ptr = 8; continue main; } $par2 = nms_World_getBlockId($par1World, var$6, $par3, $par4); if ($par2) { var$9 = nms_Block_blocksList.data[$par2]; $ptr = 10; continue main; } if (0 <= 0 ? 0 : 1) { $par2 = 1; break d; } } $par2 = 0; } } return $par2; case 10: $tmp = var$9.$isProvidingWeakPower($par1World, var$6, $par3, $par4, var$7); if ($rt_suspending()) { break main; } $par2 = $tmp; return !($par2 <= 0 ? 0 : 1) ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_BlockRedstoneTorch_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockTorch_func_94397_d($this, $par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5) return; $ptr = 2; case 2: $tmp = nms_BlockRedstoneTorch_isIndirectlyPowered($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var6 = $tmp; $par2 = $this.$torchActive; !($par2 && $var6) && !$par2 && $var6; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $ptr); }, nms_BlockRedstoneTorch_isProvidingStrongPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return $par5 ? 0 : nms_BlockRedstoneTorch_isProvidingWeakPower($this, $par1IBlockAccess, $par2, $par3, $par4, $par5); }, nms_BlockRedstoneTorch_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_torchRedstoneActive.$blockID; }, nms_BlockRedstoneTorch_canProvidePower = $this => { return 1; }, nms_BlockRedstoneTorch_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let $var6, $var15, var$8, $var7, $var9, $var13, var$12, $var11, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var11 = $thread.pop();var$12 = $thread.pop();$var13 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();var$8 = $thread.pop();$var15 = $thread.pop();$var6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($this.$torchActive) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var15 = $par2 + 0.5; var$8 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$8; $var7 = $var15 + (Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 - 0.5) * 0.2; $var15 = $par3 + 0.699999988079071; var$8 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$8; $var9 = $var15 + (Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 - 0.5) * 0.2; $var13 = $par4 + 0.5; var$12 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$12; $var11 = $var13 + (Long_lo(Long_shru(var$12, 24)) / 1.6777216E7 - 0.5) * 0.2; if ($var6 == 1) { $par5Random = $rt_s(1490); $var15 = $var7 - 0.27000001072883606; $var13 = $var9 + 0.2199999988079071; var$14 = 0.0; $var9 = 0.0; $var7 = 0.0; $par2 = 0; var$15 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$15.$size0); if ($par3 >= 0) break a; if ($par2 >= 0 && $par3 < 0) { var$15 = var$15.$array.data[$par2]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($var6 == 2) { $par5Random = $rt_s(1490); $var15 = $var7 + 0.27000001072883606; $var13 = $var9 + 0.2199999988079071; var$14 = 0.0; $var9 = 0.0; $var7 = 0.0; $par2 = 0; var$15 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$15.$size0); if ($par3 >= 0) break a; if ($par2 >= 0 && $par3 < 0) { var$15 = var$15.$array.data[$par2]; $ptr = 2; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($var6 == 3) { var$15 = $rt_s(1490); $var13 = $var9 + 0.2199999988079071; $var15 = $var11 - 0.27000001072883606; var$14 = 0.0; $var9 = 0.0; $var11 = 0.0; $par2 = 0; $par5Random = $par1World.$worldAccesses; $par3 = $rt_compare($par2, $par5Random.$size0); if ($par3 >= 0) break a; if ($par2 >= 0 && $par3 < 0) { $par5Random = $par5Random.$array.data[$par2]; $ptr = 3; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($var6 != 4) { var$15 = $rt_s(1490); $var13 = 0.0; $var15 = 0.0; var$14 = 0.0; $par2 = 0; $par5Random = $par1World.$worldAccesses; $par3 = $rt_compare($par2, $par5Random.$size0); if ($par3 >= 0) break a; if ($par2 >= 0 && $par3 < 0) { $par5Random = $par5Random.$array.data[$par2]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par5Random = $rt_s(1490); $var13 = $var9 + 0.2199999988079071; $var15 = $var11 + 0.27000001072883606; var$14 = 0.0; $var9 = 0.0; $var11 = 0.0; $par2 = 0; var$15 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$15.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$15 = var$15.$array.data[$par2]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } } return; case 1: nms_RenderGlobal_doSpawnParticle(var$15, $par5Random, $var15, $var13, $var11, var$14, $var9, $var7); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$15 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$15.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$15 = var$15.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 2: nms_RenderGlobal_doSpawnParticle(var$15, $par5Random, $var15, $var13, $var11, var$14, $var9, $var7); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$15 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$15.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$15 = var$15.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 3: nms_RenderGlobal_doSpawnParticle($par5Random, var$15, $var7, $var13, $var15, var$14, $var9, $var11); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; $par5Random = $par1World.$worldAccesses; $par3 = $rt_compare($par2, $par5Random.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { $par5Random = $par5Random.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 4: nms_RenderGlobal_doSpawnParticle($par5Random, var$15, $var7, $var9, $var11, $var13, $var15, var$14); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; $par5Random = $par1World.$worldAccesses; $par3 = $rt_compare($par2, $par5Random.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { $par5Random = $par5Random.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 5: nms_RenderGlobal_doSpawnParticle(var$15, $par5Random, $var7, $var13, $var15, var$14, $var9, $var11); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$15 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$15.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$15 = var$15.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, $var6, $var15, var$8, $var7, $var9, $var13, var$12, $var11, var$14, var$15, $ptr); }, nms_BlockRedstoneTorch_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Block_$callClinit(); return nms_Block_torchRedstoneActive.$blockID; }, nms_BlockRedstoneTorch__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_BlockRedstoneTorch_redstoneUpdateInfoCache = var$1; }; function nms_BlockButton() { nms_Block.call(this); this.$sensible = 0; } let nms_BlockButton_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockButton_tickRate = ($this, $par1World) => { return !$this.$sensible ? 20 : 30; }, nms_BlockButton_isOpaqueCube = $this => { return 0; }, nms_BlockButton_renderAsNormalBlock = $this => { return 0; }, nms_BlockButton_canPlaceBlockOnSide = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8; a: { if ($par5 == 2) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $par2 = 1; break a; } } if ($par5 == 3) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $par2 = 1; break a; } } if ($par5 == 4) { var$6 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $par2 = 1; break a; } } if ($par5 == 5) { $par2 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); $par1World = nms_Block_blocksList.data[$par2]; if ($par1World === null) $par2 = 0; else { var$7 = $par1World.$blockMaterial; $par2 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; $par2 = $par2 && $par1World.$renderAsNormalBlock() && !$par1World.$canProvidePower() ? 1 : 0; } if ($par2) { $par2 = 1; break a; } } $par2 = 0; } return $par2; }, nms_BlockButton_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7; var$5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { var$5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { $par2 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); $par1World = nms_Block_blocksList.data[$par2]; if ($par1World === null) $par2 = 0; else { var$6 = $par1World.$blockMaterial; $par2 = !var$6.$isTranslucent ? var$6.$blocksMovement() : 0; $par2 = $par2 && $par1World.$renderAsNormalBlock() && !$par1World.$canProvidePower() ? 1 : 0; } } } } return $par2; }, nms_BlockButton_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { let $var11, var$11, var$12; a: { $var11 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 8; if ($par5 == 2) { $par9 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par9]; if (var$11 === null) $par9 = 0; else { var$12 = var$11.$blockMaterial; $par9 = !var$12.$isTranslucent ? var$12.$blocksMovement() : 0; $par9 = $par9 && var$11.$renderAsNormalBlock() && !var$11.$canProvidePower() ? 1 : 0; } if ($par9) { $par2 = 4; break a; } } if ($par5 == 3) { $par9 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par9]; if (var$11 === null) $par9 = 0; else { var$12 = var$11.$blockMaterial; $par9 = !var$12.$isTranslucent ? var$12.$blocksMovement() : 0; $par9 = $par9 && var$11.$renderAsNormalBlock() && !var$11.$canProvidePower() ? 1 : 0; } if ($par9) { $par2 = 3; break a; } } if ($par5 == 4) { $par9 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par9]; if (var$11 === null) $par9 = 0; else { var$12 = var$11.$blockMaterial; $par9 = !var$12.$isTranslucent ? var$12.$blocksMovement() : 0; $par9 = $par9 && var$11.$renderAsNormalBlock() && !var$11.$canProvidePower() ? 1 : 0; } if ($par9) { $par2 = 2; break a; } } if ($par5 == 5) { $par5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 === null) $par5 = 0; else { var$12 = var$11.$blockMaterial; $par5 = !var$12.$isTranslucent ? var$12.$blocksMovement() : 0; $par5 = $par5 && var$11.$renderAsNormalBlock() && !var$11.$canProvidePower() ? 1 : 0; } if ($par5) { $par2 = 1; break a; } } $par2 = nms_BlockButton_getOrientation($this, $par1World, $par2, $par3, $par4); } return $par2 + $var11 | 0; }, nms_BlockButton_getOrientation = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7; var$5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { var$5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 2; else { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 3; else { $par2 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); $par1World = nms_Block_blocksList.data[$par2]; if ($par1World === null) $par2 = 0; else { var$6 = $par1World.$blockMaterial; $par2 = !var$6.$isTranslucent ? var$6.$blocksMovement() : 0; $par2 = $par2 && $par1World.$renderAsNormalBlock() && !$par1World.$canProvidePower() ? 1 : 0; } $par2 = !$par2 ? 1 : 4; } } } return $par2; }, nms_BlockButton_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, var$7, $var7, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!nms_BlockButton_canPlaceBlockAt($this, $par1World, $par2, $par3, $par4)) { $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var6 = 0; var$7 = 1.0; $ptr = 1; continue main; } if (1) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 7; $var7 = 0; $par5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 1) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 2) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 3) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 4) $var7 = 1; if ($var7) { $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var6 = 0; var$7 = 1.0; $ptr = 3; continue main; } } return; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, $var6); if ($rt_suspending()) { break main; } $par5 = 0; $var6 = 0; $var7 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var6, $var7); if ($rt_suspending()) { break main; } if (0) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 7; $var7 = 0; $par5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 1) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 2) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 3) $var7 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 === null) $par5 = 0; else { var$10 = var$9.$blockMaterial; $par5 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par5 = $par5 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if (!$par5 && $var6 == 4) $var7 = 1; if ($var7) { $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var6 = 0; var$7 = 1.0; $ptr = 3; continue main; } } return; case 3: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, $var6); if ($rt_suspending()) { break main; } $par5 = 0; $var6 = 0; $var7 = 3; $ptr = 4; case 4: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var6, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, var$7, $var7, var$9, var$10, $ptr); }, nms_BlockButton_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { nms_BlockButton_func_82534_e($this, $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4)); }, nms_BlockButton_func_82534_e = ($this, $par1) => { let $var2, $var3, $var7, var$5; $var2 = $par1 & 7; $var3 = ($par1 & 8) <= 0 ? 0 : 1; $var7 = 0.125; if ($var3) $var7 = 0.0625; if ($var2 == 1) { $this.$minX0 = 0.0; $this.$minY0 = 0.375; $this.$minZ0 = 0.3125; $this.$maxX0 = $var7; $this.$maxY0 = 0.625; $this.$maxZ0 = 0.6875; } else if ($var2 == 2) { $this.$minX0 = 1.0 - $var7; $this.$minY0 = 0.375; $this.$minZ0 = 0.3125; $this.$maxX0 = 1.0; $this.$maxY0 = 0.625; $this.$maxZ0 = 0.6875; } else if ($var2 == 3) { $this.$minX0 = 0.3125; $this.$minY0 = 0.375; $this.$minZ0 = 0.0; $this.$maxX0 = 0.6875; $this.$maxY0 = 0.625; $this.$maxZ0 = $var7; } else if ($var2 == 4) { var$5 = 1.0 - $var7; $this.$minX0 = 0.3125; $this.$minY0 = 0.375; $this.$minZ0 = var$5; $this.$maxX0 = 0.6875; $this.$maxY0 = 0.625; $this.$maxZ0 = 1.0; } }, nms_BlockButton_onBlockClicked = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer) => { return; }, nms_BlockButton_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, $var11, $var12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var11 = $var10 & 7; $var12 = 8 - ($var10 & 8) | 0; if (!$var12) return 1; $par6 = $var11 + $var12 | 0; $var10 = 3; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par6, $var10); if ($rt_suspending()) { break main; } var$13 = 0; $var10 = $par2 - 1 | 0; $var12 = $par3 - 1 | 0; var$14 = $par4 - 1 | 0; var$15 = $par2 + 1 | 0; var$16 = $par3 + 1 | 0; var$17 = $par4 + 1 | 0; while (true) { $par5EntityPlayer = $par1World.$worldAccesses; $par6 = $par5EntityPlayer.$size0; var$18 = $rt_compare(var$13, $par6); if (var$18 >= 0) { $var10 = 0; while (true) { $var12 = $rt_compare($var10, $par6); if ($var12 >= 0) { $ptr = 2; continue main; } if ($var10 < 0) break; if ($var12 >= 0) break; $var10 = $var10 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if (var$13 < 0) break; if (var$18 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($par5EntityPlayer.$array.data[var$13], $var10, $var12, var$14, var$15, var$16, var$17); var$13 = var$13 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 2: nms_BlockButton_func_82536_d($this, $par1World, $par2, $par3, $par4, $var11); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, $var11, $var12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_BlockButton_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (($par6 & 8) <= 0) return; $var7 = $par6 & 7; $ptr = 1; case 1: nms_BlockButton_func_82536_d($this, $par1World, $par2, $par3, $par4, $var7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, $ptr); }, nms_BlockButton_isProvidingWeakPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return (nms_World_getBlockMetadata($par1IBlockAccess, $par2, $par3, $par4) & 8) <= 0 ? 0 : 15; }, nms_BlockButton_isProvidingStrongPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6, $var7; $var6 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); if (!($var6 & 8)) return 0; $var7 = $var6 & 7; return $var7 == 5 && $par5 == 1 ? 15 : $var7 == 4 && $par5 == 2 ? 15 : $var7 == 3 && $par5 == 3 ? 15 : $var7 == 2 && $par5 == 4 ? 15 : $var7 == 1 && $par5 == 5 ? 15 : 0; }, nms_BlockButton_canProvidePower = $this => { return 1; }, nms_BlockButton_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.3125; $this.$minY0 = 0.375; $this.$minZ0 = 0.375; $this.$maxX0 = 0.6875; $this.$maxY0 = 0.625; $this.$maxZ0 = 0.625; }, nms_BlockButton_onEntityCollidedWithBlock = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5Entity = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1World.$isRemote && $this.$sensible && !(nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 8)) { $ptr = 1; continue main; } return; case 1: nms_BlockButton_func_82535_o($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Entity, $ptr); }, nms_BlockButton_func_82535_o = ($this, $par1World, $par2, $par3, $par4) => { let $var5, $var6, $var7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var9, var$17, var$18, var$19, var$20, $var8, var$22, var$23, var$24, var$25, var$26, var$27, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var8 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var9 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var6 = $var5 & 7; $var7 = !($var5 & 8) ? 0 : 1; nms_BlockButton_func_82534_e($this, $var5); var$8 = $rt_cls(nms_EntityArrow); var$9 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = $par2; var$11 = var$10 + $this.$minX0; var$12 = $par3; var$13 = var$12 + $this.$minY0; var$14 = $par4; var$15 = var$14 + $this.$minZ0; var$10 = var$10 + $this.$maxX0; var$12 = var$12 + $this.$maxY0; var$14 = var$14 + $this.$maxZ0; $var5 = var$9.$nextPoolIndex; $var9 = var$9.$listAABB; var$17 = $var9.$size0; var$18 = $rt_compare($var5, var$17); if (var$18 >= 0) { var$19 = new nms_AxisAlignedBB; var$19.$minX = var$11; var$19.$minY = var$13; var$19.$minZ = var$15; var$19.$maxX = var$10; var$19.$maxY = var$12; var$19.$maxZ = var$14; ju_ArrayList_ensureCapacity($var9, var$17 + 1 | 0); var$20 = $var9.$array.data; var$18 = $var9.$size0; $var9.$size0 = var$18 + 1 | 0; var$20[var$18] = var$19; $var9.$modCount = $var9.$modCount + 1 | 0; } else if ($var5 >= 0 && var$18 < 0) { var$19 = $var9.$array.data[$var5]; var$19.$minX = var$11; var$19.$minY = var$13; var$19.$minZ = var$15; var$19.$maxX = var$10; var$19.$maxY = var$12; var$19.$maxZ = var$14; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$9.$nextPoolIndex = var$9.$nextPoolIndex + 1 | 0; $var9 = null; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB($par1World, var$8, var$19, $var9); if ($rt_suspending()) { break main; } $var9 = $tmp; $var8 = ($var9.$size0 ? 0 : 1) ? 0 : 1; if ($var8 && !$var7) { $var5 = $var6 | 8; var$18 = 3; $ptr = 2; continue main; } if (!$var8 && $var7) { $var5 = 3; $ptr = 4; continue main; } return; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var5, var$18); if ($rt_suspending()) { break main; } $ptr = 3; case 3: nms_BlockButton_func_82536_d($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } var$22 = 0; var$18 = $par2 - 1 | 0; var$17 = $par3 - 1 | 0; var$23 = $par4 - 1 | 0; var$24 = $par2 + 1 | 0; var$25 = $par3 + 1 | 0; var$26 = $par4 + 1 | 0; while (true) { $var9 = $par1World.$worldAccesses; $var5 = $var9.$size0; var$27 = $rt_compare(var$22, $var5); if (var$27 >= 0) { var$18 = 0; while (true) { var$17 = $rt_compare(var$18, $var5); if (var$17 >= 0) { if (!$var8 && $var7) { $var5 = 3; $ptr = 4; continue main; } return; } if (var$18 < 0) break; if (var$17 >= 0) break; var$18 = var$18 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if (var$22 < 0) break; if (var$27 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[var$22], var$18, var$17, var$23, var$24, var$25, var$26); var$22 = var$22 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var6, $var5); if ($rt_suspending()) { break main; } $ptr = 5; case 5: nms_BlockButton_func_82536_d($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $var5 = 0; var$18 = $par2 - 1 | 0; var$17 = $par3 - 1 | 0; var$23 = $par4 - 1 | 0; var$24 = $par2 + 1 | 0; $par3 = $par3 + 1 | 0; var$25 = $par4 + 1 | 0; while (true) { $var9 = $par1World.$worldAccesses; $par4 = $var9.$size0; $par2 = $rt_compare($var5, $par4); if ($par2 >= 0) { $par2 = 0; while (true) { $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) return; if ($par2 < 0) break; if ($par3 >= 0) break; $par2 = $par2 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($var5 < 0) break; if ($par2 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var9.$array.data[$var5], var$18, var$17, var$23, var$24, $par3, var$25); $var5 = $var5 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, $var6, $var7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var9, var$17, var$18, var$19, var$20, $var8, var$22, var$23, var$24, var$25, var$26, var$27, $ptr); }, nms_BlockButton_func_82536_d = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $this.$blockID; var$7 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 1; continue main; } } var$10 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$10, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 2; continue main; } } var$8 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 3; continue main; } } var$11 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 6; continue main; } } if ($par5 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; $par2 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($par5 == 3) { var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 34; continue main; } } } else if ($par5 != 4) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } } else { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } var$8 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 36; continue main; } } } return; case 1: var$9.$onNeighborBlockChange($par1World, var$7, $par3, $par4, var$6); if ($rt_suspending()) { break main; } var$10 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$10, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 2; continue main; } } var$8 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 3; continue main; } } var$11 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 6; continue main; } } if ($par5 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; $par2 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($par5 == 3) { var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 34; continue main; } } } else if ($par5 != 4) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } } else { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } var$8 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 36; continue main; } } } return; case 2: var$9.$onNeighborBlockChange($par1World, var$10, $par3, $par4, var$6); if ($rt_suspending()) { break main; } var$8 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 3; continue main; } } var$11 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 6; continue main; } } if ($par5 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; $par2 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($par5 == 3) { var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 34; continue main; } } } else if ($par5 != 4) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } } else { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } var$8 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 36; continue main; } } } return; case 3: var$9.$onNeighborBlockChange($par1World, $par2, var$8, $par4, var$6); if ($rt_suspending()) { break main; } var$11 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$12 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$12]; if (var$9 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 6; continue main; } } if ($par5 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; $par2 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($par5 == 3) { var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 34; continue main; } } } else if ($par5 != 4) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } } else { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } var$8 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 36; continue main; } } } return; case 4: var$9.$onNeighborBlockChange($par1World, $par2, var$11, $par4, var$6); if ($rt_suspending()) { break main; } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$13 = nms_World_getBlockId($par1World, $par2, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$13]; if (var$9 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 6; continue main; } } if ($par5 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; $par2 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($par5 == 3) { var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 34; continue main; } } } else if ($par5 != 4) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } } else { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } var$8 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 36; continue main; } } } return; case 5: var$9.$onNeighborBlockChange($par1World, $par2, $par3, var$12, var$6); if ($rt_suspending()) { break main; } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 6; continue main; } } if ($par5 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; $par2 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($par5 == 3) { var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 34; continue main; } } } else if ($par5 != 4) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } } else { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } var$8 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 36; continue main; } } } return; case 6: var$9.$onNeighborBlockChange($par1World, $par2, $par3, var$13, var$6); if ($rt_suspending()) { break main; } if ($par5 == 1) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; $par2 = var$10 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 31; continue main; } } } else if ($par5 == 3) { var$13 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 34; continue main; } } } else if ($par5 != 4) { $par3 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } } else { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } var$8 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 36; continue main; } } } return; case 7: var$9.$onNeighborBlockChange($par1World, $par5, $par3, $par4, $par2); if ($rt_suspending()) { break main; } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } return; case 8: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par2 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 31; continue main; } } return; case 9: var$9.$onNeighborBlockChange($par1World, $par5, $par3, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } return; case 10: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$12, var$13); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 34; continue main; } } return; case 11: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 31; continue main; } } return; case 12: var$9.$onNeighborBlockChange($par1World, var$7, var$8, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } return; case 13: var$9.$onNeighborBlockChange($par1World, var$7, var$8, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$10, var$8, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 18; continue main; } } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } return; case 14: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$13, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } var$8 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 15: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$12, var$13); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 34; continue main; } } return; case 16: var$9.$onNeighborBlockChange($par1World, var$10, var$8, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 31; continue main; } } return; case 17: var$9.$onNeighborBlockChange($par1World, var$7, var$11, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } return; case 18: var$9.$onNeighborBlockChange($par1World, var$10, var$8, $par4, $par3); if ($rt_suspending()) { break main; } $par5 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } return; case 19: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$13, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } var$8 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 20: var$9.$onNeighborBlockChange($par1World, $par2, var$8, var$12, var$13); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 34; continue main; } } return; case 21: var$9.$onNeighborBlockChange($par1World, var$10, var$11, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 31; continue main; } } return; case 22: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$12, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 27; continue main; } } return; case 23: var$9.$onNeighborBlockChange($par1World, $par2, $par5, $par4, $par3); if ($rt_suspending()) { break main; } $par5 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$11 = nms_World_getBlockId($par1World, $par2, $par5, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$11]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } return; case 24: var$9.$onNeighborBlockChange($par1World, $par2, var$8, var$13, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 29; continue main; } } var$8 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 25: var$9.$onNeighborBlockChange($par1World, $par2, var$11, var$12, var$13); if ($rt_suspending()) { break main; } $par4 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 30; continue main; } } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 34; continue main; } } return; case 26: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$12, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 31; continue main; } } return; case 27: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$13, $par2); if ($rt_suspending()) { break main; } return; case 28: var$9.$onNeighborBlockChange($par1World, $par2, $par5, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } return; case 29: var$9.$onNeighborBlockChange($par1World, $par2, var$11, var$13, $par5); if ($rt_suspending()) { break main; } var$8 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 33; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 30: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$13); if ($rt_suspending()) { break main; } $par4 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 34; continue main; } } return; case 31: var$9.$onNeighborBlockChange($par1World, var$10, $par3, var$13, $par5); if ($rt_suspending()) { break main; } return; case 32: var$9.$onNeighborBlockChange($par1World, $par2, var$8, var$12, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 35; continue main; } } return; case 33: var$9.$onNeighborBlockChange($par1World, $par2, $par3, var$8, $par5); if ($rt_suspending()) { break main; } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 34: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$13); if ($rt_suspending()) { break main; } return; case 35: var$9.$onNeighborBlockChange($par1World, $par2, var$8, var$13, $par3); if ($rt_suspending()) { break main; } return; case 36: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_BlockButton_registerIcons = ($this, $par1IconRegister) => { return; }, nms_BlockButtonStone = $rt_classWithoutFields(nms_BlockButton), nms_BlockButtonStone__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); $this.$needsRandomTick = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; $this.$sensible = 0; }, nms_BlockButtonStone__init_0 = var_0 => { let var_1 = new nms_BlockButtonStone(); nms_BlockButtonStone__init_(var_1, var_0); return var_1; }, nms_BlockButtonStone_getIcon = ($this, $par1, $par2) => { nms_Block_$callClinit(); return nms_Block_stone.$getIcon(1, 0); }, nms_BlockSnow = $rt_classWithoutFields(nms_Block), nms_BlockSnow__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_snow); $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.125; $this.$maxZ0 = 1.0; $this.$needsRandomTick = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.125; $this.$maxZ0 = 1.0; }, nms_BlockSnow__init_ = var_0 => { let var_1 = new nms_BlockSnow(); nms_BlockSnow__init_0(var_1, var_0); return var_1; }, nms_BlockSnow_registerIcons = ($this, $par1IconRegister) => { $this.$blockIcon = $par1IconRegister.$registerIcon($rt_s(2532), 1); }, nms_BlockSnow_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; $var5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 7; var$6 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$7 = $par2; var$8 = var$7 + $this.$minX0; var$9 = $par3 + $this.$minY0; var$10 = $par4; var$11 = var$10 + $this.$minZ0; var$7 = var$7 + $this.$maxX0; var$12 = $par3 + $var5 * 0.125; var$13 = var$10 + $this.$maxZ0; $par2 = var$6.$nextPoolIndex; $par1World = var$6.$listAABB; $par3 = $par1World.$size0; $par4 = $rt_compare($par2, $par3); if ($par4 >= 0) { var$14 = new nms_AxisAlignedBB; var$14.$minX = var$8; var$14.$minY = var$9; var$14.$minZ = var$11; var$14.$maxX = var$7; var$14.$maxY = var$12; var$14.$maxZ = var$13; ju_ArrayList_ensureCapacity($par1World, $par3 + 1 | 0); var$15 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$15[$par3] = var$14; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par4 < 0) { var$14 = $par1World.$array.data[$par2]; var$14.$minX = var$8; var$14.$minY = var$9; var$14.$minZ = var$11; var$14.$maxX = var$7; var$14.$maxY = var$12; var$14.$maxZ = var$13; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$6.$nextPoolIndex = var$6.$nextPoolIndex + 1 | 0; return var$14; }, nms_BlockSnow_isOpaqueCube = $this => { return 0; }, nms_BlockSnow_renderAsNormalBlock = $this => { return 0; }, nms_BlockSnow_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.125; $this.$maxZ0 = 1.0; }, nms_BlockSnow_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let var$5; var$5 = (2 * (1 + ($par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) & 7) | 0) | 0) / 16.0; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = var$5; $this.$maxZ0 = 1.0; }, nms_BlockSnow_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5, $var5; var$5 = $par3 - 1 | 0; $var5 = nms_World_getBlockId($par1World, $par2, var$5, $par4); if (!$var5) $par2 = 0; else if ($var5 == $this.$blockID && (nms_World_getBlockMetadata($par1World, $par2, var$5, $par4) & 7) == 7) $par2 = 1; else { nms_Block_$callClinit(); if ($var5 != nms_Block_leaves.$blockID && !nms_Block_blocksList.data[$var5].$isOpaqueCube()) $par2 = 0; else { $par2 = nms_World_getBlockId($par1World, $par2, var$5, $par4); if (!$par2) { nms_Material_$callClinit(); $par1World = nms_Material_air; } else $par1World = nms_Block_blocksList.data[$par2].$blockMaterial; $par2 = $par1World.$blocksMovement(); } } return $par2; }, nms_BlockSnow_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nms_BlockSnow_canPlaceBlockAt($this, $par1World, $par2, $par3, $par4)) return; $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, var$6); if ($rt_suspending()) { break main; } var$6 = 0; var$8 = 0; $par5 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$6, var$8, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, $ptr); }, nms_BlockSnow_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_snowball.$itemID0; }, nms_BlockSnow_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockSnow_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return $par5 != 1 ? nms_Block_shouldSideBeRendered($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) : 1; }, nms_BlockIce = $rt_classWithoutFields(nms_BlockBreakable), nms_BlockIce__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_ice); $this.$localFlag = 0; $this.$breakableBlockIcon = $rt_s(2618); $this.$slipperiness = 0.9800000190734863; $this.$needsRandomTick = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockIce__init_ = var_0 => { let var_1 = new nms_BlockIce(); nms_BlockIce__init_0(var_1, var_0); return var_1; }, nms_BlockIce_getRenderBlockPass = $this => { return 1; }, nms_BlockIce_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let var$6, var$7; var$6 = 1 - $par5 | 0; var$7 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); return !$this.$localFlag && var$7 == $this.$blockID ? 0 : nms_Block_shouldSideBeRendered($this, $par1IBlockAccess, $par2, $par3, $par4, var$6); }, nms_BlockIce_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockIce_getMobilityFlag = $this => { return 0; }, nms_BlockSnowBlock = $rt_classWithoutFields(nms_Block), nms_BlockSnowBlock__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_craftedSnow); $this.$needsRandomTick = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockSnowBlock__init_ = var_0 => { let var_1 = new nms_BlockSnowBlock(); nms_BlockSnowBlock__init_0(var_1, var_0); return var_1; }; let nms_BlockSnowBlock_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_snowball.$itemID0; }, nms_BlockSnowBlock_quantityDropped = ($this, $par1Random) => { return 4; }; function nms_BlockCactus() { let a = this; nms_Block.call(a); a.$cactusTopIcon = null; a.$cactusBottomIcon = null; } let nms_BlockCactus__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_cactus); $this.$needsRandomTick = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockCactus__init_0 = var_0 => { let var_1 = new nms_BlockCactus(); nms_BlockCactus__init_(var_1, var_0); return var_1; }, nms_BlockCactus_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; var$5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$6 = $par2 + 0.0625; var$7 = $par3; var$8 = $par4 + 0.0625; var$9 = ($par2 + 1 | 0) - 0.0625; var$10 = ($par3 + 1 | 0) - 0.0625; var$11 = ($par4 + 1 | 0) - 0.0625; $par2 = var$5.$nextPoolIndex; $par1World = var$5.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$7; var$12.$minZ = var$8; var$12.$maxX = var$9; var$12.$maxY = var$10; var$12.$maxZ = var$11; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$13 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$13[$par3] = var$12; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$12 = $par1World.$array.data[$par2]; var$12.$minX = var$6; var$12.$minY = var$7; var$12.$minZ = var$8; var$12.$maxX = var$9; var$12.$maxY = var$10; var$12.$maxZ = var$11; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$5.$nextPoolIndex = var$5.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockCactus_getSelectedBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; var$5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$6 = $par2 + 0.0625; var$7 = $par3; var$8 = $par4 + 0.0625; var$9 = ($par2 + 1 | 0) - 0.0625; var$10 = $par3 + 1 | 0; var$11 = ($par4 + 1 | 0) - 0.0625; $par2 = var$5.$nextPoolIndex; $par1World = var$5.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$7; var$12.$minZ = var$8; var$12.$maxX = var$9; var$12.$maxY = var$10; var$12.$maxZ = var$11; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$13 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$13[$par3] = var$12; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$12 = $par1World.$array.data[$par2]; var$12.$minX = var$6; var$12.$minY = var$7; var$12.$minZ = var$8; var$12.$maxX = var$9; var$12.$maxY = var$10; var$12.$maxZ = var$11; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$5.$nextPoolIndex = var$5.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockCactus_getIcon = ($this, $par1, $par2) => { return $par1 == 1 ? $this.$cactusTopIcon : $par1 ? $this.$blockIcon : $this.$cactusBottomIcon; }, nms_BlockCactus_renderAsNormalBlock = $this => { return 0; }, nms_BlockCactus_isOpaqueCube = $this => { return 0; }, nms_BlockCactus_getRenderType = $this => { return 13; }, nms_BlockCactus_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5; a: { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$5) { nms_Block_$callClinit(); if (!nms_Block_blocksList.data[var$5].$blockMaterial.$replaceable) { var$5 = 0; break a; } } var$5 = 1; } return var$5 ? nms_BlockCactus_canBlockStay($this, $par1World, $par2, $par3, $par4) : 0; }, nms_BlockCactus_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nms_BlockCactus_canBlockStay($this, $par1World, $par2, $par3, $par4)) return; $par5 = 1; $ptr = 1; case 1: nms_World_destroyBlock($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockCactus_canBlockStay = ($this, $par1World, $par2, $par3, $par4) => { let $var5, var$6; $var5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); if (!$var5) { nms_Material_$callClinit(); var$6 = nms_Material_air; } else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[$var5].$blockMaterial; } if (var$6.$isSolid()) return 0; $var5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); if (!$var5) var$6 = nms_Material_air; else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[$var5].$blockMaterial; } if (var$6.$isSolid()) return 0; $var5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); if (!$var5) var$6 = nms_Material_air; else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[$var5].$blockMaterial; } if (var$6.$isSolid()) return 0; $var5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); if (!$var5) var$6 = nms_Material_air; else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[$var5].$blockMaterial; } if (var$6.$isSolid()) return 0; $var5 = nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4); nms_Block_$callClinit(); return $var5 != nms_Block_cactus.$blockID && $var5 != nms_Block_sand.$blockID ? 0 : 1; }, nms_BlockCactus_onEntityCollidedWithBlock = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { let var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$par5Entity = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1World = nms_DamageSource_cactus; var$6 = 1.0; $ptr = 1; case 1: $par5Entity.$attackEntityFrom($par1World, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Entity, var$6, $ptr); }, nms_BlockCactus_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2998)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2999)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$cactusTopIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3017)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$cactusBottomIcon = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockClay = $rt_classWithoutFields(nms_Block), nms_BlockClay__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_clay); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockClay__init_ = var_0 => { let var_1 = new nms_BlockClay(); nms_BlockClay__init_0(var_1, var_0); return var_1; }, nms_BlockClay_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_clay.$itemID0; }, nms_BlockClay_quantityDropped = ($this, $par1Random) => { return 4; }, nms_BlockReed = $rt_classWithoutFields(nms_Block), nms_BlockReed__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_plants); $this.$minX0 = 0.125; $this.$minY0 = 0.0; $this.$minZ0 = 0.125; $this.$maxX0 = 0.875; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.875; $this.$needsRandomTick = 1; }, nms_BlockReed__init_ = var_0 => { let var_1 = new nms_BlockReed(); nms_BlockReed__init_0(var_1, var_0); return var_1; }, nms_BlockReed_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5, $var5, var$7; var$5 = $par3 - 1 | 0; $var5 = nms_World_getBlockId($par1World, $par2, var$5, $par4); if ($var5 == $this.$blockID) $par2 = 1; else { nms_Block_$callClinit(); if ($var5 != nms_Block_grass.$blockID && $var5 != nms_Block_dirt.$blockID && $var5 != nms_Block_sand.$blockID) $par2 = 0; else { $par3 = nms_World_getBlockId($par1World, $par2 - 1 | 0, var$5, $par4); if (!$par3) { nms_Material_$callClinit(); var$7 = nms_Material_air; } else var$7 = nms_Block_blocksList.data[$par3].$blockMaterial; nms_Material_$callClinit(); if (var$7 === nms_Material_water) $par2 = 1; else { $par3 = nms_World_getBlockId($par1World, $par2 + 1 | 0, var$5, $par4); if ((!$par3 ? nms_Material_air : nms_Block_blocksList.data[$par3].$blockMaterial) === nms_Material_water) $par2 = 1; else { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $par4 - 1 | 0); if ((!$par3 ? nms_Material_air : nms_Block_blocksList.data[$par3].$blockMaterial) === nms_Material_water) $par2 = 1; else { $par2 = nms_World_getBlockId($par1World, $par2, var$5, $par4 + 1 | 0); $par2 = (!$par2 ? nms_Material_air : nms_Block_blocksList.data[$par2].$blockMaterial) !== nms_Material_water ? 0 : 1; } } } } } return $par2; }, nms_BlockReed_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nms_BlockReed_canPlaceBlockAt($this, $par1World, $par2, $par3, $par4)) return; $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, var$6); if ($rt_suspending()) { break main; } $par5 = 0; var$6 = 0; var$8 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, var$6, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, $ptr); }, nms_BlockReed_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockReed_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_reed.$itemID0; }, nms_BlockReed_isOpaqueCube = $this => { return 0; }, nms_BlockReed_renderAsNormalBlock = $this => { return 0; }, nms_BlockReed_getRenderType = $this => { return 1; }, nms_BlockReed_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Item_$callClinit(); return nms_Item_reed.$itemID0; }; function nms_BlockJukeBox() { nms_BlockContainer.call(this); this.$theIcon4 = null; } let nms_BlockJukeBox__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_wood); $this.$isBlockContainer = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockJukeBox__init_ = var_0 => { let var_1 = new nms_BlockJukeBox(); nms_BlockJukeBox__init_0(var_1, var_0); return var_1; }, nms_BlockJukeBox_getIcon = ($this, $par1, $par2) => { return $par1 != 1 ? $this.$blockIcon : $this.$theIcon4; }, nms_BlockJukeBox_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)) return 0; $ptr = 1; case 1: nms_BlockJukeBox_ejectRecord($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $ptr); }, nms_BlockJukeBox_ejectRecord = ($this, $par1World, $par2, $par3, $par4) => { let $var15, $var5, $var6, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var7, var$17, $var14, var$19, var$20, var$21, var$22, $var8, $var10, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var14 = $thread.pop();var$17 = $thread.pop();$var7 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var15 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var15 = $tmp; $var5 = $var15; if ($var5 !== null) { $var6 = $var5.$record; if ($var6 !== null) { var$8 = 1005; var$9 = 0; $var15 = null; var$10 = 0; var$11 = $par1World.$worldAccesses; var$12 = $rt_compare(var$10, var$11.$size0); if (var$12 < 0) { if (var$10 >= 0 && var$12 < 0) { var$11 = var$11.$array.data[var$10]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } var$13 = null; var$9 = 0; var$14 = $par2; var$15 = $par3; $var7 = $par4; $var15 = $par1World.$worldAccesses; var$8 = $rt_compare(var$9, $var15.$size0); if (var$8 >= 0) { $var5.$record = null; $ptr = 2; continue main; } if (var$9 >= 0 && var$8 < 0) { $var15 = $var15.$array.data[var$9]; var$11 = nms_ItemRecord_records; if (var$13 === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { var$10 = var$13.$hashCode(); var$17 = var$11.$elementData.data; var$11 = var$17[var$10 & (var$17.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$10) { $var14 = var$11.$key; if (var$13 !== $var14 && !var$13.$equals($var14) ? 0 : 1) break; } var$11 = var$11.$next3; } } var$11 = var$11 === null ? null : var$11.$value1; a: { var$11 = var$11; if (var$13 !== null && var$11 !== null) { $var14 = $var15.$mc5.$ingameGUI; var$19 = var$11.$recordName; var$20 = new jl_StringBuilder; var$20.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$20, var$20.$length0, jl_String_toString($rt_s(1504))); jl_StringBuilder_insert0(var$20, var$20.$length0, var$19 === null ? $rt_s(1) : jl_String_toString(var$19)); var$11 = new jl_String; var$17 = var$20.$buffer; var$21 = var$17.data; var$12 = var$20.$length0; var$8 = var$21.length; if (var$12 >= 0 && var$12 <= (var$8 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$17.data, 0, var$12); var$19 = new jl_StringBuilder; var$19.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$19, var$19.$length0, jl_String_toString($rt_s(1505))); jl_StringBuilder_insert0(var$19, var$19.$length0, jl_String_toString(var$11)); var$11 = new jl_String; var$17 = var$19.$buffer; var$21 = var$17.data; var$10 = var$19.$length0; var$12 = var$21.length; if (var$10 >= 0 && var$10 <= (var$12 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$17.data, 0, var$10); $var14.$recordPlaying = var$11; $var14.$recordPlayingUpFor = 60; $var14.$recordIsPlaying = 1; break a; } $par1World = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1World); $rt_throw($par1World); } $par1World = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1World); $rt_throw($par1World); } } $var15 = $var15.$mc5.$sndManager; var$8 = 0; $ptr = 6; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } return; case 2: nms_TileEntity_onInventoryChanged($var5); if ($rt_suspending()) { break main; } var$9 = 0; var$8 = 2; $ptr = 3; case 3: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$9, var$8); if ($rt_suspending()) { break main; } $var15 = $par1World.$rand0; var$22 = Long_and(Long_add(Long_mul($var15.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var15.$seed = var$22; $var8 = Long_lo(Long_shru(var$22, 24)) / 1.6777216E7 * 0.699999988079071 + 0.15000000596046448; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var15.$seed = var$22; $var10 = Long_lo(Long_shru(var$22, 24)) / 1.6777216E7 * 0.699999988079071 + 0.06000000238418579 + 0.6; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var15.$seed = var$22; $var12 = Long_lo(Long_shru(var$22, 24)) / 1.6777216E7 * 0.699999988079071 + 0.15000000596046448; $var14 = new nms_ItemStack; var$9 = $var6.$itemID; var$8 = $var6.$stackSize; var$10 = $var6.$itemDamage; nms_ItemStack_$callClinit(); $var14.$itemID = var$9; $var14.$stackSize = var$8; $var14.$itemDamage = var$10; if (var$10 < 0) $var14.$itemDamage = 0; $var6 = $var6.$stackTagCompound; if ($var6 !== null) { $var5 = new nms_NBTTagCompound; $var15 = $var6.$name; if ($var15 === null) $var15 = $rt_s(18); $var5.$name = $var15; $var15 = new ju_HashMap; var$9 = ju_HashMap_calculateCapacity(16); $var15.$elementCount = 0; var$21 = $rt_createArray(ju_HashMap$HashEntry, var$9); var$17 = var$21.data; $var15.$elementData = var$21; $var15.$loadFactor = 0.75; $var15.$threshold = var$17.length * 0.75 | 0; $var5.$tagMap = $var15; var$11 = $var6.$tagMap; if (var$11.$cachedKeySet === null) { $var15 = new ju_HashMap$1; $var15.$this$0 = var$11; var$11.$cachedKeySet = $var15; } var$13 = var$11.$cachedKeySet.$iterator(); while (var$13.$hasNext()) { var$19 = var$13.$next(); $var15 = $var6.$tagMap; if (var$19 === null) { var$20 = $var15.$elementData.data[0]; while (var$20 !== null && var$20.$key !== null) { var$20 = var$20.$next3; } } else { b: { if (!var$19.$hashCode1) { var$9 = 0; while (true) { if (var$9 >= var$19.$nativeString.length) break b; var$19.$hashCode1 = (31 * var$19.$hashCode1 | 0) + var$19.$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$8 = var$19.$hashCode1; var$17 = $var15.$elementData.data; var$20 = var$17[var$8 & (var$17.length - 1 | 0)]; while (var$20 !== null) { if (var$20.$origKeyHash == var$8) { c: { $var15 = var$20.$key; if (var$19 !== $var15) { if (var$19 === $var15) var$9 = 1; else if (!($var15 instanceof jl_String)) var$9 = 0; else { $var15 = $var15; var$9 = var$19.$nativeString !== $var15.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break c; } } var$9 = 1; } if (var$9) break; } var$20 = var$20.$next3; } } $var15 = var$20 === null ? null : var$20.$value1; $var15 = $var15.$copy(); var$11 = $var5.$tagMap; if (var$19 !== null) $var15.$name = var$19; else $var15.$name = $rt_s(18); ju_HashMap_putImpl(var$11, var$19, $var15); } $var14.$stackTagCompound = $var5; } $var15 = new nms_EntityItem; $var8 = $par2 + $var8; $var10 = $par3 + $var10; $var12 = $par4 + $var12; $ptr = 5; continue main; case 4: nms_RenderGlobal_playAuxSFX(var$11, $var15, var$8, $par2, $par3, $par4, var$9); if ($rt_suspending()) { break main; } var$10 = var$10 + 1 | 0; var$11 = $par1World.$worldAccesses; var$12 = $rt_compare(var$10, var$11.$size0); if (var$12 < 0) { if (var$10 >= 0 && var$12 < 0) { var$11 = var$11.$array.data[var$10]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } var$13 = null; var$9 = 0; var$14 = $par2; var$15 = $par3; $var7 = $par4; $var15 = $par1World.$worldAccesses; var$8 = $rt_compare(var$9, $var15.$size0); if (var$8 >= 0) { $var5.$record = null; $ptr = 2; continue main; } if (var$9 >= 0 && var$8 < 0) { $var15 = $var15.$array.data[var$9]; var$11 = nms_ItemRecord_records; if (var$13 === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { var$10 = var$13.$hashCode(); var$17 = var$11.$elementData.data; var$11 = var$17[var$10 & (var$17.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$10) { $var14 = var$11.$key; if (var$13 !== $var14 && !var$13.$equals($var14) ? 0 : 1) break; } var$11 = var$11.$next3; } } var$11 = var$11 === null ? null : var$11.$value1; d: { var$11 = var$11; if (var$13 !== null && var$11 !== null) { $var14 = $var15.$mc5.$ingameGUI; var$19 = var$11.$recordName; var$20 = new jl_StringBuilder; var$20.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$20, var$20.$length0, jl_String_toString($rt_s(1504))); jl_StringBuilder_insert0(var$20, var$20.$length0, var$19 === null ? $rt_s(1) : jl_String_toString(var$19)); var$11 = new jl_String; var$17 = var$20.$buffer; var$21 = var$17.data; var$12 = var$20.$length0; var$8 = var$21.length; if (var$12 >= 0 && var$12 <= (var$8 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$17.data, 0, var$12); var$19 = new jl_StringBuilder; var$19.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$19, var$19.$length0, jl_String_toString($rt_s(1505))); jl_StringBuilder_insert0(var$19, var$19.$length0, jl_String_toString(var$11)); var$11 = new jl_String; var$17 = var$19.$buffer; var$21 = var$17.data; var$10 = var$19.$length0; var$12 = var$21.length; if (var$10 >= 0 && var$10 <= (var$12 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$17.data, 0, var$10); $var14.$recordPlaying = var$11; $var14.$recordPlayingUpFor = 60; $var14.$recordIsPlaying = 1; break d; } $par1World = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1World); $rt_throw($par1World); } $par1World = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1World); $rt_throw($par1World); } } $var15 = $var15.$mc5.$sndManager; var$8 = 0; $ptr = 6; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 5: nms_EntityItem__init_($var15, $par1World, $var8, $var10, $var12); if ($rt_suspending()) { break main; } var$13 = $var15.$dataWatcher; var$11 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[138]; if ($var5 === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { $par4 = $var5.$value0; var$17 = var$11.$elementData.data; var$11 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == $par4) { $var6 = var$11.$key; if ($var5 !== $var6 && !jl_Integer_equals($var5, $var6) ? 0 : 1) break; } var$11 = var$11.$next3; } } $var6 = var$11 === null ? null : var$11.$value1; if (!($var14 !== $var6.$watchedObject ? 0 : 1)) { $var6.$watchedObject = $var14; $var6.$watched = 1; var$13.$objectChanged = 1; } $var5 = $var15.$dataWatcher; var$11 = $var5.$watchedObjects; jl_Integer_ensureIntegerCache(); $var6 = jl_Integer_integerCache.data[138]; if ($var6 === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { $par4 = $var6.$value0; var$17 = var$11.$elementData.data; var$11 = var$17[$par4 & (var$17.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == $par4) { $var14 = var$11.$key; if ($var6 !== $var14 && !jl_Integer_equals($var6, $var14) ? 0 : 1) break; } var$11 = var$11.$next3; } } (var$11 === null ? null : var$11.$value1).$watched = 1; $var5.$objectChanged = 1; $var15.$delayBeforeCanPickup = 10; $par2 = nms_World_spawnEntityInWorld($par1World, $var15); var$11 = $par1World.$entityList; ju_HashMap_putImpl(var$11.$backingMap, $var15, var$11); if (!$par2) { $par1World = $par1World.$entitySpawnQueue; ju_HashMap_putImpl($par1World.$backingMap, $var15, $par1World); } return; case 6: nms_SoundManager_playStreaming($var15, var$13, var$14, var$15, $var7, var$8); if ($rt_suspending()) { break main; } var$9 = var$9 + 1 | 0; $var15 = $par1World.$worldAccesses; var$8 = $rt_compare(var$9, $var15.$size0); if (var$8 >= 0) { $var5.$record = null; $ptr = 2; continue main; } if (var$9 >= 0 && var$8 < 0) { $var15 = $var15.$array.data[var$9]; var$11 = nms_ItemRecord_records; if (var$13 === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { var$10 = var$13.$hashCode(); var$17 = var$11.$elementData.data; var$11 = var$17[var$10 & (var$17.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$10) { $var14 = var$11.$key; if (var$13 !== $var14 && !var$13.$equals($var14) ? 0 : 1) break; } var$11 = var$11.$next3; } } var$11 = var$11 === null ? null : var$11.$value1; c: { var$11 = var$11; if (var$13 !== null && var$11 !== null) { $var14 = $var15.$mc5.$ingameGUI; var$19 = var$11.$recordName; var$20 = new jl_StringBuilder; var$20.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$20, var$20.$length0, jl_String_toString($rt_s(1504))); jl_StringBuilder_insert0(var$20, var$20.$length0, var$19 === null ? $rt_s(1) : jl_String_toString(var$19)); var$11 = new jl_String; var$17 = var$20.$buffer; var$21 = var$17.data; var$12 = var$20.$length0; var$8 = var$21.length; if (var$12 >= 0 && var$12 <= (var$8 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$17.data, 0, var$12); var$19 = new jl_StringBuilder; var$19.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$19, var$19.$length0, jl_String_toString($rt_s(1505))); jl_StringBuilder_insert0(var$19, var$19.$length0, jl_String_toString(var$11)); var$11 = new jl_String; var$17 = var$19.$buffer; var$21 = var$17.data; var$10 = var$19.$length0; var$12 = var$21.length; if (var$10 >= 0 && var$10 <= (var$12 - 0 | 0)) { var$11.$nativeString = $rt_charArrayToString(var$17.data, 0, var$10); $var14.$recordPlaying = var$11; $var14.$recordPlayingUpFor = 60; $var14.$recordIsPlaying = 1; break c; } $par1World = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1World); $rt_throw($par1World); } $par1World = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1World); $rt_throw($par1World); } } $var15 = $var15.$mc5.$sndManager; var$8 = 0; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var15, $var5, $var6, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var7, var$17, $var14, var$19, var$20, var$21, var$22, $var8, $var10, $var12, $ptr); }, nms_BlockJukeBox_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockJukeBox_ejectRecord($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_World_removeBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $ptr); }, nms_BlockJukeBox_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $par7 = 0; $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $ptr); }, nms_BlockJukeBox_createNewTileEntity = ($this, $par1World) => { $par1World = new nms_TileEntityRecordPlayer; nms_TileEntity_$callClinit(); $par1World.$blockMetadata = (-1); return $par1World; }, nms_BlockJukeBox_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2998)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2999)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$theIcon4 = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockJukeBox_hasComparatorInputOverride = $this => { return 1; }, nms_BlockJukeBox_getComparatorInputOverride = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; $var6 = $par1World.$record; if ($var6 === null) $par2 = 0; else { $par2 = $var6.$itemID + 1 | 0; nms_Item_$callClinit(); $par2 = $par2 - nms_Item_record13.$itemID0 | 0; } return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $ptr); }; function nms_BlockFence() { nms_Block.call(this); this.$field_94464_a = null; } let nms_BlockFence__init_0 = ($this, $par1, $par2Str, $par3Material) => { nms_Block__init_($this, $par1, $par3Material); $this.$field_94464_a = $par2Str; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockFence__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_BlockFence(); nms_BlockFence__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_BlockFence_addCollisionBoxesToList = ($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity) => { let $var8, $var9, $var10, $var11, $var12, $var13, $var14, $var15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$par7Entity = $thread.pop();$par6List = $thread.pop();$par5AxisAlignedBB = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = nms_BlockFence_canConnectFenceTo($this, $par1World, $par2, $par3, $par4 - 1 | 0); $var9 = nms_BlockFence_canConnectFenceTo($this, $par1World, $par2, $par3, $par4 + 1 | 0); $var10 = nms_BlockFence_canConnectFenceTo($this, $par1World, $par2 - 1 | 0, $par3, $par4); $var11 = nms_BlockFence_canConnectFenceTo($this, $par1World, $par2 + 1 | 0, $par3, $par4); $var12 = 0.375; $var13 = 0.625; $var14 = 0.375; $var15 = 0.625; if ($var8) $var14 = 0.0; if ($var9) $var15 = 1.0; if (!(!$var8 && !$var9)) { $this.$minX0 = 0.375; $this.$minY0 = 0.0; $this.$minZ0 = $var14; $this.$maxX0 = 0.625; $this.$maxY0 = 1.5; $this.$maxZ0 = $var15; $par7Entity = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$16 = $par2; var$17 = var$16 + $this.$minX0; var$18 = $par3; var$19 = var$18 + $this.$minY0; var$20 = $par4; var$21 = var$20 + $this.$minZ0; var$22 = var$16 + $this.$maxX0; var$18 = var$18 + $this.$maxY0; var$20 = var$20 + $this.$maxZ0; var$23 = $par7Entity.$nextPoolIndex; $par1World = $par7Entity.$listAABB; var$24 = $par1World.$size0; var$25 = $rt_compare(var$23, var$24); if (var$25 >= 0) { var$26 = new nms_AxisAlignedBB; var$26.$minX = var$17; var$26.$minY = var$19; var$26.$minZ = var$21; var$26.$maxX = var$22; var$26.$maxY = var$18; var$26.$maxZ = var$20; ju_ArrayList_ensureCapacity($par1World, var$24 + 1 | 0); var$27 = $par1World.$array.data; var$24 = $par1World.$size0; $par1World.$size0 = var$24 + 1 | 0; var$27[var$24] = var$26; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if (var$23 >= 0 && var$25 < 0) { var$26 = $par1World.$array.data[var$23]; var$26.$minX = var$17; var$26.$minY = var$19; var$26.$minZ = var$21; var$26.$maxX = var$22; var$26.$maxY = var$18; var$26.$maxZ = var$20; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } $par7Entity.$nextPoolIndex = $par7Entity.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, var$26)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$27 = $par6List.$array.data; var$24 = $par6List.$size0; $par6List.$size0 = var$24 + 1 | 0; var$27[var$24] = var$26; $par6List.$modCount = $par6List.$modCount + 1 | 0; } } $var14 = 0.375; $var15 = 0.625; if ($var10) $var12 = 0.0; if ($var11) $var13 = 1.0; a: { if (!$var10 && !$var11) { if ($var8) break a; if ($var9) break a; } $this.$minX0 = $var12; $this.$minY0 = 0.0; $this.$minZ0 = 0.375; $this.$maxX0 = $var13; $this.$maxY0 = 1.5; $this.$maxZ0 = 0.625; var$26 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$17 = $par2; var$18 = var$17 + $this.$minX0; var$19 = $par3; var$20 = var$19 + $this.$minY0; var$21 = $par4; var$22 = var$21 + $this.$minZ0; var$17 = var$17 + $this.$maxX0; var$19 = var$19 + $this.$maxY0; var$21 = var$21 + $this.$maxZ0; $par2 = var$26.$nextPoolIndex; $par1World = var$26.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$18; $par7Entity.$minY = var$20; $par7Entity.$minZ = var$22; $par7Entity.$maxX = var$17; $par7Entity.$maxY = var$19; $par7Entity.$maxZ = var$21; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$27 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$27[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$18; $par7Entity.$minY = var$20; $par7Entity.$minZ = var$22; $par7Entity.$maxX = var$17; $par7Entity.$maxY = var$19; $par7Entity.$maxZ = var$21; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$26.$nextPoolIndex = var$26.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$27 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$27[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } } if ($var8) $var14 = 0.0; if ($var9) $var15 = 1.0; $this.$minX0 = $var12; $this.$minY0 = 0.0; $this.$minZ0 = $var14; $this.$maxX0 = $var13; $this.$maxY0 = 1.0; $this.$maxZ0 = $var15; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity, $var8, $var9, $var10, $var11, $var12, $var13, $var14, $var15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, $ptr); }, nms_BlockFence_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12; $var5 = nms_BlockFence_canConnectFenceTo($this, $par1IBlockAccess, $par2, $par3, $par4 - 1 | 0); $var6 = nms_BlockFence_canConnectFenceTo($this, $par1IBlockAccess, $par2, $par3, $par4 + 1 | 0); $var7 = nms_BlockFence_canConnectFenceTo($this, $par1IBlockAccess, $par2 - 1 | 0, $par3, $par4); $var8 = nms_BlockFence_canConnectFenceTo($this, $par1IBlockAccess, $par2 + 1 | 0, $par3, $par4); $var9 = 0.375; $var10 = 0.625; $var11 = 0.375; $var12 = 0.625; if ($var5) $var11 = 0.0; if ($var6) $var12 = 1.0; if ($var7) $var9 = 0.0; if ($var8) $var10 = 1.0; $this.$minX0 = $var9; $this.$minY0 = 0.0; $this.$minZ0 = $var11; $this.$maxX0 = $var10; $this.$maxY0 = 1.0; $this.$maxZ0 = $var12; }, nms_BlockFence_isOpaqueCube = $this => { return 0; }, nms_BlockFence_renderAsNormalBlock = $this => { return 0; }, nms_BlockFence_getBlocksMovement = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return 0; }, nms_BlockFence_getRenderType = $this => { return 11; }, nms_BlockFence_canConnectFenceTo = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6; $var5 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); if ($var5 != $this.$blockID) { nms_Block_$callClinit(); if ($var5 != nms_Block_fenceGate.$blockID) { a: { $var6 = nms_Block_blocksList.data[$var5]; if ($var6 !== null) { $par1IBlockAccess = $var6.$blockMaterial; if ((!$par1IBlockAccess.$isTranslucent ? $par1IBlockAccess.$blocksMovement() : 0) && $var6.$renderAsNormalBlock()) { $par1IBlockAccess = $var6.$blockMaterial; nms_Material_$callClinit(); if ($par1IBlockAccess === nms_Material_pumpkin) { $par2 = 0; break a; } $par2 = 1; break a; } } $par2 = 0; } return $par2; } } return 1; }, nms_BlockFence_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return 1; }, nms_BlockFence_registerIcons = ($this, $par1IconRegister) => { $this.$blockIcon = $par1IconRegister.$registerIcon($this.$field_94464_a, 1); }, nms_BlockFence_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; $ptr = 1; case 1: $tmp = nms_ItemLeash_func_135066_a($par5EntityPlayer, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $ptr); }; function nms_BlockPumpkin() { let a = this; nms_BlockDirectional.call(a); a.$blockType1 = 0; a.$field_94474_b = null; a.$field_94475_c = null; } let nms_BlockPumpkin__init_0 = ($this, $par1, $par2) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_pumpkin); $this.$needsRandomTick = 1; $this.$blockType1 = $par2; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockPumpkin__init_ = (var_0, var_1) => { let var_2 = new nms_BlockPumpkin(); nms_BlockPumpkin__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockPumpkin_getIcon = ($this, $par1, $par2) => { return $par1 == 1 ? $this.$field_94474_b : !$par1 ? $this.$field_94474_b : $par2 == 2 && $par1 == 2 ? $this.$field_94475_c : $par2 == 3 && $par1 == 5 ? $this.$field_94475_c : !$par2 && $par1 == 3 ? $this.$field_94475_c : $par2 == 1 && $par1 == 4 ? $this.$field_94475_c : $this.$blockIcon; }, nms_BlockPumpkin_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, $var6, $var10, var$8, var$9, var$10, var$11, var$12, $var9, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, $var5, var$26, var$27, $var8, $var7, var$30, var$31, var$32, var$33, var$34, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();$var5 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var9 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var10 = $thread.pop();$var6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { b: { var$5 = $par3 - 1 | 0; $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); nms_Block_$callClinit(); if ($var6 == nms_Block_blockSnow.$blockID) { $var6 = $par3 - 2 | 0; if (nms_World_getBlockId($par1World, $par2, $var6, $par4) == nms_Block_blockSnow.$blockID) { if (!$par1World.$isRemote) { $var10 = 0; var$8 = 0; var$9 = 2; $ptr = 1; continue main; } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } break b; } } if (nms_World_getBlockId($par1World, $par2, var$5, $par4) == nms_Block_blockIron.$blockID) { var$9 = $par3 - 2 | 0; if (nms_World_getBlockId($par1World, $par2, var$9, $par4) == nms_Block_blockIron.$blockID) { var$24 = $par2 - 1 | 0; $var5 = nms_World_getBlockId($par1World, var$24, var$5, $par4) == nms_Block_blockIron.$blockID && nms_World_getBlockId($par1World, $par2 + 1 | 0, var$5, $par4) == nms_Block_blockIron.$blockID ? 1 : 0; var$26 = $par4 - 1 | 0; $var6 = nms_World_getBlockId($par1World, $par2, var$5, var$26) == nms_Block_blockIron.$blockID && nms_World_getBlockId($par1World, $par2, var$5, $par4 + 1 | 0) == nms_Block_blockIron.$blockID ? 1 : 0; if ($var5) break a; if ($var6) break a; } } } return; } var$8 = 0; $var6 = 0; $var10 = 2; $ptr = 5; continue main; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, $var10, var$8, var$9); if ($rt_suspending()) { break main; } $var10 = 0; var$8 = 0; var$9 = 2; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, var$5, $par4, $var10, var$8, var$9); if ($rt_suspending()) { break main; } $var10 = 0; var$8 = 0; var$9 = 2; $ptr = 3; case 3: nms_World_setBlock($par1World, $par2, $var6, $par4, $var10, var$8, var$9); if ($rt_suspending()) { break main; } $var9 = new nms_EntitySnowman; $ptr = 4; case 4: nms_EntitySnowman__init_($var9, $par1World); if ($rt_suspending()) { break main; } var$10 = $par2 + 0.5; var$17 = $par3 - 1.95; var$11 = $par4 + 0.5; $var9.$posX = var$10; $var9.$prevPosX = var$10; $var9.$lastTickPosX = var$10; var$17 = var$17 + $var9.$yOffset; $var9.$posY = var$17; $var9.$prevPosY = var$17; $var9.$lastTickPosY = var$17; $var9.$posZ = var$11; $var9.$prevPosZ = var$11; $var9.$lastTickPosZ = var$11; $var9.$rotationYaw = 0.0; $var9.$rotationPitch = 0.0; nms_Entity_setPosition($var9, var$10, var$17, var$11); $var10 = nms_World_spawnEntityInWorld($par1World, $var9); var$14 = $par1World.$entityList; ju_HashMap_putImpl(var$14.$backingMap, $var9, var$14); if (!$var10) { var$14 = $par1World.$entitySpawnQueue; ju_HashMap_putImpl(var$14.$backingMap, $var9, var$14); } $var10 = 0; var$9 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$9, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 8; continue main; } } var$24 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$24, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 16; continue main; } } var$8 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$27 = nms_World_getBlockId($par1World, $par2, var$8, $par4); $var9 = nms_Block_blocksList.data[var$27]; if ($var9 !== null) { $ptr = 17; continue main; } } var$27 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$27); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 18; continue main; } } $var8 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $var8); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 19; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 21; continue main; } } $var10 = var$5 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 22; continue main; } } $var10 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 25; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 5: nms_World_setBlock($par1World, $par2, $par3, $par4, var$8, $var6, $var10); if ($rt_suspending()) { break main; } $var6 = 0; $var10 = 0; var$8 = 2; $ptr = 6; case 6: nms_World_setBlock($par1World, $par2, var$5, $par4, $var6, $var10, var$8); if ($rt_suspending()) { break main; } $var6 = 0; $var10 = 0; var$8 = 2; $ptr = 7; case 7: nms_World_setBlock($par1World, $par2, var$9, $par4, $var6, $var10, var$8); if ($rt_suspending()) { break main; } if (!$var5) { $var6 = 0; $var10 = 0; var$8 = 2; $ptr = 9; continue main; } $var6 = 0; $var10 = 0; var$8 = 2; $ptr = 11; continue main; case 8: $var9.$onNeighborBlockChange($par1World, var$9, $par3, $par4, $var10); if ($rt_suspending()) { break main; } var$24 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$24, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 16; continue main; } } var$8 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$27 = nms_World_getBlockId($par1World, $par2, var$8, $par4); $var9 = nms_Block_blocksList.data[var$27]; if ($var9 !== null) { $ptr = 17; continue main; } } var$27 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$27); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 18; continue main; } } $var8 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $var8); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 19; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 21; continue main; } } $var10 = var$5 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 22; continue main; } } $var10 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 25; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 9: nms_World_setBlock($par1World, $par2, var$5, var$26, $var6, $var10, var$8); if ($rt_suspending()) { break main; } $var6 = $par4 + 1 | 0; $var10 = 0; var$8 = 0; var$27 = 2; $ptr = 10; case 10: nms_World_setBlock($par1World, $par2, var$5, $var6, $var10, var$8, var$27); if ($rt_suspending()) { break main; } $var7 = new nms_EntityIronGolem; $ptr = 15; continue main; case 11: nms_World_setBlock($par1World, var$24, var$5, $par4, $var6, $var10, var$8); if ($rt_suspending()) { break main; } $var6 = $par2 + 1 | 0; $var10 = 0; var$8 = 0; var$27 = 2; $ptr = 12; case 12: nms_World_setBlock($par1World, $var6, var$5, $par4, $var10, var$8, var$27); if ($rt_suspending()) { break main; } $var7 = new nms_EntityIronGolem; $ptr = 15; continue main; case 13: nms_RenderGlobal_doSpawnParticle(var$14, $var9, var$17, var$18, var$20, var$21, var$22, var$23); if ($rt_suspending()) { break main; } $par4 = $par4 + 1 | 0; while (true) { var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; if ($var10 >= 120) break; $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; } return; case 14: $var9.$onNeighborBlockChange($par1World, var$24, $par3, $par4, $var10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 16; continue main; } } var$8 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$27 = nms_World_getBlockId($par1World, $par2, var$8, $par4); $var9 = nms_Block_blocksList.data[var$27]; if ($var9 !== null) { $ptr = 17; continue main; } } var$27 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$27); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 18; continue main; } } $var8 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $var8); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 19; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 21; continue main; } } $var10 = var$5 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 22; continue main; } } $var10 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 25; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 15: nms_EntityIronGolem__init_($var7, $par1World); if ($rt_suspending()) { break main; } $var9 = $var7.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$30 = jl_Integer_integerCache.data[144]; if (var$30 !== null) { var$8 = var$30.$value0; var$31 = $var9.$elementData.data; $var9 = var$31[var$8 & (var$31.length - 1 | 0)]; while ($var9 !== null) { if ($var9.$origKeyHash == var$8) { var$14 = $var9.$key; if (var$30 !== var$14 && !(var$30 !== var$14 ? (var$14 instanceof jl_Integer && var$14.$value0 == var$8 ? 1 : 0) : 1) ? 0 : 1) break; } $var9 = $var9.$next3; } } else { $var9 = $var9.$elementData.data[0]; while ($var9 !== null && $var9.$key !== null) { $var9 = $var9.$next3; } } $var10 = ($var9 === null ? null : $var9.$value1).$watchedObject.$value2; $var9 = $var7.$dataWatcher; $var6 = ($var10 | 1) << 24 >> 24; var$32 = jl_Byte_byteCache.data[$var6 + 128 | 0]; var$14 = $var9.$watchedObjects; jl_Integer_ensureIntegerCache(); var$33 = jl_Integer_integerCache.data[144]; if (var$33 === null) { var$14 = var$14.$elementData.data[0]; while (var$14 !== null && var$14.$key !== null) { var$14 = var$14.$next3; } } else { var$8 = var$33.$value0; var$31 = var$14.$elementData.data; var$14 = var$31[var$8 & (var$31.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == var$8) { var$30 = var$14.$key; if (var$33 !== var$30 && !(var$33 === var$30 ? 1 : var$30 instanceof jl_Integer && var$30.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$14 = var$14.$next3; } } var$30 = var$14 === null ? null : var$14.$value1; var$14 = var$30.$watchedObject; if (!(var$14 instanceof jl_Byte && var$14.$value2 == var$32.$value2 ? 1 : 0)) { var$30.$watchedObject = var$32; var$30.$watched = 1; $var9.$objectChanged = 1; } var$22 = $par2; var$17 = var$22 + 0.5; var$11 = $par3 - 1.95; var$23 = $par4; var$18 = var$23 + 0.5; $var7.$posX = var$17; $var7.$prevPosX = var$17; $var7.$lastTickPosX = var$17; var$10 = var$11 + $var7.$yOffset; $var7.$posY = var$10; $var7.$prevPosY = var$10; $var7.$lastTickPosY = var$10; $var7.$posZ = var$18; $var7.$prevPosZ = var$18; $var7.$lastTickPosZ = var$18; $var7.$rotationYaw = 0.0; $var7.$rotationPitch = 0.0; nms_Entity_setPosition($var7, var$17, var$10, var$18); $var6 = nms_World_spawnEntityInWorld($par1World, $var7); $var9 = $par1World.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var7, $var9); if (!$var6) { $var9 = $par1World.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var7, $var9); } $var8 = 0; var$8 = 22; $var6 = 21; var$18 = var$9; while (true) { if ($var8 >= 120) { var$27 = 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$24, $par3, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 32; continue main; } } $var6 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $var6, $par3, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 34; continue main; } } $var10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, var$26); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 37; continue main; } } $var10 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $var10); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 38; continue main; } } var$8 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 39; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 40; continue main; } } var$27 = var$5 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 41; continue main; } } $var8 = var$5 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 43; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 44; continue main; } } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; } var$14 = $rt_s(1491); $var9 = $par1World.$rand0; var$19 = Long_and(Long_add(Long_mul($var9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$19; var$15 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, var$8))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$19; var$11 = var$22 + Long_toNumber(Long_add(var$15, Long_fromInt(Long_lo(Long_shru(var$19, $var6))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, var$8))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$15; var$12 = var$18 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $var6))))) * 1.1102230246251565E-16 * 3.9; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, var$8))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$19; var$20 = var$23 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $var6))))) * 1.1102230246251565E-16; var$21 = 0.0; var$10 = 0.0; var$17 = 0.0; var$27 = 0; $var9 = $par1World.$worldAccesses; $var10 = $rt_compare(var$27, $var9.$size0); if ($var10 < 0) break; $var8 = $var8 + 1 | 0; } if (var$27 >= 0 && $var10 < 0) { $var9 = $var9.$array.data[var$27]; $ptr = 35; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 16: $var9.$onNeighborBlockChange($par1World, $par2, var$5, $par4, $var10); if ($rt_suspending()) { break main; } var$8 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$27 = nms_World_getBlockId($par1World, $par2, var$8, $par4); $var9 = nms_Block_blocksList.data[var$27]; if ($var9 !== null) { $ptr = 17; continue main; } } var$27 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$27); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 18; continue main; } } $var8 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $var8); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 19; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 21; continue main; } } $var10 = var$5 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 22; continue main; } } $var10 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 25; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 17: $var9.$onNeighborBlockChange($par1World, $par2, var$8, $par4, $var10); if ($rt_suspending()) { break main; } var$27 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$27); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 18; continue main; } } $var8 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $var8); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 19; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 21; continue main; } } $var10 = var$5 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 22; continue main; } } $var10 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 25; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 18: $var9.$onNeighborBlockChange($par1World, $par2, $par3, var$27, $var10); if ($rt_suspending()) { break main; } $var8 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $var8); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 19; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 21; continue main; } } $var10 = var$5 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 22; continue main; } } $var10 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 25; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 19: $var9.$onNeighborBlockChange($par1World, $par2, $par3, $var8, $var10); if ($rt_suspending()) { break main; } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 21; continue main; } } $var10 = var$5 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 22; continue main; } } $var10 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 25; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 20: $var9.$onNeighborBlockChange($par1World, var$9, var$5, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 21; continue main; } } $var10 = var$5 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 22; continue main; } } $var10 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 25; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 21: $var9.$onNeighborBlockChange($par1World, var$24, var$5, $par4, $par3); if ($rt_suspending()) { break main; } $var10 = var$5 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 22; continue main; } } $var10 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 25; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 22: $var9.$onNeighborBlockChange($par1World, $par2, $var10, $par4, $par3); if ($rt_suspending()) { break main; } $var10 = var$5 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 25; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 23: $var9.$onNeighborBlockChange($par1World, $par2, $var10, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 25; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 24: $var9.$onNeighborBlockChange($par1World, $par2, var$5, var$27, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 25; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 25: $var9.$onNeighborBlockChange($par1World, $par2, var$5, $var8, $par3); if ($rt_suspending()) { break main; } $par3 = 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$9, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 26; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 26: $var9.$onNeighborBlockChange($par1World, var$9, $var6, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, var$24, $var6, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 27; continue main; } } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 27: $var9.$onNeighborBlockChange($par1World, var$24, $var6, $par4, $par3); if ($rt_suspending()) { break main; } $var10 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 28; continue main; } } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 28: $var9.$onNeighborBlockChange($par1World, $par2, $var10, $par4, $par3); if ($rt_suspending()) { break main; } $var10 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 29: $var9.$onNeighborBlockChange($par1World, $par2, $var10, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, var$27); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 30: $var9.$onNeighborBlockChange($par1World, $par2, $var6, var$27, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $var6, $var8); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 31; continue main; } } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 31: $var9.$onNeighborBlockChange($par1World, $par2, $var6, $var8, $par3); if ($rt_suspending()) { break main; } $var10 = 0; var$10 = $par2; $par3 = 22; $par2 = 21; var$11 = $var6; var$12 = $par4; while ($var10 < 120) { $var9 = $rt_s(1494); var$14 = $par1World.$rand0; var$15 = Long_and(Long_add(Long_mul(var$14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$17 = var$10 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$18 = var$11 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $par2))))) * 1.1102230246251565E-16 * 2.5; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, $par3))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$14.$seed = var$19; var$20 = var$12 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $par2))))) * 1.1102230246251565E-16; var$21 = 0.0; var$22 = 0.0; var$23 = 0.0; $par4 = 0; var$14 = $par1World.$worldAccesses; $var6 = $rt_compare($par4, var$14.$size0); if ($var6 < 0) { if ($par4 >= 0 && $var6 < 0) { var$14 = var$14.$array.data[$par4]; $ptr = 13; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; case 32: $var9.$onNeighborBlockChange($par1World, var$24, $par3, $par4, var$27); if ($rt_suspending()) { break main; } $var6 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $var6, $par3, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 34; continue main; } } $var10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, var$26); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 37; continue main; } } $var10 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $var10); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 38; continue main; } } var$8 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 39; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 40; continue main; } } var$27 = var$5 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 41; continue main; } } $var8 = var$5 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 43; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 44; continue main; } } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 33: $var9.$onNeighborBlockChange($par1World, $var6, $par3, $par4, var$27); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 34; continue main; } } $var10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, var$26); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 37; continue main; } } $var10 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $var10); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 38; continue main; } } var$8 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 39; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 40; continue main; } } var$27 = var$5 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 41; continue main; } } $var8 = var$5 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 43; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 44; continue main; } } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 34: $var9.$onNeighborBlockChange($par1World, $par2, var$5, $par4, var$27); if ($rt_suspending()) { break main; } $var10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, var$26); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 37; continue main; } } $var10 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $var10); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 38; continue main; } } var$8 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 39; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 40; continue main; } } var$27 = var$5 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 41; continue main; } } $var8 = var$5 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 43; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 44; continue main; } } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 35: nms_RenderGlobal_doSpawnParticle($var9, var$14, var$11, var$12, var$20, var$21, var$10, var$17); if ($rt_suspending()) { break main; } var$27 = var$27 + 1 | 0; while (true) { $var9 = $par1World.$worldAccesses; $var10 = $rt_compare(var$27, $var9.$size0); if ($var10 < 0) break; $var8 = $var8 + 1 | 0; if ($var8 >= 120) { var$27 = 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, var$24, $par3, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 32; continue main; } } $var6 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $var6, $par3, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 33; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 34; continue main; } } $var10 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $var10, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 36; continue main; } } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, var$26); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 37; continue main; } } $var10 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $var10); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 38; continue main; } } var$8 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 39; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 40; continue main; } } var$27 = var$5 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 41; continue main; } } $var8 = var$5 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 43; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 44; continue main; } } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; } var$14 = $rt_s(1491); $var9 = $par1World.$rand0; var$19 = Long_and(Long_add(Long_mul($var9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$19; var$15 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, var$8))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$19; var$11 = var$22 + Long_toNumber(Long_add(var$15, Long_fromInt(Long_lo(Long_shru(var$19, $var6))))) * 1.1102230246251565E-16; var$15 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, var$8))), 27); var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$15; var$12 = var$18 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$15, $var6))))) * 1.1102230246251565E-16 * 3.9; var$15 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$15; var$16 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$15, var$8))), 27); var$19 = Long_and(Long_add(Long_mul(var$15, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var9.$seed = var$19; var$20 = var$23 + Long_toNumber(Long_add(var$16, Long_fromInt(Long_lo(Long_shru(var$19, $var6))))) * 1.1102230246251565E-16; var$21 = 0.0; var$10 = 0.0; var$17 = 0.0; var$27 = 0; } if (var$27 >= 0 && $var10 < 0) { $var9 = $var9.$array.data[var$27]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 36: $var9.$onNeighborBlockChange($par1World, $par2, $var10, $par4, var$27); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var10 = nms_World_getBlockId($par1World, $par2, $par3, var$26); $var9 = nms_Block_blocksList.data[$var10]; if ($var9 !== null) { $ptr = 37; continue main; } } $var10 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $var10); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 38; continue main; } } var$8 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 39; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 40; continue main; } } var$27 = var$5 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 41; continue main; } } $var8 = var$5 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 43; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 44; continue main; } } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 37: $var9.$onNeighborBlockChange($par1World, $par2, $par3, var$26, var$27); if ($rt_suspending()) { break main; } $var10 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $var10); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 38; continue main; } } var$8 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 39; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 40; continue main; } } var$27 = var$5 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 41; continue main; } } $var8 = var$5 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 43; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 44; continue main; } } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 38: $var9.$onNeighborBlockChange($par1World, $par2, $par3, $var10, var$27); if ($rt_suspending()) { break main; } var$8 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 39; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 40; continue main; } } var$27 = var$5 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 41; continue main; } } $var8 = var$5 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 43; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 44; continue main; } } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 39: $var9.$onNeighborBlockChange($par1World, var$24, var$5, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 40; continue main; } } var$27 = var$5 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 41; continue main; } } $var8 = var$5 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 43; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 44; continue main; } } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 40: $var9.$onNeighborBlockChange($par1World, $var6, var$5, $par4, var$8); if ($rt_suspending()) { break main; } var$27 = var$5 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 41; continue main; } } $var8 = var$5 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 43; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 44; continue main; } } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 41: $var9.$onNeighborBlockChange($par1World, $par2, var$27, $par4, var$8); if ($rt_suspending()) { break main; } $var8 = var$5 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 43; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 44; continue main; } } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 42: $var9.$onNeighborBlockChange($par1World, $par2, $var8, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 43; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 44; continue main; } } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 43: $var9.$onNeighborBlockChange($par1World, $par2, var$5, var$26, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 44; continue main; } } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 44: $var9.$onNeighborBlockChange($par1World, $par2, var$5, $var10, var$8); if ($rt_suspending()) { break main; } var$34 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 45; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 45: $var9.$onNeighborBlockChange($par1World, var$24, var$9, $par4, var$34); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 46; continue main; } } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 46: $var9.$onNeighborBlockChange($par1World, $var6, var$9, $par4, var$34); if ($rt_suspending()) { break main; } $par3 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 47; continue main; } } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 47: $var9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$34); if ($rt_suspending()) { break main; } $par3 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 48; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 48: $var9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$34); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 49: $var9.$onNeighborBlockChange($par1World, $par2, var$9, var$26, var$34); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$9, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 50; continue main; } } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 50: $var9.$onNeighborBlockChange($par1World, $par2, var$9, $var10, var$34); if ($rt_suspending()) { break main; } if ($var5) { $par2 = 0; $par3 = var$24 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 52; continue main; } } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } } else { $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } } return; case 51: $var9.$onNeighborBlockChange($par1World, var$24, var$5, var$26, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } return; case 52: $var9.$onNeighborBlockChange($par1World, $par3, var$5, $par4, $par2); if ($rt_suspending()) { break main; } $par3 = var$24 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } return; case 53: $var9.$onNeighborBlockChange($par1World, $var6, var$5, var$26, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 55; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } return; case 54: $var9.$onNeighborBlockChange($par1World, $par3, var$5, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } return; case 55: $var9.$onNeighborBlockChange($par1World, $par2, var$27, var$26, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, var$26); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 57; continue main; } } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } return; case 56: $var9.$onNeighborBlockChange($par1World, var$24, var$27, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } return; case 57: $var9.$onNeighborBlockChange($par1World, $par2, $var8, var$26, $par3); if ($rt_suspending()) { break main; } $par4 = var$26 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 59; continue main; } } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } return; case 58: $var9.$onNeighborBlockChange($par1World, var$24, $var8, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 60; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } return; case 59: $var9.$onNeighborBlockChange($par1World, $par2, var$5, $par4, $par3); if ($rt_suspending()) { break main; } $par4 = var$26 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 61; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } return; case 60: $var9.$onNeighborBlockChange($par1World, var$24, var$5, var$26, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 62; continue main; } } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } return; case 61: $var9.$onNeighborBlockChange($par1World, $par2, var$5, $par4, $par3); if ($rt_suspending()) { break main; } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$24, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } return; case 62: $var9.$onNeighborBlockChange($par1World, var$24, var$5, $var10, $par2); if ($rt_suspending()) { break main; } $par2 = 0; $par3 = $var6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 64; continue main; } } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } return; case 63: $var9.$onNeighborBlockChange($par1World, var$24, var$5, $var10, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } return; case 64: $var9.$onNeighborBlockChange($par1World, $par3, var$5, $par4, $par2); if ($rt_suspending()) { break main; } $par3 = $var6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par3, var$5, $par4); $var9 = nms_Block_blocksList.data[var$8]; if ($var9 !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } return; case 65: $var9.$onNeighborBlockChange($par1World, $var6, var$5, $var10, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$27, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 67; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } return; case 66: $var9.$onNeighborBlockChange($par1World, $par3, var$5, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$27, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 68; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } return; case 67: $var9.$onNeighborBlockChange($par1World, $par2, var$27, $var10, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var8, $var10); $var9 = nms_Block_blocksList.data[$par4]; if ($var9 !== null) { $ptr = 69; continue main; } } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } return; case 68: $var9.$onNeighborBlockChange($par1World, $var6, var$27, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, $var8, $par4); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 70; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } return; case 69: $var9.$onNeighborBlockChange($par1World, $par2, $var8, $var10, $par3); if ($rt_suspending()) { break main; } $par4 = $var10 - 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 71; continue main; } } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } return; case 70: $var9.$onNeighborBlockChange($par1World, $var6, $var8, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, var$26); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } return; case 71: $var9.$onNeighborBlockChange($par1World, $par2, var$5, $par4, $par3); if ($rt_suspending()) { break main; } $par4 = $var10 + 1 | 0; if (!$par1World.$isRemote) { $var6 = nms_World_getBlockId($par1World, $par2, var$5, $par4); $var9 = nms_Block_blocksList.data[$var6]; if ($var9 !== null) { $ptr = 73; continue main; } } return; case 72: $var9.$onNeighborBlockChange($par1World, $var6, var$5, var$26, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$5, $var10); $var9 = nms_Block_blocksList.data[$par3]; if ($var9 !== null) { $ptr = 74; continue main; } } return; case 73: $var9.$onNeighborBlockChange($par1World, $par2, var$5, $par4, $par3); if ($rt_suspending()) { break main; } return; case 74: $var9.$onNeighborBlockChange($par1World, $var6, var$5, $var10, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, $var6, $var10, var$8, var$9, var$10, var$11, var$12, $var9, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, $var5, var$26, var$27, $var8, $var7, var$30, var$31, var$32, var$33, var$34, $ptr); }, nms_BlockPumpkin_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let $var5; a: { b: { $var5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($var5) { nms_Block_$callClinit(); if (!nms_Block_blocksList.data[$var5].$blockMaterial.$replaceable) break b; } $par3 = $par3 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par3, $par4))) { $par2 = 1; break a; } } $par2 = 0; } return $par2; }, nms_BlockPumpkin_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, $var7, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par5EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 2.5; $var7 = var$7 | 0; if (var$7 < $var7) $var7 = $var7 - 1 | 0; $var7 = $var7 & 3; var$9 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, var$9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, $var7, var$9, $ptr); }, nms_BlockPumpkin_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$4 = $this.$unlocalizedName; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$3, 10); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 95; var$3 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$3, var$4); var$2 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$6 = var$5.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = !$this.$blockType1 ? $rt_s(3089) : $rt_s(3090); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3091)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$5); var$5 = new jl_String; var$7 = var$4.$buffer; var$8 = var$7.data; var$6 = var$4.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); $this.$field_94475_c = $par1IconRegister.$registerIcon(var$5, 1); var$4 = $this.$textureName; if (var$4 === null) { var$3 = $this.$blockID; var$4 = $this.$unlocalizedName; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$3, 10); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 95; var$3 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$3, var$4); var$4 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$6 = var$5.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$4); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2999)); var$4 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$6 = var$5.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); $this.$field_94474_b = $par1IconRegister.$registerIcon(var$4, 1); var$4 = $this.$textureName; if (var$4 === null) { var$3 = $this.$blockID; var$4 = $this.$unlocalizedName; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$3, 10); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 95; var$3 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$3, var$4); var$4 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$6 = var$5.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$4); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2998)); var$4 = new jl_String; var$8 = var$5.$buffer; var$7 = var$8.data; var$6 = var$5.$length0; var$9 = var$7.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$6); $this.$blockIcon = $par1IconRegister.$registerIcon(var$4, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockNetherrack = $rt_classWithoutFields(nms_Block), nms_BlockNetherrack__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockNetherrack__init_ = var_0 => { let var_1 = new nms_BlockNetherrack(); nms_BlockNetherrack__init_0(var_1, var_0); return var_1; }, nms_BlockSoulSand = $rt_classWithoutFields(nms_Block), nms_BlockSoulSand__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_sand); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockSoulSand__init_0 = var_0 => { let var_1 = new nms_BlockSoulSand(); nms_BlockSoulSand__init_(var_1, var_0); return var_1; }, nms_BlockSoulSand_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; var$5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$6 = $par2; var$7 = $par3; var$8 = $par4; var$9 = $par2 + 1 | 0; var$10 = ($par3 + 1 | 0) - 0.125; var$11 = $par4 + 1 | 0; $par2 = var$5.$nextPoolIndex; $par1World = var$5.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$7; var$12.$minZ = var$8; var$12.$maxX = var$9; var$12.$maxY = var$10; var$12.$maxZ = var$11; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$13 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$13[$par3] = var$12; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$12 = $par1World.$array.data[$par2]; var$12.$minX = var$6; var$12.$minY = var$7; var$12.$minZ = var$8; var$12.$maxX = var$9; var$12.$maxY = var$10; var$12.$maxZ = var$11; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$5.$nextPoolIndex = var$5.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockSoulSand_onEntityCollidedWithBlock = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { $par5Entity.$motionX = $par5Entity.$motionX * 0.4; $par5Entity.$motionZ = $par5Entity.$motionZ * 0.4; }, nms_BlockGlowStone = $rt_classWithoutFields(nms_Block), nms_BlockGlowStone__init_ = ($this, $par1, $par2Material) => { nms_Block__init_($this, $par1, $par2Material); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockGlowStone__init_0 = (var_0, var_1) => { let var_2 = new nms_BlockGlowStone(); nms_BlockGlowStone__init_(var_2, var_0, var_1); return var_2; }, nms_BlockGlowStone_quantityDroppedWithBonus = ($this, $par1, $par2Random) => { let var$3, var$4, var$5, var$6, var$7; var$3 = nms_BlockGlowStone_quantityDropped($this, $par2Random); $par1 = $par1 + 1 | 0; var$4 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); var$6 = $par1 - 1 | 0; if (!($par1 & var$6)) var$7 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt(var$5)), 31)); else while (true) { var$7 = var$5 % $par1 | 0; if (((var$5 - var$7 | 0) + var$6 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } $par1 = var$3 + var$7 | 0; var$6 = 1; if ($par1 >= var$6) var$6 = $par1 <= 4 ? $par1 : 4; return var$6; }, nms_BlockGlowStone_quantityDropped = ($this, $par1Random) => { let var$2, var$3, var$4; var$2 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { var$4 = var$3 % 3 | 0; if (((var$3 - var$4 | 0) + 2 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } return 2 + var$4 | 0; }, nms_BlockGlowStone_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_glowstone.$itemID0; }, nms_BlockPortal = $rt_classWithoutFields(nms_BlockBreakable), nms_BlockPortal__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_portal); $this.$localFlag = 0; $this.$breakableBlockIcon = $rt_s(1455); $this.$needsRandomTick = 1; }, nms_BlockPortal__init_ = var_0 => { let var_1 = new nms_BlockPortal(); nms_BlockPortal__init_0(var_1, var_0); return var_1; }, nms_BlockPortal_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockPortal_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { if ($par1IBlockAccess.$getBlockId($par2 - 1 | 0, $par3, $par4) != $this.$blockID && $par1IBlockAccess.$getBlockId($par2 + 1 | 0, $par3, $par4) != $this.$blockID) { $this.$minX0 = 0.375; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.625; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } else { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.375; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.625; } }, nms_BlockPortal_isOpaqueCube = $this => { return 0; }, nms_BlockPortal_renderAsNormalBlock = $this => { return 0; }, nms_BlockPortal_tryToCreatePortal = ($this, $par1World, $par2, $par3, $par4) => { let $var5, $var6, $var10, var$8, var$9, $var7, $var8, $var8_0, var$13, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();var$13 = $thread.pop();$var8_0 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var10 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = 0; $var6 = 0; $var10 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); if (!($var10 != nms_Block_obsidian.$blockID && nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4) != nms_Block_obsidian.$blockID)) $var5 = 1; if (!(nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0) != nms_Block_obsidian.$blockID && nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0) != nms_Block_obsidian.$blockID)) $var6 = 1; if ($var5 == $var6) return 0; var$8 = $par2 - $var5 | 0; var$9 = $par4 - $var6 | 0; if (nms_World_getBlockId($par1World, var$8, $par3, var$9)) { var$8 = $par2; var$9 = $par4; } $var7 = (-1); a: while (true) { $var8 = $rt_compare($var7, 2); if ($var8 > 0) { $par2 = 0; while ($par2 < 2) { $var8 = 0; if ($var8 < 3) { $var7 = var$8 + $rt_imul($var5, $par2) | 0; $var8_0 = $par3 + $var8 | 0; var$13 = var$9 + $rt_imul($var6, $par2) | 0; $par4 = nms_Block_portal.$blockID; $var9 = 0; $var10 = 2; $ptr = 1; continue main; } $par2 = $par2 + 1 | 0; } return 1; } $var8_0 = (-1); while (true) { $var10 = $rt_compare($var8_0, 3); if ($var10 > 0) break; $par2 = $rt_compare($var7, (-1)); $var9 = $par2 && $var8 && $var8_0 != (-1) && $var10 ? 0 : 1; b: { if (!($par2 && $var8)) { if ($var8_0 == (-1)) break b; if (!$var10) break b; } $var10 = nms_World_getBlockId($par1World, var$8 + $rt_imul($var5, $var7) | 0, $par3 + $var8_0 | 0, var$9 + $rt_imul($var6, $var7) | 0); if ($var9) { if ($var10 == nms_Block_obsidian.$blockID) break b; else return 0; } if ($var10 && $var10 != nms_Block_fire.$blockID) break a; } $var8_0 = $var8_0 + 1 | 0; } $var7 = $var7 + 1 | 0; } return 0; case 1: nms_World_setBlock($par1World, $var7, $var8_0, var$13, $par4, $var9, $var10); if ($rt_suspending()) { break main; } $var8 = $var8 + 1 | 0; while (true) { if ($var8 < 3) { $var7 = var$8 + $rt_imul($var5, $par2) | 0; $var8_0 = $par3 + $var8 | 0; var$13 = var$9 + $rt_imul($var6, $par2) | 0; $par4 = nms_Block_portal.$blockID; $var9 = 0; $var10 = 2; continue main; } $par2 = $par2 + 1 | 0; if ($par2 >= 2) break; $var8 = 0; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, $var6, $var10, var$8, var$9, $var7, $var8, $var8_0, var$13, $var9, $ptr); }, nms_BlockPortal_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var11, $var8, $var10, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var11 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; $var7 = 1; $var11 = $par2 - 1 | 0; if (!(nms_World_getBlockId($par1World, $var11, $par3, $par4) != $this.$blockID && nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4) != $this.$blockID)) { $var6 = 1; $var7 = 0; } $var8 = $par3; while (true) { $var10 = $var8 - 1 | 0; if (nms_World_getBlockId($par1World, $par2, $var10, $par4) != $this.$blockID) break; $var8 = $var8 + (-1) | 0; } $par5 = nms_World_getBlockId($par1World, $par2, $var10, $par4); nms_Block_$callClinit(); if ($par5 != nms_Block_obsidian.$blockID) { $par5 = 0; $var9 = 0; $var10 = 3; $ptr = 1; continue main; } $var9 = 1; while ($var9 < 4 && nms_World_getBlockId($par1World, $par2, $var8 + $var9 | 0, $par4) == $this.$blockID) { $var9 = $var9 + 1 | 0; } if ($var9 == 3 && nms_World_getBlockId($par1World, $par2, $var8 + $var9 | 0, $par4) == nms_Block_obsidian.$blockID) { $var10 = nms_World_getBlockId($par1World, $var11, $par3, $par4) != $this.$blockID && nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4) != $this.$blockID ? 0 : 1; $var11 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0) != $this.$blockID && nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0) != $this.$blockID ? 0 : 1; if ($var10 && $var11) { $par5 = 0; $var9 = 0; $var10 = 3; $ptr = 3; continue main; } a: { $par5 = $par2 + $var6 | 0; $var9 = $par4 + $var7 | 0; if (!(nms_World_getBlockId($par1World, $par5, $par3, $var9) == nms_Block_obsidian.$blockID && nms_World_getBlockId($par1World, $par2 - $var6 | 0, $par3, $par4 - $var7 | 0) == $this.$blockID)) { if (nms_World_getBlockId($par1World, $par2 - $var6 | 0, $par3, $par4 - $var7 | 0) != nms_Block_obsidian.$blockID) break a; if (nms_World_getBlockId($par1World, $par5, $par3, $var9) != $this.$blockID) break a; } return; } $par5 = 0; $var9 = 0; $var10 = 3; $ptr = 4; continue main; } $par5 = 0; $var9 = 0; $var10 = 3; $ptr = 2; continue main; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var9, $var10); if ($rt_suspending()) { break main; } return; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var9, $var10); if ($rt_suspending()) { break main; } return; case 3: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var9, $var10); if ($rt_suspending()) { break main; } return; case 4: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var9, $var10); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, $var11, $var8, $var10, $var9, $ptr); }, nms_BlockPortal_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var8, $var9, $var10, $var11; if ($par1IBlockAccess.$getBlockId($par2, $par3, $par4) == $this.$blockID) return 0; $var6 = $par1IBlockAccess.$getBlockId($par2 - 1 | 0, $par3, $par4) == $this.$blockID && $par1IBlockAccess.$getBlockId($par2 - 2 | 0, $par3, $par4) != $this.$blockID ? 1 : 0; $var7 = $par1IBlockAccess.$getBlockId($par2 + 1 | 0, $par3, $par4) == $this.$blockID && $par1IBlockAccess.$getBlockId($par2 + 2 | 0, $par3, $par4) != $this.$blockID ? 1 : 0; $var8 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4 - 1 | 0) == $this.$blockID && $par1IBlockAccess.$getBlockId($par2, $par3, $par4 - 2 | 0) != $this.$blockID ? 1 : 0; $var9 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4 + 1 | 0) == $this.$blockID && $par1IBlockAccess.$getBlockId($par2, $par3, $par4 + 2 | 0) != $this.$blockID ? 1 : 0; $var10 = !$var6 && !$var7 ? 0 : 1; $var11 = !$var8 && !$var9 ? 0 : 1; return $var10 && $par5 == 4 ? 1 : $var10 && $par5 == 5 ? 1 : $var11 && $par5 == 2 ? 1 : $var11 && $par5 == 3 ? 1 : 0; }, nms_BlockPortal_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockPortal_getRenderBlockPass = $this => { return 1; }, nms_BlockPortal_onEntityCollidedWithBlock = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { if ($par5Entity.$ridingEntity === null && $par5Entity.$riddenByEntity === null) nms_Entity_setInPortal($par5Entity); }, nms_BlockPortal_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let var$6, var$7, $var19, var$9, var$10, var$11, $var9, var$13, var$14, var$15, var$16, $var6, var$18, var$19, var$20, var$21, var$22, $var7, var$24, $var11, var$26, var$27, var$28, var$29, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();$var11 = $thread.pop();var$24 = $thread.pop();$var7 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var6 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var9 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var19 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$7 = 17; $var19 = Long_lo(Long_shru(var$6, var$7)); while (true) { var$9 = $var19 % 100 | 0; if ((($var19 - var$9 | 0) + 99 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var19 = Long_lo(Long_shru(var$6, var$7)); } if (!var$9) { var$10 = $par2 + 0.5; var$11 = $par3 + 0.5; $var9 = $par4 + 0.5; var$13 = $rt_s(3092); var$14 = 0.5; var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$15 = Long_lo(Long_shru(var$6, 24)) / 1.6777216E7 * 0.4000000059604645 + 0.800000011920929; var$16 = 0; $ptr = 1; continue main; } $var6 = 0; var$18 = $par2; var$19 = 24; var$20 = $par3; var$21 = $par4; var$9 = $par2 - 1 | 0; var$16 = $par2 + 1 | 0; var$11 = $par2 + 0.5; var$10 = $par4 + 0.5; var$22 = Long_fromInt(2); while ($var6 < 4) { var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var7 = var$18 + Long_lo(Long_shru(var$6, var$19)) / 1.6777216E7; var$24 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; $var9 = var$20 + Long_lo(Long_shru(var$24, var$19)) / 1.6777216E7; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; $var11 = var$21 + Long_lo(Long_shru(var$24, var$19)) / 1.6777216E7; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; $var19 = (Long_lo(Long_shr(Long_mul(var$22, Long_fromInt(Long_lo(Long_shru(var$24, var$7)))), 31)) * 2 | 0) - 1 | 0; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; var$26 = (Long_lo(Long_shru(var$24, var$19)) / 1.6777216E7 - 0.5) * 0.5; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; var$27 = (Long_lo(Long_shru(var$24, var$19)) / 1.6777216E7 - 0.5) * 0.5; var$6 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$28 = (Long_lo(Long_shru(var$6, var$19)) / 1.6777216E7 - 0.5) * 0.5; if (nms_World_getBlockId($par1World, var$9, $par3, $par4) != $this.$blockID && nms_World_getBlockId($par1World, var$16, $par3, $par4) != $this.$blockID) { $var7 = var$11 + 0.25 * $var19; var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$26 = Long_lo(Long_shru(var$6, var$19)) / 1.6777216E7 * 2.0 * $var19; } else { $var11 = var$10 + 0.25 * $var19; var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$28 = Long_lo(Long_shru(var$6, var$19)) / 1.6777216E7 * 2.0 * $var19; } var$29 = $rt_s(1455); $par2 = 0; var$13 = $par1World.$worldAccesses; $var19 = $rt_compare($par2, var$13.$size0); if ($var19 < 0) { if ($par2 >= 0 && $var19 < 0) { var$13 = var$13.$array.data[$par2]; $ptr = 2; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6 = $var6 + 1 | 0; } return; case 1: nms_WorldClient_playSound($par1World, var$10, var$11, $var9, var$13, var$14, var$15, var$16); if ($rt_suspending()) { break main; } $var6 = 0; var$18 = $par2; var$19 = 24; var$20 = $par3; var$21 = $par4; var$9 = $par2 - 1 | 0; var$16 = $par2 + 1 | 0; var$11 = $par2 + 0.5; var$10 = $par4 + 0.5; var$22 = Long_fromInt(2); while ($var6 < 4) { var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var7 = var$18 + Long_lo(Long_shru(var$6, var$19)) / 1.6777216E7; var$24 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; $var9 = var$20 + Long_lo(Long_shru(var$24, var$19)) / 1.6777216E7; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; $var11 = var$21 + Long_lo(Long_shru(var$24, var$19)) / 1.6777216E7; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; $var19 = (Long_lo(Long_shr(Long_mul(var$22, Long_fromInt(Long_lo(Long_shru(var$24, var$7)))), 31)) * 2 | 0) - 1 | 0; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; var$26 = (Long_lo(Long_shru(var$24, var$19)) / 1.6777216E7 - 0.5) * 0.5; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; var$27 = (Long_lo(Long_shru(var$24, var$19)) / 1.6777216E7 - 0.5) * 0.5; var$6 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$28 = (Long_lo(Long_shru(var$6, var$19)) / 1.6777216E7 - 0.5) * 0.5; if (nms_World_getBlockId($par1World, var$9, $par3, $par4) != $this.$blockID && nms_World_getBlockId($par1World, var$16, $par3, $par4) != $this.$blockID) { $var7 = var$11 + 0.25 * $var19; var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$26 = Long_lo(Long_shru(var$6, var$19)) / 1.6777216E7 * 2.0 * $var19; } else { $var11 = var$10 + 0.25 * $var19; var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$28 = Long_lo(Long_shru(var$6, var$19)) / 1.6777216E7 * 2.0 * $var19; } var$29 = $rt_s(1455); $par2 = 0; var$13 = $par1World.$worldAccesses; $var19 = $rt_compare($par2, var$13.$size0); if ($var19 < 0) { if ($par2 >= 0 && $var19 < 0) { var$13 = var$13.$array.data[$par2]; $ptr = 2; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6 = $var6 + 1 | 0; } return; case 2: nms_RenderGlobal_doSpawnParticle(var$13, var$29, $var7, $var9, $var11, var$26, var$27, var$28); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; while (true) { var$13 = $par1World.$worldAccesses; $var19 = $rt_compare($par2, var$13.$size0); if ($var19 < 0) { if ($par2 >= 0 && $var19 < 0) { var$13 = var$13.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6 = $var6 + 1 | 0; if ($var6 >= 4) break; var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; $var7 = var$18 + Long_lo(Long_shru(var$6, var$19)) / 1.6777216E7; var$24 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; $var9 = var$20 + Long_lo(Long_shru(var$24, var$19)) / 1.6777216E7; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; $var11 = var$21 + Long_lo(Long_shru(var$24, var$19)) / 1.6777216E7; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; $var19 = (Long_lo(Long_shr(Long_mul(var$22, Long_fromInt(Long_lo(Long_shru(var$24, var$7)))), 31)) * 2 | 0) - 1 | 0; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; var$26 = (Long_lo(Long_shru(var$24, var$19)) / 1.6777216E7 - 0.5) * 0.5; var$24 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$24; var$27 = (Long_lo(Long_shru(var$24, var$19)) / 1.6777216E7 - 0.5) * 0.5; var$6 = Long_and(Long_add(Long_mul(var$24, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$28 = (Long_lo(Long_shru(var$6, var$19)) / 1.6777216E7 - 0.5) * 0.5; if (nms_World_getBlockId($par1World, var$9, $par3, $par4) != $this.$blockID && nms_World_getBlockId($par1World, var$16, $par3, $par4) != $this.$blockID) { $var7 = var$11 + 0.25 * $var19; var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$26 = Long_lo(Long_shru(var$6, var$19)) / 1.6777216E7 * 2.0 * $var19; } else { $var11 = var$10 + 0.25 * $var19; var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$28 = Long_lo(Long_shru(var$6, var$19)) / 1.6777216E7 * 2.0 * $var19; } var$29 = $rt_s(1455); $par2 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, var$6, var$7, $var19, var$9, var$10, var$11, $var9, var$13, var$14, var$15, var$16, $var6, var$18, var$19, var$20, var$21, var$22, $var7, var$24, $var11, var$26, var$27, var$28, var$29, $ptr); }, nms_BlockPortal_idPicked = ($this, $par1World, $par2, $par3, $par4) => { return 0; }; function nms_BlockCake() { let a = this; nms_Block.call(a); a.$cakeTopIcon = null; a.$cakeBottomIcon = null; a.$field_94382_c = null; } let nms_BlockCake__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_cake); $this.$needsRandomTick = 1; }, nms_BlockCake__init_0 = var_0 => { let var_1 = new nms_BlockCake(); nms_BlockCake__init_(var_1, var_0); return var_1; }, nms_BlockCake_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { $this.$minX0 = (1 + ($par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) * 2 | 0) | 0) / 16.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0625; $this.$maxX0 = 0.9375; $this.$maxY0 = 0.5; $this.$maxZ0 = 0.9375; }, nms_BlockCake_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.0625; $this.$minY0 = 0.0; $this.$minZ0 = 0.0625; $this.$maxX0 = 0.9375; $this.$maxY0 = 0.5; $this.$maxZ0 = 0.9375; }, nms_BlockCake_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let $var7, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; $var7 = (1 + (nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) * 2 | 0) | 0) / 16.0; $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$6 = $par2 + $var7; var$7 = $par3; var$8 = $par4 + 0.0625; var$9 = ($par2 + 1 | 0) - 0.0625; var$10 = $par3 + 0.5 - 0.0625; var$11 = ($par4 + 1 | 0) - 0.0625; $par3 = $par1World.$nextPoolIndex; var$12 = $par1World.$listAABB; $par2 = var$12.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$13 = new nms_AxisAlignedBB; var$13.$minX = var$6; var$13.$minY = var$7; var$13.$minZ = var$8; var$13.$maxX = var$9; var$13.$maxY = var$10; var$13.$maxZ = var$11; ju_ArrayList_ensureCapacity(var$12, $par2 + 1 | 0); var$14 = var$12.$array.data; $par3 = var$12.$size0; var$12.$size0 = $par3 + 1 | 0; var$14[$par3] = var$13; var$12.$modCount = var$12.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$13 = var$12.$array.data[$par3]; var$13.$minX = var$6; var$13.$minY = var$7; var$13.$minZ = var$8; var$13.$maxX = var$9; var$13.$maxY = var$10; var$13.$maxZ = var$11; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$13; }, nms_BlockCake_getSelectedBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let $var7, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; $var7 = (1 + (nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) * 2 | 0) | 0) / 16.0; $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$6 = $par2 + $var7; var$7 = $par3; var$8 = $par4 + 0.0625; var$9 = ($par2 + 1 | 0) - 0.0625; var$10 = $par3 + 0.5; var$11 = ($par4 + 1 | 0) - 0.0625; $par3 = $par1World.$nextPoolIndex; var$12 = $par1World.$listAABB; $par2 = var$12.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$13 = new nms_AxisAlignedBB; var$13.$minX = var$6; var$13.$minY = var$7; var$13.$minZ = var$8; var$13.$maxX = var$9; var$13.$maxY = var$10; var$13.$maxZ = var$11; ju_ArrayList_ensureCapacity(var$12, $par2 + 1 | 0); var$14 = var$12.$array.data; $par3 = var$12.$size0; var$12.$size0 = $par3 + 1 | 0; var$14[$par3] = var$13; var$12.$modCount = var$12.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$13 = var$12.$array.data[$par3]; var$13.$minX = var$6; var$13.$minY = var$7; var$13.$minZ = var$8; var$13.$maxX = var$9; var$13.$maxY = var$10; var$13.$maxZ = var$11; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$13; }, nms_BlockCake_getIcon = ($this, $par1, $par2) => { return $par1 == 1 ? $this.$cakeTopIcon : !$par1 ? $this.$cakeBottomIcon : $par2 > 0 && $par1 == 4 ? $this.$field_94382_c : $this.$blockIcon; }, nms_BlockCake_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2998)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3093)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$field_94382_c = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2999)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$cakeTopIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3017)); var$2 = new jl_String; var$7 = var$4.$buffer; var$6 = var$7.data; var$8 = var$4.$length0; var$3 = var$6.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$cakeBottomIcon = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockCake_renderAsNormalBlock = $this => { return 0; }, nms_BlockCake_isOpaqueCube = $this => { return 0; }, nms_BlockCake_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$10 = $par5EntityPlayer.$foodStats; var$11 = var$10.$foodLevel; $par6 = var$11 >= 20 ? 0 : 1; if (!($par6 && !$par5EntityPlayer.$capabilities.$disableDamage ? 1 : 0)) return 1; $par6 = 2 + var$11 | 0; var$11 = 20; if ($par6 < var$11) var$11 = $par6; var$10.$foodLevel = var$11; var$10.$foodSaturationLevel = jl_Math_minImpl(var$10.$foodSaturationLevel + 0.4000000059604645, var$11); var$11 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) + 1 | 0; if (var$11 < 6) { $par6 = 2; $ptr = 1; continue main; } $par6 = 0; var$11 = 0; var$12 = 3; $ptr = 2; continue main; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$11, $par6); if ($rt_suspending()) { break main; } return 1; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par6, var$11, var$12); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, var$10, var$11, var$12, $ptr); }, nms_BlockCake_onBlockClicked = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer) => { let var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $par5EntityPlayer.$foodStats; var$7 = var$6.$foodLevel; var$8 = var$7 >= 20 ? 0 : 1; if (!(var$8 && !$par5EntityPlayer.$capabilities.$disableDamage ? 1 : 0)) return; var$8 = 2 + var$7 | 0; var$7 = 20; if (var$8 < var$7) var$7 = var$8; var$6.$foodLevel = var$7; var$6.$foodSaturationLevel = jl_Math_minImpl(var$6.$foodSaturationLevel + 0.4000000059604645, var$7); var$8 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) + 1 | 0; if (var$8 < 6) { var$7 = 2; $ptr = 1; continue main; } var$8 = 0; var$7 = 0; var$9 = 3; $ptr = 2; continue main; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$8, var$7); if ($rt_suspending()) { break main; } return; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$8, var$7, var$9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, var$6, var$7, var$8, var$9, $ptr); }, nms_BlockCake_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5; a: { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$5) { nms_Block_$callClinit(); if (!nms_Block_blocksList.data[var$5].$blockMaterial.$replaceable) { var$5 = 0; break a; } } var$5 = 1; } if (!var$5) $par2 = 0; else { $par2 = nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4); if (!$par2) { nms_Material_$callClinit(); $par1World = nms_Material_air; } else { nms_Block_$callClinit(); $par1World = nms_Block_blocksList.data[$par2].$blockMaterial; } $par2 = $par1World.$isSolid(); } return $par2; }, nms_BlockCake_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par5 = nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4); if (!$par5) { nms_Material_$callClinit(); var$6 = nms_Material_air; } else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[$par5].$blockMaterial; } if (var$6.$isSolid()) return; var$7 = 0; var$8 = 0; $par5 = 3; $ptr = 1; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, var$7, var$8, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, $ptr); }, nms_BlockCake_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockCake_idDropped = ($this, $par1, $par2Random, $par3) => { return 0; }, nms_BlockCake_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Item_$callClinit(); return nms_Item_cake.$itemID0; }; function nms_BlockRedstoneLogic() { nms_BlockDirectional.call(this); this.$isRepeaterPowered = 0; } let nms_BlockRedstoneLogic_renderAsNormalBlock = $this => { return 0; }, nms_BlockRedstoneLogic_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5; var$5 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$5, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$5, $par4))) $par2 = 0; else { $par2 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $par2 = $par2 && !nms_Block_blocksList.data[$par2].$blockMaterial.$replaceable ? 0 : 1; } return $par2; }, nms_BlockRedstoneLogic_canBlockStay = ($this, $par1World, $par2, $par3, $par4) => { $par3 = $par3 - 1 | 0; nms_Block_$callClinit(); return !nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)) ? 0 : 1; }, nms_BlockRedstoneLogic_getIcon = ($this, $par1, $par2) => { let var$3; if ($par1) { if ($par1 == 1) var$3 = $this.$blockIcon; else { nms_Block_$callClinit(); var$3 = nms_Block_stoneDoubleSlab.$getIcon(1, 0); } } else if (!$this.$isRepeaterPowered) { nms_Block_$callClinit(); var$3 = nms_Block_torchRedstoneIdle.$getIcon($par1, 0); } else { nms_Block_$callClinit(); var$3 = nms_Block_torchRedstoneActive.$getIcon($par1, 0); } return var$3; }, nms_BlockRedstoneLogic_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return $par5 && $par5 != 1 ? 1 : 0; }, nms_BlockRedstoneLogic_func_96470_c = ($this, $par1) => { return $this.$isRepeaterPowered; }, nms_BlockRedstoneLogic_isProvidingStrongPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1IBlockAccess = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockRedstoneLogic_isProvidingWeakPower($this, $par1IBlockAccess, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1IBlockAccess, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockRedstoneLogic_isProvidingWeakPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1IBlockAccess = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); if (!$this.$func_96470_c($var6)) return 0; $var7 = $var6 & 3; if (!$var7 && $par5 == 3) { $ptr = 1; continue main; } if ($var7 == 1 && $par5 == 4) { $ptr = 2; continue main; } if ($var7 == 2 && $par5 == 2) { $ptr = 3; continue main; } if ($var7 == 3 && $par5 == 5) { $ptr = 4; continue main; } return 0; case 1: $tmp = $this.$func_94480_d($par1IBlockAccess, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; case 2: $tmp = $this.$func_94480_d($par1IBlockAccess, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; case 3: $tmp = $this.$func_94480_d($par1IBlockAccess, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; case 4: $tmp = $this.$func_94480_d($par1IBlockAccess, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1IBlockAccess, $par2, $par3, $par4, $par5, $var6, $var7, $ptr); }, nms_BlockRedstoneLogic_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $par3 - 1 | 0; nms_Block_$callClinit(); if (!nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$6, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$6, $par4)) ? 0 : 1) { $ptr = 1; continue main; } $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$7 = 0; var$8 = 1.0; $ptr = 2; continue main; case 1: $this.$func_94479_f($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } return; case 2: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$8, var$7); if ($rt_suspending()) { break main; } $par5 = 0; var$7 = 0; var$9 = 3; $ptr = 3; case 3: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, var$7, var$9); if ($rt_suspending()) { break main; } var$7 = $par2 + 1 | 0; $par5 = $this.$blockID; var$9 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$9, $par3, $par4); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 4; continue main; } } var$9 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$9, $par3, $par4); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 5; continue main; } } if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 6; continue main; } } var$12 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 7; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 8; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 9; continue main; } } var$9 = $par2 - 1 | 0; var$10 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 10; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 15; continue main; } } var$15 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 4: var$11.$onNeighborBlockChange($par1World, var$9, $par3, $par4, $par5); if ($rt_suspending()) { break main; } var$9 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$9, $par3, $par4); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 5; continue main; } } if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 6; continue main; } } var$12 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 7; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 8; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 9; continue main; } } var$9 = $par2 - 1 | 0; var$10 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 10; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 15; continue main; } } var$15 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 5: var$11.$onNeighborBlockChange($par1World, var$9, $par3, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 6; continue main; } } var$12 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 7; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 8; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 9; continue main; } } var$9 = $par2 - 1 | 0; var$10 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 10; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 15; continue main; } } var$15 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 6: var$11.$onNeighborBlockChange($par1World, var$7, var$6, $par4, $par5); if ($rt_suspending()) { break main; } var$12 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 7; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 8; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 9; continue main; } } var$9 = $par2 - 1 | 0; var$10 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 10; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 15; continue main; } } var$15 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 7: var$11.$onNeighborBlockChange($par1World, var$7, var$12, $par4, $par5); if ($rt_suspending()) { break main; } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 8; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 9; continue main; } } var$9 = $par2 - 1 | 0; var$10 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 10; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 15; continue main; } } var$15 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 8: var$11.$onNeighborBlockChange($par1World, var$7, $par3, var$13, $par5); if ($rt_suspending()) { break main; } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$9 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[var$9]; if (var$11 !== null) { $ptr = 9; continue main; } } var$9 = $par2 - 1 | 0; var$10 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 10; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 15; continue main; } } var$15 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 9: var$11.$onNeighborBlockChange($par1World, var$7, $par3, var$14, $par5); if ($rt_suspending()) { break main; } var$9 = $par2 - 1 | 0; var$10 = $this.$blockID; $par5 = var$9 - 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 10; continue main; } } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 15; continue main; } } var$15 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 10: var$11.$onNeighborBlockChange($par1World, $par5, $par3, $par4, var$10); if ($rt_suspending()) { break main; } $par5 = var$9 + 1 | 0; if (!$par1World.$isRemote) { var$15 = nms_World_getBlockId($par1World, $par5, $par3, $par4); var$11 = nms_Block_blocksList.data[var$15]; if (var$11 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 15; continue main; } } var$15 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 11: var$11.$onNeighborBlockChange($par1World, $par5, $par3, $par4, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 15; continue main; } } var$15 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 12: var$11.$onNeighborBlockChange($par1World, var$9, var$6, $par4, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 15; continue main; } } var$15 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 13: var$11.$onNeighborBlockChange($par1World, var$9, var$12, $par4, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 15; continue main; } } var$15 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 14: var$11.$onNeighborBlockChange($par1World, var$9, $par3, var$13, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 15; continue main; } } var$15 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 15: var$11.$onNeighborBlockChange($par1World, var$9, $par3, var$14, var$10); if ($rt_suspending()) { break main; } var$15 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 16: var$11.$onNeighborBlockChange($par1World, var$9, $par3, var$14, var$15); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 17: var$11.$onNeighborBlockChange($par1World, var$7, $par3, var$14, var$15); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 18: var$11.$onNeighborBlockChange($par1World, $par2, var$6, var$14, var$15); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 19; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 19: var$11.$onNeighborBlockChange($par1World, $par2, var$12, var$14, var$15); if ($rt_suspending()) { break main; } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 20; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 20: var$11.$onNeighborBlockChange($par1World, $par2, $par3, $par5, var$15); if ($rt_suspending()) { break main; } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, $par5); var$11 = nms_Block_blocksList.data[var$10]; if (var$11 !== null) { $ptr = 21; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 21: var$11.$onNeighborBlockChange($par1World, $par2, $par3, $par5, var$15); if ($rt_suspending()) { break main; } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 22: var$11.$onNeighborBlockChange($par1World, var$9, $par3, var$13, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 23: var$11.$onNeighborBlockChange($par1World, var$7, $par3, var$13, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 24: var$11.$onNeighborBlockChange($par1World, $par2, var$6, var$13, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 25; continue main; } } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 25: var$11.$onNeighborBlockChange($par1World, $par2, var$12, var$13, var$10); if ($rt_suspending()) { break main; } var$15 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 26; continue main; } } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 26: var$11.$onNeighborBlockChange($par1World, $par2, $par3, var$15, var$10); if ($rt_suspending()) { break main; } var$15 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, var$15); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 27; continue main; } } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 27: var$11.$onNeighborBlockChange($par1World, $par2, $par3, var$15, var$10); if ($rt_suspending()) { break main; } var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 28: var$11.$onNeighborBlockChange($par1World, var$9, var$6, $par4, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$6, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 29; continue main; } } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 29: var$11.$onNeighborBlockChange($par1World, var$7, var$6, $par4, var$10); if ($rt_suspending()) { break main; } $par3 = var$6 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 30; continue main; } } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 30: var$11.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$10); if ($rt_suspending()) { break main; } $par3 = var$6 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[$par5]; if (var$11 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 31: var$11.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 32; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 32: var$11.$onNeighborBlockChange($par1World, $par2, var$6, var$13, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$6, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 33; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 33: var$11.$onNeighborBlockChange($par1World, $par2, var$6, var$14, var$10); if ($rt_suspending()) { break main; } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$9, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 34: var$11.$onNeighborBlockChange($par1World, var$9, var$12, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$12, $par4); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 35; continue main; } } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 35: var$11.$onNeighborBlockChange($par1World, var$7, var$12, $par4, $par5); if ($rt_suspending()) { break main; } $par3 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 36; continue main; } } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 36: var$11.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par3 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); var$11 = nms_Block_blocksList.data[var$7]; if (var$11 !== null) { $ptr = 37; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 37: var$11.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$13); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 38: var$11.$onNeighborBlockChange($par1World, $par2, var$12, var$13, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$12, var$14); var$11 = nms_Block_blocksList.data[$par3]; if (var$11 !== null) { $ptr = 39; continue main; } } return; case 39: var$11.$onNeighborBlockChange($par1World, $par2, var$12, var$14, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_BlockRedstoneLogic_func_94479_f = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $ptr = 1; case 1: $tmp = $this.$func_94476_e($par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5) return; $ptr = 2; case 2: a: { $tmp = $this.$isGettingInput($par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $var7 = $tmp; $par5 = $this.$isRepeaterPowered; if (!($par5 && !$var7)) { if ($par5) break a; if (!$var7) break a; } !nms_BlockRedstoneLogic_func_83011_d($this, $par1World, $par2, $par3, $par4, $var6) && !$this.$isRepeaterPowered; $this.$func_94481_j_($var6); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, $ptr); }, nms_BlockRedstoneLogic_func_94476_e = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return 0; }, nms_BlockRedstoneLogic_isGettingInput = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $this.$getInputStrength($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2 <= 0 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockRedstoneLogic_getInputStrength = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var8, var$9, var$10, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = $par5 & 3; $var7 = $par2 + nms_Direction_offsetX.data[$var6] | 0; $var8 = $par4 + nms_Direction_offsetZ.data[$var6] | 0; $par2 = nms_Direction_directionToFacing.data[$var6]; $par4 = nms_World_getBlockId($par1World, $var7, $par3, $var8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 === null) $par4 = 0; else { var$10 = var$9.$blockMaterial; $par4 = !var$10.$isTranslucent ? var$10.$blocksMovement() : 0; $par4 = $par4 && var$9.$renderAsNormalBlock() && !var$9.$canProvidePower() ? 1 : 0; } if ($par4) { $ptr = 1; continue main; } $par4 = nms_World_getBlockId($par1World, $var7, $par3, $var8); if (!$par4) { $var9 = 0; if ($var9 < 15) { $par2 = nms_World_getBlockId($par1World, $var7, $par3, $var8) != nms_Block_redstoneWire.$blockID ? 0 : nms_World_getBlockMetadata($par1World, $var7, $par3, $var8); if ($var9 > $par2) $par2 = $var9; $var9 = $par2; } return $var9; } var$9 = nms_Block_blocksList.data[$par4]; $ptr = 2; continue main; case 1: $tmp = nms_World_getBlockPowerInput($par1World, $var7, $par3, $var8); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var9 < 15) { $par2 = nms_World_getBlockId($par1World, $var7, $par3, $var8) != nms_Block_redstoneWire.$blockID ? 0 : nms_World_getBlockMetadata($par1World, $var7, $par3, $var8); if ($var9 > $par2) $par2 = $var9; $var9 = $par2; } return $var9; case 2: $tmp = var$9.$isProvidingWeakPower($par1World, $var7, $par3, $var8, $par2); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var9 < 15) { $par2 = nms_World_getBlockId($par1World, $var7, $par3, $var8) != nms_Block_redstoneWire.$blockID ? 0 : nms_World_getBlockMetadata($par1World, $var7, $par3, $var8); if ($var9 > $par2) $par2 = $var9; $var9 = $par2; } return $var9; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, $var8, var$9, var$10, $var9, $ptr); }, nms_BlockRedstoneLogic_func_94482_f = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let var$6, var$7, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1IBlockAccess = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: switch ($par5 & 3) { case 0: case 2: var$6 = $par2 - 1 | 0; var$7 = 4; $par5 = $par1IBlockAccess.$getBlockId(var$6, $par3, $par4); if (!$this.$func_94477_d($par5)) $par5 = 0; else { nms_Block_$callClinit(); if ($par5 != nms_Block_redstoneWire.$blockID) { $ptr = 1; continue main; } $par5 = $par1IBlockAccess.$getBlockMetadata(var$6, $par3, $par4); } $var6 = $par2 + 1 | 0; $par2 = 5; var$7 = $par1IBlockAccess.$getBlockId($var6, $par3, $par4); if (!$this.$func_94477_d(var$7)) $par3 = 0; else { nms_Block_$callClinit(); if (var$7 != nms_Block_redstoneWire.$blockID) { $ptr = 3; continue main; } $par3 = $par1IBlockAccess.$getBlockMetadata($var6, $par3, $par4); } if ($par5 > $par3) $par3 = $par5; return $par3; case 1: case 3: $var6 = $par4 + 1 | 0; var$7 = 3; var$6 = $par1IBlockAccess.$getBlockId($par2, $par3, $var6); if (!$this.$func_94477_d(var$6)) var$6 = 0; else { nms_Block_$callClinit(); if (var$6 != nms_Block_redstoneWire.$blockID) { $ptr = 2; continue main; } var$6 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $var6); } $par4 = $par4 - 1 | 0; $par5 = 2; $var6 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); if (!$this.$func_94477_d($var6)) $par3 = 0; else { nms_Block_$callClinit(); if ($var6 != nms_Block_redstoneWire.$blockID) { $ptr = 4; continue main; } $par3 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); } if (var$6 > $par3) $par3 = var$6; return $par3; default: } return 0; case 1: $tmp = $par1IBlockAccess.$isBlockProvidingPowerTo(var$6, $par3, $par4, var$7); if ($rt_suspending()) { break main; } $par5 = $tmp; $var6 = $par2 + 1 | 0; $par2 = 5; var$7 = $par1IBlockAccess.$getBlockId($var6, $par3, $par4); if (!$this.$func_94477_d(var$7)) $par3 = 0; else { nms_Block_$callClinit(); if (var$7 != nms_Block_redstoneWire.$blockID) { $ptr = 3; continue main; } $par3 = $par1IBlockAccess.$getBlockMetadata($var6, $par3, $par4); } if ($par5 > $par3) $par3 = $par5; return $par3; case 2: $tmp = $par1IBlockAccess.$isBlockProvidingPowerTo($par2, $par3, $var6, var$7); if ($rt_suspending()) { break main; } var$6 = $tmp; $par4 = $par4 - 1 | 0; $par5 = 2; $var6 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); if (!$this.$func_94477_d($var6)) $par3 = 0; else { nms_Block_$callClinit(); if ($var6 != nms_Block_redstoneWire.$blockID) { $ptr = 4; continue main; } $par3 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); } if (var$6 > $par3) $par3 = var$6; return $par3; case 3: $tmp = $par1IBlockAccess.$isBlockProvidingPowerTo($var6, $par3, $par4, $par2); if ($rt_suspending()) { break main; } $par3 = $tmp; if ($par5 > $par3) $par3 = $par5; return $par3; case 4: $tmp = $par1IBlockAccess.$isBlockProvidingPowerTo($par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par3 = $tmp; if (var$6 > $par3) $par3 = var$6; return $par3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1IBlockAccess, $par2, $par3, $par4, $par5, var$6, var$7, $var6, $ptr); }, nms_BlockRedstoneLogic_func_94488_g = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1IBlockAccess = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); if (!$this.$func_94477_d($var6)) $par2 = 0; else { nms_Block_$callClinit(); if ($var6 != nms_Block_redstoneWire.$blockID) { $ptr = 1; continue main; } $par2 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); } return $par2; case 1: $tmp = $par1IBlockAccess.$isBlockProvidingPowerTo($par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1IBlockAccess, $par2, $par3, $par4, $par5, $var6, $ptr); }, nms_BlockRedstoneLogic_canProvidePower = $this => { return 1; }, nms_BlockRedstoneLogic_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, $var8, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par5EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 0.5; $var8 = var$7 | 0; if (var$7 < $var8) $var8 = $var8 - 1 | 0; $var7 = (($var8 & 3) + 2 | 0) % 4 | 0; $var8 = 3; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, $var8); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $tmp = $this.$isGettingInput($par1World, $par2, $par3, $par4, $var7); if ($rt_suspending()) { break main; } $var8 = $tmp; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, $var8, $var7, $ptr); }, nms_BlockRedstoneLogic_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockRedstoneLogic_func_94483_i_($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $ptr); }, nms_BlockRedstoneLogic_func_94483_i_ = ($this, $par1World, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 3; if ($var5 == 1) { var$6 = $par2 + 1 | 0; var$7 = $this.$blockID; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 3; continue main; } } var$7 = $this.$blockID; var$8 = 4; $ptr = 1; continue main; } if ($var5 == 3) { var$6 = $par2 - 1 | 0; var$7 = $this.$blockID; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 5; continue main; } } var$7 = $this.$blockID; var$8 = 5; $ptr = 2; continue main; } if ($var5 == 2) { var$6 = $par4 + 1 | 0; var$7 = $this.$blockID; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } var$7 = $this.$blockID; var$8 = 2; $ptr = 4; continue main; } if ($var5) return; $par4 = $par4 - 1 | 0; var$6 = $this.$blockID; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 8; continue main; } } var$6 = $this.$blockID; var$7 = 3; $ptr = 6; continue main; case 1: nms_World_notifyBlocksOfNeighborChange($par1World, var$6, $par3, $par4, var$7, var$8); if ($rt_suspending()) { break main; } if ($var5 == 3) { var$6 = $par2 - 1 | 0; var$7 = $this.$blockID; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$6, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 5; continue main; } } var$7 = $this.$blockID; var$8 = 5; $ptr = 2; continue main; } if ($var5 == 2) { var$6 = $par4 + 1 | 0; var$7 = $this.$blockID; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } var$7 = $this.$blockID; var$8 = 2; $ptr = 4; continue main; } if ($var5) return; $par4 = $par4 - 1 | 0; var$6 = $this.$blockID; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 8; continue main; } } var$6 = $this.$blockID; var$7 = 3; $ptr = 6; continue main; case 2: nms_World_notifyBlocksOfNeighborChange($par1World, var$6, $par3, $par4, var$7, var$8); if ($rt_suspending()) { break main; } if ($var5 == 2) { var$6 = $par4 + 1 | 0; var$7 = $this.$blockID; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, var$6); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } var$7 = $this.$blockID; var$8 = 2; $ptr = 4; continue main; } if ($var5) return; $par4 = $par4 - 1 | 0; var$6 = $this.$blockID; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 8; continue main; } } var$6 = $this.$blockID; var$7 = 3; $ptr = 6; continue main; case 3: var$9.$onNeighborBlockChange($par1World, var$6, $par3, $par4, var$7); if ($rt_suspending()) { break main; } var$7 = $this.$blockID; var$8 = 4; $ptr = 1; continue main; case 4: nms_World_notifyBlocksOfNeighborChange($par1World, $par2, $par3, var$6, var$7, var$8); if ($rt_suspending()) { break main; } if ($var5) return; $par4 = $par4 - 1 | 0; var$6 = $this.$blockID; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 8; continue main; } } var$6 = $this.$blockID; var$7 = 3; $ptr = 6; continue main; case 5: var$9.$onNeighborBlockChange($par1World, var$6, $par3, $par4, var$7); if ($rt_suspending()) { break main; } var$7 = $this.$blockID; var$8 = 5; $ptr = 2; continue main; case 6: nms_World_notifyBlocksOfNeighborChange($par1World, $par2, $par3, $par4, var$6, var$7); if ($rt_suspending()) { break main; } return; case 7: var$9.$onNeighborBlockChange($par1World, $par2, $par3, var$6, var$7); if ($rt_suspending()) { break main; } var$7 = $this.$blockID; var$8 = 2; $ptr = 4; continue main; case 8: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$6); if ($rt_suspending()) { break main; } var$6 = $this.$blockID; var$7 = 3; $ptr = 6; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, var$6, var$7, var$8, var$9, $ptr); }, nms_BlockRedstoneLogic_onBlockDestroyedByPlayer = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$isRepeaterPowered) { var$6 = $par2 + 1 | 0; $par5 = $this.$blockID; var$7 = var$6 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 1; continue main; } } var$7 = var$6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 2; continue main; } } var$10 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 3; continue main; } } var$11 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 6; continue main; } } var$7 = $par2 - 1 | 0; $par5 = $this.$blockID; var$8 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 7; continue main; } } var$8 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } } return; case 1: var$9.$onNeighborBlockChange($par1World, var$7, $par3, $par4, $par5); if ($rt_suspending()) { break main; } var$7 = var$6 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 2; continue main; } } var$10 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 3; continue main; } } var$11 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 6; continue main; } } var$7 = $par2 - 1 | 0; $par5 = $this.$blockID; var$8 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 7; continue main; } } var$8 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 2: var$9.$onNeighborBlockChange($par1World, var$7, $par3, $par4, $par5); if ($rt_suspending()) { break main; } var$10 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 3; continue main; } } var$11 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 6; continue main; } } var$7 = $par2 - 1 | 0; $par5 = $this.$blockID; var$8 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 7; continue main; } } var$8 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 3: var$9.$onNeighborBlockChange($par1World, var$6, var$10, $par4, $par5); if ($rt_suspending()) { break main; } var$11 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 4; continue main; } } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 6; continue main; } } var$7 = $par2 - 1 | 0; $par5 = $this.$blockID; var$8 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 7; continue main; } } var$8 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 4: var$9.$onNeighborBlockChange($par1World, var$6, var$11, $par4, $par5); if ($rt_suspending()) { break main; } var$12 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 5; continue main; } } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 6; continue main; } } var$7 = $par2 - 1 | 0; $par5 = $this.$blockID; var$8 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 7; continue main; } } var$8 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 5: var$9.$onNeighborBlockChange($par1World, var$6, $par3, var$12, $par5); if ($rt_suspending()) { break main; } var$13 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$7 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$7]; if (var$9 !== null) { $ptr = 6; continue main; } } var$7 = $par2 - 1 | 0; $par5 = $this.$blockID; var$8 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 7; continue main; } } var$8 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 6: var$9.$onNeighborBlockChange($par1World, var$6, $par3, var$13, $par5); if ($rt_suspending()) { break main; } var$7 = $par2 - 1 | 0; $par5 = $this.$blockID; var$8 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 7; continue main; } } var$8 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 7: var$9.$onNeighborBlockChange($par1World, var$8, $par3, $par4, $par5); if ($rt_suspending()) { break main; } var$8 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 8; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 8: var$9.$onNeighborBlockChange($par1World, var$8, $par3, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 9: var$9.$onNeighborBlockChange($par1World, var$7, var$10, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 10: var$9.$onNeighborBlockChange($par1World, var$7, var$11, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 11: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$12, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 12; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 12: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$13, $par5); if ($rt_suspending()) { break main; } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 13: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$13, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 14: var$9.$onNeighborBlockChange($par1World, var$6, $par3, var$13, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 15: var$9.$onNeighborBlockChange($par1World, $par2, var$10, var$13, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 16: var$9.$onNeighborBlockChange($par1World, $par2, var$11, var$13, var$14); if ($rt_suspending()) { break main; } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 17; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 17: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par5, var$14); if ($rt_suspending()) { break main; } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 18; continue main; } } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 18: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par5, var$14); if ($rt_suspending()) { break main; } var$14 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 19: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$12, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$6, $par3, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 20: var$9.$onNeighborBlockChange($par1World, var$6, $par3, var$12, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 21: var$9.$onNeighborBlockChange($par1World, $par2, var$10, var$12, var$14); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 22; continue main; } } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 22: var$9.$onNeighborBlockChange($par1World, $par2, var$11, var$12, var$14); if ($rt_suspending()) { break main; } $par5 = var$12 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 23; continue main; } } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 23: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par5, var$14); if ($rt_suspending()) { break main; } $par5 = var$12 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 24; continue main; } } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 24: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par5, var$14); if ($rt_suspending()) { break main; } var$8 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 25; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 25: var$9.$onNeighborBlockChange($par1World, var$7, var$10, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$10, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 26; continue main; } } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 26: var$9.$onNeighborBlockChange($par1World, var$6, var$10, $par4, var$8); if ($rt_suspending()) { break main; } $par3 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 27; continue main; } } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 27: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$8); if ($rt_suspending()) { break main; } $par3 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 28; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 28: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 29; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 29: var$9.$onNeighborBlockChange($par1World, $par2, var$10, var$12, var$8); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$10, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 30; continue main; } } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 30: var$9.$onNeighborBlockChange($par1World, $par2, var$10, var$13, var$8); if ($rt_suspending()) { break main; } $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 31: var$9.$onNeighborBlockChange($par1World, var$7, var$11, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$6, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 32; continue main; } } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 32: var$9.$onNeighborBlockChange($par1World, var$6, var$11, $par4, $par5); if ($rt_suspending()) { break main; } $par3 = var$11 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 33; continue main; } } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 33: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par3 = var$11 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 34: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$12); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 35; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 35: var$9.$onNeighborBlockChange($par1World, $par2, var$11, var$12, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par3]; if (var$9 !== null) { $ptr = 36; continue main; } } return; case 36: var$9.$onNeighborBlockChange($par1World, $par2, var$11, var$13, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_BlockRedstoneLogic_isOpaqueCube = $this => { return 0; }, nms_BlockRedstoneLogic_func_94477_d = ($this, $par1) => { let $var2; nms_Block_$callClinit(); $var2 = nms_Block_blocksList.data[$par1]; return $var2 !== null && $var2.$canProvidePower() ? 1 : 0; }, nms_BlockRedstoneLogic_func_94480_d = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return 15; }, nms_BlockRedstoneLogic_func_83011_d = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7; $var6 = $par5 & 3; $var7 = nms_World_getBlockId($par1World, $par2 - nms_Direction_offsetX.data[$var6] | 0, $par3, $par4 - nms_Direction_offsetZ.data[$var6] | 0); nms_Block_$callClinit(); $par5 = $var7 != nms_Block_redstoneRepeaterActive.$blockID && $var7 != nms_Block_redstoneRepeaterIdle.$blockID ? 0 : 1; if (!(!$par5 && !($var7 != nms_Block_redstoneComparatorActive.$blockID && $var7 != nms_Block_redstoneComparatorIdle.$blockID ? 0 : 1) ? 0 : 1)) return 0; return (nms_World_getBlockMetadata($par1World, $par2 - nms_Direction_offsetX.data[$var6] | 0, $par3, $par4 - nms_Direction_offsetZ.data[$var6] | 0) & 3) == $var6 ? 0 : 1; }, nms_BlockRedstoneRepeater = $rt_classWithoutFields(nms_BlockRedstoneLogic), nms_BlockRedstoneRepeater_repeaterTorchOffset = null, nms_BlockRedstoneRepeater_repeaterState = null, nms_BlockRedstoneRepeater__init_0 = ($this, $par1, $par2) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); $this.$isRepeaterPowered = $par2; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.125; $this.$maxZ0 = 1.0; }, nms_BlockRedstoneRepeater__init_ = (var_0, var_1) => { let var_2 = new nms_BlockRedstoneRepeater(); nms_BlockRedstoneRepeater__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockRedstoneRepeater_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $par6 = ((($var10 & 12) >> 2) + 1 | 0) << 2 & 12 | $var10 & 3; $var10 = 3; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par6, $var10); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, $ptr); }, nms_BlockRedstoneRepeater_func_94481_j_ = ($this, $par1) => { return nms_BlockRedstoneRepeater_repeaterState.data[($par1 & 12) >> 2] * 2 | 0; }, nms_BlockRedstoneRepeater_func_94485_e = $this => { nms_Block_$callClinit(); return nms_Block_redstoneRepeaterActive; }, nms_BlockRedstoneRepeater_func_94484_i = $this => { nms_Block_$callClinit(); return nms_Block_redstoneRepeaterIdle; }, nms_BlockRedstoneRepeater_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_redstoneRepeater.$itemID0; }, nms_BlockRedstoneRepeater_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Item_$callClinit(); return nms_Item_redstoneRepeater.$itemID0; }, nms_BlockRedstoneRepeater_getRenderType = $this => { return 15; }, nms_BlockRedstoneRepeater_func_94476_e = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1IBlockAccess = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockRedstoneLogic_func_94482_f($this, $par1IBlockAccess, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2 <= 0 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1IBlockAccess, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockRedstoneRepeater_func_94477_d = ($this, $par1) => { let var$2; nms_Block_$callClinit(); var$2 = $par1 != nms_Block_redstoneRepeaterActive.$blockID && $par1 != nms_Block_redstoneRepeaterIdle.$blockID ? 0 : 1; return !var$2 && !($par1 != nms_Block_redstoneComparatorActive.$blockID && $par1 != nms_Block_redstoneComparatorIdle.$blockID ? 0 : 1) ? 0 : 1; }, nms_BlockRedstoneRepeater_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let $var6, $var7, $var14, var$9, $var8, $var12, var$12, $var10, $var16, $var18, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var10 = $thread.pop();var$12 = $thread.pop();$var12 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();$var14 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$isRepeaterPowered) { a: { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var7 = $var6 & 3; $var14 = $par2 + 0.5; var$9 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$9; $var8 = $var14 + (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 - 0.5) * 0.2; $var12 = $par3 + 0.4000000059604645; var$12 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$12; $var10 = $var12 + (Long_lo(Long_shru(var$12, 24)) / 1.6777216E7 - 0.5) * 0.2; $var14 = $par4 + 0.5; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$12; $var12 = $var14 + (Long_lo(Long_shru(var$12, 24)) / 1.6777216E7 - 0.5) * 0.2; $var14 = 0.0; $var16 = 0.0; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$12; if (!Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$12, 17)))), 31))) b: { switch ($var7) { case 0: $var16 = (-0.3125); break b; case 1: $var14 = 0.3125; break b; case 2: $var16 = 0.3125; break b; case 3: $var14 = (-0.3125); break b; default: } } else { $var18 = ($var6 & 12) >> 2; switch ($var7) { case 0: $var16 = nms_BlockRedstoneRepeater_repeaterTorchOffset.data[$var18]; break a; case 1: $var14 = -nms_BlockRedstoneRepeater_repeaterTorchOffset.data[$var18]; break a; case 2: $var16 = -nms_BlockRedstoneRepeater_repeaterTorchOffset.data[$var18]; break a; case 3: $var14 = nms_BlockRedstoneRepeater_repeaterTorchOffset.data[$var18]; break a; default: } } } $par5Random = $rt_s(1490); $var14 = $var8 + $var14; $var12 = $var12 + $var16; $var16 = 0.0; $var8 = 0.0; var$16 = 0.0; $par2 = 0; var$17 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$17.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$17 = var$17.$array.data[$par2]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } return; case 1: nms_RenderGlobal_doSpawnParticle(var$17, $par5Random, $var14, $var10, $var12, $var16, $var8, var$16); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$17 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$17.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$17 = var$17.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, $var6, $var7, $var14, var$9, $var8, $var12, var$12, $var10, $var16, $var18, var$16, var$17, $ptr); }, nms_BlockRedstoneRepeater_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockRedstoneLogic_func_94483_i_($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $ptr); }, nms_BlockRedstoneRepeater__clinit_ = () => { nms_BlockRedstoneRepeater_repeaterTorchOffset = $rt_createDoubleArrayFromData([(-0.0625), 0.0625, 0.1875, 0.3125]); nms_BlockRedstoneRepeater_repeaterState = $rt_createIntArrayFromData([1, 2, 3, 4]); }, nms_BlockLockedChest = $rt_classWithoutFields(nms_Block), nms_BlockLockedChest__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_wood); }, nms_BlockLockedChest__init_0 = var_0 => { let var_1 = new nms_BlockLockedChest(); nms_BlockLockedChest__init_(var_1, var_0); return var_1; }, nms_BlockLockedChest_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { return 1; }, nms_BlockLockedChest_registerIcons = ($this, $par1IconRegister) => { return; }, nms_BlockTrapDoor = $rt_classWithoutFields(nms_Block), nms_BlockTrapDoor__init_ = ($this, $par1, $par2Material) => { nms_Block__init_($this, $par1, $par2Material); $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; }, nms_BlockTrapDoor__init_0 = (var_0, var_1) => { let var_2 = new nms_BlockTrapDoor(); nms_BlockTrapDoor__init_(var_2, var_0, var_1); return var_2; }, nms_BlockTrapDoor_isOpaqueCube = $this => { return 0; }; let nms_BlockTrapDoor_renderAsNormalBlock = $this => { return 0; }, nms_BlockTrapDoor_getBlocksMovement = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return (!(nms_World_getBlockMetadata($par1IBlockAccess, $par2, $par3, $par4) & 4) ? 0 : 1) ? 0 : 1; }, nms_BlockTrapDoor_getRenderType = $this => { return 0; }, nms_BlockTrapDoor_getSelectedBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; nms_BlockTrapDoor_setBlockBoundsForBlockRender($this, nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)); $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par3 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par2 = var$11.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par2 + 1 | 0); var$13 = var$11.$array.data; $par2 = var$11.$size0; var$11.$size0 = $par2 + 1 | 0; var$13[$par2] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$12 = var$11.$array.data[$par3]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockTrapDoor_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; nms_BlockTrapDoor_setBlockBoundsForBlockRender($this, nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)); $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par3 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par2 = var$11.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par2 + 1 | 0); var$13 = var$11.$array.data; $par2 = var$11.$size0; var$11.$size0 = $par2 + 1 | 0; var$13[$par2] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$12 = var$11.$array.data[$par3]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockTrapDoor_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { nms_BlockTrapDoor_setBlockBoundsForBlockRender($this, $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4)); }, nms_BlockTrapDoor_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.0; $this.$minY0 = 0.40625; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.59375; $this.$maxZ0 = 1.0; }, nms_BlockTrapDoor_setBlockBoundsForBlockRender = ($this, $par1) => { if (!($par1 & 8)) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.1875; $this.$maxZ0 = 1.0; } else { $this.$minX0 = 0.0; $this.$minY0 = 0.8125; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } if (!($par1 & 4) ? 0 : 1) { $par1 = $par1 & 3; if (!$par1) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.8125; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } if ($par1 == 1) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.1875; } if ($par1 == 2) { $this.$minX0 = 0.8125; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } if ($par1 == 3) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.1875; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } } }, nms_BlockTrapDoor_onBlockClicked = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer) => { return; }, nms_BlockTrapDoor_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let var$10, $var10, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var10 = $thread.pop();var$10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$10 = $this.$blockMaterial; nms_Material_$callClinit(); if (var$10 === nms_Material_iron) return 1; $par6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) ^ 4; $var10 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par6, $var10); if ($rt_suspending()) { break main; } $par6 = 1003; var$12 = 0; $var10 = 0; var$10 = $par1World.$worldAccesses; var$13 = $rt_compare($var10, var$10.$size0); if (var$13 >= 0) return 1; if ($var10 >= 0 && var$13 < 0) { var$10 = var$10.$array.data[$var10]; $ptr = 2; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 2: nms_RenderGlobal_playAuxSFX(var$10, $par5EntityPlayer, $par6, $par2, $par3, $par4, var$12); if ($rt_suspending()) { break main; } $var10 = $var10 + 1 | 0; var$10 = $par1World.$worldAccesses; var$13 = $rt_compare($var10, var$10.$size0); if (var$13 >= 0) return 1; if ($var10 >= 0 && var$13 < 0) { var$10 = var$10.$array.data[$var10]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, var$10, $var10, var$12, var$13, $ptr); }, nms_BlockTrapDoor_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var9, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var9 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var9 = $var6 & 3; var$8 = $var9 ? $par4 : $par4 + 1 | 0; if ($var9 == 1) var$8 = var$8 + (-1) | 0; var$9 = $var9 != 2 ? $par2 : $par2 + 1 | 0; if ($var9 == 3) var$9 = var$9 + (-1) | 0; if (nms_BlockTrapDoor_isValidSupportBlock(nms_World_getBlockId($par1World, var$9, $par3, var$8))) { $ptr = 1; continue main; } $var9 = 0; var$8 = 0; var$9 = 3; $ptr = 2; continue main; case 1: a: { $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var9 = $tmp; if (!$var9) { if ($par5 <= 0) break a; nms_Block_$callClinit(); if (!nms_Block_blocksList.data[$par5].$canProvidePower()) break a; } var$8 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if (((var$8 & 4) <= 0 ? 0 : 1) != $var9) { $par5 = var$8 ^ 4; $var9 = 2; $ptr = 4; continue main; } } return; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $var9, var$8, var$9); if ($rt_suspending()) { break main; } $var9 = 0; var$10 = 1.0; $ptr = 3; case 3: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $var6, var$10, $var9); if ($rt_suspending()) { break main; } $ptr = 1; continue main; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par5, $var9); if ($rt_suspending()) { break main; } var$11 = null; $par5 = 1003; var$9 = 0; $var9 = 0; var$12 = $par1World.$worldAccesses; var$8 = $rt_compare($var9, var$12.$size0); if (var$8 >= 0) return; if ($var9 >= 0 && var$8 < 0) { var$12 = var$12.$array.data[$var9]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); case 5: nms_RenderGlobal_playAuxSFX(var$12, var$11, $par5, $par2, $par3, $par4, var$9); if ($rt_suspending()) { break main; } $var9 = $var9 + 1 | 0; var$12 = $par1World.$worldAccesses; var$8 = $rt_compare($var9, var$12.$size0); if (var$8 >= 0) return; if ($var9 >= 0 && var$8 < 0) { var$12 = var$12.$array.data[$var9]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var9, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_BlockTrapDoor_collisionRayTrace = ($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par6Vec3 = $thread.pop();$par5Vec3 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_BlockTrapDoor_setBlockBoundsForBlockRender($this, nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)); $ptr = 1; case 1: $tmp = nms_Block_collisionRayTrace($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3); if ($rt_suspending()) { break main; } $par1World = $tmp; return $par1World; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Vec3, $par6Vec3, $ptr); }, nms_BlockTrapDoor_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { let $var10; $var10 = 0; if ($par5 == 2) $var10 = 0; if ($par5 == 3) $var10 = 1; if ($par5 == 4) $var10 = 2; if ($par5 == 5) $var10 = 3; if ($par5 != 1 && $par5 && $par7 > 0.5) $var10 = $var10 | 8; return $var10; }, nms_BlockTrapDoor_canPlaceBlockOnSide = ($this, $par1World, $par2, $par3, $par4, $par5) => { if (!$par5) return 0; if ($par5 == 1) return 0; if ($par5 == 2) $par4 = $par4 + 1 | 0; if ($par5 == 3) $par4 = $par4 + (-1) | 0; if ($par5 == 4) $par2 = $par2 + 1 | 0; if ($par5 == 5) $par2 = $par2 + (-1) | 0; return nms_BlockTrapDoor_isValidSupportBlock(nms_World_getBlockId($par1World, $par2, $par3, $par4)); }, nms_BlockTrapDoor_isValidSupportBlock = $par0 => { let $var1, var$3; if ($par0 <= 0) return 0; a: { b: { nms_Block_$callClinit(); $var1 = nms_Block_blocksList.data[$par0]; if ($var1 !== null) { var$3 = $var1.$blockMaterial; if ((!var$3.$isTranslucent ? var$3.$blocksMovement() : 0) && $var1.$renderAsNormalBlock()) break b; } if ($var1 !== nms_Block_glowStone && !($var1 instanceof nms_BlockHalfSlab) && !($var1 instanceof nms_BlockStairs)) { $par0 = 0; break a; } } $par0 = 1; } return $par0; }, nms_BlockSilverfish = $rt_classWithoutFields(nms_Block), nms_BlockSilverfish_silverfishStoneTypes = null, nms_BlockSilverfish__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_clay); $this.$blockHardness = 0.0; if ($this.$blockResistance < 0.0) $this.$blockResistance = 0.0; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockSilverfish__init_ = var_0 => { let var_1 = new nms_BlockSilverfish(); nms_BlockSilverfish__init_0(var_1, var_0); return var_1; }, nms_BlockSilverfish_getIcon = ($this, $par1, $par2) => { let var$3; if ($par2 == 1) { nms_Block_$callClinit(); var$3 = nms_Block_cobblestone.$getIcon($par1, 0); } else if ($par2 != 2) { nms_Block_$callClinit(); var$3 = nms_Block_stone.$getIcon($par1, 0); } else { nms_Block_$callClinit(); var$3 = nms_Block_stoneBrick.$getIcon($par1, 0); } return var$3; }, nms_BlockSilverfish_registerIcons = ($this, $par1IconRegister) => { return; }, nms_BlockSilverfish_onBlockDestroyedByPlayer = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $var6 = new nms_EntitySilverfish; nms_EntityCreature_$callClinit(); nms_EntityLiving__init_($var6, $par1World); var$7 = new nms_ChunkCoordinates; var$7.$posX0 = 0; var$7.$posY0 = 0; var$7.$posZ0 = 0; $var6.$homePosition = var$7; $var6.$maximumHomeDistance = (-1.0); var$7 = new nms_EntityAIMoveTowardsRestriction; var$7.$theEntity0 = $var6; var$7.$movementSpeed = 1.0; var$7.$mutexBits = 1; $var6.$field_110178_bs = var$7; $var6.$experienceValue = 5; var$8 = 0.30000001192092896; var$9 = 0.699999988079071; $ptr = 1; case 1: nms_Entity_setSize($var6, var$8, var$9); if ($rt_suspending()) { break main; } var$10 = $par2 + 0.5; var$11 = $par3; var$12 = $par4 + 0.5; $var6.$posX = var$10; $var6.$prevPosX = var$10; $var6.$lastTickPosX = var$10; var$11 = var$11 + $var6.$yOffset; $var6.$posY = var$11; $var6.$prevPosY = var$11; $var6.$lastTickPosY = var$11; $var6.$posZ = var$12; $var6.$prevPosZ = var$12; $var6.$lastTickPosZ = var$12; $var6.$rotationYaw = 0.0; $var6.$rotationPitch = 0.0; nms_Entity_setPosition($var6, var$10, var$11, var$12); $par2 = nms_World_spawnEntityInWorld($par1World, $var6); var$7 = $par1World.$entityList; ju_HashMap_putImpl(var$7.$backingMap, $var6, var$7); if (!$par2) { $par1World = $par1World.$entitySpawnQueue; ju_HashMap_putImpl($par1World.$backingMap, $var6, $par1World); } $ptr = 2; case 2: nms_EntityLiving_spawnExplosionParticle($var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_BlockSilverfish_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockSilverfish_getDamageValue = ($this, $par1World, $par2, $par3, $par4) => { return nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); }, nms_BlockSilverfish_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let $var4, var$5, var$6; $var4 = 0; while ($var4 < 3) { $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = $var4; if ($var4 < 0) $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$5 = $par3List.$array.data; var$6 = $par3List.$size0; $par3List.$size0 = var$6 + 1 | 0; var$5[var$6] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } }, nms_BlockSilverfish__clinit_ = () => { nms_BlockSilverfish_silverfishStoneTypes = $rt_wrapArray(jl_String, [$rt_s(79), $rt_s(80), $rt_s(81)]); }; function nms_BlockStoneBrick() { nms_Block.call(this); this.$field_94408_c = null; } let nms_BlockStoneBrick_STONE_BRICK_TYPES = null, nms_BlockStoneBrick_field_94407_b = null, nms_BlockStoneBrick__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockStoneBrick__init_0 = var_0 => { let var_1 = new nms_BlockStoneBrick(); nms_BlockStoneBrick__init_(var_1, var_0); return var_1; }, nms_BlockStoneBrick_getIcon = ($this, $par1, $par2) => { if (!($par2 >= 0 && $par2 < nms_BlockStoneBrick_field_94407_b.data.length)) $par2 = 0; return $this.$field_94408_c.data[$par2]; }, nms_BlockStoneBrick_damageDropped = ($this, $par1) => { return $par1; }, nms_BlockStoneBrick_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let $var4, var$5, var$6; $var4 = 0; while ($var4 < 4) { $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = $var4; if ($var4 < 0) $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$5 = $par3List.$array.data; var$6 = $par3List.$size0; $par3List.$size0 = var$6 + 1 | 0; var$5[var$6] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } }, nms_BlockStoneBrick_registerIcons = ($this, $par1IconRegister) => { let $var2, $var3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $this.$field_94408_c = $rt_createArray(nms_Icon, nms_BlockStoneBrick_field_94407_b.data.length); $var2 = 0; a: { b: { while ($var2 < $this.$field_94408_c.data.length) { $var3 = $this.$textureName; if ($var3 === null) { var$4 = $this.$blockID; var$5 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$4, 10); var$4 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$4, var$4 + 1 | 0); var$6.$buffer.data[var$4] = 95; var$4 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$4, var$5); $var3 = new jl_String; var$7 = var$6.$buffer; var$8 = var$7.data; var$9 = var$6.$length0; var$10 = var$8.length; if (var$9 < 0) break b; if (var$9 > (var$10 - 0 | 0)) break b; $var3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); } var$7 = nms_BlockStoneBrick_field_94407_b.data; if (var$7[$var2] !== null) { var$5 = var$7[$var2]; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $var3); var$4 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$4, var$4 + 1 | 0); var$6.$buffer.data[var$4] = 95; var$4 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$4, var$5); $var3 = new jl_String; var$8 = var$6.$buffer; var$7 = var$8.data; var$10 = var$6.$length0; var$4 = var$7.length; if (var$10 < 0) break a; if (var$10 > (var$4 - 0 | 0)) break a; $var3.$nativeString = $rt_charArrayToString(var$8.data, 0, var$10); } $this.$field_94408_c.data[$var2] = $par1IconRegister.$registerIcon($var3, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockStoneBrick__clinit_ = () => { let var$1, var$2; nms_BlockStoneBrick_STONE_BRICK_TYPES = $rt_wrapArray(jl_String, [$rt_s(161), $rt_s(85), $rt_s(3094), $rt_s(3018)]); var$1 = $rt_createArray(jl_String, 4); var$2 = var$1.data; var$2[0] = null; var$2[1] = $rt_s(85); var$2[2] = $rt_s(3094); var$2[3] = $rt_s(3020); nms_BlockStoneBrick_field_94407_b = var$1; }; function nms_BlockMushroomCap() { let a = this; nms_Block.call(a); a.$mushroomType = 0; a.$iconArray = null; a.$field_94426_cO = null; a.$field_94427_cP = null; } let nms_BlockMushroomCap_field_94429_a = null, nms_BlockMushroomCap__init_0 = ($this, $par1, $par2Material, $par3) => { nms_Block__init_($this, $par1, $par2Material); $this.$mushroomType = $par3; }, nms_BlockMushroomCap__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_BlockMushroomCap(); nms_BlockMushroomCap__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_BlockMushroomCap_getIcon = ($this, $par1, $par2) => { let var$3, var$4, var$5; a: { if ($par2 == 10 && $par1 > 1) { var$3 = $this.$field_94426_cO; break a; } var$4 = $rt_compare($par2, 1); if (var$4 >= 0 && $par2 <= 9 && $par1 == 1) { var$3 = $this.$iconArray.data[$this.$mushroomType]; break a; } if (var$4 >= 0 && $par2 <= 3 && $par1 == 2) { var$3 = $this.$iconArray.data[$this.$mushroomType]; break a; } var$5 = $rt_compare($par2, 7); if (var$5 >= 0 && $par2 <= 9 && $par1 == 3) { var$3 = $this.$iconArray.data[$this.$mushroomType]; break a; } if (!(var$4 && $par2 != 4 && var$5) && $par1 == 4) { var$3 = $this.$iconArray.data[$this.$mushroomType]; break a; } if (!($par2 != 3 && $par2 != 6 && $par2 != 9) && $par1 == 5) { var$3 = $this.$iconArray.data[$this.$mushroomType]; break a; } if ($par2 == 14) { var$3 = $this.$iconArray.data[$this.$mushroomType]; break a; } if ($par2 != 15) { var$3 = $this.$field_94427_cP; break a; } var$3 = $this.$field_94426_cO; } return var$3; }, nms_BlockMushroomCap_quantityDropped = ($this, $par1Random) => { let var$2, var$3, var$4, $var2; var$2 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { var$4 = var$3 % 10 | 0; if (((var$3 - var$4 | 0) + 9 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } $var2 = var$4 - 7 | 0; if ($var2 < 0) $var2 = 0; return $var2; }, nms_BlockMushroomCap_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_mushroomBrown.$blockID + $this.$mushroomType | 0; }, nms_BlockMushroomCap_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Block_$callClinit(); return nms_Block_mushroomBrown.$blockID + $this.$mushroomType | 0; }, nms_BlockMushroomCap_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; $this.$iconArray = $rt_createArray(nms_Icon, nms_BlockMushroomCap_field_94429_a.data.length); $var2 = 0; a: { while (true) { var$3 = $this.$iconArray.data; if ($var2 >= var$3.length) { var$4 = $this.$textureName; if (var$4 === null) { $var2 = $this.$blockID; var$5 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $var2, 10); $var2 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, $var2, $var2 + 1 | 0); var$6.$buffer.data[$var2] = 95; $var2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, $var2, var$5); var$4 = new jl_String; var$7 = var$6.$buffer; var$3 = var$7.data; var$8 = var$6.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$4); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3095)); var$4 = new jl_String; var$7 = var$5.$buffer; var$3 = var$7.data; var$8 = var$5.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$field_94427_cP = $par1IconRegister.$registerIcon(var$4, 1); var$5 = $this.$textureName; if (var$5 === null) { $var2 = $this.$blockID; var$5 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $var2, 10); $var2 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, $var2, $var2 + 1 | 0); var$4.$buffer.data[$var2] = 95; $var2 = var$4.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $var2, var$5); var$5 = new jl_String; var$7 = var$4.$buffer; var$3 = var$7.data; var$8 = var$4.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$5); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3096)); var$5 = new jl_String; var$7 = var$4.$buffer; var$3 = var$7.data; var$8 = var$4.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$field_94426_cO = $par1IconRegister.$registerIcon(var$5, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } var$4 = $this.$textureName; if (var$4 === null) { var$10 = $this.$blockID; var$4 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$10, 10); var$8 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$8, var$8 + 1 | 0); var$6.$buffer.data[var$8] = 95; var$8 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$8, var$4); var$4 = new jl_String; var$11 = var$6.$buffer; var$7 = var$11.data; var$8 = var$6.$length0; var$9 = var$7.length; if (var$8 < 0) break; if (var$8 > (var$9 - 0 | 0)) break; var$4.$nativeString = $rt_charArrayToString(var$11.data, 0, var$8); } var$6 = nms_BlockMushroomCap_field_94429_a.data[$var2]; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$12, var$12.$length0, var$4); var$9 = var$12.$length0; jl_AbstractStringBuilder_insertSpace(var$12, var$9, var$9 + 1 | 0); var$12.$buffer.data[var$9] = 95; var$8 = var$12.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$12, var$8, var$6); var$4 = new jl_String; var$7 = var$12.$buffer; var$11 = var$7.data; var$9 = var$12.$length0; var$10 = var$11.length; if (var$9 < 0) break a; if (var$9 > (var$10 - 0 | 0)) break a; var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$3[$var2] = $par1IconRegister.$registerIcon(var$4, 1); $var2 = $var2 + 1 | 0; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockMushroomCap__clinit_ = () => { nms_BlockMushroomCap_field_94429_a = $rt_wrapArray(jl_String, [$rt_s(82), $rt_s(83)]); }; function nms_BlockPane() { let a = this; nms_Block.call(a); a.$sideTextureIndex = null; a.$canDropItself = 0; a.$field_94402_c = null; a.$theIcon7 = null; } let nms_BlockPane__init_0 = ($this, $par1, $par2Str, $par3Str, $par4Material, $par5) => { nms_Block__init_($this, $par1, $par4Material); $this.$sideTextureIndex = $par3Str; $this.$canDropItself = $par5; $this.$field_94402_c = $par2Str; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockPane__init_ = (var_0, var_1, var_2, var_3, var_4) => { let var_5 = new nms_BlockPane(); nms_BlockPane__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; }, nms_BlockPane_idDropped = ($this, $par1, $par2Random, $par3) => { return !$this.$canDropItself ? 0 : $this.$blockID; }, nms_BlockPane_isOpaqueCube = $this => { return 0; }, nms_BlockPane_renderAsNormalBlock = $this => { return 0; }, nms_BlockPane_getRenderType = $this => { return 18; }, nms_BlockPane_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return $par1IBlockAccess.$getBlockId($par2, $par3, $par4) != $this.$blockID ? nms_Block_shouldSideBeRendered($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) : 0; }, nms_BlockPane_addCollisionBoxesToList = ($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity) => { let var$8, $var8, $var9, $var10, $var11, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$par7Entity = $thread.pop();$par6List = $thread.pop();$par5AxisAlignedBB = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); nms_Block_$callClinit(); $var8 = !nms_Block_opaqueCubeLookup.data[var$8] && var$8 != $this.$blockID && var$8 != nms_Block_glass.$blockID ? 0 : 1; var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); $var9 = !nms_Block_opaqueCubeLookup.data[var$8] && var$8 != $this.$blockID && var$8 != nms_Block_glass.$blockID ? 0 : 1; var$8 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); $var10 = !nms_Block_opaqueCubeLookup.data[var$8] && var$8 != $this.$blockID && var$8 != nms_Block_glass.$blockID ? 0 : 1; var$8 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); $var11 = !nms_Block_opaqueCubeLookup.data[var$8] && var$8 != $this.$blockID && var$8 != nms_Block_glass.$blockID ? 0 : 1; a: { b: { if (!($var10 && $var11)) { if ($var10) break b; if ($var11) break b; if ($var8) break b; if ($var9) break b; } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.4375; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.5625; $par7Entity = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$13 = $par2; var$14 = var$13 + $this.$minX0; var$15 = $par3; var$16 = var$15 + $this.$minY0; var$17 = $par4; var$18 = var$17 + $this.$minZ0; var$13 = var$13 + $this.$maxX0; var$15 = var$15 + $this.$maxY0; var$17 = var$17 + $this.$maxZ0; var$19 = $par7Entity.$nextPoolIndex; $par1World = $par7Entity.$listAABB; var$8 = $par1World.$size0; var$20 = $rt_compare(var$19, var$8); if (var$20 >= 0) { var$21 = new nms_AxisAlignedBB; var$21.$minX = var$14; var$21.$minY = var$16; var$21.$minZ = var$18; var$21.$maxX = var$13; var$21.$maxY = var$15; var$21.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, var$8 + 1 | 0); var$22 = $par1World.$array.data; var$19 = $par1World.$size0; $par1World.$size0 = var$19 + 1 | 0; var$22[var$19] = var$21; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if (var$19 >= 0 && var$20 < 0) { var$21 = $par1World.$array.data[var$19]; var$21.$minX = var$14; var$21.$minY = var$16; var$21.$minZ = var$18; var$21.$maxX = var$13; var$21.$maxY = var$15; var$21.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } $par7Entity.$nextPoolIndex = $par7Entity.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, var$21)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$22 = $par6List.$array.data; var$19 = $par6List.$size0; $par6List.$size0 = var$19 + 1 | 0; var$22[var$19] = var$21; $par6List.$modCount = $par6List.$modCount + 1 | 0; } break a; } if ($var10 && !$var11) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.4375; $this.$maxX0 = 0.5; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.5625; var$21 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$13 = $par2; var$14 = var$13 + $this.$minX0; var$15 = $par3; var$16 = var$15 + $this.$minY0; var$17 = $par4; var$18 = var$17 + $this.$minZ0; var$13 = var$13 + $this.$maxX0; var$15 = var$15 + $this.$maxY0; var$17 = var$17 + $this.$maxZ0; var$8 = var$21.$nextPoolIndex; $par1World = var$21.$listAABB; var$20 = $par1World.$size0; var$19 = $rt_compare(var$8, var$20); if (var$19 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$14; $par7Entity.$minY = var$16; $par7Entity.$minZ = var$18; $par7Entity.$maxX = var$13; $par7Entity.$maxY = var$15; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, var$20 + 1 | 0); var$22 = $par1World.$array.data; var$19 = $par1World.$size0; $par1World.$size0 = var$19 + 1 | 0; var$22[var$19] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if (var$8 >= 0 && var$19 < 0) { $par7Entity = $par1World.$array.data[var$8]; $par7Entity.$minX = var$14; $par7Entity.$minY = var$16; $par7Entity.$minZ = var$18; $par7Entity.$maxX = var$13; $par7Entity.$maxY = var$15; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$21.$nextPoolIndex = var$21.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$22 = $par6List.$array.data; var$19 = $par6List.$size0; $par6List.$size0 = var$19 + 1 | 0; var$22[var$19] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } } else if (!$var10 && $var11) { $this.$minX0 = 0.5; $this.$minY0 = 0.0; $this.$minZ0 = 0.4375; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.5625; var$21 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$17 = $par2; var$23 = var$17 + $this.$minX0; var$18 = $par3; var$13 = var$18 + $this.$minY0; var$14 = $par4; var$15 = var$14 + $this.$minZ0; var$16 = var$17 + $this.$maxX0; var$17 = var$18 + $this.$maxY0; var$14 = var$14 + $this.$maxZ0; var$8 = var$21.$nextPoolIndex; $par1World = var$21.$listAABB; var$20 = $par1World.$size0; var$19 = $rt_compare(var$8, var$20); if (var$19 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$23; $par7Entity.$minY = var$13; $par7Entity.$minZ = var$15; $par7Entity.$maxX = var$16; $par7Entity.$maxY = var$17; $par7Entity.$maxZ = var$14; ju_ArrayList_ensureCapacity($par1World, var$20 + 1 | 0); var$22 = $par1World.$array.data; var$19 = $par1World.$size0; $par1World.$size0 = var$19 + 1 | 0; var$22[var$19] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if (var$8 >= 0 && var$19 < 0) { $par7Entity = $par1World.$array.data[var$8]; $par7Entity.$minX = var$23; $par7Entity.$minY = var$13; $par7Entity.$minZ = var$15; $par7Entity.$maxX = var$16; $par7Entity.$maxY = var$17; $par7Entity.$maxZ = var$14; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$21.$nextPoolIndex = var$21.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$22 = $par6List.$array.data; var$19 = $par6List.$size0; $par6List.$size0 = var$19 + 1 | 0; var$22[var$19] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } } } c: { d: { if (!($var8 && $var9)) { if ($var10) break d; if ($var11) break d; if ($var8) break d; if ($var9) break d; } $this.$minX0 = 0.4375; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.5625; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; var$21 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$13 = $par2; var$14 = var$13 + $this.$minX0; var$15 = $par3; var$16 = var$15 + $this.$minY0; var$17 = $par4; var$18 = var$17 + $this.$minZ0; var$13 = var$13 + $this.$maxX0; var$15 = var$15 + $this.$maxY0; var$17 = var$17 + $this.$maxZ0; $par2 = var$21.$nextPoolIndex; $par1World = var$21.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$14; $par7Entity.$minY = var$16; $par7Entity.$minZ = var$18; $par7Entity.$maxX = var$13; $par7Entity.$maxY = var$15; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$22 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$22[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$14; $par7Entity.$minY = var$16; $par7Entity.$minZ = var$18; $par7Entity.$maxX = var$13; $par7Entity.$maxY = var$15; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$21.$nextPoolIndex = var$21.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$22 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$22[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } break c; } if ($var8 && !$var9) { $this.$minX0 = 0.4375; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.5625; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.5; var$21 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$13 = $par2; var$14 = var$13 + $this.$minX0; var$15 = $par3; var$16 = var$15 + $this.$minY0; var$17 = $par4; var$18 = var$17 + $this.$minZ0; var$13 = var$13 + $this.$maxX0; var$15 = var$15 + $this.$maxY0; var$17 = var$17 + $this.$maxZ0; $par2 = var$21.$nextPoolIndex; $par1World = var$21.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$14; $par7Entity.$minY = var$16; $par7Entity.$minZ = var$18; $par7Entity.$maxX = var$13; $par7Entity.$maxY = var$15; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$22 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$22[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$14; $par7Entity.$minY = var$16; $par7Entity.$minZ = var$18; $par7Entity.$maxX = var$13; $par7Entity.$maxY = var$15; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$21.$nextPoolIndex = var$21.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$22 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$22[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } } else if (!$var8 && $var9) { $this.$minX0 = 0.4375; $this.$minY0 = 0.0; $this.$minZ0 = 0.5; $this.$maxX0 = 0.5625; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$13 = $par2; var$14 = var$13 + $this.$minX0; var$15 = $par3; var$16 = var$15 + $this.$minY0; var$17 = $par4; var$18 = var$17 + $this.$minZ0; var$13 = var$13 + $this.$maxX0; var$15 = var$15 + $this.$maxY0; var$17 = var$17 + $this.$maxZ0; $par2 = $par1World.$nextPoolIndex; $par7Entity = $par1World.$listAABB; $par4 = $par7Entity.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$21 = new nms_AxisAlignedBB; var$21.$minX = var$14; var$21.$minY = var$16; var$21.$minZ = var$18; var$21.$maxX = var$13; var$21.$maxY = var$15; var$21.$maxZ = var$17; ju_ArrayList_ensureCapacity($par7Entity, $par4 + 1 | 0); var$22 = $par7Entity.$array.data; $par3 = $par7Entity.$size0; $par7Entity.$size0 = $par3 + 1 | 0; var$22[$par3] = var$21; $par7Entity.$modCount = $par7Entity.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$21 = $par7Entity.$array.data[$par2]; var$21.$minX = var$14; var$21.$minY = var$16; var$21.$minZ = var$18; var$21.$maxX = var$13; var$21.$maxY = var$15; var$21.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, var$21)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$22 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$22[$par3] = var$21; $par6List.$modCount = $par6List.$modCount + 1 | 0; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity, var$8, $var8, $var9, $var10, $var11, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr); }, nms_BlockPane_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; }, nms_BlockPane_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var10, $var9, $var11, $var12; $var5 = 0.4375; $var6 = 0.5625; $var7 = 0.4375; $var8 = 0.5625; $var10 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4 - 1 | 0); nms_Block_$callClinit(); $var9 = !nms_Block_opaqueCubeLookup.data[$var10] && $var10 != $this.$blockID && $var10 != nms_Block_glass.$blockID ? 0 : 1; $var10 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4 + 1 | 0); $var10 = !nms_Block_opaqueCubeLookup.data[$var10] && $var10 != $this.$blockID && $var10 != nms_Block_glass.$blockID ? 0 : 1; $var11 = $par1IBlockAccess.$getBlockId($par2 - 1 | 0, $par3, $par4); $var11 = !nms_Block_opaqueCubeLookup.data[$var11] && $var11 != $this.$blockID && $var11 != nms_Block_glass.$blockID ? 0 : 1; $par2 = $par1IBlockAccess.$getBlockId($par2 + 1 | 0, $par3, $par4); $var12 = !nms_Block_opaqueCubeLookup.data[$par2] && $par2 != $this.$blockID && $par2 != nms_Block_glass.$blockID ? 0 : 1; a: { b: { if (!($var11 && $var12)) { if ($var11) break b; if ($var12) break b; if ($var9) break b; if ($var10) break b; } $var5 = 0.0; $var6 = 1.0; break a; } if ($var11 && !$var12) $var5 = 0.0; else if (!$var11 && $var12) $var6 = 1.0; } c: { d: { if (!($var9 && $var10)) { if ($var11) break d; if ($var12) break d; if ($var9) break d; if ($var10) break d; } $var7 = 0.0; $var8 = 1.0; break c; } if ($var9 && !$var10) $var7 = 0.0; else if (!$var9 && $var10) $var8 = 1.0; } $this.$minX0 = $var5; $this.$minY0 = 0.0; $this.$minZ0 = $var7; $this.$maxX0 = $var6; $this.$maxY0 = 1.0; $this.$maxZ0 = $var8; }, nms_BlockPane_registerIcons = ($this, $par1IconRegister) => { $this.$blockIcon = $par1IconRegister.$registerIcon($this.$field_94402_c, 1); $this.$theIcon7 = $par1IconRegister.$registerIcon($this.$sideTextureIndex, 1); }; function nms_BlockMelon() { nms_Block.call(this); this.$theIcon5 = null; } let nms_BlockMelon__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_pumpkin); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockMelon__init_0 = var_0 => { let var_1 = new nms_BlockMelon(); nms_BlockMelon__init_(var_1, var_0); return var_1; }, nms_BlockMelon_getIcon = ($this, $par1, $par2) => { return $par1 != 1 && $par1 ? $this.$blockIcon : $this.$theIcon5; }, nms_BlockMelon_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_melon.$itemID0; }, nms_BlockMelon_quantityDropped = ($this, $par1Random) => { let var$2, var$3, var$4; var$2 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { var$4 = var$3 % 5 | 0; if (((var$3 - var$4 | 0) + 4 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } return 3 + var$4 | 0; }, nms_BlockMelon_quantityDroppedWithBonus = ($this, $par1, $par2Random) => { let var$3, var$4, var$5, var$6, var$7, $var3; var$3 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 5 | 0; if (((var$4 - var$5 | 0) + 4 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } var$6 = 3 + var$5 | 0; var$7 = 1 + $par1 | 0; var$3 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$3; $var3 = Long_lo(Long_shru(var$3, 17)); var$4 = var$7 - 1 | 0; if (!(var$7 & var$4)) $par1 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$7), Long_fromInt($var3)), 31)); else while (true) { $par1 = $var3 % var$7 | 0; if ((($var3 - $par1 | 0) + var$4 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$3; $var3 = Long_lo(Long_shru(var$3, 17)); } $var3 = var$6 + $par1 | 0; if ($var3 > 9) $var3 = 9; return $var3; }, nms_BlockMelon_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2998)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2999)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$theIcon5 = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }; function nms_BlockStem() { let a = this; nms_BlockFlower.call(a); a.$fruitType = null; a.$theIcon8 = null; } let nms_BlockStem__init_0 = ($this, $par1, $par2Block) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_plants); $this.$needsRandomTick = 1; $this.$minX0 = 0.30000001192092896; $this.$minY0 = 0.0; $this.$minZ0 = 0.30000001192092896; $this.$maxX0 = 0.699999988079071; $this.$maxY0 = 0.6000000238418579; $this.$maxZ0 = 0.699999988079071; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; $this.$fruitType = $par2Block; $this.$needsRandomTick = 1; $this.$minX0 = 0.375; $this.$minY0 = 0.0; $this.$minZ0 = 0.375; $this.$maxX0 = 0.625; $this.$maxY0 = 0.25; $this.$maxZ0 = 0.625; $this.$displayOnCreativeTab = null; }, nms_BlockStem__init_ = (var_0, var_1) => { let var_2 = new nms_BlockStem(); nms_BlockStem__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockStem_canThisPlantGrowOnThisBlockID = ($this, $par1) => { nms_Block_$callClinit(); return $par1 != nms_Block_tilledField.$blockID ? 0 : 1; }, nms_BlockStem_getRenderColor = ($this, $par1) => { return ($par1 * 32 | 0) << 16 | (255 - ($par1 * 8 | 0) | 0) << 8 | ($par1 * 4 | 0); }, nms_BlockStem_colorMultiplier = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { $par2 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); return ($par2 * 32 | 0) << 16 | (255 - ($par2 * 8 | 0) | 0) << 8 | ($par2 * 4 | 0); }, nms_BlockStem_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.375; $this.$minY0 = 0.0; $this.$minZ0 = 0.375; $this.$maxX0 = 0.625; $this.$maxY0 = 0.25; $this.$maxZ0 = 0.625; }, nms_BlockStem_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let var$5, var$6; var$5 = (($par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) * 2 | 0) + 2 | 0) / 16.0; $this.$maxY0 = var$5; var$6 = var$5; $this.$minX0 = 0.375; $this.$minY0 = 0.0; $this.$minZ0 = 0.375; $this.$maxX0 = 0.625; $this.$maxY0 = var$6; $this.$maxZ0 = 0.625; }, nms_BlockStem_getRenderType = $this => { return 19; }, nms_BlockStem_getState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) < 7 ? (-1) : $par1IBlockAccess.$getBlockId($par2 - 1 | 0, $par3, $par4) == $this.$fruitType.$blockID ? 0 : $par1IBlockAccess.$getBlockId($par2 + 1 | 0, $par3, $par4) == $this.$fruitType.$blockID ? 1 : $par1IBlockAccess.$getBlockId($par2, $par3, $par4 - 1 | 0) == $this.$fruitType.$blockID ? 2 : $par1IBlockAccess.$getBlockId($par2, $par3, $par4 + 1 | 0) != $this.$fruitType.$blockID ? (-1) : 3; }, nms_BlockStem_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, var$9, $var9, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var9 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $var8 = null; var$9 = $this.$fruitType; if (var$9 === nms_Block_pumpkin) { nms_Item_$callClinit(); $var8 = nms_Item_pumpkinSeeds; } if (var$9 === nms_Block_melon) { nms_Item_$callClinit(); $var8 = nms_Item_melonSeeds; } $var9 = 0; var$11 = 17; var$12 = 14; while (true) { if ($var9 >= 3) break a; var$9 = $par1World.$rand0; var$13 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$13; $par7 = Long_lo(Long_shru(var$13, var$11)); while (true) { var$14 = $par7 % 15 | 0; if ((($par7 - var$14 | 0) + var$12 | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$13; $par7 = Long_lo(Long_shru(var$13, var$11)); } if (var$14 <= $par5) { var$9 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$9.$itemID = $var8.$itemID0; var$9.$stackSize = 1; var$9.$itemDamage = 0; $ptr = 2; continue main; } $var9 = $var9 + 1 | 0; } } } return; case 2: nms_Block_dropBlockAsItem_do($this, $par1World, $par2, $par3, $par4, var$9); if ($rt_suspending()) { break main; } while (true) { $var9 = $var9 + 1 | 0; if ($var9 >= 3) break; var$9 = $par1World.$rand0; var$13 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$13; $par7 = Long_lo(Long_shru(var$13, var$11)); while (true) { var$14 = $par7 % 15 | 0; if ((($par7 - var$14 | 0) + var$12 | 0) >= 0) break; var$13 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$13; $par7 = Long_lo(Long_shru(var$13, var$11)); } if (var$14 > $par5) continue; else { var$9 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$9.$itemID = $var8.$itemID0; var$9.$stackSize = 1; var$9.$itemDamage = 0; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $var8, var$9, $var9, var$11, var$12, var$13, var$14, $ptr); }, nms_BlockStem_idDropped = ($this, $par1, $par2Random, $par3) => { return (-1); }, nms_BlockStem_quantityDropped = ($this, $par1Random) => { return 1; }, nms_BlockStem_idPicked = ($this, $par1World, $par2, $par3, $par4) => { let var$5; var$5 = $this.$fruitType; nms_Block_$callClinit(); if (var$5 === nms_Block_pumpkin) { nms_Item_$callClinit(); $par2 = nms_Item_pumpkinSeeds.$itemID0; } else if (var$5 !== nms_Block_melon) $par2 = 0; else { nms_Item_$callClinit(); $par2 = nms_Item_melonSeeds.$itemID0; } return $par2; }, nms_BlockStem_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3097)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3098)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$theIcon8 = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockVine = $rt_classWithoutFields(nms_Block), nms_BlockVine__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_vine); $this.$needsRandomTick = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockVine__init_ = var_0 => { let var_1 = new nms_BlockVine(); nms_BlockVine__init_0(var_1, var_0); return var_1; }, nms_BlockVine_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; }, nms_BlockVine_getRenderType = $this => { return 20; }, nms_BlockVine_isOpaqueCube = $this => { return 0; }, nms_BlockVine_renderAsNormalBlock = $this => { return 0; }, nms_BlockVine_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var6, $var7, $var8, $var9, $var10, $var11, $var12, $var13; $var6 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); $var7 = 1.0; $var8 = 1.0; $var9 = 1.0; $var10 = 0.0; $var11 = 0.0; $var12 = 0.0; $var13 = $var6 <= 0 ? 0 : 1; if ($var6 & 2) { $var10 = jl_Math_maxImpl($var10, 0.0625); $var7 = 0.0; $var8 = 0.0; $var11 = 1.0; $var9 = 0.0; $var12 = 1.0; $var13 = 1; } if ($var6 & 8) { $var7 = jl_Math_minImpl($var7, 0.9375); $var10 = 1.0; $var8 = 0.0; $var11 = 1.0; $var9 = 0.0; $var12 = 1.0; $var13 = 1; } if ($var6 & 4) { $var12 = jl_Math_maxImpl($var12, 0.0625); $var9 = 0.0; $var7 = 0.0; $var10 = 1.0; $var8 = 0.0; $var11 = 1.0; $var13 = 1; } if ($var6 & 1) { $var9 = jl_Math_minImpl($var9, 0.9375); $var12 = 1.0; $var7 = 0.0; $var10 = 1.0; $var8 = 0.0; $var11 = 1.0; $var13 = 1; } if (!$var13) { $par2 = $par1IBlockAccess.$getBlockId($par2, $par3 + 1 | 0, $par4); if (!$par2) $par2 = 0; else { nms_Block_$callClinit(); $par1IBlockAccess = nms_Block_blocksList.data[$par2]; $par2 = $par1IBlockAccess.$renderAsNormalBlock() && $par1IBlockAccess.$blockMaterial.$blocksMovement() ? 1 : 0; } if ($par2) { $var8 = jl_Math_minImpl($var8, 0.9375); $var11 = 1.0; $var7 = 0.0; $var10 = 1.0; $var9 = 0.0; $var12 = 1.0; } } $this.$minX0 = $var7; $this.$minY0 = $var8; $this.$minZ0 = $var9; $this.$maxX0 = $var10; $this.$maxY0 = $var11; $this.$maxZ0 = $var12; }, nms_BlockVine_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockVine_canPlaceBlockOnSide = ($this, $par1World, $par2, $par3, $par4, $par5) => { switch ($par5) { case 1: $par2 = nms_World_getBlockId($par1World, $par2, $par3 + 1 | 0, $par4); if (!$par2) $par2 = 0; else { nms_Block_$callClinit(); $par1World = nms_Block_blocksList.data[$par2]; $par2 = $par1World.$renderAsNormalBlock() && $par1World.$blockMaterial.$blocksMovement() ? 1 : 0; } return $par2; case 2: $par2 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); if (!$par2) $par2 = 0; else { nms_Block_$callClinit(); $par1World = nms_Block_blocksList.data[$par2]; $par2 = $par1World.$renderAsNormalBlock() && $par1World.$blockMaterial.$blocksMovement() ? 1 : 0; } return $par2; case 3: $par2 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); if (!$par2) $par2 = 0; else { nms_Block_$callClinit(); $par1World = nms_Block_blocksList.data[$par2]; $par2 = $par1World.$renderAsNormalBlock() && $par1World.$blockMaterial.$blocksMovement() ? 1 : 0; } return $par2; case 4: $par2 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); if (!$par2) $par2 = 0; else { nms_Block_$callClinit(); $par1World = nms_Block_blocksList.data[$par2]; $par2 = $par1World.$renderAsNormalBlock() && $par1World.$blockMaterial.$blocksMovement() ? 1 : 0; } return $par2; case 5: $par2 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); if (!$par2) $par2 = 0; else { nms_Block_$callClinit(); $par1World = nms_Block_blocksList.data[$par2]; $par2 = $par1World.$renderAsNormalBlock() && $par1World.$blockMaterial.$blocksMovement() ? 1 : 0; } return $par2; default: } return 0; }, nms_BlockVine_canVineStay = ($this, $par1World, $par2, $par3, $par4) => { let $var5, var$6, $var7, var$8, $var8, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if ($var5 <= 0) var$6 = $var5; else { $var7 = 0; var$8 = $par3 + 1 | 0; var$6 = $var5; while ($var7 <= 3) { $var8 = 1 << $var7; if ($var5 & $var8) { var$10 = nms_World_getBlockId($par1World, $par2 + nms_Direction_offsetX.data[$var7] | 0, $par3, $par4 + nms_Direction_offsetZ.data[$var7] | 0); if (!var$10) var$10 = 0; else { nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[var$10]; var$10 = var$11.$renderAsNormalBlock() && var$11.$blockMaterial.$blocksMovement() ? 1 : 0; } if (!var$10 && !(nms_World_getBlockId($par1World, $par2, var$8, $par4) == $this.$blockID && nms_World_getBlockMetadata($par1World, $par2, var$8, $par4) & $var8)) var$6 = var$6 & ($var8 ^ (-1)); } $var7 = $var7 + 1 | 0; } } if (!var$6) { var$10 = nms_World_getBlockId($par1World, $par2, $par3 + 1 | 0, $par4); if (!var$10) var$10 = 0; else { nms_Block_$callClinit(); var$11 = nms_Block_blocksList.data[var$10]; var$10 = var$11.$renderAsNormalBlock() && var$11.$blockMaterial.$blocksMovement() ? 1 : 0; } if (!var$10) return 0; } if (var$6 == $var5) return 1; var$10 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$6, var$10); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, var$6, $var7, var$8, $var8, var$10, var$11, $ptr); }, nms_BlockVine_getBlockColor = $this => { return 4764952; }, nms_BlockVine_getRenderColor = ($this, $par1) => { return 4764952; }, nms_BlockVine_colorMultiplier = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return ($par1IBlockAccess.$getBiomeGenForCoords($par2, $par4)).$getBiomeFoliageColor(); }, nms_BlockVine_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $ptr = 1; case 1: $tmp = nms_BlockVine_canVineStay($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5) return; $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 2; case 2: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, var$6); if ($rt_suspending()) { break main; } var$8 = 0; $par5 = 0; var$6 = 3; $ptr = 3; case 3: nms_World_setBlock($par1World, $par2, $par3, $par4, var$8, $par5, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, $ptr); }, nms_BlockVine_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { let $var10; a: { $var10 = 0; switch ($par5) { case 2: $var10 = 1; break a; case 3: $var10 = 4; break a; case 4: $var10 = 8; break a; case 5: $var10 = 2; break a; default: } } if ($var10) $par9 = $var10; return $par9; }, nms_BlockVine_idDropped = ($this, $par1, $par2Random, $par3) => { return 0; }, nms_BlockVine_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockFenceGate = $rt_classWithoutFields(nms_BlockDirectional), nms_BlockFenceGate__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_wood); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; }, nms_BlockFenceGate__init_0 = var_0 => { let var_1 = new nms_BlockFenceGate(); nms_BlockFenceGate__init_(var_1, var_0); return var_1; }, nms_BlockFenceGate_getIcon = ($this, $par1, $par2) => { nms_Block_$callClinit(); return nms_Block_planks.$getIcon($par1, 0); }, nms_BlockFenceGate_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6; var$5 = nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4); if (!var$5) { nms_Material_$callClinit(); var$6 = nms_Material_air; } else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$5].$blockMaterial; } if (!var$6.$isSolid()) $par2 = 0; else a: { $par2 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par2) { nms_Block_$callClinit(); if (!nms_Block_blocksList.data[$par2].$blockMaterial.$replaceable) { $par2 = 0; break a; } } $par2 = 1; } return $par2; }, nms_BlockFenceGate_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16; $var5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if (!($var5 & 4) ? 0 : 1) var$6 = null; else if ($var5 != 2 && $var5) { $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$7 = $par2; var$8 = var$7 + 0.375; var$9 = $par3; var$10 = $par4; var$11 = var$7 + 0.625; var$12 = $par3 + 1.5; var$13 = $par4 + 1 | 0; $par2 = $par1World.$nextPoolIndex; var$14 = $par1World.$listAABB; $par3 = var$14.$size0; $par4 = $rt_compare($par2, $par3); if ($par4 >= 0) { var$6 = new nms_AxisAlignedBB; var$6.$minX = var$8; var$6.$minY = var$9; var$6.$minZ = var$10; var$6.$maxX = var$11; var$6.$maxY = var$12; var$6.$maxZ = var$13; ju_ArrayList_ensureCapacity(var$14, $par3 + 1 | 0); var$15 = var$14.$array.data; $par3 = var$14.$size0; var$14.$size0 = $par3 + 1 | 0; var$15[$par3] = var$6; var$14.$modCount = var$14.$modCount + 1 | 0; } else if ($par2 >= 0 && $par4 < 0) { var$6 = var$14.$array.data[$par2]; var$6.$minX = var$8; var$6.$minY = var$9; var$6.$minZ = var$10; var$6.$maxX = var$11; var$6.$maxY = var$12; var$6.$maxZ = var$13; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; } else { $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$8 = $par2; var$9 = $par3; var$16 = $par4; var$10 = var$16 + 0.375; var$12 = $par2 + 1 | 0; var$13 = $par3 + 1.5; var$11 = var$16 + 0.625; $par2 = $par1World.$nextPoolIndex; var$14 = $par1World.$listAABB; $par4 = var$14.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$6 = new nms_AxisAlignedBB; var$6.$minX = var$8; var$6.$minY = var$9; var$6.$minZ = var$10; var$6.$maxX = var$12; var$6.$maxY = var$13; var$6.$maxZ = var$11; ju_ArrayList_ensureCapacity(var$14, $par4 + 1 | 0); var$15 = var$14.$array.data; $par3 = var$14.$size0; var$14.$size0 = $par3 + 1 | 0; var$15[$par3] = var$6; var$14.$modCount = var$14.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$6 = var$14.$array.data[$par2]; var$6.$minX = var$8; var$6.$minY = var$9; var$6.$minZ = var$10; var$6.$maxX = var$12; var$6.$maxY = var$13; var$6.$maxZ = var$11; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; } return var$6; }, nms_BlockFenceGate_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5; $var5 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) & 3; if ($var5 != 2 && $var5) { $this.$minX0 = 0.375; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.625; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } else { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.375; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.625; } }, nms_BlockFenceGate_isOpaqueCube = $this => { return 0; }, nms_BlockFenceGate_renderAsNormalBlock = $this => { return 0; }, nms_BlockFenceGate_getBlocksMovement = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return !(nms_World_getBlockMetadata($par1IBlockAccess, $par2, $par3, $par4) & 4) ? 0 : 1; }, nms_BlockFenceGate_getRenderType = $this => { return 21; }, nms_BlockFenceGate_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, $var7, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par5EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 0.5; $var7 = var$7 | 0; if (var$7 < $var7) $var7 = $var7 - 1 | 0; $var7 = ($var7 & 3) % 4 | 0; var$9 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, var$9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, $var7, var$9, $ptr); }, nms_BlockFenceGate_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, $var11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if (!($var10 & 4) ? 0 : 1) { $par6 = $var10 & (-5); $var11 = 2; $ptr = 1; continue main; } var$12 = $par5EntityPlayer.$rotationYaw * 4.0 / 360.0 + 0.5; $var11 = var$12 | 0; if (var$12 < $var11) $var11 = $var11 - 1 | 0; $var11 = ($var11 & 3) % 4 | 0; if (($var10 & 3) != (($var11 + 2 | 0) % 4 | 0)) $var11 = $var10; $par6 = $var11 | 4; $var11 = 2; $ptr = 2; continue main; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par6, $var11); if ($rt_suspending()) { break main; } $par6 = 1003; var$13 = 0; $var11 = 0; var$14 = $par1World.$worldAccesses; $var10 = $rt_compare($var11, var$14.$size0); if ($var10 >= 0) return 1; if ($var11 >= 0 && $var10 < 0) { var$14 = var$14.$array.data[$var11]; $ptr = 3; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par6, $var11); if ($rt_suspending()) { break main; } $par6 = 1003; var$13 = 0; $var11 = 0; var$14 = $par1World.$worldAccesses; $var10 = $rt_compare($var11, var$14.$size0); if ($var10 >= 0) return 1; if ($var11 >= 0 && $var10 < 0) { var$14 = var$14.$array.data[$var11]; $ptr = 3; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 3: nms_RenderGlobal_playAuxSFX(var$14, $par5EntityPlayer, $par6, $par2, $par3, $par4, var$13); if ($rt_suspending()) { break main; } $var11 = $var11 + 1 | 0; var$14 = $par1World.$worldAccesses; $var10 = $rt_compare($var11, var$14.$size0); if ($var10 >= 0) return 1; if ($var11 >= 0 && $var10 < 0) { var$14 = var$14.$array.data[$var11]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, $var11, var$12, var$13, var$14, $ptr); }, nms_BlockFenceGate_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $ptr = 1; case 1: a: { $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var7 = $tmp; if (!$var7) { if ($par5 <= 0) break a; nms_Block_$callClinit(); if (!nms_Block_blocksList.data[$par5].$canProvidePower()) break a; } if ($var7 && !(!($var6 & 4) ? 0 : 1)) { $par5 = $var6 | 4; $var6 = 2; $ptr = 2; continue main; } if (!$var7 && (!($var6 & 4) ? 0 : 1)) { $par5 = $var6 & (-5); $var6 = 2; $ptr = 3; continue main; } } return; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par5, $var6); if ($rt_suspending()) { break main; } var$8 = null; $par5 = 1003; $var6 = 0; $var7 = 0; var$9 = $par1World.$worldAccesses; var$10 = $rt_compare($var7, var$9.$size0); if (var$10 >= 0) return; if ($var7 >= 0 && var$10 < 0) { var$9 = var$9.$array.data[$var7]; $ptr = 4; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 3: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par5, $var6); if ($rt_suspending()) { break main; } var$8 = null; var$10 = 1003; $var7 = 0; $par5 = 0; var$9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, var$9.$size0); if ($var6 >= 0) return; if ($par5 >= 0 && $var6 < 0) { var$9 = var$9.$array.data[$par5]; $ptr = 5; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 4: nms_RenderGlobal_playAuxSFX(var$9, var$8, $par5, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $var7 = $var7 + 1 | 0; var$9 = $par1World.$worldAccesses; var$10 = $rt_compare($var7, var$9.$size0); if (var$10 >= 0) return; if ($var7 >= 0 && var$10 < 0) { var$9 = var$9.$array.data[$var7]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 5: nms_RenderGlobal_playAuxSFX(var$9, var$8, var$10, $par2, $par3, $par4, $var7); if ($rt_suspending()) { break main; } $par5 = $par5 + 1 | 0; var$9 = $par1World.$worldAccesses; $var6 = $rt_compare($par5, var$9.$size0); if ($var6 >= 0) return; if ($par5 >= 0 && $var6 < 0) { var$9 = var$9.$array.data[$par5]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, var$8, var$9, var$10, $ptr); }, nms_BlockFenceGate_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return 1; }, nms_BlockFenceGate_registerIcons = ($this, $par1IconRegister) => { return; }; function nms_BlockMycelium() { let a = this; nms_Block.call(a); a.$field_94422_a = null; a.$field_94421_b = null; } let nms_BlockMycelium__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_grass); $this.$needsRandomTick = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockMycelium__init_ = var_0 => { let var_1 = new nms_BlockMycelium(); nms_BlockMycelium__init_0(var_1, var_0); return var_1; }, nms_BlockMycelium_getIcon = ($this, $par1, $par2) => { let var$3; if ($par1 == 1) var$3 = $this.$field_94422_a; else if ($par1) var$3 = $this.$blockIcon; else { nms_Block_$callClinit(); var$3 = nms_Block_dirt.$getIcon($par1, 0); } return var$3; }, nms_BlockMycelium_getBlockTexture = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6; if ($par5 == 1) return $this.$field_94422_a; if (!$par5) { nms_Block_$callClinit(); return nms_Block_dirt.$getIcon($par5, 0); } $var6 = $par1IBlockAccess.$getBlockMaterial($par2, $par3 + 1 | 0, $par4); nms_Material_$callClinit(); return $var6 !== nms_Material_snow && $var6 !== nms_Material_craftedSnow ? $this.$blockIcon : $this.$field_94421_b; }, nms_BlockMycelium_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2998)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2999)); var$2 = new jl_String; var$7 = var$4.$buffer; var$6 = var$7.data; var$5 = var$4.$length0; var$8 = var$6.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$5); $this.$field_94422_a = $par1IconRegister.$registerIcon(var$2, 1); $this.$field_94421_b = $par1IconRegister.$registerIcon($rt_s(3099), 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockMycelium_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); while (true) { var$8 = var$7 % 10 | 0; if (((var$7 - var$8 | 0) + 9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); } if (!var$8) { var$9 = $rt_s(1478); var$10 = $par2; var$6 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$11 = var$10 + Long_lo(Long_shru(var$6, 24)) / 1.6777216E7; var$12 = $par3 + 1.100000023841858; var$13 = $par4; var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$6; var$14 = var$13 + Long_lo(Long_shru(var$6, 24)) / 1.6777216E7; var$15 = 0.0; var$16 = 0.0; var$17 = 0.0; $par2 = 0; $par5Random = $par1World.$worldAccesses; $par3 = $rt_compare($par2, $par5Random.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { $par5Random = $par5Random.$array.data[$par2]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } return; case 1: nms_RenderGlobal_doSpawnParticle($par5Random, var$9, var$11, var$12, var$14, var$15, var$16, var$17); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; $par5Random = $par1World.$worldAccesses; $par3 = $rt_compare($par2, $par5Random.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { $par5Random = $par5Random.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_BlockMycelium_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_dirt.$idDropped(0, $par2Random, $par3); }, nms_BlockLilyPad = $rt_classWithoutFields(nms_BlockFlower), nms_BlockLilyPad__init_ = ($this, $par1) => { let var$2; nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_plants); $this.$needsRandomTick = 1; $this.$minX0 = 0.30000001192092896; $this.$minY0 = 0.0; $this.$minZ0 = 0.30000001192092896; $this.$maxX0 = 0.699999988079071; $this.$maxY0 = 0.6000000238418579; $this.$maxZ0 = 0.699999988079071; nms_CreativeTabs_$callClinit(); var$2 = nms_CreativeTabs_tabDecorations; $this.$displayOnCreativeTab = var$2; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.015625; $this.$maxZ0 = 1.0; $this.$displayOnCreativeTab = var$2; }, nms_BlockLilyPad__init_0 = var_0 => { let var_1 = new nms_BlockLilyPad(); nms_BlockLilyPad__init_(var_1, var_0); return var_1; }, nms_BlockLilyPad_getRenderType = $this => { return 23; }, nms_BlockLilyPad_addCollisionBoxesToList = ($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity) => { let var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$par7Entity = $thread.pop();$par6List = $thread.pop();$par5AxisAlignedBB = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par7Entity !== null && $par7Entity instanceof nms_EntityBoat) return; $ptr = 1; case 1: $tmp = nms_BlockLilyPad_getCollisionBoundingBoxFromPool($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; if ($par1World !== null && nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par1World)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$8 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$8[$par3] = $par1World; $par6List.$modCount = $par6List.$modCount + 1 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity, var$8, $ptr); }, nms_BlockLilyPad_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par2 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par4 = var$11.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par4 + 1 | 0); var$13 = var$11.$array.data; $par3 = var$11.$size0; var$11.$size0 = $par3 + 1 | 0; var$13[$par3] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$12 = var$11.$array.data[$par2]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockLilyPad_getBlockColor = $this => { return 2129968; }, nms_BlockLilyPad_getRenderColor = ($this, $par1) => { return 2129968; }, nms_BlockLilyPad_colorMultiplier = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return 2129968; }, nms_BlockLilyPad_canThisPlantGrowOnThisBlockID = ($this, $par1) => { nms_Block_$callClinit(); return $par1 != nms_Block_waterStill.$blockID ? 0 : 1; }, nms_BlockLilyPad_canBlockStay = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6; if ($par3 >= 0 && $par3 < 256) { var$5 = $par3 - 1 | 0; $par3 = nms_World_getBlockId($par1World, $par2, var$5, $par4); if (!$par3) { nms_Material_$callClinit(); var$6 = nms_Material_air; } else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[$par3].$blockMaterial; } nms_Material_$callClinit(); $par2 = var$6 === nms_Material_water && !nms_World_getBlockMetadata($par1World, $par2, var$5, $par4) ? 1 : 0; } else $par2 = 0; return $par2; }; function nms_BlockNetherStalk() { nms_BlockFlower.call(this); this.$iconArray3 = null; } let nms_BlockNetherStalk__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_plants); $this.$needsRandomTick = 1; $this.$minX0 = 0.30000001192092896; $this.$minY0 = 0.0; $this.$minZ0 = 0.30000001192092896; $this.$maxX0 = 0.699999988079071; $this.$maxY0 = 0.6000000238418579; $this.$maxZ0 = 0.699999988079071; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; $this.$needsRandomTick = 1; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.25; $this.$maxZ0 = 1.0; $this.$displayOnCreativeTab = null; }, nms_BlockNetherStalk__init_0 = var_0 => { let var_1 = new nms_BlockNetherStalk(); nms_BlockNetherStalk__init_(var_1, var_0); return var_1; }, nms_BlockNetherStalk_canThisPlantGrowOnThisBlockID = ($this, $par1) => { nms_Block_$callClinit(); return $par1 != nms_Block_slowSand.$blockID ? 0 : 1; }, nms_BlockNetherStalk_canBlockStay = ($this, $par1World, $par2, $par3, $par4) => { $par2 = nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4); nms_Block_$callClinit(); return $par2 != nms_Block_slowSand.$blockID ? 0 : 1; }, nms_BlockNetherStalk_getIcon = ($this, $par1, $par2) => { return $par2 >= 3 ? $this.$iconArray3.data[2] : $par2 <= 0 ? $this.$iconArray3.data[0] : $this.$iconArray3.data[1]; }, nms_BlockNetherStalk_getRenderType = $this => { return 6; }, nms_BlockNetherStalk_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, var$9, var$10, var$11, var$12, var$13, $var9, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();$var9 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1World.$isRemote) { $var8 = 1; if ($par5 >= 3) { var$9 = $par1World.$rand0; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); while (true) { var$12 = var$11 % 3 | 0; if (((var$11 - var$12 | 0) + 2 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); } $var8 = 2 + var$12 | 0; if ($par7 > 0) { $par5 = $par7 + 1 | 0; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); $par7 = $par5 - 1 | 0; if (!($par5 & $par7)) var$13 = Long_lo(Long_shr(Long_mul(Long_fromInt($par5), Long_fromInt(var$11)), 31)); else while (true) { var$13 = var$11 % $par5 | 0; if (((var$11 - var$13 | 0) + $par7 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); } $var8 = $var8 + var$13 | 0; } } $var9 = 0; if ($var9 < $var8) { var$9 = new nms_ItemStack; nms_Item_$callClinit(); var$15 = nms_Item_netherStalkSeeds; nms_ItemStack_$callClinit(); var$9.$itemID = var$15.$itemID0; var$9.$stackSize = 1; var$9.$itemDamage = 0; $ptr = 1; continue main; } } return; case 1: nms_Block_dropBlockAsItem_do($this, $par1World, $par2, $par3, $par4, var$9); if ($rt_suspending()) { break main; } $var9 = $var9 + 1 | 0; if ($var9 >= $var8) return; var$9 = new nms_ItemStack; nms_Item_$callClinit(); var$15 = nms_Item_netherStalkSeeds; nms_ItemStack_$callClinit(); var$9.$itemID = var$15.$itemID0; var$9.$stackSize = 1; var$9.$itemDamage = 0; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $var8, var$9, var$10, var$11, var$12, var$13, $var9, var$15, $ptr); }, nms_BlockNetherStalk_idDropped = ($this, $par1, $par2Random, $par3) => { return 0; }, nms_BlockNetherStalk_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockNetherStalk_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Item_$callClinit(); return nms_Item_netherStalkSeeds.$itemID0; }, nms_BlockNetherStalk_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $this.$iconArray3 = $rt_createArray(nms_Icon, 3); $var2 = 0; a: { b: { while (true) { var$3 = $this.$iconArray3.data; if ($var2 >= var$3.length) break; var$4 = $this.$textureName; if (var$4 === null) { var$5 = $this.$blockID; var$4 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10); var$7 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$7, var$7 + 1 | 0); var$6.$buffer.data[var$7] = 95; var$5 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$5, var$4); var$4 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; var$7 = var$6.$length0; var$10 = var$9.length; if (var$7 < 0) break b; if (var$7 > (var$10 - 0 | 0)) break b; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$7); } var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, var$4); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3053)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $var2, 10); var$4 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; var$10 = var$6.$length0; var$5 = var$9.length; if (var$10 < 0) break a; if (var$10 > (var$5 - 0 | 0)) break a; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$10); var$3[$var2] = $par1IconRegister.$registerIcon(var$4, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }; function nms_BlockEnchantmentTable() { let a = this; nms_BlockContainer.call(a); a.$field_94461_a = null; a.$field_94460_b = null; } let nms_BlockEnchantmentTable__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); $this.$isBlockContainer = 1; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.75; $this.$maxZ0 = 1.0; nms_Block_lightOpacity.data[$this.$blockID] = 0; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockEnchantmentTable__init_ = var_0 => { let var_1 = new nms_BlockEnchantmentTable(); nms_BlockEnchantmentTable__init_0(var_1, var_0); return var_1; }, nms_BlockEnchantmentTable_renderAsNormalBlock = $this => { return 0; }, nms_BlockEnchantmentTable_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $var6, var$18, $var7, var$20, $var8, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, var$32, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var8 = $thread.pop();var$20 = $thread.pop();$var7 = $thread.pop();var$18 = $thread.pop();$var6 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $par2 - 2 | 0; var$7 = $par2 + 2 | 0; var$8 = $par4 - 2 | 0; var$9 = $par4 + 2 | 0; var$10 = $par4 - 1 | 0; var$11 = 17; var$12 = $par3 + 1 | 0; var$13 = $par2 + 0.5; var$14 = $par3 + 2.0; var$15 = $par4 + 0.5; var$16 = Long_fromInt(16); $var6 = var$6; while (true) { var$18 = $rt_compare($var6, var$7); if (var$18 > 0) break; $var7 = var$8; while ($var7 <= var$9) { if ($var6 > var$6 && var$18 < 0 && $var7 == var$10) $var7 = var$9; a: { var$20 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$20; if (!Long_lo(Long_shr(Long_mul(var$16, Long_fromInt(Long_lo(Long_shru(var$20, var$11)))), 31))) { $var8 = $par3; while (true) { if ($var8 > var$12) break a; var$22 = nms_World_getBlockId($par1World, $var6, $var8, $var7); nms_Block_$callClinit(); if (var$22 == nms_Block_bookShelf.$blockID) { var$23 = $var6 - $par2 | 0; var$22 = (var$23 / 2 | 0) + $par2 | 0; var$24 = $var7 - $par4 | 0; if (!(nms_World_getBlockId($par1World, var$22, $var8, (var$24 / 2 | 0) + $par4 | 0) ? 0 : 1)) break; var$25 = $rt_s(1484); var$26 = var$23; var$27 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$27; var$28 = var$26 + Long_lo(Long_shru(var$27, 24)) / 1.6777216E7 - 0.5; var$26 = $var8 - $par3 | 0; var$20 = Long_and(Long_add(Long_mul(var$27, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$20; var$29 = var$26 - Long_lo(Long_shru(var$20, 24)) / 1.6777216E7 - 1.0; var$30 = var$24; var$20 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$20; var$31 = var$30 + Long_lo(Long_shru(var$20, 24)) / 1.6777216E7 - 0.5; var$22 = 0; var$32 = $par1World.$worldAccesses; var$24 = $rt_compare(var$22, var$32.$size0); if (var$24 < 0) { if (var$22 >= 0 && var$24 < 0) { var$32 = var$32.$array.data[var$22]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } $var8 = $var8 + 1 | 0; } } } $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } return; case 1: nms_RenderGlobal_doSpawnParticle(var$32, var$25, var$13, var$14, var$15, var$28, var$29, var$31); if ($rt_suspending()) { break main; } var$22 = var$22 + 1 | 0; b: while (true) { var$32 = $par1World.$worldAccesses; var$24 = $rt_compare(var$22, var$32.$size0); if (var$24 < 0) { if (var$22 >= 0 && var$24 < 0) { var$32 = var$32.$array.data[var$22]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } c: while (true) { $var8 = $var8 + 1 | 0; while (true) { if ($var8 <= var$12) { var$22 = nms_World_getBlockId($par1World, $var6, $var8, $var7); nms_Block_$callClinit(); if (var$22 != nms_Block_bookShelf.$blockID) continue c; var$23 = $var6 - $par2 | 0; var$22 = (var$23 / 2 | 0) + $par2 | 0; var$24 = $var7 - $par4 | 0; if (nms_World_getBlockId($par1World, var$22, $var8, (var$24 / 2 | 0) + $par4 | 0) ? 0 : 1) break c; } while (true) { $var7 = $var7 + 1 | 0; while ($var7 > var$9) { $var6 = $var6 + 1 | 0; var$18 = $rt_compare($var6, var$7); if (var$18 > 0) break b; $var7 = var$8; } if ($var6 > var$6 && var$18 < 0 && $var7 == var$10) $var7 = var$9; var$20 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$20; if (Long_lo(Long_shr(Long_mul(var$16, Long_fromInt(Long_lo(Long_shru(var$20, var$11)))), 31))) continue; else break; } $var8 = $par3; } } var$25 = $rt_s(1484); var$26 = var$23; var$27 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$27; var$28 = var$26 + Long_lo(Long_shru(var$27, 24)) / 1.6777216E7 - 0.5; var$26 = $var8 - $par3 | 0; var$20 = Long_and(Long_add(Long_mul(var$27, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$20; var$29 = var$26 - Long_lo(Long_shru(var$20, 24)) / 1.6777216E7 - 1.0; var$30 = var$24; var$20 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$20; var$31 = var$30 + Long_lo(Long_shru(var$20, 24)) / 1.6777216E7 - 0.5; var$22 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $var6, var$18, $var7, var$20, $var8, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, var$32, $ptr); }, nms_BlockEnchantmentTable_isOpaqueCube = $this => { return 0; }, nms_BlockEnchantmentTable_getIcon = ($this, $par1, $par2) => { return !$par1 ? $this.$field_94460_b : $par1 != 1 ? $this.$blockIcon : $this.$field_94461_a; }, nms_BlockEnchantmentTable_createNewTileEntity = ($this, $par1World) => { $par1World = new nms_TileEntityEnchantmentTable; nms_TileEntityEnchantmentTable_$callClinit(); nms_TileEntity_$callClinit(); $par1World.$blockMetadata = (-1); return $par1World; }, nms_BlockEnchantmentTable_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; $var10 = $par1World; $par1World = $var10.$field_94136_s; if (!($par1World !== null && $par1World.$nativeString.length > 0 ? 1 : 0)) $par1World = null; else { $par1World = $var10.$field_94136_s; $par1World = !($par1World !== null && $par1World.$nativeString.length > 0 ? 1 : 0) ? $rt_s(3100) : $var10.$field_94136_s; } var$11 = $par5EntityPlayer.$mc4; $var10 = new nms_GuiEnchantment; var$12 = $par5EntityPlayer.$inventory; $par5EntityPlayer = $par5EntityPlayer.$worldObj; nms_GuiEnchantment_$callClinit(); var$13 = nms_ContainerEnchantment__init_(var$12, $par5EntityPlayer, $par2, $par3, $par4); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $par5EntityPlayer = new ju_ArrayList; jl_Object__init_($par5EntityPlayer); $par5EntityPlayer.$array = $rt_createArray(jl_Object, 10); $var10.$buttonList = $par5EntityPlayer; $var10.$allowUserInput = 0; $var10.$selectedButton = null; $var10.$eventButton = 0; $var10.$field_85043_c = Long_ZERO; $var10.$field_92018_d = 0; $var10.$xSize = 176; $var10.$ySize = 166; $par5EntityPlayer = new ju_HashSet; var$12 = new ju_HashMap; jl_Object__init_(var$12); $par2 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$15 = var$14.data; var$12.$elementData = var$14; var$12.$loadFactor = 0.75; var$12.$threshold = var$15.length * 0.75 | 0; $par5EntityPlayer.$backingMap = var$12; $var10.$field_94077_p = $par5EntityPlayer; $var10.$inventorySlots0 = var$13; $var10.$field_94068_E = 1; var$13 = new nle_EaglercraftRandom; var$16 = Long_fromNumber(performance.now() * 1000000.0); var$13.$seed = Long_fromInt(69); var$13.$haveNextNextGaussian = 0; var$13.$seed = var$16; $var10.$rand7 = var$13; $var10.$containerEnchantment = $var10.$inventorySlots0; $var10.$field_94079_C = $par1World; $ptr = 2; case 2: nms_Minecraft_displayGuiScreen(var$11, $var10); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_BlockEnchantmentTable_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par6ItemStack.$stackTagCompound; if (var$7 === null) var$8 = 0; else { a: { var$7 = var$7.$tagMap; if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$10 = var$7.$elementData.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { b: { var$11 = var$7.$key; if ($rt_s(1525) !== var$11) { if ($rt_s(1525) === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $rt_s(1525).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$7 = var$7.$next3; } if (!(var$7 === null ? 0 : 1)) var$8 = 0; else { c: { var$7 = $par6ItemStack.$stackTagCompound; var$11 = var$7.$tagMap; if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$10 = var$11.$elementData.data; var$11 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$9) { d: { var$12 = var$11.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) var$8 = 1; else if (!(var$12 instanceof jl_String)) var$8 = 0; else { var$12 = var$12; var$8 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break d; } } var$8 = 1; } if (var$8) break; } var$11 = var$11.$next3; } if (!(var$11 === null ? 0 : 1)) { var$7 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$7.$name = $rt_s(1525); else var$7.$name = $rt_s(18); $par5EntityLivingBase = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); $par5EntityLivingBase.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$13 = var$10.data; $par5EntityLivingBase.$elementData = var$10; $par5EntityLivingBase.$loadFactor = 0.75; $par5EntityLivingBase.$threshold = var$13.length * 0.75 | 0; var$7.$tagMap = $par5EntityLivingBase; } else { var$7 = var$7.$tagMap; if ($rt_s(1525) === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$10 = var$7.$elementData.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { f: { var$11 = var$7.$key; if ($rt_s(1525) !== var$11) { if ($rt_s(1525) === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $rt_s(1525).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break f; } } var$8 = 1; } if (var$8) break; } var$7 = var$7.$next3; } } var$7 = var$7 === null ? null : var$7.$value1; } g: { $par5EntityLivingBase = var$7.$tagMap; if (!$rt_s(1526).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$14 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; var$12 = var$10[var$14 & (var$10.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$14) { h: { $par5EntityLivingBase = var$12.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) var$8 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) var$8 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; var$8 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break h; } } var$8 = 1; } if (var$8) break; } var$12 = var$12.$next3; } var$8 = var$12 === null ? 0 : 1; } } if (!var$8) return; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; var$7 = $par1World; nms_Item_$callClinit(); var$11 = nms_Item_itemsList.data[$par6ItemStack.$itemID].$getItemDisplayName($par6ItemStack); $par1World = $par6ItemStack.$stackTagCompound; if ($par1World !== null) { a: { $par1World = $par1World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par3 = $rt_s(1525).$hashCode1; var$10 = $par1World.$elementData.data; var$15 = var$10[$par3 & (var$10.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par3) { b: { $par1World = var$15.$key; if ($rt_s(1525) !== $par1World) { if ($rt_s(1525) === $par1World) $par2 = 1; else if (!($par1World instanceof jl_String)) $par2 = 0; else { $par1World = $par1World; $par2 = $rt_s(1525).$nativeString !== $par1World.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break b; } } $par2 = 1; } if ($par2) break; } var$15 = var$15.$next3; } if (var$15 === null ? 0 : 1) { c: { $par1World = $par6ItemStack.$stackTagCompound; $par6ItemStack = $par1World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par2 = $rt_s(1525).$hashCode1; var$10 = $par6ItemStack.$elementData.data; $par6ItemStack = var$10[$par2 & (var$10.length - 1 | 0)]; while ($par6ItemStack !== null) { if ($par6ItemStack.$origKeyHash == $par2) { d: { var$12 = $par6ItemStack.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $par3 = 1; else if (!(var$12 instanceof jl_String)) $par3 = 0; else { var$12 = var$12; $par3 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$par3) { $par3 = 0; break d; } } $par3 = 1; } if ($par3) break; } $par6ItemStack = $par6ItemStack.$next3; } if (!($par6ItemStack === null ? 0 : 1)) { var$12 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$12.$name = $rt_s(1525); else var$12.$name = $rt_s(18); $par1World = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $par1World.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$10 = var$13.data; $par1World.$elementData = var$13; $par1World.$loadFactor = 0.75; $par1World.$threshold = var$10.length * 0.75 | 0; var$12.$tagMap = $par1World; } else { $par1World = $par1World.$tagMap; if ($rt_s(1525) === null) { $par1World = $par1World.$elementData.data[0]; while ($par1World !== null && $par1World.$key !== null) { $par1World = $par1World.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par2 = $rt_s(1525).$hashCode1; var$10 = $par1World.$elementData.data; $par1World = var$10[$par2 & (var$10.length - 1 | 0)]; while ($par1World !== null) { if ($par1World.$origKeyHash == $par2) { f: { $par6ItemStack = $par1World.$key; if ($rt_s(1525) !== $par6ItemStack) { if ($rt_s(1525) === $par6ItemStack) $par3 = 1; else if (!($par6ItemStack instanceof jl_String)) $par3 = 0; else { $par6ItemStack = $par6ItemStack; $par3 = $rt_s(1525).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par3) { $par3 = 0; break f; } } $par3 = 1; } if ($par3) break; } $par1World = $par1World.$next3; } } var$12 = $par1World === null ? null : $par1World.$value1; } g: { $par5EntityLivingBase = var$12.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { h: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break h; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if ($par5EntityLivingBase === null ? 0 : 1) { i: { $par5EntityLivingBase = var$12.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break i; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { j: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break j; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) var$11 = $rt_s(18); else { $par5EntityLivingBase = var$12.$tagMap; if ($rt_s(1526) === null) { $par5EntityLivingBase = $par5EntityLivingBase.$elementData.data[0]; while ($par5EntityLivingBase !== null && $par5EntityLivingBase.$key !== null) { $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } else { k: { if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break k; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { l: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break l; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } var$11 = ($par5EntityLivingBase === null ? null : $par5EntityLivingBase.$value1).$data1; } } } } var$7.$field_94136_s = var$11; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_BlockEnchantmentTable_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2998)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2999)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$field_94461_a = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3017)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$field_94460_b = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }; function nms_BlockBrewingStand() { let a = this; nms_BlockContainer.call(a); a.$rand2 = null; a.$theIcon0 = null; } let nms_BlockBrewingStand__init_ = ($this, $par1) => { let var$2, var$3; nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_iron); $this.$isBlockContainer = 1; var$2 = new nle_EaglercraftRandom; var$3 = Long_fromNumber(performance.now() * 1000000.0); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = var$3; $this.$rand2 = var$2; }, nms_BlockBrewingStand__init_0 = var_0 => { let var_1 = new nms_BlockBrewingStand(); nms_BlockBrewingStand__init_(var_1, var_0); return var_1; }, nms_BlockBrewingStand_isOpaqueCube = $this => { return 0; }, nms_BlockBrewingStand_getRenderType = $this => { return 25; }, nms_BlockBrewingStand_createNewTileEntity = ($this, $par1World) => { $par1World = new nms_TileEntityBrewingStand; nms_TileEntity_$callClinit(); $par1World.$blockMetadata = (-1); $par1World.$brewingItemStacks = $rt_createArray(nms_ItemStack, 4); return $par1World; }, nms_BlockBrewingStand_renderAsNormalBlock = $this => { return 0; }, nms_BlockBrewingStand_addCollisionBoxesToList = ($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity) => { let var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par7Entity = $thread.pop();$par6List = $thread.pop();$par5AxisAlignedBB = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$minX0 = 0.4375; $this.$minY0 = 0.0; $this.$minZ0 = 0.4375; $this.$maxX0 = 0.5625; $this.$maxY0 = 0.875; $this.$maxZ0 = 0.5625; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$9 = $par2; var$10 = var$9 + $this.$minX0; var$11 = $par3; var$12 = var$11 + $this.$minY0; var$13 = $par4; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.125; $this.$maxZ0 = 1.0; $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$19 = var$9 + $this.$minX0; var$10 = var$11 + $this.$minY0; var$16 = var$13 + $this.$minZ0; var$9 = var$9 + $this.$maxX0; var$17 = var$11 + $this.$maxY0; var$11 = var$13 + $this.$maxZ0; $par2 = $par1World.$nextPoolIndex; $par7Entity = $par1World.$listAABB; $par4 = $par7Entity.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = var$19; var$8.$minY = var$10; var$8.$minZ = var$16; var$8.$maxX = var$9; var$8.$maxY = var$17; var$8.$maxZ = var$11; ju_ArrayList_ensureCapacity($par7Entity, $par4 + 1 | 0); var$18 = $par7Entity.$array.data; $par3 = $par7Entity.$size0; $par7Entity.$size0 = $par3 + 1 | 0; var$18[$par3] = var$8; $par7Entity.$modCount = $par7Entity.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$8 = $par7Entity.$array.data[$par2]; var$8.$minX = var$19; var$8.$minY = var$10; var$8.$minZ = var$16; var$8.$maxX = var$9; var$8.$maxY = var$17; var$8.$maxZ = var$11; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, var$8)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = var$8; $par6List.$modCount = $par6List.$modCount + 1 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_BlockBrewingStand_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.125; $this.$maxZ0 = 1.0; }, nms_BlockBrewingStand_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; $var10 = $par1World; if ($var10 === null) return 1; var$11 = $par5EntityPlayer.$mc4; $par1World = new nms_GuiBrewingStand; $par5EntityPlayer = $par5EntityPlayer.$inventory; nms_GuiBrewingStand_$callClinit(); var$12 = nms_ContainerBrewingStand__init_($par5EntityPlayer, $var10); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $par5EntityPlayer = new ju_ArrayList; jl_Object__init_($par5EntityPlayer); $par5EntityPlayer.$array = $rt_createArray(jl_Object, 10); $par1World.$buttonList = $par5EntityPlayer; $par1World.$allowUserInput = 0; $par1World.$selectedButton = null; $par1World.$eventButton = 0; $par1World.$field_85043_c = Long_ZERO; $par1World.$field_92018_d = 0; $par1World.$xSize = 176; $par1World.$ySize = 166; $par5EntityPlayer = new ju_HashSet; var$13 = new ju_HashMap; jl_Object__init_(var$13); $par2 = ju_HashMap_calculateCapacity(16); var$13.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$15 = var$14.data; var$13.$elementData = var$14; var$13.$loadFactor = 0.75; var$13.$threshold = var$15.length * 0.75 | 0; $par5EntityPlayer.$backingMap = var$13; $par1World.$field_94077_p = $par5EntityPlayer; $par1World.$inventorySlots0 = var$12; $par1World.$field_94068_E = 1; $par1World.$brewingStand = $var10; $ptr = 2; case 2: nms_Minecraft_displayGuiScreen(var$11, $par1World); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_BlockBrewingStand_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par6ItemStack.$stackTagCompound; if (var$7 === null) var$8 = 0; else { a: { var$7 = var$7.$tagMap; if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$10 = var$7.$elementData.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { b: { var$11 = var$7.$key; if ($rt_s(1525) !== var$11) { if ($rt_s(1525) === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $rt_s(1525).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$7 = var$7.$next3; } if (!(var$7 === null ? 0 : 1)) var$8 = 0; else { c: { var$7 = $par6ItemStack.$stackTagCompound; var$11 = var$7.$tagMap; if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$10 = var$11.$elementData.data; var$11 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$9) { d: { var$12 = var$11.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) var$8 = 1; else if (!(var$12 instanceof jl_String)) var$8 = 0; else { var$12 = var$12; var$8 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break d; } } var$8 = 1; } if (var$8) break; } var$11 = var$11.$next3; } if (!(var$11 === null ? 0 : 1)) { var$7 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$7.$name = $rt_s(1525); else var$7.$name = $rt_s(18); $par5EntityLivingBase = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); $par5EntityLivingBase.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$13 = var$10.data; $par5EntityLivingBase.$elementData = var$10; $par5EntityLivingBase.$loadFactor = 0.75; $par5EntityLivingBase.$threshold = var$13.length * 0.75 | 0; var$7.$tagMap = $par5EntityLivingBase; } else { var$7 = var$7.$tagMap; if ($rt_s(1525) === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$10 = var$7.$elementData.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { f: { var$11 = var$7.$key; if ($rt_s(1525) !== var$11) { if ($rt_s(1525) === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $rt_s(1525).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break f; } } var$8 = 1; } if (var$8) break; } var$7 = var$7.$next3; } } var$7 = var$7 === null ? null : var$7.$value1; } g: { $par5EntityLivingBase = var$7.$tagMap; if (!$rt_s(1526).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$14 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; var$12 = var$10[var$14 & (var$10.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$14) { h: { $par5EntityLivingBase = var$12.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) var$8 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) var$8 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; var$8 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break h; } } var$8 = 1; } if (var$8) break; } var$12 = var$12.$next3; } var$8 = var$12 === null ? 0 : 1; } } if (!var$8) return; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; var$7 = $par1World; nms_Item_$callClinit(); var$11 = nms_Item_itemsList.data[$par6ItemStack.$itemID].$getItemDisplayName($par6ItemStack); $par1World = $par6ItemStack.$stackTagCompound; if ($par1World !== null) { a: { $par1World = $par1World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par3 = $rt_s(1525).$hashCode1; var$10 = $par1World.$elementData.data; var$15 = var$10[$par3 & (var$10.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par3) { b: { $par1World = var$15.$key; if ($rt_s(1525) !== $par1World) { if ($rt_s(1525) === $par1World) $par2 = 1; else if (!($par1World instanceof jl_String)) $par2 = 0; else { $par1World = $par1World; $par2 = $rt_s(1525).$nativeString !== $par1World.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break b; } } $par2 = 1; } if ($par2) break; } var$15 = var$15.$next3; } if (var$15 === null ? 0 : 1) { c: { $par1World = $par6ItemStack.$stackTagCompound; $par6ItemStack = $par1World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par2 = $rt_s(1525).$hashCode1; var$10 = $par6ItemStack.$elementData.data; $par6ItemStack = var$10[$par2 & (var$10.length - 1 | 0)]; while ($par6ItemStack !== null) { if ($par6ItemStack.$origKeyHash == $par2) { d: { var$12 = $par6ItemStack.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $par3 = 1; else if (!(var$12 instanceof jl_String)) $par3 = 0; else { var$12 = var$12; $par3 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$par3) { $par3 = 0; break d; } } $par3 = 1; } if ($par3) break; } $par6ItemStack = $par6ItemStack.$next3; } if (!($par6ItemStack === null ? 0 : 1)) { var$12 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$12.$name = $rt_s(1525); else var$12.$name = $rt_s(18); $par1World = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $par1World.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$10 = var$13.data; $par1World.$elementData = var$13; $par1World.$loadFactor = 0.75; $par1World.$threshold = var$10.length * 0.75 | 0; var$12.$tagMap = $par1World; } else { $par1World = $par1World.$tagMap; if ($rt_s(1525) === null) { $par1World = $par1World.$elementData.data[0]; while ($par1World !== null && $par1World.$key !== null) { $par1World = $par1World.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par2 = $rt_s(1525).$hashCode1; var$10 = $par1World.$elementData.data; $par1World = var$10[$par2 & (var$10.length - 1 | 0)]; while ($par1World !== null) { if ($par1World.$origKeyHash == $par2) { f: { $par6ItemStack = $par1World.$key; if ($rt_s(1525) !== $par6ItemStack) { if ($rt_s(1525) === $par6ItemStack) $par3 = 1; else if (!($par6ItemStack instanceof jl_String)) $par3 = 0; else { $par6ItemStack = $par6ItemStack; $par3 = $rt_s(1525).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par3) { $par3 = 0; break f; } } $par3 = 1; } if ($par3) break; } $par1World = $par1World.$next3; } } var$12 = $par1World === null ? null : $par1World.$value1; } g: { $par5EntityLivingBase = var$12.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { h: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break h; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if ($par5EntityLivingBase === null ? 0 : 1) { i: { $par5EntityLivingBase = var$12.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break i; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { j: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break j; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) var$11 = $rt_s(18); else { $par5EntityLivingBase = var$12.$tagMap; if ($rt_s(1526) === null) { $par5EntityLivingBase = $par5EntityLivingBase.$elementData.data[0]; while ($par5EntityLivingBase !== null && $par5EntityLivingBase.$key !== null) { $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } else { k: { if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break k; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { l: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break l; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } var$11 = ($par5EntityLivingBase === null ? null : $par5EntityLivingBase.$value1).$data1; } } } } var$7.$field_94132_e = var$11; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_BlockBrewingStand_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let var$6, var$7, $var6, var$9, $var8, var$11, $var10, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var10 = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $par2 + 0.4000000059604645; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var6 = var$6 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 * 0.20000000298023224; var$6 = $par3 + 0.699999988079071; var$9 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$9; $var8 = var$6 + Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 * 0.30000001192092896; var$11 = $par4 + 0.4000000059604645; var$9 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$9; $var10 = var$11 + Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 * 0.20000000298023224; $par5Random = $rt_s(1479); var$13 = 0.0; var$14 = 0.0; var$15 = 0.0; $par2 = 0; var$16 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$16.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$16 = var$16.$array.data[$par2]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 1: nms_RenderGlobal_doSpawnParticle(var$16, $par5Random, $var6, $var8, $var10, var$13, var$14, var$15); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; var$16 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$16.$size0); if ($par3 >= 0) return; if ($par2 >= 0 && $par3 < 0) { var$16 = var$16.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, var$6, var$7, $var6, var$9, $var8, var$11, $var10, var$13, var$14, var$15, var$16, $ptr); }, nms_BlockBrewingStand_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8, $var9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $var10, var$18, $var11, $var12, var$21, $var13, var$23, var$24, var$25, $var14, var$27, $var15, var$29, var$30, var$31, var$32, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();$var15 = $thread.pop();var$27 = $thread.pop();$var14 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$var13 = $thread.pop();var$21 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();var$18 = $thread.pop();$var10 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 instanceof nms_TileEntityBrewingStand) { $var8 = $var7; $var9 = 0; var$10 = 24; var$11 = 17; var$12 = $par2; var$13 = 138; var$14 = $par3; var$15 = $par4; while (true) { var$16 = $var8.$brewingItemStacks.data; $par5 = $rt_compare($var9, var$16.length); if ($par5 >= 0) break a; $var10 = $var9 >= 0 && $par5 < 0 ? var$16[$var9] : null; if ($var10 !== null) { $var7 = $this.$rand2; var$18 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$18; $var11 = Long_lo(Long_shru(var$18, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$18; $var12 = Long_lo(Long_shru(var$18, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$21 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$21; $var13 = Long_lo(Long_shru(var$21, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$23 = var$12 + $var11; var$24 = var$14 + $var12; var$25 = var$15 + $var13; $par5 = $var10.$stackSize; if ($par5 > 0) { $var7 = $this.$rand2; var$21 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$21; $var14 = Long_lo(Long_shru(var$21, var$11)); while (true) { var$27 = $var14 % 21 | 0; if ((($var14 - var$27 | 0) + 20 | 0) >= 0) break; var$21 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$21; $var14 = Long_lo(Long_shru(var$21, var$11)); } $var14 = var$27 + 10 | 0; if ($var14 > $par5) $var14 = $par5; $var10.$stackSize = $par5 - $var14 | 0; $var15 = new nms_EntityItem; var$29 = new nms_ItemStack; $par5 = $var10.$itemID; $par6 = $var10.$itemDamage; nms_ItemStack_$callClinit(); var$29.$itemID = $par5; var$29.$stackSize = $var14; var$29.$itemDamage = $par6; if ($par6 < 0) var$29.$itemDamage = 0; $ptr = 3; continue main; } } $var9 = $var9 + 1 | 0; } } } $ptr = 2; case 2: nms_World_removeBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; case 3: nms_EntityItem__init_($var15, $par1World, var$23, var$24, var$25); if ($rt_suspending()) { break main; } var$30 = $var15.$dataWatcher; $var7 = var$30.$watchedObjects; jl_Integer_ensureIntegerCache(); var$31 = jl_Integer_integerCache.data[var$13]; if (var$31 === null) { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { $par5 = var$31.$value0; var$16 = $var7.$elementData.data; $var7 = var$16[$par5 & (var$16.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == $par5) { var$32 = $var7.$key; if (var$31 !== var$32 && !jl_Integer_equals(var$31, var$32) ? 0 : 1) break; } $var7 = $var7.$next3; } } var$32 = $var7 === null ? null : $var7.$value1; if (!(var$29 !== var$32.$watchedObject ? 0 : 1)) { var$32.$watchedObject = var$29; var$32.$watched = 1; var$30.$objectChanged = 1; } var$29 = $var15.$dataWatcher; $var7 = var$29.$watchedObjects; jl_Integer_ensureIntegerCache(); var$32 = jl_Integer_integerCache.data[var$13]; if (var$32 === null) { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { $var14 = var$32.$value0; var$16 = $var7.$elementData.data; $var7 = var$16[$var14 & (var$16.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == $var14) { var$31 = $var7.$key; if (var$32 !== var$31 && !jl_Integer_equals(var$32, var$31) ? 0 : 1) break; } $var7 = $var7.$next3; } } ($var7 === null ? null : $var7.$value1).$watched = 1; var$29.$objectChanged = 1; $var15.$motionX = nle_EaglercraftRandom_nextGaussian($this.$rand2) * 0.05000000074505806; $var15.$motionY = nle_EaglercraftRandom_nextGaussian($this.$rand2) * 0.05000000074505806 + 0.20000000298023224; $var15.$motionZ = nle_EaglercraftRandom_nextGaussian($this.$rand2) * 0.05000000074505806; $par5 = nms_World_spawnEntityInWorld($par1World, $var15); $var7 = $par1World.$entityList; ju_HashMap_putImpl($var7.$backingMap, $var15, $var7); if (!$par5) { $var7 = $par1World.$entitySpawnQueue; ju_HashMap_putImpl($var7.$backingMap, $var15, $var7); } b: while (true) { $par5 = $var10.$stackSize; if ($par5 > 0) { $var7 = $this.$rand2; var$21 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$21; $var14 = Long_lo(Long_shru(var$21, var$11)); while (true) { var$27 = $var14 % 21 | 0; if ((($var14 - var$27 | 0) + 20 | 0) >= 0) break; var$21 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$21; $var14 = Long_lo(Long_shru(var$21, var$11)); } $var14 = var$27 + 10 | 0; if ($var14 > $par5) $var14 = $par5; $var10.$stackSize = $par5 - $var14 | 0; $var15 = new nms_EntityItem; var$29 = new nms_ItemStack; $par5 = $var10.$itemID; $par6 = $var10.$itemDamage; nms_ItemStack_$callClinit(); var$29.$itemID = $par5; var$29.$stackSize = $var14; var$29.$itemDamage = $par6; if ($par6 < 0) var$29.$itemDamage = 0; continue main; } while (true) { $var9 = $var9 + 1 | 0; var$16 = $var8.$brewingItemStacks.data; $par5 = $rt_compare($var9, var$16.length); if ($par5 >= 0) break b; $var10 = $var9 >= 0 && $par5 < 0 ? var$16[$var9] : null; if ($var10 === null) continue; else break; } $var7 = $this.$rand2; var$18 = Long_and(Long_add(Long_mul($var7.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$18; $var11 = Long_lo(Long_shru(var$18, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$18; $var12 = Long_lo(Long_shru(var$18, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$21 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var7.$seed = var$21; $var13 = Long_lo(Long_shru(var$21, var$10)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$23 = var$12 + $var11; var$24 = var$14 + $var12; var$25 = var$15 + $var13; } $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, $var8, $var9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $var10, var$18, $var11, $var12, var$21, $var13, var$23, var$24, var$25, $var14, var$27, $var15, var$29, var$30, var$31, var$32, $ptr); }, nms_BlockBrewingStand_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_brewingStand.$itemID0; }, nms_BlockBrewingStand_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Item_$callClinit(); return nms_Item_brewingStand.$itemID0; }, nms_BlockBrewingStand_hasComparatorInputOverride = $this => { return 1; }, nms_BlockBrewingStand_getComparatorInputOverride = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; return nms_Container_calcRedstoneFromInventory($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockBrewingStand_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_StringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1IconRegister); $rt_throw($par1IconRegister); } } $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$4 = $this.$textureName; if (var$4 === null) { var$3 = $this.$blockID; var$4 = $this.$unlocalizedName; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$3, 10); var$5 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$5, var$5 + 1 | 0); var$2.$buffer.data[var$5] = 95; var$3 = var$2.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$4); var$4 = new jl_String; var$6 = var$2.$buffer; var$7 = var$6.data; var$5 = var$2.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, var$4); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(3101)); var$4 = new jl_String; var$7 = var$2.$buffer; var$6 = var$7.data; var$8 = var$2.$length0; var$5 = var$6.length; if (var$8 >= 0 && var$8 <= (var$5 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$theIcon0 = $par1IconRegister.$registerIcon(var$4, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }; function nms_BlockCauldron() { let a = this; nms_Block.call(a); a.$field_94378_a = null; a.$cauldronTopIcon = null; a.$cauldronBottomIcon = null; } let nms_BlockCauldron__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_iron); }, nms_BlockCauldron__init_ = var_0 => { let var_1 = new nms_BlockCauldron(); nms_BlockCauldron__init_0(var_1, var_0); return var_1; }, nms_BlockCauldron_getIcon = ($this, $par1, $par2) => { return $par1 == 1 ? $this.$cauldronTopIcon : $par1 ? $this.$blockIcon : $this.$cauldronBottomIcon; }, nms_BlockCauldron_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3093)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$field_94378_a = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2999)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$cauldronTopIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3017)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$cauldronBottomIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2998)); var$2 = new jl_String; var$7 = var$4.$buffer; var$6 = var$7.data; var$8 = var$4.$length0; var$3 = var$6.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockCauldron_addCollisionBoxesToList = ($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity) => { let var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par7Entity = $thread.pop();$par6List = $thread.pop();$par5AxisAlignedBB = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.3125; $this.$maxZ0 = 1.0; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$9 = $par2; var$10 = var$9 + $this.$minX0; var$11 = $par3; var$12 = var$11 + $this.$minY0; var$13 = $par4; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.125; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; $par7Entity = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$12 = var$9 + $this.$minX0; var$14 = var$11 + $this.$minY0; var$15 = var$13 + $this.$minZ0; var$16 = var$9 + $this.$maxX0; var$17 = var$11 + $this.$maxY0; var$19 = var$13 + $this.$maxZ0; $par3 = $par7Entity.$nextPoolIndex; $par1World = $par7Entity.$listAABB; $par2 = $par1World.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = var$12; var$8.$minY = var$14; var$8.$minZ = var$15; var$8.$maxX = var$16; var$8.$maxY = var$17; var$8.$maxZ = var$19; ju_ArrayList_ensureCapacity($par1World, $par2 + 1 | 0); var$18 = $par1World.$array.data; $par2 = $par1World.$size0; $par1World.$size0 = $par2 + 1 | 0; var$18[$par2] = var$8; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$8 = $par1World.$array.data[$par3]; var$8.$minX = var$12; var$8.$minY = var$14; var$8.$minZ = var$15; var$8.$maxX = var$16; var$8.$maxY = var$17; var$8.$maxZ = var$19; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } $par7Entity.$nextPoolIndex = $par7Entity.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, var$8)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = var$8; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.125; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$12 = var$11 + $this.$minY0; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.875; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$12 = var$11 + $this.$minY0; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.875; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; $par7Entity = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$12 = var$11 + $this.$minY0; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; $par3 = $par7Entity.$nextPoolIndex; $par1World = $par7Entity.$listAABB; $par2 = $par1World.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = var$10; var$8.$minY = var$12; var$8.$minZ = var$14; var$8.$maxX = var$15; var$8.$maxY = var$16; var$8.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par2 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = var$8; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$8 = $par1World.$array.data[$par3]; var$8.$minX = var$10; var$8.$minY = var$12; var$8.$minZ = var$14; var$8.$maxX = var$15; var$8.$maxY = var$16; var$8.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } $par7Entity.$nextPoolIndex = $par7Entity.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, var$8)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = var$8; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_BlockCauldron_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; }, nms_BlockCauldron_isOpaqueCube = $this => { return 0; }, nms_BlockCauldron_getRenderType = $this => { return 24; }, nms_BlockCauldron_renderAsNormalBlock = $this => { return 0; }, nms_BlockCauldron_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var14, var$11, $var10, $var12, var$14, $var13, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var13 = $thread.pop();var$14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();var$11 = $thread.pop();$var14 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; $var14 = $par5EntityPlayer.$inventory; var$11 = $var14.$currentItem; $var10 = var$11 < 9 && var$11 >= 0 ? $var14.$mainInventory.data[var$11] : null; if ($var10 === null) return 1; $var12 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$11 = $var10.$itemID; nms_Item_$callClinit(); if (var$11 == nms_Item_bucketWater.$itemID0) { if ($var12 >= 3) return 1; if (!$par5EntityPlayer.$capabilities.$isCreativeMode) { $par5EntityPlayer = $par5EntityPlayer.$inventory; var$14 = $par5EntityPlayer.$currentItem; $var14 = new nms_ItemStack; $var13 = nms_Item_bucketEmpty; nms_ItemStack_$callClinit(); $var14.$itemID = $var13.$itemID0; $var14.$stackSize = 1; $var14.$itemDamage = 0; var$16 = $par5EntityPlayer.$mainInventory; var$11 = var$16.data.length; if (var$14 >= var$11) { var$14 = var$14 - var$11 | 0; var$16 = $par5EntityPlayer.$armorInventory; } var$16.data[var$14] = $var14; } $par6 = 3; var$11 = 2; $ptr = 1; continue main; } a: { if (var$11 == nms_Item_glassBottle.$itemID0) { if ($var12 <= 0) break a; $var13 = new nms_ItemStack; $var14 = nms_Item_potion; nms_ItemStack_$callClinit(); $var13.$itemID = $var14.$itemID0; $var13.$stackSize = 1; $var13.$itemDamage = 0; if (!nms_InventoryPlayer_addItemStackToInventory($par5EntityPlayer.$inventory, $var13)) { $var14 = new nms_EntityItem; var$17 = $par2 + 0.5; var$18 = $par3 + 1.5; var$19 = $par4 + 0.5; $ptr = 3; continue main; } if ($par5EntityPlayer instanceof nms_EntityPlayerMP) $par5EntityPlayer.$sendContainerToPlayer($par5EntityPlayer.$inventoryContainer); $par6 = $var10.$stackSize - 1 | 0; $var10.$stackSize = $par6; if ($par6 <= 0) { $par5EntityPlayer = $par5EntityPlayer.$inventory; $par6 = $par5EntityPlayer.$currentItem; $var14 = null; var$16 = $par5EntityPlayer.$mainInventory; var$11 = var$16.data.length; if ($par6 >= var$11) { $par6 = $par6 - var$11 | 0; var$16 = $par5EntityPlayer.$armorInventory; } var$16.data[$par6] = $var14; } $par6 = $var12 - 1 | 0; var$11 = 2; $ptr = 6; continue main; } if ($var12 > 0) { var$16 = nms_Item_itemsList.data; if (var$16[var$11] instanceof nms_ItemArmor) { $var14 = var$16[var$11].$material; $par5EntityPlayer = nms_EnumArmorMaterial_CLOTH; if ($var14 === $par5EntityPlayer) { if (var$16[var$11].$material === $par5EntityPlayer) { $var13 = $var10.$stackTagCompound; if ($var13 !== null) { b: { $par5EntityPlayer = $var13.$tagMap; if (!$rt_s(1525).$hashCode1) { $par6 = 0; while (true) { if ($par6 >= $rt_s(1525).$nativeString.length) break b; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par6) | 0; $par6 = $par6 + 1 | 0; } } } var$14 = $rt_s(1525).$hashCode1; var$16 = $par5EntityPlayer.$elementData.data; $par5EntityPlayer = var$16[var$14 & (var$16.length - 1 | 0)]; while ($par5EntityPlayer !== null) { if ($par5EntityPlayer.$origKeyHash == var$14) { c: { $var14 = $par5EntityPlayer.$key; if ($rt_s(1525) !== $var14) { if ($rt_s(1525) === $var14) $par6 = 1; else if (!($var14 instanceof jl_String)) $par6 = 0; else { $var14 = $var14; $par6 = $rt_s(1525).$nativeString !== $var14.$nativeString ? 0 : 1; } if (!$par6) { $par6 = 0; break c; } } $par6 = 1; } if ($par6) break; } $par5EntityPlayer = $par5EntityPlayer.$next3; } if (!($par5EntityPlayer === null ? 0 : 1)) { $var14 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $var14.$name = $rt_s(1525); else $var14.$name = $rt_s(18); $par5EntityPlayer = new ju_HashMap; $par6 = ju_HashMap_calculateCapacity(16); $par5EntityPlayer.$elementCount = 0; var$20 = $rt_createArray(ju_HashMap$HashEntry, $par6); var$16 = var$20.data; $par5EntityPlayer.$elementData = var$20; $par5EntityPlayer.$loadFactor = 0.75; $par5EntityPlayer.$threshold = var$16.length * 0.75 | 0; $var14.$tagMap = $par5EntityPlayer; } else { $par5EntityPlayer = $var13.$tagMap; if ($rt_s(1525) === null) { $par5EntityPlayer = $par5EntityPlayer.$elementData.data[0]; while ($par5EntityPlayer !== null && $par5EntityPlayer.$key !== null) { $par5EntityPlayer = $par5EntityPlayer.$next3; } } else { d: { if (!$rt_s(1525).$hashCode1) { $par6 = 0; while (true) { if ($par6 >= $rt_s(1525).$nativeString.length) break d; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par6) | 0; $par6 = $par6 + 1 | 0; } } } var$14 = $rt_s(1525).$hashCode1; var$16 = $par5EntityPlayer.$elementData.data; $par5EntityPlayer = var$16[var$14 & (var$16.length - 1 | 0)]; while ($par5EntityPlayer !== null) { if ($par5EntityPlayer.$origKeyHash == var$14) { e: { $var14 = $par5EntityPlayer.$key; if ($rt_s(1525) !== $var14) { if ($rt_s(1525) === $var14) $par6 = 1; else if (!($var14 instanceof jl_String)) $par6 = 0; else { $var14 = $var14; $par6 = $rt_s(1525).$nativeString !== $var14.$nativeString ? 0 : 1; } if (!$par6) { $par6 = 0; break e; } } $par6 = 1; } if ($par6) break; } $par5EntityPlayer = $par5EntityPlayer.$next3; } } $var14 = $par5EntityPlayer === null ? null : $par5EntityPlayer.$value1; } f: { $par5EntityPlayer = $var14.$tagMap; if (!$rt_s(2506).$hashCode1) { $par6 = 0; while (true) { if ($par6 >= $rt_s(2506).$nativeString.length) break f; $rt_s(2506).$hashCode1 = (31 * $rt_s(2506).$hashCode1 | 0) + $rt_s(2506).$nativeString.charCodeAt($par6) | 0; $par6 = $par6 + 1 | 0; } } } var$11 = $rt_s(2506).$hashCode1; var$16 = $par5EntityPlayer.$elementData.data; var$21 = var$16[var$11 & (var$16.length - 1 | 0)]; while (var$21 !== null) { if (var$21.$origKeyHash == var$11) { g: { $par5EntityPlayer = var$21.$key; if ($rt_s(2506) !== $par5EntityPlayer) { if ($rt_s(2506) === $par5EntityPlayer) $par6 = 1; else if (!($par5EntityPlayer instanceof jl_String)) $par6 = 0; else { $par5EntityPlayer = $par5EntityPlayer; $par6 = $rt_s(2506).$nativeString !== $par5EntityPlayer.$nativeString ? 0 : 1; } if (!$par6) { $par6 = 0; break g; } } $par6 = 1; } if ($par6) break; } var$21 = var$21.$next3; } if (var$21 === null ? 0 : 1) ju_HashMap_removeByKey($var14.$tagMap, $rt_s(2506)); } } $par6 = $var12 - 1 | 0; var$11 = 2; $ptr = 4; continue main; } } } } return 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par6, var$11); if ($rt_suspending()) { break main; } $par6 = $this.$blockID; $ptr = 2; case 2: nms_World_func_96440_m($par1World, $par2, $par3, $par4, $par6); if ($rt_suspending()) { break main; } return 1; case 3: nms_EntityItem__init_($var14, $par1World, var$17, var$18, var$19); if ($rt_suspending()) { break main; } var$22 = $var14.$dataWatcher; var$23 = var$22.$watchedObjects; jl_Integer_ensureIntegerCache(); var$24 = jl_Integer_integerCache.data[138]; if (var$24 === null) { var$23 = var$23.$elementData.data[0]; while (var$23 !== null && var$23.$key !== null) { var$23 = var$23.$next3; } } else { var$14 = var$24.$value0; var$16 = var$23.$elementData.data; var$23 = var$16[var$14 & (var$16.length - 1 | 0)]; while (var$23 !== null) { if (var$23.$origKeyHash == var$14) { var$21 = var$23.$key; if (var$24 !== var$21 && !jl_Integer_equals(var$24, var$21) ? 0 : 1) break; } var$23 = var$23.$next3; } } var$21 = var$23 === null ? null : var$23.$value1; if (!($var13 !== var$21.$watchedObject ? 0 : 1)) { var$21.$watchedObject = $var13; var$21.$watched = 1; var$22.$objectChanged = 1; } var$24 = $var14.$dataWatcher; $var13 = var$24.$watchedObjects; jl_Integer_ensureIntegerCache(); var$21 = jl_Integer_integerCache.data[138]; if (var$21 === null) { $var13 = $var13.$elementData.data[0]; while ($var13 !== null && $var13.$key !== null) { $var13 = $var13.$next3; } } else { var$14 = var$21.$value0; var$16 = $var13.$elementData.data; $var13 = var$16[var$14 & (var$16.length - 1 | 0)]; while ($var13 !== null) { if ($var13.$origKeyHash == var$14) { var$23 = $var13.$key; if (var$21 !== var$23 && !jl_Integer_equals(var$21, var$23) ? 0 : 1) break; } $var13 = $var13.$next3; } } ($var13 === null ? null : $var13.$value1).$watched = 1; var$24.$objectChanged = 1; $par6 = nms_World_spawnEntityInWorld($par1World, $var14); $var13 = $par1World.$entityList; ju_HashMap_putImpl($var13.$backingMap, $var14, $var13); if (!$par6) { $var13 = $par1World.$entitySpawnQueue; ju_HashMap_putImpl($var13.$backingMap, $var14, $var13); } $par6 = $var10.$stackSize - 1 | 0; $var10.$stackSize = $par6; if ($par6 <= 0) { $par5EntityPlayer = $par5EntityPlayer.$inventory; $par6 = $par5EntityPlayer.$currentItem; $var14 = null; var$16 = $par5EntityPlayer.$mainInventory; var$11 = var$16.data.length; if ($par6 >= var$11) { $par6 = $par6 - var$11 | 0; var$16 = $par5EntityPlayer.$armorInventory; } var$16.data[$par6] = $var14; } $par6 = $var12 - 1 | 0; var$11 = 2; $ptr = 6; continue main; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par6, var$11); if ($rt_suspending()) { break main; } $par6 = $this.$blockID; $ptr = 5; case 5: nms_World_func_96440_m($par1World, $par2, $par3, $par4, $par6); if ($rt_suspending()) { break main; } return 1; case 6: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par6, var$11); if ($rt_suspending()) { break main; } $par6 = $this.$blockID; $ptr = 7; case 7: nms_World_func_96440_m($par1World, $par2, $par3, $par4, $par6); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var14, var$11, $var10, $var12, var$14, $var13, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, $ptr); }, nms_BlockCauldron_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_cauldron.$itemID0; }, nms_BlockCauldron_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Item_$callClinit(); return nms_Item_cauldron.$itemID0; }, nms_BlockCauldron_hasComparatorInputOverride = $this => { return 1; }, nms_BlockCauldron_getComparatorInputOverride = ($this, $par1World, $par2, $par3, $par4, $par5) => { return nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); }, nms_BlockEndPortal = $rt_classWithoutFields(nms_BlockContainer), nms_BlockEndPortal_bossDefeated = 0, nms_BlockEndPortal__init_0 = ($this, $par1, $par2Material) => { nms_Block__init_($this, $par1, $par2Material); $this.$isBlockContainer = 1; nms_Block_lightValue.data[$this.$blockID] = 15; }, nms_BlockEndPortal__init_ = (var_0, var_1) => { let var_2 = new nms_BlockEndPortal(); nms_BlockEndPortal__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockEndPortal_createNewTileEntity = ($this, $par1World) => { $par1World = new nms_TileEntityEndPortal; nms_TileEntity_$callClinit(); $par1World.$blockMetadata = (-1); return $par1World; }, nms_BlockEndPortal_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.0625; $this.$maxZ0 = 1.0; }, nms_BlockEndPortal_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return !$par5 ? nms_Block_shouldSideBeRendered($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) : 0; }, nms_BlockEndPortal_addCollisionBoxesToList = ($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity) => { return; }, nms_BlockEndPortal_isOpaqueCube = $this => { return 0; }, nms_BlockEndPortal_renderAsNormalBlock = $this => { return 0; }, nms_BlockEndPortal_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockEndPortal_onEntityCollidedWithBlock = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5Entity = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par5Entity.$ridingEntity === null && $par5Entity.$riddenByEntity === null && !$par1World.$isRemote) { $par2 = 1; $ptr = 1; continue main; } return; case 1: $par5Entity.$travelToDimension($par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Entity, $ptr); }, nms_BlockEndPortal_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let var$6, var$7, $var6, $var8, $var10, $var12, $var14, $var16, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $par2; var$7 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var6 = var$6 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7; $var8 = $par3 + 0.800000011920929; var$6 = $par4; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$7; $var10 = var$6 + Long_lo(Long_shru(var$7, 24)) / 1.6777216E7; $var12 = 0.0; $var14 = 0.0; $var16 = 0.0; $par5Random = $rt_s(1479); $par3 = 0; var$14 = $par1World.$worldAccesses; $par2 = $rt_compare($par3, var$14.$size0); if ($par2 >= 0) return; if ($par3 >= 0 && $par2 < 0) { var$14 = var$14.$array.data[$par3]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 1: nms_RenderGlobal_doSpawnParticle(var$14, $par5Random, $var6, $var8, $var10, $var12, $var14, $var16); if ($rt_suspending()) { break main; } $par3 = $par3 + 1 | 0; var$14 = $par1World.$worldAccesses; $par2 = $rt_compare($par3, var$14.$size0); if ($par2 >= 0) return; if ($par3 >= 0 && $par2 < 0) { var$14 = var$14.$array.data[$par3]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, var$6, var$7, $var6, $var8, $var10, $var12, $var14, $var16, var$14, $ptr); }, nms_BlockEndPortal_getRenderType = $this => { return (-1); }, nms_BlockEndPortal_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!nms_BlockEndPortal_bossDefeated && $par1World.$provider.$dimensionId) { var$5 = 0; var$6 = 0; var$7 = 3; $ptr = 1; continue main; } return; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, var$5, var$6, var$7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, $ptr); }, nms_BlockEndPortal_idPicked = ($this, $par1World, $par2, $par3, $par4) => { return 0; }, nms_BlockEndPortal_registerIcons = ($this, $par1IconRegister) => { $this.$blockIcon = $par1IconRegister.$registerIcon($rt_s(1455), 1); }; function nms_BlockEndPortalFrame() { let a = this; nms_Block.call(a); a.$field_94400_a = null; a.$field_94399_b = null; } let nms_BlockEndPortalFrame__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); }, nms_BlockEndPortalFrame__init_ = var_0 => { let var_1 = new nms_BlockEndPortalFrame(); nms_BlockEndPortalFrame__init_0(var_1, var_0); return var_1; }, nms_BlockEndPortalFrame_getIcon = ($this, $par1, $par2) => { let var$3; if ($par1 == 1) var$3 = $this.$field_94400_a; else if ($par1) var$3 = $this.$blockIcon; else { nms_Block_$callClinit(); var$3 = nms_Block_whiteStone.$getIcon($par1, 0); } return var$3; }, nms_BlockEndPortalFrame_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2998)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2999)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$field_94400_a = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3102)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$field_94399_b = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockEndPortalFrame_isOpaqueCube = $this => { return 0; }, nms_BlockEndPortalFrame_getRenderType = $this => { return 26; }, nms_BlockEndPortalFrame_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.8125; $this.$maxZ0 = 1.0; }, nms_BlockEndPortalFrame_addCollisionBoxesToList = ($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity) => { let var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var8, var$20, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var8 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par7Entity = $thread.pop();$par6List = $thread.pop();$par5AxisAlignedBB = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.8125; $this.$maxZ0 = 1.0; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$9 = $par2; var$10 = var$9 + $this.$minX0; var$11 = $par3; var$12 = var$11 + $this.$minY0; var$13 = $par4; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; var$18 = var$8.$nextPoolIndex; $par7Entity = var$8.$listAABB; $var8 = $par7Entity.$size0; var$20 = $rt_compare(var$18, $var8); if (var$20 >= 0) { var$21 = new nms_AxisAlignedBB; var$21.$minX = var$10; var$21.$minY = var$12; var$21.$minZ = var$14; var$21.$maxX = var$15; var$21.$maxY = var$16; var$21.$maxZ = var$17; ju_ArrayList_ensureCapacity($par7Entity, $var8 + 1 | 0); var$22 = $par7Entity.$array.data; var$18 = $par7Entity.$size0; $par7Entity.$size0 = var$18 + 1 | 0; var$22[var$18] = var$21; $par7Entity.$modCount = $par7Entity.$modCount + 1 | 0; } else if (var$18 >= 0 && var$20 < 0) { var$21 = $par7Entity.$array.data[var$18]; var$21.$minX = var$10; var$21.$minY = var$12; var$21.$minZ = var$14; var$21.$maxX = var$15; var$21.$maxY = var$16; var$21.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, var$21)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$22 = $par6List.$array.data; var$18 = $par6List.$size0; $par6List.$size0 = var$18 + 1 | 0; var$22[var$18] = var$21; $par6List.$modCount = $par6List.$modCount + 1 | 0; } if (!(nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 4) ? 0 : 1) { $this.$minX0 = 0.3125; $this.$minY0 = 0.8125; $this.$minZ0 = 0.3125; $this.$maxX0 = 0.6875; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.6875; $par7Entity = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$12 = var$11 + $this.$minY0; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$9 = var$11 + $this.$maxY0; var$11 = var$13 + $this.$maxZ0; $par4 = $par7Entity.$nextPoolIndex; var$8 = $par7Entity.$listAABB; $par3 = var$8.$size0; $par2 = $rt_compare($par4, $par3); if ($par2 >= 0) { $par1World = new nms_AxisAlignedBB; $par1World.$minX = var$10; $par1World.$minY = var$12; $par1World.$minZ = var$14; $par1World.$maxX = var$15; $par1World.$maxY = var$9; $par1World.$maxZ = var$11; ju_ArrayList_ensureCapacity(var$8, $par3 + 1 | 0); var$22 = var$8.$array.data; $par3 = var$8.$size0; var$8.$size0 = $par3 + 1 | 0; var$22[$par3] = $par1World; var$8.$modCount = var$8.$modCount + 1 | 0; } else if ($par4 >= 0 && $par2 < 0) { $par1World = var$8.$array.data[$par4]; $par1World.$minX = var$10; $par1World.$minY = var$12; $par1World.$minZ = var$14; $par1World.$maxX = var$15; $par1World.$maxY = var$9; $par1World.$maxZ = var$11; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } $par7Entity.$nextPoolIndex = $par7Entity.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par1World)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$22 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$22[$par3] = $par1World; $par6List.$modCount = $par6List.$modCount + 1 | 0; } } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.8125; $this.$maxZ0 = 1.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var8, var$20, var$21, var$22, $ptr); }, nms_BlockEndPortalFrame_idDropped = ($this, $par1, $par2Random, $par3) => { return 0; }, nms_BlockEndPortalFrame_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, $var7, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par5EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 0.5; $var7 = var$7 | 0; if (var$7 < $var7) $var7 = $var7 - 1 | 0; $var7 = (($var7 & 3) + 2 | 0) % 4 | 0; var$9 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, var$9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, $var7, var$9, $ptr); }, nms_BlockEndPortalFrame_hasComparatorInputOverride = $this => { return 1; }, nms_BlockEndPortalFrame_getComparatorInputOverride = ($this, $par1World, $par2, $par3, $par4, $par5) => { return !(!(nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 4) ? 0 : 1) ? 0 : 15; }, nms_BlockDragonEgg = $rt_classWithoutFields(nms_Block), nms_BlockDragonEgg__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_dragonEgg); $this.$minX0 = 0.0625; $this.$minY0 = 0.0; $this.$minZ0 = 0.0625; $this.$maxX0 = 0.9375; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.9375; }, nms_BlockDragonEgg__init_ = var_0 => { let var_1 = new nms_BlockDragonEgg(); nms_BlockDragonEgg__init_0(var_1, var_0); return var_1; }, nms_BlockDragonEgg_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { return; }, nms_BlockDragonEgg_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { return; }, nms_BlockDragonEgg_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockDragonEgg_teleportNearby($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $ptr); }, nms_BlockDragonEgg_onBlockClicked = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockDragonEgg_teleportNearby($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $ptr); }, nms_BlockDragonEgg_teleportNearby = ($this, $par1World, $par2, $par3, $par4) => { let $var5, var$6, var$7, $var6, $var7, $var8, var$11, var$12, var$13, $var9, $var10, var$16, var$17, $var11, $var13, $var14, $var15, $var16, $var18, $var20, var$25, var$26, var$27, var$28, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();$var20 = $thread.pop();$var18 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (nms_World_getBlockId($par1World, $par2, $par3, $par4) == $this.$blockID) { $var5 = 0; while (true) { if ($var5 >= 1000) break a; var$6 = $par1World.$rand0; var$7 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var6 = $par2 + Long_lo(Long_shr(Long_mul(Long_fromInt(16), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31)) | 0; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var6 = $var6 - Long_lo(Long_shr(Long_mul(Long_fromInt(16), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31)) | 0; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var7 = $par3 + Long_lo(Long_shr(Long_mul(Long_fromInt(8), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31)) | 0; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var7 = $var7 - Long_lo(Long_shr(Long_mul(Long_fromInt(8), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31)) | 0; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var8 = $par4 + Long_lo(Long_shr(Long_mul(Long_fromInt(16), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31)) | 0; var$11 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$11; $var8 = $var8 - Long_lo(Long_shr(Long_mul(Long_fromInt(16), Long_fromInt(Long_lo(Long_shru(var$11, 17)))), 31)) | 0; if (!nms_World_getBlockId($par1World, $var6, $var7, $var8)) { if (!$par1World.$isRemote) { var$12 = $this.$blockID; var$13 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var5 = 2; $ptr = 1; continue main; } $var9 = 128; $var10 = 0; var$12 = 22; var$16 = 21; $var5 = 24; while ($var10 < $var9) { var$6 = $par1World.$rand0; var$17 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$17; var$11 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$17, var$12))), 27); var$7 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var11 = Long_toNumber(Long_add(var$11, Long_fromInt(Long_lo(Long_shru(var$7, var$16))))) * 1.1102230246251565E-16; var$11 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$11; $var13 = (Long_lo(Long_shru(var$11, $var5)) / 1.6777216E7 - 0.5) * 0.20000000298023224; var$11 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$11; $var14 = (Long_lo(Long_shru(var$11, $var5)) / 1.6777216E7 - 0.5) * 0.20000000298023224; var$11 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$11; $var15 = (Long_lo(Long_shru(var$11, $var5)) / 1.6777216E7 - 0.5) * 0.20000000298023224; $var16 = $var6 + ($par2 - $var6 | 0) * $var11; var$7 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$7, var$12))), 27); var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var16 = $var16 + (Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$7, var$16))))) * 1.1102230246251565E-16 - 0.5) * 1.0 + 0.5; $var18 = $var7 + ($par3 - $var7 | 0) * $var11; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$7, var$12))), 27); var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var18 = $var18 + Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$7, var$16))))) * 1.1102230246251565E-16 * 1.0 - 0.5; $var11 = $var8 + ($par4 - $var8 | 0) * $var11; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$7, var$12))), 27); var$11 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$11; $var20 = $var11 + (Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$11, var$16))))) * 1.1102230246251565E-16 - 0.5) * 1.0 + 0.5; var$25 = $rt_s(1455); var$26 = $var13; $var11 = $var14; var$27 = $var15; var$13 = 0; var$6 = $par1World.$worldAccesses; var$28 = $rt_compare(var$13, var$6.$size0); if (var$28 < 0) { if (var$13 >= 0 && var$28 < 0) { var$6 = var$6.$array.data[var$13]; $ptr = 3; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; } return; } $var5 = $var5 + 1 | 0; } } } return; case 1: nms_World_setBlock($par1World, $var6, $var7, $var8, var$12, var$13, $var5); if ($rt_suspending()) { break main; } var$12 = 0; var$13 = 0; $var5 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$12, var$13, $var5); if ($rt_suspending()) { break main; } return; case 3: nms_RenderGlobal_doSpawnParticle(var$6, var$25, $var16, $var18, $var20, var$26, $var11, var$27); if ($rt_suspending()) { break main; } var$13 = var$13 + 1 | 0; while (true) { var$6 = $par1World.$worldAccesses; var$28 = $rt_compare(var$13, var$6.$size0); if (var$28 < 0) { if (var$13 >= 0 && var$28 < 0) { var$6 = var$6.$array.data[var$13]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var10 = $var10 + 1 | 0; if ($var10 >= $var9) break; var$6 = $par1World.$rand0; var$17 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$17; var$11 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$17, var$12))), 27); var$7 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var11 = Long_toNumber(Long_add(var$11, Long_fromInt(Long_lo(Long_shru(var$7, var$16))))) * 1.1102230246251565E-16; var$11 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$11; $var13 = (Long_lo(Long_shru(var$11, $var5)) / 1.6777216E7 - 0.5) * 0.20000000298023224; var$11 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$11; $var14 = (Long_lo(Long_shru(var$11, $var5)) / 1.6777216E7 - 0.5) * 0.20000000298023224; var$11 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$11; $var15 = (Long_lo(Long_shru(var$11, $var5)) / 1.6777216E7 - 0.5) * 0.20000000298023224; $var16 = $var6 + ($par2 - $var6 | 0) * $var11; var$7 = Long_and(Long_add(Long_mul(var$11, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$7, var$12))), 27); var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var16 = $var16 + (Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$7, var$16))))) * 1.1102230246251565E-16 - 0.5) * 1.0 + 0.5; $var18 = $var7 + ($par3 - $var7 | 0) * $var11; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$7, var$12))), 27); var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var18 = $var18 + Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$7, var$16))))) * 1.1102230246251565E-16 * 1.0 - 0.5; $var11 = $var8 + ($par4 - $var8 | 0) * $var11; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; var$17 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$7, var$12))), 27); var$11 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$11; $var20 = $var11 + (Long_toNumber(Long_add(var$17, Long_fromInt(Long_lo(Long_shru(var$11, var$16))))) * 1.1102230246251565E-16 - 0.5) * 1.0 + 0.5; var$25 = $rt_s(1455); var$26 = $var13; $var11 = $var14; var$27 = $var15; var$13 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, var$6, var$7, $var6, $var7, $var8, var$11, var$12, var$13, $var9, $var10, var$16, var$17, $var11, $var13, $var14, $var15, $var16, $var18, $var20, var$25, var$26, var$27, var$28, $ptr); }, nms_BlockDragonEgg_isOpaqueCube = $this => { return 0; }, nms_BlockDragonEgg_renderAsNormalBlock = $this => { return 0; }, nms_BlockDragonEgg_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return 1; }, nms_BlockDragonEgg_getRenderType = $this => { return 27; }, nms_BlockDragonEgg_idPicked = ($this, $par1World, $par2, $par3, $par4) => { return 0; }; function nms_BlockRedstoneLight() { nms_Block.call(this); this.$powered = 0; } let nms_BlockRedstoneLight__init_0 = ($this, $par1, $par2) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_redstoneLight); $this.$powered = $par2; if ($par2) nms_Block_lightValue.data[$this.$blockID] = 15; }, nms_BlockRedstoneLight__init_ = (var_0, var_1) => { let var_2 = new nms_BlockRedstoneLight(); nms_BlockRedstoneLight__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockRedstoneLight_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1World.$isRemote) { if ($this.$powered) { $ptr = 1; continue main; } if (!$this.$powered) { $ptr = 2; continue main; } } return; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 && !$this.$powered) { $ptr = 2; continue main; } return; case 2: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!var$5) return; nms_Block_$callClinit(); var$6 = nms_Block_redstoneLampActive.$blockID; var$5 = 0; var$7 = 2; $ptr = 3; case 3: nms_World_setBlock($par1World, $par2, $par3, $par4, var$6, var$5, var$7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, $ptr); }, nms_BlockRedstoneLight_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1World.$isRemote) { if ($this.$powered) { $ptr = 1; continue main; } if (!$this.$powered) { $ptr = 2; continue main; } } return; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 && !$this.$powered) { $ptr = 2; continue main; } return; case 2: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par5 = $tmp; if (!$par5) return; nms_Block_$callClinit(); var$6 = nms_Block_redstoneLampActive.$blockID; $par5 = 0; var$7 = 2; $ptr = 3; case 3: nms_World_setBlock($par1World, $par2, $par3, $par4, var$6, $par5, var$7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, $ptr); }, nms_BlockRedstoneLight_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_redstoneLampIdle.$blockID; }, nms_BlockRedstoneLight_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Block_$callClinit(); return nms_Block_redstoneLampIdle.$blockID; }, nms_BlockWoodSlab = $rt_classWithoutFields(nms_BlockHalfSlab), nms_BlockWoodSlab_woodType = null, nms_BlockWoodSlab__init_0 = ($this, $par1, $par2) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_wood); $this.$isDoubleSlab = $par2; if ($par2) nms_Block_opaqueCubeLookup.data[$par1] = 1; else { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.5; $this.$maxZ0 = 1.0; } nms_Block_lightOpacity.data[$this.$blockID] = 255; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockWoodSlab__init_ = (var_0, var_1) => { let var_2 = new nms_BlockWoodSlab(); nms_BlockWoodSlab__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockWoodSlab_getIcon = ($this, $par1, $par2) => { nms_Block_$callClinit(); return nms_Block_planks.$getIcon($par1, $par2 & 7); }, nms_BlockWoodSlab_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_woodSingleSlab.$blockID; }, nms_BlockWoodSlab_getFullSlabName = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; if (!($par1 >= 0 && $par1 < nms_BlockWoodSlab_woodType.data.length)) $par1 = 0; var$2 = $this.$unlocalizedName; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(2525)); var$4 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$2); var$2 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$3 = nms_BlockWoodSlab_woodType.data[$par1]; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, var$2); var$4 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$4, var$4 + 1 | 0); var$9.$buffer.data[var$4] = 46; $par1 = var$9.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, $par1, var$3); var$2 = new jl_String; var$5 = var$9.$buffer; var$6 = var$5.data; var$4 = var$9.$length0; var$7 = var$6.length; if (var$4 >= 0 && var$4 <= (var$7 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4); return var$2; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$2); $rt_throw(var$2); }, nms_BlockWoodSlab_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let $var4, var$5, var$6; a: { nms_Block_$callClinit(); if ($par1 != nms_Block_woodDoubleSlab.$blockID) { $var4 = 0; while (true) { if ($var4 >= 4) break a; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = $var4; if ($var4 < 0) $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$5 = $par3List.$array.data; var$6 = $par3List.$size0; $par3List.$size0 = var$6 + 1 | 0; var$5[var$6] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } } } }, nms_BlockWoodSlab_registerIcons = ($this, $par1IconRegister) => { return; }, nms_BlockWoodSlab__clinit_ = () => { nms_BlockWoodSlab_woodType = $rt_wrapArray(jl_String, [$rt_s(72), $rt_s(73), $rt_s(74), $rt_s(75)]); }; function nms_BlockCocoa() { nms_BlockDirectional.call(this); this.$iconArray1 = null; } let nms_BlockCocoa__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_plants); $this.$needsRandomTick = 1; }, nms_BlockCocoa__init_0 = var_0 => { let var_1 = new nms_BlockCocoa(); nms_BlockCocoa__init_(var_1, var_0); return var_1; }, nms_BlockCocoa_getIcon = ($this, $par1, $par2) => { return $this.$iconArray1.data[2]; }, nms_BlockCocoa_canBlockStay = ($this, $par1World, $par2, $par3, $par4) => { let $var5, $var6; $var5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 3; $par2 = $par2 + nms_Direction_offsetX.data[$var5] | 0; $var5 = $par4 + nms_Direction_offsetZ.data[$var5] | 0; $var6 = nms_World_getBlockId($par1World, $par2, $par3, $var5); nms_Block_$callClinit(); return $var6 == nms_Block_wood.$blockID && (nms_World_getBlockMetadata($par1World, $par2, $par3, $var5) & 3) == 3 ? 1 : 0; }, nms_BlockCocoa_getRenderType = $this => { return 28; }, nms_BlockCocoa_renderAsNormalBlock = $this => { return 0; }, nms_BlockCocoa_isOpaqueCube = $this => { return 0; }, nms_BlockCocoa_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; nms_BlockCocoa_setBlockBoundsBasedOnState($this, $par1World, $par2, $par3, $par4); $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par2 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par4 = var$11.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par4 + 1 | 0); var$13 = var$11.$array.data; $par3 = var$11.$size0; var$11.$size0 = $par3 + 1 | 0; var$13[$par3] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$12 = var$11.$array.data[$par2]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockCocoa_getSelectedBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; nms_BlockCocoa_setBlockBoundsBasedOnState($this, $par1World, $par2, $par3, $par4); $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par2 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par4 = var$11.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par4 + 1 | 0); var$13 = var$11.$array.data; $par3 = var$11.$size0; var$11.$size0 = $par3 + 1 | 0; var$13[$par3] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$12 = var$11.$array.data[$par2]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockCocoa_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6, $var8, $var9, var$9, $var10, var$11, var$12, var$13; a: { $var5 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); $var6 = $var5 & 3; $par3 = (($var5 & 12) >> 2) * 2 | 0; $var8 = 4 + $par3 | 0; $var9 = 5 + $par3 | 0; var$9 = $var8; $var10 = var$9 / 2.0; switch ($var6) { case 0: break; case 1: var$11 = (12.0 - $var9) / 16.0; var$12 = (8.0 - $var10) / 16.0; var$9 = (1.0 + var$9) / 16.0; $var10 = (8.0 + $var10) / 16.0; $this.$minX0 = 0.0625; $this.$minY0 = var$11; $this.$minZ0 = var$12; $this.$maxX0 = var$9; $this.$maxY0 = 0.75; $this.$maxZ0 = $var10; break a; case 2: var$12 = (8.0 - $var10) / 16.0; var$11 = (12.0 - $var9) / 16.0; $var10 = (8.0 + $var10) / 16.0; var$9 = (1.0 + var$9) / 16.0; $this.$minX0 = var$12; $this.$minY0 = var$11; $this.$minZ0 = 0.0625; $this.$maxX0 = $var10; $this.$maxY0 = 0.75; $this.$maxZ0 = var$9; break a; case 3: var$12 = (15.0 - var$9) / 16.0; var$13 = (12.0 - $var9) / 16.0; var$9 = (8.0 - $var10) / 16.0; $var10 = (8.0 + $var10) / 16.0; $this.$minX0 = var$12; $this.$minY0 = var$13; $this.$minZ0 = var$9; $this.$maxX0 = 0.9375; $this.$maxY0 = 0.75; $this.$maxZ0 = $var10; break a; default: break a; } var$11 = (8.0 - $var10) / 16.0; var$12 = (12.0 - $var9) / 16.0; var$9 = (15.0 - var$9) / 16.0; $var10 = (8.0 + $var10) / 16.0; $this.$minX0 = var$11; $this.$minY0 = var$12; $this.$minZ0 = var$9; $this.$maxX0 = $var10; $this.$maxY0 = 0.75; $this.$maxZ0 = 0.9375; } }, nms_BlockCocoa_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, $var7, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par5EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 0.5; $var7 = var$7 | 0; if (var$7 < $var7) $var7 = $var7 - 1 | 0; $var7 = (($var7 & 3) + 0 | 0) % 4 | 0; var$9 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, var$9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, $var7, var$9, $ptr); }, nms_BlockCocoa_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { if (!($par5 != 1 && $par5)) $par5 = 2; return nms_Direction_rotateOpposite.data[nms_Direction_facingToDirection.data[$par5]]; }, nms_BlockCocoa_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nms_BlockCocoa_canBlockStay($this, $par1World, $par2, $par3, $par4)) return; $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 1; case 1: nms_BlockCocoa_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, var$6); if ($rt_suspending()) { break main; } var$6 = 0; var$8 = 0; $par5 = 2; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$6, var$8, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, $ptr); }, nms_BlockCocoa_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $var9, $var10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = ($par5 & 12) >> 2; $var9 = 1; if ($var8 >= 2) $var9 = 3; $var10 = 0; if ($var10 >= $var9) return; var$11 = new nms_ItemStack; nms_Item_$callClinit(); var$12 = nms_Item_dyePowder; nms_ItemStack_$callClinit(); var$11.$itemID = var$12.$itemID0; var$11.$stackSize = 1; var$11.$itemDamage = 3; $ptr = 1; case 1: nms_Block_dropBlockAsItem_do($this, $par1World, $par2, $par3, $par4, var$11); if ($rt_suspending()) { break main; } $var10 = $var10 + 1 | 0; if ($var10 >= $var9) return; var$11 = new nms_ItemStack; nms_Item_$callClinit(); var$12 = nms_Item_dyePowder; nms_ItemStack_$callClinit(); var$11.$itemID = var$12.$itemID0; var$11.$stackSize = 1; var$11.$itemDamage = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $var8, $var9, $var10, var$11, var$12, $ptr); }, nms_BlockCocoa_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Item_$callClinit(); return nms_Item_dyePowder.$itemID0; }, nms_BlockCocoa_getDamageValue = ($this, $par1World, $par2, $par3, $par4) => { return 3; }, nms_BlockCocoa_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $this.$iconArray1 = $rt_createArray(nms_Icon, 3); $var2 = 0; a: { b: { while (true) { var$3 = $this.$iconArray1.data; if ($var2 >= var$3.length) break; var$4 = $this.$textureName; if (var$4 === null) { var$5 = $this.$blockID; var$4 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10); var$7 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$7, var$7 + 1 | 0); var$6.$buffer.data[var$7] = 95; var$5 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$5, var$4); var$4 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; var$7 = var$6.$length0; var$10 = var$9.length; if (var$7 < 0) break b; if (var$7 > (var$10 - 0 | 0)) break b; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$7); } var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, var$4); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3053)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $var2, 10); var$4 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; var$10 = var$6.$length0; var$5 = var$9.length; if (var$10 < 0) break a; if (var$10 > (var$5 - 0 | 0)) break a; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$10); var$3[$var2] = $par1IconRegister.$registerIcon(var$4, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockEnderChest = $rt_classWithoutFields(nms_BlockContainer), nms_BlockEnderChest__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); $this.$isBlockContainer = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; $this.$minX0 = 0.0625; $this.$minY0 = 0.0; $this.$minZ0 = 0.0625; $this.$maxX0 = 0.9375; $this.$maxY0 = 0.875; $this.$maxZ0 = 0.9375; }, nms_BlockEnderChest__init_0 = var_0 => { let var_1 = new nms_BlockEnderChest(); nms_BlockEnderChest__init_(var_1, var_0); return var_1; }, nms_BlockEnderChest_isOpaqueCube = $this => { return 0; }, nms_BlockEnderChest_renderAsNormalBlock = $this => { return 0; }, nms_BlockEnderChest_getRenderType = $this => { return 22; }, nms_BlockEnderChest_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Block_$callClinit(); return nms_Block_obsidian.$blockID; }, nms_BlockEnderChest_quantityDropped = ($this, $par1Random) => { return 8; }, nms_BlockEnderChest_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let $var7, var$8, var$9, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = 0; var$8 = $par5EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 0.5; var$9 = var$8 | 0; if (var$8 < var$9) var$9 = var$9 - 1 | 0; $var8 = var$9 & 3; if (!$var8) $var7 = 2; if ($var8 == 1) $var7 = 5; if ($var8 == 2) $var7 = 3; if ($var8 == 3) $var7 = 4; $var8 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, $var8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, $var7, var$8, var$9, $var8, $ptr); }, nms_BlockEnderChest_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, $var11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = $par5EntityPlayer.$theInventoryEnderChest; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var11 = $tmp; $var11 = $var11; if ($var10 !== null && $var11 !== null) { $par2 = nms_World_getBlockId($par1World, $par2, $par3 + 1 | 0, $par4); nms_Block_$callClinit(); var$12 = nms_Block_blocksList.data[$par2]; if (var$12 === null) $par2 = 0; else { var$13 = var$12.$blockMaterial; $par2 = !var$13.$isTranslucent ? var$13.$blocksMovement() : 0; $par2 = $par2 && var$12.$renderAsNormalBlock() && !var$12.$canProvidePower() ? 1 : 0; } if ($par2) return 1; if ($par1World.$isRemote) return 1; $var10.$associatedChest = $var11; $var11 = $par5EntityPlayer.$mc4; $par1World = new nms_GuiChest; var$12 = $par5EntityPlayer.$inventory; nms_GuiChest_$callClinit(); var$13 = new nms_ContainerChest; $ptr = 2; continue main; } return 1; case 2: nms_ContainerChest__init_(var$13, var$12, $var10); if ($rt_suspending()) { break main; } nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $par5EntityPlayer = new ju_ArrayList; jl_Object__init_($par5EntityPlayer); $par5EntityPlayer.$array = $rt_createArray(jl_Object, 10); $par1World.$buttonList = $par5EntityPlayer; $par1World.$allowUserInput = 0; $par1World.$selectedButton = null; $par1World.$eventButton = 0; $par1World.$field_85043_c = Long_ZERO; $par1World.$field_92018_d = 0; $par1World.$xSize = 176; $par1World.$ySize = 166; $par5EntityPlayer = new ju_HashSet; var$14 = new ju_HashMap; jl_Object__init_(var$14); $par2 = ju_HashMap_calculateCapacity(16); var$14.$elementCount = 0; var$15 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$16 = var$15.data; var$14.$elementData = var$15; var$14.$loadFactor = 0.75; var$14.$threshold = var$16.length * 0.75 | 0; $par5EntityPlayer.$backingMap = var$14; $par1World.$field_94077_p = $par5EntityPlayer; $par1World.$inventorySlots0 = var$13; $par1World.$field_94068_E = 1; $par1World.$upperChestInventory = var$12; $par1World.$lowerChestInventory = $var10; $par1World.$allowUserInput = 0; $par2 = $var10.$slotsCount / 9 | 0; $par1World.$inventoryRows = $par2; $par1World.$ySize = 114 + ($par2 * 18 | 0) | 0; $ptr = 3; case 3: nms_Minecraft_displayGuiScreen($var11, $par1World); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, $var11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_BlockEnderChest_createNewTileEntity = ($this, $par1World) => { $par1World = new nms_TileEntityEnderChest; nms_TileEntity_$callClinit(); $par1World.$blockMetadata = (-1); return $par1World; }, nms_BlockEnderChest_randomDisplayTick = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var9, $var19, $var20, var$18, $var11, var$20, $var7, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var7 = $thread.pop();var$20 = $thread.pop();$var11 = $thread.pop();var$18 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var9 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; var$7 = $par3; var$8 = 24; var$9 = 17; var$10 = $par4 + 0.5; var$11 = $par2 + 0.5; var$12 = Long_fromInt(2); while ($var6 < 3) { var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; var$14 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$14; $var9 = var$7 + Long_lo(Long_shru(var$14, var$8)) / 1.6777216E7; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$14; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$14; $var19 = (Long_lo(Long_shr(Long_mul(var$12, Long_fromInt(Long_lo(Long_shru(var$14, var$9)))), 31)) * 2 | 0) - 1 | 0; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$14; $var20 = (Long_lo(Long_shr(Long_mul(var$12, Long_fromInt(Long_lo(Long_shru(var$14, var$9)))), 31)) * 2 | 0) - 1 | 0; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$14; var$13 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; var$18 = (Long_lo(Long_shru(var$13, var$8)) / 1.6777216E7 - 0.5) * 0.125; var$14 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$14; $var11 = var$10 + 0.25 * $var20; var$13 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; var$20 = Long_lo(Long_shru(var$13, var$8)) / 1.6777216E7 * 1.0 * $var20; $var7 = var$11 + 0.25 * $var19; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; var$22 = Long_lo(Long_shru(var$13, var$8)) / 1.6777216E7 * 1.0 * $var19; var$23 = $rt_s(1455); $par2 = 0; var$24 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$24.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$24 = var$24.$array.data[$par2]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6 = $var6 + 1 | 0; } return; case 1: nms_RenderGlobal_doSpawnParticle(var$24, var$23, $var7, $var9, $var11, var$22, var$18, var$20); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; while (true) { var$24 = $par1World.$worldAccesses; $par3 = $rt_compare($par2, var$24.$size0); if ($par3 < 0) { if ($par2 >= 0 && $par3 < 0) { var$24 = var$24.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var6 = $var6 + 1 | 0; if ($var6 >= 3) break; var$13 = Long_and(Long_add(Long_mul($par5Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; var$14 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$14; $var9 = var$7 + Long_lo(Long_shru(var$14, var$8)) / 1.6777216E7; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$14; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$14; $var19 = (Long_lo(Long_shr(Long_mul(var$12, Long_fromInt(Long_lo(Long_shru(var$14, var$9)))), 31)) * 2 | 0) - 1 | 0; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$14; $var20 = (Long_lo(Long_shr(Long_mul(var$12, Long_fromInt(Long_lo(Long_shru(var$14, var$9)))), 31)) * 2 | 0) - 1 | 0; var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$14; var$13 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; var$18 = (Long_lo(Long_shru(var$13, var$8)) / 1.6777216E7 - 0.5) * 0.125; var$14 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$14; $var11 = var$10 + 0.25 * $var20; var$13 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; var$20 = Long_lo(Long_shru(var$13, var$8)) / 1.6777216E7 * 1.0 * $var20; $var7 = var$11 + 0.25 * $var19; var$13 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5Random.$seed = var$13; var$22 = Long_lo(Long_shru(var$13, var$8)) / 1.6777216E7 * 1.0 * $var19; var$23 = $rt_s(1455); $par2 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var9, $var19, $var20, var$18, $var11, var$20, $var7, var$22, var$23, var$24, $ptr); }, nms_BlockEnderChest_registerIcons = ($this, $par1IconRegister) => { $this.$blockIcon = $par1IconRegister.$registerIcon($rt_s(2588), 1); }, nms_BlockTripWireSource = $rt_classWithoutFields(nms_Block), nms_BlockTripWireSource__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; $this.$needsRandomTick = 1; }, nms_BlockTripWireSource__init_0 = var_0 => { let var_1 = new nms_BlockTripWireSource(); nms_BlockTripWireSource__init_(var_1, var_0); return var_1; }, nms_BlockTripWireSource_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockTripWireSource_isOpaqueCube = $this => { return 0; }, nms_BlockTripWireSource_renderAsNormalBlock = $this => { return 0; }, nms_BlockTripWireSource_getRenderType = $this => { return 29; }, nms_BlockTripWireSource_canPlaceBlockOnSide = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8; a: { if ($par5 == 2) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $par2 = 1; break a; } } if ($par5 == 3) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $par2 = 1; break a; } } if ($par5 == 4) { var$6 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data[var$6]; if (var$7 === null) var$6 = 0; else { var$8 = var$7.$blockMaterial; var$6 = !var$8.$isTranslucent ? var$8.$blocksMovement() : 0; var$6 = var$6 && var$7.$renderAsNormalBlock() && !var$7.$canProvidePower() ? 1 : 0; } if (var$6) { $par2 = 1; break a; } } if ($par5 == 5) { $par2 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); $par1World = nms_Block_blocksList.data[$par2]; if ($par1World === null) $par2 = 0; else { var$7 = $par1World.$blockMaterial; $par2 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; $par2 = $par2 && $par1World.$renderAsNormalBlock() && !$par1World.$canProvidePower() ? 1 : 0; } if ($par2) { $par2 = 1; break a; } } $par2 = 0; } return $par2; }, nms_BlockTripWireSource_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7; var$5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { var$5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); var$6 = nms_Block_blocksList.data[var$5]; if (var$6 === null) var$5 = 0; else { var$7 = var$6.$blockMaterial; var$5 = !var$7.$isTranslucent ? var$7.$blocksMovement() : 0; var$5 = var$5 && var$6.$renderAsNormalBlock() && !var$6.$canProvidePower() ? 1 : 0; } if (var$5) $par2 = 1; else { $par2 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); $par1World = nms_Block_blocksList.data[$par2]; if ($par1World === null) $par2 = 0; else { var$6 = $par1World.$blockMaterial; $par2 = !var$6.$isTranslucent ? var$6.$blocksMovement() : 0; $par2 = $par2 && $par1World.$renderAsNormalBlock() && !$par1World.$canProvidePower() ? 1 : 0; } } } } return $par2; }, nms_BlockTripWireSource_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { let $var10; $var10 = 0; if ($par5 == 2 && nms_World_isBlockNormalCubeDefault($par1World, $par2, $par3, $par4 + 1 | 0, 1)) $var10 = 2; if ($par5 == 3 && nms_World_isBlockNormalCubeDefault($par1World, $par2, $par3, $par4 - 1 | 0, 1)) $var10 = 0; if ($par5 == 4 && nms_World_isBlockNormalCubeDefault($par1World, $par2 + 1 | 0, $par3, $par4, 1)) $var10 = 1; if ($par5 == 5 && nms_World_isBlockNormalCubeDefault($par1World, $par2 - 1 | 0, $par3, $par4, 1)) $var10 = 3; return $var10; }, nms_BlockTripWireSource_onPostBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $this.$blockID; var$7 = 0; var$8 = (-1); var$9 = 0; $ptr = 1; case 1: nms_BlockTripWireSource_func_72143_a($this, $par1World, $par2, $par3, $par4, var$6, $par5, var$7, var$8, var$9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, var$9, $ptr); }, nms_BlockTripWireSource_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var7, var$7, $var6, $var8, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();$var7 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par5 != $this.$blockID) { if (!nms_BlockTripWireSource_canPlaceBlockAt($this, $par1World, $par2, $par3, $par4)) { $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var7 = 0; var$7 = 1.0; $ptr = 1; continue main; } if (1) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var7 = $var6 & 3; $var8 = 0; $par5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var7 == 3) $var8 = 1; $par5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var7 == 1) $var8 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && !$var7) $var8 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var7 == 2) $var8 = 1; if ($var8) { $par5 = 0; var$7 = 1.0; $ptr = 3; continue main; } } } return; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, $var7); if ($rt_suspending()) { break main; } $par5 = 0; $var7 = 0; $var8 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var7, $var8); if ($rt_suspending()) { break main; } if (0) { $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var7 = $var6 & 3; $var8 = 0; $par5 = nms_World_getBlockId($par1World, $par2 - 1 | 0, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var7 == 3) $var8 = 1; $par5 = nms_World_getBlockId($par1World, $par2 + 1 | 0, $par3, $par4); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var7 == 1) $var8 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 - 1 | 0); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && !$var7) $var8 = 1; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4 + 1 | 0); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 === null) $par5 = 0; else { var$11 = var$10.$blockMaterial; $par5 = !var$11.$isTranslucent ? var$11.$blocksMovement() : 0; $par5 = $par5 && var$10.$renderAsNormalBlock() && !var$10.$canProvidePower() ? 1 : 0; } if (!$par5 && $var7 == 2) $var8 = 1; if ($var8) { $par5 = 0; var$7 = 1.0; $ptr = 3; continue main; } } return; case 3: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $var6, var$7, $par5); if ($rt_suspending()) { break main; } $var7 = 0; $var8 = 0; $par5 = 3; $ptr = 4; case 4: nms_World_setBlock($par1World, $par2, $par3, $par4, $var7, $var8, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var7, var$7, $var6, $var8, var$10, var$11, $ptr); }, nms_BlockTripWireSource_func_72143_a = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { let $var10, $var11, $var12, $var13, $var14, $var21, $var15, $var16, $var17, $var19, $var20, $var22, $var23, $var24, $var25, $var26, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var26 = $thread.pop();$var25 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var21 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = $par6 & 3; $var11 = ($par6 & 4) != 4 ? 0 : 1; $var12 = ($par6 & 8) != 8 ? 0 : 1; nms_Block_$callClinit(); $var13 = $par5 != nms_Block_tripWireSource.$blockID ? 0 : 1; $var14 = 0; $var21 = $par3 - 1 | 0; $var15 = nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $var21, $par4)], nms_World_getBlockMetadata($par1World, $par2, $var21, $par4)) ? 0 : 1; $var16 = nms_Direction_offsetX.data[$var10]; $var17 = nms_Direction_offsetZ.data[$var10]; $var19 = $rt_createIntArray(42).data; $var20 = 1; a: { while ($var20 < 42) { $var21 = $par2 + $rt_imul($var16, $var20) | 0; $var22 = $par4 + $rt_imul($var17, $var20) | 0; $var23 = nms_World_getBlockId($par1World, $var21, $par3, $var22); if ($var23 == nms_Block_tripWireSource.$blockID) { if ((nms_World_getBlockMetadata($par1World, $var21, $par3, $var22) & 3) == nms_Direction_rotateOpposite.data[$var10]) break a; $var20 = 0; break a; } if ($var23 != nms_Block_tripWire.$blockID && $var20 != $par8) { $var19[$var20] = (-1); $var13 = 0; } else { $var23 = $rt_compare($var20, $par8); $var24 = $var23 ? nms_World_getBlockMetadata($par1World, $var21, $par3, $var22) : $par9; $var25 = ($var24 & 8) == 8 ? 0 : 1; $var26 = ($var24 & 1) != 1 ? 0 : 1; $var13 = $var13 & ((($var24 & 2) != 2 ? 0 : 1) != $var15 ? 0 : 1); $var14 = $var14 | ($var25 && $var26 ? 1 : 0); $var19[$var20] = $var24; if (!$var23) $var13 = $var13 & $var25; } $var20 = $var20 + 1 | 0; } $var20 = 0; } $par6 = $var13 & ($var20 <= 1 ? 0 : 1); $par8 = $var14 & $par6; $par9 = (!$par6 ? 0 : 4) | (!$par8 ? 0 : 8); $var13 = $var10 | $par9; if ($var20 > 0) { $var21 = $par2 + $rt_imul($var16, $var20) | 0; $var22 = $par4 + $rt_imul($var17, $var20) | 0; $var23 = nms_Direction_rotateOpposite.data[$var10]; $par9 = $var23 | $par9; $var25 = 3; $ptr = 1; continue main; } nms_BlockTripWireSource_playSoundEffect($this, $par1World, $par2, $par3, $par4, $par6, $par8, $var11, $var12); if ($par5 > 0) { $par5 = 3; $ptr = 3; continue main; } b: { if ($var11 != $par6) { $var21 = 1; while (true) { if ($var21 >= $var20) break b; $var22 = $par2 + $rt_imul($var16, $var21) | 0; $var23 = $par4 + $rt_imul($var17, $var21) | 0; $var24 = $var19[$var21]; if ($var24 >= 0) { $par5 = !$par6 ? $var24 & (-5) : $var24 | 4; $par7 = 3; $ptr = 5; continue main; } $var21 = $var21 + 1 | 0; } } } return; case 1: nms_World_setBlockMetadataWithNotify($par1World, $var21, $par3, $var22, $par9, $var25); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_BlockTripWireSource_notifyNeighborOfChange($this, $par1World, $var21, $par3, $var22, $var23); if ($rt_suspending()) { break main; } nms_BlockTripWireSource_playSoundEffect($this, $par1World, $var21, $par3, $var22, $par6, $par8, $var11, $var12); nms_BlockTripWireSource_playSoundEffect($this, $par1World, $par2, $par3, $par4, $par6, $par8, $var11, $var12); if ($par5 > 0) { $par5 = 3; $ptr = 3; continue main; } c: { if ($var11 != $par6) { $var21 = 1; while (true) { if ($var21 >= $var20) break c; $var22 = $par2 + $rt_imul($var16, $var21) | 0; $var23 = $par4 + $rt_imul($var17, $var21) | 0; $var24 = $var19[$var21]; if ($var24 >= 0) { $par5 = !$par6 ? $var24 & (-5) : $var24 | 4; $par7 = 3; $ptr = 5; continue main; } $var21 = $var21 + 1 | 0; } } } return; case 3: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var13, $par5); if ($rt_suspending()) { break main; } if ($par7) { $ptr = 4; continue main; } c: { if ($var11 != $par6) { $var21 = 1; while (true) { if ($var21 >= $var20) break c; $var22 = $par2 + $rt_imul($var16, $var21) | 0; $var23 = $par4 + $rt_imul($var17, $var21) | 0; $var24 = $var19[$var21]; if ($var24 >= 0) { $par5 = !$par6 ? $var24 & (-5) : $var24 | 4; $par7 = 3; $ptr = 5; continue main; } $var21 = $var21 + 1 | 0; } } } return; case 4: nms_BlockTripWireSource_notifyNeighborOfChange($this, $par1World, $par2, $par3, $par4, $var10); if ($rt_suspending()) { break main; } d: { if ($var11 != $par6) { $var21 = 1; while (true) { if ($var21 >= $var20) break d; $var22 = $par2 + $rt_imul($var16, $var21) | 0; $var23 = $par4 + $rt_imul($var17, $var21) | 0; $var24 = $var19[$var21]; if ($var24 >= 0) { $par5 = !$par6 ? $var24 & (-5) : $var24 | 4; $par7 = 3; $ptr = 5; continue main; } $var21 = $var21 + 1 | 0; } } } return; case 5: nms_World_setBlockMetadataWithNotify($par1World, $var22, $par3, $var23, $par5, $par7); if ($rt_suspending()) { break main; } while (true) { $var21 = $var21 + 1 | 0; if ($var21 >= $var20) break; $var22 = $par2 + $rt_imul($var16, $var21) | 0; $var23 = $par4 + $rt_imul($var17, $var21) | 0; $var24 = $var19[$var21]; if ($var24 < 0) continue; else { $par5 = !$par6 ? $var24 & (-5) : $var24 | 4; $par7 = 3; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9, $var10, $var11, $var12, $var13, $var14, $var21, $var15, $var16, $var17, $var19, $var20, $var22, $var23, $var24, $var25, $var26, $ptr); }, nms_BlockTripWireSource_playSoundEffect = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8) => { let var$9; a: { b: { if ($par6 && !$par8) { $par2 = 0; c: { while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break c; if ($par3 >= 0) break c; $par2 = $par2 + 1 | 0; } break b; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if (!$par6 && $par8) { $par2 = 0; d: { while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break d; if ($par3 >= 0) break d; $par2 = $par2 + 1 | 0; } break b; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($par5 && !$par7) { $par2 = 0; e: { while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break e; if ($par3 >= 0) break e; $par2 = $par2 + 1 | 0; } break b; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if (!$par5 && $par7) { var$9 = $par1World.$rand0; var$9.$seed = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2 = 0; while (true) { $par3 = $rt_compare($par2, $par1World.$worldAccesses.$size0); if ($par3 >= 0) break; if ($par2 < 0) break a; if ($par3 >= 0) break a; $par2 = $par2 + 1 | 0; } } } return; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); }, nms_BlockTripWireSource_notifyNeighborOfChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $this.$blockID; var$7 = $par2 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, var$7, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 1; continue main; } } var$8 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 2; continue main; } } var$11 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 3; continue main; } } var$12 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 4; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 5; continue main; } } var$10 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 6; continue main; } } if ($par5 == 3) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } } else if ($par5 == 1) { $par5 = $this.$blockID; $par2 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if (!$par5) { var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } $par4 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 26; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$8 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } } return; case 1: var$9.$onNeighborBlockChange($par1World, var$7, $par3, $par4, var$6); if ($rt_suspending()) { break main; } var$8 = $par2 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, var$8, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 2; continue main; } } var$11 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 3; continue main; } } var$12 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 4; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 5; continue main; } } var$10 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 6; continue main; } } if ($par5 == 3) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } } else if ($par5 == 1) { $par5 = $this.$blockID; $par2 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if (!$par5) { var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } $par4 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 26; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$8 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } } return; case 2: var$9.$onNeighborBlockChange($par1World, var$8, $par3, $par4, var$6); if ($rt_suspending()) { break main; } var$11 = $par3 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 3; continue main; } } var$12 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 4; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 5; continue main; } } var$10 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 6; continue main; } } if ($par5 == 3) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } } else if ($par5 == 1) { $par5 = $this.$blockID; $par2 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if (!$par5) { var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } $par4 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 26; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$8 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } } return; case 3: var$9.$onNeighborBlockChange($par1World, $par2, var$11, $par4, var$6); if ($rt_suspending()) { break main; } var$12 = $par3 + 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 4; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 5; continue main; } } var$10 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 6; continue main; } } if ($par5 == 3) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } } else if ($par5 == 1) { $par5 = $this.$blockID; $par2 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if (!$par5) { var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } $par4 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 26; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$8 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } } return; case 4: var$9.$onNeighborBlockChange($par1World, $par2, var$12, $par4, var$6); if ($rt_suspending()) { break main; } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { var$10 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$10]; if (var$9 !== null) { $ptr = 5; continue main; } } var$10 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 6; continue main; } } if ($par5 == 3) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } } else if ($par5 == 1) { $par5 = $this.$blockID; $par2 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if (!$par5) { var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } $par4 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 26; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$8 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } } return; case 5: var$9.$onNeighborBlockChange($par1World, $par2, $par3, var$13, var$6); if ($rt_suspending()) { break main; } var$10 = $par4 + 1 | 0; if (!$par1World.$isRemote) { var$14 = nms_World_getBlockId($par1World, $par2, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$14]; if (var$9 !== null) { $ptr = 6; continue main; } } if ($par5 == 3) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } } else if ($par5 == 1) { $par5 = $this.$blockID; $par2 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if (!$par5) { var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } $par4 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 26; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$8 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } } return; case 6: var$9.$onNeighborBlockChange($par1World, $par2, $par3, var$10, var$6); if ($rt_suspending()) { break main; } if ($par5 == 3) { $par2 = $this.$blockID; $par5 = var$7 - 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 7; continue main; } } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } } else if ($par5 == 1) { $par5 = $this.$blockID; $par2 = var$8 - 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 8; continue main; } } $par2 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 27; continue main; } } } else if (!$par5) { var$10 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } $par4 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 26; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } } else if ($par5 == 2) { $par5 = $this.$blockID; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$8 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } } return; case 7: var$9.$onNeighborBlockChange($par1World, $par5, $par3, $par4, $par2); if ($rt_suspending()) { break main; } $par5 = var$7 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 9; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } return; case 8: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $par2 = var$8 + 1 | 0; if (!$par1World.$isRemote) { var$6 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$6]; if (var$9 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 27; continue main; } } return; case 9: var$9.$onNeighborBlockChange($par1World, $par5, $par3, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } return; case 10: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$13, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } $par4 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 26; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } return; case 11: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$11, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 27; continue main; } } return; case 12: var$9.$onNeighborBlockChange($par1World, var$7, var$11, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$7, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } return; case 13: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$10, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$8 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } return; case 14: var$9.$onNeighborBlockChange($par1World, var$8, $par3, var$13, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } $par4 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 26; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } return; case 15: var$9.$onNeighborBlockChange($par1World, var$8, var$11, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, var$12, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 27; continue main; } } return; case 16: var$9.$onNeighborBlockChange($par1World, var$7, var$12, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } return; case 17: var$9.$onNeighborBlockChange($par1World, var$8, $par3, var$10, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$11, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$8 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } return; case 18: var$9.$onNeighborBlockChange($par1World, $par2, var$11, var$13, var$10); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 22; continue main; } } $par4 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 26; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } return; case 19: var$9.$onNeighborBlockChange($par1World, var$8, var$12, $par4, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$13); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 23; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 27; continue main; } } return; case 20: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$13, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$7, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 24; continue main; } } return; case 21: var$9.$onNeighborBlockChange($par1World, $par2, var$11, var$10, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$12, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 25; continue main; } } var$8 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } return; case 22: var$9.$onNeighborBlockChange($par1World, $par2, var$12, var$13, var$10); if ($rt_suspending()) { break main; } $par4 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 26; continue main; } } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } return; case 23: var$9.$onNeighborBlockChange($par1World, var$8, $par3, var$13, $par5); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$8, $par3, var$10); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par2]; if (var$9 !== null) { $ptr = 27; continue main; } } return; case 24: var$9.$onNeighborBlockChange($par1World, var$7, $par3, var$10, $par2); if ($rt_suspending()) { break main; } return; case 25: var$9.$onNeighborBlockChange($par1World, $par2, var$12, var$10, $par5); if ($rt_suspending()) { break main; } var$8 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$8); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par4]; if (var$9 !== null) { $ptr = 28; continue main; } } $par4 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } return; case 26: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$10); if ($rt_suspending()) { break main; } $par4 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[$par5]; if (var$9 !== null) { $ptr = 29; continue main; } } return; case 27: var$9.$onNeighborBlockChange($par1World, var$8, $par3, var$10, $par5); if ($rt_suspending()) { break main; } return; case 28: var$9.$onNeighborBlockChange($par1World, $par2, $par3, var$8, $par5); if ($rt_suspending()) { break main; } $par4 = var$10 + 1 | 0; if (!$par1World.$isRemote) { var$8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8]; if (var$9 !== null) { $ptr = 30; continue main; } } return; case 29: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, var$10); if ($rt_suspending()) { break main; } return; case 30: var$9.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_BlockTripWireSource_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5; $var5 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) & 3; if ($var5 == 3) { $this.$minX0 = 0.0; $this.$minY0 = 0.20000000298023224; $this.$minZ0 = 0.3125; $this.$maxX0 = 0.375; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 0.6875; } else if ($var5 == 1) { $this.$minX0 = 0.625; $this.$minY0 = 0.20000000298023224; $this.$minZ0 = 0.3125; $this.$maxX0 = 1.0; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 0.6875; } else if (!$var5) { $this.$minX0 = 0.3125; $this.$minY0 = 0.20000000298023224; $this.$minZ0 = 0.0; $this.$maxX0 = 0.6875; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 0.375; } else if ($var5 == 2) { $this.$minX0 = 0.3125; $this.$minY0 = 0.20000000298023224; $this.$minZ0 = 0.625; $this.$maxX0 = 0.6875; $this.$maxY0 = 0.800000011920929; $this.$maxZ0 = 1.0; } }, nms_BlockTripWireSource_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8, var$9, var$10, $var9, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var9 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = ($par6 & 4) != 4 ? 0 : 1; $var8 = ($par6 & 8) != 8 ? 0 : 1; if (!$var7 && !$var8) { if ($var8) { $par5 = $this.$blockID; var$9 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, var$9, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var7]; if (var$10 !== null) { $ptr = 2; continue main; } } $var7 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $var8 = nms_World_getBlockId($par1World, $var7, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var8]; if (var$10 !== null) { $ptr = 3; continue main; } } $var8 = $par3 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 4; continue main; } } var$12 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 5; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 6; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 7; continue main; } } $var9 = $par6 & 3; if ($var9 == 3) { $par6 = $this.$blockID; $par2 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 25; continue main; } } } else if ($var9 == 1) { $par2 = $this.$blockID; $par6 = $var7 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = $var7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 28; continue main; } } } else if (!$var9) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 27; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } } else if ($var9 == 2) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 31; continue main; } } } } return; } $var7 = 0; $var9 = 0; var$12 = (-1); $par5 = 0; $ptr = 1; case 1: nms_BlockTripWireSource_func_72143_a($this, $par1World, $par2, $par3, $par4, $var7, $par6, $var9, var$12, $par5); if ($rt_suspending()) { break main; } if ($var8) { $par5 = $this.$blockID; var$9 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, var$9, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var7]; if (var$10 !== null) { $ptr = 2; continue main; } } $var7 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $var8 = nms_World_getBlockId($par1World, $var7, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var8]; if (var$10 !== null) { $ptr = 3; continue main; } } $var8 = $par3 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 4; continue main; } } var$12 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 5; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 6; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 7; continue main; } } $var9 = $par6 & 3; if ($var9 == 3) { $par6 = $this.$blockID; $par2 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 25; continue main; } } } else if ($var9 == 1) { $par2 = $this.$blockID; $par6 = $var7 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = $var7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 28; continue main; } } } else if (!$var9) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 27; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } } else if ($var9 == 2) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 31; continue main; } } } } return; case 2: var$10.$onNeighborBlockChange($par1World, var$9, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $var7 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $var8 = nms_World_getBlockId($par1World, $var7, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var8]; if (var$10 !== null) { $ptr = 3; continue main; } } $var8 = $par3 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 4; continue main; } } var$12 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 5; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 6; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 7; continue main; } } $var9 = $par6 & 3; if ($var9 == 3) { $par6 = $this.$blockID; $par2 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 25; continue main; } } } else if ($var9 == 1) { $par2 = $this.$blockID; $par6 = $var7 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = $var7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 28; continue main; } } } else if (!$var9) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 27; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } } else if ($var9 == 2) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 31; continue main; } } } return; case 3: var$10.$onNeighborBlockChange($par1World, $var7, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $var8 = $par3 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 4; continue main; } } var$12 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 5; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 6; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 7; continue main; } } $var9 = $par6 & 3; if ($var9 == 3) { $par6 = $this.$blockID; $par2 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 25; continue main; } } } else if ($var9 == 1) { $par2 = $this.$blockID; $par6 = $var7 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = $var7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 28; continue main; } } } else if (!$var9) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 27; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } } else if ($var9 == 2) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 31; continue main; } } } return; case 4: var$10.$onNeighborBlockChange($par1World, $par2, $var8, $par4, $par5); if ($rt_suspending()) { break main; } var$12 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 5; continue main; } } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 6; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 7; continue main; } } $var9 = $par6 & 3; if ($var9 == 3) { $par6 = $this.$blockID; $par2 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 25; continue main; } } } else if ($var9 == 1) { $par2 = $this.$blockID; $par6 = $var7 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = $var7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 28; continue main; } } } else if (!$var9) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 27; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } } else if ($var9 == 2) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 31; continue main; } } } return; case 5: var$10.$onNeighborBlockChange($par1World, $par2, var$12, $par4, $par5); if ($rt_suspending()) { break main; } var$13 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 6; continue main; } } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 7; continue main; } } $var9 = $par6 & 3; if ($var9 == 3) { $par6 = $this.$blockID; $par2 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 25; continue main; } } } else if ($var9 == 1) { $par2 = $this.$blockID; $par6 = $var7 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = $var7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 28; continue main; } } } else if (!$var9) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 27; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } } else if ($var9 == 2) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 31; continue main; } } } return; case 6: var$10.$onNeighborBlockChange($par1World, $par2, $par3, var$13, $par5); if ($rt_suspending()) { break main; } var$14 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $var9 = nms_World_getBlockId($par1World, $par2, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$var9]; if (var$10 !== null) { $ptr = 7; continue main; } } $var9 = $par6 & 3; if ($var9 == 3) { $par6 = $this.$blockID; $par2 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 25; continue main; } } } else if ($var9 == 1) { $par2 = $this.$blockID; $par6 = $var7 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = $var7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 28; continue main; } } } else if (!$var9) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 27; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } } else if ($var9 == 2) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 31; continue main; } } } return; case 7: var$10.$onNeighborBlockChange($par1World, $par2, $par3, var$14, $par5); if ($rt_suspending()) { break main; } $var9 = $par6 & 3; if ($var9 == 3) { $par6 = $this.$blockID; $par2 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 8; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 25; continue main; } } } else if ($var9 == 1) { $par2 = $this.$blockID; $par6 = $var7 - 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par6, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 9; continue main; } } $par5 = $var7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 28; continue main; } } } else if (!$var9) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 11; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 27; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } } else if ($var9 == 2) { $par4 = $this.$blockID; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 14; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 31; continue main; } } } return; case 8: var$10.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par6); if ($rt_suspending()) { break main; } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 10; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 25; continue main; } } return; case 9: var$10.$onNeighborBlockChange($par1World, $par6, $par3, $par4, $par2); if ($rt_suspending()) { break main; } $par5 = $var7 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par5, $par3, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 12; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 28; continue main; } } return; case 10: var$10.$onNeighborBlockChange($par1World, $par2, $par3, $par4, $par6); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 13; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 25; continue main; } } return; case 11: var$10.$onNeighborBlockChange($par1World, var$9, $par3, var$13, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 15; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 27; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } return; case 12: var$10.$onNeighborBlockChange($par1World, $par5, $par3, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $var8, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 16; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 28; continue main; } } return; case 13: var$10.$onNeighborBlockChange($par1World, var$9, $var8, $par4, $par6); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 17; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 25; continue main; } } return; case 14: var$10.$onNeighborBlockChange($par1World, var$9, $par3, var$14, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 18; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 31; continue main; } } return; case 15: var$10.$onNeighborBlockChange($par1World, $var7, $par3, var$13, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 19; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 27; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } return; case 16: var$10.$onNeighborBlockChange($par1World, $var7, $var8, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $var7, var$12, $par4); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 20; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 28; continue main; } } return; case 17: var$10.$onNeighborBlockChange($par1World, var$9, var$12, $par4, $par6); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 21; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 25; continue main; } } return; case 18: var$10.$onNeighborBlockChange($par1World, $var7, $par3, var$14, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, $var8, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 22; continue main; } } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 31; continue main; } } return; case 19: var$10.$onNeighborBlockChange($par1World, $par2, $var8, var$13, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 23; continue main; } } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 27; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } return; case 20: var$10.$onNeighborBlockChange($par1World, $var7, var$12, $par4, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$13); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 24; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 28; continue main; } } return; case 21: var$10.$onNeighborBlockChange($par1World, var$9, $par3, var$13, $par6); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$9, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par2]; if (var$10 !== null) { $ptr = 25; continue main; } } return; case 22: var$10.$onNeighborBlockChange($par1World, $par2, $var8, var$14, $par4); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par5 = nms_World_getBlockId($par1World, $par2, var$12, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par5]; if (var$10 !== null) { $ptr = 26; continue main; } } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 31; continue main; } } return; case 23: var$10.$onNeighborBlockChange($par1World, $par2, var$12, var$13, $par4); if ($rt_suspending()) { break main; } $par5 = var$13 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 27; continue main; } } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } return; case 24: var$10.$onNeighborBlockChange($par1World, $var7, $par3, var$13, $par2); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var7, $par3, var$14); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par4]; if (var$10 !== null) { $ptr = 28; continue main; } } return; case 25: var$10.$onNeighborBlockChange($par1World, var$9, $par3, var$14, $par6); if ($rt_suspending()) { break main; } return; case 26: var$10.$onNeighborBlockChange($par1World, $par2, var$12, var$14, $par4); if ($rt_suspending()) { break main; } $par5 = var$14 - 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 29; continue main; } } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 31; continue main; } } return; case 27: var$10.$onNeighborBlockChange($par1World, $par2, $par3, $par5, $par4); if ($rt_suspending()) { break main; } $par5 = var$13 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 30; continue main; } } return; case 28: var$10.$onNeighborBlockChange($par1World, $var7, $par3, var$14, $par2); if ($rt_suspending()) { break main; } return; case 29: var$10.$onNeighborBlockChange($par1World, $par2, $par3, $par5, $par4); if ($rt_suspending()) { break main; } $par5 = var$14 + 1 | 0; if (!$par1World.$isRemote) { $par6 = nms_World_getBlockId($par1World, $par2, $par3, $par5); nms_Block_$callClinit(); var$10 = nms_Block_blocksList.data[$par6]; if (var$10 !== null) { $ptr = 31; continue main; } } return; case 30: var$10.$onNeighborBlockChange($par1World, $par2, $par3, $par5, $par4); if ($rt_suspending()) { break main; } return; case 31: var$10.$onNeighborBlockChange($par1World, $par2, $par3, $par5, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, $var8, var$9, var$10, $var9, var$12, var$13, var$14, $ptr); }, nms_BlockTripWireSource_isProvidingWeakPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return (nms_World_getBlockMetadata($par1IBlockAccess, $par2, $par3, $par4) & 8) != 8 ? 0 : 15; }, nms_BlockTripWireSource_isProvidingStrongPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $var6, $var7; $var6 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); if (($var6 & 8) != 8) return 0; $var7 = $var6 & 3; return $var7 == 2 && $par5 == 2 ? 15 : !$var7 && $par5 == 3 ? 15 : $var7 == 1 && $par5 == 4 ? 15 : $var7 == 3 && $par5 == 5 ? 15 : 0; }, nms_BlockTripWireSource_canProvidePower = $this => { return 1; }; let nms_BlockTripWire = $rt_classWithoutFields(nms_Block), nms_BlockTripWire__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.15625; $this.$maxZ0 = 1.0; $this.$needsRandomTick = 1; }, nms_BlockTripWire__init_0 = var_0 => { let var_1 = new nms_BlockTripWire(); nms_BlockTripWire__init_(var_1, var_0); return var_1; }, nms_BlockTripWire_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { return null; }, nms_BlockTripWire_isOpaqueCube = $this => { return 0; }, nms_BlockTripWire_renderAsNormalBlock = $this => { return 0; }, nms_BlockTripWire_getRenderBlockPass = $this => { return 1; }, nms_BlockTripWire_getRenderType = $this => { return 30; }, nms_BlockTripWire_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_silk.$itemID0; }, nms_BlockTripWire_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Item_$callClinit(); return nms_Item_silk.$itemID0; }, nms_BlockTripWire_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, var$8, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var7 = ($var6 & 2) != 2 ? 0 : 1; $par5 = $par3 - 1 | 0; nms_Block_$callClinit(); if ($var7 == (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par5, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par5, $par4)) ? 0 : 1)) return; $par5 = 0; var$8 = 1.0; $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $var6, var$8, $par5); if ($rt_suspending()) { break main; } $par5 = 0; $var7 = 0; $var8 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $var7, $var8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, var$8, $var8, $ptr); }, nms_BlockTripWire_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6; $var5 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); $var6 = ($var5 & 4) != 4 ? 0 : 1; if (!(($var5 & 2) != 2 ? 0 : 1)) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.09375; $this.$maxZ0 = 1.0; } else if (!$var6) { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.5; $this.$maxZ0 = 1.0; } else { $this.$minX0 = 0.0; $this.$minY0 = 0.0625; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.15625; $this.$maxZ0 = 1.0; } }, nms_BlockTripWire_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = $par3 - 1 | 0; nms_Block_$callClinit(); $var5 = !nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$5, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$5, $par4)) ? 2 : 0; var$5 = 3; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var5, var$5); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_BlockTripWire_func_72149_e($this, $par1World, $par2, $par3, $par4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, $var5, $ptr); }, nms_BlockTripWire_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par5 = $par6 | 1; $ptr = 1; case 1: nms_BlockTripWire_func_72149_e($this, $par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $ptr); }, nms_BlockTripWire_func_72149_e = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var8, $var9, $var10, var$11, $var11, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = 0; while ($var6 < 2) { $var7 = 1; a: { while (true) { if ($var7 >= 42) break a; $var8 = $par2 + $rt_imul(nms_Direction_offsetX.data[$var6], $var7) | 0; $var9 = $par4 + $rt_imul(nms_Direction_offsetZ.data[$var6], $var7) | 0; $var10 = nms_World_getBlockId($par1World, $var8, $par3, $var9); nms_Block_$callClinit(); if ($var10 == nms_Block_tripWireSource.$blockID) break; if ($var10 != nms_Block_tripWire.$blockID) break a; $var7 = $var7 + 1 | 0; } if ((nms_World_getBlockMetadata($par1World, $var8, $par3, $var9) & 3) == nms_Direction_rotateOpposite.data[$var6]) { var$11 = nms_Block_tripWireSource; $var11 = nms_World_getBlockMetadata($par1World, $var8, $par3, $var9); var$13 = 1; $ptr = 1; continue main; } } $var6 = $var6 + 1 | 0; } return; case 1: nms_BlockTripWireSource_func_72143_a(var$11, $par1World, $var8, $par3, $var9, $var10, $var11, var$13, $var7, $par5); if ($rt_suspending()) { break main; } b: while (true) { c: while (true) { $var6 = $var6 + 1 | 0; if ($var6 >= 2) break b; $var7 = 1; while (true) { if ($var7 >= 42) continue c; $var8 = $par2 + $rt_imul(nms_Direction_offsetX.data[$var6], $var7) | 0; $var9 = $par4 + $rt_imul(nms_Direction_offsetZ.data[$var6], $var7) | 0; $var10 = nms_World_getBlockId($par1World, $var8, $par3, $var9); nms_Block_$callClinit(); if ($var10 == nms_Block_tripWireSource.$blockID) break c; if ($var10 != nms_Block_tripWire.$blockID) continue c; $var7 = $var7 + 1 | 0; } } if ((nms_World_getBlockMetadata($par1World, $var8, $par3, $var9) & 3) != nms_Direction_rotateOpposite.data[$var6]) continue; else { var$11 = nms_Block_tripWireSource; $var11 = nms_World_getBlockMetadata($par1World, $var8, $par3, $var9); var$13 = 1; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, $var8, $var9, $var10, var$11, $var11, var$13, $ptr); }, nms_BlockTripWire_onEntityCollidedWithBlock = ($this, $par1World, $par2, $par3, $par4, $par5Entity) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5Entity = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1World.$isRemote && (nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) & 1) != 1) { $ptr = 1; continue main; } return; case 1: nms_BlockTripWire_updateTripWireState($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Entity, $ptr); }, nms_BlockTripWire_updateTripWireState = ($this, $par1World, $par2, $par3, $par4) => { let $var5, $var6, $var7, var$8, $var8, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $var9$index, $var10, $var9$index_0, var$20, var$21, var$22, var$23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var9$index_0 = $thread.pop();$var10 = $thread.pop();$var9$index = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var6 = ($var5 & 1) != 1 ? 0 : 1; $var7 = 0; var$8 = null; $var8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = $par2; var$11 = var$10 + $this.$minX0; var$12 = $par3; var$13 = var$12 + $this.$minY0; var$14 = $par4; var$15 = var$14 + $this.$minZ0; var$16 = var$10 + $this.$maxX0; var$10 = var$12 + $this.$maxY0; var$12 = var$14 + $this.$maxZ0; $var9$index = $var8.$nextPoolIndex; $var10 = $var8.$listAABB; $var9$index_0 = $var10.$size0; var$20 = $rt_compare($var9$index, $var9$index_0); if (var$20 >= 0) { var$21 = new nms_AxisAlignedBB; var$21.$minX = var$11; var$21.$minY = var$13; var$21.$minZ = var$15; var$21.$maxX = var$16; var$21.$maxY = var$10; var$21.$maxZ = var$12; ju_ArrayList_ensureCapacity($var10, $var9$index_0 + 1 | 0); var$22 = $var10.$array.data; $var9$index_0 = $var10.$size0; $var10.$size0 = $var9$index_0 + 1 | 0; var$22[$var9$index_0] = var$21; $var10.$modCount = $var10.$modCount + 1 | 0; } else if ($var9$index >= 0 && var$20 < 0) { var$21 = $var10.$array.data[$var9$index]; var$21.$minX = var$11; var$21.$minY = var$13; var$21.$minZ = var$15; var$21.$maxX = var$16; var$21.$maxY = var$10; var$21.$maxZ = var$12; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var8.$nextPoolIndex = $var8.$nextPoolIndex + 1 | 0; $var8 = nms_World_getEntitiesWithinAABBExcludingEntity($par1World, var$8, var$21, null); $var9$index = $var8.$size0 ? 0 : 1; a: { if (!$var9$index) { $var9$index = 0; var$20 = $var8.$modCount; var$23 = $var8.$size(); while (true) { if (!($var9$index >= var$23 ? 0 : 1)) break a; if (var$20 < $var8.$modCount) break; $var9$index_0 = $var9$index + 1 | 0; if (!($var8.$get($var9$index)).$doesEntityNotTriggerPressurePlate()) { $var7 = 1; break a; } $var9$index = $var9$index_0; } $par1World = new ju_ConcurrentModificationException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } } if ($var7 && !$var6) $var5 = $var5 | 1; if (!$var7 && $var6) $var5 = $var5 & (-2); if ($var7 == $var6) return; $var9$index = 3; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var5, $var9$index); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_BlockTripWire_func_72149_e($this, $par1World, $par2, $par3, $par4, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, $var6, $var7, var$8, $var8, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $var9$index, $var10, $var9$index_0, var$20, var$21, var$22, var$23, $ptr); }, nms_BlockTripWire_func_72148_a = ($par0IBlockAccess, $par1, $par2, $par3, $par4, $par5) => { let $var6, $var8, $var9, $var10; $var6 = $par1 + nms_Direction_offsetX.data[$par5] | 0; $var8 = $par3 + nms_Direction_offsetZ.data[$par5] | 0; $var9 = $par0IBlockAccess.$getBlockId($var6, $par2, $var8); $var10 = ($par4 & 2) != 2 ? 0 : 1; nms_Block_$callClinit(); if ($var9 == nms_Block_tripWireSource.$blockID) return ($par0IBlockAccess.$getBlockMetadata($var6, $par2, $var8) & 3) != nms_Direction_rotateOpposite.data[$par5] ? 0 : 1; if ($var9 != nms_Block_tripWire.$blockID) return 0; return $var10 != (($par0IBlockAccess.$getBlockMetadata($var6, $par2, $var8) & 2) != 2 ? 0 : 1) ? 0 : 1; }, nms_BlockCommandBlock = $rt_classWithoutFields(nms_BlockContainer), nms_BlockCommandBlock__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_iron); $this.$isBlockContainer = 1; }, nms_BlockCommandBlock__init_ = var_0 => { let var_1 = new nms_BlockCommandBlock(); nms_BlockCommandBlock__init_0(var_1, var_0); return var_1; }, nms_BlockCommandBlock_createNewTileEntity = ($this, $par1World) => { $par1World = new nms_TileEntityCommandBlock; nms_TileEntity_$callClinit(); $par1World.$blockMetadata = (-1); $par1World.$command = $rt_s(18); $par1World.$commandSenderName = $rt_s(3103); return $par1World; }, nms_BlockCommandBlock_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; $ptr = 1; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var8 = !($var7 & 1) ? 0 : 1; if ($var6 && !$var8) { $par5 = $var7 | 1; $var6 = 4; $ptr = 2; continue main; } if (!$var6 && $var8) { $par5 = $var7 & (-2); $var6 = 4; $ptr = 3; continue main; } return; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par5, $var6); if ($rt_suspending()) { break main; } return; case 3: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par5, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, $var8, $ptr); }, nms_BlockCommandBlock_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; $var10 = $par1World; if ($var10 !== null) { if ($var10 instanceof nms_TileEntitySign) { $par1World = $par5EntityPlayer.$mc4; $par5EntityPlayer = new nms_GuiEditSign; $var10 = $var10; nms_GuiEditSign_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$11 = new ju_ArrayList; var$11.$array = $rt_createArray(jl_Object, 10); $par5EntityPlayer.$buttonList = var$11; $par5EntityPlayer.$allowUserInput = 0; $par5EntityPlayer.$selectedButton = null; $par5EntityPlayer.$eventButton = 0; $par5EntityPlayer.$field_85043_c = Long_ZERO; $par5EntityPlayer.$field_92018_d = 0; $par5EntityPlayer.$screenTitle = $rt_s(2930); $par5EntityPlayer.$entitySign = $var10; $ptr = 2; continue main; } if ($var10 instanceof nms_TileEntityCommandBlock) { $par5EntityPlayer = $par5EntityPlayer.$mc4; $par1World = new nms_GuiCommandBlock; $var10 = $var10; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$11 = new ju_ArrayList; var$11.$array = $rt_createArray(jl_Object, 10); $par1World.$buttonList = var$11; $par1World.$allowUserInput = 0; $par1World.$selectedButton = null; $par1World.$eventButton = 0; $par1World.$field_85043_c = Long_ZERO; $par1World.$field_92018_d = 0; $par1World.$commandBlock = $var10; $ptr = 3; continue main; } } return 1; case 2: nms_Minecraft_displayGuiScreen($par1World, $par5EntityPlayer); if ($rt_suspending()) { break main; } return 1; case 3: nms_Minecraft_displayGuiScreen($par5EntityPlayer, $par1World); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, var$11, $ptr); }, nms_BlockCommandBlock_hasComparatorInputOverride = $this => { return 1; }, nms_BlockCommandBlock_getComparatorInputOverride = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var6 = $tmp; return $var6 !== null && $var6 instanceof nms_TileEntityCommandBlock ? $var6.$succesCount : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $ptr); }, nms_BlockCommandBlock_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let $var7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; $var7 = $par1World; $par5EntityLivingBase = $par6ItemStack.$stackTagCompound; if ($par5EntityLivingBase === null) $par2 = 0; else { a: { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par3 = $rt_s(1525).$hashCode1; var$8 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$8[$par3 & (var$8.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par3) { b: { var$9 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$9) { if ($rt_s(1525) === var$9) $par2 = 1; else if (!(var$9 instanceof jl_String)) $par2 = 0; else { var$9 = var$9; $par2 = $rt_s(1525).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break b; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if ($par5EntityLivingBase === null ? 0 : 1) { c: { $par1World = $par6ItemStack.$stackTagCompound; var$9 = $par1World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$8 = var$9.$elementData.data; var$9 = var$8[$par4 & (var$8.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == $par4) { d: { var$10 = var$9.$key; if ($rt_s(1525) !== var$10) { if ($rt_s(1525) !== var$10) { if (var$10 instanceof jl_String) { var$10 = var$10; $par2 = $rt_s(1525).$nativeString !== var$10.$nativeString ? 0 : 1; } else $par2 = 0; } else $par2 = 1; if (!$par2) { $par2 = 0; break d; } } $par2 = 1; } if ($par2) break; } var$9 = var$9.$next3; } if (!(var$9 === null ? 0 : 1)) { $par1World = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par1World.$name = $rt_s(1525); else $par1World.$name = $rt_s(18); $par5EntityLivingBase = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $par5EntityLivingBase.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$8 = var$11.data; $par5EntityLivingBase.$elementData = var$11; $par5EntityLivingBase.$loadFactor = 0.75; $par5EntityLivingBase.$threshold = var$8.length * 0.75 | 0; $par1World.$tagMap = $par5EntityLivingBase; } else { $par1World = $par1World.$tagMap; if ($rt_s(1525) !== null) { e: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$8 = $par1World.$elementData.data; $par1World = var$8[$par4 & (var$8.length - 1 | 0)]; while ($par1World !== null) { if ($par1World.$origKeyHash == $par4) { f: { var$9 = $par1World.$key; if ($rt_s(1525) !== var$9) { if ($rt_s(1525) !== var$9) { if (!(var$9 instanceof jl_String)) $par2 = 0; else { var$9 = var$9; $par2 = $rt_s(1525).$nativeString !== var$9.$nativeString ? 0 : 1; } } else $par2 = 1; if (!$par2) { $par2 = 0; break f; } } $par2 = 1; } if ($par2) break; } $par1World = $par1World.$next3; } } else { $par1World = $par1World.$elementData.data[0]; while ($par1World !== null && $par1World.$key !== null) { $par1World = $par1World.$next3; } } $par1World = $par1World === null ? null : $par1World.$value1; } g: { $par1World = $par1World.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$8 = $par1World.$elementData.data; $par1World = var$8[$par4 & (var$8.length - 1 | 0)]; while ($par1World !== null) { if ($par1World.$origKeyHash == $par4) { h: { var$9 = $par1World.$key; if ($rt_s(1526) !== var$9) { if ($rt_s(1526) !== var$9) { if (var$9 instanceof jl_String) { var$9 = var$9; $par2 = $rt_s(1526).$nativeString !== var$9.$nativeString ? 0 : 1; } else $par2 = 0; } else $par2 = 1; if (!$par2) { $par2 = 0; break h; } } $par2 = 1; } if ($par2) break; } $par1World = $par1World.$next3; } $par2 = $par1World === null ? 0 : 1; } else $par2 = 0; } if ($par2) { nms_Item_$callClinit(); $par1World = nms_Item_itemsList.data[$par6ItemStack.$itemID].$getItemDisplayName($par6ItemStack); $par5EntityLivingBase = $par6ItemStack.$stackTagCompound; if ($par5EntityLivingBase !== null) { i: { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if (!$rt_s(1525).$hashCode1) { $par3 = 0; while (true) { if ($par3 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par3) | 0; $par3 = $par3 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$8 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$8[$par4 & (var$8.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { j: { var$10 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$10) { if ($rt_s(1525) === var$10) $par2 = 1; else if (!(var$10 instanceof jl_String)) $par2 = 0; else { var$10 = var$10; $par2 = $rt_s(1525).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break j; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if ($par5EntityLivingBase === null ? 0 : 1) { k: { $par5EntityLivingBase = $par6ItemStack.$stackTagCompound; var$9 = $par5EntityLivingBase.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$8 = var$9.$elementData.data; var$9 = var$8[$par4 & (var$8.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == $par4) { l: { var$10 = var$9.$key; if ($rt_s(1525) !== var$10) { if ($rt_s(1525) === var$10) $par2 = 1; else if (!(var$10 instanceof jl_String)) $par2 = 0; else { var$10 = var$10; $par2 = $rt_s(1525).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break l; } } $par2 = 1; } if ($par2) break; } var$9 = var$9.$next3; } if (!(var$9 === null ? 0 : 1)) { $par5EntityLivingBase = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par5EntityLivingBase.$name = $rt_s(1525); else $par5EntityLivingBase.$name = $rt_s(18); $par6ItemStack = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $par6ItemStack.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$8 = var$11.data; $par6ItemStack.$elementData = var$11; $par6ItemStack.$loadFactor = 0.75; $par6ItemStack.$threshold = var$8.length * 0.75 | 0; $par5EntityLivingBase.$tagMap = $par6ItemStack; } else { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if ($rt_s(1525) === null) { $par5EntityLivingBase = $par5EntityLivingBase.$elementData.data[0]; while ($par5EntityLivingBase !== null && $par5EntityLivingBase.$key !== null) { $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } else { m: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$8 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$8[$par4 & (var$8.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { n: { var$9 = $par5EntityLivingBase.$key; if ($rt_s(1525) !== var$9) { if ($rt_s(1525) === var$9) $par2 = 1; else if (!(var$9 instanceof jl_String)) $par2 = 0; else { var$9 = var$9; $par2 = $rt_s(1525).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break n; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } $par5EntityLivingBase = $par5EntityLivingBase === null ? null : $par5EntityLivingBase.$value1; } o: { var$9 = $par5EntityLivingBase.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$8 = var$9.$elementData.data; var$9 = var$8[$par4 & (var$8.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == $par4) { p: { var$10 = var$9.$key; if ($rt_s(1526) !== var$10) { if ($rt_s(1526) === var$10) $par2 = 1; else if (!(var$10 instanceof jl_String)) $par2 = 0; else { var$10 = var$10; $par2 = $rt_s(1526).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break p; } } $par2 = 1; } if ($par2) break; } var$9 = var$9.$next3; } if (var$9 === null ? 0 : 1) { q: { $par6ItemStack = $par5EntityLivingBase.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break q; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$8 = $par6ItemStack.$elementData.data; $par6ItemStack = var$8[$par4 & (var$8.length - 1 | 0)]; while ($par6ItemStack !== null) { if ($par6ItemStack.$origKeyHash == $par4) { r: { var$9 = $par6ItemStack.$key; if ($rt_s(1526) !== var$9) { if ($rt_s(1526) === var$9) $par2 = 1; else if (!(var$9 instanceof jl_String)) $par2 = 0; else { var$9 = var$9; $par2 = $rt_s(1526).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break r; } } $par2 = 1; } if ($par2) break; } $par6ItemStack = $par6ItemStack.$next3; } if (!($par6ItemStack === null ? 0 : 1)) $par1World = $rt_s(18); else { $par5EntityLivingBase = $par5EntityLivingBase.$tagMap; if ($rt_s(1526) === null) { $par5EntityLivingBase = $par5EntityLivingBase.$elementData.data[0]; while ($par5EntityLivingBase !== null && $par5EntityLivingBase.$key !== null) { $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } else { s: { if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$8 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$8[$par4 & (var$8.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { t: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break t; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } $par1World = ($par5EntityLivingBase === null ? null : $par5EntityLivingBase.$value1).$data1; } } } } $var7.$commandSenderName = $par1World; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, $var7, var$8, var$9, var$10, var$11, $ptr); }, nms_BlockCommandBlock_quantityDropped = ($this, $par1Random) => { return 0; }, nms_BlockBeacon = $rt_classWithoutFields(nms_BlockContainer), nms_BlockBeacon__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_glass); $this.$isBlockContainer = 1; $this.$blockHardness = 3.0; if ($this.$blockResistance < 15.0) $this.$blockResistance = 15.0; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabMisc; }, nms_BlockBeacon__init_0 = var_0 => { let var_1 = new nms_BlockBeacon(); nms_BlockBeacon__init_(var_1, var_0); return var_1; }, nms_BlockBeacon_createNewTileEntity = ($this, $par1World) => { $par1World = new nms_TileEntityBeacon; nms_TileEntityBeacon_$callClinit(); nms_TileEntity_$callClinit(); $par1World.$blockMetadata = (-1); $par1World.$levels = (-1); return $par1World; }, nms_BlockBeacon_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; $var10 = $par1World; if ($var10 === null) return 1; var$11 = $par5EntityPlayer.$mc4; $par1World = new nms_GuiBeacon; $par5EntityPlayer = $par5EntityPlayer.$inventory; nms_GuiBeacon_$callClinit(); var$12 = nms_ContainerBeacon__init_($par5EntityPlayer, $var10); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $par5EntityPlayer = new ju_ArrayList; jl_Object__init_($par5EntityPlayer); $par5EntityPlayer.$array = $rt_createArray(jl_Object, 10); $par1World.$buttonList = $par5EntityPlayer; $par1World.$allowUserInput = 0; $par1World.$selectedButton = null; $par1World.$eventButton = 0; $par1World.$field_85043_c = Long_ZERO; $par1World.$field_92018_d = 0; $par1World.$xSize = 176; $par1World.$ySize = 166; $par5EntityPlayer = new ju_HashSet; var$13 = new ju_HashMap; jl_Object__init_(var$13); $par2 = ju_HashMap_calculateCapacity(16); var$13.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$15 = var$14.data; var$13.$elementData = var$14; var$13.$loadFactor = 0.75; var$13.$threshold = var$15.length * 0.75 | 0; $par5EntityPlayer.$backingMap = var$13; $par1World.$field_94077_p = $par5EntityPlayer; $par1World.$inventorySlots0 = var$12; $par1World.$field_94068_E = 1; $par1World.$beacon = $var10; $par1World.$xSize = 230; $par1World.$ySize = 219; $ptr = 2; case 2: nms_Minecraft_displayGuiScreen(var$11, $par1World); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_BlockBeacon_isOpaqueCube = $this => { return 0; }, nms_BlockBeacon_renderAsNormalBlock = $this => { return 0; }, nms_BlockBeacon_getRenderType = $this => { return 34; }, nms_BlockBeacon_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$4 = $this.$unlocalizedName; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$3, 10); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 95; var$3 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_StringBuilder_insert(var$5, var$3, var$4); var$2 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$6 = var$5.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1IconRegister); $rt_throw($par1IconRegister); } } $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); }, nms_BlockBeacon_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par6ItemStack.$stackTagCompound; if (var$7 === null) var$8 = 0; else { a: { var$7 = var$7.$tagMap; if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$10 = var$7.$elementData.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { b: { var$11 = var$7.$key; if ($rt_s(1525) !== var$11) { if ($rt_s(1525) === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $rt_s(1525).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$7 = var$7.$next3; } if (!(var$7 === null ? 0 : 1)) var$8 = 0; else { c: { var$7 = $par6ItemStack.$stackTagCompound; var$11 = var$7.$tagMap; if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$10 = var$11.$elementData.data; var$11 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$9) { d: { var$12 = var$11.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) var$8 = 1; else if (!(var$12 instanceof jl_String)) var$8 = 0; else { var$12 = var$12; var$8 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break d; } } var$8 = 1; } if (var$8) break; } var$11 = var$11.$next3; } if (!(var$11 === null ? 0 : 1)) { var$7 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$7.$name = $rt_s(1525); else var$7.$name = $rt_s(18); $par5EntityLivingBase = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); $par5EntityLivingBase.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$13 = var$10.data; $par5EntityLivingBase.$elementData = var$10; $par5EntityLivingBase.$loadFactor = 0.75; $par5EntityLivingBase.$threshold = var$13.length * 0.75 | 0; var$7.$tagMap = $par5EntityLivingBase; } else { var$7 = var$7.$tagMap; if ($rt_s(1525) === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$10 = var$7.$elementData.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { f: { var$11 = var$7.$key; if ($rt_s(1525) !== var$11) { if ($rt_s(1525) === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $rt_s(1525).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break f; } } var$8 = 1; } if (var$8) break; } var$7 = var$7.$next3; } } var$7 = var$7 === null ? null : var$7.$value1; } g: { $par5EntityLivingBase = var$7.$tagMap; if (!$rt_s(1526).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$14 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; var$12 = var$10[var$14 & (var$10.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$14) { h: { $par5EntityLivingBase = var$12.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) var$8 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) var$8 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; var$8 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break h; } } var$8 = 1; } if (var$8) break; } var$12 = var$12.$next3; } var$8 = var$12 === null ? 0 : 1; } } if (!var$8) return; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; var$7 = $par1World; nms_Item_$callClinit(); var$11 = nms_Item_itemsList.data[$par6ItemStack.$itemID].$getItemDisplayName($par6ItemStack); $par1World = $par6ItemStack.$stackTagCompound; if ($par1World !== null) { a: { $par1World = $par1World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par3 = $rt_s(1525).$hashCode1; var$10 = $par1World.$elementData.data; var$15 = var$10[$par3 & (var$10.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par3) { b: { $par1World = var$15.$key; if ($rt_s(1525) !== $par1World) { if ($rt_s(1525) === $par1World) $par2 = 1; else if (!($par1World instanceof jl_String)) $par2 = 0; else { $par1World = $par1World; $par2 = $rt_s(1525).$nativeString !== $par1World.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break b; } } $par2 = 1; } if ($par2) break; } var$15 = var$15.$next3; } if (var$15 === null ? 0 : 1) { c: { $par1World = $par6ItemStack.$stackTagCompound; $par6ItemStack = $par1World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par2 = $rt_s(1525).$hashCode1; var$10 = $par6ItemStack.$elementData.data; $par6ItemStack = var$10[$par2 & (var$10.length - 1 | 0)]; while ($par6ItemStack !== null) { if ($par6ItemStack.$origKeyHash == $par2) { d: { var$12 = $par6ItemStack.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) $par3 = 1; else if (!(var$12 instanceof jl_String)) $par3 = 0; else { var$12 = var$12; $par3 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$par3) { $par3 = 0; break d; } } $par3 = 1; } if ($par3) break; } $par6ItemStack = $par6ItemStack.$next3; } if (!($par6ItemStack === null ? 0 : 1)) { var$12 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$12.$name = $rt_s(1525); else var$12.$name = $rt_s(18); $par1World = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $par1World.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$10 = var$13.data; $par1World.$elementData = var$13; $par1World.$loadFactor = 0.75; $par1World.$threshold = var$10.length * 0.75 | 0; var$12.$tagMap = $par1World; } else { $par1World = $par1World.$tagMap; if ($rt_s(1525) === null) { $par1World = $par1World.$elementData.data[0]; while ($par1World !== null && $par1World.$key !== null) { $par1World = $par1World.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par2 = $rt_s(1525).$hashCode1; var$10 = $par1World.$elementData.data; $par1World = var$10[$par2 & (var$10.length - 1 | 0)]; while ($par1World !== null) { if ($par1World.$origKeyHash == $par2) { f: { $par6ItemStack = $par1World.$key; if ($rt_s(1525) !== $par6ItemStack) { if ($rt_s(1525) === $par6ItemStack) $par3 = 1; else if (!($par6ItemStack instanceof jl_String)) $par3 = 0; else { $par6ItemStack = $par6ItemStack; $par3 = $rt_s(1525).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par3) { $par3 = 0; break f; } } $par3 = 1; } if ($par3) break; } $par1World = $par1World.$next3; } } var$12 = $par1World === null ? null : $par1World.$value1; } g: { $par5EntityLivingBase = var$12.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { h: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break h; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if ($par5EntityLivingBase === null ? 0 : 1) { i: { $par5EntityLivingBase = var$12.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break i; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { j: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break j; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) var$11 = $rt_s(18); else { $par5EntityLivingBase = var$12.$tagMap; if ($rt_s(1526) === null) { $par5EntityLivingBase = $par5EntityLivingBase.$elementData.data[0]; while ($par5EntityLivingBase !== null && $par5EntityLivingBase.$key !== null) { $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } else { k: { if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break k; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { l: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break l; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } var$11 = ($par5EntityLivingBase === null ? null : $par5EntityLivingBase.$value1).$data1; } } } } var$7.$field_94048_i = var$11; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_BlockWall = $rt_classWithoutFields(nms_Block), nms_BlockWall_types = null, nms_BlockWall__init_ = ($this, $par1, $par2Block) => { let var$3, var$4; nms_Block__init_($this, $par1, $par2Block.$blockMaterial); var$3 = $par2Block.$blockHardness; $this.$blockHardness = var$3; var$4 = $this.$blockResistance; var$3 = var$3 * 5.0; if (var$4 < var$3) $this.$blockResistance = var$3; $this.$blockResistance = $par2Block.$blockResistance / 3.0 * 3.0; $this.$stepSound = $par2Block.$stepSound; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockWall__init_0 = (var_0, var_1) => { let var_2 = new nms_BlockWall(); nms_BlockWall__init_(var_2, var_0, var_1); return var_2; }, nms_BlockWall_getIcon = ($this, $par1, $par2) => { let var$3; if ($par2 != 1) { nms_Block_$callClinit(); var$3 = nms_Block_cobblestone.$getIcon($par1, 0); } else { nms_Block_$callClinit(); var$3 = nms_Block_cobblestoneMossy.$getIcon($par1, 0); } return var$3; }, nms_BlockWall_getRenderType = $this => { return 32; }, nms_BlockWall_renderAsNormalBlock = $this => { return 0; }, nms_BlockWall_getBlocksMovement = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { return 0; }, nms_BlockWall_isOpaqueCube = $this => { return 0; }, nms_BlockWall_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, $var13; $var5 = nms_BlockWall_canConnectWallTo($this, $par1IBlockAccess, $par2, $par3, $par4 - 1 | 0); $var6 = nms_BlockWall_canConnectWallTo($this, $par1IBlockAccess, $par2, $par3, $par4 + 1 | 0); $var7 = nms_BlockWall_canConnectWallTo($this, $par1IBlockAccess, $par2 - 1 | 0, $par3, $par4); $var8 = nms_BlockWall_canConnectWallTo($this, $par1IBlockAccess, $par2 + 1 | 0, $par3, $par4); $var9 = 0.25; $var10 = 0.75; $var11 = 0.25; $var12 = 0.75; $var13 = 1.0; if ($var5) $var11 = 0.0; if ($var6) $var12 = 1.0; if ($var7) $var9 = 0.0; if ($var8) $var10 = 1.0; if ($var5 && $var6 && !$var7 && !$var8) { $var13 = 0.8125; $var9 = 0.3125; $var10 = 0.6875; } else if (!$var5 && !$var6 && $var7 && $var8) { $var13 = 0.8125; $var11 = 0.3125; $var12 = 0.6875; } $this.$minX0 = $var9; $this.$minY0 = 0.0; $this.$minZ0 = $var11; $this.$maxX0 = $var10; $this.$maxY0 = $var13; $this.$maxZ0 = $var12; }, nms_BlockWall_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; nms_BlockWall_setBlockBoundsBasedOnState($this, $par1World, $par2, $par3, $par4); $this.$maxY0 = 1.5; $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$11 = var$5 + $this.$maxX0; var$5 = var$7 + $this.$maxY0; var$7 = var$9 + $this.$maxZ0; $par2 = $par1World.$nextPoolIndex; var$12 = $par1World.$listAABB; $par4 = var$12.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$13 = new nms_AxisAlignedBB; var$13.$minX = var$6; var$13.$minY = var$8; var$13.$minZ = var$10; var$13.$maxX = var$11; var$13.$maxY = var$5; var$13.$maxZ = var$7; ju_ArrayList_ensureCapacity(var$12, $par4 + 1 | 0); var$14 = var$12.$array.data; $par3 = var$12.$size0; var$12.$size0 = $par3 + 1 | 0; var$14[$par3] = var$13; var$12.$modCount = var$12.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$13 = var$12.$array.data[$par2]; var$13.$minX = var$6; var$13.$minY = var$8; var$13.$minZ = var$10; var$13.$maxX = var$11; var$13.$maxY = var$5; var$13.$maxZ = var$7; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$13; }, nms_BlockWall_canConnectWallTo = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5, $var6; $var5 = $par1IBlockAccess.$getBlockId($par2, $par3, $par4); if ($var5 != $this.$blockID) { nms_Block_$callClinit(); if ($var5 != nms_Block_fenceGate.$blockID) { a: { $var6 = nms_Block_blocksList.data[$var5]; if ($var6 !== null) { $par1IBlockAccess = $var6.$blockMaterial; if ((!$par1IBlockAccess.$isTranslucent ? $par1IBlockAccess.$blocksMovement() : 0) && $var6.$renderAsNormalBlock()) { $par1IBlockAccess = $var6.$blockMaterial; nms_Material_$callClinit(); if ($par1IBlockAccess === nms_Material_pumpkin) { $par2 = 0; break a; } $par2 = 1; break a; } } $par2 = 0; } return $par2; } } return 1; }; let nms_BlockWall_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let var$4, var$5, var$6, var$7; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$6 = var$5 + 1 | 0; $par3List.$size0 = var$6; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 1; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; }, nms_BlockWall_damageDropped = ($this, $par1) => { return $par1; }, nms_BlockWall_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return $par5 ? 1 : nms_Block_shouldSideBeRendered($this, $par1IBlockAccess, $par2, $par3, $par4, $par5); }, nms_BlockWall_registerIcons = ($this, $par1IconRegister) => { return; }, nms_BlockWall__clinit_ = () => { nms_BlockWall_types = $rt_wrapArray(jl_String, [$rt_s(84), $rt_s(85)]); }, nms_BlockFlowerPot = $rt_classWithoutFields(nms_Block), nms_BlockFlowerPot__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); $this.$minX0 = 0.3125; $this.$minY0 = 0.0; $this.$minZ0 = 0.3125; $this.$maxX0 = 0.6875; $this.$maxY0 = 0.375; $this.$maxZ0 = 0.6875; }, nms_BlockFlowerPot__init_ = var_0 => { let var_1 = new nms_BlockFlowerPot(); nms_BlockFlowerPot__init_0(var_1, var_0); return var_1; }, nms_BlockFlowerPot_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.3125; $this.$minY0 = 0.0; $this.$minZ0 = 0.3125; $this.$maxX0 = 0.6875; $this.$maxY0 = 0.375; $this.$maxZ0 = 0.6875; }, nms_BlockFlowerPot_isOpaqueCube = $this => { return 0; }, nms_BlockFlowerPot_getRenderType = $this => { return 33; }, nms_BlockFlowerPot_renderAsNormalBlock = $this => { return 0; }, nms_BlockFlowerPot_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, $var11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = $par5EntityPlayer.$inventory; $var11 = $var10.$currentItem; $var10 = $var11 < 9 && $var11 >= 0 ? $var10.$mainInventory.data[$var11] : null; if ($var10 === null) return 0; if (nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)) return 0; $var11 = nms_BlockFlowerPot_getMetaForPlant($var10); if ($var11 <= 0) return 0; $par6 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var11, $par6); if ($rt_suspending()) { break main; } if (!$par5EntityPlayer.$capabilities.$isCreativeMode) { $par2 = $var10.$stackSize - 1 | 0; $var10.$stackSize = $par2; if ($par2 <= 0) { $par1World = $par5EntityPlayer.$inventory; $par2 = $par1World.$currentItem; $par5EntityPlayer = null; var$12 = $par1World.$mainInventory; $par3 = var$12.data.length; if ($par2 >= $par3) { $par2 = $par2 - $par3 | 0; var$12 = $par1World.$armorInventory; } var$12.data[$par2] = $par5EntityPlayer; } } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, $var11, var$12, $ptr); }, nms_BlockFlowerPot_idPicked = ($this, $par1World, $par2, $par3, $par4) => { let $var5; $var5 = nms_BlockFlowerPot_getPlantForMeta(nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)); if ($var5 !== null) $par2 = $var5.$itemID; else { nms_Item_$callClinit(); $par2 = nms_Item_flowerPot.$itemID0; } return $par2; }, nms_BlockFlowerPot_getDamageValue = ($this, $par1World, $par2, $par3, $par4) => { let $var5; $var5 = nms_BlockFlowerPot_getPlantForMeta(nms_World_getBlockMetadata($par1World, $par2, $par3, $par4)); if ($var5 !== null) $par2 = $var5.$itemDamage; else { nms_Item_$callClinit(); $par2 = nms_Item_flowerPot.$itemID0; } return $par2; }, nms_BlockFlowerPot_isFlowerPot = $this => { return 1; }, nms_BlockFlowerPot_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5; a: { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$5) { nms_Block_$callClinit(); if (!nms_Block_blocksList.data[var$5].$blockMaterial.$replaceable) { var$5 = 0; break a; } } var$5 = 1; } b: { if (var$5) { $par3 = $par3 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, $par3, $par4)], nms_World_getBlockMetadata($par1World, $par2, $par3, $par4))) { $par2 = 1; break b; } } $par2 = 0; } return $par2; }, nms_BlockFlowerPot_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $par3 - 1 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid($par1World, nms_Block_blocksList.data[nms_World_getBlockId($par1World, $par2, var$6, $par4)], nms_World_getBlockMetadata($par1World, $par2, var$6, $par4))) return; $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, var$6); if ($rt_suspending()) { break main; } if ($par5 > 0) { var$8 = nms_BlockFlowerPot_getPlantForMeta($par5); if (var$8 !== null) { $ptr = 3; continue main; } } var$9 = 0; $par5 = 0; var$6 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, var$9, $par5, var$6); if ($rt_suspending()) { break main; } return; case 3: nms_Block_dropBlockAsItem_do($this, $par1World, $par2, $par3, $par4, var$8); if ($rt_suspending()) { break main; } var$9 = 0; $par5 = 0; var$6 = 3; $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, var$9, $ptr); }, nms_BlockFlowerPot_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7); if ($rt_suspending()) { break main; } if ($par5 > 0) { $var8 = nms_BlockFlowerPot_getPlantForMeta($par5); if ($var8 !== null) { $ptr = 2; continue main; } } return; case 2: nms_Block_dropBlockAsItem_do($this, $par1World, $par2, $par3, $par4, $var8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $var8, $ptr); }, nms_BlockFlowerPot_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_flowerPot.$itemID0; }, nms_BlockFlowerPot_getPlantForMeta = $par0 => { let var$2, var$3; switch ($par0) { case 1: var$2 = new nms_ItemStack; nms_Block_$callClinit(); var$3 = nms_Block_plantRed; nms_ItemStack_$callClinit(); var$2.$itemID = var$3.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; return var$2; case 2: var$3 = new nms_ItemStack; nms_Block_$callClinit(); var$2 = nms_Block_plantYellow; nms_ItemStack_$callClinit(); var$3.$itemID = var$2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 0; return var$3; case 3: var$3 = new nms_ItemStack; nms_Block_$callClinit(); var$2 = nms_Block_sapling; nms_ItemStack_$callClinit(); var$3.$itemID = var$2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 0; return var$3; case 4: var$3 = new nms_ItemStack; nms_Block_$callClinit(); var$2 = nms_Block_sapling; nms_ItemStack_$callClinit(); var$3.$itemID = var$2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 1; return var$3; case 5: var$3 = new nms_ItemStack; nms_Block_$callClinit(); var$2 = nms_Block_sapling; nms_ItemStack_$callClinit(); var$3.$itemID = var$2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 2; return var$3; case 6: var$3 = new nms_ItemStack; nms_Block_$callClinit(); var$2 = nms_Block_sapling; nms_ItemStack_$callClinit(); var$3.$itemID = var$2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 3; return var$3; case 7: var$3 = new nms_ItemStack; nms_Block_$callClinit(); var$2 = nms_Block_mushroomRed; nms_ItemStack_$callClinit(); var$3.$itemID = var$2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 0; return var$3; case 8: var$3 = new nms_ItemStack; nms_Block_$callClinit(); var$2 = nms_Block_mushroomBrown; nms_ItemStack_$callClinit(); var$3.$itemID = var$2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 0; return var$3; case 9: var$3 = new nms_ItemStack; nms_Block_$callClinit(); var$2 = nms_Block_cactus; nms_ItemStack_$callClinit(); var$3.$itemID = var$2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 0; return var$3; case 10: var$3 = new nms_ItemStack; nms_Block_$callClinit(); var$2 = nms_Block_deadBush; nms_ItemStack_$callClinit(); var$3.$itemID = var$2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 0; return var$3; case 11: var$3 = new nms_ItemStack; nms_Block_$callClinit(); var$2 = nms_Block_tallGrass; nms_ItemStack_$callClinit(); var$3.$itemID = var$2.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 2; return var$3; default: } return null; }, nms_BlockFlowerPot_getMetaForPlant = $par0ItemStack => { let $var1; nms_Item_$callClinit(); $var1 = nms_Item_itemsList.data[$par0ItemStack.$itemID].$itemID0; nms_Block_$callClinit(); if ($var1 == nms_Block_plantRed.$blockID) return 1; if ($var1 == nms_Block_plantYellow.$blockID) return 2; if ($var1 == nms_Block_cactus.$blockID) return 9; if ($var1 == nms_Block_mushroomBrown.$blockID) return 8; if ($var1 == nms_Block_mushroomRed.$blockID) return 7; if ($var1 == nms_Block_deadBush.$blockID) return 10; a: { if ($var1 == nms_Block_sapling.$blockID) { switch ($par0ItemStack.$itemDamage) { case 0: break; case 1: return 4; case 2: return 5; case 3: return 6; default: break a; } return 3; } } b: { if ($var1 == nms_Block_tallGrass.$blockID) switch ($par0ItemStack.$itemDamage) { case 2: return 11; default: break b; } } return 0; }; function nms_BlockCarrot() { nms_BlockCrops.call(this); this.$iconArray7 = null; } let nms_BlockCarrot__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_plants); $this.$needsRandomTick = 1; $this.$minX0 = 0.30000001192092896; $this.$minY0 = 0.0; $this.$minZ0 = 0.30000001192092896; $this.$maxX0 = 0.699999988079071; $this.$maxY0 = 0.6000000238418579; $this.$maxZ0 = 0.699999988079071; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; $this.$needsRandomTick = 1; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.25; $this.$maxZ0 = 1.0; $this.$displayOnCreativeTab = null; $this.$blockHardness = 0.0; if ($this.$blockResistance < 0.0) $this.$blockResistance = 0.0; $this.$stepSound = nms_Block_soundGrassFootstep; $this.$enableStats = 0; }, nms_BlockCarrot__init_0 = var_0 => { let var_1 = new nms_BlockCarrot(); nms_BlockCarrot__init_(var_1, var_0); return var_1; }, nms_BlockCarrot_getIcon = ($this, $par1, $par2) => { if ($par2 >= 7) return $this.$iconArray7.data[3]; if ($par2 == 6) $par2 = 5; return $this.$iconArray7.data[$par2 >> 1]; }, nms_BlockCarrot_getSeedItem = $this => { nms_Item_$callClinit(); return nms_Item_carrot.$itemID0; }, nms_BlockCarrot_getCropItem = $this => { nms_Item_$callClinit(); return nms_Item_carrot.$itemID0; }, nms_BlockCarrot_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $this.$iconArray7 = $rt_createArray(nms_Icon, 4); $var2 = 0; a: { b: { while (true) { var$3 = $this.$iconArray7.data; if ($var2 >= var$3.length) break; var$4 = $this.$textureName; if (var$4 === null) { var$5 = $this.$blockID; var$4 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10); var$7 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$7, var$7 + 1 | 0); var$6.$buffer.data[var$7] = 95; var$5 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$5, var$4); var$4 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; var$7 = var$6.$length0; var$10 = var$9.length; if (var$7 < 0) break b; if (var$7 > (var$10 - 0 | 0)) break b; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$7); } var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, var$4); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3053)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $var2, 10); var$4 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; var$10 = var$6.$length0; var$5 = var$9.length; if (var$10 < 0) break a; if (var$10 > (var$5 - 0 | 0)) break a; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$10); var$3[$var2] = $par1IconRegister.$registerIcon(var$4, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }; function nms_BlockPotato() { nms_BlockCrops.call(this); this.$iconArray9 = null; } let nms_BlockPotato__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_plants); $this.$needsRandomTick = 1; $this.$minX0 = 0.30000001192092896; $this.$minY0 = 0.0; $this.$minZ0 = 0.30000001192092896; $this.$maxX0 = 0.699999988079071; $this.$maxY0 = 0.6000000238418579; $this.$maxZ0 = 0.699999988079071; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; $this.$needsRandomTick = 1; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.25; $this.$maxZ0 = 1.0; $this.$displayOnCreativeTab = null; $this.$blockHardness = 0.0; if ($this.$blockResistance < 0.0) $this.$blockResistance = 0.0; $this.$stepSound = nms_Block_soundGrassFootstep; $this.$enableStats = 0; }, nms_BlockPotato__init_ = var_0 => { let var_1 = new nms_BlockPotato(); nms_BlockPotato__init_0(var_1, var_0); return var_1; }, nms_BlockPotato_getIcon = ($this, $par1, $par2) => { if ($par2 >= 7) return $this.$iconArray9.data[3]; if ($par2 == 6) $par2 = 5; return $this.$iconArray9.data[$par2 >> 1]; }, nms_BlockPotato_getSeedItem = $this => { nms_Item_$callClinit(); return nms_Item_potato.$itemID0; }, nms_BlockPotato_getCropItem = $this => { nms_Item_$callClinit(); return nms_Item_potato.$itemID0; }, nms_BlockPotato_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockCrops_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote && $par5 >= 7) { var$8 = $par1World.$rand0; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$10 = Long_lo(Long_shru(var$9, 17)); while (true) { var$11 = var$10 % 50 | 0; if (((var$10 - var$11 | 0) + 49 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; var$10 = Long_lo(Long_shru(var$9, 17)); } if (!var$11) { var$8 = new nms_ItemStack; nms_Item_$callClinit(); var$12 = nms_Item_poisonousPotato; nms_ItemStack_$callClinit(); var$8.$itemID = var$12.$itemID0; var$8.$stackSize = 1; var$8.$itemDamage = 0; $ptr = 2; continue main; } } return; case 2: nms_Block_dropBlockAsItem_do($this, $par1World, $par2, $par3, $par4, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_BlockPotato_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $this.$iconArray9 = $rt_createArray(nms_Icon, 4); $var2 = 0; a: { b: { while (true) { var$3 = $this.$iconArray9.data; if ($var2 >= var$3.length) break; var$4 = $this.$textureName; if (var$4 === null) { var$5 = $this.$blockID; var$4 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10); var$7 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$7, var$7 + 1 | 0); var$6.$buffer.data[var$7] = 95; var$5 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$5, var$4); var$4 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; var$7 = var$6.$length0; var$10 = var$9.length; if (var$7 < 0) break b; if (var$7 > (var$10 - 0 | 0)) break b; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$7); } var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, var$4); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3053)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $var2, 10); var$4 = new jl_String; var$8 = var$6.$buffer; var$9 = var$8.data; var$10 = var$6.$length0; var$5 = var$9.length; if (var$10 < 0) break a; if (var$10 > (var$5 - 0 | 0)) break a; var$4.$nativeString = $rt_charArrayToString(var$8.data, 0, var$10); var$3[$var2] = $par1IconRegister.$registerIcon(var$4, 1); $var2 = $var2 + 1 | 0; } return; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockButtonWood = $rt_classWithoutFields(nms_BlockButton), nms_BlockButtonWood__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); $this.$needsRandomTick = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; $this.$sensible = 1; }, nms_BlockButtonWood__init_ = var_0 => { let var_1 = new nms_BlockButtonWood(); nms_BlockButtonWood__init_0(var_1, var_0); return var_1; }, nms_BlockButtonWood_getIcon = ($this, $par1, $par2) => { nms_Block_$callClinit(); return nms_Block_planks.$getIcon(1, 0); }, nms_BlockSkull = $rt_classWithoutFields(nms_BlockContainer), nms_BlockSkull__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); $this.$isBlockContainer = 1; $this.$minX0 = 0.25; $this.$minY0 = 0.0; $this.$minZ0 = 0.25; $this.$maxX0 = 0.75; $this.$maxY0 = 0.5; $this.$maxZ0 = 0.75; }, nms_BlockSkull__init_0 = var_0 => { let var_1 = new nms_BlockSkull(); nms_BlockSkull__init_(var_1, var_0); return var_1; }, nms_BlockSkull_getRenderType = $this => { return (-1); }, nms_BlockSkull_isOpaqueCube = $this => { return 0; }, nms_BlockSkull_renderAsNormalBlock = $this => { return 0; }, nms_BlockSkull_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { a: { switch ($par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) & 7) { case 1: break; case 2: $this.$minX0 = 0.25; $this.$minY0 = 0.25; $this.$minZ0 = 0.5; $this.$maxX0 = 0.75; $this.$maxY0 = 0.75; $this.$maxZ0 = 1.0; break a; case 3: $this.$minX0 = 0.25; $this.$minY0 = 0.25; $this.$minZ0 = 0.0; $this.$maxX0 = 0.75; $this.$maxY0 = 0.75; $this.$maxZ0 = 0.5; break a; case 4: $this.$minX0 = 0.5; $this.$minY0 = 0.25; $this.$minZ0 = 0.25; $this.$maxX0 = 1.0; $this.$maxY0 = 0.75; $this.$maxZ0 = 0.75; break a; case 5: $this.$minX0 = 0.0; $this.$minY0 = 0.25; $this.$minZ0 = 0.25; $this.$maxX0 = 0.5; $this.$maxY0 = 0.75; $this.$maxZ0 = 0.75; break a; default: } $this.$minX0 = 0.25; $this.$minY0 = 0.0; $this.$minZ0 = 0.25; $this.$maxX0 = 0.75; $this.$maxY0 = 0.5; $this.$maxZ0 = 0.75; } }, nms_BlockSkull_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; nms_BlockSkull_setBlockBoundsBasedOnState($this, $par1World, $par2, $par3, $par4); $par1World = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $par2; var$6 = var$5 + $this.$minX0; var$7 = $par3; var$8 = var$7 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$5 = var$5 + $this.$maxX0; var$7 = var$7 + $this.$maxY0; var$9 = var$9 + $this.$maxZ0; $par2 = $par1World.$nextPoolIndex; var$11 = $par1World.$listAABB; $par4 = var$11.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$11, $par4 + 1 | 0); var$13 = var$11.$array.data; $par3 = var$11.$size0; var$11.$size0 = $par3 + 1 | 0; var$13[$par3] = var$12; var$11.$modCount = var$11.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { var$12 = var$11.$array.data[$par2]; var$12.$minX = var$6; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$5; var$12.$maxY = var$7; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); } $par1World.$nextPoolIndex = $par1World.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockSkull_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, $var7, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par5EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 2.5; $var7 = var$7 | 0; if (var$7 < $var7) $var7 = $var7 - 1 | 0; $var7 = $var7 & 3; var$9 = 2; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, var$9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, $var7, var$9, $ptr); }, nms_BlockSkull_createNewTileEntity = ($this, $par1World) => { $par1World = new nms_TileEntitySkull; nms_TileEntity_$callClinit(); $par1World.$blockMetadata = (-1); $par1World.$extraType = $rt_s(18); return $par1World; }, nms_BlockSkull_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Item_$callClinit(); return nms_Item_skull.$itemID0; }, nms_BlockSkull_getDamageValue = ($this, $par1World, $par2, $par3, $par4) => { let $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var5 = $tmp; return $var5 !== null && $var5 instanceof nms_TileEntitySkull ? $var5.$skullType : nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, $ptr); }, nms_BlockSkull_damageDropped = ($this, $par1) => { return $par1; }, nms_BlockSkull_dropBlockAsItemWithChance = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7) => { return; }, nms_BlockSkull_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, var$8, var$9, $var8, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return; if ($par6 & 8) { $ptr = 1; continue main; } $var7 = new nms_ItemStack; nms_Item_$callClinit(); $par5 = nms_Item_skull.$itemID0; $par6 = 1; $ptr = 2; continue main; case 1: nms_World_removeBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; case 2: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$8 = $tmp; var$9 = var$8 !== null && var$8 instanceof nms_TileEntitySkull ? var$8.$skullType : nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); nms_ItemStack_$callClinit(); $var7.$itemID = $par5; $var7.$stackSize = $par6; $var7.$itemDamage = var$9; if (var$9 < 0) $var7.$itemDamage = 0; $ptr = 3; case 3: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$8 = $tmp; $var8 = var$8; if ($var8.$skullType == 3) { var$8 = $var8.$extraType; if (var$8 !== null && var$8.$nativeString.length > 0) { var$8 = new nms_NBTTagCompound; var$8.$name = $rt_s(18); var$11 = new ju_HashMap; $par5 = ju_HashMap_calculateCapacity(16); var$11.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $par5); var$13 = var$12.data; var$11.$elementData = var$12; var$11.$loadFactor = 0.75; var$11.$threshold = var$13.length * 0.75 | 0; var$8.$tagMap = var$11; $var7.$stackTagCompound = var$8; $var8 = $var8.$extraType; var$14 = new nms_NBTTagString; var$14.$name = $rt_s(1956); var$14.$data1 = $var8; if ($var8 !== null) ju_HashMap_putImpl(var$11, $rt_s(1956), var$14); else { var$8 = new jl_IllegalArgumentException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; var$8.$message = $rt_s(186); $rt_throw(var$8); } } } $ptr = 4; case 4: nms_Block_dropBlockAsItem_do($this, $par1World, $par2, $par3, $par4, $var7); if ($rt_suspending()) { break main; } $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, var$8, var$9, $var8, var$11, var$12, var$13, var$14, $ptr); }, nms_BlockSkull_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_skull.$itemID0; }, nms_BlockSkull_makeWither = ($this, $par1World, $par2, $par3, $par4, $par5TileEntitySkull) => { let $var6, $var7, var$8, var$9, var$10, var$11, var$12, $var9, $var9_0, var$15, var$16, var$17, $var8, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, $var8_0, var$33, var$34, var$35, var$36, var$37, var$38, var$39, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$39 = $thread.pop();var$38 = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();$var8_0 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var8 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var9_0 = $thread.pop();$var9 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5TileEntitySkull = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($par5TileEntitySkull.$skullType == 1 && $par3 >= 2 && $par1World.$difficultySetting > 0 && !$par1World.$isRemote) { nms_Block_$callClinit(); $var6 = nms_Block_slowSand.$blockID; $var7 = (-2); var$8 = $par3 - 1 | 0; var$9 = $par3 - 2 | 0; b: { while (true) { if ($var7 > 0) break b; var$10 = $par4 + $var7 | 0; if (nms_World_getBlockId($par1World, $par2, var$8, var$10) == $var6) { var$11 = var$10 + 1 | 0; if (nms_World_getBlockId($par1World, $par2, var$8, var$11) == $var6 && nms_World_getBlockId($par1World, $par2, var$9, var$11) == $var6) { var$12 = var$10 + 2 | 0; if (nms_World_getBlockId($par1World, $par2, var$8, var$12) == $var6) { $var9 = 1; if (nms_World_getBlockId($par1World, $par2, $par3, var$10) == $this.$blockID) break; if (0) { $var9 = 1; if (nms_World_getBlockId($par1World, $par2, $par3, var$11) == $this.$blockID) { $ptr = 3; continue main; } if (0) { $var9 = 1; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) { $ptr = 5; continue main; } if (0) { $par4 = 8; $var7 = 2; $ptr = 7; continue main; } } } } } } $var7 = $var7 + 1 | 0; } $ptr = 1; continue main; } var$11 = (-2); while (true) { if (var$11 > 0) break a; var$12 = $par2 + var$11 | 0; if (nms_World_getBlockId($par1World, var$12, var$8, $par4) == $var6) { $var9_0 = var$12 + 1 | 0; if (nms_World_getBlockId($par1World, $var9_0, var$8, $par4) == $var6 && nms_World_getBlockId($par1World, $var9_0, var$9, $par4) == $var6) { var$10 = var$12 + 2 | 0; if (nms_World_getBlockId($par1World, var$10, var$8, $par4) == $var6) { var$15 = 1; if (nms_World_getBlockId($par1World, var$12, $par3, $par4) == $this.$blockID) { $ptr = 2; continue main; } if (0) { var$15 = 1; if (nms_World_getBlockId($par1World, $var9_0, $par3, $par4) == $this.$blockID) { $ptr = 4; continue main; } if (0) { var$15 = 1; if (nms_World_getBlockId($par1World, var$10, $par3, $par4) == $this.$blockID) { $ptr = 6; continue main; } if (0) { $par2 = 8; $var7 = 2; $ptr = 18; continue main; } } } } } } var$11 = var$11 + 1 | 0; } } } return; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, var$10); if ($rt_suspending()) { break main; } $par5TileEntitySkull = $tmp; $var9 = $par5TileEntitySkull !== null && $par5TileEntitySkull instanceof nms_TileEntitySkull ? ($par5TileEntitySkull.$skullType != $var9 ? 0 : 1) : 0; while (true) { if ($var9) { $var9 = 1; if (nms_World_getBlockId($par1World, $par2, $par3, var$11) == $this.$blockID) { $ptr = 3; continue main; } if (0) { $var9 = 1; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) { $ptr = 5; continue main; } if (0) { $par4 = 8; $var7 = 2; $ptr = 7; continue main; } } } while (true) { $var7 = $var7 + 1 | 0; if ($var7 > 0) { var$11 = (-2); while (var$11 <= 0) { var$12 = $par2 + var$11 | 0; if (nms_World_getBlockId($par1World, var$12, var$8, $par4) == $var6) { $var9_0 = var$12 + 1 | 0; if (nms_World_getBlockId($par1World, $var9_0, var$8, $par4) == $var6 && nms_World_getBlockId($par1World, $var9_0, var$9, $par4) == $var6) { var$10 = var$12 + 2 | 0; if (nms_World_getBlockId($par1World, var$10, var$8, $par4) == $var6) { var$15 = 1; if (nms_World_getBlockId($par1World, var$12, $par3, $par4) == $this.$blockID) { $ptr = 2; continue main; } if (0) { var$15 = 1; if (nms_World_getBlockId($par1World, $var9_0, $par3, $par4) == $this.$blockID) { $ptr = 4; continue main; } if (0) { var$15 = 1; if (nms_World_getBlockId($par1World, var$10, $par3, $par4) == $this.$blockID) { $ptr = 6; continue main; } if (0) { $par2 = 8; $var7 = 2; $ptr = 18; continue main; } } } } } } var$11 = var$11 + 1 | 0; } return; } var$10 = $par4 + $var7 | 0; if (nms_World_getBlockId($par1World, $par2, var$8, var$10) != $var6) continue; var$11 = var$10 + 1 | 0; if (nms_World_getBlockId($par1World, $par2, var$8, var$11) != $var6) continue; if (nms_World_getBlockId($par1World, $par2, var$9, var$11) != $var6) continue; var$12 = var$10 + 2 | 0; if (nms_World_getBlockId($par1World, $par2, var$8, var$12) != $var6) continue; else break; } $var9 = 1; if (nms_World_getBlockId($par1World, $par2, $par3, var$10) == $this.$blockID) break; $var9 = 0; } continue main; case 2: $tmp = nms_World_getBlockTileEntity($par1World, var$12, $par3, $par4); if ($rt_suspending()) { break main; } $par5TileEntitySkull = $tmp; $var7 = $par5TileEntitySkull !== null && $par5TileEntitySkull instanceof nms_TileEntitySkull ? ($par5TileEntitySkull.$skullType != var$15 ? 0 : 1) : 0; c: while (true) { if ($var7) { var$15 = 1; if (nms_World_getBlockId($par1World, $var9_0, $par3, $par4) == $this.$blockID) { $ptr = 4; continue main; } if (0) { var$15 = 1; if (nms_World_getBlockId($par1World, var$10, $par3, $par4) == $this.$blockID) { $ptr = 6; continue main; } if (0) { $par2 = 8; $var7 = 2; $ptr = 18; continue main; } } } while (true) { var$11 = var$11 + 1 | 0; if (var$11 > 0) break c; var$12 = $par2 + var$11 | 0; if (nms_World_getBlockId($par1World, var$12, var$8, $par4) != $var6) continue; $var9_0 = var$12 + 1 | 0; if (nms_World_getBlockId($par1World, $var9_0, var$8, $par4) != $var6) continue; if (nms_World_getBlockId($par1World, $var9_0, var$9, $par4) != $var6) continue; var$10 = var$12 + 2 | 0; if (nms_World_getBlockId($par1World, var$10, var$8, $par4) != $var6) continue; else break; } var$15 = 1; if (nms_World_getBlockId($par1World, var$12, $par3, $par4) == $this.$blockID) { continue main; } $var7 = 0; } return; case 3: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, var$11); if ($rt_suspending()) { break main; } $par5TileEntitySkull = $tmp; $var9 = $par5TileEntitySkull !== null && $par5TileEntitySkull instanceof nms_TileEntitySkull ? ($par5TileEntitySkull.$skullType != $var9 ? 0 : 1) : 0; while (true) { if ($var9) { $var9 = 1; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) { $ptr = 5; continue main; } if (0) { $par4 = 8; $var7 = 2; $ptr = 7; continue main; } } while (true) { $var7 = $var7 + 1 | 0; if ($var7 > 0) { var$11 = (-2); while (var$11 <= 0) { var$12 = $par2 + var$11 | 0; if (nms_World_getBlockId($par1World, var$12, var$8, $par4) == $var6) { $var9_0 = var$12 + 1 | 0; if (nms_World_getBlockId($par1World, $var9_0, var$8, $par4) == $var6 && nms_World_getBlockId($par1World, $var9_0, var$9, $par4) == $var6) { var$10 = var$12 + 2 | 0; if (nms_World_getBlockId($par1World, var$10, var$8, $par4) == $var6) { var$15 = 1; if (nms_World_getBlockId($par1World, var$12, $par3, $par4) == $this.$blockID) { $ptr = 2; continue main; } if (0) { var$15 = 1; if (nms_World_getBlockId($par1World, $var9_0, $par3, $par4) == $this.$blockID) { $ptr = 4; continue main; } if (0) { var$15 = 1; if (nms_World_getBlockId($par1World, var$10, $par3, $par4) == $this.$blockID) { $ptr = 6; continue main; } if (0) { $par2 = 8; $var7 = 2; $ptr = 18; continue main; } } } } } } var$11 = var$11 + 1 | 0; } return; } var$10 = $par4 + $var7 | 0; if (nms_World_getBlockId($par1World, $par2, var$8, var$10) != $var6) continue; var$11 = var$10 + 1 | 0; if (nms_World_getBlockId($par1World, $par2, var$8, var$11) != $var6) continue; if (nms_World_getBlockId($par1World, $par2, var$9, var$11) != $var6) continue; var$12 = var$10 + 2 | 0; if (nms_World_getBlockId($par1World, $par2, var$8, var$12) != $var6) continue; $var9 = 1; if (nms_World_getBlockId($par1World, $par2, $par3, var$10) == $this.$blockID) { $ptr = 1; continue main; } if (!0) continue; else break; } $var9 = 1; if (nms_World_getBlockId($par1World, $par2, $par3, var$11) == $this.$blockID) break; $var9 = 0; } continue main; case 4: $tmp = nms_World_getBlockTileEntity($par1World, $var9_0, $par3, $par4); if ($rt_suspending()) { break main; } $par5TileEntitySkull = $tmp; $var7 = $par5TileEntitySkull !== null && $par5TileEntitySkull instanceof nms_TileEntitySkull ? ($par5TileEntitySkull.$skullType != var$15 ? 0 : 1) : 0; c: while (true) { if ($var7) { var$15 = 1; if (nms_World_getBlockId($par1World, var$10, $par3, $par4) == $this.$blockID) { $ptr = 6; continue main; } if (0) { $par2 = 8; $var7 = 2; $ptr = 18; continue main; } } while (true) { var$11 = var$11 + 1 | 0; if (var$11 > 0) break c; var$12 = $par2 + var$11 | 0; if (nms_World_getBlockId($par1World, var$12, var$8, $par4) != $var6) continue; $var9_0 = var$12 + 1 | 0; if (nms_World_getBlockId($par1World, $var9_0, var$8, $par4) != $var6) continue; if (nms_World_getBlockId($par1World, $var9_0, var$9, $par4) != $var6) continue; var$10 = var$12 + 2 | 0; if (nms_World_getBlockId($par1World, var$10, var$8, $par4) != $var6) continue; var$15 = 1; if (nms_World_getBlockId($par1World, var$12, $par3, $par4) == $this.$blockID) { $ptr = 2; continue main; } if (!0) continue; else break; } var$15 = 1; if (nms_World_getBlockId($par1World, $var9_0, $par3, $par4) == $this.$blockID) { continue main; } $var7 = 0; } return; case 5: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, var$12); if ($rt_suspending()) { break main; } $par5TileEntitySkull = $tmp; $var9 = $par5TileEntitySkull !== null && $par5TileEntitySkull instanceof nms_TileEntitySkull ? ($par5TileEntitySkull.$skullType != $var9 ? 0 : 1) : 0; while (true) { if ($var9) { $par4 = 8; $var7 = 2; $ptr = 7; continue main; } while (true) { $var7 = $var7 + 1 | 0; if ($var7 > 0) { var$11 = (-2); while (var$11 <= 0) { var$12 = $par2 + var$11 | 0; if (nms_World_getBlockId($par1World, var$12, var$8, $par4) == $var6) { $var9_0 = var$12 + 1 | 0; if (nms_World_getBlockId($par1World, $var9_0, var$8, $par4) == $var6 && nms_World_getBlockId($par1World, $var9_0, var$9, $par4) == $var6) { var$10 = var$12 + 2 | 0; if (nms_World_getBlockId($par1World, var$10, var$8, $par4) == $var6) { var$15 = 1; if (nms_World_getBlockId($par1World, var$12, $par3, $par4) == $this.$blockID) { $ptr = 2; continue main; } if (0) { var$15 = 1; if (nms_World_getBlockId($par1World, $var9_0, $par3, $par4) == $this.$blockID) { $ptr = 4; continue main; } if (0) { var$15 = 1; if (nms_World_getBlockId($par1World, var$10, $par3, $par4) == $this.$blockID) { $ptr = 6; continue main; } if (0) { $par2 = 8; $var7 = 2; $ptr = 18; continue main; } } } } } } var$11 = var$11 + 1 | 0; } return; } var$10 = $par4 + $var7 | 0; if (nms_World_getBlockId($par1World, $par2, var$8, var$10) != $var6) continue; var$11 = var$10 + 1 | 0; if (nms_World_getBlockId($par1World, $par2, var$8, var$11) != $var6) continue; if (nms_World_getBlockId($par1World, $par2, var$9, var$11) != $var6) continue; var$12 = var$10 + 2 | 0; if (nms_World_getBlockId($par1World, $par2, var$8, var$12) != $var6) continue; $var9 = 1; if (nms_World_getBlockId($par1World, $par2, $par3, var$10) == $this.$blockID) { $ptr = 1; continue main; } if (!0) continue; $var9 = 1; if (nms_World_getBlockId($par1World, $par2, $par3, var$11) == $this.$blockID) { $ptr = 3; continue main; } if (!0) continue; else break; } $var9 = 1; if (nms_World_getBlockId($par1World, $par2, $par3, var$12) == $this.$blockID) break; $var9 = 0; } continue main; case 6: $tmp = nms_World_getBlockTileEntity($par1World, var$10, $par3, $par4); if ($rt_suspending()) { break main; } $par5TileEntitySkull = $tmp; $var7 = $par5TileEntitySkull !== null && $par5TileEntitySkull instanceof nms_TileEntitySkull ? ($par5TileEntitySkull.$skullType != var$15 ? 0 : 1) : 0; c: while (true) { if ($var7) { $par2 = 8; $var7 = 2; $ptr = 18; continue main; } while (true) { var$11 = var$11 + 1 | 0; if (var$11 > 0) break c; var$12 = $par2 + var$11 | 0; if (nms_World_getBlockId($par1World, var$12, var$8, $par4) != $var6) continue; $var9_0 = var$12 + 1 | 0; if (nms_World_getBlockId($par1World, $var9_0, var$8, $par4) != $var6) continue; if (nms_World_getBlockId($par1World, $var9_0, var$9, $par4) != $var6) continue; var$10 = var$12 + 2 | 0; if (nms_World_getBlockId($par1World, var$10, var$8, $par4) != $var6) continue; var$15 = 1; if (nms_World_getBlockId($par1World, var$12, $par3, $par4) == $this.$blockID) { $ptr = 2; continue main; } if (!0) continue; var$15 = 1; if (nms_World_getBlockId($par1World, $var9_0, $par3, $par4) == $this.$blockID) { $ptr = 4; continue main; } if (!0) continue; else break; } var$15 = 1; if (nms_World_getBlockId($par1World, var$10, $par3, $par4) == $this.$blockID) { continue main; } $var7 = 0; } return; case 7: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, var$10, $par4, $var7); if ($rt_suspending()) { break main; } $par4 = 8; $var7 = 2; $ptr = 8; case 8: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, var$11, $par4, $var7); if ($rt_suspending()) { break main; } $par4 = 8; $var7 = 2; $ptr = 9; case 9: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, var$12, $par4, $var7); if ($rt_suspending()) { break main; } $par4 = 0; $var7 = 0; $var9 = 2; $ptr = 10; case 10: nms_World_setBlock($par1World, $par2, $par3, var$10, $par4, $var7, $var9); if ($rt_suspending()) { break main; } $par4 = 0; $var7 = 0; $var9 = 2; $ptr = 11; case 11: nms_World_setBlock($par1World, $par2, $par3, var$11, $par4, $var7, $var9); if ($rt_suspending()) { break main; } $par4 = 0; $var7 = 0; $var9 = 2; $ptr = 12; case 12: nms_World_setBlock($par1World, $par2, $par3, var$12, $par4, $var7, $var9); if ($rt_suspending()) { break main; } $par4 = 0; $var7 = 0; $var9 = 2; $ptr = 13; case 13: nms_World_setBlock($par1World, $par2, var$8, var$10, $par4, $var7, $var9); if ($rt_suspending()) { break main; } $par4 = 0; $var7 = 0; $var9 = 2; $ptr = 14; case 14: nms_World_setBlock($par1World, $par2, var$8, var$11, $par4, $var7, $var9); if ($rt_suspending()) { break main; } $par4 = 0; $var7 = 0; $var9 = 2; $ptr = 15; case 15: nms_World_setBlock($par1World, $par2, var$8, var$12, $par4, $var7, $var9); if ($rt_suspending()) { break main; } $par4 = 0; $var7 = 0; $var9 = 2; $ptr = 16; case 16: nms_World_setBlock($par1World, $par2, var$9, var$11, $par4, $var7, $var9); if ($rt_suspending()) { break main; } if ($par1World.$isRemote) { $var9_0 = 0; var$16 = $par2; var$15 = 22; $var9 = 21; var$17 = var$9; while ($var9_0 < 120) { $var8 = $rt_s(1491); $par5TileEntitySkull = $par1World.$rand0; var$19 = Long_and(Long_add(Long_mul($par5TileEntitySkull.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, var$15))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$21 = var$16 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$19, $var9))))) * 1.1102230246251565E-16; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, var$15))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$22 = var$17 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$19, $var9))))) * 1.1102230246251565E-16 * 3.9; var$23 = var$11; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, var$15))), 27); var$24 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$24; var$25 = var$23 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$24, $var9))))) * 1.1102230246251565E-16; var$26 = 0.0; var$23 = 0.0; var$27 = 0.0; $par4 = 0; $par5TileEntitySkull = $par1World.$worldAccesses; $var7 = $rt_compare($par4, $par5TileEntitySkull.$size0); if ($var7 < 0) { if ($par4 >= 0 && $var7 < 0) { $par5TileEntitySkull = $par5TileEntitySkull.$array.data[$par4]; $ptr = 33; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var9_0 = $var9_0 + 1 | 0; } $var7 = 0; $var6 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 29; continue main; } } var$28 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 32; continue main; } } $var9_0 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 35; continue main; } } var$29 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 40; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 44; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 46; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 48; continue main; } } $var9 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 50; continue main; } } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; } $var8 = new nms_EntityWither; $ptr = 17; case 17: nms_EntityWither__init_($var8, $par1World); if ($rt_suspending()) { break main; } var$25 = $par2 + 0.5; var$26 = $par3 - 1.45; var$16 = var$10 + 1.5; $var8.$posX = var$25; $var8.$prevPosX = var$25; $var8.$lastTickPosX = var$25; var$26 = var$26 + $var8.$yOffset; $var8.$posY = var$26; $var8.$prevPosY = var$26; $var8.$lastTickPosY = var$26; $var8.$posZ = var$16; $var8.$prevPosZ = var$16; $var8.$lastTickPosZ = var$16; $var8.$rotationYaw = 90.0; $var8.$rotationPitch = 0.0; nms_Entity_setPosition($var8, var$25, var$26, var$16); $var8.$renderYawOffset = 90.0; $par5TileEntitySkull = $var8.$dataWatcher; $var8_0 = new jl_Integer; $var8_0.$value0 = 220; var$33 = $par5TileEntitySkull.$watchedObjects; jl_Integer_ensureIntegerCache(); var$34 = jl_Integer_integerCache.data[148]; if (var$34 === null) { var$33 = var$33.$elementData.data[0]; while (var$33 !== null && var$33.$key !== null) { var$33 = var$33.$next3; } } else { $var9 = var$34.$value0; var$35 = var$33.$elementData.data; var$33 = var$35[$var9 & (var$35.length - 1 | 0)]; while (var$33 !== null) { if (var$33.$origKeyHash == $var9) { var$36 = var$33.$key; if (var$34 !== var$36 && !jl_Integer_equals(var$34, var$36) ? 0 : 1) break; } var$33 = var$33.$next3; } } var$36 = var$33 === null ? null : var$33.$value1; var$33 = var$36.$watchedObject; if (!($var8_0 === var$33 ? 1 : var$33 instanceof jl_Integer && var$33.$value0 == $var8_0.$value0 ? 1 : 0)) { var$36.$watchedObject = $var8_0; var$36.$watched = 1; $par5TileEntitySkull.$objectChanged = 1; } $par5TileEntitySkull = nms_SharedMonsterAttributes_maxHealth; if ($var8.$attributeMap === null) $var8.$attributeMap = nms_ServersideAttributeMap__init_(); var$33 = $var8.$attributeMap.$attributes; if ($par5TileEntitySkull === null) $par5TileEntitySkull = ju_HashMap_findNullKeyEntry(var$33); else { $var7 = nms_BaseAttribute_hashCode($par5TileEntitySkull); $par5TileEntitySkull = ju_HashMap_findNonNullKeyEntry(var$33, $par5TileEntitySkull, $var7 & (var$33.$elementData.data.length - 1 | 0), $var7); } $par5TileEntitySkull = $par5TileEntitySkull === null ? null : $par5TileEntitySkull.$value1; if ($par5TileEntitySkull.$field_111133_g) { $par5TileEntitySkull.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($par5TileEntitySkull); $par5TileEntitySkull.$field_111133_g = 0; } var$37 = $par5TileEntitySkull.$field_111139_h / 3.0; $par5TileEntitySkull = $var8.$dataWatcher; var$38 = 0.0; var$33 = nms_SharedMonsterAttributes_maxHealth; if ($var8.$attributeMap === null) $var8.$attributeMap = nms_ServersideAttributeMap__init_(); var$33 = ju_HashMap_entryByKey($var8.$attributeMap.$attributes, var$33); var$33 = var$33 === null ? null : var$33.$value1; if (var$33.$field_111133_g) { var$33.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$33); var$33.$field_111133_g = 0; } var$39 = var$33.$field_111139_h; if (var$37 >= var$38) var$38 = var$37 <= var$39 ? var$37 : var$39; $var8_0 = new jl_Float; $var8_0.$value3 = var$38; var$33 = $par5TileEntitySkull.$watchedObjects; jl_Integer_ensureIntegerCache(); var$34 = jl_Integer_integerCache.data[134]; if (var$34 !== null) { $var9 = var$34.$value0; var$35 = var$33.$elementData.data; var$33 = var$35[$var9 & (var$35.length - 1 | 0)]; while (var$33 !== null) { if (var$33.$origKeyHash == $var9) { var$36 = var$33.$key; if (var$34 !== var$36 && !jl_Integer_equals(var$34, var$36) ? 0 : 1) break; } var$33 = var$33.$next3; } } else { var$33 = var$33.$elementData.data[0]; while (var$33 !== null && var$33.$key !== null) { var$33 = var$33.$next3; } } var$36 = var$33 === null ? null : var$33.$value1; var$33 = var$36.$watchedObject; if ($var8_0 === var$33) $par4 = 1; else d: { if (var$33 instanceof jl_Float) { var$37 = $var8_0.$value3; var$38 = var$33.$value3; if (var$37 !== var$37 ? (var$38 === var$38 ? 0 : 1) : $rt_floatToRawIntBits(var$37) != $rt_floatToRawIntBits(var$38) ? 0 : 1) { $par4 = 1; break d; } } $par4 = 0; } if (!$par4) { var$36.$watchedObject = $var8_0; var$36.$watched = 1; $par5TileEntitySkull.$objectChanged = 1; } $par4 = nms_World_spawnEntityInWorld($par1World, $var8); $par5TileEntitySkull = $par1World.$entityList; ju_HashMap_putImpl($par5TileEntitySkull.$backingMap, $var8, $par5TileEntitySkull); if (!$par4) { $par5TileEntitySkull = $par1World.$entitySpawnQueue; ju_HashMap_putImpl($par5TileEntitySkull.$backingMap, $var8, $par5TileEntitySkull); } $var9_0 = 0; var$16 = $par2; var$15 = 22; $var9 = 21; var$17 = var$9; while ($var9_0 < 120) { $var8 = $rt_s(1491); $par5TileEntitySkull = $par1World.$rand0; var$19 = Long_and(Long_add(Long_mul($par5TileEntitySkull.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, var$15))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$21 = var$16 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$19, $var9))))) * 1.1102230246251565E-16; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, var$15))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$22 = var$17 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$19, $var9))))) * 1.1102230246251565E-16 * 3.9; var$23 = var$11; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, var$15))), 27); var$24 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$24; var$25 = var$23 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$24, $var9))))) * 1.1102230246251565E-16; var$26 = 0.0; var$23 = 0.0; var$27 = 0.0; $par4 = 0; $par5TileEntitySkull = $par1World.$worldAccesses; $var7 = $rt_compare($par4, $par5TileEntitySkull.$size0); if ($var7 < 0) { if ($par4 >= 0 && $var7 < 0) { $par5TileEntitySkull = $par5TileEntitySkull.$array.data[$par4]; $ptr = 33; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var9_0 = $var9_0 + 1 | 0; } $var7 = 0; $var6 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 29; continue main; } } var$28 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 32; continue main; } } $var9_0 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 35; continue main; } } var$29 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 40; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 44; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 46; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 48; continue main; } } $var9 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 50; continue main; } } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 18: nms_World_setBlockMetadataWithNotify($par1World, var$12, $par3, $par4, $par2, $var7); if ($rt_suspending()) { break main; } $par2 = 8; $var7 = 2; $ptr = 19; case 19: nms_World_setBlockMetadataWithNotify($par1World, $var9_0, $par3, $par4, $par2, $var7); if ($rt_suspending()) { break main; } $par2 = 8; $var7 = 2; $ptr = 20; case 20: nms_World_setBlockMetadataWithNotify($par1World, var$10, $par3, $par4, $par2, $var7); if ($rt_suspending()) { break main; } $var7 = 0; $var9 = 0; $par2 = 2; $ptr = 21; case 21: nms_World_setBlock($par1World, var$12, $par3, $par4, $var7, $var9, $par2); if ($rt_suspending()) { break main; } $par2 = 0; $var7 = 0; $var9 = 2; $ptr = 22; case 22: nms_World_setBlock($par1World, $var9_0, $par3, $par4, $par2, $var7, $var9); if ($rt_suspending()) { break main; } $par2 = 0; $var7 = 0; $var9 = 2; $ptr = 23; case 23: nms_World_setBlock($par1World, var$10, $par3, $par4, $par2, $var7, $var9); if ($rt_suspending()) { break main; } $par2 = 0; $var7 = 0; $var9 = 2; $ptr = 24; case 24: nms_World_setBlock($par1World, var$12, var$8, $par4, $par2, $var7, $var9); if ($rt_suspending()) { break main; } $par2 = 0; $var7 = 0; $var9 = 2; $ptr = 25; case 25: nms_World_setBlock($par1World, $var9_0, var$8, $par4, $par2, $var7, $var9); if ($rt_suspending()) { break main; } $par2 = 0; $var7 = 0; $var9 = 2; $ptr = 26; case 26: nms_World_setBlock($par1World, var$10, var$8, $par4, $par2, $var7, $var9); if ($rt_suspending()) { break main; } $par2 = 0; $var7 = 0; $var9 = 2; $ptr = 27; case 27: nms_World_setBlock($par1World, $var9_0, var$9, $par4, $par2, $var7, $var9); if ($rt_suspending()) { break main; } if ($par1World.$isRemote) { $var9 = 0; while ($var9 < 120) { $par5TileEntitySkull = $rt_s(1491); var$25 = $var9_0; $var8 = $par1World.$rand0; var$19 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$16 = var$25 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$19, 21))))) * 1.1102230246251565E-16; var$26 = var$9; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$21 = var$26 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$19, 21))))) * 1.1102230246251565E-16 * 3.9; var$25 = $par4; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$24 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$24; var$17 = var$25 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$24, 21))))) * 1.1102230246251565E-16; var$22 = 0.0; var$25 = 0.0; var$26 = 0.0; $par2 = 0; $var8 = $par1World.$worldAccesses; $var7 = $rt_compare($par2, $var8.$size0); if ($var7 < 0) { if ($par2 >= 0 && $var7 < 0) { $var8 = $var8.$array.data[$par2]; $ptr = 37; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var9 = $var9 + 1 | 0; } $var9 = 0; $var7 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 36; continue main; } } var$30 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 39; continue main; } } var$28 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 41; continue main; } } var$29 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 43; continue main; } } $var9 = 0; var$11 = $var9_0 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 45; continue main; } } $var6 = $var9_0 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 47; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; } $var8_0 = new nms_EntityWither; $ptr = 28; case 28: nms_EntityWither__init_($var8_0, $par1World); if ($rt_suspending()) { break main; } var$26 = var$12 + 1.5; var$16 = $par3 - 1.45; var$21 = $par4 + 0.5; $var8_0.$posX = var$26; $var8_0.$prevPosX = var$26; $var8_0.$lastTickPosX = var$26; var$25 = var$16 + $var8_0.$yOffset; $var8_0.$posY = var$25; $var8_0.$prevPosY = var$25; $var8_0.$lastTickPosY = var$25; $var8_0.$posZ = var$21; $var8_0.$prevPosZ = var$21; $var8_0.$lastTickPosZ = var$21; $var8_0.$rotationYaw = 0.0; $var8_0.$rotationPitch = 0.0; nms_Entity_setPosition($var8_0, var$26, var$25, var$21); $par5TileEntitySkull = $var8_0.$dataWatcher; var$34 = new jl_Integer; var$34.$value0 = 220; $var8 = $par5TileEntitySkull.$watchedObjects; jl_Integer_ensureIntegerCache(); var$36 = jl_Integer_integerCache.data[148]; if (var$36 !== null) { $var9 = var$36.$value0; var$35 = $var8.$elementData.data; $var8 = var$35[$var9 & (var$35.length - 1 | 0)]; while ($var8 !== null) { if ($var8.$origKeyHash == $var9) { var$33 = $var8.$key; if (var$36 !== var$33 && !jl_Integer_equals(var$36, var$33) ? 0 : 1) break; } $var8 = $var8.$next3; } } else { $var8 = $var8.$elementData.data[0]; while ($var8 !== null && $var8.$key !== null) { $var8 = $var8.$next3; } } var$33 = $var8 === null ? null : $var8.$value1; $var8 = var$33.$watchedObject; if (!(var$34 !== $var8 ? ($var8 instanceof jl_Integer && $var8.$value0 == var$34.$value0 ? 1 : 0) : 1)) { var$33.$watchedObject = var$34; var$33.$watched = 1; $par5TileEntitySkull.$objectChanged = 1; } $var8 = nms_SharedMonsterAttributes_maxHealth; if ($var8_0.$attributeMap === null) $var8_0.$attributeMap = nms_ServersideAttributeMap__init_(); $par5TileEntitySkull = $var8_0.$attributeMap.$attributes; if ($var8 === null) $par5TileEntitySkull = ju_HashMap_findNullKeyEntry($par5TileEntitySkull); else { $var7 = nms_BaseAttribute_hashCode($var8); $par5TileEntitySkull = ju_HashMap_findNonNullKeyEntry($par5TileEntitySkull, $var8, $var7 & ($par5TileEntitySkull.$elementData.data.length - 1 | 0), $var7); } $par5TileEntitySkull = $par5TileEntitySkull === null ? null : $par5TileEntitySkull.$value1; if ($par5TileEntitySkull.$field_111133_g) { $par5TileEntitySkull.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($par5TileEntitySkull); $par5TileEntitySkull.$field_111133_g = 0; } var$37 = $par5TileEntitySkull.$field_111139_h / 3.0; $par5TileEntitySkull = $var8_0.$dataWatcher; var$38 = 0.0; $var8 = nms_SharedMonsterAttributes_maxHealth; if ($var8_0.$attributeMap === null) $var8_0.$attributeMap = nms_ServersideAttributeMap__init_(); $var8 = ju_HashMap_entryByKey($var8_0.$attributeMap.$attributes, $var8); $var8 = $var8 === null ? null : $var8.$value1; if ($var8.$field_111133_g) { $var8.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var8); $var8.$field_111133_g = 0; } var$39 = $var8.$field_111139_h; if (var$37 >= var$38) var$38 = var$37 <= var$39 ? var$37 : var$39; var$34 = new jl_Float; var$34.$value3 = var$38; $var8 = $par5TileEntitySkull.$watchedObjects; jl_Integer_ensureIntegerCache(); var$36 = jl_Integer_integerCache.data[134]; if (var$36 !== null) { $var9 = var$36.$value0; var$35 = $var8.$elementData.data; $var8 = var$35[$var9 & (var$35.length - 1 | 0)]; while ($var8 !== null) { if ($var8.$origKeyHash == $var9) { var$33 = $var8.$key; if (var$36 !== var$33 && !jl_Integer_equals(var$36, var$33) ? 0 : 1) break; } $var8 = $var8.$next3; } } else { $var8 = $var8.$elementData.data[0]; while ($var8 !== null && $var8.$key !== null) { $var8 = $var8.$next3; } } var$33 = $var8 === null ? null : $var8.$value1; $var8 = var$33.$watchedObject; if (var$34 === $var8) $par2 = 1; else e: { if ($var8 instanceof jl_Float) { var$37 = var$34.$value3; var$38 = $var8.$value3; if (var$37 !== var$37 ? (var$38 === var$38 ? 0 : 1) : $rt_floatToRawIntBits(var$37) != $rt_floatToRawIntBits(var$38) ? 0 : 1) { $par2 = 1; break e; } } $par2 = 0; } if (!$par2) { var$33.$watchedObject = var$34; var$33.$watched = 1; $par5TileEntitySkull.$objectChanged = 1; } $par2 = nms_World_spawnEntityInWorld($par1World, $var8_0); $par5TileEntitySkull = $par1World.$entityList; ju_HashMap_putImpl($par5TileEntitySkull.$backingMap, $var8_0, $par5TileEntitySkull); if (!$par2) { $par5TileEntitySkull = $par1World.$entitySpawnQueue; ju_HashMap_putImpl($par5TileEntitySkull.$backingMap, $var8_0, $par5TileEntitySkull); } $var9 = 0; while ($var9 < 120) { $par5TileEntitySkull = $rt_s(1491); var$25 = $var9_0; $var8 = $par1World.$rand0; var$19 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$16 = var$25 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$19, 21))))) * 1.1102230246251565E-16; var$26 = var$9; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$21 = var$26 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$19, 21))))) * 1.1102230246251565E-16 * 3.9; var$25 = $par4; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$24 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$24; var$17 = var$25 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$24, 21))))) * 1.1102230246251565E-16; var$22 = 0.0; var$25 = 0.0; var$26 = 0.0; $par2 = 0; $var8 = $par1World.$worldAccesses; $var7 = $rt_compare($par2, $var8.$size0); if ($var7 < 0) { if ($par2 >= 0 && $var7 < 0) { $var8 = $var8.$array.data[$par2]; $ptr = 37; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var9 = $var9 + 1 | 0; } $var9 = 0; $var7 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 36; continue main; } } var$30 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 39; continue main; } } var$28 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 41; continue main; } } var$29 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 43; continue main; } } $var9 = 0; var$11 = $var9_0 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 45; continue main; } } $var6 = $var9_0 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 47; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 29: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var6, $par3, var$10, $var7); if ($rt_suspending()) { break main; } var$28 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 32; continue main; } } $var9_0 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 35; continue main; } } var$29 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 40; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 44; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 46; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 48; continue main; } } $var9 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 50; continue main; } } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 30: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$28, $par3, var$10, $var7); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 32; continue main; } } $var9_0 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 35; continue main; } } var$29 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 40; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 44; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 46; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 48; continue main; } } $var9 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 50; continue main; } } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 31: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var7, $par3, $par4, $var9); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 36; continue main; } } var$30 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 39; continue main; } } var$28 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 41; continue main; } } var$29 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 43; continue main; } } $var9 = 0; var$11 = $var9_0 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 45; continue main; } } $var6 = $var9_0 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 47; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 32: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, var$8, var$10, $var7); if ($rt_suspending()) { break main; } $var9_0 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 35; continue main; } } var$29 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 40; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 44; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 46; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 48; continue main; } } $var9 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 50; continue main; } } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 33: nms_RenderGlobal_doSpawnParticle($par5TileEntitySkull, $var8, var$21, var$22, var$25, var$26, var$23, var$27); if ($rt_suspending()) { break main; } $par4 = $par4 + 1 | 0; while (true) { $par5TileEntitySkull = $par1World.$worldAccesses; $var7 = $rt_compare($par4, $par5TileEntitySkull.$size0); if ($var7 < 0) { if ($par4 >= 0 && $var7 < 0) { $par5TileEntitySkull = $par5TileEntitySkull.$array.data[$par4]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var9_0 = $var9_0 + 1 | 0; if ($var9_0 >= 120) break; $var8 = $rt_s(1491); $par5TileEntitySkull = $par1World.$rand0; var$19 = Long_and(Long_add(Long_mul($par5TileEntitySkull.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, var$15))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$21 = var$16 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$19, $var9))))) * 1.1102230246251565E-16; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, var$15))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$22 = var$17 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$19, $var9))))) * 1.1102230246251565E-16 * 3.9; var$23 = var$11; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, var$15))), 27); var$24 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par5TileEntitySkull.$seed = var$24; var$25 = var$23 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$24, $var9))))) * 1.1102230246251565E-16; var$26 = 0.0; var$23 = 0.0; var$27 = 0.0; $par4 = 0; } $var7 = 0; $var6 = $par2 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 29; continue main; } } var$28 = $par2 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 30; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 32; continue main; } } $var9_0 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 35; continue main; } } var$29 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 40; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 44; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 46; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 48; continue main; } } $var9 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 50; continue main; } } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 34: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, $par3, $par4, $var9); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 36; continue main; } } var$30 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 39; continue main; } } var$28 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 41; continue main; } } var$29 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 43; continue main; } } $var9 = 0; var$11 = $var9_0 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 45; continue main; } } $var6 = $var9_0 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 47; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 35: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $var9_0, var$10, $var7); if ($rt_suspending()) { break main; } var$29 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 38; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 40; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 44; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 46; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 48; continue main; } } $var9 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 50; continue main; } } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 36: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$12, var$8, $par4, $var9); if ($rt_suspending()) { break main; } var$30 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 39; continue main; } } var$28 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 41; continue main; } } var$29 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 43; continue main; } } $var9 = 0; var$11 = $var9_0 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 45; continue main; } } $var6 = $var9_0 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 47; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 37: nms_RenderGlobal_doSpawnParticle($var8, $par5TileEntitySkull, var$16, var$21, var$17, var$22, var$25, var$26); if ($rt_suspending()) { break main; } $par2 = $par2 + 1 | 0; while (true) { $var8 = $par1World.$worldAccesses; $var7 = $rt_compare($par2, $var8.$size0); if ($var7 < 0) { if ($par2 >= 0 && $var7 < 0) { $var8 = $var8.$array.data[$par2]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } $var9 = $var9 + 1 | 0; if ($var9 >= 120) break; $par5TileEntitySkull = $rt_s(1491); var$25 = $var9_0; $var8 = $par1World.$rand0; var$19 = Long_and(Long_add(Long_mul($var8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$16 = var$25 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$19, 21))))) * 1.1102230246251565E-16; var$26 = var$9; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$21 = var$26 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$19, 21))))) * 1.1102230246251565E-16 * 3.9; var$25 = $par4; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$19; var$20 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$19, 22))), 27); var$24 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var8.$seed = var$24; var$17 = var$25 + Long_toNumber(Long_add(var$20, Long_fromInt(Long_lo(Long_shru(var$24, 21))))) * 1.1102230246251565E-16; var$22 = 0.0; var$25 = 0.0; var$26 = 0.0; $par2 = 0; } $var9 = 0; $var7 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 31; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 34; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 36; continue main; } } var$30 = $par3 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 39; continue main; } } var$28 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 41; continue main; } } var$29 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 43; continue main; } } $var9 = 0; var$11 = $var9_0 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 45; continue main; } } $var6 = $var9_0 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 47; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 38: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $par3, var$29, $var7); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 40; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 44; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 46; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 48; continue main; } } $var9 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 50; continue main; } } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 39: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$12, var$30, $par4, $var9); if ($rt_suspending()) { break main; } var$28 = $par4 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 41; continue main; } } var$29 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 43; continue main; } } $var9 = 0; var$11 = $var9_0 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 45; continue main; } } $var6 = $var9_0 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 47; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 40: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $par3, var$11, $var7); if ($rt_suspending()) { break main; } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 42; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 44; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 46; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 48; continue main; } } $var9 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 50; continue main; } } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 41: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$12, $par3, var$28, $var9); if ($rt_suspending()) { break main; } var$29 = $par4 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 43; continue main; } } $var9 = 0; var$11 = $var9_0 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 45; continue main; } } $var6 = $var9_0 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 47; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 42: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var6, $par3, var$11, $var7); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 44; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 46; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 48; continue main; } } $var9 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 50; continue main; } } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 43: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$12, $par3, var$29, $var9); if ($rt_suspending()) { break main; } $var9 = 0; var$11 = $var9_0 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 45; continue main; } } $var6 = $var9_0 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 47; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 44: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$28, $par3, var$11, $var7); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 46; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 48; continue main; } } $var9 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 50; continue main; } } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 45: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$11, $par3, $par4, $var9); if ($rt_suspending()) { break main; } $var6 = $var9_0 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 47; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 46: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, var$8, var$11, $var7); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 48; continue main; } } $var9 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 50; continue main; } } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 47: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var6, $par3, $par4, $var9); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 49; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 48: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $var9_0, var$11, $var7); if ($rt_suspending()) { break main; } $var9 = var$11 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 50; continue main; } } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 49: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, var$8, $par4, $var9); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 51; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 50: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $par3, $var9, $var7); if ($rt_suspending()) { break main; } var$15 = var$11 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 52; continue main; } } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 51: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, var$30, $par4, $var9); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 53; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 52: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $par3, var$15, $var7); if ($rt_suspending()) { break main; } $var7 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 54; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 53: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, $par3, var$28, $var9); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 55; continue main; } } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 54: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var6, $par3, var$12, $var7); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, $par3, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 56; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 55: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, $par3, var$29, $var9); if ($rt_suspending()) { break main; } var$31 = 0; $var9 = var$10 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 57; continue main; } } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 56: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$28, $par3, var$12, $var7); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 58; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 57: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9, $par3, $par4, var$31); if ($rt_suspending()) { break main; } var$15 = var$10 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 59; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 58: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, var$8, var$12, $var7); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var9_0, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 60; continue main; } } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 59: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$15, $par3, $par4, var$31); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 61; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 60: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $var9_0, var$12, $var7); if ($rt_suspending()) { break main; } $var9_0 = var$12 - 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 62; continue main; } } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 61: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$10, var$8, $par4, var$31); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$30, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 63; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 62: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $par3, $var9_0, $var7); if ($rt_suspending()) { break main; } var$30 = var$12 + 1 | 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $par3, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 64; continue main; } } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 63: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$10, var$30, $par4, var$31); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 65; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 64: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $par3, var$30, $var7); if ($rt_suspending()) { break main; } var$31 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 66; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 65: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$10, $par3, var$28, var$31); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 67; continue main; } } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 66: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var6, var$8, var$10, var$31); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 68; continue main; } } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 67: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$10, $par3, var$29, var$31); if ($rt_suspending()) { break main; } var$30 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var7, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 69; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 68: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$28, var$8, var$10, var$31); if ($rt_suspending()) { break main; } $par4 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 70; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 69: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var7, var$8, $par4, var$30); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 71; continue main; } } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 70: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $par4, var$10, var$31); if ($rt_suspending()) { break main; } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$10); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 72; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 71: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, var$8, $par4, var$30); if ($rt_suspending()) { break main; } $par3 = var$8 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 73; continue main; } } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 72: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $var7, var$10, var$31); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 74; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 73: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$12, $par3, $par4, var$30); if ($rt_suspending()) { break main; } $var7 = var$8 + 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 75; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 74: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, var$8, var$29, var$31); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 76; continue main; } } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 75: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$12, $var7, $par4, var$30); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 77; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 76: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, var$8, var$11, var$31); if ($rt_suspending()) { break main; } var$29 = 0; if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $var6, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 78; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 77: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$12, var$8, var$28, var$30); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$12, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 79; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 78: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var6, var$8, var$11, var$29); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, var$28, var$8, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 80; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 79: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$12, var$8, var$29, var$30); if ($rt_suspending()) { break main; } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 81; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 80: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$28, var$8, var$11, var$29); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 82; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 81: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$11, var$8, $par4, var$12); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 83; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 82: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $par4, var$11, var$29); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, $var7, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 84; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 83: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var6, var$8, $par4, var$12); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 85; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 84: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $var7, var$11, var$29); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 86; continue main; } } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 85: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, $par3, $par4, var$12); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 87; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 86: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, var$8, $var9, var$29); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par3 = nms_World_getBlockId($par1World, $par2, var$8, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par3]; if ($par5TileEntitySkull !== null) { $ptr = 88; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 87: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, $var7, $par4, var$12); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 89; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 88: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, var$8, var$15, var$29); if ($rt_suspending()) { break main; } $par3 = 0; if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $var6, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 90; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 89: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, var$8, var$28, var$12); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 91; continue main; } } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 90: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var6, var$8, var$12, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, var$28, var$8, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 92; continue main; } } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 91: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, var$8, var$29, var$12); if ($rt_suspending()) { break main; } var$12 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 93; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 92: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$28, var$8, var$12, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { var$29 = nms_World_getBlockId($par1World, $par2, $par4, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[var$29]; if ($par5TileEntitySkull !== null) { $ptr = 94; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 93: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9, var$8, $par4, var$12); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$15, var$8, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 95; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 94: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $par4, var$12, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, $var7, var$12); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 96; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 95: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$15, var$8, $par4, var$12); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $par3, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 97; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 96: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $var7, var$12, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, $var9_0); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 98; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 97: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$10, $par3, $par4, var$12); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 99; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 98: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, var$8, $var9_0, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$8, var$30); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 100; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 99: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$10, $var7, $par4, var$12); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 101; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 100: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, var$8, var$30, $par3); if ($rt_suspending()) { break main; } $par3 = 0; if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $var6, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 102; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 101: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$10, var$8, var$28, var$12); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$10, var$8, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 103; continue main; } } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 102: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var6, var$9, var$11, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, var$28, var$9, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 104; continue main; } } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 103: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$10, var$8, var$29, var$12); if ($rt_suspending()) { break main; } $par3 = 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, var$11, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 105; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 104: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$28, var$9, var$11, $par3); if ($rt_suspending()) { break main; } $par4 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 106; continue main; } } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 105: $par5TileEntitySkull.$onNeighborBlockChange($par1World, var$11, var$9, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var6, var$9, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 107; continue main; } } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 106: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $par4, var$11, $par3); if ($rt_suspending()) { break main; } $par4 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $par2, $par4, var$11); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 108; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 107: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var6, var$9, $par4, $par3); if ($rt_suspending()) { break main; } $var7 = var$9 - 1 | 0; if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, $var7, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 109; continue main; } } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 108: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, $par4, var$11, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, $var9); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 110; continue main; } } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 109: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, $var7, $par4, $par3); if ($rt_suspending()) { break main; } $par2 = var$9 + 1 | 0; if (!$par1World.$isRemote) { $var7 = nms_World_getBlockId($par1World, $var9_0, $par2, $par4); $par5TileEntitySkull = nms_Block_blocksList.data[$var7]; if ($par5TileEntitySkull !== null) { $ptr = 111; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 110: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, var$9, $var9, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par4 = nms_World_getBlockId($par1World, $par2, var$9, var$15); $par5TileEntitySkull = nms_Block_blocksList.data[$par4]; if ($par5TileEntitySkull !== null) { $ptr = 112; continue main; } } return; case 111: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, $par2, $par4, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$28); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 113; continue main; } } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 112: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $par2, var$9, var$15, $par3); if ($rt_suspending()) { break main; } return; case 113: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, var$9, var$28, $par3); if ($rt_suspending()) { break main; } if (!$par1World.$isRemote) { $par2 = nms_World_getBlockId($par1World, $var9_0, var$9, var$29); $par5TileEntitySkull = nms_Block_blocksList.data[$par2]; if ($par5TileEntitySkull !== null) { $ptr = 114; continue main; } } return; case 114: $par5TileEntitySkull.$onNeighborBlockChange($par1World, $var9_0, var$9, var$29, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5TileEntitySkull, $var6, $var7, var$8, var$9, var$10, var$11, var$12, $var9, $var9_0, var$15, var$16, var$17, $var8, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, $var8_0, var$33, var$34, var$35, var$36, var$37, var$38, var$39, $ptr); }, nms_BlockSkull_registerIcons = ($this, $par1IconRegister) => { return; }, nms_BlockSkull_getIcon = ($this, $par1, $par2) => { nms_Block_$callClinit(); return nms_Block_slowSand.$getIcon($par1, 0); }, nms_BlockSkull_getItemIconName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$textureName; if (var$1 === null) { var$2 = $this.$blockID; var$1 = $this.$unlocalizedName; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$2, 10); var$4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$4, var$4 + 1 | 0); var$3.$buffer.data[var$4] = 95; var$2 = var$3.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$2, var$1); var$1 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$4 = var$3.$length0; var$7 = var$6.length; if (var$4 >= 0 && var$4 <= (var$7 - 0 | 0)) var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4); else { var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } } var$3 = nms_ItemSkull_field_94587_a.data[0]; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, var$1); var$4 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$4, var$4 + 1 | 0); var$8.$buffer.data[var$4] = 95; var$2 = var$8.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$2, var$3); var$1 = new jl_String; var$5 = var$8.$buffer; var$6 = var$5.data; var$4 = var$8.$length0; var$7 = var$6.length; if (var$4 >= 0 && var$4 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }; function nms_BlockAnvil() { let a = this; nms_BlockSand.call(a); a.$field_82521_b = 0; a.$iconArray8 = null; } let nms_BlockAnvil_statuses = null, nms_BlockAnvil_anvilIconNames = null, nms_BlockAnvil__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_anvil); nms_Block_lightOpacity.data[$this.$blockID] = 0; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; }, nms_BlockAnvil__init_0 = var_0 => { let var_1 = new nms_BlockAnvil(); nms_BlockAnvil__init_(var_1, var_0); return var_1; }, nms_BlockAnvil_renderAsNormalBlock = $this => { return 0; }, nms_BlockAnvil_isOpaqueCube = $this => { return 0; }, nms_BlockAnvil_getIcon = ($this, $par1, $par2) => { let var$3; if ($this.$field_82521_b == 3 && $par1 == 1) { $par1 = $par2 >> 2; var$3 = $this.$iconArray8.data; return var$3[$par1 % var$3.length | 0]; } return $this.$blockIcon; }, nms_BlockAnvil_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3; $this.$blockIcon = $par1IconRegister.$registerIcon($rt_s(3104), 1); $this.$iconArray8 = $rt_createArray(nms_Icon, nms_BlockAnvil_anvilIconNames.data.length); $var2 = 0; while (true) { var$3 = $this.$iconArray8.data; if ($var2 >= var$3.length) break; var$3[$var2] = $par1IconRegister.$registerIcon(nms_BlockAnvil_anvilIconNames.data[$var2], 1); $var2 = $var2 + 1 | 0; } }, nms_BlockAnvil_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, var$8, $var7, $var8, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par5EntityLivingBase.$rotationYaw * 4.0 / 360.0 + 0.5; var$8 = var$7 | 0; if (var$7 < var$8) var$8 = var$8 - 1 | 0; $var7 = var$8 & 3; $var8 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4) >> 2; $var7 = ($var7 + 1 | 0) % 4 | 0; if (!$var7) { var$8 = 2 | $var8 << 2; var$11 = 2; $ptr = 1; continue main; } if ($var7 == 1) { var$8 = 3 | $var8 << 2; var$11 = 2; $ptr = 2; continue main; } if ($var7 == 2) { var$8 = 0 | $var8 << 2; var$11 = 2; $ptr = 3; continue main; } if ($var7 != 3) return; $var7 = 1 | $var8 << 2; var$8 = 2; $ptr = 4; continue main; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$8, var$11); if ($rt_suspending()) { break main; } if ($var7 == 1) { var$8 = 3 | $var8 << 2; var$11 = 2; $ptr = 2; continue main; } if ($var7 == 2) { var$8 = 0 | $var8 << 2; var$11 = 2; $ptr = 3; continue main; } if ($var7 != 3) return; $var7 = 1 | $var8 << 2; var$8 = 2; $ptr = 4; continue main; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$8, var$11); if ($rt_suspending()) { break main; } if ($var7 == 2) { var$8 = 0 | $var8 << 2; var$11 = 2; $ptr = 3; continue main; } if ($var7 != 3) return; $var7 = 1 | $var8 << 2; var$8 = 2; $ptr = 4; continue main; case 3: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$8, var$11); if ($rt_suspending()) { break main; } if ($var7 != 3) return; $var7 = 1 | $var8 << 2; var$8 = 2; $ptr = 4; case 4: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var7, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, var$8, $var7, $var8, var$11, $ptr); }, nms_BlockAnvil_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; var$10 = $par5EntityPlayer.$mc4; $par1World = new nms_GuiRepair; var$11 = $par5EntityPlayer.$inventory; var$12 = $par5EntityPlayer.$worldObj; nms_GuiRepair_$callClinit(); var$13 = nms_ContainerRepair__init_(var$11, var$12, $par2, $par3, $par4, nms_Minecraft_theMinecraft.$thePlayer); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $par5EntityPlayer = new ju_ArrayList; jl_Object__init_($par5EntityPlayer); $par5EntityPlayer.$array = $rt_createArray(jl_Object, 10); $par1World.$buttonList = $par5EntityPlayer; $par1World.$allowUserInput = 0; $par1World.$selectedButton = null; $par1World.$eventButton = 0; $par1World.$field_85043_c = Long_ZERO; $par1World.$field_92018_d = 0; $par1World.$xSize = 176; $par1World.$ySize = 166; $par5EntityPlayer = new ju_HashSet; var$12 = new ju_HashMap; jl_Object__init_(var$12); $par2 = ju_HashMap_calculateCapacity(16); var$12.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$15 = var$14.data; var$12.$elementData = var$14; var$12.$loadFactor = 0.75; var$12.$threshold = var$15.length * 0.75 | 0; $par5EntityPlayer.$backingMap = var$12; $par1World.$field_94077_p = $par5EntityPlayer; $par1World.$inventorySlots0 = var$13; $par1World.$field_94068_E = 1; $par1World.$field_82325_q = var$11; $par1World.$repairContainer = var$13; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$10, $par1World); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_BlockAnvil_getRenderType = $this => { return 35; }, nms_BlockAnvil_damageDropped = ($this, $par1) => { return $par1 >> 2; }, nms_BlockAnvil_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { let $var5; $var5 = $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4) & 3; if ($var5 != 3 && $var5 != 1) { $this.$minX0 = 0.125; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.875; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; } else { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.125; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.875; } }, nms_BlockAnvil_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let var$4, var$5, var$6, var$7; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$6 = var$5 + 1 | 0; $par3List.$size0 = var$6; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 1; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; var$6 = var$7 + 1 | 0; $par3List.$size0 = var$6; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 2; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; }, nms_BlockAnvil_onFinishFalling = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = 1022; var$7 = 0; var$8 = null; var$9 = 0; var$10 = $par1World.$worldAccesses; $par5 = $rt_compare(var$9, var$10.$size0); if ($par5 >= 0) return; if (var$9 >= 0 && $par5 < 0) { var$10 = var$10.$array.data[var$9]; $ptr = 1; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); case 1: nms_RenderGlobal_playAuxSFX(var$10, var$8, var$6, $par2, $par3, $par4, var$7); if ($rt_suspending()) { break main; } var$9 = var$9 + 1 | 0; var$10 = $par1World.$worldAccesses; $par5 = $rt_compare(var$9, var$10.$size0); if ($par5 >= 0) return; if (var$9 >= 0 && $par5 < 0) { var$10 = var$10.$array.data[var$9]; continue main; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1World); $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_BlockAnvil_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return 1; }, nms_BlockAnvil__clinit_ = () => { nms_BlockAnvil_statuses = $rt_wrapArray(jl_String, [$rt_s(3105), $rt_s(3106), $rt_s(3107)]); nms_BlockAnvil_anvilIconNames = $rt_wrapArray(jl_String, [$rt_s(3108), $rt_s(3109), $rt_s(3110)]); }; function nms_BlockPressurePlateWeighted() { nms_BlockBasePressurePlate.call(this); this.$maxItemsWeighted = 0; } let nms_BlockPressurePlateWeighted__init_0 = ($this, $par1, $par2Str, $par3Material, $par4) => { nms_Block__init_($this, $par1, $par3Material); $this.$pressurePlateIconName = $par2Str; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; $this.$needsRandomTick = 1; nms_BlockBasePressurePlate_func_94353_c_($this, 15); $this.$maxItemsWeighted = $par4; }, nms_BlockPressurePlateWeighted__init_ = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_BlockPressurePlateWeighted(); nms_BlockPressurePlateWeighted__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_BlockPressurePlateWeighted_getPlateState = ($this, $par1World, $par2, $par3, $par4) => { let $var5, $var7, var$7, var$8, $var6$index, $var6$index_0, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var6$index_0 = $thread.pop();$var6$index = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = 0; $var7 = $rt_cls(nms_EntityItem); var$7 = nms_BlockBasePressurePlate_getSensitiveAABB($this, $par2, $par3, $par4); var$8 = null; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB($par1World, $var7, var$7, var$8); if ($rt_suspending()) { break main; } var$7 = $tmp; $var6$index = 0; $par3 = var$7.$modCount; $par4 = var$7.$size(); a: { while (true) { if (!($var6$index >= $par4 ? 0 : 1)) break a; if ($par3 < var$7.$modCount) break; $var6$index_0 = $var6$index + 1 | 0; $var5 = $var5 + (nms_EntityItem_getEntityItem(var$7.$get($var6$index))).$stackSize | 0; if ($var5 >= $this.$maxItemsWeighted) break a; $var6$index = $var6$index_0; } $par1World = new ju_ConcurrentModificationException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } if ($var5 <= 0) return 0; $par2 = $this.$maxItemsWeighted; if ($par2 < $var5) $var5 = $par2; $var8 = $var5 / $par2 * 15.0; $par2 = $var8 | 0; if ($var8 > $par2) $par2 = $par2 + 1 | 0; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, $var7, var$7, var$8, $var6$index, $var6$index_0, $var8, $ptr); }, nms_BlockPressurePlateWeighted_getPowerSupply = ($this, $par1) => { return $par1; }, nms_BlockPressurePlateWeighted_getMetaFromWeight = ($this, $par1) => { return $par1; }, nms_BlockPressurePlateWeighted_tickRate = ($this, $par1World) => { return 10; }, nms_BlockComparator = $rt_classWithoutFields(nms_BlockRedstoneLogic), nms_BlockComparator__init_0 = ($this, $par1, $par2) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_circuits); $this.$isRepeaterPowered = $par2; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.125; $this.$maxZ0 = 1.0; $this.$isBlockContainer = 1; }, nms_BlockComparator__init_ = (var_0, var_1) => { let var_2 = new nms_BlockComparator(); nms_BlockComparator__init_0(var_2, var_0, var_1); return var_2; }, nms_BlockComparator_idDropped = ($this, $par1, $par2Random, $par3) => { nms_Item_$callClinit(); return nms_Item_comparator.$itemID0; }, nms_BlockComparator_idPicked = ($this, $par1World, $par2, $par3, $par4) => { nms_Item_$callClinit(); return nms_Item_comparator.$itemID0; }, nms_BlockComparator_func_94481_j_ = ($this, $par1) => { return 2; }, nms_BlockComparator_func_94485_e = $this => { nms_Block_$callClinit(); return nms_Block_redstoneComparatorActive; }, nms_BlockComparator_func_94484_i = $this => { nms_Block_$callClinit(); return nms_Block_redstoneComparatorIdle; }, nms_BlockComparator_getRenderType = $this => { return 37; }, nms_BlockComparator_getIcon = ($this, $par1, $par2) => { let $var3, var$4; $var3 = !$this.$isRepeaterPowered && !($par2 & 8) ? 0 : 1; if (!$par1) { if (!$var3) { nms_Block_$callClinit(); var$4 = nms_Block_torchRedstoneIdle.$getIcon($par1, 0); } else { nms_Block_$callClinit(); var$4 = nms_Block_torchRedstoneActive.$getIcon($par1, 0); } } else if ($par1 != 1) { nms_Block_$callClinit(); var$4 = nms_Block_stoneDoubleSlab.$getIcon(1, 0); } else if (!$var3) var$4 = $this.$blockIcon; else { nms_Block_$callClinit(); var$4 = nms_Block_redstoneComparatorActive.$blockIcon; } return var$4; }, nms_BlockComparator_func_96470_c = ($this, $par1) => { return !$this.$isRepeaterPowered && !($par1 & 8) ? 0 : 1; }, nms_BlockComparator_func_94480_d = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1IBlockAccess = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $par1IBlockAccess.$getBlockTileEntity($par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1IBlockAccess = $tmp; return $par1IBlockAccess.$outputSignal; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1IBlockAccess, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockComparator_isGettingInput = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockComparator_getInputStrength($this, $par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $var6 = $tmp; if ($var6 >= 15) return 1; if (!$var6) return 0; $ptr = 2; case 2: $tmp = nms_BlockRedstoneLogic_func_94482_f($this, $par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $var7 = $tmp; return !$var7 ? 1 : $var6 < $var7 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, $ptr); }, nms_BlockComparator_getInputStrength = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var7, $var8, $var9, $var10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_BlockRedstoneLogic_getInputStrength($this, $par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $var6 = $tmp; $var7 = $par5 & 3; $var8 = $par2 + nms_Direction_offsetX.data[$var7] | 0; $var9 = $par4 + nms_Direction_offsetZ.data[$var7] | 0; $var10 = nms_World_getBlockId($par1World, $var8, $par3, $var9); if ($var10 > 0) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var10].$hasComparatorInputOverride()) { var$11 = nms_Block_blocksList.data[$var10]; $par2 = nms_Direction_rotateOpposite.data[$var7]; $ptr = 2; continue main; } if ($var6 < 15) { var$11 = nms_Block_blocksList.data[$var10]; if (var$11 === null) $par2 = 0; else { var$12 = var$11.$blockMaterial; $par2 = !var$12.$isTranslucent ? var$12.$blocksMovement() : 0; $par2 = $par2 && var$11.$renderAsNormalBlock() && !var$11.$canProvidePower() ? 1 : 0; } if ($par2) { $par2 = $var8 + nms_Direction_offsetX.data[$var7] | 0; $par4 = $var9 + nms_Direction_offsetZ.data[$var7] | 0; $par5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if ($par5 > 0 && nms_Block_blocksList.data[$par5].$hasComparatorInputOverride()) { var$11 = nms_Block_blocksList.data[$par5]; $par5 = nms_Direction_rotateOpposite.data[$var7]; $ptr = 3; continue main; } } } } return $var6; case 2: $tmp = var$11.$getComparatorInputOverride($par1World, $var8, $par3, $var9, $par2); if ($rt_suspending()) { break main; } $var6 = $tmp; return $var6; case 3: $tmp = var$11.$getComparatorInputOverride($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $var6 = $tmp; return $var6; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var7, $var8, $var9, $var10, var$11, var$12, $ptr); }, nms_BlockComparator_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, $var11, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var11 = $this.$isRepeaterPowered | (!($var10 & 8) ? 0 : 1); $var12 = (($var10 & 4) != 4 ? 0 : 1) ? 0 : 1; $par6 = (!$var12 ? 0 : 4) | (!$var11 ? 0 : 8); $var11 = 0; while (true) { $var12 = $rt_compare($var11, $par1World.$worldAccesses.$size0); if ($var12 >= 0) { $par6 = $par6 | $var10 & 3; $var11 = 2; $ptr = 1; continue main; } if ($var11 < 0) break; if ($var12 >= 0) break; $var11 = $var11 + 1 | 0; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par6, $var11); if ($rt_suspending()) { break main; } $par5EntityPlayer = $par1World.$rand0; $ptr = 2; case 2: nms_BlockComparator_func_96476_c($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, $var11, $var12, $ptr); }, nms_BlockComparator_func_94479_f = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $var6, $var8, $var7, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); if (($var6 & 4) != 4 ? 0 : 1) { $ptr = 1; continue main; } $ptr = 3; continue main; case 1: $tmp = nms_BlockComparator_getInputStrength($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $par5 = $tmp; $ptr = 2; case 2: $tmp = nms_BlockRedstoneLogic_func_94482_f($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $var8 = $tmp; $par5 = $par5 - $var8 | 0; $var7 = 0; if ($par5 > $var7) $var7 = $par5; $ptr = 4; continue main; case 3: $tmp = nms_BlockComparator_getInputStrength($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $var7 = $tmp; $ptr = 4; case 4: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$9 = $tmp; if ($var7 != var$9.$outputSignal) { nms_BlockRedstoneLogic_func_83011_d($this, $par1World, $par2, $par3, $par4, $var6); return; } $var7 = !$this.$isRepeaterPowered && !($var6 & 8) ? 0 : 1; $ptr = 5; case 5: $tmp = nms_BlockComparator_getInputStrength($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $par5 = $tmp; if ($par5 >= 15) $par5 = 1; else { if ($par5) { $ptr = 6; continue main; } $par5 = 0; } $var7 != $par5 && !nms_BlockRedstoneLogic_func_83011_d($this, $par1World, $par2, $par3, $par4, $var6); return; case 6: $tmp = nms_BlockRedstoneLogic_func_94482_f($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $var8 = $tmp; $par5 = !$var8 ? 1 : $par5 < $var8 ? 0 : 1; $var7 != $par5 && !nms_BlockRedstoneLogic_func_83011_d($this, $par1World, $par2, $par3, $par4, $var6); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $var6, $var8, $var7, var$9, $ptr); }, nms_BlockComparator_func_96476_c = ($this, $par1World, $par2, $par3, $par4, $par5Random) => { let $var6, var$7, $var9, $var10, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5Random = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$7 = $rt_compare($var6 & 4, 4); if (var$7 ? 0 : 1) { $ptr = 1; continue main; } $ptr = 3; continue main; case 1: $tmp = nms_BlockComparator_getInputStrength($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $var9 = $tmp; $ptr = 2; case 2: $tmp = nms_BlockRedstoneLogic_func_94482_f($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $var10 = $tmp; $var9 = $var9 - $var10 | 0; $var7 = 0; if ($var9 > $var7) $var7 = $var9; $ptr = 4; continue main; case 3: $tmp = nms_BlockComparator_getInputStrength($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $var7 = $tmp; $ptr = 4; case 4: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par5Random = $tmp; $var8 = $par5Random.$outputSignal; $ptr = 5; case 5: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par5Random = $tmp; $par5Random.$outputSignal = $var7; if ($var8 == $var7 && (var$7 ? 0 : 1)) return; $ptr = 6; case 6: $tmp = nms_BlockComparator_getInputStrength($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $var9 = $tmp; if ($var9 >= 15) $var9 = 1; else { if ($var9) { $ptr = 7; continue main; } $var9 = 0; } $var10 = !$this.$isRepeaterPowered && !($var6 & 8) ? 0 : 1; if ($var10 && !$var9) { $var9 = $var6 & (-9); $var10 = 2; $ptr = 9; continue main; } if (!$var10 && $var9) { $var9 = $var6 | 8; $var10 = 2; $ptr = 10; continue main; } $ptr = 8; continue main; case 7: $tmp = nms_BlockRedstoneLogic_func_94482_f($this, $par1World, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } $var10 = $tmp; $var9 = !$var10 ? 1 : $var9 < $var10 ? 0 : 1; $var10 = !$this.$isRepeaterPowered && !($var6 & 8) ? 0 : 1; if ($var10 && !$var9) { $var9 = $var6 & (-9); $var10 = 2; $ptr = 9; continue main; } if (!$var10 && $var9) { $var9 = $var6 | 8; $var10 = 2; $ptr = 10; continue main; } $ptr = 8; case 8: nms_BlockRedstoneLogic_func_94483_i_($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; case 9: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var9, $var10); if ($rt_suspending()) { break main; } $ptr = 8; continue main; case 10: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var9, $var10); if ($rt_suspending()) { break main; } $ptr = 8; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5Random, $var6, var$7, $var9, $var10, $var7, $var8, $ptr); }, nms_BlockComparator_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_BlockRedstoneLogic_func_94483_i_($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$5 = new nms_TileEntityComparator; nms_TileEntity_$callClinit(); var$5.$blockMetadata = (-1); $ptr = 2; case 2: nms_World_setBlockTileEntity($par1World, $par2, $par3, $par4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, $ptr); }, nms_BlockComparator_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_World_removeBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_BlockRedstoneLogic_func_94483_i_($this, $par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $ptr); }, nms_BlockComparator_onBlockEventReceived = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var7 = $tmp; return $var7 === null ? 0 : $var7.$receiveClientEvent($par5, $par6); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, $ptr); }, nms_BlockComparator_createNewTileEntity = ($this, $par1World) => { $par1World = new nms_TileEntityComparator; nms_TileEntity_$callClinit(); $par1World.$blockMetadata = (-1); return $par1World; }; function nms_BlockDaylightDetector() { nms_BlockContainer.call(this); this.$iconArray5 = null; } let nms_BlockDaylightDetector__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_wood); $this.$isBlockContainer = 1; $this.$iconArray5 = $rt_createArray(nms_Icon, 2); $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.375; $this.$maxZ0 = 1.0; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; }, nms_BlockDaylightDetector__init_0 = var_0 => { let var_1 = new nms_BlockDaylightDetector(); nms_BlockDaylightDetector__init_(var_1, var_0); return var_1; }, nms_BlockDaylightDetector_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.375; $this.$maxZ0 = 1.0; }, nms_BlockDaylightDetector_isProvidingWeakPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return nms_World_getBlockMetadata($par1IBlockAccess, $par2, $par3, $par4); }, nms_BlockDaylightDetector_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { return; }, nms_BlockDaylightDetector_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { return; }, nms_BlockDaylightDetector_updateLightLevel = ($this, $par1World, $par2, $par3, $par4) => { let $var5, $var6, $var7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1World.$provider.$hasNoSky) { $var5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var6 = nms_World_getSavedLightValue($par1World, nms_EnumSkyBlock_Sky, $par2, $par3, $par4) - $par1World.$skylightSubtracted | 0; $var7 = $par1World.$provider.$calculateCelestialAngle($par1World.$worldInfo.$worldTime, 1.0) * 3.1415927410125732 * 2.0; var$8 = $var7 >= 3.1415927410125732 ? $var7 + (6.2831854820251465 - $var7) * 0.20000000298023224 : $var7 + (0.0 - $var7) * 0.20000000298023224; var$8 = $var6 * nms_MathHelper_SIN_TABLE.data[(var$8 * 10430.3779296875 + 16384.0 | 0) & 65535]; $var6 = var$8 + jl_Math_sign0(var$8) * 0.5 | 0; if ($var6 < 0) $var6 = 0; if ($var6 > 15) $var6 = 15; if ($var5 != $var6) { $var5 = 3; $ptr = 1; continue main; } } return; case 1: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $var6, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, $var6, $var7, var$8, $ptr); }, nms_BlockDaylightDetector_renderAsNormalBlock = $this => { return 0; }, nms_BlockDaylightDetector_isOpaqueCube = $this => { return 0; }, nms_BlockDaylightDetector_canProvidePower = $this => { return 1; }, nms_BlockDaylightDetector_createNewTileEntity = ($this, $par1World) => { $par1World = new nms_TileEntityDaylightDetector; nms_TileEntity_$callClinit(); $par1World.$blockMetadata = (-1); return $par1World; }, nms_BlockDaylightDetector_getIcon = ($this, $par1, $par2) => { return $par1 != 1 ? $this.$iconArray5.data[1] : $this.$iconArray5.data[0]; }, nms_BlockDaylightDetector_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$2 = $this.$iconArray5; var$3 = $this.$textureName; if (var$3 === null) { var$4 = $this.$blockID; var$3 = $this.$unlocalizedName; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$4, 10); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 95; var$6 = var$5.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$3); var$3 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$9 = var$5.$length0; var$4 = var$8.length; if (var$9 >= 0 && var$9 <= (var$4 - 0 | 0)) var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$3); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2999)); var$3 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$9 = var$5.$length0; var$4 = var$8.length; if (var$9 >= 0 && var$9 <= (var$4 - 0 | 0)) { var$2 = var$2.data; var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$2[0] = $par1IconRegister.$registerIcon(var$3, 1); var$2 = $this.$iconArray5; var$5 = $this.$textureName; if (var$5 === null) { var$6 = $this.$blockID; var$3 = $this.$unlocalizedName; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$10, var$10.$length0, var$6, 10); var$9 = var$10.$length0; jl_AbstractStringBuilder_insertSpace(var$10, var$9, var$9 + 1 | 0); var$10.$buffer.data[var$9] = 95; var$6 = var$10.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, var$6, var$3); var$5 = new jl_String; var$7 = var$10.$buffer; var$8 = var$7.data; var$9 = var$10.$length0; var$4 = var$8.length; if (var$9 >= 0 && var$9 <= (var$4 - 0 | 0)) var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(2998)); var$5 = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$9 = var$3.$length0; var$4 = var$8.length; if (var$9 >= 0 && var$9 <= (var$4 - 0 | 0)) { var$2 = var$2.data; var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$2[1] = $par1IconRegister.$registerIcon(var$5, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockPoweredOre = $rt_classWithoutFields(nms_BlockOreStorage), nms_BlockPoweredOre__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_iron); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; }, nms_BlockPoweredOre__init_ = var_0 => { let var_1 = new nms_BlockPoweredOre(); nms_BlockPoweredOre__init_0(var_1, var_0); return var_1; }, nms_BlockPoweredOre_canProvidePower = $this => { return 1; }, nms_BlockPoweredOre_isProvidingWeakPower = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return 15; }; function nms_BlockHopper() { let a = this; nms_BlockContainer.call(a); a.$field_94457_a = null; a.$hopperIcon = null; a.$hopperTopIcon = null; a.$hopperInsideIcon = null; } let nms_BlockHopper__init_ = ($this, $par1) => { let var$2, var$3; nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_iron); $this.$isBlockContainer = 1; var$2 = new nle_EaglercraftRandom; var$3 = Long_fromNumber(performance.now() * 1000000.0); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = var$3; $this.$field_94457_a = var$2; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; }, nms_BlockHopper__init_0 = var_0 => { let var_1 = new nms_BlockHopper(); nms_BlockHopper__init_(var_1, var_0); return var_1; }, nms_BlockHopper_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; }, nms_BlockHopper_addCollisionBoxesToList = ($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity) => { let var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par7Entity = $thread.pop();$par6List = $thread.pop();$par5AxisAlignedBB = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.625; $this.$maxZ0 = 1.0; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$9 = $par2; var$10 = var$9 + $this.$minX0; var$11 = $par3; var$12 = var$11 + $this.$minY0; var$13 = $par4; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 0.125; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; $par7Entity = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$12 = var$9 + $this.$minX0; var$14 = var$11 + $this.$minY0; var$15 = var$13 + $this.$minZ0; var$16 = var$9 + $this.$maxX0; var$17 = var$11 + $this.$maxY0; var$19 = var$13 + $this.$maxZ0; $par3 = $par7Entity.$nextPoolIndex; $par1World = $par7Entity.$listAABB; $par2 = $par1World.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = var$12; var$8.$minY = var$14; var$8.$minZ = var$15; var$8.$maxX = var$16; var$8.$maxY = var$17; var$8.$maxZ = var$19; ju_ArrayList_ensureCapacity($par1World, $par2 + 1 | 0); var$18 = $par1World.$array.data; $par2 = $par1World.$size0; $par1World.$size0 = $par2 + 1 | 0; var$18[$par2] = var$8; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$8 = $par1World.$array.data[$par3]; var$8.$minX = var$12; var$8.$minY = var$14; var$8.$minZ = var$15; var$8.$maxX = var$16; var$8.$maxY = var$17; var$8.$maxZ = var$19; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } $par7Entity.$nextPoolIndex = $par7Entity.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, var$8)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = var$8; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 0.125; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$12 = var$11 + $this.$minY0; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.875; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$12 = var$11 + $this.$minY0; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; $par2 = var$8.$nextPoolIndex; $par1World = var$8.$listAABB; $par4 = $par1World.$size0; $par3 = $rt_compare($par2, $par4); if ($par3 >= 0) { $par7Entity = new nms_AxisAlignedBB; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par4 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par2 >= 0 && $par3 < 0) { $par7Entity = $par1World.$array.data[$par2]; $par7Entity.$minX = var$10; $par7Entity.$minY = var$12; $par7Entity.$minZ = var$14; $par7Entity.$maxX = var$15; $par7Entity.$maxY = var$16; $par7Entity.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, $par7Entity)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = $par7Entity; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.875; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; $par7Entity = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$10 = var$9 + $this.$minX0; var$12 = var$11 + $this.$minY0; var$14 = var$13 + $this.$minZ0; var$15 = var$9 + $this.$maxX0; var$16 = var$11 + $this.$maxY0; var$17 = var$13 + $this.$maxZ0; $par3 = $par7Entity.$nextPoolIndex; $par1World = $par7Entity.$listAABB; $par2 = $par1World.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = var$10; var$8.$minY = var$12; var$8.$minZ = var$14; var$8.$maxX = var$15; var$8.$maxY = var$16; var$8.$maxZ = var$17; ju_ArrayList_ensureCapacity($par1World, $par2 + 1 | 0); var$18 = $par1World.$array.data; $par3 = $par1World.$size0; $par1World.$size0 = $par3 + 1 | 0; var$18[$par3] = var$8; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$8 = $par1World.$array.data[$par3]; var$8.$minX = var$10; var$8.$minY = var$12; var$8.$minZ = var$14; var$8.$maxX = var$15; var$8.$maxY = var$16; var$8.$maxZ = var$17; } else { $par1World = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1World); $rt_throw($par1World); } $par7Entity.$nextPoolIndex = $par7Entity.$nextPoolIndex + 1 | 0; if (nms_AxisAlignedBB_intersectsWith($par5AxisAlignedBB, var$8)) { ju_ArrayList_ensureCapacity($par6List, $par6List.$size0 + 1 | 0); var$18 = $par6List.$array.data; $par3 = $par6List.$size0; $par6List.$size0 = $par3 + 1 | 0; var$18[$par3] = var$8; $par6List.$modCount = $par6List.$modCount + 1 | 0; } $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 1.0; $this.$maxZ0 = 1.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5AxisAlignedBB, $par6List, $par7Entity, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_BlockHopper_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { let $var10; $var10 = nms_Facing_oppositeSide.data[$par5]; if ($var10 == 1) $var10 = 0; return $var10; }, nms_BlockHopper_createNewTileEntity = ($this, $par1World) => { $par1World = new nms_TileEntityHopper; nms_TileEntity_$callClinit(); $par1World.$blockMetadata = (-1); $par1World.$hopperItemStacks = $rt_createArray(nms_ItemStack, 5); $par1World.$transferCooldown = (-1); return $par1World; }, nms_BlockHopper_onBlockPlacedBy = ($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack) => { let var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$par6ItemStack = $thread.pop();$par5EntityLivingBase = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$7 = $par6ItemStack.$stackTagCompound; if (var$7 === null) var$8 = 0; else { a: { var$7 = var$7.$tagMap; if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$10 = var$7.$elementData.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { b: { var$11 = var$7.$key; if ($rt_s(1525) !== var$11) { if ($rt_s(1525) === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $rt_s(1525).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$7 = var$7.$next3; } if (!(var$7 === null ? 0 : 1)) var$8 = 0; else { c: { var$7 = $par6ItemStack.$stackTagCompound; var$11 = var$7.$tagMap; if (!$rt_s(1525).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$10 = var$11.$elementData.data; var$11 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$9) { d: { var$12 = var$11.$key; if ($rt_s(1525) !== var$12) { if ($rt_s(1525) === var$12) var$8 = 1; else if (!(var$12 instanceof jl_String)) var$8 = 0; else { var$12 = var$12; var$8 = $rt_s(1525).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break d; } } var$8 = 1; } if (var$8) break; } var$11 = var$11.$next3; } if (!(var$11 === null ? 0 : 1)) { var$7 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$7.$name = $rt_s(1525); else var$7.$name = $rt_s(18); $par5EntityLivingBase = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); $par5EntityLivingBase.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$13 = var$10.data; $par5EntityLivingBase.$elementData = var$10; $par5EntityLivingBase.$loadFactor = 0.75; $par5EntityLivingBase.$threshold = var$13.length * 0.75 | 0; var$7.$tagMap = $par5EntityLivingBase; } else { var$7 = var$7.$tagMap; if ($rt_s(1525) === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$9 = $rt_s(1525).$hashCode1; var$10 = var$7.$elementData.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { f: { var$11 = var$7.$key; if ($rt_s(1525) !== var$11) { if ($rt_s(1525) === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $rt_s(1525).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break f; } } var$8 = 1; } if (var$8) break; } var$7 = var$7.$next3; } } var$7 = var$7 === null ? null : var$7.$value1; } g: { $par5EntityLivingBase = var$7.$tagMap; if (!$rt_s(1526).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$14 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; var$12 = var$10[var$14 & (var$10.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$14) { h: { $par5EntityLivingBase = var$12.$key; if ($rt_s(1526) !== $par5EntityLivingBase) { if ($rt_s(1526) === $par5EntityLivingBase) var$8 = 1; else if (!($par5EntityLivingBase instanceof jl_String)) var$8 = 0; else { $par5EntityLivingBase = $par5EntityLivingBase; var$8 = $rt_s(1526).$nativeString !== $par5EntityLivingBase.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break h; } } var$8 = 1; } if (var$8) break; } var$12 = var$12.$next3; } var$8 = var$12 === null ? 0 : 1; } } if (!var$8) return; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; $var7 = $par1World; nms_Item_$callClinit(); var$7 = nms_Item_itemsList.data[$par6ItemStack.$itemID].$getItemDisplayName($par6ItemStack); $par1World = $par6ItemStack.$stackTagCompound; if ($par1World !== null) { a: { $par1World = $par1World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par3 = $rt_s(1525).$hashCode1; var$10 = $par1World.$elementData.data; var$12 = var$10[$par3 & (var$10.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == $par3) { b: { $par1World = var$12.$key; if ($rt_s(1525) !== $par1World) { if ($rt_s(1525) === $par1World) $par2 = 1; else if (!($par1World instanceof jl_String)) $par2 = 0; else { $par1World = $par1World; $par2 = $rt_s(1525).$nativeString !== $par1World.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break b; } } $par2 = 1; } if ($par2) break; } var$12 = var$12.$next3; } if (var$12 === null ? 0 : 1) { c: { $par1World = $par6ItemStack.$stackTagCompound; $par6ItemStack = $par1World.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$10 = $par6ItemStack.$elementData.data; $par6ItemStack = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par6ItemStack !== null) { if ($par6ItemStack.$origKeyHash == $par4) { d: { var$11 = $par6ItemStack.$key; if ($rt_s(1525) !== var$11) { if ($rt_s(1525) === var$11) $par2 = 1; else if (!(var$11 instanceof jl_String)) $par2 = 0; else { var$11 = var$11; $par2 = $rt_s(1525).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break d; } } $par2 = 1; } if ($par2) break; } $par6ItemStack = $par6ItemStack.$next3; } if (!($par6ItemStack === null ? 0 : 1)) { var$11 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$11.$name = $rt_s(1525); else var$11.$name = $rt_s(18); $par1World = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $par1World.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$10 = var$13.data; $par1World.$elementData = var$13; $par1World.$loadFactor = 0.75; $par1World.$threshold = var$10.length * 0.75 | 0; var$11.$tagMap = $par1World; } else { $par1World = $par1World.$tagMap; if ($rt_s(1525) === null) { $par1World = $par1World.$elementData.data[0]; while ($par1World !== null && $par1World.$key !== null) { $par1World = $par1World.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1525).$hashCode1; var$10 = $par1World.$elementData.data; $par1World = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par1World !== null) { if ($par1World.$origKeyHash == $par4) { f: { $par6ItemStack = $par1World.$key; if ($rt_s(1525) !== $par6ItemStack) { if ($rt_s(1525) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1525).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break f; } } $par2 = 1; } if ($par2) break; } $par1World = $par1World.$next3; } } var$11 = $par1World === null ? null : $par1World.$value1; } g: { $par5EntityLivingBase = var$11.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { h: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break h; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if ($par5EntityLivingBase === null ? 0 : 1) { i: { $par5EntityLivingBase = var$11.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break i; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { j: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break j; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } if (!($par5EntityLivingBase === null ? 0 : 1)) var$7 = $rt_s(18); else { $par5EntityLivingBase = var$11.$tagMap; if ($rt_s(1526) === null) { $par5EntityLivingBase = $par5EntityLivingBase.$elementData.data[0]; while ($par5EntityLivingBase !== null && $par5EntityLivingBase.$key !== null) { $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } else { k: { if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break k; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $rt_s(1526).$hashCode1; var$10 = $par5EntityLivingBase.$elementData.data; $par5EntityLivingBase = var$10[$par4 & (var$10.length - 1 | 0)]; while ($par5EntityLivingBase !== null) { if ($par5EntityLivingBase.$origKeyHash == $par4) { l: { $par6ItemStack = $par5EntityLivingBase.$key; if ($rt_s(1526) !== $par6ItemStack) { if ($rt_s(1526) === $par6ItemStack) $par2 = 1; else if (!($par6ItemStack instanceof jl_String)) $par2 = 0; else { $par6ItemStack = $par6ItemStack; $par2 = $rt_s(1526).$nativeString !== $par6ItemStack.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break l; } } $par2 = 1; } if ($par2) break; } $par5EntityLivingBase = $par5EntityLivingBase.$next3; } } var$7 = ($par5EntityLivingBase === null ? null : $par5EntityLivingBase.$value1).$data1; } } } } $var7.$inventoryName = var$7; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityLivingBase, $par6ItemStack, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $var7, $ptr); }, nms_BlockHopper_onBlockAdded = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = var$5 & 7; $ptr = 1; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } var$7 = $tmp; var$8 = var$7 ? 0 : 1; if (var$8 == ((var$5 & 8) == 8 ? 0 : 1)) return; var$7 = var$6 | (!var$8 ? 8 : 0); var$5 = 4; $ptr = 2; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, var$7, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, var$7, var$8, $ptr); }, nms_BlockHopper_onBlockActivated = ($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9) => { let $var10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5EntityPlayer = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1World.$isRemote) return 1; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; $var10 = $par1World; if ($var10 === null) return 1; var$11 = $par5EntityPlayer.$mc4; $par1World = new nms_GuiHopper; $par5EntityPlayer = $par5EntityPlayer.$inventory; nms_GuiHopper_$callClinit(); var$12 = nms_ContainerHopper__init_($par5EntityPlayer, $var10); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$13 = new ju_ArrayList; jl_Object__init_(var$13); var$13.$array = $rt_createArray(jl_Object, 10); $par1World.$buttonList = var$13; $par1World.$allowUserInput = 0; $par1World.$selectedButton = null; $par1World.$eventButton = 0; $par1World.$field_85043_c = Long_ZERO; $par1World.$field_92018_d = 0; $par1World.$xSize = 176; $par1World.$ySize = 166; var$13 = new ju_HashSet; var$14 = new ju_HashMap; jl_Object__init_(var$14); $par2 = ju_HashMap_calculateCapacity(16); var$14.$elementCount = 0; var$15 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$16 = var$15.data; var$14.$elementData = var$15; var$14.$loadFactor = 0.75; var$14.$threshold = var$16.length * 0.75 | 0; var$13.$backingMap = var$14; $par1World.$field_94077_p = var$13; $par1World.$inventorySlots0 = var$12; $par1World.$field_94068_E = 1; $par1World.$field_94081_r = $par5EntityPlayer; $par1World.$field_94080_s = $var10; $par1World.$allowUserInput = 0; $par1World.$ySize = 133; $ptr = 2; case 2: nms_Minecraft_displayGuiScreen(var$11, $par1World); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5EntityPlayer, $par6, $par7, $par8, $par9, $var10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_BlockHopper_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$7 = var$6 & 7; $ptr = 1; case 1: $tmp = nms_World_isBlockIndirectlyGettingPowered($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par5 = $tmp; $par5 = $par5 ? 0 : 1; if ($par5 == ((var$6 & 8) == 8 ? 0 : 1)) return; $par5 = var$7 | (!$par5 ? 8 : 0); var$8 = 4; $ptr = 2; case 2: nms_World_setBlockMetadataWithNotify($par1World, $par2, $par3, $par4, $par5, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, $ptr); }, nms_BlockHopper_breakBlock = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var9, $var14, var$18, $var10, $var11, var$21, $var12, var$23, var$24, var$25, var$26, var$27, $var13, var$29, var$30, var$31, var$32, var$33, var$34, var$35, var$36, var$37, var$38, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$38 = $thread.pop();var$37 = $thread.pop();var$36 = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();$var13 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$var12 = $thread.pop();var$21 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$18 = $thread.pop();$var14 = $thread.pop();$var9 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $var7 = $tmp; $var7 = $var7; if ($var7 === null) { $ptr = 2; continue main; } $var8 = 0; var$9 = 24; var$10 = 17; var$11 = $par2; var$12 = 138; var$13 = $par3; var$14 = $par4; while (true) { var$15 = $var7.$hopperItemStacks.data; if ($var8 >= var$15.length) break; $var9 = var$15[$var8]; if ($var9 !== null) { $var14 = $this.$field_94457_a; var$18 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$18; $var10 = Long_lo(Long_shru(var$18, var$9)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$18; $var11 = Long_lo(Long_shru(var$18, var$9)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$21 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; $var12 = Long_lo(Long_shru(var$21, var$9)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$23 = var$11 + $var10; var$24 = var$13 + $var11; var$25 = var$14 + $var12; $par6 = $var9.$stackSize; if ($par6 > 0) { $var14 = $this.$field_94457_a; var$21 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; var$26 = Long_lo(Long_shru(var$21, var$10)); while (true) { var$27 = var$26 % 21 | 0; if (((var$26 - var$27 | 0) + 20 | 0) >= 0) break; var$21 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; var$26 = Long_lo(Long_shru(var$21, var$10)); } $var13 = var$27 + 10 | 0; if ($var13 > $par6) $var13 = $par6; $var9.$stackSize = $par6 - $var13 | 0; $var14 = new nms_EntityItem; var$29 = new nms_ItemStack; var$30 = $var9.$itemID; $par6 = $var9.$itemDamage; nms_ItemStack_$callClinit(); var$29.$itemID = var$30; var$29.$stackSize = $var13; var$29.$itemDamage = $par6; if ($par6 < 0) var$29.$itemDamage = 0; $ptr = 4; continue main; } } $var8 = $var8 + 1 | 0; } $ptr = 3; continue main; case 2: nms_World_removeBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } return; case 3: nms_World_func_96440_m($par1World, $par2, $par3, $par4, $par5); if ($rt_suspending()) { break main; } $ptr = 2; continue main; case 4: nms_EntityItem__init_($var14, $par1World, var$23, var$24, var$25); if ($rt_suspending()) { break main; } var$31 = $var14.$dataWatcher; var$32 = var$31.$watchedObjects; jl_Integer_ensureIntegerCache(); var$33 = jl_Integer_integerCache.data[var$12]; if (var$33 === null) { var$32 = var$32.$elementData.data[0]; while (var$32 !== null && var$32.$key !== null) { var$32 = var$32.$next3; } } else { var$30 = var$33.$value0; var$15 = var$32.$elementData.data; var$32 = var$15[var$30 & (var$15.length - 1 | 0)]; while (var$32 !== null) { if (var$32.$origKeyHash == var$30) { var$34 = var$32.$key; if (var$33 !== var$34 && !jl_Integer_equals(var$33, var$34) ? 0 : 1) break; } var$32 = var$32.$next3; } } var$34 = var$32 === null ? null : var$32.$value1; if (!(var$29 !== var$34.$watchedObject ? 0 : 1)) { var$34.$watchedObject = var$29; var$34.$watched = 1; var$31.$objectChanged = 1; } var$34 = $var14.$dataWatcher; var$33 = var$34.$watchedObjects; jl_Integer_ensureIntegerCache(); var$32 = jl_Integer_integerCache.data[var$12]; if (var$32 === null) { var$33 = var$33.$elementData.data[0]; while (var$33 !== null && var$33.$key !== null) { var$33 = var$33.$next3; } } else { var$30 = var$32.$value0; var$15 = var$33.$elementData.data; var$33 = var$15[var$30 & (var$15.length - 1 | 0)]; while (var$33 !== null) { if (var$33.$origKeyHash == var$30) { var$31 = var$33.$key; if (var$32 !== var$31 && !jl_Integer_equals(var$32, var$31) ? 0 : 1) break; } var$33 = var$33.$next3; } } (var$33 === null ? null : var$33.$value1).$watched = 1; var$34.$objectChanged = 1; if ($var9.$stackTagCompound === null ? 0 : 1) { var$35 = nms_EntityItem_getEntityItem($var14); var$29 = $var9.$stackTagCompound; var$36 = new nms_NBTTagCompound; var$32 = var$29.$name; if (var$32 === null) var$32 = $rt_s(18); var$36.$name = var$32; var$32 = new ju_HashMap; $par6 = ju_HashMap_calculateCapacity(16); var$32.$elementCount = 0; var$37 = $rt_createArray(ju_HashMap$HashEntry, $par6); var$15 = var$37.data; var$32.$elementData = var$37; var$32.$loadFactor = 0.75; var$32.$threshold = var$15.length * 0.75 | 0; var$36.$tagMap = var$32; var$34 = var$29.$tagMap; if (var$34.$cachedKeySet === null) { var$32 = new ju_HashMap$1; var$32.$this$0 = var$34; var$34.$cachedKeySet = var$32; } var$38 = var$34.$cachedKeySet.$iterator(); while (var$38.$hasNext()) { var$31 = var$38.$next(); var$32 = var$29.$tagMap; if (var$31 === null) { var$32 = var$32.$elementData.data[0]; while (var$32 !== null && var$32.$key !== null) { var$32 = var$32.$next3; } } else { a: { if (!var$31.$hashCode1) { $var13 = 0; while (true) { if ($var13 >= var$31.$nativeString.length) break a; var$31.$hashCode1 = (31 * var$31.$hashCode1 | 0) + var$31.$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } var$30 = var$31.$hashCode1; var$15 = var$32.$elementData.data; var$32 = var$15[var$30 & (var$15.length - 1 | 0)]; while (var$32 !== null) { if (var$32.$origKeyHash == var$30) { b: { var$34 = var$32.$key; if (var$31 !== var$34) { if (var$31 === var$34) $par6 = 1; else if (!(var$34 instanceof jl_String)) $par6 = 0; else { var$34 = var$34; $par6 = var$31.$nativeString !== var$34.$nativeString ? 0 : 1; } if (!$par6) { $par6 = 0; break b; } } $par6 = 1; } if ($par6) break; } var$32 = var$32.$next3; } } var$32 = var$32 === null ? null : var$32.$value1; var$32 = var$32.$copy(); var$34 = var$36.$tagMap; if (var$31 !== null) var$32.$name = var$31; else var$32.$name = $rt_s(18); ju_HashMap_putImpl(var$34, var$31, var$32); } var$35.$stackTagCompound = var$36; } $var14.$motionX = nle_EaglercraftRandom_nextGaussian($this.$field_94457_a) * 0.05000000074505806; $var14.$motionY = nle_EaglercraftRandom_nextGaussian($this.$field_94457_a) * 0.05000000074505806 + 0.20000000298023224; $var14.$motionZ = nle_EaglercraftRandom_nextGaussian($this.$field_94457_a) * 0.05000000074505806; $par6 = nms_World_spawnEntityInWorld($par1World, $var14); var$32 = $par1World.$entityList; ju_HashMap_putImpl(var$32.$backingMap, $var14, var$32); if (!$par6) { var$32 = $par1World.$entitySpawnQueue; ju_HashMap_putImpl(var$32.$backingMap, $var14, var$32); } c: while (true) { $par6 = $var9.$stackSize; if ($par6 > 0) { $var14 = $this.$field_94457_a; var$21 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; var$26 = Long_lo(Long_shru(var$21, var$10)); while (true) { var$27 = var$26 % 21 | 0; if (((var$26 - var$27 | 0) + 20 | 0) >= 0) break; var$21 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; var$26 = Long_lo(Long_shru(var$21, var$10)); } $var13 = var$27 + 10 | 0; if ($var13 > $par6) $var13 = $par6; $var9.$stackSize = $par6 - $var13 | 0; $var14 = new nms_EntityItem; var$29 = new nms_ItemStack; var$30 = $var9.$itemID; $par6 = $var9.$itemDamage; nms_ItemStack_$callClinit(); var$29.$itemID = var$30; var$29.$stackSize = $var13; var$29.$itemDamage = $par6; if ($par6 < 0) var$29.$itemDamage = 0; continue main; } while (true) { $var8 = $var8 + 1 | 0; var$15 = $var7.$hopperItemStacks.data; if ($var8 >= var$15.length) break c; $var9 = var$15[$var8]; if ($var9 === null) continue; else break; } $var14 = $this.$field_94457_a; var$18 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$18; $var10 = Long_lo(Long_shru(var$18, var$9)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$18 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$18; $var11 = Long_lo(Long_shru(var$18, var$9)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$21 = Long_and(Long_add(Long_mul(var$18, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$21; $var12 = Long_lo(Long_shru(var$21, var$9)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$23 = var$11 + $var10; var$24 = var$13 + $var11; var$25 = var$14 + $var12; } $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, $var7, $var8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var9, $var14, var$18, $var10, $var11, var$21, $var12, var$23, var$24, var$25, var$26, var$27, $var13, var$29, var$30, var$31, var$32, var$33, var$34, var$35, var$36, var$37, var$38, $ptr); }, nms_BlockHopper_getRenderType = $this => { return 38; }, nms_BlockHopper_renderAsNormalBlock = $this => { return 0; }, nms_BlockHopper_isOpaqueCube = $this => { return 0; }, nms_BlockHopper_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return 1; }, nms_BlockHopper_getIcon = ($this, $par1, $par2) => { return $par1 != 1 ? $this.$hopperIcon : $this.$hopperTopIcon; }, nms_BlockHopper_hasComparatorInputOverride = $this => { return 1; }, nms_BlockHopper_getComparatorInputOverride = ($this, $par1World, $par2, $par3, $par4, $par5) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; return nms_Container_calcRedstoneFromInventory($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $ptr); }, nms_BlockHopper_registerIcons = ($this, $par1IconRegister) => { $this.$hopperIcon = $par1IconRegister.$registerIcon($rt_s(1164), 1); $this.$hopperTopIcon = $par1IconRegister.$registerIcon($rt_s(3111), 1); $this.$hopperInsideIcon = $par1IconRegister.$registerIcon($rt_s(1165), 1); }, nms_BlockHopper_getItemIconName = $this => { return $rt_s(2697); }; function nms_BlockQuartz() { let a = this; nms_Block.call(a); a.$quartzblockIcons = null; a.$quartzblock_chiseled_top = null; a.$quartzblock_lines_top = null; a.$quartzblock_top = null; a.$quartzblock_bottom = null; } let nms_BlockQuartz_quartzBlockTypes = null, nms_BlockQuartz_quartzBlockTextureTypes = null, nms_BlockQuartz__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockQuartz__init_0 = var_0 => { let var_1 = new nms_BlockQuartz(); nms_BlockQuartz__init_(var_1, var_0); return var_1; }, nms_BlockQuartz_getIcon = ($this, $par1, $par2) => { let var$3; var$3 = $rt_compare($par2, 2); if (var$3 && $par2 != 3 && $par2 != 4) { a: { if ($par1 != 1) { if ($par1) break a; if ($par2 != 1) break a; } return $par2 != 1 ? $this.$quartzblock_top : $this.$quartzblock_chiseled_top; } if (!$par1) return $this.$quartzblock_bottom; if (!($par2 >= 0 && $par2 < $this.$quartzblockIcons.data.length)) $par2 = 0; return $this.$quartzblockIcons.data[$par2]; } return !var$3 && !($par1 != 1 && $par1) ? $this.$quartzblock_lines_top : $par2 == 3 && !($par1 != 5 && $par1 != 4) ? $this.$quartzblock_lines_top : $par2 == 4 && !($par1 != 2 && $par1 != 3) ? $this.$quartzblock_lines_top : $this.$quartzblockIcons.data[$par2]; }, nms_BlockQuartz_onBlockPlaced = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { a: { if ($par9 == 2) switch ($par5) { case 0: case 1: $par9 = 2; break a; case 2: case 3: $par9 = 4; break a; case 4: case 5: $par9 = 3; break a; default: } } return $par9; }, nms_BlockQuartz_damageDropped = ($this, $par1) => { if (!($par1 != 3 && $par1 != 4)) $par1 = 2; return $par1; }, nms_BlockQuartz_getRenderType = $this => { return 39; }, nms_BlockQuartz_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let var$4, var$5, var$6, var$7; $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$4 = $par3List.$array.data; var$5 = $par3List.$size0; var$6 = var$5 + 1 | 0; $par3List.$size0 = var$6; var$4[var$5] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 1; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; var$6 = var$7 + 1 | 0; $par3List.$size0 = var$6; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $par2CreativeTabs = new nms_ItemStack; $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = 2; ju_ArrayList_ensureCapacity($par3List, var$6 + 1 | 0); var$4 = $par3List.$array.data; var$7 = $par3List.$size0; $par3List.$size0 = var$7 + 1 | 0; var$4[var$7] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; }, nms_BlockQuartz_registerIcons = ($this, $par1IconRegister) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $this.$quartzblockIcons = $rt_createArray(nms_Icon, nms_BlockQuartz_quartzBlockTextureTypes.data.length); $var2 = 0; a: { while (true) { var$3 = $this.$quartzblockIcons.data; if ($var2 >= var$3.length) { var$4 = $this.$textureName; if (var$4 === null) { $var2 = $this.$blockID; var$5 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $var2, 10); $var2 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, $var2, $var2 + 1 | 0); var$6.$buffer.data[$var2] = 95; $var2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, $var2, var$5); var$4 = new jl_String; var$7 = var$6.$buffer; var$3 = var$7.data; var$8 = var$6.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$4); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(2999)); var$4 = new jl_String; var$7 = var$5.$buffer; var$3 = var$7.data; var$8 = var$5.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$quartzblock_top = $par1IconRegister.$registerIcon(var$4, 1); var$4 = $this.$textureName; if (var$4 === null) { $var2 = $this.$blockID; var$5 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $var2, 10); $var2 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, $var2, $var2 + 1 | 0); var$6.$buffer.data[$var2] = 95; $var2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, $var2, var$5); var$4 = new jl_String; var$7 = var$6.$buffer; var$3 = var$7.data; var$8 = var$6.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$4); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3112)); var$4 = new jl_String; var$7 = var$5.$buffer; var$3 = var$7.data; var$8 = var$5.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$quartzblock_chiseled_top = $par1IconRegister.$registerIcon(var$4, 1); var$4 = $this.$textureName; if (var$4 === null) { $var2 = $this.$blockID; var$5 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $var2, 10); $var2 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, $var2, $var2 + 1 | 0); var$6.$buffer.data[$var2] = 95; $var2 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, $var2, var$5); var$4 = new jl_String; var$7 = var$6.$buffer; var$3 = var$7.data; var$8 = var$6.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$4); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3113)); var$4 = new jl_String; var$7 = var$5.$buffer; var$3 = var$7.data; var$8 = var$5.$length0; var$9 = var$3.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$quartzblock_lines_top = $par1IconRegister.$registerIcon(var$4, 1); var$5 = $this.$textureName; if (var$5 === null) { $var2 = $this.$blockID; var$5 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $var2, 10); $var2 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, $var2, $var2 + 1 | 0); var$4.$buffer.data[$var2] = 95; $var2 = var$4.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $var2, var$5); var$5 = new jl_String; var$7 = var$4.$buffer; var$3 = var$7.data; var$8 = var$4.$length0; var$10 = var$3.length; if (var$8 >= 0 && var$8 <= (var$10 - 0 | 0)) var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$5); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3017)); var$5 = new jl_String; var$7 = var$4.$buffer; var$3 = var$7.data; var$8 = var$4.$length0; var$10 = var$3.length; if (var$8 >= 0 && var$8 <= (var$10 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8); $this.$quartzblock_bottom = $par1IconRegister.$registerIcon(var$5, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } if (nms_BlockQuartz_quartzBlockTextureTypes.data[$var2] === null) var$3[$var2] = var$3[$var2 - 1 | 0]; else { var$11 = $this.$textureName; if (var$11 === null) { var$9 = $this.$blockID; var$4 = $this.$unlocalizedName; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$9, 10); var$9 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$9, var$9 + 1 | 0); var$6.$buffer.data[var$9] = 95; var$8 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$8, var$4); var$11 = new jl_String; var$7 = var$6.$buffer; var$12 = var$7.data; var$9 = var$6.$length0; var$13 = var$12.length; if (var$9 < 0) break; if (var$9 > (var$13 - 0 | 0)) break; var$11.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); } var$4 = nms_BlockQuartz_quartzBlockTextureTypes.data[$var2]; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, var$11); var$9 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$9, var$9 + 1 | 0); var$6.$buffer.data[var$9] = 95; var$8 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$8, var$4); var$4 = new jl_String; var$7 = var$6.$buffer; var$12 = var$7.data; var$9 = var$6.$length0; var$13 = var$12.length; if (var$9 < 0) break a; if (var$9 > (var$13 - 0 | 0)) break a; var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$3[$var2] = $par1IconRegister.$registerIcon(var$4, 1); } $var2 = $var2 + 1 | 0; } $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockQuartz__clinit_ = () => { let var$1, var$2; nms_BlockQuartz_quartzBlockTypes = $rt_wrapArray(jl_String, [$rt_s(161), $rt_s(3018), $rt_s(3114)]); var$1 = $rt_createArray(jl_String, 5); var$2 = var$1.data; var$2[0] = $rt_s(3115); var$2[1] = $rt_s(3018); var$2[2] = $rt_s(3114); var$2[3] = null; var$2[4] = null; nms_BlockQuartz_quartzBlockTextureTypes = var$1; }; function nms_BlockDropper() { nms_BlockDispenser.call(this); this.$dropperDefaultBehaviour = null; } let nms_BlockDropper__init_ = ($this, $par1) => { let var$2, var$3; nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_rock); $this.$isBlockContainer = 1; var$2 = new nle_EaglercraftRandom; var$3 = Long_fromNumber(performance.now() * 1000000.0); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = var$3; $this.$random1 = var$2; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabRedstone; $this.$dropperDefaultBehaviour = new nms_BehaviorDefaultDispenseItem; }, nms_BlockDropper__init_0 = var_0 => { let var_1 = new nms_BlockDropper(); nms_BlockDropper__init_(var_1, var_0); return var_1; }, nms_BlockDropper_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; $this.$blockIcon = $par1IconRegister.$registerIcon($rt_s(3013), 1); $this.$furnaceTopIcon = $par1IconRegister.$registerIcon($rt_s(3014), 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3015)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$furnaceFrontIcon = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3016)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$field_96473_e = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockDropper_createNewTileEntity = ($this, $par1World) => { return nms_TileEntityDropper__init_(); }, nms_BlockHay = $rt_classWithoutFields(nms_BlockRotatedPillar), nms_BlockHay__init_ = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_grass); nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabBlock; }, nms_BlockHay__init_0 = var_0 => { let var_1 = new nms_BlockHay(); nms_BlockHay__init_(var_1, var_0); return var_1; }, nms_BlockHay_getRenderType = $this => { return 31; }, nms_BlockHay_getSideIcon = ($this, $par1) => { return $this.$blockIcon; }, nms_BlockHay_registerIcons = ($this, $par1IconRegister) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2999)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); $this.$field_111051_a = $par1IconRegister.$registerIcon(var$2, 1); var$2 = $this.$textureName; if (var$2 === null) { var$3 = $this.$blockID; var$2 = $this.$unlocalizedName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2526)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 95; var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$5 = var$4.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $par1IconRegister = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1IconRegister); $rt_throw($par1IconRegister); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2998)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $this.$blockIcon = $par1IconRegister.$registerIcon(var$2, 1); return; } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); } $par1IconRegister = new jl_IndexOutOfBoundsException; $par1IconRegister.$suppressionEnabled = 1; $par1IconRegister.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1IconRegister); $rt_throw($par1IconRegister); }, nms_BlockCarpet = $rt_classWithoutFields(nms_Block), nms_BlockCarpet__init_0 = ($this, $par1) => { nms_Material_$callClinit(); nms_Block__init_($this, $par1, nms_Material_materialCarpet); $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.0625; $this.$maxZ0 = 1.0; $this.$needsRandomTick = 1; nms_CreativeTabs_$callClinit(); $this.$displayOnCreativeTab = nms_CreativeTabs_tabDecorations; $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.0625; $this.$maxZ0 = 1.0; }, nms_BlockCarpet__init_ = var_0 => { let var_1 = new nms_BlockCarpet(); nms_BlockCarpet__init_0(var_1, var_0); return var_1; }, nms_BlockCarpet_getIcon = ($this, $par1, $par2) => { nms_Block_$callClinit(); return nms_Block_cloth.$getIcon($par1, $par2); }, nms_BlockCarpet_getCollisionBoundingBoxFromPool = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; var$5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$6 = $par2; var$7 = var$6 + $this.$minX0; var$8 = $par3 + $this.$minY0; var$9 = $par4; var$10 = var$9 + $this.$minZ0; var$6 = var$6 + $this.$maxX0; var$11 = $par3 + 0.0; var$9 = var$9 + $this.$maxZ0; $par3 = var$5.$nextPoolIndex; $par1World = var$5.$listAABB; $par2 = $par1World.$size0; $par4 = $rt_compare($par3, $par2); if ($par4 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = var$7; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$6; var$12.$maxY = var$11; var$12.$maxZ = var$9; ju_ArrayList_ensureCapacity($par1World, $par2 + 1 | 0); var$13 = $par1World.$array.data; $par2 = $par1World.$size0; $par1World.$size0 = $par2 + 1 | 0; var$13[$par2] = var$12; $par1World.$modCount = $par1World.$modCount + 1 | 0; } else if ($par3 >= 0 && $par4 < 0) { var$12 = $par1World.$array.data[$par3]; var$12.$minX = var$7; var$12.$minY = var$8; var$12.$minZ = var$10; var$12.$maxX = var$6; var$12.$maxY = var$11; var$12.$maxZ = var$9; } else { $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } var$5.$nextPoolIndex = var$5.$nextPoolIndex + 1 | 0; return var$12; }, nms_BlockCarpet_isOpaqueCube = $this => { return 0; }, nms_BlockCarpet_renderAsNormalBlock = $this => { return 0; }, nms_BlockCarpet_setBlockBoundsForItemRender = $this => { $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.0625; $this.$maxZ0 = 1.0; }, nms_BlockCarpet_setBlockBoundsBasedOnState = ($this, $par1IBlockAccess, $par2, $par3, $par4) => { $par1IBlockAccess.$getBlockMetadata($par2, $par3, $par4); $this.$minX0 = 0.0; $this.$minY0 = 0.0; $this.$minZ0 = 0.0; $this.$maxX0 = 1.0; $this.$maxY0 = 0.0625; $this.$maxZ0 = 1.0; }, nms_BlockCarpet_canPlaceBlockAt = ($this, $par1World, $par2, $par3, $par4) => { let var$5; a: { var$5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); if (var$5) { nms_Block_$callClinit(); if (!nms_Block_blocksList.data[var$5].$blockMaterial.$replaceable) { var$5 = 0; break a; } } var$5 = 1; } return var$5 && ((nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4) ? 0 : 1) ? 0 : 1) ? 1 : 0; }, nms_BlockCarpet_onNeighborBlockChange = ($this, $par1World, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ((nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4) ? 0 : 1) ? 0 : 1) return; $par5 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); var$6 = 0; var$7 = 1.0; $ptr = 1; case 1: nms_Block_dropBlockAsItemWithChance($this, $par1World, $par2, $par3, $par4, $par5, var$7, var$6); if ($rt_suspending()) { break main; } $par5 = 0; var$6 = 0; var$8 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, var$6, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, var$6, var$7, var$8, $ptr); }, nms_BlockCarpet_shouldSideBeRendered = ($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) => { return $par5 != 1 ? nms_Block_shouldSideBeRendered($this, $par1IBlockAccess, $par2, $par3, $par4, $par5) : 1; }, nms_BlockCarpet_damageDropped = ($this, $par1) => { return $par1; }, nms_BlockCarpet_getSubBlocks = ($this, $par1, $par2CreativeTabs, $par3List) => { let $var4, var$5, var$6; $var4 = 0; while ($var4 < 16) { $par2CreativeTabs = new nms_ItemStack; nms_ItemStack_$callClinit(); $par2CreativeTabs.$itemID = $par1; $par2CreativeTabs.$stackSize = 1; $par2CreativeTabs.$itemDamage = $var4; if ($var4 < 0) $par2CreativeTabs.$itemDamage = 0; ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$5 = $par3List.$array.data; var$6 = $par3List.$size0; $par3List.$size0 = var$6 + 1 | 0; var$5[var$6] = $par2CreativeTabs; $par3List.$modCount = $par3List.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } }, nms_BlockCarpet_registerIcons = ($this, $par1IconRegister) => { return; }; function nms_ItemBlock() { let a = this; nms_Item.call(a); a.$blockID0 = 0; a.$field_94588_b = null; } let nms_ItemBlock__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$blockID0 = $par1 + 256 | 0; }, nms_ItemBlock__init_ = var_0 => { let var_1 = new nms_ItemBlock(); nms_ItemBlock__init_0(var_1, var_0); return var_1; }, nms_ItemBlock_getBlockID = $this => { return $this.$blockID0; }, nms_ItemBlock_getSpriteNumber = $this => { nms_Block_$callClinit(); return nms_Block_blocksList.data[$this.$blockID0].$getItemIconName() === null ? 0 : 1; }, nms_ItemBlock_getIconFromDamage = ($this, $par1) => { let var$2; var$2 = $this.$field_94588_b; if (var$2 === null) { nms_Block_$callClinit(); var$2 = nms_Block_blocksList.data[$this.$blockID0].$getIcon(1, 0); } return var$2; }, nms_ItemBlock_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var11, $var13, $var14, $var12, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();$var12 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var11 = nms_World_getBlockId($par3World, $par4, $par5, $par6); nms_Block_$callClinit(); if ($var11 == nms_Block_snow.$blockID && (nms_World_getBlockMetadata($par3World, $par4, $par5, $par6) & 7) < 1) $par7 = 1; else if ($var11 != nms_Block_vine.$blockID && $var11 != nms_Block_tallGrass.$blockID && $var11 != nms_Block_deadBush.$blockID) { if (!$par7) $par5 = $par5 + (-1) | 0; if ($par7 == 1) $par5 = $par5 + 1 | 0; if ($par7 == 2) $par6 = $par6 + (-1) | 0; if ($par7 == 3) $par6 = $par6 + 1 | 0; if ($par7 == 4) $par4 = $par4 + (-1) | 0; if ($par7 == 5) $par4 = $par4 + 1 | 0; } if (!$par1ItemStack.$stackSize) return 0; if ($par2EntityPlayer.$capabilities.$allowEdit) $var13 = 1; else { nms_Item_$callClinit(); $var13 = 1; } if (!$var13) return 0; if ($par5 == 255 && nms_Block_blocksList.data[$this.$blockID0].$blockMaterial.$isSolid()) return 0; $var13 = $this.$blockID0; $var14 = 0; $ptr = 1; case 1: $tmp = nms_World_canPlaceEntityOnSide($par3World, $var13, $par4, $par5, $par6, $var14, $par7, $par2EntityPlayer, $par1ItemStack); if ($rt_suspending()) { break main; } $var13 = $tmp; if (!$var13) return 0; $var12 = nms_Block_blocksList.data[$this.$blockID0]; $var13 = $this.$getMetadata($par1ItemStack.$itemDamage); $var14 = nms_Block_blocksList.data[$this.$blockID0].$onBlockPlaced($par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var13); $par7 = $this.$blockID0; $var13 = 3; $ptr = 2; case 2: a: { $tmp = nms_World_setBlock($par3World, $par4, $par5, $par6, $par7, $var14, $var13); if ($rt_suspending()) { break main; } $par7 = $tmp; if ($par7) { $par7 = nms_World_getBlockId($par3World, $par4, $par5, $par6); $var13 = $this.$blockID0; if ($par7 == $var13) { var$15 = nms_Block_blocksList.data[$var13]; $ptr = 3; continue main; } b: { if ($var12.$stepSound.$getPlaceSound() !== null) { $par4 = 0; while (true) { $par5 = $rt_compare($par4, $par3World.$worldAccesses.$size0); if ($par5 >= 0) break b; if ($par4 < 0) break a; if ($par5 >= 0) break a; $par4 = $par4 + 1 | 0; } } } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; } return 1; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); case 3: var$15.$onBlockPlacedBy($par3World, $par4, $par5, $par6, $par2EntityPlayer, $par1ItemStack); if ($rt_suspending()) { break main; } $par2EntityPlayer = nms_Block_blocksList.data[$this.$blockID0]; $ptr = 4; case 4: $par2EntityPlayer.$onPostBlockPlaced($par3World, $par4, $par5, $par6, $var14); if ($rt_suspending()) { break main; } c: { a: { if ($var12.$stepSound.$getPlaceSound() !== null) { $par4 = 0; while (true) { $par5 = $rt_compare($par4, $par3World.$worldAccesses.$size0); if ($par5 >= 0) break a; if ($par4 < 0) break c; if ($par5 >= 0) break c; $par4 = $par4 + 1 | 0; } } } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var11, $var13, $var14, $var12, var$15, $ptr); }, nms_ItemBlock_canPlaceItemBlockOnSide = ($this, $par1World, $par2, $par3, $par4, $par5, $par6EntityPlayer, $par7ItemStack) => { let $var8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$par7ItemStack = $thread.pop();$par6EntityPlayer = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = nms_World_getBlockId($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); if ($var8 == nms_Block_snow.$blockID) $par5 = 1; else if ($var8 != nms_Block_vine.$blockID && $var8 != nms_Block_tallGrass.$blockID && $var8 != nms_Block_deadBush.$blockID) { if (!$par5) $par3 = $par3 + (-1) | 0; if ($par5 == 1) $par3 = $par3 + 1 | 0; if ($par5 == 2) $par4 = $par4 + (-1) | 0; if ($par5 == 3) $par4 = $par4 + 1 | 0; if ($par5 == 4) $par2 = $par2 + (-1) | 0; if ($par5 == 5) $par2 = $par2 + 1 | 0; } $var8 = $this.$blockID0; var$9 = 0; $par6EntityPlayer = null; $ptr = 1; case 1: $tmp = nms_World_canPlaceEntityOnSide($par1World, $var8, $par2, $par3, $par4, var$9, $par5, $par6EntityPlayer, $par7ItemStack); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6EntityPlayer, $par7ItemStack, $var8, var$9, $ptr); }, nms_ItemBlock_getUnlocalizedName0 = ($this, $par1ItemStack) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_Block_$callClinit(); $par1ItemStack = nms_Block_blocksList.data[$this.$blockID0].$unlocalizedName; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2525)); var$3 = var$2.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, $par1ItemStack); $par1ItemStack = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return $par1ItemStack; } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ItemStack); $rt_throw($par1ItemStack); }, nms_ItemBlock_getUnlocalizedName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[$this.$blockID0].$unlocalizedName; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(2525)); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$1; } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); }, nms_ItemBlock_getCreativeTab = $this => { nms_Block_$callClinit(); return nms_Block_blocksList.data[$this.$blockID0].$displayOnCreativeTab; }, nms_ItemBlock_getSubItems = ($this, $par1, $par2CreativeTabs, $par3List) => { nms_Block_$callClinit(); nms_Block_blocksList.data[$this.$blockID0].$getSubBlocks($par1, $par2CreativeTabs, $par3List); }, nms_ItemBlock_registerIcons = ($this, $par1IconRegister) => { let $var2; nms_Block_$callClinit(); $var2 = nms_Block_blocksList.data[$this.$blockID0].$getItemIconName(); if ($var2 !== null) $this.$field_94588_b = nms_TextureMap_registerIcon($par1IconRegister, $var2, 1); }, nms_ItemCloth = $rt_classWithoutFields(nms_ItemBlock), nms_ItemCloth__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$blockID0 = $par1 + 256 | 0; $this.$maxDamage = 0; $this.$hasSubtypes = 1; }, nms_ItemCloth__init_ = var_0 => { let var_1 = new nms_ItemCloth(); nms_ItemCloth__init_0(var_1, var_0); return var_1; }, nms_ItemCloth_getIconFromDamage = ($this, $par1) => { nms_Block_$callClinit(); return nms_Block_cloth.$getIcon(2, ($par1 ^ (-1)) & 15); }, nms_ItemCloth_getMetadata = ($this, $par1) => { return $par1; }, nms_ItemCloth_getUnlocalizedName = ($this, $par1ItemStack) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = nms_ItemBlock_getUnlocalizedName($this); $par1ItemStack = nms_ItemDye_dyeColorNames.data[($par1ItemStack.$itemDamage ^ (-1)) & 15]; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$4 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$2); var$5 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$5, var$5 + 1 | 0); var$3.$buffer.data[var$5] = 46; var$4 = var$3.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, $par1ItemStack); $par1ItemStack = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; var$5 = var$3.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); return $par1ItemStack; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); }; function nms_ItemMultiTextureTile() { let a = this; nms_ItemBlock.call(a); a.$theBlock = null; a.$field_82804_b = null; } let nms_ItemMultiTextureTile__init_0 = ($this, $par1, $par2Block, $par3ArrayOfStr) => { nms_Item__init_($this, $par1); $this.$blockID0 = $par1 + 256 | 0; $this.$theBlock = $par2Block; $this.$field_82804_b = $par3ArrayOfStr; $this.$maxDamage = 0; $this.$hasSubtypes = 1; }, nms_ItemMultiTextureTile__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_ItemMultiTextureTile(); nms_ItemMultiTextureTile__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_ItemMultiTextureTile_getIconFromDamage = ($this, $par1) => { return $this.$theBlock.$getIcon(2, $par1); }, nms_ItemMultiTextureTile_getMetadata = ($this, $par1) => { return $par1; }, nms_ItemMultiTextureTile_getUnlocalizedName = ($this, $par1ItemStack) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; $var2 = $par1ItemStack.$itemDamage; if (!($var2 >= 0 && $var2 < $this.$field_82804_b.data.length)) $var2 = 0; nms_Block_$callClinit(); $par1ItemStack = nms_Block_blocksList.data[$this.$blockID0].$unlocalizedName; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(2525)); var$4 = var$3.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_StringBuilder_insert(var$3, var$4, $par1ItemStack); $par1ItemStack = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$3 = $this.$field_82804_b.data[$var2]; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $par1ItemStack); var$4 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$4, var$4 + 1 | 0); var$9.$buffer.data[var$4] = 46; $var2 = var$9.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, $var2, var$3); $par1ItemStack = new jl_String; var$5 = var$9.$buffer; var$6 = var$5.data; var$4 = var$9.$length0; var$7 = var$6.length; if (var$4 >= 0 && var$4 <= (var$7 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4); return $par1ItemStack; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ItemStack); $rt_throw($par1ItemStack); }; function nms_ItemSlab() { let a = this; nms_ItemBlock.call(a); a.$isFullBlock = 0; a.$theHalfSlab = null; a.$doubleSlab = null; } let nms_ItemSlab__init_0 = ($this, $par1, $par2BlockHalfSlab, $par3BlockHalfSlab, $par4) => { nms_Item__init_($this, $par1); $this.$blockID0 = $par1 + 256 | 0; $this.$theHalfSlab = $par2BlockHalfSlab; $this.$doubleSlab = $par3BlockHalfSlab; $this.$isFullBlock = $par4; $this.$maxDamage = 0; $this.$hasSubtypes = 1; }, nms_ItemSlab__init_ = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_ItemSlab(); nms_ItemSlab__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_ItemSlab_getIconFromDamage = ($this, $par1) => { nms_Block_$callClinit(); return nms_Block_blocksList.data[$this.$itemID0].$getIcon(2, $par1); }, nms_ItemSlab_getMetadata = ($this, $par1) => { return $par1; }, nms_ItemSlab_getUnlocalizedName = ($this, $par1ItemStack) => { return $this.$theHalfSlab.$getFullSlabName($par1ItemStack.$itemDamage); }, nms_ItemSlab_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var12, $var11, $var13, $var14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var12 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$isFullBlock) { $ptr = 1; continue main; } if (!$par1ItemStack.$stackSize) return 0; if ($par2EntityPlayer.$capabilities.$allowEdit) $var12 = 1; else { nms_Item_$callClinit(); $var12 = 1; } if (!$var12) return 0; $var11 = nms_World_getBlockId($par3World, $par4, $par5, $par6); $var12 = nms_World_getBlockMetadata($par3World, $par4, $par5, $par6); $var13 = $var12 & 7; $var14 = !($var12 & 8) ? 0 : 1; a: { if (!($par7 == 1 && !$var14)) { if ($par7) break a; if (!$var14) break a; } if ($var11 == $this.$theHalfSlab.$blockID && $var13 == $par1ItemStack.$itemDamage) { $par2EntityPlayer = $this.$doubleSlab; var$15 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$16 = $par4; var$17 = var$16 + $par2EntityPlayer.$minX0; var$18 = $par5; var$19 = var$18 + $par2EntityPlayer.$minY0; var$20 = $par6; var$21 = var$20 + $par2EntityPlayer.$minZ0; var$16 = var$16 + $par2EntityPlayer.$maxX0; var$18 = var$18 + $par2EntityPlayer.$maxY0; var$20 = var$20 + $par2EntityPlayer.$maxZ0; $par7 = var$15.$nextPoolIndex; $par2EntityPlayer = var$15.$listAABB; $var14 = $par2EntityPlayer.$size0; $var12 = $rt_compare($par7, $var14); if ($var12 >= 0) { var$22 = new nms_AxisAlignedBB; var$22.$minX = var$17; var$22.$minY = var$19; var$22.$minZ = var$21; var$22.$maxX = var$16; var$22.$maxY = var$18; var$22.$maxZ = var$20; ju_ArrayList_ensureCapacity($par2EntityPlayer, $var14 + 1 | 0); var$23 = $par2EntityPlayer.$array.data; $var12 = $par2EntityPlayer.$size0; $par2EntityPlayer.$size0 = $var12 + 1 | 0; var$23[$var12] = var$22; $par2EntityPlayer.$modCount = $par2EntityPlayer.$modCount + 1 | 0; } else if ($par7 >= 0 && $var12 < 0) { var$22 = $par2EntityPlayer.$array.data[$par7]; var$22.$minX = var$17; var$22.$minY = var$19; var$22.$minZ = var$21; var$22.$maxX = var$16; var$22.$maxY = var$18; var$22.$maxZ = var$20; } else { $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } var$15.$nextPoolIndex = var$15.$nextPoolIndex + 1 | 0; if (!nms_World_checkNoEntityCollision($par3World, var$22, null)) return 1; $var12 = $this.$doubleSlab.$blockID; $par7 = 3; $ptr = 4; continue main; } } $ptr = 2; continue main; case 1: $tmp = nms_ItemBlock_onItemUse($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10); if ($rt_suspending()) { break main; } $par4 = $tmp; return $par4; case 2: $tmp = nms_ItemSlab_func_77888_a($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var12) return 1; $ptr = 3; case 3: $tmp = nms_ItemBlock_onItemUse($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10); if ($rt_suspending()) { break main; } $par4 = $tmp; return $par4; case 4: b: { $tmp = nms_World_setBlock($par3World, $par4, $par5, $par6, $var12, $var13, $par7); if ($rt_suspending()) { break main; } $par4 = $tmp; if ($par4) { c: { if ($this.$doubleSlab.$stepSound.$getPlaceSound() !== null) { $par4 = 0; while (true) { $par5 = $rt_compare($par4, $par3World.$worldAccesses.$size0); if ($par5 >= 0) break c; if ($par4 < 0) break b; if ($par5 >= 0) break b; $par4 = $par4 + 1 | 0; } } } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; } return 1; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var12, $var11, $var13, $var14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr); }, nms_ItemSlab_canPlaceItemBlockOnSide = ($this, $par1World, $par2, $par3, $par4, $par5, $par6EntityPlayer, $par7ItemStack) => { let $var11, $var12, $var13, $var14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$par7ItemStack = $thread.pop();$par6EntityPlayer = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var11 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var12 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); $var13 = $var12 & 7; $var14 = !($var12 & 8) ? 0 : 1; a: { $var12 = $rt_compare($par5, 1); if (!(!$var12 && !$var14)) { if ($par5) break a; if (!$var14) break a; } if ($var11 == $this.$theHalfSlab.$blockID && $var13 == $par7ItemStack.$itemDamage) return 1; } $var14 = $par5 ? $par3 : $par3 + (-1) | 0; if (!$var12) $var14 = $var14 + 1 | 0; $var12 = $par5 != 2 ? $par4 : $par4 + (-1) | 0; if ($par5 == 3) $var12 = $var12 + 1 | 0; $var13 = $par5 != 4 ? $par2 : $par2 + (-1) | 0; if ($par5 == 5) $var13 = $var13 + 1 | 0; $var11 = nms_World_getBlockId($par1World, $var13, $var14, $var12); $var14 = nms_World_getBlockMetadata($par1World, $var13, $var14, $var12); $var12 = $var14 & 7; if ($var11 == $this.$theHalfSlab.$blockID && $var12 == $par7ItemStack.$itemDamage) return 1; $ptr = 1; case 1: $tmp = nms_ItemBlock_canPlaceItemBlockOnSide($this, $par1World, $par2, $par3, $par4, $par5, $par6EntityPlayer, $par7ItemStack); if ($rt_suspending()) { break main; } $par2 = $tmp; return $par2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6EntityPlayer, $par7ItemStack, $var11, $var12, $var13, $var14, $ptr); }, nms_ItemSlab_func_77888_a = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7) => { let $var8, $var10, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $var9, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var9 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par7) $par5 = $par5 + (-1) | 0; if ($par7 == 1) $par5 = $par5 + 1 | 0; if ($par7 == 2) $par6 = $par6 + (-1) | 0; if ($par7 == 3) $par6 = $par6 + 1 | 0; if ($par7 == 4) $par4 = $par4 + (-1) | 0; if ($par7 == 5) $par4 = $par4 + 1 | 0; $var8 = nms_World_getBlockId($par3World, $par4, $par5, $par6); $var10 = nms_World_getBlockMetadata($par3World, $par4, $par5, $par6) & 7; if ($var8 == $this.$theHalfSlab.$blockID && $var10 == $par1ItemStack.$itemDamage) { $par2EntityPlayer = $this.$doubleSlab; var$10 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$11 = $par4; var$12 = var$11 + $par2EntityPlayer.$minX0; var$13 = $par5; var$14 = var$13 + $par2EntityPlayer.$minY0; var$15 = $par6; var$16 = var$15 + $par2EntityPlayer.$minZ0; var$11 = var$11 + $par2EntityPlayer.$maxX0; var$13 = var$13 + $par2EntityPlayer.$maxY0; var$15 = var$15 + $par2EntityPlayer.$maxZ0; $par7 = var$10.$nextPoolIndex; $par2EntityPlayer = var$10.$listAABB; $var9 = $par2EntityPlayer.$size0; $var8 = $rt_compare($par7, $var9); if ($var8 >= 0) { var$18 = new nms_AxisAlignedBB; var$18.$minX = var$12; var$18.$minY = var$14; var$18.$minZ = var$16; var$18.$maxX = var$11; var$18.$maxY = var$13; var$18.$maxZ = var$15; ju_ArrayList_ensureCapacity($par2EntityPlayer, $var9 + 1 | 0); var$19 = $par2EntityPlayer.$array.data; $var8 = $par2EntityPlayer.$size0; $par2EntityPlayer.$size0 = $var8 + 1 | 0; var$19[$var8] = var$18; $par2EntityPlayer.$modCount = $par2EntityPlayer.$modCount + 1 | 0; } else if ($par7 >= 0 && $var8 < 0) { var$18 = $par2EntityPlayer.$array.data[$par7]; var$18.$minX = var$12; var$18.$minY = var$14; var$18.$minZ = var$16; var$18.$maxX = var$11; var$18.$maxY = var$13; var$18.$maxZ = var$15; } else { $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } var$10.$nextPoolIndex = var$10.$nextPoolIndex + 1 | 0; if (!nms_World_checkNoEntityCollision($par3World, var$18, null)) return 1; $par7 = $this.$doubleSlab.$blockID; $var8 = 3; $ptr = 1; continue main; } return 0; case 1: a: { $tmp = nms_World_setBlock($par3World, $par4, $par5, $par6, $par7, $var10, $var8); if ($rt_suspending()) { break main; } $par4 = $tmp; if ($par4) { b: { if ($this.$doubleSlab.$stepSound.$getPlaceSound() !== null) { $par4 = 0; while (true) { $par5 = $rt_compare($par4, $par3World.$worldAccesses.$size0); if ($par5 >= 0) break b; if ($par4 < 0) break a; if ($par5 >= 0) break a; $par4 = $par4 + 1 | 0; } } } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; } return 1; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $var8, $var10, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $var9, var$18, var$19, $ptr); }, nms_ItemLeaves = $rt_classWithoutFields(nms_ItemBlock), nms_ItemLeaves__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$blockID0 = $par1 + 256 | 0; $this.$maxDamage = 0; $this.$hasSubtypes = 1; }, nms_ItemLeaves__init_ = var_0 => { let var_1 = new nms_ItemLeaves(); nms_ItemLeaves__init_0(var_1, var_0); return var_1; }, nms_ItemLeaves_getMetadata = ($this, $par1) => { return $par1 | 4; }, nms_ItemLeaves_getIconFromDamage = ($this, $par1) => { nms_Block_$callClinit(); return nms_BlockLeaves_getIcon(nms_Block_leaves, 0, $par1); }, nms_ItemLeaves_getColorFromItemStack = ($this, $par1ItemStack, $par2) => { let $var3; $var3 = $par1ItemStack.$itemDamage; return ($var3 & 1) == 1 ? 6396257 : ($var3 & 2) != 2 ? 4764952 : 8431445; }, nms_ItemLeaves_getUnlocalizedName = ($this, $par1ItemStack) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; $var2 = $par1ItemStack.$itemDamage; if (!($var2 >= 0 && $var2 < nms_BlockLeaves_LEAF_TYPES.data.length)) $var2 = 0; nms_Block_$callClinit(); $par1ItemStack = nms_Block_blocksList.data[$this.$blockID0].$unlocalizedName; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(2525)); var$4 = var$3.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_StringBuilder_insert(var$3, var$4, $par1ItemStack); $par1ItemStack = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$7 = var$3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$3 = nms_BlockLeaves_LEAF_TYPES.data[$var2]; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $par1ItemStack); var$4 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$4, var$4 + 1 | 0); var$9.$buffer.data[var$4] = 46; $var2 = var$9.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, $var2, var$3); $par1ItemStack = new jl_String; var$5 = var$9.$buffer; var$6 = var$5.data; var$4 = var$9.$length0; var$7 = var$6.length; if (var$4 >= 0 && var$4 <= (var$7 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4); return $par1ItemStack; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ItemStack); $rt_throw($par1ItemStack); }; function nms_ItemColored() { let a = this; nms_ItemBlock.call(a); a.$blockRef = null; a.$blockNames = null; } let nms_ItemColored__init_0 = ($this, $par1, $par2) => { nms_Item__init_($this, $par1); $par1 = $par1 + 256 | 0; $this.$blockID0 = $par1; nms_Block_$callClinit(); $this.$blockRef = nms_Block_blocksList.data[$par1]; if ($par2) { $this.$maxDamage = 0; $this.$hasSubtypes = 1; } }, nms_ItemColored__init_ = (var_0, var_1) => { let var_2 = new nms_ItemColored(); nms_ItemColored__init_0(var_2, var_0, var_1); return var_2; }, nms_ItemColored_getColorFromItemStack = ($this, $par1ItemStack, $par2) => { return $this.$blockRef.$getRenderColor($par1ItemStack.$itemDamage); }, nms_ItemColored_getIconFromDamage = ($this, $par1) => { return $this.$blockRef.$getIcon(0, $par1); }, nms_ItemColored_getMetadata = ($this, $par1) => { return $par1; }, nms_ItemColored_setBlockNames = ($this, $par1ArrayOfStr) => { $this.$blockNames = $par1ArrayOfStr; return $this; }, nms_ItemColored_getUnlocalizedName = ($this, $par1ItemStack) => { let var$2, var$3, var$4, var$5, var$6, var$7, $var2, var$9; var$2 = $this.$blockNames; if (var$2 === null) { nms_Block_$callClinit(); $par1ItemStack = nms_Block_blocksList.data[$this.$blockID0].$unlocalizedName; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(2525)); var$4 = var$3.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_StringBuilder_insert(var$3, var$4, $par1ItemStack); $par1ItemStack = new jl_String; var$2 = var$3.$buffer; var$5 = var$2.data; var$6 = var$3.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$2.data, 0, var$6); return $par1ItemStack; } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ItemStack); $rt_throw($par1ItemStack); } a: { b: { $var2 = $par1ItemStack.$itemDamage; if ($var2 >= 0 && $var2 < var$2.data.length) { nms_Block_$callClinit(); $par1ItemStack = nms_Block_blocksList.data[$this.$blockID0].$unlocalizedName; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(2525)); var$4 = var$3.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_StringBuilder_insert(var$3, var$4, $par1ItemStack); $par1ItemStack = new jl_String; var$2 = var$3.$buffer; var$5 = var$2.data; var$6 = var$3.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { $par1ItemStack.$nativeString = $rt_charArrayToString(var$2.data, 0, var$6); var$3 = $this.$blockNames.data[$var2]; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $par1ItemStack); var$6 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$6, var$6 + 1 | 0); var$9.$buffer.data[var$6] = 46; var$4 = var$9.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, var$4, var$3); $par1ItemStack = new jl_String; var$2 = var$9.$buffer; var$5 = var$2.data; var$6 = var$9.$length0; var$7 = var$5.length; if (var$6 < 0) break a; if (var$6 > (var$7 - 0 | 0)) break a; $par1ItemStack.$nativeString = $rt_charArrayToString(var$2.data, 0, var$6); break b; } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ItemStack); $rt_throw($par1ItemStack); } nms_Block_$callClinit(); $par1ItemStack = nms_Block_blocksList.data[$this.$blockID0].$unlocalizedName; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(2525)); var$4 = var$3.$length0; if ($par1ItemStack === null) $par1ItemStack = $rt_s(1); jl_StringBuilder_insert(var$3, var$4, $par1ItemStack); $par1ItemStack = new jl_String; var$2 = var$3.$buffer; var$5 = var$2.data; var$6 = var$3.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) $par1ItemStack.$nativeString = $rt_charArrayToString(var$2.data, 0, var$6); else { $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ItemStack); $rt_throw($par1ItemStack); } } return $par1ItemStack; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); }; function nms_ItemBlockWithMetadata() { nms_ItemBlock.call(this); this.$theBlock0 = null; } let nms_ItemBlockWithMetadata_getIconFromDamage = ($this, $par1) => { return $this.$theBlock0.$getIcon(2, $par1); }, nms_ItemBlockWithMetadata_getMetadata = ($this, $par1) => { return $par1; }, nms_ItemSnow = $rt_classWithoutFields(nms_ItemBlockWithMetadata), nms_ItemSnow__init_ = ($this, $par1, $par2Block) => { nms_Item__init_($this, $par1); $this.$blockID0 = $par1 + 256 | 0; $this.$theBlock0 = $par2Block; $this.$maxDamage = 0; $this.$hasSubtypes = 1; }, nms_ItemSnow__init_0 = (var_0, var_1) => { let var_2 = new nms_ItemSnow(); nms_ItemSnow__init_(var_2, var_0, var_1); return var_2; }, nms_ItemSnow_onItemUse = ($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let $var11, $var12, $var13, $var14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3World = $thread.pop();$par2EntityPlayer = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1ItemStack.$stackSize) return 0; if ($par2EntityPlayer.$capabilities.$allowEdit) $var11 = 1; else { nms_Item_$callClinit(); $var11 = 1; } if (!$var11) return 0; $var11 = nms_World_getBlockId($par3World, $par4, $par5, $par6); nms_Block_$callClinit(); if ($var11 == nms_Block_snow.$blockID) { $var12 = nms_Block_blocksList.data[$this.$blockID0]; $var13 = nms_World_getBlockMetadata($par3World, $par4, $par5, $par6); $var14 = $var13 & 7; if ($var14 <= 6) { $ptr = 2; continue main; } } $ptr = 1; case 1: $tmp = nms_ItemBlock_onItemUse($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10); if ($rt_suspending()) { break main; } $par4 = $tmp; return $par4; case 2: $tmp = $var12.$getCollisionBoundingBoxFromPool($par3World, $par4, $par5, $par6); if ($rt_suspending()) { break main; } var$15 = $tmp; if (!nms_World_checkNoEntityCollision($par3World, var$15, null)) { $ptr = 1; continue main; } $var11 = ($var14 + 1 | 0) | $var13 & (-8); $var14 = 2; $ptr = 3; case 3: $tmp = nms_World_setBlockMetadataWithNotify($par3World, $par4, $par5, $par6, $var11, $var14); if ($rt_suspending()) { break main; } $var11 = $tmp; if ($var11) { a: { b: { if ($var12.$stepSound.$getPlaceSound() !== null) { $par4 = 0; while (true) { $par5 = $rt_compare($par4, $par3World.$worldAccesses.$size0); if ($par5 >= 0) break b; if ($par4 < 0) break a; if ($par5 >= 0) break a; $par4 = $par4 + 1 | 0; } } } $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return 1; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2EntityPlayer, $par3World, $par4, $par5, $par6, $par7, $par8, $par9, $par10, $var11, $var12, $var13, $var14, var$15, $ptr); }, nms_ItemLilyPad = $rt_classWithoutFields(nms_ItemColored), nms_ItemLilyPad__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); $par1 = $par1 + 256 | 0; $this.$blockID0 = $par1; nms_Block_$callClinit(); $this.$blockRef = nms_Block_blocksList.data[$par1]; }, nms_ItemLilyPad__init_ = var_0 => { let var_1 = new nms_ItemLilyPad(); nms_ItemLilyPad__init_0(var_1, var_0); return var_1; }, nms_ItemLilyPad_onItemRightClick = ($this, $par1ItemStack, $par2World, $par3EntityPlayer) => { let var$4, $var4, $var5, $var6, $var7, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3EntityPlayer = $thread.pop();$par2World = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 1; $ptr = 1; case 1: $tmp = nms_Item_getMovingObjectPositionFromPlayer($this, $par2World, $par3EntityPlayer, var$4); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 === null) return $par1ItemStack; if ($var4.$typeOfHit === nms_EnumMovingObjectType_TILE) { $var5 = $var4.$blockX; $var6 = $var4.$blockY; $var7 = $var4.$blockZ; if (!($par3EntityPlayer.$capabilities.$allowEdit ? 1 : $par1ItemStack === null ? 0 : 1)) return $par1ItemStack; var$4 = nms_World_getBlockId($par2World, $var5, $var6, $var7); if (!var$4) { nms_Material_$callClinit(); $var4 = nms_Material_air; } else { nms_Block_$callClinit(); $var4 = nms_Block_blocksList.data[var$4].$blockMaterial; } nms_Material_$callClinit(); if ($var4 === nms_Material_water && !nms_World_getBlockMetadata($par2World, $var5, $var6, $var7)) { var$4 = $var6 + 1 | 0; if (nms_World_getBlockId($par2World, $var5, var$4, $var7) ? 0 : 1) { nms_Block_$callClinit(); $var6 = nms_Block_waterlily.$blockID; var$9 = 0; var$10 = 3; $ptr = 2; continue main; } } } return $par1ItemStack; case 2: nms_World_setBlock($par2World, $var5, var$4, $var7, $var6, var$9, var$10); if ($rt_suspending()) { break main; } if (!$par3EntityPlayer.$capabilities.$isCreativeMode) $par1ItemStack.$stackSize = $par1ItemStack.$stackSize - 1 | 0; return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2World, $par3EntityPlayer, var$4, $var4, $var5, $var6, $var7, var$9, var$10, $ptr); }, nms_ItemLilyPad_getColorFromItemStack = ($this, $par1ItemStack, $par2) => { nms_Block_$callClinit(); return nms_Block_waterlily.$getRenderColor($par1ItemStack.$itemDamage); }, nms_ItemPiston = $rt_classWithoutFields(nms_ItemBlock), nms_ItemPiston__init_0 = ($this, $par1) => { nms_Item__init_($this, $par1); $this.$blockID0 = $par1 + 256 | 0; }, nms_ItemPiston__init_ = var_0 => { let var_1 = new nms_ItemPiston(); nms_ItemPiston__init_0(var_1, var_0); return var_1; }, nms_ItemPiston_getMetadata = ($this, $par1) => { return 7; }, nms_ItemAnvilBlock = $rt_classWithoutFields(nms_ItemMultiTextureTile), nms_ItemAnvilBlock__init_0 = ($this, $par1Block) => { let var$2, var$3; var$2 = $par1Block.$blockID - 256 | 0; var$3 = nms_BlockAnvil_statuses; nms_Item__init_($this, var$2); $this.$blockID0 = var$2 + 256 | 0; $this.$theBlock = $par1Block; $this.$field_82804_b = var$3; $this.$maxDamage = 0; $this.$hasSubtypes = 1; }, nms_ItemAnvilBlock__init_ = var_0 => { let var_1 = new nms_ItemAnvilBlock(); nms_ItemAnvilBlock__init_0(var_1, var_0); return var_1; }, nms_ItemAnvilBlock_getMetadata = ($this, $par1) => { return $par1 << 2; }; function jt_NumberFormat() { let a = this; jt_Format.call(a); a.$groupingUsed = 0; a.$parseIntegerOnly = 0; a.$maximumIntegerDigits = 0; a.$minimumIntegerDigits = 0; a.$maximumFractionDigits = 0; a.$minimumFractionDigits = 0; a.$roundingMode = null; a.$currency = null; } function jt_DecimalFormat() { let a = this; jt_NumberFormat.call(a); a.$symbols = null; a.$positivePrefix = null; a.$negativePrefix = null; a.$positiveSuffix = null; a.$negativeSuffix = null; a.$multiplier = 0; a.$groupingSize = 0; a.$decimalSeparatorAlwaysShown = 0; a.$exponentDigits = 0; a.$pattern3 = null; } let jt_DecimalFormat_POW10_ARRAY = null, jt_DecimalFormat_POW10_INT_ARRAY = null, jt_DecimalFormat__init_0 = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; ju_Locale_$callClinit(); var$1 = ju_Locale_defaultLocale; var$2 = var$1.$languageCode; var$3 = var$1.$countryCode; if (otciu_CLDRHelper_$$metadata$$17 === null) otciu_CLDRHelper_$$metadata$$17 = otciu_CLDRHelper_getNumberFormatMap$$create(); var$4 = otciu_CLDRHelper_$$metadata$$17; if (var$3.$nativeString.length ? 0 : 1) var$1 = var$2; else { var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$5, var$5.$length0, var$2 === null ? $rt_s(1) : jl_String_toString(var$2)); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 45; jl_StringBuilder_insert0(var$5, var$5.$length0, jl_String_toString(var$3)); var$1 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$9 = var$5.$length0; var$6 = var$8.length; if (var$9 >= 0 && var$9 <= (var$6 - 0 | 0)) var$1.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); else { var$1 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_(var$1); $rt_throw(var$1); } } var$4 = ((var$4.hasOwnProperty($rt_ustr(var$1)) ? var$4[$rt_ustr(var$1)] : var$4.hasOwnProperty($rt_ustr(var$2)) ? var$4[$rt_ustr(var$2)] : var$4.root).value !== null ? $rt_str((var$4.hasOwnProperty($rt_ustr(var$1)) ? var$4[$rt_ustr(var$1)] : var$4.hasOwnProperty($rt_ustr(var$2)) ? var$4[$rt_ustr(var$2)] : var$4.root).value) : null); var$1 = new jt_DecimalFormatSymbols; var$1.$locale2 = ju_Locale_defaultLocale; jt_DecimalFormatSymbols_initData(var$1); jt_DecimalFormat__init_($this, var$4, var$1); }, jt_DecimalFormat__init_1 = () => { let var_0 = new jt_DecimalFormat(); jt_DecimalFormat__init_0(var_0); return var_0; }, jt_DecimalFormat__init_ = ($this, $pattern, $value) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $$je; $this.$groupingUsed = 1; $this.$maximumIntegerDigits = 40; $this.$minimumIntegerDigits = 1; $this.$maximumFractionDigits = 3; $this.$roundingMode = jm_RoundingMode_HALF_EVEN; ju_Locale_$callClinit(); var$3 = ju_Locale_defaultLocale; if (var$3 === null) { $pattern = new jl_NullPointerException; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $rt_throw($pattern); } var$4 = var$3.$languageCode; var$3 = var$3.$countryCode; if (var$3.$nativeString.length ? 0 : 1) { if (otciu_CLDRHelper_$$metadata$$0 === null) otciu_CLDRHelper_$$metadata$$0 = otciu_CLDRHelper_getLikelySubtagsMap$$create(); var$3 = otciu_CLDRHelper_$$metadata$$0; if (var$3.hasOwnProperty($rt_ustr(var$4))) var$4 = (var$3[$rt_ustr(var$4)].value !== null ? $rt_str(var$3[$rt_ustr(var$4)].value) : null); var$5 = jl_String_lastIndexOf(var$4, 95, var$4.$nativeString.length - 1 | 0); var$3 = var$5 <= 0 ? $rt_s(18) : jl_String_substring(var$4, var$5 + 1 | 0, var$4.$nativeString.length); } if (otcic_CurrencyHelper_$$metadata$$1 === null) otcic_CurrencyHelper_$$metadata$$1 = otcic_CurrencyHelper_getCountryToCurrencyMap$$create(); var$4 = otcic_CurrencyHelper_$$metadata$$1; if (!var$4.hasOwnProperty($rt_ustr(var$3))) var$3 = null; else { var$4 = (var$4[$rt_ustr(var$3)].value !== null ? $rt_str(var$4[$rt_ustr(var$3)].value) : null); if (var$4 === null) { $pattern = new jl_NullPointerException; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $rt_throw($pattern); } a: { ju_Currency_initCurrencies(); var$3 = ju_Currency_currencies; if (!var$4.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$4.$nativeString.length) break a; var$4.$hashCode1 = (31 * var$4.$hashCode1 | 0) + var$4.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$6 = var$4.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { b: { var$8 = var$3.$key; if (var$4 !== var$8) { if (var$4 === var$8) var$9 = 1; else if (!(var$8 instanceof jl_String)) var$9 = 0; else { var$8 = var$8; var$9 = var$4.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break b; } } var$9 = 1; } if (var$9) break; } var$3 = var$3.$next3; } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { $pattern = new jl_IllegalArgumentException; $value = new jl_StringBuilder; $value.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0($value, $value.$length0, jl_String_toString($rt_s(3116))); jl_StringBuilder_insert0($value, $value.$length0, var$4 === null ? $rt_s(1) : jl_String_toString(var$4)); var$4 = new jl_String; var$7 = $value.$buffer; var$10 = var$7.data; var$5 = $value.$length0; var$6 = var$10.length; if (var$5 >= 0 && var$5 <= (var$6 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$5); $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $pattern.$message = var$4; $rt_throw($pattern); } $pattern = new jl_IndexOutOfBoundsException; $pattern.$suppressionEnabled = 1; $pattern.$writableStackTrace = 1; $rt_throw($pattern); } } $this.$currency = var$3; $this.$positivePrefix = $rt_createArray(jt_DecimalFormat$FormatField, 0); var$7 = $rt_createArray(jt_DecimalFormat$FormatField, 1); var$10 = var$7.data; var$4 = new jt_DecimalFormat$TextField; var$4.$text0 = $rt_s(3117); var$10[0] = var$4; $this.$negativePrefix = var$7; $this.$positiveSuffix = $rt_createArray(jt_DecimalFormat$FormatField, 0); $this.$negativeSuffix = $rt_createArray(jt_DecimalFormat$FormatField, 0); $this.$multiplier = 1; c: { try { $value = jl_Object_clone($value); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { $value = $$je; break c; } else { throw $$e; } } $this.$symbols = $value; $value = new jt_DecimalFormatParser; jt_DecimalFormatParser_parse($value, $pattern); jt_DecimalFormatParser_apply($value, $this); $this.$pattern3 = $pattern; return; } var$4 = new jl_AssertionError; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(3118); var$4.$cause = $value; $rt_throw(var$4); }, jt_DecimalFormat__init_2 = (var_0, var_1) => { let var_2 = new jt_DecimalFormat(); jt_DecimalFormat__init_(var_2, var_0, var_1); return var_2; }, jt_DecimalFormat_format = ($this, $value, $buffer, $field) => { let var$4, var$5, var$6, var$7, $analysisResult; if (isNaN($value) ? 1 : 0) { var$4 = $this.$positivePrefix.data; var$5 = var$4.length; var$6 = 0; while (var$6 < var$5) { var$4[var$6].$render1($this, $buffer); var$6 = var$6 + 1 | 0; } $field = $this.$symbols.$nan; jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $field); var$4 = $this.$positiveSuffix; if (var$4 !== null) { var$4 = var$4.data; var$6 = var$4.length; var$7 = 0; while (var$7 < var$6) { var$4[var$7].$render1($this, $buffer); var$7 = var$7 + 1 | 0; } } } else if (!(!isFinite($value) ? 1 : 0)) { $analysisResult = jt_DecimalFormat$Constants_doubleAnalysisResult; otcit_DoubleAnalyzer_analyze($value, $analysisResult); if ($this.$exponentDigits <= 0) jt_DecimalFormat_formatRegular0($this, $analysisResult.$mantissa, $analysisResult.$exponent, $analysisResult.$sign2 ? 0 : 1, $buffer); else jt_DecimalFormat_formatExponent0($this, $analysisResult.$mantissa, $analysisResult.$exponent, $analysisResult.$sign2 ? 0 : 1, $buffer); } else { var$6 = $rt_compare($value, 0.0); var$4 = (var$6 <= 0 ? $this.$negativePrefix : $this.$positivePrefix).data; var$7 = var$4.length; var$5 = 0; while (var$5 < var$7) { var$4[var$5].$render1($this, $buffer); var$5 = var$5 + 1 | 0; } $field = $this.$symbols.$infinity; jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $field); if (var$6 <= 0 ? 0 : 1) { var$4 = $this.$positiveSuffix; if (var$4 !== null) { var$4 = var$4.data; var$6 = var$4.length; var$7 = 0; while (var$7 < var$6) { var$4[var$7].$render1($this, $buffer); var$7 = var$7 + 1 | 0; } } } else { var$4 = $this.$negativeSuffix; if (var$4 === null) { var$4 = $this.$positiveSuffix; if (var$4 === null) var$4 = $rt_createArray(jt_DecimalFormat$FormatField, 0); } var$4 = var$4.data; var$6 = var$4.length; var$7 = 0; while (var$7 < var$6) { var$4[var$7].$render1($this, $buffer); var$7 = var$7 + 1 | 0; } } } return $buffer; }, jt_DecimalFormat_formatExponent0 = ($this, $mantissa, $exponent, $sign, $buffer) => { let $visibleExponent, $mantissaLength, $requiredSize, $multiplierDigits, $tenMultiplier, var$10, var$11, var$12, $limit, $significantSize, $exponentMultiplier, $i, $delta, $newMantissaLength, var$19, $exponentPos, $i_0, $mantissaDigitMask, $limit_0, $count, $exponentLength, $exponentLength_0, $exponentDigit; $visibleExponent = jt_DecimalFormat_fastLn10($this, $mantissa); $mantissaLength = $visibleExponent + 1 | 0; $requiredSize = $this.$multiplier; if ($requiredSize != 1) { $multiplierDigits = jt_DecimalFormat_fastLn100($this, $requiredSize); $tenMultiplier = jt_DecimalFormat_POW10_INT_ARRAY.data[$multiplierDigits]; $requiredSize = $this.$multiplier; if ($tenMultiplier == $requiredSize) $exponent = $exponent + $multiplierDigits | 0; else { var$10 = Long_fromInt($requiredSize); if (Long_ge($mantissa, Long_div(Long_create(4294967295, 2147483647), var$10))) { var$11 = new jm_BigDecimal; var$12 = jm_BigInteger_valueOf($mantissa); $exponent = $visibleExponent - $exponent | 0; jm_BigDecimal_$callClinit(); if (var$12 === null) { $buffer = new jl_NullPointerException; $buffer.$suppressionEnabled = 1; $buffer.$writableStackTrace = 1; $rt_throw($buffer); } var$11.$scale0 = $exponent; var$11.$intVal = var$12; $sign = jm_BitLevel_bitLength(var$12); var$11.$bitLength0 = $sign; if ($sign < 64) var$11.$smallValue = jm_BigInteger_longValue(var$12); jt_DecimalFormat_formatExponent($this, var$11, $buffer); return; } $mantissa = Long_mul($mantissa, var$10); $visibleExponent = jt_DecimalFormat_fastLn10($this, $mantissa); $mantissaLength = $visibleExponent + 1 | 0; } } $limit = $this.$minimumIntegerDigits; $significantSize = $limit + $this.$maximumFractionDigits | 0; $exponentMultiplier = ($this.$maximumIntegerDigits - $limit | 0) + 1 | 0; if ($exponentMultiplier <= 1) { $requiredSize = $limit - 1 | 0; $exponentMultiplier = $exponent - $requiredSize | 0; $i = $visibleExponent - $requiredSize | 0; } else { $delta = $exponent - $rt_imul($exponent / $exponentMultiplier | 0, $exponentMultiplier) | 0; $exponentMultiplier = $exponent - $delta | 0; $i = $visibleExponent - $delta | 0; } if ($significantSize < 0) $mantissa = Long_ZERO; else if ($significantSize < $mantissaLength) { $mantissa = jt_DecimalFormat_applyRounding($this, $mantissa, $mantissaLength, $significantSize, $sign); $newMantissaLength = jt_DecimalFormat_fastLn10($this, $mantissa) + 1 | 0; if ($newMantissaLength > $mantissaLength) { $exponentMultiplier = $exponentMultiplier + 1 | 0; $i = $i + 1 | 0; $mantissaLength = $newMantissaLength; } } var$19 = (!$sign ? $this.$negativePrefix : $this.$positivePrefix).data; $exponent = var$19.length; $requiredSize = 0; while ($requiredSize < $exponent) { var$19[$requiredSize].$render1($this, $buffer); $requiredSize = $requiredSize + 1 | 0; } $exponentPos = 0; if ($i > $exponentPos) $exponentPos = $i; $i_0 = $mantissaLength - 1 | 0; while ($i_0 >= $exponentPos) { $mantissaDigitMask = jt_DecimalFormat_POW10_ARRAY.data[$i_0]; $requiredSize = Long_lo(Long_div($mantissa, $mantissaDigitMask)); $exponent = ($this.$symbols.$zeroDigit + $requiredSize | 0) & 65535; $limit = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $limit, $limit + 1 | 0); $buffer.$buffer.data[$limit] = $exponent; $mantissa = Long_rem($mantissa, $mantissaDigitMask); $i_0 = $i_0 + (-1) | 0; } $i_0 = $exponentPos - 1 | 0; while ($i_0 >= $i) { $requiredSize = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $requiredSize, $requiredSize + 1 | 0); $buffer.$buffer.data[$requiredSize] = 48; $i_0 = $i_0 + (-1) | 0; } a: { $limit_0 = $significantSize - ($mantissaLength - $i | 0) | 0; $requiredSize = $limit_0 - ($this.$maximumFractionDigits - $this.$minimumFractionDigits | 0) | 0; if ($requiredSize <= 0) { if (Long_eq($mantissa, Long_ZERO)) break a; if ($limit_0 <= 0) break a; } $limit = $this.$symbols.$decimalSeparator; $exponent = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $exponent, $exponent + 1 | 0); $buffer.$buffer.data[$exponent] = $limit; $limit_0 = $i - $limit_0 | 0; if (0 > $limit_0) $limit_0 = 0; $count = 0; $i = $i - 1 | 0; b: { while ($i >= $limit_0) { $mantissaDigitMask = jt_DecimalFormat_POW10_ARRAY.data[$i]; $exponent = Long_lo(Long_div($mantissa, $mantissaDigitMask)); $limit = ($this.$symbols.$zeroDigit + $exponent | 0) & 65535; $exponent = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $exponent, $exponent + 1 | 0); $buffer.$buffer.data[$exponent] = $limit; $mantissa = Long_rem($mantissa, $mantissaDigitMask); $count = $count + 1 | 0; if (Long_eq($mantissa, Long_ZERO)) break b; $i = $i + (-1) | 0; } } while (true) { $exponent = $count + 1 | 0; if ($count >= $requiredSize) break a; $limit_0 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $limit_0, $limit_0 + 1 | 0); $buffer.$buffer.data[$limit_0] = 48; $count = $exponent; } } var$11 = $this.$symbols.$exponentSeparator; jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, var$11); if ($exponentMultiplier < 0) { $exponentMultiplier = -$exponentMultiplier | 0; $requiredSize = $this.$symbols.$minusSign; $exponent = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $exponent, $exponent + 1 | 0); $buffer.$buffer.data[$exponent] = $requiredSize; } $exponentLength = $this.$exponentDigits; $exponentLength_0 = jt_DecimalFormat_fastLn100($this, $exponentMultiplier) + 1 | 0; if ($exponentLength > $exponentLength_0) $exponentLength_0 = $exponentLength; $i = $exponentLength_0 - 1 | 0; while ($i >= 0) { $exponentDigit = jt_DecimalFormat_POW10_INT_ARRAY.data[$i]; $exponent = $exponentMultiplier / $exponentDigit | 0; $exponent = ($this.$symbols.$zeroDigit + $exponent | 0) & 65535; $requiredSize = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $requiredSize, $requiredSize + 1 | 0); $buffer.$buffer.data[$requiredSize] = $exponent; $exponentMultiplier = $exponentMultiplier % $exponentDigit | 0; $i = $i + (-1) | 0; } if ($sign) { var$19 = $this.$positiveSuffix; if (var$19 !== null) { var$19 = var$19.data; $exponent = var$19.length; $sign = 0; while ($sign < $exponent) { var$19[$sign].$render1($this, $buffer); $sign = $sign + 1 | 0; } } } else { var$19 = $this.$negativeSuffix; if (var$19 === null) { var$19 = $this.$positiveSuffix; if (var$19 === null) var$19 = $rt_createArray(jt_DecimalFormat$FormatField, 0); } var$19 = var$19.data; $exponent = var$19.length; $sign = 0; while ($sign < $exponent) { var$19[$sign].$render1($this, $buffer); $sign = $sign + 1 | 0; } } }, jt_DecimalFormat_formatRegular0 = ($this, $mantissa, $exponent, $sign, $buffer) => { let $mantissaLength, $fracZeros, $multiplierDigits, $tenMultiplier, var$9, var$10, var$11, $roundingPos, $newMantissaLength, var$14, $intLength, $digitPos, $i, $significantIntDigits, $mantissaDigit, $mantissaDigitMask, $fracZeros_0, $i_0, $significantFracDigits; $mantissaLength = jt_DecimalFormat_fastLn10($this, $mantissa) + 1 | 0; $fracZeros = $exponent + 1 | 0; $exponent = $this.$multiplier; if ($exponent != 1) { $multiplierDigits = jt_DecimalFormat_fastLn100($this, $exponent); $tenMultiplier = jt_DecimalFormat_POW10_INT_ARRAY.data[$multiplierDigits]; $exponent = $this.$multiplier; if ($tenMultiplier == $exponent) $fracZeros = $fracZeros + $multiplierDigits | 0; else { var$9 = Long_fromInt($exponent); if (Long_ge($mantissa, Long_div(Long_create(4294967295, 2147483647), var$9))) { var$10 = new jm_BigDecimal; var$11 = jm_BigInteger_valueOf($mantissa); $exponent = $mantissaLength - $fracZeros | 0; jm_BigDecimal_$callClinit(); if (var$11 === null) { $buffer = new jl_NullPointerException; $buffer.$suppressionEnabled = 1; $buffer.$writableStackTrace = 1; $rt_throw($buffer); } var$10.$scale0 = $exponent; var$10.$intVal = var$11; $sign = jm_BitLevel_bitLength(var$11); var$10.$bitLength0 = $sign; if ($sign < 64) var$10.$smallValue = jm_BigInteger_longValue(var$11); jt_DecimalFormat_formatRegular($this, var$10, $buffer); return; } $mantissa = Long_mul($mantissa, var$9); $mantissaLength = jt_DecimalFormat_fastLn10($this, $mantissa) + 1 | 0; } } $roundingPos = $fracZeros + $this.$maximumFractionDigits | 0; if ($roundingPos < 0) $mantissa = Long_ZERO; else if ($roundingPos < $mantissaLength) { $mantissa = jt_DecimalFormat_applyRounding($this, $mantissa, $mantissaLength, $roundingPos, $sign); $newMantissaLength = jt_DecimalFormat_fastLn10($this, $mantissa) + 1 | 0; if ($newMantissaLength > $mantissaLength) { $fracZeros = $fracZeros + 1 | 0; $mantissaLength = $newMantissaLength; } } var$14 = (!$sign ? $this.$negativePrefix : $this.$positivePrefix).data; $exponent = var$14.length; $multiplierDigits = 0; while ($multiplierDigits < $exponent) { var$14[$multiplierDigits].$render1($this, $buffer); $multiplierDigits = $multiplierDigits + 1 | 0; } $intLength = 0; if ($intLength <= $fracZeros) $intLength = $fracZeros; $tenMultiplier = $this.$minimumIntegerDigits; $digitPos = ($intLength <= $tenMultiplier ? $tenMultiplier : $intLength) - 1 | 0; $i = $tenMultiplier - 1 | 0; while ($i >= $intLength) { $multiplierDigits = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $multiplierDigits, $multiplierDigits + 1 | 0); $buffer.$buffer.data[$multiplierDigits] = 48; if ($this.$groupingUsed) { $exponent = $this.$groupingSize; if ($exponent > 0 && !($digitPos % $exponent | 0) && $digitPos > 0) { $multiplierDigits = $this.$symbols.$groupingSeparator; $exponent = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $exponent, $exponent + 1 | 0); $buffer.$buffer.data[$exponent] = $multiplierDigits; } } $digitPos = $digitPos + (-1) | 0; $i = $i + (-1) | 0; } $significantIntDigits = $mantissaLength >= $intLength ? $intLength : $mantissaLength; $mantissaDigit = $mantissaLength - 1 | 0; $i = 0; while ($i < $significantIntDigits) { var$14 = jt_DecimalFormat_POW10_ARRAY.data; $exponent = $mantissaDigit + (-1) | 0; $mantissaDigitMask = var$14[$mantissaDigit]; $multiplierDigits = Long_lo(Long_div($mantissa, $mantissaDigitMask)); if ($multiplierDigits < 0) $multiplierDigits = -$multiplierDigits | 0; $tenMultiplier = ($this.$symbols.$zeroDigit + $multiplierDigits | 0) & 65535; $multiplierDigits = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $multiplierDigits, $multiplierDigits + 1 | 0); $buffer.$buffer.data[$multiplierDigits] = $tenMultiplier; $mantissa = Long_rem($mantissa, $mantissaDigitMask); if ($this.$groupingUsed) { $multiplierDigits = $this.$groupingSize; if ($multiplierDigits > 0 && !($digitPos % $multiplierDigits | 0) && $digitPos > 0) { $tenMultiplier = $this.$symbols.$groupingSeparator; $multiplierDigits = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $multiplierDigits, $multiplierDigits + 1 | 0); $buffer.$buffer.data[$multiplierDigits] = $tenMultiplier; } } $digitPos = $digitPos + (-1) | 0; $i = $i + 1 | 0; $mantissaDigit = $exponent; } $tenMultiplier = $intLength - $significantIntDigits | 0; $i = 0; while ($i < $tenMultiplier) { $multiplierDigits = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $multiplierDigits, $multiplierDigits + 1 | 0); $buffer.$buffer.data[$multiplierDigits] = 48; if ($this.$groupingUsed) { $exponent = $this.$groupingSize; if ($exponent > 0 && !($digitPos % $exponent | 0) && $digitPos > 0) { $multiplierDigits = $this.$symbols.$groupingSeparator; $exponent = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $exponent, $exponent + 1 | 0); $buffer.$buffer.data[$exponent] = $multiplierDigits; } } $digitPos = $digitPos + (-1) | 0; $i = $i + 1 | 0; } a: { if (Long_eq($mantissa, Long_ZERO)) { if ($this.$minimumFractionDigits) { $multiplierDigits = $this.$symbols.$decimalSeparator; $exponent = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $exponent, $exponent + 1 | 0); $buffer.$buffer.data[$exponent] = $multiplierDigits; $i = 0; while ($i < $this.$minimumFractionDigits) { $exponent = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $exponent, $exponent + 1 | 0); $buffer.$buffer.data[$exponent] = 48; $i = $i + 1 | 0; } } else if ($this.$decimalSeparatorAlwaysShown) { $multiplierDigits = $this.$symbols.$decimalSeparator; $exponent = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $exponent, $exponent + 1 | 0); $buffer.$buffer.data[$exponent] = $multiplierDigits; } } else { $multiplierDigits = $this.$symbols.$decimalSeparator; $exponent = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $exponent, $exponent + 1 | 0); $buffer.$buffer.data[$exponent] = $multiplierDigits; $fracZeros_0 = $this.$maximumFractionDigits; $fracZeros = -$fracZeros | 0; if (0 > $fracZeros) $fracZeros = 0; if ($fracZeros_0 < $fracZeros) $fracZeros = $fracZeros_0; $i = 0; $i_0 = 0; while ($i_0 < $fracZeros) { $i = $i + 1 | 0; $exponent = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $exponent, $exponent + 1 | 0); $buffer.$buffer.data[$exponent] = 48; $i_0 = $i_0 + 1 | 0; } $significantFracDigits = $this.$maximumFractionDigits - $i | 0; if ($significantFracDigits >= $mantissaDigit) $significantFracDigits = $mantissaDigit; $i_0 = 0; b: { while (true) { if ($i_0 >= $significantFracDigits) break b; if (Long_eq($mantissa, Long_ZERO)) break; $i = $i + 1 | 0; $mantissaDigitMask = jt_DecimalFormat_POW10_ARRAY.data[$mantissaDigit]; $multiplierDigits = Long_lo(Long_div($mantissa, $mantissaDigitMask)); if ($multiplierDigits < 0) $multiplierDigits = -$multiplierDigits | 0; $multiplierDigits = ($this.$symbols.$zeroDigit + $multiplierDigits | 0) & 65535; $exponent = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $exponent, $exponent + 1 | 0); $buffer.$buffer.data[$exponent] = $multiplierDigits; $mantissa = Long_rem($mantissa, $mantissaDigitMask); $mantissaDigit = $mantissaDigit + (-1) | 0; $i_0 = $i_0 + 1 | 0; } } while (true) { if ($i >= $this.$minimumFractionDigits) break a; $exponent = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $exponent, $exponent + 1 | 0); $buffer.$buffer.data[$exponent] = 48; $i = $i + 1 | 0; } } } if ($sign) { var$14 = $this.$positiveSuffix; if (var$14 !== null) { var$14 = var$14.data; $exponent = var$14.length; $sign = 0; while ($sign < $exponent) { var$14[$sign].$render1($this, $buffer); $sign = $sign + 1 | 0; } } } else { var$14 = $this.$negativeSuffix; if (var$14 === null) { var$14 = $this.$positiveSuffix; if (var$14 === null) var$14 = $rt_createArray(jt_DecimalFormat$FormatField, 0); } var$14 = var$14.data; $exponent = var$14.length; $sign = 0; while ($sign < $exponent) { var$14[$sign].$render1($this, $buffer); $sign = $sign + 1 | 0; } } }, jt_DecimalFormat_formatExponent = ($this, $value, $buffer) => { let $positive, var$4, var$5, $mantissaLength, $i, $exponent, $requiredSize, $significantSize, $exponentMultiplier, $limit, $i_0, $delta, $parts, $exponentPos, $mantissaDigitMask, $limit_0, $count, var$20, $exponentLength, $exponentLength_0, $exponentDigit; $positive = $this.$multiplier; if ($positive != 1) { var$4 = Long_fromInt($positive); jm_BigDecimal_$callClinit(); $positive = Long_compare(var$4, Long_ZERO); if ($positive >= 0 && Long_lt(var$4, Long_fromInt(11))) var$5 = jm_BigDecimal_BI_SCALED_BY_ZERO.data[Long_lo(var$4)]; else { var$5 = new jm_BigDecimal; var$5.$smallValue = var$4; var$5.$scale0 = 0; if ($positive < 0) var$4 = Long_xor(var$4, Long_fromInt(-1)); var$5.$bitLength0 = 64 - jl_Long_numberOfLeadingZeros(var$4) | 0; } $value = jm_BigDecimal_multiply($value, var$5); } jm_BigDecimal_$callClinit(); $positive = jm_BigDecimal_compareTo($value, jm_BigDecimal_ZERO) < 0 ? 0 : 1; $mantissaLength = jm_BigDecimal_precision($value); $i = $mantissaLength - 1 | 0; $exponent = $i - $value.$scale0 | 0; if ($value.$intVal === null) $value.$intVal = jm_BigInteger_valueOf($value.$smallValue); var$5 = $value.$intVal; $requiredSize = $this.$minimumIntegerDigits; $significantSize = $requiredSize + $this.$maximumFractionDigits | 0; $exponentMultiplier = ($this.$maximumIntegerDigits - $requiredSize | 0) + 1 | 0; if ($exponentMultiplier <= 1) { $limit = $requiredSize - 1 | 0; $exponent = $exponent - $limit | 0; $i_0 = $i - $limit | 0; } else { $delta = $exponent - $rt_imul($exponent / $exponentMultiplier | 0, $exponentMultiplier) | 0; $exponent = $exponent - $delta | 0; $i_0 = $i - $delta | 0; } if ($significantSize < 0) var$5 = jm_BigInteger_ZERO; else if ($significantSize < $mantissaLength) var$5 = jt_DecimalFormat_applyRounding0($this, var$5, $mantissaLength, $significantSize); $parts = (!$positive ? $this.$negativePrefix : $this.$positivePrefix).data; $limit = $parts.length; $requiredSize = 0; while ($requiredSize < $limit) { $parts[$requiredSize].$render1($this, $buffer); $requiredSize = $requiredSize + 1 | 0; } $exponentPos = 0; if ($i_0 > $exponentPos) $exponentPos = $i_0; $mantissaDigitMask = jm_BigInteger_ONE; $value = jm_BigInteger_TEN; $requiredSize = $i; while ($requiredSize) { if ($requiredSize & 1) { if (!$value.$sign1) $mantissaDigitMask = jm_BigInteger_ZERO; else if (!$mantissaDigitMask.$sign1) $mantissaDigitMask = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $mantissaDigitMask = jm_Multiplication_karatsuba($mantissaDigitMask, $value); } } $limit = $value.$sign1; if (!$limit) $value = jm_BigInteger_ZERO; else if (!$limit) $value = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $value = jm_Multiplication_karatsuba($value, $value); } $requiredSize = $requiredSize >>> 1 | 0; } while ($i >= $exponentPos) { $parts = (jm_BigInteger_divideAndRemainder(var$5, $mantissaDigitMask)).data; $value = $parts[0]; $requiredSize = $rt_imul($value.$sign1, $value.$digits.data[0]); if ($requiredSize < 0) $requiredSize = -$requiredSize | 0; $requiredSize = ($this.$symbols.$zeroDigit + $requiredSize | 0) & 65535; $limit = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $limit, $limit + 1 | 0); $buffer.$buffer.data[$limit] = $requiredSize; var$5 = $parts[1]; $mantissaDigitMask = jm_BigInteger_divide($mantissaDigitMask, jm_BigInteger_TEN); $i = $i + (-1) | 0; } $i = $exponentPos - 1 | 0; while ($i >= $i_0) { $limit_0 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $limit_0, $limit_0 + 1 | 0); $buffer.$buffer.data[$limit_0] = 48; $i = $i + (-1) | 0; } a: { $mantissaLength = $significantSize - ($mantissaLength - $i_0 | 0) | 0; $requiredSize = $mantissaLength - ($this.$maximumFractionDigits - $this.$minimumFractionDigits | 0) | 0; if ($requiredSize <= 0) { if (jm_BigInteger_equals(var$5, jm_BigInteger_ZERO)) break a; if ($mantissaLength <= 0) break a; } $limit_0 = $this.$symbols.$decimalSeparator; $significantSize = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $significantSize, $significantSize + 1 | 0); $buffer.$buffer.data[$significantSize] = $limit_0; $limit_0 = $i_0 - $mantissaLength | 0; if (0 > $limit_0) $limit_0 = 0; $count = 0; $i_0 = $i_0 - 1 | 0; b: { while ($i_0 >= $limit_0) { var$20 = (jm_BigInteger_divideAndRemainder(var$5, $mantissaDigitMask)).data; $value = var$20[0]; $mantissaLength = $rt_imul($value.$sign1, $value.$digits.data[0]); if ($mantissaLength < 0) $mantissaLength = -$mantissaLength | 0; $significantSize = ($this.$symbols.$zeroDigit + $mantissaLength | 0) & 65535; $mantissaLength = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $mantissaLength, $mantissaLength + 1 | 0); $buffer.$buffer.data[$mantissaLength] = $significantSize; var$5 = var$20[1]; $count = $count + 1 | 0; if (jm_BigInteger_equals(var$5, jm_BigInteger_ZERO)) break b; $mantissaDigitMask = jm_BigInteger_divide($mantissaDigitMask, jm_BigInteger_TEN); $i_0 = $i_0 + (-1) | 0; } } while (true) { $mantissaLength = $count + 1 | 0; if ($count >= $requiredSize) break a; $limit_0 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $limit_0, $limit_0 + 1 | 0); $buffer.$buffer.data[$limit_0] = 48; $count = $mantissaLength; } } $value = $this.$symbols.$exponentSeparator; jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $value); if ($exponent < 0) { $exponent = -$exponent | 0; $significantSize = $this.$symbols.$minusSign; $mantissaLength = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $mantissaLength, $mantissaLength + 1 | 0); $buffer.$buffer.data[$mantissaLength] = $significantSize; } $exponentLength = $this.$exponentDigits; $exponentLength_0 = jt_DecimalFormat_fastLn100($this, $exponent) + 1 | 0; if ($exponentLength > $exponentLength_0) $exponentLength_0 = $exponentLength; $i_0 = $exponentLength_0 - 1 | 0; while ($i_0 >= 0) { $exponentDigit = jt_DecimalFormat_POW10_INT_ARRAY.data[$i_0]; $limit = $exponent / $exponentDigit | 0; $significantSize = ($this.$symbols.$zeroDigit + $limit | 0) & 65535; $mantissaLength = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $mantissaLength, $mantissaLength + 1 | 0); $buffer.$buffer.data[$mantissaLength] = $significantSize; $exponent = $exponent % $exponentDigit | 0; $i_0 = $i_0 + (-1) | 0; } if ($positive) { $parts = $this.$positiveSuffix; if ($parts !== null) { $parts = $parts.data; $limit = $parts.length; $positive = 0; while ($positive < $limit) { $parts[$positive].$render1($this, $buffer); $positive = $positive + 1 | 0; } } } else { $parts = $this.$negativeSuffix; if ($parts === null) { $parts = $this.$positiveSuffix; if ($parts === null) $parts = $rt_createArray(jt_DecimalFormat$FormatField, 0); } $parts = $parts.data; $limit = $parts.length; $positive = 0; while ($positive < $limit) { $parts[$positive].$render1($this, $buffer); $positive = $positive + 1 | 0; } } }, jt_DecimalFormat_formatRegular = ($this, $value, $buffer) => { let $positive, var$4, var$5, $significantFracDigits, $exponent, $roundingPos, $parts, $i, $intLength, $digitPos, $i_0, $significantIntDigits, $mantissaDigitMask, $fracZeros, $fracZeros_0, $i_1, $significantFracDigits_0, var$20; $positive = $this.$multiplier; if ($positive != 1) { var$4 = Long_fromInt($positive); jm_BigDecimal_$callClinit(); $positive = Long_compare(var$4, Long_ZERO); if ($positive >= 0 && Long_lt(var$4, Long_fromInt(11))) var$5 = jm_BigDecimal_BI_SCALED_BY_ZERO.data[Long_lo(var$4)]; else { var$5 = new jm_BigDecimal; var$5.$smallValue = var$4; var$5.$scale0 = 0; if ($positive < 0) var$4 = Long_xor(var$4, Long_fromInt(-1)); var$5.$bitLength0 = 64 - jl_Long_numberOfLeadingZeros(var$4) | 0; } $value = jm_BigDecimal_multiply($value, var$5); } if ($value.$intVal === null) $value.$intVal = jm_BigInteger_valueOf($value.$smallValue); var$5 = $value.$intVal; $positive = jm_BigInteger_compareTo(var$5, jm_BigInteger_ZERO) < 0 ? 0 : 1; $significantFracDigits = jm_BigDecimal_precision($value); $exponent = jm_BigDecimal_precision($value) - $value.$scale0 | 0; $roundingPos = $exponent + $this.$maximumFractionDigits | 0; if ($roundingPos < 0) var$5 = jm_BigInteger_ZERO; else if ($roundingPos < $significantFracDigits) var$5 = jt_DecimalFormat_applyRounding0($this, var$5, $significantFracDigits, $roundingPos); $parts = (!$positive ? $this.$negativePrefix : $this.$positivePrefix).data; $roundingPos = $parts.length; $i = 0; while ($i < $roundingPos) { $parts[$i].$render1($this, $buffer); $i = $i + 1 | 0; } $intLength = 0; if ($intLength <= $exponent) $intLength = $exponent; $i = $this.$minimumIntegerDigits; $digitPos = ($intLength <= $i ? $i : $intLength) - 1 | 0; $i_0 = $i - 1 | 0; while ($i_0 >= $intLength) { $i = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $i, $i + 1 | 0); $buffer.$buffer.data[$i] = 48; if ($this.$groupingUsed) { $roundingPos = $this.$groupingSize; if ($roundingPos > 0 && !($digitPos % $roundingPos | 0) && $digitPos > 0) { $i = $this.$symbols.$groupingSeparator; $roundingPos = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $roundingPos, $roundingPos + 1 | 0); $buffer.$buffer.data[$roundingPos] = $i; } } $digitPos = $digitPos + (-1) | 0; $i_0 = $i_0 + (-1) | 0; } $significantIntDigits = $significantFracDigits >= $intLength ? $intLength : $significantFracDigits; $mantissaDigitMask = jm_BigInteger_ONE; $i = $significantFracDigits - 1 | 0; $value = jm_BigInteger_TEN; while ($i) { if ($i & 1) { if (!$value.$sign1) $mantissaDigitMask = jm_BigInteger_ZERO; else if (!$mantissaDigitMask.$sign1) $mantissaDigitMask = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $mantissaDigitMask = jm_Multiplication_karatsuba($mantissaDigitMask, $value); } } $roundingPos = $value.$sign1; if (!$roundingPos) $value = jm_BigInteger_ZERO; else if (!$roundingPos) $value = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $value = jm_Multiplication_karatsuba($value, $value); } $i = $i >>> 1 | 0; } $i_0 = 0; while ($i_0 < $significantIntDigits) { $parts = (jm_BigInteger_divideAndRemainder(var$5, $mantissaDigitMask)).data; $value = $parts[0]; $i = $rt_imul($value.$sign1, $value.$digits.data[0]); if ($i < 0) $i = -$i | 0; $i = ($this.$symbols.$zeroDigit + $i | 0) & 65535; $roundingPos = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $roundingPos, $roundingPos + 1 | 0); $buffer.$buffer.data[$roundingPos] = $i; var$5 = $parts[1]; if ($this.$groupingUsed) { $roundingPos = $this.$groupingSize; if ($roundingPos > 0 && !($digitPos % $roundingPos | 0) && $digitPos > 0) { $i = $this.$symbols.$groupingSeparator; $roundingPos = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $roundingPos, $roundingPos + 1 | 0); $buffer.$buffer.data[$roundingPos] = $i; } } $digitPos = $digitPos + (-1) | 0; $significantFracDigits = $significantFracDigits + (-1) | 0; $mantissaDigitMask = jm_BigInteger_divide($mantissaDigitMask, jm_BigInteger_TEN); $i_0 = $i_0 + 1 | 0; } $significantIntDigits = $intLength - $significantIntDigits | 0; $i_0 = 0; while ($i_0 < $significantIntDigits) { $roundingPos = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $roundingPos, $roundingPos + 1 | 0); $buffer.$buffer.data[$roundingPos] = 48; if ($this.$groupingUsed) { $roundingPos = $this.$groupingSize; if ($roundingPos > 0 && !($digitPos % $roundingPos | 0) && $digitPos > 0) { $i = $this.$symbols.$groupingSeparator; $roundingPos = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $roundingPos, $roundingPos + 1 | 0); $buffer.$buffer.data[$roundingPos] = $i; } } $digitPos = $digitPos + (-1) | 0; $i_0 = $i_0 + 1 | 0; } a: { if (jm_BigInteger_equals(var$5, jm_BigInteger_ZERO)) { if ($this.$minimumFractionDigits) { $i = $this.$symbols.$decimalSeparator; $roundingPos = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $roundingPos, $roundingPos + 1 | 0); $buffer.$buffer.data[$roundingPos] = $i; $i = 0; while ($i < $this.$minimumFractionDigits) { $fracZeros = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $fracZeros, $fracZeros + 1 | 0); $buffer.$buffer.data[$fracZeros] = 48; $i = $i + 1 | 0; } } else if ($this.$decimalSeparatorAlwaysShown) { $significantFracDigits = $this.$symbols.$decimalSeparator; $i = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $i, $i + 1 | 0); $buffer.$buffer.data[$i] = $significantFracDigits; } } else { $i = $this.$symbols.$decimalSeparator; $roundingPos = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $roundingPos, $roundingPos + 1 | 0); $buffer.$buffer.data[$roundingPos] = $i; $fracZeros = $this.$maximumFractionDigits; $fracZeros_0 = -$exponent | 0; if (0 > $fracZeros_0) $fracZeros_0 = 0; if ($fracZeros < $fracZeros_0) $fracZeros_0 = $fracZeros; $i_0 = 0; $i_1 = 0; while ($i_1 < $fracZeros_0) { $i_0 = $i_0 + 1 | 0; $i = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $i, $i + 1 | 0); $buffer.$buffer.data[$i] = 48; $i_1 = $i_1 + 1 | 0; } $significantFracDigits_0 = $this.$maximumFractionDigits - $i_0 | 0; if ($significantFracDigits_0 < $significantFracDigits) $significantFracDigits = $significantFracDigits_0; $i = 0; b: { while (true) { if ($i >= $significantFracDigits) break b; if (jm_BigInteger_equals(var$5, jm_BigInteger_ZERO)) break; $i_0 = $i_0 + 1 | 0; var$20 = (jm_BigInteger_divideAndRemainder(var$5, $mantissaDigitMask)).data; $value = var$20[0]; $fracZeros = $rt_imul($value.$sign1, $value.$digits.data[0]); if ($fracZeros < 0) $fracZeros = -$fracZeros | 0; $significantIntDigits = ($this.$symbols.$zeroDigit + $fracZeros | 0) & 65535; $fracZeros = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $fracZeros, $fracZeros + 1 | 0); $buffer.$buffer.data[$fracZeros] = $significantIntDigits; var$5 = var$20[1]; $mantissaDigitMask = jm_BigInteger_divide($mantissaDigitMask, jm_BigInteger_TEN); $i = $i + 1 | 0; } } while (true) { if ($i_0 >= $this.$minimumFractionDigits) break a; $significantFracDigits = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, $significantFracDigits, $significantFracDigits + 1 | 0); $buffer.$buffer.data[$significantFracDigits] = 48; $i_0 = $i_0 + 1 | 0; } } } if ($positive) { $parts = $this.$positiveSuffix; if ($parts !== null) { $parts = $parts.data; $roundingPos = $parts.length; $positive = 0; while ($positive < $roundingPos) { $parts[$positive].$render1($this, $buffer); $positive = $positive + 1 | 0; } } } else { $parts = $this.$negativeSuffix; if ($parts === null) { $parts = $this.$positiveSuffix; if ($parts === null) $parts = $rt_createArray(jt_DecimalFormat$FormatField, 0); } $parts = $parts.data; $roundingPos = $parts.length; $positive = 0; while ($positive < $roundingPos) { $parts[$positive].$render1($this, $buffer); $positive = $positive + 1 | 0; } } }, jt_DecimalFormat_applyRounding = ($this, $mantissa, $mantissaLength, $exponent, $sign) => { let $rounding, var$6, var$7, var$8; a: { $rounding = jt_DecimalFormat_POW10_ARRAY.data[$mantissaLength - $exponent | 0]; jt_DecimalFormat$1_$callClinit(); switch (jt_DecimalFormat$1_$SwitchMap$java$math$RoundingMode.data[$this.$roundingMode.$ordinal]) { case 1: $mantissa = Long_mul(Long_div($mantissa, $rounding), $rounding); if (!$sign) break a; $mantissa = Long_add($mantissa, $rounding); break a; case 2: $mantissa = Long_mul(Long_div($mantissa, $rounding), $rounding); if ($sign) break a; $mantissa = Long_add($mantissa, $rounding); break a; case 3: $mantissa = Long_add(Long_mul(Long_div($mantissa, $rounding), $rounding), $rounding); break a; case 4: $mantissa = Long_mul(Long_div($mantissa, $rounding), $rounding); break a; case 5: if (Long_eq(Long_rem($mantissa, $rounding), Long_ZERO)) break a; var$6 = new jl_ArithmeticException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; var$6.$message = $rt_s(3119); $rt_throw(var$6); case 6: var$7 = Long_rem($mantissa, $rounding); var$8 = Long_div($rounding, Long_fromInt(2)); if (Long_eq(var$7, var$8)) { $mantissa = Long_mul(Long_div($mantissa, $rounding), $rounding); break a; } $mantissa = Long_mul(Long_div(Long_add($mantissa, var$8), $rounding), $rounding); break a; case 7: var$8 = Long_rem($mantissa, $rounding); var$7 = Long_div($rounding, Long_fromInt(2)); if (Long_ne(var$8, var$7)) { $mantissa = Long_mul(Long_div(Long_add($mantissa, var$7), $rounding), $rounding); break a; } $mantissa = Long_add(Long_mul(Long_div($mantissa, $rounding), $rounding), $rounding); break a; case 8: var$8 = Long_rem($mantissa, $rounding); var$7 = Long_div($rounding, Long_fromInt(2)); if (Long_ne(var$8, var$7)) { $mantissa = Long_mul(Long_div(Long_add($mantissa, var$7), $rounding), $rounding); break a; } $mantissa = Long_mul(Long_div($mantissa, $rounding), $rounding); if (Long_eq(Long_rem(Long_div($mantissa, $rounding), Long_fromInt(2)), Long_ZERO)) break a; $mantissa = Long_add($mantissa, $rounding); break a; default: } } return $mantissa; }, jt_DecimalFormat_applyRounding0 = ($this, $mantissa, $mantissaLength, $exponent) => { let $rounding, $signedRounding, var$6; $rounding = jm_BigInteger_ONE; $mantissaLength = $mantissaLength - $exponent | 0; $signedRounding = jm_BigInteger_TEN; while ($mantissaLength) { if ($mantissaLength & 1) { if (!$signedRounding.$sign1) $rounding = jm_BigInteger_ZERO; else if (!$rounding.$sign1) $rounding = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $rounding = jm_Multiplication_karatsuba($rounding, $signedRounding); } } $exponent = $signedRounding.$sign1; if (!$exponent) $signedRounding = jm_BigInteger_ZERO; else if (!$exponent) $signedRounding = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $signedRounding = jm_Multiplication_karatsuba($signedRounding, $signedRounding); } $mantissaLength = $mantissaLength >>> 1 | 0; } if (jm_BigInteger_compareTo($mantissa, jm_BigInteger_ZERO) >= 0) $signedRounding = $rounding; else { $mantissaLength = $rounding.$sign1; if (!$mantissaLength) $signedRounding = $rounding; else { $signedRounding = new jm_BigInteger; $mantissaLength = -$mantissaLength | 0; $exponent = $rounding.$numberLength; var$6 = $rounding.$digits; $signedRounding.$firstNonzeroDigit = (-2); $signedRounding.$sign1 = $mantissaLength; $signedRounding.$numberLength = $exponent; $signedRounding.$digits = var$6; } } a: { jt_DecimalFormat$1_$callClinit(); switch (jt_DecimalFormat$1_$SwitchMap$java$math$RoundingMode.data[$this.$roundingMode.$ordinal]) { case 1: $mantissa = jm_BigInteger_divide($mantissa, $rounding); if (!$rounding.$sign1) $mantissa = jm_BigInteger_ZERO; else if (!$mantissa.$sign1) $mantissa = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $mantissa = jm_Multiplication_karatsuba($mantissa, $rounding); } if (jm_BigInteger_compareTo($mantissa, jm_BigInteger_ZERO) < 0) break a; $mantissa = jm_Elementary_add($mantissa, $rounding); break a; case 2: $mantissa = jm_BigInteger_divide($mantissa, $rounding); if (!$rounding.$sign1) $mantissa = jm_BigInteger_ZERO; else if (!$mantissa.$sign1) $mantissa = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $mantissa = jm_Multiplication_karatsuba($mantissa, $rounding); } if (jm_BigInteger_compareTo($mantissa, jm_BigInteger_ZERO) > 0) break a; $mantissa = jm_Elementary_subtract($mantissa, $rounding); break a; case 3: $mantissa = jm_BigInteger_divide($mantissa, $rounding); if (!$rounding.$sign1) $mantissa = jm_BigInteger_ZERO; else if (!$mantissa.$sign1) $mantissa = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $mantissa = jm_Multiplication_karatsuba($mantissa, $rounding); } $mantissa = jm_Elementary_add($mantissa, $signedRounding); break a; case 4: $mantissa = jm_BigInteger_divide($mantissa, $rounding); if (!$rounding.$sign1) $mantissa = jm_BigInteger_ZERO; else if (!$mantissa.$sign1) $mantissa = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $mantissa = jm_Multiplication_karatsuba($mantissa, $rounding); } break a; case 5: if (!jm_BigInteger_equals(jm_BigInteger_remainder($mantissa, $rounding), jm_BigInteger_ZERO)) break a; $mantissa = new jl_ArithmeticException; $mantissa.$suppressionEnabled = 1; $mantissa.$writableStackTrace = 1; $mantissa.$message = $rt_s(3119); $rt_throw($mantissa); case 6: if (jm_BigInteger_equals(jm_BigInteger_remainder($mantissa, $rounding), jm_BigInteger_divide($signedRounding, jm_BigInteger_valueOf(Long_fromInt(2))))) { $mantissa = jm_BigInteger_divide($mantissa, $rounding); if (!$rounding.$sign1) $mantissa = jm_BigInteger_ZERO; else if (!$mantissa.$sign1) $mantissa = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $mantissa = jm_Multiplication_karatsuba($mantissa, $rounding); } break a; } $mantissa = jm_BigInteger_divide(jm_Elementary_add($mantissa, jm_BigInteger_divide($signedRounding, jm_BigInteger_valueOf(Long_fromInt(2)))), $rounding); if (!$rounding.$sign1) $mantissa = jm_BigInteger_ZERO; else if (!$mantissa.$sign1) $mantissa = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $mantissa = jm_Multiplication_karatsuba($mantissa, $rounding); } break a; case 7: if (!jm_BigInteger_equals(jm_BigInteger_remainder($mantissa, $rounding), jm_BigInteger_divide($signedRounding, jm_BigInteger_valueOf(Long_fromInt(2))))) { $mantissa = jm_BigInteger_divide(jm_Elementary_add($mantissa, jm_BigInteger_divide($signedRounding, jm_BigInteger_valueOf(Long_fromInt(2)))), $rounding); if (!$rounding.$sign1) $mantissa = jm_BigInteger_ZERO; else if (!$mantissa.$sign1) $mantissa = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $mantissa = jm_Multiplication_karatsuba($mantissa, $rounding); } break a; } $mantissa = jm_BigInteger_divide($mantissa, $rounding); if (!$rounding.$sign1) $mantissa = jm_BigInteger_ZERO; else if (!$mantissa.$sign1) $mantissa = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $mantissa = jm_Multiplication_karatsuba($mantissa, $rounding); } $mantissa = jm_Elementary_add($mantissa, $signedRounding); break a; case 8: if (!jm_BigInteger_equals(jm_BigInteger_remainder($mantissa, $rounding), jm_BigInteger_divide($signedRounding, jm_BigInteger_valueOf(Long_fromInt(2))))) { $mantissa = jm_BigInteger_divide(jm_Elementary_add($mantissa, jm_BigInteger_divide($signedRounding, jm_BigInteger_valueOf(Long_fromInt(2)))), $rounding); if (!$rounding.$sign1) $mantissa = jm_BigInteger_ZERO; else if (!$mantissa.$sign1) $mantissa = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $mantissa = jm_Multiplication_karatsuba($mantissa, $rounding); } break a; } $mantissa = jm_BigInteger_divide($mantissa, $rounding); if (!$rounding.$sign1) $mantissa = jm_BigInteger_ZERO; else if (!$mantissa.$sign1) $mantissa = jm_BigInteger_ZERO; else { jm_Multiplication_$callClinit(); $mantissa = jm_Multiplication_karatsuba($mantissa, $rounding); } if (jm_BigInteger_equals(jm_BigInteger_remainder(jm_BigInteger_divide($mantissa, $rounding), jm_BigInteger_valueOf(Long_fromInt(2))), jm_BigInteger_ZERO)) break a; $mantissa = jm_Elementary_add($mantissa, $signedRounding); break a; default: } } return $mantissa; }, jt_DecimalFormat_fastLn10 = ($this, $value) => { let $result; if (Long_eq($value, Long_create(0, 2147483648))) return 18; $result = 0; if (Long_ge($value, Long_create(1874919424, 2328306))) { $result = 16; $value = Long_div($value, Long_create(1874919424, 2328306)); } if (Long_ge($value, Long_fromInt(100000000))) { $result = $result + 8 | 0; $value = Long_div($value, Long_fromInt(100000000)); } if (Long_ge($value, Long_fromInt(10000))) { $result = $result + 4 | 0; $value = Long_div($value, Long_fromInt(10000)); } if (Long_ge($value, Long_fromInt(100))) { $result = $result + 2 | 0; $value = Long_div($value, Long_fromInt(100)); } if (Long_ge($value, Long_fromInt(10))) $result = $result + 1 | 0; return $result; }, jt_DecimalFormat_fastLn100 = ($this, $value) => { let $result; $result = 0; if ($value >= 100000000) { $result = 8; $value = $value / 100000000 | 0; } if ($value >= 10000) { $result = $result + 4 | 0; $value = $value / 10000 | 0; } if ($value >= 100) { $result = $result + 2 | 0; $value = $value / 100 | 0; } if ($value >= 10) $result = $result + 1 | 0; return $result; }, jt_DecimalFormat__clinit_ = () => { jt_DecimalFormat_POW10_ARRAY = $rt_createLongArrayFromData([Long_fromInt(1), Long_fromInt(10), Long_fromInt(100), Long_fromInt(1000), Long_fromInt(10000), Long_fromInt(100000), Long_fromInt(1000000), Long_fromInt(10000000), Long_fromInt(100000000), Long_fromInt(1000000000), Long_create(1410065408, 2), Long_create(1215752192, 23), Long_create(3567587328, 232), Long_create(1316134912, 2328), Long_create(276447232, 23283), Long_create(2764472320, 232830), Long_create(1874919424, 2328306), Long_create(1569325056, 23283064), Long_create(2808348672, 232830643)]); jt_DecimalFormat_POW10_INT_ARRAY = $rt_createIntArrayFromData([1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000]); }; function ju_LinkedHashMap() { let a = this; ju_HashMap.call(a); a.$accessOrder = 0; a.$head = null; a.$tail = null; } let ju_LinkedHashMap__init_0 = $this => { let var$1, var$2, var$3; var$1 = ju_HashMap_calculateCapacity(16); $this.$elementCount = 0; var$2 = $rt_createArray(ju_LinkedHashMap$LinkedHashMapEntry, var$1); var$3 = var$2.data; $this.$elementData = var$2; $this.$loadFactor = 0.75; $this.$threshold = var$3.length * 0.75 | 0; $this.$accessOrder = 0; $this.$head = null; }, ju_LinkedHashMap__init_ = () => { let var_0 = new ju_LinkedHashMap(); ju_LinkedHashMap__init_0(var_0); return var_0; }, ju_LinkedHashMap_newElementArray = ($this, $s) => { return $rt_createArray(ju_LinkedHashMap$LinkedHashMapEntry, $s); }, ju_LinkedHashMap_getOrDefault = ($this, $key, $defaultValue) => { let $entry, $hash, $index, var$6, var$7; if ($key === null) { $entry = $this.$elementData.data[0]; while ($entry !== null && $entry.$key !== null) { $entry = $entry.$next3; } $entry = $entry; } else { $hash = $key.$hashCode(); $index = $hash & 2147483647; var$6 = $this.$elementData.data; var$7 = var$6[$index % var$6.length | 0]; while (var$7 !== null) { if (var$7.$origKeyHash == $hash) { $entry = var$7.$key; if ($key !== $entry && !$key.$equals($entry) ? 0 : 1) break; } var$7 = var$7.$next3; } $entry = var$7; } if ($entry === null) return $defaultValue; if ($this.$accessOrder) ju_LinkedHashMap_linkEntry($this, $entry, 0); return $entry.$value1; }, ju_LinkedHashMap_get = ($this, $key) => { return ju_LinkedHashMap_getOrDefault($this, $key, null); }, ju_LinkedHashMap_createHashedEntry = ($this, $key, $index, $hash, $first) => { let $entry, var$6, var$7; $entry = new ju_LinkedHashMap$LinkedHashMapEntry; var$6 = null; $entry.$key = $key; $entry.$value1 = var$6; $entry.$origKeyHash = $hash; $entry.$chainForward = null; $entry.$chainBackward = null; var$7 = $this.$elementData.data; $entry.$next3 = var$7[$index]; var$7[$index] = $entry; if (!$first) { $key = $this.$tail; if ($key === null) $this.$head = $entry; else $key.$chainForward = $entry; $entry.$chainBackward = $key; $this.$tail = $entry; } else { $key = $this.$head; if ($key === null) $this.$tail = $entry; else $key.$chainBackward = $entry; $entry.$chainForward = $key; $this.$head = $entry; } return $entry; }, ju_LinkedHashMap_put = ($this, $key, $value) => { let $oldSize; $oldSize = $this.$elementCount; return ju_LinkedHashMap_putImpl($this, $key, $value, 0, $this.$accessOrder); }, ju_LinkedHashMap_putImpl = ($this, $key, $value, $first, $forceMotion) => { let $hash, var$6, var$7, $index, $entry, $existing; if (!$this.$elementCount) { $this.$head = null; $this.$tail = null; } $hash = $key !== null ? $key.$hashCode() : 0; var$6 = $hash & 2147483647; var$7 = $this.$elementData.data; $index = var$6 % var$7.length | 0; if ($key === null) { $entry = var$7[0]; while ($entry !== null && $entry.$key !== null) { $entry = $entry.$next3; } } else { $entry = var$7[$index]; while ($entry !== null) { if ($entry.$origKeyHash == $hash) { $existing = $entry.$key; if ($key !== $existing && !$key.$equals($existing) ? 0 : 1) break; } $entry = $entry.$next3; } } $entry = $entry; if ($entry === null) { $this.$modCount0 = $this.$modCount0 + 1 | 0; $forceMotion = $this.$elementCount + 1 | 0; $this.$elementCount = $forceMotion; if ($forceMotion > $this.$threshold) { ju_HashMap_rehash($this, $this.$elementData.data.length); $index = var$6 % $this.$elementData.data.length | 0; } $entry = ju_LinkedHashMap_createHashedEntry($this, $key, $index, $hash, $first); } else if ($forceMotion) ju_LinkedHashMap_linkEntry($this, $entry, $first); $existing = $entry.$value1; $entry.$value1 = $value; return $existing; }, ju_LinkedHashMap_linkEntry = ($this, $entry, $first) => { let $n, $p; if (!$first) { $n = $entry.$chainForward; if ($n === null) return; $p = $entry.$chainBackward; if ($p === null) $this.$head = $n; else $p.$chainForward = $n; $n.$chainBackward = $p; $n = $this.$tail; if ($n !== null) $n.$chainForward = $entry; $entry.$chainBackward = $n; $entry.$chainForward = null; $this.$tail = $entry; } else { $p = $entry.$chainBackward; if ($p === null) return; $n = $entry.$chainForward; if ($n === null) $this.$tail = $p; else $n.$chainBackward = $p; $p.$chainForward = $n; $n = $this.$head; if ($n !== null) $n.$chainBackward = $entry; $entry.$chainForward = $n; $entry.$chainBackward = null; $this.$head = $entry; } }, ju_LinkedHashMap_keySet = $this => { let var$1; if ($this.$cachedKeySet === null) { var$1 = new ju_LinkedHashMapKeySet; var$1.$base1 = $this; var$1.$reversed0 = 0; $this.$cachedKeySet = var$1; } return $this.$cachedKeySet; }, nms_EntityList$_clinit_$lambda$_63_0 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_0__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_0__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_0(); nms_EntityList$_clinit_$lambda$_63_0__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_0_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityItem; nms_Entity__init_(var$2, var$1); var$2.$health = 5; var$2.$hoverStart = jl_Math_randomImpl() * 3.141592653589793 * 2.0; var$3 = 0.25; var$4 = 0.25; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$yOffset = var$2.$height2 / 2.0; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_1 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_1__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_1__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_1(); nms_EntityList$_clinit_$lambda$_63_1__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_1_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityXPOrb; nms_Entity__init_(var$2, var$1); var$2.$xpOrbHealth = 5; var$3 = 0.25; var$4 = 0.25; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$yOffset = var$2.$height2 / 2.0; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_2 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_2__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_2__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_2(); nms_EntityList$_clinit_$lambda$_63_2__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_2_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityPainting; nms_Entity__init_(var$2, var$1); var$2.$yOffset = 0.0; var$3 = 0.5; var$4 = 0.5; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_3 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_3__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_3__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_3(); nms_EntityList$_clinit_$lambda$_63_3__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_3_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityArrow; nms_Entity__init_(var$2, var$1); var$2.$xTile = (-1); var$2.$yTile = (-1); var$2.$zTile = (-1); var$2.$damage = 2.0; var$2.$renderDistanceWeight = 10.0; var$3 = 0.5; var$4 = 0.5; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_4 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_4__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_4__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_4(); nms_EntityList$_clinit_$lambda$_63_4__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_4_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntitySnowball; nms_Entity__init_(var$2, var$1); var$2.$xTile0 = (-1); var$2.$yTile0 = (-1); var$2.$zTile0 = (-1); var$3 = 0.25; var$4 = 0.25; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_5 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_5__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_5__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_5(); nms_EntityList$_clinit_$lambda$_63_5__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_5_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityLargeFireball; nms_Entity__init_(var$2, var$1); var$2.$xTile1 = (-1); var$2.$yTile1 = (-1); var$2.$zTile1 = (-1); var$3 = 1.0; var$4 = 1.0; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$field_92057_e = 1; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_6 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_6__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_6__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_6(); nms_EntityList$_clinit_$lambda$_63_6__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_6_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntitySmallFireball; nms_Entity__init_(var$2, var$1); var$2.$xTile1 = (-1); var$2.$yTile1 = (-1); var$2.$zTile1 = (-1); var$3 = 1.0; var$4 = 1.0; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$3 = 0.3125; var$4 = 0.3125; $ptr = 2; case 2: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_7 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_7__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_7__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_7(); nms_EntityList$_clinit_$lambda$_63_7__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_7_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityEnderPearl; nms_Entity__init_(var$2, var$1); var$2.$xTile0 = (-1); var$2.$yTile0 = (-1); var$2.$zTile0 = (-1); var$3 = 0.25; var$4 = 0.25; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_8 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_8__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_8__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_8(); nms_EntityList$_clinit_$lambda$_63_8__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_8_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityEnderEye; nms_Entity__init_(var$2, var$1); var$3 = 0.25; var$4 = 0.25; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_9 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_9__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_9__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_9(); nms_EntityList$_clinit_$lambda$_63_9__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_9_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityPotion; nms_Entity__init_(var$2, var$1); var$2.$xTile0 = (-1); var$2.$yTile0 = (-1); var$2.$zTile0 = (-1); var$3 = 0.25; var$4 = 0.25; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }; let nms_EntityList$_clinit_$lambda$_63_10 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_10__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_10__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_10(); nms_EntityList$_clinit_$lambda$_63_10__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_10_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityExpBottle; nms_Entity__init_(var$2, var$1); var$2.$xTile0 = (-1); var$2.$yTile0 = (-1); var$2.$zTile0 = (-1); var$3 = 0.25; var$4 = 0.25; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_11 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_11__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_11__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_11(); nms_EntityList$_clinit_$lambda$_63_11__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_11_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityItemFrame; nms_Entity__init_(var$2, var$1); var$2.$yOffset = 0.0; var$3 = 0.5; var$4 = 0.5; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$itemDropChance = 1.0; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_12 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_12__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_12__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_12(); nms_EntityList$_clinit_$lambda$_63_12__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_12_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityWitherSkull; nms_Entity__init_(var$2, var$1); var$2.$xTile1 = (-1); var$2.$yTile1 = (-1); var$2.$zTile1 = (-1); var$3 = 1.0; var$4 = 1.0; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$3 = 0.3125; var$4 = 0.3125; $ptr = 2; case 2: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_13 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_13__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_13__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_13(); nms_EntityList$_clinit_$lambda$_63_13__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_13_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityTNTPrimed; nms_Entity__init_(var$2, var$1); var$2.$preventEntitySpawning = 1; var$3 = 0.9800000190734863; var$4 = 0.9800000190734863; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$yOffset = var$2.$height2 / 2.0; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_14 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_14__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_14__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_14(); nms_EntityList$_clinit_$lambda$_63_14__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_14_apply = (var$0, var$1) => { let var$2; nms_EntityList_$callClinit(); var$2 = new nms_EntityFallingSand; nms_Entity__init_(var$2, var$1); var$2.$shouldDropItem = 1; var$2.$fallHurtMax = 40; var$2.$fallHurtAmount = 2.0; return var$2; }, nms_EntityList$_clinit_$lambda$_63_15 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_15__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_15__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_15(); nms_EntityList$_clinit_$lambda$_63_15__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_15_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityFireworkRocket; nms_Entity__init_(var$2, var$1); var$3 = 0.25; var$4 = 0.25; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_16 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_16__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_16__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_16(); nms_EntityList$_clinit_$lambda$_63_16__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_16_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityBoat; nms_Entity__init_(var$2, var$1); var$2.$field_70279_a = 1; var$2.$speedMultiplier = 0.07; var$2.$preventEntitySpawning = 1; var$3 = 1.5; var$4 = 0.6000000238418579; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$yOffset = var$2.$height2 / 2.0; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityMinecartEmpty = $rt_classWithoutFields(nms_EntityMinecart), nms_EntityMinecartEmpty_interactFirst = ($this, $par1EntityPlayer) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$riddenByEntity; if (var$2 !== null && var$2 instanceof nms_EntityPlayer && var$2 !== $par1EntityPlayer) return 1; if (var$2 !== null && var$2 !== $par1EntityPlayer) return 0; if ($this.$worldObj.$isRemote) return 1; $ptr = 1; case 1: nms_Entity_mountEntity($par1EntityPlayer, $this); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, $ptr); }, nms_EntityMinecartEmpty_getMinecartType = $this => { return 0; }, nms_EntityList$_clinit_$lambda$_63_17 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_17__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_17__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_17(); nms_EntityList$_clinit_$lambda$_63_17__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_17_apply = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityMinecartEmpty; nms_Entity__init_(var$2, var$1); var$2.$preventEntitySpawning = 1; var$3 = 0.9800000190734863; var$4 = 0.699999988079071; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$yOffset = var$2.$height2 / 2.0; if (var$1 === null) var$5 = null; else { var$5 = new nms_SoundUpdaterMinecart; var$1 = var$1.$mc2; var$6 = var$1.$sndManager; var$1 = var$1.$thePlayer; var$5.$theSoundManager = var$6; var$5.$theMinecart = var$2; var$5.$thePlayer0 = var$1; } var$2.$field_82344_g = var$5; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }; function nms_EntityMinecartContainer() { let a = this; nms_EntityMinecart.call(a); a.$minecartContainerItems = null; a.$dropContentsWhenDead = 0; } let nms_EntityMinecartContainer_killMinecart = ($this, $par1DamageSource) => { let var$2, var$3, var$4, var$5, var$6, $var2, var$8, var$9, var$10, $var3, var$12, $var4, $var5, var$15, $var6, var$17, $var7, var$19, $var8, var$21, var$22, var$23, var$24, var$25, var$26, var$27, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var8 = $thread.pop();var$19 = $thread.pop();$var7 = $thread.pop();var$17 = $thread.pop();$var6 = $thread.pop();var$15 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$12 = $thread.pop();$var3 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var2 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityMinecartContainer_setDead($this); if ($rt_suspending()) { break main; } var$2 = new nms_ItemStack; nms_Item_$callClinit(); $par1DamageSource = nms_Item_minecartEmpty; nms_ItemStack_$callClinit(); var$2.$itemID = $par1DamageSource.$itemID0; var$2.$stackSize = 1; var$2.$itemDamage = 0; $par1DamageSource = $this.$entityName; if ($par1DamageSource !== null) nms_ItemStack_setItemName(var$2, $par1DamageSource); if (var$2.$stackSize) { $par1DamageSource = new nms_EntityItem; var$3 = $this.$worldObj; var$4 = $this.$posX; var$5 = $this.$posY + 0.0; var$6 = $this.$posZ; $ptr = 2; continue main; } $var2 = 0; var$8 = 24; var$9 = 17; var$10 = 138; while ($var2 < $this.$getSizeInventory()) { $var3 = $this.$minecartContainerItems.data[$var2]; if ($var3 !== null) { $par1DamageSource = $this.$rand; var$12 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$12; $var4 = Long_lo(Long_shru(var$12, var$8)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$12; $var5 = Long_lo(Long_shru(var$12, var$8)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$15 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$15; $var6 = Long_lo(Long_shru(var$15, var$8)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$4 = $var4; var$5 = $var5; var$6 = $var6; var$17 = $var3.$stackSize; if (var$17 > 0) { $par1DamageSource = $this.$rand; var$15 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$15; $var7 = Long_lo(Long_shru(var$15, var$9)); while (true) { var$19 = $var7 % 21 | 0; if ((($var7 - var$19 | 0) + 20 | 0) >= 0) break; var$15 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$15; $var7 = Long_lo(Long_shru(var$15, var$9)); } $var7 = var$19 + 10 | 0; if ($var7 > var$17) $var7 = var$17; $var3.$stackSize = var$17 - $var7 | 0; $var8 = new nms_EntityItem; $par1DamageSource = $this.$worldObj; var$21 = $this.$posX + var$4; var$22 = $this.$posY + var$5; var$23 = $this.$posZ + var$6; var$24 = new nms_ItemStack; var$19 = $var3.$itemID; var$25 = $var3.$itemDamage; var$24.$itemID = var$19; var$24.$stackSize = $var7; var$24.$itemDamage = var$25; if (var$25 < 0) var$24.$itemDamage = 0; $ptr = 3; continue main; } } $var2 = $var2 + 1 | 0; } return; case 2: nms_EntityItem__init_($par1DamageSource, var$3, var$4, var$5, var$6); if ($rt_suspending()) { break main; } $var3 = $par1DamageSource.$dataWatcher; var$3 = $var3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$26 = jl_Integer_integerCache.data[138]; if (var$26 === null) var$3 = ju_HashMap_findNullKeyEntry(var$3); else { var$25 = jl_Integer_hashCode0(var$26); var$3 = ju_HashMap_findNonNullKeyEntry(var$3, var$26, var$25 & (var$3.$elementData.data.length - 1 | 0), var$25); } var$26 = var$3 === null ? null : var$3.$value1; if (!(var$2 !== var$26.$watchedObject ? 0 : 1)) { var$26.$watchedObject = var$2; var$26.$watched = 1; $var3.$objectChanged = 1; } var$26 = $par1DamageSource.$dataWatcher; var$2 = var$26.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[138]; if (var$3 === null) var$2 = ju_HashMap_findNullKeyEntry(var$2); else { var$25 = jl_Integer_hashCode0(var$3); var$2 = ju_HashMap_findNonNullKeyEntry(var$2, var$3, var$25 & (var$2.$elementData.data.length - 1 | 0), var$25); } (var$2 === null ? null : var$2.$value1).$watched = 1; var$26.$objectChanged = 1; $par1DamageSource.$delayBeforeCanPickup = 10; var$2 = $this.$worldObj; $var2 = nms_World_spawnEntityInWorld(var$2, $par1DamageSource); var$3 = var$2.$entityList; ju_HashMap_putImpl(var$3.$backingMap, $par1DamageSource, var$3); if (!$var2) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, $par1DamageSource, var$2); } $var2 = 0; var$8 = 24; var$9 = 17; var$10 = 138; while ($var2 < $this.$getSizeInventory()) { $var3 = $this.$minecartContainerItems.data[$var2]; if ($var3 !== null) { $par1DamageSource = $this.$rand; var$12 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$12; $var4 = Long_lo(Long_shru(var$12, var$8)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$12; $var5 = Long_lo(Long_shru(var$12, var$8)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$15 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$15; $var6 = Long_lo(Long_shru(var$15, var$8)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$4 = $var4; var$5 = $var5; var$6 = $var6; var$17 = $var3.$stackSize; if (var$17 > 0) { $par1DamageSource = $this.$rand; var$15 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$15; $var7 = Long_lo(Long_shru(var$15, var$9)); while (true) { var$19 = $var7 % 21 | 0; if ((($var7 - var$19 | 0) + 20 | 0) >= 0) break; var$15 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$15; $var7 = Long_lo(Long_shru(var$15, var$9)); } $var7 = var$19 + 10 | 0; if ($var7 > var$17) $var7 = var$17; $var3.$stackSize = var$17 - $var7 | 0; $var8 = new nms_EntityItem; $par1DamageSource = $this.$worldObj; var$21 = $this.$posX + var$4; var$22 = $this.$posY + var$5; var$23 = $this.$posZ + var$6; var$24 = new nms_ItemStack; var$19 = $var3.$itemID; var$25 = $var3.$itemDamage; var$24.$itemID = var$19; var$24.$stackSize = $var7; var$24.$itemDamage = var$25; if (var$25 < 0) var$24.$itemDamage = 0; $ptr = 3; continue main; } } $var2 = $var2 + 1 | 0; } return; case 3: nms_EntityItem__init_($var8, $par1DamageSource, var$21, var$22, var$23); if ($rt_suspending()) { break main; } var$26 = $var8.$dataWatcher; $par1DamageSource = var$26.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$10]; if (var$3 === null) { $par1DamageSource = $par1DamageSource.$elementData.data[0]; while ($par1DamageSource !== null && $par1DamageSource.$key !== null) { $par1DamageSource = $par1DamageSource.$next3; } } else { var$19 = var$3.$value0; var$27 = $par1DamageSource.$elementData.data; $par1DamageSource = var$27[var$19 & (var$27.length - 1 | 0)]; while ($par1DamageSource !== null) { if ($par1DamageSource.$origKeyHash == var$19) { var$2 = $par1DamageSource.$key; if (var$3 !== var$2 && !jl_Integer_equals(var$3, var$2) ? 0 : 1) break; } $par1DamageSource = $par1DamageSource.$next3; } } var$2 = $par1DamageSource === null ? null : $par1DamageSource.$value1; if (!(var$24 !== var$2.$watchedObject ? 0 : 1)) { var$2.$watchedObject = var$24; var$2.$watched = 1; var$26.$objectChanged = 1; } var$26 = $var8.$dataWatcher; $par1DamageSource = var$26.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$10]; if (var$3 === null) { $par1DamageSource = $par1DamageSource.$elementData.data[0]; while ($par1DamageSource !== null && $par1DamageSource.$key !== null) { $par1DamageSource = $par1DamageSource.$next3; } } else { var$19 = var$3.$value0; var$27 = $par1DamageSource.$elementData.data; $par1DamageSource = var$27[var$19 & (var$27.length - 1 | 0)]; while ($par1DamageSource !== null) { if ($par1DamageSource.$origKeyHash == var$19) { var$2 = $par1DamageSource.$key; if (var$3 !== var$2 && !jl_Integer_equals(var$3, var$2) ? 0 : 1) break; } $par1DamageSource = $par1DamageSource.$next3; } } ($par1DamageSource === null ? null : $par1DamageSource.$value1).$watched = 1; var$26.$objectChanged = 1; $var8.$motionX = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05000000074505806; $var8.$motionY = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05000000074505806 + 0.20000000298023224; $var8.$motionZ = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05000000074505806; $par1DamageSource = $this.$worldObj; var$25 = nms_World_spawnEntityInWorld($par1DamageSource, $var8); var$2 = $par1DamageSource.$entityList; ju_HashMap_putImpl(var$2.$backingMap, $var8, var$2); if (!var$25) { $par1DamageSource = $par1DamageSource.$entitySpawnQueue; ju_HashMap_putImpl($par1DamageSource.$backingMap, $var8, $par1DamageSource); } a: while (true) { var$17 = $var3.$stackSize; if (var$17 > 0) { $par1DamageSource = $this.$rand; var$15 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$15; $var7 = Long_lo(Long_shru(var$15, var$9)); while (true) { var$19 = $var7 % 21 | 0; if ((($var7 - var$19 | 0) + 20 | 0) >= 0) break; var$15 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$15; $var7 = Long_lo(Long_shru(var$15, var$9)); } $var7 = var$19 + 10 | 0; if ($var7 > var$17) $var7 = var$17; $var3.$stackSize = var$17 - $var7 | 0; $var8 = new nms_EntityItem; $par1DamageSource = $this.$worldObj; var$21 = $this.$posX + var$4; var$22 = $this.$posY + var$5; var$23 = $this.$posZ + var$6; var$24 = new nms_ItemStack; var$19 = $var3.$itemID; var$25 = $var3.$itemDamage; var$24.$itemID = var$19; var$24.$stackSize = $var7; var$24.$itemDamage = var$25; if (var$25 < 0) var$24.$itemDamage = 0; continue main; } while (true) { $var2 = $var2 + 1 | 0; if ($var2 >= $this.$getSizeInventory()) break a; $var3 = $this.$minecartContainerItems.data[$var2]; if ($var3 === null) continue; else break; } $par1DamageSource = $this.$rand; var$12 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$12; $var4 = Long_lo(Long_shru(var$12, var$8)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$12 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$12; $var5 = Long_lo(Long_shru(var$12, var$8)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$15 = Long_and(Long_add(Long_mul(var$12, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$15; $var6 = Long_lo(Long_shru(var$15, var$8)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$4 = $var4; var$5 = $var5; var$6 = $var6; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, var$2, var$3, var$4, var$5, var$6, $var2, var$8, var$9, var$10, $var3, var$12, $var4, $var5, var$15, $var6, var$17, $var7, var$19, $var8, var$21, var$22, var$23, var$24, var$25, var$26, var$27, $ptr); }, nms_EntityMinecartContainer_getStackInSlot = ($this, $par1) => { return $this.$minecartContainerItems.data[$par1]; }, nms_EntityMinecartContainer_decrStackSize = ($this, $par1, $par2) => { let var$3, $var3, var$5, $var3_0, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; var$3 = $this.$minecartContainerItems.data; if (var$3[$par1] === null) return null; if (var$3[$par1].$stackSize <= $par2) { $var3 = var$3[$par1]; var$3[$par1] = null; return $var3; } var$5 = var$3[$par1]; $var3_0 = new nms_ItemStack; var$7 = var$5.$itemID; var$8 = var$5.$itemDamage; nms_ItemStack_$callClinit(); $var3_0.$itemID = var$7; $var3_0.$stackSize = $par2; $var3_0.$itemDamage = var$8; if (var$8 < 0) $var3_0.$itemDamage = 0; var$9 = var$5.$stackTagCompound; if (var$9 !== null) { var$10 = new nms_NBTTagCompound; $var3 = var$9.$name; if ($var3 === null) $var3 = $rt_s(18); var$10.$name = $var3; $var3 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); $var3.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$3 = var$11.data; $var3.$elementData = var$11; $var3.$loadFactor = 0.75; $var3.$threshold = var$3.length * 0.75 | 0; var$10.$tagMap = $var3; $var3 = var$9.$tagMap; if ($var3.$cachedKeySet === null) { var$12 = new ju_HashMap$1; var$12.$this$0 = $var3; $var3.$cachedKeySet = var$12; } $var3 = $var3.$cachedKeySet.$iterator(); while ($var3.$hasNext()) { var$12 = $var3.$next(); var$13 = var$9.$tagMap; if (var$12 === null) { var$13 = var$13.$elementData.data[0]; while (var$13 !== null && var$13.$key !== null) { var$13 = var$13.$next3; } } else { a: { if (!var$12.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$12.$nativeString.length) break a; var$12.$hashCode1 = (31 * var$12.$hashCode1 | 0) + var$12.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$14 = var$12.$hashCode1; var$3 = var$13.$elementData.data; var$13 = var$3[var$14 & (var$3.length - 1 | 0)]; while (var$13 !== null) { if (var$13.$origKeyHash == var$14) { b: { var$15 = var$13.$key; if (var$12 !== var$15) { if (var$12 === var$15) var$8 = 1; else if (!(var$15 instanceof jl_String)) var$8 = 0; else { var$15 = var$15; var$8 = var$12.$nativeString !== var$15.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$13 = var$13.$next3; } } var$13 = var$13 === null ? null : var$13.$value1; var$13 = var$13.$copy(); var$15 = var$10.$tagMap; if (var$12 !== null) var$13.$name = var$12; else var$13.$name = $rt_s(18); ju_HashMap_putImpl(var$15, var$12, var$13); } $var3_0.$stackTagCompound = var$10; } var$5.$stackSize = var$5.$stackSize - $par2 | 0; var$3 = $this.$minecartContainerItems.data; if (!var$3[$par1].$stackSize) var$3[$par1] = null; return $var3_0; }, nms_EntityMinecartContainer_setInventorySlotContents = ($this, $par1, $par2ItemStack) => { $this.$minecartContainerItems.data[$par1] = $par2ItemStack; if ($par2ItemStack !== null && $par2ItemStack.$stackSize > 64) $par2ItemStack.$stackSize = 64; }, nms_EntityMinecartContainer_onInventoryChanged = $this => { return; }, nms_EntityMinecartContainer_isUseableByPlayer = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5; if ($this.$isDead) var$2 = 0; else { var$3 = $par1EntityPlayer.$posX - $this.$posX; var$4 = $par1EntityPlayer.$posY - $this.$posY; var$5 = $par1EntityPlayer.$posZ - $this.$posZ; var$2 = var$3 * var$3 + var$4 * var$4 + var$5 * var$5 > 64.0 ? 0 : 1; } return var$2; }, nms_EntityMinecartContainer_openChest = $this => { return; }, nms_EntityMinecartContainer_closeChest = $this => { return; }, nms_EntityMinecartContainer_isItemValidForSlot = ($this, $par1, $par2ItemStack) => { return 1; }, nms_EntityMinecartContainer_getInvName = $this => { let var$1; var$1 = $this.$entityName; if (!(var$1 === null ? 0 : 1)) var$1 = $rt_s(3120); return var$1; }, nms_EntityMinecartContainer_getInventoryStackLimit = $this => { return 64; }, nms_EntityMinecartContainer_travelToDimension = ($this, $par1) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$dropContentsWhenDead = 0; $ptr = 1; case 1: nms_Entity_travelToDimension($this, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $ptr); }, nms_EntityMinecartContainer_setDead = $this => { let $var1, var$2, var$3, var$4, $var2, var$6, var$7, $var3, var$9, $var4, $var5, var$12, var$13, var$14, var$15, var$16, var$17, $var6, $var7, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, var$32, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$9 = $thread.pop();$var3 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var2 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($this.$dropContentsWhenDead) { $var1 = 0; var$2 = 24; var$3 = 17; var$4 = 138; while (true) { if ($var1 >= $this.$getSizeInventory()) break a; $var2 = $this.$minecartContainerItems.data[$var1]; if ($var2 !== null) { var$6 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, var$2)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$9 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$9; $var4 = Long_lo(Long_shru(var$9, var$2)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$9 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, var$2)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$12 = $var3; var$13 = $var4; var$14 = $var5; var$15 = $var2.$stackSize; if (var$15 > 0) { var$6 = $this.$rand; var$9 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$9; var$16 = Long_lo(Long_shru(var$9, var$3)); while (true) { var$17 = var$16 % 21 | 0; if (((var$16 - var$17 | 0) + 20 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$9; var$16 = Long_lo(Long_shru(var$9, var$3)); } $var6 = var$17 + 10 | 0; if ($var6 > var$15) $var6 = var$15; $var2.$stackSize = var$15 - $var6 | 0; $var7 = new nms_EntityItem; var$20 = $this.$worldObj; var$21 = $this.$posX + var$12; var$22 = $this.$posY + var$13; var$23 = $this.$posZ + var$14; var$6 = new nms_ItemStack; var$15 = $var2.$itemID; var$24 = $var2.$itemDamage; nms_ItemStack_$callClinit(); var$6.$itemID = var$15; var$6.$stackSize = $var6; var$6.$itemDamage = var$24; if (var$24 < 0) var$6.$itemDamage = 0; $ptr = 2; continue main; } } $var1 = $var1 + 1 | 0; } } } $this.$isDead = 1; var$6 = $this.$field_82344_g; if (var$6 === null) return; $ptr = 1; case 1: nms_SoundUpdaterMinecart_update(var$6); if ($rt_suspending()) { break main; } return; case 2: nms_EntityItem__init_($var7, var$20, var$21, var$22, var$23); if ($rt_suspending()) { break main; } var$25 = $var7.$dataWatcher; var$20 = var$25.$watchedObjects; jl_Integer_ensureIntegerCache(); var$26 = jl_Integer_integerCache.data[var$4]; if (var$26 === null) { var$20 = var$20.$elementData.data[0]; while (var$20 !== null && var$20.$key !== null) { var$20 = var$20.$next3; } } else { var$15 = var$26.$value0; var$27 = var$20.$elementData.data; var$20 = var$27[var$15 & (var$27.length - 1 | 0)]; while (var$20 !== null) { if (var$20.$origKeyHash == var$15) { var$28 = var$20.$key; if (var$26 !== var$28 && !jl_Integer_equals(var$26, var$28) ? 0 : 1) break; } var$20 = var$20.$next3; } } var$20 = var$20 === null ? null : var$20.$value1; if (!(var$6 !== var$20.$watchedObject ? 0 : 1)) { var$20.$watchedObject = var$6; var$20.$watched = 1; var$25.$objectChanged = 1; } var$26 = $var7.$dataWatcher; var$6 = var$26.$watchedObjects; jl_Integer_ensureIntegerCache(); var$28 = jl_Integer_integerCache.data[var$4]; if (var$28 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$15 = var$28.$value0; var$27 = var$6.$elementData.data; var$6 = var$27[var$15 & (var$27.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$15) { var$20 = var$6.$key; if (var$28 !== var$20 && !jl_Integer_equals(var$28, var$20) ? 0 : 1) break; } var$6 = var$6.$next3; } } (var$6 === null ? null : var$6.$value1).$watched = 1; var$26.$objectChanged = 1; if ($var2.$stackTagCompound === null ? 0 : 1) { var$28 = nms_EntityItem_getEntityItem($var7); var$29 = $var2.$stackTagCompound; var$26 = new nms_NBTTagCompound; var$6 = var$29.$name; if (var$6 === null) var$6 = $rt_s(18); var$26.$name = var$6; var$6 = new ju_HashMap; var$15 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$27 = $rt_createArray(ju_HashMap$HashEntry, var$15); var$30 = var$27.data; var$6.$elementData = var$27; var$6.$loadFactor = 0.75; var$6.$threshold = var$30.length * 0.75 | 0; var$26.$tagMap = var$6; var$6 = var$29.$tagMap; if (var$6.$cachedKeySet === null) { var$20 = new ju_HashMap$1; var$20.$this$0 = var$6; var$6.$cachedKeySet = var$20; } var$25 = var$6.$cachedKeySet.$iterator(); while (var$25.$hasNext()) { var$31 = var$25.$next(); var$6 = var$29.$tagMap; if (var$31 === null) { var$32 = var$6.$elementData.data[0]; while (var$32 !== null && var$32.$key !== null) { var$32 = var$32.$next3; } } else { b: { if (!var$31.$hashCode1) { var$15 = 0; while (true) { if (var$15 >= var$31.$nativeString.length) break b; var$31.$hashCode1 = (31 * var$31.$hashCode1 | 0) + var$31.$nativeString.charCodeAt(var$15) | 0; var$15 = var$15 + 1 | 0; } } } $var6 = var$31.$hashCode1; var$27 = var$6.$elementData.data; var$32 = var$27[$var6 & (var$27.length - 1 | 0)]; while (var$32 !== null) { if (var$32.$origKeyHash == $var6) { c: { var$6 = var$32.$key; if (var$31 !== var$6) { if (var$31 === var$6) var$15 = 1; else if (!(var$6 instanceof jl_String)) var$15 = 0; else { var$6 = var$6; var$15 = var$31.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$15) { var$15 = 0; break c; } } var$15 = 1; } if (var$15) break; } var$32 = var$32.$next3; } } var$6 = var$32 === null ? null : var$32.$value1; var$6 = var$6.$copy(); var$20 = var$26.$tagMap; if (var$31 !== null) var$6.$name = var$31; else var$6.$name = $rt_s(18); ju_HashMap_putImpl(var$20, var$31, var$6); } var$28.$stackTagCompound = var$26; } $var7.$motionX = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05000000074505806; $var7.$motionY = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05000000074505806 + 0.20000000298023224; $var7.$motionZ = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05000000074505806; var$6 = $this.$worldObj; var$15 = nms_World_spawnEntityInWorld(var$6, $var7); var$20 = var$6.$entityList; ju_HashMap_putImpl(var$20.$backingMap, $var7, var$20); if (!var$15) { var$6 = var$6.$entitySpawnQueue; ju_HashMap_putImpl(var$6.$backingMap, $var7, var$6); } d: while (true) { var$15 = $var2.$stackSize; if (var$15 > 0) { var$6 = $this.$rand; var$9 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$9; var$16 = Long_lo(Long_shru(var$9, var$3)); while (true) { var$17 = var$16 % 21 | 0; if (((var$16 - var$17 | 0) + 20 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$9; var$16 = Long_lo(Long_shru(var$9, var$3)); } $var6 = var$17 + 10 | 0; if ($var6 > var$15) $var6 = var$15; $var2.$stackSize = var$15 - $var6 | 0; $var7 = new nms_EntityItem; var$20 = $this.$worldObj; var$21 = $this.$posX + var$12; var$22 = $this.$posY + var$13; var$23 = $this.$posZ + var$14; var$6 = new nms_ItemStack; var$15 = $var2.$itemID; var$24 = $var2.$itemDamage; nms_ItemStack_$callClinit(); var$6.$itemID = var$15; var$6.$stackSize = $var6; var$6.$itemDamage = var$24; if (var$24 < 0) var$6.$itemDamage = 0; continue main; } while (true) { $var1 = $var1 + 1 | 0; if ($var1 >= $this.$getSizeInventory()) break d; $var2 = $this.$minecartContainerItems.data[$var1]; if ($var2 === null) continue; else break; } var$6 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$7; $var3 = Long_lo(Long_shru(var$7, var$2)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$9 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$9; $var4 = Long_lo(Long_shru(var$9, var$2)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$9 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6.$seed = var$9; $var5 = Long_lo(Long_shru(var$9, var$2)) / 1.6777216E7 * 0.800000011920929 + 0.10000000149011612; var$12 = $var3; var$13 = $var4; var$14 = $var5; } $this.$isDead = 1; var$6 = $this.$field_82344_g; if (var$6 === null) return; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, $var2, var$6, var$7, $var3, var$9, $var4, $var5, var$12, var$13, var$14, var$15, var$16, var$17, $var6, $var7, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, var$32, $ptr); }, nms_EntityMinecartContainer_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let $var2, $var4, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; nms_EntityMinecart_writeEntityToNBT($this, $par1NBTTagCompound); $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $var4; $var3 = 0; while (true) { var$5 = $this.$minecartContainerItems.data; if ($var3 >= var$5.length) break; if (var$5[$var3] !== null) { $var4 = new nms_NBTTagCompound; $var4.$name = $rt_s(18); var$6 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$5 = var$8.data; var$6.$elementData = var$8; var$6.$loadFactor = 0.75; var$6.$threshold = var$5.length * 0.75 | 0; $var4.$tagMap = var$6; var$7 = $var3 << 24 >> 24; var$9 = new nms_NBTTagByte; var$9.$name = $rt_s(1315); var$9.$data = var$7; ju_HashMap_putImpl(var$6, $rt_s(1315), var$9); var$10 = $this.$minecartContainerItems.data[$var3]; var$7 = var$10.$itemID << 16 >> 16; var$11 = $var4.$tagMap; var$6 = new nms_NBTTagShort; var$6.$name = $rt_s(1243); var$6.$data2 = var$7; ju_HashMap_putImpl(var$11, $rt_s(1243), var$6); var$7 = var$10.$stackSize << 24 >> 24; var$11 = $var4.$tagMap; var$6 = new nms_NBTTagByte; var$6.$name = $rt_s(1271); var$6.$data = var$7; ju_HashMap_putImpl(var$11, $rt_s(1271), var$6); var$7 = var$10.$itemDamage << 16 >> 16; var$11 = $var4.$tagMap; var$6 = new nms_NBTTagShort; var$6.$name = $rt_s(1272); var$6.$data2 = var$7; ju_HashMap_putImpl(var$11, $rt_s(1272), var$6); var$10 = var$10.$stackTagCompound; if (var$10 !== null) { var$6 = $var4.$tagMap; var$10.$name = $rt_s(1273); ju_HashMap_putImpl(var$6, $rt_s(1273), var$10); } $var2.$tagType = 10; var$10 = $var2.$tagList; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$5 = var$10.$array.data; var$12 = var$10.$size0; var$10.$size0 = var$12 + 1 | 0; var$5[var$12] = $var4; var$10.$modCount = var$10.$modCount + 1 | 0; } $var3 = $var3 + 1 | 0; } $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; $var2.$name = $rt_s(2451); ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(2451), $var2); }, nms_EntityMinecartContainer_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, $var3, var$4, $var2, $var5, $var4, var$8, var$9, var$10; a: { nms_EntityMinecart_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2451).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2451).$nativeString.length) break a; $rt_s(2451).$hashCode1 = (31 * $rt_s(2451).$hashCode1 | 0) + $rt_s(2451).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(2451).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[$var3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var3) { b: { $var2 = var$2.$key; if ($rt_s(2451) !== $var2) { if ($rt_s(2451) === $var2) $var5 = 1; else if (!($var2 instanceof jl_String)) $var5 = 0; else { $var2 = $var2; $var5 = $rt_s(2451).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break b; } } $var5 = 1; } if ($var5) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) { $var2 = new nms_NBTTagList; if ($rt_s(2451) !== null) $var2.$name = $rt_s(2451); else $var2.$name = $rt_s(18); $par1NBTTagCompound = new ju_ArrayList; $par1NBTTagCompound.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $par1NBTTagCompound; } else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(2451) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { c: { if (!$rt_s(2451).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2451).$nativeString.length) break c; $rt_s(2451).$hashCode1 = (31 * $rt_s(2451).$hashCode1 | 0) + $rt_s(2451).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(2451).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[$var3 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == $var3) { d: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(2451) !== var$2) { if ($rt_s(2451) === var$2) $var5 = 1; else if (!(var$2 instanceof jl_String)) $var5 = 0; else { var$2 = var$2; $var5 = $rt_s(2451).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break d; } } $var5 = 1; } if ($var5) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $var2 = $par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1; } $this.$minecartContainerItems = $rt_createArray(nms_ItemStack, $this.$getSizeInventory()); $var3 = 0; e: { while (true) { $par1NBTTagCompound = $var2.$tagList; $var5 = $rt_compare($var3, $par1NBTTagCompound.$size0); if ($var5 >= 0) break; if ($var3 < 0) break e; if ($var5 >= 0) break e; f: { $var4 = $par1NBTTagCompound.$array.data[$var3]; var$2 = $var4.$tagMap; if (!$rt_s(1315).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1315).$nativeString.length) break f; $rt_s(1315).$hashCode1 = (31 * $rt_s(1315).$hashCode1 | 0) + $rt_s(1315).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$8 = $rt_s(1315).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { g: { var$9 = var$2.$key; if ($rt_s(1315) !== var$9) { if ($rt_s(1315) === var$9) $var5 = 1; else if (!(var$9 instanceof jl_String)) $var5 = 0; else { var$9 = var$9; $var5 = $rt_s(1315).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break g; } } $var5 = 1; } if ($var5) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$10 = 0; else { var$2 = $var4.$tagMap; if ($rt_s(1315) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { h: { if (!$rt_s(1315).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1315).$nativeString.length) break h; $rt_s(1315).$hashCode1 = (31 * $rt_s(1315).$hashCode1 | 0) + $rt_s(1315).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$8 = $rt_s(1315).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$8) { i: { var$9 = var$2.$key; if ($rt_s(1315) !== var$9) { if ($rt_s(1315) === var$9) $var5 = 1; else if (!(var$9 instanceof jl_String)) $var5 = 0; else { var$9 = var$9; $var5 = $rt_s(1315).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break i; } } $var5 = 1; } if ($var5) break; } var$2 = var$2.$next3; } } var$10 = (var$2 === null ? null : var$2.$value1).$data; } $var5 = var$10 & 255; if ($var5 >= 0) { var$4 = $this.$minecartContainerItems.data; if ($var5 < var$4.length) { nms_ItemStack_$callClinit(); $par1NBTTagCompound = new nms_ItemStack; nms_ItemStack_readFromNBT($par1NBTTagCompound, $var4); nms_Item_$callClinit(); if (nms_Item_itemsList.data[$par1NBTTagCompound.$itemID] === null) $par1NBTTagCompound = null; var$4[$var5] = $par1NBTTagCompound; } } $var3 = $var3 + 1 | 0; } return; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); }, nms_EntityMinecartContainer_interactFirst = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$worldObj.$isRemote) return 1; var$2 = $par1EntityPlayer.$mc4; var$3 = new nms_GuiChest; var$4 = $par1EntityPlayer.$inventory; nms_GuiChest_$callClinit(); var$5 = new nms_ContainerChest; $ptr = 1; case 1: nms_ContainerChest__init_(var$5, var$4, $this); if ($rt_suspending()) { break main; } nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $par1EntityPlayer = new ju_ArrayList; jl_Object__init_($par1EntityPlayer); $par1EntityPlayer.$array = $rt_createArray(jl_Object, 10); var$3.$buttonList = $par1EntityPlayer; var$3.$allowUserInput = 0; var$3.$selectedButton = null; var$3.$eventButton = 0; var$3.$field_85043_c = Long_ZERO; var$3.$field_92018_d = 0; var$3.$xSize = 176; var$3.$ySize = 166; $par1EntityPlayer = new ju_HashSet; var$6 = new ju_HashMap; jl_Object__init_(var$6); var$7 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$9 = var$8.data; var$6.$elementData = var$8; var$6.$loadFactor = 0.75; var$6.$threshold = var$9.length * 0.75 | 0; $par1EntityPlayer.$backingMap = var$6; var$3.$field_94077_p = $par1EntityPlayer; var$3.$inventorySlots0 = var$5; var$3.$field_94068_E = 1; var$3.$upperChestInventory = var$4; var$3.$lowerChestInventory = $this; var$3.$allowUserInput = 0; var$10 = $this.$getSizeInventory() / 9 | 0; var$3.$inventoryRows = var$10; var$3.$ySize = 114 + (var$10 * 18 | 0) | 0; $ptr = 2; case 2: nms_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityMinecartContainer_applyDrag = $this => { let $var2, var$2, var$3; $var2 = 0.9800000190734863 + (15 - nms_Container_calcRedstoneFromInventory($this) | 0) * 0.0010000000474974513; var$2 = $this.$motionX; var$3 = $var2; $this.$motionX = var$2 * var$3; $this.$motionY = $this.$motionY * 0.0; $this.$motionZ = $this.$motionZ * var$3; }, nms_EntityMinecartChest = $rt_classWithoutFields(nms_EntityMinecartContainer), nms_EntityMinecartChest_killMinecart = ($this, $par1DamageSource) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityMinecartContainer_killMinecart($this, $par1DamageSource); if ($rt_suspending()) { break main; } nms_Block_$callClinit(); var$2 = nms_Block_chest.$blockID; $par1DamageSource = new nms_ItemStack; nms_ItemStack_$callClinit(); $par1DamageSource.$itemID = var$2; $par1DamageSource.$stackSize = 1; $par1DamageSource.$itemDamage = 0; var$3 = new nms_EntityItem; var$4 = $this.$worldObj; var$5 = $this.$posX; var$6 = $this.$posY + 0.0; var$7 = $this.$posZ; $ptr = 2; case 2: nms_EntityItem__init_(var$3, var$4, var$5, var$6, var$7); if ($rt_suspending()) { break main; } var$8 = var$3.$dataWatcher; var$9 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[138]; if (var$4 === null) var$4 = ju_HashMap_findNullKeyEntry(var$9); else { var$2 = jl_Integer_hashCode0(var$4); var$4 = ju_HashMap_findNonNullKeyEntry(var$9, var$4, var$2 & (var$9.$elementData.data.length - 1 | 0), var$2); } var$9 = var$4 === null ? null : var$4.$value1; if (!($par1DamageSource !== var$9.$watchedObject ? 0 : 1)) { var$9.$watchedObject = $par1DamageSource; var$9.$watched = 1; var$8.$objectChanged = 1; } var$4 = var$3.$dataWatcher; $par1DamageSource = var$4.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[138]; if (var$8 === null) $par1DamageSource = ju_HashMap_findNullKeyEntry($par1DamageSource); else { var$2 = jl_Integer_hashCode0(var$8); $par1DamageSource = ju_HashMap_findNonNullKeyEntry($par1DamageSource, var$8, var$2 & ($par1DamageSource.$elementData.data.length - 1 | 0), var$2); } ($par1DamageSource === null ? null : $par1DamageSource.$value1).$watched = 1; var$4.$objectChanged = 1; var$3.$delayBeforeCanPickup = 10; $par1DamageSource = $this.$worldObj; var$10 = nms_World_spawnEntityInWorld($par1DamageSource, var$3); var$4 = $par1DamageSource.$entityList; ju_HashMap_putImpl(var$4.$backingMap, var$3, var$4); if (!var$10) { $par1DamageSource = $par1DamageSource.$entitySpawnQueue; ju_HashMap_putImpl($par1DamageSource.$backingMap, var$3, $par1DamageSource); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityMinecartChest_getSizeInventory = $this => { return 27; }, nms_EntityMinecartChest_getMinecartType = $this => { return 1; }, nms_EntityMinecartChest_getDefaultDisplayTile = $this => { nms_Block_$callClinit(); return nms_Block_chest; }, nms_EntityMinecartChest_getDefaultDisplayTileOffset = $this => { return 8; }, nms_EntityList$_clinit_$lambda$_63_18 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_18__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_18__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_18(); nms_EntityList$_clinit_$lambda$_63_18__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_18_apply = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityMinecartChest; nms_Entity__init_(var$2, var$1); var$2.$preventEntitySpawning = 1; var$3 = 0.9800000190734863; var$4 = 0.699999988079071; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$yOffset = var$2.$height2 / 2.0; if (var$1 === null) var$5 = null; else { var$5 = new nms_SoundUpdaterMinecart; var$1 = var$1.$mc2; var$6 = var$1.$sndManager; var$1 = var$1.$thePlayer; var$5.$theSoundManager = var$6; var$5.$theMinecart = var$2; var$5.$thePlayer0 = var$1; } var$2.$field_82344_g = var$5; var$2.$minecartContainerItems = $rt_createArray(nms_ItemStack, 36); var$2.$dropContentsWhenDead = 1; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }; function nms_EntityMinecartFurnace() { let a = this; nms_EntityMinecart.call(a); a.$fuel = 0; a.$pushX = 0.0; a.$pushZ = 0.0; } let nms_EntityMinecartFurnace_getMinecartType = $this => { return 2; }, nms_EntityMinecartFurnace_entityInit = $this => { let var$1, var$2; nms_EntityMinecart_entityInit($this); var$1 = $this.$dataWatcher; var$2 = new jl_Byte; var$2.$value2 = 0; nms_DataWatcher_addObject(var$1, 16, var$2); }, nms_EntityMinecartFurnace_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityMinecart_onUpdate($this); if ($rt_suspending()) { break main; } var$1 = $this.$fuel; if (var$1 > 0) $this.$fuel = var$1 - 1 | 0; var$1 = $this.$fuel; if (var$1 <= 0) { $this.$pushZ = 0.0; $this.$pushX = 0.0; } nms_EntityMinecartFurnace_setMinecartPowered($this, var$1 <= 0 ? 0 : 1); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(var$2.$watchedObject.$value2 & 1) ? 0 : 1) { var$2 = $this.$rand; var$7 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$7; if (!Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$7, 17)))), 31))) { var$2 = $this.$worldObj; var$6 = $rt_s(1488); var$8 = $this.$posX; var$9 = $this.$posY + 0.8; var$10 = $this.$posZ; var$11 = 0.0; var$12 = 0.0; var$13 = 0.0; var$1 = 0; var$3 = var$2.$worldAccesses; var$14 = $rt_compare(var$1, var$3.$size0); if (var$14 < 0) { if (var$1 >= 0 && var$14 < 0) { var$3 = var$3.$array.data[var$1]; $ptr = 2; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } } return; case 2: nms_RenderGlobal_doSpawnParticle(var$3, var$6, var$8, var$9, var$10, var$11, var$12, var$13); if ($rt_suspending()) { break main; } var$1 = var$1 + 1 | 0; var$3 = var$2.$worldAccesses; var$14 = $rt_compare(var$1, var$3.$size0); if (var$14 >= 0) return; if (var$1 >= 0 && var$14 < 0) { var$3 = var$3.$array.data[var$1]; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_EntityMinecartFurnace_killMinecart = ($this, $par1DamageSource) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$isDead = 1; var$2 = $this.$field_82344_g; if (var$2 !== null) { $ptr = 1; continue main; } var$3 = new nms_ItemStack; nms_Item_$callClinit(); var$2 = nms_Item_minecartEmpty; nms_ItemStack_$callClinit(); var$3.$itemID = var$2.$itemID0; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$2 = $this.$entityName; if (var$2 !== null) nms_ItemStack_setItemName(var$3, var$2); if (var$3.$stackSize) { var$2 = new nms_EntityItem; var$4 = $this.$worldObj; var$5 = $this.$posX; var$6 = $this.$posY + 0.0; var$7 = $this.$posZ; $ptr = 2; continue main; } if ($par1DamageSource.$explosion) return; var$2 = new nms_ItemStack; nms_Block_$callClinit(); var$2.$itemID = nms_Block_furnaceIdle.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; $par1DamageSource = new nms_EntityItem; var$3 = $this.$worldObj; var$5 = $this.$posX; var$6 = $this.$posY + 0.0; var$7 = $this.$posZ; $ptr = 3; continue main; case 1: nms_SoundUpdaterMinecart_update(var$2); if ($rt_suspending()) { break main; } var$3 = new nms_ItemStack; nms_Item_$callClinit(); var$2 = nms_Item_minecartEmpty; nms_ItemStack_$callClinit(); var$3.$itemID = var$2.$itemID0; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$2 = $this.$entityName; if (var$2 !== null) nms_ItemStack_setItemName(var$3, var$2); if (var$3.$stackSize) { var$2 = new nms_EntityItem; var$4 = $this.$worldObj; var$5 = $this.$posX; var$6 = $this.$posY + 0.0; var$7 = $this.$posZ; $ptr = 2; continue main; } if ($par1DamageSource.$explosion) return; var$2 = new nms_ItemStack; nms_Block_$callClinit(); var$2.$itemID = nms_Block_furnaceIdle.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; $par1DamageSource = new nms_EntityItem; var$3 = $this.$worldObj; var$5 = $this.$posX; var$6 = $this.$posY + 0.0; var$7 = $this.$posZ; $ptr = 3; continue main; case 2: nms_EntityItem__init_(var$2, var$4, var$5, var$6, var$7); if ($rt_suspending()) { break main; } var$8 = var$2.$dataWatcher; var$4 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[138]; if (var$9 === null) var$4 = ju_HashMap_findNullKeyEntry(var$4); else { var$10 = jl_Integer_hashCode0(var$9); var$4 = ju_HashMap_findNonNullKeyEntry(var$4, var$9, var$10 & (var$4.$elementData.data.length - 1 | 0), var$10); } var$9 = var$4 === null ? null : var$4.$value1; if (!(var$3 !== var$9.$watchedObject ? 0 : 1)) { var$9.$watchedObject = var$3; var$9.$watched = 1; var$8.$objectChanged = 1; } var$9 = var$2.$dataWatcher; var$3 = var$9.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[138]; if (var$4 === null) var$3 = ju_HashMap_findNullKeyEntry(var$3); else { var$10 = jl_Integer_hashCode0(var$4); var$3 = ju_HashMap_findNonNullKeyEntry(var$3, var$4, var$10 & (var$3.$elementData.data.length - 1 | 0), var$10); } (var$3 === null ? null : var$3.$value1).$watched = 1; var$9.$objectChanged = 1; var$2.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; var$11 = nms_World_spawnEntityInWorld(var$3, var$2); var$4 = var$3.$entityList; ju_HashMap_putImpl(var$4.$backingMap, var$2, var$4); if (!var$11) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } if ($par1DamageSource.$explosion) return; var$2 = new nms_ItemStack; nms_Block_$callClinit(); var$2.$itemID = nms_Block_furnaceIdle.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; $par1DamageSource = new nms_EntityItem; var$3 = $this.$worldObj; var$5 = $this.$posX; var$6 = $this.$posY + 0.0; var$7 = $this.$posZ; $ptr = 3; case 3: nms_EntityItem__init_($par1DamageSource, var$3, var$5, var$6, var$7); if ($rt_suspending()) { break main; } var$9 = $par1DamageSource.$dataWatcher; var$3 = var$9.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[138]; if (var$4 === null) { var$8 = var$3.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$10 = jl_Integer_hashCode(var$4.$value0); var$12 = var$3.$elementData.data; var$8 = var$12[var$10 & (var$12.length - 1 | 0)]; while (var$8 !== null && !(var$8.$origKeyHash == var$10 && ju_HashMap_areEqualKeys(var$4, var$8.$key))) { var$8 = var$8.$next3; } } var$4 = var$8 === null ? null : var$8.$value1; if (!(var$2 !== var$4.$watchedObject ? 0 : 1)) { var$4.$watchedObject = var$2; var$4.$watched = 1; var$9.$objectChanged = 1; } var$4 = $par1DamageSource.$dataWatcher; var$2 = var$4.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[138]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$11 = jl_Integer_hashCode(var$3.$value0); var$12 = var$2.$elementData.data; var$2 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$11 && ju_HashMap_areEqualKeys(var$3, var$2.$key))) { var$2 = var$2.$next3; } } (var$2 === null ? null : var$2.$value1).$watched = 1; var$4.$objectChanged = 1; $par1DamageSource.$delayBeforeCanPickup = 10; var$2 = $this.$worldObj; var$11 = nms_World_spawnEntityInWorld(var$2, $par1DamageSource); var$3 = var$2.$entityList; ju_HashMap_putImpl(var$3.$backingMap, $par1DamageSource, var$3); if (!var$11) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, $par1DamageSource, var$2); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_EntityMinecartFurnace_updateOnTrack = ($this, $par1, $par2, $par3, $par4, $par6, $par8, $par9) => { let $var10, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityMinecart_updateOnTrack($this, $par1, $par2, $par3, $par4, $par6, $par8, $par9); if ($rt_suspending()) { break main; } $par4 = $this.$pushX; $par4 = $par4 * $par4; $par6 = $this.$pushZ; $var10 = $par4 + $par6 * $par6; if ($var10 > 1.0E-4) { $par4 = $this.$motionX; $par4 = $par4 * $par4; $par6 = $this.$motionZ; if ($par4 + $par6 * $par6 > 0.001) { $par4 = jl_Math_sqrt($var10); $par6 = $this.$pushX / $par4; $this.$pushX = $par6; $par4 = $this.$pushZ / $par4; $this.$pushZ = $par4; $var10 = $this.$motionX; $par6 = $par6 * $var10; var$9 = $this.$motionZ; if ($par6 + $par4 * var$9 >= 0.0) { $this.$pushX = $var10; $this.$pushZ = var$9; } else { $this.$pushX = 0.0; $this.$pushZ = 0.0; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par6, $par8, $par9, $var10, var$9, $ptr); }, nms_EntityMinecartFurnace_applyDrag = $this => { let $var1, var$2, var$3, var$4; $var1 = $this.$pushX; $var1 = $var1 * $var1; var$2 = $this.$pushZ; $var1 = $var1 + var$2 * var$2; if ($var1 <= 1.0E-4) { $this.$motionX = $this.$motionX * 0.9800000190734863; $this.$motionY = $this.$motionY * 0.0; $this.$motionZ = $this.$motionZ * 0.9800000190734863; } else { $var1 = jl_Math_sqrt($var1); var$2 = $this.$pushX / $var1; $this.$pushX = var$2; $var1 = $this.$pushZ / $var1; $this.$pushZ = $var1; var$3 = $this.$motionX * 0.800000011920929; $this.$motionX = var$3; $this.$motionY = $this.$motionY * 0.0; var$4 = $this.$motionZ * 0.800000011920929; $this.$motionZ = var$4; $this.$motionX = var$3 + var$2 * 0.05; $this.$motionZ = var$4 + $var1 * 0.05; } nms_EntityMinecart_applyDrag($this); }, nms_EntityMinecartFurnace_interactFirst = ($this, $par1EntityPlayer) => { let var$2, var$3, $var2, var$5, var$6; var$2 = $par1EntityPlayer.$inventory; var$3 = var$2.$currentItem; $var2 = var$3 < 9 && var$3 >= 0 ? var$2.$mainInventory.data[var$3] : null; if ($var2 !== null) { var$5 = $var2.$itemID; nms_Item_$callClinit(); if (var$5 == nms_Item_coal.$itemID0) { if (!$par1EntityPlayer.$capabilities.$isCreativeMode) { var$5 = $var2.$stackSize - 1 | 0; $var2.$stackSize = var$5; if (!var$5) { $var2 = null; var$6 = var$2.$mainInventory; var$5 = var$6.data.length; if (var$3 >= var$5) { var$3 = var$3 - var$5 | 0; var$6 = var$2.$armorInventory; } var$6.data[var$3] = $var2; } } $this.$fuel = $this.$fuel + 3600 | 0; } } $this.$pushX = $this.$posX - $par1EntityPlayer.$posX; $this.$pushZ = $this.$posZ - $par1EntityPlayer.$posZ; return 1; }, nms_EntityMinecartFurnace_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5; nms_EntityMinecart_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$pushX; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagDouble; var$4.$name = $rt_s(3121); var$4.$data6 = var$2; ju_HashMap_putImpl(var$3, $rt_s(3121), var$4); var$2 = $this.$pushZ; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagDouble; var$4.$name = $rt_s(3122); var$4.$data6 = var$2; ju_HashMap_putImpl(var$3, $rt_s(3122), var$4); var$5 = $this.$fuel << 16 >> 16; var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagShort; $par1NBTTagCompound.$name = $rt_s(3123); $par1NBTTagCompound.$data2 = var$5; ju_HashMap_putImpl(var$4, $rt_s(3123), $par1NBTTagCompound); }, nms_EntityMinecartFurnace_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { nms_EntityMinecart_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3121).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3121).$nativeString.length) break a; $rt_s(3121).$hashCode1 = (31 * $rt_s(3121).$hashCode1 | 0) + $rt_s(3121).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3121).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(3121) !== var$6) { if ($rt_s(3121) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(3121).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$7 = 0.0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3121) === null) { var$8 = var$2.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { c: { if (!$rt_s(3121).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3121).$nativeString.length) break c; $rt_s(3121).$hashCode1 = (31 * $rt_s(3121).$hashCode1 | 0) + $rt_s(3121).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$3 = $rt_s(3121).$hashCode1; var$5 = var$2.$elementData.data; var$8 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$3) { d: { var$2 = var$8.$key; if ($rt_s(3121) !== var$2) { if ($rt_s(3121) === var$2) var$4 = 1; else if (!(var$2 instanceof jl_String)) var$4 = 0; else { var$2 = var$2; var$4 = $rt_s(3121).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$8 = var$8.$next3; } } var$7 = (var$8 === null ? null : var$8.$value1).$data6; } e: { $this.$pushX = var$7; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3122).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3122).$nativeString.length) break e; $rt_s(3122).$hashCode1 = (31 * $rt_s(3122).$hashCode1 | 0) + $rt_s(3122).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$9 = $rt_s(3122).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$9 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$9) { f: { var$6 = var$2.$key; if ($rt_s(3122) !== var$6) { if ($rt_s(3122) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(3122).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break f; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$7 = 0.0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3122) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { g: { if (!$rt_s(3122).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3122).$nativeString.length) break g; $rt_s(3122).$hashCode1 = (31 * $rt_s(3122).$hashCode1 | 0) + $rt_s(3122).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$9 = $rt_s(3122).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$9 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$9) { h: { var$6 = var$2.$key; if ($rt_s(3122) !== var$6) { if ($rt_s(3122) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(3122).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break h; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$data6; } i: { $this.$pushZ = var$7; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3123).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3123).$nativeString.length) break i; $rt_s(3123).$hashCode1 = (31 * $rt_s(3123).$hashCode1 | 0) + $rt_s(3123).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$9 = $rt_s(3123).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$9 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$9) { j: { var$6 = var$2.$key; if ($rt_s(3123) !== var$6) { if ($rt_s(3123) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(3123).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break j; } } var$4 = 1; } if (var$4) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$4 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(3123) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { k: { if (!$rt_s(3123).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3123).$nativeString.length) break k; $rt_s(3123).$hashCode1 = (31 * $rt_s(3123).$hashCode1 | 0) + $rt_s(3123).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$9 = $rt_s(3123).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$9 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$9) { l: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(3123) !== var$2) { if ($rt_s(3123) === var$2) var$4 = 1; else if (!(var$2 instanceof jl_String)) var$4 = 0; else { var$2 = var$2; var$4 = $rt_s(3123).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break l; } } var$4 = 1; } if (var$4) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$4 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data2; } $this.$fuel = var$4; }, nms_EntityMinecartFurnace_setMinecartPowered = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; if (!$par1) { var$2 = $this.$dataWatcher; var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; $par1 = (var$3.$watchedObject.$value2 & (-2)) << 24 >> 24; var$8 = jl_Byte_byteCache.data[$par1 + 128 | 0]; var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = var$3 === null ? null : var$3.$value1; var$3 = var$7.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$8.$value2 ? 1 : 0)) { var$7.$watchedObject = var$8; var$7.$watched = 1; var$2.$objectChanged = 1; } } else { var$2 = $this.$dataWatcher; var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; $par1 = (var$3.$watchedObject.$value2 | 1) << 24 >> 24; var$8 = jl_Byte_byteCache.data[$par1 + 128 | 0]; var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = var$3 === null ? null : var$3.$value1; var$3 = var$7.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$8.$value2 ? 1 : 0)) { var$7.$watchedObject = var$8; var$7.$watched = 1; var$2.$objectChanged = 1; } } }, nms_EntityMinecartFurnace_getDefaultDisplayTile = $this => { nms_Block_$callClinit(); return nms_Block_furnaceBurning; }, nms_EntityMinecartFurnace_getDefaultDisplayTileData = $this => { return 2; }, nms_EntityList$_clinit_$lambda$_63_19 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_19__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_19__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_19(); nms_EntityList$_clinit_$lambda$_63_19__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_19_apply = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityMinecartFurnace; nms_Entity__init_(var$2, var$1); var$2.$preventEntitySpawning = 1; var$3 = 0.9800000190734863; var$4 = 0.699999988079071; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$yOffset = var$2.$height2 / 2.0; if (var$1 === null) var$5 = null; else { var$5 = new nms_SoundUpdaterMinecart; var$1 = var$1.$mc2; var$6 = var$1.$sndManager; var$1 = var$1.$thePlayer; var$5.$theSoundManager = var$6; var$5.$theMinecart = var$2; var$5.$thePlayer0 = var$1; } var$2.$field_82344_g = var$5; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntityList$_clinit_$lambda$_63_20 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_20__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_20__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_20(); nms_EntityList$_clinit_$lambda$_63_20__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_20_apply = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityMinecartTNT; nms_Entity__init_(var$2, var$1); var$2.$preventEntitySpawning = 1; var$3 = 0.9800000190734863; var$4 = 0.699999988079071; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$yOffset = var$2.$height2 / 2.0; if (var$1 === null) var$5 = null; else { var$5 = new nms_SoundUpdaterMinecart; var$1 = var$1.$mc2; var$6 = var$1.$sndManager; var$1 = var$1.$thePlayer; var$5.$theSoundManager = var$6; var$5.$theMinecart = var$2; var$5.$thePlayer0 = var$1; } var$2.$field_82344_g = var$5; var$2.$minecartTNTFuse = (-1); return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_Hopper = $rt_classWithoutFields(0); function nms_EntityMinecartHopper() { let a = this; nms_EntityMinecartContainer.call(a); a.$isBlocked = 0; a.$transferTicker = 0; } let nms_EntityMinecartHopper_getMinecartType = $this => { return 5; }, nms_EntityMinecartHopper_getDefaultDisplayTile = $this => { nms_Block_$callClinit(); return nms_Block_hopperBlock; }, nms_EntityMinecartHopper_getDefaultDisplayTileOffset = $this => { return 1; }, nms_EntityMinecartHopper_getSizeInventory = $this => { return 5; }, nms_EntityMinecartHopper_interactFirst = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$worldObj.$isRemote) return 1; var$2 = $par1EntityPlayer.$mc4; var$3 = new nms_GuiHopper; var$4 = $par1EntityPlayer.$inventory; nms_GuiHopper_$callClinit(); var$5 = nms_ContainerHopper__init_(var$4, $this); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $par1EntityPlayer = new ju_ArrayList; jl_Object__init_($par1EntityPlayer); $par1EntityPlayer.$array = $rt_createArray(jl_Object, 10); var$3.$buttonList = $par1EntityPlayer; var$3.$allowUserInput = 0; var$3.$selectedButton = null; var$3.$eventButton = 0; var$3.$field_85043_c = Long_ZERO; var$3.$field_92018_d = 0; var$3.$xSize = 176; var$3.$ySize = 166; $par1EntityPlayer = new ju_HashSet; var$6 = new ju_HashMap; jl_Object__init_(var$6); var$7 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$9 = var$8.data; var$6.$elementData = var$8; var$6.$loadFactor = 0.75; var$6.$threshold = var$9.length * 0.75 | 0; $par1EntityPlayer.$backingMap = var$6; var$3.$field_94077_p = $par1EntityPlayer; var$3.$inventorySlots0 = var$5; var$3.$field_94068_E = 1; var$3.$field_94081_r = var$4; var$3.$field_94080_s = $this; var$3.$allowUserInput = 0; var$3.$ySize = 133; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_EntityMinecartHopper_onActivatorRailPass = ($this, $par1, $par2, $par3, $par4) => { let $var5; $var5 = $par4 ? 0 : 1; if ($var5 != $this.$isBlocked) $this.$isBlocked = $var5; }, nms_EntityMinecartHopper_getWorldObj = $this => { return $this.$worldObj; }, nms_EntityMinecartHopper_getXPos = $this => { return $this.$posX; }, nms_EntityMinecartHopper_getYPos = $this => { return $this.$posY; }, nms_EntityMinecartHopper_getZPos = $this => { return $this.$posZ; }, nms_EntityMinecartHopper_onUpdate = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityMinecart_onUpdate($this); if ($rt_suspending()) { break main; } if (!$this.$worldObj.$isRemote && ($this.$isDead ? 0 : 1) && $this.$isBlocked) { var$1 = $this.$transferTicker - 1 | 0; $this.$transferTicker = var$1; if (!(var$1 <= 0 ? 0 : 1)) { $this.$transferTicker = 0; $ptr = 2; continue main; } } return; case 2: $tmp = nms_EntityMinecartHopper_func_96112_aD($this); if ($rt_suspending()) { break main; } var$1 = $tmp; if (var$1) $this.$transferTicker = 4; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_EntityMinecartHopper_func_96112_aD = $this => { let var$1, var$2, $var1, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var1 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_TileEntityHopper_suckItemsIntoHopper($this); if ($rt_suspending()) { break main; } var$1 = $tmp; if (var$1) return 1; var$2 = $this.$worldObj; $var1 = $rt_cls(nms_EntityItem); var$4 = $this.$boundingBox; var$5 = var$4.$minX - 0.25; var$6 = var$4.$minY - 0.0; var$7 = var$4.$minZ - 0.25; var$8 = var$4.$maxX + 0.25; var$9 = var$4.$maxY + 0.0; var$10 = var$4.$maxZ + 0.25; var$11 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$1 = var$11.$nextPoolIndex; var$4 = var$11.$listAABB; var$12 = var$4.$size0; var$13 = $rt_compare(var$1, var$12); if (var$13 >= 0) { var$14 = new nms_AxisAlignedBB; var$14.$minX = var$5; var$14.$minY = var$6; var$14.$minZ = var$7; var$14.$maxX = var$8; var$14.$maxY = var$9; var$14.$maxZ = var$10; ju_ArrayList_ensureCapacity(var$4, var$12 + 1 | 0); var$15 = var$4.$array.data; var$13 = var$4.$size0; var$4.$size0 = var$13 + 1 | 0; var$15[var$13] = var$14; var$4.$modCount = var$4.$modCount + 1 | 0; } else if (var$1 >= 0 && var$13 < 0) { var$14 = var$4.$array.data[var$1]; var$14.$minX = var$5; var$14.$minY = var$6; var$14.$minZ = var$7; var$14.$maxX = var$8; var$14.$maxY = var$9; var$14.$maxZ = var$10; } else { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } var$11.$nextPoolIndex = var$11.$nextPoolIndex + 1 | 0; var$4 = nms_IEntitySelector_selectAnything; $ptr = 2; case 2: $tmp = nms_World_selectEntitiesWithinAABB(var$2, $var1, var$14, var$4); if ($rt_suspending()) { break main; } $var1 = $tmp; var$13 = $var1.$size0; if (var$13 > 0) { if (0 >= var$13) { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var1 = $var1.$array.data[0]; if ($var1 !== null) { var$2 = nms_EntityItem_getEntityItem($var1); var$4 = new nms_ItemStack; var$1 = var$2.$itemID; var$13 = var$2.$stackSize; var$12 = var$2.$itemDamage; nms_ItemStack_$callClinit(); var$4.$itemID = var$1; var$4.$stackSize = var$13; var$4.$itemDamage = var$12; if (var$12 < 0) var$4.$itemDamage = 0; var$11 = var$2.$stackTagCompound; if (var$11 !== null) { var$16 = new nms_NBTTagCompound; var$2 = var$11.$name; if (var$2 === null) var$2 = $rt_s(18); var$16.$name = var$2; var$2 = new ju_HashMap; jl_Object__init_(var$2); var$1 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$17 = $rt_createArray(ju_HashMap$HashEntry, var$1); var$15 = var$17.data; var$2.$elementData = var$17; var$2.$loadFactor = 0.75; var$2.$threshold = var$15.length * 0.75 | 0; var$16.$tagMap = var$2; var$14 = var$11.$tagMap; if (var$14.$cachedKeySet === null) { var$2 = new ju_HashMap$1; var$2.$this$0 = var$14; var$14.$cachedKeySet = var$2; } var$18 = var$14.$cachedKeySet.$iterator(); while (var$18.$hasNext()) { var$19 = var$18.$next(); var$2 = var$11.$tagMap; if (var$19 === null) { var$20 = var$2.$elementData.data[0]; while (var$20 !== null && var$20.$key !== null) { var$20 = var$20.$next3; } } else { a: { if (!var$19.$hashCode1) { var$1 = 0; while (true) { if (var$1 >= var$19.$nativeString.length) break a; var$19.$hashCode1 = (31 * var$19.$hashCode1 | 0) + var$19.$nativeString.charCodeAt(var$1) | 0; var$1 = var$1 + 1 | 0; } } } var$13 = var$19.$hashCode1; var$15 = var$2.$elementData.data; var$20 = var$15[var$13 & (var$15.length - 1 | 0)]; while (var$20 !== null) { if (var$20.$origKeyHash == var$13) { b: { var$2 = var$20.$key; if (var$19 !== var$2) { if (var$19 === var$2) var$1 = 1; else if (!(var$2 instanceof jl_String)) var$1 = 0; else { var$2 = var$2; var$1 = var$19.$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$1) { var$1 = 0; break b; } } var$1 = 1; } if (var$1) break; } var$20 = var$20.$next3; } } var$2 = var$20 === null ? null : var$20.$value1; var$2 = var$2.$copy(); var$14 = var$16.$tagMap; if (var$19 !== null) var$2.$name = var$19; else var$2.$name = $rt_s(18); ju_HashMap_putImpl(var$14, var$19, var$2); } var$4.$stackTagCompound = var$16; } var$1 = (-1); $ptr = 3; continue main; } } return 0; case 3: $tmp = nms_TileEntityHopper_insertStack($this, var$4, var$1); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2 !== null && var$2.$stackSize) { var$16 = $var1.$dataWatcher; var$4 = var$16.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[138]; if (var$11 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$12 = var$11.$value0; var$15 = var$4.$elementData.data; var$4 = var$15[var$12 & (var$15.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$12) { var$14 = var$4.$key; if (var$11 !== var$14 && !jl_Integer_equals(var$11, var$14) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$14 = var$4 === null ? null : var$4.$value1; if (!(var$2 !== var$14.$watchedObject ? 0 : 1)) { var$14.$watchedObject = var$2; var$14.$watched = 1; var$16.$objectChanged = 1; } var$2 = $var1.$dataWatcher; $var1 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$14 = jl_Integer_integerCache.data[138]; if (var$14 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$12 = var$14.$value0; var$15 = $var1.$elementData.data; $var1 = var$15[var$12 & (var$15.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$12) { var$4 = $var1.$key; if (var$14 !== var$4 && !jl_Integer_equals(var$14, var$4) ? 0 : 1) break; } $var1 = $var1.$next3; } } ($var1 === null ? null : $var1.$value1).$watched = 1; var$2.$objectChanged = 1; } else $var1.$isDead = 1; return 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $var1, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr); }, nms_EntityMinecartHopper_killMinecart = ($this, $par1DamageSource) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityMinecartContainer_killMinecart($this, $par1DamageSource); if ($rt_suspending()) { break main; } nms_Block_$callClinit(); var$2 = nms_Block_hopperBlock.$blockID; $par1DamageSource = new nms_ItemStack; nms_ItemStack_$callClinit(); $par1DamageSource.$itemID = var$2; $par1DamageSource.$stackSize = 1; $par1DamageSource.$itemDamage = 0; var$3 = new nms_EntityItem; var$4 = $this.$worldObj; var$5 = $this.$posX; var$6 = $this.$posY + 0.0; var$7 = $this.$posZ; $ptr = 2; case 2: nms_EntityItem__init_(var$3, var$4, var$5, var$6, var$7); if ($rt_suspending()) { break main; } var$8 = var$3.$dataWatcher; var$9 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[138]; if (var$4 === null) var$4 = ju_HashMap_findNullKeyEntry(var$9); else { var$2 = jl_Integer_hashCode0(var$4); var$4 = ju_HashMap_findNonNullKeyEntry(var$9, var$4, var$2 & (var$9.$elementData.data.length - 1 | 0), var$2); } var$9 = var$4 === null ? null : var$4.$value1; if (!($par1DamageSource !== var$9.$watchedObject ? 0 : 1)) { var$9.$watchedObject = $par1DamageSource; var$9.$watched = 1; var$8.$objectChanged = 1; } var$4 = var$3.$dataWatcher; $par1DamageSource = var$4.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[138]; if (var$8 === null) $par1DamageSource = ju_HashMap_findNullKeyEntry($par1DamageSource); else { var$2 = jl_Integer_hashCode0(var$8); $par1DamageSource = ju_HashMap_findNonNullKeyEntry($par1DamageSource, var$8, var$2 & ($par1DamageSource.$elementData.data.length - 1 | 0), var$2); } ($par1DamageSource === null ? null : $par1DamageSource.$value1).$watched = 1; var$4.$objectChanged = 1; var$3.$delayBeforeCanPickup = 10; $par1DamageSource = $this.$worldObj; var$10 = nms_World_spawnEntityInWorld($par1DamageSource, var$3); var$4 = $par1DamageSource.$entityList; ju_HashMap_putImpl(var$4.$backingMap, var$3, var$4); if (!var$10) { $par1DamageSource = $par1DamageSource.$entitySpawnQueue; ju_HashMap_putImpl($par1DamageSource.$backingMap, var$3, $par1DamageSource); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityMinecartHopper_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3; nms_EntityMinecartContainer_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$transferTicker; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagInt; $par1NBTTagCompound.$name = $rt_s(3124); $par1NBTTagCompound.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(3124), $par1NBTTagCompound); }, nms_EntityMinecartHopper_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6; a: { nms_EntityMinecartContainer_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3124).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3124).$nativeString.length) break a; $rt_s(3124).$hashCode1 = (31 * $rt_s(3124).$hashCode1 | 0) + $rt_s(3124).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3124).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(3124) !== var$6) { if ($rt_s(3124) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3124).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$4 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(3124) === null) { var$6 = $par1NBTTagCompound.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { c: { if (!$rt_s(3124).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3124).$nativeString.length) break c; $rt_s(3124).$hashCode1 = (31 * $rt_s(3124).$hashCode1 | 0) + $rt_s(3124).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$3 = $rt_s(3124).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$6 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$3) { d: { $par1NBTTagCompound = var$6.$key; if ($rt_s(3124) !== $par1NBTTagCompound) { if ($rt_s(3124) === $par1NBTTagCompound) var$4 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$4 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$4 = $rt_s(3124).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$6 = var$6.$next3; } } var$4 = (var$6 === null ? null : var$6.$value1).$data0; } $this.$transferTicker = var$4; }, nms_EntityList$_clinit_$lambda$_63_21 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_21__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_21__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_21(); nms_EntityList$_clinit_$lambda$_63_21__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_21_apply = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityMinecartHopper; nms_Entity__init_(var$2, var$1); var$2.$preventEntitySpawning = 1; var$3 = 0.9800000190734863; var$4 = 0.699999988079071; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$yOffset = var$2.$height2 / 2.0; if (var$1 === null) var$5 = null; else { var$5 = new nms_SoundUpdaterMinecart; var$1 = var$1.$mc2; var$6 = var$1.$sndManager; var$1 = var$1.$thePlayer; var$5.$theSoundManager = var$6; var$5.$theMinecart = var$2; var$5.$thePlayer0 = var$1; } var$2.$field_82344_g = var$5; var$2.$minecartContainerItems = $rt_createArray(nms_ItemStack, 36); var$2.$dropContentsWhenDead = 1; var$2.$isBlocked = 1; var$2.$transferTicker = (-1); return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntityList$_clinit_$lambda$_63_22 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_22__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_22__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_22(); nms_EntityList$_clinit_$lambda$_63_22__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_22_apply = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityMinecartMobSpawner; nms_Entity__init_(var$2, var$1); var$2.$preventEntitySpawning = 1; var$3 = 0.9800000190734863; var$4 = 0.699999988079071; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$yOffset = var$2.$height2 / 2.0; if (var$1 === null) var$5 = null; else { var$5 = new nms_SoundUpdaterMinecart; var$1 = var$1.$mc2; var$6 = var$1.$sndManager; var$1 = var$1.$thePlayer; var$5.$theSoundManager = var$6; var$5.$theMinecart = var$2; var$5.$thePlayer0 = var$1; } var$2.$field_82344_g = var$5; var$1 = new nms_EntityMinecartMobSpawnerLogic; var$1.$spawnDelay = 20; var$1.$mobID = $rt_s(690); var$1.$minSpawnDelay = 200; var$1.$maxSpawnDelay = 800; var$1.$spawnCount = 4; var$1.$maxNearbyEntities = 6; var$1.$activatingRangeFromPlayer = 16; var$1.$spawnRange = 4; var$1.$spawnerMinecart = var$2; var$2.$mobSpawnerLogic = var$1; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntityList$_clinit_$lambda$_63_23 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_23__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_23__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_23(); nms_EntityList$_clinit_$lambda$_63_23__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_23_apply = (var$0, var$1) => { nms_EntityList_$callClinit(); return nms_EntityCreeper__init_0(var$1); }, nms_EntityList$_clinit_$lambda$_63_24 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_24__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_24__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_24(); nms_EntityList$_clinit_$lambda$_63_24__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_24_apply = (var$0, var$1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntitySkeleton; $ptr = 1; case 1: nms_EntitySkeleton__init_(var$2, var$1); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, $ptr); }, nms_EntityList$_clinit_$lambda$_63_25 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_25__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_25__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_25(); nms_EntityList$_clinit_$lambda$_63_25__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_25_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntitySpider; nms_EntityCreature_$callClinit(); nms_EntityLiving__init_(var$2, var$1); var$1 = new nms_ChunkCoordinates; var$1.$posX0 = 0; var$1.$posY0 = 0; var$1.$posZ0 = 0; var$2.$homePosition = var$1; var$2.$maximumHomeDistance = (-1.0); var$1 = new nms_EntityAIMoveTowardsRestriction; var$1.$theEntity0 = var$2; var$1.$movementSpeed = 1.0; var$1.$mutexBits = 1; var$2.$field_110178_bs = var$1; var$2.$experienceValue = 5; var$3 = 1.399999976158142; var$4 = 0.8999999761581421; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_26 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_26__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_26__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_26(); nms_EntityList$_clinit_$lambda$_63_26__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_26_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityGiantZombie; nms_EntityCreature_$callClinit(); nms_EntityLiving__init_(var$2, var$1); var$1 = new nms_ChunkCoordinates; var$1.$posX0 = 0; var$1.$posY0 = 0; var$1.$posZ0 = 0; var$2.$homePosition = var$1; var$2.$maximumHomeDistance = (-1.0); var$1 = new nms_EntityAIMoveTowardsRestriction; var$1.$theEntity0 = var$2; var$1.$movementSpeed = 1.0; var$1.$mutexBits = 1; var$2.$field_110178_bs = var$1; var$2.$experienceValue = 5; var$2.$yOffset = var$2.$yOffset * 6.0; var$3 = var$2.$width1 * 6.0; var$4 = var$2.$height2 * 6.0; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_27 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_27__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_27__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_27(); nms_EntityList$_clinit_$lambda$_63_27__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_27_apply = (var$0, var$1) => { nms_EntityList_$callClinit(); return nms_EntityZombie__init_(var$1); }, nms_EntityList$_clinit_$lambda$_63_28 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_28__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_28__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_28(); nms_EntityList$_clinit_$lambda$_63_28__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_28_apply = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntitySlime; nms_EntityLiving__init_(var$2, var$1); var$1 = var$2.$rand; var$3 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 3 | 0; if (((var$4 - var$5 | 0) + 2 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } var$6 = 1 << var$5; var$2.$yOffset = 0.0; var$3 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 20 | 0; if (((var$4 - var$5 | 0) + 19 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } var$2.$slimeJumpDelay = var$5 + 10 | 0; $ptr = 1; case 1: nms_EntitySlime_setSlimeSize(var$2, var$6); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntityList$_clinit_$lambda$_63_29 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_29__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_29__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_29(); nms_EntityList$_clinit_$lambda$_63_29__init_(var_0); return var_0; }; let nms_EntityList$_clinit_$lambda$_63_29_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityGhast; nms_EntityLiving__init_(var$2, var$1); var$2.$explosionStrength = 1; var$3 = 4.0; var$4 = 4.0; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$isImmuneToFire = 1; var$2.$experienceValue = 5; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }; function nms_EntityPigZombie() { let a = this; nms_EntityZombie.call(a); a.$angerLevel = 0; a.$randomSoundDelay = 0; a.$field_110191_bu = null; } let nms_EntityPigZombie_field_110189_bq = null, nms_EntityPigZombie_field_110190_br = null, nms_EntityPigZombie_$callClinit = () => { nms_EntityPigZombie_$callClinit = $rt_eraseClinit(nms_EntityPigZombie); nms_EntityPigZombie__clinit_(); }, nms_EntityPigZombie_applyEntityAttributes = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; nms_EntityZombie_applyEntityAttributes($this); var$1 = nms_EntityZombie_field_110186_bp; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (0.0 !== var$3.$baseValue) { var$3.$baseValue = 0.0; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break b; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$3 = var$2 === null ? null : var$2.$value1; if (0.5 !== var$3.$baseValue) { var$3.$baseValue = 0.5; var$3.$field_111133_g = 1; var$1 = var$3.$field_111138_a; if (var$3.$field_111136_b.$shouldWatch) { var$1 = var$1.$field_111162_d; ju_HashMap_putImpl(var$1.$backingMap, var$3, var$1); } } var$1 = nms_SharedMonsterAttributes_attackDamage; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break c; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$1 = var$2 === null ? null : var$2.$value1; if (5.0 !== var$1.$baseValue) { var$1.$baseValue = 5.0; var$1.$field_111133_g = 1; var$2 = var$1.$field_111138_a; if (var$1.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, var$1, var$2); } } }, nms_EntityPigZombie_isAIEnabled = $this => { return 0; }, nms_EntityPigZombie_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$field_110191_bu !== $this.$entityToAttack && !$this.$worldObj.$isRemote) { var$1 = nms_SharedMonsterAttributes_movementSpeed; if ($this.$attributeMap === null) $this.$attributeMap = nms_ServersideAttributeMap__init_(); var$2 = $this.$attributeMap.$attributes; if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { var$3 = var$1.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$2.$elementData.data; var$2 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$5) { var$3 = var$2.$key; if (var$1 !== var$3 && !jl_Object_equals(var$1, var$3) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; nms_EntityPigZombie_$callClinit(); nms_ModifiableAttributeInstance_removeModifier(var$2, nms_EntityPigZombie_field_110190_br); if ($this.$entityToAttack !== null) nms_ModifiableAttributeInstance_applyModifier(var$2, nms_EntityPigZombie_field_110190_br); } $this.$field_110191_bu = $this.$entityToAttack; var$4 = $this.$randomSoundDelay; if (var$4 > 0) { var$7 = var$4 - 1 | 0; $this.$randomSoundDelay = var$7; if (!var$7) { var$2 = $this.$rand; var$8 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 24)) / 1.6777216E7; var$10 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$10; var$11 = ((var$9 - Long_lo(Long_shru(var$10, 24)) / 1.6777216E7) * 0.20000000298023224 + 1.0) * 1.7999999523162842; nms_World_playSoundAtEntity($this.$worldObj, $this, $rt_s(566), 2.0, var$11); } } if (!$this.$worldObj.$isRemote) { var$1 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[142]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$5 = var$3.$value0; var$6 = var$1.$elementData.data; var$1 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$5) { var$2 = var$1.$key; if (var$3 !== var$2 && !jl_Integer_equals(var$3, var$2) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (var$1.$watchedObject.$value2 != 1 ? 0 : 1) { var$7 = nms_EntityZombie_getConversionTimeBoost($this); var$7 = $this.$conversionTime - var$7 | 0; $this.$conversionTime = var$7; if (var$7 <= 0) { $ptr = 3; continue main; } } } $ptr = 1; case 1: nms_EntityLivingBase_onUpdate($this); if ($rt_suspending()) { break main; } if ($this.$worldObj.$isRemote) { var$1 = $this.$worldObj; if (!var$1.$isRemote && !var$1.$difficultySetting) $this.$isDead = 1; return; } $ptr = 2; case 2: nms_EntityCreature_func_110159_bB($this); if ($rt_suspending()) { break main; } var$1 = $this.$worldObj; if (!var$1.$isRemote && !var$1.$difficultySetting) $this.$isDead = 1; return; case 3: nms_EntityZombie_convertToVillager($this); if ($rt_suspending()) { break main; } $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntityPigZombie_getCanSpawnHere = $this => { let var$1, var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj; if (var$1.$difficultySetting > 0 && nms_World_checkNoEntityCollision(var$1, $this.$boundingBox, null)) { var$1 = $this.$worldObj; var$2 = $this.$boundingBox; $ptr = 1; continue main; } return 0; case 1: $tmp = nms_World_getCollidingBoundingBoxes(var$1, $this, var$2); if ($rt_suspending()) { break main; } var$1 = $tmp; var$3 = var$1.$size0 ? 0 : 1; return var$3 && !nms_World_isAnyLiquid($this.$worldObj, $this.$boundingBox) ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); }, nms_EntityPigZombie_writeEntityToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_EntityLiving_writeEntityToNBT($this, $par1NBTTagCompound); var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[140]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$watchedObject.$value2 != 1 ? 0 : 1) { var$6 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1977); var$3.$data = 1; ju_HashMap_putImpl(var$6, $rt_s(1977), var$3); } var$2 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[141]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$watchedObject.$value2 != 1 ? 0 : 1) { var$6 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1978); var$3.$data = 1; ju_HashMap_putImpl(var$6, $rt_s(1978), var$3); } var$3 = $this.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[142]; if (var$7 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$8 = var$7.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$8) { var$6 = var$3.$key; if (var$7 !== var$6 && !jl_Integer_equals(var$7, var$6) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; var$4 = !(var$3.$watchedObject.$value2 != 1 ? 0 : 1) ? (-1) : $this.$conversionTime; var$6 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagInt; var$3.$name = $rt_s(1979); var$3.$data0 = var$4; ju_HashMap_putImpl(var$6, $rt_s(1979), var$3); var$4 = $this.$angerLevel << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagShort; $par1NBTTagCompound.$name = $rt_s(3125); $par1NBTTagCompound.$data2 = var$4; ju_HashMap_putImpl(var$3, $rt_s(3125), $par1NBTTagCompound); }, nms_EntityPigZombie_readEntityFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6; a: { nms_EntityZombie_readEntityFromNBT($this, $par1NBTTagCompound); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3125).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3125).$nativeString.length) break a; $rt_s(3125).$hashCode1 = (31 * $rt_s(3125).$hashCode1 | 0) + $rt_s(3125).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3125).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(3125) !== var$6) { if ($rt_s(3125) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3125).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$4 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(3125) === null) { var$6 = $par1NBTTagCompound.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { c: { if (!$rt_s(3125).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3125).$nativeString.length) break c; $rt_s(3125).$hashCode1 = (31 * $rt_s(3125).$hashCode1 | 0) + $rt_s(3125).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$3 = $rt_s(3125).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$6 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$3) { d: { $par1NBTTagCompound = var$6.$key; if ($rt_s(3125) !== $par1NBTTagCompound) { if ($rt_s(3125) === $par1NBTTagCompound) var$4 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$4 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$4 = $rt_s(3125).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$6 = var$6.$next3; } } var$4 = (var$6 === null ? null : var$6.$value1).$data2; } $this.$angerLevel = var$4; }, nms_EntityPigZombie_findPlayerToAttack = $this => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$angerLevel) var$1 = null; else { var$1 = nms_World_getClosestVulnerablePlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 16.0); if (var$1 !== null) { $ptr = 1; continue main; } var$1 = null; } return var$1; case 1: $tmp = nms_EntityLivingBase_canEntityBeSeen($this, var$1); if ($rt_suspending()) { break main; } var$2 = $tmp; if (!var$2) var$1 = null; return var$1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); }, nms_EntityPigZombie_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let $var3, var$4, $var6, var$6, var$7, var$8, var$9, var$10, var$11, $var7, var$13, var$14, var$15, $var4, var$17, $var5, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var5 = $thread.pop();var$17 = $thread.pop();$var4 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var7 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var6 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; a: { $var3 = $par1DamageSource.$getEntity(); if ($var3 instanceof nms_EntityPlayer) { var$4 = $this.$worldObj; $var6 = $this.$boundingBox; var$6 = $var6.$minX - 32.0; var$7 = $var6.$minY - 32.0; var$8 = $var6.$minZ - 32.0; var$9 = $var6.$maxX + 32.0; var$10 = $var6.$maxY + 32.0; var$11 = $var6.$maxZ + 32.0; $var7 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$13 = $var7.$nextPoolIndex; $var6 = $var7.$listAABB; var$14 = $var6.$size0; var$15 = $rt_compare(var$13, var$14); if (var$15 >= 0) { $var4 = new nms_AxisAlignedBB; $var4.$minX = var$6; $var4.$minY = var$7; $var4.$minZ = var$8; $var4.$maxX = var$9; $var4.$maxY = var$10; $var4.$maxZ = var$11; ju_ArrayList_ensureCapacity($var6, var$14 + 1 | 0); var$17 = $var6.$array.data; var$14 = $var6.$size0; $var6.$size0 = var$14 + 1 | 0; var$17[var$14] = $var4; $var6.$modCount = $var6.$modCount + 1 | 0; } else if (var$13 >= 0 && var$15 < 0) { $var4 = $var6.$array.data[var$13]; $var4.$minX = var$6; $var4.$minY = var$7; $var4.$minZ = var$8; $var4.$maxX = var$9; $var4.$maxY = var$10; $var4.$maxZ = var$11; } else { $par1DamageSource = new jl_IndexOutOfBoundsException; $par1DamageSource.$suppressionEnabled = 1; $par1DamageSource.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1DamageSource); $rt_throw($par1DamageSource); } $var7.$nextPoolIndex = $var7.$nextPoolIndex + 1 | 0; $var4 = nms_World_getEntitiesWithinAABBExcludingEntity(var$4, $this, $var4, null); $var5 = 0; while (true) { var$15 = $rt_compare($var5, $var4.$size0); if (var$15 >= 0) { $this.$entityToAttack = $var3; $var6 = $this.$rand; var$19 = Long_and(Long_add(Long_mul($var6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6.$seed = var$19; $var5 = Long_lo(Long_shru(var$19, 17)); while (true) { var$20 = $var5 % 400 | 0; if ((($var5 - var$20 | 0) + 399 | 0) >= 0) break; var$19 = Long_and(Long_add(Long_mul($var6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6.$seed = var$19; $var5 = Long_lo(Long_shru(var$19, 17)); } $this.$angerLevel = 400 + var$20 | 0; var$19 = Long_and(Long_add(Long_mul($var6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6.$seed = var$19; var$14 = Long_lo(Long_shru(var$19, 17)); while (true) { var$13 = var$14 % 40 | 0; if (((var$14 - var$13 | 0) + 39 | 0) >= 0) break; var$19 = Long_and(Long_add(Long_mul($var6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6.$seed = var$19; var$14 = Long_lo(Long_shru(var$19, 17)); } $this.$randomSoundDelay = var$13; break a; } if ($var5 < 0) break; if (var$15 >= 0) break; $var6 = $var4.$array.data[$var5]; if ($var6 instanceof nms_EntityPigZombie) { $var7 = $var6; $var7.$entityToAttack = $var3; $var6 = $var7.$rand; var$19 = Long_and(Long_add(Long_mul($var6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6.$seed = var$19; var$20 = Long_lo(Long_shru(var$19, 17)); while (true) { var$21 = var$20 % 400 | 0; if (((var$20 - var$21 | 0) + 399 | 0) >= 0) break; var$19 = Long_and(Long_add(Long_mul($var6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6.$seed = var$19; var$20 = Long_lo(Long_shru(var$19, 17)); } $var7.$angerLevel = 400 + var$21 | 0; var$19 = Long_and(Long_add(Long_mul($var6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6.$seed = var$19; var$14 = Long_lo(Long_shru(var$19, 17)); while (true) { var$15 = var$14 % 40 | 0; if (((var$14 - var$15 | 0) + 39 | 0) >= 0) break; var$19 = Long_and(Long_add(Long_mul($var6.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var6.$seed = var$19; var$14 = Long_lo(Long_shru(var$19, 17)); } $var7.$randomSoundDelay = var$15; } $var5 = $var5 + 1 | 0; } $par1DamageSource = new jl_IndexOutOfBoundsException; $par1DamageSource.$suppressionEnabled = 1; $par1DamageSource.$writableStackTrace = 1; $rt_throw($par1DamageSource); } } $ptr = 1; case 1: $tmp = nms_EntityZombie_attackEntityFrom($this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } var$15 = $tmp; return var$15; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, $var3, var$4, $var6, var$6, var$7, var$8, var$9, var$10, var$11, $var7, var$13, var$14, var$15, $var4, var$17, $var5, var$19, var$20, var$21, $ptr); }, nms_EntityPigZombie_getLivingSound = $this => { return $rt_s(564); }, nms_EntityPigZombie_getHurtSound = $this => { return $rt_s(3126); }, nms_EntityPigZombie_getDeathSound = $this => { return $rt_s(3127); }, nms_EntityPigZombie_dropFewItems = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, $var3, $var4, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$rand; $par1 = 2 + $par2 | 0; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = 17; $par2 = Long_lo(Long_shru(var$4, var$5)); var$6 = $par1 - 1 | 0; var$7 = $par1 & var$6; if (!var$7) $var3 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($par2)), 31)); else while (true) { $var3 = $par2 % $par1 | 0; if ((($par2 - $var3 | 0) + var$6 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); } $var4 = 0; var$10 = 0.0; var$11 = 138; if ($var4 < $var3) { nms_Item_$callClinit(); $par2 = nms_Item_rottenFlesh.$itemID0; var$12 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$12.$itemID = $par2; var$12.$stackSize = 1; var$12.$itemDamage = 0; var$13 = new nms_EntityItem; var$3 = $this.$worldObj; var$14 = $this.$posX; var$15 = $this.$posY + var$10; var$16 = $this.$posZ; $ptr = 1; continue main; } var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); if (!var$7) $var4 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($par2)), 31)); else while (true) { $var4 = $par2 % $par1 | 0; if ((($par2 - $var4 | 0) + var$6 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); } $par1 = 0; if ($par1 >= $var4) return; nms_Item_$callClinit(); $par2 = nms_Item_goldNugget.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$17 = new nms_EntityItem; var$18 = $this.$worldObj; var$14 = $this.$posX; var$15 = $this.$posY + var$10; var$16 = $this.$posZ; $ptr = 2; continue main; case 1: nms_EntityItem__init_(var$13, var$3, var$14, var$15, var$16); if ($rt_suspending()) { break main; } var$18 = var$13.$dataWatcher; var$3 = var$18.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$11]); var$17 = var$3 === null ? null : var$3.$value1; if (!(var$12 !== var$17.$watchedObject ? 0 : 1)) { var$17.$watchedObject = var$12; var$17.$watched = 1; var$18.$objectChanged = 1; } var$18 = var$13.$dataWatcher; var$3 = var$18.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$11]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$18.$objectChanged = 1; var$13.$delayBeforeCanPickup = 10; var$17 = $this.$worldObj; $par2 = nms_World_spawnEntityInWorld(var$17, var$13); var$18 = var$17.$entityList; ju_HashMap_putImpl(var$18.$backingMap, var$13, var$18); if (!$par2) { var$3 = var$17.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$13, var$3); } $var4 = $var4 + 1 | 0; if ($var4 < $var3) { nms_Item_$callClinit(); $par2 = nms_Item_rottenFlesh.$itemID0; var$12 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$12.$itemID = $par2; var$12.$stackSize = 1; var$12.$itemDamage = 0; var$13 = new nms_EntityItem; var$3 = $this.$worldObj; var$14 = $this.$posX; var$15 = $this.$posY + var$10; var$16 = $this.$posZ; continue main; } var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); if (!var$7) $var4 = Long_lo(Long_shr(Long_mul(Long_fromInt($par1), Long_fromInt($par2)), 31)); else while (true) { $var4 = $par2 % $par1 | 0; if ((($par2 - $var4 | 0) + var$6 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $par2 = Long_lo(Long_shru(var$4, var$5)); } $par1 = 0; if ($par1 >= $var4) return; nms_Item_$callClinit(); $par2 = nms_Item_goldNugget.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$17 = new nms_EntityItem; var$18 = $this.$worldObj; var$14 = $this.$posX; var$15 = $this.$posY + var$10; var$16 = $this.$posZ; $ptr = 2; case 2: nms_EntityItem__init_(var$17, var$18, var$14, var$15, var$16); if ($rt_suspending()) { break main; } var$12 = var$17.$dataWatcher; var$18 = var$12.$watchedObjects; jl_Integer_ensureIntegerCache(); var$18 = ju_HashMap_entryByKey(var$18, jl_Integer_integerCache.data[var$11]); var$13 = var$18 === null ? null : var$18.$value1; if (!(var$3 !== var$13.$watchedObject ? 0 : 1)) { var$13.$watchedObject = var$3; var$13.$watched = 1; var$12.$objectChanged = 1; } var$13 = var$17.$dataWatcher; var$3 = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[var$11]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$13.$objectChanged = 1; var$17.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par2 = nms_World_spawnEntityInWorld(var$3, var$17); var$18 = var$3.$entityList; ju_HashMap_putImpl(var$18.$backingMap, var$17, var$18); if (!$par2) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$17, var$3); } $par1 = $par1 + 1 | 0; if ($par1 >= $var4) return; nms_Item_$callClinit(); $par2 = nms_Item_goldNugget.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = $par2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$17 = new nms_EntityItem; var$18 = $this.$worldObj; var$14 = $this.$posX; var$15 = $this.$posY + var$10; var$16 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, $var3, $var4, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityPigZombie_interact = ($this, $par1EntityPlayer) => { return 0; }, nms_EntityPigZombie_dropRareDrop = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Item_$callClinit(); var$2 = nms_Item_ingotGold.$itemID0; var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = var$2; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$4 = new nms_EntityItem; var$5 = $this.$worldObj; var$6 = $this.$posX; var$7 = $this.$posY + 0.0; var$8 = $this.$posZ; $ptr = 1; case 1: nms_EntityItem__init_(var$4, var$5, var$6, var$7, var$8); if ($rt_suspending()) { break main; } var$9 = var$4.$dataWatcher; var$5 = var$9.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = ju_HashMap_entryByKey(var$5, jl_Integer_integerCache.data[138]); var$10 = var$5 === null ? null : var$5.$value1; if (!(var$3 !== var$10.$watchedObject ? 0 : 1)) { var$10.$watchedObject = var$3; var$10.$watched = 1; var$9.$objectChanged = 1; } var$5 = var$4.$dataWatcher; var$3 = var$5.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = ju_HashMap_entryByKey(var$3, jl_Integer_integerCache.data[138]); (var$3 === null ? null : var$3.$value1).$watched = 1; var$5.$objectChanged = 1; var$4.$delayBeforeCanPickup = 10; var$3 = $this.$worldObj; $par1 = nms_World_spawnEntityInWorld(var$3, var$4); var$5 = var$3.$entityList; ju_HashMap_putImpl(var$5.$backingMap, var$4, var$5); if (!$par1) { var$3 = var$3.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$4, var$3); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityPigZombie_getDropItemId = $this => { nms_Item_$callClinit(); return nms_Item_rottenFlesh.$itemID0; }, nms_EntityPigZombie_addRandomArmor = $this => { let var$1, var$2; var$1 = new nms_ItemStack; nms_Item_$callClinit(); var$2 = nms_Item_swordGold; nms_ItemStack_$callClinit(); var$1.$itemID = var$2.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; $this.$equipment.data[0] = var$1; }, nms_EntityPigZombie_onSpawnWithEgg = ($this, $par1EntityLivingData) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityLivingData = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityZombie_onSpawnWithEgg($this, $par1EntityLivingData); if ($rt_suspending()) { break main; } var$2 = $this.$dataWatcher; var$3 = jl_Byte_byteCache.data[128]; var$4 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[141]; if (var$5 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$5.$value0; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$5 = var$4 === null ? null : var$4.$value1; var$4 = var$5.$watchedObject; if (!(var$4 instanceof jl_Byte && var$4.$value2 == var$3.$value2 ? 1 : 0)) { var$5.$watchedObject = var$3; var$5.$watched = 1; var$2.$objectChanged = 1; } return $par1EntityLivingData; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingData, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityPigZombie__clinit_ = () => { let var$1, var$2, var$3; var$1 = nle_ProfileUUID_fromString($rt_s(3128)); nms_EntityPigZombie_field_110189_bq = var$1; var$2 = new nms_AttributeModifier; var$2.$isSaved = 1; var$2.$id2 = var$1; var$2.$name3 = $rt_s(1943); var$2.$amount = 0.45; var$2.$operation = 0; if ($rt_s(1943) === $rt_s(18)) var$3 = 1; else if (!($rt_s(18) instanceof jl_String)) var$3 = 0; else { var$1 = $rt_s(18); var$3 = $rt_s(1943).$nativeString !== var$1.$nativeString ? 0 : 1; } if (!var$3) { var$2.$isSaved = 0; nms_EntityPigZombie_field_110190_br = var$2; return; } var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(1292); $rt_throw(var$1); }, nms_EntityList$_clinit_$lambda$_63_30 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_30__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_30__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_30(); nms_EntityList$_clinit_$lambda$_63_30__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_30_apply = (var$0, var$1) => { let var$2; nms_EntityList_$callClinit(); var$2 = new nms_EntityPigZombie; nms_EntityPigZombie_$callClinit(); nms_EntityZombie__init_0(var$2, var$1); var$2.$isImmuneToFire = 1; return var$2; }, nms_EntityList$_clinit_$lambda$_63_31 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_31__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_31__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_31(); nms_EntityList$_clinit_$lambda$_63_31__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_31_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityEnderman; nms_EntityEnderman_$callClinit(); nms_EntityCreature_$callClinit(); nms_EntityLiving__init_(var$2, var$1); var$1 = new nms_ChunkCoordinates; var$1.$posX0 = 0; var$1.$posY0 = 0; var$1.$posZ0 = 0; var$2.$homePosition = var$1; var$2.$maximumHomeDistance = (-1.0); var$1 = new nms_EntityAIMoveTowardsRestriction; var$1.$theEntity0 = var$2; var$1.$movementSpeed = 1.0; var$1.$mutexBits = 1; var$2.$field_110178_bs = var$1; var$2.$experienceValue = 5; var$3 = 0.6000000238418579; var$4 = 2.9000000953674316; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$stepHeight = 1.0; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_32 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_32__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_32__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_32(); nms_EntityList$_clinit_$lambda$_63_32__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_32_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityCaveSpider; nms_EntityCreature_$callClinit(); nms_EntityLiving__init_(var$2, var$1); var$1 = new nms_ChunkCoordinates; var$1.$posX0 = 0; var$1.$posY0 = 0; var$1.$posZ0 = 0; var$2.$homePosition = var$1; var$2.$maximumHomeDistance = (-1.0); var$1 = new nms_EntityAIMoveTowardsRestriction; jl_Object__init_(var$1); var$1.$theEntity0 = var$2; var$1.$movementSpeed = 1.0; var$1.$mutexBits = 1; var$2.$field_110178_bs = var$1; var$2.$experienceValue = 5; var$3 = 1.399999976158142; var$4 = 0.8999999761581421; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$3 = 0.699999988079071; var$4 = 0.5; $ptr = 2; case 2: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_33 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_33__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_33__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_33(); nms_EntityList$_clinit_$lambda$_63_33__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_33_apply = (var$0, var$1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntitySilverfish; nms_EntityCreature_$callClinit(); nms_EntityLiving__init_(var$2, var$1); var$1 = new nms_ChunkCoordinates; var$1.$posX0 = 0; var$1.$posY0 = 0; var$1.$posZ0 = 0; var$2.$homePosition = var$1; var$2.$maximumHomeDistance = (-1.0); var$1 = new nms_EntityAIMoveTowardsRestriction; var$1.$theEntity0 = var$2; var$1.$movementSpeed = 1.0; var$1.$mutexBits = 1; var$2.$field_110178_bs = var$1; var$2.$experienceValue = 5; var$3 = 0.30000001192092896; var$4 = 0.699999988079071; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityList$_clinit_$lambda$_63_34 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_34__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_34__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_34(); nms_EntityList$_clinit_$lambda$_63_34__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_34_apply = (var$0, var$1) => { let var$2; nms_EntityList_$callClinit(); var$2 = new nms_EntityBlaze; nms_EntityCreature_$callClinit(); nms_EntityLiving__init_(var$2, var$1); var$1 = new nms_ChunkCoordinates; var$1.$posX0 = 0; var$1.$posY0 = 0; var$1.$posZ0 = 0; var$2.$homePosition = var$1; var$2.$maximumHomeDistance = (-1.0); var$1 = new nms_EntityAIMoveTowardsRestriction; var$1.$theEntity0 = var$2; var$1.$movementSpeed = 1.0; var$1.$mutexBits = 1; var$2.$field_110178_bs = var$1; var$2.$experienceValue = 5; var$2.$heightOffset = 0.5; var$2.$isImmuneToFire = 1; var$2.$experienceValue = 10; return var$2; }, nms_EntityList$_clinit_$lambda$_63_35 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_35__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_35__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_35(); nms_EntityList$_clinit_$lambda$_63_35__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_35_apply = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityMagmaCube; nms_EntityLiving__init_(var$2, var$1); var$1 = var$2.$rand; var$3 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 3 | 0; if (((var$4 - var$5 | 0) + 2 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } var$6 = 1 << var$5; var$2.$yOffset = 0.0; var$3 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 20 | 0; if (((var$4 - var$5 | 0) + 19 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } var$2.$slimeJumpDelay = var$5 + 10 | 0; $ptr = 1; case 1: nms_EntitySlime_setSlimeSize(var$2, var$6); if ($rt_suspending()) { break main; } var$2.$isImmuneToFire = 1; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntityList$_clinit_$lambda$_63_36 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_36__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_36__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_36(); nms_EntityList$_clinit_$lambda$_63_36__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_36_apply = (var$0, var$1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityDragon; $ptr = 1; case 1: nms_EntityDragon__init_(var$2, var$1); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, $ptr); }, nms_EntityList$_clinit_$lambda$_63_37 = $rt_classWithoutFields(); let nms_EntityList$_clinit_$lambda$_63_37__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_37__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_37(); nms_EntityList$_clinit_$lambda$_63_37__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_37_apply = (var$0, var$1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityWither; $ptr = 1; case 1: nms_EntityWither__init_(var$2, var$1); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, $ptr); }, nms_EntityList$_clinit_$lambda$_63_38 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_38__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_38__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_38(); nms_EntityList$_clinit_$lambda$_63_38__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_38_apply = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityBat; nms_EntityLiving__init_(var$2, var$1); var$3 = 0.5; var$4 = 0.8999999761581421; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$1 = var$2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) var$1 = ju_HashMap_findNullKeyEntry(var$1); else { var$6 = jl_Integer_hashCode0(var$5); var$1 = ju_HashMap_findNonNullKeyEntry(var$1, var$5, var$6 & (var$1.$elementData.data.length - 1 | 0), var$6); } var$6 = (var$1 === null ? null : var$1.$value1).$watchedObject.$value2; var$1 = var$2.$dataWatcher; var$7 = (var$6 | 1) << 24 >> 24; var$8 = jl_Byte_byteCache.data[var$7 + 128 | 0]; var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) var$5 = ju_HashMap_findNullKeyEntry(var$5); else { var$6 = jl_Integer_hashCode0(var$9); var$5 = ju_HashMap_findNonNullKeyEntry(var$5, var$9, var$6 & (var$5.$elementData.data.length - 1 | 0), var$6); } var$9 = var$5 === null ? null : var$5.$value1; var$5 = var$9.$watchedObject; if (!(var$5 instanceof jl_Byte && var$5.$value2 == var$8.$value2 ? 1 : 0)) { var$9.$watchedObject = var$8; var$9.$watched = 1; var$1.$objectChanged = 1; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_EntityList$_clinit_$lambda$_63_39 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_39__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_39__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_39(); nms_EntityList$_clinit_$lambda$_63_39__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_39_apply = (var$0, var$1) => { nms_EntityList_$callClinit(); return nms_EntityWitch__init_(var$1); }, nms_EntityList$_clinit_$lambda$_63_40 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_40__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_40__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_40(); nms_EntityList$_clinit_$lambda$_63_40__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_40_apply = (var$0, var$1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityPig; $ptr = 1; case 1: nms_EntityPig__init_(var$2, var$1); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, $ptr); }, nms_EntityList$_clinit_$lambda$_63_41 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_41__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_41__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_41(); nms_EntityList$_clinit_$lambda$_63_41__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_41_apply = (var$0, var$1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntitySheep; $ptr = 1; case 1: nms_EntitySheep__init_(var$2, var$1); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, $ptr); }, nms_EntityList$_clinit_$lambda$_63_42 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_42__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_42__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_42(); nms_EntityList$_clinit_$lambda$_63_42__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_42_apply = (var$0, var$1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityCow; $ptr = 1; case 1: nms_EntityCow__init_(var$2, var$1); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, $ptr); }, nms_EntityList$_clinit_$lambda$_63_43 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_43__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_43__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_43(); nms_EntityList$_clinit_$lambda$_63_43__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_43_apply = (var$0, var$1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityChicken; $ptr = 1; case 1: nms_EntityChicken__init_(var$2, var$1); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, $ptr); }, nms_EntityList$_clinit_$lambda$_63_44 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_44__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_44__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_44(); nms_EntityList$_clinit_$lambda$_63_44__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_44_apply = (var$0, var$1) => { let var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntitySquid; nms_EntityCreature_$callClinit(); nms_EntityLiving__init_(var$2, var$1); var$1 = new nms_ChunkCoordinates; var$1.$posX0 = 0; var$1.$posY0 = 0; var$1.$posZ0 = 0; var$2.$homePosition = var$1; var$2.$maximumHomeDistance = (-1.0); var$1 = new nms_EntityAIMoveTowardsRestriction; var$1.$theEntity0 = var$2; var$1.$movementSpeed = 1.0; var$1.$mutexBits = 1; var$2.$field_110178_bs = var$1; var$3 = 0.949999988079071; var$4 = 0.949999988079071; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$1 = var$2.$rand; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$2.$rotationVelocity = 1.0 / (Long_lo(Long_shru(var$5, 24)) / 1.6777216E7 + 1.0) * 0.20000000298023224; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, var$5, $ptr); }, nms_EntityList$_clinit_$lambda$_63_45 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_45__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_45__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_45(); nms_EntityList$_clinit_$lambda$_63_45__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_45_apply = (var$0, var$1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityWolf; $ptr = 1; case 1: nms_EntityWolf__init_(var$2, var$1); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, $ptr); }, nms_EntityList$_clinit_$lambda$_63_46 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_46__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_46__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_46(); nms_EntityList$_clinit_$lambda$_63_46__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_46_apply = (var$0, var$1) => { let var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityMooshroom; $ptr = 1; case 1: nms_EntityCow__init_(var$2, var$1); if ($rt_suspending()) { break main; } var$3 = var$2.$field_98056_d <= 0.0 ? 0 : 1; var$2.$field_98056_d = 0.8999999761581421; var$2.$field_98057_e = 1.2999999523162842; if (var$3) return var$2; var$4 = 0.8999999761581421; var$5 = 1.2999999523162842; $ptr = 2; case 2: nms_Entity_setSize(var$2, var$4, var$5); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, var$5, $ptr); }, nms_EntityList$_clinit_$lambda$_63_47 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_47__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_47__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_47(); nms_EntityList$_clinit_$lambda$_63_47__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_47_apply = (var$0, var$1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntitySnowman; $ptr = 1; case 1: nms_EntitySnowman__init_(var$2, var$1); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, $ptr); }, nms_EntityList$_clinit_$lambda$_63_48 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_48__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_48__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_48(); nms_EntityList$_clinit_$lambda$_63_48__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_48_apply = (var$0, var$1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityOcelot; $ptr = 1; case 1: nms_EntityOcelot__init_(var$2, var$1); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, $ptr); }, nms_EntityList$_clinit_$lambda$_63_49 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_49__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_49__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_49(); nms_EntityList$_clinit_$lambda$_63_49__init_(var_0); return var_0; }; let nms_EntityList$_clinit_$lambda$_63_49_apply = (var$0, var$1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityIronGolem; $ptr = 1; case 1: nms_EntityIronGolem__init_(var$2, var$1); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, $ptr); }, nms_EntityList$_clinit_$lambda$_63_50 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_50__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_50__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_50(); nms_EntityList$_clinit_$lambda$_63_50__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_50_apply = (var$0, var$1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityHorse; $ptr = 1; case 1: nms_EntityHorse__init_(var$2, var$1); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, $ptr); }, nms_EntityList$_clinit_$lambda$_63_51 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_51__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_51__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_51(); nms_EntityList$_clinit_$lambda$_63_51__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_51_apply = (var$0, var$1) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityVillager; nms_EntityVillager_$callClinit(); var$3 = 0; $ptr = 1; case 1: nms_EntityVillager__init_(var$2, var$1, var$3); if ($rt_suspending()) { break main; } return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, $ptr); }, nms_EntityList$_clinit_$lambda$_63_52 = $rt_classWithoutFields(), nms_EntityList$_clinit_$lambda$_63_52__init_ = var$0 => { return; }, nms_EntityList$_clinit_$lambda$_63_52__init_0 = () => { let var_0 = new nms_EntityList$_clinit_$lambda$_63_52(); nms_EntityList$_clinit_$lambda$_63_52__init_(var_0); return var_0; }, nms_EntityList$_clinit_$lambda$_63_52_apply = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityList_$callClinit(); var$2 = new nms_EntityEnderCrystal; nms_Entity__init_(var$2, var$1); var$2.$preventEntitySpawning = 1; var$3 = 2.0; var$4 = 2.0; $ptr = 1; case 1: nms_Entity_setSize(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$yOffset = var$2.$height2 / 2.0; var$2.$health0 = 5; var$1 = var$2.$rand; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); while (true) { var$7 = var$6 % 100000 | 0; if (((var$6 - var$7 | 0) + 99999 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$5; var$6 = Long_lo(Long_shru(var$5, 17)); } var$2.$innerRotation = var$7; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }, jlr_Reference = $rt_classWithoutFields(); function jlr_WeakReference() { jlr_Reference.call(this); this.$value13 = null; } let jlr_WeakReference__init_ = (var$0, var$1, var$2) => { let supported = typeof WeakRef !== 'undefined'; let value = supported && var$1 !== null ? new WeakRef(var$1) : var$1; var$0.$value13 = value; if (var$2 !== null && supported && var$1 !== null) { let registry = var$2.$registry; if (registry !== null) { registry.register(var$1, var$0); } } }, jlr_WeakReference__init_0 = (var_0, var_1) => { let var_2 = new jlr_WeakReference(); jlr_WeakReference__init_(var_2, var_0, var_1); return var_2; }, jlr_WeakReference_get = var$0 => { let value = var$0.$value13; if (typeof WeakRef !== 'undefined') { if (value === null) { return null; } let result = value.deref(); return typeof result !== 'undefined' ? result : null; } return value; }; function ju_WeakHashMap$Entry() { let a = this; jlr_WeakReference.call(a); a.$hash0 = 0; a.$isNull = 0; a.$value12 = null; a.$next7 = null; } let jn_FloatBufferImpl = $rt_classWithoutFields(jn_FloatBuffer), jn_FloatBufferImpl_get0 = var$0 => { let var$1, var$2; var$1 = var$0.$position0; if (var$1 < var$0.$limit0) { var$0.$position0 = var$1 + 1 | 0; return var$0.$getElement(var$1); } var$2 = new jn_BufferUnderflowException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, jn_FloatBufferImpl_put = ($this, $b) => { let var$2, var$3; if ($this.$readOnly()) { var$2 = new jn_ReadOnlyBufferException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$3 = $this.$position0; if (var$3 < $this.$limit0) { $this.$position0 = var$3 + 1 | 0; $this.$putElement0(var$3, $b); return $this; } var$2 = new jn_BufferOverflowException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, jn_FloatBufferImpl_get = ($this, $index) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; if ($index >= 0 && $index < $this.$limit0) return $this.$getElement($index); var$2 = new jl_IndexOutOfBoundsException; var$3 = $this.$limit0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(708)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $index, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(602)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$3 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$3, var$3 + 1 | 0); var$5 = var$4.$buffer; var$6 = var$5.data; var$6[var$3] = 41; var$7 = new jl_String; var$3 = var$4.$length0; var$8 = var$6.length; if (var$3 >= 0 && var$3 <= (var$8 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$7; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, jn_FloatBufferImpl_isReadOnly = $this => { return $this.$readOnly(); }; function jn_FloatBufferOverArray() { let a = this; jn_FloatBufferImpl.call(a); a.$readOnly2 = 0; a.$start2 = 0; a.$array3 = null; } let jn_FloatBufferOverArray_getElement = ($this, $index) => { return $this.$array3.data[$index + $this.$start2 | 0]; }, jn_FloatBufferOverArray_putElement = ($this, $index, $value) => { $this.$array3.data[$index + $this.$start2 | 0] = $value; }, jn_FloatBufferOverArray_readOnly = $this => { return $this.$readOnly2; }, nms_IStatType = $rt_classWithoutFields(0), nms_StatTypeSimple = $rt_classWithoutFields(), nms_StatTypeSimple__init_ = $this => { return; }, nms_StatTypeSimple__init_0 = () => { let var_0 = new nms_StatTypeSimple(); nms_StatTypeSimple__init_(var_0); return var_0; }, nms_StatTypeTime = $rt_classWithoutFields(), nms_StatTypeTime__init_ = $this => { return; }, nms_StatTypeTime__init_0 = () => { let var_0 = new nms_StatTypeTime(); nms_StatTypeTime__init_(var_0); return var_0; }, nms_StatTypeDistance = $rt_classWithoutFields(), nms_StatTypeDistance__init_ = $this => { return; }, nms_StatTypeDistance__init_0 = () => { let var_0 = new nms_StatTypeDistance(); nms_StatTypeDistance__init_(var_0); return var_0; }, nms_StatTypeFloat = $rt_classWithoutFields(), nms_StatTypeFloat__init_ = $this => { return; }, nms_StatTypeFloat__init_0 = () => { let var_0 = new nms_StatTypeFloat(); nms_StatTypeFloat__init_(var_0); return var_0; }; function nlegv_Vector2f() { let a = this; nlegv_Vector.call(a); a.$x3 = 0.0; a.$y2 = 0.0; } let nlegv_Vector2f__init_ = $this => { return; }, nlegv_Vector2f__init_0 = () => { let var_0 = new nlegv_Vector2f(); nlegv_Vector2f__init_(var_0); return var_0; }, nleg_StreamBuffer$IStreamBufferInitializer = $rt_classWithoutFields(0); function nleg_FixedFunctionShader$_init_$lambda$_2_0() { jl_Object.call(this); this.$_00 = null; } function jl_Byte() { jl_Number.call(this); this.$value2 = 0; } let jl_Byte_TYPE = null, jl_Byte_byteCache = null, jl_Byte_intValue = $this => { return $this.$value2; }, jl_Byte_longValue = $this => { return Long_fromInt($this.$value2); }, jl_Byte_doubleValue = $this => { return $this.$value2; }, jl_Byte_valueOf = $i => { return jl_Byte_byteCache.data[$i + 128 | 0]; }, jl_Byte_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$value2; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$2); $rt_throw(var$2); }, jl_Byte_equals = ($this, $other) => { return $other instanceof jl_Byte && $other.$value2 == $this.$value2 ? 1 : 0; }, jl_Byte_hashCode = $this => { return $this.$value2; }, jl_Byte_compareTo = ($this, var$1) => { var$1 = var$1; return $this.$value2 - var$1.$value2 | 0; }, jl_Byte__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; jl_Byte_TYPE = $rt_cls($rt_bytecls); var$1 = $rt_createArray(jl_Byte, 256); var$2 = var$1.data; var$3 = 0; var$4 = var$2.length; while (var$3 < var$4) { var$5 = new jl_Byte; var$5.$value2 = (var$3 - 128 | 0) << 24 >> 24; var$2[var$3] = var$5; var$3 = var$3 + 1 | 0; } jl_Byte_byteCache = var$1; }; function jl_Short() { jl_Number.call(this); this.$value8 = 0; } let jl_Short_TYPE = null, jl_Short_shortCache = null, jl_Short_intValue = $this => { return $this.$value8; }, jl_Short_longValue = $this => { return Long_fromInt($this.$value8); }, jl_Short_doubleValue = $this => { return $this.$value8; }, jl_Short_ensureShortCache = () => { let var$1, var$2, $j, var$4, var$5; a: { if (jl_Short_shortCache === null) { var$1 = $rt_createArray(jl_Short, 256); var$2 = var$1.data; jl_Short_shortCache = var$1; $j = 0; var$4 = var$2.length; while (true) { if ($j >= var$4) break a; var$5 = new jl_Short; var$5.$value8 = ($j - 128 | 0) << 16 >> 16; var$2[$j] = var$5; $j = $j + 1 | 0; } } } }, jl_Short_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$value8; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10); var$3 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$3; } var$2 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$2); $rt_throw(var$2); }, jl_Short_equals = ($this, $other) => { return $other instanceof jl_Short && $other.$value8 == $this.$value8 ? 1 : 0; }, jl_Short_hashCode = $this => { return $this.$value8; }, jl_Short_compareTo = ($this, var$1) => { var$1 = var$1; return $this.$value8 - var$1.$value8 | 0; }, jl_Short__clinit_ = () => { jl_Short_TYPE = $rt_cls($rt_shortcls); }; function nms_ChunkCoordinates() { let a = this; jl_Object.call(a); a.$posX0 = 0; a.$posY0 = 0; a.$posZ0 = 0; } let nms_ChunkCoordinates__init_ = $this => { return; }, nms_ChunkCoordinates__init_0 = () => { let var_0 = new nms_ChunkCoordinates(); nms_ChunkCoordinates__init_(var_0); return var_0; }, nms_ChunkCoordinates_equals = ($this, $par1Obj) => { let $var2; if (!($par1Obj instanceof nms_ChunkCoordinates)) return 0; $var2 = $par1Obj; return $this.$posX0 == $var2.$posX0 && $this.$posY0 == $var2.$posY0 && $this.$posZ0 == $var2.$posZ0 ? 1 : 0; }, nms_ChunkCoordinates_hashCode = $this => { return ($this.$posX0 + $this.$posZ0 | 0) << (8 + $this.$posY0 | 0) << 16; }, nms_ChunkCoordinates_compareTo = ($this, $par1Obj) => { let var$2, var$3; $par1Obj = $par1Obj; var$2 = $this.$posY0; var$3 = $par1Obj.$posY0; if (var$2 != var$3) var$2 = var$2 - var$3 | 0; else { var$2 = $this.$posZ0; var$3 = $par1Obj.$posZ0; var$2 = var$2 != var$3 ? var$2 - var$3 | 0 : $this.$posX0 - $par1Obj.$posX0 | 0; } return var$2; }, nle_JDKBackports = $rt_classWithoutFields(), nle_JDKBackports__init_ = $this => { return; }, nle_JDKBackports__init_0 = () => { let var_0 = new nle_JDKBackports(); nle_JDKBackports__init_(var_0); return var_0; }, nle_JDKBackports_parseLong = ($s, $beginIndex, $endIndex, $radix) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, $negative, $limit, $firstChar, var$15, $multmin, $result, $digit, var$19; if ($beginIndex >= 0) { var$5 = $rt_compare($beginIndex, $endIndex); if (var$5 <= 0 && $endIndex <= $s.$nativeString.length) { var$6 = $rt_compare($radix, 2); if (var$6 < 0) { $s = new jl_NumberFormatException; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(3129)); jl_AbstractStringBuilder_insert0(var$7, var$7.$length0, $radix, 10); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(3130)); var$8 = new jl_String; var$9 = var$7.$buffer; var$10 = var$9.data; $endIndex = var$7.$length0; $radix = var$10.length; if ($endIndex >= 0 && $endIndex <= ($radix - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$9.data, 0, $endIndex); $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $s.$message = var$8; $rt_throw($s); } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($s); $rt_throw($s); } var$11 = $rt_compare($radix, 36); if (var$11 > 0) { $s = new jl_NumberFormatException; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(3129)); jl_AbstractStringBuilder_insert0(var$7, var$7.$length0, $radix, 10); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(3131)); var$8 = new jl_String; var$9 = var$7.$buffer; var$10 = var$9.data; $endIndex = var$7.$length0; $radix = var$10.length; if ($endIndex >= 0 && $endIndex <= ($radix - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$9.data, 0, $endIndex); $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $s.$message = var$8; $rt_throw($s); } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($s); $rt_throw($s); } $negative = 0; $limit = Long_create(1, 2147483648); if (var$5 >= 0) { var$7 = new jl_NumberFormatException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = $rt_s(18); $rt_throw(var$7); } if ($beginIndex >= 0 && $beginIndex < $s.$nativeString.length) { $firstChar = $s.$nativeString.charCodeAt($beginIndex); if ($firstChar < 48) { if ($firstChar == 45) { $negative = 1; $limit = Long_create(0, 2147483648); } else if ($firstChar != 43) { $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $beginIndex = $beginIndex + 1 | 0; } if ($beginIndex >= $endIndex) { $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } var$15 = Long_fromInt($radix); $multmin = Long_div($limit, var$15); $result = Long_ZERO; a: { b: { while ($beginIndex < $endIndex) { if ($beginIndex < 0) break a; if ($beginIndex >= $s.$nativeString.length) break a; var$5 = $s.$nativeString.charCodeAt($beginIndex); if (var$6 >= 0 && var$11 <= 0) { $digit = jl_Character_getNumericValue(var$5); if ($digit >= $radix) $digit = (-1); } else $digit = (-1); if ($digit < 0) break b; if (Long_lt($result, $multmin)) break b; $result = Long_mul($result, var$15); var$19 = Long_fromInt($digit); if (Long_lt($result, Long_add($limit, var$19))) { $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $beginIndex = $beginIndex + 1 | 0; $result = Long_sub($result, var$19); } if (!$negative) $result = Long_neg($result); return $result; } $s = new jl_NumberFormatException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $s = new jl_StringIndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $s = new jl_StringIndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); }, nms_IBehaviorDispenseItem = $rt_classWithoutFields(0), nms_BehaviorDefaultDispenseItem = $rt_classWithoutFields(), nms_BehaviorDefaultDispenseItem__init_ = $this => { return; }, nms_BehaviorDefaultDispenseItem__init_0 = () => { let var_0 = new nms_BehaviorDefaultDispenseItem(); nms_BehaviorDefaultDispenseItem__init_(var_0); return var_0; }; function jt_DecimalFormatSymbols() { let a = this; jl_Object.call(a); a.$locale2 = null; a.$zeroDigit = 0; a.$groupingSeparator = 0; a.$decimalSeparator = 0; a.$perMill = 0; a.$percent = 0; a.$digit = 0; a.$patternSeparator = 0; a.$nan = null; a.$infinity = null; a.$minusSign = 0; a.$monetaryDecimalSeparator = 0; a.$exponentSeparator = null; } let jt_DecimalFormatSymbols__init_ = $this => { ju_Locale_$callClinit(); $this.$locale2 = ju_Locale_defaultLocale; jt_DecimalFormatSymbols_initData($this); }, jt_DecimalFormatSymbols__init_0 = () => { let var_0 = new jt_DecimalFormatSymbols(); jt_DecimalFormatSymbols__init_(var_0); return var_0; }, jt_DecimalFormatSymbols_initData = $this => { let var$1, var$2, var$3, var$4, $data, var$6, var$7, var$8, var$9; var$1 = $this.$locale2; var$2 = var$1.$languageCode; var$3 = var$1.$countryCode; if (otciu_CLDRHelper_$$metadata$$20 === null) otciu_CLDRHelper_$$metadata$$20 = otciu_CLDRHelper_getDecimalDataMap$$create(); var$4 = otciu_CLDRHelper_$$metadata$$20; if (var$3.$nativeString.length ? 0 : 1) var$1 = var$2; else { $data = new jl_StringBuilder; $data.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($data, $data.$length0, var$2 === null ? $rt_s(1) : var$2); var$6 = $data.$length0; jl_AbstractStringBuilder_insertSpace($data, var$6, var$6 + 1 | 0); $data.$buffer.data[var$6] = 45; jl_AbstractStringBuilder_insert($data, $data.$length0, var$3); var$1 = new jl_String; var$7 = $data.$buffer; var$8 = var$7.data; var$6 = $data.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) var$1.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); else { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } $data = var$4.hasOwnProperty($rt_ustr(var$1)) ? var$4[$rt_ustr(var$1)] : var$4.hasOwnProperty($rt_ustr(var$2)) ? var$4[$rt_ustr(var$2)] : var$4.root; $this.$zeroDigit = 48; $this.$groupingSeparator = $data.groupingSeparator & 65535; $this.$decimalSeparator = $data.decimalSeparator & 65535; $this.$perMill = $data.perMille & 65535; $this.$percent = $data.percent & 65535; $this.$digit = 35; $this.$patternSeparator = 59; $this.$nan = ($data.naN !== null ? $rt_str($data.naN) : null); $this.$infinity = ($data.infinity !== null ? $rt_str($data.infinity) : null); $this.$minusSign = $data.minusSign & 65535; $this.$monetaryDecimalSeparator = $data.decimalSeparator & 65535; $this.$exponentSeparator = ($data.exponentSeparator !== null ? $rt_str($data.exponentSeparator) : null); }; function nms_EntityEggInfo() { let a = this; jl_Object.call(a); a.$spawnedID = 0; a.$primaryColor = 0; a.$secondaryColor = 0; } let nms_CreativeTabCombat = $rt_classWithoutFields(nms_CreativeTabs), nms_CreativeTabCombat_getTabIconItemIndex = $this => { nms_Block_$callClinit(); return nms_Block_brick.$blockID; }, nms_CreativeTabBlock = $rt_classWithoutFields(nms_CreativeTabs), nms_CreativeTabBlock_getTabIconItemIndex = $this => { nms_Block_$callClinit(); return nms_Block_plantRed.$blockID; }, nms_CreativeTabDeco = $rt_classWithoutFields(nms_CreativeTabs), nms_CreativeTabDeco_getTabIconItemIndex = $this => { nms_Item_$callClinit(); return nms_Item_redstone.$itemID0; }, nms_CreativeTabRedstone = $rt_classWithoutFields(nms_CreativeTabs), nms_CreativeTabRedstone_getTabIconItemIndex = $this => { nms_Block_$callClinit(); return nms_Block_railPowered.$blockID; }, nms_CreativeTabTransport = $rt_classWithoutFields(nms_CreativeTabs), nms_CreativeTabTransport_getTabIconItemIndex = $this => { nms_Item_$callClinit(); return nms_Item_bucketLava.$itemID0; }, nms_EnumEnchantmentType = $rt_classWithoutFields(jl_Enum), nms_EnumEnchantmentType_all = null, nms_EnumEnchantmentType_armor = null, nms_EnumEnchantmentType_armor_feet = null, nms_EnumEnchantmentType_armor_legs = null, nms_EnumEnchantmentType_armor_torso = null, nms_EnumEnchantmentType_armor_head = null, nms_EnumEnchantmentType_weapon = null, nms_EnumEnchantmentType_digger = null, nms_EnumEnchantmentType_bow = null, nms_EnumEnchantmentType_$VALUES = null, nms_EnumEnchantmentType_canEnchantItem = ($this, $par1Item) => { let var$2; if ($this === nms_EnumEnchantmentType_all) return 1; if (!($par1Item instanceof nms_ItemArmor)) return $par1Item instanceof nms_ItemSword ? ($this !== nms_EnumEnchantmentType_weapon ? 0 : 1) : $par1Item instanceof nms_ItemTool ? ($this !== nms_EnumEnchantmentType_digger ? 0 : 1) : !($par1Item instanceof nms_ItemBow) ? 0 : $this !== nms_EnumEnchantmentType_bow ? 0 : 1; if ($this === nms_EnumEnchantmentType_armor) return 1; var$2 = $par1Item.$armorType; return !var$2 ? ($this !== nms_EnumEnchantmentType_armor_head ? 0 : 1) : var$2 == 2 ? ($this !== nms_EnumEnchantmentType_armor_legs ? 0 : 1) : var$2 == 1 ? ($this !== nms_EnumEnchantmentType_armor_torso ? 0 : 1) : var$2 != 3 ? 0 : $this !== nms_EnumEnchantmentType_armor_feet ? 0 : 1; }, nms_EnumEnchantmentType_$values = () => { let var$1, var$2; var$1 = $rt_createArray(nms_EnumEnchantmentType, 9); var$2 = var$1.data; var$2[0] = nms_EnumEnchantmentType_all; var$2[1] = nms_EnumEnchantmentType_armor; var$2[2] = nms_EnumEnchantmentType_armor_feet; var$2[3] = nms_EnumEnchantmentType_armor_legs; var$2[4] = nms_EnumEnchantmentType_armor_torso; var$2[5] = nms_EnumEnchantmentType_armor_head; var$2[6] = nms_EnumEnchantmentType_weapon; var$2[7] = nms_EnumEnchantmentType_digger; var$2[8] = nms_EnumEnchantmentType_bow; return var$1; }, nms_EnumEnchantmentType__clinit_ = () => { let var$1; var$1 = new nms_EnumEnchantmentType; var$1.$name0 = $rt_s(914); var$1.$ordinal = 0; nms_EnumEnchantmentType_all = var$1; var$1 = new nms_EnumEnchantmentType; var$1.$name0 = $rt_s(3132); var$1.$ordinal = 1; nms_EnumEnchantmentType_armor = var$1; var$1 = new nms_EnumEnchantmentType; var$1.$name0 = $rt_s(3133); var$1.$ordinal = 2; nms_EnumEnchantmentType_armor_feet = var$1; var$1 = new nms_EnumEnchantmentType; var$1.$name0 = $rt_s(3134); var$1.$ordinal = 3; nms_EnumEnchantmentType_armor_legs = var$1; var$1 = new nms_EnumEnchantmentType; var$1.$name0 = $rt_s(3135); var$1.$ordinal = 4; nms_EnumEnchantmentType_armor_torso = var$1; var$1 = new nms_EnumEnchantmentType; var$1.$name0 = $rt_s(3136); var$1.$ordinal = 5; nms_EnumEnchantmentType_armor_head = var$1; var$1 = new nms_EnumEnchantmentType; var$1.$name0 = $rt_s(3137); var$1.$ordinal = 6; nms_EnumEnchantmentType_weapon = var$1; var$1 = new nms_EnumEnchantmentType; var$1.$name0 = $rt_s(3138); var$1.$ordinal = 7; nms_EnumEnchantmentType_digger = var$1; var$1 = new nms_EnumEnchantmentType; var$1.$name0 = $rt_s(2096); var$1.$ordinal = 8; nms_EnumEnchantmentType_bow = var$1; nms_EnumEnchantmentType_$VALUES = nms_EnumEnchantmentType_$values(); }, nms_CreativeTabMisc = $rt_classWithoutFields(nms_CreativeTabs), nms_CreativeTabMisc_getTabIconItemIndex = $this => { nms_Item_$callClinit(); return nms_Item_compass.$itemID0; }, nms_CreativeTabSearch = $rt_classWithoutFields(nms_CreativeTabs), nms_CreativeTabSearch_getTabIconItemIndex = $this => { nms_Item_$callClinit(); return nms_Item_appleRed.$itemID0; }, nms_CreativeTabFood = $rt_classWithoutFields(nms_CreativeTabs), nms_CreativeTabFood_getTabIconItemIndex = $this => { nms_Item_$callClinit(); return nms_Item_axeIron.$itemID0; }, nms_CreativeTabTools = $rt_classWithoutFields(nms_CreativeTabs), nms_CreativeTabTools_getTabIconItemIndex = $this => { nms_Item_$callClinit(); return nms_Item_swordGold.$itemID0; }, nms_CreativeTabBrewing = $rt_classWithoutFields(nms_CreativeTabs), nms_CreativeTabBrewing_getTabIconItemIndex = $this => { nms_Item_$callClinit(); return nms_Item_potion.$itemID0; }, nms_CreativeTabMaterial = $rt_classWithoutFields(nms_CreativeTabs), nms_CreativeTabMaterial_getTabIconItemIndex = $this => { nms_Item_$callClinit(); return nms_Item_stick.$itemID0; }, nms_CreativeTabInventory = $rt_classWithoutFields(nms_CreativeTabs), nms_CreativeTabInventory_getTabIconItemIndex = $this => { nms_Block_$callClinit(); return nms_Block_chest.$blockID; }, nms_BehaviorDispenseArmor = $rt_classWithoutFields(nms_BehaviorDefaultDispenseItem), nms_BehaviorDispenseArmor__init_ = $this => { return; }, nms_BehaviorDispenseArmor__init_0 = () => { let var_0 = new nms_BehaviorDispenseArmor(); nms_BehaviorDispenseArmor__init_(var_0); return var_0; }, nms_SharedMonsterAttributes = $rt_classWithoutFields(), nms_SharedMonsterAttributes_maxHealth = null, nms_SharedMonsterAttributes_followRange = null, nms_SharedMonsterAttributes_knockbackResistance = null, nms_SharedMonsterAttributes_movementSpeed = null, nms_SharedMonsterAttributes_attackDamage = null, nms_SharedMonsterAttributes__init_ = $this => { return; }, nms_SharedMonsterAttributes__init_0 = () => { let var_0 = new nms_SharedMonsterAttributes(); nms_SharedMonsterAttributes__init_(var_0); return var_0; }, nms_SharedMonsterAttributes_func_111260_a = ($par0BaseAttributeMap, $par1NBTTagList) => { let $var3, var$4, var$5, $var4, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $var3 = 0; a: { b: { while (true) { var$4 = $par1NBTTagList.$tagList; var$5 = $rt_compare($var3, var$4.$size0); if (var$5 >= 0) break; if ($var3 < 0) break a; if (var$5 >= 0) break a; c: { $var4 = var$4.$array.data[$var3]; var$7 = $var4.$tagMap; if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break c; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$8 = $rt_s(1526).$hashCode1; var$9 = var$7.$elementData.data; var$7 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$8) { d: { var$10 = var$7.$key; if ($rt_s(1526) !== var$10) { if ($rt_s(1526) === var$10) var$5 = 1; else if (!(var$10 instanceof jl_String)) var$5 = 0; else { var$10 = var$10; var$5 = $rt_s(1526).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break d; } } var$5 = 1; } if (var$5) break; } var$7 = var$7.$next3; } if (!(var$7 === null ? 0 : 1)) var$11 = $rt_s(18); else { var$7 = $var4.$tagMap; if ($rt_s(1526) === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { e: { if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break e; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$8 = $rt_s(1526).$hashCode1; var$9 = var$7.$elementData.data; var$7 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$8) { f: { var$10 = var$7.$key; if ($rt_s(1526) !== var$10) { if ($rt_s(1526) === var$10) var$5 = 1; else if (!(var$10 instanceof jl_String)) var$5 = 0; else { var$10 = var$10; var$5 = $rt_s(1526).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break f; } } var$5 = 1; } if (var$5) break; } var$7 = var$7.$next3; } } var$11 = (var$7 === null ? null : var$7.$value1).$data1; } var$4 = $par0BaseAttributeMap.$attributesByName.$internalMap; var$7 = var$11.$nativeString.toLowerCase(); var$4 = ju_LinkedHashMap_getOrDefault(var$4, var$7 === var$11.$nativeString ? var$11 : jl_String__init_(var$7), null); if (var$4 === null) { var$4 = $par0BaseAttributeMap.$field_111163_c.$internalMap; var$7 = var$11.$nativeString.toLowerCase(); if (var$7 !== var$11.$nativeString) var$11 = jl_String__init_(var$7); var$4 = ju_LinkedHashMap_getOrDefault(var$4, var$11, null); } if (var$4 !== null) nms_SharedMonsterAttributes_func_111258_a(var$4, $var4); else { if (jl_System_outCache === null) { var$4 = new otcic_JSStdoutPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); var$4.$out0 = var$7; var$7 = new jl_StringBuilder; jl_Object__init_(var$7); var$7.$buffer = $rt_createCharArray(16); var$4.$sb = var$7; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$4; } g: { var$4 = $var4.$tagMap; if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$8 = $rt_s(1526).$hashCode1; var$9 = var$4.$elementData.data; var$4 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$8) { h: { var$7 = var$4.$key; if ($rt_s(1526) !== var$7) { if ($rt_s(1526) === var$7) var$5 = 1; else if (!(var$7 instanceof jl_String)) var$5 = 0; else { var$7 = var$7; var$5 = $rt_s(1526).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break h; } } var$5 = 1; } if (var$5) break; } var$4 = var$4.$next3; } if (!(var$4 === null ? 0 : 1)) var$7 = $rt_s(18); else { var$4 = $var4.$tagMap; if ($rt_s(1526) === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { i: { if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break i; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$8 = $rt_s(1526).$hashCode1; var$9 = var$4.$elementData.data; var$4 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$8) { j: { var$7 = var$4.$key; if ($rt_s(1526) !== var$7) { if ($rt_s(1526) === var$7) var$5 = 1; else if (!(var$7 instanceof jl_String)) var$5 = 0; else { var$7 = var$7; var$5 = $rt_s(1526).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break j; } } var$5 = 1; } if (var$5) break; } var$4 = var$4.$next3; } } var$7 = (var$4 === null ? null : var$4.$value1).$data1; } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3139)); var$5 = var$4.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$7); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$9 = var$4.$buffer; var$12 = var$9.data; var$12[var$5] = 39; var$7 = new jl_String; var$13 = var$4.$length0; var$8 = var$12.length; if (var$13 < 0) break b; if (var$13 > (var$8 - 0 | 0)) break b; var$7.$nativeString = $rt_charArrayToString(var$9.data, 0, var$13); $rt_putStdout($rt_ustr(var$7)); $rt_putStdout("\n"); } $var3 = $var3 + 1 | 0; } return; } $par0BaseAttributeMap = new jl_IndexOutOfBoundsException; $par0BaseAttributeMap.$suppressionEnabled = 1; $par0BaseAttributeMap.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par0BaseAttributeMap); $rt_throw($par0BaseAttributeMap); } $par0BaseAttributeMap = new jl_IndexOutOfBoundsException; $par0BaseAttributeMap.$suppressionEnabled = 1; $par0BaseAttributeMap.$writableStackTrace = 1; $rt_throw($par0BaseAttributeMap); }; let nms_SharedMonsterAttributes_func_111258_a = ($par0AttributeInstance, $par1NBTTagCompound) => { let var$3, $var3, var$5, var$6, var$7, var$8, $var5, $var2, var$11, $var4, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20; a: { var$3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3140).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3140).$nativeString.length) break a; $rt_s(3140).$hashCode1 = (31 * $rt_s(3140).$hashCode1 | 0) + $rt_s(3140).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(3140).$hashCode1; var$5 = var$3.$elementData.data; var$3 = var$5[$var3 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var3) { b: { var$6 = var$3.$key; if ($rt_s(3140) !== var$6) { if ($rt_s(3140) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(3140).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$3 = var$3.$next3; } if (var$3 === null ? 0 : 1) { var$3 = $par1NBTTagCompound.$tagMap; if ($rt_s(3140) !== null) { c: { if (!$rt_s(3140).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3140).$nativeString.length) break c; $rt_s(3140).$hashCode1 = (31 * $rt_s(3140).$hashCode1 | 0) + $rt_s(3140).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(3140).$hashCode1; var$5 = var$3.$elementData.data; var$3 = var$5[$var3 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var3) { d: { var$6 = var$3.$key; if ($rt_s(3140) !== var$6) { if ($rt_s(3140) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$7 = $rt_s(3140).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break d; } } var$7 = 1; } if (var$7) break; } var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } var$8 = (var$3 === null ? null : var$3.$value1).$data6; } else var$8 = 0.0; if (var$8 !== $par0AttributeInstance.$baseValue) { $par0AttributeInstance.$baseValue = var$8; $par0AttributeInstance.$field_111133_g = 1; $var5 = $par0AttributeInstance.$field_111138_a; if ($par0AttributeInstance.$field_111136_b.$shouldWatch) { $var5 = $var5.$field_111162_d; ju_HashMap_putImpl($var5.$backingMap, $par0AttributeInstance, $var5); } } e: { var$3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3141).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3141).$nativeString.length) break e; $rt_s(3141).$hashCode1 = (31 * $rt_s(3141).$hashCode1 | 0) + $rt_s(3141).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(3141).$hashCode1; var$5 = var$3.$elementData.data; var$3 = var$5[$var3 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var3) { f: { var$6 = var$3.$key; if ($rt_s(3141) !== var$6) { if ($rt_s(3141) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(3141).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break f; } } var$7 = 1; } if (var$7) break; } var$3 = var$3.$next3; } $var3 = var$3 === null ? 0 : 1; g: { h: { if ($var3) { i: { var$3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3141).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3141).$nativeString.length) break i; $rt_s(3141).$hashCode1 = (31 * $rt_s(3141).$hashCode1 | 0) + $rt_s(3141).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(3141).$hashCode1; var$5 = var$3.$elementData.data; var$3 = var$5[$var3 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var3) { j: { var$6 = var$3.$key; if ($rt_s(3141) !== var$6) { if ($rt_s(3141) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$7 = $rt_s(3141).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break j; } } var$7 = 1; } if (var$7) break; } var$3 = var$3.$next3; } if (var$3 === null ? 0 : 1) { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(3141) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { k: { if (!$rt_s(3141).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3141).$nativeString.length) break k; $rt_s(3141).$hashCode1 = (31 * $rt_s(3141).$hashCode1 | 0) + $rt_s(3141).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(3141).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[$var3 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == $var3) { l: { var$3 = $par1NBTTagCompound.$key; if ($rt_s(3141) !== var$3) { if ($rt_s(3141) === var$3) var$7 = 1; else if (var$3 instanceof jl_String) { var$3 = var$3; var$7 = $rt_s(3141).$nativeString !== var$3.$nativeString ? 0 : 1; } else var$7 = 0; if (!var$7) { var$7 = 0; break l; } } var$7 = 1; } if (var$7) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $var2 = $par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1; } else { $var2 = new nms_NBTTagList; if ($rt_s(3141) !== null) $var2.$name = $rt_s(3141); else $var2.$name = $rt_s(18); $par1NBTTagCompound = new ju_ArrayList; $par1NBTTagCompound.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $par1NBTTagCompound; } $var3 = 0; while (true) { $par1NBTTagCompound = $var2.$tagList; var$7 = $rt_compare($var3, $par1NBTTagCompound.$size0); if (var$7 >= 0) break h; if ($var3 < 0) break g; if (var$7 >= 0) break g; m: { var$3 = $par1NBTTagCompound.$array.data[$var3]; var$6 = new nle_ProfileUUID; $var5 = var$3.$tagMap; if (!$rt_s(1254).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1254).$nativeString.length) break m; $rt_s(1254).$hashCode1 = (31 * $rt_s(1254).$hashCode1 | 0) + $rt_s(1254).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$11 = $rt_s(1254).$hashCode1; var$5 = $var5.$elementData.data; $var5 = var$5[var$11 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { n: { $var4 = $var5.$key; if ($rt_s(1254) !== $var4) { if ($rt_s(1254) !== $var4) { if ($var4 instanceof jl_String) { $var4 = $var4; var$7 = $rt_s(1254).$nativeString !== $var4.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break n; } } var$7 = 1; } if (var$7) break; } $var5 = $var5.$next3; } if ($var5 === null ? 0 : 1) { $var5 = var$3.$tagMap; if ($rt_s(1254) !== null) { o: { if (!$rt_s(1254).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1254).$nativeString.length) break o; $rt_s(1254).$hashCode1 = (31 * $rt_s(1254).$hashCode1 | 0) + $rt_s(1254).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$11 = $rt_s(1254).$hashCode1; var$5 = $var5.$elementData.data; $var5 = var$5[var$11 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { p: { $var4 = $var5.$key; if ($rt_s(1254) !== $var4) { if ($rt_s(1254) !== $var4) { if ($var4 instanceof jl_String) { $var4 = $var4; var$7 = $rt_s(1254).$nativeString !== $var4.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break p; } } var$7 = 1; } if (var$7) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } var$13 = ($var5 === null ? null : $var5.$value1).$data7; } else var$13 = Long_ZERO; q: { $var5 = var$3.$tagMap; if (!$rt_s(1255).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1255).$nativeString.length) break q; $rt_s(1255).$hashCode1 = (31 * $rt_s(1255).$hashCode1 | 0) + $rt_s(1255).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$11 = $rt_s(1255).$hashCode1; var$5 = $var5.$elementData.data; $var5 = var$5[var$11 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { r: { $var4 = $var5.$key; if ($rt_s(1255) !== $var4) { if ($rt_s(1255) === $var4) var$7 = 1; else if (!($var4 instanceof jl_String)) var$7 = 0; else { $var4 = $var4; var$7 = $rt_s(1255).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break r; } } var$7 = 1; } if (var$7) break; } $var5 = $var5.$next3; } if ($var5 === null ? 0 : 1) { $var5 = var$3.$tagMap; if ($rt_s(1255) === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { s: { if (!$rt_s(1255).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1255).$nativeString.length) break s; $rt_s(1255).$hashCode1 = (31 * $rt_s(1255).$hashCode1 | 0) + $rt_s(1255).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$11 = $rt_s(1255).$hashCode1; var$5 = $var5.$elementData.data; $var5 = var$5[var$11 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { t: { $var4 = $var5.$key; if ($rt_s(1255) !== $var4) { if ($rt_s(1255) === $var4) var$7 = 1; else if (!($var4 instanceof jl_String)) var$7 = 0; else { $var4 = $var4; var$7 = $rt_s(1255).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break t; } } var$7 = 1; } if (var$7) break; } $var5 = $var5.$next3; } } var$14 = ($var5 === null ? null : $var5.$value1).$data7; } else var$14 = Long_ZERO; u: { var$6.$msb = var$13; var$6.$lsb = var$14; $var4 = new nms_AttributeModifier; $var5 = var$3.$tagMap; if (!$rt_s(1526).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1526).$nativeString.length) break u; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$11 = $rt_s(1526).$hashCode1; var$5 = $var5.$elementData.data; $var5 = var$5[var$11 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { v: { var$15 = $var5.$key; if ($rt_s(1526) !== var$15) { if ($rt_s(1526) !== var$15) { if (!(var$15 instanceof jl_String)) var$7 = 0; else { var$15 = var$15; var$7 = $rt_s(1526).$nativeString !== var$15.$nativeString ? 0 : 1; } } else var$7 = 1; if (!var$7) { var$7 = 0; break v; } } var$7 = 1; } if (var$7) break; } $var5 = $var5.$next3; } if (!($var5 === null ? 0 : 1)) var$16 = $rt_s(18); else { $var5 = var$3.$tagMap; if ($rt_s(1526) !== null) { w: { if (!$rt_s(1526).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1526).$nativeString.length) break w; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$11 = $rt_s(1526).$hashCode1; var$5 = $var5.$elementData.data; $var5 = var$5[var$11 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { x: { var$15 = $var5.$key; if ($rt_s(1526) !== var$15) { if ($rt_s(1526) !== var$15) { if (var$15 instanceof jl_String) { var$15 = var$15; var$7 = $rt_s(1526).$nativeString !== var$15.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break x; } } var$7 = 1; } if (var$7) break; } $var5 = $var5.$next3; } } else { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } var$16 = ($var5 === null ? null : $var5.$value1).$data1; } y: { $par1NBTTagCompound = var$3.$tagMap; if (!$rt_s(3142).$hashCode1) { var$11 = 0; while (true) { if (var$11 >= $rt_s(3142).$nativeString.length) break y; $rt_s(3142).$hashCode1 = (31 * $rt_s(3142).$hashCode1 | 0) + $rt_s(3142).$nativeString.charCodeAt(var$11) | 0; var$11 = var$11 + 1 | 0; } } } var$11 = $rt_s(3142).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$11 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$11) { z: { $var5 = $par1NBTTagCompound.$key; if ($rt_s(3142) !== $var5) { if ($rt_s(3142) !== $var5) { if ($var5 instanceof jl_String) { $var5 = $var5; var$7 = $rt_s(3142).$nativeString !== $var5.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break z; } } var$7 = 1; } if (var$7) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } if (!($par1NBTTagCompound === null ? 0 : 1)) var$17 = 0.0; else { $par1NBTTagCompound = var$3.$tagMap; if ($rt_s(3142) === null) { var$18 = $par1NBTTagCompound.$elementData.data[0]; while (var$18 !== null && var$18.$key !== null) { var$18 = var$18.$next3; } } else { ba: { if (!$rt_s(3142).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(3142).$nativeString.length) break ba; $rt_s(3142).$hashCode1 = (31 * $rt_s(3142).$hashCode1 | 0) + $rt_s(3142).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$19 = $rt_s(3142).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$18 = var$5[var$19 & (var$5.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == var$19) { bb: { $par1NBTTagCompound = var$18.$key; if ($rt_s(3142) !== $par1NBTTagCompound) { if ($rt_s(3142) === $par1NBTTagCompound) var$7 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$7 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$7 = $rt_s(3142).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break bb; } } var$7 = 1; } if (var$7) break; } var$18 = var$18.$next3; } } var$17 = (var$18 === null ? null : var$18.$value1).$data6; } bc: { $par1NBTTagCompound = var$3.$tagMap; if (!$rt_s(3143).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(3143).$nativeString.length) break bc; $rt_s(3143).$hashCode1 = (31 * $rt_s(3143).$hashCode1 | 0) + $rt_s(3143).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$19 = $rt_s(3143).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$18 = var$5[var$19 & (var$5.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == var$19) { bd: { $par1NBTTagCompound = var$18.$key; if ($rt_s(3143) !== $par1NBTTagCompound) { if ($rt_s(3143) === $par1NBTTagCompound) var$7 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$7 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$7 = $rt_s(3143).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break bd; } } var$7 = 1; } if (var$7) break; } var$18 = var$18.$next3; } if (!(var$18 === null ? 0 : 1)) var$11 = 0; else { $par1NBTTagCompound = var$3.$tagMap; if ($rt_s(3143) === null) { var$3 = $par1NBTTagCompound.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { be: { if (!$rt_s(3143).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(3143).$nativeString.length) break be; $rt_s(3143).$hashCode1 = (31 * $rt_s(3143).$hashCode1 | 0) + $rt_s(3143).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$19 = $rt_s(3143).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$3 = var$5[var$19 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$19) { bf: { $par1NBTTagCompound = var$3.$key; if ($rt_s(3143) !== $par1NBTTagCompound) { if ($rt_s(3143) === $par1NBTTagCompound) var$7 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$7 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$7 = $rt_s(3143).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break bf; } } var$7 = 1; } if (var$7) break; } var$3 = var$3.$next3; } } var$11 = (var$3 === null ? null : var$3.$value1).$data0; } $var4.$isSaved = 1; $var4.$id2 = var$6; $var4.$name3 = var$16; $var4.$amount = var$17; $var4.$operation = var$11; if (var$16 === null) { $par0AttributeInstance = new jl_NullPointerException; $par0AttributeInstance.$suppressionEnabled = 1; $par0AttributeInstance.$writableStackTrace = 1; $rt_throw($par0AttributeInstance); } if (var$16 === $rt_s(18)) var$7 = 1; else if (!($rt_s(18) instanceof jl_String)) var$7 = 0; else { $par1NBTTagCompound = $rt_s(18); var$7 = var$16.$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (var$7) { $par1NBTTagCompound = new jl_IllegalArgumentException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $par1NBTTagCompound.$message = $rt_s(1292); $rt_throw($par1NBTTagCompound); } if (var$11 < 0 && var$11 > 2) { $par1NBTTagCompound = new jl_IllegalArgumentException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $par1NBTTagCompound.$message = $rt_s(2901); $rt_throw($par1NBTTagCompound); } var$3 = $var4.$id2; $par1NBTTagCompound = $par0AttributeInstance.$field_111135_e; if (var$3 === null) { $var5 = $par1NBTTagCompound.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$13 = var$3.$msb; var$20 = var$3.$lsb; var$14 = Long_xor(var$13, var$20); var$19 = Long_hi(var$14) ^ Long_lo(var$14); var$5 = $par1NBTTagCompound.$elementData.data; $var5 = var$5[var$19 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$19) { bg: { $par1NBTTagCompound = $var5.$key; if (var$3 !== $par1NBTTagCompound) { bh: { if ($par1NBTTagCompound instanceof nle_ProfileUUID) { $par1NBTTagCompound = $par1NBTTagCompound; if (Long_eq($par1NBTTagCompound.$lsb, var$20) && Long_eq($par1NBTTagCompound.$msb, var$13)) { var$7 = 1; break bh; } } var$7 = 0; } if (!var$7) { var$7 = 0; break bg; } } var$7 = 1; } if (var$7) break; } $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; if ($var5 !== null) nms_ModifiableAttributeInstance_removeModifier($par0AttributeInstance, $var5); nms_ModifiableAttributeInstance_applyModifier($par0AttributeInstance, $var4); $var3 = $var3 + 1 | 0; } } } return; } $par0AttributeInstance = new jl_IndexOutOfBoundsException; $par0AttributeInstance.$suppressionEnabled = 1; $par0AttributeInstance.$writableStackTrace = 1; $rt_throw($par0AttributeInstance); }, nms_SharedMonsterAttributes__clinit_ = () => { let var$1; var$1 = nms_RangedAttribute__init_($rt_s(3144), 20.0, 0.0, 1.7976931348623157E308); var$1.$field_111119_c = $rt_s(3145); var$1.$shouldWatch = 1; nms_SharedMonsterAttributes_maxHealth = var$1; var$1 = nms_RangedAttribute__init_($rt_s(3146), 32.0, 0.0, 2048.0); var$1.$field_111119_c = $rt_s(3147); nms_SharedMonsterAttributes_followRange = var$1; var$1 = nms_RangedAttribute__init_($rt_s(3148), 0.0, 0.0, 1.0); var$1.$field_111119_c = $rt_s(3149); nms_SharedMonsterAttributes_knockbackResistance = var$1; var$1 = nms_RangedAttribute__init_($rt_s(3150), 0.699999988079071, 0.0, 1.7976931348623157E308); var$1.$field_111119_c = $rt_s(3151); var$1.$shouldWatch = 1; nms_SharedMonsterAttributes_movementSpeed = var$1; nms_SharedMonsterAttributes_attackDamage = nms_RangedAttribute__init_($rt_s(3152), 2.0, 0.0, 1.7976931348623157E308); }, nms_PotionAttackDamage = $rt_classWithoutFields(nms_Potion), nms_PotionAttackDamage_func_111183_a = ($this, $par1, $par2AttributeModifier) => { let var$3; var$3 = $this.$id1; nms_Potion_$callClinit(); return var$3 != nms_Potion_weakness.$id1 ? 1.3 * ($par1 + 1 | 0) : (-0.5) * ($par1 + 1 | 0); }, nms_PotionHealth = $rt_classWithoutFields(nms_Potion), nms_PotionHealth_isInstant = $this => { return 1; }, nms_PotionHealth_isReady = ($this, $par1, $par2) => { return $par1 < 1 ? 0 : 1; }, nms_PotionHealthBoost = $rt_classWithoutFields(nms_Potion), nms_PotionHealthBoost_removeAttributesModifiersFromEntity = ($this, $par1EntityLivingBase, $par2BaseAttributeMap, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; var$4 = $this.$field_111188_I; var$5 = new ju_HashMap$EntryIterator; var$5.$associatedMap = var$4; var$5.$expectedModCount = var$4.$modCount0; var$5.$futureEntry0 = null; while (ju_HashMap$AbstractMapIterator_hasNext(var$5)) { ju_HashMap$AbstractMapIterator_makeNext(var$5); var$6 = var$5.$currentEntry0; var$4 = var$6.$key; var$7 = $par2BaseAttributeMap.$attributes; if (var$4 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { a: { var$8 = var$4.$field_111115_a; if (!var$8.$hashCode1) { $par3 = 0; while (true) { if ($par3 >= var$8.$nativeString.length) break a; var$8.$hashCode1 = (31 * var$8.$hashCode1 | 0) + var$8.$nativeString.charCodeAt($par3) | 0; $par3 = $par3 + 1 | 0; } } } var$9 = var$8.$hashCode1; var$10 = var$7.$elementData.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { var$8 = var$7.$key; if (var$4 !== var$8 && !jl_Object_equals(var$4, var$8) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$4 = var$7 === null ? null : var$7.$value1; if (var$4 !== null) nms_ModifiableAttributeInstance_removeModifier(var$4, var$6.$value1); } $par2BaseAttributeMap = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[134]; if (var$7 === null) { $par2BaseAttributeMap = $par2BaseAttributeMap.$elementData.data[0]; while ($par2BaseAttributeMap !== null && $par2BaseAttributeMap.$key !== null) { $par2BaseAttributeMap = $par2BaseAttributeMap.$next3; } } else { var$9 = var$7.$value0; var$10 = $par2BaseAttributeMap.$elementData.data; $par2BaseAttributeMap = var$10[var$9 & (var$10.length - 1 | 0)]; while ($par2BaseAttributeMap !== null) { if ($par2BaseAttributeMap.$origKeyHash == var$9) { var$4 = $par2BaseAttributeMap.$key; if (var$7 !== var$4 && !(var$7 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } $par2BaseAttributeMap = $par2BaseAttributeMap.$next3; } } var$11 = ($par2BaseAttributeMap === null ? null : $par2BaseAttributeMap.$value1).$watchedObject.$value3; $par2BaseAttributeMap = nms_SharedMonsterAttributes_maxHealth; if ($par1EntityLivingBase.$attributeMap === null) $par1EntityLivingBase.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $par1EntityLivingBase.$attributeMap.$attributes; if ($par2BaseAttributeMap === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { b: { var$7 = $par2BaseAttributeMap.$field_111115_a; if (!var$7.$hashCode1) { $par3 = 0; while (true) { if ($par3 >= var$7.$nativeString.length) break b; var$7.$hashCode1 = (31 * var$7.$hashCode1 | 0) + var$7.$nativeString.charCodeAt($par3) | 0; $par3 = $par3 + 1 | 0; } } } var$9 = var$7.$hashCode1; var$10 = var$4.$elementData.data; var$4 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$4 !== null && !(var$4.$origKeyHash == var$9 && ju_HashMap_areEqualKeys($par2BaseAttributeMap, var$4.$key))) { var$4 = var$4.$next3; } } $par2BaseAttributeMap = var$4 === null ? null : var$4.$value1; if ($par2BaseAttributeMap.$field_111133_g) { $par2BaseAttributeMap.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($par2BaseAttributeMap); $par2BaseAttributeMap.$field_111133_g = 0; } if (var$11 > $par2BaseAttributeMap.$field_111139_h) { $par2BaseAttributeMap = nms_SharedMonsterAttributes_maxHealth; if ($par1EntityLivingBase.$attributeMap === null) $par1EntityLivingBase.$attributeMap = nms_ServersideAttributeMap__init_(); var$4 = $par1EntityLivingBase.$attributeMap.$attributes; if ($par2BaseAttributeMap === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { c: { var$7 = $par2BaseAttributeMap.$field_111115_a; if (!var$7.$hashCode1) { $par3 = 0; while (true) { if ($par3 >= var$7.$nativeString.length) break c; var$7.$hashCode1 = (31 * var$7.$hashCode1 | 0) + var$7.$nativeString.charCodeAt($par3) | 0; $par3 = $par3 + 1 | 0; } } } var$9 = var$7.$hashCode1; var$10 = var$4.$elementData.data; var$4 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$4 !== null && !(var$4.$origKeyHash == var$9 && ju_HashMap_areEqualKeys($par2BaseAttributeMap, var$4.$key))) { var$4 = var$4.$next3; } } $par2BaseAttributeMap = var$4 === null ? null : var$4.$value1; if ($par2BaseAttributeMap.$field_111133_g) { $par2BaseAttributeMap.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($par2BaseAttributeMap); $par2BaseAttributeMap.$field_111133_g = 0; } var$11 = $par2BaseAttributeMap.$field_111139_h; $par2BaseAttributeMap = $par1EntityLivingBase.$dataWatcher; var$12 = 0.0; var$4 = nms_SharedMonsterAttributes_maxHealth; if ($par1EntityLivingBase.$attributeMap === null) $par1EntityLivingBase.$attributeMap = nms_ServersideAttributeMap__init_(); $par1EntityLivingBase = $par1EntityLivingBase.$attributeMap.$attributes; if (var$4 === null) $par1EntityLivingBase = ju_HashMap_findNullKeyEntry($par1EntityLivingBase); else { var$13 = nms_BaseAttribute_hashCode(var$4); $par1EntityLivingBase = ju_HashMap_findNonNullKeyEntry($par1EntityLivingBase, var$4, var$13 & ($par1EntityLivingBase.$elementData.data.length - 1 | 0), var$13); } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; if ($par1EntityLivingBase.$field_111133_g) { $par1EntityLivingBase.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($par1EntityLivingBase); $par1EntityLivingBase.$field_111133_g = 0; } var$14 = $par1EntityLivingBase.$field_111139_h; if (var$11 >= var$12) var$12 = var$11 <= var$14 ? var$11 : var$14; var$4 = new jl_Float; var$4.$value3 = var$12; $par1EntityLivingBase = $par2BaseAttributeMap.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[134]; if (var$8 === null) { $par1EntityLivingBase = $par1EntityLivingBase.$elementData.data[0]; while ($par1EntityLivingBase !== null && $par1EntityLivingBase.$key !== null) { $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } else { var$9 = var$8.$value0; var$10 = $par1EntityLivingBase.$elementData.data; $par1EntityLivingBase = var$10[var$9 & (var$10.length - 1 | 0)]; while ($par1EntityLivingBase !== null) { if ($par1EntityLivingBase.$origKeyHash == var$9) { var$7 = $par1EntityLivingBase.$key; if (var$8 !== var$7 && !(var$8 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } $par1EntityLivingBase = $par1EntityLivingBase.$next3; } } $par1EntityLivingBase = $par1EntityLivingBase === null ? null : $par1EntityLivingBase.$value1; var$7 = $par1EntityLivingBase.$watchedObject; if (var$4 === var$7) $par3 = 1; else d: { if (var$7 instanceof jl_Float) { var$12 = var$4.$value3; var$11 = var$7.$value3; if (var$12 !== var$12 ? (var$11 === var$11 ? 0 : 1) : $rt_floatToRawIntBits(var$12) != $rt_floatToRawIntBits(var$11) ? 0 : 1) { $par3 = 1; break d; } } $par3 = 0; } if (!$par3) { $par1EntityLivingBase.$watchedObject = var$4; $par1EntityLivingBase.$watched = 1; $par2BaseAttributeMap.$objectChanged = 1; } } }, nms_PotionAbsoption = $rt_classWithoutFields(nms_Potion), nms_PotionAbsoption_removeAttributesModifiersFromEntity = ($this, $par1EntityLivingBase, $par2BaseAttributeMap, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10; $par1EntityLivingBase.$setAbsorptionAmount($par1EntityLivingBase.$getAbsorptionAmount() - (4 * ($par3 + 1 | 0) | 0)); $par1EntityLivingBase = $this.$field_111188_I; var$4 = new ju_HashMap$EntryIterator; var$4.$associatedMap = $par1EntityLivingBase; var$4.$expectedModCount = $par1EntityLivingBase.$modCount0; var$4.$futureEntry0 = null; while (ju_HashMap$AbstractMapIterator_hasNext(var$4)) { ju_HashMap$AbstractMapIterator_makeNext(var$4); var$5 = var$4.$currentEntry0; $par1EntityLivingBase = var$5.$key; var$6 = $par2BaseAttributeMap.$attributes; if ($par1EntityLivingBase === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { a: { var$7 = $par1EntityLivingBase.$field_111115_a; if (!var$7.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$7.$nativeString.length) break a; var$7.$hashCode1 = (31 * var$7.$hashCode1 | 0) + var$7.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = var$7.$hashCode1; var$10 = var$6.$elementData.data; var$6 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$9) { var$7 = var$6.$key; if ($par1EntityLivingBase !== var$7 && !jl_Object_equals($par1EntityLivingBase, var$7) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$6 = var$6 === null ? null : var$6.$value1; if (var$6 !== null) nms_ModifiableAttributeInstance_removeModifier(var$6, var$5.$value1); } }, nms_PotionAbsoption_applyAttributesModifiersToEntity = ($this, $par1EntityLivingBase, $par2BaseAttributeMap, $par3) => { $par1EntityLivingBase.$setAbsorptionAmount($par1EntityLivingBase.$getAbsorptionAmount() + (4 * ($par3 + 1 | 0) | 0)); nms_Potion_applyAttributesModifiersToEntity($this, $par1EntityLivingBase, $par2BaseAttributeMap, $par3); }, nms_MaterialTransparent = $rt_classWithoutFields(nms_Material), nms_MaterialTransparent_isSolid = $this => { return 0; }, nms_MaterialTransparent_getCanBlockGrass = $this => { return 0; }, nms_MaterialTransparent_blocksMovement = $this => { return 0; }; function nms_MapColor() { let a = this; jl_Object.call(a); a.$colorValue = 0; a.$colorIndex = 0; } let nms_MapColor_mapColorArray = null, nms_MapColor_airColor = null, nms_MapColor_grassColor = null, nms_MapColor_sandColor = null, nms_MapColor_clothColor = null, nms_MapColor_tntColor = null, nms_MapColor_iceColor = null, nms_MapColor_ironColor = null, nms_MapColor_foliageColor = null, nms_MapColor_snowColor = null, nms_MapColor_clayColor = null, nms_MapColor_dirtColor = null, nms_MapColor_stoneColor = null, nms_MapColor_waterColor = null, nms_MapColor_woodColor = null, nms_MapColor__clinit_ = () => { let var$1, var$2, var$3; var$1 = $rt_createArray(nms_MapColor, 16); var$2 = var$1.data; nms_MapColor_mapColorArray = var$1; var$3 = new nms_MapColor; var$3.$colorIndex = 0; var$3.$colorValue = 0; var$2[0] = var$3; nms_MapColor_airColor = var$3; var$3 = new nms_MapColor; var$3.$colorIndex = 1; var$3.$colorValue = 8368696; var$2[1] = var$3; nms_MapColor_grassColor = var$3; var$3 = new nms_MapColor; var$3.$colorIndex = 2; var$3.$colorValue = 16247203; var$2[2] = var$3; nms_MapColor_sandColor = var$3; var$3 = new nms_MapColor; var$3.$colorIndex = 3; var$3.$colorValue = 10987431; var$2[3] = var$3; nms_MapColor_clothColor = var$3; var$3 = new nms_MapColor; var$3.$colorIndex = 4; var$3.$colorValue = 16711680; var$2[4] = var$3; nms_MapColor_tntColor = var$3; var$3 = new nms_MapColor; var$3.$colorIndex = 5; var$3.$colorValue = 10526975; var$2[5] = var$3; nms_MapColor_iceColor = var$3; var$3 = new nms_MapColor; var$3.$colorIndex = 6; var$3.$colorValue = 10987431; var$2[6] = var$3; nms_MapColor_ironColor = var$3; var$3 = new nms_MapColor; var$3.$colorIndex = 7; var$3.$colorValue = 31744; var$2[7] = var$3; nms_MapColor_foliageColor = var$3; var$3 = new nms_MapColor; var$3.$colorIndex = 8; var$3.$colorValue = 16777215; var$2[8] = var$3; nms_MapColor_snowColor = var$3; var$3 = new nms_MapColor; var$3.$colorIndex = 9; var$3.$colorValue = 10791096; var$2[9] = var$3; nms_MapColor_clayColor = var$3; var$3 = new nms_MapColor; var$3.$colorIndex = 10; var$3.$colorValue = 12020271; var$2[10] = var$3; nms_MapColor_dirtColor = var$3; var$3 = new nms_MapColor; var$3.$colorIndex = 11; var$3.$colorValue = 7368816; var$2[11] = var$3; nms_MapColor_stoneColor = var$3; var$3 = new nms_MapColor; var$3.$colorIndex = 12; var$3.$colorValue = 4210943; var$2[12] = var$3; nms_MapColor_waterColor = var$3; var$3 = new nms_MapColor; var$3.$colorIndex = 13; var$3.$colorValue = 6837042; var$2[13] = var$3; nms_MapColor_woodColor = var$3; }, nms_MaterialLiquid = $rt_classWithoutFields(nms_Material), nms_MaterialLiquid_isLiquid = $this => { return 1; }, nms_MaterialLiquid_blocksMovement = $this => { return 0; }, nms_MaterialLiquid_isSolid = $this => { return 0; }, nms_MaterialLogic = $rt_classWithoutFields(nms_Material), nms_MaterialLogic_isSolid = $this => { return 0; }, nms_MaterialLogic_getCanBlockGrass = $this => { return 0; }, nms_MaterialLogic_blocksMovement = $this => { return 0; }, nms_MaterialPortal = $rt_classWithoutFields(nms_Material), nms_MaterialPortal_isSolid = $this => { return 0; }, nms_MaterialPortal_getCanBlockGrass = $this => { return 0; }, nms_MaterialPortal_blocksMovement = $this => { return 0; }, nms_MaterialWeb = $rt_classWithoutFields(nms_Material), nms_MaterialWeb_blocksMovement = $this => { return 0; }; function nms_BehaviorDispenseMinecart() { nms_BehaviorDefaultDispenseItem.call(this); this.$behaviourDefaultDispenseItem = null; } let nms_BehaviorDispenseMinecart__init_ = $this => { $this.$behaviourDefaultDispenseItem = new nms_BehaviorDefaultDispenseItem; }, nms_BehaviorDispenseMinecart__init_0 = () => { let var_0 = new nms_BehaviorDispenseMinecart(); nms_BehaviorDispenseMinecart__init_(var_0); return var_0; }; function nms_CraftingManager() { jl_Object.call(this); this.$recipes = null; } let nms_CraftingManager_instance = null, nms_CraftingManager_$callClinit = () => { nms_CraftingManager_$callClinit = $rt_eraseClinit(nms_CraftingManager); nms_CraftingManager__clinit_(); }, nms_CraftingManager__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; nms_CraftingManager_$callClinit(); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$recipes = var$1; nms_RecipesTools_addRecipes(nms_RecipesTools__init_0(), $this); nms_RecipesWeapons_addRecipes(nms_RecipesWeapons__init_0(), $this); nms_RecipesIngots_addRecipes(nms_RecipesIngots__init_0(), $this); nms_RecipesFood_addRecipes(new nms_RecipesFood, $this); nms_RecipesCrafting_addRecipes(new nms_RecipesCrafting, $this); nms_RecipesArmor_addRecipes(nms_RecipesArmor__init_0(), $this); nms_RecipesDyes_addRecipes(new nms_RecipesDyes, $this); var$1 = $this.$recipes; var$2 = new nms_RecipesArmorDyes; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$3 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$recipes; var$2 = new nms_RecipesMapCloning; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$3 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$recipes; var$2 = nms_RecipesMapExtending__init_0(); ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$3 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$recipes; var$2 = new nms_RecipeFireworks; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$3 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$2 = new nms_ItemStack; nms_Item_$callClinit(); var$1 = nms_Item_paper; nms_ItemStack_$callClinit(); var$2.$itemID = var$1.$itemID0; var$2.$stackSize = 3; var$2.$itemDamage = 0; var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$6 = jl_Character_characterCache.data; if (35 >= var$6.length) { var$1 = new jl_Character; var$1.$value5 = 35; } else { var$1 = var$6[35]; if (var$1 === null) { var$1 = new jl_Character; var$1.$value5 = 35; var$6[35] = var$1; } } var$5[1] = var$1; var$5[2] = nms_Item_reed; nms_CraftingManager_addRecipe($this, var$2, var$3); var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_book.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$2 = nms_Item_paper; var$5[0] = var$2; var$5[1] = var$2; var$5[2] = var$2; var$5[3] = nms_Item_leather; nms_CraftingManager_addShapelessRecipe($this, var$1, var$3); var$2 = new nms_ItemStack; var$2.$itemID = nms_Item_writableBook.$itemID0; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = nms_Item_book; var$5[1] = nms_ItemStack__init_4(nms_Item_dyePowder.$itemID0, 1, 0); var$5[2] = nms_Item_feather; nms_CraftingManager_addShapelessRecipe($this, var$2, var$3); var$1 = new nms_ItemStack; nms_Block_$callClinit(); nms_ItemStack__init_5(var$1, nms_Block_fence.$blockID, 2, 0); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3153); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Item_stick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_cobblestoneWall, 6, 0); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3153); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Block_cobblestone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_cobblestoneWall, 6, 1); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3153); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Block_cobblestoneMossy; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_netherFence, 6); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3153); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Block_netherBrick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_fenceGate, 1); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(3154); var$5[1] = $rt_s(3154); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Item_stick; var$5[4] = jl_Character_valueOf(87); var$5[5] = nms_Block_planks; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_jukebox, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_planks; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_diamond; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_leash, 2); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3156); var$5[1] = $rt_s(3157); var$5[2] = $rt_s(3158); var$5[3] = jl_Character_valueOf(126); var$5[4] = nms_Item_silk; var$5[5] = jl_Character_valueOf(79); var$5[6] = nms_Item_slimeBall; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_music, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_planks; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_redstone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_bookShelf, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3159); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_planks; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_book; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_blockSnow, 1); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3160); var$5[1] = $rt_s(3160); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Item_snowball; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_snow, 6); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Block_blockSnow; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_blockClay, 1); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3160); var$5[1] = $rt_s(3160); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Item_clay; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_brick, 1); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3160); var$5[1] = $rt_s(3160); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Item_brick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_glowStone, 1); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3160); var$5[1] = $rt_s(3160); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Item_glowstone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_blockNetherQuartz, 1); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3160); var$5[1] = $rt_s(3160); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Item_netherQuartz; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_cloth, 1); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3160); var$5[1] = $rt_s(3160); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Item_silk; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_tnt, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3161); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3161); var$5[3] = jl_Character_valueOf(88); var$5[4] = nms_Item_gunpowder; var$5[5] = jl_Character_valueOf(35); var$5[6] = nms_Block_sand; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_stoneSingleSlab, 6, 3); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Block_cobblestone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_stoneSingleSlab, 6, 0); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Block_stone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_stoneSingleSlab, 6, 1); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Block_sandStone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_stoneSingleSlab, 6, 4); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Block_brick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_stoneSingleSlab, 6, 5); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Block_stoneBrick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_stoneSingleSlab, 6, 6); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Block_netherBrick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_stoneSingleSlab, 6, 7); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Block_blockNetherQuartz; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_woodSingleSlab, 6, 0); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_ItemStack__init_1(nms_Block_planks, 1, 0); nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_woodSingleSlab, 6, 2); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_ItemStack__init_1(nms_Block_planks, 1, 2); nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_woodSingleSlab, 6, 1); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_ItemStack__init_1(nms_Block_planks, 1, 1); nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_woodSingleSlab, 6, 3); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_ItemStack__init_1(nms_Block_planks, 1, 3); nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_ladder, 3); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3162); var$5[1] = $rt_s(3153); var$5[2] = $rt_s(3162); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Item_stick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_doorWood, 1); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3160); var$5[1] = $rt_s(3160); var$5[2] = $rt_s(3160); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_planks; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_trapdoor, 2); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3153); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Block_planks; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_doorIron, 1); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3160); var$5[1] = $rt_s(3160); var$5[2] = $rt_s(3160); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Item_ingotIron; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_sign, 3); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3153); var$5[2] = $rt_s(3163); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_planks; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_stick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_cake, 1); var$3 = $rt_createArray(jl_Object, 11); var$5 = var$3.data; var$5[0] = $rt_s(3164); var$5[1] = $rt_s(3165); var$5[2] = $rt_s(3166); var$5[3] = jl_Character_valueOf(65); var$5[4] = nms_Item_bucketMilk; var$5[5] = jl_Character_valueOf(66); var$5[6] = nms_Item_sugar; var$5[7] = jl_Character_valueOf(67); var$5[8] = nms_Item_wheat; var$5[9] = jl_Character_valueOf(69); var$5[10] = nms_Item_egg; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_sugar, 1); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(1402); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Item_reed; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_planks, 4, 0); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(1402); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_ItemStack__init_1(nms_Block_wood, 1, 0); nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_planks, 4, 1); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(1402); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_ItemStack__init_1(nms_Block_wood, 1, 1); nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_planks, 4, 2); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(1402); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_ItemStack__init_1(nms_Block_wood, 1, 2); nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_1(nms_Block_planks, 4, 3); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(1402); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_ItemStack__init_1(nms_Block_wood, 1, 3); nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_stick, 4); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(1402); var$5[1] = $rt_s(1402); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Block_planks; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_torchWood, 4); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(267); var$5[1] = $rt_s(1402); var$5[2] = jl_Character_valueOf(88); var$5[3] = nms_Item_coal; var$5[4] = jl_Character_valueOf(35); var$5[5] = nms_Item_stick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_torchWood, 4); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(267); var$5[1] = $rt_s(1402); var$5[2] = jl_Character_valueOf(88); var$5[3] = nms_ItemStack__init_2(nms_Item_coal, 1, 1); var$5[4] = jl_Character_valueOf(35); var$5[5] = nms_Item_stick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_bowlEmpty, 4); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3162); var$5[1] = $rt_s(3167); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Block_planks; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_glassBottle, 3); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3162); var$5[1] = $rt_s(3167); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Block_glass; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_rail, 16); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3168); var$5[1] = $rt_s(3161); var$5[2] = $rt_s(3168); var$5[3] = jl_Character_valueOf(88); var$5[4] = nms_Item_ingotIron; var$5[5] = jl_Character_valueOf(35); var$5[6] = nms_Item_stick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_railPowered, 6); var$3 = $rt_createArray(jl_Object, 9); var$5 = var$3.data; var$5[0] = $rt_s(3168); var$5[1] = $rt_s(3161); var$5[2] = $rt_s(3169); var$5[3] = jl_Character_valueOf(88); var$5[4] = nms_Item_ingotGold; var$5[5] = jl_Character_valueOf(82); var$5[6] = nms_Item_redstone; var$5[7] = jl_Character_valueOf(35); var$5[8] = nms_Item_stick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_railActivator, 6); var$3 = $rt_createArray(jl_Object, 9); var$5 = var$3.data; var$5[0] = $rt_s(3170); var$5[1] = $rt_s(3161); var$5[2] = $rt_s(3170); var$5[3] = jl_Character_valueOf(88); var$5[4] = nms_Item_ingotIron; var$5[5] = jl_Character_valueOf(35); var$5[6] = nms_Block_torchRedstoneActive; var$5[7] = jl_Character_valueOf(83); var$5[8] = nms_Item_stick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_railDetector, 6); var$3 = $rt_createArray(jl_Object, 9); var$5 = var$3.data; var$5[0] = $rt_s(3168); var$5[1] = $rt_s(3161); var$5[2] = $rt_s(3169); var$5[3] = jl_Character_valueOf(88); var$5[4] = nms_Item_ingotIron; var$5[5] = jl_Character_valueOf(82); var$5[6] = nms_Item_redstone; var$5[7] = jl_Character_valueOf(35); var$5[8] = nms_Block_pressurePlateStone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_minecartEmpty, 1); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3162); var$5[1] = $rt_s(3153); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Item_ingotIron; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_cauldron, 1); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3162); var$5[1] = $rt_s(3162); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Item_ingotIron; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_brewingStand, 1); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(3171); var$5[1] = $rt_s(3153); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Block_cobblestone; var$5[4] = jl_Character_valueOf(66); var$5[5] = nms_Item_blazeRod; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_pumpkinLantern, 1); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(252); var$5[1] = $rt_s(270); var$5[2] = jl_Character_valueOf(65); var$5[3] = nms_Block_pumpkin; var$5[4] = jl_Character_valueOf(66); var$5[5] = nms_Block_torchWood; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_minecartCrate, 1); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(252); var$5[1] = $rt_s(270); var$5[2] = jl_Character_valueOf(65); var$5[3] = nms_Block_chest; var$5[4] = jl_Character_valueOf(66); var$5[5] = nms_Item_minecartEmpty; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_minecartPowered, 1); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(252); var$5[1] = $rt_s(270); var$5[2] = jl_Character_valueOf(65); var$5[3] = nms_Block_furnaceIdle; var$5[4] = jl_Character_valueOf(66); var$5[5] = nms_Item_minecartEmpty; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_minecartTnt, 1); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(252); var$5[1] = $rt_s(270); var$5[2] = jl_Character_valueOf(65); var$5[3] = nms_Block_tnt; var$5[4] = jl_Character_valueOf(66); var$5[5] = nms_Item_minecartEmpty; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_minecartHopper, 1); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(252); var$5[1] = $rt_s(270); var$5[2] = jl_Character_valueOf(65); var$5[3] = nms_Block_hopperBlock; var$5[4] = jl_Character_valueOf(66); var$5[5] = nms_Item_minecartEmpty; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_boat, 1); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3162); var$5[1] = $rt_s(3153); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Block_planks; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_bucketEmpty, 1); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3162); var$5[1] = $rt_s(3167); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Item_ingotIron; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_flowerPot, 1); var$3 = $rt_createArray(jl_Object, 4); var$5 = var$3.data; var$5[0] = $rt_s(3162); var$5[1] = $rt_s(3167); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Item_brick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_flintAndSteel, 1); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(3172); var$5[1] = $rt_s(3173); var$5[2] = jl_Character_valueOf(65); var$5[3] = nms_Item_ingotIron; var$5[4] = jl_Character_valueOf(66); var$5[5] = nms_Item_flint; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_bread, 1); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Item_wheat; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_stairsWoodOak, 4); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3174); var$5[1] = $rt_s(3175); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_ItemStack__init_1(nms_Block_planks, 1, 0); nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_stairsWoodBirch, 4); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3174); var$5[1] = $rt_s(3175); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_ItemStack__init_1(nms_Block_planks, 1, 2); nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_stairsWoodSpruce, 4); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3174); var$5[1] = $rt_s(3175); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_ItemStack__init_1(nms_Block_planks, 1, 1); nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_stairsWoodJungle, 4); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3174); var$5[1] = $rt_s(3175); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_ItemStack__init_1(nms_Block_planks, 1, 3); nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_fishingRod, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3176); var$5[1] = $rt_s(3177); var$5[2] = $rt_s(3178); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Item_stick; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_silk; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_carrotOnAStick, 1); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(3179); var$5[1] = $rt_s(3180); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Item_fishingRod; var$5[4] = jl_Character_valueOf(88); var$5[5] = nms_Item_carrot; nms_ShapedRecipes_func_92100_c(nms_CraftingManager_addRecipe($this, var$1, var$3)); var$1 = nms_ItemStack__init_(nms_Block_stairsCobblestone, 4); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3174); var$5[1] = $rt_s(3175); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_cobblestone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_stairsBrick, 4); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3174); var$5[1] = $rt_s(3175); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_brick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_stairsStoneBrick, 4); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3174); var$5[1] = $rt_s(3175); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_stoneBrick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_stairsNetherBrick, 4); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3174); var$5[1] = $rt_s(3175); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_netherBrick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_stairsSandStone, 4); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3174); var$5[1] = $rt_s(3175); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_sandStone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_stairsNetherQuartz, 4); var$3 = $rt_createArray(jl_Object, 5); var$5 = var$3.data; var$5[0] = $rt_s(3174); var$5[1] = $rt_s(3175); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_blockNetherQuartz; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_painting, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Item_stick; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Block_cloth; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_itemFrame, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Item_stick; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_leather; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_2(nms_Item_appleGold, 1, 0); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Item_ingotGold; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_appleRed; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_2(nms_Item_appleGold, 1, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_blockGold; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_appleRed; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_2(nms_Item_goldenCarrot, 1, 0); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Item_goldNugget; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_carrot; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_speckledMelon, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Item_goldNugget; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_melon; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_lever, 1); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(267); var$5[1] = $rt_s(1402); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Block_cobblestone; var$5[4] = jl_Character_valueOf(88); var$5[5] = nms_Item_stick; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_tripWireSource, 2); var$3 = $rt_createArray(jl_Object, 9); var$5 = var$3.data; var$5[0] = $rt_s(245); var$5[1] = $rt_s(253); var$5[2] = $rt_s(1402); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_planks; var$5[5] = jl_Character_valueOf(83); var$5[6] = nms_Item_stick; var$5[7] = jl_Character_valueOf(73); var$5[8] = nms_Item_ingotIron; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_torchRedstoneActive, 1); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(267); var$5[1] = $rt_s(1402); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Item_stick; var$5[4] = jl_Character_valueOf(88); var$5[5] = nms_Item_redstone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_redstoneRepeater, 1); var$3 = $rt_createArray(jl_Object, 8); var$5 = var$3.data; var$5[0] = $rt_s(3155); var$5[1] = $rt_s(3181); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Block_torchRedstoneActive; var$5[4] = jl_Character_valueOf(88); var$5[5] = nms_Item_redstone; var$5[6] = jl_Character_valueOf(73); var$5[7] = nms_Block_stone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_comparator, 1); var$3 = $rt_createArray(jl_Object, 9); var$5 = var$3.data; var$5[0] = $rt_s(3167); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3181); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_torchRedstoneActive; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_netherQuartz; var$5[7] = jl_Character_valueOf(73); var$5[8] = nms_Block_stone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_pocketSundial, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3167); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3167); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Item_ingotGold; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_redstone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_compass, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3167); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3167); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Item_ingotIron; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_redstone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_emptyMap, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Item_paper; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_compass; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_stoneButton, 1); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(1402); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Block_stone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_woodenButton, 1); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(1402); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Block_planks; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_pressurePlateStone, 1); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3160); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Block_stone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_pressurePlatePlanks, 1); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3160); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Block_planks; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_pressurePlateIron, 1); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3160); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Item_ingotIron; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_pressurePlateGold, 1); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = $rt_s(3160); var$5[1] = jl_Character_valueOf(35); var$5[2] = nms_Item_ingotGold; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_dispenser, 1); var$3 = $rt_createArray(jl_Object, 9); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3182); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_cobblestone; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_bow; var$5[7] = jl_Character_valueOf(82); var$5[8] = nms_Item_redstone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_dropper, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3162); var$5[2] = $rt_s(3182); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_cobblestone; var$5[5] = jl_Character_valueOf(82); var$5[6] = nms_Item_redstone; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_pistonBase, 1); var$3 = $rt_createArray(jl_Object, 11); var$5 = var$3.data; var$5[0] = $rt_s(3183); var$5[1] = $rt_s(3155); var$5[2] = $rt_s(3182); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_cobblestone; var$5[5] = jl_Character_valueOf(88); var$5[6] = nms_Item_ingotIron; var$5[7] = jl_Character_valueOf(82); var$5[8] = nms_Item_redstone; var$5[9] = jl_Character_valueOf(84); var$5[10] = nms_Block_planks; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_pistonStickyBase, 1); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(253); var$5[1] = $rt_s(247); var$5[2] = jl_Character_valueOf(83); var$5[3] = nms_Item_slimeBall; var$5[4] = jl_Character_valueOf(80); var$5[5] = nms_Block_pistonBase; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_bed, 1); var$3 = $rt_createArray(jl_Object, 6); var$5 = var$3.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3159); var$5[2] = jl_Character_valueOf(35); var$5[3] = nms_Block_cloth; var$5[4] = jl_Character_valueOf(88); var$5[5] = nms_Block_planks; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_enchantmentTable, 1); var$3 = $rt_createArray(jl_Object, 9); var$5 = var$3.data; var$5[0] = $rt_s(3171); var$5[1] = $rt_s(3184); var$5[2] = $rt_s(3153); var$5[3] = jl_Character_valueOf(35); var$5[4] = nms_Block_obsidian; var$5[5] = jl_Character_valueOf(66); var$5[6] = nms_Item_book; var$5[7] = jl_Character_valueOf(68); var$5[8] = nms_Item_diamond; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_(nms_Block_anvil, 1); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3181); var$5[1] = $rt_s(3185); var$5[2] = $rt_s(3186); var$5[3] = jl_Character_valueOf(73); var$5[4] = nms_Block_blockIron; var$5[5] = jl_Character_valueOf(105); var$5[6] = nms_Item_ingotIron; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_eyeOfEnder, 1); var$3 = $rt_createArray(jl_Object, 2); var$5 = var$3.data; var$5[0] = nms_Item_enderPearl; var$5[1] = nms_Item_blazePowder; nms_CraftingManager_addShapelessRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_fireballCharge, 3); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = nms_Item_gunpowder; var$5[1] = nms_Item_blazePowder; var$5[2] = nms_Item_coal; nms_CraftingManager_addShapelessRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_0(nms_Item_fireballCharge, 3); var$3 = $rt_createArray(jl_Object, 3); var$5 = var$3.data; var$5[0] = nms_Item_gunpowder; var$5[1] = nms_Item_blazePowder; var$5[2] = nms_ItemStack__init_2(nms_Item_coal, 1, 1); nms_CraftingManager_addShapelessRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_7(nms_Block_daylightSensor); var$3 = $rt_createArray(jl_Object, 9); var$5 = var$3.data; var$5[0] = $rt_s(3187); var$5[1] = $rt_s(3188); var$5[2] = $rt_s(3189); var$5[3] = jl_Character_valueOf(71); var$5[4] = nms_Block_glass; var$5[5] = jl_Character_valueOf(81); var$5[6] = nms_Item_netherQuartz; var$5[7] = jl_Character_valueOf(87); var$5[8] = nms_Block_woodSingleSlab; nms_CraftingManager_addRecipe($this, var$1, var$3); var$1 = nms_ItemStack__init_7(nms_Block_hopperBlock); var$3 = $rt_createArray(jl_Object, 7); var$5 = var$3.data; var$5[0] = $rt_s(3190); var$5[1] = $rt_s(3191); var$5[2] = $rt_s(3192); var$5[3] = jl_Character_valueOf(73); var$5[4] = nms_Item_ingotIron; var$5[5] = jl_Character_valueOf(67); var$5[6] = nms_Block_chest; nms_CraftingManager_addRecipe($this, var$1, var$3); ju_Collections_sort($this.$recipes, nms_RecipeSorter__init_($this)); }, nms_CraftingManager__init_0 = () => { let var_0 = new nms_CraftingManager(); nms_CraftingManager__init_(var_0); return var_0; }, nms_CraftingManager_addRecipe = ($this, $par1ItemStack, $par2ArrayOfObj) => { let $var14, $var3, $var4, $var5, $var6, var$8, $var8, $var11, $var17, $var7, $var9, var$14, $var16, $var12, var$17, $var13, $var15, $var10, var$21, var$22, var$23; a: { $var14 = $par2ArrayOfObj.data; $var3 = $rt_s(18); $var4 = 0; $var5 = 0; $var6 = 0; if (!$rt_isInstance($var14[$var4], $rt_arraycls(jl_String))) { while (true) { if (!($var14[$var4] instanceof jl_String)) { var$8 = $var4; break a; } $var8 = $var4 + 1 | 0; $var11 = $var14[$var4]; $var6 = $var6 + 1 | 0; $var5 = $var11.$nativeString.length; $var17 = new jl_StringBuilder; $var17.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var17, $var17.$length0, $var3); jl_AbstractStringBuilder_insert($var17, $var17.$length0, $var11); $var3 = new jl_String; $par2ArrayOfObj = $var17.$buffer; $var7 = $par2ArrayOfObj.data; $var4 = $var17.$length0; var$8 = $var7.length; if ($var4 < 0) break; if ($var4 > (var$8 - 0 | 0)) break; $var3.$nativeString = $rt_charArrayToString($par2ArrayOfObj.data, 0, $var4); $var4 = $var8; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } var$8 = 1; $var7 = $var14[$var4]; $var8 = 0; while (true) { $par2ArrayOfObj = $var7.data; if ($var8 >= $par2ArrayOfObj.length) break a; $var9 = $par2ArrayOfObj[$var8]; $var6 = $var6 + 1 | 0; $var5 = $var9.$nativeString.length; $var17 = new jl_StringBuilder; $var17.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var17, $var17.$length0, $var3); jl_AbstractStringBuilder_insert($var17, $var17.$length0, $var9.$toString()); $var3 = new jl_String; $par2ArrayOfObj = $var17.$buffer; var$14 = $par2ArrayOfObj.data; $var4 = $var17.$length0; $var16 = var$14.length; if ($var4 < 0) break; if ($var4 > ($var16 - 0 | 0)) break; $var3.$nativeString = $rt_charArrayToString($par2ArrayOfObj.data, 0, $var4); $var8 = $var8 + 1 | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $var12 = new ju_HashMap; var$17 = ju_HashMap_calculateCapacity(16); $var12.$elementCount = 0; $var7 = $rt_createArray(ju_HashMap$HashEntry, var$17); $par2ArrayOfObj = $var7.data; $var12.$elementData = $var7; $var12.$loadFactor = 0.75; $var12.$threshold = $par2ArrayOfObj.length * 0.75 | 0; while (var$8 < $var14.length) { $var13 = $var14[var$8]; $var15 = null; var$17 = var$8 + 1 | 0; if ($var14[var$17] instanceof nms_Item) { $var15 = new nms_ItemStack; $var17 = $var14[var$17]; nms_ItemStack_$callClinit(); $var15.$itemID = $var17.$itemID0; $var15.$stackSize = 1; $var15.$itemDamage = 0; } else if ($var14[var$17] instanceof nms_Block) { $var15 = new nms_ItemStack; $var17 = $var14[var$17]; nms_ItemStack_$callClinit(); $var15.$itemID = $var17.$blockID; $var15.$stackSize = 1; $var15.$itemDamage = 32767; } else if ($var14[var$17] instanceof nms_ItemStack) $var15 = $var14[var$17]; ju_HashMap_putImpl($var12, $var13, $var15); var$8 = var$8 + 2 | 0; } $var8 = $rt_imul($var5, $var6); $var14 = $rt_createArray(nms_ItemStack, $var8); var$14 = $var14.data; $var16 = 0; while (true) { if ($var16 >= $var8) { $var17 = new nms_ShapedRecipes; $var17.$recipeOutputItemID = $par1ItemStack.$itemID; $var17.$recipeWidth = $var5; $var17.$recipeHeight = $var6; $var17.$recipeItems = $var14; $var17.$recipeOutput = $par1ItemStack; $par1ItemStack = $this.$recipes; ju_ArrayList_ensureCapacity($par1ItemStack, $par1ItemStack.$size0 + 1 | 0); $par2ArrayOfObj = $par1ItemStack.$array.data; $var4 = $par1ItemStack.$size0; $par1ItemStack.$size0 = $var4 + 1 | 0; $par2ArrayOfObj[$var4] = $var17; $par1ItemStack.$modCount = $par1ItemStack.$modCount + 1 | 0; return $var17; } if ($var16 < 0) break; if ($var16 >= $var3.$nativeString.length) break; $var10 = $var3.$nativeString.charCodeAt($var16); $var7 = jl_Character_characterCache.data; var$21 = $rt_compare($var10, $var7.length); if (var$21 >= 0) { $var17 = new jl_Character; $var17.$value5 = $var10; } else { $var17 = $var7[$var10]; if ($var17 === null) { $var17 = new jl_Character; $var17.$value5 = $var10; $var7[$var10] = $var17; } } $var4 = $var17.$value5; $par2ArrayOfObj = $var12.$elementData.data; var$8 = $par2ArrayOfObj.length - 1 | 0; $var9 = $par2ArrayOfObj[$var4 & var$8]; while ($var9 !== null) { if ($var9.$origKeyHash == $var4) { $var11 = $var9.$key; if ($var17 !== $var11 && !($var17 === $var11 ? 1 : $var11 instanceof jl_Character && $var11.$value5 == $var4 ? 1 : 0) ? 0 : 1) break; } $var9 = $var9.$next3; } if (!($var9 === null ? 0 : 1)) var$14[$var16] = null; else { if (var$21 >= 0) { $var17 = new jl_Character; $var17.$value5 = $var10; } else { $var17 = $var7[$var10]; if ($var17 === null) { $var17 = new jl_Character; $var17.$value5 = $var10; $var7[$var10] = $var17; } } $var4 = $var17.$value5; $var9 = $par2ArrayOfObj[$var4 & var$8]; while ($var9 !== null) { if ($var9.$origKeyHash == $var4) { $var11 = $var9.$key; if ($var17 !== $var11 && !($var17 === $var11 ? 1 : $var11 instanceof jl_Character && $var11.$value5 == $var4 ? 1 : 0) ? 0 : 1) break; } $var9 = $var9.$next3; } $var9 = $var9 === null ? null : $var9.$value1; $var17 = new nms_ItemStack; var$17 = $var9.$itemID; $var4 = $var9.$stackSize; var$8 = $var9.$itemDamage; nms_ItemStack_$callClinit(); $var17.$itemID = var$17; $var17.$stackSize = $var4; $var17.$itemDamage = var$8; if (var$8 < 0) $var17.$itemDamage = 0; $var9 = $var9.$stackTagCompound; if ($var9 !== null) { $var11 = new nms_NBTTagCompound; $var13 = $var9.$name; if ($var13 === null) $var13 = $rt_s(18); $var11.$name = $var13; $var13 = new ju_HashMap; var$17 = ju_HashMap_calculateCapacity(16); $var13.$elementCount = 0; $var7 = $rt_createArray(ju_HashMap$HashEntry, var$17); $par2ArrayOfObj = $var7.data; $var13.$elementData = $var7; $var13.$loadFactor = 0.75; $var13.$threshold = $par2ArrayOfObj.length * 0.75 | 0; $var11.$tagMap = $var13; $var15 = $var9.$tagMap; if ($var15.$cachedKeySet === null) { $var13 = new ju_HashMap$1; $var13.$this$0 = $var15; $var15.$cachedKeySet = $var13; } var$22 = $var15.$cachedKeySet.$iterator(); while (var$22.$hasNext()) { var$23 = var$22.$next(); $var13 = $var9.$tagMap; if (var$23 === null) { $var13 = $var13.$elementData.data[0]; while ($var13 !== null && $var13.$key !== null) { $var13 = $var13.$next3; } } else { b: { if (!var$23.$hashCode1) { var$17 = 0; while (true) { if (var$17 >= var$23.$nativeString.length) break b; var$23.$hashCode1 = (31 * var$23.$hashCode1 | 0) + var$23.$nativeString.charCodeAt(var$17) | 0; var$17 = var$17 + 1 | 0; } } } $var4 = var$23.$hashCode1; $par2ArrayOfObj = $var13.$elementData.data; $var13 = $par2ArrayOfObj[$var4 & ($par2ArrayOfObj.length - 1 | 0)]; while ($var13 !== null) { if ($var13.$origKeyHash == $var4) { c: { $var15 = $var13.$key; if (var$23 !== $var15) { if (var$23 === $var15) var$17 = 1; else if (!($var15 instanceof jl_String)) var$17 = 0; else { $var15 = $var15; var$17 = var$23.$nativeString !== $var15.$nativeString ? 0 : 1; } if (!var$17) { var$17 = 0; break c; } } var$17 = 1; } if (var$17) break; } $var13 = $var13.$next3; } } $var13 = $var13 === null ? null : $var13.$value1; $var13 = $var13.$copy(); $var15 = $var11.$tagMap; if (var$23 !== null) $var13.$name = var$23; else $var13.$name = $rt_s(18); ju_HashMap_putImpl($var15, var$23, $var13); } $var17.$stackTagCompound = $var11; } var$14[$var16] = $var17; } $var16 = $var16 + 1 | 0; } $par1ItemStack = new jl_StringIndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); }, nms_CraftingManager_addShapelessRecipe = ($this, $par1ItemStack, $par2ArrayOfObj) => { let var$3, $var3, $var5, $var6, $var7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17; var$3 = $par2ArrayOfObj.data; $var3 = new ju_ArrayList; $var3.$array = $rt_createArray(jl_Object, 10); $var5 = var$3.length; $var6 = 0; while (true) { if ($var6 >= $var5) { $var7 = $this.$recipes; var$8 = new nms_ShapelessRecipes; var$8.$recipeOutput0 = $par1ItemStack; var$8.$recipeItems2 = $var3; ju_ArrayList_ensureCapacity($var7, $var7.$size0 + 1 | 0); $par2ArrayOfObj = $var7.$array.data; var$9 = $var7.$size0; $var7.$size0 = var$9 + 1 | 0; $par2ArrayOfObj[var$9] = var$8; $var7.$modCount = $var7.$modCount + 1 | 0; return; } $var7 = var$3[$var6]; if (!($var7 instanceof nms_ItemStack)) { if ($var7 instanceof nms_Item) { var$8 = new nms_ItemStack; $var7 = $var7; nms_ItemStack_$callClinit(); var$8.$itemID = $var7.$itemID0; var$8.$stackSize = 1; var$8.$itemDamage = 0; ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); $par2ArrayOfObj = $var3.$array.data; var$9 = $var3.$size0; $var3.$size0 = var$9 + 1 | 0; $par2ArrayOfObj[var$9] = var$8; $var3.$modCount = $var3.$modCount + 1 | 0; } else { if (!($var7 instanceof nms_Block)) break; var$8 = new nms_ItemStack; $var7 = $var7; nms_ItemStack_$callClinit(); var$8.$itemID = $var7.$blockID; var$8.$stackSize = 1; var$8.$itemDamage = 0; ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); $par2ArrayOfObj = $var3.$array.data; var$9 = $var3.$size0; $var3.$size0 = var$9 + 1 | 0; $par2ArrayOfObj[var$9] = var$8; $var3.$modCount = $var3.$modCount + 1 | 0; } } else { var$8 = $var7; $var7 = new nms_ItemStack; var$10 = var$8.$itemID; var$9 = var$8.$stackSize; var$11 = var$8.$itemDamage; nms_ItemStack_$callClinit(); $var7.$itemID = var$10; $var7.$stackSize = var$9; $var7.$itemDamage = var$11; if (var$11 < 0) $var7.$itemDamage = 0; var$8 = var$8.$stackTagCompound; if (var$8 !== null) { var$12 = new nms_NBTTagCompound; var$13 = var$8.$name; if (var$13 === null) var$13 = $rt_s(18); var$12.$name = var$13; var$13 = new ju_HashMap; var$10 = ju_HashMap_calculateCapacity(16); var$13.$elementCount = 0; var$14 = $rt_createArray(ju_HashMap$HashEntry, var$10); $par2ArrayOfObj = var$14.data; var$13.$elementData = var$14; var$13.$loadFactor = 0.75; var$13.$threshold = $par2ArrayOfObj.length * 0.75 | 0; var$12.$tagMap = var$13; var$15 = var$8.$tagMap; if (var$15.$cachedKeySet === null) { var$13 = new ju_HashMap$1; var$13.$this$0 = var$15; var$15.$cachedKeySet = var$13; } var$13 = var$15.$cachedKeySet.$iterator(); while (var$13.$hasNext()) { var$15 = var$13.$next(); var$16 = var$8.$tagMap; if (var$15 === null) { var$16 = var$16.$elementData.data[0]; while (var$16 !== null && var$16.$key !== null) { var$16 = var$16.$next3; } } else { a: { if (!var$15.$hashCode1) { var$10 = 0; while (true) { if (var$10 >= var$15.$nativeString.length) break a; var$15.$hashCode1 = (31 * var$15.$hashCode1 | 0) + var$15.$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$11 = var$15.$hashCode1; $par2ArrayOfObj = var$16.$elementData.data; var$16 = $par2ArrayOfObj[var$11 & ($par2ArrayOfObj.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == var$11) { b: { var$17 = var$16.$key; if (var$15 !== var$17) { if (var$15 === var$17) var$10 = 1; else if (!(var$17 instanceof jl_String)) var$10 = 0; else { var$17 = var$17; var$10 = var$15.$nativeString !== var$17.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break b; } } var$10 = 1; } if (var$10) break; } var$16 = var$16.$next3; } } var$16 = var$16 === null ? null : var$16.$value1; var$16 = var$16.$copy(); var$17 = var$12.$tagMap; if (var$15 !== null) var$16.$name = var$15; else var$16.$name = $rt_s(18); ju_HashMap_putImpl(var$17, var$15, var$16); } $var7.$stackTagCompound = var$12; } ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); $par2ArrayOfObj = $var3.$array.data; var$9 = $var3.$size0; $var3.$size0 = var$9 + 1 | 0; $par2ArrayOfObj[var$9] = $var7; $var3.$modCount = $var3.$modCount + 1 | 0; } $var6 = $var6 + 1 | 0; } $par1ItemStack = new jl_RuntimeException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $par1ItemStack.$message = $rt_s(3193); $rt_throw($par1ItemStack); }, nms_CraftingManager_findMatchingRecipe = ($this, $par1InventoryCrafting, $par2World) => { let $var3, $var4, $var5, $var6, var$7, var$8, $var7, $var10, $var12; $var3 = 0; $var4 = null; $var5 = null; $var6 = 0; while (true) { var$7 = $par1InventoryCrafting.$stackList.data; var$8 = $rt_compare($var6, var$7.length); if (var$8 >= 0) break; $var7 = var$8 < 0 ? var$7[$var6] : null; if ($var7 !== null) { if (!$var3) $var4 = $var7; if ($var3 == 1) $var5 = $var7; $var3 = $var3 + 1 | 0; } $var6 = $var6 + 1 | 0; } if ($var3 == 2) { $var3 = $var4.$itemID; if ($var3 == $var5.$itemID && $var4.$stackSize == 1 && $var5.$stackSize == 1) { nms_Item_$callClinit(); var$7 = nms_Item_itemsList.data; $var7 = var$7[$var3]; if ($var7.$maxDamage > 0 && !$var7.$hasSubtypes ? 1 : 0) { var$8 = var$7[$var3].$maxDamage; $var10 = var$8 - (((var$8 - $var4.$itemDamage | 0) + (var$8 - $var5.$itemDamage | 0) | 0) + ((var$8 * 5 | 0) / 100 | 0) | 0) | 0; if ($var10 < 0) $var10 = 0; $par1InventoryCrafting = new nms_ItemStack; nms_ItemStack_$callClinit(); $par1InventoryCrafting.$itemID = $var3; $par1InventoryCrafting.$stackSize = 1; $par1InventoryCrafting.$itemDamage = $var10; if ($var10 < 0) $par1InventoryCrafting.$itemDamage = 0; return $par1InventoryCrafting; } } } $var3 = 0; a: { while (true) { $var7 = $this.$recipes; var$8 = $rt_compare($var3, $var7.$size0); if (var$8 >= 0) break; if ($var3 < 0) break a; if (var$8 >= 0) break a; $var12 = $var7.$array.data[$var3]; if ($var12.$matches0($par1InventoryCrafting, $par2World)) return $var12.$getCraftingResult($par1InventoryCrafting); $var3 = $var3 + 1 | 0; } return null; } $par1InventoryCrafting = new jl_IndexOutOfBoundsException; $par1InventoryCrafting.$suppressionEnabled = 1; $par1InventoryCrafting.$writableStackTrace = 1; $rt_throw($par1InventoryCrafting); }, nms_CraftingManager__clinit_ = () => { nms_CraftingManager_instance = nms_CraftingManager__init_0(); }; function nms_FurnaceRecipes() { let a = this; jl_Object.call(a); a.$smeltingList = null; a.$experienceList = null; } let nms_FurnaceRecipes_smeltingBase = null, nms_FurnaceRecipes_$callClinit = () => { nms_FurnaceRecipes_$callClinit = $rt_eraseClinit(nms_FurnaceRecipes); nms_FurnaceRecipes__clinit_(); }, nms_FurnaceRecipes__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_FurnaceRecipes_$callClinit(); var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$smeltingList = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$experienceList = var$1; nms_Block_$callClinit(); var$2 = nms_Block_oreIron.$blockID; var$5 = new nms_ItemStack; nms_Item_$callClinit(); var$1 = nms_Item_ingotIron; nms_ItemStack_$callClinit(); var$5.$itemID = var$1.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; var$1 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$1, var$6, var$5); var$1 = $this.$experienceList; var$2 = var$5.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.699999988079071; ju_HashMap_putImpl(var$1, var$5, var$6); var$2 = nms_Block_oreGold.$blockID; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_ingotGold.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 1.0; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Block_oreDiamond.$blockID; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_diamond.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 1.0; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Block_sand.$blockID; var$1 = new nms_ItemStack; var$1.$itemID = nms_Block_glass.$blockID; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.10000000149011612; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Item_porkRaw.$itemID0; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_porkCooked.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.3499999940395355; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Item_beefRaw.$itemID0; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_beefCooked.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.3499999940395355; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Item_chickenRaw.$itemID0; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_chickenCooked.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.3499999940395355; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Item_fishRaw.$itemID0; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_fishCooked.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.3499999940395355; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Block_cobblestone.$blockID; var$1 = new nms_ItemStack; var$1.$itemID = nms_Block_stone.$blockID; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.10000000149011612; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Item_clay.$itemID0; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_brick.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.30000001192092896; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Block_blockClay.$blockID; var$1 = new nms_ItemStack; var$1.$itemID = nms_Block_hardenedClay.$blockID; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.3499999940395355; ju_HashMap_putImpl(var$5, var$1, var$6); var$7 = nms_Block_cactus.$blockID; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_dyePowder.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 2; var$5 = $this.$smeltingList; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$7; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.20000000298023224; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Block_wood.$blockID; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_coal.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 1; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$8 = var$1.$itemID; if (var$8 >= (-128) && var$8 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$8 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$8; } var$6 = new jl_Float; var$6.$value3 = 0.15000000596046448; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Block_oreEmerald.$blockID; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_emerald.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 1.0; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Item_potato.$itemID0; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_bakedPotato.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.3499999940395355; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Block_netherrack.$blockID; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_netherrackBrick.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.10000000149011612; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Block_oreCoal.$blockID; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_coal.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.10000000149011612; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Block_oreRedstone.$blockID; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_redstone.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.699999988079071; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Block_oreLapis.$blockID; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_dyePowder.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 4; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.20000000298023224; ju_HashMap_putImpl(var$5, var$1, var$6); var$2 = nms_Block_oreNetherQuartz.$blockID; var$1 = new nms_ItemStack; var$1.$itemID = nms_Item_netherQuartz.$itemID0; var$1.$stackSize = 1; var$1.$itemDamage = 0; var$5 = $this.$smeltingList; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$2; } ju_HashMap_putImpl(var$5, var$6, var$1); var$5 = $this.$experienceList; var$2 = var$1.$itemID; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$1 = new jl_Integer; var$1.$value0 = var$2; } var$6 = new jl_Float; var$6.$value3 = 0.20000000298023224; ju_HashMap_putImpl(var$5, var$1, var$6); }, nms_FurnaceRecipes__init_0 = () => { let var_0 = new nms_FurnaceRecipes(); nms_FurnaceRecipes__init_(var_0); return var_0; }, nms_FurnaceRecipes__clinit_ = () => { nms_FurnaceRecipes_smeltingBase = nms_FurnaceRecipes__init_0(); }, nms_IRecipe = $rt_classWithoutFields(0); function nleg_StreamBuffer$StreamBufferInstance() { let a = this; jl_Object.call(a); a.$poolInstance = null; a.$vertexArray = null; a.$bindQuad16 = 0; a.$bindQuad32 = 0; } let nleg_StreamBuffer$StreamBufferInstance__init_ = $this => { $this.$poolInstance = null; $this.$vertexArray = null; $this.$bindQuad16 = 0; $this.$bindQuad32 = 0; }, nleg_StreamBuffer$StreamBufferInstance__init_0 = () => { let var_0 = new nleg_StreamBuffer$StreamBufferInstance(); nleg_StreamBuffer$StreamBufferInstance__init_(var_0); return var_0; }, nms_IRegistry = $rt_classWithoutFields(0); function nms_RegistrySimple() { jl_Object.call(this); this.$registryObjects = null; } let nms_RegistrySimple__init_ = $this => { $this.$registryObjects = nms_RegistrySimple_func_111054_a($this); }, nms_RegistrySimple__init_0 = () => { let var_0 = new nms_RegistrySimple(); nms_RegistrySimple__init_(var_0); return var_0; }, nms_RegistrySimple_func_111054_a = $this => { let var$1, var$2, var$3, var$4; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; return var$1; }; function nms_RegistryDefaulted() { nms_RegistrySimple.call(this); this.$defaultObject = null; } let jt_DecimalFormat$FormatField = $rt_classWithoutFields(0); function jt_DecimalFormat$TextField() { jl_Object.call(this); this.$text0 = null; } let jt_DecimalFormat$TextField_render = ($this, $format, $buffer) => { $format = $this.$text0; jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $format); }, jt_DecimalFormat$TextField_equals = ($this, $obj) => { let $other, var$3; if ($this === $obj) return 1; if (!($obj instanceof jt_DecimalFormat$TextField)) return 0; $other = $obj; $obj = $this.$text0; $other = $other.$text0; if ($obj === $other) var$3 = 1; else if (!($other instanceof jl_String)) var$3 = 0; else { $other = $other; var$3 = $obj.$nativeString !== $other.$nativeString ? 0 : 1; } return var$3; }, jt_DecimalFormat$TextField_hashCode = $this => { let var$1, var$2; a: { var$1 = $this.$text0; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } return var$1.$hashCode1; }, ju_Enumeration = $rt_classWithoutFields(0), ju_Hashtable$1 = $rt_classWithoutFields(), ju_Hashtable$1__init_ = $this => { return; }, ju_Hashtable$1__init_0 = () => { let var_0 = new ju_Hashtable$1(); ju_Hashtable$1__init_(var_0); return var_0; }, ju_Hashtable$2 = $rt_classWithoutFields(), ju_Hashtable$2__init_ = $this => { return; }, ju_Hashtable$2__init_0 = () => { let var_0 = new ju_Hashtable$2(); ju_Hashtable$2__init_(var_0); return var_0; }; function jm_RoundingMode() { jl_Enum.call(this); this.$bigDecimalRM = 0; } let jm_RoundingMode_UP = null, jm_RoundingMode_DOWN = null, jm_RoundingMode_CEILING = null, jm_RoundingMode_FLOOR = null, jm_RoundingMode_HALF_UP = null, jm_RoundingMode_HALF_DOWN = null, jm_RoundingMode_HALF_EVEN = null, jm_RoundingMode_UNNECESSARY = null, jm_RoundingMode_$VALUES = null, jm_RoundingMode_$values = () => { let var$1, var$2; var$1 = $rt_createArray(jm_RoundingMode, 8); var$2 = var$1.data; var$2[0] = jm_RoundingMode_UP; var$2[1] = jm_RoundingMode_DOWN; var$2[2] = jm_RoundingMode_CEILING; var$2[3] = jm_RoundingMode_FLOOR; var$2[4] = jm_RoundingMode_HALF_UP; var$2[5] = jm_RoundingMode_HALF_DOWN; var$2[6] = jm_RoundingMode_HALF_EVEN; var$2[7] = jm_RoundingMode_UNNECESSARY; return var$1; }, jm_RoundingMode__clinit_ = () => { let var$1; var$1 = new jm_RoundingMode; var$1.$name0 = $rt_s(338); var$1.$ordinal = 0; var$1.$bigDecimalRM = 0; jm_RoundingMode_UP = var$1; var$1 = new jm_RoundingMode; var$1.$name0 = $rt_s(343); var$1.$ordinal = 1; var$1.$bigDecimalRM = 1; jm_RoundingMode_DOWN = var$1; var$1 = new jm_RoundingMode; var$1.$name0 = $rt_s(3194); var$1.$ordinal = 2; var$1.$bigDecimalRM = 2; jm_RoundingMode_CEILING = var$1; var$1 = new jm_RoundingMode; var$1.$name0 = $rt_s(3195); var$1.$ordinal = 3; var$1.$bigDecimalRM = 3; jm_RoundingMode_FLOOR = var$1; var$1 = new jm_RoundingMode; var$1.$name0 = $rt_s(3196); var$1.$ordinal = 4; var$1.$bigDecimalRM = 4; jm_RoundingMode_HALF_UP = var$1; var$1 = new jm_RoundingMode; var$1.$name0 = $rt_s(3197); var$1.$ordinal = 5; var$1.$bigDecimalRM = 5; jm_RoundingMode_HALF_DOWN = var$1; var$1 = new jm_RoundingMode; var$1.$name0 = $rt_s(3198); var$1.$ordinal = 6; var$1.$bigDecimalRM = 6; jm_RoundingMode_HALF_EVEN = var$1; var$1 = new jm_RoundingMode; var$1.$name0 = $rt_s(3199); var$1.$ordinal = 7; var$1.$bigDecimalRM = 7; jm_RoundingMode_UNNECESSARY = var$1; jm_RoundingMode_$VALUES = jm_RoundingMode_$values(); }; function ju_Currency() { jl_Object.call(this); this.$resource = null; } let ju_Currency_currencies = null, ju_Currency_initCurrencies = () => { let $resources, $i, $resource, var$4, var$5, var$6; if (ju_Currency_currencies !== null) return; ju_Currency_currencies = ju_HashMap__init_(); if (otcic_CurrencyHelper_$$metadata$$0 === null) otcic_CurrencyHelper_$$metadata$$0 = otcic_CurrencyHelper_getCurrencies$$create(); $resources = otcic_CurrencyHelper_$$metadata$$0; $i = 0; while ($i < $resources.length) { $resource = $resources[$i]; var$4 = ju_Currency_currencies; var$5 = ($resource.code !== null ? $rt_str($resource.code) : null); var$6 = new ju_Currency; var$6.$resource = $resource; ju_HashMap_putImpl(var$4, var$5, var$6); $i = $i + 1 | 0; } }, ju_Currency_toString = $this => { return ($this.$resource.code !== null ? $rt_str($this.$resource.code) : null); }, nms_Attribute = $rt_classWithoutFields(0); function nms_BaseAttribute() { let a = this; jl_Object.call(a); a.$field_111115_a = null; a.$defaultValue = 0.0; a.$shouldWatch = 0; } let nms_BaseAttribute_hashCode = $this => { let var$1, var$2; a: { var$1 = $this.$field_111115_a; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } return var$1.$hashCode1; }; function nms_RangedAttribute() { let a = this; nms_BaseAttribute.call(a); a.$minimumValue = 0.0; a.$maximumValue = 0.0; a.$field_111119_c = null; } let nms_RangedAttribute__init_0 = ($this, $par1Str, $par2, $par4, $par6) => { let var$5; $this.$field_111115_a = $par1Str; $this.$defaultValue = $par2; if ($par1Str === null) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(3200); $rt_throw(var$5); } $this.$minimumValue = $par4; $this.$maximumValue = $par6; if ($par4 > $par6) { $par1Str = new jl_IllegalArgumentException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(3201); $rt_throw($par1Str); } if ($par2 < $par4) { $par1Str = new jl_IllegalArgumentException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(3202); $rt_throw($par1Str); } if ($par2 <= $par6) return; $par1Str = new jl_IllegalArgumentException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = $rt_s(3203); $rt_throw($par1Str); }, nms_RangedAttribute__init_ = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_RangedAttribute(); nms_RangedAttribute__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; }; function ju_Hashtable$Entry() { let a = this; ju_MapEntry.call(a); a.$next8 = null; a.$hashcode0 = 0; } let otcic_CurrencyHelper = $rt_classWithoutFields(), otcic_CurrencyHelper_$$metadata$$0 = null, otcic_CurrencyHelper_$$metadata$$1 = null, otcic_CurrencyHelper__init_ = $this => { return; }, otcic_CurrencyHelper__init_0 = () => { let var_0 = new otcic_CurrencyHelper(); otcic_CurrencyHelper__init_(var_0); return var_0; }, otcic_CurrencyHelper_getCurrencies$$create = () => { return [{"code" : "AFN", "fractionDigits" : 2, "numericCode" : 971}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "ALL", "fractionDigits" : 2, "numericCode" : 8}, {"code" : "DZD", "fractionDigits" : 2, "numericCode" : 12}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "AOA", "fractionDigits" : 2, "numericCode" : 973}, {"code" : "XCD", "fractionDigits" : 2, "numericCode" : 951}, {"code" : null, "fractionDigits" : 0, "numericCode" : 0}, {"code" : "XCD", "fractionDigits" : 2, "numericCode" : 951}, {"code" : "ARS", "fractionDigits" : 2, "numericCode" : 32}, {"code" : "AMD", "fractionDigits" : 2, "numericCode" : 51}, {"code" : "AWG", "fractionDigits" : 2, "numericCode" : 533}, {"code" : "AUD", "fractionDigits" : 2, "numericCode" : 36}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "AZN", "fractionDigits" : 2, "numericCode" : 944}, {"code" : "BSD", "fractionDigits" : 2, "numericCode" : 44}, {"code" : "BHD", "fractionDigits" : 3, "numericCode" : 48}, {"code" : "BDT", "fractionDigits" : 2, "numericCode" : 50}, {"code" : "BBD", "fractionDigits" : 2, "numericCode" : 52}, {"code" : "BYR", "fractionDigits" : 0, "numericCode" : 974}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "BZD", "fractionDigits" : 2, "numericCode" : 84}, {"code" : "XOF", "fractionDigits" : 0, "numericCode" : 952}, {"code" : "BMD", "fractionDigits" : 2, "numericCode" : 60}, {"code" : "BTN", "fractionDigits" : 2, "numericCode" : 64}, {"code" : "INR", "fractionDigits" : 2, "numericCode" : 356}, {"code" : "BOB", "fractionDigits" : 2, "numericCode" : 68}, {"code" : "BOV", "fractionDigits" : 2, "numericCode" : 984}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "BAM", "fractionDigits" : 2, "numericCode" : 977}, {"code" : "BWP", "fractionDigits" : 2, "numericCode" : 72}, {"code" : "NOK", "fractionDigits" : 2, "numericCode" : 578}, {"code" : "BRL", "fractionDigits" : 2, "numericCode" : 986} , {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "BND", "fractionDigits" : 2, "numericCode" : 96}, {"code" : "BGN", "fractionDigits" : 2, "numericCode" : 975}, {"code" : "XOF", "fractionDigits" : 0, "numericCode" : 952}, {"code" : "BIF", "fractionDigits" : 0, "numericCode" : 108}, {"code" : "KHR", "fractionDigits" : 2, "numericCode" : 116}, {"code" : "XAF", "fractionDigits" : 0, "numericCode" : 950}, {"code" : "CAD", "fractionDigits" : 2, "numericCode" : 124}, {"code" : "CVE", "fractionDigits" : 2, "numericCode" : 132}, {"code" : "KYD", "fractionDigits" : 2, "numericCode" : 136}, {"code" : "XAF", "fractionDigits" : 0, "numericCode" : 950}, {"code" : "XAF", "fractionDigits" : 0, "numericCode" : 950}, {"code" : "CLF", "fractionDigits" : 4, "numericCode" : 990}, {"code" : "CLP", "fractionDigits" : 0, "numericCode" : 152}, {"code" : "CNY", "fractionDigits" : 2, "numericCode" : 156}, {"code" : "AUD", "fractionDigits" : 2, "numericCode" : 36}, {"code" : "AUD", "fractionDigits" : 2, "numericCode" : 36} , {"code" : "COP", "fractionDigits" : 2, "numericCode" : 170}, {"code" : "COU", "fractionDigits" : 2, "numericCode" : 970}, {"code" : "KMF", "fractionDigits" : 0, "numericCode" : 174}, {"code" : "XAF", "fractionDigits" : 0, "numericCode" : 950}, {"code" : "CDF", "fractionDigits" : 2, "numericCode" : 976}, {"code" : "NZD", "fractionDigits" : 2, "numericCode" : 554}, {"code" : "CRC", "fractionDigits" : 2, "numericCode" : 188}, {"code" : "XOF", "fractionDigits" : 0, "numericCode" : 952}, {"code" : "HRK", "fractionDigits" : 2, "numericCode" : 191}, {"code" : "CUC", "fractionDigits" : 2, "numericCode" : 931}, {"code" : "CUP", "fractionDigits" : 2, "numericCode" : 192}, {"code" : "ANG", "fractionDigits" : 2, "numericCode" : 532}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "CZK", "fractionDigits" : 2, "numericCode" : 203}, {"code" : "DKK", "fractionDigits" : 2, "numericCode" : 208}, {"code" : "DJF", "fractionDigits" : 0, "numericCode" : 262}, {"code" : "XCD", "fractionDigits" : 2, "numericCode" : 951}, {"code" : "DOP", "fractionDigits" : 2, "numericCode" : 214}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "EGP", "fractionDigits" : 2, "numericCode" : 818}, {"code" : "SVC", "fractionDigits" : 2, "numericCode" : 222}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "XAF", "fractionDigits" : 0, "numericCode" : 950}, {"code" : "ERN", "fractionDigits" : 2, "numericCode" : 232}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "ETB", "fractionDigits" : 2, "numericCode" : 230}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "FKP", "fractionDigits" : 2, "numericCode" : 238}, {"code" : "DKK", "fractionDigits" : 2, "numericCode" : 208}, {"code" : "FJD", "fractionDigits" : 2, "numericCode" : 242}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "XPF", "fractionDigits" : 0, "numericCode" : 953}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "XAF", "fractionDigits" : 0, "numericCode" : 950}, {"code" : "GMD", "fractionDigits" : 2, "numericCode" : 270}, {"code" : "GEL", "fractionDigits" : 2, "numericCode" : 981}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "GHS", "fractionDigits" : 2, "numericCode" : 936}, {"code" : "GIP", "fractionDigits" : 2, "numericCode" : 292}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978} , {"code" : "DKK", "fractionDigits" : 2, "numericCode" : 208}, {"code" : "XCD", "fractionDigits" : 2, "numericCode" : 951}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "GTQ", "fractionDigits" : 2, "numericCode" : 320}, {"code" : "GBP", "fractionDigits" : 2, "numericCode" : 826}, {"code" : "GNF", "fractionDigits" : 0, "numericCode" : 324}, {"code" : "XOF", "fractionDigits" : 0, "numericCode" : 952}, {"code" : "GYD", "fractionDigits" : 2, "numericCode" : 328}, {"code" : "HTG", "fractionDigits" : 2, "numericCode" : 332}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "AUD", "fractionDigits" : 2, "numericCode" : 36}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "HNL", "fractionDigits" : 2, "numericCode" : 340}, {"code" : "HKD", "fractionDigits" : 2, "numericCode" : 344}, {"code" : "HUF", "fractionDigits" : 2, "numericCode" : 348}, {"code" : "ISK", "fractionDigits" : 0, "numericCode" : 352} , {"code" : "INR", "fractionDigits" : 2, "numericCode" : 356}, {"code" : "IDR", "fractionDigits" : 2, "numericCode" : 360}, {"code" : "XDR", "fractionDigits" : -1, "numericCode" : 960}, {"code" : "IRR", "fractionDigits" : 2, "numericCode" : 364}, {"code" : "IQD", "fractionDigits" : 3, "numericCode" : 368}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "GBP", "fractionDigits" : 2, "numericCode" : 826}, {"code" : "ILS", "fractionDigits" : 2, "numericCode" : 376}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "JMD", "fractionDigits" : 2, "numericCode" : 388}, {"code" : "JPY", "fractionDigits" : 0, "numericCode" : 392}, {"code" : "GBP", "fractionDigits" : 2, "numericCode" : 826}, {"code" : "JOD", "fractionDigits" : 3, "numericCode" : 400}, {"code" : "KZT", "fractionDigits" : 2, "numericCode" : 398}, {"code" : "KES", "fractionDigits" : 2, "numericCode" : 404}, {"code" : "AUD", "fractionDigits" : 2, "numericCode" : 36}, {"code" : "KPW", "fractionDigits" : 2, "numericCode" : 408} , {"code" : "KRW", "fractionDigits" : 0, "numericCode" : 410}, {"code" : "KWD", "fractionDigits" : 3, "numericCode" : 414}, {"code" : "KGS", "fractionDigits" : 2, "numericCode" : 417}, {"code" : "LAK", "fractionDigits" : 2, "numericCode" : 418}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "LBP", "fractionDigits" : 2, "numericCode" : 422}, {"code" : "LSL", "fractionDigits" : 2, "numericCode" : 426}, {"code" : "ZAR", "fractionDigits" : 2, "numericCode" : 710}, {"code" : "LRD", "fractionDigits" : 2, "numericCode" : 430}, {"code" : "LYD", "fractionDigits" : 3, "numericCode" : 434}, {"code" : "CHF", "fractionDigits" : 2, "numericCode" : 756}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "MOP", "fractionDigits" : 2, "numericCode" : 446}, {"code" : "MKD", "fractionDigits" : 2, "numericCode" : 807}, {"code" : "MGA", "fractionDigits" : 2, "numericCode" : 969}, {"code" : "MWK", "fractionDigits" : 2, "numericCode" : 454}, {"code" : "MYR", "fractionDigits" : 2, "numericCode" : 458}, {"code" : "MVR", "fractionDigits" : 2, "numericCode" : 462}, {"code" : "XOF", "fractionDigits" : 0, "numericCode" : 952}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "MRO", "fractionDigits" : 2, "numericCode" : 478}, {"code" : "MUR", "fractionDigits" : 2, "numericCode" : 480}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "XUA", "fractionDigits" : -1, "numericCode" : 965}, {"code" : "MXN", "fractionDigits" : 2, "numericCode" : 484}, {"code" : "MXV", "fractionDigits" : 2, "numericCode" : 979}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "MDL", "fractionDigits" : 2, "numericCode" : 498}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "MNT", "fractionDigits" : 2, "numericCode" : 496}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "XCD", "fractionDigits" : 2, "numericCode" : 951}, {"code" : "MAD", "fractionDigits" : 2, "numericCode" : 504}, {"code" : "MZN", "fractionDigits" : 2, "numericCode" : 943}, {"code" : "MMK", "fractionDigits" : 2, "numericCode" : 104}, {"code" : "NAD", "fractionDigits" : 2, "numericCode" : 516}, {"code" : "ZAR", "fractionDigits" : 2, "numericCode" : 710}, {"code" : "AUD", "fractionDigits" : 2, "numericCode" : 36}, {"code" : "NPR", "fractionDigits" : 2, "numericCode" : 524}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "XPF", "fractionDigits" : 0, "numericCode" : 953}, {"code" : "NZD", "fractionDigits" : 2, "numericCode" : 554}, {"code" : "NIO", "fractionDigits" : 2, "numericCode" : 558}, {"code" : "XOF", "fractionDigits" : 0, "numericCode" : 952}, {"code" : "NGN", "fractionDigits" : 2, "numericCode" : 566}, {"code" : "NZD", "fractionDigits" : 2, "numericCode" : 554}, {"code" : "AUD", "fractionDigits" : 2, "numericCode" : 36}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "NOK", "fractionDigits" : 2, "numericCode" : 578}, {"code" : "OMR", "fractionDigits" : 3, "numericCode" : 512}, {"code" : "PKR", "fractionDigits" : 2, "numericCode" : 586}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : null, "fractionDigits" : 0, "numericCode" : 0}, {"code" : "PAB", "fractionDigits" : 2, "numericCode" : 590}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "PGK", "fractionDigits" : 2, "numericCode" : 598} , {"code" : "PYG", "fractionDigits" : 0, "numericCode" : 600}, {"code" : "PEN", "fractionDigits" : 2, "numericCode" : 604}, {"code" : "PHP", "fractionDigits" : 2, "numericCode" : 608}, {"code" : "NZD", "fractionDigits" : 2, "numericCode" : 554}, {"code" : "PLN", "fractionDigits" : 2, "numericCode" : 985}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "QAR", "fractionDigits" : 2, "numericCode" : 634}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "RON", "fractionDigits" : 2, "numericCode" : 946}, {"code" : "RUB", "fractionDigits" : 2, "numericCode" : 643}, {"code" : "RWF", "fractionDigits" : 0, "numericCode" : 646}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "SHP", "fractionDigits" : 2, "numericCode" : 654}, {"code" : "XCD", "fractionDigits" : 2, "numericCode" : 951}, {"code" : "XCD", "fractionDigits" : 2, "numericCode" : 951}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "XCD", "fractionDigits" : 2, "numericCode" : 951}, {"code" : "WST", "fractionDigits" : 2, "numericCode" : 882}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "STD", "fractionDigits" : 2, "numericCode" : 678}, {"code" : "SAR", "fractionDigits" : 2, "numericCode" : 682}, {"code" : "XOF", "fractionDigits" : 0, "numericCode" : 952}, {"code" : "RSD", "fractionDigits" : 2, "numericCode" : 941}, {"code" : "SCR", "fractionDigits" : 2, "numericCode" : 690}, {"code" : "SLL", "fractionDigits" : 2, "numericCode" : 694}, {"code" : "SGD", "fractionDigits" : 2, "numericCode" : 702}, {"code" : "ANG", "fractionDigits" : 2, "numericCode" : 532}, {"code" : "XSU", "fractionDigits" : -1, "numericCode" : 994}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "SBD", "fractionDigits" : 2, "numericCode" : 90}, {"code" : "SOS", "fractionDigits" : 2, "numericCode" : 706}, {"code" : "ZAR", "fractionDigits" : 2, "numericCode" : 710}, {"code" : null, "fractionDigits" : 0, "numericCode" : 0}, {"code" : "SSP", "fractionDigits" : 2, "numericCode" : 728}, {"code" : "EUR", "fractionDigits" : 2, "numericCode" : 978}, {"code" : "LKR", "fractionDigits" : 2, "numericCode" : 144}, {"code" : "SDG", "fractionDigits" : 2, "numericCode" : 938}, {"code" : "SRD", "fractionDigits" : 2, "numericCode" : 968}, {"code" : "NOK", "fractionDigits" : 2, "numericCode" : 578}, {"code" : "SZL", "fractionDigits" : 2, "numericCode" : 748}, {"code" : "SEK", "fractionDigits" : 2, "numericCode" : 752}, {"code" : "CHE", "fractionDigits" : 2, "numericCode" : 947}, {"code" : "CHF", "fractionDigits" : 2, "numericCode" : 756}, {"code" : "CHW", "fractionDigits" : 2, "numericCode" : 948}, {"code" : "SYP", "fractionDigits" : 2, "numericCode" : 760}, {"code" : "TWD", "fractionDigits" : 2, "numericCode" : 901}, {"code" : "TJS", "fractionDigits" : 2, "numericCode" : 972}, {"code" : "TZS", "fractionDigits" : 2, "numericCode" : 834}, {"code" : "THB", "fractionDigits" : 2, "numericCode" : 764}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "XOF", "fractionDigits" : 0, "numericCode" : 952}, {"code" : "NZD", "fractionDigits" : 2, "numericCode" : 554}, {"code" : "TOP", "fractionDigits" : 2, "numericCode" : 776}, {"code" : "TTD", "fractionDigits" : 2, "numericCode" : 780}, {"code" : "TND", "fractionDigits" : 3, "numericCode" : 788}, {"code" : "TRY", "fractionDigits" : 2, "numericCode" : 949}, {"code" : "TMT", "fractionDigits" : 2, "numericCode" : 934}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "AUD", "fractionDigits" : 2, "numericCode" : 36}, {"code" : "UGX", "fractionDigits" : 0, "numericCode" : 800}, {"code" : "UAH", "fractionDigits" : 2, "numericCode" : 980}, {"code" : "AED", "fractionDigits" : 2, "numericCode" : 784}, {"code" : "GBP", "fractionDigits" : 2, "numericCode" : 826}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "USN", "fractionDigits" : 2, "numericCode" : 997}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "UYI", "fractionDigits" : 0, "numericCode" : 940}, {"code" : "UYU", "fractionDigits" : 2, "numericCode" : 858}, {"code" : "UZS", "fractionDigits" : 2, "numericCode" : 860}, {"code" : "VUV", "fractionDigits" : 0, "numericCode" : 548}, {"code" : "VEF", "fractionDigits" : 2, "numericCode" : 937}, {"code" : "VND", "fractionDigits" : 0, "numericCode" : 704}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "USD", "fractionDigits" : 2, "numericCode" : 840}, {"code" : "XPF", "fractionDigits" : 0, "numericCode" : 953}, {"code" : "MAD", "fractionDigits" : 2, "numericCode" : 504}, {"code" : "YER", "fractionDigits" : 2, "numericCode" : 886}, {"code" : "ZMW", "fractionDigits" : 2, "numericCode" : 967}, {"code" : "ZWL", "fractionDigits" : 2, "numericCode" : 932}, {"code" : "XBA", "fractionDigits" : -1, "numericCode" : 955}, {"code" : "XBB", "fractionDigits" : -1, "numericCode" : 956} , {"code" : "XBC", "fractionDigits" : -1, "numericCode" : 957}, {"code" : "XBD", "fractionDigits" : -1, "numericCode" : 958}, {"code" : "XTS", "fractionDigits" : -1, "numericCode" : 963}, {"code" : "XXX", "fractionDigits" : -1, "numericCode" : 999}, {"code" : "XAU", "fractionDigits" : -1, "numericCode" : 959}, {"code" : "XPD", "fractionDigits" : -1, "numericCode" : 964}, {"code" : "XPT", "fractionDigits" : -1, "numericCode" : 962}, {"code" : "XAG", "fractionDigits" : -1, "numericCode" : 961}]; }, otcic_CurrencyHelper_getCountryToCurrencyMap$$create = () => { return {"": {"value" : "CYP"}, "PR": {"value" : "USD"}, "PT": {"value" : "EUR"}, "PW": {"value" : "USD"}, "PY": {"value" : "PYG"}, "QA": {"value" : "QAR"}, "AC": {"value" : "SHP"}, "AD": {"value" : "EUR"}, "AE": {"value" : "AED"}, "AF": {"value" : "AFN"}, "AG": {"value" : "XCD"}, "AI": {"value" : "XCD"}, "AL": {"value" : "ALL"}, "AM": {"value" : "AMD"}, "AN": {"value" : "ANG"}, "AO": {"value" : "AOA"}, "242": {"value" : "Brazzaville"}, "AQ": {"value" : ""}, "AR": {"value" : "ARS"}, "243": {"value" : "Kinshasa"} , "AS": {"value" : "USD"}, "AT": {"value" : "EUR"}, "RE": {"value" : "EUR"}, "AU": {"value" : ""}, "AW": {"value" : "AWG"}, "AX": {"value" : "EUR"}, "AZ": {"value" : "AMD"}, "RO": {"value" : "RON"}, "BA": {"value" : "BAM"}, "BB": {"value" : "BBD"}, "RS": {"value" : "RSD"}, "BD": {"value" : "BDT"}, "BE": {"value" : "EUR"}, "RU": {"value" : "RUB"}, "BF": {"value" : "XOF"}, "BG": {"value" : "BGN"}, "RW": {"value" : "RWF"}, "27": {"value" : ""}, "BH": {"value" : "BHD"}, "BI": {"value" : "BIF"}, "BJ": {"value" : "XOF"}, "BM": {"value" : "BMD"}, "BN": {"value" : "BND"}, "BO": {"value" : "BOB"}, "SA": {"value" : "SAR"}, "SB": {"value" : "SBD"}, "BR": {"value" : "BRL"}, "SC": {"value" : "SCR"}, "SD": {"value" : "SDD"}, "BT": {"value" : "BTN"}, "SE": {"value" : "SEK"}, "SG": {"value" : "SGD"}, "BV": {"value" : ""}, "BW": {"value" : "BWP"}, "SH": {"value" : "SHP"}, "SI": {"value" : "EUR"}, "BY": {"value" : "BYR"}, "SJ": {"value" : "NOK"}, "BZ": {"value" : "BZD"}, "SK": {"value" : "SKK"}, "SL": {"value" : "SLL"}, "SM": {"value" : "EUR"}, "SN": {"value" : "XOF"}, "SO": {"value" : ""}, "CA": {"value" : "CAD"}, "SR": {"value" : "SRD"}, "CC": {"value" : "AUD"}, "ST": {"value" : "STD"}, "CF": {"value" : "XAF"}, "SV": {"value" : "USD"}, "CH": {"value" : "CHF"}, "CI": {"value" : "XOF"}, "SY": {"value" : "SYP"}, "SZ": {"value" : "SZL"}, "CK": {"value" : "NZD"}, "CL": {"value" : "CLP"}, "CM": {"value" : "XAF"}, "CO": {"value" : "COP"}, "TA": {"value" : "SHP"}, "CR": {"value" : "CRC"}, "TC": {"value" : "USD"}, "TD": {"value" : "XAF"} , "CU": {"value" : "CUP"}, "TF": {"value" : ""}, "CV": {"value" : "CVE"}, "TG": {"value" : "XOF"}, "TH": {"value" : "THB"}, "CX": {"value" : "AUD"}, "CY": {"value" : "TRY"}, "TJ": {"value" : "TJS"}, "CZ": {"value" : "CZK"}, "TK": {"value" : "NZD"}, "TL": {"value" : "USD"}, "TM": {"value" : "TMM"}, "TN": {"value" : "TND"}, "TO": {"value" : "TOP"}, "TR": {"value" : "TRY"}, "TT": {"value" : "TTD"}, "DE": {"value" : "EUR"}, "TV": {"value" : "AUD"}, "DJ": {"value" : "DJF"}, "TZ": {"value" : "TZS"}, "DK": {"value" : "DKK"}, "DM": {"value" : "XCD"}, "DO": {"value" : "DOP"}, "UA": {"value" : "UAH"}, "UG": {"value" : "UGX"}, "DZ": {"value" : "DZD"}, "UM": {"value" : ""}, "EC": {"value" : "USD"}, "US": {"value" : "USD"}, "EE": {"value" : "EEK"}, "EG": {"value" : "EGP"}, "UY": {"value" : "UYU"}, "UZ": {"value" : "UZS"}, "VA": {"value" : "EUR"}, "ER": {"value" : "ERN"}, "VC": {"value" : "XCD"}, "ES": {"value" : "EUR"}, "ET": {"value" : "ETB"}, "VE": {"value" : "VEB"}, "VG": {"value" : "USD"}, "VI": {"value" : "USD"}, "VN": {"value" : "VND"}, "VU": {"value" : "VUV"}, "FI": {"value" : "EUR"}, "FJ": {"value" : "FJD"}, "FK": {"value" : "FKP"}, "FM": {"value" : "USD"}, "FO": {"value" : "DKK"}, "FR": {"value" : "EUR"}, "WF": {"value" : "XPF"}, "850": {"value" : "Pyongyang"}, "GA": {"value" : "XAF"}, "GB": {"value" : "GBP"}, "WS": {"value" : "WST"}, "GD": {"value" : "XCD"}, "GE": {"value" : "RUB and GEL"}, "GF": {"value" : "EUR"}, "GG": {"value" : "GGP"}, "GH": {"value" : "GHC"}, "GI": {"value" : "GIP"}, "GL": {"value" : "DKK"}, "GN": {"value" : "GNF"}, "GP": {"value" : "EUR"}, "GQ": {"value" : "XAF"}, "GR": {"value" : "EUR"}, "GS": {"value" : ""}, "GT": {"value" : "GTQ"}, "GU": {"value" : "USD"}, "GW": {"value" : "XOF"}, "GY": {"value" : "GYD"}, "-241": {"value" : "Nassau"}, "82": {"value" : "Seoul"}, "86": {"value" : "Beijing"}, "HK": {"value" : "HKD"}, "HM": {"value" : ""}, "HN": {"value" : "HNL"}, "HR": {"value" : "HRK"}, "HT": {"value" : "HTG"}, "YE": {"value" : "YER"}, "HU": {"value" : "HUF"}, "ID": {"value" : "IDR"}, "YT": {"value" : "EUR"}, "IE": {"value" : "EUR"}, "IL": {"value" : "ILS"}, "IM": {"value" : "IMP"}, "IN": {"value" : "INR"}, "IO": {"value" : ""}, "IQ": {"value" : "IQD"}, "IR": {"value" : "IRR"}, "IS": {"value" : "ISK"}, "IT": {"value" : "EUR"}, "ZM": {"value" : "ZMK"}, "886": {"value" : "Taipei"}, "JE": {"value" : "JEP"}, "ZW": {"value" : "ZWD"}, "JM": {"value" : "JMD"}, "JO": {"value" : "JOD"}, "JP": {"value" : "JPY"}, "KE": {"value" : "KES"}, "KG": {"value" : "KGS"}, "KH": {"value" : "KHR"}, "KI": {"value" : "AUD"}, "KM": {"value" : "KMF"}, "KN": {"value" : "XCD"}, "KW": {"value" : "KWD"}, "KY": {"value" : "KYD"}, "KZ": {"value" : "KZT"}, "LA": {"value" : "LAK"}, "LB": {"value" : "LBP"}, "LC": {"value" : "XCD"}, "LI": {"value" : "CHF"}, "LK": {"value" : "LKR"}, "LR": {"value" : "LRD"}, "LS": {"value" : "LSL"}, "LT": {"value" : "LTL"}, "LU": {"value" : "EUR"}, "LV": {"value" : "LVL"}, "LY": {"value" : "LYD"}, "MA": {"value" : "MAD"}, "MC": {"value" : "EUR"}, "MD": {"value" : ""}, "ME": {"value" : "EUR"}, "MG": {"value" : "MGA"}, "MH": {"value" : "USD"}, "MK": {"value" : "MKD"}, "ML": {"value" : "XOF"}, "MM": {"value" : "MMK"}, "MN": {"value" : "MNT"}, "MO": {"value" : "MOP"}, "MP": {"value" : "USD"}, "MQ": {"value" : "EUR"}, "MR": {"value" : "MRO"}, "MS": {"value" : "XCD"}, "MT": {"value" : "MTL"}, "MU": {"value" : "MUR"}, "MV": {"value" : "MVR"}, "MW": {"value" : "MWK"}, "MX": {"value" : "MXN"}, "MY": {"value" : "MYR"}, "MZ": {"value" : "MZM"}, "NA": {"value" : "NAD"}, "NC": {"value" : "XPF"}, "NE": {"value" : "XOF"}, "NF": {"value" : "AUD"}, "NG": {"value" : "NGN"}, "NI": {"value" : "NIO"}, "NL": {"value" : "EUR"}, "NO": {"value" : "NOK"}, "NP": {"value" : "NPR"}, "NR": {"value" : "AUD"}, "NU": {"value" : "NZD"}, "NZ": {"value" : "NZD"}, "OM": {"value" : "OMR"}, "220": {"value" : "Banjul"}, "PA": {"value" : "PAB"}, "PE": {"value" : "PEN"}, "PF": {"value" : ""}, "PG": {"value" : "PGK"}, "PH": {"value" : "PHP"}, "PK": {"value" : "PKR"}, "PL": {"value" : "PLN"}, "PM": {"value" : "EUR"}, "PN": {"value" : "NZD"} }; }; function nms_RecipesTools() { let a = this; jl_Object.call(a); a.$recipePatterns = null; a.$recipeItems3 = null; } let nms_RecipesTools__init_ = $this => { let var$1, var$2, var$3, var$4; var$1 = $rt_createArray($rt_arraycls(jl_String), 4); var$2 = var$1.data; var$2[0] = $rt_wrapArray(jl_String, [$rt_s(3159), $rt_s(3167), $rt_s(3167)]); var$2[1] = $rt_wrapArray(jl_String, [$rt_s(267), $rt_s(1402), $rt_s(1402)]); var$2[2] = $rt_wrapArray(jl_String, [$rt_s(3204), $rt_s(3205), $rt_s(2501)]); var$2[3] = $rt_wrapArray(jl_String, [$rt_s(3204), $rt_s(2501), $rt_s(2501)]); $this.$recipePatterns = var$1; var$1 = $rt_createArray($rt_arraycls(jl_Object), 5); var$2 = var$1.data; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; nms_Block_$callClinit(); var$4[0] = nms_Block_planks; var$4[1] = nms_Block_cobblestone; nms_Item_$callClinit(); var$4[2] = nms_Item_ingotIron; var$4[3] = nms_Item_diamond; var$4[4] = nms_Item_ingotGold; var$2[0] = var$3; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; var$4[0] = nms_Item_pickaxeWood; var$4[1] = nms_Item_pickaxeStone; var$4[2] = nms_Item_pickaxeIron; var$4[3] = nms_Item_pickaxeDiamond; var$4[4] = nms_Item_pickaxeGold; var$2[1] = var$3; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; var$4[0] = nms_Item_shovelWood; var$4[1] = nms_Item_shovelStone; var$4[2] = nms_Item_shovelIron; var$4[3] = nms_Item_shovelDiamond; var$4[4] = nms_Item_shovelGold; var$2[2] = var$3; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; var$4[0] = nms_Item_axeWood; var$4[1] = nms_Item_axeStone; var$4[2] = nms_Item_axeIron; var$4[3] = nms_Item_axeDiamond; var$4[4] = nms_Item_axeGold; var$2[3] = var$3; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; var$4[0] = nms_Item_hoeWood; var$4[1] = nms_Item_hoeStone; var$4[2] = nms_Item_hoeIron; var$4[3] = nms_Item_hoeDiamond; var$4[4] = nms_Item_hoeGold; var$2[4] = var$3; $this.$recipeItems3 = var$1; }, nms_RecipesTools__init_0 = () => { let var_0 = new nms_RecipesTools(); nms_RecipesTools__init_(var_0); return var_0; }, nms_RecipesTools_addRecipes = ($this, $par1CraftingManager) => { let $var2, var$3, $var3, $var4, $var4_0, $var5, var$8, var$9, var$10, var$11; $var2 = 0; while (true) { var$3 = $this.$recipeItems3.data; if ($var2 >= var$3[0].data.length) break; $var3 = var$3[0].data[$var2]; $var4 = 0; while (true) { var$3 = $this.$recipeItems3.data; if ($var4 >= (var$3.length - 1 | 0)) break; $var4_0 = $var4 + 1 | 0; $var5 = var$3[$var4_0].data[$var2]; var$8 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$8.$itemID = $var5.$itemID0; var$8.$stackSize = 1; var$8.$itemDamage = 0; var$3 = $rt_createArray(jl_Object, 5); var$9 = var$3.data; var$9[0] = $this.$recipePatterns.data[$var4]; var$10 = jl_Character_characterCache.data; var$11 = var$10.length; if (35 >= var$11) { $var5 = new jl_Character; $var5.$value5 = 35; } else { $var5 = var$10[35]; if ($var5 === null) { $var5 = new jl_Character; $var5.$value5 = 35; var$10[35] = $var5; } } var$9[1] = $var5; nms_Item_$callClinit(); var$9[2] = nms_Item_stick; if (88 >= var$11) { $var5 = new jl_Character; $var5.$value5 = 88; } else { $var5 = var$10[88]; if ($var5 === null) { $var5 = new jl_Character; $var5.$value5 = 88; var$10[88] = $var5; } } var$9[3] = $var5; var$9[4] = $var3; nms_CraftingManager_addRecipe($par1CraftingManager, var$8, var$3); $var4 = $var4_0; } $var2 = $var2 + 1 | 0; } var$8 = new nms_ItemStack; nms_Item_$callClinit(); $var5 = nms_Item_shears; nms_ItemStack_$callClinit(); var$8.$itemID = $var5.$itemID0; var$8.$stackSize = 1; var$8.$itemDamage = 0; var$3 = $rt_createArray(jl_Object, 4); var$10 = var$3.data; var$10[0] = $rt_s(2501); var$10[1] = $rt_s(3179); var$9 = jl_Character_characterCache.data; if (35 >= var$9.length) { $var5 = new jl_Character; $var5.$value5 = 35; } else { $var5 = var$9[35]; if ($var5 === null) { $var5 = new jl_Character; $var5.$value5 = 35; var$9[35] = $var5; } } var$10[2] = $var5; var$10[3] = nms_Item_ingotIron; nms_CraftingManager_addRecipe($par1CraftingManager, var$8, var$3); }; function nms_RecipesWeapons() { let a = this; jl_Object.call(a); a.$recipePatterns1 = null; a.$recipeItems1 = null; } let nms_RecipesWeapons__init_ = $this => { let var$1, var$2, var$3, var$4; var$1 = $rt_createArray($rt_arraycls(jl_String), 1); var$1.data[0] = $rt_wrapArray(jl_String, [$rt_s(267), $rt_s(267), $rt_s(1402)]); $this.$recipePatterns1 = var$1; var$1 = $rt_createArray($rt_arraycls(jl_Object), 2); var$2 = var$1.data; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; nms_Block_$callClinit(); var$4[0] = nms_Block_planks; var$4[1] = nms_Block_cobblestone; nms_Item_$callClinit(); var$4[2] = nms_Item_ingotIron; var$4[3] = nms_Item_diamond; var$4[4] = nms_Item_ingotGold; var$2[0] = var$3; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; var$4[0] = nms_Item_swordWood; var$4[1] = nms_Item_swordStone; var$4[2] = nms_Item_swordIron; var$4[3] = nms_Item_swordDiamond; var$4[4] = nms_Item_swordGold; var$2[1] = var$3; $this.$recipeItems1 = var$1; }, nms_RecipesWeapons__init_0 = () => { let var_0 = new nms_RecipesWeapons(); nms_RecipesWeapons__init_(var_0); return var_0; }, nms_RecipesWeapons_addRecipes = ($this, $par1CraftingManager) => { let $var2, var$3, $var3, $var4, $var4_0, $var5, var$8, var$9, var$10, var$11, var$12; $var2 = 0; while (true) { var$3 = $this.$recipeItems1.data; if ($var2 >= var$3[0].data.length) break; $var3 = var$3[0].data[$var2]; $var4 = 0; while (true) { var$3 = $this.$recipeItems1.data; if ($var4 >= (var$3.length - 1 | 0)) break; $var4_0 = $var4 + 1 | 0; $var5 = var$3[$var4_0].data[$var2]; var$8 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$8.$itemID = $var5.$itemID0; var$8.$stackSize = 1; var$8.$itemDamage = 0; var$9 = $rt_createArray(jl_Object, 5); var$10 = var$9.data; var$10[0] = $this.$recipePatterns1.data[$var4]; var$3 = jl_Character_characterCache.data; var$11 = var$3.length; if (35 >= var$11) { $var5 = new jl_Character; $var5.$value5 = 35; } else { $var5 = var$3[35]; if ($var5 === null) { $var5 = new jl_Character; $var5.$value5 = 35; var$3[35] = $var5; } } var$10[1] = $var5; nms_Item_$callClinit(); var$10[2] = nms_Item_stick; if (88 >= var$11) { $var5 = new jl_Character; $var5.$value5 = 88; } else { $var5 = var$3[88]; if ($var5 === null) { $var5 = new jl_Character; $var5.$value5 = 88; var$3[88] = $var5; } } var$10[3] = $var5; var$10[4] = $var3; nms_CraftingManager_addRecipe($par1CraftingManager, var$8, var$9); $var4 = $var4_0; } $var2 = $var2 + 1 | 0; } $var5 = new nms_ItemStack; nms_Item_$callClinit(); $var3 = nms_Item_bow; nms_ItemStack_$callClinit(); $var5.$itemID = $var3.$itemID0; $var5.$stackSize = 1; $var5.$itemDamage = 0; var$3 = $rt_createArray(jl_Object, 7); var$9 = var$3.data; var$9[0] = $rt_s(3177); var$9[1] = $rt_s(3178); var$9[2] = $rt_s(3177); var$10 = jl_Character_characterCache.data; var$12 = var$10.length; if (88 >= var$12) { $var3 = new jl_Character; $var3.$value5 = 88; } else { $var3 = var$10[88]; if ($var3 === null) { $var3 = new jl_Character; $var3.$value5 = 88; var$10[88] = $var3; } } var$9[3] = $var3; var$9[4] = nms_Item_silk; if (35 >= var$12) { $var3 = new jl_Character; $var3.$value5 = 35; } else { $var3 = var$10[35]; if ($var3 === null) { $var3 = new jl_Character; $var3.$value5 = 35; var$10[35] = $var3; } } var$9[5] = $var3; var$9[6] = nms_Item_stick; nms_CraftingManager_addRecipe($par1CraftingManager, $var5, var$3); $var3 = new nms_ItemStack; $var3.$itemID = nms_Item_arrow.$itemID0; $var3.$stackSize = 4; $var3.$itemDamage = 0; var$3 = $rt_createArray(jl_Object, 9); var$9 = var$3.data; var$9[0] = $rt_s(267); var$9[1] = $rt_s(1402); var$9[2] = $rt_s(243); var$10 = jl_Character_characterCache.data; var$11 = var$10.length; if (89 >= var$11) { $var5 = new jl_Character; $var5.$value5 = 89; } else { $var5 = var$10[89]; if ($var5 === null) { $var5 = new jl_Character; $var5.$value5 = 89; var$10[89] = $var5; } } var$9[3] = $var5; var$9[4] = nms_Item_feather; if (88 >= var$11) { $var5 = new jl_Character; $var5.$value5 = 88; } else { $var5 = var$10[88]; if ($var5 === null) { $var5 = new jl_Character; $var5.$value5 = 88; var$10[88] = $var5; } } var$9[5] = $var5; var$9[6] = nms_Item_flint; if (35 >= var$11) { $var5 = new jl_Character; $var5.$value5 = 35; } else { $var5 = var$10[35]; if ($var5 === null) { $var5 = new jl_Character; $var5.$value5 = 35; var$10[35] = $var5; } } var$9[7] = $var5; var$9[8] = nms_Item_stick; nms_CraftingManager_addRecipe($par1CraftingManager, $var3, var$3); }; function nms_RecipesIngots() { jl_Object.call(this); this.$recipeItems4 = null; } let nms_RecipesIngots__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $rt_createArray($rt_arraycls(jl_Object), 8); var$2 = var$1.data; var$3 = $rt_createArray(jl_Object, 2); var$4 = var$3.data; nms_Block_$callClinit(); var$4[0] = nms_Block_blockGold; var$5 = new nms_ItemStack; nms_Item_$callClinit(); var$6 = nms_Item_ingotGold; nms_ItemStack_$callClinit(); var$5.$itemID = var$6.$itemID0; var$5.$stackSize = 9; var$5.$itemDamage = 0; var$4[1] = var$5; var$2[0] = var$3; var$3 = $rt_createArray(jl_Object, 2); var$4 = var$3.data; var$4[0] = nms_Block_blockIron; var$6 = new nms_ItemStack; var$6.$itemID = nms_Item_ingotIron.$itemID0; var$6.$stackSize = 9; var$6.$itemDamage = 0; var$4[1] = var$6; var$2[1] = var$3; var$3 = $rt_createArray(jl_Object, 2); var$4 = var$3.data; var$4[0] = nms_Block_blockDiamond; var$6 = new nms_ItemStack; var$6.$itemID = nms_Item_diamond.$itemID0; var$6.$stackSize = 9; var$6.$itemDamage = 0; var$4[1] = var$6; var$2[2] = var$3; var$3 = $rt_createArray(jl_Object, 2); var$4 = var$3.data; var$4[0] = nms_Block_blockEmerald; var$6 = new nms_ItemStack; var$6.$itemID = nms_Item_emerald.$itemID0; var$6.$stackSize = 9; var$6.$itemDamage = 0; var$4[1] = var$6; var$2[3] = var$3; var$3 = $rt_createArray(jl_Object, 2); var$4 = var$3.data; var$4[0] = nms_Block_blockLapis; var$6 = new nms_ItemStack; var$6.$itemID = nms_Item_dyePowder.$itemID0; var$6.$stackSize = 9; var$6.$itemDamage = 4; var$4[1] = var$6; var$2[4] = var$3; var$3 = $rt_createArray(jl_Object, 2); var$4 = var$3.data; var$4[0] = nms_Block_blockRedstone; var$6 = new nms_ItemStack; var$6.$itemID = nms_Item_redstone.$itemID0; var$6.$stackSize = 9; var$6.$itemDamage = 0; var$4[1] = var$6; var$2[5] = var$3; var$3 = $rt_createArray(jl_Object, 2); var$4 = var$3.data; var$4[0] = nms_Block_coalBlock; var$6 = new nms_ItemStack; var$6.$itemID = nms_Item_coal.$itemID0; var$6.$stackSize = 9; var$6.$itemDamage = 0; var$4[1] = var$6; var$2[6] = var$3; var$3 = $rt_createArray(jl_Object, 2); var$4 = var$3.data; var$4[0] = nms_Block_hay; var$6 = new nms_ItemStack; var$6.$itemID = nms_Item_wheat.$itemID0; var$6.$stackSize = 9; var$6.$itemDamage = 0; var$4[1] = var$6; var$2[7] = var$3; $this.$recipeItems4 = var$1; }, nms_RecipesIngots__init_0 = () => { let var_0 = new nms_RecipesIngots(); nms_RecipesIngots__init_(var_0); return var_0; }, nms_RecipesIngots_addRecipes = ($this, $par1CraftingManager) => { let $var2, var$3, $var3, $var4, var$6, var$7, var$8, var$9; $var2 = 0; while (true) { var$3 = $this.$recipeItems4.data; if ($var2 >= var$3.length) break; $var3 = var$3[$var2].data[0]; $var4 = var$3[$var2].data[1]; var$6 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$6.$itemID = $var3.$blockID; var$6.$stackSize = 1; var$6.$itemDamage = 0; var$3 = $rt_createArray(jl_Object, 5); var$7 = var$3.data; var$7[0] = $rt_s(3153); var$7[1] = $rt_s(3153); var$7[2] = $rt_s(3153); var$8 = jl_Character_characterCache.data; if (35 >= var$8.length) { var$9 = new jl_Character; var$9.$value5 = 35; } else { var$9 = var$8[35]; if (var$9 === null) { var$9 = new jl_Character; var$9.$value5 = 35; var$8[35] = var$9; } } var$7[3] = var$9; var$7[4] = $var4; nms_CraftingManager_addRecipe($par1CraftingManager, var$6, var$3); var$3 = $rt_createArray(jl_Object, 3); var$7 = var$3.data; var$7[0] = $rt_s(1402); var$8 = jl_Character_characterCache.data; if (35 >= var$8.length) { var$6 = new jl_Character; var$6.$value5 = 35; } else { var$6 = var$8[35]; if (var$6 === null) { var$6 = new jl_Character; var$6.$value5 = 35; var$8[35] = var$6; } } var$7[1] = var$6; var$7[2] = $var3; nms_CraftingManager_addRecipe($par1CraftingManager, $var4, var$3); $var2 = $var2 + 1 | 0; } $var4 = new nms_ItemStack; nms_Item_$callClinit(); $var3 = nms_Item_ingotGold; nms_ItemStack_$callClinit(); $var4.$itemID = $var3.$itemID0; $var4.$stackSize = 1; $var4.$itemDamage = 0; var$3 = $rt_createArray(jl_Object, 5); var$7 = var$3.data; var$7[0] = $rt_s(3153); var$7[1] = $rt_s(3153); var$7[2] = $rt_s(3153); var$8 = jl_Character_characterCache.data; if (35 >= var$8.length) { $var3 = new jl_Character; $var3.$value5 = 35; } else { $var3 = var$8[35]; if ($var3 === null) { $var3 = new jl_Character; $var3.$value5 = 35; var$8[35] = $var3; } } var$7[3] = $var3; var$7[4] = nms_Item_goldNugget; nms_CraftingManager_addRecipe($par1CraftingManager, $var4, var$3); $var3 = new nms_ItemStack; $var3.$itemID = nms_Item_goldNugget.$itemID0; $var3.$stackSize = 9; $var3.$itemDamage = 0; var$3 = $rt_createArray(jl_Object, 3); var$7 = var$3.data; var$7[0] = $rt_s(1402); var$8 = jl_Character_characterCache.data; if (35 >= var$8.length) { $var4 = new jl_Character; $var4.$value5 = 35; } else { $var4 = var$8[35]; if ($var4 === null) { $var4 = new jl_Character; $var4.$value5 = 35; var$8[35] = $var4; } } var$7[1] = $var4; var$7[2] = nms_Item_ingotGold; nms_CraftingManager_addRecipe($par1CraftingManager, $var3, var$3); }, nms_RecipesFood = $rt_classWithoutFields(), nms_RecipesFood__init_ = $this => { return; }, nms_RecipesFood__init_0 = () => { let var_0 = new nms_RecipesFood(); nms_RecipesFood__init_(var_0); return var_0; }, nms_RecipesFood_addRecipes = ($this, $par1CraftingManager) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = new nms_ItemStack; nms_Item_$callClinit(); var$3 = nms_Item_bowlSoup; nms_ItemStack_$callClinit(); var$2.$itemID = var$3.$itemID0; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 3); var$5 = var$4.data; nms_Block_$callClinit(); var$5[0] = nms_Block_mushroomBrown; var$5[1] = nms_Block_mushroomRed; var$5[2] = nms_Item_bowlEmpty; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$2, var$4); var$3 = new nms_ItemStack; var$3.$itemID = nms_Item_cookie.$itemID0; var$3.$stackSize = 8; var$3.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 5); var$5 = var$4.data; var$5[0] = $rt_s(3155); var$6 = jl_Character_characterCache.data; var$7 = var$6.length; if (88 >= var$7) { var$2 = new jl_Character; var$2.$value5 = 88; } else { var$2 = var$6[88]; if (var$2 === null) { var$2 = new jl_Character; var$2.$value5 = 88; var$6[88] = var$2; } } var$5[1] = var$2; var$8 = new nms_ItemStack; var$8.$itemID = nms_Item_dyePowder.$itemID0; var$8.$stackSize = 1; var$8.$itemDamage = 3; var$5[2] = var$8; if (35 >= var$7) { var$2 = new jl_Character; var$2.$value5 = 35; } else { var$2 = var$6[35]; if (var$2 === null) { var$2 = new jl_Character; var$2.$value5 = 35; var$6[35] = var$2; } } var$5[3] = var$2; var$5[4] = nms_Item_wheat; nms_CraftingManager_addRecipe($par1CraftingManager, var$3, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Block_melon.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 5); var$5 = var$4.data; var$5[0] = $rt_s(3206); var$5[1] = $rt_s(3206); var$5[2] = $rt_s(3206); var$6 = jl_Character_characterCache.data; if (77 >= var$6.length) { var$3 = new jl_Character; var$3.$value5 = 77; } else { var$3 = var$6[77]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 77; var$6[77] = var$3; } } var$5[3] = var$3; var$5[4] = nms_Item_melon; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Item_melonSeeds.$itemID0; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 3); var$5 = var$4.data; var$5[0] = $rt_s(272); var$6 = jl_Character_characterCache.data; if (77 >= var$6.length) { var$3 = new jl_Character; var$3.$value5 = 77; } else { var$3 = var$6[77]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 77; var$6[77] = var$3; } } var$5[1] = var$3; var$5[2] = nms_Item_melon; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Item_pumpkinSeeds.$itemID0; var$2.$stackSize = 4; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 3); var$5 = var$4.data; var$5[0] = $rt_s(272); var$6 = jl_Character_characterCache.data; if (77 >= var$6.length) { var$3 = new jl_Character; var$3.$value5 = 77; } else { var$3 = var$6[77]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 77; var$6[77] = var$3; } } var$5[1] = var$3; var$5[2] = nms_Block_pumpkin; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Item_pumpkinPie.$itemID0; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 3); var$5 = var$4.data; var$5[0] = nms_Block_pumpkin; var$5[1] = nms_Item_sugar; var$5[2] = nms_Item_egg; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Item_fermentedSpiderEye.$itemID0; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 3); var$5 = var$4.data; var$5[0] = nms_Item_spiderEye; var$5[1] = nms_Block_mushroomBrown; var$5[2] = nms_Item_sugar; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Item_blazePowder.$itemID0; var$2.$stackSize = 2; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 1); var$4.data[0] = nms_Item_blazeRod; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Item_magmaCream.$itemID0; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 2); var$5 = var$4.data; var$5[0] = nms_Item_blazePowder; var$5[1] = nms_Item_slimeBall; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$2, var$4); }, nms_RecipesCrafting = $rt_classWithoutFields(), nms_RecipesCrafting__init_ = $this => { return; }, nms_RecipesCrafting__init_0 = () => { let var_0 = new nms_RecipesCrafting(); nms_RecipesCrafting__init_(var_0); return var_0; }, nms_RecipesCrafting_addRecipes = ($this, $par1CraftingManager) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$2 = new nms_ItemStack; nms_Block_$callClinit(); var$3 = nms_Block_chest; nms_ItemStack_$callClinit(); var$2.$itemID = var$3.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 5); var$5 = var$4.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3162); var$5[2] = $rt_s(3153); var$6 = jl_Character_characterCache.data; if (35 >= var$6.length) { var$3 = new jl_Character; var$3.$value5 = 35; } else { var$3 = var$6[35]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 35; var$6[35] = var$3; } } var$5[3] = var$3; var$5[4] = nms_Block_planks; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Block_chestTrapped.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 5); var$5 = var$4.data; var$5[0] = $rt_s(3207); var$6 = jl_Character_characterCache.data; var$7 = var$6.length; if (35 < var$7) { var$3 = var$6[35]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 35; var$6[35] = var$3; } } else { var$3 = new jl_Character; var$3.$value5 = 35; } var$5[1] = var$3; var$5[2] = nms_Block_chest; if (45 < var$7) { var$3 = var$6[45]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 45; var$6[45] = var$3; } } else { var$3 = new jl_Character; var$3.$value5 = 45; } var$5[3] = var$3; var$5[4] = nms_Block_tripWireSource; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Block_enderChest.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 7); var$5 = var$4.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3208); var$5[2] = $rt_s(3153); var$6 = jl_Character_characterCache.data; var$7 = var$6.length; if (35 < var$7) { var$3 = var$6[35]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 35; var$6[35] = var$3; } } else { var$3 = new jl_Character; var$3.$value5 = 35; } var$5[3] = var$3; var$5[4] = nms_Block_obsidian; if (69 < var$7) { var$3 = var$6[69]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 69; var$6[69] = var$3; } } else { var$3 = new jl_Character; var$3.$value5 = 69; } var$5[5] = var$3; nms_Item_$callClinit(); var$5[6] = nms_Item_eyeOfEnder; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Block_furnaceIdle.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 5); var$5 = var$4.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3162); var$5[2] = $rt_s(3153); var$6 = jl_Character_characterCache.data; if (35 >= var$6.length) { var$3 = new jl_Character; var$3.$value5 = 35; } else { var$3 = var$6[35]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 35; var$6[35] = var$3; } } var$5[3] = var$3; var$5[4] = nms_Block_cobblestone; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Block_workbench.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 4); var$5 = var$4.data; var$5[0] = $rt_s(3160); var$5[1] = $rt_s(3160); var$6 = jl_Character_characterCache.data; if (35 >= var$6.length) { var$3 = new jl_Character; var$3.$value5 = 35; } else { var$3 = var$6[35]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 35; var$6[35] = var$3; } } var$5[2] = var$3; var$5[3] = nms_Block_planks; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Block_sandStone.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 4); var$5 = var$4.data; var$5[0] = $rt_s(3160); var$5[1] = $rt_s(3160); var$6 = jl_Character_characterCache.data; if (35 >= var$6.length) { var$3 = new jl_Character; var$3.$value5 = 35; } else { var$3 = var$6[35]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 35; var$6[35] = var$3; } } var$5[2] = var$3; var$5[3] = nms_Block_sand; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$8 = nms_Block_sandStone; var$2.$itemID = var$8.$blockID; var$2.$stackSize = 4; var$2.$itemDamage = 2; var$5 = $rt_createArray(jl_Object, 4); var$6 = var$5.data; var$6[0] = $rt_s(3160); var$6[1] = $rt_s(3160); var$4 = jl_Character_characterCache.data; if (35 >= var$4.length) { var$3 = new jl_Character; var$3.$value5 = 35; } else { var$3 = var$4[35]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 35; var$4[35] = var$3; } } var$6[2] = var$3; var$6[3] = var$8; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$5); var$3 = new nms_ItemStack; var$3.$itemID = nms_Block_sandStone.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 1; var$4 = $rt_createArray(jl_Object, 4); var$5 = var$4.data; var$5[0] = $rt_s(1402); var$5[1] = $rt_s(1402); var$6 = jl_Character_characterCache.data; if (35 >= var$6.length) { var$2 = new jl_Character; var$2.$value5 = 35; } else { var$2 = var$6[35]; if (var$2 === null) { var$2 = new jl_Character; var$2.$value5 = 35; var$6[35] = var$2; } } var$5[2] = var$2; var$8 = new nms_ItemStack; var$8.$itemID = nms_Block_stoneSingleSlab.$blockID; var$8.$stackSize = 1; var$8.$itemDamage = 1; var$5[3] = var$8; nms_CraftingManager_addRecipe($par1CraftingManager, var$3, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Block_blockNetherQuartz.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 1; var$4 = $rt_createArray(jl_Object, 4); var$5 = var$4.data; var$5[0] = $rt_s(1402); var$5[1] = $rt_s(1402); var$6 = jl_Character_characterCache.data; if (35 >= var$6.length) { var$3 = new jl_Character; var$3.$value5 = 35; } else { var$3 = var$6[35]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 35; var$6[35] = var$3; } } var$5[2] = var$3; var$3 = new nms_ItemStack; var$3.$itemID = nms_Block_stoneSingleSlab.$blockID; var$3.$stackSize = 1; var$3.$itemDamage = 7; var$5[3] = var$3; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$9 = nms_Block_blockNetherQuartz.$blockID; var$2.$itemID = var$9; var$2.$stackSize = 2; var$2.$itemDamage = 2; var$4 = $rt_createArray(jl_Object, 4); var$5 = var$4.data; var$5[0] = $rt_s(1402); var$5[1] = $rt_s(1402); var$6 = jl_Character_characterCache.data; if (35 >= var$6.length) { var$3 = new jl_Character; var$3.$value5 = 35; } else { var$3 = var$6[35]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 35; var$6[35] = var$3; } } var$5[2] = var$3; var$3 = new nms_ItemStack; var$3.$itemID = var$9; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$5[3] = var$3; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Block_stoneBrick.$blockID; var$2.$stackSize = 4; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 4); var$5 = var$4.data; var$5[0] = $rt_s(3160); var$5[1] = $rt_s(3160); var$6 = jl_Character_characterCache.data; if (35 >= var$6.length) { var$3 = new jl_Character; var$3.$value5 = 35; } else { var$3 = var$6[35]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 35; var$6[35] = var$3; } } var$5[2] = var$3; var$5[3] = nms_Block_stone; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Block_fenceIron.$blockID; var$2.$stackSize = 16; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 4); var$5 = var$4.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3153); var$6 = jl_Character_characterCache.data; if (35 >= var$6.length) { var$3 = new jl_Character; var$3.$value5 = 35; } else { var$3 = var$6[35]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 35; var$6[35] = var$3; } } var$5[2] = var$3; var$5[3] = nms_Item_ingotIron; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Block_thinGlass.$blockID; var$2.$stackSize = 16; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 4); var$5 = var$4.data; var$5[0] = $rt_s(3153); var$5[1] = $rt_s(3153); var$6 = jl_Character_characterCache.data; if (35 >= var$6.length) { var$3 = new jl_Character; var$3.$value5 = 35; } else { var$3 = var$6[35]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 35; var$6[35] = var$3; } } var$5[2] = var$3; var$5[3] = nms_Block_glass; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Block_redstoneLampIdle.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 7); var$5 = var$4.data; var$5[0] = $rt_s(3209); var$5[1] = $rt_s(3210); var$5[2] = $rt_s(3209); var$6 = jl_Character_characterCache.data; var$7 = var$6.length; if (82 >= var$7) { var$3 = new jl_Character; var$3.$value5 = 82; } else { var$3 = var$6[82]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 82; var$6[82] = var$3; } } var$5[3] = var$3; var$5[4] = nms_Item_redstone; if (71 >= var$7) { var$3 = new jl_Character; var$3.$value5 = 71; } else { var$3 = var$6[71]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 71; var$6[71] = var$3; } } var$5[5] = var$3; var$5[6] = nms_Block_glowStone; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Block_beacon.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 9); var$5 = var$4.data; var$5[0] = $rt_s(3187); var$5[1] = $rt_s(3211); var$5[2] = $rt_s(3212); var$6 = jl_Character_characterCache.data; var$9 = var$6.length; if (71 >= var$9) { var$3 = new jl_Character; var$3.$value5 = 71; } else { var$3 = var$6[71]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 71; var$6[71] = var$3; } } var$5[3] = var$3; var$5[4] = nms_Block_glass; if (83 >= var$9) { var$3 = new jl_Character; var$3.$value5 = 83; } else { var$3 = var$6[83]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 83; var$6[83] = var$3; } } var$5[5] = var$3; var$5[6] = nms_Item_netherStar; if (79 >= var$9) { var$3 = new jl_Character; var$3.$value5 = 79; } else { var$3 = var$6[79]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 79; var$6[79] = var$3; } } var$5[7] = var$3; var$5[8] = nms_Block_obsidian; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); var$2 = new nms_ItemStack; var$2.$itemID = nms_Block_netherBrick.$blockID; var$2.$stackSize = 1; var$2.$itemDamage = 0; var$4 = $rt_createArray(jl_Object, 4); var$5 = var$4.data; var$5[0] = $rt_s(3213); var$5[1] = $rt_s(3213); var$6 = jl_Character_characterCache.data; if (78 >= var$6.length) { var$3 = new jl_Character; var$3.$value5 = 78; } else { var$3 = var$6[78]; if (var$3 === null) { var$3 = new jl_Character; var$3.$value5 = 78; var$6[78] = var$3; } } var$5[2] = var$3; var$5[3] = nms_Item_netherrackBrick; nms_CraftingManager_addRecipe($par1CraftingManager, var$2, var$4); }; function nms_RecipesArmor() { let a = this; jl_Object.call(a); a.$recipePatterns0 = null; a.$recipeItems0 = null; } let nms_RecipesArmor__init_ = $this => { let var$1, var$2, var$3, var$4; var$1 = $rt_createArray($rt_arraycls(jl_String), 4); var$2 = var$1.data; var$2[0] = $rt_wrapArray(jl_String, [$rt_s(3159), $rt_s(3168)]); var$2[1] = $rt_wrapArray(jl_String, [$rt_s(3168), $rt_s(3159), $rt_s(3159)]); var$2[2] = $rt_wrapArray(jl_String, [$rt_s(3159), $rt_s(3168), $rt_s(3168)]); var$2[3] = $rt_wrapArray(jl_String, [$rt_s(3168), $rt_s(3168)]); $this.$recipePatterns0 = var$1; var$1 = $rt_createArray($rt_arraycls(jl_Object), 5); var$2 = var$1.data; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; nms_Item_$callClinit(); var$4[0] = nms_Item_leather; nms_Block_$callClinit(); var$4[1] = nms_Block_fire; var$4[2] = nms_Item_ingotIron; var$4[3] = nms_Item_diamond; var$4[4] = nms_Item_ingotGold; var$2[0] = var$3; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; var$4[0] = nms_Item_helmetLeather; var$4[1] = nms_Item_helmetChain; var$4[2] = nms_Item_helmetIron; var$4[3] = nms_Item_helmetDiamond; var$4[4] = nms_Item_helmetGold; var$2[1] = var$3; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; var$4[0] = nms_Item_plateLeather; var$4[1] = nms_Item_plateChain; var$4[2] = nms_Item_plateIron; var$4[3] = nms_Item_plateDiamond; var$4[4] = nms_Item_plateGold; var$2[2] = var$3; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; var$4[0] = nms_Item_legsLeather; var$4[1] = nms_Item_legsChain; var$4[2] = nms_Item_legsIron; var$4[3] = nms_Item_legsDiamond; var$4[4] = nms_Item_legsGold; var$2[3] = var$3; var$3 = $rt_createArray(jl_Object, 5); var$4 = var$3.data; var$4[0] = nms_Item_bootsLeather; var$4[1] = nms_Item_bootsChain; var$4[2] = nms_Item_bootsIron; var$4[3] = nms_Item_bootsDiamond; var$4[4] = nms_Item_bootsGold; var$2[4] = var$3; $this.$recipeItems0 = var$1; }, nms_RecipesArmor__init_0 = () => { let var_0 = new nms_RecipesArmor(); nms_RecipesArmor__init_(var_0); return var_0; }, nms_RecipesArmor_addRecipes = ($this, $par1CraftingManager) => { let $var2, var$3, $var3, $var4, var$6, $var4_0, $var5, var$9, var$10; $var2 = 0; while (true) { var$3 = $this.$recipeItems0.data; if ($var2 >= var$3[0].data.length) break; $var3 = var$3[0].data[$var2]; $var4 = 0; while (true) { var$6 = $this.$recipeItems0.data; if ($var4 >= (var$6.length - 1 | 0)) break; $var4_0 = $var4 + 1 | 0; $var5 = var$6[$var4_0].data[$var2]; var$9 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$9.$itemID = $var5.$itemID0; var$9.$stackSize = 1; var$9.$itemDamage = 0; var$6 = $rt_createArray(jl_Object, 3); var$10 = var$6.data; var$10[0] = $this.$recipePatterns0.data[$var4]; var$3 = jl_Character_characterCache.data; if (88 >= var$3.length) { $var5 = new jl_Character; $var5.$value5 = 88; } else { $var5 = var$3[88]; if ($var5 === null) { $var5 = new jl_Character; $var5.$value5 = 88; var$3[88] = $var5; } } var$10[1] = $var5; var$10[2] = $var3; nms_CraftingManager_addRecipe($par1CraftingManager, var$9, var$6); $var4 = $var4_0; } $var2 = $var2 + 1 | 0; } }, nms_RecipesDyes = $rt_classWithoutFields(), nms_RecipesDyes__init_ = $this => { return; }, nms_RecipesDyes__init_0 = () => { let var_0 = new nms_RecipesDyes(); nms_RecipesDyes__init_(var_0); return var_0; }, nms_RecipesDyes_addRecipes = ($this, $par1CraftingManager) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $var2 = 0; while ($var2 < 16) { var$3 = new nms_ItemStack; nms_Block_$callClinit(); var$4 = nms_Block_cloth; var$5 = ($var2 ^ (-1)) & 15; nms_ItemStack_$callClinit(); var$6 = var$4.$blockID; var$3.$itemID = var$6; var$3.$stackSize = 1; var$3.$itemDamage = var$5; if (var$5 < 0) var$3.$itemDamage = 0; var$7 = $rt_createArray(jl_Object, 2); var$4 = new nms_ItemStack; nms_Item_$callClinit(); var$4.$itemID = nms_Item_dyePowder.$itemID0; var$4.$stackSize = 1; var$4.$itemDamage = $var2; if ($var2 < 0) var$4.$itemDamage = 0; var$8 = var$7.data; var$8[0] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = nms_Item_itemsList.data[var$6].$itemID0; var$4.$stackSize = 1; var$4.$itemDamage = 0; var$8[1] = var$4; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$3.$itemID = nms_Block_stainedClay.$blockID; var$3.$stackSize = 8; var$3.$itemDamage = var$5; if (var$5 < 0) var$3.$itemDamage = 0; var$7 = $rt_createArray(jl_Object, 7); var$8 = var$7.data; var$8[0] = $rt_s(3153); var$8[1] = $rt_s(3155); var$8[2] = $rt_s(3153); var$9 = jl_Character_characterCache.data; var$5 = var$9.length; if (35 >= var$5) { var$4 = new jl_Character; var$4.$value5 = 35; } else { var$4 = var$9[35]; if (var$4 === null) { var$4 = new jl_Character; var$4.$value5 = 35; var$9[35] = var$4; } } var$8[3] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = nms_Block_hardenedClay.$blockID; var$4.$stackSize = 1; var$4.$itemDamage = 0; var$8[4] = var$4; if (88 >= var$5) { var$4 = new jl_Character; var$4.$value5 = 88; } else { var$4 = var$9[88]; if (var$4 === null) { var$4 = new jl_Character; var$4.$value5 = 88; var$9[88] = var$4; } } var$8[5] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = nms_Item_dyePowder.$itemID0; var$4.$stackSize = 1; var$4.$itemDamage = $var2; if ($var2 < 0) var$4.$itemDamage = 0; var$8[6] = var$4; nms_CraftingManager_addRecipe($par1CraftingManager, var$3, var$7); $var2 = $var2 + 1 | 0; } var$4 = new nms_ItemStack; nms_Item_$callClinit(); var$3 = nms_Item_dyePowder; nms_ItemStack_$callClinit(); var$4.$itemID = var$3.$itemID0; var$4.$stackSize = 2; var$4.$itemDamage = 11; var$7 = $rt_createArray(jl_Object, 1); var$8 = var$7.data; nms_Block_$callClinit(); var$8[0] = nms_Block_plantYellow; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$4, var$7); var$3 = new nms_ItemStack; var$3.$itemID = nms_Item_dyePowder.$itemID0; var$3.$stackSize = 2; var$3.$itemDamage = 1; var$7 = $rt_createArray(jl_Object, 1); var$7.data[0] = nms_Block_plantRed; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$3.$itemID = nms_Item_dyePowder.$itemID0; var$3.$stackSize = 3; var$3.$itemDamage = 15; var$7 = $rt_createArray(jl_Object, 1); var$7.data[0] = nms_Item_bone; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$10 = nms_Item_dyePowder.$itemID0; var$3.$itemID = var$10; var$3.$stackSize = 2; var$3.$itemDamage = 9; var$7 = $rt_createArray(jl_Object, 2); var$8 = var$7.data; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 1; var$8[0] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 15; var$8[1] = var$4; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$10 = nms_Item_dyePowder.$itemID0; var$3.$itemID = var$10; var$3.$stackSize = 2; var$3.$itemDamage = 14; var$7 = $rt_createArray(jl_Object, 2); var$8 = var$7.data; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 1; var$8[0] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 11; var$8[1] = var$4; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$10 = nms_Item_dyePowder.$itemID0; var$3.$itemID = var$10; var$3.$stackSize = 2; var$3.$itemDamage = 10; var$7 = $rt_createArray(jl_Object, 2); var$8 = var$7.data; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 2; var$8[0] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 15; var$8[1] = var$4; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$10 = nms_Item_dyePowder.$itemID0; var$3.$itemID = var$10; var$3.$stackSize = 2; var$3.$itemDamage = 8; var$7 = $rt_createArray(jl_Object, 2); var$8 = var$7.data; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 0; var$8[0] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 15; var$8[1] = var$4; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$10 = nms_Item_dyePowder.$itemID0; var$3.$itemID = var$10; var$3.$stackSize = 2; var$3.$itemDamage = 7; var$7 = $rt_createArray(jl_Object, 2); var$8 = var$7.data; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 8; var$8[0] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 15; var$8[1] = var$4; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$11 = nms_Item_dyePowder.$itemID0; var$3.$itemID = var$11; var$3.$stackSize = 3; var$3.$itemDamage = 7; var$7 = $rt_createArray(jl_Object, 3); var$8 = var$7.data; var$4 = new nms_ItemStack; var$4.$itemID = var$11; var$4.$stackSize = 1; var$4.$itemDamage = 0; var$8[0] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$11; var$4.$stackSize = 1; var$4.$itemDamage = 15; var$8[1] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$11; var$4.$stackSize = 1; var$4.$itemDamage = 15; var$8[2] = var$4; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$10 = nms_Item_dyePowder.$itemID0; var$3.$itemID = var$10; var$3.$stackSize = 2; var$3.$itemDamage = 12; var$7 = $rt_createArray(jl_Object, 2); var$8 = var$7.data; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 4; var$8[0] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 15; var$8[1] = var$4; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$10 = nms_Item_dyePowder.$itemID0; var$3.$itemID = var$10; var$3.$stackSize = 2; var$3.$itemDamage = 6; var$7 = $rt_createArray(jl_Object, 2); var$8 = var$7.data; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 4; var$8[0] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 2; var$8[1] = var$4; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$10 = nms_Item_dyePowder.$itemID0; var$3.$itemID = var$10; var$3.$stackSize = 2; var$3.$itemDamage = 5; var$7 = $rt_createArray(jl_Object, 2); var$8 = var$7.data; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 4; var$8[0] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 1; var$8[1] = var$4; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$10 = nms_Item_dyePowder.$itemID0; var$3.$itemID = var$10; var$3.$stackSize = 2; var$3.$itemDamage = 13; var$7 = $rt_createArray(jl_Object, 2); var$8 = var$7.data; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 5; var$8[0] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 9; var$8[1] = var$4; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$10 = nms_Item_dyePowder.$itemID0; var$3.$itemID = var$10; var$3.$stackSize = 3; var$3.$itemDamage = 13; var$7 = $rt_createArray(jl_Object, 3); var$8 = var$7.data; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 4; var$8[0] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 1; var$8[1] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 9; var$8[2] = var$4; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); var$3 = new nms_ItemStack; var$10 = nms_Item_dyePowder.$itemID0; var$3.$itemID = var$10; var$3.$stackSize = 4; var$3.$itemDamage = 13; var$7 = $rt_createArray(jl_Object, 4); var$8 = var$7.data; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 4; var$8[0] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 1; var$8[1] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 1; var$8[2] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = var$10; var$4.$stackSize = 1; var$4.$itemDamage = 15; var$8[3] = var$4; nms_CraftingManager_addShapelessRecipe($par1CraftingManager, var$3, var$7); $var2 = 0; while ($var2 < 16) { var$3 = new nms_ItemStack; var$3.$itemID = nms_Block_carpet.$blockID; var$3.$stackSize = 3; var$3.$itemDamage = $var2; if ($var2 < 0) var$3.$itemDamage = 0; var$7 = $rt_createArray(jl_Object, 3); var$8 = var$7.data; var$8[0] = $rt_s(3160); var$9 = jl_Character_characterCache.data; if (35 >= var$9.length) { var$4 = new jl_Character; var$4.$value5 = 35; } else { var$4 = var$9[35]; if (var$4 === null) { var$4 = new jl_Character; var$4.$value5 = 35; var$9[35] = var$4; } } var$8[1] = var$4; var$4 = new nms_ItemStack; var$4.$itemID = nms_Block_cloth.$blockID; var$4.$stackSize = 1; var$4.$itemDamage = $var2; if ($var2 < 0) var$4.$itemDamage = 0; var$8[2] = var$4; nms_CraftingManager_addRecipe($par1CraftingManager, var$3, var$7); $var2 = $var2 + 1 | 0; } }, nms_RecipesArmorDyes = $rt_classWithoutFields(), nms_RecipesArmorDyes__init_ = $this => { return; }, nms_RecipesArmorDyes__init_0 = () => { let var_0 = new nms_RecipesArmorDyes(); nms_RecipesArmorDyes__init_(var_0); return var_0; }, nms_RecipesArmorDyes_matches = ($this, $par1InventoryCrafting, $par2World) => { let $var3, $var4, $var5, var$6, var$7, $var6, var$9; $var3 = null; $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var5 = 0; a: { while (true) { var$6 = $par1InventoryCrafting.$stackList.data; var$7 = $rt_compare($var5, var$6.length); if (var$7 >= 0) return $var3 !== null && !($var4.$size0 ? 0 : 1) ? 1 : 0; $var6 = var$7 < 0 ? var$6[$var5] : null; if ($var6 !== null) { nms_Item_$callClinit(); var$6 = nms_Item_itemsList.data; var$7 = $var6.$itemID; if (var$6[var$7] instanceof nms_ItemArmor) { if (var$6[var$7].$material !== nms_EnumArmorMaterial_CLOTH) break a; if ($var3 !== null) break a; $var3 = $var6; } else { if (var$7 != nms_Item_dyePowder.$itemID0) break; ju_ArrayList_ensureCapacity($var4, $var4.$size0 + 1 | 0); var$6 = $var4.$array.data; var$9 = $var4.$size0; $var4.$size0 = var$9 + 1 | 0; var$6[var$9] = $var6; $var4.$modCount = $var4.$modCount + 1 | 0; } } $var5 = $var5 + 1 | 0; } return 0; } return 0; }, nms_RecipesArmorDyes_getCraftingResult = ($this, $par1InventoryCrafting) => { let $var2, $var3, $var4, $var5, $var6, $var7, $var14, $var9, $var13, $var9_0, $var10, $var11, $var8, $var15, $var16, $var17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, $var10_0, $var12; $var2 = null; $var3 = $rt_createIntArray(3).data; $var4 = 0; $var5 = 0; $var6 = null; $var7 = 0; while (true) { $var14 = $par1InventoryCrafting.$stackList.data; $var9 = $rt_compare($var7, $var14.length); if ($var9 >= 0) { if ($var6 === null) return null; $var9 = $var3[0] / $var5 | 0; $var13 = $var3[1] / $var5 | 0; $var9_0 = $var3[2] / $var5 | 0; $var10 = $var4 / $var5; $var4 = $var13 <= $var9_0 ? $var9_0 : $var13; if ($var9 > $var4) $var4 = $var9; $var11 = $var4; nms_ItemArmor_func_82813_b($var6, $var2, (((($var9 * $var10 / $var11 | 0) << 8) + ($var13 * $var10 / $var11 | 0) | 0) << 8) + ($var9_0 * $var10 / $var11 | 0) | 0); return $var2; } $var8 = $var9 < 0 ? $var14[$var7] : null; if ($var8 !== null) { nms_Item_$callClinit(); $var14 = nms_Item_itemsList.data; $var15 = $var8.$itemID; if (!($var14[$var15] instanceof nms_ItemArmor)) { if ($var15 != nms_Item_dyePowder.$itemID0) return null; $var14 = nms_EntitySheep_fleeceColorTable.data[($var8.$itemDamage ^ (-1)) & 15].data; $var15 = $var14[0] * 255.0 | 0; $var16 = $var14[1] * 255.0 | 0; $var17 = $var14[2] * 255.0 | 0; $var13 = $var16 <= $var17 ? $var17 : $var16; if ($var15 > $var13) $var13 = $var15; $var4 = $var4 + $var13 | 0; $var3[0] = $var3[0] + $var15 | 0; $var3[1] = $var3[1] + $var16 | 0; $var3[2] = $var3[2] + $var17 | 0; $var5 = $var5 + 1 | 0; } else { $var6 = $var14[$var15]; if ($var6.$material !== nms_EnumArmorMaterial_CLOTH) break; if ($var2 !== null) break; $var2 = new nms_ItemStack; $var9 = $var8.$stackSize; $var13 = $var8.$itemDamage; nms_ItemStack_$callClinit(); $var2.$itemID = $var15; $var2.$stackSize = $var9; $var2.$itemDamage = $var13; if ($var13 < 0) $var2.$itemDamage = 0; var$18 = $var8.$stackTagCompound; if (var$18 !== null) { var$19 = new nms_NBTTagCompound; var$20 = var$18.$name; if (var$20 === null) var$20 = $rt_s(18); var$19.$name = var$20; var$20 = new ju_HashMap; $var9 = ju_HashMap_calculateCapacity(16); var$20.$elementCount = 0; var$21 = $rt_createArray(ju_HashMap$HashEntry, $var9); $var14 = var$21.data; var$20.$elementData = var$21; var$20.$loadFactor = 0.75; var$20.$threshold = $var14.length * 0.75 | 0; var$19.$tagMap = var$20; var$20 = var$18.$tagMap; if (var$20.$cachedKeySet === null) { var$22 = new ju_HashMap$1; var$22.$this$0 = var$20; var$20.$cachedKeySet = var$22; } var$20 = var$20.$cachedKeySet.$iterator(); while (var$20.$hasNext()) { var$22 = var$20.$next(); var$23 = var$18.$tagMap; if (var$22 === null) { var$23 = var$23.$elementData.data[0]; while (var$23 !== null && var$23.$key !== null) { var$23 = var$23.$next3; } } else { a: { if (!var$22.$hashCode1) { $var9 = 0; while (true) { if ($var9 >= var$22.$nativeString.length) break a; var$22.$hashCode1 = (31 * var$22.$hashCode1 | 0) + var$22.$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } $var15 = var$22.$hashCode1; $var14 = var$23.$elementData.data; var$23 = $var14[$var15 & ($var14.length - 1 | 0)]; while (var$23 !== null) { if (var$23.$origKeyHash == $var15) { b: { var$24 = var$23.$key; if (var$22 !== var$24) { if (var$22 === var$24) $var9 = 1; else if (!(var$24 instanceof jl_String)) $var9 = 0; else { var$24 = var$24; $var9 = var$22.$nativeString !== var$24.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break b; } } $var9 = 1; } if ($var9) break; } var$23 = var$23.$next3; } } var$23 = var$23 === null ? null : var$23.$value1; var$23 = var$23.$copy(); var$24 = var$19.$tagMap; if (var$22 !== null) var$23.$name = var$22; else var$23.$name = $rt_s(18); ju_HashMap_putImpl(var$24, var$22, var$23); } $var2.$stackTagCompound = var$19; } $var2.$stackSize = 1; if ($var6.$material !== nms_EnumArmorMaterial_CLOTH) $var9 = 0; else { var$19 = $var8.$stackTagCompound; if (!(var$19 === null ? 0 : 1)) $var9 = 0; else { c: { var$19 = var$19.$tagMap; if (!$rt_s(1525).$hashCode1) { $var15 = 0; while (true) { if ($var15 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var15) | 0; $var15 = $var15 + 1 | 0; } } } $var15 = $rt_s(1525).$hashCode1; $var14 = var$19.$elementData.data; var$19 = $var14[$var15 & ($var14.length - 1 | 0)]; while (var$19 !== null) { if (var$19.$origKeyHash == $var15) { d: { var$20 = var$19.$key; if ($rt_s(1525) !== var$20) { if ($rt_s(1525) === var$20) $var9 = 1; else if (!(var$20 instanceof jl_String)) $var9 = 0; else { var$20 = var$20; $var9 = $rt_s(1525).$nativeString !== var$20.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break d; } } $var9 = 1; } if ($var9) break; } var$19 = var$19.$next3; } if (!(var$19 === null ? 0 : 1)) $var9 = 0; else { e: { var$23 = $var8.$stackTagCompound; var$18 = var$23.$tagMap; if (!$rt_s(1525).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } $var13 = $rt_s(1525).$hashCode1; $var14 = var$18.$elementData.data; var$22 = $var14[$var13 & ($var14.length - 1 | 0)]; while (var$22 !== null) { if (var$22.$origKeyHash == $var13) { f: { var$18 = var$22.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) === var$18) $var9 = 1; else if (!(var$18 instanceof jl_String)) $var9 = 0; else { var$18 = var$18; $var9 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break f; } } $var9 = 1; } if ($var9) break; } var$22 = var$22.$next3; } if (!(var$22 === null ? 0 : 1)) { var$18 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$18.$name = $rt_s(1525); else var$18.$name = $rt_s(18); var$19 = new ju_HashMap; $var9 = ju_HashMap_calculateCapacity(16); var$19.$elementCount = 0; $var14 = $rt_createArray(ju_HashMap$HashEntry, $var9); var$21 = $var14.data; var$19.$elementData = $var14; var$19.$loadFactor = 0.75; var$19.$threshold = var$21.length * 0.75 | 0; var$18.$tagMap = var$19; } else { var$18 = var$23.$tagMap; if ($rt_s(1525) === null) { var$22 = var$18.$elementData.data[0]; while (var$22 !== null && var$22.$key !== null) { var$22 = var$22.$next3; } } else { g: { if (!$rt_s(1525).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(1525).$nativeString.length) break g; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } $var13 = $rt_s(1525).$hashCode1; $var14 = var$18.$elementData.data; var$22 = $var14[$var13 & ($var14.length - 1 | 0)]; while (var$22 !== null) { if (var$22.$origKeyHash == $var13) { h: { var$18 = var$22.$key; if ($rt_s(1525) !== var$18) { if ($rt_s(1525) === var$18) $var9 = 1; else if (!(var$18 instanceof jl_String)) $var9 = 0; else { var$18 = var$18; $var9 = $rt_s(1525).$nativeString !== var$18.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break h; } } $var9 = 1; } if ($var9) break; } var$22 = var$22.$next3; } } var$18 = var$22 === null ? null : var$22.$value1; } i: { var$18 = var$18.$tagMap; if (!$rt_s(2506).$hashCode1) { $var9 = 0; while (true) { if ($var9 >= $rt_s(2506).$nativeString.length) break i; $rt_s(2506).$hashCode1 = (31 * $rt_s(2506).$hashCode1 | 0) + $rt_s(2506).$nativeString.charCodeAt($var9) | 0; $var9 = $var9 + 1 | 0; } } } $var13 = $rt_s(2506).$hashCode1; $var14 = var$18.$elementData.data; var$22 = $var14[$var13 & ($var14.length - 1 | 0)]; while (var$22 !== null) { if (var$22.$origKeyHash == $var13) { j: { var$18 = var$22.$key; if ($rt_s(2506) !== var$18) { if ($rt_s(2506) === var$18) $var9 = 1; else if (!(var$18 instanceof jl_String)) $var9 = 0; else { var$18 = var$18; $var9 = $rt_s(2506).$nativeString !== var$18.$nativeString ? 0 : 1; } if (!$var9) { $var9 = 0; break j; } } $var9 = 1; } if ($var9) break; } var$22 = var$22.$next3; } $var9 = var$22 === null ? 0 : 1; } } } if ($var9) { $var9 = nms_ItemArmor_getColor($var6, $var2); $var10_0 = ($var9 >> 16 & 255) / 255.0; $var11 = ($var9 >> 8 & 255) / 255.0; $var12 = ($var9 & 255) / 255.0; $var4 = $var4 + jl_Math_maxImpl($var10_0, jl_Math_maxImpl($var11, $var12)) * 255.0 | 0; $var3[0] = $var3[0] + $var10_0 * 255.0 | 0; $var3[1] = $var3[1] + $var11 * 255.0 | 0; $var3[2] = $var3[2] + $var12 * 255.0 | 0; $var5 = $var5 + 1 | 0; } } } $var7 = $var7 + 1 | 0; } return null; }, nms_RecipesArmorDyes_getRecipeSize = $this => { return 10; }, nms_RecipesArmorDyes_getRecipeOutput = $this => { return null; }, nms_RecipesMapCloning = $rt_classWithoutFields(), nms_RecipesMapCloning__init_ = $this => { return; }, nms_RecipesMapCloning__init_0 = () => { let var_0 = new nms_RecipesMapCloning(); nms_RecipesMapCloning__init_(var_0); return var_0; }, nms_RecipesMapCloning_matches = ($this, $par1InventoryCrafting, $par2World) => { let $var3, $var4, $var5, var$6, var$7, $var6; $var3 = 0; $var4 = null; $var5 = 0; while (true) { var$6 = $par1InventoryCrafting.$stackList.data; var$7 = $rt_compare($var5, var$6.length); if (var$7 >= 0) return $var4 !== null && $var3 > 0 ? 1 : 0; $var6 = var$7 < 0 ? var$6[$var5] : null; if ($var6 !== null) { var$7 = $var6.$itemID; nms_Item_$callClinit(); if (var$7 == nms_Item_map.$itemID0) { if ($var4 !== null) return 0; $var4 = $var6; } else { if (var$7 != nms_Item_emptyMap.$itemID0) break; $var3 = $var3 + 1 | 0; } } $var5 = $var5 + 1 | 0; } return 0; }, nms_RecipesMapCloning_getCraftingResult = ($this, $par1InventoryCrafting) => { let $var2, $var3, $var4, var$5, var$6, $var5, $var6, var$9, var$10, var$11; $var2 = 0; $var3 = null; $var4 = 0; while (true) { var$5 = $par1InventoryCrafting.$stackList.data; var$6 = $rt_compare($var4, var$5.length); if (var$6 >= 0) break; $var5 = var$6 < 0 ? var$5[$var4] : null; if ($var5 !== null) { var$6 = $var5.$itemID; nms_Item_$callClinit(); if (var$6 == nms_Item_map.$itemID0) { if ($var3 !== null) return null; $var3 = $var5; } else { if (var$6 != nms_Item_emptyMap.$itemID0) return null; $var2 = $var2 + 1 | 0; } } $var4 = $var4 + 1 | 0; } if ($var3 !== null && $var2 >= 1) { $var6 = new nms_ItemStack; nms_Item_$callClinit(); $par1InventoryCrafting = nms_Item_map; $var2 = $var2 + 1 | 0; var$6 = $var3.$itemDamage; nms_ItemStack_$callClinit(); $var6.$itemID = $par1InventoryCrafting.$itemID0; $var6.$stackSize = $var2; $var6.$itemDamage = var$6; if (var$6 < 0) $var6.$itemDamage = 0; $var5 = $var3.$stackTagCompound; if ($var5 === null) $var2 = 0; else { a: { $var5 = $var5.$tagMap; if (!$rt_s(1525).$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } $var4 = $rt_s(1525).$hashCode1; var$5 = $var5.$elementData.data; $var5 = var$5[$var4 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var4) { b: { var$9 = $var5.$key; if ($rt_s(1525) !== var$9) { if ($rt_s(1525) !== var$9) { if (var$9 instanceof jl_String) { var$9 = var$9; $var2 = $rt_s(1525).$nativeString !== var$9.$nativeString ? 0 : 1; } else $var2 = 0; } else $var2 = 1; if (!$var2) { $var2 = 0; break b; } } $var2 = 1; } if ($var2) break; } $var5 = $var5.$next3; } if (!($var5 === null ? 0 : 1)) $var2 = 0; else { c: { $par1InventoryCrafting = $var3.$stackTagCompound; var$9 = $par1InventoryCrafting.$tagMap; if (!$rt_s(1525).$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$5 = var$9.$elementData.data; var$9 = var$5[var$6 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$6) { d: { var$10 = var$9.$key; if ($rt_s(1525) !== var$10) { if ($rt_s(1525) !== var$10) { if (var$10 instanceof jl_String) { var$10 = var$10; $var2 = $rt_s(1525).$nativeString !== var$10.$nativeString ? 0 : 1; } else $var2 = 0; } else $var2 = 1; if (!$var2) { $var2 = 0; break d; } } $var2 = 1; } if ($var2) break; } var$9 = var$9.$next3; } if (!(var$9 === null ? 0 : 1)) { $par1InventoryCrafting = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $par1InventoryCrafting.$name = $rt_s(1525); else $par1InventoryCrafting.$name = $rt_s(18); $var5 = new ju_HashMap; $var2 = ju_HashMap_calculateCapacity(16); $var5.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, $var2); var$5 = var$11.data; $var5.$elementData = var$11; $var5.$loadFactor = 0.75; $var5.$threshold = var$5.length * 0.75 | 0; $par1InventoryCrafting.$tagMap = $var5; } else { $par1InventoryCrafting = $par1InventoryCrafting.$tagMap; if ($rt_s(1525) === null) { $par1InventoryCrafting = $par1InventoryCrafting.$elementData.data[0]; while ($par1InventoryCrafting !== null && $par1InventoryCrafting.$key !== null) { $par1InventoryCrafting = $par1InventoryCrafting.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$5 = $par1InventoryCrafting.$elementData.data; $par1InventoryCrafting = var$5[var$6 & (var$5.length - 1 | 0)]; while ($par1InventoryCrafting !== null) { if ($par1InventoryCrafting.$origKeyHash == var$6) { f: { var$9 = $par1InventoryCrafting.$key; if ($rt_s(1525) !== var$9) { if ($rt_s(1525) === var$9) $var2 = 1; else if (!(var$9 instanceof jl_String)) $var2 = 0; else { var$9 = var$9; $var2 = $rt_s(1525).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break f; } } $var2 = 1; } if ($var2) break; } $par1InventoryCrafting = $par1InventoryCrafting.$next3; } } $par1InventoryCrafting = $par1InventoryCrafting === null ? null : $par1InventoryCrafting.$value1; } g: { $par1InventoryCrafting = $par1InventoryCrafting.$tagMap; if (!$rt_s(1526).$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$5 = $par1InventoryCrafting.$elementData.data; $par1InventoryCrafting = var$5[var$6 & (var$5.length - 1 | 0)]; while ($par1InventoryCrafting !== null) { if ($par1InventoryCrafting.$origKeyHash == var$6) { h: { var$9 = $par1InventoryCrafting.$key; if ($rt_s(1526) !== var$9) { if ($rt_s(1526) === var$9) $var2 = 1; else if (!(var$9 instanceof jl_String)) $var2 = 0; else { var$9 = var$9; $var2 = $rt_s(1526).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break h; } } $var2 = 1; } if ($var2) break; } $par1InventoryCrafting = $par1InventoryCrafting.$next3; } $var2 = $par1InventoryCrafting === null ? 0 : 1; } } if ($var2) { $par1InventoryCrafting = nms_Item_itemsList.data[$var3.$itemID].$getItemDisplayName($var3); $var5 = $var3.$stackTagCompound; if ($var5 !== null) { i: { $var5 = $var5.$tagMap; if (!$rt_s(1525).$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$5 = $var5.$elementData.data; $var5 = var$5[var$6 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$6) { j: { var$10 = $var5.$key; if ($rt_s(1525) !== var$10) { if ($rt_s(1525) !== var$10) { if (var$10 instanceof jl_String) { var$10 = var$10; $var2 = $rt_s(1525).$nativeString !== var$10.$nativeString ? 0 : 1; } else $var2 = 0; } else $var2 = 1; if (!$var2) { $var2 = 0; break j; } } $var2 = 1; } if ($var2) break; } $var5 = $var5.$next3; } if ($var5 === null ? 0 : 1) { k: { $var3 = $var3.$stackTagCompound; var$9 = $var3.$tagMap; if (!$rt_s(1525).$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$5 = var$9.$elementData.data; var$9 = var$5[var$6 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$6) { l: { var$10 = var$9.$key; if ($rt_s(1525) !== var$10) { if ($rt_s(1525) === var$10) $var2 = 1; else if (!(var$10 instanceof jl_String)) $var2 = 0; else { var$10 = var$10; $var2 = $rt_s(1525).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break l; } } $var2 = 1; } if ($var2) break; } var$9 = var$9.$next3; } if (!(var$9 === null ? 0 : 1)) { var$9 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$9.$name = $rt_s(1525); else var$9.$name = $rt_s(18); $var3 = new ju_HashMap; $var2 = ju_HashMap_calculateCapacity(16); $var3.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, $var2); var$5 = var$11.data; $var3.$elementData = var$11; $var3.$loadFactor = 0.75; $var3.$threshold = var$5.length * 0.75 | 0; var$9.$tagMap = $var3; } else { $var3 = $var3.$tagMap; if ($rt_s(1525) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { m: { if (!$rt_s(1525).$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$6 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$6) { n: { var$9 = $var3.$key; if ($rt_s(1525) !== var$9) { if ($rt_s(1525) === var$9) $var2 = 1; else if (!(var$9 instanceof jl_String)) $var2 = 0; else { var$9 = var$9; $var2 = $rt_s(1525).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break n; } } $var2 = 1; } if ($var2) break; } $var3 = $var3.$next3; } } var$9 = $var3 === null ? null : $var3.$value1; } o: { $var5 = var$9.$tagMap; if (!$rt_s(1526).$hashCode1) { $var4 = 0; while (true) { if ($var4 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var4) | 0; $var4 = $var4 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$5 = $var5.$elementData.data; $var5 = var$5[var$6 & (var$5.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$6) { p: { var$10 = $var5.$key; if ($rt_s(1526) !== var$10) { if ($rt_s(1526) === var$10) $var2 = 1; else if (!(var$10 instanceof jl_String)) $var2 = 0; else { var$10 = var$10; $var2 = $rt_s(1526).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break p; } } $var2 = 1; } if ($var2) break; } $var5 = $var5.$next3; } if ($var5 === null ? 0 : 1) { q: { $var3 = var$9.$tagMap; if (!$rt_s(1526).$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $rt_s(1526).$nativeString.length) break q; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$6 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$6) { r: { $var5 = $var3.$key; if ($rt_s(1526) !== $var5) { if ($rt_s(1526) === $var5) $var2 = 1; else if (!($var5 instanceof jl_String)) $var2 = 0; else { $var5 = $var5; $var2 = $rt_s(1526).$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break r; } } $var2 = 1; } if ($var2) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) $par1InventoryCrafting = $rt_s(18); else { $var3 = var$9.$tagMap; if ($rt_s(1526) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { s: { if (!$rt_s(1526).$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$6 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$6) { t: { $var5 = $var3.$key; if ($rt_s(1526) !== $var5) { if ($rt_s(1526) === $var5) $var2 = 1; else if (!($var5 instanceof jl_String)) $var2 = 0; else { $var5 = $var5; $var2 = $rt_s(1526).$nativeString !== $var5.$nativeString ? 0 : 1; } if (!$var2) { $var2 = 0; break t; } } $var2 = 1; } if ($var2) break; } $var3 = $var3.$next3; } } $par1InventoryCrafting = ($var3 === null ? null : $var3.$value1).$data1; } } } } nms_ItemStack_setItemName($var6, $par1InventoryCrafting); } return $var6; } return null; }, nms_RecipesMapCloning_getRecipeSize = $this => { return 9; }, nms_RecipesMapCloning_getRecipeOutput = $this => { return null; }; function nms_ShapedRecipes() { let a = this; jl_Object.call(a); a.$recipeWidth = 0; a.$recipeHeight = 0; a.$recipeItems = null; a.$recipeOutput = null; a.$recipeOutputItemID = 0; a.$field_92101_f = 0; } let nms_ShapedRecipes_getRecipeOutput = $this => { return $this.$recipeOutput; }, nms_ShapedRecipes_matches = ($this, $par1InventoryCrafting, $par2World) => { let $var3, $var4; $var3 = 0; while ($var3 <= (3 - $this.$recipeWidth | 0)) { $var4 = 0; while ($var4 <= (3 - $this.$recipeHeight | 0)) { if (nms_ShapedRecipes_checkMatch($this, $par1InventoryCrafting, $var3, $var4, 1)) return 1; if (nms_ShapedRecipes_checkMatch($this, $par1InventoryCrafting, $var3, $var4, 0)) return 1; $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } return 0; }, nms_ShapedRecipes_checkMatch = ($this, $par1InventoryCrafting, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, var$10, var$11, $var10, var$13; $var5 = 0; a: { while ($var5 < 3) { $var6 = 0; while ($var6 < 3) { $var7 = $var5 - $par2 | 0; $var8 = $var6 - $par3 | 0; $var9 = null; if ($var7 >= 0 && $var8 >= 0) { var$10 = $this.$recipeWidth; if ($var7 < var$10 && $var8 < $this.$recipeHeight) $var9 = !$par4 ? $this.$recipeItems.data[$var7 + $rt_imul($var8, var$10) | 0] : $this.$recipeItems.data[((var$10 - $var7 | 0) - 1 | 0) + $rt_imul($var8, var$10) | 0]; } b: { if ($var5 >= 0) { var$10 = $par1InventoryCrafting.$inventoryWidth; if ($var5 < var$10) { var$10 = $var5 + $rt_imul($var6, var$10) | 0; var$11 = $par1InventoryCrafting.$stackList.data; $var10 = var$10 < var$11.length ? var$11[var$10] : null; break b; } } $var10 = null; } if (!($var10 === null && $var9 === null)) { if ($var10 === null && $var9 !== null) break a; if ($var10 !== null && $var9 === null) break a; if ($var9.$itemID != $var10.$itemID) return 0; var$13 = $var9.$itemDamage; if (var$13 != 32767 && var$13 != $var10.$itemDamage) return 0; } $var6 = $var6 + 1 | 0; } $var5 = $var5 + 1 | 0; } return 1; } return 0; }, nms_ShapedRecipes_getCraftingResult = ($this, $par1InventoryCrafting) => { let $var4, $var2, var$4, var$5, $var3, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; $var4 = $this.$recipeOutput; $var2 = new nms_ItemStack; var$4 = $var4.$itemID; var$5 = $var4.$stackSize; $var3 = $var4.$itemDamage; nms_ItemStack_$callClinit(); $var2.$itemID = var$4; $var2.$stackSize = var$5; $var2.$itemDamage = $var3; if ($var3 < 0) $var2.$itemDamage = 0; var$7 = $var4.$stackTagCompound; if (var$7 !== null) { var$8 = new nms_NBTTagCompound; $var4 = var$7.$name; if ($var4 === null) $var4 = $rt_s(18); var$8.$name = $var4; $var4 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); $var4.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$10 = var$9.data; $var4.$elementData = var$9; $var4.$loadFactor = 0.75; $var4.$threshold = var$10.length * 0.75 | 0; var$8.$tagMap = $var4; var$11 = var$7.$tagMap; if (var$11.$cachedKeySet === null) { $var4 = new ju_HashMap$1; $var4.$this$0 = var$11; var$11.$cachedKeySet = $var4; } var$12 = var$11.$cachedKeySet.$iterator(); while (var$12.$hasNext()) { var$13 = var$12.$next(); $var4 = var$7.$tagMap; if (var$13 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { a: { if (!var$13.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$13.$nativeString.length) break a; var$13.$hashCode1 = (31 * var$13.$hashCode1 | 0) + var$13.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$13.$hashCode1; var$10 = $var4.$elementData.data; $var4 = var$10[var$5 & (var$10.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$5) { b: { var$11 = $var4.$key; if (var$13 !== var$11) { if (var$13 === var$11) var$4 = 1; else if (!(var$11 instanceof jl_String)) var$4 = 0; else { var$11 = var$11; var$4 = var$13.$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } $var4 = $var4.$next3; } } $var4 = $var4 === null ? null : $var4.$value1; $var4 = $var4.$copy(); var$11 = var$8.$tagMap; if (var$13 !== null) $var4.$name = var$13; else $var4.$name = $rt_s(18); ju_HashMap_putImpl(var$11, var$13, $var4); } $var2.$stackTagCompound = var$8; } c: { if ($this.$field_92101_f) { $var3 = 0; while (true) { var$10 = $par1InventoryCrafting.$stackList.data; var$4 = $rt_compare($var3, var$10.length); if (var$4 >= 0) break c; $var4 = var$4 < 0 ? var$10[$var3] : null; if ($var4 !== null) { var$7 = $var4.$stackTagCompound; if (var$7 === null ? 0 : 1) { var$8 = new nms_NBTTagCompound; $var4 = var$7.$name; if ($var4 === null) $var4 = $rt_s(18); var$8.$name = $var4; $var4 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); $var4.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$9 = var$10.data; $var4.$elementData = var$10; $var4.$loadFactor = 0.75; $var4.$threshold = var$9.length * 0.75 | 0; var$8.$tagMap = $var4; $var4 = var$7.$tagMap; if ($var4.$cachedKeySet === null) { var$11 = new ju_HashMap$1; var$11.$this$0 = $var4; $var4.$cachedKeySet = var$11; } var$12 = $var4.$cachedKeySet.$iterator(); while (var$12.$hasNext()) { var$13 = var$12.$next(); $var4 = var$7.$tagMap; if (var$13 === null) { var$14 = $var4.$elementData.data[0]; while (var$14 !== null && var$14.$key !== null) { var$14 = var$14.$next3; } } else { d: { if (!var$13.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$13.$nativeString.length) break d; var$13.$hashCode1 = (31 * var$13.$hashCode1 | 0) + var$13.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$13.$hashCode1; var$10 = $var4.$elementData.data; var$14 = var$10[var$5 & (var$10.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == var$5) { e: { $var4 = var$14.$key; if (var$13 !== $var4) { if (var$13 === $var4) var$4 = 1; else if (!($var4 instanceof jl_String)) var$4 = 0; else { $var4 = $var4; var$4 = var$13.$nativeString !== $var4.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break e; } } var$4 = 1; } if (var$4) break; } var$14 = var$14.$next3; } } $var4 = var$14 === null ? null : var$14.$value1; $var4 = $var4.$copy(); var$11 = var$8.$tagMap; if (var$13 !== null) $var4.$name = var$13; else $var4.$name = $rt_s(18); ju_HashMap_putImpl(var$11, var$13, $var4); } $var2.$stackTagCompound = var$8; } } $var3 = $var3 + 1 | 0; } } } return $var2; }, nms_ShapedRecipes_getRecipeSize = $this => { return $rt_imul($this.$recipeWidth, $this.$recipeHeight); }, nms_ShapedRecipes_func_92100_c = $this => { $this.$field_92101_f = 1; return $this; }, nms_RecipesMapExtending = $rt_classWithoutFields(nms_ShapedRecipes), nms_RecipesMapExtending__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $rt_createArray(nms_ItemStack, 9); var$2 = var$1.data; var$3 = new nms_ItemStack; nms_Item_$callClinit(); var$4 = nms_Item_paper; nms_ItemStack_$callClinit(); var$5 = var$4.$itemID0; var$3.$itemID = var$5; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$2[0] = var$3; var$3 = new nms_ItemStack; var$3.$itemID = var$5; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$2[1] = var$3; var$3 = new nms_ItemStack; var$3.$itemID = var$5; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$2[2] = var$3; var$3 = new nms_ItemStack; var$3.$itemID = var$5; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$2[3] = var$3; var$3 = new nms_ItemStack; var$3.$itemID = nms_Item_map.$itemID0; var$3.$stackSize = 0; var$3.$itemDamage = 32767; var$2[4] = var$3; var$3 = new nms_ItemStack; var$3.$itemID = var$5; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$2[5] = var$3; var$3 = new nms_ItemStack; var$3.$itemID = var$5; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$2[6] = var$3; var$3 = new nms_ItemStack; var$3.$itemID = var$5; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$2[7] = var$3; var$3 = new nms_ItemStack; var$3.$itemID = var$5; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$2[8] = var$3; var$3 = new nms_ItemStack; var$6 = nms_Item_emptyMap.$itemID0; var$3.$itemID = var$6; var$3.$stackSize = 0; var$3.$itemDamage = 0; $this.$recipeOutputItemID = var$6; $this.$recipeWidth = 3; $this.$recipeHeight = 3; $this.$recipeItems = var$1; $this.$recipeOutput = var$3; }, nms_RecipesMapExtending__init_0 = () => { let var_0 = new nms_RecipesMapExtending(); nms_RecipesMapExtending__init_(var_0); return var_0; }, nms_RecipesMapExtending_matches = ($this, $par1InventoryCrafting, $par2World) => { let $var3, $var4, var$5, var$6, $var5, $var6; if (!nms_ShapedRecipes_matches($this, $par1InventoryCrafting, $par2World)) return 0; $var3 = null; $var4 = 0; while (true) { var$5 = $par1InventoryCrafting.$stackList.data; var$6 = $rt_compare($var4, var$5.length); if (var$6 >= 0) break; if ($var3 !== null) break; $var5 = var$6 < 0 ? var$5[$var4] : null; if ($var5 !== null) { var$6 = $var5.$itemID; nms_Item_$callClinit(); if (var$6 == nms_Item_map.$itemID0) $var3 = $var5; } $var4 = $var4 + 1 | 0; } if ($var3 === null) return 0; nms_Item_$callClinit(); $var6 = nms_ItemMap_getMapData(nms_Item_map, $var3, $par2World); return $var6 === null ? 0 : $var6.$scale1 >= 4 ? 0 : 1; }, nms_RecipesMapExtending_getCraftingResult = ($this, $par1InventoryCrafting) => { let $var2, $var3, var$4, var$5, $var4, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $var2 = null; $var3 = 0; while (true) { var$4 = $par1InventoryCrafting.$stackList.data; var$5 = $rt_compare($var3, var$4.length); if (var$5 >= 0) break; if ($var2 !== null) break; $var4 = var$5 < 0 ? var$4[$var3] : null; if ($var4 !== null) { var$5 = $var4.$itemID; nms_Item_$callClinit(); if (var$5 == nms_Item_map.$itemID0) $var2 = $var4; } $var3 = $var3 + 1 | 0; } $par1InventoryCrafting = new nms_ItemStack; $var3 = $var2.$itemID; var$5 = $var2.$stackSize; var$7 = $var2.$itemDamage; nms_ItemStack_$callClinit(); $par1InventoryCrafting.$itemID = $var3; $par1InventoryCrafting.$stackSize = var$5; $par1InventoryCrafting.$itemDamage = var$7; if (var$7 < 0) $par1InventoryCrafting.$itemDamage = 0; $var2 = $var2.$stackTagCompound; if ($var2 !== null) { var$8 = new nms_NBTTagCompound; $var4 = $var2.$name; if ($var4 === null) $var4 = $rt_s(18); var$8.$name = $var4; $var4 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $var4.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$9 = var$4.data; $var4.$elementData = var$4; $var4.$loadFactor = 0.75; $var4.$threshold = var$9.length * 0.75 | 0; var$8.$tagMap = $var4; $var4 = $var2.$tagMap; if ($var4.$cachedKeySet === null) { var$10 = new ju_HashMap$1; var$10.$this$0 = $var4; $var4.$cachedKeySet = var$10; } var$11 = $var4.$cachedKeySet.$iterator(); while (var$11.$hasNext()) { var$12 = var$11.$next(); $var4 = $var2.$tagMap; if (var$12 === null) { var$13 = $var4.$elementData.data[0]; while (var$13 !== null && var$13.$key !== null) { var$13 = var$13.$next3; } } else { a: { if (!var$12.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= var$12.$nativeString.length) break a; var$12.$hashCode1 = (31 * var$12.$hashCode1 | 0) + var$12.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$5 = var$12.$hashCode1; var$4 = $var4.$elementData.data; var$13 = var$4[var$5 & (var$4.length - 1 | 0)]; while (var$13 !== null) { if (var$13.$origKeyHash == var$5) { b: { $var4 = var$13.$key; if (var$12 !== $var4) { if (var$12 === $var4) $var3 = 1; else if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = var$12.$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break b; } } $var3 = 1; } if ($var3) break; } var$13 = var$13.$next3; } } $var4 = var$13 === null ? null : var$13.$value1; $var4 = $var4.$copy(); var$10 = var$8.$tagMap; if (var$12 !== null) $var4.$name = var$12; else $var4.$name = $rt_s(18); ju_HashMap_putImpl(var$10, var$12, $var4); } $par1InventoryCrafting.$stackTagCompound = var$8; } $par1InventoryCrafting.$stackSize = 1; if ($par1InventoryCrafting.$stackTagCompound === null) { $var2 = new nms_NBTTagCompound; $var2.$name = $rt_s(18); var$8 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); var$8.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$4 = var$9.data; var$8.$elementData = var$9; var$8.$loadFactor = 0.75; var$8.$threshold = var$4.length * 0.75 | 0; $var2.$tagMap = var$8; $par1InventoryCrafting.$stackTagCompound = $var2; } $var4 = $par1InventoryCrafting.$stackTagCompound.$tagMap; var$8 = new nms_NBTTagByte; var$8.$name = $rt_s(2951); var$8.$data = 1; ju_HashMap_putImpl($var4, $rt_s(2951), var$8); return $par1InventoryCrafting; }; function nms_RecipeFireworks() { jl_Object.call(this); this.$field_92102_a = null; } let nms_RecipeFireworks__init_ = $this => { return; }, nms_RecipeFireworks__init_0 = () => { let var_0 = new nms_RecipeFireworks(); nms_RecipeFireworks__init_(var_0); return var_0; }, nms_RecipeFireworks_matches = ($this, $par1InventoryCrafting, $par2World) => { let $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var18, $var17, $var10, $var16, $var24, $var19, $var25, $var22, $var26, $var11, $var23, $var12, $var13, $var14, $var27, $var15, $var20, $var21, var$28; $this.$field_92102_a = null; $var3 = 0; $var4 = 0; $var5 = 0; $var6 = 0; $var7 = 0; $var8 = 0; $var9 = 0; a: while (true) { $var18 = $par1InventoryCrafting.$stackList.data; $var17 = $rt_compare($var9, $var18.length); if ($var17 >= 0) { $var17 = $var7 + ($var5 + $var8 | 0) | 0; if ($var4 <= 3) { $var7 = $rt_compare($var3, 1); if ($var7 <= 0) { $var9 = $rt_compare($var4, 1); if ($var9 >= 0 && !$var7 && !$var17) { $par2World = new nms_ItemStack; nms_Item_$callClinit(); $var10 = nms_Item_firework; nms_ItemStack_$callClinit(); $par2World.$itemID = $var10.$itemID0; $par2World.$stackSize = 1; $par2World.$itemDamage = 0; $this.$field_92102_a = $par2World; if ($var6 > 0) { $var16 = new nms_NBTTagCompound; $var16.$name = $rt_s(18); $par2World = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $par2World.$elementCount = 0; $var18 = $rt_createArray(ju_HashMap$HashEntry, $var3); $var24 = $var18.data; $par2World.$elementData = $var18; $par2World.$loadFactor = 0.75; $par2World.$threshold = $var24.length * 0.75 | 0; $var16.$tagMap = $par2World; $var19 = new nms_NBTTagCompound; $var19.$name = $rt_s(2379); $par2World = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $par2World.$elementCount = 0; $var18 = $rt_createArray(ju_HashMap$HashEntry, $var3); $var24 = $var18.data; $par2World.$elementData = $var18; $par2World.$loadFactor = 0.75; $par2World.$threshold = $var24.length * 0.75 | 0; $var19.$tagMap = $par2World; $var25 = new nms_NBTTagList; $var25.$name = $rt_s(2978); $par2World = new ju_ArrayList; $par2World.$array = $rt_createArray(jl_Object, 10); $var25.$tagList = $par2World; $var22 = 0; while (true) { $var18 = $par1InventoryCrafting.$stackList.data; $var3 = $rt_compare($var22, $var18.length); if ($var3 >= 0) break; $var26 = $var3 < 0 ? $var18[$var22] : null; if ($var26 !== null && $var26.$itemID == nms_Item_fireworkCharge.$itemID0) { $par2World = $var26.$stackTagCompound; if ($par2World === null ? 0 : 1) { b: { $par2World = $par2World.$tagMap; if (!$rt_s(2980).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2980).$nativeString.length) break b; $rt_s(2980).$hashCode1 = (31 * $rt_s(2980).$hashCode1 | 0) + $rt_s(2980).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var17 = $rt_s(2980).$hashCode1; $var18 = $par2World.$elementData.data; $var11 = $var18[$var17 & ($var18.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == $var17) { c: { $par2World = $var11.$key; if ($rt_s(2980) !== $par2World) { if ($rt_s(2980) === $par2World) $var3 = 1; else if (!($par2World instanceof jl_String)) $var3 = 0; else { $par2World = $par2World; $var3 = $rt_s(2980).$nativeString !== $par2World.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break c; } } $var3 = 1; } if ($var3) break; } $var11 = $var11.$next3; } if ($var11 === null ? 0 : 1) { d: { $var26 = $var26.$stackTagCompound; $par2World = $var26.$tagMap; if (!$rt_s(2980).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2980).$nativeString.length) break d; $rt_s(2980).$hashCode1 = (31 * $rt_s(2980).$hashCode1 | 0) + $rt_s(2980).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var17 = $rt_s(2980).$hashCode1; $var18 = $par2World.$elementData.data; $var11 = $var18[$var17 & ($var18.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == $var17) { e: { $par2World = $var11.$key; if ($rt_s(2980) !== $par2World) { if ($rt_s(2980) === $par2World) $var3 = 1; else if (!($par2World instanceof jl_String)) $var3 = 0; else { $par2World = $par2World; $var3 = $rt_s(2980).$nativeString !== $par2World.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break e; } } $var3 = 1; } if ($var3) break; } $var11 = $var11.$next3; } if (!($var11 === null ? 0 : 1)) { $var10 = new nms_NBTTagCompound; if ($rt_s(2980) !== null) $var10.$name = $rt_s(2980); else $var10.$name = $rt_s(18); $par2World = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $par2World.$elementCount = 0; $var18 = $rt_createArray(ju_HashMap$HashEntry, $var3); $var24 = $var18.data; $par2World.$elementData = $var18; $par2World.$loadFactor = 0.75; $par2World.$threshold = $var24.length * 0.75 | 0; $var10.$tagMap = $par2World; } else { $par2World = $var26.$tagMap; if ($rt_s(2980) === null) { $var11 = $par2World.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { f: { if (!$rt_s(2980).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2980).$nativeString.length) break f; $rt_s(2980).$hashCode1 = (31 * $rt_s(2980).$hashCode1 | 0) + $rt_s(2980).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var17 = $rt_s(2980).$hashCode1; $var18 = $par2World.$elementData.data; $var11 = $var18[$var17 & ($var18.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == $var17) { g: { $par2World = $var11.$key; if ($rt_s(2980) !== $par2World) { if ($rt_s(2980) === $par2World) $var3 = 1; else if (!($par2World instanceof jl_String)) $var3 = 0; else { $par2World = $par2World; $var3 = $rt_s(2980).$nativeString !== $par2World.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break g; } } $var3 = 1; } if ($var3) break; } $var11 = $var11.$next3; } } $var10 = $var11 === null ? null : $var11.$value1; } $var25.$tagType = 10; $par2World = $var25.$tagList; ju_ArrayList_ensureCapacity($par2World, $par2World.$size0 + 1 | 0); $var18 = $par2World.$array.data; $var17 = $par2World.$size0; $par2World.$size0 = $var17 + 1 | 0; $var18[$var17] = $var10; $par2World.$modCount = $par2World.$modCount + 1 | 0; } } } $var22 = $var22 + 1 | 0; } $par2World = $var19.$tagMap; $var25.$name = $rt_s(2978); ju_HashMap_putImpl($par2World, $rt_s(2978), $var25); $var3 = $var4 << 24 >> 24; $var10 = $var19.$tagMap; $par2World = new nms_NBTTagByte; $par2World.$name = $rt_s(2380); $par2World.$data = $var3; ju_HashMap_putImpl($var10, $rt_s(2380), $par2World); $par2World = $var16.$tagMap; $var19.$name = $rt_s(2379); ju_HashMap_putImpl($par2World, $rt_s(2379), $var19); $this.$field_92102_a.$stackTagCompound = $var16; } return 1; } if (!$var9 && !$var3 && !$var6 && $var5 > 0 && $var8 <= 1) { $par2World = new nms_ItemStack; nms_Item_$callClinit(); $var10 = nms_Item_fireworkCharge; nms_ItemStack_$callClinit(); $par2World.$itemID = $var10.$itemID0; $par2World.$stackSize = 1; $par2World.$itemDamage = 0; $this.$field_92102_a = $par2World; $var16 = new nms_NBTTagCompound; $var16.$name = $rt_s(18); $par2World = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $par2World.$elementCount = 0; $var24 = $rt_createArray(ju_HashMap$HashEntry, $var3); $var18 = $var24.data; $par2World.$elementData = $var24; $par2World.$loadFactor = 0.75; $par2World.$threshold = $var18.length * 0.75 | 0; $var16.$tagMap = $par2World; $var19 = new nms_NBTTagCompound; $var19.$name = $rt_s(2980); $par2World = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $par2World.$elementCount = 0; $var24 = $rt_createArray(ju_HashMap$HashEntry, $var3); $var18 = $var24.data; $par2World.$elementData = $var24; $par2World.$loadFactor = 0.75; $par2World.$threshold = $var18.length * 0.75 | 0; $var19.$tagMap = $par2World; $var23 = 0; $var12 = new ju_ArrayList; $var12.$array = $rt_createArray(jl_Object, 10); $var13 = 0; while (true) { $var18 = $par1InventoryCrafting.$stackList.data; $var3 = $rt_compare($var13, $var18.length); if ($var3 >= 0) break; $var14 = $var3 < 0 ? $var18[$var13] : null; if ($var14 !== null) { $var3 = $var14.$itemID; if ($var3 != nms_Item_dyePowder.$itemID0) { if ($var3 == nms_Item_glowstone.$itemID0) { $var25 = $var19.$tagMap; $var10 = new nms_NBTTagByte; $var10.$name = $rt_s(2990); $var10.$data = 1; ju_HashMap_putImpl($var25, $rt_s(2990), $var10); } else if ($var3 == nms_Item_diamond.$itemID0) { $var25 = $var19.$tagMap; $var10 = new nms_NBTTagByte; $var10.$name = $rt_s(2988); $var10.$data = 1; ju_HashMap_putImpl($var25, $rt_s(2988), $var10); } else if ($var3 == nms_Item_fireballCharge.$itemID0) $var23 = 1; else if ($var3 == nms_Item_feather.$itemID0) $var23 = 4; else if ($var3 == nms_Item_goldNugget.$itemID0) $var23 = 2; else if ($var3 == nms_Item_skull.$itemID0) $var23 = 3; } else { $var3 = nms_ItemDye_dyeColors.data[$var14.$itemDamage]; if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); $par2World = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { $par2World = new jl_Integer; $par2World.$value0 = $var3; } ju_ArrayList_ensureCapacity($var12, $var12.$size0 + 1 | 0); $var18 = $var12.$array.data; $var4 = $var12.$size0; $var12.$size0 = $var4 + 1 | 0; $var18[$var4] = $par2World; $var12.$modCount = $var12.$modCount + 1 | 0; } } $var13 = $var13 + 1 | 0; } $var17 = $var12.$size0; $var24 = $rt_createIntArray($var17); $var18 = $var24.data; $var27 = 0; $var3 = $var18.length; while (true) { if ($var27 >= $var3) { $var10 = $var19.$tagMap; $par2World = new nms_NBTTagIntArray; $par2World.$name = $rt_s(2981); $par2World.$intArray = $var24; ju_HashMap_putImpl($var10, $rt_s(2981), $par2World); $var10 = $var19.$tagMap; $par2World = new nms_NBTTagByte; $par2World.$name = $rt_s(2446); $par2World.$data = $var23; ju_HashMap_putImpl($var10, $rt_s(2446), $par2World); $par2World = $var16.$tagMap; $var19.$name = $rt_s(2980); ju_HashMap_putImpl($par2World, $rt_s(2980), $var19); $this.$field_92102_a.$stackTagCompound = $var16; return 1; } if ($var27 < 0) break; if ($var27 >= $var17) break; $var18[$var27] = $var12.$array.data[$var27].$value0; $var27 = $var27 + 1 | 0; } $par1InventoryCrafting = new jl_IndexOutOfBoundsException; $par1InventoryCrafting.$suppressionEnabled = 1; $par1InventoryCrafting.$writableStackTrace = 1; $rt_throw($par1InventoryCrafting); } if (!$var4 && !$var3 && $var6 == 1 && $var5 > 0 && $var5 == $var17) { $var15 = new ju_ArrayList; $var15.$array = $rt_createArray(jl_Object, 10); $var17 = 0; while (true) { $var18 = $par1InventoryCrafting.$stackList.data; $var3 = $rt_compare($var17, $var18.length); if ($var3 >= 0) break; $var11 = $var3 < 0 ? $var18[$var17] : null; if ($var11 !== null) { $var3 = $var11.$itemID; nms_Item_$callClinit(); if ($var3 == nms_Item_dyePowder.$itemID0) { $var3 = nms_ItemDye_dyeColors.data[$var11.$itemDamage]; if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); $par2World = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { $par2World = new jl_Integer; $par2World.$value0 = $var3; } ju_ArrayList_ensureCapacity($var15, $var15.$size0 + 1 | 0); $var18 = $var15.$array.data; $var4 = $var15.$size0; $var15.$size0 = $var4 + 1 | 0; $var18[$var4] = $par2World; $var15.$modCount = $var15.$modCount + 1 | 0; } else if ($var3 == nms_Item_fireworkCharge.$itemID0) { $par2World = new nms_ItemStack; $var4 = $var11.$stackSize; $var5 = $var11.$itemDamage; nms_ItemStack_$callClinit(); $par2World.$itemID = $var3; $par2World.$stackSize = $var4; $par2World.$itemDamage = $var5; if ($var5 < 0) $par2World.$itemDamage = 0; $var10 = $var11.$stackTagCompound; if ($var10 !== null) { $var16 = new nms_NBTTagCompound; $var19 = $var10.$name; if ($var19 === null) $var19 = $rt_s(18); $var16.$name = $var19; $var19 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $var19.$elementCount = 0; $var24 = $rt_createArray(ju_HashMap$HashEntry, $var3); $var18 = $var24.data; $var19.$elementData = $var24; $var19.$loadFactor = 0.75; $var19.$threshold = $var18.length * 0.75 | 0; $var16.$tagMap = $var19; $var19 = $var10.$tagMap; if ($var19.$cachedKeySet === null) { $var25 = new ju_HashMap$1; $var25.$this$0 = $var19; $var19.$cachedKeySet = $var25; } $var19 = $var19.$cachedKeySet.$iterator(); while ($var19.$hasNext()) { $var25 = $var19.$next(); $var11 = $var10.$tagMap; if ($var25 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { h: { if (!$var25.$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $var25.$nativeString.length) break h; $var25.$hashCode1 = (31 * $var25.$hashCode1 | 0) + $var25.$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $var25.$hashCode1; $var18 = $var11.$elementData.data; $var11 = $var18[$var5 & ($var18.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == $var5) { i: { $var26 = $var11.$key; if ($var25 !== $var26) { if ($var25 === $var26) $var3 = 1; else if (!($var26 instanceof jl_String)) $var3 = 0; else { $var26 = $var26; $var3 = $var25.$nativeString !== $var26.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break i; } } $var3 = 1; } if ($var3) break; } $var11 = $var11.$next3; } } $var11 = $var11 === null ? null : $var11.$value1; $var11 = $var11.$copy(); $var26 = $var16.$tagMap; if ($var25 !== null) $var11.$name = $var25; else $var11.$name = $rt_s(18); ju_HashMap_putImpl($var26, $var25, $var11); } $par2World.$stackTagCompound = $var16; } $this.$field_92102_a = $par2World; $par2World.$stackSize = 1; } } $var17 = $var17 + 1 | 0; } $var17 = $var15.$size0; $var18 = $rt_createIntArray($var17); $var24 = $var18.data; $var20 = 0; $var3 = $var24.length; while (true) { if ($var20 >= $var3) { $par1InventoryCrafting = $this.$field_92102_a; if ($par1InventoryCrafting !== null) { $var16 = $par1InventoryCrafting.$stackTagCompound; if ($var16 === null ? 0 : 1) { j: { $par2World = $var16.$tagMap; if (!$rt_s(2980).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2980).$nativeString.length) break j; $rt_s(2980).$hashCode1 = (31 * $rt_s(2980).$hashCode1 | 0) + $rt_s(2980).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var17 = $rt_s(2980).$hashCode1; $var24 = $par2World.$elementData.data; $par2World = $var24[$var17 & ($var24.length - 1 | 0)]; while ($par2World !== null) { if ($par2World.$origKeyHash == $var17) { k: { $var10 = $par2World.$key; if ($rt_s(2980) !== $var10) { if ($rt_s(2980) === $var10) $var3 = 1; else if (!($var10 instanceof jl_String)) $var3 = 0; else { $var10 = $var10; $var3 = $rt_s(2980).$nativeString !== $var10.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break k; } } $var3 = 1; } if ($var3) break; } $par2World = $par2World.$next3; } if (!($par2World === null ? 0 : 1)) { $var21 = new nms_NBTTagCompound; if ($rt_s(2980) !== null) $var21.$name = $rt_s(2980); else $var21.$name = $rt_s(18); $par1InventoryCrafting = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $par1InventoryCrafting.$elementCount = 0; var$28 = $rt_createArray(ju_HashMap$HashEntry, $var3); $var24 = var$28.data; $par1InventoryCrafting.$elementData = var$28; $par1InventoryCrafting.$loadFactor = 0.75; $par1InventoryCrafting.$threshold = $var24.length * 0.75 | 0; $var21.$tagMap = $par1InventoryCrafting; } else { $par2World = $var16.$tagMap; if ($rt_s(2980) === null) { $par2World = $par2World.$elementData.data[0]; while ($par2World !== null && $par2World.$key !== null) { $par2World = $par2World.$next3; } } else { l: { if (!$rt_s(2980).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2980).$nativeString.length) break l; $rt_s(2980).$hashCode1 = (31 * $rt_s(2980).$hashCode1 | 0) + $rt_s(2980).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var17 = $rt_s(2980).$hashCode1; $var24 = $par2World.$elementData.data; $par2World = $var24[$var17 & ($var24.length - 1 | 0)]; while ($par2World !== null) { if ($par2World.$origKeyHash == $var17) { m: { $var10 = $par2World.$key; if ($rt_s(2980) !== $var10) { if ($rt_s(2980) === $var10) $var3 = 1; else if (!($var10 instanceof jl_String)) $var3 = 0; else { $var10 = $var10; $var3 = $rt_s(2980).$nativeString !== $var10.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break m; } } $var3 = 1; } if ($var3) break; } $par2World = $par2World.$next3; } } $var21 = $par2World === null ? null : $par2World.$value1; } if ($var21 === null) return 0; $var10 = $var21.$tagMap; $par2World = new nms_NBTTagIntArray; $par2World.$name = $rt_s(2986); $par2World.$intArray = $var18; ju_HashMap_putImpl($var10, $rt_s(2986), $par2World); return 1; } } return 0; } if ($var20 < 0) break; if ($var20 >= $var17) break; $var24[$var20] = $var15.$array.data[$var20].$value0; $var20 = $var20 + 1 | 0; } $par1InventoryCrafting = new jl_IndexOutOfBoundsException; $par1InventoryCrafting.$suppressionEnabled = 1; $par1InventoryCrafting.$writableStackTrace = 1; $rt_throw($par1InventoryCrafting); } return 0; } } return 0; } $var10 = $var17 < 0 ? $var18[$var9] : null; n: { if ($var10 === null) break n; $var17 = $var10.$itemID; nms_Item_$callClinit(); if ($var17 == nms_Item_gunpowder.$itemID0) { $var4 = $var4 + 1 | 0; break n; } if ($var17 == nms_Item_fireworkCharge.$itemID0) { $var6 = $var6 + 1 | 0; break n; } if ($var17 == nms_Item_dyePowder.$itemID0) { $var5 = $var5 + 1 | 0; break n; } if ($var17 == nms_Item_paper.$itemID0) { $var3 = $var3 + 1 | 0; break n; } if ($var17 == nms_Item_glowstone.$itemID0) { $var7 = $var7 + 1 | 0; break n; } if ($var17 == nms_Item_diamond.$itemID0) { $var7 = $var7 + 1 | 0; break n; } if ($var17 == nms_Item_fireballCharge.$itemID0) { $var8 = $var8 + 1 | 0; break n; } if ($var17 == nms_Item_feather.$itemID0) { $var8 = $var8 + 1 | 0; break n; } if ($var17 == nms_Item_goldNugget.$itemID0) { $var8 = $var8 + 1 | 0; break n; } if ($var17 != nms_Item_skull.$itemID0) break a; $var8 = $var8 + 1 | 0; } $var9 = $var9 + 1 | 0; } return 0; }, nms_RecipeFireworks_getCraftingResult = ($this, $par1InventoryCrafting) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $par1InventoryCrafting = $this.$field_92102_a; var$2 = new nms_ItemStack; var$3 = $par1InventoryCrafting.$itemID; var$4 = $par1InventoryCrafting.$stackSize; var$5 = $par1InventoryCrafting.$itemDamage; nms_ItemStack_$callClinit(); var$2.$itemID = var$3; var$2.$stackSize = var$4; var$2.$itemDamage = var$5; if (var$5 < 0) var$2.$itemDamage = 0; $par1InventoryCrafting = $par1InventoryCrafting.$stackTagCompound; if ($par1InventoryCrafting !== null) { var$6 = new nms_NBTTagCompound; var$7 = $par1InventoryCrafting.$name; if (var$7 === null) var$7 = $rt_s(18); var$6.$name = var$7; var$7 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$9 = var$8.data; var$7.$elementData = var$8; var$7.$loadFactor = 0.75; var$7.$threshold = var$9.length * 0.75 | 0; var$6.$tagMap = var$7; var$10 = $par1InventoryCrafting.$tagMap; if (var$10.$cachedKeySet === null) { var$7 = new ju_HashMap$1; var$7.$this$0 = var$10; var$10.$cachedKeySet = var$7; } var$11 = var$10.$cachedKeySet.$iterator(); while (var$11.$hasNext()) { var$12 = var$11.$next(); var$7 = $par1InventoryCrafting.$tagMap; if (var$12 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { a: { if (!var$12.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= var$12.$nativeString.length) break a; var$12.$hashCode1 = (31 * var$12.$hashCode1 | 0) + var$12.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = var$12.$hashCode1; var$9 = var$7.$elementData.data; var$7 = var$9[var$4 & (var$9.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$4) { b: { var$10 = var$7.$key; if (var$12 !== var$10) { if (var$12 === var$10) var$3 = 1; else if (!(var$10 instanceof jl_String)) var$3 = 0; else { var$10 = var$10; var$3 = var$12.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$7 = var$7.$next3; } } var$7 = var$7 === null ? null : var$7.$value1; var$13 = var$7.$copy(); var$7 = var$6.$tagMap; if (var$12 !== null) var$13.$name = var$12; else var$13.$name = $rt_s(18); ju_HashMap_putImpl(var$7, var$12, var$13); } var$2.$stackTagCompound = var$6; } return var$2; }, nms_RecipeFireworks_getRecipeSize = $this => { return 10; }, nms_RecipeFireworks_getRecipeOutput = $this => { return $this.$field_92102_a; }; function nms_RecipeSorter() { jl_Object.call(this); this.$craftingManager = null; } let nms_RecipeSorter__init_0 = ($this, $par1CraftingManager) => { $this.$craftingManager = $par1CraftingManager; }, nms_RecipeSorter__init_ = var_0 => { let var_1 = new nms_RecipeSorter(); nms_RecipeSorter__init_0(var_1, var_0); return var_1; }, nms_RecipeSorter_compareRecipes = ($this, $par1IRecipe, $par2IRecipe) => { return $par1IRecipe instanceof nms_ShapelessRecipes && $par2IRecipe instanceof nms_ShapedRecipes ? 1 : $par2IRecipe instanceof nms_ShapelessRecipes && $par1IRecipe instanceof nms_ShapedRecipes ? (-1) : $par2IRecipe.$getRecipeSize() < $par1IRecipe.$getRecipeSize() ? (-1) : $par2IRecipe.$getRecipeSize() <= $par1IRecipe.$getRecipeSize() ? 0 : 1; }, nms_RecipeSorter_compare = ($this, $par1Obj, $par2Obj) => { return nms_RecipeSorter_compareRecipes($this, $par1Obj, $par2Obj); }, ju_Collections = $rt_classWithoutFields(), ju_Collections_EMPTY_SET = null, ju_Collections_EMPTY_MAP = null, ju_Collections_EMPTY_LIST = null, ju_Collections_EMPTY_ITERATOR = null, ju_Collections_EMPTY_LIST_ITERATOR = null, ju_Collections_reverseOrder = null, ju_Collections__init_ = $this => { return; }, ju_Collections__init_0 = () => { let var_0 = new ju_Collections(); ju_Collections__init_(var_0); return var_0; }, ju_Collections_sort = ($list, $c) => { let $array, var$4, $i, var$6; if ($c === null) $c = ju_Comparator$NaturalOrder_INSTANCE; $array = $rt_createArray(jl_Object, $list.$size()); var$4 = $array.data; ju_AbstractCollection_toArray($list, $array); ju_Arrays_sort($array, $c); $i = 0; var$6 = var$4.length; while ($i < var$6) { $list.$set1($i, var$4[$i]); $i = $i + 1 | 0; } }, ju_Collections__clinit_ = () => { ju_Collections_EMPTY_SET = new ju_Collections$1; ju_Collections_EMPTY_MAP = new ju_Collections$2; ju_Collections_EMPTY_LIST = new ju_Collections$3; ju_Collections_EMPTY_ITERATOR = new ju_Collections$4; ju_Collections_EMPTY_LIST_ITERATOR = new ju_Collections$5; ju_Collections_reverseOrder = new ju_Collections$_clinit_$lambda$_59_0; }, ju_TemplateCollections$AbstractImmutableSet = $rt_classWithoutFields(ju_AbstractSet), ju_Collections$1 = $rt_classWithoutFields(ju_TemplateCollections$AbstractImmutableSet), ju_Collections$1__init_ = $this => { return; }, ju_Collections$1__init_0 = () => { let var_0 = new ju_Collections$1(); ju_Collections$1__init_(var_0); return var_0; }, ju_TemplateCollections$AbstractImmutableMap = $rt_classWithoutFields(ju_AbstractMap), ju_Collections$2 = $rt_classWithoutFields(ju_TemplateCollections$AbstractImmutableMap), ju_Collections$2__init_ = $this => { return; }, ju_Collections$2__init_0 = () => { let var_0 = new ju_Collections$2(); ju_Collections$2__init_(var_0); return var_0; }, ju_TemplateCollections$AbstractImmutableList = $rt_classWithoutFields(ju_AbstractList), ju_TemplateCollections$AbstractImmutableList_remove = ($this, $index) => { let var$2; var$2 = new jl_UnsupportedOperationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, ju_Collections$3 = $rt_classWithoutFields(ju_TemplateCollections$AbstractImmutableList), ju_Collections$3__init_ = $this => { return; }, ju_Collections$3__init_0 = () => { let var_0 = new ju_Collections$3(); ju_Collections$3__init_(var_0); return var_0; }, ju_Collections$3_get = ($this, $index) => { let var$2; var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, ju_Collections$3_size = $this => { return 0; }, ju_Collections$3_iterator = $this => { return ju_Collections_EMPTY_ITERATOR; }, ju_Collections$4 = $rt_classWithoutFields(), ju_Collections$4__init_ = $this => { return; }, ju_Collections$4__init_0 = () => { let var_0 = new ju_Collections$4(); ju_Collections$4__init_(var_0); return var_0; }, ju_Collections$4_hasNext = $this => { return 0; }, ju_Collections$4_next = $this => { let var$1; var$1 = new ju_NoSuchElementException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, ju_ListIterator = $rt_classWithoutFields(0), ju_Collections$5 = $rt_classWithoutFields(), ju_Collections$5__init_ = $this => { return; }, ju_Collections$5__init_0 = () => { let var_0 = new ju_Collections$5(); ju_Collections$5__init_(var_0); return var_0; }, ju_Collections$_clinit_$lambda$_59_0 = $rt_classWithoutFields(), ju_Collections$_clinit_$lambda$_59_0__init_ = var$0 => { return; }, ju_Collections$_clinit_$lambda$_59_0__init_0 = () => { let var_0 = new ju_Collections$_clinit_$lambda$_59_0(); ju_Collections$_clinit_$lambda$_59_0__init_(var_0); return var_0; }; function jnci_BufferedDecoder$Controller() { let a = this; jl_Object.call(a); a.$in0 = null; a.$out4 = null; a.$inPosition0 = 0; a.$outPosition = 0; } function ju_HashMap$AbstractMapIterator() { let a = this; jl_Object.call(a); a.$position1 = 0; a.$expectedModCount = 0; a.$futureEntry0 = null; a.$currentEntry0 = null; a.$prevEntry0 = null; a.$associatedMap = null; } let ju_HashMap$AbstractMapIterator_hasNext = $this => { let var$1, var$2; if ($this.$futureEntry0 !== null) return 1; while (true) { var$1 = $this.$position1; var$2 = $this.$associatedMap.$elementData.data; if (var$1 >= var$2.length) break; if (var$2[var$1] !== null) return 1; $this.$position1 = var$1 + 1 | 0; } return 0; }, ju_HashMap$AbstractMapIterator_makeNext = $this => { let var$1, var$2, var$3, var$4; if ($this.$expectedModCount != $this.$associatedMap.$modCount0) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } if (!ju_HashMap$AbstractMapIterator_hasNext($this)) { var$1 = new ju_NoSuchElementException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$1 = $this.$futureEntry0; if (var$1 !== null) { var$2 = $this.$currentEntry0; if (var$2 !== null) $this.$prevEntry0 = var$2; $this.$currentEntry0 = var$1; $this.$futureEntry0 = var$1.$next3; } else { var$3 = $this.$associatedMap.$elementData.data; var$4 = $this.$position1; $this.$position1 = var$4 + 1 | 0; var$1 = var$3[var$4]; $this.$currentEntry0 = var$1; $this.$futureEntry0 = var$1.$next3; $this.$prevEntry0 = null; } }, ju_HashMap$AbstractMapIterator_remove = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, $index; var$1 = $this.$expectedModCount; var$2 = $this.$associatedMap; var$3 = var$2.$modCount0; if (var$1 != var$3) { var$4 = new ju_ConcurrentModificationException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } var$4 = $this.$currentEntry0; if (var$4 === null) { var$4 = new jl_IllegalStateException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } var$5 = $this.$prevEntry0; if (var$5 !== null) var$5.$next3 = var$4.$next3; else { var$6 = var$4.$origKeyHash; var$7 = var$2.$elementData.data; $index = var$6 & (var$7.length - 1 | 0); var$7[$index] = var$7[$index].$next3; } $this.$currentEntry0 = null; $this.$expectedModCount = var$1 + 1 | 0; var$2.$modCount0 = var$3 + 1 | 0; var$2.$elementCount = var$2.$elementCount - 1 | 0; }, ju_HashMap$ValueIterator = $rt_classWithoutFields(ju_HashMap$AbstractMapIterator), ju_HashMap$ValueIterator_next = $this => { ju_HashMap$AbstractMapIterator_makeNext($this); return $this.$currentEntry0.$value1; }, nms_RenderHelper = $rt_classWithoutFields(), nms_RenderHelper__init_ = $this => { return; }, nms_RenderHelper__init_0 = () => { let var_0 = new nms_RenderHelper(); nms_RenderHelper__init_(var_0); return var_0; }; function ju_HashMap$1() { ju_AbstractSet.call(this); this.$this$0 = null; } let ju_HashMap$1_iterator = $this => { let var$1, var$2; var$1 = new ju_HashMap$KeyIterator; var$2 = $this.$this$0; var$1.$associatedMap = var$2; var$1.$expectedModCount = var$2.$modCount0; var$1.$futureEntry0 = null; return var$1; }, ju_IllegalFormatException = $rt_classWithoutFields(jl_IllegalArgumentException), ju_IllegalFormatException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, ju_IllegalFormatException__init_0 = () => { let var_0 = new ju_IllegalFormatException(); ju_IllegalFormatException__init_(var_0); return var_0; }; function ju_HashMap$HashMapEntrySet() { ju_AbstractSet.call(this); this.$associatedMap0 = null; } let ju_HashMap$HashMapEntrySet_size = $this => { return $this.$associatedMap0.$elementCount; }, ju_HashMap$HashMapEntrySet_contains = ($this, $object) => { let $oEntry, var$3, $entry, var$5, var$6, var$7; if (!$rt_isInstance($object, ju_Map$Entry)) return 0; $oEntry = $object; $object = $this.$associatedMap0; var$3 = $oEntry.$getKey(); if (var$3 === null) { $entry = $object.$elementData.data[0]; while ($entry !== null && $entry.$key !== null) { $entry = $entry.$next3; } } else { var$5 = var$3.$hashCode(); var$6 = $object.$elementData.data; $entry = var$6[var$5 & (var$6.length - 1 | 0)]; while ($entry !== null) { if ($entry.$origKeyHash == var$5) { $object = $entry.$key; if (var$3 !== $object && !var$3.$equals($object) ? 0 : 1) break; } $entry = $entry.$next3; } } a: { if ($entry !== null) { $object = $entry.$value1; $oEntry = $oEntry.$getValue(); if ($object === $oEntry ? 1 : $object !== null ? $object.$equals($oEntry) : $oEntry !== null ? 0 : 1) { var$7 = 1; break a; } } var$7 = 0; } return var$7; }, ju_HashMap$HashMapEntrySet_iterator = $this => { let var$1, var$2; var$1 = new ju_HashMap$EntryIterator; var$2 = $this.$associatedMap0; var$1.$associatedMap = var$2; var$1.$expectedModCount = var$2.$modCount0; var$1.$futureEntry0 = null; return var$1; }; function ju_LinkedHashMap$LinkedHashMapEntry() { let a = this; ju_HashMap$HashEntry.call(a); a.$chainForward = null; a.$chainBackward = null; } function nms_TileEntitySkull() { let a = this; nms_TileEntity.call(a); a.$skullType = 0; a.$skullRotation = 0; a.$extraType = null; } let nms_TileEntitySkull__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); $this.$extraType = $rt_s(18); }, nms_TileEntitySkull__init_0 = () => { let var_0 = new nms_TileEntitySkull(); nms_TileEntitySkull__init_(var_0); return var_0; }, nms_TileEntitySkull_writeToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); var$2 = ($this.$skullType & 255) << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(3214); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(3214), var$4); var$2 = ($this.$skullRotation & 255) << 24 >> 24; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(3215); var$4.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(3215), var$4); var$4 = $this.$extraType; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagString; $par1NBTTagCompound.$name = $rt_s(3216); $par1NBTTagCompound.$data1 = var$4; if (var$4 !== null) { ju_HashMap_putImpl(var$3, $rt_s(3216), $par1NBTTagCompound); return; } var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(186); $rt_throw(var$5); }, nms_TileEntitySkull_readFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; e: { $this.$xCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { f: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { g: { if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { h: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } i: { $this.$yCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { j: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { k: { if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { l: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } m: { $this.$zCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3214).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(3214).$nativeString.length) break m; $rt_s(3214).$hashCode1 = (31 * $rt_s(3214).$hashCode1 | 0) + $rt_s(3214).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$3 = $rt_s(3214).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { n: { var$6 = var$2.$key; if ($rt_s(3214) !== var$6) { if ($rt_s(3214) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$7 = $rt_s(3214).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break n; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3214) === null) { var$8 = var$2.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { o: { if (!$rt_s(3214).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3214).$nativeString.length) break o; $rt_s(3214).$hashCode1 = (31 * $rt_s(3214).$hashCode1 | 0) + $rt_s(3214).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(3214).$hashCode1; var$5 = var$2.$elementData.data; var$8 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$7) { p: { var$2 = var$8.$key; if ($rt_s(3214) !== var$2) { if ($rt_s(3214) === var$2) var$3 = 1; else if (var$2 instanceof jl_String) { var$2 = var$2; var$3 = $rt_s(3214).$nativeString !== var$2.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break p; } } var$3 = 1; } if (var$3) break; } var$8 = var$8.$next3; } } var$3 = (var$8 === null ? null : var$8.$value1).$data; } else var$3 = 0; q: { $this.$skullType = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3215).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3215).$nativeString.length) break q; $rt_s(3215).$hashCode1 = (31 * $rt_s(3215).$hashCode1 | 0) + $rt_s(3215).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3215).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { r: { var$6 = var$2.$key; if ($rt_s(3215) !== var$6) { if ($rt_s(3215) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3215).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break r; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3215) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { s: { if (!$rt_s(3215).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3215).$nativeString.length) break s; $rt_s(3215).$hashCode1 = (31 * $rt_s(3215).$hashCode1 | 0) + $rt_s(3215).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3215).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { t: { var$6 = var$2.$key; if ($rt_s(3215) !== var$6) { if ($rt_s(3215) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3215).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break t; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } u: { $this.$skullRotation = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3216).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3216).$nativeString.length) break u; $rt_s(3216).$hashCode1 = (31 * $rt_s(3216).$hashCode1 | 0) + $rt_s(3216).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3216).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { v: { var$6 = var$2.$key; if ($rt_s(3216) !== var$6) { if ($rt_s(3216) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3216).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break v; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { w: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3216).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3216).$nativeString.length) break w; $rt_s(3216).$hashCode1 = (31 * $rt_s(3216).$hashCode1 | 0) + $rt_s(3216).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3216).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { x: { var$6 = var$2.$key; if ($rt_s(3216) !== var$6) { if ($rt_s(3216) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3216).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break x; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $par1NBTTagCompound = $rt_s(18); else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(3216) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { y: { if (!$rt_s(3216).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3216).$nativeString.length) break y; $rt_s(3216).$hashCode1 = (31 * $rt_s(3216).$hashCode1 | 0) + $rt_s(3216).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3216).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$4) { z: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(3216) !== var$2) { if ($rt_s(3216) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(3216).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break z; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $par1NBTTagCompound = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data1; } $this.$extraType = $par1NBTTagCompound; } }; function ju_LinkedList$SequentialListIterator() { let a = this; jl_Object.call(a); a.$nextEntry1 = null; a.$prevEntry = null; a.$currentEntry = null; a.$index4 = 0; a.$version = 0; a.$this$02 = null; } let ju_LinkedList$SequentialListIterator_hasNext = $this => { return $this.$nextEntry1 === null ? 0 : 1; }, ju_LinkedList$SequentialListIterator_next = $this => { let var$1, $result; if ($this.$version < $this.$this$02.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$1 = $this.$nextEntry1; if (var$1 !== null) { $result = var$1.$item; $this.$currentEntry = var$1; $this.$prevEntry = var$1; $this.$nextEntry1 = var$1.$next5; $this.$index4 = $this.$index4 + 1 | 0; return $result; } var$1 = new ju_NoSuchElementException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, ju_LinkedList$SequentialListIterator_remove = $this => { let var$1, var$2; var$1 = $this.$currentEntry; if (var$1 === null) { var$1 = new jl_IllegalStateException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } ju_LinkedList_removeEntry($this.$this$02, var$1); var$1 = $this.$currentEntry; var$2 = $this.$prevEntry; if (var$1 === var$2) { var$1 = $this.$nextEntry1; $this.$prevEntry = !(var$1 === null ? 0 : 1) ? null : var$1.$previous1; $this.$index4 = $this.$index4 - 1 | 0; } else if (var$1 === $this.$nextEntry1) $this.$nextEntry1 = !(var$2 === null ? 0 : 1) ? null : var$2.$next5; $this.$version = $this.$this$02.$modCount; $this.$currentEntry = null; }, ju_LinkedList$SequentialListIterator_add = ($this, $e) => { let var$2, var$3, var$4, $newEntry, var$6; var$2 = $this.$version; var$3 = $this.$this$02; var$4 = var$3.$modCount; if (var$2 < var$4) { $e = new ju_ConcurrentModificationException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } $newEntry = new ju_LinkedList$Entry; $newEntry.$item = $e; $e = $this.$prevEntry; $newEntry.$previous1 = $e; var$6 = $this.$nextEntry1; $newEntry.$next5 = var$6; if ($e === null) var$3.$firstEntry = $newEntry; else $e.$next5 = $newEntry; if (var$6 === null) var$3.$lastEntry = $newEntry; else var$6.$previous1 = $newEntry; $this.$prevEntry = $newEntry; var$3.$size2 = var$3.$size2 + 1 | 0; var$2 = var$4 + 1 | 0; var$3.$modCount = var$2; $this.$version = var$2; $this.$currentEntry = null; }; function ju_LinkedList$Entry() { let a = this; jl_Object.call(a); a.$item = null; a.$next5 = null; a.$previous1 = null; } let ju_LinkedList$Entry__init_ = $this => { return; }, ju_LinkedList$Entry__init_0 = () => { let var_0 = new ju_LinkedList$Entry(); ju_LinkedList$Entry__init_(var_0); return var_0; }; function nms_GuiGameOver() { nms_GuiScreen.call(this); this.$cooldownTimer = 0; } let nms_GuiGameOver__init_0 = $this => { let var$1; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$buttonList = var$1; $this.$allowUserInput = 0; $this.$selectedButton = null; $this.$eventButton = 0; $this.$field_85043_c = Long_ZERO; $this.$field_92018_d = 0; }, nms_GuiGameOver__init_ = () => { let var_0 = new nms_GuiGameOver(); nms_GuiGameOver__init_0(var_0); return var_0; }, nms_GuiGameOver_initGui = $this => { let $var2, var$2, var$3, $var1$index, var$5, var$6, var$7, var$8, $var1$index_0, var$10, var$11; $var2 = $this.$buttonList; var$2 = $var2.$array; var$3 = 0; $var1$index = $var2.$size0; var$5 = null; if (var$3 > $var1$index) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while (var$3 < $var1$index) { var$6 = var$2.data; var$7 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$7; } $var2.$size0 = 0; $var2.$modCount = $var2.$modCount + 1 | 0; var$5 = $this.$mc; if (!var$5.$theWorld.$worldInfo.$hardcore) { var$5 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 100 | 0; $var1$index = ($this.$height / 4 | 0) + 72 | 0; nms_StatCollector_$callClinit(); var$8 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3217)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 1; var$5.$xPosition = var$7; var$5.$yPosition = $var1$index; var$5.$width0 = 200; var$5.$height0 = 20; var$5.$displayString = var$8; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); var$2 = $var2.$array.data; $var1$index = $var2.$size0; $var2.$size0 = $var1$index + 1 | 0; var$2[$var1$index] = var$5; $var2.$modCount = $var2.$modCount + 1 | 0; var$5 = $this.$buttonList; var$8 = new nms_GuiButton; $var1$index_0 = ($this.$width / 2 | 0) - 100 | 0; var$10 = ($this.$height / 4 | 0) + 96 | 0; $var2 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3218)); var$8.$width0 = 200; var$8.$height0 = 20; var$8.$enabled = 1; var$8.$drawButton0 = 1; var$8.$id0 = 2; var$8.$xPosition = $var1$index_0; var$8.$yPosition = var$10; var$8.$width0 = 200; var$8.$height0 = 20; var$8.$displayString = $var2; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; $var1$index = var$5.$size0; var$5.$size0 = $var1$index + 1 | 0; var$2[$var1$index] = var$8; var$5.$modCount = var$5.$modCount + 1 | 0; nle_EaglerProfile_$callClinit(); } else if (!var$5.$integratedServerIsRunning) { var$5 = new nms_GuiButton; $var1$index = ($this.$width / 2 | 0) - 100 | 0; var$7 = ($this.$height / 4 | 0) + 96 | 0; nms_StatCollector_$callClinit(); var$8 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3219)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 1; var$5.$xPosition = $var1$index; var$5.$yPosition = var$7; var$5.$width0 = 200; var$5.$height0 = 20; var$5.$displayString = var$8; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); var$2 = $var2.$array.data; $var1$index = $var2.$size0; $var2.$size0 = $var1$index + 1 | 0; var$2[$var1$index] = var$5; $var2.$modCount = $var2.$modCount + 1 | 0; } else { var$5 = new nms_GuiButton; $var1$index = ($this.$width / 2 | 0) - 100 | 0; var$7 = ($this.$height / 4 | 0) + 96 | 0; nms_StatCollector_$callClinit(); var$8 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3220)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 1; var$5.$xPosition = $var1$index; var$5.$yPosition = var$7; var$5.$width0 = 200; var$5.$height0 = 20; var$5.$displayString = var$8; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); var$2 = $var2.$array.data; $var1$index = $var2.$size0; $var2.$size0 = $var1$index + 1 | 0; var$2[$var1$index] = var$5; $var2.$modCount = $var2.$modCount + 1 | 0; } var$5 = $this.$buttonList; $var1$index_0 = 0; var$7 = var$5.$modCount; var$11 = var$5.$size(); while ($var1$index_0 >= var$11 ? 0 : 1) { if (var$7 < var$5.$modCount) { var$5 = new ju_ConcurrentModificationException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $var1$index = $var1$index_0 + 1 | 0; (var$5.$get($var1$index_0)).$enabled = 0; $var1$index_0 = $var1$index; } }, nms_GuiGameOver_keyTyped = ($this, $par1, $par2) => { return; }, nms_GuiGameOver_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: switch ($par1GuiButton.$id0) { case 1: var$2 = $this.$mc.$thePlayer.$sendQueue; $par1GuiButton = new nms_Packet205ClientCommand; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1GuiButton.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1GuiButton.$forceRespawn = 1; if (!var$2.$disconnected) var$2.$netManager.$addToSendQueue($par1GuiButton); var$2 = $this.$mc; $par1GuiButton = null; $ptr = 1; continue main; case 2: var$3 = $this.$mc.$theWorld.$sendQueue0; $par1GuiButton = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1GuiButton.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1GuiButton.$reason = $rt_s(486); if (!var$3.$disconnected) { var$3.$netManager.$addToSendQueue($par1GuiButton); var$3.$netManager.$serverShutdown(); } $par1GuiButton = $this.$mc; var$2 = null; var$3 = $rt_s(18); $ptr = 2; continue main; default: } return; case 1: nms_Minecraft_displayGuiScreen(var$2, $par1GuiButton); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_loadWorld($par1GuiButton, var$2, var$3); if ($rt_suspending()) { break main; } $par1GuiButton = $this.$mc; var$2 = nms_GuiMainMenu__init_(); $ptr = 3; case 3: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, $ptr); }, nms_GuiGameOver_drawScreen = ($this, $par1, $par2, $par3) => { let $var5, var$5, $var4, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();$var5 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, 1615855616, (-1602211792)); nleg_EaglerAdapterGL30_glPushMatrix(); $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 2.0; $var5.$y = 2.0; $var5.$z = 2.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; var$5.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); $var5.$sb = var$5; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var4 = $this.$mc.$theWorld.$worldInfo.$hardcore; if (!$var4) { nms_StatCollector_$callClinit(); $var5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3221)); } else { nms_StatCollector_$callClinit(); $var5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3222)); } var$5 = $this.$fontRenderer; var$7 = ($this.$width / 2 | 0) / 2 | 0; var$8 = 30; var$9 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth(var$5, $var5) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$7 + 1 | 0; var$11 = 31; var$12 = 1; $ptr = 1; case 1: $tmp = nms_FontRenderer_renderString(var$5, $var5, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, $var5, var$7, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$7 = $tmp; nleg_EaglerAdapterGL30_glPopMatrix(); if ($var4) { $var5 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3223)); var$7 = $this.$width / 2 | 0; var$8 = 144; var$9 = 16777215; var$11 = var$7 - (nms_FontRenderer_getStringWidth($var5, var$5) / 2 | 0) | 0; $var5.$randomStyle = 0; $var5.$boldStyle = 0; $var5.$italicStyle = 0; $var5.$underlineStyle = 0; $var5.$strikethroughStyle = 0; var$7 = var$11 + 1 | 0; $var4 = 145; var$10 = 1; $ptr = 3; continue main; } $var5 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$13 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3224)); nms_EnumChatFormatting_$callClinit(); var$5 = nms_EnumChatFormatting_YELLOW; var$14 = var$5 === null ? $rt_s(1) : var$5.$field_96304_B; var$5 = $this.$mc.$thePlayer.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$15 = jl_Integer_integerCache.data[146]; if (var$15 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$9 = var$15.$value0; var$16 = var$5.$elementData.data; var$5 = var$16[var$9 & (var$16.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { var$17 = var$5.$key; if (var$15 !== var$17 && !(var$15 === var$17 ? 1 : var$17 instanceof jl_Integer && var$17.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$9 = (var$5 === null ? null : var$5.$value1).$watchedObject.$value0; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$7 = var$5.$length0; if (var$13 === null) var$13 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$7, var$13); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(107)); var$7 = var$5.$length0; if (var$14 === null) var$14 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$7, var$14); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$9, 10); var$13 = new jl_String; var$16 = var$5.$buffer; var$18 = var$16.data; var$8 = var$5.$length0; var$9 = var$18.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$13.$nativeString = $rt_charArrayToString(var$16.data, 0, var$8); var$7 = $this.$width / 2 | 0; var$8 = 100; var$9 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth($var5, var$13) / 2 | 0) | 0; $var5.$randomStyle = 0; $var5.$boldStyle = 0; $var5.$italicStyle = 0; $var5.$underlineStyle = 0; $var5.$strikethroughStyle = 0; $var4 = var$7 + 1 | 0; var$10 = 101; var$11 = 1; $ptr = 5; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var5); $rt_throw($var5); case 3: $tmp = nms_FontRenderer_renderString($var5, var$5, var$7, $var4, var$9, var$10); if ($rt_suspending()) { break main; } var$7 = $tmp; $var4 = 0; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($var5, var$5, var$11, var$8, var$9, $var4); if ($rt_suspending()) { break main; } var$8 = $tmp; $var5 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$13 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3224)); nms_EnumChatFormatting_$callClinit(); var$5 = nms_EnumChatFormatting_YELLOW; var$14 = var$5 === null ? $rt_s(1) : var$5.$field_96304_B; var$5 = $this.$mc.$thePlayer.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$15 = jl_Integer_integerCache.data[146]; if (var$15 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$9 = var$15.$value0; var$16 = var$5.$elementData.data; var$5 = var$16[var$9 & (var$16.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { var$17 = var$5.$key; if (var$15 !== var$17 && !(var$15 === var$17 ? 1 : var$17 instanceof jl_Integer && var$17.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$9 = (var$5 === null ? null : var$5.$value1).$watchedObject.$value0; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$7 = var$5.$length0; if (var$13 === null) var$13 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$7, var$13); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(107)); var$7 = var$5.$length0; if (var$14 === null) var$14 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$7, var$14); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$9, 10); var$13 = new jl_String; var$16 = var$5.$buffer; var$18 = var$16.data; var$8 = var$5.$length0; var$9 = var$18.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$13.$nativeString = $rt_charArrayToString(var$16.data, 0, var$8); var$7 = $this.$width / 2 | 0; var$8 = 100; var$9 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth($var5, var$13) / 2 | 0) | 0; $var5.$randomStyle = 0; $var5.$boldStyle = 0; $var5.$italicStyle = 0; $var5.$underlineStyle = 0; $var5.$strikethroughStyle = 0; $var4 = var$7 + 1 | 0; var$10 = 101; var$11 = 1; $ptr = 5; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var5); $rt_throw($var5); case 5: $tmp = nms_FontRenderer_renderString($var5, var$13, $var4, var$10, var$9, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; $var4 = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString($var5, var$13, var$7, var$8, var$9, $var4); if ($rt_suspending()) { break main; } var$7 = $tmp; var$7 = 0; $var5 = $this.$buttonList; var$8 = $rt_compare(var$7, $var5.$size0); if (var$8 >= 0) return; if (var$7 >= 0 && var$8 < 0) { $var5 = $var5.$array.data[var$7]; var$5 = $this.$mc; $ptr = 7; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 7: $var5.$drawButton(var$5, $par1, $par2); if ($rt_suspending()) { break main; } var$7 = var$7 + 1 | 0; $var5 = $this.$buttonList; var$8 = $rt_compare(var$7, $var5.$size0); if (var$8 >= 0) return; if (var$7 >= 0 && var$8 < 0) { $var5 = $var5.$array.data[var$7]; var$5 = $this.$mc; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var5, var$5, $var4, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_GuiGameOver_doesGuiPauseGame = $this => { return 0; }, nms_GuiGameOver_updateScreen = $this => { let var$1, var$2, $var1$index, var$4, var$5, $var1$index_0; a: { var$1 = $this.$cooldownTimer + 1 | 0; $this.$cooldownTimer = var$1; if (var$1 == 20) { var$2 = $this.$buttonList; $var1$index = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); while (true) { if (!($var1$index >= var$5 ? 0 : 1)) break a; if (var$4 < var$2.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var1$index_0 = $var1$index + 1 | 0; (var$2.$get($var1$index)).$enabled = 1; $var1$index = $var1$index_0; } } } }; function nms_Vec3() { let a = this; jl_Object.call(a); a.$myVec3LocalPool = null; a.$xCoord = 0.0; a.$yCoord = 0.0; a.$zCoord = 0.0; } let nms_Vec3_fakePool = null, nms_Vec3_normalize = $this => { let $var1, var$2; $var1 = $this.$xCoord; $var1 = $var1 * $var1; var$2 = $this.$yCoord; $var1 = $var1 + var$2 * var$2; var$2 = $this.$zCoord; $var1 = jl_Math_sqrt($var1 + var$2 * var$2); return $var1 < 1.0E-4 ? nms_Vec3Pool_getVecFromPool($this.$myVec3LocalPool, 0.0, 0.0, 0.0) : nms_Vec3Pool_getVecFromPool($this.$myVec3LocalPool, $this.$xCoord / $var1, $this.$yCoord / $var1, $this.$zCoord / $var1); }, nms_Vec3_crossProduct = ($this, $par1Vec3) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$2 = $this.$myVec3LocalPool; var$3 = $this.$yCoord; var$4 = $par1Vec3.$zCoord; var$5 = var$3 * var$4; var$6 = $this.$zCoord; var$7 = $par1Vec3.$yCoord; var$8 = var$5 - var$6 * var$7; var$9 = $par1Vec3.$xCoord; var$5 = var$6 * var$9; var$6 = $this.$xCoord; return nms_Vec3Pool_getVecFromPool(var$2, var$8, var$5 - var$6 * var$4, var$6 * var$7 - var$3 * var$9); }, nms_Vec3_getIntermediateWithXValue = ($this, $par1Vec3, $par2) => { let $var4, var$4, $var10, var$6, $var6, var$8, $var8; $var4 = $par1Vec3.$xCoord; var$4 = $this.$xCoord; $var4 = $var4 - var$4; $var10 = $par1Vec3.$yCoord; var$6 = $this.$yCoord; $var6 = $var10 - var$6; $var10 = $par1Vec3.$zCoord; var$8 = $this.$zCoord; $var8 = $var10 - var$8; if ($var4 * $var4 < 1.0000000116860974E-7) return null; $var10 = ($par2 - var$4) / $var4; return $var10 >= 0.0 && $var10 <= 1.0 ? nms_Vec3Pool_getVecFromPool($this.$myVec3LocalPool, var$4 + $var4 * $var10, var$6 + $var6 * $var10, var$8 + $var8 * $var10) : null; }, nms_Vec3_getIntermediateWithYValue = ($this, $par1Vec3, $par2) => { let $var4, var$4, $var10, var$6, $var6, var$8, $var8; $var4 = $par1Vec3.$xCoord; var$4 = $this.$xCoord; $var4 = $var4 - var$4; $var10 = $par1Vec3.$yCoord; var$6 = $this.$yCoord; $var6 = $var10 - var$6; $var10 = $par1Vec3.$zCoord; var$8 = $this.$zCoord; $var8 = $var10 - var$8; if ($var6 * $var6 < 1.0000000116860974E-7) return null; $var10 = ($par2 - var$6) / $var6; return $var10 >= 0.0 && $var10 <= 1.0 ? nms_Vec3Pool_getVecFromPool($this.$myVec3LocalPool, var$4 + $var4 * $var10, var$6 + $var6 * $var10, var$8 + $var8 * $var10) : null; }, nms_Vec3_getIntermediateWithZValue = ($this, $par1Vec3, $par2) => { let $var4, var$4, $var10, var$6, $var6, var$8, $var8; $var4 = $par1Vec3.$xCoord; var$4 = $this.$xCoord; $var4 = $var4 - var$4; $var10 = $par1Vec3.$yCoord; var$6 = $this.$yCoord; $var6 = $var10 - var$6; $var10 = $par1Vec3.$zCoord; var$8 = $this.$zCoord; $var8 = $var10 - var$8; if ($var8 * $var8 < 1.0000000116860974E-7) return null; $var10 = ($par2 - var$8) / $var8; return $var10 >= 0.0 && $var10 <= 1.0 ? nms_Vec3Pool_getVecFromPool($this.$myVec3LocalPool, var$4 + $var4 * $var10, var$6 + $var6 * $var10, var$8 + $var8 * $var10) : null; }, nms_Vec3_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$xCoord; var$2 = $this.$yCoord; var$3 = $this.$zCoord; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$4.$buffer.data[var$5] = 40; jl_AbstractStringBuilder_insert4(var$4, var$4.$length0, var$1); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert4(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert4(var$4, var$4.$length0, var$3); var$5 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$5, var$5 + 1 | 0); var$6 = var$4.$buffer; var$7 = var$6.data; var$7[var$5] = 41; var$8 = new jl_String; var$5 = var$4.$length0; var$9 = var$7.length; if (var$5 >= 0 && var$5 <= (var$9 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); return var$8; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); }, nms_Vec3__clinit_ = () => { let var$1, var$2; var$1 = new nms_Vec3Pool; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$vec3Cache = var$2; var$1.$truncateArrayResetThreshold = (-1); var$1.$minimumSize = (-1); nms_Vec3_fakePool = var$1; }; function nms_GuiIngameMenu() { let a = this; nms_GuiScreen.call(a); a.$updateCounter20 = 0; a.$updateCounter2 = 0; } let nms_GuiIngameMenu__init_0 = $this => { let var$1; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$buttonList = var$1; $this.$allowUserInput = 0; $this.$selectedButton = null; $this.$eventButton = 0; $this.$field_85043_c = Long_ZERO; $this.$field_92018_d = 0; }, nms_GuiIngameMenu__init_ = () => { let var_0 = new nms_GuiIngameMenu(); nms_GuiIngameMenu__init_0(var_0); return var_0; }, nms_GuiIngameMenu_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $var1, var$8, var$9, var$10, var$11; $this.$updateCounter20 = 0; var$1 = $this.$buttonList; var$2 = var$1.$array; var$3 = 0; var$4 = var$1.$size0; var$5 = null; if (var$3 > var$4) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$3 < var$4) { var$6 = var$2.data; $var1 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = $var1; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$8 = new nms_GuiButton; var$9 = ($this.$width / 2 | 0) - 100 | 0; var$10 = (($this.$height / 4 | 0) + 120 | 0) + (-16) | 0; nms_StatCollector_$callClinit(); var$5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3225)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$8.$width0 = 200; var$8.$height0 = 20; var$8.$enabled = 1; var$8.$drawButton0 = 1; var$8.$id0 = 1; var$8.$xPosition = var$9; var$8.$yPosition = var$10; var$8.$width0 = 200; var$8.$height0 = 20; var$8.$displayString = var$5; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$8; var$1.$modCount = var$1.$modCount + 1 | 0; if (!$this.$mc.$integratedServerIsRunning) { var$1 = $this.$buttonList; if (0 >= var$1.$size0) { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$1.$array.data[0].$displayString = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3226)); } var$1 = $this.$buttonList; var$5 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 100 | 0; var$9 = (($this.$height / 4 | 0) + 24 | 0) + (-16) | 0; var$8 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3227)); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 4; var$5.$xPosition = var$4; var$5.$yPosition = var$9; var$5.$width0 = 200; var$5.$height0 = 20; var$5.$displayString = var$8; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$5 = $this.$buttonList; var$8 = new nms_GuiButton; var$9 = ($this.$width / 2 | 0) - 100 | 0; var$10 = (($this.$height / 4 | 0) + 96 | 0) + (-16) | 0; var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1580)); var$8.$width0 = 200; var$8.$height0 = 20; var$8.$enabled = 1; var$8.$drawButton0 = 1; var$8.$id0 = 0; var$8.$xPosition = var$9; var$8.$yPosition = var$10; var$8.$width0 = 98; var$8.$height0 = 20; var$8.$displayString = var$1; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$2[var$4] = var$8; var$5.$modCount = var$5.$modCount + 1 | 0; var$1 = $this.$buttonList; var$5 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) + 2 | 0; var$9 = (($this.$height / 4 | 0) + 96 | 0) + (-16) | 0; var$8 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3228)); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 7; var$5.$xPosition = var$4; var$5.$yPosition = var$9; var$5.$width0 = 98; var$5.$height0 = 20; var$5.$displayString = var$8; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$buttonList; var$8 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 100 | 0; var$9 = (($this.$height / 4 | 0) + 48 | 0) + (-16) | 0; var$11 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3229)); var$8.$width0 = 200; var$8.$height0 = 20; var$8.$enabled = 1; var$8.$drawButton0 = 1; var$8.$id0 = 5; var$8.$xPosition = var$4; var$8.$yPosition = var$9; var$8.$width0 = 98; var$8.$height0 = 20; var$8.$displayString = var$11; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$8; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$buttonList; var$8 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) + 2 | 0; $var1 = (($this.$height / 4 | 0) + 48 | 0) + (-16) | 0; var$11 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3230)); var$8.$width0 = 200; var$8.$height0 = 20; var$8.$enabled = 1; var$8.$drawButton0 = 1; var$8.$id0 = 6; var$8.$xPosition = var$4; var$8.$yPosition = $var1; var$8.$width0 = 98; var$8.$height0 = 20; var$8.$displayString = var$11; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$8; var$1.$modCount = var$1.$modCount + 1 | 0; var$5.$enabled = 0; }, nms_GuiIngameMenu_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { switch ($par1GuiButton.$id0) { case 0: var$2 = $this.$mc; $par1GuiButton = new nms_GuiOptions; var$3 = var$2.$gameSettings; nms_GuiOptions_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $par1GuiButton.$buttonList = var$4; $par1GuiButton.$allowUserInput = 0; $par1GuiButton.$selectedButton = null; $par1GuiButton.$eventButton = 0; $par1GuiButton.$field_85043_c = Long_ZERO; $par1GuiButton.$field_92018_d = 0; $par1GuiButton.$screenTitle1 = $rt_s(1587); $par1GuiButton.$parentScreen0 = $this; $par1GuiButton.$options0 = var$3; $ptr = 1; continue main; case 1: $par1GuiButton.$enabled = 0; var$3 = $this.$mc.$theWorld.$sendQueue0; $par1GuiButton = new nms_Packet255KickDisconnect; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1GuiButton.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1GuiButton.$reason = $rt_s(486); if (!var$3.$disconnected) { var$3.$netManager.$addToSendQueue($par1GuiButton); var$3.$netManager.$serverShutdown(); } $par1GuiButton = $this.$mc; var$2 = null; var$3 = $rt_s(18); $ptr = 5; continue main; case 2: case 3: break; case 4: $par1GuiButton = $this.$mc; var$2 = null; $ptr = 2; continue main; case 5: break a; case 6: break a; case 7: $par1GuiButton = $this.$mc; var$2 = new nms_GuiShareToLan; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$buttonList = var$3; var$2.$allowUserInput = 0; var$2.$selectedButton = null; var$2.$eventButton = 0; var$2.$field_85043_c = Long_ZERO; var$2.$field_92018_d = 0; var$2.$gameMode0 = $rt_s(3231); var$2.$parentScreen4 = $this; $ptr = 4; continue main; default: } } return; case 1: nms_Minecraft_displayGuiScreen(var$2, $par1GuiButton); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } $par1GuiButton = $this.$mc; $par1GuiButton.$inGameHasFocus = 1; var$2 = $par1GuiButton.$mouseHelper; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_mouseSetGrabbed(1); var$2.$deltaX = 0; var$2.$deltaY = 0; var$2 = null; $ptr = 3; case 3: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } $par1GuiButton.$leftClickCounter = 10000; return; case 4: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } return; case 5: nms_Minecraft_loadWorld($par1GuiButton, var$2, var$3); if ($rt_suspending()) { break main; } $par1GuiButton = $this.$mc; var$2 = nms_GuiMainMenu__init_(); $ptr = 6; case 6: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, $ptr); }, nms_GuiIngameMenu_updateScreen = $this => { $this.$updateCounter2 = $this.$updateCounter2 + 1 | 0; }, nms_GuiIngameMenu_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; var$6 = $rt_s(3232); var$7 = $this.$width / 2 | 0; var$8 = 40; var$9 = 16777215; var$4 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$7 = 41; var$11 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; var$6 = $rt_s(3232); var$7 = $this.$width / 2 | 0; var$8 = 40; var$9 = 16777215; var$4 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$7 = 41; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$10, var$7, var$9, var$11); if ($rt_suspending()) { break main; } var$7 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$10 = 0; var$6 = $this.$buttonList; var$4 = $rt_compare(var$10, var$6.$size0); if (var$4 >= 0) return; if (var$10 >= 0 && var$4 < 0) { var$6 = var$6.$array.data[var$10]; var$5 = $this.$mc; $ptr = 4; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); case 4: var$6.$drawButton(var$5, $par1, $par2); if ($rt_suspending()) { break main; } var$10 = var$10 + 1 | 0; var$6 = $this.$buttonList; var$4 = $rt_compare(var$10, var$6.$size0); if (var$4 >= 0) return; if (var$10 >= 0 && var$4 < 0) { var$6 = var$6.$array.data[var$10]; var$5 = $this.$mc; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }; function nms_WorldRenderer() { let a = this; jl_Object.call(a); a.$worldObj13 = null; a.$glRenderList = 0; a.$posX3 = 0; a.$posY4 = 0; a.$posZ2 = 0; a.$chunkX0 = 0; a.$chunkY = 0; a.$chunkZ0 = 0; a.$posXMinus = 0; a.$posYMinus = 0; a.$posZMinus = 0; a.$posXClip = 0; a.$posYClip = 0; a.$posZClip = 0; a.$isInFrustum = 0; a.$skipRenderPass = null; a.$posXPlus = 0; a.$posYPlus = 0; a.$posZPlus = 0; a.$needsUpdate = 0; a.$rendererBoundingBox = null; a.$chunkIndex = 0; a.$isVisible = 0; a.$isWaitingOnOcclusionQuery = 0; a.$isChunkLit = 0; a.$isInitialized = 0; a.$tileEntityRenderers = null; a.$tileEntities0 = null; a.$bytesDrawn = 0; } let nms_WorldRenderer_tessellator = null, nms_WorldRenderer_chunksUpdated = 0, nms_WorldRenderer_chunksGeometryUpdated = 0, nms_WorldRenderer_$callClinit = () => { nms_WorldRenderer_$callClinit = $rt_eraseClinit(nms_WorldRenderer); nms_WorldRenderer__clinit_(); }, nms_WorldRenderer__init_ = ($this, $par1World, $par2List, $par3, $par4, $par5, $par6) => { let var$7; nms_WorldRenderer_$callClinit(); $this.$glRenderList = (-1); $this.$isInFrustum = 0; $this.$skipRenderPass = $rt_createBooleanArray(2); $this.$isVisible = 1; $this.$isInitialized = 0; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); $this.$tileEntityRenderers = var$7; $this.$worldObj13 = $par1World; $this.$tileEntities0 = $par2List; $this.$glRenderList = $par6; $this.$posX3 = (-999); nms_WorldRenderer_setPosition($this, $par3, $par4, $par5); $this.$needsUpdate = 0; }, nms_WorldRenderer__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5) => { let var_6 = new nms_WorldRenderer(); nms_WorldRenderer__init_(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; }, nms_WorldRenderer_setPosition = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; if (!($par1 == $this.$posX3 && $par2 == $this.$posY4 && $par3 == $this.$posZ2)) { nms_WorldRenderer_setDontDraw($this); $this.$posX3 = $par1; $this.$posY4 = $par2; $this.$posZ2 = $par3; $this.$chunkX0 = $par1 >> 4; $this.$chunkY = $par2 >> 4; $this.$chunkZ0 = $par3 >> 4; $this.$posXPlus = $par1 + 8 | 0; $this.$posYPlus = $par2 + 8 | 0; $this.$posZPlus = $par3 + 8 | 0; var$4 = $par1 & 1023; $this.$posXClip = var$4; $this.$posYClip = $par2; var$5 = $par3 & 1023; $this.$posZClip = var$5; $this.$posXMinus = $par1 - var$4 | 0; $this.$posYMinus = $par2 - $par2 | 0; $this.$posZMinus = $par3 - var$5 | 0; var$6 = $par1 - 0.0; var$7 = $par2 - 0.0; var$8 = $par3 - 0.0; var$9 = ($par1 + 16 | 0) + 0.0; var$10 = ($par2 + 16 | 0) + 0.0; var$11 = ($par3 + 16 | 0) + 0.0; var$12 = new nms_AxisAlignedBB; var$12.$minX = var$6; var$12.$minY = var$7; var$12.$minZ = var$8; var$12.$maxX = var$9; var$12.$maxY = var$10; var$12.$maxZ = var$11; $this.$rendererBoundingBox = var$12; $this.$needsUpdate = 1; } }, nms_WorldRenderer_updateRenderer = $this => { let $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var21, var$9, $var16, $var14, $var15, var$13, var$14, $var24, $var8, $var22, var$18, $var9, $var10, $var11, $var12, $var13, $var17, $var18, var$26, var$27, var$28, $var23, $var20, var$31, var$32, var$33, var$34, var$35, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();$var20 = $thread.pop();$var23 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$18 = $thread.pop();$var22 = $thread.pop();$var8 = $thread.pop();$var24 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var16 = $thread.pop();var$9 = $thread.pop();$var21 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($this.$needsUpdate) { $this.$needsUpdate = 0; $var1 = $this.$posX3; $var2 = $this.$posY4; $var3 = $this.$posZ2; $var4 = $var1 + 16 | 0; $var5 = $var2 + 16 | 0; $var6 = $var3 + 16 | 0; $var7 = 0; while ($var7 < 2) { $this.$skipRenderPass.data[$var7] = 1; $var7 = $var7 + 1 | 0; } nms_Chunk_isLit = 0; $var21 = new ju_HashSet; $var21.$backingMap = ju_HashMap__init_(); var$9 = $this.$tileEntityRenderers; $var16 = 0; $var14 = var$9.$modCount; $var15 = var$9.$size(); while (true) { if (!($var16 >= $var15 ? 0 : 1)) { var$13 = $this.$tileEntityRenderers; var$14 = var$13.$array; $var24 = 0; $var8 = var$13.$size0; $var22 = null; if ($var24 > $var8) { $var22 = new jl_IllegalArgumentException; $var22.$suppressionEnabled = 1; $var22.$writableStackTrace = 1; $rt_throw($var22); } while ($var24 < $var8) { var$18 = var$14.data; $var14 = $var24 + 1 | 0; var$18[$var24] = $var22; $var24 = $var14; } var$13.$size0 = 0; var$13.$modCount = var$13.$modCount + 1 | 0; $var9 = nms_ChunkCache__init_($this.$worldObj13, $var1 - 1 | 0, $var2 - 1 | 0, $var3 - 1 | 0, $var4 + 1 | 0, $var5 + 1 | 0, $var6 + 1 | 0, 1); if (!$var9.$isEmpty0) { nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_hintAnisotropicPatch = 1; nms_WorldRenderer_$callClinit(); nms_WorldRenderer_chunksUpdated = nms_WorldRenderer_chunksUpdated + 1 | 0; $var10 = new nms_RenderBlocks; $var10.$useInventoryTint = 1; $var10.$blockAccess = $var9; $var10.$minecraftRB = nms_Minecraft_theMinecraft; $this.$bytesDrawn = 0; $var11 = 0; b: { while (true) { if ($var11 >= 2) break b; $var12 = 0; $var13 = 0; $var14 = 0; $var15 = $var2; while ($var15 < $var5) { $var16 = $var3; while ($var16 < $var6) { $var17 = $var1; while ($var17 < $var4) { $var18 = nms_ChunkCache_getBlockId($var9, $var17, $var15, $var16); if ($var18 > 0) { if (!$var14) { $var14 = 1; $var8 = $this.$glRenderList + $var11 | 0; if (!nleg_EaglerAdapterGL30_isCompilingDisplayList) { $var22 = nleg_EaglerAdapterGL30_displayLists; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$13 = new jl_Integer; var$13.$value0 = $var8; } if (var$13 === null) { var$9 = $var22.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { $var8 = var$13.$value0; var$14 = $var22.$elementData.data; var$9 = var$14[$var8 & (var$14.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == $var8) { $var22 = var$9.$key; if (var$13 !== $var22 && !(var$13 === $var22 ? 1 : $var22 instanceof jl_Integer && $var22.$value0 == $var8 ? 1 : 0) ? 0 : 1) break; } var$9 = var$9.$next3; } } $var22 = var$9 === null ? null : var$9.$value1; nleg_EaglerAdapterGL30_compilingDisplayList = $var22; if ($var22 !== null) { $var22.$shaderMode = (-1); $var22.$listLength = 0; nleg_EaglerAdapterGL30_isCompilingDisplayList = 1; } } $var22 = nms_WorldRenderer_tessellator; if ($var22.$isDrawing) nlea_Tessellator_draw($var22); $var22.$isDrawing = 1; $var22.$vertexCount = 0; $var22.$rawBufferIndex = 0; $var22.$addedVertices = 0; $var22.$drawMode = 7; $var22.$hasNormals = 0; $var22.$hasColor = 0; $var22.$hasTexture = 0; $var22.$hasBrightness = 0; $var22.$isColorDisabled = 0; $var22 = nms_WorldRenderer_tessellator; var$26 = $this.$posXClip - $this.$posX3 | 0; var$27 = $this.$posYClip - $this.$posY4 | 0; var$28 = $this.$posZClip - $this.$posZ2 | 0; $var22.$xOffset = var$26; $var22.$yOffset0 = var$27; $var22.$zOffset = var$28; } nms_Block_$callClinit(); $var23 = nms_Block_blocksList.data[$var18]; if ($var23 !== null) { if (!$var11 && $var23.$isBlockContainer) { $var24 = ($var17 >> 4) - $var9.$chunkX | 0; $var8 = ($var16 >> 4) - $var9.$chunkZ | 0; $var22 = $var9.$chunkArray.data[$var24].data[$var8]; $var8 = $var17 & 15; $var24 = $var16 & 15; $ptr = 1; continue main; } $var24 = $rt_compare($var23.$getRenderBlockPass(), $var11); if ($var24) $var12 = 1; else if (!$var24) { $ptr = 2; continue main; } } } $var17 = $var17 + 1 | 0; } $var16 = $var16 + 1 | 0; } $var15 = $var15 + 1 | 0; } if (!$var14) $var13 = 0; else { $this.$bytesDrawn = $this.$bytesDrawn + nlea_Tessellator_draw(nms_WorldRenderer_tessellator) | 0; nleg_EaglerAdapterGL30_glEndList(); $var22 = nms_WorldRenderer_tessellator; $var22.$xOffset = 0.0; $var22.$yOffset0 = 0.0; $var22.$zOffset = 0.0; } if ($var13) $this.$skipRenderPass.data[$var11] = 0; if (!$var12) break; $var11 = $var11 + 1 | 0; } } var$14 = $this.$skipRenderPass.data; if (!(var$14[0] && var$14[1])) nms_WorldRenderer_chunksGeometryUpdated = nms_WorldRenderer_chunksGeometryUpdated + 1 | 0; nleg_EaglerAdapterGL30_hintAnisotropicPatch = 0; } $var22 = new ju_HashSet; $var22.$backingMap = ju_HashMap__init_(); var$13 = $this.$tileEntityRenderers; $var14 = 0; $var24 = var$13.$modCount; $var8 = var$13.$size(); while (true) { if (!($var14 >= $var8 ? 0 : 1)) { ju_AbstractSet_removeAll($var22, $var21); var$13 = $this.$tileEntities0; $var22 = $var22.$backingMap; if ($var22.$cachedKeySet === null) { var$9 = new ju_HashMap$1; var$9.$this$0 = $var22; $var22.$cachedKeySet = var$9; } var$9 = $var22.$cachedKeySet.$iterator(); while (var$9.$hasNext()) { $var22 = var$9.$next(); ju_ArrayList_ensureCapacity(var$13, var$13.$size0 + 1 | 0); var$14 = var$13.$array.data; $var2 = var$13.$size0; var$13.$size0 = $var2 + 1 | 0; var$14[$var2] = $var22; var$13.$modCount = var$13.$modCount + 1 | 0; } ju_AbstractSet_removeAll($var21, $this.$tileEntityRenderers); $var22 = $this.$tileEntities0; var$13 = new ju_AbstractList$1; var$13.$this$00 = $var22; var$13.$modCount1 = $var22.$modCount; var$13.$size3 = $var22.$size(); var$13.$removeIndex = (-1); while (true) { $var1 = var$13.$index0; if (!($var1 >= var$13.$size3 ? 0 : 1)) { $this.$isChunkLit = nms_Chunk_isLit; $this.$isInitialized = 1; if ($this.$skipRenderPass.data[0]) { $var1 = $this.$glRenderList; nleg_EaglerAdapterGL30_$callClinit(); $var22 = nleg_EaglerAdapterGL30_displayListsInitialized; if ($var1 >= (-128) && $var1 <= 127) { jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[$var1 + 128 | 0]; } else { var$13 = new jl_Integer; var$13.$value0 = $var1; } if (var$13 === null) { $var22 = $var22.$elementData.data[0]; while ($var22 !== null && $var22.$key !== null) { $var22 = $var22.$next3; } } else { $var1 = var$13.$value0; var$14 = $var22.$elementData.data; $var22 = var$14[$var1 & (var$14.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var1) { var$9 = $var22.$key; if (var$13 !== var$9 && !(var$13 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } $var22 = $var22.$next3; } } $var22 = $var22 === null ? null : $var22.$value1; if ($var22 !== null) { var$13 = $var22.$glbuffer; if (var$13 !== null) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteBuffer(var$13.$obj2); var$13 = $var22.$glarray; nlea_EaglerAdapterImpl2_webgl.deleteVertexArray(var$13.$obj3); $var22.$glbuffer = null; $var22.$glarray = null; } } } if (!$this.$skipRenderPass.data[1]) break a; $var1 = $this.$glRenderList + 1 | 0; nleg_EaglerAdapterGL30_$callClinit(); $var22 = nleg_EaglerAdapterGL30_displayListsInitialized; if ($var1 >= (-128) && $var1 <= 127) { jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[$var1 + 128 | 0]; } else { var$13 = new jl_Integer; var$13.$value0 = $var1; } if (var$13 === null) { $var22 = $var22.$elementData.data[0]; while ($var22 !== null && $var22.$key !== null) { $var22 = $var22.$next3; } } else { $var1 = var$13.$value0; var$14 = $var22.$elementData.data; $var22 = var$14[$var1 & (var$14.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var1) { var$9 = $var22.$key; if (var$13 !== var$9 && !(var$13 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } $var22 = $var22.$next3; } } $var22 = $var22 === null ? null : $var22.$value1; if ($var22 !== null) { var$13 = $var22.$glbuffer; if (var$13 !== null) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteBuffer(var$13.$obj2); var$13 = $var22.$glarray; nlea_EaglerAdapterImpl2_webgl.deleteVertexArray(var$13.$obj3); $var22.$glbuffer = null; $var22.$glarray = null; } } break a; } $var2 = var$13.$modCount1; $var22 = var$13.$this$00; if ($var2 < $var22.$modCount) break; var$13.$removeIndex = $var1; var$13.$index0 = $var1 + 1 | 0; if (ju_HashSet_contains($var21, $var22.$get($var1))) ju_AbstractList$1_remove(var$13); } $var22 = new ju_ConcurrentModificationException; $var22.$suppressionEnabled = 1; $var22.$writableStackTrace = 1; $rt_throw($var22); } if ($var24 < var$13.$modCount) break; $var2 = $var14 + 1 | 0; $var23 = var$13.$get($var14); if (ju_HashMap_putImpl($var22.$backingMap, $var23, $var22) !== null ? 0 : 1) { $var14 = $var2; continue; } $var14 = $var2; } $var22 = new ju_ConcurrentModificationException; $var22.$suppressionEnabled = 1; $var22.$writableStackTrace = 1; $rt_throw($var22); } if ($var14 < var$9.$modCount) break; $var8 = $var16 + 1 | 0; var$13 = var$9.$get($var16); if (ju_HashMap_putImpl($var21.$backingMap, var$13, $var21) !== null ? 0 : 1) { $var16 = $var8; continue; } $var16 = $var8; } $var22 = new ju_ConcurrentModificationException; $var22.$suppressionEnabled = 1; $var22.$writableStackTrace = 1; $rt_throw($var22); } } return; case 1: $tmp = $var22.$getChunkBlockTileEntity($var8, $var15, $var24); if ($rt_suspending()) { break main; } $var20 = $tmp; nms_TileEntityRenderer_$callClinit(); var$31 = nms_TileEntityRenderer_instance; if ($var20 === null) $var22 = null; else { $var22 = $var20.constructor; if ($var22 !== null) { var$32 = $var22.classObject; if (var$32 === null) { var$32 = new jl_Class; var$32.$platformClass = $var22; $var22.classObject = var$32; } } else var$32 = null; var$33 = var$31.$specialRendererMap; if (var$32 !== null) { $var22 = var$32; if (!$var22.$id$) $var22.$id$ = $rt_nextId(); $var8 = var$32.$id$; var$14 = var$33.$elementData.data; $var22 = var$14[$var8 & (var$14.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var8) { var$13 = $var22.$key; if (var$32 !== var$13 && !(var$32 !== var$13 ? 0 : 1) ? 0 : 1) break; } $var22 = $var22.$next3; } } else { $var22 = var$33.$elementData.data[0]; while ($var22 !== null && $var22.$key !== null) { $var22 = $var22.$next3; } } $var22 = $var22 === null ? null : $var22.$value1; if ($var22 === null && var$32 !== $rt_cls(nms_TileEntity)) { var$33 = jl_Class_getSuperclass(var$32); var$34 = var$31.$specialRendererMap; if (var$33 !== null) { $var22 = var$33; if (!$var22.$id$) $var22.$id$ = $rt_nextId(); $var24 = var$33.$id$; var$14 = var$34.$elementData.data; $var22 = var$14[$var24 & (var$14.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var24) { var$13 = $var22.$key; if (var$33 !== var$13 && !jl_Object_equals(var$33, var$13) ? 0 : 1) break; } $var22 = $var22.$next3; } } else { $var22 = var$34.$elementData.data[0]; while ($var22 !== null && $var22.$key !== null) { $var22 = $var22.$next3; } } $var22 = $var22 === null ? null : $var22.$value1; if ($var22 === null && var$33 !== $rt_cls(nms_TileEntity)) { var$9 = jl_Class_getSuperclass(var$33); var$34 = var$31.$specialRendererMap; if (var$9 !== null) { var$35 = var$9; if (!var$35.$id$) var$35.$id$ = $rt_nextId(); $var24 = var$9.$id$; var$14 = var$34.$elementData.data; var$13 = var$14[$var24 & (var$14.length - 1 | 0)]; while (var$13 !== null && !(var$13.$origKeyHash == $var24 && ju_HashMap_areEqualKeys(var$9, var$13.$key))) { var$13 = var$13.$next3; } } else { var$13 = var$34.$elementData.data[0]; while (var$13 !== null && var$13.$key !== null) { var$13 = var$13.$next3; } } $var22 = var$13 === null ? null : var$13.$value1; if ($var22 === null && var$9 !== $rt_cls(nms_TileEntity)) { var$13 = jl_Class_getSuperclass(var$9); $var22 = var$31.$specialRendererMap; if (var$13 === null) $var22 = ju_HashMap_findNullKeyEntry($var22); else { $var8 = jl_Object_hashCode(var$13); $var22 = ju_HashMap_findNonNullKeyEntry($var22, var$13, $var8 & ($var22.$elementData.data.length - 1 | 0), $var8); } $var22 = $var22 === null ? null : $var22.$value1; if ($var22 === null && var$13 !== $rt_cls(nms_TileEntity)) { var$34 = jl_Class_getSuperclass(var$13); $var22 = ju_HashMap_entryByKey(var$31.$specialRendererMap, var$34); $var22 = $var22 === null ? null : $var22.$value1; if ($var22 === null && var$34 !== $rt_cls(nms_TileEntity)) { var$35 = jl_Class_getSuperclass(var$34); $var22 = ju_HashMap_get(var$31.$specialRendererMap, var$35); if ($var22 === null && var$35 !== $rt_cls(nms_TileEntity)) { $var22 = nms_TileEntityRenderer_getSpecialRendererForClass(var$31, jl_Class_getSuperclass(var$35)); ju_HashMap_put(var$31.$specialRendererMap, var$35, $var22); } ju_HashMap_putImpl(var$31.$specialRendererMap, var$34, $var22); } ju_HashMap_putImpl(var$31.$specialRendererMap, var$13, $var22); } ju_HashMap_putImpl(var$31.$specialRendererMap, var$9, $var22); } ju_HashMap_putImpl(var$31.$specialRendererMap, var$33, $var22); } ju_HashMap_putImpl(var$31.$specialRendererMap, var$32, $var22); } } if ($var22 === null ? 0 : 1) { $var22 = $this.$tileEntityRenderers; ju_ArrayList_ensureCapacity($var22, $var22.$size0 + 1 | 0); var$14 = $var22.$array.data; $var8 = $var22.$size0; $var22.$size0 = $var8 + 1 | 0; var$14[$var8] = $var20; $var22.$modCount = $var22.$modCount + 1 | 0; } c: { d: while (true) { $var24 = $rt_compare($var23.$getRenderBlockPass(), $var11); if ($var24) $var12 = 1; else if (!$var24) { $ptr = 2; continue main; } while (true) { $var17 = $var17 + 1 | 0; while ($var17 >= $var4) { $var16 = $var16 + 1 | 0; while ($var16 >= $var6) { $var15 = $var15 + 1 | 0; while ($var15 >= $var5) { if (!$var14) $var13 = 0; else { $this.$bytesDrawn = $this.$bytesDrawn + nlea_Tessellator_draw(nms_WorldRenderer_tessellator) | 0; nleg_EaglerAdapterGL30_glEndList(); $var22 = nms_WorldRenderer_tessellator; $var22.$xOffset = 0.0; $var22.$yOffset0 = 0.0; $var22.$zOffset = 0.0; } if ($var13) $this.$skipRenderPass.data[$var11] = 0; if (!$var12) break d; $var11 = $var11 + 1 | 0; if ($var11 >= 2) break c; $var12 = 0; $var13 = 0; $var14 = 0; $var15 = $var2; } $var16 = $var3; } $var17 = $var1; } $var18 = nms_ChunkCache_getBlockId($var9, $var17, $var15, $var16); if ($var18 <= 0) continue; if (!$var14) { $var14 = 1; $var8 = $this.$glRenderList + $var11 | 0; if (!nleg_EaglerAdapterGL30_isCompilingDisplayList) { $var22 = nleg_EaglerAdapterGL30_displayLists; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$13 = new jl_Integer; var$13.$value0 = $var8; } if (var$13 === null) { var$9 = $var22.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { $var8 = var$13.$value0; var$14 = $var22.$elementData.data; var$9 = var$14[$var8 & (var$14.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == $var8) { $var22 = var$9.$key; if (var$13 !== $var22 && !(var$13 === $var22 ? 1 : $var22 instanceof jl_Integer && $var22.$value0 == $var8 ? 1 : 0) ? 0 : 1) break; } var$9 = var$9.$next3; } } $var22 = var$9 === null ? null : var$9.$value1; nleg_EaglerAdapterGL30_compilingDisplayList = $var22; if ($var22 !== null) { $var22.$shaderMode = (-1); $var22.$listLength = 0; nleg_EaglerAdapterGL30_isCompilingDisplayList = 1; } } $var22 = nms_WorldRenderer_tessellator; if ($var22.$isDrawing) nlea_Tessellator_draw($var22); $var22.$isDrawing = 1; $var22.$vertexCount = 0; $var22.$rawBufferIndex = 0; $var22.$addedVertices = 0; $var22.$drawMode = 7; $var22.$hasNormals = 0; $var22.$hasColor = 0; $var22.$hasTexture = 0; $var22.$hasBrightness = 0; $var22.$isColorDisabled = 0; $var22 = nms_WorldRenderer_tessellator; var$26 = $this.$posXClip - $this.$posX3 | 0; var$27 = $this.$posYClip - $this.$posY4 | 0; var$28 = $this.$posZClip - $this.$posZ2 | 0; $var22.$xOffset = var$26; $var22.$yOffset0 = var$27; $var22.$zOffset = var$28; } nms_Block_$callClinit(); $var23 = nms_Block_blocksList.data[$var18]; if ($var23 !== null) break; } if ($var11) continue; if (!$var23.$isBlockContainer) continue; else { $var24 = ($var17 >> 4) - $var9.$chunkX | 0; $var8 = ($var16 >> 4) - $var9.$chunkZ | 0; $var22 = $var9.$chunkArray.data[$var24].data[$var8]; $var8 = $var17 & 15; $var24 = $var16 & 15; continue main; } } } var$14 = $this.$skipRenderPass.data; if (!(var$14[0] && var$14[1])) nms_WorldRenderer_chunksGeometryUpdated = nms_WorldRenderer_chunksGeometryUpdated + 1 | 0; nleg_EaglerAdapterGL30_hintAnisotropicPatch = 0; $var22 = new ju_HashSet; $var22.$backingMap = ju_HashMap__init_(); var$13 = $this.$tileEntityRenderers; $var14 = 0; $var24 = var$13.$modCount; $var8 = var$13.$size(); while (true) { if (!($var14 >= $var8 ? 0 : 1)) { ju_AbstractSet_removeAll($var22, $var21); var$13 = $this.$tileEntities0; $var22 = $var22.$backingMap; if ($var22.$cachedKeySet === null) { var$9 = new ju_HashMap$1; var$9.$this$0 = $var22; $var22.$cachedKeySet = var$9; } var$9 = $var22.$cachedKeySet.$iterator(); while (var$9.$hasNext()) { $var22 = var$9.$next(); ju_ArrayList_ensureCapacity(var$13, var$13.$size0 + 1 | 0); var$14 = var$13.$array.data; $var2 = var$13.$size0; var$13.$size0 = $var2 + 1 | 0; var$14[$var2] = $var22; var$13.$modCount = var$13.$modCount + 1 | 0; } ju_AbstractSet_removeAll($var21, $this.$tileEntityRenderers); $var22 = $this.$tileEntities0; var$13 = new ju_AbstractList$1; var$13.$this$00 = $var22; var$13.$modCount1 = $var22.$modCount; var$13.$size3 = $var22.$size(); var$13.$removeIndex = (-1); while (true) { $var1 = var$13.$index0; if (!($var1 >= var$13.$size3 ? 0 : 1)) { $this.$isChunkLit = nms_Chunk_isLit; $this.$isInitialized = 1; if ($this.$skipRenderPass.data[0]) { $var1 = $this.$glRenderList; nleg_EaglerAdapterGL30_$callClinit(); $var22 = nleg_EaglerAdapterGL30_displayListsInitialized; if ($var1 >= (-128) && $var1 <= 127) { jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[$var1 + 128 | 0]; } else { var$13 = new jl_Integer; var$13.$value0 = $var1; } if (var$13 === null) { $var22 = $var22.$elementData.data[0]; while ($var22 !== null && $var22.$key !== null) { $var22 = $var22.$next3; } } else { $var1 = var$13.$value0; var$14 = $var22.$elementData.data; $var22 = var$14[$var1 & (var$14.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var1) { var$9 = $var22.$key; if (var$13 !== var$9 && !(var$13 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } $var22 = $var22.$next3; } } $var22 = $var22 === null ? null : $var22.$value1; if ($var22 !== null) { var$13 = $var22.$glbuffer; if (var$13 !== null) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteBuffer(var$13.$obj2); var$13 = $var22.$glarray; nlea_EaglerAdapterImpl2_webgl.deleteVertexArray(var$13.$obj3); $var22.$glbuffer = null; $var22.$glarray = null; } } } if ($this.$skipRenderPass.data[1]) { $var1 = $this.$glRenderList + 1 | 0; nleg_EaglerAdapterGL30_$callClinit(); $var22 = nleg_EaglerAdapterGL30_displayListsInitialized; if ($var1 >= (-128) && $var1 <= 127) { jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[$var1 + 128 | 0]; } else { var$13 = new jl_Integer; var$13.$value0 = $var1; } if (var$13 === null) { $var22 = $var22.$elementData.data[0]; while ($var22 !== null && $var22.$key !== null) { $var22 = $var22.$next3; } } else { $var1 = var$13.$value0; var$14 = $var22.$elementData.data; $var22 = var$14[$var1 & (var$14.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var1) { var$9 = $var22.$key; if (var$13 !== var$9 && !(var$13 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } $var22 = $var22.$next3; } } $var22 = $var22 === null ? null : $var22.$value1; if ($var22 !== null) { var$13 = $var22.$glbuffer; if (var$13 !== null) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteBuffer(var$13.$obj2); var$13 = $var22.$glarray; nlea_EaglerAdapterImpl2_webgl.deleteVertexArray(var$13.$obj3); $var22.$glbuffer = null; $var22.$glarray = null; } } } return; } $var2 = var$13.$modCount1; $var22 = var$13.$this$00; if ($var2 < $var22.$modCount) break; var$13.$removeIndex = $var1; var$13.$index0 = $var1 + 1 | 0; if (ju_HashSet_contains($var21, $var22.$get($var1))) ju_AbstractList$1_remove(var$13); } $var22 = new ju_ConcurrentModificationException; $var22.$suppressionEnabled = 1; $var22.$writableStackTrace = 1; $rt_throw($var22); } if ($var24 < var$13.$modCount) break; $var2 = $var14 + 1 | 0; $var23 = var$13.$get($var14); if (ju_HashMap_putImpl($var22.$backingMap, $var23, $var22) !== null ? 0 : 1) { $var14 = $var2; continue; } $var14 = $var2; } $var22 = new ju_ConcurrentModificationException; $var22.$suppressionEnabled = 1; $var22.$writableStackTrace = 1; $rt_throw($var22); case 2: $tmp = nms_RenderBlocks_renderBlockByRenderType($var10, $var23, $var17, $var15, $var16); if ($rt_suspending()) { break main; } $var24 = $tmp; $var13 = $var13 | $var24; a: { e: while (true) { $var17 = $var17 + 1 | 0; while ($var17 >= $var4) { $var16 = $var16 + 1 | 0; while ($var16 >= $var6) { $var15 = $var15 + 1 | 0; while ($var15 >= $var5) { if (!$var14) $var13 = 0; else { $this.$bytesDrawn = $this.$bytesDrawn + nlea_Tessellator_draw(nms_WorldRenderer_tessellator) | 0; nleg_EaglerAdapterGL30_glEndList(); $var22 = nms_WorldRenderer_tessellator; $var22.$xOffset = 0.0; $var22.$yOffset0 = 0.0; $var22.$zOffset = 0.0; } if ($var13) $this.$skipRenderPass.data[$var11] = 0; if (!$var12) break e; $var11 = $var11 + 1 | 0; if ($var11 >= 2) break a; $var12 = 0; $var13 = 0; $var14 = 0; $var15 = $var2; } $var16 = $var3; } $var17 = $var1; } $var18 = nms_ChunkCache_getBlockId($var9, $var17, $var15, $var16); if ($var18 <= 0) continue; if (!$var14) { $var14 = 1; $var8 = $this.$glRenderList + $var11 | 0; if (!nleg_EaglerAdapterGL30_isCompilingDisplayList) { $var22 = nleg_EaglerAdapterGL30_displayLists; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { var$13 = new jl_Integer; var$13.$value0 = $var8; } if (var$13 === null) { var$9 = $var22.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { $var8 = var$13.$value0; var$14 = $var22.$elementData.data; var$9 = var$14[$var8 & (var$14.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == $var8) { $var22 = var$9.$key; if (var$13 !== $var22 && !(var$13 === $var22 ? 1 : $var22 instanceof jl_Integer && $var22.$value0 == $var8 ? 1 : 0) ? 0 : 1) break; } var$9 = var$9.$next3; } } $var22 = var$9 === null ? null : var$9.$value1; nleg_EaglerAdapterGL30_compilingDisplayList = $var22; if ($var22 !== null) { $var22.$shaderMode = (-1); $var22.$listLength = 0; nleg_EaglerAdapterGL30_isCompilingDisplayList = 1; } } $var22 = nms_WorldRenderer_tessellator; if ($var22.$isDrawing) nlea_Tessellator_draw($var22); $var22.$isDrawing = 1; $var22.$vertexCount = 0; $var22.$rawBufferIndex = 0; $var22.$addedVertices = 0; $var22.$drawMode = 7; $var22.$hasNormals = 0; $var22.$hasColor = 0; $var22.$hasTexture = 0; $var22.$hasBrightness = 0; $var22.$isColorDisabled = 0; $var22 = nms_WorldRenderer_tessellator; var$26 = $this.$posXClip - $this.$posX3 | 0; var$27 = $this.$posYClip - $this.$posY4 | 0; var$28 = $this.$posZClip - $this.$posZ2 | 0; $var22.$xOffset = var$26; $var22.$yOffset0 = var$27; $var22.$zOffset = var$28; } nms_Block_$callClinit(); $var23 = nms_Block_blocksList.data[$var18]; if ($var23 === null) continue; if (!$var11 && $var23.$isBlockContainer) { $var24 = ($var17 >> 4) - $var9.$chunkX | 0; $var8 = ($var16 >> 4) - $var9.$chunkZ | 0; $var22 = $var9.$chunkArray.data[$var24].data[$var8]; $var8 = $var17 & 15; $var24 = $var16 & 15; $ptr = 1; continue main; } $var24 = $rt_compare($var23.$getRenderBlockPass(), $var11); if ($var24) { $var12 = 1; continue; } if (!$var24) { continue main; } } } var$14 = $this.$skipRenderPass.data; if (!(var$14[0] && var$14[1])) nms_WorldRenderer_chunksGeometryUpdated = nms_WorldRenderer_chunksGeometryUpdated + 1 | 0; nleg_EaglerAdapterGL30_hintAnisotropicPatch = 0; $var22 = new ju_HashSet; $var22.$backingMap = ju_HashMap__init_(); var$13 = $this.$tileEntityRenderers; $var14 = 0; $var24 = var$13.$modCount; $var8 = var$13.$size(); while (true) { if (!($var14 >= $var8 ? 0 : 1)) { ju_AbstractSet_removeAll($var22, $var21); var$13 = $this.$tileEntities0; $var22 = $var22.$backingMap; if ($var22.$cachedKeySet === null) { var$9 = new ju_HashMap$1; var$9.$this$0 = $var22; $var22.$cachedKeySet = var$9; } var$9 = $var22.$cachedKeySet.$iterator(); while (var$9.$hasNext()) { $var22 = var$9.$next(); ju_ArrayList_ensureCapacity(var$13, var$13.$size0 + 1 | 0); var$14 = var$13.$array.data; $var2 = var$13.$size0; var$13.$size0 = $var2 + 1 | 0; var$14[$var2] = $var22; var$13.$modCount = var$13.$modCount + 1 | 0; } ju_AbstractSet_removeAll($var21, $this.$tileEntityRenderers); $var22 = $this.$tileEntities0; var$13 = new ju_AbstractList$1; var$13.$this$00 = $var22; var$13.$modCount1 = $var22.$modCount; var$13.$size3 = $var22.$size(); var$13.$removeIndex = (-1); while (true) { $var1 = var$13.$index0; if (!($var1 >= var$13.$size3 ? 0 : 1)) { $this.$isChunkLit = nms_Chunk_isLit; $this.$isInitialized = 1; if ($this.$skipRenderPass.data[0]) { $var1 = $this.$glRenderList; nleg_EaglerAdapterGL30_$callClinit(); $var22 = nleg_EaglerAdapterGL30_displayListsInitialized; if ($var1 >= (-128) && $var1 <= 127) { jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[$var1 + 128 | 0]; } else { var$13 = new jl_Integer; var$13.$value0 = $var1; } if (var$13 === null) { $var22 = $var22.$elementData.data[0]; while ($var22 !== null && $var22.$key !== null) { $var22 = $var22.$next3; } } else { $var1 = var$13.$value0; var$14 = $var22.$elementData.data; $var22 = var$14[$var1 & (var$14.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var1) { var$9 = $var22.$key; if (var$13 !== var$9 && !(var$13 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } $var22 = $var22.$next3; } } $var22 = $var22 === null ? null : $var22.$value1; if ($var22 !== null) { var$13 = $var22.$glbuffer; if (var$13 !== null) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteBuffer(var$13.$obj2); var$13 = $var22.$glarray; nlea_EaglerAdapterImpl2_webgl.deleteVertexArray(var$13.$obj3); $var22.$glbuffer = null; $var22.$glarray = null; } } } if ($this.$skipRenderPass.data[1]) { $var1 = $this.$glRenderList + 1 | 0; nleg_EaglerAdapterGL30_$callClinit(); $var22 = nleg_EaglerAdapterGL30_displayListsInitialized; if ($var1 >= (-128) && $var1 <= 127) { jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[$var1 + 128 | 0]; } else { var$13 = new jl_Integer; var$13.$value0 = $var1; } if (var$13 === null) { $var22 = $var22.$elementData.data[0]; while ($var22 !== null && $var22.$key !== null) { $var22 = $var22.$next3; } } else { $var1 = var$13.$value0; var$14 = $var22.$elementData.data; $var22 = var$14[$var1 & (var$14.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var1) { var$9 = $var22.$key; if (var$13 !== var$9 && !(var$13 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } $var22 = $var22.$next3; } } $var22 = $var22 === null ? null : $var22.$value1; if ($var22 !== null) { var$13 = $var22.$glbuffer; if (var$13 !== null) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteBuffer(var$13.$obj2); var$13 = $var22.$glarray; nlea_EaglerAdapterImpl2_webgl.deleteVertexArray(var$13.$obj3); $var22.$glbuffer = null; $var22.$glarray = null; } } } return; } $var2 = var$13.$modCount1; $var22 = var$13.$this$00; if ($var2 < $var22.$modCount) break; var$13.$removeIndex = $var1; var$13.$index0 = $var1 + 1 | 0; if (ju_HashSet_contains($var21, $var22.$get($var1))) ju_AbstractList$1_remove(var$13); } $var22 = new ju_ConcurrentModificationException; $var22.$suppressionEnabled = 1; $var22.$writableStackTrace = 1; $rt_throw($var22); } if ($var24 < var$13.$modCount) break; $var2 = $var14 + 1 | 0; $var23 = var$13.$get($var14); if (ju_HashMap_putImpl($var22.$backingMap, $var23, $var22) !== null ? 0 : 1) { $var14 = $var2; continue; } $var14 = $var2; } $var22 = new ju_ConcurrentModificationException; $var22.$suppressionEnabled = 1; $var22.$writableStackTrace = 1; $rt_throw($var22); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var21, var$9, $var16, $var14, $var15, var$13, var$14, $var24, $var8, $var22, var$18, $var9, $var10, $var11, $var12, $var13, $var17, $var18, var$26, var$27, var$28, $var23, $var20, var$31, var$32, var$33, var$34, var$35, $ptr); }, nms_WorldRenderer_setDontDraw = $this => { let $var1, var$2, var$3, var$4, var$5, var$6; $var1 = 0; while ($var1 < 2) { $this.$skipRenderPass.data[$var1] = 1; var$2 = $this.$glRenderList; nleg_EaglerAdapterGL30_$callClinit(); var$3 = nleg_EaglerAdapterGL30_displayListsInitialized; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$2; } if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$2 = var$4.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$2 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$2) { var$6 = var$3.$key; if (var$4 !== var$6 && !(var$4 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$2 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 !== null) { var$4 = var$3.$glbuffer; if (var$4 !== null) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteBuffer(var$4.$obj2); var$4 = var$3.$glarray; nlea_EaglerAdapterImpl2_webgl.deleteVertexArray(var$4.$obj3); var$3.$glbuffer = null; var$3.$glarray = null; } } var$2 = $this.$glRenderList + 1 | 0; var$3 = nleg_EaglerAdapterGL30_displayListsInitialized; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$2; } if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$2 = var$4.$value0; var$5 = var$3.$elementData.data; var$3 = var$5[var$2 & (var$5.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$2) { var$6 = var$3.$key; if (var$4 !== var$6 && !(var$4 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$2 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 !== null) { var$4 = var$3.$glbuffer; if (var$4 !== null) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteBuffer(var$4.$obj2); var$4 = var$3.$glarray; nlea_EaglerAdapterImpl2_webgl.deleteVertexArray(var$4.$obj3); var$3.$glbuffer = null; var$3.$glarray = null; } } $var1 = $var1 + 1 | 0; } $this.$isInFrustum = 0; $this.$isInitialized = 0; }, nms_WorldRenderer_skipAllRenderPasses = $this => { let var$1, var$2; if (!$this.$isInitialized) var$1 = 0; else { var$2 = $this.$skipRenderPass.data; var$1 = var$2[0] && var$2[1] && !$this.$needsUpdate ? 1 : 0; } return var$1; }, nms_WorldRenderer__clinit_ = () => { nlea_Tessellator_$callClinit(); nms_WorldRenderer_tessellator = nlea_Tessellator_instance; nms_WorldRenderer_chunksUpdated = 0; nms_WorldRenderer_chunksGeometryUpdated = 0; }; function nms_EntitySorter() { let a = this; jl_Object.call(a); a.$entityPosX0 = 0.0; a.$entityPosY0 = 0.0; a.$entityPosZ0 = 0.0; } let nms_EntitySorter_sortByDistanceToEntity = ($this, $par1WorldRenderer, $par2WorldRenderer) => { let $var3, $var11, $var5, $var13, $var7, var$8, $var9; $var3 = $par1WorldRenderer.$posXPlus; $var11 = $this.$entityPosX0; $var3 = $var3 + $var11; $var5 = $par1WorldRenderer.$posYPlus; $var13 = $this.$entityPosY0; $var5 = $var5 + $var13; $var7 = $par1WorldRenderer.$posZPlus; var$8 = $this.$entityPosZ0; $var7 = $var7 + var$8; $var9 = $par2WorldRenderer.$posXPlus + $var11; $var11 = $par2WorldRenderer.$posYPlus + $var13; $var13 = $par2WorldRenderer.$posZPlus + var$8; return ($var3 * $var3 + $var5 * $var5 + $var7 * $var7 - ($var9 * $var9 + $var11 * $var11 + $var13 * $var13)) * 1024.0 | 0; }, nms_EntitySorter_compare = ($this, $par1Obj, $par2Obj) => { return nms_EntitySorter_sortByDistanceToEntity($this, $par1Obj, $par2Obj); }, nms_BossStatus = $rt_classWithoutFields(), nms_BossStatus_healthScale = 0.0, nms_BossStatus_statusBarLength = 0, nms_BossStatus_bossName = null, nms_BossStatus_field_82825_d = 0, nms_BossStatus__init_ = $this => { return; }, nms_BossStatus__init_0 = () => { let var_0 = new nms_BossStatus(); nms_BossStatus__init_(var_0); return var_0; }; function nms_DestroyBlockProgress() { let a = this; jl_Object.call(a); a.$miningPlayerEntId = 0; a.$partialBlockX = 0; a.$partialBlockY = 0; a.$partialBlockZ = 0; a.$partialBlockProgress = 0; a.$createdAtCloudUpdateTick = 0; } function nms_EntityFX() { let a = this; nms_Entity.call(a); a.$particleTextureIndexX = 0; a.$particleTextureIndexY = 0; a.$particleTextureJitterX = 0.0; a.$particleTextureJitterY = 0.0; a.$particleAge = 0; a.$particleMaxAge = 0; a.$particleScale = 0.0; a.$particleGravity = 0.0; a.$particleRed = 0.0; a.$particleGreen = 0.0; a.$particleBlue = 0.0; a.$particleAlpha = 0.0; a.$particleIcon = null; } let nms_EntityFX_interpPosX = 0.0, nms_EntityFX_interpPosY = 0.0, nms_EntityFX_interpPosZ = 0.0, nms_EntityFX__init_0 = ($this, $par1World, $par2, $par4, $par6) => { let var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Entity__init_($this, $par1World); $this.$particleAlpha = 1.0; var$5 = 0.20000000298023224; var$6 = 0.20000000298023224; $ptr = 1; case 1: nms_Entity_setSize($this, var$5, var$6); if ($rt_suspending()) { break main; } $this.$yOffset = $this.$height2 / 2.0; nms_Entity_setPosition($this, $par2, $par4, $par6); $this.$lastTickPosX = $par2; $this.$lastTickPosY = $par4; $this.$lastTickPosZ = $par6; $this.$particleBlue = 1.0; $this.$particleGreen = 1.0; $this.$particleRed = 1.0; $par1World = $this.$rand; var$7 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$7; $this.$particleTextureJitterX = Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 * 3.0; var$8 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; $this.$particleTextureJitterY = Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 * 3.0; var$7 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$7; $this.$particleScale = (Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 * 0.5 + 0.5) * 2.0; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$7; $this.$particleMaxAge = 4.0 / (Long_lo(Long_shru(var$7, 24)) / 1.6777216E7 * 0.8999999761581421 + 0.10000000149011612) | 0; $this.$particleAge = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, var$5, var$6, var$7, var$8, $ptr); }, nms_EntityFX__init_2 = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_EntityFX(); nms_EntityFX__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_EntityFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12) => { let $var14, $var15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityFX__init_0($this, $par1World, $par2, $par4, $par6); if ($rt_suspending()) { break main; } $this.$motionX = $par8 + (jl_Math_randomImpl() * 2.0 - 1.0) * 0.4000000059604645; $this.$motionY = $par10 + (jl_Math_randomImpl() * 2.0 - 1.0) * 0.4000000059604645; $this.$motionZ = $par12 + (jl_Math_randomImpl() * 2.0 - 1.0) * 0.4000000059604645; $var14 = (jl_Math_randomImpl() + jl_Math_randomImpl() + 1.0) * 0.15000000596046448; $par2 = $this.$motionX; $par2 = $par2 * $par2; $par4 = $this.$motionY; $par2 = $par2 + $par4 * $par4; $par4 = $this.$motionZ; $var15 = jl_Math_sqrt($par2 + $par4 * $par4); $par2 = $this.$motionX; $par4 = $var15; $par2 = $par2 / $par4; $par6 = $var14; $this.$motionX = $par2 * $par6 * 0.4000000059604645; $this.$motionY = $this.$motionY / $par4 * $par6 * 0.4000000059604645 + 0.10000000149011612; $this.$motionZ = $this.$motionZ / $par4 * $par6 * 0.4000000059604645; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $var14, $var15, $ptr); }, nms_EntityFX__init_1 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6) => { let var_7 = new nms_EntityFX(); nms_EntityFX__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; }, nms_EntityFX_multiplyVelocity = ($this, $par1) => { let var$2, var$3; var$2 = $this.$motionX; var$3 = $par1; $this.$motionX = var$2 * var$3; $this.$motionY = ($this.$motionY - 0.10000000149011612) * var$3 + 0.10000000149011612; $this.$motionZ = $this.$motionZ * var$3; return $this; }, nms_EntityFX_multipleParticleScaleBy = ($this, $par1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = 0.20000000298023224 * $par1; $ptr = 1; case 1: nms_Entity_setSize($this, var$2, var$2); if ($rt_suspending()) { break main; } $this.$particleScale = $this.$particleScale * $par1; return $this; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, $ptr); }, nms_EntityFX_setRBGColorF = ($this, $par1, $par2, $par3) => { $this.$particleRed = $par1; $this.$particleGreen = $par2; $this.$particleBlue = $par3; }, nms_EntityFX_canTriggerWalking = $this => { return 0; }, nms_EntityFX_entityInit = $this => { return; }, nms_EntityFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; $this.$particleAge = var$1 + 1 | 0; if (var$1 >= $this.$particleMaxAge) $this.$isDead = 1; var$2 = $this.$motionY - 0.04 * $this.$particleGravity; $this.$motionY = var$2; var$3 = $this.$motionX; var$4 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$3, var$2, var$4); if ($rt_suspending()) { break main; } var$2 = $this.$motionX * 0.9800000190734863; $this.$motionX = var$2; $this.$motionY = $this.$motionY * 0.9800000190734863; var$3 = $this.$motionZ * 0.9800000190734863; $this.$motionZ = var$3; if ($this.$onGround) { $this.$motionX = var$2 * 0.699999988079071; $this.$motionZ = var$3 * 0.699999988079071; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $var9, $var10, $var11, $var12, var$13, var$14, var$15, var$16, $var13, $var14, $var15, var$20, var$21, $var16, var$23, var$24, var$25; $var8 = $this.$particleTextureIndexX / 16.0; $var9 = $var8 + 0.062437500804662704; $var10 = $this.$particleTextureIndexY / 16.0; $var11 = $var10 + 0.062437500804662704; $var12 = 0.10000000149011612 * $this.$particleScale; var$13 = $this.$particleIcon; if (var$13 !== null) { $var8 = var$13.$getMinU(); $var9 = $this.$particleIcon.$getMaxU(); $var10 = $this.$particleIcon.$getMinV(); $var11 = $this.$particleIcon.$getMaxV(); } var$14 = $this.$prevPosX; var$15 = $this.$posX - var$14; var$16 = $par2; $var13 = var$14 + var$15 * var$16 - nms_EntityFX_interpPosX; var$14 = $this.$prevPosY; $var14 = var$14 + ($this.$posY - var$14) * var$16 - nms_EntityFX_interpPosY; var$14 = $this.$prevPosZ; $var15 = var$14 + ($this.$posZ - var$14) * var$16 - nms_EntityFX_interpPosZ; var$20 = $this.$particleRed * 1.0; var$21 = $this.$particleGreen * 1.0; $var16 = $this.$particleBlue * 1.0; var$23 = $this.$particleAlpha; nlea_Tessellator_setColorRGBA($par1Tessellator, var$20 * 255.0 | 0, var$21 * 255.0 | 0, $var16 * 255.0 | 0, var$23 * 255.0 | 0); $var16 = $par3 * $var12; $par2 = $var13 - $var16; $par6 = $par6 * $var12; var$14 = $par2 - $par6; $par4 = $par4 * $var12; var$24 = $var14 - $par4; var$23 = $par5 * $var12; var$20 = $var15 - var$23; $par7 = $par7 * $var12; var$15 = var$20 - $par7; var$16 = $var9; var$25 = $var11; $par1Tessellator.$hasTexture = 1; $par3 = var$16; $par1Tessellator.$textureU = $par3; $par5 = var$25; $par1Tessellator.$textureV = $par5; nlea_Tessellator_addVertex($par1Tessellator, var$14, var$24, var$15); var$14 = $par2 + $par6; var$15 = $var14 + $par4; var$16 = var$20 + $par7; var$25 = $var10; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = $par3; $par4 = var$25; $par1Tessellator.$textureV = $par4; nlea_Tessellator_addVertex($par1Tessellator, var$14, var$15, var$16); $par2 = $var13 + $var16; var$14 = $par2 + $par6; $par3 = $var15 + var$23; var$16 = $par3 + $par7; var$25 = $var8; $par1Tessellator.$hasTexture = 1; $var14 = var$25; $par1Tessellator.$textureU = $var14; $par1Tessellator.$textureV = $par4; nlea_Tessellator_addVertex($par1Tessellator, var$14, var$15, var$16); var$14 = $par2 - $par6; var$15 = $par3 - $par7; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = $var14; $par1Tessellator.$textureV = $par5; nlea_Tessellator_addVertex($par1Tessellator, var$14, var$24, var$15); }, nms_EntityFX_getFXLayer = $this => { return 0; }, nms_EntityFX_writeEntityToNBT = ($this, $par1NBTTagCompound) => { return; }, nms_EntityFX_setParticleTextureIndex = ($this, $par1) => { $this.$particleTextureIndexX = $par1 % 16 | 0; $this.$particleTextureIndexY = $par1 / 16 | 0; }, nms_EntityFX_canAttackWithItem = $this => { return 0; }, nms_EntityFX_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; var$1 = $this.constructor; if (var$1 === null) var$2 = null; else { var$2 = var$1.classObject; if (var$2 === null) { var$2 = new jl_Class; var$2.$platformClass = var$1; var$1.classObject = var$2; } } var$2 = jl_Class_getSimpleName(var$2); var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; var$6 = $this.$particleRed; var$7 = $this.$particleGreen; var$8 = $this.$particleBlue; var$9 = $this.$particleAlpha; var$10 = $this.$particleAge; var$1 = new jl_StringBuilder; var$1.$buffer = $rt_createCharArray(16); var$11 = var$1.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, var$11, var$2); jl_AbstractStringBuilder_insert(var$1, var$1.$length0, $rt_s(3233)); jl_AbstractStringBuilder_insert4(var$1, var$1.$length0, var$3); var$11 = var$1.$length0; jl_AbstractStringBuilder_insertSpace(var$1, var$11, var$11 + 1 | 0); var$1.$buffer.data[var$11] = 44; jl_AbstractStringBuilder_insert4(var$1, var$1.$length0, var$4); var$11 = var$1.$length0; jl_AbstractStringBuilder_insertSpace(var$1, var$11, var$11 + 1 | 0); var$1.$buffer.data[var$11] = 44; jl_AbstractStringBuilder_insert4(var$1, var$1.$length0, var$5); jl_AbstractStringBuilder_insert(var$1, var$1.$length0, $rt_s(3234)); jl_AbstractStringBuilder_insert5(var$1, var$1.$length0, var$6); var$12 = var$1.$length0; jl_AbstractStringBuilder_insertSpace(var$1, var$12, var$12 + 1 | 0); var$1.$buffer.data[var$12] = 44; jl_AbstractStringBuilder_insert5(var$1, var$1.$length0, var$7); var$12 = var$1.$length0; jl_AbstractStringBuilder_insertSpace(var$1, var$12, var$12 + 1 | 0); var$1.$buffer.data[var$12] = 44; jl_AbstractStringBuilder_insert5(var$1, var$1.$length0, var$8); var$11 = var$1.$length0; jl_AbstractStringBuilder_insertSpace(var$1, var$11, var$11 + 1 | 0); var$1.$buffer.data[var$11] = 44; jl_AbstractStringBuilder_insert5(var$1, var$1.$length0, var$9); jl_AbstractStringBuilder_insert(var$1, var$1.$length0, $rt_s(3235)); jl_AbstractStringBuilder_insert0(var$1, var$1.$length0, var$10, 10); var$2 = new jl_String; var$13 = var$1.$buffer; var$14 = var$13.data; var$12 = var$1.$length0; var$10 = var$14.length; if (var$12 >= 0 && var$12 <= (var$10 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$13.data, 0, var$12); return var$2; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }; function nle_GuiScreenSingleplayerLoading() { let a = this; nms_GuiScreen.call(a); a.$menu = null; a.$killTask = null; a.$message0 = null; a.$checkTaskComplete = null; a.$taskKill = null; a.$lastStatus = null; a.$currentStatus = null; a.$onException = null; a.$areYouSure = 0; a.$startStartTime0 = Long_ZERO; } let nle_GuiScreenSingleplayerLoading_defaultTerminateAction = null, nle_GuiScreenSingleplayerLoading_defaultExceptionAction = null, nle_GuiScreenSingleplayerLoading_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; if (Long_eq($this.$startStartTime0, Long_ZERO)) { nlea_EaglerAdapterImpl2_$callClinit(); $this.$startStartTime0 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); } $this.$areYouSure = 0; var$1 = $this.$buttonList; var$2 = new nms_GuiButton; var$3 = ($this.$width / 2 | 0) - 100 | 0; var$4 = ($this.$height / 3 | 0) + 50 | 0; nms_StringTranslate_$callClinit(); var$5 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $rt_s(3236)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 0; var$2.$xPosition = var$3; var$2.$yPosition = var$4; var$2.$width0 = 200; var$2.$height0 = 20; var$2.$displayString = var$5; $this.$killTask = var$2; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; $this.$killTask.$enabled = 0; }, nle_GuiScreenSingleplayerLoading_doesGuiPauseGame = $this => { return 0; }, nle_GuiScreenSingleplayerLoading_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, $top, $millis, $str, $dots, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $prog, $elapsed, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$elapsed = $thread.pop();$prog = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$dots = $thread.pop();$str = $thread.pop();$millis = $thread.pop();$top = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $top = $this.$height / 3 | 0; nlea_EaglerAdapterImpl2_$callClinit(); $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); nms_StringTranslate_$callClinit(); $str = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $this.$currentStatus); $dots = Long_rem(Long_div($millis, Long_fromInt(500)), Long_fromInt(4)); var$9 = $this.$fontRenderer; var$10 = Long_le($dots, Long_ZERO) ? $rt_s(18) : $rt_s(129); var$11 = Long_le($dots, Long_fromInt(1)) ? $rt_s(18) : $rt_s(129); var$12 = Long_le($dots, Long_fromInt(2)) ? $rt_s(18) : $rt_s(129); var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, $str === null ? $rt_s(1) : $str); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, var$10); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, var$11); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, var$12); var$10 = new jl_String; var$14 = var$13.$buffer; var$15 = var$14.data; var$16 = var$13.$length0; var$17 = var$15.length; if (var$16 >= 0 && var$16 <= (var$17 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$14.data, 0, var$16); var$4 = ($this.$width - nms_FontRenderer_getStringWidth($this.$fontRenderer, $str) | 0) / 2 | 0; var$16 = $top + 10 | 0; var$17 = 16777215; var$9.$randomStyle = 0; var$9.$boldStyle = 0; var$9.$italicStyle = 0; var$9.$underlineStyle = 0; var$9.$strikethroughStyle = 0; var$18 = var$4 + 1 | 0; var$19 = var$16 + 1 | 0; var$20 = 1; $ptr = 2; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$13); $rt_throw(var$13); case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } $top = $this.$height / 3 | 0; nlea_EaglerAdapterImpl2_$callClinit(); $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); nms_StringTranslate_$callClinit(); $str = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $this.$currentStatus); $dots = Long_rem(Long_div($millis, Long_fromInt(500)), Long_fromInt(4)); var$9 = $this.$fontRenderer; var$10 = Long_le($dots, Long_ZERO) ? $rt_s(18) : $rt_s(129); var$11 = Long_le($dots, Long_fromInt(1)) ? $rt_s(18) : $rt_s(129); var$12 = Long_le($dots, Long_fromInt(2)) ? $rt_s(18) : $rt_s(129); var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, $str === null ? $rt_s(1) : $str); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, var$10); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, var$11); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, var$12); var$10 = new jl_String; var$14 = var$13.$buffer; var$15 = var$14.data; var$16 = var$13.$length0; var$17 = var$15.length; if (var$16 >= 0 && var$16 <= (var$17 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$14.data, 0, var$16); var$4 = ($this.$width - nms_FontRenderer_getStringWidth($this.$fontRenderer, $str) | 0) / 2 | 0; var$16 = $top + 10 | 0; var$17 = 16777215; var$9.$randomStyle = 0; var$9.$boldStyle = 0; var$9.$italicStyle = 0; var$9.$underlineStyle = 0; var$9.$strikethroughStyle = 0; var$18 = var$4 + 1 | 0; var$19 = var$16 + 1 | 0; var$20 = 1; $ptr = 2; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$13); $rt_throw(var$13); case 2: $tmp = nms_FontRenderer_renderString(var$9, var$10, var$18, var$19, var$17, var$20); if ($rt_suspending()) { break main; } var$19 = $tmp; var$18 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$9, var$10, var$4, var$16, var$17, var$18); if ($rt_suspending()) { break main; } var$4 = $tmp; if ($this.$areYouSure > 0) { var$13 = $this.$fontRenderer; $str = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $rt_s(3237)); var$4 = $this.$width / 2 | 0; var$16 = $top + 25 | 0; $top = 16746632; var$4 = var$4 - (nms_FontRenderer_getStringWidth(var$13, $str) / 2 | 0) | 0; var$13.$randomStyle = 0; var$13.$boldStyle = 0; var$13.$italicStyle = 0; var$13.$underlineStyle = 0; var$13.$strikethroughStyle = 0; var$17 = var$4 + 1 | 0; var$18 = var$16 + 1 | 0; var$19 = 1; $ptr = 4; continue main; } $prog = nle_IntegratedServer_worldStatusProgress; var$13 = $this.$currentStatus; $str = $this.$lastStatus; if (var$13 === $str) var$4 = 1; else if (!($str instanceof jl_String)) var$4 = 0; else { $str = $str; var$4 = var$13.$nativeString !== $str.$nativeString ? 0 : 1; } if (var$4 && $prog > 0.009999999776482582) { a: { var$9 = $this.$fontRenderer; if ($prog <= 1.0) { var$4 = $prog * 100.0 | 0; $str = new jl_StringBuilder; $str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($str, $str.$length0, var$4, 10); var$16 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$16, var$16 + 1 | 0); var$14 = $str.$buffer; var$15 = var$14.data; var$15[var$16] = 37; var$13 = new jl_String; var$16 = $str.$length0; var$17 = var$15.length; if (var$16 >= 0 && var$16 <= (var$17 - 0 | 0)) { var$13.$nativeString = $rt_charArrayToString(var$14.data, 0, var$16); break a; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$13); $rt_throw(var$13); } b: { if ($prog > 1000000.0) { var$4 = $prog / 1000000.0 | 0; $str = new jl_StringBuilder; $str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($str, $str.$length0, var$4, 10); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(3238)); var$13 = new jl_String; var$14 = $str.$buffer; var$15 = var$14.data; var$16 = $str.$length0; var$17 = var$15.length; if (var$16 >= 0 && var$16 <= (var$17 - 0 | 0)) { var$13.$nativeString = $rt_charArrayToString(var$14.data, 0, var$16); break b; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$13); $rt_throw(var$13); } if ($prog <= 1000.0) { var$4 = $prog | 0; $str = new jl_StringBuilder; $str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($str, $str.$length0, var$4, 10); var$16 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$16, var$16 + 1 | 0); var$14 = $str.$buffer; var$15 = var$14.data; var$15[var$16] = 66; var$13 = new jl_String; var$16 = $str.$length0; var$17 = var$15.length; if (var$16 >= 0 && var$16 <= (var$17 - 0 | 0)) { var$13.$nativeString = $rt_charArrayToString(var$14.data, 0, var$16); break b; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$13); $rt_throw(var$13); } var$4 = $prog / 1000.0 | 0; $str = new jl_StringBuilder; $str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($str, $str.$length0, var$4, 10); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(3239)); var$13 = new jl_String; var$14 = $str.$buffer; var$15 = var$14.data; var$16 = $str.$length0; var$17 = var$15.length; if (var$16 >= 0 && var$16 <= (var$17 - 0 | 0)) var$13.$nativeString = $rt_charArrayToString(var$14.data, 0, var$16); else { var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$13); $rt_throw(var$13); } } $str = new jl_StringBuilder; $str.$buffer = $rt_createCharArray(16); var$16 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$16, var$16 + 1 | 0); $str.$buffer.data[var$16] = 40; jl_AbstractStringBuilder_insert($str, $str.$length0, var$13); var$16 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$16, var$16 + 1 | 0); var$14 = $str.$buffer; var$15 = var$14.data; var$15[var$16] = 41; var$13 = new jl_String; var$16 = $str.$length0; var$17 = var$15.length; if (var$16 >= 0 && var$16 <= (var$17 - 0 | 0)) var$13.$nativeString = $rt_charArrayToString(var$14.data, 0, var$16); else { var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$13); $rt_throw(var$13); } } var$4 = $this.$width / 2 | 0; var$16 = $top + 25 | 0; $top = 16777215; var$4 = var$4 - (nms_FontRenderer_getStringWidth(var$9, var$13) / 2 | 0) | 0; var$9.$randomStyle = 0; var$9.$boldStyle = 0; var$9.$italicStyle = 0; var$9.$underlineStyle = 0; var$9.$strikethroughStyle = 0; var$17 = var$4 + 1 | 0; var$18 = var$16 + 1 | 0; var$19 = 1; $ptr = 9; continue main; } $elapsed = Long_div(Long_sub($millis, $this.$startStartTime0), Long_fromInt(1000)); if (Long_le($elapsed, Long_fromInt(3))) { var$4 = 0; var$13 = $this.$buttonList; var$16 = $rt_compare(var$4, var$13.$size0); if (var$16 >= 0) return; if (var$4 >= 0 && var$16 < 0) { var$13 = var$13.$array.data[var$4]; $str = $this.$mc; $ptr = 8; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); } var$9 = $this.$fontRenderer; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$16 = var$13.$length0; jl_AbstractStringBuilder_insertSpace(var$13, var$16, var$16 + 1 | 0); var$13.$buffer.data[var$16] = 40; jl_AbstractStringBuilder_insert2(var$13, var$13.$length0, $elapsed, 10); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, $rt_s(3240)); $str = new jl_String; var$14 = var$13.$buffer; var$15 = var$14.data; var$16 = var$13.$length0; var$17 = var$15.length; if (var$16 >= 0 && var$16 <= (var$17 - 0 | 0)) { $str.$nativeString = $rt_charArrayToString(var$14.data, 0, var$16); var$19 = $this.$width / 2 | 0; var$17 = $top + 25 | 0; var$18 = 16777215; var$4 = var$19 - (nms_FontRenderer_getStringWidth(var$9, $str) / 2 | 0) | 0; var$9.$randomStyle = 0; var$9.$boldStyle = 0; var$9.$italicStyle = 0; var$9.$underlineStyle = 0; var$9.$strikethroughStyle = 0; var$16 = var$4 + 1 | 0; $top = var$17 + 1 | 0; var$19 = 1; $ptr = 6; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$13); $rt_throw(var$13); case 4: $tmp = nms_FontRenderer_renderString(var$13, $str, var$17, var$18, $top, var$19); if ($rt_suspending()) { break main; } var$18 = $tmp; var$17 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$13, $str, var$4, var$16, $top, var$17); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$13 = $this.$buttonList; var$16 = $rt_compare(var$4, var$13.$size0); if (var$16 >= 0) return; if (var$4 >= 0 && var$16 < 0) { var$13 = var$13.$array.data[var$4]; $str = $this.$mc; $ptr = 8; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); case 6: $tmp = nms_FontRenderer_renderString(var$9, $str, var$16, $top, var$18, var$19); if ($rt_suspending()) { break main; } $top = $tmp; var$16 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$9, $str, var$4, var$17, var$18, var$16); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$13 = $this.$buttonList; var$16 = $rt_compare(var$4, var$13.$size0); if (var$16 >= 0) return; if (var$4 >= 0 && var$16 < 0) { var$13 = var$13.$array.data[var$4]; $str = $this.$mc; $ptr = 8; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); case 8: var$13.$drawButton($str, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$13 = $this.$buttonList; var$16 = $rt_compare(var$4, var$13.$size0); if (var$16 >= 0) return; if (var$4 >= 0 && var$16 < 0) { var$13 = var$13.$array.data[var$4]; $str = $this.$mc; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); case 9: $tmp = nms_FontRenderer_renderString(var$9, var$13, var$17, var$18, $top, var$19); if ($rt_suspending()) { break main; } var$18 = $tmp; var$17 = 0; $ptr = 10; case 10: $tmp = nms_FontRenderer_renderString(var$9, var$13, var$4, var$16, $top, var$17); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$13 = $this.$buttonList; var$16 = $rt_compare(var$4, var$13.$size0); if (var$16 >= 0) return; if (var$4 >= 0 && var$16 < 0) { var$13 = var$13.$array.data[var$4]; $str = $this.$mc; $ptr = 8; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $top, $millis, $str, $dots, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $prog, $elapsed, $ptr); }, nle_GuiScreenSingleplayerLoading_updateScreen = $this => { let var$1, $str, var$3, var$4, $pk, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$pk = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$str = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); if (Long_gt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$startStartTime0), Long_fromInt(6000))) $this.$killTask.$enabled = 1; var$1 = nle_IntegratedServer_callFailed; nle_IntegratedServer_callFailed = 0; if (!var$1) { if (!$this.$checkTaskComplete.$getAsBoolean()) { $str = nle_IntegratedServer_worldStatusString; var$3 = $this.$lastStatus; if (var$3 === $str) var$1 = 1; else if (!($str instanceof jl_String)) var$1 = 0; else { var$4 = $str; var$1 = var$3.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$1) { $this.$lastStatus = $str; $this.$currentStatus = $str; } var$3 = $this.$killTask; nms_StringTranslate_$callClinit(); var$3.$displayString = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $this.$areYouSure <= 0 ? $rt_s(3236) : $rt_s(3241)); var$1 = $this.$areYouSure; if (var$1 > 0) $this.$areYouSure = var$1 - 1 | 0; return; } var$3 = $this.$mc; var$4 = $this.$menu; $ptr = 1; continue main; } $pk = nle_IntegratedServer_worldStatusErrors(); if ($pk !== null) { var$6 = $pk.data; var$7 = nms_Minecraft_theMinecraft; var$3 = $this.$menu; var$8 = $this.$message0; var$1 = var$6.length - 1 | 0; while (var$1 >= 0) { var$4 = new nle_GuiScreenSingleplayerException; $str = var$6[var$1]; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$9 = new ju_ArrayList; ju_AbstractList__init_(var$9); var$9.$array = $rt_createArray(jl_Object, 10); var$4.$buttonList = var$9; var$4.$allowUserInput = 0; var$4.$selectedButton = null; var$4.$eventButton = 0; var$4.$field_85043_c = Long_ZERO; var$4.$field_92018_d = 0; var$4.$mainmenu0 = var$3; var$4.$action1 = var$8; var$4.$exception = $str; var$1 = var$1 + (-1) | 0; var$3 = var$4; } $ptr = 2; continue main; } $pk = $rt_createArray(nlesi_IPCPacket15ThrowException, 1); var$3 = new nlesi_IPCPacket15ThrowException; var$4 = nle_IntegratedState_getStateName(nle_IntegratedServer_statusState); $str = new jl_StringBuilder; $str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(3242)); var$10 = $str.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert($str, var$10, var$4); var$11 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$11, var$11 + 1 | 0); var$6 = $str.$buffer; var$12 = var$6.data; var$12[var$11] = 39; var$9 = new jl_String; var$11 = $str.$length0; var$13 = var$12.length; if (var$11 >= 0 && var$11 <= (var$13 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$6.data, 0, var$11); var$6 = $rt_createArray(jl_String, 0); var$12 = var$6.data; var$4 = new ju_ArrayList; $str = new ju_Arrays$ArrayAsList; $str.$array2 = var$6; var$10 = var$12.length; if (var$10 < 0) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$4.$array = $rt_createArray(jl_Object, var$10); var$14 = 0; var$15 = $str.$modCount; $str.$size(); var$10 = 0; while (true) { var$6 = var$4.$array.data; var$11 = var$6.length; if (var$10 >= var$11) { $pk = $pk.data; var$4.$size0 = var$11; var$3.$stackTrace = var$4; var$3.$errorMessage0 = var$9; $pk[0] = var$3; var$8 = nms_Minecraft_theMinecraft; var$3 = $this.$menu; var$4 = $this.$message0; var$10 = $pk.length - 1 | 0; while (var$10 >= 0) { $str = new nle_GuiScreenSingleplayerException; var$9 = $pk[var$10]; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$7 = new ju_ArrayList; ju_AbstractList__init_(var$7); var$7.$array = $rt_createArray(jl_Object, 10); $str.$buttonList = var$7; $str.$allowUserInput = 0; $str.$selectedButton = null; $str.$eventButton = 0; $str.$field_85043_c = Long_ZERO; $str.$field_92018_d = 0; $str.$mainmenu0 = var$3; $str.$action1 = var$4; $str.$exception = var$9; var$10 = var$10 + (-1) | 0; var$3 = $str; } $ptr = 3; continue main; } if (var$15 < $str.$modCount) break; var$13 = var$14 + 1 | 0; var$6[var$10] = $str.$get(var$14); var$10 = var$10 + 1 | 0; var$14 = var$13; } var$3 = new ju_ConcurrentModificationException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); case 1: nms_Minecraft_displayGuiScreen(var$3, var$4); if ($rt_suspending()) { break main; } $str = nle_IntegratedServer_worldStatusString; var$3 = $this.$lastStatus; if (var$3 === $str) var$1 = 1; else if (!($str instanceof jl_String)) var$1 = 0; else { var$4 = $str; var$1 = var$3.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$1) { $this.$lastStatus = $str; $this.$currentStatus = $str; } var$3 = $this.$killTask; nms_StringTranslate_$callClinit(); var$3.$displayString = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $this.$areYouSure <= 0 ? $rt_s(3236) : $rt_s(3241)); var$1 = $this.$areYouSure; if (var$1 > 0) $this.$areYouSure = var$1 - 1 | 0; return; case 2: nms_Minecraft_displayGuiScreen(var$7, var$3); if ($rt_suspending()) { break main; } return; case 3: nms_Minecraft_displayGuiScreen(var$8, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $str, var$3, var$4, $pk, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nle_GuiScreenSingleplayerLoading_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1GuiButton.$id0) { var$2 = $this.$areYouSure; if (var$2 <= 0) $this.$areYouSure = 80; else if (var$2 <= 65) { $par1GuiButton = nle_IntegratedServer_openConnections; if ($par1GuiButton.$elementCount > 0) { $par1GuiButton.$elementCount = 0; var$3 = $par1GuiButton.$elementData.data; var$4 = null; var$2 = 0; var$5 = var$3.length; if (var$2 > var$5) { $par1GuiButton = new jl_IllegalArgumentException; jl_Exception__init_($par1GuiButton); $rt_throw($par1GuiButton); } while (var$2 < var$5) { var$6 = var$2 + 1 | 0; var$3[var$2] = var$4; var$2 = var$6; } $par1GuiButton.$modCount0 = $par1GuiButton.$modCount0 + 1 | 0; } $par1GuiButton = nle_IntegratedServer_exceptions; $par1GuiButton.$firstEntry = null; $par1GuiButton.$lastEntry = null; $par1GuiButton.$size2 = 0; $par1GuiButton.$modCount = $par1GuiButton.$modCount + 1 | 0; nle_IntegratedServer_statusState = (-2); nlea_EaglerAdapterImpl2_$callClinit(); $par1GuiButton = nlea_EaglerAdapterImpl2_server; if ($par1GuiButton !== null) { $par1GuiButton.terminate(); nlea_EaglerAdapterImpl2_server = null; nlea_EaglerAdapterImpl2_serverAlive = 0; } var$4 = nms_Minecraft_theMinecraft; $par1GuiButton = nms_GuiMainMenu__init_(); $ptr = 1; continue main; } } return; case 1: nms_Minecraft_displayGuiScreen(var$4, $par1GuiButton); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, var$5, var$6, $ptr); }, nle_GuiScreenSingleplayerLoading__clinit_ = () => { nle_GuiScreenSingleplayerLoading_defaultTerminateAction = new nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_0; nle_GuiScreenSingleplayerLoading_defaultExceptionAction = new nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_1; }, juf_BooleanSupplier = $rt_classWithoutFields(0), nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0 = $rt_classWithoutFields(), nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0__init_ = var$0 => { return; }, nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0__init_0 = () => { let var_0 = new nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0(); nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0__init_(var_0); return var_0; }, nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0_getAsBoolean = var$0 => { return nle_IntegratedServer_statusState ? 0 : 1; }; function otcit_DateTimeZoneBuilder$Transition() { let a = this; jl_Object.call(a); a.$iMillis = Long_ZERO; a.$iWallOffset = 0; a.$iStandardOffset0 = 0; } function jnci_BufferedEncoder() { let a = this; jnc_CharsetEncoder.call(a); a.$inArray0 = null; a.$outArray0 = null; } let jnci_BufferedEncoder_encodeLoop = ($this, $in, $out) => { let $inArray, $inPos, $inSize, $outArray, $outSize, var$8, $i, var$10, $outPos, $outSize_0, $result, $controller; $inArray = $this.$inArray0; $inPos = 0; $inSize = 0; $outArray = $this.$outArray0; a: { while (true) { if (($inPos + 32 | 0) > $inSize) { $outSize = $in.$position0; var$8 = $in.$limit0; if ($outSize >= var$8 ? 0 : 1) { $i = $inPos; while ($i < $inSize) { var$10 = $inArray.data; var$10[$i - $inPos | 0] = var$10[$i]; $i = $i + 1 | 0; } var$10 = $inArray.data; $i = $inSize - $inPos | 0; $outPos = (var$8 - $outSize | 0) + $i | 0; $inSize = var$10.length; if ($outPos < $inSize) $inSize = $outPos; jn_CharBuffer_get($in, $inArray, $i, $inSize - $i | 0); $inPos = 0; } } $i = $out.$position0; $outSize_0 = $out.$limit0; if (!($i >= $outSize_0 ? 0 : 1)) { $i = $in.$position0 >= $in.$limit0 ? 0 : 1; $result = !$i && $inPos >= $inSize ? jnc_CoderResult_UNDERFLOW : jnc_CoderResult_OVERFLOW; break a; } var$10 = $outArray.data; $outSize = $outSize_0 - $i | 0; $outSize_0 = var$10.length; if ($outSize < $outSize_0) $outSize_0 = $outSize; $controller = new jnci_BufferedEncoder$Controller; $controller.$in2 = $in; $controller.$out2 = $out; $result = $this.$arrayEncode($inArray, $inPos, $inSize, $outArray, 0, $outSize_0, $controller); $inPos = $controller.$inPosition; $outPos = $controller.$outPosition0; if ($result === null) { $i = $in.$position0 >= $in.$limit0 ? 0 : 1; if (!$i && $inPos >= $inSize) $result = jnc_CoderResult_UNDERFLOW; else if (!($out.$position0 >= $out.$limit0 ? 0 : 1) && $inPos >= $inSize) $result = jnc_CoderResult_OVERFLOW; } jn_ByteBuffer_put($out, $outArray, 0, $outPos); if ($result !== null) break; } } jn_Buffer_position($in, $in.$position0 - ($inSize - $inPos | 0) | 0); return $result; }, jnci_UTF8Encoder = $rt_classWithoutFields(jnci_BufferedEncoder), jnci_UTF8Encoder_arrayEncode = ($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) => { let $result, var$9, var$10, $ch, $low, var$13, $codePoint, var$15; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) { var$9 = $inPos; break a; } var$10 = $inArray.data; var$9 = $inPos + 1 | 0; $ch = var$10[$inPos]; if ($ch < 128) { var$10 = $outArray.data; $low = $outPos + 1 | 0; var$10[$outPos] = $ch << 24 >> 24; } else if ($ch < 2048) { if (($outPos + 2 | 0) > $outSize) { var$9 = var$9 + (-1) | 0; var$13 = $controller.$out2; if ((var$13.$limit0 - var$13.$position0 | 0) < 2 ? 0 : 1) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$10 = $outArray.data; $inPos = $outPos + 1 | 0; var$10[$outPos] = (192 | $ch >> 6) << 24 >> 24; $low = $inPos + 1 | 0; var$10[$inPos] = (128 | $ch & 63) << 24 >> 24; } else { $codePoint = $ch & 64512; $low = $rt_compare($codePoint, 55296); $inPos = $low ? 0 : 1; if (!(!$inPos && !($codePoint != 56320 ? 0 : 1) ? 0 : 1)) { if (($outPos + 3 | 0) > $outSize) { var$9 = var$9 + (-1) | 0; var$13 = $controller.$out2; if ((var$13.$limit0 - var$13.$position0 | 0) < 3 ? 0 : 1) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$10 = $outArray.data; $inPos = $outPos + 1 | 0; var$10[$outPos] = (224 | $ch >> 12) << 24 >> 24; $outPos = $inPos + 1 | 0; var$10[$inPos] = (128 | $ch >> 6 & 63) << 24 >> 24; $low = $outPos + 1 | 0; var$10[$outPos] = (128 | $ch & 63) << 24 >> 24; } else { if (!($low ? 0 : 1)) { $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; break a; } if (var$9 >= $inSize) { var$13 = $controller.$in2; if (var$13.$position0 >= var$13.$limit0 ? 0 : 1) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } var$15 = var$9 + 1 | 0; $low = var$10[var$9]; if (!(($low & 64512) != 56320 ? 0 : 1)) { var$9 = var$15 + (-2) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; break a; } if (($outPos + 4 | 0) > $outSize) { var$9 = var$15 + (-2) | 0; var$13 = $controller.$out2; if ((var$13.$limit0 - var$13.$position0 | 0) < 4 ? 0 : 1) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$10 = $outArray.data; $codePoint = (($ch & 1023) << 10 | $low & 1023) + 65536 | 0; $low = $outPos + 1 | 0; var$10[$outPos] = (240 | $codePoint >> 18) << 24 >> 24; $inPos = $low + 1 | 0; var$10[$low] = (128 | $codePoint >> 12 & 63) << 24 >> 24; $outPos = $inPos + 1 | 0; var$10[$inPos] = (128 | $codePoint >> 6 & 63) << 24 >> 24; $low = $outPos + 1 | 0; var$10[$outPos] = (128 | $codePoint & 63) << 24 >> 24; var$9 = var$15; } } $inPos = var$9; $outPos = $low; } var$9 = $inPos; } $controller.$inPosition = var$9; $controller.$outPosition0 = $outPos; return $result; }, jnci_AsciiEncoder = $rt_classWithoutFields(jnci_BufferedEncoder), jnci_AsciiEncoder_arrayEncode = ($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) => { let $result, var$9, var$10, $c, $next, var$13; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) { var$9 = $inPos; break a; } var$10 = $inArray.data; var$9 = $inPos + 1 | 0; $c = var$10[$inPos]; $next = $c & 64512; if ($next != 55296 ? 0 : 1) { if (var$9 >= $inSize) { var$13 = $controller.$in2; if (!((var$13.$limit0 - var$13.$position0 | 0) < 2 ? 0 : 1)) { $result = jnc_CoderResult_UNDERFLOW; break a; } var$9 = var$9 + (-1) | 0; break a; } if (!((var$10[var$9] & 64512) != 56320 ? 0 : 1)) { $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; break a; } var$9 = var$9 + (-1) | 0; $result = new jnc_CoderResult; $result.$kind = 3; $result.$length1 = 2; break a; } if ($next != 56320 ? 0 : 1) { $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; } if ($c >= 128) { $result = new jnc_CoderResult; $result.$kind = 3; $result.$length1 = 1; var$9 = var$9 + (-1) | 0; break a; } var$10 = $outArray.data; $next = $outPos + 1 | 0; var$10[$outPos] = $c << 24 >> 24; $inPos = var$9; $outPos = $next; } var$9 = $inPos; } $controller.$inPosition = var$9; $controller.$outPosition0 = $outPos; return $result; }, jnci_Iso8859Encoder = $rt_classWithoutFields(jnci_BufferedEncoder), jnci_Iso8859Encoder_arrayEncode = ($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) => { let $result, var$9, var$10, $c, $next, var$13; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) { var$9 = $inPos; break a; } var$10 = $inArray.data; var$9 = $inPos + 1 | 0; $c = var$10[$inPos]; $next = $c & 64512; if ($next != 55296 ? 0 : 1) { if (var$9 == $inSize) { var$13 = $controller.$in2; if (!((var$13.$limit0 - var$13.$position0 | 0) < 2 ? 0 : 1)) { $result = jnc_CoderResult_UNDERFLOW; break a; } var$9 = var$9 + (-1) | 0; break a; } if (!((var$10[var$9] & 64512) != 56320 ? 0 : 1)) { $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; break a; } var$9 = var$9 + (-1) | 0; $result = new jnc_CoderResult; $result.$kind = 3; $result.$length1 = 2; break a; } if ($next != 56320 ? 0 : 1) { $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; } if ($c >= 256) { var$9 = var$9 + (-1) | 0; $result = new jnc_CoderResult; $result.$kind = 3; $result.$length1 = 1; break a; } var$10 = $outArray.data; $next = $outPos + 1 | 0; var$10[$outPos] = $c << 24 >> 24; $inPos = var$9; $outPos = $next; } var$9 = $inPos; } $controller.$inPosition = var$9; $controller.$outPosition0 = $outPos; return $result; }; function jnci_UTF16Encoder() { let a = this; jnci_BufferedEncoder.call(a); a.$bom0 = 0; a.$littleEndian1 = 0; } let jnci_UTF16Encoder_arrayEncode = ($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) => { let var$8, var$9; if ($this.$bom0) { if (($outPos + 2 | 0) > $outSize) { $controller = $controller.$out2; return !($controller.$position0 >= $controller.$limit0 ? 0 : 1) ? jnc_CoderResult_OVERFLOW : null; } $this.$bom0 = 0; if (!$this.$littleEndian1) { var$8 = $outArray.data; var$9 = $outPos + 1 | 0; var$8[$outPos] = (-2); $outPos = var$9 + 1 | 0; var$8[var$9] = (-1); } else { var$8 = $outArray.data; var$9 = $outPos + 1 | 0; var$8[$outPos] = (-1); $outPos = var$9 + 1 | 0; var$8[var$9] = (-2); } } return !$this.$littleEndian1 ? jnci_UTF16Encoder_arrayEncodeBE($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) : jnci_UTF16Encoder_arrayEncodeLE($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller); }, jnci_UTF16Encoder_arrayEncodeLE = ($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) => { let $result, var$9, var$10, $c, var$12, $next; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) break a; var$9 = $inArray.data; var$10 = $inPos + 1 | 0; $c = var$9[$inPos]; $inPos = $c & 64512; if (!($inPos != 55296 ? 0 : 1)) { if ($inPos != 56320 ? 0 : 1) { $inPos = var$10 + (-1) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; break a; } if (($outPos + 2 | 0) > $outSize) { $inPos = var$10 + (-1) | 0; var$12 = $controller.$out2; if ((var$12.$limit0 - var$12.$position0 | 0) < 2 ? 0 : 1) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$9 = $outArray.data; $inPos = $outPos + 1 | 0; var$9[$outPos] = ($c & 255) << 24 >> 24; $outPos = $inPos + 1 | 0; var$9[$inPos] = $c >> 8 << 24 >> 24; $inPos = var$10; } else { if (var$10 == $inSize) { $inPos = var$10 + (-1) | 0; var$12 = $controller.$in2; if ((var$12.$limit0 - var$12.$position0 | 0) < 2 ? 0 : 1) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } $inPos = var$10 + 1 | 0; $next = var$9[var$10]; if (!(($next & 64512) != 56320 ? 0 : 1)) { $inPos = $inPos + (-2) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; break a; } if (($outPos + 4 | 0) > $outSize) { $inPos = $inPos + (-2) | 0; var$12 = $controller.$out2; if ((var$12.$limit0 - var$12.$position0 | 0) < 4 ? 0 : 1) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$9 = $outArray.data; var$10 = $outPos + 1 | 0; var$9[$outPos] = ($c & 255) << 24 >> 24; $outPos = var$10 + 1 | 0; var$9[var$10] = $c >> 8 << 24 >> 24; var$10 = $outPos + 1 | 0; var$9[$outPos] = ($next & 255) << 24 >> 24; $outPos = var$10 + 1 | 0; var$9[var$10] = $next >> 8 << 24 >> 24; } } } $controller.$inPosition = $inPos; $controller.$outPosition0 = $outPos; return $result; }, jnci_UTF16Encoder_arrayEncodeBE = ($this, $inArray, $inPos, $inSize, $outArray, $outPos, $outSize, $controller) => { let $result, var$9, var$10, $c, var$12, $next; $result = null; a: { while ($inPos < $inSize) { if ($outPos >= $outSize) break a; var$9 = $inArray.data; var$10 = $inPos + 1 | 0; $c = var$9[$inPos]; $inPos = $c & 64512; if (!($inPos != 55296 ? 0 : 1)) { if ($inPos != 56320 ? 0 : 1) { $inPos = var$10 + (-1) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; break a; } if (($outPos + 2 | 0) > $outSize) { $inPos = var$10 + (-1) | 0; var$12 = $controller.$out2; if ((var$12.$limit0 - var$12.$position0 | 0) < 2 ? 0 : 1) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$9 = $outArray.data; $inPos = $outPos + 1 | 0; var$9[$outPos] = $c >> 8 << 24 >> 24; $outPos = $inPos + 1 | 0; var$9[$inPos] = ($c & 255) << 24 >> 24; $inPos = var$10; } else { if (var$10 == $inSize) { $inPos = var$10 + (-1) | 0; var$12 = $controller.$in2; if ((var$12.$limit0 - var$12.$position0 | 0) < 2 ? 0 : 1) break a; $result = jnc_CoderResult_UNDERFLOW; break a; } $inPos = var$10 + 1 | 0; $next = var$9[var$10]; if (!(($next & 64512) != 56320 ? 0 : 1)) { $inPos = $inPos + (-2) | 0; $result = new jnc_CoderResult; $result.$kind = 2; $result.$length1 = 1; break a; } if (($outPos + 4 | 0) > $outSize) { $inPos = $inPos + (-2) | 0; var$12 = $controller.$out2; if ((var$12.$limit0 - var$12.$position0 | 0) < 4 ? 0 : 1) break a; $result = jnc_CoderResult_OVERFLOW; break a; } var$9 = $outArray.data; var$10 = $outPos + 1 | 0; var$9[$outPos] = $c >> 8 << 24 >> 24; $outPos = var$10 + 1 | 0; var$9[var$10] = ($c & 255) << 24 >> 24; var$10 = $outPos + 1 | 0; var$9[$outPos] = $next >> 8 << 24 >> 24; $outPos = var$10 + 1 | 0; var$9[var$10] = ($next & 255) << 24 >> 24; } } } $controller.$inPosition = $inPos; $controller.$outPosition0 = $outPos; return $result; }, nleav_SYS = $rt_classWithoutFields(), nleav_SYS_VFS = null, nleav_SYS_$_teavm_clinitCalled_$ = false, nleav_SYS_$callClinit = () => { let $ptr = 0; if ($rt_resuming()) { $ptr = $rt_nativeThread().pop(); } else if (nleav_SYS_$_teavm_clinitCalled_$) { return; } main: while (true) { switch ($ptr) { case 0: nleav_SYS_$_teavm_clinitCalled_$ = true; $ptr = 1; case 1: nleav_SYS__clinit_(); if ($rt_suspending()) { break main; } nleav_SYS_$callClinit = $rt_eraseClinit(nleav_SYS); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($ptr); }, nleav_SYS__init_ = $this => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); }, nleav_SYS__init_0 = () => { let var_0 = new nleav_SYS(); nleav_SYS__init_(var_0); return var_0; }, nleav_SYS__clinit_ = () => { let $vh, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$vh = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $vh = $rt_s(3243); $ptr = 1; case 1: $tmp = nleav_VirtualFilesystem_openVFS($vh); if ($rt_suspending()) { break main; } $vh = $tmp; $vh = $vh.$vfs; if ($vh !== null) { nleav_SYS_VFS = $vh; return; } if (jl_System_errCache === null) { $vh = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); $vh.$out0 = var$2; var$2 = new jl_StringBuilder; jl_Object__init_(var$2); var$2.$buffer = $rt_createCharArray(16); $vh.$sb = var$2; $vh.$buffer0 = $rt_createCharArray(32); $vh.$autoFlush = 0; $vh.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $vh; } $rt_putStderr("Could not init filesystem!"); $rt_putStderr("\n"); var$2 = new jl_RuntimeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(3244); $rt_throw(var$2); default: $rt_invalidPointer(); }} $rt_nativeThread().push($vh, var$2, $ptr); }, nms_TexturePackFolder = $rt_classWithoutFields(nms_TexturePackImplementation), nms_TexturePackFolder_func_98139_b = ($this, $par1Str) => { let $var2$path, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2$path = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2$path = nleav_VFile_createPath($rt_wrapArray(jl_Object, [$this.$texturePackFile, jl_String_substring($par1Str, 1, $par1Str.$nativeString.length)])); if (!($var2$path !== null && !jl_String_contains($var2$path, $rt_s(1397)) ? 0 : 1)) { $ptr = 1; continue main; } if (!0) { var$3 = new ji_IOException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $par1Str; $rt_throw(var$3); } if ($var2$path !== null && !jl_String_contains($var2$path, $rt_s(1397)) ? 0 : 1) return null; $ptr = 2; continue main; case 1: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } var$3 = nleav_SYS_VFS; var$4 = var$3.$fileMap; if ($var2$path === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { if (!$var2$path.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $var2$path.$nativeString.length) break a; $var2$path.$hashCode1 = (31 * $var2$path.$hashCode1 | 0) + $var2$path.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $var2$path.$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$8 = var$4.$key; if ($var2$path !== var$8 && !jl_String_equals($var2$path, var$8) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$8 = var$4 === null ? null : var$4.$value1; if (var$8 === null) { var$4 = var$3.$fileMap; var$8 = new nleav_VirtualFilesystem$VFSFile; var$8.$fileSize = (-1); var$8.$hasBeenDeleted = 0; var$8.$hasBeenAccessed = 0; var$8.$exists = 0; var$8.$cache = null; var$8.$virtualFilesystem = var$3; var$8.$filePath = $var2$path; nlea_EaglerAdapterImpl2_$callClinit(); var$8.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$4, $var2$path, var$8); } if (var$8.$hasBeenDeleted) var$5 = 0; else { nlea_EaglerAdapterImpl2_$callClinit(); var$8.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!var$8.$hasBeenAccessed) { var$3 = var$8.$virtualFilesystem.$indexeddb; var$4 = var$8.$filePath; $ptr = 3; continue main; } var$5 = var$8.$exists; } if (!(!var$5 ? 0 : 1)) { var$3 = new ji_IOException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $par1Str; $rt_throw(var$3); } if ($var2$path !== null && !jl_String_contains($var2$path, $rt_s(1397)) ? 0 : 1) return null; $ptr = 2; case 2: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $par1Str = nleav_SYS_VFS; var$3 = $par1Str.$fileMap; if ($var2$path === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { if (!$var2$path.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $var2$path.$nativeString.length) break a; $var2$path.$hashCode1 = (31 * $var2$path.$hashCode1 | 0) + $var2$path.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $var2$path.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { b: { var$4 = var$3.$key; if ($var2$path !== var$4) { if ($var2$path === var$4) var$5 = 1; else if (!(var$4 instanceof jl_String)) var$5 = 0; else { var$4 = var$4; var$5 = $var2$path.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break b; } } var$5 = 1; } if (var$5) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { var$4 = $par1Str.$fileMap; var$3 = new nleav_VirtualFilesystem$VFSFile; var$3.$fileSize = (-1); var$3.$hasBeenDeleted = 0; var$3.$hasBeenAccessed = 0; var$3.$exists = 0; var$3.$cache = null; var$3.$virtualFilesystem = $par1Str; var$3.$filePath = $var2$path; nlea_EaglerAdapterImpl2_$callClinit(); var$3.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$4, $var2$path, var$3); } var$5 = 1; $ptr = 4; continue main; case 3: $tmp = nleav_VirtualFilesystem$AsyncHandlers_fileExists$_asyncCall_$(var$3, var$4); if ($rt_suspending()) { break main; } var$3 = $tmp; var$5 = var$3.$bool; var$8.$exists = var$5; var$8.$hasBeenAccessed = 1; if (!(!var$5 ? 0 : 1)) { var$3 = new ji_IOException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $par1Str; $rt_throw(var$3); } if ($var2$path !== null && !jl_String_contains($var2$path, $rt_s(1397)) ? 0 : 1) return null; $ptr = 2; continue main; case 4: $tmp = nleav_VirtualFilesystem$VFSFile_getAllBytes(var$3, var$5); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7 === null) $par1Str = null; else { var$9 = var$7.data; $par1Str = new nle_EaglerInputStream; $par1Str.$mark0 = 0; $par1Str.$buf1 = var$7; $par1Str.$pos = 0; $par1Str.$count = var$9.length; } return $par1Str; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $var2$path, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_TexturePackFolder_func_98140_c = ($this, $par1Str) => { let $var2$path, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2$path = $thread.pop();$par1Str = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2$path = nleav_VFile_createPath($rt_wrapArray(jl_Object, [$this.$texturePackFile, $par1Str])); if ($var2$path !== null && !jl_String_contains($var2$path, $rt_s(1397)) ? 0 : 1) return 0; $ptr = 1; case 1: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $par1Str = nleav_SYS_VFS; var$3 = $par1Str.$fileMap; if ($var2$path === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { if (!$var2$path.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $var2$path.$nativeString.length) break a; $var2$path.$hashCode1 = (31 * $var2$path.$hashCode1 | 0) + $var2$path.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $var2$path.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if ($var2$path !== var$7 && !jl_String_equals($var2$path, var$7) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { var$7 = $par1Str.$fileMap; var$3 = new nleav_VirtualFilesystem$VFSFile; var$3.$fileSize = (-1); var$3.$hasBeenDeleted = 0; var$3.$hasBeenAccessed = 0; var$3.$exists = 0; var$3.$cache = null; var$3.$virtualFilesystem = $par1Str; var$3.$filePath = $var2$path; nlea_EaglerAdapterImpl2_$callClinit(); var$3.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$7, $var2$path, var$3); } if (var$3.$hasBeenDeleted) var$4 = 0; else { nlea_EaglerAdapterImpl2_$callClinit(); var$3.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!var$3.$hasBeenAccessed) { $par1Str = var$3.$virtualFilesystem.$indexeddb; var$7 = var$3.$filePath; $ptr = 2; continue main; } var$4 = var$3.$exists; } return !var$4 ? 0 : 1; case 2: $tmp = nleav_VirtualFilesystem$AsyncHandlers_fileExists$_asyncCall_$($par1Str, var$7); if ($rt_suspending()) { break main; } $par1Str = $tmp; var$4 = $par1Str.$bool; var$3.$exists = var$4; var$3.$hasBeenAccessed = 1; return !var$4 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Str, $var2$path, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_TexturePackFolder_isCompatible = $this => { return 1; }; function nms_EntityDiggingFX() { nms_EntityFX.call(this); this.$blockInstance = null; } let nms_EntityDiggingFX_applyColourMultiplier = ($this, $par1, $par2, $par3) => { let var$4, $var4; var$4 = $this.$blockInstance; nms_Block_$callClinit(); if (var$4 === nms_Block_grass) return $this; $var4 = var$4.$colorMultiplier($this.$worldObj, $par1, $par2, $par3); $this.$particleRed = $this.$particleRed * ($var4 >> 16 & 255) / 255.0; $this.$particleGreen = $this.$particleGreen * ($var4 >> 8 & 255) / 255.0; $this.$particleBlue = $this.$particleBlue * ($var4 & 255) / 255.0; return $this; }, nms_EntityDiggingFX_applyRenderColor = ($this, $par1) => { let var$2, $var2; var$2 = $this.$blockInstance; nms_Block_$callClinit(); if (var$2 === nms_Block_grass) return $this; $var2 = var$2.$getRenderColor($par1); $this.$particleRed = $this.$particleRed * ($var2 >> 16 & 255) / 255.0; $this.$particleGreen = $this.$particleGreen * ($var2 >> 8 & 255) / 255.0; $this.$particleBlue = $this.$particleBlue * ($var2 & 255) / 255.0; return $this; }, nms_EntityDiggingFX_getFXLayer = $this => { return 1; }, nms_EntityDiggingFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var15, $var16, $var8, $var9, $var10, $var11, $var12, var$15, var$16, var$17, var$18, $var13, $var14, var$21, var$22, var$23, var$24; $var15 = $this.$particleTextureIndexX; $var16 = $this.$particleTextureJitterX / 4.0; $var8 = ($var15 + $var16) / 16.0; $var9 = $var8 + 0.015609375201165676; $var10 = ($this.$particleTextureIndexY + $this.$particleTextureJitterY / 4.0) / 16.0; $var11 = $var10 + 0.015609375201165676; $var12 = 0.10000000149011612 * $this.$particleScale; var$15 = $this.$particleIcon; if (var$15 !== null) { $var8 = var$15.$getInterpolatedU($var16 * 16.0); $var9 = $this.$particleIcon.$getInterpolatedU(($this.$particleTextureJitterX + 1.0) / 4.0 * 16.0); $var10 = $this.$particleIcon.$getInterpolatedV($this.$particleTextureJitterY / 4.0 * 16.0); $var11 = $this.$particleIcon.$getInterpolatedV(($this.$particleTextureJitterY + 1.0) / 4.0 * 16.0); } var$16 = $this.$prevPosX; var$17 = $this.$posX - var$16; var$18 = $par2; $var13 = var$16 + var$17 * var$18 - nms_EntityFX_interpPosX; var$17 = $this.$prevPosY; $var14 = var$17 + ($this.$posY - var$17) * var$18 - nms_EntityFX_interpPosY; var$17 = $this.$prevPosZ; $var15 = var$17 + ($this.$posZ - var$17) * var$18 - nms_EntityFX_interpPosZ; var$21 = 1.0 * $this.$particleRed; var$22 = 1.0 * $this.$particleGreen; $var16 = 1.0 * $this.$particleBlue; nlea_Tessellator_setColorRGBA($par1Tessellator, var$21 * 255.0 | 0, var$22 * 255.0 | 0, $var16 * 255.0 | 0, 255); $par2 = $par3 * $var12; $par3 = $var13 - $par2; $par6 = $par6 * $var12; var$17 = $par3 - $par6; $par4 = $par4 * $var12; var$16 = $var14 - $par4; $par5 = $par5 * $var12; $var16 = $var15 - $par5; $par7 = $par7 * $var12; var$18 = $var16 - $par7; var$23 = $var8; var$24 = $var11; $par1Tessellator.$hasTexture = 1; var$21 = var$23; $par1Tessellator.$textureU = var$21; var$22 = var$24; $par1Tessellator.$textureV = var$22; nlea_Tessellator_addVertex($par1Tessellator, var$17, var$16, var$18); var$17 = $par3 + $par6; var$18 = $var14 + $par4; var$23 = $var16 + $par7; var$24 = $var10; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = var$21; $var16 = var$24; $par1Tessellator.$textureV = $var16; nlea_Tessellator_addVertex($par1Tessellator, var$17, var$18, var$23); $par2 = $var13 + $par2; var$17 = $par2 + $par6; $par3 = $var15 + $par5; var$23 = $par3 + $par7; var$24 = $var9; $par1Tessellator.$hasTexture = 1; $par4 = var$24; $par1Tessellator.$textureU = $par4; $par1Tessellator.$textureV = $var16; nlea_Tessellator_addVertex($par1Tessellator, var$17, var$18, var$23); var$17 = $par2 - $par6; var$18 = $par3 - $par7; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = $par4; $par1Tessellator.$textureV = var$22; nlea_Tessellator_addVertex($par1Tessellator, var$17, var$16, var$18); }; function jn_FloatBufferOverByteBuffer() { let a = this; jn_FloatBufferImpl.call(a); a.$byteByffer = null; a.$readOnly5 = 0; a.$start4 = 0; } let jn_FloatBufferOverByteBuffer_readOnly = $this => { return $this.$readOnly5; }, jn_FloatBufferOverByteBufferLittleEndian = $rt_classWithoutFields(jn_FloatBufferOverByteBuffer), jn_FloatBufferOverByteBufferLittleEndian_getElement = ($this, $index) => { let var$2; var$2 = $this.$byteByffer.$array0.data; $index = $this.$start4 + ($index * 4 | 0) | 0; return $rt_intBitsToFloat((var$2[$index] & 255) << 24 | (var$2[$index + 1 | 0] & 255) << 16 | (var$2[$index + 2 | 0] & 255) << 8 | var$2[$index + 3 | 0] & 255); }, jn_FloatBufferOverByteBufferLittleEndian_putElement = ($this, $index, $f) => { let $value, var$4; $value = (isNaN($f) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits($f); var$4 = $this.$byteByffer.$array0.data; $index = $this.$start4 + ($index * 4 | 0) | 0; var$4[$index] = $value >> 24 << 24 >> 24; var$4[$index + 1 | 0] = $value >> 16 << 24 >> 24; var$4[$index + 2 | 0] = $value >> 8 << 24 >> 24; var$4[$index + 3 | 0] = $value << 24 >> 24; }, jn_FloatBufferOverByteBufferBigEndian = $rt_classWithoutFields(jn_FloatBufferOverByteBuffer), jn_FloatBufferOverByteBufferBigEndian_getElement = ($this, $index) => { let var$2; var$2 = $this.$byteByffer.$array0.data; $index = $this.$start4 + ($index * 4 | 0) | 0; return $rt_intBitsToFloat(var$2[$index] & 255 | (var$2[$index + 1 | 0] & 255) << 8 | (var$2[$index + 2 | 0] & 255) << 16 | (var$2[$index + 3 | 0] & 255) << 24); }, jn_FloatBufferOverByteBufferBigEndian_putElement = ($this, $index, $f) => { let $value, var$4; $value = (isNaN($f) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits($f); var$4 = $this.$byteByffer.$array0.data; $index = $this.$start4 + ($index * 4 | 0) | 0; var$4[$index] = $value << 24 >> 24; var$4[$index + 1 | 0] = $value >> 8 << 24 >> 24; var$4[$index + 2 | 0] = $value >> 16 << 24 >> 24; var$4[$index + 3 | 0] = $value >> 24 << 24 >> 24; }; function nms_ModelBox() { let a = this; jl_Object.call(a); a.$vertexPositions0 = null; a.$quadList = null; a.$posX10 = 0.0; a.$posY10 = 0.0; a.$posZ10 = 0.0; a.$posX20 = 0.0; a.$posY20 = 0.0; a.$posZ20 = 0.0; a.$field_78247_g = null; } let nms_ModelBox__init_0 = ($this, $par1ModelRenderer, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9, $par10) => { let var$11, var$12, var$13, var$14, var$15, var$16, var$17, $var23, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, $var22, var$29, $var15, var$31, var$32, $var16, var$34, var$35, $var17, $var18, $var19, $var20, $var21; $this.$posX10 = $par4; $this.$posY10 = $par5; $this.$posZ10 = $par6; var$11 = $par4 + $par7; $this.$posX20 = var$11; var$12 = $par5 + $par8; $this.$posY20 = var$12; var$13 = $par6 + $par9; $this.$posZ20 = var$13; var$14 = $rt_createArray(nms_PositionTextureVertex, 8); $this.$vertexPositions0 = var$14; var$15 = $rt_createArray(nms_TexturedQuad, 6); $this.$quadList = var$15; $par4 = $par4 - $par10; $par5 = $par5 - $par10; var$16 = $par6 - $par10; var$11 = var$11 + $par10; var$17 = var$12 + $par10; $par6 = var$13 + $par10; if (!$par1ModelRenderer.$mirror) { $par10 = $par4; $par4 = var$11; var$11 = $par10; } $var23 = new nms_PositionTextureVertex; var$19 = var$11; var$20 = $par5; var$21 = var$16; var$22 = new nms_Vec3; var$23 = nms_Vec3_fakePool; var$24 = $rt_compare(var$19, -0.0); var$25 = !var$24 ? 0.0 : var$19; var$26 = $rt_compare(var$20, -0.0); var$27 = !var$26 ? 0.0 : var$20; $var22 = $rt_compare(var$21, -0.0); var$29 = !$var22 ? 0.0 : var$21; var$22.$xCoord = var$25; var$22.$yCoord = var$27; var$22.$zCoord = var$29; var$22.$myVec3LocalPool = var$23; $var23.$vector3D = var$22; $var23.$texturePositionX = 0.0; $var23.$texturePositionY = 0.0; $var15 = new nms_PositionTextureVertex; var$25 = $par4; var$22 = new nms_Vec3; var$31 = $rt_compare(var$25, -0.0); var$27 = !var$31 ? 0.0 : var$25; var$29 = !var$26 ? 0.0 : var$20; var$32 = !$var22 ? 0.0 : var$21; var$22.$xCoord = var$27; var$22.$yCoord = var$29; var$22.$zCoord = var$32; var$22.$myVec3LocalPool = var$23; $var15.$vector3D = var$22; $var15.$texturePositionX = 0.0; $var15.$texturePositionY = 8.0; $var16 = new nms_PositionTextureVertex; var$32 = var$17; var$22 = new nms_Vec3; var$27 = !var$31 ? 0.0 : var$25; var$34 = $rt_compare(var$32, -0.0); var$29 = !var$34 ? 0.0 : var$32; var$35 = !$var22 ? 0.0 : var$21; var$22.$xCoord = var$27; var$22.$yCoord = var$29; var$22.$zCoord = var$35; var$22.$myVec3LocalPool = var$23; $var16.$vector3D = var$22; $var16.$texturePositionX = 8.0; $var16.$texturePositionY = 8.0; $var17 = new nms_PositionTextureVertex; var$22 = new nms_Vec3; var$27 = !var$24 ? 0.0 : var$19; var$29 = !var$34 ? 0.0 : var$32; if (!$var22) var$21 = 0.0; var$22.$xCoord = var$27; var$22.$yCoord = var$29; var$22.$zCoord = var$21; var$22.$myVec3LocalPool = var$23; $var17.$vector3D = var$22; $var17.$texturePositionX = 8.0; $var17.$texturePositionY = 0.0; $var18 = new nms_PositionTextureVertex; var$35 = $par6; var$22 = new nms_Vec3; var$27 = !var$24 ? 0.0 : var$19; var$29 = !var$26 ? 0.0 : var$20; $var22 = $rt_compare(var$35, -0.0); var$21 = !$var22 ? 0.0 : var$35; var$22.$xCoord = var$27; var$22.$yCoord = var$29; var$22.$zCoord = var$21; var$22.$myVec3LocalPool = var$23; $var18.$vector3D = var$22; $var18.$texturePositionX = 0.0; $var18.$texturePositionY = 0.0; $var19 = new nms_PositionTextureVertex; var$22 = new nms_Vec3; var$27 = !var$31 ? 0.0 : var$25; if (!var$26) var$20 = 0.0; var$29 = !$var22 ? 0.0 : var$35; var$22.$xCoord = var$27; var$22.$yCoord = var$20; var$22.$zCoord = var$29; var$22.$myVec3LocalPool = var$23; $var19.$vector3D = var$22; $var19.$texturePositionX = 0.0; $var19.$texturePositionY = 8.0; $var20 = new nms_PositionTextureVertex; var$22 = new nms_Vec3; if (!var$31) var$25 = 0.0; var$27 = !var$34 ? 0.0 : var$32; var$20 = !$var22 ? 0.0 : var$35; var$22.$xCoord = var$25; var$22.$yCoord = var$27; var$22.$zCoord = var$20; var$22.$myVec3LocalPool = var$23; $var20.$vector3D = var$22; $var20.$texturePositionX = 8.0; $var20.$texturePositionY = 8.0; $var21 = new nms_PositionTextureVertex; var$22 = new nms_Vec3; if (!var$24) var$19 = 0.0; if (!var$34) var$32 = 0.0; if (!$var22) var$35 = 0.0; a: { var$15 = var$15.data; var$14 = var$14.data; var$22.$xCoord = var$19; var$22.$yCoord = var$32; var$22.$zCoord = var$35; var$22.$myVec3LocalPool = var$23; $var21.$vector3D = var$22; $var21.$texturePositionX = 8.0; $var21.$texturePositionY = 0.0; var$14[0] = $var23; var$14[1] = $var15; var$14[2] = $var16; var$14[3] = $var17; var$14[4] = $var18; var$14[5] = $var19; var$14[6] = $var20; var$14[7] = $var21; var$22 = new nms_TexturedQuad; var$14 = $rt_wrapArray(nms_PositionTextureVertex, [$var19, $var15, $var16, $var20]); $var22 = $par2 + $par9 | 0; var$34 = $var22 + $par7 | 0; var$31 = $par3 + $par9 | 0; $par9 = var$34 + $par9 | 0; var$24 = var$31 + $par8 | 0; nms_TexturedQuad__init_0(var$22, var$14, var$34, var$31, $par9, var$24, $par1ModelRenderer.$textureWidth, $par1ModelRenderer.$textureHeight); var$15[0] = var$22; $this.$quadList.data[1] = nms_TexturedQuad__init_($rt_wrapArray(nms_PositionTextureVertex, [$var23, $var18, $var21, $var17]), $par2, var$31, $var22, var$24, $par1ModelRenderer.$textureWidth, $par1ModelRenderer.$textureHeight); $this.$quadList.data[2] = nms_TexturedQuad__init_($rt_wrapArray(nms_PositionTextureVertex, [$var19, $var18, $var23, $var15]), $var22, $par3, var$34, var$31, $par1ModelRenderer.$textureWidth, $par1ModelRenderer.$textureHeight); $this.$quadList.data[3] = nms_TexturedQuad__init_($rt_wrapArray(nms_PositionTextureVertex, [$var16, $var17, $var21, $var20]), var$34, var$31, var$34 + $par7 | 0, $par3, $par1ModelRenderer.$textureWidth, $par1ModelRenderer.$textureHeight); $this.$quadList.data[4] = nms_TexturedQuad__init_($rt_wrapArray(nms_PositionTextureVertex, [$var15, $var23, $var17, $var16]), $var22, var$31, var$34, var$24, $par1ModelRenderer.$textureWidth, $par1ModelRenderer.$textureHeight); $this.$quadList.data[5] = nms_TexturedQuad__init_($rt_wrapArray(nms_PositionTextureVertex, [$var18, $var19, $var20, $var21]), $par9, var$31, $par9 + $par7 | 0, var$24, $par1ModelRenderer.$textureWidth, $par1ModelRenderer.$textureHeight); if ($par1ModelRenderer.$mirror) { $var22 = 0; while (true) { var$14 = $this.$quadList.data; if ($var22 >= var$14.length) break a; nms_TexturedQuad_flipFace(var$14[$var22]); $var22 = $var22 + 1 | 0; } } } }, nms_ModelBox__init_ = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) => { let var_10 = new nms_ModelBox(); nms_ModelBox__init_0(var_10, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); return var_10; }; function nms_TextureOffset() { let a = this; jl_Object.call(a); a.$textureOffsetX0 = 0; a.$textureOffsetY0 = 0; } function jt_DecimalFormatParser() { let a = this; jl_Object.call(a); a.$positivePrefix0 = null; a.$positiveSuffix0 = null; a.$negativePrefix0 = null; a.$negativeSuffix0 = null; a.$groupSize = 0; a.$minimumIntLength = 0; a.$intLength = 0; a.$minimumFracLength = 0; a.$fracLength = 0; a.$exponentLength = 0; a.$decimalSeparatorRequired = 0; a.$string0 = null; a.$index2 = 0; a.$multiplier0 = 0; } let jt_DecimalFormatParser__init_ = $this => { return; }, jt_DecimalFormatParser__init_0 = () => { let var_0 = new jt_DecimalFormatParser(); jt_DecimalFormatParser__init_(var_0); return var_0; }, jt_DecimalFormatParser_parse = ($this, $string) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; $this.$groupSize = 0; $this.$minimumFracLength = 0; $this.$fracLength = 0; $this.$exponentLength = 0; $this.$decimalSeparatorRequired = 0; $this.$multiplier0 = 1; $this.$string0 = $string; $this.$index2 = 0; $this.$positivePrefix0 = jt_DecimalFormatParser_parseText($this, 0, 0); if ($this.$index2 == $string.$nativeString.length) { var$2 = new jl_IllegalArgumentException; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3245)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $string); $string = new jl_String; var$4 = var$3.$buffer; var$5 = var$4.data; var$6 = var$3.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { $string.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $string; $rt_throw(var$2); } $string = new jl_IndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } jt_DecimalFormatParser_parseNumber($this, 1); $this.$negativePrefix0 = null; $this.$negativeSuffix0 = null; if ($this.$index2 < $string.$nativeString.length) { var$8 = $this.$index2; if (!(var$8 >= 0 && var$8 < $string.$nativeString.length)) { $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } else if ($string.$nativeString.charCodeAt(var$8) != 59) $this.$positiveSuffix0 = jt_DecimalFormatParser_parseText($this, 1, 0); } if ($this.$index2 < $string.$nativeString.length) { var$6 = $this.$index2; $this.$index2 = var$6 + 1 | 0; if (var$6 >= 0 && var$6 < $string.$nativeString.length) { if ($string.$nativeString.charCodeAt(var$6) != 59) { var$2 = new jl_IllegalArgumentException; var$8 = $this.$index2; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3246)); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$8, 10); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3247)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $string); $string = new jl_String; var$4 = var$3.$buffer; var$5 = var$4.data; var$6 = var$3.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { $string.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $string; $rt_throw(var$2); } $string = new jl_IndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } $this.$negativePrefix0 = jt_DecimalFormatParser_parseText($this, 0, 1); jt_DecimalFormatParser_parseNumber($this, 0); $this.$negativeSuffix0 = jt_DecimalFormatParser_parseText($this, 1, 1); } else { $string = new jl_StringIndexOutOfBoundsException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } } }, jt_DecimalFormatParser_apply = ($this, $format) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$positivePrefix0; $format.$positivePrefix = var$2; $format.$positiveSuffix = $this.$positiveSuffix0; var$3 = $this.$negativePrefix0; if (var$3 !== null) $format.$negativePrefix = var$3; else { var$4 = var$2.data.length; var$3 = $rt_createArray(jt_DecimalFormat$FormatField, var$4 + 1 | 0); $format.$negativePrefix = var$3; jl_System_fastArraycopy(var$2, 0, var$3, 1, var$4); $format.$negativePrefix.data[0] = new jt_DecimalFormat$MinusField; } var$2 = $this.$negativeSuffix0; if (var$2 === null) var$2 = $this.$positiveSuffix0; $format.$negativeSuffix = var$2; var$5 = $this.$groupSize; $format.$groupingSize = var$5; $format.$groupingUsed = var$5 <= 0 ? 0 : 1; var$5 = $this.$decimalSeparatorRequired; if (!var$5) var$6 = $this.$minimumIntLength; else { var$6 = $this.$minimumIntLength; if (1 > var$6) var$6 = 1; } if (var$6 < 0) var$6 = 0; $format.$minimumIntegerDigits = var$6; if ($format.$maximumIntegerDigits < var$6) $format.$maximumIntegerDigits = var$6; var$4 = $this.$intLength; if (var$4 < 0) var$4 = 0; $format.$maximumIntegerDigits = var$4; if (var$4 < var$6) $format.$minimumIntegerDigits = var$4; var$4 = $this.$minimumFracLength; if (var$4 < 0) var$4 = 0; $format.$minimumFractionDigits = var$4; if ($format.$maximumFractionDigits < var$4) $format.$maximumFractionDigits = var$4; var$6 = $this.$fracLength; if (var$6 < 0) var$6 = 0; $format.$maximumFractionDigits = var$6; if (var$6 < var$4) $format.$minimumFractionDigits = var$6; $format.$decimalSeparatorAlwaysShown = var$5; $format.$exponentDigits = $this.$exponentLength; $format.$multiplier = $this.$multiplier0; }, jt_DecimalFormatParser_parseText = ($this, $suffix, $end) => { let $fields, $sb, var$5, $c, var$7, var$8, var$9, var$10, $next, var$12; $fields = new ju_ArrayList; $fields.$array = $rt_createArray(jl_Object, 10); $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); a: { b: { c: { d: { e: { f: { g: while (true) { if ($this.$index2 >= $this.$string0.$nativeString.length) break a; var$5 = $this.$string0; $c = $this.$index2; if ($c < 0) break c; if ($c >= var$5.$nativeString.length) break c; h: { $c = var$5.$nativeString.charCodeAt($c); switch ($c) { case 35: case 48: if (!$suffix) break a; $fields = new jl_IllegalArgumentException; $suffix = $this.$index2; var$5 = $this.$string0; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3248)); jl_AbstractStringBuilder_insert0($sb, $sb.$length0, $suffix, 10); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3247)); $suffix = $sb.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert($sb, $suffix, var$5); var$5 = new jl_String; var$7 = $sb.$buffer; var$8 = var$7.data; $end = $sb.$length0; var$9 = var$8.length; if ($end >= 0 && $end <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, $end); $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $fields.$message = var$5; $rt_throw($fields); } $fields = new jl_IndexOutOfBoundsException; $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $rt_throw($fields); case 37: var$9 = $sb.$length0; if (var$9 > 0) { var$5 = new jt_DecimalFormat$TextField; var$10 = new jl_String; var$7 = $sb.$buffer; $next = var$7.data.length; if (var$9 < 0) break g; if (var$9 > ($next - 0 | 0)) break g; var$10.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$5.$text0 = var$10; ju_ArrayList_ensureCapacity($fields, $fields.$size0 + 1 | 0); var$7 = $fields.$array.data; $c = $fields.$size0; $fields.$size0 = $c + 1 | 0; var$7[$c] = var$5; $fields.$modCount = $fields.$modCount + 1 | 0; $sb.$length0 = 0; } var$5 = new jt_DecimalFormat$PercentField; ju_ArrayList_ensureCapacity($fields, $fields.$size0 + 1 | 0); var$7 = $fields.$array.data; $c = $fields.$size0; $fields.$size0 = $c + 1 | 0; var$7[$c] = var$5; $fields.$modCount = $fields.$modCount + 1 | 0; $this.$index2 = $this.$index2 + 1 | 0; $this.$multiplier0 = 100; break h; case 39: var$9 = $this.$index2 + 1 | 0; $this.$index2 = var$9; $next = jl_String_indexOf($this.$string0, 39, var$9); if ($next < 0) { $fields = new jl_IllegalArgumentException; $suffix = $this.$index2; var$5 = $this.$string0; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3249)); jl_AbstractStringBuilder_insert0($sb, $sb.$length0, $suffix, 10); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3250)); $suffix = $sb.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert($sb, $suffix, var$5); var$5 = new jl_String; var$7 = $sb.$buffer; var$8 = var$7.data; $end = $sb.$length0; var$9 = var$8.length; if ($end >= 0 && $end <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, $end); $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $fields.$message = var$5; $rt_throw($fields); } $fields = new jl_IndexOutOfBoundsException; $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $rt_throw($fields); } var$9 = $this.$index2; if ($next != var$9) { var$5 = jl_String_substring($this.$string0, var$9, $next); jl_AbstractStringBuilder_insert($sb, $sb.$length0, var$5); } else { var$12 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$12, var$12 + 1 | 0); $sb.$buffer.data[var$12] = 39; } $this.$index2 = $next + 1 | 0; break h; case 45: var$9 = $sb.$length0; if (var$9 > 0) { var$5 = new jt_DecimalFormat$TextField; var$10 = new jl_String; var$7 = $sb.$buffer; $next = var$7.data.length; if (var$9 < 0) break f; if (var$9 > ($next - 0 | 0)) break f; var$10.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$5.$text0 = var$10; ju_ArrayList_ensureCapacity($fields, $fields.$size0 + 1 | 0); var$7 = $fields.$array.data; $c = $fields.$size0; $fields.$size0 = $c + 1 | 0; var$7[$c] = var$5; $fields.$modCount = $fields.$modCount + 1 | 0; $sb.$length0 = 0; } var$5 = new jt_DecimalFormat$MinusField; ju_ArrayList_ensureCapacity($fields, $fields.$size0 + 1 | 0); var$7 = $fields.$array.data; var$9 = $fields.$size0; $fields.$size0 = var$9 + 1 | 0; var$7[var$9] = var$5; $fields.$modCount = $fields.$modCount + 1 | 0; $this.$index2 = $this.$index2 + 1 | 0; break h; case 46: case 69: $fields = new jl_IllegalArgumentException; $suffix = $this.$index2; var$5 = $this.$string0; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3248)); jl_AbstractStringBuilder_insert0($sb, $sb.$length0, $suffix, 10); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3247)); $suffix = $sb.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert($sb, $suffix, var$5); var$5 = new jl_String; var$7 = $sb.$buffer; var$8 = var$7.data; $end = $sb.$length0; var$9 = var$8.length; if ($end >= 0 && $end <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, $end); $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $fields.$message = var$5; $rt_throw($fields); } $fields = new jl_IndexOutOfBoundsException; $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $rt_throw($fields); case 59: break b; case 164: $next = $sb.$length0; if ($next > 0) { var$10 = new jt_DecimalFormat$TextField; var$5 = new jl_String; var$7 = $sb.$buffer; $c = var$7.data.length; if ($next < 0) break e; if ($next > ($c - 0 | 0)) break e; var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, $next); var$10.$text0 = var$5; ju_ArrayList_ensureCapacity($fields, $fields.$size0 + 1 | 0); var$7 = $fields.$array.data; $c = $fields.$size0; $fields.$size0 = $c + 1 | 0; var$7[$c] = var$10; $fields.$modCount = $fields.$modCount + 1 | 0; $sb.$length0 = 0; } var$5 = new jt_DecimalFormat$CurrencyField; ju_ArrayList_ensureCapacity($fields, $fields.$size0 + 1 | 0); var$7 = $fields.$array.data; $c = $fields.$size0; $fields.$size0 = $c + 1 | 0; var$7[$c] = var$5; $fields.$modCount = $fields.$modCount + 1 | 0; $this.$index2 = $this.$index2 + 1 | 0; break h; case 8240: $next = $sb.$length0; if ($next > 0) { var$10 = new jt_DecimalFormat$TextField; var$5 = new jl_String; var$7 = $sb.$buffer; $c = var$7.data.length; if ($next < 0) break d; if ($next > ($c - 0 | 0)) break d; var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, $next); var$10.$text0 = var$5; ju_ArrayList_ensureCapacity($fields, $fields.$size0 + 1 | 0); var$7 = $fields.$array.data; $c = $fields.$size0; $fields.$size0 = $c + 1 | 0; var$7[$c] = var$10; $fields.$modCount = $fields.$modCount + 1 | 0; $sb.$length0 = 0; } var$5 = new jt_DecimalFormat$PerMillField; ju_ArrayList_ensureCapacity($fields, $fields.$size0 + 1 | 0); var$7 = $fields.$array.data; $c = $fields.$size0; $fields.$size0 = $c + 1 | 0; var$7[$c] = var$5; $fields.$modCount = $fields.$modCount + 1 | 0; $this.$index2 = $this.$index2 + 1 | 0; $this.$multiplier0 = 1000; break h; default: } var$9 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$9, var$9 + 1 | 0); $sb.$buffer.data[var$9] = $c; $this.$index2 = $this.$index2 + 1 | 0; } } $fields = new jl_IndexOutOfBoundsException; $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $rt_throw($fields); } $fields = new jl_IndexOutOfBoundsException; $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $rt_throw($fields); } $fields = new jl_IndexOutOfBoundsException; $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $rt_throw($fields); } $fields = new jl_IndexOutOfBoundsException; $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $rt_throw($fields); } $fields = new jl_StringIndexOutOfBoundsException; $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $rt_throw($fields); } if ($end) { $fields = new jl_IllegalArgumentException; $suffix = $this.$index2; var$5 = $this.$string0; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3248)); jl_AbstractStringBuilder_insert0($sb, $sb.$length0, $suffix, 10); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3247)); $suffix = $sb.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert($sb, $suffix, var$5); var$5 = new jl_String; var$7 = $sb.$buffer; var$8 = var$7.data; $end = $sb.$length0; var$9 = var$8.length; if ($end >= 0 && $end <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, $end); $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $fields.$message = var$5; $rt_throw($fields); } $fields = new jl_IndexOutOfBoundsException; $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $rt_throw($fields); } } var$9 = $sb.$length0; if (var$9 > 0) { var$10 = new jt_DecimalFormat$TextField; var$5 = new jl_String; var$7 = $sb.$buffer; $end = var$7.data.length; if (var$9 >= 0 && var$9 <= ($end - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$10.$text0 = var$5; ju_ArrayList_ensureCapacity($fields, $fields.$size0 + 1 | 0); var$7 = $fields.$array.data; $end = $fields.$size0; $fields.$size0 = $end + 1 | 0; var$7[$end] = var$10; $fields.$modCount = $fields.$modCount + 1 | 0; } else { $fields = new jl_IndexOutOfBoundsException; $fields.$suppressionEnabled = 1; $fields.$writableStackTrace = 1; $rt_throw($fields); } } return ju_AbstractCollection_toArray($fields, $rt_createArray(jt_DecimalFormat$FormatField, $fields.$size0)); }, jt_DecimalFormatParser_parseNumber = ($this, $apply) => { let var$2, var$3; jt_DecimalFormatParser_parseIntegerPart($this, $apply); if ($this.$index2 < $this.$string0.$nativeString.length) { var$2 = $this.$string0; var$3 = $this.$index2; if (!(var$3 >= 0 && var$3 < var$2.$nativeString.length)) { var$2 = new jl_StringIndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } else if (var$2.$nativeString.charCodeAt(var$3) == 46) { $this.$index2 = $this.$index2 + 1 | 0; jt_DecimalFormatParser_parseFractionalPart($this, $apply); } } if ($this.$index2 < $this.$string0.$nativeString.length) { var$2 = $this.$string0; var$3 = $this.$index2; if (!(var$3 >= 0 && var$3 < var$2.$nativeString.length)) { var$2 = new jl_StringIndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } else if (var$2.$nativeString.charCodeAt(var$3) == 69) { $this.$index2 = $this.$index2 + 1 | 0; jt_DecimalFormatParser_parseExponent($this, $apply); } } }, jt_DecimalFormatParser_parseIntegerPart = ($this, $apply) => { let $lastGroup, $optionalDigits, $length, $minimumLength, var$6, var$7, var$8, var$9, var$10, var$11, var$12; $lastGroup = $this.$index2; $optionalDigits = 1; $length = 0; $minimumLength = 0; var$6 = $lastGroup; a: { while (true) { if ($this.$index2 >= $this.$string0.$nativeString.length) break a; var$7 = $this.$string0; var$8 = $this.$index2; if (var$8 < 0) break; if (var$8 >= var$7.$nativeString.length) break; b: { c: { switch (var$7.$nativeString.charCodeAt(var$8)) { case 35: if (!$optionalDigits) { var$7 = new jl_IllegalArgumentException; $apply = $this.$index2; var$9 = $this.$string0; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(3251)); jl_AbstractStringBuilder_insert0(var$10, var$10.$length0, $apply, 10); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(3247)); $apply = var$10.$length0; if (var$9 === null) var$9 = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, $apply, var$9); var$9 = new jl_String; var$11 = var$10.$buffer; var$12 = var$11.data; $lastGroup = var$10.$length0; $optionalDigits = var$12.length; if ($lastGroup >= 0 && $lastGroup <= ($optionalDigits - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$11.data, 0, $lastGroup); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } $length = $length + 1 | 0; break b; case 44: break c; case 48: break; default: break a; } $optionalDigits = 0; $length = $length + 1 | 0; $minimumLength = $minimumLength + 1 | 0; break b; } var$8 = $this.$index2; if (var$6 == var$8) { var$7 = new jl_IllegalArgumentException; var$9 = $this.$string0; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(3252)); jl_AbstractStringBuilder_insert0(var$10, var$10.$length0, var$8, 10); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(3247)); $apply = var$10.$length0; if (var$9 === null) var$9 = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, $apply, var$9); var$9 = new jl_String; var$11 = var$10.$buffer; var$12 = var$11.data; $lastGroup = var$10.$length0; $optionalDigits = var$12.length; if ($lastGroup >= 0 && $lastGroup <= ($optionalDigits - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$11.data, 0, $lastGroup); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } if ($apply) $this.$groupSize = var$8 - var$6 | 0; var$6 = var$8 + 1 | 0; } $this.$index2 = $this.$index2 + 1 | 0; } var$7 = new jl_StringIndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } if (!$length) { var$7 = new jl_IllegalArgumentException; $apply = $this.$index2; var$9 = $this.$string0; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(3253)); jl_AbstractStringBuilder_insert0(var$10, var$10.$length0, $apply, 10); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(3247)); $apply = var$10.$length0; if (var$9 === null) var$9 = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, $apply, var$9); var$9 = new jl_String; var$11 = var$10.$buffer; var$12 = var$11.data; $lastGroup = var$10.$length0; $optionalDigits = var$12.length; if ($lastGroup >= 0 && $lastGroup <= ($optionalDigits - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$11.data, 0, $lastGroup); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } $optionalDigits = $this.$index2; if (var$6 != $optionalDigits) { if ($apply && var$6 > $lastGroup) $this.$groupSize = $optionalDigits - var$6 | 0; if ($apply) { $this.$intLength = $length; $this.$minimumIntLength = $minimumLength; } return; } var$7 = new jl_IllegalArgumentException; var$9 = $this.$string0; var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(3254)); jl_AbstractStringBuilder_insert0(var$10, var$10.$length0, $optionalDigits, 10); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(3247)); $apply = var$10.$length0; if (var$9 === null) var$9 = $rt_s(1); jl_AbstractStringBuilder_insert(var$10, $apply, var$9); var$9 = new jl_String; var$11 = var$10.$buffer; var$12 = var$11.data; $lastGroup = var$10.$length0; $optionalDigits = var$12.length; if ($lastGroup >= 0 && $lastGroup <= ($optionalDigits - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$11.data, 0, $lastGroup); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$9; $rt_throw(var$7); } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); }, jt_DecimalFormatParser_parseFractionalPart = ($this, $apply) => { let $optionalDigits, $length, $minimumLength, var$5, var$6, var$7, var$8, var$9, var$10; $optionalDigits = 0; $length = 0; $minimumLength = 0; a: { while (true) { if ($this.$index2 >= $this.$string0.$nativeString.length) break a; var$5 = $this.$string0; var$6 = $this.$index2; if (var$6 < 0) break; if (var$6 >= var$5.$nativeString.length) break; b: { switch (var$5.$nativeString.charCodeAt(var$6)) { case 35: break; case 44: var$5 = new jl_IllegalArgumentException; $apply = $this.$index2; var$7 = $this.$string0; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3255)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $apply, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3247)); $apply = var$8.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $apply, var$7); var$7 = new jl_String; var$9 = var$8.$buffer; var$10 = var$9.data; $optionalDigits = var$8.$length0; $length = var$10.length; if ($optionalDigits >= 0 && $optionalDigits <= ($length - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$9.data, 0, $optionalDigits); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$7; $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 46: var$5 = new jl_IllegalArgumentException; $apply = $this.$index2; var$7 = $this.$string0; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3256)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $apply, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3247)); $apply = var$8.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $apply, var$7); var$7 = new jl_String; var$9 = var$8.$buffer; var$10 = var$9.data; $optionalDigits = var$8.$length0; $length = var$10.length; if ($optionalDigits >= 0 && $optionalDigits <= ($length - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$9.data, 0, $optionalDigits); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$7; $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 48: if ($optionalDigits) { var$5 = new jl_IllegalArgumentException; $apply = $this.$index2; var$7 = $this.$string0; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3257)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $apply, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3247)); $apply = var$8.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $apply, var$7); var$7 = new jl_String; var$9 = var$8.$buffer; var$10 = var$9.data; $optionalDigits = var$8.$length0; $length = var$10.length; if ($optionalDigits >= 0 && $optionalDigits <= ($length - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$9.data, 0, $optionalDigits); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$7; $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $length = $length + 1 | 0; $minimumLength = $minimumLength + 1 | 0; break b; default: break a; } $length = $length + 1 | 0; $optionalDigits = 1; } $this.$index2 = $this.$index2 + 1 | 0; } var$5 = new jl_StringIndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } if ($apply) { $this.$fracLength = $length; $this.$minimumFracLength = $minimumLength; $this.$decimalSeparatorRequired = $length ? 0 : 1; } }, jt_DecimalFormatParser_parseExponent = ($this, $apply) => { let $length, var$3, var$4, var$5, var$6, var$7, var$8; $length = 0; a: { while (true) { if ($this.$index2 >= $this.$string0.$nativeString.length) break a; var$3 = $this.$string0; var$4 = $this.$index2; if (var$4 < 0) break; if (var$4 >= var$3.$nativeString.length) break; switch (var$3.$nativeString.charCodeAt(var$4)) { case 35: case 44: case 46: case 69: var$3 = new jl_IllegalArgumentException; $apply = $this.$index2; var$5 = $this.$string0; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3258)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $apply, 10); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3247)); $apply = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, $apply, var$5); var$5 = new jl_String; var$7 = var$6.$buffer; var$8 = var$7.data; $length = var$6.$length0; var$4 = var$8.length; if ($length >= 0 && $length <= (var$4 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, $length); var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = var$5; $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); case 48: break; default: break a; } $length = $length + 1 | 0; $this.$index2 = $this.$index2 + 1 | 0; } var$3 = new jl_StringIndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } if ($length) { if ($apply) $this.$exponentLength = $length; return; } var$3 = new jl_IllegalArgumentException; $apply = $this.$index2; var$5 = $this.$string0; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3259)); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $apply, 10); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3247)); $apply = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, $apply, var$5); var$5 = new jl_String; var$7 = var$6.$buffer; var$8 = var$7.data; $length = var$6.$length0; var$4 = var$8.length; if ($length >= 0 && $length <= (var$4 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, $length); var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = var$5; $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); }; function nms_ShapelessRecipes() { let a = this; jl_Object.call(a); a.$recipeOutput0 = null; a.$recipeItems2 = null; } let nms_ShapelessRecipes_getRecipeOutput = $this => { return $this.$recipeOutput0; }, nms_ShapelessRecipes_matches = ($this, $par1InventoryCrafting, $par2World) => { let $var3, $var4, var$5, var$6, var$7, var$8, $var5, $var6, $var7, $var8$index, $var8$index_0, $var9; $var3 = new ju_ArrayList; $par2World = $this.$recipeItems2; $var4 = $par2World.$size0; if ($var4 < 0) { $par1InventoryCrafting = new jl_IllegalArgumentException; $par1InventoryCrafting.$suppressionEnabled = 1; $par1InventoryCrafting.$writableStackTrace = 1; $rt_throw($par1InventoryCrafting); } $var3.$array = $rt_createArray(jl_Object, $var4); var$5 = 0; var$6 = $par2World.$modCount; $par2World.$size(); $var4 = 0; while (true) { var$7 = $var3.$array.data; var$8 = var$7.length; if ($var4 >= var$8) { $var3.$size0 = var$8; $var4 = 0; a: { b: while (true) { if ($var4 >= 3) return $var3.$size0 ? 0 : 1; $var5 = 0; while ($var5 < 3) { c: { if ($var5 >= 0) { var$8 = $par1InventoryCrafting.$inventoryWidth; if ($var5 < var$8) { var$8 = $var5 + $rt_imul($var4, var$8) | 0; var$7 = $par1InventoryCrafting.$stackList.data; $var6 = var$8 < var$7.length ? var$7[var$8] : null; break c; } } $var6 = null; } if ($var6 !== null) { $var7 = 0; $var8$index = 0; var$6 = $var3.$modCount; var$5 = $var3.$size(); d: { e: { while ($var8$index >= var$5 ? 0 : 1) { if (var$6 < $var3.$modCount) { $par1InventoryCrafting = new ju_ConcurrentModificationException; $par1InventoryCrafting.$suppressionEnabled = 1; $par1InventoryCrafting.$writableStackTrace = 1; $rt_throw($par1InventoryCrafting); } $var8$index_0 = $var8$index + 1 | 0; $var9 = $var3.$get($var8$index); if ($var6.$itemID == $var9.$itemID) { var$8 = $var9.$itemDamage; if (var$8 == 32767) break e; if ($var6.$itemDamage == var$8) break e; } $var8$index = $var8$index_0; } break d; } $var7 = 1; var$8 = $var3.$size0; $var8$index_0 = 0; f: { while (true) { var$6 = $rt_compare($var8$index_0, var$8); if (var$6 >= 0) { $var8$index_0 = (-1); break f; } if ($var8$index_0 < 0) break a; if (var$6 >= 0) break a; $par2World = $var3.$array.data[$var8$index_0]; if ($var9 === $par2World ? 1 : $var9 === null ? ($par2World !== null ? 0 : 1) : $var9 !== $par2World ? 0 : 1) break; $var8$index_0 = $var8$index_0 + 1 | 0; } } if ($var8$index_0 >= 0) ju_ArrayList_remove($var3, $var8$index_0); } if (!$var7) break b; } $var5 = $var5 + 1 | 0; } $var4 = $var4 + 1 | 0; } return 0; } $par1InventoryCrafting = new jl_IndexOutOfBoundsException; $par1InventoryCrafting.$suppressionEnabled = 1; $par1InventoryCrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1InventoryCrafting); $rt_throw($par1InventoryCrafting); } if (var$6 < $par2World.$modCount) break; $var8$index_0 = var$5 + 1 | 0; var$7[$var4] = $par2World.$get(var$5); $var4 = $var4 + 1 | 0; var$5 = $var8$index_0; } $par1InventoryCrafting = new ju_ConcurrentModificationException; $par1InventoryCrafting.$suppressionEnabled = 1; $par1InventoryCrafting.$writableStackTrace = 1; $rt_throw($par1InventoryCrafting); }, nms_ShapelessRecipes_getCraftingResult = ($this, $par1InventoryCrafting) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $par1InventoryCrafting = $this.$recipeOutput0; var$2 = new nms_ItemStack; var$3 = $par1InventoryCrafting.$itemID; var$4 = $par1InventoryCrafting.$stackSize; var$5 = $par1InventoryCrafting.$itemDamage; nms_ItemStack_$callClinit(); var$2.$itemID = var$3; var$2.$stackSize = var$4; var$2.$itemDamage = var$5; if (var$5 < 0) var$2.$itemDamage = 0; $par1InventoryCrafting = $par1InventoryCrafting.$stackTagCompound; if ($par1InventoryCrafting !== null) { var$6 = new nms_NBTTagCompound; var$7 = $par1InventoryCrafting.$name; if (var$7 === null) var$7 = $rt_s(18); var$6.$name = var$7; var$7 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$9 = var$8.data; var$7.$elementData = var$8; var$7.$loadFactor = 0.75; var$7.$threshold = var$9.length * 0.75 | 0; var$6.$tagMap = var$7; var$10 = $par1InventoryCrafting.$tagMap; if (var$10.$cachedKeySet === null) { var$7 = new ju_HashMap$1; var$7.$this$0 = var$10; var$10.$cachedKeySet = var$7; } var$11 = var$10.$cachedKeySet.$iterator(); while (var$11.$hasNext()) { var$12 = var$11.$next(); var$7 = $par1InventoryCrafting.$tagMap; if (var$12 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { a: { if (!var$12.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= var$12.$nativeString.length) break a; var$12.$hashCode1 = (31 * var$12.$hashCode1 | 0) + var$12.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = var$12.$hashCode1; var$9 = var$7.$elementData.data; var$7 = var$9[var$4 & (var$9.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$4) { b: { var$10 = var$7.$key; if (var$12 !== var$10) { if (var$12 === var$10) var$3 = 1; else if (!(var$10 instanceof jl_String)) var$3 = 0; else { var$10 = var$10; var$3 = var$12.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$7 = var$7.$next3; } } var$7 = var$7 === null ? null : var$7.$value1; var$13 = var$7.$copy(); var$7 = var$6.$tagMap; if (var$12 !== null) var$13.$name = var$12; else var$13.$name = $rt_s(18); ju_HashMap_putImpl(var$7, var$12, var$13); } var$2.$stackTagCompound = var$6; } return var$2; }, nms_ShapelessRecipes_getRecipeSize = $this => { return $this.$recipeItems2.$size0; }; function nms_WorldProvider() { let a = this; jl_Object.call(a); a.$worldObj11 = null; a.$terrainType0 = null; a.$field_82913_c = null; a.$worldChunkMgr = null; a.$isHellWorld = 0; a.$hasNoSky = 0; a.$lightBrightnessTable = null; a.$dimensionId = 0; a.$colorsSunriseSunset = null; } let nms_WorldProvider_moonPhaseFactors = null, nms_WorldProvider_generateLightBrightnessTable = $this => { let $var2, $var3; $var2 = 0; while ($var2 <= 15) { $var3 = 1.0 - $var2 / 15.0; $this.$lightBrightnessTable.data[$var2] = (1.0 - $var3) / ($var3 * 3.0 + 1.0) * 1.0 + 0.0; $var2 = $var2 + 1 | 0; } }, nms_WorldProvider_registerWorldChunkManager = $this => { let var$1, var$2, $var1, var$4, var$5; var$1 = $this.$worldObj11.$worldInfo; var$2 = var$1.$terrainType; if (var$2 !== nms_WorldType_FLAT) { $var1 = new nms_WorldChunkManager; var$4 = var$1.$randomSeed; nms_WorldChunkManager__init_($var1); var$5 = (nms_GenLayer_initializeAllBiomeGenerators(var$4, var$2)).data; $var1.$genBiomes = var$5[0]; $var1.$biomeIndexLayer = var$5[1]; $this.$worldChunkMgr = $var1; } else { $var1 = nms_FlatGeneratorInfo_createFlatGeneratorFromString(var$1.$generatorOptions); var$2 = new nms_WorldChunkManagerHell; nms_BiomeGenBase_$callClinit(); $var1 = nms_BiomeGenBase_biomeList.data[$var1.$biomeToUse]; nms_WorldChunkManager__init_(var$2); var$2.$biomeToUse0 = $var1; var$2.$hellTemperature = 0.5; var$2.$rainfall0 = 0.5; $this.$worldChunkMgr = var$2; } }, nms_WorldProvider_calculateCelestialAngle = ($this, $par1, $par3) => { let $var5; $var5 = (Long_lo(Long_rem($par1, Long_fromInt(24000))) + $par3) / 24000.0 - 0.25; if ($var5 < 0.0) $var5 = $var5 + 1.0; if ($var5 > 1.0) $var5 = $var5 - 1.0; return $var5 + (1.0 - (jl_Math_cos($var5 * 3.141592653589793) + 1.0) / 2.0 - $var5) / 3.0; }, nms_WorldProvider_getMoonPhase = ($this, $par1) => { return Long_lo(Long_div($par1, Long_fromInt(24000))) % 8 | 0; }, nms_WorldProvider_isSurfaceWorld = $this => { return 1; }, nms_WorldProvider_calcSunriseSunsetColors = ($this, $par1, $par2) => { let var$3, $var4, $var6, $var7, var$7, $var3; $par1 = $par1 * 3.1415927410125732 * 2.0; var$3 = nms_MathHelper_SIN_TABLE.data; $var4 = var$3[($par1 * 10430.3779296875 + 16384.0 | 0) & 65535] - 0.0; if ($var4 >= (-0.4000000059604645) && $var4 <= 0.4000000059604645) { $var6 = ($var4 - 0.0) / 0.4000000059604645 * 0.5 + 0.5; $var7 = 1.0 - (1.0 - var$3[($var6 * 3.1415927410125732 * 10430.3779296875 | 0) & 65535]) * 0.9900000095367432; $par1 = $var7 * $var7; var$3 = $this.$colorsSunriseSunset; var$7 = var$3.data; var$7[0] = $var6 * 0.30000001192092896 + 0.699999988079071; $var3 = $var6 * $var6; var$7[1] = $var3 * 0.699999988079071 + 0.20000000298023224; var$7[2] = $var3 * 0.0 + 0.20000000298023224; var$7[3] = $par1; return var$3; } return null; }, nms_WorldProvider_getFogColor = ($this, $par1, $par2) => { let $var3; $par1 = $par1 * 3.1415927410125732 * 2.0; $var3 = nms_MathHelper_SIN_TABLE.data[($par1 * 10430.3779296875 + 16384.0 | 0) & 65535] * 2.0 + 0.5; if ($var3 < 0.0) $var3 = 0.0; if ($var3 > 1.0) $var3 = 1.0; $par1 = $var3 * 0.9399999976158142 + 0.05999999865889549; $par2 = 0.7529411911964417 * $par1; $par1 = 0.8470588326454163 * $par1; $var3 = 1.0 * ($var3 * 0.9100000262260437 + 0.09000000357627869); return nms_Vec3Pool_getVecFromPool($this.$worldObj11.$vecPool, $par2, $par1, $var3); }, nms_WorldProvider_canRespawnHere = $this => { return 1; }, nms_WorldProvider_getCloudHeight = $this => { return 128.0; }, nms_WorldProvider_isSkyColored = $this => { return 1; }, nms_WorldProvider_getWorldHasVoidParticles = $this => { return $this.$terrainType0 !== nms_WorldType_FLAT && !$this.$hasNoSky ? 1 : 0; }, nms_WorldProvider_getVoidFogYFactor = $this => { return $this.$terrainType0 !== nms_WorldType_FLAT ? 0.03125 : 1.0; }, nms_WorldProvider_doesXZShowFog = ($this, $par1, $par2) => { return 0; }, nms_WorldProvider__clinit_ = () => { nms_WorldProvider_moonPhaseFactors = $rt_createFloatArrayFromData([1.0, 0.75, 0.5, 0.25, 0.0, 0.25, 0.5, 0.75]); }; function ju_Formatter() { let a = this; jl_Object.call(a); a.$locale1 = null; a.$out1 = null; a.$ioException = null; } let ju_Formatter__init_ = $this => { let var$1, var$2; ju_Locale_$callClinit(); var$1 = ju_Locale_defaultLocale; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $this.$out1 = var$2; $this.$locale1 = var$1; }, ju_Formatter__init_0 = () => { let var_0 = new ju_Formatter(); ju_Formatter__init_(var_0); return var_0; }, oj_JSONString = $rt_classWithoutFields(0), jur_MatchResult = $rt_classWithoutFields(0); function jur_Matcher() { let a = this; jl_Object.call(a); a.$pat = null; a.$start7 = null; a.$string = null; a.$matchResult = null; a.$leftBound0 = 0; a.$rightBound0 = 0; a.$appendPos = 0; a.$replacement = null; a.$processedRepl = null; a.$replacementParts = null; } let jur_Matcher_processReplacement = ($this, $replacement) => { let $res, $gr, $group, $sb, $i, var$7, $repl, $index, $replacementPos, var$11, var$12, $nextBackSlashed, $$je; $res = $this.$replacement; if ($res !== null) { if ($res === $replacement) $gr = 1; else if (!($replacement instanceof jl_String)) $gr = 0; else { $group = $replacement; $gr = $res.$nativeString !== $group.$nativeString ? 0 : 1; } if ($gr) { if ($this.$replacementParts === null) return $this.$processedRepl; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); $i = 0; while (true) { $replacement = $this.$replacementParts; $gr = $rt_compare($i, $replacement.$size0); if ($gr >= 0) { $replacement = new jl_String; var$7 = $sb.$buffer; $repl = var$7.data; $index = $sb.$length0; $replacementPos = $repl.length; if ($index >= 0 && $index <= ($replacementPos - 0 | 0)) { $replacement.$nativeString = $rt_charArrayToString(var$7.data, 0, $index); return $replacement; } $replacement = new jl_IndexOutOfBoundsException; $replacement.$suppressionEnabled = 1; $replacement.$writableStackTrace = 1; $rt_throw($replacement); } if ($i < 0) break; if ($gr >= 0) break; $replacement = $replacement.$array.data[$i]; jl_AbstractStringBuilder_insert($sb, $sb.$length0, $replacement === null ? $rt_s(1) : $replacement.$toString()); $i = $i + 1 | 0; } $replacement = new jl_IndexOutOfBoundsException; $replacement.$suppressionEnabled = 1; $replacement.$writableStackTrace = 1; $rt_throw($replacement); } } $this.$replacement = $replacement; $repl = $rt_createCharArray($replacement.$nativeString.length); var$11 = $repl.data; $gr = 0; var$12 = var$11.length; while (true) { if ($gr >= var$12) { $res = new jl_StringBuilder; $res.$buffer = $rt_createCharArray(16); $this.$replacementParts = null; $index = 0; $replacementPos = 0; $nextBackSlashed = 0; a: { b: while (true) { if ($index >= var$12) { c: { $replacement = $this.$replacementParts; if ($replacement !== null) { $index = $res.$length0; $gr = $rt_compare($replacementPos, $index); if ($gr) { if ($gr <= 0 && $replacementPos >= 0 && $index <= $index) { $group = new jl_String; var$7 = $res.$buffer; $repl = var$7.data; $gr = $index - $replacementPos | 0; $index = $repl.length; if ($replacementPos >= 0 && $gr >= 0 && $gr <= ($index - $replacementPos | 0)) { $group.$nativeString = $rt_charArrayToString(var$7.data, $replacementPos, $gr); ju_ArrayList_ensureCapacity($replacement, $replacement.$size0 + 1 | 0); var$7 = $replacement.$array.data; $index = $replacement.$size0; $replacement.$size0 = $index + 1 | 0; var$7[$index] = $group; $replacement.$modCount = $replacement.$modCount + 1 | 0; break c; } $replacement = new jl_IndexOutOfBoundsException; $replacement.$suppressionEnabled = 1; $replacement.$writableStackTrace = 1; $rt_throw($replacement); } $replacement = new jl_IndexOutOfBoundsException; $replacement.$suppressionEnabled = 1; $replacement.$writableStackTrace = 1; $rt_throw($replacement); } } } $replacement = new jl_String; var$7 = $res.$buffer; $repl = var$7.data; $index = $res.$length0; $replacementPos = $repl.length; if ($index >= 0 && $index <= ($replacementPos - 0 | 0)) { $replacement.$nativeString = $rt_charArrayToString(var$7.data, 0, $index); return $replacement; } $replacement = new jl_IndexOutOfBoundsException; $replacement.$suppressionEnabled = 1; $replacement.$writableStackTrace = 1; $rt_throw($replacement); } if (var$11[$index] == 92 && !$nextBackSlashed) { $nextBackSlashed = 1; $index = $index + 1 | 0; } d: { if ($nextBackSlashed) { if ($index >= var$12) break b; $gr = var$11[$index]; $nextBackSlashed = $res.$length0; jl_AbstractStringBuilder_insertSpace($res, $nextBackSlashed, $nextBackSlashed + 1 | 0); $res.$buffer.data[$nextBackSlashed] = $gr; $nextBackSlashed = 0; } else if (var$11[$index] != 36) { $gr = var$11[$index]; $i = $res.$length0; jl_AbstractStringBuilder_insertSpace($res, $i, $i + 1 | 0); $res.$buffer.data[$i] = $gr; } else { if ($this.$replacementParts === null) { $replacement = new ju_ArrayList; $replacement.$array = $rt_createArray(jl_Object, 10); $this.$replacementParts = $replacement; } e: { try { $replacement = new jl_String; $index = $index + 1 | 0; jl_String__init_3($replacement, $repl, $index, 1); $gr = jl_Integer_parseInt($replacement); if ($replacementPos == jl_StringBuilder_length($res)) break e; ju_ArrayList_add($this.$replacementParts, jl_StringBuilder_subSequence($res, $replacementPos, jl_StringBuilder_length($res))); $replacementPos = jl_StringBuilder_length($res); break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } } try { ju_ArrayList_add($this.$replacementParts, jur_Matcher$1__init_0($this, $gr)); $group = jur_Matcher_group($this, $gr); $replacementPos = $replacementPos + jl_String_length($group) | 0; jl_StringBuilder_append2($res, $group); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { break a; } else { throw $$e; } } } } $index = $index + 1 | 0; } $replacement = new jl_IndexOutOfBoundsException; $replacement.$suppressionEnabled = 1; $replacement.$writableStackTrace = 1; $rt_throw($replacement); } $replacement = new jl_IllegalArgumentException; $replacement.$suppressionEnabled = 1; $replacement.$writableStackTrace = 1; $replacement.$message = $rt_s(18); $rt_throw($replacement); } if ($gr < 0) break; if ($gr >= $replacement.$nativeString.length) break; var$11[$gr] = $replacement.$nativeString.charCodeAt($gr); $gr = $gr + 1 | 0; } $replacement = new jl_StringIndexOutOfBoundsException; $replacement.$suppressionEnabled = 1; $replacement.$writableStackTrace = 1; $rt_throw($replacement); }, jur_Matcher_group = ($this, $group) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$2 = $this.$matchResult; var$3 = var$2.$valid; if (!var$3) { var$2 = new jl_IllegalStateException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if ($group >= 0) { var$4 = $rt_compare($group, var$2.$groupCount); if (var$4 < 0) { a: { var$5 = var$2.$groupBounds.data; var$6 = $group * 2 | 0; if (var$5[var$6] < 0) var$2 = null; else { var$2 = var$2.$string1; if (!var$3) { var$2 = new jl_IllegalStateException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if ($group >= 0 && var$4 < 0) { var$7 = var$5[var$6]; if (!var$3) { var$2 = new jl_IllegalStateException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if ($group < 0) break a; if (var$4 >= 0) break a; var$2 = jl_String_substring(var$2, var$7, var$5[var$6 + 1 | 0]); } else { var$2 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $group, 10); var$9 = new jl_String; var$5 = var$8.$buffer; var$10 = var$5.data; var$7 = var$8.$length0; var$6 = var$10.length; if (var$7 >= 0 && var$7 <= (var$6 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$9; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } return var$2; } var$2 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $group, 10); var$9 = new jl_String; var$5 = var$8.$buffer; var$10 = var$5.data; var$7 = var$8.$length0; var$6 = var$10.length; if (var$7 >= 0 && var$7 <= (var$6 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$9; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } var$2 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $group, 10); var$9 = new jl_String; var$5 = var$8.$buffer; var$10 = var$5.data; var$7 = var$8.$length0; var$6 = var$10.length; if (var$7 >= 0 && var$7 <= (var$6 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$9; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, jur_Matcher_find0 = ($this, $start) => { let $stringLength, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $stringLength = $this.$string.$nativeString.length; if ($start >= 0 && $start <= $stringLength) { var$3 = $this.$matchResult; var$3.$valid = 0; var$3.$mode0 = 2; var$4 = var$3.$groupBounds.data; var$5 = 0; var$6 = var$4.length; if (var$5 > var$6) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } while (var$5 < var$6) { var$7 = var$5 + 1 | 0; var$4[var$5] = (-1); var$5 = var$7; } var$4 = var$3.$consumers.data; var$5 = 0; var$6 = var$4.length; if (var$5 > var$6) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } while (var$5 < var$6) { var$7 = var$5 + 1 | 0; var$4[var$5] = (-1); var$5 = var$7; } var$3.$startIndex = var$3.$leftBound; var$3.$mode0 = 1; var$3.$startIndex = $start; $stringLength = var$3.$previousMatch; if ($stringLength < 0) $stringLength = $start; var$3.$previousMatch = $stringLength; $start = $this.$start7.$find0($start, $this.$string, var$3); if ($start == (-1)) $this.$matchResult.$hitEnd = 1; if ($start >= 0) { var$3 = $this.$matchResult; $start = var$3.$valid; if ($start) { var$4 = var$3.$groupBounds.data; if (var$4[0] == (-1)) { var$5 = var$3.$startIndex; var$4[0] = var$5; var$4[1] = var$5; } if (!$start) { var$3 = new jl_IllegalStateException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } if (0 < var$3.$groupCount) { var$3.$previousMatch = var$4[1]; return 1; } var$3 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, 0, 10); var$9 = new jl_String; var$4 = var$8.$buffer; var$10 = var$4.data; $stringLength = var$8.$length0; var$5 = var$10.length; if ($stringLength >= 0 && $stringLength <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$4.data, 0, $stringLength); var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = var$9; $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } } $this.$matchResult.$startIndex = (-1); return 0; } var$3 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $start, 10); var$9 = new jl_String; var$4 = var$8.$buffer; var$10 = var$4.data; $stringLength = var$8.$length0; var$5 = var$10.length; if ($stringLength >= 0 && $stringLength <= (var$5 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$4.data, 0, $stringLength); var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = var$9; $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); }, jur_Matcher_find = $this => { let $length, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $length = $this.$string.$nativeString.length; var$2 = $this.$matchResult; if (!var$2.$transparentBounds) $length = $this.$rightBound0; if (var$2.$startIndex >= 0 && var$2.$mode0 == 1) { var$3 = var$2.$valid; if (!var$3) { var$2 = new jl_IllegalStateException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$4 = $rt_compare(0, var$2.$groupCount); if (var$4 >= 0) { var$2 = new jl_IndexOutOfBoundsException; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, 0, 10); var$6 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; $length = var$5.$length0; var$9 = var$8.length; if ($length >= 0 && $length <= (var$9 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, $length); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$6; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$7 = var$2.$groupBounds.data; var$10 = var$7[1]; var$2.$startIndex = var$10; if (!var$3) { var$2 = new jl_IllegalStateException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if (var$4 >= 0) { var$2 = new jl_IndexOutOfBoundsException; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, 0, 10); var$6 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; $length = var$5.$length0; var$9 = var$8.length; if ($length >= 0 && $length <= (var$9 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, $length); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$6; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$9 = var$7[1]; if (!var$3) { var$2 = new jl_IllegalStateException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if (var$4 < 0) { if (var$9 == var$7[0]) var$2.$startIndex = var$10 + 1 | 0; var$11 = var$2.$startIndex; return var$11 <= $length && jur_Matcher_find0($this, var$11) ? 1 : 0; } var$2 = new jl_IndexOutOfBoundsException; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, 0, 10); var$6 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; $length = var$5.$length0; var$9 = var$8.length; if ($length >= 0 && $length <= (var$9 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, $length); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$6; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } return jur_Matcher_find0($this, $this.$leftBound0); }, jur_Matcher__init_0 = ($this, $pat, $cs) => { let var$3, var$4; $this.$leftBound0 = (-1); $this.$rightBound0 = (-1); $this.$pat = $pat; $this.$start7 = $pat.$start9; $this.$string = $cs; $this.$leftBound0 = 0; var$3 = $cs.$nativeString.length; $this.$rightBound0 = var$3; var$4 = jur_MatchResultImpl__init_($cs, $this.$leftBound0, var$3, $pat.$globalGroupIndex, $pat.$compCount + 1 | 0, $pat.$consCount + 1 | 0); $this.$matchResult = var$4; var$4.$anchoringBounds = 1; }, jur_Matcher__init_ = (var_0, var_1) => { let var_2 = new jur_Matcher(); jur_Matcher__init_0(var_2, var_0, var_1); return var_2; }; function nlea_EaglerAdapterImpl2$AudioSourceNodeX() { let a = this; jl_Object.call(a); a.$panner = null; a.$gain = null; a.$music = 0; } function nlea_EaglerAdapterImpl2$AudioBufferSourceNodeX() { nlea_EaglerAdapterImpl2$AudioSourceNodeX.call(this); this.$source = null; } function nlea_EaglerAdapterImpl2$30() { jl_Object.call(this); this.$val$theId4 = 0; } let nlea_EaglerAdapterImpl2$30_handleEvent$exported$0 = (var$0, var$1) => { let var$2, var$3; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_activeSoundEffects; var$2 = var$0.$val$theId4; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } ju_HashMap_removeByKey(var$1, var$3); }; function nlea_EaglerAdapterImpl2$MediaElementAudioSourceNodeX() { let a = this; nlea_EaglerAdapterImpl2$AudioSourceNodeX.call(a); a.$source0 = null; a.$audio = null; } function nlea_EaglerAdapterImpl2$28() { jl_Object.call(this); this.$val$theId = 0; } let nlea_EaglerAdapterImpl2$28_handleEvent$exported$0 = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_activeSoundEffects; var$2 = var$0.$val$theId; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$4 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$6 = var$1.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } if (var$1 === null ? 0 : 1) { var$1 = nlea_EaglerAdapterImpl2_activeSoundEffects; var$2 = var$0.$val$theId; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$2 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$2 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$2) { var$6 = var$1.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$2 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } (var$1 === null ? null : var$1.$value1).$audio.play(); } }; function nlea_EaglerAdapterImpl2$29() { jl_Object.call(this); this.$val$theId1 = 0; } let nlea_EaglerAdapterImpl2$29_handleEvent$exported$0 = (var$0, var$1) => { let var$2, var$3; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_activeSoundEffects; var$2 = var$0.$val$theId1; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } var$1 = ju_HashMap_removeByKey(var$1, var$3); var$1 = (var$1 === null ? null : var$1.$value1).$audio; var$3 = ""; var$1.src = var$3; }; function nms_BiomeGenBase() { let a = this; jl_Object.call(a); a.$biomeName = null; a.$color = 0; a.$topBlock = 0; a.$fillerBlock = 0; a.$field_76754_C = 0; a.$minHeight = 0.0; a.$maxHeight = 0.0; a.$temperature = 0.0; a.$rainfall = 0.0; a.$waterColorMultiplier = 0; a.$theBiomeDecorator = null; a.$spawnableMonsterList = null; a.$spawnableCreatureList = null; a.$spawnableWaterCreatureList = null; a.$spawnableCaveCreatureList = null; a.$enableSnow = 0; a.$enableRain = 0; a.$biomeID = 0; a.$worldGeneratorTrees = null; a.$worldGeneratorBigTree = null; a.$worldGeneratorForest = null; a.$worldGeneratorSwamp = null; } let nms_BiomeGenBase_biomeList = null, nms_BiomeGenBase_ocean = null, nms_BiomeGenBase_plains = null, nms_BiomeGenBase_desert = null, nms_BiomeGenBase_extremeHills = null, nms_BiomeGenBase_forest = null, nms_BiomeGenBase_taiga = null, nms_BiomeGenBase_swampland = null, nms_BiomeGenBase_river = null, nms_BiomeGenBase_hell = null, nms_BiomeGenBase_sky = null, nms_BiomeGenBase_frozenOcean = null, nms_BiomeGenBase_frozenRiver = null, nms_BiomeGenBase_icePlains = null, nms_BiomeGenBase_iceMountains = null, nms_BiomeGenBase_mushroomIsland = null, nms_BiomeGenBase_mushroomIslandShore = null, nms_BiomeGenBase_beach = null, nms_BiomeGenBase_desertHills = null, nms_BiomeGenBase_forestHills = null, nms_BiomeGenBase_taigaHills = null, nms_BiomeGenBase_extremeHillsEdge = null, nms_BiomeGenBase_jungle = null, nms_BiomeGenBase_jungleHills = null, nms_BiomeGenBase_$callClinit = () => { nms_BiomeGenBase_$callClinit = $rt_eraseClinit(nms_BiomeGenBase); nms_BiomeGenBase__clinit_(); }, nms_BiomeGenBase__init_ = ($this, $par1) => { let var$2, var$3, var$4, var$5; nms_BiomeGenBase_$callClinit(); nms_Block_$callClinit(); $this.$topBlock = nms_Block_grass.$blockID << 24 >> 24; $this.$fillerBlock = nms_Block_dirt.$blockID << 24 >> 24; $this.$field_76754_C = 5169201; $this.$minHeight = 0.10000000149011612; $this.$maxHeight = 0.30000001192092896; $this.$temperature = 0.5; $this.$rainfall = 0.5; $this.$waterColorMultiplier = 16777215; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $this.$spawnableMonsterList = var$2; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $this.$spawnableCreatureList = var$2; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $this.$spawnableWaterCreatureList = var$2; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $this.$spawnableCaveCreatureList = var$2; $this.$enableRain = 1; var$2 = new nms_WorldGenTrees; var$2.$doBlockNotify = 0; var$2.$minTreeHeight = 4; var$2.$metaWood = 0; var$2.$metaLeaves = 0; var$2.$vinesGrow = 0; $this.$worldGeneratorTrees = var$2; $this.$worldGeneratorBigTree = nms_WorldGenBigTree__init_(0); var$2 = new nms_WorldGenForest; var$2.$doBlockNotify = 0; $this.$worldGeneratorForest = var$2; var$2 = new nms_WorldGenSwamp; var$2.$doBlockNotify = 0; $this.$worldGeneratorSwamp = var$2; $this.$biomeID = $par1; nms_BiomeGenBase_biomeList.data[$par1] = $this; $this.$theBiomeDecorator = nms_BiomeDecorator__init_0($this); var$2 = $this.$spawnableCreatureList; var$3 = new nms_SpawnListEntry; var$3.$itemWeight = 12; var$3.$entityClass = $rt_cls(nms_EntitySheep); var$3.$minGroupCount = 4; var$3.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$4[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$spawnableCreatureList; var$3 = new nms_SpawnListEntry; var$3.$itemWeight = 10; var$3.$entityClass = $rt_cls(nms_EntityPig); var$3.$minGroupCount = 4; var$3.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$4[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$spawnableCreatureList; var$3 = new nms_SpawnListEntry; var$3.$itemWeight = 10; var$3.$entityClass = $rt_cls(nms_EntityChicken); var$3.$minGroupCount = 4; var$3.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$4[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$spawnableCreatureList; var$3 = new nms_SpawnListEntry; var$3.$itemWeight = 8; var$3.$entityClass = $rt_cls(nms_EntityCow); var$3.$minGroupCount = 4; var$3.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$4[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$spawnableMonsterList; var$3 = new nms_SpawnListEntry; var$3.$itemWeight = 10; var$3.$entityClass = $rt_cls(nms_EntitySpider); var$3.$minGroupCount = 4; var$3.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$4[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$spawnableMonsterList; var$3 = new nms_SpawnListEntry; var$3.$itemWeight = 10; var$3.$entityClass = $rt_cls(nms_EntityZombie); var$3.$minGroupCount = 4; var$3.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$4[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$spawnableMonsterList; var$3 = new nms_SpawnListEntry; var$3.$itemWeight = 10; var$3.$entityClass = $rt_cls(nms_EntitySkeleton); var$3.$minGroupCount = 4; var$3.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$4[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$spawnableMonsterList; var$3 = new nms_SpawnListEntry; var$3.$itemWeight = 10; var$3.$entityClass = $rt_cls(nms_EntityCreeper); var$3.$minGroupCount = 4; var$3.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$4[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$spawnableMonsterList; var$3 = new nms_SpawnListEntry; var$3.$itemWeight = 10; var$3.$entityClass = $rt_cls(nms_EntitySlime); var$3.$minGroupCount = 4; var$3.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; $par1 = var$2.$size0; var$2.$size0 = $par1 + 1 | 0; var$4[$par1] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$spawnableMonsterList; var$3 = new nms_SpawnListEntry; var$3.$itemWeight = 1; var$3.$entityClass = $rt_cls(nms_EntityEnderman); var$3.$minGroupCount = 1; var$3.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$4[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$spawnableWaterCreatureList; var$3 = new nms_SpawnListEntry; var$3.$itemWeight = 10; var$3.$entityClass = $rt_cls(nms_EntitySquid); var$3.$minGroupCount = 4; var$3.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$4[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$spawnableCaveCreatureList; var$3 = new nms_SpawnListEntry; var$3.$itemWeight = 10; var$3.$entityClass = $rt_cls(nms_EntityBat); var$3.$minGroupCount = 8; var$3.$maxGroupCount = 8; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$4[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; }, nms_BiomeGenBase_createBiomeDecorator = $this => { return nms_BiomeDecorator__init_0($this); }, nms_BiomeGenBase_setEnableSnow = $this => { $this.$enableSnow = 1; return $this; }, nms_BiomeGenBase_setBiomeName = ($this, $par1Str) => { $this.$biomeName = $par1Str; return $this; }, nms_BiomeGenBase_func_76733_a = ($this, $par1) => { $this.$field_76754_C = $par1; return $this; }, nms_BiomeGenBase_getSkyColorByTemp = ($this, $par1) => { let var$2; var$2 = $par1 / 3.0; if (var$2 < (-1.0)) var$2 = (-1.0); if (var$2 > 1.0) var$2 = 1.0; return nms_BiomeGenBase_HSBtoRGB(0.6222222447395325 - var$2 * 0.05000000074505806, 0.5 + var$2 * 0.10000000149011612, 1.0); }, nms_BiomeGenBase_HSBtoRGB = ($hue, $saturation, $brightness) => { let $r, $g, $b, $h, $f, $p, $q, $t; nms_BiomeGenBase_$callClinit(); a: { $r = 0; $g = 0; $b = 0; if ($saturation === 0.0) { $r = $brightness * 255.0 + 0.5 | 0; $b = $r; $g = $r; } else { $h = ($hue - jl_Math_floor($hue)) * 6.0; $f = $h - jl_Math_floor($h); $p = $brightness * (1.0 - $saturation); $q = $brightness * (1.0 - $saturation * $f); $t = $brightness * (1.0 - $saturation * (1.0 - $f)); switch ($h | 0) { case 0: $r = $brightness * 255.0 + 0.5 | 0; $g = $t * 255.0 + 0.5 | 0; $b = $p * 255.0 + 0.5 | 0; break a; case 1: $r = $q * 255.0 + 0.5 | 0; $g = $brightness * 255.0 + 0.5 | 0; $b = $p * 255.0 + 0.5 | 0; break a; case 2: $r = $p * 255.0 + 0.5 | 0; $g = $brightness * 255.0 + 0.5 | 0; $b = $t * 255.0 + 0.5 | 0; break a; case 3: $r = $p * 255.0 + 0.5 | 0; $g = $q * 255.0 + 0.5 | 0; $b = $brightness * 255.0 + 0.5 | 0; break a; case 4: $r = $t * 255.0 + 0.5 | 0; $g = $p * 255.0 + 0.5 | 0; $b = $brightness * 255.0 + 0.5 | 0; break a; case 5: $r = $brightness * 255.0 + 0.5 | 0; $g = $p * 255.0 + 0.5 | 0; $b = $q * 255.0 + 0.5 | 0; break a; default: } } } return (-16777216) | $r << 16 | $g << 8 | $b << 0; }, nms_BiomeGenBase_getEnableSnow = $this => { return $this.$enableSnow; }, nms_BiomeGenBase_canSpawnLightningBolt = $this => { return !$this.$enableSnow ? $this.$enableRain : 0; }, nms_BiomeGenBase_getBiomeGrassColor = $this => { let var$1, var$2, $var1, var$4, $var3, var$6, var$7; if ($this.$biomeID == 6) return 6975545; var$1 = $this.$temperature; var$2 = 0.0; if (var$1 >= var$2) var$2 = var$1 <= 1.0 ? var$1 : 1.0; $var1 = var$2; var$1 = $this.$rainfall; var$4 = 0.0; if (var$1 >= var$4) var$4 = var$1 <= 1.0 ? var$1 : 1.0; $var3 = var$4 * $var1; var$6 = (1.0 - $var1) * 255.0 | 0; var$7 = (1.0 - $var3) * 255.0 | 0; return nms_ColorizerGrass_grassBuffer.data[var$7 << 8 | var$6]; }, nms_BiomeGenBase_getBiomeFoliageColor = $this => { let var$1, var$2, $var1, var$4, $var3, var$6, var$7; if ($this.$biomeID == 6) return 6975545; var$1 = $this.$temperature; var$2 = 0.0; if (var$1 >= var$2) var$2 = var$1 <= 1.0 ? var$1 : 1.0; $var1 = var$2; var$1 = $this.$rainfall; var$4 = 0.0; if (var$1 >= var$4) var$4 = var$1 <= 1.0 ? var$1 : 1.0; $var3 = var$4 * $var1; var$6 = (1.0 - $var1) * 255.0 | 0; var$7 = (1.0 - $var3) * 255.0 | 0; return nms_ColorizerFoliage_foliageBuffer.data[var$7 << 8 | var$6]; }, nms_BiomeGenBase__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; nms_BiomeGenBase_biomeList = $rt_createArray(nms_BiomeGenBase, 256); var$1 = new nms_BiomeGenOcean; nms_BiomeGenBase__init_(var$1, 0); var$2 = var$1.$spawnableCreatureList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$1.$color = 112; var$1.$biomeName = $rt_s(3260); var$1.$minHeight = (-1.0); var$1.$maxHeight = 0.4000000059604645; nms_BiomeGenBase_ocean = var$1; var$1 = new nms_BiomeGenPlains; nms_BiomeGenBase__init_(var$1, 1); var$6 = var$1.$spawnableCreatureList; var$9 = new nms_SpawnListEntry; var$9.$itemWeight = 5; var$9.$entityClass = $rt_cls(nms_EntityHorse); var$9.$minGroupCount = 2; var$9.$maxGroupCount = 6; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; var$2 = var$1.$theBiomeDecorator; var$2.$treesPerChunk = (-999); var$2.$flowersPerChunk = 4; var$2.$grassPerChunk = 10; var$1.$color = 9286496; var$1.$biomeName = $rt_s(3261); var$1.$temperature = 0.800000011920929; var$1.$rainfall = 0.4000000059604645; nms_BiomeGenBase_plains = var$1; var$1 = nms_BiomeGenDesert__init_(2); var$1.$color = 16421912; var$1.$biomeName = $rt_s(3262); var$1.$enableRain = 0; var$1.$temperature = 2.0; var$1.$rainfall = 0.0; var$1.$minHeight = 0.10000000149011612; var$1.$maxHeight = 0.20000000298023224; nms_BiomeGenBase_desert = var$1; var$1 = new nms_BiomeGenHills; nms_BiomeGenBase__init_(var$1, 3); var$6 = new nms_WorldGenMinable; nms_Block_$callClinit(); var$5 = nms_Block_silverfish.$blockID; var$8 = nms_Block_stone.$blockID; var$6.$doBlockNotify = 0; var$6.$minableBlockId = var$5; var$6.$numberOfBlocks = 8; var$6.$blockToReplace = var$8; var$1.$theWorldGenerator = var$6; var$1.$color = 6316128; var$1.$biomeName = $rt_s(3263); var$1.$minHeight = 0.30000001192092896; var$1.$maxHeight = 1.5; var$1.$temperature = 0.20000000298023224; var$1.$rainfall = 0.30000001192092896; nms_BiomeGenBase_extremeHills = var$1; var$1 = new nms_BiomeGenForest; nms_BiomeGenBase__init_(var$1, 4); var$6 = var$1.$spawnableCreatureList; var$9 = new nms_SpawnListEntry; var$9.$itemWeight = 5; var$9.$entityClass = $rt_cls(nms_EntityWolf); var$9.$minGroupCount = 4; var$9.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; var$2 = var$1.$theBiomeDecorator; var$2.$treesPerChunk = 10; var$2.$grassPerChunk = 2; var$1.$color = 353825; var$1.$biomeName = $rt_s(3264); var$1.$field_76754_C = 5159473; var$1.$temperature = 0.699999988079071; var$1.$rainfall = 0.800000011920929; nms_BiomeGenBase_forest = var$1; var$1 = new nms_BiomeGenTaiga; nms_BiomeGenBase__init_(var$1, 5); var$6 = var$1.$spawnableCreatureList; var$9 = new nms_SpawnListEntry; var$9.$itemWeight = 8; var$9.$entityClass = $rt_cls(nms_EntityWolf); var$9.$minGroupCount = 4; var$9.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; var$2 = var$1.$theBiomeDecorator; var$2.$treesPerChunk = 10; var$2.$grassPerChunk = 1; var$1.$color = 747097; var$1.$biomeName = $rt_s(3265); var$1.$field_76754_C = 5159473; var$1.$enableSnow = 1; var$1.$temperature = 0.05000000074505806; var$1.$rainfall = 0.800000011920929; var$1.$minHeight = 0.10000000149011612; var$1.$maxHeight = 0.4000000059604645; nms_BiomeGenBase_taiga = var$1; var$1 = nms_BiomeGenSwamp__init_(6); var$1.$color = 522674; var$1.$biomeName = $rt_s(3266); var$1.$field_76754_C = 9154376; var$1.$minHeight = (-0.20000000298023224); var$1.$maxHeight = 0.10000000149011612; var$1.$temperature = 0.800000011920929; var$1.$rainfall = 0.8999999761581421; nms_BiomeGenBase_swampland = var$1; var$1 = new nms_BiomeGenRiver; nms_BiomeGenBase__init_(var$1, 7); var$2 = var$1.$spawnableCreatureList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$1.$color = 255; var$1.$biomeName = $rt_s(3267); var$1.$minHeight = (-0.5); var$1.$maxHeight = 0.0; nms_BiomeGenBase_river = var$1; var$1 = nms_BiomeGenHell__init_(8); var$1.$color = 16711680; var$1.$biomeName = $rt_s(3268); var$1.$enableRain = 0; var$1.$temperature = 2.0; var$1.$rainfall = 0.0; nms_BiomeGenBase_hell = var$1; var$1 = nms_BiomeGenEnd__init_(9); var$1.$color = 8421631; var$1.$biomeName = $rt_s(3269); var$1.$enableRain = 0; nms_BiomeGenBase_sky = var$1; var$1 = new nms_BiomeGenOcean; nms_BiomeGenBase__init_(var$1, 10); var$2 = var$1.$spawnableCreatureList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$1.$color = 9474208; var$1.$biomeName = $rt_s(3270); var$1.$enableSnow = 1; var$1.$minHeight = (-1.0); var$1.$maxHeight = 0.5; var$1.$temperature = 0.0; var$1.$rainfall = 0.5; nms_BiomeGenBase_frozenOcean = var$1; var$1 = new nms_BiomeGenRiver; nms_BiomeGenBase__init_(var$1, 11); var$2 = var$1.$spawnableCreatureList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$1.$color = 10526975; var$1.$biomeName = $rt_s(3271); var$1.$enableSnow = 1; var$1.$minHeight = (-0.5); var$1.$maxHeight = 0.0; var$1.$temperature = 0.0; var$1.$rainfall = 0.5; nms_BiomeGenBase_frozenRiver = var$1; var$1 = new nms_BiomeGenSnow; nms_BiomeGenBase__init_(var$1, 12); var$1.$color = 16777215; var$1.$biomeName = $rt_s(3272); var$1.$enableSnow = 1; var$1.$temperature = 0.0; var$1.$rainfall = 0.5; nms_BiomeGenBase_icePlains = var$1; var$1 = new nms_BiomeGenSnow; nms_BiomeGenBase__init_(var$1, 13); var$1.$color = 10526880; var$1.$biomeName = $rt_s(3273); var$1.$enableSnow = 1; var$1.$minHeight = 0.30000001192092896; var$1.$maxHeight = 1.2999999523162842; var$1.$temperature = 0.0; var$1.$rainfall = 0.5; nms_BiomeGenBase_iceMountains = var$1; var$1 = nms_BiomeGenMushroomIsland__init_(14); var$1.$color = 16711935; var$1.$biomeName = $rt_s(3274); var$1.$temperature = 0.8999999761581421; var$1.$rainfall = 1.0; var$1.$minHeight = 0.20000000298023224; var$1.$maxHeight = 1.0; nms_BiomeGenBase_mushroomIsland = var$1; var$1 = nms_BiomeGenMushroomIsland__init_(15); var$1.$color = 10486015; var$1.$biomeName = $rt_s(3275); var$1.$temperature = 0.8999999761581421; var$1.$rainfall = 1.0; var$1.$minHeight = (-1.0); var$1.$maxHeight = 0.10000000149011612; nms_BiomeGenBase_mushroomIslandShore = var$1; var$1 = nms_BiomeGenBeach__init_0(16); var$1.$color = 16440917; var$1.$biomeName = $rt_s(3276); var$1.$temperature = 0.800000011920929; var$1.$rainfall = 0.4000000059604645; var$1.$minHeight = 0.0; var$1.$maxHeight = 0.10000000149011612; nms_BiomeGenBase_beach = var$1; var$1 = nms_BiomeGenDesert__init_(17); var$1.$color = 13786898; var$1.$biomeName = $rt_s(3277); var$1.$enableRain = 0; var$1.$temperature = 2.0; var$1.$rainfall = 0.0; var$1.$minHeight = 0.30000001192092896; var$1.$maxHeight = 0.800000011920929; nms_BiomeGenBase_desertHills = var$1; var$1 = new nms_BiomeGenForest; nms_BiomeGenBase__init_(var$1, 18); var$6 = var$1.$spawnableCreatureList; var$9 = new nms_SpawnListEntry; var$9.$itemWeight = 5; var$9.$entityClass = $rt_cls(nms_EntityWolf); var$9.$minGroupCount = 4; var$9.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; var$2 = var$1.$theBiomeDecorator; var$2.$treesPerChunk = 10; var$2.$grassPerChunk = 2; var$1.$color = 2250012; var$1.$biomeName = $rt_s(3278); var$1.$field_76754_C = 5159473; var$1.$temperature = 0.699999988079071; var$1.$rainfall = 0.800000011920929; var$1.$minHeight = 0.30000001192092896; var$1.$maxHeight = 0.699999988079071; nms_BiomeGenBase_forestHills = var$1; var$1 = new nms_BiomeGenTaiga; nms_BiomeGenBase__init_(var$1, 19); var$6 = var$1.$spawnableCreatureList; var$9 = new nms_SpawnListEntry; var$9.$itemWeight = 8; var$9.$entityClass = $rt_cls(nms_EntityWolf); var$9.$minGroupCount = 4; var$9.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; var$2 = var$1.$theBiomeDecorator; var$2.$treesPerChunk = 10; var$2.$grassPerChunk = 1; var$1.$color = 1456435; var$1.$biomeName = $rt_s(3279); var$1.$enableSnow = 1; var$1.$field_76754_C = 5159473; var$1.$temperature = 0.05000000074505806; var$1.$rainfall = 0.800000011920929; var$1.$minHeight = 0.30000001192092896; var$1.$maxHeight = 0.800000011920929; nms_BiomeGenBase_taigaHills = var$1; var$1 = new nms_BiomeGenHills; nms_BiomeGenBase__init_(var$1, 20); var$6 = new nms_WorldGenMinable; var$5 = nms_Block_silverfish.$blockID; var$8 = nms_Block_stone.$blockID; var$6.$doBlockNotify = 0; var$6.$minableBlockId = var$5; var$6.$numberOfBlocks = 8; var$6.$blockToReplace = var$8; var$1.$theWorldGenerator = var$6; var$1.$color = 7501978; var$1.$biomeName = $rt_s(3280); var$1.$minHeight = 0.20000000298023224; var$1.$maxHeight = 0.800000011920929; var$1.$temperature = 0.20000000298023224; var$1.$rainfall = 0.30000001192092896; nms_BiomeGenBase_extremeHillsEdge = var$1; var$1 = nms_BiomeGenJungle__init_(21); var$1.$color = 5470985; var$1.$biomeName = $rt_s(3281); var$1.$field_76754_C = 5470985; var$1.$temperature = 1.2000000476837158; var$1.$rainfall = 0.8999999761581421; var$1.$minHeight = 0.20000000298023224; var$1.$maxHeight = 0.4000000059604645; nms_BiomeGenBase_jungle = var$1; var$1 = nms_BiomeGenJungle__init_(22); var$1.$color = 2900485; var$1.$biomeName = $rt_s(3282); var$1.$field_76754_C = 5470985; var$1.$temperature = 1.2000000476837158; var$1.$rainfall = 0.8999999761581421; var$1.$minHeight = 1.7999999523162842; var$1.$maxHeight = 0.5; nms_BiomeGenBase_jungleHills = var$1; }; function nms_EntitySmokeFX() { nms_EntityFX.call(this); this.$smokeParticleScale = 0.0; } let nms_EntitySmokeFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14) => { let var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$par14 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$9 = 0.0; var$10 = 0.0; var$11 = 0.0; $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, var$9, var$10, var$11); if ($rt_suspending()) { break main; } $par2 = $this.$motionX * 0.10000000149011612; $this.$motionX = $par2; $par4 = $this.$motionY * 0.10000000149011612; $this.$motionY = $par4; $par6 = $this.$motionZ * 0.10000000149011612; $this.$motionZ = $par6; $this.$motionX = $par2 + $par8; $this.$motionY = $par4 + $par10; $this.$motionZ = $par6 + $par12; var$12 = jl_Math_randomImpl() * 0.30000001192092896; $this.$particleBlue = var$12; $this.$particleGreen = var$12; $this.$particleRed = var$12; var$12 = $this.$particleScale * 0.75; $this.$particleScale = var$12; var$12 = var$12 * $par14; $this.$particleScale = var$12; $this.$smokeParticleScale = var$12; var$13 = 8.0 / (jl_Math_randomImpl() * 0.8 + 0.2) | 0; $this.$particleMaxAge = var$13; $this.$particleMaxAge = var$13 * $par14 | 0; $this.$noClip = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntitySmokeFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7) => { let var_8 = new nms_EntitySmokeFX(); nms_EntitySmokeFX__init_(var_8, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7); return var_8; }, nms_EntitySmokeFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8; $var8 = ($this.$particleAge + $par2) / $this.$particleMaxAge * 32.0; if ($var8 < 0.0) $var8 = 0.0; if ($var8 > 1.0) $var8 = 1.0; $this.$particleScale = $this.$smokeParticleScale * $var8; nms_EntityFX_renderParticle($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7); }, nms_EntitySmokeFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; var$2 = var$1 + 1 | 0; $this.$particleAge = var$2; var$3 = $this.$particleMaxAge; if (var$1 >= var$3) $this.$isDead = 1; var$2 = 7 - ((var$2 * 8 | 0) / var$3 | 0) | 0; $this.$particleTextureIndexX = var$2 % 16 | 0; $this.$particleTextureIndexY = var$2 / 16 | 0; var$4 = $this.$motionY + 0.004; $this.$motionY = var$4; var$5 = $this.$motionX; var$6 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$5, var$4, var$6); if ($rt_suspending()) { break main; } if ($this.$posY === $this.$prevPosY) { $this.$motionX = $this.$motionX * 1.1; $this.$motionZ = $this.$motionZ * 1.1; } var$4 = $this.$motionX * 0.9599999785423279; $this.$motionX = var$4; $this.$motionY = $this.$motionY * 0.9599999785423279; var$5 = $this.$motionZ * 0.9599999785423279; $this.$motionZ = var$5; if ($this.$onGround) { $this.$motionX = var$4 * 0.699999988079071; $this.$motionZ = var$5 * 0.699999988079071; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntityRainFX = $rt_classWithoutFields(nms_EntityFX), nms_EntityRainFX__init_ = ($this, $par1World, $par2, $par4, $par6) => { let var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = 0.0; var$6 = 0.0; var$7 = 0.0; $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, var$5, var$6, var$7); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.30000001192092896; $this.$motionY = jl_Math_randomImpl() * 0.20000000298023224 + 0.10000000149011612; $this.$motionZ = $this.$motionZ * 0.30000001192092896; $this.$particleRed = 1.0; $this.$particleGreen = 1.0; $this.$particleBlue = 1.0; $par1World = $this.$rand; var$8 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; var$9 = 19 + Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$8, 17)))), 31)) | 0; $this.$particleTextureIndexX = var$9 % 16 | 0; $this.$particleTextureIndexY = var$9 / 16 | 0; var$10 = 0.009999999776482582; var$11 = 0.009999999776482582; $ptr = 2; case 2: nms_Entity_setSize($this, var$10, var$11); if ($rt_suspending()) { break main; } $this.$particleGravity = 0.05999999865889549; $this.$particleMaxAge = 8.0 / (jl_Math_randomImpl() * 0.8 + 0.2) | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_EntityRainFX__init_0 = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_EntityRainFX(); nms_EntityRainFX__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_EntityRainFX_onUpdate = $this => { let $var2, var$2, var$3, var$4, $var1, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var1 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; $var2 = $this.$motionY - $this.$particleGravity; $this.$motionY = $var2; var$2 = $this.$motionX; var$3 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, $var2, var$3); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.9800000190734863; $this.$motionY = $this.$motionY * 0.9800000190734863; $this.$motionZ = $this.$motionZ * 0.9800000190734863; var$4 = $this.$particleMaxAge; $this.$particleMaxAge = var$4 - 1 | 0; if (var$4 <= 0) $this.$isDead = 1; if ($this.$onGround) { if (jl_Math_randomImpl() < 0.5) $this.$isDead = 1; $this.$motionX = $this.$motionX * 0.699999988079071; $this.$motionZ = $this.$motionZ * 0.699999988079071; } $var1 = $this.$worldObj; $var2 = $this.$posX; var$6 = $var2 | 0; if ($var2 < var$6) var$6 = var$6 - 1 | 0; $var2 = $this.$posY; var$7 = $var2 | 0; if ($var2 < var$7) var$7 = var$7 - 1 | 0; $var2 = $this.$posZ; var$8 = $var2 | 0; if ($var2 < var$8) var$8 = var$8 - 1 | 0; var$4 = nms_World_getBlockId($var1, var$6, var$7, var$8); if (!var$4) { nms_Material_$callClinit(); $var1 = nms_Material_air; } else { nms_Block_$callClinit(); $var1 = nms_Block_blocksList.data[var$4].$blockMaterial; } if (!(!$var1.$isLiquid() && !$var1.$isSolid())) { $var2 = $this.$posY; var$7 = $var2 | 0; var$8 = $rt_compare($var2, var$7); var$9 = (var$8 >= 0 ? var$7 : var$7 - 1 | 0) + 1 | 0; $var1 = $this.$worldObj; $var2 = $this.$posX; var$6 = $var2 | 0; if ($var2 < var$6) var$6 = var$6 - 1 | 0; if (var$8 < 0) var$7 = var$7 - 1 | 0; $var2 = $this.$posZ; var$8 = $var2 | 0; if ($var2 < var$8) var$8 = var$8 - 1 | 0; var$4 = nms_World_getBlockMetadata($var1, var$6, var$7, var$8); if (var$4 >= 8) var$4 = 0; $var2 = var$9 - (var$4 + 1 | 0) / 9.0; if ($this.$posY < $var2) $this.$isDead = 1; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, var$2, var$3, var$4, $var1, var$6, var$7, var$8, var$9, $ptr); }; function nleav_VirtualFilesystem() { let a = this; jl_Object.call(a); a.$fileMap = null; a.$database0 = null; a.$indexeddb = null; } let nleav_VirtualFilesystem_openVFS = $db => { let var$2, $evt, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$evt = $thread.pop();var$2 = $thread.pop();$db = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nleav_VirtualFilesystem$AsyncHandlers_openDB$_asyncCall_$($db); if ($rt_suspending()) { break main; } var$2 = $tmp; $evt = var$2; if ($evt.$failedInit) { $db = new nleav_VirtualFilesystem$VFSHandle; var$2 = $evt.$failedError; var$4 = null; $db.$failedInit0 = 1; $db.$failedLocked0 = 0; $db.$failedError0 = var$2; $db.$vfs = var$4; return $db; } if ($evt.$failedLocked) { $db = new nleav_VirtualFilesystem$VFSHandle; var$2 = null; var$4 = null; $db.$failedInit0 = 0; $db.$failedLocked0 = 1; $db.$failedError0 = var$2; $db.$vfs = var$4; return $db; } var$2 = $evt.$failedError; if (var$2 !== null) { $db = new nleav_VirtualFilesystem$VFSHandle; var$4 = null; $db.$failedInit0 = 0; $db.$failedLocked0 = 0; $db.$failedError0 = var$2; $db.$vfs = var$4; return $db; } var$5 = new nleav_VirtualFilesystem$VFSHandle; var$2 = null; var$4 = new nleav_VirtualFilesystem; $evt = $evt.$database; var$6 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$9 = var$8.data; var$6.$elementData = var$8; var$6.$loadFactor = 0.75; var$6.$threshold = var$9.length * 0.75 | 0; var$4.$fileMap = var$6; var$4.$database0 = $db; var$4.$indexeddb = $evt; var$5.$failedInit0 = 0; var$5.$failedLocked0 = 0; var$5.$failedError0 = var$2; var$5.$vfs = var$4; return var$5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($db, var$2, $evt, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nleav_VirtualFilesystem_CRLFtoLF = $str => { if ($str === null) return null; if (jl_String_indexOf($str, 13, 0) != (-1)) $str = jl_String_replace($str, $rt_s(3283), $rt_s(18)); $str = jl_String_trim($str); if (jl_String_endsWith($str, $rt_s(469))) $str = jl_String_substring($str, 0, $str.$nativeString.length - 1 | 0); if ($str === $rt_s(469) ? 1 : jl_String_startsWith($str, $rt_s(469), 0)) $str = jl_String_substring($str, 1, $str.$nativeString.length); return $str; }; function nms_GuiTexturePacks() { let a = this; nms_GuiScreen.call(a); a.$guiScreen = null; a.$refreshTimer = 0; a.$fileLocation = null; a.$isSelectingPack = 0; a.$guiTexturePackSlot = null; a.$field_96146_n = null; } let nms_GuiTexturePacks_texturePackListFile = null, nms_GuiTexturePacks_$callClinit = () => { nms_GuiTexturePacks_$callClinit = $rt_eraseClinit(nms_GuiTexturePacks); nms_GuiTexturePacks__clinit_(); }, nms_GuiTexturePacks_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; var$2 = $this.$buttonList; var$3 = new nms_GuiSmallButton; var$4 = ($this.$width / 2 | 0) - 154 | 0; var$5 = $this.$height - 48 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(3284)); var$7 = null; nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$3.$width0 = 200; var$3.$height0 = 20; var$3.$enabled = 1; var$3.$drawButton0 = 1; var$3.$id0 = 5; var$3.$xPosition = var$4; var$3.$yPosition = var$5; var$3.$width0 = 150; var$3.$height0 = 20; var$3.$displayString = var$6; var$3.$enumOptions = var$7; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$9 = var$2.$size0; var$2.$size0 = var$9 + 1 | 0; var$8[var$9] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiSmallButton; var$9 = ($this.$width / 2 | 0) + 4 | 0; var$4 = $this.$height - 48 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(646)); $var1 = null; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 6; var$6.$xPosition = var$9; var$6.$yPosition = var$4; var$6.$width0 = 150; var$6.$height0 = 20; var$6.$displayString = var$2; var$6.$enumOptions = $var1; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$8 = var$3.$array.data; var$9 = var$3.$size0; var$3.$size0 = var$9 + 1 | 0; var$8[var$9] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$mc.$texturePackList; $ptr = 1; case 1: nms_TexturePackList_updateAvaliableTexturePacks(var$3); if ($rt_suspending()) { break main; } $this.$fileLocation = $rt_s(1395); var$3 = new nms_GuiTexturePackSlot; var$6 = $this.$mc; var$4 = $this.$width; var$10 = $this.$height; nms_GuiSlot__init_(var$3, var$6, var$4, var$10, 32, (var$10 - 55 | 0) + 4 | 0, 36); var$3.$parentTexturePackGui = $this; $this.$guiTexturePackSlot = var$3; var$3.$scrollUpButtonID = 7; var$3.$scrollDownButtonID = 8; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_GuiTexturePacks_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled) { var$2 = $par1GuiButton.$id0; if (var$2 != 5) { if (var$2 != 6) { var$3 = $this.$guiTexturePackSlot; $ptr = 1; continue main; } $par1GuiButton = $this.$mc; var$3 = $this.$guiScreen; $ptr = 2; continue main; } $this.$isSelectingPack = 1; var$3 = null; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_fileChooser.openFileChooser("epk,.zip", $rt_ustr(var$3)); } return; case 1: nms_GuiSlot_actionPerformed(var$3, $par1GuiButton); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, $ptr); }, nms_GuiTexturePacks_mouseClicked = ($this, $par1, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $ptr); }, nms_GuiTexturePacks_mouseMovedOrUp = ($this, $par1, $par2, $par3) => { let var$4; var$4 = $this.$selectedButton; if (var$4 !== null && !$par3) { var$4.$mouseReleased($par1, $par2); $this.$selectedButton = null; } }, nms_GuiTexturePacks_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, $var4, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $this.$guiTexturePackSlot; $ptr = 1; case 1: nms_GuiSlot_drawScreen(var$4, $par1, $par2, $par3); if ($rt_suspending()) { break main; } if ($this.$refreshTimer <= 0) { var$4 = $this.$mc.$texturePackList; $ptr = 4; continue main; } nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; var$4 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3285)); var$7 = $this.$width / 2 | 0; var$8 = 16; var$9 = 16777215; var$10 = var$7 - (nms_FontRenderer_getStringWidth(var$4, var$6) / 2 | 0) | 0; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; var$11 = var$10 + 1 | 0; var$7 = 17; var$12 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$4, var$6, var$11, var$7, var$9, var$12); if ($rt_suspending()) { break main; } var$7 = $tmp; var$11 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$4, var$6, var$10, var$8, var$9, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$4 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3286)); var$10 = ($this.$width / 2 | 0) - 77 | 0; var$11 = $this.$height - 26 | 0; var$7 = 8421504; var$10 = var$10 - (nms_FontRenderer_getStringWidth(var$4, var$6) / 2 | 0) | 0; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; var$8 = var$10 + 1 | 0; var$9 = var$11 + 1 | 0; var$12 = 1; $ptr = 5; continue main; case 4: nms_TexturePackList_updateAvaliableTexturePacks(var$4); if ($rt_suspending()) { break main; } $this.$refreshTimer = $this.$refreshTimer + 20 | 0; nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; var$4 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3285)); var$7 = $this.$width / 2 | 0; var$8 = 16; var$9 = 16777215; var$10 = var$7 - (nms_FontRenderer_getStringWidth(var$4, var$6) / 2 | 0) | 0; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; var$11 = var$10 + 1 | 0; var$7 = 17; var$12 = 1; $ptr = 2; continue main; case 5: $tmp = nms_FontRenderer_renderString(var$4, var$6, var$8, var$9, var$7, var$12); if ($rt_suspending()) { break main; } var$9 = $tmp; var$8 = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString(var$4, var$6, var$10, var$11, var$7, var$8); if ($rt_suspending()) { break main; } var$10 = $tmp; var$10 = 0; var$4 = $this.$buttonList; var$11 = $rt_compare(var$10, var$4.$size0); if (var$11 >= 0) return; if (var$10 >= 0 && var$11 < 0) { var$4 = var$4.$array.data[var$10]; var$6 = $this.$mc; $ptr = 7; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); case 7: var$4.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$10 = var$10 + 1 | 0; var$4 = $this.$buttonList; var$11 = $rt_compare(var$10, var$4.$size0); if (var$11 >= 0) return; if (var$10 >= 0 && var$11 < 0) { var$4 = var$4.$array.data[var$10]; var$6 = $this.$mc; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_GuiTexturePacks_updateScreen = $this => { let var$1, var$2, $epkDecompiler, var$4, $e, var$6, var$7, var$8, var$9, var$10, var$11, $zipInputStream, var$13, var$14, var$15, var$16, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$zipInputStream = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$e = $thread.pop();var$4 = $thread.pop();$epkDecompiler = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$refreshTimer = $this.$refreshTimer - 1 | 0; if ($this.$isSelectingPack) { nlea_EaglerAdapterImpl2_$callClinit(); if (nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult === null ? 0 : 1) { $this.$isSelectingPack = 0; var$1 = $rt_str(nlea_EaglerAdapterImpl2_fileChooser.fileChooserResultName); var$2 = jur_Matcher__init_(jur_Pattern_compile($rt_s(3287), 0), var$1); $epkDecompiler = new jl_StringBuffer; $epkDecompiler.$buffer = $rt_createCharArray(16); var$2.$leftBound0 = 0; var$4 = var$2.$string.$nativeString.length; var$2.$rightBound0 = var$4; $e = var$2.$matchResult; var$6 = var$2.$string; var$7 = var$2.$leftBound0; $e.$valid = 0; $e.$mode0 = 2; var$8 = $e.$groupBounds.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $epkDecompiler = new jl_IllegalArgumentException; jl_Exception__init_($epkDecompiler); $rt_throw($epkDecompiler); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } var$8 = $e.$consumers.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $epkDecompiler = new jl_IllegalArgumentException; jl_Exception__init_($epkDecompiler); $rt_throw($epkDecompiler); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } if (var$6 !== null) $e.$string1 = var$6; if (var$7 >= 0) { $e.$leftBound = var$7; $e.$rightBound = var$4; } $e.$startIndex = $e.$leftBound; var$2.$appendPos = 0; var$2.$replacement = null; $e.$previousMatch = (-1); while (true) { if (!jur_Matcher_find(var$2)) { $zipInputStream = var$2.$string; $zipInputStream = jl_String_substring($zipInputStream, var$2.$appendPos, $zipInputStream.$nativeString.length); var$9 = $zipInputStream.$nativeString.length; jl_StringBuffer_insert($epkDecompiler, $epkDecompiler.$length0, $zipInputStream, 0, var$9); var$6 = new jl_String; var$8 = $epkDecompiler.$buffer; var$13 = var$8.data; var$14 = $epkDecompiler.$length0; var$9 = var$13.length; if (var$14 >= 0 && var$14 <= (var$9 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$8.data, 0, var$14); nms_GuiTexturePacks_$callClinit(); $epkDecompiler = nms_GuiTexturePacks_texturePackListFile; $e = $epkDecompiler.$path0; if (!($e !== null && !jl_String_contains($e, $rt_s(1397)) ? 0 : 1)) { $ptr = 1; continue main; } a: { if (!0) { $epkDecompiler = nms_GuiTexturePacks_texturePackListFile; $e = $epkDecompiler.$path0; if ($e !== null && !jl_String_contains($e, $rt_s(1397)) ? 0 : 1) break a; $ptr = 2; continue main; } $epkDecompiler = nms_GuiTexturePacks_texturePackListFile; $e = $epkDecompiler.$path0; if (!($e !== null && !jl_String_contains($e, $rt_s(1397)) ? 0 : 1)) { $ptr = 3; continue main; } $zipInputStream = null; $e = new jl_StringBuilder; $e.$buffer = $rt_createCharArray(16); var$7 = $e.$length0; if ($zipInputStream === null) $zipInputStream = $rt_s(1); jl_AbstractStringBuilder_insert($e, var$7, $zipInputStream); var$14 = $e.$length0; jl_AbstractStringBuilder_insertSpace($e, var$14, var$14 + 1 | 0); $e.$buffer.data[var$14] = 10; jl_AbstractStringBuilder_insert($e, $e.$length0, var$6); var$15 = new jl_String; var$8 = $e.$buffer; var$13 = var$8.data; var$14 = $e.$length0; var$9 = var$13.length; if (var$14 >= 0 && var$14 <= (var$9 - 0 | 0)) { var$15.$nativeString = $rt_charArrayToString(var$8.data, 0, var$14); $e = $epkDecompiler.$path0; if (!($e !== null && !jl_String_contains($e, $rt_s(1397)) ? 0 : 1)) { $ptr = 9; continue main; } } else { $epkDecompiler = new jl_IndexOutOfBoundsException; $epkDecompiler.$suppressionEnabled = 1; $epkDecompiler.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($epkDecompiler); $rt_throw($epkDecompiler); } } b: { try { c: { d: { e: { if (!jl_String_endsWith(jl_String_toLowerCase(var$1), $rt_s(3288))) { $epkDecompiler = nle_EPKDecompiler__init_(nlea_EaglerAdapterImpl2_getFileChooserResult()); $zipInputStream = nle_EPKDecompiler_readFile($epkDecompiler); if ($zipInputStream === null) break e; $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, $zipInputStream.$name6])); var$8 = $zipInputStream.$data12; $ptr = 5; continue main; } $zipInputStream = juz_ZipInputStream__init_(ji_ByteArrayInputStream__init_(nlea_EaglerAdapterImpl2_getFileChooserResult())); while (true) { try { $epkDecompiler = juz_ZipInputStream_getNextEntry($zipInputStream); if ($epkDecompiler === null) break; if (!juz_ZipEntry_isDirectory($epkDecompiler)) break d; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; break c; } else { throw $$e; } } } juz_ZipInputStream_close($zipInputStream); } break b; } try { $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, juz_ZipEntry_getName($epkDecompiler)])); var$8 = nle_EaglerInputStream_inputStreamToBytesNoClose($zipInputStream); $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; } else { throw $$e; } } } f: { try { juz_ZipInputStream_close($zipInputStream); break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $zipInputStream = $$je; } else { throw $$e; } } jl_Throwable_addSuppressed($epkDecompiler, $zipInputStream); } $rt_throw($epkDecompiler); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $epkDecompiler = new otcic_JSStderrPrintStream; $zipInputStream = new ji_ByteArrayOutputStream; $zipInputStream.$buf = $rt_createByteArray(32); jl_Object__init_($epkDecompiler); $epkDecompiler.$out0 = $zipInputStream; $zipInputStream = new jl_StringBuilder; jl_AbstractStringBuilder__init_($zipInputStream, 16); $epkDecompiler.$sb = $zipInputStream; $epkDecompiler.$buffer0 = $rt_createCharArray(32); $epkDecompiler.$autoFlush = 0; $epkDecompiler.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $epkDecompiler; } jl_Throwable_printStackTrace($e, jl_System_errCache); } nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult = null; $epkDecompiler = $this.$mc; $ptr = 4; continue main; } $epkDecompiler = new jl_IndexOutOfBoundsException; jl_Exception__init_($epkDecompiler); $rt_throw($epkDecompiler); } var$2.$processedRepl = jur_Matcher_processReplacement(var$2, $rt_s(659)); $e = var$2.$string; var$7 = var$2.$appendPos; var$6 = var$2.$matchResult; if (!var$6.$valid) { $epkDecompiler = new jl_IllegalStateException; jl_RuntimeException__init_($epkDecompiler); $rt_throw($epkDecompiler); } if (0 >= var$6.$groupCount) { $epkDecompiler = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($epkDecompiler, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($epkDecompiler); } $e = jl_String_substring($e, var$7, var$6.$groupBounds.data[0]); var$11 = $e.$nativeString.length; jl_StringBuffer_insert($epkDecompiler, $epkDecompiler.$length0, $e, 0, var$11); $e = var$2.$processedRepl; jl_AbstractStringBuilder_insert($epkDecompiler, $epkDecompiler.$length0, $e); $e = var$2.$matchResult; if (!$e.$valid) break; if (0 >= $e.$groupCount) { $epkDecompiler = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($epkDecompiler, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($epkDecompiler); } var$2.$appendPos = $e.$groupBounds.data[1]; } $epkDecompiler = new jl_IllegalStateException; jl_RuntimeException__init_($epkDecompiler); $rt_throw($epkDecompiler); } } return; case 1: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $zipInputStream = nleav_SYS_VFS; $epkDecompiler = $epkDecompiler.$path0; $e = $zipInputStream.$fileMap; if ($epkDecompiler === null) { $e = $e.$elementData.data[0]; while ($e !== null && $e.$key !== null) { $e = $e.$next3; } } else { g: { if (!$epkDecompiler.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $epkDecompiler.$nativeString.length) break g; $epkDecompiler.$hashCode1 = (31 * $epkDecompiler.$hashCode1 | 0) + $epkDecompiler.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = $epkDecompiler.$hashCode1; var$8 = $e.$elementData.data; $e = var$8[var$9 & (var$8.length - 1 | 0)]; while ($e !== null) { if ($e.$origKeyHash == var$9) { var$2 = $e.$key; if ($epkDecompiler !== var$2 && !jl_String_equals($epkDecompiler, var$2) ? 0 : 1) break; } $e = $e.$next3; } } $e = $e === null ? null : $e.$value1; if ($e === null) { var$2 = $zipInputStream.$fileMap; $e = new nleav_VirtualFilesystem$VFSFile; $e.$fileSize = (-1); $e.$hasBeenDeleted = 0; $e.$hasBeenAccessed = 0; $e.$exists = 0; $e.$cache = null; $e.$virtualFilesystem = $zipInputStream; $e.$filePath = $epkDecompiler; $e.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$2, $epkDecompiler, $e); } if ($e.$hasBeenDeleted) var$7 = 0; else { $e.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!$e.$hasBeenAccessed) { $epkDecompiler = $e.$virtualFilesystem.$indexeddb; $zipInputStream = $e.$filePath; $ptr = 6; continue main; } var$7 = $e.$exists; } var$7 = !var$7 ? 0 : 1; h: { if (!var$7) { $epkDecompiler = nms_GuiTexturePacks_texturePackListFile; $e = $epkDecompiler.$path0; if ($e !== null && !jl_String_contains($e, $rt_s(1397)) ? 0 : 1) break h; $ptr = 2; continue main; } $epkDecompiler = nms_GuiTexturePacks_texturePackListFile; $e = $epkDecompiler.$path0; if (!($e !== null && !jl_String_contains($e, $rt_s(1397)) ? 0 : 1)) { $ptr = 3; continue main; } $zipInputStream = null; $e = new jl_StringBuilder; $e.$buffer = $rt_createCharArray(16); var$7 = $e.$length0; if ($zipInputStream === null) $zipInputStream = $rt_s(1); jl_AbstractStringBuilder_insert($e, var$7, $zipInputStream); var$14 = $e.$length0; jl_AbstractStringBuilder_insertSpace($e, var$14, var$14 + 1 | 0); $e.$buffer.data[var$14] = 10; jl_AbstractStringBuilder_insert($e, $e.$length0, var$6); var$15 = new jl_String; var$8 = $e.$buffer; var$13 = var$8.data; var$14 = $e.$length0; var$9 = var$13.length; if (var$14 >= 0 && var$14 <= (var$9 - 0 | 0)) { var$15.$nativeString = $rt_charArrayToString(var$8.data, 0, var$14); $e = $epkDecompiler.$path0; if (!($e !== null && !jl_String_contains($e, $rt_s(1397)) ? 0 : 1)) { $ptr = 9; continue main; } } else { $epkDecompiler = new jl_IndexOutOfBoundsException; $epkDecompiler.$suppressionEnabled = 1; $epkDecompiler.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($epkDecompiler); $rt_throw($epkDecompiler); } } i: { try { j: { b: { k: { if (!jl_String_endsWith(jl_String_toLowerCase(var$1), $rt_s(3288))) { $epkDecompiler = nle_EPKDecompiler__init_(nlea_EaglerAdapterImpl2_getFileChooserResult()); $zipInputStream = nle_EPKDecompiler_readFile($epkDecompiler); if ($zipInputStream === null) break k; $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, $zipInputStream.$name6])); var$8 = $zipInputStream.$data12; $ptr = 5; continue main; } $zipInputStream = juz_ZipInputStream__init_(ji_ByteArrayInputStream__init_(nlea_EaglerAdapterImpl2_getFileChooserResult())); while (true) { try { $epkDecompiler = juz_ZipInputStream_getNextEntry($zipInputStream); if ($epkDecompiler === null) break; if (!juz_ZipEntry_isDirectory($epkDecompiler)) break b; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; break j; } else { throw $$e; } } } juz_ZipInputStream_close($zipInputStream); } break i; } try { $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, juz_ZipEntry_getName($epkDecompiler)])); var$8 = nle_EaglerInputStream_inputStreamToBytesNoClose($zipInputStream); $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; } else { throw $$e; } } } e: { try { juz_ZipInputStream_close($zipInputStream); break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $zipInputStream = $$je; } else { throw $$e; } } jl_Throwable_addSuppressed($epkDecompiler, $zipInputStream); } $rt_throw($epkDecompiler); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $epkDecompiler = new otcic_JSStderrPrintStream; $zipInputStream = new ji_ByteArrayOutputStream; $zipInputStream.$buf = $rt_createByteArray(32); jl_Object__init_($epkDecompiler); $epkDecompiler.$out0 = $zipInputStream; $zipInputStream = new jl_StringBuilder; jl_AbstractStringBuilder__init_($zipInputStream, 16); $epkDecompiler.$sb = $zipInputStream; $epkDecompiler.$buffer0 = $rt_createCharArray(32); $epkDecompiler.$autoFlush = 0; $epkDecompiler.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $epkDecompiler; } jl_Throwable_printStackTrace($e, jl_System_errCache); } nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult = null; $epkDecompiler = $this.$mc; $ptr = 4; continue main; case 2: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $zipInputStream = nleav_SYS_VFS; $epkDecompiler = $epkDecompiler.$path0; $e = $zipInputStream.$fileMap; if ($epkDecompiler === null) { $e = $e.$elementData.data[0]; while ($e !== null && $e.$key !== null) { $e = $e.$next3; } } else { g: { if (!$epkDecompiler.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $epkDecompiler.$nativeString.length) break g; $epkDecompiler.$hashCode1 = (31 * $epkDecompiler.$hashCode1 | 0) + $epkDecompiler.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = $epkDecompiler.$hashCode1; var$8 = $e.$elementData.data; $e = var$8[var$9 & (var$8.length - 1 | 0)]; while ($e !== null) { if ($e.$origKeyHash == var$9) { l: { var$2 = $e.$key; if ($epkDecompiler !== var$2) { if ($epkDecompiler === var$2) var$7 = 1; else if (!(var$2 instanceof jl_String)) var$7 = 0; else { var$2 = var$2; var$7 = $epkDecompiler.$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break l; } } var$7 = 1; } if (var$7) break; } $e = $e.$next3; } } $e = $e === null ? null : $e.$value1; if ($e === null) { var$2 = $zipInputStream.$fileMap; $e = new nleav_VirtualFilesystem$VFSFile; $e.$fileSize = (-1); $e.$hasBeenDeleted = 0; $e.$hasBeenAccessed = 0; $e.$exists = 0; $e.$cache = null; $e.$virtualFilesystem = $zipInputStream; $e.$filePath = $epkDecompiler; $e.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$2, $epkDecompiler, $e); } jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); $zipInputStream = jnc_Charset$Charsets_value; var$2 = $rt_s(86).$nativeString.toUpperCase(); var$16 = var$2 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$2); m: { if (!var$16.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$16.$nativeString.length) break m; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = var$16.$hashCode1; var$8 = $zipInputStream.$elementData.data; $zipInputStream = var$8[var$9 & (var$8.length - 1 | 0)]; while ($zipInputStream !== null) { if ($zipInputStream.$origKeyHash == var$9) { var$2 = $zipInputStream.$key; if (var$16 !== var$2 && !jl_String_equals(var$16, var$2) ? 0 : 1) break; } $zipInputStream = $zipInputStream.$next3; } $zipInputStream = $zipInputStream === null ? null : $zipInputStream.$value1; if ($zipInputStream === null) { $zipInputStream = new jnc_UnsupportedCharsetException; jl_Throwable__init_($zipInputStream); $zipInputStream.$charsetName = $rt_s(86); $rt_throw($zipInputStream); } var$8 = $rt_fastStringToCharArray(var$6.$nativeString); var$14 = var$8.data.length; var$2 = new jn_CharBufferOverArray; jn_CharBuffer__init_(var$2, var$14, 0, 0 + var$14 | 0); var$2.$start1 = 0; var$2.$readOnly1 = 0; var$2.$array1 = var$8; n: { try { $epkDecompiler = jnc_CharsetEncoder_encode(jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput($zipInputStream.$newEncoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$2); break n; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $zipInputStream = $$je; } else { throw $$e; } } $e = new jl_AssertionError; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($e); $e.$message = $rt_s(405); $e.$cause = $zipInputStream; $rt_throw($e); } var$9 = $epkDecompiler.$position0; if (!var$9 && $epkDecompiler.$limit0 == $epkDecompiler.$capacity) var$8 = $epkDecompiler.$array0; else { var$8 = $rt_createByteArray($epkDecompiler.$limit0 - var$9 | 0); jn_ByteBuffer_get($epkDecompiler, var$8, 0, var$8.data.length); } var$7 = 1; $ptr = 10; continue main; case 3: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $zipInputStream = nleav_SYS_VFS; $e = $epkDecompiler.$path0; var$2 = $zipInputStream.$fileMap; if ($e === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { g: { if (!$e.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $e.$nativeString.length) break g; $e.$hashCode1 = (31 * $e.$hashCode1 | 0) + $e.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$7 = $e.$hashCode1; var$8 = var$2.$elementData.data; var$2 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { l: { var$16 = var$2.$key; if ($e !== var$16) { if ($e === var$16) var$14 = 1; else if (!(var$16 instanceof jl_String)) var$14 = 0; else { var$16 = var$16; var$14 = $e.$nativeString !== var$16.$nativeString ? 0 : 1; } if (!var$14) { var$14 = 0; break l; } } var$14 = 1; } if (var$14) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2 === null) { var$16 = $zipInputStream.$fileMap; var$2 = new nleav_VirtualFilesystem$VFSFile; var$2.$fileSize = (-1); var$2.$hasBeenDeleted = 0; var$2.$hasBeenAccessed = 0; var$2.$exists = 0; var$2.$cache = null; var$2.$virtualFilesystem = $zipInputStream; var$2.$filePath = $e; var$2.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$16, $e, var$2); } var$7 = 0; $ptr = 8; continue main; case 4: nms_Minecraft_displayGuiScreen($epkDecompiler, $this); if ($rt_suspending()) { break main; } return; case 5: o: { try { nleav_VFile_setAllBytes($e, var$8); if ($rt_suspending()) { break main; } $zipInputStream = nle_EPKDecompiler_readFile($epkDecompiler); if ($zipInputStream === null) break o; $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, $zipInputStream.$name6])); var$8 = $zipInputStream.$data12; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $epkDecompiler = new otcic_JSStderrPrintStream; $zipInputStream = new ji_ByteArrayOutputStream; $zipInputStream.$buf = $rt_createByteArray(32); jl_Object__init_($epkDecompiler); $epkDecompiler.$out0 = $zipInputStream; $zipInputStream = new jl_StringBuilder; jl_AbstractStringBuilder__init_($zipInputStream, 16); $epkDecompiler.$sb = $zipInputStream; $epkDecompiler.$buffer0 = $rt_createCharArray(32); $epkDecompiler.$autoFlush = 0; $epkDecompiler.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $epkDecompiler; } jl_Throwable_printStackTrace($e, jl_System_errCache); } nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; $zipInputStream = nlea_EaglerAdapterImpl2_fileChooser; $epkDecompiler = null; $zipInputStream.fileChooserResult = $epkDecompiler; $epkDecompiler = $this.$mc; $ptr = 4; continue main; case 6: $tmp = nleav_VirtualFilesystem$AsyncHandlers_fileExists$_asyncCall_$($epkDecompiler, $zipInputStream); if ($rt_suspending()) { break main; } $epkDecompiler = $tmp; var$7 = $epkDecompiler.$bool; $e.$exists = var$7; $e.$hasBeenAccessed = 1; var$7 = !var$7 ? 0 : 1; g: { if (!var$7) { $epkDecompiler = nms_GuiTexturePacks_texturePackListFile; $e = $epkDecompiler.$path0; if ($e !== null && !jl_String_contains($e, $rt_s(1397)) ? 0 : 1) break g; $ptr = 2; continue main; } $epkDecompiler = nms_GuiTexturePacks_texturePackListFile; $e = $epkDecompiler.$path0; if (!($e !== null && !jl_String_contains($e, $rt_s(1397)) ? 0 : 1)) { $ptr = 3; continue main; } $zipInputStream = null; $e = new jl_StringBuilder; $e.$buffer = $rt_createCharArray(16); var$7 = $e.$length0; if ($zipInputStream === null) $zipInputStream = $rt_s(1); jl_AbstractStringBuilder_insert($e, var$7, $zipInputStream); var$14 = $e.$length0; jl_AbstractStringBuilder_insertSpace($e, var$14, var$14 + 1 | 0); $e.$buffer.data[var$14] = 10; jl_AbstractStringBuilder_insert($e, $e.$length0, var$6); var$15 = new jl_String; var$8 = $e.$buffer; var$13 = var$8.data; var$14 = $e.$length0; var$9 = var$13.length; if (var$14 >= 0 && var$14 <= (var$9 - 0 | 0)) { var$15.$nativeString = $rt_charArrayToString(var$8.data, 0, var$14); $e = $epkDecompiler.$path0; if (!($e !== null && !jl_String_contains($e, $rt_s(1397)) ? 0 : 1)) { $ptr = 9; continue main; } } else { $epkDecompiler = new jl_IndexOutOfBoundsException; $epkDecompiler.$suppressionEnabled = 1; $epkDecompiler.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($epkDecompiler); $rt_throw($epkDecompiler); } } h: { try { p: { a: { q: { if (!jl_String_endsWith(jl_String_toLowerCase(var$1), $rt_s(3288))) { $epkDecompiler = nle_EPKDecompiler__init_(nlea_EaglerAdapterImpl2_getFileChooserResult()); $zipInputStream = nle_EPKDecompiler_readFile($epkDecompiler); if ($zipInputStream === null) break q; $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, $zipInputStream.$name6])); var$8 = $zipInputStream.$data12; $ptr = 5; continue main; } $zipInputStream = juz_ZipInputStream__init_(ji_ByteArrayInputStream__init_(nlea_EaglerAdapterImpl2_getFileChooserResult())); while (true) { try { $epkDecompiler = juz_ZipInputStream_getNextEntry($zipInputStream); if ($epkDecompiler === null) break; if (!juz_ZipEntry_isDirectory($epkDecompiler)) break a; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; break p; } else { throw $$e; } } } juz_ZipInputStream_close($zipInputStream); } break h; } try { $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, juz_ZipEntry_getName($epkDecompiler)])); var$8 = nle_EaglerInputStream_inputStreamToBytesNoClose($zipInputStream); $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; } else { throw $$e; } } } r: { try { juz_ZipInputStream_close($zipInputStream); break r; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $zipInputStream = $$je; } else { throw $$e; } } jl_Throwable_addSuppressed($epkDecompiler, $zipInputStream); } $rt_throw($epkDecompiler); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $epkDecompiler = new otcic_JSStderrPrintStream; $zipInputStream = new ji_ByteArrayOutputStream; $zipInputStream.$buf = $rt_createByteArray(32); jl_Object__init_($epkDecompiler); $epkDecompiler.$out0 = $zipInputStream; $zipInputStream = new jl_StringBuilder; jl_AbstractStringBuilder__init_($zipInputStream, 16); $epkDecompiler.$sb = $zipInputStream; $epkDecompiler.$buffer0 = $rt_createCharArray(32); $epkDecompiler.$autoFlush = 0; $epkDecompiler.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $epkDecompiler; } jl_Throwable_printStackTrace($e, jl_System_errCache); } nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult = null; $epkDecompiler = $this.$mc; $ptr = 4; continue main; case 7: o: { try { s: { try { nleav_VFile_setAllBytes($e, var$8); if ($rt_suspending()) { break main; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; break s; } else { throw $$e; } } g: { try { while (true) { $epkDecompiler = juz_ZipInputStream_getNextEntry($zipInputStream); if ($epkDecompiler === null) break; if (!juz_ZipEntry_isDirectory($epkDecompiler)) break g; } } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; break s; } else { throw $$e; } } juz_ZipInputStream_close($zipInputStream); break o; } try { $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, juz_ZipEntry_getName($epkDecompiler)])); var$8 = nle_EaglerInputStream_inputStreamToBytesNoClose($zipInputStream); continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; } else { throw $$e; } } } t: { try { juz_ZipInputStream_close($zipInputStream); break t; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $zipInputStream = $$je; } else { throw $$e; } } jl_Throwable_addSuppressed($epkDecompiler, $zipInputStream); } $rt_throw($epkDecompiler); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $epkDecompiler = new otcic_JSStderrPrintStream; $zipInputStream = new ji_ByteArrayOutputStream; $zipInputStream.$buf = $rt_createByteArray(32); jl_Object__init_($epkDecompiler); $epkDecompiler.$out0 = $zipInputStream; $zipInputStream = new jl_StringBuilder; jl_AbstractStringBuilder__init_($zipInputStream, 16); $epkDecompiler.$sb = $zipInputStream; $epkDecompiler.$buffer0 = $rt_createCharArray(32); $epkDecompiler.$autoFlush = 0; $epkDecompiler.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $epkDecompiler; } jl_Throwable_printStackTrace($e, jl_System_errCache); } nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; $zipInputStream = nlea_EaglerAdapterImpl2_fileChooser; $epkDecompiler = null; $zipInputStream.fileChooserResult = $epkDecompiler; $epkDecompiler = $this.$mc; $ptr = 4; continue main; case 8: $tmp = nleav_VirtualFilesystem$VFSFile_getAllBytes(var$2, var$7); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8 === null) $zipInputStream = null; else { $zipInputStream = new jl_String; jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$2 = jnc_Charset$Charsets_value; var$15 = $rt_s(86).$nativeString.toUpperCase(); var$16 = var$15 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$15); u: { if (!var$16.$hashCode1) { var$14 = 0; while (true) { if (var$14 >= var$16.$nativeString.length) break u; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$14) | 0; var$14 = var$14 + 1 | 0; } } } var$7 = var$16.$hashCode1; var$13 = var$2.$elementData.data; var$2 = var$13[var$7 & (var$13.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$15 = var$2.$key; if (var$16 !== var$15 && !jl_String_equals(var$16, var$15) ? 0 : 1) break; } var$2 = var$2.$next3; } var$16 = var$2 === null ? null : var$2.$value1; if (var$16 === null) { $epkDecompiler = new jnc_UnsupportedCharsetException; jl_Throwable__init_($epkDecompiler); $epkDecompiler.$charsetName = $rt_s(86); $rt_throw($epkDecompiler); } var$14 = var$8.data.length; if (var$14 >= 0 && var$14 <= (var$14 - 0 | 0)) { $e = new jn_ByteBufferImpl; var$11 = 0 + var$14 | 0; jn_Buffer__init_($e, var$14); $e.$order = jn_ByteOrder_BIG_ENDIAN; $e.$start = 0; $e.$array0 = var$8; $e.$position0 = 0; $e.$limit0 = var$11; $e.$direct = 0; $e.$readOnly0 = 0; v: { try { $e = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$16.$newDecoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), $e); break v; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $zipInputStream = $$je; } else { throw $$e; } } $e = new jl_AssertionError; jl_Throwable__init_0($e, $rt_s(405), $zipInputStream); $rt_throw($e); } var$9 = $e.$position0; if (!var$9 && $e.$limit0 == $e.$capacity) var$8 = $e.$array1; else { var$8 = $rt_createCharArray($e.$limit0 - var$9 | 0); jn_CharBuffer_get($e, var$8, 0, var$8.data.length); } $zipInputStream.$nativeString = $rt_fullArrayToString(var$8.data); } else { $epkDecompiler = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($epkDecompiler); $rt_throw($epkDecompiler); } } $e = new jl_StringBuilder; $e.$buffer = $rt_createCharArray(16); var$7 = $e.$length0; if ($zipInputStream === null) $zipInputStream = $rt_s(1); jl_AbstractStringBuilder_insert($e, var$7, $zipInputStream); var$14 = $e.$length0; jl_AbstractStringBuilder_insertSpace($e, var$14, var$14 + 1 | 0); $e.$buffer.data[var$14] = 10; jl_AbstractStringBuilder_insert($e, $e.$length0, var$6); var$15 = new jl_String; var$8 = $e.$buffer; var$13 = var$8.data; var$14 = $e.$length0; var$9 = var$13.length; if (var$14 >= 0 && var$14 <= (var$9 - 0 | 0)) { var$15.$nativeString = $rt_charArrayToString(var$8.data, 0, var$14); $e = $epkDecompiler.$path0; if (!($e !== null && !jl_String_contains($e, $rt_s(1397)) ? 0 : 1)) { $ptr = 9; continue main; } r: { try { w: { x: { n: { if (!jl_String_endsWith(jl_String_toLowerCase(var$1), $rt_s(3288))) { $epkDecompiler = nle_EPKDecompiler__init_(nlea_EaglerAdapterImpl2_getFileChooserResult()); $zipInputStream = nle_EPKDecompiler_readFile($epkDecompiler); if ($zipInputStream === null) break n; $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, $zipInputStream.$name6])); var$8 = $zipInputStream.$data12; $ptr = 5; continue main; } $zipInputStream = juz_ZipInputStream__init_(ji_ByteArrayInputStream__init_(nlea_EaglerAdapterImpl2_getFileChooserResult())); while (true) { try { $epkDecompiler = juz_ZipInputStream_getNextEntry($zipInputStream); if ($epkDecompiler === null) break; if (!juz_ZipEntry_isDirectory($epkDecompiler)) break x; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; break w; } else { throw $$e; } } } juz_ZipInputStream_close($zipInputStream); } break r; } try { $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, juz_ZipEntry_getName($epkDecompiler)])); var$8 = nle_EaglerInputStream_inputStreamToBytesNoClose($zipInputStream); $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; } else { throw $$e; } } } y: { try { juz_ZipInputStream_close($zipInputStream); break y; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $zipInputStream = $$je; } else { throw $$e; } } jl_Throwable_addSuppressed($epkDecompiler, $zipInputStream); } $rt_throw($epkDecompiler); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $epkDecompiler = new otcic_JSStderrPrintStream; $zipInputStream = new ji_ByteArrayOutputStream; $zipInputStream.$buf = $rt_createByteArray(32); jl_Object__init_($epkDecompiler); $epkDecompiler.$out0 = $zipInputStream; $zipInputStream = new jl_StringBuilder; jl_AbstractStringBuilder__init_($zipInputStream, 16); $epkDecompiler.$sb = $zipInputStream; $epkDecompiler.$buffer0 = $rt_createCharArray(32); $epkDecompiler.$autoFlush = 0; $epkDecompiler.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $epkDecompiler; } jl_Throwable_printStackTrace($e, jl_System_errCache); } nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult = null; $epkDecompiler = $this.$mc; $ptr = 4; continue main; } $epkDecompiler = new jl_IndexOutOfBoundsException; $epkDecompiler.$suppressionEnabled = 1; $epkDecompiler.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($epkDecompiler); $rt_throw($epkDecompiler); case 9: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $zipInputStream = nleav_SYS_VFS; $epkDecompiler = $epkDecompiler.$path0; $e = $zipInputStream.$fileMap; if ($epkDecompiler === null) { $e = $e.$elementData.data[0]; while ($e !== null && $e.$key !== null) { $e = $e.$next3; } } else { g: { if (!$epkDecompiler.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $epkDecompiler.$nativeString.length) break g; $epkDecompiler.$hashCode1 = (31 * $epkDecompiler.$hashCode1 | 0) + $epkDecompiler.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = $epkDecompiler.$hashCode1; var$8 = $e.$elementData.data; $e = var$8[var$9 & (var$8.length - 1 | 0)]; while ($e !== null) { if ($e.$origKeyHash == var$9) { l: { var$2 = $e.$key; if ($epkDecompiler !== var$2) { if ($epkDecompiler === var$2) var$7 = 1; else if (!(var$2 instanceof jl_String)) var$7 = 0; else { var$2 = var$2; var$7 = $epkDecompiler.$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break l; } } var$7 = 1; } if (var$7) break; } $e = $e.$next3; } } var$16 = $e === null ? null : $e.$value1; if (var$16 === null) { $e = $zipInputStream.$fileMap; var$16 = new nleav_VirtualFilesystem$VFSFile; var$16.$fileSize = (-1); var$16.$hasBeenDeleted = 0; var$16.$hasBeenAccessed = 0; var$16.$exists = 0; var$16.$cache = null; var$16.$virtualFilesystem = $zipInputStream; var$16.$filePath = $epkDecompiler; var$16.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl($e, $epkDecompiler, var$16); } jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); $zipInputStream = jnc_Charset$Charsets_value; $e = $rt_s(86).$nativeString.toUpperCase(); var$2 = $e === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_($e); m: { if (!var$2.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$2.$nativeString.length) break m; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = var$2.$hashCode1; var$8 = $zipInputStream.$elementData.data; $zipInputStream = var$8[var$9 & (var$8.length - 1 | 0)]; while ($zipInputStream !== null) { if ($zipInputStream.$origKeyHash == var$9) { $e = $zipInputStream.$key; if (var$2 !== $e && !jl_String_equals(var$2, $e) ? 0 : 1) break; } $zipInputStream = $zipInputStream.$next3; } $zipInputStream = $zipInputStream === null ? null : $zipInputStream.$value1; if ($zipInputStream === null) { $zipInputStream = new jnc_UnsupportedCharsetException; jl_Throwable__init_($zipInputStream); $zipInputStream.$charsetName = $rt_s(86); $rt_throw($zipInputStream); } var$8 = $rt_fastStringToCharArray(var$15.$nativeString); var$14 = var$8.data.length; $e = new jn_CharBufferOverArray; jn_CharBuffer__init_($e, var$14, 0, 0 + var$14 | 0); $e.$start1 = 0; $e.$readOnly1 = 0; $e.$array1 = var$8; n: { try { $epkDecompiler = jnc_CharsetEncoder_encode(jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput($zipInputStream.$newEncoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), $e); break n; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $zipInputStream = $$je; } else { throw $$e; } } $e = new jl_AssertionError; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($e); $e.$message = $rt_s(405); $e.$cause = $zipInputStream; $rt_throw($e); } var$9 = $epkDecompiler.$position0; if (!var$9 && $epkDecompiler.$limit0 == $epkDecompiler.$capacity) var$8 = $epkDecompiler.$array0; else { var$8 = $rt_createByteArray($epkDecompiler.$limit0 - var$9 | 0); jn_ByteBuffer_get($epkDecompiler, var$8, 0, var$8.data.length); } var$7 = 1; $ptr = 11; continue main; case 10: nleav_VirtualFilesystem$VFSFile_setAllBytes($e, var$8, var$7); if ($rt_suspending()) { break main; } o: { try { s: { g: { u: { if (!jl_String_endsWith(jl_String_toLowerCase(var$1), $rt_s(3288))) { $epkDecompiler = nle_EPKDecompiler__init_(nlea_EaglerAdapterImpl2_getFileChooserResult()); $zipInputStream = nle_EPKDecompiler_readFile($epkDecompiler); if ($zipInputStream === null) break u; $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, $zipInputStream.$name6])); var$8 = $zipInputStream.$data12; $ptr = 5; continue main; } $zipInputStream = juz_ZipInputStream__init_(ji_ByteArrayInputStream__init_(nlea_EaglerAdapterImpl2_getFileChooserResult())); while (true) { try { $epkDecompiler = juz_ZipInputStream_getNextEntry($zipInputStream); if ($epkDecompiler === null) break; if (!juz_ZipEntry_isDirectory($epkDecompiler)) break g; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; break s; } else { throw $$e; } } } juz_ZipInputStream_close($zipInputStream); } break o; } try { $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, juz_ZipEntry_getName($epkDecompiler)])); var$8 = nle_EaglerInputStream_inputStreamToBytesNoClose($zipInputStream); $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; } else { throw $$e; } } } l: { try { juz_ZipInputStream_close($zipInputStream); break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $zipInputStream = $$je; } else { throw $$e; } } jl_Throwable_addSuppressed($epkDecompiler, $zipInputStream); } $rt_throw($epkDecompiler); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $epkDecompiler = new otcic_JSStderrPrintStream; $zipInputStream = new ji_ByteArrayOutputStream; $zipInputStream.$buf = $rt_createByteArray(32); jl_Object__init_($epkDecompiler); $epkDecompiler.$out0 = $zipInputStream; $zipInputStream = new jl_StringBuilder; jl_AbstractStringBuilder__init_($zipInputStream, 16); $epkDecompiler.$sb = $zipInputStream; $epkDecompiler.$buffer0 = $rt_createCharArray(32); $epkDecompiler.$autoFlush = 0; $epkDecompiler.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $epkDecompiler; } jl_Throwable_printStackTrace($e, jl_System_errCache); } nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; $zipInputStream = nlea_EaglerAdapterImpl2_fileChooser; $epkDecompiler = null; $zipInputStream.fileChooserResult = $epkDecompiler; $epkDecompiler = $this.$mc; $ptr = 4; continue main; case 11: nleav_VirtualFilesystem$VFSFile_setAllBytes(var$16, var$8, var$7); if ($rt_suspending()) { break main; } o: { try { s: { g: { u: { if (!jl_String_endsWith(jl_String_toLowerCase(var$1), $rt_s(3288))) { $epkDecompiler = nle_EPKDecompiler__init_(nlea_EaglerAdapterImpl2_getFileChooserResult()); $zipInputStream = nle_EPKDecompiler_readFile($epkDecompiler); if ($zipInputStream === null) break u; $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, $zipInputStream.$name6])); var$8 = $zipInputStream.$data12; $ptr = 5; continue main; } $zipInputStream = juz_ZipInputStream__init_(ji_ByteArrayInputStream__init_(nlea_EaglerAdapterImpl2_getFileChooserResult())); while (true) { try { $epkDecompiler = juz_ZipInputStream_getNextEntry($zipInputStream); if ($epkDecompiler === null) break; if (!juz_ZipEntry_isDirectory($epkDecompiler)) break g; continue; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; break s; } else { throw $$e; } } } juz_ZipInputStream_close($zipInputStream); } break o; } try { $e = nleav_VFile__init_($rt_wrapArray(jl_Object, [$this.$fileLocation, var$6, juz_ZipEntry_getName($epkDecompiler)])); var$8 = nle_EaglerInputStream_inputStreamToBytesNoClose($zipInputStream); $ptr = 7; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $epkDecompiler = $$je; } else { throw $$e; } } } l: { try { juz_ZipInputStream_close($zipInputStream); break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $zipInputStream = $$je; } else { throw $$e; } } jl_Throwable_addSuppressed($epkDecompiler, $zipInputStream); } $rt_throw($epkDecompiler); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $epkDecompiler = new otcic_JSStderrPrintStream; $zipInputStream = new ji_ByteArrayOutputStream; $zipInputStream.$buf = $rt_createByteArray(32); jl_Object__init_($epkDecompiler); $epkDecompiler.$out0 = $zipInputStream; $zipInputStream = new jl_StringBuilder; jl_AbstractStringBuilder__init_($zipInputStream, 16); $epkDecompiler.$sb = $zipInputStream; $epkDecompiler.$buffer0 = $rt_createCharArray(32); $epkDecompiler.$autoFlush = 0; $epkDecompiler.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $epkDecompiler; } jl_Throwable_printStackTrace($e, jl_System_errCache); } nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; $zipInputStream = nlea_EaglerAdapterImpl2_fileChooser; $epkDecompiler = null; $zipInputStream.fileChooserResult = $epkDecompiler; $epkDecompiler = $this.$mc; $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $epkDecompiler, var$4, $e, var$6, var$7, var$8, var$9, var$10, var$11, $zipInputStream, var$13, var$14, var$15, var$16, $ptr); }, nms_GuiTexturePacks_confirmClicked = ($this, $par1, $par2) => { let $var5, $safeName, var$5, $res, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$res = $thread.pop();var$5 = $thread.pop();$safeName = $thread.pop();$var5 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $this.$mc; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen($var5, $this); if ($rt_suspending()) { break main; } $var5 = $this.$mc.$texturePackList; $safeName = $var5.$availableTexturePacks; if ($safeName === null) { $var5 = new jl_NullPointerException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var5); $var5.$message = $rt_s(18); $rt_throw($var5); } var$5 = new ju_Collections$9; var$5.$val$list = $safeName; if ($par1) { if (0 >= $safeName.$size0) { $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $safeName = $safeName.$array.data[0]; if ($safeName !== $var5.$selectedTexturePack) { $var5.$isDownloading = 0; $var5.$selectedTexturePack = $safeName; $var5 = $var5.$mc12.$gameSettings; $var5.$skin = $safeName.$texturePackFileName; nms_GameSettings_saveOptions($var5); } $var5 = $this.$mc.$renderEngine; $ptr = 4; continue main; } try { $safeName = ju_Collections$9_get(var$5, $par2); $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var5 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $safeName = new otcic_JSStderrPrintStream; $res = new ji_ByteArrayOutputStream; $res.$buf = $rt_createByteArray(32); jl_Object__init_($safeName); $safeName.$out0 = $res; $res = new jl_StringBuilder; jl_AbstractStringBuilder__init_($res, 16); $safeName.$sb = $res; $safeName.$buffer0 = $rt_createCharArray(32); $safeName.$autoFlush = 0; $safeName.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $safeName; } jl_Throwable_printStackTrace($var5, jl_System_errCache); $var5 = $this.$mc.$texturePackList; $safeName = var$5.$val$list; if (0 >= $safeName.$size0) { $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $safeName = $safeName.$array.data[0]; if ($safeName !== $var5.$selectedTexturePack) { $var5.$isDownloading = 0; $var5.$selectedTexturePack = $safeName; $var5 = $var5.$mc12.$gameSettings; $var5.$skin = $safeName.$texturePackFileName; nms_GameSettings_saveOptions($var5); } $var5 = $this.$mc.$renderEngine; $ptr = 5; continue main; case 2: try { nms_TexturePackList_setTexturePack($var5, $safeName); if ($rt_suspending()) { break main; } $var5 = $this.$mc.$renderEngine; $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var5 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $safeName = new otcic_JSStderrPrintStream; $res = new ji_ByteArrayOutputStream; $res.$buf = $rt_createByteArray(32); jl_Object__init_($safeName); $safeName.$out0 = $res; $res = new jl_StringBuilder; jl_AbstractStringBuilder__init_($res, 16); $safeName.$sb = $res; $safeName.$buffer0 = $rt_createCharArray(32); $safeName.$autoFlush = 0; $safeName.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $safeName; } jl_Throwable_printStackTrace($var5, jl_System_errCache); $var5 = $this.$mc.$texturePackList; $safeName = var$5.$val$list; if (0 >= $safeName.$size0) { $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $safeName = $safeName.$array.data[0]; if ($safeName !== $var5.$selectedTexturePack) { $var5.$isDownloading = 0; $var5.$selectedTexturePack = $safeName; $var5 = $var5.$mc12.$gameSettings; $var5.$skin = $safeName.$texturePackFileName; nms_GameSettings_saveOptions($var5); } $var5 = $this.$mc.$renderEngine; $ptr = 5; continue main; case 3: a: { try { nms_RenderEngine_refreshTextures($var5); if ($rt_suspending()) { break main; } nms_RenderGlobal_loadRenderers($this.$mc.$renderGlobal); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var5 = $$je; break a; } else { throw $$e; } } return; } if (jl_System_errCache === null) { $safeName = new otcic_JSStderrPrintStream; $res = new ji_ByteArrayOutputStream; $res.$buf = $rt_createByteArray(32); jl_Object__init_($safeName); $safeName.$out0 = $res; $res = new jl_StringBuilder; jl_AbstractStringBuilder__init_($res, 16); $safeName.$sb = $res; $safeName.$buffer0 = $rt_createCharArray(32); $safeName.$autoFlush = 0; $safeName.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $safeName; } jl_Throwable_printStackTrace($var5, jl_System_errCache); $var5 = $this.$mc.$texturePackList; $safeName = var$5.$val$list; if (0 >= $safeName.$size0) { $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $safeName = $safeName.$array.data[0]; if ($safeName !== $var5.$selectedTexturePack) { $var5.$isDownloading = 0; $var5.$selectedTexturePack = $safeName; $var5 = $var5.$mc12.$gameSettings; $var5.$skin = $safeName.$texturePackFileName; nms_GameSettings_saveOptions($var5); } $var5 = $this.$mc.$renderEngine; $ptr = 5; continue main; case 4: nms_RenderEngine_refreshTextures($var5); if ($rt_suspending()) { break main; } nms_RenderGlobal_loadRenderers($this.$mc.$renderGlobal); $var5 = var$5.$val$list; if ($par2 >= 0 && $par2 < $var5.$size0) { $safeName = $var5.$array.data[$par2].$texturePackFileName; $res = nleav_VFile_createPath($rt_wrapArray(jl_Object, [$this.$fileLocation, $safeName])); if (!($res !== null && !jl_String_contains($res, $rt_s(1397)) ? 0 : 1)) { $ptr = 6; continue main; } nms_GuiTexturePacks_$callClinit(); $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (!(var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1)) { $ptr = 10; continue main; } b: { if (0) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (!(var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1)) { $ptr = 12; continue main; } $var5 = null; $safeName = jur_Matcher__init_(jur_Pattern_compile($safeName, 0), $var5); $safeName.$leftBound0 = 0; var$7 = $safeName.$string.$nativeString.length; $safeName.$rightBound0 = var$7; $var5 = $safeName.$matchResult; var$5 = $safeName.$string; $par1 = $safeName.$leftBound0; $var5.$valid = 0; $var5.$mode0 = 2; var$8 = $var5.$groupBounds.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } var$8 = $var5.$consumers.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } if (var$5 !== null) $var5.$string1 = var$5; if ($par1 >= 0) { $var5.$leftBound = $par1; $var5.$rightBound = var$7; } $var5.$startIndex = $var5.$leftBound; $safeName.$appendPos = 0; $safeName.$replacement = null; $var5.$previousMatch = (-1); if (!jur_Matcher_find($safeName)) $safeName = $safeName.$string; else { $var5 = new jl_StringBuffer; $var5.$buffer = $rt_createCharArray(16); $safeName.$processedRepl = jur_Matcher_processReplacement($safeName, $rt_s(18)); $res = $safeName.$string; $par1 = $safeName.$appendPos; var$5 = $safeName.$matchResult; if (!var$5.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= var$5.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $res = jl_String_substring($res, $par1, var$5.$groupBounds.data[0]); var$9 = $res.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $res, 0, var$9); $res = $safeName.$processedRepl; jl_AbstractStringBuilder_insert($var5, $var5.$length0, $res); $res = $safeName.$matchResult; if (!$res.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= $res.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $par1 = $res.$groupBounds.data[1]; $safeName.$appendPos = $par1; $safeName = $safeName.$string; $safeName = jl_String_substring($safeName, $par1, $safeName.$nativeString.length); var$9 = $safeName.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $safeName, 0, var$9); $safeName = new jl_String; var$8 = $var5.$buffer; var$12 = var$8.data; $par2 = $var5.$length0; var$9 = var$12.length; if ($par2 >= 0 && $par2 <= (var$9 - 0 | 0)) $safeName.$nativeString = $rt_charArrayToString(var$8.data, 0, $par2); else { $var5 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var5); $rt_throw($var5); } } $res = jl_String_replace($safeName, $rt_s(17), $rt_s(469)); if (!($res.$nativeString.length ? 0 : 1)) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1) break b; $ptr = 18; continue main; } $var5 = nms_GuiTexturePacks_texturePackListFile; $res = $var5.$path0; if (!($res !== null && !jl_String_contains($res, $rt_s(1397)) ? 0 : 1)) { $ptr = 19; continue main; } } } return; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 5: nms_RenderEngine_refreshTextures($var5); if ($rt_suspending()) { break main; } nms_RenderGlobal_loadRenderers($this.$mc.$renderGlobal); $var5 = var$5.$val$list; if ($par2 >= 0 && $par2 < $var5.$size0) { $safeName = $var5.$array.data[$par2].$texturePackFileName; $res = nleav_VFile_createPath($rt_wrapArray(jl_Object, [$this.$fileLocation, $safeName])); if (!($res !== null && !jl_String_contains($res, $rt_s(1397)) ? 0 : 1)) { $ptr = 8; continue main; } nms_GuiTexturePacks_$callClinit(); $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (!(var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1)) { $ptr = 11; continue main; } b: { if (0) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (!(var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1)) { $ptr = 13; continue main; } $var5 = null; $safeName = jur_Matcher__init_(jur_Pattern_compile($safeName, 0), $var5); $safeName.$leftBound0 = 0; var$7 = $safeName.$string.$nativeString.length; $safeName.$rightBound0 = var$7; $var5 = $safeName.$matchResult; var$5 = $safeName.$string; $par1 = $safeName.$leftBound0; $var5.$valid = 0; $var5.$mode0 = 2; var$8 = $var5.$groupBounds.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } var$8 = $var5.$consumers.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } if (var$5 !== null) $var5.$string1 = var$5; if ($par1 >= 0) { $var5.$leftBound = $par1; $var5.$rightBound = var$7; } $var5.$startIndex = $var5.$leftBound; $safeName.$appendPos = 0; $safeName.$replacement = null; $var5.$previousMatch = (-1); if (!jur_Matcher_find($safeName)) $safeName = $safeName.$string; else { $var5 = new jl_StringBuffer; $var5.$buffer = $rt_createCharArray(16); $safeName.$processedRepl = jur_Matcher_processReplacement($safeName, $rt_s(18)); $res = $safeName.$string; $par1 = $safeName.$appendPos; var$5 = $safeName.$matchResult; if (!var$5.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= var$5.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $res = jl_String_substring($res, $par1, var$5.$groupBounds.data[0]); var$9 = $res.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $res, 0, var$9); $res = $safeName.$processedRepl; jl_AbstractStringBuilder_insert($var5, $var5.$length0, $res); $res = $safeName.$matchResult; if (!$res.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= $res.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $par1 = $res.$groupBounds.data[1]; $safeName.$appendPos = $par1; $safeName = $safeName.$string; $safeName = jl_String_substring($safeName, $par1, $safeName.$nativeString.length); var$9 = $safeName.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $safeName, 0, var$9); $safeName = new jl_String; var$8 = $var5.$buffer; var$12 = var$8.data; $par2 = $var5.$length0; var$9 = var$12.length; if ($par2 >= 0 && $par2 <= (var$9 - 0 | 0)) $safeName.$nativeString = $rt_charArrayToString(var$8.data, 0, $par2); else { $var5 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var5); $rt_throw($var5); } } $res = jl_String_replace($safeName, $rt_s(17), $rt_s(469)); if (!($res.$nativeString.length ? 0 : 1)) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1) break b; $ptr = 20; continue main; } $var5 = nms_GuiTexturePacks_texturePackListFile; $res = $var5.$path0; if (!($res !== null && !jl_String_contains($res, $rt_s(1397)) ? 0 : 1)) { $ptr = 21; continue main; } } } return; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 6: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $var5 = nleav_SYS_VFS.$indexeddb; $ptr = 7; case 7: nleav_VirtualFilesystem$AsyncHandlers_deleteFiles$_asyncCall_$($var5, $res); if ($rt_suspending()) { break main; } nms_GuiTexturePacks_$callClinit(); $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (!(var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1)) { $ptr = 10; continue main; } c: { if (0) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (!(var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1)) { $ptr = 12; continue main; } $var5 = null; $safeName = jur_Matcher__init_(jur_Pattern_compile($safeName, 0), $var5); $safeName.$leftBound0 = 0; var$7 = $safeName.$string.$nativeString.length; $safeName.$rightBound0 = var$7; $var5 = $safeName.$matchResult; var$5 = $safeName.$string; $par1 = $safeName.$leftBound0; $var5.$valid = 0; $var5.$mode0 = 2; var$8 = $var5.$groupBounds.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } var$8 = $var5.$consumers.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } if (var$5 !== null) $var5.$string1 = var$5; if ($par1 >= 0) { $var5.$leftBound = $par1; $var5.$rightBound = var$7; } $var5.$startIndex = $var5.$leftBound; $safeName.$appendPos = 0; $safeName.$replacement = null; $var5.$previousMatch = (-1); if (!jur_Matcher_find($safeName)) $safeName = $safeName.$string; else { $var5 = new jl_StringBuffer; $var5.$buffer = $rt_createCharArray(16); $safeName.$processedRepl = jur_Matcher_processReplacement($safeName, $rt_s(18)); $res = $safeName.$string; $par1 = $safeName.$appendPos; var$5 = $safeName.$matchResult; if (!var$5.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= var$5.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $res = jl_String_substring($res, $par1, var$5.$groupBounds.data[0]); var$9 = $res.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $res, 0, var$9); $res = $safeName.$processedRepl; jl_AbstractStringBuilder_insert($var5, $var5.$length0, $res); $res = $safeName.$matchResult; if (!$res.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= $res.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $par1 = $res.$groupBounds.data[1]; $safeName.$appendPos = $par1; $safeName = $safeName.$string; $safeName = jl_String_substring($safeName, $par1, $safeName.$nativeString.length); var$9 = $safeName.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $safeName, 0, var$9); $safeName = new jl_String; var$8 = $var5.$buffer; var$12 = var$8.data; $par2 = $var5.$length0; var$9 = var$12.length; if ($par2 >= 0 && $par2 <= (var$9 - 0 | 0)) $safeName.$nativeString = $rt_charArrayToString(var$8.data, 0, $par2); else { $var5 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var5); $rt_throw($var5); } } $res = jl_String_replace($safeName, $rt_s(17), $rt_s(469)); if (!($res.$nativeString.length ? 0 : 1)) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1) break c; $ptr = 18; continue main; } $var5 = nms_GuiTexturePacks_texturePackListFile; $res = $var5.$path0; if (!($res !== null && !jl_String_contains($res, $rt_s(1397)) ? 0 : 1)) { $ptr = 19; continue main; } } } return; case 8: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $var5 = nleav_SYS_VFS.$indexeddb; $ptr = 9; case 9: nleav_VirtualFilesystem$AsyncHandlers_deleteFiles$_asyncCall_$($var5, $res); if ($rt_suspending()) { break main; } nms_GuiTexturePacks_$callClinit(); $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (!(var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1)) { $ptr = 11; continue main; } c: { if (0) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (!(var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1)) { $ptr = 13; continue main; } $var5 = null; $safeName = jur_Matcher__init_(jur_Pattern_compile($safeName, 0), $var5); $safeName.$leftBound0 = 0; var$7 = $safeName.$string.$nativeString.length; $safeName.$rightBound0 = var$7; $var5 = $safeName.$matchResult; var$5 = $safeName.$string; $par1 = $safeName.$leftBound0; $var5.$valid = 0; $var5.$mode0 = 2; var$8 = $var5.$groupBounds.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } var$8 = $var5.$consumers.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } if (var$5 !== null) $var5.$string1 = var$5; if ($par1 >= 0) { $var5.$leftBound = $par1; $var5.$rightBound = var$7; } $var5.$startIndex = $var5.$leftBound; $safeName.$appendPos = 0; $safeName.$replacement = null; $var5.$previousMatch = (-1); if (!jur_Matcher_find($safeName)) $safeName = $safeName.$string; else { $var5 = new jl_StringBuffer; $var5.$buffer = $rt_createCharArray(16); $safeName.$processedRepl = jur_Matcher_processReplacement($safeName, $rt_s(18)); $res = $safeName.$string; $par1 = $safeName.$appendPos; var$5 = $safeName.$matchResult; if (!var$5.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= var$5.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $res = jl_String_substring($res, $par1, var$5.$groupBounds.data[0]); var$9 = $res.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $res, 0, var$9); $res = $safeName.$processedRepl; jl_AbstractStringBuilder_insert($var5, $var5.$length0, $res); $res = $safeName.$matchResult; if (!$res.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= $res.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $par1 = $res.$groupBounds.data[1]; $safeName.$appendPos = $par1; $safeName = $safeName.$string; $safeName = jl_String_substring($safeName, $par1, $safeName.$nativeString.length); var$9 = $safeName.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $safeName, 0, var$9); $safeName = new jl_String; var$8 = $var5.$buffer; var$12 = var$8.data; $par2 = $var5.$length0; var$9 = var$12.length; if ($par2 >= 0 && $par2 <= (var$9 - 0 | 0)) $safeName.$nativeString = $rt_charArrayToString(var$8.data, 0, $par2); else { $var5 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var5); $rt_throw($var5); } } $res = jl_String_replace($safeName, $rt_s(17), $rt_s(469)); if (!($res.$nativeString.length ? 0 : 1)) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1) break c; $ptr = 20; continue main; } $var5 = nms_GuiTexturePacks_texturePackListFile; $res = $var5.$path0; if (!($res !== null && !jl_String_contains($res, $rt_s(1397)) ? 0 : 1)) { $ptr = 21; continue main; } } } return; case 10: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $res = nleav_SYS_VFS; $var5 = $var5.$path0; var$5 = $res.$fileMap; if ($var5 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { d: { if (!$var5.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var5.$nativeString.length) break d; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$9 = $var5.$hashCode1; var$8 = var$5.$elementData.data; var$5 = var$8[var$9 & (var$8.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { var$13 = var$5.$key; if ($var5 !== var$13 && !jl_String_equals($var5, var$13) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$5 = var$5 === null ? null : var$5.$value1; if (var$5 === null) { var$13 = $res.$fileMap; var$5 = new nleav_VirtualFilesystem$VFSFile; var$5.$fileSize = (-1); var$5.$hasBeenDeleted = 0; var$5.$hasBeenAccessed = 0; var$5.$exists = 0; var$5.$cache = null; var$5.$virtualFilesystem = $res; var$5.$filePath = $var5; nlea_EaglerAdapterImpl2_$callClinit(); var$5.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$13, $var5, var$5); } if (var$5.$hasBeenDeleted) $par1 = 0; else { nlea_EaglerAdapterImpl2_$callClinit(); var$5.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!var$5.$hasBeenAccessed) { $var5 = var$5.$virtualFilesystem.$indexeddb; $res = var$5.$filePath; $ptr = 14; continue main; } $par1 = var$5.$exists; } $par1 = !$par1 ? 0 : 1; e: { if ($par1) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (!(var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1)) { $ptr = 12; continue main; } $var5 = null; $safeName = jur_Matcher__init_(jur_Pattern_compile($safeName, 0), $var5); $safeName.$leftBound0 = 0; var$7 = $safeName.$string.$nativeString.length; $safeName.$rightBound0 = var$7; $var5 = $safeName.$matchResult; var$5 = $safeName.$string; $par1 = $safeName.$leftBound0; $var5.$valid = 0; $var5.$mode0 = 2; var$8 = $var5.$groupBounds.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } var$8 = $var5.$consumers.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } if (var$5 !== null) $var5.$string1 = var$5; if ($par1 >= 0) { $var5.$leftBound = $par1; $var5.$rightBound = var$7; } $var5.$startIndex = $var5.$leftBound; $safeName.$appendPos = 0; $safeName.$replacement = null; $var5.$previousMatch = (-1); if (!jur_Matcher_find($safeName)) $safeName = $safeName.$string; else { $var5 = new jl_StringBuffer; $var5.$buffer = $rt_createCharArray(16); $safeName.$processedRepl = jur_Matcher_processReplacement($safeName, $rt_s(18)); $res = $safeName.$string; $par1 = $safeName.$appendPos; var$5 = $safeName.$matchResult; if (!var$5.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= var$5.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $res = jl_String_substring($res, $par1, var$5.$groupBounds.data[0]); var$9 = $res.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $res, 0, var$9); $res = $safeName.$processedRepl; jl_AbstractStringBuilder_insert($var5, $var5.$length0, $res); $res = $safeName.$matchResult; if (!$res.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= $res.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $par1 = $res.$groupBounds.data[1]; $safeName.$appendPos = $par1; $safeName = $safeName.$string; $safeName = jl_String_substring($safeName, $par1, $safeName.$nativeString.length); var$9 = $safeName.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $safeName, 0, var$9); $safeName = new jl_String; var$8 = $var5.$buffer; var$12 = var$8.data; $par2 = $var5.$length0; var$9 = var$12.length; if ($par2 >= 0 && $par2 <= (var$9 - 0 | 0)) $safeName.$nativeString = $rt_charArrayToString(var$8.data, 0, $par2); else { $var5 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var5); $rt_throw($var5); } } $res = jl_String_replace($safeName, $rt_s(17), $rt_s(469)); if (!($res.$nativeString.length ? 0 : 1)) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1) break e; $ptr = 18; continue main; } $var5 = nms_GuiTexturePacks_texturePackListFile; $res = $var5.$path0; if (!($res !== null && !jl_String_contains($res, $rt_s(1397)) ? 0 : 1)) { $ptr = 19; continue main; } } } return; case 11: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $res = nleav_SYS_VFS; $var5 = $var5.$path0; var$5 = $res.$fileMap; if ($var5 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { d: { if (!$var5.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var5.$nativeString.length) break d; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$9 = $var5.$hashCode1; var$8 = var$5.$elementData.data; var$5 = var$8[var$9 & (var$8.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { var$13 = var$5.$key; if ($var5 !== var$13 && !jl_String_equals($var5, var$13) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$5 = var$5 === null ? null : var$5.$value1; if (var$5 === null) { var$13 = $res.$fileMap; var$5 = new nleav_VirtualFilesystem$VFSFile; var$5.$fileSize = (-1); var$5.$hasBeenDeleted = 0; var$5.$hasBeenAccessed = 0; var$5.$exists = 0; var$5.$cache = null; var$5.$virtualFilesystem = $res; var$5.$filePath = $var5; nlea_EaglerAdapterImpl2_$callClinit(); var$5.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$13, $var5, var$5); } if (var$5.$hasBeenDeleted) $par1 = 0; else { nlea_EaglerAdapterImpl2_$callClinit(); var$5.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!var$5.$hasBeenAccessed) { $var5 = var$5.$virtualFilesystem.$indexeddb; $res = var$5.$filePath; $ptr = 15; continue main; } $par1 = var$5.$exists; } $par1 = !$par1 ? 0 : 1; e: { if ($par1) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (!(var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1)) { $ptr = 13; continue main; } $var5 = null; $safeName = jur_Matcher__init_(jur_Pattern_compile($safeName, 0), $var5); $safeName.$leftBound0 = 0; var$7 = $safeName.$string.$nativeString.length; $safeName.$rightBound0 = var$7; $var5 = $safeName.$matchResult; var$5 = $safeName.$string; $par1 = $safeName.$leftBound0; $var5.$valid = 0; $var5.$mode0 = 2; var$8 = $var5.$groupBounds.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } var$8 = $var5.$consumers.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } if (var$5 !== null) $var5.$string1 = var$5; if ($par1 >= 0) { $var5.$leftBound = $par1; $var5.$rightBound = var$7; } $var5.$startIndex = $var5.$leftBound; $safeName.$appendPos = 0; $safeName.$replacement = null; $var5.$previousMatch = (-1); if (!jur_Matcher_find($safeName)) $safeName = $safeName.$string; else { $var5 = new jl_StringBuffer; $var5.$buffer = $rt_createCharArray(16); $safeName.$processedRepl = jur_Matcher_processReplacement($safeName, $rt_s(18)); $res = $safeName.$string; $par1 = $safeName.$appendPos; var$5 = $safeName.$matchResult; if (!var$5.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= var$5.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $res = jl_String_substring($res, $par1, var$5.$groupBounds.data[0]); var$9 = $res.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $res, 0, var$9); $res = $safeName.$processedRepl; jl_AbstractStringBuilder_insert($var5, $var5.$length0, $res); $res = $safeName.$matchResult; if (!$res.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= $res.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $par1 = $res.$groupBounds.data[1]; $safeName.$appendPos = $par1; $safeName = $safeName.$string; $safeName = jl_String_substring($safeName, $par1, $safeName.$nativeString.length); var$9 = $safeName.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $safeName, 0, var$9); $safeName = new jl_String; var$8 = $var5.$buffer; var$12 = var$8.data; $par2 = $var5.$length0; var$9 = var$12.length; if ($par2 >= 0 && $par2 <= (var$9 - 0 | 0)) $safeName.$nativeString = $rt_charArrayToString(var$8.data, 0, $par2); else { $var5 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var5); $rt_throw($var5); } } $res = jl_String_replace($safeName, $rt_s(17), $rt_s(469)); if (!($res.$nativeString.length ? 0 : 1)) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1) break e; $ptr = 20; continue main; } $var5 = nms_GuiTexturePacks_texturePackListFile; $res = $var5.$path0; if (!($res !== null && !jl_String_contains($res, $rt_s(1397)) ? 0 : 1)) { $ptr = 21; continue main; } } } return; case 12: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $res = nleav_SYS_VFS; $var5 = $var5.$path0; var$5 = $res.$fileMap; if ($var5 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { d: { if (!$var5.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var5.$nativeString.length) break d; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$9 = $var5.$hashCode1; var$8 = var$5.$elementData.data; var$5 = var$8[var$9 & (var$8.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { f: { var$13 = var$5.$key; if ($var5 !== var$13) { if ($var5 === var$13) $par1 = 1; else if (!(var$13 instanceof jl_String)) $par1 = 0; else { var$13 = var$13; $par1 = $var5.$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break f; } } $par1 = 1; } if ($par1) break; } var$5 = var$5.$next3; } } var$5 = var$5 === null ? null : var$5.$value1; if (var$5 === null) { var$13 = $res.$fileMap; var$5 = new nleav_VirtualFilesystem$VFSFile; var$5.$fileSize = (-1); var$5.$hasBeenDeleted = 0; var$5.$hasBeenAccessed = 0; var$5.$exists = 0; var$5.$cache = null; var$5.$virtualFilesystem = $res; var$5.$filePath = $var5; nlea_EaglerAdapterImpl2_$callClinit(); var$5.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$13, $var5, var$5); } $par1 = 0; $ptr = 16; continue main; case 13: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $res = nleav_SYS_VFS; $var5 = $var5.$path0; var$5 = $res.$fileMap; if ($var5 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { d: { if (!$var5.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var5.$nativeString.length) break d; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$9 = $var5.$hashCode1; var$8 = var$5.$elementData.data; var$5 = var$8[var$9 & (var$8.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { f: { var$13 = var$5.$key; if ($var5 !== var$13) { if ($var5 === var$13) $par1 = 1; else if (!(var$13 instanceof jl_String)) $par1 = 0; else { var$13 = var$13; $par1 = $var5.$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break f; } } $par1 = 1; } if ($par1) break; } var$5 = var$5.$next3; } } var$5 = var$5 === null ? null : var$5.$value1; if (var$5 === null) { var$13 = $res.$fileMap; var$5 = new nleav_VirtualFilesystem$VFSFile; var$5.$fileSize = (-1); var$5.$hasBeenDeleted = 0; var$5.$hasBeenAccessed = 0; var$5.$exists = 0; var$5.$cache = null; var$5.$virtualFilesystem = $res; var$5.$filePath = $var5; nlea_EaglerAdapterImpl2_$callClinit(); var$5.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$13, $var5, var$5); } $par1 = 0; $ptr = 17; continue main; case 14: $tmp = nleav_VirtualFilesystem$AsyncHandlers_fileExists$_asyncCall_$($var5, $res); if ($rt_suspending()) { break main; } $var5 = $tmp; $par1 = $var5.$bool; var$5.$exists = $par1; var$5.$hasBeenAccessed = 1; $par1 = !$par1 ? 0 : 1; d: { if ($par1) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (!(var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1)) { $ptr = 12; continue main; } $var5 = null; $safeName = jur_Matcher__init_(jur_Pattern_compile($safeName, 0), $var5); $safeName.$leftBound0 = 0; var$7 = $safeName.$string.$nativeString.length; $safeName.$rightBound0 = var$7; $var5 = $safeName.$matchResult; var$5 = $safeName.$string; $par1 = $safeName.$leftBound0; $var5.$valid = 0; $var5.$mode0 = 2; var$8 = $var5.$groupBounds.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } var$8 = $var5.$consumers.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } if (var$5 !== null) $var5.$string1 = var$5; if ($par1 >= 0) { $var5.$leftBound = $par1; $var5.$rightBound = var$7; } $var5.$startIndex = $var5.$leftBound; $safeName.$appendPos = 0; $safeName.$replacement = null; $var5.$previousMatch = (-1); if (!jur_Matcher_find($safeName)) $safeName = $safeName.$string; else { $var5 = new jl_StringBuffer; $var5.$buffer = $rt_createCharArray(16); $safeName.$processedRepl = jur_Matcher_processReplacement($safeName, $rt_s(18)); $res = $safeName.$string; $par1 = $safeName.$appendPos; var$5 = $safeName.$matchResult; if (!var$5.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= var$5.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $res = jl_String_substring($res, $par1, var$5.$groupBounds.data[0]); var$9 = $res.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $res, 0, var$9); $res = $safeName.$processedRepl; jl_AbstractStringBuilder_insert($var5, $var5.$length0, $res); $res = $safeName.$matchResult; if (!$res.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= $res.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $par1 = $res.$groupBounds.data[1]; $safeName.$appendPos = $par1; $safeName = $safeName.$string; $safeName = jl_String_substring($safeName, $par1, $safeName.$nativeString.length); var$9 = $safeName.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $safeName, 0, var$9); $safeName = new jl_String; var$8 = $var5.$buffer; var$12 = var$8.data; $par2 = $var5.$length0; var$9 = var$12.length; if ($par2 >= 0 && $par2 <= (var$9 - 0 | 0)) $safeName.$nativeString = $rt_charArrayToString(var$8.data, 0, $par2); else { $var5 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var5); $rt_throw($var5); } } $res = jl_String_replace($safeName, $rt_s(17), $rt_s(469)); if (!($res.$nativeString.length ? 0 : 1)) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1) break d; $ptr = 18; continue main; } $var5 = nms_GuiTexturePacks_texturePackListFile; $res = $var5.$path0; if (!($res !== null && !jl_String_contains($res, $rt_s(1397)) ? 0 : 1)) { $ptr = 19; continue main; } } } return; case 15: $tmp = nleav_VirtualFilesystem$AsyncHandlers_fileExists$_asyncCall_$($var5, $res); if ($rt_suspending()) { break main; } $var5 = $tmp; $par1 = $var5.$bool; var$5.$exists = $par1; var$5.$hasBeenAccessed = 1; $par1 = !$par1 ? 0 : 1; d: { if ($par1) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (!(var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1)) { $ptr = 13; continue main; } $var5 = null; $safeName = jur_Matcher__init_(jur_Pattern_compile($safeName, 0), $var5); $safeName.$leftBound0 = 0; var$7 = $safeName.$string.$nativeString.length; $safeName.$rightBound0 = var$7; $var5 = $safeName.$matchResult; var$5 = $safeName.$string; $par1 = $safeName.$leftBound0; $var5.$valid = 0; $var5.$mode0 = 2; var$8 = $var5.$groupBounds.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } var$8 = $var5.$consumers.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } if (var$5 !== null) $var5.$string1 = var$5; if ($par1 >= 0) { $var5.$leftBound = $par1; $var5.$rightBound = var$7; } $var5.$startIndex = $var5.$leftBound; $safeName.$appendPos = 0; $safeName.$replacement = null; $var5.$previousMatch = (-1); if (!jur_Matcher_find($safeName)) $safeName = $safeName.$string; else { $var5 = new jl_StringBuffer; $var5.$buffer = $rt_createCharArray(16); $safeName.$processedRepl = jur_Matcher_processReplacement($safeName, $rt_s(18)); $res = $safeName.$string; $par1 = $safeName.$appendPos; var$5 = $safeName.$matchResult; if (!var$5.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= var$5.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $res = jl_String_substring($res, $par1, var$5.$groupBounds.data[0]); var$9 = $res.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $res, 0, var$9); $res = $safeName.$processedRepl; jl_AbstractStringBuilder_insert($var5, $var5.$length0, $res); $res = $safeName.$matchResult; if (!$res.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= $res.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $par1 = $res.$groupBounds.data[1]; $safeName.$appendPos = $par1; $safeName = $safeName.$string; $safeName = jl_String_substring($safeName, $par1, $safeName.$nativeString.length); var$9 = $safeName.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $safeName, 0, var$9); $safeName = new jl_String; var$8 = $var5.$buffer; var$12 = var$8.data; $par2 = $var5.$length0; var$9 = var$12.length; if ($par2 >= 0 && $par2 <= (var$9 - 0 | 0)) $safeName.$nativeString = $rt_charArrayToString(var$8.data, 0, $par2); else { $var5 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var5); $rt_throw($var5); } } $res = jl_String_replace($safeName, $rt_s(17), $rt_s(469)); if (!($res.$nativeString.length ? 0 : 1)) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1) break d; $ptr = 20; continue main; } $var5 = nms_GuiTexturePacks_texturePackListFile; $res = $var5.$path0; if (!($res !== null && !jl_String_contains($res, $rt_s(1397)) ? 0 : 1)) { $ptr = 21; continue main; } } } return; case 16: $tmp = nleav_VirtualFilesystem$VFSFile_getAllBytes(var$5, $par1); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8 === null) $var5 = null; else { $var5 = new jl_String; jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$5 = jnc_Charset$Charsets_value; var$13 = $rt_s(86).$nativeString.toUpperCase(); var$14 = var$13 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$13); g: { if (!var$14.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= var$14.$nativeString.length) break g; var$14.$hashCode1 = (31 * var$14.$hashCode1 | 0) + var$14.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$9 = var$14.$hashCode1; var$12 = var$5.$elementData.data; var$5 = var$12[var$9 & (var$12.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { var$13 = var$5.$key; if (var$14 !== var$13 && !jl_String_equals(var$14, var$13) ? 0 : 1) break; } var$5 = var$5.$next3; } var$5 = var$5 === null ? null : var$5.$value1; if (var$5 === null) { $var5 = new jnc_UnsupportedCharsetException; jl_Throwable__init_($var5); $var5.$charsetName = $rt_s(86); $rt_throw($var5); } $par2 = var$8.data.length; if ($par2 >= 0 && $par2 <= ($par2 - 0 | 0)) { var$13 = new jn_ByteBufferImpl; var$11 = 0 + $par2 | 0; jn_Buffer__init_(var$13, $par2); var$13.$order = jn_ByteOrder_BIG_ENDIAN; var$13.$start = 0; var$13.$array0 = var$8; var$13.$position0 = 0; var$13.$limit0 = var$11; var$13.$direct = 0; var$13.$readOnly0 = 0; h: { try { $res = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$5.$newDecoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$13); break h; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $safeName = $$je; } else { throw $$e; } } $res = new jl_AssertionError; jl_Throwable__init_0($res, $rt_s(405), $safeName); $rt_throw($res); } var$9 = $res.$position0; if (!var$9 && $res.$limit0 == $res.$capacity) var$8 = $res.$array1; else { var$8 = $rt_createCharArray($res.$limit0 - var$9 | 0); jn_CharBuffer_get($res, var$8, 0, var$8.data.length); } $var5.$nativeString = $rt_fullArrayToString(var$8.data); } else { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($var5); $rt_throw($var5); } } $safeName = jur_Matcher__init_(jur_Pattern_compile($safeName, 0), $var5); $safeName.$leftBound0 = 0; var$7 = $safeName.$string.$nativeString.length; $safeName.$rightBound0 = var$7; $var5 = $safeName.$matchResult; var$5 = $safeName.$string; $par1 = $safeName.$leftBound0; $var5.$valid = 0; $var5.$mode0 = 2; var$8 = $var5.$groupBounds.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } var$8 = $var5.$consumers.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } if (var$5 !== null) $var5.$string1 = var$5; if ($par1 >= 0) { $var5.$leftBound = $par1; $var5.$rightBound = var$7; } $var5.$startIndex = $var5.$leftBound; $safeName.$appendPos = 0; $safeName.$replacement = null; $var5.$previousMatch = (-1); if (!jur_Matcher_find($safeName)) $safeName = $safeName.$string; else { $var5 = new jl_StringBuffer; $var5.$buffer = $rt_createCharArray(16); $safeName.$processedRepl = jur_Matcher_processReplacement($safeName, $rt_s(18)); $res = $safeName.$string; $par1 = $safeName.$appendPos; var$5 = $safeName.$matchResult; if (!var$5.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= var$5.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $res = jl_String_substring($res, $par1, var$5.$groupBounds.data[0]); var$9 = $res.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $res, 0, var$9); $res = $safeName.$processedRepl; jl_AbstractStringBuilder_insert($var5, $var5.$length0, $res); $res = $safeName.$matchResult; if (!$res.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= $res.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $par1 = $res.$groupBounds.data[1]; $safeName.$appendPos = $par1; $safeName = $safeName.$string; $safeName = jl_String_substring($safeName, $par1, $safeName.$nativeString.length); var$9 = $safeName.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $safeName, 0, var$9); $safeName = new jl_String; var$8 = $var5.$buffer; var$12 = var$8.data; $par2 = $var5.$length0; var$9 = var$12.length; if ($par2 >= 0 && $par2 <= (var$9 - 0 | 0)) $safeName.$nativeString = $rt_charArrayToString(var$8.data, 0, $par2); else { $var5 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var5); $rt_throw($var5); } } $res = jl_String_replace($safeName, $rt_s(17), $rt_s(469)); $par1 = $res.$nativeString.length ? 0 : 1; i: { if (!$par1) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1) break i; $ptr = 18; continue main; } $var5 = nms_GuiTexturePacks_texturePackListFile; $res = $var5.$path0; if (!($res !== null && !jl_String_contains($res, $rt_s(1397)) ? 0 : 1)) { $ptr = 19; continue main; } } return; case 17: $tmp = nleav_VirtualFilesystem$VFSFile_getAllBytes(var$5, $par1); if ($rt_suspending()) { break main; } var$8 = $tmp; if (var$8 === null) $var5 = null; else { $var5 = new jl_String; jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$5 = jnc_Charset$Charsets_value; var$13 = $rt_s(86).$nativeString.toUpperCase(); var$14 = var$13 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$13); g: { if (!var$14.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= var$14.$nativeString.length) break g; var$14.$hashCode1 = (31 * var$14.$hashCode1 | 0) + var$14.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$9 = var$14.$hashCode1; var$12 = var$5.$elementData.data; var$5 = var$12[var$9 & (var$12.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { var$13 = var$5.$key; if (var$14 !== var$13 && !jl_String_equals(var$14, var$13) ? 0 : 1) break; } var$5 = var$5.$next3; } var$5 = var$5 === null ? null : var$5.$value1; if (var$5 === null) { $var5 = new jnc_UnsupportedCharsetException; jl_Throwable__init_($var5); $var5.$charsetName = $rt_s(86); $rt_throw($var5); } $par2 = var$8.data.length; if ($par2 >= 0 && $par2 <= ($par2 - 0 | 0)) { var$13 = new jn_ByteBufferImpl; var$11 = 0 + $par2 | 0; jn_Buffer__init_(var$13, $par2); var$13.$order = jn_ByteOrder_BIG_ENDIAN; var$13.$start = 0; var$13.$array0 = var$8; var$13.$position0 = 0; var$13.$limit0 = var$11; var$13.$direct = 0; var$13.$readOnly0 = 0; h: { try { $res = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$5.$newDecoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$13); break h; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $safeName = $$je; } else { throw $$e; } } $res = new jl_AssertionError; jl_Throwable__init_0($res, $rt_s(405), $safeName); $rt_throw($res); } var$9 = $res.$position0; if (!var$9 && $res.$limit0 == $res.$capacity) var$8 = $res.$array1; else { var$8 = $rt_createCharArray($res.$limit0 - var$9 | 0); jn_CharBuffer_get($res, var$8, 0, var$8.data.length); } $var5.$nativeString = $rt_fullArrayToString(var$8.data); } else { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($var5); $rt_throw($var5); } } $safeName = jur_Matcher__init_(jur_Pattern_compile($safeName, 0), $var5); $safeName.$leftBound0 = 0; var$7 = $safeName.$string.$nativeString.length; $safeName.$rightBound0 = var$7; $var5 = $safeName.$matchResult; var$5 = $safeName.$string; $par1 = $safeName.$leftBound0; $var5.$valid = 0; $var5.$mode0 = 2; var$8 = $var5.$groupBounds.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } var$8 = $var5.$consumers.data; var$9 = 0; var$10 = var$8.length; if (var$9 > var$10) { $var5 = new jl_IllegalArgumentException; jl_Exception__init_($var5); $rt_throw($var5); } while (var$9 < var$10) { var$11 = var$9 + 1 | 0; var$8[var$9] = (-1); var$9 = var$11; } if (var$5 !== null) $var5.$string1 = var$5; if ($par1 >= 0) { $var5.$leftBound = $par1; $var5.$rightBound = var$7; } $var5.$startIndex = $var5.$leftBound; $safeName.$appendPos = 0; $safeName.$replacement = null; $var5.$previousMatch = (-1); if (!jur_Matcher_find($safeName)) $safeName = $safeName.$string; else { $var5 = new jl_StringBuffer; $var5.$buffer = $rt_createCharArray(16); $safeName.$processedRepl = jur_Matcher_processReplacement($safeName, $rt_s(18)); $res = $safeName.$string; $par1 = $safeName.$appendPos; var$5 = $safeName.$matchResult; if (!var$5.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= var$5.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $res = jl_String_substring($res, $par1, var$5.$groupBounds.data[0]); var$9 = $res.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $res, 0, var$9); $res = $safeName.$processedRepl; jl_AbstractStringBuilder_insert($var5, $var5.$length0, $res); $res = $safeName.$matchResult; if (!$res.$valid) { $var5 = new jl_IllegalStateException; jl_RuntimeException__init_($var5); $rt_throw($var5); } if (0 >= $res.$groupCount) { $var5 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var5, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var5); } $par1 = $res.$groupBounds.data[1]; $safeName.$appendPos = $par1; $safeName = $safeName.$string; $safeName = jl_String_substring($safeName, $par1, $safeName.$nativeString.length); var$9 = $safeName.$nativeString.length; jl_StringBuffer_insert($var5, $var5.$length0, $safeName, 0, var$9); $safeName = new jl_String; var$8 = $var5.$buffer; var$12 = var$8.data; $par2 = $var5.$length0; var$9 = var$12.length; if ($par2 >= 0 && $par2 <= (var$9 - 0 | 0)) $safeName.$nativeString = $rt_charArrayToString(var$8.data, 0, $par2); else { $var5 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var5); $rt_throw($var5); } } $res = jl_String_replace($safeName, $rt_s(17), $rt_s(469)); $par1 = $res.$nativeString.length ? 0 : 1; i: { if (!$par1) { $var5 = nms_GuiTexturePacks_texturePackListFile; var$5 = $var5.$path0; if (var$5 !== null && !jl_String_contains(var$5, $rt_s(1397)) ? 0 : 1) break i; $ptr = 20; continue main; } $var5 = nms_GuiTexturePacks_texturePackListFile; $res = $var5.$path0; if (!($res !== null && !jl_String_contains($res, $rt_s(1397)) ? 0 : 1)) { $ptr = 21; continue main; } } return; case 18: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $safeName = nleav_SYS_VFS; $var5 = $var5.$path0; var$5 = $safeName.$fileMap; if ($var5 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { d: { if (!$var5.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var5.$nativeString.length) break d; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$9 = $var5.$hashCode1; var$8 = var$5.$elementData.data; var$5 = var$8[var$9 & (var$8.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { f: { var$13 = var$5.$key; if ($var5 !== var$13) { if ($var5 === var$13) $par1 = 1; else if (!(var$13 instanceof jl_String)) $par1 = 0; else { var$13 = var$13; $par1 = $var5.$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break f; } } $par1 = 1; } if ($par1) break; } var$5 = var$5.$next3; } } var$14 = var$5 === null ? null : var$5.$value1; if (var$14 === null) { var$5 = $safeName.$fileMap; var$14 = new nleav_VirtualFilesystem$VFSFile; var$14.$fileSize = (-1); var$14.$hasBeenDeleted = 0; var$14.$hasBeenAccessed = 0; var$14.$exists = 0; var$14.$cache = null; var$14.$virtualFilesystem = $safeName; var$14.$filePath = $var5; nlea_EaglerAdapterImpl2_$callClinit(); var$14.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$5, $var5, var$14); } jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); $safeName = jnc_Charset$Charsets_value; var$5 = $rt_s(86).$nativeString.toUpperCase(); var$13 = var$5 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$5); j: { if (!var$13.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= var$13.$nativeString.length) break j; var$13.$hashCode1 = (31 * var$13.$hashCode1 | 0) + var$13.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$9 = var$13.$hashCode1; var$8 = $safeName.$elementData.data; $safeName = var$8[var$9 & (var$8.length - 1 | 0)]; while ($safeName !== null) { if ($safeName.$origKeyHash == var$9) { var$5 = $safeName.$key; if (var$13 !== var$5 && !jl_String_equals(var$13, var$5) ? 0 : 1) break; } $safeName = $safeName.$next3; } $safeName = $safeName === null ? null : $safeName.$value1; if ($safeName === null) { $safeName = new jnc_UnsupportedCharsetException; jl_Throwable__init_($safeName); $safeName.$charsetName = $rt_s(86); $rt_throw($safeName); } var$8 = $rt_fastStringToCharArray($res.$nativeString); $par2 = var$8.data.length; $var5 = new jn_CharBufferOverArray; jn_CharBuffer__init_($var5, $par2, 0, 0 + $par2 | 0); $var5.$start1 = 0; $var5.$readOnly1 = 0; $var5.$array1 = var$8; k: { try { $var5 = jnc_CharsetEncoder_encode(jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput($safeName.$newEncoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), $var5); break k; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $safeName = $$je; } else { throw $$e; } } $res = new jl_AssertionError; $res.$suppressionEnabled = 1; $res.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($res); $res.$message = $rt_s(405); $res.$cause = $safeName; $rt_throw($res); } var$9 = $var5.$position0; if (!var$9 && $var5.$limit0 == $var5.$capacity) var$8 = $var5.$array0; else { var$8 = $rt_createByteArray($var5.$limit0 - var$9 | 0); jn_ByteBuffer_get($var5, var$8, 0, var$8.data.length); } $par1 = 1; $ptr = 24; continue main; case 19: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $safeName = nleav_SYS_VFS; $var5 = $var5.$path0; $res = $safeName.$fileMap; if ($var5 === null) { $res = $res.$elementData.data[0]; while ($res !== null && $res.$key !== null) { $res = $res.$next3; } } else { d: { if (!$var5.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var5.$nativeString.length) break d; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$9 = $var5.$hashCode1; var$8 = $res.$elementData.data; $res = var$8[var$9 & (var$8.length - 1 | 0)]; while ($res !== null) { if ($res.$origKeyHash == var$9) { var$5 = $res.$key; if ($var5 !== var$5 && !jl_String_equals($var5, var$5) ? 0 : 1) break; } $res = $res.$next3; } } $res = $res === null ? null : $res.$value1; if ($res === null) { var$5 = $safeName.$fileMap; $res = new nleav_VirtualFilesystem$VFSFile; $res.$fileSize = (-1); $res.$hasBeenDeleted = 0; $res.$hasBeenAccessed = 0; $res.$exists = 0; $res.$cache = null; $res.$virtualFilesystem = $safeName; $res.$filePath = $var5; nlea_EaglerAdapterImpl2_$callClinit(); $res.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$5, $var5, $res); } $ptr = 22; continue main; case 20: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $safeName = nleav_SYS_VFS; $var5 = $var5.$path0; var$5 = $safeName.$fileMap; if ($var5 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { d: { if (!$var5.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var5.$nativeString.length) break d; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$9 = $var5.$hashCode1; var$8 = var$5.$elementData.data; var$5 = var$8[var$9 & (var$8.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { f: { var$13 = var$5.$key; if ($var5 !== var$13) { if ($var5 === var$13) $par1 = 1; else if (!(var$13 instanceof jl_String)) $par1 = 0; else { var$13 = var$13; $par1 = $var5.$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break f; } } $par1 = 1; } if ($par1) break; } var$5 = var$5.$next3; } } var$14 = var$5 === null ? null : var$5.$value1; if (var$14 === null) { var$5 = $safeName.$fileMap; var$14 = new nleav_VirtualFilesystem$VFSFile; var$14.$fileSize = (-1); var$14.$hasBeenDeleted = 0; var$14.$hasBeenAccessed = 0; var$14.$exists = 0; var$14.$cache = null; var$14.$virtualFilesystem = $safeName; var$14.$filePath = $var5; nlea_EaglerAdapterImpl2_$callClinit(); var$14.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$5, $var5, var$14); } jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); $safeName = jnc_Charset$Charsets_value; var$5 = $rt_s(86).$nativeString.toUpperCase(); var$13 = var$5 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$5); j: { if (!var$13.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= var$13.$nativeString.length) break j; var$13.$hashCode1 = (31 * var$13.$hashCode1 | 0) + var$13.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$9 = var$13.$hashCode1; var$8 = $safeName.$elementData.data; $safeName = var$8[var$9 & (var$8.length - 1 | 0)]; while ($safeName !== null) { if ($safeName.$origKeyHash == var$9) { var$5 = $safeName.$key; if (var$13 !== var$5 && !jl_String_equals(var$13, var$5) ? 0 : 1) break; } $safeName = $safeName.$next3; } $safeName = $safeName === null ? null : $safeName.$value1; if ($safeName === null) { $safeName = new jnc_UnsupportedCharsetException; jl_Throwable__init_($safeName); $safeName.$charsetName = $rt_s(86); $rt_throw($safeName); } var$8 = $rt_fastStringToCharArray($res.$nativeString); $par2 = var$8.data.length; $var5 = new jn_CharBufferOverArray; jn_CharBuffer__init_($var5, $par2, 0, 0 + $par2 | 0); $var5.$start1 = 0; $var5.$readOnly1 = 0; $var5.$array1 = var$8; k: { try { $var5 = jnc_CharsetEncoder_encode(jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput($safeName.$newEncoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), $var5); break k; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $safeName = $$je; } else { throw $$e; } } $res = new jl_AssertionError; $res.$suppressionEnabled = 1; $res.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($res); $res.$message = $rt_s(405); $res.$cause = $safeName; $rt_throw($res); } var$9 = $var5.$position0; if (!var$9 && $var5.$limit0 == $var5.$capacity) var$8 = $var5.$array0; else { var$8 = $rt_createByteArray($var5.$limit0 - var$9 | 0); jn_ByteBuffer_get($var5, var$8, 0, var$8.data.length); } $par1 = 1; $ptr = 25; continue main; case 21: nleav_SYS_$callClinit(); if ($rt_suspending()) { break main; } $safeName = nleav_SYS_VFS; $var5 = $var5.$path0; $res = $safeName.$fileMap; if ($var5 === null) { $res = $res.$elementData.data[0]; while ($res !== null && $res.$key !== null) { $res = $res.$next3; } } else { d: { if (!$var5.$hashCode1) { $par1 = 0; while (true) { if ($par1 >= $var5.$nativeString.length) break d; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt($par1) | 0; $par1 = $par1 + 1 | 0; } } } var$9 = $var5.$hashCode1; var$8 = $res.$elementData.data; $res = var$8[var$9 & (var$8.length - 1 | 0)]; while ($res !== null) { if ($res.$origKeyHash == var$9) { var$5 = $res.$key; if ($var5 !== var$5 && !jl_String_equals($var5, var$5) ? 0 : 1) break; } $res = $res.$next3; } } $res = $res === null ? null : $res.$value1; if ($res === null) { var$5 = $safeName.$fileMap; $res = new nleav_VirtualFilesystem$VFSFile; $res.$fileSize = (-1); $res.$hasBeenDeleted = 0; $res.$hasBeenAccessed = 0; $res.$exists = 0; $res.$cache = null; $res.$virtualFilesystem = $safeName; $res.$filePath = $var5; nlea_EaglerAdapterImpl2_$callClinit(); $res.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); ju_HashMap_putImpl(var$5, $var5, $res); } $ptr = 23; continue main; case 22: $tmp = nleav_VirtualFilesystem$VFSFile_delete($res); if ($rt_suspending()) { break main; } $par1 = $tmp; return; case 23: $tmp = nleav_VirtualFilesystem$VFSFile_delete($res); if ($rt_suspending()) { break main; } $par1 = $tmp; return; case 24: nleav_VirtualFilesystem$VFSFile_setAllBytes(var$14, var$8, $par1); if ($rt_suspending()) { break main; } return; case 25: nleav_VirtualFilesystem$VFSFile_setAllBytes(var$14, var$8, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var5, $safeName, var$5, $res, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_GuiTexturePacks__clinit_ = () => { let var$1, var$2; var$1 = new nleav_VFile; var$2 = $rt_createArray(jl_Object, 1); var$2.data[0] = $rt_s(3289); var$1.$path0 = nleav_VFile_createPath(var$2); nms_GuiTexturePacks_texturePackListFile = var$1; }; function nms_PositionTextureVertex() { let a = this; jl_Object.call(a); a.$vector3D = null; a.$texturePositionX = 0.0; a.$texturePositionY = 0.0; } function nms_TexturedQuad() { let a = this; jl_Object.call(a); a.$vertexPositions = null; a.$nVertices = 0; a.$invertNormal = 0; } let nms_TexturedQuad__init_0 = ($this, $par1ArrayOfPositionTextureVertex, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, $var8, $var9, var$11, var$12, var$13, var$14; var$8 = $par1ArrayOfPositionTextureVertex.data; $this.$vertexPositions = $par1ArrayOfPositionTextureVertex; $this.$nVertices = var$8.length; $var8 = 0.0 / $par6; $var9 = 0.0 / $par7; var$11 = var$8[0]; var$12 = $par4 / $par6 - $var8; var$13 = $par3 / $par7 + $var9; var$14 = new nms_PositionTextureVertex; var$14.$vector3D = var$11.$vector3D; var$14.$texturePositionX = var$12; var$14.$texturePositionY = var$13; var$8[0] = var$14; var$14 = var$8[1]; $var8 = $par2 / $par6 + $var8; var$11 = new nms_PositionTextureVertex; var$11.$vector3D = var$14.$vector3D; var$11.$texturePositionX = $var8; var$11.$texturePositionY = var$13; var$8[1] = var$11; var$11 = var$8[2]; $par6 = $par5 / $par7 - $var9; var$14 = new nms_PositionTextureVertex; var$14.$vector3D = var$11.$vector3D; var$14.$texturePositionX = $var8; var$14.$texturePositionY = $par6; var$8[2] = var$14; var$11 = var$8[3]; var$14 = new nms_PositionTextureVertex; var$14.$vector3D = var$11.$vector3D; var$14.$texturePositionX = var$12; var$14.$texturePositionY = $par6; var$8[3] = var$14; }, nms_TexturedQuad__init_ = (var_0, var_1, var_2, var_3, var_4, var_5, var_6) => { let var_7 = new nms_TexturedQuad(); nms_TexturedQuad__init_0(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; }, nms_TexturedQuad_flipFace = $this => { let var$1, var$2, $var1, var$4, $var2; var$1 = $this.$vertexPositions.data; var$2 = var$1.length; $var1 = $rt_createArray(nms_PositionTextureVertex, var$2); var$4 = $var1.data; $var2 = 0; while ($var2 < var$2) { var$4[$var2] = var$1[(var$2 - $var2 | 0) - 1 | 0]; $var2 = $var2 + 1 | 0; } $this.$vertexPositions = $var1; }, nms_TexturedQuad_draw = ($this, $par1Tessellator, $par2) => { let var$3, $var5, $var7, $var3, $var6, var$8, var$9, var$10, var$11, var$12; var$3 = $this.$vertexPositions.data; $var5 = var$3[1].$vector3D; $var7 = var$3[0].$vector3D; $var3 = nms_Vec3Pool_getVecFromPool($var5.$myVec3LocalPool, $var7.$xCoord - $var5.$xCoord, $var7.$yCoord - $var5.$yCoord, $var7.$zCoord - $var5.$zCoord); var$3 = $this.$vertexPositions.data; $var5 = var$3[1].$vector3D; $var7 = var$3[2].$vector3D; $var5 = nms_Vec3_normalize(nms_Vec3_crossProduct(nms_Vec3Pool_getVecFromPool($var5.$myVec3LocalPool, $var7.$xCoord - $var5.$xCoord, $var7.$yCoord - $var5.$yCoord, $var7.$zCoord - $var5.$zCoord), $var3)); if ($par1Tessellator.$isDrawing) nlea_Tessellator_draw($par1Tessellator); $par1Tessellator.$isDrawing = 1; $par1Tessellator.$vertexCount = 0; $par1Tessellator.$rawBufferIndex = 0; $par1Tessellator.$addedVertices = 0; $par1Tessellator.$drawMode = 7; $par1Tessellator.$hasNormals = 0; $par1Tessellator.$hasColor = 0; $par1Tessellator.$hasTexture = 0; $par1Tessellator.$hasBrightness = 0; $par1Tessellator.$isColorDisabled = 0; if (!$this.$invertNormal) nlea_Tessellator_setNormal($par1Tessellator, $var5.$xCoord, $var5.$yCoord, $var5.$zCoord); else nlea_Tessellator_setNormal($par1Tessellator, -$var5.$xCoord, -$var5.$yCoord, -$var5.$zCoord); $var6 = 0; while ($var6 < 4) { $var7 = $this.$vertexPositions.data[$var6]; $var5 = $var7.$vector3D; var$8 = $var5.$xCoord * $par2; var$9 = $var5.$yCoord * $par2; var$10 = $var5.$zCoord * $par2; var$11 = $var7.$texturePositionX; var$12 = $var7.$texturePositionY; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = var$11; $par1Tessellator.$textureV = var$12; nlea_Tessellator_addVertex($par1Tessellator, var$8, var$9, var$10); $var6 = $var6 + 1 | 0; } nlea_Tessellator_draw($par1Tessellator); }; function ju_AbstractMap$SimpleEntry() { let a = this; jl_Object.call(a); a.$key0 = null; a.$value4 = null; } let ju_AbstractMap$SimpleEntry__init_ = ($this, $key, $value) => { $this.$key0 = $key; $this.$value4 = $value; }, ju_AbstractMap$SimpleEntry__init_0 = (var_0, var_1) => { let var_2 = new ju_AbstractMap$SimpleEntry(); ju_AbstractMap$SimpleEntry__init_(var_2, var_0, var_1); return var_2; }, ju_AbstractMap$SimpleEntry_getValue = $this => { return $this.$value4; }, ju_AbstractMap$SimpleEntry_setValue = ($this, $value) => { let $old; $old = $this.$value4; $this.$value4 = $value; return $old; }, ju_AbstractMap$SimpleEntry_getKey = $this => { return $this.$key0; }, ju_AbstractMap$SimpleEntry_equals = ($this, $obj) => { let $entry, var$3, var$4; if ($this === $obj) return 1; if (!$rt_isInstance($obj, ju_Map$Entry)) return 0; $entry = $obj; $obj = $this.$key0; var$3 = $entry.$getKey(); if ($obj === var$3) var$4 = 1; else if ($obj === null) var$4 = var$3 !== null ? 0 : 1; else if ($obj === var$3) var$4 = 1; else if (!(var$3 instanceof jl_String)) var$4 = 0; else { var$3 = var$3; var$4 = $obj.$nativeString !== var$3.$nativeString ? 0 : 1; } a: { if (var$4) { $obj = $this.$value4; $entry = $entry.$getValue(); if ($obj === $entry ? 1 : $obj !== null ? $obj.$equals($entry) : $entry !== null ? 0 : 1) { var$4 = 1; break a; } } var$4 = 0; } return var$4; }, ju_AbstractMap$SimpleEntry_hashCode = $this => { let var$1, var$2; var$1 = $this.$key0; if (var$1 === null) var$2 = 0; else { a: { if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$2 = var$1.$hashCode1; } var$1 = $this.$value4; return var$2 ^ (var$1 !== null ? var$1.$hashCode() : 0); }, ju_AbstractMap$SimpleEntry_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$key0; var$2 = $this.$value4; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$4 = var$3.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$1); var$5 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$5, var$5 + 1 | 0); var$3.$buffer.data[var$5] = 61; jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$2 === null ? $rt_s(1) : var$2.$toString()); var$1 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; var$5 = var$3.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); return var$1; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); }; function ju_TreeMap$TreeNode() { let a = this; ju_AbstractMap$SimpleEntry.call(a); a.$left = null; a.$right = null; a.$height1 = 0; a.$size1 = 0; } let ju_TreeMap$TreeNode__init_0 = ($this, $key) => { let var$2; var$2 = null; $this.$key0 = $key; $this.$value4 = var$2; $this.$height1 = 1; $this.$size1 = 1; }, ju_TreeMap$TreeNode__init_ = var_0 => { let var_1 = new ju_TreeMap$TreeNode(); ju_TreeMap$TreeNode__init_0(var_1, var_0); return var_1; }, ju_TreeMap$TreeNode_balance = $this => { let var$1, var$2, var$3, $factor, var$5, var$6; var$1 = $this.$right; var$2 = var$1 === null ? 0 : var$1.$height1; var$3 = $this.$left; $factor = var$2 - (var$3 === null ? 0 : var$3.$height1) | 0; if ($factor == 2) { var$5 = var$1.$right; var$2 = var$5 === null ? 0 : var$5.$height1; var$6 = var$1.$left; if ((var$2 - (var$6 === null ? 0 : var$6.$height1) | 0) < 0) { var$1.$left = var$6.$right; var$6.$right = var$1; ju_TreeMap$TreeNode_fix(var$1); ju_TreeMap$TreeNode_fix(var$6); $this.$right = var$6; } var$5 = $this.$right; $this.$right = var$5.$left; var$5.$left = $this; ju_TreeMap$TreeNode_fix($this); ju_TreeMap$TreeNode_fix(var$5); return var$5; } if ($factor != (-2)) return $this; var$6 = var$3.$right; var$2 = var$6 === null ? 0 : var$6.$height1; var$5 = var$3.$left; if ((var$2 - (var$5 === null ? 0 : var$5.$height1) | 0) > 0) { var$3.$right = var$6.$left; var$6.$left = var$3; ju_TreeMap$TreeNode_fix(var$3); ju_TreeMap$TreeNode_fix(var$6); $this.$left = var$6; } var$5 = $this.$left; $this.$left = var$5.$right; var$5.$right = $this; ju_TreeMap$TreeNode_fix($this); ju_TreeMap$TreeNode_fix(var$5); return var$5; }, ju_TreeMap$TreeNode_fix = $this => { let var$1, var$2, var$3, var$4; var$1 = $this.$right; var$2 = var$1 === null ? 0 : var$1.$height1; var$3 = $this.$left; var$4 = var$3 === null ? 0 : var$3.$height1; if (var$2 > var$4) var$4 = var$2; $this.$height1 = var$4 + 1 | 0; $this.$size1 = 1; if (var$3 !== null) $this.$size1 = 1 + var$3.$size1 | 0; if (var$1 !== null) $this.$size1 = $this.$size1 + var$1.$size1 | 0; }; function nlea_EaglerAdapterImpl2$AudioBufferX() { jl_Object.call(this); this.$buffer4 = null; } let nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_0 = $rt_classWithoutFields(), nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_0__init_ = var$0 => { return; }, nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_0__init_0 = () => { let var_0 = new nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_0(); nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_0__init_(var_0); return var_0; }, juf_BiConsumer = $rt_classWithoutFields(0), nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_1 = $rt_classWithoutFields(), nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_1__init_ = var$0 => { return; }, nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_1__init_0 = () => { let var_0 = new nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_1(); nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_1__init_(var_0); return var_0; }; function nlea_EaglerAdapterImpl2$27() { jl_Object.call(this); this.$val$theId2 = 0; } let nlea_EaglerAdapterImpl2$27_handleEvent$exported$0 = (var$0, var$1) => { let var$2, var$3; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_activeSoundEffects; var$2 = var$0.$val$theId2; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } ju_HashMap_removeByKey(var$1, var$3); }; function nlea_EaglerAdapterImpl2$25() { jl_Object.call(this); this.$val$theId0 = 0; } let nlea_EaglerAdapterImpl2$25_handleEvent$exported$0 = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_activeSoundEffects; var$2 = var$0.$val$theId0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$4 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$6 = var$1.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } if (var$1 === null ? 0 : 1) { var$1 = nlea_EaglerAdapterImpl2_activeSoundEffects; var$2 = var$0.$val$theId0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$2 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$2 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$2) { var$6 = var$1.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$2 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } (var$1 === null ? null : var$1.$value1).$audio.play(); } }; function nlea_EaglerAdapterImpl2$26() { jl_Object.call(this); this.$val$theId3 = 0; } let nlea_EaglerAdapterImpl2$26_handleEvent$exported$0 = (var$0, var$1) => { let var$2, var$3; nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_activeSoundEffects; var$2 = var$0.$val$theId3; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } var$1 = ju_HashMap_removeByKey(var$1, var$3); var$1 = (var$1 === null ? null : var$1.$value1).$audio; var$3 = ""; var$1.src = var$3; }; function nleav_VirtualFilesystem$VFSHandle() { let a = this; jl_Object.call(a); a.$failedInit0 = 0; a.$failedLocked0 = 0; a.$failedError0 = null; a.$vfs = null; } function nms_PotionEffect() { let a = this; jl_Object.call(a); a.$potionID = 0; a.$duration = 0; a.$amplifier = 0; a.$isSplashPotion = 0; a.$isAmbient = 0; a.$isPotionDurationMax = 0; } let nms_PotionEffect_combine = ($this, $par1PotionEffect) => { let var$2, var$3, var$4, var$5; if ($this.$potionID != $par1PotionEffect.$potionID) { if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; jl_Object__init_(var$3); var$3.$buffer = $rt_createCharArray(16); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } $rt_putStderr("This method should only be called for matching effects!"); $rt_putStderr("\n"); } a: { var$4 = $par1PotionEffect.$amplifier; var$5 = $rt_compare(var$4, $this.$amplifier); if (var$5 > 0) { $this.$amplifier = var$4; $this.$duration = $par1PotionEffect.$duration; } else { if (!var$5) { var$4 = $this.$duration; var$5 = $par1PotionEffect.$duration; if (var$4 < var$5) { $this.$duration = var$5; break a; } } var$4 = $par1PotionEffect.$isAmbient; if (!var$4 && $this.$isAmbient) $this.$isAmbient = var$4; } } }, nms_PotionEffect_hashCode = $this => { return $this.$potionID; }, nms_PotionEffect_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; a: { var$1 = $this.$amplifier; if (var$1 <= 0) { nms_Potion_$callClinit(); var$2 = nms_Potion_potionTypes.data[$this.$potionID].$name2; var$3 = $this.$duration; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$5 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3290)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$1 = var$4.$length0; var$3 = var$7.length; if (var$1 >= 0 && var$1 <= (var$3 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$1); break a; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } nms_Potion_$callClinit(); var$2 = nms_Potion_potionTypes.data[$this.$potionID].$name2; var$5 = var$1 + 1 | 0; var$8 = $this.$duration; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$1 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$1, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3291)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$5, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3290)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$8, 10); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$1 = var$4.$length0; var$3 = var$7.length; if (var$1 >= 0 && var$1 <= (var$3 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$1); else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } } if ($this.$isSplashPotion) { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3292)); var$2 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$1 = var$4.$length0; var$3 = var$7.length; if (var$1 >= 0 && var$1 <= (var$3 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$1); else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } } b: { nms_Potion_$callClinit(); if (nms_Potion_potionTypes.data[$this.$potionID].$usable) { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$1 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$1, var$1 + 1 | 0); var$4.$buffer.data[var$1] = 40; jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$2); var$1 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$1, var$1 + 1 | 0); var$6 = var$4.$buffer; var$7 = var$6.data; var$7[var$1] = 41; var$2 = new jl_String; var$1 = var$4.$length0; var$3 = var$7.length; if (var$1 < 0) break b; if (var$1 > (var$3 - 0 | 0)) break b; var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$1); } return var$2; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nms_PotionEffect_equals = ($this, $par1Obj) => { let $var2; if (!($par1Obj instanceof nms_PotionEffect)) return 0; $var2 = $par1Obj; return $this.$potionID == $var2.$potionID && $this.$amplifier == $var2.$amplifier && $this.$duration == $var2.$duration && $this.$isSplashPotion == $var2.$isSplashPotion && $this.$isAmbient == $var2.$isAmbient ? 1 : 0; }, otr_EventQueue$Event = $rt_classWithoutFields(0), jl_ThreadInterruptHandler = $rt_classWithoutFields(0), jlr_ReferenceQueue$RemoveCallback = $rt_classWithoutFields(); function ju_Formatter$FormatWriter() { let a = this; jl_Object.call(a); a.$formatter = null; a.$out3 = null; a.$locale5 = null; a.$format2 = null; a.$args = null; a.$index6 = 0; a.$formatSpecifierStart = 0; a.$defaultArgumentIndex = 0; a.$argumentIndex = 0; a.$previousArgumentIndex = 0; a.$width4 = 0; a.$precision0 = 0; a.$flags0 = 0; } let ju_Formatter$FormatWriter__init_0 = ($this, $formatter, $out, $locale, $format, $args) => { $this.$formatter = $formatter; $this.$out3 = $out; $this.$locale5 = $locale; $this.$format2 = $format; $this.$args = $args; }, ju_Formatter$FormatWriter__init_ = (var_0, var_1, var_2, var_3, var_4) => { let var_5 = new ju_Formatter$FormatWriter(); ju_Formatter$FormatWriter__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; }, ju_Formatter$FormatWriter_write = $this => { let $next, var$2, var$3, var$4, $specifier, var$6; while (true) { $next = jl_String_indexOf($this.$format2, 37, $this.$index6); if ($next < 0) break; var$2 = $this.$out3; var$3 = jl_String_substring($this.$format2, $this.$index6, $next); var$4 = var$3.$nativeString.length; jl_AbstractStringBuilder_insert3(var$2, var$2.$length0, var$3, 0, var$4); $next = $next + 1 | 0; $this.$index6 = $next; $this.$formatSpecifierStart = $next; $specifier = ju_Formatter$FormatWriter_parseFormatSpecifier($this); ju_Formatter$FormatWriter_configureFormat($this); ju_Formatter$FormatWriter_formatValue($this, $specifier); } var$2 = $this.$out3; var$3 = $this.$format2; var$3 = jl_String_substring(var$3, $this.$index6, var$3.$nativeString.length); var$6 = var$3.$nativeString.length; jl_AbstractStringBuilder_insert3(var$2, var$2.$length0, var$3, 0, var$6); }, ju_Formatter$FormatWriter_formatValue = ($this, $specifier) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; a: { b: { switch ($specifier) { case 66: var$2 = $this.$flags0; if ((var$2 | 263) == 263) { var$3 = $this.$args.data[$this.$argumentIndex]; ju_Formatter$FormatWriter_formatGivenString($this, 1, !(var$3 instanceof jl_Boolean ? var$3.$value9 : var$3 === null ? 0 : 1) ? $rt_s(69) : $rt_s(70)); break a; } var$3 = new ju_FormatFlagsConversionMismatchException; var$4 = jl_Integer_numberOfTrailingZeros(var$2 & (-264)); if (var$4 >= 0 && var$4 < $rt_s(3293).$nativeString.length) { var$5 = $rt_s(3293).$nativeString.charCodeAt(var$4); var$6 = new jl_String; var$7 = $rt_createCharArray(1); var$8 = var$7.data; var$8[0] = var$5; var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8.length); var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$9, var$9.$length0, $rt_s(3294)); jl_AbstractStringBuilder_insert1(var$9, var$9.$length0, var$6); jl_AbstractStringBuilder_insert1(var$9, var$9.$length0, $rt_s(3295)); var$4 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$4, var$4 + 1 | 0); var$7 = var$9.$buffer; var$8 = var$7.data; var$8[var$4] = $specifier; var$10 = new jl_String; var$5 = var$9.$length0; var$2 = var$8.length; if (var$5 >= 0 && var$5 <= (var$2 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$7.data, 0, var$5); var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = var$10; var$3.$flags3 = var$6; var$3.$conversion = $specifier; $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = new jl_StringIndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); case 67: break; case 68: ju_Formatter$FormatWriter_formatDecimalInt($this, $specifier, 1); break a; case 69: case 70: case 71: case 73: case 74: case 75: case 76: case 77: case 78: case 80: case 81: case 82: case 84: case 85: case 86: case 87: case 89: case 90: case 91: case 92: case 93: case 94: case 95: case 96: case 97: case 101: case 103: case 105: case 106: case 107: case 108: case 109: case 110: case 112: case 113: case 114: case 116: case 117: case 118: case 119: break b; case 72: var$2 = $this.$flags0; if ((var$2 | 263) == 263) { var$3 = $this.$args.data[$this.$argumentIndex]; ju_Formatter$FormatWriter_formatGivenString($this, 1, var$3 === null ? $rt_s(1) : otci_IntegerUtil_toUnsignedLogRadixString(var$3.$hashCode(), 4)); break a; } var$3 = new ju_FormatFlagsConversionMismatchException; var$4 = jl_Integer_numberOfTrailingZeros(var$2 & (-264)); if (var$4 >= 0 && var$4 < $rt_s(3293).$nativeString.length) { var$5 = $rt_s(3293).$nativeString.charCodeAt(var$4); var$6 = new jl_String; var$7 = $rt_createCharArray(1); var$8 = var$7.data; var$8[0] = var$5; var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8.length); var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$9, var$9.$length0, $rt_s(3294)); jl_AbstractStringBuilder_insert1(var$9, var$9.$length0, var$6); jl_AbstractStringBuilder_insert1(var$9, var$9.$length0, $rt_s(3295)); var$4 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$4, var$4 + 1 | 0); var$7 = var$9.$buffer; var$8 = var$7.data; var$8[var$4] = $specifier; var$10 = new jl_String; var$5 = var$9.$length0; var$2 = var$8.length; if (var$5 >= 0 && var$5 <= (var$2 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$7.data, 0, var$5); var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = var$10; var$3.$flags3 = var$6; var$3.$conversion = $specifier; $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = new jl_StringIndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); case 79: ju_Formatter$FormatWriter_formatRadixInt($this, $specifier, 3, 1); break a; case 83: ju_Formatter$FormatWriter_formatString($this, $specifier, 1); break a; case 88: ju_Formatter$FormatWriter_formatRadixInt($this, $specifier, 4, 1); break a; case 98: var$2 = $this.$flags0; if ((var$2 | 263) != 263) { var$3 = new ju_FormatFlagsConversionMismatchException; var$4 = jl_Integer_numberOfTrailingZeros(var$2 & (-264)); if (var$4 >= 0 && var$4 < $rt_s(3293).$nativeString.length) { var$5 = $rt_s(3293).$nativeString.charCodeAt(var$4); var$6 = new jl_String; var$7 = $rt_createCharArray(1); var$8 = var$7.data; var$8[0] = var$5; var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8.length); var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$9, var$9.$length0, $rt_s(3294)); jl_AbstractStringBuilder_insert1(var$9, var$9.$length0, var$6); jl_AbstractStringBuilder_insert1(var$9, var$9.$length0, $rt_s(3295)); var$4 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$4, var$4 + 1 | 0); var$7 = var$9.$buffer; var$8 = var$7.data; var$8[var$4] = $specifier; var$10 = new jl_String; var$5 = var$9.$length0; var$2 = var$8.length; if (var$5 >= 0 && var$5 <= (var$2 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$7.data, 0, var$5); var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = var$10; var$3.$flags3 = var$6; var$3.$conversion = $specifier; $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = new jl_StringIndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = $this.$args.data[$this.$argumentIndex]; ju_Formatter$FormatWriter_formatGivenString($this, 0, !(var$3 instanceof jl_Boolean ? var$3.$value9 : var$3 === null ? 0 : 1) ? $rt_s(69) : $rt_s(70)); break a; case 99: ju_Formatter$FormatWriter_formatChar($this, $specifier, 0); break a; case 100: ju_Formatter$FormatWriter_formatDecimalInt($this, $specifier, 0); break a; case 102: ju_Formatter$FormatWriter_formatFloat($this, $specifier, 0); break a; case 104: var$2 = $this.$flags0; if ((var$2 | 263) == 263) { var$3 = $this.$args.data[$this.$argumentIndex]; ju_Formatter$FormatWriter_formatGivenString($this, 0, var$3 === null ? $rt_s(1) : otci_IntegerUtil_toUnsignedLogRadixString(var$3.$hashCode(), 4)); break a; } var$3 = new ju_FormatFlagsConversionMismatchException; var$4 = jl_Integer_numberOfTrailingZeros(var$2 & (-264)); if (var$4 >= 0 && var$4 < $rt_s(3293).$nativeString.length) { var$5 = $rt_s(3293).$nativeString.charCodeAt(var$4); var$6 = new jl_String; var$7 = $rt_createCharArray(1); var$8 = var$7.data; var$8[0] = var$5; var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8.length); var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$9, var$9.$length0, $rt_s(3294)); jl_AbstractStringBuilder_insert1(var$9, var$9.$length0, var$6); jl_AbstractStringBuilder_insert1(var$9, var$9.$length0, $rt_s(3295)); var$4 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$4, var$4 + 1 | 0); var$7 = var$9.$buffer; var$8 = var$7.data; var$8[var$4] = $specifier; var$10 = new jl_String; var$5 = var$9.$length0; var$2 = var$8.length; if (var$5 >= 0 && var$5 <= (var$2 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$7.data, 0, var$5); var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = var$10; var$3.$flags3 = var$6; var$3.$conversion = $specifier; $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = new jl_StringIndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); case 111: ju_Formatter$FormatWriter_formatRadixInt($this, $specifier, 3, 0); break a; case 115: ju_Formatter$FormatWriter_formatString($this, $specifier, 0); break a; case 120: ju_Formatter$FormatWriter_formatRadixInt($this, $specifier, 4, 0); break a; default: break b; } ju_Formatter$FormatWriter_formatChar($this, $specifier, 1); break a; } var$3 = new ju_UnknownFormatConversionException; var$6 = new jl_String; var$7 = $rt_createCharArray(1); var$8 = var$7.data; var$8[0] = $specifier; var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8.length); var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(3296)); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, var$6); var$10 = new jl_String; var$7 = var$9.$buffer; var$8 = var$7.data; var$4 = var$9.$length0; var$5 = var$8.length; if (var$4 >= 0 && var$4 <= (var$5 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$7.data, 0, var$4); var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = var$10; var$3.$conversion1 = var$6; $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } }, ju_Formatter$FormatWriter_formatFloat = ($this, $specifier, $upperCase) => { let $decimalSize, $arg, $negative, var$6, var$7, var$8, $format, var$10, var$11, var$12, var$13, $$je; $decimalSize = $this.$flags0; if (($decimalSize | 507) != 507) { $arg = new ju_FormatFlagsConversionMismatchException; $upperCase = jl_Integer_numberOfTrailingZeros($decimalSize & (-508)); if ($upperCase >= 0 && $upperCase < $rt_s(3293).$nativeString.length) { $negative = $rt_s(3293).$nativeString.charCodeAt($upperCase); var$6 = new jl_String; var$7 = $rt_createCharArray(1); var$8 = var$7.data; var$8[0] = $negative; var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8.length); $format = new jl_StringBuilder; $format.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($format, $format.$length0, $rt_s(3294)); jl_AbstractStringBuilder_insert($format, $format.$length0, var$6); jl_AbstractStringBuilder_insert($format, $format.$length0, $rt_s(3295)); $upperCase = $format.$length0; jl_AbstractStringBuilder_insertSpace($format, $upperCase, $upperCase + 1 | 0); var$7 = $format.$buffer; var$8 = var$7.data; var$8[$upperCase] = $specifier; var$10 = new jl_String; $negative = $format.$length0; $decimalSize = var$8.length; if ($negative >= 0 && $negative <= ($decimalSize - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$7.data, 0, $negative); $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $arg.$message = var$10; $arg.$flags3 = var$6; $arg.$conversion = $specifier; $rt_throw($arg); } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } $arg = new jl_StringIndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } ju_Formatter$FormatWriter_verifyFloatFlags($this); if ($this.$precision0 == (-1)) $this.$precision0 = 6; $arg = $this.$args.data[$this.$argumentIndex]; if ($arg instanceof jl_Double) $negative = $arg.$value10 >= 0.0 ? 0 : 1; else if ($arg instanceof jl_Float) $negative = $arg.$value3 >= 0.0 ? 0 : 1; else { if (!($arg instanceof jm_BigDecimal)) { $format = new ju_IllegalFormatConversionException; if ($arg === null) $arg = null; else { var$10 = $arg.constructor; if (var$10 === null) $arg = null; else { $arg = var$10.classObject; if ($arg === null) { $arg = new jl_Class; $arg.$platformClass = var$10; var$10.classObject = $arg; } } } var$10 = new jl_StringBuilder; var$10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(3297)); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $arg === null ? $rt_s(1) : jl_Class_toString($arg)); jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(3298)); $upperCase = var$10.$length0; jl_AbstractStringBuilder_insertSpace(var$10, $upperCase, $upperCase + 1 | 0); var$10.$buffer.data[$upperCase] = $specifier; jl_AbstractStringBuilder_insert(var$10, var$10.$length0, $rt_s(3299)); var$6 = new jl_String; var$7 = var$10.$buffer; var$8 = var$7.data; $negative = var$10.$length0; $decimalSize = var$8.length; if ($negative >= 0 && $negative <= ($decimalSize - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, $negative); $format.$suppressionEnabled = 1; $format.$writableStackTrace = 1; $format.$message = var$6; $format.$conversion0 = $specifier; $format.$argumentClass = $arg; $rt_throw($format); } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } $format = $arg; if ($format.$bitLength0 < 64) { var$11 = $format.$smallValue; $specifier = Long_lo(Long_or(Long_shr(var$11, 63), Long_shru(Long_neg(var$11), 63))); } else { if ($format.$intVal === null) $format.$intVal = jm_BigInteger_valueOf($format.$smallValue); $specifier = $format.$intVal.$sign1; } $negative = $specifier >= 0 ? 0 : 1; } $format = jt_DecimalFormat__init_1(); var$10 = new jt_DecimalFormatSymbols; var$10.$locale2 = $this.$locale5; jt_DecimalFormatSymbols_initData(var$10); a: { try { var$10 = jl_Object_clone(var$10); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { $format = $$je; } else { throw $$e; } } var$10 = new jl_AssertionError; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; var$10.$message = $rt_s(3118); var$10.$cause = $format; $rt_throw(var$10); } $format.$symbols = var$10; if ($this.$width4 != (-1)) { $decimalSize = ju_Formatter$FormatWriter_predictDecimalSize($this, $negative, $format); var$12 = $decimalSize >= 0 ? $decimalSize : 0; $format.$maximumIntegerDigits = var$12; if (var$12 < $format.$minimumIntegerDigits) $format.$minimumIntegerDigits = var$12; if ($this.$flags0 & 32) { if ($decimalSize < 0) $decimalSize = 0; $format.$minimumIntegerDigits = $decimalSize; if (var$12 < $decimalSize) $format.$maximumIntegerDigits = $decimalSize; } } $decimalSize = $this.$precision0; $specifier = $decimalSize >= 0 ? $decimalSize : 0; $format.$maximumFractionDigits = $specifier; if ($specifier < $format.$minimumFractionDigits) $format.$minimumFractionDigits = $specifier; if ($decimalSize < 0) $decimalSize = 0; $format.$minimumFractionDigits = $decimalSize; if ($specifier < $decimalSize) $format.$maximumFractionDigits = $decimalSize; $negative = $this.$flags0; $format.$groupingUsed = !($negative & 64) ? 0 : 1; if ($negative & 128) { var$7 = $rt_createArray(jt_DecimalFormat$FormatField, 1); var$8 = var$7.data; var$10 = new jt_DecimalFormat$TextField; var$10.$text0 = $rt_s(3300); var$8[0] = var$10; $format.$negativePrefix = var$7; var$7 = $rt_createArray(jt_DecimalFormat$FormatField, 1); var$8 = var$7.data; var$6 = new jt_DecimalFormat$TextField; var$6.$text0 = $rt_s(2502); var$8[0] = var$6; $format.$negativeSuffix = var$7; } if ($negative & 8) { var$7 = $rt_createArray(jt_DecimalFormat$FormatField, 1); var$8 = var$7.data; var$10 = new jt_DecimalFormat$TextField; var$10.$text0 = $rt_s(3301); var$8[0] = var$10; $format.$positivePrefix = var$7; } else if ($negative & 16) { var$7 = $rt_createArray(jt_DecimalFormat$FormatField, 1); var$8 = var$7.data; var$10 = new jt_DecimalFormat$TextField; var$10.$text0 = $rt_s(953); var$8[0] = var$10; $format.$positivePrefix = var$7; } var$10 = new jl_StringBuffer; var$10.$buffer = $rt_createCharArray(16); var$6 = new jt_FieldPosition; var$6.$myField = 0; if ($arg instanceof jm_BigDecimal) { $arg = $arg; if ($format.$exponentDigits <= 0) jt_DecimalFormat_formatRegular($format, $arg, var$10); else jt_DecimalFormat_formatExponent($format, $arg, var$10); } else if ($arg instanceof jm_BigInteger) { $arg = $arg; var$6 = new jm_BigDecimal; jm_BigDecimal_$callClinit(); if ($arg === null) { $arg = new jl_NullPointerException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } var$6.$scale0 = 0; var$6.$intVal = $arg; $negative = jm_BitLevel_bitLength($arg); var$6.$bitLength0 = $negative; if ($negative < 64) var$6.$smallValue = jm_BigInteger_longValue($arg); if ($format.$exponentDigits <= 0) jt_DecimalFormat_formatRegular($format, var$6, var$10); else jt_DecimalFormat_formatExponent($format, var$6, var$10); } else { if (!($arg instanceof jl_Number)) { $arg = new jl_IllegalArgumentException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } $arg = $arg; var$13 = $arg.$doubleValue(); var$11 = $arg.$longValue(); if (var$13 !== Long_toNumber(var$11)) var$10 = jt_DecimalFormat_format($format, var$13, var$10, var$6); else if ($format.$exponentDigits <= 0) { $negative = Long_compare(var$11, Long_ZERO); if ($negative < 0) var$11 = Long_neg(var$11); jt_DecimalFormat_formatRegular0($format, var$11, jt_DecimalFormat_fastLn10($format, var$11), $negative < 0 ? 0 : 1, var$10); } else { $negative = Long_compare(var$11, Long_ZERO); if ($negative < 0) var$11 = Long_neg(var$11); jt_DecimalFormat_formatExponent0($format, var$11, jt_DecimalFormat_fastLn10($format, var$11), $negative < 0 ? 0 : 1, var$10); } } $arg = new jl_String; var$7 = var$10.$buffer; var$8 = var$7.data; $negative = var$10.$length0; $decimalSize = var$8.length; if ($negative >= 0 && $negative <= ($decimalSize - 0 | 0)) { $arg.$nativeString = $rt_charArrayToString(var$7.data, 0, $negative); $this.$precision0 = (-1); ju_Formatter$FormatWriter_formatGivenString($this, $upperCase, $arg); return; } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); }, ju_Formatter$FormatWriter_predictDecimalSize = ($this, $negative, $format) => { let $decimalSize, var$4; $decimalSize = $this.$width4; var$4 = $this.$precision0; if (var$4 > 0) $decimalSize = $decimalSize - (var$4 + 1 | 0) | 0; if (!$negative) { if ($this.$flags0 & 24) $decimalSize = $decimalSize + (-1) | 0; } else $decimalSize = !($this.$flags0 & 128) ? $decimalSize + (-1) | 0 : $decimalSize + (-2) | 0; if ($this.$flags0 & 64) $decimalSize = $decimalSize - ($decimalSize / ($format.$groupingSize + 1 | 0) | 0) | 0; return $decimalSize; }, ju_Formatter$FormatWriter_verifyFloatFlags = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$flags0; if (var$1 & 8 && var$1 & 16) { var$2 = new ju_IllegalFormatFlagsException; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3302)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3303)); var$4 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$1 = var$3.$length0; var$7 = var$6.length; if (var$1 >= 0 && var$1 <= (var$7 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$1); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$4; var$2.$flags5 = $rt_s(3303); $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if (var$1 & 32 && var$1 & 1) { var$2 = new ju_IllegalFormatFlagsException; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3302)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3304)); var$4 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$1 = var$3.$length0; var$7 = var$6.length; if (var$1 >= 0 && var$1 <= (var$7 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$1); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$4; var$2.$flags5 = $rt_s(3304); $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if (var$1 & 1 && $this.$width4 < 0) { var$2 = new ju_MissingFormatWidthException; var$8 = jl_String_substring($this.$format2, $this.$formatSpecifierStart, $this.$index6); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3305)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$8 === null ? $rt_s(1) : var$8); var$4 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$1 = var$3.$length0; var$7 = var$6.length; if (var$1 >= 0 && var$1 <= (var$7 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$1); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$4; var$2.$formatSpecifier = var$8; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } }, ju_Formatter$FormatWriter_formatString = ($this, $specifier, $upperCase) => { let var$3, $arg, $flagsToPass, var$6, var$7, var$8, var$9, var$10; var$3 = $this.$flags0; if ((var$3 | 263) == 263) { $arg = $this.$args.data[$this.$argumentIndex]; if (!$rt_isInstance($arg, ju_Formattable)) ju_Formatter$FormatWriter_formatGivenString($this, $upperCase, $arg === null ? $rt_s(1) : $arg.$toString()); else { $flagsToPass = var$3 & 7; if ($upperCase) $flagsToPass = $flagsToPass | 2; $arg.$formatTo($this.$formatter, $flagsToPass, $this.$width4, $this.$precision0); } return; } $arg = new ju_FormatFlagsConversionMismatchException; $upperCase = jl_Integer_numberOfTrailingZeros(var$3 & (-264)); if ($upperCase >= 0 && $upperCase < $rt_s(3293).$nativeString.length) { $flagsToPass = $rt_s(3293).$nativeString.charCodeAt($upperCase); var$6 = new jl_String; var$7 = $rt_createCharArray(1); var$8 = var$7.data; var$8[0] = $flagsToPass; var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8.length); var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$9, var$9.$length0, jl_String_toString($rt_s(3294))); jl_StringBuilder_insert0(var$9, var$9.$length0, jl_String_toString(var$6)); jl_StringBuilder_insert0(var$9, var$9.$length0, jl_String_toString($rt_s(3295))); $upperCase = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, $upperCase, $upperCase + 1 | 0); var$7 = var$9.$buffer; var$8 = var$7.data; var$8[$upperCase] = $specifier; var$10 = new jl_String; $flagsToPass = var$9.$length0; var$3 = var$8.length; if ($flagsToPass >= 0 && $flagsToPass <= (var$3 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$7.data, 0, $flagsToPass); $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $arg.$message = var$10; $arg.$flags3 = var$6; $arg.$conversion = $specifier; $rt_throw($arg); } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } $arg = new jl_StringIndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); }, ju_Formatter$FormatWriter_formatChar = ($this, $specifier, $upperCase) => { let var$3, $arg, $c, var$6, var$7, var$8, var$9, var$10; var$3 = $this.$flags0; if ((var$3 | 259) != 259) { $arg = new ju_FormatFlagsConversionMismatchException; $upperCase = jl_Integer_numberOfTrailingZeros(var$3 & (-260)); if ($upperCase >= 0 && $upperCase < $rt_s(3293).$nativeString.length) { $c = $rt_s(3293).$nativeString.charCodeAt($upperCase); var$6 = new jl_String; var$7 = $rt_createCharArray(1); var$8 = var$7.data; var$8[0] = $c; var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8.length); var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(3294)); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, var$6); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(3295)); $upperCase = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, $upperCase, $upperCase + 1 | 0); var$7 = var$9.$buffer; var$8 = var$7.data; var$8[$upperCase] = $specifier; var$10 = new jl_String; var$3 = var$9.$length0; $c = var$8.length; if (var$3 >= 0 && var$3 <= ($c - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$7.data, 0, var$3); $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $arg.$message = var$10; $arg.$flags3 = var$6; $arg.$conversion = $specifier; $rt_throw($arg); } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } $arg = new jl_StringIndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } $arg = $this.$args.data[$this.$argumentIndex]; $c = $this.$precision0; if ($c >= 0) { $arg = new ju_IllegalFormatPrecisionException; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(3306)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $c, 10); var$10 = new jl_String; var$7 = var$9.$buffer; var$8 = var$7.data; $upperCase = var$9.$length0; var$3 = var$8.length; if ($upperCase >= 0 && $upperCase <= (var$3 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$7.data, 0, $upperCase); $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $arg.$message = var$10; $arg.$precision2 = $c; $rt_throw($arg); } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } if ($arg instanceof jl_Character) $c = $arg.$value5; else if ($arg instanceof jl_Byte) $c = $arg.$value2 & 65535; else if ($arg instanceof jl_Short) $c = $arg.$value8 & 65535; else { if (!($arg instanceof jl_Integer)) { if ($arg === null) { ju_Formatter$FormatWriter_formatGivenString($this, $upperCase, $rt_s(1)); return; } var$9 = new ju_IllegalFormatConversionException; $arg = $arg.constructor; if ($arg === null) var$6 = null; else { var$6 = $arg.classObject; if (var$6 === null) { var$6 = new jl_Class; var$6.$platformClass = $arg; $arg.classObject = var$6; } } $arg = new jl_StringBuilder; $arg.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($arg, $arg.$length0, $rt_s(3297)); jl_AbstractStringBuilder_insert($arg, $arg.$length0, var$6 === null ? $rt_s(1) : jl_Class_toString(var$6)); jl_AbstractStringBuilder_insert($arg, $arg.$length0, $rt_s(3298)); $upperCase = $arg.$length0; jl_AbstractStringBuilder_insertSpace($arg, $upperCase, $upperCase + 1 | 0); $arg.$buffer.data[$upperCase] = $specifier; jl_AbstractStringBuilder_insert($arg, $arg.$length0, $rt_s(3299)); var$10 = new jl_String; var$7 = $arg.$buffer; var$8 = var$7.data; $c = $arg.$length0; var$3 = var$8.length; if ($c >= 0 && $c <= (var$3 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$7.data, 0, $c); var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; var$9.$message = var$10; var$9.$conversion0 = $specifier; var$9.$argumentClass = var$6; $rt_throw(var$9); } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } $c = $arg.$value0; if (!($c >= 0 && $c <= 1114111 ? 1 : 0)) { $arg = new ju_IllegalFormatCodePointException; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(3307)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, $c, 10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(3308)); var$10 = new jl_String; var$7 = var$9.$buffer; var$8 = var$7.data; $upperCase = var$9.$length0; var$3 = var$8.length; if ($upperCase >= 0 && $upperCase <= (var$3 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$7.data, 0, $upperCase); $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $arg.$message = var$10; $arg.$codePoint = $c; $rt_throw($arg); } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } } $arg = new jl_String; var$7 = jl_Character_toChars($c); $arg.$nativeString = $rt_charArrayToString(var$7.data, 0, var$7.data.length); ju_Formatter$FormatWriter_formatGivenString($this, $upperCase, $arg); }, ju_Formatter$FormatWriter_formatDecimalInt = ($this, $specifier, $upperCase) => { let $negative, $arg, $value, $valueSb, var$7, var$8, $str, $sb, $value_0, $additionalSymbols, $separator, var$14, var$15, var$16, var$17, $i, $size, $prev, $i_0; $negative = $this.$flags0; if (($negative | 507) != 507) { $arg = new ju_FormatFlagsConversionMismatchException; $upperCase = jl_Integer_numberOfTrailingZeros($negative & (-508)); if ($upperCase >= 0 && $upperCase < $rt_s(3293).$nativeString.length) { $value = $rt_s(3293).$nativeString.charCodeAt($upperCase); $valueSb = new jl_String; var$7 = $rt_createCharArray(1); var$8 = var$7.data; var$8[0] = $value; $valueSb.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8.length); $str = new jl_StringBuilder; $str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(3294)); jl_AbstractStringBuilder_insert($str, $str.$length0, $valueSb); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(3295)); $upperCase = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, $upperCase, $upperCase + 1 | 0); var$7 = $str.$buffer; var$8 = var$7.data; var$8[$upperCase] = $specifier; $sb = new jl_String; $value = $str.$length0; $negative = var$8.length; if ($value >= 0 && $value <= ($negative - 0 | 0)) { $sb.$nativeString = $rt_charArrayToString(var$7.data, 0, $value); $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $arg.$message = $sb; $arg.$flags3 = $valueSb; $arg.$conversion = $specifier; $rt_throw($arg); } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } $arg = new jl_StringIndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } a: { ju_Formatter$FormatWriter_verifyIntFlags($this); $arg = $this.$args.data[$this.$argumentIndex]; if ($arg instanceof jl_Long) { $value_0 = $arg.$value7; $negative = Long_compare($value_0, Long_ZERO); if ($negative < 0) $value_0 = Long_neg($value_0); $arg = new jl_StringBuilder; $arg.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert2($arg, $arg.$length0, $value_0, 10); $str = new jl_String; var$7 = $arg.$buffer; var$8 = var$7.data; $value = $arg.$length0; $additionalSymbols = var$8.length; if ($value >= 0 && $value <= ($additionalSymbols - 0 | 0)) { $str.$nativeString = $rt_charArrayToString(var$7.data, 0, $value); $negative = $negative >= 0 ? 0 : 1; break a; } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } if (!($arg instanceof jl_Integer) && !($arg instanceof jl_Byte) && !($arg instanceof jl_Short)) { $str = new ju_IllegalFormatConversionException; if ($arg === null) $arg = null; else { $sb = $arg.constructor; if ($sb === null) $arg = null; else { $arg = $sb.classObject; if ($arg === null) { $arg = new jl_Class; $arg.$platformClass = $sb; $sb.classObject = $arg; } } } $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3297)); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $arg === null ? $rt_s(1) : jl_Class_toString($arg)); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3298)); $upperCase = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, $upperCase, $upperCase + 1 | 0); $sb.$buffer.data[$upperCase] = $specifier; jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3299)); $valueSb = new jl_String; var$7 = $sb.$buffer; var$8 = var$7.data; $value = $sb.$length0; $negative = var$8.length; if ($value >= 0 && $value <= ($negative - 0 | 0)) { $valueSb.$nativeString = $rt_charArrayToString(var$7.data, 0, $value); $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $str.$message = $valueSb; $str.$conversion0 = $specifier; $str.$argumentClass = $arg; $rt_throw($str); } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } $value = $arg.$intValue(); $additionalSymbols = $value < 0 ? -$value | 0 : $value; $arg = new jl_AbstractStringBuilder; $arg.$buffer = $rt_createCharArray(20); $str = (jl_AbstractStringBuilder_insert0($arg, $arg.$length0, $additionalSymbols, 10)).$toString(); $negative = $value >= 0 ? 0 : 1; } $additionalSymbols = 0; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); if ($negative) { if (!($this.$flags0 & 128)) { $value = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, $value, $value + 1 | 0); $sb.$buffer.data[$value] = 45; $additionalSymbols = 1; } else { $value = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, $value, $value + 1 | 0); $sb.$buffer.data[$value] = 40; $additionalSymbols = 2; } } else { $specifier = $this.$flags0; if ($specifier & 8) { $additionalSymbols = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, $additionalSymbols, $additionalSymbols + 1 | 0); $sb.$buffer.data[$additionalSymbols] = 43; $additionalSymbols = 1; } else if ($specifier & 16) { $additionalSymbols = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, $additionalSymbols, $additionalSymbols + 1 | 0); $sb.$buffer.data[$additionalSymbols] = 32; $additionalSymbols = 1; } } $valueSb = new jl_StringBuilder; $valueSb.$buffer = $rt_createCharArray(16); if (!($this.$flags0 & 64)) jl_AbstractStringBuilder_insert($valueSb, $valueSb.$length0, $str); else { $arg = new jt_DecimalFormatSymbols; $arg.$locale2 = $this.$locale5; jt_DecimalFormatSymbols_initData($arg); $separator = $arg.$groupingSeparator; $arg = $this.$locale5; var$14 = $arg.$languageCode; var$15 = $arg.$countryCode; if (otciu_CLDRHelper_$$metadata$$17 === null) otciu_CLDRHelper_$$metadata$$17 = otciu_CLDRHelper_getNumberFormatMap$$create(); var$16 = otciu_CLDRHelper_$$metadata$$17; if (var$15.$nativeString.length ? 0 : 1) var$15 = var$14; else { var$17 = new jl_StringBuilder; var$17.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1(var$17, var$17.$length0, var$14); $i = var$17.$length0; jl_AbstractStringBuilder_insertSpace(var$17, $i, $i + 1 | 0); var$17.$buffer.data[$i] = 45; jl_AbstractStringBuilder_insert1(var$17, var$17.$length0, var$15); var$15 = new jl_String; var$7 = var$17.$buffer; var$8 = var$7.data; $value = var$17.$length0; $i = var$8.length; if ($value >= 0 && $value <= ($i - 0 | 0)) var$15.$nativeString = $rt_charArrayToString(var$7.data, 0, $value); else { $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } } var$17 = var$16.hasOwnProperty($rt_ustr(var$15)) ? var$16[$rt_ustr(var$15)] : var$16.hasOwnProperty($rt_ustr(var$14)) ? var$16[$rt_ustr(var$14)] : var$16.root; var$15 = (var$17.value !== null ? $rt_str(var$17.value) : null); var$16 = new jt_DecimalFormat; var$17 = new jt_DecimalFormatSymbols; var$17.$locale2 = $arg; jt_DecimalFormatSymbols_initData(var$17); jt_DecimalFormat__init_(var$16, var$15, var$17); $size = var$16.$groupingSize; $i = $str.$nativeString.length % $size | 0; if (!$i) $i = $size; $prev = 0; while ($i < $str.$nativeString.length) { $arg = jl_String_substring($str, $prev, $i); jl_AbstractStringBuilder_insert($valueSb, $valueSb.$length0, $arg); $value = $valueSb.$length0; jl_AbstractStringBuilder_insertSpace($valueSb, $value, $value + 1 | 0); $valueSb.$buffer.data[$value] = $separator; $i_0 = $i + $size | 0; $prev = $i; $i = $i_0; } $arg = jl_String_substring($str, $prev, $str.$nativeString.length); jl_AbstractStringBuilder_insert($valueSb, $valueSb.$length0, $arg); } b: { if ($this.$flags0 & 32) { $i = $valueSb.$length0 + $additionalSymbols | 0; while (true) { if ($i >= $this.$width4) break b; $value = jl_Character_forDigit(0, 10); $additionalSymbols = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, $additionalSymbols, $additionalSymbols + 1 | 0); $sb.$buffer.data[$additionalSymbols] = $value; $i = $i + 1 | 0; } } } $value = $valueSb.$length0; jl_AbstractStringBuilder_insert3($sb, $sb.$length0, $valueSb, 0, $value); if ($negative && $this.$flags0 & 128) { $value = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, $value, $value + 1 | 0); $sb.$buffer.data[$value] = 41; } $arg = new jl_String; var$7 = $sb.$buffer; var$8 = var$7.data; $value = $sb.$length0; $negative = var$8.length; if ($value >= 0 && $value <= ($negative - 0 | 0)) { $arg.$nativeString = $rt_charArrayToString(var$7.data, 0, $value); ju_Formatter$FormatWriter_formatGivenString($this, $upperCase, $arg); return; } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); }, ju_Formatter$FormatWriter_formatRadixInt = ($this, $specifier, $radixLog2, $upperCase) => { let var$4, $arg, $prefix, var$7, var$8, $str, $sb, $i; var$4 = $this.$flags0; if ((var$4 | 423) != 423) { $arg = new ju_FormatFlagsConversionMismatchException; $radixLog2 = jl_Integer_numberOfTrailingZeros(var$4 & (-424)); if ($radixLog2 >= 0 && $radixLog2 < $rt_s(3293).$nativeString.length) { $upperCase = $rt_s(3293).$nativeString.charCodeAt($radixLog2); $prefix = new jl_String; var$7 = $rt_createCharArray(1); var$8 = var$7.data; var$8[0] = $upperCase; $prefix.$nativeString = $rt_charArrayToString(var$7.data, 0, var$8.length); $str = new jl_StringBuilder; $str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(3294)); jl_AbstractStringBuilder_insert($str, $str.$length0, $prefix); jl_AbstractStringBuilder_insert($str, $str.$length0, $rt_s(3295)); $radixLog2 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, $radixLog2, $radixLog2 + 1 | 0); var$7 = $str.$buffer; var$8 = var$7.data; var$8[$radixLog2] = $specifier; $sb = new jl_String; $upperCase = $str.$length0; $i = var$8.length; if ($upperCase >= 0 && $upperCase <= ($i - 0 | 0)) { $sb.$nativeString = $rt_charArrayToString(var$7.data, 0, $upperCase); $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $arg.$message = $sb; $arg.$flags3 = $prefix; $arg.$conversion = $specifier; $rt_throw($arg); } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } $arg = new jl_StringIndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } ju_Formatter$FormatWriter_verifyIntFlags($this); $arg = $this.$args.data[$this.$argumentIndex]; if ($arg instanceof jl_Long) $str = otci_IntegerUtil_toUnsignedLogRadixString0($arg.$value7, $radixLog2); else if ($arg instanceof jl_Integer) $str = otci_IntegerUtil_toUnsignedLogRadixString($arg.$value0, $radixLog2); else if ($arg instanceof jl_Short) $str = otci_IntegerUtil_toUnsignedLogRadixString($arg.$value8 & 65535, $radixLog2); else { if (!($arg instanceof jl_Byte)) { $str = new ju_IllegalFormatConversionException; if ($arg === null) $arg = null; else { $sb = $arg.constructor; if ($sb === null) $arg = null; else { $arg = $sb.classObject; if ($arg === null) { $arg = new jl_Class; $arg.$platformClass = $sb; $sb.classObject = $arg; } } } $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3297)); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $arg === null ? $rt_s(1) : jl_Class_toString($arg)); jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3298)); $radixLog2 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, $radixLog2, $radixLog2 + 1 | 0); $sb.$buffer.data[$radixLog2] = $specifier; jl_AbstractStringBuilder_insert($sb, $sb.$length0, $rt_s(3299)); $prefix = new jl_String; var$7 = $sb.$buffer; var$8 = var$7.data; $upperCase = $sb.$length0; $i = var$8.length; if ($upperCase >= 0 && $upperCase <= ($i - 0 | 0)) { $prefix.$nativeString = $rt_charArrayToString(var$7.data, 0, $upperCase); $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $str.$message = $prefix; $str.$conversion0 = $specifier; $str.$argumentClass = $arg; $rt_throw($str); } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } $str = otci_IntegerUtil_toUnsignedLogRadixString($arg.$value2 & 255, $radixLog2); } $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); if ($this.$flags0 & 4) { $prefix = $radixLog2 != 4 ? $rt_s(128) : $rt_s(3309); $arg = new jl_StringBuilder; $arg.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($arg, $arg.$length0, $prefix); $specifier = $arg.$length0; if ($str === null) $str = $rt_s(1); jl_AbstractStringBuilder_insert($arg, $specifier, $str); $str = new jl_String; var$7 = $arg.$buffer; var$8 = var$7.data; $radixLog2 = $arg.$length0; $i = var$8.length; if ($radixLog2 >= 0 && $radixLog2 <= ($i - 0 | 0)) $str.$nativeString = $rt_charArrayToString(var$7.data, 0, $radixLog2); else { $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); } } a: { if ($this.$flags0 & 32) { $i = $str.$nativeString.length; while (true) { if ($i >= $this.$width4) break a; $radixLog2 = jl_Character_forDigit(0, 10); var$4 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$4, var$4 + 1 | 0); $sb.$buffer.data[var$4] = $radixLog2; $i = $i + 1 | 0; } } } jl_AbstractStringBuilder_insert($sb, $sb.$length0, $str); $arg = new jl_String; var$7 = $sb.$buffer; var$8 = var$7.data; $radixLog2 = $sb.$length0; $i = var$8.length; if ($radixLog2 >= 0 && $radixLog2 <= ($i - 0 | 0)) { $arg.$nativeString = $rt_charArrayToString(var$7.data, 0, $radixLog2); ju_Formatter$FormatWriter_formatGivenString($this, $upperCase, $arg); return; } $arg = new jl_IndexOutOfBoundsException; $arg.$suppressionEnabled = 1; $arg.$writableStackTrace = 1; $rt_throw($arg); }, ju_Formatter$FormatWriter_verifyIntFlags = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$1 = $this.$flags0; if (var$1 & 8 && var$1 & 16) { var$2 = new ju_IllegalFormatFlagsException; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3302)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3303)); var$4 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$1 = var$3.$length0; var$7 = var$6.length; if (var$1 >= 0 && var$1 <= (var$7 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$1); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$4; var$2.$flags5 = $rt_s(3303); $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if (var$1 & 32 && var$1 & 1) { var$2 = new ju_IllegalFormatFlagsException; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3302)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3304)); var$4 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$1 = var$3.$length0; var$7 = var$6.length; if (var$1 >= 0 && var$1 <= (var$7 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$1); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$4; var$2.$flags5 = $rt_s(3304); $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$8 = $this.$precision0; if (var$8 >= 0) { var$2 = new ju_IllegalFormatPrecisionException; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(3306)); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, var$8, 10); var$3 = new jl_String; var$5 = var$9.$buffer; var$6 = var$5.data; var$7 = var$9.$length0; var$10 = var$6.length; if (var$7 >= 0 && var$7 <= (var$10 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$3; var$2.$precision2 = var$8; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if (var$1 & 1 && $this.$width4 < 0) { var$2 = new ju_MissingFormatWidthException; var$9 = jl_String_substring($this.$format2, $this.$formatSpecifierStart, $this.$index6); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3305)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$9 === null ? $rt_s(1) : var$9); var$4 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$1 = var$3.$length0; var$7 = var$6.length; if (var$1 >= 0 && var$1 <= (var$7 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$1); var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = var$4; var$2.$formatSpecifier = var$9; $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } }, ju_Formatter$FormatWriter_formatGivenString = ($this, $upperCase, $str) => { let var$3, var$4, var$5, var$6, var$7; var$3 = $this.$precision0; if (var$3 > 0 && var$3 < $str.$nativeString.length) $str = jl_String_substring($str, 0, $this.$precision0); if ($upperCase) { var$4 = $str.$nativeString.toUpperCase(); if (var$4 !== $str.$nativeString) $str = jl_String__init_(var$4); } if ($this.$flags0 & 1) { var$4 = $this.$out3; var$5 = $str.$nativeString.length; jl_AbstractStringBuilder_insert3(var$4, var$4.$length0, $str, 0, var$5); if ($this.$width4 > $str.$nativeString.length) { $upperCase = $this.$width4 - $str.$nativeString.length | 0; $str = new jl_StringBuilder; $str.$buffer = $rt_createCharArray($upperCase); var$3 = 0; while (var$3 < $upperCase) { var$6 = $str.$length0; jl_AbstractStringBuilder_insertSpace($str, var$6, var$6 + 1 | 0); $str.$buffer.data[var$6] = 32; var$3 = var$3 + 1 | 0; } var$4 = $this.$out3; var$5 = $str.$length0; jl_AbstractStringBuilder_insert3(var$4, var$4.$length0, $str, 0, var$5); } } else { if ($this.$width4 > $str.$nativeString.length) { $upperCase = $this.$width4 - $str.$nativeString.length | 0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray($upperCase); var$3 = 0; while (var$3 < $upperCase) { var$6 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$6, var$6 + 1 | 0); var$4.$buffer.data[var$6] = 32; var$3 = var$3 + 1 | 0; } var$7 = $this.$out3; var$5 = var$4.$length0; jl_AbstractStringBuilder_insert3(var$7, var$7.$length0, var$4, 0, var$5); } var$4 = $this.$out3; var$5 = $str.$nativeString.length; jl_AbstractStringBuilder_insert3(var$4, var$4.$length0, $str, 0, var$5); } }, ju_Formatter$FormatWriter_configureFormat = $this => { let var$1; if ($this.$flags0 & 256) { var$1 = $this.$previousArgumentIndex; if (0 > var$1) var$1 = 0; $this.$argumentIndex = var$1; } if ($this.$argumentIndex == (-1)) { var$1 = $this.$defaultArgumentIndex; $this.$defaultArgumentIndex = var$1 + 1 | 0; $this.$argumentIndex = var$1; } $this.$previousArgumentIndex = $this.$argumentIndex; }, ju_Formatter$FormatWriter_parseFormatSpecifier = $this => { let var$1, $n, $c, var$4, var$5, var$6, var$7, var$8, var$9; $this.$flags0 = 0; $this.$argumentIndex = (-1); $this.$width4 = (-1); $this.$precision0 = (-1); var$1 = $this.$format2; $n = $this.$index6; if ($n >= 0 && $n < var$1.$nativeString.length) { a: { $c = var$1.$nativeString.charCodeAt($n); $n = $rt_compare($c, 48); if ($n && ($n >= 0 && $c <= 57 ? 1 : 0)) { b: { $n = ju_Formatter$FormatWriter_readInt($this); if ($this.$index6 < $this.$format2.$nativeString.length) { var$1 = $this.$format2; $c = $this.$index6; if ($c >= 0 && $c < var$1.$nativeString.length) { if (var$1.$nativeString.charCodeAt($c) != 36) break b; else { $this.$index6 = $this.$index6 + 1 | 0; $this.$argumentIndex = $n - 1 | 0; break a; } } var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } $this.$width4 = $n; } } ju_Formatter$FormatWriter_parseFlags($this); if ($this.$width4 < 0 && $this.$index6 < $this.$format2.$nativeString.length) { var$1 = $this.$format2; $n = $this.$index6; if ($n >= 0 && $n < var$1.$nativeString.length) { $c = var$1.$nativeString.charCodeAt($n); if ($c >= 48 && $c <= 57 ? 1 : 0) $this.$width4 = ju_Formatter$FormatWriter_readInt($this); } else { var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } c: { if ($this.$index6 < $this.$format2.$nativeString.length) { var$1 = $this.$format2; $n = $this.$index6; if ($n >= 0 && $n < var$1.$nativeString.length) { if (var$1.$nativeString.charCodeAt($n) != 46) break c; d: { $n = $this.$index6 + 1 | 0; $this.$index6 = $n; if ($n < $this.$format2.$nativeString.length) { var$1 = $this.$format2; $n = $this.$index6; if ($n >= 0 && $n < var$1.$nativeString.length) { $c = var$1.$nativeString.charCodeAt($n); if ($c >= 48 && $c <= 57 ? 1 : 0) { $this.$precision0 = ju_Formatter$FormatWriter_readInt($this); break c; } else break d; } var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } var$1 = new ju_UnknownFormatConversionException; var$4 = $this.$format2; $n = $this.$index6 - 1 | 0; if ($n >= 0 && $n < var$4.$nativeString.length) { $c = var$4.$nativeString.charCodeAt($n); var$5 = new jl_String; var$6 = $rt_createCharArray(1); var$7 = var$6.data; var$7[0] = $c; var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7.length); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3296)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$5); var$8 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; $c = var$4.$length0; var$9 = var$7.length; if ($c >= 0 && $c <= (var$9 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, $c); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$8; var$1.$conversion1 = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } if ($this.$index6 < $this.$format2.$nativeString.length) { var$1 = $this.$format2; $c = $this.$index6; $this.$index6 = $c + 1 | 0; if ($c >= 0 && $c < var$1.$nativeString.length) return var$1.$nativeString.charCodeAt($c); var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$1 = new ju_UnknownFormatConversionException; var$4 = $this.$format2; $n = var$4.$nativeString.length - 1 | 0; if ($n >= 0 && $n < var$4.$nativeString.length) { $c = var$4.$nativeString.charCodeAt($n); var$5 = new jl_String; var$6 = $rt_createCharArray(1); var$7 = var$6.data; var$7[0] = $c; var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7.length); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3296)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$5); var$8 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; $c = var$4.$length0; var$9 = var$7.length; if ($c >= 0 && $c <= (var$9 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, $c); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$8; var$1.$conversion1 = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, ju_Formatter$FormatWriter_parseFlags = $this => { let var$1, $flag, $c, var$4, var$5, var$6, var$7, var$8, var$9, var$10; a: { b: { while ($this.$index6 < $this.$format2.$nativeString.length) { var$1 = $this.$format2; $flag = $this.$index6; if ($flag < 0) break a; if ($flag >= var$1.$nativeString.length) break a; c: { $c = var$1.$nativeString.charCodeAt($flag); switch ($c) { case 32: break; case 33: case 34: case 36: case 37: case 38: case 39: case 41: case 42: case 46: case 47: case 49: case 50: case 51: case 52: case 53: case 54: case 55: case 56: case 57: case 58: case 59: break b; case 35: $flag = 4; break c; case 40: $flag = 128; break c; case 43: $flag = 8; break c; case 44: $flag = 64; break c; case 45: $flag = 1; break c; case 48: $flag = 32; break c; case 60: $flag = 256; break c; default: break b; } $flag = 16; } var$4 = $this.$flags0; if (var$4 & $flag) { var$1 = new ju_DuplicateFormatFlagsException; var$5 = new jl_String; var$6 = $rt_createCharArray(1); var$7 = var$6.data; var$7[0] = $c; var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7.length); var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3310)); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, var$5); var$9 = new jl_String; var$6 = var$8.$buffer; var$7 = var$6.data; var$4 = var$8.$length0; var$10 = var$7.length; if (var$4 >= 0 && var$4 <= (var$10 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$6.data, 0, var$4); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$9; var$1.$flags6 = var$5; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $this.$flags0 = var$4 | $flag; $this.$index6 = $this.$index6 + 1 | 0; } return; } return; } var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, ju_Formatter$FormatWriter_readInt = $this => { let $result, var$2, var$3, var$4; $result = 0; a: { b: { while ($this.$index6 < $this.$format2.$nativeString.length) { var$2 = $this.$format2; var$3 = $this.$index6; if (var$3 < 0) break a; if (var$3 >= var$2.$nativeString.length) break a; var$4 = var$2.$nativeString.charCodeAt(var$3); if (!(var$4 >= 48 && var$4 <= 57 ? 1 : 0)) break; var$3 = $result * 10 | 0; var$2 = $this.$format2; var$4 = $this.$index6; $this.$index6 = var$4 + 1 | 0; if (var$4 < 0) break b; if (var$4 >= var$2.$nativeString.length) break b; $result = var$3 + (var$2.$nativeString.charCodeAt(var$4) - 48 | 0) | 0; } return $result; } var$2 = new jl_StringIndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$2 = new jl_StringIndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, ju_FormatterClosedException = $rt_classWithoutFields(jl_IllegalStateException), ju_FormatterClosedException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, ju_FormatterClosedException__init_0 = () => { let var_0 = new ju_FormatterClosedException(); ju_FormatterClosedException__init_(var_0); return var_0; }; function jur_MatchResultImpl() { let a = this; jl_Object.call(a); a.$groupBounds = null; a.$consumers = null; a.$compQuantCounters = null; a.$string1 = null; a.$groupCount = 0; a.$valid = 0; a.$leftBound = 0; a.$rightBound = 0; a.$startIndex = 0; a.$transparentBounds = 0; a.$anchoringBounds = 0; a.$hitEnd = 0; a.$requireEnd = 0; a.$previousMatch = 0; a.$mode0 = 0; } let jur_MatchResultImpl__init_0 = ($this, $string, $leftBound, $rightBound, $groupCount, $compQuantCount, $consumersCount) => { let var$7, var$8, var$9, var$10, var$11, var$12; $this.$previousMatch = (-1); var$7 = $groupCount + 1 | 0; $this.$groupCount = var$7; var$8 = $rt_createIntArray(var$7 * 2 | 0); $this.$groupBounds = var$8; var$9 = $rt_createIntArray($consumersCount); var$10 = var$9.data; $this.$consumers = var$9; $groupCount = 0; $consumersCount = var$10.length; var$11 = $rt_compare($groupCount, $consumersCount); if (var$11 > 0) { $string = new jl_IllegalArgumentException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } while ($groupCount < $consumersCount) { var$7 = $groupCount + 1 | 0; var$10[$groupCount] = (-1); $groupCount = var$7; } if ($compQuantCount > 0) $this.$compQuantCounters = $rt_createIntArray($compQuantCount); var$8 = var$8.data; var$7 = 0; var$12 = var$8.length; $groupCount = $rt_compare(var$7, var$12); if ($groupCount > 0) { $string = new jl_IllegalArgumentException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } while (var$7 < var$12) { $compQuantCount = var$7 + 1 | 0; var$8[var$7] = (-1); var$7 = $compQuantCount; } $this.$valid = 0; $this.$mode0 = 2; $compQuantCount = 0; if ($groupCount > 0) { $string = new jl_IllegalArgumentException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } while ($compQuantCount < var$12) { $groupCount = $compQuantCount + 1 | 0; var$8[$compQuantCount] = (-1); $compQuantCount = $groupCount; } $groupCount = 0; if (var$11 > 0) { $string = new jl_IllegalArgumentException; $string.$suppressionEnabled = 1; $string.$writableStackTrace = 1; $rt_throw($string); } while ($groupCount < $consumersCount) { var$7 = $groupCount + 1 | 0; var$10[$groupCount] = (-1); $groupCount = var$7; } if ($string !== null) $this.$string1 = $string; if ($leftBound >= 0) { $this.$leftBound = $leftBound; $this.$rightBound = $rightBound; } $this.$startIndex = $this.$leftBound; }, jur_MatchResultImpl__init_ = (var_0, var_1, var_2, var_3, var_4, var_5) => { let var_6 = new jur_MatchResultImpl(); jur_MatchResultImpl__init_0(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; }, nms_BiomeGenOcean = $rt_classWithoutFields(nms_BiomeGenBase), nms_BiomeGenPlains = $rt_classWithoutFields(nms_BiomeGenBase), nms_BiomeGenDesert = $rt_classWithoutFields(nms_BiomeGenBase), nms_BiomeGenDesert__init_0 = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_BiomeGenBase__init_($this, $par1); var$2 = $this.$spawnableCreatureList; var$3 = var$2.$array; $par1 = 0; var$4 = var$2.$size0; var$5 = null; if ($par1 > var$4) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while ($par1 < var$4) { var$6 = var$3.data; var$7 = $par1 + 1 | 0; var$6[$par1] = var$5; $par1 = var$7; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; nms_Block_$callClinit(); $par1 = nms_Block_sand.$blockID << 24 >> 24; $this.$topBlock = $par1; $this.$fillerBlock = $par1; var$2 = $this.$theBiomeDecorator; var$2.$treesPerChunk = (-999); var$2.$deadBushPerChunk = 2; var$2.$reedsPerChunk = 50; var$2.$cactiPerChunk = 10; }, nms_BiomeGenDesert__init_ = var_0 => { let var_1 = new nms_BiomeGenDesert(); nms_BiomeGenDesert__init_0(var_1, var_0); return var_1; }; function nms_BiomeGenHills() { nms_BiomeGenBase.call(this); this.$theWorldGenerator = null; } let nms_BiomeGenForest = $rt_classWithoutFields(nms_BiomeGenBase), nms_BiomeGenTaiga = $rt_classWithoutFields(nms_BiomeGenBase), nms_BiomeGenSwamp = $rt_classWithoutFields(nms_BiomeGenBase), nms_BiomeGenSwamp__init_0 = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6; nms_BiomeGenBase__init_($this, $par1); var$2 = $this.$theBiomeDecorator; var$2.$treesPerChunk = 2; var$2.$flowersPerChunk = (-999); var$2.$deadBushPerChunk = 1; var$2.$mushroomsPerChunk = 8; var$2.$reedsPerChunk = 10; var$2.$clayPerChunk = 1; var$2.$waterlilyPerChunk = 4; $this.$waterColorMultiplier = 14745518; var$3 = $this.$spawnableMonsterList; var$4 = new nms_SpawnListEntry; var$4.$itemWeight = 1; var$4.$entityClass = $rt_cls(nms_EntitySlime); var$4.$minGroupCount = 1; var$4.$maxGroupCount = 1; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; }, nms_BiomeGenSwamp__init_ = var_0 => { let var_1 = new nms_BiomeGenSwamp(); nms_BiomeGenSwamp__init_0(var_1, var_0); return var_1; }, nms_BiomeGenSwamp_getBiomeGrassColor = $this => { let $var1, $var3, var$3, var$4; $var1 = $this.$temperature; $var3 = $this.$rainfall * $var1; var$3 = (1.0 - $var1) * 255.0 | 0; var$4 = (1.0 - $var3) * 255.0 | 0; return ((nms_ColorizerGrass_grassBuffer.data[var$4 << 8 | var$3] & 16711422) + 5115470 | 0) / 2 | 0; }, nms_BiomeGenSwamp_getBiomeFoliageColor = $this => { let $var1, $var3, var$3, var$4; $var1 = $this.$temperature; $var3 = $this.$rainfall * $var1; var$3 = (1.0 - $var1) * 255.0 | 0; var$4 = (1.0 - $var3) * 255.0 | 0; return ((nms_ColorizerFoliage_foliageBuffer.data[var$4 << 8 | var$3] & 16711422) + 5115470 | 0) / 2 | 0; }, nms_BiomeGenRiver = $rt_classWithoutFields(nms_BiomeGenBase), nms_BiomeGenHell = $rt_classWithoutFields(nms_BiomeGenBase), nms_BiomeGenHell__init_0 = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_BiomeGenBase__init_($this, $par1); var$2 = $this.$spawnableMonsterList; var$3 = var$2.$array; $par1 = 0; var$4 = var$2.$size0; var$5 = null; if ($par1 > var$4) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while ($par1 < var$4) { var$6 = var$3.data; var$7 = $par1 + 1 | 0; var$6[$par1] = var$5; $par1 = var$7; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$5 = $this.$spawnableCreatureList; var$3 = var$5.$array; $par1 = 0; var$4 = var$5.$size0; var$8 = null; if ($par1 > var$4) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while ($par1 < var$4) { var$6 = var$3.data; var$7 = $par1 + 1 | 0; var$6[$par1] = var$8; $par1 = var$7; } var$5.$size0 = 0; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$spawnableWaterCreatureList; var$3 = var$5.$array; $par1 = 0; var$4 = var$5.$size0; var$8 = null; if ($par1 > var$4) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while ($par1 < var$4) { var$6 = var$3.data; var$7 = $par1 + 1 | 0; var$6[$par1] = var$8; $par1 = var$7; } var$5.$size0 = 0; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$spawnableCaveCreatureList; var$3 = var$5.$array; $par1 = 0; var$4 = var$5.$size0; var$8 = null; if ($par1 > var$4) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while ($par1 < var$4) { var$6 = var$3.data; var$7 = $par1 + 1 | 0; var$6[$par1] = var$8; $par1 = var$7; } var$5.$size0 = 0; var$5.$modCount = var$5.$modCount + 1 | 0; var$8 = new nms_SpawnListEntry; var$8.$itemWeight = 50; var$8.$entityClass = $rt_cls(nms_EntityGhast); var$8.$minGroupCount = 4; var$8.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$8; var$2.$modCount = var$2.$modCount + 1 | 0; var$5 = $this.$spawnableMonsterList; var$2 = new nms_SpawnListEntry; var$2.$itemWeight = 100; var$2.$entityClass = $rt_cls(nms_EntityPigZombie); var$2.$minGroupCount = 4; var$2.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$3 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$spawnableMonsterList; var$2 = new nms_SpawnListEntry; var$2.$itemWeight = 1; var$2.$entityClass = $rt_cls(nms_EntityMagmaCube); var$2.$minGroupCount = 4; var$2.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$3 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; var$5.$modCount = var$5.$modCount + 1 | 0; }, nms_BiomeGenHell__init_ = var_0 => { let var_1 = new nms_BiomeGenHell(); nms_BiomeGenHell__init_0(var_1, var_0); return var_1; }, nms_BiomeGenEnd = $rt_classWithoutFields(nms_BiomeGenBase), nms_BiomeGenEnd__init_0 = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_BiomeGenBase__init_($this, $par1); var$2 = $this.$spawnableMonsterList; var$3 = var$2.$array; $par1 = 0; var$4 = var$2.$size0; var$5 = null; if ($par1 > var$4) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while ($par1 < var$4) { var$6 = var$3.data; var$7 = $par1 + 1 | 0; var$6[$par1] = var$5; $par1 = var$7; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$5 = $this.$spawnableCreatureList; var$3 = var$5.$array; $par1 = 0; var$4 = var$5.$size0; var$8 = null; if ($par1 > var$4) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while ($par1 < var$4) { var$6 = var$3.data; var$7 = $par1 + 1 | 0; var$6[$par1] = var$8; $par1 = var$7; } var$5.$size0 = 0; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$spawnableWaterCreatureList; var$6 = var$5.$array; $par1 = 0; var$4 = var$5.$size0; var$8 = null; if ($par1 > var$4) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while ($par1 < var$4) { var$3 = var$6.data; var$7 = $par1 + 1 | 0; var$3[$par1] = var$8; $par1 = var$7; } var$5.$size0 = 0; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$spawnableCaveCreatureList; var$6 = var$5.$array; var$4 = 0; var$7 = var$5.$size0; var$8 = null; if (var$4 > var$7) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while (var$4 < var$7) { var$3 = var$6.data; $par1 = var$4 + 1 | 0; var$3[var$4] = var$8; var$4 = $par1; } var$5.$size0 = 0; var$5.$modCount = var$5.$modCount + 1 | 0; var$8 = new nms_SpawnListEntry; var$8.$itemWeight = 10; var$8.$entityClass = $rt_cls(nms_EntityEnderman); var$8.$minGroupCount = 4; var$8.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$8; var$2.$modCount = var$2.$modCount + 1 | 0; nms_Block_$callClinit(); $par1 = nms_Block_dirt.$blockID << 24 >> 24; $this.$topBlock = $par1; $this.$fillerBlock = $par1; var$5 = new nms_BiomeEndDecorator; nms_BiomeDecorator__init_(var$5, $this); var$8 = new nms_WorldGenSpikes; $par1 = nms_Block_whiteStone.$blockID; var$8.$doBlockNotify = 0; var$8.$replaceID = $par1; var$5.$spikeGen = var$8; $this.$theBiomeDecorator = var$5; }, nms_BiomeGenEnd__init_ = var_0 => { let var_1 = new nms_BiomeGenEnd(); nms_BiomeGenEnd__init_0(var_1, var_0); return var_1; }, nms_BiomeGenEnd_getSkyColorByTemp = ($this, $par1) => { return 0; }, nms_BiomeGenSnow = $rt_classWithoutFields(nms_BiomeGenBase), nms_BiomeGenMushroomIsland = $rt_classWithoutFields(nms_BiomeGenBase), nms_BiomeGenMushroomIsland__init_0 = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_BiomeGenBase__init_($this, $par1); var$2 = $this.$theBiomeDecorator; var$2.$treesPerChunk = (-100); var$2.$flowersPerChunk = (-100); var$2.$grassPerChunk = (-100); var$2.$mushroomsPerChunk = 1; var$2.$bigMushroomsPerChunk = 1; nms_Block_$callClinit(); $this.$topBlock = nms_Block_mycelium.$blockID << 24 >> 24; var$2 = $this.$spawnableMonsterList; var$3 = var$2.$array; $par1 = 0; var$4 = var$2.$size0; var$5 = null; if ($par1 > var$4) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while ($par1 < var$4) { var$6 = var$3.data; var$7 = $par1 + 1 | 0; var$6[$par1] = var$5; $par1 = var$7; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$spawnableCreatureList; var$3 = var$2.$array; $par1 = 0; var$4 = var$2.$size0; var$5 = null; if ($par1 > var$4) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while ($par1 < var$4) { var$6 = var$3.data; var$7 = $par1 + 1 | 0; var$6[$par1] = var$5; $par1 = var$7; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$5 = $this.$spawnableWaterCreatureList; var$3 = var$5.$array; $par1 = 0; var$4 = var$5.$size0; var$8 = null; if ($par1 > var$4) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while ($par1 < var$4) { var$6 = var$3.data; var$7 = $par1 + 1 | 0; var$6[$par1] = var$8; $par1 = var$7; } var$5.$size0 = 0; var$5.$modCount = var$5.$modCount + 1 | 0; var$8 = new nms_SpawnListEntry; var$8.$itemWeight = 8; var$8.$entityClass = $rt_cls(nms_EntityMooshroom); var$8.$minGroupCount = 4; var$8.$maxGroupCount = 8; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$8; var$2.$modCount = var$2.$modCount + 1 | 0; }, nms_BiomeGenMushroomIsland__init_ = var_0 => { let var_1 = new nms_BiomeGenMushroomIsland(); nms_BiomeGenMushroomIsland__init_0(var_1, var_0); return var_1; }, nms_BiomeGenBeach = $rt_classWithoutFields(nms_BiomeGenBase), nms_BiomeGenBeach__init_ = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7; nms_BiomeGenBase__init_($this, $par1); var$2 = $this.$spawnableCreatureList; var$3 = var$2.$array; $par1 = 0; var$4 = var$2.$size0; var$5 = null; if ($par1 > var$4) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while ($par1 < var$4) { var$6 = var$3.data; var$7 = $par1 + 1 | 0; var$6[$par1] = var$5; $par1 = var$7; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; nms_Block_$callClinit(); $par1 = nms_Block_sand.$blockID << 24 >> 24; $this.$topBlock = $par1; $this.$fillerBlock = $par1; var$2 = $this.$theBiomeDecorator; var$2.$treesPerChunk = (-999); var$2.$deadBushPerChunk = 0; var$2.$reedsPerChunk = 0; var$2.$cactiPerChunk = 0; }, nms_BiomeGenBeach__init_0 = var_0 => { let var_1 = new nms_BiomeGenBeach(); nms_BiomeGenBeach__init_(var_1, var_0); return var_1; }, nms_BiomeGenJungle = $rt_classWithoutFields(nms_BiomeGenBase), nms_BiomeGenJungle__init_0 = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6; nms_BiomeGenBase__init_($this, $par1); var$2 = $this.$theBiomeDecorator; var$2.$treesPerChunk = 50; var$2.$grassPerChunk = 25; var$2.$flowersPerChunk = 4; var$3 = $this.$spawnableMonsterList; var$4 = new nms_SpawnListEntry; var$4.$itemWeight = 2; var$4.$entityClass = $rt_cls(nms_EntityOcelot); var$4.$minGroupCount = 1; var$4.$maxGroupCount = 1; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$5[var$6] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; var$2 = $this.$spawnableCreatureList; var$3 = new nms_SpawnListEntry; var$3.$itemWeight = 10; var$3.$entityClass = $rt_cls(nms_EntityChicken); var$3.$minGroupCount = 4; var$3.$maxGroupCount = 4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$5[var$6] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; }, nms_BiomeGenJungle__init_ = var_0 => { let var_1 = new nms_BiomeGenJungle(); nms_BiomeGenJungle__init_0(var_1, var_0); return var_1; }, nleav_VirtualFilesystem$AsyncHandlers = $rt_classWithoutFields(), nleav_VirtualFilesystem$AsyncHandlers__init_ = $this => { return; }, nleav_VirtualFilesystem$AsyncHandlers__init_0 = () => { let var_0 = new nleav_VirtualFilesystem$AsyncHandlers(); nleav_VirtualFilesystem$AsyncHandlers__init_(var_0); return var_0; }, nleav_VirtualFilesystem$AsyncHandlers_openDB = ($name, $cb) => { let $i, $f; $i = typeof indexedDB !== 'undefined' ? indexedDB : null; if ($i === null) { $f = new nleav_VirtualFilesystem$DatabaseOpen; $i = null; $f.$failedInit = 0; $f.$failedLocked = 0; $f.$failedError = $rt_s(3311); $f.$database = $i; $cb.$realAsyncCallback.$complete($f); return; } $f = $i.open($rt_ustr($name), 1); $name = new nleav_VirtualFilesystem$AsyncHandlers$1; $name.$val$cb10 = $cb; $name = otji_JS_function($name, "handleEvent"); $f.onBlocked = $name; $name = new nleav_VirtualFilesystem$AsyncHandlers$2; $name.$val$cb6 = $cb; $name.$val$f0 = $f; $name = otji_JS_function($name, "handleEvent"); $f.onsuccess = $name; $name = new nleav_VirtualFilesystem$AsyncHandlers$3; $name.$val$cb11 = $cb; $name = otji_JS_function($name, "handleEvent"); $f.onerror = $name; $name = new nleav_VirtualFilesystem$AsyncHandlers$4; $name.$val$f = $f; $name = otji_JS_function($name, "handleEvent"); $f.onupgradeneeded = $name; }, nleav_VirtualFilesystem$AsyncHandlers_deleteFile = ($db, $name, $cb) => { let $r; $db = $db.transaction("filesystem", "readwrite").objectStore("filesystem"); $name = nleav_VirtualFilesystem$AsyncHandlers_makeTheFuckingKeyWork$js_body$_6($rt_ustr($name)); $r = $db.delete($name); $db = new nleav_VirtualFilesystem$AsyncHandlers$5; $db.$val$cb15 = $cb; $db = otji_JS_function($db, "handleEvent"); $r.onsuccess = $db; $db = new nleav_VirtualFilesystem$AsyncHandlers$6; $db.$val$cb14 = $cb; $db = otji_JS_function($db, "handleEvent"); $r.onerror = $db; }, nleav_VirtualFilesystem$AsyncHandlers_readWholeFile = ($db, $name, $cb) => { let $r; $db = $db.transaction("filesystem", "readonly").objectStore("filesystem"); $name = nleav_VirtualFilesystem$AsyncHandlers_makeTheFuckingKeyWork$js_body$_6($rt_ustr($name)); $r = $db.get($name); $db = new nleav_VirtualFilesystem$AsyncHandlers$7; $db.$val$cb4 = $cb; $db.$val$r = $r; $db = otji_JS_function($db, "handleEvent"); $r.onsuccess = $db; $db = new nleav_VirtualFilesystem$AsyncHandlers$8; $db.$val$cb8 = $cb; $db = otji_JS_function($db, "handleEvent"); $r.onerror = $db; }, nleav_VirtualFilesystem$AsyncHandlers_deleteFiles = ($db, $prefix, $cb) => { let $r, $res; $r = $db.transaction("filesystem", "readwrite").objectStore("filesystem").openCursor(); $res = $rt_createIntArray(1); $db = new nleav_VirtualFilesystem$AsyncHandlers$11; $db.$val$r1 = $r; $db.$val$cb2 = $cb; $db.$val$res = $res; $db.$val$prefix = $prefix; $db = otji_JS_function($db, "handleEvent"); $r.onsuccess = $db; $db = new nleav_VirtualFilesystem$AsyncHandlers$12; $db.$val$cb5 = $cb; $db.$val$res0 = $res; $db = otji_JS_function($db, "handleEvent"); $r.onerror = $db; }, nleav_VirtualFilesystem$AsyncHandlers_fileExists = ($db, $name, $cb) => { let $r; $db = $db.transaction("filesystem", "readonly").objectStore("filesystem"); $name = nleav_VirtualFilesystem$AsyncHandlers_makeTheFuckingKeyWork$js_body$_6($rt_ustr($name)); $r = $db.count($name); $db = new nleav_VirtualFilesystem$AsyncHandlers$13; $db.$val$cb3 = $cb; $db.$val$r0 = $r; $db = otji_JS_function($db, "handleEvent"); $r.onsuccess = $db; $db = new nleav_VirtualFilesystem$AsyncHandlers$14; $db.$val$cb12 = $cb; $db = otji_JS_function($db, "handleEvent"); $r.onerror = $db; }, nleav_VirtualFilesystem$AsyncHandlers_writeWholeFile = ($db, $name, $data, $cb) => { let $r; $db = $db.transaction("filesystem", "readwrite").objectStore("filesystem"); $name = nleav_VirtualFilesystem$AsyncHandlers_writeRow$js_body$_17($rt_ustr($name), $data); $r = $db.put($name); $db = new nleav_VirtualFilesystem$AsyncHandlers$15; $db.$val$cb17 = $cb; $db = otji_JS_function($db, "handleEvent"); $r.onsuccess = $db; $db = new nleav_VirtualFilesystem$AsyncHandlers$16; $db.$val$cb18 = $cb; $db = otji_JS_function($db, "handleEvent"); $r.onerror = $db; }, nleav_VirtualFilesystem$AsyncHandlers_openDB$_asyncCall_$ = var$1 => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nleav_VirtualFilesystem$AsyncHandlers_openDB(var$1, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nleav_VirtualFilesystem$AsyncHandlers_deleteFile$_asyncCall_$ = (var$1, var$2) => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nleav_VirtualFilesystem$AsyncHandlers_deleteFile(var$1, var$2, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nleav_VirtualFilesystem$AsyncHandlers_readWholeFile$_asyncCall_$ = (var$1, var$2) => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nleav_VirtualFilesystem$AsyncHandlers_readWholeFile(var$1, var$2, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nleav_VirtualFilesystem$AsyncHandlers_deleteFiles$_asyncCall_$ = (var$1, var$2) => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nleav_VirtualFilesystem$AsyncHandlers_deleteFiles(var$1, var$2, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nleav_VirtualFilesystem$AsyncHandlers_fileExists$_asyncCall_$ = (var$1, var$2) => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nleav_VirtualFilesystem$AsyncHandlers_fileExists(var$1, var$2, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nleav_VirtualFilesystem$AsyncHandlers_writeWholeFile$_asyncCall_$ = (var$1, var$2, var$3) => { let thread = $rt_nativeThread(); let javaThread = $rt_getThread(); if (thread.isResuming()) { thread.status = 0; let result = thread.attribute; if (result instanceof Error) { throw result; } return result; } let callback = function() { }; callback.$complete = val => { thread.attribute = val; $rt_setThread(javaThread); thread.resume(); }; callback.$error = e => { thread.attribute = $rt_exception(e); $rt_setThread(javaThread); thread.resume(); }; callback = otpp_AsyncCallbackWrapper_create(callback); thread.suspend(() => { try { nleav_VirtualFilesystem$AsyncHandlers_writeWholeFile(var$1, var$2, var$3, callback); ; } catch ($e){ callback.$error($e); } }); return null; }, nleav_VirtualFilesystem$AsyncHandlers_readRow$js_body$_5 = var$1 => { return typeof var$1 === 'undefined' ? null : typeof var$1.data === 'undefined' ? null : var$1.data; }, nleav_VirtualFilesystem$AsyncHandlers_makeTheFuckingKeyWork$js_body$_6 = var$1 => { return [var$1]; }, nleav_VirtualFilesystem$AsyncHandlers_readKey$js_body$_9 = var$1 => { return typeof var$1 === "string" ? var$1 : typeof var$1 === "undefined" ? null : typeof var$1[0] === "string" ? var$1[0] : null; }, nleav_VirtualFilesystem$AsyncHandlers_writeRow$js_body$_17 = (var$1, var$2) => { return { path : var$1, data : var$2 }; }; function nleav_VirtualFilesystem$DatabaseOpen() { let a = this; jl_Object.call(a); a.$failedInit = 0; a.$failedLocked = 0; a.$failedError = null; a.$database = null; } let otjw_DecodeSuccessCallback = $rt_classWithoutFields(0); function nlea_EaglerAdapterImpl2$23() { jl_Object.call(this); this.$val$cb = null; } let nlea_EaglerAdapterImpl2$23_onSuccess$exported$0 = (var$0, var$1) => { let var$2; var$2 = var$0.$val$cb; var$1 = otji_JSWrapper_wrap(var$1); var$2.$realAsyncCallback.$complete(var$1); }, otjw_DecodeErrorCallback = $rt_classWithoutFields(0); function nlea_EaglerAdapterImpl2$24() { jl_Object.call(this); this.$val$cb13 = null; } let nlea_EaglerAdapterImpl2$24_onError$exported$0 = (var$0, var$1) => { let var$2; var$2 = var$0.$val$cb13; var$1 = null; var$2.$realAsyncCallback.$complete(var$1); }; function nms_WeightedRandomItem() { jl_Object.call(this); this.$itemWeight = 0; } function nms_SpawnListEntry() { let a = this; nms_WeightedRandomItem.call(a); a.$entityClass = null; a.$minGroupCount = 0; a.$maxGroupCount = 0; } let nms_SpawnListEntry_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = jl_Class_getSimpleName($this.$entityClass); var$2 = $this.$minGroupCount; var$3 = $this.$maxGroupCount; var$4 = $this.$itemWeight; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$6 = var$5.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$1); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3312)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$2, 10); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 45; jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$3, 10); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3313)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$4, 10); var$1 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$3 = var$5.$length0; var$4 = var$8.length; if (var$3 >= 0 && var$3 <= (var$4 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$7.data, 0, var$3); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }; function nms_BiomeDecorator() { let a = this; jl_Object.call(a); a.$biome = null; a.$clayGen = null; a.$sandGen = null; a.$gravelAsSandGen = null; a.$dirtGen = null; a.$gravelGen = null; a.$coalGen = null; a.$ironGen = null; a.$goldGen = null; a.$redstoneGen = null; a.$diamondGen = null; a.$lapisGen = null; a.$plantYellowGen = null; a.$plantRedGen = null; a.$mushroomBrownGen = null; a.$mushroomRedGen = null; a.$bigMushroomGen = null; a.$reedGen = null; a.$cactusGen = null; a.$waterlilyGen = null; a.$waterlilyPerChunk = 0; a.$treesPerChunk = 0; a.$flowersPerChunk = 0; a.$grassPerChunk = 0; a.$deadBushPerChunk = 0; a.$mushroomsPerChunk = 0; a.$reedsPerChunk = 0; a.$cactiPerChunk = 0; a.$sandPerChunk = 0; a.$sandPerChunk2 = 0; a.$clayPerChunk = 0; a.$bigMushroomsPerChunk = 0; a.$generateLakes = 0; } let nms_BiomeDecorator__init_ = ($this, $par1BiomeGenBase) => { let var$2, var$3, var$4, var$5, var$6; var$2 = new nms_WorldGenClay; var$2.$doBlockNotify = 0; nms_Block_$callClinit(); var$2.$clayBlockId = nms_Block_blockClay.$blockID; var$2.$numberOfBlocks0 = 4; $this.$clayGen = var$2; var$3 = new nms_WorldGenSand; var$4 = nms_Block_sand.$blockID; var$3.$doBlockNotify = 0; var$3.$sandID = var$4; var$3.$radius = 7; $this.$sandGen = var$3; var$2 = new nms_WorldGenSand; var$4 = nms_Block_gravel.$blockID; var$2.$doBlockNotify = 0; var$2.$sandID = var$4; var$2.$radius = 6; $this.$gravelAsSandGen = var$2; var$2 = new nms_WorldGenMinable; var$5 = nms_Block_dirt.$blockID; var$6 = nms_Block_stone.$blockID; var$2.$doBlockNotify = 0; var$2.$minableBlockId = var$5; var$2.$numberOfBlocks = 32; var$2.$blockToReplace = var$6; $this.$dirtGen = var$2; var$2 = new nms_WorldGenMinable; var$2.$doBlockNotify = 0; var$2.$minableBlockId = var$4; var$2.$numberOfBlocks = 32; var$2.$blockToReplace = var$6; $this.$gravelGen = var$2; var$2 = new nms_WorldGenMinable; var$5 = nms_Block_oreCoal.$blockID; var$2.$doBlockNotify = 0; var$2.$minableBlockId = var$5; var$2.$numberOfBlocks = 16; var$2.$blockToReplace = var$6; $this.$coalGen = var$2; var$2 = new nms_WorldGenMinable; var$5 = nms_Block_oreIron.$blockID; var$2.$doBlockNotify = 0; var$2.$minableBlockId = var$5; var$2.$numberOfBlocks = 8; var$2.$blockToReplace = var$6; $this.$ironGen = var$2; var$2 = new nms_WorldGenMinable; var$5 = nms_Block_oreGold.$blockID; var$2.$doBlockNotify = 0; var$2.$minableBlockId = var$5; var$2.$numberOfBlocks = 8; var$2.$blockToReplace = var$6; $this.$goldGen = var$2; var$2 = new nms_WorldGenMinable; var$5 = nms_Block_oreRedstone.$blockID; var$2.$doBlockNotify = 0; var$2.$minableBlockId = var$5; var$2.$numberOfBlocks = 7; var$2.$blockToReplace = var$6; $this.$redstoneGen = var$2; var$2 = new nms_WorldGenMinable; var$5 = nms_Block_oreDiamond.$blockID; var$2.$doBlockNotify = 0; var$2.$minableBlockId = var$5; var$2.$numberOfBlocks = 7; var$2.$blockToReplace = var$6; $this.$diamondGen = var$2; var$2 = new nms_WorldGenMinable; var$5 = nms_Block_oreLapis.$blockID; var$2.$doBlockNotify = 0; var$2.$minableBlockId = var$5; var$2.$numberOfBlocks = 6; var$2.$blockToReplace = var$6; $this.$lapisGen = var$2; var$2 = new nms_WorldGenFlowers; var$5 = nms_Block_plantYellow.$blockID; var$2.$doBlockNotify = 0; var$2.$plantBlockId = var$5; $this.$plantYellowGen = var$2; var$2 = new nms_WorldGenFlowers; var$5 = nms_Block_plantRed.$blockID; var$2.$doBlockNotify = 0; var$2.$plantBlockId = var$5; $this.$plantRedGen = var$2; var$2 = new nms_WorldGenFlowers; var$5 = nms_Block_mushroomBrown.$blockID; var$2.$doBlockNotify = 0; var$2.$plantBlockId = var$5; $this.$mushroomBrownGen = var$2; var$2 = new nms_WorldGenFlowers; var$5 = nms_Block_mushroomRed.$blockID; var$2.$doBlockNotify = 0; var$2.$plantBlockId = var$5; $this.$mushroomRedGen = var$2; var$2 = new nms_WorldGenBigMushroom; var$2.$doBlockNotify = 0; var$2.$mushroomType0 = (-1); $this.$bigMushroomGen = var$2; var$2 = new nms_WorldGenReed; var$2.$doBlockNotify = 0; $this.$reedGen = var$2; var$2 = new nms_WorldGenCactus; var$2.$doBlockNotify = 0; $this.$cactusGen = var$2; var$2 = new nms_WorldGenWaterlily; var$2.$doBlockNotify = 0; $this.$waterlilyGen = var$2; $this.$flowersPerChunk = 2; $this.$grassPerChunk = 1; $this.$sandPerChunk = 1; $this.$sandPerChunk2 = 3; $this.$clayPerChunk = 1; $this.$generateLakes = 1; $this.$biome = $par1BiomeGenBase; }, nms_BiomeDecorator__init_0 = var_0 => { let var_1 = new nms_BiomeDecorator(); nms_BiomeDecorator__init_(var_1, var_0); return var_1; }; function nms_WorldGenerator() { jl_Object.call(this); this.$doBlockNotify = 0; } let nms_WorldGenerator_setBlockAndMetadata = ($this, $par1World, $par2, $par3, $par4, $par5, $par6) => { let var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$doBlockNotify) { var$7 = 2; $ptr = 1; continue main; } var$7 = 3; $ptr = 2; continue main; case 1: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $par6, var$7); if ($rt_suspending()) { break main; } return; case 2: nms_World_setBlock($par1World, $par2, $par3, $par4, $par5, $par6, var$7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6, var$7, $ptr); }; function nms_WorldGenMinable() { let a = this; nms_WorldGenerator.call(a); a.$minableBlockId = 0; a.$numberOfBlocks = 0; a.$blockToReplace = 0; } function nms_BiomeEndDecorator() { nms_BiomeDecorator.call(this); this.$spikeGen = null; } let nms_EnumEntitySize = $rt_classWithoutFields(jl_Enum), nms_EnumEntitySize_SIZE_1 = null, nms_EnumEntitySize_SIZE_2 = null, nms_EnumEntitySize_SIZE_3 = null, nms_EnumEntitySize_SIZE_4 = null, nms_EnumEntitySize_SIZE_5 = null, nms_EnumEntitySize_SIZE_6 = null, nms_EnumEntitySize_$VALUES = null, nms_EnumEntitySize_$values = () => { let var$1, var$2; var$1 = $rt_createArray(nms_EnumEntitySize, 6); var$2 = var$1.data; var$2[0] = nms_EnumEntitySize_SIZE_1; var$2[1] = nms_EnumEntitySize_SIZE_2; var$2[2] = nms_EnumEntitySize_SIZE_3; var$2[3] = nms_EnumEntitySize_SIZE_4; var$2[4] = nms_EnumEntitySize_SIZE_5; var$2[5] = nms_EnumEntitySize_SIZE_6; return var$1; }, nms_EnumEntitySize__clinit_ = () => { let var$1; var$1 = new nms_EnumEntitySize; var$1.$name0 = $rt_s(3314); var$1.$ordinal = 0; nms_EnumEntitySize_SIZE_1 = var$1; var$1 = new nms_EnumEntitySize; var$1.$name0 = $rt_s(3315); var$1.$ordinal = 1; nms_EnumEntitySize_SIZE_2 = var$1; var$1 = new nms_EnumEntitySize; var$1.$name0 = $rt_s(3316); var$1.$ordinal = 2; nms_EnumEntitySize_SIZE_3 = var$1; var$1 = new nms_EnumEntitySize; var$1.$name0 = $rt_s(3317); var$1.$ordinal = 3; nms_EnumEntitySize_SIZE_4 = var$1; var$1 = new nms_EnumEntitySize; var$1.$name0 = $rt_s(3318); var$1.$ordinal = 4; nms_EnumEntitySize_SIZE_5 = var$1; var$1 = new nms_EnumEntitySize; var$1.$name0 = $rt_s(3319); var$1.$ordinal = 5; nms_EnumEntitySize_SIZE_6 = var$1; nms_EnumEntitySize_$VALUES = nms_EnumEntitySize_$values(); }; function jl_Package() { jl_Object.call(this); this.$name21 = null; } let jl_Package_packages = null, jl_Package_getName = $this => { return $this.$name21; }, jl_Package__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; jl_Package_packages = var$1; }; function nms_WorldGenTrees() { let a = this; nms_WorldGenerator.call(a); a.$minTreeHeight = 0; a.$vinesGrow = 0; a.$metaWood = 0; a.$metaLeaves = 0; } let nms_WorldGenTrees_generate = ($this, $par1World, $par2Random, $par3, $par4, $par5) => { let var$6, var$7, $var9, var$9, $var11, $var6, $var7, $var12, $var12_0, $var8, $var9_0, $var10, $var12_1, $var14, $var16, $var15, $var13, var$23, $var17, $var15_0, $var13_0, var$27, var$28, $var18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var18 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();$var13_0 = $thread.pop();$var15_0 = $thread.pop();$var17 = $thread.pop();var$23 = $thread.pop();$var13 = $thread.pop();$var15 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var12_1 = $thread.pop();$var10 = $thread.pop();$var9_0 = $thread.pop();$var8 = $thread.pop();$var12_0 = $thread.pop();$var12 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var11 = $thread.pop();var$9 = $thread.pop();$var9 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2Random = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; var$7 = 17; $var9 = Long_lo(Long_shru(var$6, var$7)); var$9 = 2; while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } $var6 = $var11 + $this.$minTreeHeight | 0; $var7 = 1; if ($par4 >= 1) { $var12 = $par4 + $var6 | 0; if (($var12 + 1 | 0) <= 256) { $var9 = ($par4 + 1 | 0) + $var6 | 0; $var12_0 = $var9 - 2 | 0; $var8 = $par4; while ($var8 <= $var9) { $var9_0 = 1; if ($var8 == $par4) $var9_0 = 0; if ($var8 >= $var12_0) $var9_0 = 2; $var10 = $par3 - $var9_0 | 0; while ($var10 <= ($par3 + $var9_0 | 0) && $var7) { $var11 = $par5 - $var9_0 | 0; while ($var11 <= ($par5 + $var9_0 | 0) && $var7) { if ($var8 >= 0 && $var8 < 256) { $var12_1 = nms_World_getBlockId($par1World, $var10, $var8, $var11); if ($var12_1) { nms_Block_$callClinit(); if ($var12_1 != nms_Block_leaves.$blockID && $var12_1 != nms_Block_grass.$blockID && $var12_1 != nms_Block_dirt.$blockID && $var12_1 != nms_Block_wood.$blockID) $var7 = 0; } } else $var7 = 0; $var11 = $var11 + 1 | 0; } $var10 = $var10 + 1 | 0; } $var8 = $var8 + 1 | 0; } if (!$var7) return 0; $var8 = $par4 - 1 | 0; $var9 = nms_World_getBlockId($par1World, $par3, $var8, $par5); nms_Block_$callClinit(); if (!($var9 != nms_Block_grass.$blockID && $var9 != nms_Block_dirt.$blockID) && $par4 < ((256 - $var6 | 0) - 1 | 0)) { $var9 = nms_Block_dirt.$blockID; $var11 = 0; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 1; continue main; } $var12_0 = 3; $ptr = 2; continue main; } return 0; } } return 0; case 1: nms_World_setBlock($par1World, $par3, $var8, $par5, $var9, $var11, $var12_0); if ($rt_suspending()) { break main; } $var8 = ($par4 - 3 | 0) + $var6 | 0; var$6 = Long_fromInt(2); $var11 = $var8; a: while (true) { if ($var11 > $var12) { $var14 = 0; $var12_0 = $par3 - 1 | 0; $var9_0 = $par3 + 1 | 0; $var16 = $par5 - 1 | 0; $var15 = $par5 + 1 | 0; while (true) { if ($var14 >= $var6) { b: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); c: { d: while (true) { if ($var8 > $var12) break c; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break d; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break b; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 == nms_Block_leaves.$blockID) break; $var14 = $var14 + 1 | 0; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; } $var12_0 = $var11 - $var12 | 0; $var13 = 1 - ($var12_0 / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $var9 = $par3 + $var13 | 0; $var15 = $par5 - $var13 | 0; $var9_0 = $par5 + $var13 | 0; while ($var14 <= $var9) { $var15_0 = $var14 - $par3 | 0; $var12_1 = -$var15_0 | 0; $var16 = $var15; while ($var16 <= $var9_0) { $var17 = $var16 - $par5 | 0; $var18 = $var15_0 < 0 ? $var12_1 : $var15_0; e: { if ($var18 == $var13) { if ($var17 < 0) $var17 = -$var17 | 0; if ($var17 == $var13) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) break e; if (!$var12_0) break e; } } $var18 = nms_World_getBlockId($par1World, $var14, $var11, $var16); if (!$var18) break a; if ($var18 == nms_Block_leaves.$blockID) break a; } $var16 = $var16 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var11 = $var11 + 1 | 0; } $var17 = nms_Block_leaves.$blockID; $var18 = $this.$metaLeaves; if (!$this.$doBlockNotify) { $var10 = 2; $ptr = 5; continue main; } $var10 = 3; $ptr = 6; continue main; case 2: nms_World_setBlock($par1World, $par3, $var8, $par5, $var9, $var11, $var12_0); if ($rt_suspending()) { break main; } $var8 = ($par4 - 3 | 0) + $var6 | 0; var$6 = Long_fromInt(2); $var11 = $var8; a: while (true) { if ($var11 > $var12) { $var14 = 0; $var12_0 = $par3 - 1 | 0; $var9_0 = $par3 + 1 | 0; $var16 = $par5 - 1 | 0; $var15 = $par5 + 1 | 0; while (true) { if ($var14 >= $var6) { b: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); c: { d: while (true) { if ($var8 > $var12) break c; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break d; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break b; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 == nms_Block_leaves.$blockID) break; $var14 = $var14 + 1 | 0; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; } $var12_0 = $var11 - $var12 | 0; $var13 = 1 - ($var12_0 / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $var9 = $par3 + $var13 | 0; $var15 = $par5 - $var13 | 0; $var9_0 = $par5 + $var13 | 0; while ($var14 <= $var9) { $var15_0 = $var14 - $par3 | 0; $var12_1 = -$var15_0 | 0; $var16 = $var15; while ($var16 <= $var9_0) { $var17 = $var16 - $par5 | 0; $var18 = $var15_0 < 0 ? $var12_1 : $var15_0; e: { if ($var18 == $var13) { if ($var17 < 0) $var17 = -$var17 | 0; if ($var17 == $var13) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) break e; if (!$var12_0) break e; } } $var18 = nms_World_getBlockId($par1World, $var14, $var11, $var16); if (!$var18) break a; if ($var18 == nms_Block_leaves.$blockID) break a; } $var16 = $var16 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var11 = $var11 + 1 | 0; } $var17 = nms_Block_leaves.$blockID; $var18 = $this.$metaLeaves; if (!$this.$doBlockNotify) { $var10 = 2; $ptr = 5; continue main; } $var10 = 3; $ptr = 6; continue main; case 3: nms_World_setBlock($par1World, $par3, $var15_0, $par5, $var9, $var11, $var13); if ($rt_suspending()) { break main; } if ($this.$vinesGrow && $var14 > 0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $var12_0, $var15_0, $par5) ? 0 : 1)) { $var9 = nms_Block_vine.$blockID; $var11 = 8; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 13; continue main; } $var13 = 3; $ptr = 14; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $var9_0, $var15_0, $par5) ? 0 : 1)) { $var9 = nms_Block_vine.$blockID; $var11 = 2; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 21; continue main; } $var13 = 3; $ptr = 22; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var16) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 1; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 29; continue main; } $var9 = 3; $ptr = 30; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var15) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 4; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 31; continue main; } $var9 = 3; $ptr = 32; continue main; } } while (true) { $var14 = $var14 + 1 | 0; if ($var14 >= $var6) { f: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); g: { h: while (true) { if ($var8 > $var12) break g; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break h; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break f; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 != nms_Block_leaves.$blockID) continue; else break; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; continue main; } $var13 = 3; $ptr = 4; case 4: nms_World_setBlock($par1World, $par3, $var15_0, $par5, $var9, $var11, $var13); if ($rt_suspending()) { break main; } if ($this.$vinesGrow && $var14 > 0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $var12_0, $var15_0, $par5) ? 0 : 1)) { $var9 = nms_Block_vine.$blockID; $var11 = 8; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 13; continue main; } $var13 = 3; $ptr = 14; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $var9_0, $var15_0, $par5) ? 0 : 1)) { $var9 = nms_Block_vine.$blockID; $var11 = 2; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 21; continue main; } $var13 = 3; $ptr = 22; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var16) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 1; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 29; continue main; } $var9 = 3; $ptr = 30; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var15) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 4; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 31; continue main; } $var9 = 3; $ptr = 32; continue main; } } while (true) { $var14 = $var14 + 1 | 0; if ($var14 >= $var6) { f: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); g: { h: while (true) { if ($var8 > $var12) break g; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break h; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break f; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 != nms_Block_leaves.$blockID) continue; else break; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; continue main; case 5: nms_World_setBlock($par1World, $var14, $var11, $var16, $var17, $var18, $var10); if ($rt_suspending()) { break main; } while (true) { $var16 = $var16 + 1 | 0; while ($var16 > $var9_0) { $var14 = $var14 + 1 | 0; while ($var14 > $var9) { $var11 = $var11 + 1 | 0; if ($var11 > $var12) { $var14 = 0; $var12_0 = $par3 - 1 | 0; $var9_0 = $par3 + 1 | 0; $var16 = $par5 - 1 | 0; $var15 = $par5 + 1 | 0; while (true) { if ($var14 >= $var6) { i: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); b: { j: while (true) { if ($var8 > $var12) break b; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break j; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break i; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 == nms_Block_leaves.$blockID) break; $var14 = $var14 + 1 | 0; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; } $var12_0 = $var11 - $var12 | 0; $var13 = 1 - ($var12_0 / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $var9 = $par3 + $var13 | 0; $var15 = $par5 - $var13 | 0; $var9_0 = $par5 + $var13 | 0; } $var15_0 = $var14 - $par3 | 0; $var12_1 = -$var15_0 | 0; $var16 = $var15; } $var17 = $var16 - $par5 | 0; if (($var15_0 < 0 ? $var12_1 : $var15_0) == $var13) { if ($var17 < 0) $var17 = -$var17 | 0; if ($var17 == $var13) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; if (!$var12_0) continue; } } $var18 = nms_World_getBlockId($par1World, $var14, $var11, $var16); if (!$var18) break; if ($var18 != nms_Block_leaves.$blockID) continue; else break; } $var17 = nms_Block_leaves.$blockID; $var18 = $this.$metaLeaves; if (!$this.$doBlockNotify) { $var10 = 2; continue main; } $var10 = 3; $ptr = 6; case 6: nms_World_setBlock($par1World, $var14, $var11, $var16, $var17, $var18, $var10); if ($rt_suspending()) { break main; } while (true) { $var16 = $var16 + 1 | 0; while ($var16 > $var9_0) { $var14 = $var14 + 1 | 0; while ($var14 > $var9) { $var11 = $var11 + 1 | 0; if ($var11 > $var12) { $var14 = 0; $var12_0 = $par3 - 1 | 0; $var9_0 = $par3 + 1 | 0; $var16 = $par5 - 1 | 0; $var15 = $par5 + 1 | 0; while (true) { if ($var14 >= $var6) { i: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); b: { j: while (true) { if ($var8 > $var12) break b; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break j; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break i; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 == nms_Block_leaves.$blockID) break; $var14 = $var14 + 1 | 0; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; } $var12_0 = $var11 - $var12 | 0; $var13 = 1 - ($var12_0 / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $var9 = $par3 + $var13 | 0; $var15 = $par5 - $var13 | 0; $var9_0 = $par5 + $var13 | 0; } $var15_0 = $var14 - $par3 | 0; $var12_1 = -$var15_0 | 0; $var16 = $var15; } $var17 = $var16 - $par5 | 0; if (($var15_0 < 0 ? $var12_1 : $var15_0) == $var13) { if ($var17 < 0) $var17 = -$var17 | 0; if ($var17 == $var13) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; if (!$var12_0) continue; } } $var18 = nms_World_getBlockId($par1World, $var14, $var11, $var16); if (!$var18) break; if ($var18 != nms_Block_leaves.$blockID) continue; else break; } $var17 = nms_Block_leaves.$blockID; $var18 = $this.$metaLeaves; if (!$this.$doBlockNotify) { $var10 = 2; $ptr = 5; continue main; } $var10 = 3; continue main; case 7: nms_World_setBlock($par1World, $var17, $var8, $var15, $var11, $var9, $var12_0); if ($rt_suspending()) { break main; } $var11 = 4; $var12_0 = $var8; $var12_0 = $var12_0 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var17, $var12_0, $var15) && $var11 > 0) { $var13 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 17; continue main; } $var15_0 = 3; $ptr = 18; continue main; } while (true) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } k: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break k; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; else break; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var17 = $var14 - 1 | 0; if (nms_World_getBlockId($par1World, $var17, $var8, $var15)) continue; else break; } $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; continue main; } $var12_0 = 3; $ptr = 8; case 8: nms_World_setBlock($par1World, $var17, $var8, $var15, $var11, $var9, $var12_0); if ($rt_suspending()) { break main; } $var11 = 4; $var12_0 = $var8; $var12_0 = $var12_0 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var17, $var12_0, $var15) && $var11 > 0) { $var13 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 17; continue main; } $var15_0 = 3; $ptr = 18; continue main; } while (true) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } k: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break k; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; else break; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var17 = $var14 - 1 | 0; if (nms_World_getBlockId($par1World, $var17, $var8, $var15)) continue; else break; } $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; continue main; case 9: nms_World_setBlock($par1World, $var15_0, $var8, $var15, $var9, $var17, $var11); if ($rt_suspending()) { break main; } $var9 = 4; $var11 = $var8; $var11 = $var11 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var11, $var15) && $var9 > 0) { $var12_0 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 19; continue main; } $var13 = 3; $ptr = 20; continue main; } while (true) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } k: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break k; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; else break; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var15_0 = $var14 + 1 | 0; if (nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) continue; else break; } $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; continue main; } $var11 = 3; $ptr = 10; case 10: nms_World_setBlock($par1World, $var15_0, $var8, $var15, $var9, $var17, $var11); if ($rt_suspending()) { break main; } $var9 = 4; $var11 = $var8; $var11 = $var11 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var11, $var15) && $var9 > 0) { $var12_0 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 19; continue main; } $var13 = 3; $ptr = 20; continue main; } while (true) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } k: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break k; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; else break; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var15_0 = $var14 + 1 | 0; if (nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) continue; else break; } $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; continue main; case 11: nms_World_setBlock($par1World, $var14, $var8, $var15_0, $var9, $var17, $var11); if ($rt_suspending()) { break main; } $var9 = 4; $var11 = $var8; $var11 = $var11 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var14, $var11, $var15_0) && $var9 > 0) { $var12_0 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 23; continue main; } $var13 = 3; $ptr = 24; continue main; } while (true) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } k: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break k; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; else break; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var15_0 = $var15 - 1 | 0; if (nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) continue; else break; } $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; continue main; } $var11 = 3; $ptr = 12; case 12: nms_World_setBlock($par1World, $var14, $var8, $var15_0, $var9, $var17, $var11); if ($rt_suspending()) { break main; } $var9 = 4; $var11 = $var8; $var11 = $var11 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var14, $var11, $var15_0) && $var9 > 0) { $var12_0 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 23; continue main; } $var13 = 3; $ptr = 24; continue main; } while (true) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } k: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break k; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; else break; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var15_0 = $var15 - 1 | 0; if (nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) continue; else break; } $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; continue main; case 13: nms_World_setBlock($par1World, $var12_0, $var15_0, $par5, $var9, $var11, $var13); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $var9_0, $var15_0, $par5) ? 0 : 1)) { $var9 = nms_Block_vine.$blockID; $var11 = 2; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 21; continue main; } $var13 = 3; $ptr = 22; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var16) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 1; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 29; continue main; } $var9 = 3; $ptr = 30; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var15) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 4; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 31; continue main; } $var9 = 3; $ptr = 32; continue main; } while (true) { $var14 = $var14 + 1 | 0; if ($var14 >= $var6) { l: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); j: { f: while (true) { if ($var8 > $var12) break j; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break f; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break l; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 != nms_Block_leaves.$blockID) continue; else break; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; case 14: nms_World_setBlock($par1World, $var12_0, $var15_0, $par5, $var9, $var11, $var13); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $var9_0, $var15_0, $par5) ? 0 : 1)) { $var9 = nms_Block_vine.$blockID; $var11 = 2; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 21; continue main; } $var13 = 3; $ptr = 22; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var16) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 1; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 29; continue main; } $var9 = 3; $ptr = 30; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var15) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 4; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 31; continue main; } $var9 = 3; $ptr = 32; continue main; } while (true) { $var14 = $var14 + 1 | 0; if ($var14 >= $var6) { l: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); j: { f: while (true) { if ($var8 > $var12) break j; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break f; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break l; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 != nms_Block_leaves.$blockID) continue; else break; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; case 15: nms_World_setBlock($par1World, $var14, $var8, $var15_0, $var9, $var17, $var11); if ($rt_suspending()) { break main; } $var9 = 4; $var11 = $var8; $var11 = $var11 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var14, $var11, $var15_0) && $var9 > 0) { $var12_0 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 27; continue main; } $var13 = 3; $ptr = 28; continue main; } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } c: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break c; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var15_0 = $var15 + 1 | 0; if (nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) continue; else break; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; continue main; } $var11 = 3; $ptr = 16; case 16: nms_World_setBlock($par1World, $var14, $var8, $var15_0, $var9, $var17, $var11); if ($rt_suspending()) { break main; } $var9 = 4; $var11 = $var8; $var11 = $var11 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var14, $var11, $var15_0) && $var9 > 0) { $var12_0 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 27; continue main; } $var13 = 3; $ptr = 28; continue main; } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } c: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break c; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var15_0 = $var15 + 1 | 0; if (nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) continue; else break; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; continue main; case 17: nms_World_setBlock($par1World, $var17, $var12_0, $var15, $var13, $var9, $var15_0); if ($rt_suspending()) { break main; } $var11 = $var11 + (-1) | 0; $var12_0 = $var12_0 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var17, $var12_0, $var15) && $var11 > 0) { $var13 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var15_0 = 2; continue main; } $var15_0 = 3; $ptr = 18; continue main; } while (true) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } k: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break k; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; else break; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var17 = $var14 - 1 | 0; if (nms_World_getBlockId($par1World, $var17, $var8, $var15)) continue; else break; } $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; case 18: nms_World_setBlock($par1World, $var17, $var12_0, $var15, $var13, $var9, $var15_0); if ($rt_suspending()) { break main; } $var11 = $var11 + (-1) | 0; $var12_0 = $var12_0 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var17, $var12_0, $var15) && $var11 > 0) { $var13 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 17; continue main; } $var15_0 = 3; continue main; } while (true) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } k: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break k; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; else break; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var17 = $var14 - 1 | 0; if (nms_World_getBlockId($par1World, $var17, $var8, $var15)) continue; else break; } $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; case 19: nms_World_setBlock($par1World, $var15_0, $var11, $var15, $var12_0, $var17, $var13); if ($rt_suspending()) { break main; } $var9 = $var9 + (-1) | 0; $var11 = $var11 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var11, $var15) && $var9 > 0) { $var12_0 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var13 = 2; continue main; } $var13 = 3; $ptr = 20; continue main; } while (true) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } k: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break k; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; else break; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var15_0 = $var14 + 1 | 0; if (nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) continue; else break; } $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 20: nms_World_setBlock($par1World, $var15_0, $var11, $var15, $var12_0, $var17, $var13); if ($rt_suspending()) { break main; } $var9 = $var9 + (-1) | 0; $var11 = $var11 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var11, $var15) && $var9 > 0) { $var12_0 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 19; continue main; } $var13 = 3; continue main; } while (true) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } k: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break k; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; else break; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var15_0 = $var14 + 1 | 0; if (nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) continue; else break; } $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 21: nms_World_setBlock($par1World, $var9_0, $var15_0, $par5, $var9, $var11, $var13); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var16) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 1; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 29; continue main; } $var9 = 3; $ptr = 30; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var15) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 4; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 31; continue main; } $var9 = 3; $ptr = 32; continue main; } while (true) { $var14 = $var14 + 1 | 0; if ($var14 >= $var6) { m: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); i: { l: while (true) { if ($var8 > $var12) break i; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break l; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break m; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 != nms_Block_leaves.$blockID) continue; else break; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; case 22: nms_World_setBlock($par1World, $var9_0, $var15_0, $par5, $var9, $var11, $var13); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var16) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 1; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 29; continue main; } $var9 = 3; $ptr = 30; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var15) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 4; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 31; continue main; } $var9 = 3; $ptr = 32; continue main; } while (true) { $var14 = $var14 + 1 | 0; if ($var14 >= $var6) { m: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); i: { l: while (true) { if ($var8 > $var12) break i; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break l; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break m; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 != nms_Block_leaves.$blockID) continue; else break; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; case 23: nms_World_setBlock($par1World, $var14, $var11, $var15_0, $var12_0, $var17, $var13); if ($rt_suspending()) { break main; } $var9 = $var9 + (-1) | 0; $var11 = $var11 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var14, $var11, $var15_0) && $var9 > 0) { $var12_0 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var13 = 2; continue main; } $var13 = 3; $ptr = 24; continue main; } while (true) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } k: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break k; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; else break; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var15_0 = $var15 - 1 | 0; if (nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) continue; else break; } $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; case 24: nms_World_setBlock($par1World, $var14, $var11, $var15_0, $var12_0, $var17, $var13); if ($rt_suspending()) { break main; } $var9 = $var9 + (-1) | 0; $var11 = $var11 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var14, $var11, $var15_0) && $var9 > 0) { $var12_0 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 23; continue main; } $var13 = 3; continue main; } while (true) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } k: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break k; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; else break; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var15_0 = $var15 - 1 | 0; if (nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) continue; else break; } $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; case 25: nms_World_setBlock($par1World, $var8, $var11, $var12_0, $var13, $var14, $var15_0); if ($rt_suspending()) { break main; } a: while (true) { $var12 = $var12 + 1 | 0; while ($var12 >= 4) { $par4 = $par4 + 1 | 0; if ($par4 >= 2) break a; $var12 = 0; } $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if ($var12_0) continue; else { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; continue main; } $var15_0 = 3; $ptr = 26; continue main; } } return 1; case 26: nms_World_setBlock($par1World, $var8, $var11, $var12_0, $var13, $var14, $var15_0); if ($rt_suspending()) { break main; } a: while (true) { $var12 = $var12 + 1 | 0; while ($var12 >= 4) { $par4 = $par4 + 1 | 0; if ($par4 >= 2) break a; $var12 = 0; } $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if ($var12_0) continue; else { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; continue main; } } return 1; case 27: nms_World_setBlock($par1World, $var14, $var11, $var15_0, $var12_0, $var17, $var13); if ($rt_suspending()) { break main; } $var9 = $var9 + (-1) | 0; $var11 = $var11 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var14, $var11, $var15_0) && $var9 > 0) { $var12_0 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var13 = 2; continue main; } $var13 = 3; $ptr = 28; continue main; } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } c: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break c; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var15_0 = $var15 + 1 | 0; if (nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) continue; else break; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; case 28: nms_World_setBlock($par1World, $var14, $var11, $var15_0, $var12_0, $var17, $var13); if ($rt_suspending()) { break main; } $var9 = $var9 + (-1) | 0; $var11 = $var11 + (-1) | 0; if (!nms_World_getBlockId($par1World, $var14, $var11, $var15_0) && $var9 > 0) { $var12_0 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 27; continue main; } $var13 = 3; continue main; } while (true) { $var15 = $var15 + 1 | 0; while ($var15 > $var16) { $var14 = $var14 + 1 | 0; while ($var14 > $par4) { $var8 = $var8 + 1 | 0; if ($var8 > $var12) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } c: { if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break c; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } return 1; } $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; } $var15 = $var9_0; } if (nms_World_getBlockId($par1World, $var14, $var8, $var15) != nms_Block_leaves.$blockID) continue; var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) continue; $var15_0 = $var15 + 1 | 0; if (nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) continue; else break; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; case 29: nms_World_setBlock($par1World, $par3, $var15_0, $var16, $var11, $var13, $var9); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var15) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 4; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 31; continue main; } $var9 = 3; $ptr = 32; continue main; } while (true) { $var14 = $var14 + 1 | 0; if ($var14 >= $var6) { n: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); o: { m: while (true) { if ($var8 > $var12) break o; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break m; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break n; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 != nms_Block_leaves.$blockID) continue; else break; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; case 30: nms_World_setBlock($par1World, $par3, $var15_0, $var16, $var11, $var13, $var9); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 3 | 0; if ((($var9 - $var11 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if ($var11 > 0 && (nms_World_getBlockId($par1World, $par3, $var15_0, $var15) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var13 = 4; if (!$this.$doBlockNotify) { $var9 = 2; $ptr = 31; continue main; } $var9 = 3; $ptr = 32; continue main; } while (true) { $var14 = $var14 + 1 | 0; if ($var14 >= $var6) { n: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); o: { m: while (true) { if ($var8 > $var12) break o; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break m; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break n; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 != nms_Block_leaves.$blockID) continue; else break; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; case 31: nms_World_setBlock($par1World, $par3, $var15_0, $var15, $var11, $var13, $var9); if ($rt_suspending()) { break main; } while (true) { $var14 = $var14 + 1 | 0; if ($var14 >= $var6) { p: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); q: { n: while (true) { if ($var8 > $var12) break q; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break n; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break p; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 != nms_Block_leaves.$blockID) continue; else break; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; case 32: nms_World_setBlock($par1World, $par3, $var15_0, $var15, $var11, $var13, $var9); if ($rt_suspending()) { break main; } while (true) { $var14 = $var14 + 1 | 0; if ($var14 >= $var6) { p: { if ($this.$vinesGrow) { var$6 = Long_fromInt(4); q: { n: while (true) { if ($var8 > $var12) break q; $var13 = 2 - (($var8 - $var12 | 0) / 2 | 0) | 0; $var14 = $par3 - $var13 | 0; $par4 = $par3 + $var13 | 0; $var9_0 = $par5 - $var13 | 0; $var16 = $par5 + $var13 | 0; while ($var14 <= $par4) { $var15 = $var9_0; while ($var15 <= $var16) { if (nms_World_getBlockId($par1World, $var14, $var8, $var15) == nms_Block_leaves.$blockID) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var17 = $var14 - 1 | 0; if (!nms_World_getBlockId($par1World, $var17, $var8, $var15)) { $var9 = 8; $var11 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var12_0 = 2; $ptr = 7; continue main; } $var12_0 = 3; $ptr = 8; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var14 + 1 | 0; if (!nms_World_getBlockId($par1World, $var15_0, $var8, $var15)) { $var17 = 2; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 - 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) { $var17 = 1; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31))) { $var15_0 = $var15 + 1 | 0; if (!nms_World_getBlockId($par1World, $var14, $var8, $var15_0)) break n; } } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } $var8 = $var8 + 1 | 0; } $var17 = 4; $var9 = nms_Block_vine.$blockID; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var11 = $var9 % 5 | 0; if ((($var9 - $var11 | 0) + 4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var9 = Long_lo(Long_shru(var$6, var$7)); } if (!$var11 && $var6 > 5) { $par4 = 0; $var9 = $var12 - 5 | 0; while (true) { if ($par4 >= 2) break p; $var12 = 0; while ($var12 < 4) { $var8 = 4 - $par4 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); $var11 = $var8 - 1 | 0; if (!($var8 & $var11)) $var12_0 = Long_lo(Long_shr(Long_mul(Long_fromInt($var8), Long_fromInt($var13)), 31)); else while (true) { $var12_0 = $var13 % $var8 | 0; if ((($var13 - $var12_0 | 0) + $var11 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var13 = Long_lo(Long_shru(var$6, var$7)); } if (!$var12_0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var13_0 = $var11 % 3 | 0; if ((($var11 - $var13_0 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } var$27 = nms_Direction_offsetX.data; var$28 = nms_Direction_rotateOpposite.data; $var8 = $par3 + var$27[var$28[$var12]] | 0; $var11 = $var9 + $par4 | 0; $var12_0 = $par5 + nms_Direction_offsetZ.data[var$28[$var12]] | 0; $var13 = nms_Block_cocoaPlant.$blockID; $var14 = $var13_0 << 2 | $var12; if (!$this.$doBlockNotify) { $var15_0 = 2; $ptr = 25; continue main; } $var15_0 = 3; $ptr = 26; continue main; } $var12 = $var12 + 1 | 0; } $par4 = $par4 + 1 | 0; } } } } return 1; } $var15_0 = $par4 + $var14 | 0; $var12_1 = nms_World_getBlockId($par1World, $par3, $var15_0, $par5); if (!$var12_1) break; if ($var12_1 != nms_Block_leaves.$blockID) continue; else break; } $var9 = nms_Block_wood.$blockID; $var11 = $this.$metaWood; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2Random, $par3, $par4, $par5, var$6, var$7, $var9, var$9, $var11, $var6, $var7, $var12, $var12_0, $var8, $var9_0, $var10, $var12_1, $var14, $var16, $var15, $var13, var$23, $var17, $var15_0, $var13_0, var$27, var$28, $var18, $ptr); }; function nms_WorldGenBigTree() { let a = this; nms_WorldGenerator.call(a); a.$rand6 = null; a.$worldObj4 = null; a.$basePos = null; a.$heightLimit = 0; a.$height9 = 0; a.$heightAttenuation = 0.0; a.$branchDensity = 0.0; a.$branchSlope = 0.0; a.$scaleWidth = 0.0; a.$leafDensity = 0.0; a.$trunkSize = 0; a.$heightLimitLimit = 0; a.$leafDistanceLimit = 0; a.$leafNodes = null; } let nms_WorldGenBigTree_otherCoordPairs = null, nms_WorldGenBigTree__init_0 = ($this, $par1) => { let var$2, var$3; $this.$doBlockNotify = $par1; var$2 = new nle_EaglercraftRandom; var$3 = Long_fromNumber(performance.now() * 1000000.0); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = var$3; $this.$rand6 = var$2; $this.$basePos = $rt_createIntArrayFromData([0, 0, 0]); $this.$heightAttenuation = 0.618; $this.$branchDensity = 1.0; $this.$branchSlope = 0.381; $this.$scaleWidth = 1.0; $this.$leafDensity = 1.0; $this.$trunkSize = 1; $this.$heightLimitLimit = 12; $this.$leafDistanceLimit = 4; }, nms_WorldGenBigTree__init_ = var_0 => { let var_1 = new nms_WorldGenBigTree(); nms_WorldGenBigTree__init_0(var_1, var_0); return var_1; }, nms_WorldGenBigTree_generateLeafNodeList = $this => { let $var1, $var22, $var6, $var2, var$5, $var17, $var3, $var4, $var5, var$10, var$11, $var7, $var8, var$14, $var13, var$16, var$17, $var11, var$19, $var15, $var16, var$22, $var18, $var19, var$25, var$26; $var1 = $this.$heightLimit; $var22 = $var1; $var6 = $var22 * $this.$heightAttenuation | 0; $this.$height9 = $var6; if ($var6 >= $var1) $this.$height9 = $var1 - 1 | 0; $var1 = 1.382 + jl_Math_powImpl($this.$leafDensity * $var22 / 13.0, 2.0) | 0; if ($var1 < 1) $var1 = 1; $var6 = $this.$heightLimit; $var2 = $rt_createIntMultiArray([4, $rt_imul($var1, $var6)]); var$5 = $var2.data; $var17 = $this.$basePos.data; $var3 = ($var17[1] + $var6 | 0) - $this.$leafDistanceLimit | 0; $var4 = 1; $var5 = $var17[1] + $this.$height9 | 0; $var6 = $var3 - $var17[1] | 0; var$5[0].data[0] = $var17[0]; var$5[0].data[1] = $var3; var$5[0].data[2] = $var17[2]; var$5[0].data[3] = $var5; var$10 = $var3 + (-1) | 0; var$11 = $var5; while ($var6 >= 0) { $var7 = 0; $var8 = nms_WorldGenBigTree_layerSize($this, $var6); if ($var8 < 0.0) { var$10 = var$10 + (-1) | 0; $var6 = $var6 + (-1) | 0; } else { var$14 = $var8; while ($var7 < $var1) { $var13 = $this.$scaleWidth * var$14; var$16 = $this.$rand6; var$17 = Long_and(Long_add(Long_mul(var$16.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$16.$seed = var$17; $var11 = $var13 * (Long_lo(Long_shru(var$17, 24)) / 1.6777216E7 + 0.328); var$19 = Long_and(Long_add(Long_mul(var$17, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$16.$seed = var$19; $var13 = Long_lo(Long_shru(var$19, 24)) / 1.6777216E7 * 2.0 * 3.141592653589793; $var22 = $var11 * jl_Math_sin($var13) + $this.$basePos.data[0] + 0.5; $var15 = $var22 | 0; if ($var22 < $var15) $var15 = $var15 - 1 | 0; $var22 = $var11 * jl_Math_cos($var13) + $this.$basePos.data[2] + 0.5; $var16 = $var22 | 0; if ($var22 < $var16) $var16 = $var16 - 1 | 0; $var17 = $rt_createIntArray(3); var$22 = $var17.data; var$22[0] = $var15; var$22[1] = var$10; var$22[2] = $var16; $var18 = $rt_createIntArrayFromData([$var15, var$10 + $this.$leafDistanceLimit | 0, $var16]); if (nms_WorldGenBigTree_checkBlockLine($this, $var17, $var18) == (-1)) { $var19 = $rt_createIntArray(3); var$25 = $var19.data; $var18 = $this.$basePos.data; var$25[0] = $var18[0]; var$25[1] = $var18[1]; var$25[2] = $var18[2]; var$26 = $var18[0] - var$22[0] | 0; if (var$26 < 0) var$26 = -var$26 | 0; $var11 = jl_Math_powImpl(var$26, 2.0); var$26 = $this.$basePos.data[2] - var$22[2] | 0; if (var$26 < 0) var$26 = -var$26 | 0; $var22 = jl_Math_sqrt($var11 + jl_Math_powImpl(var$26, 2.0)) * $this.$branchSlope; if (var$22[1] - $var22 > var$11) var$25[1] = $var5; else var$25[1] = var$22[1] - $var22 | 0; if (nms_WorldGenBigTree_checkBlockLine($this, $var19, $var17) == (-1)) { var$5[$var4].data[0] = $var15; var$5[$var4].data[1] = var$10; var$5[$var4].data[2] = $var16; var$5[$var4].data[3] = var$25[1]; $var4 = $var4 + 1 | 0; } } $var7 = $var7 + 1 | 0; } var$10 = var$10 + (-1) | 0; $var6 = $var6 + (-1) | 0; } } var$5 = $rt_createIntMultiArray([4, $var4]); $this.$leafNodes = var$5; jl_System_fastArraycopy($var2, 0, var$5, 0, $var4); }, nms_WorldGenBigTree_genTreeLayer = ($this, $par1, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var11, $var8, $var9, $var10, $var12, var$13, $var15, $var14, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var14 = $thread.pop();$var15 = $thread.pop();var$13 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var11 = $thread.pop();$var7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = $par4 + 0.618 | 0; $var11 = nms_WorldGenBigTree_otherCoordPairs.data; $var8 = $var11[$par5]; $var9 = $var11[$par5 + 3 | 0]; $var10 = $rt_createIntArray(3).data; $var10[0] = $par1; $var10[1] = $par2; $var10[2] = $par3; $var11 = $rt_createIntArray(3).data; $var11[0] = 0; $var11[1] = 0; $var11[2] = 0; $var12 = -$var7 | 0; $var11[$par5] = $var10[$par5]; var$13 = $par4 * $par4; $par2 = $var12; a: { while ($par2 <= $var7) { $var11[$var8] = $var10[$var8] + $par2 | 0; $par3 = $var12; while ($par3 <= $var7) { $var15 = jl_Math_powImpl(($par2 < 0 ? -$par2 | 0 : $par2) + 0.5, 2.0); $par1 = $par3 < 0 ? -$par3 | 0 : $par3; if ($var15 + jl_Math_powImpl($par1 + 0.5, 2.0) > var$13) $par3 = $par3 + 1 | 0; else { $var11[$var9] = $var10[$var9] + $par3 | 0; $var14 = nms_World_getBlockId($this.$worldObj4, $var11[0], $var11[1], $var11[2]); if (!$var14) break a; nms_Block_$callClinit(); if ($var14 == nms_Block_leaves.$blockID) break a; $par3 = $par3 + 1 | 0; } } $par2 = $par2 + 1 | 0; } return; } var$16 = $this.$worldObj4; $par1 = $var11[0]; $par5 = $var11[1]; $var14 = $var11[2]; var$17 = 0; if (!$this.$doBlockNotify) { var$18 = 2; $ptr = 1; continue main; } var$18 = 3; $ptr = 2; continue main; case 1: nms_World_setBlock(var$16, $par1, $par5, $var14, $par6, var$17, var$18); if ($rt_suspending()) { break main; } $par3 = $par3 + 1 | 0; a: { b: while (true) { while ($par3 > $var7) { $par2 = $par2 + 1 | 0; if ($par2 > $var7) break b; $var11[$var8] = $var10[$var8] + $par2 | 0; $par3 = $var12; } $var15 = jl_Math_powImpl(($par2 < 0 ? -$par2 | 0 : $par2) + 0.5, 2.0); $par1 = $par3 < 0 ? -$par3 | 0 : $par3; if ($var15 + jl_Math_powImpl($par1 + 0.5, 2.0) > var$13) { $par3 = $par3 + 1 | 0; continue; } $var11[$var9] = $var10[$var9] + $par3 | 0; $var14 = nms_World_getBlockId($this.$worldObj4, $var11[0], $var11[1], $var11[2]); if (!$var14) break a; nms_Block_$callClinit(); if ($var14 == nms_Block_leaves.$blockID) break a; $par3 = $par3 + 1 | 0; } return; } var$16 = $this.$worldObj4; $par1 = $var11[0]; $par5 = $var11[1]; $var14 = $var11[2]; var$17 = 0; if (!$this.$doBlockNotify) { var$18 = 2; continue main; } var$18 = 3; $ptr = 2; case 2: nms_World_setBlock(var$16, $par1, $par5, $var14, $par6, var$17, var$18); if ($rt_suspending()) { break main; } $par3 = $par3 + 1 | 0; a: { b: while (true) { while ($par3 > $var7) { $par2 = $par2 + 1 | 0; if ($par2 > $var7) break b; $var11[$var8] = $var10[$var8] + $par2 | 0; $par3 = $var12; } $var15 = jl_Math_powImpl(($par2 < 0 ? -$par2 | 0 : $par2) + 0.5, 2.0); $par1 = $par3 < 0 ? -$par3 | 0 : $par3; if ($var15 + jl_Math_powImpl($par1 + 0.5, 2.0) > var$13) { $par3 = $par3 + 1 | 0; continue; } $var11[$var9] = $var10[$var9] + $par3 | 0; $var14 = nms_World_getBlockId($this.$worldObj4, $var11[0], $var11[1], $var11[2]); if (!$var14) break a; nms_Block_$callClinit(); if ($var14 == nms_Block_leaves.$blockID) break a; $par3 = $par3 + 1 | 0; } return; } var$16 = $this.$worldObj4; $par1 = $var11[0]; $par5 = $var11[1]; $var14 = $var11[2]; var$17 = 0; if (!$this.$doBlockNotify) { var$18 = 2; $ptr = 1; continue main; } var$18 = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5, $par6, $var7, $var11, $var8, $var9, $var10, $var12, var$13, $var15, $var14, var$16, var$17, var$18, $ptr); }, nms_WorldGenBigTree_layerSize = ($this, $par1) => { let var$2, $var3, $var4; var$2 = $par1; $var3 = $this.$heightLimit; if (var$2 < $var3 * 0.3) return (-1.6180000305175781); $var4 = $var3 / 2.0; $var3 = $var4 - $par1; if ($var3 !== 0.0) $var4 = jl_Math_absImpl0($var3) >= $var4 ? 0.0 : jl_Math_sqrt(jl_Math_powImpl(jl_Math_absImpl0($var4), 2.0) - jl_Math_powImpl(jl_Math_absImpl0($var3), 2.0)); return $var4 * 0.5; }, nms_WorldGenBigTree_placeBlockLine = ($this, $par1ArrayOfInteger, $par2ArrayOfInteger, $par3) => { let $var4, $var5, $var6, $var14, var$8, $var17, $var18, $var7, $var8, $var9, $var10, $var12, $var15, $var16, var$18, var$19, $var19, $var20, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();var$8 = $thread.pop();$var14 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2ArrayOfInteger = $thread.pop();$par1ArrayOfInteger = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = $rt_createIntArray(3).data; $var4[0] = 0; $var4[1] = 0; $var4[2] = 0; $var5 = 0; $var6 = 0; while ($var5 < 3) { $var14 = $par2ArrayOfInteger.data; var$8 = $par1ArrayOfInteger.data; $var4[$var5] = $var14[$var5] - var$8[$var5] | 0; $var17 = $var4[$var5]; if ($var17 < 0) $var17 = -$var17 | 0; $var18 = $var4[$var6]; if ($var18 < 0) $var18 = -$var18 | 0; if ($var17 > $var18) $var6 = $var5; $var5 = ($var5 + 1 | 0) << 24 >> 24; } if ($var4[$var6]) { $par2ArrayOfInteger = nms_WorldGenBigTree_otherCoordPairs.data; $var7 = $par2ArrayOfInteger[$var6]; $var8 = $par2ArrayOfInteger[$var6 + 3 | 0]; $var9 = $var4[$var6] <= 0 ? (-1) : 1; $var10 = $var4[$var7] / $var4[$var6]; $var12 = $var4[$var8] / $var4[$var6]; $par2ArrayOfInteger = $rt_createIntArray(3).data; $par2ArrayOfInteger[0] = 0; $par2ArrayOfInteger[1] = 0; $par2ArrayOfInteger[2] = 0; $var15 = 0; $var16 = $var4[$var6] + $var9 | 0; if ($var15 != $var16) { $var4 = $par1ArrayOfInteger.data; var$18 = ($var4[$var6] + $var15 | 0) + 0.5; $var17 = var$18 | 0; if (var$18 < $var17) $var17 = $var17 - 1 | 0; $par2ArrayOfInteger[$var6] = $var17; var$19 = $var4[$var7]; var$18 = $var15; var$19 = var$19 + var$18 * $var10 + 0.5; $var17 = var$19 | 0; if (var$19 < $var17) $var17 = $var17 - 1 | 0; $par2ArrayOfInteger[$var7] = $var17; var$19 = $var4[$var8] + var$18 * $var12 + 0.5; $var17 = var$19 | 0; if (var$19 < $var17) $var17 = $var17 - 1 | 0; $par2ArrayOfInteger[$var8] = $var17; $var17 = 0; $var18 = $par2ArrayOfInteger[0] - $var4[0] | 0; if ($var18 < 0) $var18 = -$var18 | 0; $var19 = $par2ArrayOfInteger[2] - $var4[2] | 0; if ($var19 < 0) $var19 = -$var19 | 0; $var20 = $var18 <= $var19 ? $var19 : $var18; if ($var20 > 0) { if ($var18 == $var20) $var17 = 4; else if ($var19 == $var20) $var17 = 8; } var$22 = $this.$worldObj4; $var18 = $par2ArrayOfInteger[0]; $var19 = $par2ArrayOfInteger[1]; $var5 = $par2ArrayOfInteger[2]; if (!$this.$doBlockNotify) { $var20 = 2; $ptr = 1; continue main; } $var20 = 3; $ptr = 2; continue main; } } return; case 1: nms_World_setBlock(var$22, $var18, $var19, $var5, $par3, $var17, $var20); if ($rt_suspending()) { break main; } $var15 = $var15 + $var9 | 0; if ($var15 == $var16) return; $var4 = $par1ArrayOfInteger.data; var$18 = ($var4[$var6] + $var15 | 0) + 0.5; $var17 = var$18 | 0; if (var$18 < $var17) $var17 = $var17 - 1 | 0; $par2ArrayOfInteger[$var6] = $var17; var$19 = $var4[$var7]; var$18 = $var15; var$19 = var$19 + var$18 * $var10 + 0.5; $var17 = var$19 | 0; if (var$19 < $var17) $var17 = $var17 - 1 | 0; $par2ArrayOfInteger[$var7] = $var17; var$19 = $var4[$var8] + var$18 * $var12 + 0.5; $var17 = var$19 | 0; if (var$19 < $var17) $var17 = $var17 - 1 | 0; $par2ArrayOfInteger[$var8] = $var17; $var17 = 0; $var18 = $par2ArrayOfInteger[0] - $var4[0] | 0; if ($var18 < 0) $var18 = -$var18 | 0; $var19 = $par2ArrayOfInteger[2] - $var4[2] | 0; if ($var19 < 0) $var19 = -$var19 | 0; $var20 = $var18 <= $var19 ? $var19 : $var18; if ($var20 > 0) { if ($var18 == $var20) $var17 = 4; else if ($var19 == $var20) $var17 = 8; } var$22 = $this.$worldObj4; $var18 = $par2ArrayOfInteger[0]; $var19 = $par2ArrayOfInteger[1]; $var5 = $par2ArrayOfInteger[2]; if (!$this.$doBlockNotify) { $var20 = 2; continue main; } $var20 = 3; $ptr = 2; case 2: nms_World_setBlock(var$22, $var18, $var19, $var5, $par3, $var17, $var20); if ($rt_suspending()) { break main; } $var15 = $var15 + $var9 | 0; if ($var15 == $var16) return; $var4 = $par1ArrayOfInteger.data; var$18 = ($var4[$var6] + $var15 | 0) + 0.5; $var17 = var$18 | 0; if (var$18 < $var17) $var17 = $var17 - 1 | 0; $par2ArrayOfInteger[$var6] = $var17; var$19 = $var4[$var7]; var$18 = $var15; var$19 = var$19 + var$18 * $var10 + 0.5; $var17 = var$19 | 0; if (var$19 < $var17) $var17 = $var17 - 1 | 0; $par2ArrayOfInteger[$var7] = $var17; var$19 = $var4[$var8] + var$18 * $var12 + 0.5; $var17 = var$19 | 0; if (var$19 < $var17) $var17 = $var17 - 1 | 0; $par2ArrayOfInteger[$var8] = $var17; $var17 = 0; $var18 = $par2ArrayOfInteger[0] - $var4[0] | 0; if ($var18 < 0) $var18 = -$var18 | 0; $var19 = $par2ArrayOfInteger[2] - $var4[2] | 0; if ($var19 < 0) $var19 = -$var19 | 0; $var20 = $var18 <= $var19 ? $var19 : $var18; if ($var20 > 0) { if ($var18 == $var20) $var17 = 4; else if ($var19 == $var20) $var17 = 8; } var$22 = $this.$worldObj4; $var18 = $par2ArrayOfInteger[0]; $var19 = $par2ArrayOfInteger[1]; $var5 = $par2ArrayOfInteger[2]; if (!$this.$doBlockNotify) { $var20 = 2; $ptr = 1; continue main; } $var20 = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ArrayOfInteger, $par2ArrayOfInteger, $par3, $var4, $var5, $var6, $var14, var$8, $var17, $var18, $var7, $var8, $var9, $var10, $var12, $var15, $var16, var$18, var$19, $var19, $var20, var$22, $ptr); }, nms_WorldGenBigTree_generateLeaves = $this => { let $var1, $var2, var$3, $var3, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 0; $var2 = $this.$leafNodes.data.length; while ($var1 < $var2) { var$3 = $this.$leafNodes.data; $var3 = var$3[$var1].data[0]; $var4 = var$3[$var1].data[1]; $var5 = var$3[$var1].data[2]; var$7 = $var4 + $this.$leafDistanceLimit | 0; var$8 = $var4; if (var$8 < var$7) { a: { var$9 = var$8 - $var4 | 0; if (var$9 >= 0) { var$10 = $this.$leafDistanceLimit; if (var$9 < var$10) { if (var$9 && var$9 != (var$10 - 1 | 0)) { var$11 = 3.0; break a; } var$11 = 2.0; break a; } } var$11 = (-1.0); } var$9 = 1; nms_Block_$callClinit(); var$12 = nms_Block_leaves.$blockID; $ptr = 1; continue main; } $var1 = $var1 + 1 | 0; } return; case 1: nms_WorldGenBigTree_genTreeLayer($this, $var3, var$8, $var5, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$8 = var$8 + 1 | 0; while (true) { if (var$8 < var$7) { b: { var$9 = var$8 - $var4 | 0; if (var$9 >= 0) { var$10 = $this.$leafDistanceLimit; if (var$9 < var$10) { if (var$9 && var$9 != (var$10 - 1 | 0)) { var$11 = 3.0; break b; } var$11 = 2.0; break b; } } var$11 = (-1.0); } var$9 = 1; nms_Block_$callClinit(); var$12 = nms_Block_leaves.$blockID; continue main; } $var1 = $var1 + 1 | 0; if ($var1 >= $var2) break; var$3 = $this.$leafNodes.data; $var3 = var$3[$var1].data[0]; $var4 = var$3[$var1].data[1]; $var5 = var$3[$var1].data[2]; var$7 = $var4 + $this.$leafDistanceLimit | 0; var$8 = $var4; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, $var3, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_WorldGenBigTree_generateTrunk = $this => { let $var5, $var1, $var2, $var3, $var4, var$6, $var6, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$var5 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $this.$basePos.data; $var1 = $var5[0]; $var2 = $var5[1]; $var3 = $var5[1] + $this.$height9 | 0; $var4 = $var5[2]; $var5 = $rt_createIntArray(3); var$6 = $var5.data; var$6[0] = $var1; var$6[1] = $var2; var$6[2] = $var4; $var6 = $rt_createIntArray(3); var$8 = $var6.data; var$8[0] = $var1; var$8[1] = $var3; var$8[2] = $var4; nms_Block_$callClinit(); var$9 = nms_Block_wood.$blockID; $ptr = 1; case 1: nms_WorldGenBigTree_placeBlockLine($this, $var5, $var6, var$9); if ($rt_suspending()) { break main; } if ($this.$trunkSize != 2) return; var$6[0] = var$6[0] + 1 | 0; var$8[0] = var$8[0] + 1 | 0; var$9 = nms_Block_wood.$blockID; $ptr = 2; case 2: nms_WorldGenBigTree_placeBlockLine($this, $var5, $var6, var$9); if ($rt_suspending()) { break main; } var$6[2] = var$6[2] + 1 | 0; var$8[2] = var$8[2] + 1 | 0; var$9 = nms_Block_wood.$blockID; $ptr = 3; case 3: nms_WorldGenBigTree_placeBlockLine($this, $var5, $var6, var$9); if ($rt_suspending()) { break main; } var$6[0] = var$6[0] + (-1) | 0; var$8[0] = var$8[0] + (-1) | 0; var$9 = nms_Block_wood.$blockID; $ptr = 4; case 4: nms_WorldGenBigTree_placeBlockLine($this, $var5, $var6, var$9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var5, $var1, $var2, $var3, $var4, var$6, $var6, var$8, var$9, $ptr); }, nms_WorldGenBigTree_generateLeafNodeBases = $this => { let $var1, $var2, $var3, var$4, $var5, $var4, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 0; $var2 = $this.$leafNodes.data.length; $var3 = $rt_createIntArray(3); var$4 = $var3.data; $var5 = $this.$basePos.data; var$4[0] = $var5[0]; var$4[1] = $var5[1]; var$4[2] = $var5[2]; while ($var1 < $var2) { $var4 = $this.$leafNodes.data[$var1].data; $var5 = $rt_createIntArrayFromData([$var4[0], $var4[1], $var4[2]]); var$4[1] = $var4[3]; if ((var$4[1] - $this.$basePos.data[1] | 0) < $this.$heightLimit * 0.2 ? 0 : 1) { nms_Block_$callClinit(); $var6 = nms_Block_wood.$blockID << 24 >> 24; $ptr = 1; continue main; } $var1 = $var1 + 1 | 0; } return; case 1: nms_WorldGenBigTree_placeBlockLine($this, $var3, $var5, $var6); if ($rt_suspending()) { break main; } while (true) { $var1 = $var1 + 1 | 0; if ($var1 >= $var2) break; $var4 = $this.$leafNodes.data[$var1].data; $var5 = $rt_createIntArrayFromData([$var4[0], $var4[1], $var4[2]]); var$4[1] = $var4[3]; if (!((var$4[1] - $this.$basePos.data[1] | 0) < $this.$heightLimit * 0.2 ? 0 : 1)) continue; else { nms_Block_$callClinit(); $var6 = nms_Block_wood.$blockID << 24 >> 24; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var3, var$4, $var5, $var4, $var6, $ptr); }, nms_WorldGenBigTree_checkBlockLine = ($this, $par1ArrayOfInteger, $par2ArrayOfInteger) => { let var$3, $var4, $var5, $var3, $var13, $var6, $var7, $var8, $var9, $var11, $var14, $var15, var$15, var$16, var$17, var$18, $var16; var$3 = $rt_createIntArray(3).data; var$3[0] = 0; var$3[1] = 0; var$3[2] = 0; $var4 = 0; $var5 = 0; while ($var4 < 3) { $var3 = $par2ArrayOfInteger.data; $var13 = $par1ArrayOfInteger.data; var$3[$var4] = $var3[$var4] - $var13[$var4] | 0; $var6 = var$3[$var4]; if ($var6 < 0) $var6 = -$var6 | 0; $var7 = var$3[$var5]; if ($var7 < 0) $var7 = -$var7 | 0; if ($var6 > $var7) $var5 = $var4; $var4 = ($var4 + 1 | 0) << 24 >> 24; } if (!var$3[$var5]) return (-1); $par2ArrayOfInteger = nms_WorldGenBigTree_otherCoordPairs.data; $var6 = $par2ArrayOfInteger[$var5]; $var7 = $par2ArrayOfInteger[$var5 + 3 | 0]; $var8 = var$3[$var5] <= 0 ? (-1) : 1; $var9 = var$3[$var6] / var$3[$var5]; $var11 = var$3[$var7] / var$3[$var5]; $par2ArrayOfInteger = $rt_createIntArray(3).data; $par2ArrayOfInteger[0] = 0; $par2ArrayOfInteger[1] = 0; $par2ArrayOfInteger[2] = 0; $var14 = 0; $var15 = var$3[$var5] + $var8 | 0; a: { while (true) { var$15 = $rt_compare($var14, $var15); if (!var$15) break a; $var3 = $par1ArrayOfInteger.data; $par2ArrayOfInteger[$var5] = $var3[$var5] + $var14 | 0; var$16 = $var3[$var6]; var$17 = $var14; var$18 = var$16 + var$17 * $var9; $var16 = var$18 | 0; if (var$18 < $var16) $var16 = $var16 - 1 | 0; $par2ArrayOfInteger[$var6] = $var16; var$17 = $var3[$var7] + var$17 * $var11; $var16 = var$17 | 0; if (var$17 < $var16) $var16 = $var16 - 1 | 0; $par2ArrayOfInteger[$var7] = $var16; $var16 = nms_World_getBlockId($this.$worldObj4, $par2ArrayOfInteger[0], $par2ArrayOfInteger[1], $par2ArrayOfInteger[2]); if ($var16) { nms_Block_$callClinit(); if ($var16 != nms_Block_leaves.$blockID) break; } $var14 = $var14 + $var8 | 0; } } if (!var$15) $var14 = (-1); else if ($var14 < 0) $var14 = -$var14 | 0; return $var14; }, nms_WorldGenBigTree_validTreeLocation = $this => { let $var1, $var2, var$3, $var3, $var4; $var1 = $rt_createIntArray(3); $var2 = $var1.data; var$3 = $this.$basePos.data; $var2[0] = var$3[0]; $var2[1] = var$3[1]; $var2[2] = var$3[2]; $var2 = $rt_createIntArrayFromData([var$3[0], (var$3[1] + $this.$heightLimit | 0) - 1 | 0, var$3[2]]); $var3 = nms_World_getBlockId($this.$worldObj4, var$3[0], var$3[1] - 1 | 0, var$3[2]); if ($var3 != 2 && $var3 != 3) return 0; $var4 = nms_WorldGenBigTree_checkBlockLine($this, $var1, $var2); if ($var4 == (-1)) return 1; if ($var4 < 6) return 0; $this.$heightLimit = $var4; return 1; }, nms_WorldGenBigTree_generate = ($this, $par1World, $par2Random, $par3, $par4, $par5) => { let $var6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2Random = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$worldObj4 = $par1World; $var6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = $var6; var$7 = Long_shl(Long_fromInt(Long_lo(Long_shru($var6, 16))), 32); $var6 = Long_and(Long_add(Long_mul($var6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = $var6; $var6 = Long_add(var$7, Long_fromInt(Long_lo(Long_shru($var6, 16)))); $par1World = $this.$rand6; $par1World.$seed = $var6; var$8 = $this.$basePos.data; var$8[0] = $par3; var$8[1] = $par4; var$8[2] = $par5; if (!$this.$heightLimit) { $par4 = $this.$heightLimitLimit; $var6 = Long_and(Long_add(Long_mul($var6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = $var6; var$9 = Long_lo(Long_shru($var6, 17)); $par5 = $par4 - 1 | 0; if (!($par4 & $par5)) var$10 = Long_lo(Long_shr(Long_mul(Long_fromInt($par4), Long_fromInt(var$9)), 31)); else while (true) { var$10 = var$9 % $par4 | 0; if (((var$9 - var$10 | 0) + $par5 | 0) >= 0) break; $var6 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = $var6; var$9 = Long_lo(Long_shru($var6, 17)); } $this.$heightLimit = 5 + var$10 | 0; } if (!nms_WorldGenBigTree_validTreeLocation($this)) return 0; nms_WorldGenBigTree_generateLeafNodeList($this); $ptr = 1; case 1: nms_WorldGenBigTree_generateLeaves($this); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_WorldGenBigTree_generateTrunk($this); if ($rt_suspending()) { break main; } $ptr = 3; case 3: nms_WorldGenBigTree_generateLeafNodeBases($this); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2Random, $par3, $par4, $par5, $var6, var$7, var$8, var$9, var$10, $ptr); }, nms_WorldGenBigTree__clinit_ = () => { nms_WorldGenBigTree_otherCoordPairs = $rt_createByteArrayFromData([2, 0, 0, 1, 2, 1]); }, nms_WorldGenForest = $rt_classWithoutFields(nms_WorldGenerator), nms_WorldGenForest_generate = ($this, $par1World, $par2Random, $par3, $par4, $par5) => { let var$6, var$7, $var11, $var12, $var6, $var7, var$12, $var17, $var8, $var9, $var10, $var12_0, $var13, $var10_0, $var14, $var15, var$22, $var16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var16 = $thread.pop();var$22 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var10_0 = $thread.pop();$var13 = $thread.pop();$var12_0 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var17 = $thread.pop();var$12 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2Random = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; var$7 = 17; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var12 = $var11 % 3 | 0; if ((($var11 - $var12 | 0) + 2 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } $var6 = $var12 + 5 | 0; $var7 = 1; if ($par4 >= 1) { var$12 = $par4 + $var6 | 0; if ((var$12 + 1 | 0) <= 256) { $var17 = ($par4 + 1 | 0) + $var6 | 0; $var12 = $var17 - 2 | 0; $var8 = $par4; while ($var8 <= $var17) { $var9 = 1; if ($var8 == $par4) $var9 = 0; if ($var8 >= $var12) $var9 = 2; $var10 = $par3 - $var9 | 0; while ($var10 <= ($par3 + $var9 | 0) && $var7) { $var11 = $par5 - $var9 | 0; while ($var11 <= ($par5 + $var9 | 0) && $var7) { if ($var8 >= 0 && $var8 < 256) { $var12_0 = nms_World_getBlockId($par1World, $var10, $var8, $var11); if ($var12_0) { nms_Block_$callClinit(); if ($var12_0 != nms_Block_leaves.$blockID) $var7 = 0; } } else $var7 = 0; $var11 = $var11 + 1 | 0; } $var10 = $var10 + 1 | 0; } $var8 = $var8 + 1 | 0; } if (!$var7) return 0; $var8 = $par4 - 1 | 0; $var17 = nms_World_getBlockId($par1World, $par3, $var8, $par5); nms_Block_$callClinit(); if (!($var17 != nms_Block_grass.$blockID && $var17 != nms_Block_dirt.$blockID) && $par4 < ((256 - $var6 | 0) - 1 | 0)) { $var17 = nms_Block_dirt.$blockID; $var11 = 0; if (!$this.$doBlockNotify) { $var12 = 2; $ptr = 1; continue main; } $var12 = 3; $ptr = 2; continue main; } return 0; } } return 0; case 1: nms_World_setBlock($par1World, $par3, $var8, $par5, $var17, $var11, $var12); if ($rt_suspending()) { break main; } $var17 = ($par4 - 3 | 0) + $var6 | 0; var$6 = Long_fromInt(2); a: while (true) { if ($var17 > var$12) { $var17 = 0; b: { while ($var17 < $var6) { $var11 = $par4 + $var17 | 0; $var10 = nms_World_getBlockId($par1World, $par3, $var11, $par5); if (!$var10) break b; if ($var10 == nms_Block_leaves.$blockID) break b; $var17 = $var17 + 1 | 0; } return 1; } $var12 = nms_Block_wood.$blockID; $var8 = 2; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; } $var10_0 = $var17 - var$12 | 0; $var11 = 1 - ($var10_0 / 2 | 0) | 0; $var12 = $par3 - $var11 | 0; $var8 = $par3 + $var11 | 0; $var9 = $par5 - $var11 | 0; $var7 = $par5 + $var11 | 0; while ($var12 <= $var8) { $var13 = $var12 - $par3 | 0; $var12_0 = -$var13 | 0; $var14 = $var9; while ($var14 <= $var7) { $var15 = $var14 - $par5 | 0; $var10 = $var13 < 0 ? $var12_0 : $var13; c: { if ($var10 == $var11) { if ($var15 < 0) $var15 = -$var15 | 0; if ($var15 == $var11) { var$22 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$22; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$22, var$7)))), 31))) break c; if (!$var10_0) break c; } } $var16 = nms_World_getBlockId($par1World, $var12, $var17, $var14); if (!$var16) break a; if ($var16 == nms_Block_leaves.$blockID) break a; } $var14 = $var14 + 1 | 0; } $var12 = $var12 + 1 | 0; } $var17 = $var17 + 1 | 0; } $var10 = nms_Block_leaves.$blockID; $var15 = 2; if (!$this.$doBlockNotify) { $var16 = 2; $ptr = 5; continue main; } $var16 = 3; $ptr = 6; continue main; case 2: nms_World_setBlock($par1World, $par3, $var8, $par5, $var17, $var11, $var12); if ($rt_suspending()) { break main; } $var17 = ($par4 - 3 | 0) + $var6 | 0; var$6 = Long_fromInt(2); a: while (true) { if ($var17 > var$12) { $var17 = 0; b: { while ($var17 < $var6) { $var11 = $par4 + $var17 | 0; $var10 = nms_World_getBlockId($par1World, $par3, $var11, $par5); if (!$var10) break b; if ($var10 == nms_Block_leaves.$blockID) break b; $var17 = $var17 + 1 | 0; } return 1; } $var12 = nms_Block_wood.$blockID; $var8 = 2; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; } $var10_0 = $var17 - var$12 | 0; $var11 = 1 - ($var10_0 / 2 | 0) | 0; $var12 = $par3 - $var11 | 0; $var8 = $par3 + $var11 | 0; $var9 = $par5 - $var11 | 0; $var7 = $par5 + $var11 | 0; while ($var12 <= $var8) { $var13 = $var12 - $par3 | 0; $var12_0 = -$var13 | 0; $var14 = $var9; while ($var14 <= $var7) { $var15 = $var14 - $par5 | 0; $var10 = $var13 < 0 ? $var12_0 : $var13; c: { if ($var10 == $var11) { if ($var15 < 0) $var15 = -$var15 | 0; if ($var15 == $var11) { var$22 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$22; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$22, var$7)))), 31))) break c; if (!$var10_0) break c; } } $var16 = nms_World_getBlockId($par1World, $var12, $var17, $var14); if (!$var16) break a; if ($var16 == nms_Block_leaves.$blockID) break a; } $var14 = $var14 + 1 | 0; } $var12 = $var12 + 1 | 0; } $var17 = $var17 + 1 | 0; } $var10 = nms_Block_leaves.$blockID; $var15 = 2; if (!$this.$doBlockNotify) { $var16 = 2; $ptr = 5; continue main; } $var16 = 3; $ptr = 6; continue main; case 3: nms_World_setBlock($par1World, $par3, $var11, $par5, $var12, $var8, $var13); if ($rt_suspending()) { break main; } d: { while (true) { $var17 = $var17 + 1 | 0; if ($var17 >= $var6) break; $var11 = $par4 + $var17 | 0; $var10 = nms_World_getBlockId($par1World, $par3, $var11, $par5); if (!$var10) break d; if ($var10 != nms_Block_leaves.$blockID) continue; else break d; } return 1; } $var12 = nms_Block_wood.$blockID; $var8 = 2; if (!$this.$doBlockNotify) { $var13 = 2; continue main; } $var13 = 3; $ptr = 4; case 4: nms_World_setBlock($par1World, $par3, $var11, $par5, $var12, $var8, $var13); if ($rt_suspending()) { break main; } d: { while (true) { $var17 = $var17 + 1 | 0; if ($var17 >= $var6) break; $var11 = $par4 + $var17 | 0; $var10 = nms_World_getBlockId($par1World, $par3, $var11, $par5); if (!$var10) break d; if ($var10 != nms_Block_leaves.$blockID) continue; else break d; } return 1; } $var12 = nms_Block_wood.$blockID; $var8 = 2; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; continue main; case 5: nms_World_setBlock($par1World, $var12, $var17, $var14, $var10, $var15, $var16); if ($rt_suspending()) { break main; } while (true) { $var14 = $var14 + 1 | 0; while ($var14 > $var7) { $var12 = $var12 + 1 | 0; while ($var12 > $var8) { $var17 = $var17 + 1 | 0; if ($var17 > var$12) { $var17 = 0; e: { while ($var17 < $var6) { $var11 = $par4 + $var17 | 0; $var10 = nms_World_getBlockId($par1World, $par3, $var11, $par5); if (!$var10) break e; if ($var10 == nms_Block_leaves.$blockID) break e; $var17 = $var17 + 1 | 0; } return 1; } $var12 = nms_Block_wood.$blockID; $var8 = 2; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; } $var10_0 = $var17 - var$12 | 0; $var11 = 1 - ($var10_0 / 2 | 0) | 0; $var12 = $par3 - $var11 | 0; $var8 = $par3 + $var11 | 0; $var9 = $par5 - $var11 | 0; $var7 = $par5 + $var11 | 0; } $var13 = $var12 - $par3 | 0; $var12_0 = -$var13 | 0; $var14 = $var9; } $var15 = $var14 - $par5 | 0; if (($var13 < 0 ? $var12_0 : $var13) == $var11) { if ($var15 < 0) $var15 = -$var15 | 0; if ($var15 == $var11) { var$22 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$22; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$22, var$7)))), 31))) continue; if (!$var10_0) continue; } } $var16 = nms_World_getBlockId($par1World, $var12, $var17, $var14); if (!$var16) break; if ($var16 != nms_Block_leaves.$blockID) continue; else break; } $var10 = nms_Block_leaves.$blockID; $var15 = 2; if (!$this.$doBlockNotify) { $var16 = 2; continue main; } $var16 = 3; $ptr = 6; case 6: nms_World_setBlock($par1World, $var12, $var17, $var14, $var10, $var15, $var16); if ($rt_suspending()) { break main; } while (true) { $var14 = $var14 + 1 | 0; while ($var14 > $var7) { $var12 = $var12 + 1 | 0; while ($var12 > $var8) { $var17 = $var17 + 1 | 0; if ($var17 > var$12) { $var17 = 0; e: { while ($var17 < $var6) { $var11 = $par4 + $var17 | 0; $var10 = nms_World_getBlockId($par1World, $par3, $var11, $par5); if (!$var10) break e; if ($var10 == nms_Block_leaves.$blockID) break e; $var17 = $var17 + 1 | 0; } return 1; } $var12 = nms_Block_wood.$blockID; $var8 = 2; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; } $var10_0 = $var17 - var$12 | 0; $var11 = 1 - ($var10_0 / 2 | 0) | 0; $var12 = $par3 - $var11 | 0; $var8 = $par3 + $var11 | 0; $var9 = $par5 - $var11 | 0; $var7 = $par5 + $var11 | 0; } $var13 = $var12 - $par3 | 0; $var12_0 = -$var13 | 0; $var14 = $var9; } $var15 = $var14 - $par5 | 0; if (($var13 < 0 ? $var12_0 : $var13) == $var11) { if ($var15 < 0) $var15 = -$var15 | 0; if ($var15 == $var11) { var$22 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$22; if (!Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$22, var$7)))), 31))) continue; if (!$var10_0) continue; } } $var16 = nms_World_getBlockId($par1World, $var12, $var17, $var14); if (!$var16) break; if ($var16 != nms_Block_leaves.$blockID) continue; else break; } $var10 = nms_Block_leaves.$blockID; $var15 = 2; if (!$this.$doBlockNotify) { $var16 = 2; $ptr = 5; continue main; } $var16 = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2Random, $par3, $par4, $par5, var$6, var$7, $var11, $var12, $var6, $var7, var$12, $var17, $var8, $var9, $var10, $var12_0, $var13, $var10_0, $var14, $var15, var$22, $var16, $ptr); }, nms_WorldGenSwamp = $rt_classWithoutFields(nms_WorldGenerator), nms_WorldGenSwamp__init_ = $this => { $this.$doBlockNotify = 0; }, nms_WorldGenSwamp__init_0 = () => { let var_0 = new nms_WorldGenSwamp(); nms_WorldGenSwamp__init_(var_0); return var_0; }; function nms_WorldGenSpikes() { nms_WorldGenerator.call(this); this.$replaceID = 0; } let otji_EventHandler = $rt_classWithoutFields(0); function nleav_VirtualFilesystem$AsyncHandlers$1() { jl_Object.call(this); this.$val$cb10 = null; } let nleav_VirtualFilesystem$AsyncHandlers$1_handleEvent$exported$0 = var$0 => { let var$1, var$2, var$3, var$4; var$1 = var$0.$val$cb10; var$2 = new nleav_VirtualFilesystem$DatabaseOpen; var$3 = null; var$4 = null; var$2.$failedInit = 0; var$2.$failedLocked = 1; var$2.$failedError = var$3; var$2.$database = var$4; var$1.$realAsyncCallback.$complete(var$2); }; function nleav_VirtualFilesystem$AsyncHandlers$2() { let a = this; jl_Object.call(a); a.$val$cb6 = null; a.$val$f0 = null; } let nleav_VirtualFilesystem$AsyncHandlers$2_handleEvent$exported$0 = var$0 => { let var$1, var$2, var$3, var$4; var$1 = var$0.$val$cb6; var$2 = new nleav_VirtualFilesystem$DatabaseOpen; var$3 = null; var$4 = var$0.$val$f0.result; var$2.$failedInit = 0; var$2.$failedLocked = 0; var$2.$failedError = var$3; var$2.$database = var$4; var$1.$realAsyncCallback.$complete(var$2); }; function nleav_VirtualFilesystem$AsyncHandlers$3() { jl_Object.call(this); this.$val$cb11 = null; } let nleav_VirtualFilesystem$AsyncHandlers$3_handleEvent$exported$0 = var$0 => { let var$1, var$2, var$3; var$1 = var$0.$val$cb11; var$2 = new nleav_VirtualFilesystem$DatabaseOpen; var$3 = null; var$2.$failedInit = 0; var$2.$failedLocked = 0; var$2.$failedError = $rt_s(3320); var$2.$database = var$3; var$1.$realAsyncCallback.$complete(var$2); }; function nleav_VirtualFilesystem$AsyncHandlers$4() { jl_Object.call(this); this.$val$f = null; } let nleav_VirtualFilesystem$AsyncHandlers$4_handleEvent$exported$0 = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = var$0.$val$f.result; var$3 = otji_IDBObjectStoreParameters_create$js_body$_1(); var$4 = $rt_createArray(jl_String, 1).data; var$4[0] = $rt_s(3321); var$5 = var$4.length; var$6 = new Array(var$5); var$7 = 0; while (var$7 < var$5) { var$8 = $rt_ustr(var$4[var$7]); var$6[var$7] = var$8; var$7 = var$7 + 1 | 0; } var$3.keyPath = var$6; var$2.createObjectStore("filesystem", var$3); }; function ju_IdentityHashMap() { let a = this; ju_AbstractMap.call(a); a.$elementCount0 = 0; a.$elementData1 = null; a.$modCount3 = 0; a.$loadFactor1 = 0.0; a.$threshold0 = 0; } let ju_IdentityHashMap__init_ = $this => { let var$1, var$2, var$3; var$1 = ju_IdentityHashMap_calculateCapacity(16); $this.$elementCount0 = 0; var$2 = $rt_createArray(ju_IdentityHashMap$HashEntry, var$1); var$3 = var$2.data; $this.$elementData1 = var$2; $this.$loadFactor1 = 0.75; $this.$threshold0 = var$3.length * 0.75 | 0; }, ju_IdentityHashMap__init_0 = () => { let var_0 = new ju_IdentityHashMap(); ju_IdentityHashMap__init_(var_0); return var_0; }, ju_IdentityHashMap_calculateCapacity = $x => { let var$2; if ($x >= 1073741824) return 1073741824; if (!$x) return 16; var$2 = $x - 1 | 0; $x = var$2 | var$2 >> 1; $x = $x | $x >> 2; $x = $x | $x >> 4; $x = $x | $x >> 8; return ($x | $x >> 16) + 1 | 0; }, ju_IdentityHashMap_putImpl = ($this, $key, $value) => { let var$3, $entry, $result, var$6, var$7, var$8, $index; if ($key === null) { var$3 = $this.$elementData1.data; $entry = var$3[0]; while ($entry !== null && $entry.$key !== null) { $entry = $entry.$next6; } if ($entry === null) { $this.$modCount3 = $this.$modCount3 + 1 | 0; $result = null; $entry = new ju_IdentityHashMap$HashEntry; $key = null; $entry.$key = $result; $entry.$value1 = $key; $entry.$origKeyHash0 = 0; $entry.$next6 = var$3[0]; var$3[0] = $entry; var$6 = $this.$elementCount0 + 1 | 0; $this.$elementCount0 = var$6; if (var$6 > $this.$threshold0) ju_IdentityHashMap_rehash($this, var$3.length); } } else { $result = $key; if (!$result.$id$) $result.$id$ = $rt_nextId(); var$7 = $key.$id$; var$3 = $this.$elementData1.data; var$8 = var$3.length; $index = var$7 & (var$8 - 1 | 0); $entry = var$3[$index]; while ($entry !== null && !($entry.$origKeyHash0 == var$7 && ($key !== $entry.$key ? 0 : 1))) { $entry = $entry.$next6; } if ($entry === null) { $this.$modCount3 = $this.$modCount3 + 1 | 0; $entry = new ju_IdentityHashMap$HashEntry; $result = null; $entry.$key = $key; $entry.$value1 = $result; $entry.$origKeyHash0 = var$7; $entry.$next6 = var$3[$index]; var$3[$index] = $entry; var$6 = $this.$elementCount0 + 1 | 0; $this.$elementCount0 = var$6; if (var$6 > $this.$threshold0) ju_IdentityHashMap_rehash($this, var$8); } } $result = $entry.$value1; $entry.$value1 = $value; return $result; }, ju_IdentityHashMap_rehash = ($this, $capacity) => { let $length, $newData, var$4, $i, var$6, $entry, $index, $next; $length = ju_IdentityHashMap_calculateCapacity(!$capacity ? 1 : $capacity << 1); $newData = $rt_createArray(ju_IdentityHashMap$HashEntry, $length); var$4 = $newData.data; $i = 0; $length = $length - 1 | 0; while (true) { var$6 = $this.$elementData1.data; if ($i >= var$6.length) break; $entry = var$6[$i]; var$6[$i] = null; while ($entry !== null) { $index = $entry.$origKeyHash0 & $length; $next = $entry.$next6; $entry.$next6 = var$4[$index]; var$4[$index] = $entry; $entry = $next; } $i = $i + 1 | 0; } $this.$elementData1 = $newData; $this.$threshold0 = var$4.length * $this.$loadFactor1 | 0; }, ju_IdentityHashMap_removeEntry = ($this, $key) => { let $index, $last, $entry, $entry_0, var$6, var$7; a: { $index = 0; $last = null; if ($key === null) { $entry = $this.$elementData1.data[0]; while ($entry !== null) { if ($entry.$key === null) break a; $entry_0 = $entry.$next6; $last = $entry; $entry = $entry_0; } } else { $entry = $key; if (!$entry.$id$) $entry.$id$ = $rt_nextId(); var$6 = $key.$id$; var$7 = $this.$elementData1.data; $index = var$6 & (var$7.length - 1 | 0); $entry = var$7[$index]; while ($entry !== null && !($entry.$origKeyHash0 == var$6 && ($key !== $entry.$key ? 0 : 1))) { $entry_0 = $entry.$next6; $last = $entry; $entry = $entry_0; } } } if ($entry === null) return null; if ($last !== null) $last.$next6 = $entry.$next6; else $this.$elementData1.data[$index] = $entry.$next6; $this.$modCount3 = $this.$modCount3 + 1 | 0; $this.$elementCount0 = $this.$elementCount0 - 1 | 0; return $entry; }, jlr_Modifier = $rt_classWithoutFields(), jlr_Modifier_modifierNames = null, jlr_Modifier_canonicalOrder = null, jlr_Modifier__init_ = $this => { return; }, jlr_Modifier__init_0 = () => { let var_0 = new jlr_Modifier(); jlr_Modifier__init_(var_0); return var_0; }, jlr_Modifier_toString = $mod => { let $sb, $modifierNames, $index, var$5, var$6, var$7, var$8, var$9, var$10, $modifier; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); $modifierNames = jlr_Modifier_getModifierNames(); $index = 0; var$5 = jlr_Modifier_canonicalOrder.data; var$6 = var$5.length; var$7 = 0; while (var$7 < var$6) { if ($mod & var$5[var$7]) { var$8 = $sb.$length0; if (var$8 > 0) { jl_AbstractStringBuilder_insertSpace($sb, var$8, var$8 + 1 | 0); $sb.$buffer.data[var$8] = 32; } var$9 = $modifierNames.data[$index]; jl_AbstractStringBuilder_insert($sb, $sb.$length0, var$9); } $index = $index + 1 | 0; var$7 = var$7 + 1 | 0; } var$9 = new jl_String; $modifierNames = $sb.$buffer; var$10 = $modifierNames.data; $index = $sb.$length0; $modifier = var$10.length; if ($index >= 0 && $index <= ($modifier - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($modifierNames.data, 0, $index); return var$9; } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sb); $rt_throw($sb); }, jlr_Modifier_getModifierNames = () => { if (jlr_Modifier_modifierNames === null) jlr_Modifier_modifierNames = $rt_wrapArray(jl_String, [$rt_s(3322), $rt_s(3323), $rt_s(3324), $rt_s(3325), $rt_s(3326), $rt_s(3327), $rt_s(3328), $rt_s(3329), $rt_s(3330), $rt_s(3331), $rt_s(3332), $rt_s(3333)]); return jlr_Modifier_modifierNames; }, jlr_Modifier__clinit_ = () => { jlr_Modifier_canonicalOrder = $rt_createIntArrayFromData([1, 4, 2, 1024, 8, 16, 128, 64, 32, 256, 2048, 512]); }, jl_ReflectiveOperationException = $rt_classWithoutFields(jl_Exception), jl_ReflectiveOperationException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_ReflectiveOperationException__init_0 = () => { let var_0 = new jl_ReflectiveOperationException(); jl_ReflectiveOperationException__init_(var_0); return var_0; }, jl_IllegalAccessException = $rt_classWithoutFields(jl_ReflectiveOperationException), jl_IllegalAccessException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_IllegalAccessException__init_0 = () => { let var_0 = new jl_IllegalAccessException(); jl_IllegalAccessException__init_(var_0); return var_0; }, jlr_InvocationTargetException = $rt_classWithoutFields(jl_ReflectiveOperationException), jlr_InvocationTargetException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jlr_InvocationTargetException__init_0 = () => { let var_0 = new jlr_InvocationTargetException(); jlr_InvocationTargetException__init_(var_0); return var_0; }; function nms_WorldGenClay() { let a = this; nms_WorldGenerator.call(a); a.$clayBlockId = 0; a.$numberOfBlocks0 = 0; } function nms_WorldGenSand() { let a = this; nms_WorldGenerator.call(a); a.$sandID = 0; a.$radius = 0; } function nms_WorldGenFlowers() { nms_WorldGenerator.call(this); this.$plantBlockId = 0; } function nms_WorldGenBigMushroom() { nms_WorldGenerator.call(this); this.$mushroomType0 = 0; } let nms_WorldGenBigMushroom__init_ = $this => { $this.$doBlockNotify = 0; $this.$mushroomType0 = (-1); }, nms_WorldGenBigMushroom__init_0 = () => { let var_0 = new nms_WorldGenBigMushroom(); nms_WorldGenBigMushroom__init_(var_0); return var_0; }, nms_WorldGenBigMushroom_generate = ($this, $par1World, $par2Random, $par3, $par4, $par5) => { let var$6, $var6, var$8, var$9, $var8, $var9, $var7, var$13, $var12, $var13, $var10, $var11, $var12_0, $var13_0, $var11_0, var$21, var$22, $var14, var$24, $var15, var$26, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$26 = $thread.pop();$var15 = $thread.pop();var$24 = $thread.pop();$var14 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var11_0 = $thread.pop();$var13_0 = $thread.pop();$var12_0 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();$var7 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2Random = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var6 = Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$6, 17)))), 31)); var$8 = $this.$mushroomType0; if (var$8 < 0) var$8 = $var6; var$9 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$9; $var8 = Long_lo(Long_shru(var$9, 17)); while (true) { $var9 = $var8 % 3 | 0; if ((($var8 - $var9 | 0) + 2 | 0) >= 0) break; var$9 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$9; $var8 = Long_lo(Long_shru(var$9, 17)); } $var7 = $var9 + 4 | 0; $var8 = 1; if ($par4 >= 1) { var$13 = $par4 + $var7 | 0; if ((var$13 + 1 | 0) < 256) { $var12 = ($par4 + 1 | 0) + $var7 | 0; $var13 = $par4 + 3 | 0; $var9 = $par4; while ($var9 <= $var12) { $var10 = 3; if ($var9 <= $var13) $var10 = 0; $var11 = $par3 - $var10 | 0; while ($var11 <= ($par3 + $var10 | 0) && $var8) { $var12_0 = $par5 - $var10 | 0; while ($var12_0 <= ($par5 + $var10 | 0) && $var8) { if ($var9 >= 0 && $var9 < 256) { $var13_0 = nms_World_getBlockId($par1World, $var11, $var9, $var12_0); if ($var13_0) { nms_Block_$callClinit(); if ($var13_0 != nms_Block_leaves.$blockID) $var8 = 0; } } else $var8 = 0; $var12_0 = $var12_0 + 1 | 0; } $var11 = $var11 + 1 | 0; } $var9 = $var9 + 1 | 0; } if (!$var8) return 0; $var6 = nms_World_getBlockId($par1World, $par3, $par4 - 1 | 0, $par5); nms_Block_$callClinit(); if ($var6 != nms_Block_dirt.$blockID && $var6 != nms_Block_grass.$blockID && $var6 != nms_Block_mycelium.$blockID) return 0; $var11_0 = var$8 != 1 ? var$13 : var$13 - 3 | 0; var$21 = $rt_compare($par4, var$13 - 1 | 0); a: while (true) { var$22 = $rt_compare($var11_0, var$13); if (var$22 > 0) { $var8 = 0; while ($var8 < $var7) { $var9 = $par4 + $var8 | 0; $var12 = nms_World_getBlockId($par1World, $par3, $var9, $par5); if (!nms_Block_opaqueCubeLookup.data[$var12]) { $var6 = nms_Block_mushroomCapBrown.$blockID + var$8 | 0; $var12 = 10; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 1; continue main; } $var13 = 3; $ptr = 2; continue main; } $var8 = $var8 + 1 | 0; } return 1; } $var12 = 1; if (var$22 < 0) $var12 = 2; if (!var$8) $var12 = 3; $var6 = $par3 - $var12 | 0; $var13 = $var6; while (true) { $var8 = $rt_compare($var13, $par3 + $var12 | 0); if ($var8 > 0) break; $var9 = $par5 - $var12 | 0; $var14 = $var9; while (true) { var$24 = $rt_compare($var14, $par5 + $var12 | 0); if (var$24 > 0) break; $var15 = 5; var$26 = $rt_compare($var13, $var6); if (!var$26) $var15 = 4; if (!$var8) $var15 = $var15 + 1 | 0; $var10 = $rt_compare($var14, $var9); if (!$var10) $var15 = $var15 + (-3) | 0; if (!var$24) $var15 = $var15 + 3 | 0; b: { if (!(var$8 && var$22 >= 0)) { if (!(var$26 && $var8)) { if (!$var10) break b; if (!var$24) break b; } $var11 = $var12 - 1 | 0; $var12_0 = $rt_compare($var13, $par3 - $var11 | 0); if (!$var12_0 && !$var10) $var15 = 1; if (!var$26 && $var14 == ($par5 - $var11 | 0)) $var15 = 1; $var13_0 = $rt_compare($var13, $par3 + $var11 | 0); if (!$var13_0 && !$var10) $var15 = 3; if (!$var8 && $var14 == ($par5 - $var11 | 0)) $var15 = 3; if (!$var12_0 && !var$24) $var15 = 7; if (!var$26 && $var14 == ($par5 + $var11 | 0)) $var15 = 7; if (!$var13_0 && !var$24) $var15 = 9; if (!$var8 && $var14 == ($par5 + $var11 | 0)) $var15 = 9; } if ($var15 == 5 && var$22 < 0) $var15 = 0; if (!(!$var15 && var$21 < 0) && !nms_Block_opaqueCubeLookup.data[nms_World_getBlockId($par1World, $var13, $var11_0, $var14)]) break a; } $var14 = $var14 + 1 | 0; } $var13 = $var13 + 1 | 0; } $var11_0 = $var11_0 + 1 | 0; } $var10 = nms_Block_mushroomCapBrown.$blockID + var$8 | 0; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 3; continue main; } $var11 = 3; $ptr = 4; continue main; } } return 0; case 1: nms_World_setBlock($par1World, $par3, $var9, $par5, $var6, $var12, $var13); if ($rt_suspending()) { break main; } while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= $var7) break; $var9 = $par4 + $var8 | 0; $var12 = nms_World_getBlockId($par1World, $par3, $var9, $par5); if (nms_Block_opaqueCubeLookup.data[$var12]) continue; else { $var6 = nms_Block_mushroomCapBrown.$blockID + var$8 | 0; $var12 = 10; if (!$this.$doBlockNotify) { $var13 = 2; continue main; } $var13 = 3; $ptr = 2; continue main; } } return 1; case 2: nms_World_setBlock($par1World, $par3, $var9, $par5, $var6, $var12, $var13); if ($rt_suspending()) { break main; } while (true) { $var8 = $var8 + 1 | 0; if ($var8 >= $var7) break; $var9 = $par4 + $var8 | 0; $var12 = nms_World_getBlockId($par1World, $par3, $var9, $par5); if (nms_Block_opaqueCubeLookup.data[$var12]) continue; else { $var6 = nms_Block_mushroomCapBrown.$blockID + var$8 | 0; $var12 = 10; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 1; continue main; } $var13 = 3; continue main; } } return 1; case 3: nms_World_setBlock($par1World, $var13, $var11_0, $var14, $var10, $var15, $var11); if ($rt_suspending()) { break main; } while (true) { $var14 = $var14 + 1 | 0; while (true) { var$24 = $rt_compare($var14, $par5 + $var12 | 0); if (var$24 <= 0) break; $var13 = $var13 + 1 | 0; while (true) { $var8 = $rt_compare($var13, $par3 + $var12 | 0); if ($var8 <= 0) break; $var11_0 = $var11_0 + 1 | 0; var$22 = $rt_compare($var11_0, var$13); if (var$22 > 0) { $var8 = 0; while ($var8 < $var7) { $var9 = $par4 + $var8 | 0; $var12 = nms_World_getBlockId($par1World, $par3, $var9, $par5); if (!nms_Block_opaqueCubeLookup.data[$var12]) { $var6 = nms_Block_mushroomCapBrown.$blockID + var$8 | 0; $var12 = 10; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 1; continue main; } $var13 = 3; $ptr = 2; continue main; } $var8 = $var8 + 1 | 0; } return 1; } $var12 = 1; if (var$22 < 0) $var12 = 2; if (!var$8) $var12 = 3; $var6 = $par3 - $var12 | 0; $var13 = $var6; } $var9 = $par5 - $var12 | 0; $var14 = $var9; } $var15 = 5; var$26 = $rt_compare($var13, $var6); if (!var$26) $var15 = 4; if (!$var8) $var15 = $var15 + 1 | 0; $var10 = $rt_compare($var14, $var9); if (!$var10) $var15 = $var15 + (-3) | 0; if (!var$24) $var15 = $var15 + 3 | 0; if (!(var$8 && var$22 >= 0)) { if (!(var$26 && $var8)) { if (!$var10) continue; if (!var$24) continue; } $var11 = $var12 - 1 | 0; $var12_0 = $rt_compare($var13, $par3 - $var11 | 0); if (!$var12_0 && !$var10) $var15 = 1; if (!var$26 && $var14 == ($par5 - $var11 | 0)) $var15 = 1; $var13_0 = $rt_compare($var13, $par3 + $var11 | 0); if (!$var13_0 && !$var10) $var15 = 3; if (!$var8 && $var14 == ($par5 - $var11 | 0)) $var15 = 3; if (!$var12_0 && !var$24) $var15 = 7; if (!var$26 && $var14 == ($par5 + $var11 | 0)) $var15 = 7; if (!$var13_0 && !var$24) $var15 = 9; if (!$var8 && $var14 == ($par5 + $var11 | 0)) $var15 = 9; } if ($var15 == 5 && var$22 < 0) $var15 = 0; if (!$var15 && var$21 < 0) continue; if (nms_Block_opaqueCubeLookup.data[nms_World_getBlockId($par1World, $var13, $var11_0, $var14)]) continue; else break; } $var10 = nms_Block_mushroomCapBrown.$blockID + var$8 | 0; if (!$this.$doBlockNotify) { $var11 = 2; continue main; } $var11 = 3; $ptr = 4; case 4: nms_World_setBlock($par1World, $var13, $var11_0, $var14, $var10, $var15, $var11); if ($rt_suspending()) { break main; } while (true) { $var14 = $var14 + 1 | 0; while (true) { var$24 = $rt_compare($var14, $par5 + $var12 | 0); if (var$24 <= 0) break; $var13 = $var13 + 1 | 0; while (true) { $var8 = $rt_compare($var13, $par3 + $var12 | 0); if ($var8 <= 0) break; $var11_0 = $var11_0 + 1 | 0; var$22 = $rt_compare($var11_0, var$13); if (var$22 > 0) { $var8 = 0; while ($var8 < $var7) { $var9 = $par4 + $var8 | 0; $var12 = nms_World_getBlockId($par1World, $par3, $var9, $par5); if (!nms_Block_opaqueCubeLookup.data[$var12]) { $var6 = nms_Block_mushroomCapBrown.$blockID + var$8 | 0; $var12 = 10; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 1; continue main; } $var13 = 3; $ptr = 2; continue main; } $var8 = $var8 + 1 | 0; } return 1; } $var12 = 1; if (var$22 < 0) $var12 = 2; if (!var$8) $var12 = 3; $var6 = $par3 - $var12 | 0; $var13 = $var6; } $var9 = $par5 - $var12 | 0; $var14 = $var9; } $var15 = 5; var$26 = $rt_compare($var13, $var6); if (!var$26) $var15 = 4; if (!$var8) $var15 = $var15 + 1 | 0; $var10 = $rt_compare($var14, $var9); if (!$var10) $var15 = $var15 + (-3) | 0; if (!var$24) $var15 = $var15 + 3 | 0; if (!(var$8 && var$22 >= 0)) { if (!(var$26 && $var8)) { if (!$var10) continue; if (!var$24) continue; } $var11 = $var12 - 1 | 0; $var12_0 = $rt_compare($var13, $par3 - $var11 | 0); if (!$var12_0 && !$var10) $var15 = 1; if (!var$26 && $var14 == ($par5 - $var11 | 0)) $var15 = 1; $var13_0 = $rt_compare($var13, $par3 + $var11 | 0); if (!$var13_0 && !$var10) $var15 = 3; if (!$var8 && $var14 == ($par5 - $var11 | 0)) $var15 = 3; if (!$var12_0 && !var$24) $var15 = 7; if (!var$26 && $var14 == ($par5 + $var11 | 0)) $var15 = 7; if (!$var13_0 && !var$24) $var15 = 9; if (!$var8 && $var14 == ($par5 + $var11 | 0)) $var15 = 9; } if ($var15 == 5 && var$22 < 0) $var15 = 0; if (!$var15 && var$21 < 0) continue; if (nms_Block_opaqueCubeLookup.data[nms_World_getBlockId($par1World, $var13, $var11_0, $var14)]) continue; else break; } $var10 = nms_Block_mushroomCapBrown.$blockID + var$8 | 0; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 3; continue main; } $var11 = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2Random, $par3, $par4, $par5, var$6, $var6, var$8, var$9, $var8, $var9, $var7, var$13, $var12, $var13, $var10, $var11, $var12_0, $var13_0, $var11_0, var$21, var$22, $var14, var$24, $var15, var$26, $ptr); }, nms_WorldGenReed = $rt_classWithoutFields(nms_WorldGenerator), nms_WorldGenReed__init_ = $this => { $this.$doBlockNotify = 0; }, nms_WorldGenReed__init_0 = () => { let var_0 = new nms_WorldGenReed(); nms_WorldGenReed__init_(var_0); return var_0; }, nms_WorldGenCactus = $rt_classWithoutFields(nms_WorldGenerator), nms_WorldGenCactus__init_ = $this => { $this.$doBlockNotify = 0; }, nms_WorldGenCactus__init_0 = () => { let var_0 = new nms_WorldGenCactus(); nms_WorldGenCactus__init_(var_0); return var_0; }, nms_WorldGenWaterlily = $rt_classWithoutFields(nms_WorldGenerator), nms_WorldGenWaterlily__init_ = $this => { $this.$doBlockNotify = 0; }, nms_WorldGenWaterlily__init_0 = () => { let var_0 = new nms_WorldGenWaterlily(); nms_WorldGenWaterlily__init_(var_0); return var_0; }; function ju_SetFromMap() { ju_AbstractSet.call(this); this.$map2 = null; } let ju_SetFromMap_contains = ($this, $o) => { let var$2, var$3, var$4, var$5; var$2 = $this.$map2; if ($o === null) { var$2 = var$2.$elementData1.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next6; } } else { var$3 = $o; if (!var$3.$id$) var$3.$id$ = $rt_nextId(); var$4 = $o.$id$; var$5 = var$2.$elementData1.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash0 == var$4 && ($o !== var$2.$key ? 0 : 1))) { var$2 = var$2.$next6; } } return var$2 === null ? 0 : 1; }, ju_SetFromMap_add = ($this, $e) => { return ju_IdentityHashMap_putImpl($this.$map2, $e, jl_Boolean_TRUE) !== null ? 0 : 1; }, ju_SetFromMap_remove = ($this, $o) => { $o = ju_IdentityHashMap_removeEntry($this.$map2, $o); return ($o === null ? null : $o.$value1) === null ? 0 : 1; }, jlr_AccessibleObject = $rt_classWithoutFields(), jlr_AccessibleObject__init_ = $this => { return; }, jlr_AccessibleObject__init_0 = () => { let var_0 = new jlr_AccessibleObject(); jlr_AccessibleObject__init_(var_0); return var_0; }, jlr_Member = $rt_classWithoutFields(0); function jlr_Method() { let a = this; jlr_AccessibleObject.call(a); a.$declaringClass = null; a.$name8 = null; a.$flags4 = 0; a.$accessLevel = 0; a.$returnType = null; a.$parameterTypes = null; a.$callable = null; } let jlr_Method_getName = $this => { return $this.$name8; }, jlr_Method_getParameterTypes = $this => { return $this.$parameterTypes.$clone0(); }, jlr_Method_toString = $this => { let $sb, var$2, var$3, var$4, var$5, var$6, $i, var$8, var$9; $sb = new jl_StringBuilder; $sb.$buffer = $rt_createCharArray(16); var$2 = jlr_Modifier_toString(otcir_Flags_getModifiers($this.$flags4, $this.$accessLevel)); jl_AbstractStringBuilder_insert($sb, $sb.$length0, var$2); var$3 = $sb.$length0; if (var$3 > 0) { jl_AbstractStringBuilder_insertSpace($sb, var$3, var$3 + 1 | 0); $sb.$buffer.data[var$3] = 32; } var$4 = $this.$returnType; if (var$4.$name1 === null) var$4.$name1 = $rt_str(var$4.$platformClass.$meta.name); var$2 = var$4.$name1; jl_AbstractStringBuilder_insert($sb, $sb.$length0, var$2); var$3 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$3, var$3 + 1 | 0); $sb.$buffer.data[var$3] = 32; var$2 = $this.$declaringClass; if (var$2.$name1 === null) var$2.$name1 = $rt_str(var$2.$platformClass.$meta.name); a: { var$2 = var$2.$name1; jl_AbstractStringBuilder_insert($sb, $sb.$length0, var$2); var$3 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$3, var$3 + 1 | 0); $sb.$buffer.data[var$3] = 46; var$2 = $this.$name8; jl_AbstractStringBuilder_insert($sb, $sb.$length0, var$2); var$3 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$3, var$3 + 1 | 0); $sb.$buffer.data[var$3] = 40; var$5 = ($this.$parameterTypes.$clone0()).data; var$3 = var$5.length; if (var$3 > 0) { var$6 = var$5[0]; if (var$6.$name1 === null) var$6.$name1 = $rt_str(var$6.$platformClass.$meta.name); var$2 = var$6.$name1; jl_AbstractStringBuilder_insert($sb, $sb.$length0, var$2); $i = 1; while (true) { if ($i >= var$3) break a; var$8 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$8, var$8 + 1 | 0); $sb.$buffer.data[var$8] = 44; var$2 = var$5[$i]; if (var$2.$name1 === null) var$2.$name1 = $rt_str(var$2.$platformClass.$meta.name); var$2 = var$2.$name1; jl_AbstractStringBuilder_insert($sb, $sb.$length0, var$2); $i = $i + 1 | 0; } } } var$3 = $sb.$length0; jl_AbstractStringBuilder_insertSpace($sb, var$3, var$3 + 1 | 0); var$5 = $sb.$buffer; var$9 = var$5.data; var$9[var$3] = 41; var$2 = new jl_String; var$3 = $sb.$length0; $i = var$9.length; if (var$3 >= 0 && var$3 <= ($i - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); return var$2; } $sb = new jl_IndexOutOfBoundsException; $sb.$suppressionEnabled = 1; $sb.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sb); $rt_throw($sb); }, jlr_Method_invoke = ($this, $obj, $args) => { let var$3, var$4, $result, $jsArgs, $i, var$8; if ($this.$callable === null) { $obj = new jl_IllegalAccessException; $obj.$suppressionEnabled = 1; $obj.$writableStackTrace = 1; $rt_throw($obj); } var$3 = $args.data; var$4 = var$3.length; if (var$4 != $this.$parameterTypes.data.length) { $obj = new jl_IllegalArgumentException; $obj.$suppressionEnabled = 1; $obj.$writableStackTrace = 1; $rt_throw($obj); } if ($this.$flags4 & 512) $this.$declaringClass.$platformClass.$clinit(); else { $result = $this.$declaringClass; $jsArgs = $obj; $result = $result.$platformClass; if (!($jsArgs !== null && !(typeof $jsArgs.constructor.$meta === 'undefined' ? 1 : 0) && otp_Platform_isAssignable($jsArgs.constructor, $result) ? 1 : 0)) { $obj = new jl_IllegalArgumentException; $obj.$suppressionEnabled = 1; $obj.$writableStackTrace = 1; $rt_throw($obj); } } $i = 0; while ($i < var$4) { if (!($this.$parameterTypes.data[$i].$platformClass.$meta.primitive ? 1 : 0) && var$3[$i] !== null) { $jsArgs = $this.$parameterTypes.data[$i]; var$8 = var$3[$i]; $jsArgs = $jsArgs.$platformClass; if (!(var$8 !== null && !(typeof var$8.constructor.$meta === 'undefined' ? 1 : 0) && otp_Platform_isAssignable(var$8.constructor, $jsArgs) ? 1 : 0)) { $obj = new jl_IllegalArgumentException; $obj.$suppressionEnabled = 1; $obj.$writableStackTrace = 1; $rt_throw($obj); } } if (($this.$parameterTypes.data[$i].$platformClass.$meta.primitive ? 1 : 0) && var$3[$i] === null) { $obj = new jl_IllegalArgumentException; $obj.$suppressionEnabled = 1; $obj.$writableStackTrace = 1; $rt_throw($obj); } $i = $i + 1 | 0; } $jsArgs = $args.data; return $this.$callable.call($obj, $jsArgs); }, jla_Annotation = $rt_classWithoutFields(0), oj_JSONPropertyIgnore = $rt_classWithoutFields(0), oj_JSONPropertyName = $rt_classWithoutFields(0), jl_SecurityException = $rt_classWithoutFields(jl_RuntimeException), jl_SecurityException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_SecurityException__init_0 = () => { let var_0 = new jl_SecurityException(); jl_SecurityException__init_(var_0); return var_0; }, jl_NoSuchMethodException = $rt_classWithoutFields(jl_ReflectiveOperationException), jl_NoSuchMethodException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_NoSuchMethodException__init_0 = () => { let var_0 = new jl_NoSuchMethodException(); jl_NoSuchMethodException__init_(var_0); return var_0; }, otjw_WebGLTexture = $rt_classWithoutFields(0), jus_BaseStream = $rt_classWithoutFields(0), jus_IntStream = $rt_classWithoutFields(0), ju_HashMap$KeyIterator = $rt_classWithoutFields(ju_HashMap$AbstractMapIterator), ju_HashMap$KeyIterator_next = $this => { ju_HashMap$AbstractMapIterator_makeNext($this); return $this.$currentEntry0.$key; }, ju_HashMap$EntryIterator = $rt_classWithoutFields(ju_HashMap$AbstractMapIterator), ju_HashMap$EntryIterator_next = $this => { ju_HashMap$AbstractMapIterator_makeNext($this); return $this.$currentEntry0; }; function nms_GuiParticle() { let a = this; nms_Gui.call(a); a.$particles = null; a.$mc14 = null; } let nms_GuiParticle_tex_particles = null, nms_GuiParticle_$callClinit = () => { nms_GuiParticle_$callClinit = $rt_eraseClinit(nms_GuiParticle); nms_GuiParticle__clinit_(); }, nms_GuiParticle__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3334); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiParticle_tex_particles = var$1; }; function nms_GuiContainerCreative() { let a = this; nms_InventoryEffectRenderer.call(a); a.$currentScroll = 0.0; a.$isScrolling = 0; a.$wasClicking = 0; a.$searchField = null; a.$backupContainerSlots = null; a.$field_74235_v = null; a.$field_74234_w = 0; a.$field_82324_x = null; } let nms_GuiContainerCreative_field_110424_t = null, nms_GuiContainerCreative_inventory = null, nms_GuiContainerCreative_selectedTabIndex = 0, nms_GuiContainerCreative_$callClinit = () => { nms_GuiContainerCreative_$callClinit = $rt_eraseClinit(nms_GuiContainerCreative); nms_GuiContainerCreative__clinit_(); }, nms_GuiContainerCreative_updateScreen = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$mc; if (var$1.$playerController.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) return; var$2 = new nms_GuiInventory; var$3 = var$1.$thePlayer; var$4 = var$3.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$5 = new ju_ArrayList; jl_Object__init_(var$5); var$5.$array = $rt_createArray(jl_Object, 10); var$2.$buttonList = var$5; var$2.$allowUserInput = 0; var$2.$selectedButton = null; var$2.$eventButton = 0; var$2.$field_85043_c = Long_ZERO; var$2.$field_92018_d = 0; var$2.$xSize = 176; var$2.$ySize = 166; var$5 = new ju_HashSet; var$6 = new ju_HashMap; jl_Object__init_(var$6); var$7 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$9 = var$8.data; var$6.$elementData = var$8; var$6.$loadFactor = 0.75; var$6.$threshold = var$9.length * 0.75 | 0; var$5.$backingMap = var$6; var$2.$field_94077_p = var$5; var$2.$inventorySlots0 = var$4; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); var$5 = nms_AchievementList_openInventory; if (var$5 !== null && var$5.$isIndependent) { var$5 = var$5; if (nle_LocalStorageManager_hasMadeAchievement(var$5)) { var$3 = var$3.$mc4.$guiAchievement; nms_StatCollector_$callClinit(); var$3.$achievementGetLocalText = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2498)); var$6 = var$5.$statName; var$3.$achievementStatName = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$6); nlea_EaglerAdapterImpl2_$callClinit(); var$3.$achievementTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$3.$theAchievement = var$5; var$3.$haveAchiement = 0; } } $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_GuiContainerCreative_handleMouseClick = ($this, $par1Slot, $par2, $par3, $par4) => { let $var5, $var10, $var11, $var6, var$9, $var7, $var8, var$12, var$13, $var9, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var9 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Slot = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$field_74234_w = 1; $var5 = $par4 != 1 ? 0 : 1; if ($par2 == (-999) && !$par4) $par4 = 4; a: { if ($par1Slot === null) { nms_GuiContainerCreative_$callClinit(); $var10 = nms_GuiContainerCreative_selectedTabIndex; nms_CreativeTabs_$callClinit(); if ($var10 != nms_CreativeTabs_tabInventory.$tabIndex && $par4 != 5) { $par1Slot = $this.$mc.$thePlayer; $var11 = $par1Slot.$inventory; $var6 = $var11.$itemStack; if ($var6 === null) break a; if (!$par3) { $par2 = 0; $ptr = 1; continue main; } if ($par3 != 1) break a; var$9 = $var11.$itemStack; $var7 = new nms_ItemStack; $par3 = var$9.$itemID; $par4 = var$9.$itemDamage; nms_ItemStack_$callClinit(); $var7.$itemID = $par3; $var7.$stackSize = 1; $var7.$itemDamage = $par4; if ($par4 < 0) $var7.$itemDamage = 0; $par1Slot = var$9.$stackTagCompound; if ($par1Slot !== null) { $var6 = new nms_NBTTagCompound; $var8 = $par1Slot.$name; if ($var8 === null) $var8 = $rt_s(18); $var6.$name = $var8; $var8 = new ju_HashMap; $par3 = ju_HashMap_calculateCapacity(16); $var8.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $par3); var$13 = var$12.data; $var8.$elementData = var$12; $var8.$loadFactor = 0.75; $var8.$threshold = var$13.length * 0.75 | 0; $var6.$tagMap = $var8; $var8 = $par1Slot.$tagMap; if ($var8.$cachedKeySet === null) { $var9 = new ju_HashMap$1; $var9.$this$0 = $var8; $var8.$cachedKeySet = $var9; } $var8 = $var8.$cachedKeySet.$iterator(); while ($var8.$hasNext()) { $var9 = $var8.$next(); var$15 = $par1Slot.$tagMap; if ($var9 === null) { var$15 = var$15.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { b: { if (!$var9.$hashCode1) { $par3 = 0; while (true) { if ($par3 >= $var9.$nativeString.length) break b; $var9.$hashCode1 = (31 * $var9.$hashCode1 | 0) + $var9.$nativeString.charCodeAt($par3) | 0; $par3 = $par3 + 1 | 0; } } } $var5 = $var9.$hashCode1; var$13 = var$15.$elementData.data; var$15 = var$13[$var5 & (var$13.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $var5) { c: { var$16 = var$15.$key; if ($var9 !== var$16) { if ($var9 === var$16) $par3 = 1; else if (!(var$16 instanceof jl_String)) $par3 = 0; else { var$16 = var$16; $par3 = $var9.$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par3) { $par3 = 0; break c; } } $par3 = 1; } if ($par3) break; } var$15 = var$15.$next3; } } var$15 = var$15 === null ? null : var$15.$value1; var$15 = var$15.$copy(); var$16 = $var6.$tagMap; if ($var9 !== null) var$15.$name = $var9; else var$15.$name = $rt_s(18); ju_HashMap_putImpl(var$16, $var9, var$15); } $var7.$stackTagCompound = $var6; } var$9.$stackSize = var$9.$stackSize - 1 | 0; $par1Slot = $this.$mc.$thePlayer; $par2 = 0; $ptr = 5; continue main; } } $var6 = $this.$field_74235_v; if ($par1Slot === $var6 && $var5) { $var10 = 0; $var8 = null; d: while (true) { $par1Slot = $this.$mc.$thePlayer.$inventoryContainer; $var6 = new ju_ArrayList; $var6.$array = $rt_createArray(jl_Object, 10); $par2 = 0; while (true) { $var11 = $par1Slot.$inventorySlots; $par3 = $rt_compare($par2, $var11.$size0); if ($par3 >= 0) break; if ($par2 < 0) break d; if ($par3 >= 0) break d; $var11 = $var11.$array.data[$par2].$getStack(); ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); var$13 = $var6.$array.data; $par4 = $var6.$size0; $var6.$size0 = $par4 + 1 | 0; var$13[$par4] = $var11; $var6.$modCount = $var6.$modCount + 1 | 0; $par2 = $par2 + 1 | 0; } if ($var10 >= $var6.$size0) break a; $par1Slot = $this.$mc.$playerController; if ($par1Slot.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) { $var6 = $par1Slot.$netClientHandler; $par1Slot = new nms_Packet107CreativeSetSlot; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1Slot.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1Slot.$slot = $var10; if ($var8 === null) $var11 = null; else { $var11 = new nms_ItemStack; $par2 = $var8.$itemID; $par3 = $var8.$stackSize; $par4 = $var8.$itemDamage; nms_ItemStack_$callClinit(); $var11.$itemID = $par2; $var11.$stackSize = $par3; $var11.$itemDamage = $par4; if ($par4 < 0) $var11.$itemDamage = 0; $var7 = $var8.$stackTagCompound; if ($var7 !== null) { $var9 = new nms_NBTTagCompound; var$15 = $var7.$name; if (var$15 === null) var$15 = $rt_s(18); $var9.$name = var$15; var$15 = new ju_HashMap; ju_AbstractMap__init_(var$15); $par2 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$15.$elementData = ju_HashMap_newElementArray(var$15, $par2); var$15.$loadFactor = 0.75; ju_HashMap_computeThreshold(var$15); $var9.$tagMap = var$15; var$15 = $var7.$tagMap; if (var$15.$cachedKeySet === null) { var$16 = new ju_HashMap$1; var$16.$this$0 = var$15; jl_Object__init_(var$16); var$15.$cachedKeySet = var$16; } var$15 = var$15.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); var$17 = $var7.$tagMap; if (var$16 === null) { var$17 = var$17.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { e: { if (!var$16.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$16.$nativeString.length) break e; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = var$16.$hashCode1; var$13 = var$17.$elementData.data; var$17 = var$13[$par4 & (var$13.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == $par4) { var$9 = var$17.$key; if (var$16 !== var$9 && !jl_String_equals(var$16, var$9) ? 0 : 1) break; } var$17 = var$17.$next3; } } var$17 = var$17 === null ? null : var$17.$value1; var$17 = var$17.$copy(); var$9 = $var9.$tagMap; if (var$16 !== null) var$17.$name = var$16; else var$17.$name = $rt_s(18); ju_HashMap_putImpl(var$9, var$16, var$17); } $var11.$stackTagCompound = $var9; } } $par1Slot.$itemStack0 = $var11; if (!$var6.$disconnected) $var6.$netManager.$addToSendQueue($par1Slot); } $var10 = $var10 + 1 | 0; } $par1Slot = new jl_IndexOutOfBoundsException; $par1Slot.$suppressionEnabled = 1; $par1Slot.$writableStackTrace = 1; $rt_throw($par1Slot); } nms_GuiContainerCreative_$callClinit(); $var10 = nms_GuiContainerCreative_selectedTabIndex; nms_CreativeTabs_$callClinit(); if ($var10 == nms_CreativeTabs_tabInventory.$tabIndex) { if ($par1Slot === $var6) { $this.$mc.$thePlayer.$inventory.$itemStack = null; break a; } $var5 = $rt_compare($par4, 4); if (!$var5 && $par1Slot !== null && $par1Slot.$getHasStack()) { if (!$par3) $par2 = 1; else { $var6 = $par1Slot.$getStack(); nms_Item_$callClinit(); $par2 = nms_Item_itemsList.data[$var6.$itemID].$maxStackSize; } $ptr = 6; continue main; } if (!$var5) { $var6 = $this.$mc.$thePlayer; $var11 = $var6.$inventory.$itemStack; if ($var11 !== null) { $par2 = 0; $ptr = 3; continue main; } } $var6 = $this.$mc.$thePlayer; $var11 = $var6.$inventoryContainer; if ($par1Slot !== null) $par2 = $par1Slot.$theSlot0.$slotNumber; $ptr = 4; continue main; } if ($par4 != 5 && $par1Slot.$inventory0 === nms_GuiContainerCreative_inventory) { $var11 = $this.$mc.$thePlayer.$inventory; $var7 = $var11.$itemStack; $var8 = $par1Slot.$getStack(); if ($par4 == 2) { if ($var8 !== null && $par3 >= 0 && $par3 < 9) { $var9 = new nms_ItemStack; $par2 = $var8.$itemID; $par4 = $var8.$stackSize; $var5 = $var8.$itemDamage; nms_ItemStack_$callClinit(); $var9.$itemID = $par2; $var9.$stackSize = $par4; $var9.$itemDamage = $var5; if ($var5 < 0) $var9.$itemDamage = 0; $par1Slot = $var8.$stackTagCompound; if ($par1Slot !== null) { $var6 = new nms_NBTTagCompound; $var11 = $par1Slot.$name; if ($var11 === null) $var11 = $rt_s(18); $var6.$name = $var11; $var11 = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $var11.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$13 = var$12.data; $var11.$elementData = var$12; $var11.$loadFactor = 0.75; $var11.$threshold = var$13.length * 0.75 | 0; $var6.$tagMap = $var11; $var11 = $par1Slot.$tagMap; if ($var11.$cachedKeySet === null) { $var8 = new ju_HashMap$1; $var8.$this$0 = $var11; $var11.$cachedKeySet = $var8; } $var11 = $var11.$cachedKeySet.$iterator(); while ($var11.$hasNext()) { $var8 = $var11.$next(); $var7 = $par1Slot.$tagMap; if ($var8 === null) { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { f: { if (!$var8.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $var8.$nativeString.length) break f; $var8.$hashCode1 = (31 * $var8.$hashCode1 | 0) + $var8.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $var5 = $var8.$hashCode1; var$13 = $var7.$elementData.data; $var7 = var$13[$var5 & (var$13.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == $var5) { g: { var$15 = $var7.$key; if ($var8 !== var$15) { if ($var8 === var$15) $par2 = 1; else if (!(var$15 instanceof jl_String)) $par2 = 0; else { var$15 = var$15; $par2 = $var8.$nativeString !== var$15.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break g; } } $par2 = 1; } if ($par2) break; } $var7 = $var7.$next3; } } $var7 = $var7 === null ? null : $var7.$value1; $var7 = $var7.$copy(); var$15 = $var6.$tagMap; if ($var8 !== null) $var7.$name = $var8; else $var7.$name = $rt_s(18); ju_HashMap_putImpl(var$15, $var8, $var7); } $var9.$stackTagCompound = $var6; } nms_Item_$callClinit(); $var9.$stackSize = nms_Item_itemsList.data[$var9.$itemID].$maxStackSize; $par1Slot = $this.$mc.$thePlayer; $var6 = $par1Slot.$inventory; var$13 = $var6.$mainInventory; $par2 = var$13.data.length; if ($par3 >= $par2) { $par3 = $par3 - $par2 | 0; var$13 = $var6.$armorInventory; } var$13.data[$par3] = $var9; nms_Container_detectAndSendChanges($par1Slot.$inventoryContainer); } return; } if ($par4 == 3) { if ($var11.$itemStack === null && $par1Slot.$getHasStack()) { $par1Slot = $par1Slot.$getStack(); $var9 = new nms_ItemStack; $par2 = $par1Slot.$itemID; $par3 = $par1Slot.$stackSize; $par4 = $par1Slot.$itemDamage; nms_ItemStack_$callClinit(); $var9.$itemID = $par2; $var9.$stackSize = $par3; $var9.$itemDamage = $par4; if ($par4 < 0) $var9.$itemDamage = 0; $par1Slot = $par1Slot.$stackTagCompound; if ($par1Slot !== null) { $var6 = new nms_NBTTagCompound; $var8 = $par1Slot.$name; if ($var8 === null) $var8 = $rt_s(18); $var6.$name = $var8; $var8 = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $var8.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$13 = var$12.data; $var8.$elementData = var$12; $var8.$loadFactor = 0.75; $var8.$threshold = var$13.length * 0.75 | 0; $var6.$tagMap = $var8; $var8 = $par1Slot.$tagMap; if ($var8.$cachedKeySet === null) { $var7 = new ju_HashMap$1; $var7.$this$0 = $var8; $var8.$cachedKeySet = $var7; } $var8 = $var8.$cachedKeySet.$iterator(); while ($var8.$hasNext()) { $var7 = $var8.$next(); var$15 = $par1Slot.$tagMap; if ($var7 === null) { var$15 = var$15.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { h: { if (!$var7.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $var7.$nativeString.length) break h; $var7.$hashCode1 = (31 * $var7.$hashCode1 | 0) + $var7.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $var7.$hashCode1; var$13 = var$15.$elementData.data; var$15 = var$13[$par4 & (var$13.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { i: { var$16 = var$15.$key; if ($var7 !== var$16) { if ($var7 === var$16) $par2 = 1; else if (!(var$16 instanceof jl_String)) $par2 = 0; else { var$16 = var$16; $par2 = $var7.$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break i; } } $par2 = 1; } if ($par2) break; } var$15 = var$15.$next3; } } var$15 = var$15 === null ? null : var$15.$value1; var$15 = var$15.$copy(); var$16 = $var6.$tagMap; if ($var7 !== null) var$15.$name = $var7; else var$15.$name = $rt_s(18); ju_HashMap_putImpl(var$16, $var7, var$15); } $var9.$stackTagCompound = $var6; } nms_Item_$callClinit(); $var9.$stackSize = nms_Item_itemsList.data[$var9.$itemID].$maxStackSize; $var11.$itemStack = $var9; } return; } if ($par4 == 4) { if ($var8 === null) return; $var9 = new nms_ItemStack; $par2 = $var8.$itemID; $par4 = $var8.$stackSize; $var5 = $var8.$itemDamage; nms_ItemStack_$callClinit(); $var9.$itemID = $par2; $var9.$stackSize = $par4; $var9.$itemDamage = $var5; if ($var5 < 0) $var9.$itemDamage = 0; $par1Slot = $var8.$stackTagCompound; if ($par1Slot !== null) { $var6 = new nms_NBTTagCompound; $var11 = $par1Slot.$name; if ($var11 === null) $var11 = $rt_s(18); $var6.$name = $var11; $var11 = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); $var11.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$13 = var$12.data; $var11.$elementData = var$12; $var11.$loadFactor = 0.75; $var11.$threshold = var$13.length * 0.75 | 0; $var6.$tagMap = $var11; $var11 = $par1Slot.$tagMap; if ($var11.$cachedKeySet === null) { $var8 = new ju_HashMap$1; $var8.$this$0 = $var11; $var11.$cachedKeySet = $var8; } $var11 = $var11.$cachedKeySet.$iterator(); while ($var11.$hasNext()) { $var8 = $var11.$next(); $var7 = $par1Slot.$tagMap; if ($var8 === null) { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { j: { if (!$var8.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $var8.$nativeString.length) break j; $var8.$hashCode1 = (31 * $var8.$hashCode1 | 0) + $var8.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $var5 = $var8.$hashCode1; var$13 = $var7.$elementData.data; $var7 = var$13[$var5 & (var$13.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == $var5) { k: { var$15 = $var7.$key; if ($var8 !== var$15) { if ($var8 === var$15) $par2 = 1; else if (!(var$15 instanceof jl_String)) $par2 = 0; else { var$15 = var$15; $par2 = $var8.$nativeString !== var$15.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break k; } } $par2 = 1; } if ($par2) break; } $var7 = $var7.$next3; } } $var7 = $var7 === null ? null : $var7.$value1; $var7 = $var7.$copy(); var$15 = $var6.$tagMap; if ($var8 !== null) $var7.$name = $var8; else $var7.$name = $rt_s(18); ju_HashMap_putImpl(var$15, $var8, $var7); } $var9.$stackTagCompound = $var6; } if (!$par3) $par2 = 1; else { nms_Item_$callClinit(); $par2 = nms_Item_itemsList.data[$var9.$itemID].$maxStackSize; } $var9.$stackSize = $par2; $par1Slot = $this.$mc.$thePlayer; $par2 = 0; $ptr = 8; continue main; } l: { if ($var7 !== null && $var8 !== null) { $par4 = $var7.$itemID; if ($par4 == $var8.$itemID && $var7.$itemDamage == $var8.$itemDamage ? 1 : 0) { if ($par3) { $par2 = $var7.$stackSize; if ($par2 > 1) { $var7.$stackSize = $par2 - 1 | 0; break l; } $var11.$itemStack = null; break l; } if ($var5) { nms_Item_$callClinit(); $var7.$stackSize = nms_Item_itemsList.data[$par4].$maxStackSize; break l; } $par2 = $var7.$stackSize; nms_Item_$callClinit(); if ($par2 >= nms_Item_itemsList.data[$par4].$maxStackSize) break l; $var7.$stackSize = $par2 + 1 | 0; break l; } } if ($var8 !== null && $var7 === null) { nms_ItemStack_$callClinit(); $par1Slot = new nms_ItemStack; $par2 = $var8.$itemID; $par3 = $var8.$stackSize; $par4 = $var8.$itemDamage; $par1Slot.$itemID = $par2; $par1Slot.$stackSize = $par3; $par1Slot.$itemDamage = $par4; if ($par4 < 0) $par1Slot.$itemDamage = 0; $var6 = $var8.$stackTagCompound; if ($var6 !== null) { $var8 = new nms_NBTTagCompound; $var7 = $var6.$name; if ($var7 === null) $var7 = $rt_s(18); $var8.$name = $var7; $var7 = new ju_HashMap; jl_Object__init_($var7); $par2 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$13 = var$12.data; $var7.$elementData = var$12; $var7.$loadFactor = 0.75; $var7.$threshold = var$13.length * 0.75 | 0; $var8.$tagMap = $var7; $var7 = $var6.$tagMap; if ($var7.$cachedKeySet === null) { $var9 = new ju_HashMap$1; $var9.$this$0 = $var7; $var7.$cachedKeySet = $var9; } $var7 = $var7.$cachedKeySet.$iterator(); while ($var7.$hasNext()) { $var9 = $var7.$next(); var$15 = $var6.$tagMap; if ($var9 === null) { var$15 = var$15.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { m: { if (!$var9.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $var9.$nativeString.length) break m; $var9.$hashCode1 = (31 * $var9.$hashCode1 | 0) + $var9.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = $var9.$hashCode1; var$13 = var$15.$elementData.data; var$15 = var$13[$par4 & (var$13.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $par4) { n: { var$16 = var$15.$key; if ($var9 !== var$16) { if ($var9 === var$16) $par2 = 1; else if (!(var$16 instanceof jl_String)) $par2 = 0; else { var$16 = var$16; $par2 = $var9.$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break n; } } $par2 = 1; } if ($par2) break; } var$15 = var$15.$next3; } } var$15 = var$15 === null ? null : var$15.$value1; var$15 = var$15.$copy(); var$16 = $var8.$tagMap; if ($var9 !== null) var$15.$name = $var9; else var$15.$name = $rt_s(18); ju_HashMap_putImpl(var$16, $var9, var$15); } $par1Slot.$stackTagCompound = $var8; } $var11.$itemStack = $par1Slot; if ($var5) { nms_Item_$callClinit(); $par1Slot.$stackSize = nms_Item_itemsList.data[$par1Slot.$itemID].$maxStackSize; } } else $var11.$itemStack = null; } } else { $var6 = $this.$inventorySlots0; if ($par1Slot !== null) $par2 = $par1Slot.$slotNumber; $var11 = $this.$mc.$thePlayer; $ptr = 2; continue main; } } return; case 1: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1Slot, $var6, $par2); if ($rt_suspending()) { break main; } $par1Slot = $this.$mc.$playerController; $var7 = $var11.$itemStack; $par2 = $par1Slot.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1; if ($par2 && $var7 !== null) { $var6 = $par1Slot.$netClientHandler; $par1Slot = new nms_Packet107CreativeSetSlot; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1Slot.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1Slot.$slot = (-1); $var8 = new nms_ItemStack; $par2 = $var7.$itemID; $par4 = $var7.$stackSize; $var5 = $var7.$itemDamage; nms_ItemStack_$callClinit(); $var8.$itemID = $par2; $var8.$stackSize = $par4; $var8.$itemDamage = $var5; if ($var5 < 0) $var8.$itemDamage = 0; $var7 = $var7.$stackTagCompound; if ($var7 !== null) { $var9 = new nms_NBTTagCompound; var$15 = $var7.$name; if (var$15 === null) var$15 = $rt_s(18); $var9.$name = var$15; var$15 = new ju_HashMap; ju_AbstractMap__init_(var$15); $par2 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$15.$elementData = ju_HashMap_newElementArray(var$15, $par2); var$15.$loadFactor = 0.75; ju_HashMap_computeThreshold(var$15); $var9.$tagMap = var$15; var$15 = $var7.$tagMap; if (var$15.$cachedKeySet === null) { var$16 = new ju_HashMap$1; var$16.$this$0 = var$15; jl_Object__init_(var$16); var$15.$cachedKeySet = var$16; } var$15 = var$15.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); var$17 = $var7.$tagMap; if (var$16 === null) { var$17 = var$17.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { o: { if (!var$16.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$16.$nativeString.length) break o; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $var5 = var$16.$hashCode1; var$13 = var$17.$elementData.data; var$17 = var$13[$var5 & (var$13.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == $var5) { var$9 = var$17.$key; if (var$16 !== var$9 && !jl_String_equals(var$16, var$9) ? 0 : 1) break; } var$17 = var$17.$next3; } } var$17 = var$17 === null ? null : var$17.$value1; var$17 = var$17.$copy(); var$9 = $var9.$tagMap; if (var$16 !== null) var$17.$name = var$16; else var$17.$name = $rt_s(18); ju_HashMap_putImpl(var$9, var$16, var$17); } $var8.$stackTagCompound = $var9; } $par1Slot.$itemStack0 = $var8; if (!$var6.$disconnected) $var6.$netManager.$addToSendQueue($par1Slot); } $var11.$itemStack = null; if ($par3 != 1) return; var$9 = $var11.$itemStack; $var7 = new nms_ItemStack; $par3 = var$9.$itemID; $par4 = var$9.$itemDamage; nms_ItemStack_$callClinit(); $var7.$itemID = $par3; $var7.$stackSize = 1; $var7.$itemDamage = $par4; if ($par4 < 0) $var7.$itemDamage = 0; $par1Slot = var$9.$stackTagCompound; if ($par1Slot !== null) { $var6 = new nms_NBTTagCompound; $var8 = $par1Slot.$name; if ($var8 === null) $var8 = $rt_s(18); $var6.$name = $var8; $var8 = new ju_HashMap; $par3 = ju_HashMap_calculateCapacity(16); $var8.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $par3); var$13 = var$12.data; $var8.$elementData = var$12; $var8.$loadFactor = 0.75; $var8.$threshold = var$13.length * 0.75 | 0; $var6.$tagMap = $var8; $var8 = $par1Slot.$tagMap; if ($var8.$cachedKeySet === null) { $var9 = new ju_HashMap$1; $var9.$this$0 = $var8; $var8.$cachedKeySet = $var9; } $var8 = $var8.$cachedKeySet.$iterator(); while ($var8.$hasNext()) { $var9 = $var8.$next(); var$15 = $par1Slot.$tagMap; if ($var9 === null) { var$15 = var$15.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { p: { if (!$var9.$hashCode1) { $par3 = 0; while (true) { if ($par3 >= $var9.$nativeString.length) break p; $var9.$hashCode1 = (31 * $var9.$hashCode1 | 0) + $var9.$nativeString.charCodeAt($par3) | 0; $par3 = $par3 + 1 | 0; } } } $var5 = $var9.$hashCode1; var$13 = var$15.$elementData.data; var$15 = var$13[$var5 & (var$13.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == $var5) { q: { var$16 = var$15.$key; if ($var9 !== var$16) { if ($var9 === var$16) $par3 = 1; else if (!(var$16 instanceof jl_String)) $par3 = 0; else { var$16 = var$16; $par3 = $var9.$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$par3) { $par3 = 0; break q; } } $par3 = 1; } if ($par3) break; } var$15 = var$15.$next3; } } var$15 = var$15 === null ? null : var$15.$value1; var$15 = var$15.$copy(); var$16 = $var6.$tagMap; if ($var9 !== null) var$15.$name = $var9; else var$15.$name = $rt_s(18); ju_HashMap_putImpl(var$16, $var9, var$15); } $var7.$stackTagCompound = $var6; } var$9.$stackSize = var$9.$stackSize - 1 | 0; $par1Slot = $this.$mc.$thePlayer; $par2 = 0; $ptr = 5; continue main; case 2: r: { s: { nms_Container_slotClick($var6, $par2, $par3, $par4, $var11); if ($rt_suspending()) { break main; } if (($par3 & 3) != 2) { if ($par1Slot === null) break s; $var6 = $this.$inventorySlots0; $par2 = $par1Slot.$slotNumber; $var6 = $var6.$inventorySlots; if ($par2 >= 0 && $par2 < $var6.$size0) { $var6 = $var6.$array.data[$par2].$getStack(); $var11 = $this.$mc.$playerController; $par2 = (($par1Slot.$slotNumber - $this.$inventorySlots0.$inventorySlots.$size0 | 0) + 9 | 0) + 36 | 0; if ($var11.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) { $var11 = $var11.$netClientHandler; $par1Slot = new nms_Packet107CreativeSetSlot; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1Slot.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1Slot.$slot = $par2; if ($var6 === null) $var8 = null; else { $var8 = new nms_ItemStack; $par2 = $var6.$itemID; $par3 = $var6.$stackSize; $par4 = $var6.$itemDamage; nms_ItemStack_$callClinit(); $var8.$itemID = $par2; $var8.$stackSize = $par3; $var8.$itemDamage = $par4; if ($par4 < 0) $var8.$itemDamage = 0; $var6 = $var6.$stackTagCompound; if ($var6 !== null) { $var7 = new nms_NBTTagCompound; $var9 = $var6.$name; if ($var9 === null) $var9 = $rt_s(18); $var7.$name = $var9; $var9 = new ju_HashMap; ju_AbstractMap__init_($var9); $par2 = ju_HashMap_calculateCapacity(16); $var9.$elementCount = 0; $var9.$elementData = ju_HashMap_newElementArray($var9, $par2); $var9.$loadFactor = 0.75; ju_HashMap_computeThreshold($var9); $var7.$tagMap = $var9; $var9 = $var6.$tagMap; if ($var9.$cachedKeySet === null) { var$15 = new ju_HashMap$1; var$15.$this$0 = $var9; jl_Object__init_(var$15); $var9.$cachedKeySet = var$15; } $var9 = $var9.$cachedKeySet.$iterator(); while ($var9.$hasNext()) { var$15 = $var9.$next(); var$16 = $var6.$tagMap; if (var$15 === null) { var$16 = var$16.$elementData.data[0]; while (var$16 !== null && var$16.$key !== null) { var$16 = var$16.$next3; } } else { t: { if (!var$15.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$15.$nativeString.length) break t; var$15.$hashCode1 = (31 * var$15.$hashCode1 | 0) + var$15.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = var$15.$hashCode1; var$13 = var$16.$elementData.data; var$16 = var$13[$par4 & (var$13.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par4) { var$17 = var$16.$key; if (var$15 !== var$17 && !jl_String_equals(var$15, var$17) ? 0 : 1) break; } var$16 = var$16.$next3; } } var$16 = var$16 === null ? null : var$16.$value1; var$16 = var$16.$copy(); var$17 = $var7.$tagMap; if (var$15 !== null) var$16.$name = var$15; else var$16.$name = $rt_s(18); ju_HashMap_putImpl(var$17, var$15, var$16); } $var8.$stackTagCompound = $var7; } } $par1Slot.$itemStack0 = $var8; if (!$var11.$disconnected) $var11.$netManager.$addToSendQueue($par1Slot); } break s; } $par1Slot = new jl_IndexOutOfBoundsException; $par1Slot.$suppressionEnabled = 1; $par1Slot.$writableStackTrace = 1; $rt_throw($par1Slot); } $var10 = 0; while (true) { if ($var10 >= 9) break s; $par1Slot = $this.$mc.$playerController; $var6 = $this.$inventorySlots0; $par2 = 45 + $var10 | 0; $var6 = $var6.$inventorySlots; if ($par2 < 0) break r; if ($par2 >= $var6.$size0) break r; $var6 = $var6.$array.data[$par2].$getStack(); $par2 = 36 + $var10 | 0; if ($par1Slot.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) { $var11 = $par1Slot.$netClientHandler; $par1Slot = new nms_Packet107CreativeSetSlot; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1Slot.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1Slot.$slot = $par2; if ($var6 === null) $var8 = null; else { $var8 = new nms_ItemStack; $par2 = $var6.$itemID; $par3 = $var6.$stackSize; $par4 = $var6.$itemDamage; nms_ItemStack_$callClinit(); $var8.$itemID = $par2; $var8.$stackSize = $par3; $var8.$itemDamage = $par4; if ($par4 < 0) $var8.$itemDamage = 0; $var6 = $var6.$stackTagCompound; if ($var6 !== null) { $var7 = new nms_NBTTagCompound; $var9 = $var6.$name; if ($var9 === null) $var9 = $rt_s(18); $var7.$name = $var9; $var9 = new ju_HashMap; ju_AbstractMap__init_($var9); $par2 = ju_HashMap_calculateCapacity(16); $var9.$elementCount = 0; $var9.$elementData = ju_HashMap_newElementArray($var9, $par2); $var9.$loadFactor = 0.75; ju_HashMap_computeThreshold($var9); $var7.$tagMap = $var9; $var9 = $var6.$tagMap; if ($var9.$cachedKeySet === null) { var$15 = new ju_HashMap$1; var$15.$this$0 = $var9; jl_Object__init_(var$15); $var9.$cachedKeySet = var$15; } $var9 = $var9.$cachedKeySet.$iterator(); while ($var9.$hasNext()) { var$15 = $var9.$next(); var$16 = $var6.$tagMap; if (var$15 === null) { var$17 = var$16.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { u: { if (!var$15.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$15.$nativeString.length) break u; var$15.$hashCode1 = (31 * var$15.$hashCode1 | 0) + var$15.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par3 = var$15.$hashCode1; var$13 = var$16.$elementData.data; var$17 = var$13[$par3 & (var$13.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == $par3) { var$16 = var$17.$key; if (var$15 !== var$16 && !jl_String_equals(var$15, var$16) ? 0 : 1) break; } var$17 = var$17.$next3; } } var$16 = var$17 === null ? null : var$17.$value1; var$16 = var$16.$copy(); var$17 = $var7.$tagMap; if (var$15 !== null) var$16.$name = var$15; else var$16.$name = $rt_s(18); ju_HashMap_putImpl(var$17, var$15, var$16); } $var8.$stackTagCompound = $var7; } } $par1Slot.$itemStack0 = $var8; if (!$var11.$disconnected) $var11.$netManager.$addToSendQueue($par1Slot); } $var10 = $var10 + 1 | 0; } } return; } $par1Slot = new jl_IndexOutOfBoundsException; $par1Slot.$suppressionEnabled = 1; $par1Slot.$writableStackTrace = 1; $rt_throw($par1Slot); case 3: nms_EntityPlayer_dropPlayerItemWithRandomChoice($var6, $var11, $par2); if ($rt_suspending()) { break main; } $par1Slot = $this.$mc; $var6 = $par1Slot.$playerController; $var8 = $par1Slot.$thePlayer.$inventory.$itemStack; $par2 = $var6.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1; if ($par2 && $var8 !== null) { $var6 = $var6.$netClientHandler; $par1Slot = new nms_Packet107CreativeSetSlot; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1Slot.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1Slot.$slot = (-1); $var11 = new nms_ItemStack; $par2 = $var8.$itemID; $par3 = $var8.$stackSize; $par4 = $var8.$itemDamage; nms_ItemStack_$callClinit(); $var11.$itemID = $par2; $var11.$stackSize = $par3; $var11.$itemDamage = $par4; if ($par4 < 0) $var11.$itemDamage = 0; $var8 = $var8.$stackTagCompound; if ($var8 !== null) { $var7 = new nms_NBTTagCompound; $var9 = $var8.$name; if ($var9 === null) $var9 = $rt_s(18); $var7.$name = $var9; $var9 = new ju_HashMap; ju_AbstractMap__init_($var9); $par2 = ju_HashMap_calculateCapacity(16); $var9.$elementCount = 0; $var9.$elementData = ju_HashMap_newElementArray($var9, $par2); $var9.$loadFactor = 0.75; ju_HashMap_computeThreshold($var9); $var7.$tagMap = $var9; $var9 = $var8.$tagMap; if ($var9.$cachedKeySet === null) { var$15 = new ju_HashMap$1; var$15.$this$0 = $var9; jl_Object__init_(var$15); $var9.$cachedKeySet = var$15; } $var9 = $var9.$cachedKeySet.$iterator(); while ($var9.$hasNext()) { var$15 = $var9.$next(); var$16 = $var8.$tagMap; if (var$15 === null) { var$16 = var$16.$elementData.data[0]; while (var$16 !== null && var$16.$key !== null) { var$16 = var$16.$next3; } } else { o: { if (!var$15.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$15.$nativeString.length) break o; var$15.$hashCode1 = (31 * var$15.$hashCode1 | 0) + var$15.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = var$15.$hashCode1; var$13 = var$16.$elementData.data; var$16 = var$13[$par4 & (var$13.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par4) { var$17 = var$16.$key; if (var$15 !== var$17 && !jl_String_equals(var$15, var$17) ? 0 : 1) break; } var$16 = var$16.$next3; } } var$16 = var$16 === null ? null : var$16.$value1; var$16 = var$16.$copy(); var$17 = $var7.$tagMap; if (var$15 !== null) var$16.$name = var$15; else var$16.$name = $rt_s(18); ju_HashMap_putImpl(var$17, var$15, var$16); } $var11.$stackTagCompound = $var7; } $par1Slot.$itemStack0 = $var11; if (!$var6.$disconnected) $var6.$netManager.$addToSendQueue($par1Slot); } $this.$mc.$thePlayer.$inventory.$itemStack = null; return; case 4: nms_Container_slotClick($var11, $par2, $par3, $par4, $var6); if ($rt_suspending()) { break main; } nms_Container_detectAndSendChanges($this.$mc.$thePlayer.$inventoryContainer); return; case 5: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1Slot, $var7, $par2); if ($rt_suspending()) { break main; } $par1Slot = $this.$mc.$playerController; if ($par1Slot.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) { $var6 = $par1Slot.$netClientHandler; $par1Slot = new nms_Packet107CreativeSetSlot; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1Slot.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1Slot.$slot = (-1); $var8 = new nms_ItemStack; $par2 = $var7.$itemID; $par3 = $var7.$stackSize; $par4 = $var7.$itemDamage; $var8.$itemID = $par2; $var8.$stackSize = $par3; $var8.$itemDamage = $par4; if ($par4 < 0) $var8.$itemDamage = 0; $var7 = $var7.$stackTagCompound; if ($var7 !== null) { $var9 = new nms_NBTTagCompound; var$15 = $var7.$name; if (var$15 === null) var$15 = $rt_s(18); $var9.$name = var$15; var$15 = new ju_HashMap; ju_AbstractMap__init_(var$15); $par2 = ju_HashMap_calculateCapacity(16); var$15.$elementCount = 0; var$15.$elementData = ju_HashMap_newElementArray(var$15, $par2); var$15.$loadFactor = 0.75; ju_HashMap_computeThreshold(var$15); $var9.$tagMap = var$15; var$15 = $var7.$tagMap; if (var$15.$cachedKeySet === null) { var$16 = new ju_HashMap$1; var$16.$this$0 = var$15; jl_Object__init_(var$16); var$15.$cachedKeySet = var$16; } var$15 = var$15.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); var$17 = $var7.$tagMap; if (var$16 === null) { var$17 = var$17.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { o: { if (!var$16.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$16.$nativeString.length) break o; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = var$16.$hashCode1; var$13 = var$17.$elementData.data; var$17 = var$13[$par4 & (var$13.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == $par4) { var$9 = var$17.$key; if (var$16 !== var$9 && !jl_String_equals(var$16, var$9) ? 0 : 1) break; } var$17 = var$17.$next3; } } var$17 = var$17 === null ? null : var$17.$value1; var$17 = var$17.$copy(); var$9 = $var9.$tagMap; if (var$16 !== null) var$17.$name = var$16; else var$17.$name = $rt_s(18); ju_HashMap_putImpl(var$9, var$16, var$17); } $var8.$stackTagCompound = $var9; } $par1Slot.$itemStack0 = $var8; if (!$var6.$disconnected) $var6.$netManager.$addToSendQueue($par1Slot); } if (!$var11.$itemStack.$stackSize) $var11.$itemStack = null; return; case 6: $tmp = $par1Slot.$decrStackSize0($par2); if ($rt_suspending()) { break main; } $var6 = $tmp; $par1Slot = $this.$mc.$thePlayer; $par2 = 0; $ptr = 7; case 7: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1Slot, $var6, $par2); if ($rt_suspending()) { break main; } $par1Slot = $this.$mc.$playerController; $par2 = $par1Slot.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1; if ($par2 && $var6 !== null) { $var11 = $par1Slot.$netClientHandler; $par1Slot = new nms_Packet107CreativeSetSlot; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1Slot.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1Slot.$slot = (-1); $var8 = new nms_ItemStack; $par2 = $var6.$itemID; $par3 = $var6.$stackSize; $par4 = $var6.$itemDamage; nms_ItemStack_$callClinit(); $var8.$itemID = $par2; $var8.$stackSize = $par3; $var8.$itemDamage = $par4; if ($par4 < 0) $var8.$itemDamage = 0; $var6 = $var6.$stackTagCompound; if ($var6 !== null) { $var7 = new nms_NBTTagCompound; $var9 = $var6.$name; if ($var9 === null) $var9 = $rt_s(18); $var7.$name = $var9; $var9 = new ju_HashMap; ju_AbstractMap__init_($var9); $par2 = ju_HashMap_calculateCapacity(16); $var9.$elementCount = 0; $var9.$elementData = ju_HashMap_newElementArray($var9, $par2); $var9.$loadFactor = 0.75; ju_HashMap_computeThreshold($var9); $var7.$tagMap = $var9; $var9 = $var6.$tagMap; if ($var9.$cachedKeySet === null) { var$15 = new ju_HashMap$1; var$15.$this$0 = $var9; jl_Object__init_(var$15); $var9.$cachedKeySet = var$15; } $var9 = $var9.$cachedKeySet.$iterator(); while ($var9.$hasNext()) { var$15 = $var9.$next(); var$16 = $var6.$tagMap; if (var$15 === null) { var$16 = var$16.$elementData.data[0]; while (var$16 !== null && var$16.$key !== null) { var$16 = var$16.$next3; } } else { o: { if (!var$15.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$15.$nativeString.length) break o; var$15.$hashCode1 = (31 * var$15.$hashCode1 | 0) + var$15.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = var$15.$hashCode1; var$13 = var$16.$elementData.data; var$16 = var$13[$par4 & (var$13.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par4) { var$17 = var$16.$key; if (var$15 !== var$17 && !jl_String_equals(var$15, var$17) ? 0 : 1) break; } var$16 = var$16.$next3; } } var$16 = var$16 === null ? null : var$16.$value1; var$16 = var$16.$copy(); var$17 = $var7.$tagMap; if (var$15 !== null) var$16.$name = var$15; else var$16.$name = $rt_s(18); ju_HashMap_putImpl(var$17, var$15, var$16); } $var8.$stackTagCompound = $var7; } $par1Slot.$itemStack0 = $var8; if (!$var11.$disconnected) $var11.$netManager.$addToSendQueue($par1Slot); } return; case 8: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1Slot, $var9, $par2); if ($rt_suspending()) { break main; } $par1Slot = $this.$mc.$playerController; if ($par1Slot.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) { $var6 = $par1Slot.$netClientHandler; $par1Slot = new nms_Packet107CreativeSetSlot; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1Slot.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1Slot.$slot = (-1); $var11 = new nms_ItemStack; $par2 = $var9.$itemID; $par3 = $var9.$stackSize; $par4 = $var9.$itemDamage; $var11.$itemID = $par2; $var11.$stackSize = $par3; $var11.$itemDamage = $par4; if ($par4 < 0) $var11.$itemDamage = 0; $var8 = $var9.$stackTagCompound; if ($var8 !== null) { $var7 = new nms_NBTTagCompound; $var9 = $var8.$name; if ($var9 === null) $var9 = $rt_s(18); $var7.$name = $var9; $var9 = new ju_HashMap; ju_AbstractMap__init_($var9); $par2 = ju_HashMap_calculateCapacity(16); $var9.$elementCount = 0; $var9.$elementData = ju_HashMap_newElementArray($var9, $par2); $var9.$loadFactor = 0.75; ju_HashMap_computeThreshold($var9); $var7.$tagMap = $var9; $var9 = $var8.$tagMap; if ($var9.$cachedKeySet === null) { var$15 = new ju_HashMap$1; var$15.$this$0 = $var9; jl_Object__init_(var$15); $var9.$cachedKeySet = var$15; } $var9 = $var9.$cachedKeySet.$iterator(); while ($var9.$hasNext()) { var$15 = $var9.$next(); var$16 = $var8.$tagMap; if (var$15 === null) { var$16 = var$16.$elementData.data[0]; while (var$16 !== null && var$16.$key !== null) { var$16 = var$16.$next3; } } else { o: { if (!var$15.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$15.$nativeString.length) break o; var$15.$hashCode1 = (31 * var$15.$hashCode1 | 0) + var$15.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } $par4 = var$15.$hashCode1; var$13 = var$16.$elementData.data; var$16 = var$13[$par4 & (var$13.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $par4) { var$17 = var$16.$key; if (var$15 !== var$17 && !jl_String_equals(var$15, var$17) ? 0 : 1) break; } var$16 = var$16.$next3; } } var$16 = var$16 === null ? null : var$16.$value1; var$16 = var$16.$copy(); var$17 = $var7.$tagMap; if (var$15 !== null) var$16.$name = var$15; else var$16.$name = $rt_s(18); ju_HashMap_putImpl(var$17, var$15, var$16); } $var11.$stackTagCompound = $var7; } $par1Slot.$itemStack0 = $var11; if (!$var6.$disconnected) $var6.$netManager.$addToSendQueue($par1Slot); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Slot, $par2, $par3, $par4, $var5, $var10, $var11, $var6, var$9, $var7, $var8, var$12, var$13, $var9, var$15, var$16, var$17, $ptr); }, nms_GuiContainerCreative_initGui = $this => { let var$1, var$2, var$3, $var1, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var1 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$mc; if (var$1.$playerController.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) { var$1 = var$1.$thePlayer; var$1.$openContainer = $this.$inventorySlots0; $this.$guiLeft = ($this.$width - $this.$xSize | 0) / 2 | 0; $this.$guiTop = ($this.$height - $this.$ySize | 0) / 2 | 0; var$1 = var$1.$activePotionsMap; if (var$1.$cachedValues === null) { var$2 = new ju_HashMap$2; var$2.$this$01 = var$1; var$1.$cachedValues = var$2; } if (!(var$1.$cachedValues.$size() ? 0 : 1)) { $this.$guiLeft = 160 + ((($this.$width - $this.$xSize | 0) - 200 | 0) / 2 | 0) | 0; $this.$field_74222_o = 1; } var$1 = $this.$buttonList; var$3 = var$1.$array; $var1 = 0; var$5 = var$1.$size0; var$2 = null; if ($var1 > var$5) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while ($var1 < var$5) { var$6 = var$3.data; var$7 = $var1 + 1 | 0; var$6[$var1] = var$2; $var1 = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; var$1 = new nms_GuiTextField; var$2 = $this.$fontRenderer; nms_GuiTextField__init_0(var$1, var$2, $this.$guiLeft + 82 | 0, $this.$guiTop + 6 | 0, 89, var$2.$FONT_HEIGHT); $this.$searchField = var$1; var$1.$maxStringLength = 15; if (var$1.$text.$nativeString.length > 15) var$1.$text = jl_String_substring(var$1.$text, 0, 15); var$1 = $this.$searchField; var$1.$enableBackgroundDrawing = 0; var$1.$visible = 0; var$1.$enabledColor = 16777215; nms_GuiContainerCreative_$callClinit(); $var1 = nms_GuiContainerCreative_selectedTabIndex; nms_GuiContainerCreative_selectedTabIndex = (-1); nms_CreativeTabs_$callClinit(); nms_GuiContainerCreative_setCurrentCreativeTab($this, nms_CreativeTabs_creativeTabArray.data[$var1]); var$1 = new nms_CreativeCrafting; var$2 = $this.$mc; var$1.$mc15 = var$2; $this.$field_82324_x = var$1; var$2 = var$2.$thePlayer.$inventoryContainer; var$8 = var$2.$crafters; var$9 = 0; var$7 = var$8.$modCount; var$10 = var$8.$size(); a: { while (true) { if (!(var$9 >= var$10 ? 0 : 1)) { $var1 = 0; break a; } if (var$7 < var$8.$modCount) break; var$5 = var$9 + 1 | 0; var$11 = var$8.$get(var$9); if (var$11 === var$1 ? 1 : var$11 !== null ? var$11.$equals(var$1) : var$1 !== null ? 0 : 1) { $var1 = 1; break a; } var$9 = var$5; } var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if ($var1) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(2714); $rt_throw(var$1); } var$8 = var$2.$crafters; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$3 = var$8.$array.data; var$5 = var$8.$size0; var$8.$size0 = var$5 + 1 | 0; var$3[var$5] = var$1; var$8.$modCount = var$8.$modCount + 1 | 0; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $var1 = 0; b: { while (true) { var$8 = var$2.$inventorySlots; var$5 = $rt_compare($var1, var$8.$size0); if (var$5 >= 0) break; if ($var1 < 0) break b; if (var$5 >= 0) break b; var$8 = var$8.$array.data[$var1].$getStack(); ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$3 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$3[var$7] = var$8; var$1.$modCount = var$1.$modCount + 1 | 0; $var1 = $var1 + 1 | 0; } nms_Container_detectAndSendChanges(var$2); return; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$2 = new nms_GuiInventory; var$8 = var$1.$thePlayer; var$11 = var$8.$inventoryContainer; nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$12 = new ju_ArrayList; jl_Object__init_(var$12); var$12.$array = $rt_createArray(jl_Object, 10); var$2.$buttonList = var$12; var$2.$allowUserInput = 0; var$2.$selectedButton = null; var$2.$eventButton = 0; var$2.$field_85043_c = Long_ZERO; var$2.$field_92018_d = 0; var$2.$xSize = 176; var$2.$ySize = 166; var$12 = new ju_HashSet; var$13 = new ju_HashMap; jl_Object__init_(var$13); $var1 = ju_HashMap_calculateCapacity(16); var$13.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, $var1); var$3 = var$6.data; var$13.$elementData = var$6; var$13.$loadFactor = 0.75; var$13.$threshold = var$3.length * 0.75 | 0; var$12.$backingMap = var$13; var$2.$field_94077_p = var$12; var$2.$inventorySlots0 = var$11; var$2.$field_94068_E = 1; var$2.$allowUserInput = 1; nms_AchievementList_$callClinit(); var$11 = nms_AchievementList_openInventory; if (var$11 !== null && var$11.$isIndependent) { var$11 = var$11; if (nle_LocalStorageManager_hasMadeAchievement(var$11)) { var$8 = var$8.$mc4.$guiAchievement; nms_StatCollector_$callClinit(); var$8.$achievementGetLocalText = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2498)); var$13 = var$11.$statName; var$8.$achievementStatName = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$13); nlea_EaglerAdapterImpl2_$callClinit(); var$8.$achievementTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$8.$theAchievement = var$11; var$8.$haveAchiement = 0; } } $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $var1, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_GuiContainerCreative_onGuiClosed = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$mc.$thePlayer; if (var$1 === null) { var$1 = $this.$mc.$thePlayer; if (var$1 !== null && var$1.$inventory !== null) { var$1 = var$1.$inventoryContainer; var$2 = $this.$field_82324_x; var$1 = var$1.$crafters; var$3 = var$1.$size0; var$4 = 0; a: { while (true) { var$5 = $rt_compare(var$4, var$3); if (var$5 >= 0) { var$4 = (-1); break a; } if (var$4 < 0) break; if (var$5 >= 0) break; var$6 = var$1.$array.data[var$4]; if (var$2 === var$6 ? 1 : var$2 === null ? (var$6 !== null ? 0 : 1) : var$2 !== var$6 ? 0 : 1) break a; var$4 = var$4 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } if (var$4 >= 0) ju_ArrayList_remove(var$1, var$4); } nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; return; } var$2 = $this.$inventorySlots0; $ptr = 1; case 1: var$2.$onContainerClosed(var$1); if ($rt_suspending()) { break main; } var$1 = $this.$mc.$thePlayer; if (var$1 !== null && var$1.$inventory !== null) { var$1 = var$1.$inventoryContainer; var$2 = $this.$field_82324_x; var$1 = var$1.$crafters; var$3 = var$1.$size0; var$4 = 0; b: { while (true) { var$5 = $rt_compare(var$4, var$3); if (var$5 >= 0) { var$4 = (-1); break b; } if (var$4 < 0) break; if (var$5 >= 0) break; var$6 = var$1.$array.data[var$4]; if (var$2 === var$6 ? 1 : var$2 === null ? (var$6 !== null ? 0 : 1) : var$2 !== var$6 ? 0 : 1) break b; var$4 = var$4 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } if (var$4 >= 0) ju_ArrayList_remove(var$1, var$4); } nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_GuiContainerCreative_keyTyped = ($this, $par1, $par2) => { let var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_GuiContainerCreative_$callClinit(); var$3 = nms_GuiContainerCreative_selectedTabIndex; nms_CreativeTabs_$callClinit(); if (var$3 != nms_CreativeTabs_tabAllSearch.$tabIndex) { var$3 = $this.$mc.$gameSettings.$keyBindChat.$keyCode; if (var$3 >= 0) var$4 = nlea_EaglerAdapterImpl2_isKeyDown(var$3); else { var$4 = var$3 + 100 | 0; nlea_EaglerAdapterImpl2_$callClinit(); var$4 = nlea_EaglerAdapterImpl2_buttonStates.data[var$4]; } if (var$4) { nms_GuiContainerCreative_setCurrentCreativeTab($this, nms_CreativeTabs_tabAllSearch); return; } $ptr = 4; continue main; } if ($this.$field_74234_w) { $this.$field_74234_w = 0; var$5 = $this.$searchField; var$4 = $rt_s(18).$nativeString.length; var$3 = var$5.$maxStringLength; if (var$4 <= var$3) var$5.$text = $rt_s(18); else var$5.$text = jl_String_substring($rt_s(18), 0, var$3); var$5.$cursorPosition = var$5.$text.$nativeString.length; var$3 = var$5.$text.$nativeString.length; if (var$5.$cursorPosition < 0) var$5.$cursorPosition = 0; if (var$5.$cursorPosition > var$3) var$5.$cursorPosition = var$3; nms_GuiTextField_setSelectionPos(var$5, var$5.$cursorPosition); } $ptr = 1; case 1: $tmp = nms_GuiContainer_checkHotbarKeys($this, $par2); if ($rt_suspending()) { break main; } var$4 = $tmp; if (var$4) return; var$5 = $this.$searchField; $ptr = 2; case 2: $tmp = nms_GuiTextField_textboxKeyTyped(var$5, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = $tmp; if (var$4) { nms_GuiContainerCreative_updateCreativeSearch($this); return; } $ptr = 3; case 3: nms_GuiContainer_keyTyped($this, $par1, $par2); if ($rt_suspending()) { break main; } return; case 4: nms_GuiContainer_keyTyped($this, $par1, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, $ptr); }, nms_GuiContainerCreative_updateCreativeSearch = $this => { let $var1, $var5, $var2, $var3, $var4, $var11, $var8, $var13, $var9, $var12, $var7, var$12, $var10, $var6$index, $var6$index_0; $var1 = $this.$inventorySlots0; $var5 = $var1.$itemList; $var2 = $var5.$array; $var3 = 0; $var4 = $var5.$size0; $var11 = null; if ($var3 > $var4) { $var1 = new jl_IllegalArgumentException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } while ($var3 < $var4) { $var8 = $var2.data; $var13 = $var3 + 1 | 0; $var8[$var3] = $var11; $var3 = $var13; } $var5.$size0 = 0; $var5.$modCount = $var5.$modCount + 1 | 0; nms_Item_$callClinit(); $var2 = nms_Item_itemsList.data; $var3 = $var2.length; $var4 = 0; $var9 = null; while ($var4 < $var3) { $var5 = $var2[$var4]; if ($var5 !== null && $var5.$getCreativeTab() !== null) $var5.$getSubItems($var5.$itemID0, $var9, $var1.$itemList); $var4 = $var4 + 1 | 0; } nms_Enchantment_$callClinit(); $var2 = nms_Enchantment_enchantmentsList.data; $var3 = $var2.length; $var4 = 0; while ($var4 < $var3) { $var11 = $var2[$var4]; if ($var11 !== null && $var11.$type !== null) { $var5 = nms_Item_enchantedBook; $var9 = $var1.$itemList; $var13 = 1; while ($var13 <= $var11.$getMaxLevel()) { $var12 = new nms_EnchantmentData; $var12.$itemWeight = $var11.$weight; $var12.$enchantmentobj = $var11; $var12.$enchantmentLevel = $var13; $var7 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var7.$itemID = $var5.$itemID0; $var7.$stackSize = 1; $var7.$itemDamage = 0; nms_ItemEnchantedBook_addEnchantment($var5, $var7, $var12); ju_ArrayList_ensureCapacity($var9, $var9.$size0 + 1 | 0); $var8 = $var9.$array.data; var$12 = $var9.$size0; $var9.$size0 = var$12 + 1 | 0; $var8[var$12] = $var7; $var9.$modCount = $var9.$modCount + 1 | 0; $var13 = $var13 + 1 | 0; } } $var4 = $var4 + 1 | 0; } $var5 = $var1.$itemList; $var9 = new ju_AbstractList$1; $var9.$this$00 = $var5; $var9.$modCount1 = $var5.$modCount; $var9.$size3 = $var5.$size(); $var9.$removeIndex = (-1); $var10 = $this.$searchField.$text; $var5 = $var10.$nativeString.toLowerCase(); if ($var5 !== $var10.$nativeString) $var10 = jl_String__init_($var5); while (true) { $var3 = $var9.$index0; if (!($var3 >= $var9.$size3 ? 0 : 1)) break; $var4 = $var9.$modCount1; $var5 = $var9.$this$00; if ($var4 < $var5.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var9.$removeIndex = $var3; $var9.$index0 = $var3 + 1 | 0; $var12 = $var5.$get($var3); $var13 = 0; $var5 = $this.$mc; $var5 = nms_ItemStack_getTooltip($var12, $var5.$thePlayer, $var5.$gameSettings.$advancedItemTooltips); $var4 = $var5.$modCount; var$12 = $var5.$size(); $var6$index = 0; a: { while ($var6$index >= var$12 ? 0 : 1) { if ($var4 < $var5.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var6$index_0 = $var6$index + 1 | 0; $var7 = $var5.$get($var6$index); $var11 = $var7.$nativeString.toLowerCase(); if ($var11 !== $var7.$nativeString) $var7 = jl_String__init_($var11); if (jl_String_contains($var7, $var10)) { $var13 = 1; break a; } $var6$index = $var6$index_0; } } if (!$var13) ju_AbstractList$1_remove($var9); } $this.$currentScroll = 0.0; nms_ContainerCreative_scrollTo($var1, 0.0); }, nms_GuiContainerCreative_drawGuiContainerForegroundLayer = ($this, $par1, $par2) => { let var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_CreativeTabs_$callClinit(); var$3 = nms_CreativeTabs_creativeTabArray.data; nms_GuiContainerCreative_$callClinit(); $var3 = var$3[nms_GuiContainerCreative_selectedTabIndex]; if (!$var3.$drawTitle) return; var$5 = $this.$fontRenderer; var$6 = $var3.$tabLabel; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $rt_s(2817)); $par1 = $var3.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert($var3, $par1, var$6); var$7 = new jl_String; var$3 = $var3.$buffer; var$8 = var$3.data; $par2 = $var3.$length0; var$9 = var$8.length; if ($par2 >= 0 && $par2 <= (var$9 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$3.data, 0, $par2); nms_StatCollector_$callClinit(); $var3 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$7); $par1 = 8; $par2 = 6; var$9 = 4210752; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = 0; $ptr = 1; continue main; } $var3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var3); $rt_throw($var3); case 1: nms_FontRenderer_renderString(var$5, $var3, $par1, $par2, var$9, var$10); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_GuiContainerCreative_mouseClicked = ($this, $par1, $par2, $par3) => { let $var4, $var5, $var6, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$par3) { $var4 = $par1 - $this.$guiLeft | 0; $var5 = $par2 - $this.$guiTop | 0; nms_CreativeTabs_$callClinit(); $var6 = nms_CreativeTabs_creativeTabArray.data; $var7 = $var6.length; $var8 = 0; while (true) { if ($var8 >= $var7) break a; if (nms_GuiContainerCreative_func_74232_a($this, $var6[$var8], $var4, $var5)) break; $var8 = $var8 + 1 | 0; } return; } } $ptr = 1; case 1: nms_GuiContainer_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var5, $var6, $var7, $var8, $ptr); }, nms_GuiContainerCreative_mouseMovedOrUp = ($this, $par1, $par2, $par3) => { let $var4, $var5, $var6, $var7, $var8, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$par3) { $var4 = $par1 - $this.$guiLeft | 0; $var5 = $par2 - $this.$guiTop | 0; nms_CreativeTabs_$callClinit(); $var6 = nms_CreativeTabs_creativeTabArray.data; $var7 = $var6.length; $var8 = 0; while (true) { if ($var8 >= $var7) break a; $var9 = $var6[$var8]; if (nms_GuiContainerCreative_func_74232_a($this, $var9, $var4, $var5)) break; $var8 = $var8 + 1 | 0; } nms_GuiContainerCreative_setCurrentCreativeTab($this, $var9); return; } } $ptr = 1; case 1: nms_GuiContainer_mouseMovedOrUp($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var5, $var6, $var7, $var8, $var9, $ptr); }, nms_GuiContainerCreative_needsScrollBars = $this => { let var$1; nms_GuiContainerCreative_$callClinit(); var$1 = nms_GuiContainerCreative_selectedTabIndex; nms_CreativeTabs_$callClinit(); return var$1 != nms_CreativeTabs_tabInventory.$tabIndex && nms_CreativeTabs_creativeTabArray.data[var$1].$hasScrollbar && ($this.$inventorySlots0.$itemList.$size0 <= 45 ? 0 : 1) ? 1 : 0; }, nms_GuiContainerCreative_setCurrentCreativeTab = ($this, $par1CreativeTabs) => { let $var2, $var3, $var4, var$5, var$6, $var5, $var7, $var8, var$10, $var6, var$12, $var9; nms_GuiContainerCreative_$callClinit(); $var2 = nms_GuiContainerCreative_selectedTabIndex; nms_GuiContainerCreative_selectedTabIndex = $par1CreativeTabs.$tabIndex; $var3 = $this.$inventorySlots0; $var4 = $this.$field_94077_p.$backingMap; if ($var4.$elementCount > 0) { $var4.$elementCount = 0; var$5 = $var4.$elementData.data; var$6 = null; $var5 = 0; $var7 = var$5.length; if ($var5 > $var7) { $par1CreativeTabs = new jl_IllegalArgumentException; $par1CreativeTabs.$suppressionEnabled = 1; $par1CreativeTabs.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1CreativeTabs); $rt_throw($par1CreativeTabs); } while ($var5 < $var7) { $var8 = $var5 + 1 | 0; var$5[$var5] = var$6; $var5 = $var8; } $var4.$modCount0 = $var4.$modCount0 + 1 | 0; } $var4 = $var3.$itemList; var$5 = $var4.$array; $var5 = 0; $var7 = $var4.$size0; var$6 = null; if ($var5 > $var7) { $par1CreativeTabs = new jl_IllegalArgumentException; $par1CreativeTabs.$suppressionEnabled = 1; $par1CreativeTabs.$writableStackTrace = 1; $rt_throw($par1CreativeTabs); } while ($var5 < $var7) { var$10 = var$5.data; $var8 = $var5 + 1 | 0; var$10[$var5] = var$6; $var5 = $var8; } a: { $var4.$size0 = 0; $var4.$modCount = $var4.$modCount + 1 | 0; nms_CreativeTabs_displayAllReleventItems($par1CreativeTabs, $var4); $var4 = nms_CreativeTabs_tabInventory; if ($par1CreativeTabs === $var4) { $var4 = $this.$mc.$thePlayer.$inventoryContainer; if ($this.$backupContainerSlots === null) $this.$backupContainerSlots = $var3.$inventorySlots; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var3.$inventorySlots = var$6; $var5 = 0; while (true) { var$6 = $var4.$inventorySlots; $var2 = $rt_compare($var5, var$6.$size0); if ($var2 >= 0) { var$6 = new nms_Slot; var$6.$inventory0 = nms_GuiContainerCreative_inventory; var$6.$slotIndex = 0; var$6.$xDisplayPosition = 173; var$6.$yDisplayPosition = 112; $this.$field_74235_v = var$6; $var4 = $var3.$inventorySlots; ju_ArrayList_ensureCapacity($var4, $var4.$size0 + 1 | 0); var$5 = $var4.$array.data; $var5 = $var4.$size0; $var4.$size0 = $var5 + 1 | 0; var$5[$var5] = var$6; $var4.$modCount = $var4.$modCount + 1 | 0; break a; } $var6 = new nms_SlotCreativeInventory; if ($var5 < 0) break; if ($var2 >= 0) break; var$12 = var$6.$array.data[$var5]; $var6.$inventory0 = var$12.$inventory0; $var6.$slotIndex = $var5; $var6.$xDisplayPosition = 0; $var6.$yDisplayPosition = 0; $var6.$theCreativeInventory = $this; $var6.$theSlot0 = var$12; var$6 = $var3.$inventorySlots; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$5 = var$6.$array.data; $var7 = var$6.$size0; var$6.$size0 = $var7 + 1 | 0; var$5[$var7] = $var6; var$6.$modCount = var$6.$modCount + 1 | 0; $var2 = $rt_compare($var5, 5); if ($var2 >= 0 && $var5 < 9) { $var7 = $var5 - 5 | 0; $var8 = $var7 / 2 | 0; $var9 = $var7 % 2 | 0; $var6.$xDisplayPosition = 9 + ($var8 * 54 | 0) | 0; $var6.$yDisplayPosition = 6 + ($var9 * 27 | 0) | 0; } else if ($var5 >= 0 && $var2 < 0) { $var6.$yDisplayPosition = (-2000); $var6.$xDisplayPosition = (-2000); } else if ($var5 < $var4.$inventorySlots.$size0) { $var7 = $var5 - 9 | 0; $var8 = $var7 % 9 | 0; $var9 = $var7 / 9 | 0; $var6.$xDisplayPosition = 9 + ($var8 * 18 | 0) | 0; if ($var5 >= 36) $var6.$yDisplayPosition = 112; else $var6.$yDisplayPosition = 54 + ($var9 * 18 | 0) | 0; } $var5 = $var5 + 1 | 0; } $par1CreativeTabs = new jl_IndexOutOfBoundsException; $par1CreativeTabs.$suppressionEnabled = 1; $par1CreativeTabs.$writableStackTrace = 1; $rt_throw($par1CreativeTabs); } else if ($var2 == $var4.$tabIndex) { $var3.$inventorySlots = $this.$backupContainerSlots; $this.$backupContainerSlots = null; } } $var4 = $this.$searchField; if ($var4 !== null) { if ($par1CreativeTabs !== nms_CreativeTabs_tabAllSearch) { $var4.$visible = 0; $var4.$canLoseFocus = 1; $var4.$isFocused0 = 0; } else { $var4.$visible = 1; $var4.$canLoseFocus = 0; if (!$var4.$isFocused0) $var4.$cursorCounter = 0; $var4.$isFocused0 = 1; $var2 = $rt_s(18).$nativeString.length; $var5 = $var4.$maxStringLength; if ($var2 <= $var5) $var4.$text = $rt_s(18); else $var4.$text = jl_String_substring($rt_s(18), 0, $var5); $var4.$cursorPosition = $var4.$text.$nativeString.length; $var5 = $var4.$text.$nativeString.length; if ($var4.$cursorPosition < 0) $var4.$cursorPosition = 0; if ($var4.$cursorPosition > $var5) $var4.$cursorPosition = $var5; nms_GuiTextField_setSelectionPos($var4, $var4.$cursorPosition); nms_GuiContainerCreative_updateCreativeSearch($this); } } $this.$currentScroll = 0.0; nms_ContainerCreative_scrollTo($var3, 0.0); }, nms_GuiContainerCreative_handleMouseInput = $this => { let $var1, var$2, $var2, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_handleMouseInput($this); if ($rt_suspending()) { break main; } $var1 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var1 && nms_GuiContainerCreative_needsScrollBars($this)) { var$2 = $this.$inventorySlots0; $var2 = ((var$2.$itemList.$size0 / 9 | 0) - 5 | 0) + 1 | 0; if ($var1 > 0) $var1 = 1; if ($var1 < 0) $var1 = (-1); var$4 = $this.$currentScroll - $var1 / $var2; $this.$currentScroll = var$4; if (var$4 < 0.0) $this.$currentScroll = 0.0; if ($this.$currentScroll > 1.0) $this.$currentScroll = 1.0; nms_ContainerCreative_scrollTo(var$2, $this.$currentScroll); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $var2, var$4, $ptr); }, nms_GuiContainerCreative_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, $var5, $var6, $var7, $var8, $var9, $var10, var$11, $var11, $var12, $var13, $var14, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); $var4 = nlea_EaglerAdapterImpl2_buttonStates.data[0]; $var5 = $this.$guiLeft; $var6 = $this.$guiTop; $var7 = $var5 + 175 | 0; $var8 = $var6 + 18 | 0; $var9 = $var7 + 14 | 0; $var10 = $var8 + 112 | 0; if (!$this.$wasClicking && $var4 && $par1 >= $var7 && $par2 >= $var8 && $par1 < $var9 && $par2 < $var10) $this.$isScrolling = nms_GuiContainerCreative_needsScrollBars($this); if (!$var4) $this.$isScrolling = 0; $this.$wasClicking = $var4; if ($this.$isScrolling) { var$11 = (($par2 - $var8 | 0) - 7.5) / (($var10 - $var8 | 0) - 15.0); $this.$currentScroll = var$11; if (var$11 < 0.0) $this.$currentScroll = 0.0; if ($this.$currentScroll > 1.0) $this.$currentScroll = 1.0; nms_ContainerCreative_scrollTo($this.$inventorySlots0, $this.$currentScroll); } $ptr = 1; case 1: nms_GuiContainer_drawScreen($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } if ($this.$field_74222_o) { $ptr = 2; continue main; } nms_CreativeTabs_$callClinit(); $var11 = nms_CreativeTabs_creativeTabArray.data; $var12 = $var11.length; $var13 = 0; if ($var13 < $var12) { $var14 = $var11[$var13]; $ptr = 3; continue main; } var$16 = $this.$field_74235_v; if (var$16 !== null) { nms_GuiContainerCreative_$callClinit(); if (nms_GuiContainerCreative_selectedTabIndex == nms_CreativeTabs_tabInventory.$tabIndex && nms_GuiContainer_isPointInRegion($this, var$16.$xDisplayPosition, var$16.$yDisplayPosition, 16, 16, $par1, $par2)) { nms_StatCollector_$callClinit(); $var14 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3335)); $var11 = $rt_createArray(jl_String, 1); $var11.data[0] = $var14; $var14 = new ju_Arrays$ArrayAsList; $var14.$array2 = $var11; $ptr = 4; continue main; } } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(2896); return; case 2: nms_InventoryEffectRenderer_displayDebuffEffects($this); if ($rt_suspending()) { break main; } nms_CreativeTabs_$callClinit(); $var11 = nms_CreativeTabs_creativeTabArray.data; $var12 = $var11.length; $var13 = 0; if ($var13 < $var12) { $var14 = $var11[$var13]; $ptr = 3; continue main; } var$16 = $this.$field_74235_v; if (var$16 !== null) { nms_GuiContainerCreative_$callClinit(); if (nms_GuiContainerCreative_selectedTabIndex == nms_CreativeTabs_tabInventory.$tabIndex && nms_GuiContainer_isPointInRegion($this, var$16.$xDisplayPosition, var$16.$yDisplayPosition, 16, 16, $par1, $par2)) { nms_StatCollector_$callClinit(); $var14 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3335)); $var11 = $rt_createArray(jl_String, 1); $var11.data[0] = $var14; $var14 = new ju_Arrays$ArrayAsList; $var14.$array2 = $var11; $ptr = 4; continue main; } } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(2896); return; case 3: $tmp = nms_GuiContainerCreative_renderCreativeInventoryHoveringText($this, $var14, $par1, $par2); if ($rt_suspending()) { break main; } $var7 = $tmp; if (!$var7) { $var13 = $var13 + 1 | 0; if ($var13 < $var12) { $var14 = $var11[$var13]; continue main; } } var$16 = $this.$field_74235_v; if (var$16 !== null) { nms_GuiContainerCreative_$callClinit(); if (nms_GuiContainerCreative_selectedTabIndex == nms_CreativeTabs_tabInventory.$tabIndex && nms_GuiContainer_isPointInRegion($this, var$16.$xDisplayPosition, var$16.$yDisplayPosition, 16, 16, $par1, $par2)) { nms_StatCollector_$callClinit(); $var14 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3335)); $var11 = $rt_createArray(jl_String, 1); $var11.data[0] = $var14; $var14 = new ju_Arrays$ArrayAsList; $var14.$array2 = $var11; $ptr = 4; continue main; } } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(2896); return; case 4: nms_GuiContainer_func_102021_a($this, $var14, $par1, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(2896); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var5, $var6, $var7, $var8, $var9, $var10, var$11, $var11, $var12, $var13, $var14, var$16, $ptr); }, nms_GuiContainerCreative_drawItemStackTooltip = ($this, $par1ItemStack, $par2, $par3) => { let $var9, $var5, $var4, $var11, $var6, $var8, $var7, $var10, var$12, var$13, var$14, var$15, $var12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var10 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var11 = $thread.pop();$var4 = $thread.pop();$var5 = $thread.pop();$var9 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_GuiContainerCreative_$callClinit(); $var9 = nms_GuiContainerCreative_selectedTabIndex; nms_CreativeTabs_$callClinit(); if ($var9 != nms_CreativeTabs_tabAllSearch.$tabIndex) { $ptr = 1; continue main; } a: { $var5 = $this.$mc; $var4 = nms_ItemStack_getTooltip($par1ItemStack, $var5.$thePlayer, $var5.$gameSettings.$advancedItemTooltips); nms_Item_$callClinit(); $var5 = nms_Item_itemsList.data[$par1ItemStack.$itemID].$getCreativeTab(); if ($var5 !== null) $var11 = $var5; else if ($par1ItemStack.$itemID != nms_Item_enchantedBook.$itemID0) $var11 = $var5; else { $var6 = nms_EnchantmentHelper_getEnchantments($par1ItemStack); if ($var6.$elementCount != 1) $var11 = $var5; else { nms_Enchantment_$callClinit(); $var8 = nms_Enchantment_enchantmentsList; if ($var6.$cachedKeySet === null) { $var11 = new ju_LinkedHashMapKeySet; $var11.$base1 = $var6; $var11.$reversed0 = 0; $var6.$cachedKeySet = $var11; } $var7 = $var6.$cachedKeySet; $var11 = new ju_LinkedHashMapIterator$KeyIterator; $var6 = $var7.$base1; $var9 = $var7.$reversed0; $var11.$base = $var6; $var11.$reversed = $var9; $var11.$expectedModCount0 = $var6.$modCount0; $var6 = !$var9 ? $var6.$head : $var6.$tail; $var8 = $var8.data; $var11.$futureEntry = $var6; $var7 = $var8[(ju_LinkedHashMapIterator$KeyIterator_next($var11)).$value0]; $var8 = nms_CreativeTabs_creativeTabArray.data; $var9 = $var8.length; $var10 = 0; while (true) { if ($var10 >= $var9) { $var11 = $var5; break a; } b: { $var11 = $var8[$var10]; var$12 = $var7.$type; var$13 = $var11.$field_111230_s; if (var$13 === null) var$14 = 0; else { var$13 = var$13.data; var$14 = var$13.length; var$15 = 0; while (var$15 < var$14) { if (var$13[var$15] === var$12) { var$14 = 1; break b; } var$15 = var$15 + 1 | 0; } var$14 = 0; } } if (var$14) break; $var10 = $var10 + 1 | 0; } } } } c: { if ($var11 !== null) { nms_EnumChatFormatting_$callClinit(); $var5 = nms_EnumChatFormatting_BOLD; $var7 = $var5 === null ? $rt_s(1) : $var5.$field_96304_B; $var5 = nms_EnumChatFormatting_BLUE; $var6 = $var5 === null ? $rt_s(1) : $var5.$field_96304_B; var$12 = $var11.$tabLabel; $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(2817)); $var9 = $var5.$length0; if (var$12 === null) var$12 = $rt_s(1); jl_AbstractStringBuilder_insert($var5, $var9, var$12); $var11 = new jl_String; $var8 = $var5.$buffer; var$13 = $var8.data; var$15 = $var5.$length0; $var12 = var$13.length; if (var$15 >= 0 && var$15 <= ($var12 - 0 | 0)) { $var11.$nativeString = $rt_charArrayToString($var8.data, 0, var$15); nms_StatCollector_$callClinit(); $var5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $var11); $var11 = new jl_StringBuilder; $var11.$buffer = $rt_createCharArray(16); $var9 = $var11.$length0; if ($var7 === null) $var7 = $rt_s(1); jl_AbstractStringBuilder_insert($var11, $var9, $var7); $var9 = $var11.$length0; if ($var6 === null) $var6 = $rt_s(1); jl_AbstractStringBuilder_insert($var11, $var9, $var6); $var9 = $var11.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var11, $var9, $var5); $var5 = new jl_String; $var8 = $var11.$buffer; var$13 = $var8.data; $var12 = $var11.$length0; $var9 = var$13.length; if ($var12 >= 0 && $var12 <= ($var9 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString($var8.data, 0, $var12); ju_ArrayList_add0($var4, 1, $var5); break c; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1ItemStack); $rt_throw($par1ItemStack); } } $var12 = 0; d: { e: { f: { g: { h: { while (true) { $var9 = $rt_compare($var12, $var4.$size0); if ($var9 >= 0) { $ptr = 2; continue main; } if (!$var12) { $var5 = otci_IntegerUtil_toUnsignedLogRadixString((nms_Item_itemsList.data[$par1ItemStack.$itemID].$getRarity($par1ItemStack)).$rarityColor, 4); if ($var12 < 0) break d; if ($var12 >= $var4.$size0) break d; $var11 = $var4.$array.data[$var12]; $var6 = new jl_StringBuilder; $var6.$buffer = $rt_createCharArray(16); $var9 = $var6.$length0; jl_AbstractStringBuilder_insertSpace($var6, $var9, $var9 + 1 | 0); $var6.$buffer.data[$var9] = 167; $var9 = $var6.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var6, $var9, $var5); $var9 = $var6.$length0; if ($var11 === null) $var11 = $rt_s(1); jl_AbstractStringBuilder_insert($var6, $var9, $var11); $var5 = new jl_String; $var8 = $var6.$buffer; var$13 = $var8.data; var$14 = $var6.$length0; var$15 = var$13.length; if (var$14 < 0) break e; if (var$14 > (var$15 - 0 | 0)) break e; $var5.$nativeString = $rt_charArrayToString($var8.data, 0, var$14); if ($var12 < 0) break f; if ($var12 >= $var4.$size0) break f; $var4.$array.data[$var12] = $var5; } else { nms_EnumChatFormatting_$callClinit(); $var5 = nms_EnumChatFormatting_GRAY; $var5 = $var5 === null ? $rt_s(1) : $var5.$field_96304_B; if ($var12 < 0) break g; if ($var9 >= 0) break g; $var11 = $var4.$array.data[$var12]; $var6 = new jl_StringBuilder; $var6.$buffer = $rt_createCharArray(16); $var9 = $var6.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var6, $var9, $var5); $var9 = $var6.$length0; if ($var11 === null) $var11 = $rt_s(1); jl_AbstractStringBuilder_insert($var6, $var9, $var11); $var5 = new jl_String; $var8 = $var6.$buffer; var$13 = $var8.data; var$14 = $var6.$length0; var$15 = var$13.length; if (var$14 < 0) break h; if (var$14 > (var$15 - 0 | 0)) break h; $var5.$nativeString = $rt_charArrayToString($var8.data, 0, var$14); if ($var12 < 0) break; if ($var12 >= $var4.$size0) break; $var4.$array.data[$var12] = $var5; } $var12 = $var12 + 1 | 0; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ItemStack); $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); case 1: nms_GuiContainer_drawItemStackTooltip($this, $par1ItemStack, $par2, $par3); if ($rt_suspending()) { break main; } return; case 2: nms_GuiContainer_func_102021_a($this, $var4, $par2, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2, $par3, $var9, $var5, $var4, $var11, $var6, $var8, $var7, $var10, var$12, var$13, var$14, var$15, $var12, $ptr); }, nms_GuiContainerCreative_drawGuiContainerBackgroundLayer = ($this, $par1, $par2, $par3) => { let $var8, var$5, $var5, $var4, $var6, $var7, var$10, var$11, $var9, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var9 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$var8 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPushMatrix(); $var8 = nleg_EaglerAdapterGL30_deevis; $var8.$x = 0.0; $var8.$y = 1.0; $var8.$z = 0.0; $var8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, $var8, $var8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var8 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; jl_Object__init_(var$5); var$5.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var8); $var8.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$5); $var8.$sb = var$5; $var8.$buffer0 = $rt_createCharArray(32); $var8.$autoFlush = 0; $var8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var8 = nleg_EaglerAdapterGL30_deevis; $var8.$x = 1.0; $var8.$y = 0.0; $var8.$z = 0.0; $var8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, $var8, $var8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var8 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; jl_Object__init_(var$5); var$5.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var8); $var8.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$5); $var8.$sb = var$5; $var8.$buffer0 = $rt_createCharArray(32); $var8.$autoFlush = 0; $var8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var8 = nleg_EaglerAdapterGL30_deevis; $var8.$x = 1.0; $var8.$y = (-1.0); $var8.$z = 1.0; $var8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var8, $var8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var8 = new otcic_JSStderrPrintStream; var$5 = new ji_ByteArrayOutputStream; jl_Object__init_(var$5); var$5.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var8); $var8.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$5); $var8.$sb = var$5; $var8.$buffer0 = $rt_createCharArray(32); $var8.$autoFlush = 0; $var8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); nms_CreativeTabs_$callClinit(); $var5 = nms_CreativeTabs_creativeTabArray.data; nms_GuiContainerCreative_$callClinit(); $var4 = $var5[nms_GuiContainerCreative_selectedTabIndex]; $var6 = $var5.length; $var7 = 0; if ($var7 < $var6) { $var8 = $var5[$var7]; var$5 = nms_GuiContainerCreative_field_110424_t; $ptr = 1; continue main; } var$10 = new nle_TextureLocation; var$11 = $var4.$backgroundImageName; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $rt_s(3336)); $var9 = $var8.$length0; if (var$11 === null) var$11 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var9, var$11); var$5 = new jl_String; $var5 = $var8.$buffer; var$13 = $var5.data; var$14 = $var8.$length0; $var6 = var$13.length; if (var$14 >= 0 && var$14 <= ($var6 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString($var5.data, 0, var$14); var$10.$path = var$5; var$10.$glObject = (-1); $var8 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity($var8, $var8.$size0 + 1 | 0); $var5 = $var8.$array.data; var$14 = $var8.$size0; $var8.$size0 = var$14 + 1 | 0; $var5[var$14] = var$10; $var8.$modCount = $var8.$modCount + 1 | 0; $ptr = 3; continue main; } $var8 = new jl_IndexOutOfBoundsException; $var8.$suppressionEnabled = 1; $var8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var8); $rt_throw($var8); case 1: nle_TextureLocation_bindTexture(var$5); if ($rt_suspending()) { break main; } if ($var8.$tabIndex != nms_GuiContainerCreative_selectedTabIndex) { $ptr = 2; continue main; } $var7 = $var7 + 1 | 0; if ($var7 < $var6) { $var8 = $var5[$var7]; var$5 = nms_GuiContainerCreative_field_110424_t; continue main; } var$10 = new nle_TextureLocation; var$11 = $var4.$backgroundImageName; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $rt_s(3336)); $var9 = $var8.$length0; if (var$11 === null) var$11 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var9, var$11); var$5 = new jl_String; $var5 = $var8.$buffer; var$13 = $var5.data; var$14 = $var8.$length0; $var6 = var$13.length; if (var$14 >= 0 && var$14 <= ($var6 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString($var5.data, 0, var$14); var$10.$path = var$5; var$10.$glObject = (-1); $var8 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity($var8, $var8.$size0 + 1 | 0); $var5 = $var8.$array.data; var$14 = $var8.$size0; $var8.$size0 = var$14 + 1 | 0; $var5[var$14] = var$10; $var8.$modCount = $var8.$modCount + 1 | 0; $ptr = 3; continue main; } $var8 = new jl_IndexOutOfBoundsException; $var8.$suppressionEnabled = 1; $var8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var8); $rt_throw($var8); case 2: nms_GuiContainerCreative_renderCreativeTab($this, $var8); if ($rt_suspending()) { break main; } $var7 = $var7 + 1 | 0; if ($var7 < $var6) { $var8 = $var5[$var7]; var$5 = nms_GuiContainerCreative_field_110424_t; $ptr = 1; continue main; } var$10 = new nle_TextureLocation; var$11 = $var4.$backgroundImageName; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var8, $var8.$length0, $rt_s(3336)); $var9 = $var8.$length0; if (var$11 === null) var$11 = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $var9, var$11); var$5 = new jl_String; $var5 = $var8.$buffer; var$13 = $var5.data; var$14 = $var8.$length0; $var6 = var$13.length; if (var$14 >= 0 && var$14 <= ($var6 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString($var5.data, 0, var$14); var$10.$path = var$5; var$10.$glObject = (-1); $var8 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity($var8, $var8.$size0 + 1 | 0); $var5 = $var8.$array.data; var$14 = $var8.$size0; $var8.$size0 = var$14 + 1 | 0; $var5[var$14] = var$10; $var8.$modCount = $var8.$modCount + 1 | 0; $ptr = 3; continue main; } $var8 = new jl_IndexOutOfBoundsException; $var8.$suppressionEnabled = 1; $var8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var8); $rt_throw($var8); case 3: nle_TextureLocation_bindTexture(var$10); if ($rt_suspending()) { break main; } nms_Gui_drawTexturedModalRect($this, $this.$guiLeft, $this.$guiTop, 0, 0, $this.$xSize, $this.$ySize); $var8 = $this.$searchField; $ptr = 4; case 4: nms_GuiTextField_drawTextBox($var8); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var9 = $this.$guiLeft + 175 | 0; var$14 = $this.$guiTop + 18 | 0; $var6 = var$14 + 112 | 0; $var8 = nms_GuiContainerCreative_field_110424_t; $ptr = 5; case 5: nle_TextureLocation_bindTexture($var8); if ($rt_suspending()) { break main; } if ($var4.$hasScrollbar) nms_Gui_drawTexturedModalRect($this, $var9, var$14 + ((($var6 - var$14 | 0) - 17 | 0) * $this.$currentScroll | 0) | 0, 232 + (!nms_GuiContainerCreative_needsScrollBars($this) ? 12 : 0) | 0, 0, 12, 15); $ptr = 6; case 6: nms_GuiContainerCreative_renderCreativeTab($this, $var4); if ($rt_suspending()) { break main; } if ($var4 !== nms_CreativeTabs_tabInventory) return; $var9 = $this.$guiLeft + 43 | 0; var$14 = $this.$guiTop + 45 | 0; $var6 = 20; $par1 = $var9 - $par2 | 0; var$15 = (var$14 - 30 | 0) - $par3 | 0; $var8 = $this.$mc.$thePlayer; $ptr = 7; case 7: nms_GuiInventory_func_110423_a($var9, var$14, $var6, $par1, var$15, $var8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var8, var$5, $var5, $var4, $var6, $var7, var$10, var$11, $var9, var$13, var$14, var$15, $ptr); }, nms_GuiContainerCreative_func_74232_a = ($this, $par1CreativeTabs, $par2, $par3) => { let var$4, $var4, $var5, $var7; var$4 = $par1CreativeTabs.$tabIndex; $var4 = var$4 % 6 | 0; $var5 = 28 * $var4 | 0; if ($var4 == 5) $var5 = ($this.$xSize - 28 | 0) + 2 | 0; else if ($var4 > 0) $var5 = $var5 + $var4 | 0; $var7 = !(var$4 >= 6 ? 0 : 1) ? 0 + $this.$ySize | 0 : (-32); return $par2 >= $var5 && $par2 <= ($var5 + 28 | 0) && $par3 >= $var7 && $par3 <= ($var7 + 32 | 0) ? 1 : 0; }, nms_GuiContainerCreative_renderCreativeInventoryHoveringText = ($this, $par1CreativeTabs, $par2, $par3) => { let $var7, $var4, $var5, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var7 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1CreativeTabs = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = $par1CreativeTabs.$tabIndex; $var4 = $var7 % 6 | 0; $var5 = 28 * $var4 | 0; if ($var4 == 5) $var5 = ($this.$xSize - 28 | 0) + 2 | 0; else if ($var4 > 0) $var5 = $var5 + $var4 | 0; if (!nms_GuiContainer_isPointInRegion($this, $var5 + 3 | 0, (!($var7 >= 6 ? 0 : 1) ? 0 + $this.$ySize | 0 : (-32)) + 3 | 0, 23, 27, $par2, $par3)) return 0; $par1CreativeTabs = $par1CreativeTabs.$tabLabel; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(2817)); $var4 = var$7.$length0; if ($par1CreativeTabs === null) $par1CreativeTabs = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, $var4, $par1CreativeTabs); $par1CreativeTabs = new jl_String; var$8 = var$7.$buffer; var$9 = var$8.data; $var5 = var$7.$length0; $var4 = var$9.length; if ($var5 >= 0 && $var5 <= ($var4 - 0 | 0)) { $par1CreativeTabs.$nativeString = $rt_charArrayToString(var$8.data, 0, $var5); nms_StatCollector_$callClinit(); $par1CreativeTabs = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $par1CreativeTabs); var$8 = $rt_createArray(jl_String, 1); var$8.data[0] = $par1CreativeTabs; $par1CreativeTabs = new ju_Arrays$ArrayAsList; $par1CreativeTabs.$array2 = var$8; $ptr = 1; continue main; } $par1CreativeTabs = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1CreativeTabs); $rt_throw($par1CreativeTabs); case 1: nms_GuiContainer_func_102021_a($this, $par1CreativeTabs, $par2, $par3); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1CreativeTabs, $par2, $par3, $var7, $var4, $var5, var$7, var$8, var$9, $ptr); }, nms_GuiContainerCreative_renderCreativeTab = ($this, $par1CreativeTabs) => { let $var4, $var2, $var3, $var5, $var6, var$7, $var7, $var8, $var10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var4 = $thread.pop();$par1CreativeTabs = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = $par1CreativeTabs.$tabIndex; nms_GuiContainerCreative_$callClinit(); $var2 = $var4 != nms_GuiContainerCreative_selectedTabIndex ? 0 : 1; $var3 = $var4 >= 6 ? 0 : 1; $var4 = $var4 % 6 | 0; $var5 = $var4 * 28 | 0; $var6 = 0; var$7 = $this.$guiLeft; $var7 = var$7 + $var5 | 0; $var8 = $this.$guiTop; if ($var2) $var6 = 32; if ($var4 == 5) $var7 = (var$7 + $this.$xSize | 0) - 28 | 0; else if ($var4 > 0) $var7 = $var7 + $var4 | 0; if ($var3) $var4 = $var8 + (-28) | 0; else { $var6 = $var6 + 64 | 0; $var4 = $var8 + ($this.$ySize - 4 | 0) | 0; } nleg_EaglerAdapterGL30_glDisable(2896); nms_Gui_drawTexturedModalRect($this, $var7, $var4, $var5, $var6, 28, 32); $this.$zLevel = 100.0; nms_GuiContainer_$callClinit(); nms_GuiContainer_itemRenderer.$zLevel0 = 100.0; $var2 = $var7 + 6 | 0; $var5 = $var4 + (8 + (!$var3 ? (-1) : 1) | 0) | 0; nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(32826); $var10 = new nms_ItemStack; nms_Item_$callClinit(); $par1CreativeTabs = nms_Item_itemsList.data[$par1CreativeTabs.$getTabIconItemIndex()]; nms_ItemStack_$callClinit(); $var10.$itemID = $par1CreativeTabs.$itemID0; $var10.$stackSize = 1; $var10.$itemDamage = 0; $par1CreativeTabs = nms_GuiContainer_itemRenderer; var$11 = $this.$fontRenderer; var$12 = $this.$mc.$renderEngine; $ptr = 1; case 1: nms_RenderItem_renderItemAndEffectIntoGUI($par1CreativeTabs, var$11, var$12, $var10, $var2, $var5); if ($rt_suspending()) { break main; } $par1CreativeTabs = nms_GuiContainer_itemRenderer; var$11 = $this.$fontRenderer; var$13 = $this.$mc.$renderEngine; var$12 = null; $ptr = 2; case 2: nms_RenderItem_renderItemOverlayIntoGUI($par1CreativeTabs, var$11, var$13, $var10, $var2, $var5, var$12); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(2896); nms_GuiContainer_itemRenderer.$zLevel0 = 0.0; $this.$zLevel = 0.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1CreativeTabs, $var4, $var2, $var3, $var5, $var6, var$7, $var7, $var8, $var10, var$11, var$12, var$13, $ptr); }, nms_GuiContainerCreative_actionPerformed = ($this, $par1GuiButton) => { let var$2; var$2 = $par1GuiButton.$id0; }, nms_GuiContainerCreative__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3337); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiContainerCreative_field_110424_t = var$1; var$1 = new nms_InventoryBasic; var$1.$inventoryTitle = $rt_s(3338); var$1.$field_94051_e = 1; var$1.$slotsCount = 45; var$1.$inventoryContents = $rt_createArray(nms_ItemStack, 45); nms_GuiContainerCreative_inventory = var$1; nms_CreativeTabs_$callClinit(); nms_GuiContainerCreative_selectedTabIndex = nms_CreativeTabs_tabBlock.$tabIndex; }; function nms_GuiButton() { let a = this; nms_Gui.call(a); a.$width0 = 0; a.$height0 = 0; a.$xPosition = 0; a.$yPosition = 0; a.$displayString = null; a.$id0 = 0; a.$enabled = 0; a.$drawButton0 = 0; a.$field_82253_i = 0; } let nms_GuiButton_buttonTextures = null, nms_GuiButton_$callClinit = () => { nms_GuiButton_$callClinit = $rt_eraseClinit(nms_GuiButton); nms_GuiButton__clinit_(); }, nms_GuiButton_getHoverState = ($this, $par1) => { let $var2; $var2 = 1; if (!$this.$enabled) $var2 = 0; else if ($par1) $var2 = 2; return $var2; }, nms_GuiButton_drawButton = ($this, $par1Minecraft, $par2, $par3) => { let $var4, var$5, $var6, var$7, $var5, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var5 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Minecraft = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$drawButton0) return; $var4 = $par1Minecraft.$fontRenderer0; nms_GuiButton_$callClinit(); var$5 = nms_GuiButton_buttonTextures; $ptr = 1; case 1: a: { nle_TextureLocation_bindTexture(var$5); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var6 = $this.$xPosition; if ($par2 >= $var6) { var$7 = $this.$yPosition; if ($par3 >= var$7 && $par2 < ($var6 + $this.$width0 | 0) && $par3 < (var$7 + $this.$height0 | 0)) { $var6 = 1; break a; } } $var6 = 0; } $this.$field_82253_i = $var6; $var5 = $this.$getHoverState($var6); $var6 = $this.$xPosition; var$7 = $this.$yPosition; var$9 = 46 + ($var5 * 20 | 0) | 0; nms_Gui_drawTexturedModalRect($this, $var6, var$7, 0, var$9, $this.$width0 / 2 | 0, $this.$height0); $var6 = $this.$xPosition; var$7 = $this.$width0 / 2 | 0; nms_Gui_drawTexturedModalRect($this, $var6 + var$7 | 0, $this.$yPosition, 200 - var$7 | 0, var$9, var$7, $this.$height0); $this.$mouseDragged($par1Minecraft, $par2, $par3); $var6 = 14737632; if (!$this.$enabled) $var6 = (-6250336); else if ($this.$field_82253_i) $var6 = 16777120; $par1Minecraft = $this.$displayString; $par2 = $this.$xPosition + ($this.$width0 / 2 | 0) | 0; $par3 = $this.$yPosition + (($this.$height0 - 8 | 0) / 2 | 0) | 0; $par2 = $par2 - (nms_FontRenderer_getStringWidth($var4, $par1Minecraft) / 2 | 0) | 0; $var4.$randomStyle = 0; $var4.$boldStyle = 0; $var4.$italicStyle = 0; $var4.$underlineStyle = 0; $var4.$strikethroughStyle = 0; var$7 = $par2 + 1 | 0; var$10 = $par3 + 1 | 0; var$9 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($var4, $par1Minecraft, var$7, var$10, $var6, var$9); if ($rt_suspending()) { break main; } var$10 = $tmp; var$7 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString($var4, $par1Minecraft, $par2, $par3, $var6, var$7); if ($rt_suspending()) { break main; } $par2 = $tmp; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Minecraft, $par2, $par3, $var4, var$5, $var6, var$7, $var5, var$9, var$10, $ptr); }, nms_GuiButton_mouseDragged = ($this, $par1Minecraft, $par2, $par3) => { return; }, nms_GuiButton_mouseReleased = ($this, $par1, $par2) => { return; }, nms_GuiButton_mousePressed = ($this, $par1Minecraft, $par2, $par3) => { let var$4, var$5; a: { if ($this.$enabled && $this.$drawButton0) { var$4 = $this.$xPosition; if ($par2 >= var$4) { var$5 = $this.$yPosition; if ($par3 >= var$5 && $par2 < (var$4 + $this.$width0 | 0) && $par3 < (var$5 + $this.$height0 | 0)) { $par2 = 1; break a; } } } $par2 = 0; } return $par2; }, nms_GuiButton_func_82252_a = $this => { return $this.$field_82253_i; }, nms_GuiButton_func_82251_b = ($this, $par1, $par2) => { return; }, nms_GuiButton__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1567); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiButton_buttonTextures = var$1; }; function jnci_BufferedEncoder$Controller() { let a = this; jl_Object.call(a); a.$in2 = null; a.$out2 = null; a.$inPosition = 0; a.$outPosition0 = 0; } let nms_ActiveRenderInfo = $rt_classWithoutFields(), nms_ActiveRenderInfo_objectX = 0.0, nms_ActiveRenderInfo_objectY = 0.0, nms_ActiveRenderInfo_objectZ = 0.0, nms_ActiveRenderInfo_viewport = null, nms_ActiveRenderInfo_modelview = null, nms_ActiveRenderInfo_projection = null, nms_ActiveRenderInfo_objectCoords = null, nms_ActiveRenderInfo_rotationX = 0.0, nms_ActiveRenderInfo_rotationXZ = 0.0, nms_ActiveRenderInfo_rotationZ = 0.0, nms_ActiveRenderInfo_rotationYZ = 0.0, nms_ActiveRenderInfo_rotationXY = 0.0, nms_ActiveRenderInfo_$callClinit = () => { nms_ActiveRenderInfo_$callClinit = $rt_eraseClinit(nms_ActiveRenderInfo); nms_ActiveRenderInfo__clinit_(); }, nms_ActiveRenderInfo__init_ = $this => { nms_ActiveRenderInfo_$callClinit(); }, nms_ActiveRenderInfo__init_0 = () => { let var_0 = new nms_ActiveRenderInfo(); nms_ActiveRenderInfo__init_(var_0); return var_0; }, nms_ActiveRenderInfo_updateRenderInfo = ($par0EntityPlayer, $par1) => { let var$3, var$4, var$5, var$6, $var4, $var5, $var2, $var3, $var6; nms_ActiveRenderInfo_$callClinit(); a: { var$3 = nms_ActiveRenderInfo_modelview; var$3.$position0 = 0; var$3.$limit0 = var$3.$capacity; var$3.$mark = (-1); var$4 = nms_ActiveRenderInfo_projection; var$4.$position0 = 0; var$4.$limit0 = var$4.$capacity; var$4.$mark = (-1); nleg_EaglerAdapterGL30_$callClinit(); switch (2982) { case 2982: break; case 2983: nlegv_Matrix4f_store(nleg_EaglerAdapterGL30_matProjV.data[nleg_EaglerAdapterGL30_matProjPointer], var$3); break a; default: } nlegv_Matrix4f_store(nleg_EaglerAdapterGL30_matModelV.data[nleg_EaglerAdapterGL30_matModelPointer], var$3); } b: { var$3 = nms_ActiveRenderInfo_projection; switch (2983) { case 2982: break; case 2983: nlegv_Matrix4f_store(nleg_EaglerAdapterGL30_matProjV.data[nleg_EaglerAdapterGL30_matProjPointer], var$3); break b; default: } nlegv_Matrix4f_store(nleg_EaglerAdapterGL30_matModelV.data[nleg_EaglerAdapterGL30_matModelPointer], var$3); } nlea_EaglerAdapterImpl2__wglGetParameter(2978, 4, nms_ActiveRenderInfo_viewport); jn_Buffer_position(nms_ActiveRenderInfo_modelview, 0); jn_Buffer_position(nms_ActiveRenderInfo_projection, 0); jn_Buffer_position(nms_ActiveRenderInfo_objectCoords, 0); var$5 = nms_ActiveRenderInfo_viewport; var$6 = var$5.data; nleg_EaglerAdapterGL30_gluUnProject((var$6[0] + var$6[2] | 0) / 2 | 0, (var$6[1] + var$6[3] | 0) / 2 | 0, 0.0, nms_ActiveRenderInfo_modelview, nms_ActiveRenderInfo_projection, var$5, nms_ActiveRenderInfo_objectCoords); nms_ActiveRenderInfo_objectX = jn_FloatBufferImpl_get(nms_ActiveRenderInfo_objectCoords, 0); nms_ActiveRenderInfo_objectY = jn_FloatBufferImpl_get(nms_ActiveRenderInfo_objectCoords, 1); nms_ActiveRenderInfo_objectZ = jn_FloatBufferImpl_get(nms_ActiveRenderInfo_objectCoords, 2); $var4 = !$par1 ? 0 : 1; $var5 = $par0EntityPlayer.$rotationPitch; $var2 = $par0EntityPlayer.$rotationYaw * 3.1415927410125732 / 180.0; var$5 = nms_MathHelper_SIN_TABLE.data; $var2 = $var2 * 10430.3779296875; $var3 = var$5[($var2 + 16384.0 | 0) & 65535]; $var6 = 1 - ($var4 * 2 | 0) | 0; $var3 = $var3 * $var6; nms_ActiveRenderInfo_rotationX = $var3; $var2 = var$5[($var2 | 0) & 65535] * $var6; nms_ActiveRenderInfo_rotationZ = $var2; $var2 = -$var2; $var5 = $var5 * 3.1415927410125732 / 180.0 * 10430.3779296875; $par1 = ($var5 | 0) & 65535; nms_ActiveRenderInfo_rotationYZ = $var2 * var$5[$par1] * $var6; nms_ActiveRenderInfo_rotationXY = $var3 * var$5[$par1] * $var6; nms_ActiveRenderInfo_rotationXZ = var$5[($var5 + 16384.0 | 0) & 65535]; }, nms_ActiveRenderInfo_projectViewFromEntity = ($par0EntityLivingBase, $par1) => { let $var3, $var5, $var7, $var9, $var11, $var13; nms_ActiveRenderInfo_$callClinit(); $var3 = $par0EntityLivingBase.$prevPosX; $var3 = $var3 + ($par0EntityLivingBase.$posX - $var3) * $par1; $var5 = $par0EntityLivingBase.$prevPosY; $var5 = $var5 + ($par0EntityLivingBase.$posY - $var5) * $par1 + 0.11999999731779099; $var7 = $par0EntityLivingBase.$prevPosZ; $var7 = $var7 + ($par0EntityLivingBase.$posZ - $var7) * $par1; $var9 = $var3 + nms_ActiveRenderInfo_objectX * 1.0; $var11 = $var5 + nms_ActiveRenderInfo_objectY * 1.0; $var13 = $var7 + nms_ActiveRenderInfo_objectZ * 1.0; return nms_Vec3Pool_getVecFromPool($par0EntityLivingBase.$worldObj.$vecPool, $var9, $var11, $var13); }, nms_ActiveRenderInfo_getBlockIdAtEntityViewpoint = ($par0World, $par1EntityLivingBase, $par2) => { let $var3, var$5, var$6, var$7, var$8, var$9, $var5, var$11, $var6, $var7; nms_ActiveRenderInfo_$callClinit(); $var3 = nms_ActiveRenderInfo_projectViewFromEntity($par1EntityLivingBase, $par2); var$5 = $var3.$xCoord; var$6 = var$5 | 0; if (var$5 < var$6) var$6 = var$6 - 1 | 0; var$5 = $var3.$yCoord; var$7 = var$5 | 0; if (var$5 < var$7) var$7 = var$7 - 1 | 0; var$8 = $var3.$zCoord; var$9 = var$8 | 0; if (var$8 < var$9) var$9 = var$9 - 1 | 0; $var5 = nms_World_getBlockId($par0World, var$6, var$7, var$9); if ($var5) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var5].$blockMaterial.$isLiquid()) { var$11 = nms_World_getBlockMetadata($par0World, var$6, var$7, var$9); if (var$11 >= 8) var$11 = 0; $var6 = (var$11 + 1 | 0) / 9.0 - 0.1111111119389534; var$7 = var$7 + 1 | 0; $var7 = var$7 - $var6; if ($var3.$yCoord >= $var7) $var5 = nms_World_getBlockId($par0World, var$6, var$7, var$9); } } return $var5; }, nms_ActiveRenderInfo__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; nms_ActiveRenderInfo_viewport = $rt_createIntArray(4); nleg_EaglerAdapterGL30_$callClinit(); var$1 = nleg_EaglerAdapterGL30_isWebGL; if (var$1) { var$2 = $rt_createFloatArray(16); var$1 = var$2.data.length; var$3 = new jn_FloatBufferOverArray; var$4 = 0 + var$1 | 0; var$3.$mark = (-1); var$3.$capacity = var$1; var$3.$limit0 = var$1; var$3.$position0 = 0; var$3.$limit0 = var$4; var$3.$start2 = 0; var$3.$readOnly2 = 0; var$3.$array3 = var$2; } else { if (!var$1) { var$3 = new jn_ByteBufferImpl; var$2 = $rt_createByteArray(64); var$3.$mark = (-1); var$3.$capacity = 64; var$3.$limit0 = 64; var$3.$order = jn_ByteOrder_BIG_ENDIAN; var$3.$start = 0; var$3.$array0 = var$2; var$3.$position0 = 0; var$3.$limit0 = 64; var$3.$direct = 1; var$3.$readOnly0 = 0; var$3.$order = jn_ByteOrder_nativeOrder(); } else { var$2 = $rt_createByteArray(64); var$1 = var$2.data.length; if (var$1 >= 0 && var$1 <= (var$1 - 0 | 0)) { var$3 = new jn_ByteBufferImpl; var$5 = 0 + var$1 | 0; var$3.$mark = (-1); var$3.$capacity = var$1; var$3.$limit0 = var$1; var$3.$order = jn_ByteOrder_BIG_ENDIAN; var$3.$start = 0; var$3.$array0 = var$2; var$3.$position0 = 0; var$3.$limit0 = var$5; var$3.$direct = 0; var$3.$readOnly0 = 0; } else { var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } } var$3 = jn_ByteBufferImpl_asFloatBuffer(var$3); } nms_ActiveRenderInfo_modelview = var$3; var$1 = nleg_EaglerAdapterGL30_isWebGL; if (var$1) { var$2 = $rt_createFloatArray(16); var$1 = var$2.data.length; var$3 = new jn_FloatBufferOverArray; var$4 = 0 + var$1 | 0; var$3.$mark = (-1); var$3.$capacity = var$1; var$3.$limit0 = var$1; var$3.$position0 = 0; var$3.$limit0 = var$4; var$3.$start2 = 0; var$3.$readOnly2 = 0; var$3.$array3 = var$2; } else { if (!var$1) { var$3 = new jn_ByteBufferImpl; var$2 = $rt_createByteArray(64); var$3.$mark = (-1); var$3.$capacity = 64; var$3.$limit0 = 64; var$3.$order = jn_ByteOrder_BIG_ENDIAN; var$3.$start = 0; var$3.$array0 = var$2; var$3.$position0 = 0; var$3.$limit0 = 64; var$3.$direct = 1; var$3.$readOnly0 = 0; var$3.$order = jn_ByteOrder_nativeOrder(); } else { var$2 = $rt_createByteArray(64); var$1 = var$2.data.length; if (var$1 >= 0 && var$1 <= (var$1 - 0 | 0)) { var$3 = new jn_ByteBufferImpl; var$5 = 0 + var$1 | 0; var$3.$mark = (-1); var$3.$capacity = var$1; var$3.$limit0 = var$1; var$3.$order = jn_ByteOrder_BIG_ENDIAN; var$3.$start = 0; var$3.$array0 = var$2; var$3.$position0 = 0; var$3.$limit0 = var$5; var$3.$direct = 0; var$3.$readOnly0 = 0; } else { var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } } var$3 = jn_ByteBufferImpl_asFloatBuffer(var$3); } nms_ActiveRenderInfo_projection = var$3; var$1 = nleg_EaglerAdapterGL30_isWebGL; if (var$1) { var$2 = $rt_createFloatArray(3); var$1 = var$2.data.length; var$3 = new jn_FloatBufferOverArray; var$4 = 0 + var$1 | 0; var$3.$mark = (-1); var$3.$capacity = var$1; var$3.$limit0 = var$1; var$3.$position0 = 0; var$3.$limit0 = var$4; var$3.$start2 = 0; var$3.$readOnly2 = 0; var$3.$array3 = var$2; } else { if (!var$1) { var$3 = new jn_ByteBufferImpl; var$2 = $rt_createByteArray(12); var$3.$mark = (-1); var$3.$capacity = 12; var$3.$limit0 = 12; var$3.$order = jn_ByteOrder_BIG_ENDIAN; var$3.$start = 0; var$3.$array0 = var$2; var$3.$position0 = 0; var$3.$limit0 = 12; var$3.$direct = 1; var$3.$readOnly0 = 0; var$3.$order = jn_ByteOrder_nativeOrder(); } else { var$2 = $rt_createByteArray(12); var$1 = var$2.data.length; if (var$1 >= 0 && var$1 <= (var$1 - 0 | 0)) { var$3 = new jn_ByteBufferImpl; var$5 = 0 + var$1 | 0; var$3.$mark = (-1); var$3.$capacity = var$1; var$3.$limit0 = var$1; var$3.$order = jn_ByteOrder_BIG_ENDIAN; var$3.$start = 0; var$3.$array0 = var$2; var$3.$position0 = 0; var$3.$limit0 = var$5; var$3.$direct = 0; var$3.$readOnly0 = 0; } else { var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } } var$3 = jn_ByteBufferImpl_asFloatBuffer(var$3); } nms_ActiveRenderInfo_objectCoords = var$3; }; function nms_ClippingHelper() { let a = this; jl_Object.call(a); a.$frustum = null; a.$projectionMatrix = null; a.$modelviewMatrix = null; a.$clippingMatrix = null; } let nms_ClippingHelper__init_ = $this => { $this.$frustum = $rt_createFloatMultiArray([16, 16]); $this.$projectionMatrix = $rt_createFloatArray(16); $this.$modelviewMatrix = $rt_createFloatArray(16); $this.$clippingMatrix = $rt_createFloatArray(16); }, nms_ClippingHelper__init_0 = () => { let var_0 = new nms_ClippingHelper(); nms_ClippingHelper__init_(var_0); return var_0; }, nms_ClippingHelper_isBoxInFrustum = ($this, $par1, $par3, $par5, $par7, $par9, $par11) => { let $var13, var$8; $var13 = 0; while ($var13 < 6) { var$8 = $this.$frustum.data; if (var$8[$var13].data[0] * $par1 + var$8[$var13].data[1] * $par3 + var$8[$var13].data[2] * $par5 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $par7 + var$8[$var13].data[1] * $par3 + var$8[$var13].data[2] * $par5 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $par1 + var$8[$var13].data[1] * $par9 + var$8[$var13].data[2] * $par5 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $par7 + var$8[$var13].data[1] * $par9 + var$8[$var13].data[2] * $par5 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $par1 + var$8[$var13].data[1] * $par3 + var$8[$var13].data[2] * $par11 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $par7 + var$8[$var13].data[1] * $par3 + var$8[$var13].data[2] * $par11 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $par1 + var$8[$var13].data[1] * $par9 + var$8[$var13].data[2] * $par11 + var$8[$var13].data[3] <= 0.0 && var$8[$var13].data[0] * $par7 + var$8[$var13].data[1] * $par9 + var$8[$var13].data[2] * $par11 + var$8[$var13].data[3] <= 0.0) return 0; $var13 = $var13 + 1 | 0; } return 1; }; function nms_ClippingHelperImpl() { let a = this; nms_ClippingHelper.call(a); a.$projectionMatrixBuffer = null; a.$modelviewMatrixBuffer = null; a.$field_78564_h = null; } let nms_ClippingHelperImpl_instance = null, nms_ClippingHelperImpl_$callClinit = () => { nms_ClippingHelperImpl_$callClinit = $rt_eraseClinit(nms_ClippingHelperImpl); nms_ClippingHelperImpl__clinit_(); }, nms_ClippingHelperImpl__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_ClippingHelperImpl_$callClinit(); $this.$frustum = $rt_createFloatMultiArray([16, 16]); $this.$projectionMatrix = $rt_createFloatArray(16); $this.$modelviewMatrix = $rt_createFloatArray(16); $this.$clippingMatrix = $rt_createFloatArray(16); nleg_EaglerAdapterGL30_$callClinit(); var$1 = nleg_EaglerAdapterGL30_isWebGL; if (var$1) { var$2 = $rt_createFloatArray(16); var$1 = var$2.data.length; var$3 = new jn_FloatBufferOverArray; var$4 = 0 + var$1 | 0; var$3.$mark = (-1); var$3.$capacity = var$1; var$3.$limit0 = var$1; var$3.$position0 = 0; var$3.$limit0 = var$4; var$3.$start2 = 0; var$3.$readOnly2 = 0; var$3.$array3 = var$2; } else { if (!var$1) { var$3 = new jn_ByteBufferImpl; var$2 = $rt_createByteArray(64); var$3.$mark = (-1); var$3.$capacity = 64; var$3.$limit0 = 64; var$3.$order = jn_ByteOrder_BIG_ENDIAN; var$3.$start = 0; var$3.$array0 = var$2; var$3.$position0 = 0; var$3.$limit0 = 64; var$3.$direct = 1; var$3.$readOnly0 = 0; var$3.$order = jn_ByteOrder_nativeOrder(); } else { var$2 = $rt_createByteArray(64); var$1 = var$2.data.length; if (var$1 >= 0 && var$1 <= (var$1 - 0 | 0)) { var$3 = new jn_ByteBufferImpl; var$5 = 0 + var$1 | 0; var$3.$mark = (-1); var$3.$capacity = var$1; var$3.$limit0 = var$1; var$3.$order = jn_ByteOrder_BIG_ENDIAN; var$3.$start = 0; var$3.$array0 = var$2; var$3.$position0 = 0; var$3.$limit0 = var$5; var$3.$direct = 0; var$3.$readOnly0 = 0; } else { var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } } var$3 = jn_ByteBufferImpl_asFloatBuffer(var$3); } $this.$projectionMatrixBuffer = var$3; var$1 = nleg_EaglerAdapterGL30_isWebGL; if (var$1) { var$2 = $rt_createFloatArray(16); var$1 = var$2.data.length; var$3 = new jn_FloatBufferOverArray; var$4 = 0 + var$1 | 0; var$3.$mark = (-1); var$3.$capacity = var$1; var$3.$limit0 = var$1; var$3.$position0 = 0; var$3.$limit0 = var$4; var$3.$start2 = 0; var$3.$readOnly2 = 0; var$3.$array3 = var$2; } else { if (!var$1) { var$6 = new jn_ByteBufferImpl; var$2 = $rt_createByteArray(64); var$6.$mark = (-1); var$6.$capacity = 64; var$6.$limit0 = 64; var$6.$order = jn_ByteOrder_BIG_ENDIAN; var$6.$start = 0; var$6.$array0 = var$2; var$6.$position0 = 0; var$6.$limit0 = 64; var$6.$direct = 1; var$6.$readOnly0 = 0; var$6.$order = jn_ByteOrder_nativeOrder(); } else { var$2 = $rt_createByteArray(64); var$7 = var$2.data.length; if (var$7 >= 0 && var$7 <= (var$7 - 0 | 0)) { var$6 = new jn_ByteBufferImpl; var$8 = 0 + var$7 | 0; var$6.$mark = (-1); var$6.$capacity = var$7; var$6.$limit0 = var$7; var$6.$order = jn_ByteOrder_BIG_ENDIAN; var$6.$start = 0; var$6.$array0 = var$2; var$6.$position0 = 0; var$6.$limit0 = var$8; var$6.$direct = 0; var$6.$readOnly0 = 0; } else { var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } } var$3 = jn_ByteBufferImpl_asFloatBuffer(var$6); } $this.$modelviewMatrixBuffer = var$3; var$1 = nleg_EaglerAdapterGL30_isWebGL; if (var$1) { var$2 = $rt_createFloatArray(16); var$1 = var$2.data.length; var$3 = new jn_FloatBufferOverArray; var$4 = 0 + var$1 | 0; var$3.$mark = (-1); var$3.$capacity = var$1; var$3.$limit0 = var$1; var$3.$position0 = 0; var$3.$limit0 = var$4; var$3.$start2 = 0; var$3.$readOnly2 = 0; var$3.$array3 = var$2; } else { if (!var$1) { var$6 = new jn_ByteBufferImpl; var$2 = $rt_createByteArray(64); var$6.$mark = (-1); var$6.$capacity = 64; var$6.$limit0 = 64; var$6.$order = jn_ByteOrder_BIG_ENDIAN; var$6.$start = 0; var$6.$array0 = var$2; var$6.$position0 = 0; var$6.$limit0 = 64; var$6.$direct = 1; var$6.$readOnly0 = 0; var$6.$order = jn_ByteOrder_nativeOrder(); } else { var$2 = $rt_createByteArray(64); var$1 = var$2.data.length; if (var$1 >= 0 && var$1 <= (var$1 - 0 | 0)) { var$6 = new jn_ByteBufferImpl; var$5 = 0 + var$1 | 0; var$6.$mark = (-1); var$6.$capacity = var$1; var$6.$limit0 = var$1; var$6.$order = jn_ByteOrder_BIG_ENDIAN; var$6.$start = 0; var$6.$array0 = var$2; var$6.$position0 = 0; var$6.$limit0 = var$5; var$6.$direct = 0; var$6.$readOnly0 = 0; } else { var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } } var$3 = jn_ByteBufferImpl_asFloatBuffer(var$6); } $this.$field_78564_h = var$3; }, nms_ClippingHelperImpl__init_0 = () => { let var_0 = new nms_ClippingHelperImpl(); nms_ClippingHelperImpl__init_(var_0); return var_0; }, nms_ClippingHelperImpl_normalize = ($this, $par1ArrayOfFloat, $par2) => { let $var3, var$4; $par1ArrayOfFloat = $par1ArrayOfFloat.data; $var3 = jl_Math_sqrt($par1ArrayOfFloat[$par2].data[0] * $par1ArrayOfFloat[$par2].data[0] + $par1ArrayOfFloat[$par2].data[1] * $par1ArrayOfFloat[$par2].data[1] + $par1ArrayOfFloat[$par2].data[2] * $par1ArrayOfFloat[$par2].data[2]); var$4 = $par1ArrayOfFloat[$par2].data; var$4[0] = var$4[0] / $var3; var$4 = $par1ArrayOfFloat[$par2].data; var$4[1] = var$4[1] / $var3; var$4 = $par1ArrayOfFloat[$par2].data; var$4[2] = var$4[2] / $var3; $par1ArrayOfFloat = $par1ArrayOfFloat[$par2].data; $par1ArrayOfFloat[3] = $par1ArrayOfFloat[3] / $var3; }, nms_ClippingHelperImpl_init = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; a: { var$1 = $this.$projectionMatrixBuffer; var$1.$position0 = 0; var$1.$limit0 = var$1.$capacity; var$1.$mark = (-1); var$2 = $this.$modelviewMatrixBuffer; var$2.$position0 = 0; var$2.$limit0 = var$2.$capacity; var$2.$mark = (-1); var$2 = $this.$field_78564_h; var$2.$position0 = 0; var$2.$limit0 = var$2.$capacity; var$2.$mark = (-1); nleg_EaglerAdapterGL30_$callClinit(); switch (2983) { case 2982: break; case 2983: nlegv_Matrix4f_store(nleg_EaglerAdapterGL30_matProjV.data[nleg_EaglerAdapterGL30_matProjPointer], var$1); break a; default: } nlegv_Matrix4f_store(nleg_EaglerAdapterGL30_matModelV.data[nleg_EaglerAdapterGL30_matModelPointer], var$1); } b: { var$1 = $this.$modelviewMatrixBuffer; switch (2982) { case 2982: break; case 2983: nlegv_Matrix4f_store(nleg_EaglerAdapterGL30_matProjV.data[nleg_EaglerAdapterGL30_matProjPointer], var$1); break b; default: } nlegv_Matrix4f_store(nleg_EaglerAdapterGL30_matModelV.data[nleg_EaglerAdapterGL30_matModelPointer], var$1); } var$1 = $this.$projectionMatrixBuffer; var$1.$limit0 = var$1.$position0; var$1.$position0 = 0; var$1.$mark = (-1); jn_Buffer_limit(var$1, 16); var$1 = $this.$projectionMatrixBuffer; var$3 = $this.$projectionMatrix; jn_FloatBuffer_get(var$1, var$3, 0, var$3.data.length); var$1 = $this.$modelviewMatrixBuffer; var$1.$limit0 = var$1.$position0; var$1.$position0 = 0; var$1.$mark = (-1); jn_Buffer_limit(var$1, 16); var$1 = $this.$modelviewMatrixBuffer; var$3 = $this.$modelviewMatrix; jn_FloatBuffer_get(var$1, var$3, 0, var$3.data.length); var$4 = $this.$clippingMatrix.data; var$3 = $this.$modelviewMatrix.data; var$5 = var$3[0]; var$6 = $this.$projectionMatrix.data; var$4[0] = var$5 * var$6[0] + var$3[1] * var$6[4] + var$3[2] * var$6[8] + var$3[3] * var$6[12]; var$4[1] = var$3[0] * var$6[1] + var$3[1] * var$6[5] + var$3[2] * var$6[9] + var$3[3] * var$6[13]; var$4[2] = var$3[0] * var$6[2] + var$3[1] * var$6[6] + var$3[2] * var$6[10] + var$3[3] * var$6[14]; var$4[3] = var$3[0] * var$6[3] + var$3[1] * var$6[7] + var$3[2] * var$6[11] + var$3[3] * var$6[15]; var$4[4] = var$3[4] * var$6[0] + var$3[5] * var$6[4] + var$3[6] * var$6[8] + var$3[7] * var$6[12]; var$4[5] = var$3[4] * var$6[1] + var$3[5] * var$6[5] + var$3[6] * var$6[9] + var$3[7] * var$6[13]; var$4[6] = var$3[4] * var$6[2] + var$3[5] * var$6[6] + var$3[6] * var$6[10] + var$3[7] * var$6[14]; var$4[7] = var$3[4] * var$6[3] + var$3[5] * var$6[7] + var$3[6] * var$6[11] + var$3[7] * var$6[15]; var$4[8] = var$3[8] * var$6[0] + var$3[9] * var$6[4] + var$3[10] * var$6[8] + var$3[11] * var$6[12]; var$4[9] = var$3[8] * var$6[1] + var$3[9] * var$6[5] + var$3[10] * var$6[9] + var$3[11] * var$6[13]; var$4[10] = var$3[8] * var$6[2] + var$3[9] * var$6[6] + var$3[10] * var$6[10] + var$3[11] * var$6[14]; var$4[11] = var$3[8] * var$6[3] + var$3[9] * var$6[7] + var$3[10] * var$6[11] + var$3[11] * var$6[15]; var$4[12] = var$3[12] * var$6[0] + var$3[13] * var$6[4] + var$3[14] * var$6[8] + var$3[15] * var$6[12]; var$4[13] = var$3[12] * var$6[1] + var$3[13] * var$6[5] + var$3[14] * var$6[9] + var$3[15] * var$6[13]; var$4[14] = var$3[12] * var$6[2] + var$3[13] * var$6[6] + var$3[14] * var$6[10] + var$3[15] * var$6[14]; var$4[15] = var$3[12] * var$6[3] + var$3[13] * var$6[7] + var$3[14] * var$6[11] + var$3[15] * var$6[15]; var$3 = $this.$frustum; var$6 = var$3.data; var$6[0].data[0] = var$4[3] - var$4[0]; var$6[0].data[1] = var$4[7] - var$4[4]; var$6[0].data[2] = var$4[11] - var$4[8]; var$6[0].data[3] = var$4[15] - var$4[12]; nms_ClippingHelperImpl_normalize($this, var$3, 0); var$3 = $this.$frustum; var$6 = var$3.data; var$7 = var$6[1].data; var$4 = $this.$clippingMatrix.data; var$7[0] = var$4[3] + var$4[0]; var$6[1].data[1] = var$4[7] + var$4[4]; var$6[1].data[2] = var$4[11] + var$4[8]; var$6[1].data[3] = var$4[15] + var$4[12]; nms_ClippingHelperImpl_normalize($this, var$3, 1); var$3 = $this.$frustum; var$6 = var$3.data; var$7 = var$6[2].data; var$4 = $this.$clippingMatrix.data; var$7[0] = var$4[3] + var$4[1]; var$6[2].data[1] = var$4[7] + var$4[5]; var$6[2].data[2] = var$4[11] + var$4[9]; var$6[2].data[3] = var$4[15] + var$4[13]; nms_ClippingHelperImpl_normalize($this, var$3, 2); var$3 = $this.$frustum; var$6 = var$3.data; var$7 = var$6[3].data; var$4 = $this.$clippingMatrix.data; var$7[0] = var$4[3] - var$4[1]; var$6[3].data[1] = var$4[7] - var$4[5]; var$6[3].data[2] = var$4[11] - var$4[9]; var$6[3].data[3] = var$4[15] - var$4[13]; nms_ClippingHelperImpl_normalize($this, var$3, 3); var$3 = $this.$frustum; var$6 = var$3.data; var$7 = var$6[4].data; var$4 = $this.$clippingMatrix.data; var$7[0] = var$4[3] - var$4[2]; var$6[4].data[1] = var$4[7] - var$4[6]; var$6[4].data[2] = var$4[11] - var$4[10]; var$6[4].data[3] = var$4[15] - var$4[14]; nms_ClippingHelperImpl_normalize($this, var$3, 4); var$3 = $this.$frustum; var$6 = var$3.data; var$7 = var$6[5].data; var$4 = $this.$clippingMatrix.data; var$7[0] = var$4[3] + var$4[2]; var$6[5].data[1] = var$4[7] + var$4[6]; var$6[5].data[2] = var$4[11] + var$4[10]; var$6[5].data[3] = var$4[15] + var$4[14]; nms_ClippingHelperImpl_normalize($this, var$3, 5); }, nms_ClippingHelperImpl__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = new nms_ClippingHelperImpl; nms_ClippingHelperImpl_$callClinit(); var$1.$frustum = $rt_createFloatMultiArray([16, 16]); var$1.$projectionMatrix = $rt_createFloatArray(16); var$1.$modelviewMatrix = $rt_createFloatArray(16); var$1.$clippingMatrix = $rt_createFloatArray(16); nleg_EaglerAdapterGL30_$callClinit(); var$2 = nleg_EaglerAdapterGL30_isWebGL; if (var$2) { var$3 = $rt_createFloatArray(16); var$2 = var$3.data.length; var$4 = new jn_FloatBufferOverArray; var$5 = 0 + var$2 | 0; jl_Object__init_(var$4); var$4.$mark = (-1); var$4.$capacity = var$2; var$4.$limit0 = var$2; var$4.$position0 = 0; var$4.$limit0 = var$5; var$4.$start2 = 0; var$4.$readOnly2 = 0; var$4.$array3 = var$3; } else { if (!var$2) { var$4 = new jn_ByteBufferImpl; var$3 = $rt_createByteArray(64); jl_Object__init_(var$4); var$4.$mark = (-1); var$4.$capacity = 64; var$4.$limit0 = 64; var$4.$order = jn_ByteOrder_BIG_ENDIAN; var$4.$start = 0; var$4.$array0 = var$3; var$4.$position0 = 0; var$4.$limit0 = 64; var$4.$direct = 1; var$4.$readOnly0 = 0; var$4.$order = jn_ByteOrder_nativeOrder(); } else { var$3 = $rt_createByteArray(64); var$2 = var$3.data.length; if (var$2 >= 0 && var$2 <= (var$2 - 0 | 0)) { var$4 = new jn_ByteBufferImpl; var$6 = 0 + var$2 | 0; jl_Object__init_(var$4); var$4.$mark = (-1); var$4.$capacity = var$2; var$4.$limit0 = var$2; var$4.$order = jn_ByteOrder_BIG_ENDIAN; var$4.$start = 0; var$4.$array0 = var$3; var$4.$position0 = 0; var$4.$limit0 = var$6; var$4.$direct = 0; var$4.$readOnly0 = 0; } else { var$1 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$1); $rt_throw(var$1); } } var$4 = jn_ByteBufferImpl_asFloatBuffer(var$4); } var$1.$projectionMatrixBuffer = var$4; var$2 = nleg_EaglerAdapterGL30_isWebGL; if (var$2) { var$3 = $rt_createFloatArray(16); var$2 = var$3.data.length; var$4 = new jn_FloatBufferOverArray; var$5 = 0 + var$2 | 0; jl_Object__init_(var$4); var$4.$mark = (-1); var$4.$capacity = var$2; var$4.$limit0 = var$2; var$4.$position0 = 0; var$4.$limit0 = var$5; var$4.$start2 = 0; var$4.$readOnly2 = 0; var$4.$array3 = var$3; } else { if (!var$2) { var$7 = new jn_ByteBufferImpl; var$3 = $rt_createByteArray(64); jl_Object__init_(var$7); var$7.$mark = (-1); var$7.$capacity = 64; var$7.$limit0 = 64; var$7.$order = jn_ByteOrder_BIG_ENDIAN; var$7.$start = 0; var$7.$array0 = var$3; var$7.$position0 = 0; var$7.$limit0 = 64; var$7.$direct = 1; var$7.$readOnly0 = 0; var$7.$order = jn_ByteOrder_nativeOrder(); } else { var$3 = $rt_createByteArray(64); var$8 = var$3.data.length; if (var$8 >= 0 && var$8 <= (var$8 - 0 | 0)) { var$7 = new jn_ByteBufferImpl; var$2 = 0 + var$8 | 0; jl_Object__init_(var$7); var$7.$mark = (-1); var$7.$capacity = var$8; var$7.$limit0 = var$8; var$7.$order = jn_ByteOrder_BIG_ENDIAN; var$7.$start = 0; var$7.$array0 = var$3; var$7.$position0 = 0; var$7.$limit0 = var$2; var$7.$direct = 0; var$7.$readOnly0 = 0; } else { var$1 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$1); $rt_throw(var$1); } } var$4 = jn_ByteBufferImpl_asFloatBuffer(var$7); } var$1.$modelviewMatrixBuffer = var$4; var$2 = nleg_EaglerAdapterGL30_isWebGL; if (var$2) { var$3 = $rt_createFloatArray(16); var$2 = var$3.data.length; var$4 = new jn_FloatBufferOverArray; var$5 = 0 + var$2 | 0; jl_Object__init_(var$4); var$4.$mark = (-1); var$4.$capacity = var$2; var$4.$limit0 = var$2; var$4.$position0 = 0; var$4.$limit0 = var$5; var$4.$start2 = 0; var$4.$readOnly2 = 0; var$4.$array3 = var$3; } else { if (!var$2) { var$7 = new jn_ByteBufferImpl; var$3 = $rt_createByteArray(64); jl_Object__init_(var$7); var$7.$mark = (-1); var$7.$capacity = 64; var$7.$limit0 = 64; var$7.$order = jn_ByteOrder_BIG_ENDIAN; var$7.$start = 0; var$7.$array0 = var$3; var$7.$position0 = 0; var$7.$limit0 = 64; var$7.$direct = 1; var$7.$readOnly0 = 0; var$7.$order = jn_ByteOrder_nativeOrder(); } else { var$3 = $rt_createByteArray(64); var$2 = var$3.data.length; if (var$2 >= 0 && var$2 <= (var$2 - 0 | 0)) { var$7 = new jn_ByteBufferImpl; var$6 = 0 + var$2 | 0; jl_Object__init_(var$7); var$7.$mark = (-1); var$7.$capacity = var$2; var$7.$limit0 = var$2; var$7.$order = jn_ByteOrder_BIG_ENDIAN; var$7.$start = 0; var$7.$array0 = var$3; var$7.$position0 = 0; var$7.$limit0 = var$6; var$7.$direct = 0; var$7.$readOnly0 = 0; } else { var$1 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$1); $rt_throw(var$1); } } var$4 = jn_ByteBufferImpl_asFloatBuffer(var$7); } var$1.$field_78564_h = var$4; nms_ClippingHelperImpl_instance = var$1; }, nms_ICamera = $rt_classWithoutFields(0); function nms_Frustrum() { let a = this; jl_Object.call(a); a.$clippingHelper = null; a.$xPosition4 = 0.0; a.$yPosition4 = 0.0; a.$zPosition4 = 0.0; } let nms_Frustrum__init_ = $this => { nms_ClippingHelperImpl_$callClinit(); nms_ClippingHelperImpl_init(nms_ClippingHelperImpl_instance); $this.$clippingHelper = nms_ClippingHelperImpl_instance; }, nms_Frustrum__init_0 = () => { let var_0 = new nms_Frustrum(); nms_Frustrum__init_(var_0); return var_0; }, nms_Direction = $rt_classWithoutFields(), nms_Direction_offsetX = null, nms_Direction_offsetZ = null, nms_Direction_directions = null, nms_Direction_directionToFacing = null, nms_Direction_facingToDirection = null, nms_Direction_rotateOpposite = null, nms_Direction_rotateRight = null, nms_Direction_rotateLeft = null, nms_Direction_bedDirection = null, nms_Direction__init_ = $this => { return; }, nms_Direction__init_0 = () => { let var_0 = new nms_Direction(); nms_Direction__init_(var_0); return var_0; }, nms_Direction__clinit_ = () => { let var$1, var$2; nms_Direction_offsetX = $rt_createIntArrayFromData([0, (-1), 0, 1]); nms_Direction_offsetZ = $rt_createIntArrayFromData([1, 0, (-1), 0]); nms_Direction_directions = $rt_wrapArray(jl_String, [$rt_s(3339), $rt_s(3340), $rt_s(3341), $rt_s(3342)]); nms_Direction_directionToFacing = $rt_createIntArrayFromData([3, 4, 2, 5]); nms_Direction_facingToDirection = $rt_createIntArrayFromData([(-1), (-1), 2, 0, 1, 3]); nms_Direction_rotateOpposite = $rt_createIntArrayFromData([2, 3, 0, 1]); nms_Direction_rotateRight = $rt_createIntArrayFromData([1, 2, 3, 0]); nms_Direction_rotateLeft = $rt_createIntArrayFromData([3, 0, 1, 2]); var$1 = $rt_createArray($rt_arraycls($rt_intcls), 4); var$2 = var$1.data; var$2[0] = $rt_createIntArrayFromData([1, 0, 3, 2, 5, 4]); var$2[1] = $rt_createIntArrayFromData([1, 0, 5, 4, 2, 3]); var$2[2] = $rt_createIntArrayFromData([1, 0, 2, 3, 4, 5]); var$2[3] = $rt_createIntArrayFromData([1, 0, 4, 5, 3, 2]); nms_Direction_bedDirection = var$1; }, nms_NetHandler = $rt_classWithoutFields(); function nms_NetClientHandler() { let a = this; nms_NetHandler.call(a); a.$disconnected = 0; a.$netManager = null; a.$field_72560_a = null; a.$mc1 = null; a.$worldClient = null; a.$doneLoadingTerrain = 0; a.$mapStorage0 = null; a.$playerInfoMap = null; a.$playerInfoList = null; a.$currentServerMaxPlayers = 0; a.$field_98183_l = null; a.$rand1 = null; } let nms_NetClientHandler__init_2 = ($this, $par1Minecraft, $mgr) => { let var$3, var$4, var$5, var$6, var$7; $this.$disconnected = 0; $this.$doneLoadingTerrain = 0; $this.$mapStorage0 = nms_MapStorage__init_(); var$3 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; var$3.$elementData = var$5; var$3.$loadFactor = 0.75; var$3.$threshold = var$6.length * 0.75 | 0; $this.$playerInfoMap = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$playerInfoList = var$3; $this.$currentServerMaxPlayers = 20; $this.$field_98183_l = null; var$3 = new nle_EaglercraftRandom; var$7 = Long_fromNumber(performance.now() * 1000000.0); var$3.$seed = Long_fromInt(69); var$3.$haveNextNextGaussian = 0; var$3.$seed = var$7; $this.$rand1 = var$3; $this.$mc1 = $par1Minecraft; $this.$netManager = $mgr; }, nms_NetClientHandler__init_1 = (var_0, var_1) => { let var_2 = new nms_NetClientHandler(); nms_NetClientHandler__init_2(var_2, var_0, var_1); return var_2; }, nms_NetClientHandler__init_ = ($this, $par1Minecraft, $channel) => { let var$3, var$4, var$5, var$6, var$7; $this.$disconnected = 0; $this.$doneLoadingTerrain = 0; $this.$mapStorage0 = nms_MapStorage__init_(); var$3 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; var$3.$elementData = var$5; var$3.$loadFactor = 0.75; var$3.$threshold = var$6.length * 0.75 | 0; $this.$playerInfoMap = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$playerInfoList = var$3; $this.$currentServerMaxPlayers = 20; $this.$field_98183_l = null; var$3 = new nle_EaglercraftRandom; var$7 = Long_fromNumber(performance.now() * 1000000.0); var$3.$seed = Long_fromInt(69); var$3.$haveNextNextGaussian = 0; var$3.$seed = var$7; $this.$rand1 = var$3; $this.$mc1 = $par1Minecraft; $this.$netManager = nle_IntegratedServer_openConnection($channel, $this); }, nms_NetClientHandler__init_4 = (var_0, var_1) => { let var_2 = new nms_NetClientHandler(); nms_NetClientHandler__init_(var_2, var_0, var_1); return var_2; }, nms_NetClientHandler__init_0 = ($this, $par1Minecraft, $par2Str, $par3) => { let var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2Str = $thread.pop();$par1Minecraft = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$disconnected = 0; $this.$doneLoadingTerrain = 0; $this.$mapStorage0 = nms_MapStorage__init_(); var$4 = new ju_HashMap; $par3 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, $par3); var$6 = var$5.data; var$4.$elementData = var$5; var$4.$loadFactor = 0.75; var$4.$threshold = var$6.length * 0.75 | 0; $this.$playerInfoMap = var$4; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$playerInfoList = var$4; $this.$currentServerMaxPlayers = 20; $this.$field_98183_l = null; var$4 = new nle_EaglercraftRandom; var$7 = Long_fromNumber(performance.now() * 1000000.0); var$4.$seed = Long_fromInt(69); var$4.$haveNextNextGaussian = 0; var$4.$seed = var$7; $this.$rand1 = var$4; $this.$mc1 = $par1Minecraft; $par1Minecraft = new nle_WebsocketNetworkManager; var$4 = null; $ptr = 1; case 1: nle_WebsocketNetworkManager__init_($par1Minecraft, $par2Str, var$4, $this); if ($rt_suspending()) { break main; } $this.$netManager = $par1Minecraft; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Minecraft, $par2Str, $par3, var$4, var$5, var$6, var$7, $ptr); }, nms_NetClientHandler__init_3 = (var_0, var_1, var_2) => { let var_3 = new nms_NetClientHandler(); nms_NetClientHandler__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_NetClientHandler_processReadPackets = $this => { let var$1, $r, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$r = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$netManager; if (var$1 !== null) { $ptr = 1; continue main; } if (nlea_EaglerAdapterImpl2_connectionOpen()) { if ($this.$disconnected) nlea_EaglerAdapterImpl2_endConnection(); } else if (!$this.$disconnected) { $r = nlea_EaglerAdapterImpl2_rateLimitStatus; nlea_EaglerAdapterImpl2_rateLimitStatus = null; if ($r !== null) { if ($r === nlea_EaglerAdapterImpl2$RateLimit_NOW_LOCKED) { var$1 = $this.$mc1; var$3 = nms_GuiDisconnected__init_($this.$netManager instanceof nle_WorkerNetworkManager ? nms_GuiMainMenu__init_() : nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()), $rt_s(3343), $rt_s(1621), $rt_createArray(jl_Object, 0)); $ptr = 3; continue main; } if ($r === nlea_EaglerAdapterImpl2$RateLimit_LOCKED) { var$1 = $this.$mc1; var$3 = nms_GuiDisconnected__init_($this.$netManager instanceof nle_WorkerNetworkManager ? nms_GuiMainMenu__init_() : nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()), $rt_s(3344), $rt_s(1621), $rt_createArray(jl_Object, 0)); $ptr = 4; continue main; } if ($r === nlea_EaglerAdapterImpl2$RateLimit_BLOCKED) { var$1 = $this.$mc1; var$3 = nms_GuiDisconnected__init_($this.$netManager instanceof nle_WorkerNetworkManager ? nms_GuiMainMenu__init_() : nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()), $rt_s(3345), $rt_s(1621), $rt_createArray(jl_Object, 0)); $ptr = 5; continue main; } if ($r === nlea_EaglerAdapterImpl2$RateLimit_FAILED_POSSIBLY_LOCKED) { var$1 = $this.$mc1; var$3 = nms_GuiDisconnected__init_($this.$netManager instanceof nle_WorkerNetworkManager ? nms_GuiMainMenu__init_() : nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()), $rt_s(3346), $rt_s(1621), $rt_createArray(jl_Object, 0)); $ptr = 6; continue main; } var$1 = $this.$mc1; var$3 = new nms_GuiDisconnected; var$4 = $this.$netManager instanceof nle_WorkerNetworkManager ? nms_GuiMainMenu__init_() : nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()); var$5 = $r.$name0; $r = new jl_StringBuilder; $r.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($r, $r.$length0, $rt_s(3347)); var$6 = $r.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert($r, var$6, var$5); var$5 = new jl_String; var$7 = $r.$buffer; var$8 = var$7.data; var$6 = $r.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); nms_GuiDisconnected__init_0(var$3, var$4, $rt_s(3348), var$5, $rt_createArray(jl_Object, 0)); $ptr = 8; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$5 = $this.$mc1; var$1 = var$5.$currentScreen; if (!(var$1 instanceof nms_GuiDisconnected) && !(var$1 instanceof nle_GuiScreenSingleplayerException) && !(var$1 instanceof nle_GuiScreenSingleplayerLoading)) { var$1 = nms_GuiDisconnected__init_($this.$netManager instanceof nle_WorkerNetworkManager ? nms_GuiMainMenu__init_() : nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()), $rt_s(3348), $rt_s(1621), $rt_createArray(jl_Object, 0)); var$6 = nle_IntegratedServer_statusState; if (var$6 && var$6 != (-2) && var$6 != (-1) ? 0 : 1) { $ptr = 7; continue main; } if (nle_IntegratedServer_isWorldRunning()) { nle_IntegratedServer_statusState = 4; nle_IntegratedServer_sendIPCPacket(new nlesi_IPCPacket01StopServer); } var$3 = nle_IntegratedServerLAN_lanRelaySocket; if (var$3 !== null) { var$3.$close(); nle_IntegratedServerLAN_lanRelaySocket = null; nle_IntegratedServerLAN_currentCode = null; } var$3 = nle_IntegratedServerLAN_clients; if (var$3.$cachedValues === null) { var$4 = new ju_HashMap$2; var$4.$this$01 = var$3; var$3.$cachedValues = var$4; } var$3 = var$3.$cachedValues.$iterator(); while (var$3.$hasNext()) { nle_IntegratedServerLAN$LANClient_disconnect(var$3.$next()); } var$3 = nle_IntegratedServerLAN_clients; if (var$3.$elementCount > 0) { var$3.$elementCount = 0; var$7 = var$3.$elementData.data; var$4 = null; var$6 = 0; var$9 = var$7.length; if (var$6 > var$9) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$6 < var$9) { var$10 = var$6 + 1 | 0; var$7[var$6] = var$4; var$6 = var$10; } var$3.$modCount0 = var$3.$modCount0 + 1 | 0; } var$4 = new nle_GuiScreenSingleplayerLoading; $r = new nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0; var$11 = nle_GuiScreenSingleplayerLoading_defaultExceptionAction; var$12 = nle_GuiScreenSingleplayerLoading_defaultTerminateAction; nms_GuiScreen__init_(var$4); var$4.$menu = var$1; var$4.$message0 = $rt_s(492); var$4.$checkTaskComplete = $r; var$4.$onException = var$11; var$4.$taskKill = var$12; var$4.$lastStatus = nle_IntegratedServer_worldStatusString; var$4.$currentStatus = $rt_s(492); $ptr = 9; continue main; } $this.$disconnected = 1; var$1 = $this.$mc1; var$3 = null; var$4 = $rt_s(18); $ptr = 2; continue main; } return; case 1: var$1.$processReadPackets(); if ($rt_suspending()) { break main; } if (nlea_EaglerAdapterImpl2_connectionOpen()) { if ($this.$disconnected) nlea_EaglerAdapterImpl2_endConnection(); } else if (!$this.$disconnected) { $r = nlea_EaglerAdapterImpl2_rateLimitStatus; nlea_EaglerAdapterImpl2_rateLimitStatus = null; if ($r !== null) { if ($r === nlea_EaglerAdapterImpl2$RateLimit_NOW_LOCKED) { var$1 = $this.$mc1; var$3 = nms_GuiDisconnected__init_($this.$netManager instanceof nle_WorkerNetworkManager ? nms_GuiMainMenu__init_() : nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()), $rt_s(3343), $rt_s(1621), $rt_createArray(jl_Object, 0)); $ptr = 3; continue main; } if ($r === nlea_EaglerAdapterImpl2$RateLimit_LOCKED) { var$1 = $this.$mc1; var$3 = nms_GuiDisconnected__init_($this.$netManager instanceof nle_WorkerNetworkManager ? nms_GuiMainMenu__init_() : nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()), $rt_s(3344), $rt_s(1621), $rt_createArray(jl_Object, 0)); $ptr = 4; continue main; } if ($r === nlea_EaglerAdapterImpl2$RateLimit_BLOCKED) { var$1 = $this.$mc1; var$3 = nms_GuiDisconnected__init_($this.$netManager instanceof nle_WorkerNetworkManager ? nms_GuiMainMenu__init_() : nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()), $rt_s(3345), $rt_s(1621), $rt_createArray(jl_Object, 0)); $ptr = 5; continue main; } if ($r === nlea_EaglerAdapterImpl2$RateLimit_FAILED_POSSIBLY_LOCKED) { var$1 = $this.$mc1; var$3 = nms_GuiDisconnected__init_($this.$netManager instanceof nle_WorkerNetworkManager ? nms_GuiMainMenu__init_() : nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()), $rt_s(3346), $rt_s(1621), $rt_createArray(jl_Object, 0)); $ptr = 6; continue main; } var$1 = $this.$mc1; var$3 = new nms_GuiDisconnected; var$4 = $this.$netManager instanceof nle_WorkerNetworkManager ? nms_GuiMainMenu__init_() : nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()); var$5 = $r.$name0; $r = new jl_StringBuilder; $r.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($r, $r.$length0, $rt_s(3347)); var$6 = $r.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert($r, var$6, var$5); var$5 = new jl_String; var$7 = $r.$buffer; var$8 = var$7.data; var$6 = $r.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); nms_GuiDisconnected__init_0(var$3, var$4, $rt_s(3348), var$5, $rt_createArray(jl_Object, 0)); $ptr = 8; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$5 = $this.$mc1; var$1 = var$5.$currentScreen; if (!(var$1 instanceof nms_GuiDisconnected) && !(var$1 instanceof nle_GuiScreenSingleplayerException) && !(var$1 instanceof nle_GuiScreenSingleplayerLoading)) { var$1 = nms_GuiDisconnected__init_($this.$netManager instanceof nle_WorkerNetworkManager ? nms_GuiMainMenu__init_() : nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()), $rt_s(3348), $rt_s(1621), $rt_createArray(jl_Object, 0)); var$6 = nle_IntegratedServer_statusState; if (var$6 && var$6 != (-2) && var$6 != (-1) ? 0 : 1) { $ptr = 7; continue main; } if (nle_IntegratedServer_isWorldRunning()) { nle_IntegratedServer_statusState = 4; nle_IntegratedServer_sendIPCPacket(new nlesi_IPCPacket01StopServer); } var$3 = nle_IntegratedServerLAN_lanRelaySocket; if (var$3 !== null) { var$3.$close(); nle_IntegratedServerLAN_lanRelaySocket = null; nle_IntegratedServerLAN_currentCode = null; } var$3 = nle_IntegratedServerLAN_clients; if (var$3.$cachedValues === null) { var$4 = new ju_HashMap$2; var$4.$this$01 = var$3; var$3.$cachedValues = var$4; } var$3 = var$3.$cachedValues.$iterator(); while (var$3.$hasNext()) { nle_IntegratedServerLAN$LANClient_disconnect(var$3.$next()); } var$3 = nle_IntegratedServerLAN_clients; if (var$3.$elementCount > 0) { var$3.$elementCount = 0; var$7 = var$3.$elementData.data; var$4 = null; var$6 = 0; var$9 = var$7.length; if (var$6 > var$9) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$6 < var$9) { var$10 = var$6 + 1 | 0; var$7[var$6] = var$4; var$6 = var$10; } var$3.$modCount0 = var$3.$modCount0 + 1 | 0; } var$4 = new nle_GuiScreenSingleplayerLoading; $r = new nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0; var$11 = nle_GuiScreenSingleplayerLoading_defaultExceptionAction; var$12 = nle_GuiScreenSingleplayerLoading_defaultTerminateAction; nms_GuiScreen__init_(var$4); var$4.$menu = var$1; var$4.$message0 = $rt_s(492); var$4.$checkTaskComplete = $r; var$4.$onException = var$11; var$4.$taskKill = var$12; var$4.$lastStatus = nle_IntegratedServer_worldStatusString; var$4.$currentStatus = $rt_s(492); $ptr = 9; continue main; } $this.$disconnected = 1; var$1 = $this.$mc1; var$3 = null; var$4 = $rt_s(18); $ptr = 2; continue main; } return; case 2: nms_Minecraft_loadWorld(var$1, var$3, var$4); if ($rt_suspending()) { break main; } return; case 3: nms_Minecraft_displayGuiScreen(var$1, var$3); if ($rt_suspending()) { break main; } $this.$disconnected = 1; var$1 = $this.$mc1; var$3 = null; var$4 = $rt_s(18); $ptr = 2; continue main; case 4: nms_Minecraft_displayGuiScreen(var$1, var$3); if ($rt_suspending()) { break main; } $this.$disconnected = 1; var$1 = $this.$mc1; var$3 = null; var$4 = $rt_s(18); $ptr = 2; continue main; case 5: nms_Minecraft_displayGuiScreen(var$1, var$3); if ($rt_suspending()) { break main; } $this.$disconnected = 1; var$1 = $this.$mc1; var$3 = null; var$4 = $rt_s(18); $ptr = 2; continue main; case 6: nms_Minecraft_displayGuiScreen(var$1, var$3); if ($rt_suspending()) { break main; } $this.$disconnected = 1; var$1 = $this.$mc1; var$3 = null; var$4 = $rt_s(18); $ptr = 2; continue main; case 7: nms_Minecraft_displayGuiScreen(var$5, var$1); if ($rt_suspending()) { break main; } $this.$disconnected = 1; var$1 = $this.$mc1; var$3 = null; var$4 = $rt_s(18); $ptr = 2; continue main; case 8: nms_Minecraft_displayGuiScreen(var$1, var$3); if ($rt_suspending()) { break main; } $this.$disconnected = 1; var$1 = $this.$mc1; var$3 = null; var$4 = $rt_s(18); $ptr = 2; continue main; case 9: nms_Minecraft_displayGuiScreen(var$5, var$4); if ($rt_suspending()) { break main; } $this.$disconnected = 1; var$1 = $this.$mc1; var$3 = null; var$4 = $rt_s(18); $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $r, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_NetClientHandler_handleLogin = ($this, $par1Packet1Login) => { let var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1Packet1Login = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$mc1; var$3 = new nms_PlayerControllerMP; var$3.$currentBlockX = (-1); var$3.$currentBlockY = (-1); var$3.$currentblockZ = (-1); var$3.$currentGameType = nms_EnumGameType_SURVIVAL; var$3.$mc6 = var$2; var$3.$netClientHandler = $this; var$2.$playerController = var$3; var$4 = new nms_WorldClient; var$5 = new nms_WorldSettings; var$6 = $par1Packet1Login.$gameType; var$7 = $par1Packet1Login.$hardcoreMode; var$3 = $par1Packet1Login.$terrainType2; var$5.$field_82751_h = $rt_s(18); var$5.$seed0 = Long_ZERO; var$5.$theGameType0 = var$6; var$5.$mapFeaturesEnabled = 0; var$5.$hardcoreEnabled = var$7; var$5.$terrainType1 = var$3; nms_WorldClient__init_(var$4, $this, var$5, $par1Packet1Login.$dimension1, $par1Packet1Login.$difficultySetting0); $this.$worldClient = var$4; var$4.$isRemote = 1; var$3 = $this.$mc1; var$2 = $rt_s(18); $ptr = 1; case 1: nms_Minecraft_loadWorld(var$3, var$4, var$2); if ($rt_suspending()) { break main; } var$3 = $this.$mc1; var$3.$thePlayer.$dimension = $par1Packet1Login.$dimension1; var$2 = new nms_GuiDownloadTerrain; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); var$2.$buttonList = var$4; var$2.$allowUserInput = 0; var$2.$selectedButton = null; var$2.$eventButton = 0; var$2.$field_85043_c = Long_ZERO; var$2.$field_92018_d = 0; var$2.$netHandler1 = $this; $ptr = 2; case 2: nms_Minecraft_displayGuiScreen(var$3, var$2); if ($rt_suspending()) { break main; } var$3 = $this.$mc1; var$3.$thePlayer.$entityId = $par1Packet1Login.$clientEntityId; $this.$currentServerMaxPlayers = $par1Packet1Login.$maxPlayers; var$3 = var$3.$playerController; $par1Packet1Login = $par1Packet1Login.$gameType; var$3.$currentGameType = $par1Packet1Login; nms_EnumGameType_configurePlayerCapabilities($par1Packet1Login, var$3.$mc6.$thePlayer.$capabilities); nms_GameSettings_sendSettingsToServer($this.$mc1.$gameSettings); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet1Login, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_NetClientHandler_handleVehicleSpawn = ($this, $par1Packet23VehicleSpawn) => { let $var2, $var4, $var6, $var8, var$6, $var14, var$8, var$9, var$10, var$11, var$12, $var9, var$14, var$15, var$16, $var13, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var13 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var9 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var14 = $thread.pop();var$6 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$par1Packet23VehicleSpawn = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $par1Packet23VehicleSpawn.$xPosition1 / 32.0; $var4 = $par1Packet23VehicleSpawn.$yPosition1 / 32.0; $var6 = $par1Packet23VehicleSpawn.$zPosition0 / 32.0; $var8 = null; var$6 = $par1Packet23VehicleSpawn.$type1; if (var$6 == 10) { $var14 = $this.$worldClient; switch ($par1Packet23VehicleSpawn.$throwerEntityId) { case 1: $var8 = new nms_EntityMinecartChest; nms_Entity__init_($var8, $var14); $var8.$preventEntitySpawning = 1; var$8 = 0.9800000190734863; var$9 = 0.699999988079071; $ptr = 1; continue main; case 2: break; case 3: $var8 = new nms_EntityMinecartTNT; nms_Entity__init_($var8, $var14); $var8.$preventEntitySpawning = 1; var$8 = 0.9800000190734863; var$9 = 0.699999988079071; $ptr = 3; continue main; case 4: $var8 = new nms_EntityMinecartMobSpawner; nms_Entity__init_($var8, $var14); $var8.$preventEntitySpawning = 1; var$8 = 0.9800000190734863; var$9 = 0.699999988079071; $ptr = 4; continue main; case 5: $var8 = new nms_EntityMinecartHopper; nms_Entity__init_($var8, $var14); $var8.$preventEntitySpawning = 1; var$8 = 0.9800000190734863; var$9 = 0.699999988079071; $ptr = 5; continue main; default: $var8 = new nms_EntityMinecartEmpty; nms_Entity__init_($var8, $var14); $var8.$preventEntitySpawning = 1; var$8 = 0.9800000190734863; var$9 = 0.699999988079071; $ptr = 6; continue main; } $var8 = new nms_EntityMinecartFurnace; nms_Entity__init_($var8, $var14); $var8.$preventEntitySpawning = 1; var$8 = 0.9800000190734863; var$9 = 0.699999988079071; $ptr = 2; continue main; } a: { if (var$6 != 90) { if (var$6 == 60) { $var8 = new nms_EntityArrow; nms_Entity__init_($var8, $this.$worldClient); $var8.$xTile = (-1); $var8.$yTile = (-1); $var8.$zTile = (-1); $var8.$damage = 2.0; $var8.$renderDistanceWeight = 10.0; var$8 = 0.5; var$9 = 0.5; $ptr = 7; continue main; } if (var$6 == 61) { $var8 = new nms_EntitySnowball; nms_Entity__init_($var8, $this.$worldClient); $var8.$xTile0 = (-1); $var8.$yTile0 = (-1); $var8.$zTile0 = (-1); $var8.$ticksInGround = 0; var$8 = 0.25; var$9 = 0.25; $ptr = 8; continue main; } if (var$6 == 71) { $var8 = new nms_EntityItemFrame; $var14 = $this.$worldClient; var$10 = $var2 | 0; var$6 = $var4 | 0; var$11 = $var6 | 0; var$12 = $par1Packet23VehicleSpawn.$throwerEntityId; nms_Entity__init_($var8, $var14); $var8.$yOffset = 0.0; var$8 = 0.5; var$9 = 0.5; $ptr = 9; continue main; } if (var$6 == 77) { $var8 = new nms_EntityLeashKnot; $var14 = $this.$worldClient; var$10 = $var2 | 0; var$6 = $var4 | 0; var$11 = $var6 | 0; nms_Entity__init_($var8, $var14); $var8.$yOffset = 0.0; var$8 = 0.5; var$9 = 0.5; $ptr = 11; continue main; } if (var$6 == 65) { $var8 = new nms_EntityEnderPearl; nms_Entity__init_($var8, $this.$worldClient); $var8.$xTile0 = (-1); $var8.$yTile0 = (-1); $var8.$zTile0 = (-1); $var8.$ticksInGround = 0; var$8 = 0.25; var$9 = 0.25; $ptr = 12; continue main; } if (var$6 == 72) { $var8 = new nms_EntityEnderEye; nms_Entity__init_($var8, $this.$worldClient); $var8.$despawnTimer = 0; var$8 = 0.25; var$9 = 0.25; $ptr = 13; continue main; } if (var$6 == 76) { $var8 = new nms_EntityFireworkRocket; $var14 = $this.$worldClient; $var9 = null; $ptr = 14; continue main; } if (var$6 == 63) { $var8 = new nms_EntityLargeFireball; $var14 = $this.$worldClient; var$14 = $par1Packet23VehicleSpawn.$speedX / 8000.0; var$15 = $par1Packet23VehicleSpawn.$speedY / 8000.0; var$16 = $par1Packet23VehicleSpawn.$speedZ / 8000.0; $ptr = 16; continue main; } if (var$6 == 64) { $var8 = new nms_EntitySmallFireball; $var14 = $this.$worldClient; var$14 = $par1Packet23VehicleSpawn.$speedX / 8000.0; var$15 = $par1Packet23VehicleSpawn.$speedY / 8000.0; var$16 = $par1Packet23VehicleSpawn.$speedZ / 8000.0; $ptr = 19; continue main; } if (var$6 == 66) { $var8 = new nms_EntityWitherSkull; $var14 = $this.$worldClient; var$15 = $par1Packet23VehicleSpawn.$speedX / 8000.0; var$16 = $par1Packet23VehicleSpawn.$speedY / 8000.0; var$14 = $par1Packet23VehicleSpawn.$speedZ / 8000.0; $ptr = 21; continue main; } if (var$6 == 62) { $var8 = new nms_EntityEgg; nms_Entity__init_($var8, $this.$worldClient); $var8.$xTile0 = (-1); $var8.$yTile0 = (-1); $var8.$zTile0 = (-1); $var8.$ticksInGround = 0; var$8 = 0.25; var$9 = 0.25; $ptr = 23; continue main; } if (var$6 == 73) { $var8 = new nms_EntityPotion; $var14 = $this.$worldClient; var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; $var9 = new nms_ItemStack; nms_Item_$callClinit(); $var13 = nms_Item_potion; nms_ItemStack_$callClinit(); $var9.$itemID = $var13.$itemID0; $var9.$stackSize = 1; $var9.$itemDamage = var$10; if (var$10 < 0) $var9.$itemDamage = 0; nms_Entity__init_($var8, $var14); $var8.$xTile0 = (-1); $var8.$yTile0 = (-1); $var8.$zTile0 = (-1); $var8.$ticksInGround = 0; var$8 = 0.25; var$9 = 0.25; $ptr = 25; continue main; } if (var$6 == 75) { $var8 = new nms_EntityExpBottle; nms_Entity__init_($var8, $this.$worldClient); $var8.$xTile0 = (-1); $var8.$yTile0 = (-1); $var8.$zTile0 = (-1); $var8.$ticksInGround = 0; var$8 = 0.25; var$9 = 0.25; $ptr = 24; continue main; } if (var$6 == 1) { $var8 = new nms_EntityBoat; nms_Entity__init_($var8, $this.$worldClient); $var8.$field_70279_a = 1; $var8.$speedMultiplier = 0.07; $var8.$preventEntitySpawning = 1; var$8 = 1.5; var$9 = 0.6000000238418579; $ptr = 26; continue main; } if (var$6 == 50) { $var8 = new nms_EntityTNTPrimed; $var14 = $this.$worldClient; $var9 = null; $ptr = 27; continue main; } if (var$6 == 51) { $var8 = new nms_EntityEnderCrystal; nms_Entity__init_($var8, $this.$worldClient); $var8.$preventEntitySpawning = 1; var$8 = 2.0; var$9 = 2.0; $ptr = 28; continue main; } if (var$6 == 2) { $var8 = new nms_EntityItem; $var14 = $this.$worldClient; $ptr = 29; continue main; } if (var$6 != 70) break a; $var8 = new nms_EntityFallingSand; $var14 = $this.$worldClient; var$6 = $par1Packet23VehicleSpawn.$throwerEntityId; var$11 = var$6 & 65535; var$10 = var$6 >> 16; $ptr = 30; continue main; } var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; $var9 = $this.$mc1.$thePlayer; if (var$10 != $var9.$entityId) { $var14 = $this.$worldClient; $var9 = $var14.$mc2.$thePlayer; if (var$10 != $var9.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; b: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break b; } $var14 = $var14.$nextEntry; } $var14 = null; } $var9 = $var14; } } if ($var9 instanceof nms_EntityPlayer) { $var8 = new nms_EntityFishHook; $var14 = $this.$worldClient; $var9 = $var9; nms_Entity__init_($var8, $var14); $var8.$xTile2 = (-1); $var8.$yTile2 = (-1); $var8.$zTile2 = (-1); var$8 = 0.25; var$9 = 0.25; $ptr = 10; continue main; } $par1Packet23VehicleSpawn.$throwerEntityId = 0; } if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; c: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break c; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; d: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break d; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 1: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } $var8.$yOffset = $var8.$height2 / 2.0; if ($var14 === null) $var9 = null; else { $var9 = new nms_SoundUpdaterMinecart; $var14 = $var14.$mc2; $var13 = $var14.$sndManager; $var14 = $var14.$thePlayer; $var9.$theSoundManager = $var13; $var9.$theMinecart = $var8; $var9.$thePlayer0 = $var14; } $var8.$field_82344_g = $var9; nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$motionX = 0.0; $var8.$motionY = 0.0; $var8.$motionZ = 0.0; $var8.$prevPosX = $var2; $var8.$prevPosY = $var4; $var8.$prevPosZ = $var6; $var8.$minecartContainerItems = $rt_createArray(nms_ItemStack, 36); $var8.$dropContentsWhenDead = 1; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; e: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break e; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; f: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break f; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 2: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } $var8.$yOffset = $var8.$height2 / 2.0; if ($var14 === null) $var9 = null; else { $var9 = new nms_SoundUpdaterMinecart; $var14 = $var14.$mc2; $var13 = $var14.$sndManager; $var14 = $var14.$thePlayer; $var9.$theSoundManager = $var13; $var9.$theMinecart = $var8; $var9.$thePlayer0 = $var14; } $var8.$field_82344_g = $var9; nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$motionX = 0.0; $var8.$motionY = 0.0; $var8.$motionZ = 0.0; $var8.$prevPosX = $var2; $var8.$prevPosY = $var4; $var8.$prevPosZ = $var6; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; e: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break e; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; f: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break f; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 3: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } $var8.$yOffset = $var8.$height2 / 2.0; if ($var14 === null) $var9 = null; else { $var9 = new nms_SoundUpdaterMinecart; $var14 = $var14.$mc2; $var13 = $var14.$sndManager; $var14 = $var14.$thePlayer; $var9.$theSoundManager = $var13; $var9.$theMinecart = $var8; $var9.$thePlayer0 = $var14; } $var8.$field_82344_g = $var9; nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$motionX = 0.0; $var8.$motionY = 0.0; $var8.$motionZ = 0.0; $var8.$prevPosX = $var2; $var8.$prevPosY = $var4; $var8.$prevPosZ = $var6; $var8.$minecartTNTFuse = (-1); if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; e: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break e; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; f: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break f; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 4: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } $var8.$yOffset = $var8.$height2 / 2.0; if ($var14 === null) $var9 = null; else { $var9 = new nms_SoundUpdaterMinecart; $var14 = $var14.$mc2; $var13 = $var14.$sndManager; $var14 = $var14.$thePlayer; $var9.$theSoundManager = $var13; $var9.$theMinecart = $var8; $var9.$thePlayer0 = $var14; } $var8.$field_82344_g = $var9; nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$motionX = 0.0; $var8.$motionY = 0.0; $var8.$motionZ = 0.0; $var8.$prevPosX = $var2; $var8.$prevPosY = $var4; $var8.$prevPosZ = $var6; $var14 = new nms_EntityMinecartMobSpawnerLogic; $var14.$spawnDelay = 20; $var14.$mobID = $rt_s(690); $var14.$minSpawnDelay = 200; $var14.$maxSpawnDelay = 800; $var14.$spawnCount = 4; $var14.$maxNearbyEntities = 6; $var14.$activatingRangeFromPlayer = 16; $var14.$spawnRange = 4; $var14.$spawnerMinecart = $var8; $var8.$mobSpawnerLogic = $var14; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; e: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break e; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; f: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break f; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 5: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } $var8.$yOffset = $var8.$height2 / 2.0; if ($var14 === null) $var9 = null; else { $var9 = new nms_SoundUpdaterMinecart; $var14 = $var14.$mc2; $var13 = $var14.$sndManager; $var14 = $var14.$thePlayer; $var9.$theSoundManager = $var13; $var9.$theMinecart = $var8; $var9.$thePlayer0 = $var14; } $var8.$field_82344_g = $var9; nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$motionX = 0.0; $var8.$motionY = 0.0; $var8.$motionZ = 0.0; $var8.$prevPosX = $var2; $var8.$prevPosY = $var4; $var8.$prevPosZ = $var6; $var8.$minecartContainerItems = $rt_createArray(nms_ItemStack, 36); $var8.$dropContentsWhenDead = 1; $var8.$isBlocked = 1; $var8.$transferTicker = (-1); if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; e: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break e; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; f: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break f; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 6: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } $var8.$yOffset = $var8.$height2 / 2.0; if ($var14 === null) $var9 = null; else { $var9 = new nms_SoundUpdaterMinecart; $var14 = $var14.$mc2; $var13 = $var14.$sndManager; $var14 = $var14.$thePlayer; $var9.$theSoundManager = $var13; $var9.$theMinecart = $var8; $var9.$thePlayer0 = $var14; } $var8.$field_82344_g = $var9; nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$motionX = 0.0; $var8.$motionY = 0.0; $var8.$motionZ = 0.0; $var8.$prevPosX = $var2; $var8.$prevPosY = $var4; $var8.$prevPosZ = $var6; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; e: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break e; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; f: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break f; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 7: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$yOffset = 0.0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 8: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$yOffset = 0.0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 9: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } $var8.$xPosition2 = var$10; $var8.$yPosition2 = var$6; $var8.$zPosition1 = var$11; $var8.$itemDropChance = 1.0; nms_EntityHanging_setDirection($var8, var$12); $par1Packet23VehicleSpawn.$throwerEntityId = 0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 10: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } $var8.$ignoreFrustumCheck = 1; nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$ignoreFrustumCheck = 1; $var8.$angler = $var9; $var9.$fishEntity = $var8; $par1Packet23VehicleSpawn.$throwerEntityId = 0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 11: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } $var8.$xPosition2 = var$10; $var8.$yPosition2 = var$6; $var8.$zPosition1 = var$11; nms_Entity_setPosition($var8, var$10 + 0.5, var$6 + 0.5, var$11 + 0.5); $par1Packet23VehicleSpawn.$throwerEntityId = 0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 12: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$yOffset = 0.0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 13: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$yOffset = 0.0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 14: nms_EntityFireworkRocket__init_($var8, $var14, $var2, $var4, $var6, $var9); if ($rt_suspending()) { break main; } if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 15: $var9.$mountEntity($var13); if ($rt_suspending()) { break main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; case 16: nms_EntityFireball__init_($var8, $var14, $var2, $var4, $var6, var$14, var$15, var$16); if ($rt_suspending()) { break main; } $var8.$field_92057_e = 1; $par1Packet23VehicleSpawn.$throwerEntityId = 0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 17: var$19.$setDead(); if ($rt_suspending()) { break main; } if (var$19 instanceof nms_EntityPlayer) { $var9 = $var14.$playerEntities; var$12 = $var9.$size0; var$6 = 0; i: { while (true) { if (var$6 >= var$12) { var$6 = (-1); break i; } if (var$6 < 0) break; if (var$6 >= $var9.$size0) break; $var13 = $var9.$array.data[var$6]; if (var$19 === $var13 ? 1 : var$19 !== null ? var$19.$equals($var13) : $var13 !== null ? 0 : 1) break i; var$6 = var$6 + 1 | 0; } $par1Packet23VehicleSpawn = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1Packet23VehicleSpawn); $rt_throw($par1Packet23VehicleSpawn); } if (var$6 >= 0) ju_ArrayList_remove($var9, var$6); } $var9 = ju_HashMap_removeByKey($var14.$entityList.$backingMap, var$19); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; j: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break j; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } return; case 18: var$19.$mountEntity($var9); if ($rt_suspending()) { break main; } $ptr = 17; continue main; case 19: nms_EntityFireball__init_($var8, $var14, $var2, $var4, $var6, var$14, var$15, var$16); if ($rt_suspending()) { break main; } var$9 = 0.3125; var$8 = 0.3125; $ptr = 20; case 20: nms_Entity_setSize($var8, var$9, var$8); if ($rt_suspending()) { break main; } $par1Packet23VehicleSpawn.$throwerEntityId = 0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 21: nms_EntityFireball__init_($var8, $var14, $var2, $var4, $var6, var$15, var$16, var$14); if ($rt_suspending()) { break main; } var$9 = 0.3125; var$8 = 0.3125; $ptr = 22; case 22: nms_Entity_setSize($var8, var$9, var$8); if ($rt_suspending()) { break main; } $par1Packet23VehicleSpawn.$throwerEntityId = 0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 23: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$yOffset = 0.0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 24: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$yOffset = 0.0; $par1Packet23VehicleSpawn.$throwerEntityId = 0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 25: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } nms_Entity_setPosition($var8, $var2, $var4, $var6); $var8.$yOffset = 0.0; $var8.$potionDamage = $var9; $par1Packet23VehicleSpawn.$throwerEntityId = 0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 26: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } var$9 = $var8.$height2 / 2.0; $var8.$yOffset = var$9; nms_Entity_setPosition($var8, $var2, $var4 + var$9, $var6); $var8.$motionX = 0.0; $var8.$motionY = 0.0; $var8.$motionZ = 0.0; $var8.$prevPosX = $var2; $var8.$prevPosY = $var4; $var8.$prevPosZ = $var6; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 27: nms_EntityTNTPrimed__init_($var8, $var14, $var2, $var4, $var6, $var9); if ($rt_suspending()) { break main; } if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 28: nms_Entity_setSize($var8, var$8, var$9); if ($rt_suspending()) { break main; } $var8.$yOffset = $var8.$height2 / 2.0; $var8.$health0 = 5; $var14 = $var8.$rand; var$20 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$20; var$11 = Long_lo(Long_shru(var$20, 17)); while (true) { var$12 = var$11 % 100000 | 0; if (((var$11 - var$12 | 0) + 99999 | 0) >= 0) break; var$20 = Long_and(Long_add(Long_mul($var14.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var14.$seed = var$20; var$11 = Long_lo(Long_shru(var$20, 17)); } $var8.$innerRotation = var$12; nms_Entity_setPosition($var8, $var2, $var4, $var6); if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; k: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break k; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; l: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break l; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 29: nms_EntityItem__init_($var8, $var14, $var2, $var4, $var6); if ($rt_suspending()) { break main; } if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; case 30: nms_EntityFallingSand__init_($var8, $var14, $var2, $var4, $var6, var$11, var$10); if ($rt_suspending()) { break main; } $par1Packet23VehicleSpawn.$throwerEntityId = 0; if ($var8 !== null) { $var8.$serverPosX = $par1Packet23VehicleSpawn.$xPosition1; $var8.$serverPosY = $par1Packet23VehicleSpawn.$yPosition1; $var8.$serverPosZ = $par1Packet23VehicleSpawn.$zPosition0; $var8.$rotationPitch = ($par1Packet23VehicleSpawn.$pitch * 360 | 0) / 256.0; $var8.$rotationYaw = ($par1Packet23VehicleSpawn.$yaw * 360 | 0) / 256.0; var$10 = $par1Packet23VehicleSpawn.$entityId0; $var8.$entityId = var$10; $var14 = $this.$worldClient; var$19 = $var14.$mc2.$thePlayer; if (var$10 != var$19.$entityId) { $var9 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var9.$slots.data; $var9 = var$18[var$12 & (var$18.length - 1 | 0)]; g: { while ($var9 !== null) { if ($var9.$hashEntry == var$10) { $var9 = $var9.$valueEntry; break g; } $var9 = $var9.$nextEntry; } $var9 = null; } var$19 = $var9; } if (var$19 !== null) { $var9 = var$19.$riddenByEntity; if ($var9 !== null) { $var13 = null; $ptr = 15; continue main; } if (var$19.$ridingEntity === null) { $ptr = 17; continue main; } $var9 = null; $ptr = 18; continue main; } $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); $var8.$entityId = var$10; var$6 = nms_World_spawnEntityInWorld($var14, $var8); $var9 = $var14.$entityList; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } if (!var$6) { $var9 = $var14.$entitySpawnQueue; ju_HashMap_putImpl($var9.$backingMap, $var8, $var9); } nms_IntHashMap_addKey($var14.$entityHashSet, var$10, $var8); var$10 = $par1Packet23VehicleSpawn.$throwerEntityId; if (var$10 > 0) { if ($par1Packet23VehicleSpawn.$type1 == 60) { $var13 = $this.$mc1.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $this.$worldClient; $var13 = $var14.$mc2.$thePlayer; if (var$10 != $var13.$entityId) { $var14 = $var14.$entityHashSet; var$6 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$12 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$18 = $var14.$slots.data; $var14 = var$18[var$12 & (var$18.length - 1 | 0)]; h: { while ($var14 !== null) { if ($var14.$hashEntry == var$10) { $var14 = $var14.$valueEntry; break h; } $var14 = $var14.$nextEntry; } $var14 = null; } $var13 = $var14; } } if ($var13 instanceof nms_EntityLivingBase) $var8.$shootingEntity = $var13; } $var8.$setVelocity($par1Packet23VehicleSpawn.$speedX / 8000.0, $par1Packet23VehicleSpawn.$speedY / 8000.0, $par1Packet23VehicleSpawn.$speedZ / 8000.0); } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet23VehicleSpawn, $var2, $var4, $var6, $var8, var$6, $var14, var$8, var$9, var$10, var$11, var$12, $var9, var$14, var$15, var$16, $var13, var$18, var$19, var$20, $ptr); }, nms_NetClientHandler_handleEntityExpOrb = ($this, $par1Packet26EntityExpOrb) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1Packet26EntityExpOrb = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = new nms_EntityXPOrb; var$3 = $this.$worldClient; var$4 = $par1Packet26EntityExpOrb.$posX8; var$5 = $par1Packet26EntityExpOrb.$posY8; var$6 = $par1Packet26EntityExpOrb.$posZ7; var$7 = $par1Packet26EntityExpOrb.$xpValue0; $ptr = 1; case 1: nms_EntityXPOrb__init_($var2, var$3, var$4, var$5, var$6, var$7); if ($rt_suspending()) { break main; } $var2.$serverPosX = $par1Packet26EntityExpOrb.$posX8; $var2.$serverPosY = $par1Packet26EntityExpOrb.$posY8; $var2.$serverPosZ = $par1Packet26EntityExpOrb.$posZ7; $var2.$rotationYaw = 0.0; $var2.$rotationPitch = 0.0; var$7 = $par1Packet26EntityExpOrb.$entityId11; $var2.$entityId = var$7; $par1Packet26EntityExpOrb = $this.$worldClient; var$8 = $par1Packet26EntityExpOrb.$mc2.$thePlayer; if (var$7 != var$8.$entityId) { var$3 = $par1Packet26EntityExpOrb.$entityHashSet; var$9 = var$7 ^ (var$7 >>> 20 | 0) ^ (var$7 >>> 12 | 0); var$9 = var$9 ^ (var$9 >>> 7 | 0) ^ (var$9 >>> 4 | 0); var$10 = var$3.$slots.data; var$3 = var$10[var$9 & (var$10.length - 1 | 0)]; a: { while (var$3 !== null) { if (var$3.$hashEntry == var$7) { var$3 = var$3.$valueEntry; break a; } var$3 = var$3.$nextEntry; } var$3 = null; } var$8 = var$3; } if (var$8 === null) { var$3 = $par1Packet26EntityExpOrb.$entityList; ju_HashMap_putImpl(var$3.$backingMap, $var2, var$3); $var2.$entityId = var$7; var$9 = nms_World_spawnEntityInWorld($par1Packet26EntityExpOrb, $var2); var$3 = $par1Packet26EntityExpOrb.$entityList; ju_HashMap_putImpl(var$3.$backingMap, $var2, var$3); if (!var$9) { var$3 = $par1Packet26EntityExpOrb.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, $var2, var$3); } if (!var$9) { var$3 = $par1Packet26EntityExpOrb.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, $var2, var$3); } nms_IntHashMap_addKey($par1Packet26EntityExpOrb.$entityHashSet, var$7, $var2); return; } var$3 = var$8.$riddenByEntity; if (var$3 !== null) { var$11 = null; $ptr = 2; continue main; } if (var$8.$ridingEntity === null) { $ptr = 3; continue main; } var$3 = null; $ptr = 4; continue main; case 2: var$3.$mountEntity(var$11); if ($rt_suspending()) { break main; } if (var$8.$ridingEntity === null) { $ptr = 3; continue main; } var$3 = null; $ptr = 4; continue main; case 3: var$8.$setDead(); if ($rt_suspending()) { break main; } if (var$8 instanceof nms_EntityPlayer) { var$3 = $par1Packet26EntityExpOrb.$playerEntities; var$12 = var$3.$size0; var$9 = 0; b: { while (true) { if (var$9 >= var$12) { var$9 = (-1); break b; } if (var$9 < 0) break; if (var$9 >= var$3.$size0) break; var$11 = var$3.$array.data[var$9]; if (var$8 === var$11 ? 1 : var$8 !== null ? var$8.$equals(var$11) : var$11 !== null ? 0 : 1) break b; var$9 = var$9 + 1 | 0; } $par1Packet26EntityExpOrb = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1Packet26EntityExpOrb); $rt_throw($par1Packet26EntityExpOrb); } if (var$9 >= 0) ju_ArrayList_remove(var$3, var$9); } var$3 = ju_HashMap_removeByKey($par1Packet26EntityExpOrb.$entityList.$backingMap, var$8); var$3 = $par1Packet26EntityExpOrb.$entityList; ju_HashMap_putImpl(var$3.$backingMap, $var2, var$3); $var2.$entityId = var$7; var$9 = nms_World_spawnEntityInWorld($par1Packet26EntityExpOrb, $var2); var$3 = $par1Packet26EntityExpOrb.$entityList; ju_HashMap_putImpl(var$3.$backingMap, $var2, var$3); if (!var$9) { var$3 = $par1Packet26EntityExpOrb.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, $var2, var$3); } if (!var$9) { var$3 = $par1Packet26EntityExpOrb.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, $var2, var$3); } nms_IntHashMap_addKey($par1Packet26EntityExpOrb.$entityHashSet, var$7, $var2); return; case 4: var$8.$mountEntity(var$3); if ($rt_suspending()) { break main; } $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet26EntityExpOrb, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_NetClientHandler_handleWeather = ($this, $par1Packet71Weather) => { let $var2, $var4, $var6, $var8, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$par1Packet71Weather = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $par1Packet71Weather.$posX6 / 32.0; $var4 = $par1Packet71Weather.$posY6 / 32.0; $var6 = $par1Packet71Weather.$posZ5 / 32.0; $var8 = null; if ($par1Packet71Weather.$isLightningBolt != 1) { if ($var8 !== null) { $var8.$serverPosX = $par1Packet71Weather.$posX6; $var8.$serverPosY = $par1Packet71Weather.$posY6; $var8.$serverPosZ = $par1Packet71Weather.$posZ5; $var8.$rotationYaw = 0.0; $var8.$rotationPitch = 0.0; $var8.$entityId = $par1Packet71Weather.$entityID; $par1Packet71Weather = $this.$worldClient.$weatherEffects; ju_ArrayList_ensureCapacity($par1Packet71Weather, $par1Packet71Weather.$size0 + 1 | 0); var$6 = $par1Packet71Weather.$array.data; var$7 = $par1Packet71Weather.$size0; $par1Packet71Weather.$size0 = var$7 + 1 | 0; var$6[var$7] = $var8; $par1Packet71Weather.$modCount = $par1Packet71Weather.$modCount + 1 | 0; } return; } $var8 = new nms_EntityLightningBolt; var$8 = $this.$worldClient; $ptr = 1; case 1: nms_EntityLightningBolt__init_($var8, var$8, $var2, $var4, $var6); if ($rt_suspending()) { break main; } if ($var8 !== null) { $var8.$serverPosX = $par1Packet71Weather.$posX6; $var8.$serverPosY = $par1Packet71Weather.$posY6; $var8.$serverPosZ = $par1Packet71Weather.$posZ5; $var8.$rotationYaw = 0.0; $var8.$rotationPitch = 0.0; $var8.$entityId = $par1Packet71Weather.$entityID; $par1Packet71Weather = $this.$worldClient.$weatherEffects; ju_ArrayList_ensureCapacity($par1Packet71Weather, $par1Packet71Weather.$size0 + 1 | 0); var$6 = $par1Packet71Weather.$array.data; var$7 = $par1Packet71Weather.$size0; $par1Packet71Weather.$size0 = var$7 + 1 | 0; var$6[var$7] = $var8; $par1Packet71Weather.$modCount = $par1Packet71Weather.$modCount + 1 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet71Weather, $var2, $var4, $var6, $var8, var$6, var$7, var$8, $ptr); }, nms_NetClientHandler_handleNamedEntitySpawn = ($this, $par1Packet20NamedEntitySpawn) => { let $var2, $var4, $var6, $var8, $var9, $var10, var$8, var$9, $var11, $var12, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$par1Packet20NamedEntitySpawn = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $par1Packet20NamedEntitySpawn.$xPosition10 / 32.0; $var4 = $par1Packet20NamedEntitySpawn.$yPosition9 / 32.0; $var6 = $par1Packet20NamedEntitySpawn.$zPosition9 / 32.0; $var8 = ($par1Packet20NamedEntitySpawn.$rotation * 360 | 0) / 256.0; $var9 = ($par1Packet20NamedEntitySpawn.$pitch4 * 360 | 0) / 256.0; $var10 = new nms_EntityOtherPlayerMP; nms_EntityPlayer__init_($var10, $this.$mc1.$theWorld, $par1Packet20NamedEntitySpawn.$name23); $var10.$yOffset = 0.0; $var10.$stepHeight = 0.0; $var10.$noClip = 1; $var10.$field_71082_cx = 0.25; $var10.$renderDistanceWeight = 10.0; var$8 = $par1Packet20NamedEntitySpawn.$xPosition10; $var10.$serverPosX = var$8; var$9 = var$8; $var10.$lastTickPosX = var$9; $var10.$prevPosX = var$9; var$8 = $par1Packet20NamedEntitySpawn.$yPosition9; $var10.$serverPosY = var$8; var$9 = var$8; $var10.$lastTickPosY = var$9; $var10.$prevPosY = var$9; var$8 = $par1Packet20NamedEntitySpawn.$zPosition9; $var10.$serverPosZ = var$8; var$9 = var$8; $var10.$lastTickPosZ = var$9; $var10.$prevPosZ = var$9; $var11 = $par1Packet20NamedEntitySpawn.$currentItem0; if (!$var11) { $var12 = $var10.$inventory; $var12.$mainInventory.data[$var12.$currentItem] = null; } else { $var12 = $var10.$inventory; var$12 = $var12.$mainInventory.data; var$13 = $var12.$currentItem; $var12 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var12.$itemID = $var11; $var12.$stackSize = 1; $var12.$itemDamage = 0; var$12[var$13] = $var12; } nms_Entity_setPositionAndRotation($var10, $var2, $var4, $var6, $var8, $var9); $var12 = $this.$worldClient; var$8 = $par1Packet20NamedEntitySpawn.$entityId15; var$14 = $var12.$mc2.$thePlayer; if (var$8 != var$14.$entityId) { var$15 = $var12.$entityHashSet; var$16 = var$8 ^ (var$8 >>> 20 | 0) ^ (var$8 >>> 12 | 0); var$13 = var$16 ^ (var$16 >>> 7 | 0) ^ (var$16 >>> 4 | 0); var$12 = var$15.$slots.data; var$15 = var$12[var$13 & (var$12.length - 1 | 0)]; a: { while (var$15 !== null) { if (var$15.$hashEntry == var$8) { var$15 = var$15.$valueEntry; break a; } var$15 = var$15.$nextEntry; } var$15 = null; } var$14 = var$15; } if (var$14 === null) { var$15 = $var12.$entityList; ju_HashMap_putImpl(var$15.$backingMap, $var10, var$15); $var10.$entityId = var$8; var$16 = nms_World_spawnEntityInWorld($var12, $var10); var$15 = $var12.$entityList; ju_HashMap_putImpl(var$15.$backingMap, $var10, var$15); if (!var$16) { var$15 = $var12.$entitySpawnQueue; ju_HashMap_putImpl(var$15.$backingMap, $var10, var$15); } if (!var$16) { var$15 = $var12.$entitySpawnQueue; ju_HashMap_putImpl(var$15.$backingMap, $var10, var$15); } nms_IntHashMap_addKey($var12.$entityHashSet, var$8, $var10); if ($par1Packet20NamedEntitySpawn.$metadataWatchableObjects === null) $par1Packet20NamedEntitySpawn.$metadataWatchableObjects = $par1Packet20NamedEntitySpawn.$metadata2.$getAllWatched(); $var12 = $par1Packet20NamedEntitySpawn.$metadataWatchableObjects; if ($var12 !== null) { var$14 = $var10.$dataWatcher; var$16 = 0; var$17 = $var12.$modCount; var$18 = $var12.$size(); while (var$16 >= var$18 ? 0 : 1) { if (var$17 < $var12.$modCount) { $par1Packet20NamedEntitySpawn = new ju_ConcurrentModificationException; $par1Packet20NamedEntitySpawn.$suppressionEnabled = 1; $par1Packet20NamedEntitySpawn.$writableStackTrace = 1; $rt_throw($par1Packet20NamedEntitySpawn); } $var11 = var$16 + 1 | 0; $par1Packet20NamedEntitySpawn = $var12.$get(var$16); $var10 = var$14.$watchedObjects; var$16 = $par1Packet20NamedEntitySpawn.$dataValueId; if (var$16 >= (-128) && var$16 <= 127) { jl_Integer_ensureIntegerCache(); var$15 = jl_Integer_integerCache.data[var$16 + 128 | 0]; } else { var$15 = new jl_Integer; var$15.$value0 = var$16; } if (var$15 === null) { $var10 = $var10.$elementData.data[0]; while ($var10 !== null && $var10.$key !== null) { $var10 = $var10.$next3; } } else { var$13 = var$15.$value0; var$12 = $var10.$elementData.data; $var10 = var$12[var$13 & (var$12.length - 1 | 0)]; while ($var10 !== null) { if ($var10.$origKeyHash == var$13) { var$19 = $var10.$key; if (var$15 !== var$19 && !(var$15 === var$19 ? 1 : var$19 instanceof jl_Integer && var$19.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } $var10 = $var10.$next3; } } $var10 = $var10 === null ? null : $var10.$value1; if ($var10 !== null) $var10.$watchedObject = $par1Packet20NamedEntitySpawn.$watchedObject; var$16 = $var11; } var$14.$objectChanged = 1; } return; } var$15 = var$14.$riddenByEntity; if (var$15 !== null) { var$19 = null; $ptr = 1; continue main; } if (var$14.$ridingEntity === null) { $ptr = 2; continue main; } var$15 = null; $ptr = 3; continue main; case 1: var$15.$mountEntity(var$19); if ($rt_suspending()) { break main; } if (var$14.$ridingEntity === null) { $ptr = 2; continue main; } var$15 = null; $ptr = 3; continue main; case 2: var$14.$setDead(); if ($rt_suspending()) { break main; } if (var$14 instanceof nms_EntityPlayer) { var$15 = $var12.$playerEntities; var$13 = var$15.$size0; var$16 = 0; b: { while (true) { if (var$16 >= var$13) { var$16 = (-1); break b; } if (var$16 < 0) break; if (var$16 >= var$15.$size0) break; var$19 = var$15.$array.data[var$16]; if (var$14 === var$19 ? 1 : var$14 !== null ? var$14.$equals(var$19) : var$19 !== null ? 0 : 1) break b; var$16 = var$16 + 1 | 0; } $par1Packet20NamedEntitySpawn = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1Packet20NamedEntitySpawn); $rt_throw($par1Packet20NamedEntitySpawn); } if (var$16 >= 0) ju_ArrayList_remove(var$15, var$16); } var$15 = ju_HashMap_removeByKey($var12.$entityList.$backingMap, var$14); var$15 = $var12.$entityList; ju_HashMap_putImpl(var$15.$backingMap, $var10, var$15); $var10.$entityId = var$8; var$16 = nms_World_spawnEntityInWorld($var12, $var10); var$15 = $var12.$entityList; ju_HashMap_putImpl(var$15.$backingMap, $var10, var$15); if (!var$16) { var$15 = $var12.$entitySpawnQueue; ju_HashMap_putImpl(var$15.$backingMap, $var10, var$15); } if (!var$16) { var$15 = $var12.$entitySpawnQueue; ju_HashMap_putImpl(var$15.$backingMap, $var10, var$15); } nms_IntHashMap_addKey($var12.$entityHashSet, var$8, $var10); if ($par1Packet20NamedEntitySpawn.$metadataWatchableObjects === null) $par1Packet20NamedEntitySpawn.$metadataWatchableObjects = $par1Packet20NamedEntitySpawn.$metadata2.$getAllWatched(); $var12 = $par1Packet20NamedEntitySpawn.$metadataWatchableObjects; if ($var12 !== null) { var$14 = $var10.$dataWatcher; var$16 = 0; var$17 = $var12.$modCount; var$18 = $var12.$size(); while (var$16 >= var$18 ? 0 : 1) { if (var$17 < $var12.$modCount) { $par1Packet20NamedEntitySpawn = new ju_ConcurrentModificationException; $par1Packet20NamedEntitySpawn.$suppressionEnabled = 1; $par1Packet20NamedEntitySpawn.$writableStackTrace = 1; $rt_throw($par1Packet20NamedEntitySpawn); } $var11 = var$16 + 1 | 0; $par1Packet20NamedEntitySpawn = $var12.$get(var$16); $var10 = var$14.$watchedObjects; var$16 = $par1Packet20NamedEntitySpawn.$dataValueId; if (var$16 >= (-128) && var$16 <= 127) { jl_Integer_ensureIntegerCache(); var$15 = jl_Integer_integerCache.data[var$16 + 128 | 0]; } else { var$15 = new jl_Integer; var$15.$value0 = var$16; } if (var$15 === null) { $var10 = $var10.$elementData.data[0]; while ($var10 !== null && $var10.$key !== null) { $var10 = $var10.$next3; } } else { var$13 = var$15.$value0; var$12 = $var10.$elementData.data; $var10 = var$12[var$13 & (var$12.length - 1 | 0)]; while ($var10 !== null) { if ($var10.$origKeyHash == var$13) { var$19 = $var10.$key; if (var$15 !== var$19 && !(var$15 === var$19 ? 1 : var$19 instanceof jl_Integer && var$19.$value0 == var$13 ? 1 : 0) ? 0 : 1) break; } $var10 = $var10.$next3; } } $var10 = $var10 === null ? null : $var10.$value1; if ($var10 !== null) $var10.$watchedObject = $par1Packet20NamedEntitySpawn.$watchedObject; var$16 = $var11; } var$14.$objectChanged = 1; } return; case 3: var$14.$mountEntity(var$15); if ($rt_suspending()) { break main; } $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet20NamedEntitySpawn, $var2, $var4, $var6, $var8, $var9, $var10, var$8, var$9, $var11, $var12, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_NetClientHandler_handleEntityTeleport = ($this, $par1Packet34EntityTeleport) => { let var$2, $var2, var$4, var$5, var$6, var$7, $var3, $var5, $var7, $var9, $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$par1Packet34EntityTeleport = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1Packet34EntityTeleport.$entityId16; $var2 = $this.$mc1.$thePlayer; if (var$2 != $var2.$entityId) { var$4 = $this.$worldClient; $var2 = var$4.$mc2.$thePlayer; if (var$2 != $var2.$entityId) { $var2 = var$4.$entityHashSet; var$5 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$5 = var$5 ^ (var$5 >>> 7 | 0) ^ (var$5 >>> 4 | 0); var$6 = $var2.$slots.data; $var2 = var$6[var$5 & (var$6.length - 1 | 0)]; a: { while ($var2 !== null) { if ($var2.$hashEntry == var$2) { $var2 = $var2.$valueEntry; break a; } $var2 = $var2.$nextEntry; } $var2 = null; } $var2 = $var2; } } if ($var2 === null) return; var$2 = $par1Packet34EntityTeleport.$xPosition15; $var2.$serverPosX = var$2; var$5 = $par1Packet34EntityTeleport.$yPosition11; $var2.$serverPosY = var$5; var$7 = $par1Packet34EntityTeleport.$zPosition13; $var2.$serverPosZ = var$7; $var3 = var$2 / 32.0; $var5 = var$5 / 32.0 + 0.015625; $var7 = var$7 / 32.0; $var9 = ($par1Packet34EntityTeleport.$yaw3 * 360 | 0) / 256.0; $var10 = ($par1Packet34EntityTeleport.$pitch3 * 360 | 0) / 256.0; var$2 = 3; $ptr = 1; case 1: $var2.$setPositionAndRotation2($var3, $var5, $var7, $var9, $var10, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet34EntityTeleport, var$2, $var2, var$4, var$5, var$6, var$7, $var3, $var5, $var7, $var9, $var10, $ptr); }, nms_NetClientHandler_handleEntity = ($this, $par1Packet30Entity) => { let var$2, $var2, var$4, var$5, var$6, var$7, $var3, $var5, $var7, $var9, $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$par1Packet30Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1Packet30Entity.$entityId5; $var2 = $this.$mc1.$thePlayer; if (var$2 != $var2.$entityId) { var$4 = $this.$worldClient; $var2 = var$4.$mc2.$thePlayer; if (var$2 != $var2.$entityId) { $var2 = var$4.$entityHashSet; var$5 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$5 = var$5 ^ (var$5 >>> 7 | 0) ^ (var$5 >>> 4 | 0); var$6 = $var2.$slots.data; $var2 = var$6[var$5 & (var$6.length - 1 | 0)]; a: { while ($var2 !== null) { if ($var2.$hashEntry == var$2) { $var2 = $var2.$valueEntry; break a; } $var2 = $var2.$nextEntry; } $var2 = null; } $var2 = $var2; } } if ($var2 === null) return; var$2 = $var2.$serverPosX + $par1Packet30Entity.$xPosition9 | 0; $var2.$serverPosX = var$2; var$5 = $var2.$serverPosY + $par1Packet30Entity.$yPosition8 | 0; $var2.$serverPosY = var$5; var$7 = $var2.$serverPosZ + $par1Packet30Entity.$zPosition8 | 0; $var2.$serverPosZ = var$7; $var3 = var$2 / 32.0; $var5 = var$5 / 32.0; $var7 = var$7 / 32.0; var$2 = $par1Packet30Entity.$rotating0; $var9 = !var$2 ? $var2.$rotationYaw : ($par1Packet30Entity.$yaw1 * 360 | 0) / 256.0; $var10 = !var$2 ? $var2.$rotationPitch : ($par1Packet30Entity.$pitch2 * 360 | 0) / 256.0; var$2 = 3; $ptr = 1; case 1: $var2.$setPositionAndRotation2($var3, $var5, $var7, $var9, $var10, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet30Entity, var$2, $var2, var$4, var$5, var$6, var$7, $var3, $var5, $var7, $var9, $var10, $ptr); }, nms_NetClientHandler_handleFlying = ($this, $par1Packet10Flying) => { let $var2, $var3, $var5, $var7, $var9, $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1Packet10Flying = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$mc1.$thePlayer; $var3 = $var2.$posX; $var5 = $var2.$posY; $var7 = $var2.$posZ; $var9 = $var2.$rotationYaw; $var10 = $var2.$rotationPitch; if ($par1Packet10Flying.$moving) { $var3 = $par1Packet10Flying.$xPosition5; $var5 = $par1Packet10Flying.$yPosition3; $var7 = $par1Packet10Flying.$zPosition3; } if ($par1Packet10Flying.$rotating) { $var9 = $par1Packet10Flying.$yaw0; $var10 = $par1Packet10Flying.$pitch0; } $var2.$ySize0 = 0.0; $var2.$motionZ = 0.0; $var2.$motionY = 0.0; $var2.$motionX = 0.0; nms_Entity_setPositionAndRotation($var2, $var3, $var5, $var7, $var9, $var10); $par1Packet10Flying.$xPosition5 = $var2.$posX; $par1Packet10Flying.$yPosition3 = $var2.$boundingBox.$minY; $par1Packet10Flying.$zPosition3 = $var2.$posZ; $par1Packet10Flying.$stance = $var2.$posY; $this.$netManager.$addToSendQueue($par1Packet10Flying); if ($this.$doneLoadingTerrain) return; $par1Packet10Flying = $this.$mc1; $var2 = $par1Packet10Flying.$thePlayer; $var2.$prevPosX = $var2.$posX; $var2.$prevPosY = $var2.$posY; $var2.$prevPosZ = $var2.$posZ; $this.$doneLoadingTerrain = 1; $var2 = null; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen($par1Packet10Flying, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet10Flying, $var2, $var3, $var5, $var7, $var9, $var10, $ptr); }, nms_NetClientHandler_handleMultiBlockChange = ($this, $par1Packet52MultiBlockChange) => { let $var2, $var3, var$4, var$5, $var4, var$7, $var9, $var5, $var6, $var7, $var8, $var10, $var11, $var12, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var9 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1Packet52MultiBlockChange = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var2 = $par1Packet52MultiBlockChange.$xPosition13 * 16 | 0; $var3 = $par1Packet52MultiBlockChange.$zPosition14 * 16 | 0; var$4 = $par1Packet52MultiBlockChange.$metadataArray; if (var$4 !== null) { var$5 = var$4.data; $var4 = new ji_DataInputStream; var$7 = new ji_ByteArrayInputStream; $var9 = var$5.length; var$7.$buf3 = var$4; var$7.$pos1 = 0; var$7.$mark1 = 0; var$7.$count0 = 0 + $var9 | 0; $var4.$in = var$7; $var4.$buff = $rt_createByteArray(8); try { $var5 = 0; if ($var5 >= $par1Packet52MultiBlockChange.$size9) break a; $var6 = ji_DataInputStream_readShort($var4); $var7 = ji_DataInputStream_readShort($var4); $var8 = $var7 >> 4 & 4095; $var9 = $var7 & 15; $var10 = $var6 >> 12 & 15; $var11 = $var6 >> 8 & 15; $var12 = $var6 & 255; var$7 = $this.$worldClient; $var10 = $var10 + $var2 | 0; $var11 = $var11 + $var3 | 0; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } } return; case 1: a: { try { nms_WorldClient_setBlockAndMetadataAndInvalidate(var$7, $var10, $var12, $var11, $var8, $var9); if ($rt_suspending()) { break main; } $var5 = $var5 + 1 | 0; if ($var5 >= $par1Packet52MultiBlockChange.$size9) break a; $var6 = ji_DataInputStream_readShort($var4); $var7 = ji_DataInputStream_readShort($var4); $var8 = $var7 >> 4 & 4095; $var9 = $var7 & 15; $var10 = $var6 >> 12 & 15; $var11 = $var6 >> 8 & 15; $var12 = $var6 & 255; var$7 = $this.$worldClient; $var10 = $var10 + $var2 | 0; $var11 = $var11 + $var3 | 0; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else { throw $$e; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet52MultiBlockChange, $var2, $var3, var$4, var$5, $var4, var$7, $var9, $var5, $var6, $var7, $var8, $var10, $var11, $var12, $ptr); }, nms_NetClientHandler_handleMapChunk = ($this, $par1Packet51MapChunk) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16; if ($par1Packet51MapChunk.$includeInitialize) { if (!$par1Packet51MapChunk.$yChMin) { var$2 = $this.$worldClient; var$3 = $par1Packet51MapChunk.$xCh; var$4 = $par1Packet51MapChunk.$zCh; $par1Packet51MapChunk = var$2.$clientChunkProvider; var$5 = $par1Packet51MapChunk.$chunkMapping; var$6 = Long_or(Long_and(Long_fromInt(var$3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$4), Long_create(4294967295, 0)), 32)); var$7 = Long_lo(Long_xor(var$6, Long_shru(var$6, 32))); var$7 = var$7 ^ (var$7 >>> 20 | 0) ^ (var$7 >>> 12 | 0); var$8 = var$7 ^ (var$7 >>> 7 | 0) ^ (var$7 >>> 4 | 0); var$9 = var$5.$hashArray.data; var$5 = var$9[var$8 & (var$9.length - 1 | 0)]; a: { while (var$5 !== null) { if (Long_eq(var$5.$key1, var$6)) { var$5 = var$5.$value6; break a; } var$5 = var$5.$nextEntry0; } var$5 = null; } var$10 = var$5; if (var$10 === null) var$10 = $par1Packet51MapChunk.$blankChunk; if (!var$10.$isEmpty()) var$10.$onChunkUnload(); nms_LongHashMap_removeKey($par1Packet51MapChunk.$chunkMapping, var$6); $par1Packet51MapChunk = $par1Packet51MapChunk.$chunkListing; var$8 = $par1Packet51MapChunk.$size0; var$7 = 0; b: { while (true) { var$11 = $rt_compare(var$7, var$8); if (var$11 >= 0) { var$7 = (-1); break b; } if (var$7 < 0) break; if (var$11 >= 0) break; var$5 = $par1Packet51MapChunk.$array.data[var$7]; if (var$10 === var$5 ? 1 : var$10 === null ? (var$5 !== null ? 0 : 1) : var$10 !== var$5 ? 0 : 1) break b; var$7 = var$7 + 1 | 0; } $par1Packet51MapChunk = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1Packet51MapChunk); $rt_throw($par1Packet51MapChunk); } if (var$7 >= 0) ju_ArrayList_remove($par1Packet51MapChunk, var$7); var$7 = var$3 * 16 | 0; var$3 = var$4 * 16 | 0; var$4 = var$7 + 15 | 0; var$11 = var$3 + 15 | 0; var$8 = 0; var$7 = var$7 - 1 | 0; var$12 = var$3 - 1 | 0; var$4 = var$4 + 1 | 0; var$11 = var$11 + 1 | 0; c: { while (true) { $par1Packet51MapChunk = var$2.$worldAccesses; var$3 = $rt_compare(var$8, $par1Packet51MapChunk.$size0); if (var$3 >= 0) break; if (var$8 < 0) break c; if (var$3 >= 0) break c; nms_RenderGlobal_markBlocksForUpdate($par1Packet51MapChunk.$array.data[var$8], var$7, (-1), var$12, var$4, 257, var$11); var$8 = var$8 + 1 | 0; } return; } $par1Packet51MapChunk = new jl_IndexOutOfBoundsException; $par1Packet51MapChunk.$suppressionEnabled = 1; $par1Packet51MapChunk.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Packet51MapChunk); $rt_throw($par1Packet51MapChunk); } var$2 = $this.$worldClient; var$3 = $par1Packet51MapChunk.$xCh; var$4 = $par1Packet51MapChunk.$zCh; var$2 = var$2.$clientChunkProvider; var$5 = nms_Chunk__init_(var$2.$worldObj12, var$3, var$4); nms_LongHashMap_add(var$2.$chunkMapping, Long_or(Long_and(Long_fromInt(var$3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$4), Long_create(4294967295, 0)), 32)), var$5); var$5.$isChunkLoaded = 1; } var$2 = $this.$worldClient; var$3 = $par1Packet51MapChunk.$xCh; var$4 = $par1Packet51MapChunk.$zCh; var$10 = var$2.$chunkProvider; var$5 = var$10.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt(var$3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$4), Long_create(4294967295, 0)), 32)); var$7 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); var$7 = var$7 ^ (var$7 >>> 20 | 0) ^ (var$7 >>> 12 | 0); var$8 = var$7 ^ (var$7 >>> 7 | 0) ^ (var$7 >>> 4 | 0); var$9 = var$5.$hashArray.data; var$5 = var$9[var$8 & (var$9.length - 1 | 0)]; d: { while (var$5 !== null) { if (Long_eq(var$5.$key1, var$13)) { var$5 = var$5.$value6; break d; } var$5 = var$5.$nextEntry0; } var$5 = null; } var$5 = var$5; if (var$5 === null) var$5 = var$10.$blankChunk; if ($par1Packet51MapChunk.$includeInitialize && var$5 === null) { var$2 = var$2.$clientChunkProvider; var$5 = nms_Chunk__init_(var$2.$worldObj12, var$3, var$4); nms_LongHashMap_add(var$2.$chunkMapping, var$13, var$5); var$5.$isChunkLoaded = 1; var$2 = $this.$worldClient; var$3 = $par1Packet51MapChunk.$xCh; var$4 = $par1Packet51MapChunk.$zCh; var$2 = var$2.$chunkProvider; var$5 = var$2.$chunkMapping; var$6 = Long_or(Long_and(Long_fromInt(var$3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$4), Long_create(4294967295, 0)), 32)); var$3 = Long_lo(Long_xor(var$6, Long_shru(var$6, 32))); var$3 = var$3 ^ (var$3 >>> 20 | 0) ^ (var$3 >>> 12 | 0); var$7 = var$3 ^ (var$3 >>> 7 | 0) ^ (var$3 >>> 4 | 0); var$9 = var$5.$hashArray.data; var$5 = var$9[var$7 & (var$9.length - 1 | 0)]; e: { while (var$5 !== null) { if (Long_eq(var$5.$key1, var$6)) { var$5 = var$5.$value6; break e; } var$5 = var$5.$nextEntry0; } var$5 = null; } var$5 = var$5; if (var$5 === null) var$5 = var$2.$blankChunk; } f: { if (var$5 !== null) { nms_Chunk_fillChunk(var$5, $par1Packet51MapChunk.$compressedChunkData, $par1Packet51MapChunk.$yChMin, $par1Packet51MapChunk.$yChMax, $par1Packet51MapChunk.$includeInitialize); var$2 = $this.$worldClient; var$4 = $par1Packet51MapChunk.$xCh << 4; var$7 = $par1Packet51MapChunk.$zCh << 4; var$14 = var$4 + 15 | 0; var$11 = var$7 + 15 | 0; var$8 = 0; var$15 = var$4 - 1 | 0; var$16 = var$7 - 1 | 0; var$3 = var$14 + 1 | 0; var$7 = var$11 + 1 | 0; while (true) { var$10 = var$2.$worldAccesses; var$11 = $rt_compare(var$8, var$10.$size0); if (var$11 >= 0) { if ($par1Packet51MapChunk.$includeInitialize && $this.$worldClient.$provider instanceof nms_WorldProviderSurface) break f; var$5.$queuedLightChecks = 0; break f; } if (var$8 < 0) break; if (var$11 >= 0) break; nms_RenderGlobal_markBlocksForUpdate(var$10.$array.data[var$8], var$15, (-1), var$16, var$3, 257, var$7); var$8 = var$8 + 1 | 0; } $par1Packet51MapChunk = new jl_IndexOutOfBoundsException; $par1Packet51MapChunk.$suppressionEnabled = 1; $par1Packet51MapChunk.$writableStackTrace = 1; $rt_throw($par1Packet51MapChunk); } } }, nms_NetClientHandler_handleKickDisconnect = ($this, $par1Packet255KickDisconnect) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1Packet255KickDisconnect = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$netManager.$networkShutdown($rt_s(3349), $rt_createArray(jl_Object, 0)); $this.$disconnected = 1; var$2 = $this.$mc1; var$3 = null; var$4 = $rt_s(18); $ptr = 1; case 1: nms_Minecraft_loadWorld(var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$4 = $this.$mc1; var$5 = new nms_GuiDisconnected; var$2 = nms_GuiMultiplayer__init_(nms_GuiMainMenu__init_()); var$6 = $rt_createArray(jl_Object, 1); var$6.data[0] = $par1Packet255KickDisconnect.$reason; nms_GuiDisconnected__init_0(var$5, var$2, $rt_s(3348), $rt_s(1612), var$6); $ptr = 2; case 2: nms_Minecraft_displayGuiScreen(var$4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet255KickDisconnect, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_NetClientHandler_addToSendQueue = ($this, $par1Packet) => { if (!$this.$disconnected) $this.$netManager.$addToSendQueue($par1Packet); }, nms_NetClientHandler_handleCollect = ($this, $par1Packet22Collect) => { let var$2, var$3, var$4, $var2, $var3, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1Packet22Collect = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1Packet22Collect.$collectedEntityId; var$3 = $this.$mc1.$thePlayer; var$4 = var$3.$entityId; if (var$2 == var$4) $var2 = var$3; else { $var3 = $this.$worldClient; $var2 = $var3.$mc2.$thePlayer; if (var$2 != $var2.$entityId) { $var3 = $var3.$entityHashSet; var$7 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$8 = var$7 ^ (var$7 >>> 7 | 0) ^ (var$7 >>> 4 | 0); var$9 = $var3.$slots.data; $var3 = var$9[var$8 & (var$9.length - 1 | 0)]; a: { while ($var3 !== null) { if ($var3.$hashEntry == var$2) { $var3 = $var3.$valueEntry; break a; } $var3 = $var3.$nextEntry; } $var3 = null; } $var2 = $var3; } } var$2 = $par1Packet22Collect.$collectorEntityId; if (var$2 == var$4) var$10 = var$3; else { $var3 = $this.$worldClient; var$10 = $var3.$mc2.$thePlayer; if (var$2 != var$10.$entityId) { $var3 = $var3.$entityHashSet; var$7 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$11 = var$7 ^ (var$7 >>> 7 | 0) ^ (var$7 >>> 4 | 0); var$9 = $var3.$slots.data; $var3 = var$9[var$11 & (var$9.length - 1 | 0)]; b: { while ($var3 !== null) { if ($var3.$hashEntry == var$2) { $var3 = $var3.$valueEntry; break b; } $var3 = $var3.$nextEntry; } $var3 = null; } var$10 = $var3; } } $var3 = var$10; if ($var3 !== null) var$3 = $var3; if ($var2 === null) return; if (!($var2 instanceof nms_EntityXPOrb)) { var$10 = $this.$worldClient; var$12 = $this.$rand1; var$13 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$13; var$14 = Long_lo(Long_shru(var$13, 24)) / 1.6777216E7; var$15 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$15; nms_World_playSoundAtEntity(var$10, $var2, $rt_s(2078), 0.20000000298023224, ((var$14 - Long_lo(Long_shru(var$15, 24)) / 1.6777216E7) * 0.699999988079071 + 1.0) * 2.0); } else { $var3 = $this.$worldClient; var$12 = $this.$rand1; var$13 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$13; var$14 = Long_lo(Long_shru(var$13, 24)) / 1.6777216E7; var$15 = Long_and(Long_add(Long_mul(var$13, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$15; nms_World_playSoundAtEntity($var3, $var2, $rt_s(2390), 0.20000000298023224, ((var$14 - Long_lo(Long_shru(var$15, 24)) / 1.6777216E7) * 0.699999988079071 + 1.0) * 2.0); } $var3 = $this.$mc1; var$10 = $var3.$effectRenderer; var$12 = new nms_EntityPickupFX; $var3 = $var3.$theWorld; var$16 = (-0.5); var$17 = $var2.$posX; var$18 = $var2.$posY; var$19 = $var2.$posZ; var$20 = $var2.$motionX; var$21 = $var2.$motionY; var$22 = $var2.$motionZ; $ptr = 1; case 1: nms_EntityFX__init_(var$12, $var3, var$17, var$18, var$19, var$20, var$21, var$22); if ($rt_suspending()) { break main; } var$12.$entityToPickUp = $var2; var$12.$entityPickingUp = var$3; var$12.$maxAge = 3; var$12.$yOffs = var$16; var$9 = var$10.$fxLayers.data; if (var$9[3].$size0 >= 4000) ju_ArrayList_remove(var$9[3], 0); $var3 = var$10.$fxLayers.data[3]; ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); var$9 = $var3.$array.data; var$7 = $var3.$size0; $var3.$size0 = var$7 + 1 | 0; var$9[var$7] = var$12; $var3.$modCount = $var3.$modCount + 1 | 0; $var3 = $this.$worldClient; var$2 = $par1Packet22Collect.$collectedEntityId; $par1Packet22Collect = $var3.$entityHashSet; var$3 = $par1Packet22Collect.$keySet0; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$10 = new jl_Integer; var$10.$value0 = var$2; } var$3 = ju_HashMap_removeByKey(var$3.$backingMap, var$10); $par1Packet22Collect = nms_IntHashMap_removeEntry($par1Packet22Collect, var$2); $par1Packet22Collect = $par1Packet22Collect !== null ? $par1Packet22Collect.$valueEntry : null; if ($par1Packet22Collect === null) return; var$3 = ju_HashMap_removeByKey($var3.$entityList.$backingMap, $par1Packet22Collect); var$3 = $par1Packet22Collect.$riddenByEntity; if (var$3 !== null) { var$10 = null; $ptr = 2; continue main; } if ($par1Packet22Collect.$ridingEntity === null) { $ptr = 3; continue main; } var$3 = null; $ptr = 4; continue main; case 2: var$3.$mountEntity(var$10); if ($rt_suspending()) { break main; } if ($par1Packet22Collect.$ridingEntity === null) { $ptr = 3; continue main; } var$3 = null; $ptr = 4; continue main; case 3: $par1Packet22Collect.$setDead(); if ($rt_suspending()) { break main; } if ($par1Packet22Collect instanceof nms_EntityPlayer) { var$3 = $var3.$playerEntities; var$8 = var$3.$size0; var$2 = 0; c: { while (true) { if (var$2 >= var$8) { var$2 = (-1); break c; } if (var$2 < 0) break; if (var$2 >= var$3.$size0) break; var$10 = var$3.$array.data[var$2]; if ($par1Packet22Collect === var$10 ? 1 : $par1Packet22Collect !== null ? $par1Packet22Collect.$equals(var$10) : var$10 !== null ? 0 : 1) break c; var$2 = var$2 + 1 | 0; } $par1Packet22Collect = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1Packet22Collect); $rt_throw($par1Packet22Collect); } if (var$2 >= 0) ju_ArrayList_remove(var$3, var$2); } $par1Packet22Collect = ju_HashMap_removeByKey($var3.$entityList.$backingMap, $par1Packet22Collect); return; case 4: $par1Packet22Collect.$mountEntity(var$3); if ($rt_suspending()) { break main; } $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet22Collect, var$2, var$3, var$4, $var2, $var3, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, $ptr); }, nms_NetClientHandler_handleChat = ($this, $par1Packet3Chat) => { let $jsonObject, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $$je; $jsonObject = new oj_JSONObject; var$3 = $par1Packet3Chat.$message1; oj_JSONObject_$callClinit(); var$4 = new oj_JSONTokener; var$5 = new ji_StringReader; var$5.$lock0 = new jl_Object; if (var$3 === null) { $par1Packet3Chat = new jl_NullPointerException; $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $rt_throw($par1Packet3Chat); } var$5.$string3 = var$3; oj_JSONTokener__init_(var$4, var$5); oj_JSONObject__init_($jsonObject, var$4); if (jl_String_contains($par1Packet3Chat.$message1, $rt_s(3350))) { a: { var$6 = $this.$mc1.$ingameGUI.$persistantChatGUI; var$4 = $jsonObject.$map; if (!$rt_s(3350).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(3350).$nativeString.length) break a; $rt_s(3350).$hashCode1 = (31 * $rt_s(3350).$hashCode1 | 0) + $rt_s(3350).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$8 = $rt_s(3350).$hashCode1; var$9 = var$4.$elementData.data; var$4 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$8) { b: { var$5 = var$4.$key; if ($rt_s(3350) !== var$5) { if ($rt_s(3350) === var$5) var$7 = 1; else if (!(var$5 instanceof jl_String)) var$7 = 0; else { var$5 = var$5; var$7 = $rt_s(3350).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$4 = var$4.$next3; } var$4 = var$4 === null ? null : var$4.$value1; if (var$4 === null) { $par1Packet3Chat = new oj_JSONException; $jsonObject = new ji_StringWriter; $jsonObject.$lock = $jsonObject; var$4 = new jl_StringBuffer; var$4.$buffer = $rt_createCharArray(16); $jsonObject.$buf0 = var$4; $jsonObject.$lock = var$4; jl_Object_monitorEnterSync(var$4); c: { d: { try { e: { try { $jsonObject = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3350), $jsonObject)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break e; } else { throw $$e; } } jl_Object_monitorExitSync(var$4); break c; } $jsonObject = $rt_s(18); jl_Object_monitorExitSync(var$4); break d; } catch ($$e) { $$je = $rt_wrapException($$e); $par1Packet3Chat = $$je; } jl_Object_monitorExitSync(var$4); $rt_throw($par1Packet3Chat); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(19)); var$7 = var$3.$length0; if ($jsonObject === null) $jsonObject = $rt_s(1); jl_StringBuilder_insert(var$3, var$7, $jsonObject); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(20)); $jsonObject = new jl_String; var$9 = var$3.$buffer; var$10 = var$9.data; var$11 = var$3.$length0; var$8 = var$10.length; if (var$11 >= 0 && var$11 <= (var$8 - 0 | 0)) { $jsonObject.$nativeString = $rt_charArrayToString(var$9.data, 0, var$11); $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $par1Packet3Chat.$message = $jsonObject; $rt_throw($par1Packet3Chat); } $par1Packet3Chat = new jl_IndexOutOfBoundsException; $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $rt_throw($par1Packet3Chat); } if (!(var$4 instanceof jl_String)) { $par1Packet3Chat = null; var$4 = new oj_JSONException; var$5 = new ji_StringWriter; var$5.$lock = var$5; var$6 = new jl_StringBuffer; var$6.$buffer = $rt_createCharArray(16); var$5.$buf0 = var$6; var$5.$lock = var$6; jl_Object_monitorEnterSync(var$6); f: { g: { try { h: { try { var$3 = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3350), var$5)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break h; } else { throw $$e; } } jl_Object_monitorExitSync(var$6); break f; } var$3 = $rt_s(18); jl_Object_monitorExitSync(var$6); break g; } catch ($$e) { $$je = $rt_wrapException($$e); $par1Packet3Chat = $$je; } jl_Object_monitorExitSync(var$6); $rt_throw($par1Packet3Chat); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(19)); var$7 = var$5.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_StringBuilder_insert(var$5, var$7, var$3); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(21)); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(5)); var$11 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$11, var$11 + 1 | 0); var$9 = var$5.$buffer; var$10 = var$9.data; var$10[var$11] = 46; $jsonObject = new jl_String; var$11 = var$5.$length0; var$8 = var$10.length; if (var$11 >= 0 && var$11 <= (var$8 - 0 | 0)) { $jsonObject.$nativeString = $rt_charArrayToString(var$9.data, 0, var$11); var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $jsonObject; var$4.$cause = $par1Packet3Chat; $rt_throw(var$4); } $par1Packet3Chat = new jl_IndexOutOfBoundsException; $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $rt_throw($par1Packet3Chat); } var$5 = var$4; nms_GuiNewChat_func_96129_a(var$6, var$5, 0, var$6.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { var$3 = new otcic_JSStdoutPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$3); var$3.$out0 = var$4; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$4); var$3.$sb = var$4; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$3; } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(482)); var$7 = var$3.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_StringBuilder_insert(var$3, var$7, var$5); var$4 = new jl_String; var$9 = var$3.$buffer; var$10 = var$9.data; var$11 = var$3.$length0; var$8 = var$10.length; if (var$11 >= 0 && var$11 <= (var$8 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$9.data, 0, var$11); $rt_putStdout($rt_ustr(var$4)); $rt_putStdout("\n"); } else { $par1Packet3Chat = new jl_IndexOutOfBoundsException; $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $rt_throw($par1Packet3Chat); } } i: { if (!(jl_String_contains($par1Packet3Chat.$message1, $rt_s(3351)) && jl_String_contains($par1Packet3Chat.$message1, $rt_s(3352)))) { if (!jl_String_contains($par1Packet3Chat.$message1, $rt_s(3351))) break i; j: { var$3 = $this.$mc1.$ingameGUI.$persistantChatGUI; $jsonObject = $jsonObject.$map; if (!$rt_s(3351).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(3351).$nativeString.length) break j; $rt_s(3351).$hashCode1 = (31 * $rt_s(3351).$hashCode1 | 0) + $rt_s(3351).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$8 = $rt_s(3351).$hashCode1; var$9 = $jsonObject.$elementData.data; $jsonObject = var$9[var$8 & (var$9.length - 1 | 0)]; while ($jsonObject !== null) { if ($jsonObject.$origKeyHash == var$8) { k: { var$4 = $jsonObject.$key; if ($rt_s(3351) !== var$4) { if ($rt_s(3351) === var$4) var$7 = 1; else if (!(var$4 instanceof jl_String)) var$7 = 0; else { var$4 = var$4; var$7 = $rt_s(3351).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break k; } } var$7 = 1; } if (var$7) break; } $jsonObject = $jsonObject.$next3; } $jsonObject = $jsonObject === null ? null : $jsonObject.$value1; if ($jsonObject === null) { $jsonObject = new oj_JSONException; var$3 = new ji_StringWriter; var$3.$lock = var$3; var$4 = new jl_StringBuffer; var$4.$buffer = $rt_createCharArray(16); var$3.$buf0 = var$4; var$3.$lock = var$4; jl_Object_monitorEnterSync(var$4); l: { m: { try { n: { try { $par1Packet3Chat = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3351), var$3)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break n; } else { throw $$e; } } jl_Object_monitorExitSync(var$4); break l; } $par1Packet3Chat = $rt_s(18); jl_Object_monitorExitSync(var$4); break m; } catch ($$e) { $$je = $rt_wrapException($$e); $par1Packet3Chat = $$je; } jl_Object_monitorExitSync(var$4); $rt_throw($par1Packet3Chat); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(19)); var$7 = var$3.$length0; if ($par1Packet3Chat === null) $par1Packet3Chat = $rt_s(1); jl_StringBuilder_insert(var$3, var$7, $par1Packet3Chat); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(20)); $par1Packet3Chat = new jl_String; var$9 = var$3.$buffer; var$10 = var$9.data; var$11 = var$3.$length0; var$8 = var$10.length; if (var$11 >= 0 && var$11 <= (var$8 - 0 | 0)) { $par1Packet3Chat.$nativeString = $rt_charArrayToString(var$9.data, 0, var$11); $jsonObject.$suppressionEnabled = 1; $jsonObject.$writableStackTrace = 1; $jsonObject.$message = $par1Packet3Chat; $rt_throw($jsonObject); } $par1Packet3Chat = new jl_IndexOutOfBoundsException; $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $rt_throw($par1Packet3Chat); } if ($jsonObject instanceof jl_String) { $jsonObject = $jsonObject; nms_StatCollector_$callClinit(); $jsonObject = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $jsonObject); nms_GuiNewChat_func_96129_a(var$3, $jsonObject, 0, var$3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $par1Packet3Chat = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1Packet3Chat); $par1Packet3Chat.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$3); $par1Packet3Chat.$sb = var$3; $par1Packet3Chat.$buffer0 = $rt_createCharArray(32); $par1Packet3Chat.$autoFlush = 0; $par1Packet3Chat.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par1Packet3Chat; } $par1Packet3Chat = new jl_StringBuilder; $par1Packet3Chat.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($par1Packet3Chat, $par1Packet3Chat.$length0, $rt_s(482)); var$7 = $par1Packet3Chat.$length0; if ($jsonObject === null) $jsonObject = $rt_s(1); jl_StringBuilder_insert($par1Packet3Chat, var$7, $jsonObject); $jsonObject = new jl_String; var$9 = $par1Packet3Chat.$buffer; var$10 = var$9.data; var$11 = $par1Packet3Chat.$length0; var$8 = var$10.length; if (var$11 >= 0 && var$11 <= (var$8 - 0 | 0)) { $jsonObject.$nativeString = $rt_charArrayToString(var$9.data, 0, var$11); $rt_putStdout($rt_ustr($jsonObject)); $rt_putStdout("\n"); break i; } $par1Packet3Chat = new jl_IndexOutOfBoundsException; $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $rt_throw($par1Packet3Chat); } $jsonObject = null; var$4 = new oj_JSONException; var$5 = new ji_StringWriter; var$5.$lock = var$5; var$6 = new jl_StringBuffer; var$6.$buffer = $rt_createCharArray(16); var$5.$buf0 = var$6; var$5.$lock = var$6; jl_Object_monitorEnterSync(var$6); o: { p: { try { q: { try { $par1Packet3Chat = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3351), var$5)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break q; } else { throw $$e; } } jl_Object_monitorExitSync(var$6); break o; } $par1Packet3Chat = $rt_s(18); jl_Object_monitorExitSync(var$6); break p; } catch ($$e) { $$je = $rt_wrapException($$e); $par1Packet3Chat = $$je; } jl_Object_monitorExitSync(var$6); $rt_throw($par1Packet3Chat); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(19)); var$7 = var$5.$length0; if ($par1Packet3Chat === null) $par1Packet3Chat = $rt_s(1); jl_StringBuilder_insert(var$5, var$7, $par1Packet3Chat); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(21)); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(5)); var$11 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$11, var$11 + 1 | 0); var$9 = var$5.$buffer; var$10 = var$9.data; var$10[var$11] = 46; $par1Packet3Chat = new jl_String; var$11 = var$5.$length0; var$8 = var$10.length; if (var$11 >= 0 && var$11 <= (var$8 - 0 | 0)) { $par1Packet3Chat.$nativeString = $rt_charArrayToString(var$9.data, 0, var$11); var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $par1Packet3Chat; var$4.$cause = $jsonObject; $rt_throw(var$4); } $par1Packet3Chat = new jl_IndexOutOfBoundsException; $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $rt_throw($par1Packet3Chat); } r: { var$5 = $this.$mc1.$ingameGUI.$persistantChatGUI; var$3 = $jsonObject.$map; if (!$rt_s(3351).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(3351).$nativeString.length) break r; $rt_s(3351).$hashCode1 = (31 * $rt_s(3351).$hashCode1 | 0) + $rt_s(3351).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$8 = $rt_s(3351).$hashCode1; var$9 = var$3.$elementData.data; var$3 = var$9[var$8 & (var$9.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$8) { s: { var$4 = var$3.$key; if ($rt_s(3351) !== var$4) { if ($rt_s(3351) === var$4) var$7 = 1; else if (!(var$4 instanceof jl_String)) var$7 = 0; else { var$4 = var$4; var$7 = $rt_s(3351).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break s; } } var$7 = 1; } if (var$7) break; } var$3 = var$3.$next3; } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { $jsonObject = new oj_JSONException; var$3 = new ji_StringWriter; var$3.$lock = var$3; var$4 = new jl_StringBuffer; var$4.$buffer = $rt_createCharArray(16); var$3.$buf0 = var$4; var$3.$lock = var$4; jl_Object_monitorEnterSync(var$4); t: { u: { try { v: { try { $par1Packet3Chat = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3351), var$3)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break v; } else { throw $$e; } } jl_Object_monitorExitSync(var$4); break t; } $par1Packet3Chat = $rt_s(18); jl_Object_monitorExitSync(var$4); break u; } catch ($$e) { $$je = $rt_wrapException($$e); $par1Packet3Chat = $$je; } jl_Object_monitorExitSync(var$4); $rt_throw($par1Packet3Chat); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(19)); var$7 = var$3.$length0; if ($par1Packet3Chat === null) $par1Packet3Chat = $rt_s(1); jl_StringBuilder_insert(var$3, var$7, $par1Packet3Chat); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(20)); $par1Packet3Chat = new jl_String; var$9 = var$3.$buffer; var$10 = var$9.data; var$11 = var$3.$length0; var$8 = var$10.length; if (var$11 >= 0 && var$11 <= (var$8 - 0 | 0)) { $par1Packet3Chat.$nativeString = $rt_charArrayToString(var$9.data, 0, var$11); $jsonObject.$suppressionEnabled = 1; $jsonObject.$writableStackTrace = 1; $jsonObject.$message = $par1Packet3Chat; $rt_throw($jsonObject); } $par1Packet3Chat = new jl_IndexOutOfBoundsException; $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $rt_throw($par1Packet3Chat); } if (!(var$3 instanceof jl_String)) { $jsonObject = null; var$4 = new oj_JSONException; var$5 = new ji_StringWriter; var$5.$lock = var$5; var$6 = new jl_StringBuffer; var$6.$buffer = $rt_createCharArray(16); var$5.$buf0 = var$6; var$5.$lock = var$6; jl_Object_monitorEnterSync(var$6); w: { x: { try { y: { try { $par1Packet3Chat = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3351), var$5)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break y; } else { throw $$e; } } jl_Object_monitorExitSync(var$6); break w; } $par1Packet3Chat = $rt_s(18); jl_Object_monitorExitSync(var$6); break x; } catch ($$e) { $$je = $rt_wrapException($$e); $par1Packet3Chat = $$je; } jl_Object_monitorExitSync(var$6); $rt_throw($par1Packet3Chat); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(19)); var$7 = var$5.$length0; if ($par1Packet3Chat === null) $par1Packet3Chat = $rt_s(1); jl_StringBuilder_insert(var$5, var$7, $par1Packet3Chat); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(21)); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(5)); var$11 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$11, var$11 + 1 | 0); var$9 = var$5.$buffer; var$10 = var$9.data; var$10[var$11] = 46; $par1Packet3Chat = new jl_String; var$11 = var$5.$length0; var$8 = var$10.length; if (var$11 >= 0 && var$11 <= (var$8 - 0 | 0)) { $par1Packet3Chat.$nativeString = $rt_charArrayToString(var$9.data, 0, var$11); var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $par1Packet3Chat; var$4.$cause = $jsonObject; $rt_throw(var$4); } $par1Packet3Chat = new jl_IndexOutOfBoundsException; $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $rt_throw($par1Packet3Chat); } z: { var$3 = var$3; $jsonObject = $jsonObject.$map; if (!$rt_s(3352).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(3352).$nativeString.length) break z; $rt_s(3352).$hashCode1 = (31 * $rt_s(3352).$hashCode1 | 0) + $rt_s(3352).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$8 = $rt_s(3352).$hashCode1; var$9 = $jsonObject.$elementData.data; $jsonObject = var$9[var$8 & (var$9.length - 1 | 0)]; while ($jsonObject !== null) { if ($jsonObject.$origKeyHash == var$8) { ba: { var$4 = $jsonObject.$key; if ($rt_s(3352) !== var$4) { if ($rt_s(3352) === var$4) var$7 = 1; else if (!(var$4 instanceof jl_String)) var$7 = 0; else { var$4 = var$4; var$7 = $rt_s(3352).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break ba; } } var$7 = 1; } if (var$7) break; } $jsonObject = $jsonObject.$next3; } $jsonObject = $jsonObject === null ? null : $jsonObject.$value1; if ($jsonObject === null) { $jsonObject = new oj_JSONException; var$3 = new ji_StringWriter; var$3.$lock = var$3; var$4 = new jl_StringBuffer; var$4.$buffer = $rt_createCharArray(16); var$3.$buf0 = var$4; var$3.$lock = var$4; jl_Object_monitorEnterSync(var$4); bb: { bc: { try { bd: { try { $par1Packet3Chat = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3352), var$3)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bd; } else { throw $$e; } } jl_Object_monitorExitSync(var$4); break bb; } $par1Packet3Chat = $rt_s(18); jl_Object_monitorExitSync(var$4); break bc; } catch ($$e) { $$je = $rt_wrapException($$e); $par1Packet3Chat = $$je; } jl_Object_monitorExitSync(var$4); $rt_throw($par1Packet3Chat); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(19)); var$7 = var$3.$length0; if ($par1Packet3Chat === null) $par1Packet3Chat = $rt_s(1); jl_StringBuilder_insert(var$3, var$7, $par1Packet3Chat); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(20)); $par1Packet3Chat = new jl_String; var$9 = var$3.$buffer; var$10 = var$9.data; var$11 = var$3.$length0; var$8 = var$10.length; if (var$11 >= 0 && var$11 <= (var$8 - 0 | 0)) { $par1Packet3Chat.$nativeString = $rt_charArrayToString(var$9.data, 0, var$11); $jsonObject.$suppressionEnabled = 1; $jsonObject.$writableStackTrace = 1; $jsonObject.$message = $par1Packet3Chat; $rt_throw($jsonObject); } $par1Packet3Chat = new jl_IndexOutOfBoundsException; $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $rt_throw($par1Packet3Chat); } if (!($jsonObject instanceof oj_JSONArray)) { $jsonObject = null; var$4 = new oj_JSONException; var$5 = new ji_StringWriter; var$5.$lock = var$5; var$6 = new jl_StringBuffer; var$6.$buffer = $rt_createCharArray(16); var$5.$buf0 = var$6; var$5.$lock = var$6; jl_Object_monitorEnterSync(var$6); be: { bf: { try { bg: { try { $par1Packet3Chat = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3352), var$5)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bg; } else { throw $$e; } } jl_Object_monitorExitSync(var$6); break be; } $par1Packet3Chat = $rt_s(18); jl_Object_monitorExitSync(var$6); break bf; } catch ($$e) { $$je = $rt_wrapException($$e); $par1Packet3Chat = $$je; } jl_Object_monitorExitSync(var$6); $rt_throw($par1Packet3Chat); } } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(19)); var$7 = var$5.$length0; if ($par1Packet3Chat === null) $par1Packet3Chat = $rt_s(1); jl_StringBuilder_insert(var$5, var$7, $par1Packet3Chat); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(21)); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(450)); var$11 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$11, var$11 + 1 | 0); var$9 = var$5.$buffer; var$10 = var$9.data; var$10[var$11] = 46; $par1Packet3Chat = new jl_String; var$11 = var$5.$length0; var$8 = var$10.length; if (var$11 >= 0 && var$11 <= (var$8 - 0 | 0)) { $par1Packet3Chat.$nativeString = $rt_charArrayToString(var$9.data, 0, var$11); var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $par1Packet3Chat; var$4.$cause = $jsonObject; $rt_throw(var$4); } $par1Packet3Chat = new jl_IndexOutOfBoundsException; $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $rt_throw($par1Packet3Chat); } $par1Packet3Chat = oj_JSONArray_toList($jsonObject); var$9 = $rt_createArray(jl_Object, $par1Packet3Chat.$size0); var$10 = var$9.data; var$11 = 0; var$12 = 0; var$13 = $par1Packet3Chat.$modCount; var$14 = $par1Packet3Chat.$size(); while (true) { if (!(var$12 >= var$14 ? 0 : 1)) { nms_StatCollector_$callClinit(); $jsonObject = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, var$3, var$9); nms_GuiNewChat_func_96129_a(var$5, $jsonObject, 0, var$5.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $par1Packet3Chat = new otcic_JSStdoutPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1Packet3Chat); $par1Packet3Chat.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$3); $par1Packet3Chat.$sb = var$3; $par1Packet3Chat.$buffer0 = $rt_createCharArray(32); $par1Packet3Chat.$autoFlush = 0; $par1Packet3Chat.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par1Packet3Chat; } $par1Packet3Chat = new jl_StringBuilder; $par1Packet3Chat.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($par1Packet3Chat, $par1Packet3Chat.$length0, $rt_s(482)); var$7 = $par1Packet3Chat.$length0; if ($jsonObject === null) $jsonObject = $rt_s(1); jl_StringBuilder_insert($par1Packet3Chat, var$7, $jsonObject); $jsonObject = new jl_String; var$9 = $par1Packet3Chat.$buffer; var$10 = var$9.data; var$11 = $par1Packet3Chat.$length0; var$8 = var$10.length; if (var$11 >= 0 && var$11 <= (var$8 - 0 | 0)) { $jsonObject.$nativeString = $rt_charArrayToString(var$9.data, 0, var$11); $rt_putStdout($rt_ustr($jsonObject)); $rt_putStdout("\n"); break i; } $par1Packet3Chat = new jl_IndexOutOfBoundsException; $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $rt_throw($par1Packet3Chat); } var$7 = var$11 + 1 | 0; if (var$13 < $par1Packet3Chat.$modCount) break; var$8 = var$12 + 1 | 0; var$10[var$11] = $par1Packet3Chat.$get(var$12); var$11 = var$7; var$12 = var$8; } $par1Packet3Chat = new ju_ConcurrentModificationException; $par1Packet3Chat.$suppressionEnabled = 1; $par1Packet3Chat.$writableStackTrace = 1; $rt_throw($par1Packet3Chat); } }, nms_NetClientHandler_handleAnimation = ($this, $par1Packet18Animation) => { let var$2, $var4, $var2, $var5, var$6, var$7, var$8, $var3, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var3 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var2 = $thread.pop();$var4 = $thread.pop();var$2 = $thread.pop();$par1Packet18Animation = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1Packet18Animation.$entityId1; $var4 = $this.$mc1; $var2 = $var4.$thePlayer; if (var$2 != $var2.$entityId) { $var5 = $this.$worldClient; $var2 = $var5.$mc2.$thePlayer; if (var$2 != $var2.$entityId) { $var5 = $var5.$entityHashSet; var$6 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$6 = var$6 ^ (var$6 >>> 7 | 0) ^ (var$6 >>> 4 | 0); var$7 = $var5.$slots.data; $var5 = var$7[var$6 & (var$7.length - 1 | 0)]; a: { while ($var5 !== null) { if ($var5.$hashEntry == var$2) { $var5 = $var5.$valueEntry; break a; } $var5 = $var5.$nextEntry; } $var5 = null; } $var2 = $var5; } } if ($var2 !== null) { var$2 = $par1Packet18Animation.$animate; if (var$2 == 1) $var2.$swingItem(); else if (var$2 == 2) $var2.$performHurtAnimation(); else { if (var$2 == 3) { $var4 = $var2; var$2 = 0; var$6 = 0; var$8 = 0; $ptr = 1; continue main; } if (var$2 != 4) { if (var$2 == 6) { $var3 = $var4.$effectRenderer; var$10 = new nms_EntityCrit2FX; $var4 = $var4.$theWorld; $par1Packet18Animation = $rt_s(1317); var$11 = $var2.$posX; var$12 = $var2.$boundingBox.$minY + $var2.$height2 / 2.0; var$13 = $var2.$posZ; var$14 = $var2.$motionX; var$15 = $var2.$motionY; var$16 = $var2.$motionZ; $ptr = 2; continue main; } if (var$2 == 7) { $var5 = new nms_EntityCrit2FX; $var4 = $var4.$theWorld; $par1Packet18Animation = $rt_s(1318); var$11 = $var2.$posX; var$12 = $var2.$boundingBox.$minY + $var2.$height2 / 2.0; var$13 = $var2.$posZ; var$14 = $var2.$motionX; var$15 = $var2.$motionY; var$16 = $var2.$motionZ; $ptr = 4; continue main; } var$2 == 5 && !($var2 instanceof nms_EntityOtherPlayerMP); } } } return; case 1: nms_EntityPlayer_wakeUpPlayer($var4, var$2, var$6, var$8); if ($rt_suspending()) { break main; } return; case 2: nms_EntityFX__init_(var$10, $var4, var$11, var$12, var$13, var$14, var$15, var$16); if ($rt_suspending()) { break main; } var$10.$theEntity9 = $var2; var$10.$maximumLife = 3; var$10.$particleName = $par1Packet18Animation; $ptr = 3; case 3: nms_EntityCrit2FX_onUpdate(var$10); if ($rt_suspending()) { break main; } var$7 = $var3.$fxLayers.data; if (var$7[3].$size0 >= 4000) ju_ArrayList_remove(var$7[3], 0); $par1Packet18Animation = $var3.$fxLayers.data[3]; ju_ArrayList_ensureCapacity($par1Packet18Animation, $par1Packet18Animation.$size0 + 1 | 0); var$7 = $par1Packet18Animation.$array.data; var$6 = $par1Packet18Animation.$size0; $par1Packet18Animation.$size0 = var$6 + 1 | 0; var$7[var$6] = var$10; $par1Packet18Animation.$modCount = $par1Packet18Animation.$modCount + 1 | 0; return; case 4: nms_EntityFX__init_($var5, $var4, var$11, var$12, var$13, var$14, var$15, var$16); if ($rt_suspending()) { break main; } $var5.$theEntity9 = $var2; $var5.$maximumLife = 3; $var5.$particleName = $par1Packet18Animation; $ptr = 5; case 5: nms_EntityCrit2FX_onUpdate($var5); if ($rt_suspending()) { break main; } $par1Packet18Animation = $this.$mc1.$effectRenderer; var$7 = $par1Packet18Animation.$fxLayers.data; if (var$7[3].$size0 >= 4000) ju_ArrayList_remove(var$7[3], 0); $par1Packet18Animation = $par1Packet18Animation.$fxLayers.data[3]; ju_ArrayList_ensureCapacity($par1Packet18Animation, $par1Packet18Animation.$size0 + 1 | 0); var$7 = $par1Packet18Animation.$array.data; var$6 = $par1Packet18Animation.$size0; $par1Packet18Animation.$size0 = var$6 + 1 | 0; var$7[var$6] = $var5; $par1Packet18Animation.$modCount = $par1Packet18Animation.$modCount + 1 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet18Animation, var$2, $var4, $var2, $var5, var$6, var$7, var$8, $var3, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_NetClientHandler_disconnect = $this => { $this.$disconnected = 1; $this.$netManager.$wakeThreads(); $this.$netManager.$networkShutdown($rt_s(1627), $rt_createArray(jl_Object, 0)); }, nms_NetClientHandler_handleMobSpawn = ($this, $par1Packet24MobSpawn) => { let $var2, $var4, $var6, $var8, $var9, $var12, $var10, var$9, var$10, var$11, $var14, $var11, var$14, var$15, $var13, var$17, var$18, var$19, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var13 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var11 = $thread.pop();$var14 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var10 = $thread.pop();$var12 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$par1Packet24MobSpawn = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $par1Packet24MobSpawn.$xPosition8 / 32.0; $var4 = $par1Packet24MobSpawn.$yPosition7 / 32.0; $var6 = $par1Packet24MobSpawn.$zPosition7 / 32.0; $var8 = ($par1Packet24MobSpawn.$yaw2 * 360 | 0) / 256.0; $var9 = ($par1Packet24MobSpawn.$pitch5 * 360 | 0) / 256.0; $var12 = $par1Packet24MobSpawn.$type7; $var10 = $this.$mc1.$theWorld; nms_EntityList_$callClinit(); var$9 = null; try { var$10 = ju_HashMap_get(nms_EntityList_IDtoConstructorMapping, jl_Integer_valueOf($var12)); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$10 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { var$11 = new otcic_JSStderrPrintStream; $var14 = new ji_ByteArrayOutputStream; jl_Object__init_($var14); $var14.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$11); var$11.$out0 = $var14; $var14 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var14); var$11.$sb = $var14; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$11; } jl_Throwable_printStackTrace(var$10, jl_System_errCache); var$10 = var$9; if (var$10 !== null) var$10.$worldObj = $var10; else { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $var10.$sb = var$9; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $var10 = new jl_StringBuilder; $var10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var10, $var10.$length0, $rt_s(2966)); jl_AbstractStringBuilder_insert0($var10, $var10.$length0, $var12, 10); var$9 = new jl_String; $var11 = $var10.$buffer; var$14 = $var11.data; var$15 = $var10.$length0; $var13 = var$14.length; if (var$15 >= 0 && var$15 <= ($var13 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($var11.data, 0, var$15); $rt_putStderr($rt_ustr(var$9)); $rt_putStderr("\n"); } else { $par1Packet24MobSpawn = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1Packet24MobSpawn); $rt_throw($par1Packet24MobSpawn); } } a: { $var10 = var$10; $var10.$serverPosX = $par1Packet24MobSpawn.$xPosition8; $var10.$serverPosY = $par1Packet24MobSpawn.$yPosition7; $var10.$serverPosZ = $par1Packet24MobSpawn.$zPosition7; $var10.$rotationYawHead = ($par1Packet24MobSpawn.$headYaw * 360 | 0) / 256.0; $var11 = $var10.$getParts(); if ($var11 !== null) { $var12 = $par1Packet24MobSpawn.$entityId3 - $var10.$entityId | 0; $var13 = 0; while (true) { var$14 = $var11.data; if ($var13 >= var$14.length) break a; var$9 = var$14[$var13]; var$9.$entityId = var$9.$entityId + $var12 | 0; $var13 = $var13 + 1 | 0; } } } $var10.$entityId = $par1Packet24MobSpawn.$entityId3; nms_Entity_setPositionAndRotation($var10, $var2, $var4, $var6, $var8, $var9); $var10.$motionX = $par1Packet24MobSpawn.$velocityX / 8000.0; $var10.$motionY = $par1Packet24MobSpawn.$velocityY / 8000.0; $var10.$motionZ = $par1Packet24MobSpawn.$velocityZ / 8000.0; var$9 = $this.$worldClient; $var12 = $par1Packet24MobSpawn.$entityId3; $var14 = var$9.$mc2.$thePlayer; if ($var12 != $var14.$entityId) { var$10 = var$9.$entityHashSet; $var13 = $var12 ^ ($var12 >>> 20 | 0) ^ ($var12 >>> 12 | 0); var$17 = $var13 ^ ($var13 >>> 7 | 0) ^ ($var13 >>> 4 | 0); $var11 = var$10.$slots.data; var$10 = $var11[var$17 & ($var11.length - 1 | 0)]; b: { while (var$10 !== null) { if (var$10.$hashEntry == $var12) { var$10 = var$10.$valueEntry; break b; } var$10 = var$10.$nextEntry; } var$10 = null; } $var14 = var$10; } if ($var14 === null) { var$10 = var$9.$entityList; ju_HashMap_putImpl(var$10.$backingMap, $var10, var$10); $var10.$entityId = $var12; $var13 = nms_World_spawnEntityInWorld(var$9, $var10); var$10 = var$9.$entityList; ju_HashMap_putImpl(var$10.$backingMap, $var10, var$10); if (!$var13) { var$10 = var$9.$entitySpawnQueue; ju_HashMap_putImpl(var$10.$backingMap, $var10, var$10); } if (!$var13) { var$10 = var$9.$entitySpawnQueue; ju_HashMap_putImpl(var$10.$backingMap, $var10, var$10); } nms_IntHashMap_addKey(var$9.$entityHashSet, $var12, $var10); if ($par1Packet24MobSpawn.$metadata0 === null) $par1Packet24MobSpawn.$metadata0 = $par1Packet24MobSpawn.$metaData.$getAllWatched(); $var14 = $par1Packet24MobSpawn.$metadata0; if ($var14 !== null) { var$11 = $var10.$dataWatcher; $var12 = 0; var$17 = $var14.$modCount; var$18 = $var14.$size(); while ($var12 >= var$18 ? 0 : 1) { if (var$17 < $var14.$modCount) { $par1Packet24MobSpawn = new ju_ConcurrentModificationException; $par1Packet24MobSpawn.$suppressionEnabled = 1; $par1Packet24MobSpawn.$writableStackTrace = 1; $rt_throw($par1Packet24MobSpawn); } var$15 = $var12 + 1 | 0; $par1Packet24MobSpawn = $var14.$get($var12); $var10 = var$11.$watchedObjects; $var13 = $par1Packet24MobSpawn.$dataValueId; if ($var13 >= (-128) && $var13 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var13 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var13; } if (var$9 === null) { $var10 = $var10.$elementData.data[0]; while ($var10 !== null && $var10.$key !== null) { $var10 = $var10.$next3; } } else { var$19 = var$9.$value0; $var11 = $var10.$elementData.data; $var10 = $var11[var$19 & ($var11.length - 1 | 0)]; while ($var10 !== null) { if ($var10.$origKeyHash == var$19) { var$10 = $var10.$key; if (var$9 !== var$10 && !(var$9 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == var$19 ? 1 : 0) ? 0 : 1) break; } $var10 = $var10.$next3; } } $var10 = $var10 === null ? null : $var10.$value1; if ($var10 !== null) $var10.$watchedObject = $par1Packet24MobSpawn.$watchedObject; $var12 = var$15; } var$11.$objectChanged = 1; } return; } var$10 = $var14.$riddenByEntity; if (var$10 !== null) { var$11 = null; $ptr = 2; continue main; } if ($var14.$ridingEntity === null) { $ptr = 3; continue main; } var$10 = null; $ptr = 4; continue main; case 1: c: { try { $tmp = var$10.$apply($var10); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = var$10; break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$10 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { var$11 = new otcic_JSStderrPrintStream; $var14 = new ji_ByteArrayOutputStream; jl_Object__init_($var14); $var14.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$11); var$11.$out0 = $var14; $var14 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var14); var$11.$sb = $var14; var$11.$buffer0 = $rt_createCharArray(32); var$11.$autoFlush = 0; var$11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$11; } jl_Throwable_printStackTrace(var$10, jl_System_errCache); var$10 = var$9; } if (var$10 !== null) var$10.$worldObj = $var10; else { if (jl_System_errCache === null) { $var10 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($var10); $var10.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $var10.$sb = var$9; $var10.$buffer0 = $rt_createCharArray(32); $var10.$autoFlush = 0; $var10.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var10; } $var10 = new jl_StringBuilder; $var10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var10, $var10.$length0, $rt_s(2966)); jl_AbstractStringBuilder_insert0($var10, $var10.$length0, $var12, 10); var$9 = new jl_String; $var11 = $var10.$buffer; var$14 = $var11.data; var$15 = $var10.$length0; $var13 = var$14.length; if (var$15 >= 0 && var$15 <= ($var13 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($var11.data, 0, var$15); $rt_putStderr($rt_ustr(var$9)); $rt_putStderr("\n"); } else { $par1Packet24MobSpawn = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1Packet24MobSpawn); $rt_throw($par1Packet24MobSpawn); } } d: { $var10 = var$10; $var10.$serverPosX = $par1Packet24MobSpawn.$xPosition8; $var10.$serverPosY = $par1Packet24MobSpawn.$yPosition7; $var10.$serverPosZ = $par1Packet24MobSpawn.$zPosition7; $var10.$rotationYawHead = ($par1Packet24MobSpawn.$headYaw * 360 | 0) / 256.0; $var11 = $var10.$getParts(); if ($var11 !== null) { $var12 = $par1Packet24MobSpawn.$entityId3 - $var10.$entityId | 0; $var13 = 0; while (true) { var$14 = $var11.data; if ($var13 >= var$14.length) break d; var$9 = var$14[$var13]; var$9.$entityId = var$9.$entityId + $var12 | 0; $var13 = $var13 + 1 | 0; } } } $var10.$entityId = $par1Packet24MobSpawn.$entityId3; nms_Entity_setPositionAndRotation($var10, $var2, $var4, $var6, $var8, $var9); $var10.$motionX = $par1Packet24MobSpawn.$velocityX / 8000.0; $var10.$motionY = $par1Packet24MobSpawn.$velocityY / 8000.0; $var10.$motionZ = $par1Packet24MobSpawn.$velocityZ / 8000.0; var$9 = $this.$worldClient; $var12 = $par1Packet24MobSpawn.$entityId3; $var14 = var$9.$mc2.$thePlayer; if ($var12 != $var14.$entityId) { var$10 = var$9.$entityHashSet; $var13 = $var12 ^ ($var12 >>> 20 | 0) ^ ($var12 >>> 12 | 0); var$17 = $var13 ^ ($var13 >>> 7 | 0) ^ ($var13 >>> 4 | 0); $var11 = var$10.$slots.data; var$10 = $var11[var$17 & ($var11.length - 1 | 0)]; e: { while (var$10 !== null) { if (var$10.$hashEntry == $var12) { var$10 = var$10.$valueEntry; break e; } var$10 = var$10.$nextEntry; } var$10 = null; } $var14 = var$10; } if ($var14 === null) { var$10 = var$9.$entityList; ju_HashMap_putImpl(var$10.$backingMap, $var10, var$10); $var10.$entityId = $var12; $var13 = nms_World_spawnEntityInWorld(var$9, $var10); var$10 = var$9.$entityList; ju_HashMap_putImpl(var$10.$backingMap, $var10, var$10); if (!$var13) { var$10 = var$9.$entitySpawnQueue; ju_HashMap_putImpl(var$10.$backingMap, $var10, var$10); } if (!$var13) { var$10 = var$9.$entitySpawnQueue; ju_HashMap_putImpl(var$10.$backingMap, $var10, var$10); } nms_IntHashMap_addKey(var$9.$entityHashSet, $var12, $var10); if ($par1Packet24MobSpawn.$metadata0 === null) $par1Packet24MobSpawn.$metadata0 = $par1Packet24MobSpawn.$metaData.$getAllWatched(); $var14 = $par1Packet24MobSpawn.$metadata0; if ($var14 !== null) { var$11 = $var10.$dataWatcher; $var12 = 0; var$17 = $var14.$modCount; var$18 = $var14.$size(); while ($var12 >= var$18 ? 0 : 1) { if (var$17 < $var14.$modCount) { $par1Packet24MobSpawn = new ju_ConcurrentModificationException; $par1Packet24MobSpawn.$suppressionEnabled = 1; $par1Packet24MobSpawn.$writableStackTrace = 1; $rt_throw($par1Packet24MobSpawn); } var$15 = $var12 + 1 | 0; $par1Packet24MobSpawn = $var14.$get($var12); $var10 = var$11.$watchedObjects; $var13 = $par1Packet24MobSpawn.$dataValueId; if ($var13 >= (-128) && $var13 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var13 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var13; } if (var$9 === null) { $var10 = $var10.$elementData.data[0]; while ($var10 !== null && $var10.$key !== null) { $var10 = $var10.$next3; } } else { var$19 = var$9.$value0; $var11 = $var10.$elementData.data; $var10 = $var11[var$19 & ($var11.length - 1 | 0)]; while ($var10 !== null) { if ($var10.$origKeyHash == var$19) { var$10 = $var10.$key; if (var$9 !== var$10 && !(var$9 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == var$19 ? 1 : 0) ? 0 : 1) break; } $var10 = $var10.$next3; } } $var10 = $var10 === null ? null : $var10.$value1; if ($var10 !== null) $var10.$watchedObject = $par1Packet24MobSpawn.$watchedObject; $var12 = var$15; } var$11.$objectChanged = 1; } return; } var$10 = $var14.$riddenByEntity; if (var$10 !== null) { var$11 = null; $ptr = 2; continue main; } if ($var14.$ridingEntity === null) { $ptr = 3; continue main; } var$10 = null; $ptr = 4; continue main; case 2: var$10.$mountEntity(var$11); if ($rt_suspending()) { break main; } if ($var14.$ridingEntity === null) { $ptr = 3; continue main; } var$10 = null; $ptr = 4; continue main; case 3: $var14.$setDead(); if ($rt_suspending()) { break main; } if ($var14 instanceof nms_EntityPlayer) { var$10 = var$9.$playerEntities; var$17 = var$10.$size0; $var13 = 0; f: { while (true) { if ($var13 >= var$17) { $var13 = (-1); break f; } if ($var13 < 0) break; if ($var13 >= var$10.$size0) break; var$11 = var$10.$array.data[$var13]; if ($var14 === var$11 ? 1 : $var14 !== null ? $var14.$equals(var$11) : var$11 !== null ? 0 : 1) break f; $var13 = $var13 + 1 | 0; } $par1Packet24MobSpawn = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1Packet24MobSpawn); $rt_throw($par1Packet24MobSpawn); } if ($var13 >= 0) ju_ArrayList_remove(var$10, $var13); } var$10 = ju_HashMap_removeByKey(var$9.$entityList.$backingMap, $var14); var$10 = var$9.$entityList; ju_HashMap_putImpl(var$10.$backingMap, $var10, var$10); $var10.$entityId = $var12; $var13 = nms_World_spawnEntityInWorld(var$9, $var10); var$10 = var$9.$entityList; ju_HashMap_putImpl(var$10.$backingMap, $var10, var$10); if (!$var13) { var$10 = var$9.$entitySpawnQueue; ju_HashMap_putImpl(var$10.$backingMap, $var10, var$10); } if (!$var13) { var$10 = var$9.$entitySpawnQueue; ju_HashMap_putImpl(var$10.$backingMap, $var10, var$10); } nms_IntHashMap_addKey(var$9.$entityHashSet, $var12, $var10); if ($par1Packet24MobSpawn.$metadata0 === null) $par1Packet24MobSpawn.$metadata0 = $par1Packet24MobSpawn.$metaData.$getAllWatched(); $var14 = $par1Packet24MobSpawn.$metadata0; if ($var14 !== null) { var$11 = $var10.$dataWatcher; $var12 = 0; var$17 = $var14.$modCount; var$18 = $var14.$size(); while ($var12 >= var$18 ? 0 : 1) { if (var$17 < $var14.$modCount) { $par1Packet24MobSpawn = new ju_ConcurrentModificationException; $par1Packet24MobSpawn.$suppressionEnabled = 1; $par1Packet24MobSpawn.$writableStackTrace = 1; $rt_throw($par1Packet24MobSpawn); } var$15 = $var12 + 1 | 0; $par1Packet24MobSpawn = $var14.$get($var12); $var10 = var$11.$watchedObjects; $var13 = $par1Packet24MobSpawn.$dataValueId; if ($var13 >= (-128) && $var13 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var13 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var13; } if (var$9 === null) { $var10 = $var10.$elementData.data[0]; while ($var10 !== null && $var10.$key !== null) { $var10 = $var10.$next3; } } else { var$19 = var$9.$value0; $var11 = $var10.$elementData.data; $var10 = $var11[var$19 & ($var11.length - 1 | 0)]; while ($var10 !== null) { if ($var10.$origKeyHash == var$19) { var$10 = $var10.$key; if (var$9 !== var$10 && !(var$9 === var$10 ? 1 : var$10 instanceof jl_Integer && var$10.$value0 == var$19 ? 1 : 0) ? 0 : 1) break; } $var10 = $var10.$next3; } } $var10 = $var10 === null ? null : $var10.$value1; if ($var10 !== null) $var10.$watchedObject = $par1Packet24MobSpawn.$watchedObject; $var12 = var$15; } var$11.$objectChanged = 1; } return; case 4: $var14.$mountEntity(var$10); if ($rt_suspending()) { break main; } $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet24MobSpawn, $var2, $var4, $var6, $var8, $var9, $var12, $var10, var$9, var$10, var$11, $var14, $var11, var$14, var$15, $var13, var$17, var$18, var$19, $ptr); }, nms_NetClientHandler_handleAttachEntity = ($this, $par1Packet39AttachEntity) => { let $var4, $var5, var$4, var$5, $var2, var$7, var$8, var$9, var$10, $var3, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();$var3 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par1Packet39AttachEntity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = $par1Packet39AttachEntity.$ridingEntityId; $var5 = $this.$mc1.$thePlayer; var$4 = $var5.$entityId; var$5 = $rt_compare($var4, var$4); if (!var$5) $var2 = $var5; else { var$7 = $this.$worldClient; $var2 = var$7.$mc2.$thePlayer; if ($var4 != $var2.$entityId) { var$7 = var$7.$entityHashSet; var$8 = $var4 ^ ($var4 >>> 20 | 0) ^ ($var4 >>> 12 | 0); var$9 = var$8 ^ (var$8 >>> 7 | 0) ^ (var$8 >>> 4 | 0); var$10 = var$7.$slots.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; a: { while (var$7 !== null) { if (var$7.$hashEntry == $var4) { var$7 = var$7.$valueEntry; break a; } var$7 = var$7.$nextEntry; } var$7 = null; } $var2 = var$7; } } $var4 = $par1Packet39AttachEntity.$vehicleEntityId; if ($var4 == var$4) $var3 = $var5; else { var$7 = $this.$worldClient; $var3 = var$7.$mc2.$thePlayer; if ($var4 != $var3.$entityId) { var$7 = var$7.$entityHashSet; var$4 = $var4 ^ ($var4 >>> 20 | 0) ^ ($var4 >>> 12 | 0); var$4 = var$4 ^ (var$4 >>> 7 | 0) ^ (var$4 >>> 4 | 0); var$10 = var$7.$slots.data; var$7 = var$10[var$4 & (var$10.length - 1 | 0)]; b: { while (var$7 !== null) { if (var$7.$hashEntry == $var4) { var$7 = var$7.$valueEntry; break b; } var$7 = var$7.$nextEntry; } var$7 = null; } $var3 = var$7; } } $var4 = $par1Packet39AttachEntity.$attachState; if ($var4) { if ($var4 == 1 && $var2 !== null && $var2 instanceof nms_EntityLiving) { if ($var3 === null) { $par1Packet39AttachEntity = $var2; var$4 = 0; $var4 = 0; $ptr = 1; continue main; } nms_EntityLiving_setLeashedToEntity($var2, $var3, 0); } return; } $var4 = 0; if (var$5) { if (!($var3 instanceof nms_EntityBoat)) $var5 = $var2; else { $var3.$field_70279_a = 1; $var5 = $var2; } } else { if ($var3 instanceof nms_EntityBoat) $var3.$field_70279_a = 0; $var4 = $var5.$ridingEntity === null && $var3 !== null ? 1 : 0; } if ($var5 === null) return; $ptr = 2; continue main; case 1: nms_EntityLiving_clearLeashed($par1Packet39AttachEntity, var$4, $var4); if ($rt_suspending()) { break main; } return; case 2: $var5.$mountEntity($var3); if ($rt_suspending()) { break main; } if ($var4) { $par1Packet39AttachEntity = $this.$mc1; $var5 = $par1Packet39AttachEntity.$gameSettings; $par1Packet39AttachEntity = $par1Packet39AttachEntity.$ingameGUI; var$10 = $rt_createArray(jl_Object, 1); var$4 = $var5.$keyBindSneak.$keyCode; if (var$4 >= 0) { nlea_EaglerAdapterImpl2_$callClinit(); $var5 = var$4 >= 0 && var$4 < 256 ? nlea_EaglerAdapterImpl2_LWJGLKeyNames.data[var$4] : $rt_s(1); } else { var$12 = $rt_createArray(jl_Object, 1); var$4 = var$4 + 101 | 0; if (var$4 >= (-128) && var$4 <= 127) { jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[var$4 + 128 | 0]; } else { $var2 = new jl_Integer; $var2.$value0 = var$4; } var$12.data[0] = $var2; nms_StatCollector_$callClinit(); $var5 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3353), var$12); } var$10.data[0] = $var5; nms_StatCollector_$callClinit(); $par1Packet39AttachEntity.$recordPlaying = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3354), var$10); $par1Packet39AttachEntity.$recordPlayingUpFor = 60; $par1Packet39AttachEntity.$recordIsPlaying = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet39AttachEntity, $var4, $var5, var$4, var$5, $var2, var$7, var$8, var$9, var$10, $var3, var$12, $ptr); }, nms_NetClientHandler_handleRespawn = ($this, $par1Packet9Respawn) => { let var$2, var$3, var$4, var$5, $var2, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1Packet9Respawn = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1Packet9Respawn.$respawnDimension; var$3 = $this.$mc1; if (var$2 == var$3.$thePlayer.$dimension) { var$4 = $this.$mc1; var$5 = $par1Packet9Respawn.$respawnDimension; $ptr = 1; continue main; } $this.$doneLoadingTerrain = 0; $var2 = $this.$worldClient.$worldScoreboard; var$7 = new nms_WorldClient; var$4 = new nms_WorldSettings; var$8 = $par1Packet9Respawn.$gameType0; var$5 = var$3.$theWorld.$worldInfo.$hardcore; var$3 = $par1Packet9Respawn.$terrainType3; var$4.$field_82751_h = $rt_s(18); var$4.$seed0 = Long_ZERO; var$4.$theGameType0 = var$8; var$4.$mapFeaturesEnabled = 0; var$4.$hardcoreEnabled = var$5; var$4.$terrainType1 = var$3; nms_WorldClient__init_(var$7, $this, var$4, var$2, $par1Packet9Respawn.$difficulty0); $this.$worldClient = var$7; var$7.$worldScoreboard = $var2; var$7.$isRemote = 1; var$4 = $this.$mc1; var$8 = $rt_s(18); $ptr = 2; continue main; case 1: nms_Minecraft_setDimensionAndSpawnPlayer(var$4, var$5); if ($rt_suspending()) { break main; } var$4 = $this.$mc1.$playerController; $par1Packet9Respawn = $par1Packet9Respawn.$gameType0; var$4.$currentGameType = $par1Packet9Respawn; nms_EnumGameType_configurePlayerCapabilities($par1Packet9Respawn, var$4.$mc6.$thePlayer.$capabilities); return; case 2: nms_Minecraft_loadWorld(var$4, var$7, var$8); if ($rt_suspending()) { break main; } var$4 = $this.$mc1; var$4.$thePlayer.$dimension = $par1Packet9Respawn.$respawnDimension; var$7 = new nms_GuiDownloadTerrain; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$8; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$7.$netHandler1 = $this; $ptr = 3; case 3: nms_Minecraft_displayGuiScreen(var$4, var$7); if ($rt_suspending()) { break main; } var$4 = $this.$mc1; var$5 = $par1Packet9Respawn.$respawnDimension; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet9Respawn, var$2, var$3, var$4, var$5, $var2, var$7, var$8, $ptr); }, nms_NetClientHandler_handleExplosion = ($this, $par1Packet60Explosion) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1Packet60Explosion = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = new nms_Explosion; var$3 = $this.$mc1.$theWorld; var$4 = null; var$5 = $par1Packet60Explosion.$explosionX0; var$6 = $par1Packet60Explosion.$explosionY0; var$7 = $par1Packet60Explosion.$explosionZ0; var$8 = $par1Packet60Explosion.$explosionSize0; $var2.$isSmoking = 1; $var2.$field_77289_h = 16; var$9 = new nle_EaglercraftRandom; var$10 = Long_fromNumber(performance.now() * 1000000.0); var$9.$seed = Long_fromInt(69); var$9.$haveNextNextGaussian = 0; var$9.$seed = var$10; $var2.$explosionRNG = var$9; var$11 = new ju_ArrayList; var$11.$array = $rt_createArray(jl_Object, 10); $var2.$affectedBlockPositions = var$11; var$11 = new ju_HashMap; var$12 = ju_HashMap_calculateCapacity(16); var$11.$elementCount = 0; var$13 = $rt_createArray(ju_HashMap$HashEntry, var$12); var$14 = var$13.data; var$11.$elementData = var$13; var$11.$loadFactor = 0.75; var$11.$threshold = var$14.length * 0.75 | 0; $var2.$field_77288_k = var$11; $var2.$worldObj1 = var$3; $var2.$exploder = var$4; $var2.$explosionSize = var$8; $var2.$explosionX = var$5; $var2.$explosionY = var$6; $var2.$explosionZ = var$7; $var2.$affectedBlockPositions = $par1Packet60Explosion.$chunkPositionRecords; var$12 = 1; $ptr = 1; case 1: nms_Explosion_doExplosionB($var2, var$12); if ($rt_suspending()) { break main; } $var2 = $this.$mc1.$thePlayer; $var2.$motionX = $var2.$motionX + $par1Packet60Explosion.$playerVelocityX; $var2.$motionY = $var2.$motionY + $par1Packet60Explosion.$playerVelocityY; $var2.$motionZ = $var2.$motionZ + $par1Packet60Explosion.$playerVelocityZ; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet60Explosion, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_NetClientHandler_handleOpenWindow = ($this, $par1Packet100OpenWindow) => { let $var2, var$3, var$4, var$5, var$6, $var7, $var4, $var5, $var8, $var3, var$12, var$13, $var6, var$15, $var9, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var9 = $thread.pop();var$15 = $thread.pop();$var6 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var3 = $thread.pop();$var8 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1Packet100OpenWindow = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var2 = $this.$mc1.$thePlayer; switch ($par1Packet100OpenWindow.$inventoryType) { case 0: break; case 1: var$3 = $var2.$posX; var$4 = var$3 | 0; if (var$3 < var$4) var$4 = var$4 - 1 | 0; var$3 = $var2.$posY; var$5 = var$3 | 0; if (var$3 < var$5) var$5 = var$5 - 1 | 0; var$3 = $var2.$posZ; var$6 = var$3 | 0; if (var$3 < var$6) var$6 = var$6 - 1 | 0; $var7 = $var2.$mc4; $var4 = new nms_GuiCrafting; $var5 = $var2.$inventory; $var8 = $var2.$worldObj; nms_GuiCrafting_$callClinit(); $var3 = nms_ContainerWorkbench__init_($var5, $var8, var$4, var$5, var$6); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var5 = new ju_ArrayList; jl_Object__init_($var5); $var5.$array = $rt_createArray(jl_Object, 10); $var4.$buttonList = $var5; $var4.$allowUserInput = 0; $var4.$selectedButton = null; $var4.$eventButton = 0; $var4.$field_85043_c = Long_ZERO; $var4.$field_92018_d = 0; $var4.$xSize = 176; $var4.$ySize = 166; $var5 = new ju_HashSet; $var8 = new ju_HashMap; jl_Object__init_($var8); var$4 = ju_HashMap_calculateCapacity(16); $var8.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$13 = var$12.data; $var8.$elementData = var$12; $var8.$loadFactor = 0.75; $var8.$threshold = var$13.length * 0.75 | 0; $var5.$backingMap = $var8; $var4.$field_94077_p = $var5; $var4.$inventorySlots0 = $var3; $var4.$field_94068_E = 1; $ptr = 11; continue main; case 2: $var4 = new nms_TileEntityFurnace; nms_TileEntity_$callClinit(); $var4.$blockMetadata = (-1); $var4.$furnaceItemStacks = $rt_createArray(nms_ItemStack, 3); if ($par1Packet100OpenWindow.$useProvidedWindowTitle) $var4.$field_94130_e = $par1Packet100OpenWindow.$windowTitle; $var5 = $var2.$mc4; $var7 = new nms_GuiFurnace; $var8 = $var2.$inventory; nms_GuiFurnace_$callClinit(); $var3 = nms_ContainerFurnace__init_($var8, $var4); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var8 = new ju_ArrayList; jl_Object__init_($var8); $var8.$array = $rt_createArray(jl_Object, 10); $var7.$buttonList = $var8; $var7.$allowUserInput = 0; $var7.$selectedButton = null; $var7.$eventButton = 0; $var7.$field_85043_c = Long_ZERO; $var7.$field_92018_d = 0; $var7.$xSize = 176; $var7.$ySize = 166; $var8 = new ju_HashSet; $var6 = new ju_HashMap; jl_Object__init_($var6); var$4 = ju_HashMap_calculateCapacity(16); $var6.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$13 = var$12.data; $var6.$elementData = var$12; $var6.$loadFactor = 0.75; $var6.$threshold = var$13.length * 0.75 | 0; $var8.$backingMap = $var6; $var7.$field_94077_p = $var8; $var7.$inventorySlots0 = $var3; $var7.$field_94068_E = 1; $var7.$furnaceInventory = $var4; $ptr = 4; continue main; case 3: $var7 = nms_TileEntityDispenser__init_0(); if ($par1Packet100OpenWindow.$useProvidedWindowTitle) $var7.$customName = $par1Packet100OpenWindow.$windowTitle; $var5 = $var2.$mc4; $var4 = new nms_GuiDispenser; $var8 = $var2.$inventory; nms_GuiDispenser_$callClinit(); $var3 = nms_ContainerDispenser__init_($var8, $var7); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var8 = new ju_ArrayList; jl_Object__init_($var8); $var8.$array = $rt_createArray(jl_Object, 10); $var4.$buttonList = $var8; $var4.$allowUserInput = 0; $var4.$selectedButton = null; $var4.$eventButton = 0; $var4.$field_85043_c = Long_ZERO; $var4.$field_92018_d = 0; $var4.$xSize = 176; $var4.$ySize = 166; $var8 = new ju_HashSet; $var6 = new ju_HashMap; jl_Object__init_($var6); var$4 = ju_HashMap_calculateCapacity(16); $var6.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$13 = var$12.data; $var6.$elementData = var$12; $var6.$loadFactor = 0.75; $var6.$threshold = var$13.length * 0.75 | 0; $var8.$backingMap = $var6; $var4.$field_94077_p = $var8; $var4.$inventorySlots0 = $var3; $var4.$field_94068_E = 1; $var4.$theDispenser = $var7; $ptr = 5; continue main; case 4: var$3 = $var2.$posX; var$4 = var$3 | 0; if (var$3 < var$4) var$4 = var$4 - 1 | 0; var$3 = $var2.$posY; var$5 = var$3 | 0; if (var$3 < var$5) var$5 = var$5 - 1 | 0; var$3 = $var2.$posZ; var$6 = var$3 | 0; if (var$3 < var$6) var$6 = var$6 - 1 | 0; $var4 = !$par1Packet100OpenWindow.$useProvidedWindowTitle ? null : $par1Packet100OpenWindow.$windowTitle; $var5 = $var2.$mc4; $var7 = new nms_GuiEnchantment; $var8 = $var2.$inventory; $var3 = $var2.$worldObj; nms_GuiEnchantment_$callClinit(); $var6 = nms_ContainerEnchantment__init_($var8, $var3, var$4, var$5, var$6); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var8 = new ju_ArrayList; jl_Object__init_($var8); $var8.$array = $rt_createArray(jl_Object, 10); $var7.$buttonList = $var8; $var7.$allowUserInput = 0; $var7.$selectedButton = null; $var7.$eventButton = 0; $var7.$field_85043_c = Long_ZERO; $var7.$field_92018_d = 0; $var7.$xSize = 176; $var7.$ySize = 166; $var8 = new ju_HashSet; $var3 = new ju_HashMap; jl_Object__init_($var3); var$4 = ju_HashMap_calculateCapacity(16); $var3.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$13 = var$12.data; $var3.$elementData = var$12; $var3.$loadFactor = 0.75; $var3.$threshold = var$13.length * 0.75 | 0; $var8.$backingMap = $var3; $var7.$field_94077_p = $var8; $var7.$inventorySlots0 = $var6; $var7.$field_94068_E = 1; $var8 = new nle_EaglercraftRandom; var$15 = Long_fromNumber(performance.now() * 1000000.0); $var8.$seed = Long_fromInt(69); $var8.$haveNextNextGaussian = 0; $var8.$seed = var$15; $var7.$rand7 = $var8; $var7.$containerEnchantment = $var7.$inventorySlots0; $var7.$field_94079_C = $var4; $ptr = 13; continue main; case 5: $var5 = new nms_TileEntityBrewingStand; nms_TileEntity_$callClinit(); $var5.$blockMetadata = (-1); $var5.$brewingItemStacks = $rt_createArray(nms_ItemStack, 4); if ($par1Packet100OpenWindow.$useProvidedWindowTitle) $var5.$field_94132_e = $par1Packet100OpenWindow.$windowTitle; $var7 = $var2.$mc4; $var4 = new nms_GuiBrewingStand; $var8 = $var2.$inventory; nms_GuiBrewingStand_$callClinit(); $var3 = nms_ContainerBrewingStand__init_($var8, $var5); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var8 = new ju_ArrayList; jl_Object__init_($var8); $var8.$array = $rt_createArray(jl_Object, 10); $var4.$buttonList = $var8; $var4.$allowUserInput = 0; $var4.$selectedButton = null; $var4.$eventButton = 0; $var4.$field_85043_c = Long_ZERO; $var4.$field_92018_d = 0; $var4.$xSize = 176; $var4.$ySize = 166; $var8 = new ju_HashSet; $var6 = new ju_HashMap; jl_Object__init_($var6); var$4 = ju_HashMap_calculateCapacity(16); $var6.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$13 = var$12.data; $var6.$elementData = var$12; $var6.$loadFactor = 0.75; $var6.$threshold = var$13.length * 0.75 | 0; $var8.$backingMap = $var6; $var4.$field_94077_p = $var8; $var4.$inventorySlots0 = $var3; $var4.$field_94068_E = 1; $var4.$brewingStand = $var5; $ptr = 6; continue main; case 6: $var4 = new nms_NpcMerchant; $var4.$customer = $var2; $var7 = new nms_InventoryMerchant; $var7.$theInventory = $rt_createArray(nms_ItemStack, 3); $var7.$thePlayer4 = $var2; $var7.$theMerchant = $var4; $var4.$theMerchantInventory0 = $var7; $var7 = !$par1Packet100OpenWindow.$useProvidedWindowTitle ? null : $par1Packet100OpenWindow.$windowTitle; $var8 = $var2.$mc4; $var5 = new nms_GuiMerchant; $var3 = $var2.$inventory; $var6 = $var2.$worldObj; nms_GuiMerchant_$callClinit(); $var9 = nms_ContainerMerchant__init_($var3, $var4, $var6); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var3 = new ju_ArrayList; jl_Object__init_($var3); $var3.$array = $rt_createArray(jl_Object, 10); $var5.$buttonList = $var3; $var5.$allowUserInput = 0; $var5.$selectedButton = null; $var5.$eventButton = 0; $var5.$field_85043_c = Long_ZERO; $var5.$field_92018_d = 0; $var5.$xSize = 176; $var5.$ySize = 166; $var3 = new ju_HashSet; $var6 = new ju_HashMap; jl_Object__init_($var6); var$4 = ju_HashMap_calculateCapacity(16); $var6.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$13 = var$12.data; $var6.$elementData = var$12; $var6.$loadFactor = 0.75; $var6.$threshold = var$13.length * 0.75 | 0; $var3.$backingMap = $var6; $var5.$field_94077_p = $var3; $var5.$inventorySlots0 = $var9; $var5.$field_94068_E = 1; $var5.$theIMerchant = $var4; if (!($var7 !== null && $var7.$nativeString.length >= 1)) { nms_StatCollector_$callClinit(); $var7 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2008)); } $var5.$field_94082_v = $var7; $ptr = 9; continue main; case 7: $var8 = new nms_TileEntityBeacon; nms_TileEntityBeacon_$callClinit(); nms_TileEntity_$callClinit(); $var8.$blockMetadata = (-1); $var8.$levels = (-1); $var7 = $var2.$mc4; $var4 = new nms_GuiBeacon; $var5 = $var2.$inventory; nms_GuiBeacon_$callClinit(); $var3 = nms_ContainerBeacon__init_($var5, $var8); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var5 = new ju_ArrayList; jl_Object__init_($var5); $var5.$array = $rt_createArray(jl_Object, 10); $var4.$buttonList = $var5; $var4.$allowUserInput = 0; $var4.$selectedButton = null; $var4.$eventButton = 0; $var4.$field_85043_c = Long_ZERO; $var4.$field_92018_d = 0; $var4.$xSize = 176; $var4.$ySize = 166; $var5 = new ju_HashSet; $var6 = new ju_HashMap; jl_Object__init_($var6); var$4 = ju_HashMap_calculateCapacity(16); $var6.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$13 = var$12.data; $var6.$elementData = var$12; $var6.$loadFactor = 0.75; $var6.$threshold = var$13.length * 0.75 | 0; $var5.$backingMap = $var6; $var4.$field_94077_p = $var5; $var4.$inventorySlots0 = $var3; $var4.$field_94068_E = 1; $var4.$beacon = $var8; $var4.$xSize = 230; $var4.$ySize = 219; $ptr = 3; continue main; case 8: var$3 = $var2.$posX; var$4 = var$3 | 0; if (var$3 < var$4) var$4 = var$4 - 1 | 0; var$3 = $var2.$posY; var$5 = var$3 | 0; if (var$3 < var$5) var$5 = var$5 - 1 | 0; var$3 = $var2.$posZ; var$6 = var$3 | 0; if (var$3 < var$6) var$6 = var$6 - 1 | 0; $var7 = $var2.$mc4; $var4 = new nms_GuiRepair; $var5 = $var2.$inventory; $var8 = $var2.$worldObj; nms_GuiRepair_$callClinit(); $var3 = nms_ContainerRepair__init_($var5, $var8, var$4, var$5, var$6, nms_Minecraft_theMinecraft.$thePlayer); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var8 = new ju_ArrayList; jl_Object__init_($var8); $var8.$array = $rt_createArray(jl_Object, 10); $var4.$buttonList = $var8; $var4.$allowUserInput = 0; $var4.$selectedButton = null; $var4.$eventButton = 0; $var4.$field_85043_c = Long_ZERO; $var4.$field_92018_d = 0; $var4.$xSize = 176; $var4.$ySize = 166; $var8 = new ju_HashSet; $var6 = new ju_HashMap; jl_Object__init_($var6); var$4 = ju_HashMap_calculateCapacity(16); $var6.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$13 = var$12.data; $var6.$elementData = var$12; $var6.$loadFactor = 0.75; $var6.$threshold = var$13.length * 0.75 | 0; $var8.$backingMap = $var6; $var4.$field_94077_p = $var8; $var4.$inventorySlots0 = $var3; $var4.$field_94068_E = 1; $var4.$field_82325_q = $var5; $var4.$repairContainer = $var3; $ptr = 12; continue main; case 9: $var3 = new nms_TileEntityHopper; nms_TileEntity_$callClinit(); $var3.$blockMetadata = (-1); $var3.$hopperItemStacks = $rt_createArray(nms_ItemStack, 5); $var3.$transferCooldown = (-1); if ($par1Packet100OpenWindow.$useProvidedWindowTitle) $var3.$inventoryName = $par1Packet100OpenWindow.$windowTitle; $var7 = $var2.$mc4; $var4 = new nms_GuiHopper; $var5 = $var2.$inventory; nms_GuiHopper_$callClinit(); $var8 = nms_ContainerHopper__init_($var5, $var3); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var6 = new ju_ArrayList; jl_Object__init_($var6); $var6.$array = $rt_createArray(jl_Object, 10); $var4.$buttonList = $var6; $var4.$allowUserInput = 0; $var4.$selectedButton = null; $var4.$eventButton = 0; $var4.$field_85043_c = Long_ZERO; $var4.$field_92018_d = 0; $var4.$xSize = 176; $var4.$ySize = 166; $var6 = new ju_HashSet; $var9 = new ju_HashMap; jl_Object__init_($var9); var$4 = ju_HashMap_calculateCapacity(16); $var9.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$13 = var$12.data; $var9.$elementData = var$12; $var9.$loadFactor = 0.75; $var9.$threshold = var$13.length * 0.75 | 0; $var6.$backingMap = $var9; $var4.$field_94077_p = $var6; $var4.$inventorySlots0 = $var8; $var4.$field_94068_E = 1; $var4.$field_94081_r = $var5; $var4.$field_94080_s = $var3; $var4.$allowUserInput = 0; $var4.$ySize = 133; $ptr = 7; continue main; case 10: $var6 = nms_TileEntityDropper__init_(); if ($par1Packet100OpenWindow.$useProvidedWindowTitle) $var6.$customName = $par1Packet100OpenWindow.$windowTitle; $var7 = $var2.$mc4; $var4 = new nms_GuiDispenser; $var5 = $var2.$inventory; nms_GuiDispenser_$callClinit(); $var8 = nms_ContainerDispenser__init_($var5, $var6); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var5 = new ju_ArrayList; jl_Object__init_($var5); $var5.$array = $rt_createArray(jl_Object, 10); $var4.$buttonList = $var5; $var4.$allowUserInput = 0; $var4.$selectedButton = null; $var4.$eventButton = 0; $var4.$field_85043_c = Long_ZERO; $var4.$field_92018_d = 0; $var4.$xSize = 176; $var4.$ySize = 166; $var5 = new ju_HashSet; $var3 = new ju_HashMap; jl_Object__init_($var3); var$4 = ju_HashMap_calculateCapacity(16); $var3.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$13 = var$12.data; $var3.$elementData = var$12; $var3.$loadFactor = 0.75; $var3.$threshold = var$13.length * 0.75 | 0; $var5.$backingMap = $var3; $var4.$field_94077_p = $var5; $var4.$inventorySlots0 = $var8; $var4.$field_94068_E = 1; $var4.$theDispenser = $var6; $ptr = 8; continue main; case 11: var$4 = $par1Packet100OpenWindow.$field_111008_f; if (var$4 == $var2.$entityId) $var9 = $var2; else { $var4 = $this.$worldClient; $var9 = $var4.$mc2.$thePlayer; if (var$4 != $var9.$entityId) { $var4 = $var4.$entityHashSet; var$17 = var$4 ^ (var$4 >>> 20 | 0) ^ (var$4 >>> 12 | 0); var$17 = var$17 ^ (var$17 >>> 7 | 0) ^ (var$17 >>> 4 | 0); var$13 = $var4.$slots.data; $var4 = var$13[var$17 & (var$13.length - 1 | 0)]; b: { while ($var4 !== null) { if ($var4.$hashEntry == var$4) { $var4 = $var4.$valueEntry; break b; } $var4 = $var4.$nextEntry; } $var4 = null; } $var9 = $var4; } } if ($var9 === null) break a; if (!($var9 instanceof nms_EntityHorse)) break a; else { $var4 = $var9; $var7 = new nms_AnimalChest; $var5 = $par1Packet100OpenWindow.$windowTitle; var$4 = $par1Packet100OpenWindow.$useProvidedWindowTitle; var$17 = $par1Packet100OpenWindow.$slotsCount0; $var7.$inventoryTitle = $var5; $var7.$field_94051_e = var$4; $var7.$slotsCount = var$17; $var7.$inventoryContents = $rt_createArray(nms_ItemStack, var$17); $var8 = $var2.$mc4; $var5 = new nms_GuiScreenHorseInventory; $var3 = $var2.$inventory; nms_GuiScreenHorseInventory_$callClinit(); $var6 = nms_ContainerHorseInventory__init_($var3, $var7, $var4); nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var9 = new ju_ArrayList; jl_Object__init_($var9); $var9.$array = $rt_createArray(jl_Object, 10); $var5.$buttonList = $var9; $var5.$allowUserInput = 0; $var5.$selectedButton = null; $var5.$eventButton = 0; $var5.$field_85043_c = Long_ZERO; $var5.$field_92018_d = 0; $var5.$xSize = 176; $var5.$ySize = 166; $var9 = new ju_HashSet; var$18 = new ju_HashMap; jl_Object__init_(var$18); var$4 = ju_HashMap_calculateCapacity(16); var$18.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$13 = var$12.data; var$18.$elementData = var$12; var$18.$loadFactor = 0.75; var$18.$threshold = var$13.length * 0.75 | 0; $var9.$backingMap = var$18; $var5.$field_94077_p = $var9; $var5.$inventorySlots0 = $var6; $var5.$field_94068_E = 1; $var5.$field_110413_u = $var3; $var5.$field_110412_v = $var7; $var5.$field_110411_w = $var4; $var5.$allowUserInput = 0; $ptr = 10; continue main; } default: break a; } $var4 = new nms_InventoryBasic; $var7 = $par1Packet100OpenWindow.$windowTitle; var$4 = $par1Packet100OpenWindow.$useProvidedWindowTitle; var$17 = $par1Packet100OpenWindow.$slotsCount0; $var4.$inventoryTitle = $var7; $var4.$field_94051_e = var$4; $var4.$slotsCount = var$17; $var4.$inventoryContents = $rt_createArray(nms_ItemStack, var$17); $var8 = $var2.$mc4; $var5 = new nms_GuiChest; $var3 = $var2.$inventory; nms_GuiChest_$callClinit(); $var6 = new nms_ContainerChest; $ptr = 1; continue main; } return; case 1: nms_ContainerChest__init_($var6, $var3, $var4); if ($rt_suspending()) { break main; } nms_GuiContainer_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var7 = new ju_ArrayList; jl_Object__init_($var7); $var7.$array = $rt_createArray(jl_Object, 10); $var5.$buttonList = $var7; $var5.$allowUserInput = 0; $var5.$selectedButton = null; $var5.$eventButton = 0; $var5.$field_85043_c = Long_ZERO; $var5.$field_92018_d = 0; $var5.$xSize = 176; $var5.$ySize = 166; $var7 = new ju_HashSet; $var9 = new ju_HashMap; jl_Object__init_($var9); var$4 = ju_HashMap_calculateCapacity(16); $var9.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$13 = var$12.data; $var9.$elementData = var$12; $var9.$loadFactor = 0.75; $var9.$threshold = var$13.length * 0.75 | 0; $var7.$backingMap = $var9; $var5.$field_94077_p = $var7; $var5.$inventorySlots0 = $var6; $var5.$field_94068_E = 1; $var5.$upperChestInventory = $var3; $var5.$lowerChestInventory = $var4; $var5.$allowUserInput = 0; var$17 = $var4.$slotsCount / 9 | 0; $var5.$inventoryRows = var$17; $var5.$ySize = 114 + (var$17 * 18 | 0) | 0; $ptr = 2; case 2: nms_Minecraft_displayGuiScreen($var8, $var5); if ($rt_suspending()) { break main; } $var2.$openContainer.$windowId = $par1Packet100OpenWindow.$windowId0; return; case 3: nms_Minecraft_displayGuiScreen($var7, $var4); if ($rt_suspending()) { break main; } if ($par1Packet100OpenWindow.$useProvidedWindowTitle) $var8.$field_94048_i = $par1Packet100OpenWindow.$windowTitle; $var2.$openContainer.$windowId = $par1Packet100OpenWindow.$windowId0; return; case 4: nms_Minecraft_displayGuiScreen($var5, $var7); if ($rt_suspending()) { break main; } $var2.$openContainer.$windowId = $par1Packet100OpenWindow.$windowId0; return; case 5: nms_Minecraft_displayGuiScreen($var5, $var4); if ($rt_suspending()) { break main; } $var2.$openContainer.$windowId = $par1Packet100OpenWindow.$windowId0; return; case 6: nms_Minecraft_displayGuiScreen($var7, $var4); if ($rt_suspending()) { break main; } $var2.$openContainer.$windowId = $par1Packet100OpenWindow.$windowId0; return; case 7: nms_Minecraft_displayGuiScreen($var7, $var4); if ($rt_suspending()) { break main; } $var2.$openContainer.$windowId = $par1Packet100OpenWindow.$windowId0; return; case 8: nms_Minecraft_displayGuiScreen($var7, $var4); if ($rt_suspending()) { break main; } $var2.$openContainer.$windowId = $par1Packet100OpenWindow.$windowId0; return; case 9: nms_Minecraft_displayGuiScreen($var8, $var5); if ($rt_suspending()) { break main; } $var2.$openContainer.$windowId = $par1Packet100OpenWindow.$windowId0; return; case 10: nms_Minecraft_displayGuiScreen($var8, $var5); if ($rt_suspending()) { break main; } $var2.$openContainer.$windowId = $par1Packet100OpenWindow.$windowId0; return; case 11: nms_Minecraft_displayGuiScreen($var7, $var4); if ($rt_suspending()) { break main; } $var2.$openContainer.$windowId = $par1Packet100OpenWindow.$windowId0; return; case 12: nms_Minecraft_displayGuiScreen($var7, $var4); if ($rt_suspending()) { break main; } $var2.$openContainer.$windowId = $par1Packet100OpenWindow.$windowId0; return; case 13: nms_Minecraft_displayGuiScreen($var5, $var7); if ($rt_suspending()) { break main; } $var2.$openContainer.$windowId = $par1Packet100OpenWindow.$windowId0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet100OpenWindow, $var2, var$3, var$4, var$5, var$6, $var7, $var4, $var5, $var8, $var3, var$12, var$13, $var6, var$15, $var9, var$17, var$18, $ptr); }, nms_NetClientHandler_handleSetSlot = ($this, $par1Packet103SetSlot) => { let $var5, $var2, var$4, $var3, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();$var5 = $thread.pop();$par1Packet103SetSlot = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var5 = $this.$mc1; $var2 = $var5.$thePlayer; var$4 = $par1Packet103SetSlot.$windowId5; if (var$4 == (-1)) $var2.$inventory.$itemStack = $par1Packet103SetSlot.$myItemStack; else { $var3 = 0; if ($var5.$currentScreen instanceof nms_GuiContainerCreative) { nms_GuiContainerCreative_$callClinit(); var$6 = nms_GuiContainerCreative_selectedTabIndex; nms_CreativeTabs_$callClinit(); $var3 = var$6 == nms_CreativeTabs_tabInventory.$tabIndex ? 0 : 1; } if (!var$4) { var$6 = $par1Packet103SetSlot.$itemSlot; if (var$6 >= 36 && var$6 < 45) { $var5 = $var2.$inventoryContainer.$inventorySlots; if (var$6 >= 0 && var$6 < $var5.$size0) { $var5 = $var5.$array.data[var$6].$getStack(); var$7 = $par1Packet103SetSlot.$myItemStack; if (var$7 !== null && !($var5 !== null && $var5.$stackSize >= var$7.$stackSize)) var$7.$animationsToGo = 5; $var5 = $var2.$inventoryContainer; $var3 = $par1Packet103SetSlot.$itemSlot; $par1Packet103SetSlot = $var5.$inventorySlots; if ($var3 >= 0 && $var3 < $par1Packet103SetSlot.$size0) { $par1Packet103SetSlot = $par1Packet103SetSlot.$array.data[$var3]; $ptr = 2; continue main; } $par1Packet103SetSlot = new jl_IndexOutOfBoundsException; $par1Packet103SetSlot.$suppressionEnabled = 1; $par1Packet103SetSlot.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Packet103SetSlot); $rt_throw($par1Packet103SetSlot); } $par1Packet103SetSlot = new jl_IndexOutOfBoundsException; $par1Packet103SetSlot.$suppressionEnabled = 1; $par1Packet103SetSlot.$writableStackTrace = 1; $rt_throw($par1Packet103SetSlot); } } $var5 = $var2.$openContainer; if (var$4 == $var5.$windowId) { if (var$4) break a; if (!$var3) break a; } } return; } $var3 = $par1Packet103SetSlot.$itemSlot; $par1Packet103SetSlot = $par1Packet103SetSlot.$myItemStack; $var5 = $var5.$inventorySlots; if ($var3 >= 0 && $var3 < $var5.$size0) { $var5 = $var5.$array.data[$var3]; $ptr = 1; continue main; } $par1Packet103SetSlot = new jl_IndexOutOfBoundsException; $par1Packet103SetSlot.$suppressionEnabled = 1; $par1Packet103SetSlot.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Packet103SetSlot); $rt_throw($par1Packet103SetSlot); case 1: $var5.$putStack($par1Packet103SetSlot); if ($rt_suspending()) { break main; } return; case 2: $par1Packet103SetSlot.$putStack(var$7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet103SetSlot, $var5, $var2, var$4, $var3, var$6, var$7, $ptr); }, nms_NetClientHandler_handleTransaction = ($this, $par1Packet106Transaction) => { let $var2, $var3, var$4, var$5; $var2 = null; $var3 = $this.$mc1.$thePlayer; var$4 = $par1Packet106Transaction.$windowId2; if (!var$4) $var3 = $var3.$inventoryContainer; else { $var3 = $var3.$openContainer; if (var$4 != $var3.$windowId) $var3 = $var2; } if ($var3 !== null && !$par1Packet106Transaction.$accepted) { $var2 = new nms_Packet106Transaction; var$5 = $par1Packet106Transaction.$shortWindowId; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var2.$windowId2 = var$4; $var2.$shortWindowId = var$5; $var2.$accepted = 1; if (!$this.$disconnected) $this.$netManager.$addToSendQueue($var2); } }, nms_NetClientHandler_func_142031_a = ($this, $par1Packet133TileEditorOpen) => { let $var2, var$3, var$4, var$5, $var3, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1Packet133TileEditorOpen = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$worldClient; var$3 = $par1Packet133TileEditorOpen.$field_142035_b; var$4 = $par1Packet133TileEditorOpen.$field_142036_c; var$5 = $par1Packet133TileEditorOpen.$field_142034_d; $ptr = 1; case 1: a: { $tmp = nms_World_getBlockTileEntity($var2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 !== null) { $par1Packet133TileEditorOpen = $this.$mc1.$thePlayer; if ($var2 instanceof nms_TileEntitySign) { $par1Packet133TileEditorOpen = $par1Packet133TileEditorOpen.$mc4; $var3 = new nms_GuiEditSign; $var2 = $var2; nms_GuiEditSign_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); $var3.$buttonList = var$7; $var3.$allowUserInput = 0; $var3.$selectedButton = null; $var3.$eventButton = 0; $var3.$field_85043_c = Long_ZERO; $var3.$field_92018_d = 0; $var3.$screenTitle = $rt_s(2930); $var3.$entitySign = $var2; $ptr = 2; continue main; } if (!($var2 instanceof nms_TileEntityCommandBlock)) break a; $var3 = $par1Packet133TileEditorOpen.$mc4; $par1Packet133TileEditorOpen = new nms_GuiCommandBlock; $var2 = $var2; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); $par1Packet133TileEditorOpen.$buttonList = var$7; $par1Packet133TileEditorOpen.$allowUserInput = 0; $par1Packet133TileEditorOpen.$selectedButton = null; $par1Packet133TileEditorOpen.$eventButton = 0; $par1Packet133TileEditorOpen.$field_85043_c = Long_ZERO; $par1Packet133TileEditorOpen.$field_92018_d = 0; $par1Packet133TileEditorOpen.$commandBlock = $var2; $ptr = 4; continue main; } if (!$par1Packet133TileEditorOpen.$field_142037_a) { $var3 = nms_TileEntitySign__init_0(); $var3.$worldObj0 = $this.$worldClient; $var3.$xCoord0 = $par1Packet133TileEditorOpen.$field_142035_b; $var3.$yCoord0 = $par1Packet133TileEditorOpen.$field_142036_c; $var3.$zCoord0 = $par1Packet133TileEditorOpen.$field_142034_d; $par1Packet133TileEditorOpen = $this.$mc1.$thePlayer; if ($var3 instanceof nms_TileEntitySign) { $par1Packet133TileEditorOpen = $par1Packet133TileEditorOpen.$mc4; $var2 = new nms_GuiEditSign; $var3 = $var3; nms_GuiEditSign_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); $var2.$buttonList = var$7; $var2.$allowUserInput = 0; $var2.$selectedButton = null; $var2.$eventButton = 0; $var2.$field_85043_c = Long_ZERO; $var2.$field_92018_d = 0; $var2.$screenTitle = $rt_s(2930); $var2.$entitySign = $var3; $ptr = 3; continue main; } if ($var3 instanceof nms_TileEntityCommandBlock) { $var2 = $par1Packet133TileEditorOpen.$mc4; $par1Packet133TileEditorOpen = new nms_GuiCommandBlock; $var3 = $var3; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); $par1Packet133TileEditorOpen.$buttonList = var$7; $par1Packet133TileEditorOpen.$allowUserInput = 0; $par1Packet133TileEditorOpen.$selectedButton = null; $par1Packet133TileEditorOpen.$eventButton = 0; $par1Packet133TileEditorOpen.$field_85043_c = Long_ZERO; $par1Packet133TileEditorOpen.$field_92018_d = 0; $par1Packet133TileEditorOpen.$commandBlock = $var3; $ptr = 5; continue main; } } } return; case 2: nms_Minecraft_displayGuiScreen($par1Packet133TileEditorOpen, $var3); if ($rt_suspending()) { break main; } return; case 3: nms_Minecraft_displayGuiScreen($par1Packet133TileEditorOpen, $var2); if ($rt_suspending()) { break main; } return; case 4: nms_Minecraft_displayGuiScreen($var3, $par1Packet133TileEditorOpen); if ($rt_suspending()) { break main; } return; case 5: nms_Minecraft_displayGuiScreen($var2, $par1Packet133TileEditorOpen); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet133TileEditorOpen, $var2, var$3, var$4, var$5, $var3, var$7, $ptr); }, nms_NetClientHandler_handleUpdateSign = ($this, $par1Packet130UpdateSign) => { let $var2, $var5, $var3, var$5, $var4, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();$var5 = $thread.pop();$var2 = $thread.pop();$par1Packet130UpdateSign = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = 0; $var5 = $par1Packet130UpdateSign.$yPosition5; if (!($var5 >= 0 && $var5 < 256 ? 1 : 0)) { a: { if (!$var2) { $var3 = $this.$mc1.$thePlayer; if ($var3 !== null) { $var2 = $par1Packet130UpdateSign.$xPosition6; $var5 = $par1Packet130UpdateSign.$yPosition5; var$5 = $par1Packet130UpdateSign.$zPosition5; $par1Packet130UpdateSign = new jl_StringBuilder; $par1Packet130UpdateSign.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $rt_s(3355)); jl_AbstractStringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $var2, 10); jl_AbstractStringBuilder_insert($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $var5, 10); jl_AbstractStringBuilder_insert($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, var$5, 10); $var4 = new jl_String; var$7 = $par1Packet130UpdateSign.$buffer; var$8 = var$7.data; $var5 = $par1Packet130UpdateSign.$length0; var$5 = var$8.length; if ($var5 >= 0 && $var5 <= (var$5 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$7.data, 0, $var5); $var3 = $var3.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a($var3, $var4, 0, $var3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $par1Packet130UpdateSign = new otcic_JSStdoutPrintStream; $var3 = new ji_ByteArrayOutputStream; ji_OutputStream__init_($var3); $var3.$buf = $rt_createByteArray(32); ji_FilterOutputStream__init_($par1Packet130UpdateSign, $var3); $par1Packet130UpdateSign.$sb = jl_StringBuilder__init_(); $par1Packet130UpdateSign.$buffer0 = $rt_createCharArray(32); $par1Packet130UpdateSign.$autoFlush = 0; $par1Packet130UpdateSign.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par1Packet130UpdateSign; } $par1Packet130UpdateSign = new jl_StringBuilder; $par1Packet130UpdateSign.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, jl_String_toString($rt_s(482))); jl_StringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, jl_String_toString($var4)); $var3 = new jl_String; var$7 = $par1Packet130UpdateSign.$buffer; var$8 = var$7.data; $var5 = $par1Packet130UpdateSign.$length0; var$5 = var$8.length; if ($var5 >= 0 && $var5 <= (var$5 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$7.data, 0, $var5); $rt_putStdout($rt_ustr($var3)); $rt_putStdout("\n"); break a; } $par1Packet130UpdateSign = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1Packet130UpdateSign); $rt_throw($par1Packet130UpdateSign); } $par1Packet130UpdateSign = new jl_IndexOutOfBoundsException; $par1Packet130UpdateSign.$suppressionEnabled = 1; $par1Packet130UpdateSign.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Packet130UpdateSign); $rt_throw($par1Packet130UpdateSign); } } } return; } $var3 = $this.$mc1.$theWorld; var$5 = $par1Packet130UpdateSign.$xPosition6; var$9 = $par1Packet130UpdateSign.$zPosition5; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($var3, var$5, $var5, var$9); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 instanceof nms_TileEntitySign) { $var4 = $var3; if ($var4.$isEditable) { $var5 = 0; while ($var5 < 4) { $var4.$signText.data[$var5] = $par1Packet130UpdateSign.$signLines.data[$var5]; $var5 = $var5 + 1 | 0; } $ptr = 2; continue main; } $var2 = 1; } b: { if (!$var2) { $var3 = $this.$mc1.$thePlayer; if ($var3 !== null) { $var2 = $par1Packet130UpdateSign.$xPosition6; $var5 = $par1Packet130UpdateSign.$yPosition5; var$5 = $par1Packet130UpdateSign.$zPosition5; $par1Packet130UpdateSign = new jl_StringBuilder; $par1Packet130UpdateSign.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $rt_s(3355)); jl_AbstractStringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $var2, 10); jl_AbstractStringBuilder_insert($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $var5, 10); jl_AbstractStringBuilder_insert($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, var$5, 10); $var4 = new jl_String; var$7 = $par1Packet130UpdateSign.$buffer; var$8 = var$7.data; $var5 = $par1Packet130UpdateSign.$length0; var$5 = var$8.length; if ($var5 >= 0 && $var5 <= (var$5 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$7.data, 0, $var5); $var3 = $var3.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a($var3, $var4, 0, $var3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $par1Packet130UpdateSign = new otcic_JSStdoutPrintStream; $var3 = new ji_ByteArrayOutputStream; ji_OutputStream__init_($var3); $var3.$buf = $rt_createByteArray(32); ji_FilterOutputStream__init_($par1Packet130UpdateSign, $var3); $par1Packet130UpdateSign.$sb = jl_StringBuilder__init_(); $par1Packet130UpdateSign.$buffer0 = $rt_createCharArray(32); $par1Packet130UpdateSign.$autoFlush = 0; $par1Packet130UpdateSign.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par1Packet130UpdateSign; } $par1Packet130UpdateSign = new jl_StringBuilder; $par1Packet130UpdateSign.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, jl_String_toString($rt_s(482))); jl_StringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, jl_String_toString($var4)); $var3 = new jl_String; var$7 = $par1Packet130UpdateSign.$buffer; var$8 = var$7.data; $var5 = $par1Packet130UpdateSign.$length0; var$5 = var$8.length; if ($var5 >= 0 && $var5 <= (var$5 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$7.data, 0, $var5); $rt_putStdout($rt_ustr($var3)); $rt_putStdout("\n"); break b; } $par1Packet130UpdateSign = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1Packet130UpdateSign); $rt_throw($par1Packet130UpdateSign); } $par1Packet130UpdateSign = new jl_IndexOutOfBoundsException; $par1Packet130UpdateSign.$suppressionEnabled = 1; $par1Packet130UpdateSign.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Packet130UpdateSign); $rt_throw($par1Packet130UpdateSign); } } } return; case 2: nms_TileEntity_onInventoryChanged($var4); if ($rt_suspending()) { break main; } $var2 = 1; c: { if (!$var2) { $var3 = $this.$mc1.$thePlayer; if ($var3 !== null) { $var2 = $par1Packet130UpdateSign.$xPosition6; $var5 = $par1Packet130UpdateSign.$yPosition5; var$5 = $par1Packet130UpdateSign.$zPosition5; $par1Packet130UpdateSign = new jl_StringBuilder; $par1Packet130UpdateSign.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $rt_s(3355)); jl_AbstractStringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $var2, 10); jl_AbstractStringBuilder_insert($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $var5, 10); jl_AbstractStringBuilder_insert($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, var$5, 10); $var4 = new jl_String; var$7 = $par1Packet130UpdateSign.$buffer; var$8 = var$7.data; $var5 = $par1Packet130UpdateSign.$length0; var$5 = var$8.length; if ($var5 >= 0 && $var5 <= (var$5 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$7.data, 0, $var5); $var3 = $var3.$mc4.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a($var3, $var4, 0, $var3.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $par1Packet130UpdateSign = new otcic_JSStdoutPrintStream; $var3 = new ji_ByteArrayOutputStream; ji_OutputStream__init_($var3); $var3.$buf = $rt_createByteArray(32); ji_FilterOutputStream__init_($par1Packet130UpdateSign, $var3); $par1Packet130UpdateSign.$sb = jl_StringBuilder__init_(); $par1Packet130UpdateSign.$buffer0 = $rt_createCharArray(32); $par1Packet130UpdateSign.$autoFlush = 0; $par1Packet130UpdateSign.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par1Packet130UpdateSign; } $par1Packet130UpdateSign = new jl_StringBuilder; $par1Packet130UpdateSign.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, jl_String_toString($rt_s(482))); jl_StringBuilder_insert0($par1Packet130UpdateSign, $par1Packet130UpdateSign.$length0, jl_String_toString($var4)); $var3 = new jl_String; var$7 = $par1Packet130UpdateSign.$buffer; var$8 = var$7.data; $var5 = $par1Packet130UpdateSign.$length0; var$5 = var$8.length; if ($var5 >= 0 && $var5 <= (var$5 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$7.data, 0, $var5); $rt_putStdout($rt_ustr($var3)); $rt_putStdout("\n"); break c; } $par1Packet130UpdateSign = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1Packet130UpdateSign); $rt_throw($par1Packet130UpdateSign); } $par1Packet130UpdateSign = new jl_IndexOutOfBoundsException; $par1Packet130UpdateSign.$suppressionEnabled = 1; $par1Packet130UpdateSign.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Packet130UpdateSign); $rt_throw($par1Packet130UpdateSign); } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet130UpdateSign, $var2, $var5, $var3, var$5, $var4, var$7, var$8, var$9, $ptr); }, nms_NetClientHandler_handleTileEntityData = ($this, $par1Packet132TileEntityData) => { let var$2, $var2, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$par1Packet132TileEntityData = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1Packet132TileEntityData.$yPosition15; if (!(var$2 >= 0 && var$2 < 256 ? 1 : 0)) return; $var2 = $this.$mc1.$theWorld; var$4 = $par1Packet132TileEntityData.$xPosition11; var$5 = $par1Packet132TileEntityData.$zPosition15; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($var2, var$4, var$2, var$5); if ($rt_suspending()) { break main; } $var2 = $tmp; if ($var2 !== null) { var$2 = $par1Packet132TileEntityData.$actionType; if (var$2 == 1 && $var2 instanceof nms_TileEntityMobSpawner) { $par1Packet132TileEntityData = $par1Packet132TileEntityData.$data14; $ptr = 2; continue main; } if (var$2 == 2 && $var2 instanceof nms_TileEntityCommandBlock) { $par1Packet132TileEntityData = $par1Packet132TileEntityData.$data14; $ptr = 3; continue main; } if (var$2 == 3 && $var2 instanceof nms_TileEntityBeacon) { $par1Packet132TileEntityData = $par1Packet132TileEntityData.$data14; $ptr = 4; continue main; } if (var$2 == 4 && $var2 instanceof nms_TileEntitySkull) { $par1Packet132TileEntityData = $par1Packet132TileEntityData.$data14; $ptr = 5; continue main; } } return; case 2: $var2.$readFromNBT($par1Packet132TileEntityData); if ($rt_suspending()) { break main; } return; case 3: $var2.$readFromNBT($par1Packet132TileEntityData); if ($rt_suspending()) { break main; } return; case 4: $var2.$readFromNBT($par1Packet132TileEntityData); if ($rt_suspending()) { break main; } return; case 5: $var2.$readFromNBT($par1Packet132TileEntityData); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet132TileEntityData, var$2, $var2, var$4, var$5, $ptr); }, nms_NetClientHandler_handleMapChunks = ($this, $par1Packet56MapChunks) => { let $var2, var$3, $var3, $var4, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16; $var2 = 0; a: { while (true) { var$3 = $par1Packet56MapChunks.$chunkPostX.data; if ($var2 >= var$3.length) break; $var3 = var$3[$var2]; $var4 = $par1Packet56MapChunks.$chunkPosZ.data[$var2]; var$6 = $this.$worldClient.$clientChunkProvider; var$7 = nms_Chunk__init_(var$6.$worldObj12, $var3, $var4); var$6 = var$6.$chunkMapping; var$8 = Long_or(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var4), Long_create(4294967295, 0)), 32)); nms_LongHashMap_add(var$6, var$8, var$7); var$7.$isChunkLoaded = 1; var$9 = $var3 << 4; var$10 = $var4 << 4; var$11 = var$9 + 15 | 0; var$12 = var$10 + 15 | 0; var$6 = $this.$worldClient; var$13 = var$6.$chunkProvider; var$7 = var$13.$chunkMapping; var$14 = Long_lo(Long_xor(var$8, Long_shru(var$8, 32))); var$14 = var$14 ^ (var$14 >>> 20 | 0) ^ (var$14 >>> 12 | 0); var$14 = var$14 ^ (var$14 >>> 7 | 0) ^ (var$14 >>> 4 | 0); var$3 = var$7.$hashArray.data; var$7 = var$3[var$14 & (var$3.length - 1 | 0)]; b: { while (var$7 !== null) { if (Long_eq(var$7.$key1, var$8)) { var$7 = var$7.$value6; break b; } var$7 = var$7.$nextEntry0; } var$7 = null; } var$7 = var$7; if (var$7 === null) var$7 = var$13.$blankChunk; if (var$7 === null) { var$7 = var$6.$clientChunkProvider; var$6 = nms_Chunk__init_(var$7.$worldObj12, $var3, $var4); nms_LongHashMap_add(var$7.$chunkMapping, var$8, var$6); var$6.$isChunkLoaded = 1; var$6 = $this.$worldClient.$chunkProvider; var$3 = var$6.$chunkMapping.$hashArray.data; var$7 = var$3[var$14 & (var$3.length - 1 | 0)]; c: { while (var$7 !== null) { if (Long_eq(var$7.$key1, var$8)) { var$7 = var$7.$value6; break c; } var$7 = var$7.$nextEntry0; } var$7 = null; } var$7 = var$7; if (var$7 === null) var$7 = var$6.$blankChunk; } if (var$7 !== null) { nms_Chunk_fillChunk(var$7, $par1Packet56MapChunks.$field_73584_f.data[$var2], $par1Packet56MapChunks.$field_73590_a.data[$var2], $par1Packet56MapChunks.$field_73588_b.data[$var2], 1); var$6 = $this.$worldClient; var$14 = 0; var$15 = var$9 - 1 | 0; var$9 = var$10 - 1 | 0; var$11 = var$11 + 1 | 0; var$12 = var$12 + 1 | 0; while (true) { var$13 = var$6.$worldAccesses; var$16 = $rt_compare(var$14, var$13.$size0); if (var$16 >= 0) break; if (var$14 < 0) break a; if (var$16 >= 0) break a; nms_RenderGlobal_markBlocksForUpdate(var$13.$array.data[var$14], var$15, (-1), var$9, var$11, 257, var$12); var$14 = var$14 + 1 | 0; } if (!($this.$worldClient.$provider instanceof nms_WorldProviderSurface)) var$7.$queuedLightChecks = 0; } $var2 = $var2 + 1 | 0; } return; } $par1Packet56MapChunks = new jl_IndexOutOfBoundsException; $par1Packet56MapChunks.$suppressionEnabled = 1; $par1Packet56MapChunks.$writableStackTrace = 1; $rt_throw($par1Packet56MapChunks); }, nms_NetClientHandler_handleGameEvent = ($this, $par1Packet70GameEvent) => { let $var2, $var3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1Packet70GameEvent = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$mc1.$thePlayer; $var3 = $par1Packet70GameEvent.$eventType; $var4 = $par1Packet70GameEvent.$gameMode1; if ($var3 >= 0) { var$5 = nms_Packet70GameEvent_clientMessage.data; if ($var3 < var$5.length && var$5[$var3] !== null) { var$6 = var$5[$var3]; var$7 = $var2.$mc4.$ingameGUI.$persistantChatGUI; var$5 = $rt_createArray(jl_Object, 0); nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, var$6, var$5); nms_GuiNewChat_func_96129_a(var$7, var$6, 0, var$7.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $par1Packet70GameEvent = new otcic_JSStdoutPrintStream; ji_PrintStream__init_0($par1Packet70GameEvent, ji_ByteArrayOutputStream__init_(32), 0); jl_System_outCache = $par1Packet70GameEvent; } $par1Packet70GameEvent = new jl_StringBuilder; $par1Packet70GameEvent.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert1($par1Packet70GameEvent, $par1Packet70GameEvent.$length0, $rt_s(482)); jl_AbstractStringBuilder_insert1($par1Packet70GameEvent, $par1Packet70GameEvent.$length0, var$6); var$7 = new jl_String; var$5 = $par1Packet70GameEvent.$buffer; var$8 = var$5.data; var$9 = $par1Packet70GameEvent.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$5.data, 0, var$9); $rt_putStdout($rt_ustr(var$7)); $rt_putStdout("\n"); } else $rt_throw(jl_IndexOutOfBoundsException__init_0()); } } if ($var3 == 1) { $par1Packet70GameEvent = $this.$worldClient; $par1Packet70GameEvent.$worldInfo.$raining = 1; $par1Packet70GameEvent.$prevRainingStrength = 0.0; $par1Packet70GameEvent.$rainingStrength = 0.0; } else if ($var3 == 2) { $par1Packet70GameEvent = $this.$worldClient; $par1Packet70GameEvent.$worldInfo.$raining = 0; $par1Packet70GameEvent.$prevRainingStrength = 1.0; $par1Packet70GameEvent.$rainingStrength = 1.0; } else if ($var3 == 3) { $par1Packet70GameEvent = $this.$mc1.$playerController; var$5 = (nms_EnumGameType_$VALUES.$clone0()).data; var$11 = var$5.length; $var3 = 0; a: { while (true) { if ($var3 >= var$11) { $var2 = nms_EnumGameType_SURVIVAL; break a; } $var2 = var$5[$var3]; if ($var2.$id6 == $var4) break; $var3 = $var3 + 1 | 0; } } $par1Packet70GameEvent.$currentGameType = $var2; nms_EnumGameType_configurePlayerCapabilities($var2, $par1Packet70GameEvent.$mc6.$thePlayer.$capabilities); } else { if ($var3 == 4) { $par1Packet70GameEvent = $this.$mc1; $var2 = nms_GuiWinGame__init_0(); $ptr = 1; continue main; } if ($var3 != 5 && $var3 == 6) { var$7 = $this.$worldClient; var$12 = $var2.$posX; var$13 = $var2.$posY + 0.11999999731779099; var$14 = $var2.$posZ; $par1Packet70GameEvent = $rt_s(3356); var$15 = 0.18000000715255737; var$16 = 0.44999998807907104; var$11 = 0; $ptr = 2; continue main; } } return; case 1: nms_Minecraft_displayGuiScreen($par1Packet70GameEvent, $var2); if ($rt_suspending()) { break main; } return; case 2: nms_WorldClient_playSound(var$7, var$12, var$13, var$14, $par1Packet70GameEvent, var$15, var$16, var$11); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet70GameEvent, $var2, $var3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_NetClientHandler_handleMapData = ($this, $par1Packet131MapData) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; a: { var$2 = $par1Packet131MapData.$itemID2; nms_Item_$callClinit(); if (var$2 != nms_Item_map.$itemID0) { if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); var$3.$out0 = var$4; var$4 = new jl_StringBuilder; jl_Object__init_(var$4); var$4.$buffer = $rt_createCharArray(16); var$3.$sb = var$4; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } var$2 = $par1Packet131MapData.$uniqueID; $par1Packet131MapData = new jl_StringBuilder; $par1Packet131MapData.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1Packet131MapData, $par1Packet131MapData.$length0, $rt_s(3357)); var$2 = var$2 << 16 >> 16; jl_AbstractStringBuilder_insert0($par1Packet131MapData, $par1Packet131MapData.$length0, var$2, 10); var$3 = new jl_String; var$5 = $par1Packet131MapData.$buffer; var$6 = var$5.data; var$7 = $par1Packet131MapData.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); $rt_putStderr($rt_ustr(var$3)); $rt_putStderr("\n"); break a; } $par1Packet131MapData = new jl_IndexOutOfBoundsException; $par1Packet131MapData.$suppressionEnabled = 1; $par1Packet131MapData.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Packet131MapData); $rt_throw($par1Packet131MapData); } var$2 = $par1Packet131MapData.$uniqueID; var$3 = $this.$mc1.$theWorld; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(2950)); var$2 = var$2 << 16 >> 16; jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$2, 10); var$9 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; var$7 = var$4.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { b: { var$9.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$4 = var$3.$mapStorage.$loadedDataMap; if (!var$9.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$9.$nativeString.length) break b; var$9.$hashCode1 = (31 * var$9.$hashCode1 | 0) + var$9.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$8 = var$9.$hashCode1; var$5 = var$4.$elementData.data; var$4 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$8) { c: { var$10 = var$4.$key; if (var$9 !== var$10) { if (var$9 === var$10) var$2 = 1; else if (!(var$10 instanceof jl_String)) var$2 = 0; else { var$10 = var$10; var$2 = var$9.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break c; } } var$2 = 1; } if (var$2) break; } var$4 = var$4.$next3; } var$4 = var$4 === null ? null : var$4.$value1; if (var$4 === null) { var$4 = new nms_MapData; var$4.$mapName = var$9; var$4.$colors = $rt_createByteArray(16384); var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$4.$playersArrayList = var$10; var$10 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$10.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$5 = var$6.data; var$10.$elementData = var$6; var$10.$loadFactor = 0.75; var$10.$threshold = var$5.length * 0.75 | 0; var$4.$playersHashMap = var$10; var$10 = new ju_LinkedHashMap; var$2 = ju_HashMap_calculateCapacity(16); var$10.$elementCount = 0; var$6 = $rt_createArray(ju_LinkedHashMap$LinkedHashMapEntry, var$2); var$5 = var$6.data; var$10.$elementData = var$6; var$10.$loadFactor = 0.75; var$10.$threshold = var$5.length * 0.75 | 0; var$10.$accessOrder = 0; var$10.$head = null; var$4.$playersVisibleOnMap = var$10; var$3 = var$3.$mapStorage; var$10 = var$3.$loadedDataMap; if (var$9 === null) { var$11 = var$10.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { d: { if (!var$9.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$9.$nativeString.length) break d; var$9.$hashCode1 = (31 * var$9.$hashCode1 | 0) + var$9.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } var$7 = var$9.$hashCode1; var$5 = var$10.$elementData.data; var$11 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$7) { e: { var$10 = var$11.$key; if (var$9 !== var$10) { if (var$9 === var$10) var$2 = 1; else if (!(var$10 instanceof jl_String)) var$2 = 0; else { var$10 = var$10; var$2 = var$9.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$2) { var$2 = 0; break e; } } var$2 = 1; } if (var$2) break; } var$11 = var$11.$next3; } } if (var$11 === null ? 0 : 1) { var$10 = var$3.$loadedDataList; var$12 = ju_HashMap_removeByKey(var$3.$loadedDataMap, var$9); var$12 = var$12 === null ? null : var$12.$value1; var$8 = var$10.$size0; var$2 = 0; f: { while (true) { if (var$2 >= var$8) { var$2 = (-1); break f; } if (var$2 < 0) break; if (var$2 >= var$10.$size0) break; var$11 = var$10.$array.data[var$2]; if (var$12 === var$11 ? 1 : var$12 !== null ? var$12.$equals(var$11) : var$11 !== null ? 0 : 1) break f; var$2 = var$2 + 1 | 0; } $par1Packet131MapData = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1Packet131MapData); $rt_throw($par1Packet131MapData); } if (var$2 >= 0) ju_ArrayList_remove(var$10, var$2); } ju_HashMap_putImpl(var$3.$loadedDataMap, var$9, var$4); var$3 = var$3.$loadedDataList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$5[var$7] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; } nms_MapData_updateMPMapData(var$4, $par1Packet131MapData.$itemData); } else { $par1Packet131MapData = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1Packet131MapData); $rt_throw($par1Packet131MapData); } } }, nms_NetClientHandler_handlePlayerInfo = ($this, $par1Packet201PlayerInfo) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; $var2 = $this.$playerInfoMap; var$3 = $par1Packet201PlayerInfo.$playerName; if (var$3 === null) { var$4 = $var2.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { if (!var$3.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = var$3.$hashCode1; var$7 = $var2.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { b: { $var2 = var$4.$key; if (var$3 !== $var2) { if (var$3 === $var2) var$5 = 1; else if (!($var2 instanceof jl_String)) var$5 = 0; else { $var2 = $var2; var$5 = var$3.$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break b; } } var$5 = 1; } if (var$5) break; } var$4 = var$4.$next3; } } $var2 = var$4 === null ? null : var$4.$value1; if ($var2 === null && $par1Packet201PlayerInfo.$isConnected) { $var2 = new nms_GuiPlayerInfo; var$3 = $par1Packet201PlayerInfo.$playerName; $var2.$name11 = var$3; var$8 = var$3.$nativeString.toLowerCase(); if (var$8 !== var$3.$nativeString) var$3 = jl_String__init_(var$8); $var2.$nameinLowerCase = var$3; ju_HashMap_putImpl($this.$playerInfoMap, $par1Packet201PlayerInfo.$playerName, $var2); var$3 = $this.$playerInfoList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$6 = var$3.$size0; var$3.$size0 = var$6 + 1 | 0; var$7[var$6] = $var2; var$3.$modCount = var$3.$modCount + 1 | 0; } if ($var2 !== null && !$par1Packet201PlayerInfo.$isConnected) { ju_HashMap_removeByKey($this.$playerInfoMap, $par1Packet201PlayerInfo.$playerName); var$3 = $this.$playerInfoList; var$9 = var$3.$size0; var$5 = 0; c: { while (true) { var$6 = $rt_compare(var$5, var$9); if (var$6 >= 0) { var$5 = (-1); break c; } if (var$5 < 0) break; if (var$6 >= 0) break; var$8 = var$3.$array.data[var$5]; if ($var2 === var$8 ? 1 : $var2 === null ? (var$8 !== null ? 0 : 1) : $var2 !== var$8 ? 0 : 1) break c; var$5 = var$5 + 1 | 0; } $par1Packet201PlayerInfo = new jl_IndexOutOfBoundsException; $par1Packet201PlayerInfo.$suppressionEnabled = 1; $par1Packet201PlayerInfo.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Packet201PlayerInfo); $rt_throw($par1Packet201PlayerInfo); } if (var$5 >= 0) ju_ArrayList_remove(var$3, var$5); } if ($par1Packet201PlayerInfo.$isConnected && $var2 !== null) $var2.$responseTime = $par1Packet201PlayerInfo.$ping0; }, nms_NetClientHandler_handleCustomPayload = ($this, $par1Packet250CustomPayload) => { let $user, $var9, $var8, $pkt, var$6, $var4, $var7, $pp, var$10, var$11, var$12, $$je; $user = $par1Packet250CustomPayload.$channel0; if ($rt_s(3358) === $user) $var9 = 1; else if (!($user instanceof jl_String)) $var9 = 0; else { $user = $user; $var9 = $rt_s(3358).$nativeString !== $user.$nativeString ? 0 : 1; } if ($var9) { $var8 = new ji_DataInputStream; $user = new ji_ByteArrayInputStream; $pkt = $par1Packet250CustomPayload.$data10; var$6 = $pkt.data.length; $user.$buf3 = $pkt; $user.$pos1 = 0; $user.$mark1 = 0; $user.$count0 = 0 + var$6 | 0; $var8.$in = $user; $var8.$buff = $rt_createByteArray(8); a: { try { $var9 = ji_DataInputStream_readInt($var8); $par1Packet250CustomPayload = $this.$mc1; $var4 = $par1Packet250CustomPayload.$currentScreen; if ($var4 !== null && $var4 instanceof nms_GuiMerchant && $var9 == $par1Packet250CustomPayload.$thePlayer.$openContainer.$windowId) (nms_GuiMerchant_getIMerchant($var4)).$setRecipes(nms_MerchantRecipeList_readRecipiesFromStream($var8)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var7 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $par1Packet250CustomPayload = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Packet250CustomPayload); $par1Packet250CustomPayload.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var8, 16); $par1Packet250CustomPayload.$sb = $var8; $par1Packet250CustomPayload.$buffer0 = $rt_createCharArray(32); $par1Packet250CustomPayload.$autoFlush = 0; $par1Packet250CustomPayload.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Packet250CustomPayload; } jl_Throwable_printStackTrace($var7, jl_System_errCache); } } else { $user = $par1Packet250CustomPayload.$channel0; if ($rt_s(3359) === $user) $var9 = 1; else if (!($user instanceof jl_String)) $var9 = 0; else { $user = $user; $var9 = $rt_s(3359).$nativeString !== $user.$nativeString ? 0 : 1; } if ($var9) nle_DefaultSkinRenderer_skinResponse($par1Packet250CustomPayload.$data10); else { $user = $par1Packet250CustomPayload.$channel0; if ($rt_s(1123) === $user) $var9 = 1; else if (!($user instanceof jl_String)) $var9 = 0; else { $user = $user; $var9 = $rt_s(1123).$nativeString !== $user.$nativeString ? 0 : 1; } if ($var9) { $var8 = new ji_DataInputStream; $user = new ji_ByteArrayInputStream; $pkt = $par1Packet250CustomPayload.$data10; var$6 = $pkt.data.length; $user.$buf3 = $pkt; $user.$pos1 = 0; $user.$mark1 = 0; $user.$count0 = 0 + var$6 | 0; $var8.$in = $user; $var8.$buff = $rt_createByteArray(8); b: { try { $var9 = ji_FilterInputStream_read($var8); $user = ji_DataInputStream_readUTF($var8); $pp = nms_World_getPlayerEntityByName($this.$mc1.$theWorld, $user); if ($pp !== null && $pp instanceof nms_EntityOtherPlayerMP) { $pkt = $pp.$skinPacket; if ($pkt !== null) nle_DefaultSkinRenderer_updateSkinLayerByte($var9, $pkt); } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var7 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $par1Packet250CustomPayload = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); jl_Object__init_($par1Packet250CustomPayload); $par1Packet250CustomPayload.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var8, 16); $par1Packet250CustomPayload.$sb = $var8; $par1Packet250CustomPayload.$buffer0 = $rt_createCharArray(32); $par1Packet250CustomPayload.$autoFlush = 0; $par1Packet250CustomPayload.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Packet250CustomPayload; } jl_Throwable_printStackTrace($var7, jl_System_errCache); } } else { $user = $par1Packet250CustomPayload.$channel0; if ($rt_s(3360) === $user) $var9 = 1; else if (!($user instanceof jl_String)) $var9 = 0; else { $user = $user; $var9 = $rt_s(3360).$nativeString !== $user.$nativeString ? 0 : 1; } if ($var9) nlea_EaglerAdapterImpl2_handleVoiceSignal($par1Packet250CustomPayload.$data10); else { $user = $par1Packet250CustomPayload.$channel0; if ($rt_s(3361) === $user) $var9 = 1; else if (!($user instanceof jl_String)) $var9 = 0; else { $user = $user; $var9 = $rt_s(3361).$nativeString !== $user.$nativeString ? 0 : 1; } if ($var9) { $var8 = $this.$mc1; $user = new jl_String; $pkt = $par1Packet250CustomPayload.$data10; var$10 = $pkt.data; jnc_StandardCharsets_$callClinit(); $par1Packet250CustomPayload = jnc_StandardCharsets_UTF_8; var$6 = var$10.length; if (var$6 >= 0 && var$6 <= (var$6 - 0 | 0)) { $var4 = new jn_ByteBufferImpl; var$11 = 0 + var$6 | 0; $var4.$mark = (-1); $var4.$capacity = var$6; $var4.$limit0 = var$6; $var4.$order = jn_ByteOrder_BIG_ENDIAN; $var4.$start = 0; $var4.$array0 = $pkt; $var4.$position0 = 0; $var4.$limit0 = var$11; $var4.$direct = 0; $var4.$readOnly0 = 0; c: { try { $par1Packet250CustomPayload = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(jnci_UTF8Charset_newDecoder($par1Packet250CustomPayload), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), $var4); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $var8 = $$je; } else { throw $$e; } } $user = new jl_AssertionError; $user.$suppressionEnabled = 1; $user.$writableStackTrace = 1; $user.$message = $rt_s(405); $user.$cause = $var8; $rt_throw($user); } var$12 = $par1Packet250CustomPayload.$position0; if (!var$12 && $par1Packet250CustomPayload.$limit0 == $par1Packet250CustomPayload.$capacity) $pkt = $par1Packet250CustomPayload.$array1; else { $pkt = $rt_createCharArray($par1Packet250CustomPayload.$limit0 - var$12 | 0); jn_CharBuffer_get($par1Packet250CustomPayload, $pkt, 0, $pkt.data.length); } $user.$nativeString = $rt_fullArrayToString($pkt.data); $var8.$reconnectAddress = $user; } else { $par1Packet250CustomPayload = new jl_IndexOutOfBoundsException; $par1Packet250CustomPayload.$suppressionEnabled = 1; $par1Packet250CustomPayload.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Packet250CustomPayload); $rt_throw($par1Packet250CustomPayload); } } } } } } }, nms_NetClientHandler_handleSetObjective = ($this, $par1Packet206SetObjective) => { let $var2, var$3, $var3, var$5, var$6, var$7, var$8, var$9; $var2 = $this.$worldClient.$worldScoreboard; if (!$par1Packet206SetObjective.$change) { var$3 = $par1Packet206SetObjective.$objectiveName; nms_ScoreObjectiveCriteria_$callClinit(); (nms_Scoreboard_func_96535_a($var2, var$3, nms_ScoreObjectiveCriteria_field_96641_b)).$displayName = $par1Packet206SetObjective.$objectiveDisplayName; } else { $var3 = $par1Packet206SetObjective.$objectiveName; var$3 = $var2.$scoreObjectives; if ($var3 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { if (!$var3.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $var3.$nativeString.length) break a; $var3.$hashCode1 = (31 * $var3.$hashCode1 | 0) + $var3.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $var3.$hashCode1; var$7 = var$3.$elementData.data; var$3 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$6) { b: { var$8 = var$3.$key; if ($var3 !== var$8) { if ($var3 === var$8) var$9 = 1; else if (!(var$8 instanceof jl_String)) var$9 = 0; else { var$8 = var$8; var$9 = $var3.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break b; } } var$9 = 1; } if (var$9) break; } var$3 = var$3.$next3; } } $var3 = var$3 === null ? null : var$3.$value1; var$9 = $par1Packet206SetObjective.$change; if (var$9 == 1) nms_Scoreboard_func_96519_k($var2, $var3); else if (var$9 == 2) $var3.$displayName = $par1Packet206SetObjective.$objectiveDisplayName; } }, nms_NetClientHandler_handleSetPlayerTeam = ($this, $par1Packet209SetPlayerTeam) => { let $var2, var$3, $var3, var$5, var$6, $var5, $var4$index, var$9, $var4$index_0, var$11, var$12, var$13, var$14, var$15, var$16; $var2 = $this.$worldClient.$worldScoreboard; if ($par1Packet209SetPlayerTeam.$mode4) { var$3 = $par1Packet209SetPlayerTeam.$teamName; $var3 = $var2.$field_96542_e; if (var$3 !== null) { a: { if (!var$3.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = $var3.$elementData.data; $var3 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$5) { b: { $var5 = $var3.$key; if (var$3 !== $var5) { if (var$3 !== $var5) { if ($var5 instanceof jl_String) { $var5 = $var5; $var4$index = var$3.$nativeString !== $var5.$nativeString ? 0 : 1; } else $var4$index = 0; } else $var4$index = 1; if (!$var4$index) { $var4$index = 0; break b; } } $var4$index = 1; } if ($var4$index) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; } else { var$3 = $par1Packet209SetPlayerTeam.$teamName; $var3 = $var2.$field_96542_e; if (var$3 !== null) { c: { if (!var$3.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$3.$nativeString.length) break c; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = $var3.$elementData.data; $var3 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$5) { d: { $var5 = $var3.$key; if (var$3 !== $var5) { if (var$3 !== $var5) { if ($var5 instanceof jl_String) { $var5 = $var5; $var4$index = var$3.$nativeString !== $var5.$nativeString ? 0 : 1; } else $var4$index = 0; } else $var4$index = 1; if (!$var4$index) { $var4$index = 0; break d; } } $var4$index = 1; } if ($var4$index) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; if ($var3 !== null) { $par1Packet209SetPlayerTeam = new jl_IllegalArgumentException; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $rt_s(3362)); var$5 = $var3.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($var3, var$5, var$3); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $rt_s(3363)); var$3 = new jl_String; var$6 = $var3.$buffer; var$9 = var$6.data; $var4$index = $var3.$length0; $var4$index_0 = var$9.length; if ($var4$index >= 0 && $var4$index <= ($var4$index_0 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $var4$index); $par1Packet209SetPlayerTeam.$suppressionEnabled = 1; $par1Packet209SetPlayerTeam.$writableStackTrace = 1; $par1Packet209SetPlayerTeam.$message = var$3; $rt_throw($par1Packet209SetPlayerTeam); } $par1Packet209SetPlayerTeam = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1Packet209SetPlayerTeam); $rt_throw($par1Packet209SetPlayerTeam); } $var3 = new nms_ScorePlayerTeam; $var5 = new ju_HashSet; var$11 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$11.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$6 = var$9.data; var$11.$elementData = var$9; var$11.$loadFactor = 0.75; var$11.$threshold = var$6.length * 0.75 | 0; $var5.$backingMap = var$11; $var3.$membershipSet = $var5; $var3.$field_96674_e = $rt_s(18); $var3.$colorSuffix = $rt_s(18); $var3.$allowFriendlyFire = 1; $var3.$field_98301_h = 1; $var3.$theScoreboard1 = $var2; $var3.$field_96675_b = var$3; $var3.$field_96673_d = var$3; ju_HashMap_putImpl($var2.$field_96542_e, var$3, $var3); } var$5 = $par1Packet209SetPlayerTeam.$mode4; if (!(var$5 && var$5 != 2)) { var$3 = $par1Packet209SetPlayerTeam.$teamDisplayName; if (var$3 === null) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(3364); $rt_throw(var$3); } $var3.$field_96673_d = var$3; var$3 = $par1Packet209SetPlayerTeam.$teamPrefix; if (var$3 === null) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(3365); $rt_throw(var$3); } $var3.$field_96674_e = var$3; var$3 = $par1Packet209SetPlayerTeam.$teamSuffix; if (var$3 === null) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(3366); $rt_throw(var$3); } $var3.$colorSuffix = var$3; $var4$index = $par1Packet209SetPlayerTeam.$friendlyFire; $var3.$allowFriendlyFire = ($var4$index & 1) <= 0 ? 0 : 1; $var3.$field_98301_h = ($var4$index & 2) <= 0 ? 0 : 1; } e: { if (!(var$5 && var$5 != 3)) { var$3 = $par1Packet209SetPlayerTeam.$playerNames; $var4$index = 0; var$12 = var$3.$modCount; var$13 = var$3.$size(); while (true) { if (!($var4$index >= var$13 ? 0 : 1)) break e; if (var$12 < var$3.$modCount) break; $var4$index_0 = $var4$index + 1 | 0; $var5 = var$3.$get($var4$index); var$11 = $var2.$teamMemberships; if ($var5 === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { f: { if (!$var5.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $var5.$nativeString.length) break f; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$14 = $var5.$hashCode1; var$6 = var$11.$elementData.data; var$11 = var$6[var$14 & (var$6.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$14) { g: { var$15 = var$11.$key; if ($var5 !== var$15) { if ($var5 === var$15) var$5 = 1; else if (!(var$15 instanceof jl_String)) var$5 = 0; else { var$15 = var$15; var$5 = $var5.$nativeString !== var$15.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break g; } } var$5 = 1; } if (var$5) break; } var$11 = var$11.$next3; } } var$11 = var$11 === null ? null : var$11.$value1; if (var$11 !== null) { var$11 = $var2.$teamMemberships; if ($var5 === null) { var$16 = var$11.$elementData.data[0]; while (var$16 !== null && var$16.$key !== null) { var$16 = var$16.$next3; } } else { h: { if (!$var5.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $var5.$nativeString.length) break h; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } $var4$index = $var5.$hashCode1; var$6 = var$11.$elementData.data; var$16 = var$6[$var4$index & (var$6.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == $var4$index) { i: { var$11 = var$16.$key; if ($var5 !== var$11) { if ($var5 === var$11) var$5 = 1; else if (!(var$11 instanceof jl_String)) var$5 = 0; else { var$11 = var$11; var$5 = $var5.$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break i; } } var$5 = 1; } if (var$5) break; } var$16 = var$16.$next3; } } var$11 = var$16 === null ? null : var$16.$value1; if (var$11 !== null) { var$15 = $var2.$teamMemberships; if ($var5 === null) { var$15 = var$15.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { j: { if (!$var5.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $var5.$nativeString.length) break j; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = $var5.$hashCode1; var$6 = var$15.$elementData.data; var$15 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$5) { var$16 = var$15.$key; if ($var5 !== var$16 && !jl_String_equals($var5, var$16) ? 0 : 1) break; } var$15 = var$15.$next3; } } if ((var$15 === null ? null : var$15.$value1) !== var$11) { $par1Packet209SetPlayerTeam = new jl_IllegalStateException; $var5 = var$11.$field_96675_b; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0(var$3, var$3.$length0, jl_String_toString($rt_s(3367))); jl_StringBuilder_insert0(var$3, var$3.$length0, $var5 === null ? $rt_s(1) : jl_String_toString($var5)); jl_StringBuilder_insert0(var$3, var$3.$length0, jl_String_toString($rt_s(3368))); $var3 = new jl_String; var$6 = var$3.$buffer; var$9 = var$6.data; $var4$index = var$3.$length0; $var4$index_0 = var$9.length; if ($var4$index >= 0 && $var4$index <= ($var4$index_0 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$6.data, 0, $var4$index); $par1Packet209SetPlayerTeam.$suppressionEnabled = 1; $par1Packet209SetPlayerTeam.$writableStackTrace = 1; $par1Packet209SetPlayerTeam.$message = $var3; $rt_throw($par1Packet209SetPlayerTeam); } $par1Packet209SetPlayerTeam = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($par1Packet209SetPlayerTeam); $rt_throw($par1Packet209SetPlayerTeam); } ju_HashMap_removeByKey($var2.$teamMemberships, $var5); var$11 = ju_HashMap_removeByKey(var$11.$membershipSet.$backingMap, $var5); } } ju_HashMap_putImpl($var2.$teamMemberships, $var5, $var3); var$15 = $var3.$membershipSet; ju_HashMap_putImpl(var$15.$backingMap, $var5, var$15); $var4$index = $var4$index_0; } $par1Packet209SetPlayerTeam = new ju_ConcurrentModificationException; $par1Packet209SetPlayerTeam.$suppressionEnabled = 1; $par1Packet209SetPlayerTeam.$writableStackTrace = 1; $rt_throw($par1Packet209SetPlayerTeam); } } k: { if ($par1Packet209SetPlayerTeam.$mode4 == 4) { var$3 = $par1Packet209SetPlayerTeam.$playerNames; $var4$index = 0; var$12 = var$3.$modCount; var$13 = var$3.$size(); while (true) { if (!($var4$index >= var$13 ? 0 : 1)) break k; if (var$12 < var$3.$modCount) break; $var4$index_0 = $var4$index + 1 | 0; $var5 = var$3.$get($var4$index); var$11 = $var2.$teamMemberships; if ($var5 === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { l: { if (!$var5.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $var5.$nativeString.length) break l; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$14 = $var5.$hashCode1; var$6 = var$11.$elementData.data; var$11 = var$6[var$14 & (var$6.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$14) { m: { var$15 = var$11.$key; if ($var5 !== var$15) { if ($var5 === var$15) var$5 = 1; else if (!(var$15 instanceof jl_String)) var$5 = 0; else { var$15 = var$15; var$5 = $var5.$nativeString !== var$15.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break m; } } var$5 = 1; } if (var$5) break; } var$11 = var$11.$next3; } } if ((var$11 === null ? null : var$11.$value1) !== $var3) { $par1Packet209SetPlayerTeam = new jl_IllegalStateException; $var5 = $var3.$field_96675_b; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3367)); var$5 = var$3.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$5, $var5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3368)); $var3 = new jl_String; var$6 = var$3.$buffer; var$9 = var$6.data; $var4$index = var$3.$length0; $var4$index_0 = var$9.length; if ($var4$index >= 0 && $var4$index <= ($var4$index_0 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$6.data, 0, $var4$index); $par1Packet209SetPlayerTeam.$suppressionEnabled = 1; $par1Packet209SetPlayerTeam.$writableStackTrace = 1; $par1Packet209SetPlayerTeam.$message = $var3; $rt_throw($par1Packet209SetPlayerTeam); } $par1Packet209SetPlayerTeam = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1Packet209SetPlayerTeam); $rt_throw($par1Packet209SetPlayerTeam); } ju_HashMap_removeByKey($var2.$teamMemberships, $var5); $var5 = ju_HashMap_removeByKey($var3.$membershipSet.$backingMap, $var5); $var4$index = $var4$index_0; } $par1Packet209SetPlayerTeam = new ju_ConcurrentModificationException; $par1Packet209SetPlayerTeam.$suppressionEnabled = 1; $par1Packet209SetPlayerTeam.$writableStackTrace = 1; $rt_throw($par1Packet209SetPlayerTeam); } } if ($par1Packet209SetPlayerTeam.$mode4 == 1) { ju_HashMap_removeByKey($var2.$field_96542_e, $var3.$field_96675_b); $par1Packet209SetPlayerTeam = $var3.$membershipSet.$backingMap; if ($par1Packet209SetPlayerTeam.$cachedKeySet === null) { var$3 = new ju_HashMap$1; var$3.$this$0 = $par1Packet209SetPlayerTeam; $par1Packet209SetPlayerTeam.$cachedKeySet = var$3; } $var3 = $par1Packet209SetPlayerTeam.$cachedKeySet.$iterator(); while ($var3.$hasNext()) { $par1Packet209SetPlayerTeam = $var3.$next(); ju_HashMap_removeByKey($var2.$teamMemberships, $par1Packet209SetPlayerTeam); } } }, nms_NetClientHandler_handleWorldParticles = ($this, $par1Packet63WorldParticles) => { let $var2, $var3, $var5, $var7, $var9, $var11, $var13, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$par1Packet63WorldParticles = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = 0; while ($var2 < $par1Packet63WorldParticles.$quantity) { $var3 = nle_EaglercraftRandom_nextGaussian($this.$rand1) * $par1Packet63WorldParticles.$offsetX1; $var5 = nle_EaglercraftRandom_nextGaussian($this.$rand1) * $par1Packet63WorldParticles.$offsetY1; $var7 = nle_EaglercraftRandom_nextGaussian($this.$rand1) * $par1Packet63WorldParticles.$offsetZ0; $var9 = nle_EaglercraftRandom_nextGaussian($this.$rand1) * $par1Packet63WorldParticles.$speed0; $var11 = nle_EaglercraftRandom_nextGaussian($this.$rand1) * $par1Packet63WorldParticles.$speed0; $var13 = nle_EaglercraftRandom_nextGaussian($this.$rand1) * $par1Packet63WorldParticles.$speed0; var$9 = $this.$worldClient; var$10 = $par1Packet63WorldParticles.$particleName0; $var3 = $par1Packet63WorldParticles.$posX7 + $var3; var$11 = $par1Packet63WorldParticles.$posY7 + $var5; $var7 = $par1Packet63WorldParticles.$posZ6 + $var7; var$12 = 0; var$13 = var$9.$worldAccesses; var$14 = $rt_compare(var$12, var$13.$size0); if (var$14 < 0) { if (var$12 >= 0 && var$14 < 0) { var$13 = var$13.$array.data[var$12]; $ptr = 1; continue main; } $par1Packet63WorldParticles = new jl_IndexOutOfBoundsException; $par1Packet63WorldParticles.$suppressionEnabled = 1; $par1Packet63WorldParticles.$writableStackTrace = 1; $rt_throw($par1Packet63WorldParticles); } $var2 = $var2 + 1 | 0; } return; case 1: nms_RenderGlobal_doSpawnParticle(var$13, var$10, $var3, var$11, $var7, $var9, $var11, $var13); if ($rt_suspending()) { break main; } var$12 = var$12 + 1 | 0; while (true) { var$13 = var$9.$worldAccesses; var$14 = $rt_compare(var$12, var$13.$size0); if (var$14 < 0) { if (var$12 >= 0 && var$14 < 0) { var$13 = var$13.$array.data[var$12]; continue main; } $par1Packet63WorldParticles = new jl_IndexOutOfBoundsException; $par1Packet63WorldParticles.$suppressionEnabled = 1; $par1Packet63WorldParticles.$writableStackTrace = 1; $rt_throw($par1Packet63WorldParticles); } $var2 = $var2 + 1 | 0; if ($var2 >= $par1Packet63WorldParticles.$quantity) break; $var3 = nle_EaglercraftRandom_nextGaussian($this.$rand1) * $par1Packet63WorldParticles.$offsetX1; $var5 = nle_EaglercraftRandom_nextGaussian($this.$rand1) * $par1Packet63WorldParticles.$offsetY1; $var7 = nle_EaglercraftRandom_nextGaussian($this.$rand1) * $par1Packet63WorldParticles.$offsetZ0; $var9 = nle_EaglercraftRandom_nextGaussian($this.$rand1) * $par1Packet63WorldParticles.$speed0; $var11 = nle_EaglercraftRandom_nextGaussian($this.$rand1) * $par1Packet63WorldParticles.$speed0; $var13 = nle_EaglercraftRandom_nextGaussian($this.$rand1) * $par1Packet63WorldParticles.$speed0; var$9 = $this.$worldClient; var$10 = $par1Packet63WorldParticles.$particleName0; $var3 = $par1Packet63WorldParticles.$posX7 + $var3; var$11 = $par1Packet63WorldParticles.$posY7 + $var5; $var7 = $par1Packet63WorldParticles.$posZ6 + $var7; var$12 = 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Packet63WorldParticles, $var2, $var3, $var5, $var7, $var9, $var11, $var13, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_NetClientHandler_func_110773_a = ($this, $par1Packet44UpdateAttributes) => { let $var4$index, $var2, $var3, $var7$index, $var7$index_0, var$7, $var5, var$9, var$10, var$11, var$12, var$13, $var4$index_0, var$15, var$16, $var8, $var7$index_1, var$19, var$20; $var4$index = $par1Packet44UpdateAttributes.$field_111005_a; $var2 = $this.$mc1.$thePlayer; if ($var4$index != $var2.$entityId) { $var3 = $this.$worldClient; $var2 = $var3.$mc2.$thePlayer; if ($var4$index != $var2.$entityId) { $var2 = $var3.$entityHashSet; $var7$index = $var4$index ^ ($var4$index >>> 20 | 0) ^ ($var4$index >>> 12 | 0); $var7$index_0 = $var7$index ^ ($var7$index >>> 7 | 0) ^ ($var7$index >>> 4 | 0); var$7 = $var2.$slots.data; $var2 = var$7[$var7$index_0 & (var$7.length - 1 | 0)]; a: { while ($var2 !== null) { if ($var2.$hashEntry == $var4$index) { $var2 = $var2.$valueEntry; break a; } $var2 = $var2.$nextEntry; } $var2 = null; } $var2 = $var2; } } b: { if ($var2 !== null) { if (!($var2 instanceof nms_EntityLivingBase)) { $par1Packet44UpdateAttributes = new jl_IllegalStateException; $var5 = $var2.$toString(); $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $rt_s(3369)); $var7$index = $var2.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var2, $var7$index, $var5); $var4$index = $var2.$length0; jl_AbstractStringBuilder_insertSpace($var2, $var4$index, $var4$index + 1 | 0); var$7 = $var2.$buffer; var$9 = var$7.data; var$9[$var4$index] = 41; $var3 = new jl_String; $var4$index = $var2.$length0; var$10 = var$9.length; if ($var4$index >= 0 && $var4$index <= (var$10 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$7.data, 0, $var4$index); $par1Packet44UpdateAttributes.$suppressionEnabled = 1; $par1Packet44UpdateAttributes.$writableStackTrace = 1; $par1Packet44UpdateAttributes.$message = $var3; $rt_throw($par1Packet44UpdateAttributes); } $par1Packet44UpdateAttributes = new jl_IndexOutOfBoundsException; $par1Packet44UpdateAttributes.$suppressionEnabled = 1; $par1Packet44UpdateAttributes.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Packet44UpdateAttributes); $rt_throw($par1Packet44UpdateAttributes); } $var2 = $var2; if ($var2.$attributeMap === null) $var2.$attributeMap = nms_ServersideAttributeMap__init_(); $var3 = $var2.$attributeMap; var$11 = $par1Packet44UpdateAttributes.$field_111004_b; $var4$index = 0; var$12 = var$11.$modCount; var$13 = var$11.$size(); while (true) { if (!($var4$index >= var$13 ? 0 : 1)) break b; if (var$12 < var$11.$modCount) { $par1Packet44UpdateAttributes = new ju_ConcurrentModificationException; $par1Packet44UpdateAttributes.$suppressionEnabled = 1; $par1Packet44UpdateAttributes.$writableStackTrace = 1; $rt_throw($par1Packet44UpdateAttributes); } $var4$index_0 = $var4$index + 1 | 0; $var5 = var$11.$get($var4$index); var$15 = $var5.$field_142043_b; $par1Packet44UpdateAttributes = $var3.$attributesByName.$internalMap; $var2 = var$15.$nativeString.toLowerCase(); $par1Packet44UpdateAttributes = ju_LinkedHashMap_getOrDefault($par1Packet44UpdateAttributes, $var2 === var$15.$nativeString ? var$15 : jl_String__init_($var2), null); if ($par1Packet44UpdateAttributes === null) { $par1Packet44UpdateAttributes = $var3.$field_111163_c.$internalMap; $var2 = var$15.$nativeString.toLowerCase(); if ($var2 !== var$15.$nativeString) var$15 = jl_String__init_($var2); $par1Packet44UpdateAttributes = ju_LinkedHashMap_getOrDefault($par1Packet44UpdateAttributes, var$15, null); } if ($par1Packet44UpdateAttributes === null) $par1Packet44UpdateAttributes = nms_ServersideAttributeMap_func_111150_b($var3, nms_RangedAttribute__init_($var5.$field_142043_b, 0.0, 2.2250738585072014E-308, 1.7976931348623157E308)); var$16 = $var5.$field_142044_c; if (var$16 !== $par1Packet44UpdateAttributes.$baseValue) { $par1Packet44UpdateAttributes.$baseValue = var$16; $par1Packet44UpdateAttributes.$field_111133_g = 1; $var2 = $par1Packet44UpdateAttributes.$field_111138_a; if ($par1Packet44UpdateAttributes.$field_111136_b.$shouldWatch) { $var2 = $var2.$field_111162_d; ju_HashMap_putImpl($var2.$backingMap, $par1Packet44UpdateAttributes, $var2); } } $var8 = new ju_HashSet; $var2 = new ju_HashMap; $var7$index = ju_HashMap_calculateCapacity(16); $var2.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, $var7$index); var$7 = var$9.data; $var2.$elementData = var$9; $var2.$loadFactor = 0.75; $var2.$threshold = var$7.length * 0.75 | 0; $var8.$backingMap = $var2; $var7$index_1 = 0; while ($var7$index_1 < 3) { $var2 = $par1Packet44UpdateAttributes.$field_111137_c; if ($var7$index_1 >= (-128) && $var7$index_1 <= 127) { jl_Integer_ensureIntegerCache(); var$15 = jl_Integer_integerCache.data[$var7$index_1 + 128 | 0]; } else { var$15 = new jl_Integer; var$15.$value0 = $var7$index_1; } if (var$15 === null) { var$19 = $var2.$elementData.data[0]; while (var$19 !== null && var$19.$key !== null) { var$19 = var$19.$next3; } } else { $var4$index = var$15.$value0; var$7 = $var2.$elementData.data; var$19 = var$7[$var4$index & (var$7.length - 1 | 0)]; while (var$19 !== null) { if (var$19.$origKeyHash == $var4$index) { $var2 = var$19.$key; if (var$15 !== $var2 && !(var$15 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == $var4$index ? 1 : 0) ? 0 : 1) break; } var$19 = var$19.$next3; } } var$15 = (var$19 === null ? null : var$19.$value1).$iterator(); while (var$15.$hasNext()) { var$19 = var$15.$next(); if (!(ju_HashMap_putImpl($var8.$backingMap, var$19, $var8) !== null ? 0 : 1)) continue; } $var7$index_1 = $var7$index_1 + 1 | 0; } var$15 = new ju_ArrayList; $var8 = $var8.$backingMap; $var7$index = $var8.$elementCount; if ($var7$index < 0) { $par1Packet44UpdateAttributes = new jl_IllegalArgumentException; $par1Packet44UpdateAttributes.$suppressionEnabled = 1; $par1Packet44UpdateAttributes.$writableStackTrace = 1; $rt_throw($par1Packet44UpdateAttributes); } var$15.$array = $rt_createArray(jl_Object, $var7$index); if ($var8.$cachedKeySet === null) { $var2 = new ju_HashMap$1; $var2.$this$0 = $var8; jl_Object__init_($var2); $var8.$cachedKeySet = $var2; } $var2 = $var8.$cachedKeySet.$iterator(); $var7$index = 0; while (true) { var$7 = var$15.$array.data; $var4$index = var$7.length; if ($var7$index >= $var4$index) break; var$7[$var7$index] = $var2.$next(); $var7$index = $var7$index + 1 | 0; } var$15.$size0 = $var4$index; $var7$index_1 = var$15.$modCount; var$20 = var$15.$size(); $var7$index = 0; while ($var7$index >= var$20 ? 0 : 1) { if ($var7$index_1 < var$15.$modCount) { $par1Packet44UpdateAttributes = new ju_ConcurrentModificationException; $par1Packet44UpdateAttributes.$suppressionEnabled = 1; $par1Packet44UpdateAttributes.$writableStackTrace = 1; $rt_throw($par1Packet44UpdateAttributes); } $var4$index = $var7$index + 1 | 0; nms_ModifiableAttributeInstance_removeModifier($par1Packet44UpdateAttributes, var$15.$get($var7$index)); $var7$index = $var4$index; } $var2 = $var5.$field_142042_d; $var4$index = $var2.$modCount; var$20 = $var2.$size(); $var7$index = 0; while ($var7$index >= var$20 ? 0 : 1) { if ($var4$index < $var2.$modCount) { $par1Packet44UpdateAttributes = new ju_ConcurrentModificationException; $par1Packet44UpdateAttributes.$suppressionEnabled = 1; $par1Packet44UpdateAttributes.$writableStackTrace = 1; $rt_throw($par1Packet44UpdateAttributes); } $var7$index_1 = $var7$index + 1 | 0; nms_ModifiableAttributeInstance_applyModifier($par1Packet44UpdateAttributes, $var2.$get($var7$index)); $var7$index = $var7$index_1; } $var4$index = $var4$index_0; } } } }, nms_NetClientHandler_getNetManager = $this => { return $this.$netManager; }; function nms_GuiPlayerInfo() { let a = this; jl_Object.call(a); a.$name11 = null; a.$nameinLowerCase = null; a.$responseTime = 0; } let nms_Team = $rt_classWithoutFields(); function nms_ScorePlayerTeam() { let a = this; nms_Team.call(a); a.$theScoreboard1 = null; a.$field_96675_b = null; a.$membershipSet = null; a.$field_96673_d = null; a.$field_96674_e = null; a.$colorSuffix = null; a.$allowFriendlyFire = 0; a.$field_98301_h = 0; } let nms_ScorePlayerTeam_formatPlayerName = ($par0Team, $par1Str) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { if ($par0Team !== null) { var$3 = $par0Team.$field_96674_e; var$4 = $par0Team.$colorSuffix; $par0Team = new jl_StringBuilder; $par0Team.$buffer = $rt_createCharArray(16); var$5 = $par0Team.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($par0Team, var$5, var$3); var$5 = $par0Team.$length0; if ($par1Str === null) $par1Str = $rt_s(1); jl_AbstractStringBuilder_insert($par0Team, var$5, $par1Str); var$5 = $par0Team.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert($par0Team, var$5, var$4); $par1Str = new jl_String; var$6 = $par0Team.$buffer; var$7 = var$6.data; var$8 = $par0Team.$length0; var$9 = var$7.length; if (var$8 < 0) break a; if (var$8 > (var$9 - 0 | 0)) break a; $par1Str.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); } return $par1Str; } $par0Team = new jl_IndexOutOfBoundsException; $par0Team.$suppressionEnabled = 1; $par0Team.$writableStackTrace = 1; $rt_throw($par0Team); }; function nms_StitchHolder() { let a = this; jl_Object.call(a); a.$theTexture = null; a.$width2 = 0; a.$height3 = 0; a.$rotated = 0; a.$scaleFactor = 0.0; } let nms_StitchHolder_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$width2; var$2 = $this.$height3; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3370)); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$1, 10); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3371)); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$2, 10); var$2 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$2, var$2 + 1 | 0); var$4 = var$3.$buffer; var$5 = var$4.data; var$5[var$2] = 125; var$6 = new jl_String; var$2 = var$3.$length0; var$7 = var$5.length; if (var$2 >= 0 && var$2 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, var$2); return var$6; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); }, nms_StitchHolder_compareToStitchHolder = ($this, $par1StitchHolder) => { let var$2, $var2, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$rotated; if (!var$2) { $var2 = $this.$height3 * $this.$scaleFactor | 0; var$4 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } else { $var2 = $this.$width2 * $this.$scaleFactor | 0; var$4 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } var$5 = $par1StitchHolder.$rotated; if (!var$5) { $var2 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var2 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } else { $var2 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var2 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } if (var$4 != $var2) { if (!var$2) { $var2 = $this.$height3 * $this.$scaleFactor | 0; var$4 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } else { $var2 = $this.$width2 * $this.$scaleFactor | 0; var$4 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } if (!var$5) { $var2 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var2 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } else { $var2 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var2 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } $var2 = var$4 >= $var2 ? (-1) : 1; } else { if (!var$2) { $var2 = $this.$width2 * $this.$scaleFactor | 0; var$6 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } else { $var2 = $this.$height3 * $this.$scaleFactor | 0; var$6 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } if (!var$5) { $var2 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var2 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } else { $var2 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var2 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } if (var$6 == $var2) { var$7 = $this.$theTexture.$textureName1; if (var$7 === null) return $par1StitchHolder.$theTexture.$textureName1 !== null ? (-1) : 0; a: { b: { c: { $par1StitchHolder = $par1StitchHolder.$theTexture.$textureName1; if (var$7 === $par1StitchHolder) $var2 = 0; else { var$4 = var$7.$nativeString.length; var$6 = $par1StitchHolder.$nativeString.length; if (var$4 < var$6) var$6 = var$4; var$4 = 0; while (true) { if (var$4 >= var$6) { $var2 = var$7.$nativeString.length - $par1StitchHolder.$nativeString.length | 0; break c; } if (var$4 < 0) break a; if (var$4 >= var$7.$nativeString.length) break a; var$8 = var$7.$nativeString.charCodeAt(var$4); if (var$4 < 0) break b; if (var$4 >= $par1StitchHolder.$nativeString.length) break b; $var2 = var$8 - $par1StitchHolder.$nativeString.charCodeAt(var$4) | 0; if ($var2) break; var$4 = var$4 + 1 | 0; } } } return $var2; } $par1StitchHolder = new jl_StringIndexOutOfBoundsException; $par1StitchHolder.$suppressionEnabled = 1; $par1StitchHolder.$writableStackTrace = 1; $rt_throw($par1StitchHolder); } $par1StitchHolder = new jl_StringIndexOutOfBoundsException; $par1StitchHolder.$suppressionEnabled = 1; $par1StitchHolder.$writableStackTrace = 1; $rt_throw($par1StitchHolder); } if (!var$2) { $var2 = $this.$width2 * $this.$scaleFactor | 0; var$4 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } else { $var2 = $this.$height3 * $this.$scaleFactor | 0; var$4 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } if (!var$5) { $var2 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var2 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } else { $var2 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var2 = (($var2 >> 0) + ($var2 & 0 ? 1 : 0) | 0) << 0; } $var2 = var$4 >= $var2 ? (-1) : 1; } return $var2; }, nms_StitchHolder_compareTo = ($this, $par1Obj) => { return nms_StitchHolder_compareToStitchHolder($this, $par1Obj); }; function nms_Texture() { let a = this; jl_Object.call(a); a.$glTextureId = 0; a.$textureId = 0; a.$textureType0 = 0; a.$width3 = 0; a.$height4 = 0; a.$textureDepth = 0; a.$textureFormat = 0; a.$textureTarget = 0; a.$textureMinFilter = 0; a.$textureMagFilter = 0; a.$textureWrap = 0; a.$mipmapActive = 0; a.$textureName1 = null; a.$textureRect = null; a.$transferred = 0; a.$autoCreate = 0; a.$textureNotModified = 0; a.$textureData = null; } let nms_Texture__init_0 = ($this, $par1Str, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9) => { let var$10, var$11; $this.$textureName1 = $par1Str; $this.$textureType0 = $par2; $this.$width3 = $par3; $this.$height4 = $par4; $this.$textureDepth = $par5; $this.$textureFormat = $par7; $this.$textureMinFilter = $par8; $this.$textureMagFilter = $par9; $this.$textureWrap = $par6; $par1Str = new nms_Rect2i; $par1Str.$rectX = 0; $par1Str.$rectY = 0; $par1Str.$rectWidth = $par3; $par1Str.$rectHeight = $par4; $this.$textureRect = $par1Str; $this.$textureTarget = 3553; $this.$mipmapActive = 0; if ($par2 == 2) $this.$glTextureId = (-1); else { nleg_EaglerAdapterGL30_$callClinit(); $par1Str = nleg_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); var$10 = new nlea_EaglerAdapterImpl2$TextureGL; var$11 = nlea_EaglerAdapterImpl2_webgl.createTexture(); var$10.$w1 = (-1); var$10.$h0 = (-1); var$10.$nearest = 1; var$10.$anisotropic = 0; var$10.$obj1 = var$11; $par3 = nleg_GLObjectMap_register($par1Str, var$10); $this.$glTextureId = $par3; nleg_EaglerAdapterGL30_glBindTexture($this.$textureTarget, $par3); nleg_EaglerAdapterGL30_glTexParameteri($this.$textureTarget, 10241, $par8); nleg_EaglerAdapterGL30_glTexParameteri($this.$textureTarget, 10240, $par9); nleg_EaglerAdapterGL30_glTexParameteri($this.$textureTarget, 10242, $par6); nleg_EaglerAdapterGL30_glTexParameteri($this.$textureTarget, 10243, $par6); } $par1Str = nms_TextureManager_instance; $par3 = $par1Str.$nextTextureID; $par1Str.$nextTextureID = $par3 + 1 | 0; $this.$textureId = $par3; }, nms_Texture__init_2 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8) => { let var_9 = new nms_Texture(); nms_Texture__init_0(var_9, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8); return var_9; }, nms_Texture__init_1 = ($this, $par1Str, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9, $par10BufferedImage) => { let $var11, var$12, $var12, var$14; nms_Texture__init_0($this, $par1Str, $par2, $par3, $par4, $par5, $par6, $par7, $par8, $par9); if ($par10BufferedImage !== null) { $this.$transferred = 1; nms_Texture_transferFromImage($this, $par10BufferedImage); if ($par2 != 2) { nms_Texture_uploadTexture($this); $this.$autoCreate = 0; } } else if ($par3 != (-1) && $par4 != (-1)) { $var11 = $rt_createByteArray($rt_imul($rt_imul($par3, $par4), $par5) * 4 | 0); var$12 = $var11.data; $var12 = 0; $par2 = var$12.length; while ($var12 < $par2) { var$12[$var12] = 0; $var12 = $var12 + 1 | 0; } a: { nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_isWebGL) { var$12 = $rt_createByteArray($par2); $par4 = var$12.data.length; if ($par4 >= 0 && $par4 <= ($par4 - 0 | 0)) { $par10BufferedImage = new jn_ByteBufferImpl; $par7 = 0 + $par4 | 0; $par10BufferedImage.$mark = (-1); $par10BufferedImage.$capacity = $par4; $par10BufferedImage.$limit0 = $par4; $par10BufferedImage.$order = jn_ByteOrder_BIG_ENDIAN; $par10BufferedImage.$start = 0; $par10BufferedImage.$array0 = var$12; $par10BufferedImage.$position0 = 0; $par10BufferedImage.$limit0 = $par7; $par10BufferedImage.$direct = 0; $par10BufferedImage.$readOnly0 = 0; break a; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } if ($par2 < 0) { $par1Str = new jl_IllegalArgumentException; $par10BufferedImage = new jl_StringBuilder; $par10BufferedImage.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par10BufferedImage, $par10BufferedImage.$length0, $rt_s(760)); jl_AbstractStringBuilder_insert0($par10BufferedImage, $par10BufferedImage.$length0, $par2, 10); var$14 = new jl_String; $var11 = $par10BufferedImage.$buffer; var$12 = $var11.data; $par3 = $par10BufferedImage.$length0; $par4 = var$12.length; if ($par3 >= 0 && $par3 <= ($par4 - 0 | 0)) { var$14.$nativeString = $rt_charArrayToString($var11.data, 0, $par3); $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $par1Str.$message = var$14; $rt_throw($par1Str); } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $par10BufferedImage = new jn_ByteBufferImpl; var$12 = $rt_createByteArray($par2); $par10BufferedImage.$mark = (-1); $par10BufferedImage.$capacity = $par2; $par10BufferedImage.$limit0 = $par2; $par10BufferedImage.$order = jn_ByteOrder_BIG_ENDIAN; $par10BufferedImage.$start = 0; $par10BufferedImage.$array0 = var$12; $par10BufferedImage.$position0 = 0; $par10BufferedImage.$limit0 = $par2; $par10BufferedImage.$direct = 1; $par10BufferedImage.$readOnly0 = 0; $par10BufferedImage.$order = jn_ByteOrder_nativeOrder(); } $this.$textureData = $par10BufferedImage; $par10BufferedImage.$position0 = 0; $par10BufferedImage.$limit0 = $par10BufferedImage.$capacity; $par10BufferedImage.$mark = (-1); jn_ByteBuffer_put($par10BufferedImage, $var11, 0, $par2); $par1Str = $this.$textureData; jn_Buffer_position($par1Str, 0); jn_Buffer_limit($par1Str, $par2); if ($this.$autoCreate) nms_Texture_uploadTexture($this); else $this.$textureNotModified = 0; } else $this.$transferred = 0; }, nms_Texture__init_ = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) => { let var_10 = new nms_Texture(); nms_Texture__init_1(var_10, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); return var_10; }, nms_Texture_fillRect = ($this, $par1Rect2i, $par2) => { let $var3, $var6, var$5, $var4, var$7, var$8, var$9, $var5, var$11; if ($this.$textureTarget != 32879) { $var3 = new nms_Rect2i; $var6 = $this.$width3; var$5 = $this.$height4; $var3.$rectX = 0; $var3.$rectY = 0; $var3.$rectWidth = $var6; $var3.$rectHeight = var$5; nms_Rect2i_intersection($var3, $par1Rect2i); jn_Buffer_position($this.$textureData, 0); $var4 = $var3.$rectY; var$5 = ($par2 >> 24 & 255) << 24 >> 24; var$7 = ($par2 >> 16 & 255) << 24 >> 24; var$8 = ($par2 >> 8 & 255) << 24 >> 24; var$9 = ($par2 >> 0 & 255) << 24 >> 24; while ($var4 < ($var3.$rectY + $var3.$rectHeight | 0)) { $var5 = $rt_imul($var4, $this.$width3) * 4 | 0; $var6 = $var3.$rectX; while ($var6 < ($var3.$rectX + $var3.$rectWidth | 0)) { $par1Rect2i = $this.$textureData; var$11 = $var5 + ($var6 * 4 | 0) | 0; jn_ByteBufferImpl_put($par1Rect2i, var$11 + 0 | 0, var$5); jn_ByteBufferImpl_put($this.$textureData, var$11 + 1 | 0, var$7); jn_ByteBufferImpl_put($this.$textureData, var$11 + 2 | 0, var$8); jn_ByteBufferImpl_put($this.$textureData, var$11 + 3 | 0, var$9); $var6 = $var6 + 1 | 0; } $var4 = $var4 + 1 | 0; } if ($this.$autoCreate) nms_Texture_uploadTexture($this); else $this.$textureNotModified = 0; } }, nms_Texture_copyFrom = ($this, $par1, $par2, $par3Texture, $par4) => { let $var9, $var5, $var6, var$8, $var7, $var8, $var10, $var11, $var12; $var9 = $this.$textureTarget; if ($var9 != 32879) { nleg_EaglerAdapterGL30_glBindTexture($var9, $this.$glTextureId); $var5 = $par3Texture.$textureData; jn_Buffer_position($this.$textureData, 0); jn_Buffer_position($var5, 0); $var6 = 0; while (true) { var$8 = $par3Texture.$height4; if ($var6 >= var$8) break; $var7 = $par2 + $var6 | 0; $var8 = $rt_imul($var6, $par3Texture.$width3) * 4 | 0; $var9 = $rt_imul($var7, $this.$width3) * 4 | 0; if ($par4) $var7 = $par2 + (var$8 - $var6 | 0) | 0; $var10 = 0; while ($var10 < $par3Texture.$width3) { $var11 = $var9 + (($var10 + $par1 | 0) * 4 | 0) | 0; $var12 = $var8 + ($var10 * 4 | 0) | 0; if ($par4) $var11 = ($par1 + ($rt_imul($var10, $this.$width3) * 4 | 0) | 0) + ($var7 * 4 | 0) | 0; jn_ByteBufferImpl_put($this.$textureData, $var11 + 0 | 0, jn_ByteBufferImpl_get($var5, $var12 + 0 | 0)); jn_ByteBufferImpl_put($this.$textureData, $var11 + 1 | 0, jn_ByteBufferImpl_get($var5, $var12 + 1 | 0)); jn_ByteBufferImpl_put($this.$textureData, $var11 + 2 | 0, jn_ByteBufferImpl_get($var5, $var12 + 2 | 0)); jn_ByteBufferImpl_put($this.$textureData, $var11 + 3 | 0, jn_ByteBufferImpl_get($var5, $var12 + 3 | 0)); $var10 = $var10 + 1 | 0; } $var6 = $var6 + 1 | 0; } jn_Buffer_position($this.$textureData, $rt_imul($this.$width3, $this.$height4) * 4 | 0); if ($this.$autoCreate) nms_Texture_uploadTexture($this); else $this.$textureNotModified = 0; } }, nms_Texture_transferFromImage = ($this, $par1BufferedImage) => { let $var2, $var3, var$4, var$5, $var5, $var9, var$8, $var10, $var11, $var12, $var13, $var4, var$14, var$15; a: { $var2 = $par1BufferedImage.$w0; $var3 = $par1BufferedImage.$h; var$4 = $this.$width3; if ($var2 <= var$4) { var$5 = $this.$height4; if ($var3 <= var$5) { $var5 = $rt_createIntArray(4).data; $var5[0] = 3; $var5[1] = 0; $var5[2] = 1; $var5[3] = 2; $var5 = $rt_createIntArray(4).data; $var5[0] = 3; $var5[1] = 2; $var5[2] = 1; $var5[3] = 0; $var9 = $rt_createByteArray($rt_imul(var$4, var$5) * 4 | 0); var$8 = $var9.data; $var10 = 0; while ($var10 < var$5) { $var11 = 0; while ($var11 < var$4) { $var12 = $rt_imul($var10, var$4) + $var11 | 0; $var13 = $var12 * 4 | 0; $var2 = $var13 + $var5[0] | 0; $var4 = $par1BufferedImage.$data5.data; var$8[$var2] = ($var4[$var12] >> 24 & 255) << 24 >> 24; var$8[$var13 + $var5[1] | 0] = ($var4[$var12] >> 16 & 255) << 24 >> 24; var$8[$var13 + $var5[2] | 0] = ($var4[$var12] >> 8 & 255) << 24 >> 24; var$8[$var13 + $var5[3] | 0] = ($var4[$var12] >> 0 & 255) << 24 >> 24; $var11 = $var11 + 1 | 0; } $var10 = $var10 + 1 | 0; } b: { $var2 = var$8.length; nleg_EaglerAdapterGL30_$callClinit(); if (nleg_EaglerAdapterGL30_isWebGL) { $var5 = $rt_createByteArray($var2); var$4 = $var5.data.length; if (var$4 >= 0 && var$4 <= (var$4 - 0 | 0)) { var$14 = new jn_ByteBufferImpl; $var11 = 0 + var$4 | 0; var$14.$mark = (-1); var$14.$capacity = var$4; var$14.$limit0 = var$4; var$14.$order = jn_ByteOrder_BIG_ENDIAN; var$14.$start = 0; var$14.$array0 = $var5; var$14.$position0 = 0; var$14.$limit0 = $var11; var$14.$direct = 0; var$14.$readOnly0 = 0; break b; } $par1BufferedImage = new jl_IndexOutOfBoundsException; $par1BufferedImage.$suppressionEnabled = 1; $par1BufferedImage.$writableStackTrace = 1; $rt_throw($par1BufferedImage); } if ($var2 < 0) { $par1BufferedImage = new jl_IllegalArgumentException; var$14 = new jl_StringBuilder; var$14.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$14, var$14.$length0, $rt_s(760)); jl_AbstractStringBuilder_insert0(var$14, var$14.$length0, $var2, 10); var$15 = new jl_String; $var5 = var$14.$buffer; $var9 = $var5.data; $var3 = var$14.$length0; var$4 = $var9.length; if ($var3 >= 0 && $var3 <= (var$4 - 0 | 0)) { var$15.$nativeString = $rt_charArrayToString($var5.data, 0, $var3); $par1BufferedImage.$suppressionEnabled = 1; $par1BufferedImage.$writableStackTrace = 1; $par1BufferedImage.$message = var$15; $rt_throw($par1BufferedImage); } $par1BufferedImage = new jl_IndexOutOfBoundsException; $par1BufferedImage.$suppressionEnabled = 1; $par1BufferedImage.$writableStackTrace = 1; $rt_throw($par1BufferedImage); } var$14 = new jn_ByteBufferImpl; $var5 = $rt_createByteArray($var2); var$14.$mark = (-1); var$14.$capacity = $var2; var$14.$limit0 = $var2; var$14.$order = jn_ByteOrder_BIG_ENDIAN; var$14.$start = 0; var$14.$array0 = $var5; var$14.$position0 = 0; var$14.$limit0 = $var2; var$14.$direct = 1; var$14.$readOnly0 = 0; var$14.$order = jn_ByteOrder_nativeOrder(); } var$14.$order = jn_ByteOrder_nativeOrder(); $this.$textureData = var$14; var$14.$position0 = 0; var$14.$limit0 = var$14.$capacity; var$14.$mark = (-1); jn_ByteBuffer_put(var$14, $var9, 0, $var2); jn_Buffer_limit($this.$textureData, $var2); if ($this.$autoCreate) nms_Texture_uploadTexture($this); else $this.$textureNotModified = 0; break a; } } if (jl_System_errCache === null) { $par1BufferedImage = new otcic_JSStderrPrintStream; var$14 = new ji_ByteArrayOutputStream; var$14.$buf = $rt_createByteArray(32); $par1BufferedImage.$out0 = var$14; var$14 = new jl_StringBuilder; var$14.$buffer = $rt_createCharArray(16); $par1BufferedImage.$sb = var$14; $par1BufferedImage.$buffer0 = $rt_createCharArray(32); $par1BufferedImage.$autoFlush = 0; $par1BufferedImage.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1BufferedImage; } var$5 = $this.$height4; $par1BufferedImage = new jl_StringBuilder; $par1BufferedImage.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1BufferedImage, $par1BufferedImage.$length0, $rt_s(3372)); jl_AbstractStringBuilder_insert0($par1BufferedImage, $par1BufferedImage.$length0, $var2, 10); jl_AbstractStringBuilder_insert($par1BufferedImage, $par1BufferedImage.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert0($par1BufferedImage, $par1BufferedImage.$length0, $var3, 10); jl_AbstractStringBuilder_insert($par1BufferedImage, $par1BufferedImage.$length0, $rt_s(3373)); jl_AbstractStringBuilder_insert0($par1BufferedImage, $par1BufferedImage.$length0, var$4, 10); jl_AbstractStringBuilder_insert($par1BufferedImage, $par1BufferedImage.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert0($par1BufferedImage, $par1BufferedImage.$length0, var$5, 10); jl_AbstractStringBuilder_insert($par1BufferedImage, $par1BufferedImage.$length0, $rt_s(3374)); var$14 = new jl_String; $var5 = $par1BufferedImage.$buffer; $var9 = $var5.data; $var3 = $par1BufferedImage.$length0; var$4 = $var9.length; if ($var3 >= 0 && $var3 <= (var$4 - 0 | 0)) { var$14.$nativeString = $rt_charArrayToString($var5.data, 0, $var3); $rt_putStderr($rt_ustr(var$14)); $rt_putStderr("\n"); } else { $par1BufferedImage = new jl_IndexOutOfBoundsException; $par1BufferedImage.$suppressionEnabled = 1; $par1BufferedImage.$writableStackTrace = 1; $rt_throw($par1BufferedImage); } } }, nms_Texture_uploadTexture = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$textureData; var$2 = var$1.$position0; var$1.$limit0 = var$2; var$1.$position0 = 0; var$1.$mark = (-1); var$3 = $this.$height4; if (!(var$3 != 1 && $this.$textureDepth != 1)) { var$4 = $this.$width3; nleg_EaglerAdapterGL30_$callClinit(); if (!nleg_EaglerAdapterGL30_selectedTex) { var$5 = nleg_EaglerAdapterGL30_boundTexture0; if (var$5 !== null) { var$5.$w1 = var$4; var$5.$h0 = var$3; } } nlea_EaglerAdapterImpl2_$callClinit(); var$5 = nlea_EaglerAdapterImpl2_webgl; var$2 = var$2 - 0 | 0; var$5.texImage2D(3553, 0, 32856, var$4, var$3, 0, 6408, 5121, new Uint8Array(var$1.$array0.data.buffer, 0, var$2)); } $this.$textureNotModified = 1; }; function nms_StitcherException() { jl_RuntimeException.call(this); this.$field_98149_a = null; } function nms_TextureStitched() { let a = this; jl_Object.call(a); a.$textureName0 = null; a.$textureSheet = null; a.$textureList = null; a.$listAnimationTuples = null; a.$rotated0 = 0; a.$originX0 = 0; a.$originY0 = 0; a.$width8 = 0; a.$height6 = 0; a.$minU = 0.0; a.$maxU = 0.0; a.$minV = 0.0; a.$maxV = 0.0; a.$widthNorm = 0.0; a.$heightNorm = 0.0; a.$frameCounter = 0; a.$tickCounter = 0; } let nms_TextureStitched_init = ($this, $par1Texture, $par2List, $par3, $par4, $par5, $par6, $par7) => { let var$8, $var8, var$10, $var9; $this.$textureSheet = $par1Texture; $this.$textureList = $par2List; $this.$originX0 = $par3; $this.$originY0 = $par4; $this.$width8 = $par5; $this.$height6 = $par6; $this.$rotated0 = $par7; var$8 = $par1Texture.$width3; $var8 = 0.009999999776482582 / var$8; var$10 = $par1Texture.$height4; $var9 = 0.009999999776482582 / var$10; $this.$minU = $par3 / var$8 + $var8; $this.$maxU = ($par3 + $par5 | 0) / var$8 - $var8; $this.$minV = $par4 / var$10 + $var9; $this.$maxV = ($par4 + $par6 | 0) / var$10 - $var9; $this.$widthNorm = $par5 / 16.0; $this.$heightNorm = $par6 / 16.0; }, nms_TextureStitched_copyFrom = ($this, $par1TextureStitched) => { nms_TextureStitched_init($this, $par1TextureStitched.$textureSheet, $par1TextureStitched.$textureList, $par1TextureStitched.$originX0, $par1TextureStitched.$originY0, $par1TextureStitched.$width8, $par1TextureStitched.$height6, $par1TextureStitched.$rotated0); }, nms_TextureStitched_getIconWidth = $this => { return $this.$originX0; }, nms_TextureStitched_getIconHeight = $this => { return $this.$originY0; }, nms_TextureStitched_getMinU = $this => { return $this.$minU; }, nms_TextureStitched_getMaxU = $this => { return $this.$maxU; }, nms_TextureStitched_getInterpolatedU = ($this, $par1) => { let $var3, var$3; $var3 = $this.$maxU; var$3 = $this.$minU; return var$3 + ($var3 - var$3) * $par1 / 16.0; }, nms_TextureStitched_getMinV = $this => { return $this.$minV; }, nms_TextureStitched_getMaxV = $this => { return $this.$maxV; }, nms_TextureStitched_getInterpolatedV = ($this, $par1) => { let $var3, var$3; $var3 = $this.$maxV; var$3 = $this.$minV; return var$3 + ($var3 - var$3) * $par1 / 16.0; }, nms_TextureStitched_getIconName = $this => { return $this.$textureName0; }, nms_TextureStitched_getSheetWidth = $this => { return $this.$textureSheet.$width3; }, nms_TextureStitched_getSheetHeight = $this => { return $this.$textureSheet.$height4; }, nms_TextureStitched_updateAnimation = $this => { let $var1, $var4, var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $var2, var$13; a: { $var1 = $this.$listAnimationTuples; if ($var1 === null) { $var4 = $this.$frameCounter; var$3 = ($var4 + 1 | 0) % $this.$textureList.$size() | 0; $this.$frameCounter = var$3; if ($var4 != var$3) { $var1 = $this.$textureSheet; $var4 = $this.$originX0; $var3 = $this.$originY0; var$5 = $this.$textureList.$get(var$3); nleg_EaglerAdapterGL30_glBindTexture($var1.$textureTarget, $var1.$glTextureId); var$3 = $var1.$textureTarget; var$6 = var$5.$width3; var$7 = var$5.$height4; var$5 = var$5.$textureData; jn_Buffer_position(var$5, 0); switch (var$3) { case 3553: break; default: } var$3 = nleg_EaglerAdapterGL30_bytesUploaded; var$8 = var$5.$limit0; var$9 = var$5.$position0; var$10 = var$8 - var$9 | 0; nleg_EaglerAdapterGL30_bytesUploaded = var$3 + var$10 | 0; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.texSubImage2D(3553, 0, $var4, $var3, var$6, var$7, 6408, 5121, new Uint8Array(var$5.$array0.data.buffer, var$9, var$10)); $var1.$textureNotModified = 1; } } else { var$3 = $this.$frameCounter; if (var$3 >= 0) { var$7 = $var1.$size0; if (var$3 < var$7) { var$11 = $var1.$array.data; $var1 = var$11[var$3]; $var4 = $this.$tickCounter + 1 | 0; $this.$tickCounter = $var4; if ($var4 >= $var1.$second.$value0) { $var2 = $var1.$first0.$value0; var$3 = (var$3 + 1 | 0) % var$7 | 0; $this.$frameCounter = var$3; $this.$tickCounter = 0; if (var$3 >= 0 && var$3 < var$7) { $var3 = var$11[var$3].$first0.$value0; if ($var2 != $var3 && $var3 >= 0 && $var3 < $this.$textureList.$size()) { $var1 = $this.$textureSheet; var$3 = $this.$originX0; var$6 = $this.$originY0; var$5 = $this.$textureList.$get($var3); nleg_EaglerAdapterGL30_glBindTexture($var1.$textureTarget, $var1.$glTextureId); $var3 = $var1.$textureTarget; var$7 = var$5.$width3; $var2 = var$5.$height4; var$5 = var$5.$textureData; jn_Buffer_position(var$5, 0); switch ($var3) { case 3553: break; default: } var$13 = nleg_EaglerAdapterGL30_bytesUploaded; $var4 = var$5.$limit0; $var3 = var$5.$position0; $var4 = $var4 - $var3 | 0; nleg_EaglerAdapterGL30_bytesUploaded = var$13 + $var4 | 0; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.texSubImage2D(3553, 0, var$3, var$6, var$7, $var2, 6408, 5121, new Uint8Array(var$5.$array0.data.buffer, $var3, $var4)); $var1.$textureNotModified = 1; } } else { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } } break a; } } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } } }, nms_TextureStitched_readAnimationInfo = ($this, $path) => { let $var2, $var3, $var12, $var10, var$6, $var4, var$8, $var6, $var7, $var8, $var9, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$8 = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();$var10 = $thread.pop();$var12 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$path = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = new ju_ArrayList; $var2.$array = $rt_createArray(jl_Object, 10); try { $var3 = (nms_Minecraft_getMinecraft()).$texturePackList; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var12 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $path = new otcic_JSStderrPrintStream; $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); $path.$out0 = $var3; $var3 = new jl_StringBuilder; jl_Object__init_($var3); $var3.$buffer = $rt_createCharArray(16); $path.$sb = $var3; $path.$buffer0 = $rt_createCharArray(32); $path.$autoFlush = 0; $path.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $path; } $path = $this.$textureName0; $var3 = $var12.$getMessage(); $var10 = new jl_StringBuilder; $var10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var10, $var10.$length0, $rt_s(3375)); var$6 = $var10.$length0; if ($path === null) $path = $rt_s(1); jl_AbstractStringBuilder_insert($var10, var$6, $path); jl_AbstractStringBuilder_insert($var10, $var10.$length0, $rt_s(107)); var$6 = $var10.$length0; if ($var3 === null) $var3 = $rt_s(1); jl_AbstractStringBuilder_insert($var10, var$6, $var3); $path = new jl_String; $var4 = $var10.$buffer; var$8 = $var4.data; $var6 = $var10.$length0; $var7 = var$8.length; if ($var6 >= 0 && $var6 <= ($var7 - 0 | 0)) { $path.$nativeString = $rt_charArrayToString($var4.data, 0, $var6); $rt_putStderr($rt_ustr($path)); $rt_putStderr("\n"); $var6 = $var2.$size0; var$6 = $var6 ? 0 : 1; if (!var$6 && $var6 < 600) $this.$listAnimationTuples = $var2; return; } $path = new jl_IndexOutOfBoundsException; $path.$suppressionEnabled = 1; $path.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($path); $rt_throw($path); case 1: try { $tmp = nms_TexturePackList_getSelectedTexturePack($var3); if ($rt_suspending()) { break main; } $var3 = $tmp; $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var12 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $path = new otcic_JSStderrPrintStream; $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); $path.$out0 = $var3; $var3 = new jl_StringBuilder; jl_Object__init_($var3); $var3.$buffer = $rt_createCharArray(16); $path.$sb = $var3; $path.$buffer0 = $rt_createCharArray(32); $path.$autoFlush = 0; $path.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $path; } $path = $this.$textureName0; $var3 = $var12.$getMessage(); $var10 = new jl_StringBuilder; $var10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var10, $var10.$length0, $rt_s(3375)); var$6 = $var10.$length0; if ($path === null) $path = $rt_s(1); jl_AbstractStringBuilder_insert($var10, var$6, $path); jl_AbstractStringBuilder_insert($var10, $var10.$length0, $rt_s(107)); var$6 = $var10.$length0; if ($var3 === null) $var3 = $rt_s(1); jl_AbstractStringBuilder_insert($var10, var$6, $var3); $path = new jl_String; $var4 = $var10.$buffer; var$8 = $var4.data; $var6 = $var10.$length0; $var7 = var$8.length; if ($var6 >= 0 && $var6 <= ($var7 - 0 | 0)) { $path.$nativeString = $rt_charArrayToString($var4.data, 0, $var6); $rt_putStderr($rt_ustr($path)); $rt_putStderr("\n"); $var6 = $var2.$size0; var$6 = $var6 ? 0 : 1; if (!var$6 && $var6 < 600) $this.$listAnimationTuples = $var2; return; } $path = new jl_IndexOutOfBoundsException; $path.$suppressionEnabled = 1; $path.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($path); $rt_throw($path); case 2: a: { try { b: { $tmp = $var3.$getResourceAsBytes($path); if ($rt_suspending()) { break main; } $var4 = $tmp; $var3 = jl_String_trim(nle_EaglerMisc_bytesToString($var4)); if (jl_String_length($var3) > 0) { $var4 = (jl_String_split($var3, $rt_s(1371))).data; $var6 = $var4.length; $var7 = 0; while (true) { if ($var7 >= $var6) break b; $var8 = $var4[$var7]; $var9 = jl_String_indexOf1($var8, 42); if ($var9 <= 0) ju_ArrayList_add($var2, nms_Tuple__init_(jl_Integer_valueOf0($var8), jl_Integer_valueOf(1))); else ju_ArrayList_add($var2, nms_Tuple__init_(jl_Integer_valueOf0(jl_String_substring($var8, 0, $var9)), jl_Integer_valueOf0(jl_String_substring0($var8, $var9 + 1 | 0)))); $var7 = $var7 + 1 | 0; } } } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var12 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $path = new otcic_JSStderrPrintStream; $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); $path.$out0 = $var3; $var3 = new jl_StringBuilder; jl_Object__init_($var3); $var3.$buffer = $rt_createCharArray(16); $path.$sb = $var3; $path.$buffer0 = $rt_createCharArray(32); $path.$autoFlush = 0; $path.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $path; } $path = $this.$textureName0; $var3 = $var12.$getMessage(); $var10 = new jl_StringBuilder; $var10.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var10, $var10.$length0, $rt_s(3375)); var$6 = $var10.$length0; if ($path === null) $path = $rt_s(1); jl_AbstractStringBuilder_insert($var10, var$6, $path); jl_AbstractStringBuilder_insert($var10, $var10.$length0, $rt_s(107)); var$6 = $var10.$length0; if ($var3 === null) $var3 = $rt_s(1); jl_AbstractStringBuilder_insert($var10, var$6, $var3); $path = new jl_String; $var4 = $var10.$buffer; var$8 = $var4.data; $var6 = $var10.$length0; $var7 = var$8.length; if ($var6 >= 0 && $var6 <= ($var7 - 0 | 0)) { $path.$nativeString = $rt_charArrayToString($var4.data, 0, $var6); $rt_putStderr($rt_ustr($path)); $rt_putStderr("\n"); } else { $path = new jl_IndexOutOfBoundsException; $path.$suppressionEnabled = 1; $path.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($path); $rt_throw($path); } } $var6 = $var2.$size0; var$6 = $var6 ? 0 : 1; if (!var$6 && $var6 < 600) $this.$listAnimationTuples = $var2; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $path, $var2, $var3, $var12, $var10, var$6, $var4, var$8, $var6, $var7, $var8, $var9, $ptr); }; function nms_StitchSlot() { let a = this; jl_Object.call(a); a.$originX = 0; a.$originY = 0; a.$width5 = 0; a.$height5 = 0; a.$subSlots = null; a.$holder = null; } let nms_StitchSlot_func_94182_a = ($this, $par1StitchHolder) => { let $var7, $var4, $var2, $var3, var$6, $var9, var$8, $var6, $var5, $var8$index, $var8$index_0; if ($this.$holder !== null) return 0; $var7 = $par1StitchHolder.$rotated; if (!$var7) { $var4 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var2 = (($var4 >> 0) + ($var4 & 0 ? 1 : 0) | 0) << 0; } else { $var4 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var2 = (($var4 >> 0) + ($var4 & 0 ? 1 : 0) | 0) << 0; } if (!$var7) { $var7 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var3 = (($var7 >> 0) + ($var7 & 0 ? 1 : 0) | 0) << 0; } else { $var7 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var3 = (($var7 >> 0) + ($var7 & 0 ? 1 : 0) | 0) << 0; } $var7 = $rt_compare($var2, $this.$width5); if ($var7 <= 0) { $var4 = $rt_compare($var3, $this.$height5); if ($var4 <= 0) { if (!$var7 && !$var4) { $this.$holder = $par1StitchHolder; return 1; } if ($this.$subSlots === null) { var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 1); $this.$subSlots = var$6; $var9 = new nms_StitchSlot; $var7 = $this.$originX; $var4 = $this.$originY; $var9.$originX = $var7; $var9.$originY = $var4; $var9.$width5 = $var2; $var9.$height5 = $var3; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$8 = var$6.$array.data; $var4 = var$6.$size0; var$6.$size0 = $var4 + 1 | 0; var$8[$var4] = $var9; var$6.$modCount = var$6.$modCount + 1 | 0; $var7 = $this.$width5; $var4 = $var7 - $var2 | 0; $var6 = $this.$height5; $var5 = $var6 - $var3 | 0; if (!($var5 > 0 && $var4 > 0)) { if (!$var4) { var$6 = $this.$subSlots; $var9 = new nms_StitchSlot; $var7 = $this.$originX; $var4 = $this.$originY + $var3 | 0; $var9.$originX = $var7; $var9.$originY = $var4; $var9.$width5 = $var2; $var9.$height5 = $var5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$8 = var$6.$array.data; $var4 = var$6.$size0; var$6.$size0 = $var4 + 1 | 0; var$8[$var4] = $var9; var$6.$modCount = var$6.$modCount + 1 | 0; } else if (!$var5) { var$6 = $this.$subSlots; $var9 = new nms_StitchSlot; $var7 = $this.$originX + $var2 | 0; $var2 = $this.$originY; $var9.$originX = $var7; $var9.$originY = $var2; $var9.$width5 = $var4; $var9.$height5 = $var3; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$8 = var$6.$array.data; $var4 = var$6.$size0; var$6.$size0 = $var4 + 1 | 0; var$8[$var4] = $var9; var$6.$modCount = var$6.$modCount + 1 | 0; } } else { if ($var6 <= $var4) $var6 = $var4; if ($var7 <= $var5) $var7 = $var5; if ($var6 < $var7) { var$6 = $this.$subSlots; $var9 = new nms_StitchSlot; $var7 = $this.$originX + $var2 | 0; $var2 = $this.$originY; $var9.$originX = $var7; $var9.$originY = $var2; $var9.$width5 = $var4; $var9.$height5 = $var3; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$8 = var$6.$array.data; $var4 = var$6.$size0; var$6.$size0 = $var4 + 1 | 0; var$8[$var4] = $var9; var$6.$modCount = var$6.$modCount + 1 | 0; var$6 = $this.$subSlots; $var9 = new nms_StitchSlot; $var7 = $this.$originX; $var4 = $this.$originY + $var3 | 0; $var3 = $this.$width5; $var9.$originX = $var7; $var9.$originY = $var4; $var9.$width5 = $var3; $var9.$height5 = $var5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$8 = var$6.$array.data; $var4 = var$6.$size0; var$6.$size0 = $var4 + 1 | 0; var$8[$var4] = $var9; var$6.$modCount = var$6.$modCount + 1 | 0; } else { var$6 = $this.$subSlots; $var9 = new nms_StitchSlot; $var7 = $this.$originX; $var3 = $this.$originY + $var3 | 0; $var9.$originX = $var7; $var9.$originY = $var3; $var9.$width5 = $var2; $var9.$height5 = $var5; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$8 = var$6.$array.data; $var3 = var$6.$size0; var$6.$size0 = $var3 + 1 | 0; var$8[$var3] = $var9; var$6.$modCount = var$6.$modCount + 1 | 0; var$6 = $this.$subSlots; $var9 = new nms_StitchSlot; $var7 = $this.$originX + $var2 | 0; $var3 = $this.$originY; $var2 = $this.$height5; $var9.$originX = $var7; $var9.$originY = $var3; $var9.$width5 = $var4; $var9.$height5 = $var2; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$8 = var$6.$array.data; $var4 = var$6.$size0; var$6.$size0 = $var4 + 1 | 0; var$8[$var4] = $var9; var$6.$modCount = var$6.$modCount + 1 | 0; } } } var$6 = $this.$subSlots; $var8$index = 0; $var4 = var$6.$modCount; $var3 = var$6.$size(); while (true) { if (!($var8$index >= $var3 ? 0 : 1)) return 0; if ($var4 < var$6.$modCount) { $par1StitchHolder = new ju_ConcurrentModificationException; $par1StitchHolder.$suppressionEnabled = 1; $par1StitchHolder.$writableStackTrace = 1; $rt_throw($par1StitchHolder); } $var8$index_0 = $var8$index + 1 | 0; if (nms_StitchSlot_func_94182_a(var$6.$get($var8$index), $par1StitchHolder)) break; $var8$index = $var8$index_0; } return 1; } } return 0; }, nms_StitchSlot_getAllStitchSlots = ($this, $par1List) => { let var$2, $var2$index, var$4, var$5, var$6, $var2$index_0, $var3, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, var$32, var$33, var$34, var$35, var$36, var$37; a: { if ($this.$holder !== null) { ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); var$2 = $par1List.$array.data; $var2$index = $par1List.$size0; $par1List.$size0 = $var2$index + 1 | 0; var$2[$var2$index] = $this; $par1List.$modCount = $par1List.$modCount + 1 | 0; } else { var$4 = $this.$subSlots; if (var$4 !== null) { $var2$index = 0; var$5 = var$4.$modCount; var$6 = var$4.$size(); while (true) { if (!($var2$index >= var$6 ? 0 : 1)) break a; if (var$5 < var$4.$modCount) { $par1List = new ju_ConcurrentModificationException; $par1List.$suppressionEnabled = 1; $par1List.$writableStackTrace = 1; $rt_throw($par1List); } b: { $var2$index_0 = $var2$index + 1 | 0; $var3 = var$4.$get($var2$index); if ($var3.$holder !== null) { ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); var$2 = $par1List.$array.data; $var2$index = $par1List.$size0; $par1List.$size0 = $var2$index + 1 | 0; var$2[$var2$index] = $var3; $par1List.$modCount = $par1List.$modCount + 1 | 0; } else { $var3 = $var3.$subSlots; if ($var3 !== null) { var$9 = $var3.$modCount; var$10 = $var3.$size(); $var2$index = 0; while (true) { if (!($var2$index >= var$10 ? 0 : 1)) break b; if (var$9 < $var3.$modCount) { $par1List = new ju_ConcurrentModificationException; $par1List.$suppressionEnabled = 1; $par1List.$writableStackTrace = 1; $rt_throw($par1List); } c: { var$11 = $var2$index + 1 | 0; var$12 = $var3.$get($var2$index); if (var$12.$holder !== null) { ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); var$2 = $par1List.$array.data; $var2$index = $par1List.$size0; $par1List.$size0 = $var2$index + 1 | 0; var$2[$var2$index] = var$12; $par1List.$modCount = $par1List.$modCount + 1 | 0; } else { var$13 = var$12.$subSlots; if (var$13 !== null) { $var2$index = 0; var$14 = var$13.$modCount; var$15 = var$13.$size(); while (true) { if (!($var2$index >= var$15 ? 0 : 1)) break c; if (var$14 < var$13.$modCount) { $par1List = new ju_ConcurrentModificationException; $par1List.$suppressionEnabled = 1; $par1List.$writableStackTrace = 1; $rt_throw($par1List); } d: { var$16 = $var2$index + 1 | 0; var$12 = var$13.$get($var2$index); if (var$12.$holder !== null) { ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); var$2 = $par1List.$array.data; $var2$index = $par1List.$size0; $par1List.$size0 = $var2$index + 1 | 0; var$2[$var2$index] = var$12; $par1List.$modCount = $par1List.$modCount + 1 | 0; } else { var$17 = var$12.$subSlots; if (var$17 !== null) { $var2$index = 0; var$18 = var$17.$modCount; var$19 = var$17.$size(); while (true) { if (!($var2$index >= var$19 ? 0 : 1)) break d; if (var$18 < var$17.$modCount) { $par1List = new ju_ConcurrentModificationException; $par1List.$suppressionEnabled = 1; $par1List.$writableStackTrace = 1; $rt_throw($par1List); } e: { var$20 = $var2$index + 1 | 0; var$12 = var$17.$get($var2$index); if (var$12.$holder !== null) { ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); var$2 = $par1List.$array.data; $var2$index = $par1List.$size0; $par1List.$size0 = $var2$index + 1 | 0; var$2[$var2$index] = var$12; $par1List.$modCount = $par1List.$modCount + 1 | 0; } else { var$21 = var$12.$subSlots; if (var$21 !== null) { $var2$index = 0; var$22 = var$21.$modCount; var$23 = var$21.$size(); while (true) { if (!($var2$index >= var$23 ? 0 : 1)) break e; if (var$22 < var$21.$modCount) { $par1List = new ju_ConcurrentModificationException; $par1List.$suppressionEnabled = 1; $par1List.$writableStackTrace = 1; $rt_throw($par1List); } f: { var$24 = $var2$index + 1 | 0; var$25 = var$21.$get($var2$index); if (var$25.$holder !== null) { ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); var$2 = $par1List.$array.data; $var2$index = $par1List.$size0; $par1List.$size0 = $var2$index + 1 | 0; var$2[$var2$index] = var$25; $par1List.$modCount = $par1List.$modCount + 1 | 0; } else { var$26 = var$25.$subSlots; if (var$26 !== null) { $var2$index = 0; var$27 = var$26.$modCount; var$28 = var$26.$size(); while (true) { if (!($var2$index >= var$28 ? 0 : 1)) break f; if (var$27 < var$26.$modCount) { $par1List = new ju_ConcurrentModificationException; $par1List.$suppressionEnabled = 1; $par1List.$writableStackTrace = 1; $rt_throw($par1List); } g: { var$29 = $var2$index + 1 | 0; var$25 = var$26.$get($var2$index); if (var$25.$holder !== null) { ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); var$2 = $par1List.$array.data; var$30 = $par1List.$size0; $par1List.$size0 = var$30 + 1 | 0; var$2[var$30] = var$25; $par1List.$modCount = $par1List.$modCount + 1 | 0; } else { var$25 = var$25.$subSlots; if (var$25 !== null) { $var2$index = 0; var$31 = var$25.$modCount; var$32 = var$25.$size(); while (true) { if (!($var2$index >= var$32 ? 0 : 1)) break g; if (var$31 < var$25.$modCount) { $par1List = new ju_ConcurrentModificationException; $par1List.$suppressionEnabled = 1; $par1List.$writableStackTrace = 1; $rt_throw($par1List); } h: { var$33 = $var2$index + 1 | 0; var$12 = var$25.$get($var2$index); if (var$12.$holder !== null) { ju_ArrayList_ensureCapacity($par1List, $par1List.$size0 + 1 | 0); var$2 = $par1List.$array.data; $var2$index = $par1List.$size0; $par1List.$size0 = $var2$index + 1 | 0; var$2[$var2$index] = var$12; $par1List.$modCount = $par1List.$modCount + 1 | 0; } else { var$34 = var$12.$subSlots; if (var$34 !== null) { var$35 = 0; $var2$index = var$34.$modCount; var$36 = var$34.$size(); while (true) { if (!(var$35 >= var$36 ? 0 : 1)) break h; if ($var2$index < var$34.$modCount) { $par1List = new ju_ConcurrentModificationException; $par1List.$suppressionEnabled = 1; $par1List.$writableStackTrace = 1; $rt_throw($par1List); } i: { var$37 = var$35 + 1 | 0; var$12 = var$34.$get(var$35); if (var$12.$holder !== null) ju_ArrayList_add($par1List, var$12); else { var$12 = var$12.$subSlots; if (var$12 !== null) { var$12 = ju_AbstractList_iterator(var$12); while (true) { if (!ju_AbstractList$1_hasNext(var$12)) break i; nms_StitchSlot_getAllStitchSlots(ju_AbstractList$1_next(var$12), $par1List); } } } } var$35 = var$37; } } } } $var2$index = var$33; } } } } $var2$index = var$29; } } } } $var2$index = var$24; } } } } $var2$index = var$20; } } } } $var2$index = var$16; } } } } $var2$index = var$11; } } } } $var2$index = $var2$index_0; } } } } }, nms_StitchSlot_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$1 = $this.$originX; var$2 = $this.$originY; var$3 = $this.$width5; var$4 = $this.$height5; var$5 = $this.$holder; if (var$5 === null) var$5 = $rt_s(1); else { var$6 = var$5.$width2; var$7 = var$5.$height3; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$8, var$8.$length0, $rt_s(3370)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$6, 10); jl_StringBuilder_insert(var$8, var$8.$length0, $rt_s(3371)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$7, 10); var$7 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$7, var$7 + 1 | 0); var$9 = var$8.$buffer; var$10 = var$9.data; var$10[var$7] = 125; var$5 = new jl_String; var$7 = var$8.$length0; var$11 = var$10.length; if (var$7 >= 0 && var$7 <= (var$11 - 0 | 0)) var$5.$nativeString = $rt_charArrayToString(var$9.data, 0, var$7); else { var$5 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$5); $rt_throw(var$5); } } var$8 = $this.$subSlots; var$12 = var$8 === null ? $rt_s(1) : ju_ArrayList_toString(var$8); var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3376)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$1, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3377)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$2, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3378)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$3, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3371)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$4, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3379)); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, var$5); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3380)); var$1 = var$8.$length0; if (var$12 === null) var$12 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$1, var$12); var$2 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$2, var$2 + 1 | 0); var$9 = var$8.$buffer; var$10 = var$9.data; var$10[var$2] = 125; var$5 = new jl_String; var$2 = var$8.$length0; var$3 = var$10.length; if (var$2 >= 0 && var$2 <= (var$3 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$9.data, 0, var$2); return var$5; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); }; function nms_Packet204ClientInfo() { let a = this; nms_Packet.call(a); a.$language0 = null; a.$renderDistance1 = 0; a.$chatVisisble = 0; a.$chatColours0 = 0; a.$gameDifficulty = 0; a.$showCape0 = 0; } let nms_Packet204ClientInfo__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet204ClientInfo__init_0 = () => { let var_0 = new nms_Packet204ClientInfo(); nms_Packet204ClientInfo__init_(var_0); return var_0; }, nms_Packet204ClientInfo_readPacketData = ($this, $par1DataInput) => { let var$2, $var2; $this.$language0 = nms_Packet_readString($par1DataInput, 7); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$renderDistance1 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $var2 = var$2 << 24 >> 24; $this.$chatVisisble = $var2 & 7; $this.$chatColours0 = ($var2 & 8) != 8 ? 0 : 1; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$gameDifficulty = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$showCape0 = !var$2 ? 0 : 1; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet204ClientInfo_writePacketData = ($this, $par1DataOutput) => { let var$2, var$3; var$2 = $this.$language0; nms_Packet_$callClinit(); if (var$2.$nativeString.length > 32767) { var$2 = new ji_IOException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(588); $rt_throw(var$2); } ji_DataOutputStream_writeShort($par1DataOutput, var$2.$nativeString.length); ji_DataOutputStream_writeChars($par1DataOutput, var$2); var$3 = $this.$renderDistance1; $par1DataOutput.$out0.$write1(var$3); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; var$3 = $this.$chatVisisble | (!$this.$chatColours0 ? 0 : 1) << 3; $par1DataOutput.$out0.$write1(var$3); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; var$3 = $this.$gameDifficulty; $par1DataOutput.$out0.$write1(var$3); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; var$3 = $this.$showCape0; $par1DataOutput.$out0.$write1(!var$3 ? 0 : 1); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet204ClientInfo_processPacket = ($this, $par1NetHandler) => { return; }, nms_Packet204ClientInfo_getPacketSize = $this => { return 7; }; function nms_Packet250CustomPayload() { let a = this; nms_Packet.call(a); a.$channel0 = null; a.$length4 = 0; a.$data10 = null; } let nms_Packet250CustomPayload__init_0 = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet250CustomPayload__init_2 = () => { let var_0 = new nms_Packet250CustomPayload(); nms_Packet250CustomPayload__init_0(var_0); return var_0; }, nms_Packet250CustomPayload__init_1 = ($this, $par1Str, $par2ArrayOfByte) => { let var$3, var$4; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$channel0 = $par1Str; $this.$data10 = $par2ArrayOfByte; if ($par2ArrayOfByte !== null) { var$3 = $par2ArrayOfByte.data.length; $this.$length4 = var$3; if (var$3 > 32767) { var$4 = new jl_IllegalArgumentException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(1124); $rt_throw(var$4); } } }, nms_Packet250CustomPayload__init_ = (var_0, var_1) => { let var_2 = new nms_Packet250CustomPayload(); nms_Packet250CustomPayload__init_1(var_2, var_0, var_1); return var_2; }, nms_Packet250CustomPayload_readPacketData = ($this, $par1DataInput) => { let var$2, var$3, var$4; $this.$channel0 = nms_Packet_readString($par1DataInput, 20); var$2 = ji_DataInputStream_readShort($par1DataInput); $this.$length4 = var$2; if (var$2 > 0 && var$2 < 32767) { var$3 = $rt_createByteArray(var$2); var$4 = var$3.data; $this.$data10 = var$3; ji_DataInputStream_readFully($par1DataInput, var$3, 0, var$4.length); } }, nms_Packet250CustomPayload_writePacketData = ($this, $par1DataOutput) => { let var$2, var$3, var$4; var$2 = $this.$channel0; nms_Packet_$callClinit(); if (var$2.$nativeString.length > 32767) { var$2 = new ji_IOException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(588); $rt_throw(var$2); } ji_DataOutputStream_writeShort($par1DataOutput, var$2.$nativeString.length); ji_DataOutputStream_writeChars($par1DataOutput, var$2); ji_DataOutputStream_writeShort($par1DataOutput, $this.$length4 << 16 >> 16); var$3 = $this.$data10; if (var$3 !== null) { var$4 = var$3.data.length; $par1DataOutput.$out0.$write4(var$3, 0, var$4); $par1DataOutput.$written = $par1DataOutput.$written + var$4 | 0; } }, nms_Packet250CustomPayload_processPacket = ($this, $par1NetHandler) => { nms_NetClientHandler_handleCustomPayload($par1NetHandler, $this); }, nms_Packet250CustomPayload_getPacketSize = $this => { return ((2 + ($this.$channel0.$nativeString.length * 2 | 0) | 0) + 2 | 0) + $this.$length4 | 0; }; function nms_MovementInput() { let a = this; jl_Object.call(a); a.$moveStrafe = 0.0; a.$moveForward0 = 0.0; a.$jump0 = 0; a.$sneak = 0; } let nms_MovementInput__init_ = $this => { return; }, nms_MovementInput__init_0 = () => { let var_0 = new nms_MovementInput(); nms_MovementInput__init_(var_0); return var_0; }; function nms_MovementInputFromOptions() { nms_MovementInput.call(this); this.$gameSettings0 = null; } let nms_MovementInputFromOptions_updatePlayerMoveState = $this => { let var$1, var$2; $this.$moveStrafe = 0.0; $this.$moveForward0 = 0.0; var$1 = $this.$gameSettings0; if (var$1.$keyBindForward.$pressed) $this.$moveForward0 = 1.0; if (var$1.$keyBindBack.$pressed) $this.$moveForward0 = $this.$moveForward0 - 1.0; if (var$1.$keyBindLeft.$pressed) $this.$moveStrafe = 1.0; if (var$1.$keyBindRight.$pressed) $this.$moveStrafe = $this.$moveStrafe - 1.0; $this.$jump0 = var$1.$keyBindJump.$pressed; var$2 = var$1.$keyBindSneak.$pressed; $this.$sneak = var$2; if (var$2) { $this.$moveStrafe = $this.$moveStrafe * 0.3; $this.$moveForward0 = $this.$moveForward0 * 0.3; } }; function nms_Packet2ClientProtocol() { let a = this; nms_Packet.call(a); a.$protocolVersion = 0; a.$username1 = null; a.$serverHost = null; a.$viewDistance = 0; } let nms_Packet2ClientProtocol__init_0 = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet2ClientProtocol__init_2 = () => { let var_0 = new nms_Packet2ClientProtocol(); nms_Packet2ClientProtocol__init_0(var_0); return var_0; }, nms_Packet2ClientProtocol__init_ = ($this, $par1, $par2Str, $par3Str, $par4) => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$protocolVersion = $par1; $this.$username1 = $par2Str; $this.$serverHost = $par3Str; $this.$viewDistance = $par4; }, nms_Packet2ClientProtocol__init_1 = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_Packet2ClientProtocol(); nms_Packet2ClientProtocol__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_Packet2ClientProtocol_readPacketData = ($this, $par1DataInputStream) => { let var$2; var$2 = $par1DataInputStream.$in.$read(); if (var$2 >= 0) { $this.$protocolVersion = var$2 << 24 >> 24; $this.$username1 = nms_Packet_readString($par1DataInputStream, 16); $this.$serverHost = nms_Packet_readString($par1DataInputStream, 255); $this.$viewDistance = ji_DataInputStream_readInt($par1DataInputStream); return; } $par1DataInputStream = new ji_EOFException; $par1DataInputStream.$suppressionEnabled = 1; $par1DataInputStream.$writableStackTrace = 1; $rt_throw($par1DataInputStream); }, nms_Packet2ClientProtocol_writePacketData = ($this, $par1DataOutputStream) => { let var$2, var$3; var$2 = $this.$protocolVersion; $par1DataOutputStream.$out0.$write1(var$2); $par1DataOutputStream.$written = $par1DataOutputStream.$written + 1 | 0; var$3 = $this.$username1; nms_Packet_$callClinit(); if (var$3.$nativeString.length > 32767) { var$3 = new ji_IOException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(588); $rt_throw(var$3); } ji_DataOutputStream_writeShort($par1DataOutputStream, var$3.$nativeString.length); ji_DataOutputStream_writeChars($par1DataOutputStream, var$3); var$3 = $this.$serverHost; if (var$3.$nativeString.length <= 32767) { ji_DataOutputStream_writeShort($par1DataOutputStream, var$3.$nativeString.length); ji_DataOutputStream_writeChars($par1DataOutputStream, var$3); ji_DataOutputStream_writeInt($par1DataOutputStream, $this.$viewDistance); return; } var$3 = new ji_IOException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(588); $rt_throw(var$3); }, nms_Packet2ClientProtocol_processPacket = ($this, $par1NetHandler) => { return; }, nms_Packet2ClientProtocol_getPacketSize = $this => { return 3 + (2 * $this.$username1.$nativeString.length | 0) | 0; }; function nms_GuiDisconnected() { let a = this; nms_GuiScreen.call(a); a.$errorMessage = null; a.$errorDetail = null; a.$errorDetail2 = null; a.$errorDetailTryAgain = null; a.$kickForDoS = 0; a.$field_74247_c = null; a.$field_74245_d = null; a.$field_98095_n = null; } let nms_GuiDisconnected__init_0 = ($this, $par1GuiScreen, $par2Str, $par3Str, $par4ArrayOfObj) => { let $var5, var$6, var$7, var$8, var$9, var$10; nms_GuiScreen__init_($this); nms_StringTranslate_$callClinit(); $var5 = nms_StringTranslate_instance; $this.$field_98095_n = $par1GuiScreen; var$6 = $par2Str === $rt_s(3381) ? 1 : jl_String_startsWith($par2Str, $rt_s(3381), 0); a: { b: { if (!var$6) { if ($par2Str === $rt_s(3382)) var$6 = 1; else if (!($rt_s(3382) instanceof jl_String)) var$6 = 0; else { $par1GuiScreen = $rt_s(3382); var$6 = $par2Str.$nativeString !== $par1GuiScreen.$nativeString ? 0 : 1; } if (!var$6) $par2Str = nms_StringTranslate_translateKey($var5, $par2Str); $this.$errorMessage = $par2Str; $this.$errorDetail = $par3Str; $this.$errorDetail2 = null; $this.$errorDetailTryAgain = null; $this.$kickForDoS = 0; } else { $par3Str = new jl_StringBuilder; $par3Str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par3Str, $par3Str.$length0, $par2Str === null ? $rt_s(1) : $par2Str); jl_AbstractStringBuilder_insert($par3Str, $par3Str.$length0, $rt_s(3383)); $par1GuiScreen = new jl_String; var$7 = $par3Str.$buffer; var$8 = var$7.data; var$9 = $par3Str.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $par1GuiScreen.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); $this.$errorMessage = nms_StringTranslate_translateKey($var5, $par1GuiScreen); $par3Str = new jl_StringBuilder; $par3Str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par3Str, $par3Str.$length0, $par2Str === null ? $rt_s(1) : $par2Str); jl_AbstractStringBuilder_insert($par3Str, $par3Str.$length0, $rt_s(3384)); $par1GuiScreen = new jl_String; var$7 = $par3Str.$buffer; var$8 = var$7.data; var$9 = $par3Str.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $par1GuiScreen.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); $this.$errorDetail = nms_StringTranslate_translateKey($var5, $par1GuiScreen); $par3Str = new jl_StringBuilder; $par3Str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par3Str, $par3Str.$length0, $par2Str === null ? $rt_s(1) : $par2Str); jl_AbstractStringBuilder_insert($par3Str, $par3Str.$length0, $rt_s(3385)); $par1GuiScreen = new jl_String; var$7 = $par3Str.$buffer; var$8 = var$7.data; var$9 = $par3Str.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $par1GuiScreen.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); $this.$errorDetail2 = nms_StringTranslate_translateKey($var5, $par1GuiScreen); $par1GuiScreen = new jl_StringBuilder; $par1GuiScreen.$buffer = $rt_createCharArray(16); var$6 = $par1GuiScreen.$length0; if ($par2Str === null) $par2Str = $rt_s(1); jl_AbstractStringBuilder_insert($par1GuiScreen, var$6, $par2Str); jl_AbstractStringBuilder_insert($par1GuiScreen, $par1GuiScreen.$length0, $rt_s(3386)); $par2Str = new jl_String; var$7 = $par1GuiScreen.$buffer; var$8 = var$7.data; var$9 = $par1GuiScreen.$length0; var$10 = var$8.length; if (var$9 < 0) break a; if (var$9 > (var$10 - 0 | 0)) break a; $par2Str.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); $this.$errorDetailTryAgain = nms_StringTranslate_translateKey($var5, $par2Str); $this.$kickForDoS = 1; break b; } $par1GuiScreen = new jl_IndexOutOfBoundsException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); } $par1GuiScreen = new jl_IndexOutOfBoundsException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); } $par1GuiScreen = new jl_IndexOutOfBoundsException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); } } $this.$field_74247_c = $par4ArrayOfObj; return; } $par1GuiScreen = new jl_IndexOutOfBoundsException; $par1GuiScreen.$suppressionEnabled = 1; $par1GuiScreen.$writableStackTrace = 1; $rt_throw($par1GuiScreen); }, nms_GuiDisconnected__init_ = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_GuiDisconnected(); nms_GuiDisconnected__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_GuiDisconnected_keyTyped = ($this, $par1, $par2) => { return; }, nms_GuiDisconnected_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; var$2 = $this.$buttonList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; if (!$this.$kickForDoS) { var$6 = $this.$errorMessage; if ($rt_s(3382) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(3382).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$3 = $this.$field_74247_c; if (var$3 === null) { var$2 = nms_FontRenderer_wrapFormattedStringToWidth($this.$fontRenderer, nms_StringTranslate_translateKey($var1, $this.$errorDetail), $this.$width - 50 | 0); var$3 = jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), var$2, 0); if (var$3 === null) { var$6 = new jl_NullPointerException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); var$6.$message = $rt_s(18); $rt_throw(var$6); } var$2 = new ju_Arrays$ArrayAsList; var$2.$array2 = var$3; $this.$field_74245_d = var$2; } else { var$2 = nms_FontRenderer_wrapFormattedStringToWidth($this.$fontRenderer, nms_StringTranslate_translateKeyFormat($var1, $this.$errorDetail, var$3), $this.$width - 50 | 0); var$3 = jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), var$2, 0); if (var$3 === null) { var$6 = new jl_NullPointerException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); var$6.$message = $rt_s(18); $rt_throw(var$6); } var$2 = new ju_Arrays$ArrayAsList; var$2.$array2 = var$3; $this.$field_74245_d = var$2; } } } if ($this.$kickForDoS) { var$2 = $this.$buttonList; var$6 = new nms_GuiButton; var$9 = ($this.$width / 2 | 0) - 100 | 0; var$4 = $this.$height; var$10 = (var$4 / 2 | 0) + (var$4 / 7 | 0) | 0; $var1 = nms_StringTranslate_translateKey($var1, $rt_s(3387)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 0; var$6.$xPosition = var$9; var$6.$yPosition = var$10; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = $var1; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; } else { var$6 = $this.$errorMessage; if ($rt_s(3382) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(3382).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$2 = $this.$buttonList; var$6 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 100 | 0; var$11 = $this.$height; var$8 = (var$11 - (var$11 / 5 | 0) | 0) - 40 | 0; $var1 = nms_StringTranslate_translateKey($var1, $rt_s(3387)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 0; var$6.$xPosition = var$5; var$6.$yPosition = var$8; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = $var1; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; } else { var$2 = $this.$buttonList; var$6 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 100 | 0; var$8 = (($this.$height / 4 | 0) + 120 | 0) + 12 | 0; $var1 = nms_StringTranslate_translateKey($var1, $rt_s(3387)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 0; var$6.$xPosition = var$5; var$6.$yPosition = var$8; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = $var1; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; } } }, nms_GuiDisconnected_actionPerformed = ($this, $par1GuiButton) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$id0) return; $par1GuiButton = $this.$mc; var$2 = $this.$field_98095_n; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $ptr); }, nms_GuiDisconnected_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, $var4, $s, var$7, $var5$index, $b, var$10, var$11, $var5$index_0, var$13, var$14, $var6, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var6 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var5$index_0 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$b = $thread.pop();$var5$index = $thread.pop();var$7 = $thread.pop();$s = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $var4 = ($this.$height / 2 | 0) - 30 | 0; if ($this.$kickForDoS) { var$4 = $var4 + (-20) | 0; $s = $this.$fontRenderer; var$7 = $this.$errorMessage; $var5$index = $this.$width / 2 | 0; $var4 = var$4 - 20 | 0; $b = 11184810; $var5$index = $var5$index - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; var$10 = $var5$index + 1 | 0; var$11 = $var4 + 1 | 0; $var5$index_0 = 1; $ptr = 2; continue main; } var$7 = $this.$errorMessage; if ($rt_s(3382) === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(3382).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { $s = $this.$fontRenderer; var$7 = $this.$errorMessage; $var5$index = $this.$width / 2 | 0; var$4 = ($this.$height / 2 | 0) - 50 | 0; $b = 11184810; $var5$index = $var5$index - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; var$10 = $var5$index + 1 | 0; var$11 = var$4 + 1 | 0; $var5$index_0 = 1; $ptr = 6; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); $s = nleg_EaglerAdapterGL30_deevis; $s.$x = 1.5; $s.$y = 1.5; $s.$z = 1.5; $s = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $s, $s); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $s = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($s); $s.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $s.$sb = var$7; $s.$buffer0 = $rt_createCharArray(32); $s.$autoFlush = 0; $s.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $s; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $s = $this.$fontRenderer; var$7 = $rt_s(3388); var$4 = $this.$width / 3 | 0; $var5$index = ($this.$height / 4 | 0) - 30 | 0; $var4 = 14505301; var$4 = var$4 - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; $b = var$4 + 1 | 0; var$10 = $var5$index + 1 | 0; var$11 = 1; $ptr = 8; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } $var4 = ($this.$height / 2 | 0) - 30 | 0; if ($this.$kickForDoS) { var$4 = $var4 + (-20) | 0; $s = $this.$fontRenderer; var$7 = $this.$errorMessage; $var5$index = $this.$width / 2 | 0; $var4 = var$4 - 20 | 0; $b = 11184810; $var5$index = $var5$index - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; var$10 = $var5$index + 1 | 0; var$11 = $var4 + 1 | 0; $var5$index_0 = 1; $ptr = 2; continue main; } var$7 = $this.$errorMessage; if ($rt_s(3382) === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(3382).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { $s = $this.$fontRenderer; var$7 = $this.$errorMessage; $var5$index = $this.$width / 2 | 0; var$4 = ($this.$height / 2 | 0) - 50 | 0; $b = 11184810; $var5$index = $var5$index - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; var$10 = $var5$index + 1 | 0; var$11 = var$4 + 1 | 0; $var5$index_0 = 1; $ptr = 6; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); $s = nleg_EaglerAdapterGL30_deevis; $s.$x = 1.5; $s.$y = 1.5; $s.$z = 1.5; $s = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $s, $s); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $s = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($s); $s.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $s.$sb = var$7; $s.$buffer0 = $rt_createCharArray(32); $s.$autoFlush = 0; $s.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $s; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $s = $this.$fontRenderer; var$7 = $rt_s(3388); var$4 = $this.$width / 3 | 0; $var5$index = ($this.$height / 4 | 0) - 30 | 0; $var4 = 14505301; var$4 = var$4 - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; $b = var$4 + 1 | 0; var$10 = $var5$index + 1 | 0; var$11 = 1; $ptr = 8; continue main; case 2: $tmp = nms_FontRenderer_renderString($s, var$7, var$10, var$11, $b, $var5$index_0); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString($s, var$7, $var5$index, $var4, $b, var$10); if ($rt_suspending()) { break main; } $var5$index = $tmp; $s = $this.$fontRenderer; var$7 = $this.$errorDetail; $var5$index = $this.$width / 2 | 0; $var4 = var$4 + 10 | 0; $b = 16777215; $var5$index = $var5$index - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; var$10 = $var5$index + 1 | 0; var$11 = $var4 + 1 | 0; $var5$index_0 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($s, var$7, var$10, var$11, $b, $var5$index_0); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString($s, var$7, $var5$index, $var4, $b, var$10); if ($rt_suspending()) { break main; } $var5$index = $tmp; $s = $this.$errorDetail2; $b = $s === $rt_s(3389) ? 1 : jl_String_startsWith($s, $rt_s(3389), 0); if ($b) { $s = jl_String_substring($s, 1, $s.$nativeString.length); var$4 = var$4 + (-2) | 0; } var$7 = $this.$fontRenderer; $var5$index = $this.$width / 2 | 0; $var4 = var$4 + 24 | 0; $b = !$b ? 16733525 : 16777215; $var5$index = $var5$index - (nms_FontRenderer_getStringWidth(var$7, $s) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = $var5$index + 1 | 0; var$11 = $var4 + 1 | 0; $var5$index_0 = 1; $ptr = 13; continue main; case 6: $tmp = nms_FontRenderer_renderString($s, var$7, var$10, var$11, $b, $var5$index_0); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString($s, var$7, $var5$index, var$4, $b, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$7 = $this.$field_74245_d; if (var$7 !== null) { var$13 = var$7.$modCount; var$14 = var$7.$size(); if (0 >= var$14 ? 0 : 1) { if (var$13 < var$7.$modCount) { $s = new ju_ConcurrentModificationException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $var5$index_0 = 0 + 1 | 0; $var6 = var$7.$get(0); $s = $this.$fontRenderer; var$4 = $this.$width / 2 | 0; $var5$index = 16777215; var$4 = var$4 - (nms_FontRenderer_getStringWidth($s, $var6) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; $b = var$4 + 1 | 0; var$10 = $var4 + 1 | 0; var$11 = 1; $ptr = 15; continue main; } } var$4 = 0; $s = $this.$buttonList; $var5$index = $rt_compare(var$4, $s.$size0); if ($var5$index >= 0) return; if (var$4 >= 0 && $var5$index < 0) { $s = $s.$array.data[var$4]; var$7 = $this.$mc; $ptr = 12; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); case 8: $tmp = nms_FontRenderer_renderString($s, var$7, $b, var$10, $var4, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; $b = 0; $ptr = 9; case 9: $tmp = nms_FontRenderer_renderString($s, var$7, var$4, $var5$index, $var4, $b); if ($rt_suspending()) { break main; } var$4 = $tmp; nleg_EaglerAdapterGL30_glPopMatrix(); $s = $this.$fontRenderer; var$7 = $rt_s(3390); var$4 = $this.$width / 2 | 0; $var5$index = ($this.$height / 2 | 0) - 55 | 0; $var4 = 14540100; var$4 = var$4 - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; $b = var$4 + 1 | 0; var$10 = $var5$index + 1 | 0; var$11 = 1; $ptr = 10; case 10: $tmp = nms_FontRenderer_renderString($s, var$7, $b, var$10, $var4, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; $b = 0; $ptr = 11; case 11: $tmp = nms_FontRenderer_renderString($s, var$7, var$4, $var5$index, $var4, $b); if ($rt_suspending()) { break main; } var$4 = $tmp; $s = $this.$fontRenderer; nms_EnumChatFormatting_$callClinit(); var$7 = nms_EnumChatFormatting_GRAY; var$16 = var$7 === null ? $rt_s(1) : var$7.$field_96304_B; var$7 = nms_EnumChatFormatting_RESET; var$17 = var$7 === null ? $rt_s(1) : var$7.$field_96304_B; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(3391)); var$4 = var$7.$length0; if (var$16 === null) var$16 = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, var$4, var$16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(28)); var$4 = var$7.$length0; if (var$17 === null) var$17 = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, var$4, var$17); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(3392)); $var6 = new jl_String; var$18 = var$7.$buffer; var$19 = var$18.data; $var5$index = var$7.$length0; $var4 = var$19.length; if ($var5$index >= 0 && $var5$index <= ($var4 - 0 | 0)) { $var6.$nativeString = $rt_charArrayToString(var$18.data, 0, $var5$index); var$4 = $this.$width / 2 | 0; $var5$index = ($this.$height / 2 | 0) - 35 | 0; $var4 = 4504388; var$4 = var$4 - (nms_FontRenderer_getStringWidth($s, $var6) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; $b = var$4 + 1 | 0; var$10 = $var5$index + 1 | 0; var$11 = 1; $ptr = 19; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($s); $rt_throw($s); case 12: $s.$drawButton(var$7, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; $s = $this.$buttonList; $var5$index = $rt_compare(var$4, $s.$size0); if ($var5$index >= 0) return; if (var$4 >= 0 && $var5$index < 0) { $s = $s.$array.data[var$4]; var$7 = $this.$mc; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); case 13: $tmp = nms_FontRenderer_renderString(var$7, $s, var$10, var$11, $b, $var5$index_0); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 14; case 14: $tmp = nms_FontRenderer_renderString(var$7, $s, $var5$index, $var4, $b, var$10); if ($rt_suspending()) { break main; } $var5$index = $tmp; $s = $this.$fontRenderer; var$7 = $this.$errorDetailTryAgain; $var5$index = $this.$width / 2 | 0; var$4 = var$4 + 50 | 0; $var4 = 7829367; $var5$index = $var5$index - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; $b = $var5$index + 1 | 0; var$10 = var$4 + 1 | 0; var$11 = 1; $ptr = 17; continue main; case 15: $tmp = nms_FontRenderer_renderString($s, $var6, $b, var$10, $var5$index, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; $b = 0; $ptr = 16; case 16: $tmp = nms_FontRenderer_renderString($s, $var6, var$4, $var4, $var5$index, $b); if ($rt_suspending()) { break main; } var$4 = $tmp; $var4 = $var4 + $this.$fontRenderer.$FONT_HEIGHT | 0; $var5$index = $var5$index_0; if (!($var5$index >= var$14 ? 0 : 1)) { var$4 = 0; $s = $this.$buttonList; $var5$index = $rt_compare(var$4, $s.$size0); if ($var5$index >= 0) return; if (var$4 >= 0 && $var5$index < 0) { $s = $s.$array.data[var$4]; var$7 = $this.$mc; $ptr = 12; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } if (var$13 < var$7.$modCount) { $s = new ju_ConcurrentModificationException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $var5$index_0 = $var5$index + 1 | 0; $var6 = var$7.$get($var5$index); $s = $this.$fontRenderer; var$4 = $this.$width / 2 | 0; $var5$index = 16777215; var$4 = var$4 - (nms_FontRenderer_getStringWidth($s, $var6) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; $b = var$4 + 1 | 0; var$10 = $var4 + 1 | 0; var$11 = 1; $ptr = 15; continue main; case 17: $tmp = nms_FontRenderer_renderString($s, var$7, $b, var$10, $var4, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; $b = 0; $ptr = 18; case 18: $tmp = nms_FontRenderer_renderString($s, var$7, $var5$index, var$4, $var4, $b); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; $s = $this.$buttonList; $var5$index = $rt_compare(var$4, $s.$size0); if ($var5$index >= 0) return; if (var$4 >= 0 && $var5$index < 0) { $s = $s.$array.data[var$4]; var$7 = $this.$mc; $ptr = 12; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); case 19: $tmp = nms_FontRenderer_renderString($s, $var6, $b, var$10, $var4, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; $b = 0; $ptr = 20; case 20: $tmp = nms_FontRenderer_renderString($s, $var6, var$4, $var5$index, $var4, $b); if ($rt_suspending()) { break main; } var$4 = $tmp; $s = $this.$fontRenderer; var$7 = $rt_s(3393); var$4 = $this.$width / 2 | 0; $var5$index = ($this.$height / 2 | 0) - 23 | 0; $var4 = 4504388; var$4 = var$4 - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; $b = var$4 + 1 | 0; var$10 = $var5$index + 1 | 0; var$11 = 1; $ptr = 21; case 21: $tmp = nms_FontRenderer_renderString($s, var$7, $b, var$10, $var4, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; $b = 0; $ptr = 22; case 22: $tmp = nms_FontRenderer_renderString($s, var$7, var$4, $var5$index, $var4, $b); if ($rt_suspending()) { break main; } var$4 = $tmp; nleg_EaglerAdapterGL30_glPushMatrix(); $s = nleg_EaglerAdapterGL30_deevis; $s.$x = 1.0; $s.$y = 1.0; $s.$z = 1.0; $s = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $s, $s); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $s = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($s); $s.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $s.$sb = var$7; $s.$buffer0 = $rt_createCharArray(32); $s.$autoFlush = 0; $s.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $s; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $s = $this.$fontRenderer; var$7 = $rt_s(3394); var$4 = $this.$width / 2 | 0; $var5$index = ($this.$height / 2 | 0) - 3 | 0; $var4 = 6710886; $b = var$4 - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; var$4 = $b + 1 | 0; var$10 = $var5$index + 1 | 0; var$11 = 1; $ptr = 23; case 23: $tmp = nms_FontRenderer_renderString($s, var$7, var$4, var$10, $var4, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$4 = 0; $ptr = 24; case 24: $tmp = nms_FontRenderer_renderString($s, var$7, $b, $var5$index, $var4, var$4); if ($rt_suspending()) { break main; } var$4 = $tmp; $s = $this.$fontRenderer; var$7 = $rt_s(3395); var$4 = $this.$width / 2 | 0; $var5$index = ($this.$height / 2 | 0) + 5 | 0; $var4 = 6710886; $b = var$4 - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; var$4 = $b + 1 | 0; var$10 = $var5$index + 1 | 0; var$11 = 1; $ptr = 25; case 25: $tmp = nms_FontRenderer_renderString($s, var$7, var$4, var$10, $var4, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$4 = 0; $ptr = 26; case 26: $tmp = nms_FontRenderer_renderString($s, var$7, $b, $var5$index, $var4, var$4); if ($rt_suspending()) { break main; } var$4 = $tmp; $s = $this.$fontRenderer; var$7 = $rt_s(3396); var$4 = $this.$width / 2 | 0; $var5$index = ($this.$height / 2 | 0) + 14 | 0; $var4 = 6710886; var$4 = var$4 - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; $b = var$4 + 1 | 0; var$10 = $var5$index + 1 | 0; var$11 = 1; $ptr = 27; case 27: $tmp = nms_FontRenderer_renderString($s, var$7, $b, var$10, $var4, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; $b = 0; $ptr = 28; case 28: $tmp = nms_FontRenderer_renderString($s, var$7, var$4, $var5$index, $var4, $b); if ($rt_suspending()) { break main; } var$4 = $tmp; $s = $this.$fontRenderer; var$7 = $rt_s(3397); var$4 = $this.$width / 2 | 0; $var5$index = ($this.$height / 2 | 0) + 23 | 0; $var4 = 6710886; var$4 = var$4 - (nms_FontRenderer_getStringWidth($s, var$7) / 2 | 0) | 0; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; $b = var$4 + 1 | 0; var$10 = $var5$index + 1 | 0; var$11 = 1; $ptr = 29; case 29: $tmp = nms_FontRenderer_renderString($s, var$7, $b, var$10, $var4, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; $b = 0; $ptr = 30; case 30: $tmp = nms_FontRenderer_renderString($s, var$7, var$4, $var5$index, $var4, $b); if ($rt_suspending()) { break main; } var$4 = $tmp; nleg_EaglerAdapterGL30_glPopMatrix(); var$4 = 0; $s = $this.$buttonList; $var5$index = $rt_compare(var$4, $s.$size0); if ($var5$index >= 0) return; if (var$4 >= 0 && $var5$index < 0) { $s = $s.$array.data[var$4]; var$7 = $this.$mc; $ptr = 12; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, $s, var$7, $var5$index, $b, var$10, var$11, $var5$index_0, var$13, var$14, $var6, var$16, var$17, var$18, var$19, $ptr); }; function nle_RelayServer() { let a = this; jl_Object.call(a); a.$address = null; a.$comment = null; a.$primary = 0; a.$query = null; a.$queriedVersion = 0; a.$queriedComment = null; a.$queriedVendor = null; a.$queriedCompatible = null; a.$ping = Long_ZERO; a.$workingPing = Long_ZERO; a.$lastPing = Long_ZERO; } let nle_RelayServer_update = $this => { let var$1; var$1 = $this.$query; if (var$1 !== null && !var$1.$isQueryOpen()) { if ($this.$query.$isQueryFailed()) { $this.$queriedVersion = (-1); $this.$queriedComment = null; $this.$queriedVendor = null; $this.$queriedCompatible = nle_RelayQuery$VersionMismatch_UNKNOWN; $this.$ping = Long_ZERO; } else { $this.$queriedVersion = $this.$query.$getVersion(); $this.$queriedComment = $this.$query.$getComment(); $this.$queriedVendor = $this.$query.$getBrand(); $this.$ping = $this.$query.$getPing(); $this.$queriedCompatible = $this.$query.$getCompatible(); $this.$workingPing = $this.$ping; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$lastPing = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$query = null; } }, nle_RelayServer_close = $this => { let var$1; var$1 = $this.$query; if (var$1 !== null && var$1.$isQueryOpen()) { $this.$query.$close(); $this.$query = null; $this.$queriedVersion = (-1); $this.$queriedComment = null; $this.$queriedVendor = null; $this.$queriedCompatible = nle_RelayQuery$VersionMismatch_UNKNOWN; $this.$ping = Long_ZERO; } }, jt_DecimalFormat$MinusField = $rt_classWithoutFields(), jt_DecimalFormat$MinusField__init_ = $this => { return; }, jt_DecimalFormat$MinusField__init_0 = () => { let var_0 = new jt_DecimalFormat$MinusField(); jt_DecimalFormat$MinusField__init_(var_0); return var_0; }, jt_DecimalFormat$MinusField_render = ($this, $format, $buffer) => { let var$3, var$4; var$3 = $format.$symbols.$minusSign; var$4 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$4, var$4 + 1 | 0); $buffer.$buffer.data[var$4] = var$3; }, jt_DecimalFormat$MinusField_equals = ($this, $obj) => { return $obj instanceof jt_DecimalFormat$MinusField; }, jt_DecimalFormat$MinusField_hashCode = $this => { return 3; }, nms_Facing = $rt_classWithoutFields(), nms_Facing_oppositeSide = null, nms_Facing_offsetsXForSide = null, nms_Facing_offsetsYForSide = null, nms_Facing_offsetsZForSide = null, nms_Facing_facings = null, nms_Facing__init_ = $this => { return; }, nms_Facing__init_0 = () => { let var_0 = new nms_Facing(); nms_Facing__init_(var_0); return var_0; }, nms_Facing__clinit_ = () => { nms_Facing_oppositeSide = $rt_createIntArrayFromData([1, 0, 3, 2, 5, 4]); nms_Facing_offsetsXForSide = $rt_createIntArrayFromData([0, 0, 0, 0, (-1), 1]); nms_Facing_offsetsYForSide = $rt_createIntArrayFromData([(-1), 1, 0, 0, 0, 0]); nms_Facing_offsetsZForSide = $rt_createIntArrayFromData([0, 0, (-1), 1, 0, 0]); nms_Facing_facings = $rt_wrapArray(jl_String, [$rt_s(343), $rt_s(338), $rt_s(3341), $rt_s(3339), $rt_s(3340), $rt_s(3342)]); }; function jl_ClassLoader() { jl_Object.call(this); this.$parent6 = null; } let jl_ClassLoader_systemClassLoader = null, jl_ClassLoader_$callClinit = () => { jl_ClassLoader_$callClinit = $rt_eraseClinit(jl_ClassLoader); jl_ClassLoader__clinit_(); }, jl_ClassLoader__clinit_ = () => { let var$1; var$1 = new jl_SystemClassLoader; jl_ClassLoader_$callClinit(); var$1.$parent6 = null; jl_ClassLoader_systemClassLoader = var$1; }; function nms_WatchableObject() { let a = this; jl_Object.call(a); a.$objectType = 0; a.$dataValueId = 0; a.$watchedObject = null; a.$watched = 0; } let nms_WatchableObject_setObject = ($this, $par1Obj) => { $this.$watchedObject = $par1Obj; }, nms_WatchableObject_getObject = $this => { return $this.$watchedObject; }, nms_WatchableObject_setWatched = ($this, $par1) => { $this.$watched = $par1; }, nms_WatchableObject_setWatchableObjectWatched = ($par0WatchableObject, $par1) => { $par0WatchableObject.$watched = $par1; return $par1; }; function ju_IdentityHashMap$HashEntry() { let a = this; ju_MapEntry.call(a); a.$origKeyHash0 = 0; a.$next6 = null; } function nms_ContainerCreative() { nms_Container.call(this); this.$itemList = null; } let nms_ContainerCreative__init_0 = ($this, $par1EntityPlayer) => { let $var2, var$3, var$4, var$5, var$6, $var3, $var4, var$9, var$10; $var2 = new ju_ArrayList; $var2.$array = $rt_createArray(jl_Object, 10); $this.$inventoryItemStacks = $var2; $var2 = new ju_ArrayList; $var2.$array = $rt_createArray(jl_Object, 10); $this.$inventorySlots = $var2; $this.$field_94535_f = (-1); $var2 = new ju_HashSet; var$3 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; var$3.$elementData = var$5; var$3.$loadFactor = 0.75; var$3.$threshold = var$6.length * 0.75 | 0; $var2.$backingMap = var$3; $this.$field_94537_h = $var2; $var2 = new ju_ArrayList; $var2.$array = $rt_createArray(jl_Object, 10); $this.$crafters = $var2; $var2 = new ju_HashSet; var$3 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; var$3.$elementData = var$5; var$3.$loadFactor = 0.75; var$3.$threshold = var$6.length * 0.75 | 0; $var2.$backingMap = var$3; $this.$playerList = $var2; $var2 = new ju_ArrayList; $var2.$array = $rt_createArray(jl_Object, 10); $this.$itemList = $var2; $var2 = $par1EntityPlayer.$inventory; $var3 = 0; while ($var3 < 5) { $var4 = 0; while ($var4 < 9) { var$3 = new nms_Slot; nms_GuiContainerCreative_$callClinit(); $par1EntityPlayer = nms_GuiContainerCreative_inventory; var$9 = ($var3 * 9 | 0) + $var4 | 0; var$10 = 9 + ($var4 * 18 | 0) | 0; var$4 = 18 + ($var3 * 18 | 0) | 0; var$3.$inventory0 = $par1EntityPlayer; var$3.$slotIndex = var$9; var$3.$xDisplayPosition = var$10; var$3.$yDisplayPosition = var$4; $par1EntityPlayer = $this.$inventorySlots; var$4 = $par1EntityPlayer.$size0; var$3.$slotNumber = var$4; ju_ArrayList_ensureCapacity($par1EntityPlayer, var$4 + 1 | 0); var$6 = $par1EntityPlayer.$array.data; var$9 = $par1EntityPlayer.$size0; $par1EntityPlayer.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; $par1EntityPlayer.$modCount = $par1EntityPlayer.$modCount + 1 | 0; $par1EntityPlayer = $this.$inventoryItemStacks; var$3 = null; ju_ArrayList_ensureCapacity($par1EntityPlayer, $par1EntityPlayer.$size0 + 1 | 0); var$6 = $par1EntityPlayer.$array.data; var$9 = $par1EntityPlayer.$size0; $par1EntityPlayer.$size0 = var$9 + 1 | 0; var$6[var$9] = var$3; $par1EntityPlayer.$modCount = $par1EntityPlayer.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } $var4 = 0; while ($var4 < 9) { $par1EntityPlayer = new nms_Slot; var$4 = 9 + ($var4 * 18 | 0) | 0; $par1EntityPlayer.$inventory0 = $var2; $par1EntityPlayer.$slotIndex = $var4; $par1EntityPlayer.$xDisplayPosition = var$4; $par1EntityPlayer.$yDisplayPosition = 112; var$3 = $this.$inventorySlots; $var3 = var$3.$size0; $par1EntityPlayer.$slotNumber = $var3; ju_ArrayList_ensureCapacity(var$3, $var3 + 1 | 0); var$6 = var$3.$array.data; $var3 = var$3.$size0; var$3.$size0 = $var3 + 1 | 0; var$6[$var3] = $par1EntityPlayer; var$3.$modCount = var$3.$modCount + 1 | 0; $par1EntityPlayer = $this.$inventoryItemStacks; var$3 = null; ju_ArrayList_ensureCapacity($par1EntityPlayer, $par1EntityPlayer.$size0 + 1 | 0); var$6 = $par1EntityPlayer.$array.data; $var3 = $par1EntityPlayer.$size0; $par1EntityPlayer.$size0 = $var3 + 1 | 0; var$6[$var3] = var$3; $par1EntityPlayer.$modCount = $par1EntityPlayer.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } nms_ContainerCreative_scrollTo($this, 0.0); }, nms_ContainerCreative__init_ = var_0 => { let var_1 = new nms_ContainerCreative(); nms_ContainerCreative__init_0(var_1, var_0); return var_1; }, nms_ContainerCreative_canInteractWith = ($this, $par1EntityPlayer) => { return 1; }, nms_ContainerCreative_scrollTo = ($this, $par1) => { let $var3, $var4, var$4, $var5, $var6, var$7, $var2, var$9, var$10; $var3 = $par1 * ((($this.$itemList.$size0 / 9 | 0) - 5 | 0) + 1 | 0) + 0.5 | 0; if ($var3 < 0) $var3 = 0; $var4 = 0; var$4 = null; a: { while ($var4 < 5) { $var5 = 0; while ($var5 < 9) { b: { $var6 = $var5 + (($var4 + $var3 | 0) * 9 | 0) | 0; if ($var6 >= 0) { var$7 = $this.$itemList; $var2 = $rt_compare($var6, var$7.$size0); if ($var2 < 0) { nms_GuiContainerCreative_$callClinit(); var$9 = nms_GuiContainerCreative_inventory; var$10 = $var5 + ($var4 * 9 | 0) | 0; if ($var6 < 0) break a; if ($var2 >= 0) break a; var$7 = var$7.$array.data[$var6]; var$9.$inventoryContents.data[var$10] = var$7; if (var$7 !== null && var$7.$stackSize > 64) var$7.$stackSize = 64; nms_InventoryBasic_onInventoryChanged(var$9); break b; } } nms_GuiContainerCreative_$callClinit(); var$7 = nms_GuiContainerCreative_inventory; $var2 = $var5 + ($var4 * 9 | 0) | 0; var$7.$inventoryContents.data[$var2] = var$4; if (var$4 !== null && var$4.$stackSize > 64) var$4.$stackSize = 64; nms_InventoryBasic_onInventoryChanged(var$7); } $var5 = $var5 + 1 | 0; } $var4 = $var4 + 1 | 0; } return; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); }, nms_ContainerCreative_retrySlotClick = ($this, $par1, $par2, $par3, $par4EntityPlayer) => { return; }, nms_ContainerCreative_transferStackInSlot = ($this, $par1EntityPlayer, $par2) => { let var$3, var$4, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $par1EntityPlayer = $this.$inventorySlots; var$3 = $par1EntityPlayer.$size0; if ($par2 >= (var$3 - 9 | 0)) { var$4 = $rt_compare($par2, var$3); if (var$4 < 0) { if ($par2 >= 0 && var$4 < 0) { $var3 = $par1EntityPlayer.$array.data[$par2]; if ($var3 === null) break a; if (!$var3.$getHasStack()) break a; else { $par1EntityPlayer = null; $ptr = 1; continue main; } } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } } } return null; case 1: $var3.$putStack($par1EntityPlayer); if ($rt_suspending()) { break main; } return null; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, var$3, var$4, $var3, $ptr); }, nms_ContainerCreative_func_94530_a = ($this, $par1ItemStack, $par2Slot) => { return $par2Slot.$yDisplayPosition <= 90 ? 0 : 1; }, nms_ContainerCreative_canDragIntoSlot = ($this, $par1Slot) => { let var$2; a: { b: { if (!($par1Slot.$inventory0 instanceof nms_InventoryPlayer)) { if ($par1Slot.$yDisplayPosition <= 90) break b; if ($par1Slot.$xDisplayPosition > 162) break b; } var$2 = 1; break a; } var$2 = 0; } return var$2; }; function nms_GuiTextField() { let a = this; nms_Gui.call(a); a.$fontRenderer1 = null; a.$xPos = 0; a.$yPos = 0; a.$width6 = 0; a.$height7 = 0; a.$text = null; a.$maxStringLength = 0; a.$cursorCounter = 0; a.$enableBackgroundDrawing = 0; a.$canLoseFocus = 0; a.$isFocused0 = 0; a.$isEnabled = 0; a.$lineScrollOffset = 0; a.$cursorPosition = 0; a.$selectionEnd = 0; a.$enabledColor = 0; a.$disabledColor = 0; a.$visible = 0; } let nms_GuiTextField__init_0 = ($this, $par1FontRenderer, $par2, $par3, $par4, $par5) => { nms_Gui_$callClinit(); $this.$text = $rt_s(18); $this.$maxStringLength = 32; $this.$enableBackgroundDrawing = 1; $this.$canLoseFocus = 1; $this.$isEnabled = 1; $this.$enabledColor = 14737632; $this.$disabledColor = 7368816; $this.$visible = 1; $this.$fontRenderer1 = $par1FontRenderer; $this.$xPos = $par2; $this.$yPos = $par3; $this.$width6 = $par4; $this.$height7 = $par5; }, nms_GuiTextField__init_ = (var_0, var_1, var_2, var_3, var_4) => { let var_5 = new nms_GuiTextField(); nms_GuiTextField__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; }, nms_GuiTextField_getText = $this => { return $this.$text; }, nms_GuiTextField_writeText = ($this, $par1Str) => { let $var2, var$3, var$4, $var5, $var4, $var5_0, var$8, var$9, var$10, $var8, var$12; $var2 = $rt_s(18); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$4 = $rt_createCharArray($par1Str.$nativeString.length).data; $var5 = 0; $var4 = var$4.length; while (true) { if ($var5 >= $var4) { $var5 = 0; while ($var5 < $var4) { a: { b: { $var5_0 = var$4[$var5]; if ($var5_0 != 167) { if (jl_String_indexOf(nms_ChatAllowedCharacters_allowedCharacters, $var5_0, 0) >= 0) break b; if ($var5_0 > 32) break b; } var$8 = 0; break a; } var$8 = 1; } if (var$8) { var$8 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$8, var$8 + 1 | 0); var$3.$buffer.data[var$8] = $var5_0; } $var5 = $var5 + 1 | 0; } var$9 = new jl_String; var$4 = var$3.$buffer; var$10 = var$4.data; $var5_0 = var$3.$length0; var$8 = var$10.length; if ($var5_0 >= 0 && $var5_0 <= (var$8 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$4.data, 0, $var5_0); $var5 = $this.$cursorPosition; $var5_0 = $this.$selectionEnd; var$8 = $rt_compare($var5, $var5_0); $var4 = var$8 >= 0 ? $var5_0 : $var5; if (var$8 < 0) $var5 = $var5_0; $var8 = ($this.$maxStringLength - $this.$text.$nativeString.length | 0) - ($var4 - $this.$selectionEnd | 0) | 0; if ($this.$text.$nativeString.length > 0) { $par1Str = jl_String_substring($this.$text, 0, $var4); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $var2); $var5_0 = var$3.$length0; if ($par1Str === null) $par1Str = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var5_0, $par1Str); $var2 = new jl_String; var$4 = var$3.$buffer; var$10 = var$4.data; var$8 = var$3.$length0; var$12 = var$10.length; if (var$8 >= 0 && var$8 <= (var$12 - 0 | 0)) $var2.$nativeString = $rt_charArrayToString(var$4.data, 0, var$8); else { $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); } } c: { if ($var8 >= var$9.$nativeString.length) { var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $var2); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$9); $par1Str = new jl_String; var$4 = var$3.$buffer; var$10 = var$4.data; var$8 = var$3.$length0; var$12 = var$10.length; if (var$8 >= 0 && var$8 <= (var$12 - 0 | 0)) { $par1Str.$nativeString = $rt_charArrayToString(var$4.data, 0, var$8); $var8 = var$9.$nativeString.length; break c; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); } $par1Str = jl_String_substring(var$9, 0, $var8); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $var2); $var5_0 = var$3.$length0; if ($par1Str === null) $par1Str = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, $var5_0, $par1Str); $par1Str = new jl_String; var$4 = var$3.$buffer; var$10 = var$4.data; var$8 = var$3.$length0; var$12 = var$10.length; if (var$8 >= 0 && var$8 <= (var$12 - 0 | 0)) $par1Str.$nativeString = $rt_charArrayToString(var$4.data, 0, var$8); else { $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); } } if ($this.$text.$nativeString.length > 0 && $var5 < $this.$text.$nativeString.length) { $var2 = $this.$text; var$3 = jl_String_substring($var2, $var5, $var2.$nativeString.length); $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $par1Str); $var5 = $var2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($var2, $var5, var$3); $par1Str = new jl_String; var$4 = $var2.$buffer; var$10 = var$4.data; $var5_0 = $var2.$length0; var$8 = var$10.length; if ($var5_0 >= 0 && $var5_0 <= (var$8 - 0 | 0)) $par1Str.$nativeString = $rt_charArrayToString(var$4.data, 0, $var5_0); else { $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); } } $this.$text = $par1Str; $var5 = $this.$selectionEnd; $this.$cursorPosition = $var5 + (($var4 - $var5 | 0) + $var8 | 0) | 0; $var5_0 = $par1Str.$nativeString.length; if ($this.$cursorPosition < 0) $this.$cursorPosition = 0; if ($this.$cursorPosition > $var5_0) $this.$cursorPosition = $var5_0; nms_GuiTextField_setSelectionPos($this, $this.$cursorPosition); return; } $par1Str = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1Str); $rt_throw($par1Str); } if ($var5 < 0) break; if ($var5 >= $par1Str.$nativeString.length) break; var$4[$var5] = $par1Str.$nativeString.charCodeAt($var5); $var5 = $var5 + 1 | 0; } $par1Str = new jl_StringIndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); }, nms_GuiTextField_deleteFromCursor = ($this, $par1) => { let $var2, $var4, $var3, $var5, var$6, var$7, var$8, var$9, var$10; if ($this.$text.$nativeString.length) { $var2 = $this.$selectionEnd; $var4 = $this.$cursorPosition; if ($var2 != $var4) nms_GuiTextField_writeText($this, $rt_s(18)); else { $var2 = $par1 >= 0 ? 0 : 1; $var3 = !$var2 ? $var4 : $var4 + $par1 | 0; if (!$var2) $var4 = $var4 + $par1 | 0; $var5 = $rt_s(18); if ($var3 >= 0) $var5 = jl_String_substring($this.$text, 0, $var3); if ($var4 < $this.$text.$nativeString.length) { var$6 = $this.$text; var$6 = jl_String_substring(var$6, $var4, var$6.$nativeString.length); var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); $var4 = var$7.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, $var4, $var5); $var4 = var$7.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, $var4, var$6); $var5 = new jl_String; var$8 = var$7.$buffer; var$9 = var$8.data; var$10 = var$7.$length0; $var4 = var$9.length; if (var$10 >= 0 && var$10 <= ($var4 - 0 | 0)) $var5.$nativeString = $rt_charArrayToString(var$8.data, 0, var$10); else { var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); $rt_throw(var$6); } } $this.$text = $var5; if ($var2) { $this.$cursorPosition = $this.$selectionEnd + $par1 | 0; $var2 = $var5.$nativeString.length; if ($this.$cursorPosition < 0) $this.$cursorPosition = 0; if ($this.$cursorPosition > $var2) $this.$cursorPosition = $var2; nms_GuiTextField_setSelectionPos($this, $this.$cursorPosition); } } } }, nms_GuiTextField_func_73798_a = ($this, $var6, $par2, $par3) => { let $var5, $var7, $var8, var$7; $var5 = $var6 >= 0 ? 0 : 1; if ($var6 < 0) $var6 = -$var6 | 0; $var7 = 0; a: { b: { c: { while ($var7 < $var6) { d: { if (!$var5) { $var8 = $this.$text.$nativeString.length; $par2 = jl_String_indexOf($this.$text, 32, $par2); if ($par2 == (-1)) $par2 = $var8; else while ($par3) { if ($par2 >= $var8) break d; var$7 = $this.$text; if ($par2 < 0) break a; if ($par2 >= var$7.$nativeString.length) break a; if (var$7.$nativeString.charCodeAt($par2) != 32) break d; $par2 = $par2 + 1 | 0; } } else { e: { while ($par3) { if ($par2 <= 0) break e; var$7 = $this.$text; $var8 = $par2 - 1 | 0; if ($var8 < 0) break b; if ($var8 >= var$7.$nativeString.length) break b; if (var$7.$nativeString.charCodeAt($var8) != 32) break e; $par2 = $par2 + (-1) | 0; } } while ($par2 > 0) { var$7 = $this.$text; $var8 = $par2 - 1 | 0; if ($var8 < 0) break c; if ($var8 >= var$7.$nativeString.length) break c; if (var$7.$nativeString.charCodeAt($var8) == 32) break d; $par2 = $par2 + (-1) | 0; } } } $var7 = $var7 + 1 | 0; } return $par2; } var$7 = new jl_StringIndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } var$7 = new jl_StringIndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } var$7 = new jl_StringIndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); }, nms_GuiTextField_textboxKeyTyped = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$isEnabled && $this.$isFocused0) { a: { switch ($par1) { case 1: break a; case 3: $par1 = $this.$cursorPosition; $par2 = $this.$selectionEnd; var$3 = $rt_compare($par1, $par2); var$4 = var$3 >= 0 ? $par2 : $par1; if (var$3 < 0) $par1 = $par2; var$5 = jl_String_substring($this.$text, var$4, $par1); nms_GuiScreen_$callClinit(); b: { try { nlea_EaglerAdapterImpl2_setClipboard$js_body$_315($rt_ustr(var$5)); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } return 1; case 22: break; case 24: $par1 = $this.$cursorPosition; $par2 = $this.$selectionEnd; var$3 = $rt_compare($par1, $par2); var$4 = var$3 >= 0 ? $par2 : $par1; if (var$3 < 0) $par1 = $par2; var$5 = jl_String_substring($this.$text, var$4, $par1); nms_GuiScreen_$callClinit(); c: { try { nlea_EaglerAdapterImpl2_setClipboard$js_body$_315($rt_ustr(var$5)); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } nms_GuiTextField_writeText($this, $rt_s(18)); return 1; default: switch ($par2) { case 14: nms_GuiScreen_$callClinit(); if (!(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1)) nms_GuiTextField_deleteFromCursor($this, (-1)); else if ($this.$text.$nativeString.length) { $par2 = $this.$selectionEnd; var$3 = $this.$cursorPosition; if ($par2 != var$3) nms_GuiTextField_writeText($this, $rt_s(18)); else nms_GuiTextField_deleteFromCursor($this, nms_GuiTextField_func_73798_a($this, (-1), var$3, 1) - $this.$cursorPosition | 0); } return 1; case 199: nms_GuiScreen_$callClinit(); if (!nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 0 : 1) nms_GuiTextField_setSelectionPos($this, 0); else { $this.$cursorPosition = 0; $par2 = $this.$text.$nativeString.length; if ($this.$cursorPosition < 0) $this.$cursorPosition = 0; if ($this.$cursorPosition > $par2) $this.$cursorPosition = $par2; nms_GuiTextField_setSelectionPos($this, $this.$cursorPosition); } return 1; case 203: nms_GuiScreen_$callClinit(); if (!nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 0 : 1) { if (!(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1)) nms_GuiTextField_setSelectionPos($this, $this.$selectionEnd - 1 | 0); else nms_GuiTextField_setSelectionPos($this, nms_GuiTextField_func_73798_a($this, (-1), $this.$cursorPosition, 1)); } else if (!(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1)) { $this.$cursorPosition = $this.$selectionEnd + (-1) | 0; $par2 = $this.$text.$nativeString.length; if ($this.$cursorPosition < 0) $this.$cursorPosition = 0; if ($this.$cursorPosition > $par2) $this.$cursorPosition = $par2; nms_GuiTextField_setSelectionPos($this, $this.$cursorPosition); } else { $this.$cursorPosition = nms_GuiTextField_func_73798_a($this, (-1), $this.$cursorPosition, 1); $par2 = $this.$text.$nativeString.length; if ($this.$cursorPosition < 0) $this.$cursorPosition = 0; if ($this.$cursorPosition > $par2) $this.$cursorPosition = $par2; nms_GuiTextField_setSelectionPos($this, $this.$cursorPosition); } return 1; case 205: nms_GuiScreen_$callClinit(); if (!nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 0 : 1) { if (!(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1)) nms_GuiTextField_setSelectionPos($this, $this.$selectionEnd + 1 | 0); else nms_GuiTextField_setSelectionPos($this, nms_GuiTextField_func_73798_a($this, 1, $this.$cursorPosition, 1)); } else if (!(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1)) { $this.$cursorPosition = $this.$selectionEnd + 1 | 0; $par2 = $this.$text.$nativeString.length; if ($this.$cursorPosition < 0) $this.$cursorPosition = 0; if ($this.$cursorPosition > $par2) $this.$cursorPosition = $par2; nms_GuiTextField_setSelectionPos($this, $this.$cursorPosition); } else { $this.$cursorPosition = nms_GuiTextField_func_73798_a($this, 1, $this.$cursorPosition, 1); $par2 = $this.$text.$nativeString.length; if ($this.$cursorPosition < 0) $this.$cursorPosition = 0; if ($this.$cursorPosition > $par2) $this.$cursorPosition = $par2; nms_GuiTextField_setSelectionPos($this, $this.$cursorPosition); } return 1; case 207: nms_GuiScreen_$callClinit(); if (!nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 0 : 1) nms_GuiTextField_setSelectionPos($this, $this.$text.$nativeString.length); else { $this.$cursorPosition = $this.$text.$nativeString.length; $par2 = $this.$text.$nativeString.length; if ($this.$cursorPosition < 0) $this.$cursorPosition = 0; if ($this.$cursorPosition > $par2) $this.$cursorPosition = $par2; nms_GuiTextField_setSelectionPos($this, $this.$cursorPosition); } return 1; case 211: nms_GuiScreen_$callClinit(); if (!(!nlea_EaglerAdapterImpl2_isKeyDown(29) && !nlea_EaglerAdapterImpl2_isKeyDown(157) ? 0 : 1)) nms_GuiTextField_deleteFromCursor($this, 1); else if ($this.$text.$nativeString.length) { $par2 = $this.$selectionEnd; var$3 = $this.$cursorPosition; if ($par2 != var$3) nms_GuiTextField_writeText($this, $rt_s(18)); else nms_GuiTextField_deleteFromCursor($this, nms_GuiTextField_func_73798_a($this, 1, var$3, 1) - $this.$cursorPosition | 0); } return 1; default: } d: { e: { if ($par1 != 167) { if (jl_String_indexOf(nms_ChatAllowedCharacters_allowedCharacters, $par1, 0) >= 0) break e; if ($par1 > 32) break e; } $par2 = 0; break d; } $par2 = 1; } if (!$par2) return 0; var$5 = new jl_String; var$6 = $rt_createCharArray(1); var$7 = var$6.data; var$7[0] = $par1; var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7.length); nms_GuiTextField_writeText($this, var$5); return 1; } nms_GuiScreen_$callClinit(); try { $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } nms_GuiTextField_writeText($this, $rt_s(18)); return 1; } $this.$cursorPosition = $this.$text.$nativeString.length; $par2 = $this.$text.$nativeString.length; if ($this.$cursorPosition < 0) $this.$cursorPosition = 0; if ($this.$cursorPosition > $par2) $this.$cursorPosition = $par2; nms_GuiTextField_setSelectionPos($this, $this.$cursorPosition); nms_GuiTextField_setSelectionPos($this, 0); return 1; } return 0; case 1: f: { try { $tmp = nlea_EaglerAdapterImpl2_getClipboard(); if ($rt_suspending()) { break main; } var$5 = $tmp; if (var$5 === null) var$5 = $rt_s(18); break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } var$5 = $rt_s(18); } nms_GuiTextField_writeText($this, var$5); return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_GuiTextField_mouseClicked = ($this, $par1, $par2, $par3) => { let $var5, var$5, $var4, var$7, $var6; a: { $var5 = $this.$xPos; if ($par1 >= $var5 && $par1 < ($var5 + $this.$width6 | 0)) { var$5 = $this.$yPos; if ($par2 >= var$5 && $par2 < (var$5 + $this.$height7 | 0)) { $var4 = 1; break a; } } $var4 = 0; } if ($this.$canLoseFocus) { $par2 = $this.$isEnabled && $var4 ? 1 : 0; if ($par2 && !$this.$isFocused0) $this.$cursorCounter = 0; $this.$isFocused0 = $par2; } if ($this.$isFocused0 && !$par3) { $var5 = $par1 - $var5 | 0; if ($this.$enableBackgroundDrawing) $var5 = $var5 + (-4) | 0; var$7 = $this.$fontRenderer1; $var6 = $this.$text; $var6 = nms_FontRenderer_trimStringToWidth(var$7, jl_String_substring($var6, $this.$lineScrollOffset, $var6.$nativeString.length), !$this.$enableBackgroundDrawing ? $this.$width6 : $this.$width6 - 8 | 0, 0); $this.$cursorPosition = (nms_FontRenderer_trimStringToWidth($this.$fontRenderer1, $var6, $var5, 0)).$nativeString.length + $this.$lineScrollOffset | 0; $par2 = $this.$text.$nativeString.length; if ($this.$cursorPosition < 0) $this.$cursorPosition = 0; if ($this.$cursorPosition > $par2) $this.$cursorPosition = $par2; nms_GuiTextField_setSelectionPos($this, $this.$cursorPosition); } }, nms_GuiTextField_drawTextBox = $this => { let $var1, $var2, $var12, $var3, $var10, var$6, $var4, $var5, $var6, $var7, $var8, var$12, var$13, $var13, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();$var13 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();$var10 = $thread.pop();$var3 = $thread.pop();$var12 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$visible) { if ($this.$enableBackgroundDrawing) { $var1 = $this.$xPos; $var2 = $var1 - 1 | 0; $var12 = $this.$yPos; nms_Gui_drawRect($var2, $var12 - 1 | 0, ($var1 + $this.$width6 | 0) + 1 | 0, ($var12 + $this.$height7 | 0) + 1 | 0, (-6250336)); $var1 = $this.$xPos; $var2 = $this.$yPos; nms_Gui_drawRect($var1, $var2, $var1 + $this.$width6 | 0, $var2 + $this.$height7 | 0, (-16777216)); } $var1 = !$this.$isEnabled ? $this.$disabledColor : $this.$enabledColor; $var2 = $this.$cursorPosition; $var12 = $this.$lineScrollOffset; $var2 = $var2 - $var12 | 0; $var3 = $this.$selectionEnd - $var12 | 0; $var10 = $this.$fontRenderer1; var$6 = $this.$text; $var4 = nms_FontRenderer_trimStringToWidth($var10, jl_String_substring(var$6, $var12, var$6.$nativeString.length), !$this.$enableBackgroundDrawing ? $this.$width6 : $this.$width6 - 8 | 0, 0); $var5 = $var2 >= 0 && $var2 <= $var4.$nativeString.length ? 1 : 0; $var6 = $this.$isFocused0 && !(($this.$cursorCounter / 6 | 0) % 2 | 0) && $var5 ? 1 : 0; $var12 = $this.$enableBackgroundDrawing; $var7 = !$var12 ? $this.$xPos : $this.$xPos + 4 | 0; $var8 = !$var12 ? $this.$yPos : $this.$yPos + (($this.$height7 - 8 | 0) / 2 | 0) | 0; if ($var3 > $var4.$nativeString.length) $var3 = $var4.$nativeString.length; if ($var4.$nativeString.length > 0) { $var10 = !$var5 ? $var4 : jl_String_substring($var4, 0, $var2); var$6 = $this.$fontRenderer1; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; $var12 = $var7 + 1 | 0; var$12 = $var8 + 1 | 0; var$13 = 1; $ptr = 1; continue main; } var$13 = $var7; $var13 = $this.$cursorPosition >= $this.$text.$nativeString.length && $this.$text.$nativeString.length < $this.$maxStringLength ? 0 : 1; if ($var5) { if (!$var13) var$15 = var$13; else { var$15 = var$13 - 1 | 0; var$13 = var$13 + (-1) | 0; } } else var$15 = $var2 <= 0 ? $var7 : $var7 + $this.$width6 | 0; if ($var4.$nativeString.length > 0 && $var5 && $var2 < $var4.$nativeString.length) { $var10 = $this.$fontRenderer1; var$6 = jl_String_substring($var4, $var2, $var4.$nativeString.length); $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $var12 = var$13 + 1 | 0; $var5 = $var8 + 1 | 0; var$12 = 1; $ptr = 5; continue main; } if ($var6) { if (!$var13) { $var10 = $this.$fontRenderer1; var$6 = $rt_s(659); $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $var12 = var$15 + 1 | 0; $var5 = $var8 + 1 | 0; var$12 = 1; $ptr = 3; continue main; } nms_Gui_drawRect(var$15, $var8 - 1 | 0, var$15 + 1 | 0, ($var8 + 1 | 0) + $this.$fontRenderer1.$FONT_HEIGHT | 0, (-3092272)); } if ($var3 != $var2) nms_GuiTextField_drawCursorVertical($this, var$15, $var8 - 1 | 0, ($var7 + nms_FontRenderer_getStringWidth($this.$fontRenderer1, jl_String_substring($var4, 0, $var3)) | 0) - 1 | 0, ($var8 + 1 | 0) + $this.$fontRenderer1.$FONT_HEIGHT | 0); } return; case 1: $tmp = nms_FontRenderer_renderString(var$6, $var10, $var12, var$12, $var1, var$13); if ($rt_suspending()) { break main; } var$12 = $tmp; $var12 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$6, $var10, $var7, $var8, $var1, $var12); if ($rt_suspending()) { break main; } var$13 = $tmp; if (var$12 > var$13) var$13 = var$12; $var13 = $this.$cursorPosition >= $this.$text.$nativeString.length && $this.$text.$nativeString.length < $this.$maxStringLength ? 0 : 1; if ($var5) { if (!$var13) var$15 = var$13; else { var$15 = var$13 - 1 | 0; var$13 = var$13 + (-1) | 0; } } else var$15 = $var2 <= 0 ? $var7 : $var7 + $this.$width6 | 0; if ($var4.$nativeString.length > 0 && $var5 && $var2 < $var4.$nativeString.length) { $var10 = $this.$fontRenderer1; var$6 = jl_String_substring($var4, $var2, $var4.$nativeString.length); $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $var12 = var$13 + 1 | 0; $var5 = $var8 + 1 | 0; var$12 = 1; $ptr = 5; continue main; } if ($var6) { if (!$var13) { $var10 = $this.$fontRenderer1; var$6 = $rt_s(659); $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $var12 = var$15 + 1 | 0; $var5 = $var8 + 1 | 0; var$12 = 1; $ptr = 3; continue main; } nms_Gui_drawRect(var$15, $var8 - 1 | 0, var$15 + 1 | 0, ($var8 + 1 | 0) + $this.$fontRenderer1.$FONT_HEIGHT | 0, (-3092272)); } if ($var3 != $var2) nms_GuiTextField_drawCursorVertical($this, var$15, $var8 - 1 | 0, ($var7 + nms_FontRenderer_getStringWidth($this.$fontRenderer1, jl_String_substring($var4, 0, $var3)) | 0) - 1 | 0, ($var8 + 1 | 0) + $this.$fontRenderer1.$FONT_HEIGHT | 0); return; case 3: $tmp = nms_FontRenderer_renderString($var10, var$6, $var12, $var5, $var1, var$12); if ($rt_suspending()) { break main; } $var5 = $tmp; $var12 = 0; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($var10, var$6, var$15, $var8, $var1, $var12); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var3 != $var2) nms_GuiTextField_drawCursorVertical($this, var$15, $var8 - 1 | 0, ($var7 + nms_FontRenderer_getStringWidth($this.$fontRenderer1, jl_String_substring($var4, 0, $var3)) | 0) - 1 | 0, ($var8 + 1 | 0) + $this.$fontRenderer1.$FONT_HEIGHT | 0); return; case 5: $tmp = nms_FontRenderer_renderString($var10, var$6, $var12, $var5, $var1, var$12); if ($rt_suspending()) { break main; } $var5 = $tmp; $var12 = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString($var10, var$6, var$13, $var8, $var1, $var12); if ($rt_suspending()) { break main; } $var12 = $tmp; if ($var6) { if (!$var13) { $var10 = $this.$fontRenderer1; var$6 = $rt_s(659); $var10.$randomStyle = 0; $var10.$boldStyle = 0; $var10.$italicStyle = 0; $var10.$underlineStyle = 0; $var10.$strikethroughStyle = 0; $var12 = var$15 + 1 | 0; $var5 = $var8 + 1 | 0; var$12 = 1; $ptr = 3; continue main; } nms_Gui_drawRect(var$15, $var8 - 1 | 0, var$15 + 1 | 0, ($var8 + 1 | 0) + $this.$fontRenderer1.$FONT_HEIGHT | 0, (-3092272)); } if ($var3 != $var2) nms_GuiTextField_drawCursorVertical($this, var$15, $var8 - 1 | 0, ($var7 + nms_FontRenderer_getStringWidth($this.$fontRenderer1, jl_String_substring($var4, 0, $var3)) | 0) - 1 | 0, ($var8 + 1 | 0) + $this.$fontRenderer1.$FONT_HEIGHT | 0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var12, $var3, $var10, var$6, $var4, $var5, $var6, $var7, $var8, var$12, var$13, $var13, var$15, $ptr); }, nms_GuiTextField_drawCursorVertical = ($this, $par1, $par2, $par3, $par4) => { let var$5, $var6, var$7, var$8, var$9; if ($par1 >= $par3) { var$5 = $par3; $par3 = $par1; $par1 = var$5; } if ($par2 >= $par4) { var$5 = $par4; $par4 = $par2; $par2 = var$5; } nlea_Tessellator_$callClinit(); $var6 = nlea_Tessellator_instance; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 0.0; nleg_EaglerAdapterGL30_colorG = 0.0; nleg_EaglerAdapterGL30_colorB = 255.0; nleg_EaglerAdapterGL30_colorA = 255.0; nleg_EaglerAdapterGL30_glDisable(3553); nleg_EaglerAdapterGL30_glEnable(3058); if ($var6.$isDrawing) nlea_Tessellator_draw($var6); $var6.$isDrawing = 1; $var6.$vertexCount = 0; $var6.$rawBufferIndex = 0; $var6.$addedVertices = 0; $var6.$drawMode = 7; $var6.$hasNormals = 0; $var6.$hasColor = 0; $var6.$hasTexture = 0; $var6.$hasBrightness = 0; $var6.$isColorDisabled = 0; var$7 = $par3; var$8 = $par2; nlea_Tessellator_addVertex($var6, var$7, var$8, 0.0); var$9 = $par1; nlea_Tessellator_addVertex($var6, var$9, var$8, 0.0); var$8 = $par4; nlea_Tessellator_addVertex($var6, var$9, var$8, 0.0); nlea_Tessellator_addVertex($var6, var$7, var$8, 0.0); nlea_Tessellator_draw($var6); nleg_EaglerAdapterGL30_glDisable(3058); nleg_EaglerAdapterGL30_glEnable(3553); }, nms_GuiTextField_setSelectionPos = ($this, $par1) => { let $var2, $var4, $var3, var$5, var$6, var$7, $var5; $var2 = $this.$text.$nativeString.length; if ($par1 > $var2) $par1 = $var2; if ($par1 < 0) $par1 = 0; $this.$selectionEnd = $par1; $var4 = $this.$fontRenderer1; if ($var4 !== null) { if ($this.$lineScrollOffset > $var2) $this.$lineScrollOffset = $var2; $var3 = !$this.$enableBackgroundDrawing ? $this.$width6 : $this.$width6 - 8 | 0; var$5 = $this.$text; var$6 = (nms_FontRenderer_trimStringToWidth($var4, jl_String_substring(var$5, $this.$lineScrollOffset, var$5.$nativeString.length), $var3, 0)).$nativeString.length; var$7 = $this.$lineScrollOffset; $var5 = var$6 + var$7 | 0; if ($par1 == var$7) $this.$lineScrollOffset = var$7 - (nms_FontRenderer_trimStringToWidth($this.$fontRenderer1, $this.$text, $var3, 1)).$nativeString.length | 0; if ($par1 > $var5) $this.$lineScrollOffset = $this.$lineScrollOffset + ($par1 - $var5 | 0) | 0; else { var$6 = $this.$lineScrollOffset; if ($par1 <= var$6) $this.$lineScrollOffset = var$6 - (var$6 - $par1 | 0) | 0; } if ($this.$lineScrollOffset < 0) $this.$lineScrollOffset = 0; if ($this.$lineScrollOffset > $var2) $this.$lineScrollOffset = $var2; } }; function nms_WorldInfo() { let a = this; jl_Object.call(a); a.$randomSeed = Long_ZERO; a.$terrainType = null; a.$generatorOptions = null; a.$spawnX = 0; a.$spawnY = 0; a.$spawnZ = 0; a.$totalTime = Long_ZERO; a.$worldTime = Long_ZERO; a.$lastTimePlayed0 = Long_ZERO; a.$sizeOnDisk = Long_ZERO; a.$playerTag = null; a.$dimension2 = 0; a.$levelName = null; a.$saveVersion = 0; a.$raining = 0; a.$rainTime = 0; a.$thundering = 0; a.$thunderTime = 0; a.$theGameType = null; a.$mapFeaturesEnabled0 = 0; a.$hardcore = 0; a.$allowCommands = 0; a.$initialized = 0; a.$theGameRules0 = null; } let nms_WorldInfo__init_0 = $this => { $this.$terrainType = nms_WorldType_DEFAULT; $this.$generatorOptions = $rt_s(18); $this.$theGameRules0 = nms_GameRules__init_(); }, nms_WorldInfo__init_4 = () => { let var_0 = new nms_WorldInfo(); nms_WorldInfo__init_0(var_0); return var_0; }, nms_WorldInfo__init_ = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, $var2, $var3, var$9, var$10, var$11, var$12; $this.$terrainType = nms_WorldType_DEFAULT; $this.$generatorOptions = $rt_s(18); $this.$theGameRules0 = nms_GameRules__init_(); var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3398)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3398) !== var$5 && !jl_String_equals($rt_s(3398), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$6 = Long_ZERO; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3398) !== null) { var$3 = jl_String_hashCode($rt_s(3398)); var$4 = var$2.$elementData.data; var$5 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$3) { var$2 = var$5.$key; if ($rt_s(3398) !== var$2 && !jl_String_equals($rt_s(3398), var$2) ? 0 : 1) break; } var$5 = var$5.$next3; } } else { var$5 = var$2.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } var$6 = (var$5 === null ? null : var$5.$value1).$data7; } $this.$randomSeed = var$6; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3399)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3399) !== var$5 && !jl_String_equals($rt_s(3399), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3399)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3399) !== var$5 && !jl_String_equals($rt_s(3399), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3399) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_String_hashCode($rt_s(3399)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3399) !== var$5 && !jl_String_equals($rt_s(3399), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var2 = (var$2 === null ? null : var$2.$value1).$data1; } else $var2 = $rt_s(18); $var2 = nms_WorldType_parseWorldType($var2); $this.$terrainType = $var2; if ($var2 === null) $this.$terrainType = nms_WorldType_DEFAULT; else if ($var2.$isWorldTypeVersioned) { $var3 = 0; if (nms_NBTTagCompound_hasKey($par1NBTTagCompound, $rt_s(3400))) $var3 = nms_NBTTagCompound_getInteger($par1NBTTagCompound, $rt_s(3400)); $this.$terrainType = nms_WorldType_getWorldTypeForGeneratorVersion($this.$terrainType, $var3); } var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3401)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3401) !== var$5 && !jl_String_equals($rt_s(3401), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3401)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3401) !== var$5 && !jl_String_equals($rt_s(3401), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3401) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_String_hashCode($rt_s(3401)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3401) !== var$5 && !jl_String_equals($rt_s(3401), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var2 = (var$2 === null ? null : var$2.$value1).$data1; } else $var2 = $rt_s(18); $this.$generatorOptions = $var2; } } var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3402)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3402) !== var$5 && !jl_String_equals($rt_s(3402), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3402) !== null) { var$3 = jl_String_hashCode($rt_s(3402)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3402) !== var$5 && !jl_String_equals($rt_s(3402), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$9 = (var$2 === null ? null : var$2.$value1).$data0; } else var$9 = 0; var$4 = (nms_EnumGameType_$VALUES.$clone0()).data; $var3 = var$4.length; var$3 = 0; a: { while (true) { if (var$3 >= $var3) { $var2 = nms_EnumGameType_SURVIVAL; break a; } $var2 = var$4[var$3]; if ($var2.$id6 == var$9) break; var$3 = var$3 + 1 | 0; } } $this.$theGameType = $var2; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3403)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3403) !== var$5 && !jl_String_equals($rt_s(3403), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3403)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3403) !== var$5 && !jl_String_equals($rt_s(3403), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3403) !== null) { var$3 = jl_String_hashCode($rt_s(3403)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3403) !== var$5 && !jl_String_equals($rt_s(3403), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data; } else $var3 = 0; $this.$mapFeaturesEnabled0 = !$var3 ? 0 : 1; } else $this.$mapFeaturesEnabled0 = 1; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(1306)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1306) !== var$5 && !jl_String_equals($rt_s(1306), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1306) !== null) { var$3 = jl_String_hashCode($rt_s(1306)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1306) !== var$5 && !jl_String_equals($rt_s(1306), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data0; } else $var3 = 0; $this.$spawnX = $var3; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(1307)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1307) !== var$5 && !jl_String_equals($rt_s(1307), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1307) !== null) { var$3 = jl_String_hashCode($rt_s(1307)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1307) !== var$5 && !jl_String_equals($rt_s(1307), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data0; } else $var3 = 0; $this.$spawnY = $var3; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(1308)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1308) !== var$5 && !jl_String_equals($rt_s(1308), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1308) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_String_hashCode($rt_s(1308)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(1308) !== var$5 && !jl_String_equals($rt_s(1308), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data0; } $this.$spawnZ = $var3; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(2397)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(2397) !== var$5 && !jl_String_equals($rt_s(2397), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2397) !== null) { var$3 = jl_String_hashCode($rt_s(2397)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(2397) !== var$5 && !jl_String_equals($rt_s(2397), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data7; } else var$6 = Long_ZERO; $this.$totalTime = var$6; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3404)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3404) !== var$5 && !jl_String_equals($rt_s(3404), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3404)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3404) !== var$5 && !jl_String_equals($rt_s(3404), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3404) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_String_hashCode($rt_s(3404)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3404) !== var$5 && !jl_String_equals($rt_s(3404), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data7; } else var$6 = Long_ZERO; $this.$worldTime = var$6; } else $this.$worldTime = $this.$totalTime; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3405)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3405) !== var$5 && !jl_String_equals($rt_s(3405), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$6 = Long_ZERO; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3405) !== null) { var$3 = jl_String_hashCode($rt_s(3405)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3405) !== var$5 && !jl_String_equals($rt_s(3405), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data7; } $this.$lastTimePlayed0 = var$6; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3406)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3406) !== var$5 && !jl_String_equals($rt_s(3406), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3406) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_String_hashCode($rt_s(3406)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3406) !== var$5 && !jl_String_equals($rt_s(3406), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = (var$2 === null ? null : var$2.$value1).$data7; } else var$6 = Long_ZERO; $this.$sizeOnDisk = var$6; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3407)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3407) !== var$5 && !jl_String_equals($rt_s(3407), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var2 = $rt_s(18); else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3407) !== null) { var$3 = jl_String_hashCode($rt_s(3407)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3407) !== var$5 && !jl_String_equals($rt_s(3407), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var2 = (var$2 === null ? null : var$2.$value1).$data1; } $this.$levelName = $var2; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3408)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3408) !== var$5 && !jl_String_equals($rt_s(3408), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3408) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_String_hashCode($rt_s(3408)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3408) !== var$5 && !jl_String_equals($rt_s(3408), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data0; } $this.$saveVersion = $var3; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3409)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3409) !== var$5 && !jl_String_equals($rt_s(3409), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3409) !== null) { var$3 = jl_String_hashCode($rt_s(3409)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3409) !== var$5 && !jl_String_equals($rt_s(3409), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data0; } else $var3 = 0; $this.$rainTime = $var3; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3410)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3410) !== var$5 && !jl_String_equals($rt_s(3410), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3410) !== null) { var$3 = jl_String_hashCode($rt_s(3410)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3410) !== var$5 && !jl_String_equals($rt_s(3410), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data; } else $var3 = 0; $this.$raining = !$var3 ? 0 : 1; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3411)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3411) !== var$5 && !jl_String_equals($rt_s(3411), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3411) !== null) { var$3 = jl_String_hashCode($rt_s(3411)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3411) !== var$5 && !jl_String_equals($rt_s(3411), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data0; } else $var3 = 0; $this.$thunderTime = $var3; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3412)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3412) !== var$5 && !jl_String_equals($rt_s(3412), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3412) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_String_hashCode($rt_s(3412)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3412) !== var$5 && !jl_String_equals($rt_s(3412), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data; } $this.$thundering = !$var3 ? 0 : 1; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3413)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3413) !== var$5 && !jl_String_equals($rt_s(3413), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3413) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = jl_String_hashCode($rt_s(3413)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3413) !== var$5 && !jl_String_equals($rt_s(3413), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data; } $this.$hardcore = !$var3 ? 0 : 1; var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3414)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3414) !== var$5 && !jl_String_equals($rt_s(3414), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $this.$initialized = 1; else { var$2 = $par1NBTTagCompound.$tagMap; var$3 = jl_String_hashCode($rt_s(3414)); var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($rt_s(3414) !== var$5 && !jl_String_equals($rt_s(3414), var$5) ? 0 : 1) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3414) !== null) { b: { if (!$rt_s(3414).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3414).$nativeString.length) break b; $rt_s(3414).$hashCode1 = (31 * $rt_s(3414).$hashCode1 | 0) + $rt_s(3414).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$10 = $rt_s(3414).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { c: { var$5 = var$2.$key; if ($rt_s(3414) !== var$5) { if ($rt_s(3414) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(3414).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break c; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data; } $this.$initialized = !$var3 ? 0 : 1; } d: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3415).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3415).$nativeString.length) break d; $rt_s(3415).$hashCode1 = (31 * $rt_s(3415).$hashCode1 | 0) + $rt_s(3415).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$10 = $rt_s(3415).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { e: { var$5 = var$2.$key; if ($rt_s(3415) !== var$5) { if ($rt_s(3415) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(3415).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break e; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $this.$allowCommands = $this.$theGameType !== nms_EnumGameType_CREATIVE ? 0 : 1; else { f: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3415).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3415).$nativeString.length) break f; $rt_s(3415).$hashCode1 = (31 * $rt_s(3415).$hashCode1 | 0) + $rt_s(3415).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$10 = $rt_s(3415).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { g: { var$5 = var$2.$key; if ($rt_s(3415) !== var$5) { if ($rt_s(3415) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3415).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break g; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3415) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { h: { if (!$rt_s(3415).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3415).$nativeString.length) break h; $rt_s(3415).$hashCode1 = (31 * $rt_s(3415).$hashCode1 | 0) + $rt_s(3415).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$10 = $rt_s(3415).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { i: { var$5 = var$2.$key; if ($rt_s(3415) !== var$5) { if ($rt_s(3415) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3415).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break i; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data; } $this.$allowCommands = !$var3 ? 0 : 1; } j: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3416).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3416).$nativeString.length) break j; $rt_s(3416).$hashCode1 = (31 * $rt_s(3416).$hashCode1 | 0) + $rt_s(3416).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$10 = $rt_s(3416).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { k: { var$5 = var$2.$key; if ($rt_s(3416) !== var$5) { if ($rt_s(3416) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3416).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break k; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { l: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3416).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3416).$nativeString.length) break l; $rt_s(3416).$hashCode1 = (31 * $rt_s(3416).$hashCode1 | 0) + $rt_s(3416).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$10 = $rt_s(3416).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { m: { var$5 = var$2.$key; if ($rt_s(3416) !== var$5) { if ($rt_s(3416) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3416).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break m; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) { var$2 = new nms_NBTTagCompound; if ($rt_s(3416) !== null) var$2.$name = $rt_s(3416); else var$2.$name = $rt_s(18); $var2 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $var2.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$4 = var$11.data; $var2.$elementData = var$11; $var2.$loadFactor = 0.75; $var2.$threshold = var$4.length * 0.75 | 0; var$2.$tagMap = $var2; } else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3416) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { n: { if (!$rt_s(3416).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3416).$nativeString.length) break n; $rt_s(3416).$hashCode1 = (31 * $rt_s(3416).$hashCode1 | 0) + $rt_s(3416).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$10 = $rt_s(3416).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { o: { var$5 = var$2.$key; if ($rt_s(3416) !== var$5) { if ($rt_s(3416) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3416).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break o; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; } p: { $this.$playerTag = var$2; var$5 = var$2.$tagMap; if (!$rt_s(1251).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1251).$nativeString.length) break p; $rt_s(1251).$hashCode1 = (31 * $rt_s(1251).$hashCode1 | 0) + $rt_s(1251).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$10 = $rt_s(1251).$hashCode1; var$4 = var$5.$elementData.data; var$5 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$10) { q: { var$12 = var$5.$key; if ($rt_s(1251) !== var$12) { if ($rt_s(1251) === var$12) $var3 = 1; else if (!(var$12 instanceof jl_String)) $var3 = 0; else { var$12 = var$12; $var3 = $rt_s(1251).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break q; } } $var3 = 1; } if ($var3) break; } var$5 = var$5.$next3; } if (!(var$5 === null ? 0 : 1)) $var3 = 0; else { var$2 = var$2.$tagMap; if ($rt_s(1251) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { r: { if (!$rt_s(1251).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1251).$nativeString.length) break r; $rt_s(1251).$hashCode1 = (31 * $rt_s(1251).$hashCode1 | 0) + $rt_s(1251).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$10 = $rt_s(1251).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { s: { var$5 = var$2.$key; if ($rt_s(1251) !== var$5) { if ($rt_s(1251) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(1251).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break s; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data0; } $this.$dimension2 = $var3; } t: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3417).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3417).$nativeString.length) break t; $rt_s(3417).$hashCode1 = (31 * $rt_s(3417).$hashCode1 | 0) + $rt_s(3417).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$10 = $rt_s(3417).$hashCode1; var$4 = var$2.$elementData.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { u: { var$5 = var$2.$key; if ($rt_s(3417) !== var$5) { if ($rt_s(3417) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3417).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break u; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) nms_GameRules_readGameRulesFromNBT($this.$theGameRules0, nms_NBTTagCompound_getCompoundTag($par1NBTTagCompound, $rt_s(3417))); }, nms_WorldInfo__init_3 = var_0 => { let var_1 = new nms_WorldInfo(); nms_WorldInfo__init_(var_1, var_0); return var_1; }, nms_WorldInfo__init_2 = ($this, $par1WorldSettings, $par2Str) => { $this.$terrainType = nms_WorldType_DEFAULT; $this.$generatorOptions = $rt_s(18); $this.$theGameRules0 = nms_GameRules__init_(); $this.$randomSeed = $par1WorldSettings.$seed0; $this.$theGameType = $par1WorldSettings.$theGameType0; $this.$mapFeaturesEnabled0 = $par1WorldSettings.$mapFeaturesEnabled; $this.$levelName = $par2Str; $this.$hardcore = $par1WorldSettings.$hardcoreEnabled; $this.$terrainType = $par1WorldSettings.$terrainType1; $this.$generatorOptions = $par1WorldSettings.$field_82751_h; $this.$allowCommands = $par1WorldSettings.$commandsAllowed0; $this.$initialized = 0; }, nms_WorldInfo__init_1 = (var_0, var_1) => { let var_2 = new nms_WorldInfo(); nms_WorldInfo__init_2(var_2, var_0, var_1); return var_2; }; function nleav_VirtualFilesystem$VFSFile() { let a = this; jl_Object.call(a); a.$virtualFilesystem = null; a.$cacheEnabled = 0; a.$filePath = null; a.$fileSize = 0; a.$hasBeenDeleted = 0; a.$hasBeenAccessed = 0; a.$exists = 0; a.$cache = null; a.$cacheHit = Long_ZERO; } let nleav_VirtualFilesystem$VFSFile_equals = ($this, $o) => { let var$2, var$3; a: { if ($o instanceof nleav_VirtualFilesystem$VFSFile) { $o = $o.$filePath; var$2 = $this.$filePath; if ($o === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $o.$nativeString !== var$2.$nativeString ? 0 : 1; } if (var$3) { var$3 = 1; break a; } } var$3 = 0; } return var$3; }, nleav_VirtualFilesystem$VFSFile_hashCode = $this => { let var$1, var$2; a: { var$1 = $this.$filePath; if (!var$1.$hashCode1) { var$2 = 0; while (true) { if (var$2 >= var$1.$nativeString.length) break a; var$1.$hashCode1 = (31 * var$1.$hashCode1 | 0) + var$1.$nativeString.charCodeAt(var$2) | 0; var$2 = var$2 + 1 | 0; } } } return var$1.$hashCode1; }, nleav_VirtualFilesystem$VFSFile_getAllBytes = ($this, $copy) => { let $b, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$b = $thread.pop();$copy = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$this.$hasBeenDeleted) { if (!$this.$hasBeenAccessed) break a; if ($this.$exists) break a; } return null; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if ($this.$cacheEnabled) { $b = $this.$cache; if ($b !== null) { if (!$copy) var$3 = $b; else { $copy = $b.data.length; var$3 = $rt_createByteArray($copy); jl_System_fastArraycopy($b, 0, var$3, 0, $copy); } return var$3; } } $this.$hasBeenAccessed = 1; var$4 = $this.$virtualFilesystem.$indexeddb; var$5 = $this.$filePath; $ptr = 1; case 1: $tmp = nleav_VirtualFilesystem$AsyncHandlers_readWholeFile$_asyncCall_$(var$4, var$5); if ($rt_suspending()) { break main; } var$4 = $tmp; otji_JSWrapper_$callClinit(); var$5 = var$4 === null ? null : var$4[$rt_jso_marker] === true ? var$4 : var$4.$js; if (var$5 === null) { $this.$exists = 0; return null; } $this.$exists = 1; var$6 = var$5.byteLength; $this.$fileSize = var$6; if ($this.$cacheEnabled) { if (!$copy) $this.$cache = nleat_TeaVMUtils_wrapByteArrayBuffer(var$5); else { $b = $rt_createByteArray(var$6); $this.$cache = $b; $b.data.set(new Int8Array(var$5)); } } return nleat_TeaVMUtils_wrapByteArrayBuffer(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $copy, $b, var$3, var$4, var$5, var$6, $ptr); }, nleav_VirtualFilesystem$VFSFile_setAllBytes = ($this, $bytes, $copy) => { let var$3, $s, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$s = $thread.pop();var$3 = $thread.pop();$copy = $thread.pop();$bytes = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$hasBeenDeleted && $bytes !== null) { var$3 = $bytes.data; nlea_EaglerAdapterImpl2_$callClinit(); $this.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $s = var$3.length; $this.$fileSize = $s; if (!$this.$cacheEnabled) { var$5 = $this.$virtualFilesystem.$indexeddb; var$6 = $this.$filePath; var$7 = $bytes.data.buffer; $ptr = 1; continue main; } if (!$copy) var$3 = $bytes; else { var$3 = $rt_createByteArray($s); jl_System_fastArraycopy($bytes, 0, var$3, 0, $s); } $this.$cache = var$3; $ptr = 2; continue main; } return 0; case 1: $tmp = nleav_VirtualFilesystem$AsyncHandlers_writeWholeFile$_asyncCall_$(var$5, var$6, var$7); if ($rt_suspending()) { break main; } var$5 = $tmp; $s = var$5.$bool; $this.$hasBeenAccessed = 1; $this.$exists = !$this.$exists && !$s ? 0 : 1; return $s; case 2: $tmp = nleav_VirtualFilesystem$VFSFile_sync($this); if ($rt_suspending()) { break main; } $copy = $tmp; return $copy; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $bytes, $copy, var$3, $s, var$5, var$6, var$7, $ptr); }, nleav_VirtualFilesystem$VFSFile_sync = $this => { let var$1, var$2, var$3, $tryWrite, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$tryWrite = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$cacheEnabled && $this.$cache !== null && !$this.$hasBeenDeleted) { nlea_EaglerAdapterImpl2_$callClinit(); $this.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$1 = $this.$virtualFilesystem.$indexeddb; var$2 = $this.$filePath; var$3 = $this.$cache.data.buffer; $ptr = 1; continue main; } return 0; case 1: $tmp = nleav_VirtualFilesystem$AsyncHandlers_writeWholeFile$_asyncCall_$(var$1, var$2, var$3); if ($rt_suspending()) { break main; } var$1 = $tmp; $tryWrite = var$1.$bool; $this.$hasBeenAccessed = 1; $this.$exists = !$this.$exists && !$tryWrite ? 0 : 1; return $tryWrite; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $tryWrite, $ptr); }, nleav_VirtualFilesystem$VFSFile_delete = $this => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$this.$hasBeenDeleted) { if (!$this.$hasBeenAccessed) break a; if ($this.$exists) break a; } return 0; } nlea_EaglerAdapterImpl2_$callClinit(); $this.$cacheHit = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$1 = $this.$virtualFilesystem.$indexeddb; var$2 = $this.$filePath; $ptr = 1; case 1: $tmp = nleav_VirtualFilesystem$AsyncHandlers_deleteFile$_asyncCall_$(var$1, var$2); if ($rt_suspending()) { break main; } var$1 = $tmp; if (!var$1.$bool) { $this.$hasBeenAccessed = 1; return 0; } ju_HashMap_removeByKey($this.$virtualFilesystem.$fileMap, $this.$filePath); $this.$hasBeenDeleted = 1; $this.$hasBeenAccessed = 1; $this.$exists = 0; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); }, nms_EnchantmentHelper = $rt_classWithoutFields(), nms_EnchantmentHelper_enchantmentRand = null, nms_EnchantmentHelper_enchantmentModifierDamage = null, nms_EnchantmentHelper_enchantmentModifierLiving = null, nms_EnchantmentHelper_$callClinit = () => { nms_EnchantmentHelper_$callClinit = $rt_eraseClinit(nms_EnchantmentHelper); nms_EnchantmentHelper__clinit_(); }, nms_EnchantmentHelper__init_ = $this => { nms_EnchantmentHelper_$callClinit(); }, nms_EnchantmentHelper__init_0 = () => { let var_0 = new nms_EnchantmentHelper(); nms_EnchantmentHelper__init_(var_0); return var_0; }, nms_EnchantmentHelper_getEnchantmentLevel = ($par0, $par1ItemStack) => { let var$3, $var3, $var5, var$6, var$7, $var2, var$9, var$10, $var4, var$12, var$13; nms_EnchantmentHelper_$callClinit(); if ($par1ItemStack !== null) { var$3 = $par1ItemStack.$stackTagCompound; if (var$3 !== null) { a: { var$3 = var$3.$tagMap; if (!$rt_s(1734).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1734).$nativeString.length) break a; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(1734).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[$var5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $var5) { b: { var$7 = var$3.$key; if ($rt_s(1734) !== var$7) { if ($rt_s(1734) === var$7) $var3 = 1; else if (!(var$7 instanceof jl_String)) $var3 = 0; else { var$7 = var$7; $var3 = $rt_s(1734).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break b; } } $var3 = 1; } if ($var3) break; } var$3 = var$3.$next3; } $var2 = var$3 === null ? null : var$3.$value1; } else $var2 = null; if ($var2 === null) return 0; $var3 = 0; c: { d: { while (true) { $par1ItemStack = $var2.$tagList; var$9 = $rt_compare($var3, $par1ItemStack.$size0); if (var$9 >= 0) return 0; if ($var3 < 0) break c; if (var$9 >= 0) break c; e: { $par1ItemStack = $par1ItemStack.$array.data[$var3]; var$7 = $par1ItemStack.$tagMap; if (!$rt_s(1243).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1243).$nativeString.length) break e; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } $var5 = $rt_s(1243).$hashCode1; var$6 = var$7.$elementData.data; var$10 = var$6[$var5 & (var$6.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == $var5) { f: { var$7 = var$10.$key; if ($rt_s(1243) !== var$7) { if ($rt_s(1243) === var$7) var$9 = 1; else if (!(var$7 instanceof jl_String)) var$9 = 0; else { var$7 = var$7; var$9 = $rt_s(1243).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break f; } } var$9 = 1; } if (var$9) break; } var$10 = var$10.$next3; } if (!(var$10 === null ? 0 : 1)) $var4 = 0; else { $par1ItemStack = $par1ItemStack.$tagMap; if ($rt_s(1243) === null) { var$12 = $par1ItemStack.$elementData.data[0]; while (var$12 !== null && var$12.$key !== null) { var$12 = var$12.$next3; } } else { g: { if (!$rt_s(1243).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(1243).$nativeString.length) break g; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } $var5 = $rt_s(1243).$hashCode1; var$6 = $par1ItemStack.$elementData.data; var$12 = var$6[$var5 & (var$6.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == $var5) { h: { $par1ItemStack = var$12.$key; if ($rt_s(1243) !== $par1ItemStack) { if ($rt_s(1243) === $par1ItemStack) var$9 = 1; else if (!($par1ItemStack instanceof jl_String)) var$9 = 0; else { $par1ItemStack = $par1ItemStack; var$9 = $rt_s(1243).$nativeString !== $par1ItemStack.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break h; } } var$9 = 1; } if (var$9) break; } var$12 = var$12.$next3; } } $var4 = (var$12 === null ? null : var$12.$value1).$data2; } $par1ItemStack = $var2.$tagList; if ($var3 < 0) break d; if ($var3 >= $par1ItemStack.$size0) break d; i: { $par1ItemStack = $par1ItemStack.$array.data[$var3]; var$7 = $par1ItemStack.$tagMap; if (!$rt_s(2505).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(2505).$nativeString.length) break i; $rt_s(2505).$hashCode1 = (31 * $rt_s(2505).$hashCode1 | 0) + $rt_s(2505).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$13 = $rt_s(2505).$hashCode1; var$6 = var$7.$elementData.data; var$7 = var$6[var$13 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$13) { j: { var$12 = var$7.$key; if ($rt_s(2505) !== var$12) { if ($rt_s(2505) === var$12) var$9 = 1; else if (!(var$12 instanceof jl_String)) var$9 = 0; else { var$12 = var$12; var$9 = $rt_s(2505).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break j; } } var$9 = 1; } if (var$9) break; } var$7 = var$7.$next3; } if (!(var$7 === null ? 0 : 1)) $var5 = 0; else { $par1ItemStack = $par1ItemStack.$tagMap; if ($rt_s(2505) === null) { $par1ItemStack = $par1ItemStack.$elementData.data[0]; while ($par1ItemStack !== null && $par1ItemStack.$key !== null) { $par1ItemStack = $par1ItemStack.$next3; } } else { k: { if (!$rt_s(2505).$hashCode1) { var$9 = 0; while (true) { if (var$9 >= $rt_s(2505).$nativeString.length) break k; $rt_s(2505).$hashCode1 = (31 * $rt_s(2505).$hashCode1 | 0) + $rt_s(2505).$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$13 = $rt_s(2505).$hashCode1; var$6 = $par1ItemStack.$elementData.data; $par1ItemStack = var$6[var$13 & (var$6.length - 1 | 0)]; while ($par1ItemStack !== null) { if ($par1ItemStack.$origKeyHash == var$13) { l: { var$7 = $par1ItemStack.$key; if ($rt_s(2505) !== var$7) { if ($rt_s(2505) === var$7) var$9 = 1; else if (!(var$7 instanceof jl_String)) var$9 = 0; else { var$7 = var$7; var$9 = $rt_s(2505).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break l; } } var$9 = 1; } if (var$9) break; } $par1ItemStack = $par1ItemStack.$next3; } } $var5 = ($par1ItemStack === null ? null : $par1ItemStack.$value1).$data2; } if ($var4 == $par0) break; $var3 = $var3 + 1 | 0; } return $var5; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } return 0; }, nms_EnchantmentHelper_getEnchantments = $par0ItemStack => { let $var1, $var3, var$4, var$5, $var2, $var5, var$8, var$9, var$10, var$11, $var4, var$13, var$14; nms_EnchantmentHelper_$callClinit(); $var1 = new ju_LinkedHashMap; $var3 = ju_HashMap_calculateCapacity(16); $var1.$elementCount = 0; var$4 = $rt_createArray(ju_LinkedHashMap$LinkedHashMapEntry, $var3); var$5 = var$4.data; $var1.$elementData = var$4; $var1.$loadFactor = 0.75; $var1.$threshold = var$5.length * 0.75 | 0; $var1.$accessOrder = 0; $var1.$head = null; $var3 = $par0ItemStack.$itemID; nms_Item_$callClinit(); if ($var3 == nms_Item_enchantedBook.$itemID0) a: { $var2 = $par0ItemStack.$stackTagCompound; if ($var2 !== null) { b: { $var2 = $var2.$tagMap; if (!$rt_s(2992).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2992).$nativeString.length) break b; $rt_s(2992).$hashCode1 = (31 * $rt_s(2992).$hashCode1 | 0) + $rt_s(2992).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2992).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { c: { var$8 = $var2.$key; if ($rt_s(2992) !== var$8) { if ($rt_s(2992) === var$8) $var3 = 1; else if (!(var$8 instanceof jl_String)) $var3 = 0; else { var$8 = var$8; $var3 = $rt_s(2992).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break c; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { d: { $par0ItemStack = $par0ItemStack.$stackTagCompound.$tagMap; if (!$rt_s(2992).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2992).$nativeString.length) break d; $rt_s(2992).$hashCode1 = (31 * $rt_s(2992).$hashCode1 | 0) + $rt_s(2992).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2992).$hashCode1; var$5 = $par0ItemStack.$elementData.data; $par0ItemStack = var$5[$var5 & (var$5.length - 1 | 0)]; while ($par0ItemStack !== null) { if ($par0ItemStack.$origKeyHash == $var5) { e: { var$9 = $par0ItemStack.$key; if ($rt_s(2992) !== var$9) { if ($rt_s(2992) !== var$9) { if (var$9 instanceof jl_String) { var$9 = var$9; $var3 = $rt_s(2992).$nativeString !== var$9.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break e; } } $var3 = 1; } if ($var3) break; } $par0ItemStack = $par0ItemStack.$next3; } $var2 = $par0ItemStack === null ? null : $par0ItemStack.$value1; break a; } } $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); $par0ItemStack = new ju_ArrayList; $par0ItemStack.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $par0ItemStack; } else { $var2 = $par0ItemStack.$stackTagCompound; if ($var2 !== null) { f: { $var2 = $var2.$tagMap; if (!$rt_s(1734).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1734).$nativeString.length) break f; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(1734).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { g: { var$9 = $var2.$key; if ($rt_s(1734) !== var$9) { if ($rt_s(1734) !== var$9) { if (var$9 instanceof jl_String) { var$9 = var$9; $var3 = $rt_s(1734).$nativeString !== var$9.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break g; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } $var2 = $var2 === null ? null : $var2.$value1; } else $var2 = null; } h: { i: { j: { if ($var2 !== null) { $var3 = 0; while (true) { $par0ItemStack = $var2.$tagList; var$10 = $rt_compare($var3, $par0ItemStack.$size0); if (var$10 >= 0) break j; if ($var3 < 0) break h; if (var$10 >= 0) break h; k: { var$11 = $par0ItemStack.$array.data[$var3]; $par0ItemStack = var$11.$tagMap; if (!$rt_s(1243).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(1243).$nativeString.length) break k; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } $var4 = $rt_s(1243).$hashCode1; var$5 = $par0ItemStack.$elementData.data; $par0ItemStack = var$5[$var4 & (var$5.length - 1 | 0)]; while ($par0ItemStack !== null) { if ($par0ItemStack.$origKeyHash == $var4) { l: { var$9 = $par0ItemStack.$key; if ($rt_s(1243) !== var$9) { if ($rt_s(1243) === var$9) var$10 = 1; else if (!(var$9 instanceof jl_String)) var$10 = 0; else { var$9 = var$9; var$10 = $rt_s(1243).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break l; } } var$10 = 1; } if (var$10) break; } $par0ItemStack = $par0ItemStack.$next3; } if (!($par0ItemStack === null ? 0 : 1)) $var4 = 0; else { $par0ItemStack = var$11.$tagMap; if ($rt_s(1243) === null) { $par0ItemStack = $par0ItemStack.$elementData.data[0]; while ($par0ItemStack !== null && $par0ItemStack.$key !== null) { $par0ItemStack = $par0ItemStack.$next3; } } else { m: { if (!$rt_s(1243).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(1243).$nativeString.length) break m; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } $var4 = $rt_s(1243).$hashCode1; var$5 = $par0ItemStack.$elementData.data; $par0ItemStack = var$5[$var4 & (var$5.length - 1 | 0)]; while ($par0ItemStack !== null) { if ($par0ItemStack.$origKeyHash == $var4) { n: { var$9 = $par0ItemStack.$key; if ($rt_s(1243) !== var$9) { if ($rt_s(1243) === var$9) var$10 = 1; else if (!(var$9 instanceof jl_String)) var$10 = 0; else { var$9 = var$9; var$10 = $rt_s(1243).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break n; } } var$10 = 1; } if (var$10) break; } $par0ItemStack = $par0ItemStack.$next3; } } $var4 = ($par0ItemStack === null ? null : $par0ItemStack.$value1).$data2; } $par0ItemStack = $var2.$tagList; if ($var3 < 0) break i; if ($var3 >= $par0ItemStack.$size0) break i; o: { var$13 = $par0ItemStack.$array.data[$var3]; $par0ItemStack = var$13.$tagMap; if (!$rt_s(2505).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(2505).$nativeString.length) break o; $rt_s(2505).$hashCode1 = (31 * $rt_s(2505).$hashCode1 | 0) + $rt_s(2505).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$14 = $rt_s(2505).$hashCode1; var$5 = $par0ItemStack.$elementData.data; $par0ItemStack = var$5[var$14 & (var$5.length - 1 | 0)]; while ($par0ItemStack !== null) { if ($par0ItemStack.$origKeyHash == var$14) { p: { var$9 = $par0ItemStack.$key; if ($rt_s(2505) !== var$9) { if ($rt_s(2505) === var$9) var$10 = 1; else if (!(var$9 instanceof jl_String)) var$10 = 0; else { var$9 = var$9; var$10 = $rt_s(2505).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break p; } } var$10 = 1; } if (var$10) break; } $par0ItemStack = $par0ItemStack.$next3; } if (!($par0ItemStack === null ? 0 : 1)) $var5 = 0; else { $par0ItemStack = var$13.$tagMap; if ($rt_s(2505) === null) { $par0ItemStack = $par0ItemStack.$elementData.data[0]; while ($par0ItemStack !== null && $par0ItemStack.$key !== null) { $par0ItemStack = $par0ItemStack.$next3; } } else { q: { if (!$rt_s(2505).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(2505).$nativeString.length) break q; $rt_s(2505).$hashCode1 = (31 * $rt_s(2505).$hashCode1 | 0) + $rt_s(2505).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } $var5 = $rt_s(2505).$hashCode1; var$5 = $par0ItemStack.$elementData.data; $par0ItemStack = var$5[$var5 & (var$5.length - 1 | 0)]; while ($par0ItemStack !== null) { if ($par0ItemStack.$origKeyHash == $var5) { r: { var$9 = $par0ItemStack.$key; if ($rt_s(2505) !== var$9) { if ($rt_s(2505) === var$9) var$10 = 1; else if (!(var$9 instanceof jl_String)) var$10 = 0; else { var$9 = var$9; var$10 = $rt_s(2505).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break r; } } var$10 = 1; } if (var$10) break; } $par0ItemStack = $par0ItemStack.$next3; } } $var5 = ($par0ItemStack === null ? null : $par0ItemStack.$value1).$data2; } if ($var4 >= (-128) && $var4 <= 127) { jl_Integer_ensureIntegerCache(); $par0ItemStack = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { $par0ItemStack = new jl_Integer; $par0ItemStack.$value0 = $var4; } if ($var5 >= (-128) && $var5 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var5 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var5; } $var4 = $var1.$elementCount; ju_LinkedHashMap_putImpl($var1, $par0ItemStack, var$9, 0, $var1.$accessOrder); $var3 = $var3 + 1 | 0; } } } return $var1; } $par0ItemStack = new jl_IndexOutOfBoundsException; $par0ItemStack.$suppressionEnabled = 1; $par0ItemStack.$writableStackTrace = 1; $rt_throw($par0ItemStack); } $par0ItemStack = new jl_IndexOutOfBoundsException; $par0ItemStack.$suppressionEnabled = 1; $par0ItemStack.$writableStackTrace = 1; $rt_throw($par0ItemStack); }, nms_EnchantmentHelper_setEnchantments = ($par0Map, $par1ItemStack) => { let $var2, var$4, var$5, $var3, var$7, $var4, $var5, var$10, var$11, var$12, var$13, var$14; nms_EnchantmentHelper_$callClinit(); $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = var$4; if ($par0Map.$cachedKeySet === null) { var$4 = new ju_LinkedHashMapKeySet; var$4.$base1 = $par0Map; var$4.$reversed0 = 0; $par0Map.$cachedKeySet = var$4; } var$5 = $par0Map.$cachedKeySet; $var3 = new ju_LinkedHashMapIterator$KeyIterator; var$4 = var$5.$base1; var$7 = var$5.$reversed0; $var3.$base = var$4; $var3.$reversed = var$7; $var3.$expectedModCount0 = var$4.$modCount0; $var3.$futureEntry = !var$7 ? var$4.$head : var$4.$tail; while ($var3.$futureEntry === null ? 0 : 1) { $var4 = (ju_LinkedHashMapIterator$KeyIterator_next($var3)).$value0; $var5 = new nms_NBTTagCompound; $var5.$name = $rt_s(18); var$10 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$10.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$12 = var$11.data; var$10.$elementData = var$11; var$10.$loadFactor = 0.75; var$10.$threshold = var$12.length * 0.75 | 0; $var5.$tagMap = var$10; var$7 = $var4 << 16 >> 16; var$5 = new nms_NBTTagShort; var$5.$name = $rt_s(1243); var$5.$data2 = var$7; ju_HashMap_putImpl(var$10, $rt_s(1243), var$5); var$13 = $rt_compare($var4, (-128)); if (var$13 >= 0 && $var4 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var4; } var$7 = (ju_LinkedHashMap_getOrDefault($par0Map, var$5, null)).$value0 << 16 >> 16; var$5 = $var5.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(2505); var$4.$data2 = var$7; ju_HashMap_putImpl(var$5, $rt_s(2505), var$4); $var2.$tagType = 10; var$4 = $var2.$tagList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$12 = var$4.$array.data; var$14 = var$4.$size0; var$4.$size0 = var$14 + 1 | 0; var$12[var$14] = $var5; var$4.$modCount = var$4.$modCount + 1 | 0; var$7 = $par1ItemStack.$itemID; nms_Item_$callClinit(); var$5 = nms_Item_enchantedBook; if (var$7 == var$5.$itemID0) { $var5 = new nms_EnchantmentData; if (var$13 >= 0 && $var4 <= 127) { jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { var$10 = new jl_Integer; var$10.$value0 = $var4; } var$7 = (ju_LinkedHashMap_getOrDefault($par0Map, var$10, null)).$value0; nms_Enchantment_$callClinit(); var$4 = nms_Enchantment_enchantmentsList.data[$var4]; $var5.$itemWeight = var$4.$weight; $var5.$enchantmentobj = var$4; $var5.$enchantmentLevel = var$7; nms_ItemEnchantedBook_addEnchantment(var$5, $par1ItemStack, $var5); } } if ($var2.$tagList.$size0 <= 0) { $par1ItemStack = $par1ItemStack.$stackTagCompound; if ($par1ItemStack === null ? 0 : 1) ju_HashMap_removeByKey($par1ItemStack.$tagMap, $rt_s(1734)); } else { var$7 = $par1ItemStack.$itemID; nms_Item_$callClinit(); if (var$7 != nms_Item_enchantedBook.$itemID0) { if ($par1ItemStack.$stackTagCompound === null) { var$4 = new nms_NBTTagCompound; var$4.$name = $rt_s(18); var$5 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$5.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$12 = var$11.data; var$5.$elementData = var$11; var$5.$loadFactor = 0.75; var$5.$threshold = var$12.length * 0.75 | 0; var$4.$tagMap = var$5; $par1ItemStack.$stackTagCompound = var$4; } $par1ItemStack = $par1ItemStack.$stackTagCompound.$tagMap; $var2.$name = $rt_s(1734); ju_HashMap_putImpl($par1ItemStack, $rt_s(1734), $var2); } } }, nms_EnchantmentHelper_applyEnchantmentModifier = ($par0IEnchantmentModifier, $par1ItemStack) => { let var$3, $var3, var$5, var$6, var$7, $var2, $var5, var$10, $var4, var$12, var$13; nms_EnchantmentHelper_$callClinit(); a: { if ($par1ItemStack !== null) { var$3 = $par1ItemStack.$stackTagCompound; if (var$3 !== null) { b: { var$3 = var$3.$tagMap; if (!$rt_s(1734).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1734).$nativeString.length) break b; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$5 = $rt_s(1734).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { c: { var$7 = var$3.$key; if ($rt_s(1734) !== var$7) { if ($rt_s(1734) === var$7) $var3 = 1; else if (!(var$7 instanceof jl_String)) $var3 = 0; else { var$7 = var$7; $var3 = $rt_s(1734).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break c; } } $var3 = 1; } if ($var3) break; } var$3 = var$3.$next3; } $var2 = var$3 === null ? null : var$3.$value1; } else $var2 = null; if ($var2 !== null) { $var3 = 0; d: { while (true) { $par1ItemStack = $var2.$tagList; $var5 = $rt_compare($var3, $par1ItemStack.$size0); if ($var5 >= 0) break a; if ($var3 < 0) break d; if ($var5 >= 0) break d; e: { $par1ItemStack = $par1ItemStack.$array.data[$var3]; var$7 = $par1ItemStack.$tagMap; if (!$rt_s(1243).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1243).$nativeString.length) break e; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$5 = $rt_s(1243).$hashCode1; var$6 = var$7.$elementData.data; var$10 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$5) { f: { var$7 = var$10.$key; if ($rt_s(1243) !== var$7) { if ($rt_s(1243) === var$7) $var5 = 1; else if (!(var$7 instanceof jl_String)) $var5 = 0; else { var$7 = var$7; $var5 = $rt_s(1243).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break f; } } $var5 = 1; } if ($var5) break; } var$10 = var$10.$next3; } if (!(var$10 === null ? 0 : 1)) $var4 = 0; else { $par1ItemStack = $par1ItemStack.$tagMap; if ($rt_s(1243) === null) { var$12 = $par1ItemStack.$elementData.data[0]; while (var$12 !== null && var$12.$key !== null) { var$12 = var$12.$next3; } } else { g: { if (!$rt_s(1243).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1243).$nativeString.length) break g; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$5 = $rt_s(1243).$hashCode1; var$6 = $par1ItemStack.$elementData.data; var$12 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$5) { h: { $par1ItemStack = var$12.$key; if ($rt_s(1243) !== $par1ItemStack) { if ($rt_s(1243) === $par1ItemStack) $var5 = 1; else if (!($par1ItemStack instanceof jl_String)) $var5 = 0; else { $par1ItemStack = $par1ItemStack; $var5 = $rt_s(1243).$nativeString !== $par1ItemStack.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break h; } } $var5 = 1; } if ($var5) break; } var$12 = var$12.$next3; } } $var4 = (var$12 === null ? null : var$12.$value1).$data2; } $par1ItemStack = $var2.$tagList; if ($var3 < 0) break; if ($var3 >= $par1ItemStack.$size0) break; i: { $par1ItemStack = $par1ItemStack.$array.data[$var3]; var$7 = $par1ItemStack.$tagMap; if (!$rt_s(2505).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(2505).$nativeString.length) break i; $rt_s(2505).$hashCode1 = (31 * $rt_s(2505).$hashCode1 | 0) + $rt_s(2505).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$13 = $rt_s(2505).$hashCode1; var$6 = var$7.$elementData.data; var$7 = var$6[var$13 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$13) { j: { var$12 = var$7.$key; if ($rt_s(2505) !== var$12) { if ($rt_s(2505) === var$12) $var5 = 1; else if (!(var$12 instanceof jl_String)) $var5 = 0; else { var$12 = var$12; $var5 = $rt_s(2505).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break j; } } $var5 = 1; } if ($var5) break; } var$7 = var$7.$next3; } if (!(var$7 === null ? 0 : 1)) $var5 = 0; else { $par1ItemStack = $par1ItemStack.$tagMap; if ($rt_s(2505) === null) { $par1ItemStack = $par1ItemStack.$elementData.data[0]; while ($par1ItemStack !== null && $par1ItemStack.$key !== null) { $par1ItemStack = $par1ItemStack.$next3; } } else { k: { if (!$rt_s(2505).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(2505).$nativeString.length) break k; $rt_s(2505).$hashCode1 = (31 * $rt_s(2505).$hashCode1 | 0) + $rt_s(2505).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$13 = $rt_s(2505).$hashCode1; var$6 = $par1ItemStack.$elementData.data; $par1ItemStack = var$6[var$13 & (var$6.length - 1 | 0)]; while ($par1ItemStack !== null) { if ($par1ItemStack.$origKeyHash == var$13) { l: { var$7 = $par1ItemStack.$key; if ($rt_s(2505) !== var$7) { if ($rt_s(2505) === var$7) $var5 = 1; else if (!(var$7 instanceof jl_String)) $var5 = 0; else { var$7 = var$7; $var5 = $rt_s(2505).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break l; } } $var5 = 1; } if ($var5) break; } $par1ItemStack = $par1ItemStack.$next3; } } $var5 = ($par1ItemStack === null ? null : $par1ItemStack.$value1).$data2; } nms_Enchantment_$callClinit(); var$6 = nms_Enchantment_enchantmentsList.data; if (var$6[$var4] !== null) $par0IEnchantmentModifier.$calculateModifier(var$6[$var4], $var5); $var3 = $var3 + 1 | 0; } $par0IEnchantmentModifier = new jl_IndexOutOfBoundsException; $par0IEnchantmentModifier.$suppressionEnabled = 1; $par0IEnchantmentModifier.$writableStackTrace = 1; $rt_throw($par0IEnchantmentModifier); } $par0IEnchantmentModifier = new jl_IndexOutOfBoundsException; $par0IEnchantmentModifier.$suppressionEnabled = 1; $par0IEnchantmentModifier.$writableStackTrace = 1; $rt_throw($par0IEnchantmentModifier); } } } }, nms_EnchantmentHelper_getEnchantmentModifierDamage = ($par0ArrayOfItemStack, $par1DamageSource) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9; nms_EnchantmentHelper_$callClinit(); $par0ArrayOfItemStack = $par0ArrayOfItemStack.data; var$3 = nms_EnchantmentHelper_enchantmentModifierDamage; var$3.$damageModifier = 0; var$3.$source1 = $par1DamageSource; var$4 = $par0ArrayOfItemStack.length; var$5 = 0; while (var$5 < var$4) { nms_EnchantmentHelper_applyEnchantmentModifier(var$3, $par0ArrayOfItemStack[var$5]); var$5 = var$5 + 1 | 0; } $par1DamageSource = nms_EnchantmentHelper_enchantmentModifierDamage; if ($par1DamageSource.$damageModifier > 25) $par1DamageSource.$damageModifier = 25; var$5 = $par1DamageSource.$damageModifier; var$6 = (var$5 + 1 | 0) >> 1; $par1DamageSource = nms_EnchantmentHelper_enchantmentRand; var$4 = (var$5 >> 1) + 1 | 0; var$7 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$7; var$8 = Long_lo(Long_shru(var$7, 17)); var$5 = var$4 - 1 | 0; if (!(var$4 & var$5)) var$9 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$4), Long_fromInt(var$8)), 31)); else while (true) { var$9 = var$8 % var$4 | 0; if (((var$8 - var$9 | 0) + var$5 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul($par1DamageSource.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1DamageSource.$seed = var$7; var$8 = Long_lo(Long_shru(var$7, 17)); } return var$6 + var$9 | 0; }, nms_EnchantmentHelper_calcItemStackEnchantability = ($par0Random, $par1, $par2, $par3ItemStack) => { let var$5, $var5, var$7, var$8, var$9, var$10, var$11, $var6; nms_EnchantmentHelper_$callClinit(); nms_Item_$callClinit(); if (nms_Item_itemsList.data[$par3ItemStack.$itemID].$getItemEnchantability() <= 0) return 0; if ($par2 > 15) $par2 = 15; var$5 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$5; $var5 = (Long_lo(Long_shr(Long_mul(Long_fromInt(8), Long_fromInt(Long_lo(Long_shru(var$5, 17)))), 31)) + 1 | 0) + ($par2 >> 1) | 0; var$7 = $par2 + 1 | 0; var$8 = Long_and(Long_add(Long_mul(var$5, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 17)); var$10 = var$7 - 1 | 0; if (!(var$7 & var$10)) var$11 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$7), Long_fromInt(var$9)), 31)); else while (true) { var$11 = var$9 % var$7 | 0; if (((var$9 - var$11 | 0) + var$10 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 17)); } $var6 = $var5 + var$11 | 0; if (!$par1) { $par2 = $var6 / 3 | 0; $par1 = 1; if ($par2 > $par1) $par1 = $par2; } else if ($par1 == 1) $par1 = (($var6 * 2 | 0) / 3 | 0) + 1 | 0; else { $par1 = $par2 * 2 | 0; if ($var6 > $par1) $par1 = $var6; } return $par1; }, nms_EnchantmentHelper_addRandomEnchantment = ($par0Random, $par1ItemStack, $par2) => { let $var3, $var4, $var5$index, var$7, var$8, $var5$index_0, $var6; nms_EnchantmentHelper_$callClinit(); $var3 = nms_EnchantmentHelper_buildEnchantmentList($par0Random, $par1ItemStack, $par2); $par2 = $par1ItemStack.$itemID; nms_Item_$callClinit(); $var4 = $par2 != nms_Item_book.$itemID0 ? 0 : 1; if ($var4) $par1ItemStack.$itemID = nms_Item_enchantedBook.$itemID0; a: { if ($var3 !== null) { $var5$index = 0; var$7 = $var3.$modCount; var$8 = $var3.$size(); while (true) { if (!($var5$index >= var$8 ? 0 : 1)) break a; if (var$7 < $var3.$modCount) { $par0Random = new ju_ConcurrentModificationException; $par0Random.$suppressionEnabled = 1; $par0Random.$writableStackTrace = 1; $rt_throw($par0Random); } $var5$index_0 = $var5$index + 1 | 0; $var6 = $var3.$get($var5$index); if ($var4) nms_ItemEnchantedBook_addEnchantment(nms_Item_enchantedBook, $par1ItemStack, $var6); else nms_ItemStack_addEnchantment($par1ItemStack, $var6.$enchantmentobj, $var6.$enchantmentLevel); $var5$index = $var5$index_0; } } } return $par1ItemStack; }, nms_EnchantmentHelper_buildEnchantmentList = ($par0Random, $par1ItemStack, $par2) => { let $var4, $var5, var$6, $var15$index, $var14, var$9, $var11, $var6, $var8, $var9, $var16, $var13, $var10, var$17, $var12, $var15$index_0, $var17; nms_EnchantmentHelper_$callClinit(); nms_Item_$callClinit(); $var4 = nms_Item_itemsList.data[$par1ItemStack.$itemID].$getItemEnchantability(); if ($var4 <= 0) return null; $var5 = (($var4 / 2 | 0) >> 1) + 1 | 0; var$6 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$6; $var4 = Long_lo(Long_shru(var$6, 17)); $var15$index = $var5 - 1 | 0; $var14 = $var5 & $var15$index; if (!$var14) var$9 = Long_lo(Long_shr(Long_mul(Long_fromInt($var5), Long_fromInt($var4)), 31)); else while (true) { var$9 = $var4 % $var5 | 0; if ((($var4 - var$9 | 0) + $var15$index | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$6; $var4 = Long_lo(Long_shru(var$6, 17)); } $var4 = 1 + var$9 | 0; var$6 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, 17)); if (!$var14) $var14 = Long_lo(Long_shr(Long_mul(Long_fromInt($var5), Long_fromInt($var11)), 31)); else while (true) { $var14 = $var11 % $var5 | 0; if ((($var11 - $var14 | 0) + $var15$index | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, 17)); } $var5 = ($var4 + $var14 | 0) + $par2 | 0; var$6 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$6; $var6 = Long_lo(Long_shru(var$6, 24)) / 1.6777216E7; var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$6; $var11 = $var5 * (1.0 + ($var6 + Long_lo(Long_shru(var$6, 24)) / 1.6777216E7 - 1.0) * 0.15000000596046448) + 0.5 | 0; if ($var11 < 1) $var11 = 1; $var8 = null; $var9 = nms_EnchantmentHelper_mapEnchantmentData($var11, $par1ItemStack); if ($var9 !== null && !($var9.$elementCount ? 0 : 1)) { if ($var9.$cachedValues === null) { $par1ItemStack = new ju_HashMap$2; $par1ItemStack.$this$01 = $var9; $var9.$cachedValues = $par1ItemStack; } $var16 = $var9.$cachedValues; $var14 = 0; $par1ItemStack = $var16.$iterator(); while ($par1ItemStack.$hasNext()) { $var14 = $var14 + ($par1ItemStack.$next()).$itemWeight | 0; } if ($var14 <= 0) { $par0Random = new jl_IllegalArgumentException; $par0Random.$suppressionEnabled = 1; $par0Random.$writableStackTrace = 1; $rt_throw($par0Random); } var$6 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$6; $var4 = Long_lo(Long_shru(var$6, 17)); $var5 = $var14 - 1 | 0; if (!($var14 & $var5)) $par2 = Long_lo(Long_shr(Long_mul(Long_fromInt($var14), Long_fromInt($var4)), 31)); else while (true) { $par2 = $var4 % $var14 | 0; if ((($var4 - $par2 | 0) + $var5 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$6; $var4 = Long_lo(Long_shru(var$6, 17)); } $var13 = $var16.$iterator(); a: { while (true) { if (!$var13.$hasNext()) { $par1ItemStack = null; break a; } $par1ItemStack = $var13.$next(); $par2 = $par2 - $par1ItemStack.$itemWeight | 0; if ($par2 < 0) break; } } $var10 = $par1ItemStack; if ($var10 !== null) { $var8 = new ju_ArrayList; $var8.$array = $rt_createArray(jl_Object, 10); ju_ArrayList_ensureCapacity($var8, $var8.$size0 + 1 | 0); var$17 = $var8.$array.data; $var5 = $var8.$size0; $var8.$size0 = $var5 + 1 | 0; var$17[$var5] = $var10; $var8.$modCount = $var8.$modCount + 1 | 0; while (true) { var$6 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$6; $par2 = Long_lo(Long_shru(var$6, 17)); while (true) { $var4 = $par2 % 50 | 0; if ((($par2 - $var4 | 0) + 49 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$6; $par2 = Long_lo(Long_shru(var$6, 17)); } if ($var4 > $var11) break; if ($var9.$cachedKeySet === null) { $par1ItemStack = new ju_HashMap$1; $par1ItemStack.$this$0 = $var9; $var9.$cachedKeySet = $par1ItemStack; } $var12 = $var9.$cachedKeySet.$iterator(); while ($var12.$hasNext()) { $var13 = $var12.$next(); $var14 = 1; $var15$index_0 = 0; $var4 = $var8.$modCount; var$9 = $var8.$size(); b: { while ($var15$index_0 >= var$9 ? 0 : 1) { if ($var4 < $var8.$modCount) { $par0Random = new ju_ConcurrentModificationException; $par0Random.$suppressionEnabled = 1; $par0Random.$writableStackTrace = 1; $rt_throw($par0Random); } $var15$index = $var15$index_0 + 1 | 0; $par1ItemStack = ($var8.$get($var15$index_0)).$enchantmentobj; nms_Enchantment_$callClinit(); if (!$par1ItemStack.$canApplyTogether(nms_Enchantment_enchantmentsList.data[$var13.$value0])) { $var14 = 0; break b; } $var15$index_0 = $var15$index; } } if (!$var14) $var12.$remove0(); } if (!($var9.$elementCount ? 0 : 1)) { if ($var9.$cachedValues === null) { $par1ItemStack = new ju_HashMap$2; $par1ItemStack.$this$01 = $var9; $var9.$cachedValues = $par1ItemStack; } $var16 = $var9.$cachedValues; $var15$index = 0; $par1ItemStack = $var16.$iterator(); while ($par1ItemStack.$hasNext()) { $var15$index = $var15$index + ($par1ItemStack.$next()).$itemWeight | 0; } if ($var15$index <= 0) { $par0Random = new jl_IllegalArgumentException; $par0Random.$suppressionEnabled = 1; $par0Random.$writableStackTrace = 1; $rt_throw($par0Random); } var$6 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$6; $var14 = Long_lo(Long_shru(var$6, 17)); $var4 = $var15$index - 1 | 0; if (!($var15$index & $var4)) $par2 = Long_lo(Long_shr(Long_mul(Long_fromInt($var15$index), Long_fromInt($var14)), 31)); else while (true) { $par2 = $var14 % $var15$index | 0; if ((($var14 - $par2 | 0) + $var4 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par0Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0Random.$seed = var$6; $var14 = Long_lo(Long_shru(var$6, 17)); } $var13 = $var16.$iterator(); c: { while (true) { if (!$var13.$hasNext()) { $par1ItemStack = null; break c; } $par1ItemStack = $var13.$next(); $par2 = $par2 - $par1ItemStack.$itemWeight | 0; if ($par2 < 0) break; } } $var17 = $par1ItemStack; ju_ArrayList_ensureCapacity($var8, $var8.$size0 + 1 | 0); var$17 = $var8.$array.data; $var4 = $var8.$size0; $var8.$size0 = $var4 + 1 | 0; var$17[$var4] = $var17; $var8.$modCount = $var8.$modCount + 1 | 0; } $var11 = $var11 >> 1; } } } return $var8; }, nms_EnchantmentHelper_mapEnchantmentData = ($par0, $par1ItemStack) => { let $var5, $var9, $var2, $var3, $var4, var$8, $var6, $var7, $var8, var$12, var$13, var$14, var$15; nms_EnchantmentHelper_$callClinit(); nms_Item_$callClinit(); $var5 = nms_Item_itemsList.data; $var9 = $par1ItemStack.$itemID; $var2 = $var5[$var9]; $var3 = null; $var4 = $var9 != nms_Item_book.$itemID0 ? 0 : 1; nms_Enchantment_$callClinit(); var$8 = nms_Enchantment_enchantmentsList.data; $var6 = var$8.length; $var7 = 0; while ($var7 < $var6) { $var8 = var$8[$var7]; if ($var8 !== null && !(!nms_EnumEnchantmentType_canEnchantItem($var8.$type, $var2) && !$var4)) { $var9 = 1; while ($var9 <= $var8.$getMaxLevel()) { if ($par0 >= $var8.$getMinEnchantability($var9) && $par0 <= $var8.$getMaxEnchantability($var9)) { if ($var3 === null) { $var3 = new ju_HashMap; var$12 = ju_HashMap_calculateCapacity(16); $var3.$elementCount = 0; $var5 = $rt_createArray(ju_HashMap$HashEntry, var$12); var$13 = $var5.data; $var3.$elementData = $var5; $var3.$loadFactor = 0.75; $var3.$threshold = var$13.length * 0.75 | 0; } var$14 = $var8.$effectId; if (var$14 >= (-128) && var$14 <= 127) { jl_Integer_ensureIntegerCache(); $par1ItemStack = jl_Integer_integerCache.data[var$14 + 128 | 0]; } else { $par1ItemStack = new jl_Integer; $par1ItemStack.$value0 = var$14; } var$15 = new nms_EnchantmentData; var$15.$itemWeight = $var8.$weight; var$15.$enchantmentobj = $var8; var$15.$enchantmentLevel = $var9; ju_HashMap_putImpl($var3, $par1ItemStack, var$15); } $var9 = $var9 + 1 | 0; } } $var7 = $var7 + 1 | 0; } return $var3; }, nms_EnchantmentHelper__clinit_ = () => { let var$1, var$2; var$1 = new nle_EaglercraftRandom; var$2 = Long_fromNumber(performance.now() * 1000000.0); var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = var$2; nms_EnchantmentHelper_enchantmentRand = var$1; nms_EnchantmentHelper_enchantmentModifierDamage = new nms_EnchantmentModifierDamage; nms_EnchantmentHelper_enchantmentModifierLiving = new nms_EnchantmentModifierLiving; }; function nms_Scoreboard() { let a = this; jl_Object.call(a); a.$scoreObjectives = null; a.$field_96543_b = null; a.$field_96544_c = null; a.$field_96541_d = null; a.$field_96542_e = null; a.$teamMemberships = null; } let nms_Scoreboard__init_ = $this => { let var$1, var$2, var$3, var$4; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$scoreObjectives = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$field_96543_b = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$field_96544_c = var$1; $this.$field_96541_d = $rt_createArray(nms_ScoreObjective, 3); var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$field_96542_e = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$teamMemberships = var$1; }, nms_Scoreboard__init_0 = () => { let var_0 = new nms_Scoreboard(); nms_Scoreboard__init_(var_0); return var_0; }, nms_Scoreboard_func_96535_a = ($this, $par1Str, $par2ScoreObjectiveCriteria) => { let $var4, var$4, var$5, var$6, var$7, $var3, var$9, var$10, var$11, var$12; $var4 = $this.$scoreObjectives; if ($par1Str === null) { var$4 = $var4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = $par1Str.$hashCode1; var$6 = $var4.$elementData.data; var$4 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$5) { b: { $var4 = var$4.$key; if ($par1Str !== $var4) { if ($par1Str === $var4) var$7 = 1; else if (!($var4 instanceof jl_String)) var$7 = 0; else { $var3 = $var4; var$7 = $par1Str.$nativeString !== $var3.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$4 = var$4.$next3; } } $var4 = var$4 === null ? null : var$4.$value1; if ($var4 !== null) { $par2ScoreObjectiveCriteria = new jl_IllegalArgumentException; $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var4, $var4.$length0, $rt_s(3362)); var$5 = $var4.$length0; if ($par1Str === null) $par1Str = $rt_s(1); jl_AbstractStringBuilder_insert($var4, var$5, $par1Str); jl_AbstractStringBuilder_insert($var4, $var4.$length0, $rt_s(3363)); $par1Str = new jl_String; var$6 = $var4.$buffer; var$9 = var$6.data; var$7 = $var4.$length0; var$10 = var$9.length; if (var$7 >= 0 && var$7 <= (var$10 - 0 | 0)) { $par1Str.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7); $par2ScoreObjectiveCriteria.$suppressionEnabled = 1; $par2ScoreObjectiveCriteria.$writableStackTrace = 1; $par2ScoreObjectiveCriteria.$message = $par1Str; $rt_throw($par2ScoreObjectiveCriteria); } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); } var$11 = new nms_ScoreObjective; var$11.$theScoreboard0 = $this; var$11.$name22 = $par1Str; var$11.$objectiveCriteria = $par2ScoreObjectiveCriteria; var$11.$displayName = $par1Str; var$12 = $this.$field_96543_b; if ($par2ScoreObjectiveCriteria === null) { $var4 = var$12.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { $var4 = $par2ScoreObjectiveCriteria; if (!$var4.$id$) $var4.$id$ = $rt_nextId(); var$7 = $par2ScoreObjectiveCriteria.$id$; var$6 = var$12.$elementData.data; $var4 = var$6[var$7 & (var$6.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$7) { $var3 = $var4.$key; if ($par2ScoreObjectiveCriteria !== $var3 && !($par2ScoreObjectiveCriteria !== $var3 ? 0 : 1) ? 0 : 1) break; } $var4 = $var4.$next3; } } $var4 = $var4 === null ? null : $var4.$value1; if ($var4 === null) { $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); ju_HashMap_putImpl($this.$field_96543_b, $par2ScoreObjectiveCriteria, $var4); } $var4.$add(var$11); ju_HashMap_putImpl($this.$scoreObjectives, $par1Str, var$11); return var$11; }, nms_Scoreboard_func_96529_a = ($this, $par1Str, $par2ScoreObjective) => { let $var4, var$4, var$5, var$6, var$7, $var3; $var4 = $this.$field_96544_c; if ($par1Str === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $par1Str.$hashCode1; var$6 = $var4.$elementData.data; $var4 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$5) { b: { var$7 = $var4.$key; if ($par1Str !== var$7) { if ($par1Str === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $par1Str.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } $var4 = $var4.$next3; } } $var3 = $var4 === null ? null : $var4.$value1; if ($var3 === null) { $var3 = ju_HashMap__init_(); ju_HashMap_putImpl($this.$field_96544_c, $par1Str, $var3); } if ($par2ScoreObjective === null) { $var4 = $var3.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { $var4 = $par2ScoreObjective; if (!$var4.$id$) $var4.$id$ = $rt_nextId(); var$5 = $par2ScoreObjective.$id$; var$6 = $var3.$elementData.data; $var4 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$5) { var$7 = $var4.$key; if ($par2ScoreObjective !== var$7 && !($par2ScoreObjective !== var$7 ? 0 : 1) ? 0 : 1) break; } $var4 = $var4.$next3; } } $var4 = $var4 === null ? null : $var4.$value1; if ($var4 === null) { $var4 = new nms_Score; $var4.$theScoreboard = $this; $var4.$theScoreObjective = $par2ScoreObjective; $var4.$field_96654_d = $par1Str; ju_HashMap_putImpl($var3, $par2ScoreObjective, $var4); } return $var4; }, nms_Scoreboard_func_96519_k = ($this, $par1ScoreObjective) => { let $var2, $var3, var$4, $var5, var$6, var$7; ju_HashMap_removeByKey($this.$scoreObjectives, $par1ScoreObjective.$name22); $var2 = 0; $var3 = null; while ($var2 < 3) { var$4 = $this.$field_96541_d.data; if (var$4[$var2] === $par1ScoreObjective) var$4[$var2] = $var3; $var2 = $var2 + 1 | 0; } $var5 = $this.$field_96543_b; var$6 = $par1ScoreObjective.$objectiveCriteria; if (var$6 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$7 = var$6; if (!var$7.$id$) var$7.$id$ = $rt_nextId(); $var2 = var$6.$id$; var$4 = $var5.$elementData.data; $var5 = var$4[$var2 & (var$4.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $var2) { $var3 = $var5.$key; if (var$6 !== $var3 && !(var$6 !== $var3 ? 0 : 1) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; if ($var5 !== null) $var5.$remove($par1ScoreObjective); $var5 = $this.$field_96544_c; if ($var5.$cachedValues === null) { $var3 = new ju_HashMap$2; $var3.$this$01 = $var5; $var5.$cachedValues = $var3; } $var3 = $var5.$cachedValues.$iterator(); while ($var3.$hasNext()) { ju_HashMap_removeByKey($var3.$next(), $par1ScoreObjective); } }, nms_Scoreboard_func_96539_a = ($this, $par1) => { return $this.$field_96541_d.data[$par1]; }, nms_Scoreboard_getPlayersTeam = ($this, $par1Str) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$teamMemberships; if ($par1Str === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$par1Str.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1Str.$nativeString.length) break a; $par1Str.$hashCode1 = (31 * $par1Str.$hashCode1 | 0) + $par1Str.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $par1Str.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($par1Str !== var$6) { if ($par1Str === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $par1Str.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } return var$2 === null ? null : var$2.$value1; }; function nms_Score() { let a = this; jl_Object.call(a); a.$theScoreboard = null; a.$theScoreObjective = null; a.$field_96654_d = null; a.$field_96655_e = 0; } let nms_Score_field_96658_a = null, nms_Score_getScorePoints = $this => { return $this.$field_96655_e; }, nms_Score__clinit_ = () => { nms_Score_field_96658_a = new nms_ScoreComparator; }; function nms_ScoreObjective() { let a = this; jl_Object.call(a); a.$theScoreboard0 = null; a.$name22 = null; a.$objectiveCriteria = null; a.$displayName = null; } let nms_ScoreObjective_getScoreboard = $this => { return $this.$theScoreboard0; }; function nms_Stitcher() { let a = this; jl_Object.call(a); a.$setStitchHolders = null; a.$stitchSlots = null; a.$currentWidth = 0; a.$currentHeight = 0; a.$maxWidth = 0; a.$maxHeight0 = 0; a.$forcePowerOf2 = 0; a.$maxTileDimension = 0; a.$atlasTexture0 = null; a.$textureName3 = null; } let nms_Stitcher_getTexture = $this => { let var$1, $var2, $var1, $var4, $var3, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, var$32, var$33; if ($this.$forcePowerOf2) { var$1 = $this.$currentWidth - 1 | 0; $var2 = var$1 | var$1 >> 1; $var2 = $var2 | $var2 >> 2; $var2 = $var2 | $var2 >> 4; $var2 = $var2 | $var2 >> 8; $this.$currentWidth = ($var2 | $var2 >> 16) + 1 | 0; var$1 = $this.$currentHeight - 1 | 0; $var2 = var$1 | var$1 >> 1; $var2 = $var2 | $var2 >> 2; $var2 = $var2 | $var2 >> 4; $var2 = $var2 | $var2 >> 8; $this.$currentHeight = ($var2 | $var2 >> 16) + 1 | 0; } $var1 = nms_TextureManager_instance; $var4 = nms_Texture__init_($this.$textureName3, 1, $this.$currentWidth, $this.$currentHeight, 1, 33071, 33071, 9728, 9728, null); if (ju_HashMap_containsValue($var1.$texturesMap, $var4)) { if (jl_System_outCache === null) { $var3 = new otcic_JSStdoutPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); $var3.$out0 = var$6; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); $var3.$sb = var$6; $var3.$buffer0 = $rt_createCharArray(32); $var3.$autoFlush = 0; $var3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $var3; } $rt_putStdout("TextureManager.registerTexture called, but this texture has already been registered. ignoring."); $rt_putStdout("\n"); } else { $var3 = $var1.$texturesMap; var$1 = $var4.$textureId; if (var$1 >= (-128) && var$1 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$1 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$1; } ju_HashMap_putImpl($var3, var$6, $var4); } $this.$atlasTexture0 = $var4; nms_Texture_fillRect($var4, $var4.$textureRect, (-65536)); $var1 = new ju_ArrayList; $var1.$array = $rt_createArray(jl_Object, 10); $var3 = $this.$stitchSlots; var$1 = 0; var$7 = $var3.$modCount; $var2 = $var3.$size(); a: while (true) { if (!(var$1 >= $var2 ? 0 : 1)) { $var2 = 0; while (true) { var$1 = $rt_compare($var2, $var1.$size0); if (var$1 >= 0) { var$8 = nms_TextureManager_instance; $var3 = $this.$textureName3; var$6 = $this.$atlasTexture0; $var4 = var$8.$mapNameToId; var$1 = var$6.$textureId; if (var$1 >= (-128) && var$1 <= 127) { jl_Integer_ensureIntegerCache(); $var1 = jl_Integer_integerCache.data[var$1 + 128 | 0]; } else { $var1 = new jl_Integer; $var1.$value0 = var$1; } ju_HashMap_putImpl($var4, $var3, $var1); $var3 = var$8.$texturesMap; var$1 = var$6.$textureId; if (var$1 >= (-128) && var$1 <= 127) { jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[var$1 + 128 | 0]; } else { $var4 = new jl_Integer; $var4.$value0 = var$1; } if ($var4 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$9 = $var4.$value0; var$10 = $var3.$elementData.data; $var3 = var$10[var$9 & (var$10.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$9) { $var1 = $var3.$key; if ($var4 !== $var1 && !($var4 === $var1 ? 1 : $var1 instanceof jl_Integer && $var1.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } if (!($var3 === null ? 0 : 1)) { $var3 = var$8.$texturesMap; var$1 = var$6.$textureId; if (var$1 >= (-128) && var$1 <= 127) { jl_Integer_ensureIntegerCache(); $var4 = jl_Integer_integerCache.data[var$1 + 128 | 0]; } else { $var4 = new jl_Integer; $var4.$value0 = var$1; } ju_HashMap_putImpl($var3, $var4, var$6); } return $this.$atlasTexture0; } if ($var2 < 0) break; if (var$1 >= 0) break; $var3 = $var1.$array.data[$var2]; $var4 = $var3.$holder; nms_Texture_copyFrom($this.$atlasTexture0, $var3.$originX, $var3.$originY, $var4.$theTexture, $var4.$rotated); $var2 = $var2 + 1 | 0; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } if (var$7 < $var3.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } b: { var$11 = var$1 + 1 | 0; var$6 = $var3.$get(var$1); if (var$6.$holder !== null) { ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$10 = $var1.$array.data; var$12 = $var1.$size0; $var1.$size0 = var$12 + 1 | 0; var$10[var$12] = var$6; $var1.$modCount = $var1.$modCount + 1 | 0; } else { var$6 = var$6.$subSlots; if (var$6 !== null) { var$13 = var$6.$modCount; var$14 = var$6.$size(); var$1 = 0; while (true) { if (!(var$1 >= var$14 ? 0 : 1)) break b; if (var$13 < var$6.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } c: { var$15 = var$1 + 1 | 0; $var4 = var$6.$get(var$1); if ($var4.$holder !== null) { ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$10 = $var1.$array.data; var$12 = $var1.$size0; $var1.$size0 = var$12 + 1 | 0; var$10[var$12] = $var4; $var1.$modCount = $var1.$modCount + 1 | 0; } else { var$8 = $var4.$subSlots; if (var$8 !== null) { var$1 = 0; var$16 = var$8.$modCount; var$17 = var$8.$size(); while (true) { if (!(var$1 >= var$17 ? 0 : 1)) break c; if (var$16 < var$8.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } d: { var$18 = var$1 + 1 | 0; $var4 = var$8.$get(var$1); if ($var4.$holder !== null) { ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$10 = $var1.$array.data; var$12 = $var1.$size0; $var1.$size0 = var$12 + 1 | 0; var$10[var$12] = $var4; $var1.$modCount = $var1.$modCount + 1 | 0; } else { var$19 = $var4.$subSlots; if (var$19 !== null) { var$1 = 0; var$20 = var$19.$modCount; var$21 = var$19.$size(); while (true) { if (!(var$1 >= var$21 ? 0 : 1)) break d; if (var$20 < var$19.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } e: { var$22 = var$1 + 1 | 0; $var4 = var$19.$get(var$1); if ($var4.$holder !== null) { ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$10 = $var1.$array.data; var$12 = $var1.$size0; $var1.$size0 = var$12 + 1 | 0; var$10[var$12] = $var4; $var1.$modCount = $var1.$modCount + 1 | 0; } else { var$23 = $var4.$subSlots; if (var$23 !== null) { var$1 = 0; var$24 = var$23.$modCount; var$25 = var$23.$size(); while (true) { if (!(var$1 >= var$25 ? 0 : 1)) break e; if (var$24 < var$23.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } f: { var$12 = var$1 + 1 | 0; $var4 = var$23.$get(var$1); if ($var4.$holder !== null) { ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$10 = $var1.$array.data; var$26 = $var1.$size0; $var1.$size0 = var$26 + 1 | 0; var$10[var$26] = $var4; $var1.$modCount = $var1.$modCount + 1 | 0; } else { $var4 = $var4.$subSlots; if ($var4 !== null) { var$1 = 0; var$26 = $var4.$modCount; var$27 = $var4.$size(); while (true) { if (!(var$1 >= var$27 ? 0 : 1)) break f; if (var$26 < $var4.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } g: { var$28 = var$1 + 1 | 0; var$29 = $var4.$get(var$1); if (var$29.$holder !== null) { ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$10 = $var1.$array.data; var$30 = $var1.$size0; $var1.$size0 = var$30 + 1 | 0; var$10[var$30] = var$29; $var1.$modCount = $var1.$modCount + 1 | 0; } else { var$29 = var$29.$subSlots; if (var$29 !== null) { var$1 = 0; var$31 = var$29.$modCount; var$32 = var$29.$size(); while (true) { if (!(var$1 >= var$32 ? 0 : 1)) break g; if (var$31 < var$29.$modCount) break a; h: { var$30 = var$1 + 1 | 0; var$33 = var$29.$get(var$1); if (var$33.$holder !== null) ju_ArrayList_add($var1, var$33); else { var$33 = var$33.$subSlots; if (var$33 !== null) { var$33 = ju_AbstractList_iterator(var$33); while (true) { if (!ju_AbstractList$1_hasNext(var$33)) break h; nms_StitchSlot_getAllStitchSlots(ju_AbstractList$1_next(var$33), $var1); } } } } var$1 = var$30; } } } } var$1 = var$28; } } } } var$1 = var$12; } } } } var$1 = var$22; } } } } var$1 = var$18; } } } } var$1 = var$15; } } } } var$1 = var$11; } $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); }, nms_Stitcher_doStitch = $this => { let $var3, $var1, $var2, var$4, var$5; $var3 = $this.$setStitchHolders; $var1 = ju_AbstractCollection_toArray($var3, $rt_createArray(nms_StitchHolder, $var3.$backingMap.$elementCount)); ju_Arrays_sort($var1, ju_Comparator$NaturalOrder_INSTANCE); $this.$atlasTexture0 = null; $var2 = 0; while (true) { var$4 = $var1.data; if ($var2 >= var$4.length) break; $var3 = var$4[$var2]; if (!nms_Stitcher_allocateSlot($this, $var3)) { var$5 = new nms_StitcherException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$field_98149_a = $var3; $rt_throw(var$5); } $var2 = $var2 + 1 | 0; } }, nms_Stitcher_allocateSlot = ($this, $par1StitchHolder) => { let $var2, var$3, var$4; $var2 = 0; a: { b: { while (true) { var$3 = $this.$stitchSlots; var$4 = $rt_compare($var2, var$3.$size0); if (var$4 >= 0) break; if ($var2 < 0) break a; if (var$4 >= 0) break a; if (nms_StitchSlot_func_94182_a(var$3.$array.data[$var2], $par1StitchHolder)) return 1; $par1StitchHolder.$rotated = $par1StitchHolder.$rotated ? 0 : 1; var$3 = $this.$stitchSlots; if ($var2 < 0) break b; if ($var2 >= var$3.$size0) break b; if (nms_StitchSlot_func_94182_a(var$3.$array.data[$var2], $par1StitchHolder)) return 1; $par1StitchHolder.$rotated = $par1StitchHolder.$rotated ? 0 : 1; $var2 = $var2 + 1 | 0; } return nms_Stitcher_expandAndAllocateSlot($this, $par1StitchHolder); } $par1StitchHolder = new jl_IndexOutOfBoundsException; $par1StitchHolder.$suppressionEnabled = 1; $par1StitchHolder.$writableStackTrace = 1; $rt_throw($par1StitchHolder); } $par1StitchHolder = new jl_IndexOutOfBoundsException; $par1StitchHolder.$suppressionEnabled = 1; $par1StitchHolder.$writableStackTrace = 1; $rt_throw($par1StitchHolder); }, nms_Stitcher_expandAndAllocateSlot = ($this, $par1StitchHolder) => { let var$2, var$3, $var2, $var2_0, $var3, $var11, $var10, $var5, $var12, $var6, $var7, $var8, $var9, $var13, $var11_0, $var4, $var14, $var16, $var15, var$21; var$2 = $par1StitchHolder.$rotated; if (!var$2) { var$3 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var2 = ((var$3 >> 0) + (var$3 & 0 ? 1 : 0) | 0) << 0; } else { var$3 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var2 = ((var$3 >> 0) + (var$3 & 0 ? 1 : 0) | 0) << 0; } if (!var$2) { var$3 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var2_0 = ((var$3 >> 0) + (var$3 & 0 ? 1 : 0) | 0) << 0; } else { var$3 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var2_0 = ((var$3 >> 0) + (var$3 & 0 ? 1 : 0) | 0) << 0; } if ($var2 < $var2_0) $var2_0 = $var2; var$3 = $this.$currentWidth; $var3 = !var$3 && !$this.$currentHeight ? 1 : 0; if ($this.$forcePowerOf2) { $var11 = var$3 - 1 | 0; $var10 = $var11 | $var11 >> 1; $var10 = $var10 | $var10 >> 2; $var10 = $var10 | $var10 >> 4; $var10 = $var10 | $var10 >> 8; $var5 = ($var10 | $var10 >> 16) + 1 | 0; $var12 = $this.$currentHeight; $var11 = $var12 - 1 | 0; $var10 = $var11 | $var11 >> 1; $var10 = $var10 | $var10 >> 2; $var10 = $var10 | $var10 >> 4; $var10 = $var10 | $var10 >> 8; $var6 = ($var10 | $var10 >> 16) + 1 | 0; $var11 = (var$3 + $var2_0 | 0) - 1 | 0; $var10 = $var11 | $var11 >> 1; $var10 = $var10 | $var10 >> 2; $var10 = $var10 | $var10 >> 4; $var10 = $var10 | $var10 >> 8; $var7 = ($var10 | $var10 >> 16) + 1 | 0; $var11 = ($var12 + $var2_0 | 0) - 1 | 0; $var10 = $var11 | $var11 >> 1; $var10 = $var10 | $var10 >> 2; $var10 = $var10 | $var10 >> 4; $var10 = $var10 | $var10 >> 8; $var8 = ($var10 | $var10 >> 16) + 1 | 0; $var9 = $var7 > $this.$maxWidth ? 0 : 1; $var13 = $this.$maxHeight0; $var10 = $var8 > $var13 ? 0 : 1; if (!$var9 && !$var10) return 0; if (!var$2) { $var10 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var11_0 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } else { $var10 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var11_0 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } if (!var$2) { $var10 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var11 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } else { $var10 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var11 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } if ($var11_0 > $var11) $var11 = $var11_0; if ($var3 && !$var9) { $var11 = ($var12 + $var11 | 0) - 1 | 0; $var10 = $var11 | $var11 >> 1; $var10 = $var10 | $var10 >> 2; $var10 = $var10 | $var10 >> 4; $var10 = $var10 | $var10 >> 8; if ((($var10 | $var10 >> 16) + 1 | 0) > $var13) return 0; } $var12 = $var5 == $var7 ? 0 : 1; $var4 = !($var12 ^ ($var6 == $var8 ? 0 : 1)) ? ($var9 && $var5 <= $var6 ? 1 : 0) : $var12 && $var9 ? 1 : 0; } else { $var14 = (var$3 + $var2_0 | 0) > $this.$maxWidth ? 0 : 1; $var10 = $this.$currentHeight; $var16 = ($var10 + $var2_0 | 0) > $this.$maxHeight0 ? 0 : 1; if (!$var14 && !$var16) return 0; $var4 = !(!$var3 && var$3 > $var10) && $var14 ? 1 : 0; } if (!$var4) { $var15 = new nms_StitchSlot; $var6 = $this.$currentHeight; if (!var$2) { $var10 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var10 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } else { $var10 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var10 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } $var15.$originX = 0; $var15.$originY = $var6; $var15.$width5 = var$3; $var15.$height5 = $var10; if (!var$2) { var$3 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; var$3 = ((var$3 >> 0) + (var$3 & 0 ? 1 : 0) | 0) << 0; } else { var$3 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; var$3 = ((var$3 >> 0) + (var$3 & 0 ? 1 : 0) | 0) << 0; } $this.$currentHeight = $var6 + var$3 | 0; } else { if (!var$2) { $var10 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var7 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } else { $var10 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var7 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } if (!var$2) { $var10 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var10 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } else { $var10 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var10 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } if ($var7 > $var10) $par1StitchHolder.$rotated = var$2 ? 0 : 1; if (!$this.$currentHeight) { if (!$par1StitchHolder.$rotated) { $var10 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var10 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } else { $var10 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var10 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } $this.$currentHeight = $var10; } $var15 = new nms_StitchSlot; $var11 = $par1StitchHolder.$rotated; if (!$var11) { $var10 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var2_0 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } else { $var10 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var2_0 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } $var10 = $this.$currentHeight; $var15.$originX = var$3; $var15.$originY = 0; $var15.$width5 = $var2_0; $var15.$height5 = $var10; if (!$var11) { $var10 = $par1StitchHolder.$width2 * $par1StitchHolder.$scaleFactor | 0; $var10 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } else { $var10 = $par1StitchHolder.$height3 * $par1StitchHolder.$scaleFactor | 0; $var10 = (($var10 >> 0) + ($var10 & 0 ? 1 : 0) | 0) << 0; } $this.$currentWidth = var$3 + $var10 | 0; } nms_StitchSlot_func_94182_a($var15, $par1StitchHolder); $par1StitchHolder = $this.$stitchSlots; ju_ArrayList_ensureCapacity($par1StitchHolder, $par1StitchHolder.$size0 + 1 | 0); var$21 = $par1StitchHolder.$array.data; $var10 = $par1StitchHolder.$size0; $par1StitchHolder.$size0 = $var10 + 1 | 0; var$21[$var10] = $var15; $par1StitchHolder.$modCount = $par1StitchHolder.$modCount + 1 | 0; return 1; }; function nms_TextureClock() { let a = this; nms_TextureStitched.call(a); a.$field_94239_h = 0.0; a.$field_94240_i = 0.0; } let nms_TextureClock_updateAnimation = $this => { let $var1, $var2, var$3, var$4, $var7, $var6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; $var1 = nms_Minecraft_theMinecraft; $var2 = 0.0; var$3 = $var1.$theWorld; if (var$3 !== null && $var1.$thePlayer !== null) { $var2 = var$3.$provider.$calculateCelestialAngle(var$3.$worldInfo.$worldTime, 1.0); if (!$var1.$theWorld.$provider.$isSurfaceWorld()) $var2 = jl_Math_randomImpl(); } var$4 = $this.$field_94239_h; $var7 = $var2 - var$4; while ($var7 < (-0.5)) { $var7 = $var7 + 1.0; } while ($var7 >= 0.5) { $var7 = $var7 - 1.0; } if ($var7 < (-1.0)) $var7 = (-1.0); if ($var7 > 1.0) $var7 = 1.0; $var2 = $this.$field_94240_i + $var7 * 0.1; $this.$field_94240_i = $var2; $var2 = $var2 * 0.8; $this.$field_94240_i = $var2; $var2 = var$4 + $var2; $this.$field_94239_h = $var2; $var6 = (($var2 + 1.0) * $this.$textureList.$size() | 0) % $this.$textureList.$size() | 0; while ($var6 < 0) { $var6 = ($var6 + $this.$textureList.$size() | 0) % $this.$textureList.$size() | 0; } if ($var6 != $this.$frameCounter) { $this.$frameCounter = $var6; var$3 = $this.$textureSheet; var$7 = $this.$originX0; var$8 = $this.$originY0; var$9 = $this.$textureList.$get($var6); nleg_EaglerAdapterGL30_glBindTexture(var$3.$textureTarget, var$3.$glTextureId); var$10 = var$3.$textureTarget; var$11 = var$9.$width3; var$12 = var$9.$height4; var$9 = var$9.$textureData; jn_Buffer_position(var$9, 0); switch (var$10) { case 3553: break; default: } $var6 = nleg_EaglerAdapterGL30_bytesUploaded; var$10 = var$9.$limit0; var$13 = var$9.$position0; var$14 = var$10 - var$13 | 0; nleg_EaglerAdapterGL30_bytesUploaded = $var6 + var$14 | 0; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.texSubImage2D(3553, 0, var$7, var$8, var$11, var$12, 6408, 5121, new Uint8Array(var$9.$array0.data.buffer, var$13, var$14)); var$3.$textureNotModified = 1; } }; function nms_TextureCompass() { let a = this; nms_TextureStitched.call(a); a.$currentAngle = 0.0; a.$angleDelta = 0.0; } let nms_TextureCompass_compassTexture = null, nms_TextureCompass_updateAnimation = $this => { let $var1, var$2; a: { $var1 = nms_Minecraft_theMinecraft; var$2 = $var1.$theWorld; if (var$2 !== null) { $var1 = $var1.$thePlayer; if ($var1 !== null) { nms_TextureCompass_updateCompass($this, var$2, $var1.$posX, $var1.$posZ, $var1.$rotationYaw, 0, 0); break a; } } nms_TextureCompass_updateCompass($this, null, 0.0, 0.0, 0.0, 1, 0); } }, nms_TextureCompass_updateCompass = ($this, $par1World, $par2, $par4, $par6, $par8, $par9) => { let $var10, var$8, $var18, $var13, $var15, $var17, var$13, var$14, var$15, var$16; $var10 = 0.0; if ($par1World !== null && !$par8) { var$8 = $par1World.$worldInfo; $var18 = var$8.$spawnX; $par8 = var$8.$spawnZ; $var13 = $var18 - $par2; $var15 = $par8 - $par4; $var10 = -(($par6 % 360.0 - 90.0) * 3.141592653589793 / 180.0 - jl_Math_atan2($var15, $var13)); if (!$par1World.$provider.$isSurfaceWorld()) $var10 = jl_Math_randomImpl() * 3.141592653589793 * 2.0; } if ($par9) $this.$currentAngle = $var10; else { $par4 = $this.$currentAngle; $var17 = $var10 - $par4; while ($var17 < (-3.141592653589793)) { $var17 = $var17 + 6.283185307179586; } while ($var17 >= 3.141592653589793) { $var17 = $var17 - 6.283185307179586; } if ($var17 < (-1.0)) $var17 = (-1.0); if ($var17 > 1.0) $var17 = 1.0; $par2 = $this.$angleDelta + $var17 * 0.1; $this.$angleDelta = $par2; $par2 = $par2 * 0.8; $this.$angleDelta = $par2; $this.$currentAngle = $par4 + $par2; } $var18 = (($this.$currentAngle / 6.283185307179586 + 1.0) * $this.$textureList.$size() | 0) % $this.$textureList.$size() | 0; while ($var18 < 0) { $var18 = ($var18 + $this.$textureList.$size() | 0) % $this.$textureList.$size() | 0; } if ($var18 != $this.$frameCounter) { $this.$frameCounter = $var18; $par1World = $this.$textureSheet; $par8 = $this.$originX0; var$13 = $this.$originY0; var$8 = $this.$textureList.$get($var18); nleg_EaglerAdapterGL30_glBindTexture($par1World.$textureTarget, $par1World.$glTextureId); $var18 = $par1World.$textureTarget; var$14 = var$8.$width3; var$15 = var$8.$height4; var$8 = var$8.$textureData; jn_Buffer_position(var$8, 0); switch ($var18) { case 3553: break; default: } var$16 = nleg_EaglerAdapterGL30_bytesUploaded; $par9 = var$8.$limit0; $var18 = var$8.$position0; $par9 = $par9 - $var18 | 0; nleg_EaglerAdapterGL30_bytesUploaded = var$16 + $par9 | 0; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.texSubImage2D(3553, 0, $par8, var$13, var$14, var$15, 6408, 5121, new Uint8Array(var$8.$array0.data.buffer, $var18, $par9)); $par1World.$textureNotModified = 1; } }, nlea_EaglerAdapterImpl2$18 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$18__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$18__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$18(); nlea_EaglerAdapterImpl2$18__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$18_onTimer$exported$0 = var$0 => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_canvas.requestPointerLock(); }; function nms_MapStorage() { let a = this; jl_Object.call(a); a.$loadedDataMap = null; a.$loadedDataList = null; a.$idCounts = null; } let nms_MapStorage__init_0 = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $$je; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$loadedDataMap = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$loadedDataList = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$idCounts = var$1; a: { try { ju_HashMap_clear(var$1); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$1 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; jl_Object__init_(var$6); var$6.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$5); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$6); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } jl_Throwable_printStackTrace(var$1, jl_System_errCache); } }, nms_MapStorage__init_ = () => { let var_0 = new nms_MapStorage(); nms_MapStorage__init_0(var_0); return var_0; }; function nle_WebsocketNetworkManager() { let a = this; jl_Object.call(a); a.$netHandler2 = null; a.$serverURI = null; a.$sendBuffer1 = null; a.$oldChunkBuffer = null; a.$readChunks = null; } let nle_WebsocketNetworkManager__init_ = ($this, $uri, $eagler, $netHandler) => { let var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$netHandler = $thread.pop();$eagler = $thread.pop();$uri = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $eagler = new ji_ByteArrayOutputStream; $eagler.$buf = $rt_createByteArray(32); $this.$sendBuffer1 = $eagler; $this.$oldChunkBuffer = null; $this.$readChunks = new ju_LinkedList; $this.$serverURI = $uri; $this.$netHandler2 = $netHandler; nlea_EaglerAdapterImpl2_$callClinit(); $ptr = 1; case 1: $tmp = nlea_EaglerAdapterImpl2_connectWebSocket$_asyncCall_$($uri); if ($rt_suspending()) { break main; } $eagler = $tmp; $netHandler = $eagler; if ($rt_s(3418) === $netHandler) var$4 = 1; else if (!($netHandler instanceof jl_String)) var$4 = 0; else { $netHandler = $netHandler; var$4 = $rt_s(3418).$nativeString !== $netHandler.$nativeString ? 0 : 1; } if (var$4 ? 0 : 1) { window["minecraftServer"] = $rt_ustr($uri); return; } $eagler = new ji_IOException; $netHandler = new jl_StringBuilder; $netHandler.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($netHandler, $netHandler.$length0, $rt_s(3419)); var$4 = $netHandler.$length0; if ($uri === null) $uri = $rt_s(1); jl_AbstractStringBuilder_insert($netHandler, var$4, $uri); jl_AbstractStringBuilder_insert($netHandler, $netHandler.$length0, $rt_s(3420)); $uri = new jl_String; var$5 = $netHandler.$buffer; var$6 = var$5.data; var$7 = $netHandler.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $uri.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); $eagler.$suppressionEnabled = 1; $eagler.$writableStackTrace = 1; $eagler.$message = $uri; $rt_throw($eagler); } $uri = new jl_IndexOutOfBoundsException; $uri.$suppressionEnabled = 1; $uri.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($uri); $rt_throw($uri); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $uri, $eagler, $netHandler, var$4, var$5, var$6, var$7, var$8, $ptr); }, nle_WebsocketNetworkManager__init_0 = (var_0, var_1, var_2) => { let var_3 = new nle_WebsocketNetworkManager(); nle_WebsocketNetworkManager__init_(var_3, var_0, var_1, var_2); return var_3; }, nle_WebsocketNetworkManager_addToSendQueue = ($this, $var1) => { let $e, $yee, $$je; a: { try { ji_ByteArrayOutputStream_reset($this.$sendBuffer1); nms_Packet_writePacket($var1, ji_DataOutputStream__init_($this.$sendBuffer1)); nlea_EaglerAdapterImpl2_writePacket(ji_ByteArrayOutputStream_toByteArray($this.$sendBuffer1)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var1 = new otcic_JSStderrPrintStream; $yee = new ji_ByteArrayOutputStream; $yee.$buf = $rt_createByteArray(32); jl_Object__init_($var1); $var1.$out0 = $yee; $yee = new jl_StringBuilder; jl_AbstractStringBuilder__init_($yee, 16); $var1.$sb = $yee; $var1.$buffer0 = $rt_createCharArray(32); $var1.$autoFlush = 0; $var1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var1; } jl_Throwable_printStackTrace($e, jl_System_errCache); } }, nle_WebsocketNetworkManager_wakeThreads = $this => { return; }, nle_WebsocketNetworkManager_processReadPackets = $this => { let $pkt, $packetStream, var$3, $e2, $cap, var$6, var$7, $stream, var$9, var$10, $b, var$12, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();$b = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$stream = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$cap = $thread.pop();$e2 = $thread.pop();var$3 = $thread.pop();$packetStream = $thread.pop();$pkt = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $pkt = $this.$readChunks; $pkt.$firstEntry = null; $pkt.$lastEntry = null; $pkt.$size2 = 0; $pkt.$modCount = $pkt.$modCount + 1 | 0; $packetStream = $this.$oldChunkBuffer; if ($packetStream !== null) ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($pkt, 0), $packetStream); a: { while (true) { nlea_EaglerAdapterImpl2_$callClinit(); $pkt = nlea_EaglerAdapterImpl2_readPackets; if ($pkt.$size2 ? 0 : 1) var$3 = null; else { $pkt = ju_LinkedList_listIterator($pkt, 0); if ($pkt.$version < $pkt.$this$02.$modCount) { $pkt = new ju_ConcurrentModificationException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($pkt); $rt_throw($pkt); } $packetStream = $pkt.$nextEntry1; if ($packetStream === null) { $pkt = new ju_NoSuchElementException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $e2 = $packetStream.$item; $pkt.$currentEntry = $packetStream; $pkt.$prevEntry = $packetStream; $pkt.$nextEntry1 = $packetStream.$next5; $pkt.$index4 = $pkt.$index4 + 1 | 0; ju_LinkedList$SequentialListIterator_remove($pkt); var$3 = $e2; } if (var$3 === null) { $pkt = $this.$readChunks; $cap = $pkt.$size2 ? 0 : 1; b: { if (!$cap) { $cap = 0; $packetStream = $pkt.$firstEntry; var$6 = $pkt.$modCount; var$7 = $rt_compare(var$6, var$6); $stream = $packetStream; while (true) { if (!($stream === null ? 0 : 1)) { if ($cap < 0) { $pkt = new jl_IllegalArgumentException; $packetStream = new jl_StringBuilder; $packetStream.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($packetStream, $packetStream.$length0, $rt_s(760)); jl_AbstractStringBuilder_insert0($packetStream, $packetStream.$length0, $cap, 10); $e2 = new jl_String; var$3 = $packetStream.$buffer; var$9 = var$3.data; var$10 = $packetStream.$length0; var$6 = var$9.length; if (var$10 >= 0 && var$10 <= (var$6 - 0 | 0)) { $e2.$nativeString = $rt_charArrayToString(var$3.data, 0, var$10); $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $pkt.$message = $e2; $rt_throw($pkt); } $pkt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($pkt); $rt_throw($pkt); } $stream = new jn_ByteBufferImpl; var$3 = $rt_createByteArray($cap); $stream.$mark = (-1); $stream.$capacity = $cap; $stream.$limit0 = $cap; $stream.$order = jn_ByteOrder_BIG_ENDIAN; $stream.$start = 0; $stream.$array0 = var$3; $stream.$position0 = 0; $stream.$limit0 = $cap; $stream.$direct = 0; $stream.$readOnly0 = 0; while (true) { if (!($packetStream === null ? 0 : 1)) { $stream.$limit0 = $stream.$position0; $stream.$position0 = 0; $stream.$mark = (-1); $packetStream = new ji_DataInputStream; $pkt = new nle_WebsocketNetworkManager$ByteBufferDirectInputStream; $pkt.$buf7 = $stream; $packetStream.$in = $pkt; $packetStream.$buff = $rt_createByteArray(8); c: { d: while (true) { $cap = $stream.$position0; if (!($cap >= $stream.$limit0 ? 0 : 1)) break c; $stream.$mark = $cap; e: { try { $cap = 0; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_EOFException) { break d; } else if ($$je instanceof ji_IOException) { } else if ($$je instanceof jl_Throwable) { $e2 = $$je; break e; } else { throw $$e; } } continue d; } if (jl_System_errCache === null) { $pkt = new otcic_JSStderrPrintStream; $b = new ji_ByteArrayOutputStream; $b.$buf = $rt_createByteArray(32); jl_Object__init_($pkt); $pkt.$out0 = $b; $b = new jl_StringBuilder; jl_AbstractStringBuilder__init_($b, 16); $pkt.$sb = $b; $pkt.$buffer0 = $rt_createCharArray(32); $pkt.$autoFlush = 0; $pkt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $pkt; } jl_Throwable_printStackTrace($e2, jl_System_errCache); } $cap = $stream.$mark; if ($cap < 0) { $pkt = new jn_InvalidMarkException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $stream.$position0 = $cap; } var$6 = $stream.$position0; var$7 = $stream.$limit0; if (!(var$6 >= var$7 ? 0 : 1)) { $this.$oldChunkBuffer = null; break b; } $pkt = new jn_ByteBufferImpl; var$10 = var$6 + $stream.$start | 0; var$6 = var$7 - var$6 | 0; var$3 = $stream.$array0; var$7 = $stream.$direct; var$12 = $stream.$readOnly0; $pkt.$mark = (-1); $pkt.$capacity = var$6; $pkt.$limit0 = var$6; $pkt.$order = jn_ByteOrder_BIG_ENDIAN; $pkt.$start = var$10; $pkt.$array0 = var$3; $pkt.$position0 = 0; $pkt.$limit0 = var$6; $pkt.$direct = var$7; $pkt.$readOnly0 = var$12; $this.$oldChunkBuffer = $pkt; break b; } if (var$6 < $pkt.$modCount) { $pkt = new ju_ConcurrentModificationException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } if ($packetStream === null) break; $e2 = $packetStream.$item; $packetStream = $packetStream.$next5; $b = $e2; var$3 = $b.$array0; $cap = $b.$start; var$10 = $b.$position0; jn_ByteBuffer_put($stream, var$3, $cap + var$10 | 0, $b.$limit0 - var$10 | 0); } $pkt = new ju_NoSuchElementException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } if (var$7 < 0) { $pkt = new ju_ConcurrentModificationException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } if ($stream === null) break; $e2 = $stream.$item; $stream = $stream.$next5; $cap = $cap + $e2.$limit0 | 0; } $pkt = new ju_NoSuchElementException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } } return; } var$9 = var$3.data; $pkt = $this.$readChunks; var$10 = var$9.length; if (var$10 < 0) break a; if (var$10 > (var$10 - 0 | 0)) break a; $packetStream = new jn_ByteBufferImpl; var$12 = 0 + var$10 | 0; $packetStream.$mark = (-1); $packetStream.$capacity = var$10; $packetStream.$limit0 = var$10; $packetStream.$order = jn_ByteOrder_BIG_ENDIAN; $packetStream.$start = 0; $packetStream.$array0 = var$3; $packetStream.$position0 = 0; $packetStream.$limit0 = var$12; $packetStream.$direct = 0; $packetStream.$readOnly0 = 0; $cap = $pkt.$size2; if ($cap < 0) break; ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($pkt, $cap), $packetStream); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); case 1: f: { g: { h: { try { $tmp = nms_Packet_readPacket($packetStream, $cap); if ($rt_suspending()) { break main; } $pkt = $tmp; $e2 = $this.$netHandler2; $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_EOFException) { break g; } else if ($$je instanceof ji_IOException) { } else if ($$je instanceof jl_Throwable) { $e2 = $$je; break h; } else { throw $$e; } } while (true) { $cap = $stream.$position0; var$10 = $stream.$limit0; var$10 = $rt_compare($cap, var$10); var$10 = var$10 >= 0 ? 0 : 1; if (!var$10) break f; $stream.$mark = $cap; try { $cap = 0; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_EOFException) { break g; } else if ($$je instanceof ji_IOException) { } else if ($$je instanceof jl_Throwable) { $e2 = $$je; break h; } else { throw $$e; } } } } i: while (true) { if (jl_System_errCache === null) { $pkt = new otcic_JSStderrPrintStream; $b = new ji_ByteArrayOutputStream; $b.$buf = $rt_createByteArray(32); jl_Object__init_($pkt); $pkt.$out0 = $b; $b = new jl_StringBuilder; jl_AbstractStringBuilder__init_($b, 16); $pkt.$sb = $b; $pkt.$buffer0 = $rt_createCharArray(32); $pkt.$autoFlush = 0; $pkt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $pkt; } jl_Throwable_printStackTrace($e2, jl_System_errCache); while (true) { $cap = $stream.$position0; var$10 = $stream.$limit0; var$10 = $rt_compare($cap, var$10); var$10 = var$10 >= 0 ? 0 : 1; if (!var$10) break f; $stream.$mark = $cap; try { $cap = 0; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_EOFException) { break g; } else if ($$je instanceof ji_IOException) { } else if ($$je instanceof jl_Throwable) { $e2 = $$je; continue i; } else { throw $$e; } } } } } $cap = $stream.$mark; if ($cap < 0) { $pkt = new jn_InvalidMarkException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $stream.$position0 = $cap; } var$6 = $stream.$position0; var$7 = $stream.$limit0; if (!(var$6 >= var$7 ? 0 : 1)) $this.$oldChunkBuffer = null; else { $pkt = new jn_ByteBufferImpl; var$10 = var$6 + $stream.$start | 0; var$6 = var$7 - var$6 | 0; var$3 = $stream.$array0; var$7 = $stream.$direct; var$12 = $stream.$readOnly0; $pkt.$mark = (-1); $pkt.$capacity = var$6; $pkt.$limit0 = var$6; $pkt.$order = jn_ByteOrder_BIG_ENDIAN; $pkt.$start = var$10; $pkt.$array0 = var$3; $pkt.$position0 = 0; $pkt.$limit0 = var$6; $pkt.$direct = var$7; $pkt.$readOnly0 = var$12; $this.$oldChunkBuffer = $pkt; } return; case 2: f: { g: { h: { j: { try { $pkt.$processPacket($e2); if ($rt_suspending()) { break main; } break j; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_EOFException) { break g; } else if ($$je instanceof ji_IOException) { } else if ($$je instanceof jl_Throwable) { $e2 = $$je; break h; } else { throw $$e; } } } while (true) { $cap = $stream.$position0; var$10 = $stream.$limit0; var$10 = $rt_compare($cap, var$10); var$10 = var$10 >= 0 ? 0 : 1; if (!var$10) break f; $stream.$mark = $cap; try { $cap = 0; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_EOFException) { break g; } else if ($$je instanceof ji_IOException) { } else if ($$je instanceof jl_Throwable) { $e2 = $$je; break h; } else { throw $$e; } } } } k: while (true) { if (jl_System_errCache === null) { $pkt = new otcic_JSStderrPrintStream; $b = new ji_ByteArrayOutputStream; $b.$buf = $rt_createByteArray(32); jl_Object__init_($pkt); $pkt.$out0 = $b; $b = new jl_StringBuilder; jl_AbstractStringBuilder__init_($b, 16); $pkt.$sb = $b; $pkt.$buffer0 = $rt_createCharArray(32); $pkt.$autoFlush = 0; $pkt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $pkt; } jl_Throwable_printStackTrace($e2, jl_System_errCache); while (true) { $cap = $stream.$position0; var$10 = $stream.$limit0; var$10 = $rt_compare($cap, var$10); var$10 = var$10 >= 0 ? 0 : 1; if (!var$10) break f; $stream.$mark = $cap; try { $cap = 0; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_EOFException) { break g; } else if ($$je instanceof ji_IOException) { } else if ($$je instanceof jl_Throwable) { $e2 = $$je; continue k; } else { throw $$e; } } } } } $cap = $stream.$mark; if ($cap < 0) { $pkt = new jn_InvalidMarkException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } $stream.$position0 = $cap; } var$6 = $stream.$position0; var$7 = $stream.$limit0; if (!(var$6 >= var$7 ? 0 : 1)) $this.$oldChunkBuffer = null; else { $pkt = new jn_ByteBufferImpl; var$10 = var$6 + $stream.$start | 0; var$6 = var$7 - var$6 | 0; var$3 = $stream.$array0; var$7 = $stream.$direct; var$12 = $stream.$readOnly0; $pkt.$mark = (-1); $pkt.$capacity = var$6; $pkt.$limit0 = var$6; $pkt.$order = jn_ByteOrder_BIG_ENDIAN; $pkt.$start = var$10; $pkt.$array0 = var$3; $pkt.$position0 = 0; $pkt.$limit0 = var$6; $pkt.$direct = var$7; $pkt.$readOnly0 = var$12; $this.$oldChunkBuffer = $pkt; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $pkt, $packetStream, var$3, $e2, $cap, var$6, var$7, $stream, var$9, var$10, $b, var$12, $ptr); }, nle_WebsocketNetworkManager_serverShutdown = $this => { if (nlea_EaglerAdapterImpl2_connectionOpen()) { nlea_EaglerAdapterImpl2_endConnection(); window["minecraftServer"] = "null"; } }, nle_WebsocketNetworkManager_networkShutdown = ($this, $var1, $var2) => { if (nlea_EaglerAdapterImpl2_connectionOpen()) { nlea_EaglerAdapterImpl2_endConnection(); window["minecraftServer"] = "null"; } }, nle_WebsocketNetworkManager_closeConnections = $this => { if (nlea_EaglerAdapterImpl2_connectionOpen()) { nlea_EaglerAdapterImpl2_endConnection(); window["minecraftServer"] = "null"; } }, nle_WebsocketNetworkManager_getServerURI = $this => { return $this.$serverURI; }, nlea_EaglerAdapterImpl2$RateLimit = $rt_classWithoutFields(jl_Enum), nlea_EaglerAdapterImpl2$RateLimit_NONE = null, nlea_EaglerAdapterImpl2$RateLimit_FAILED = null, nlea_EaglerAdapterImpl2$RateLimit_BLOCKED = null, nlea_EaglerAdapterImpl2$RateLimit_FAILED_POSSIBLY_LOCKED = null, nlea_EaglerAdapterImpl2$RateLimit_LOCKED = null, nlea_EaglerAdapterImpl2$RateLimit_NOW_LOCKED = null, nlea_EaglerAdapterImpl2$RateLimit_$VALUES = null, nlea_EaglerAdapterImpl2$RateLimit_$values = () => { let var$1, var$2; var$1 = $rt_createArray(nlea_EaglerAdapterImpl2$RateLimit, 6); var$2 = var$1.data; var$2[0] = nlea_EaglerAdapterImpl2$RateLimit_NONE; var$2[1] = nlea_EaglerAdapterImpl2$RateLimit_FAILED; var$2[2] = nlea_EaglerAdapterImpl2$RateLimit_BLOCKED; var$2[3] = nlea_EaglerAdapterImpl2$RateLimit_FAILED_POSSIBLY_LOCKED; var$2[4] = nlea_EaglerAdapterImpl2$RateLimit_LOCKED; var$2[5] = nlea_EaglerAdapterImpl2$RateLimit_NOW_LOCKED; return var$1; }, nlea_EaglerAdapterImpl2$RateLimit__clinit_ = () => { let var$1; var$1 = new nlea_EaglerAdapterImpl2$RateLimit; var$1.$name0 = $rt_s(223); var$1.$ordinal = 0; nlea_EaglerAdapterImpl2$RateLimit_NONE = var$1; var$1 = new nlea_EaglerAdapterImpl2$RateLimit; var$1.$name0 = $rt_s(3421); var$1.$ordinal = 1; nlea_EaglerAdapterImpl2$RateLimit_FAILED = var$1; var$1 = new nlea_EaglerAdapterImpl2$RateLimit; var$1.$name0 = $rt_s(3422); var$1.$ordinal = 2; nlea_EaglerAdapterImpl2$RateLimit_BLOCKED = var$1; var$1 = new nlea_EaglerAdapterImpl2$RateLimit; var$1.$name0 = $rt_s(3423); var$1.$ordinal = 3; nlea_EaglerAdapterImpl2$RateLimit_FAILED_POSSIBLY_LOCKED = var$1; var$1 = new nlea_EaglerAdapterImpl2$RateLimit; var$1.$name0 = $rt_s(3424); var$1.$ordinal = 4; nlea_EaglerAdapterImpl2$RateLimit_LOCKED = var$1; var$1 = new nlea_EaglerAdapterImpl2$RateLimit; var$1.$name0 = $rt_s(3425); var$1.$ordinal = 5; nlea_EaglerAdapterImpl2$RateLimit_NOW_LOCKED = var$1; nlea_EaglerAdapterImpl2$RateLimit_$VALUES = nlea_EaglerAdapterImpl2$RateLimit_$values(); }, jl_AbstractStringBuilder$Constants = $rt_classWithoutFields(), jl_AbstractStringBuilder$Constants_longLogPowersOfTen = null, jl_AbstractStringBuilder$Constants_doubleAnalysisResult = null, jl_AbstractStringBuilder$Constants_floatAnalysisResult = null, jl_AbstractStringBuilder$Constants__init_ = $this => { return; }, jl_AbstractStringBuilder$Constants__init_0 = () => { let var_0 = new jl_AbstractStringBuilder$Constants(); jl_AbstractStringBuilder$Constants__init_(var_0); return var_0; }, jl_AbstractStringBuilder$Constants__clinit_ = () => { jl_AbstractStringBuilder$Constants_longLogPowersOfTen = $rt_createLongArrayFromData([Long_fromInt(1), Long_fromInt(10), Long_fromInt(100), Long_fromInt(10000), Long_fromInt(100000000), Long_create(1874919424, 2328306)]); jl_AbstractStringBuilder$Constants_doubleAnalysisResult = new otcit_DoubleAnalyzer$Result; jl_AbstractStringBuilder$Constants_floatAnalysisResult = new otcit_FloatAnalyzer$Result; }, otcit_FloatAnalyzer = $rt_classWithoutFields(), otcit_FloatAnalyzer_MAX_MANTISSA = 0, otcit_FloatAnalyzer_mantissa10Table = null, otcit_FloatAnalyzer_exp10Table = null, otcit_FloatAnalyzer__init_ = $this => { return; }, otcit_FloatAnalyzer__init_0 = () => { let var_0 = new otcit_FloatAnalyzer(); otcit_FloatAnalyzer__init_(var_0); return var_0; }, otcit_FloatAnalyzer_analyze = ($d, $result) => { let $bits, $mantissa, $exponent, var$6, $decExponent, $mantissaShift, var$9, $decMantissa, $upperPos, $upperPos_0, var$13, $decMantissaHi, $decMantissaLow, $lowerPos, $lowerPos_0, $posCmp; $bits = (isNaN($d) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits($d); $result.$sign3 = !($bits & (-2147483648)) ? 0 : 1; $mantissa = $bits & 8388607; $exponent = $bits >> 23 & 255; if (!$mantissa && !$exponent) { $result.$mantissa0 = 0; $result.$exponent0 = 0; return; } if ($exponent) $bits = $mantissa | 8388608; else { $bits = $mantissa << 1; while (Long_eq(Long_and(Long_fromInt($bits), Long_fromInt(8388608)), Long_ZERO)) { $bits = $bits << 1; $exponent = $exponent + (-1) | 0; } } var$6 = otcit_FloatAnalyzer_exp10Table; $decExponent = ju_Arrays_binarySearch0(var$6, 0, var$6.data.length, $exponent); if ($decExponent < 0) $decExponent = -$decExponent | 0; var$6 = otcit_FloatAnalyzer_exp10Table.data; $mantissa = $decExponent + 1 | 0; $mantissaShift = 9 + ($exponent - var$6[$mantissa] | 0) | 0; $mantissa = otcit_FloatAnalyzer_mantissa10Table.data[$mantissa]; var$9 = Long_and(Long_fromInt($bits), Long_create(4294967295, 0)); $decMantissa = Long_lo(Long_shru(Long_mul(var$9, Long_and(Long_fromInt($mantissa), Long_create(4294967295, 0))), 32 - $mantissaShift | 0)); if ($decMantissa < otcit_FloatAnalyzer_MAX_MANTISSA) { while ($rt_ucmp($decMantissa, otcit_FloatAnalyzer_MAX_MANTISSA) <= 0) { $decExponent = $decExponent + (-1) | 0; $decMantissa = ($decMantissa * 10 | 0) + 9 | 0; } var$6 = otcit_FloatAnalyzer_exp10Table.data; $mantissa = $decExponent + 1 | 0; $mantissaShift = 9 + ($exponent - var$6[$mantissa] | 0) | 0; $decMantissa = Long_lo(Long_shru(Long_mul(var$9, Long_and(Long_fromInt(otcit_FloatAnalyzer_mantissa10Table.data[$mantissa]), Long_create(4294967295, 0))), 32 - $mantissaShift | 0)); } $bits = $bits << 1; $upperPos = $bits + 1 | 0; var$6 = otcit_FloatAnalyzer_mantissa10Table.data; $exponent = $decExponent + 1 | 0; $mantissa = var$6[$exponent]; $upperPos_0 = $mantissaShift - 1 | 0; var$13 = Long_mul(Long_and(Long_fromInt($upperPos), Long_create(4294967295, 0)), Long_and(Long_fromInt($mantissa), Long_create(4294967295, 0))); $mantissa = 32 - $upperPos_0 | 0; $decMantissaHi = Long_lo(Long_shru(var$13, $mantissa)); $decMantissaLow = Long_lo(Long_shru(Long_mul(Long_and(Long_fromInt($bits - 1 | 0), Long_create(4294967295, 0)), Long_and(Long_fromInt(var$6[$exponent]), Long_create(4294967295, 0))), $mantissa)); $lowerPos = 1; while (true) { $lowerPos_0 = $lowerPos * 10 | 0; if ($rt_ucmp($rt_udiv($decMantissa, $lowerPos_0), $rt_udiv($decMantissaLow, $lowerPos_0)) <= 0) break; $lowerPos = $lowerPos_0; } $upperPos_0 = 1; while (true) { $upperPos = $upperPos_0 * 10 | 0; if ($rt_ucmp($rt_udiv($decMantissa, $upperPos), $rt_udiv($decMantissaHi, $upperPos)) >= 0) break; $upperPos_0 = $upperPos; } $posCmp = $rt_ucmp($lowerPos, $upperPos_0); $bits = $posCmp > 0 ? $rt_imul($rt_udiv($decMantissa, $lowerPos), $lowerPos) : $posCmp < 0 ? $rt_imul($rt_udiv($decMantissa, $upperPos_0), $upperPos_0) + $upperPos_0 | 0 : $rt_imul($rt_udiv(($decMantissa + ($upperPos_0 / 2 | 0) | 0), $upperPos_0), $upperPos_0); if (jl_Long_compareUnsigned(Long_fromInt($bits), Long_fromInt(1000000000)) >= 0) while (true) { $decExponent = $decExponent + 1 | 0; $bits = $rt_udiv($bits, 10); if ($rt_ucmp($bits, 1000000000) < 0) break; } else if ($rt_ucmp($bits, 100000000) < 0) { $decExponent = $decExponent + (-1) | 0; $bits = $bits * 10 | 0; } $result.$mantissa0 = $bits; $result.$exponent0 = $decExponent - 50 | 0; }, otcit_FloatAnalyzer__clinit_ = () => { otcit_FloatAnalyzer_MAX_MANTISSA = $rt_udiv((-1), 10); otcit_FloatAnalyzer_mantissa10Table = $rt_createIntArrayFromData([(-18543760), (-873828468), (-1558056233), (-2105438446), (-791721136), (-1492370368), (-2052889754), (-707643228), (-1425108042), (-1999079893), (-621547450), (-1356231419), (-1943978595), (-533385374), (-1285701758), (-1887554866), (-443107408), (-1213479385), (-1829776968), (-350662770), (-1139523676), (-1770612400), (-255999462), (-1063793029), (-1710027882), (-159064234), (-986244846), (-1647989336), (-59802560), (-906835507), (-1584461865), (-2126562952), (-825520345), (-1519409735), (-2074521247), (-742253618), (-1452796353), (-2021230542), (-656988489), (-1384584251), (-1966660860), (-569676998), (-1314735058), (-1910781505), (-480270031), (-1243209484), (-1853561046), (-388717296), (-1169967296), (-1794967296), (-294967296), (-1094967296), (-1734967296), (-198967296), (-1018167296), (-1673527296), (-100663296), (-939524096), (-1610612736), (-2147483648), (-858993460), (-1546188227), (-2095944041), (-776530088), (-1480217529), (-2043167483), (-692087595), (-1412663535), (-1989124287), (-605618482), (-1343488245), (-1933784055), (-517074110), (-1272652747), (-1877115657), (-426404674), (-1200117198), (-1819087218), (-333559171), (-1125840796), (-1759666096), (-238485376), (-1049781760), (-1698818867), (-141129810), (-971897307), (-1636511305), (-41437710), (-892143627), (-1572708361), (-2117160148), (-810475859), (-1507374147), (-2064892777), (-726848065), (-1440471911), (-2011370988), (-641213203), (-1371964022), (-1956564688)]); otcit_FloatAnalyzer_exp10Table = $rt_createIntArrayFromData([(-37), (-34), (-31), (-28), (-24), (-21), (-18), (-14), (-11), (-8), (-4), (-1), 2, 6, 9, 12, 16, 19, 22, 26, 29, 32, 36, 39, 42, 46, 49, 52, 56, 59, 62, 65, 69, 72, 75, 79, 82, 85, 89, 92, 95, 99, 102, 105, 109, 112, 115, 119, 122, 125, 129, 132, 135, 139, 142, 145, 149, 152, 155, 158, 162, 165, 168, 172, 175, 178, 182, 185, 188, 192, 195, 198, 202, 205, 208, 212, 215, 218, 222, 225, 228, 232, 235, 238, 242, 245, 248, 252, 255, 258, 261, 265, 268, 271, 275, 278, 281, 285, 288, 291]); }; function otcit_FloatAnalyzer$Result() { let a = this; jl_Object.call(a); a.$mantissa0 = 0; a.$exponent0 = 0; a.$sign3 = 0; } let otcit_FloatAnalyzer$Result__init_ = $this => { return; }, otcit_FloatAnalyzer$Result__init_0 = () => { let var_0 = new otcit_FloatAnalyzer$Result(); otcit_FloatAnalyzer$Result__init_(var_0); return var_0; }; function ju_UnknownFormatConversionException() { ju_IllegalFormatException.call(this); this.$conversion1 = null; } function jl_Class$MethodSignature() { let a = this; jl_Object.call(a); a.$name15 = null; a.$parameterTypes0 = null; a.$returnType0 = null; } let jl_Class$MethodSignature_equals = ($this, $o) => { let $that, var$3, var$4; if ($this === $o) return 1; if (!($o instanceof jl_Class$MethodSignature)) return 0; $that = $o; $o = $this.$name15; var$3 = $that.$name15; if ($o === var$3) var$4 = 1; else if ($o === null) var$4 = var$3 !== null ? 0 : 1; else if ($o === var$3) var$4 = 1; else if (!(var$3 instanceof jl_String)) var$4 = 0; else { var$3 = var$3; var$4 = $o.$nativeString !== var$3.$nativeString ? 0 : 1; } a: { if (var$4 && ju_Arrays_equals($this.$parameterTypes0, $that.$parameterTypes0)) { $o = $this.$returnType0; $that = $that.$returnType0; if ($o === $that ? 1 : $o === null ? ($that !== null ? 0 : 1) : $o !== $that ? 0 : 1) { var$4 = 1; break a; } } var$4 = 0; } return var$4; }, jl_Class$MethodSignature_hashCode = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $rt_createArray(jl_Object, 3).data; var$1[0] = $this.$name15; var$2 = $this.$parameterTypes0; if (var$2 === null) var$3 = 0; else { var$3 = 1; var$4 = 0; while (true) { var$5 = var$2.data; if (var$4 >= var$5.length) break; var$6 = 31 * var$3 | 0; var$7 = var$5[var$4]; if (var$7 === null) var$3 = 0; else { var$8 = var$7; if (!var$8.$id$) var$8.$id$ = $rt_nextId(); var$3 = var$7.$id$; } var$3 = var$6 + var$3 | 0; var$4 = var$4 + 1 | 0; } } if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$8 = new jl_Integer; var$8.$value0 = var$3; } var$1[1] = var$8; var$1[2] = $this.$returnType0; var$9 = 1; var$3 = 0; while (var$3 < var$1.length) { var$9 = 31 * var$9 | 0; var$8 = var$1[var$3]; var$9 = var$9 + (var$8 !== null ? var$8.$hashCode() : 0) | 0; var$3 = var$3 + 1 | 0; } return var$9; }; function nms_Slot() { let a = this; jl_Object.call(a); a.$slotIndex = 0; a.$inventory0 = null; a.$slotNumber = 0; a.$xDisplayPosition = 0; a.$yDisplayPosition = 0; } let nms_Slot_onSlotChange = ($this, $par1ItemStack, $par2ItemStack) => { let $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();$par2ItemStack = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1ItemStack !== null && $par2ItemStack !== null && $par1ItemStack.$itemID == $par2ItemStack.$itemID) { $var3 = $par2ItemStack.$stackSize - $par1ItemStack.$stackSize | 0; if ($var3 > 0) { $ptr = 1; continue main; } } return; case 1: $this.$onCrafting($par1ItemStack, $var3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2ItemStack, $var3, $ptr); }, nms_Slot_onCrafting = ($this, $par1ItemStack, $par2) => { return; }, nms_Slot_onPickupFromSlot = ($this, $par1EntityPlayer, $par2ItemStack) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2ItemStack = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $this.$onSlotChanged(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2ItemStack, $ptr); }, nms_Slot_isItemValid = ($this, $par1ItemStack) => { return 1; }, nms_Slot_getStack = $this => { return $this.$inventory0.$getStackInSlot($this.$slotIndex); }, nms_Slot_getHasStack = $this => { return $this.$getStack() === null ? 0 : 1; }, nms_Slot_putStack = ($this, $par1ItemStack) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$inventory0; var$3 = $this.$slotIndex; $ptr = 1; case 1: var$2.$setInventorySlotContents(var$3, $par1ItemStack); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $this.$onSlotChanged(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, var$2, var$3, $ptr); }, nms_Slot_onSlotChanged = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$inventory0; $ptr = 1; case 1: var$1.$onInventoryChanged(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_Slot_getSlotStackLimit = $this => { return $this.$inventory0.$getInventoryStackLimit(); }, nms_Slot_getBackgroundIconIndex = $this => { return null; }, nms_Slot_decrStackSize = ($this, $par1) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$inventory0; var$3 = $this.$slotIndex; $ptr = 1; case 1: $tmp = var$2.$decrStackSize(var$3, $par1); if ($rt_suspending()) { break main; } var$2 = $tmp; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, $ptr); }, nms_Slot_canTakeStack = ($this, $par1EntityPlayer) => { return 1; }, nms_Slot_func_111238_b = $this => { return 1; }; function nms_InventoryBasic() { let a = this; jl_Object.call(a); a.$inventoryTitle = null; a.$slotsCount = 0; a.$inventoryContents = null; a.$field_70480_d = null; a.$field_94051_e = 0; } let nms_InventoryBasic_getStackInSlot = ($this, $par1) => { return $this.$inventoryContents.data[$par1]; }, nms_InventoryBasic_decrStackSize = ($this, $par1, $par2) => { let var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; var$3 = $this.$inventoryContents.data; if (var$3[$par1] === null) return null; if (var$3[$par1].$stackSize <= $par2) { $var3 = var$3[$par1]; var$3[$par1] = null; $this.$onInventoryChanged(); return $var3; } var$5 = var$3[$par1]; $var3 = new nms_ItemStack; var$6 = var$5.$itemID; var$7 = var$5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$6; $var3.$stackSize = $par2; $var3.$itemDamage = var$7; if (var$7 < 0) $var3.$itemDamage = 0; var$8 = var$5.$stackTagCompound; if (var$8 !== null) { var$9 = new nms_NBTTagCompound; var$10 = var$8.$name; if (var$10 === null) var$10 = $rt_s(18); var$9.$name = var$10; var$10 = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); var$10.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$3 = var$11.data; var$10.$elementData = var$11; var$10.$loadFactor = 0.75; var$10.$threshold = var$3.length * 0.75 | 0; var$9.$tagMap = var$10; var$12 = var$8.$tagMap; if (var$12.$cachedKeySet === null) { var$10 = new ju_HashMap$1; var$10.$this$0 = var$12; var$12.$cachedKeySet = var$10; } var$13 = var$12.$cachedKeySet.$iterator(); while (var$13.$hasNext()) { var$14 = var$13.$next(); var$10 = var$8.$tagMap; if (var$14 === null) { var$15 = var$10.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { a: { if (!var$14.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$14.$nativeString.length) break a; var$14.$hashCode1 = (31 * var$14.$hashCode1 | 0) + var$14.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$7 = var$14.$hashCode1; var$3 = var$10.$elementData.data; var$15 = var$3[var$7 & (var$3.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$7) { b: { var$10 = var$15.$key; if (var$14 !== var$10) { if (var$14 === var$10) var$6 = 1; else if (!(var$10 instanceof jl_String)) var$6 = 0; else { var$10 = var$10; var$6 = var$14.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$15 = var$15.$next3; } } var$10 = var$15 === null ? null : var$15.$value1; var$10 = var$10.$copy(); var$12 = var$9.$tagMap; if (var$14 !== null) var$10.$name = var$14; else var$10.$name = $rt_s(18); ju_HashMap_putImpl(var$12, var$14, var$10); } $var3.$stackTagCompound = var$9; } var$5.$stackSize = var$5.$stackSize - $par2 | 0; var$3 = $this.$inventoryContents.data; if (!var$3[$par1].$stackSize) var$3[$par1] = null; $this.$onInventoryChanged(); return $var3; }, nms_InventoryBasic_setInventorySlotContents = ($this, $par1, $par2ItemStack) => { $this.$inventoryContents.data[$par1] = $par2ItemStack; if ($par2ItemStack !== null && $par2ItemStack.$stackSize > $this.$getInventoryStackLimit()) $par2ItemStack.$stackSize = $this.$getInventoryStackLimit(); $this.$onInventoryChanged(); }, nms_InventoryBasic_getSizeInventory = $this => { return $this.$slotsCount; }, nms_InventoryBasic_getInvName = $this => { return $this.$inventoryTitle; }, nms_InventoryBasic_isInvNameLocalized = $this => { return $this.$field_94051_e; }, nms_InventoryBasic_getInventoryStackLimit = $this => { return 64; }, nms_InventoryBasic_onInventoryChanged = $this => { let $var1, var$2, var$3; a: { b: { if ($this.$field_70480_d !== null) { $var1 = 0; while (true) { var$2 = $this.$field_70480_d; var$3 = $rt_compare($var1, var$2.$size0); if (var$3 >= 0) break b; if ($var1 < 0) break a; if (var$3 >= 0) break a; nms_EntityHorse_onInventoryChanged(var$2.$array.data[$var1], $this); $var1 = $var1 + 1 | 0; } } } return; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, nms_InventoryBasic_isUseableByPlayer = ($this, $par1EntityPlayer) => { return 1; }, nms_InventoryBasic_openChest = $this => { return; }, nms_InventoryBasic_closeChest = $this => { return; }; function nleav_VirtualFilesystem$AsyncHandlers$11() { let a = this; jl_Object.call(a); a.$val$r1 = null; a.$val$cb2 = null; a.$val$res = null; a.$val$prefix = null; } let nleav_VirtualFilesystem$AsyncHandlers$11_handleEvent = $this => { let $c, $k, var$3, var$4, var$5; $c = $this.$val$r1.result; if ($c !== null && $c.key !== null && $c.value !== null) { $k = $rt_str(nleav_VirtualFilesystem$AsyncHandlers_readKey$js_body$_9($c.key)); if ($k !== null) { var$3 = $this.$val$prefix; if ($k === var$3 ? 1 : jl_String_startsWith($k, var$3, 0)) { $c.delete(); var$4 = $this.$val$res.data; var$4[0] = var$4[0] + 1 | 0; } } $c.continue(); return; } var$3 = $this.$val$cb2; var$5 = $this.$val$res.data[0]; if (var$5 >= (-128) && var$5 <= 127) { jl_Integer_ensureIntegerCache(); $c = jl_Integer_integerCache.data[var$5 + 128 | 0]; } else { $c = new jl_Integer; $c.$value0 = var$5; } var$3.$realAsyncCallback.$complete($c); }, nleav_VirtualFilesystem$AsyncHandlers$11_handleEvent$exported$0 = var$0 => { nleav_VirtualFilesystem$AsyncHandlers$11_handleEvent(var$0); }; function nleav_VirtualFilesystem$AsyncHandlers$12() { let a = this; jl_Object.call(a); a.$val$cb5 = null; a.$val$res0 = null; } let nleav_VirtualFilesystem$AsyncHandlers$12_handleEvent$exported$0 = var$0 => { let var$1, var$2, var$3, var$4; var$1 = var$0.$val$cb5; var$2 = var$0.$val$res0.data; var$3 = var$2[0] <= 0 ? (-1) : var$2[0]; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$3; } var$1.$realAsyncCallback.$complete(var$4); }; function nms_ChunkPosition() { let a = this; jl_Object.call(a); a.$x0 = 0; a.$y0 = 0; a.$z0 = 0; } let nms_ChunkPosition_equals = ($this, $par1Obj) => { let $var2; if (!($par1Obj instanceof nms_ChunkPosition)) return 0; $var2 = $par1Obj; return $var2.$x0 == $this.$x0 && $var2.$y0 == $this.$y0 && $var2.$z0 == $this.$z0 ? 1 : 0; }, nms_ChunkPosition_hashCode = $this => { return ($rt_imul($this.$x0, 8976890) + $rt_imul($this.$y0, 981131) | 0) + $this.$z0 | 0; }; function nms_Enchantment() { let a = this; jl_Object.call(a); a.$effectId = 0; a.$weight = 0; a.$type = null; a.$name4 = null; } let nms_Enchantment_enchantmentsList = null, nms_Enchantment_enchantmentsBookList = null, nms_Enchantment_protection = null, nms_Enchantment_fireProtection = null, nms_Enchantment_featherFalling = null, nms_Enchantment_blastProtection = null, nms_Enchantment_projectileProtection = null, nms_Enchantment_respiration = null, nms_Enchantment_aquaAffinity = null, nms_Enchantment_thorns = null, nms_Enchantment_sharpness = null, nms_Enchantment_smite = null, nms_Enchantment_baneOfArthropods = null, nms_Enchantment_knockback = null, nms_Enchantment_fireAspect = null, nms_Enchantment_looting = null, nms_Enchantment_efficiency = null, nms_Enchantment_silkTouch = null, nms_Enchantment_unbreaking = null, nms_Enchantment_fortune = null, nms_Enchantment_power = null, nms_Enchantment_punch = null, nms_Enchantment_flame = null, nms_Enchantment_infinity = null, nms_Enchantment_$callClinit = () => { nms_Enchantment_$callClinit = $rt_eraseClinit(nms_Enchantment); nms_Enchantment__clinit_(); }, nms_Enchantment_getWeight = $this => { return $this.$weight; }, nms_Enchantment_getMinLevel = $this => { return 1; }, nms_Enchantment_calcModifierDamage = ($this, $par1, $par2DamageSource) => { return 0; }, nms_Enchantment_calcModifierLiving = ($this, $par1, $par2EntityLivingBase) => { return 0.0; }, nms_Enchantment_canApplyTogether = ($this, $par1Enchantment) => { return $this === $par1Enchantment ? 0 : 1; }, nms_Enchantment_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$name4; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(3426)); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_Enchantment_getTranslatedName = ($this, $par1) => { let var$2, $var2, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$getName(); nms_StatCollector_$callClinit(); $var2 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$2); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(3427)); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, $par1, 10); var$4 = new jl_String; var$5 = var$2.$buffer; var$6 = var$5.data; var$7 = var$2.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$4); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); $par1 = var$2.$length0; if ($var2 === null) $var2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $par1, $var2); var$7 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$7, var$7 + 1 | 0); var$2.$buffer.data[var$7] = 32; $par1 = var$2.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, $par1, var$4); var$4 = new jl_String; var$5 = var$2.$buffer; var$6 = var$5.data; var$7 = var$2.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); return var$4; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nms_Enchantment_canApply = ($this, $par1ItemStack) => { let var$2; var$2 = $this.$type; nms_Item_$callClinit(); return nms_EnumEnchantmentType_canEnchantItem(var$2, nms_Item_itemsList.data[$par1ItemStack.$itemID]); }, nms_Enchantment__clinit_ = () => { let $var1, var$2, $var0, $var4, var$5, var$6, $var2, $var3, var$9; $var1 = $rt_createArray(nms_Enchantment, 256); var$2 = $var1.data; nms_Enchantment_enchantmentsList = $var1; $var0 = new nms_EnchantmentProtection; $var4 = nms_EnumEnchantmentType_armor; nms_Enchantment_$callClinit(); $var0.$effectId = 0; $var0.$weight = 10; $var0.$type = $var4; if (var$2[0] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[0] = $var0; $var0.$protectionType = 0; nms_Enchantment_protection = $var0; $var0 = new nms_EnchantmentProtection; $var0.$effectId = 1; $var0.$weight = 5; $var0.$type = $var4; if (var$2[1] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[1] = $var0; $var0.$protectionType = 1; nms_Enchantment_fireProtection = $var0; $var0 = new nms_EnchantmentProtection; $var0.$effectId = 2; $var0.$weight = 5; $var0.$type = $var4; if (var$2[2] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[2] = $var0; $var0.$protectionType = 2; $var0.$type = nms_EnumEnchantmentType_armor_feet; nms_Enchantment_featherFalling = $var0; $var0 = new nms_EnchantmentProtection; $var0.$effectId = 3; $var0.$weight = 2; $var0.$type = $var4; if (var$2[3] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[3] = $var0; $var0.$protectionType = 3; nms_Enchantment_blastProtection = $var0; $var0 = new nms_EnchantmentProtection; $var0.$effectId = 4; $var0.$weight = 5; $var0.$type = $var4; if (var$2[4] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[4] = $var0; $var0.$protectionType = 4; nms_Enchantment_projectileProtection = $var0; $var0 = new nms_EnchantmentOxygen; $var4 = nms_EnumEnchantmentType_armor_head; $var0.$effectId = 5; $var0.$weight = 2; $var0.$type = $var4; if (var$2[5] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[5] = $var0; $var0.$name4 = $rt_s(3429); nms_Enchantment_respiration = $var0; $var0 = new nms_EnchantmentWaterWorker; $var0.$effectId = 6; $var0.$weight = 2; $var0.$type = $var4; if (var$2[6] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[6] = $var0; $var0.$name4 = $rt_s(3430); nms_Enchantment_aquaAffinity = $var0; $var0 = new nms_EnchantmentThorns; $var4 = nms_EnumEnchantmentType_armor_torso; $var0.$effectId = 7; $var0.$weight = 1; $var0.$type = $var4; if (var$2[7] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[7] = $var0; $var0.$name4 = $rt_s(3431); nms_Enchantment_thorns = $var0; $var0 = new nms_EnchantmentDamage; var$5 = nms_EnumEnchantmentType_weapon; $var0.$effectId = 16; $var0.$weight = 10; $var0.$type = var$5; if (var$2[16] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[16] = $var0; $var0.$damageType0 = 0; nms_Enchantment_sharpness = $var0; $var0 = new nms_EnchantmentDamage; $var0.$effectId = 17; $var0.$weight = 5; $var0.$type = var$5; if (var$2[17] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[17] = $var0; $var0.$damageType0 = 1; nms_Enchantment_smite = $var0; $var0 = new nms_EnchantmentDamage; $var0.$effectId = 18; $var0.$weight = 5; $var0.$type = var$5; if (var$2[18] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[18] = $var0; $var0.$damageType0 = 2; nms_Enchantment_baneOfArthropods = $var0; $var0 = new nms_EnchantmentKnockback; $var0.$effectId = 19; $var0.$weight = 5; $var0.$type = var$5; if (var$2[19] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[19] = $var0; $var0.$name4 = $rt_s(3432); nms_Enchantment_knockback = $var0; $var0 = new nms_EnchantmentFireAspect; $var0.$effectId = 20; $var0.$weight = 2; $var0.$type = var$5; if (var$2[20] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[20] = $var0; $var0.$name4 = $rt_s(2591); nms_Enchantment_fireAspect = $var0; $var0 = new nms_EnchantmentLootBonus; $var0.$effectId = 21; $var0.$weight = 2; $var0.$type = var$5; if (var$2[21] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[21] = $var0; $var0.$name4 = $rt_s(3433); var$6 = nms_EnumEnchantmentType_digger; if (var$5 === var$6) $var0.$name4 = $rt_s(3434); nms_Enchantment_looting = $var0; $var0 = new nms_EnchantmentDigging; $var0.$effectId = 32; $var0.$weight = 10; $var0.$type = var$6; if (var$2[32] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[32] = $var0; $var0.$name4 = $rt_s(3435); nms_Enchantment_efficiency = $var0; $var0 = new nms_EnchantmentUntouching; $var0.$effectId = 33; $var0.$weight = 1; $var0.$type = var$6; if (var$2[33] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[33] = $var0; $var0.$name4 = $rt_s(3436); nms_Enchantment_silkTouch = $var0; $var0 = new nms_EnchantmentDurability; $var0.$effectId = 34; $var0.$weight = 5; $var0.$type = var$6; if (var$2[34] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[34] = $var0; $var0.$name4 = $rt_s(3437); nms_Enchantment_unbreaking = $var0; $var0 = new nms_EnchantmentLootBonus; $var0.$effectId = 35; $var0.$weight = 2; $var0.$type = var$6; if (var$2[35] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[35] = $var0; $var0.$name4 = $rt_s(3433); if (var$6 === var$6) $var0.$name4 = $rt_s(3434); nms_Enchantment_fortune = $var0; $var0 = new nms_EnchantmentArrowDamage; var$6 = nms_EnumEnchantmentType_bow; $var0.$effectId = 48; $var0.$weight = 10; $var0.$type = var$6; if (var$2[48] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[48] = $var0; $var0.$name4 = $rt_s(3438); nms_Enchantment_power = $var0; $var0 = new nms_EnchantmentArrowKnockback; $var0.$effectId = 49; $var0.$weight = 2; $var0.$type = var$6; if (var$2[49] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[49] = $var0; $var0.$name4 = $rt_s(3439); nms_Enchantment_punch = $var0; $var0 = new nms_EnchantmentArrowFire; $var0.$effectId = 50; $var0.$weight = 2; $var0.$type = var$6; if (var$2[50] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[50] = $var0; $var0.$name4 = $rt_s(3440); nms_Enchantment_flame = $var0; $var0 = new nms_EnchantmentArrowInfinite; $var0.$effectId = 51; $var0.$weight = 1; $var0.$type = var$6; if (var$2[51] !== null) { $var0 = new jl_IllegalArgumentException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $var0.$message = $rt_s(3428); $rt_throw($var0); } var$2[51] = $var0; $var0.$name4 = $rt_s(3441); nms_Enchantment_infinity = $var0; $var0 = new ju_ArrayList; $var0.$array = $rt_createArray(jl_Object, 10); $var2 = var$2.length; $var3 = 0; while ($var3 < $var2) { $var4 = var$2[$var3]; if ($var4 !== null) { ju_ArrayList_ensureCapacity($var0, $var0.$size0 + 1 | 0); $var1 = $var0.$array.data; var$9 = $var0.$size0; $var0.$size0 = var$9 + 1 | 0; $var1[var$9] = $var4; $var0.$modCount = $var0.$modCount + 1 | 0; } $var3 = $var3 + 1 | 0; } nms_Enchantment_enchantmentsBookList = ju_AbstractCollection_toArray($var0, $rt_createArray(nms_Enchantment, 0)); }; function nms_FoodStats() { let a = this; jl_Object.call(a); a.$foodLevel = 0; a.$foodSaturationLevel = 0.0; a.$foodExhaustionLevel = 0.0; a.$foodTimer = 0; a.$prevFoodLevel = 0; } let nms_FoodStats__init_ = $this => { $this.$foodLevel = 20; $this.$foodSaturationLevel = 5.0; $this.$prevFoodLevel = 20; }, nms_FoodStats__init_0 = () => { let var_0 = new nms_FoodStats(); nms_FoodStats__init_(var_0); return var_0; }, nms_FoodStats_onUpdate = ($this, $par1EntityPlayer) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $par1EntityPlayer.$worldObj.$difficultySetting; var$3 = $this.$foodLevel; $this.$prevFoodLevel = var$3; var$4 = $this.$foodExhaustionLevel; if (var$4 > 4.0) { $this.$foodExhaustionLevel = var$4 - 4.0; var$5 = $this.$foodSaturationLevel; if (var$5 > 0.0) $this.$foodSaturationLevel = jl_Math_maxImpl(var$5 - 1.0, 0.0); else if ($var2 > 0) { var$6 = var$3 - 1 | 0; var$3 = 0; if (var$6 > var$3) var$3 = var$6; $this.$foodLevel = var$3; } } a: { var$7 = $par1EntityPlayer.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; var$8 = $rt_s(1296); var$9 = $rt_s(1296); if (var$8 !== var$9) { var$3 = var$8.$nativeString.length; var$10 = var$9.$nativeString.length; if (var$3 < var$10) var$10 = var$3; var$6 = 0; b: { while (true) { if (var$6 >= var$10) { var$8.$nativeString.length; var$9.$nativeString.length; break a; } if (var$6 < 0) break b; if (var$6 >= var$8.$nativeString.length) break b; var$11 = var$8.$nativeString.charCodeAt(var$6); if (var$6 < 0) break; if (var$6 >= var$9.$nativeString.length) break; if (var$11 - var$9.$nativeString.charCodeAt(var$6) | 0) break a; var$6 = var$6 + 1 | 0; } $par1EntityPlayer = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } } var$8 = $rt_s(1296); c: { d: { e: while (true) { if (var$7 === null) { var$7 = null; break c; } f: { var$9 = var$7.$key0; if (var$8 === var$9) var$6 = 0; else { var$3 = var$8.$nativeString.length; var$10 = var$9.$nativeString.length; if (var$3 < var$10) var$10 = var$3; var$3 = 0; while (true) { if (var$3 >= var$10) { var$6 = var$8.$nativeString.length - var$9.$nativeString.length | 0; break f; } if (var$3 < 0) break d; if (var$3 >= var$8.$nativeString.length) break d; var$11 = var$8.$nativeString.charCodeAt(var$3); if (var$3 < 0) break e; if (var$3 >= var$9.$nativeString.length) break e; var$6 = var$11 - var$9.$nativeString.charCodeAt(var$3) | 0; if (var$6) break; var$3 = var$3 + 1 | 0; } } } if (!var$6) break c; var$7 = var$6 >= 0 ? var$7.$right : var$7.$left; } $par1EntityPlayer = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } var$7 = var$7 === null ? null : var$7.$value4; var$6 = var$7 === null ? 0 : var$7.$valueBoolean; g: { if (var$6 && $this.$foodLevel >= 18 && nms_EntityPlayer_shouldHeal($par1EntityPlayer)) { var$6 = $this.$foodTimer + 1 | 0; $this.$foodTimer = var$6; if (var$6 >= 80) { $par1EntityPlayer.$heal(1.0); $this.$foodExhaustionLevel = jl_Math_minImpl($this.$foodExhaustionLevel + 3.0, 40.0); $this.$foodTimer = 0; } } else if ($this.$foodLevel > 0) $this.$foodTimer = 0; else { var$6 = $this.$foodTimer + 1 | 0; $this.$foodTimer = var$6; if (var$6 >= 80) { if (nms_EntityLivingBase_getHealth($par1EntityPlayer) > 10.0) break g; if ($var2 >= 3) break g; if (nms_EntityLivingBase_getHealth($par1EntityPlayer) > 1.0 && $var2 >= 2) break g; $this.$foodTimer = 0; } } return; } var$7 = nms_DamageSource_starve; var$5 = 1.0; $ptr = 1; case 1: $par1EntityPlayer.$attackEntityFrom(var$7, var$5); if ($rt_suspending()) { break main; } $this.$foodTimer = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, jl_OutOfMemoryError = $rt_classWithoutFields(jl_VirtualMachineError), jl_OutOfMemoryError__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_OutOfMemoryError__init_0 = () => { let var_0 = new jl_OutOfMemoryError(); jl_OutOfMemoryError__init_(var_0); return var_0; }; function ju_DuplicateFormatFlagsException() { ju_IllegalFormatException.call(this); this.$flags6 = null; } function ju_IllegalFormatPrecisionException() { ju_IllegalFormatException.call(this); this.$precision2 = 0; } function ju_IllegalFormatCodePointException() { ju_IllegalFormatException.call(this); this.$codePoint = 0; } function ju_IllegalFormatConversionException() { let a = this; ju_IllegalFormatException.call(a); a.$conversion0 = 0; a.$argumentClass = null; } let ju_Formattable = $rt_classWithoutFields(0), jl_SystemClassLoader = $rt_classWithoutFields(jl_ClassLoader), jl_SystemClassLoader__init_ = $this => { jl_ClassLoader_$callClinit(); $this.$parent6 = null; }, jl_SystemClassLoader__init_0 = () => { let var_0 = new jl_SystemClassLoader(); jl_SystemClassLoader__init_(var_0); return var_0; }, nms_StringUtils = $rt_classWithoutFields(), nms_StringUtils_patternControlCode = null, nms_StringUtils_$callClinit = () => { nms_StringUtils_$callClinit = $rt_eraseClinit(nms_StringUtils); nms_StringUtils__clinit_(); }, nms_StringUtils__init_ = $this => { nms_StringUtils_$callClinit(); }, nms_StringUtils__init_0 = () => { let var_0 = new nms_StringUtils(); nms_StringUtils__init_(var_0); return var_0; }, nms_StringUtils_ticksToElapsedTime = $par0 => { let $var1, $var2, var$4, var$5, var$6, var$7; nms_StringUtils_$callClinit(); a: { b: { $var1 = $par0 / 20 | 0; $var2 = $var1 / 60 | 0; $par0 = $var1 % 60 | 0; if ($par0 < 10) { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $var2, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3442)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $par0, 10); var$5 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; $var1 = var$4.$length0; $var2 = var$7.length; if ($var1 >= 0 && $var1 <= ($var2 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $var1); break b; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $var2, 10); $var2 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, $var2, $var2 + 1 | 0); var$4.$buffer.data[$var2] = 58; jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $par0, 10); var$5 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; $var1 = var$4.$length0; $var2 = var$7.length; if ($var1 < 0) break a; if ($var1 > ($var2 - 0 | 0)) break a; var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, $var1); } return var$5; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); }, nms_StringUtils__clinit_ = () => { nms_StringUtils_patternControlCode = jur_Pattern_compile($rt_s(3443), 0); }, nms_IEnchantmentModifier = $rt_classWithoutFields(0); function nms_EnchantmentModifierDamage() { let a = this; jl_Object.call(a); a.$damageModifier = 0; a.$source1 = null; } let nms_EnchantmentModifierDamage__init_ = $this => { return; }, nms_EnchantmentModifierDamage__init_0 = () => { let var_0 = new nms_EnchantmentModifierDamage(); nms_EnchantmentModifierDamage__init_(var_0); return var_0; }, nms_EnchantmentModifierDamage_calculateModifier = ($this, $par1Enchantment, $par2) => { $this.$damageModifier = $this.$damageModifier + $par1Enchantment.$calcModifierDamage($par2, $this.$source1) | 0; }; function nms_EnchantmentModifierLiving() { let a = this; jl_Object.call(a); a.$livingModifier = 0.0; a.$entityLiving = null; } let nms_EnchantmentModifierLiving__init_ = $this => { return; }, nms_EnchantmentModifierLiving__init_0 = () => { let var_0 = new nms_EnchantmentModifierLiving(); nms_EnchantmentModifierLiving__init_(var_0); return var_0; }, nms_EnchantmentModifierLiving_calculateModifier = ($this, $par1Enchantment, $par2) => { $this.$livingModifier = $this.$livingModifier + $par1Enchantment.$calcModifierLiving($par2, $this.$entityLiving); }, nms_ScoreComparator = $rt_classWithoutFields(), nms_ScoreComparator__init_ = $this => { return; }, nms_ScoreComparator__init_0 = () => { let var_0 = new nms_ScoreComparator(); nms_ScoreComparator__init_(var_0); return var_0; }, nms_ScoreComparator_compare = ($this, $par1Obj, $par2Obj) => { let var$3; $par1Obj = $par1Obj; $par2Obj = $par2Obj; var$3 = $rt_compare($par1Obj.$field_96655_e, $par2Obj.$field_96655_e); return var$3 > 0 ? 1 : var$3 >= 0 ? 0 : (-1); }; function nms_Packet0KeepAlive() { nms_Packet.call(this); this.$randomId = 0; } let nms_Packet0KeepAlive__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet0KeepAlive__init_0 = () => { let var_0 = new nms_Packet0KeepAlive(); nms_Packet0KeepAlive__init_(var_0); return var_0; }, nms_Packet0KeepAlive_processPacket = ($this, $par1NetHandler) => { let var$2, var$3; var$2 = new nms_Packet0KeepAlive; var$3 = $this.$randomId; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$randomId = var$3; if (!$par1NetHandler.$disconnected) $par1NetHandler.$netManager.$addToSendQueue(var$2); }, nms_Packet0KeepAlive_readPacketData = ($this, $par1DataInput) => { $this.$randomId = ji_DataInputStream_readInt($par1DataInput); }, nms_Packet0KeepAlive_writePacketData = ($this, $par1DataOutput) => { ji_DataOutputStream_writeInt($par1DataOutput, $this.$randomId); }, nms_Packet0KeepAlive_getPacketSize = $this => { return 4; }; function nms_Packet1Login() { let a = this; nms_Packet.call(a); a.$clientEntityId = 0; a.$terrainType2 = null; a.$hardcoreMode = 0; a.$gameType = null; a.$dimension1 = 0; a.$difficultySetting0 = 0; a.$worldHeight0 = 0; a.$maxPlayers = 0; } let nms_Packet1Login__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet1Login__init_0 = () => { let var_0 = new nms_Packet1Login(); nms_Packet1Login__init_(var_0); return var_0; }, nms_Packet1Login_readPacketData = ($this, $par1DataInput) => { let $var2, $var4, $var3, var$5, var$6; $this.$clientEntityId = ji_DataInputStream_readInt($par1DataInput); $var2 = nms_WorldType_parseWorldType(nms_Packet_readString($par1DataInput, 16)); $this.$terrainType2 = $var2; if ($var2 === null) $this.$terrainType2 = nms_WorldType_DEFAULT; $var4 = $par1DataInput.$in.$read(); if ($var4 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $var3 = $var4 << 24 >> 24; $this.$hardcoreMode = ($var3 & 8) != 8 ? 0 : 1; $var4 = $var3 & (-9); var$5 = (nms_EnumGameType_$VALUES.$clone0()).data; var$6 = var$5.length; $var3 = 0; a: { while (true) { if ($var3 >= var$6) { $var2 = nms_EnumGameType_SURVIVAL; break a; } $var2 = var$5[$var3]; if ($var2.$id6 == $var4) break; $var3 = $var3 + 1 | 0; } } $this.$gameType = $var2; $var4 = $par1DataInput.$in.$read(); if ($var4 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$dimension1 = $var4 << 24 >> 24; $var4 = $par1DataInput.$in.$read(); if ($var4 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$difficultySetting0 = $var4 << 24 >> 24; $var4 = $par1DataInput.$in.$read(); if ($var4 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$worldHeight0 = $var4 << 24 >> 24; $var4 = $par1DataInput.$in.$read(); if ($var4 >= 0) { $this.$maxPlayers = $var4 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet1Login_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleLogin($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet1Login_getPacketSize = $this => { let $var1, var$2; $var1 = 0; var$2 = $this.$terrainType2; if (var$2 !== null) $var1 = var$2.$worldType.$nativeString.length; return (((((6 + (2 * $var1 | 0) | 0) + 4 | 0) + 4 | 0) + 1 | 0) + 1 | 0) + 1 | 0; }; function nms_Packet4UpdateTime() { let a = this; nms_Packet.call(a); a.$worldAge = Long_ZERO; a.$time1 = Long_ZERO; } let nms_Packet4UpdateTime__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet4UpdateTime__init_0 = () => { let var_0 = new nms_Packet4UpdateTime(); nms_Packet4UpdateTime__init_(var_0); return var_0; }, nms_Packet4UpdateTime_readPacketData = ($this, $par1DataInput) => { $this.$worldAge = ji_DataInputStream_readLong($par1DataInput); $this.$time1 = ji_DataInputStream_readLong($par1DataInput); }, nms_Packet4UpdateTime_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $$je; $par1NetHandler = $par1NetHandler.$mc1.$theWorld; var$2 = $this.$worldAge; var$3 = $par1NetHandler.$worldInfo; var$3.$totalTime = var$2; var$2 = $this.$time1; if (Long_ge(var$2, Long_ZERO)) { a: { var$4 = var$3.$theGameRules0; var$5 = var$4.$theGameRules.$root; var$6 = $rt_s(1809); var$7 = $rt_s(1809); if (var$6 !== var$7) { var$8 = jl_Math_min(jl_String_length(var$6), jl_String_length(var$7)); var$9 = 0; while (true) { if (var$9 >= var$8) { jl_String_length(var$6); jl_String_length(var$7); break a; } if (jl_String_charAt(var$6, var$9) - jl_String_charAt(var$7, var$9) | 0) break; var$9 = var$9 + 1 | 0; } } } var$10 = $rt_s(1809); b: { while (true) { if (var$5 === null) { var$5 = null; break b; } c: { var$11 = var$5.$key0; if (var$10 === var$11) var$8 = 0; else { var$9 = jl_Math_min(jl_String_length(var$10), jl_String_length(var$11)); var$12 = 0; while (true) { if (var$12 >= var$9) { var$8 = jl_String_length(var$10) - jl_String_length(var$11) | 0; break c; } var$8 = jl_String_charAt(var$10, var$12) - jl_String_charAt(var$11, var$12) | 0; if (var$8) break; var$12 = var$12 + 1 | 0; } } } if (!var$8) break; var$5 = var$8 >= 0 ? var$5.$right : var$5.$left; } } var$5 = var$5 === null ? null : var$5.$value4; if (var$5 !== null) { var$5.$valueString = $rt_s(70); var$3 = $rt_s(70).$nativeString.toLowerCase(); var$10 = var$3 === $rt_s(70).$nativeString ? $rt_s(70) : jl_String__init_(var$3); if (var$10 === $rt_s(70)) var$8 = 1; else if (!($rt_s(70) instanceof jl_String)) var$8 = 0; else { var$3 = $rt_s(70); var$8 = var$10.$nativeString !== var$3.$nativeString ? 0 : 1; } var$5.$valueBoolean = !var$8 ? 0 : 1; d: { try { var$5.$valueInteger = jl_Integer_parseInt($rt_s(70)); break d; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } e: { try { var$5.$valueDouble = jl_Double_parseDouble($rt_s(70)); break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } } else { var$13 = var$4.$theGameRules; var$4 = new nms_GameRuleValue; var$4.$valueString = $rt_s(70); var$5 = $rt_s(70).$nativeString.toLowerCase(); var$10 = var$5 === $rt_s(70).$nativeString ? $rt_s(70) : jl_String__init_(var$5); if (var$10 === $rt_s(70)) var$8 = 1; else if (!($rt_s(70) instanceof jl_String)) var$8 = 0; else { var$5 = $rt_s(70); var$8 = var$10.$nativeString !== var$5.$nativeString ? 0 : 1; } var$4.$valueBoolean = !var$8 ? 0 : 1; f: { try { var$4.$valueInteger = jl_Integer_parseInt($rt_s(70)); break f; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } g: { try { var$4.$valueDouble = jl_Double_parseDouble($rt_s(70)); break g; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } var$14 = var$13.$root; if (var$14 === null) { var$14 = new ju_TreeMap$TreeNode; var$5 = null; jl_Object__init_(var$14); var$14.$key0 = $rt_s(1809); var$14.$value4 = var$5; var$14.$height1 = 1; var$14.$size1 = 1; } else { var$8 = jl_String_compareTo0(var$6, var$14.$key0); if (var$8) { if (var$8 >= 0) { var$15 = var$14.$right; if (var$15 === null) { var$15 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$15, $rt_s(1809), null); var$15.$height1 = 1; var$15.$size1 = 1; } else { var$8 = jl_String_compareTo(var$6, var$15.$key0); if (var$8) { if (var$8 >= 0) { var$5 = var$15.$right; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { var$8 = ju_Comparator$NaturalOrder_compare(var$13.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$8) { if (var$8 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode(var$13, var$5.$right, $rt_s(1809)); else var$5.$left = ju_TreeMap_getOrCreateNode(var$13, var$5.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$15.$right = var$5; } else { var$5 = var$15.$left; if (var$5 === null) var$5 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { var$8 = ju_Comparator$NaturalOrder_compare(var$13.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$5)); if (var$8) { if (var$8 >= 0) var$5.$right = ju_TreeMap_getOrCreateNode(var$13, var$5.$right, $rt_s(1809)); else var$5.$left = ju_TreeMap_getOrCreateNode(var$13, var$5.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$15.$left = var$5; } ju_TreeMap$TreeNode_fix(var$15); var$15 = ju_TreeMap$TreeNode_balance(var$15); } } var$14.$right = var$15; } else { var$11 = var$14.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(1809), null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$8 = jl_String_compareTo(var$6, var$11.$key0); if (var$8) { if (var$8 >= 0) { var$15 = var$11.$right; if (var$15 === null) var$15 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { var$8 = ju_Comparator$NaturalOrder_compare(var$13.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$15)); if (var$8) { if (var$8 >= 0) var$15.$right = ju_TreeMap_getOrCreateNode(var$13, var$15.$right, $rt_s(1809)); else var$15.$left = ju_TreeMap_getOrCreateNode(var$13, var$15.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$15); var$15 = ju_TreeMap$TreeNode_balance(var$15); } } var$11.$right = var$15; } else { var$10 = var$11.$left; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { var$8 = ju_Comparator$NaturalOrder_compare(var$13.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$8) { if (var$8 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$13, var$10.$right, $rt_s(1809)); else var$10.$left = ju_TreeMap_getOrCreateNode(var$13, var$10.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$11.$left = var$10; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$14.$left = var$11; } ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } var$13.$root = var$14; jl_String_compareTo0(var$6, var$7); var$3 = $rt_s(1809); h: { while (true) { if (var$14 === null) { var$14 = null; break h; } var$8 = jl_String_compareTo0(var$3, var$14.$key0); if (!var$8) break; var$14 = var$8 >= 0 ? var$14.$right : var$14.$left; } } var$14.$value4 = var$4; var$14.$value4 = var$4; var$13.$modCount2 = var$13.$modCount2 + 1 | 0; } } else { i: { var$2 = Long_neg(var$2); var$6 = var$3.$theGameRules0; var$10 = var$6.$theGameRules.$root; var$13 = $rt_s(1809); var$15 = $rt_s(1809); if (var$13 !== var$15) { var$8 = jl_Math_min(jl_String_length(var$13), jl_String_length(var$15)); var$9 = 0; while (true) { if (var$9 >= var$8) { jl_String_length(var$13); jl_String_length(var$15); break i; } if (jl_String_charAt(var$13, var$9) - jl_String_charAt(var$15, var$9) | 0) break; var$9 = var$9 + 1 | 0; } } } var$11 = $rt_s(1809); j: { while (true) { if (var$10 === null) { var$10 = null; break j; } k: { var$4 = var$10.$key0; if (var$11 === var$4) var$16 = 0; else { var$8 = jl_Math_min(jl_String_length(var$11), jl_String_length(var$4)); var$9 = 0; while (true) { if (var$9 >= var$8) { var$16 = jl_String_length(var$11) - jl_String_length(var$4) | 0; break k; } var$16 = jl_String_charAt(var$11, var$9) - jl_String_charAt(var$4, var$9) | 0; if (var$16) break; var$9 = var$9 + 1 | 0; } } } if (!var$16) break; var$10 = var$16 >= 0 ? var$10.$right : var$10.$left; } } var$10 = var$10 === null ? null : var$10.$value4; if (var$10 !== null) { var$10.$valueString = $rt_s(69); var$3 = $rt_s(69).$nativeString.toLowerCase(); var$11 = var$3 === $rt_s(69).$nativeString ? $rt_s(69) : jl_String__init_(var$3); if (var$11 === $rt_s(70)) var$8 = 1; else if (!($rt_s(70) instanceof jl_String)) var$8 = 0; else { var$3 = $rt_s(70); var$8 = var$11.$nativeString !== var$3.$nativeString ? 0 : 1; } var$10.$valueBoolean = !var$8 ? 0 : 1; l: { try { var$10.$valueInteger = jl_Integer_parseInt($rt_s(69)); break l; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } m: { try { var$10.$valueDouble = jl_Double_parseDouble($rt_s(69)); break m; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } } else { var$11 = var$6.$theGameRules; var$10 = new nms_GameRuleValue; var$10.$valueString = $rt_s(69); var$6 = $rt_s(69).$nativeString.toLowerCase(); var$4 = var$6 === $rt_s(69).$nativeString ? $rt_s(69) : jl_String__init_(var$6); if (var$4 === $rt_s(70)) var$8 = 1; else if (!($rt_s(70) instanceof jl_String)) var$8 = 0; else { var$6 = $rt_s(70); var$8 = var$4.$nativeString !== var$6.$nativeString ? 0 : 1; } var$10.$valueBoolean = !var$8 ? 0 : 1; n: { try { var$10.$valueInteger = jl_Integer_parseInt($rt_s(69)); break n; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } o: { try { var$10.$valueDouble = jl_Double_parseDouble($rt_s(69)); break o; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } var$5 = var$11.$root; if (var$5 === null) { var$5 = new ju_TreeMap$TreeNode; var$6 = null; jl_Object__init_(var$5); var$5.$key0 = $rt_s(1809); var$5.$value4 = var$6; var$5.$height1 = 1; var$5.$size1 = 1; } else { var$8 = jl_String_compareTo0(var$13, var$5.$key0); if (var$8) { if (var$8 >= 0) { var$6 = var$5.$right; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$6, $rt_s(1809), null); var$6.$height1 = 1; var$6.$size1 = 1; } else { var$8 = jl_String_compareTo(var$13, var$6.$key0); if (var$8) { if (var$8 >= 0) { var$4 = var$6.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { var$8 = ju_Comparator$NaturalOrder_compare(var$11.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$4)); if (var$8) { if (var$8 >= 0) var$4.$right = ju_TreeMap_getOrCreateNode(var$11, var$4.$right, $rt_s(1809)); else var$4.$left = ju_TreeMap_getOrCreateNode(var$11, var$4.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$6.$right = var$4; } else { var$4 = var$6.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { var$8 = ju_Comparator$NaturalOrder_compare(var$11.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$4)); if (var$8) { if (var$8 >= 0) var$4.$right = ju_TreeMap_getOrCreateNode(var$11, var$4.$right, $rt_s(1809)); else var$4.$left = ju_TreeMap_getOrCreateNode(var$11, var$4.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$6.$left = var$4; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$5.$right = var$6; } else { var$6 = var$5.$left; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$6, $rt_s(1809), null); var$6.$height1 = 1; var$6.$size1 = 1; } else { var$8 = jl_String_compareTo(var$13, var$6.$key0); if (var$8) { if (var$8 >= 0) { var$4 = var$6.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { var$8 = ju_Comparator$NaturalOrder_compare(var$11.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$4)); if (var$8) { if (var$8 >= 0) var$4.$right = ju_TreeMap_getOrCreateNode(var$11, var$4.$right, $rt_s(1809)); else var$4.$left = ju_TreeMap_getOrCreateNode(var$11, var$4.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$6.$right = var$4; } else { var$4 = var$6.$left; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($rt_s(1809)); else { var$8 = ju_Comparator$NaturalOrder_compare(var$11.$comparator, $rt_s(1809), ju_AbstractMap$SimpleEntry_getKey(var$4)); if (var$8) { if (var$8 >= 0) var$4.$right = ju_TreeMap_getOrCreateNode(var$11, var$4.$right, $rt_s(1809)); else var$4.$left = ju_TreeMap_getOrCreateNode(var$11, var$4.$left, $rt_s(1809)); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$6.$left = var$4; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$5.$left = var$6; } ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } var$11.$root = var$5; jl_String_compareTo0(var$13, var$15); var$3 = $rt_s(1809); p: { while (true) { if (var$5 === null) { var$5 = null; break p; } var$8 = jl_String_compareTo0(var$3, var$5.$key0); if (!var$8) break; var$5 = var$8 >= 0 ? var$5.$right : var$5.$left; } } var$5.$value4 = var$10; var$5.$value4 = var$10; var$11.$modCount2 = var$11.$modCount2 + 1 | 0; } } $par1NetHandler.$worldInfo.$worldTime = var$2; }, nms_Packet4UpdateTime_getPacketSize = $this => { return 16; }; function nms_Packet5PlayerInventory() { let a = this; nms_Packet.call(a); a.$entityID0 = 0; a.$slot0 = 0; a.$itemSlot0 = null; } let nms_Packet5PlayerInventory__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet5PlayerInventory__init_0 = () => { let var_0 = new nms_Packet5PlayerInventory(); nms_Packet5PlayerInventory__init_(var_0); return var_0; }, nms_Packet5PlayerInventory_readPacketData = ($this, $par1DataInput) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $$je; $this.$entityID0 = ji_DataInputStream_readInt($par1DataInput); $this.$slot0 = ji_DataInputStream_readShort($par1DataInput); nms_Packet_$callClinit(); var$2 = null; var$3 = ji_DataInputStream_readShort($par1DataInput); if (var$3 >= 0) { var$4 = $par1DataInput.$in.$read(); if (var$4 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } var$5 = var$4 << 24 >> 24; var$4 = ji_DataInputStream_readShort($par1DataInput); var$2 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$2.$itemID = var$3; var$2.$stackSize = var$5; var$2.$itemDamage = var$4; if (var$4 < 0) var$2.$itemDamage = 0; var$3 = ji_DataInputStream_readShort($par1DataInput); if (var$3 < 0) $par1DataInput = null; else { var$6 = $rt_createByteArray(var$3); var$4 = var$6.data.length; ji_DataInputStream_readFully($par1DataInput, var$6, 0, var$4); var$7 = new ji_DataInputStream; var$8 = new ji_BufferedInputStream; var$9 = new cjj_GZIPInputStream; var$10 = new ji_ByteArrayInputStream; var$10.$buf3 = var$6; var$10.$pos1 = 0; var$10.$mark1 = 0; var$10.$count0 = 0 + var$4 | 0; $par1DataInput = new cjj_Inflater; cjj_ZStream__init_($par1DataInput, cjj_Adler32__init_()); $par1DataInput.$finished = 0; $par1DataInput.$finished = 0; var$11 = cjj_Inflate__init_($par1DataInput); $par1DataInput.$istate = var$11; var$5 = cjj_Inflate_inflateInit(var$11, 31); if (var$5) { var$2 = new cjj_GZIPException; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$7); jl_AbstractStringBuilder_append0(var$7, var$5); jl_AbstractStringBuilder_append(var$7, $rt_s(107)); jl_AbstractStringBuilder_append(var$7, $par1DataInput.$msg); ji_IOException__init_(var$2, jl_AbstractStringBuilder_toString(var$7)); $rt_throw(var$2); } cjj_InflaterInputStream__init_(var$9, var$10, $par1DataInput, 512, 1); var$9.$myinflater = 1; var$8.$in = var$9; var$8.$markpos = (-1); var$8.$buf2 = $rt_createByteArray(8192); var$7.$in = var$8; var$7.$buff = $rt_createByteArray(8); a: { try { $par1DataInput = nms_CompressedStreamTools_read(var$7); break a; } catch ($$e) { $$je = $rt_wrapException($$e); $par1DataInput = $$je; } var$7.$in.$close(); $rt_throw($par1DataInput); } var$7.$in.$close(); } var$2.$stackTagCompound = $par1DataInput; } $this.$itemSlot0 = var$2; }, nms_Packet5PlayerInventory_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$entityID0; var$3 = $par1NetHandler.$mc1.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$worldClient; var$3 = $par1NetHandler.$mc2.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$entityHashSet; var$4 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$4 = var$4 ^ (var$4 >>> 7 | 0) ^ (var$4 >>> 4 | 0); var$5 = $par1NetHandler.$slots.data; $par1NetHandler = var$5[var$4 & (var$5.length - 1 | 0)]; a: { while ($par1NetHandler !== null) { if ($par1NetHandler.$hashEntry == var$2) { $par1NetHandler = $par1NetHandler.$valueEntry; break a; } $par1NetHandler = $par1NetHandler.$nextEntry; } $par1NetHandler = null; } var$3 = $par1NetHandler; } } if (var$3 === null) return; var$2 = $this.$slot0; $par1NetHandler = $this.$itemSlot0; $ptr = 1; case 1: var$3.$setCurrentItemOrArmor(var$2, $par1NetHandler); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, var$2, var$3, var$4, var$5, $ptr); }, nms_Packet5PlayerInventory_getPacketSize = $this => { return 8; }; function nms_Packet6SpawnPosition() { let a = this; nms_Packet.call(a); a.$xPosition16 = 0; a.$yPosition12 = 0; a.$zPosition10 = 0; } let nms_Packet6SpawnPosition__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet6SpawnPosition__init_0 = () => { let var_0 = new nms_Packet6SpawnPosition(); nms_Packet6SpawnPosition__init_(var_0); return var_0; }, nms_Packet6SpawnPosition_readPacketData = ($this, $par1DataInput) => { $this.$xPosition16 = ji_DataInputStream_readInt($par1DataInput); $this.$yPosition12 = ji_DataInputStream_readInt($par1DataInput); $this.$zPosition10 = ji_DataInputStream_readInt($par1DataInput); }, nms_Packet6SpawnPosition_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6; $par1NetHandler = $par1NetHandler.$mc1; var$2 = $par1NetHandler.$thePlayer; var$3 = $this.$xPosition16; var$4 = $this.$yPosition12; var$5 = $this.$zPosition10; var$6 = new nms_ChunkCoordinates; var$6.$posX0 = var$3; var$6.$posY0 = var$4; var$6.$posZ0 = var$5; var$2.$spawnChunk = var$6; var$2.$spawnForced = 1; $par1NetHandler = $par1NetHandler.$theWorld.$worldInfo; $par1NetHandler.$spawnX = var$3; $par1NetHandler.$spawnY = var$4; $par1NetHandler.$spawnZ = var$5; }, nms_Packet6SpawnPosition_getPacketSize = $this => { return 12; }; function nms_Packet7UseEntity() { let a = this; nms_Packet.call(a); a.$playerEntityId = 0; a.$targetEntity = 0; a.$isLeftClick = 0; } let nms_Packet7UseEntity__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet7UseEntity__init_0 = () => { let var_0 = new nms_Packet7UseEntity(); nms_Packet7UseEntity__init_(var_0); return var_0; }, nms_Packet7UseEntity_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$playerEntityId = ji_DataInputStream_readInt($par1DataInput); $this.$targetEntity = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$isLeftClick = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet7UseEntity_writePacketData = ($this, $par1DataOutput) => { let var$2; ji_DataOutputStream_writeInt($par1DataOutput, $this.$playerEntityId); ji_DataOutputStream_writeInt($par1DataOutput, $this.$targetEntity); var$2 = $this.$isLeftClick; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet7UseEntity_processPacket = ($this, $par1NetHandler) => { return; }, nms_Packet7UseEntity_getPacketSize = $this => { return 9; }; function nms_Packet8UpdateHealth() { let a = this; nms_Packet.call(a); a.$healthMP = 0.0; a.$food = 0; a.$foodSaturation = 0.0; } let nms_Packet8UpdateHealth__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet8UpdateHealth__init_0 = () => { let var_0 = new nms_Packet8UpdateHealth(); nms_Packet8UpdateHealth__init_(var_0); return var_0; }, nms_Packet8UpdateHealth_readPacketData = ($this, $par1DataInput) => { $this.$healthMP = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$food = ji_DataInputStream_readShort($par1DataInput); $this.$foodSaturation = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); }, nms_Packet8UpdateHealth_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1NetHandler.$mc1.$thePlayer; var$3 = $this.$healthMP; if (!var$2.$hasSetHealth) { var$4 = var$2.$dataWatcher; var$5 = 0.0; var$6 = nms_SharedMonsterAttributes_maxHealth; if (var$2.$attributeMap === null) var$2.$attributeMap = nms_ServersideAttributeMap__init_(); var$6 = ju_HashMap_get(var$2.$attributeMap.$attributes, var$6); if (var$6.$field_111133_g) { var$6.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$6); var$6.$field_111133_g = 0; } var$7 = var$6.$field_111139_h; if (var$3 >= var$5) var$5 = var$3 <= var$7 ? var$3 : var$7; var$8 = new jl_Float; var$8.$value3 = var$5; var$6 = var$4.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[134]; if (var$9 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$10 = jl_Integer_hashCode(var$9.$value0); var$11 = var$6.$elementData.data; var$6 = var$11[var$10 & (var$11.length - 1 | 0)]; while (var$6 !== null && !(var$6.$origKeyHash == var$10 && ju_HashMap_areEqualKeys(var$9, var$6.$key))) { var$6 = var$6.$next3; } } var$12 = var$6 === null ? null : var$6.$value1; var$6 = var$12.$watchedObject; if (var$8 === var$6) var$13 = 1; else a: { if (var$6 instanceof jl_Float) { var$7 = var$8.$value3; var$5 = var$6.$value3; if (var$7 !== var$7 ? (var$5 === var$5 ? 0 : 1) : $rt_floatToRawIntBits(var$7) != $rt_floatToRawIntBits(var$5) ? 0 : 1) { var$13 = 1; break a; } } var$13 = 0; } if (!var$13) { var$12.$watchedObject = var$8; var$12.$watched = 1; var$4.$objectChanged = 1; } var$2.$hasSetHealth = 1; $par1NetHandler = $par1NetHandler.$mc1.$thePlayer.$foodStats; $par1NetHandler.$foodLevel = $this.$food; $par1NetHandler.$foodSaturationLevel = $this.$foodSaturation; return; } $ptr = 1; case 1: nms_EntityPlayerSP_setPlayerSPHealth(var$2, var$3); if ($rt_suspending()) { break main; } $par1NetHandler = $par1NetHandler.$mc1.$thePlayer.$foodStats; $par1NetHandler.$foodLevel = $this.$food; $par1NetHandler.$foodSaturationLevel = $this.$foodSaturation; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_Packet8UpdateHealth_getPacketSize = $this => { return 8; }; function nms_Packet9Respawn() { let a = this; nms_Packet.call(a); a.$respawnDimension = 0; a.$difficulty0 = 0; a.$worldHeight = 0; a.$gameType0 = null; a.$terrainType3 = null; } let nms_Packet9Respawn__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet9Respawn__init_0 = () => { let var_0 = new nms_Packet9Respawn(); nms_Packet9Respawn__init_(var_0); return var_0; }, nms_Packet9Respawn_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleRespawn($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet9Respawn_readPacketData = ($this, $par1DataInput) => { let var$2, var$3, var$4, var$5, $var2; $this.$respawnDimension = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$difficulty0 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } var$3 = var$2 << 24 >> 24; var$4 = (nms_EnumGameType_$VALUES.$clone0()).data; var$2 = var$4.length; var$5 = 0; a: { while (true) { if (var$5 >= var$2) { $var2 = nms_EnumGameType_SURVIVAL; break a; } $var2 = var$4[var$5]; if ($var2.$id6 == var$3) break; var$5 = var$5 + 1 | 0; } } $this.$gameType0 = $var2; $this.$worldHeight = ji_DataInputStream_readShort($par1DataInput); $par1DataInput = nms_WorldType_parseWorldType(nms_Packet_readString($par1DataInput, 16)); $this.$terrainType3 = $par1DataInput; if ($par1DataInput === null) $this.$terrainType3 = nms_WorldType_DEFAULT; }, nms_Packet9Respawn_getPacketSize = $this => { let var$1; var$1 = $this.$terrainType3; return 8 + (var$1 === null ? 0 : var$1.$worldType.$nativeString.length) | 0; }; function nms_Packet10Flying() { let a = this; nms_Packet.call(a); a.$xPosition5 = 0.0; a.$yPosition3 = 0.0; a.$zPosition3 = 0.0; a.$stance = 0.0; a.$yaw0 = 0.0; a.$pitch0 = 0.0; a.$onGround0 = 0; a.$moving = 0; a.$rotating = 0; } let nms_Packet10Flying__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet10Flying__init_0 = () => { let var_0 = new nms_Packet10Flying(); nms_Packet10Flying__init_(var_0); return var_0; }, nms_Packet10Flying_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleFlying($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet10Flying_readPacketData = ($this, $par1DataInput) => { let var$2; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$onGround0 = !(var$2 & 255) ? 0 : 1; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet10Flying_writePacketData = ($this, $par1DataOutput) => { let var$2; var$2 = !$this.$onGround0 ? 0 : 1; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet10Flying_getPacketSize = $this => { return 1; }, nms_Packet11PlayerPosition = $rt_classWithoutFields(nms_Packet10Flying), nms_Packet11PlayerPosition__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$moving = 1; }, nms_Packet11PlayerPosition__init_0 = () => { let var_0 = new nms_Packet11PlayerPosition(); nms_Packet11PlayerPosition__init_(var_0); return var_0; }, nms_Packet11PlayerPosition_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$xPosition5 = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); $this.$yPosition3 = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); $this.$stance = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); $this.$zPosition3 = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$onGround0 = !(var$2 & 255) ? 0 : 1; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet11PlayerPosition_writePacketData = ($this, $par1DataOutput) => { let var$2, var$3; var$2 = $this.$xPosition5; ji_DataOutputStream_writeLong($par1DataOutput, !(isNaN(var$2) ? 1 : 0) ? $rt_doubleToRawLongBits(var$2) : Long_create(0, 2146959360)); var$2 = $this.$yPosition3; ji_DataOutputStream_writeLong($par1DataOutput, !(isNaN(var$2) ? 1 : 0) ? $rt_doubleToRawLongBits(var$2) : Long_create(0, 2146959360)); var$2 = $this.$stance; ji_DataOutputStream_writeLong($par1DataOutput, !(isNaN(var$2) ? 1 : 0) ? $rt_doubleToRawLongBits(var$2) : Long_create(0, 2146959360)); var$2 = $this.$zPosition3; ji_DataOutputStream_writeLong($par1DataOutput, !(isNaN(var$2) ? 1 : 0) ? $rt_doubleToRawLongBits(var$2) : Long_create(0, 2146959360)); var$3 = !$this.$onGround0 ? 0 : 1; $par1DataOutput.$out0.$write1(var$3); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet11PlayerPosition_getPacketSize = $this => { return 33; }, nms_Packet12PlayerLook = $rt_classWithoutFields(nms_Packet10Flying), nms_Packet12PlayerLook__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$rotating = 1; }, nms_Packet12PlayerLook__init_0 = () => { let var_0 = new nms_Packet12PlayerLook(); nms_Packet12PlayerLook__init_(var_0); return var_0; }, nms_Packet12PlayerLook_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$yaw0 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$pitch0 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$onGround0 = !(var$2 & 255) ? 0 : 1; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet12PlayerLook_writePacketData = ($this, $par1DataOutput) => { let var$2, var$3; var$2 = $this.$yaw0; ji_DataOutputStream_writeInt($par1DataOutput, (isNaN(var$2) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(var$2)); var$2 = $this.$pitch0; ji_DataOutputStream_writeInt($par1DataOutput, (isNaN(var$2) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(var$2)); var$3 = !$this.$onGround0 ? 0 : 1; $par1DataOutput.$out0.$write1(var$3); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet12PlayerLook_getPacketSize = $this => { return 9; }, nms_Packet13PlayerLookMove = $rt_classWithoutFields(nms_Packet10Flying), nms_Packet13PlayerLookMove__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$rotating = 1; $this.$moving = 1; }, nms_Packet13PlayerLookMove__init_0 = () => { let var_0 = new nms_Packet13PlayerLookMove(); nms_Packet13PlayerLookMove__init_(var_0); return var_0; }, nms_Packet13PlayerLookMove_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$xPosition5 = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); $this.$yPosition3 = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); $this.$stance = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); $this.$zPosition3 = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); $this.$yaw0 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$pitch0 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$onGround0 = !(var$2 & 255) ? 0 : 1; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet13PlayerLookMove_writePacketData = ($this, $par1DataOutput) => { let var$2, var$3, var$4; var$2 = $this.$xPosition5; ji_DataOutputStream_writeLong($par1DataOutput, !(isNaN(var$2) ? 1 : 0) ? $rt_doubleToRawLongBits(var$2) : Long_create(0, 2146959360)); var$2 = $this.$yPosition3; ji_DataOutputStream_writeLong($par1DataOutput, !(isNaN(var$2) ? 1 : 0) ? $rt_doubleToRawLongBits(var$2) : Long_create(0, 2146959360)); var$2 = $this.$stance; ji_DataOutputStream_writeLong($par1DataOutput, !(isNaN(var$2) ? 1 : 0) ? $rt_doubleToRawLongBits(var$2) : Long_create(0, 2146959360)); var$2 = $this.$zPosition3; ji_DataOutputStream_writeLong($par1DataOutput, !(isNaN(var$2) ? 1 : 0) ? $rt_doubleToRawLongBits(var$2) : Long_create(0, 2146959360)); var$3 = $this.$yaw0; ji_DataOutputStream_writeInt($par1DataOutput, (isNaN(var$3) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(var$3)); var$3 = $this.$pitch0; ji_DataOutputStream_writeInt($par1DataOutput, (isNaN(var$3) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(var$3)); var$4 = !$this.$onGround0 ? 0 : 1; $par1DataOutput.$out0.$write1(var$4); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet13PlayerLookMove_getPacketSize = $this => { return 41; }; function nms_Packet14BlockDig() { let a = this; nms_Packet.call(a); a.$xPosition0 = 0; a.$yPosition0 = 0; a.$zPosition = 0; a.$face = 0; a.$status = 0; } let nms_Packet14BlockDig__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet14BlockDig__init_0 = () => { let var_0 = new nms_Packet14BlockDig(); nms_Packet14BlockDig__init_(var_0); return var_0; }, nms_Packet14BlockDig_readPacketData = ($this, $par1DataInput) => { let var$2; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$status = var$2 & 255; $this.$xPosition0 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$yPosition0 = var$2 & 255; $this.$zPosition = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$face = var$2 & 255; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet14BlockDig_writePacketData = ($this, $par1DataOutput) => { let var$2; var$2 = $this.$status; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; ji_DataOutputStream_writeInt($par1DataOutput, $this.$xPosition0); var$2 = $this.$yPosition0; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; ji_DataOutputStream_writeInt($par1DataOutput, $this.$zPosition); var$2 = $this.$face; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet14BlockDig_processPacket = ($this, $par1NetHandler) => { return; }, nms_Packet14BlockDig_getPacketSize = $this => { return 11; }; function nms_Packet15Place() { let a = this; nms_Packet.call(a); a.$xPosition7 = 0; a.$yPosition6 = 0; a.$zPosition6 = 0; a.$direction = 0; a.$itemStack1 = null; a.$xOffset0 = 0.0; a.$yOffset1 = 0.0; a.$zOffset0 = 0.0; } let nms_Packet15Place__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet15Place__init_0 = () => { let var_0 = new nms_Packet15Place(); nms_Packet15Place__init_(var_0); return var_0; }, nms_Packet15Place_readPacketData = ($this, $par1DataInput) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $$je; $this.$xPosition7 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$yPosition6 = var$2 & 255; $this.$zPosition6 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$direction = var$2 & 255; nms_Packet_$callClinit(); var$3 = null; var$4 = ji_DataInputStream_readShort($par1DataInput); if (var$4 >= 0) { var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } var$5 = var$2 << 24 >> 24; var$2 = ji_DataInputStream_readShort($par1DataInput); var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = var$4; var$3.$stackSize = var$5; var$3.$itemDamage = var$2; if (var$2 < 0) var$3.$itemDamage = 0; var$4 = ji_DataInputStream_readShort($par1DataInput); if (var$4 < 0) var$6 = null; else { var$7 = $rt_createByteArray(var$4); var$2 = var$7.data.length; ji_DataInputStream_readFully($par1DataInput, var$7, 0, var$2); var$8 = new ji_DataInputStream; var$6 = new ji_BufferedInputStream; var$9 = new cjj_GZIPInputStream; var$10 = new ji_ByteArrayInputStream; var$10.$buf3 = var$7; var$10.$pos1 = 0; var$10.$mark1 = 0; var$10.$count0 = 0 + var$2 | 0; var$11 = new cjj_Inflater; cjj_ZStream__init_(var$11, cjj_Adler32__init_()); var$11.$finished = 0; var$11.$finished = 0; var$12 = cjj_Inflate__init_(var$11); var$11.$istate = var$12; var$5 = cjj_Inflate_inflateInit(var$12, 31); if (var$5) { $par1DataInput = new cjj_GZIPException; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$3); jl_AbstractStringBuilder_append0(var$3, var$5); jl_AbstractStringBuilder_append(var$3, $rt_s(107)); jl_AbstractStringBuilder_append(var$3, var$11.$msg); ji_IOException__init_($par1DataInput, jl_AbstractStringBuilder_toString(var$3)); $rt_throw($par1DataInput); } cjj_InflaterInputStream__init_(var$9, var$10, var$11, 512, 1); var$9.$myinflater = 1; var$6.$in = var$9; var$6.$markpos = (-1); var$6.$buf2 = $rt_createByteArray(8192); var$8.$in = var$6; var$8.$buff = $rt_createByteArray(8); a: { try { var$6 = nms_CompressedStreamTools_read(var$8); break a; } catch ($$e) { $$je = $rt_wrapException($$e); $par1DataInput = $$je; } var$8.$in.$close(); $rt_throw($par1DataInput); } var$8.$in.$close(); } var$3.$stackTagCompound = var$6; } $this.$itemStack1 = var$3; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$xOffset0 = (var$2 & 255) / 16.0; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$yOffset1 = (var$2 & 255) / 16.0; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$zOffset0 = (var$2 & 255) / 16.0; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet15Place_writePacketData = ($this, $par1DataOutput) => { let var$2; ji_DataOutputStream_writeInt($par1DataOutput, $this.$xPosition7); var$2 = $this.$yPosition6; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; ji_DataOutputStream_writeInt($par1DataOutput, $this.$zPosition6); var$2 = $this.$direction; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; nms_Packet_writeItemStack($this.$itemStack1, $par1DataOutput); var$2 = $this.$xOffset0 * 16.0 | 0; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; var$2 = $this.$yOffset1 * 16.0 | 0; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; var$2 = $this.$zOffset0 * 16.0 | 0; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet15Place_processPacket = ($this, $par1NetHandler) => { return; }, nms_Packet15Place_getPacketSize = $this => { return 19; }; function nms_Packet16BlockItemSwitch() { nms_Packet.call(this); this.$id4 = 0; } let nms_Packet16BlockItemSwitch__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet16BlockItemSwitch__init_0 = () => { let var_0 = new nms_Packet16BlockItemSwitch(); nms_Packet16BlockItemSwitch__init_(var_0); return var_0; }, nms_Packet16BlockItemSwitch_readPacketData = ($this, $par1DataInput) => { $this.$id4 = ji_DataInputStream_readShort($par1DataInput); }, nms_Packet16BlockItemSwitch_writePacketData = ($this, $par1DataOutput) => { ji_DataOutputStream_writeShort($par1DataOutput, $this.$id4); }, nms_Packet16BlockItemSwitch_processPacket = ($this, $par1NetHandler) => { let var$2; var$2 = $this.$id4; if (var$2 >= 0 && var$2 < 9) $par1NetHandler.$mc1.$thePlayer.$inventory.$currentItem = var$2; }, nms_Packet16BlockItemSwitch_getPacketSize = $this => { return 2; }; function nms_Packet17Sleep() { let a = this; nms_Packet.call(a); a.$entityID1 = 0; a.$bedX = 0; a.$bedY = 0; a.$bedZ = 0; a.$field_73622_e = 0; } let nms_Packet17Sleep__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet17Sleep__init_0 = () => { let var_0 = new nms_Packet17Sleep(); nms_Packet17Sleep__init_(var_0); return var_0; }, nms_Packet17Sleep_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityID1 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$field_73622_e = var$2 << 24 >> 24; $this.$bedX = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$bedY = var$2 << 24 >> 24; $this.$bedZ = ji_DataInputStream_readInt($par1DataInput); return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet17Sleep_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$entityID1; var$3 = $par1NetHandler.$mc1.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$worldClient; var$3 = $par1NetHandler.$mc2.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$entityHashSet; var$4 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$5 = var$4 ^ (var$4 >>> 7 | 0) ^ (var$4 >>> 4 | 0); var$6 = $par1NetHandler.$slots.data; $par1NetHandler = var$6[var$5 & (var$6.length - 1 | 0)]; a: { while ($par1NetHandler !== null) { if ($par1NetHandler.$hashEntry == var$2) { $par1NetHandler = $par1NetHandler.$valueEntry; break a; } $par1NetHandler = $par1NetHandler.$nextEntry; } $par1NetHandler = null; } var$3 = $par1NetHandler; } } if (var$3 !== null && !$this.$field_73622_e) { $par1NetHandler = var$3; var$2 = $this.$bedX; var$5 = $this.$bedY; var$7 = $this.$bedZ; $ptr = 1; continue main; } return; case 1: nms_EntityPlayer_sleepInBedAt($par1NetHandler, var$2, var$5, var$7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_Packet17Sleep_getPacketSize = $this => { return 14; }; function nms_Packet18Animation() { let a = this; nms_Packet.call(a); a.$entityId1 = 0; a.$animate = 0; } let nms_Packet18Animation__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet18Animation__init_0 = () => { let var_0 = new nms_Packet18Animation(); nms_Packet18Animation__init_(var_0); return var_0; }, nms_Packet18Animation_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId1 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$animate = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet18Animation_writePacketData = ($this, $par1DataOutput) => { let var$2; ji_DataOutputStream_writeInt($par1DataOutput, $this.$entityId1); var$2 = $this.$animate; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet18Animation_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleAnimation($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet18Animation_getPacketSize = $this => { return 5; }; function nms_Packet19EntityAction() { let a = this; nms_Packet.call(a); a.$entityId2 = 0; a.$action0 = 0; a.$auxData = 0; } let nms_Packet19EntityAction__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet19EntityAction__init_0 = () => { let var_0 = new nms_Packet19EntityAction(); nms_Packet19EntityAction__init_(var_0); return var_0; }, nms_Packet19EntityAction_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId2 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$action0 = var$2 << 24 >> 24; $this.$auxData = ji_DataInputStream_readInt($par1DataInput); return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet19EntityAction_writePacketData = ($this, $par1DataOutput) => { let var$2; ji_DataOutputStream_writeInt($par1DataOutput, $this.$entityId2); var$2 = $this.$action0; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; ji_DataOutputStream_writeInt($par1DataOutput, $this.$auxData); }, nms_Packet19EntityAction_processPacket = ($this, $par1NetHandler) => { return; }, nms_Packet19EntityAction_getPacketSize = $this => { return 9; }; function nms_Packet20NamedEntitySpawn() { let a = this; nms_Packet.call(a); a.$entityId15 = 0; a.$name23 = null; a.$xPosition10 = 0; a.$yPosition9 = 0; a.$zPosition9 = 0; a.$rotation = 0; a.$pitch4 = 0; a.$currentItem0 = 0; a.$metadata2 = null; a.$metadataWatchableObjects = null; } let nms_Packet20NamedEntitySpawn__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet20NamedEntitySpawn__init_0 = () => { let var_0 = new nms_Packet20NamedEntitySpawn(); nms_Packet20NamedEntitySpawn__init_(var_0); return var_0; }, nms_Packet20NamedEntitySpawn_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId15 = ji_DataInputStream_readInt($par1DataInput); $this.$name23 = nms_Packet_readString($par1DataInput, 16); $this.$xPosition10 = ji_DataInputStream_readInt($par1DataInput); $this.$yPosition9 = ji_DataInputStream_readInt($par1DataInput); $this.$zPosition9 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$rotation = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$pitch4 = var$2 << 24 >> 24; $this.$currentItem0 = ji_DataInputStream_readShort($par1DataInput); $this.$metadataWatchableObjects = nms_DataWatcher_readWatchableObjects($par1DataInput); return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet20NamedEntitySpawn_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleNamedEntitySpawn($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet20NamedEntitySpawn_getPacketSize = $this => { return 28; }; function nms_Packet22Collect() { let a = this; nms_Packet.call(a); a.$collectedEntityId = 0; a.$collectorEntityId = 0; } let nms_Packet22Collect__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet22Collect__init_0 = () => { let var_0 = new nms_Packet22Collect(); nms_Packet22Collect__init_(var_0); return var_0; }, nms_Packet22Collect_readPacketData = ($this, $par1DataInput) => { $this.$collectedEntityId = ji_DataInputStream_readInt($par1DataInput); $this.$collectorEntityId = ji_DataInputStream_readInt($par1DataInput); }, nms_Packet22Collect_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleCollect($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet22Collect_getPacketSize = $this => { return 8; }; function nms_Packet23VehicleSpawn() { let a = this; nms_Packet.call(a); a.$entityId0 = 0; a.$xPosition1 = 0; a.$yPosition1 = 0; a.$zPosition0 = 0; a.$speedX = 0; a.$speedY = 0; a.$speedZ = 0; a.$pitch = 0; a.$yaw = 0; a.$type1 = 0; a.$throwerEntityId = 0; } let nms_Packet23VehicleSpawn__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet23VehicleSpawn__init_0 = () => { let var_0 = new nms_Packet23VehicleSpawn(); nms_Packet23VehicleSpawn__init_(var_0); return var_0; }, nms_Packet23VehicleSpawn_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId0 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$type1 = var$2 << 24 >> 24; $this.$xPosition1 = ji_DataInputStream_readInt($par1DataInput); $this.$yPosition1 = ji_DataInputStream_readInt($par1DataInput); $this.$zPosition0 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$pitch = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$yaw = var$2 << 24 >> 24; var$2 = ji_DataInputStream_readInt($par1DataInput); $this.$throwerEntityId = var$2; if (var$2 > 0) { $this.$speedX = ji_DataInputStream_readShort($par1DataInput); $this.$speedY = ji_DataInputStream_readShort($par1DataInput); $this.$speedZ = ji_DataInputStream_readShort($par1DataInput); } }, nms_Packet23VehicleSpawn_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleVehicleSpawn($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet23VehicleSpawn_getPacketSize = $this => { return (21 + $this.$throwerEntityId | 0) <= 0 ? 0 : 6; }; function nms_Packet24MobSpawn() { let a = this; nms_Packet.call(a); a.$entityId3 = 0; a.$type7 = 0; a.$xPosition8 = 0; a.$yPosition7 = 0; a.$zPosition7 = 0; a.$velocityX = 0; a.$velocityY = 0; a.$velocityZ = 0; a.$yaw2 = 0; a.$pitch5 = 0; a.$headYaw = 0; a.$metaData = null; a.$metadata0 = null; } let nms_Packet24MobSpawn__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet24MobSpawn__init_0 = () => { let var_0 = new nms_Packet24MobSpawn(); nms_Packet24MobSpawn__init_(var_0); return var_0; }, nms_Packet24MobSpawn_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId3 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$type7 = var$2 << 24 >> 24 & 255; $this.$xPosition8 = ji_DataInputStream_readInt($par1DataInput); $this.$yPosition7 = ji_DataInputStream_readInt($par1DataInput); $this.$zPosition7 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$yaw2 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$pitch5 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$headYaw = var$2 << 24 >> 24; $this.$velocityX = ji_DataInputStream_readShort($par1DataInput); $this.$velocityY = ji_DataInputStream_readShort($par1DataInput); $this.$velocityZ = ji_DataInputStream_readShort($par1DataInput); $this.$metadata0 = nms_DataWatcher_readWatchableObjects($par1DataInput); return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet24MobSpawn_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleMobSpawn($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet24MobSpawn_getPacketSize = $this => { return 26; }; function nms_Packet25EntityPainting() { let a = this; nms_Packet.call(a); a.$entityId13 = 0; a.$xPosition12 = 0; a.$yPosition10 = 0; a.$zPosition16 = 0; a.$direction0 = 0; a.$title5 = null; } let nms_Packet25EntityPainting__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet25EntityPainting__init_0 = () => { let var_0 = new nms_Packet25EntityPainting(); nms_Packet25EntityPainting__init_(var_0); return var_0; }, nms_Packet25EntityPainting_readPacketData = ($this, $par1DataInput) => { $this.$entityId13 = ji_DataInputStream_readInt($par1DataInput); $this.$title5 = nms_Packet_readString($par1DataInput, nms_EnumArt_maxArtTitleLength); $this.$xPosition12 = ji_DataInputStream_readInt($par1DataInput); $this.$yPosition10 = ji_DataInputStream_readInt($par1DataInput); $this.$zPosition16 = ji_DataInputStream_readInt($par1DataInput); $this.$direction0 = ji_DataInputStream_readInt($par1DataInput); }, nms_Packet25EntityPainting_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = new nms_EntityPainting; var$3 = $par1NetHandler.$worldClient; var$4 = $this.$xPosition12; var$5 = $this.$yPosition10; var$6 = $this.$zPosition16; var$7 = $this.$direction0; var$8 = $this.$title5; $ptr = 1; case 1: nms_EntityPainting__init_(var$2, var$3, var$4, var$5, var$6, var$7); if ($rt_suspending()) { break main; } var$9 = (nms_EnumArt_$VALUES.$clone0()).data; var$4 = var$9.length; var$5 = 0; a: { while (true) { if (var$5 >= var$4) break a; var$3 = var$9[var$5]; var$10 = var$3.$title; if (var$10 === var$8) var$6 = 1; else if (!(var$8 instanceof jl_String)) var$6 = 0; else { var$11 = var$8; var$6 = var$10.$nativeString !== var$11.$nativeString ? 0 : 1; } if (var$6) break; var$5 = var$5 + 1 | 0; } var$2.$art = var$3; } nms_EntityHanging_setDirection(var$2, var$7); $par1NetHandler = $par1NetHandler.$worldClient; var$7 = $this.$entityId13; var$8 = $par1NetHandler.$mc2.$thePlayer; if (var$7 != var$8.$entityId) { var$3 = $par1NetHandler.$entityHashSet; var$4 = var$7 ^ (var$7 >>> 20 | 0) ^ (var$7 >>> 12 | 0); var$6 = var$4 ^ (var$4 >>> 7 | 0) ^ (var$4 >>> 4 | 0); var$9 = var$3.$slots.data; var$3 = var$9[var$6 & (var$9.length - 1 | 0)]; b: { while (var$3 !== null) { if (var$3.$hashEntry == var$7) { var$3 = var$3.$valueEntry; break b; } var$3 = var$3.$nextEntry; } var$3 = null; } var$8 = var$3; } if (var$8 === null) { var$8 = $par1NetHandler.$entityList; ju_HashMap_putImpl(var$8.$backingMap, var$2, var$8); var$2.$entityId = var$7; var$4 = nms_World_spawnEntityInWorld($par1NetHandler, var$2); var$3 = $par1NetHandler.$entityList; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); if (!var$4) { var$3 = $par1NetHandler.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } if (!var$4) { var$3 = $par1NetHandler.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } nms_IntHashMap_addKey($par1NetHandler.$entityHashSet, var$7, var$2); return; } var$10 = var$8.$riddenByEntity; if (var$10 !== null) { var$3 = null; $ptr = 2; continue main; } if (var$8.$ridingEntity === null) { $ptr = 3; continue main; } var$3 = null; $ptr = 4; continue main; case 2: var$10.$mountEntity(var$3); if ($rt_suspending()) { break main; } if (var$8.$ridingEntity === null) { $ptr = 3; continue main; } var$3 = null; $ptr = 4; continue main; case 3: var$8.$setDead(); if ($rt_suspending()) { break main; } if (var$8 instanceof nms_EntityPlayer) { var$10 = $par1NetHandler.$playerEntities; var$6 = var$10.$size0; var$4 = 0; c: { while (true) { if (var$4 >= var$6) { var$4 = (-1); break c; } if (var$4 < 0) break; if (var$4 >= var$10.$size0) break; var$3 = var$10.$array.data[var$4]; if (var$8 === var$3 ? 1 : var$8 !== null ? var$8.$equals(var$3) : var$3 !== null ? 0 : 1) break c; var$4 = var$4 + 1 | 0; } $rt_throw(jl_IndexOutOfBoundsException__init_0()); } if (var$4 >= 0) ju_ArrayList_remove(var$10, var$4); } var$3 = ju_HashMap_removeByKey($par1NetHandler.$entityList.$backingMap, var$8); var$8 = $par1NetHandler.$entityList; ju_HashMap_putImpl(var$8.$backingMap, var$2, var$8); var$2.$entityId = var$7; var$4 = nms_World_spawnEntityInWorld($par1NetHandler, var$2); var$3 = $par1NetHandler.$entityList; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); if (!var$4) { var$3 = $par1NetHandler.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } if (!var$4) { var$3 = $par1NetHandler.$entitySpawnQueue; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); } nms_IntHashMap_addKey($par1NetHandler.$entityHashSet, var$7, var$2); return; case 4: var$8.$mountEntity(var$3); if ($rt_suspending()) { break main; } $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_Packet25EntityPainting_getPacketSize = $this => { return 24; }; function nms_Packet26EntityExpOrb() { let a = this; nms_Packet.call(a); a.$entityId11 = 0; a.$posX8 = 0; a.$posY8 = 0; a.$posZ7 = 0; a.$xpValue0 = 0; } let nms_Packet26EntityExpOrb__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet26EntityExpOrb__init_0 = () => { let var_0 = new nms_Packet26EntityExpOrb(); nms_Packet26EntityExpOrb__init_(var_0); return var_0; }, nms_Packet26EntityExpOrb_readPacketData = ($this, $par1DataInput) => { $this.$entityId11 = ji_DataInputStream_readInt($par1DataInput); $this.$posX8 = ji_DataInputStream_readInt($par1DataInput); $this.$posY8 = ji_DataInputStream_readInt($par1DataInput); $this.$posZ7 = ji_DataInputStream_readInt($par1DataInput); $this.$xpValue0 = ji_DataInputStream_readShort($par1DataInput); }, nms_Packet26EntityExpOrb_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleEntityExpOrb($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet26EntityExpOrb_getPacketSize = $this => { return 18; }; function nms_Packet27PlayerInput() { let a = this; nms_Packet.call(a); a.$field_111017_a = 0.0; a.$field_111015_b = 0.0; a.$field_111016_c = 0; a.$field_111014_d = 0; } let nms_Packet27PlayerInput__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet27PlayerInput__init_0 = () => { let var_0 = new nms_Packet27PlayerInput(); nms_Packet27PlayerInput__init_(var_0); return var_0; }, nms_Packet27PlayerInput_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$field_111017_a = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$field_111015_b = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$field_111016_c = !var$2 ? 0 : 1; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$field_111014_d = !var$2 ? 0 : 1; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet27PlayerInput_writePacketData = ($this, $par1DataOutput) => { let var$2, var$3; var$2 = $this.$field_111017_a; ji_DataOutputStream_writeInt($par1DataOutput, (isNaN(var$2) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(var$2)); var$2 = $this.$field_111015_b; ji_DataOutputStream_writeInt($par1DataOutput, (isNaN(var$2) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(var$2)); var$3 = $this.$field_111016_c; $par1DataOutput.$out0.$write1(!var$3 ? 0 : 1); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; var$3 = $this.$field_111014_d; $par1DataOutput.$out0.$write1(!var$3 ? 0 : 1); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet27PlayerInput_processPacket = ($this, $par1NetHandler) => { return; }, nms_Packet27PlayerInput_getPacketSize = $this => { return 10; }; function nms_Packet28EntityVelocity() { let a = this; nms_Packet.call(a); a.$entityId14 = 0; a.$motionX0 = 0; a.$motionY0 = 0; a.$motionZ0 = 0; } let nms_Packet28EntityVelocity__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet28EntityVelocity__init_0 = () => { let var_0 = new nms_Packet28EntityVelocity(); nms_Packet28EntityVelocity__init_(var_0); return var_0; }, nms_Packet28EntityVelocity_readPacketData = ($this, $par1DataInput) => { $this.$entityId14 = ji_DataInputStream_readInt($par1DataInput); $this.$motionX0 = ji_DataInputStream_readShort($par1DataInput); $this.$motionY0 = ji_DataInputStream_readShort($par1DataInput); $this.$motionZ0 = ji_DataInputStream_readShort($par1DataInput); }, nms_Packet28EntityVelocity_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5; var$2 = $this.$entityId14; var$3 = $par1NetHandler.$mc1.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$worldClient; var$3 = $par1NetHandler.$mc2.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$entityHashSet; var$4 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$4 = var$4 ^ (var$4 >>> 7 | 0) ^ (var$4 >>> 4 | 0); var$5 = $par1NetHandler.$slots.data; $par1NetHandler = var$5[var$4 & (var$5.length - 1 | 0)]; a: { while ($par1NetHandler !== null) { if ($par1NetHandler.$hashEntry == var$2) { $par1NetHandler = $par1NetHandler.$valueEntry; break a; } $par1NetHandler = $par1NetHandler.$nextEntry; } $par1NetHandler = null; } var$3 = $par1NetHandler; } } if (var$3 !== null) var$3.$setVelocity($this.$motionX0 / 8000.0, $this.$motionY0 / 8000.0, $this.$motionZ0 / 8000.0); }, nms_Packet28EntityVelocity_getPacketSize = $this => { return 10; }; function nms_Packet29DestroyEntity() { nms_Packet.call(this); this.$entityId4 = null; } let nms_Packet29DestroyEntity__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet29DestroyEntity__init_0 = () => { let var_0 = new nms_Packet29DestroyEntity(); nms_Packet29DestroyEntity__init_(var_0); return var_0; }, nms_Packet29DestroyEntity_readPacketData = ($this, $par1DataInput) => { let $var2, var$3; $var2 = $par1DataInput.$in.$read(); if ($var2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$entityId4 = $rt_createIntArray($var2 << 24 >> 24); $var2 = 0; while (true) { var$3 = $this.$entityId4.data; if ($var2 >= var$3.length) break; var$3[$var2] = ji_DataInputStream_readInt($par1DataInput); $var2 = $var2 + 1 | 0; } }, nms_Packet29DestroyEntity_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = 0; var$3 = null; var$4 = null; while (true) { var$5 = $this.$entityId4.data; if (var$2 >= var$5.length) break; var$6 = $par1NetHandler.$worldClient; var$7 = var$5[var$2]; var$8 = var$6.$entityHashSet; var$9 = var$8.$keySet0; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$10 = new jl_Integer; var$10.$value0 = var$7; } var$9 = ju_HashMap_removeByKey(var$9.$backingMap, var$10); var$8 = nms_IntHashMap_removeEntry(var$8, var$7); var$8 = var$8 !== null ? var$8.$valueEntry : null; if (var$8 !== null) { var$9 = ju_HashMap_removeByKey(var$6.$entityList.$backingMap, var$8); var$9 = var$8.$riddenByEntity; if (var$9 !== null) { $ptr = 1; continue main; } if (var$8.$ridingEntity === null) { $ptr = 2; continue main; } $ptr = 3; continue main; } var$2 = var$2 + 1 | 0; } return; case 1: var$9.$mountEntity(var$3); if ($rt_suspending()) { break main; } if (var$8.$ridingEntity === null) { $ptr = 2; continue main; } $ptr = 3; continue main; case 2: var$8.$setDead(); if ($rt_suspending()) { break main; } if (var$8 instanceof nms_EntityPlayer) { var$9 = var$6.$playerEntities; var$11 = var$9.$size0; var$12 = 0; a: { while (true) { if (var$12 >= var$11) { var$12 = (-1); break a; } if (var$12 < 0) break; if (var$12 >= var$9.$size0) break; var$10 = var$9.$array.data[var$12]; if (var$8 === var$10 ? 1 : var$8 !== null ? var$8.$equals(var$10) : var$10 !== null ? 0 : 1) break a; var$12 = var$12 + 1 | 0; } $rt_throw(jl_IndexOutOfBoundsException__init_0()); } if (var$12 >= 0) ju_ArrayList_remove(var$9, var$12); } var$8 = ju_HashMap_removeByKey(var$6.$entityList.$backingMap, var$8); while (true) { var$2 = var$2 + 1 | 0; var$5 = $this.$entityId4.data; if (var$2 >= var$5.length) break; var$6 = $par1NetHandler.$worldClient; var$7 = var$5[var$2]; var$8 = var$6.$entityHashSet; var$9 = var$8.$keySet0; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$10 = new jl_Integer; var$10.$value0 = var$7; } var$9 = ju_HashMap_removeByKey(var$9.$backingMap, var$10); var$8 = nms_IntHashMap_removeEntry(var$8, var$7); var$8 = var$8 !== null ? var$8.$valueEntry : null; if (var$8 === null) continue; else { var$9 = ju_HashMap_removeByKey(var$6.$entityList.$backingMap, var$8); var$9 = var$8.$riddenByEntity; if (var$9 !== null) { $ptr = 1; continue main; } if (var$8.$ridingEntity === null) { continue main; } $ptr = 3; continue main; } } return; case 3: var$8.$mountEntity(var$4); if ($rt_suspending()) { break main; } $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_Packet29DestroyEntity_getPacketSize = $this => { return 1 + ($this.$entityId4.data.length * 4 | 0) | 0; }; function nms_Packet30Entity() { let a = this; nms_Packet.call(a); a.$entityId5 = 0; a.$xPosition9 = 0; a.$yPosition8 = 0; a.$zPosition8 = 0; a.$yaw1 = 0; a.$pitch2 = 0; a.$rotating0 = 0; } let nms_Packet30Entity__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet30Entity__init_0 = () => { let var_0 = new nms_Packet30Entity(); nms_Packet30Entity__init_(var_0); return var_0; }, nms_Packet30Entity_readPacketData = ($this, $par1DataInput) => { $this.$entityId5 = ji_DataInputStream_readInt($par1DataInput); }, nms_Packet30Entity_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleEntity($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet30Entity_getPacketSize = $this => { return 4; }, nms_Packet31RelEntityMove = $rt_classWithoutFields(nms_Packet30Entity), nms_Packet31RelEntityMove__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet31RelEntityMove__init_0 = () => { let var_0 = new nms_Packet31RelEntityMove(); nms_Packet31RelEntityMove__init_(var_0); return var_0; }, nms_Packet31RelEntityMove_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId5 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$xPosition9 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$yPosition8 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$zPosition8 = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet31RelEntityMove_getPacketSize = $this => { return 7; }, nms_Packet32EntityLook = $rt_classWithoutFields(nms_Packet30Entity), nms_Packet32EntityLook__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$rotating0 = 1; }, nms_Packet32EntityLook__init_0 = () => { let var_0 = new nms_Packet32EntityLook(); nms_Packet32EntityLook__init_(var_0); return var_0; }, nms_Packet32EntityLook_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId5 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$yaw1 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$pitch2 = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet32EntityLook_getPacketSize = $this => { return 6; }, nms_Packet33RelEntityMoveLook = $rt_classWithoutFields(nms_Packet30Entity), nms_Packet33RelEntityMoveLook__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$rotating0 = 1; }, nms_Packet33RelEntityMoveLook__init_0 = () => { let var_0 = new nms_Packet33RelEntityMoveLook(); nms_Packet33RelEntityMoveLook__init_(var_0); return var_0; }, nms_Packet33RelEntityMoveLook_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId5 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$xPosition9 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$yPosition8 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$zPosition8 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$yaw1 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$pitch2 = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet33RelEntityMoveLook_getPacketSize = $this => { return 9; }; function nms_Packet34EntityTeleport() { let a = this; nms_Packet.call(a); a.$entityId16 = 0; a.$xPosition15 = 0; a.$yPosition11 = 0; a.$zPosition13 = 0; a.$yaw3 = 0; a.$pitch3 = 0; } let nms_Packet34EntityTeleport__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet34EntityTeleport__init_0 = () => { let var_0 = new nms_Packet34EntityTeleport(); nms_Packet34EntityTeleport__init_(var_0); return var_0; }, nms_Packet34EntityTeleport_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId16 = ji_DataInputStream_readInt($par1DataInput); $this.$xPosition15 = ji_DataInputStream_readInt($par1DataInput); $this.$yPosition11 = ji_DataInputStream_readInt($par1DataInput); $this.$zPosition13 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$yaw3 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$pitch3 = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet34EntityTeleport_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleEntityTeleport($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet34EntityTeleport_getPacketSize = $this => { return 34; }; function nms_Packet35EntityHeadRotation() { let a = this; nms_Packet.call(a); a.$entityId10 = 0; a.$headRotationYaw = 0; } let nms_Packet35EntityHeadRotation__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet35EntityHeadRotation__init_0 = () => { let var_0 = new nms_Packet35EntityHeadRotation(); nms_Packet35EntityHeadRotation__init_(var_0); return var_0; }, nms_Packet35EntityHeadRotation_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId10 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$headRotationYaw = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet35EntityHeadRotation_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$entityId10; var$3 = $par1NetHandler.$mc1.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$worldClient; var$3 = $par1NetHandler.$mc2.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$entityHashSet; var$4 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$5 = var$4 ^ (var$4 >>> 7 | 0) ^ (var$4 >>> 4 | 0); var$6 = $par1NetHandler.$slots.data; $par1NetHandler = var$6[var$5 & (var$6.length - 1 | 0)]; a: { while ($par1NetHandler !== null) { if ($par1NetHandler.$hashEntry == var$2) { $par1NetHandler = $par1NetHandler.$valueEntry; break a; } $par1NetHandler = $par1NetHandler.$nextEntry; } $par1NetHandler = null; } var$3 = $par1NetHandler; } } if (var$3 !== null) var$3.$setRotationYawHead(($this.$headRotationYaw * 360 | 0) / 256.0); }, nms_Packet35EntityHeadRotation_getPacketSize = $this => { return 5; }; function nms_Packet38EntityStatus() { let a = this; nms_Packet.call(a); a.$entityId12 = 0; a.$entityStatus = 0; } let nms_Packet38EntityStatus__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet38EntityStatus__init_0 = () => { let var_0 = new nms_Packet38EntityStatus(); nms_Packet38EntityStatus__init_(var_0); return var_0; }, nms_Packet38EntityStatus_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId12 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$entityStatus = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet38EntityStatus_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$entityId12; var$3 = $par1NetHandler.$mc1.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$worldClient; var$3 = $par1NetHandler.$mc2.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$entityHashSet; var$4 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$4 = var$4 ^ (var$4 >>> 7 | 0) ^ (var$4 >>> 4 | 0); var$5 = $par1NetHandler.$slots.data; $par1NetHandler = var$5[var$4 & (var$5.length - 1 | 0)]; a: { while ($par1NetHandler !== null) { if ($par1NetHandler.$hashEntry == var$2) { $par1NetHandler = $par1NetHandler.$valueEntry; break a; } $par1NetHandler = $par1NetHandler.$nextEntry; } $par1NetHandler = null; } var$3 = $par1NetHandler; } } if (var$3 === null) return; var$2 = $this.$entityStatus; $ptr = 1; case 1: var$3.$handleHealthUpdate(var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, var$2, var$3, var$4, var$5, $ptr); }, nms_Packet38EntityStatus_getPacketSize = $this => { return 5; }; function nms_Packet39AttachEntity() { let a = this; nms_Packet.call(a); a.$attachState = 0; a.$ridingEntityId = 0; a.$vehicleEntityId = 0; } let nms_Packet39AttachEntity__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet39AttachEntity__init_0 = () => { let var_0 = new nms_Packet39AttachEntity(); nms_Packet39AttachEntity__init_(var_0); return var_0; }, nms_Packet39AttachEntity_getPacketSize = $this => { return 8; }, nms_Packet39AttachEntity_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$ridingEntityId = ji_DataInputStream_readInt($par1DataInput); $this.$vehicleEntityId = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$attachState = var$2 & 255; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet39AttachEntity_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleAttachEntity($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }; function nms_Packet40EntityMetadata() { let a = this; nms_Packet.call(a); a.$entityId6 = 0; a.$metadata1 = null; } let nms_Packet40EntityMetadata__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet40EntityMetadata__init_0 = () => { let var_0 = new nms_Packet40EntityMetadata(); nms_Packet40EntityMetadata__init_(var_0); return var_0; }, nms_Packet40EntityMetadata_readPacketData = ($this, $par1DataInput) => { $this.$entityId6 = ji_DataInputStream_readInt($par1DataInput); $this.$metadata1 = nms_DataWatcher_readWatchableObjects($par1DataInput); }, nms_Packet40EntityMetadata_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; var$2 = $this.$entityId6; var$3 = $par1NetHandler.$mc1.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$worldClient; var$3 = $par1NetHandler.$mc2.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$entityHashSet; var$4 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$5 = var$4 ^ (var$4 >>> 7 | 0) ^ (var$4 >>> 4 | 0); var$6 = $par1NetHandler.$slots.data; $par1NetHandler = var$6[var$5 & (var$6.length - 1 | 0)]; a: { while ($par1NetHandler !== null) { if ($par1NetHandler.$hashEntry == var$2) { $par1NetHandler = $par1NetHandler.$valueEntry; break a; } $par1NetHandler = $par1NetHandler.$nextEntry; } $par1NetHandler = null; } var$3 = $par1NetHandler; } } if (var$3 !== null) { $par1NetHandler = $this.$metadata1; if ($par1NetHandler !== null) { var$7 = var$3.$dataWatcher; var$4 = 0; var$8 = $par1NetHandler.$modCount; var$9 = $par1NetHandler.$size(); while (var$4 >= var$9 ? 0 : 1) { if (var$8 < $par1NetHandler.$modCount) { $par1NetHandler = new ju_ConcurrentModificationException; $par1NetHandler.$suppressionEnabled = 1; $par1NetHandler.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1NetHandler); $rt_throw($par1NetHandler); } var$5 = var$4 + 1 | 0; var$3 = $par1NetHandler.$get(var$4); var$10 = var$7.$watchedObjects; var$4 = var$3.$dataValueId; if (var$4 >= (-128) && var$4 <= 127) { jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[var$4 + 128 | 0]; } else { var$11 = new jl_Integer; var$11.$value0 = var$4; } if (var$11 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { var$12 = var$11.$value0; var$6 = var$10.$elementData.data; var$10 = var$6[var$12 & (var$6.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$12) { var$13 = var$10.$key; if (var$11 !== var$13 && !(var$11 === var$13 ? 1 : var$13 instanceof jl_Integer && var$13.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } var$10 = var$10.$next3; } } var$10 = var$10 === null ? null : var$10.$value1; if (var$10 !== null) var$10.$watchedObject = var$3.$watchedObject; var$4 = var$5; } var$7.$objectChanged = 1; } } }, nms_Packet40EntityMetadata_getPacketSize = $this => { return 5; }; function nms_Packet41EntityEffect() { let a = this; nms_Packet.call(a); a.$entityId7 = 0; a.$effectId0 = 0; a.$effectAmplifier = 0; a.$duration0 = 0; } let nms_Packet41EntityEffect__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet41EntityEffect__init_0 = () => { let var_0 = new nms_Packet41EntityEffect(); nms_Packet41EntityEffect__init_(var_0); return var_0; }, nms_Packet41EntityEffect_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId7 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$effectId0 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$effectAmplifier = var$2 << 24 >> 24; $this.$duration0 = ji_DataInputStream_readShort($par1DataInput); return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet41EntityEffect_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$entityId7; var$3 = $par1NetHandler.$mc1.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$worldClient; var$3 = $par1NetHandler.$mc2.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$entityHashSet; var$4 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$4 = var$4 ^ (var$4 >>> 7 | 0) ^ (var$4 >>> 4 | 0); var$5 = $par1NetHandler.$slots.data; $par1NetHandler = var$5[var$4 & (var$5.length - 1 | 0)]; a: { while ($par1NetHandler !== null) { if ($par1NetHandler.$hashEntry == var$2) { $par1NetHandler = $par1NetHandler.$valueEntry; break a; } $par1NetHandler = $par1NetHandler.$nextEntry; } $par1NetHandler = null; } var$3 = $par1NetHandler; } } if (var$3 instanceof nms_EntityLivingBase) { $par1NetHandler = new nms_PotionEffect; var$2 = $this.$effectId0; var$4 = $this.$duration0; var$6 = $this.$effectAmplifier; $par1NetHandler.$potionID = var$2; $par1NetHandler.$duration = var$4; $par1NetHandler.$amplifier = var$6; $par1NetHandler.$isAmbient = 0; $par1NetHandler.$isPotionDurationMax = var$4 != 32767 ? 0 : 1; var$3.$addPotionEffect($par1NetHandler); } }, nms_Packet41EntityEffect_getPacketSize = $this => { return 8; }; function nms_Packet42RemoveEntityEffect() { let a = this; nms_Packet.call(a); a.$entityId8 = 0; a.$effectId1 = 0; } let nms_Packet42RemoveEntityEffect__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet42RemoveEntityEffect__init_0 = () => { let var_0 = new nms_Packet42RemoveEntityEffect(); nms_Packet42RemoveEntityEffect__init_(var_0); return var_0; }, nms_Packet42RemoveEntityEffect_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId8 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$effectId1 = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet42RemoveEntityEffect_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6; var$2 = $this.$entityId8; var$3 = $par1NetHandler.$mc1.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$worldClient; var$3 = $par1NetHandler.$mc2.$thePlayer; if (var$2 != var$3.$entityId) { $par1NetHandler = $par1NetHandler.$entityHashSet; var$4 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); var$5 = var$4 ^ (var$4 >>> 7 | 0) ^ (var$4 >>> 4 | 0); var$6 = $par1NetHandler.$slots.data; $par1NetHandler = var$6[var$5 & (var$6.length - 1 | 0)]; a: { while ($par1NetHandler !== null) { if ($par1NetHandler.$hashEntry == var$2) { $par1NetHandler = $par1NetHandler.$valueEntry; break a; } $par1NetHandler = $par1NetHandler.$nextEntry; } $par1NetHandler = null; } var$3 = $par1NetHandler; } } if (var$3 instanceof nms_EntityLivingBase) { $par1NetHandler = var$3; var$2 = $this.$effectId1; $par1NetHandler = $par1NetHandler.$activePotionsMap; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$3 = new jl_Integer; var$3.$value0 = var$2; } ju_HashMap_removeByKey($par1NetHandler, var$3); } }, nms_Packet42RemoveEntityEffect_getPacketSize = $this => { return 5; }; function nms_Packet43Experience() { let a = this; nms_Packet.call(a); a.$experience0 = 0.0; a.$experienceTotal0 = 0; a.$experienceLevel0 = 0; } let nms_Packet43Experience__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet43Experience__init_0 = () => { let var_0 = new nms_Packet43Experience(); nms_Packet43Experience__init_(var_0); return var_0; }, nms_Packet43Experience_readPacketData = ($this, $par1DataInput) => { $this.$experience0 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$experienceLevel0 = ji_DataInputStream_readShort($par1DataInput); $this.$experienceTotal0 = ji_DataInputStream_readShort($par1DataInput); }, nms_Packet43Experience_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4; $par1NetHandler = $par1NetHandler.$mc1.$thePlayer; var$2 = $this.$experience0; var$3 = $this.$experienceTotal0; var$4 = $this.$experienceLevel0; $par1NetHandler.$experience = var$2; $par1NetHandler.$experienceTotal = var$3; $par1NetHandler.$experienceLevel = var$4; }, nms_Packet43Experience_getPacketSize = $this => { return 4; }; function nms_Packet44UpdateAttributes() { let a = this; nms_Packet.call(a); a.$field_111005_a = 0; a.$field_111004_b = null; } let nms_Packet44UpdateAttributes__init_ = $this => { let var$1; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$field_111004_b = var$1; }, nms_Packet44UpdateAttributes__init_0 = () => { let var_0 = new nms_Packet44UpdateAttributes(); nms_Packet44UpdateAttributes__init_(var_0); return var_0; }, nms_Packet44UpdateAttributes_readPacketData = ($this, $par1DataInput) => { let $var2, $var3, $var4, $var5, $var7, $var8, $var9, $var10, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18; $this.$field_111005_a = ji_DataInputStream_readInt($par1DataInput); $var2 = ji_DataInputStream_readInt($par1DataInput); $var3 = 0; while ($var3 < $var2) { $var4 = nms_Packet_readString($par1DataInput, 64); $var5 = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $var8 = ji_DataInputStream_readShort($par1DataInput); $var9 = 0; while ($var9 < $var8) { $var10 = new nle_ProfileUUID; var$10 = ji_DataInputStream_readLong($par1DataInput); var$11 = ji_DataInputStream_readLong($par1DataInput); $var10.$msb = var$10; $var10.$lsb = var$11; var$12 = new nms_AttributeModifier; var$13 = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); var$14 = $par1DataInput.$in.$read(); if (var$14 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } var$15 = var$14 << 24 >> 24; var$12.$isSaved = 1; var$12.$id2 = $var10; var$12.$name3 = $rt_s(3444); var$12.$amount = var$13; var$12.$operation = var$15; if ($rt_s(3444) === $rt_s(18)) var$14 = 1; else if (!($rt_s(18) instanceof jl_String)) var$14 = 0; else { var$16 = $rt_s(18); var$14 = $rt_s(3444).$nativeString !== var$16.$nativeString ? 0 : 1; } if (var$14) { var$16 = new jl_IllegalArgumentException; var$16.$suppressionEnabled = 1; var$16.$writableStackTrace = 1; var$16.$message = $rt_s(1292); $rt_throw(var$16); } if (var$15 < 0 && var$15 > 2) { var$16 = new jl_IllegalArgumentException; var$16.$suppressionEnabled = 1; var$16.$writableStackTrace = 1; var$16.$message = $rt_s(2901); $rt_throw(var$16); } ju_ArrayList_ensureCapacity($var7, $var7.$size0 + 1 | 0); var$17 = $var7.$array.data; var$14 = $var7.$size0; $var7.$size0 = var$14 + 1 | 0; var$17[var$14] = var$12; $var7.$modCount = $var7.$modCount + 1 | 0; $var9 = $var9 + 1 | 0; } var$16 = $this.$field_111004_b; $var10 = new nms_Packet44UpdateAttributesSnapshot; $var10.$field_142045_a = $this; $var10.$field_142043_b = $var4; $var10.$field_142044_c = $var5; $var10.$field_142042_d = $var7; ju_ArrayList_ensureCapacity(var$16, var$16.$size0 + 1 | 0); var$17 = var$16.$array.data; var$18 = var$16.$size0; var$16.$size0 = var$18 + 1 | 0; var$17[var$18] = $var10; var$16.$modCount = var$16.$modCount + 1 | 0; $var3 = $var3 + 1 | 0; } }, nms_Packet44UpdateAttributes_processPacket = ($this, $par1NetHandler) => { nms_NetClientHandler_func_110773_a($par1NetHandler, $this); }, nms_Packet44UpdateAttributes_getPacketSize = $this => { return 8 + ($this.$field_111004_b.$size0 * 24 | 0) | 0; }; function nms_Packet51MapChunk() { let a = this; nms_Packet.call(a); a.$xCh = 0; a.$zCh = 0; a.$yChMin = 0; a.$yChMax = 0; a.$compressedChunkData = null; a.$includeInitialize = 0; a.$tempLength = 0; } let nms_Packet51MapChunk_temp = null, nms_Packet51MapChunk__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$isChunkDataPacket = 1; }, nms_Packet51MapChunk__init_0 = () => { let var_0 = new nms_Packet51MapChunk(); nms_Packet51MapChunk__init_(var_0); return var_0; }, nms_Packet51MapChunk_readPacketData = ($this, $par1DataInput) => { let $var2, $var3, $var4, $$je; $this.$xCh = ji_DataInputStream_readInt($par1DataInput); $this.$zCh = ji_DataInputStream_readInt($par1DataInput); $var2 = $par1DataInput.$in.$read(); if ($var2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$includeInitialize = !$var2 ? 0 : 1; $this.$yChMin = ji_DataInputStream_readShort($par1DataInput); $this.$yChMax = ji_DataInputStream_readShort($par1DataInput); $var3 = ji_DataInputStream_readInt($par1DataInput); $this.$tempLength = $var3; if (nms_Packet51MapChunk_temp.data.length < $var3) nms_Packet51MapChunk_temp = $rt_createByteArray($var3); ji_DataInputStream_readFully($par1DataInput, nms_Packet51MapChunk_temp, 0, $var3); $var2 = 0; $var3 = 0; while ($var3 < 16) { $var2 = $var2 + ($this.$yChMin >> $var3 & 1) | 0; $var3 = $var3 + 1 | 0; } $var2 = 12288 * $var2 | 0; if ($this.$includeInitialize) $var2 = $var2 + 256 | 0; $this.$compressedChunkData = $rt_createByteArray($var2); $var4 = new juz_Inflater; $var4.$nowrap = 0; a: { try { $var4.$impl = cjj_Inflater__init_(0); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_GZIPException) { } else { throw $$e; } } } juz_Inflater_setInput($var4, nms_Packet51MapChunk_temp, 0, $this.$tempLength); b: { c: { try { juz_Inflater_inflate0($var4, $this.$compressedChunkData); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof juz_DataFormatException) { break c; } else{ $par1DataInput = $$je; break b; } } $var4.$inRead = 0; $var4.$inLength = 0; $var4.$impl = null; return; } try { $rt_throw(ji_IOException__init_0($rt_s(3445))); } catch ($$e) { $$je = $rt_wrapException($$e); $par1DataInput = $$je; } } $var4.$inRead = 0; $var4.$inLength = 0; $var4.$impl = null; $rt_throw($par1DataInput); }, nms_Packet51MapChunk_processPacket = ($this, $par1NetHandler) => { nms_NetClientHandler_handleMapChunk($par1NetHandler, $this); }, nms_Packet51MapChunk_getPacketSize = $this => { return 17 + $this.$tempLength | 0; }, nms_Packet51MapChunk__clinit_ = () => { nms_Packet51MapChunk_temp = $rt_createByteArray(196864); }; function nms_Packet52MultiBlockChange() { let a = this; nms_Packet.call(a); a.$xPosition13 = 0; a.$zPosition14 = 0; a.$metadataArray = null; a.$size9 = 0; } let nms_Packet52MultiBlockChange_field_73449_e = null, nms_Packet52MultiBlockChange__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$isChunkDataPacket = 1; }, nms_Packet52MultiBlockChange__init_0 = () => { let var_0 = new nms_Packet52MultiBlockChange(); nms_Packet52MultiBlockChange__init_(var_0); return var_0; }, nms_Packet52MultiBlockChange_readPacketData = ($this, $par1DataInput) => { let $var2, var$3, var$4; $this.$xPosition13 = ji_DataInputStream_readInt($par1DataInput); $this.$zPosition14 = ji_DataInputStream_readInt($par1DataInput); $this.$size9 = ji_DataInputStream_readShort($par1DataInput) & 65535; $var2 = ji_DataInputStream_readInt($par1DataInput); if ($var2 > 0) { var$3 = $rt_createByteArray($var2); var$4 = var$3.data; $this.$metadataArray = var$3; ji_DataInputStream_readFully($par1DataInput, var$3, 0, var$4.length); } }, nms_Packet52MultiBlockChange_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleMultiBlockChange($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet52MultiBlockChange_getPacketSize = $this => { return 10 + ($this.$size9 * 4 | 0) | 0; }, nms_Packet52MultiBlockChange__clinit_ = () => { nms_Packet52MultiBlockChange_field_73449_e = $rt_createByteArray(0); }; function nms_Packet53BlockChange() { let a = this; nms_Packet.call(a); a.$xPosition14 = 0; a.$yPosition13 = 0; a.$zPosition12 = 0; a.$type6 = 0; a.$metadata3 = 0; } let nms_Packet53BlockChange__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$isChunkDataPacket = 1; }, nms_Packet53BlockChange__init_0 = () => { let var_0 = new nms_Packet53BlockChange(); nms_Packet53BlockChange__init_(var_0); return var_0; }, nms_Packet53BlockChange_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$xPosition14 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$yPosition13 = var$2 & 255; $this.$zPosition12 = ji_DataInputStream_readInt($par1DataInput); $this.$type6 = ji_DataInputStream_readShort($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$metadata3 = var$2 & 255; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet53BlockChange_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1NetHandler = $par1NetHandler.$worldClient; var$2 = $this.$xPosition14; var$3 = $this.$yPosition13; var$4 = $this.$zPosition12; var$5 = $this.$type6; var$6 = $this.$metadata3; var$7 = 3; $ptr = 1; case 1: nms_World_setBlock($par1NetHandler, var$2, var$3, var$4, var$5, var$6, var$7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_Packet53BlockChange_getPacketSize = $this => { return 11; }; function nms_Packet54PlayNoteBlock() { let a = this; nms_Packet.call(a); a.$xLocation = 0; a.$yLocation = 0; a.$zLocation = 0; a.$instrumentType = 0; a.$pitch6 = 0; a.$blockId = 0; } let nms_Packet54PlayNoteBlock__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet54PlayNoteBlock__init_0 = () => { let var_0 = new nms_Packet54PlayNoteBlock(); nms_Packet54PlayNoteBlock__init_(var_0); return var_0; }, nms_Packet54PlayNoteBlock_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$xLocation = ji_DataInputStream_readInt($par1DataInput); $this.$yLocation = ji_DataInputStream_readShort($par1DataInput); $this.$zLocation = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$instrumentType = var$2 & 255; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$pitch6 = var$2 & 255; $this.$blockId = ji_DataInputStream_readShort($par1DataInput) & 4095; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet54PlayNoteBlock_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1NetHandler = $par1NetHandler.$mc1.$theWorld; var$2 = $this.$xLocation; var$3 = $this.$yLocation; var$4 = $this.$zLocation; var$5 = $this.$blockId; var$6 = $this.$instrumentType; var$7 = $this.$pitch6; if (var$5 <= 0) return; nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; $ptr = 1; case 1: var$8.$onBlockEventReceived($par1NetHandler, var$2, var$3, var$4, var$6, var$7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_Packet54PlayNoteBlock_getPacketSize = $this => { return 14; }; function nms_Packet55BlockDestroy() { let a = this; nms_Packet.call(a); a.$entityId9 = 0; a.$posX13 = 0; a.$posY13 = 0; a.$posZ12 = 0; a.$destroyedStage = 0; } let nms_Packet55BlockDestroy__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet55BlockDestroy__init_0 = () => { let var_0 = new nms_Packet55BlockDestroy(); nms_Packet55BlockDestroy__init_(var_0); return var_0; }, nms_Packet55BlockDestroy_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityId9 = ji_DataInputStream_readInt($par1DataInput); $this.$posX13 = ji_DataInputStream_readInt($par1DataInput); $this.$posY13 = ji_DataInputStream_readInt($par1DataInput); $this.$posZ12 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$destroyedStage = var$2 & 255; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet55BlockDestroy_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; $par1NetHandler = $par1NetHandler.$mc1.$theWorld; var$2 = $this.$entityId9; var$3 = $this.$posX13; var$4 = $this.$posY13; var$5 = $this.$posZ12; var$6 = $this.$destroyedStage; var$7 = 0; a: { while (true) { var$8 = $par1NetHandler.$worldAccesses; var$9 = $rt_compare(var$7, var$8.$size0); if (var$9 >= 0) break; if (var$7 < 0) break a; if (var$9 >= 0) break a; nms_RenderGlobal_destroyBlockPartially(var$8.$array.data[var$7], var$2, var$3, var$4, var$5, var$6); var$7 = var$7 + 1 | 0; } return; } $par1NetHandler = new jl_IndexOutOfBoundsException; $par1NetHandler.$suppressionEnabled = 1; $par1NetHandler.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1NetHandler); $rt_throw($par1NetHandler); }, nms_Packet55BlockDestroy_getPacketSize = $this => { return 13; }; function nms_Packet56MapChunks() { let a = this; nms_Packet.call(a); a.$chunkPostX = null; a.$chunkPosZ = null; a.$field_73590_a = null; a.$field_73588_b = null; a.$field_73584_f = null; a.$dataLength = 0; a.$skyLightSent = 0; } let nms_Packet56MapChunks_chunkDataNotCompressed = null, nms_Packet56MapChunks__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet56MapChunks__init_0 = () => { let var_0 = new nms_Packet56MapChunks(); nms_Packet56MapChunks__init_(var_0); return var_0; }, nms_Packet56MapChunks_readPacketData = ($this, $par1DataInput) => { let $var2, $var7, $var8, $var3, $var4, $var5, $var6, $var9, var$10, $$je; $var2 = ji_DataInputStream_readShort($par1DataInput); $this.$dataLength = ji_DataInputStream_readInt($par1DataInput); $var7 = $par1DataInput.$in.$read(); if ($var7 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$skyLightSent = !$var7 ? 0 : 1; $this.$chunkPostX = $rt_createIntArray($var2); $this.$chunkPosZ = $rt_createIntArray($var2); $this.$field_73590_a = $rt_createIntArray($var2); $this.$field_73588_b = $rt_createIntArray($var2); $this.$field_73584_f = $rt_createArray($rt_arraycls($rt_bytecls), $var2); $var7 = nms_Packet56MapChunks_chunkDataNotCompressed.data.length; $var8 = $this.$dataLength; if ($var7 < $var8) nms_Packet56MapChunks_chunkDataNotCompressed = $rt_createByteArray($var8); ji_DataInputStream_readFully($par1DataInput, nms_Packet56MapChunks_chunkDataNotCompressed, 0, $var8); $var3 = $rt_createByteArray(196864 * $var2 | 0); $var4 = new juz_Inflater; $var4.$nowrap = 0; a: { try { $var4.$impl = cjj_Inflater__init_(0); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_GZIPException) { } else { throw $$e; } } } juz_Inflater_setInput($var4, nms_Packet56MapChunks_chunkDataNotCompressed, 0, $this.$dataLength); b: { try { try { juz_Inflater_inflate0($var4, $var3); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof juz_DataFormatException) { } else { throw $$e; } } $rt_throw(ji_IOException__init_0($rt_s(3445))); } catch ($$e) { $$je = $rt_wrapException($$e); $par1DataInput = $$je; } $var4.$inRead = 0; $var4.$inLength = 0; $var4.$impl = null; $rt_throw($par1DataInput); } $var4.$inRead = 0; $var4.$inLength = 0; $var4.$impl = null; $var5 = 0; $var6 = 0; while ($var6 < $var2) { $this.$chunkPostX.data[$var6] = ji_DataInputStream_readInt($par1DataInput); $this.$chunkPosZ.data[$var6] = ji_DataInputStream_readInt($par1DataInput); $this.$field_73590_a.data[$var6] = ji_DataInputStream_readShort($par1DataInput); $this.$field_73588_b.data[$var6] = ji_DataInputStream_readShort($par1DataInput); $var7 = 0; $var8 = 0; $var9 = 0; while ($var9 < 16) { $var7 = $var7 + ($this.$field_73590_a.data[$var6] >> $var9 & 1) | 0; $var8 = $var8 + ($this.$field_73588_b.data[$var6] >> $var9 & 1) | 0; $var9 = $var9 + 1 | 0; } $var8 = ((8192 * $var7 | 0) + 256 | 0) + (2048 * $var8 | 0) | 0; if ($this.$skyLightSent) $var8 = $var8 + (2048 * $var7 | 0) | 0; var$10 = $this.$field_73584_f.data; var$10[$var6] = $rt_createByteArray($var8); jl_System_fastArraycopy($var3, $var5, var$10[$var6], 0, $var8); $var5 = $var5 + $var8 | 0; $var6 = $var6 + 1 | 0; } }, nms_Packet56MapChunks_processPacket = ($this, $par1NetHandler) => { nms_NetClientHandler_handleMapChunks($par1NetHandler, $this); }, nms_Packet56MapChunks_getPacketSize = $this => { return (6 + $this.$dataLength | 0) + (12 * $this.$chunkPostX.data.length | 0) | 0; }, nms_Packet56MapChunks__clinit_ = () => { nms_Packet56MapChunks_chunkDataNotCompressed = $rt_createByteArray(0); }; function nms_Packet60Explosion() { let a = this; nms_Packet.call(a); a.$explosionX0 = 0.0; a.$explosionY0 = 0.0; a.$explosionZ0 = 0.0; a.$explosionSize0 = 0.0; a.$chunkPositionRecords = null; a.$playerVelocityX = 0.0; a.$playerVelocityY = 0.0; a.$playerVelocityZ = 0.0; } let nms_Packet60Explosion__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet60Explosion__init_0 = () => { let var_0 = new nms_Packet60Explosion(); nms_Packet60Explosion__init_(var_0); return var_0; }, nms_Packet60Explosion_readPacketData = ($this, $par1DataInput) => { let $var2, var$3, $var3, $var4, $var5, $var6, $var7, $var8, $var9, var$11, var$12; $this.$explosionX0 = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); $this.$explosionY0 = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); $this.$explosionZ0 = $rt_longBitsToDouble((ji_DataInputStream_readLong($par1DataInput))); $this.$explosionSize0 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $var2 = ji_DataInputStream_readInt($par1DataInput); var$3 = new ju_ArrayList; if ($var2 < 0) { $par1DataInput = new jl_IllegalArgumentException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } var$3.$array = $rt_createArray(jl_Object, $var2); $this.$chunkPositionRecords = var$3; $var3 = $this.$explosionX0 | 0; $var4 = $this.$explosionY0 | 0; $var5 = $this.$explosionZ0 | 0; $var6 = 0; while (true) { if ($var6 >= $var2) { $this.$playerVelocityX = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$playerVelocityY = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$playerVelocityZ = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); return; } $var7 = $par1DataInput.$in.$read(); if ($var7 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $var7 = ($var7 << 24 >> 24) + $var3 | 0; $var8 = $par1DataInput.$in.$read(); if ($var8 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $var8 = ($var8 << 24 >> 24) + $var4 | 0; $var9 = $par1DataInput.$in.$read(); if ($var9 < 0) break; $var9 = ($var9 << 24 >> 24) + $var5 | 0; var$3 = $this.$chunkPositionRecords; var$11 = new nms_ChunkPosition; var$11.$x0 = $var7; var$11.$y0 = $var8; var$11.$z0 = $var9; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$12 = var$3.$array.data; $var8 = var$3.$size0; var$3.$size0 = $var8 + 1 | 0; var$12[$var8] = var$11; var$3.$modCount = var$3.$modCount + 1 | 0; $var6 = $var6 + 1 | 0; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet60Explosion_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleExplosion($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet60Explosion_getPacketSize = $this => { return (32 + ($this.$chunkPositionRecords.$size0 * 3 | 0) | 0) + 3 | 0; }; function nms_Packet61DoorChange() { let a = this; nms_Packet.call(a); a.$sfxID = 0; a.$auxData0 = 0; a.$posX11 = 0; a.$posY11 = 0; a.$posZ9 = 0; a.$disableRelativeVolume = 0; } let nms_Packet61DoorChange__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet61DoorChange__init_0 = () => { let var_0 = new nms_Packet61DoorChange(); nms_Packet61DoorChange__init_(var_0); return var_0; }, nms_Packet61DoorChange_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$sfxID = ji_DataInputStream_readInt($par1DataInput); $this.$posX11 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$posY11 = var$2 << 24 >> 24 & 255; $this.$posZ9 = ji_DataInputStream_readInt($par1DataInput); $this.$auxData0 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$disableRelativeVolume = !var$2 ? 0 : 1; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet61DoorChange_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$this.$disableRelativeVolume) { $par1NetHandler = $par1NetHandler.$mc1.$theWorld; var$2 = $this.$sfxID; var$3 = $this.$posX11; var$4 = $this.$posY11; var$5 = $this.$posZ9; var$6 = $this.$auxData0; var$7 = null; var$8 = 0; var$9 = $par1NetHandler.$worldAccesses; var$10 = $rt_compare(var$8, var$9.$size0); if (var$10 >= 0) break a; if (var$8 >= 0 && var$10 < 0) { var$9 = var$9.$array.data[var$8]; $ptr = 1; continue main; } $par1NetHandler = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1NetHandler); $rt_throw($par1NetHandler); } $par1NetHandler = $par1NetHandler.$mc1.$theWorld; var$3 = $this.$sfxID; var$4 = $this.$posX11; var$5 = $this.$posY11; var$6 = $this.$posZ9; var$8 = $this.$auxData0; var$10 = 0; var$9 = $par1NetHandler.$worldAccesses; var$2 = $rt_compare(var$10, var$9.$size0); if (var$2 < 0) { if (var$10 >= 0 && var$2 < 0) { var$9 = var$9.$array.data[var$10]; $ptr = 2; continue main; } $par1NetHandler = new jl_IndexOutOfBoundsException; $par1NetHandler.$suppressionEnabled = 1; $par1NetHandler.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1NetHandler); $rt_throw($par1NetHandler); } } return; case 1: nms_RenderGlobal_playAuxSFX(var$9, var$7, var$2, var$3, var$4, var$5, var$6); if ($rt_suspending()) { break main; } var$8 = var$8 + 1 | 0; var$9 = $par1NetHandler.$worldAccesses; var$10 = $rt_compare(var$8, var$9.$size0); if (var$10 >= 0) return; if (var$8 >= 0 && var$10 < 0) { var$9 = var$9.$array.data[var$8]; continue main; } $par1NetHandler = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1NetHandler); $rt_throw($par1NetHandler); case 2: nms_RenderGlobal_broadcastSound(var$9, var$3, var$4, var$5, var$6, var$8); if ($rt_suspending()) { break main; } var$10 = var$10 + 1 | 0; var$9 = $par1NetHandler.$worldAccesses; var$2 = $rt_compare(var$10, var$9.$size0); if (var$2 >= 0) return; if (var$10 >= 0 && var$2 < 0) { var$9 = var$9.$array.data[var$10]; continue main; } $par1NetHandler = new jl_IndexOutOfBoundsException; $par1NetHandler.$suppressionEnabled = 1; $par1NetHandler.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1NetHandler); $rt_throw($par1NetHandler); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_Packet61DoorChange_getPacketSize = $this => { return 21; }; function nms_Packet62LevelSound() { let a = this; nms_Packet.call(a); a.$soundName = null; a.$effectX = 0; a.$effectY = 0; a.$effectZ = 0; a.$volume0 = 0.0; a.$pitch7 = 0; } let nms_Packet62LevelSound__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$effectY = 2147483647; }, nms_Packet62LevelSound__init_0 = () => { let var_0 = new nms_Packet62LevelSound(); nms_Packet62LevelSound__init_(var_0); return var_0; }, nms_Packet62LevelSound_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$soundName = nms_Packet_readString($par1DataInput, 256); $this.$effectX = ji_DataInputStream_readInt($par1DataInput); $this.$effectY = ji_DataInputStream_readInt($par1DataInput); $this.$effectZ = ji_DataInputStream_readInt($par1DataInput); $this.$volume0 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$pitch7 = var$2 & 255; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet62LevelSound_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1NetHandler = $par1NetHandler.$mc1.$theWorld; var$2 = $this.$effectX / 8.0; var$3 = $this.$effectY / 8.0; var$4 = $this.$effectZ / 8.0; var$5 = $this.$soundName; var$6 = $this.$volume0; var$7 = $this.$pitch7 / 63.0; var$8 = 0; $ptr = 1; case 1: nms_WorldClient_playSound($par1NetHandler, var$2, var$3, var$4, var$5, var$6, var$7, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_Packet62LevelSound_getPacketSize = $this => { return 24; }; function nms_Packet63WorldParticles() { let a = this; nms_Packet.call(a); a.$particleName0 = null; a.$posX7 = 0.0; a.$posY7 = 0.0; a.$posZ6 = 0.0; a.$offsetX1 = 0.0; a.$offsetY1 = 0.0; a.$offsetZ0 = 0.0; a.$speed0 = 0.0; a.$quantity = 0; } let nms_Packet63WorldParticles__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet63WorldParticles__init_0 = () => { let var_0 = new nms_Packet63WorldParticles(); nms_Packet63WorldParticles__init_(var_0); return var_0; }, nms_Packet63WorldParticles_readPacketData = ($this, $par1DataInput) => { $this.$particleName0 = nms_Packet_readString($par1DataInput, 64); $this.$posX7 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$posY7 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$posZ6 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$offsetX1 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$offsetY1 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$offsetZ0 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$speed0 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$quantity = ji_DataInputStream_readInt($par1DataInput); }, nms_Packet63WorldParticles_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleWorldParticles($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet63WorldParticles_getPacketSize = $this => { return 64; }; function nms_Packet70GameEvent() { let a = this; nms_Packet.call(a); a.$eventType = 0; a.$gameMode1 = 0; } let nms_Packet70GameEvent_clientMessage = null, nms_Packet70GameEvent__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet70GameEvent__init_0 = () => { let var_0 = new nms_Packet70GameEvent(); nms_Packet70GameEvent__init_(var_0); return var_0; }, nms_Packet70GameEvent_readPacketData = ($this, $par1DataInput) => { let var$2; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$eventType = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$gameMode1 = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet70GameEvent_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleGameEvent($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet70GameEvent_getPacketSize = $this => { return 2; }, nms_Packet70GameEvent__clinit_ = () => { let var$1, var$2; var$1 = $rt_createArray(jl_String, 4); var$2 = var$1.data; var$2[0] = $rt_s(96); var$2[1] = null; var$2[2] = null; var$2[3] = $rt_s(97); nms_Packet70GameEvent_clientMessage = var$1; }; function nms_Packet71Weather() { let a = this; nms_Packet.call(a); a.$entityID = 0; a.$posX6 = 0; a.$posY6 = 0; a.$posZ5 = 0; a.$isLightningBolt = 0; } let nms_Packet71Weather__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet71Weather__init_0 = () => { let var_0 = new nms_Packet71Weather(); nms_Packet71Weather__init_(var_0); return var_0; }, nms_Packet71Weather_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$entityID = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$isLightningBolt = var$2 << 24 >> 24; $this.$posX6 = ji_DataInputStream_readInt($par1DataInput); $this.$posY6 = ji_DataInputStream_readInt($par1DataInput); $this.$posZ5 = ji_DataInputStream_readInt($par1DataInput); return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet71Weather_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleWeather($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet71Weather_getPacketSize = $this => { return 17; }; function nms_Packet100OpenWindow() { let a = this; nms_Packet.call(a); a.$windowId0 = 0; a.$inventoryType = 0; a.$windowTitle = null; a.$slotsCount0 = 0; a.$useProvidedWindowTitle = 0; a.$field_111008_f = 0; } let nms_Packet100OpenWindow__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet100OpenWindow__init_0 = () => { let var_0 = new nms_Packet100OpenWindow(); nms_Packet100OpenWindow__init_(var_0); return var_0; }, nms_Packet100OpenWindow_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleOpenWindow($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet100OpenWindow_readPacketData = ($this, $par1DataInput) => { let var$2; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$windowId0 = var$2 << 24 >> 24 & 255; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$inventoryType = var$2 << 24 >> 24 & 255; $this.$windowTitle = nms_Packet_readString($par1DataInput, 32); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$slotsCount0 = var$2 << 24 >> 24 & 255; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$useProvidedWindowTitle = !var$2 ? 0 : 1; if ($this.$inventoryType == 11) $this.$field_111008_f = ji_DataInputStream_readInt($par1DataInput); }, nms_Packet100OpenWindow_getPacketSize = $this => { return $this.$inventoryType != 11 ? 4 + $this.$windowTitle.$nativeString.length | 0 : 8 + $this.$windowTitle.$nativeString.length | 0; }; function nms_Packet101CloseWindow() { nms_Packet.call(this); this.$windowId1 = 0; } let nms_Packet101CloseWindow__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet101CloseWindow__init_0 = () => { let var_0 = new nms_Packet101CloseWindow(); nms_Packet101CloseWindow__init_(var_0); return var_0; }, nms_Packet101CloseWindow_processPacket = ($this, $par1NetHandler) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1NetHandler = $par1NetHandler.$mc1.$thePlayer; $par1NetHandler.$inventory.$itemStack = null; $par1NetHandler.$openContainer = $par1NetHandler.$inventoryContainer; var$2 = $par1NetHandler.$mc4; $par1NetHandler = null; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$2, $par1NetHandler); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, var$2, $ptr); }, nms_Packet101CloseWindow_readPacketData = ($this, $par1DataInput) => { let var$2; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$windowId1 = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet101CloseWindow_writePacketData = ($this, $par1DataOutput) => { let var$2; var$2 = $this.$windowId1; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet101CloseWindow_getPacketSize = $this => { return 1; }; function nms_Packet102WindowClick() { let a = this; nms_Packet.call(a); a.$window_Id = 0; a.$inventorySlot = 0; a.$mouseClick = 0; a.$action2 = 0; a.$itemStack3 = null; a.$holdingShift = 0; } let nms_Packet102WindowClick__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet102WindowClick__init_0 = () => { let var_0 = new nms_Packet102WindowClick(); nms_Packet102WindowClick__init_(var_0); return var_0; }, nms_Packet102WindowClick_processPacket = ($this, $par1NetHandler) => { return; }, nms_Packet102WindowClick_readPacketData = ($this, $par1DataInput) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $$je; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$window_Id = var$2 << 24 >> 24; $this.$inventorySlot = ji_DataInputStream_readShort($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$mouseClick = var$2 << 24 >> 24; $this.$action2 = ji_DataInputStream_readShort($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$holdingShift = var$2 << 24 >> 24; nms_Packet_$callClinit(); var$3 = null; var$2 = ji_DataInputStream_readShort($par1DataInput); if (var$2 >= 0) { var$4 = $par1DataInput.$in.$read(); if (var$4 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } var$5 = var$4 << 24 >> 24; var$4 = ji_DataInputStream_readShort($par1DataInput); var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = var$2; var$3.$stackSize = var$5; var$3.$itemDamage = var$4; if (var$4 < 0) var$3.$itemDamage = 0; var$2 = ji_DataInputStream_readShort($par1DataInput); if (var$2 < 0) $par1DataInput = null; else { var$6 = $rt_createByteArray(var$2); var$4 = var$6.data.length; ji_DataInputStream_readFully($par1DataInput, var$6, 0, var$4); var$7 = new ji_DataInputStream; $par1DataInput = new ji_BufferedInputStream; var$8 = new cjj_GZIPInputStream; var$9 = new ji_ByteArrayInputStream; var$9.$buf3 = var$6; var$9.$pos1 = 0; var$9.$mark1 = 0; var$9.$count0 = 0 + var$4 | 0; var$10 = new cjj_Inflater; cjj_ZStream__init_(var$10, cjj_Adler32__init_()); var$10.$finished = 0; var$10.$finished = 0; var$11 = cjj_Inflate__init_(var$10); var$10.$istate = var$11; var$4 = cjj_Inflate_inflateInit(var$11, 31); if (var$4) { $par1DataInput = new cjj_GZIPException; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$3); jl_AbstractStringBuilder_append0(var$3, var$4); jl_AbstractStringBuilder_append(var$3, $rt_s(107)); jl_AbstractStringBuilder_append(var$3, var$10.$msg); ji_IOException__init_($par1DataInput, jl_AbstractStringBuilder_toString(var$3)); $rt_throw($par1DataInput); } cjj_InflaterInputStream__init_(var$8, var$9, var$10, 512, 1); var$8.$myinflater = 1; $par1DataInput.$in = var$8; $par1DataInput.$markpos = (-1); $par1DataInput.$buf2 = $rt_createByteArray(8192); var$7.$in = $par1DataInput; var$7.$buff = $rt_createByteArray(8); a: { try { $par1DataInput = nms_CompressedStreamTools_read(var$7); break a; } catch ($$e) { $$je = $rt_wrapException($$e); $par1DataInput = $$je; } var$7.$in.$close(); $rt_throw($par1DataInput); } var$7.$in.$close(); } var$3.$stackTagCompound = $par1DataInput; } $this.$itemStack3 = var$3; }, nms_Packet102WindowClick_writePacketData = ($this, $par1DataOutput) => { let var$2; var$2 = $this.$window_Id; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; ji_DataOutputStream_writeShort($par1DataOutput, $this.$inventorySlot); var$2 = $this.$mouseClick; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; ji_DataOutputStream_writeShort($par1DataOutput, $this.$action2); var$2 = $this.$holdingShift; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; nms_Packet_writeItemStack($this.$itemStack3, $par1DataOutput); }, nms_Packet102WindowClick_getPacketSize = $this => { return 11; }; function nms_Packet103SetSlot() { let a = this; nms_Packet.call(a); a.$windowId5 = 0; a.$itemSlot = 0; a.$myItemStack = null; } let nms_Packet103SetSlot__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet103SetSlot__init_0 = () => { let var_0 = new nms_Packet103SetSlot(); nms_Packet103SetSlot__init_(var_0); return var_0; }, nms_Packet103SetSlot_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleSetSlot($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet103SetSlot_readPacketData = ($this, $par1DataInput) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $$je; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$windowId5 = var$2 << 24 >> 24; $this.$itemSlot = ji_DataInputStream_readShort($par1DataInput); nms_Packet_$callClinit(); var$3 = null; var$2 = ji_DataInputStream_readShort($par1DataInput); if (var$2 >= 0) { var$4 = $par1DataInput.$in.$read(); if (var$4 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } var$5 = var$4 << 24 >> 24; var$4 = ji_DataInputStream_readShort($par1DataInput); var$3 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$3.$itemID = var$2; var$3.$stackSize = var$5; var$3.$itemDamage = var$4; if (var$4 < 0) var$3.$itemDamage = 0; var$2 = ji_DataInputStream_readShort($par1DataInput); if (var$2 < 0) $par1DataInput = null; else { var$6 = $rt_createByteArray(var$2); var$4 = var$6.data.length; ji_DataInputStream_readFully($par1DataInput, var$6, 0, var$4); var$7 = new ji_DataInputStream; var$8 = new ji_BufferedInputStream; var$9 = new cjj_GZIPInputStream; var$10 = new ji_ByteArrayInputStream; var$10.$buf3 = var$6; var$10.$pos1 = 0; var$10.$mark1 = 0; var$10.$count0 = 0 + var$4 | 0; var$11 = new cjj_Inflater; cjj_ZStream__init_(var$11, cjj_Adler32__init_()); var$11.$finished = 0; var$11.$finished = 0; $par1DataInput = cjj_Inflate__init_(var$11); var$11.$istate = $par1DataInput; var$2 = cjj_Inflate_inflateInit($par1DataInput, 31); if (var$2) { $par1DataInput = new cjj_GZIPException; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$3); jl_AbstractStringBuilder_append0(var$3, var$2); jl_AbstractStringBuilder_append(var$3, $rt_s(107)); jl_AbstractStringBuilder_append(var$3, var$11.$msg); ji_IOException__init_($par1DataInput, jl_AbstractStringBuilder_toString(var$3)); $rt_throw($par1DataInput); } cjj_InflaterInputStream__init_(var$9, var$10, var$11, 512, 1); var$9.$myinflater = 1; var$8.$in = var$9; var$8.$markpos = (-1); var$8.$buf2 = $rt_createByteArray(8192); var$7.$in = var$8; var$7.$buff = $rt_createByteArray(8); a: { try { $par1DataInput = nms_CompressedStreamTools_read(var$7); break a; } catch ($$e) { $$je = $rt_wrapException($$e); $par1DataInput = $$je; } var$7.$in.$close(); $rt_throw($par1DataInput); } var$7.$in.$close(); } var$3.$stackTagCompound = $par1DataInput; } $this.$myItemStack = var$3; }, nms_Packet103SetSlot_getPacketSize = $this => { return 8; }; function nms_Packet104WindowItems() { let a = this; nms_Packet.call(a); a.$windowId6 = 0; a.$itemStack2 = null; } let nms_Packet104WindowItems__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet104WindowItems__init_0 = () => { let var_0 = new nms_Packet104WindowItems(); nms_Packet104WindowItems__init_(var_0); return var_0; }, nms_Packet104WindowItems_readPacketData = ($this, $par1DataInput) => { let $var2, $var3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $$je; $var2 = $par1DataInput.$in.$read(); if ($var2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$windowId6 = $var2 << 24 >> 24; $var2 = ji_DataInputStream_readShort($par1DataInput); $this.$itemStack2 = $rt_createArray(nms_ItemStack, $var2); $var3 = 0; while ($var3 < $var2) { var$4 = $this.$itemStack2; nms_Packet_$callClinit(); var$5 = null; var$6 = ji_DataInputStream_readShort($par1DataInput); if (var$6 >= 0) { var$7 = $par1DataInput.$in.$read(); if (var$7 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } var$7 = var$7 << 24 >> 24; var$8 = ji_DataInputStream_readShort($par1DataInput); var$5 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$5.$itemID = var$6; var$5.$stackSize = var$7; var$5.$itemDamage = var$8; if (var$8 < 0) var$5.$itemDamage = 0; var$7 = ji_DataInputStream_readShort($par1DataInput); if (var$7 < 0) var$9 = null; else { var$10 = $rt_createByteArray(var$7); var$6 = var$10.data.length; ji_DataInputStream_readFully($par1DataInput, var$10, 0, var$6); var$11 = new ji_DataInputStream; var$9 = new ji_BufferedInputStream; var$12 = new cjj_GZIPInputStream; var$13 = new ji_ByteArrayInputStream; var$13.$buf3 = var$10; var$13.$pos1 = 0; var$13.$mark1 = 0; var$13.$count0 = 0 + var$6 | 0; var$14 = new cjj_Inflater; cjj_ZStream__init_(var$14, cjj_Adler32__init_()); var$14.$finished = 0; var$14.$finished = 0; var$15 = cjj_Inflate__init_(var$14); var$14.$istate = var$15; var$8 = cjj_Inflate_inflateInit(var$15, 31); if (var$8) { $par1DataInput = new cjj_GZIPException; var$11 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$11); jl_AbstractStringBuilder_append0(var$11, var$8); jl_AbstractStringBuilder_append(var$11, $rt_s(107)); jl_AbstractStringBuilder_append(var$11, var$14.$msg); ji_IOException__init_($par1DataInput, jl_AbstractStringBuilder_toString(var$11)); $rt_throw($par1DataInput); } cjj_InflaterInputStream__init_(var$12, var$13, var$14, 512, 1); var$12.$myinflater = 1; var$9.$in = var$12; var$9.$markpos = (-1); var$9.$buf2 = $rt_createByteArray(8192); var$11.$in = var$9; var$11.$buff = $rt_createByteArray(8); try { var$9 = nms_CompressedStreamTools_read(var$11); } catch ($$e) { $$je = $rt_wrapException($$e); $par1DataInput = $$je; var$11.$in.$close(); $rt_throw($par1DataInput); } var$11.$in.$close(); } var$5.$stackTagCompound = var$9; } var$4.data[$var3] = var$5; $var3 = $var3 + 1 | 0; } }, nms_Packet104WindowItems_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $par1NetHandler = $par1NetHandler.$mc1.$thePlayer; var$2 = $this.$windowId6; if (!var$2) { $par1NetHandler = $par1NetHandler.$inventoryContainer; var$3 = $this.$itemStack2; var$2 = 0; var$4 = var$3.data; if (var$2 >= var$4.length) break a; var$5 = $par1NetHandler.$inventorySlots; if (var$2 >= 0 && var$2 < var$5.$size0) { var$6 = var$5.$array.data[var$2]; var$5 = var$4[var$2]; $ptr = 1; continue main; } $par1NetHandler = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1NetHandler); $rt_throw($par1NetHandler); } $par1NetHandler = $par1NetHandler.$openContainer; if (var$2 == $par1NetHandler.$windowId) { var$3 = $this.$itemStack2; var$2 = 0; var$4 = var$3.data; if (var$2 < var$4.length) { var$5 = $par1NetHandler.$inventorySlots; if (var$2 >= 0 && var$2 < var$5.$size0) { var$6 = var$5.$array.data[var$2]; var$5 = var$4[var$2]; $ptr = 2; continue main; } $par1NetHandler = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1NetHandler); $rt_throw($par1NetHandler); } } } return; case 1: var$6.$putStack(var$5); if ($rt_suspending()) { break main; } var$2 = var$2 + 1 | 0; var$4 = var$3.data; if (var$2 >= var$4.length) return; var$5 = $par1NetHandler.$inventorySlots; if (var$2 >= 0 && var$2 < var$5.$size0) { var$6 = var$5.$array.data[var$2]; var$5 = var$4[var$2]; continue main; } $par1NetHandler = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1NetHandler); $rt_throw($par1NetHandler); case 2: var$6.$putStack(var$5); if ($rt_suspending()) { break main; } var$2 = var$2 + 1 | 0; var$4 = var$3.data; if (var$2 >= var$4.length) return; var$5 = $par1NetHandler.$inventorySlots; if (var$2 >= 0 && var$2 < var$5.$size0) { var$6 = var$5.$array.data[var$2]; var$5 = var$4[var$2]; continue main; } $par1NetHandler = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1NetHandler); $rt_throw($par1NetHandler); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_Packet104WindowItems_getPacketSize = $this => { return 3 + ($this.$itemStack2.data.length * 5 | 0) | 0; }; function nms_Packet105UpdateProgressbar() { let a = this; nms_Packet.call(a); a.$windowId4 = 0; a.$progressBar = 0; a.$progressBarValue = 0; } let nms_Packet105UpdateProgressbar__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet105UpdateProgressbar__init_0 = () => { let var_0 = new nms_Packet105UpdateProgressbar(); nms_Packet105UpdateProgressbar__init_(var_0); return var_0; }, nms_Packet105UpdateProgressbar_processPacket = ($this, $par1NetHandler) => { $par1NetHandler = $par1NetHandler.$mc1.$thePlayer.$openContainer; if ($par1NetHandler !== null && $par1NetHandler.$windowId == $this.$windowId4) $par1NetHandler.$updateProgressBar($this.$progressBar, $this.$progressBarValue); }, nms_Packet105UpdateProgressbar_readPacketData = ($this, $par1DataInput) => { let var$2; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$windowId4 = var$2 << 24 >> 24; $this.$progressBar = ji_DataInputStream_readShort($par1DataInput); $this.$progressBarValue = ji_DataInputStream_readShort($par1DataInput); return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet105UpdateProgressbar_getPacketSize = $this => { return 5; }; function nms_Packet106Transaction() { let a = this; nms_Packet.call(a); a.$windowId2 = 0; a.$shortWindowId = 0; a.$accepted = 0; } let nms_Packet106Transaction__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet106Transaction__init_0 = () => { let var_0 = new nms_Packet106Transaction(); nms_Packet106Transaction__init_(var_0); return var_0; }, nms_Packet106Transaction_processPacket = ($this, $par1NetHandler) => { nms_NetClientHandler_handleTransaction($par1NetHandler, $this); }, nms_Packet106Transaction_readPacketData = ($this, $par1DataInput) => { let var$2; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$windowId2 = var$2 << 24 >> 24; $this.$shortWindowId = ji_DataInputStream_readShort($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$accepted = !(var$2 << 24 >> 24) ? 0 : 1; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet106Transaction_writePacketData = ($this, $par1DataOutput) => { let var$2; var$2 = $this.$windowId2; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; ji_DataOutputStream_writeShort($par1DataOutput, $this.$shortWindowId); var$2 = !$this.$accepted ? 0 : 1; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet106Transaction_getPacketSize = $this => { return 4; }; function nms_Packet107CreativeSetSlot() { let a = this; nms_Packet.call(a); a.$slot = 0; a.$itemStack0 = null; } let nms_Packet107CreativeSetSlot__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet107CreativeSetSlot__init_0 = () => { let var_0 = new nms_Packet107CreativeSetSlot(); nms_Packet107CreativeSetSlot__init_(var_0); return var_0; }, nms_Packet107CreativeSetSlot_processPacket = ($this, $par1NetHandler) => { return; }, nms_Packet107CreativeSetSlot_readPacketData = ($this, $par1DataInput) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $$je; $this.$slot = ji_DataInputStream_readShort($par1DataInput); nms_Packet_$callClinit(); var$2 = null; var$3 = ji_DataInputStream_readShort($par1DataInput); if (var$3 >= 0) { var$4 = $par1DataInput.$in.$read(); if (var$4 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } var$5 = var$4 << 24 >> 24; var$4 = ji_DataInputStream_readShort($par1DataInput); var$2 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$2.$itemID = var$3; var$2.$stackSize = var$5; var$2.$itemDamage = var$4; if (var$4 < 0) var$2.$itemDamage = 0; var$3 = ji_DataInputStream_readShort($par1DataInput); if (var$3 < 0) $par1DataInput = null; else { var$6 = $rt_createByteArray(var$3); var$4 = var$6.data.length; ji_DataInputStream_readFully($par1DataInput, var$6, 0, var$4); var$7 = new ji_DataInputStream; var$8 = new ji_BufferedInputStream; var$9 = new cjj_GZIPInputStream; var$10 = new ji_ByteArrayInputStream; var$10.$buf3 = var$6; var$10.$pos1 = 0; var$10.$mark1 = 0; var$10.$count0 = 0 + var$4 | 0; $par1DataInput = new cjj_Inflater; cjj_ZStream__init_($par1DataInput, cjj_Adler32__init_()); $par1DataInput.$finished = 0; $par1DataInput.$finished = 0; var$11 = cjj_Inflate__init_($par1DataInput); $par1DataInput.$istate = var$11; var$5 = cjj_Inflate_inflateInit(var$11, 31); if (var$5) { var$2 = new cjj_GZIPException; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$7); jl_AbstractStringBuilder_append0(var$7, var$5); jl_AbstractStringBuilder_append(var$7, $rt_s(107)); jl_AbstractStringBuilder_append(var$7, $par1DataInput.$msg); ji_IOException__init_(var$2, jl_AbstractStringBuilder_toString(var$7)); $rt_throw(var$2); } cjj_InflaterInputStream__init_(var$9, var$10, $par1DataInput, 512, 1); var$9.$myinflater = 1; var$8.$in = var$9; var$8.$markpos = (-1); var$8.$buf2 = $rt_createByteArray(8192); var$7.$in = var$8; var$7.$buff = $rt_createByteArray(8); a: { try { $par1DataInput = nms_CompressedStreamTools_read(var$7); break a; } catch ($$e) { $$je = $rt_wrapException($$e); $par1DataInput = $$je; } var$7.$in.$close(); $rt_throw($par1DataInput); } var$7.$in.$close(); } var$2.$stackTagCompound = $par1DataInput; } $this.$itemStack0 = var$2; }, nms_Packet107CreativeSetSlot_writePacketData = ($this, $par1DataOutput) => { ji_DataOutputStream_writeShort($par1DataOutput, $this.$slot); nms_Packet_writeItemStack($this.$itemStack0, $par1DataOutput); }, nms_Packet107CreativeSetSlot_getPacketSize = $this => { return 8; }; function nms_Packet108EnchantItem() { let a = this; nms_Packet.call(a); a.$windowId3 = 0; a.$enchantment = 0; } let nms_Packet108EnchantItem__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet108EnchantItem__init_0 = () => { let var_0 = new nms_Packet108EnchantItem(); nms_Packet108EnchantItem__init_(var_0); return var_0; }, nms_Packet108EnchantItem_processPacket = ($this, $par1NetHandler) => { return; }, nms_Packet108EnchantItem_readPacketData = ($this, $par1DataInput) => { let var$2; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$windowId3 = var$2 << 24 >> 24; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$enchantment = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet108EnchantItem_writePacketData = ($this, $par1DataOutput) => { let var$2; var$2 = $this.$windowId3; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; var$2 = $this.$enchantment; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet108EnchantItem_getPacketSize = $this => { return 2; }; function nms_Packet130UpdateSign() { let a = this; nms_Packet.call(a); a.$xPosition6 = 0; a.$yPosition5 = 0; a.$zPosition5 = 0; a.$signLines = null; } let nms_Packet130UpdateSign__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$isChunkDataPacket = 1; }, nms_Packet130UpdateSign__init_2 = () => { let var_0 = new nms_Packet130UpdateSign(); nms_Packet130UpdateSign__init_(var_0); return var_0; }, nms_Packet130UpdateSign__init_0 = ($this, $par1, $par2, $par3, $par4ArrayOfStr) => { let var$5, var$6; var$5 = $par4ArrayOfStr.data; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$isChunkDataPacket = 1; $this.$xPosition6 = $par1; $this.$yPosition5 = $par2; $this.$zPosition5 = $par3; $par4ArrayOfStr = $rt_createArray(jl_String, 4); var$6 = $par4ArrayOfStr.data; var$6[0] = var$5[0]; var$6[1] = var$5[1]; var$6[2] = var$5[2]; var$6[3] = var$5[3]; $this.$signLines = $par4ArrayOfStr; }, nms_Packet130UpdateSign__init_1 = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_Packet130UpdateSign(); nms_Packet130UpdateSign__init_0(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_Packet130UpdateSign_readPacketData = ($this, $par1DataInput) => { let $var2; $this.$xPosition6 = ji_DataInputStream_readInt($par1DataInput); $this.$yPosition5 = ji_DataInputStream_readShort($par1DataInput); $this.$zPosition5 = ji_DataInputStream_readInt($par1DataInput); $this.$signLines = $rt_createArray(jl_String, 4); $var2 = 0; while ($var2 < 4) { $this.$signLines.data[$var2] = nms_Packet_readString($par1DataInput, 15); $var2 = $var2 + 1 | 0; } }, nms_Packet130UpdateSign_writePacketData = ($this, $par1DataOutput) => { let $var2, var$3; ji_DataOutputStream_writeInt($par1DataOutput, $this.$xPosition6); ji_DataOutputStream_writeShort($par1DataOutput, $this.$yPosition5); ji_DataOutputStream_writeInt($par1DataOutput, $this.$zPosition5); $var2 = 0; while ($var2 < 4) { var$3 = $this.$signLines.data[$var2]; nms_Packet_$callClinit(); if (var$3.$nativeString.length > 32767) { var$3 = new ji_IOException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(588); $rt_throw(var$3); } ji_DataOutputStream_writeShort($par1DataOutput, var$3.$nativeString.length); ji_DataOutputStream_writeChars($par1DataOutput, var$3); $var2 = $var2 + 1 | 0; } }, nms_Packet130UpdateSign_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleUpdateSign($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet130UpdateSign_getPacketSize = $this => { let $var1, $var2; $var1 = 0; $var2 = 0; while ($var2 < 4) { $var1 = $var1 + $this.$signLines.data[$var2].$nativeString.length | 0; $var2 = $var2 + 1 | 0; } return $var1; }; function nms_Packet131MapData() { let a = this; nms_Packet.call(a); a.$itemID2 = 0; a.$uniqueID = 0; a.$itemData = null; } let nms_Packet131MapData__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$isChunkDataPacket = 1; }, nms_Packet131MapData__init_0 = () => { let var_0 = new nms_Packet131MapData(); nms_Packet131MapData__init_(var_0); return var_0; }, nms_Packet131MapData_readPacketData = ($this, $par1DataInput) => { let var$2, var$3; $this.$itemID2 = ji_DataInputStream_readShort($par1DataInput); $this.$uniqueID = ji_DataInputStream_readShort($par1DataInput); var$2 = $rt_createByteArray(ji_DataInputStream_readUnsignedShort($par1DataInput)); var$3 = var$2.data; $this.$itemData = var$2; ji_DataInputStream_readFully($par1DataInput, var$2, 0, var$3.length); }, nms_Packet131MapData_processPacket = ($this, $par1NetHandler) => { nms_NetClientHandler_handleMapData($par1NetHandler, $this); }, nms_Packet131MapData_getPacketSize = $this => { return 4 + $this.$itemData.data.length | 0; }; function nms_Packet132TileEntityData() { let a = this; nms_Packet.call(a); a.$xPosition11 = 0; a.$yPosition15 = 0; a.$zPosition15 = 0; a.$actionType = 0; a.$data14 = null; } let nms_Packet132TileEntityData__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$isChunkDataPacket = 1; }, nms_Packet132TileEntityData__init_0 = () => { let var_0 = new nms_Packet132TileEntityData(); nms_Packet132TileEntityData__init_(var_0); return var_0; }, nms_Packet132TileEntityData_readPacketData = ($this, $par1DataInput) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $$je; $this.$xPosition11 = ji_DataInputStream_readInt($par1DataInput); $this.$yPosition15 = ji_DataInputStream_readShort($par1DataInput); $this.$zPosition15 = ji_DataInputStream_readInt($par1DataInput); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$actionType = var$2 << 24 >> 24; nms_Packet_$callClinit(); var$2 = ji_DataInputStream_readShort($par1DataInput); if (var$2 < 0) $par1DataInput = null; else { var$3 = $rt_createByteArray(var$2); var$4 = var$3.data.length; ji_DataInputStream_readFully($par1DataInput, var$3, 0, var$4); var$5 = new ji_DataInputStream; $par1DataInput = new ji_BufferedInputStream; var$6 = new cjj_GZIPInputStream; var$7 = new ji_ByteArrayInputStream; var$7.$buf3 = var$3; var$7.$pos1 = 0; var$7.$mark1 = 0; var$7.$count0 = 0 + var$4 | 0; var$8 = new cjj_Inflater; var$9 = new cjj_Adler32; jl_Object__init_(var$9); var$9.$s1 = Long_fromInt(1); var$9.$s2 = Long_ZERO; jl_Object__init_(var$8); var$8.$adler = var$9; var$8.$finished = 0; var$8.$finished = 0; var$10 = new cjj_Inflate; jl_Object__init_(var$10); var$10.$was = Long_fromInt(-1); var$10.$need_bytes = (-1); var$10.$crcbuf = $rt_createByteArray(4); var$10.$gheader = null; var$10.$tmp_string = null; var$10.$z1 = var$8; var$8.$istate = var$10; var$2 = cjj_Inflate_inflateInit(var$10, 31); if (var$2) { $par1DataInput = new cjj_GZIPException; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$5, 16); jl_AbstractStringBuilder_append3(var$5, var$2, 10); jl_StringBuilder_insert0(var$5, var$5.$length0, $rt_s(107)); var$6 = var$8.$msg; jl_StringBuilder_insert0(var$5, var$5.$length0, var$6); jl_Exception__init_0($par1DataInput, jl_String__init_0(var$5.$buffer, 0, var$5.$length0)); $rt_throw($par1DataInput); } cjj_InflaterInputStream__init_(var$6, var$7, var$8, 512, 1); var$6.$myinflater = 1; $par1DataInput.$in = var$6; $par1DataInput.$markpos = (-1); $par1DataInput.$buf2 = $rt_createByteArray(8192); var$5.$in = $par1DataInput; var$5.$buff = $rt_createByteArray(8); a: { try { $par1DataInput = nms_CompressedStreamTools_read(var$5); break a; } catch ($$e) { $$je = $rt_wrapException($$e); $par1DataInput = $$je; } var$5.$in.$close(); $rt_throw($par1DataInput); } var$5.$in.$close(); } $this.$data14 = $par1DataInput; }, nms_Packet132TileEntityData_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleTileEntityData($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet132TileEntityData_getPacketSize = $this => { return 25; }; function nms_Packet133TileEditorOpen() { let a = this; nms_Packet.call(a); a.$field_142037_a = 0; a.$field_142035_b = 0; a.$field_142036_c = 0; a.$field_142034_d = 0; } let nms_Packet133TileEditorOpen__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet133TileEditorOpen__init_0 = () => { let var_0 = new nms_Packet133TileEditorOpen(); nms_Packet133TileEditorOpen__init_(var_0); return var_0; }, nms_Packet133TileEditorOpen_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_func_142031_a($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet133TileEditorOpen_readPacketData = ($this, $par1DataInput) => { let var$2; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$field_142037_a = var$2 << 24 >> 24; $this.$field_142035_b = ji_DataInputStream_readInt($par1DataInput); $this.$field_142036_c = ji_DataInputStream_readInt($par1DataInput); $this.$field_142034_d = ji_DataInputStream_readInt($par1DataInput); return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet133TileEditorOpen_getPacketSize = $this => { return 13; }; function nms_Packet200Statistic() { let a = this; nms_Packet.call(a); a.$statisticId = 0; a.$amount0 = 0; } let nms_Packet200Statistic__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet200Statistic__init_0 = () => { let var_0 = new nms_Packet200Statistic(); nms_Packet200Statistic__init_(var_0); return var_0; }, nms_Packet200Statistic_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7; $par1NetHandler = $par1NetHandler.$mc1.$thePlayer; var$2 = $this.$statisticId; nms_StatList_$callClinit(); var$3 = nms_StatList_oneShotStats; if (var$2 >= (-128) && var$2 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$2 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$2; } if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 !== null && !var$3.$isIndependent && var$3.$isAchievement()) { var$3 = var$3; if (nle_LocalStorageManager_hasMadeAchievement(var$3)) { $par1NetHandler = $par1NetHandler.$mc4.$guiAchievement; nms_StatCollector_$callClinit(); $par1NetHandler.$achievementGetLocalText = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2498)); var$7 = var$3.$statName; $par1NetHandler.$achievementStatName = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$7); nlea_EaglerAdapterImpl2_$callClinit(); $par1NetHandler.$achievementTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1NetHandler.$theAchievement = var$3; $par1NetHandler.$haveAchiement = 0; } } }, nms_Packet200Statistic_readPacketData = ($this, $par1DataInput) => { $this.$statisticId = ji_DataInputStream_readInt($par1DataInput); $this.$amount0 = ji_DataInputStream_readInt($par1DataInput); }, nms_Packet200Statistic_getPacketSize = $this => { return 6; }; function nms_Packet201PlayerInfo() { let a = this; nms_Packet.call(a); a.$playerName = null; a.$isConnected = 0; a.$ping0 = 0; } let nms_Packet201PlayerInfo__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet201PlayerInfo__init_0 = () => { let var_0 = new nms_Packet201PlayerInfo(); nms_Packet201PlayerInfo__init_(var_0); return var_0; }, nms_Packet201PlayerInfo_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$playerName = nms_Packet_readString($par1DataInput, 16); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$isConnected = !(var$2 << 24 >> 24) ? 0 : 1; $this.$ping0 = ji_DataInputStream_readShort($par1DataInput); }, nms_Packet201PlayerInfo_processPacket = ($this, $par1NetHandler) => { nms_NetClientHandler_handlePlayerInfo($par1NetHandler, $this); }, nms_Packet201PlayerInfo_getPacketSize = $this => { return (($this.$playerName.$nativeString.length + 2 | 0) + 1 | 0) + 2 | 0; }; function nms_Packet202PlayerAbilities() { let a = this; nms_Packet.call(a); a.$disableDamage0 = 0; a.$isFlying0 = 0; a.$allowFlying0 = 0; a.$isCreativeMode0 = 0; a.$flySpeed0 = 0.0; a.$walkSpeed0 = 0.0; } let nms_Packet202PlayerAbilities__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet202PlayerAbilities__init_0 = () => { let var_0 = new nms_Packet202PlayerAbilities(); nms_Packet202PlayerAbilities__init_(var_0); return var_0; }, nms_Packet202PlayerAbilities_readPacketData = ($this, $par1DataInput) => { let var$2, $var2; var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $var2 = var$2 << 24 >> 24; $this.$disableDamage0 = ($var2 & 1) <= 0 ? 0 : 1; $this.$isFlying0 = ($var2 & 2) <= 0 ? 0 : 1; $this.$allowFlying0 = ($var2 & 4) <= 0 ? 0 : 1; $this.$isCreativeMode0 = ($var2 & 8) <= 0 ? 0 : 1; $this.$flySpeed0 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); $this.$walkSpeed0 = $rt_intBitsToFloat(ji_DataInputStream_readInt($par1DataInput)); }, nms_Packet202PlayerAbilities_writePacketData = ($this, $par1DataOutput) => { let $var2, var$3; $var2 = 0; if ($this.$disableDamage0) $var2 = 1; if ($this.$isFlying0) $var2 = ($var2 | 2) << 24 >> 24; if ($this.$allowFlying0) $var2 = ($var2 | 4) << 24 >> 24; if ($this.$isCreativeMode0) $var2 = ($var2 | 8) << 24 >> 24; $par1DataOutput.$out0.$write1($var2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; var$3 = $this.$flySpeed0; ji_DataOutputStream_writeInt($par1DataOutput, (isNaN(var$3) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(var$3)); var$3 = $this.$walkSpeed0; ji_DataOutputStream_writeInt($par1DataOutput, (isNaN(var$3) ? 1 : 0) ? 2143289344 : $rt_floatToRawIntBits(var$3)); }, nms_Packet202PlayerAbilities_processPacket = ($this, $par1NetHandler) => { $par1NetHandler = $par1NetHandler.$mc1.$thePlayer.$capabilities; $par1NetHandler.$isFlying = $this.$isFlying0; $par1NetHandler.$isCreativeMode = $this.$isCreativeMode0; $par1NetHandler.$disableDamage = $this.$disableDamage0; $par1NetHandler.$allowFlying = $this.$allowFlying0; $par1NetHandler.$flySpeed = $this.$flySpeed0; $par1NetHandler.$walkSpeed = $this.$walkSpeed0; }, nms_Packet202PlayerAbilities_getPacketSize = $this => { return 2; }; function nms_Packet203AutoComplete() { nms_Packet.call(this); this.$text2 = null; } let nms_Packet203AutoComplete__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet203AutoComplete__init_0 = () => { let var_0 = new nms_Packet203AutoComplete(); nms_Packet203AutoComplete__init_(var_0); return var_0; }, nms_Packet203AutoComplete_readPacketData = ($this, $par1DataInput) => { $this.$text2 = nms_Packet_readString($par1DataInput, 32767); }, nms_Packet203AutoComplete_writePacketData = ($this, $par1DataOutput) => { let var$2; var$2 = $this.$text2; nms_Packet_$callClinit(); if (var$2.$nativeString.length <= 32767) { ji_DataOutputStream_writeShort($par1DataOutput, var$2.$nativeString.length); ji_DataOutputStream_writeChars($par1DataOutput, var$2); return; } var$2 = new ji_IOException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(588); $rt_throw(var$2); }, nms_Packet203AutoComplete_processPacket = ($this, $par1NetHandler) => { let var$2, var$3; var$2 = $this.$text2; var$3 = jur_Pattern_split(jur_Pattern_compile($rt_s(3446), 0), var$2, 0); $par1NetHandler = $par1NetHandler.$mc1.$currentScreen; if ($par1NetHandler instanceof nms_GuiChat) nms_GuiChat_func_73894_a($par1NetHandler, var$3); }, nms_Packet203AutoComplete_getPacketSize = $this => { return 2 + ($this.$text2.$nativeString.length * 2 | 0) | 0; }; function nms_Packet205ClientCommand() { nms_Packet.call(this); this.$forceRespawn = 0; } let nms_Packet205ClientCommand__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet205ClientCommand__init_0 = () => { let var_0 = new nms_Packet205ClientCommand(); nms_Packet205ClientCommand__init_(var_0); return var_0; }, nms_Packet205ClientCommand_readPacketData = ($this, $par1DataInput) => { let var$2; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$forceRespawn = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet205ClientCommand_writePacketData = ($this, $par1DataOutput) => { let var$2; var$2 = $this.$forceRespawn & 255; $par1DataOutput.$out0.$write1(var$2); $par1DataOutput.$written = $par1DataOutput.$written + 1 | 0; }, nms_Packet205ClientCommand_processPacket = ($this, $par1NetHandler) => { return; }, nms_Packet205ClientCommand_getPacketSize = $this => { return 1; }; function nms_Packet206SetObjective() { let a = this; nms_Packet.call(a); a.$objectiveName = null; a.$objectiveDisplayName = null; a.$change = 0; } let nms_Packet206SetObjective__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet206SetObjective__init_0 = () => { let var_0 = new nms_Packet206SetObjective(); nms_Packet206SetObjective__init_(var_0); return var_0; }, nms_Packet206SetObjective_readPacketData = ($this, $par1DataInput) => { let var$2; $this.$objectiveName = nms_Packet_readString($par1DataInput, 16); $this.$objectiveDisplayName = nms_Packet_readString($par1DataInput, 32); var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$change = var$2 << 24 >> 24; return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet206SetObjective_processPacket = ($this, $par1NetHandler) => { nms_NetClientHandler_handleSetObjective($par1NetHandler, $this); }, nms_Packet206SetObjective_getPacketSize = $this => { return (((2 + $this.$objectiveName.$nativeString.length | 0) + 2 | 0) + $this.$objectiveDisplayName.$nativeString.length | 0) + 1 | 0; }; function nms_Packet207SetScore() { let a = this; nms_Packet.call(a); a.$itemName = null; a.$scoreName = null; a.$value15 = 0; a.$updateOrRemove = 0; } let nms_Packet207SetScore__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$itemName = $rt_s(18); $this.$scoreName = $rt_s(18); }, nms_Packet207SetScore__init_0 = () => { let var_0 = new nms_Packet207SetScore(); nms_Packet207SetScore__init_(var_0); return var_0; }, nms_Packet207SetScore_readPacketData = ($this, $par1DataInput) => { let var$2, var$3; $this.$itemName = nms_Packet_readString($par1DataInput, 16); var$2 = $par1DataInput.$in.$read(); if (var$2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } var$3 = var$2 << 24 >> 24; $this.$updateOrRemove = var$3; if (var$3 != 1) { $this.$scoreName = nms_Packet_readString($par1DataInput, 16); $this.$value15 = ji_DataInputStream_readInt($par1DataInput); } }, nms_Packet207SetScore_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; var$2 = $par1NetHandler.$worldClient.$worldScoreboard; $par1NetHandler = $this.$scoreName; var$3 = var$2.$scoreObjectives; if ($par1NetHandler === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { a: { if (!$par1NetHandler.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $par1NetHandler.$nativeString.length) break a; $par1NetHandler.$hashCode1 = (31 * $par1NetHandler.$hashCode1 | 0) + $par1NetHandler.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $par1NetHandler.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { b: { var$7 = var$3.$key; if ($par1NetHandler !== var$7) { if ($par1NetHandler === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $par1NetHandler.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } var$3 = var$3.$next3; } } var$8 = var$3 === null ? null : var$3.$value1; var$4 = $this.$updateOrRemove; if (!var$4) { $par1NetHandler = $this.$itemName; var$3 = var$2.$field_96544_c; if ($par1NetHandler === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { c: { if (!$par1NetHandler.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $par1NetHandler.$nativeString.length) break c; $par1NetHandler.$hashCode1 = (31 * $par1NetHandler.$hashCode1 | 0) + $par1NetHandler.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $par1NetHandler.$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { d: { var$7 = var$3.$key; if ($par1NetHandler !== var$7) { if ($par1NetHandler === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $par1NetHandler.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { var$3 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$9 = var$6.data; var$3.$elementData = var$6; var$3.$loadFactor = 0.75; var$3.$threshold = var$9.length * 0.75 | 0; ju_HashMap_putImpl(var$2.$field_96544_c, $par1NetHandler, var$3); } if (var$8 === null) { var$10 = var$3.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { var$7 = var$8; if (!var$7.$id$) var$7.$id$ = $rt_nextId(); var$11 = var$8.$id$; var$6 = var$3.$elementData.data; var$10 = var$6[var$11 & (var$6.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$11) { var$7 = var$10.$key; if (var$8 !== var$7 && !(var$8 !== var$7 ? 0 : 1) ? 0 : 1) break; } var$10 = var$10.$next3; } } var$7 = var$10 === null ? null : var$10.$value1; if (var$7 === null) { var$7 = new nms_Score; var$7.$theScoreboard = var$2; var$7.$theScoreObjective = var$8; var$7.$field_96654_d = $par1NetHandler; ju_HashMap_putImpl(var$3, var$8, var$7); } var$4 = $this.$value15; var$11 = var$7.$field_96655_e; var$7.$field_96655_e = var$4; } else if (var$4 == 1) { $par1NetHandler = $this.$itemName; $par1NetHandler = ju_HashMap_removeByKey(var$2.$field_96544_c, $par1NetHandler); $par1NetHandler = $par1NetHandler === null ? null : $par1NetHandler.$value1; } }, nms_Packet207SetScore_getPacketSize = $this => { let var$1, var$2; var$1 = $this.$itemName; var$2 = (2 + (var$1 === null ? 0 : var$1.$nativeString.length) | 0) + 2 | 0; var$1 = $this.$scoreName; return ((var$2 + (var$1 === null ? 0 : var$1.$nativeString.length) | 0) + 4 | 0) + 1 | 0; }; function nms_Packet208SetDisplayObjective() { let a = this; nms_Packet.call(a); a.$scoreboardPosition = 0; a.$scoreName0 = null; } let nms_Packet208SetDisplayObjective__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet208SetDisplayObjective__init_0 = () => { let var_0 = new nms_Packet208SetDisplayObjective(); nms_Packet208SetDisplayObjective__init_(var_0); return var_0; }, nms_Packet208SetDisplayObjective_readPacketData = ($this, $par1DataInput) => { let var$2; var$2 = $par1DataInput.$in.$read(); if (var$2 >= 0) { $this.$scoreboardPosition = var$2 << 24 >> 24; $this.$scoreName0 = nms_Packet_readString($par1DataInput, 16); return; } $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); }, nms_Packet208SetDisplayObjective_processPacket = ($this, $par1NetHandler) => { let var$2, var$3, var$4, var$5, var$6, var$7; var$2 = $par1NetHandler.$worldClient.$worldScoreboard; if (!$this.$scoreName0.$nativeString.length) { var$3 = $this.$scoreboardPosition; var$2.$field_96541_d.data[var$3] = null; } else { $par1NetHandler = $this.$scoreName0; var$4 = var$2.$scoreObjectives; if ($par1NetHandler === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { if (!$par1NetHandler.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $par1NetHandler.$nativeString.length) break a; $par1NetHandler.$hashCode1 = (31 * $par1NetHandler.$hashCode1 | 0) + $par1NetHandler.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$5 = $par1NetHandler.$hashCode1; var$6 = var$4.$elementData.data; var$4 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$5) { b: { var$7 = var$4.$key; if ($par1NetHandler !== var$7) { if ($par1NetHandler === var$7) var$3 = 1; else if (!(var$7 instanceof jl_String)) var$3 = 0; else { var$7 = var$7; var$3 = $par1NetHandler.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$4 = var$4.$next3; } } $par1NetHandler = var$4 === null ? null : var$4.$value1; var$3 = $this.$scoreboardPosition; var$2.$field_96541_d.data[var$3] = $par1NetHandler; } }, nms_Packet208SetDisplayObjective_getPacketSize = $this => { return 3 + $this.$scoreName0.$nativeString.length | 0; }; function nms_Packet209SetPlayerTeam() { let a = this; nms_Packet.call(a); a.$teamName = null; a.$teamDisplayName = null; a.$teamPrefix = null; a.$teamSuffix = null; a.$playerNames = null; a.$mode4 = 0; a.$friendlyFire = 0; } let nms_Packet209SetPlayerTeam__init_ = $this => { let var$1; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$teamName = $rt_s(18); $this.$teamDisplayName = $rt_s(18); $this.$teamPrefix = $rt_s(18); $this.$teamSuffix = $rt_s(18); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$playerNames = var$1; }, nms_Packet209SetPlayerTeam__init_0 = () => { let var_0 = new nms_Packet209SetPlayerTeam(); nms_Packet209SetPlayerTeam__init_(var_0); return var_0; }, nms_Packet209SetPlayerTeam_readPacketData = ($this, $par1DataInput) => { let $var2, $var3, var$4, var$5, var$6, var$7; $this.$teamName = nms_Packet_readString($par1DataInput, 16); $var2 = $par1DataInput.$in.$read(); if ($var2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $var3 = $var2 << 24 >> 24; $this.$mode4 = $var3; if (!($var3 && $var3 != 2)) { $this.$teamDisplayName = nms_Packet_readString($par1DataInput, 32); $this.$teamPrefix = nms_Packet_readString($par1DataInput, 16); $this.$teamSuffix = nms_Packet_readString($par1DataInput, 16); $var2 = $par1DataInput.$in.$read(); if ($var2 < 0) { $par1DataInput = new ji_EOFException; $par1DataInput.$suppressionEnabled = 1; $par1DataInput.$writableStackTrace = 1; $rt_throw($par1DataInput); } $this.$friendlyFire = $var2 << 24 >> 24; } a: { $var2 = $this.$mode4; if (!($var2 && $var2 != 3 && $var2 != 4)) { $var2 = ji_DataInputStream_readShort($par1DataInput); $var3 = 0; while (true) { if ($var3 >= $var2) break a; var$4 = $this.$playerNames; var$5 = nms_Packet_readString($par1DataInput, 16); ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$6 = var$4.$array.data; var$7 = var$4.$size0; var$4.$size0 = var$7 + 1 | 0; var$6[var$7] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; $var3 = $var3 + 1 | 0; } } } }, nms_Packet209SetPlayerTeam_processPacket = ($this, $par1NetHandler) => { nms_NetClientHandler_handleSetPlayerTeam($par1NetHandler, $this); }, nms_Packet209SetPlayerTeam_getPacketSize = $this => { return 3 + $this.$teamName.$nativeString.length | 0; }; function nms_Packet252SharedKey() { let a = this; nms_Packet.call(a); a.$sharedSecret = null; a.$verifyToken = null; } let nms_Packet252SharedKey__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$sharedSecret = $rt_createByteArray(0); $this.$verifyToken = $rt_createByteArray(0); }, nms_Packet252SharedKey__init_0 = () => { let var_0 = new nms_Packet252SharedKey(); nms_Packet252SharedKey__init_(var_0); return var_0; }, nms_Packet252SharedKey_readPacketData = ($this, $par1DataInput) => { let var$2, var$3, var$4; nms_Packet_$callClinit(); var$2 = ji_DataInputStream_readShort($par1DataInput); if (var$2 < 0) { var$3 = new ji_IOException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(3447); $rt_throw(var$3); } var$4 = $rt_createByteArray(var$2); ji_DataInputStream_readFully($par1DataInput, var$4, 0, var$4.data.length); $this.$sharedSecret = var$4; var$2 = ji_DataInputStream_readShort($par1DataInput); if (var$2 >= 0) { var$4 = $rt_createByteArray(var$2); ji_DataInputStream_readFully($par1DataInput, var$4, 0, var$4.data.length); $this.$verifyToken = var$4; return; } var$3 = new ji_IOException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(3447); $rt_throw(var$3); }, nms_Packet252SharedKey_writePacketData = ($this, $par1DataOutput) => { let var$2, var$3, var$4; var$2 = $this.$sharedSecret; var$3 = var$2.data; nms_Packet_$callClinit(); var$4 = var$3.length; ji_DataOutputStream_writeShort($par1DataOutput, var$4); $par1DataOutput.$out0.$write4(var$2, 0, var$4); $par1DataOutput.$written = $par1DataOutput.$written + var$4 | 0; var$2 = $this.$verifyToken; var$4 = var$2.data.length; ji_DataOutputStream_writeShort($par1DataOutput, var$4); $par1DataOutput.$out0.$write4(var$2, 0, var$4); $par1DataOutput.$written = $par1DataOutput.$written + var$4 | 0; }, nms_Packet252SharedKey_processPacket = ($this, $par1NetHandler) => { let var$2; var$2 = new nms_Packet205ClientCommand; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$forceRespawn = 0; if (!$par1NetHandler.$disconnected) $par1NetHandler.$netManager.$addToSendQueue(var$2); }, nms_Packet252SharedKey_getPacketSize = $this => { return 170; }; function nms_Packet253ServerAuthData() { let a = this; nms_Packet.call(a); a.$serverId = null; a.$verifyToken0 = null; } let nms_Packet253ServerAuthData__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$verifyToken0 = $rt_createByteArray(0); }, nms_Packet253ServerAuthData__init_0 = () => { let var_0 = new nms_Packet253ServerAuthData(); nms_Packet253ServerAuthData__init_(var_0); return var_0; }, nms_Packet253ServerAuthData_readPacketData = ($this, $par1DataInput) => { let var$2, var$3, var$4; $this.$serverId = nms_Packet_readString($par1DataInput, 20); var$2 = ji_DataInputStream_readShort($par1DataInput); if (var$2 < 0) { var$3 = new ji_IOException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(3447); $rt_throw(var$3); } var$4 = $rt_createByteArray(var$2); ji_DataInputStream_readFully($par1DataInput, var$4, 0, var$4.data.length); var$2 = ji_DataInputStream_readShort($par1DataInput); if (var$2 >= 0) { var$4 = $rt_createByteArray(var$2); ji_DataInputStream_readFully($par1DataInput, var$4, 0, var$4.data.length); $this.$verifyToken0 = var$4; return; } var$3 = new ji_IOException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(3447); $rt_throw(var$3); }, nms_Packet253ServerAuthData_processPacket = ($this, $par1NetHandler) => { let var$2; var$2 = new nms_Packet252SharedKey; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$2.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2.$sharedSecret = $rt_createByteArray(0); var$2.$verifyToken = $rt_createByteArray(0); if (!$par1NetHandler.$disconnected) $par1NetHandler.$netManager.$addToSendQueue(var$2); }, nms_Packet253ServerAuthData_getPacketSize = $this => { return ((((2 + ($this.$serverId.$nativeString.length * 2 | 0) | 0) + 2 | 0) + 0 | 0) + 2 | 0) + $this.$verifyToken0.data.length | 0; }; function nms_Packet254ServerPing() { let a = this; nms_Packet.call(a); a.$readSuccessfully = 0; a.$field_140052_b = null; a.$field_140053_c = 0; } let nms_Packet254ServerPing_field_140051_d = 0, nms_Packet254ServerPing_$callClinit = () => { nms_Packet254ServerPing_$callClinit = $rt_eraseClinit(nms_Packet254ServerPing); nms_Packet254ServerPing__clinit_(); }, nms_Packet254ServerPing__init_ = $this => { nms_Packet254ServerPing_$callClinit(); nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet254ServerPing__init_0 = () => { let var_0 = new nms_Packet254ServerPing(); nms_Packet254ServerPing__init_(var_0); return var_0; }, nms_Packet254ServerPing_readPacketData = ($this, $par1DataInput) => { let var$2, $$je; a: { try { $this.$readSuccessfully = ji_DataInputStream_readByte($par1DataInput); b: { try { ji_DataInputStream_readByte($par1DataInput); nms_Packet_readString($par1DataInput, 255); ji_DataInputStream_readShort($par1DataInput); var$2 = ji_DataInputStream_readByte($par1DataInput); $this.$readSuccessfully = var$2; if (var$2 >= 73) { $this.$field_140052_b = nms_Packet_readString($par1DataInput, 255); $this.$field_140053_c = ji_DataInputStream_readInt($par1DataInput); } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } $this.$field_140052_b = $rt_s(18); } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } $this.$readSuccessfully = 0; $this.$field_140052_b = $rt_s(18); } }, nms_Packet254ServerPing_processPacket = ($this, $par1NetHandler) => { return; }, nms_Packet254ServerPing_getPacketSize = $this => { return (3 + ($this.$field_140052_b.$nativeString.length * 2 | 0) | 0) + 4 | 0; }, nms_Packet254ServerPing__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; var$1 = new nms_Packet250CustomPayload; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$1.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$2 = nms_Packet_packetClassToIdMap; var$3 = var$1.constructor; if (var$3 === null) var$1 = null; else { var$1 = var$3.classObject; if (var$1 === null) { var$1 = new jl_Class; var$1.$platformClass = var$3; var$3.classObject = var$1; } } if (var$1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = var$1; if (!var$3.$id$) var$3.$id$ = $rt_nextId(); var$4 = var$1.$id$; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$3 = var$2.$key; if (var$1 !== var$3 && !(var$1 !== var$3 ? 0 : 1) ? 0 : 1) break; } var$2 = var$2.$next3; } } nms_Packet254ServerPing_field_140051_d = (var$2 === null ? null : var$2.$value1).$value0; }; function nms_Packet255KickDisconnect() { nms_Packet.call(this); this.$reason = null; } let nms_Packet255KickDisconnect__init_ = $this => { nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $this.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); }, nms_Packet255KickDisconnect__init_0 = () => { let var_0 = new nms_Packet255KickDisconnect(); nms_Packet255KickDisconnect__init_(var_0); return var_0; }, nms_Packet255KickDisconnect_readPacketData = ($this, $par1DataInput) => { $this.$reason = nms_Packet_readString($par1DataInput, 256); }, nms_Packet255KickDisconnect_writePacketData = ($this, $par1DataOutput) => { let var$2; var$2 = $this.$reason; nms_Packet_$callClinit(); if (var$2.$nativeString.length <= 32767) { ji_DataOutputStream_writeShort($par1DataOutput, var$2.$nativeString.length); ji_DataOutputStream_writeChars($par1DataOutput, var$2); return; } var$2 = new ji_IOException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(588); $rt_throw(var$2); }, nms_Packet255KickDisconnect_processPacket = ($this, $par1NetHandler) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par1NetHandler = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_NetClientHandler_handleKickDisconnect($par1NetHandler, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NetHandler, $ptr); }, nms_Packet255KickDisconnect_getPacketSize = $this => { return $this.$reason.$nativeString.length; }; function ju_FormatFlagsConversionMismatchException() { let a = this; ju_IllegalFormatException.call(a); a.$flags3 = null; a.$conversion = 0; } function ju_IllegalFormatFlagsException() { ju_IllegalFormatException.call(this); this.$flags5 = null; } function ju_MissingFormatWidthException() { ju_IllegalFormatException.call(this); this.$formatSpecifier = null; } function nms_EnchantmentProtection() { nms_Enchantment.call(this); this.$protectionType = 0; } let nms_EnchantmentProtection_protectionName = null, nms_EnchantmentProtection_baseEnchantability = null, nms_EnchantmentProtection_levelEnchantability = null, nms_EnchantmentProtection_thresholdEnchantability = null, nms_EnchantmentProtection_getMinEnchantability = ($this, $par1) => { let var$2, var$3; var$2 = nms_EnchantmentProtection_baseEnchantability.data; var$3 = $this.$protectionType; return var$2[var$3] + $rt_imul($par1 - 1 | 0, nms_EnchantmentProtection_levelEnchantability.data[var$3]) | 0; }, nms_EnchantmentProtection_getMaxEnchantability = ($this, $par1) => { let var$2, var$3; var$2 = nms_EnchantmentProtection_baseEnchantability.data; var$3 = $this.$protectionType; return (var$2[var$3] + $rt_imul($par1 - 1 | 0, nms_EnchantmentProtection_levelEnchantability.data[var$3]) | 0) + nms_EnchantmentProtection_thresholdEnchantability.data[var$3] | 0; }, nms_EnchantmentProtection_getMaxLevel = $this => { return 4; }, nms_EnchantmentProtection_calcModifierDamage = ($this, $par1, $par2DamageSource) => { let $var3; if ($par2DamageSource.$isDamageAllowedInCreativeMode) return 0; $var3 = (6 + $rt_imul($par1, $par1) | 0) / 3.0; $par1 = $this.$protectionType; if (!$par1) { $var3 = $var3 * 0.75; $par1 = $var3 | 0; if ($var3 < $par1) $par1 = $par1 - 1 | 0; } else if ($par1 == 1 && $par2DamageSource.$fireDamage) { $var3 = $var3 * 1.25; $par1 = $var3 | 0; if ($var3 < $par1) $par1 = $par1 - 1 | 0; } else if ($par1 == 2 && $par2DamageSource === nms_DamageSource_fall) { $var3 = $var3 * 2.5; $par1 = $var3 | 0; if ($var3 < $par1) $par1 = $par1 - 1 | 0; } else if ($par1 == 3 && $par2DamageSource.$explosion) { $var3 = $var3 * 1.5; $par1 = $var3 | 0; if ($var3 < $par1) $par1 = $par1 - 1 | 0; } else if ($par1 == 4 && $par2DamageSource.$projectile) { $var3 = $var3 * 1.5; $par1 = $var3 | 0; if ($var3 < $par1) $par1 = $par1 - 1 | 0; } else $par1 = 0; return $par1; }, nms_EnchantmentProtection_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = nms_EnchantmentProtection_protectionName.data[$this.$protectionType]; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(3448)); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_EnchantmentProtection_canApplyTogether = ($this, $par1Enchantment) => { let var$2, var$3; if (!($par1Enchantment instanceof nms_EnchantmentProtection)) return $this === $par1Enchantment ? 0 : 1; var$2 = $par1Enchantment.$protectionType; var$3 = $this.$protectionType; return var$2 == var$3 ? 0 : var$3 != 2 && var$2 != 2 ? 0 : 1; }, nms_EnchantmentProtection__clinit_ = () => { nms_EnchantmentProtection_protectionName = $rt_wrapArray(jl_String, [$rt_s(914), $rt_s(2591), $rt_s(3449), $rt_s(2040), $rt_s(3450)]); nms_EnchantmentProtection_baseEnchantability = $rt_createIntArrayFromData([1, 10, 5, 5, 3]); nms_EnchantmentProtection_levelEnchantability = $rt_createIntArrayFromData([11, 8, 6, 8, 6]); nms_EnchantmentProtection_thresholdEnchantability = $rt_createIntArrayFromData([20, 12, 10, 12, 15]); }, nms_EnchantmentOxygen = $rt_classWithoutFields(nms_Enchantment), nms_EnchantmentOxygen_getMinEnchantability = ($this, $par1) => { return 10 * $par1 | 0; }, nms_EnchantmentOxygen_getMaxEnchantability = ($this, $par1) => { return (10 * $par1 | 0) + 30 | 0; }, nms_EnchantmentOxygen_getMaxLevel = $this => { return 3; }, nms_EnchantmentWaterWorker = $rt_classWithoutFields(nms_Enchantment), nms_EnchantmentWaterWorker_getMinEnchantability = ($this, $par1) => { return 1; }, nms_EnchantmentWaterWorker_getMaxEnchantability = ($this, $par1) => { return 41; }, nms_EnchantmentWaterWorker_getMaxLevel = $this => { return 1; }, nms_EnchantmentThorns = $rt_classWithoutFields(nms_Enchantment), nms_EnchantmentThorns_getMinEnchantability = ($this, $par1) => { return 10 + (20 * ($par1 - 1 | 0) | 0) | 0; }, nms_EnchantmentThorns_getMaxEnchantability = ($this, $par1) => { return (1 + ($par1 * 10 | 0) | 0) + 50 | 0; }, nms_EnchantmentThorns_getMaxLevel = $this => { return 3; }, nms_EnchantmentThorns_canApply = ($this, $par1ItemStack) => { let var$2, var$3; nms_Item_$callClinit(); var$2 = nms_Item_itemsList.data; var$3 = $par1ItemStack.$itemID; return var$2[var$3] instanceof nms_ItemArmor ? 1 : nms_EnumEnchantmentType_canEnchantItem($this.$type, var$2[var$3]); }, nms_EnchantmentThorns_func_92096_a = ($par0Entity, $par1EntityLivingBase, $par2Random) => { let var$4, var$5, $var3, var$7, var$8, var$9, var$10, $var4, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var4 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par2Random = $thread.pop();$par1EntityLivingBase = $thread.pop();$par0Entity = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EnchantmentHelper_$callClinit(); nms_Enchantment_$callClinit(); var$4 = nms_Enchantment_thorns.$effectId; var$5 = $par1EntityLivingBase.$getLastActiveItems(); if (var$5 === null) $var3 = 0; else { var$5 = var$5.data; $var3 = 0; var$7 = var$5.length; var$8 = 0; while (var$8 < var$7) { var$9 = nms_EnchantmentHelper_getEnchantmentLevel(var$4, var$5[var$8]); if (var$9 > $var3) $var3 = var$9; var$8 = var$8 + 1 | 0; } } var$10 = nms_Enchantment_thorns; var$5 = ($par1EntityLivingBase.$getLastActiveItems()).data; var$4 = var$5.length; var$7 = 0; a: { while (true) { if (var$7 >= var$4) { $var4 = null; break a; } $var4 = var$5[var$7]; if ($var4 !== null && nms_EnchantmentHelper_getEnchantmentLevel(var$10.$effectId, $var4) > 0) break; var$7 = var$7 + 1 | 0; } } if ($var3 <= 0) var$4 = 0; else { var$12 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$12; var$4 = Long_lo(Long_shru(var$12, 24)) / 1.6777216E7 >= 0.15000000596046448 * $var3 ? 0 : 1; } if (!var$4) { if ($var4 === null) return; var$4 = 1; $ptr = 1; continue main; } var$10 = new nms_EntityDamageSource; var$10.$hungerDamage = 0.30000001192092896; var$10.$damageType = $rt_s(3431); var$10.$damageSourceEntity = $par1EntityLivingBase; var$10.$magicDamage = 1; if ($var3 > 10) var$4 = $var3 - 10 | 0; else { var$12 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$12; var$4 = 1 + Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$12, 17)))), 31)) | 0; } var$13 = var$4; $ptr = 2; continue main; case 1: nms_ItemStack_damageItem($var4, var$4, $par1EntityLivingBase); if ($rt_suspending()) { break main; } return; case 2: $par0Entity.$attackEntityFrom(var$10, var$13); if ($rt_suspending()) { break main; } $par2Random = $rt_s(3451); var$13 = 0.5; var$14 = 1.0; $ptr = 3; case 3: $par0Entity.$playSound0($par2Random, var$13, var$14); if ($rt_suspending()) { break main; } if ($var4 === null) return; var$4 = 3; $ptr = 4; case 4: nms_ItemStack_damageItem($var4, var$4, $par1EntityLivingBase); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0Entity, $par1EntityLivingBase, $par2Random, var$4, var$5, $var3, var$7, var$8, var$9, var$10, $var4, var$12, var$13, var$14, $ptr); }; function nms_EnchantmentDamage() { nms_Enchantment.call(this); this.$damageType0 = 0; } let nms_EnchantmentDamage_protectionName = null, nms_EnchantmentDamage_baseEnchantability = null, nms_EnchantmentDamage_levelEnchantability = null, nms_EnchantmentDamage_thresholdEnchantability = null, nms_EnchantmentDamage_getMinEnchantability = ($this, $par1) => { let var$2, var$3; var$2 = nms_EnchantmentDamage_baseEnchantability.data; var$3 = $this.$damageType0; return var$2[var$3] + $rt_imul($par1 - 1 | 0, nms_EnchantmentDamage_levelEnchantability.data[var$3]) | 0; }, nms_EnchantmentDamage_getMaxEnchantability = ($this, $par1) => { let var$2, var$3; var$2 = nms_EnchantmentDamage_baseEnchantability.data; var$3 = $this.$damageType0; return (var$2[var$3] + $rt_imul($par1 - 1 | 0, nms_EnchantmentDamage_levelEnchantability.data[var$3]) | 0) + nms_EnchantmentDamage_thresholdEnchantability.data[var$3] | 0; }, nms_EnchantmentDamage_getMaxLevel = $this => { return 5; }, nms_EnchantmentDamage_calcModifierLiving = ($this, $par1, $par2EntityLivingBase) => { let var$3; var$3 = $this.$damageType0; return !var$3 ? $par1 * 1.25 : var$3 == 1 && $par2EntityLivingBase.$getCreatureAttribute() === nms_EnumCreatureAttribute_UNDEAD ? $par1 * 2.5 : $this.$damageType0 == 2 && $par2EntityLivingBase.$getCreatureAttribute() === nms_EnumCreatureAttribute_ARTHROPOD ? $par1 * 2.5 : 0.0; }, nms_EnchantmentDamage_getName = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = nms_EnchantmentDamage_protectionName.data[$this.$damageType0]; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(3452)); var$3 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$3, var$1); var$1 = new jl_String; var$4 = var$2.$buffer; var$5 = var$4.data; var$6 = var$2.$length0; var$7 = var$5.length; if (var$6 >= 0 && var$6 <= (var$7 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$4.data, 0, var$6); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_EnchantmentDamage_canApplyTogether = ($this, $par1Enchantment) => { return $par1Enchantment instanceof nms_EnchantmentDamage ? 0 : 1; }, nms_EnchantmentDamage_canApply = ($this, $par1ItemStack) => { let var$2, var$3; nms_Item_$callClinit(); var$2 = nms_Item_itemsList.data; var$3 = $par1ItemStack.$itemID; return var$2[var$3] instanceof nms_ItemAxe ? 1 : nms_EnumEnchantmentType_canEnchantItem($this.$type, var$2[var$3]); }, nms_EnchantmentDamage__clinit_ = () => { nms_EnchantmentDamage_protectionName = $rt_wrapArray(jl_String, [$rt_s(914), $rt_s(3453), $rt_s(3454)]); nms_EnchantmentDamage_baseEnchantability = $rt_createIntArrayFromData([1, 5, 5]); nms_EnchantmentDamage_levelEnchantability = $rt_createIntArrayFromData([11, 8, 8]); nms_EnchantmentDamage_thresholdEnchantability = $rt_createIntArrayFromData([20, 20, 20]); }, nms_EnchantmentKnockback = $rt_classWithoutFields(nms_Enchantment), nms_EnchantmentKnockback_getMinEnchantability = ($this, $par1) => { return 5 + (20 * ($par1 - 1 | 0) | 0) | 0; }, nms_EnchantmentKnockback_getMaxEnchantability = ($this, $par1) => { return (1 + ($par1 * 10 | 0) | 0) + 50 | 0; }, nms_EnchantmentKnockback_getMaxLevel = $this => { return 2; }, nms_EnchantmentFireAspect = $rt_classWithoutFields(nms_Enchantment), nms_EnchantmentFireAspect_getMinEnchantability = ($this, $par1) => { return 10 + (20 * ($par1 - 1 | 0) | 0) | 0; }, nms_EnchantmentFireAspect_getMaxEnchantability = ($this, $par1) => { return (1 + ($par1 * 10 | 0) | 0) + 50 | 0; }, nms_EnchantmentFireAspect_getMaxLevel = $this => { return 2; }, nms_EnchantmentLootBonus = $rt_classWithoutFields(nms_Enchantment), nms_EnchantmentLootBonus_getMinEnchantability = ($this, $par1) => { return 15 + (($par1 - 1 | 0) * 9 | 0) | 0; }, nms_EnchantmentLootBonus_getMaxEnchantability = ($this, $par1) => { return (1 + ($par1 * 10 | 0) | 0) + 50 | 0; }, nms_EnchantmentLootBonus_getMaxLevel = $this => { return 3; }, nms_EnchantmentLootBonus_canApplyTogether = ($this, $par1Enchantment) => { let var$2; var$2 = $this === $par1Enchantment ? 0 : 1; a: { if (var$2) { var$2 = $par1Enchantment.$effectId; nms_Enchantment_$callClinit(); if (var$2 != nms_Enchantment_silkTouch.$effectId) { var$2 = 1; break a; } } var$2 = 0; } return var$2; }, nms_EnchantmentDigging = $rt_classWithoutFields(nms_Enchantment), nms_EnchantmentDigging_getMinEnchantability = ($this, $par1) => { return 1 + (10 * ($par1 - 1 | 0) | 0) | 0; }, nms_EnchantmentDigging_getMaxEnchantability = ($this, $par1) => { return (1 + ($par1 * 10 | 0) | 0) + 50 | 0; }, nms_EnchantmentDigging_getMaxLevel = $this => { return 5; }, nms_EnchantmentDigging_canApply = ($this, $par1ItemStack) => { let var$2, var$3; nms_Item_$callClinit(); var$2 = nms_Item_itemsList.data; var$3 = $par1ItemStack.$itemID; return var$2[var$3].$itemID0 == nms_Item_shears.$itemID0 ? 1 : nms_EnumEnchantmentType_canEnchantItem($this.$type, var$2[var$3]); }, nms_EnchantmentUntouching = $rt_classWithoutFields(nms_Enchantment), nms_EnchantmentUntouching_getMinEnchantability = ($this, $par1) => { return 15; }, nms_EnchantmentUntouching_getMaxEnchantability = ($this, $par1) => { return (1 + ($par1 * 10 | 0) | 0) + 50 | 0; }, nms_EnchantmentUntouching_getMaxLevel = $this => { return 1; }, nms_EnchantmentUntouching_canApplyTogether = ($this, $par1Enchantment) => { let var$2; var$2 = $this === $par1Enchantment ? 0 : 1; a: { if (var$2) { var$2 = $par1Enchantment.$effectId; nms_Enchantment_$callClinit(); if (var$2 != nms_Enchantment_fortune.$effectId) { var$2 = 1; break a; } } var$2 = 0; } return var$2; }, nms_EnchantmentUntouching_canApply = ($this, $par1ItemStack) => { let var$2, var$3; nms_Item_$callClinit(); var$2 = nms_Item_itemsList.data; var$3 = $par1ItemStack.$itemID; return var$2[var$3].$itemID0 == nms_Item_shears.$itemID0 ? 1 : nms_EnumEnchantmentType_canEnchantItem($this.$type, var$2[var$3]); }, nms_EnchantmentDurability = $rt_classWithoutFields(nms_Enchantment), nms_EnchantmentDurability_getMinEnchantability = ($this, $par1) => { return 5 + (($par1 - 1 | 0) * 8 | 0) | 0; }, nms_EnchantmentDurability_getMaxEnchantability = ($this, $par1) => { return (1 + ($par1 * 10 | 0) | 0) + 50 | 0; }, nms_EnchantmentDurability_getMaxLevel = $this => { return 3; }, nms_EnchantmentDurability_canApply = ($this, $par1ItemStack) => { let var$2, var$3; nms_Item_$callClinit(); var$2 = nms_Item_itemsList.data; var$3 = $par1ItemStack.$itemID; return (var$2[var$3].$maxDamage <= 0 ? 0 : 1) ? 1 : nms_EnumEnchantmentType_canEnchantItem($this.$type, var$2[var$3]); }, nms_EnchantmentArrowDamage = $rt_classWithoutFields(nms_Enchantment), nms_EnchantmentArrowDamage_getMinEnchantability = ($this, $par1) => { return 1 + (($par1 - 1 | 0) * 10 | 0) | 0; }, nms_EnchantmentArrowDamage_getMaxEnchantability = ($this, $par1) => { return (1 + (($par1 - 1 | 0) * 10 | 0) | 0) + 15 | 0; }, nms_EnchantmentArrowDamage_getMaxLevel = $this => { return 5; }, nms_EnchantmentArrowKnockback = $rt_classWithoutFields(nms_Enchantment), nms_EnchantmentArrowKnockback_getMinEnchantability = ($this, $par1) => { return 12 + (($par1 - 1 | 0) * 20 | 0) | 0; }, nms_EnchantmentArrowKnockback_getMaxEnchantability = ($this, $par1) => { return (12 + (($par1 - 1 | 0) * 20 | 0) | 0) + 25 | 0; }, nms_EnchantmentArrowKnockback_getMaxLevel = $this => { return 2; }, nms_EnchantmentArrowFire = $rt_classWithoutFields(nms_Enchantment); let nms_EnchantmentArrowFire_getMinEnchantability = ($this, $par1) => { return 20; }, nms_EnchantmentArrowFire_getMaxEnchantability = ($this, $par1) => { return 50; }, nms_EnchantmentArrowFire_getMaxLevel = $this => { return 1; }, nms_EnchantmentArrowInfinite = $rt_classWithoutFields(nms_Enchantment), nms_EnchantmentArrowInfinite_getMinEnchantability = ($this, $par1) => { return 20; }, nms_EnchantmentArrowInfinite_getMaxEnchantability = ($this, $par1) => { return 50; }, nms_EnchantmentArrowInfinite_getMaxLevel = $this => { return 1; }; function nlea_EaglerAdapterImpl2$20() { jl_Object.call(this); this.$val$cb7 = null; } let nlea_EaglerAdapterImpl2$20_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_sockIsConnecting = 0; nlea_EaglerAdapterImpl2_sockIsAlive = 0; nlea_EaglerAdapterImpl2_sockIsConnected = 1; var$1 = nlea_EaglerAdapterImpl2_readPackets; var$1.$firstEntry = null; var$1.$lastEntry = null; var$1.$size2 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$0.$val$cb7.$realAsyncCallback.$complete($rt_s(3455)); }; function nlea_EaglerAdapterImpl2$21() { jl_Object.call(this); this.$val$cb1 = null; } let nlea_EaglerAdapterImpl2$21_handleEvent = ($this, $evt) => { let var$2, var$3, var$4, var$5, var$6, $b; $evt = null; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_sock = $evt; if (!nlea_EaglerAdapterImpl2_sockIsConnecting) { if (!nlea_EaglerAdapterImpl2_sockIsAlive && nlea_EaglerAdapterImpl2_rateLimitStatus === null) { var$2 = nlea_EaglerAdapterImpl2_blockedAddresses; $evt = nlea_EaglerAdapterImpl2_currentSockURI; var$2 = var$2.$backingMap; if ($evt === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!$evt.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $evt.$nativeString.length) break a; $evt.$hashCode1 = (31 * $evt.$hashCode1 | 0) + $evt.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $evt.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($evt !== var$6) { if ($evt === var$6) $b = 1; else if (!(var$6 instanceof jl_String)) $b = 0; else { var$6 = var$6; $b = $evt.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$b) { $b = 0; break b; } } $b = 1; } if ($b) break; } var$2 = var$2.$next3; } } if (var$2 === null ? 0 : 1) nlea_EaglerAdapterImpl2_rateLimitStatus = nlea_EaglerAdapterImpl2$RateLimit_LOCKED; else { $evt = nlea_EaglerAdapterImpl2_rateLimitedAddresses; var$2 = nlea_EaglerAdapterImpl2_currentSockURI; $evt = $evt.$backingMap; if (var$2 === null) { $evt = $evt.$elementData.data[0]; while ($evt !== null && $evt.$key !== null) { $evt = $evt.$next3; } } else { c: { if (!var$2.$hashCode1) { $b = 0; while (true) { if ($b >= var$2.$nativeString.length) break c; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt($b) | 0; $b = $b + 1 | 0; } } } var$4 = var$2.$hashCode1; var$5 = $evt.$elementData.data; $evt = var$5[var$4 & (var$5.length - 1 | 0)]; while ($evt !== null) { if ($evt.$origKeyHash == var$4) { d: { var$6 = $evt.$key; if (var$2 !== var$6) { if (var$2 === var$6) $b = 1; else if (!(var$6 instanceof jl_String)) $b = 0; else { var$6 = var$6; $b = var$2.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$b) { $b = 0; break d; } } $b = 1; } if ($b) break; } $evt = $evt.$next3; } } if ($evt === null ? 0 : 1) nlea_EaglerAdapterImpl2_rateLimitStatus = nlea_EaglerAdapterImpl2$RateLimit_BLOCKED; } } } else if (nlea_EaglerAdapterImpl2_rateLimitStatus === null) { $evt = nlea_EaglerAdapterImpl2_blockedAddresses; var$2 = nlea_EaglerAdapterImpl2_currentSockURI; $evt = $evt.$backingMap; if (var$2 === null) { $evt = $evt.$elementData.data[0]; while ($evt !== null && $evt.$key !== null) { $evt = $evt.$next3; } } else { e: { if (!var$2.$hashCode1) { $b = 0; while (true) { if ($b >= var$2.$nativeString.length) break e; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt($b) | 0; $b = $b + 1 | 0; } } } $b = var$2.$hashCode1; var$5 = $evt.$elementData.data; $evt = var$5[$b & (var$5.length - 1 | 0)]; while ($evt !== null) { if ($evt.$origKeyHash == $b) { f: { var$6 = $evt.$key; if (var$2 !== var$6) { if (var$2 === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = var$2.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } $evt = $evt.$next3; } } if ($evt === null ? 0 : 1) nlea_EaglerAdapterImpl2_rateLimitStatus = nlea_EaglerAdapterImpl2$RateLimit_LOCKED; else { $evt = nlea_EaglerAdapterImpl2_rateLimitedAddresses; var$2 = nlea_EaglerAdapterImpl2_currentSockURI; $evt = $evt.$backingMap; if (var$2 === null) { $evt = $evt.$elementData.data[0]; while ($evt !== null && $evt.$key !== null) { $evt = $evt.$next3; } } else { g: { if (!var$2.$hashCode1) { $b = 0; while (true) { if ($b >= var$2.$nativeString.length) break g; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt($b) | 0; $b = $b + 1 | 0; } } } var$4 = var$2.$hashCode1; var$5 = $evt.$elementData.data; $evt = var$5[var$4 & (var$5.length - 1 | 0)]; while ($evt !== null) { if ($evt.$origKeyHash == var$4) { h: { var$6 = $evt.$key; if (var$2 !== var$6) { if (var$2 === var$6) $b = 1; else if (!(var$6 instanceof jl_String)) $b = 0; else { var$6 = var$6; $b = var$2.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$b) { $b = 0; break h; } } $b = 1; } if ($b) break; } $evt = $evt.$next3; } } if (!($evt === null ? 0 : 1)) nlea_EaglerAdapterImpl2_rateLimitStatus = nlea_EaglerAdapterImpl2$RateLimit_FAILED; else nlea_EaglerAdapterImpl2_rateLimitStatus = nlea_EaglerAdapterImpl2$RateLimit_FAILED_POSSIBLY_LOCKED; } } $b = nlea_EaglerAdapterImpl2_sockIsConnecting; nlea_EaglerAdapterImpl2_sockIsConnecting = 0; nlea_EaglerAdapterImpl2_sockIsConnected = 0; nlea_EaglerAdapterImpl2_sockIsAlive = 0; if ($b) $this.$val$cb1.$realAsyncCallback.$complete($rt_s(3418)); }, nlea_EaglerAdapterImpl2$21_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2$21_handleEvent(var$0, var$1); }, nlea_EaglerAdapterImpl2$22 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$22__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$22__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$22(); nlea_EaglerAdapterImpl2$22__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$22_handleEvent = ($this, $evt) => { let $stat, var$3, var$4; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_sockIsAlive = 1; if (!(typeof $evt.data === "string" ? 1 : 0)) { $stat = nlea_EaglerAdapterImpl2_readPackets; var$3 = nleat_TeaVMUtils_wrapByteArrayBuffer($evt.data); var$4 = $stat.$size2; if (var$4 >= 0) { ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($stat, var$4), var$3); return; } $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; $rt_throw($evt); } $stat = $rt_str($evt.data); if (jl_String_equalsIgnoreCase($stat, $rt_s(3422))) { if (nlea_EaglerAdapterImpl2_rateLimitStatus === null) nlea_EaglerAdapterImpl2_rateLimitStatus = nlea_EaglerAdapterImpl2$RateLimit_BLOCKED; $evt = nlea_EaglerAdapterImpl2_rateLimitedAddresses; $stat = nlea_EaglerAdapterImpl2_currentSockURI; ju_HashMap_putImpl($evt.$backingMap, $stat, $evt); } else if (jl_String_equalsIgnoreCase($stat, $rt_s(3424))) { if (nlea_EaglerAdapterImpl2_rateLimitStatus === null) nlea_EaglerAdapterImpl2_rateLimitStatus = nlea_EaglerAdapterImpl2$RateLimit_NOW_LOCKED; $evt = nlea_EaglerAdapterImpl2_rateLimitedAddresses; $stat = nlea_EaglerAdapterImpl2_currentSockURI; ju_HashMap_putImpl($evt.$backingMap, $stat, $evt); $evt = nlea_EaglerAdapterImpl2_blockedAddresses; $stat = nlea_EaglerAdapterImpl2_currentSockURI; ju_HashMap_putImpl($evt.$backingMap, $stat, $evt); } nlea_EaglerAdapterImpl2_sockIsConnecting = 0; nlea_EaglerAdapterImpl2_sockIsConnected = 0; nlea_EaglerAdapterImpl2_sock.close(); }, nlea_EaglerAdapterImpl2$22_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2$22_handleEvent(var$0, var$1); }, otcir_JSCallable = $rt_classWithoutFields(0), oti_Structure = $rt_classWithoutFields(), oti_Structure__init_ = $this => { return; }, oti_Structure__init_0 = () => { let var_0 = new oti_Structure(); oti_Structure__init_(var_0); return var_0; }, otr_RuntimeObject = $rt_classWithoutFields(oti_Structure), otr_RuntimeObject__init_ = $this => { return; }, otr_RuntimeObject__init_0 = () => { let var_0 = new otr_RuntimeObject(); otr_RuntimeObject__init_(var_0); return var_0; }; function nms_DamageSource() { let a = this; jl_Object.call(a); a.$isUnblockable = 0; a.$isDamageAllowedInCreativeMode = 0; a.$hungerDamage = 0.0; a.$fireDamage = 0; a.$projectile = 0; a.$difficultyScaled = 0; a.$magicDamage = 0; a.$explosion = 0; a.$damageType = null; } let nms_DamageSource_inFire = null, nms_DamageSource_onFire = null, nms_DamageSource_lava = null, nms_DamageSource_inWall = null, nms_DamageSource_drown = null, nms_DamageSource_starve = null, nms_DamageSource_cactus = null, nms_DamageSource_fall = null, nms_DamageSource_outOfWorld = null, nms_DamageSource_generic = null, nms_DamageSource_magic = null, nms_DamageSource_wither = null, nms_DamageSource_anvil = null, nms_DamageSource_fallingBlock = null, nms_DamageSource_isProjectile = $this => { return $this.$projectile; }, nms_DamageSource_setProjectile = $this => { $this.$projectile = 1; return $this; }, nms_DamageSource_isExplosion = $this => { return $this.$explosion; }, nms_DamageSource_setExplosion = $this => { $this.$explosion = 1; return $this; }, nms_DamageSource_isUnblockable = $this => { return $this.$isUnblockable; }, nms_DamageSource_getHungerDamage = $this => { return $this.$hungerDamage; }, nms_DamageSource_canHarmInCreative = $this => { return $this.$isDamageAllowedInCreativeMode; }, nms_DamageSource_getSourceOfDamage = $this => { return $this.$getEntity(); }, nms_DamageSource_getEntity = $this => { return null; }, nms_DamageSource_setDamageAllowedInCreativeMode = $this => { $this.$isDamageAllowedInCreativeMode = 1; return $this; }, nms_DamageSource_setFireDamage = $this => { $this.$fireDamage = 1; return $this; }, nms_DamageSource_isFireDamage = $this => { return $this.$fireDamage; }, nms_DamageSource_getDamageType = $this => { return $this.$damageType; }, nms_DamageSource_isMagicDamage = $this => { return $this.$magicDamage; }, nms_DamageSource_setMagicDamage = $this => { $this.$magicDamage = 1; return $this; }, nms_DamageSource__clinit_ = () => { let var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(3456); var$1.$fireDamage = 1; nms_DamageSource_inFire = var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(2386); var$1.$isUnblockable = 1; var$1.$hungerDamage = 0.0; var$1.$fireDamage = 1; nms_DamageSource_onFire = var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(1486); var$1.$fireDamage = 1; nms_DamageSource_lava = var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(3457); var$1.$isUnblockable = 1; var$1.$hungerDamage = 0.0; nms_DamageSource_inWall = var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(3458); var$1.$isUnblockable = 1; var$1.$hungerDamage = 0.0; nms_DamageSource_drown = var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(3459); var$1.$isUnblockable = 1; var$1.$hungerDamage = 0.0; nms_DamageSource_starve = var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(2619); nms_DamageSource_cactus = var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(3449); var$1.$isUnblockable = 1; var$1.$hungerDamage = 0.0; nms_DamageSource_fall = var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(3460); var$1.$isUnblockable = 1; var$1.$hungerDamage = 0.0; var$1.$isDamageAllowedInCreativeMode = 1; nms_DamageSource_outOfWorld = var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(400); var$1.$isUnblockable = 1; var$1.$hungerDamage = 0.0; nms_DamageSource_generic = var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(3461); var$1.$isUnblockable = 1; var$1.$hungerDamage = 0.0; var$1.$magicDamage = 1; nms_DamageSource_magic = var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(2972); var$1.$isUnblockable = 1; var$1.$hungerDamage = 0.0; nms_DamageSource_wither = var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(2534); nms_DamageSource_anvil = var$1; var$1 = new nms_DamageSource; var$1.$hungerDamage = 0.30000001192092896; var$1.$damageType = $rt_s(3462); nms_DamageSource_fallingBlock = var$1; }, jtz_ZoneRules = $rt_classWithoutFields(), jt_ParsePosition = $rt_classWithoutFields(), jtz_ZoneOffsetTransitionRule = $rt_classWithoutFields(), jt_ZoneId = $rt_classWithoutFields(), jtt_TemporalAccessor = $rt_classWithoutFields(0), jtt_TemporalAdjuster = $rt_classWithoutFields(0), jt_ZoneOffset = $rt_classWithoutFields(jt_ZoneId), jur_RandomGenerator = $rt_classWithoutFields(0), ju_Random = $rt_classWithoutFields(), ju_Random__init_ = $this => { return; }, ju_Random__init_0 = () => { let var_0 = new ju_Random(); ju_Random__init_(var_0); return var_0; }, nms_IPosition = $rt_classWithoutFields(0), nms_ILocation = $rt_classWithoutFields(0), nms_ILocatableSource = $rt_classWithoutFields(0), nms_IBlockSource = $rt_classWithoutFields(0), otjde_EventTarget = $rt_classWithoutFields(0), otjw_AudioNode = $rt_classWithoutFields(0), otjw_AudioBufferSourceNode = $rt_classWithoutFields(0), otjw_PannerNode = $rt_classWithoutFields(0), otjw_GainNode = $rt_classWithoutFields(0); function nms_InventoryCrafting() { let a = this; jl_Object.call(a); a.$stackList = null; a.$inventoryWidth = 0; a.$eventHandler = null; } let nms_InventoryCrafting_getStackInSlot = ($this, $par1) => { let var$2; var$2 = $this.$stackList.data; return $par1 < var$2.length ? var$2[$par1] : null; }, nms_InventoryCrafting_decrStackSize = ($this, $par1, $par2) => { let var$3, $var3, var$5, $var3_0, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; var$3 = $this.$stackList.data; if (var$3[$par1] === null) return null; if (var$3[$par1].$stackSize <= $par2) { $var3 = var$3[$par1]; var$3[$par1] = null; $this.$eventHandler.$onCraftMatrixChanged($this); return $var3; } var$5 = var$3[$par1]; $var3_0 = new nms_ItemStack; var$7 = var$5.$itemID; var$8 = var$5.$itemDamage; nms_ItemStack_$callClinit(); $var3_0.$itemID = var$7; $var3_0.$stackSize = $par2; $var3_0.$itemDamage = var$8; if (var$8 < 0) $var3_0.$itemDamage = 0; $var3 = var$5.$stackTagCompound; if ($var3 !== null) { var$9 = new nms_NBTTagCompound; var$10 = $var3.$name; if (var$10 === null) var$10 = $rt_s(18); var$9.$name = var$10; var$10 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); var$10.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$3 = var$11.data; var$10.$elementData = var$11; var$10.$loadFactor = 0.75; var$10.$threshold = var$3.length * 0.75 | 0; var$9.$tagMap = var$10; var$12 = $var3.$tagMap; if (var$12.$cachedKeySet === null) { var$10 = new ju_HashMap$1; var$10.$this$0 = var$12; var$12.$cachedKeySet = var$10; } var$13 = var$12.$cachedKeySet.$iterator(); while (var$13.$hasNext()) { var$14 = var$13.$next(); var$10 = $var3.$tagMap; if (var$14 === null) { var$15 = var$10.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { a: { if (!var$14.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$14.$nativeString.length) break a; var$14.$hashCode1 = (31 * var$14.$hashCode1 | 0) + var$14.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$8 = var$14.$hashCode1; var$3 = var$10.$elementData.data; var$15 = var$3[var$8 & (var$3.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$8) { b: { var$10 = var$15.$key; if (var$14 !== var$10) { if (var$14 === var$10) var$7 = 1; else if (!(var$10 instanceof jl_String)) var$7 = 0; else { var$10 = var$10; var$7 = var$14.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$15 = var$15.$next3; } } var$10 = var$15 === null ? null : var$15.$value1; var$10 = var$10.$copy(); var$12 = var$9.$tagMap; if (var$14 !== null) var$10.$name = var$14; else var$10.$name = $rt_s(18); ju_HashMap_putImpl(var$12, var$14, var$10); } $var3_0.$stackTagCompound = var$9; } var$5.$stackSize = var$5.$stackSize - $par2 | 0; var$3 = $this.$stackList.data; if (!var$3[$par1].$stackSize) var$3[$par1] = null; $this.$eventHandler.$onCraftMatrixChanged($this); return $var3_0; }, nms_InventoryCrafting_setInventorySlotContents = ($this, $par1, $par2ItemStack) => { $this.$stackList.data[$par1] = $par2ItemStack; $this.$eventHandler.$onCraftMatrixChanged($this); }, nms_InventoryCrafting_getInventoryStackLimit = $this => { return 64; }, nms_InventoryCrafting_onInventoryChanged = $this => { return; }, nle_RelayQuery$VersionMismatch = $rt_classWithoutFields(jl_Enum), nle_RelayQuery$VersionMismatch_COMPATIBLE = null, nle_RelayQuery$VersionMismatch_CLIENT_OUTDATED = null, nle_RelayQuery$VersionMismatch_RELAY_OUTDATED = null, nle_RelayQuery$VersionMismatch_UNKNOWN = null, nle_RelayQuery$VersionMismatch_$VALUES = null, nle_RelayQuery$VersionMismatch__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_RelayQuery$VersionMismatch; var$1.$name0 = $rt_s(3463); var$1.$ordinal = 0; nle_RelayQuery$VersionMismatch_COMPATIBLE = var$1; var$2 = new nle_RelayQuery$VersionMismatch; var$2.$name0 = $rt_s(3464); var$2.$ordinal = 1; nle_RelayQuery$VersionMismatch_CLIENT_OUTDATED = var$2; var$3 = new nle_RelayQuery$VersionMismatch; var$3.$name0 = $rt_s(3465); var$3.$ordinal = 2; nle_RelayQuery$VersionMismatch_RELAY_OUTDATED = var$3; var$4 = new nle_RelayQuery$VersionMismatch; var$4.$name0 = $rt_s(541); var$4.$ordinal = 3; nle_RelayQuery$VersionMismatch_UNKNOWN = var$4; nle_RelayQuery$VersionMismatch_$VALUES = $rt_wrapArray(nle_RelayQuery$VersionMismatch, [var$1, var$2, var$3, var$4]); }, nle_RelayServerSocket = $rt_classWithoutFields(0); function nms_EnumRarity() { let a = this; jl_Enum.call(a); a.$rarityColor = 0; a.$rarityName = null; } let nms_EnumRarity_common = null, nms_EnumRarity_uncommon = null, nms_EnumRarity_rare = null, nms_EnumRarity_epic = null, nms_EnumRarity_$VALUES = null, nms_EnumRarity__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nms_EnumRarity; var$1.$name0 = $rt_s(3466); var$1.$ordinal = 0; var$1.$rarityColor = 15; var$1.$rarityName = $rt_s(3467); nms_EnumRarity_common = var$1; var$2 = new nms_EnumRarity; var$2.$name0 = $rt_s(3468); var$2.$ordinal = 1; var$2.$rarityColor = 14; var$2.$rarityName = $rt_s(3469); nms_EnumRarity_uncommon = var$2; var$3 = new nms_EnumRarity; var$3.$name0 = $rt_s(3470); var$3.$ordinal = 2; var$3.$rarityColor = 11; var$3.$rarityName = $rt_s(3471); nms_EnumRarity_rare = var$3; var$4 = new nms_EnumRarity; var$4.$name0 = $rt_s(3472); var$4.$ordinal = 3; var$4.$rarityColor = 13; var$4.$rarityName = $rt_s(3473); nms_EnumRarity_epic = var$4; nms_EnumRarity_$VALUES = $rt_wrapArray(nms_EnumRarity, [var$1, var$2, var$3, var$4]); }, nms_EnumAction = $rt_classWithoutFields(jl_Enum), nms_EnumAction_none = null, nms_EnumAction_eat = null, nms_EnumAction_drink = null, nms_EnumAction_block = null, nms_EnumAction_bow = null, nms_EnumAction_$VALUES = null, nms_EnumAction__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; var$1 = new nms_EnumAction; var$1.$name0 = $rt_s(1946); var$1.$ordinal = 0; nms_EnumAction_none = var$1; var$2 = new nms_EnumAction; var$2.$name0 = $rt_s(3474); var$2.$ordinal = 1; nms_EnumAction_eat = var$2; var$3 = new nms_EnumAction; var$3.$name0 = $rt_s(3475); var$3.$ordinal = 2; nms_EnumAction_drink = var$3; var$4 = new nms_EnumAction; var$4.$name0 = $rt_s(3476); var$4.$ordinal = 3; nms_EnumAction_block = var$4; var$5 = new nms_EnumAction; var$5.$name0 = $rt_s(2096); var$5.$ordinal = 4; nms_EnumAction_bow = var$5; nms_EnumAction_$VALUES = $rt_wrapArray(nms_EnumAction, [var$1, var$2, var$3, var$4, var$5]); }, oj_JSONPointer = $rt_classWithoutFields(); function nle_ServerQuery$QueryResponse() { let a = this; jl_Object.call(a); a.$responseType = null; a.$responseData = null; a.$serverVersion = null; a.$serverBrand = null; a.$serverName2 = null; a.$serverTime = Long_ZERO; a.$clientTime = Long_ZERO; a.$serverCracked = 0; a.$rateLimitStatus1 = null; a.$rateLimitIsTCP = 0; a.$ping1 = Long_ZERO; } let nle_ServerQuery$QueryResponse__init_1 = ($this, $obj, $ping) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $$je; a: { var$3 = $obj.$map; if (!$rt_s(3477).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3477).$nativeString.length) break a; $rt_s(3477).$hashCode1 = (31 * $rt_s(3477).$hashCode1 | 0) + $rt_s(3477).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(3477).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { b: { var$7 = var$3.$key; if ($rt_s(3477) !== var$7) { if ($rt_s(3477) !== var$7) { if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(3477).$nativeString !== var$7.$nativeString ? 0 : 1; } } else var$4 = 1; if (!var$4) { var$4 = 0; break b; } } var$4 = 1; } if (var$4) break; } var$3 = var$3.$next3; } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { $obj = new oj_JSONException; oj_JSONObject_$callClinit(); var$3 = new ji_StringWriter; var$3.$lock = var$3; var$7 = new jl_StringBuffer; var$7.$buffer = $rt_createCharArray(16); var$3.$buf0 = var$7; var$3.$lock = var$7; jl_Object_monitorEnterSync(var$7); c: { d: { try { e: { try { var$8 = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3477), var$3)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break e; } else { throw $$e; } } jl_Object_monitorExitSync(var$7); break c; } var$8 = $rt_s(18); jl_Object_monitorExitSync(var$7); break d; } catch ($$e) { $$je = $rt_wrapException($$e); $obj = $$je; } jl_Object_monitorExitSync(var$7); $rt_throw($obj); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(19)); var$4 = var$3.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_StringBuilder_insert(var$3, var$4, var$8); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(20)); var$8 = new jl_String; var$6 = var$3.$buffer; var$9 = var$6.data; var$10 = var$3.$length0; var$5 = var$9.length; if (var$10 >= 0 && var$10 <= (var$5 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); $obj.$suppressionEnabled = 1; $obj.$writableStackTrace = 1; $obj.$message = var$8; $rt_throw($obj); } $obj = new jl_IndexOutOfBoundsException; jl_Exception__init_($obj); $rt_throw($obj); } if (!(var$3 instanceof jl_String)) { $obj = null; oj_JSONObject_$callClinit(); var$7 = new oj_JSONException; var$11 = new ji_StringWriter; var$11.$lock = var$11; var$12 = new jl_StringBuffer; var$12.$buffer = $rt_createCharArray(16); var$11.$buf0 = var$12; var$11.$lock = var$12; jl_Object_monitorEnterSync(var$12); f: { g: { try { h: { try { var$8 = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3477), var$11)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break h; } else { throw $$e; } } jl_Object_monitorExitSync(var$12); break f; } var$8 = $rt_s(18); jl_Object_monitorExitSync(var$12); break g; } catch ($$e) { $$je = $rt_wrapException($$e); $obj = $$je; } jl_Object_monitorExitSync(var$12); $rt_throw($obj); } } var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(19)); var$4 = var$11.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_StringBuilder_insert(var$11, var$4, var$8); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(21)); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(5)); var$10 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$10, var$10 + 1 | 0); var$6 = var$11.$buffer; var$9 = var$6.data; var$9[var$10] = 46; var$8 = new jl_String; var$10 = var$11.$length0; var$5 = var$9.length; if (var$10 >= 0 && var$10 <= (var$5 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$8; var$7.$cause = $obj; $rt_throw(var$7); } $obj = new jl_IndexOutOfBoundsException; jl_Exception__init_($obj); $rt_throw($obj); } var$7 = var$3; var$8 = var$7.$nativeString.toLowerCase(); if (var$8 !== var$7.$nativeString) var$7 = jl_String__init_(var$8); $this.$responseType = var$7; $this.$ping1 = $ping; if (var$7 === $rt_s(3478)) var$4 = 1; else if (!($rt_s(3478) instanceof jl_String)) var$4 = 0; else { var$8 = $rt_s(3478); var$4 = var$7.$nativeString !== var$8.$nativeString ? 0 : 1; } i: { if (!var$4) { var$8 = $this.$responseType; if (var$8 !== $rt_s(3479)) { if ($rt_s(3479) instanceof jl_String) { var$3 = $rt_s(3479); var$4 = var$8.$nativeString !== var$3.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { j: { var$3 = $obj.$map; if (!$rt_s(510).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(510).$nativeString.length) break j; $rt_s(510).$hashCode1 = (31 * $rt_s(510).$hashCode1 | 0) + $rt_s(510).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(510).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { k: { var$7 = var$3.$key; if ($rt_s(510) !== var$7) { if ($rt_s(510) === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(510).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break k; } } var$4 = 1; } if (var$4) break; } var$3 = var$3.$next3; } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { $obj = new oj_JSONException; oj_JSONObject_$callClinit(); var$3 = new ji_StringWriter; var$3.$lock = var$3; var$7 = new jl_StringBuffer; var$7.$buffer = $rt_createCharArray(16); var$3.$buf0 = var$7; var$3.$lock = var$7; jl_Object_monitorEnterSync(var$7); l: { m: { try { n: { try { var$8 = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(510), var$3)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break n; } else { throw $$e; } } jl_Object_monitorExitSync(var$7); break l; } var$8 = $rt_s(18); jl_Object_monitorExitSync(var$7); break m; } catch ($$e) { $$je = $rt_wrapException($$e); $obj = $$je; } jl_Object_monitorExitSync(var$7); $rt_throw($obj); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(19)); var$4 = var$3.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$8); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(20)); var$8 = new jl_String; var$6 = var$3.$buffer; var$9 = var$6.data; var$10 = var$3.$length0; var$5 = var$9.length; if (var$10 >= 0 && var$10 <= (var$5 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); $obj.$suppressionEnabled = 1; $obj.$writableStackTrace = 1; $obj.$message = var$8; $rt_throw($obj); } $obj = new jl_IndexOutOfBoundsException; jl_Throwable__init_($obj); $rt_throw($obj); } o: { $this.$responseData = var$3; var$3 = $obj.$map; if (!$rt_s(3480).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3480).$nativeString.length) break o; $rt_s(3480).$hashCode1 = (31 * $rt_s(3480).$hashCode1 | 0) + $rt_s(3480).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(3480).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { p: { var$7 = var$3.$key; if ($rt_s(3480) !== var$7) { if ($rt_s(3480) === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(3480).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break p; } } var$4 = 1; } if (var$4) break; } var$3 = var$3.$next3; } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { $obj = new oj_JSONException; oj_JSONObject_$callClinit(); var$3 = new ji_StringWriter; var$3.$lock = var$3; var$7 = new jl_StringBuffer; var$7.$buffer = $rt_createCharArray(16); var$3.$buf0 = var$7; var$3.$lock = var$7; jl_Object_monitorEnterSync(var$7); q: { r: { try { s: { try { var$8 = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3480), var$3)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break s; } else { throw $$e; } } jl_Object_monitorExitSync(var$7); break q; } var$8 = $rt_s(18); jl_Object_monitorExitSync(var$7); break r; } catch ($$e) { $$je = $rt_wrapException($$e); $obj = $$je; } jl_Object_monitorExitSync(var$7); $rt_throw($obj); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(19)); var$4 = var$3.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_StringBuilder_insert(var$3, var$4, var$8); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(20)); var$8 = new jl_String; var$6 = var$3.$buffer; var$9 = var$6.data; var$10 = var$3.$length0; var$5 = var$9.length; if (var$10 >= 0 && var$10 <= (var$5 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); $obj.$suppressionEnabled = 1; $obj.$writableStackTrace = 1; $obj.$message = var$8; $rt_throw($obj); } $obj = new jl_IndexOutOfBoundsException; jl_Exception__init_($obj); $rt_throw($obj); } if (!(var$3 instanceof jl_String)) { $obj = null; oj_JSONObject_$callClinit(); var$7 = new oj_JSONException; var$11 = new ji_StringWriter; var$11.$lock = var$11; var$12 = new jl_StringBuffer; var$12.$buffer = $rt_createCharArray(16); var$11.$buf0 = var$12; var$11.$lock = var$12; jl_Object_monitorEnterSync(var$12); t: { u: { try { v: { try { var$8 = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3480), var$11)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break v; } else { throw $$e; } } jl_Object_monitorExitSync(var$12); break t; } var$8 = $rt_s(18); jl_Object_monitorExitSync(var$12); break u; } catch ($$e) { $$je = $rt_wrapException($$e); $obj = $$je; } jl_Object_monitorExitSync(var$12); $rt_throw($obj); } } var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(19)); var$4 = var$11.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_StringBuilder_insert(var$11, var$4, var$8); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(21)); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(5)); var$10 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$10, var$10 + 1 | 0); var$6 = var$11.$buffer; var$9 = var$6.data; var$9[var$10] = 46; var$8 = new jl_String; var$10 = var$11.$length0; var$5 = var$9.length; if (var$10 >= 0 && var$10 <= (var$5 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$8; var$7.$cause = $obj; $rt_throw(var$7); } $obj = new jl_IndexOutOfBoundsException; jl_Exception__init_($obj); $rt_throw($obj); } w: { $this.$serverVersion = var$3; var$3 = $obj.$map; if (!$rt_s(3481).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3481).$nativeString.length) break w; $rt_s(3481).$hashCode1 = (31 * $rt_s(3481).$hashCode1 | 0) + $rt_s(3481).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(3481).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { x: { var$7 = var$3.$key; if ($rt_s(3481) !== var$7) { if ($rt_s(3481) === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(3481).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break x; } } var$4 = 1; } if (var$4) break; } var$3 = var$3.$next3; } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { $obj = new oj_JSONException; oj_JSONObject_$callClinit(); var$3 = new ji_StringWriter; var$3.$lock = var$3; var$7 = new jl_StringBuffer; var$7.$buffer = $rt_createCharArray(16); var$3.$buf0 = var$7; var$3.$lock = var$7; jl_Object_monitorEnterSync(var$7); y: { z: { try { ba: { try { var$8 = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3481), var$3)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break ba; } else { throw $$e; } } jl_Object_monitorExitSync(var$7); break y; } var$8 = $rt_s(18); jl_Object_monitorExitSync(var$7); break z; } catch ($$e) { $$je = $rt_wrapException($$e); $obj = $$je; } jl_Object_monitorExitSync(var$7); $rt_throw($obj); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(19)); var$4 = var$3.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_StringBuilder_insert(var$3, var$4, var$8); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(20)); var$8 = new jl_String; var$6 = var$3.$buffer; var$9 = var$6.data; var$10 = var$3.$length0; var$5 = var$9.length; if (var$10 >= 0 && var$10 <= (var$5 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); $obj.$suppressionEnabled = 1; $obj.$writableStackTrace = 1; $obj.$message = var$8; $rt_throw($obj); } $obj = new jl_IndexOutOfBoundsException; jl_Exception__init_($obj); $rt_throw($obj); } if (!(var$3 instanceof jl_String)) { $obj = null; oj_JSONObject_$callClinit(); var$7 = new oj_JSONException; var$11 = new ji_StringWriter; var$11.$lock = var$11; var$12 = new jl_StringBuffer; var$12.$buffer = $rt_createCharArray(16); var$11.$buf0 = var$12; var$11.$lock = var$12; jl_Object_monitorEnterSync(var$12); bb: { bc: { try { bd: { try { var$8 = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3481), var$11)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bd; } else { throw $$e; } } jl_Object_monitorExitSync(var$12); break bb; } var$8 = $rt_s(18); jl_Object_monitorExitSync(var$12); break bc; } catch ($$e) { $$je = $rt_wrapException($$e); $obj = $$je; } jl_Object_monitorExitSync(var$12); $rt_throw($obj); } } var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(19)); var$4 = var$11.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_StringBuilder_insert(var$11, var$4, var$8); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(21)); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(5)); var$10 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$10, var$10 + 1 | 0); var$6 = var$11.$buffer; var$9 = var$6.data; var$9[var$10] = 46; var$8 = new jl_String; var$10 = var$11.$length0; var$5 = var$9.length; if (var$10 >= 0 && var$10 <= (var$5 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$8; var$7.$cause = $obj; $rt_throw(var$7); } $obj = new jl_IndexOutOfBoundsException; jl_Exception__init_($obj); $rt_throw($obj); } be: { $this.$serverBrand = var$3; var$3 = $obj.$map; if (!$rt_s(180).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(180).$nativeString.length) break be; $rt_s(180).$hashCode1 = (31 * $rt_s(180).$hashCode1 | 0) + $rt_s(180).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(180).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { bf: { var$7 = var$3.$key; if ($rt_s(180) !== var$7) { if ($rt_s(180) === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(180).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break bf; } } var$4 = 1; } if (var$4) break; } var$3 = var$3.$next3; } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { $obj = new oj_JSONException; oj_JSONObject_$callClinit(); var$3 = new ji_StringWriter; var$3.$lock = var$3; var$7 = new jl_StringBuffer; var$7.$buffer = $rt_createCharArray(16); var$3.$buf0 = var$7; var$3.$lock = var$7; jl_Object_monitorEnterSync(var$7); bg: { bh: { try { bi: { try { var$8 = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(180), var$3)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bi; } else { throw $$e; } } jl_Object_monitorExitSync(var$7); break bg; } var$8 = $rt_s(18); jl_Object_monitorExitSync(var$7); break bh; } catch ($$e) { $$je = $rt_wrapException($$e); $obj = $$je; } jl_Object_monitorExitSync(var$7); $rt_throw($obj); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(19)); var$4 = var$3.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_StringBuilder_insert(var$3, var$4, var$8); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(20)); var$8 = new jl_String; var$6 = var$3.$buffer; var$9 = var$6.data; var$10 = var$3.$length0; var$5 = var$9.length; if (var$10 >= 0 && var$10 <= (var$5 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); $obj.$suppressionEnabled = 1; $obj.$writableStackTrace = 1; $obj.$message = var$8; $rt_throw($obj); } $obj = new jl_IndexOutOfBoundsException; jl_Exception__init_($obj); $rt_throw($obj); } if (!(var$3 instanceof jl_String)) { $obj = null; oj_JSONObject_$callClinit(); var$7 = new oj_JSONException; var$11 = new ji_StringWriter; var$11.$lock = var$11; var$12 = new jl_StringBuffer; var$12.$buffer = $rt_createCharArray(16); var$11.$buf0 = var$12; var$11.$lock = var$12; jl_Object_monitorEnterSync(var$12); bj: { bk: { try { bl: { try { var$8 = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(180), var$11)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bl; } else { throw $$e; } } jl_Object_monitorExitSync(var$12); break bj; } var$8 = $rt_s(18); jl_Object_monitorExitSync(var$12); break bk; } catch ($$e) { $$je = $rt_wrapException($$e); $obj = $$je; } jl_Object_monitorExitSync(var$12); $rt_throw($obj); } } var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(19)); var$4 = var$11.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_StringBuilder_insert(var$11, var$4, var$8); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(21)); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(5)); var$10 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$10, var$10 + 1 | 0); var$6 = var$11.$buffer; var$9 = var$6.data; var$9[var$10] = 46; var$8 = new jl_String; var$10 = var$11.$length0; var$5 = var$9.length; if (var$10 >= 0 && var$10 <= (var$5 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$8; var$7.$cause = $obj; $rt_throw(var$7); } $obj = new jl_IndexOutOfBoundsException; jl_Exception__init_($obj); $rt_throw($obj); } bm: { $this.$serverName2 = var$3; var$3 = $obj.$map; if (!$rt_s(3482).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3482).$nativeString.length) break bm; $rt_s(3482).$hashCode1 = (31 * $rt_s(3482).$hashCode1 | 0) + $rt_s(3482).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = $rt_s(3482).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { bn: { var$7 = var$3.$key; if ($rt_s(3482) !== var$7) { if ($rt_s(3482) === var$7) var$4 = 1; else if (!(var$7 instanceof jl_String)) var$4 = 0; else { var$7 = var$7; var$4 = $rt_s(3482).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break bn; } } var$4 = 1; } if (var$4) break; } var$3 = var$3.$next3; } var$3 = var$3 === null ? null : var$3.$value1; if (var$3 === null) { $obj = new oj_JSONException; oj_JSONObject_$callClinit(); var$3 = new ji_StringWriter; var$3.$lock = var$3; var$7 = new jl_StringBuffer; var$7.$buffer = $rt_createCharArray(16); var$3.$buf0 = var$7; var$3.$lock = var$7; jl_Object_monitorEnterSync(var$7); bo: { bp: { try { bq: { try { var$8 = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3482), var$3)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bq; } else { throw $$e; } } jl_Object_monitorExitSync(var$7); break bo; } var$8 = $rt_s(18); jl_Object_monitorExitSync(var$7); break bp; } catch ($$e) { $$je = $rt_wrapException($$e); $obj = $$je; } jl_Object_monitorExitSync(var$7); $rt_throw($obj); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(19)); var$4 = var$3.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_StringBuilder_insert(var$3, var$4, var$8); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(20)); var$8 = new jl_String; var$6 = var$3.$buffer; var$9 = var$6.data; var$10 = var$3.$length0; var$5 = var$9.length; if (var$10 >= 0 && var$10 <= (var$5 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); $obj.$suppressionEnabled = 1; $obj.$writableStackTrace = 1; $obj.$message = var$8; $rt_throw($obj); } $obj = new jl_IndexOutOfBoundsException; jl_Exception__init_($obj); $rt_throw($obj); } if (var$3 instanceof jl_Number) $ping = var$3.$longValue(); else br: { try { $ping = jl_Long_parseLong(var$3.$toString()); break br; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $obj = $$je; } else { throw $$e; } } oj_JSONObject_$callClinit(); var$7 = new oj_JSONException; var$11 = new ji_StringWriter; var$11.$lock = var$11; var$12 = new jl_StringBuffer; var$12.$buffer = $rt_createCharArray(16); var$11.$buf0 = var$12; var$11.$lock = var$12; jl_Object_monitorEnterSync(var$12); bs: { bt: { try { bu: { try { var$8 = ji_StringWriter_toString(oj_JSONObject_quote($rt_s(3482), var$11)); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { break bu; } else { throw $$e; } } jl_Object_monitorExitSync(var$12); break bs; } var$8 = $rt_s(18); jl_Object_monitorExitSync(var$12); break bt; } catch ($$e) { $$je = $rt_wrapException($$e); $obj = $$je; } jl_Object_monitorExitSync(var$12); $rt_throw($obj); } } var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(19)); var$4 = var$11.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_StringBuilder_insert(var$11, var$4, var$8); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(21)); jl_StringBuilder_insert(var$11, var$11.$length0, $rt_s(3483)); var$10 = var$11.$length0; jl_AbstractStringBuilder_insertSpace(var$11, var$10, var$10 + 1 | 0); var$6 = var$11.$buffer; var$9 = var$6.data; var$9[var$10] = 46; var$8 = new jl_String; var$10 = var$11.$length0; var$5 = var$9.length; if (var$10 >= 0 && var$10 <= (var$5 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$10); var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; var$7.$message = var$8; var$7.$cause = $obj; $rt_throw(var$7); } $obj = new jl_IndexOutOfBoundsException; jl_Exception__init_($obj); $rt_throw($obj); } bv: { $this.$serverTime = $ping; nlea_EaglerAdapterImpl2_$callClinit(); $this.$clientTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4 = 0; var$3 = $obj.$map; if (!$rt_s(3094).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(3094).$nativeString.length) break bv; $rt_s(3094).$hashCode1 = (31 * $rt_s(3094).$hashCode1 | 0) + $rt_s(3094).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$13 = $rt_s(3094).$hashCode1; var$6 = var$3.$elementData.data; var$3 = var$6[var$13 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$13) { bw: { var$7 = var$3.$key; if ($rt_s(3094) !== var$7) { if ($rt_s(3094) === var$7) var$10 = 1; else if (!(var$7 instanceof jl_String)) var$10 = 0; else { var$7 = var$7; var$10 = $rt_s(3094).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break bw; } } var$10 = 1; } if (var$10) break; } var$3 = var$3.$next3; } var$7 = var$3 === null ? null : var$3.$value1; oj_JSONObject_$callClinit(); var$3 = oj_JSONObject_NULL; var$10 = var$7 !== null && var$7 !== var$3 ? 0 : 1; bx: { if (!var$10) { if (var$7 instanceof jl_Boolean) var$4 = var$7.$value9; else { by: { try { var$10 = oj_JSONObject_getBoolean($obj, $rt_s(3094)); break by; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { } else { throw $$e; } } break bx; } var$4 = var$10; } } } $this.$serverCracked = var$4; $this.$rateLimitStatus1 = null; $this.$rateLimitIsTCP = 0; break i; } } $this.$responseData = null; $this.$serverVersion = $rt_s(1838); $this.$serverBrand = $rt_s(1838); $this.$serverName2 = $rt_s(1838); $this.$serverTime = Long_ZERO; nlea_EaglerAdapterImpl2_$callClinit(); $this.$clientTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$serverCracked = 0; $obj = $this.$responseType; if ($obj === $rt_s(3479)) var$4 = 1; else if (!($rt_s(3479) instanceof jl_String)) var$4 = 0; else { var$8 = $rt_s(3479); var$4 = $obj.$nativeString !== var$8.$nativeString ? 0 : 1; } $this.$rateLimitStatus1 = !var$4 ? nlea_EaglerAdapterImpl2$RateLimit_BLOCKED : nlea_EaglerAdapterImpl2$RateLimit_LOCKED; $this.$rateLimitIsTCP = 0; } }, nle_ServerQuery$QueryResponse__init_0 = (var_0, var_1) => { let var_2 = new nle_ServerQuery$QueryResponse(); nle_ServerQuery$QueryResponse__init_1(var_2, var_0, var_1); return var_2; }, nle_ServerQuery$QueryResponse__init_2 = ($this, $lockedNotBlocked, $ping) => { $this.$ping1 = $ping; $this.$responseType = !$lockedNotBlocked ? $rt_s(3478) : $rt_s(3479); $this.$responseData = null; $this.$serverVersion = $rt_s(1838); $this.$serverBrand = $rt_s(1838); $this.$serverName2 = $rt_s(1838); $this.$serverTime = Long_ZERO; nlea_EaglerAdapterImpl2_$callClinit(); $this.$clientTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $this.$serverCracked = 0; $this.$rateLimitStatus1 = !$lockedNotBlocked ? nlea_EaglerAdapterImpl2$RateLimit_BLOCKED : nlea_EaglerAdapterImpl2$RateLimit_LOCKED; $this.$rateLimitIsTCP = 1; }, nle_ServerQuery$QueryResponse__init_ = (var_0, var_1) => { let var_2 = new nle_ServerQuery$QueryResponse(); nle_ServerQuery$QueryResponse__init_2(var_2, var_0, var_1); return var_2; }, otjc_JSFinalizationRegistry = $rt_classWithoutFields(), otjc_JSMap = $rt_classWithoutFields(), otjc_JSMap__init_ = $this => { otji_JSWrapper_wrap($this); }, otjc_JSMap__init_0 = () => { let var_0 = new otjc_JSMap(); otjc_JSMap__init_(var_0); return var_0; }, otjc_JSWeakMap = $rt_classWithoutFields(), otjc_JSWeakMap__init_ = $this => { otji_JSWrapper_wrap($this); }, otjc_JSWeakMap__init_0 = () => { let var_0 = new otjc_JSWeakMap(); otjc_JSWeakMap__init_(var_0); return var_0; }, otjw_AudioBuffer = $rt_classWithoutFields(0), otpm_Resource = $rt_classWithoutFields(0), otcic_CurrencyResource = $rt_classWithoutFields(0), jm_MathContext = $rt_classWithoutFields(), juf_UnaryOperator = $rt_classWithoutFields(0), juf_Consumer = $rt_classWithoutFields(0), otjw_MediaElementAudioSourceNode = $rt_classWithoutFields(0), otjdx_Element = $rt_classWithoutFields(0), otjdc_ElementCSSInlineStyle = $rt_classWithoutFields(0), otjde_FocusEventTarget = $rt_classWithoutFields(0), otjde_MouseEventTarget = $rt_classWithoutFields(0), otjde_WheelEventTarget = $rt_classWithoutFields(0), otjde_KeyboardEventTarget = $rt_classWithoutFields(0), otjde_LoadEventTarget = $rt_classWithoutFields(0), otjdh_HTMLElement = $rt_classWithoutFields(), otjdh_HTMLMediaElement = $rt_classWithoutFields(otjdh_HTMLElement), otjdh_HTMLAudioElement = $rt_classWithoutFields(otjdh_HTMLMediaElement), otp_PlatformClass = $rt_classWithoutFields(0), otr_RuntimeClass = $rt_classWithoutFields(otr_RuntimeObject), otr_RuntimeClass__init_ = $this => { return; }, otr_RuntimeClass__init_0 = () => { let var_0 = new otr_RuntimeClass(); otr_RuntimeClass__init_(var_0); return var_0; }, jlr_Field = $rt_classWithoutFields(jlr_AccessibleObject), otp_PlatformObject = $rt_classWithoutFields(0), jlr_Constructor = $rt_classWithoutFields(jlr_AccessibleObject), nms_EnumFacing = $rt_classWithoutFields(jl_Enum), jt_DateFormatElement$TrieNode = $rt_classWithoutFields(), jt_DateFormatElement$TrieNode__init_ = $this => { return; }, jt_DateFormatElement$TrieNode__init_0 = () => { let var_0 = new jt_DateFormatElement$TrieNode(); jt_DateFormatElement$TrieNode__init_(var_0); return var_0; }; function nms_Explosion() { let a = this; jl_Object.call(a); a.$isFlaming = 0; a.$isSmoking = 0; a.$field_77289_h = 0; a.$explosionRNG = null; a.$worldObj1 = null; a.$explosionX = 0.0; a.$explosionY = 0.0; a.$explosionZ = 0.0; a.$exploder = null; a.$explosionSize = 0.0; a.$affectedBlockPositions = null; a.$field_77288_k = null; } let nms_Explosion_doExplosionA = $this => { let $var1, $var2, $var26, $var25, var$5, var$6, $var3, $var4, $var5, $var11, $var14, $var27, $var6, $var8, $var10, $var12, var$17, $var15, $var17, $var19, $var22, $var23, $var24, $var9, $var29, $var7, $var30, $var31, $var32, $var13, $var33, $var35, var$33, $var36, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var36 = $thread.pop();var$33 = $thread.pop();$var35 = $thread.pop();$var33 = $thread.pop();$var13 = $thread.pop();$var32 = $thread.pop();$var31 = $thread.pop();$var30 = $thread.pop();$var7 = $thread.pop();$var29 = $thread.pop();$var9 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();$var22 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();var$17 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var27 = $thread.pop();$var14 = $thread.pop();$var11 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var25 = $thread.pop();$var26 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $this.$explosionSize; $var2 = new ju_HashSet; $var26 = new ju_HashMap; $var25 = ju_HashMap_calculateCapacity(16); $var26.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, $var25); var$6 = var$5.data; $var26.$elementData = var$5; $var26.$loadFactor = 0.75; $var26.$threshold = var$6.length * 0.75 | 0; $var2.$backingMap = $var26; $var3 = 0; while ($var3 < $this.$field_77289_h) { $var4 = 0; while ($var4 < $this.$field_77289_h) { $var5 = 0; while (true) { $var25 = $this.$field_77289_h; if ($var5 >= $var25) break; a: { if ($var3) { $var11 = $var25 - 1 | 0; if ($var3 != $var11 && $var4 && $var4 != $var11 && $var5 && $var5 != $var11) break a; } $var14 = $var3; $var27 = $var25 - 1.0; $var6 = $var14 / $var27 * 2.0 - 1.0; $var8 = $var4 / $var27 * 2.0 - 1.0; $var10 = $var5 / $var27 * 2.0 - 1.0; $var12 = jl_Math_sqrt($var6 * $var6 + $var8 * $var8 + $var10 * $var10); $var6 = $var6 / $var12; $var8 = $var8 / $var12; $var10 = $var10 / $var12; $var14 = $this.$explosionSize; $var26 = $this.$worldObj1.$rand0; var$17 = Long_and(Long_add(Long_mul($var26.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var26.$seed = var$17; $var14 = $var14 * (0.699999988079071 + Long_lo(Long_shru(var$17, 24)) / 1.6777216E7 * 0.6000000238418579); $var15 = $this.$explosionX; $var17 = $this.$explosionY; $var19 = $this.$explosionZ; $var6 = $var6 * 0.30000001192092896; $var8 = $var8 * 0.30000001192092896; $var12 = $var10 * 0.30000001192092896; while (true) { if ($var14 <= 0.0) break a; $var22 = $var15 | 0; if ($var15 < $var22) $var22 = $var22 - 1 | 0; $var23 = $var17 | 0; if ($var17 < $var23) $var23 = $var23 - 1 | 0; $var24 = $var19 | 0; if ($var19 < $var24) $var24 = $var24 - 1 | 0; $var25 = nms_World_getBlockId($this.$worldObj1, $var22, $var23, $var24); if ($var25 > 0) { nms_Block_$callClinit(); $var26 = nms_Block_blocksList.data[$var25]; $var9 = $this.$exploder; $var14 = $var14 - (($var9 === null ? $var26.$getExplosionResistance($var9) : $var9.$getBlockExplosionResistance($this, $this.$worldObj1, $var22, $var23, $var24, $var26)) + 0.30000001192092896) * 0.30000001192092896; } if ($var14 > 0.0) { $var26 = $this.$exploder; if (!($var26 !== null && !$var26.$shouldExplodeBlock($this, $this.$worldObj1, $var22, $var23, $var24, $var25, $var14))) { $var26 = new nms_ChunkPosition; $var26.$x0 = $var22; $var26.$y0 = $var23; $var26.$z0 = $var24; ju_HashMap_putImpl($var2.$backingMap, $var26, $var2); } } $var15 = $var15 + $var6; $var17 = $var17 + $var8; $var19 = $var19 + $var12; $var14 = $var14 - 0.22500000894069672; } } $var5 = $var5 + 1 | 0; } $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } $var26 = $this.$affectedBlockPositions; $var2 = $var2.$backingMap; if ($var2.$cachedKeySet === null) { $var9 = new ju_HashMap$1; $var9.$this$0 = $var2; $var2.$cachedKeySet = $var9; } $var9 = $var2.$cachedKeySet.$iterator(); while ($var9.$hasNext()) { $var2 = $var9.$next(); ju_ArrayList_ensureCapacity($var26, $var26.$size0 + 1 | 0); var$6 = $var26.$array.data; $var11 = $var26.$size0; $var26.$size0 = $var11 + 1 | 0; var$6[$var11] = $var2; $var26.$modCount = $var26.$modCount + 1 | 0; } $var14 = $this.$explosionSize * 2.0; $this.$explosionSize = $var14; $var6 = $this.$explosionX; $var8 = $var14; $var10 = $var6 - $var8 - 1.0; $var11 = $var10 | 0; if ($var10 < $var11) $var11 = $var11 - 1 | 0; $var6 = $var6 + $var8 + 1.0; $var4 = $var6 | 0; if ($var6 < $var4) $var4 = $var4 - 1 | 0; $var6 = $this.$explosionY; $var10 = $var6 - $var8 - 1.0; $var5 = $var10 | 0; if ($var10 < $var5) $var5 = $var5 - 1 | 0; $var6 = $var6 + $var8 + 1.0; $var29 = $var6 | 0; if ($var6 < $var29) $var29 = $var29 - 1 | 0; $var6 = $this.$explosionZ; $var10 = $var6 - $var8 - 1.0; $var7 = $var10 | 0; if ($var10 < $var7) $var7 = $var7 - 1 | 0; $var6 = $var6 + $var8 + 1.0; $var30 = $var6 | 0; if ($var6 < $var30) $var30 = $var30 - 1 | 0; $var2 = $this.$worldObj1; $var26 = $this.$exploder; $var9 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var6 = $var11; $var8 = $var5; $var10 = $var7; $var12 = $var4; $var15 = $var29; $var17 = $var30; $var25 = $var9.$nextPoolIndex; $var31 = $var9.$listAABB; $var22 = $var31.$size0; $var11 = $rt_compare($var25, $var22); if ($var11 >= 0) { $var32 = new nms_AxisAlignedBB; $var32.$minX = $var6; $var32.$minY = $var8; $var32.$minZ = $var10; $var32.$maxX = $var12; $var32.$maxY = $var15; $var32.$maxZ = $var17; ju_ArrayList_ensureCapacity($var31, $var22 + 1 | 0); var$6 = $var31.$array.data; $var11 = $var31.$size0; $var31.$size0 = $var11 + 1 | 0; var$6[$var11] = $var32; $var31.$modCount = $var31.$modCount + 1 | 0; } else if ($var25 >= 0 && $var11 < 0) { $var32 = $var31.$array.data[$var25]; $var32.$minX = $var6; $var32.$minY = $var8; $var32.$minZ = $var10; $var32.$maxX = $var12; $var32.$maxY = $var15; $var32.$maxZ = $var17; } else { $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var9.$nextPoolIndex = $var9.$nextPoolIndex + 1 | 0; $var9 = nms_World_getEntitiesWithinAABBExcludingEntity($var2, $var26, $var32, null); $var31 = nms_Vec3Pool_getVecFromPool($this.$worldObj1.$vecPool, $this.$explosionX, $this.$explosionY, $this.$explosionZ); $var11 = 0; b: { while (true) { $var25 = $rt_compare($var11, $var9.$size0); if ($var25 >= 0) break; if ($var11 < 0) break b; if ($var25 >= 0) break b; $var32 = $var9.$array.data[$var11]; $var6 = $this.$explosionX; $var8 = $this.$explosionY; $var10 = $this.$explosionZ; $var6 = $var32.$posX - $var6; $var8 = $var32.$posY - $var8; $var10 = $var32.$posZ - $var10; $var13 = jl_Math_sqrt($var6 * $var6 + $var8 * $var8 + $var10 * $var10) / $this.$explosionSize; if ($var13 <= 1.0) { $var15 = $var32.$posX - $this.$explosionX; $var17 = $var32.$posY + $var32.$getEyeHeight() - $this.$explosionY; $var19 = $var32.$posZ - $this.$explosionZ; $var33 = jl_Math_sqrt($var15 * $var15 + $var17 * $var17 + $var19 * $var19); if ($var33 !== 0.0) { $var6 = $var15 / $var33; $var8 = $var17 / $var33; $var10 = $var19 / $var33; $var2 = $this.$worldObj1; $var26 = $var32.$boundingBox; $ptr = 1; continue main; } } $var11 = $var11 + 1 | 0; } $this.$explosionSize = $var1; return; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); case 1: c: { $tmp = nms_World_getBlockDensity($var2, $var31, $var26); if ($rt_suspending()) { break main; } $var14 = $tmp; $var35 = (1.0 - $var13) * $var14; if ($this !== null) { var$33 = $this.$exploder; if ((var$33 === null ? null : var$33 instanceof nms_EntityTNTPrimed ? var$33.$tntPlacedBy : !(var$33 instanceof nms_EntityLivingBase) ? null : var$33) !== null) { $var26 = new nms_EntityDamageSource; var$33 = var$33 === null ? null : var$33 instanceof nms_EntityTNTPrimed ? var$33.$tntPlacedBy : !(var$33 instanceof nms_EntityLivingBase) ? null : var$33; $var26.$hungerDamage = 0.30000001192092896; $var26.$damageType = $rt_s(3484); $var26.$damageSourceEntity = var$33; $var26.$difficultyScaled = 1; $var26.$explosion = 1; break c; } } $var26 = new nms_DamageSource; $var26.$hungerDamage = 0.30000001192092896; $var26.$damageType = $rt_s(2040); $var26.$difficultyScaled = 1; $var26.$explosion = 1; } $var14 = ($var35 * $var35 + $var35) / 2.0 * 8.0 * $this.$explosionSize + 1.0 | 0; $ptr = 2; case 2: $var32.$attackEntityFrom($var26, $var14); if ($rt_suspending()) { break main; } nms_Enchantment_$callClinit(); $var25 = nms_Enchantment_blastProtection.$effectId; var$6 = $var32.$getLastActiveItems(); nms_EnchantmentHelper_$callClinit(); if (var$6 === null) $var22 = 0; else { var$6 = var$6.data; $var22 = 0; $var7 = var$6.length; $var3 = 0; while ($var3 < $var7) { $var4 = nms_EnchantmentHelper_getEnchantmentLevel($var25, var$6[$var3]); if ($var4 > $var22) $var22 = $var4; $var3 = $var3 + 1 | 0; } } if ($var22 <= 0) $var36 = $var35; else { $var12 = $var35 * $var22 * 0.15000000596046448; $var22 = $var12 | 0; if ($var12 < $var22) $var22 = $var22 - 1 | 0; $var36 = $var35 - $var22; } $var32.$motionX = $var32.$motionX + $var6 * $var36; $var32.$motionY = $var32.$motionY + $var8 * $var36; $var32.$motionZ = $var32.$motionZ + $var10 * $var36; if ($var32 instanceof nms_EntityPlayer) ju_HashMap_putImpl($this.$field_77288_k, $var32, nms_Vec3Pool_getVecFromPool($this.$worldObj1.$vecPool, $var6 * $var35, $var8 * $var35, $var10 * $var35)); d: { while (true) { $var11 = $var11 + 1 | 0; $var25 = $rt_compare($var11, $var9.$size0); if ($var25 >= 0) break; if ($var11 < 0) break d; if ($var25 >= 0) break d; $var32 = $var9.$array.data[$var11]; $var6 = $this.$explosionX; $var8 = $this.$explosionY; $var10 = $this.$explosionZ; $var6 = $var32.$posX - $var6; $var8 = $var32.$posY - $var8; $var10 = $var32.$posZ - $var10; $var13 = jl_Math_sqrt($var6 * $var6 + $var8 * $var8 + $var10 * $var10) / $this.$explosionSize; if ($var13 > 1.0) continue; $var15 = $var32.$posX - $this.$explosionX; $var17 = $var32.$posY + $var32.$getEyeHeight() - $this.$explosionY; $var19 = $var32.$posZ - $this.$explosionZ; $var33 = jl_Math_sqrt($var15 * $var15 + $var17 * $var17 + $var19 * $var19); if ($var33 === 0.0) continue; else { $var6 = $var15 / $var33; $var8 = $var17 / $var33; $var10 = $var19 / $var33; $var2 = $this.$worldObj1; $var26 = $var32.$boundingBox; $ptr = 1; continue main; } } $this.$explosionSize = $var1; return; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, $var26, $var25, var$5, var$6, $var3, $var4, $var5, $var11, $var14, $var27, $var6, $var8, $var10, $var12, var$17, $var15, $var17, $var19, $var22, $var23, $var24, $var9, $var29, $var7, $var30, $var31, $var32, $var13, $var33, $var35, var$33, $var36, $ptr); }, nms_Explosion_doExplosionB = ($this, $par1) => { let var$2, $var3, var$4, $var4, $var5, $var20, $var8, $var10, $var12, $var14, $var16, $var24, $var2$index, $var2$index_0, var$16, $var25, $var2$index_1, $var6, $var7, var$21, var$22, $var18, $var22, var$25, var$26, $var7_0, var$28, $var2$index_2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2$index_2 = $thread.pop();var$28 = $thread.pop();$var7_0 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();$var22 = $thread.pop();$var18 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var2$index_1 = $thread.pop();$var25 = $thread.pop();var$16 = $thread.pop();$var2$index_0 = $thread.pop();$var2$index = $thread.pop();$var24 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$var20 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$worldObj1; $var3 = var$2.$rand0; var$4 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$4; $var3.$seed = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4 = 0; while (true) { $var5 = $rt_compare($var4, var$2.$worldAccesses.$size0); if ($var5 >= 0) { if ($this.$explosionSize >= 2.0 && $this.$isSmoking) { $var3 = $rt_s(1473); $var20 = $this.$explosionX; $var8 = $this.$explosionY; $var10 = $this.$explosionZ; $var12 = 1.0; $var14 = 0.0; $var16 = 0.0; $var4 = 0; $var24 = var$2.$worldAccesses; $var5 = $rt_compare($var4, $var24.$size0); if ($var5 < 0) { if ($var4 >= 0 && $var5 < 0) { $var24 = $var24.$array.data[$var4]; $ptr = 2; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } else { $var3 = $rt_s(1474); $var8 = $this.$explosionX; $var10 = $this.$explosionY; $var12 = $this.$explosionZ; $var14 = 1.0; $var16 = 0.0; $var20 = 0.0; $var4 = 0; $var24 = var$2.$worldAccesses; $var5 = $rt_compare($var4, $var24.$size0); if ($var5 < 0) { if ($var4 >= 0 && $var5 < 0) { $var24 = $var24.$array.data[$var4]; $ptr = 1; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } a: { if ($this.$isSmoking) { var$2 = $this.$affectedBlockPositions; $var2$index = 0; $var2$index_0 = var$2.$modCount; var$16 = var$2.$size(); $var25 = 24; while (true) { if (!($var2$index >= var$16 ? 0 : 1)) break a; if ($var2$index_0 < var$2.$modCount) break; $var2$index_1 = $var2$index + 1 | 0; $var3 = var$2.$get($var2$index); $var4 = $var3.$x0; $var5 = $var3.$y0; $var6 = $var3.$z0; $var7 = nms_World_getBlockId($this.$worldObj1, $var4, $var5, $var6); if ($par1) { var$21 = $var4; $var3 = $this.$worldObj1.$rand0; var$4 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$4; $var8 = var$21 + Long_lo(Long_shru(var$4, $var25)) / 1.6777216E7; var$21 = $var5; var$4 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$4; $var10 = var$21 + Long_lo(Long_shru(var$4, $var25)) / 1.6777216E7; var$21 = $var6; var$22 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var12 = var$21 + Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7; $var14 = $var8 - $this.$explosionX; $var16 = $var10 - $this.$explosionY; $var18 = $var12 - $this.$explosionZ; $var20 = jl_Math_sqrt($var14 * $var14 + $var16 * $var16 + $var18 * $var18); $var14 = $var14 / $var20; $var16 = $var16 / $var20; $var18 = $var18 / $var20; $var22 = 0.5 / ($var20 / $this.$explosionSize + 0.1); $var24 = $this.$worldObj1; $var3 = $var24.$rand0; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; var$21 = Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var20 = $var22 * (var$21 * Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7 + 0.30000001192092896); $var14 = $var14 * $var20; $var16 = $var16 * $var20; $var18 = $var18 * $var20; var$25 = $rt_s(1264); $var22 = ($var8 + $this.$explosionX * 1.0) / 2.0; var$26 = ($var10 + $this.$explosionY * 1.0) / 2.0; $var20 = ($var12 + $this.$explosionZ * 1.0) / 2.0; $var7_0 = 0; $var3 = $var24.$worldAccesses; $var2$index = $rt_compare($var7_0, $var3.$size0); if ($var2$index < 0) { if ($var7_0 >= 0 && $var2$index < 0) { $var3 = $var3.$array.data[$var7_0]; $ptr = 6; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var24 = $this.$worldObj1; var$25 = $rt_s(1479); $var2$index = 0; $var3 = $var24.$worldAccesses; $var7_0 = $rt_compare($var2$index, $var3.$size0); if ($var7_0 < 0) { if ($var2$index >= 0 && $var7_0 < 0) { $var3 = $var3.$array.data[$var2$index]; $ptr = 8; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } if ($var7 > 0) { nms_Block_$callClinit(); $var24 = nms_Block_blocksList.data[$var7]; if (!$var24.$canDropFromExplosion($this)) { $var3 = $this.$worldObj1; $var7_0 = 0; $var2$index = 0; $var7 = 3; $ptr = 3; continue main; } $var3 = $this.$worldObj1; $var7_0 = nms_World_getBlockMetadata($var3, $var4, $var5, $var6); var$28 = 1.0 / $this.$explosionSize; $var2$index = 0; $ptr = 5; continue main; } $var2$index = $var2$index_1; } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } b: { if ($this.$isFlaming) { var$2 = $this.$affectedBlockPositions; $var2$index_2 = 0; var$16 = var$2.$modCount; $var7 = var$2.$size(); $var2$index = 17; $var2$index_1 = 2; while (true) { if (!($var2$index_2 >= $var7 ? 0 : 1)) break b; if (var$16 < var$2.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var2$index_0 = $var2$index_2 + 1 | 0; $var3 = var$2.$get($var2$index_2); $var4 = $var3.$x0; $var5 = $var3.$y0; $var6 = $var3.$z0; $var7_0 = nms_World_getBlockId($this.$worldObj1, $var4, $var5, $var6); $var25 = nms_World_getBlockId($this.$worldObj1, $var4, $var5 - 1 | 0, $var6); if (!$var7_0) { nms_Block_$callClinit(); if (nms_Block_opaqueCubeLookup.data[$var25]) { $var3 = $this.$explosionRNG; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); while (true) { $var25 = $var7_0 % 3 | 0; if ((($var7_0 - $var25 | 0) + $var2$index_1 | 0) >= 0) break; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); } if (!$var25) { $var3 = $this.$worldObj1; $par1 = nms_Block_fire.$blockID; $var7_0 = 0; $var25 = 3; $ptr = 7; continue main; } } } $var2$index_2 = $var2$index_0; } } } return; } if ($var4 < 0) break; if ($var5 >= 0) break; $var4 = $var4 + 1 | 0; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); case 1: nms_RenderGlobal_doSpawnParticle($var24, $var3, $var8, $var10, $var12, $var14, $var16, $var20); if ($rt_suspending()) { break main; } $var4 = $var4 + 1 | 0; $var24 = var$2.$worldAccesses; $var5 = $rt_compare($var4, $var24.$size0); if ($var5 < 0) { if ($var4 >= 0 && $var5 < 0) { $var24 = $var24.$array.data[$var4]; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } c: { if ($this.$isSmoking) { var$2 = $this.$affectedBlockPositions; $var2$index = 0; $var2$index_0 = var$2.$modCount; var$16 = var$2.$size(); $var25 = 24; while (true) { if (!($var2$index >= var$16 ? 0 : 1)) break c; if ($var2$index_0 < var$2.$modCount) break; $var2$index_1 = $var2$index + 1 | 0; $var3 = var$2.$get($var2$index); $var4 = $var3.$x0; $var5 = $var3.$y0; $var6 = $var3.$z0; $var7 = nms_World_getBlockId($this.$worldObj1, $var4, $var5, $var6); if ($par1) { var$21 = $var4; $var3 = $this.$worldObj1.$rand0; var$4 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$4; $var8 = var$21 + Long_lo(Long_shru(var$4, $var25)) / 1.6777216E7; var$21 = $var5; var$4 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$4; $var10 = var$21 + Long_lo(Long_shru(var$4, $var25)) / 1.6777216E7; var$21 = $var6; var$22 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var12 = var$21 + Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7; $var14 = $var8 - $this.$explosionX; $var16 = $var10 - $this.$explosionY; $var18 = $var12 - $this.$explosionZ; $var20 = jl_Math_sqrt($var14 * $var14 + $var16 * $var16 + $var18 * $var18); $var14 = $var14 / $var20; $var16 = $var16 / $var20; $var18 = $var18 / $var20; $var22 = 0.5 / ($var20 / $this.$explosionSize + 0.1); $var24 = $this.$worldObj1; $var3 = $var24.$rand0; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; var$21 = Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var20 = $var22 * (var$21 * Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7 + 0.30000001192092896); $var14 = $var14 * $var20; $var16 = $var16 * $var20; $var18 = $var18 * $var20; var$25 = $rt_s(1264); $var22 = ($var8 + $this.$explosionX * 1.0) / 2.0; var$26 = ($var10 + $this.$explosionY * 1.0) / 2.0; $var20 = ($var12 + $this.$explosionZ * 1.0) / 2.0; $var7_0 = 0; $var3 = $var24.$worldAccesses; $var2$index = $rt_compare($var7_0, $var3.$size0); if ($var2$index < 0) { if ($var7_0 >= 0 && $var2$index < 0) { $var3 = $var3.$array.data[$var7_0]; $ptr = 6; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var24 = $this.$worldObj1; var$25 = $rt_s(1479); $var2$index = 0; $var3 = $var24.$worldAccesses; $var7_0 = $rt_compare($var2$index, $var3.$size0); if ($var7_0 < 0) { if ($var2$index >= 0 && $var7_0 < 0) { $var3 = $var3.$array.data[$var2$index]; $ptr = 8; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } if ($var7 > 0) { nms_Block_$callClinit(); $var24 = nms_Block_blocksList.data[$var7]; if (!$var24.$canDropFromExplosion($this)) { $var3 = $this.$worldObj1; $var7_0 = 0; $var2$index = 0; $var7 = 3; $ptr = 3; continue main; } $var3 = $this.$worldObj1; $var7_0 = nms_World_getBlockMetadata($var3, $var4, $var5, $var6); var$28 = 1.0 / $this.$explosionSize; $var2$index = 0; $ptr = 5; continue main; } $var2$index = $var2$index_1; } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } d: { if ($this.$isFlaming) { var$2 = $this.$affectedBlockPositions; $var2$index_2 = 0; var$16 = var$2.$modCount; $var7 = var$2.$size(); $var2$index = 17; $var2$index_1 = 2; while (true) { if (!($var2$index_2 >= $var7 ? 0 : 1)) break d; if (var$16 < var$2.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var2$index_0 = $var2$index_2 + 1 | 0; $var3 = var$2.$get($var2$index_2); $var4 = $var3.$x0; $var5 = $var3.$y0; $var6 = $var3.$z0; $var7_0 = nms_World_getBlockId($this.$worldObj1, $var4, $var5, $var6); $var25 = nms_World_getBlockId($this.$worldObj1, $var4, $var5 - 1 | 0, $var6); if (!$var7_0) { nms_Block_$callClinit(); if (nms_Block_opaqueCubeLookup.data[$var25]) { $var3 = $this.$explosionRNG; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); while (true) { $var25 = $var7_0 % 3 | 0; if ((($var7_0 - $var25 | 0) + $var2$index_1 | 0) >= 0) break; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); } if (!$var25) { $var3 = $this.$worldObj1; $par1 = nms_Block_fire.$blockID; $var7_0 = 0; $var25 = 3; $ptr = 7; continue main; } } } $var2$index_2 = $var2$index_0; } } } return; case 2: nms_RenderGlobal_doSpawnParticle($var24, $var3, $var20, $var8, $var10, $var12, $var14, $var16); if ($rt_suspending()) { break main; } $var4 = $var4 + 1 | 0; $var24 = var$2.$worldAccesses; $var5 = $rt_compare($var4, $var24.$size0); if ($var5 < 0) { if ($var4 >= 0 && $var5 < 0) { $var24 = $var24.$array.data[$var4]; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } c: { if ($this.$isSmoking) { var$2 = $this.$affectedBlockPositions; $var2$index = 0; $var2$index_0 = var$2.$modCount; var$16 = var$2.$size(); $var25 = 24; while (true) { if (!($var2$index >= var$16 ? 0 : 1)) break c; if ($var2$index_0 < var$2.$modCount) break; $var2$index_1 = $var2$index + 1 | 0; $var3 = var$2.$get($var2$index); $var4 = $var3.$x0; $var5 = $var3.$y0; $var6 = $var3.$z0; $var7 = nms_World_getBlockId($this.$worldObj1, $var4, $var5, $var6); if ($par1) { var$21 = $var4; $var3 = $this.$worldObj1.$rand0; var$4 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$4; $var8 = var$21 + Long_lo(Long_shru(var$4, $var25)) / 1.6777216E7; var$21 = $var5; var$4 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$4; $var10 = var$21 + Long_lo(Long_shru(var$4, $var25)) / 1.6777216E7; var$21 = $var6; var$22 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var12 = var$21 + Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7; $var14 = $var8 - $this.$explosionX; $var16 = $var10 - $this.$explosionY; $var18 = $var12 - $this.$explosionZ; $var20 = jl_Math_sqrt($var14 * $var14 + $var16 * $var16 + $var18 * $var18); $var14 = $var14 / $var20; $var16 = $var16 / $var20; $var18 = $var18 / $var20; $var22 = 0.5 / ($var20 / $this.$explosionSize + 0.1); $var24 = $this.$worldObj1; $var3 = $var24.$rand0; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; var$21 = Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var20 = $var22 * (var$21 * Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7 + 0.30000001192092896); $var14 = $var14 * $var20; $var16 = $var16 * $var20; $var18 = $var18 * $var20; var$25 = $rt_s(1264); $var22 = ($var8 + $this.$explosionX * 1.0) / 2.0; var$26 = ($var10 + $this.$explosionY * 1.0) / 2.0; $var20 = ($var12 + $this.$explosionZ * 1.0) / 2.0; $var7_0 = 0; $var3 = $var24.$worldAccesses; $var2$index = $rt_compare($var7_0, $var3.$size0); if ($var2$index < 0) { if ($var7_0 >= 0 && $var2$index < 0) { $var3 = $var3.$array.data[$var7_0]; $ptr = 6; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var24 = $this.$worldObj1; var$25 = $rt_s(1479); $var2$index = 0; $var3 = $var24.$worldAccesses; $var7_0 = $rt_compare($var2$index, $var3.$size0); if ($var7_0 < 0) { if ($var2$index >= 0 && $var7_0 < 0) { $var3 = $var3.$array.data[$var2$index]; $ptr = 8; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } if ($var7 > 0) { nms_Block_$callClinit(); $var24 = nms_Block_blocksList.data[$var7]; if (!$var24.$canDropFromExplosion($this)) { $var3 = $this.$worldObj1; $var7_0 = 0; $var2$index = 0; $var7 = 3; $ptr = 3; continue main; } $var3 = $this.$worldObj1; $var7_0 = nms_World_getBlockMetadata($var3, $var4, $var5, $var6); var$28 = 1.0 / $this.$explosionSize; $var2$index = 0; $ptr = 5; continue main; } $var2$index = $var2$index_1; } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } d: { if ($this.$isFlaming) { var$2 = $this.$affectedBlockPositions; $var2$index_2 = 0; var$16 = var$2.$modCount; $var7 = var$2.$size(); $var2$index = 17; $var2$index_1 = 2; while (true) { if (!($var2$index_2 >= $var7 ? 0 : 1)) break d; if (var$16 < var$2.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var2$index_0 = $var2$index_2 + 1 | 0; $var3 = var$2.$get($var2$index_2); $var4 = $var3.$x0; $var5 = $var3.$y0; $var6 = $var3.$z0; $var7_0 = nms_World_getBlockId($this.$worldObj1, $var4, $var5, $var6); $var25 = nms_World_getBlockId($this.$worldObj1, $var4, $var5 - 1 | 0, $var6); if (!$var7_0) { nms_Block_$callClinit(); if (nms_Block_opaqueCubeLookup.data[$var25]) { $var3 = $this.$explosionRNG; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); while (true) { $var25 = $var7_0 % 3 | 0; if ((($var7_0 - $var25 | 0) + $var2$index_1 | 0) >= 0) break; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); } if (!$var25) { $var3 = $this.$worldObj1; $par1 = nms_Block_fire.$blockID; $var7_0 = 0; $var25 = 3; $ptr = 7; continue main; } } } $var2$index_2 = $var2$index_0; } } } return; case 3: nms_World_setBlock($var3, $var4, $var5, $var6, $var7_0, $var2$index, $var7); if ($rt_suspending()) { break main; } $var3 = $this.$worldObj1; $ptr = 4; case 4: $var24.$onBlockDestroyedByExplosion($var3, $var4, $var5, $var6, $this); if ($rt_suspending()) { break main; } $var2$index = $var2$index_1; while (true) { if (!($var2$index >= var$16 ? 0 : 1)) { e: { if ($this.$isFlaming) { var$2 = $this.$affectedBlockPositions; $var2$index_2 = 0; var$16 = var$2.$modCount; $var7 = var$2.$size(); $var2$index = 17; $var2$index_1 = 2; while (true) { if (!($var2$index_2 >= $var7 ? 0 : 1)) break e; if (var$16 < var$2.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var2$index_0 = $var2$index_2 + 1 | 0; $var3 = var$2.$get($var2$index_2); $var4 = $var3.$x0; $var5 = $var3.$y0; $var6 = $var3.$z0; $var7_0 = nms_World_getBlockId($this.$worldObj1, $var4, $var5, $var6); $var25 = nms_World_getBlockId($this.$worldObj1, $var4, $var5 - 1 | 0, $var6); if (!$var7_0) { nms_Block_$callClinit(); if (nms_Block_opaqueCubeLookup.data[$var25]) { $var3 = $this.$explosionRNG; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); while (true) { $var25 = $var7_0 % 3 | 0; if ((($var7_0 - $var25 | 0) + $var2$index_1 | 0) >= 0) break; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); } if (!$var25) { $var3 = $this.$worldObj1; $par1 = nms_Block_fire.$blockID; $var7_0 = 0; $var25 = 3; $ptr = 7; continue main; } } } $var2$index_2 = $var2$index_0; } } } return; } if ($var2$index_0 < var$2.$modCount) break; $var2$index_1 = $var2$index + 1 | 0; $var3 = var$2.$get($var2$index); $var4 = $var3.$x0; $var5 = $var3.$y0; $var6 = $var3.$z0; $var7 = nms_World_getBlockId($this.$worldObj1, $var4, $var5, $var6); if ($par1) { var$21 = $var4; $var3 = $this.$worldObj1.$rand0; var$4 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$4; $var8 = var$21 + Long_lo(Long_shru(var$4, $var25)) / 1.6777216E7; var$21 = $var5; var$4 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$4; $var10 = var$21 + Long_lo(Long_shru(var$4, $var25)) / 1.6777216E7; var$21 = $var6; var$22 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var12 = var$21 + Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7; $var14 = $var8 - $this.$explosionX; $var16 = $var10 - $this.$explosionY; $var18 = $var12 - $this.$explosionZ; $var20 = jl_Math_sqrt($var14 * $var14 + $var16 * $var16 + $var18 * $var18); $var14 = $var14 / $var20; $var16 = $var16 / $var20; $var18 = $var18 / $var20; $var22 = 0.5 / ($var20 / $this.$explosionSize + 0.1); $var24 = $this.$worldObj1; $var3 = $var24.$rand0; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; var$21 = Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var20 = $var22 * (var$21 * Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7 + 0.30000001192092896); $var14 = $var14 * $var20; $var16 = $var16 * $var20; $var18 = $var18 * $var20; var$25 = $rt_s(1264); $var22 = ($var8 + $this.$explosionX * 1.0) / 2.0; var$26 = ($var10 + $this.$explosionY * 1.0) / 2.0; $var20 = ($var12 + $this.$explosionZ * 1.0) / 2.0; $var7_0 = 0; $var3 = $var24.$worldAccesses; $var2$index = $rt_compare($var7_0, $var3.$size0); if ($var2$index < 0) { if ($var7_0 >= 0 && $var2$index < 0) { $var3 = $var3.$array.data[$var7_0]; $ptr = 6; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var24 = $this.$worldObj1; var$25 = $rt_s(1479); $var2$index = 0; $var3 = $var24.$worldAccesses; $var7_0 = $rt_compare($var2$index, $var3.$size0); if ($var7_0 < 0) { if ($var2$index >= 0 && $var7_0 < 0) { $var3 = $var3.$array.data[$var2$index]; $ptr = 8; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } } if ($var7 > 0) { nms_Block_$callClinit(); $var24 = nms_Block_blocksList.data[$var7]; if (!$var24.$canDropFromExplosion($this)) { $var3 = $this.$worldObj1; $var7_0 = 0; $var2$index = 0; $var7 = 3; $ptr = 3; continue main; } $var3 = $this.$worldObj1; $var7_0 = nms_World_getBlockMetadata($var3, $var4, $var5, $var6); var$28 = 1.0 / $this.$explosionSize; $var2$index = 0; $ptr = 5; continue main; } $var2$index = $var2$index_1; } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); case 5: $var24.$dropBlockAsItemWithChance($var3, $var4, $var5, $var6, $var7_0, var$28, $var2$index); if ($rt_suspending()) { break main; } $var3 = $this.$worldObj1; $var7_0 = 0; $var2$index = 0; $var7 = 3; $ptr = 3; continue main; case 6: nms_RenderGlobal_doSpawnParticle($var3, var$25, $var22, var$26, $var20, $var14, $var16, $var18); if ($rt_suspending()) { break main; } $var7_0 = $var7_0 + 1 | 0; f: while (true) { $var3 = $var24.$worldAccesses; $var2$index = $rt_compare($var7_0, $var3.$size0); if ($var2$index < 0) { if ($var7_0 >= 0 && $var2$index < 0) { $var3 = $var3.$array.data[$var7_0]; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var24 = $this.$worldObj1; var$25 = $rt_s(1479); $var2$index = 0; $var3 = $var24.$worldAccesses; $var7_0 = $rt_compare($var2$index, $var3.$size0); if ($var7_0 < 0) { if ($var2$index >= 0 && $var7_0 < 0) { $var3 = $var3.$array.data[$var2$index]; $ptr = 8; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while (true) { if ($var7 > 0) { nms_Block_$callClinit(); $var24 = nms_Block_blocksList.data[$var7]; if (!$var24.$canDropFromExplosion($this)) { $var3 = $this.$worldObj1; $var7_0 = 0; $var2$index = 0; $var7 = 3; $ptr = 3; continue main; } $var3 = $this.$worldObj1; $var7_0 = nms_World_getBlockMetadata($var3, $var4, $var5, $var6); var$28 = 1.0 / $this.$explosionSize; $var2$index = 0; $ptr = 5; continue main; } $var2$index = $var2$index_1; if (!($var2$index >= var$16 ? 0 : 1)) { e: { if ($this.$isFlaming) { var$2 = $this.$affectedBlockPositions; $var2$index_2 = 0; var$16 = var$2.$modCount; $var7 = var$2.$size(); $var2$index = 17; $var2$index_1 = 2; while (true) { if (!($var2$index_2 >= $var7 ? 0 : 1)) break e; if (var$16 < var$2.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var2$index_0 = $var2$index_2 + 1 | 0; $var3 = var$2.$get($var2$index_2); $var4 = $var3.$x0; $var5 = $var3.$y0; $var6 = $var3.$z0; $var7_0 = nms_World_getBlockId($this.$worldObj1, $var4, $var5, $var6); $var25 = nms_World_getBlockId($this.$worldObj1, $var4, $var5 - 1 | 0, $var6); if (!$var7_0) { nms_Block_$callClinit(); if (nms_Block_opaqueCubeLookup.data[$var25]) { $var3 = $this.$explosionRNG; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); while (true) { $var25 = $var7_0 % 3 | 0; if ((($var7_0 - $var25 | 0) + $var2$index_1 | 0) >= 0) break; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); } if (!$var25) { $var3 = $this.$worldObj1; $par1 = nms_Block_fire.$blockID; $var7_0 = 0; $var25 = 3; $ptr = 7; continue main; } } } $var2$index_2 = $var2$index_0; } } } return; } if ($var2$index_0 < var$2.$modCount) break f; $var2$index_1 = $var2$index + 1 | 0; $var3 = var$2.$get($var2$index); $var4 = $var3.$x0; $var5 = $var3.$y0; $var6 = $var3.$z0; $var7 = nms_World_getBlockId($this.$worldObj1, $var4, $var5, $var6); if (!$par1) continue; else break; } var$21 = $var4; $var3 = $this.$worldObj1.$rand0; var$4 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$4; $var8 = var$21 + Long_lo(Long_shru(var$4, $var25)) / 1.6777216E7; var$21 = $var5; var$4 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$4; $var10 = var$21 + Long_lo(Long_shru(var$4, $var25)) / 1.6777216E7; var$21 = $var6; var$22 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var12 = var$21 + Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7; $var14 = $var8 - $this.$explosionX; $var16 = $var10 - $this.$explosionY; $var18 = $var12 - $this.$explosionZ; $var20 = jl_Math_sqrt($var14 * $var14 + $var16 * $var16 + $var18 * $var18); $var14 = $var14 / $var20; $var16 = $var16 / $var20; $var18 = $var18 / $var20; $var22 = 0.5 / ($var20 / $this.$explosionSize + 0.1); $var24 = $this.$worldObj1; $var3 = $var24.$rand0; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; var$21 = Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var20 = $var22 * (var$21 * Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7 + 0.30000001192092896); $var14 = $var14 * $var20; $var16 = $var16 * $var20; $var18 = $var18 * $var20; var$25 = $rt_s(1264); $var22 = ($var8 + $this.$explosionX * 1.0) / 2.0; var$26 = ($var10 + $this.$explosionY * 1.0) / 2.0; $var20 = ($var12 + $this.$explosionZ * 1.0) / 2.0; $var7_0 = 0; } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); case 7: nms_World_setBlock($var3, $var4, $var5, $var6, $par1, $var7_0, $var25); if ($rt_suspending()) { break main; } while (true) { $var2$index_2 = $var2$index_0; if (!($var2$index_2 >= $var7 ? 0 : 1)) break; if (var$16 < var$2.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var2$index_0 = $var2$index_2 + 1 | 0; $var3 = var$2.$get($var2$index_2); $var4 = $var3.$x0; $var5 = $var3.$y0; $var6 = $var3.$z0; $var7_0 = nms_World_getBlockId($this.$worldObj1, $var4, $var5, $var6); $var25 = nms_World_getBlockId($this.$worldObj1, $var4, $var5 - 1 | 0, $var6); if ($var7_0) continue; nms_Block_$callClinit(); if (!nms_Block_opaqueCubeLookup.data[$var25]) continue; $var3 = $this.$explosionRNG; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); while (true) { $var25 = $var7_0 % 3 | 0; if ((($var7_0 - $var25 | 0) + $var2$index_1 | 0) >= 0) break; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); } if ($var25) continue; else { $var3 = $this.$worldObj1; $par1 = nms_Block_fire.$blockID; $var7_0 = 0; $var25 = 3; continue main; } } return; case 8: nms_RenderGlobal_doSpawnParticle($var3, var$25, $var8, $var10, $var12, $var14, $var16, $var18); if ($rt_suspending()) { break main; } $var2$index = $var2$index + 1 | 0; f: while (true) { $var3 = $var24.$worldAccesses; $var7_0 = $rt_compare($var2$index, $var3.$size0); if ($var7_0 < 0) { if ($var2$index >= 0 && $var7_0 < 0) { $var3 = $var3.$array.data[$var2$index]; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while (true) { if ($var7 > 0) { nms_Block_$callClinit(); $var24 = nms_Block_blocksList.data[$var7]; if (!$var24.$canDropFromExplosion($this)) { $var3 = $this.$worldObj1; $var7_0 = 0; $var2$index = 0; $var7 = 3; $ptr = 3; continue main; } $var3 = $this.$worldObj1; $var7_0 = nms_World_getBlockMetadata($var3, $var4, $var5, $var6); var$28 = 1.0 / $this.$explosionSize; $var2$index = 0; $ptr = 5; continue main; } $var2$index = $var2$index_1; if (!($var2$index >= var$16 ? 0 : 1)) { e: { if ($this.$isFlaming) { var$2 = $this.$affectedBlockPositions; $var2$index_2 = 0; var$16 = var$2.$modCount; $var7 = var$2.$size(); $var2$index = 17; $var2$index_1 = 2; while (true) { if (!($var2$index_2 >= $var7 ? 0 : 1)) break e; if (var$16 < var$2.$modCount) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var2$index_0 = $var2$index_2 + 1 | 0; $var3 = var$2.$get($var2$index_2); $var4 = $var3.$x0; $var5 = $var3.$y0; $var6 = $var3.$z0; $var7_0 = nms_World_getBlockId($this.$worldObj1, $var4, $var5, $var6); $var25 = nms_World_getBlockId($this.$worldObj1, $var4, $var5 - 1 | 0, $var6); if (!$var7_0) { nms_Block_$callClinit(); if (nms_Block_opaqueCubeLookup.data[$var25]) { $var3 = $this.$explosionRNG; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); while (true) { $var25 = $var7_0 % 3 | 0; if ((($var7_0 - $var25 | 0) + $var2$index_1 | 0) >= 0) break; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var7_0 = Long_lo(Long_shru(var$22, $var2$index)); } if (!$var25) { $var3 = $this.$worldObj1; $par1 = nms_Block_fire.$blockID; $var7_0 = 0; $var25 = 3; $ptr = 7; continue main; } } } $var2$index_2 = $var2$index_0; } } } return; } if ($var2$index_0 < var$2.$modCount) break f; $var2$index_1 = $var2$index + 1 | 0; $var3 = var$2.$get($var2$index); $var4 = $var3.$x0; $var5 = $var3.$y0; $var6 = $var3.$z0; $var7 = nms_World_getBlockId($this.$worldObj1, $var4, $var5, $var6); if (!$par1) continue; else break; } var$21 = $var4; $var3 = $this.$worldObj1.$rand0; var$4 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$4; $var8 = var$21 + Long_lo(Long_shru(var$4, $var25)) / 1.6777216E7; var$21 = $var5; var$4 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$4; $var10 = var$21 + Long_lo(Long_shru(var$4, $var25)) / 1.6777216E7; var$21 = $var6; var$22 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var12 = var$21 + Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7; $var14 = $var8 - $this.$explosionX; $var16 = $var10 - $this.$explosionY; $var18 = $var12 - $this.$explosionZ; $var20 = jl_Math_sqrt($var14 * $var14 + $var16 * $var16 + $var18 * $var18); $var14 = $var14 / $var20; $var16 = $var16 / $var20; $var18 = $var18 / $var20; $var22 = 0.5 / ($var20 / $this.$explosionSize + 0.1); $var24 = $this.$worldObj1; $var3 = $var24.$rand0; var$22 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; var$21 = Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$22; $var20 = $var22 * (var$21 * Long_lo(Long_shru(var$22, $var25)) / 1.6777216E7 + 0.30000001192092896); $var14 = $var14 * $var20; $var16 = $var16 * $var20; $var18 = $var18 * $var20; var$25 = $rt_s(1264); $var22 = ($var8 + $this.$explosionX * 1.0) / 2.0; var$26 = ($var10 + $this.$explosionY * 1.0) / 2.0; $var20 = ($var12 + $this.$explosionZ * 1.0) / 2.0; $var7_0 = 0; $var3 = $var24.$worldAccesses; $var2$index = $rt_compare($var7_0, $var3.$size0); if ($var2$index < 0) { if ($var7_0 >= 0 && $var2$index < 0) { $var3 = $var3.$array.data[$var7_0]; $ptr = 6; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $var24 = $this.$worldObj1; var$25 = $rt_s(1479); $var2$index = 0; } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, $var3, var$4, $var4, $var5, $var20, $var8, $var10, $var12, $var14, $var16, $var24, $var2$index, $var2$index_0, var$16, $var25, $var2$index_1, $var6, $var7, var$21, var$22, $var18, $var22, var$25, var$26, $var7_0, var$28, $var2$index_2, $ptr); }; function nms_Tuple() { let a = this; jl_Object.call(a); a.$first0 = null; a.$second = null; } let nms_Tuple__init_0 = ($this, $par1Obj, $par2Obj) => { $this.$first0 = $par1Obj; $this.$second = $par2Obj; }, nms_Tuple__init_ = (var_0, var_1) => { let var_2 = new nms_Tuple(); nms_Tuple__init_0(var_2, var_0, var_1); return var_2; }, otcir_Flags = $rt_classWithoutFields(), otcir_Flags__init_ = $this => { return; }, otcir_Flags__init_0 = () => { let var_0 = new otcir_Flags(); otcir_Flags__init_(var_0); return var_0; }, otcir_Flags_getModifiers = ($flags, $access) => { let $modifiers; a: { $modifiers = 0; switch ($access) { case 1: $modifiers = 2; break a; case 2: $modifiers = 4; break a; case 3: $modifiers = 1; break a; default: } } $access = $flags >>> 6 | 0; return $modifiers | $access & 8 | $flags << 2 & 16 | $access & 32 | ($flags >>> 8 | 0) & 64 | ($flags >>> 5 | 0) & 128 | $flags & 256 | $flags << 8 & 512 | $flags << 10 & 1024 | $flags << 1 & 2048; }, otcir_Converter = $rt_classWithoutFields(), otcir_Converter__init_ = $this => { return; }, otcir_Converter__init_0 = () => { let var_0 = new otcir_Converter(); otcir_Converter__init_(var_0); return var_0; }, nms_GuiButtonLanguage = $rt_classWithoutFields(nms_GuiButton), nms_GuiButtonLanguage_drawButton = ($this, $par1Minecraft, $par2, $par3) => { let var$4, $var4, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Minecraft = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$drawButton0) return; nms_GuiButton_$callClinit(); $par1Minecraft = nms_GuiButton_buttonTextures; $ptr = 1; case 1: a: { nle_TextureLocation_bindTexture($par1Minecraft); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; var$4 = $this.$xPosition; if ($par2 >= var$4) { $var4 = $this.$yPosition; if ($par3 >= $var4 && $par2 < (var$4 + $this.$width0 | 0) && $par3 < ($var4 + $this.$height0 | 0)) { $var4 = 1; break a; } } $var4 = 0; } $var5 = 106; if ($var4) $var5 = $var5 + $this.$height0 | 0; nms_Gui_drawTexturedModalRect($this, var$4, $this.$yPosition, 0, $var5, $this.$width0, $this.$height0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Minecraft, $par2, $par3, var$4, $var4, $var5, $ptr); }, nms_ICrafting = $rt_classWithoutFields(0); function nms_CreativeCrafting() { jl_Object.call(this); this.$mc15 = null; } let nms_CreativeCrafting_sendContainerAndContentsToPlayer = ($this, $par1Container, $par2List) => { return; }, nms_CreativeCrafting_sendSlotContents = ($this, $par1Container, $par2, $par3ItemStack) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $par1Container = $this.$mc15.$playerController; if ($par1Container.$currentGameType !== nms_EnumGameType_CREATIVE ? 0 : 1) { var$4 = $par1Container.$netClientHandler; $par1Container = new nms_Packet107CreativeSetSlot; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $par1Container.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $par1Container.$slot = $par2; if ($par3ItemStack === null) var$5 = null; else { var$5 = new nms_ItemStack; $par2 = $par3ItemStack.$itemID; var$6 = $par3ItemStack.$stackSize; var$7 = $par3ItemStack.$itemDamage; nms_ItemStack_$callClinit(); var$5.$itemID = $par2; var$5.$stackSize = var$6; var$5.$itemDamage = var$7; if (var$7 < 0) var$5.$itemDamage = 0; $par3ItemStack = $par3ItemStack.$stackTagCompound; if ($par3ItemStack !== null) { var$8 = new nms_NBTTagCompound; var$9 = $par3ItemStack.$name; if (var$9 === null) var$9 = $rt_s(18); var$8.$name = var$9; var$9 = new ju_HashMap; ju_AbstractMap__init_(var$9); $par2 = ju_HashMap_calculateCapacity(16); var$9.$elementCount = 0; var$9.$elementData = ju_HashMap_newElementArray(var$9, $par2); var$9.$loadFactor = 0.75; ju_HashMap_computeThreshold(var$9); var$8.$tagMap = var$9; var$10 = $par3ItemStack.$tagMap; if (var$10.$cachedKeySet === null) { var$9 = new ju_HashMap$1; var$9.$this$0 = var$10; jl_Object__init_(var$9); var$10.$cachedKeySet = var$9; } var$10 = var$10.$cachedKeySet.$iterator(); while (var$10.$hasNext()) { var$11 = var$10.$next(); var$9 = $par3ItemStack.$tagMap; if (var$11 === null) { var$12 = var$9.$elementData.data[0]; while (var$12 !== null && var$12.$key !== null) { var$12 = var$12.$next3; } } else { a: { if (!var$11.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$11.$nativeString.length) break a; var$11.$hashCode1 = (31 * var$11.$hashCode1 | 0) + var$11.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$6 = var$11.$hashCode1; var$13 = var$9.$elementData.data; var$12 = var$13[var$6 & (var$13.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$6) { var$9 = var$12.$key; if (var$11 !== var$9 && !jl_String_equals(var$11, var$9) ? 0 : 1) break; } var$12 = var$12.$next3; } } var$9 = var$12 === null ? null : var$12.$value1; var$9 = var$9.$copy(); var$12 = var$8.$tagMap; if (var$11 !== null) var$9.$name = var$11; else var$9.$name = $rt_s(18); ju_HashMap_putImpl(var$12, var$11, var$9); } var$5.$stackTagCompound = var$8; } } $par1Container.$itemStack0 = var$5; if (!var$4.$disconnected) var$4.$netManager.$addToSendQueue($par1Container); } }, nms_CreativeCrafting_sendProgressBarUpdate = ($this, $par1Container, $par2, $par3) => { return; }; function nle_GuiScreenEditCape() { let a = this; nms_GuiScreen.call(a); a.$dropDownOpen0 = 0; a.$dropDownOptions0 = null; a.$slotsVisible0 = 0; a.$selectedSlot0 = 0; a.$scrollPos0 = 0; a.$skinsHeight0 = 0; a.$dragging = 0; a.$mousex0 = 0; a.$mousey0 = 0; a.$screenTitle5 = null; a.$parent5 = null; a.$skinToShow = 0; } let nle_GuiScreenEditCape_defaultVanillaCapeNames = null, nle_GuiScreenEditCape_gui = null, nle_GuiScreenEditCape_$callClinit = () => { nle_GuiScreenEditCape_$callClinit = $rt_eraseClinit(nle_GuiScreenEditCape); nle_GuiScreenEditCape__clinit_(); }, nle_GuiScreenEditCape__init_0 = ($this, $parent, $skinToShow) => { nle_GuiScreenEditCape_$callClinit(); nms_GuiScreen__init_($this); $this.$dropDownOpen0 = 0; $this.$slotsVisible0 = 0; $this.$selectedSlot0 = 0; $this.$scrollPos0 = (-1); $this.$skinsHeight0 = 0; $this.$dragging = 0; $this.$mousex0 = 0; $this.$mousey0 = 0; $this.$screenTitle5 = $rt_s(3485); $this.$parent5 = $parent; $this.$skinToShow = $skinToShow; nle_GuiScreenEditCape_reconcatDD($this); nle_EaglerProfile_$callClinit(); $skinToShow = nle_EaglerProfile_presetCapeId; $this.$selectedSlot0 = $skinToShow < 0 ? nle_EaglerProfile_customCapeId : $skinToShow + nle_EaglerProfile_capes.$size0 | 0; }, nle_GuiScreenEditCape__init_ = (var_0, var_1) => { let var_2 = new nle_GuiScreenEditCape(); nle_GuiScreenEditCape__init_0(var_2, var_0, var_1); return var_2; }, nle_GuiScreenEditCape_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; $this.$screenTitle5 = nms_StringTranslate_translateKey($var1, $rt_s(3486)); var$2 = $this.$buttonList; var$3 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 100 | 0; var$5 = ($this.$height / 6 | 0) + 168 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(646)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$3.$width0 = 200; var$3.$height0 = 20; var$3.$enabled = 1; var$3.$drawButton0 = 1; var$3.$id0 = 200; var$3.$xPosition = var$4; var$3.$yPosition = var$5; var$3.$width0 = 200; var$3.$height0 = 20; var$3.$displayString = var$6; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$7 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$7[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$buttonList; var$3 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 21 | 0; var$8 = ($this.$height / 6 | 0) + 81 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(3487)); var$3.$width0 = 200; var$3.$height0 = 20; var$3.$enabled = 1; var$3.$drawButton0 = 1; var$3.$id0 = 2; var$3.$xPosition = var$4; var$3.$yPosition = var$8; var$3.$width0 = 71; var$3.$height0 = 20; var$3.$displayString = var$6; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$7 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$7[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = $this.$buttonList; var$2 = new nms_GuiButton; var$5 = (($this.$width / 2 | 0) - 21 | 0) + 71 | 0; var$4 = ($this.$height / 6 | 0) + 81 | 0; var$3 = nms_StringTranslate_translateKey($var1, $rt_s(648)); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 3; var$2.$xPosition = var$5; var$2.$yPosition = var$4; var$2.$width0 = 72; var$2.$height0 = 20; var$2.$displayString = var$3; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$7 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$7[var$5] = var$2; var$6.$modCount = var$6.$modCount + 1 | 0; }, nle_GuiScreenEditCape_onGuiClosed = $this => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; }, nle_GuiScreenEditCape_reconcatDD = $this => { let var$1, var$2, $n, var$4, $i, var$6, var$7; nle_EaglerProfile_$callClinit(); var$1 = nle_EaglerProfile_capes; var$2 = var$1.$size0; $n = $rt_createArray(jl_String, var$2); var$4 = $n.data; $i = 0; var$6 = var$4.length; while (true) { if ($i >= var$6) { nle_GuiScreenEditCape_$callClinit(); var$4 = nle_GuiScreenEditCape_defaultVanillaCapeNames; $i = var$4.data.length; var$7 = $rt_createArray(jl_String, var$6 + $i | 0); jl_System_fastArraycopy($n, 0, var$7, 0, var$6); jl_System_fastArraycopy(var$4, 0, var$7, var$6, $i); $this.$dropDownOptions0 = var$7; return; } if ($i < 0) break; if ($i >= var$2) break; var$4[$i] = var$1.$array.data[$i].$name18; $i = $i + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nle_GuiScreenEditCape_drawScreen = ($this, $mx, $my, $par3) => { let $skinX, var$5, var$6, $skinY, $skinWidth, $skinHeight, $i, $xx, $yy, $scrollerPos, var$14, $scrollerSize, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$scrollerSize = $thread.pop();var$14 = $thread.pop();$scrollerPos = $thread.pop();$yy = $thread.pop();$xx = $thread.pop();$i = $thread.pop();$skinHeight = $thread.pop();$skinWidth = $thread.pop();$skinY = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$skinX = $thread.pop();$par3 = $thread.pop();$my = $thread.pop();$mx = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); $skinX = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; var$6 = $this.$screenTitle5; $skinY = $this.$width / 2 | 0; $skinWidth = 15; $skinX = 16777215; $skinY = $skinY - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; $skinHeight = $skinY + 1 | 0; $i = 16; $xx = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, $skinX); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; var$6 = $this.$screenTitle5; $skinY = $this.$width / 2 | 0; $skinWidth = 15; $skinX = 16777215; $skinY = $skinY - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; $skinHeight = $skinY + 1 | 0; $i = 16; $xx = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, $skinHeight, $i, $skinX, $xx); if ($rt_suspending()) { break main; } $i = $tmp; $skinHeight = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, $skinY, $skinWidth, $skinX, $skinHeight); if ($rt_suspending()) { break main; } $skinX = $tmp; var$5 = $this.$fontRenderer; var$6 = $rt_s(3488); $skinWidth = ($this.$width / 2 | 0) - 20 | 0; $skinX = ($this.$height / 6 | 0) + 37 | 0; $skinY = 10526880; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; $skinHeight = $skinWidth + 1 | 0; $i = $skinX + 1 | 0; $xx = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$5, var$6, $skinHeight, $i, $skinY, $xx); if ($rt_suspending()) { break main; } $i = $tmp; $skinHeight = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$5, var$6, $skinWidth, $skinX, $skinY, $skinHeight); if ($rt_suspending()) { break main; } $skinX = $tmp; a: { $this.$mousex0 = $mx; $this.$mousey0 = $my; $skinX = ($this.$width / 2 | 0) - 120 | 0; $skinY = ($this.$height / 6 | 0) + 8 | 0; $skinWidth = $skinX + 80 | 0; $skinHeight = $skinY + 130 | 0; nms_Gui_drawRect($skinX, $skinY, $skinWidth, $skinHeight, (-6250336)); nms_Gui_drawRect($skinX + 1 | 0, $skinY + 1 | 0, $skinWidth - 1 | 0, $skinHeight - 1 | 0, (-16777195)); if (!$this.$dropDownOpen0) { $skinX = 0; var$5 = $this.$buttonList; $skinY = $rt_compare($skinX, var$5.$size0); if ($skinY >= 0) break a; if ($skinX >= 0 && $skinY < 0) { var$5 = var$5.$array.data[$skinX]; var$6 = $this.$mc; $ptr = 9; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $skinX = (-1); $skinY = (-1); $skinWidth = 0; var$5 = $this.$buttonList; $skinHeight = $rt_compare($skinWidth, var$5.$size0); if ($skinHeight < 0) { if ($skinWidth >= 0 && $skinHeight < 0) { var$5 = var$5.$array.data[$skinWidth]; var$6 = $this.$mc; $ptr = 10; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } } $skinX = ($this.$width / 2 | 0) - 20 | 0; $skinY = ($this.$height / 6 | 0) + 53 | 0; $skinWidth = $skinX + 140 | 0; $skinHeight = $skinY + 22 | 0; nms_Gui_drawRect($skinX, $skinY, $skinWidth, $skinHeight, (-6250336)); $i = $skinX + 1 | 0; $xx = $skinY + 1 | 0; $yy = $skinWidth - 21 | 0; $skinHeight = $skinHeight - 1 | 0; nms_Gui_drawRect($i, $xx, $yy, $skinHeight, (-16777216)); nms_Gui_drawRect($skinWidth - 20 | 0, $xx, $skinWidth - 1 | 0, $skinHeight, (-16777216)); nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nle_GuiScreenEditCape_$callClinit(); var$5 = nle_GuiScreenEditCape_gui; $ptr = 6; case 6: nle_TextureLocation_bindTexture(var$5); if ($rt_suspending()) { break main; } nms_Gui_drawTexturedModalRect($this, $skinWidth - 18 | 0, $skinY + 3 | 0, 0, 240, 16, 16); var$5 = $this.$fontRenderer; var$6 = $this.$dropDownOptions0.data[$this.$selectedSlot0]; $skinX = $skinX + 5 | 0; $skinY = $skinY + 7 | 0; $skinWidth = 14737632; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; $skinHeight = $skinX + 1 | 0; $i = $skinY + 1 | 0; $xx = 1; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$5, var$6, $skinHeight, $i, $skinWidth, $xx); if ($rt_suspending()) { break main; } $i = $tmp; $skinHeight = 0; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString(var$5, var$6, $skinX, $skinY, $skinWidth, $skinHeight); if ($rt_suspending()) { break main; } $skinX = $tmp; $skinX = $this.$selectedSlot0; nle_EaglerProfile_$callClinit(); $skinWidth = nle_EaglerProfile_capes.$size0; $skinY = $skinX >= $skinWidth ? (-1) : $skinX; nle_EaglerProfile_customCapeId = $skinY; nle_EaglerProfile_presetCapeId = $skinY >= 0 ? (-1) : $skinX - $skinWidth | 0; $skinY = ($this.$width / 2 | 0) - 20 | 0; $skinWidth = $this.$height; $yy = ($skinWidth / 6 | 0) + 74 | 0; $skinWidth = (($skinWidth - $yy | 0) - 4 | 0) / 10 | 0; $this.$slotsVisible0 = $skinWidth; $i = $this.$dropDownOptions0.data.length; if ($skinWidth > $i) $this.$slotsVisible0 = $i; $xx = $this.$slotsVisible0; $scrollerPos = ($xx * 10 | 0) + 7 | 0; $this.$skinsHeight0 = $scrollerPos; if ($this.$scrollPos0 == (-1)) $this.$scrollPos0 = $skinX - 2 | 0; $skinX = $this.$scrollPos0; $skinWidth = $i - $xx | 0; if ($skinX > $skinWidth) $this.$scrollPos0 = $skinWidth; if ($this.$scrollPos0 < 0) $this.$scrollPos0 = 0; if ($this.$dropDownOpen0) { var$14 = $skinY + 140 | 0; $skinHeight = $yy + $scrollerPos | 0; nms_Gui_drawRect($skinY, $yy, var$14, $skinHeight, (-6250336)); $scrollerSize = $skinY + 1 | 0; $i = $yy + 1 | 0; $skinX = var$14 - 1 | 0; nms_Gui_drawRect($scrollerSize, $i, $skinX, $skinHeight - 1 | 0, (-16777216)); $i = 0; $skinWidth = $skinY + 5 | 0; $skinHeight = $yy + 5 | 0; $xx = $skinWidth + 1 | 0; var$16 = $rt_compare($mx, $skinY); var$17 = $rt_compare($mx, var$14 - 10 | 0); while (true) { $skinY = $this.$slotsVisible0; if ($i >= $skinY) break; var$18 = $i + $this.$scrollPos0 | 0; if (var$18 < $this.$dropDownOptions0.data.length) { if ($this.$selectedSlot0 == var$18) { $skinY = $yy + ($i * 10 | 0) | 0; nms_Gui_drawRect($scrollerSize, $skinY + 4 | 0, $skinX, $skinY + 14 | 0, 2013265919); } else if (var$16 >= 0 && var$17 < 0) { $skinY = $yy + ($i * 10 | 0) | 0; if ($my >= ($skinY + 5 | 0) && $my < ($skinY + 15 | 0)) nms_Gui_drawRect($scrollerSize, $skinY + 4 | 0, $skinX, $skinY + 14 | 0, 1442840575); } var$5 = $this.$fontRenderer; var$6 = $this.$dropDownOptions0.data[$i + $this.$scrollPos0 | 0]; $skinY = $skinHeight + ($i * 10 | 0) | 0; var$18 = 14737632; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$19 = $skinY + 1 | 0; var$20 = 1; $ptr = 12; continue main; } $i = $i + 1 | 0; } $skinY = $rt_imul($scrollerPos, $skinY); $skinWidth = $this.$dropDownOptions0.data.length; $scrollerSize = $skinY / $skinWidth | 0; $scrollerPos = $rt_imul($scrollerPos, $this.$scrollPos0) / $skinWidth | 0; $skinY = var$14 - 4 | 0; $skinWidth = $yy + $scrollerPos | 0; nms_Gui_drawRect($skinY, $skinWidth + 1 | 0, $skinX, $skinWidth + $scrollerSize | 0, (-7829368)); } $xx = ($this.$width / 2 | 0) - 80 | 0; $yy = ($this.$height / 6 | 0) + 130 | 0; $skinX = $this.$skinToShow | 65536; $ptr = 11; continue main; case 9: var$5.$drawButton(var$6, $mx, $my); if ($rt_suspending()) { break main; } $skinX = $skinX + 1 | 0; var$5 = $this.$buttonList; $skinY = $rt_compare($skinX, var$5.$size0); if ($skinY < 0) { if ($skinX >= 0 && $skinY < 0) { var$5 = var$5.$array.data[$skinX]; var$6 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $skinX = ($this.$width / 2 | 0) - 20 | 0; $skinY = ($this.$height / 6 | 0) + 53 | 0; $skinWidth = $skinX + 140 | 0; $skinHeight = $skinY + 22 | 0; nms_Gui_drawRect($skinX, $skinY, $skinWidth, $skinHeight, (-6250336)); $i = $skinX + 1 | 0; $xx = $skinY + 1 | 0; $yy = $skinWidth - 21 | 0; $skinHeight = $skinHeight - 1 | 0; nms_Gui_drawRect($i, $xx, $yy, $skinHeight, (-16777216)); nms_Gui_drawRect($skinWidth - 20 | 0, $xx, $skinWidth - 1 | 0, $skinHeight, (-16777216)); nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nle_GuiScreenEditCape_$callClinit(); var$5 = nle_GuiScreenEditCape_gui; $ptr = 6; continue main; case 10: var$5.$drawButton(var$6, $skinX, $skinY); if ($rt_suspending()) { break main; } $skinWidth = $skinWidth + 1 | 0; var$5 = $this.$buttonList; $skinHeight = $rt_compare($skinWidth, var$5.$size0); if ($skinHeight < 0) { if ($skinWidth >= 0 && $skinHeight < 0) { var$5 = var$5.$array.data[$skinWidth]; var$6 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $skinX = ($this.$width / 2 | 0) - 20 | 0; $skinY = ($this.$height / 6 | 0) + 53 | 0; $skinWidth = $skinX + 140 | 0; $skinHeight = $skinY + 22 | 0; nms_Gui_drawRect($skinX, $skinY, $skinWidth, $skinHeight, (-6250336)); $i = $skinX + 1 | 0; $xx = $skinY + 1 | 0; $yy = $skinWidth - 21 | 0; $skinHeight = $skinHeight - 1 | 0; nms_Gui_drawRect($i, $xx, $yy, $skinHeight, (-16777216)); nms_Gui_drawRect($skinWidth - 20 | 0, $xx, $skinWidth - 1 | 0, $skinHeight, (-16777216)); nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nle_GuiScreenEditCape_$callClinit(); var$5 = nle_GuiScreenEditCape_gui; $ptr = 6; continue main; case 11: nle_DefaultSkinRenderer_renderPlayerPreview($xx, $yy, $mx, $my, $skinX); if ($rt_suspending()) { break main; } return; case 12: $tmp = nms_FontRenderer_renderString(var$5, var$6, $xx, var$19, var$18, var$20); if ($rt_suspending()) { break main; } var$20 = $tmp; var$19 = 0; $ptr = 13; case 13: $tmp = nms_FontRenderer_renderString(var$5, var$6, $skinWidth, $skinY, var$18, var$19); if ($rt_suspending()) { break main; } $skinY = $tmp; while (true) { $i = $i + 1 | 0; $skinY = $this.$slotsVisible0; if ($i >= $skinY) break; var$18 = $i + $this.$scrollPos0 | 0; if (var$18 >= $this.$dropDownOptions0.data.length) continue; else { if ($this.$selectedSlot0 == var$18) { $skinY = $yy + ($i * 10 | 0) | 0; nms_Gui_drawRect($scrollerSize, $skinY + 4 | 0, $skinX, $skinY + 14 | 0, 2013265919); } else if (var$16 >= 0 && var$17 < 0) { $skinY = $yy + ($i * 10 | 0) | 0; if ($my >= ($skinY + 5 | 0) && $my < ($skinY + 15 | 0)) nms_Gui_drawRect($scrollerSize, $skinY + 4 | 0, $skinX, $skinY + 14 | 0, 1442840575); } var$5 = $this.$fontRenderer; var$6 = $this.$dropDownOptions0.data[$i + $this.$scrollPos0 | 0]; $skinY = $skinHeight + ($i * 10 | 0) | 0; var$18 = 14737632; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$19 = $skinY + 1 | 0; var$20 = 1; $ptr = 12; continue main; } } $skinY = $rt_imul($scrollerPos, $skinY); $skinWidth = $this.$dropDownOptions0.data.length; $scrollerSize = $skinY / $skinWidth | 0; $scrollerPos = $rt_imul($scrollerPos, $this.$scrollPos0) / $skinWidth | 0; $skinY = var$14 - 4 | 0; $skinWidth = $yy + $scrollerPos | 0; nms_Gui_drawRect($skinY, $skinWidth + 1 | 0, $skinX, $skinWidth + $scrollerSize | 0, (-7829368)); $xx = ($this.$width / 2 | 0) - 80 | 0; $yy = ($this.$height / 6 | 0) + 130 | 0; $skinX = $this.$skinToShow | 65536; $ptr = 11; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $mx, $my, $par3, $skinX, var$5, var$6, $skinY, $skinWidth, $skinHeight, $i, $xx, $yy, $scrollerPos, var$14, $scrollerSize, var$16, var$17, var$18, var$19, var$20, $ptr); }, nle_GuiScreenEditCape_actionPerformed = ($this, $par1GuiButton) => { let var$2, $i, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$i = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if (!$this.$dropDownOpen0) { var$2 = $par1GuiButton.$id0; if (var$2 == 200) { $par1GuiButton = $this.$mc; $i = $this.$parent5; $ptr = 1; continue main; } if (var$2 == 2) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_fileChooser.openFileChooser("png", "image/png"); } else if (var$2 == 3) { nle_EaglerProfile_$callClinit(); $par1GuiButton = nle_EaglerProfile_capes; var$2 = 0; var$4 = $par1GuiButton.$modCount; var$5 = $par1GuiButton.$size(); while (true) { if (!(var$2 >= var$5 ? 0 : 1)) { $par1GuiButton = nle_EaglerProfile_capes; var$6 = $par1GuiButton.$array; var$7 = 0; var$2 = $par1GuiButton.$size0; $i = null; if (var$7 > var$2) { $par1GuiButton = new jl_IllegalArgumentException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } while (var$7 < var$2) { var$8 = var$6.data; var$9 = var$7 + 1 | 0; var$8[var$7] = $i; var$7 = var$9; } $par1GuiButton.$size0 = 0; $par1GuiButton.$modCount = $par1GuiButton.$modCount + 1 | 0; nle_GuiScreenEditCape_$callClinit(); $this.$dropDownOptions0 = nle_GuiScreenEditCape_defaultVanillaCapeNames; $this.$selectedSlot0 = 0; break a; } if (var$4 < $par1GuiButton.$modCount) break; var$9 = var$2 + 1 | 0; $i = $par1GuiButton.$get(var$2); var$10 = $this.$mc.$renderEngine; var$7 = $i.$glTex0; $i = var$10.$textureNameToImageMap; var$10 = $i.$keySet0; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$11 = new jl_Integer; var$11.$value0 = var$7; } var$10 = ju_HashMap_removeByKey(var$10.$backingMap, var$11); nms_IntHashMap_removeEntry($i, var$7); nleg_EaglerAdapterGL30_$callClinit(); $i = nleg_EaglerAdapterGL30_texObjects; if (var$7 < $i.$size4 && var$7 >= 0) { var$6 = $i.$values.data; var$10 = var$6[var$7]; var$6[var$7] = null; $i.$allocatedObjects = $i.$allocatedObjects - 1 | 0; } else var$10 = null; $i = var$10; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.deleteTexture($i.$obj1); var$2 = var$9; } $par1GuiButton = new ju_ConcurrentModificationException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } } } return; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, $i); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $i, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nle_GuiScreenEditCape_updateScreen = $this => { let $skinX, $skinY, $i, $skinWidth, $scrollerSize, var$6, $loadSkin, var$8, $rawSkin, var$10, $i2, $i3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$i3 = $thread.pop();$i2 = $thread.pop();var$10 = $thread.pop();$rawSkin = $thread.pop();var$8 = $thread.pop();$loadSkin = $thread.pop();var$6 = $thread.pop();$scrollerSize = $thread.pop();$skinWidth = $thread.pop();$i = $thread.pop();$skinY = $thread.pop();$skinX = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$dropDownOpen0) $this.$dragging = 0; else { nlea_EaglerAdapterImpl2_$callClinit(); if (!nlea_EaglerAdapterImpl2_buttonStates.data[0]) $this.$dragging = 0; else { $skinX = ($this.$width / 2 | 0) - 20 | 0; $skinY = ($this.$height / 6 | 0) + 74 | 0; $i = $this.$mousex0; $skinX = $skinX + 140 | 0; if ($i >= ($skinX - 10 | 0) && $i < $skinX) { $skinX = $this.$mousey0; if ($skinX >= $skinY && $skinX < ($skinY + $this.$skinsHeight0 | 0)) $this.$dragging = 1; } if ($this.$dragging) { $skinWidth = $this.$skinsHeight0; $skinX = $rt_imul($skinWidth, $this.$slotsVisible0); $i = $this.$dropDownOptions0.data.length; $scrollerSize = $skinX / $i | 0; $this.$scrollPos0 = $rt_imul(($this.$mousey0 - $skinY | 0) - ($scrollerSize / 2 | 0) | 0, $i) / $skinWidth | 0; } } } nlea_EaglerAdapterImpl2_$callClinit(); var$6 = nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult = null; $loadSkin = var$6 !== null ? nleat_TeaVMUtils_wrapByteArrayBuffer(var$6) : null; if ($loadSkin !== null && $loadSkin.data.length > 0) { var$8 = $loadSkin.data.buffer; $ptr = 1; continue main; } return; case 1: $tmp = nlea_EaglerAdapterImpl2_loadPNG0$_asyncCall_$(var$8); if ($rt_suspending()) { break main; } var$8 = $tmp; var$8 = var$8; $skinX = var$8.$w0; if (!($skinX == 32 && var$8.$h == 32) && !($skinX == 64 && var$8.$h == 32)) return; $loadSkin = var$8.$data5; if ($skinX != 64) $rawSkin = $loadSkin; else if (var$8.$h != 32) $rawSkin = $loadSkin; else { $rawSkin = $rt_createIntArray(1024); $scrollerSize = 0; while ($scrollerSize < 32) { jl_System_fastArraycopy($loadSkin, $scrollerSize * 64 | 0, $rawSkin, $scrollerSize * 32 | 0, 32); $scrollerSize = $scrollerSize + 1 | 0; } } $loadSkin = $rawSkin.data; $skinX = $loadSkin.length; $rawSkin = $rt_createByteArray($skinX * 4 | 0); var$10 = $rawSkin.data; $i = 0; while ($i < $skinX) { $i2 = $i * 4 | 0; $i3 = $loadSkin[$i]; var$10[$i2] = $i3 << 24 >> 24; var$10[$i2 + 1 | 0] = $i3 >> 8 << 24 >> 24; var$10[$i2 + 2 | 0] = $i3 >> 16 << 24 >> 24; var$10[$i2 + 3 | 0] = $i3 >> 24 << 24 >> 24; $i = $i + 1 | 0; } var$8 = $rt_str(nlea_EaglerAdapterImpl2_fileChooser.fileChooserResultName); if (var$8.$nativeString.length > 32) var$8 = jl_String_substring(var$8, 0, 32); $skinX = nle_EaglerProfile_addCape(var$8, $rawSkin); if ($skinX != (-1)) { $this.$selectedSlot0 = $skinX; nle_GuiScreenEditCape_reconcatDD($this); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $skinX, $skinY, $i, $skinWidth, $scrollerSize, var$6, $loadSkin, var$8, $rawSkin, var$10, $i2, $i3, $ptr); }, nle_GuiScreenEditCape_handleMouseInput = $this => { let $var1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_handleMouseInput($this); if ($rt_suspending()) { break main; } if ($this.$dropDownOpen0) { $var1 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var1 < 0) $this.$scrollPos0 = $this.$scrollPos0 + 3 | 0; if ($var1 > 0) { $var1 = $this.$scrollPos0 - 3 | 0; $this.$scrollPos0 = $var1; if ($var1 < 0) $this.$scrollPos0 = 0; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $ptr); }, nle_GuiScreenEditCape_keyTyped = ($this, $par1, $par2) => { if ($par2 == 200) { $par1 = $this.$selectedSlot0; if ($par1 > 0) { $par1 = $par1 - 1 | 0; $this.$selectedSlot0 = $par1; $this.$scrollPos0 = $par1 - 2 | 0; } } if ($par2 == 208) { $par2 = $this.$selectedSlot0; if ($par2 < ($this.$dropDownOptions0.data.length - 1 | 0)) { $par1 = $par2 + 1 | 0; $this.$selectedSlot0 = $par1; $this.$scrollPos0 = $par1 - 2 | 0; } } }, nle_GuiScreenEditCape_mouseClicked = ($this, $par1, $par2, $par3) => { let $skinX, $skinY, $skinHeight, var$7, $i, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$i = $thread.pop();var$7 = $thread.pop();$skinHeight = $thread.pop();$skinY = $thread.pop();$skinX = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } if (!$par3) { $par3 = $this.$width / 2 | 0; $skinX = ($par3 + 140 | 0) - 40 | 0; $skinY = ($this.$height / 6 | 0) + 53 | 0; if ($par1 >= $skinX && $par1 < ($skinX + 20 | 0) && $par2 >= $skinY && $par2 < ($skinY + 22 | 0)) $this.$dropDownOpen0 = $this.$dropDownOpen0 ? 0 : 1; $skinX = $par3 - 20 | 0; $skinHeight = $this.$skinsHeight0; var$7 = $rt_compare($par1, $skinX); if (!(var$7 >= 0 && $par1 < ($skinX + 140 | 0) && $par2 >= $skinY && $par2 < (($skinY + $skinHeight | 0) + 22 | 0))) { $this.$dropDownOpen0 = 0; $this.$dragging = 0; } $par3 = $skinY + 21 | 0; if ($this.$dropDownOpen0 && !$this.$dragging) { $i = 0; $skinX = $rt_compare($par1, ($skinX + 140 | 0) - 10 | 0); while (true) { if ($i >= $this.$slotsVisible0) break a; $par1 = $i + $this.$scrollPos0 | 0; if ($par1 < $this.$dropDownOptions0.data.length) { $skinY = $rt_compare($this.$selectedSlot0, $par1); if ($skinY && var$7 >= 0 && $skinX < 0) { $skinHeight = $par3 + ($i * 10 | 0) | 0; if ($par2 >= ($skinHeight + 5 | 0) && $par2 < ($skinHeight + 15 | 0) && $skinY) { $this.$selectedSlot0 = $par1; $this.$dropDownOpen0 = 0; $this.$dragging = 0; } } } $i = $i + 1 | 0; } } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $skinX, $skinY, $skinHeight, var$7, $i, $ptr); }, nle_GuiScreenEditCape__clinit_ = () => { let var$1, var$2, var$3, var$4; nle_GuiScreenEditCape_defaultVanillaCapeNames = $rt_wrapArray(jl_String, [$rt_s(3489), $rt_s(3490), $rt_s(3491), $rt_s(3492), $rt_s(3493), $rt_s(3494), $rt_s(3495), $rt_s(3496), $rt_s(3497), $rt_s(3498), $rt_s(3499), $rt_s(3500), $rt_s(3501), $rt_s(3502), $rt_s(3503), $rt_s(3504), $rt_s(3505), $rt_s(3506), $rt_s(3507), $rt_s(3508), $rt_s(3509)]); var$1 = new nle_TextureLocation; var$1.$path = $rt_s(660); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nle_GuiScreenEditCape_gui = var$1; }; function nms_GuiYesNo() { let a = this; nms_GuiScreen.call(a); a.$parentScreen = null; a.$message10 = null; a.$message2 = null; a.$buttonText1 = null; a.$buttonText2 = null; a.$worldNumber = 0; } let nms_GuiYesNo_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$buttonList; var$2 = new nms_GuiSmallButton; var$3 = ($this.$width / 2 | 0) - 155 | 0; var$4 = ($this.$height / 6 | 0) + 96 | 0; var$5 = $this.$buttonText1; var$6 = null; nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 0; var$2.$xPosition = var$3; var$2.$yPosition = var$4; var$2.$width0 = 150; var$2.$height0 = 20; var$2.$displayString = var$5; var$2.$enumOptions = var$6; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$7 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$7[var$4] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$2 = $this.$buttonList; var$1 = new nms_GuiSmallButton; var$4 = (($this.$width / 2 | 0) - 155 | 0) + 160 | 0; var$3 = ($this.$height / 6 | 0) + 96 | 0; var$5 = $this.$buttonText2; var$6 = null; var$1.$width0 = 200; var$1.$height0 = 20; var$1.$enabled = 1; var$1.$drawButton0 = 1; var$1.$id0 = 1; var$1.$xPosition = var$4; var$1.$yPosition = var$3; var$1.$width0 = 150; var$1.$height0 = 20; var$1.$displayString = var$5; var$1.$enumOptions = var$6; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$7 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$7[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; }, nms_GuiYesNo_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$parentScreen; var$3 = $par1GuiButton.$id0 ? 0 : 1; var$4 = $this.$worldNumber; $ptr = 1; case 1: var$2.$confirmClicked(var$3, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, $ptr); }, nms_GuiYesNo_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; var$6 = $this.$message10; var$7 = $this.$width / 2 | 0; var$8 = 70; var$9 = 16777215; var$4 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$7 = 71; var$11 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; var$6 = $this.$message10; var$7 = $this.$width / 2 | 0; var$8 = 70; var$9 = 16777215; var$4 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$7 = 71; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$10, var$7, var$9, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$7 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$8, var$9, var$7); if ($rt_suspending()) { break main; } var$4 = $tmp; var$5 = $this.$fontRenderer; var$6 = $this.$message2; var$4 = $this.$width / 2 | 0; var$10 = 90; var$7 = 16777215; var$4 = var$4 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$11 = var$4 + 1 | 0; var$9 = 91; var$8 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$11, var$9, var$7, var$8); if ($rt_suspending()) { break main; } var$9 = $tmp; var$11 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$10, var$7, var$11); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$5 = $this.$buttonList; var$10 = $rt_compare(var$4, var$5.$size0); if (var$10 >= 0) return; if (var$4 >= 0 && var$10 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; $ptr = 6; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 6: var$5.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$5 = $this.$buttonList; var$10 = $rt_compare(var$4, var$5.$size0); if (var$10 >= 0) return; if (var$4 >= 0 && var$10 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }; function nms_GuiConfirmOpenLink() { let a = this; nms_GuiYesNo.call(a); a.$openLinkWarning = null; a.$copyLinkButtonText = null; a.$field_92028_p = null; a.$field_92027_q = 0; } let nms_GuiConfirmOpenLink__init_ = ($this, $par1GuiScreen, $par2Str, $par3, $par4) => { let var$5, var$6; var$5 = !$par4 ? $rt_s(3510) : $rt_s(3511); nms_StatCollector_$callClinit(); var$5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$5); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $this.$buttonList = var$6; $this.$allowUserInput = 0; $this.$selectedButton = null; $this.$eventButton = 0; $this.$field_85043_c = Long_ZERO; $this.$field_92018_d = 0; $this.$parentScreen = $par1GuiScreen; $this.$message10 = var$5; $this.$message2 = $par2Str; $this.$worldNumber = $par3; $this.$buttonText1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3512)); $this.$buttonText2 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3513)); $this.$field_92027_q = 1; $par1GuiScreen = !$par4 ? $rt_s(3512) : $rt_s(3514); $this.$buttonText1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $par1GuiScreen); $par1GuiScreen = !$par4 ? $rt_s(3513) : $rt_s(1626); $this.$buttonText2 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $par1GuiScreen); $this.$copyLinkButtonText = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3515)); $this.$openLinkWarning = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3516)); $this.$field_92028_p = $par2Str; }, nms_GuiConfirmOpenLink__init_0 = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_GuiConfirmOpenLink(); nms_GuiConfirmOpenLink__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_GuiConfirmOpenLink_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$buttonList; var$2 = new nms_GuiButton; var$3 = (($this.$width / 3 | 0) - 83 | 0) + 0 | 0; var$4 = ($this.$height / 6 | 0) + 96 | 0; var$5 = $this.$buttonText1; nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 0; var$2.$xPosition = var$3; var$2.$yPosition = var$4; var$2.$width0 = 100; var$2.$height0 = 20; var$2.$displayString = var$5; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$2 = $this.$buttonList; var$1 = new nms_GuiButton; var$3 = (($this.$width / 3 | 0) - 83 | 0) + 105 | 0; var$4 = ($this.$height / 6 | 0) + 96 | 0; var$5 = $this.$copyLinkButtonText; var$1.$width0 = 200; var$1.$height0 = 20; var$1.$enabled = 1; var$1.$drawButton0 = 1; var$1.$id0 = 2; var$1.$xPosition = var$3; var$1.$yPosition = var$4; var$1.$width0 = 100; var$1.$height0 = 20; var$1.$displayString = var$5; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$6 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$buttonList; var$1 = new nms_GuiButton; var$7 = (($this.$width / 3 | 0) - 83 | 0) + 210 | 0; var$3 = ($this.$height / 6 | 0) + 96 | 0; var$5 = $this.$buttonText2; var$1.$width0 = 200; var$1.$height0 = 20; var$1.$enabled = 1; var$1.$drawButton0 = 1; var$1.$id0 = 1; var$1.$xPosition = var$7; var$1.$yPosition = var$3; var$1.$width0 = 100; var$1.$height0 = 20; var$1.$displayString = var$5; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$6 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$6[var$7] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; }, nms_GuiConfirmOpenLink_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$id0 == 2) { var$2 = $this.$field_92028_p; nms_GuiScreen_$callClinit(); a: { try { nlea_EaglerAdapterImpl2_setClipboard$js_body$_315($rt_ustr(var$2)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } } var$2 = $this.$parentScreen; var$3 = $par1GuiButton.$id0 ? 0 : 1; var$4 = $this.$worldNumber; $ptr = 1; case 1: var$2.$confirmClicked(var$3, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, $ptr); }, nms_GuiConfirmOpenLink_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiYesNo_drawScreen($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } if (!$this.$field_92027_q) return; var$4 = $this.$fontRenderer; var$5 = $this.$openLinkWarning; $par2 = $this.$width / 2 | 0; var$6 = 110; $par1 = 16764108; $par2 = $par2 - (nms_FontRenderer_getStringWidth(var$4, var$5) / 2 | 0) | 0; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; var$7 = $par2 + 1 | 0; var$8 = 111; var$9 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$4, var$5, var$7, var$8, $par1, var$9); if ($rt_suspending()) { break main; } var$8 = $tmp; var$7 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$4, var$5, $par2, var$6, $par1, var$7); if ($rt_suspending()) { break main; } $par1 = $tmp; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }; function nms_RenderSorter() { jl_Object.call(this); this.$baseEntity = null; } let nms_RenderSorter_doCompare = ($this, $par1WorldRenderer, $par2WorldRenderer) => { let var$3, var$4, $var5, var$6, var$7, var$8, var$9, var$10, $var3; var$3 = $par1WorldRenderer.$isInFrustum; if (var$3 && !$par2WorldRenderer.$isInFrustum) return 1; if ($par2WorldRenderer.$isInFrustum && !var$3) return (-1); var$4 = $this.$baseEntity; $var5 = var$4.$posX; var$6 = $var5 - $par1WorldRenderer.$posXPlus; var$7 = var$4.$posY; var$8 = var$7 - $par1WorldRenderer.$posYPlus; var$9 = var$4.$posZ; var$10 = var$9 - $par1WorldRenderer.$posZPlus; $var3 = var$6 * var$6 + var$8 * var$8 + var$10 * var$10; var$8 = $var5 - $par2WorldRenderer.$posXPlus; var$10 = var$7 - $par2WorldRenderer.$posYPlus; var$6 = var$9 - $par2WorldRenderer.$posZPlus; var$3 = $rt_compare($var3, var$8 * var$8 + var$10 * var$10 + var$6 * var$6); return var$3 < 0 ? 1 : var$3 > 0 ? (-1) : $par1WorldRenderer.$chunkIndex >= $par2WorldRenderer.$chunkIndex ? (-1) : 1; }, nms_RenderSorter_compare = ($this, $par1Obj, $par2Obj) => { return nms_RenderSorter_doCompare($this, $par1Obj, $par2Obj); }; function nms_TileEntityRenderer() { let a = this; jl_Object.call(a); a.$specialRendererMap = null; a.$fontRenderer3 = null; a.$renderEngine0 = null; a.$worldObj14 = null; a.$entityLivingPlayer = null; a.$playerYaw = 0.0; a.$playerPitch = 0.0; a.$playerX = 0.0; a.$playerY = 0.0; a.$playerZ = 0.0; } let nms_TileEntityRenderer_instance = null, nms_TileEntityRenderer_staticPlayerX = 0.0, nms_TileEntityRenderer_staticPlayerY = 0.0, nms_TileEntityRenderer_staticPlayerZ = 0.0, nms_TileEntityRenderer_$callClinit = () => { nms_TileEntityRenderer_$callClinit = $rt_eraseClinit(nms_TileEntityRenderer); nms_TileEntityRenderer__clinit_(); }, nms_TileEntityRenderer__init_ = $this => { let $var1, var$2, var$3, var$4, var$5, $var2; nms_TileEntityRenderer_$callClinit(); $var1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); $var1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; $var1.$elementData = var$3; $var1.$loadFactor = 0.75; $var1.$threshold = var$4.length * 0.75 | 0; $this.$specialRendererMap = $var1; var$5 = new nms_TileEntitySignRenderer; nms_TileEntitySignRenderer_$callClinit(); var$5.$modelSign = nms_ModelSign__init_0(); ju_HashMap_putImpl($var1, $rt_cls(nms_TileEntitySign), var$5); ju_HashMap_putImpl($this.$specialRendererMap, $rt_cls(nms_TileEntityMobSpawner), new nms_TileEntityMobSpawnerRenderer); ju_HashMap_putImpl($this.$specialRendererMap, $rt_cls(nms_TileEntityPiston), new nms_TileEntityRendererPiston); ju_HashMap_putImpl($this.$specialRendererMap, $rt_cls(nms_TileEntityChest), nms_TileEntityChestRenderer__init_0()); $var1 = $this.$specialRendererMap; var$5 = new nms_TileEntityEnderChestRenderer; nms_TileEntityEnderChestRenderer_$callClinit(); var$5.$theEnderChestModel = nms_ModelChest__init_0(); ju_HashMap_putImpl($var1, $rt_cls(nms_TileEntityEnderChest), var$5); $var1 = $this.$specialRendererMap; var$5 = new nms_RenderEnchantmentTable; nms_RenderEnchantmentTable_$callClinit(); var$5.$enchantmentBook = nms_ModelBook__init_(); ju_HashMap_putImpl($var1, $rt_cls(nms_TileEntityEnchantmentTable), var$5); ju_HashMap_putImpl($this.$specialRendererMap, $rt_cls(nms_TileEntityEndPortal), nms_RenderEndPortal__init_0()); $var1 = $this.$specialRendererMap; var$5 = new nms_TileEntityBeaconRenderer; nms_TileEntityBeaconRenderer_$callClinit(); ju_HashMap_putImpl($var1, $rt_cls(nms_TileEntityBeacon), var$5); ju_HashMap_putImpl($this.$specialRendererMap, $rt_cls(nms_TileEntitySkull), nms_TileEntitySkullRenderer__init_0()); $var1 = $this.$specialRendererMap; if ($var1.$cachedValues === null) { $var2 = new ju_HashMap$2; $var2.$this$01 = $var1; $var1.$cachedValues = $var2; } $var1 = $var1.$cachedValues.$iterator(); while ($var1.$hasNext()) { ($var1.$next()).$setTileEntityRenderer($this); } }, nms_TileEntityRenderer__init_0 = () => { let var_0 = new nms_TileEntityRenderer(); nms_TileEntityRenderer__init_(var_0); return var_0; }, nms_TileEntityRenderer_getSpecialRendererForClass = ($this, $par1Class) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $var2 = $this.$specialRendererMap; if ($par1Class === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$3 = $par1Class; if (!var$3.$id$) var$3.$id$ = $rt_nextId(); var$4 = $par1Class.$id$; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$6 = $var2.$key; if ($par1Class !== var$6 && !($par1Class !== var$6 ? 0 : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && $par1Class !== $rt_cls(nms_TileEntity)) { var$6 = jl_Class_getSuperclass($par1Class); $var2 = $this.$specialRendererMap; if (var$6 !== null) { var$7 = var$6; if (!var$7.$id$) var$7.$id$ = $rt_nextId(); var$4 = var$6.$id$; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$7 = $var2.$key; if (var$6 !== var$7 && !(var$6 !== var$7 ? 0 : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$6 !== $rt_cls(nms_TileEntity)) { var$7 = jl_Class_getSuperclass(var$6); $var2 = $this.$specialRendererMap; if (var$7 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$3 = var$7; if (!var$3.$id$) var$3.$id$ = $rt_nextId(); var$4 = var$7.$id$; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$3 = $var2.$key; if (var$7 !== var$3 && !(var$7 !== var$3 ? 0 : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$7 !== $rt_cls(nms_TileEntity)) { var$3 = jl_Class_getSuperclass(var$7); var$8 = $this.$specialRendererMap; if (var$3 === null) { $var2 = var$8.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$9 = var$3; if (!var$9.$id$) var$9.$id$ = $rt_nextId(); var$4 = var$3.$id$; var$5 = var$8.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$10 = $var2.$key; if (var$3 !== var$10 && !(var$3 !== var$10 ? 0 : 1) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$3 !== $rt_cls(nms_TileEntity)) { var$9 = jl_Class_getSuperclass(var$3); var$11 = $this.$specialRendererMap; if (var$9 === null) { $var2 = var$11.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { $var2 = var$9; if (!$var2.$id$) $var2.$id$ = $rt_nextId(); var$4 = var$9.$id$; var$5 = var$11.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { var$10 = $var2.$key; if (var$9 !== var$10 && !jl_Object_equals(var$9, var$10) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$9 !== $rt_cls(nms_TileEntity)) { var$11 = jl_Class_getSuperclass(var$9); var$12 = $this.$specialRendererMap; if (var$11 === null) { $var2 = var$12.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { $var2 = var$11; if (!$var2.$id$) $var2.$id$ = $rt_nextId(); var$4 = var$11.$id$; var$5 = var$12.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null && !($var2.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$11, $var2.$key))) { $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$11 !== $rt_cls(nms_TileEntity)) { var$10 = jl_Class_getSuperclass(var$11); $var2 = $this.$specialRendererMap; if (var$10 === null) $var2 = ju_HashMap_findNullKeyEntry($var2); else { var$13 = jl_Object_hashCode(var$10); $var2 = ju_HashMap_findNonNullKeyEntry($var2, var$10, var$13 & ($var2.$elementData.data.length - 1 | 0), var$13); } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$10 !== $rt_cls(nms_TileEntity)) { var$8 = jl_Class_getSuperclass(var$10); $var2 = ju_HashMap_entryByKey($this.$specialRendererMap, var$8); $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null && var$8 !== $rt_cls(nms_TileEntity)) { var$12 = jl_Class_getSuperclass(var$8); $var2 = ju_HashMap_get($this.$specialRendererMap, var$12); if ($var2 === null && var$12 !== $rt_cls(nms_TileEntity)) { $var2 = nms_TileEntityRenderer_getSpecialRendererForClass($this, jl_Class_getSuperclass(var$12)); ju_HashMap_put($this.$specialRendererMap, var$12, $var2); } ju_HashMap_putImpl($this.$specialRendererMap, var$8, $var2); } ju_HashMap_putImpl($this.$specialRendererMap, var$10, $var2); } ju_HashMap_putImpl($this.$specialRendererMap, var$11, $var2); } ju_HashMap_putImpl($this.$specialRendererMap, var$9, $var2); } ju_HashMap_putImpl($this.$specialRendererMap, var$3, $var2); } ju_HashMap_putImpl($this.$specialRendererMap, var$7, $var2); } ju_HashMap_putImpl($this.$specialRendererMap, var$6, $var2); } ju_HashMap_putImpl($this.$specialRendererMap, $par1Class, $var2); } return $var2; }, nms_TileEntityRenderer_cacheActiveRenderInfo = ($this, $par1World, $par2TextureManager, $par3FontRenderer, $par4EntityLivingBase, $par5) => { let var$6, var$7, var$8, var$9, var$10, var$11, var$12; if ($this.$worldObj14 !== $par1World) { $this.$worldObj14 = $par1World; var$6 = $this.$specialRendererMap; if (var$6.$cachedValues === null) { var$7 = new ju_HashMap$2; var$7.$this$01 = var$6; var$6.$cachedValues = var$7; } var$6 = var$6.$cachedValues.$iterator(); while (var$6.$hasNext()) { var$7 = var$6.$next(); if (var$7 !== null) var$7.$onWorldChange($par1World); } } $this.$renderEngine0 = $par2TextureManager; $this.$entityLivingPlayer = $par4EntityLivingBase; $this.$fontRenderer3 = $par3FontRenderer; var$8 = $par4EntityLivingBase.$prevRotationYaw; $this.$playerYaw = var$8 + ($par4EntityLivingBase.$rotationYaw - var$8) * $par5; var$9 = $par4EntityLivingBase.$prevRotationPitch; $this.$playerPitch = var$9 + ($par4EntityLivingBase.$rotationPitch - var$9) * $par5; var$10 = $par4EntityLivingBase.$lastTickPosX; var$11 = $par4EntityLivingBase.$posX - var$10; var$12 = $par5; $this.$playerX = var$10 + var$11 * var$12; var$10 = $par4EntityLivingBase.$lastTickPosY; $this.$playerY = var$10 + ($par4EntityLivingBase.$posY - var$10) * var$12; var$10 = $par4EntityLivingBase.$lastTickPosZ; $this.$playerZ = var$10 + ($par4EntityLivingBase.$posZ - var$10) * var$12; }, nms_TileEntityRenderer_renderTileEntity = ($this, $par1TileEntity, $par2) => { let var$3, var$4, var$5, var$6, $var4, $var5, $var3, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var3 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1TileEntity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$playerX; var$4 = $this.$playerY; var$5 = $this.$playerZ; var$3 = $par1TileEntity.$xCoord0 + 0.5 - var$3; var$4 = $par1TileEntity.$yCoord0 + 0.5 - var$4; var$5 = $par1TileEntity.$zCoord0 + 0.5 - var$5; if (var$3 * var$3 + var$4 * var$4 + var$5 * var$5 < $par1TileEntity.$getMaxRenderDistanceSquared()) { var$6 = $this.$worldObj14; $var4 = $par1TileEntity.$xCoord0; $var5 = $par1TileEntity.$yCoord0; $var3 = $par1TileEntity.$zCoord0; var$10 = 0; var$11 = nms_World_getSkyBlockTypeBrightness(var$6, nms_EnumSkyBlock_Sky, $var4, $var5, $var3); $var4 = nms_World_getSkyBlockTypeBrightness(var$6, nms_EnumSkyBlock_Block, $var4, $var5, $var3); if ($var4 >= var$10) var$10 = $var4; a: { $var3 = var$11 << 20 | var$10 << 4; $var4 = $var3 % 65536 | 0; $var5 = $var3 / 65536 | 0; $var3 = nms_OpenGlHelper_lightmapTexUnit; var$12 = $var4 / 1.0; var$13 = $var5 / 1.0; nleg_EaglerAdapterGL30_$callClinit(); switch ($var3) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = var$12; nleg_EaglerAdapterGL30_tex1Y = var$13; break a; default: if (jl_System_errCache === null) { var$6 = new otcic_JSStderrPrintStream; var$14 = new ji_ByteArrayOutputStream; var$14.$buf = $rt_createByteArray(32); var$6.$out0 = var$14; var$14 = new jl_StringBuilder; var$14.$buffer = $rt_createCharArray(16); var$6.$sb = var$14; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$6; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break a; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = var$12; nleg_EaglerAdapterGL30_tex0Y = var$13; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; var$3 = $par1TileEntity.$xCoord0; nms_TileEntityRenderer_$callClinit(); var$3 = var$3 - nms_TileEntityRenderer_staticPlayerX; var$4 = $par1TileEntity.$yCoord0 - nms_TileEntityRenderer_staticPlayerY; var$5 = $par1TileEntity.$zCoord0 - nms_TileEntityRenderer_staticPlayerZ; var$6 = $par1TileEntity.constructor; if (var$6 === null) var$15 = null; else { var$15 = var$6.classObject; if (var$15 === null) { var$15 = new jl_Class; var$15.$platformClass = var$6; var$6.classObject = var$15; } } var$16 = $this.$specialRendererMap; if (var$15 === null) { var$6 = var$16.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$6 = var$15; if (!var$6.$id$) var$6.$id$ = $rt_nextId(); $var3 = var$15.$id$; var$17 = var$16.$elementData.data; var$6 = var$17[$var3 & (var$17.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == $var3) { var$14 = var$6.$key; if (var$15 !== var$14 && !(var$15 !== var$14 ? 0 : 1) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$18 = var$6 === null ? null : var$6.$value1; if (var$18 === null && var$15 !== $rt_cls(nms_TileEntity)) { var$19 = jl_Class_getSuperclass(var$15); var$16 = $this.$specialRendererMap; if (var$19 === null) { var$6 = var$16.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { var$6 = var$19; if (!var$6.$id$) var$6.$id$ = $rt_nextId(); $var3 = var$19.$id$; var$17 = var$16.$elementData.data; var$6 = var$17[$var3 & (var$17.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == $var3) { var$14 = var$6.$key; if (var$19 !== var$14 && !jl_Object_equals(var$19, var$14) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$18 = var$6 === null ? null : var$6.$value1; if (var$18 === null && var$19 !== $rt_cls(nms_TileEntity)) { var$20 = jl_Class_getSuperclass(var$19); var$16 = $this.$specialRendererMap; if (var$20 === null) { var$14 = var$16.$elementData.data[0]; while (var$14 !== null && var$14.$key !== null) { var$14 = var$14.$next3; } } else { var$6 = var$20; if (!var$6.$id$) var$6.$id$ = $rt_nextId(); $var5 = var$20.$id$; var$17 = var$16.$elementData.data; var$14 = var$17[$var5 & (var$17.length - 1 | 0)]; while (var$14 !== null && !(var$14.$origKeyHash == $var5 && ju_HashMap_areEqualKeys(var$20, var$14.$key))) { var$14 = var$14.$next3; } } var$18 = var$14 === null ? null : var$14.$value1; if (var$18 === null && var$20 !== $rt_cls(nms_TileEntity)) { var$6 = jl_Class_getSuperclass(var$20); var$14 = $this.$specialRendererMap; if (var$6 === null) var$14 = ju_HashMap_findNullKeyEntry(var$14); else { $var5 = jl_Object_hashCode(var$6); var$14 = ju_HashMap_findNonNullKeyEntry(var$14, var$6, $var5 & (var$14.$elementData.data.length - 1 | 0), $var5); } var$18 = var$14 === null ? null : var$14.$value1; if (var$18 === null && var$6 !== $rt_cls(nms_TileEntity)) { var$14 = jl_Class_getSuperclass(var$6); var$21 = ju_HashMap_entryByKey($this.$specialRendererMap, var$14); var$18 = var$21 === null ? null : var$21.$value1; if (var$18 === null && var$14 !== $rt_cls(nms_TileEntity)) { var$21 = jl_Class_getSuperclass(var$14); var$18 = ju_HashMap_get($this.$specialRendererMap, var$21); if (var$18 === null && var$21 !== $rt_cls(nms_TileEntity)) { var$18 = nms_TileEntityRenderer_getSpecialRendererForClass($this, jl_Class_getSuperclass(var$21)); ju_HashMap_put($this.$specialRendererMap, var$21, var$18); } ju_HashMap_putImpl($this.$specialRendererMap, var$14, var$18); } ju_HashMap_putImpl($this.$specialRendererMap, var$6, var$18); } ju_HashMap_putImpl($this.$specialRendererMap, var$20, var$18); } ju_HashMap_putImpl($this.$specialRendererMap, var$19, var$18); } ju_HashMap_putImpl($this.$specialRendererMap, var$15, var$18); } if (var$18 !== null) { try { $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $par1TileEntity = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($par1TileEntity); } } return; case 1: b: { try { var$18.$renderTileEntityAt($par1TileEntity, var$3, var$4, var$5, $par2); if ($rt_suspending()) { break main; } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $par1TileEntity = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($par1TileEntity); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntity, $par2, var$3, var$4, var$5, var$6, $var4, $var5, $var3, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, $ptr); }, nms_TileEntityRenderer__clinit_ = () => { nms_TileEntityRenderer_instance = nms_TileEntityRenderer__init_0(); }; function nms_ChatLine() { let a = this; jl_Object.call(a); a.$updateCounterCreated = 0; a.$lineString = null; a.$chatLineID = 0; } function nms_IconFlipped() { let a = this; jl_Object.call(a); a.$baseIcon = null; a.$flipU = 0; a.$flipV = 0; } let nms_IconFlipped_getIconWidth = $this => { return $this.$baseIcon.$getIconWidth(); }, nms_IconFlipped_getIconHeight = $this => { return $this.$baseIcon.$getIconHeight(); }, nms_IconFlipped_getMinU = $this => { return !$this.$flipU ? $this.$baseIcon.$getMinU() : $this.$baseIcon.$getMaxU(); }, nms_IconFlipped_getMaxU = $this => { return !$this.$flipU ? $this.$baseIcon.$getMaxU() : $this.$baseIcon.$getMinU(); }, nms_IconFlipped_getInterpolatedU = ($this, $par1) => { let $var3; $var3 = (!$this.$flipU ? $this.$baseIcon.$getMaxU() : $this.$baseIcon.$getMinU()) - (!$this.$flipU ? $this.$baseIcon.$getMinU() : $this.$baseIcon.$getMaxU()); return (!$this.$flipU ? $this.$baseIcon.$getMinU() : $this.$baseIcon.$getMaxU()) + $var3 * $par1 / 16.0; }, nms_IconFlipped_getMinV = $this => { return !$this.$flipV ? $this.$baseIcon.$getMinV() : $this.$baseIcon.$getMinV(); }, nms_IconFlipped_getMaxV = $this => { return !$this.$flipV ? $this.$baseIcon.$getMaxV() : $this.$baseIcon.$getMinV(); }, nms_IconFlipped_getInterpolatedV = ($this, $par1) => { let $var3; $var3 = (!$this.$flipV ? $this.$baseIcon.$getMaxV() : $this.$baseIcon.$getMinV()) - (!$this.$flipV ? $this.$baseIcon.$getMinV() : $this.$baseIcon.$getMinV()); return (!$this.$flipV ? $this.$baseIcon.$getMinV() : $this.$baseIcon.$getMinV()) + $var3 * $par1 / 16.0; }, nms_IconFlipped_getIconName = $this => { return $this.$baseIcon.$getIconName(); }, nms_IconFlipped_getSheetWidth = $this => { return $this.$baseIcon.$getSheetWidth(); }, nms_IconFlipped_getSheetHeight = $this => { return $this.$baseIcon.$getSheetHeight(); }, nms_MinecraftError = $rt_classWithoutFields(jl_Error), nms_MinecraftError__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, nms_MinecraftError__init_0 = () => { let var_0 = new nms_MinecraftError(); nms_MinecraftError__init_(var_0); return var_0; }; function nle_GuiScreenSingleplayerException() { let a = this; nms_GuiScreen.call(a); a.$mainmenu0 = null; a.$exception = null; a.$returnToMenu = null; a.$action1 = null; } let nle_GuiScreenSingleplayerException_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$buttonList; var$2 = new nms_GuiButton; var$3 = ($this.$width / 2 | 0) - 100 | 0; var$4 = ($this.$height / 3 | 0) + 36 | 0; nms_StringTranslate_$callClinit(); var$5 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $rt_s(3517)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 0; var$2.$xPosition = var$3; var$2.$yPosition = var$4; var$2.$width0 = 200; var$2.$height0 = 20; var$2.$displayString = var$5; $this.$returnToMenu = var$2; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; var$6[var$7] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; }, nle_GuiScreenSingleplayerException_drawScreen = ($this, $par1, $par2, $par3) => { let $w, $width_, var$6, $numTrace, var$8, var$9, var$10, $height_, $i, var$13, $top, $left, var$16, $s, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$s = $thread.pop();var$16 = $thread.pop();$left = $thread.pop();$top = $thread.pop();var$13 = $thread.pop();$i = $thread.pop();$height_ = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$numTrace = $thread.pop();var$6 = $thread.pop();$width_ = $thread.pop();$w = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $w = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $width_ = nms_FontRenderer_getStringWidth($this.$fontRenderer, $this.$exception.$errorMessage0); var$6 = $this.$exception.$stackTrace; $numTrace = var$6.$size0; if ($numTrace > 7) $numTrace = 7; var$8 = $numTrace * 10 | 0; var$9 = var$8 + 90 | 0; var$10 = $rt_compare($numTrace, 7); $height_ = var$9 + (var$10 < 0 ? 0 : 10) | 0; var$9 = 0; $i = var$6.$modCount; var$13 = var$6.$size(); while (true) { if (!(var$9 >= var$13 ? 0 : 1)) { $top = ($this.$height - $height_ | 0) / 2 | 0; if ($top < 5) $top = 5; $left = ($this.$width - $width_ | 0) / 2 | 0; if ($left < 5) $left = 5; var$16 = $this.$fontRenderer; nms_StringTranslate_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $this.$action1); $s = new jl_StringBuilder; $s.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(3518)); $w = $s.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert($s, $w, var$6); var$9 = $s.$length0; jl_AbstractStringBuilder_insertSpace($s, var$9, var$9 + 1 | 0); var$18 = $s.$buffer; var$19 = var$18.data; var$19[var$9] = 39; var$20 = new jl_String; var$9 = $s.$length0; $width_ = var$19.length; if (var$9 >= 0 && var$9 <= ($width_ - 0 | 0)) { var$20.$nativeString = $rt_charArrayToString(var$18.data, 0, var$9); var$9 = $this.$width / 2 | 0; $w = 16755370; var$9 = var$9 - (nms_FontRenderer_getStringWidth(var$16, var$20) / 2 | 0) | 0; var$16.$randomStyle = 0; var$16.$boldStyle = 0; var$16.$italicStyle = 0; var$16.$underlineStyle = 0; var$16.$strikethroughStyle = 0; $width_ = var$9 + 1 | 0; $height_ = $top + 1 | 0; $i = 1; $ptr = 2; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($s); $rt_throw($s); } if ($i < var$6.$modCount) { $s = new ju_ConcurrentModificationException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $left = var$9 + 1 | 0; $s = var$6.$get(var$9); var$20 = $this.$fontRenderer; var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$16, var$16.$length0, $rt_s(1584)); $w = var$16.$length0; if ($s === null) $s = $rt_s(1); jl_AbstractStringBuilder_insert(var$16, $w, $s); $s = new jl_String; var$19 = var$16.$buffer; var$18 = var$19.data; var$9 = var$16.$length0; $top = var$18.length; if (var$9 < 0) break; if (var$9 > ($top - 0 | 0)) break; $s.$nativeString = $rt_charArrayToString(var$19.data, 0, var$9); $w = nms_FontRenderer_getStringWidth(var$20, $s); if ($width_ < $w) $width_ = $w; var$9 = $left; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($s); $rt_throw($s); case 1: nms_GuiScreen_drawBackground($this, $w); if ($rt_suspending()) { break main; } $width_ = nms_FontRenderer_getStringWidth($this.$fontRenderer, $this.$exception.$errorMessage0); var$6 = $this.$exception.$stackTrace; $numTrace = var$6.$size0; if ($numTrace > 7) $numTrace = 7; var$8 = $numTrace * 10 | 0; var$9 = var$8 + 90 | 0; var$10 = $rt_compare($numTrace, 7); $height_ = var$9 + (var$10 < 0 ? 0 : 10) | 0; var$9 = 0; $i = var$6.$modCount; var$13 = var$6.$size(); while (true) { if (!(var$9 >= var$13 ? 0 : 1)) { $top = ($this.$height - $height_ | 0) / 2 | 0; if ($top < 5) $top = 5; $left = ($this.$width - $width_ | 0) / 2 | 0; if ($left < 5) $left = 5; var$16 = $this.$fontRenderer; nms_StringTranslate_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $this.$action1); $s = new jl_StringBuilder; $s.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(3518)); $w = $s.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert($s, $w, var$6); var$9 = $s.$length0; jl_AbstractStringBuilder_insertSpace($s, var$9, var$9 + 1 | 0); var$18 = $s.$buffer; var$19 = var$18.data; var$19[var$9] = 39; var$20 = new jl_String; var$9 = $s.$length0; $width_ = var$19.length; if (var$9 >= 0 && var$9 <= ($width_ - 0 | 0)) { var$20.$nativeString = $rt_charArrayToString(var$18.data, 0, var$9); var$9 = $this.$width / 2 | 0; $w = 16755370; var$9 = var$9 - (nms_FontRenderer_getStringWidth(var$16, var$20) / 2 | 0) | 0; var$16.$randomStyle = 0; var$16.$boldStyle = 0; var$16.$italicStyle = 0; var$16.$underlineStyle = 0; var$16.$strikethroughStyle = 0; $width_ = var$9 + 1 | 0; $height_ = $top + 1 | 0; $i = 1; $ptr = 2; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($s); $rt_throw($s); } if ($i < var$6.$modCount) { $s = new ju_ConcurrentModificationException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } $left = var$9 + 1 | 0; $s = var$6.$get(var$9); var$20 = $this.$fontRenderer; var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$16, var$16.$length0, $rt_s(1584)); $w = var$16.$length0; if ($s === null) $s = $rt_s(1); jl_AbstractStringBuilder_insert(var$16, $w, $s); $s = new jl_String; var$19 = var$16.$buffer; var$18 = var$19.data; var$9 = var$16.$length0; $top = var$18.length; if (var$9 < 0) break; if (var$9 > ($top - 0 | 0)) break; $s.$nativeString = $rt_charArrayToString(var$19.data, 0, var$9); $w = nms_FontRenderer_getStringWidth(var$20, $s); if ($width_ < $w) $width_ = $w; var$9 = $left; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($s); $rt_throw($s); case 2: $tmp = nms_FontRenderer_renderString(var$16, var$20, $width_, $height_, $w, $i); if ($rt_suspending()) { break main; } $height_ = $tmp; $width_ = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$16, var$20, var$9, $top, $w, $width_); if ($rt_suspending()) { break main; } $w = $tmp; $s = $this.$fontRenderer; var$20 = $this.$exception.$errorMessage0; $w = $top + 20 | 0; var$9 = 16755370; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; var$13 = $left + 1 | 0; $width_ = $w + 1 | 0; $height_ = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($s, var$20, var$13, $width_, var$9, $height_); if ($rt_suspending()) { break main; } $height_ = $tmp; $width_ = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString($s, var$20, $left, $w, var$9, $width_); if ($rt_suspending()) { break main; } $w = $tmp; $i = 0; var$6 = $rt_s(1584); if ($i < $numTrace) { $s = $this.$fontRenderer; var$20 = $this.$exception.$stackTrace; if ($i >= 0 && $i < var$20.$size0) { var$20 = var$20.$array.data[$i]; var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$16, var$16.$length0, var$6); $w = var$16.$length0; if (var$20 === null) var$20 = $rt_s(1); jl_AbstractStringBuilder_insert(var$16, $w, var$20); var$20 = new jl_String; var$18 = var$16.$buffer; var$19 = var$18.data; var$9 = var$16.$length0; $width_ = var$19.length; if (var$9 >= 0 && var$9 <= ($width_ - 0 | 0)) { var$20.$nativeString = $rt_charArrayToString(var$18.data, 0, var$9); $w = ($top + 30 | 0) + ($i * 10 | 0) | 0; var$9 = 16755370; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; $width_ = $w + 1 | 0; $height_ = 1; $ptr = 6; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($s); $rt_throw($s); } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } if (var$10 < 0) { $this.$returnToMenu.$yPosition = (($top + 46 | 0) + var$8 | 0) + (var$10 < 0 ? 0 : 10) | 0; $w = 0; $s = $this.$buttonList; var$9 = $rt_compare($w, $s.$size0); if (var$9 >= 0) return; if ($w >= 0 && var$9 < 0) { $s = $s.$array.data[$w]; var$20 = $this.$mc; $ptr = 8; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } var$20 = $this.$fontRenderer; $s = $this.$exception; $w = 4 + nlesi_IPCPacketBase_strLen($s.$errorMessage0) | 0; $s = $s.$stackTrace; $i = 0; $height_ = $s.$modCount; $left = $s.$size(); while (true) { if (!($i >= $left ? 0 : 1)) { $w = $w - $numTrace | 0; $s = new jl_StringBuilder; $s.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(3519)); jl_AbstractStringBuilder_insert0($s, $s.$length0, $w, 10); jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(3520)); var$16 = new jl_String; var$18 = $s.$buffer; var$19 = var$18.data; var$9 = $s.$length0; $width_ = var$19.length; if (var$9 >= 0 && var$9 <= ($width_ - 0 | 0)) { var$16.$nativeString = $rt_charArrayToString(var$18.data, 0, var$9); $w = $this.$width / 2 | 0; var$9 = ($top + 30 | 0) + var$8 | 0; $width_ = 16755370; $w = $w - (nms_FontRenderer_getStringWidth(var$20, var$16) / 2 | 0) | 0; var$20.$randomStyle = 0; var$20.$boldStyle = 0; var$20.$italicStyle = 0; var$20.$underlineStyle = 0; var$20.$strikethroughStyle = 0; $height_ = $w + 1 | 0; $left = var$9 + 1 | 0; $i = 1; $ptr = 9; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($s); $rt_throw($s); } if ($height_ < $s.$modCount) break; $width_ = $i + 1 | 0; $w = $w + nlesi_IPCPacketBase_strLen($s.$get($i)) | 0; $i = $width_; } $s = new ju_ConcurrentModificationException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); case 6: $tmp = nms_FontRenderer_renderString($s, var$20, var$13, $width_, var$9, $height_); if ($rt_suspending()) { break main; } $height_ = $tmp; $width_ = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString($s, var$20, $left, $w, var$9, $width_); if ($rt_suspending()) { break main; } $w = $tmp; $i = $i + 1 | 0; if ($i < $numTrace) { $s = $this.$fontRenderer; var$20 = $this.$exception.$stackTrace; if ($i >= 0 && $i < var$20.$size0) { var$20 = var$20.$array.data[$i]; var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$16, var$16.$length0, var$6); $w = var$16.$length0; if (var$20 === null) var$20 = $rt_s(1); jl_AbstractStringBuilder_insert(var$16, $w, var$20); var$20 = new jl_String; var$18 = var$16.$buffer; var$19 = var$18.data; var$9 = var$16.$length0; $width_ = var$19.length; if (var$9 >= 0 && var$9 <= ($width_ - 0 | 0)) { var$20.$nativeString = $rt_charArrayToString(var$18.data, 0, var$9); $w = ($top + 30 | 0) + ($i * 10 | 0) | 0; var$9 = 16755370; $s.$randomStyle = 0; $s.$boldStyle = 0; $s.$italicStyle = 0; $s.$underlineStyle = 0; $s.$strikethroughStyle = 0; $width_ = $w + 1 | 0; $height_ = 1; $ptr = 6; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($s); $rt_throw($s); } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } if (var$10 < 0) { $this.$returnToMenu.$yPosition = (($top + 46 | 0) + var$8 | 0) + (var$10 < 0 ? 0 : 10) | 0; $w = 0; $s = $this.$buttonList; var$9 = $rt_compare($w, $s.$size0); if (var$9 >= 0) return; if ($w >= 0 && var$9 < 0) { $s = $s.$array.data[$w]; var$20 = $this.$mc; $ptr = 8; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); } var$20 = $this.$fontRenderer; $s = $this.$exception; $w = 4 + nlesi_IPCPacketBase_strLen($s.$errorMessage0) | 0; $s = $s.$stackTrace; $i = 0; $height_ = $s.$modCount; $left = $s.$size(); while (true) { if (!($i >= $left ? 0 : 1)) { $w = $w - $numTrace | 0; $s = new jl_StringBuilder; $s.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(3519)); jl_AbstractStringBuilder_insert0($s, $s.$length0, $w, 10); jl_AbstractStringBuilder_insert($s, $s.$length0, $rt_s(3520)); var$16 = new jl_String; var$18 = $s.$buffer; var$19 = var$18.data; var$9 = $s.$length0; $width_ = var$19.length; if (var$9 >= 0 && var$9 <= ($width_ - 0 | 0)) { var$16.$nativeString = $rt_charArrayToString(var$18.data, 0, var$9); $w = $this.$width / 2 | 0; var$9 = ($top + 30 | 0) + var$8 | 0; $width_ = 16755370; $w = $w - (nms_FontRenderer_getStringWidth(var$20, var$16) / 2 | 0) | 0; var$20.$randomStyle = 0; var$20.$boldStyle = 0; var$20.$italicStyle = 0; var$20.$underlineStyle = 0; var$20.$strikethroughStyle = 0; $height_ = $w + 1 | 0; $left = var$9 + 1 | 0; $i = 1; $ptr = 9; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($s); $rt_throw($s); } if ($height_ < $s.$modCount) break; $width_ = $i + 1 | 0; $w = $w + nlesi_IPCPacketBase_strLen($s.$get($i)) | 0; $i = $width_; } $s = new ju_ConcurrentModificationException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); case 8: $s.$drawButton(var$20, $par1, $par2); if ($rt_suspending()) { break main; } $w = $w + 1 | 0; $s = $this.$buttonList; var$9 = $rt_compare($w, $s.$size0); if (var$9 >= 0) return; if ($w >= 0 && var$9 < 0) { $s = $s.$array.data[$w]; var$20 = $this.$mc; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); case 9: $tmp = nms_FontRenderer_renderString(var$20, var$16, $height_, $left, $width_, $i); if ($rt_suspending()) { break main; } $left = $tmp; $height_ = 0; $ptr = 10; case 10: $tmp = nms_FontRenderer_renderString(var$20, var$16, $w, var$9, $width_, $height_); if ($rt_suspending()) { break main; } $w = $tmp; $this.$returnToMenu.$yPosition = (($top + 46 | 0) + var$8 | 0) + (var$10 < 0 ? 0 : 10) | 0; $w = 0; $s = $this.$buttonList; var$9 = $rt_compare($w, $s.$size0); if (var$9 >= 0) return; if ($w >= 0 && var$9 < 0) { $s = $s.$array.data[$w]; var$20 = $this.$mc; $ptr = 8; continue main; } $s = new jl_IndexOutOfBoundsException; $s.$suppressionEnabled = 1; $s.$writableStackTrace = 1; $rt_throw($s); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $w, $width_, var$6, $numTrace, var$8, var$9, var$10, $height_, $i, var$13, $top, $left, var$16, $s, var$18, var$19, var$20, $ptr); }, nle_GuiScreenSingleplayerException_actionPerformed = ($this, $par1GuiButton) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$id0) return; $par1GuiButton = $this.$mc; var$2 = $this.$mainmenu0; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $ptr); }, jt_DecimalFormat$PerMillField = $rt_classWithoutFields(), jt_DecimalFormat$PerMillField__init_ = $this => { return; }, jt_DecimalFormat$PerMillField__init_0 = () => { let var_0 = new jt_DecimalFormat$PerMillField(); jt_DecimalFormat$PerMillField__init_(var_0); return var_0; }, jt_DecimalFormat$PerMillField_render = ($this, $format, $buffer) => { let var$3, var$4; var$3 = $format.$symbols.$perMill; var$4 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$4, var$4 + 1 | 0); $buffer.$buffer.data[var$4] = var$3; }, jt_DecimalFormat$PerMillField_equals = ($this, $obj) => { return $obj instanceof jt_DecimalFormat$PerMillField; }, jt_DecimalFormat$PerMillField_hashCode = $this => { return 2; }, jt_DecimalFormat$CurrencyField = $rt_classWithoutFields(), jt_DecimalFormat$CurrencyField__init_ = $this => { return; }, jt_DecimalFormat$CurrencyField__init_0 = () => { let var_0 = new jt_DecimalFormat$CurrencyField(); jt_DecimalFormat$CurrencyField__init_(var_0); return var_0; }, jt_DecimalFormat$CurrencyField_render = ($this, $format, $buffer) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$3 = $format.$currency; if (var$3 === null) { var$4 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$4, var$4 + 1 | 0); $buffer.$buffer.data[var$4] = 164; } else { $format = $format.$symbols.$locale2; var$5 = $format.$languageCode; var$6 = $format.$countryCode; var$7 = (var$3.$resource.code !== null ? $rt_str(var$3.$resource.code) : null); if (var$6.$nativeString.length ? 0 : 1) var$6 = var$5; else { $format = new jl_StringBuilder; $format.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert0($format, $format.$length0, var$5 === null ? $rt_s(1) : jl_String_toString(var$5)); var$4 = $format.$length0; jl_AbstractStringBuilder_insertSpace($format, var$4, var$4 + 1 | 0); $format.$buffer.data[var$4] = 45; jl_StringBuilder_insert0($format, $format.$length0, jl_String_toString(var$6)); var$6 = new jl_String; var$8 = $format.$buffer; var$9 = var$8.data; var$10 = $format.$length0; var$11 = var$9.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) var$6.$nativeString = $rt_charArrayToString(var$8.data, 0, var$10); else { $format = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_($format); $rt_throw($format); } } if (otciu_CLDRHelper_$$metadata$$21 === null) otciu_CLDRHelper_$$metadata$$21 = otciu_CLDRHelper_getCurrencyMap$$create(); a: { var$12 = otciu_CLDRHelper_$$metadata$$21; if (var$12.hasOwnProperty($rt_ustr(var$6))) { $format = var$12[$rt_ustr(var$6)]; if ($format.hasOwnProperty($rt_ustr(var$7))) { $format = $format[$rt_ustr(var$7)]; break a; } } if (var$12.hasOwnProperty($rt_ustr(var$5))) { $format = var$12[$rt_ustr(var$5)]; if ($format.hasOwnProperty($rt_ustr(var$7))) { $format = $format[$rt_ustr(var$7)]; break a; } } $format = null; } $format = $format !== null && !(($format.symbol !== null ? $rt_str($format.symbol) : null).$nativeString.length ? 0 : 1) ? ($format.symbol !== null ? $rt_str($format.symbol) : null) : (var$3.$resource.code !== null ? $rt_str(var$3.$resource.code) : null); jl_AbstractStringBuilder_insert($buffer, $buffer.$length0, $format); } }, jt_DecimalFormat$CurrencyField_equals = ($this, $obj) => { return $obj instanceof jt_DecimalFormat$CurrencyField; }, jt_DecimalFormat$CurrencyField_hashCode = $this => { return 0; }, jt_DecimalFormat$PercentField = $rt_classWithoutFields(), jt_DecimalFormat$PercentField__init_ = $this => { return; }, jt_DecimalFormat$PercentField__init_0 = () => { let var_0 = new jt_DecimalFormat$PercentField(); jt_DecimalFormat$PercentField__init_(var_0); return var_0; }, jt_DecimalFormat$PercentField_render = ($this, $format, $buffer) => { let var$3, var$4; var$3 = $format.$symbols.$percent; var$4 = $buffer.$length0; jl_AbstractStringBuilder_insertSpace($buffer, var$4, var$4 + 1 | 0); $buffer.$buffer.data[var$4] = var$3; }, jt_DecimalFormat$PercentField_equals = ($this, $obj) => { return $obj instanceof jt_DecimalFormat$PercentField; }, jt_DecimalFormat$PercentField_hashCode = $this => { return 1; }, otji_IDBObjectStoreParameters = $rt_classWithoutFields(), otji_IDBObjectStoreParameters_create$js_body$_1 = () => { return { }; }; function nms_SlotCreativeInventory() { let a = this; nms_Slot.call(a); a.$theSlot0 = null; a.$theCreativeInventory = null; } let nms_SlotCreativeInventory_onPickupFromSlot = ($this, $par1EntityPlayer, $par2ItemStack) => { let var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$par2ItemStack = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$theSlot0; $ptr = 1; case 1: var$3.$onPickupFromSlot($par1EntityPlayer, $par2ItemStack); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2ItemStack, var$3, $ptr); }, nms_SlotCreativeInventory_isItemValid = ($this, $par1ItemStack) => { return $this.$theSlot0.$isItemValid($par1ItemStack); }, nms_SlotCreativeInventory_getStack = $this => { return $this.$theSlot0.$getStack(); }, nms_SlotCreativeInventory_getHasStack = $this => { return $this.$theSlot0.$getHasStack(); }, nms_SlotCreativeInventory_putStack = ($this, $par1ItemStack) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$theSlot0; $ptr = 1; case 1: var$2.$putStack($par1ItemStack); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, var$2, $ptr); }, nms_SlotCreativeInventory_onSlotChanged = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$theSlot0; $ptr = 1; case 1: var$1.$onSlotChanged(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_SlotCreativeInventory_getSlotStackLimit = $this => { return $this.$theSlot0.$getSlotStackLimit(); }, nms_SlotCreativeInventory_getBackgroundIconIndex = $this => { return $this.$theSlot0.$getBackgroundIconIndex(); }, nms_SlotCreativeInventory_decrStackSize = ($this, $par1) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$theSlot0; $ptr = 1; case 1: $tmp = var$2.$decrStackSize0($par1); if ($rt_suspending()) { break main; } var$2 = $tmp; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, $ptr); }; function nms_ChatClickData() { let a = this; jl_Object.call(a); a.$fontR = null; a.$line0 = null; a.$field_78310_f = null; a.$clickedUrl = null; } let nms_ChatClickData_pattern = null, nms_ChatClickData_$callClinit = () => { nms_ChatClickData_$callClinit = $rt_eraseClinit(nms_ChatClickData); nms_ChatClickData__clinit_(); }, nms_ChatClickData_getURI = $this => { let $var1, $var2, var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $var1 = $this.$clickedUrl; if ($var1 === null) return null; nms_ChatClickData_$callClinit(); $var2 = jur_Matcher__init_(nms_ChatClickData_pattern, $var1); var$3 = $var2.$leftBound0; $var3 = $var2.$matchResult; $var3.$valid = 0; $var3.$mode0 = 2; var$5 = $var3.$groupBounds.data; var$6 = 0; var$7 = var$5.length; if (var$6 > var$7) { $var3 = new jl_IllegalArgumentException; jl_Exception__init_($var3); $rt_throw($var3); } while (var$6 < var$7) { var$8 = var$6 + 1 | 0; var$5[var$6] = (-1); var$6 = var$8; } var$5 = $var3.$consumers.data; var$6 = 0; var$7 = var$5.length; if (var$6 > var$7) { $var3 = new jl_IllegalArgumentException; jl_Exception__init_($var3); $rt_throw($var3); } while (var$6 < var$7) { var$8 = var$6 + 1 | 0; var$5[var$6] = (-1); var$6 = var$8; } $var3.$startIndex = $var3.$leftBound; $var3.$mode0 = 2; $var3.$startIndex = var$3; var$9 = $var3.$previousMatch; if (var$9 < 0) var$9 = var$3; $var3.$previousMatch = var$9; if ($var2.$start7.$matches(var$3, $var2.$string, $var3) < 0) var$9 = 0; else { var$5 = $var3.$groupBounds.data; if (var$5[0] == (-1)) { var$3 = $var3.$startIndex; var$5[0] = var$3; var$5[1] = var$3; } if (!$var3.$valid) { $var3 = new jl_IllegalStateException; jl_RuntimeException__init_($var3); $rt_throw($var3); } if (0 >= $var3.$groupCount) { $var3 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($var3, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($var3); } $var3.$previousMatch = var$5[1]; var$9 = 1; } if (!var$9) return null; $var3 = $var2.$matchResult; var$6 = $var3.$valid; if (!var$6) { $var3 = new jl_IllegalStateException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } var$7 = $rt_compare(0, $var3.$groupCount); if (var$7 >= 0) { $var3 = new jl_IndexOutOfBoundsException; $var2 = new jl_StringBuilder; jl_Object__init_($var2); $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($var2, $var2.$length0, 0, 10); $var1 = new jl_String; var$5 = $var2.$buffer; var$10 = var$5.data; var$3 = $var2.$length0; jl_Object__init_($var1); ju_Objects_checkFromIndexSize(0, var$3, var$10.length); $var1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $var3.$message = $var1; $rt_throw($var3); } var$5 = $var3.$groupBounds.data; if (var$5[0] < 0) $var3 = null; else { $var3 = $var3.$string1; if (!var$6) { $var3 = new jl_IllegalStateException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } if (var$7 >= 0) { $var3 = new jl_IndexOutOfBoundsException; $var2 = new jl_StringBuilder; jl_Object__init_($var2); $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($var2, $var2.$length0, 0, 10); $var1 = new jl_String; var$5 = $var2.$buffer; var$10 = var$5.data; var$3 = $var2.$length0; jl_Object__init_($var1); ju_Objects_checkFromIndexSize(0, var$3, var$10.length); $var1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $var3.$message = $var1; $rt_throw($var3); } var$3 = var$5[0]; if (!var$6) { $var3 = new jl_IllegalStateException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } if (var$7 >= 0) { $var3 = new jl_IndexOutOfBoundsException; $var2 = new jl_StringBuilder; jl_Object__init_($var2); $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($var2, $var2.$length0, 0, 10); $var1 = new jl_String; var$5 = $var2.$buffer; var$10 = var$5.data; var$3 = $var2.$length0; jl_Object__init_($var1); ju_Objects_checkFromIndexSize(0, var$3, var$10.length); $var1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $var3.$message = $var1; $rt_throw($var3); } $var3 = jl_String_substring($var3, var$3, var$5[1]); } $var2 = $var2.$matchResult; var$6 = $var2.$valid; if (!var$6) { $var3 = new jl_IllegalStateException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } var$7 = $rt_compare(1, $var2.$groupCount); if (var$7 >= 0) { $var3 = new jl_IndexOutOfBoundsException; $var2 = new jl_StringBuilder; jl_Object__init_($var2); $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($var2, $var2.$length0, 1, 10); $var1 = new jl_String; var$5 = $var2.$buffer; var$10 = var$5.data; var$3 = $var2.$length0; jl_Object__init_($var1); ju_Objects_checkFromIndexSize(0, var$3, var$10.length); $var1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $var3.$message = $var1; $rt_throw($var3); } var$5 = $var2.$groupBounds.data; if (var$5[2] < 0) $var2 = null; else { $var2 = $var2.$string1; if (!var$6) { $var3 = new jl_IllegalStateException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } if (var$7 >= 0) { $var3 = new jl_IndexOutOfBoundsException; $var2 = new jl_StringBuilder; jl_Object__init_($var2); $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($var2, $var2.$length0, 1, 10); $var1 = new jl_String; var$5 = $var2.$buffer; var$10 = var$5.data; var$3 = $var2.$length0; jl_Object__init_($var1); ju_Objects_checkFromIndexSize(0, var$3, var$10.length); $var1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $var3.$message = $var1; $rt_throw($var3); } var$3 = var$5[2]; if (!var$6) { $var3 = new jl_IllegalStateException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } if (var$7 >= 0) { $var3 = new jl_IndexOutOfBoundsException; $var2 = new jl_StringBuilder; jl_Object__init_($var2); $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($var2, $var2.$length0, 1, 10); $var1 = new jl_String; var$5 = $var2.$buffer; var$10 = var$5.data; var$3 = $var2.$length0; jl_Object__init_($var1); ju_Objects_checkFromIndexSize(0, var$3, var$10.length); $var1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $var3.$message = $var1; $rt_throw($var3); } $var2 = jl_String_substring($var2, var$3, var$5[3]); } a: { if ($var2 === null) { $var2 = new jl_StringBuilder; $var2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var2, $var2.$length0, $rt_s(204)); var$9 = $var2.$length0; if ($var3 === null) $var3 = $rt_s(1); jl_AbstractStringBuilder_insert($var2, var$9, $var3); $var3 = new jl_String; var$5 = $var2.$buffer; var$10 = var$5.data; var$3 = $var2.$length0; var$11 = var$10.length; if (var$3 < 0) break a; if (var$3 > (var$11 - 0 | 0)) break a; $var3.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); } return $var3; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); }, nms_ChatClickData_findClickedUrl = $this => { let var$1, $var1, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; var$1 = $this.$field_78310_f; $var1 = jl_String_lastIndexOf0(var$1, $rt_s(953), var$1.$nativeString.length) + 1 | 0; if ($var1 < 0) $var1 = 0; $var2 = jl_String_indexOf0($this.$line0.$lineString, $rt_s(953), $var1); if ($var2 < 0) $var2 = $this.$line0.$lineString.$nativeString.length; var$4 = jl_String_substring($this.$line0.$lineString, $var1, $var2); nms_StringUtils_$callClinit(); var$5 = jur_Matcher__init_(nms_StringUtils_patternControlCode, var$4); var$1 = new jl_StringBuffer; var$1.$buffer = $rt_createCharArray(16); var$5.$leftBound0 = 0; var$6 = var$5.$string.$nativeString.length; var$5.$rightBound0 = var$6; var$7 = var$5.$matchResult; var$8 = var$5.$string; $var1 = var$5.$leftBound0; var$7.$valid = 0; var$7.$mode0 = 2; var$9 = var$7.$groupBounds.data; var$10 = 0; var$11 = var$9.length; if (var$10 > var$11) { var$4 = new jl_IllegalArgumentException; jl_Exception__init_(var$4); $rt_throw(var$4); } while (var$10 < var$11) { var$12 = var$10 + 1 | 0; var$9[var$10] = (-1); var$10 = var$12; } var$9 = var$7.$consumers.data; var$10 = 0; var$11 = var$9.length; if (var$10 > var$11) { var$4 = new jl_IllegalArgumentException; jl_Exception__init_(var$4); $rt_throw(var$4); } while (var$10 < var$11) { var$12 = var$10 + 1 | 0; var$9[var$10] = (-1); var$10 = var$12; } if (var$8 !== null) var$7.$string1 = var$8; if ($var1 >= 0) { var$7.$leftBound = $var1; var$7.$rightBound = var$6; } var$7.$startIndex = var$7.$leftBound; var$5.$appendPos = 0; var$5.$replacement = null; var$7.$previousMatch = (-1); while (true) { if (!jur_Matcher_find(var$5)) { var$4 = var$5.$string; var$4 = jl_String_substring(var$4, var$5.$appendPos, var$4.$nativeString.length); var$10 = var$4.$nativeString.length; jl_StringBuffer_insert(var$1, var$1.$length0, var$4, 0, var$10); var$4 = new jl_String; var$9 = var$1.$buffer; var$13 = var$9.data; $var2 = var$1.$length0; var$10 = var$13.length; if ($var2 >= 0 && $var2 <= (var$10 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$9.data, 0, $var2); return var$4; } var$4 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$4); $rt_throw(var$4); } var$5.$processedRepl = jur_Matcher_processReplacement(var$5, $rt_s(18)); var$7 = var$5.$string; $var1 = var$5.$appendPos; var$8 = var$5.$matchResult; if (!var$8.$valid) { var$4 = new jl_IllegalStateException; jl_RuntimeException__init_(var$4); $rt_throw(var$4); } if (0 >= var$8.$groupCount) { var$4 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0(var$4, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw(var$4); } var$7 = jl_String_substring(var$7, $var1, var$8.$groupBounds.data[0]); var$12 = var$7.$nativeString.length; jl_StringBuffer_insert(var$1, var$1.$length0, var$7, 0, var$12); var$7 = var$5.$processedRepl; jl_AbstractStringBuilder_insert(var$1, var$1.$length0, var$7); var$7 = var$5.$matchResult; if (!var$7.$valid) break; if (0 >= var$7.$groupCount) { var$4 = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0(var$4, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw(var$4); } var$5.$appendPos = var$7.$groupBounds.data[1]; } var$4 = new jl_IllegalStateException; jl_RuntimeException__init_(var$4); $rt_throw(var$4); }, nms_ChatClickData__clinit_ = () => { nms_ChatClickData_pattern = jur_Pattern_compile($rt_s(3521), 0); }; function nlea_EaglerAdapterImpl2$QueryGL() { jl_Object.call(this); this.$obj6 = null; } function nms_WorldChunkManager() { let a = this; jl_Object.call(a); a.$genBiomes = null; a.$biomeIndexLayer = null; a.$biomeCache = null; a.$biomesToSpawnIn = null; } let nms_WorldChunkManager__init_ = $this => { let var$1, var$2, var$3, var$4; var$1 = new nms_BiomeCache; var$2 = new nms_LongHashMap; var$2.$hashArray = $rt_createArray(nms_LongHashMapEntry, 16); var$2.$capacity0 = 12; var$2.$percentUseable = 0.75; var$1.$cacheMap = var$2; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$cache0 = var$2; var$1.$chunkManager = $this; $this.$biomeCache = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$biomesToSpawnIn = var$1; nms_BiomeGenBase_$callClinit(); var$2 = nms_BiomeGenBase_forest; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$3 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$biomesToSpawnIn; var$2 = nms_BiomeGenBase_plains; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$3 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$biomesToSpawnIn; var$2 = nms_BiomeGenBase_taiga; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$3 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$biomesToSpawnIn; var$2 = nms_BiomeGenBase_taigaHills; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$3 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$biomesToSpawnIn; var$2 = nms_BiomeGenBase_forestHills; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$3 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$biomesToSpawnIn; var$2 = nms_BiomeGenBase_jungle; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$3 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$biomesToSpawnIn; var$2 = nms_BiomeGenBase_jungleHills; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$3 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$3[var$4] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; }, nms_WorldChunkManager__init_0 = () => { let var_0 = new nms_WorldChunkManager(); nms_WorldChunkManager__init_(var_0); return var_0; }, nms_WorldChunkManager_getBiomeGenAt = ($this, $par1, $par2) => { return (nms_BiomeCache_getBiomeCacheBlock($this.$biomeCache, $par1, $par2)).$biomes.data[$par1 & 15 | ($par2 & 15) << 4]; }, nms_WorldChunkManager_getRainfall = ($this, $par1ArrayOfFloat, $par2, $par3, $par4, $par5) => { let $var6, $var7, var$8, $var8; nms_IntCache_resetIntCache(); if (!($par1ArrayOfFloat !== null && $par1ArrayOfFloat.data.length >= $rt_imul($par4, $par5))) $par1ArrayOfFloat = $rt_createFloatArray($rt_imul($par4, $par5)); $var6 = $this.$biomeIndexLayer.$getInts($par2, $par3, $par4, $par5); $var7 = 0; $par2 = $rt_imul($par4, $par5); while ($var7 < $par2) { var$8 = $var6.data; nms_BiomeGenBase_$callClinit(); $var8 = (nms_BiomeGenBase_biomeList.data[var$8[$var7]].$rainfall * 65536.0 | 0) / 65536.0; if ($var8 > 1.0) $var8 = 1.0; $par1ArrayOfFloat.data[$var7] = $var8; $var7 = $var7 + 1 | 0; } return $par1ArrayOfFloat; }, nms_WorldChunkManager_getTemperatureAtHeight = ($this, $par1, $par2) => { return $par1; }, nms_WorldChunkManager_getTemperatures = ($this, $par1ArrayOfFloat, $par2, $par3, $par4, $par5) => { let $var6, $var7, var$8, $var8; nms_IntCache_resetIntCache(); if (!($par1ArrayOfFloat !== null && $par1ArrayOfFloat.data.length >= $rt_imul($par4, $par5))) $par1ArrayOfFloat = $rt_createFloatArray($rt_imul($par4, $par5)); $var6 = $this.$biomeIndexLayer.$getInts($par2, $par3, $par4, $par5); $var7 = 0; $par2 = $rt_imul($par4, $par5); while ($var7 < $par2) { var$8 = $var6.data; nms_BiomeGenBase_$callClinit(); $var8 = (nms_BiomeGenBase_biomeList.data[var$8[$var7]].$temperature * 65536.0 | 0) / 65536.0; if ($var8 > 1.0) $var8 = 1.0; $par1ArrayOfFloat.data[$var7] = $var8; $var7 = $var7 + 1 | 0; } return $par1ArrayOfFloat; }, nms_WorldChunkManager_getBiomeGenAt0 = ($this, $par1ArrayOfBiomeGenBase, $par2, $par3, $par4, $par5, $par6) => { let $var7, $var8, var$9, var$10; nms_IntCache_resetIntCache(); if (!($par1ArrayOfBiomeGenBase !== null && $par1ArrayOfBiomeGenBase.data.length >= $rt_imul($par4, $par5))) $par1ArrayOfBiomeGenBase = $rt_createArray(nms_BiomeGenBase, $rt_imul($par4, $par5)); if ($par6 && $par4 == 16 && $par5 == 16 && !($par2 & 15) && !($par3 & 15)) { jl_System_fastArraycopy((nms_BiomeCache_getBiomeCacheBlock($this.$biomeCache, $par2, $par3)).$biomes, 0, $par1ArrayOfBiomeGenBase, 0, $rt_imul($par4, $par5)); return $par1ArrayOfBiomeGenBase; } $var7 = $this.$biomeIndexLayer.$getInts($par2, $par3, $par4, $par5); $var8 = 0; $par2 = $rt_imul($par4, $par5); while ($var8 < $par2) { var$9 = $var7.data; var$10 = $par1ArrayOfBiomeGenBase.data; nms_BiomeGenBase_$callClinit(); var$10[$var8] = nms_BiomeGenBase_biomeList.data[var$9[$var8]]; $var8 = $var8 + 1 | 0; } return $par1ArrayOfBiomeGenBase; }, jur_IntArrHash = $rt_classWithoutFields(); function jur_Matcher$1() { let a = this; jl_Object.call(a); a.$grN = 0; a.$val$gr = 0; a.$this$019 = null; } let jur_Matcher$1__init_ = ($this, $this$0, var$2) => { $this.$this$019 = $this$0; $this.$val$gr = var$2; $this.$grN = var$2; }, jur_Matcher$1__init_0 = (var_0, var_1) => { let var_2 = new jur_Matcher$1(); jur_Matcher$1__init_(var_2, var_0, var_1); return var_2; }, jur_Matcher$1_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$1 = $this.$this$019; var$2 = $this.$grN; var$1 = var$1.$matchResult; var$3 = var$1.$valid; if (!var$3) { var$1 = new jl_IllegalStateException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if (var$2 >= 0) { var$4 = $rt_compare(var$2, var$1.$groupCount); if (var$4 < 0) { a: { var$5 = var$1.$groupBounds.data; var$6 = var$2 * 2 | 0; if (var$5[var$6] < 0) var$1 = null; else { var$1 = var$1.$string1; if (!var$3) { var$1 = new jl_IllegalStateException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if (var$2 >= 0 && var$4 < 0) { var$7 = var$5[var$6]; if (!var$3) { var$1 = new jl_IllegalStateException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if (var$2 < 0) break a; if (var$4 >= 0) break a; var$1 = jl_String_substring(var$1, var$7, var$5[var$6 + 1 | 0]); } else { var$1 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$2, 10); var$9 = new jl_String; var$5 = var$8.$buffer; var$10 = var$5.data; var$7 = var$8.$length0; jl_Object__init_(var$9); ju_Objects_checkFromIndexSize(0, var$7, var$10.length); var$9.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); var$1.$message = var$9; $rt_throw(var$1); } } return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$2, 10); var$9 = new jl_String; var$5 = var$8.$buffer; var$10 = var$5.data; var$7 = var$8.$length0; jl_Object__init_(var$9); ju_Objects_checkFromIndexSize(0, var$7, var$10.length); var$9.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); var$1.$message = var$9; $rt_throw(var$1); } } var$1 = new jl_IndexOutOfBoundsException; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$2, 10); var$9 = new jl_String; var$5 = var$8.$buffer; var$10 = var$5.data; var$7 = var$8.$length0; jl_Object__init_(var$9); ju_Objects_checkFromIndexSize(0, var$7, var$10.length); var$9.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); var$1.$message = var$9; $rt_throw(var$1); }; function nms_Rect2i() { let a = this; jl_Object.call(a); a.$rectX = 0; a.$rectY = 0; a.$rectWidth = 0; a.$rectHeight = 0; } let nms_Rect2i_intersection = ($this, $par1Rect2i) => { let $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, var$10; $var2 = $this.$rectX; $var3 = $this.$rectY; $var4 = $var2 + $this.$rectWidth | 0; $var5 = $var3 + $this.$rectHeight | 0; $var6 = $par1Rect2i.$rectX; $var7 = $par1Rect2i.$rectY; $var8 = $var6 + $par1Rect2i.$rectWidth | 0; $var9 = $var7 + $par1Rect2i.$rectHeight | 0; if ($var2 > $var6) $var6 = $var2; $this.$rectX = $var6; if ($var3 > $var7) $var7 = $var3; $this.$rectY = $var7; if ($var4 < $var8) $var8 = $var4; var$10 = $var8 - $var6 | 0; if (0 > var$10) var$10 = 0; $this.$rectWidth = var$10; if ($var5 < $var9) $var9 = $var5; $var3 = $var9 - $var7 | 0; if (0 > $var3) $var3 = 0; $this.$rectHeight = $var3; return $this; }; function nms_TileEntitySpecialRenderer() { jl_Object.call(this); this.$tileEntityRenderer = null; } let nms_TileEntitySpecialRenderer_setTileEntityRenderer = ($this, $par1TileEntityRenderer) => { $this.$tileEntityRenderer = $par1TileEntityRenderer; }, nms_TileEntitySpecialRenderer_onWorldChange = ($this, $par1World) => { return; }; function nms_TileEntitySignRenderer() { nms_TileEntitySpecialRenderer.call(this); this.$modelSign = null; } let nms_TileEntitySignRenderer_field_110638_a = null, nms_TileEntitySignRenderer_$callClinit = () => { nms_TileEntitySignRenderer_$callClinit = $rt_eraseClinit(nms_TileEntitySignRenderer); nms_TileEntitySignRenderer__clinit_(); }, nms_TileEntitySignRenderer__init_ = $this => { nms_TileEntitySignRenderer_$callClinit(); $this.$modelSign = nms_ModelSign__init_0(); }, nms_TileEntitySignRenderer__init_0 = () => { let var_0 = new nms_TileEntitySignRenderer(); nms_TileEntitySignRenderer__init_(var_0); return var_0; }, nms_TileEntitySignRenderer_renderTileEntitySignAt = ($this, $par1TileEntitySign, $par2, $par4, $par6, $par8) => { let $var9, $var10, $var12, $var11, $var15, $var16, var$12, var$13, $var13, $var14, var$16, var$17, var$18, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var11 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntitySign = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1TileEntitySign.$blockType === null) { nms_Block_$callClinit(); $par1TileEntitySign.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($par1TileEntitySign.$worldObj0, $par1TileEntitySign.$xCoord0, $par1TileEntitySign.$yCoord0, $par1TileEntitySign.$zCoord0)]; } $var9 = $par1TileEntitySign.$blockType; nleg_EaglerAdapterGL30_glPushMatrix(); $var10 = 0.6666666865348816; nms_Block_$callClinit(); if ($var9 === nms_Block_signPost) { $par8 = $par2 + 0.5; $var12 = $par4 + 0.5; $var11 = $par6 + 0.5; $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = $par8; $var15.$y = $var12; $var15.$z = $var11; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; $var9 = new ji_ByteArrayOutputStream; $var9.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = $var9; $var9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var9, 16); $var15.$sb = $var9; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } if ($par1TileEntitySign.$blockMetadata == (-1)) $par1TileEntitySign.$blockMetadata = nms_World_getBlockMetadata($par1TileEntitySign.$worldObj0, $par1TileEntitySign.$xCoord0, $par1TileEntitySign.$yCoord0, $par1TileEntitySign.$zCoord0); $var12 = -(($par1TileEntitySign.$blockMetadata * 360 | 0) / 16.0); $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = 0.0; $var15.$y = 1.0; $var15.$z = 0.0; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; $var9 = new ji_ByteArrayOutputStream; $var9.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = $var9; $var9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var9, 16); $var15.$sb = $var9; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $this.$modelSign.$signStick.$showModel = 1; } else { if ($par1TileEntitySign.$blockMetadata == (-1)) $par1TileEntitySign.$blockMetadata = nms_World_getBlockMetadata($par1TileEntitySign.$worldObj0, $par1TileEntitySign.$xCoord0, $par1TileEntitySign.$yCoord0, $par1TileEntitySign.$zCoord0); $var16 = $par1TileEntitySign.$blockMetadata; $var12 = 0.0; if ($var16 == 2) $var12 = 180.0; if ($var16 == 4) $var12 = 90.0; if ($var16 == 5) $var12 = (-90.0); $par8 = $par2 + 0.5; $var11 = $par4 + 0.5; var$12 = $par6 + 0.5; $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = $par8; $var15.$y = $var11; $var15.$z = var$12; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; $var9 = new ji_ByteArrayOutputStream; $var9.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = $var9; $var9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var9, 16); $var15.$sb = $var9; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var12 = -$var12; $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = 0.0; $var15.$y = 1.0; $var15.$z = 0.0; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; $var9 = new ji_ByteArrayOutputStream; $var9.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = $var9; $var9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var9, 16); $var15.$sb = $var9; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = 0.0; $var15.$y = (-0.3125); $var15.$z = (-0.4375); $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var9 = new otcic_JSStderrPrintStream; $var15 = new ji_ByteArrayOutputStream; $var15.$buf = $rt_createByteArray(32); jl_Object__init_($var9); $var9.$out0 = $var15; $var15 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var15, 16); $var9.$sb = $var15; $var9.$buffer0 = $rt_createCharArray(32); $var9.$autoFlush = 0; $var9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $this.$modelSign.$signStick.$showModel = 0; } nms_TileEntitySignRenderer_$callClinit(); $var9 = nms_TileEntitySignRenderer_field_110638_a; if ($this.$tileEntityRenderer.$renderEngine0 !== null) { $ptr = 1; continue main; } nleg_EaglerAdapterGL30_glPushMatrix(); $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = $var10; $var15.$y = (-0.6666666865348816); $var15.$z = (-0.6666666865348816); $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; $var9 = new ji_ByteArrayOutputStream; $var9.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = $var9; $var9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var9, 16); $var15.$sb = $var9; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var15 = $this.$modelSign; nms_ModelRenderer_render($var15.$signBoard, 0.0625); nms_ModelRenderer_render($var15.$signStick, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); $var9 = $this.$tileEntityRenderer.$fontRenderer3; $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = 0.0; $var15.$y = 0.3333333432674408; $var15.$z = 0.046666666865348816; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = var$13; var$13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$13, 16); $var15.$sb = var$13; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = 0.01111111231148243; $var15.$y = (-0.01111111231148243); $var15.$z = 0.01111111231148243; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = var$13; var$13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$13, 16); $var15.$sb = var$13; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_normalSerial = nleg_EaglerAdapterGL30_normalSerial + 1 | 0; $var12 = jl_Math_sqrt(1.234568189829588E-4); $par8 = 0.0 / $var12; nleg_EaglerAdapterGL30_normalX = $par8; nleg_EaglerAdapterGL30_normalY = $par8; nleg_EaglerAdapterGL30_normalZ = (-0.01111111231148243) / $var12; if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } $var13 = 0; $var14 = 0; var$13 = $rt_s(3522); var$16 = $rt_s(3523); var$17 = $par1TileEntitySign.$signText.data; if ($var14 >= var$17.length) { if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPopMatrix(); return; } $var15 = var$17[$var14]; if ($var14 != $par1TileEntitySign.$lineBeingEdited) { var$18 = ( -nms_FontRenderer_getStringWidth($var9, $var15) | 0) / 2 | 0; $var16 = ($var14 * 10 | 0) - ($par1TileEntitySign.$signText.data.length * 5 | 0) | 0; $var9.$randomStyle = 0; $var9.$boldStyle = 0; $var9.$italicStyle = 0; $var9.$underlineStyle = 0; $var9.$strikethroughStyle = 0; var$19 = 0; $ptr = 2; continue main; } var$20 = new jl_StringBuilder; var$20.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$20, var$20.$length0, var$13); $var16 = var$20.$length0; if ($var15 === null) $var15 = $rt_s(1); jl_AbstractStringBuilder_insert(var$20, $var16, $var15); jl_AbstractStringBuilder_insert(var$20, var$20.$length0, var$16); $var15 = new jl_String; var$17 = var$20.$buffer; var$21 = var$17.data; var$18 = var$20.$length0; var$19 = var$21.length; if (var$18 >= 0 && var$18 <= (var$19 - 0 | 0)) { $var15.$nativeString = $rt_charArrayToString(var$17.data, 0, var$18); $var16 = ( -nms_FontRenderer_getStringWidth($var9, $var15) | 0) / 2 | 0; var$18 = ($var14 * 10 | 0) - ($par1TileEntitySign.$signText.data.length * 5 | 0) | 0; $var9.$randomStyle = 0; $var9.$boldStyle = 0; $var9.$italicStyle = 0; $var9.$underlineStyle = 0; $var9.$strikethroughStyle = 0; var$19 = 0; $ptr = 3; continue main; } $par1TileEntitySign = new jl_IndexOutOfBoundsException; $par1TileEntitySign.$suppressionEnabled = 1; $par1TileEntitySign.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1TileEntitySign); $rt_throw($par1TileEntitySign); case 1: nle_TextureLocation_bindTexture($var9); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = $var10; $var15.$y = (-0.6666666865348816); $var15.$z = (-0.6666666865348816); $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; $var9 = new ji_ByteArrayOutputStream; $var9.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = $var9; $var9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var9, 16); $var15.$sb = $var9; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var15 = $this.$modelSign; nms_ModelRenderer_render($var15.$signBoard, 0.0625); nms_ModelRenderer_render($var15.$signStick, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); $var9 = $this.$tileEntityRenderer.$fontRenderer3; $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = 0.0; $var15.$y = 0.3333333432674408; $var15.$z = 0.046666666865348816; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = var$13; var$13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$13, 16); $var15.$sb = var$13; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var15 = nleg_EaglerAdapterGL30_deevis; $var15.$x = 0.01111111231148243; $var15.$y = (-0.01111111231148243); $var15.$z = 0.01111111231148243; $var15 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var15, $var15); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var15 = new otcic_JSStderrPrintStream; var$13 = new ji_ByteArrayOutputStream; var$13.$buf = $rt_createByteArray(32); jl_Object__init_($var15); $var15.$out0 = var$13; var$13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$13, 16); $var15.$sb = var$13; $var15.$buffer0 = $rt_createCharArray(32); $var15.$autoFlush = 0; $var15.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var15; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_normalSerial = nleg_EaglerAdapterGL30_normalSerial + 1 | 0; $var12 = jl_Math_sqrt(1.234568189829588E-4); $par8 = 0.0 / $var12; nleg_EaglerAdapterGL30_normalX = $par8; nleg_EaglerAdapterGL30_normalY = $par8; nleg_EaglerAdapterGL30_normalZ = (-0.01111111231148243) / $var12; if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } $var13 = 0; $var14 = 0; var$13 = $rt_s(3522); var$16 = $rt_s(3523); var$17 = $par1TileEntitySign.$signText.data; if ($var14 >= var$17.length) { if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPopMatrix(); return; } $var15 = var$17[$var14]; if ($var14 != $par1TileEntitySign.$lineBeingEdited) { var$18 = ( -nms_FontRenderer_getStringWidth($var9, $var15) | 0) / 2 | 0; $var16 = ($var14 * 10 | 0) - ($par1TileEntitySign.$signText.data.length * 5 | 0) | 0; $var9.$randomStyle = 0; $var9.$boldStyle = 0; $var9.$italicStyle = 0; $var9.$underlineStyle = 0; $var9.$strikethroughStyle = 0; var$19 = 0; $ptr = 2; continue main; } var$20 = new jl_StringBuilder; var$20.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$20, var$20.$length0, var$13); $var16 = var$20.$length0; if ($var15 === null) $var15 = $rt_s(1); jl_AbstractStringBuilder_insert(var$20, $var16, $var15); jl_AbstractStringBuilder_insert(var$20, var$20.$length0, var$16); $var15 = new jl_String; var$17 = var$20.$buffer; var$21 = var$17.data; var$18 = var$20.$length0; var$19 = var$21.length; if (var$18 >= 0 && var$18 <= (var$19 - 0 | 0)) { $var15.$nativeString = $rt_charArrayToString(var$17.data, 0, var$18); $var16 = ( -nms_FontRenderer_getStringWidth($var9, $var15) | 0) / 2 | 0; var$18 = ($var14 * 10 | 0) - ($par1TileEntitySign.$signText.data.length * 5 | 0) | 0; $var9.$randomStyle = 0; $var9.$boldStyle = 0; $var9.$italicStyle = 0; $var9.$underlineStyle = 0; $var9.$strikethroughStyle = 0; var$19 = 0; $ptr = 3; continue main; } $par1TileEntitySign = new jl_IndexOutOfBoundsException; $par1TileEntitySign.$suppressionEnabled = 1; $par1TileEntitySign.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1TileEntitySign); $rt_throw($par1TileEntitySign); case 2: nms_FontRenderer_renderString($var9, $var15, var$18, $var16, $var13, var$19); if ($rt_suspending()) { break main; } $var14 = $var14 + 1 | 0; var$17 = $par1TileEntitySign.$signText.data; if ($var14 >= var$17.length) { if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPopMatrix(); return; } $var15 = var$17[$var14]; if ($var14 != $par1TileEntitySign.$lineBeingEdited) { var$18 = ( -nms_FontRenderer_getStringWidth($var9, $var15) | 0) / 2 | 0; $var16 = ($var14 * 10 | 0) - ($par1TileEntitySign.$signText.data.length * 5 | 0) | 0; $var9.$randomStyle = 0; $var9.$boldStyle = 0; $var9.$italicStyle = 0; $var9.$underlineStyle = 0; $var9.$strikethroughStyle = 0; var$19 = 0; continue main; } var$20 = new jl_StringBuilder; var$20.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$20, var$20.$length0, var$13); $var16 = var$20.$length0; if ($var15 === null) $var15 = $rt_s(1); jl_AbstractStringBuilder_insert(var$20, $var16, $var15); jl_AbstractStringBuilder_insert(var$20, var$20.$length0, var$16); $var15 = new jl_String; var$17 = var$20.$buffer; var$21 = var$17.data; var$18 = var$20.$length0; var$19 = var$21.length; if (var$18 >= 0 && var$18 <= (var$19 - 0 | 0)) { $var15.$nativeString = $rt_charArrayToString(var$17.data, 0, var$18); $var16 = ( -nms_FontRenderer_getStringWidth($var9, $var15) | 0) / 2 | 0; var$18 = ($var14 * 10 | 0) - ($par1TileEntitySign.$signText.data.length * 5 | 0) | 0; $var9.$randomStyle = 0; $var9.$boldStyle = 0; $var9.$italicStyle = 0; $var9.$underlineStyle = 0; $var9.$strikethroughStyle = 0; var$19 = 0; $ptr = 3; continue main; } $par1TileEntitySign = new jl_IndexOutOfBoundsException; $par1TileEntitySign.$suppressionEnabled = 1; $par1TileEntitySign.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1TileEntitySign); $rt_throw($par1TileEntitySign); case 3: nms_FontRenderer_renderString($var9, $var15, $var16, var$18, $var13, var$19); if ($rt_suspending()) { break main; } $var14 = $var14 + 1 | 0; var$17 = $par1TileEntitySign.$signText.data; if ($var14 >= var$17.length) { if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPopMatrix(); return; } $var15 = var$17[$var14]; if ($var14 != $par1TileEntitySign.$lineBeingEdited) { var$18 = ( -nms_FontRenderer_getStringWidth($var9, $var15) | 0) / 2 | 0; $var16 = ($var14 * 10 | 0) - ($par1TileEntitySign.$signText.data.length * 5 | 0) | 0; $var9.$randomStyle = 0; $var9.$boldStyle = 0; $var9.$italicStyle = 0; $var9.$underlineStyle = 0; $var9.$strikethroughStyle = 0; var$19 = 0; $ptr = 2; continue main; } var$20 = new jl_StringBuilder; var$20.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$20, var$20.$length0, var$13); $var16 = var$20.$length0; if ($var15 === null) $var15 = $rt_s(1); jl_AbstractStringBuilder_insert(var$20, $var16, $var15); jl_AbstractStringBuilder_insert(var$20, var$20.$length0, var$16); $var15 = new jl_String; var$17 = var$20.$buffer; var$21 = var$17.data; var$18 = var$20.$length0; var$19 = var$21.length; if (var$18 >= 0 && var$18 <= (var$19 - 0 | 0)) { $var15.$nativeString = $rt_charArrayToString(var$17.data, 0, var$18); $var16 = ( -nms_FontRenderer_getStringWidth($var9, $var15) | 0) / 2 | 0; var$18 = ($var14 * 10 | 0) - ($par1TileEntitySign.$signText.data.length * 5 | 0) | 0; $var9.$randomStyle = 0; $var9.$boldStyle = 0; $var9.$italicStyle = 0; $var9.$underlineStyle = 0; $var9.$strikethroughStyle = 0; var$19 = 0; continue main; } $par1TileEntitySign = new jl_IndexOutOfBoundsException; $par1TileEntitySign.$suppressionEnabled = 1; $par1TileEntitySign.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1TileEntitySign); $rt_throw($par1TileEntitySign); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntitySign, $par2, $par4, $par6, $par8, $var9, $var10, $var12, $var11, $var15, $var16, var$12, var$13, $var13, $var14, var$16, var$17, var$18, var$19, var$20, var$21, $ptr); }, nms_TileEntitySignRenderer_renderTileEntityAt = ($this, $par1TileEntity, $par2, $par4, $par6, $par8) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1TileEntity = $par1TileEntity; $ptr = 1; case 1: nms_TileEntitySignRenderer_renderTileEntitySignAt($this, $par1TileEntity, $par2, $par4, $par6, $par8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntity, $par2, $par4, $par6, $par8, $ptr); }, nms_TileEntitySignRenderer__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3524); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntitySignRenderer_field_110638_a = var$1; }; function nms_TileEntityMobSpawner() { nms_TileEntity.call(this); this.$field_98050_a = null; } let nms_TileEntityMobSpawner__init_ = $this => { let var$1; nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); var$1 = new nms_TileEntityMobSpawnerLogic; var$1.$spawnDelay = 20; var$1.$mobID = $rt_s(690); var$1.$minSpawnDelay = 200; var$1.$maxSpawnDelay = 800; var$1.$spawnCount = 4; var$1.$maxNearbyEntities = 6; var$1.$activatingRangeFromPlayer = 16; var$1.$spawnRange = 4; var$1.$mobSpawnerEntity = $this; $this.$field_98050_a = var$1; }, nms_TileEntityMobSpawner__init_0 = () => { let var_0 = new nms_TileEntityMobSpawner(); nms_TileEntityMobSpawner__init_(var_0); return var_0; }, nms_TileEntityMobSpawner_readFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { d: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; e: { $this.$xCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { f: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { g: { if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { h: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } i: { $this.$yCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { j: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { k: { if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { l: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } $this.$zCoord0 = var$3; nms_MobSpawnerBaseLogic_readFromNBT($this.$field_98050_a, $par1NBTTagCompound); }, nms_TileEntityMobSpawner_writeToNBT = ($this, $par1NBTTagCompound) => { nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); nms_MobSpawnerBaseLogic_writeToNBT($this.$field_98050_a, $par1NBTTagCompound); }, nms_TileEntityMobSpawner_updateEntity = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$field_98050_a; $ptr = 1; case 1: nms_MobSpawnerBaseLogic_updateSpawner(var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_TileEntityMobSpawner_receiveClientEvent = ($this, $par1, $par2) => { let var$3; var$3 = $this.$field_98050_a; if ($par1 == 1 && var$3.$mobSpawnerEntity.$worldObj0.$isRemote) { var$3.$spawnDelay = var$3.$minSpawnDelay; $par1 = 1; } else $par1 = 0; return $par1 ? 1 : 0; }, nms_TileEntityMobSpawnerRenderer = $rt_classWithoutFields(nms_TileEntitySpecialRenderer), nms_TileEntityMobSpawnerRenderer__init_ = $this => { return; }, nms_TileEntityMobSpawnerRenderer__init_0 = () => { let var_0 = new nms_TileEntityMobSpawnerRenderer(); nms_TileEntityMobSpawnerRenderer__init_(var_0); return var_0; }, nms_TileEntityMobSpawnerRenderer_func_98144_a = ($par0MobSpawnerBaseLogic, $par1, $par3, $par5, $par7) => { let $var8, var$7, var$8, var$9, var$10, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$par0MobSpawnerBaseLogic = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_MobSpawnerBaseLogic_func_98281_h($par0MobSpawnerBaseLogic); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 !== null) { $var8.$worldObj = $par0MobSpawnerBaseLogic.$getSpawnerWorld(); nleg_EaglerAdapterGL30_$callClinit(); var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = 0.0; var$7.$y = 0.4000000059604645; var$7.$z = 0.0; var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = $par0MobSpawnerBaseLogic.$field_98284_d; var$10 = (var$9 + ($par0MobSpawnerBaseLogic.$field_98287_c - var$9) * $par7) * 10.0; $par0MobSpawnerBaseLogic = nleg_EaglerAdapterGL30_deevis; $par0MobSpawnerBaseLogic.$x = 0.0; $par0MobSpawnerBaseLogic.$y = 1.0; $par0MobSpawnerBaseLogic.$z = 0.0; $par0MobSpawnerBaseLogic = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(var$10 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par0MobSpawnerBaseLogic, $par0MobSpawnerBaseLogic); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par0MobSpawnerBaseLogic = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($par0MobSpawnerBaseLogic); $par0MobSpawnerBaseLogic.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $par0MobSpawnerBaseLogic.$sb = var$7; $par0MobSpawnerBaseLogic.$buffer0 = $rt_createCharArray(32); $par0MobSpawnerBaseLogic.$autoFlush = 0; $par0MobSpawnerBaseLogic.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par0MobSpawnerBaseLogic; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par0MobSpawnerBaseLogic = nleg_EaglerAdapterGL30_deevis; $par0MobSpawnerBaseLogic.$x = 1.0; $par0MobSpawnerBaseLogic.$y = 0.0; $par0MobSpawnerBaseLogic.$z = 0.0; $par0MobSpawnerBaseLogic = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, $par0MobSpawnerBaseLogic, $par0MobSpawnerBaseLogic); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par0MobSpawnerBaseLogic = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($par0MobSpawnerBaseLogic); $par0MobSpawnerBaseLogic.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $par0MobSpawnerBaseLogic.$sb = var$7; $par0MobSpawnerBaseLogic.$buffer0 = $rt_createCharArray(32); $par0MobSpawnerBaseLogic.$autoFlush = 0; $par0MobSpawnerBaseLogic.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par0MobSpawnerBaseLogic; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par0MobSpawnerBaseLogic = nleg_EaglerAdapterGL30_deevis; $par0MobSpawnerBaseLogic.$x = 0.0; $par0MobSpawnerBaseLogic.$y = (-0.4000000059604645); $par0MobSpawnerBaseLogic.$z = 0.0; $par0MobSpawnerBaseLogic = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par0MobSpawnerBaseLogic, $par0MobSpawnerBaseLogic); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par0MobSpawnerBaseLogic = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($par0MobSpawnerBaseLogic); $par0MobSpawnerBaseLogic.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $par0MobSpawnerBaseLogic.$sb = var$7; $par0MobSpawnerBaseLogic.$buffer0 = $rt_createCharArray(32); $par0MobSpawnerBaseLogic.$autoFlush = 0; $par0MobSpawnerBaseLogic.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par0MobSpawnerBaseLogic; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par0MobSpawnerBaseLogic = nleg_EaglerAdapterGL30_deevis; $par0MobSpawnerBaseLogic.$x = 0.4375; $par0MobSpawnerBaseLogic.$y = 0.4375; $par0MobSpawnerBaseLogic.$z = 0.4375; $par0MobSpawnerBaseLogic = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par0MobSpawnerBaseLogic, $par0MobSpawnerBaseLogic); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par0MobSpawnerBaseLogic = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_($par0MobSpawnerBaseLogic); $par0MobSpawnerBaseLogic.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); $par0MobSpawnerBaseLogic.$sb = var$7; $par0MobSpawnerBaseLogic.$buffer0 = $rt_createCharArray(32); $par0MobSpawnerBaseLogic.$autoFlush = 0; $par0MobSpawnerBaseLogic.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par0MobSpawnerBaseLogic; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var8.$posX = $par1; $var8.$prevPosX = $par1; $var8.$lastTickPosX = $par1; $par3 = $par3 + $var8.$yOffset; $var8.$posY = $par3; $var8.$prevPosY = $par3; $var8.$lastTickPosY = $par3; $var8.$posZ = $par5; $var8.$prevPosZ = $par5; $var8.$lastTickPosZ = $par5; $var8.$rotationYaw = 0.0; $var8.$rotationPitch = 0.0; nms_Entity_setPosition($var8, $par1, $par3, $par5); $par0MobSpawnerBaseLogic = nms_RenderManager_instance; $par1 = 0.0; $par3 = 0.0; $par5 = 0.0; var$10 = 0.0; a: { try { var$7 = nms_RenderManager_getEntityRenderObject($par0MobSpawnerBaseLogic, $var8); if (var$7 !== null && $par0MobSpawnerBaseLogic.$renderEngine1 !== null) { if (nms_RenderManager_field_85095_o && !nms_Entity_isInvisible($var8)) nms_RenderManager_func_85094_b($par0MobSpawnerBaseLogic, $var8, $par1, $par3, $par5, var$10, $par7); $ptr = 2; continue main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } } return; case 2: try { var$7.$doRender($var8, $par1, $par3, $par5, var$10, $par7); if ($rt_suspending()) { break main; } $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } return; case 3: b: { try { nms_Render_doRenderShadowAndFire(var$7, $var8, $par1, $par3, $par5, var$10, $par7); if ($rt_suspending()) { break main; } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0MobSpawnerBaseLogic, $par1, $par3, $par5, $par7, $var8, var$7, var$8, var$9, var$10, $ptr); }, nms_TileEntityMobSpawnerRenderer_renderTileEntityAt = ($this, $par1TileEntity, $par2, $par4, $par6, $par8) => { let var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $par1TileEntity; nleg_EaglerAdapterGL30_glPushMatrix(); var$7 = $par2 + 0.5; var$8 = $par4; var$9 = $par6 + 0.5; $par1TileEntity = nleg_EaglerAdapterGL30_deevis; $par1TileEntity.$x = var$7; $par1TileEntity.$y = var$8; $par1TileEntity.$z = var$9; $par1TileEntity = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntity, $par1TileEntity); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntity = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; jl_Object__init_(var$10); var$10.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1TileEntity); $par1TileEntity.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$10); $par1TileEntity.$sb = var$10; $par1TileEntity.$buffer0 = $rt_createCharArray(32); $par1TileEntity.$autoFlush = 0; $par1TileEntity.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntity; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par1TileEntity = var$6.$field_98050_a; $ptr = 1; case 1: nms_TileEntityMobSpawnerRenderer_func_98144_a($par1TileEntity, $par2, $par4, $par6, $par8); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntity, $par2, $par4, $par6, $par8, var$6, var$7, var$8, var$9, var$10, $ptr); }; function nms_TileEntityPiston() { let a = this; nms_TileEntity.call(a); a.$storedBlockID = 0; a.$storedMetadata = 0; a.$storedOrientation = 0; a.$extending = 0; a.$shouldHeadBeRendered = 0; a.$progress = 0.0; a.$lastProgress = 0.0; a.$pushedObjects = null; } let nms_TileEntityPiston__init_ = $this => { let var$1; nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$pushedObjects = var$1; }, nms_TileEntityPiston__init_0 = () => { let var_0 = new nms_TileEntityPiston(); nms_TileEntityPiston__init_(var_0); return var_0; }, nms_TileEntityPiston_getOffsetX = ($this, $par1) => { let var$2, var$3; if (!$this.$extending) { if ($par1 > 1.0) $par1 = 1.0; var$2 = $this.$lastProgress; $par1 = (1.0 - (var$2 + ($this.$progress - var$2) * $par1)) * nms_Facing_offsetsXForSide.data[$this.$storedOrientation]; } else { if ($par1 > 1.0) $par1 = 1.0; var$3 = $this.$lastProgress; $par1 = (var$3 + ($this.$progress - var$3) * $par1 - 1.0) * nms_Facing_offsetsXForSide.data[$this.$storedOrientation]; } return $par1; }, nms_TileEntityPiston_getOffsetY = ($this, $par1) => { let var$2, var$3; if (!$this.$extending) { if ($par1 > 1.0) $par1 = 1.0; var$2 = $this.$lastProgress; $par1 = (1.0 - (var$2 + ($this.$progress - var$2) * $par1)) * nms_Facing_offsetsYForSide.data[$this.$storedOrientation]; } else { if ($par1 > 1.0) $par1 = 1.0; var$3 = $this.$lastProgress; $par1 = (var$3 + ($this.$progress - var$3) * $par1 - 1.0) * nms_Facing_offsetsYForSide.data[$this.$storedOrientation]; } return $par1; }, nms_TileEntityPiston_getOffsetZ = ($this, $par1) => { let var$2, var$3; if (!$this.$extending) { if ($par1 > 1.0) $par1 = 1.0; var$2 = $this.$lastProgress; $par1 = (1.0 - (var$2 + ($this.$progress - var$2) * $par1)) * nms_Facing_offsetsZForSide.data[$this.$storedOrientation]; } else { if ($par1 > 1.0) $par1 = 1.0; var$3 = $this.$lastProgress; $par1 = (var$3 + ($this.$progress - var$3) * $par1 - 1.0) * nms_Facing_offsetsZForSide.data[$this.$storedOrientation]; } return $par1; }, nms_TileEntityPiston_updatePushedObjects = ($this, $par1, $par2) => { let $var3, $var6, var$5, $var5$index, var$7, var$8, $var5$index_0, $var4, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var4 = $thread.pop();$var5$index_0 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5$index = $thread.pop();var$5 = $thread.pop();$var6 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1 = !$this.$extending ? $par1 - 1.0 : 1.0 - $par1; nms_Block_$callClinit(); $var3 = nms_Block_pistonMoving; $var6 = $this.$worldObj0; var$5 = $this.$xCoord0; $var5$index = $this.$yCoord0; var$7 = $this.$zCoord0; var$8 = $this.$storedBlockID; $var5$index_0 = $this.$storedOrientation; $ptr = 1; case 1: a: { $tmp = nms_BlockPistonMoving_getAxisAlignedBB($var3, $var6, var$5, $var5$index, var$7, var$8, $par1, $var5$index_0); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 !== null) { $var4 = nms_World_getEntitiesWithinAABBExcludingEntity($this.$worldObj0, null, $var3, null); if (!($var4.$size0 ? 0 : 1)) { $var3 = $this.$pushedObjects; $var5$index = 0; var$8 = $var4.$modCount; $var5$index_0 = $var4.$size(); while (true) { if (!($var5$index >= $var5$index_0 ? 0 : 1)) { $var3 = $this.$pushedObjects; var$7 = $var3.$modCount; var$8 = $var3.$size(); if (0 >= var$8 ? 0 : 1) { if (var$7 < $var3.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var5$index = 0 + 1 | 0; $var6 = $var3.$get(0); var$11 = nms_Facing_offsetsXForSide.data; $var5$index_0 = $this.$storedOrientation; var$12 = $par2 * var$11[$var5$index_0]; var$13 = $par2 * nms_Facing_offsetsYForSide.data[$var5$index_0]; var$14 = $par2 * nms_Facing_offsetsZForSide.data[$var5$index_0]; $ptr = 2; continue main; } $var3 = $this.$pushedObjects; var$11 = $var3.$array; var$5 = 0; $var5$index = $var3.$size0; $var6 = null; if (var$5 > $var5$index) { $var3 = new jl_IllegalArgumentException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } while (var$5 < $var5$index) { var$15 = var$11.data; var$7 = var$5 + 1 | 0; var$15[var$5] = $var6; var$5 = var$7; } $var3.$size0 = 0; $var3.$modCount = $var3.$modCount + 1 | 0; break a; } if (var$8 < $var4.$modCount) break; var$7 = $var5$index + 1 | 0; $var6 = $var4.$get($var5$index); ju_ArrayList_ensureCapacity($var3, $var3.$size0 + 1 | 0); var$11 = $var3.$array.data; $var5$index = $var3.$size0; $var3.$size0 = $var5$index + 1 | 0; var$11[$var5$index] = $var6; $var3.$modCount = $var3.$modCount + 1 | 0; $var5$index = var$7; } $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } } } return; case 2: $var6.$moveEntity(var$12, var$13, var$14); if ($rt_suspending()) { break main; } $var5$index_0 = $var5$index; if (!($var5$index_0 >= var$8 ? 0 : 1)) { $var3 = $this.$pushedObjects; var$11 = $var3.$array; var$5 = 0; $var5$index = $var3.$size0; $var6 = null; if (var$5 > $var5$index) { $var3 = new jl_IllegalArgumentException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } while (var$5 < $var5$index) { var$15 = var$11.data; var$7 = var$5 + 1 | 0; var$15[var$5] = $var6; var$5 = var$7; } $var3.$size0 = 0; $var3.$modCount = $var3.$modCount + 1 | 0; return; } if (var$7 < $var3.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var5$index = $var5$index_0 + 1 | 0; $var6 = $var3.$get($var5$index_0); var$11 = nms_Facing_offsetsXForSide.data; $var5$index_0 = $this.$storedOrientation; var$12 = $par2 * var$11[$var5$index_0]; var$13 = $par2 * nms_Facing_offsetsYForSide.data[$var5$index_0]; var$14 = $par2 * nms_Facing_offsetsZForSide.data[$var5$index_0]; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, $var6, var$5, $var5$index, var$7, var$8, $var5$index_0, $var4, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_TileEntityPiston_clearPistonTileEntity = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$lastProgress < 1.0) { var$1 = $this.$worldObj0; if (var$1 !== null) { $this.$progress = 1.0; $this.$lastProgress = 1.0; var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$4 = $this.$zCoord0; $ptr = 1; continue main; } } return; case 1: nms_World_removeBlockTileEntity(var$1, var$2, var$3, var$4); if ($rt_suspending()) { break main; } $this.$tileEntityInvalid = 1; var$2 = nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0); nms_Block_$callClinit(); if (var$2 != nms_Block_pistonMoving.$blockID) return; var$1 = $this.$worldObj0; var$3 = $this.$xCoord0; var$4 = $this.$yCoord0; var$5 = $this.$zCoord0; var$6 = $this.$storedBlockID; var$7 = $this.$storedMetadata; var$2 = 3; $ptr = 2; case 2: nms_World_setBlock(var$1, var$3, var$4, var$5, var$6, var$7, var$2); if ($rt_suspending()) { break main; } var$1 = $this.$worldObj0; var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$4 = $this.$zCoord0; var$5 = $this.$storedBlockID; if (!var$1.$isRemote) { var$6 = nms_World_getBlockId(var$1, var$2, var$3, var$4); var$8 = nms_Block_blocksList.data[var$6]; if (var$8 !== null) { $ptr = 3; continue main; } } return; case 3: var$8.$onNeighborBlockChange(var$1, var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_TileEntityPiston_updateEntity = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$progress; $this.$lastProgress = var$1; if (var$1 >= 1.0) { var$2 = 1.0; var$1 = 0.25; $ptr = 1; continue main; } var$2 = var$1 + 0.5; $this.$progress = var$2; if (var$2 >= 1.0) $this.$progress = 1.0; if (!$this.$extending) return; var$2 = $this.$progress; var$1 = var$2 - var$1 + 0.0625; $ptr = 4; continue main; case 1: nms_TileEntityPiston_updatePushedObjects($this, var$2, var$1); if ($rt_suspending()) { break main; } var$3 = $this.$worldObj0; var$4 = $this.$xCoord0; var$5 = $this.$yCoord0; var$6 = $this.$zCoord0; $ptr = 2; case 2: nms_World_removeBlockTileEntity(var$3, var$4, var$5, var$6); if ($rt_suspending()) { break main; } $this.$tileEntityInvalid = 1; var$4 = nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0); nms_Block_$callClinit(); if (var$4 != nms_Block_pistonMoving.$blockID) return; var$3 = $this.$worldObj0; var$5 = $this.$xCoord0; var$6 = $this.$yCoord0; var$7 = $this.$zCoord0; var$8 = $this.$storedBlockID; var$9 = $this.$storedMetadata; var$4 = 3; $ptr = 3; case 3: nms_World_setBlock(var$3, var$5, var$6, var$7, var$8, var$9, var$4); if ($rt_suspending()) { break main; } var$3 = $this.$worldObj0; var$4 = $this.$xCoord0; var$5 = $this.$yCoord0; var$6 = $this.$zCoord0; var$7 = $this.$storedBlockID; if (!var$3.$isRemote) { var$8 = nms_World_getBlockId(var$3, var$4, var$5, var$6); var$10 = nms_Block_blocksList.data[var$8]; if (var$10 !== null) { $ptr = 5; continue main; } } return; case 4: nms_TileEntityPiston_updatePushedObjects($this, var$2, var$1); if ($rt_suspending()) { break main; } return; case 5: var$10.$onNeighborBlockChange(var$3, var$4, var$5, var$6, var$7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_TileEntityPiston_readFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } e: { $this.$xCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { f: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) !== null) { g: { if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { h: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } i: { $this.$yCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { j: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) !== null) { k: { if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { l: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; m: { $this.$zCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3525).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(3525).$nativeString.length) break m; $rt_s(3525).$hashCode1 = (31 * $rt_s(3525).$hashCode1 | 0) + $rt_s(3525).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$3 = $rt_s(3525).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { n: { var$6 = var$2.$key; if ($rt_s(3525) !== var$6) { if ($rt_s(3525) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$7 = $rt_s(3525).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break n; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3525) !== null) { o: { if (!$rt_s(3525).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3525).$nativeString.length) break o; $rt_s(3525).$hashCode1 = (31 * $rt_s(3525).$hashCode1 | 0) + $rt_s(3525).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(3525).$hashCode1; var$5 = var$2.$elementData.data; var$8 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$7) { p: { var$2 = var$8.$key; if ($rt_s(3525) !== var$2) { if ($rt_s(3525) !== var$2) { if (var$2 instanceof jl_String) { var$2 = var$2; var$3 = $rt_s(3525).$nativeString !== var$2.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break p; } } var$3 = 1; } if (var$3) break; } var$8 = var$8.$next3; } } else { var$8 = var$2.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } var$3 = (var$8 === null ? null : var$8.$value1).$data0; } else var$3 = 0; q: { $this.$storedBlockID = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3526).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3526).$nativeString.length) break q; $rt_s(3526).$hashCode1 = (31 * $rt_s(3526).$hashCode1 | 0) + $rt_s(3526).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3526).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { r: { var$6 = var$2.$key; if ($rt_s(3526) !== var$6) { if ($rt_s(3526) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3526).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break r; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3526) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { s: { if (!$rt_s(3526).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3526).$nativeString.length) break s; $rt_s(3526).$hashCode1 = (31 * $rt_s(3526).$hashCode1 | 0) + $rt_s(3526).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3526).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { t: { var$6 = var$2.$key; if ($rt_s(3526) !== var$6) { if ($rt_s(3526) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3526).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break t; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; u: { $this.$storedMetadata = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3527).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3527).$nativeString.length) break u; $rt_s(3527).$hashCode1 = (31 * $rt_s(3527).$hashCode1 | 0) + $rt_s(3527).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3527).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { v: { var$6 = var$2.$key; if ($rt_s(3527) !== var$6) { if ($rt_s(3527) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(3527).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break v; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3527) !== null) { w: { if (!$rt_s(3527).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3527).$nativeString.length) break w; $rt_s(3527).$hashCode1 = (31 * $rt_s(3527).$hashCode1 | 0) + $rt_s(3527).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3527).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { x: { var$6 = var$2.$key; if ($rt_s(3527) !== var$6) { if ($rt_s(3527) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3527).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break x; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; y: { $this.$storedOrientation = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3528).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3528).$nativeString.length) break y; $rt_s(3528).$hashCode1 = (31 * $rt_s(3528).$hashCode1 | 0) + $rt_s(3528).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3528).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { z: { var$6 = var$2.$key; if ($rt_s(3528) !== var$6) { if ($rt_s(3528) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3528).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break z; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$9 = 0.0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3528) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { ba: { if (!$rt_s(3528).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3528).$nativeString.length) break ba; $rt_s(3528).$hashCode1 = (31 * $rt_s(3528).$hashCode1 | 0) + $rt_s(3528).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3528).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { bb: { var$6 = var$2.$key; if ($rt_s(3528) !== var$6) { if ($rt_s(3528) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3528).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bb; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$9 = (var$2 === null ? null : var$2.$value1).$data4; } bc: { $this.$progress = var$9; $this.$lastProgress = var$9; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3529).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3529).$nativeString.length) break bc; $rt_s(3529).$hashCode1 = (31 * $rt_s(3529).$hashCode1 | 0) + $rt_s(3529).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3529).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { bd: { var$6 = var$2.$key; if ($rt_s(3529) !== var$6) { if ($rt_s(3529) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3529).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bd; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(3529) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { be: { if (!$rt_s(3529).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3529).$nativeString.length) break be; $rt_s(3529).$hashCode1 = (31 * $rt_s(3529).$hashCode1 | 0) + $rt_s(3529).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3529).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$4) { bf: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(3529) !== var$2) { if ($rt_s(3529) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(3529).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break bf; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data; } $this.$extending = !var$3 ? 0 : 1; }, nms_TileEntityPiston_writeToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); var$2 = $this.$storedBlockID; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(3525); var$4.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(3525), var$4); var$2 = $this.$storedMetadata; var$4 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagInt; var$3.$name = $rt_s(3526); var$3.$data0 = var$2; ju_HashMap_putImpl(var$4, $rt_s(3526), var$3); var$2 = $this.$storedOrientation; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(3527); var$4.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(3527), var$4); var$5 = $this.$lastProgress; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagFloat; var$4.$name = $rt_s(3528); var$4.$data4 = var$5; ju_HashMap_putImpl(var$3, $rt_s(3528), var$4); var$2 = (!$this.$extending ? 0 : 1) << 24 >> 24; var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(3529); $par1NBTTagCompound.$data = var$2; ju_HashMap_putImpl(var$4, $rt_s(3529), $par1NBTTagCompound); }; function nms_TileEntityRendererPiston() { nms_TileEntitySpecialRenderer.call(this); this.$blockRenderer = null; } let nms_TileEntityRendererPiston__init_ = $this => { return; }, nms_TileEntityRendererPiston__init_0 = () => { let var_0 = new nms_TileEntityRendererPiston(); nms_TileEntityRendererPiston__init_(var_0); return var_0; }, nms_TileEntityRendererPiston_renderPiston = ($this, $par1TileEntityPiston, $par2, $par4, $par6, $par8) => { let $var9, var$7, var$8, var$9, $var10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntityPiston = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { nms_Block_$callClinit(); $var9 = nms_Block_blocksList.data[$par1TileEntityPiston.$storedBlockID]; if ($var9 !== null) { var$7 = $rt_compare($par8, 1.0); var$8 = var$7 > 0 ? 1.0 : $par8; var$9 = $par1TileEntityPiston.$lastProgress; if (var$9 + ($par1TileEntityPiston.$progress - var$9) * var$8 < 1.0) { nlea_Tessellator_$callClinit(); $var10 = nlea_Tessellator_instance; nms_TextureMap_$callClinit(); var$11 = nms_TextureMap_locationBlocksTexture; if ($this.$tileEntityRenderer.$renderEngine0 !== null) { $ptr = 1; continue main; } nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glDisable(2884); var$11 = nms_Minecraft_theMinecraft; var$11 !== null && var$11.$gameSettings.$ambientOcclusion; if ($var10.$isDrawing) nlea_Tessellator_draw($var10); b: { $var10.$isDrawing = 1; $var10.$vertexCount = 0; $var10.$rawBufferIndex = 0; $var10.$addedVertices = 0; $var10.$drawMode = 7; $var10.$hasNormals = 0; $var10.$hasColor = 0; $var10.$hasTexture = 0; $var10.$hasBrightness = 0; $var10.$isColorDisabled = 0; var$12 = $par2; $par2 = var$12 - $par1TileEntityPiston.$xCoord0 + nms_TileEntityPiston_getOffsetX($par1TileEntityPiston, $par8); var$8 = $par4; $par4 = var$8 - $par1TileEntityPiston.$yCoord0 + nms_TileEntityPiston_getOffsetY($par1TileEntityPiston, $par8); var$9 = $par6; $par6 = var$9 - $par1TileEntityPiston.$zCoord0 + nms_TileEntityPiston_getOffsetZ($par1TileEntityPiston, $par8); $var10.$xOffset = $par2; $var10.$yOffset0 = $par4; $var10.$zOffset = $par6; nlea_Tessellator_setColorRGBA($var10, 1, 1, 1, 255); var$11 = nms_Block_pistonExtension; if ($var9 === var$11) { var$13 = var$7 > 0 ? 1.0 : $par8; var$14 = $par1TileEntityPiston.$lastProgress; if (var$14 + ($par1TileEntityPiston.$progress - var$14) * var$13 < 0.5) { var$11 = $this.$blockRenderer; var$15 = $par1TileEntityPiston.$xCoord0; var$16 = $par1TileEntityPiston.$yCoord0; var$7 = $par1TileEntityPiston.$zCoord0; var$11.$renderAllFaces = 1; nms_RenderBlocks_renderPistonExtension(var$11, $var9, var$15, var$16, var$7, 0); var$11.$renderAllFaces = 0; break b; } } if (!$par1TileEntityPiston.$shouldHeadBeRendered) break a; if ($par1TileEntityPiston.$extending) break a; var$11.$headTexture = $var9.$topIcon; var$17 = $this.$blockRenderer; var$15 = $par1TileEntityPiston.$xCoord0; var$16 = $par1TileEntityPiston.$yCoord0; var$18 = $par1TileEntityPiston.$zCoord0; if (var$7 > 0) $par8 = 1.0; var$13 = $par1TileEntityPiston.$lastProgress; var$7 = var$13 + ($par1TileEntityPiston.$progress - var$13) * $par8 >= 0.5 ? 0 : 1; var$17.$renderAllFaces = 1; nms_RenderBlocks_renderPistonExtension(var$17, var$11, var$15, var$16, var$18, var$7); var$17.$renderAllFaces = 0; nms_Block_pistonExtension.$headTexture = null; var$15 = $par1TileEntityPiston.$xCoord0; $par2 = var$12 - var$15; var$16 = $par1TileEntityPiston.$yCoord0; $par4 = var$8 - var$16; var$7 = $par1TileEntityPiston.$zCoord0; $par6 = var$9 - var$7; $var10.$xOffset = $par2; $var10.$yOffset0 = $par4; $var10.$zOffset = $par6; $par1TileEntityPiston = $this.$blockRenderer; $par1TileEntityPiston.$renderAllFaces = 1; nms_RenderBlocks_renderPistonBase($par1TileEntityPiston, $var9, var$15, var$16, var$7, 1); $par1TileEntityPiston.$renderAllFaces = 0; } $var10.$xOffset = 0.0; $var10.$yOffset0 = 0.0; $var10.$zOffset = 0.0; nlea_Tessellator_draw($var10); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); } } return; } var$11 = $this.$blockRenderer; var$15 = $par1TileEntityPiston.$xCoord0; var$16 = $par1TileEntityPiston.$yCoord0; var$7 = $par1TileEntityPiston.$zCoord0; var$11.$renderAllFaces = 1; $ptr = 2; continue main; case 1: nle_TextureLocation_bindTexture(var$11); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glDisable(2884); var$11 = nms_Minecraft_theMinecraft; var$11 !== null && var$11.$gameSettings.$ambientOcclusion; if ($var10.$isDrawing) nlea_Tessellator_draw($var10); c: { d: { $var10.$isDrawing = 1; $var10.$vertexCount = 0; $var10.$rawBufferIndex = 0; $var10.$addedVertices = 0; $var10.$drawMode = 7; $var10.$hasNormals = 0; $var10.$hasColor = 0; $var10.$hasTexture = 0; $var10.$hasBrightness = 0; $var10.$isColorDisabled = 0; var$12 = $par2; $par2 = var$12 - $par1TileEntityPiston.$xCoord0 + nms_TileEntityPiston_getOffsetX($par1TileEntityPiston, $par8); var$8 = $par4; $par4 = var$8 - $par1TileEntityPiston.$yCoord0 + nms_TileEntityPiston_getOffsetY($par1TileEntityPiston, $par8); var$9 = $par6; $par6 = var$9 - $par1TileEntityPiston.$zCoord0 + nms_TileEntityPiston_getOffsetZ($par1TileEntityPiston, $par8); $var10.$xOffset = $par2; $var10.$yOffset0 = $par4; $var10.$zOffset = $par6; nlea_Tessellator_setColorRGBA($var10, 1, 1, 1, 255); var$11 = nms_Block_pistonExtension; if ($var9 === var$11) { var$13 = var$7 > 0 ? 1.0 : $par8; var$14 = $par1TileEntityPiston.$lastProgress; if (var$14 + ($par1TileEntityPiston.$progress - var$14) * var$13 < 0.5) { var$11 = $this.$blockRenderer; var$15 = $par1TileEntityPiston.$xCoord0; var$16 = $par1TileEntityPiston.$yCoord0; var$7 = $par1TileEntityPiston.$zCoord0; var$11.$renderAllFaces = 1; nms_RenderBlocks_renderPistonExtension(var$11, $var9, var$15, var$16, var$7, 0); var$11.$renderAllFaces = 0; break d; } } if (!$par1TileEntityPiston.$shouldHeadBeRendered) break c; if ($par1TileEntityPiston.$extending) break c; var$11.$headTexture = $var9.$topIcon; var$17 = $this.$blockRenderer; var$15 = $par1TileEntityPiston.$xCoord0; var$16 = $par1TileEntityPiston.$yCoord0; var$18 = $par1TileEntityPiston.$zCoord0; if (var$7 > 0) $par8 = 1.0; var$13 = $par1TileEntityPiston.$lastProgress; var$7 = var$13 + ($par1TileEntityPiston.$progress - var$13) * $par8 >= 0.5 ? 0 : 1; var$17.$renderAllFaces = 1; nms_RenderBlocks_renderPistonExtension(var$17, var$11, var$15, var$16, var$18, var$7); var$17.$renderAllFaces = 0; nms_Block_pistonExtension.$headTexture = null; var$15 = $par1TileEntityPiston.$xCoord0; $par2 = var$12 - var$15; var$16 = $par1TileEntityPiston.$yCoord0; $par4 = var$8 - var$16; var$7 = $par1TileEntityPiston.$zCoord0; $par6 = var$9 - var$7; $var10.$xOffset = $par2; $var10.$yOffset0 = $par4; $var10.$zOffset = $par6; $par1TileEntityPiston = $this.$blockRenderer; $par1TileEntityPiston.$renderAllFaces = 1; nms_RenderBlocks_renderPistonBase($par1TileEntityPiston, $var9, var$15, var$16, var$7, 1); $par1TileEntityPiston.$renderAllFaces = 0; } $var10.$xOffset = 0.0; $var10.$yOffset0 = 0.0; $var10.$zOffset = 0.0; nlea_Tessellator_draw($var10); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); return; } var$11 = $this.$blockRenderer; var$15 = $par1TileEntityPiston.$xCoord0; var$16 = $par1TileEntityPiston.$yCoord0; var$7 = $par1TileEntityPiston.$zCoord0; var$11.$renderAllFaces = 1; $ptr = 2; case 2: nms_RenderBlocks_renderBlockByRenderType(var$11, $var9, var$15, var$16, var$7); if ($rt_suspending()) { break main; } var$11.$renderAllFaces = 0; $var10.$xOffset = 0.0; $var10.$yOffset0 = 0.0; $var10.$zOffset = 0.0; nlea_Tessellator_draw($var10); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntityPiston, $par2, $par4, $par6, $par8, $var9, var$7, var$8, var$9, $var10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_TileEntityRendererPiston_onWorldChange = ($this, $par1World) => { let var$2; var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$blockAccess = $par1World; var$2.$minecraftRB = nms_Minecraft_theMinecraft; $this.$blockRenderer = var$2; }, nms_TileEntityRendererPiston_renderTileEntityAt = ($this, $par1TileEntity, $par2, $par4, $par6, $par8) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1TileEntity = $par1TileEntity; $ptr = 1; case 1: nms_TileEntityRendererPiston_renderPiston($this, $par1TileEntity, $par2, $par4, $par6, $par8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntity, $par2, $par4, $par6, $par8, $ptr); }; function nms_TileEntityChest() { let a = this; nms_TileEntity.call(a); a.$chestContents = null; a.$adjacentChestChecked = 0; a.$adjacentChestZNeg = null; a.$adjacentChestXPos = null; a.$adjacentChestXNeg = null; a.$adjacentChestZPosition = null; a.$lidAngle = 0.0; a.$prevLidAngle = 0.0; a.$numUsingPlayers = 0; a.$ticksSinceSync = 0; a.$cachedChestType = 0; a.$customName0 = null; } let nms_TileEntityChest__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); $this.$chestContents = $rt_createArray(nms_ItemStack, 36); $this.$cachedChestType = (-1); }, nms_TileEntityChest__init_0 = () => { let var_0 = new nms_TileEntityChest(); nms_TileEntityChest__init_(var_0); return var_0; }, nms_TileEntityChest_getSizeInventory = $this => { return 27; }, nms_TileEntityChest_getStackInSlot = ($this, $par1) => { return $this.$chestContents.data[$par1]; }, nms_TileEntityChest_decrStackSize = ($this, $par1, $par2) => { let var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$chestContents.data; if (var$3[$par1] === null) return null; if (var$3[$par1].$stackSize <= $par2) { $var3 = var$3[$par1]; var$3[$par1] = null; $ptr = 1; continue main; } var$5 = var$3[$par1]; $var3 = new nms_ItemStack; var$6 = var$5.$itemID; var$7 = var$5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$6; $var3.$stackSize = $par2; $var3.$itemDamage = var$7; if (var$7 < 0) $var3.$itemDamage = 0; var$8 = var$5.$stackTagCompound; if (var$8 !== null) { var$9 = new nms_NBTTagCompound; var$10 = var$8.$name; if (var$10 === null) var$10 = $rt_s(18); var$9.$name = var$10; var$10 = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); var$10.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$3 = var$11.data; var$10.$elementData = var$11; var$10.$loadFactor = 0.75; var$10.$threshold = var$3.length * 0.75 | 0; var$9.$tagMap = var$10; var$12 = var$8.$tagMap; if (var$12.$cachedKeySet === null) { var$10 = new ju_HashMap$1; var$10.$this$0 = var$12; var$12.$cachedKeySet = var$10; } var$13 = var$12.$cachedKeySet.$iterator(); while (var$13.$hasNext()) { var$14 = var$13.$next(); var$10 = var$8.$tagMap; if (var$14 === null) { var$15 = var$10.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { a: { if (!var$14.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$14.$nativeString.length) break a; var$14.$hashCode1 = (31 * var$14.$hashCode1 | 0) + var$14.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$7 = var$14.$hashCode1; var$3 = var$10.$elementData.data; var$15 = var$3[var$7 & (var$3.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$7) { b: { var$10 = var$15.$key; if (var$14 !== var$10) { if (var$14 === var$10) var$6 = 1; else if (!(var$10 instanceof jl_String)) var$6 = 0; else { var$10 = var$10; var$6 = var$14.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$15 = var$15.$next3; } } var$10 = var$15 === null ? null : var$15.$value1; var$10 = var$10.$copy(); var$12 = var$9.$tagMap; if (var$14 !== null) var$10.$name = var$14; else var$10.$name = $rt_s(18); ju_HashMap_putImpl(var$12, var$14, var$10); } $var3.$stackTagCompound = var$9; } var$5.$stackSize = var$5.$stackSize - $par2 | 0; var$3 = $this.$chestContents.data; if (!var$3[$par1].$stackSize) var$3[$par1] = null; $ptr = 2; continue main; case 1: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return $var3; case 2: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_TileEntityChest_setInventorySlotContents = ($this, $par1, $par2ItemStack) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2ItemStack = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$chestContents.data[$par1] = $par2ItemStack; if ($par2ItemStack !== null && $par2ItemStack.$stackSize > 64) $par2ItemStack.$stackSize = 64; $ptr = 1; case 1: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2ItemStack, $ptr); }, nms_TileEntityChest_getInvName = $this => { let var$1; var$1 = $this.$customName0; return !(var$1 !== null && var$1.$nativeString.length > 0 ? 1 : 0) ? $rt_s(3530) : $this.$customName0; }, nms_TileEntityChest_isInvNameLocalized = $this => { let var$1; var$1 = $this.$customName0; return var$1 !== null && var$1.$nativeString.length > 0 ? 1 : 0; }, nms_TileEntityChest_readFromNBT = ($this, $par1NBTTagCompound) => { let $var2, $var3, var$4, var$5, $var4, $var5, var$8, var$9, var$10; a: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { b: { $var4 = $var2.$key; if ($rt_s(544) !== $var4) { if ($rt_s(544) === $var4) $var3 = 1; else if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = $rt_s(544).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break b; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) !== null) { c: { if (!$rt_s(544).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { d: { $var4 = $var2.$key; if ($rt_s(544) !== $var4) { if ($rt_s(544) !== $var4) { if ($var4 instanceof jl_String) { $var4 = $var4; $var3 = $rt_s(544).$nativeString !== $var4.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break d; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data0; } else $var3 = 0; e: { $this.$xCoord0 = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { f: { $var4 = $var2.$key; if ($rt_s(2392) !== $var4) { if ($rt_s(2392) !== $var4) { if ($var4 instanceof jl_String) { $var4 = $var4; $var3 = $rt_s(2392).$nativeString !== $var4.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break f; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) !== null) { g: { if (!$rt_s(2392).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { h: { $var4 = $var2.$key; if ($rt_s(2392) !== $var4) { if ($rt_s(2392) !== $var4) { if ($var4 instanceof jl_String) { $var4 = $var4; $var3 = $rt_s(2392).$nativeString !== $var4.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break h; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data0; } else $var3 = 0; i: { $this.$yCoord0 = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { j: { $var4 = $var2.$key; if ($rt_s(2393) !== $var4) { if ($rt_s(2393) === $var4) $var3 = 1; else if ($var4 instanceof jl_String) { $var4 = $var4; $var3 = $rt_s(2393).$nativeString !== $var4.$nativeString ? 0 : 1; } else $var3 = 0; if (!$var3) { $var3 = 0; break j; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { k: { if (!$rt_s(2393).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { l: { $var4 = $var2.$key; if ($rt_s(2393) !== $var4) { if ($rt_s(2393) === $var4) $var3 = 1; else if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = $rt_s(2393).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break l; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data0; } else $var3 = 0; m: { $this.$zCoord0 = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2451).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2451).$nativeString.length) break m; $rt_s(2451).$hashCode1 = (31 * $rt_s(2451).$hashCode1 | 0) + $rt_s(2451).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(2451).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var3 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { n: { $var4 = $var2.$key; if ($rt_s(2451) !== $var4) { if ($rt_s(2451) === $var4) $var5 = 1; else if (!($var4 instanceof jl_String)) $var5 = 0; else { $var4 = $var4; $var5 = $rt_s(2451).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break n; } } $var5 = 1; } if ($var5) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2451) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { o: { if (!$rt_s(2451).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2451).$nativeString.length) break o; $rt_s(2451).$hashCode1 = (31 * $rt_s(2451).$hashCode1 | 0) + $rt_s(2451).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(2451).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var3 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { p: { $var4 = $var2.$key; if ($rt_s(2451) !== $var4) { if ($rt_s(2451) === $var4) $var5 = 1; else if (!($var4 instanceof jl_String)) $var5 = 0; else { $var4 = $var4; $var5 = $rt_s(2451).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break p; } } $var5 = 1; } if ($var5) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; } else { $var2 = new nms_NBTTagList; if ($rt_s(2451) !== null) $var2.$name = $rt_s(2451); else $var2.$name = $rt_s(18); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = var$8; } q: { $this.$chestContents = $rt_createArray(nms_ItemStack, 27); $var4 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break q; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(1281).$hashCode1; var$5 = $var4.$elementData.data; $var4 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$4) { r: { var$9 = $var4.$key; if ($rt_s(1281) !== var$9) { if ($rt_s(1281) === var$9) $var3 = 1; else if (!(var$9 instanceof jl_String)) $var3 = 0; else { var$9 = var$9; $var3 = $rt_s(1281).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break r; } } $var3 = 1; } if ($var3) break; } $var4 = $var4.$next3; } if ($var4 === null ? 0 : 1) { s: { $var4 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break s; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(1281).$hashCode1; var$5 = $var4.$elementData.data; $var4 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$4) { t: { var$9 = $var4.$key; if ($rt_s(1281) !== var$9) { if ($rt_s(1281) === var$9) $var3 = 1; else if (!(var$9 instanceof jl_String)) $var3 = 0; else { var$9 = var$9; $var3 = $rt_s(1281).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break t; } } $var3 = 1; } if ($var3) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) $par1NBTTagCompound = $rt_s(18); else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1281) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { u: { if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break u; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(1281).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$4) { v: { $var4 = $par1NBTTagCompound.$key; if ($rt_s(1281) !== $var4) { if ($rt_s(1281) === $var4) $var3 = 1; else if (!($var4 instanceof jl_String)) $var3 = 0; else { $var4 = $var4; $var3 = $rt_s(1281).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break v; } } $var3 = 1; } if ($var3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $par1NBTTagCompound = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data1; } $this.$customName0 = $par1NBTTagCompound; } $var3 = 0; w: { while (true) { $par1NBTTagCompound = $var2.$tagList; $var5 = $rt_compare($var3, $par1NBTTagCompound.$size0); if ($var5 >= 0) break; if ($var3 < 0) break w; if ($var5 >= 0) break w; x: { $var4 = $par1NBTTagCompound.$array.data[$var3]; $par1NBTTagCompound = $var4.$tagMap; if (!$rt_s(1315).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1315).$nativeString.length) break x; $rt_s(1315).$hashCode1 = (31 * $rt_s(1315).$hashCode1 | 0) + $rt_s(1315).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$4 = $rt_s(1315).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$10 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$4) { y: { $par1NBTTagCompound = var$10.$key; if ($rt_s(1315) !== $par1NBTTagCompound) { if ($rt_s(1315) === $par1NBTTagCompound) $var5 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) $var5 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; $var5 = $rt_s(1315).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break y; } } $var5 = 1; } if ($var5) break; } var$10 = var$10.$next3; } if (!(var$10 === null ? 0 : 1)) var$4 = 0; else { $par1NBTTagCompound = $var4.$tagMap; if ($rt_s(1315) === null) { var$10 = $par1NBTTagCompound.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { z: { if (!$rt_s(1315).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1315).$nativeString.length) break z; $rt_s(1315).$hashCode1 = (31 * $rt_s(1315).$hashCode1 | 0) + $rt_s(1315).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$4 = $rt_s(1315).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$10 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$4) { ba: { $par1NBTTagCompound = var$10.$key; if ($rt_s(1315) !== $par1NBTTagCompound) { if ($rt_s(1315) === $par1NBTTagCompound) $var5 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) $var5 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; $var5 = $rt_s(1315).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break ba; } } $var5 = 1; } if ($var5) break; } var$10 = var$10.$next3; } } var$4 = (var$10 === null ? null : var$10.$value1).$data; } $var5 = var$4 & 255; if ($var5 >= 0) { var$5 = $this.$chestContents.data; if ($var5 < var$5.length) { nms_ItemStack_$callClinit(); $par1NBTTagCompound = new nms_ItemStack; nms_ItemStack_readFromNBT($par1NBTTagCompound, $var4); nms_Item_$callClinit(); if (nms_Item_itemsList.data[$par1NBTTagCompound.$itemID] === null) $par1NBTTagCompound = null; var$5[$var5] = $par1NBTTagCompound; } } $var3 = $var3 + 1 | 0; } return; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); }, nms_TileEntityChest_writeToNBT = ($this, $par1NBTTagCompound) => { let $var2, var$3, $var3, var$5, $var4, var$7, var$8, var$9, var$10, var$11; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = var$3; $var3 = 0; while (true) { var$5 = $this.$chestContents.data; if ($var3 >= var$5.length) break; if (var$5[$var3] !== null) { $var4 = new nms_NBTTagCompound; $var4.$name = $rt_s(18); var$7 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$5 = var$9.data; var$7.$elementData = var$9; var$7.$loadFactor = 0.75; var$7.$threshold = var$5.length * 0.75 | 0; $var4.$tagMap = var$7; var$8 = $var3 << 24 >> 24; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1315); var$3.$data = var$8; ju_HashMap_putImpl(var$7, $rt_s(1315), var$3); var$10 = $this.$chestContents.data[$var3]; var$8 = var$10.$itemID << 16 >> 16; var$11 = $var4.$tagMap; var$7 = new nms_NBTTagShort; var$7.$name = $rt_s(1243); var$7.$data2 = var$8; ju_HashMap_putImpl(var$11, $rt_s(1243), var$7); var$8 = var$10.$stackSize << 24 >> 24; var$11 = $var4.$tagMap; var$7 = new nms_NBTTagByte; var$7.$name = $rt_s(1271); var$7.$data = var$8; ju_HashMap_putImpl(var$11, $rt_s(1271), var$7); var$8 = var$10.$itemDamage << 16 >> 16; var$11 = $var4.$tagMap; var$7 = new nms_NBTTagShort; var$7.$name = $rt_s(1272); var$7.$data2 = var$8; ju_HashMap_putImpl(var$11, $rt_s(1272), var$7); var$3 = var$10.$stackTagCompound; if (var$3 !== null) { var$11 = $var4.$tagMap; var$3.$name = $rt_s(1273); ju_HashMap_putImpl(var$11, $rt_s(1273), var$3); } $var2.$tagType = 10; var$3 = $var2.$tagList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$5[var$8] = $var4; var$3.$modCount = var$3.$modCount + 1 | 0; } $var3 = $var3 + 1 | 0; } var$7 = $par1NBTTagCompound.$tagMap; $var2.$name = $rt_s(2451); ju_HashMap_putImpl(var$7, $rt_s(2451), $var2); $var2 = $this.$customName0; if ($var2 !== null && $var2.$nativeString.length > 0 ? 1 : 0) { var$3 = $this.$customName0; var$7 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagString; $par1NBTTagCompound.$name = $rt_s(1281); $par1NBTTagCompound.$data1 = var$3; if (var$3 === null) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $var2.$message = $rt_s(186); $rt_throw($var2); } ju_HashMap_putImpl(var$7, $rt_s(1281), $par1NBTTagCompound); } }, nms_TileEntityChest_getInventoryStackLimit = $this => { return 64; }, nms_TileEntityChest_isUseableByPlayer = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$worldObj0; var$3 = $this.$xCoord0; var$4 = $this.$yCoord0; var$5 = $this.$zCoord0; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2 !== $this) var$3 = 0; else { var$6 = $this.$xCoord0 + 0.5; var$7 = $this.$yCoord0 + 0.5; var$8 = $this.$zCoord0 + 0.5; var$6 = $par1EntityPlayer.$posX - var$6; var$7 = $par1EntityPlayer.$posY - var$7; var$8 = $par1EntityPlayer.$posZ - var$8; var$3 = var$6 * var$6 + var$7 * var$7 + var$8 * var$8 > 64.0 ? 0 : 1; } return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_TileEntityChest_updateContainingBlockInfo = $this => { $this.$blockType = null; $this.$blockMetadata = (-1); $this.$adjacentChestChecked = 0; }, nms_TileEntityChest_func_90009_a = ($this, $par1TileEntityChest, $par2) => { a: { if ($par1TileEntityChest.$tileEntityInvalid) $this.$adjacentChestChecked = 0; else if ($this.$adjacentChestChecked) { b: { c: { d: { switch ($par2) { case 0: break; case 1: break d; case 2: break c; case 3: break b; default: break a; } if ($this.$adjacentChestZPosition === $par1TileEntityChest) break a; $this.$adjacentChestChecked = 0; break a; } if ($this.$adjacentChestXNeg === $par1TileEntityChest) break a; $this.$adjacentChestChecked = 0; break a; } if ($this.$adjacentChestZNeg === $par1TileEntityChest) break a; $this.$adjacentChestChecked = 0; break a; } if ($this.$adjacentChestXPos !== $par1TileEntityChest) $this.$adjacentChestChecked = 0; } } }, nms_TileEntityChest_checkForAdjacentChests = $this => { let var$1, var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$adjacentChestChecked) { $this.$adjacentChestChecked = 1; $this.$adjacentChestZNeg = null; $this.$adjacentChestXPos = null; $this.$adjacentChestXNeg = null; $this.$adjacentChestZPosition = null; var$1 = $this.$xCoord0 - 1 | 0; var$2 = $this.$yCoord0; var$3 = $this.$zCoord0; nms_Block_$callClinit(); var$4 = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, var$1, var$2, var$3)]; if (var$4 !== null && var$4 instanceof nms_BlockChest) { a: { b: { var$1 = var$4.$chestType; if ($this.$cachedChestType == (-1)) { var$4 = $this.$worldObj0; if (var$4 !== null) { if ($this.$blockType === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$4, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; var$4 = $this.$blockType; if (var$4 instanceof nms_BlockChest) { if (var$4 === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; $this.$cachedChestType = $this.$blockType.$chestType; break b; } } var$2 = 0; break a; } } var$2 = $this.$cachedChestType; } var$1 = var$1 != var$2 ? 0 : 1; } else var$1 = 0; if (var$1) { var$4 = $this.$worldObj0; var$1 = $this.$xCoord0 - 1 | 0; var$2 = $this.$yCoord0; var$3 = $this.$zCoord0; $ptr = 1; continue main; } var$1 = $this.$xCoord0 + 1 | 0; var$2 = $this.$yCoord0; var$3 = $this.$zCoord0; var$4 = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, var$1, var$2, var$3)]; if (var$4 !== null && var$4 instanceof nms_BlockChest) { c: { d: { var$1 = var$4.$chestType; if ($this.$cachedChestType == (-1)) { var$4 = $this.$worldObj0; if (var$4 !== null) { if ($this.$blockType === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$4, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; var$4 = $this.$blockType; if (var$4 instanceof nms_BlockChest) { if (var$4 === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; $this.$cachedChestType = $this.$blockType.$chestType; break d; } } var$2 = 0; break c; } } var$2 = $this.$cachedChestType; } var$1 = var$1 != var$2 ? 0 : 1; } else var$1 = 0; if (var$1) { var$4 = $this.$worldObj0; var$1 = $this.$xCoord0 + 1 | 0; var$2 = $this.$yCoord0; var$3 = $this.$zCoord0; $ptr = 2; continue main; } var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$1 = $this.$zCoord0 - 1 | 0; var$4 = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, var$2, var$3, var$1)]; if (var$4 !== null && var$4 instanceof nms_BlockChest) { e: { f: { var$1 = var$4.$chestType; if ($this.$cachedChestType == (-1)) { var$4 = $this.$worldObj0; if (var$4 !== null) { if ($this.$blockType === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$4, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; var$4 = $this.$blockType; if (var$4 instanceof nms_BlockChest) { if (var$4 === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; $this.$cachedChestType = $this.$blockType.$chestType; break f; } } var$2 = 0; break e; } } var$2 = $this.$cachedChestType; } var$1 = var$1 != var$2 ? 0 : 1; } else var$1 = 0; if (var$1) { var$4 = $this.$worldObj0; var$1 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = $this.$zCoord0 - 1 | 0; $ptr = 3; continue main; } var$1 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = $this.$zCoord0 + 1 | 0; var$4 = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, var$1, var$2, var$3)]; if (var$4 !== null && var$4 instanceof nms_BlockChest) { g: { h: { var$1 = var$4.$chestType; if ($this.$cachedChestType == (-1)) { var$4 = $this.$worldObj0; if (var$4 !== null) { if ($this.$blockType === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$4, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; var$4 = $this.$blockType; if (var$4 instanceof nms_BlockChest) { if (var$4 === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; $this.$cachedChestType = $this.$blockType.$chestType; break h; } } var$2 = 0; break g; } } var$2 = $this.$cachedChestType; } var$1 = var$1 != var$2 ? 0 : 1; } else var$1 = 0; if (var$1) { var$4 = $this.$worldObj0; var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$1 = $this.$zCoord0 + 1 | 0; $ptr = 4; continue main; } var$4 = $this.$adjacentChestZNeg; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 0); var$4 = $this.$adjacentChestZPosition; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 2); var$4 = $this.$adjacentChestXPos; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 1); var$4 = $this.$adjacentChestXNeg; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 3); } return; case 1: $tmp = nms_World_getBlockTileEntity(var$4, var$1, var$2, var$3); if ($rt_suspending()) { break main; } var$4 = $tmp; $this.$adjacentChestXNeg = var$4; var$1 = $this.$xCoord0 + 1 | 0; var$2 = $this.$yCoord0; var$3 = $this.$zCoord0; var$4 = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, var$1, var$2, var$3)]; if (var$4 !== null && var$4 instanceof nms_BlockChest) { i: { j: { var$1 = var$4.$chestType; if ($this.$cachedChestType == (-1)) { var$4 = $this.$worldObj0; if (var$4 !== null) { if ($this.$blockType === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$4, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; var$4 = $this.$blockType; if (var$4 instanceof nms_BlockChest) { if (var$4 === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; $this.$cachedChestType = $this.$blockType.$chestType; break j; } } var$2 = 0; break i; } } var$2 = $this.$cachedChestType; } var$1 = var$1 != var$2 ? 0 : 1; } else var$1 = 0; if (var$1) { var$4 = $this.$worldObj0; var$1 = $this.$xCoord0 + 1 | 0; var$2 = $this.$yCoord0; var$3 = $this.$zCoord0; $ptr = 2; continue main; } var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$1 = $this.$zCoord0 - 1 | 0; var$4 = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, var$2, var$3, var$1)]; if (var$4 !== null && var$4 instanceof nms_BlockChest) { k: { l: { var$1 = var$4.$chestType; if ($this.$cachedChestType == (-1)) { var$4 = $this.$worldObj0; if (var$4 !== null) { if ($this.$blockType === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$4, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; var$4 = $this.$blockType; if (var$4 instanceof nms_BlockChest) { if (var$4 === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; $this.$cachedChestType = $this.$blockType.$chestType; break l; } } var$2 = 0; break k; } } var$2 = $this.$cachedChestType; } var$1 = var$1 != var$2 ? 0 : 1; } else var$1 = 0; if (var$1) { var$4 = $this.$worldObj0; var$1 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = $this.$zCoord0 - 1 | 0; $ptr = 3; continue main; } var$1 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = $this.$zCoord0 + 1 | 0; var$4 = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, var$1, var$2, var$3)]; if (var$4 !== null && var$4 instanceof nms_BlockChest) { m: { n: { var$1 = var$4.$chestType; if ($this.$cachedChestType == (-1)) { var$4 = $this.$worldObj0; if (var$4 !== null) { if ($this.$blockType === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$4, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; var$4 = $this.$blockType; if (var$4 instanceof nms_BlockChest) { if (var$4 === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; $this.$cachedChestType = $this.$blockType.$chestType; break n; } } var$2 = 0; break m; } } var$2 = $this.$cachedChestType; } var$1 = var$1 != var$2 ? 0 : 1; } else var$1 = 0; if (!var$1) { var$4 = $this.$adjacentChestZNeg; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 0); var$4 = $this.$adjacentChestZPosition; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 2); var$4 = $this.$adjacentChestXPos; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 1); var$4 = $this.$adjacentChestXNeg; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 3); return; } var$4 = $this.$worldObj0; var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$1 = $this.$zCoord0 + 1 | 0; $ptr = 4; continue main; case 2: $tmp = nms_World_getBlockTileEntity(var$4, var$1, var$2, var$3); if ($rt_suspending()) { break main; } var$4 = $tmp; $this.$adjacentChestXPos = var$4; var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$1 = $this.$zCoord0 - 1 | 0; var$4 = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, var$2, var$3, var$1)]; if (var$4 !== null && var$4 instanceof nms_BlockChest) { i: { j: { var$1 = var$4.$chestType; if ($this.$cachedChestType == (-1)) { var$4 = $this.$worldObj0; if (var$4 !== null) { if ($this.$blockType === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$4, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; var$4 = $this.$blockType; if (var$4 instanceof nms_BlockChest) { if (var$4 === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; $this.$cachedChestType = $this.$blockType.$chestType; break j; } } var$2 = 0; break i; } } var$2 = $this.$cachedChestType; } var$1 = var$1 != var$2 ? 0 : 1; } else var$1 = 0; if (var$1) { var$4 = $this.$worldObj0; var$1 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = $this.$zCoord0 - 1 | 0; $ptr = 3; continue main; } var$1 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = $this.$zCoord0 + 1 | 0; var$4 = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, var$1, var$2, var$3)]; if (var$4 !== null && var$4 instanceof nms_BlockChest) { k: { l: { var$1 = var$4.$chestType; if ($this.$cachedChestType == (-1)) { var$4 = $this.$worldObj0; if (var$4 !== null) { if ($this.$blockType === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$4, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; var$4 = $this.$blockType; if (var$4 instanceof nms_BlockChest) { if (var$4 === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; $this.$cachedChestType = $this.$blockType.$chestType; break l; } } var$2 = 0; break k; } } var$2 = $this.$cachedChestType; } var$1 = var$1 != var$2 ? 0 : 1; } else var$1 = 0; if (!var$1) { var$4 = $this.$adjacentChestZNeg; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 0); var$4 = $this.$adjacentChestZPosition; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 2); var$4 = $this.$adjacentChestXPos; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 1); var$4 = $this.$adjacentChestXNeg; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 3); return; } var$4 = $this.$worldObj0; var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$1 = $this.$zCoord0 + 1 | 0; $ptr = 4; continue main; case 3: $tmp = nms_World_getBlockTileEntity(var$4, var$1, var$2, var$3); if ($rt_suspending()) { break main; } var$4 = $tmp; $this.$adjacentChestZNeg = var$4; var$1 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = $this.$zCoord0 + 1 | 0; var$4 = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, var$1, var$2, var$3)]; if (var$4 !== null && var$4 instanceof nms_BlockChest) { i: { j: { var$1 = var$4.$chestType; if ($this.$cachedChestType == (-1)) { var$4 = $this.$worldObj0; if (var$4 !== null) { if ($this.$blockType === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$4, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; var$4 = $this.$blockType; if (var$4 instanceof nms_BlockChest) { if (var$4 === null) $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; $this.$cachedChestType = $this.$blockType.$chestType; break j; } } var$2 = 0; break i; } } var$2 = $this.$cachedChestType; } var$1 = var$1 != var$2 ? 0 : 1; } else var$1 = 0; if (!var$1) { var$4 = $this.$adjacentChestZNeg; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 0); var$4 = $this.$adjacentChestZPosition; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 2); var$4 = $this.$adjacentChestXPos; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 1); var$4 = $this.$adjacentChestXNeg; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 3); return; } var$4 = $this.$worldObj0; var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$1 = $this.$zCoord0 + 1 | 0; $ptr = 4; case 4: $tmp = nms_World_getBlockTileEntity(var$4, var$2, var$3, var$1); if ($rt_suspending()) { break main; } var$4 = $tmp; $this.$adjacentChestZPosition = var$4; var$4 = $this.$adjacentChestZNeg; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 0); var$4 = $this.$adjacentChestZPosition; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 2); var$4 = $this.$adjacentChestXPos; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 1); var$4 = $this.$adjacentChestXNeg; if (var$4 !== null) nms_TileEntityChest_func_90009_a(var$4, $this, 3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); }, nms_TileEntityChest_updateEntity = $this => { let $var3$index, $var4, $var2, $var5, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var9, $var1, $var3$index_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3$index_0 = $thread.pop();$var1 = $thread.pop();$var9 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var5 = $thread.pop();$var2 = $thread.pop();$var4 = $thread.pop();$var3$index = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_TileEntityChest_checkForAdjacentChests($this); if ($rt_suspending()) { break main; } $var3$index = $this.$ticksSinceSync + 1 | 0; $this.$ticksSinceSync = $var3$index; $var4 = $this.$worldObj0; if (!$var4.$isRemote && $this.$numUsingPlayers && !(((($var3$index + $this.$xCoord0 | 0) + $this.$yCoord0 | 0) + $this.$zCoord0 | 0) % 200 | 0)) { $this.$numUsingPlayers = 0; $var2 = $rt_cls(nms_EntityPlayer); $var5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var3$index = $this.$xCoord0; var$5 = $var3$index - 5.0; var$6 = $this.$yCoord0; var$7 = var$6 - 5.0; var$8 = $this.$zCoord0; var$9 = var$8 - 5.0; var$10 = ($var3$index + 1 | 0) + 5.0; var$11 = (var$6 + 1 | 0) + 5.0; var$12 = (var$8 + 1 | 0) + 5.0; $var3$index = $var5.$nextPoolIndex; var$13 = $var5.$listAABB; var$8 = var$13.$size0; var$6 = $rt_compare($var3$index, var$8); if (var$6 >= 0) { var$14 = new nms_AxisAlignedBB; var$14.$minX = var$5; var$14.$minY = var$7; var$14.$minZ = var$9; var$14.$maxX = var$10; var$14.$maxY = var$11; var$14.$maxZ = var$12; ju_ArrayList_ensureCapacity(var$13, var$8 + 1 | 0); var$15 = var$13.$array.data; var$6 = var$13.$size0; var$13.$size0 = var$6 + 1 | 0; var$15[var$6] = var$14; var$13.$modCount = var$13.$modCount + 1 | 0; } else if ($var3$index >= 0 && var$6 < 0) { var$14 = var$13.$array.data[$var3$index]; var$14.$minX = var$5; var$14.$minY = var$7; var$14.$minZ = var$9; var$14.$maxX = var$10; var$14.$maxY = var$11; var$14.$maxZ = var$12; } else { $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } $var5.$nextPoolIndex = $var5.$nextPoolIndex + 1 | 0; $var5 = null; $ptr = 2; continue main; } a: { $var9 = $this.$lidAngle; $this.$prevLidAngle = $var9; $var3$index = $this.$numUsingPlayers; if ($var3$index > 0 && $var9 === 0.0 && $this.$adjacentChestZNeg === null && $this.$adjacentChestXNeg === null) { $var4 = $this.$worldObj0; $var2 = $var4.$rand0; $var2.$seed = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6 = 0; while (true) { var$8 = $rt_compare(var$6, $var4.$worldAccesses.$size0); if (var$8 >= 0) break a; if (var$6 < 0) break; if (var$8 >= 0) break; var$6 = var$6 + 1 | 0; } $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } } b: { c: { if (!(!$var3$index && $var9 > 0.0)) { if ($var3$index <= 0) break c; if ($var9 >= 1.0) break c; } if ($var3$index <= 0) $this.$lidAngle = $var9 - 0.10000000149011612; else $this.$lidAngle = $var9 + 0.10000000149011612; if ($this.$lidAngle > 1.0) $this.$lidAngle = 1.0; $var1 = $this.$lidAngle; if ($var1 < 0.5 && $var9 >= 0.5 && $this.$adjacentChestZNeg === null && $this.$adjacentChestXNeg === null) { $var4 = $this.$worldObj0; $var2 = $var4.$rand0; $var2.$seed = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3$index = 0; while (true) { var$6 = $rt_compare($var3$index, $var4.$worldAccesses.$size0); if (var$6 >= 0) break; if ($var3$index < 0) break b; if (var$6 >= 0) break b; $var3$index = $var3$index + 1 | 0; } } if ($var1 < 0.0) $this.$lidAngle = 0.0; } return; } $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); case 2: $tmp = nms_World_selectEntitiesWithinAABB($var4, $var2, var$14, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; $var3$index_0 = 0; var$6 = $var2.$modCount; var$8 = $var2.$size(); while (true) { if (!($var3$index_0 >= var$8 ? 0 : 1)) { d: { $var9 = $this.$lidAngle; $this.$prevLidAngle = $var9; $var3$index = $this.$numUsingPlayers; if ($var3$index > 0 && $var9 === 0.0 && $this.$adjacentChestZNeg === null && $this.$adjacentChestXNeg === null) { $var4 = $this.$worldObj0; $var2 = $var4.$rand0; $var2.$seed = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$6 = 0; while (true) { var$8 = $rt_compare(var$6, $var4.$worldAccesses.$size0); if (var$8 >= 0) break d; if (var$6 < 0) break; if (var$8 >= 0) break; var$6 = var$6 + 1 | 0; } $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } } e: { f: { if (!(!$var3$index && $var9 > 0.0)) { if ($var3$index <= 0) break f; if ($var9 >= 1.0) break f; } if ($var3$index <= 0) $this.$lidAngle = $var9 - 0.10000000149011612; else $this.$lidAngle = $var9 + 0.10000000149011612; if ($this.$lidAngle > 1.0) $this.$lidAngle = 1.0; $var1 = $this.$lidAngle; if ($var1 < 0.5 && $var9 >= 0.5 && $this.$adjacentChestZNeg === null && $this.$adjacentChestXNeg === null) { $var4 = $this.$worldObj0; $var2 = $var4.$rand0; $var2.$seed = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3$index = 0; while (true) { var$6 = $rt_compare($var3$index, $var4.$worldAccesses.$size0); if (var$6 >= 0) break; if ($var3$index < 0) break e; if (var$6 >= 0) break e; $var3$index = $var3$index + 1 | 0; } } if ($var1 < 0.0) $this.$lidAngle = 0.0; } return; } $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } if (var$6 < $var2.$modCount) break; g: { $var3$index = $var3$index_0 + 1 | 0; $var4 = ($var2.$get($var3$index_0)).$openContainer; if ($var4 instanceof nms_ContainerChest) { $var5 = $var4.$lowerChestInventory0; if ($var5 !== $this) { if (!($var5 instanceof nms_InventoryLargeChest)) break g; $var4 = $var5; if (!($var4.$upperChest !== $this && $var4.$lowerChest !== $this ? 0 : 1)) break g; } $this.$numUsingPlayers = $this.$numUsingPlayers + 1 | 0; } } $var3$index_0 = $var3$index; } $var4 = new ju_ConcurrentModificationException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var3$index, $var4, $var2, $var5, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var9, $var1, $var3$index_0, $ptr); }, nms_TileEntityChest_receiveClientEvent = ($this, $par1, $par2) => { if ($par1 != 1) return 0; $this.$numUsingPlayers = $par2; return 1; }, nms_TileEntityChest_openChest = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$numUsingPlayers < 0) $this.$numUsingPlayers = 0; $this.$numUsingPlayers = $this.$numUsingPlayers + 1 | 0; var$1 = $this.$worldObj0; var$2 = $this.$xCoord0; var$3 = $this.$yCoord0; var$4 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$1, var$2, var$3, var$4)]; } var$5 = $this.$blockType.$blockID; var$6 = 1; var$7 = $this.$numUsingPlayers; if (var$5 > 0) { nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; $ptr = 1; continue main; } var$1 = $this.$worldObj0; var$6 = $this.$xCoord0; var$2 = $this.$yCoord0; var$4 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$1, var$6, var$2, var$4)]; } var$5 = $this.$blockType.$blockID; var$7 = var$6 - 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$7, var$2, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 2; continue main; } } var$7 = var$6 + 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$7, var$2, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 3; continue main; } } var$7 = var$2 - 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$7, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 4; continue main; } } var$7 = var$2 + 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$7, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 5; continue main; } } var$7 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$2, var$7); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 6; continue main; } } var$3 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$4 = nms_World_getBlockId(var$1, var$6, var$2, var$3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$4]; if (var$8 !== null) { $ptr = 7; continue main; } } var$1 = $this.$worldObj0; var$6 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = var$2 - 1 | 0; var$4 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$1, var$6, var$2, var$4)]; } var$2 = $this.$blockType.$blockID; var$5 = var$6 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 8; continue main; } } var$5 = var$6 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 9; continue main; } } var$5 = var$3 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 10; continue main; } } var$5 = var$3 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 11; continue main; } } var$5 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 12; continue main; } } var$4 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$5 = nms_World_getBlockId(var$1, var$6, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 13; continue main; } } return; case 1: var$8.$onBlockEventReceived(var$1, var$2, var$3, var$4, var$6, var$7); if ($rt_suspending()) { break main; } var$1 = $this.$worldObj0; var$6 = $this.$xCoord0; var$2 = $this.$yCoord0; var$4 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$1, var$6, var$2, var$4)]; } var$5 = $this.$blockType.$blockID; var$7 = var$6 - 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$7, var$2, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 2; continue main; } } var$7 = var$6 + 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$7, var$2, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 3; continue main; } } var$7 = var$2 - 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$7, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 4; continue main; } } var$7 = var$2 + 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$7, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 5; continue main; } } var$7 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$2, var$7); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 6; continue main; } } var$3 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$4 = nms_World_getBlockId(var$1, var$6, var$2, var$3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$4]; if (var$8 !== null) { $ptr = 7; continue main; } } var$1 = $this.$worldObj0; var$6 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = var$2 - 1 | 0; var$4 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$1, var$6, var$2, var$4)]; } var$2 = $this.$blockType.$blockID; var$5 = var$6 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 8; continue main; } } var$5 = var$6 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 9; continue main; } } var$5 = var$3 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 10; continue main; } } var$5 = var$3 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 11; continue main; } } var$5 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 12; continue main; } } var$4 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$5 = nms_World_getBlockId(var$1, var$6, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 13; continue main; } } return; case 2: var$8.$onNeighborBlockChange(var$1, var$7, var$2, var$4, var$5); if ($rt_suspending()) { break main; } var$7 = var$6 + 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$7, var$2, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 3; continue main; } } var$7 = var$2 - 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$7, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 4; continue main; } } var$7 = var$2 + 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$7, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 5; continue main; } } var$7 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$2, var$7); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 6; continue main; } } var$3 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$4 = nms_World_getBlockId(var$1, var$6, var$2, var$3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$4]; if (var$8 !== null) { $ptr = 7; continue main; } } var$1 = $this.$worldObj0; var$6 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = var$2 - 1 | 0; var$4 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$1, var$6, var$2, var$4)]; } var$2 = $this.$blockType.$blockID; var$5 = var$6 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 8; continue main; } } var$5 = var$6 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 9; continue main; } } var$5 = var$3 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 10; continue main; } } var$5 = var$3 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 11; continue main; } } var$5 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 12; continue main; } } var$4 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$5 = nms_World_getBlockId(var$1, var$6, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 13; continue main; } } return; case 3: var$8.$onNeighborBlockChange(var$1, var$7, var$2, var$4, var$5); if ($rt_suspending()) { break main; } var$7 = var$2 - 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$7, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 4; continue main; } } var$7 = var$2 + 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$7, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 5; continue main; } } var$7 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$2, var$7); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 6; continue main; } } var$3 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$4 = nms_World_getBlockId(var$1, var$6, var$2, var$3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$4]; if (var$8 !== null) { $ptr = 7; continue main; } } var$1 = $this.$worldObj0; var$6 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = var$2 - 1 | 0; var$4 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$1, var$6, var$2, var$4)]; } var$2 = $this.$blockType.$blockID; var$5 = var$6 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 8; continue main; } } var$5 = var$6 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 9; continue main; } } var$5 = var$3 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 10; continue main; } } var$5 = var$3 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 11; continue main; } } var$5 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 12; continue main; } } var$4 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$5 = nms_World_getBlockId(var$1, var$6, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 13; continue main; } } return; case 4: var$8.$onNeighborBlockChange(var$1, var$6, var$7, var$4, var$5); if ($rt_suspending()) { break main; } var$7 = var$2 + 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$7, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 5; continue main; } } var$7 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$2, var$7); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 6; continue main; } } var$3 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$4 = nms_World_getBlockId(var$1, var$6, var$2, var$3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$4]; if (var$8 !== null) { $ptr = 7; continue main; } } var$1 = $this.$worldObj0; var$6 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = var$2 - 1 | 0; var$4 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$1, var$6, var$2, var$4)]; } var$2 = $this.$blockType.$blockID; var$5 = var$6 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 8; continue main; } } var$5 = var$6 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 9; continue main; } } var$5 = var$3 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 10; continue main; } } var$5 = var$3 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 11; continue main; } } var$5 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 12; continue main; } } var$4 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$5 = nms_World_getBlockId(var$1, var$6, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 13; continue main; } } return; case 5: var$8.$onNeighborBlockChange(var$1, var$6, var$7, var$4, var$5); if ($rt_suspending()) { break main; } var$7 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$3 = nms_World_getBlockId(var$1, var$6, var$2, var$7); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$3]; if (var$8 !== null) { $ptr = 6; continue main; } } var$3 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$4 = nms_World_getBlockId(var$1, var$6, var$2, var$3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$4]; if (var$8 !== null) { $ptr = 7; continue main; } } var$1 = $this.$worldObj0; var$6 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = var$2 - 1 | 0; var$4 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$1, var$6, var$2, var$4)]; } var$2 = $this.$blockType.$blockID; var$5 = var$6 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 8; continue main; } } var$5 = var$6 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 9; continue main; } } var$5 = var$3 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 10; continue main; } } var$5 = var$3 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 11; continue main; } } var$5 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 12; continue main; } } var$4 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$5 = nms_World_getBlockId(var$1, var$6, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 13; continue main; } } return; case 6: var$8.$onNeighborBlockChange(var$1, var$6, var$2, var$7, var$5); if ($rt_suspending()) { break main; } var$3 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$4 = nms_World_getBlockId(var$1, var$6, var$2, var$3); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$4]; if (var$8 !== null) { $ptr = 7; continue main; } } var$1 = $this.$worldObj0; var$6 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = var$2 - 1 | 0; var$4 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$1, var$6, var$2, var$4)]; } var$2 = $this.$blockType.$blockID; var$5 = var$6 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 8; continue main; } } var$5 = var$6 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 9; continue main; } } var$5 = var$3 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 10; continue main; } } var$5 = var$3 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 11; continue main; } } var$5 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 12; continue main; } } var$4 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$5 = nms_World_getBlockId(var$1, var$6, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 13; continue main; } } return; case 7: var$8.$onNeighborBlockChange(var$1, var$6, var$2, var$3, var$5); if ($rt_suspending()) { break main; } var$1 = $this.$worldObj0; var$6 = $this.$xCoord0; var$2 = $this.$yCoord0; var$3 = var$2 - 1 | 0; var$4 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$1, var$6, var$2, var$4)]; } var$2 = $this.$blockType.$blockID; var$5 = var$6 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 8; continue main; } } var$5 = var$6 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 9; continue main; } } var$5 = var$3 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 10; continue main; } } var$5 = var$3 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 11; continue main; } } var$5 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 12; continue main; } } var$4 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$5 = nms_World_getBlockId(var$1, var$6, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 13; continue main; } } return; case 8: var$8.$onNeighborBlockChange(var$1, var$5, var$3, var$4, var$2); if ($rt_suspending()) { break main; } var$5 = var$6 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$5, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 9; continue main; } } var$5 = var$3 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 10; continue main; } } var$5 = var$3 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 11; continue main; } } var$5 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 12; continue main; } } var$4 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$5 = nms_World_getBlockId(var$1, var$6, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 13; continue main; } } return; case 9: var$8.$onNeighborBlockChange(var$1, var$5, var$3, var$4, var$2); if ($rt_suspending()) { break main; } var$5 = var$3 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 10; continue main; } } var$5 = var$3 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 11; continue main; } } var$5 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 12; continue main; } } var$4 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$5 = nms_World_getBlockId(var$1, var$6, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 13; continue main; } } return; case 10: var$8.$onNeighborBlockChange(var$1, var$6, var$5, var$4, var$2); if ($rt_suspending()) { break main; } var$5 = var$3 + 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$5, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 11; continue main; } } var$5 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 12; continue main; } } var$4 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$5 = nms_World_getBlockId(var$1, var$6, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 13; continue main; } } return; case 11: var$8.$onNeighborBlockChange(var$1, var$6, var$5, var$4, var$2); if ($rt_suspending()) { break main; } var$5 = var$4 - 1 | 0; if (!var$1.$isRemote) { var$7 = nms_World_getBlockId(var$1, var$6, var$3, var$5); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$7]; if (var$8 !== null) { $ptr = 12; continue main; } } var$4 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$5 = nms_World_getBlockId(var$1, var$6, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 13; continue main; } } return; case 12: var$8.$onNeighborBlockChange(var$1, var$6, var$3, var$5, var$2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; if (!var$1.$isRemote) { var$5 = nms_World_getBlockId(var$1, var$6, var$3, var$4); nms_Block_$callClinit(); var$8 = nms_Block_blocksList.data[var$5]; if (var$8 !== null) { $ptr = 13; continue main; } } return; case 13: var$8.$onNeighborBlockChange(var$1, var$6, var$3, var$4, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_TileEntityChest_closeChest = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; } var$1 = $this.$blockType; if (var$1 !== null && var$1 instanceof nms_BlockChest) { var$2 = $this.$numUsingPlayers - 1 | 0; $this.$numUsingPlayers = var$2; var$3 = $this.$worldObj0; var$4 = $this.$xCoord0; var$5 = $this.$yCoord0; var$6 = $this.$zCoord0; var$7 = var$1.$blockID; var$8 = 1; if (var$7 > 0) { nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; $ptr = 1; continue main; } var$3 = $this.$worldObj0; var$8 = $this.$xCoord0; var$2 = $this.$yCoord0; var$5 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$3, var$8, var$2, var$5)]; } var$6 = $this.$blockType.$blockID; var$7 = var$8 - 1 | 0; if (!var$3.$isRemote) { var$4 = nms_World_getBlockId(var$3, var$7, var$2, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$4]; if (var$1 !== null) { $ptr = 2; continue main; } } var$4 = var$8 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$4, var$2, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 3; continue main; } } var$4 = var$2 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 4; continue main; } } var$4 = var$2 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 5; continue main; } } var$4 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$2, var$4); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 6; continue main; } } var$4 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$5 = nms_World_getBlockId(var$3, var$8, var$2, var$4); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$5]; if (var$1 !== null) { $ptr = 7; continue main; } } var$3 = $this.$worldObj0; var$8 = $this.$xCoord0; var$2 = $this.$yCoord0; var$4 = var$2 - 1 | 0; var$5 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$3, var$8, var$2, var$5)]; } var$2 = $this.$blockType.$blockID; var$6 = var$8 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 8; continue main; } } var$6 = var$8 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 9; continue main; } } var$6 = var$4 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 10; continue main; } } var$6 = var$4 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 11; continue main; } } var$6 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$6); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 12; continue main; } } var$5 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$6 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$6]; if (var$1 !== null) { $ptr = 13; continue main; } } } return; case 1: var$1.$onBlockEventReceived(var$3, var$4, var$5, var$6, var$8, var$2); if ($rt_suspending()) { break main; } var$3 = $this.$worldObj0; var$8 = $this.$xCoord0; var$2 = $this.$yCoord0; var$5 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$3, var$8, var$2, var$5)]; } var$6 = $this.$blockType.$blockID; var$7 = var$8 - 1 | 0; if (!var$3.$isRemote) { var$4 = nms_World_getBlockId(var$3, var$7, var$2, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$4]; if (var$1 !== null) { $ptr = 2; continue main; } } var$4 = var$8 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$4, var$2, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 3; continue main; } } var$4 = var$2 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 4; continue main; } } var$4 = var$2 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 5; continue main; } } var$4 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$2, var$4); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 6; continue main; } } var$4 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$5 = nms_World_getBlockId(var$3, var$8, var$2, var$4); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$5]; if (var$1 !== null) { $ptr = 7; continue main; } } var$3 = $this.$worldObj0; var$8 = $this.$xCoord0; var$2 = $this.$yCoord0; var$4 = var$2 - 1 | 0; var$5 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$3, var$8, var$2, var$5)]; } var$2 = $this.$blockType.$blockID; var$6 = var$8 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 8; continue main; } } var$6 = var$8 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 9; continue main; } } var$6 = var$4 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 10; continue main; } } var$6 = var$4 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 11; continue main; } } var$6 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$6); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 12; continue main; } } var$5 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$6 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$6]; if (var$1 !== null) { $ptr = 13; continue main; } } return; case 2: var$1.$onNeighborBlockChange(var$3, var$7, var$2, var$5, var$6); if ($rt_suspending()) { break main; } var$4 = var$8 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$4, var$2, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 3; continue main; } } var$4 = var$2 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 4; continue main; } } var$4 = var$2 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 5; continue main; } } var$4 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$2, var$4); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 6; continue main; } } var$4 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$5 = nms_World_getBlockId(var$3, var$8, var$2, var$4); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$5]; if (var$1 !== null) { $ptr = 7; continue main; } } var$3 = $this.$worldObj0; var$8 = $this.$xCoord0; var$2 = $this.$yCoord0; var$4 = var$2 - 1 | 0; var$5 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$3, var$8, var$2, var$5)]; } var$2 = $this.$blockType.$blockID; var$6 = var$8 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 8; continue main; } } var$6 = var$8 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 9; continue main; } } var$6 = var$4 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 10; continue main; } } var$6 = var$4 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 11; continue main; } } var$6 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$6); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 12; continue main; } } var$5 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$6 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$6]; if (var$1 !== null) { $ptr = 13; continue main; } } return; case 3: var$1.$onNeighborBlockChange(var$3, var$4, var$2, var$5, var$6); if ($rt_suspending()) { break main; } var$4 = var$2 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 4; continue main; } } var$4 = var$2 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 5; continue main; } } var$4 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$2, var$4); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 6; continue main; } } var$4 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$5 = nms_World_getBlockId(var$3, var$8, var$2, var$4); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$5]; if (var$1 !== null) { $ptr = 7; continue main; } } var$3 = $this.$worldObj0; var$8 = $this.$xCoord0; var$2 = $this.$yCoord0; var$4 = var$2 - 1 | 0; var$5 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$3, var$8, var$2, var$5)]; } var$2 = $this.$blockType.$blockID; var$6 = var$8 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 8; continue main; } } var$6 = var$8 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 9; continue main; } } var$6 = var$4 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 10; continue main; } } var$6 = var$4 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 11; continue main; } } var$6 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$6); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 12; continue main; } } var$5 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$6 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$6]; if (var$1 !== null) { $ptr = 13; continue main; } } return; case 4: var$1.$onNeighborBlockChange(var$3, var$8, var$4, var$5, var$6); if ($rt_suspending()) { break main; } var$4 = var$2 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 5; continue main; } } var$4 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$2, var$4); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 6; continue main; } } var$4 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$5 = nms_World_getBlockId(var$3, var$8, var$2, var$4); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$5]; if (var$1 !== null) { $ptr = 7; continue main; } } var$3 = $this.$worldObj0; var$8 = $this.$xCoord0; var$2 = $this.$yCoord0; var$4 = var$2 - 1 | 0; var$5 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$3, var$8, var$2, var$5)]; } var$2 = $this.$blockType.$blockID; var$6 = var$8 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 8; continue main; } } var$6 = var$8 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 9; continue main; } } var$6 = var$4 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 10; continue main; } } var$6 = var$4 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 11; continue main; } } var$6 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$6); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 12; continue main; } } var$5 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$6 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$6]; if (var$1 !== null) { $ptr = 13; continue main; } } return; case 5: var$1.$onNeighborBlockChange(var$3, var$8, var$4, var$5, var$6); if ($rt_suspending()) { break main; } var$4 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$2, var$4); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 6; continue main; } } var$4 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$5 = nms_World_getBlockId(var$3, var$8, var$2, var$4); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$5]; if (var$1 !== null) { $ptr = 7; continue main; } } var$3 = $this.$worldObj0; var$8 = $this.$xCoord0; var$2 = $this.$yCoord0; var$4 = var$2 - 1 | 0; var$5 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$3, var$8, var$2, var$5)]; } var$2 = $this.$blockType.$blockID; var$6 = var$8 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 8; continue main; } } var$6 = var$8 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 9; continue main; } } var$6 = var$4 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 10; continue main; } } var$6 = var$4 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 11; continue main; } } var$6 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$6); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 12; continue main; } } var$5 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$6 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$6]; if (var$1 !== null) { $ptr = 13; continue main; } } return; case 6: var$1.$onNeighborBlockChange(var$3, var$8, var$2, var$4, var$6); if ($rt_suspending()) { break main; } var$4 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$5 = nms_World_getBlockId(var$3, var$8, var$2, var$4); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$5]; if (var$1 !== null) { $ptr = 7; continue main; } } var$3 = $this.$worldObj0; var$8 = $this.$xCoord0; var$2 = $this.$yCoord0; var$4 = var$2 - 1 | 0; var$5 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$3, var$8, var$2, var$5)]; } var$2 = $this.$blockType.$blockID; var$6 = var$8 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 8; continue main; } } var$6 = var$8 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 9; continue main; } } var$6 = var$4 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 10; continue main; } } var$6 = var$4 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 11; continue main; } } var$6 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$6); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 12; continue main; } } var$5 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$6 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$6]; if (var$1 !== null) { $ptr = 13; continue main; } } return; case 7: var$1.$onNeighborBlockChange(var$3, var$8, var$2, var$4, var$6); if ($rt_suspending()) { break main; } var$3 = $this.$worldObj0; var$8 = $this.$xCoord0; var$2 = $this.$yCoord0; var$4 = var$2 - 1 | 0; var$5 = $this.$zCoord0; if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$3, var$8, var$2, var$5)]; } var$2 = $this.$blockType.$blockID; var$6 = var$8 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 8; continue main; } } var$6 = var$8 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 9; continue main; } } var$6 = var$4 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 10; continue main; } } var$6 = var$4 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 11; continue main; } } var$6 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$6); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 12; continue main; } } var$5 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$6 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$6]; if (var$1 !== null) { $ptr = 13; continue main; } } return; case 8: var$1.$onNeighborBlockChange(var$3, var$6, var$4, var$5, var$2); if ($rt_suspending()) { break main; } var$6 = var$8 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$6, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 9; continue main; } } var$6 = var$4 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 10; continue main; } } var$6 = var$4 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 11; continue main; } } var$6 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$6); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 12; continue main; } } var$5 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$6 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$6]; if (var$1 !== null) { $ptr = 13; continue main; } } return; case 9: var$1.$onNeighborBlockChange(var$3, var$6, var$4, var$5, var$2); if ($rt_suspending()) { break main; } var$6 = var$4 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 10; continue main; } } var$6 = var$4 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 11; continue main; } } var$6 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$6); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 12; continue main; } } var$5 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$6 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$6]; if (var$1 !== null) { $ptr = 13; continue main; } } return; case 10: var$1.$onNeighborBlockChange(var$3, var$8, var$6, var$5, var$2); if ($rt_suspending()) { break main; } var$6 = var$4 + 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$6, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 11; continue main; } } var$6 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$6); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 12; continue main; } } var$5 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$6 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$6]; if (var$1 !== null) { $ptr = 13; continue main; } } return; case 11: var$1.$onNeighborBlockChange(var$3, var$8, var$6, var$5, var$2); if ($rt_suspending()) { break main; } var$6 = var$5 - 1 | 0; if (!var$3.$isRemote) { var$7 = nms_World_getBlockId(var$3, var$8, var$4, var$6); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$7]; if (var$1 !== null) { $ptr = 12; continue main; } } var$5 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$6 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$6]; if (var$1 !== null) { $ptr = 13; continue main; } } return; case 12: var$1.$onNeighborBlockChange(var$3, var$8, var$4, var$6, var$2); if ($rt_suspending()) { break main; } var$5 = var$5 + 1 | 0; if (!var$3.$isRemote) { var$6 = nms_World_getBlockId(var$3, var$8, var$4, var$5); nms_Block_$callClinit(); var$1 = nms_Block_blocksList.data[var$6]; if (var$1 !== null) { $ptr = 13; continue main; } } return; case 13: var$1.$onNeighborBlockChange(var$3, var$8, var$4, var$5, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_TileEntityChest_isItemValidForSlot = ($this, $par1, $par2ItemStack) => { return 1; }, nms_TileEntityChest_invalidate = $this => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$tileEntityInvalid = 1; $this.$blockType = null; $this.$blockMetadata = (-1); $this.$adjacentChestChecked = 0; $ptr = 1; case 1: nms_TileEntityChest_checkForAdjacentChests($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); }; function nms_TileEntityChestRenderer() { let a = this; nms_TileEntitySpecialRenderer.call(a); a.$chestModel = null; a.$largeChestModel = null; a.$isChristmas = 0; } let nms_TileEntityChestRenderer_RES_TRAPPED_DOUBLE = null, nms_TileEntityChestRenderer_RES_CHRISTMAS_DOUBLE = null, nms_TileEntityChestRenderer_RES_NORMAL_DOUBLE = null, nms_TileEntityChestRenderer_RES_TRAPPED_SINGLE = null, nms_TileEntityChestRenderer_RES_CHRISTMAS_SINGLE = null, nms_TileEntityChestRenderer_RES_NORMAL_SINGLE = null, nms_TileEntityChestRenderer_$callClinit = () => { nms_TileEntityChestRenderer_$callClinit = $rt_eraseClinit(nms_TileEntityChestRenderer); nms_TileEntityChestRenderer__clinit_(); }, nms_TileEntityChestRenderer__init_ = $this => { let $var1, var$2, var$3, var$4, var$5, $$je; nms_TileEntityChestRenderer_$callClinit(); $this.$chestModel = nms_ModelChest__init_0(); $this.$largeChestModel = nms_ModelLargeChest__init_0(); $var1 = new ju_GregorianCalendar; ju_Locale_$callClinit(); var$2 = ju_Locale_defaultLocale; ju_TimeZone_$callClinit(); if (ju_TimeZone_defaultTz === null) { var$3 = otcit_DateTimeZoneProvider_detectTimezone(); if (var$3 === null) var$4 = null; else { var$4 = new ju_IANATimeZone; var$4.$id5 = var$3.$iID; var$4.$underlyingZone = var$3; var$5 = var$3.$getStandardOffset(jl_System_currentTimeMillis()); var$4.$rawOffset = var$5; var$4.$diff = -var$5 | 0; } ju_TimeZone_defaultTz = var$4; if (var$4 === null) ju_TimeZone_defaultTz = ju_TimeZone_GMT; } var$3 = ju_TimeZone_defaultTz; a: { try { var$4 = jl_Object_clone(var$3); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { } else { throw $$e; } } var$4 = null; } var$4.$rawOffset = var$3.$rawOffset; var$4.$underlyingZone = var$3.$underlyingZone; ju_GregorianCalendar__init_($var1, var$4, var$2); if (!$var1.$isTimeSet) { ju_GregorianCalendar_computeTime($var1); $var1.$isTimeSet = 1; } if (!$var1.$areFieldsSet) { ju_GregorianCalendar_computeFields($var1); $var1.$areFieldsSet = 1; } if (($var1.$fields.data[2] + 1 | 0) == 12) { if (!$var1.$isTimeSet) { ju_GregorianCalendar_computeTime($var1); $var1.$isTimeSet = 1; } if (!$var1.$areFieldsSet) { ju_GregorianCalendar_computeFields($var1); $var1.$areFieldsSet = 1; } if ($var1.$fields.data[5] >= 24) { if (!$var1.$isTimeSet) { ju_GregorianCalendar_computeTime($var1); $var1.$isTimeSet = 1; } if (!$var1.$areFieldsSet) { ju_GregorianCalendar_computeFields($var1); $var1.$areFieldsSet = 1; } if ($var1.$fields.data[5] <= 26) $this.$isChristmas = 1; } } }, nms_TileEntityChestRenderer__init_0 = () => { let var_0 = new nms_TileEntityChestRenderer(); nms_TileEntityChestRenderer__init_(var_0); return var_0; }, nms_TileEntityChestRenderer_renderTileEntityChestAt = ($this, $par1TileEntityChest, $par2, $par4, $par6, $par8) => { let $var10, $var9, $var14, var$9, $var11, $var12, $var13, $var13_0, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var13_0 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();var$9 = $thread.pop();$var14 = $thread.pop();$var9 = $thread.pop();$var10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntityChest = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10 = $par1TileEntityChest.$worldObj0; if (!($var10 === null ? 0 : 1)) { $var9 = 0; if ($par1TileEntityChest.$adjacentChestZNeg === null && $par1TileEntityChest.$adjacentChestXNeg === null) { a: { if ($par1TileEntityChest.$adjacentChestXPos === null && $par1TileEntityChest.$adjacentChestZPosition === null) { b: { c: { $var14 = $this.$chestModel; if ($par1TileEntityChest.$cachedChestType == (-1)) { var$9 = $par1TileEntityChest.$worldObj0; if (var$9 !== null) { if ($par1TileEntityChest.$blockType === null) { nms_Block_$callClinit(); $par1TileEntityChest.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$9, $par1TileEntityChest.$xCoord0, $par1TileEntityChest.$yCoord0, $par1TileEntityChest.$zCoord0)]; } var$9 = $par1TileEntityChest.$blockType; if (var$9 instanceof nms_BlockChest) { if (var$9 === null) { nms_Block_$callClinit(); $par1TileEntityChest.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($par1TileEntityChest.$worldObj0, $par1TileEntityChest.$xCoord0, $par1TileEntityChest.$yCoord0, $par1TileEntityChest.$zCoord0)]; } $par1TileEntityChest.$cachedChestType = $par1TileEntityChest.$blockType.$chestType; break c; } } $var11 = 0; break b; } } $var11 = $par1TileEntityChest.$cachedChestType; } if ($var11 == 1) { nms_TileEntityChestRenderer_$callClinit(); var$9 = nms_TileEntityChestRenderer_RES_TRAPPED_SINGLE; if ($this.$tileEntityRenderer.$renderEngine0 === null) break a; $ptr = 6; continue main; } if (!$this.$isChristmas) { nms_TileEntityChestRenderer_$callClinit(); $var10 = nms_TileEntityChestRenderer_RES_NORMAL_SINGLE; if ($this.$tileEntityRenderer.$renderEngine0 === null) break a; $ptr = 7; continue main; } nms_TileEntityChestRenderer_$callClinit(); $var10 = nms_TileEntityChestRenderer_RES_CHRISTMAS_SINGLE; if ($this.$tileEntityRenderer.$renderEngine0 === null) break a; $ptr = 8; continue main; } d: { e: { $var14 = $this.$largeChestModel; if ($par1TileEntityChest.$cachedChestType == (-1)) { var$9 = $par1TileEntityChest.$worldObj0; if (var$9 !== null) { if ($par1TileEntityChest.$blockType === null) { nms_Block_$callClinit(); $par1TileEntityChest.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$9, $par1TileEntityChest.$xCoord0, $par1TileEntityChest.$yCoord0, $par1TileEntityChest.$zCoord0)]; } var$9 = $par1TileEntityChest.$blockType; if (var$9 instanceof nms_BlockChest) { if (var$9 === null) { nms_Block_$callClinit(); $par1TileEntityChest.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($par1TileEntityChest.$worldObj0, $par1TileEntityChest.$xCoord0, $par1TileEntityChest.$yCoord0, $par1TileEntityChest.$zCoord0)]; } $par1TileEntityChest.$cachedChestType = $par1TileEntityChest.$blockType.$chestType; break e; } } $var11 = 0; break d; } } $var11 = $par1TileEntityChest.$cachedChestType; } if ($var11 == 1) { nms_TileEntityChestRenderer_$callClinit(); $var10 = nms_TileEntityChestRenderer_RES_TRAPPED_DOUBLE; if ($this.$tileEntityRenderer.$renderEngine0 === null) break a; $ptr = 3; continue main; } if (!$this.$isChristmas) { nms_TileEntityChestRenderer_$callClinit(); $var10 = nms_TileEntityChestRenderer_RES_NORMAL_DOUBLE; if ($this.$tileEntityRenderer.$renderEngine0 === null) break a; $ptr = 4; continue main; } nms_TileEntityChestRenderer_$callClinit(); $var10 = nms_TileEntityChestRenderer_RES_CHRISTMAS_DOUBLE; if ($this.$tileEntityRenderer.$renderEngine0 !== null) { $ptr = 5; continue main; } } nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var12 = $par2; $var13 = $par4 + 1.0; $var13_0 = $par6 + 1.0; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $var12; var$9.$y = $var13; var$9.$z = $var13_0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = (-1.0); var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.5; var$9.$y = 0.5; var$9.$z = 0.5; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var11 = 0; var$14 = $rt_compare($var9, 2); if (!var$14) $var11 = 180; if ($var9 == 3) $var11 = 0; if ($var9 == 4) $var11 = 90; var$15 = $rt_compare($var9, 5); if (!var$15) $var11 = (-90); if (!var$14 && $par1TileEntityChest.$adjacentChestXPos !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = 0.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if (!var$15 && $par1TileEntityChest.$adjacentChestZPosition !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 0.0; var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var12 = $var11; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = (-0.5); var$9.$y = (-0.5); var$9.$z = (-0.5); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var12 = $par1TileEntityChest.$prevLidAngle; $var12 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; var$9 = $par1TileEntityChest.$adjacentChestZNeg; if (var$9 === null) $var13 = $var12; else { $var13 = var$9.$prevLidAngle; $var13 = $var13 + (var$9.$lidAngle - $var13) * $par8; if ($var13 <= $var12) $var13 = $var12; } $par1TileEntityChest = $par1TileEntityChest.$adjacentChestXNeg; if ($par1TileEntityChest === null) $var13_0 = $var13; else { $var12 = $par1TileEntityChest.$prevLidAngle; $var13_0 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; if ($var13_0 <= $var13) $var13_0 = $var13; } $par8 = 1.0 - $var13_0; $par8 = 1.0 - $par8 * $par8 * $par8; $par1TileEntityChest = $var14.$chestLid; $par8 = -($par8 * 3.1415927410125732 / 2.0); $par1TileEntityChest.$rotateAngleX = $par8; $var14.$chestKnob.$rotateAngleX = $par8; nms_ModelRenderer_render($par1TileEntityChest, 0.0625); nms_ModelRenderer_render($var14.$chestKnob, 0.0625); nms_ModelRenderer_render($var14.$chestBelow, 0.0625); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; } return; } if ($par1TileEntityChest.$blockType === null) { nms_Block_$callClinit(); $par1TileEntityChest.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($var10, $par1TileEntityChest.$xCoord0, $par1TileEntityChest.$yCoord0, $par1TileEntityChest.$zCoord0)]; } $var10 = $par1TileEntityChest.$blockType; if ($par1TileEntityChest.$blockMetadata == (-1)) $par1TileEntityChest.$blockMetadata = nms_World_getBlockMetadata($par1TileEntityChest.$worldObj0, $par1TileEntityChest.$xCoord0, $par1TileEntityChest.$yCoord0, $par1TileEntityChest.$zCoord0); $var9 = $par1TileEntityChest.$blockMetadata; if ($var10 instanceof nms_BlockChest && !$var9) { $var10 = $var10; var$9 = $par1TileEntityChest.$worldObj0; $var11 = $par1TileEntityChest.$xCoord0; var$14 = $par1TileEntityChest.$yCoord0; var$15 = $par1TileEntityChest.$zCoord0; $ptr = 2; continue main; } $ptr = 1; case 1: nms_TileEntityChest_checkForAdjacentChests($par1TileEntityChest); if ($rt_suspending()) { break main; } if ($par1TileEntityChest.$adjacentChestZNeg === null && $par1TileEntityChest.$adjacentChestXNeg === null) { f: { if ($par1TileEntityChest.$adjacentChestXPos === null && $par1TileEntityChest.$adjacentChestZPosition === null) { g: { a: { $var14 = $this.$chestModel; if ($par1TileEntityChest.$cachedChestType == (-1)) { var$9 = $par1TileEntityChest.$worldObj0; if (var$9 !== null) { if ($par1TileEntityChest.$blockType === null) { nms_Block_$callClinit(); $par1TileEntityChest.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$9, $par1TileEntityChest.$xCoord0, $par1TileEntityChest.$yCoord0, $par1TileEntityChest.$zCoord0)]; } var$9 = $par1TileEntityChest.$blockType; if (var$9 instanceof nms_BlockChest) { if (var$9 === null) { nms_Block_$callClinit(); $par1TileEntityChest.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($par1TileEntityChest.$worldObj0, $par1TileEntityChest.$xCoord0, $par1TileEntityChest.$yCoord0, $par1TileEntityChest.$zCoord0)]; } $par1TileEntityChest.$cachedChestType = $par1TileEntityChest.$blockType.$chestType; break a; } } $var11 = 0; break g; } } $var11 = $par1TileEntityChest.$cachedChestType; } if ($var11 == 1) { nms_TileEntityChestRenderer_$callClinit(); var$9 = nms_TileEntityChestRenderer_RES_TRAPPED_SINGLE; if ($this.$tileEntityRenderer.$renderEngine0 === null) break f; $ptr = 6; continue main; } if (!$this.$isChristmas) { nms_TileEntityChestRenderer_$callClinit(); $var10 = nms_TileEntityChestRenderer_RES_NORMAL_SINGLE; if ($this.$tileEntityRenderer.$renderEngine0 === null) break f; $ptr = 7; continue main; } nms_TileEntityChestRenderer_$callClinit(); $var10 = nms_TileEntityChestRenderer_RES_CHRISTMAS_SINGLE; if ($this.$tileEntityRenderer.$renderEngine0 === null) break f; $ptr = 8; continue main; } h: { i: { $var14 = $this.$largeChestModel; if ($par1TileEntityChest.$cachedChestType == (-1)) { var$9 = $par1TileEntityChest.$worldObj0; if (var$9 !== null) { if ($par1TileEntityChest.$blockType === null) { nms_Block_$callClinit(); $par1TileEntityChest.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$9, $par1TileEntityChest.$xCoord0, $par1TileEntityChest.$yCoord0, $par1TileEntityChest.$zCoord0)]; } var$9 = $par1TileEntityChest.$blockType; if (var$9 instanceof nms_BlockChest) { if (var$9 === null) { nms_Block_$callClinit(); $par1TileEntityChest.$blockType = nms_Block_blocksList.data[nms_World_getBlockId($par1TileEntityChest.$worldObj0, $par1TileEntityChest.$xCoord0, $par1TileEntityChest.$yCoord0, $par1TileEntityChest.$zCoord0)]; } $par1TileEntityChest.$cachedChestType = $par1TileEntityChest.$blockType.$chestType; break i; } } $var11 = 0; break h; } } $var11 = $par1TileEntityChest.$cachedChestType; } if ($var11 == 1) { nms_TileEntityChestRenderer_$callClinit(); $var10 = nms_TileEntityChestRenderer_RES_TRAPPED_DOUBLE; if ($this.$tileEntityRenderer.$renderEngine0 === null) break f; $ptr = 3; continue main; } if (!$this.$isChristmas) { nms_TileEntityChestRenderer_$callClinit(); $var10 = nms_TileEntityChestRenderer_RES_NORMAL_DOUBLE; if ($this.$tileEntityRenderer.$renderEngine0 === null) break f; $ptr = 4; continue main; } nms_TileEntityChestRenderer_$callClinit(); $var10 = nms_TileEntityChestRenderer_RES_CHRISTMAS_DOUBLE; if ($this.$tileEntityRenderer.$renderEngine0 !== null) { $ptr = 5; continue main; } } nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var12 = $par2; $var13 = $par4 + 1.0; $var13_0 = $par6 + 1.0; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $var12; var$9.$y = $var13; var$9.$z = $var13_0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = (-1.0); var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.5; var$9.$y = 0.5; var$9.$z = 0.5; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var11 = 0; var$14 = $rt_compare($var9, 2); if (!var$14) $var11 = 180; if ($var9 == 3) $var11 = 0; if ($var9 == 4) $var11 = 90; var$15 = $rt_compare($var9, 5); if (!var$15) $var11 = (-90); if (!var$14 && $par1TileEntityChest.$adjacentChestXPos !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = 0.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if (!var$15 && $par1TileEntityChest.$adjacentChestZPosition !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 0.0; var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var12 = $var11; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = (-0.5); var$9.$y = (-0.5); var$9.$z = (-0.5); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var12 = $par1TileEntityChest.$prevLidAngle; $var12 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; var$9 = $par1TileEntityChest.$adjacentChestZNeg; if (var$9 === null) $var13 = $var12; else { $var13 = var$9.$prevLidAngle; $var13 = $var13 + (var$9.$lidAngle - $var13) * $par8; if ($var13 <= $var12) $var13 = $var12; } $par1TileEntityChest = $par1TileEntityChest.$adjacentChestXNeg; if ($par1TileEntityChest === null) $var13_0 = $var13; else { $var12 = $par1TileEntityChest.$prevLidAngle; $var13_0 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; if ($var13_0 <= $var13) $var13_0 = $var13; } $par8 = 1.0 - $var13_0; $par8 = 1.0 - $par8 * $par8 * $par8; $par1TileEntityChest = $var14.$chestLid; $par8 = -($par8 * 3.1415927410125732 / 2.0); $par1TileEntityChest.$rotateAngleX = $par8; $var14.$chestKnob.$rotateAngleX = $par8; nms_ModelRenderer_render($par1TileEntityChest, 0.0625); nms_ModelRenderer_render($var14.$chestKnob, 0.0625); nms_ModelRenderer_render($var14.$chestBelow, 0.0625); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; } return; case 2: nms_BlockChest_unifyAdjacentChests($var10, var$9, $var11, var$14, var$15); if ($rt_suspending()) { break main; } if ($par1TileEntityChest.$blockMetadata == (-1)) $par1TileEntityChest.$blockMetadata = nms_World_getBlockMetadata($par1TileEntityChest.$worldObj0, $par1TileEntityChest.$xCoord0, $par1TileEntityChest.$yCoord0, $par1TileEntityChest.$zCoord0); $var9 = $par1TileEntityChest.$blockMetadata; $ptr = 1; continue main; case 3: nle_TextureLocation_bindTexture($var10); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var12 = $par2; $var13 = $par4 + 1.0; $var13_0 = $par6 + 1.0; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $var12; var$9.$y = $var13; var$9.$z = $var13_0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = (-1.0); var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.5; var$9.$y = 0.5; var$9.$z = 0.5; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var11 = 0; var$14 = $rt_compare($var9, 2); if (!var$14) $var11 = 180; if ($var9 == 3) $var11 = 0; if ($var9 == 4) $var11 = 90; var$15 = $rt_compare($var9, 5); if (!var$15) $var11 = (-90); if (!var$14 && $par1TileEntityChest.$adjacentChestXPos !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = 0.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if (!var$15 && $par1TileEntityChest.$adjacentChestZPosition !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 0.0; var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var12 = $var11; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = (-0.5); var$9.$y = (-0.5); var$9.$z = (-0.5); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var12 = $par1TileEntityChest.$prevLidAngle; $var12 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; var$9 = $par1TileEntityChest.$adjacentChestZNeg; if (var$9 === null) $var13 = $var12; else { $var13 = var$9.$prevLidAngle; $var13 = $var13 + (var$9.$lidAngle - $var13) * $par8; if ($var13 <= $var12) $var13 = $var12; } $par1TileEntityChest = $par1TileEntityChest.$adjacentChestXNeg; if ($par1TileEntityChest === null) $var13_0 = $var13; else { $var12 = $par1TileEntityChest.$prevLidAngle; $var13_0 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; if ($var13_0 <= $var13) $var13_0 = $var13; } $par8 = 1.0 - $var13_0; $par8 = 1.0 - $par8 * $par8 * $par8; $par1TileEntityChest = $var14.$chestLid; $par8 = -($par8 * 3.1415927410125732 / 2.0); $par1TileEntityChest.$rotateAngleX = $par8; $var14.$chestKnob.$rotateAngleX = $par8; nms_ModelRenderer_render($par1TileEntityChest, 0.0625); nms_ModelRenderer_render($var14.$chestKnob, 0.0625); nms_ModelRenderer_render($var14.$chestBelow, 0.0625); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return; case 4: nle_TextureLocation_bindTexture($var10); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var12 = $par2; $var13 = $par4 + 1.0; $var13_0 = $par6 + 1.0; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $var12; var$9.$y = $var13; var$9.$z = $var13_0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = (-1.0); var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.5; var$9.$y = 0.5; var$9.$z = 0.5; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var11 = 0; var$14 = $rt_compare($var9, 2); if (!var$14) $var11 = 180; if ($var9 == 3) $var11 = 0; if ($var9 == 4) $var11 = 90; var$15 = $rt_compare($var9, 5); if (!var$15) $var11 = (-90); if (!var$14 && $par1TileEntityChest.$adjacentChestXPos !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = 0.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if (!var$15 && $par1TileEntityChest.$adjacentChestZPosition !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 0.0; var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var12 = $var11; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = (-0.5); var$9.$y = (-0.5); var$9.$z = (-0.5); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var12 = $par1TileEntityChest.$prevLidAngle; $var12 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; var$9 = $par1TileEntityChest.$adjacentChestZNeg; if (var$9 === null) $var13 = $var12; else { $var13 = var$9.$prevLidAngle; $var13 = $var13 + (var$9.$lidAngle - $var13) * $par8; if ($var13 <= $var12) $var13 = $var12; } $par1TileEntityChest = $par1TileEntityChest.$adjacentChestXNeg; if ($par1TileEntityChest === null) $var13_0 = $var13; else { $var12 = $par1TileEntityChest.$prevLidAngle; $var13_0 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; if ($var13_0 <= $var13) $var13_0 = $var13; } $par8 = 1.0 - $var13_0; $par8 = 1.0 - $par8 * $par8 * $par8; $par1TileEntityChest = $var14.$chestLid; $par8 = -($par8 * 3.1415927410125732 / 2.0); $par1TileEntityChest.$rotateAngleX = $par8; $var14.$chestKnob.$rotateAngleX = $par8; nms_ModelRenderer_render($par1TileEntityChest, 0.0625); nms_ModelRenderer_render($var14.$chestKnob, 0.0625); nms_ModelRenderer_render($var14.$chestBelow, 0.0625); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return; case 5: nle_TextureLocation_bindTexture($var10); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var12 = $par2; $var13 = $par4 + 1.0; $var13_0 = $par6 + 1.0; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $var12; var$9.$y = $var13; var$9.$z = $var13_0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = (-1.0); var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.5; var$9.$y = 0.5; var$9.$z = 0.5; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var11 = 0; var$14 = $rt_compare($var9, 2); if (!var$14) $var11 = 180; if ($var9 == 3) $var11 = 0; if ($var9 == 4) $var11 = 90; var$15 = $rt_compare($var9, 5); if (!var$15) $var11 = (-90); if (!var$14 && $par1TileEntityChest.$adjacentChestXPos !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = 0.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if (!var$15 && $par1TileEntityChest.$adjacentChestZPosition !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 0.0; var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var12 = $var11; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = (-0.5); var$9.$y = (-0.5); var$9.$z = (-0.5); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var12 = $par1TileEntityChest.$prevLidAngle; $var12 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; var$9 = $par1TileEntityChest.$adjacentChestZNeg; if (var$9 === null) $var13 = $var12; else { $var13 = var$9.$prevLidAngle; $var13 = $var13 + (var$9.$lidAngle - $var13) * $par8; if ($var13 <= $var12) $var13 = $var12; } $par1TileEntityChest = $par1TileEntityChest.$adjacentChestXNeg; if ($par1TileEntityChest === null) $var13_0 = $var13; else { $var12 = $par1TileEntityChest.$prevLidAngle; $var13_0 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; if ($var13_0 <= $var13) $var13_0 = $var13; } $par8 = 1.0 - $var13_0; $par8 = 1.0 - $par8 * $par8 * $par8; $par1TileEntityChest = $var14.$chestLid; $par8 = -($par8 * 3.1415927410125732 / 2.0); $par1TileEntityChest.$rotateAngleX = $par8; $var14.$chestKnob.$rotateAngleX = $par8; nms_ModelRenderer_render($par1TileEntityChest, 0.0625); nms_ModelRenderer_render($var14.$chestKnob, 0.0625); nms_ModelRenderer_render($var14.$chestBelow, 0.0625); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return; case 6: nle_TextureLocation_bindTexture(var$9); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var12 = $par2; $var13 = $par4 + 1.0; $var13_0 = $par6 + 1.0; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $var12; var$9.$y = $var13; var$9.$z = $var13_0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = (-1.0); var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.5; var$9.$y = 0.5; var$9.$z = 0.5; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var11 = 0; var$14 = $rt_compare($var9, 2); if (!var$14) $var11 = 180; if ($var9 == 3) $var11 = 0; if ($var9 == 4) $var11 = 90; var$15 = $rt_compare($var9, 5); if (!var$15) $var11 = (-90); if (!var$14 && $par1TileEntityChest.$adjacentChestXPos !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = 0.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if (!var$15 && $par1TileEntityChest.$adjacentChestZPosition !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 0.0; var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var12 = $var11; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = (-0.5); var$9.$y = (-0.5); var$9.$z = (-0.5); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var12 = $par1TileEntityChest.$prevLidAngle; $var12 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; var$9 = $par1TileEntityChest.$adjacentChestZNeg; if (var$9 === null) $var13 = $var12; else { $var13 = var$9.$prevLidAngle; $var13 = $var13 + (var$9.$lidAngle - $var13) * $par8; if ($var13 <= $var12) $var13 = $var12; } $par1TileEntityChest = $par1TileEntityChest.$adjacentChestXNeg; if ($par1TileEntityChest === null) $var13_0 = $var13; else { $var12 = $par1TileEntityChest.$prevLidAngle; $var13_0 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; if ($var13_0 <= $var13) $var13_0 = $var13; } $par8 = 1.0 - $var13_0; $par8 = 1.0 - $par8 * $par8 * $par8; $par1TileEntityChest = $var14.$chestLid; $par8 = -($par8 * 3.1415927410125732 / 2.0); $par1TileEntityChest.$rotateAngleX = $par8; $var14.$chestKnob.$rotateAngleX = $par8; nms_ModelRenderer_render($par1TileEntityChest, 0.0625); nms_ModelRenderer_render($var14.$chestKnob, 0.0625); nms_ModelRenderer_render($var14.$chestBelow, 0.0625); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return; case 7: nle_TextureLocation_bindTexture($var10); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var12 = $par2; $var13 = $par4 + 1.0; $var13_0 = $par6 + 1.0; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $var12; var$9.$y = $var13; var$9.$z = $var13_0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = (-1.0); var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.5; var$9.$y = 0.5; var$9.$z = 0.5; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var11 = 0; var$14 = $rt_compare($var9, 2); if (!var$14) $var11 = 180; if ($var9 == 3) $var11 = 0; if ($var9 == 4) $var11 = 90; var$15 = $rt_compare($var9, 5); if (!var$15) $var11 = (-90); if (!var$14 && $par1TileEntityChest.$adjacentChestXPos !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = 0.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if (!var$15 && $par1TileEntityChest.$adjacentChestZPosition !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 0.0; var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var12 = $var11; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = (-0.5); var$9.$y = (-0.5); var$9.$z = (-0.5); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var12 = $par1TileEntityChest.$prevLidAngle; $var12 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; var$9 = $par1TileEntityChest.$adjacentChestZNeg; if (var$9 === null) $var13 = $var12; else { $var13 = var$9.$prevLidAngle; $var13 = $var13 + (var$9.$lidAngle - $var13) * $par8; if ($var13 <= $var12) $var13 = $var12; } $par1TileEntityChest = $par1TileEntityChest.$adjacentChestXNeg; if ($par1TileEntityChest === null) $var13_0 = $var13; else { $var12 = $par1TileEntityChest.$prevLidAngle; $var13_0 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; if ($var13_0 <= $var13) $var13_0 = $var13; } $par8 = 1.0 - $var13_0; $par8 = 1.0 - $par8 * $par8 * $par8; $par1TileEntityChest = $var14.$chestLid; $par8 = -($par8 * 3.1415927410125732 / 2.0); $par1TileEntityChest.$rotateAngleX = $par8; $var14.$chestKnob.$rotateAngleX = $par8; nms_ModelRenderer_render($par1TileEntityChest, 0.0625); nms_ModelRenderer_render($var14.$chestKnob, 0.0625); nms_ModelRenderer_render($var14.$chestBelow, 0.0625); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return; case 8: nle_TextureLocation_bindTexture($var10); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var12 = $par2; $var13 = $par4 + 1.0; $var13_0 = $par6 + 1.0; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $var12; var$9.$y = $var13; var$9.$z = $var13_0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = (-1.0); var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.5; var$9.$y = 0.5; var$9.$z = 0.5; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var11 = 0; var$14 = $rt_compare($var9, 2); if (!var$14) $var11 = 180; if ($var9 == 3) $var11 = 0; if ($var9 == 4) $var11 = 90; var$15 = $rt_compare($var9, 5); if (!var$15) $var11 = (-90); if (!var$14 && $par1TileEntityChest.$adjacentChestXPos !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 1.0; var$9.$y = 0.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if (!var$15 && $par1TileEntityChest.$adjacentChestZPosition !== null) { var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 0.0; var$9.$z = (-1.0); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } $var12 = $var11; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var12 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = (-0.5); var$9.$y = (-0.5); var$9.$z = (-0.5); var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $var10 = new ji_ByteArrayOutputStream; $var10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $var10; $var10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var10, 16); var$9.$sb = $var10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var12 = $par1TileEntityChest.$prevLidAngle; $var12 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; var$9 = $par1TileEntityChest.$adjacentChestZNeg; if (var$9 === null) $var13 = $var12; else { $var13 = var$9.$prevLidAngle; $var13 = $var13 + (var$9.$lidAngle - $var13) * $par8; if ($var13 <= $var12) $var13 = $var12; } $par1TileEntityChest = $par1TileEntityChest.$adjacentChestXNeg; if ($par1TileEntityChest === null) $var13_0 = $var13; else { $var12 = $par1TileEntityChest.$prevLidAngle; $var13_0 = $var12 + ($par1TileEntityChest.$lidAngle - $var12) * $par8; if ($var13_0 <= $var13) $var13_0 = $var13; } $par8 = 1.0 - $var13_0; $par8 = 1.0 - $par8 * $par8 * $par8; $par1TileEntityChest = $var14.$chestLid; $par8 = -($par8 * 3.1415927410125732 / 2.0); $par1TileEntityChest.$rotateAngleX = $par8; $var14.$chestKnob.$rotateAngleX = $par8; nms_ModelRenderer_render($par1TileEntityChest, 0.0625); nms_ModelRenderer_render($var14.$chestKnob, 0.0625); nms_ModelRenderer_render($var14.$chestBelow, 0.0625); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntityChest, $par2, $par4, $par6, $par8, $var10, $var9, $var14, var$9, $var11, $var12, $var13, $var13_0, var$14, var$15, $ptr); }, nms_TileEntityChestRenderer_renderTileEntityAt = ($this, $par1TileEntity, $par2, $par4, $par6, $par8) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1TileEntity = $par1TileEntity; $ptr = 1; case 1: nms_TileEntityChestRenderer_renderTileEntityChestAt($this, $par1TileEntity, $par2, $par4, $par6, $par8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntity, $par2, $par4, $par6, $par8, $ptr); }, nms_TileEntityChestRenderer__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3531); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntityChestRenderer_RES_TRAPPED_DOUBLE = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3532); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntityChestRenderer_RES_CHRISTMAS_DOUBLE = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3533); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntityChestRenderer_RES_NORMAL_DOUBLE = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3534); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntityChestRenderer_RES_TRAPPED_SINGLE = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3535); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntityChestRenderer_RES_CHRISTMAS_SINGLE = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3536); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntityChestRenderer_RES_NORMAL_SINGLE = var$1; }; function nms_TileEntityEnderChest() { let a = this; nms_TileEntity.call(a); a.$lidAngle0 = 0.0; a.$prevLidAngle0 = 0.0; a.$numUsingPlayers0 = 0; a.$ticksSinceSync0 = 0; } let nms_TileEntityEnderChest__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); }, nms_TileEntityEnderChest__init_0 = () => { let var_0 = new nms_TileEntityEnderChest(); nms_TileEntityEnderChest__init_(var_0); return var_0; }, nms_TileEntityEnderChest_updateEntity = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $var8, $var1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1 = $thread.pop();$var8 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$ticksSinceSync0 + 1 | 0; $this.$ticksSinceSync0 = var$1; if (!((var$1 % 20 | 0) * 4 | 0)) { var$2 = $this.$worldObj0; var$1 = $this.$xCoord0; var$3 = $this.$yCoord0; var$4 = $this.$zCoord0; nms_Block_$callClinit(); var$5 = nms_Block_enderChest.$blockID; var$6 = 1; var$7 = $this.$numUsingPlayers0; if (var$5 > 0) { var$8 = nms_Block_blocksList.data[var$5]; $ptr = 1; continue main; } } a: { $var8 = $this.$lidAngle0; $this.$prevLidAngle0 = $var8; var$1 = $this.$numUsingPlayers0; if (var$1 > 0 && $var8 === 0.0) { var$8 = $this.$worldObj0; var$2 = var$8.$rand0; var$2.$seed = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3 = 0; while (true) { var$4 = $rt_compare(var$3, var$8.$worldAccesses.$size0); if (var$4 >= 0) break a; if (var$3 < 0) break; if (var$4 >= 0) break; var$3 = var$3 + 1 | 0; } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); } } b: { c: { if (!(!var$1 && $var8 > 0.0)) { if (var$1 <= 0) break c; if ($var8 >= 1.0) break c; } if (var$1 <= 0) $this.$lidAngle0 = $var8 - 0.10000000149011612; else $this.$lidAngle0 = $var8 + 0.10000000149011612; if ($this.$lidAngle0 > 1.0) $this.$lidAngle0 = 1.0; $var1 = $this.$lidAngle0; if ($var1 < 0.5 && $var8 >= 0.5) { var$8 = $this.$worldObj0; var$2 = var$8.$rand0; var$2.$seed = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1 = 0; while (true) { var$3 = $rt_compare(var$1, var$8.$worldAccesses.$size0); if (var$3 >= 0) break; if (var$1 < 0) break b; if (var$3 >= 0) break b; var$1 = var$1 + 1 | 0; } } if ($var1 < 0.0) $this.$lidAngle0 = 0.0; } return; } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); case 1: var$8.$onBlockEventReceived(var$2, var$1, var$3, var$4, var$6, var$7); if ($rt_suspending()) { break main; } d: { $var8 = $this.$lidAngle0; $this.$prevLidAngle0 = $var8; var$1 = $this.$numUsingPlayers0; if (var$1 > 0 && $var8 === 0.0) { var$8 = $this.$worldObj0; var$2 = var$8.$rand0; var$2.$seed = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3 = 0; while (true) { var$4 = $rt_compare(var$3, var$8.$worldAccesses.$size0); if (var$4 >= 0) break d; if (var$3 < 0) break; if (var$4 >= 0) break; var$3 = var$3 + 1 | 0; } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); } } e: { f: { if (!(!var$1 && $var8 > 0.0)) { if (var$1 <= 0) break f; if ($var8 >= 1.0) break f; } if (var$1 <= 0) $this.$lidAngle0 = $var8 - 0.10000000149011612; else $this.$lidAngle0 = $var8 + 0.10000000149011612; if ($this.$lidAngle0 > 1.0) $this.$lidAngle0 = 1.0; $var1 = $this.$lidAngle0; if ($var1 < 0.5 && $var8 >= 0.5) { var$8 = $this.$worldObj0; var$2 = var$8.$rand0; var$2.$seed = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1 = 0; while (true) { var$3 = $rt_compare(var$1, var$8.$worldAccesses.$size0); if (var$3 >= 0) break; if (var$1 < 0) break e; if (var$3 >= 0) break e; var$1 = var$1 + 1 | 0; } } if ($var1 < 0.0) $this.$lidAngle0 = 0.0; } return; } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $var8, $var1, $ptr); }, nms_TileEntityEnderChest_receiveClientEvent = ($this, $par1, $par2) => { if ($par1 != 1) return 0; $this.$numUsingPlayers0 = $par2; return 1; }, nms_TileEntityEnderChest_invalidate = $this => { $this.$blockType = null; $this.$blockMetadata = (-1); $this.$tileEntityInvalid = 1; }, nms_TileEntityEnderChest_isUseableByPlayer = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$worldObj0; var$3 = $this.$xCoord0; var$4 = $this.$yCoord0; var$5 = $this.$zCoord0; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2 !== $this) var$3 = 0; else { var$6 = $this.$xCoord0 + 0.5; var$7 = $this.$yCoord0 + 0.5; var$8 = $this.$zCoord0 + 0.5; var$6 = $par1EntityPlayer.$posX - var$6; var$7 = $par1EntityPlayer.$posY - var$7; var$8 = $par1EntityPlayer.$posZ - var$8; var$3 = var$6 * var$6 + var$7 * var$7 + var$8 * var$8 > 64.0 ? 0 : 1; } return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }; function nms_TileEntityEnderChestRenderer() { nms_TileEntitySpecialRenderer.call(this); this.$theEnderChestModel = null; } let nms_TileEntityEnderChestRenderer_field_110637_a = null, nms_TileEntityEnderChestRenderer_$callClinit = () => { nms_TileEntityEnderChestRenderer_$callClinit = $rt_eraseClinit(nms_TileEntityEnderChestRenderer); nms_TileEntityEnderChestRenderer__clinit_(); }, nms_TileEntityEnderChestRenderer__init_ = $this => { nms_TileEntityEnderChestRenderer_$callClinit(); $this.$theEnderChestModel = nms_ModelChest__init_0(); }, nms_TileEntityEnderChestRenderer__init_0 = () => { let var_0 = new nms_TileEntityEnderChestRenderer(); nms_TileEntityEnderChestRenderer__init_(var_0); return var_0; }, nms_TileEntityEnderChestRenderer_renderEnderChest = ($this, $par1TileEntityEnderChest, $par2, $par4, $par6, $par8) => { let $var9, var$7, var$8, var$9, $var11, var$11, $var10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var10 = $thread.pop();var$11 = $thread.pop();$var11 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntityEnderChest = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var9 = 0; var$7 = $par1TileEntityEnderChest.$worldObj0; if (var$7 === null ? 0 : 1) { if ($par1TileEntityEnderChest.$blockMetadata == (-1)) $par1TileEntityEnderChest.$blockMetadata = nms_World_getBlockMetadata(var$7, $par1TileEntityEnderChest.$xCoord0, $par1TileEntityEnderChest.$yCoord0, $par1TileEntityEnderChest.$zCoord0); $var9 = $par1TileEntityEnderChest.$blockMetadata; } nms_TileEntityEnderChestRenderer_$callClinit(); var$8 = nms_TileEntityEnderChestRenderer_field_110637_a; if ($this.$tileEntityRenderer.$renderEngine0 === null) { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; var$9 = $par2; $var11 = $par4 + 1.0; var$11 = $par6 + 1.0; var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = var$9; var$7.$y = $var11; var$7.$z = var$11; var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = 1.0; var$7.$y = (-1.0); var$7.$z = (-1.0); var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = 0.5; var$7.$y = 0.5; var$7.$z = 0.5; var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = 0; if ($var9 == 2) $var10 = 180; if ($var9 == 3) $var10 = 0; if ($var9 == 4) $var10 = 90; if ($var9 == 5) $var10 = (-90); $var11 = $var10; var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = 0.0; var$7.$y = 1.0; var$7.$z = 0.0; var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var11 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = (-0.5); var$7.$y = (-0.5); var$7.$z = (-0.5); var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var11 = $par1TileEntityEnderChest.$prevLidAngle0; $par8 = 1.0 - ($var11 + ($par1TileEntityEnderChest.$lidAngle0 - $var11) * $par8); $par8 = 1.0 - $par8 * $par8 * $par8; $par1TileEntityEnderChest = $this.$theEnderChestModel; var$7 = $par1TileEntityEnderChest.$chestLid; $par8 = -($par8 * 3.1415927410125732 / 2.0); var$7.$rotateAngleX = $par8; $par1TileEntityEnderChest.$chestKnob.$rotateAngleX = $par8; nms_ModelRenderer_render(var$7, 0.0625); nms_ModelRenderer_render($par1TileEntityEnderChest.$chestKnob, 0.0625); nms_ModelRenderer_render($par1TileEntityEnderChest.$chestBelow, 0.0625); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return; } $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$8); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; var$9 = $par2; $var11 = $par4 + 1.0; var$11 = $par6 + 1.0; var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = var$9; var$7.$y = $var11; var$7.$z = var$11; var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = 1.0; var$7.$y = (-1.0); var$7.$z = (-1.0); var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = 0.5; var$7.$y = 0.5; var$7.$z = 0.5; var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = 0; if ($var9 == 2) $var10 = 180; if ($var9 == 3) $var10 = 0; if ($var9 == 4) $var10 = 90; if ($var9 == 5) $var10 = (-90); $var11 = $var10; var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = 0.0; var$7.$y = 1.0; var$7.$z = 0.0; var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var11 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$7 = nleg_EaglerAdapterGL30_deevis; var$7.$x = (-0.5); var$7.$y = (-0.5); var$7.$z = (-0.5); var$7 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$7, var$7); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$7 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_(var$7); var$7.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); var$7.$sb = var$8; var$7.$buffer0 = $rt_createCharArray(32); var$7.$autoFlush = 0; var$7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$7; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var11 = $par1TileEntityEnderChest.$prevLidAngle0; $par8 = 1.0 - ($var11 + ($par1TileEntityEnderChest.$lidAngle0 - $var11) * $par8); $par8 = 1.0 - $par8 * $par8 * $par8; $par1TileEntityEnderChest = $this.$theEnderChestModel; var$7 = $par1TileEntityEnderChest.$chestLid; $par8 = -($par8 * 3.1415927410125732 / 2.0); var$7.$rotateAngleX = $par8; $par1TileEntityEnderChest.$chestKnob.$rotateAngleX = $par8; nms_ModelRenderer_render(var$7, 0.0625); nms_ModelRenderer_render($par1TileEntityEnderChest.$chestKnob, 0.0625); nms_ModelRenderer_render($par1TileEntityEnderChest.$chestBelow, 0.0625); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntityEnderChest, $par2, $par4, $par6, $par8, $var9, var$7, var$8, var$9, $var11, var$11, $var10, $ptr); }, nms_TileEntityEnderChestRenderer_renderTileEntityAt = ($this, $par1TileEntity, $par2, $par4, $par6, $par8) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1TileEntity = $par1TileEntity; $ptr = 1; case 1: nms_TileEntityEnderChestRenderer_renderEnderChest($this, $par1TileEntity, $par2, $par4, $par6, $par8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntity, $par2, $par4, $par6, $par8, $ptr); }, nms_TileEntityEnderChestRenderer__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3537); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntityEnderChestRenderer_field_110637_a = var$1; }; function nms_TileEntityEnchantmentTable() { let a = this; nms_TileEntity.call(a); a.$tickCount = 0; a.$pageFlip = 0.0; a.$pageFlipPrev = 0.0; a.$field_70373_d = 0.0; a.$field_70374_e = 0.0; a.$bookSpread = 0.0; a.$bookSpreadPrev = 0.0; a.$bookRotation2 = 0.0; a.$bookRotationPrev = 0.0; a.$bookRotation = 0.0; a.$field_94136_s = null; } let nms_TileEntityEnchantmentTable_rand = null, nms_TileEntityEnchantmentTable_$callClinit = () => { nms_TileEntityEnchantmentTable_$callClinit = $rt_eraseClinit(nms_TileEntityEnchantmentTable); nms_TileEntityEnchantmentTable__clinit_(); }, nms_TileEntityEnchantmentTable__init_ = $this => { nms_TileEntityEnchantmentTable_$callClinit(); nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); }, nms_TileEntityEnchantmentTable__init_0 = () => { let var_0 = new nms_TileEntityEnchantmentTable(); nms_TileEntityEnchantmentTable__init_(var_0); return var_0; }, nms_TileEntityEnchantmentTable_writeToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); var$2 = $this.$field_94136_s; if (var$2 !== null && var$2.$nativeString.length > 0 ? 1 : 0) { var$3 = $this.$field_94136_s; var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagString; $par1NBTTagCompound.$name = $rt_s(1281); $par1NBTTagCompound.$data1 = var$3; if (var$3 === null) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(186); $rt_throw(var$2); } ju_HashMap_putImpl(var$4, $rt_s(1281), $par1NBTTagCompound); } }, nms_TileEntityEnchantmentTable_readFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } e: { $this.$xCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { f: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { g: { if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { h: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) var$3 = 1; else if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; i: { $this.$yCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { j: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { k: { if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { l: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } m: { $this.$zCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1281).$nativeString.length) break m; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1281).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { n: { var$6 = var$2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break n; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { o: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1281).$nativeString.length) break o; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$3 = $rt_s(1281).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { p: { var$6 = var$2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break p; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $par1NBTTagCompound = $rt_s(18); else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1281) === null) { var$6 = $par1NBTTagCompound.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { q: { if (!$rt_s(1281).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1281).$nativeString.length) break q; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(1281).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$6 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { r: { $par1NBTTagCompound = var$6.$key; if ($rt_s(1281) !== $par1NBTTagCompound) { if ($rt_s(1281) === $par1NBTTagCompound) var$3 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$3 = $rt_s(1281).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break r; } } var$3 = 1; } if (var$3) break; } var$6 = var$6.$next3; } } $par1NBTTagCompound = (var$6 === null ? null : var$6.$value1).$data1; } $this.$field_94136_s = $par1NBTTagCompound; } }, nms_TileEntityEnchantmentTable_updateEntity = $this => { let $var1, $var2, $var6, var$4, var$5, var$6, $var3, var$8, var$9, var$10, $var7, $var8; $this.$bookSpreadPrev = $this.$bookSpread; $this.$bookRotationPrev = $this.$bookRotation2; $var1 = nms_World_getClosestPlayer($this.$worldObj0, $this.$xCoord0 + 0.5, $this.$yCoord0 + 0.5, $this.$zCoord0 + 0.5, 3.0); if ($var1 === null) { $this.$bookRotation = $this.$bookRotation + 0.019999999552965164; $this.$bookSpread = $this.$bookSpread - 0.10000000149011612; } else a: { $var2 = $var1.$posX - ($this.$xCoord0 + 0.5); $this.$bookRotation = jl_Math_atan2($var1.$posZ - ($this.$zCoord0 + 0.5), $var2); $var6 = $this.$bookSpread + 0.10000000149011612; $this.$bookSpread = $var6; if ($var6 >= 0.5) { nms_TileEntityEnchantmentTable_$callClinit(); $var1 = nms_TileEntityEnchantmentTable_rand; var$4 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); while (true) { var$6 = var$5 % 40 | 0; if (((var$5 - var$6 | 0) + 39 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } if (var$6) break a; } $var6 = $this.$field_70373_d; while (true) { $var3 = $this.$field_70373_d; nms_TileEntityEnchantmentTable_$callClinit(); $var1 = nms_TileEntityEnchantmentTable_rand; var$8 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$8; var$9 = Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$8, 17)))), 31)); var$10 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$10; $var3 = $var3 + (var$9 - Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$10, 17)))), 31)) | 0); $this.$field_70373_d = $var3; if ($var6 === $var3) continue; else break a; } } while (true) { $var6 = $this.$bookRotation2; if ($var6 < 3.1415927410125732) break; $this.$bookRotation2 = $var6 - 6.2831854820251465; } while (true) { $var6 = $this.$bookRotation2; if ($var6 >= (-3.1415927410125732)) break; $this.$bookRotation2 = $var6 + 6.2831854820251465; } while (true) { $var7 = $this.$bookRotation; if ($var7 < 3.1415927410125732) break; $this.$bookRotation = $var7 - 6.2831854820251465; } while (true) { $var7 = $this.$bookRotation; if ($var7 >= (-3.1415927410125732)) break; $this.$bookRotation = $var7 + 6.2831854820251465; } $var7 = $var7 - $var6; while ($var7 >= 3.1415927410125732) { $var7 = $var7 - 6.2831854820251465; } while ($var7 < (-3.1415927410125732)) { $var7 = $var7 + 6.2831854820251465; } $this.$bookRotation2 = $var6 + $var7 * 0.4000000059604645; if ($this.$bookSpread < 0.0) $this.$bookSpread = 0.0; if ($this.$bookSpread > 1.0) $this.$bookSpread = 1.0; $this.$tickCount = $this.$tickCount + 1 | 0; $var6 = $this.$pageFlip; $this.$pageFlipPrev = $var6; $var3 = ($this.$field_70373_d - $var6) * 0.4000000059604645; $var8 = 0.20000000298023224; $var7 = (-0.20000000298023224); if ($var3 >= $var7) $var7 = $var3; if ($var7 <= $var8) $var8 = $var7; $var3 = $this.$field_70374_e; $var3 = $var3 + ($var8 - $var3) * 0.8999999761581421; $this.$field_70374_e = $var3; $this.$pageFlip = $var6 + $var3; }, nms_TileEntityEnchantmentTable__clinit_ = () => { let var$1, var$2; var$1 = new nle_EaglercraftRandom; var$2 = Long_fromNumber(performance.now() * 1000000.0); var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = var$2; nms_TileEntityEnchantmentTable_rand = var$1; }; function nms_RenderEnchantmentTable() { nms_TileEntitySpecialRenderer.call(this); this.$enchantmentBook = null; } let nms_RenderEnchantmentTable_enchantingTableBookTextures = null, nms_RenderEnchantmentTable_$callClinit = () => { nms_RenderEnchantmentTable_$callClinit = $rt_eraseClinit(nms_RenderEnchantmentTable); nms_RenderEnchantmentTable__clinit_(); }, nms_RenderEnchantmentTable__init_ = $this => { nms_RenderEnchantmentTable_$callClinit(); $this.$enchantmentBook = nms_ModelBook__init_(); }, nms_RenderEnchantmentTable__init_0 = () => { let var_0 = new nms_RenderEnchantmentTable(); nms_RenderEnchantmentTable__init_(var_0); return var_0; }, nms_RenderEnchantmentTable_renderTileEntityEnchantmentTableAt = ($this, $par1TileEntityEnchantmentTable, $par2, $par4, $par6, $par8) => { let $var10, $var11, $var12, var$9, var$10, $var9, $var13, $var14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var9 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntityEnchantmentTable = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glPushMatrix(); $var10 = $par2 + 0.5; $var11 = $par4 + 0.75; $var12 = $par6 + 0.5; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = $var10; var$9.$y = $var11; var$9.$z = $var12; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var9 = $par1TileEntityEnchantmentTable.$tickCount + $par8; $var13 = $var9 * 0.10000000149011612; $var10 = 0.10000000149011612 + nms_MathHelper_SIN_TABLE.data[($var13 * 10430.3779296875 | 0) & 65535] * 0.009999999776482582; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = $var10; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var10 = $par1TileEntityEnchantmentTable.$bookRotation2; $var11 = $par1TileEntityEnchantmentTable.$bookRotationPrev; $var10 = $var10 - $var11; while ($var10 >= 3.1415927410125732) { $var10 = $var10 - 6.2831854820251465; } while ($var10 < (-3.1415927410125732)) { $var10 = $var10 + 6.2831854820251465; } $var10 = -($var11 + $var10 * $par8) * 180.0 / 3.1415927410125732; var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 1.0; var$9.$z = 0.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var10 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$9 = nleg_EaglerAdapterGL30_deevis; var$9.$x = 0.0; var$9.$y = 0.0; var$9.$z = 1.0; var$9 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(1.3962633609771729, nleg_EaglerAdapterGL30_deevis, var$9, var$9); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); var$9.$sb = var$10; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_RenderEnchantmentTable_$callClinit(); var$9 = nms_RenderEnchantmentTable_enchantingTableBookTextures; if ($this.$tileEntityRenderer.$renderEngine0 === null) { $var10 = $par1TileEntityEnchantmentTable.$pageFlipPrev; $var10 = $var10 + ($par1TileEntityEnchantmentTable.$pageFlip - $var10) * $par8; $var12 = $var10 + 0.25; $var13 = $var10 + 0.75; $var10 = ($var12 - (($var12 + 1024.0 | 0) - 1024 | 0)) * 1.600000023841858 - 0.30000001192092896; $var11 = ($var13 - (($var13 + 1024.0 | 0) - 1024 | 0)) * 1.600000023841858 - 0.30000001192092896; if ($var10 < 0.0) $var10 = 0.0; if ($var11 < 0.0) $var11 = 0.0; if ($var10 > 1.0) $var10 = 1.0; if ($var11 > 1.0) $var11 = 1.0; $var12 = $par1TileEntityEnchantmentTable.$bookSpreadPrev; $var14 = $var12 + ($par1TileEntityEnchantmentTable.$bookSpread - $var12) * $par8; nleg_EaglerAdapterGL30_glEnable(2884); $par1TileEntityEnchantmentTable = $this.$enchantmentBook; nms_ModelBook_setRotationAngles($par1TileEntityEnchantmentTable, $var9, $var10, $var11, $var14, 0.0, 0.0625, null); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$coverRight, 0.0625); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$coverLeft, 0.0625); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$bookSpine, 0.0625); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$pagesRight, 0.0625); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$pagesLeft, 0.0625); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$flippingPageRight, 0.0625); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$flippingPageLeft, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); return; } $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$9); if ($rt_suspending()) { break main; } $var10 = $par1TileEntityEnchantmentTable.$pageFlipPrev; $var10 = $var10 + ($par1TileEntityEnchantmentTable.$pageFlip - $var10) * $par8; $var12 = $var10 + 0.25; $var13 = $var10 + 0.75; $var10 = ($var12 - (($var12 + 1024.0 | 0) - 1024 | 0)) * 1.600000023841858 - 0.30000001192092896; $var11 = ($var13 - (($var13 + 1024.0 | 0) - 1024 | 0)) * 1.600000023841858 - 0.30000001192092896; if ($var10 < 0.0) $var10 = 0.0; if ($var11 < 0.0) $var11 = 0.0; if ($var10 > 1.0) $var10 = 1.0; if ($var11 > 1.0) $var11 = 1.0; $var12 = $par1TileEntityEnchantmentTable.$bookSpreadPrev; $var14 = $var12 + ($par1TileEntityEnchantmentTable.$bookSpread - $var12) * $par8; nleg_EaglerAdapterGL30_glEnable(2884); $par1TileEntityEnchantmentTable = $this.$enchantmentBook; nms_ModelBook_setRotationAngles($par1TileEntityEnchantmentTable, $var9, $var10, $var11, $var14, 0.0, 0.0625, null); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$coverRight, 0.0625); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$coverLeft, 0.0625); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$bookSpine, 0.0625); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$pagesRight, 0.0625); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$pagesLeft, 0.0625); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$flippingPageRight, 0.0625); nms_ModelRenderer_render($par1TileEntityEnchantmentTable.$flippingPageLeft, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntityEnchantmentTable, $par2, $par4, $par6, $par8, $var10, $var11, $var12, var$9, var$10, $var9, $var13, $var14, $ptr); }, nms_RenderEnchantmentTable_renderTileEntityAt = ($this, $par1TileEntity, $par2, $par4, $par6, $par8) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1TileEntity = $par1TileEntity; $ptr = 1; case 1: nms_RenderEnchantmentTable_renderTileEntityEnchantmentTableAt($this, $par1TileEntity, $par2, $par4, $par6, $par8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntity, $par2, $par4, $par6, $par8, $ptr); }, nms_RenderEnchantmentTable__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3538); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderEnchantmentTable_enchantingTableBookTextures = var$1; }, nms_TileEntityEndPortal = $rt_classWithoutFields(nms_TileEntity), nms_TileEntityEndPortal__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); }, nms_TileEntityEndPortal__init_0 = () => { let var_0 = new nms_TileEntityEndPortal(); nms_TileEntityEndPortal__init_(var_0); return var_0; }; function nms_RenderEndPortal() { nms_TileEntitySpecialRenderer.call(this); this.$field_76908_a = null; } let nms_RenderEndPortal_enderPortalEndSkyTextures = null, nms_RenderEndPortal_endPortalTextures = null, nms_RenderEndPortal_field_110644_e = null, nms_RenderEndPortal_$callClinit = () => { nms_RenderEndPortal_$callClinit = $rt_eraseClinit(nms_RenderEndPortal); nms_RenderEndPortal__clinit_(); }, nms_RenderEndPortal__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; nms_RenderEndPortal_$callClinit(); nleg_EaglerAdapterGL30_$callClinit(); var$1 = nleg_EaglerAdapterGL30_isWebGL; if (var$1) { var$2 = $rt_createFloatArray(16); var$1 = var$2.data.length; var$3 = new jn_FloatBufferOverArray; var$4 = 0 + var$1 | 0; var$3.$mark = (-1); var$3.$capacity = var$1; var$3.$limit0 = var$1; var$3.$position0 = 0; var$3.$limit0 = var$4; var$3.$start2 = 0; var$3.$readOnly2 = 0; var$3.$array3 = var$2; } else { if (!var$1) { var$5 = new jn_ByteBufferImpl; var$2 = $rt_createByteArray(64); var$5.$mark = (-1); var$5.$capacity = 64; var$5.$limit0 = 64; var$5.$order = jn_ByteOrder_BIG_ENDIAN; var$5.$start = 0; var$5.$array0 = var$2; var$5.$position0 = 0; var$5.$limit0 = 64; var$5.$direct = 1; var$5.$readOnly0 = 0; var$5.$order = jn_ByteOrder_nativeOrder(); } else { var$2 = $rt_createByteArray(64); var$6 = var$2.data.length; if (var$6 >= 0 && var$6 <= (var$6 - 0 | 0)) { var$5 = new jn_ByteBufferImpl; var$7 = 0 + var$6 | 0; var$5.$mark = (-1); var$5.$capacity = var$6; var$5.$limit0 = var$6; var$5.$order = jn_ByteOrder_BIG_ENDIAN; var$5.$start = 0; var$5.$array0 = var$2; var$5.$position0 = 0; var$5.$limit0 = var$7; var$5.$direct = 0; var$5.$readOnly0 = 0; } else { var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } } var$3 = jn_ByteBufferImpl_asFloatBuffer(var$5); } $this.$field_76908_a = var$3; }, nms_RenderEndPortal__init_0 = () => { let var_0 = new nms_RenderEndPortal(); nms_RenderEndPortal__init_(var_0); return var_0; }, nms_RenderEndPortal_renderEndPortalTileEntity = ($this, $par1TileEntityEndPortal, $par2, $par4, $par6, $par8) => { let $var9, $var10, $var11, $var13, $var17, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, var$32, $var14, $var15, $var16, $var23, $var19, var$38, $var21, var$40, var$41, $var22, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var22 = $thread.pop();var$41 = $thread.pop();var$40 = $thread.pop();$var21 = $thread.pop();var$38 = $thread.pop();$var19 = $thread.pop();$var23 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var17 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntityEndPortal = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1TileEntityEndPortal = $this.$tileEntityRenderer; $var9 = $par1TileEntityEndPortal.$playerX; $var10 = $par1TileEntityEndPortal.$playerY; $var11 = $par1TileEntityEndPortal.$playerZ; nleg_EaglerAdapterGL30_glDisable(2896); nms_RenderEndPortal_$callClinit(); nms_RenderEndPortal_field_110644_e.$seed = Long_fromInt(31100); $var13 = 0; $par4 = $par4 + 0.75; $var17 = -$par4; var$11 = $par4; $par8 = -$var9; var$12 = -$var11; $var10 = -$var10; var$13 = 24; var$14 = 255; var$15 = $par6 + 1.0; var$16 = $par2 + 1.0; var$17 = $rt_s(468); var$18 = $rt_s(469); var$19 = $rt_s(468); var$20 = $rt_s(469); var$21 = $rt_s(468); var$22 = $rt_s(469); var$23 = $rt_s(468); var$24 = $rt_s(469); var$25 = $rt_s(468); var$26 = $rt_s(469); var$27 = $rt_s(468); var$28 = $rt_s(469); var$29 = $rt_s(468); var$30 = $rt_s(469); var$31 = $rt_s(468); var$32 = $rt_s(469); while (true) { if ($var13 >= 16) { nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glDisable(3168); nleg_EaglerAdapterGL30_glDisable(3169); nleg_EaglerAdapterGL30_glDisable(3170); nleg_EaglerAdapterGL30_glDisable(3171); nleg_EaglerAdapterGL30_glEnable(2896); return; } nleg_EaglerAdapterGL30_glPushMatrix(); $var14 = 16 - $var13 | 0; $var15 = 0.0625; $var16 = 1.0 / ($var14 + 1.0); if (!$var13) { $var23 = nms_RenderEndPortal_enderPortalEndSkyTextures; if ($this.$tileEntityRenderer.$renderEngine0 !== null) { $ptr = 1; continue main; } $var16 = 0.10000000149011612; $var14 = 65.0; $var15 = 0.125; nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); } if ($var13 == 1) { $par1TileEntityEndPortal = nms_RenderEndPortal_endPortalTextures; if ($this.$tileEntityRenderer.$renderEngine0 !== null) { $ptr = 2; continue main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(1, 1); $var15 = 0.5; } nms_ActiveRenderInfo_$callClinit(); $var19 = nms_ActiveRenderInfo_objectY; $var19 = ($var17 + $var19) / ($var17 + $var14 + $var19) + var$11; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = $var9; $par1TileEntityEndPortal.$y = $var19; $par1TileEntityEndPortal.$z = $var11; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$17)); $rt_putStderr($rt_ustr(var$18)); } $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$capacity; $par1TileEntityEndPortal.$mark = (-1); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 1.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$position0; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$mark = (-1); nleg_EaglerAdapterGL30_glTexGen(8192, 9473, $par1TileEntityEndPortal); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$capacity; $par1TileEntityEndPortal.$mark = (-1); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 1.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$position0; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$mark = (-1); nleg_EaglerAdapterGL30_glTexGen(8193, 9473, $par1TileEntityEndPortal); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$capacity; $par1TileEntityEndPortal.$mark = (-1); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 1.0); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$position0; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$mark = (-1); nleg_EaglerAdapterGL30_glTexGen(8194, 9473, $par1TileEntityEndPortal); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$capacity; $par1TileEntityEndPortal.$mark = (-1); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 1.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) break; $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$position0; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$mark = (-1); nleg_EaglerAdapterGL30_glTexGen(8195, 9474, $par1TileEntityEndPortal); nleg_EaglerAdapterGL30_glEnable(3168); nleg_EaglerAdapterGL30_glEnable(3169); nleg_EaglerAdapterGL30_glEnable(3170); nleg_EaglerAdapterGL30_glEnable(3171); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPushMatrix(); nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nlea_EaglerAdapterImpl2_$callClinit(); $var21 = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(700000))) / 700000.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = 0.0; $par1TileEntityEndPortal.$y = $var21; $par1TileEntityEndPortal.$z = 0.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$19)); $rt_putStderr($rt_ustr(var$20)); } $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = $var15; $par1TileEntityEndPortal.$y = $var15; $par1TileEntityEndPortal.$z = $var15; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$21)); $rt_putStderr($rt_ustr(var$22)); } $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = 0.5; $par1TileEntityEndPortal.$y = 0.5; $par1TileEntityEndPortal.$z = 0.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$23)); $rt_putStderr($rt_ustr(var$24)); } $var21 = (($rt_imul($var13, $var13) * 4321 | 0) + ($var13 * 9 | 0) | 0) * 2.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = 0.0; $par1TileEntityEndPortal.$y = 0.0; $par1TileEntityEndPortal.$z = 1.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$25)); $rt_putStderr($rt_ustr(var$26)); } $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = (-0.5); $par1TileEntityEndPortal.$y = (-0.5); $par1TileEntityEndPortal.$z = 0.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$27)); $rt_putStderr($rt_ustr(var$28)); } $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = $par8; $par1TileEntityEndPortal.$y = var$12; $par1TileEntityEndPortal.$z = $var10; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$29)); $rt_putStderr($rt_ustr(var$30)); } $var19 = $var17 + nms_ActiveRenderInfo_objectY; $var21 = nms_ActiveRenderInfo_objectX * $var14 / $var19; $var19 = nms_ActiveRenderInfo_objectZ * $var14 / $var19; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = $var21; $par1TileEntityEndPortal.$y = $var19; $par1TileEntityEndPortal.$z = $var10; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var23 = new otcic_JSStderrPrintStream; $par1TileEntityEndPortal = new ji_ByteArrayOutputStream; $par1TileEntityEndPortal.$buf = $rt_createByteArray(32); jl_Object__init_($var23); $var23.$out0 = $par1TileEntityEndPortal; $par1TileEntityEndPortal = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par1TileEntityEndPortal, 16); $var23.$sb = $par1TileEntityEndPortal; $var23.$buffer0 = $rt_createCharArray(32); $var23.$autoFlush = 0; $var23.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var23; } $rt_putStderr($rt_ustr(var$31)); $rt_putStderr($rt_ustr(var$32)); } nlea_Tessellator_$callClinit(); $var23 = nlea_Tessellator_instance; if ($var23.$isDrawing) nlea_Tessellator_draw($var23); $var23.$isDrawing = 1; $var23.$vertexCount = 0; $var23.$rawBufferIndex = 0; $var23.$addedVertices = 0; $var23.$drawMode = 7; $var23.$hasNormals = 0; $var23.$hasColor = 0; $var23.$hasTexture = 0; $var23.$hasBrightness = 0; $var23.$isColorDisabled = 0; $par1TileEntityEndPortal = nms_RenderEndPortal_field_110644_e; var$40 = Long_and(Long_add(Long_mul($par1TileEntityEndPortal.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1TileEntityEndPortal.$seed = var$40; $var19 = Long_lo(Long_shru(var$40, var$13)) / 1.6777216E7 * 0.5 + 0.10000000149011612; var$41 = Long_and(Long_add(Long_mul(var$40, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1TileEntityEndPortal.$seed = var$41; $var21 = Long_lo(Long_shru(var$41, var$13)) / 1.6777216E7 * 0.5 + 0.4000000059604645; var$41 = Long_and(Long_add(Long_mul(var$41, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1TileEntityEndPortal.$seed = var$41; $var22 = Long_lo(Long_shru(var$41, var$13)) / 1.6777216E7 * 0.5 + 0.5; if (!$var13) { $var22 = 1.0; $var21 = 1.0; $var19 = 1.0; } nlea_Tessellator_setColorRGBA($var23, $var19 * $var16 * 255.0 | 0, $var21 * $var16 * 255.0 | 0, $var22 * $var16 * 255.0 | 0, var$14); nlea_Tessellator_addVertex($var23, $par2, $par4, $par6); nlea_Tessellator_addVertex($var23, $par2, $par4, var$15); nlea_Tessellator_addVertex($var23, var$16, $par4, var$15); nlea_Tessellator_addVertex($var23, var$16, $par4, $par6); nlea_Tessellator_draw($var23); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; $var13 = $var13 + 1 | 0; } $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); case 1: nle_TextureLocation_bindTexture($var23); if ($rt_suspending()) { break main; } a: while (true) { $var16 = 0.10000000149011612; $var14 = 65.0; $var15 = 0.125; nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); while (true) { if ($var13 == 1) { $par1TileEntityEndPortal = nms_RenderEndPortal_endPortalTextures; if ($this.$tileEntityRenderer.$renderEngine0 !== null) { $ptr = 2; continue main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(1, 1); $var15 = 0.5; } nms_ActiveRenderInfo_$callClinit(); $var19 = nms_ActiveRenderInfo_objectY; $var19 = ($var17 + $var19) / ($var17 + $var14 + $var19) + var$11; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = $var9; $par1TileEntityEndPortal.$y = $var19; $par1TileEntityEndPortal.$z = $var11; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$17)); $rt_putStderr($rt_ustr(var$18)); } $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$capacity; $par1TileEntityEndPortal.$mark = (-1); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 1.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$position0; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$mark = (-1); nleg_EaglerAdapterGL30_glTexGen(8192, 9473, $par1TileEntityEndPortal); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$capacity; $par1TileEntityEndPortal.$mark = (-1); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 1.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$position0; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$mark = (-1); nleg_EaglerAdapterGL30_glTexGen(8193, 9473, $par1TileEntityEndPortal); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$capacity; $par1TileEntityEndPortal.$mark = (-1); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 1.0); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$position0; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$mark = (-1); nleg_EaglerAdapterGL30_glTexGen(8194, 9473, $par1TileEntityEndPortal); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$capacity; $par1TileEntityEndPortal.$mark = (-1); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 1.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) break a; $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$position0; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$mark = (-1); nleg_EaglerAdapterGL30_glTexGen(8195, 9474, $par1TileEntityEndPortal); nleg_EaglerAdapterGL30_glEnable(3168); nleg_EaglerAdapterGL30_glEnable(3169); nleg_EaglerAdapterGL30_glEnable(3170); nleg_EaglerAdapterGL30_glEnable(3171); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPushMatrix(); nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nlea_EaglerAdapterImpl2_$callClinit(); $var21 = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(700000))) / 700000.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = 0.0; $par1TileEntityEndPortal.$y = $var21; $par1TileEntityEndPortal.$z = 0.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$19)); $rt_putStderr($rt_ustr(var$20)); } $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = $var15; $par1TileEntityEndPortal.$y = $var15; $par1TileEntityEndPortal.$z = $var15; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$21)); $rt_putStderr($rt_ustr(var$22)); } $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = 0.5; $par1TileEntityEndPortal.$y = 0.5; $par1TileEntityEndPortal.$z = 0.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$23)); $rt_putStderr($rt_ustr(var$24)); } $var21 = (($rt_imul($var13, $var13) * 4321 | 0) + ($var13 * 9 | 0) | 0) * 2.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = 0.0; $par1TileEntityEndPortal.$y = 0.0; $par1TileEntityEndPortal.$z = 1.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$25)); $rt_putStderr($rt_ustr(var$26)); } $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = (-0.5); $par1TileEntityEndPortal.$y = (-0.5); $par1TileEntityEndPortal.$z = 0.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$27)); $rt_putStderr($rt_ustr(var$28)); } $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = $par8; $par1TileEntityEndPortal.$y = var$12; $par1TileEntityEndPortal.$z = $var10; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$29)); $rt_putStderr($rt_ustr(var$30)); } $var19 = $var17 + nms_ActiveRenderInfo_objectY; $var21 = nms_ActiveRenderInfo_objectX * $var14 / $var19; $var19 = nms_ActiveRenderInfo_objectZ * $var14 / $var19; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = $var21; $par1TileEntityEndPortal.$y = $var19; $par1TileEntityEndPortal.$z = $var10; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var23 = new otcic_JSStderrPrintStream; $par1TileEntityEndPortal = new ji_ByteArrayOutputStream; $par1TileEntityEndPortal.$buf = $rt_createByteArray(32); jl_Object__init_($var23); $var23.$out0 = $par1TileEntityEndPortal; $par1TileEntityEndPortal = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par1TileEntityEndPortal, 16); $var23.$sb = $par1TileEntityEndPortal; $var23.$buffer0 = $rt_createCharArray(32); $var23.$autoFlush = 0; $var23.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var23; } $rt_putStderr($rt_ustr(var$31)); $rt_putStderr($rt_ustr(var$32)); } nlea_Tessellator_$callClinit(); $var23 = nlea_Tessellator_instance; if ($var23.$isDrawing) nlea_Tessellator_draw($var23); $var23.$isDrawing = 1; $var23.$vertexCount = 0; $var23.$rawBufferIndex = 0; $var23.$addedVertices = 0; $var23.$drawMode = 7; $var23.$hasNormals = 0; $var23.$hasColor = 0; $var23.$hasTexture = 0; $var23.$hasBrightness = 0; $var23.$isColorDisabled = 0; $par1TileEntityEndPortal = nms_RenderEndPortal_field_110644_e; var$40 = Long_and(Long_add(Long_mul($par1TileEntityEndPortal.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1TileEntityEndPortal.$seed = var$40; $var19 = Long_lo(Long_shru(var$40, var$13)) / 1.6777216E7 * 0.5 + 0.10000000149011612; var$41 = Long_and(Long_add(Long_mul(var$40, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1TileEntityEndPortal.$seed = var$41; $var21 = Long_lo(Long_shru(var$41, var$13)) / 1.6777216E7 * 0.5 + 0.4000000059604645; var$41 = Long_and(Long_add(Long_mul(var$41, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1TileEntityEndPortal.$seed = var$41; $var22 = Long_lo(Long_shru(var$41, var$13)) / 1.6777216E7 * 0.5 + 0.5; if (!$var13) { $var22 = 1.0; $var21 = 1.0; $var19 = 1.0; } nlea_Tessellator_setColorRGBA($var23, $var19 * $var16 * 255.0 | 0, $var21 * $var16 * 255.0 | 0, $var22 * $var16 * 255.0 | 0, var$14); nlea_Tessellator_addVertex($var23, $par2, $par4, $par6); nlea_Tessellator_addVertex($var23, $par2, $par4, var$15); nlea_Tessellator_addVertex($var23, var$16, $par4, var$15); nlea_Tessellator_addVertex($var23, var$16, $par4, $par6); nlea_Tessellator_draw($var23); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; $var13 = $var13 + 1 | 0; if ($var13 >= 16) { nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glDisable(3168); nleg_EaglerAdapterGL30_glDisable(3169); nleg_EaglerAdapterGL30_glDisable(3170); nleg_EaglerAdapterGL30_glDisable(3171); nleg_EaglerAdapterGL30_glEnable(2896); return; } nleg_EaglerAdapterGL30_glPushMatrix(); $var14 = 16 - $var13 | 0; $var15 = 0.0625; $var16 = 1.0 / ($var14 + 1.0); if (!$var13) break; } $var23 = nms_RenderEndPortal_enderPortalEndSkyTextures; if ($this.$tileEntityRenderer.$renderEngine0 === null) continue; else { continue main; } } $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); case 2: nle_TextureLocation_bindTexture($par1TileEntityEndPortal); if ($rt_suspending()) { break main; } a: while (true) { nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(1, 1); $var15 = 0.5; while (true) { nms_ActiveRenderInfo_$callClinit(); $var19 = nms_ActiveRenderInfo_objectY; $var19 = ($var17 + $var19) / ($var17 + $var14 + $var19) + var$11; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = $var9; $par1TileEntityEndPortal.$y = $var19; $par1TileEntityEndPortal.$z = $var11; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$17)); $rt_putStderr($rt_ustr(var$18)); } $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$capacity; $par1TileEntityEndPortal.$mark = (-1); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 1.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$position0; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$mark = (-1); nleg_EaglerAdapterGL30_glTexGen(8192, 9473, $par1TileEntityEndPortal); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$capacity; $par1TileEntityEndPortal.$mark = (-1); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 1.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$position0; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$mark = (-1); nleg_EaglerAdapterGL30_glTexGen(8193, 9473, $par1TileEntityEndPortal); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$capacity; $par1TileEntityEndPortal.$mark = (-1); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 1.0); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$position0; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$mark = (-1); nleg_EaglerAdapterGL30_glTexGen(8194, 9473, $par1TileEntityEndPortal); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$capacity; $par1TileEntityEndPortal.$mark = (-1); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 1.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) { $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); if ($par1TileEntityEndPortal.$readOnly()) { $par1TileEntityEndPortal = new jn_ReadOnlyBufferException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); } var$38 = $par1TileEntityEndPortal.$position0; if (var$38 >= $par1TileEntityEndPortal.$limit0) break a; $par1TileEntityEndPortal.$position0 = var$38 + 1 | 0; $par1TileEntityEndPortal.$putElement0(var$38, 0.0); $par1TileEntityEndPortal = $this.$field_76908_a; $par1TileEntityEndPortal.$limit0 = $par1TileEntityEndPortal.$position0; $par1TileEntityEndPortal.$position0 = 0; $par1TileEntityEndPortal.$mark = (-1); nleg_EaglerAdapterGL30_glTexGen(8195, 9474, $par1TileEntityEndPortal); nleg_EaglerAdapterGL30_glEnable(3168); nleg_EaglerAdapterGL30_glEnable(3169); nleg_EaglerAdapterGL30_glEnable(3170); nleg_EaglerAdapterGL30_glEnable(3171); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5890; nleg_EaglerAdapterGL30_glPushMatrix(); nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nlea_EaglerAdapterImpl2_$callClinit(); $var21 = Long_toNumber(Long_rem(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(700000))) / 700000.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = 0.0; $par1TileEntityEndPortal.$y = $var21; $par1TileEntityEndPortal.$z = 0.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$19)); $rt_putStderr($rt_ustr(var$20)); } $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = $var15; $par1TileEntityEndPortal.$y = $var15; $par1TileEntityEndPortal.$z = $var15; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$21)); $rt_putStderr($rt_ustr(var$22)); } $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = 0.5; $par1TileEntityEndPortal.$y = 0.5; $par1TileEntityEndPortal.$z = 0.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$23)); $rt_putStderr($rt_ustr(var$24)); } $var21 = (($rt_imul($var13, $var13) * 4321 | 0) + ($var13 * 9 | 0) | 0) * 2.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = 0.0; $par1TileEntityEndPortal.$y = 0.0; $par1TileEntityEndPortal.$z = 1.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var21 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$25)); $rt_putStderr($rt_ustr(var$26)); } $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = (-0.5); $par1TileEntityEndPortal.$y = (-0.5); $par1TileEntityEndPortal.$z = 0.0; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$27)); $rt_putStderr($rt_ustr(var$28)); } $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = $par8; $par1TileEntityEndPortal.$y = var$12; $par1TileEntityEndPortal.$z = $var10; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par1TileEntityEndPortal = new otcic_JSStderrPrintStream; $var23 = new ji_ByteArrayOutputStream; $var23.$buf = $rt_createByteArray(32); jl_Object__init_($par1TileEntityEndPortal); $par1TileEntityEndPortal.$out0 = $var23; $var23 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var23, 16); $par1TileEntityEndPortal.$sb = $var23; $par1TileEntityEndPortal.$buffer0 = $rt_createCharArray(32); $par1TileEntityEndPortal.$autoFlush = 0; $par1TileEntityEndPortal.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1TileEntityEndPortal; } $rt_putStderr($rt_ustr(var$29)); $rt_putStderr($rt_ustr(var$30)); } $var19 = $var17 + nms_ActiveRenderInfo_objectY; $var21 = nms_ActiveRenderInfo_objectX * $var14 / $var19; $var19 = nms_ActiveRenderInfo_objectZ * $var14 / $var19; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_deevis; $par1TileEntityEndPortal.$x = $var21; $par1TileEntityEndPortal.$y = $var19; $par1TileEntityEndPortal.$z = $var10; $par1TileEntityEndPortal = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par1TileEntityEndPortal, $par1TileEntityEndPortal); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var23 = new otcic_JSStderrPrintStream; $par1TileEntityEndPortal = new ji_ByteArrayOutputStream; $par1TileEntityEndPortal.$buf = $rt_createByteArray(32); jl_Object__init_($var23); $var23.$out0 = $par1TileEntityEndPortal; $par1TileEntityEndPortal = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par1TileEntityEndPortal, 16); $var23.$sb = $par1TileEntityEndPortal; $var23.$buffer0 = $rt_createCharArray(32); $var23.$autoFlush = 0; $var23.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var23; } $rt_putStderr($rt_ustr(var$31)); $rt_putStderr($rt_ustr(var$32)); } nlea_Tessellator_$callClinit(); $var23 = nlea_Tessellator_instance; if ($var23.$isDrawing) nlea_Tessellator_draw($var23); $var23.$isDrawing = 1; $var23.$vertexCount = 0; $var23.$rawBufferIndex = 0; $var23.$addedVertices = 0; $var23.$drawMode = 7; $var23.$hasNormals = 0; $var23.$hasColor = 0; $var23.$hasTexture = 0; $var23.$hasBrightness = 0; $var23.$isColorDisabled = 0; $par1TileEntityEndPortal = nms_RenderEndPortal_field_110644_e; var$40 = Long_and(Long_add(Long_mul($par1TileEntityEndPortal.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1TileEntityEndPortal.$seed = var$40; $var19 = Long_lo(Long_shru(var$40, var$13)) / 1.6777216E7 * 0.5 + 0.10000000149011612; var$41 = Long_and(Long_add(Long_mul(var$40, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1TileEntityEndPortal.$seed = var$41; $var21 = Long_lo(Long_shru(var$41, var$13)) / 1.6777216E7 * 0.5 + 0.4000000059604645; var$41 = Long_and(Long_add(Long_mul(var$41, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1TileEntityEndPortal.$seed = var$41; $var22 = Long_lo(Long_shru(var$41, var$13)) / 1.6777216E7 * 0.5 + 0.5; if (!$var13) { $var22 = 1.0; $var21 = 1.0; $var19 = 1.0; } nlea_Tessellator_setColorRGBA($var23, $var19 * $var16 * 255.0 | 0, $var21 * $var16 * 255.0 | 0, $var22 * $var16 * 255.0 | 0, var$14); nlea_Tessellator_addVertex($var23, $par2, $par4, $par6); nlea_Tessellator_addVertex($var23, $par2, $par4, var$15); nlea_Tessellator_addVertex($var23, var$16, $par4, var$15); nlea_Tessellator_addVertex($var23, var$16, $par4, $par6); nlea_Tessellator_draw($var23); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; $var13 = $var13 + 1 | 0; if ($var13 >= 16) { nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glDisable(3168); nleg_EaglerAdapterGL30_glDisable(3169); nleg_EaglerAdapterGL30_glDisable(3170); nleg_EaglerAdapterGL30_glDisable(3171); nleg_EaglerAdapterGL30_glEnable(2896); return; } nleg_EaglerAdapterGL30_glPushMatrix(); $var14 = 16 - $var13 | 0; $var15 = 0.0625; $var16 = 1.0 / ($var14 + 1.0); if (!$var13) { $var23 = nms_RenderEndPortal_enderPortalEndSkyTextures; if ($this.$tileEntityRenderer.$renderEngine0 !== null) { $ptr = 1; continue main; } $var16 = 0.10000000149011612; $var14 = 65.0; $var15 = 0.125; nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); } if ($var13 == 1) break; } $par1TileEntityEndPortal = nms_RenderEndPortal_endPortalTextures; if ($this.$tileEntityRenderer.$renderEngine0 === null) continue; else { continue main; } } $par1TileEntityEndPortal = new jn_BufferOverflowException; $par1TileEntityEndPortal.$suppressionEnabled = 1; $par1TileEntityEndPortal.$writableStackTrace = 1; $rt_throw($par1TileEntityEndPortal); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntityEndPortal, $par2, $par4, $par6, $par8, $var9, $var10, $var11, $var13, $var17, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, var$31, var$32, $var14, $var15, $var16, $var23, $var19, var$38, $var21, var$40, var$41, $var22, $ptr); }, nms_RenderEndPortal_renderTileEntityAt = ($this, $par1TileEntity, $par2, $par4, $par6, $par8) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1TileEntity = $par1TileEntity; $ptr = 1; case 1: nms_RenderEndPortal_renderEndPortalTileEntity($this, $par1TileEntity, $par2, $par4, $par6, $par8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntity, $par2, $par4, $par6, $par8, $ptr); }, nms_RenderEndPortal__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1523); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderEndPortal_enderPortalEndSkyTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3539); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_RenderEndPortal_endPortalTextures = var$1; var$1 = new nle_EaglercraftRandom; var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = Long_fromInt(31100); nms_RenderEndPortal_field_110644_e = var$1; }; function nms_TileEntityBeacon() { let a = this; nms_TileEntity.call(a); a.$field_82137_b = Long_ZERO; a.$field_82138_c = 0.0; a.$isBeaconActive = 0; a.$levels = 0; a.$primaryEffect = 0; a.$secondaryEffect = 0; a.$payment = null; a.$field_94048_i = null; } let nms_TileEntityBeacon_effectsList = null, nms_TileEntityBeacon_$callClinit = () => { nms_TileEntityBeacon_$callClinit = $rt_eraseClinit(nms_TileEntityBeacon); nms_TileEntityBeacon__clinit_(); }, nms_TileEntityBeacon__init_ = $this => { nms_TileEntityBeacon_$callClinit(); nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); $this.$levels = (-1); }, nms_TileEntityBeacon__init_0 = () => { let var_0 = new nms_TileEntityBeacon(); nms_TileEntityBeacon__init_(var_0); return var_0; }, nms_TileEntityBeacon_updateEntity = $this => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (Long_ne(Long_rem($this.$worldObj0.$worldInfo.$totalTime, Long_fromInt(80)), Long_ZERO)) return; nms_TileEntityBeacon_updateState($this); $ptr = 1; case 1: nms_TileEntityBeacon_addEffectsToPlayers($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); }, nms_TileEntityBeacon_addEffectsToPlayers = $this => { let $var6$index, var$2, $var1, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $var6$index_0, $var5, $var7, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var6$index_0 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();var$2 = $thread.pop();$var6$index = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$isBeaconActive) { $var6$index = $this.$levels; if ($var6$index > 0 && !$this.$worldObj0.$isRemote) { var$2 = $this.$primaryEffect; if (var$2 > 0) { $var1 = ($var6$index * 10 | 0) + 10 | 0; $var3 = 0; if ($var6$index >= 4 && var$2 == $this.$secondaryEffect) $var3 = 1; var$5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var6$index = $this.$xCoord0; var$6 = $var6$index; var$2 = $this.$yCoord0; var$7 = var$2; var$8 = $this.$zCoord0; var$9 = var$8; var$10 = $var6$index + 1 | 0; var$11 = var$2 + 1 | 0; var$12 = var$8 + 1 | 0; $var6$index_0 = var$5.$nextPoolIndex; $var5 = var$5.$listAABB; var$2 = $var5.$size0; $var6$index = $rt_compare($var6$index_0, var$2); if ($var6$index >= 0) { $var7 = new nms_AxisAlignedBB; $var7.$minX = var$6; $var7.$minY = var$7; $var7.$minZ = var$9; $var7.$maxX = var$10; $var7.$maxY = var$11; $var7.$maxZ = var$12; ju_ArrayList_ensureCapacity($var5, var$2 + 1 | 0); var$16 = $var5.$array.data; $var6$index = $var5.$size0; $var5.$size0 = $var6$index + 1 | 0; var$16[$var6$index] = $var7; $var5.$modCount = $var5.$modCount + 1 | 0; } else if ($var6$index_0 >= 0 && $var6$index < 0) { $var7 = $var5.$array.data[$var6$index_0]; $var7.$minX = var$6; $var7.$minY = var$7; $var7.$minZ = var$9; $var7.$maxX = var$10; $var7.$maxY = var$11; $var7.$maxZ = var$12; } else { $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } var$5.$nextPoolIndex = var$5.$nextPoolIndex + 1 | 0; var$6 = $var7.$minX - $var1; var$7 = $var7.$minY - $var1; var$9 = $var7.$minZ - $var1; var$10 = $var7.$maxX + $var1; var$11 = $var7.$maxY + $var1; $var1 = $var7.$maxZ + $var1; $var7 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var6$index = $var7.$nextPoolIndex; $var5 = $var7.$listAABB; $var6$index_0 = $var5.$size0; var$2 = $rt_compare($var6$index, $var6$index_0); if (var$2 >= 0) { var$5 = new nms_AxisAlignedBB; var$5.$minX = var$6; var$5.$minY = var$7; var$5.$minZ = var$9; var$5.$maxX = var$10; var$5.$maxY = var$11; var$5.$maxZ = $var1; ju_ArrayList_ensureCapacity($var5, $var6$index_0 + 1 | 0); var$16 = $var5.$array.data; $var6$index_0 = $var5.$size0; $var5.$size0 = $var6$index_0 + 1 | 0; var$16[$var6$index_0] = var$5; $var5.$modCount = $var5.$modCount + 1 | 0; } else if ($var6$index >= 0 && var$2 < 0) { var$5 = $var5.$array.data[$var6$index]; var$5.$minX = var$6; var$5.$minY = var$7; var$5.$minZ = var$9; var$5.$maxX = var$10; var$5.$maxY = var$11; var$5.$maxZ = $var1; } else { $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var5); $rt_throw($var5); } $var7.$nextPoolIndex = $var7.$nextPoolIndex + 1 | 0; var$5.$maxY = 256.0; $var5 = $this.$worldObj0; $var7 = $rt_cls(nms_EntityPlayer); var$17 = null; $ptr = 1; continue main; } } } return; case 1: $tmp = nms_World_selectEntitiesWithinAABB($var5, $var7, var$5, var$17); if ($rt_suspending()) { break main; } $var5 = $tmp; $var6$index_0 = 0; var$2 = $var5.$modCount; var$8 = $var5.$size(); while (true) { if (!($var6$index_0 >= var$8 ? 0 : 1)) { a: { if ($this.$levels >= 4) { $var6$index_0 = $this.$primaryEffect; $var6$index = $this.$secondaryEffect; if ($var6$index_0 != $var6$index && $var6$index > 0) { $var6$index = 0; var$18 = $var5.$modCount; var$19 = $var5.$size(); while (true) { if (!($var6$index >= var$19 ? 0 : 1)) break a; if (var$18 < $var5.$modCount) { $var5 = new ju_ConcurrentModificationException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } var$8 = $var6$index + 1 | 0; $var7 = $var5.$get($var6$index); var$5 = new nms_PotionEffect; var$5.$potionID = $this.$secondaryEffect; var$5.$duration = 180; var$5.$amplifier = 0; var$5.$isAmbient = 1; nms_EntityLivingBase_addPotionEffect($var7, var$5); $var6$index = var$8; } } } } return; } if (var$2 < $var5.$modCount) break; $var6$index = $var6$index_0 + 1 | 0; $var7 = $var5.$get($var6$index_0); var$5 = new nms_PotionEffect; var$5.$potionID = $this.$primaryEffect; var$5.$duration = 180; var$5.$amplifier = $var3; var$5.$isAmbient = 1; nms_EntityLivingBase_addPotionEffect($var7, var$5); $var6$index_0 = $var6$index; } $var5 = new ju_ConcurrentModificationException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var6$index, var$2, $var1, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $var6$index_0, $var5, $var7, var$16, var$17, var$18, var$19, $ptr); }, nms_TileEntityBeacon_updateState = $this => { let var$1, $var2, $var1, $var4, $var1_0, $var3, var$7, var$8, $var5, var$10, $var6; var$1 = $this.$worldObj0; $var2 = $this.$xCoord0; $var1 = $this.$yCoord0 + 1 | 0; $var4 = $this.$zCoord0; $var1_0 = $var2 >> 4; $var3 = $var4 >> 4; var$1 = var$1.$chunkProvider; var$7 = var$1.$chunkMapping; var$8 = Long_or(Long_and(Long_fromInt($var1_0), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), 32)); $var3 = Long_lo(Long_xor(var$8, Long_shru(var$8, 32))); $var3 = $var3 ^ ($var3 >>> 20 | 0) ^ ($var3 >>> 12 | 0); $var5 = $var3 ^ ($var3 >>> 7 | 0) ^ ($var3 >>> 4 | 0); var$10 = var$7.$hashArray.data; var$7 = var$10[$var5 & (var$10.length - 1 | 0)]; a: { while (var$7 !== null) { if (Long_eq(var$7.$key1, var$8)) { var$7 = var$7.$value6; break a; } var$7 = var$7.$nextEntry0; } var$7 = null; } var$7 = var$7; if (var$7 === null) var$7 = var$1.$blankChunk; if (!var$7.$canBlockSeeTheSky($var2 & 15, $var1, $var4 & 15)) { $this.$isBeaconActive = 0; $this.$levels = 0; } else { $this.$isBeaconActive = 1; $this.$levels = 0; $var1 = 1; b: { while (true) { if ($var1 > 4) break b; $var2 = $this.$yCoord0 - $var1 | 0; if ($var2 < 0) break b; $var3 = 1; $var4 = $this.$xCoord0 - $var1 | 0; while ($var4 <= ($this.$xCoord0 + $var1 | 0) && $var3) { $var5 = $this.$zCoord0 - $var1 | 0; c: { while ($var5 <= ($this.$zCoord0 + $var1 | 0)) { $var6 = nms_World_getBlockId($this.$worldObj0, $var4, $var2, $var5); nms_Block_$callClinit(); if ($var6 != nms_Block_blockEmerald.$blockID && $var6 != nms_Block_blockGold.$blockID && $var6 != nms_Block_blockDiamond.$blockID && $var6 != nms_Block_blockIron.$blockID) { $var3 = 0; break c; } $var5 = $var5 + 1 | 0; } } $var4 = $var4 + 1 | 0; } if (!$var3) break; $var1_0 = $var1 + 1 | 0; $this.$levels = $var1; $var1 = $var1_0; } } if (!$this.$levels) $this.$isBeaconActive = 0; } }, nms_TileEntityBeacon_func_82125_v_ = $this => { let var$1, $var1, var$3; if (!$this.$isBeaconActive) return 0.0; var$1 = $this.$worldObj0.$worldInfo.$totalTime; $var1 = Long_lo(Long_sub(var$1, $this.$field_82137_b)); $this.$field_82137_b = var$1; if ($var1 > 1) { var$3 = $this.$field_82138_c - $var1 / 40.0; $this.$field_82138_c = var$3; if (var$3 < 0.0) $this.$field_82138_c = 0.0; } var$3 = $this.$field_82138_c + 0.02500000037252903; $this.$field_82138_c = var$3; if (var$3 > 1.0) $this.$field_82138_c = 1.0; return $this.$field_82138_c; }, nms_TileEntityBeacon_getPrimaryEffect = $this => { return $this.$primaryEffect; }, nms_TileEntityBeacon_getSecondaryEffect = $this => { return $this.$secondaryEffect; }, nms_TileEntityBeacon_setPrimaryEffect = ($this, $par1) => { let $var2, $var3, $var4, $var5; $this.$primaryEffect = 0; $var2 = 0; while ($var2 < $this.$levels && $var2 < 3) { nms_TileEntityBeacon_$callClinit(); $var3 = nms_TileEntityBeacon_effectsList.data[$var2].data; $var4 = $var3.length; $var5 = 0; while ($var5 < $var4) { if ($var3[$var5].$id1 == $par1) { $this.$primaryEffect = $par1; return; } $var5 = $var5 + 1 | 0; } $var2 = $var2 + 1 | 0; } }, nms_TileEntityBeacon_setSecondaryEffect = ($this, $par1) => { let $var2, $var3, $var4, $var5; a: { $this.$secondaryEffect = 0; if ($this.$levels >= 4) { $var2 = 0; while (true) { if ($var2 >= 4) break a; nms_TileEntityBeacon_$callClinit(); $var3 = nms_TileEntityBeacon_effectsList.data[$var2].data; $var4 = $var3.length; $var5 = 0; while ($var5 < $var4) { if ($var3[$var5].$id1 == $par1) { $this.$secondaryEffect = $par1; return; } $var5 = $var5 + 1 | 0; } $var2 = $var2 + 1 | 0; } } } }, nms_TileEntityBeacon_getMaxRenderDistanceSquared = $this => { return 65536.0; }, nms_TileEntityBeacon_readFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; e: { $this.$xCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { f: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) !== null) { g: { if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { h: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; i: { $this.$yCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { j: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { k: { if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { l: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } m: { $this.$zCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3540).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(3540).$nativeString.length) break m; $rt_s(3540).$hashCode1 = (31 * $rt_s(3540).$hashCode1 | 0) + $rt_s(3540).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$3 = $rt_s(3540).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { n: { var$6 = var$2.$key; if ($rt_s(3540) !== var$6) { if ($rt_s(3540) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$7 = $rt_s(3540).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break n; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3540) === null) { var$8 = var$2.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { o: { if (!$rt_s(3540).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3540).$nativeString.length) break o; $rt_s(3540).$hashCode1 = (31 * $rt_s(3540).$hashCode1 | 0) + $rt_s(3540).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(3540).$hashCode1; var$5 = var$2.$elementData.data; var$8 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$7) { p: { var$2 = var$8.$key; if ($rt_s(3540) !== var$2) { if ($rt_s(3540) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(3540).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break p; } } var$3 = 1; } if (var$3) break; } var$8 = var$8.$next3; } } var$3 = (var$8 === null ? null : var$8.$value1).$data0; } q: { $this.$primaryEffect = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3541).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3541).$nativeString.length) break q; $rt_s(3541).$hashCode1 = (31 * $rt_s(3541).$hashCode1 | 0) + $rt_s(3541).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3541).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { r: { var$6 = var$2.$key; if ($rt_s(3541) !== var$6) { if ($rt_s(3541) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3541).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break r; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3541) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { s: { if (!$rt_s(3541).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3541).$nativeString.length) break s; $rt_s(3541).$hashCode1 = (31 * $rt_s(3541).$hashCode1 | 0) + $rt_s(3541).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3541).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { t: { var$6 = var$2.$key; if ($rt_s(3541) !== var$6) { if ($rt_s(3541) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3541).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break t; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } u: { $this.$secondaryEffect = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3542).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3542).$nativeString.length) break u; $rt_s(3542).$hashCode1 = (31 * $rt_s(3542).$hashCode1 | 0) + $rt_s(3542).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3542).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { v: { var$6 = var$2.$key; if ($rt_s(3542) !== var$6) { if ($rt_s(3542) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3542).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break v; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(3542) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { w: { if (!$rt_s(3542).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3542).$nativeString.length) break w; $rt_s(3542).$hashCode1 = (31 * $rt_s(3542).$hashCode1 | 0) + $rt_s(3542).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3542).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$4) { x: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(3542) !== var$2) { if ($rt_s(3542) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(3542).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break x; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data0; } $this.$levels = var$3; }, nms_TileEntityBeacon_writeToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); var$2 = $this.$primaryEffect; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(3540); var$4.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(3540), var$4); var$2 = $this.$secondaryEffect; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagInt; var$4.$name = $rt_s(3541); var$4.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(3541), var$4); var$2 = $this.$levels; var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagInt; $par1NBTTagCompound.$name = $rt_s(3542); $par1NBTTagCompound.$data0 = var$2; ju_HashMap_putImpl(var$4, $rt_s(3542), $par1NBTTagCompound); }, nms_TileEntityBeacon_getSizeInventory = $this => { return 1; }, nms_TileEntityBeacon_getStackInSlot = ($this, $par1) => { return $par1 ? null : $this.$payment; }, nms_TileEntityBeacon_decrStackSize = ($this, $par1, $par2) => { let $var3, var$4, var$5; if (!$par1) { $var3 = $this.$payment; if ($var3 !== null) { $par1 = $var3.$stackSize; if ($par2 >= $par1) { $this.$payment = null; return $var3; } $var3.$stackSize = $par1 - $par2 | 0; var$4 = new nms_ItemStack; $par1 = $var3.$itemID; var$5 = $var3.$itemDamage; nms_ItemStack_$callClinit(); var$4.$itemID = $par1; var$4.$stackSize = $par2; var$4.$itemDamage = var$5; if (var$5 < 0) var$4.$itemDamage = 0; return var$4; } } return null; }, nms_TileEntityBeacon_setInventorySlotContents = ($this, $par1, $par2ItemStack) => { if (!$par1) $this.$payment = $par2ItemStack; }, nms_TileEntityBeacon_getInventoryStackLimit = $this => { return 1; }, nms_TileEntityBeacon_isUseableByPlayer = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$worldObj0; var$3 = $this.$xCoord0; var$4 = $this.$yCoord0; var$5 = $this.$zCoord0; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2 !== $this) var$3 = 0; else { var$6 = $this.$xCoord0 + 0.5; var$7 = $this.$yCoord0 + 0.5; var$8 = $this.$zCoord0 + 0.5; var$6 = $par1EntityPlayer.$posX - var$6; var$7 = $par1EntityPlayer.$posY - var$7; var$8 = $par1EntityPlayer.$posZ - var$8; var$3 = var$6 * var$6 + var$7 * var$7 + var$8 * var$8 > 64.0 ? 0 : 1; } return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_TileEntityBeacon_isItemValidForSlot = ($this, $par1, $par2ItemStack) => { $par1 = $par2ItemStack.$itemID; nms_Item_$callClinit(); return $par1 != nms_Item_emerald.$itemID0 && $par1 != nms_Item_diamond.$itemID0 && $par1 != nms_Item_ingotGold.$itemID0 && $par1 != nms_Item_ingotIron.$itemID0 ? 0 : 1; }, nms_TileEntityBeacon__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = $rt_createArray($rt_arraycls(nms_Potion), 4); var$2 = var$1.data; var$3 = $rt_createArray(nms_Potion, 2); var$4 = var$3.data; nms_Potion_$callClinit(); var$4[0] = nms_Potion_moveSpeed; var$4[1] = nms_Potion_digSpeed; var$2[0] = var$3; var$3 = $rt_createArray(nms_Potion, 2); var$4 = var$3.data; var$4[0] = nms_Potion_resistance; var$4[1] = nms_Potion_jump; var$2[1] = var$3; var$3 = $rt_createArray(nms_Potion, 1); var$3.data[0] = nms_Potion_damageBoost; var$2[2] = var$3; var$4 = $rt_createArray(nms_Potion, 1); var$4.data[0] = nms_Potion_regeneration; var$2[3] = var$4; nms_TileEntityBeacon_effectsList = var$1; }, nms_TileEntityBeaconRenderer = $rt_classWithoutFields(nms_TileEntitySpecialRenderer), nms_TileEntityBeaconRenderer_field_110629_a = null, nms_TileEntityBeaconRenderer_$callClinit = () => { nms_TileEntityBeaconRenderer_$callClinit = $rt_eraseClinit(nms_TileEntityBeaconRenderer); nms_TileEntityBeaconRenderer__clinit_(); }, nms_TileEntityBeaconRenderer__init_ = $this => { nms_TileEntityBeaconRenderer_$callClinit(); }, nms_TileEntityBeaconRenderer__init_0 = () => { let var_0 = new nms_TileEntityBeaconRenderer(); nms_TileEntityBeaconRenderer__init_(var_0); return var_0; }, nms_TileEntityBeaconRenderer_renderTileEntityBeaconAt = ($this, $par1TileEntityBeacon, $par2, $par4, $par6, $par8) => { let $var9, $var10, var$8, $var11, $var12, var$11, $var14, $var20, $var18, $var24, $var22, $var32, $var26, $var28, $var30, $var34, $var40, $var42, $var16, $var37, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var37 = $thread.pop();$var16 = $thread.pop();$var42 = $thread.pop();$var40 = $thread.pop();$var34 = $thread.pop();$var30 = $thread.pop();$var28 = $thread.pop();$var26 = $thread.pop();$var32 = $thread.pop();$var22 = $thread.pop();$var24 = $thread.pop();$var18 = $thread.pop();$var20 = $thread.pop();$var14 = $thread.pop();var$11 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();var$8 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntityBeacon = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var9 = nms_TileEntityBeacon_func_82125_v_($par1TileEntityBeacon); if ($var9 > 0.0) { nlea_Tessellator_$callClinit(); $var10 = nlea_Tessellator_instance; nms_TileEntityBeaconRenderer_$callClinit(); var$8 = nms_TileEntityBeaconRenderer_field_110629_a; if ($this.$tileEntityRenderer.$renderEngine0 !== null) { $ptr = 1; continue main; } nleg_EaglerAdapterGL30_glTexParameterf(3553, 10242, 10497.0); nleg_EaglerAdapterGL30_glTexParameterf(3553, 10243, 10497.0); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2884); nleg_EaglerAdapterGL30_glDisable(3042); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glBlendFunc(770, 1); $var11 = Long_toNumber($par1TileEntityBeacon.$worldObj0.$worldInfo.$totalTime) + $par8; $par8 = -$var11; $var12 = $par8 * 0.20000000298023224; $par8 = $par8 * 0.10000000149011612; var$11 = $par8 | 0; if ($par8 < var$11) var$11 = var$11 - 1 | 0; $var12 = $var12 - var$11; $var14 = $var11 * 0.025 * (-1.5); if ($var10.$isDrawing) nlea_Tessellator_draw($var10); $var10.$isDrawing = 1; $var10.$vertexCount = 0; $var10.$rawBufferIndex = 0; $var10.$addedVertices = 0; $var10.$drawMode = 7; $var10.$hasNormals = 0; $var10.$hasColor = 0; $var10.$hasTexture = 0; $var10.$hasBrightness = 0; $var10.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var10, 255, 255, 255, 32); $var20 = $var14 + 2.356194490192345; $var18 = 0.5 + jl_Math_cos($var20) * 0.2; $var20 = 0.5 + jl_Math_sin($var20) * 0.2; $var24 = $var14 + 0.7853981633974483; $var22 = 0.5 + jl_Math_cos($var24) * 0.2; $var24 = 0.5 + jl_Math_sin($var24) * 0.2; $var32 = $var14 + 3.9269908169872414; $var26 = 0.5 + jl_Math_cos($var32) * 0.2; $var28 = 0.5 + jl_Math_sin($var32) * 0.2; $var14 = $var14 + 5.497787143782138; $var30 = 0.5 + jl_Math_cos($var14) * 0.2; $var32 = 0.5 + jl_Math_sin($var14) * 0.2; $var34 = 256.0 * $var9; $var40 = (-1.0) + $var12; $var42 = $var34 * 2.5 + $var40; $var14 = $par2 + $var18; $var16 = $par4 + $var34; $var18 = $par6 + $var20; $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var11 = $var42; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var14, $var16, $var18); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var12 = $var40; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var14, $par4, $var18); $var20 = $par2 + $var22; $var22 = $par6 + $var24; $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var20, $par4, $var22); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var20, $var16, $var22); $var24 = $par2 + $var30; $var32 = $par6 + $var32; $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var24, $var16, $var32); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var24, $par4, $var32); $var26 = $par2 + $var26; $var42 = $par6 + $var28; $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var26, $par4, $var42); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var26, $var16, $var42); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var20, $var16, $var22); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var20, $par4, $var22); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var24, $par4, $var32); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var24, $var16, $var32); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var26, $var16, $var42); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var26, $par4, $var42); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var14, $par4, $var18); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var14, $var16, $var18); nlea_Tessellator_draw($var10); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } if ($var10.$isDrawing) nlea_Tessellator_draw($var10); $var10.$isDrawing = 1; $var10.$vertexCount = 0; $var10.$rawBufferIndex = 0; $var10.$addedVertices = 0; $var10.$drawMode = 7; $var10.$hasNormals = 0; $var10.$hasColor = 0; $var10.$hasTexture = 0; $var10.$hasBrightness = 0; $var10.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var10, 255, 255, 255, 32); $var37 = $var34 + $var40; $var14 = $par2 + 0.2; $var18 = $par6 + 0.2; $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var11 = $var37; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var14, $var16, $var18); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var14, $par4, $var18); $par2 = $par2 + 0.8; $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $par2, $par4, $var18); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $par2, $var16, $var18); $par6 = $par6 + 0.8; $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $par2, $var16, $par6); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $par2, $par4, $par6); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var14, $par4, $par6); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var14, $var16, $par6); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $par2, $var16, $var18); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $par2, $par4, $var18); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $par2, $par4, $par6); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $par2, $var16, $par6); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var14, $var16, $par6); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var14, $par4, $par6); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var14, $par4, $var18); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var14, $var16, $var18); nlea_Tessellator_draw($var10); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(3553); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } } return; case 1: nle_TextureLocation_bindTexture(var$8); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glTexParameterf(3553, 10242, 10497.0); nleg_EaglerAdapterGL30_glTexParameterf(3553, 10243, 10497.0); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2884); nleg_EaglerAdapterGL30_glDisable(3042); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } nleg_EaglerAdapterGL30_glBlendFunc(770, 1); $var11 = Long_toNumber($par1TileEntityBeacon.$worldObj0.$worldInfo.$totalTime) + $par8; $par8 = -$var11; $var12 = $par8 * 0.20000000298023224; $par8 = $par8 * 0.10000000149011612; var$11 = $par8 | 0; if ($par8 < var$11) var$11 = var$11 - 1 | 0; $var12 = $var12 - var$11; $var14 = $var11 * 0.025 * (-1.5); if ($var10.$isDrawing) nlea_Tessellator_draw($var10); $var10.$isDrawing = 1; $var10.$vertexCount = 0; $var10.$rawBufferIndex = 0; $var10.$addedVertices = 0; $var10.$drawMode = 7; $var10.$hasNormals = 0; $var10.$hasColor = 0; $var10.$hasTexture = 0; $var10.$hasBrightness = 0; $var10.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var10, 255, 255, 255, 32); $var20 = $var14 + 2.356194490192345; $var18 = 0.5 + jl_Math_cos($var20) * 0.2; $var20 = 0.5 + jl_Math_sin($var20) * 0.2; $var24 = $var14 + 0.7853981633974483; $var22 = 0.5 + jl_Math_cos($var24) * 0.2; $var24 = 0.5 + jl_Math_sin($var24) * 0.2; $var32 = $var14 + 3.9269908169872414; $var26 = 0.5 + jl_Math_cos($var32) * 0.2; $var28 = 0.5 + jl_Math_sin($var32) * 0.2; $var14 = $var14 + 5.497787143782138; $var30 = 0.5 + jl_Math_cos($var14) * 0.2; $var32 = 0.5 + jl_Math_sin($var14) * 0.2; $var34 = 256.0 * $var9; $var40 = (-1.0) + $var12; $var42 = $var34 * 2.5 + $var40; $var14 = $par2 + $var18; $var16 = $par4 + $var34; $var18 = $par6 + $var20; $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var11 = $var42; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var14, $var16, $var18); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var12 = $var40; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var14, $par4, $var18); $var20 = $par2 + $var22; $var22 = $par6 + $var24; $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var20, $par4, $var22); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var20, $var16, $var22); $var24 = $par2 + $var30; $var32 = $par6 + $var32; $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var24, $var16, $var32); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var24, $par4, $var32); $var26 = $par2 + $var26; $var42 = $par6 + $var28; $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var26, $par4, $var42); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var26, $var16, $var42); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var20, $var16, $var22); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var20, $par4, $var22); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var24, $par4, $var32); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var24, $var16, $var32); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var26, $var16, $var42); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var26, $par4, $var42); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var14, $par4, $var18); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var14, $var16, $var18); nlea_Tessellator_draw($var10); nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); if (nleg_EaglerAdapterGL30_isDepthMask) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!0); nleg_EaglerAdapterGL30_isDepthMask = 0; } if ($var10.$isDrawing) nlea_Tessellator_draw($var10); $var10.$isDrawing = 1; $var10.$vertexCount = 0; $var10.$rawBufferIndex = 0; $var10.$addedVertices = 0; $var10.$drawMode = 7; $var10.$hasNormals = 0; $var10.$hasColor = 0; $var10.$hasTexture = 0; $var10.$hasBrightness = 0; $var10.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var10, 255, 255, 255, 32); $var37 = $var34 + $var40; $var14 = $par2 + 0.2; $var18 = $par6 + 0.2; $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var11 = $var37; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var14, $var16, $var18); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var14, $par4, $var18); $par2 = $par2 + 0.8; $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $par2, $par4, $var18); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $par2, $var16, $var18); $par6 = $par6 + 0.8; $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $par2, $var16, $par6); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $par2, $par4, $par6); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var14, $par4, $par6); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var14, $var16, $par6); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $par2, $var16, $var18); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $par2, $par4, $var18); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $par2, $par4, $par6); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $par2, $var16, $par6); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var14, $var16, $par6); $var10.$hasTexture = 1; $var10.$textureU = 1.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var14, $par4, $par6); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var12; nlea_Tessellator_addVertex($var10, $var14, $par4, $var18); $var10.$hasTexture = 1; $var10.$textureU = 0.0; $var10.$textureV = $var11; nlea_Tessellator_addVertex($var10, $var14, $var16, $var18); nlea_Tessellator_draw($var10); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(3553); if (nleg_EaglerAdapterGL30_isDepthMask != 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.depthMask(!!1); nleg_EaglerAdapterGL30_isDepthMask = 1; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntityBeacon, $par2, $par4, $par6, $par8, $var9, $var10, var$8, $var11, $var12, var$11, $var14, $var20, $var18, $var24, $var22, $var32, $var26, $var28, $var30, $var34, $var40, $var42, $var16, $var37, $ptr); }, nms_TileEntityBeaconRenderer_renderTileEntityAt = ($this, $par1TileEntity, $par2, $par4, $par6, $par8) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1TileEntity = $par1TileEntity; $ptr = 1; case 1: nms_TileEntityBeaconRenderer_renderTileEntityBeaconAt($this, $par1TileEntity, $par2, $par4, $par6, $par8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntity, $par2, $par4, $par6, $par8, $ptr); }, nms_TileEntityBeaconRenderer__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3543); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntityBeaconRenderer_field_110629_a = var$1; }; function nms_TileEntitySkullRenderer() { let a = this; nms_TileEntitySpecialRenderer.call(a); a.$field_82396_c = null; a.$field_82395_d = null; } let nms_TileEntitySkullRenderer_field_110642_c = null, nms_TileEntitySkullRenderer_field_110640_d = null, nms_TileEntitySkullRenderer_field_110641_e = null, nms_TileEntitySkullRenderer_field_110639_f = null, nms_TileEntitySkullRenderer_tex_character = null, nms_TileEntitySkullRenderer_skullRenderer = null, nms_TileEntitySkullRenderer_$callClinit = () => { nms_TileEntitySkullRenderer_$callClinit = $rt_eraseClinit(nms_TileEntitySkullRenderer); nms_TileEntitySkullRenderer__clinit_(); }, nms_TileEntitySkullRenderer__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; nms_TileEntitySkullRenderer_$callClinit(); var$1 = new nms_ModelSkeletonHead; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$boxList = var$2; var$1.$isChild0 = 1; var$2 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$4.data; var$2.$elementData = var$4; var$2.$loadFactor = 0.75; var$2.$threshold = var$5.length * 0.75 | 0; var$1.$modelTextureMap = var$2; var$1.$textureWidth0 = 64; var$1.$textureHeight0 = 32; var$1.$textureWidth0 = 64; var$1.$textureHeight0 = 32; var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; jl_Object__init_(var$7); var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = var$1; var$7 = var$1.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$3 = var$1.$textureWidth0; var$8 = var$1.$textureHeight0; var$2.$textureWidth = var$3; var$2.$textureHeight = var$8; var$2.$textureOffsetX = 0; var$2.$textureOffsetY = 0; var$1.$skeletonHead = var$2; var$7 = var$2.$cubeList; var$6 = nms_ModelBox__init_(var$2, 0, 0, (-4.0), (-8.0), (-4.0), 8, 8, 8, 0.0); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$9 = var$7.$size0; var$7.$size0 = var$9 + 1 | 0; var$5[var$9] = var$6; var$7.$modCount = var$7.$modCount + 1 | 0; var$2 = var$1.$skeletonHead; var$2.$rotationPointX = 0.0; var$2.$rotationPointY = 0.0; var$2.$rotationPointZ = 0.0; $this.$field_82396_c = var$1; var$1 = new nms_ModelSkeletonHead; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$1.$boxList = var$2; var$1.$isChild0 = 1; var$2 = new ju_HashMap; var$10 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$10); var$5 = var$4.data; var$2.$elementData = var$4; var$2.$loadFactor = 0.75; var$2.$threshold = var$5.length * 0.75 | 0; var$1.$modelTextureMap = var$2; var$1.$textureWidth0 = 64; var$1.$textureHeight0 = 32; var$1.$textureWidth0 = 64; var$1.$textureHeight0 = 64; var$2 = new nms_ModelRenderer; var$6 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$7 = new ju_ArrayList; jl_Object__init_(var$7); var$7.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$7; var$2.$baseModel = var$1; var$7 = var$1.$boxList; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$5[var$8] = var$2; var$7.$modCount = var$7.$modCount + 1 | 0; var$2.$boxName = var$6; var$3 = var$1.$textureWidth0; var$8 = var$1.$textureHeight0; var$2.$textureWidth = var$3; var$2.$textureHeight = var$8; var$2.$textureOffsetX = 0; var$2.$textureOffsetY = 0; var$1.$skeletonHead = var$2; var$7 = var$2.$cubeList; var$6 = nms_ModelBox__init_(var$2, 0, 0, (-4.0), (-8.0), (-4.0), 8, 8, 8, 0.0); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$5 = var$7.$array.data; var$9 = var$7.$size0; var$7.$size0 = var$9 + 1 | 0; var$5[var$9] = var$6; var$7.$modCount = var$7.$modCount + 1 | 0; var$2 = var$1.$skeletonHead; var$2.$rotationPointX = 0.0; var$2.$rotationPointY = 0.0; var$2.$rotationPointZ = 0.0; $this.$field_82395_d = var$1; }, nms_TileEntitySkullRenderer__init_0 = () => { let var_0 = new nms_TileEntitySkullRenderer(); nms_TileEntitySkullRenderer__init_(var_0); return var_0; }, nms_TileEntitySkullRenderer_setTileEntityRenderer = ($this, $par1TileEntityRenderer) => { $this.$tileEntityRenderer = $par1TileEntityRenderer; nms_TileEntitySkullRenderer_$callClinit(); nms_TileEntitySkullRenderer_skullRenderer = $this; }, nms_TileEntitySkullRenderer_func_82393_a = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Str) => { let $var8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$par7Str = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { b: { $var8 = $this.$field_82396_c; switch ($par6) { case 0: break b; case 1: nms_TileEntitySkullRenderer_$callClinit(); var$9 = nms_TileEntitySkullRenderer_field_110640_d; if ($this.$tileEntityRenderer.$renderEngine0 === null) break a; $ptr = 3; continue main; case 2: nms_TileEntitySkullRenderer_$callClinit(); $par7Str = nms_TileEntitySkullRenderer_field_110641_e; if ($this.$tileEntityRenderer.$renderEngine0 !== null) { $ptr = 4; continue main; } $var8 = $this.$field_82395_d; break a; case 3: break; case 4: nms_TileEntitySkullRenderer_$callClinit(); var$9 = nms_TileEntitySkullRenderer_field_110639_f; if ($this.$tileEntityRenderer.$renderEngine0 === null) break a; $ptr = 5; continue main; default: break b; } nms_TileEntitySkullRenderer_$callClinit(); $par7Str = nms_TileEntitySkullRenderer_tex_character; $ptr = 1; continue main; } nms_TileEntitySkullRenderer_$callClinit(); $par7Str = nms_TileEntitySkullRenderer_field_110642_c; if ($this.$tileEntityRenderer.$renderEngine0 !== null) { $ptr = 2; continue main; } } c: { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glDisable(2884); if ($par4 == 1) { $par1 = $par1 + 0.5; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { d: { switch ($par4) { case 2: break; case 3: $par1 = $par1 + 0.5; $par2 = $par2 + 0.25; $par3 = $par3 + 0.25999999046325684; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 180.0; break c; case 4: $par1 = $par1 + 0.7400000095367432; $par2 = $par2 + 0.25; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 270.0; break c; case 5: break d; default: break d; } $par1 = $par1 + 0.5; $par2 = $par2 + 0.25; $par3 = $par3 + 0.7400000095367432; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $par7Str = new ji_ByteArrayOutputStream; $par7Str.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $par7Str; $par7Str = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par7Str, 16); var$9.$sb = $par7Str; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break c; } $par1 = $par1 + 0.25999999046325684; $par2 = $par2 + 0.25; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 90.0; } } nleg_EaglerAdapterGL30_glEnable(32826); $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = (-1.0); $par7Str.$y = (-1.0); $par7Str.$z = 1.0; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(3008); $par7Str = $var8.$skeletonHead; $par7Str.$rotateAngleY = $par5 / 57.2957763671875; $par7Str.$rotateAngleX = 0.0; nms_ModelRenderer_render($par7Str, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); return; case 1: nle_TextureLocation_bindTexture($par7Str); if ($rt_suspending()) { break main; } e: { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glDisable(2884); if ($par4 == 1) { $par1 = $par1 + 0.5; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { f: { switch ($par4) { case 2: break; case 3: $par1 = $par1 + 0.5; $par2 = $par2 + 0.25; $par3 = $par3 + 0.25999999046325684; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 180.0; break e; case 4: $par1 = $par1 + 0.7400000095367432; $par2 = $par2 + 0.25; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 270.0; break e; case 5: break f; default: break f; } $par1 = $par1 + 0.5; $par2 = $par2 + 0.25; $par3 = $par3 + 0.7400000095367432; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $par7Str = new ji_ByteArrayOutputStream; $par7Str.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $par7Str; $par7Str = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par7Str, 16); var$9.$sb = $par7Str; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break e; } $par1 = $par1 + 0.25999999046325684; $par2 = $par2 + 0.25; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 90.0; } } nleg_EaglerAdapterGL30_glEnable(32826); $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = (-1.0); $par7Str.$y = (-1.0); $par7Str.$z = 1.0; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(3008); $par7Str = $var8.$skeletonHead; $par7Str.$rotateAngleY = $par5 / 57.2957763671875; $par7Str.$rotateAngleX = 0.0; nms_ModelRenderer_render($par7Str, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); return; case 2: nle_TextureLocation_bindTexture($par7Str); if ($rt_suspending()) { break main; } e: { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glDisable(2884); if ($par4 == 1) { $par1 = $par1 + 0.5; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { f: { switch ($par4) { case 2: break; case 3: $par1 = $par1 + 0.5; $par2 = $par2 + 0.25; $par3 = $par3 + 0.25999999046325684; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 180.0; break e; case 4: $par1 = $par1 + 0.7400000095367432; $par2 = $par2 + 0.25; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 270.0; break e; case 5: break f; default: break f; } $par1 = $par1 + 0.5; $par2 = $par2 + 0.25; $par3 = $par3 + 0.7400000095367432; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $par7Str = new ji_ByteArrayOutputStream; $par7Str.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $par7Str; $par7Str = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par7Str, 16); var$9.$sb = $par7Str; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break e; } $par1 = $par1 + 0.25999999046325684; $par2 = $par2 + 0.25; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 90.0; } } nleg_EaglerAdapterGL30_glEnable(32826); $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = (-1.0); $par7Str.$y = (-1.0); $par7Str.$z = 1.0; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(3008); $par7Str = $var8.$skeletonHead; $par7Str.$rotateAngleY = $par5 / 57.2957763671875; $par7Str.$rotateAngleX = 0.0; nms_ModelRenderer_render($par7Str, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); return; case 3: nle_TextureLocation_bindTexture(var$9); if ($rt_suspending()) { break main; } e: { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glDisable(2884); if ($par4 == 1) { $par1 = $par1 + 0.5; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { f: { switch ($par4) { case 2: break; case 3: $par1 = $par1 + 0.5; $par2 = $par2 + 0.25; $par3 = $par3 + 0.25999999046325684; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 180.0; break e; case 4: $par1 = $par1 + 0.7400000095367432; $par2 = $par2 + 0.25; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 270.0; break e; case 5: break f; default: break f; } $par1 = $par1 + 0.5; $par2 = $par2 + 0.25; $par3 = $par3 + 0.7400000095367432; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $par7Str = new ji_ByteArrayOutputStream; $par7Str.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $par7Str; $par7Str = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par7Str, 16); var$9.$sb = $par7Str; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break e; } $par1 = $par1 + 0.25999999046325684; $par2 = $par2 + 0.25; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 90.0; } } nleg_EaglerAdapterGL30_glEnable(32826); $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = (-1.0); $par7Str.$y = (-1.0); $par7Str.$z = 1.0; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(3008); $par7Str = $var8.$skeletonHead; $par7Str.$rotateAngleY = $par5 / 57.2957763671875; $par7Str.$rotateAngleX = 0.0; nms_ModelRenderer_render($par7Str, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); return; case 4: nle_TextureLocation_bindTexture($par7Str); if ($rt_suspending()) { break main; } $var8 = $this.$field_82395_d; e: { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glDisable(2884); if ($par4 == 1) { $par1 = $par1 + 0.5; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { f: { switch ($par4) { case 2: break; case 3: $par1 = $par1 + 0.5; $par2 = $par2 + 0.25; $par3 = $par3 + 0.25999999046325684; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 180.0; break e; case 4: $par1 = $par1 + 0.7400000095367432; $par2 = $par2 + 0.25; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 270.0; break e; case 5: break f; default: break f; } $par1 = $par1 + 0.5; $par2 = $par2 + 0.25; $par3 = $par3 + 0.7400000095367432; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $par7Str = new ji_ByteArrayOutputStream; $par7Str.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $par7Str; $par7Str = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par7Str, 16); var$9.$sb = $par7Str; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break e; } $par1 = $par1 + 0.25999999046325684; $par2 = $par2 + 0.25; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 90.0; } } nleg_EaglerAdapterGL30_glEnable(32826); $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = (-1.0); $par7Str.$y = (-1.0); $par7Str.$z = 1.0; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(3008); $par7Str = $var8.$skeletonHead; $par7Str.$rotateAngleY = $par5 / 57.2957763671875; $par7Str.$rotateAngleX = 0.0; nms_ModelRenderer_render($par7Str, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); return; case 5: nle_TextureLocation_bindTexture(var$9); if ($rt_suspending()) { break main; } e: { nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_glDisable(2884); if ($par4 == 1) { $par1 = $par1 + 0.5; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { f: { switch ($par4) { case 2: break; case 3: $par1 = $par1 + 0.5; $par2 = $par2 + 0.25; $par3 = $par3 + 0.25999999046325684; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 180.0; break e; case 4: $par1 = $par1 + 0.7400000095367432; $par2 = $par2 + 0.25; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 270.0; break e; case 5: break f; default: break f; } $par1 = $par1 + 0.5; $par2 = $par2 + 0.25; $par3 = $par3 + 0.7400000095367432; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$9 = new otcic_JSStderrPrintStream; $par7Str = new ji_ByteArrayOutputStream; $par7Str.$buf = $rt_createByteArray(32); jl_Object__init_(var$9); var$9.$out0 = $par7Str; $par7Str = new jl_StringBuilder; jl_AbstractStringBuilder__init_($par7Str, 16); var$9.$sb = $par7Str; var$9.$buffer0 = $rt_createCharArray(32); var$9.$autoFlush = 0; var$9.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$9; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } break e; } $par1 = $par1 + 0.25999999046325684; $par2 = $par2 + 0.25; $par3 = $par3 + 0.5; $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = $par1; $par7Str.$y = $par2; $par7Str.$z = $par3; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $par5 = 90.0; } } nleg_EaglerAdapterGL30_glEnable(32826); $par7Str = nleg_EaglerAdapterGL30_deevis; $par7Str.$x = (-1.0); $par7Str.$y = (-1.0); $par7Str.$z = 1.0; $par7Str = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $par7Str, $par7Str); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $par7Str = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; var$9.$buf = $rt_createByteArray(32); jl_Object__init_($par7Str); $par7Str.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$9, 16); $par7Str.$sb = var$9; $par7Str.$buffer0 = $rt_createCharArray(32); $par7Str.$autoFlush = 0; $par7Str.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par7Str; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(3008); $par7Str = $var8.$skeletonHead; $par7Str.$rotateAngleY = $par5 / 57.2957763671875; $par7Str.$rotateAngleX = 0.0; nms_ModelRenderer_render($par7Str, 0.0625); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Str, $var8, var$9, $ptr); }, nms_TileEntitySkullRenderer_renderTileEntityAt = ($this, $par1TileEntity, $par2, $par4, $par6, $par8) => { let var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1TileEntity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1TileEntity = $par1TileEntity; $par8 = $par2; var$6 = $par4; var$7 = $par6; if ($par1TileEntity.$blockMetadata == (-1)) $par1TileEntity.$blockMetadata = nms_World_getBlockMetadata($par1TileEntity.$worldObj0, $par1TileEntity.$xCoord0, $par1TileEntity.$yCoord0, $par1TileEntity.$zCoord0); var$8 = $par1TileEntity.$blockMetadata & 7; var$9 = ($par1TileEntity.$skullRotation * 360 | 0) / 16.0; var$10 = $par1TileEntity.$skullType; $par1TileEntity = $par1TileEntity.$extraType; $ptr = 1; case 1: nms_TileEntitySkullRenderer_func_82393_a($this, $par8, var$6, var$7, var$8, var$9, var$10, $par1TileEntity); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TileEntity, $par2, $par4, $par6, $par8, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_TileEntitySkullRenderer__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1962); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntitySkullRenderer_field_110642_c = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1963); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntitySkullRenderer_field_110640_d = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1988); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntitySkullRenderer_field_110641_e = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1935); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntitySkullRenderer_field_110639_f = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2000); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_TileEntitySkullRenderer_tex_character = var$1; }, jt_DecimalFormat$1 = $rt_classWithoutFields(), jt_DecimalFormat$1_$SwitchMap$java$math$RoundingMode = null, jt_DecimalFormat$1_$callClinit = () => { jt_DecimalFormat$1_$callClinit = $rt_eraseClinit(jt_DecimalFormat$1); jt_DecimalFormat$1__clinit_(); }, jt_DecimalFormat$1__clinit_ = () => { let var$1, var$2; var$1 = $rt_createIntArray((jm_RoundingMode_$VALUES.$clone0()).data.length); var$2 = var$1.data; jt_DecimalFormat$1_$SwitchMap$java$math$RoundingMode = var$1; var$2[jm_RoundingMode_CEILING.$ordinal] = 1; var$2[jm_RoundingMode_FLOOR.$ordinal] = 2; var$2[jm_RoundingMode_UP.$ordinal] = 3; var$2[jm_RoundingMode_DOWN.$ordinal] = 4; var$2[jm_RoundingMode_UNNECESSARY.$ordinal] = 5; var$2[jm_RoundingMode_HALF_DOWN.$ordinal] = 6; var$2[jm_RoundingMode_HALF_UP.$ordinal] = 7; var$2[jm_RoundingMode_HALF_EVEN.$ordinal] = 8; }; function nms_ModelSign() { let a = this; nms_ModelBase.call(a); a.$signBoard = null; a.$signStick = null; } let nms_ModelSign__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; $this.$signBoard = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 0, (-12.0), (-14.0), (-1.0), 24, 12, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$2 = $this.$textureWidth0; var$9 = $this.$textureHeight0; var$1.$textureWidth = var$2; var$1.$textureHeight = var$9; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 14; $this.$signStick = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 14, (-1.0), (-2.0), (-1.0), 2, 14, 2, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; }, nms_ModelSign__init_0 = () => { let var_0 = new nms_ModelSign(); nms_ModelSign__init_(var_0); return var_0; }; function nms_ModelChest() { let a = this; nms_ModelBase.call(a); a.$chestLid = null; a.$chestBelow = null; a.$chestKnob = null; } let nms_ModelChest__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$1.$textureWidth = 64.0; var$1.$textureHeight = 64.0; $this.$chestLid = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 0, 0.0, (-5.0), (-14.0), 14, 5, 14, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$chestLid; var$1.$rotationPointX = 1.0; var$1.$rotationPointY = 7.0; var$1.$rotationPointZ = 15.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$4[var$8] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$9 = $this.$textureWidth0; var$8 = $this.$textureHeight0; var$1.$textureWidth = var$9; var$1.$textureHeight = var$8; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$1.$textureWidth = 64.0; var$1.$textureHeight = 64.0; $this.$chestKnob = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 0, (-1.0), (-2.0), (-15.0), 2, 4, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$chestKnob; var$1.$rotationPointX = 8.0; var$1.$rotationPointY = 7.0; var$1.$rotationPointZ = 15.0; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 19; var$1.$textureWidth = 64.0; var$1.$textureHeight = 64.0; $this.$chestBelow = var$1; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 19, 0.0, 0.0, 0.0, 14, 10, 14, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$9 = var$6.$size0; var$6.$size0 = var$9 + 1 | 0; var$4[var$9] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; var$1 = $this.$chestBelow; var$1.$rotationPointX = 1.0; var$1.$rotationPointY = 6.0; var$1.$rotationPointZ = 1.0; }, nms_ModelChest__init_0 = () => { let var_0 = new nms_ModelChest(); nms_ModelChest__init_(var_0); return var_0; }, nms_ModelChest_renderAll = $this => { let var$1, var$2; var$1 = $this.$chestKnob; var$2 = $this.$chestLid; var$1.$rotateAngleX = var$2.$rotateAngleX; nms_ModelRenderer_render(var$2, 0.0625); nms_ModelRenderer_render($this.$chestKnob, 0.0625); nms_ModelRenderer_render($this.$chestBelow, 0.0625); }, nms_ModelLargeChest = $rt_classWithoutFields(nms_ModelChest), nms_ModelLargeChest__init_ = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_ModelChest__init_($this); var$1 = new nms_ModelRenderer; var$2 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$3; var$1.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$4[var$5] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; var$1.$boxName = var$2; var$6 = $this.$textureWidth0; var$5 = $this.$textureHeight0; var$1.$textureWidth = var$6; var$1.$textureHeight = var$5; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$1.$textureWidth = 128.0; var$1.$textureHeight = 64.0; $this.$chestLid = var$1; var$2 = var$1.$cubeList; var$3 = nms_ModelBox__init_(var$1, 0, 0, 0.0, (-5.0), (-14.0), 30, 5, 14, 0.0); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$7 = var$2.$size0; var$2.$size0 = var$7 + 1 | 0; var$4[var$7] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$1 = $this.$chestLid; var$1.$rotationPointX = 1.0; var$1.$rotationPointY = 7.0; var$1.$rotationPointZ = 15.0; var$1 = new nms_ModelRenderer; var$2 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$3; var$1.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; var$1.$boxName = var$2; var$8 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$8; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$1.$textureWidth = 128.0; var$1.$textureHeight = 64.0; $this.$chestKnob = var$1; var$3 = var$1.$cubeList; var$2 = nms_ModelBox__init_(var$1, 0, 0, (-1.0), (-2.0), (-15.0), 2, 4, 1, 0.0); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$4[var$7] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$1 = $this.$chestKnob; var$1.$rotationPointX = 16.0; var$1.$rotationPointY = 7.0; var$1.$rotationPointZ = 15.0; var$2 = new nms_ModelRenderer; var$1 = null; var$2.$textureWidth = 64.0; var$2.$textureHeight = 32.0; var$2.$showModel = 1; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$2.$cubeList = var$3; var$2.$baseModel = $this; var$3 = $this.$boxList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$4[var$5] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$2.$boxName = var$1; var$6 = $this.$textureWidth0; var$5 = $this.$textureHeight0; var$2.$textureWidth = var$6; var$2.$textureHeight = var$5; var$2.$textureOffsetX = 0; var$2.$textureOffsetY = 19; var$2.$textureWidth = 128.0; var$2.$textureHeight = 64.0; $this.$chestBelow = var$2; var$3 = var$2.$cubeList; var$1 = nms_ModelBox__init_(var$2, 0, 19, 0.0, 0.0, 0.0, 30, 10, 14, 0.0); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; var$1 = $this.$chestBelow; var$1.$rotationPointX = 1.0; var$1.$rotationPointY = 6.0; var$1.$rotationPointZ = 1.0; }, nms_ModelLargeChest__init_0 = () => { let var_0 = new nms_ModelLargeChest(); nms_ModelLargeChest__init_(var_0); return var_0; }; function nms_ModelBook() { let a = this; nms_ModelBase.call(a); a.$coverRight = null; a.$coverLeft = null; a.$pagesRight = null; a.$pagesLeft = null; a.$flippingPageRight = null; a.$flippingPageLeft = null; a.$bookSpine = null; } let nms_ModelBook__init_0 = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$boxList = var$1; $this.$isChild0 = 1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$modelTextureMap = var$1; $this.$textureWidth0 = 64; $this.$textureHeight0 = 32; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$2 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$2; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 0; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 0, (-6.0), (-5.0), 0.0, 6, 10, 0, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$coverRight = var$1; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$2 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$2; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 16; var$1.$textureOffsetY = 0; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 16, 0, 0.0, (-5.0), 0.0, 6, 10, 0, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$coverLeft = var$1; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$2 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$2; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 0; var$1.$textureOffsetY = 10; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 0, 10, 0.0, (-4.0), (-0.9900000095367432), 5, 8, 1, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$pagesRight = var$1; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$2 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$2; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 12; var$1.$textureOffsetY = 10; var$5 = var$1.$cubeList; var$6 = nms_ModelBox__init_(var$1, 12, 10, 0.0, (-4.0), (-0.009999999776482582), 5, 8, 1, 0.0); ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $this.$pagesLeft = var$1; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$2 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$2; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 24; var$1.$textureOffsetY = 10; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 24, 10, 0.0, (-4.0), 0.0, 5, 8, 0, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$flippingPageRight = var$1; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$2 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$2; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 24; var$1.$textureOffsetY = 10; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 24, 10, 0.0, (-4.0), 0.0, 5, 8, 0, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$flippingPageLeft = var$1; var$1 = new nms_ModelRenderer; var$5 = null; var$1.$textureWidth = 64.0; var$1.$textureHeight = 32.0; var$1.$showModel = 1; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$1.$cubeList = var$6; var$1.$baseModel = $this; var$6 = $this.$boxList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$1; var$6.$modCount = var$6.$modCount + 1 | 0; var$1.$boxName = var$5; var$2 = $this.$textureWidth0; var$7 = $this.$textureHeight0; var$1.$textureWidth = var$2; var$1.$textureHeight = var$7; var$1.$textureOffsetX = 12; var$1.$textureOffsetY = 0; var$6 = var$1.$cubeList; var$5 = nms_ModelBox__init_(var$1, 12, 0, (-1.0), (-5.0), 0.0, 2, 10, 0, 0.0); ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$4 = var$6.$array.data; var$7 = var$6.$size0; var$6.$size0 = var$7 + 1 | 0; var$4[var$7] = var$5; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$bookSpine = var$1; var$5 = $this.$coverRight; var$5.$rotationPointX = 0.0; var$5.$rotationPointY = 0.0; var$5.$rotationPointZ = (-1.0); var$5 = $this.$coverLeft; var$5.$rotationPointX = 0.0; var$5.$rotationPointY = 0.0; var$5.$rotationPointZ = 1.0; var$1.$rotateAngleY = 1.5707963705062866; }, nms_ModelBook__init_ = () => { let var_0 = new nms_ModelBook(); nms_ModelBook__init_0(var_0); return var_0; }, nms_ModelBook_setRotationAngles = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Entity) => { let var$8, $var8, var$10, var$11, var$12, var$13; $par1 = $par1 * 0.019999999552965164; var$8 = nms_MathHelper_SIN_TABLE.data; $var8 = (var$8[($par1 * 10430.3779296875 | 0) & 65535] * 0.10000000149011612 + 1.25) * $par4; $this.$coverRight.$rotateAngleY = 3.1415927410125732 + $var8; $par7Entity = $this.$coverLeft; $par1 = -$var8; $par7Entity.$rotateAngleY = $par1; $par7Entity = $this.$pagesRight; $par7Entity.$rotateAngleY = $var8; var$10 = $this.$pagesLeft; var$10.$rotateAngleY = $par1; var$11 = $this.$flippingPageRight; $par1 = $var8 * 2.0; var$11.$rotateAngleY = $var8 - $par1 * $par2; var$12 = $this.$flippingPageLeft; var$12.$rotateAngleY = $var8 - $par1 * $par3; var$13 = ($var8 * 10430.3779296875 | 0) & 65535; $par7Entity.$rotationPointX = var$8[var$13]; var$10.$rotationPointX = var$8[var$13]; var$11.$rotationPointX = var$8[var$13]; var$12.$rotationPointX = var$8[var$13]; }, otpm_StringResource = $rt_classWithoutFields(0), nleat_WebGLQuery = $rt_classWithoutFields(0); function nms_MobSpawnerBaseLogic() { let a = this; jl_Object.call(a); a.$spawnDelay = 0; a.$mobID = null; a.$minecartToSpawn = null; a.$randomMinecart = null; a.$field_98287_c = 0.0; a.$field_98284_d = 0.0; a.$minSpawnDelay = 0; a.$maxSpawnDelay = 0; a.$spawnCount = 0; a.$field_98291_j = null; a.$maxNearbyEntities = 0; a.$activatingRangeFromPlayer = 0; a.$spawnRange = 0; } let nms_MobSpawnerBaseLogic_getEntityNameToSpawn = $this => { let var$1, var$2, var$3; var$1 = $this.$randomMinecart; if (var$1 !== null) return var$1.$minecartName; var$2 = $this.$mobID; if (var$2 === $rt_s(3544)) var$3 = 1; else if (!($rt_s(3544) instanceof jl_String)) var$3 = 0; else { var$1 = $rt_s(3544); var$3 = var$2.$nativeString !== var$1.$nativeString ? 0 : 1; } if (var$3) $this.$mobID = $rt_s(2731); return $this.$mobID; }, nms_MobSpawnerBaseLogic_canRun = $this => { return nms_World_getClosestPlayer($this.$getSpawnerWorld(), $this.$getSpawnerX() + 0.5, $this.$getSpawnerY() + 0.5, $this.$getSpawnerZ() + 0.5, $this.$activatingRangeFromPlayer) === null ? 0 : 1; }, nms_MobSpawnerBaseLogic_updateSpawner = $this => { let var$1, var$2, $var11, var$4, $var1, $var3, $var5, var$8, $var9, $var7, var$11, var$12, $var12, $var2, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, $var13, var$27, var$28, var$29, $var4, var$31, var$32, var$33, var$34, var$35, var$36, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$36 = $thread.pop();var$35 = $thread.pop();var$34 = $thread.pop();var$33 = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();$var4 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();$var13 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var2 = $thread.pop();$var12 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var7 = $thread.pop();$var9 = $thread.pop();var$8 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();var$4 = $thread.pop();$var11 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = nms_World_getClosestPlayer($this.$getSpawnerWorld(), $this.$getSpawnerX() + 0.5, $this.$getSpawnerY() + 0.5, $this.$getSpawnerZ() + 0.5, $this.$activatingRangeFromPlayer) === null ? 0 : 1; a: { if (var$1) { if (($this.$getSpawnerWorld()).$isRemote) { var$2 = $this.$getSpawnerX(); $var11 = ($this.$getSpawnerWorld()).$rand0; var$4 = Long_and(Long_add(Long_mul($var11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var11.$seed = var$4; $var1 = var$2 + Long_lo(Long_shru(var$4, 24)) / 1.6777216E7; var$2 = $this.$getSpawnerY(); $var11 = ($this.$getSpawnerWorld()).$rand0; var$4 = Long_and(Long_add(Long_mul($var11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var11.$seed = var$4; $var3 = var$2 + Long_lo(Long_shru(var$4, 24)) / 1.6777216E7; var$2 = $this.$getSpawnerZ(); $var11 = ($this.$getSpawnerWorld()).$rand0; var$4 = Long_and(Long_add(Long_mul($var11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var11.$seed = var$4; $var5 = var$2 + Long_lo(Long_shru(var$4, 24)) / 1.6777216E7; $var11 = $this.$getSpawnerWorld(); var$8 = $rt_s(1479); $var9 = 0.0; $var7 = 0.0; var$11 = 0.0; var$1 = 0; var$12 = $var11.$worldAccesses; $var12 = $rt_compare(var$1, var$12.$size0); if ($var12 < 0) { if (var$1 >= 0 && $var12 < 0) { var$12 = var$12.$array.data[var$1]; $ptr = 2; continue main; } $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); } $var11 = $this.$getSpawnerWorld(); var$8 = $rt_s(1485); $var9 = 0.0; $var7 = 0.0; var$11 = 0.0; var$1 = 0; var$12 = $var11.$worldAccesses; $var12 = $rt_compare(var$1, var$12.$size0); if ($var12 >= 0) { var$1 = $this.$spawnDelay; if (var$1 > 0) $this.$spawnDelay = var$1 - 1 | 0; $var9 = $this.$field_98287_c; $this.$field_98284_d = $var9; $this.$field_98287_c = ($var9 + 1000.0 / ($this.$spawnDelay + 200.0)) % 360.0; break a; } if (var$1 >= 0 && $var12 < 0) { var$12 = var$12.$array.data[var$1]; $ptr = 4; continue main; } $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); } if ($this.$spawnDelay == (-1)) { $ptr = 1; continue main; } var$1 = $this.$spawnDelay; if (var$1 > 0) { $this.$spawnDelay = var$1 - 1 | 0; return; } $var12 = 0; $var2 = 0; var$15 = null; var$16 = 22; var$17 = 21; var$18 = 17; var$19 = 2; var$20 = 24; var$21 = null; var$22 = $rt_s(1261); var$23 = $rt_s(1262); var$24 = $rt_s(469); if ($var2 < $this.$spawnCount) { var$25 = nms_MobSpawnerBaseLogic_getEntityNameToSpawn($this); $var13 = $this.$getSpawnerWorld(); nms_EntityList_$callClinit(); $var11 = nms_EntityList_stringToConstructorMapping; if (var$25 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { b: { if (!var$25.$hashCode1) { var$1 = 0; while (true) { if (var$1 >= var$25.$nativeString.length) break b; var$25.$hashCode1 = (31 * var$25.$hashCode1 | 0) + var$25.$nativeString.charCodeAt(var$1) | 0; var$1 = var$1 + 1 | 0; } } } var$27 = var$25.$hashCode1; var$28 = $var11.$elementData.data; $var11 = var$28[var$27 & (var$28.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$27) { c: { var$8 = $var11.$key; if (var$25 !== var$8) { if (var$25 === var$8) var$1 = 1; else if (!(var$8 instanceof jl_String)) var$1 = 0; else { var$8 = var$8; var$1 = var$25.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$1) { var$1 = 0; break c; } } var$1 = 1; } if (var$1) break; } $var11 = $var11.$next3; } } $var11 = $var11 === null ? null : $var11.$value1; if ($var11 !== null) { $ptr = 5; continue main; } if (jl_System_errCache === null) { $var11 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var11); $var11.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var11.$sb = var$8; $var11.$buffer0 = $rt_createCharArray(32); $var11.$autoFlush = 0; $var11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var11; } $var11 = new jl_StringBuilder; $var11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var11, $var11.$length0, var$22); var$1 = $var11.$length0; if (var$25 === null) var$25 = $rt_s(1); jl_AbstractStringBuilder_insert($var11, var$1, var$25); jl_AbstractStringBuilder_insert($var11, $var11.$length0, var$23); var$8 = new jl_String; var$28 = $var11.$buffer; var$29 = var$28.data; $var4 = $var11.$length0; var$27 = var$29.length; if ($var4 >= 0 && $var4 <= (var$27 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$28.data, 0, $var4); $rt_putStderr($rt_ustr(var$8)); $rt_putStderr($rt_ustr(var$24)); $var13 = null; if ($var13 === null) return; var$31 = $this.$getSpawnerWorld(); $var11 = $var13.constructor; if ($var11 === null) var$25 = null; else { var$25 = $var11.classObject; if (var$25 === null) { var$25 = new jl_Class; var$25.$platformClass = $var11; $var11.classObject = var$25; } } var$12 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var9 = $this.$getSpawnerX(); $var1 = $this.$getSpawnerY(); $var3 = $this.$getSpawnerZ(); $var5 = $this.$getSpawnerX() + 1 | 0; $var7 = $this.$getSpawnerY() + 1 | 0; var$11 = $this.$getSpawnerZ() + 1 | 0; var$1 = var$12.$nextPoolIndex; $var11 = var$12.$listAABB; var$27 = $var11.$size0; $var4 = $rt_compare(var$1, var$27); if ($var4 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$27 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$8; $var11.$modCount = $var11.$modCount + 1 | 0; } else if (var$1 >= 0 && $var4 < 0) { var$8 = $var11.$array.data[var$1]; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); } var$12.$nextPoolIndex = var$12.$nextPoolIndex + 1 | 0; var$11 = $this.$spawnRange * 2 | 0; $var9 = var$8.$minX - var$11; $var1 = var$8.$minY - 4.0; $var3 = var$8.$minZ - var$11; $var5 = var$8.$maxX + var$11; $var7 = var$8.$maxY + 4.0; var$11 = var$8.$maxZ + var$11; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var4 = var$8.$nextPoolIndex; $var11 = var$8.$listAABB; var$1 = $var11.$size0; var$27 = $rt_compare($var4, var$1); if (var$27 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$1 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$12; $var11.$modCount = $var11.$modCount + 1 | 0; } else if ($var4 >= 0 && var$27 < 0) { var$12 = $var11.$array.data[$var4]; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var11); $rt_throw($var11); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; $ptr = 6; continue main; } $var11 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var11); $rt_throw($var11); } if ($var12) { $ptr = 3; continue main; } } } return; case 1: nms_MobSpawnerBaseLogic_func_98273_j($this); if ($rt_suspending()) { break main; } var$1 = $this.$spawnDelay; if (var$1 > 0) { $this.$spawnDelay = var$1 - 1 | 0; return; } $var12 = 0; $var2 = 0; var$15 = null; var$16 = 22; var$17 = 21; var$18 = 17; var$19 = 2; var$20 = 24; var$21 = null; var$22 = $rt_s(1261); var$23 = $rt_s(1262); var$24 = $rt_s(469); if ($var2 >= $this.$spawnCount) { if (!$var12) return; $ptr = 3; continue main; } var$25 = nms_MobSpawnerBaseLogic_getEntityNameToSpawn($this); $var13 = $this.$getSpawnerWorld(); nms_EntityList_$callClinit(); $var11 = nms_EntityList_stringToConstructorMapping; if (var$25 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { d: { if (!var$25.$hashCode1) { var$1 = 0; while (true) { if (var$1 >= var$25.$nativeString.length) break d; var$25.$hashCode1 = (31 * var$25.$hashCode1 | 0) + var$25.$nativeString.charCodeAt(var$1) | 0; var$1 = var$1 + 1 | 0; } } } var$27 = var$25.$hashCode1; var$28 = $var11.$elementData.data; $var11 = var$28[var$27 & (var$28.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$27) { e: { var$8 = $var11.$key; if (var$25 !== var$8) { if (var$25 === var$8) var$1 = 1; else if (!(var$8 instanceof jl_String)) var$1 = 0; else { var$8 = var$8; var$1 = var$25.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$1) { var$1 = 0; break e; } } var$1 = 1; } if (var$1) break; } $var11 = $var11.$next3; } } $var11 = $var11 === null ? null : $var11.$value1; if ($var11 !== null) { $ptr = 5; continue main; } if (jl_System_errCache === null) { $var11 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var11); $var11.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var11.$sb = var$8; $var11.$buffer0 = $rt_createCharArray(32); $var11.$autoFlush = 0; $var11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var11; } $var11 = new jl_StringBuilder; $var11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var11, $var11.$length0, var$22); var$1 = $var11.$length0; if (var$25 === null) var$25 = $rt_s(1); jl_AbstractStringBuilder_insert($var11, var$1, var$25); jl_AbstractStringBuilder_insert($var11, $var11.$length0, var$23); var$8 = new jl_String; var$28 = $var11.$buffer; var$29 = var$28.data; $var4 = $var11.$length0; var$27 = var$29.length; if ($var4 >= 0 && $var4 <= (var$27 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$28.data, 0, $var4); $rt_putStderr($rt_ustr(var$8)); $rt_putStderr($rt_ustr(var$24)); $var13 = null; if ($var13 === null) return; var$31 = $this.$getSpawnerWorld(); $var11 = $var13.constructor; if ($var11 === null) var$25 = null; else { var$25 = $var11.classObject; if (var$25 === null) { var$25 = new jl_Class; var$25.$platformClass = $var11; $var11.classObject = var$25; } } var$12 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var9 = $this.$getSpawnerX(); $var1 = $this.$getSpawnerY(); $var3 = $this.$getSpawnerZ(); $var5 = $this.$getSpawnerX() + 1 | 0; $var7 = $this.$getSpawnerY() + 1 | 0; var$11 = $this.$getSpawnerZ() + 1 | 0; var$1 = var$12.$nextPoolIndex; $var11 = var$12.$listAABB; var$27 = $var11.$size0; $var4 = $rt_compare(var$1, var$27); if ($var4 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$27 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$8; $var11.$modCount = $var11.$modCount + 1 | 0; } else if (var$1 >= 0 && $var4 < 0) { var$8 = $var11.$array.data[var$1]; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); } var$12.$nextPoolIndex = var$12.$nextPoolIndex + 1 | 0; var$11 = $this.$spawnRange * 2 | 0; $var9 = var$8.$minX - var$11; $var1 = var$8.$minY - 4.0; $var3 = var$8.$minZ - var$11; $var5 = var$8.$maxX + var$11; $var7 = var$8.$maxY + 4.0; var$11 = var$8.$maxZ + var$11; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var4 = var$8.$nextPoolIndex; $var11 = var$8.$listAABB; var$1 = $var11.$size0; var$27 = $rt_compare($var4, var$1); if (var$27 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$1 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$12; $var11.$modCount = $var11.$modCount + 1 | 0; } else if ($var4 >= 0 && var$27 < 0) { var$12 = $var11.$array.data[$var4]; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var11); $rt_throw($var11); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; $ptr = 6; continue main; } $var11 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var11); $rt_throw($var11); case 2: nms_RenderGlobal_doSpawnParticle(var$12, var$8, $var1, $var3, $var5, $var9, $var7, var$11); if ($rt_suspending()) { break main; } var$1 = var$1 + 1 | 0; var$12 = $var11.$worldAccesses; $var12 = $rt_compare(var$1, var$12.$size0); if ($var12 < 0) { if (var$1 >= 0 && $var12 < 0) { var$12 = var$12.$array.data[var$1]; continue main; } $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); } $var11 = $this.$getSpawnerWorld(); var$8 = $rt_s(1485); $var9 = 0.0; $var7 = 0.0; var$11 = 0.0; var$1 = 0; var$12 = $var11.$worldAccesses; $var12 = $rt_compare(var$1, var$12.$size0); if ($var12 >= 0) { var$1 = $this.$spawnDelay; if (var$1 > 0) $this.$spawnDelay = var$1 - 1 | 0; $var9 = $this.$field_98287_c; $this.$field_98284_d = $var9; $this.$field_98287_c = ($var9 + 1000.0 / ($this.$spawnDelay + 200.0)) % 360.0; return; } if (var$1 >= 0 && $var12 < 0) { var$12 = var$12.$array.data[var$1]; $ptr = 4; continue main; } $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); case 3: nms_MobSpawnerBaseLogic_func_98273_j($this); if ($rt_suspending()) { break main; } return; case 4: nms_RenderGlobal_doSpawnParticle(var$12, var$8, $var1, $var3, $var5, $var9, $var7, var$11); if ($rt_suspending()) { break main; } var$1 = var$1 + 1 | 0; var$12 = $var11.$worldAccesses; $var12 = $rt_compare(var$1, var$12.$size0); if ($var12 >= 0) { var$1 = $this.$spawnDelay; if (var$1 > 0) $this.$spawnDelay = var$1 - 1 | 0; $var9 = $this.$field_98287_c; $this.$field_98284_d = $var9; $this.$field_98287_c = ($var9 + 1000.0 / ($this.$spawnDelay + 200.0)) % 360.0; return; } if (var$1 >= 0 && $var12 < 0) { var$12 = var$12.$array.data[var$1]; continue main; } $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); case 5: $tmp = $var11.$apply($var13); if ($rt_suspending()) { break main; } $var13 = $tmp; if ($var13 === null) return; var$31 = $this.$getSpawnerWorld(); $var11 = $var13.constructor; if ($var11 === null) var$25 = null; else { var$25 = $var11.classObject; if (var$25 === null) { var$25 = new jl_Class; var$25.$platformClass = $var11; $var11.classObject = var$25; } } var$12 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var9 = $this.$getSpawnerX(); $var1 = $this.$getSpawnerY(); $var3 = $this.$getSpawnerZ(); $var5 = $this.$getSpawnerX() + 1 | 0; $var7 = $this.$getSpawnerY() + 1 | 0; var$11 = $this.$getSpawnerZ() + 1 | 0; var$1 = var$12.$nextPoolIndex; $var11 = var$12.$listAABB; var$27 = $var11.$size0; $var4 = $rt_compare(var$1, var$27); if ($var4 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$27 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$8; $var11.$modCount = $var11.$modCount + 1 | 0; } else if (var$1 >= 0 && $var4 < 0) { var$8 = $var11.$array.data[var$1]; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); } var$12.$nextPoolIndex = var$12.$nextPoolIndex + 1 | 0; var$11 = $this.$spawnRange * 2 | 0; $var9 = var$8.$minX - var$11; $var1 = var$8.$minY - 4.0; $var3 = var$8.$minZ - var$11; $var5 = var$8.$maxX + var$11; $var7 = var$8.$maxY + 4.0; var$11 = var$8.$maxZ + var$11; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var4 = var$8.$nextPoolIndex; $var11 = var$8.$listAABB; var$1 = $var11.$size0; var$27 = $rt_compare($var4, var$1); if (var$27 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$1 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$12; $var11.$modCount = $var11.$modCount + 1 | 0; } else if ($var4 >= 0 && var$27 < 0) { var$12 = $var11.$array.data[$var4]; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var11); $rt_throw($var11); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; $ptr = 6; case 6: $tmp = nms_World_selectEntitiesWithinAABB(var$31, var$25, var$12, var$15); if ($rt_suspending()) { break main; } $var11 = $tmp; if ($var11.$size0 >= $this.$maxNearbyEntities) { $ptr = 7; continue main; } $var5 = $this.$getSpawnerX(); $var11 = ($this.$getSpawnerWorld()).$rand0; var$32 = Long_and(Long_add(Long_mul($var11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var11.$seed = var$32; var$4 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, var$16))), 27); var$33 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var11.$seed = var$33; $var3 = Long_toNumber(Long_add(var$4, Long_fromInt(Long_lo(Long_shru(var$33, var$17))))) * 1.1102230246251565E-16; $var11 = ($this.$getSpawnerWorld()).$rand0; var$32 = Long_and(Long_add(Long_mul($var11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var11.$seed = var$32; var$4 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, var$16))), 27); var$33 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var11.$seed = var$33; $var5 = $var5 + ($var3 - Long_toNumber(Long_add(var$4, Long_fromInt(Long_lo(Long_shru(var$33, var$17))))) * 1.1102230246251565E-16) * $this.$spawnRange; var$1 = $this.$getSpawnerY(); $var11 = ($this.$getSpawnerWorld()).$rand0; var$4 = Long_and(Long_add(Long_mul($var11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var11.$seed = var$4; var$27 = Long_lo(Long_shru(var$4, var$18)); while (true) { var$34 = var$27 % 3 | 0; if (((var$27 - var$34 | 0) + var$19 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul($var11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var11.$seed = var$4; var$27 = Long_lo(Long_shru(var$4, var$18)); } $var7 = (var$1 + var$34 | 0) - 1 | 0; $var3 = $this.$getSpawnerZ(); $var11 = ($this.$getSpawnerWorld()).$rand0; var$32 = Long_and(Long_add(Long_mul($var11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var11.$seed = var$32; var$4 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$32, var$16))), 27); var$33 = Long_and(Long_add(Long_mul(var$32, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var11.$seed = var$33; $var9 = Long_toNumber(Long_add(var$4, Long_fromInt(Long_lo(Long_shru(var$33, var$17))))) * 1.1102230246251565E-16; $var11 = ($this.$getSpawnerWorld()).$rand0; var$4 = Long_and(Long_add(Long_mul($var11.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var11.$seed = var$4; var$32 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$4, var$16))), 27); var$4 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var11.$seed = var$4; $var9 = $var3 + ($var9 - Long_toNumber(Long_add(var$32, Long_fromInt(Long_lo(Long_shru(var$4, var$17))))) * 1.1102230246251565E-16) * $this.$spawnRange; $var11 = !($var13 instanceof nms_EntityLiving) ? null : $var13; var$8 = ($this.$getSpawnerWorld()).$rand0; var$4 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$4; var$2 = Long_lo(Long_shru(var$4, var$20)) / 1.6777216E7 * 360.0; $var13.$posX = $var5; $var13.$prevPosX = $var5; $var13.$lastTickPosX = $var5; $var1 = $var7 + $var13.$yOffset; $var13.$posY = $var1; $var13.$prevPosY = $var1; $var13.$lastTickPosY = $var1; $var13.$posZ = $var9; $var13.$prevPosZ = $var9; $var13.$lastTickPosZ = $var9; $var13.$rotationYaw = var$2; $var13.$rotationPitch = 0.0; nms_Entity_setPosition($var13, $var5, $var1, $var9); if ($var11 === null) { $ptr = 8; continue main; } $ptr = 9; continue main; case 7: nms_MobSpawnerBaseLogic_func_98273_j($this); if ($rt_suspending()) { break main; } return; case 8: nms_MobSpawnerBaseLogic_func_98265_a($this, $var13); if ($rt_suspending()) { break main; } var$8 = $this.$getSpawnerWorld(); var$1 = 2004; $var12 = $this.$getSpawnerX(); $var4 = $this.$getSpawnerY(); var$27 = $this.$getSpawnerZ(); var$34 = 0; var$35 = 0; var$12 = var$8.$worldAccesses; var$36 = $rt_compare(var$35, var$12.$size0); if (var$36 < 0) { if (var$35 >= 0 && var$36 < 0) { var$12 = var$12.$array.data[var$35]; $ptr = 11; continue main; } $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var11); $rt_throw($var11); } if ($var11 !== null) { $ptr = 10; continue main; } $var12 = 1; $var2 = $var2 + 1 | 0; if ($var2 >= $this.$spawnCount) { if (!$var12) return; $ptr = 3; continue main; } var$25 = nms_MobSpawnerBaseLogic_getEntityNameToSpawn($this); $var13 = $this.$getSpawnerWorld(); nms_EntityList_$callClinit(); $var11 = nms_EntityList_stringToConstructorMapping; if (var$25 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { f: { if (!var$25.$hashCode1) { var$1 = 0; while (true) { if (var$1 >= var$25.$nativeString.length) break f; var$25.$hashCode1 = (31 * var$25.$hashCode1 | 0) + var$25.$nativeString.charCodeAt(var$1) | 0; var$1 = var$1 + 1 | 0; } } } var$27 = var$25.$hashCode1; var$28 = $var11.$elementData.data; $var11 = var$28[var$27 & (var$28.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$27) { g: { var$8 = $var11.$key; if (var$25 !== var$8) { if (var$25 === var$8) var$1 = 1; else if (!(var$8 instanceof jl_String)) var$1 = 0; else { var$8 = var$8; var$1 = var$25.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$1) { var$1 = 0; break g; } } var$1 = 1; } if (var$1) break; } $var11 = $var11.$next3; } } $var11 = $var11 === null ? null : $var11.$value1; if ($var11 !== null) { $ptr = 5; continue main; } if (jl_System_errCache === null) { $var11 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var11); $var11.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var11.$sb = var$8; $var11.$buffer0 = $rt_createCharArray(32); $var11.$autoFlush = 0; $var11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var11; } $var11 = new jl_StringBuilder; $var11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var11, $var11.$length0, var$22); var$1 = $var11.$length0; if (var$25 === null) var$25 = $rt_s(1); jl_AbstractStringBuilder_insert($var11, var$1, var$25); jl_AbstractStringBuilder_insert($var11, $var11.$length0, var$23); var$8 = new jl_String; var$28 = $var11.$buffer; var$29 = var$28.data; $var4 = $var11.$length0; var$27 = var$29.length; if ($var4 >= 0 && $var4 <= (var$27 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$28.data, 0, $var4); $rt_putStderr($rt_ustr(var$8)); $rt_putStderr($rt_ustr(var$24)); $var13 = null; if ($var13 === null) return; var$31 = $this.$getSpawnerWorld(); $var11 = $var13.constructor; if ($var11 === null) var$25 = null; else { var$25 = $var11.classObject; if (var$25 === null) { var$25 = new jl_Class; var$25.$platformClass = $var11; $var11.classObject = var$25; } } var$12 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var9 = $this.$getSpawnerX(); $var1 = $this.$getSpawnerY(); $var3 = $this.$getSpawnerZ(); $var5 = $this.$getSpawnerX() + 1 | 0; $var7 = $this.$getSpawnerY() + 1 | 0; var$11 = $this.$getSpawnerZ() + 1 | 0; var$1 = var$12.$nextPoolIndex; $var11 = var$12.$listAABB; var$27 = $var11.$size0; $var4 = $rt_compare(var$1, var$27); if ($var4 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$27 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$8; $var11.$modCount = $var11.$modCount + 1 | 0; } else if (var$1 >= 0 && $var4 < 0) { var$8 = $var11.$array.data[var$1]; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); } var$12.$nextPoolIndex = var$12.$nextPoolIndex + 1 | 0; var$11 = $this.$spawnRange * 2 | 0; $var9 = var$8.$minX - var$11; $var1 = var$8.$minY - 4.0; $var3 = var$8.$minZ - var$11; $var5 = var$8.$maxX + var$11; $var7 = var$8.$maxY + 4.0; var$11 = var$8.$maxZ + var$11; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var4 = var$8.$nextPoolIndex; $var11 = var$8.$listAABB; var$1 = $var11.$size0; var$27 = $rt_compare($var4, var$1); if (var$27 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$1 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$12; $var11.$modCount = $var11.$modCount + 1 | 0; } else if ($var4 >= 0 && var$27 < 0) { var$12 = $var11.$array.data[$var4]; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var11); $rt_throw($var11); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; $ptr = 6; continue main; } $var11 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var11); $rt_throw($var11); case 9: $tmp = $var11.$getCanSpawnHere(); if ($rt_suspending()) { break main; } var$1 = $tmp; if (var$1) { $ptr = 8; continue main; } $var2 = $var2 + 1 | 0; if ($var2 >= $this.$spawnCount) { if (!$var12) return; $ptr = 3; continue main; } var$25 = nms_MobSpawnerBaseLogic_getEntityNameToSpawn($this); $var13 = $this.$getSpawnerWorld(); nms_EntityList_$callClinit(); $var11 = nms_EntityList_stringToConstructorMapping; if (var$25 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { d: { if (!var$25.$hashCode1) { var$1 = 0; while (true) { if (var$1 >= var$25.$nativeString.length) break d; var$25.$hashCode1 = (31 * var$25.$hashCode1 | 0) + var$25.$nativeString.charCodeAt(var$1) | 0; var$1 = var$1 + 1 | 0; } } } var$27 = var$25.$hashCode1; var$28 = $var11.$elementData.data; $var11 = var$28[var$27 & (var$28.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$27) { e: { var$8 = $var11.$key; if (var$25 !== var$8) { if (var$25 === var$8) var$1 = 1; else if (!(var$8 instanceof jl_String)) var$1 = 0; else { var$8 = var$8; var$1 = var$25.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$1) { var$1 = 0; break e; } } var$1 = 1; } if (var$1) break; } $var11 = $var11.$next3; } } $var11 = $var11 === null ? null : $var11.$value1; if ($var11 !== null) { $ptr = 5; continue main; } if (jl_System_errCache === null) { $var11 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var11); $var11.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var11.$sb = var$8; $var11.$buffer0 = $rt_createCharArray(32); $var11.$autoFlush = 0; $var11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var11; } $var11 = new jl_StringBuilder; $var11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var11, $var11.$length0, var$22); var$1 = $var11.$length0; if (var$25 === null) var$25 = $rt_s(1); jl_AbstractStringBuilder_insert($var11, var$1, var$25); jl_AbstractStringBuilder_insert($var11, $var11.$length0, var$23); var$8 = new jl_String; var$28 = $var11.$buffer; var$29 = var$28.data; $var4 = $var11.$length0; var$27 = var$29.length; if ($var4 >= 0 && $var4 <= (var$27 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$28.data, 0, $var4); $rt_putStderr($rt_ustr(var$8)); $rt_putStderr($rt_ustr(var$24)); $var13 = null; if ($var13 === null) return; var$31 = $this.$getSpawnerWorld(); $var11 = $var13.constructor; if ($var11 === null) var$25 = null; else { var$25 = $var11.classObject; if (var$25 === null) { var$25 = new jl_Class; var$25.$platformClass = $var11; $var11.classObject = var$25; } } var$12 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var9 = $this.$getSpawnerX(); $var1 = $this.$getSpawnerY(); $var3 = $this.$getSpawnerZ(); $var5 = $this.$getSpawnerX() + 1 | 0; $var7 = $this.$getSpawnerY() + 1 | 0; var$11 = $this.$getSpawnerZ() + 1 | 0; var$1 = var$12.$nextPoolIndex; $var11 = var$12.$listAABB; var$27 = $var11.$size0; $var4 = $rt_compare(var$1, var$27); if ($var4 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$27 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$8; $var11.$modCount = $var11.$modCount + 1 | 0; } else if (var$1 >= 0 && $var4 < 0) { var$8 = $var11.$array.data[var$1]; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); } var$12.$nextPoolIndex = var$12.$nextPoolIndex + 1 | 0; var$11 = $this.$spawnRange * 2 | 0; $var9 = var$8.$minX - var$11; $var1 = var$8.$minY - 4.0; $var3 = var$8.$minZ - var$11; $var5 = var$8.$maxX + var$11; $var7 = var$8.$maxY + 4.0; var$11 = var$8.$maxZ + var$11; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var4 = var$8.$nextPoolIndex; $var11 = var$8.$listAABB; var$1 = $var11.$size0; var$27 = $rt_compare($var4, var$1); if (var$27 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$1 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$12; $var11.$modCount = $var11.$modCount + 1 | 0; } else if ($var4 >= 0 && var$27 < 0) { var$12 = $var11.$array.data[$var4]; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var11); $rt_throw($var11); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; $ptr = 6; continue main; } $var11 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var11); $rt_throw($var11); case 10: nms_EntityLiving_spawnExplosionParticle($var11); if ($rt_suspending()) { break main; } $var12 = 1; $var2 = $var2 + 1 | 0; if ($var2 >= $this.$spawnCount) { if (!$var12) return; $ptr = 3; continue main; } var$25 = nms_MobSpawnerBaseLogic_getEntityNameToSpawn($this); $var13 = $this.$getSpawnerWorld(); nms_EntityList_$callClinit(); $var11 = nms_EntityList_stringToConstructorMapping; if (var$25 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { h: { if (!var$25.$hashCode1) { var$1 = 0; while (true) { if (var$1 >= var$25.$nativeString.length) break h; var$25.$hashCode1 = (31 * var$25.$hashCode1 | 0) + var$25.$nativeString.charCodeAt(var$1) | 0; var$1 = var$1 + 1 | 0; } } } var$27 = var$25.$hashCode1; var$28 = $var11.$elementData.data; $var11 = var$28[var$27 & (var$28.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$27) { f: { var$8 = $var11.$key; if (var$25 !== var$8) { if (var$25 === var$8) var$1 = 1; else if (!(var$8 instanceof jl_String)) var$1 = 0; else { var$8 = var$8; var$1 = var$25.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$1) { var$1 = 0; break f; } } var$1 = 1; } if (var$1) break; } $var11 = $var11.$next3; } } $var11 = $var11 === null ? null : $var11.$value1; if ($var11 !== null) { $ptr = 5; continue main; } if (jl_System_errCache === null) { $var11 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var11); $var11.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var11.$sb = var$8; $var11.$buffer0 = $rt_createCharArray(32); $var11.$autoFlush = 0; $var11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var11; } $var11 = new jl_StringBuilder; $var11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var11, $var11.$length0, var$22); var$1 = $var11.$length0; if (var$25 === null) var$25 = $rt_s(1); jl_AbstractStringBuilder_insert($var11, var$1, var$25); jl_AbstractStringBuilder_insert($var11, $var11.$length0, var$23); var$8 = new jl_String; var$28 = $var11.$buffer; var$29 = var$28.data; $var4 = $var11.$length0; var$27 = var$29.length; if ($var4 >= 0 && $var4 <= (var$27 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$28.data, 0, $var4); $rt_putStderr($rt_ustr(var$8)); $rt_putStderr($rt_ustr(var$24)); $var13 = null; if ($var13 === null) return; var$31 = $this.$getSpawnerWorld(); $var11 = $var13.constructor; if ($var11 === null) var$25 = null; else { var$25 = $var11.classObject; if (var$25 === null) { var$25 = new jl_Class; var$25.$platformClass = $var11; $var11.classObject = var$25; } } var$12 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var9 = $this.$getSpawnerX(); $var1 = $this.$getSpawnerY(); $var3 = $this.$getSpawnerZ(); $var5 = $this.$getSpawnerX() + 1 | 0; $var7 = $this.$getSpawnerY() + 1 | 0; var$11 = $this.$getSpawnerZ() + 1 | 0; var$1 = var$12.$nextPoolIndex; $var11 = var$12.$listAABB; var$27 = $var11.$size0; $var4 = $rt_compare(var$1, var$27); if ($var4 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$27 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$8; $var11.$modCount = $var11.$modCount + 1 | 0; } else if (var$1 >= 0 && $var4 < 0) { var$8 = $var11.$array.data[var$1]; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); } var$12.$nextPoolIndex = var$12.$nextPoolIndex + 1 | 0; var$11 = $this.$spawnRange * 2 | 0; $var9 = var$8.$minX - var$11; $var1 = var$8.$minY - 4.0; $var3 = var$8.$minZ - var$11; $var5 = var$8.$maxX + var$11; $var7 = var$8.$maxY + 4.0; var$11 = var$8.$maxZ + var$11; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var4 = var$8.$nextPoolIndex; $var11 = var$8.$listAABB; var$1 = $var11.$size0; var$27 = $rt_compare($var4, var$1); if (var$27 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$1 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$12; $var11.$modCount = $var11.$modCount + 1 | 0; } else if ($var4 >= 0 && var$27 < 0) { var$12 = $var11.$array.data[$var4]; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var11); $rt_throw($var11); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; $ptr = 6; continue main; } $var11 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var11); $rt_throw($var11); case 11: nms_RenderGlobal_playAuxSFX(var$12, var$21, var$1, $var12, $var4, var$27, var$34); if ($rt_suspending()) { break main; } var$35 = var$35 + 1 | 0; var$12 = var$8.$worldAccesses; var$36 = $rt_compare(var$35, var$12.$size0); if (var$36 < 0) { if (var$35 >= 0 && var$36 < 0) { var$12 = var$12.$array.data[var$35]; continue main; } $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var11); $rt_throw($var11); } if ($var11 !== null) { $ptr = 10; continue main; } $var12 = 1; $var2 = $var2 + 1 | 0; if ($var2 >= $this.$spawnCount) { if (!$var12) return; $ptr = 3; continue main; } var$25 = nms_MobSpawnerBaseLogic_getEntityNameToSpawn($this); $var13 = $this.$getSpawnerWorld(); nms_EntityList_$callClinit(); $var11 = nms_EntityList_stringToConstructorMapping; if (var$25 === null) { $var11 = $var11.$elementData.data[0]; while ($var11 !== null && $var11.$key !== null) { $var11 = $var11.$next3; } } else { f: { if (!var$25.$hashCode1) { var$1 = 0; while (true) { if (var$1 >= var$25.$nativeString.length) break f; var$25.$hashCode1 = (31 * var$25.$hashCode1 | 0) + var$25.$nativeString.charCodeAt(var$1) | 0; var$1 = var$1 + 1 | 0; } } } var$27 = var$25.$hashCode1; var$28 = $var11.$elementData.data; $var11 = var$28[var$27 & (var$28.length - 1 | 0)]; while ($var11 !== null) { if ($var11.$origKeyHash == var$27) { g: { var$8 = $var11.$key; if (var$25 !== var$8) { if (var$25 === var$8) var$1 = 1; else if (!(var$8 instanceof jl_String)) var$1 = 0; else { var$8 = var$8; var$1 = var$25.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$1) { var$1 = 0; break g; } } var$1 = 1; } if (var$1) break; } $var11 = $var11.$next3; } } $var11 = $var11 === null ? null : $var11.$value1; if ($var11 !== null) { $ptr = 5; continue main; } if (jl_System_errCache === null) { $var11 = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); jl_Object__init_($var11); $var11.$out0 = var$8; var$8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$8, 16); $var11.$sb = var$8; $var11.$buffer0 = $rt_createCharArray(32); $var11.$autoFlush = 0; $var11.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var11; } $var11 = new jl_StringBuilder; $var11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var11, $var11.$length0, var$22); var$1 = $var11.$length0; if (var$25 === null) var$25 = $rt_s(1); jl_AbstractStringBuilder_insert($var11, var$1, var$25); jl_AbstractStringBuilder_insert($var11, $var11.$length0, var$23); var$8 = new jl_String; var$28 = $var11.$buffer; var$29 = var$28.data; $var4 = $var11.$length0; var$27 = var$29.length; if ($var4 >= 0 && $var4 <= (var$27 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$28.data, 0, $var4); $rt_putStderr($rt_ustr(var$8)); $rt_putStderr($rt_ustr(var$24)); $var13 = null; if ($var13 === null) return; var$31 = $this.$getSpawnerWorld(); $var11 = $var13.constructor; if ($var11 === null) var$25 = null; else { var$25 = $var11.classObject; if (var$25 === null) { var$25 = new jl_Class; var$25.$platformClass = $var11; $var11.classObject = var$25; } } var$12 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var9 = $this.$getSpawnerX(); $var1 = $this.$getSpawnerY(); $var3 = $this.$getSpawnerZ(); $var5 = $this.$getSpawnerX() + 1 | 0; $var7 = $this.$getSpawnerY() + 1 | 0; var$11 = $this.$getSpawnerZ() + 1 | 0; var$1 = var$12.$nextPoolIndex; $var11 = var$12.$listAABB; var$27 = $var11.$size0; $var4 = $rt_compare(var$1, var$27); if ($var4 >= 0) { var$8 = new nms_AxisAlignedBB; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$27 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$8; $var11.$modCount = $var11.$modCount + 1 | 0; } else if (var$1 >= 0 && $var4 < 0) { var$8 = $var11.$array.data[var$1]; var$8.$minX = $var9; var$8.$minY = $var1; var$8.$minZ = $var3; var$8.$maxX = $var5; var$8.$maxY = $var7; var$8.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; $rt_throw($var11); } var$12.$nextPoolIndex = var$12.$nextPoolIndex + 1 | 0; var$11 = $this.$spawnRange * 2 | 0; $var9 = var$8.$minX - var$11; $var1 = var$8.$minY - 4.0; $var3 = var$8.$minZ - var$11; $var5 = var$8.$maxX + var$11; $var7 = var$8.$maxY + 4.0; var$11 = var$8.$maxZ + var$11; var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var4 = var$8.$nextPoolIndex; $var11 = var$8.$listAABB; var$1 = $var11.$size0; var$27 = $rt_compare($var4, var$1); if (var$27 >= 0) { var$12 = new nms_AxisAlignedBB; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; ju_ArrayList_ensureCapacity($var11, var$1 + 1 | 0); var$28 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; var$28[$var4] = var$12; $var11.$modCount = $var11.$modCount + 1 | 0; } else if ($var4 >= 0 && var$27 < 0) { var$12 = $var11.$array.data[$var4]; var$12.$minX = $var9; var$12.$minY = $var1; var$12.$minZ = $var3; var$12.$maxX = $var5; var$12.$maxY = $var7; var$12.$maxZ = var$11; } else { $var11 = new jl_IndexOutOfBoundsException; $var11.$suppressionEnabled = 1; $var11.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var11); $rt_throw($var11); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; $ptr = 6; continue main; } $var11 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var11); $rt_throw($var11); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $var11, var$4, $var1, $var3, $var5, var$8, $var9, $var7, var$11, var$12, $var12, $var2, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, $var13, var$27, var$28, var$29, $var4, var$31, var$32, var$33, var$34, var$35, var$36, $ptr); }, nms_MobSpawnerBaseLogic_func_98265_a = ($this, $par1Entity) => { let $var3, $var10, var$4, var$5, var$6, var$7, $var4, $var7, $var9, var$11, var$12, $var5, $var8, var$15, $var6, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var6 = $thread.pop();var$15 = $thread.pop();$var8 = $thread.pop();$var5 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var4 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var10 = $thread.pop();$var3 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$randomMinecart === null) { if ($par1Entity instanceof nms_EntityLivingBase && $par1Entity.$worldObj !== null) { $var3 = $par1Entity; $var10 = null; $ptr = 1; continue main; } return $par1Entity; } $var10 = new nms_NBTTagCompound; $var10.$name = $rt_s(18); $var3 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); $var3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; $var3.$elementData = var$5; $var3.$loadFactor = 0.75; $var3.$threshold = var$6.length * 0.75 | 0; $var10.$tagMap = $var3; nms_EntityList_$callClinit(); $var3 = nms_EntityList_classToStringMapping; var$7 = $par1Entity.constructor; if (var$7 === null) $var4 = null; else { $var4 = var$7.classObject; if ($var4 === null) { $var4 = new jl_Class; $var4.$platformClass = var$7; var$7.classObject = $var4; } } if ($var4 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$7 = $var4; if (!var$7.$id$) var$7.$id$ = $rt_nextId(); var$4 = $var4.$id$; var$6 = $var3.$elementData.data; $var3 = var$6[var$4 & (var$6.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$4) { var$7 = $var3.$key; if ($var4 !== var$7 && !($var4 !== var$7 ? 0 : 1) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var7 = $var3 === null ? null : $var3.$value1; if (!$par1Entity.$isDead && $var7 !== null && $par1Entity.$riddenByEntity === null) { var$7 = $var10.$tagMap; $var4 = new nms_NBTTagString; $var4.$name = $rt_s(1243); $var4.$data1 = $var7; ju_HashMap_putImpl(var$7, $rt_s(1243), $var4); nms_Entity_writeToNBT($par1Entity, $var10); } $var3 = $this.$randomMinecart.$field_98222_b.$tagMap; if ($var3.$cachedValues === null) { $var4 = new ju_HashMap$2; $var4.$this$01 = $var3; $var3.$cachedValues = $var4; } $var3 = $var3.$cachedValues.$iterator(); while ($var3.$hasNext()) { $var4 = $var3.$next(); $var7 = $var4.$name; if ($var7 === null) $var7 = $rt_s(18); $var4 = $var4.$copy(); var$7 = $var10.$tagMap; $var4.$name = $var7; ju_HashMap_putImpl(var$7, $var7, $var4); } $ptr = 2; continue main; case 1: $var3.$onSpawnWithEgg($var10); if ($rt_suspending()) { break main; } $var10 = $this.$getSpawnerWorld(); var$4 = nms_World_spawnEntityInWorld($var10, $par1Entity); $var3 = $var10.$entityList; ju_HashMap_putImpl($var3.$backingMap, $par1Entity, $var3); if (!var$4) { $var10 = $var10.$entitySpawnQueue; ju_HashMap_putImpl($var10.$backingMap, $par1Entity, $var10); } return $par1Entity; case 2: nms_Entity_readFromNBT($par1Entity, $var10); if ($rt_suspending()) { break main; } $var3 = $par1Entity.$worldObj; if ($var3 !== null) { var$4 = nms_World_spawnEntityInWorld($var3, $par1Entity); $var4 = $var3.$entityList; ju_HashMap_putImpl($var4.$backingMap, $par1Entity, $var4); if (!var$4) { $var3 = $var3.$entitySpawnQueue; ju_HashMap_putImpl($var3.$backingMap, $par1Entity, $var3); } } $var3 = $rt_s(1261); $var4 = $rt_s(1262); var$7 = $rt_s(469); $var9 = $par1Entity; a: { while (true) { b: { $var7 = $var10.$tagMap; if (!$rt_s(1256).$hashCode1) { var$11 = 0; while (true) { if (var$11 >= $rt_s(1256).$nativeString.length) break b; $rt_s(1256).$hashCode1 = (31 * $rt_s(1256).$hashCode1 | 0) + $rt_s(1256).$nativeString.charCodeAt(var$11) | 0; var$11 = var$11 + 1 | 0; } } } var$12 = $rt_s(1256).$hashCode1; var$6 = $var7.$elementData.data; $var5 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$12) { c: { $var7 = $var5.$key; if ($rt_s(1256) !== $var7) { if ($rt_s(1256) !== $var7) { if ($var7 instanceof jl_String) { $var7 = $var7; var$4 = $rt_s(1256).$nativeString !== $var7.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break c; } } var$4 = 1; } if (var$4) break; } $var5 = $var5.$next3; } if (!($var5 === null ? 0 : 1)) break; d: { $var7 = $var10.$tagMap; if (!$rt_s(1256).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1256).$nativeString.length) break d; $rt_s(1256).$hashCode1 = (31 * $rt_s(1256).$hashCode1 | 0) + $rt_s(1256).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$11 = $rt_s(1256).$hashCode1; var$6 = $var7.$elementData.data; $var7 = var$6[var$11 & (var$6.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$11) { e: { $var8 = $var7.$key; if ($rt_s(1256) !== $var8) { if ($rt_s(1256) !== $var8) { if ($var8 instanceof jl_String) { $var8 = $var8; var$4 = $rt_s(1256).$nativeString !== $var8.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break e; } } var$4 = 1; } if (var$4) break; } $var7 = $var7.$next3; } if ($var7 === null ? 0 : 1) { $var10 = $var10.$tagMap; if ($rt_s(1256) !== null) { f: { if (!$rt_s(1256).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1256).$nativeString.length) break f; $rt_s(1256).$hashCode1 = (31 * $rt_s(1256).$hashCode1 | 0) + $rt_s(1256).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$11 = $rt_s(1256).$hashCode1; var$6 = $var10.$elementData.data; $var10 = var$6[var$11 & (var$6.length - 1 | 0)]; while ($var10 !== null) { if ($var10.$origKeyHash == var$11) { g: { $var7 = $var10.$key; if ($rt_s(1256) !== $var7) { if ($rt_s(1256) !== $var7) { if (!($var7 instanceof jl_String)) var$4 = 0; else { $var7 = $var7; var$4 = $rt_s(1256).$nativeString !== $var7.$nativeString ? 0 : 1; } } else var$4 = 1; if (!var$4) { var$4 = 0; break g; } } var$4 = 1; } if (var$4) break; } $var10 = $var10.$next3; } } else { $var10 = $var10.$elementData.data[0]; while ($var10 !== null && $var10.$key !== null) { $var10 = $var10.$next3; } } $var10 = $var10 === null ? null : $var10.$value1; } else { $var10 = new nms_NBTTagCompound; if ($rt_s(1256) !== null) $var10.$name = $rt_s(1256); else $var10.$name = $rt_s(18); $var7 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; $var7.$elementData = var$5; $var7.$loadFactor = 0.75; $var7.$threshold = var$6.length * 0.75 | 0; $var10.$tagMap = $var7; } h: { $var7 = $var10.$tagMap; if (!$rt_s(1243).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1243).$nativeString.length) break h; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$12 = $rt_s(1243).$hashCode1; var$6 = $var7.$elementData.data; $var7 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$12) { i: { $var8 = $var7.$key; if ($rt_s(1243) !== $var8) { if ($rt_s(1243) !== $var8) { if (!($var8 instanceof jl_String)) var$4 = 0; else { $var8 = $var8; var$4 = $rt_s(1243).$nativeString !== $var8.$nativeString ? 0 : 1; } } else var$4 = 1; if (!var$4) { var$4 = 0; break i; } } var$4 = 1; } if (var$4) break; } $var7 = $var7.$next3; } if (!($var7 === null ? 0 : 1)) $var5 = $rt_s(18); else { $var7 = $var10.$tagMap; if ($rt_s(1243) === null) { var$15 = $var7.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { j: { if (!$rt_s(1243).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1243).$nativeString.length) break j; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$12 = $rt_s(1243).$hashCode1; var$6 = $var7.$elementData.data; var$15 = var$6[var$12 & (var$6.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$12) { k: { $var7 = var$15.$key; if ($rt_s(1243) !== $var7) { if ($rt_s(1243) === $var7) var$4 = 1; else if (!($var7 instanceof jl_String)) var$4 = 0; else { $var7 = $var7; var$4 = $rt_s(1243).$nativeString !== $var7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break k; } } var$4 = 1; } if (var$4) break; } var$15 = var$15.$next3; } } $var5 = (var$15 === null ? null : var$15.$value1).$data1; } var$15 = $par1Entity.$worldObj; $var7 = nms_EntityList_stringToConstructorMapping; if ($var5 === null) { $var6 = $var7.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { l: { if (!$var5.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $var5.$nativeString.length) break l; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$12 = $var5.$hashCode1; var$6 = $var7.$elementData.data; $var6 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$12) { m: { $var7 = $var6.$key; if ($var5 !== $var7) { if ($var5 === $var7) var$4 = 1; else if (!($var7 instanceof jl_String)) var$4 = 0; else { $var7 = $var7; var$4 = $var5.$nativeString !== $var7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break m; } } var$4 = 1; } if (var$4) break; } $var6 = $var6.$next3; } } $var7 = $var6 === null ? null : $var6.$value1; if ($var7 !== null) { $ptr = 3; continue main; } if (jl_System_errCache === null) { $var7 = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); jl_Object__init_($var7); $var7.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var8, 16); $var7.$sb = $var8; $var7.$buffer0 = $rt_createCharArray(32); $var7.$autoFlush = 0; $var7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var7; } $var7 = new jl_StringBuilder; $var7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var7, $var7.$length0, $var3); var$4 = $var7.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var7, var$4, $var5); jl_AbstractStringBuilder_insert($var7, $var7.$length0, $var4); $var8 = new jl_String; var$6 = $var7.$buffer; var$5 = var$6.data; var$12 = $var7.$length0; var$11 = var$5.length; if (var$12 < 0) break a; if (var$12 > (var$11 - 0 | 0)) break a; $var8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$12); $rt_putStderr($rt_ustr($var8)); $rt_putStderr($rt_ustr(var$7)); $var5 = null; if ($var5 !== null) { $var6 = new nms_NBTTagCompound; $var6.$name = $rt_s(18); $var7 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$5 = var$6.data; $var7.$elementData = var$6; $var7.$loadFactor = 0.75; $var7.$threshold = var$5.length * 0.75 | 0; $var6.$tagMap = $var7; var$17 = nms_EntityList_classToStringMapping; $var7 = $var5.constructor; if ($var7 === null) var$18 = null; else { var$18 = $var7.classObject; if (var$18 === null) { var$18 = new jl_Class; var$18.$platformClass = $var7; $var7.classObject = var$18; } } if (var$18 === null) { $var7 = var$17.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { $var7 = var$18; if (!$var7.$id$) $var7.$id$ = $rt_nextId(); var$12 = var$18.$id$; var$6 = var$17.$elementData.data; $var7 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$12) { $var8 = $var7.$key; if (var$18 !== $var8 && !(var$18 !== $var8 ? 0 : 1) ? 0 : 1) break; } $var7 = $var7.$next3; } } var$17 = $var7 === null ? null : $var7.$value1; if (!$var5.$isDead && var$17 !== null && $var5.$riddenByEntity === null) { var$15 = $var6.$tagMap; $var8 = new nms_NBTTagString; $var8.$name = $rt_s(1243); $var8.$data1 = var$17; ju_HashMap_putImpl(var$15, $rt_s(1243), $var8); nms_Entity_writeToNBT($var5, $var6); } $var7 = $var10.$tagMap; if ($var7.$cachedValues === null) { $var8 = new ju_HashMap$2; $var8.$this$01 = $var7; $var7.$cachedValues = $var8; } $var7 = $var7.$cachedValues.$iterator(); while ($var7.$hasNext()) { $var8 = $var7.$next(); var$17 = $var8.$name; if (var$17 === null) var$17 = $rt_s(18); $var8 = $var8.$copy(); var$15 = $var6.$tagMap; $var8.$name = var$17; ju_HashMap_putImpl(var$15, var$17, $var8); } $ptr = 4; continue main; } $var9 = $var5; } return $par1Entity; } $par1Entity = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1Entity); $rt_throw($par1Entity); case 3: $tmp = $var7.$apply(var$15); if ($rt_suspending()) { break main; } $var5 = $tmp; n: { while (true) { if ($var5 !== null) { $var6 = new nms_NBTTagCompound; $var6.$name = $rt_s(18); $var7 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$5 = var$6.data; $var7.$elementData = var$6; $var7.$loadFactor = 0.75; $var7.$threshold = var$5.length * 0.75 | 0; $var6.$tagMap = $var7; var$17 = nms_EntityList_classToStringMapping; $var7 = $var5.constructor; if ($var7 === null) var$18 = null; else { var$18 = $var7.classObject; if (var$18 === null) { var$18 = new jl_Class; var$18.$platformClass = $var7; $var7.classObject = var$18; } } if (var$18 === null) { $var7 = var$17.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { $var7 = var$18; if (!$var7.$id$) $var7.$id$ = $rt_nextId(); var$12 = var$18.$id$; var$6 = var$17.$elementData.data; $var7 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$12) { $var8 = $var7.$key; if (var$18 !== $var8 && !(var$18 !== $var8 ? 0 : 1) ? 0 : 1) break; } $var7 = $var7.$next3; } } var$17 = $var7 === null ? null : $var7.$value1; if (!$var5.$isDead && var$17 !== null && $var5.$riddenByEntity === null) { var$15 = $var6.$tagMap; $var8 = new nms_NBTTagString; $var8.$name = $rt_s(1243); $var8.$data1 = var$17; ju_HashMap_putImpl(var$15, $rt_s(1243), $var8); nms_Entity_writeToNBT($var5, $var6); } $var7 = $var10.$tagMap; if ($var7.$cachedValues === null) { $var8 = new ju_HashMap$2; $var8.$this$01 = $var7; $var7.$cachedValues = $var8; } $var7 = $var7.$cachedValues.$iterator(); while ($var7.$hasNext()) { $var8 = $var7.$next(); var$17 = $var8.$name; if (var$17 === null) var$17 = $rt_s(18); $var8 = $var8.$copy(); var$15 = $var6.$tagMap; $var8.$name = var$17; ju_HashMap_putImpl(var$15, var$17, $var8); } $ptr = 4; continue main; } $var9 = $var5; o: { $var7 = $var10.$tagMap; if (!$rt_s(1256).$hashCode1) { var$11 = 0; while (true) { if (var$11 >= $rt_s(1256).$nativeString.length) break o; $rt_s(1256).$hashCode1 = (31 * $rt_s(1256).$hashCode1 | 0) + $rt_s(1256).$nativeString.charCodeAt(var$11) | 0; var$11 = var$11 + 1 | 0; } } } var$12 = $rt_s(1256).$hashCode1; var$6 = $var7.$elementData.data; $var5 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$12) { a: { $var7 = $var5.$key; if ($rt_s(1256) !== $var7) { if ($rt_s(1256) !== $var7) { if ($var7 instanceof jl_String) { $var7 = $var7; var$4 = $rt_s(1256).$nativeString !== $var7.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break a; } } var$4 = 1; } if (var$4) break; } $var5 = $var5.$next3; } if (!($var5 === null ? 0 : 1)) break; p: { $var7 = $var10.$tagMap; if (!$rt_s(1256).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1256).$nativeString.length) break p; $rt_s(1256).$hashCode1 = (31 * $rt_s(1256).$hashCode1 | 0) + $rt_s(1256).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$11 = $rt_s(1256).$hashCode1; var$6 = $var7.$elementData.data; $var7 = var$6[var$11 & (var$6.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$11) { q: { $var8 = $var7.$key; if ($rt_s(1256) !== $var8) { if ($rt_s(1256) === $var8) var$4 = 1; else if (!($var8 instanceof jl_String)) var$4 = 0; else { $var8 = $var8; var$4 = $rt_s(1256).$nativeString !== $var8.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break q; } } var$4 = 1; } if (var$4) break; } $var7 = $var7.$next3; } if (!($var7 === null ? 0 : 1)) { $var10 = new nms_NBTTagCompound; if ($rt_s(1256) !== null) $var10.$name = $rt_s(1256); else $var10.$name = $rt_s(18); $var7 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; $var7.$elementData = var$5; $var7.$loadFactor = 0.75; $var7.$threshold = var$6.length * 0.75 | 0; $var10.$tagMap = $var7; } else { $var10 = $var10.$tagMap; if ($rt_s(1256) === null) { $var10 = $var10.$elementData.data[0]; while ($var10 !== null && $var10.$key !== null) { $var10 = $var10.$next3; } } else { r: { if (!$rt_s(1256).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1256).$nativeString.length) break r; $rt_s(1256).$hashCode1 = (31 * $rt_s(1256).$hashCode1 | 0) + $rt_s(1256).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$11 = $rt_s(1256).$hashCode1; var$6 = $var10.$elementData.data; $var10 = var$6[var$11 & (var$6.length - 1 | 0)]; while ($var10 !== null) { if ($var10.$origKeyHash == var$11) { s: { $var7 = $var10.$key; if ($rt_s(1256) !== $var7) { if ($rt_s(1256) === $var7) var$4 = 1; else if (!($var7 instanceof jl_String)) var$4 = 0; else { $var7 = $var7; var$4 = $rt_s(1256).$nativeString !== $var7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break s; } } var$4 = 1; } if (var$4) break; } $var10 = $var10.$next3; } } $var10 = $var10 === null ? null : $var10.$value1; } t: { $var7 = $var10.$tagMap; if (!$rt_s(1243).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1243).$nativeString.length) break t; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$12 = $rt_s(1243).$hashCode1; var$6 = $var7.$elementData.data; $var7 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$12) { h: { $var8 = $var7.$key; if ($rt_s(1243) !== $var8) { if ($rt_s(1243) === $var8) var$4 = 1; else if (!($var8 instanceof jl_String)) var$4 = 0; else { $var8 = $var8; var$4 = $rt_s(1243).$nativeString !== $var8.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break h; } } var$4 = 1; } if (var$4) break; } $var7 = $var7.$next3; } if (!($var7 === null ? 0 : 1)) $var5 = $rt_s(18); else { $var7 = $var10.$tagMap; if ($rt_s(1243) === null) { var$15 = $var7.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { u: { if (!$rt_s(1243).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1243).$nativeString.length) break u; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$12 = $rt_s(1243).$hashCode1; var$6 = $var7.$elementData.data; var$15 = var$6[var$12 & (var$6.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$12) { v: { $var7 = var$15.$key; if ($rt_s(1243) !== $var7) { if ($rt_s(1243) === $var7) var$4 = 1; else if (!($var7 instanceof jl_String)) var$4 = 0; else { $var7 = $var7; var$4 = $rt_s(1243).$nativeString !== $var7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break v; } } var$4 = 1; } if (var$4) break; } var$15 = var$15.$next3; } } $var5 = (var$15 === null ? null : var$15.$value1).$data1; } var$15 = $par1Entity.$worldObj; $var7 = nms_EntityList_stringToConstructorMapping; if ($var5 === null) { $var6 = $var7.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { w: { if (!$var5.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $var5.$nativeString.length) break w; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$12 = $var5.$hashCode1; var$6 = $var7.$elementData.data; $var6 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$12) { x: { $var7 = $var6.$key; if ($var5 !== $var7) { if ($var5 === $var7) var$4 = 1; else if (!($var7 instanceof jl_String)) var$4 = 0; else { $var7 = $var7; var$4 = $var5.$nativeString !== $var7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break x; } } var$4 = 1; } if (var$4) break; } $var6 = $var6.$next3; } } $var7 = $var6 === null ? null : $var6.$value1; if ($var7 !== null) { continue main; } if (jl_System_errCache === null) { $var7 = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); jl_Object__init_($var7); $var7.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var8, 16); $var7.$sb = $var8; $var7.$buffer0 = $rt_createCharArray(32); $var7.$autoFlush = 0; $var7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var7; } $var7 = new jl_StringBuilder; $var7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var7, $var7.$length0, $var3); var$4 = $var7.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var7, var$4, $var5); jl_AbstractStringBuilder_insert($var7, $var7.$length0, $var4); $var8 = new jl_String; var$6 = $var7.$buffer; var$5 = var$6.data; var$12 = $var7.$length0; var$11 = var$5.length; if (var$12 < 0) break n; if (var$12 > (var$11 - 0 | 0)) break n; $var8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$12); $rt_putStderr($rt_ustr($var8)); $rt_putStderr($rt_ustr(var$7)); $var5 = null; } return $par1Entity; } $par1Entity = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1Entity); $rt_throw($par1Entity); case 4: nms_Entity_readFromNBT($var5, $var6); if ($rt_suspending()) { break main; } var$19 = $var9.$posX; var$20 = $var9.$posY; var$21 = $var9.$posZ; var$22 = $var9.$rotationYaw; var$23 = $var9.$rotationPitch; $var5.$posX = var$19; $var5.$prevPosX = var$19; $var5.$lastTickPosX = var$19; var$20 = var$20 + $var5.$yOffset; $var5.$posY = var$20; $var5.$prevPosY = var$20; $var5.$lastTickPosY = var$20; $var5.$posZ = var$21; $var5.$prevPosZ = var$21; $var5.$lastTickPosZ = var$21; $var5.$rotationYaw = var$22; $var5.$rotationPitch = var$23; nms_Entity_setPosition($var5, var$19, var$20, var$21); $var7 = $par1Entity.$worldObj; if ($var7 !== null) { var$4 = nms_World_spawnEntityInWorld($var7, $var5); $var8 = $var7.$entityList; ju_HashMap_putImpl($var8.$backingMap, $var5, $var8); if (!var$4) { $var7 = $var7.$entitySpawnQueue; ju_HashMap_putImpl($var7.$backingMap, $var5, $var7); } } $ptr = 5; case 5: $var9.$mountEntity($var5); if ($rt_suspending()) { break main; } n: { while (true) { $var9 = $var5; o: { $var7 = $var10.$tagMap; if (!$rt_s(1256).$hashCode1) { var$11 = 0; while (true) { if (var$11 >= $rt_s(1256).$nativeString.length) break o; $rt_s(1256).$hashCode1 = (31 * $rt_s(1256).$hashCode1 | 0) + $rt_s(1256).$nativeString.charCodeAt(var$11) | 0; var$11 = var$11 + 1 | 0; } } } var$12 = $rt_s(1256).$hashCode1; var$6 = $var7.$elementData.data; $var5 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$12) { a: { $var7 = $var5.$key; if ($rt_s(1256) !== $var7) { if ($rt_s(1256) === $var7) var$4 = 1; else if ($var7 instanceof jl_String) { $var7 = $var7; var$4 = $rt_s(1256).$nativeString !== $var7.$nativeString ? 0 : 1; } else var$4 = 0; if (!var$4) { var$4 = 0; break a; } } var$4 = 1; } if (var$4) break; } $var5 = $var5.$next3; } if (!($var5 === null ? 0 : 1)) break; y: { $var7 = $var10.$tagMap; if (!$rt_s(1256).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1256).$nativeString.length) break y; $rt_s(1256).$hashCode1 = (31 * $rt_s(1256).$hashCode1 | 0) + $rt_s(1256).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$11 = $rt_s(1256).$hashCode1; var$6 = $var7.$elementData.data; $var7 = var$6[var$11 & (var$6.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$11) { z: { $var8 = $var7.$key; if ($rt_s(1256) !== $var8) { if ($rt_s(1256) !== $var8) { if ($var8 instanceof jl_String) { $var8 = $var8; var$4 = $rt_s(1256).$nativeString !== $var8.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break z; } } var$4 = 1; } if (var$4) break; } $var7 = $var7.$next3; } if ($var7 === null ? 0 : 1) { $var10 = $var10.$tagMap; if ($rt_s(1256) !== null) { ba: { if (!$rt_s(1256).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1256).$nativeString.length) break ba; $rt_s(1256).$hashCode1 = (31 * $rt_s(1256).$hashCode1 | 0) + $rt_s(1256).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$11 = $rt_s(1256).$hashCode1; var$6 = $var10.$elementData.data; $var10 = var$6[var$11 & (var$6.length - 1 | 0)]; while ($var10 !== null) { if ($var10.$origKeyHash == var$11) { bb: { $var7 = $var10.$key; if ($rt_s(1256) !== $var7) { if ($rt_s(1256) !== $var7) { if (!($var7 instanceof jl_String)) var$4 = 0; else { $var7 = $var7; var$4 = $rt_s(1256).$nativeString !== $var7.$nativeString ? 0 : 1; } } else var$4 = 1; if (!var$4) { var$4 = 0; break bb; } } var$4 = 1; } if (var$4) break; } $var10 = $var10.$next3; } } else { $var10 = $var10.$elementData.data[0]; while ($var10 !== null && $var10.$key !== null) { $var10 = $var10.$next3; } } $var10 = $var10 === null ? null : $var10.$value1; } else { $var10 = new nms_NBTTagCompound; if ($rt_s(1256) !== null) $var10.$name = $rt_s(1256); else $var10.$name = $rt_s(18); $var7 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$6 = var$5.data; $var7.$elementData = var$5; $var7.$loadFactor = 0.75; $var7.$threshold = var$6.length * 0.75 | 0; $var10.$tagMap = $var7; } bc: { $var7 = $var10.$tagMap; if (!$rt_s(1243).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1243).$nativeString.length) break bc; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$12 = $rt_s(1243).$hashCode1; var$6 = $var7.$elementData.data; $var7 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$12) { bd: { $var8 = $var7.$key; if ($rt_s(1243) !== $var8) { if ($rt_s(1243) !== $var8) { if (!($var8 instanceof jl_String)) var$4 = 0; else { $var8 = $var8; var$4 = $rt_s(1243).$nativeString !== $var8.$nativeString ? 0 : 1; } } else var$4 = 1; if (!var$4) { var$4 = 0; break bd; } } var$4 = 1; } if (var$4) break; } $var7 = $var7.$next3; } if (!($var7 === null ? 0 : 1)) $var5 = $rt_s(18); else { $var7 = $var10.$tagMap; if ($rt_s(1243) === null) { var$15 = $var7.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { be: { if (!$rt_s(1243).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(1243).$nativeString.length) break be; $rt_s(1243).$hashCode1 = (31 * $rt_s(1243).$hashCode1 | 0) + $rt_s(1243).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$12 = $rt_s(1243).$hashCode1; var$6 = $var7.$elementData.data; var$15 = var$6[var$12 & (var$6.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$12) { u: { $var7 = var$15.$key; if ($rt_s(1243) !== $var7) { if ($rt_s(1243) === $var7) var$4 = 1; else if (!($var7 instanceof jl_String)) var$4 = 0; else { $var7 = $var7; var$4 = $rt_s(1243).$nativeString !== $var7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break u; } } var$4 = 1; } if (var$4) break; } var$15 = var$15.$next3; } } $var5 = (var$15 === null ? null : var$15.$value1).$data1; } var$15 = $par1Entity.$worldObj; $var7 = nms_EntityList_stringToConstructorMapping; if ($var5 === null) { $var6 = $var7.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { bf: { if (!$var5.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $var5.$nativeString.length) break bf; $var5.$hashCode1 = (31 * $var5.$hashCode1 | 0) + $var5.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$12 = $var5.$hashCode1; var$6 = $var7.$elementData.data; $var6 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$12) { w: { $var7 = $var6.$key; if ($var5 !== $var7) { if ($var5 === $var7) var$4 = 1; else if (!($var7 instanceof jl_String)) var$4 = 0; else { $var7 = $var7; var$4 = $var5.$nativeString !== $var7.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break w; } } var$4 = 1; } if (var$4) break; } $var6 = $var6.$next3; } } $var7 = $var6 === null ? null : $var6.$value1; if ($var7 !== null) { $ptr = 3; continue main; } if (jl_System_errCache === null) { $var7 = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); jl_Object__init_($var7); $var7.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var8, 16); $var7.$sb = $var8; $var7.$buffer0 = $rt_createCharArray(32); $var7.$autoFlush = 0; $var7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var7; } $var7 = new jl_StringBuilder; $var7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var7, $var7.$length0, $var3); var$4 = $var7.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert($var7, var$4, $var5); jl_AbstractStringBuilder_insert($var7, $var7.$length0, $var4); $var8 = new jl_String; var$6 = $var7.$buffer; var$5 = var$6.data; var$12 = $var7.$length0; var$11 = var$5.length; if (var$12 < 0) break n; if (var$12 > (var$11 - 0 | 0)) break n; $var8.$nativeString = $rt_charArrayToString(var$6.data, 0, var$12); $rt_putStderr($rt_ustr($var8)); $rt_putStderr($rt_ustr(var$7)); $var5 = null; if ($var5 === null) continue; else { $var6 = new nms_NBTTagCompound; $var6.$name = $rt_s(18); $var7 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$5 = var$6.data; $var7.$elementData = var$6; $var7.$loadFactor = 0.75; $var7.$threshold = var$5.length * 0.75 | 0; $var6.$tagMap = $var7; var$17 = nms_EntityList_classToStringMapping; $var7 = $var5.constructor; if ($var7 === null) var$18 = null; else { var$18 = $var7.classObject; if (var$18 === null) { var$18 = new jl_Class; var$18.$platformClass = $var7; $var7.classObject = var$18; } } if (var$18 === null) { $var7 = var$17.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { $var7 = var$18; if (!$var7.$id$) $var7.$id$ = $rt_nextId(); var$12 = var$18.$id$; var$6 = var$17.$elementData.data; $var7 = var$6[var$12 & (var$6.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$12) { $var8 = $var7.$key; if (var$18 !== $var8 && !(var$18 !== $var8 ? 0 : 1) ? 0 : 1) break; } $var7 = $var7.$next3; } } var$17 = $var7 === null ? null : $var7.$value1; if (!$var5.$isDead && var$17 !== null && $var5.$riddenByEntity === null) { var$15 = $var6.$tagMap; $var8 = new nms_NBTTagString; $var8.$name = $rt_s(1243); $var8.$data1 = var$17; ju_HashMap_putImpl(var$15, $rt_s(1243), $var8); nms_Entity_writeToNBT($var5, $var6); } $var7 = $var10.$tagMap; if ($var7.$cachedValues === null) { $var8 = new ju_HashMap$2; $var8.$this$01 = $var7; $var7.$cachedValues = $var8; } $var7 = $var7.$cachedValues.$iterator(); while ($var7.$hasNext()) { $var8 = $var7.$next(); var$17 = $var8.$name; if (var$17 === null) var$17 = $rt_s(18); $var8 = $var8.$copy(); var$15 = $var6.$tagMap; $var8.$name = var$17; ju_HashMap_putImpl(var$15, var$17, $var8); } $ptr = 4; continue main; } } return $par1Entity; } $par1Entity = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1Entity); $rt_throw($par1Entity); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, $var3, $var10, var$4, var$5, var$6, var$7, $var4, $var7, $var9, var$11, var$12, $var5, $var8, var$15, $var6, var$17, var$18, var$19, var$20, var$21, var$22, var$23, $ptr); }, nms_MobSpawnerBaseLogic_func_98273_j = $this => { let $var10003, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var10003 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var10003 = $this.$maxSpawnDelay; var$2 = $this.$minSpawnDelay; if ($var10003 <= var$2) $this.$spawnDelay = var$2; else { $var10003 = $var10003 - var$2 | 0; var$3 = ($this.$getSpawnerWorld()).$rand0; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); var$6 = $var10003 - 1 | 0; if (!($var10003 & var$6)) var$7 = Long_lo(Long_shr(Long_mul(Long_fromInt($var10003), Long_fromInt(var$5)), 31)); else while (true) { var$7 = var$5 % $var10003 | 0; if (((var$5 - var$7 | 0) + var$6 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } $this.$spawnDelay = var$2 + var$7 | 0; } a: { var$3 = $this.$minecartToSpawn; if (var$3 !== null && var$3.$size0 > 0) { var$3 = ($this.$getSpawnerWorld()).$rand0; var$8 = $this.$minecartToSpawn; var$6 = 0; var$7 = 0; var$5 = var$8.$modCount; var$9 = var$8.$size(); while (true) { if (!(var$7 >= var$9 ? 0 : 1)) { if (var$6 <= 0) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var10003 = Long_lo(Long_shru(var$4, 17)); var$5 = var$6 - 1 | 0; if (!(var$6 & var$5)) var$9 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$6), Long_fromInt($var10003)), 31)); else while (true) { var$9 = $var10003 % var$6 | 0; if ((($var10003 - var$9 | 0) + var$5 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var10003 = Long_lo(Long_shru(var$4, 17)); } var$5 = 0; $var10003 = var$8.$modCount; var$2 = var$8.$size(); b: { while (true) { if (!(var$5 >= var$2 ? 0 : 1)) { var$3 = null; break b; } if ($var10003 < var$8.$modCount) { var$3 = new ju_ConcurrentModificationException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$6 = var$5 + 1 | 0; var$3 = var$8.$get(var$5); var$9 = var$9 - var$3.$itemWeight | 0; if (var$9 < 0) break; var$5 = var$6; } } $this.$setRandomMinecart(var$3); break a; } if (var$5 < var$8.$modCount) break; var$2 = var$7 + 1 | 0; var$6 = var$6 + (var$8.$get(var$7)).$itemWeight | 0; var$7 = var$2; } var$3 = new ju_ConcurrentModificationException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } } $var10003 = 1; $ptr = 1; case 1: $this.$func_98267_a($var10003); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var10003, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_MobSpawnerBaseLogic_readFromNBT = ($this, $par1NBTTagCompound) => { let $var2, $var3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; a: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3545).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3545).$nativeString.length) break a; $rt_s(3545).$hashCode1 = (31 * $rt_s(3545).$hashCode1 | 0) + $rt_s(3545).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(3545).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[$var3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { b: { var$5 = $var2.$key; if ($rt_s(3545) !== var$5) { if ($rt_s(3545) === var$5) var$6 = 1; else if (!(var$5 instanceof jl_String)) var$6 = 0; else { var$5 = var$5; var$6 = $rt_s(3545).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) var$7 = $rt_s(18); else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3545) !== null) { c: { if (!$rt_s(3545).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(3545).$nativeString.length) break c; $rt_s(3545).$hashCode1 = (31 * $rt_s(3545).$hashCode1 | 0) + $rt_s(3545).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } $var3 = $rt_s(3545).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[$var3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { d: { var$5 = $var2.$key; if ($rt_s(3545) !== var$5) { if ($rt_s(3545) === var$5) var$6 = 1; else if (var$5 instanceof jl_String) { var$5 = var$5; var$6 = $rt_s(3545).$nativeString !== var$5.$nativeString ? 0 : 1; } else var$6 = 0; if (!var$6) { var$6 = 0; break d; } } var$6 = 1; } if (var$6) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } var$7 = ($var2 === null ? null : $var2.$value1).$data1; } e: { $this.$mobID = var$7; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3546).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3546).$nativeString.length) break e; $rt_s(3546).$hashCode1 = (31 * $rt_s(3546).$hashCode1 | 0) + $rt_s(3546).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3546).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { f: { var$5 = $var2.$key; if ($rt_s(3546) !== var$5) { if ($rt_s(3546) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(3546).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break f; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3546) !== null) { g: { if (!$rt_s(3546).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3546).$nativeString.length) break g; $rt_s(3546).$hashCode1 = (31 * $rt_s(3546).$hashCode1 | 0) + $rt_s(3546).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3546).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { h: { var$5 = $var2.$key; if ($rt_s(3546) !== var$5) { if ($rt_s(3546) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(3546).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break h; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data2; } i: { $this.$spawnDelay = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3547).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3547).$nativeString.length) break i; $rt_s(3547).$hashCode1 = (31 * $rt_s(3547).$hashCode1 | 0) + $rt_s(3547).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3547).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { j: { var$5 = $var2.$key; if ($rt_s(3547) !== var$5) { if ($rt_s(3547) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(3547).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break j; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } $var3 = $var2 === null ? 0 : 1; k: { if (!$var3) $this.$minecartToSpawn = null; else { l: { var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); $this.$minecartToSpawn = var$7; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3547).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3547).$nativeString.length) break l; $rt_s(3547).$hashCode1 = (31 * $rt_s(3547).$hashCode1 | 0) + $rt_s(3547).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3547).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { m: { var$5 = $var2.$key; if ($rt_s(3547) !== var$5) { if ($rt_s(3547) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(3547).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break m; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) { $var2 = new nms_NBTTagList; if ($rt_s(3547) !== null) $var2.$name = $rt_s(3547); else $var2.$name = $rt_s(18); var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = var$7; } else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3547) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { n: { if (!$rt_s(3547).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3547).$nativeString.length) break n; $rt_s(3547).$hashCode1 = (31 * $rt_s(3547).$hashCode1 | 0) + $rt_s(3547).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3547).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { o: { var$5 = $var2.$key; if ($rt_s(3547) !== var$5) { if ($rt_s(3547) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3547).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break o; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; } $var3 = 0; while (true) { var$9 = $var2.$tagList; var$6 = $rt_compare($var3, var$9.$size0); if (var$6 >= 0) break; var$7 = $this.$minecartToSpawn; var$5 = new nms_WeightedRandomMinecart; if ($var3 < 0) break k; if (var$6 >= 0) break k; nms_WeightedRandomMinecart__init_(var$5, $this, var$9.$array.data[$var3]); ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$4 = var$7.$array.data; var$8 = var$7.$size0; var$7.$size0 = var$8 + 1 | 0; var$4[var$8] = var$5; var$7.$modCount = var$7.$modCount + 1 | 0; $var3 = $var3 + 1 | 0; } } p: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3548).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3548).$nativeString.length) break p; $rt_s(3548).$hashCode1 = (31 * $rt_s(3548).$hashCode1 | 0) + $rt_s(3548).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3548).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { q: { var$5 = $var2.$key; if ($rt_s(3548) !== var$5) { if ($rt_s(3548) !== var$5) { if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3548).$nativeString !== var$5.$nativeString ? 0 : 1; } } else $var3 = 1; if (!$var3) { $var3 = 0; break q; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { r: { var$7 = new nms_WeightedRandomMinecart; var$5 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3548).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3548).$nativeString.length) break r; $rt_s(3548).$hashCode1 = (31 * $rt_s(3548).$hashCode1 | 0) + $rt_s(3548).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3548).$hashCode1; var$4 = var$5.$elementData.data; var$5 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$8) { s: { var$9 = var$5.$key; if ($rt_s(3548) !== var$9) { if ($rt_s(3548) !== var$9) { if (var$9 instanceof jl_String) { var$9 = var$9; $var3 = $rt_s(3548).$nativeString !== var$9.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break s; } } $var3 = 1; } if ($var3) break; } var$5 = var$5.$next3; } if (var$5 === null ? 0 : 1) { var$5 = $par1NBTTagCompound.$tagMap; if ($rt_s(3548) === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { t: { if (!$rt_s(3548).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3548).$nativeString.length) break t; $rt_s(3548).$hashCode1 = (31 * $rt_s(3548).$hashCode1 | 0) + $rt_s(3548).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3548).$hashCode1; var$4 = var$5.$elementData.data; var$5 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$8) { u: { var$9 = var$5.$key; if ($rt_s(3548) !== var$9) { if ($rt_s(3548) === var$9) $var3 = 1; else if (!(var$9 instanceof jl_String)) $var3 = 0; else { var$9 = var$9; $var3 = $rt_s(3548).$nativeString !== var$9.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break u; } } $var3 = 1; } if ($var3) break; } var$5 = var$5.$next3; } } var$10 = var$5 === null ? null : var$5.$value1; } else { var$10 = new nms_NBTTagCompound; if ($rt_s(3548) !== null) var$10.$name = $rt_s(3548); else var$10.$name = $rt_s(18); $var2 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $var2.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$4 = var$11.data; $var2.$elementData = var$11; $var2.$loadFactor = 0.75; $var2.$threshold = var$4.length * 0.75 | 0; var$10.$tagMap = $var2; } $var2 = $this.$mobID; var$7.$itemWeight = 1; var$7.$field_98221_d = $this; if ($var2 === $rt_s(3544)) $var3 = 1; else if (!($rt_s(3544) instanceof jl_String)) $var3 = 0; else { var$5 = $rt_s(3544); $var3 = $var2.$nativeString !== var$5.$nativeString ? 0 : 1; } if ($var3) { if (var$10 === null) $var2 = $rt_s(2731); else { v: { var$9 = var$10.$tagMap; if (!$rt_s(2446).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2446).$nativeString.length) break v; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(2446).$hashCode1; var$4 = var$9.$elementData.data; var$9 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$8) { w: { var$12 = var$9.$key; if ($rt_s(2446) !== var$12) { if ($rt_s(2446) === var$12) $var3 = 1; else if (!(var$12 instanceof jl_String)) $var3 = 0; else { var$12 = var$12; $var3 = $rt_s(2446).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break w; } } $var3 = 1; } if ($var3) break; } var$9 = var$9.$next3; } if (!(var$9 === null ? 0 : 1)) $var3 = 0; else { var$9 = var$10.$tagMap; if ($rt_s(2446) !== null) { x: { if (!$rt_s(2446).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2446).$nativeString.length) break x; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(2446).$hashCode1; var$4 = var$9.$elementData.data; var$9 = var$4[var$8 & (var$4.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$8) { y: { var$12 = var$9.$key; if ($rt_s(2446) !== var$12) { if ($rt_s(2446) !== var$12) { if (!(var$12 instanceof jl_String)) $var3 = 0; else { var$12 = var$12; $var3 = $rt_s(2446).$nativeString !== var$12.$nativeString ? 0 : 1; } } else $var3 = 1; if (!$var3) { $var3 = 0; break y; } } $var3 = 1; } if ($var3) break; } var$9 = var$9.$next3; } } else { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } $var3 = (var$9 === null ? null : var$9.$value1).$data0; } z: { switch ($var3) { case 0: $var2 = $rt_s(2731); break z; case 1: $var2 = $rt_s(2732); break z; case 2: $var2 = $rt_s(2733); break z; default: } } } } var$7.$field_98222_b = var$10; var$7.$minecartName = $var2; $this.$setRandomMinecart(var$7); } else $this.$setRandomMinecart(null); ba: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3549).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3549).$nativeString.length) break ba; $rt_s(3549).$hashCode1 = (31 * $rt_s(3549).$hashCode1 | 0) + $rt_s(3549).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3549).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bb: { var$5 = $var2.$key; if ($rt_s(3549) !== var$5) { if ($rt_s(3549) === var$5) $var3 = 1; else if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(3549).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; if (!$var3) { $var3 = 0; break bb; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { bc: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3549).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3549).$nativeString.length) break bc; $rt_s(3549).$hashCode1 = (31 * $rt_s(3549).$hashCode1 | 0) + $rt_s(3549).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3549).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bd: { var$5 = $var2.$key; if ($rt_s(3549) !== var$5) { if ($rt_s(3549) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3549).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bd; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3549) !== null) { be: { if (!$rt_s(3549).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3549).$nativeString.length) break be; $rt_s(3549).$hashCode1 = (31 * $rt_s(3549).$hashCode1 | 0) + $rt_s(3549).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3549).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bf: { var$5 = $var2.$key; if ($rt_s(3549) !== var$5) { if ($rt_s(3549) !== var$5) { if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3549).$nativeString !== var$5.$nativeString ? 0 : 1; } } else $var3 = 1; if (!$var3) { $var3 = 0; break bf; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data2; } bg: { $this.$minSpawnDelay = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3550).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3550).$nativeString.length) break bg; $rt_s(3550).$hashCode1 = (31 * $rt_s(3550).$hashCode1 | 0) + $rt_s(3550).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3550).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bh: { var$5 = $var2.$key; if ($rt_s(3550) !== var$5) { if ($rt_s(3550) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(3550).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break bh; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3550) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { bi: { if (!$rt_s(3550).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3550).$nativeString.length) break bi; $rt_s(3550).$hashCode1 = (31 * $rt_s(3550).$hashCode1 | 0) + $rt_s(3550).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3550).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bj: { var$5 = $var2.$key; if ($rt_s(3550) !== var$5) { if ($rt_s(3550) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(3550).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break bj; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data2; } else $var3 = 0; bk: { $this.$maxSpawnDelay = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3551).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3551).$nativeString.length) break bk; $rt_s(3551).$hashCode1 = (31 * $rt_s(3551).$hashCode1 | 0) + $rt_s(3551).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3551).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bl: { var$5 = $var2.$key; if ($rt_s(3551) !== var$5) { if ($rt_s(3551) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3551).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bl; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3551) !== null) { bm: { if (!$rt_s(3551).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3551).$nativeString.length) break bm; $rt_s(3551).$hashCode1 = (31 * $rt_s(3551).$hashCode1 | 0) + $rt_s(3551).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3551).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bn: { var$5 = $var2.$key; if ($rt_s(3551) !== var$5) { if ($rt_s(3551) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(3551).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break bn; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data2; } else $var3 = 0; $this.$spawnCount = $var3; } bo: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3552).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3552).$nativeString.length) break bo; $rt_s(3552).$hashCode1 = (31 * $rt_s(3552).$hashCode1 | 0) + $rt_s(3552).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3552).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bp: { var$5 = $var2.$key; if ($rt_s(3552) !== var$5) { if ($rt_s(3552) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3552).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bp; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { bq: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3552).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3552).$nativeString.length) break bq; $rt_s(3552).$hashCode1 = (31 * $rt_s(3552).$hashCode1 | 0) + $rt_s(3552).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3552).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { br: { var$5 = $var2.$key; if ($rt_s(3552) !== var$5) { if ($rt_s(3552) !== var$5) { if (var$5 instanceof jl_String) { var$5 = var$5; $var3 = $rt_s(3552).$nativeString !== var$5.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break br; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3552) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { bs: { if (!$rt_s(3552).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3552).$nativeString.length) break bs; $rt_s(3552).$hashCode1 = (31 * $rt_s(3552).$hashCode1 | 0) + $rt_s(3552).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3552).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bt: { var$5 = $var2.$key; if ($rt_s(3552) !== var$5) { if ($rt_s(3552) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3552).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bt; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data2; } bu: { $this.$maxNearbyEntities = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3553).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3553).$nativeString.length) break bu; $rt_s(3553).$hashCode1 = (31 * $rt_s(3553).$hashCode1 | 0) + $rt_s(3553).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3553).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bv: { var$5 = $var2.$key; if ($rt_s(3553) !== var$5) { if ($rt_s(3553) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3553).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bv; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3553) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { bw: { if (!$rt_s(3553).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3553).$nativeString.length) break bw; $rt_s(3553).$hashCode1 = (31 * $rt_s(3553).$hashCode1 | 0) + $rt_s(3553).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3553).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bx: { var$5 = $var2.$key; if ($rt_s(3553) !== var$5) { if ($rt_s(3553) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3553).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bx; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data2; } $this.$activatingRangeFromPlayer = $var3; } by: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3554).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3554).$nativeString.length) break by; $rt_s(3554).$hashCode1 = (31 * $rt_s(3554).$hashCode1 | 0) + $rt_s(3554).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3554).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bz: { var$5 = $var2.$key; if ($rt_s(3554) !== var$5) { if ($rt_s(3554) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3554).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bz; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { bA: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3554).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3554).$nativeString.length) break bA; $rt_s(3554).$hashCode1 = (31 * $rt_s(3554).$hashCode1 | 0) + $rt_s(3554).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3554).$hashCode1; var$4 = $var2.$elementData.data; $var2 = var$4[var$8 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$8) { bB: { var$5 = $var2.$key; if ($rt_s(3554) !== var$5) { if ($rt_s(3554) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3554).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bB; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(3554) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { bC: { if (!$rt_s(3554).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3554).$nativeString.length) break bC; $rt_s(3554).$hashCode1 = (31 * $rt_s(3554).$hashCode1 | 0) + $rt_s(3554).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$8 = $rt_s(3554).$hashCode1; var$4 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$4[var$8 & (var$4.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$8) { bD: { $var2 = $par1NBTTagCompound.$key; if ($rt_s(3554) !== $var2) { if ($rt_s(3554) === $var2) $var3 = 1; else if (!($var2 instanceof jl_String)) $var3 = 0; else { $var2 = $var2; $var3 = $rt_s(3554).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bD; } } $var3 = 1; } if ($var3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $var3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data2; } $this.$spawnRange = $var3; } if ($this.$getSpawnerWorld() !== null && ($this.$getSpawnerWorld()).$isRemote) $this.$field_98291_j = null; return; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); }, nms_MobSpawnerBaseLogic_writeToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, $var4, $var2, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $var3$index, $var3$index_0, var$15, var$16; var$2 = nms_MobSpawnerBaseLogic_getEntityNameToSpawn($this); var$3 = $par1NBTTagCompound.$tagMap; $var4 = new nms_NBTTagString; $var4.$name = $rt_s(3545); $var4.$data1 = var$2; if (var$2 === null) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $var2.$message = $rt_s(186); $rt_throw($var2); } ju_HashMap_putImpl(var$3, $rt_s(3545), $var4); var$6 = $this.$spawnDelay << 16 >> 16; $var4 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagShort; var$2.$name = $rt_s(3546); var$2.$data2 = var$6; ju_HashMap_putImpl($var4, $rt_s(3546), var$2); var$6 = $this.$minSpawnDelay << 16 >> 16; $var4 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagShort; var$2.$name = $rt_s(3549); var$2.$data2 = var$6; ju_HashMap_putImpl($var4, $rt_s(3549), var$2); var$6 = $this.$maxSpawnDelay << 16 >> 16; $var4 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagShort; var$2.$name = $rt_s(3550); var$2.$data2 = var$6; ju_HashMap_putImpl($var4, $rt_s(3550), var$2); var$6 = $this.$spawnCount << 16 >> 16; $var4 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagShort; var$2.$name = $rt_s(3551); var$2.$data2 = var$6; ju_HashMap_putImpl($var4, $rt_s(3551), var$2); var$6 = $this.$maxNearbyEntities << 16 >> 16; $var4 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagShort; var$2.$name = $rt_s(3552); var$2.$data2 = var$6; ju_HashMap_putImpl($var4, $rt_s(3552), var$2); var$6 = $this.$activatingRangeFromPlayer << 16 >> 16; $var4 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagShort; var$2.$name = $rt_s(3553); var$2.$data2 = var$6; ju_HashMap_putImpl($var4, $rt_s(3553), var$2); var$6 = $this.$spawnRange << 16 >> 16; $var4 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagShort; var$2.$name = $rt_s(3554); var$2.$data2 = var$6; ju_HashMap_putImpl($var4, $rt_s(3554), var$2); var$2 = $this.$randomMinecart; if (var$2 !== null) { var$7 = var$2.$field_98222_b; var$8 = new nms_NBTTagCompound; var$2 = var$7.$name; if (var$2 === null) var$2 = $rt_s(18); var$8.$name = var$2; var$2 = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$10 = var$9.data; var$2.$elementData = var$9; var$2.$loadFactor = 0.75; var$2.$threshold = var$10.length * 0.75 | 0; var$8.$tagMap = var$2; $var4 = var$7.$tagMap; if ($var4.$cachedKeySet === null) { var$2 = new ju_HashMap$1; var$2.$this$0 = $var4; $var4.$cachedKeySet = var$2; } var$11 = $var4.$cachedKeySet.$iterator(); while (var$11.$hasNext()) { var$12 = var$11.$next(); var$2 = var$7.$tagMap; if (var$12 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { a: { if (!var$12.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$12.$nativeString.length) break a; var$12.$hashCode1 = (31 * var$12.$hashCode1 | 0) + var$12.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } $var3$index = var$12.$hashCode1; var$10 = var$2.$elementData.data; var$2 = var$10[$var3$index & (var$10.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var3$index) { b: { $var4 = var$2.$key; if (var$12 !== $var4) { if (var$12 === $var4) var$6 = 1; else if (!($var4 instanceof jl_String)) var$6 = 0; else { $var4 = $var4; var$6 = var$12.$nativeString !== $var4.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; var$2 = var$2.$copy(); $var4 = var$8.$tagMap; if (var$12 !== null) var$2.$name = var$12; else var$2.$name = $rt_s(18); ju_HashMap_putImpl($var4, var$12, var$2); } var$2 = $par1NBTTagCompound.$tagMap; var$8.$name = $rt_s(3548); ju_HashMap_putImpl(var$2, $rt_s(3548), var$8); } c: { $var4 = $this.$randomMinecart; if ($var4 === null) { $var2 = $this.$minecartToSpawn; if ($var2 === null) break c; if ($var2.$size0 <= 0) break c; } $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = var$2; var$2 = $this.$minecartToSpawn; if (var$2 !== null && var$2.$size0 > 0) { $var3$index_0 = 0; var$15 = var$2.$modCount; var$16 = var$2.$size(); while ($var3$index_0 >= var$16 ? 0 : 1) { if (var$15 < var$2.$modCount) { $par1NBTTagCompound = new ju_ConcurrentModificationException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); } $var3$index = $var3$index_0 + 1 | 0; $var4 = var$2.$get($var3$index_0); var$3 = new nms_NBTTagCompound; var$3.$name = $rt_s(18); var$11 = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); var$11.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$10 = var$9.data; var$11.$elementData = var$9; var$11.$loadFactor = 0.75; var$11.$threshold = var$10.length * 0.75 | 0; var$3.$tagMap = var$11; var$8 = $var4.$field_98222_b; var$8.$name = $rt_s(3555); ju_HashMap_putImpl(var$11, $rt_s(3555), var$8); var$8 = $var4.$minecartName; var$12 = var$3.$tagMap; var$11 = new nms_NBTTagString; var$11.$name = $rt_s(2446); var$11.$data1 = var$8; if (var$8 === null) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $var2.$message = $rt_s(186); $rt_throw($var2); } ju_HashMap_putImpl(var$12, $rt_s(2446), var$11); var$6 = $var4.$itemWeight; var$8 = var$3.$tagMap; $var4 = new nms_NBTTagInt; $var4.$name = $rt_s(3556); $var4.$data0 = var$6; ju_HashMap_putImpl(var$8, $rt_s(3556), $var4); $var2.$tagType = 10; $var4 = $var2.$tagList; ju_ArrayList_ensureCapacity($var4, $var4.$size0 + 1 | 0); var$10 = $var4.$array.data; $var3$index_0 = $var4.$size0; $var4.$size0 = $var3$index_0 + 1 | 0; var$10[$var3$index_0] = var$3; $var4.$modCount = $var4.$modCount + 1 | 0; $var3$index_0 = $var3$index; } } else { var$2 = new nms_NBTTagCompound; var$2.$name = $rt_s(18); var$3 = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$10 = var$9.data; var$3.$elementData = var$9; var$3.$loadFactor = 0.75; var$3.$threshold = var$10.length * 0.75 | 0; var$2.$tagMap = var$3; var$8 = $var4.$field_98222_b; var$8.$name = $rt_s(3555); ju_HashMap_putImpl(var$3, $rt_s(3555), var$8); var$7 = $var4.$minecartName; var$11 = var$2.$tagMap; var$8 = new nms_NBTTagString; var$8.$name = $rt_s(2446); var$8.$data1 = var$7; if (var$7 === null) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $var2.$message = $rt_s(186); $rt_throw($var2); } ju_HashMap_putImpl(var$11, $rt_s(2446), var$8); var$6 = $var4.$itemWeight; var$7 = var$2.$tagMap; $var4 = new nms_NBTTagInt; $var4.$name = $rt_s(3556); $var4.$data0 = var$6; ju_HashMap_putImpl(var$7, $rt_s(3556), $var4); $var2.$tagType = 10; $var4 = $var2.$tagList; ju_ArrayList_ensureCapacity($var4, $var4.$size0 + 1 | 0); var$10 = $var4.$array.data; $var3$index_0 = $var4.$size0; $var4.$size0 = $var3$index_0 + 1 | 0; var$10[$var3$index_0] = var$2; $var4.$modCount = $var4.$modCount + 1 | 0; } $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; $var2.$name = $rt_s(3547); ju_HashMap_putImpl($par1NBTTagCompound, $rt_s(3547), $var2); } }, nms_MobSpawnerBaseLogic_func_98281_h = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$field_98291_j !== null) return $this.$field_98291_j; $var1 = $this.$randomMinecart; if ($var1 !== null) var$2 = $var1.$minecartName; else { var$2 = $this.$mobID; if (var$2 === $rt_s(3544)) var$3 = 1; else if (!($rt_s(3544) instanceof jl_String)) var$3 = 0; else { $var1 = $rt_s(3544); var$3 = var$2.$nativeString !== $var1.$nativeString ? 0 : 1; } if (var$3) $this.$mobID = $rt_s(2731); var$2 = $this.$mobID; } $var1 = null; nms_EntityList_$callClinit(); var$4 = nms_EntityList_stringToConstructorMapping; if (var$2 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { if (!var$2.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$2.$nativeString.length) break a; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = var$2.$hashCode1; var$6 = var$4.$elementData.data; var$4 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$5) { b: { var$7 = var$4.$key; if (var$2 !== var$7) { if (var$2 === var$7) var$3 = 1; else if (!(var$7 instanceof jl_String)) var$3 = 0; else { var$7 = var$7; var$3 = var$2.$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; if (var$4 !== null) { $ptr = 1; continue main; } if (jl_System_errCache === null) { $var1 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); jl_Object__init_($var1); $var1.$out0 = var$4; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4, 16); $var1.$sb = var$4; $var1.$buffer0 = $rt_createCharArray(32); $var1.$autoFlush = 0; $var1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var1; } $var1 = new jl_StringBuilder; $var1.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(1261)); var$3 = $var1.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert($var1, var$3, var$2); jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(1262)); var$2 = new jl_String; var$6 = $var1.$buffer; var$8 = var$6.data; var$9 = $var1.$length0; var$5 = var$8.length; if (var$9 >= 0 && var$9 <= (var$5 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$6.data, 0, var$9); $rt_putStderr($rt_ustr(var$2)); $rt_putStderr("\n"); $var1 = null; $ptr = 2; continue main; } $var1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var1); $rt_throw($var1); case 1: $tmp = var$4.$apply($var1); if ($rt_suspending()) { break main; } $var1 = $tmp; $ptr = 2; case 2: $tmp = nms_MobSpawnerBaseLogic_func_98265_a($this, $var1); if ($rt_suspending()) { break main; } $var1 = $tmp; $this.$field_98291_j = $var1; return $this.$field_98291_j; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_MobSpawnerBaseLogic_getRandomMinecart = $this => { return $this.$randomMinecart; }, nms_MobSpawnerBaseLogic_setRandomMinecart = ($this, $par1WeightedRandomMinecart) => { $this.$randomMinecart = $par1WeightedRandomMinecart; }, jm_Division = $rt_classWithoutFields(), jm_Division__init_ = $this => { return; }, jm_Division__init_0 = () => { let var_0 = new jm_Division(); jm_Division__init_(var_0); return var_0; }, jm_Division_divide = ($quot, $quotLength, $a, $j, $b, $bLength) => { let var$7, $normA, $normB, $borrow, $divisorShift, $firstDivisorDigit, $i, var$14, var$15, var$16, $res, $rem, $rOverflowed, $product, $carry, $longR, $k; var$7 = $b.data; $normA = $rt_createIntArray($j + 1 | 0); $normB = $rt_createIntArray($bLength + 1 | 0); $borrow = $bLength - 1 | 0; $divisorShift = jl_Integer_numberOfLeadingZeros(var$7[$borrow]); if ($divisorShift) { jm_BitLevel_shiftLeft($normB, $b, 0, $divisorShift); jm_BitLevel_shiftLeft($normA, $a, 0, $divisorShift); } else { jl_System_fastArraycopy($a, 0, $normA, 0, $j); jl_System_fastArraycopy($b, 0, $normB, 0, $bLength); } var$7 = $normB.data; $b = $normA.data; $firstDivisorDigit = var$7[$borrow]; $i = $quotLength - 1 | 0; var$14 = $bLength - 2 | 0; var$15 = Long_and(Long_fromInt($firstDivisorDigit), Long_create(4294967295, 0)); while ($i >= 0) { a: { if ($b[$j] == $firstDivisorDigit) var$16 = (-1); else { $res = jm_Division_divideLongByInt(Long_add(Long_shl(Long_and(Long_fromInt($b[$j]), Long_create(4294967295, 0)), 32), Long_and(Long_fromInt($b[$j - 1 | 0]), Long_create(4294967295, 0))), $firstDivisorDigit); var$16 = Long_lo($res); $rem = Long_hi($res); if (var$16) { $rOverflowed = 0; var$16 = var$16 + 1 | 0; while (true) { var$16 = var$16 + (-1) | 0; if ($rOverflowed) break; $product = Long_mul(Long_and(Long_fromInt(var$16), Long_create(4294967295, 0)), Long_and(Long_fromInt(var$7[var$14]), Long_create(4294967295, 0))); $carry = Long_fromInt($rem); $res = Long_add(Long_shl($carry, 32), Long_and(Long_fromInt($b[$j - 2 | 0]), Long_create(4294967295, 0))); $longR = Long_add(Long_and($carry, Long_create(4294967295, 0)), var$15); if (jl_Integer_numberOfLeadingZeros(Long_hi($longR)) >= 32) $rem = Long_lo($longR); else $rOverflowed = 1; if (Long_le(Long_xor($product, Long_create(0, 2147483648)), Long_xor($res, Long_create(0, 2147483648)))) break a; } } } } if (var$16) { $quotLength = $j - $bLength | 0; if (jm_Division_multiplyAndSubtract($normA, $quotLength, $normB, $bLength, var$16)) { var$16 = var$16 + (-1) | 0; $carry = Long_ZERO; $k = 0; while ($k < $bLength) { $borrow = $quotLength + $k | 0; $carry = Long_add($carry, Long_add(Long_and(Long_fromInt($b[$borrow]), Long_create(4294967295, 0)), Long_and(Long_fromInt(var$7[$k]), Long_create(4294967295, 0)))); $b[$borrow] = Long_lo($carry); $carry = Long_shru($carry, 32); $k = $k + 1 | 0; } } } if ($quot !== null) $quot.data[$i] = var$16; $j = $j + (-1) | 0; $i = $i + (-1) | 0; } if ($divisorShift) { jm_BitLevel_shiftRight0($normB, $bLength, $normA, 0, $divisorShift); return $normB; } jl_System_fastArraycopy($normA, 0, $normB, 0, $bLength); return $normA; }, jm_Division_divideArrayByInt = ($dest, $src, $srcLength, $divisor) => { let $rem, $bLong, $i, $bPos, var$9, var$10, $temp, $quot, $aPos; $rem = Long_ZERO; $bLong = Long_and(Long_fromInt($divisor), Long_create(4294967295, 0)); $i = $srcLength - 1 | 0; $bPos = Long_fromInt($divisor >>> 1 | 0); $divisor = $divisor & 1; var$9 = Long_shl($bLong, 1); while ($i >= 0) { var$10 = $src.data; $temp = Long_or(Long_shl($rem, 32), Long_and(Long_fromInt(var$10[$i]), Long_create(4294967295, 0))); if (Long_ge($temp, Long_ZERO)) { $quot = Long_div($temp, $bLong); $rem = Long_rem($temp, $bLong); } else { $aPos = Long_shru($temp, 1); $quot = Long_div($aPos, $bPos); $rem = Long_add(Long_shl(Long_rem($aPos, $bPos), 1), Long_and($temp, Long_fromInt(1))); if ($divisor) { if (Long_le($quot, $rem)) $rem = Long_sub($rem, $quot); else if (Long_gt(Long_sub($quot, $rem), $bLong)) { $rem = Long_add($rem, Long_sub(var$9, $quot)); $quot = Long_sub($quot, Long_fromInt(2)); } else { $rem = Long_add($rem, Long_sub($bLong, $quot)); $quot = Long_sub($quot, Long_fromInt(1)); } } } $dest.data[$i] = Long_lo(Long_and($quot, Long_create(4294967295, 0))); $i = $i + (-1) | 0; } return Long_lo($rem); }, jm_Division_remainderArrayByInt = ($src, $srcLength, $divisor) => { let $result, $i, var$6; $result = Long_ZERO; $i = $srcLength - 1 | 0; while ($i >= 0) { var$6 = $src.data; $result = Long_fromInt(Long_hi((jm_Division_divideLongByInt(Long_add(Long_shl($result, 32), Long_and(Long_fromInt(var$6[$i]), Long_create(4294967295, 0))), $divisor)))); $i = $i + (-1) | 0; } return Long_lo($result); }, jm_Division_divideLongByInt = ($a, $b) => { let $bLong, $quot, $rem, $aPos, $bPos; $bLong = Long_and(Long_fromInt($b), Long_create(4294967295, 0)); if (Long_ge($a, Long_ZERO)) { $quot = Long_div($a, $bLong); $rem = Long_rem($a, $bLong); } else { $aPos = Long_shru($a, 1); $bPos = Long_fromInt($b >>> 1 | 0); $quot = Long_div($aPos, $bPos); $rem = Long_add(Long_shl(Long_rem($aPos, $bPos), 1), Long_and($a, Long_fromInt(1))); if ($b & 1) { if (Long_le($quot, $rem)) $rem = Long_sub($rem, $quot); else if (Long_le(Long_sub($quot, $rem), $bLong)) { $rem = Long_add($rem, Long_sub($bLong, $quot)); $quot = Long_sub($quot, Long_fromInt(1)); } else { $rem = Long_add($rem, Long_sub(Long_shl($bLong, 1), $quot)); $quot = Long_sub($quot, Long_fromInt(2)); } } } return Long_or(Long_shl($rem, 32), Long_and($quot, Long_create(4294967295, 0))); }, jm_Division_divideAndRemainderByInteger = ($val, $divisor, $divisorSign) => { let $valDigits, $valLen, $valSign, $a, $b, $quo, $rem, $quotientSign, $quotientDigits, $remainderDigits, $result0, $result1; $valDigits = $val.$digits; $valLen = $val.$numberLength; $valSign = $val.$sign1; if ($valLen == 1) { $a = Long_and(Long_fromInt($valDigits.data[0]), Long_create(4294967295, 0)); $b = Long_and(Long_fromInt($divisor), Long_create(4294967295, 0)); $quo = Long_div($a, $b); $rem = Long_rem($a, $b); if ($valSign != $divisorSign) $quo = Long_neg($quo); if ($valSign < 0) $rem = Long_neg($rem); return $rt_wrapArray(jm_BigInteger, [jm_BigInteger_valueOf($quo), jm_BigInteger_valueOf($rem)]); } $quotientSign = $valSign != $divisorSign ? (-1) : 1; $quotientDigits = $rt_createIntArray($valLen); $remainderDigits = $rt_createIntArray(1); $remainderDigits.data[0] = jm_Division_divideArrayByInt($quotientDigits, $valDigits, $valLen, $divisor); $result0 = new jm_BigInteger; $result0.$firstNonzeroDigit = (-2); $result0.$sign1 = $quotientSign; $result0.$numberLength = $valLen; $result0.$digits = $quotientDigits; $result1 = new jm_BigInteger; $result1.$firstNonzeroDigit = (-2); $result1.$sign1 = $valSign; $result1.$numberLength = 1; $result1.$digits = $remainderDigits; jm_BigInteger_cutOffLeadingZeroes($result0); jm_BigInteger_cutOffLeadingZeroes($result1); return $rt_wrapArray(jm_BigInteger, [$result0, $result1]); }, jm_Division_multiplyAndSubtract = ($a, $start, $b, $bLen, $c) => { let $carry0, $carry1, $i, var$9, var$10, var$11, var$12, var$13; $carry0 = Long_ZERO; $carry1 = Long_ZERO; $i = 0; var$9 = Long_and(Long_fromInt($c), Long_create(4294967295, 0)); while ($i < $bLen) { var$10 = $b.data; var$11 = $a.data; $c = var$10[$i]; var$12 = Long_lo($carry0); jm_Multiplication_$callClinit(); $carry0 = Long_add(Long_add(Long_mul(Long_and(Long_fromInt($c), Long_create(4294967295, 0)), var$9), Long_and(Long_fromInt(var$12), Long_create(4294967295, 0))), Long_ZERO); var$12 = $start + $i | 0; var$13 = Long_add(Long_sub(Long_and(Long_fromInt(var$11[var$12]), Long_create(4294967295, 0)), Long_and($carry0, Long_create(4294967295, 0))), $carry1); var$11[var$12] = Long_lo(var$13); $carry1 = Long_shr(var$13, 32); $carry0 = Long_shru($carry0, 32); $i = $i + 1 | 0; } $a = $a.data; $start = $start + $bLen | 0; var$9 = Long_add(Long_sub(Long_and(Long_fromInt($a[$start]), Long_create(4294967295, 0)), $carry0), $carry1); $a[$start] = Long_lo(var$9); return Long_hi(var$9); }; function nms_Session() { let a = this; jl_Object.call(a); a.$username3 = null; a.$sessionId = null; } function nms_GuiOptions() { let a = this; nms_GuiScreen.call(a); a.$parentScreen0 = null; a.$options0 = null; a.$screenTitle1 = null; } let nms_GuiOptions_relevantOptions = null, nms_GuiOptions_$callClinit = () => { nms_GuiOptions_$callClinit = $rt_eraseClinit(nms_GuiOptions); nms_GuiOptions__clinit_(); }, nms_GuiOptions_initGui = $this => { let $var1, $var2, $var3, $var4, $var6, var$6, var$7, var$8, var$9, $var5, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18; $var1 = 0; nms_StatCollector_$callClinit(); $this.$screenTitle1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3557)); nms_GuiOptions_$callClinit(); $var2 = nms_GuiOptions_relevantOptions.data; $var3 = $var2.length; $var4 = 0; while (true) { if ($var4 >= $var3) { $var6 = $this.$buttonList; var$6 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 152 | 0; var$8 = (($this.$height / 6 | 0) + 96 | 0) - 6 | 0; var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3558)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 101; var$6.$xPosition = var$7; var$6.$yPosition = var$8; var$6.$width0 = 150; var$6.$height0 = 20; var$6.$displayString = var$9; ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); $var2 = $var6.$array.data; $var3 = $var6.$size0; $var6.$size0 = $var3 + 1 | 0; $var2[$var3] = var$6; $var6.$modCount = $var6.$modCount + 1 | 0; var$9 = $this.$buttonList; $var6 = new nms_GuiButton; $var3 = ($this.$width / 2 | 0) + 2 | 0; var$7 = (($this.$height / 6 | 0) + 96 | 0) - 6 | 0; var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3559)); $var6.$width0 = 200; $var6.$height0 = 20; $var6.$enabled = 1; $var6.$drawButton0 = 1; $var6.$id0 = 100; $var6.$xPosition = $var3; $var6.$yPosition = var$7; $var6.$width0 = 150; $var6.$height0 = 20; $var6.$displayString = var$6; ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); $var2 = var$9.$array.data; $var3 = var$9.$size0; var$9.$size0 = $var3 + 1 | 0; $var2[$var3] = $var6; var$9.$modCount = var$9.$modCount + 1 | 0; var$9 = $this.$buttonList; $var6 = new nms_GuiButton; $var3 = ($this.$width / 2 | 0) - 152 | 0; var$7 = (($this.$height / 6 | 0) + 120 | 0) - 6 | 0; var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3560)); $var6.$width0 = 200; $var6.$height0 = 20; $var6.$enabled = 1; $var6.$drawButton0 = 1; $var6.$id0 = 102; $var6.$xPosition = $var3; $var6.$yPosition = var$7; $var6.$width0 = 150; $var6.$height0 = 20; $var6.$displayString = var$6; ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); $var2 = var$9.$array.data; $var3 = var$9.$size0; var$9.$size0 = $var3 + 1 | 0; $var2[$var3] = $var6; var$9.$modCount = var$9.$modCount + 1 | 0; var$9 = $this.$buttonList; $var6 = new nms_GuiButton; $var3 = ($this.$width / 2 | 0) + 2 | 0; var$7 = (($this.$height / 6 | 0) + 120 | 0) - 6 | 0; var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3561)); $var6.$width0 = 200; $var6.$height0 = 20; $var6.$enabled = 1; $var6.$drawButton0 = 1; $var6.$id0 = 103; $var6.$xPosition = $var3; $var6.$yPosition = var$7; $var6.$width0 = 150; $var6.$height0 = 20; $var6.$displayString = var$6; ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); $var2 = var$9.$array.data; $var3 = var$9.$size0; var$9.$size0 = $var3 + 1 | 0; $var2[$var3] = $var6; var$9.$modCount = var$9.$modCount + 1 | 0; var$9 = $this.$buttonList; $var6 = new nms_GuiButton; $var3 = ($this.$width / 2 | 0) - 152 | 0; var$7 = (($this.$height / 6 | 0) + 144 | 0) - 6 | 0; var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3562)); $var6.$width0 = 200; $var6.$height0 = 20; $var6.$enabled = 1; $var6.$drawButton0 = 1; $var6.$id0 = 105; $var6.$xPosition = $var3; $var6.$yPosition = var$7; $var6.$width0 = 150; $var6.$height0 = 20; $var6.$displayString = var$6; ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); $var2 = var$9.$array.data; $var3 = var$9.$size0; var$9.$size0 = $var3 + 1 | 0; $var2[$var3] = $var6; var$9.$modCount = var$9.$modCount + 1 | 0; var$9 = $this.$buttonList; $var6 = new nms_GuiButton; $var3 = ($this.$width / 2 | 0) - 100 | 0; var$7 = ($this.$height / 6 | 0) + 168 | 0; var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(646)); $var6.$width0 = 200; $var6.$height0 = 20; $var6.$enabled = 1; $var6.$drawButton0 = 1; $var6.$id0 = 200; $var6.$xPosition = $var3; $var6.$yPosition = var$7; $var6.$width0 = 200; $var6.$height0 = 20; $var6.$displayString = var$6; ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); $var2 = var$9.$array.data; $var3 = var$9.$size0; var$9.$size0 = $var3 + 1 | 0; $var2[$var3] = $var6; var$9.$modCount = var$9.$modCount + 1 | 0; return; } $var5 = $var2[$var4]; if ($var5.$enumFloat) { $var6 = $this.$buttonList; var$6 = new nms_GuiSlider; var$11 = $var5.$ordinal; var$12 = (($this.$width / 2 | 0) - 155 | 0) + (($var1 % 2 | 0) * 160 | 0) | 0; var$13 = (($this.$height / 6 | 0) - 12 | 0) + (24 * ($var1 >> 1) | 0) | 0; var$14 = nms_GameSettings_getKeyBinding($this.$options0, $var5); var$15 = nms_GameSettings_getOptionFloatValue($this.$options0, $var5); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = var$11; var$6.$xPosition = var$12; var$6.$yPosition = var$13; var$6.$width0 = 150; var$6.$height0 = 20; var$6.$displayString = var$14; var$6.$sliderValue = 1.0; var$6.$idFloat = $var5; var$6.$sliderValue = var$15; ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); var$16 = $var6.$array.data; var$8 = $var6.$size0; $var6.$size0 = var$8 + 1 | 0; var$16[var$8] = var$6; $var6.$modCount = $var6.$modCount + 1 | 0; } else { $var6 = new nms_GuiSmallButton; var$11 = $var5.$ordinal; var$12 = (($this.$width / 2 | 0) - 155 | 0) + (($var1 % 2 | 0) * 160 | 0) | 0; var$13 = (($this.$height / 6 | 0) - 12 | 0) + (24 * ($var1 >> 1) | 0) | 0; var$6 = nms_GameSettings_getKeyBinding($this.$options0, $var5); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); $var6.$width0 = 200; $var6.$height0 = 20; $var6.$enabled = 1; $var6.$drawButton0 = 1; $var6.$id0 = var$11; $var6.$xPosition = var$12; $var6.$yPosition = var$13; $var6.$width0 = 150; $var6.$height0 = 20; $var6.$displayString = var$6; $var6.$enumOptions = $var5; if ($var5 === nms_EnumOptions_DIFFICULTY) { var$6 = $this.$mc.$theWorld; if (var$6 !== null && var$6.$worldInfo.$hardcore) { $var6.$enabled = 0; var$14 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1756)); $var5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3563)); var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$7 = var$6.$length0; if (var$14 === null) var$14 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$7, var$14); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(107)); var$7 = var$6.$length0; if ($var5 === null) $var5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$7, $var5); $var5 = new jl_String; var$16 = var$6.$buffer; var$17 = var$16.data; var$8 = var$6.$length0; var$18 = var$17.length; if (var$8 < 0) break; if (var$8 > (var$18 - 0 | 0)) break; $var5.$nativeString = $rt_charArrayToString(var$16.data, 0, var$8); $var6.$displayString = $var5; } } var$6 = $this.$buttonList; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$16 = var$6.$array.data; var$8 = var$6.$size0; var$6.$size0 = var$8 + 1 | 0; var$16[var$8] = $var6; var$6.$modCount = var$6.$modCount + 1 | 0; } $var1 = $var1 + 1 | 0; $var4 = $var4 + 1 | 0; } var$9 = new jl_IndexOutOfBoundsException; var$9.$suppressionEnabled = 1; var$9.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$9); $rt_throw(var$9); }, nms_GuiOptions_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled) { if ($par1GuiButton.$id0 < 100 && $par1GuiButton instanceof nms_GuiSmallButton) { nms_GameSettings_setOptionValue($this.$options0, $par1GuiButton.$enumOptions, 1); var$2 = $this.$options0; var$3 = $par1GuiButton.$id0; var$4 = (nms_EnumOptions_$VALUES.$clone0()).data; var$5 = var$4.length; var$6 = 0; a: { while (true) { if (var$6 >= var$5) { var$7 = null; break a; } var$7 = var$4[var$6]; if (var$7.$ordinal == var$3) break; var$6 = var$6 + 1 | 0; } } $par1GuiButton.$displayString = nms_GameSettings_getKeyBinding(var$2, var$7); } if ($par1GuiButton.$id0 == 101) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = new nms_GuiVideoSettings; var$8 = $this.$options0; nms_GuiVideoSettings_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$9; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$7.$screenTitle3 = $rt_s(3564); var$7.$parentGuiScreen2 = $this; var$7.$guiGameSettings = var$8; $ptr = 1; continue main; } if ($par1GuiButton.$id0 == 100) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = new nms_GuiControls; var$8 = $this.$options0; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$9; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$7.$screenTitle2 = $rt_s(3565); var$7.$buttonId = (-1); var$7.$parentScreen3 = $this; var$7.$options1 = var$8; $ptr = 2; continue main; } if ($par1GuiButton.$id0 == 102) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = new nms_GuiLanguage; var$8 = $this.$options0; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$9; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$7.$updateTimer0 = (-1); var$7.$parentGui1 = $this; var$7.$theGameSettings = var$8; $ptr = 3; continue main; } if ($par1GuiButton.$id0 == 103) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = new nms_ScreenChatOptions; var$8 = $this.$options0; nms_ScreenChatOptions_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$9; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$7.$theGuiScreen = $this; var$7.$theSettings = var$8; $ptr = 4; continue main; } if ($par1GuiButton.$id0 == 200) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = $this.$parentScreen0; $ptr = 5; continue main; } if ($par1GuiButton.$id0 == 105) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); $par1GuiButton = $this.$mc; var$2 = new nms_GuiTexturePacks; var$7 = $this.$options0; nms_GuiTexturePacks_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$2.$buttonList = var$8; var$2.$allowUserInput = 0; var$2.$selectedButton = null; var$2.$eventButton = 0; var$2.$field_85043_c = Long_ZERO; var$2.$field_92018_d = 0; var$2.$refreshTimer = (-1); var$2.$fileLocation = $rt_s(18); var$2.$isSelectingPack = 0; var$2.$guiScreen = $this; var$2.$field_96146_n = var$7; $ptr = 6; continue main; } } return; case 1: nms_Minecraft_displayGuiScreen(var$2, var$7); if ($rt_suspending()) { break main; } if ($par1GuiButton.$id0 == 100) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = new nms_GuiControls; var$8 = $this.$options0; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$9; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$7.$screenTitle2 = $rt_s(3565); var$7.$buttonId = (-1); var$7.$parentScreen3 = $this; var$7.$options1 = var$8; $ptr = 2; continue main; } if ($par1GuiButton.$id0 == 102) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = new nms_GuiLanguage; var$8 = $this.$options0; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$9; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$7.$updateTimer0 = (-1); var$7.$parentGui1 = $this; var$7.$theGameSettings = var$8; $ptr = 3; continue main; } if ($par1GuiButton.$id0 == 103) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = new nms_ScreenChatOptions; var$8 = $this.$options0; nms_ScreenChatOptions_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$9; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$7.$theGuiScreen = $this; var$7.$theSettings = var$8; $ptr = 4; continue main; } if ($par1GuiButton.$id0 == 200) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = $this.$parentScreen0; $ptr = 5; continue main; } if ($par1GuiButton.$id0 != 105) return; nms_GameSettings_saveOptions($this.$mc.$gameSettings); $par1GuiButton = $this.$mc; var$2 = new nms_GuiTexturePacks; var$7 = $this.$options0; nms_GuiTexturePacks_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$2.$buttonList = var$8; var$2.$allowUserInput = 0; var$2.$selectedButton = null; var$2.$eventButton = 0; var$2.$field_85043_c = Long_ZERO; var$2.$field_92018_d = 0; var$2.$refreshTimer = (-1); var$2.$fileLocation = $rt_s(18); var$2.$isSelectingPack = 0; var$2.$guiScreen = $this; var$2.$field_96146_n = var$7; $ptr = 6; continue main; case 2: nms_Minecraft_displayGuiScreen(var$2, var$7); if ($rt_suspending()) { break main; } if ($par1GuiButton.$id0 == 102) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = new nms_GuiLanguage; var$8 = $this.$options0; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$9; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$7.$updateTimer0 = (-1); var$7.$parentGui1 = $this; var$7.$theGameSettings = var$8; $ptr = 3; continue main; } if ($par1GuiButton.$id0 == 103) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = new nms_ScreenChatOptions; var$8 = $this.$options0; nms_ScreenChatOptions_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$9; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$7.$theGuiScreen = $this; var$7.$theSettings = var$8; $ptr = 4; continue main; } if ($par1GuiButton.$id0 == 200) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = $this.$parentScreen0; $ptr = 5; continue main; } if ($par1GuiButton.$id0 != 105) return; nms_GameSettings_saveOptions($this.$mc.$gameSettings); $par1GuiButton = $this.$mc; var$2 = new nms_GuiTexturePacks; var$7 = $this.$options0; nms_GuiTexturePacks_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$2.$buttonList = var$8; var$2.$allowUserInput = 0; var$2.$selectedButton = null; var$2.$eventButton = 0; var$2.$field_85043_c = Long_ZERO; var$2.$field_92018_d = 0; var$2.$refreshTimer = (-1); var$2.$fileLocation = $rt_s(18); var$2.$isSelectingPack = 0; var$2.$guiScreen = $this; var$2.$field_96146_n = var$7; $ptr = 6; continue main; case 3: nms_Minecraft_displayGuiScreen(var$2, var$7); if ($rt_suspending()) { break main; } if ($par1GuiButton.$id0 == 103) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = new nms_ScreenChatOptions; var$8 = $this.$options0; nms_ScreenChatOptions_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$9 = new ju_ArrayList; var$9.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$9; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$7.$theGuiScreen = $this; var$7.$theSettings = var$8; $ptr = 4; continue main; } if ($par1GuiButton.$id0 == 200) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = $this.$parentScreen0; $ptr = 5; continue main; } if ($par1GuiButton.$id0 != 105) return; nms_GameSettings_saveOptions($this.$mc.$gameSettings); $par1GuiButton = $this.$mc; var$2 = new nms_GuiTexturePacks; var$7 = $this.$options0; nms_GuiTexturePacks_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$2.$buttonList = var$8; var$2.$allowUserInput = 0; var$2.$selectedButton = null; var$2.$eventButton = 0; var$2.$field_85043_c = Long_ZERO; var$2.$field_92018_d = 0; var$2.$refreshTimer = (-1); var$2.$fileLocation = $rt_s(18); var$2.$isSelectingPack = 0; var$2.$guiScreen = $this; var$2.$field_96146_n = var$7; $ptr = 6; continue main; case 4: nms_Minecraft_displayGuiScreen(var$2, var$7); if ($rt_suspending()) { break main; } if ($par1GuiButton.$id0 == 200) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); var$2 = $this.$mc; var$7 = $this.$parentScreen0; $ptr = 5; continue main; } if ($par1GuiButton.$id0 != 105) return; nms_GameSettings_saveOptions($this.$mc.$gameSettings); $par1GuiButton = $this.$mc; var$2 = new nms_GuiTexturePacks; var$7 = $this.$options0; nms_GuiTexturePacks_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$2.$buttonList = var$8; var$2.$allowUserInput = 0; var$2.$selectedButton = null; var$2.$eventButton = 0; var$2.$field_85043_c = Long_ZERO; var$2.$field_92018_d = 0; var$2.$refreshTimer = (-1); var$2.$fileLocation = $rt_s(18); var$2.$isSelectingPack = 0; var$2.$guiScreen = $this; var$2.$field_96146_n = var$7; $ptr = 6; continue main; case 5: nms_Minecraft_displayGuiScreen(var$2, var$7); if ($rt_suspending()) { break main; } if ($par1GuiButton.$id0 != 105) return; nms_GameSettings_saveOptions($this.$mc.$gameSettings); $par1GuiButton = $this.$mc; var$2 = new nms_GuiTexturePacks; var$7 = $this.$options0; nms_GuiTexturePacks_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); var$2.$buttonList = var$8; var$2.$allowUserInput = 0; var$2.$selectedButton = null; var$2.$eventButton = 0; var$2.$field_85043_c = Long_ZERO; var$2.$field_92018_d = 0; var$2.$refreshTimer = (-1); var$2.$fileLocation = $rt_s(18); var$2.$isSelectingPack = 0; var$2.$guiScreen = $this; var$2.$field_96146_n = var$7; $ptr = 6; case 6: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_GuiOptions_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; var$6 = $this.$screenTitle1; var$7 = $this.$width / 2 | 0; var$8 = 15; var$9 = 16777215; var$4 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$7 = 16; var$11 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; var$6 = $this.$screenTitle1; var$7 = $this.$width / 2 | 0; var$8 = 15; var$9 = 16777215; var$4 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$7 = 16; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$10, var$7, var$9, var$11); if ($rt_suspending()) { break main; } var$7 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$10 = 0; var$5 = $this.$buttonList; var$4 = $rt_compare(var$10, var$5.$size0); if (var$4 >= 0) return; if (var$10 >= 0 && var$4 < 0) { var$5 = var$5.$array.data[var$10]; var$6 = $this.$mc; $ptr = 4; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 4: var$5.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$10 = var$10 + 1 | 0; var$5 = $this.$buttonList; var$4 = $rt_compare(var$10, var$5.$size0); if (var$4 >= 0) return; if (var$10 >= 0 && var$4 < 0) { var$5 = var$5.$array.data[var$10]; var$6 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_GuiOptions__clinit_ = () => { let var$1, var$2; var$1 = $rt_createArray(nms_EnumOptions, 6); var$2 = var$1.data; var$2[0] = nms_EnumOptions_MUSIC; var$2[1] = nms_EnumOptions_SOUND; var$2[2] = nms_EnumOptions_INVERT_MOUSE; var$2[3] = nms_EnumOptions_SENSITIVITY; var$2[4] = nms_EnumOptions_FOV; var$2[5] = nms_EnumOptions_DIFFICULTY; nms_GuiOptions_relevantOptions = var$1; }; function nms_GuiSelectWorld() { let a = this; nms_GuiScreen.call(a); a.$dateFormatter = null; a.$parentScreen1 = null; a.$screenTitle0 = null; a.$selected0 = 0; a.$selectedWorld = 0; a.$saveList = null; a.$worldSlotContainer = null; a.$localizedWorldText = null; a.$localizedMustConvertText = null; a.$localizedGameModeText = null; a.$deleting0 = 0; a.$buttonDelete = null; a.$buttonSelect0 = null; a.$buttonRename = null; a.$buttonBackup = null; a.$hasRequestedWorlds = 0; a.$waitingForWorlds = 0; } let nms_GuiSelectWorld_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; $this.$screenTitle0 = nms_StringTranslate_translateKey($var1, $rt_s(3566)); $this.$saveList = new ju_LinkedList; var$2 = nle_IntegratedServer_statusState; var$3 = var$2 ? 0 : 1; a: { if (var$3) { $this.$hasRequestedWorlds = 1; $this.$waitingForWorlds = 1; if (var$2 ? 0 : 1) { nle_IntegratedServer_statusState = 10; var$4 = nle_IntegratedServer_worlds; var$4.$firstEntry = null; var$4.$lastEntry = null; var$4.$size2 = 0; var$4.$modCount = var$4.$modCount + 1 | 0; nle_IntegratedServer_sendIPCPacket(new nlesi_IPCPacket0EListWorlds); break a; } var$4 = nle_IntegratedState_getStateName(var$2); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(1017)); jl_AbstractStringBuilder_insert0(var$5, var$5.$length0, var$2, 10); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(1018)); var$3 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_StringBuilder_insert(var$5, var$3, var$4); jl_StringBuilder_insert(var$5, var$5.$length0, $rt_s(1019)); var$4 = new jl_String; var$6 = var$5.$buffer; var$7 = var$6.data; var$2 = var$5.$length0; var$8 = var$7.length; if (var$2 >= 0 && var$2 <= (var$8 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); var$5 = new jl_IllegalStateException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$4; $rt_throw(var$5); } var$4 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$4); $rt_throw(var$4); } if (nle_IntegratedServer_isWorldRunning()) { nle_IntegratedServer_statusState = 4; nle_IntegratedServer_sendIPCPacket(new nlesi_IPCPacket01StopServer); } var$4 = nle_IntegratedServerLAN_lanRelaySocket; if (var$4 !== null) { var$4.$close(); nle_IntegratedServerLAN_lanRelaySocket = null; nle_IntegratedServerLAN_currentCode = null; } nlea_EaglerAdapterImpl2_$callClinit(); var$4 = nle_IntegratedServerLAN_clients; if (var$4.$cachedValues === null) { var$5 = new ju_HashMap$2; var$5.$this$01 = var$4; var$4.$cachedValues = var$5; } var$4 = var$4.$cachedValues.$iterator(); while (var$4.$hasNext()) { nle_IntegratedServerLAN$LANClient_disconnect(var$4.$next()); } var$4 = nle_IntegratedServerLAN_clients; if (var$4.$elementCount > 0) { var$4.$elementCount = 0; var$6 = var$4.$elementData.data; var$5 = null; var$3 = 0; var$2 = var$6.length; if (var$3 > var$2) { var$4 = new jl_IllegalArgumentException; jl_Exception__init_(var$4); $rt_throw(var$4); } while (var$3 < var$2) { var$8 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$8; } var$4.$modCount0 = var$4.$modCount0 + 1 | 0; } $this.$hasRequestedWorlds = 0; } $this.$localizedWorldText = nms_StringTranslate_translateKey($var1, $rt_s(3567)); $this.$localizedMustConvertText = nms_StringTranslate_translateKey($var1, $rt_s(3568)); $this.$localizedGameModeText.data[nms_EnumGameType_SURVIVAL.$id6] = nms_StringTranslate_translateKey($var1, $rt_s(3569)); $this.$localizedGameModeText.data[nms_EnumGameType_CREATIVE.$id6] = nms_StringTranslate_translateKey($var1, $rt_s(3570)); $this.$localizedGameModeText.data[nms_EnumGameType_ADVENTURE.$id6] = nms_StringTranslate_translateKey($var1, $rt_s(3571)); var$4 = new nms_GuiWorldSlot; var$5 = $this.$mc; var$8 = $this.$width; var$9 = $this.$height; nms_GuiSlot__init_(var$4, var$5, var$8, var$9, 32, var$9 - 64 | 0, 36); var$4.$parentWorldGui = $this; $this.$worldSlotContainer = var$4; var$4.$scrollUpButtonID = 4; var$4.$scrollDownButtonID = 5; nms_GuiSelectWorld_initButtons($this); }, nms_GuiSelectWorld_updateScreen = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; a: { b: { if (!$this.$hasRequestedWorlds) { var$1 = nle_IntegratedServer_statusState; if (var$1 ? 0 : 1) break b; } if (!$this.$waitingForWorlds) break a; if ((nle_IntegratedServer_statusState != 10 ? nle_IntegratedServer_worlds : null) === null) break a; $this.$waitingForWorlds = 0; nms_GuiSelectWorld_loadSaves($this); break a; } $this.$hasRequestedWorlds = 1; $this.$waitingForWorlds = 1; if (!(var$1 ? 0 : 1)) { var$2 = nle_IntegratedState_getStateName(var$1); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(1017)); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$1, 10); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(1018)); var$4 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_StringBuilder_insert(var$3, var$4, var$2); jl_StringBuilder_insert(var$3, var$3.$length0, $rt_s(1019)); var$2 = new jl_String; var$5 = var$3.$buffer; var$6 = var$5.data; var$1 = var$3.$length0; var$7 = var$6.length; if (var$1 >= 0 && var$1 <= (var$7 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$5.data, 0, var$1); var$3 = new jl_IllegalStateException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = var$2; $rt_throw(var$3); } var$2 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$2); $rt_throw(var$2); } nle_IntegratedServer_statusState = 10; var$2 = nle_IntegratedServer_worlds; var$2.$firstEntry = null; var$2.$lastEntry = null; var$2.$size2 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; nle_IntegratedServer_sendIPCPacket(new nlesi_IPCPacket0EListWorlds); } }, nms_GuiSelectWorld_loadSaves = $this => { let var$1, $levels, var$3, var$4, $n, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $w, var$14, var$15, var$16, var$17, var$18, var$19; var$1 = $this.$saveList; var$1.$firstEntry = null; var$1.$lastEntry = null; var$1.$size2 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; $levels = nle_IntegratedServer_statusState != 10 ? nle_IntegratedServer_worlds : null; var$3 = $levels.$firstEntry; var$4 = $levels.$modCount; while (true) { if (!(var$3 === null ? 0 : 1)) { var$1 = $this.$saveList; $n = ju_Comparator$NaturalOrder_INSTANCE; var$6 = $rt_createArray(jl_Object, var$1.$size2); var$7 = var$6.data; ju_AbstractCollection_toArray(var$1, var$6); ju_Arrays_sort(var$6, $n); var$8 = 0; var$9 = var$7.length; while (var$8 < var$9) { $n = var$7[var$8]; if (var$8 < 0) { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$10 = ju_LinkedList_listIterator(var$1, var$8); var$11 = $rt_compare(var$10.$version, var$10.$this$02.$modCount); if (var$11 < 0) { var$1 = new ju_ConcurrentModificationException; jl_Throwable__init_(var$1); $rt_throw(var$1); } var$12 = var$10.$nextEntry1; if (var$12 === null) { var$1 = new ju_NoSuchElementException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$10.$currentEntry = var$12; var$10.$prevEntry = var$12; var$10.$nextEntry1 = var$12.$next5; var$10.$index4 = var$10.$index4 + 1 | 0; if (var$11 < 0) { var$1 = new ju_ConcurrentModificationException; jl_Throwable__init_(var$1); $rt_throw(var$1); } var$12.$item = $n; var$10.$currentEntry = null; var$8 = var$8 + 1 | 0; } $this.$selectedWorld = (-1); return; } if (var$4 < $levels.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } if (var$3 === null) { var$1 = new ju_NoSuchElementException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } a: { var$1 = var$3.$item; var$3 = var$3.$next5; $n = var$1; $w = new nms_WorldInfo; var$10 = $n.$tagMap; if (!$rt_s(2396).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(2396).$nativeString.length) break a; $rt_s(2396).$hashCode1 = (31 * $rt_s(2396).$hashCode1 | 0) + $rt_s(2396).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$14 = $rt_s(2396).$hashCode1; var$6 = var$10.$elementData.data; var$10 = var$6[var$14 & (var$6.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$14) { b: { var$12 = var$10.$key; if ($rt_s(2396) !== var$12) { if ($rt_s(2396) === var$12) var$8 = 1; else if (!(var$12 instanceof jl_String)) var$8 = 0; else { var$12 = var$12; var$8 = $rt_s(2396).$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$10 = var$10.$next3; } if (!(var$10 === null ? 0 : 1)) { var$10 = new nms_NBTTagCompound; if ($rt_s(2396) !== null) var$10.$name = $rt_s(2396); else var$10.$name = $rt_s(18); var$1 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$7 = var$6.data; var$1.$elementData = var$6; var$1.$loadFactor = 0.75; var$1.$threshold = var$7.length * 0.75 | 0; var$10.$tagMap = var$1; } else { var$10 = $n.$tagMap; if ($rt_s(2396) === null) { var$12 = var$10.$elementData.data[0]; while (var$12 !== null && var$12.$key !== null) { var$12 = var$12.$next3; } } else { c: { if (!$rt_s(2396).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(2396).$nativeString.length) break c; $rt_s(2396).$hashCode1 = (31 * $rt_s(2396).$hashCode1 | 0) + $rt_s(2396).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $rt_s(2396).$hashCode1; var$6 = var$10.$elementData.data; var$12 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$12 !== null) { if (var$12.$origKeyHash == var$9) { d: { var$10 = var$12.$key; if ($rt_s(2396) !== var$10) { if ($rt_s(2396) === var$10) var$8 = 1; else if (!(var$10 instanceof jl_String)) var$8 = 0; else { var$10 = var$10; var$8 = $rt_s(2396).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break d; } } var$8 = 1; } if (var$8) break; } var$12 = var$12.$next3; } } var$10 = var$12 === null ? null : var$12.$value1; } e: { nms_WorldInfo__init_($w, var$10); var$15 = $this.$saveList; var$16 = new nms_SaveFormatComparator; var$10 = $n.$tagMap; if (!$rt_s(3572).$hashCode1) { var$14 = 0; while (true) { if (var$14 >= $rt_s(3572).$nativeString.length) break e; $rt_s(3572).$hashCode1 = (31 * $rt_s(3572).$hashCode1 | 0) + $rt_s(3572).$nativeString.charCodeAt(var$14) | 0; var$14 = var$14 + 1 | 0; } } } var$9 = $rt_s(3572).$hashCode1; var$6 = var$10.$elementData.data; var$17 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == var$9) { f: { var$10 = var$17.$key; if ($rt_s(3572) !== var$10) { if ($rt_s(3572) === var$10) var$8 = 1; else if (!(var$10 instanceof jl_String)) var$8 = 0; else { var$10 = var$10; var$8 = $rt_s(3572).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break f; } } var$8 = 1; } if (var$8) break; } var$17 = var$17.$next3; } if (!(var$17 === null ? 0 : 1)) var$12 = $rt_s(18); else { var$10 = $n.$tagMap; if ($rt_s(3572) === null) { var$17 = var$10.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { g: { if (!$rt_s(3572).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(3572).$nativeString.length) break g; $rt_s(3572).$hashCode1 = (31 * $rt_s(3572).$hashCode1 | 0) + $rt_s(3572).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = $rt_s(3572).$hashCode1; var$6 = var$10.$elementData.data; var$17 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == var$9) { h: { var$10 = var$17.$key; if ($rt_s(3572) !== var$10) { if ($rt_s(3572) === var$10) var$8 = 1; else if (!(var$10 instanceof jl_String)) var$8 = 0; else { var$10 = var$10; var$8 = $rt_s(3572).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break h; } } var$8 = 1; } if (var$8) break; } var$17 = var$17.$next3; } } var$12 = (var$17 === null ? null : var$17.$value1).$data1; } var$10 = $w.$levelName; var$18 = $w.$lastTimePlayed0; var$19 = $w.$sizeOnDisk; var$1 = $w.$theGameType; var$14 = $w.$hardcore; var$9 = $w.$allowCommands; var$16.$fileName = var$12; var$16.$displayName2 = var$10; var$16.$lastTimePlayed = var$18; var$16.$sizeOnDisk0 = var$19; var$16.$theEnumGameType = var$1; var$16.$requiresConversion = 0; var$16.$hardcore0 = var$14; var$16.$cheatsEnabled = var$9; var$16.$levelDat = $n; var$8 = var$15.$size2; if (var$8 < 0) break; ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator(var$15, var$8), var$16); } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nms_GuiSelectWorld_getSaveName = ($this, $par1) => { let $var2, $var3, var$4, var$5, var$6, var$7, var$8; $var2 = $this.$saveList; if ($par1 < 0) { $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var2 = ju_LinkedList_listIterator($var2, $par1); if ($var2.$version < $var2.$this$02.$modCount) { $var2 = new ju_ConcurrentModificationException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var3 = $var2.$nextEntry1; if ($var3 === null) { $var2 = new ju_NoSuchElementException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } a: { var$4 = $var3.$item; $var2.$currentEntry = $var3; $var2.$prevEntry = $var3; $var2.$nextEntry1 = $var3.$next5; $var2.$index4 = $var2.$index4 + 1 | 0; $var2 = var$4.$displayName2; if (!($var2 !== null && !(!$var2.$nativeString.length ? 1 : 0))) { nms_StringTranslate_$callClinit(); $var2 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $rt_s(3567)); $par1 = $par1 + 1 | 0; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); var$5 = $var3.$length0; if ($var2 === null) $var2 = $rt_s(1); jl_AbstractStringBuilder_insert($var3, var$5, $var2); var$6 = $var3.$length0; jl_AbstractStringBuilder_insertSpace($var3, var$6, var$6 + 1 | 0); $var3.$buffer.data[var$6] = 32; jl_AbstractStringBuilder_insert0($var3, $var3.$length0, $par1, 10); $var2 = new jl_String; var$7 = $var3.$buffer; var$8 = var$7.data; var$5 = $var3.$length0; var$6 = var$8.length; if (var$5 < 0) break a; if (var$5 > (var$6 - 0 | 0)) break a; $var2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$5); } return $var2; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var2); $rt_throw($var2); }, nms_GuiSelectWorld_initButtons = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; var$2 = $this.$buttonList; var$3 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 154 | 0; var$5 = $this.$height - 52 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(3573)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$3.$width0 = 200; var$3.$height0 = 20; var$3.$enabled = 1; var$3.$drawButton0 = 1; var$3.$id0 = 1; var$3.$xPosition = var$4; var$3.$yPosition = var$5; var$3.$width0 = 150; var$3.$height0 = 20; var$3.$displayString = var$6; $this.$buttonSelect0 = var$3; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$7 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) + 4 | 0; var$4 = $this.$height - 52 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3574)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 3; var$6.$xPosition = var$8; var$6.$yPosition = var$4; var$6.$width0 = 150; var$6.$height0 = 20; var$6.$displayString = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 154 | 0; var$4 = $this.$height - 28 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3575)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 6; var$6.$xPosition = var$8; var$6.$yPosition = var$4; var$6.$width0 = 72; var$6.$height0 = 20; var$6.$displayString = var$2; $this.$buttonRename = var$6; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 76 | 0; var$4 = $this.$height - 28 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3576)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 2; var$6.$xPosition = var$8; var$6.$yPosition = var$4; var$6.$width0 = 72; var$6.$height0 = 20; var$6.$displayString = var$2; $this.$buttonDelete = var$6; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) + 4 | 0; var$5 = $this.$height - 28 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3577)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 7; var$6.$xPosition = var$4; var$6.$yPosition = var$5; var$6.$width0 = 72; var$6.$height0 = 20; var$6.$displayString = var$2; $this.$buttonBackup = var$6; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) + 82 | 0; var$4 = $this.$height - 28 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(1626)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 0; var$6.$xPosition = var$8; var$6.$yPosition = var$4; var$6.$width0 = 72; var$6.$height0 = 20; var$6.$displayString = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$7[var$8] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; $this.$buttonSelect0.$enabled = 0; $this.$buttonDelete.$enabled = 0; $this.$buttonRename.$enabled = 0; $this.$buttonBackup.$enabled = 0; }, nms_GuiSelectWorld_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, $var2, $var3, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled) { var$2 = $par1GuiButton.$id0; if (var$2 != 2) { if (var$2 == 1) { var$3 = $this.$selectedWorld; $ptr = 1; continue main; } if (var$2 == 3) { $par1GuiButton = $this.$mc; $var2 = new nle_GuiScreenCreateWorldSelection; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var3 = new ju_ArrayList; $var3.$array = $rt_createArray(jl_Object, 10); $var2.$buttonList = $var3; $var2.$allowUserInput = 0; $var2.$selectedButton = null; $var2.$eventButton = 0; $var2.$field_85043_c = Long_ZERO; $var2.$field_92018_d = 0; $var2.$worldCreate = null; $var2.$worldImport = null; $var2.$worldVanilla = null; $var2.$isImportingEPK = 0; $var2.$isImportingMCA = 0; $var2.$mainmenu = $this; $ptr = 3; continue main; } if (var$2 == 6) { $par1GuiButton = $this.$mc; $var2 = new nms_GuiRenameWorld; var$3 = $this.$selectedWorld; $var3 = $this.$saveList; if (var$3 < 0) { $par1GuiButton = new jl_IndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } $var3 = ju_LinkedList_listIterator($var3, var$3); if ($var3.$version < $var3.$this$02.$modCount) { $par1GuiButton = new ju_ConcurrentModificationException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1GuiButton); $rt_throw($par1GuiButton); } var$6 = $var3.$nextEntry1; if (var$6 === null) { $par1GuiButton = new ju_NoSuchElementException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } var$7 = var$6.$item; $var3.$currentEntry = var$6; $var3.$prevEntry = var$6; $var3.$nextEntry1 = var$6.$next5; $var3.$index4 = $var3.$index4 + 1 | 0; $var3 = var$7.$fileName; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var2.$buttonList = var$6; $var2.$allowUserInput = 0; $var2.$selectedButton = null; $var2.$eventButton = 0; $var2.$field_85043_c = Long_ZERO; $var2.$field_92018_d = 0; $var2.$parentGuiScreen0 = $this; $var2.$worldName7 = $var3; $var2.$duplicate = 0; $ptr = 6; continue main; } if (!var$2) { $par1GuiButton = $this.$mc; $var2 = $this.$parentScreen1; $ptr = 4; continue main; } if (var$2 != 7) { $var2 = $this.$worldSlotContainer; $ptr = 5; continue main; } $par1GuiButton = $this.$mc; $var2 = new nle_GuiScreenBackupWorld; var$3 = $this.$selectedWorld; $var3 = $this.$saveList; if (var$3 < 0) { $par1GuiButton = new jl_IndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } $var3 = ju_LinkedList_listIterator($var3, var$3); if ($var3.$version < $var3.$this$02.$modCount) { $par1GuiButton = new ju_ConcurrentModificationException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1GuiButton); $rt_throw($par1GuiButton); } var$6 = $var3.$nextEntry1; if (var$6 === null) { $par1GuiButton = new ju_NoSuchElementException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } var$7 = var$6.$item; $var3.$currentEntry = var$6; $var3.$prevEntry = var$6; $var3.$nextEntry1 = var$6.$next5; $var3.$index4 = $var3.$index4 + 1 | 0; var$7 = var$7.$fileName; $var3 = $this.$saveList; var$3 = $this.$selectedWorld; if (var$3 < 0) { $par1GuiButton = new jl_IndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } $var3 = ju_LinkedList_listIterator($var3, var$3); if ($var3.$version < $var3.$this$02.$modCount) { $par1GuiButton = new ju_ConcurrentModificationException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } var$6 = $var3.$nextEntry1; if (var$6 === null) { $par1GuiButton = new ju_NoSuchElementException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } a: { var$8 = var$6.$item; $var3.$currentEntry = var$6; $var3.$prevEntry = var$6; $var3.$nextEntry1 = var$6.$next5; $var3.$index4 = $var3.$index4 + 1 | 0; $var3 = var$8.$levelDat; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $var2.$buttonList = var$6; $var2.$allowUserInput = 0; $var2.$selectedButton = null; $var2.$eventButton = 0; $var2.$field_85043_c = Long_ZERO; $var2.$field_92018_d = 0; $var2.$worldRecreate = null; $var2.$worldDuplicate = null; $var2.$worldExport = null; $var2.$worldConvert = null; $var2.$worldBackup = null; $var2.$selectWorld0 = $this; $var2.$worldName = var$7; $var2.$levelDat0 = $var3; var$7 = $var3.$tagMap; if (!$rt_s(2396).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2396).$nativeString.length) break a; $rt_s(2396).$hashCode1 = (31 * $rt_s(2396).$hashCode1 | 0) + $rt_s(2396).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$9 = $rt_s(2396).$hashCode1; var$10 = var$7.$elementData.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { b: { var$8 = var$7.$key; if ($rt_s(2396) !== var$8) { if ($rt_s(2396) === var$8) var$3 = 1; else if (!(var$8 instanceof jl_String)) var$3 = 0; else { var$8 = var$8; var$3 = $rt_s(2396).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$7 = var$7.$next3; } if (!(var$7 === null ? 0 : 1)) { $var3 = new nms_NBTTagCompound; if ($rt_s(2396) !== null) $var3.$name = $rt_s(2396); else $var3.$name = $rt_s(18); var$6 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$10 = var$11.data; var$6.$elementData = var$11; var$6.$loadFactor = 0.75; var$6.$threshold = var$10.length * 0.75 | 0; $var3.$tagMap = var$6; } else { $var3 = $var3.$tagMap; if ($rt_s(2396) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { c: { if (!$rt_s(2396).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2396).$nativeString.length) break c; $rt_s(2396).$hashCode1 = (31 * $rt_s(2396).$hashCode1 | 0) + $rt_s(2396).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$9 = $rt_s(2396).$hashCode1; var$10 = $var3.$elementData.data; $var3 = var$10[var$9 & (var$10.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$9) { d: { var$7 = $var3.$key; if ($rt_s(2396) !== var$7) { if ($rt_s(2396) === var$7) var$3 = 1; else if (!(var$7 instanceof jl_String)) var$3 = 0; else { var$7 = var$7; var$3 = $rt_s(2396).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; } e: { var$7 = $var3.$tagMap; if (!$rt_s(3398).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3398).$nativeString.length) break e; $rt_s(3398).$hashCode1 = (31 * $rt_s(3398).$hashCode1 | 0) + $rt_s(3398).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$9 = $rt_s(3398).$hashCode1; var$10 = var$7.$elementData.data; var$7 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { f: { var$8 = var$7.$key; if ($rt_s(3398) !== var$8) { if ($rt_s(3398) === var$8) var$3 = 1; else if (!(var$8 instanceof jl_String)) var$3 = 0; else { var$8 = var$8; var$3 = $rt_s(3398).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$7 = var$7.$next3; } if (!(var$7 === null ? 0 : 1)) var$12 = Long_ZERO; else { $var3 = $var3.$tagMap; if ($rt_s(3398) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { g: { if (!$rt_s(3398).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3398).$nativeString.length) break g; $rt_s(3398).$hashCode1 = (31 * $rt_s(3398).$hashCode1 | 0) + $rt_s(3398).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$9 = $rt_s(3398).$hashCode1; var$10 = $var3.$elementData.data; $var3 = var$10[var$9 & (var$10.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$9) { h: { var$7 = $var3.$key; if ($rt_s(3398) !== var$7) { if ($rt_s(3398) === var$7) var$3 = 1; else if (!(var$7 instanceof jl_String)) var$3 = 0; else { var$7 = var$7; var$3 = $rt_s(3398).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } $var3 = $var3.$next3; } } var$12 = ($var3 === null ? null : $var3.$value1).$data7; } $var2.$worldSeed = var$12; $ptr = 7; continue main; } $var2 = nms_GuiSelectWorld_getSaveName($this, $this.$selectedWorld); if ($var2 !== null) { $this.$deleting0 = 1; $var3 = nms_GuiSelectWorld_getDeleteWorldScreen($this, $var2, $this.$selectedWorld); $par1GuiButton = $this.$mc; $ptr = 2; continue main; } } return; case 1: nms_GuiSelectWorld_selectWorld($this, var$3); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, $var3); if ($rt_suspending()) { break main; } return; case 3: nms_Minecraft_displayGuiScreen($par1GuiButton, $var2); if ($rt_suspending()) { break main; } return; case 4: nms_Minecraft_displayGuiScreen($par1GuiButton, $var2); if ($rt_suspending()) { break main; } return; case 5: nms_GuiSlot_actionPerformed($var2, $par1GuiButton); if ($rt_suspending()) { break main; } return; case 6: nms_Minecraft_displayGuiScreen($par1GuiButton, $var2); if ($rt_suspending()) { break main; } return; case 7: nms_Minecraft_displayGuiScreen($par1GuiButton, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, $var2, $var3, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_GuiSelectWorld_selectWorld = ($this, $par1) => { let $var3, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$mc; var$3 = null; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen($var3, var$3); if ($rt_suspending()) { break main; } if ($this.$selected0) return; $this.$selected0 = 1; var$3 = $this.$saveList; if ($par1 < 0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = ju_LinkedList_listIterator(var$3, $par1); if (var$3.$version < var$3.$this$02.$modCount) { var$3 = new ju_ConcurrentModificationException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } $var3 = var$3.$nextEntry1; if ($var3 === null) { var$3 = new ju_NoSuchElementException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$4 = $var3.$item; var$3.$currentEntry = $var3; var$3.$prevEntry = $var3; var$3.$nextEntry1 = $var3.$next5; var$3.$index4 = var$3.$index4 + 1 | 0; var$3 = var$4.$fileName; if (var$3 === null) { $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $rt_s(3578)); jl_AbstractStringBuilder_insert0($var3, $var3.$length0, $par1, 10); var$3 = new jl_String; var$5 = $var3.$buffer; var$6 = var$5.data; var$7 = $var3.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) var$3.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); else { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } } a: { $var3 = nms_GuiSelectWorld_getSaveName($this, $par1); if ($var3 === null) { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3578)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $par1, 10); $var3 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; var$9 = var$4.$length0; var$7 = var$6.length; if (var$9 < 0) break a; if (var$9 > (var$7 - 0 | 0)) break a; $var3.$nativeString = $rt_charArrayToString(var$5.data, 0, var$9); } var$10 = $this.$mc; var$4 = null; $ptr = 2; continue main; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); case 2: nms_Minecraft_launchIntegratedServer(var$10, var$3, $var3, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $var3, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_GuiSelectWorld_confirmClicked = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$deleting0) return; $this.$deleting0 = 0; if (!$par1) { var$3 = $this.$mc; $ptr = 1; continue main; } var$3 = $this.$saveList; if ($par2 < 0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = ju_LinkedList_listIterator(var$3, $par2); if (var$3.$version < var$3.$this$02.$modCount) { var$3 = new ju_ConcurrentModificationException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$4 = var$3.$nextEntry1; if (var$4 === null) { var$3 = new ju_NoSuchElementException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$5 = var$4.$item; var$3.$currentEntry = var$4; var$3.$prevEntry = var$4; var$3.$nextEntry1 = var$4.$next5; var$3.$index4 = var$3.$index4 + 1 | 0; var$4 = var$5.$fileName; $par1 = nle_IntegratedServer_statusState; if (!($par1 ? 0 : 1)) { var$3 = nle_IntegratedState_getStateName($par1); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$4, var$4.$length0, $rt_s(1017)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $par1, 10); jl_StringBuilder_insert(var$4, var$4.$length0, $rt_s(1018)); $par1 = var$4.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_StringBuilder_insert(var$4, $par1, var$3); jl_StringBuilder_insert(var$4, var$4.$length0, $rt_s(1019)); var$3 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; $par2 = var$4.$length0; var$8 = var$7.length; if ($par2 >= 0 && $par2 <= (var$8 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $par2); var$4 = new jl_IllegalStateException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = var$3; $rt_throw(var$4); } var$3 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$3); $rt_throw(var$3); } nle_IntegratedServer_statusState = 5; var$3 = new nlesi_IPCPacket03DeleteWorld; var$3.$worldName4 = var$4; nle_IntegratedServer_sendIPCPacket(var$3); var$4 = $this.$mc; var$5 = new nle_GuiScreenSingleplayerLoading; var$9 = new nms_GuiSelectWorld$confirmClicked$lambda$_9_0; var$10 = nle_GuiScreenSingleplayerLoading_defaultExceptionAction; var$11 = nle_GuiScreenSingleplayerLoading_defaultTerminateAction; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$12 = new ju_ArrayList; var$12.$array = $rt_createArray(jl_Object, 10); var$5.$buttonList = var$12; var$5.$allowUserInput = 0; var$5.$selectedButton = null; var$5.$eventButton = 0; var$5.$field_85043_c = Long_ZERO; var$5.$field_92018_d = 0; var$5.$menu = $this; var$5.$message0 = $rt_s(3579); var$5.$checkTaskComplete = var$9; var$5.$onException = var$10; var$5.$taskKill = var$11; var$5.$lastStatus = nle_IntegratedServer_worldStatusString; var$5.$currentStatus = $rt_s(3579); $ptr = 2; continue main; case 1: nms_Minecraft_displayGuiScreen(var$3, $this); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen(var$4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_GuiSelectWorld_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $this.$worldSlotContainer; $ptr = 1; case 1: nms_GuiSlot_drawScreen(var$4, $par1, $par2, $par3); if ($rt_suspending()) { break main; } var$4 = $this.$fontRenderer; var$5 = $this.$screenTitle0; var$6 = $this.$width / 2 | 0; var$7 = 20; var$8 = 16777215; var$9 = var$6 - (nms_FontRenderer_getStringWidth(var$4, var$5) / 2 | 0) | 0; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; var$10 = var$9 + 1 | 0; var$6 = 21; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$4, var$5, var$10, var$6, var$8, var$11); if ($rt_suspending()) { break main; } var$6 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$4, var$5, var$9, var$7, var$8, var$10); if ($rt_suspending()) { break main; } var$9 = $tmp; var$10 = 0; var$4 = $this.$buttonList; var$9 = $rt_compare(var$10, var$4.$size0); if (var$9 >= 0) return; if (var$10 >= 0 && var$9 < 0) { var$4 = var$4.$array.data[var$10]; var$5 = $this.$mc; $ptr = 4; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); case 4: var$4.$drawButton(var$5, $par1, $par2); if ($rt_suspending()) { break main; } var$10 = var$10 + 1 | 0; var$4 = $this.$buttonList; var$9 = $rt_compare(var$10, var$4.$size0); if (var$9 >= 0) return; if (var$10 >= 0 && var$9 < 0) { var$4 = var$4.$array.data[var$10]; var$5 = $this.$mc; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_GuiSelectWorld_mouseClicked = ($this, $xx, $yy, $btn) => { let $text, $w, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$w = $thread.pop();$text = $thread.pop();$btn = $thread.pop();$yy = $thread.pop();$xx = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); $text = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $rt_s(3580)); $w = nms_FontRenderer_getStringWidth($this.$mc.$fontRenderer0, $text); if ($xx > 2 && $yy > 2 && $xx < ((($w * 3 | 0) / 4 | 0) + 5 | 0) && $yy < 12) { $text = $this.$mc; var$6 = new nle_GuiScreenLANConnect; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); var$6.$buttonList = var$7; var$6.$allowUserInput = 0; var$6.$selectedButton = null; var$6.$eventButton = 0; var$6.$field_85043_c = Long_ZERO; var$6.$field_92018_d = 0; var$6.$parent2 = $this; var$7 = new nle_GuiNetworkSettingsButton; var$7.$screen0 = var$6; var$7.$text1 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $rt_s(1718)); var$7.$mc13 = nms_Minecraft_theMinecraft; var$6.$relaysButton0 = var$7; $ptr = 2; continue main; } $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $xx, $yy, $btn); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($text, var$6); if ($rt_suspending()) { break main; } $text = $this.$mc.$sndManager; var$6 = $rt_s(642); var$8 = 1.0; var$9 = 1.0; $ptr = 3; case 3: nms_SoundManager_playSoundFX($text, var$6, var$8, var$9); if ($rt_suspending()) { break main; } $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $xx, $yy, $btn, $text, $w, var$6, var$7, var$8, var$9, $ptr); }, nms_GuiSelectWorld_getDeleteWorldScreen = ($par0GuiScreen, $par1Str, $par2) => { let $var3, $var4, $var6, $var7, var$8, var$9, var$10, var$11, var$12, var$13, $var8; nms_StringTranslate_$callClinit(); $var3 = nms_StringTranslate_instance; $var4 = nms_StringTranslate_translateKey($var3, $rt_s(3581)); $var6 = nms_StringTranslate_translateKey($var3, $rt_s(3582)); $var7 = new jl_StringBuilder; $var7.$buffer = $rt_createCharArray(16); var$8 = $var7.$length0; jl_AbstractStringBuilder_insertSpace($var7, var$8, var$8 + 1 | 0); $var7.$buffer.data[var$8] = 39; var$9 = $var7.$length0; if ($par1Str === null) $par1Str = $rt_s(1); jl_AbstractStringBuilder_insert($var7, var$9, $par1Str); jl_AbstractStringBuilder_insert($var7, $var7.$length0, $rt_s(1728)); var$9 = $var7.$length0; if ($var6 === null) $var6 = $rt_s(1); jl_AbstractStringBuilder_insert($var7, var$9, $var6); var$10 = new jl_String; var$11 = $var7.$buffer; var$12 = var$11.data; var$13 = $var7.$length0; var$8 = var$12.length; if (var$13 >= 0 && var$13 <= (var$8 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$11.data, 0, var$13); $var6 = nms_StringTranslate_translateKey($var3, $rt_s(3583)); $var7 = nms_StringTranslate_translateKey($var3, $rt_s(1626)); $var8 = new nms_GuiYesNo; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $par1Str = new ju_ArrayList; $par1Str.$array = $rt_createArray(jl_Object, 10); $var8.$buttonList = $par1Str; $var8.$allowUserInput = 0; $var8.$selectedButton = null; $var8.$eventButton = 0; $var8.$field_85043_c = Long_ZERO; $var8.$field_92018_d = 0; $var8.$parentScreen = $par0GuiScreen; $var8.$message10 = $var4; $var8.$message2 = var$10; $var8.$buttonText1 = $var6; $var8.$buttonText2 = $var7; $var8.$worldNumber = $par2; return $var8; } $par0GuiScreen = new jl_IndexOutOfBoundsException; $par0GuiScreen.$suppressionEnabled = 1; $par0GuiScreen.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par0GuiScreen); $rt_throw($par0GuiScreen); }, nms_GuiMainMenu$actionPerformed$lambda$_7_0 = $rt_classWithoutFields(), nms_GuiMainMenu$actionPerformed$lambda$_7_0__init_ = var$0 => { return; }, nms_GuiMainMenu$actionPerformed$lambda$_7_0__init_0 = () => { let var_0 = new nms_GuiMainMenu$actionPerformed$lambda$_7_0(); nms_GuiMainMenu$actionPerformed$lambda$_7_0__init_(var_0); return var_0; }, nms_GuiMainMenu$actionPerformed$lambda$_7_0_getAsBoolean = var$0 => { nms_GuiMainMenu_$callClinit(); return nle_IntegratedServer_statusState ? 0 : 1; }; function nms_GuiLanguage() { let a = this; nms_GuiScreen.call(a); a.$parentGui1 = null; a.$updateTimer0 = 0; a.$languageList = null; a.$theGameSettings = null; a.$doneButton = null; } let nms_GuiLanguage_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; var$2 = $this.$buttonList; var$3 = new nms_GuiSmallButton; var$4 = ($this.$width / 2 | 0) - 75 | 0; var$5 = $this.$height - 38 | 0; $var1 = nms_StringTranslate_translateKey($var1, $rt_s(646)); var$6 = null; nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$3.$width0 = 200; var$3.$height0 = 20; var$3.$enabled = 1; var$3.$drawButton0 = 1; var$3.$id0 = 6; var$3.$xPosition = var$4; var$3.$yPosition = var$5; var$3.$width0 = 150; var$3.$height0 = 20; var$3.$displayString = $var1; var$3.$enumOptions = var$6; $this.$doneButton = var$3; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$7 = var$2.$array.data; var$8 = var$2.$size0; var$2.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3 = nms_GuiSlotLanguage__init_0($this); $this.$languageList = var$3; var$3.$scrollUpButtonID = 7; var$3.$scrollDownButtonID = 8; }, nms_GuiLanguage_actionPerformed = ($this, $par1GuiButton) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled) switch ($par1GuiButton.$id0) { case 5: break; case 6: $par1GuiButton = $this.$mc; var$2 = $this.$parentGui1; $ptr = 1; continue main; default: var$2 = $this.$languageList; $ptr = 2; continue main; } return; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } return; case 2: nms_GuiSlot_actionPerformed(var$2, $par1GuiButton); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $ptr); }, nms_GuiLanguage_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, $var4, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $this.$languageList; $ptr = 1; case 1: nms_GuiSlot_drawScreen(var$4, $par1, $par2, $par3); if ($rt_suspending()) { break main; } if ($this.$updateTimer0 <= 0) { var$4 = $this.$mc.$texturePackList; $ptr = 4; continue main; } nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; var$4 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3560)); var$7 = $this.$width / 2 | 0; var$8 = 16; var$9 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth(var$4, var$6) / 2 | 0) | 0; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; var$10 = var$7 + 1 | 0; var$11 = 17; var$12 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$4, var$6, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$4, var$6, var$7, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$9 = $tmp; var$6 = $this.$fontRenderer; $var4 = nms_StringTranslate_translateKey($var4, $rt_s(3584)); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$7 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$7, var$7 + 1 | 0); var$4.$buffer.data[var$7] = 40; var$9 = var$4.$length0; if ($var4 === null) $var4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$9, $var4); var$7 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$7, var$7 + 1 | 0); var$13 = var$4.$buffer; var$14 = var$13.data; var$14[var$7] = 41; $var4 = new jl_String; var$7 = var$4.$length0; var$8 = var$14.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$13.data, 0, var$7); var$11 = $this.$width / 2 | 0; var$9 = $this.$height - 56 | 0; var$7 = 8421504; var$8 = var$11 - (nms_FontRenderer_getStringWidth(var$6, $var4) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = var$9 + 1 | 0; var$12 = 1; $ptr = 5; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); case 4: nms_TexturePackList_updateAvaliableTexturePacks(var$4); if ($rt_suspending()) { break main; } $this.$updateTimer0 = $this.$updateTimer0 + 20 | 0; nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; var$4 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3560)); var$7 = $this.$width / 2 | 0; var$8 = 16; var$9 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth(var$4, var$6) / 2 | 0) | 0; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; var$10 = var$7 + 1 | 0; var$11 = 17; var$12 = 1; $ptr = 2; continue main; case 5: $tmp = nms_FontRenderer_renderString(var$6, $var4, var$10, var$11, var$7, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString(var$6, $var4, var$8, var$9, var$7, var$10); if ($rt_suspending()) { break main; } var$9 = $tmp; var$9 = 0; var$4 = $this.$buttonList; var$7 = $rt_compare(var$9, var$4.$size0); if (var$7 >= 0) return; if (var$9 >= 0 && var$7 < 0) { var$4 = var$4.$array.data[var$9]; $var4 = $this.$mc; $ptr = 7; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); case 7: var$4.$drawButton($var4, $par1, $par2); if ($rt_suspending()) { break main; } var$9 = var$9 + 1 | 0; var$4 = $this.$buttonList; var$7 = $rt_compare(var$9, var$4.$size0); if (var$7 >= 0) return; if (var$9 >= 0 && var$7 < 0) { var$4 = var$4.$array.data[var$9]; $var4 = $this.$mc; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }, nms_GuiLanguage_updateScreen = $this => { $this.$updateTimer0 = $this.$updateTimer0 - 1 | 0; }; function nms_GuiShareToLan() { let a = this; nms_GuiScreen.call(a); a.$parentScreen4 = null; a.$buttonAllowCommandsToggle = null; a.$buttonGameMode0 = null; a.$gameMode0 = null; a.$allowCommands0 = 0; } let nms_GuiShareToLan_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$buttonList; var$2 = var$1.$array; var$3 = 0; var$4 = var$1.$size0; var$5 = null; if (var$3 > var$4) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while (var$3 < var$4) { var$6 = var$2.data; var$7 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$5 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 155 | 0; var$8 = $this.$height - 28 | 0; nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3585)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 101; var$5.$xPosition = var$7; var$5.$yPosition = var$8; var$5.$width0 = 150; var$5.$height0 = 20; var$5.$displayString = var$9; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$5 = $this.$buttonList; var$1 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) + 5 | 0; var$8 = $this.$height - 28 | 0; var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1626)); var$1.$width0 = 200; var$1.$height0 = 20; var$1.$enabled = 1; var$1.$drawButton0 = 1; var$1.$id0 = 102; var$1.$xPosition = var$7; var$1.$yPosition = var$8; var$1.$width0 = 150; var$1.$height0 = 20; var$1.$displayString = var$9; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$2[var$4] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$9 = $this.$buttonList; var$1 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 155 | 0; var$5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3586)); var$1.$width0 = 200; var$1.$height0 = 20; var$1.$enabled = 1; var$1.$drawButton0 = 1; var$1.$id0 = 104; var$1.$xPosition = var$4; var$1.$yPosition = 100; var$1.$width0 = 150; var$1.$height0 = 20; var$1.$displayString = var$5; $this.$buttonGameMode0 = var$1; ju_ArrayList_ensureCapacity(var$9, var$9.$size0 + 1 | 0); var$2 = var$9.$array.data; var$4 = var$9.$size0; var$9.$size0 = var$4 + 1 | 0; var$2[var$4] = var$1; var$9.$modCount = var$9.$modCount + 1 | 0; var$5 = $this.$buttonList; var$9 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) + 5 | 0; var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3587)); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 103; var$9.$xPosition = var$4; var$9.$yPosition = 100; var$9.$width0 = 150; var$9.$height0 = 20; var$9.$displayString = var$1; $this.$buttonAllowCommandsToggle = var$9; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$2[var$4] = var$9; var$5.$modCount = var$5.$modCount + 1 | 0; nms_GuiShareToLan_func_74088_g($this); }, nms_GuiShareToLan_func_74088_g = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; var$1 = $this.$buttonGameMode0; nms_StatCollector_$callClinit(); var$2 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3586)); var$3 = $this.$gameMode0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3588)); var$5 = var$4.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$3); var$6 = new jl_String; var$7 = var$4.$buffer; var$8 = var$7.data; var$9 = var$4.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$6); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$5 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$5, var$2); var$9 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$9, var$9 + 1 | 0); var$3.$buffer.data[var$9] = 32; var$9 = var$3.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$9, var$4); var$4 = new jl_String; var$7 = var$3.$buffer; var$8 = var$7.data; var$10 = var$3.$length0; var$11 = var$8.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); var$1.$displayString = var$4; var$3 = $this.$buttonAllowCommandsToggle; var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3587)); var$1 = new jl_StringBuilder; var$1.$buffer = $rt_createCharArray(16); var$9 = var$1.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, var$9, var$4); var$9 = var$1.$length0; jl_AbstractStringBuilder_insertSpace(var$1, var$9, var$9 + 1 | 0); var$7 = var$1.$buffer; var$8 = var$7.data; var$8[var$9] = 32; var$4 = new jl_String; var$9 = var$1.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { a: { b: { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$3.$displayString = var$4; if (!$this.$allowCommands0) { var$3 = $this.$buttonAllowCommandsToggle; var$1 = var$3.$displayString; var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1064)); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$5 = var$4.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$1); var$5 = var$4.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$6); var$1 = new jl_String; var$7 = var$4.$buffer; var$8 = var$7.data; var$9 = var$4.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$3.$displayString = var$1; break b; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = $this.$buttonAllowCommandsToggle; var$1 = var$3.$displayString; var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1065)); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$5 = var$4.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$1); var$5 = var$4.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$6); var$1 = new jl_String; var$7 = var$4.$buffer; var$8 = var$7.data; var$9 = var$4.$length0; var$10 = var$8.length; if (var$9 < 0) break a; if (var$9 > (var$10 - 0 | 0)) break a; var$1.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$3.$displayString = var$1; } return; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); }, nms_GuiShareToLan_actionPerformed = ($this, $par1GuiButton) => { let var$2, $var3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1GuiButton.$id0; if (var$2 == 102) { $par1GuiButton = $this.$mc; $var3 = $this.$parentScreen4; $ptr = 1; continue main; } if (var$2 == 104) { $par1GuiButton = $this.$gameMode0; if ($par1GuiButton === $rt_s(3231)) var$4 = 1; else if (!($rt_s(3231) instanceof jl_String)) var$4 = 0; else { $var3 = $rt_s(3231); var$4 = $par1GuiButton.$nativeString !== $var3.$nativeString ? 0 : 1; } if (var$4) $this.$gameMode0 = $rt_s(3589); else { $par1GuiButton = $this.$gameMode0; if ($par1GuiButton === $rt_s(3589)) var$4 = 1; else if (!($rt_s(3589) instanceof jl_String)) var$4 = 0; else { $var3 = $rt_s(3589); var$4 = $par1GuiButton.$nativeString !== $var3.$nativeString ? 0 : 1; } if (!var$4) $this.$gameMode0 = $rt_s(3231); else $this.$gameMode0 = $rt_s(3590); } nms_GuiShareToLan_func_74088_g($this); } else if (var$2 == 103) { $this.$allowCommands0 = $this.$allowCommands0 ? 0 : 1; nms_GuiShareToLan_func_74088_g($this); } else if (var$2 == 101) { $par1GuiButton = $this.$mc; $var3 = null; $ptr = 2; continue main; } return; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, $var3); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, $var3); if ($rt_suspending()) { break main; } var$5 = $this.$mc.$ingameGUI.$persistantChatGUI; nms_GuiNewChat_func_96129_a(var$5, $rt_s(3591), 0, var$5.$mc7.$ingameGUI.$updateCounter, 0); if (jl_System_outCache === null) { $par1GuiButton = new otcic_JSStdoutPrintStream; var$5 = new ji_ByteArrayOutputStream; jl_Object__init_(var$5); var$5.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1GuiButton); $par1GuiButton.$out0 = var$5; var$5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$5); $par1GuiButton.$sb = var$5; $par1GuiButton.$buffer0 = $rt_createCharArray(32); $par1GuiButton.$autoFlush = 0; $par1GuiButton.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par1GuiButton; } $par1GuiButton = new jl_StringBuilder; $par1GuiButton.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($par1GuiButton, $par1GuiButton.$length0, $rt_s(482)); jl_StringBuilder_insert($par1GuiButton, $par1GuiButton.$length0, $rt_s(3591)); $var3 = new jl_String; var$6 = $par1GuiButton.$buffer; var$7 = var$6.data; var$2 = $par1GuiButton.$length0; var$8 = var$7.length; if (var$2 >= 0 && var$2 <= (var$8 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); $rt_putStdout($rt_ustr($var3)); $rt_putStdout("\n"); return; } $par1GuiButton = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1GuiButton); $rt_throw($par1GuiButton); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $var3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_GuiShareToLan_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3592)); var$7 = $this.$width / 2 | 0; var$8 = 50; var$9 = 16777215; var$4 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$7 = 51; var$11 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3592)); var$7 = $this.$width / 2 | 0; var$8 = 50; var$9 = 16777215; var$4 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$7 = 51; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$10, var$7, var$9, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$7 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$8, var$9, var$7); if ($rt_suspending()) { break main; } var$4 = $tmp; var$5 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3593)); var$4 = $this.$width / 2 | 0; var$10 = 82; var$9 = 16777215; var$4 = var$4 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$8 = var$4 + 1 | 0; var$7 = 83; var$11 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$8, var$7, var$9, var$11); if ($rt_suspending()) { break main; } var$7 = $tmp; var$8 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$10, var$9, var$8); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$6 = $this.$buttonList; var$10 = $rt_compare(var$4, var$6.$size0); if (var$10 >= 0) return; if (var$4 >= 0 && var$10 < 0) { var$6 = var$6.$array.data[var$4]; var$5 = $this.$mc; $ptr = 6; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); case 6: var$6.$drawButton(var$5, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$6 = $this.$buttonList; var$10 = $rt_compare(var$4, var$6.$size0); if (var$10 >= 0) return; if (var$4 >= 0 && var$10 < 0) { var$6 = var$6.$array.data[var$4]; var$5 = $this.$mc; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }; function nms_Chunk() { let a = this; jl_Object.call(a); a.$storageArrays = null; a.$blockBiomeArray = null; a.$precipitationHeightMap = null; a.$updateSkylightColumns = null; a.$isChunkLoaded = 0; a.$worldObj2 = null; a.$heightMap = null; a.$xPosition3 = 0; a.$zPosition2 = 0; a.$isGapLightingUpdated = 0; a.$chunkTileEntityMap = null; a.$entityLists = null; a.$isModified = 0; a.$hasEntities = 0; a.$heightMapMinimum = 0; a.$inhabitedTime = Long_ZERO; a.$queuedLightChecks = 0; } let nms_Chunk_isLit = 0, nms_Chunk_totalBlockLightUpdates = 0, nms_Chunk__init_0 = ($this, $par1World, $par2, $par3) => { let var$4, var$5, var$6, var$7, $var4; $this.$storageArrays = $rt_createArray(nms_ExtendedBlockStorage, 16); $this.$blockBiomeArray = $rt_createByteArray(256); $this.$precipitationHeightMap = $rt_createIntArray(256); $this.$updateSkylightColumns = $rt_createBooleanArray(256); var$4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; $this.$chunkTileEntityMap = var$4; $this.$queuedLightChecks = 4096; var$7 = $rt_createArray(ju_List, 16); var$6 = var$7.data; $this.$entityLists = var$7; $this.$worldObj2 = $par1World; $this.$xPosition3 = $par2; $this.$zPosition2 = $par3; $this.$heightMap = $rt_createIntArray(256); $var4 = 0; $par3 = var$6.length; while ($var4 < $par3) { $par1World = new ju_ArrayList; $par1World.$array = $rt_createArray(jl_Object, 10); var$6[$var4] = $par1World; $var4 = $var4 + 1 | 0; } var$7 = $this.$precipitationHeightMap.data; $par3 = 0; $var4 = var$7.length; if ($par3 > $var4) { $par1World = new jl_IllegalArgumentException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); } while ($par3 < $var4) { var$5 = $par3 + 1 | 0; var$7[$par3] = (-999); $par3 = var$5; } var$7 = $this.$blockBiomeArray.data; $par3 = 0; $var4 = var$7.length; if ($par3 <= $var4) { while ($par3 < $var4) { var$5 = $par3 + 1 | 0; var$7[$par3] = (-1); $par3 = var$5; } return; } $par1World = new jl_IllegalArgumentException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); }, nms_Chunk__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_Chunk(); nms_Chunk__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_Chunk_getHeightValue = ($this, $par1, $par2) => { return $this.$heightMap.data[$par2 << 4 | $par1]; }, nms_Chunk_getTopFilledSegment = $this => { let var$1, $var1; var$1 = $this.$storageArrays.data; $var1 = var$1.length - 1 | 0; while ($var1 >= 0) { if (var$1[$var1] !== null) return var$1[$var1].$yBase; $var1 = $var1 + (-1) | 0; } return 0; }, nms_Chunk_generateHeightMap = $this => { let var$1, $var4, $var1, $var2, $var3, var$6, $var5; var$1 = $this.$storageArrays.data; $var4 = var$1.length - 1 | 0; a: { while ($var4 >= 0) { if (var$1[$var4] !== null) { $var1 = var$1[$var4].$yBase; break a; } $var4 = $var4 + (-1) | 0; } $var1 = 0; } $var2 = 0; while ($var2 < 16) { $var3 = 0; while ($var3 < 16) { var$1 = $this.$precipitationHeightMap.data; var$6 = $var3 << 4; var$1[$var2 + var$6 | 0] = (-999); $var4 = ($var1 + 16 | 0) - 1 | 0; b: { while (true) { if ($var4 <= 0) break b; $var5 = $this.$getBlockID($var2, $var4 - 1 | 0, $var3); nms_Block_$callClinit(); if (nms_Block_lightOpacity.data[$var5]) break; $var4 = $var4 + (-1) | 0; } $this.$heightMap.data[var$6 | $var2] = $var4; } $var3 = $var3 + 1 | 0; } $var2 = $var2 + 1 | 0; } $this.$isModified = 1; }, nms_Chunk_generateSkylightMap = $this => { let var$1, var$2, $var1, $var2, $var3, $var3_0, $var5, $var4, var$9, $var6, var$11, var$12, var$13, var$14, var$15; var$1 = $this.$storageArrays.data; var$2 = var$1.length - 1 | 0; a: { while (var$2 >= 0) { if (var$1[var$2] !== null) { $var1 = var$1[var$2].$yBase; break a; } var$2 = var$2 + (-1) | 0; } $var1 = 0; } $this.$heightMapMinimum = 2147483647; $var2 = 0; b: while (true) { if ($var2 >= 16) { $this.$isModified = 1; var$2 = 0; while (var$2 < 16) { $var3 = 0; while ($var3 < 16) { $this.$updateSkylightColumns.data[var$2 + ($var3 * 16 | 0) | 0] = 1; $this.$isGapLightingUpdated = 1; $var3 = $var3 + 1 | 0; } var$2 = var$2 + 1 | 0; } return; } $var3_0 = 0; while ($var3_0 < 16) { var$1 = $this.$precipitationHeightMap.data; $var3 = $var3_0 << 4; var$1[$var2 + $var3 | 0] = (-999); $var5 = ($var1 + 16 | 0) - 1 | 0; $var4 = $var5; c: { while (true) { if ($var4 <= 0) break c; if ($this.$getBlockLightOpacity($var2, $var4 - 1 | 0, $var3_0)) break; $var4 = $var4 + (-1) | 0; } $this.$heightMap.data[$var3 | $var2] = $var4; if ($var4 < $this.$heightMapMinimum) $this.$heightMapMinimum = $var4; } d: { if (!$this.$worldObj2.$provider.$hasNoSky) { var$9 = 15; while (true) { var$9 = var$9 - $this.$getBlockLightOpacity($var2, $var5, $var3_0) | 0; if (var$9 > 0) { $var6 = $this.$storageArrays.data[$var5 >> 4]; if ($var6 !== null) { var$2 = $var5 & 15; nms_NibbleArray_set($var6.$skylightArray, $var2, var$2, $var3_0, var$9); var$11 = $this.$worldObj2; var$2 = ($this.$xPosition3 << 4) + $var2 | 0; $var3 = ($this.$zPosition2 << 4) + $var3_0 | 0; $var4 = 0; var$12 = var$2 - 1 | 0; var$13 = $var3 - 1 | 0; var$14 = var$2 + 1 | 0; var$15 = $var3 + 1 | 0; while (true) { $var6 = var$11.$worldAccesses; var$2 = $rt_compare($var4, $var6.$size0); if (var$2 >= 0) break; if ($var4 < 0) break b; if (var$2 >= 0) break b; nms_RenderGlobal_markBlocksForUpdate($var6.$array.data[$var4], var$12, $var5 - 1 | 0, var$13, var$14, $var5 + 1 | 0, var$15); $var4 = $var4 + 1 | 0; } } } $var5 = $var5 + (-1) | 0; if ($var5 <= 0) break d; if (var$9 <= 0) break d; } } } $var3_0 = $var3_0 + 1 | 0; } $var2 = $var2 + 1 | 0; } $var6 = new jl_IndexOutOfBoundsException; $var6.$suppressionEnabled = 1; $var6.$writableStackTrace = 1; $rt_throw($var6); }, nms_Chunk_relightBlock = ($this, $par1, $par2, $par3) => { let var$4, var$5, $var4, $var8, $var9, var$9, $var7, $var8_0, var$12, $var12, var$14, var$15, $var6, $var10, var$18; var$4 = $this.$heightMap.data; var$5 = $par3 << 4 | $par1; $var4 = var$4[var$5] & 255; if ($par2 <= $var4) $par2 = $var4; while ($par2 > 0 && !$this.$getBlockLightOpacity($par1, $par2 - 1 | 0, $par3)) { $par2 = $par2 + (-1) | 0; } a: { $var8 = $rt_compare($par2, $var4); if ($var8) { $var9 = $this.$worldObj2; var$9 = $par1 + ($this.$xPosition3 * 16 | 0) | 0; $var7 = $par3 + ($this.$zPosition2 * 16 | 0) | 0; if ($var8 <= 0) { $var8_0 = $var4; var$12 = $par2; } else { $var8_0 = $par2; var$12 = $var4; } b: { if (!$var9.$provider.$hasNoSky) { $var12 = var$12; while (true) { if ($var12 > $var8_0) break b; nms_World_updateLightByType($var9, nms_EnumSkyBlock_Sky, var$9, $var12, $var7); $var12 = $var12 + 1 | 0; } } } $var12 = 0; var$14 = var$9 - 1 | 0; var$15 = $var7 - 1 | 0; $var6 = var$9 + 1 | 0; $var7 = $var7 + 1 | 0; while (true) { $var10 = $var9.$worldAccesses; var$18 = $rt_compare($var12, $var10.$size0); if (var$18 >= 0) { c: { $this.$heightMap.data[var$5] = $par2; $var6 = ($this.$xPosition3 * 16 | 0) + $par1 | 0; $var7 = ($this.$zPosition2 * 16 | 0) + $par3 | 0; if (!$this.$worldObj2.$provider.$hasNoSky) { d: { if ($var8 >= 0) { $var8 = $var4; e: while (true) { if ($var8 >= $par2) break d; $var9 = $this.$storageArrays.data[$var8 >> 4]; if ($var9 !== null) { $var8_0 = $var8 & 15; nms_NibbleArray_set($var9.$skylightArray, $par1, $var8_0, $par3, 0); $var9 = $this.$worldObj2; var$18 = ($this.$xPosition3 << 4) + $par1 | 0; var$15 = ($this.$zPosition2 << 4) + $par3 | 0; var$12 = 0; $var12 = var$18 - 1 | 0; var$14 = var$15 - 1 | 0; var$9 = var$18 + 1 | 0; var$15 = var$15 + 1 | 0; while (true) { $var10 = $var9.$worldAccesses; $var8_0 = $rt_compare(var$12, $var10.$size0); if ($var8_0 >= 0) break; if (var$12 < 0) break e; if ($var8_0 >= 0) break e; nms_RenderGlobal_markBlocksForUpdate($var10.$array.data[var$12], $var12, $var8 - 1 | 0, var$14, var$9, $var8 + 1 | 0, var$15); var$12 = var$12 + 1 | 0; } } $var8 = $var8 + 1 | 0; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); } $var8 = $par2; f: while (true) { if ($var8 >= $var4) break d; $var9 = $this.$storageArrays.data[$var8 >> 4]; if ($var9 !== null) { $var8_0 = $var8 & 15; nms_NibbleArray_set($var9.$skylightArray, $par1, $var8_0, $par3, 15); $var9 = $this.$worldObj2; var$18 = ($this.$xPosition3 << 4) + $par1 | 0; var$15 = ($this.$zPosition2 << 4) + $par3 | 0; var$12 = 0; $var12 = var$18 - 1 | 0; var$14 = var$15 - 1 | 0; var$9 = var$18 + 1 | 0; var$15 = var$15 + 1 | 0; while (true) { $var10 = $var9.$worldAccesses; $var8_0 = $rt_compare(var$12, $var10.$size0); if ($var8_0 >= 0) break; if (var$12 < 0) break f; if ($var8_0 >= 0) break f; nms_RenderGlobal_markBlocksForUpdate($var10.$array.data[var$12], $var12, $var8 - 1 | 0, var$14, var$9, $var8 + 1 | 0, var$15); var$12 = var$12 + 1 | 0; } } $var8 = $var8 + 1 | 0; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); } var$12 = 15; while (true) { if ($par2 <= 0) break c; if (var$12 <= 0) break c; $par2 = $par2 + (-1) | 0; $var12 = $this.$getBlockLightOpacity($par1, $par2, $par3); if (!$var12) $var12 = 1; var$12 = var$12 - $var12 | 0; if (var$12 < 0) var$12 = 0; $var10 = $this.$storageArrays.data[$par2 >> 4]; if ($var10 !== null) { $var8_0 = $par2 & 15; nms_NibbleArray_set($var10.$skylightArray, $par1, $var8_0, $par3, var$12); } } } } $var8_0 = $this.$heightMap.data[var$5]; if ($var8_0 < $var4) var$14 = $var8_0; else { $par1 = $var8_0; var$14 = $var4; $var4 = $par1; } if ($var8_0 < $this.$heightMapMinimum) $this.$heightMapMinimum = $var8_0; $var10 = $this.$worldObj2; if (!$var10.$provider.$hasNoSky) { var$9 = $var6 - 1 | 0; var$18 = $rt_compare($var4, var$14); if (var$18 > 0 && nms_World_checkChunksExist($var10, var$9 - 16 | 0, (-16), $var7 - 16 | 0, var$9 + 16 | 0, 16, $var7 + 16 | 0)) { $par1 = var$14; while ($par1 < $var4) { nms_World_updateLightByType($this.$worldObj2, nms_EnumSkyBlock_Sky, var$9, $par1, $var7); $par1 = $par1 + 1 | 0; } $this.$isModified = 1; } var$9 = $var6 + 1 | 0; if (var$18 > 0 && nms_World_checkChunksExist($this.$worldObj2, var$9 - 16 | 0, (-16), $var7 - 16 | 0, var$9 + 16 | 0, 16, $var7 + 16 | 0)) { $par1 = var$14; while ($par1 < $var4) { nms_World_updateLightByType($this.$worldObj2, nms_EnumSkyBlock_Sky, var$9, $par1, $var7); $par1 = $par1 + 1 | 0; } $this.$isModified = 1; } var$9 = $var7 - 1 | 0; if (var$18 > 0 && nms_World_checkChunksExist($this.$worldObj2, $var6 - 16 | 0, (-16), var$9 - 16 | 0, $var6 + 16 | 0, 16, var$9 + 16 | 0)) { $par1 = var$14; while ($par1 < $var4) { nms_World_updateLightByType($this.$worldObj2, nms_EnumSkyBlock_Sky, $var6, $par1, var$9); $par1 = $par1 + 1 | 0; } $this.$isModified = 1; } var$9 = $var7 + 1 | 0; if (var$18 > 0 && nms_World_checkChunksExist($this.$worldObj2, $var6 - 16 | 0, (-16), var$9 - 16 | 0, $var6 + 16 | 0, 16, var$9 + 16 | 0)) { $par1 = var$14; while ($par1 < $var4) { nms_World_updateLightByType($this.$worldObj2, nms_EnumSkyBlock_Sky, $var6, $par1, var$9); $par1 = $par1 + 1 | 0; } $this.$isModified = 1; } if (var$18 > 0 && nms_World_checkChunksExist($this.$worldObj2, $var6 - 16 | 0, (-16), $var7 - 16 | 0, $var6 + 16 | 0, 16, $var7 + 16 | 0)) { while (var$14 < $var4) { nms_World_updateLightByType($this.$worldObj2, nms_EnumSkyBlock_Sky, $var6, var$14, $var7); var$14 = var$14 + 1 | 0; } $this.$isModified = 1; } } nms_Chunk_totalBlockLightUpdates = nms_Chunk_totalBlockLightUpdates + 1 | 0; $this.$isModified = 1; break a; } if ($var12 < 0) break; if (var$18 >= 0) break; nms_RenderGlobal_markBlocksForUpdate($var10.$array.data[$var12], var$14, var$12 - 1 | 0, var$15, $var6, $var8_0 + 1 | 0, $var7); $var12 = $var12 + 1 | 0; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var10); $rt_throw($var10); } } }, nms_Chunk_getBlockLightOpacity = ($this, $par1, $par2, $par3) => { nms_Block_$callClinit(); return nms_Block_lightOpacity.data[$this.$getBlockID($par1, $par2, $par3)]; }, nms_Chunk_getBlockID = ($this, $par1, $par2, $par3) => { let var$4, var$5, $var4, var$7; var$4 = $par2 >> 4; var$5 = $this.$storageArrays.data; if (var$4 >= var$5.length) return 0; $var4 = var$5[var$4]; if ($var4 === null) $par2 = 0; else { var$7 = $par2 & 15; $par2 = $var4.$blockLSBArray.data[var$7 << 8 | $par3 << 4 | $par1] & 255; $var4 = $var4.$blockMSBArray; if ($var4 !== null) $par2 = nms_NibbleArray_get($var4, $par1, var$7, $par3) << 8 | $par2; } return $par2; }, nms_Chunk_getBlockMetadata = ($this, $par1, $par2, $par3) => { let var$4, var$5, $var4; var$4 = $par2 >> 4; var$5 = $this.$storageArrays.data; if (var$4 >= var$5.length) return 0; $var4 = var$5[var$4]; if ($var4 === null) $par1 = 0; else { $par2 = $par2 & 15; $par1 = nms_NibbleArray_get($var4.$blockMetadataArray, $par1, $par2, $par3); } return $par1; }, nms_Chunk_setBlockIDWithMetadata = ($this, $par1, $par2, $par3, $par4, $par5) => { let var$6, $var6, var$8, $var7, $var8, $var9, var$12, $var12, $var10, $var11, $var13, var$17, $var14, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();$var14 = $thread.pop();var$17 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var12 = $thread.pop();var$12 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $par3 << 4; $var6 = var$6 | $par1; var$8 = $this.$precipitationHeightMap.data; if ($par2 >= (var$8[$var6] - 1 | 0)) var$8[$var6] = (-999); $var7 = $this.$heightMap.data[$var6]; $var8 = $this.$getBlockID($par1, $par2, $par3); $var9 = $this.$getBlockMetadata($par1, $par2, $par3); var$12 = $rt_compare($var8, $par4); if (!var$12 && $var9 == $par5) return 0; var$8 = $this.$storageArrays.data; $var12 = $par2 >> 4; $var10 = var$8[$var12]; $var11 = 0; if ($var10 === null) { if (!$par4) return 0; $var10 = nms_ExtendedBlockStorage__init_($var12 << 4, $this.$worldObj2.$provider.$hasNoSky ? 0 : 1); var$8[$var12] = $var10; $var11 = $par2 < $var7 ? 0 : 1; } $var12 = ($this.$xPosition3 * 16 | 0) + $par1 | 0; $var13 = ($this.$zPosition2 * 16 | 0) + $par3 | 0; if ($var8 && !$this.$worldObj2.$isRemote) nms_Block_$callClinit(); var$17 = $par2 & 15; nms_ExtendedBlockStorage_setExtBlockID($var10, $par1, var$17, $par3, $par4); if ($var8) { $var14 = $this.$worldObj2; if (!$var14.$isRemote) { nms_Block_$callClinit(); var$19 = nms_Block_blocksList.data[$var8]; $ptr = 1; continue main; } nms_Block_$callClinit(); if ($rt_isInstance(nms_Block_blocksList.data[$var8], nms_ITileEntityProvider) && var$12) { $ptr = 2; continue main; } } $var6 = $var10.$blockLSBArray.data[var$17 << 8 | var$6 | $par1] & 255; $var14 = $var10.$blockMSBArray; if ($var14 !== null) $var6 = nms_NibbleArray_get($var14, $par1, var$17, $par3) << 8 | $var6; if ($var6 != $par4) return 0; nms_NibbleArray_set($var10.$blockMetadataArray, $par1, var$17, $par3, $par5); if ($var11) $this.$generateSkylightMap(); else { nms_Block_$callClinit(); if (nms_Block_lightOpacity.data[$par4 & 4095] <= 0) { if ($par2 == ($var7 - 1 | 0)) nms_Chunk_relightBlock($this, $par1, $par2, $par3); } else if ($par2 >= $var7) nms_Chunk_relightBlock($this, $par1, $par2 + 1 | 0, $par3); $this.$updateSkylightColumns.data[$par1 + ($par3 * 16 | 0) | 0] = 1; $this.$isGapLightingUpdated = 1; } a: { if (!$par4) { if ($var8 <= 0) break a; nms_Block_$callClinit(); if (!$rt_isInstance(nms_Block_blocksList.data[$var8], nms_ITileEntityProvider)) break a; $ptr = 4; continue main; } $var14 = $this.$worldObj2; if (!$var14.$isRemote) { nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par4]; $ptr = 3; continue main; } nms_Block_$callClinit(); if ($rt_isInstance(nms_Block_blocksList.data[$par4], nms_ITileEntityProvider)) { $ptr = 5; continue main; } } $this.$isModified = 1; return 1; case 1: var$19.$breakBlock($var14, $var12, $par2, $var13, $var8, $var9); if ($rt_suspending()) { break main; } $var6 = $var10.$blockLSBArray.data[var$17 << 8 | var$6 | $par1] & 255; $var14 = $var10.$blockMSBArray; if ($var14 !== null) $var6 = nms_NibbleArray_get($var14, $par1, var$17, $par3) << 8 | $var6; if ($var6 != $par4) return 0; nms_NibbleArray_set($var10.$blockMetadataArray, $par1, var$17, $par3, $par5); if ($var11) $this.$generateSkylightMap(); else { nms_Block_$callClinit(); if (nms_Block_lightOpacity.data[$par4 & 4095] <= 0) { if ($par2 == ($var7 - 1 | 0)) nms_Chunk_relightBlock($this, $par1, $par2, $par3); } else if ($par2 >= $var7) nms_Chunk_relightBlock($this, $par1, $par2 + 1 | 0, $par3); $this.$updateSkylightColumns.data[$par1 + ($par3 * 16 | 0) | 0] = 1; $this.$isGapLightingUpdated = 1; } b: { if (!$par4) { if ($var8 <= 0) break b; nms_Block_$callClinit(); if (!$rt_isInstance(nms_Block_blocksList.data[$var8], nms_ITileEntityProvider)) break b; $ptr = 4; continue main; } $var14 = $this.$worldObj2; if (!$var14.$isRemote) { nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par4]; $ptr = 3; continue main; } nms_Block_$callClinit(); if ($rt_isInstance(nms_Block_blocksList.data[$par4], nms_ITileEntityProvider)) { $ptr = 5; continue main; } } $this.$isModified = 1; return 1; case 2: nms_World_removeBlockTileEntity($var14, $var12, $par2, $var13); if ($rt_suspending()) { break main; } $var6 = $var10.$blockLSBArray.data[var$17 << 8 | var$6 | $par1] & 255; $var14 = $var10.$blockMSBArray; if ($var14 !== null) $var6 = nms_NibbleArray_get($var14, $par1, var$17, $par3) << 8 | $var6; if ($var6 != $par4) return 0; nms_NibbleArray_set($var10.$blockMetadataArray, $par1, var$17, $par3, $par5); if ($var11) $this.$generateSkylightMap(); else { nms_Block_$callClinit(); if (nms_Block_lightOpacity.data[$par4 & 4095] <= 0) { if ($par2 == ($var7 - 1 | 0)) nms_Chunk_relightBlock($this, $par1, $par2, $par3); } else if ($par2 >= $var7) nms_Chunk_relightBlock($this, $par1, $par2 + 1 | 0, $par3); $this.$updateSkylightColumns.data[$par1 + ($par3 * 16 | 0) | 0] = 1; $this.$isGapLightingUpdated = 1; } b: { if (!$par4) { if ($var8 <= 0) break b; nms_Block_$callClinit(); if (!$rt_isInstance(nms_Block_blocksList.data[$var8], nms_ITileEntityProvider)) break b; $ptr = 4; continue main; } $var14 = $this.$worldObj2; if (!$var14.$isRemote) { nms_Block_$callClinit(); $var10 = nms_Block_blocksList.data[$par4]; $ptr = 3; continue main; } nms_Block_$callClinit(); if ($rt_isInstance(nms_Block_blocksList.data[$par4], nms_ITileEntityProvider)) { $ptr = 5; continue main; } } $this.$isModified = 1; return 1; case 3: $var10.$onBlockAdded($var14, $var12, $par2, $var13); if ($rt_suspending()) { break main; } nms_Block_$callClinit(); if (!$rt_isInstance(nms_Block_blocksList.data[$par4], nms_ITileEntityProvider)) { $this.$isModified = 1; return 1; } $ptr = 5; continue main; case 4: $tmp = $this.$getChunkBlockTileEntity($par1, $par2, $par3); if ($rt_suspending()) { break main; } $var14 = $tmp; if ($var14 !== null) $var14.$updateContainingBlockInfo(); $this.$isModified = 1; return 1; case 5: $tmp = $this.$getChunkBlockTileEntity($par1, $par2, $par3); if ($rt_suspending()) { break main; } $var14 = $tmp; if ($var14 !== null) { if ($var14 !== null) $var14.$updateContainingBlockInfo(); $this.$isModified = 1; return 1; } $var10 = nms_Block_blocksList.data[$par4]; $var14 = $this.$worldObj2; $ptr = 6; case 6: $tmp = $var10.$createNewTileEntity($var14); if ($rt_suspending()) { break main; } $var14 = $tmp; $var10 = $this.$worldObj2; $ptr = 7; case 7: nms_World_setBlockTileEntity($var10, $var12, $par2, $var13, $var14); if ($rt_suspending()) { break main; } if ($var14 !== null) $var14.$updateContainingBlockInfo(); $this.$isModified = 1; return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5, var$6, $var6, var$8, $var7, $var8, $var9, var$12, $var12, $var10, $var11, $var13, var$17, $var14, var$19, $ptr); }, nms_Chunk_setBlockMetadata = ($this, $par1, $par2, $par3, $par4) => { let $var5, var$6, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $this.$storageArrays.data[$par2 >> 4]; if ($var5 === null) return 0; var$6 = $par2 & 15; if (nms_NibbleArray_get($var5.$blockMetadataArray, $par1, var$6, $par3) == $par4) return 0; $this.$isModified = 1; nms_NibbleArray_set($var5.$blockMetadataArray, $par1, var$6, $par3, $par4); $var7 = $var5.$blockLSBArray.data[var$6 << 8 | $par3 << 4 | $par1] & 255; $var8 = $var5.$blockMSBArray; if ($var8 !== null) $var7 = nms_NibbleArray_get($var8, $par1, var$6, $par3) << 8 | $var7; if ($var7 > 0) { nms_Block_$callClinit(); if ($rt_isInstance(nms_Block_blocksList.data[$var7], nms_ITileEntityProvider)) { $ptr = 1; continue main; } } return 1; case 1: $tmp = $this.$getChunkBlockTileEntity($par1, $par2, $par3); if ($rt_suspending()) { break main; } $var8 = $tmp; if ($var8 !== null) { $var8.$updateContainingBlockInfo(); $var8.$blockMetadata = $par4; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $var5, var$6, $var7, $var8, $ptr); }, nms_Chunk_getSavedLightValue = ($this, $par1EnumSkyBlock, $par2, $par3, $par4) => { let $var5; $var5 = $this.$storageArrays.data[$par3 >> 4]; if ($var5 === null) $par2 = !$this.$canBlockSeeTheSky($par2, $par3, $par4) ? 0 : $par1EnumSkyBlock.$defaultLightValue; else if ($par1EnumSkyBlock !== nms_EnumSkyBlock_Sky) { if ($par1EnumSkyBlock !== nms_EnumSkyBlock_Block) $par2 = $par1EnumSkyBlock.$defaultLightValue; else { $par3 = $par3 & 15; $par2 = nms_NibbleArray_get($var5.$blocklightArray, $par2, $par3, $par4); } } else if ($this.$worldObj2.$provider.$hasNoSky) $par2 = 0; else { $par3 = $par3 & 15; $par2 = nms_NibbleArray_get($var5.$skylightArray, $par2, $par3, $par4); } return $par2; }, nms_Chunk_setLightValue = ($this, $par1EnumSkyBlock, $par2, $par3, $par4, $par5) => { let var$6, var$7, $var6; var$6 = $this.$storageArrays.data; var$7 = $par3 >> 4; $var6 = var$6[var$7]; if ($var6 === null) { $var6 = nms_ExtendedBlockStorage__init_(var$7 << 4, $this.$worldObj2.$provider.$hasNoSky ? 0 : 1); var$6[var$7] = $var6; $this.$generateSkylightMap(); } $this.$isModified = 1; if ($par1EnumSkyBlock !== nms_EnumSkyBlock_Sky) { if ($par1EnumSkyBlock === nms_EnumSkyBlock_Block) { $par3 = $par3 & 15; nms_NibbleArray_set($var6.$blocklightArray, $par2, $par3, $par4, $par5); } } else if (!$this.$worldObj2.$provider.$hasNoSky) { $par3 = $par3 & 15; nms_NibbleArray_set($var6.$skylightArray, $par2, $par3, $par4, $par5); } }, nms_Chunk_getBlockLightValue = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7; $var5 = $this.$storageArrays.data[$par2 >> 4]; if ($var5 === null) { a: { if (!$this.$worldObj2.$provider.$hasNoSky) { $par1 = nms_EnumSkyBlock_Sky.$defaultLightValue; if ($par4 < $par1) { $par1 = $par1 - $par4 | 0; break a; } } $par1 = 0; } return $par1; } if ($this.$worldObj2.$provider.$hasNoSky) $var6 = 0; else { $var6 = $par2 & 15; $var6 = nms_NibbleArray_get($var5.$skylightArray, $par1, $var6, $par3); } if ($var6 > 0) nms_Chunk_isLit = 1; $par4 = $var6 - $par4 | 0; $par2 = $par2 & 15; $var7 = nms_NibbleArray_get($var5.$blocklightArray, $par1, $par2, $par3); if ($var7 <= $par4) $var7 = $par4; return $var7; }, nms_Chunk_addEntity = ($this, $par1Entity) => { let var$2, $var2, $var3, var$5, var$6, var$7, $var4, var$9, var$10; $this.$hasEntities = 1; var$2 = $par1Entity.$posX / 16.0; $var2 = var$2 | 0; if (var$2 < $var2) $var2 = $var2 - 1 | 0; var$2 = $par1Entity.$posZ / 16.0; $var3 = var$2 | 0; if (var$2 < $var3) $var3 = $var3 - 1 | 0; if (!($var2 == $this.$xPosition3 && $var3 == $this.$zPosition2)) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; var$6 = new ji_ByteArrayOutputStream; var$6.$buf = $rt_createByteArray(32); var$5.$out0 = var$6; var$6 = new jl_StringBuilder; jl_Object__init_(var$6); var$6.$buffer = $rt_createCharArray(16); var$5.$sb = var$6; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } var$7 = $par1Entity.$toString(); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3594)); $var4 = var$5.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, $var4, var$7); var$6 = new jl_String; var$9 = var$5.$buffer; var$10 = var$9.data; $var2 = var$5.$length0; $var3 = var$10.length; if ($var2 >= 0 && $var2 <= ($var3 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$9.data, 0, $var2); $rt_putStderr($rt_ustr(var$6)); $rt_putStderr("\n"); } else { $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Entity); $rt_throw($par1Entity); } } var$2 = $par1Entity.$posY / 16.0; $var4 = var$2 | 0; if (var$2 < $var4) $var4 = $var4 - 1 | 0; if ($var4 < 0) $var4 = 0; var$9 = $this.$entityLists.data; $var3 = var$9.length; if ($var4 >= $var3) $var4 = $var3 - 1 | 0; $par1Entity.$addedToChunk = 1; $par1Entity.$chunkCoordX = $this.$xPosition3; $par1Entity.$chunkCoordY = $var4; $par1Entity.$chunkCoordZ = $this.$zPosition2; var$5 = var$9[$var4]; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$9 = var$5.$array.data; $var3 = var$5.$size0; var$5.$size0 = $var3 + 1 | 0; var$9[$var3] = $par1Entity; var$5.$modCount = var$5.$modCount + 1 | 0; }, nms_Chunk_removeEntity = ($this, $par1Entity) => { $this.$removeEntityAtIndex($par1Entity, $par1Entity.$chunkCoordY); }, nms_Chunk_removeEntityAtIndex = ($this, $par1Entity, $par2) => { let var$3, var$4, var$5, var$6, var$7; if ($par2 < 0) $par2 = 0; var$3 = $this.$entityLists.data; var$4 = var$3.length; if ($par2 >= var$4) $par2 = var$4 - 1 | 0; var$5 = var$3[$par2]; var$6 = var$5.$size0; $par2 = 0; a: { b: { while (true) { if ($par2 >= var$6) { $par2 = (-1); break b; } if ($par2 < 0) break a; if ($par2 >= var$5.$size0) break a; var$7 = var$5.$array.data[$par2]; if ($par1Entity === var$7 ? 1 : $par1Entity !== null ? $par1Entity.$equals(var$7) : var$7 !== null ? 0 : 1) break; $par2 = $par2 + 1 | 0; } } if ($par2 >= 0) ju_ArrayList_remove(var$5, $par2); return; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Entity); $rt_throw($par1Entity); }, nms_Chunk_canBlockSeeTheSky = ($this, $par1, $par2, $par3) => { return $par2 < $this.$heightMap.data[$par3 << 4 | $par1] ? 0 : 1; }, nms_Chunk_getChunkBlockTileEntity = ($this, $par1, $par2, $par3) => { let $var4, $var5, var$6, var$7, var$8, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = new nms_ChunkPosition; $var4.$x0 = $par1; $var4.$y0 = $par2; $var4.$z0 = $par3; $var5 = $this.$chunkTileEntityMap; var$6 = ($rt_imul($par1, 8976890) + $rt_imul($par2, 981131) | 0) + $par3 | 0; var$7 = $var5.$elementData.data; $var5 = var$7[var$6 & (var$7.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$6) { var$8 = $var5.$key; if ($var4 !== var$8 && !nms_ChunkPosition_equals($var4, var$8) ? 0 : 1) break; } $var5 = $var5.$next3; } $var5 = $var5 === null ? null : $var5.$value1; if ($var5 !== null) { if ($var5 !== null && $var5.$tileEntityInvalid) { ju_HashMap_removeByKey($this.$chunkTileEntityMap, $var4); return null; } return $var5; } $var6 = $this.$getBlockID($par1, $par2, $par3); if ($var6 > 0) { nms_Block_$callClinit(); var$7 = nms_Block_blocksList.data; if (var$7[$var6].$isBlockContainer) { $var5 = var$7[$var6]; var$8 = $this.$worldObj2; $ptr = 1; continue main; } } return null; case 1: $tmp = $var5.$createNewTileEntity(var$8); if ($rt_suspending()) { break main; } $var5 = $tmp; var$8 = $this.$worldObj2; $par1 = ($this.$xPosition3 * 16 | 0) + $par1 | 0; $par3 = ($this.$zPosition2 * 16 | 0) + $par3 | 0; $ptr = 2; case 2: nms_World_setBlockTileEntity(var$8, $par1, $par2, $par3, $var5); if ($rt_suspending()) { break main; } $var5 = $this.$chunkTileEntityMap; if ($var4 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { $par3 = ($rt_imul($var4.$x0, 8976890) + $rt_imul($var4.$y0, 981131) | 0) + $var4.$z0 | 0; var$7 = $var5.$elementData.data; $var5 = var$7[$par3 & (var$7.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == $par3) { var$8 = $var5.$key; if ($var4 !== var$8 && !nms_ChunkPosition_equals($var4, var$8) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; if ($var5 !== null && $var5.$tileEntityInvalid) { ju_HashMap_removeByKey($this.$chunkTileEntityMap, $var4); return null; } return $var5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var5, var$6, var$7, var$8, $var6, $ptr); }, nms_Chunk_setChunkBlockTileEntity = ($this, $par1, $par2, $par3, $par4TileEntity) => { let $var5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4TileEntity = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = new nms_ChunkPosition; $var5.$x0 = $par1; $var5.$y0 = $par2; $var5.$z0 = $par3; $par4TileEntity.$worldObj0 = $this.$worldObj2; $par4TileEntity.$xCoord0 = ($this.$xPosition3 * 16 | 0) + $par1 | 0; $par4TileEntity.$yCoord0 = $par2; $par4TileEntity.$zCoord0 = ($this.$zPosition2 * 16 | 0) + $par3 | 0; if ($this.$getBlockID($par1, $par2, $par3)) { nms_Block_$callClinit(); if ($rt_isInstance(nms_Block_blocksList.data[$this.$getBlockID($par1, $par2, $par3)], nms_ITileEntityProvider)) { var$6 = $this.$chunkTileEntityMap; $par3 = ($rt_imul($var5.$x0, 8976890) + $rt_imul($var5.$y0, 981131) | 0) + $var5.$z0 | 0; var$7 = var$6.$elementData.data; var$6 = var$7[$par3 & (var$7.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == $par3) { var$8 = var$6.$key; if ($var5 !== var$8 && !nms_ChunkPosition_equals($var5, var$8) ? 0 : 1) break; } var$6 = var$6.$next3; } if (var$6 === null ? 0 : 1) { var$6 = $this.$chunkTileEntityMap; if ($var5 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { $par2 = ($rt_imul($var5.$x0, 8976890) + $rt_imul($var5.$y0, 981131) | 0) + $var5.$z0 | 0; var$7 = var$6.$elementData.data; var$6 = var$7[$par2 & (var$7.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == $par2) { var$8 = var$6.$key; if ($var5 !== var$8 && !nms_ChunkPosition_equals($var5, var$8) ? 0 : 1) break; } var$6 = var$6.$next3; } } var$6 = var$6 === null ? null : var$6.$value1; $ptr = 1; continue main; } $par4TileEntity.$tileEntityInvalid = 0; ju_HashMap_putImpl($this.$chunkTileEntityMap, $var5, $par4TileEntity); } } return; case 1: var$6.$invalidate(); if ($rt_suspending()) { break main; } $par4TileEntity.$tileEntityInvalid = 0; ju_HashMap_putImpl($this.$chunkTileEntityMap, $var5, $par4TileEntity); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4TileEntity, $var5, var$6, var$7, var$8, $ptr); }, nms_Chunk_removeChunkBlockTileEntity = ($this, $par1, $par2, $par3) => { let $var4, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = new nms_ChunkPosition; $var4.$x0 = $par1; $var4.$y0 = $par2; $var4.$z0 = $par3; if ($this.$isChunkLoaded) { $var4 = ju_HashMap_removeByKey($this.$chunkTileEntityMap, $var4); $var5 = $var4 === null ? null : $var4.$value1; if ($var5 !== null) { $ptr = 1; continue main; } } return; case 1: $var5.$invalidate(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var5, $ptr); }, nms_Chunk_onChunkUnload = $this => { let $var1, $var2, var$3, var$4, var$5, $var3, var$7, var$8, var$9, var$10; $this.$isChunkLoaded = 0; $var1 = $this.$chunkTileEntityMap; if ($var1.$cachedValues === null) { $var2 = new ju_HashMap$2; $var2.$this$01 = $var1; $var1.$cachedValues = $var2; } $var1 = $var1.$cachedValues.$iterator(); while ($var1.$hasNext()) { $var2 = $var1.$next(); var$3 = $this.$worldObj2.$entityRemoval; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$4[var$5] = $var2; var$3.$modCount = var$3.$modCount + 1 | 0; } $var3 = 0; while (true) { var$4 = $this.$entityLists.data; if ($var3 >= var$4.length) break; $var1 = $this.$worldObj2; $var2 = var$4[$var3]; var$3 = $var1.$unloadedEntityList; var$7 = $var2.$modCount; var$8 = $var2.$size(); var$9 = 0; while (var$9 >= var$8 ? 0 : 1) { if (var$7 < $var2.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } var$5 = var$9 + 1 | 0; $var1 = $var2.$get(var$9); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$4 = var$3.$array.data; var$10 = var$3.$size0; var$3.$size0 = var$10 + 1 | 0; var$4[var$10] = $var1; var$3.$modCount = var$3.$modCount + 1 | 0; var$9 = var$5; } $var3 = $var3 + 1 | 0; } }, nms_Chunk_setChunkModified = $this => { $this.$isModified = 1; }, nms_Chunk_getEntitiesWithinAABBForEntity = ($this, $par1Entity, $par2AxisAlignedBB, $par3List, $par4IEntitySelector) => { let var$5, $var5, $var6, var$8, $var8, $var9, $var10, var$12, var$13, $var11, $var12; var$5 = ($par2AxisAlignedBB.$minY - 2.0) / 16.0; $var5 = var$5 | 0; if (var$5 < $var5) $var5 = $var5 - 1 | 0; var$5 = ($par2AxisAlignedBB.$maxY + 2.0) / 16.0; $var6 = var$5 | 0; if (var$5 < $var6) $var6 = $var6 - 1 | 0; if ($var5 < 0) { $var5 = 0; if ($var5 > $var6) $var6 = $var5; } var$8 = $this.$entityLists.data.length; if ($var6 >= var$8) { $var6 = var$8 - 1 | 0; if ($var5 >= $var6) $var5 = $var6; } a: { while ($var5 <= $var6) { $var8 = $this.$entityLists.data[$var5]; $var9 = 0; while (true) { var$8 = $rt_compare($var9, $var8.$size0); if (var$8 >= 0) break; if ($var9 < 0) break a; if (var$8 >= 0) break a; b: { $var10 = $var8.$array.data[$var9]; if ($var10 !== $par1Entity && nms_AxisAlignedBB_intersectsWith($var10.$boundingBox, $par2AxisAlignedBB) && !($par4IEntitySelector !== null && !$par4IEntitySelector.$isEntityApplicable($var10))) { ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$12 = $par3List.$array.data; var$13 = $par3List.$size0; $par3List.$size0 = var$13 + 1 | 0; var$12[var$13] = $var10; $par3List.$modCount = $par3List.$modCount + 1 | 0; $var11 = $var10.$getParts(); if ($var11 !== null) { $var12 = 0; while (true) { var$12 = $var11.data; if ($var12 >= var$12.length) break b; $var10 = var$12[$var12]; if ($var10 !== $par1Entity && nms_AxisAlignedBB_intersectsWith($var10.$boundingBox, $par2AxisAlignedBB) && !($par4IEntitySelector !== null && !$par4IEntitySelector.$isEntityApplicable($var10))) { ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$12 = $par3List.$array.data; var$13 = $par3List.$size0; $par3List.$size0 = var$13 + 1 | 0; var$12[var$13] = $var10; $par3List.$modCount = $par3List.$modCount + 1 | 0; } $var12 = $var12 + 1 | 0; } } } } $var9 = $var9 + 1 | 0; } $var5 = $var5 + 1 | 0; } return; } $par1Entity = new jl_IndexOutOfBoundsException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; $rt_throw($par1Entity); }, nms_Chunk_getEntitiesOfTypeWithinAAAB = ($this, $par1Class, $par2AxisAlignedBB, $par3List, $par4IEntitySelector) => { let var$5, $var5, $var6, $var9, $var8, var$10, $var10, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var10 = $thread.pop();var$10 = $thread.pop();$var8 = $thread.pop();$var9 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$par4IEntitySelector = $thread.pop();$par3List = $thread.pop();$par2AxisAlignedBB = $thread.pop();$par1Class = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = ($par2AxisAlignedBB.$minY - 2.0) / 16.0; $var5 = var$5 | 0; if (var$5 < $var5) $var5 = $var5 - 1 | 0; var$5 = ($par2AxisAlignedBB.$maxY + 2.0) / 16.0; $var6 = var$5 | 0; if (var$5 < $var6) $var6 = $var6 - 1 | 0; if ($var5 < 0) $var5 = 0; else { $var9 = $this.$entityLists.data.length; if ($var5 >= $var9) $var5 = $var9 - 1 | 0; } $var9 = $this.$entityLists.data.length; if ($var6 >= $var9) $var6 = $var9 - 1 | 0; else if ($var6 < 0) $var6 = 0; a: { while ($var5 <= $var6) { $var8 = $this.$entityLists.data[$var5]; $var9 = 0; while (true) { var$10 = $rt_compare($var9, $var8.$size0); if (var$10 >= 0) break; if ($var9 < 0) break a; if (var$10 >= 0) break a; $var10 = $var8.$array.data[$var9]; var$12 = $var10.constructor; if (var$12 === null) var$13 = null; else { var$13 = var$12.classObject; if (var$13 === null) { var$13 = new jl_Class; var$13.$platformClass = var$12; var$12.classObject = var$13; } } if (otp_Platform_isAssignable(var$13.$platformClass, $par1Class.$platformClass) && nms_AxisAlignedBB_intersectsWith($var10.$boundingBox, $par2AxisAlignedBB)) { if ($par4IEntitySelector !== null) { $ptr = 1; continue main; } ju_ArrayList_ensureCapacity($par3List, $par3List.$size0 + 1 | 0); var$14 = $par3List.$array.data; var$15 = $par3List.$size0; $par3List.$size0 = var$15 + 1 | 0; var$14[var$15] = $var10; $par3List.$modCount = $par3List.$modCount + 1 | 0; } $var9 = $var9 + 1 | 0; } $var5 = $var5 + 1 | 0; } return; } $par1Class = new jl_IndexOutOfBoundsException; $par1Class.$suppressionEnabled = 1; $par1Class.$writableStackTrace = 1; $rt_throw($par1Class); case 1: $tmp = $par4IEntitySelector.$isEntityApplicable($var10); if ($rt_suspending()) { break main; } var$10 = $tmp; if (var$10) { var$15 = $par3List.$size0; var$10 = 1; var$10 = var$15 + var$10 | 0; ju_ArrayList_ensureCapacity($par3List, var$10); var$14 = $par3List.$array; var$14 = var$14.data; var$15 = $par3List.$size0; var$10 = 1; var$10 = var$15 + var$10 | 0; $par3List.$size0 = var$10; var$14[var$15] = $var10; var$10 = $par3List.$modCount; var$15 = 1; var$10 = var$10 + var$15 | 0; $par3List.$modCount = var$10; } b: { c: while (true) { $var9 = $var9 + 1 | 0; while (true) { var$10 = $rt_compare($var9, $var8.$size0); if (var$10 < 0) break; $var5 = $var5 + 1 | 0; if ($var5 > $var6) break c; $var8 = $this.$entityLists.data[$var5]; $var9 = 0; } if ($var9 < 0) break b; if (var$10 >= 0) break b; $var10 = $var8.$array.data[$var9]; var$12 = $var10.constructor; if (var$12 === null) var$13 = null; else { var$13 = var$12.classObject; if (var$13 === null) { var$13 = new jl_Class; var$13.$platformClass = var$12; var$12.classObject = var$13; } } if (!otp_Platform_isAssignable(var$13.$platformClass, $par1Class.$platformClass)) continue; if (!nms_AxisAlignedBB_intersectsWith($var10.$boundingBox, $par2AxisAlignedBB)) continue; if ($par4IEntitySelector !== null) { continue main; } var$15 = $par3List.$size0; var$10 = 1; var$10 = var$15 + var$10 | 0; ju_ArrayList_ensureCapacity($par3List, var$10); var$14 = $par3List.$array; var$14 = var$14.data; var$15 = $par3List.$size0; var$10 = 1; var$10 = var$15 + var$10 | 0; $par3List.$size0 = var$10; var$14[var$15] = $var10; var$10 = $par3List.$modCount; var$15 = 1; var$10 = var$10 + var$15 | 0; $par3List.$modCount = var$10; } return; } $par1Class = new jl_IndexOutOfBoundsException; $par1Class.$suppressionEnabled = 1; $par1Class.$writableStackTrace = 1; $rt_throw($par1Class); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Class, $par2AxisAlignedBB, $par3List, $par4IEntitySelector, var$5, $var5, $var6, $var9, $var8, var$10, $var10, var$12, var$13, var$14, var$15, $ptr); }, nms_Chunk_getRandomWithSeed = ($this, $par1) => { let var$2, var$3, var$4, var$5; var$2 = new nle_EaglercraftRandom; var$3 = $this.$worldObj2.$worldInfo.$randomSeed; var$4 = $this.$xPosition3; var$5 = Long_add(Long_add(var$3, Long_fromInt($rt_imul($rt_imul(var$4, var$4), 4987142))), Long_fromInt($rt_imul(var$4, 5947611))); var$4 = $this.$zPosition2; $par1 = Long_xor(Long_add(Long_add(var$5, Long_mul(Long_fromInt($rt_imul(var$4, var$4)), Long_fromInt(4392871))), Long_fromInt($rt_imul(var$4, 389711))), $par1); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = $par1; return var$2; }, nms_Chunk_isEmpty = $this => { return 0; }, nms_Chunk_getPrecipitationHeight = ($this, $par1, $par2) => { let $var3, $var4, var$5, $var5, $var6, $var7; $var3 = $par1 | $par2 << 4; $var4 = $this.$precipitationHeightMap.data[$var3]; if ($var4 == (-999)) { var$5 = $this.$storageArrays.data; $var5 = var$5.length - 1 | 0; a: { while ($var5 >= 0) { if (var$5[$var5] !== null) { $var6 = var$5[$var5].$yBase; break a; } $var5 = $var5 + (-1) | 0; } $var6 = 0; } $var5 = $var6 + 15 | 0; $var4 = (-1); while ($var5 > 0 && $var4 == (-1)) { $var6 = $this.$getBlockID($par1, $var5, $par2); if (!$var6) { nms_Material_$callClinit(); $var7 = nms_Material_air; } else { nms_Block_$callClinit(); $var7 = nms_Block_blocksList.data[$var6].$blockMaterial; } if (!$var7.$blocksMovement() && !$var7.$isLiquid()) $var5 = $var5 + (-1) | 0; else $var4 = $var5 + 1 | 0; } $this.$precipitationHeightMap.data[$var3] = $var4; } return $var4; }, nms_Chunk_getAreLevelsEmpty = ($this, $var3, $par2) => { let $var4; if ($var3 < 0) $var3 = 0; if ($par2 >= 256) $par2 = 255; while ($var3 <= $par2) { $var4 = $this.$storageArrays.data[$var3 >> 4]; if ($var4 !== null && !($var4.$blockRefCount ? 0 : 1)) return 0; $var3 = $var3 + 16 | 0; } return 1; }, nms_Chunk_fillChunk = ($this, $par1ArrayOfByte, $par2, $par3, $par4) => { let $var5, $var6, $var7, var$8, $var8, var$10, var$11, $var9, var$13, $var11; $var5 = 0; $var6 = $this.$worldObj2.$provider.$hasNoSky ? 0 : 1; $var7 = 0; while (true) { var$8 = $this.$storageArrays.data; if ($var7 >= var$8.length) break; if ($par2 & 1 << $var7) { if (var$8[$var7] === null) var$8[$var7] = nms_ExtendedBlockStorage__init_($var7 << 4, $var6); $var8 = $this.$storageArrays.data[$var7].$blockLSBArray; var$10 = $var8.data.length; jl_System_fastArraycopy($par1ArrayOfByte, $var5, $var8, 0, var$10); $var5 = $var5 + var$10 | 0; } else if ($par4 && var$8[$var7] !== null) var$8[$var7] = null; $var7 = $var7 + 1 | 0; } var$11 = 0; while (true) { var$8 = $this.$storageArrays.data; if (var$11 >= var$8.length) break; if ($par2 & 1 << var$11 && var$8[var$11] !== null) { $var9 = var$8[var$11].$blockMetadataArray; var$8 = $var9.$data8; jl_System_fastArraycopy($par1ArrayOfByte, $var5, var$8, 0, var$8.data.length); $var5 = $var5 + $var9.$data8.data.length | 0; } var$11 = var$11 + 1 | 0; } var$10 = 0; while (true) { var$8 = $this.$storageArrays.data; if (var$10 >= var$8.length) break; if ($par2 & 1 << var$10 && var$8[var$10] !== null) { $var9 = var$8[var$10].$blocklightArray; var$8 = $var9.$data8; jl_System_fastArraycopy($par1ArrayOfByte, $var5, var$8, 0, var$8.data.length); $var5 = $var5 + $var9.$data8.data.length | 0; } var$10 = var$10 + 1 | 0; } if ($var6) { var$11 = 0; while (true) { var$8 = $this.$storageArrays.data; if (var$11 >= var$8.length) break; if ($par2 & 1 << var$11 && var$8[var$11] !== null) { $var9 = var$8[var$11].$skylightArray; var$8 = $var9.$data8; jl_System_fastArraycopy($par1ArrayOfByte, $var5, var$8, 0, var$8.data.length); $var5 = $var5 + $var9.$data8.data.length | 0; } var$11 = var$11 + 1 | 0; } } var$13 = 0; while (true) { var$8 = $this.$storageArrays.data; if (var$13 >= var$8.length) break; if (!($par3 & 1 << var$13)) { if ($par4 && var$8[var$13] !== null && var$8[var$13].$blockMSBArray !== null) var$8[var$13].$blockMSBArray = null; } else if (var$8[var$13] === null) $var5 = $var5 + 2048 | 0; else { $var9 = var$8[var$13].$blockMSBArray; if ($var9 === null) { $var11 = var$8[var$13]; $var9 = new nms_NibbleArray; $var9.$data8 = $rt_createByteArray($var11.$blockLSBArray.data.length >> 1); $var9.$depthBits = 4; $var9.$depthBitsPlusFour = 8; $var11.$blockMSBArray = $var9; } var$8 = $var9.$data8; jl_System_fastArraycopy($par1ArrayOfByte, $var5, var$8, 0, var$8.data.length); $var5 = $var5 + $var9.$data8.data.length | 0; } var$13 = var$13 + 1 | 0; } if ($par4) { var$8 = $this.$blockBiomeArray; jl_System_fastArraycopy($par1ArrayOfByte, $var5, var$8, 0, var$8.data.length); } $par4 = 0; while (true) { $par1ArrayOfByte = $this.$storageArrays.data; if ($par4 >= $par1ArrayOfByte.length) break; if ($par1ArrayOfByte[$par4] !== null && $par2 & 1 << $par4) nms_ExtendedBlockStorage_removeInvalidBlocks($par1ArrayOfByte[$par4]); $par4 = $par4 + 1 | 0; } $this.$generateHeightMap(); $var9 = $this.$chunkTileEntityMap; if ($var9.$cachedValues === null) { $var11 = new ju_HashMap$2; $var11.$this$01 = $var9; $var9.$cachedValues = $var11; } $var11 = $var9.$cachedValues.$iterator(); while ($var11.$hasNext()) { ($var11.$next()).$updateContainingBlockInfo(); } }, nms_Chunk_getBiomeGenForWorldCoords = ($this, $par1, $par2, $par3WorldChunkManager) => { let var$4, var$5, $var4; var$4 = $this.$blockBiomeArray.data; var$5 = $par2 << 4 | $par1; $var4 = var$4[var$5] & 255; if ($var4 == 255) { $var4 = ($par3WorldChunkManager.$getBiomeGenAt(($this.$xPosition3 << 4) + $par1 | 0, ($this.$zPosition2 << 4) + $par2 | 0)).$biomeID; $this.$blockBiomeArray.data[var$5] = ($var4 & 255) << 24 >> 24; } nms_BiomeGenBase_$callClinit(); var$4 = nms_BiomeGenBase_biomeList.data; return var$4[$var4] !== null ? var$4[$var4] : nms_BiomeGenBase_plains; }, nms_Chunk_resetRelightChecks = $this => { $this.$queuedLightChecks = 0; }, nms_Chunk_enqueueRelightChecks = $this => { let $var1, $var5, $var2, $var3, $var4, $var6, $var7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $var8, var$17, var$18, var$19, var$20, var$21; $var1 = 0; while ($var1 < 8) { $var5 = $this.$queuedLightChecks; if ($var5 >= 4096) return; $var2 = $var5 % 16 | 0; $var3 = ($var5 / 16 | 0) % 16 | 0; $var4 = $var5 / 256 | 0; $this.$queuedLightChecks = $var5 + 1 | 0; $var5 = ($this.$xPosition3 << 4) + $var3 | 0; $var6 = ($this.$zPosition2 << 4) + $var4 | 0; $var7 = 0; var$8 = $var2 << 4; var$9 = $var5 - 1 | 0; var$10 = $var5 + 1 | 0; var$11 = $var6 - 1 | 0; var$12 = $var6 + 1 | 0; var$13 = $rt_compare($var3, 15); var$14 = $rt_compare($var4, 15); var$15 = $var4 << 4; while ($var7 < 16) { a: { b: { $var8 = var$8 + $var7 | 0; var$17 = $this.$storageArrays.data; if (var$17[$var2] === null) { if (!$var7) break b; if ($var7 == 15) break b; if (!$var3) break b; if (!var$13) break b; if (!$var4) break b; if (!var$14) break b; } if (var$17[$var2] === null) break a; var$18 = var$17[$var2]; var$19 = var$18.$blockLSBArray.data[$var7 << 8 | var$15 | $var3] & 255; var$18 = var$18.$blockMSBArray; if (var$18 !== null) var$19 = nms_NibbleArray_get(var$18, $var3, $var7, $var4) << 8 | var$19; if (var$19) break a; } nms_Block_$callClinit(); var$17 = nms_Block_lightValue.data; var$18 = $this.$worldObj2; var$20 = $var8 - 1 | 0; if (var$17[nms_World_getBlockId(var$18, $var5, var$20, $var6)] > 0) { var$21 = $this.$worldObj2; if (!var$21.$provider.$hasNoSky) nms_World_updateLightByType(var$21, nms_EnumSkyBlock_Sky, $var5, var$20, $var6); nms_World_updateLightByType(var$21, nms_EnumSkyBlock_Block, $var5, var$20, $var6); } var$17 = nms_Block_lightValue.data; var$18 = $this.$worldObj2; var$20 = $var8 + 1 | 0; if (var$17[nms_World_getBlockId(var$18, $var5, var$20, $var6)] > 0) { var$21 = $this.$worldObj2; if (!var$21.$provider.$hasNoSky) nms_World_updateLightByType(var$21, nms_EnumSkyBlock_Sky, $var5, var$20, $var6); nms_World_updateLightByType(var$21, nms_EnumSkyBlock_Block, $var5, var$20, $var6); } if (nms_Block_lightValue.data[nms_World_getBlockId($this.$worldObj2, var$9, $var8, $var6)] > 0) { var$21 = $this.$worldObj2; if (!var$21.$provider.$hasNoSky) nms_World_updateLightByType(var$21, nms_EnumSkyBlock_Sky, var$9, $var8, $var6); nms_World_updateLightByType(var$21, nms_EnumSkyBlock_Block, var$9, $var8, $var6); } if (nms_Block_lightValue.data[nms_World_getBlockId($this.$worldObj2, var$10, $var8, $var6)] > 0) { var$21 = $this.$worldObj2; if (!var$21.$provider.$hasNoSky) nms_World_updateLightByType(var$21, nms_EnumSkyBlock_Sky, var$10, $var8, $var6); nms_World_updateLightByType(var$21, nms_EnumSkyBlock_Block, var$10, $var8, $var6); } if (nms_Block_lightValue.data[nms_World_getBlockId($this.$worldObj2, $var5, $var8, var$11)] > 0) { var$21 = $this.$worldObj2; if (!var$21.$provider.$hasNoSky) nms_World_updateLightByType(var$21, nms_EnumSkyBlock_Sky, $var5, $var8, var$11); nms_World_updateLightByType(var$21, nms_EnumSkyBlock_Block, $var5, $var8, var$11); } if (nms_Block_lightValue.data[nms_World_getBlockId($this.$worldObj2, $var5, $var8, var$12)] > 0) { var$18 = $this.$worldObj2; if (!var$18.$provider.$hasNoSky) nms_World_updateLightByType(var$18, nms_EnumSkyBlock_Sky, $var5, $var8, var$12); nms_World_updateLightByType(var$18, nms_EnumSkyBlock_Block, $var5, $var8, var$12); } var$18 = $this.$worldObj2; if (!var$18.$provider.$hasNoSky) nms_World_updateLightByType(var$18, nms_EnumSkyBlock_Sky, $var5, $var8, $var6); nms_World_updateLightByType(var$18, nms_EnumSkyBlock_Block, $var5, $var8, $var6); } $var7 = $var7 + 1 | 0; } $var1 = $var1 + 1 | 0; } }, nms_Chunk__clinit_ = () => { nms_Chunk_totalBlockLightUpdates = 0; }; function nms_ChunkCache() { let a = this; jl_Object.call(a); a.$chunkX = 0; a.$chunkZ = 0; a.$chunkArray = null; a.$isEmpty0 = 0; a.$worldObj5 = null; } let nms_ChunkCache__init_0 = ($this, $par1World, $par2, $par3, $par4, $par5, $par6, $par7, $par8) => { let var$9, var$10, $var9, $var10, var$13, var$14, $var11, $var12, var$17, $var13, var$19; $this.$worldObj5 = $par1World; var$9 = ($par2 - $par8 | 0) >> 4; $this.$chunkX = var$9; var$10 = ($par4 - $par8 | 0) >> 4; $this.$chunkZ = var$10; $var9 = ($par5 + $par8 | 0) >> 4; $var10 = ($par7 + $par8 | 0) >> 4; $par8 = ($var9 - var$9 | 0) + 1 | 0; var$13 = $rt_createMultiArray(nms_Chunk, [($var10 - var$10 | 0) + 1 | 0, $par8]); var$14 = var$13.data; $this.$chunkArray = var$13; $this.$isEmpty0 = 1; $var11 = var$9; while ($var11 <= $var9) { $var12 = var$10; while ($var12 <= $var10) { var$17 = $par1World.$chunkProvider; $var13 = var$17.$chunkMapping; var$19 = Long_or(Long_and(Long_fromInt($var11), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var12), Long_create(4294967295, 0)), 32)); $par8 = Long_lo(Long_xor(var$19, Long_shru(var$19, 32))); $par8 = $par8 ^ ($par8 >>> 20 | 0) ^ ($par8 >>> 12 | 0); $par8 = $par8 ^ ($par8 >>> 7 | 0) ^ ($par8 >>> 4 | 0); var$13 = $var13.$hashArray.data; $var13 = var$13[$par8 & (var$13.length - 1 | 0)]; a: { while ($var13 !== null) { if (Long_eq($var13.$key1, var$19)) { $var13 = $var13.$value6; break a; } $var13 = $var13.$nextEntry0; } $var13 = null; } $var13 = $var13; if ($var13 === null) $var13 = var$17.$blankChunk; if ($var13 !== null) var$14[$var11 - var$9 | 0].data[$var12 - var$10 | 0] = $var13; $var12 = $var12 + 1 | 0; } $var11 = $var11 + 1 | 0; } $par2 = $par2 >> 4; $par5 = $par5 >> 4; $par8 = $par4 >> 4; $par7 = $par7 >> 4; while ($par2 <= $par5) { $var12 = $par8; while ($var12 <= $par7) { $var13 = $this.$chunkArray.data[$par2 - $this.$chunkX | 0].data[$var12 - $this.$chunkZ | 0]; if ($var13 !== null && !$var13.$getAreLevelsEmpty($par3, $par6)) $this.$isEmpty0 = 0; $var12 = $var12 + 1 | 0; } $par2 = $par2 + 1 | 0; } }, nms_ChunkCache__init_ = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7) => { let var_8 = new nms_ChunkCache(); nms_ChunkCache__init_0(var_8, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7); return var_8; }, nms_ChunkCache_getBlockId = ($this, $par1, $par2, $par3) => { let $var4, $var5, var$6, $var6; if ($par2 < 0) return 0; if ($par2 >= 256) return 0; $var4 = ($par1 >> 4) - $this.$chunkX | 0; $var5 = ($par3 >> 4) - $this.$chunkZ | 0; if ($var4 >= 0) { var$6 = $this.$chunkArray.data; if ($var4 < var$6.length && $var5 >= 0 && $var5 < var$6[$var4].data.length) { $var6 = var$6[$var4].data[$var5]; return $var6 === null ? 0 : $var6.$getBlockID($par1 & 15, $par2, $par3 & 15); } } return 0; }, nms_ChunkCache_getBlockTileEntity = ($this, $par1, $par2, $par3) => { let $var4, $var5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = ($par1 >> 4) - $this.$chunkX | 0; $var5 = ($par3 >> 4) - $this.$chunkZ | 0; var$6 = $this.$chunkArray.data[$var4].data[$var5]; $var4 = $par1 & 15; $par1 = $par3 & 15; $ptr = 1; case 1: $tmp = var$6.$getChunkBlockTileEntity($var4, $par2, $par1); if ($rt_suspending()) { break main; } var$6 = $tmp; return var$6; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var5, var$6, $ptr); }, nms_ChunkCache_getBrightness = ($this, $par1, $par2, $par3, $par4) => { let $var5; $var5 = nms_ChunkCache_getLightValueExt($this, $par1, $par2, $par3, 1); if ($var5 >= $par4) $par4 = $var5; return $this.$worldObj5.$provider.$lightBrightnessTable.data[$par4]; }, nms_ChunkCache_getLightBrightnessForSkyBlocks = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6; $var5 = nms_ChunkCache_getSkyBlockTypeBrightness($this, nms_EnumSkyBlock_Sky, $par1, $par2, $par3); $var6 = nms_ChunkCache_getSkyBlockTypeBrightness($this, nms_EnumSkyBlock_Block, $par1, $par2, $par3); if ($var6 >= $par4) $par4 = $var6; return $var5 << 20 | $par4 << 4; }, nms_ChunkCache_getLightBrightness = ($this, $par1, $par2, $par3) => { return $this.$worldObj5.$provider.$lightBrightnessTable.data[nms_ChunkCache_getLightValueExt($this, $par1, $par2, $par3, 1)]; }, nms_ChunkCache_getLightValueExt = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10; if ($par1 >= (-30000000) && $par3 >= (-30000000) && $par1 < 30000000 && $par3 <= 30000000) { a: { if ($par4) { $var5 = nms_ChunkCache_getBlockId($this, $par1, $par2, $par3); nms_Block_$callClinit(); if ($var5 == nms_Block_stoneSingleSlab.$blockID) break a; if ($var5 == nms_Block_woodSingleSlab.$blockID) break a; if ($var5 == nms_Block_tilledField.$blockID) break a; if ($var5 == nms_Block_stairsWoodOak.$blockID) break a; if ($var5 == nms_Block_stairsCobblestone.$blockID) break a; } if ($par2 < 0) return 0; if ($par2 >= 256) { $var5 = 15 - $this.$worldObj5.$skylightSubtracted | 0; if ($var5 < 0) $var5 = 0; return $var5; } $var5 = ($par1 >> 4) - $this.$chunkX | 0; $var6 = ($par3 >> 4) - $this.$chunkZ | 0; return $this.$chunkArray.data[$var5].data[$var6].$getBlockLightValue($par1 & 15, $par2, $par3 & 15, $this.$worldObj5.$skylightSubtracted); } $var6 = nms_ChunkCache_getLightValueExt($this, $par1, $par2 + 1 | 0, $par3, 0); $var7 = nms_ChunkCache_getLightValueExt($this, $par1 + 1 | 0, $par2, $par3, 0); $var8 = nms_ChunkCache_getLightValueExt($this, $par1 - 1 | 0, $par2, $par3, 0); $var9 = nms_ChunkCache_getLightValueExt($this, $par1, $par2, $par3 + 1 | 0, 0); $var10 = nms_ChunkCache_getLightValueExt($this, $par1, $par2, $par3 - 1 | 0, 0); if ($var7 <= $var6) $var7 = $var6; if ($var8 <= $var7) $var8 = $var7; if ($var9 <= $var8) $var9 = $var8; if ($var10 <= $var9) $var10 = $var9; return $var10; } return 15; }, nms_ChunkCache_getBlockMetadata = ($this, $par1, $par2, $par3) => { let $var4, $var5; if ($par2 < 0) return 0; if ($par2 >= 256) return 0; $var4 = ($par1 >> 4) - $this.$chunkX | 0; $var5 = ($par3 >> 4) - $this.$chunkZ | 0; return $this.$chunkArray.data[$var4].data[$var5].$getBlockMetadata($par1 & 15, $par2, $par3 & 15); }, nms_ChunkCache_getBlockMaterial = ($this, $par1, $par2, $par3) => { let $var4, var$5; $var4 = nms_ChunkCache_getBlockId($this, $par1, $par2, $par3); if (!$var4) { nms_Material_$callClinit(); var$5 = nms_Material_air; } else { nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data[$var4].$blockMaterial; } return var$5; }, nms_ChunkCache_getBiomeGenForCoords = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$3 = $this.$worldObj5; var$4 = $par1 >> 4; var$5 = $par2 >> 4; var$6 = var$3.$chunkProvider; var$7 = var$6.$chunkMapping; var$8 = Long_or(Long_and(Long_fromInt(var$4), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$5), Long_create(4294967295, 0)), 32)); var$4 = Long_lo(Long_xor(var$8, Long_shru(var$8, 32))); var$4 = var$4 ^ (var$4 >>> 20 | 0) ^ (var$4 >>> 12 | 0); var$5 = var$4 ^ (var$4 >>> 7 | 0) ^ (var$4 >>> 4 | 0); var$9 = var$7.$hashArray.data; var$7 = var$9[var$5 & (var$9.length - 1 | 0)]; a: { while (var$7 !== null) { if (Long_eq(var$7.$key1, var$8)) { var$7 = var$7.$value6; break a; } var$7 = var$7.$nextEntry0; } var$7 = null; } var$7 = var$7; if (var$7 === null) var$7 = var$6.$blankChunk; return var$7 === null ? var$3.$provider.$worldChunkMgr.$getBiomeGenAt($par1, $par2) : nms_Chunk_getBiomeGenForWorldCoords(var$7, $par1 & 15, $par2 & 15, var$3.$provider.$worldChunkMgr); }, nms_ChunkCache_isBlockOpaqueCube = ($this, $par1, $par2, $par3) => { let $var4; nms_Block_$callClinit(); $var4 = nms_Block_blocksList.data[nms_ChunkCache_getBlockId($this, $par1, $par2, $par3)]; return $var4 !== null ? $var4.$isOpaqueCube() : 0; }, nms_ChunkCache_isBlockNormalCube = ($this, $par1, $par2, $par3) => { let $var4; nms_Block_$callClinit(); $var4 = nms_Block_blocksList.data[nms_ChunkCache_getBlockId($this, $par1, $par2, $par3)]; return $var4 === null ? 0 : $var4.$blockMaterial.$blocksMovement() && $var4.$renderAsNormalBlock() ? 1 : 0; }, nms_ChunkCache_doesBlockHaveSolidTopSurface = ($this, $par1, $par2, $par3) => { let $var4; nms_Block_$callClinit(); $var4 = nms_Block_blocksList.data[nms_ChunkCache_getBlockId($this, $par1, $par2, $par3)]; return nms_World_isBlockTopFacingSurfaceSolid($this.$worldObj5, $var4, nms_ChunkCache_getBlockMetadata($this, $par1, $par2, $par3)); }, nms_ChunkCache_getWorldVec3Pool = $this => { return $this.$worldObj5.$vecPool; }, nms_ChunkCache_isAirBlock = ($this, $par1, $par2, $par3) => { nms_Block_$callClinit(); return nms_Block_blocksList.data[nms_ChunkCache_getBlockId($this, $par1, $par2, $par3)] !== null ? 0 : 1; }, nms_ChunkCache_getSkyBlockTypeBrightness = ($this, $par1EnumSkyBlock, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9; if ($par3 < 0) $par3 = 0; if ($par3 >= 256) $par3 = 255; if ($par3 >= 0 && $par3 < 256 && $par2 >= (-30000000) && $par4 >= (-30000000) && $par2 < 30000000 && $par4 <= 30000000) { if ($par1EnumSkyBlock === nms_EnumSkyBlock_Sky && $this.$worldObj5.$provider.$hasNoSky) return 0; nms_Block_$callClinit(); if (!nms_Block_useNeighborBrightness.data[nms_ChunkCache_getBlockId($this, $par2, $par3, $par4)]) { $var5 = ($par2 >> 4) - $this.$chunkX | 0; $var6 = ($par4 >> 4) - $this.$chunkZ | 0; return $this.$chunkArray.data[$var5].data[$var6].$getSavedLightValue($par1EnumSkyBlock, $par2 & 15, $par3, $par4 & 15); } $var5 = nms_ChunkCache_getSpecialBlockBrightness($this, $par1EnumSkyBlock, $par2, $par3 + 1 | 0, $par4); $var6 = nms_ChunkCache_getSpecialBlockBrightness($this, $par1EnumSkyBlock, $par2 + 1 | 0, $par3, $par4); $var7 = nms_ChunkCache_getSpecialBlockBrightness($this, $par1EnumSkyBlock, $par2 - 1 | 0, $par3, $par4); $var8 = nms_ChunkCache_getSpecialBlockBrightness($this, $par1EnumSkyBlock, $par2, $par3, $par4 + 1 | 0); $var9 = nms_ChunkCache_getSpecialBlockBrightness($this, $par1EnumSkyBlock, $par2, $par3, $par4 - 1 | 0); if ($var6 <= $var5) $var6 = $var5; if ($var7 <= $var6) $var7 = $var6; if ($var8 <= $var7) $var8 = $var7; if ($var9 <= $var8) $var9 = $var8; return $var9; } return $par1EnumSkyBlock.$defaultLightValue; }, nms_ChunkCache_getSpecialBlockBrightness = ($this, $par1EnumSkyBlock, $par2, $par3, $par4) => { let $var5, $var6; if ($par3 < 0) $par3 = 0; if ($par3 >= 256) $par3 = 255; if ($par3 >= 0 && $par3 < 256 && $par2 >= (-30000000) && $par4 >= (-30000000) && $par2 < 30000000 && $par4 <= 30000000) { $var5 = ($par2 >> 4) - $this.$chunkX | 0; $var6 = ($par4 >> 4) - $this.$chunkZ | 0; return $this.$chunkArray.data[$var5].data[$var6].$getSavedLightValue($par1EnumSkyBlock, $par2 & 15, $par3, $par4 & 15); } return $par1EnumSkyBlock.$defaultLightValue; }, nms_ChunkCache_getHeight = $this => { return 256; }, nms_ChunkCache_isBlockProvidingPowerTo = ($this, $par1, $par2, $par3, $par4) => { let $var5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_ChunkCache_getBlockId($this, $par1, $par2, $par3); if (!$var5) return 0; nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[$var5]; $ptr = 1; case 1: $tmp = var$6.$isProvidingStrongPower($this, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1 = $tmp; return $par1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $var5, var$6, $ptr); }, jl_StrictMath = $rt_classWithoutFields(), jl_StrictMath__init_ = $this => { return; }, jl_StrictMath__init_0 = () => { let var_0 = new jl_StrictMath(); jl_StrictMath__init_(var_0); return var_0; }; function nms_ChestItemRenderHelper() { let a = this; jl_Object.call(a); a.$theChest = null; a.$theTrappedChest = null; a.$theEnderChest = null; } let nms_ChestItemRenderHelper_instance = null, nms_ChestItemRenderHelper_$callClinit = () => { nms_ChestItemRenderHelper_$callClinit = $rt_eraseClinit(nms_ChestItemRenderHelper); nms_ChestItemRenderHelper__clinit_(); }, nms_ChestItemRenderHelper__init_ = $this => { let var$1; nms_ChestItemRenderHelper_$callClinit(); var$1 = new nms_TileEntityChest; nms_TileEntity_$callClinit(); var$1.$blockMetadata = (-1); var$1.$chestContents = $rt_createArray(nms_ItemStack, 36); var$1.$cachedChestType = 0; $this.$theChest = var$1; var$1 = new nms_TileEntityChest; var$1.$blockMetadata = (-1); var$1.$chestContents = $rt_createArray(nms_ItemStack, 36); var$1.$cachedChestType = 1; $this.$theTrappedChest = var$1; var$1 = new nms_TileEntityEnderChest; var$1.$blockMetadata = (-1); $this.$theEnderChest = var$1; }, nms_ChestItemRenderHelper__init_0 = () => { let var_0 = new nms_ChestItemRenderHelper(); nms_ChestItemRenderHelper__init_(var_0); return var_0; }, nms_ChestItemRenderHelper_renderChest = ($this, $par1Block, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Block = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par2 = $par1Block.$blockID; nms_Block_$callClinit(); if ($par2 == nms_Block_enderChest.$blockID) { nms_TileEntityRenderer_$callClinit(); $par1Block = nms_TileEntityRenderer_instance; var$4 = $this.$theEnderChest; var$5 = 0.0; var$6 = 0.0; var$7 = 0.0; $par3 = 0.0; if (var$4 === null) var$8 = null; else { var$8 = var$4.constructor; if (var$8 === null) var$9 = null; else { var$9 = var$8.classObject; if (var$9 === null) { var$9 = new jl_Class; var$9.$platformClass = var$8; var$8.classObject = var$9; } } var$8 = $par1Block.$specialRendererMap; if (var$9 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$10 = var$9; if (!var$10.$id$) var$10.$id$ = $rt_nextId(); var$11 = var$9.$id$; var$12 = var$8.$elementData.data; var$8 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$11) { var$10 = var$8.$key; if (var$9 !== var$10 && !(var$9 !== var$10 ? 0 : 1) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; if (var$8 === null && var$9 !== $rt_cls(nms_TileEntity)) { var$10 = jl_Class_getSuperclass(var$9); var$8 = $par1Block.$specialRendererMap; if (var$10 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$13 = var$10; if (!var$13.$id$) var$13.$id$ = $rt_nextId(); var$11 = var$10.$id$; var$12 = var$8.$elementData.data; var$8 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$11) { var$13 = var$8.$key; if (var$10 !== var$13 && !jl_Object_equals(var$10, var$13) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; if (var$8 === null && var$10 !== $rt_cls(nms_TileEntity)) { var$13 = jl_Class_getSuperclass(var$10); var$8 = $par1Block.$specialRendererMap; if (var$13 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$14 = var$13; if (!var$14.$id$) var$14.$id$ = $rt_nextId(); $par2 = var$13.$id$; var$12 = var$8.$elementData.data; var$8 = var$12[$par2 & (var$12.length - 1 | 0)]; while (var$8 !== null && !(var$8.$origKeyHash == $par2 && ju_HashMap_areEqualKeys(var$13, var$8.$key))) { var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; if (var$8 === null && var$13 !== $rt_cls(nms_TileEntity)) { var$14 = jl_Class_getSuperclass(var$13); var$8 = $par1Block.$specialRendererMap; if (var$14 === null) var$8 = ju_HashMap_findNullKeyEntry(var$8); else { var$15 = jl_Object_hashCode(var$14); var$8 = ju_HashMap_findNonNullKeyEntry(var$8, var$14, var$15 & (var$8.$elementData.data.length - 1 | 0), var$15); } var$8 = var$8 === null ? null : var$8.$value1; if (var$8 === null && var$14 !== $rt_cls(nms_TileEntity)) { var$16 = jl_Class_getSuperclass(var$14); var$8 = ju_HashMap_entryByKey($par1Block.$specialRendererMap, var$16); var$8 = var$8 === null ? null : var$8.$value1; if (var$8 === null && var$16 !== $rt_cls(nms_TileEntity)) { var$17 = jl_Class_getSuperclass(var$16); var$8 = ju_HashMap_get($par1Block.$specialRendererMap, var$17); if (var$8 === null && var$17 !== $rt_cls(nms_TileEntity)) { var$8 = nms_TileEntityRenderer_getSpecialRendererForClass($par1Block, jl_Class_getSuperclass(var$17)); ju_HashMap_put($par1Block.$specialRendererMap, var$17, var$8); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$16, var$8); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$14, var$8); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$13, var$8); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$10, var$8); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$9, var$8); } } if (var$8 !== null) { try { $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $par1Block = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($par1Block); } } else if ($par2 != nms_Block_chestTrapped.$blockID) { nms_TileEntityRenderer_$callClinit(); $par1Block = nms_TileEntityRenderer_instance; var$14 = $this.$theChest; var$5 = 0.0; var$6 = 0.0; var$7 = 0.0; $par3 = 0.0; if (var$14 === null) var$4 = null; else { var$4 = var$14.constructor; if (var$4 === null) var$10 = null; else { var$10 = var$4.classObject; if (var$10 === null) { var$10 = new jl_Class; var$10.$platformClass = var$4; var$4.classObject = var$10; } } var$16 = $par1Block.$specialRendererMap; if (var$10 === null) { var$4 = var$16.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$4 = var$10; if (!var$4.$id$) var$4.$id$ = $rt_nextId(); var$11 = var$10.$id$; var$12 = var$16.$elementData.data; var$4 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$11) { var$8 = var$4.$key; if (var$10 !== var$8 && !(var$10 !== var$8 ? 0 : 1) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; if (var$4 === null && var$10 !== $rt_cls(nms_TileEntity)) { var$16 = jl_Class_getSuperclass(var$10); var$17 = $par1Block.$specialRendererMap; if (var$16 === null) { var$4 = var$17.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$4 = var$16; if (!var$4.$id$) var$4.$id$ = $rt_nextId(); var$11 = var$16.$id$; var$12 = var$17.$elementData.data; var$4 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$11) { var$8 = var$4.$key; if (var$16 !== var$8 && !jl_Object_equals(var$16, var$8) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; if (var$4 === null && var$16 !== $rt_cls(nms_TileEntity)) { var$17 = jl_Class_getSuperclass(var$16); var$9 = $par1Block.$specialRendererMap; if (var$17 === null) { var$4 = var$9.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$4 = var$17; if (!var$4.$id$) var$4.$id$ = $rt_nextId(); var$15 = var$17.$id$; var$12 = var$9.$elementData.data; var$4 = var$12[var$15 & (var$12.length - 1 | 0)]; while (var$4 !== null && !(var$4.$origKeyHash == var$15 && ju_HashMap_areEqualKeys(var$17, var$4.$key))) { var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; if (var$4 === null && var$17 !== $rt_cls(nms_TileEntity)) { var$8 = jl_Class_getSuperclass(var$17); var$4 = $par1Block.$specialRendererMap; if (var$8 === null) var$4 = ju_HashMap_findNullKeyEntry(var$4); else { var$15 = jl_Object_hashCode(var$8); var$4 = ju_HashMap_findNonNullKeyEntry(var$4, var$8, var$15 & (var$4.$elementData.data.length - 1 | 0), var$15); } var$4 = var$4 === null ? null : var$4.$value1; if (var$4 === null && var$8 !== $rt_cls(nms_TileEntity)) { var$13 = jl_Class_getSuperclass(var$8); var$4 = ju_HashMap_entryByKey($par1Block.$specialRendererMap, var$13); var$4 = var$4 === null ? null : var$4.$value1; if (var$4 === null && var$13 !== $rt_cls(nms_TileEntity)) { var$9 = jl_Class_getSuperclass(var$13); var$4 = ju_HashMap_get($par1Block.$specialRendererMap, var$9); if (var$4 === null && var$9 !== $rt_cls(nms_TileEntity)) { var$4 = nms_TileEntityRenderer_getSpecialRendererForClass($par1Block, jl_Class_getSuperclass(var$9)); ju_HashMap_put($par1Block.$specialRendererMap, var$9, var$4); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$13, var$4); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$8, var$4); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$17, var$4); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$16, var$4); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$10, var$4); } } if (var$4 !== null) { try { $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $par1Block = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($par1Block); } } else { nms_TileEntityRenderer_$callClinit(); $par1Block = nms_TileEntityRenderer_instance; var$4 = $this.$theTrappedChest; var$5 = 0.0; var$6 = 0.0; var$7 = 0.0; $par3 = 0.0; if (var$4 === null) var$8 = null; else { var$8 = var$4.constructor; if (var$8 === null) var$9 = null; else { var$9 = var$8.classObject; if (var$9 === null) { var$9 = new jl_Class; var$9.$platformClass = var$8; var$8.classObject = var$9; } } var$8 = $par1Block.$specialRendererMap; if (var$9 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$10 = var$9; if (!var$10.$id$) var$10.$id$ = $rt_nextId(); var$11 = var$9.$id$; var$12 = var$8.$elementData.data; var$8 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$11) { var$10 = var$8.$key; if (var$9 !== var$10 && !(var$9 !== var$10 ? 0 : 1) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; if (var$8 === null && var$9 !== $rt_cls(nms_TileEntity)) { var$10 = jl_Class_getSuperclass(var$9); var$8 = $par1Block.$specialRendererMap; if (var$10 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$13 = var$10; if (!var$13.$id$) var$13.$id$ = $rt_nextId(); var$11 = var$10.$id$; var$12 = var$8.$elementData.data; var$8 = var$12[var$11 & (var$12.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$11) { var$13 = var$8.$key; if (var$10 !== var$13 && !jl_Object_equals(var$10, var$13) ? 0 : 1) break; } var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; if (var$8 === null && var$10 !== $rt_cls(nms_TileEntity)) { var$13 = jl_Class_getSuperclass(var$10); var$8 = $par1Block.$specialRendererMap; if (var$13 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { var$14 = var$13; if (!var$14.$id$) var$14.$id$ = $rt_nextId(); $par2 = var$13.$id$; var$12 = var$8.$elementData.data; var$8 = var$12[$par2 & (var$12.length - 1 | 0)]; while (var$8 !== null && !(var$8.$origKeyHash == $par2 && ju_HashMap_areEqualKeys(var$13, var$8.$key))) { var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; if (var$8 === null && var$13 !== $rt_cls(nms_TileEntity)) { var$14 = jl_Class_getSuperclass(var$13); var$8 = $par1Block.$specialRendererMap; if (var$14 === null) var$8 = ju_HashMap_findNullKeyEntry(var$8); else { var$15 = jl_Object_hashCode(var$14); var$8 = ju_HashMap_findNonNullKeyEntry(var$8, var$14, var$15 & (var$8.$elementData.data.length - 1 | 0), var$15); } var$8 = var$8 === null ? null : var$8.$value1; if (var$8 === null && var$14 !== $rt_cls(nms_TileEntity)) { var$16 = jl_Class_getSuperclass(var$14); var$8 = ju_HashMap_entryByKey($par1Block.$specialRendererMap, var$16); var$8 = var$8 === null ? null : var$8.$value1; if (var$8 === null && var$16 !== $rt_cls(nms_TileEntity)) { var$17 = jl_Class_getSuperclass(var$16); var$8 = ju_HashMap_get($par1Block.$specialRendererMap, var$17); if (var$8 === null && var$17 !== $rt_cls(nms_TileEntity)) { var$8 = nms_TileEntityRenderer_getSpecialRendererForClass($par1Block, jl_Class_getSuperclass(var$17)); ju_HashMap_put($par1Block.$specialRendererMap, var$17, var$8); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$16, var$8); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$14, var$8); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$13, var$8); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$10, var$8); } ju_HashMap_putImpl($par1Block.$specialRendererMap, var$9, var$8); } } if (var$8 !== null) { try { $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $par1Block = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($par1Block); } } return; case 1: a: { try { var$8.$renderTileEntityAt(var$4, var$5, var$6, var$7, $par3); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $par1Block = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($par1Block); } return; case 2: a: { try { var$4.$renderTileEntityAt(var$14, var$5, var$6, var$7, $par3); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $par1Block = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($par1Block); } return; case 3: a: { try { var$8.$renderTileEntityAt(var$4, var$5, var$6, var$7, $par3); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $par1Block = $$je; } else { throw $$e; } } jl_Throwable_printStackTrace0($par1Block); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Block, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_ChestItemRenderHelper__clinit_ = () => { let var$1, var$2; var$1 = new nms_ChestItemRenderHelper; nms_ChestItemRenderHelper_$callClinit(); var$2 = new nms_TileEntityChest; nms_TileEntity_$callClinit(); var$2.$blockMetadata = (-1); var$2.$chestContents = $rt_createArray(nms_ItemStack, 36); var$2.$cachedChestType = 0; var$1.$theChest = var$2; var$2 = new nms_TileEntityChest; var$2.$blockMetadata = (-1); var$2.$chestContents = $rt_createArray(nms_ItemStack, 36); var$2.$cachedChestType = 1; var$1.$theTrappedChest = var$2; var$2 = new nms_TileEntityEnderChest; var$2.$blockMetadata = (-1); var$1.$theEnderChest = var$2; nms_ChestItemRenderHelper_instance = var$1; }; function nle_WebsocketNetworkManager$ByteBufferDirectInputStream() { ji_InputStream.call(this); this.$buf7 = null; } let nle_WebsocketNetworkManager$ByteBufferDirectInputStream_read = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$buf7; var$2 = var$1.$limit0; var$3 = var$1.$position0; if ((var$2 - var$3 | 0) <= 0) var$2 = (-1); else { if (var$3 >= var$2) { var$1 = new jn_BufferUnderflowException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$4 = var$1.$array0.data; var$5 = var$1.$start; var$1.$position0 = var$3 + 1 | 0; var$2 = var$4[var$5 + var$3 | 0] & 255; } return var$2; }, nle_WebsocketNetworkManager$ByteBufferDirectInputStream_available = $this => { let var$1; var$1 = $this.$buf7; return var$1.$limit0 - var$1.$position0 | 0; }; function nms_WorldSavedData() { let a = this; jl_Object.call(a); a.$mapName = null; a.$dirty = 0; } let nms_WorldSavedData_setDirty = ($this, $par1) => { $this.$dirty = $par1; }; function nms_MapData() { let a = this; nms_WorldSavedData.call(a); a.$xCenter = 0; a.$zCenter = 0; a.$dimension0 = 0; a.$scale1 = 0; a.$colors = null; a.$playersArrayList = null; a.$playersHashMap = null; a.$playersVisibleOnMap = null; } let nms_MapData_updateVisiblePlayers = ($this, $par1EntityPlayer, $par2ItemStack) => { let $var3, var$4, var$5, $var4, var$7, var$8, $var5, var$10, var$11; $var3 = $this.$playersHashMap; if ($par1EntityPlayer === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$4 = $par1EntityPlayer.$entityId; var$5 = $var3.$elementData.data; $var3 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$4) { $var4 = $var3.$key; if ($par1EntityPlayer !== $var4 && !(!($var4 instanceof nms_Entity) ? 0 : $var4.$entityId != var$4 ? 0 : 1) ? 0 : 1) break; } $var3 = $var3.$next3; } } if (!($var3 === null ? 0 : 1)) { $var3 = nms_MapInfo__init_($this, $par1EntityPlayer); ju_HashMap_putImpl($this.$playersHashMap, $par1EntityPlayer, $var3); $var4 = $this.$playersArrayList; ju_ArrayList_ensureCapacity($var4, $var4.$size0 + 1 | 0); var$5 = $var4.$array.data; var$7 = $var4.$size0; $var4.$size0 = var$7 + 1 | 0; var$5[var$7] = $var3; $var4.$modCount = $var4.$modCount + 1 | 0; } if (!nms_InventoryPlayer_hasItemStack($par1EntityPlayer.$inventory, $par2ItemStack)) { var$8 = $this.$playersVisibleOnMap; $var3 = ju_HashMap_removeByKey(var$8, $par1EntityPlayer.$username); if ($var3 !== null) { $var4 = $var3.$chainBackward; $var3 = $var3.$chainForward; if ($var4 !== null) { $var4.$chainForward = $var3; if ($var3 === null) var$8.$tail = $var4; else $var3.$chainBackward = $var4; } else { var$8.$head = $var3; if ($var3 === null) var$8.$tail = null; else $var3.$chainBackward = null; } } } $var5 = 0; a: { b: while (true) { $var3 = $this.$playersArrayList; var$10 = $rt_compare($var5, $var3.$size0); if (var$10 >= 0) { $var3 = $par2ItemStack.$itemFrame; if ($var3 === null ? 0 : 1) { $par1EntityPlayer = $par1EntityPlayer.$worldObj; var$7 = $var3.$entityId; $var3 = new jl_StringBuilder; $var3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var3, $var3.$length0, $rt_s(2061)); jl_AbstractStringBuilder_insert0($var3, $var3.$length0, var$7, 10); $var4 = new jl_String; var$5 = $var3.$buffer; var$11 = var$5.data; var$4 = $var3.$length0; $var5 = var$11.length; if (var$4 >= 0 && var$4 <= ($var5 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$5.data, 0, var$4); $par2ItemStack = $par2ItemStack.$itemFrame; nms_MapData_func_82567_a($this, 1, $par1EntityPlayer, $var4, $par2ItemStack.$xPosition2, $par2ItemStack.$zPosition1, $par2ItemStack.$hangingDirection * 90 | 0); } else { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); } } return; } if ($var5 < 0) break a; if (var$10 >= 0) break a; $var4 = $var3.$array.data[$var5]; $var3 = $var4.$entityplayerObj; if (!(!$var3.$isDead && !(!nms_InventoryPlayer_hasItemStack($var3.$inventory, $par2ItemStack) && !($par2ItemStack.$itemFrame === null ? 0 : 1)))) { ju_HashMap_removeByKey($this.$playersHashMap, $var4.$entityplayerObj); var$8 = $this.$playersArrayList; var$4 = var$8.$size0; var$10 = 0; c: { while (true) { var$7 = $rt_compare(var$10, var$4); if (var$7 >= 0) { var$10 = (-1); break c; } if (var$10 < 0) break b; if (var$7 >= 0) break b; $var3 = var$8.$array.data[var$10]; if ($var4 === $var3 ? 1 : $var4 === null ? ($var3 !== null ? 0 : 1) : $var4 !== $var3 ? 0 : 1) break; var$10 = var$10 + 1 | 0; } } if (var$10 >= 0) ju_ArrayList_remove(var$8, var$10); } else if (!($par2ItemStack.$itemFrame === null ? 0 : 1)) { $var3 = $var4.$entityplayerObj; if ($var3.$dimension == $this.$dimension0) nms_MapData_func_82567_a($this, 0, $var3.$worldObj, $var3.$username, $var3.$posX, $var3.$posZ, $var3.$rotationYaw); } $var5 = $var5 + 1 | 0; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); }, nms_MapData_func_82567_a = ($this, $par1, $par2World, $par3Str, $par4, $par6, $par8) => { let $var10, $var11, var$9, $var12, $var13, $var14, $var15, $var17, var$15; $var10 = 1 << $this.$scale1; $var11 = $par4 - $this.$xCenter; var$9 = $var10; $var11 = $var11 / var$9; $var12 = ($par6 - $this.$zCenter) / var$9; $var13 = ($var11 * 2.0 + 0.5 | 0) << 24 >> 24; $var14 = ($var12 * 2.0 + 0.5 | 0) << 24 >> 24; $var10 = $rt_compare($var11, (-63.0)); if ($var10 >= 0 && $var12 >= (-63.0) && $var11 <= 63.0 && $var12 <= 63.0) { $var15 = (($par8 + ($par8 >= 0.0 ? 8.0 : (-8.0))) * 16.0 / 360.0 | 0) << 24 >> 24; if ($this.$dimension0 < 0) { $var17 = Long_lo(Long_div($par2World.$worldInfo.$worldTime, Long_fromInt(10))); $var15 = (($rt_imul($rt_imul($var17, $var17), 34187121) + ($var17 * 121 | 0) | 0) >> 15 & 15) << 24 >> 24; } } else if (jl_Math_absImpl0($var11) < 320.0 && jl_Math_absImpl0($var12) < 320.0) { $par1 = 6; $var15 = 0; if ($var10 <= 0) $var13 = (-128); if ($var12 <= (-63.0)) $var14 = (-128); if ($var11 >= 63.0) $var13 = 127; if ($var12 >= 63.0) $var14 = 127; } else { $par2World = $this.$playersVisibleOnMap; $par3Str = ju_HashMap_removeByKey($par2World, $par3Str); if ($par3Str !== null) { var$15 = $par3Str.$chainBackward; $par3Str = $par3Str.$chainForward; if (var$15 !== null) { var$15.$chainForward = $par3Str; if ($par3Str === null) $par2World.$tail = var$15; else $par3Str.$chainBackward = var$15; } else { $par2World.$head = $par3Str; if ($par3Str === null) $par2World.$tail = null; else $par3Str.$chainBackward = null; } } return; } $par2World = $this.$playersVisibleOnMap; var$15 = new nms_MapCoord; $par1 = $par1 << 24 >> 24; var$15.$data17 = $this; var$15.$iconSize = $par1; var$15.$centerX = $var13; var$15.$centerZ = $var14; var$15.$iconRotation = $var15; $var10 = $par2World.$elementCount; ju_LinkedHashMap_putImpl($par2World, $par3Str, var$15, 0, $par2World.$accessOrder); }, nms_MapData_setColumnDirty = ($this, $par1, $par2, $par3) => { let $var4, $var5, var$6, var$7; $this.$dirty = 1; $var4 = 0; a: { while (true) { $var5 = $this.$playersArrayList; var$6 = $rt_compare($var4, $var5.$size0); if (var$6 >= 0) break; if ($var4 < 0) break a; if (var$6 >= 0) break a; $var5 = $var5.$array.data[$var4]; var$7 = $var5.$field_76209_b.data; if (!(var$7[$par1] >= 0 && var$7[$par1] <= $par2)) var$7[$par1] = $par2; var$7 = $var5.$field_76210_c.data; if (!(var$7[$par1] >= 0 && var$7[$par1] >= $par3)) var$7[$par1] = $par3; $var4 = $var4 + 1 | 0; } return; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); }, nms_MapData_updateMPMapData = ($this, $par1ArrayOfByte) => { let $var2, $var3, $var4, var$5, var$6, var$7, $var5, $var6, $var7, $var8, var$12, var$13, var$14; a: { b: { $par1ArrayOfByte = $par1ArrayOfByte.data; if (!$par1ArrayOfByte[0]) { $var2 = $par1ArrayOfByte[1] & 255; $var3 = $par1ArrayOfByte[2] & 255; $var4 = 0; while ($var4 < ($par1ArrayOfByte.length - 3 | 0)) { $this.$colors.data[(($var4 + $var3 | 0) * 128 | 0) + $var2 | 0] = $par1ArrayOfByte[$var4 + 3 | 0]; $var4 = $var4 + 1 | 0; } $this.$dirty = 1; } else if ($par1ArrayOfByte[0] == 1) { var$5 = $this.$playersVisibleOnMap; if (var$5.$elementCount > 0) { var$5.$elementCount = 0; var$6 = var$5.$elementData.data; var$7 = null; $var2 = 0; $var5 = var$6.length; if ($var2 > $var5) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); } while ($var2 < $var5) { $var6 = $var2 + 1 | 0; var$6[$var2] = var$7; $var2 = $var6; } var$5.$modCount0 = var$5.$modCount0 + 1 | 0; } var$5.$head = null; var$5.$tail = null; $var2 = 0; while (true) { if ($var2 >= (($par1ArrayOfByte.length - 1 | 0) / 3 | 0)) break b; $var5 = $var2 * 3 | 0; $var6 = $var5 + 1 | 0; $var7 = $par1ArrayOfByte[$var6] >> 4 << 24 >> 24; $var8 = $par1ArrayOfByte[$var5 + 2 | 0]; $var5 = $par1ArrayOfByte[$var5 + 3 | 0]; $var6 = ($par1ArrayOfByte[$var6] & 15) << 24 >> 24; var$5 = $this.$playersVisibleOnMap; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(3595)); jl_AbstractStringBuilder_insert0(var$7, var$7.$length0, $var2, 10); var$12 = new jl_String; var$6 = var$7.$buffer; var$13 = var$6.data; $var4 = var$7.$length0; var$14 = var$13.length; if ($var4 < 0) break a; if ($var4 > (var$14 - 0 | 0)) break a; var$12.$nativeString = $rt_charArrayToString(var$6.data, 0, $var4); var$7 = new nms_MapCoord; var$7.$data17 = $this; var$7.$iconSize = $var7; var$7.$centerX = $var8; var$7.$centerZ = $var5; var$7.$iconRotation = $var6; $var3 = var$5.$elementCount; ju_LinkedHashMap_putImpl(var$5, var$12, var$7, 0, var$5.$accessOrder); $var2 = $var2 + 1 | 0; } } else if ($par1ArrayOfByte[0] == 2) $this.$scale1 = $par1ArrayOfByte[1]; } return; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); }; function nms_MapCoord() { let a = this; jl_Object.call(a); a.$iconSize = 0; a.$centerX = 0; a.$centerZ = 0; a.$iconRotation = 0; a.$data17 = null; } function nms_EnchantmentData() { let a = this; nms_WeightedRandomItem.call(a); a.$enchantmentobj = null; a.$enchantmentLevel = 0; } let nms_EnchantmentData__init_0 = ($this, $par1Enchantment, $par2) => { $this.$itemWeight = $par1Enchantment.$weight; $this.$enchantmentobj = $par1Enchantment; $this.$enchantmentLevel = $par2; }, nms_EnchantmentData__init_ = (var_0, var_1) => { let var_2 = new nms_EnchantmentData(); nms_EnchantmentData__init_0(var_2, var_0, var_1); return var_2; }, jt_DecimalFormat$Constants = $rt_classWithoutFields(), jt_DecimalFormat$Constants_doubleAnalysisResult = null, jt_DecimalFormat$Constants_floatAnalysisResult = null, jt_DecimalFormat$Constants__init_ = $this => { return; }, jt_DecimalFormat$Constants__init_0 = () => { let var_0 = new jt_DecimalFormat$Constants(); jt_DecimalFormat$Constants__init_(var_0); return var_0; }, jt_DecimalFormat$Constants__clinit_ = () => { jt_DecimalFormat$Constants_doubleAnalysisResult = new otcit_DoubleAnalyzer$Result; jt_DecimalFormat$Constants_floatAnalysisResult = new otcit_FloatAnalyzer$Result; }, nms_PacketCount = $rt_classWithoutFields(), nms_PacketCount_allowCounting = 0, nms_PacketCount_packetCountForID = null, nms_PacketCount_sizeCountForID = null, nms_PacketCount_lock = null, nms_PacketCount__init_ = $this => { return; }, nms_PacketCount__init_0 = () => { let var_0 = new nms_PacketCount(); nms_PacketCount__init_(var_0); return var_0; }, nms_PacketCount_countPacket = ($par0, $par1) => { let var$3, var$4, $$je; a: { b: { if (nms_PacketCount_allowCounting) { var$3 = nms_PacketCount_lock; jl_Object_monitorEnterSync(var$3); c: { try { if (!ju_HashMap_containsKey(nms_PacketCount_packetCountForID, jl_Integer_valueOf($par0))) { ju_HashMap_put(nms_PacketCount_packetCountForID, jl_Integer_valueOf($par0), jl_Long_valueOf(Long_fromInt(1))); ju_HashMap_put(nms_PacketCount_sizeCountForID, jl_Integer_valueOf($par0), jl_Long_valueOf($par1)); break c; } ju_HashMap_put(nms_PacketCount_packetCountForID, jl_Integer_valueOf($par0), jl_Long_valueOf(Long_add(jl_Long_longValue(ju_HashMap_get(nms_PacketCount_packetCountForID, jl_Integer_valueOf($par0))), Long_fromInt(1)))); ju_HashMap_put(nms_PacketCount_sizeCountForID, jl_Integer_valueOf($par0), jl_Long_valueOf(Long_add(jl_Long_longValue(ju_HashMap_get(nms_PacketCount_sizeCountForID, jl_Integer_valueOf($par0))), $par1))); break c; } catch ($$e) { $$je = $rt_wrapException($$e); var$4 = $$je; break a; } } try { jl_Object_monitorExitSync(var$3); break b; } catch ($$e) { $$je = $rt_wrapException($$e); var$4 = $$je; break a; } } } return; } jl_Object_monitorExitSync(var$3); $rt_throw(var$4); }, nms_PacketCount__clinit_ = () => { let var$1, var$2, var$3, var$4; nms_PacketCount_allowCounting = 1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_PacketCount_packetCountForID = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_PacketCount_sizeCountForID = var$1; nms_PacketCount_lock = new jl_Object; }, jn_InvalidMarkException = $rt_classWithoutFields(jl_IllegalStateException), jn_InvalidMarkException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jn_InvalidMarkException__init_0 = () => { let var_0 = new jn_InvalidMarkException(); jn_InvalidMarkException__init_(var_0); return var_0; }, nms_ISidedInventory = $rt_classWithoutFields(0); function nms_TileEntityFurnace() { let a = this; nms_TileEntity.call(a); a.$furnaceItemStacks = null; a.$furnaceBurnTime = 0; a.$currentItemBurnTime = 0; a.$furnaceCookTime = 0; a.$field_94130_e = null; } let nms_TileEntityFurnace_slots_top = null, nms_TileEntityFurnace_slots_bottom = null, nms_TileEntityFurnace_slots_sides = null, nms_TileEntityFurnace__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); $this.$furnaceItemStacks = $rt_createArray(nms_ItemStack, 3); }, nms_TileEntityFurnace__init_0 = () => { let var_0 = new nms_TileEntityFurnace(); nms_TileEntityFurnace__init_(var_0); return var_0; }, nms_TileEntityFurnace_getSizeInventory = $this => { return $this.$furnaceItemStacks.data.length; }, nms_TileEntityFurnace_getStackInSlot = ($this, $par1) => { return $this.$furnaceItemStacks.data[$par1]; }, nms_TileEntityFurnace_decrStackSize = ($this, $par1, $par2) => { let var$3, $var3, var$5, $var3_0, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; var$3 = $this.$furnaceItemStacks.data; if (var$3[$par1] === null) return null; if (var$3[$par1].$stackSize <= $par2) { $var3 = var$3[$par1]; var$3[$par1] = null; return $var3; } var$5 = var$3[$par1]; $var3_0 = new nms_ItemStack; var$7 = var$5.$itemID; var$8 = var$5.$itemDamage; nms_ItemStack_$callClinit(); $var3_0.$itemID = var$7; $var3_0.$stackSize = $par2; $var3_0.$itemDamage = var$8; if (var$8 < 0) $var3_0.$itemDamage = 0; var$9 = var$5.$stackTagCompound; if (var$9 !== null) { var$10 = new nms_NBTTagCompound; $var3 = var$9.$name; if ($var3 === null) $var3 = $rt_s(18); var$10.$name = $var3; $var3 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); $var3.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$3 = var$11.data; $var3.$elementData = var$11; $var3.$loadFactor = 0.75; $var3.$threshold = var$3.length * 0.75 | 0; var$10.$tagMap = $var3; $var3 = var$9.$tagMap; if ($var3.$cachedKeySet === null) { var$12 = new ju_HashMap$1; var$12.$this$0 = $var3; $var3.$cachedKeySet = var$12; } $var3 = $var3.$cachedKeySet.$iterator(); while ($var3.$hasNext()) { var$12 = $var3.$next(); var$13 = var$9.$tagMap; if (var$12 === null) { var$13 = var$13.$elementData.data[0]; while (var$13 !== null && var$13.$key !== null) { var$13 = var$13.$next3; } } else { a: { if (!var$12.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$12.$nativeString.length) break a; var$12.$hashCode1 = (31 * var$12.$hashCode1 | 0) + var$12.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$14 = var$12.$hashCode1; var$3 = var$13.$elementData.data; var$13 = var$3[var$14 & (var$3.length - 1 | 0)]; while (var$13 !== null) { if (var$13.$origKeyHash == var$14) { b: { var$15 = var$13.$key; if (var$12 !== var$15) { if (var$12 === var$15) var$8 = 1; else if (!(var$15 instanceof jl_String)) var$8 = 0; else { var$15 = var$15; var$8 = var$12.$nativeString !== var$15.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$13 = var$13.$next3; } } var$13 = var$13 === null ? null : var$13.$value1; var$13 = var$13.$copy(); var$15 = var$10.$tagMap; if (var$12 !== null) var$13.$name = var$12; else var$13.$name = $rt_s(18); ju_HashMap_putImpl(var$15, var$12, var$13); } $var3_0.$stackTagCompound = var$10; } var$5.$stackSize = var$5.$stackSize - $par2 | 0; var$3 = $this.$furnaceItemStacks.data; if (!var$3[$par1].$stackSize) var$3[$par1] = null; return $var3_0; }, nms_TileEntityFurnace_setInventorySlotContents = ($this, $par1, $par2ItemStack) => { $this.$furnaceItemStacks.data[$par1] = $par2ItemStack; if ($par2ItemStack !== null && $par2ItemStack.$stackSize > 64) $par2ItemStack.$stackSize = 64; }, nms_TileEntityFurnace_readFromNBT = ($this, $par1NBTTagCompound) => { let $var2, $var3, $var5, var$5, var$6, $var4, var$8, var$9, var$10, var$11; a: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(544).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { b: { var$6 = $var2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break b; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) !== null) { c: { if (!$rt_s(544).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(544).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { d: { var$6 = $var2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break d; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data0; } e: { $this.$xCoord0 = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2392).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { f: { var$6 = $var2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break f; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) !== null) { g: { if (!$rt_s(2392).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2392).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { h: { var$6 = $var2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break h; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data0; } i: { $this.$yCoord0 = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2393).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { j: { var$6 = $var2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break j; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { k: { if (!$rt_s(2393).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2393).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { l: { var$6 = $var2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) $var3 = 1; else if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; if (!$var3) { $var3 = 0; break l; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data0; } m: { $this.$zCoord0 = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2451).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2451).$nativeString.length) break m; $rt_s(2451).$hashCode1 = (31 * $rt_s(2451).$hashCode1 | 0) + $rt_s(2451).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2451).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { n: { var$6 = $var2.$key; if ($rt_s(2451) !== var$6) { if ($rt_s(2451) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(2451).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break n; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2451) !== null) { o: { if (!$rt_s(2451).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2451).$nativeString.length) break o; $rt_s(2451).$hashCode1 = (31 * $rt_s(2451).$hashCode1 | 0) + $rt_s(2451).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2451).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { p: { var$6 = $var2.$key; if ($rt_s(2451) !== var$6) { if ($rt_s(2451) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(2451).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break p; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; } else { $var2 = new nms_NBTTagList; if ($rt_s(2451) !== null) $var2.$name = $rt_s(2451); else $var2.$name = $rt_s(18); $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $var4; } $this.$furnaceItemStacks = $rt_createArray(nms_ItemStack, $this.$furnaceItemStacks.data.length); $var3 = 0; q: { while (true) { $var4 = $var2.$tagList; var$8 = $rt_compare($var3, $var4.$size0); if (var$8 >= 0) break; if ($var3 < 0) break q; if (var$8 >= 0) break q; r: { $var4 = $var4.$array.data[$var3]; var$9 = $var4.$tagMap; if (!$rt_s(1315).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1315).$nativeString.length) break r; $rt_s(1315).$hashCode1 = (31 * $rt_s(1315).$hashCode1 | 0) + $rt_s(1315).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$10 = $rt_s(1315).$hashCode1; var$5 = var$9.$elementData.data; var$9 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$10) { s: { var$11 = var$9.$key; if ($rt_s(1315) !== var$11) { if ($rt_s(1315) === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $rt_s(1315).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break s; } } var$8 = 1; } if (var$8) break; } var$9 = var$9.$next3; } if (!(var$9 === null ? 0 : 1)) $var5 = 0; else { var$9 = $var4.$tagMap; if ($rt_s(1315) === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { t: { if (!$rt_s(1315).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1315).$nativeString.length) break t; $rt_s(1315).$hashCode1 = (31 * $rt_s(1315).$hashCode1 | 0) + $rt_s(1315).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$10 = $rt_s(1315).$hashCode1; var$5 = var$9.$elementData.data; var$9 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$10) { u: { var$11 = var$9.$key; if ($rt_s(1315) !== var$11) { if ($rt_s(1315) === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $rt_s(1315).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break u; } } var$8 = 1; } if (var$8) break; } var$9 = var$9.$next3; } } $var5 = (var$9 === null ? null : var$9.$value1).$data; } if ($var5 >= 0) { var$5 = $this.$furnaceItemStacks.data; if ($var5 < var$5.length) { nms_ItemStack_$callClinit(); var$6 = new nms_ItemStack; nms_ItemStack_readFromNBT(var$6, $var4); nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$6.$itemID] === null) var$6 = null; var$5[$var5] = var$6; } } $var3 = $var3 + 1 | 0; } v: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3596).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3596).$nativeString.length) break v; $rt_s(3596).$hashCode1 = (31 * $rt_s(3596).$hashCode1 | 0) + $rt_s(3596).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(3596).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var3 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { w: { var$6 = $var2.$key; if ($rt_s(3596) !== var$6) { if ($rt_s(3596) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$8 = $rt_s(3596).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$8 = 0; } else var$8 = 1; if (!var$8) { var$8 = 0; break w; } } var$8 = 1; } if (var$8) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3596) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { x: { if (!$rt_s(3596).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3596).$nativeString.length) break x; $rt_s(3596).$hashCode1 = (31 * $rt_s(3596).$hashCode1 | 0) + $rt_s(3596).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(3596).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var3 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { y: { var$6 = $var2.$key; if ($rt_s(3596) !== var$6) { if ($rt_s(3596) === var$6) var$8 = 1; else if (var$6 instanceof jl_String) { var$6 = var$6; var$8 = $rt_s(3596).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$8 = 0; if (!var$8) { var$8 = 0; break y; } } var$8 = 1; } if (var$8) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data2; } else $var3 = 0; z: { $this.$furnaceBurnTime = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3597).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3597).$nativeString.length) break z; $rt_s(3597).$hashCode1 = (31 * $rt_s(3597).$hashCode1 | 0) + $rt_s(3597).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(3597).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { ba: { var$6 = $var2.$key; if ($rt_s(3597) !== var$6) { if ($rt_s(3597) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(3597).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break ba; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3597) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { bb: { if (!$rt_s(3597).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3597).$nativeString.length) break bb; $rt_s(3597).$hashCode1 = (31 * $rt_s(3597).$hashCode1 | 0) + $rt_s(3597).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(3597).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { bc: { var$6 = $var2.$key; if ($rt_s(3597) !== var$6) { if ($rt_s(3597) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(3597).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bc; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data2; } bd: { $this.$furnaceCookTime = $var3; $this.$currentItemBurnTime = nms_TileEntityFurnace_getItemBurnTime($this.$furnaceItemStacks.data[1]); $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break bd; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(1281).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { be: { var$6 = $var2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break be; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { bf: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break bf; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(1281).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { bg: { var$6 = $var2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bg; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $par1NBTTagCompound = $rt_s(18); else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1281) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { bh: { if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break bh; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(1281).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[$var5 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == $var5) { bi: { $var2 = $par1NBTTagCompound.$key; if ($rt_s(1281) !== $var2) { if ($rt_s(1281) === $var2) $var3 = 1; else if (!($var2 instanceof jl_String)) $var3 = 0; else { $var2 = $var2; $var3 = $rt_s(1281).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bi; } } $var3 = 1; } if ($var3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $par1NBTTagCompound = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data1; } $this.$field_94130_e = $par1NBTTagCompound; } return; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); }, nms_TileEntityFurnace_writeToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, $var2, $var3, var$7, $var4, var$9, var$10, var$11, var$12; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); var$2 = $this.$furnaceBurnTime << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(3596); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(3596), var$4); var$2 = $this.$furnaceCookTime << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(3597); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(3597), var$4); $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = var$4; $var3 = 0; while (true) { var$7 = $this.$furnaceItemStacks.data; if ($var3 >= var$7.length) break; if (var$7[$var3] !== null) { $var4 = new nms_NBTTagCompound; $var4.$name = $rt_s(18); var$9 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$9.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$7 = var$10.data; var$9.$elementData = var$10; var$9.$loadFactor = 0.75; var$9.$threshold = var$7.length * 0.75 | 0; $var4.$tagMap = var$9; var$2 = $var3 << 24 >> 24; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1315); var$4.$data = var$2; ju_HashMap_putImpl(var$9, $rt_s(1315), var$4); var$4 = $this.$furnaceItemStacks.data[$var3]; var$2 = var$4.$itemID << 16 >> 16; var$11 = $var4.$tagMap; var$9 = new nms_NBTTagShort; var$9.$name = $rt_s(1243); var$9.$data2 = var$2; ju_HashMap_putImpl(var$11, $rt_s(1243), var$9); var$2 = var$4.$stackSize << 24 >> 24; var$11 = $var4.$tagMap; var$9 = new nms_NBTTagByte; var$9.$name = $rt_s(1271); var$9.$data = var$2; ju_HashMap_putImpl(var$11, $rt_s(1271), var$9); var$2 = var$4.$itemDamage << 16 >> 16; var$11 = $var4.$tagMap; var$9 = new nms_NBTTagShort; var$9.$name = $rt_s(1272); var$9.$data2 = var$2; ju_HashMap_putImpl(var$11, $rt_s(1272), var$9); var$4 = var$4.$stackTagCompound; if (var$4 !== null) { var$9 = $var4.$tagMap; var$4.$name = $rt_s(1273); ju_HashMap_putImpl(var$9, $rt_s(1273), var$4); } $var2.$tagType = 10; var$4 = $var2.$tagList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$12 = var$4.$size0; var$4.$size0 = var$12 + 1 | 0; var$7[var$12] = $var4; var$4.$modCount = var$4.$modCount + 1 | 0; } $var3 = $var3 + 1 | 0; } var$3 = $par1NBTTagCompound.$tagMap; $var2.$name = $rt_s(2451); ju_HashMap_putImpl(var$3, $rt_s(2451), $var2); $var2 = $this.$field_94130_e; if ($var2 !== null && $var2.$nativeString.length > 0 ? 1 : 0) { var$4 = $this.$field_94130_e; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagString; $par1NBTTagCompound.$name = $rt_s(1281); $par1NBTTagCompound.$data1 = var$4; if (var$4 === null) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $var2.$message = $rt_s(186); $rt_throw($var2); } ju_HashMap_putImpl(var$3, $rt_s(1281), $par1NBTTagCompound); } }, nms_TileEntityFurnace_getInventoryStackLimit = $this => { return 64; }, nms_TileEntityFurnace_updateEntity = $this => { let var$1, $var1, $var2, var$4, var$5, $var3, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$furnaceBurnTime; $var1 = var$1 <= 0 ? 0 : 1; $var2 = 0; if (var$1 > 0) $this.$furnaceBurnTime = var$1 - 1 | 0; if (!$this.$worldObj0.$isRemote) { if (!$this.$furnaceBurnTime && nms_TileEntityFurnace_canSmelt($this)) { var$1 = nms_TileEntityFurnace_getItemBurnTime($this.$furnaceItemStacks.data[1]); $this.$furnaceBurnTime = var$1; $this.$currentItemBurnTime = var$1; if (var$1 > 0) { $var2 = 1; var$4 = $this.$furnaceItemStacks.data; if (var$4[1] !== null) { var$5 = var$4[1]; var$5.$stackSize = var$5.$stackSize - 1 | 0; if (!var$4[1].$stackSize) { var$5 = var$4[1]; nms_Item_$callClinit(); $var3 = nms_Item_itemsList.data[var$5.$itemID].$containerItem; if ($var3 === null) var$5 = null; else { var$5 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$5.$itemID = $var3.$itemID0; var$5.$stackSize = 1; var$5.$itemDamage = 0; } var$4[1] = var$5; } } } } var$1 = $this.$furnaceBurnTime <= 0 ? 0 : 1; if (var$1 && nms_TileEntityFurnace_canSmelt($this)) { var$1 = $this.$furnaceCookTime + 1 | 0; $this.$furnaceCookTime = var$1; if (var$1 == 200) { $this.$furnaceCookTime = 0; nms_TileEntityFurnace_smeltItem($this); $var2 = 1; } } else $this.$furnaceCookTime = 0; var$7 = $this.$furnaceBurnTime; if ($var1 != (var$7 <= 0 ? 0 : 1)) { $var2 = 1; var$1 = var$7 <= 0 ? 0 : 1; var$5 = $this.$worldObj0; $var1 = $this.$xCoord0; var$7 = $this.$yCoord0; var$8 = $this.$zCoord0; $ptr = 2; continue main; } } if (!$var2) return; $ptr = 1; case 1: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return; case 2: nms_BlockFurnace_updateFurnaceBlockState(var$1, var$5, $var1, var$7, var$8); if ($rt_suspending()) { break main; } if (!$var2) return; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, $var2, var$4, var$5, $var3, var$7, var$8, $ptr); }, nms_TileEntityFurnace_canSmelt = $this => { let var$1, var$2, $var1, var$4, var$5, var$6, var$7; var$1 = $this.$furnaceItemStacks.data; if (var$1[0] === null) return 0; nms_FurnaceRecipes_$callClinit(); var$2 = nms_FurnaceRecipes_smeltingBase; $var1 = var$1[0]; nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[$var1.$itemID].$itemID0; $var1 = var$2.$smeltingList; if (var$4 >= (-128) && var$4 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$4 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$4; } if (var$2 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$5 = var$2.$value0; var$1 = $var1.$elementData.data; $var1 = var$1[var$5 & (var$1.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$5) { var$6 = $var1.$key; if (var$2 !== var$6 && !(var$2 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; a: { $var1 = $var1; if ($var1 === null) var$4 = 0; else { var$1 = $this.$furnaceItemStacks.data; if (var$1[2] === null) var$4 = 1; else { var$2 = var$1[2]; var$4 = var$2.$itemID; var$7 = $var1.$itemID; if (!(var$4 == var$7 && var$2.$itemDamage == $var1.$itemDamage ? 1 : 0)) var$4 = 0; else { if (var$1[2].$stackSize < 64) { var$4 = var$1[2].$stackSize; $var1 = var$1[2]; if (var$4 < nms_Item_itemsList.data[$var1.$itemID].$maxStackSize) { var$4 = 1; break a; } } if (var$1[2].$stackSize >= nms_Item_itemsList.data[var$7].$maxStackSize) var$4 = 0; else var$4 = 1; } } } } return var$4; }, nms_TileEntityFurnace_smeltItem = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; if (nms_TileEntityFurnace_canSmelt($this)) { nms_FurnaceRecipes_$callClinit(); $var1 = nms_FurnaceRecipes_smeltingBase; var$2 = $this.$furnaceItemStacks.data[0]; nms_Item_$callClinit(); var$3 = nms_Item_itemsList.data[var$2.$itemID].$itemID0; var$2 = $var1.$smeltingList; if (var$3 >= (-128) && var$3 <= 127) { jl_Integer_ensureIntegerCache(); $var1 = jl_Integer_integerCache.data[var$3 + 128 | 0]; } else { $var1 = new jl_Integer; $var1.$value0 = var$3; } if ($var1 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$3 = $var1.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { var$5 = var$2.$key; if ($var1 !== var$5 && !($var1 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var1 = var$2 === null ? null : var$2.$value1; var$4 = $this.$furnaceItemStacks.data; if (var$4[2] === null) { var$2 = new nms_ItemStack; var$6 = $var1.$itemID; var$7 = $var1.$stackSize; var$8 = $var1.$itemDamage; nms_ItemStack_$callClinit(); var$2.$itemID = var$6; var$2.$stackSize = var$7; var$2.$itemDamage = var$8; if (var$8 < 0) var$2.$itemDamage = 0; var$9 = $var1.$stackTagCompound; if (var$9 !== null) { $var1 = new nms_NBTTagCompound; var$5 = var$9.$name; if (var$5 === null) var$5 = $rt_s(18); $var1.$name = var$5; var$5 = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); var$5.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$11 = var$10.data; var$5.$elementData = var$10; var$5.$loadFactor = 0.75; var$5.$threshold = var$11.length * 0.75 | 0; $var1.$tagMap = var$5; var$5 = var$9.$tagMap; if (var$5.$cachedKeySet === null) { var$12 = new ju_HashMap$1; var$12.$this$0 = var$5; var$5.$cachedKeySet = var$12; } var$5 = var$5.$cachedKeySet.$iterator(); while (var$5.$hasNext()) { var$12 = var$5.$next(); var$13 = var$9.$tagMap; if (var$12 === null) { var$13 = var$13.$elementData.data[0]; while (var$13 !== null && var$13.$key !== null) { var$13 = var$13.$next3; } } else { a: { if (!var$12.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$12.$nativeString.length) break a; var$12.$hashCode1 = (31 * var$12.$hashCode1 | 0) + var$12.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$8 = var$12.$hashCode1; var$11 = var$13.$elementData.data; var$13 = var$11[var$8 & (var$11.length - 1 | 0)]; while (var$13 !== null) { if (var$13.$origKeyHash == var$8) { b: { var$14 = var$13.$key; if (var$12 !== var$14) { if (var$12 === var$14) var$6 = 1; else if (!(var$14 instanceof jl_String)) var$6 = 0; else { var$14 = var$14; var$6 = var$12.$nativeString !== var$14.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$13 = var$13.$next3; } } var$13 = var$13 === null ? null : var$13.$value1; var$13 = var$13.$copy(); var$14 = $var1.$tagMap; if (var$12 !== null) var$13.$name = var$12; else var$13.$name = $rt_s(18); ju_HashMap_putImpl(var$14, var$12, var$13); } var$2.$stackTagCompound = $var1; } var$4[2] = var$2; } else if (var$4[2].$itemID == $var1.$itemID) { var$2 = var$4[2]; var$2.$stackSize = var$2.$stackSize + 1 | 0; } var$4 = $this.$furnaceItemStacks.data; var$2 = var$4[0]; var$2.$stackSize = var$2.$stackSize - 1 | 0; if (var$4[0].$stackSize <= 0) var$4[0] = null; } }, nms_TileEntityFurnace_getItemBurnTime = $par0ItemStack => { let var$2, var$3, $var1, $var2, $var3; if ($par0ItemStack === null) return 0; nms_Item_$callClinit(); var$2 = nms_Item_itemsList.data; var$3 = $par0ItemStack.$itemID; $var1 = var$2[var$3].$itemID0; $var2 = var$2[var$3]; if ($var1 < 256) { nms_Block_$callClinit(); var$2 = nms_Block_blocksList.data; if (var$2[$var1] !== null) { $var3 = var$2[$var1]; if ($var3 === nms_Block_woodSingleSlab) return 150; $par0ItemStack = $var3.$blockMaterial; nms_Material_$callClinit(); if ($par0ItemStack === nms_Material_wood) return 300; if ($var3 === nms_Block_coalBlock) return 16000; } } a: { if ($var2 instanceof nms_ItemTool) { $var3 = $var2.$toolMaterial.$name0; if ($var3 === $rt_s(2811)) var$3 = 1; else if (!($rt_s(2811) instanceof jl_String)) var$3 = 0; else { $par0ItemStack = $rt_s(2811); var$3 = $var3.$nativeString !== $par0ItemStack.$nativeString ? 0 : 1; } if (var$3) { var$3 = 200; break a; } } if ($var2 instanceof nms_ItemSword) { $var3 = $var2.$toolMaterial0.$name0; if ($var3 === $rt_s(2811)) var$3 = 1; else if (!($rt_s(2811) instanceof jl_String)) var$3 = 0; else { $par0ItemStack = $rt_s(2811); var$3 = $var3.$nativeString !== $par0ItemStack.$nativeString ? 0 : 1; } if (var$3) { var$3 = 200; break a; } } if ($var2 instanceof nms_ItemHoe) { $var2 = $var2.$theToolMaterial.$name0; if ($var2 === $rt_s(2811)) var$3 = 1; else if (!($rt_s(2811) instanceof jl_String)) var$3 = 0; else { $par0ItemStack = $rt_s(2811); var$3 = $var2.$nativeString !== $par0ItemStack.$nativeString ? 0 : 1; } if (var$3) { var$3 = 200; break a; } } if ($var1 == nms_Item_stick.$itemID0) var$3 = 100; else if ($var1 == nms_Item_coal.$itemID0) var$3 = 1600; else if ($var1 == nms_Item_bucketLava.$itemID0) var$3 = 20000; else { nms_Block_$callClinit(); if ($var1 == nms_Block_sapling.$blockID) var$3 = 100; else if ($var1 != nms_Item_blazeRod.$itemID0) var$3 = 0; else var$3 = 2400; } } return var$3; }, nms_TileEntityFurnace_isUseableByPlayer = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$worldObj0; var$3 = $this.$xCoord0; var$4 = $this.$yCoord0; var$5 = $this.$zCoord0; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2 !== $this) var$3 = 0; else { var$6 = $this.$xCoord0 + 0.5; var$7 = $this.$yCoord0 + 0.5; var$8 = $this.$zCoord0 + 0.5; var$6 = $par1EntityPlayer.$posX - var$6; var$7 = $par1EntityPlayer.$posY - var$7; var$8 = $par1EntityPlayer.$posZ - var$8; var$3 = var$6 * var$6 + var$7 * var$7 + var$8 * var$8 > 64.0 ? 0 : 1; } return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_TileEntityFurnace_isItemValidForSlot = ($this, $par1, $par2ItemStack) => { return $par1 == 2 ? 0 : $par1 != 1 ? 1 : nms_TileEntityFurnace_getItemBurnTime($par2ItemStack) <= 0 ? 0 : 1; }, nms_TileEntityFurnace_getAccessibleSlotsFromSide = ($this, $par1) => { return !$par1 ? nms_TileEntityFurnace_slots_bottom : $par1 != 1 ? nms_TileEntityFurnace_slots_sides : nms_TileEntityFurnace_slots_top; }, nms_TileEntityFurnace_canInsertItem = ($this, $par1, $par2ItemStack, $par3) => { return $par1 == 2 ? 0 : $par1 != 1 ? 1 : nms_TileEntityFurnace_getItemBurnTime($par2ItemStack) <= 0 ? 0 : 1; }, nms_TileEntityFurnace_canExtractItem = ($this, $par1, $par2ItemStack, $par3) => { a: { if (!$par3 && $par1 == 1) { $par1 = $par2ItemStack.$itemID; nms_Item_$callClinit(); if ($par1 != nms_Item_bucketEmpty.$itemID0) { $par1 = 0; break a; } } $par1 = 1; } return $par1; }, nms_TileEntityFurnace__clinit_ = () => { let var$1; var$1 = $rt_createIntArray(1); var$1.data[0] = 0; nms_TileEntityFurnace_slots_top = var$1; nms_TileEntityFurnace_slots_bottom = $rt_createIntArrayFromData([2, 1]); var$1 = $rt_createIntArray(1); var$1.data[0] = 1; nms_TileEntityFurnace_slots_sides = var$1; }; function nms_TileEntityRecordPlayer() { nms_TileEntity.call(this); this.$record = null; } let nms_TileEntityRecordPlayer__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); }, nms_TileEntityRecordPlayer__init_0 = () => { let var_0 = new nms_TileEntityRecordPlayer(); nms_TileEntityRecordPlayer__init_(var_0); return var_0; }, nms_TileEntityRecordPlayer_readFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1NBTTagCompound = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } e: { $this.$xCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { f: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) !== null) { g: { if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { h: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) !== var$6) { if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } } else var$3 = 1; if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } i: { $this.$yCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { j: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { k: { if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { l: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } m: { $this.$zCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3598).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3598).$nativeString.length) break m; $rt_s(3598).$hashCode1 = (31 * $rt_s(3598).$hashCode1 | 0) + $rt_s(3598).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(3598).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { n: { var$6 = var$2.$key; if ($rt_s(3598) !== var$6) { if ($rt_s(3598) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(3598).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break n; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { o: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3598).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3598).$nativeString.length) break o; $rt_s(3598).$hashCode1 = (31 * $rt_s(3598).$hashCode1 | 0) + $rt_s(3598).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3598).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { p: { var$6 = var$2.$key; if ($rt_s(3598) !== var$6) { if ($rt_s(3598) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3598).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break p; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) { $par1NBTTagCompound = new nms_NBTTagCompound; if ($rt_s(3598) !== null) $par1NBTTagCompound.$name = $rt_s(3598); else $par1NBTTagCompound.$name = $rt_s(18); var$8 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$8.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$9.data; var$8.$elementData = var$9; var$8.$loadFactor = 0.75; var$8.$threshold = var$5.length * 0.75 | 0; $par1NBTTagCompound.$tagMap = var$8; } else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(3598) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { q: { if (!$rt_s(3598).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3598).$nativeString.length) break q; $rt_s(3598).$hashCode1 = (31 * $rt_s(3598).$hashCode1 | 0) + $rt_s(3598).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3598).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$4) { r: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(3598) !== var$2) { if ($rt_s(3598) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(3598).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break r; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $par1NBTTagCompound = $par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1; } nms_ItemStack_$callClinit(); var$8 = new nms_ItemStack; nms_ItemStack_readFromNBT(var$8, $par1NBTTagCompound); nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$8.$itemID] === null) var$8 = null; $this.$record = var$8; $ptr = 1; continue main; } s: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3599).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3599).$nativeString.length) break s; $rt_s(3599).$hashCode1 = (31 * $rt_s(3599).$hashCode1 | 0) + $rt_s(3599).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3599).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { t: { var$6 = var$2.$key; if ($rt_s(3599) !== var$6) { if ($rt_s(3599) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3599).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break t; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3599) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { u: { if (!$rt_s(3599).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3599).$nativeString.length) break u; $rt_s(3599).$hashCode1 = (31 * $rt_s(3599).$hashCode1 | 0) + $rt_s(3599).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(3599).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { v: { var$6 = var$2.$key; if ($rt_s(3599) !== var$6) { if ($rt_s(3599) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3599).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break v; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } if (var$3 <= 0) return; w: { var$2 = new nms_ItemStack; var$6 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3599).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3599).$nativeString.length) break w; $rt_s(3599).$hashCode1 = (31 * $rt_s(3599).$hashCode1 | 0) + $rt_s(3599).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3599).$hashCode1; var$5 = var$6.$elementData.data; var$6 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$4) { x: { var$10 = var$6.$key; if ($rt_s(3599) !== var$10) { if ($rt_s(3599) === var$10) var$3 = 1; else if (!(var$10 instanceof jl_String)) var$3 = 0; else { var$10 = var$10; var$3 = $rt_s(3599).$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break x; } } var$3 = 1; } if (var$3) break; } var$6 = var$6.$next3; } if (!(var$6 === null ? 0 : 1)) var$4 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(3599) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { y: { if (!$rt_s(3599).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3599).$nativeString.length) break y; $rt_s(3599).$hashCode1 = (31 * $rt_s(3599).$hashCode1 | 0) + $rt_s(3599).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3599).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$4) { z: { var$6 = $par1NBTTagCompound.$key; if ($rt_s(3599) !== var$6) { if ($rt_s(3599) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3599).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break z; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$4 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data0; } nms_ItemStack_$callClinit(); var$2.$itemID = var$4; var$2.$stackSize = 1; var$2.$itemDamage = 0; $this.$record = var$2; $ptr = 2; continue main; case 1: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return; case 2: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1NBTTagCompound, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_TileEntityRecordPlayer_writeToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); var$2 = $this.$record; if (var$2 !== null) { var$3 = new nms_NBTTagCompound; var$3.$name = $rt_s(18); var$4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$tagMap = var$4; var$5 = var$2.$itemID << 16 >> 16; var$8 = new nms_NBTTagShort; var$8.$name = $rt_s(1243); var$8.$data2 = var$5; ju_HashMap_putImpl(var$4, $rt_s(1243), var$8); var$5 = var$2.$stackSize << 24 >> 24; var$4 = var$3.$tagMap; var$8 = new nms_NBTTagByte; var$8.$name = $rt_s(1271); var$8.$data = var$5; ju_HashMap_putImpl(var$4, $rt_s(1271), var$8); var$5 = var$2.$itemDamage << 16 >> 16; var$4 = var$3.$tagMap; var$8 = new nms_NBTTagShort; var$8.$name = $rt_s(1272); var$8.$data2 = var$5; ju_HashMap_putImpl(var$4, $rt_s(1272), var$8); var$8 = var$2.$stackTagCompound; if (var$8 !== null) { var$2 = var$3.$tagMap; var$8.$name = $rt_s(1273); ju_HashMap_putImpl(var$2, $rt_s(1273), var$8); } var$8 = $par1NBTTagCompound.$tagMap; var$3.$name = $rt_s(3598); ju_HashMap_putImpl(var$8, $rt_s(3598), var$3); var$5 = $this.$record.$itemID; var$8 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagInt; $par1NBTTagCompound.$name = $rt_s(3599); $par1NBTTagCompound.$data0 = var$5; ju_HashMap_putImpl(var$8, $rt_s(3599), $par1NBTTagCompound); } }; function nms_TileEntityDispenser() { let a = this; nms_TileEntity.call(a); a.$dispenserContents = null; a.$dispenserRandom = null; a.$customName = null; } let nms_TileEntityDispenser__init_ = $this => { let var$1, var$2; nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); $this.$dispenserContents = $rt_createArray(nms_ItemStack, 9); var$1 = new nle_EaglercraftRandom; var$2 = Long_fromNumber(performance.now() * 1000000.0); var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = var$2; $this.$dispenserRandom = var$1; }, nms_TileEntityDispenser__init_0 = () => { let var_0 = new nms_TileEntityDispenser(); nms_TileEntityDispenser__init_(var_0); return var_0; }, nms_TileEntityDispenser_getSizeInventory = $this => { return 9; }, nms_TileEntityDispenser_getStackInSlot = ($this, $par1) => { return $this.$dispenserContents.data[$par1]; }, nms_TileEntityDispenser_decrStackSize = ($this, $par1, $par2) => { let var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$dispenserContents.data; if (var$3[$par1] === null) return null; if (var$3[$par1].$stackSize <= $par2) { $var3 = var$3[$par1]; var$3[$par1] = null; $ptr = 1; continue main; } var$5 = var$3[$par1]; $var3 = new nms_ItemStack; var$6 = var$5.$itemID; var$7 = var$5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$6; $var3.$stackSize = $par2; $var3.$itemDamage = var$7; if (var$7 < 0) $var3.$itemDamage = 0; var$8 = var$5.$stackTagCompound; if (var$8 !== null) { var$9 = new nms_NBTTagCompound; var$10 = var$8.$name; if (var$10 === null) var$10 = $rt_s(18); var$9.$name = var$10; var$10 = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); var$10.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$3 = var$11.data; var$10.$elementData = var$11; var$10.$loadFactor = 0.75; var$10.$threshold = var$3.length * 0.75 | 0; var$9.$tagMap = var$10; var$12 = var$8.$tagMap; if (var$12.$cachedKeySet === null) { var$10 = new ju_HashMap$1; var$10.$this$0 = var$12; var$12.$cachedKeySet = var$10; } var$13 = var$12.$cachedKeySet.$iterator(); while (var$13.$hasNext()) { var$14 = var$13.$next(); var$10 = var$8.$tagMap; if (var$14 === null) { var$15 = var$10.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { a: { if (!var$14.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$14.$nativeString.length) break a; var$14.$hashCode1 = (31 * var$14.$hashCode1 | 0) + var$14.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$7 = var$14.$hashCode1; var$3 = var$10.$elementData.data; var$15 = var$3[var$7 & (var$3.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$7) { b: { var$10 = var$15.$key; if (var$14 !== var$10) { if (var$14 === var$10) var$6 = 1; else if (!(var$10 instanceof jl_String)) var$6 = 0; else { var$10 = var$10; var$6 = var$14.$nativeString !== var$10.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$15 = var$15.$next3; } } var$10 = var$15 === null ? null : var$15.$value1; var$10 = var$10.$copy(); var$12 = var$9.$tagMap; if (var$14 !== null) var$10.$name = var$14; else var$10.$name = $rt_s(18); ju_HashMap_putImpl(var$12, var$14, var$10); } $var3.$stackTagCompound = var$9; } var$5.$stackSize = var$5.$stackSize - $par2 | 0; var$3 = $this.$dispenserContents.data; if (!var$3[$par1].$stackSize) var$3[$par1] = null; $ptr = 2; continue main; case 1: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return $var3; case 2: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_TileEntityDispenser_setInventorySlotContents = ($this, $par1, $par2ItemStack) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2ItemStack = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$dispenserContents.data[$par1] = $par2ItemStack; if ($par2ItemStack !== null && $par2ItemStack.$stackSize > 64) $par2ItemStack.$stackSize = 64; $ptr = 1; case 1: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2ItemStack, $ptr); }, nms_TileEntityDispenser_getInvName = $this => { let var$1; var$1 = $this.$customName; if (!(var$1 === null ? 0 : 1)) var$1 = $rt_s(3600); return var$1; }, nms_TileEntityDispenser_setCustomName = ($this, $par1Str) => { $this.$customName = $par1Str; }, nms_TileEntityDispenser_isInvNameLocalized = $this => { return $this.$customName === null ? 0 : 1; }, nms_TileEntityDispenser_readFromNBT = ($this, $par1NBTTagCompound) => { let $var2, $var3, var$4, var$5, var$6, $var4, $var5, var$9, var$10, var$11; a: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { b: { var$6 = $var2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break b; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) !== null) { c: { if (!$rt_s(544).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { d: { var$6 = $var2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break d; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data0; } e: { $this.$xCoord0 = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { f: { var$6 = $var2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break f; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) !== null) { g: { if (!$rt_s(2392).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { h: { var$6 = $var2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) !== var$6) { if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } } else $var3 = 1; if (!$var3) { $var3 = 0; break h; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data0; } i: { $this.$yCoord0 = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { j: { var$6 = $var2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break j; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { k: { if (!$rt_s(2393).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { l: { var$6 = $var2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break l; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data0; } m: { $this.$zCoord0 = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2451).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2451).$nativeString.length) break m; $rt_s(2451).$hashCode1 = (31 * $rt_s(2451).$hashCode1 | 0) + $rt_s(2451).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(2451).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { n: { var$6 = $var2.$key; if ($rt_s(2451) !== var$6) { if ($rt_s(2451) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(2451).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break n; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) { $var2 = new nms_NBTTagList; if ($rt_s(2451) !== null) $var2.$name = $rt_s(2451); else $var2.$name = $rt_s(18); $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $var4; } else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2451) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { o: { if (!$rt_s(2451).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2451).$nativeString.length) break o; $rt_s(2451).$hashCode1 = (31 * $rt_s(2451).$hashCode1 | 0) + $rt_s(2451).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(2451).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { p: { var$6 = $var2.$key; if ($rt_s(2451) !== var$6) { if ($rt_s(2451) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(2451).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break p; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; } $this.$dispenserContents = $rt_createArray(nms_ItemStack, 9); $var3 = 0; while (true) { $var4 = $var2.$tagList; $var5 = $rt_compare($var3, $var4.$size0); if ($var5 >= 0) { q: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break q; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$4 = $rt_s(1281).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$4) { r: { var$6 = $var2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break r; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { s: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break s; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(1281).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var3 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { t: { var$6 = $var2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) $var5 = 1; else if (!(var$6 instanceof jl_String)) $var5 = 0; else { var$6 = var$6; $var5 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break t; } } $var5 = 1; } if ($var5) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $par1NBTTagCompound = $rt_s(18); else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1281) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { u: { if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break u; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(1281).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[$var3 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == $var3) { v: { $var2 = $par1NBTTagCompound.$key; if ($rt_s(1281) !== $var2) { if ($rt_s(1281) === $var2) $var5 = 1; else if (!($var2 instanceof jl_String)) $var5 = 0; else { $var2 = $var2; $var5 = $rt_s(1281).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break v; } } $var5 = 1; } if ($var5) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $par1NBTTagCompound = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data1; } $this.$customName = $par1NBTTagCompound; } return; } if ($var3 < 0) break; if ($var5 >= 0) break; w: { $var4 = $var4.$array.data[$var3]; var$9 = $var4.$tagMap; if (!$rt_s(1315).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1315).$nativeString.length) break w; $rt_s(1315).$hashCode1 = (31 * $rt_s(1315).$hashCode1 | 0) + $rt_s(1315).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$10 = $rt_s(1315).$hashCode1; var$5 = var$9.$elementData.data; var$9 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$10) { x: { var$11 = var$9.$key; if ($rt_s(1315) !== var$11) { if ($rt_s(1315) === var$11) $var5 = 1; else if (!(var$11 instanceof jl_String)) $var5 = 0; else { var$11 = var$11; $var5 = $rt_s(1315).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break x; } } $var5 = 1; } if ($var5) break; } var$9 = var$9.$next3; } if (!(var$9 === null ? 0 : 1)) var$4 = 0; else { var$9 = $var4.$tagMap; if ($rt_s(1315) === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { y: { if (!$rt_s(1315).$hashCode1) { $var5 = 0; while (true) { if ($var5 >= $rt_s(1315).$nativeString.length) break y; $rt_s(1315).$hashCode1 = (31 * $rt_s(1315).$hashCode1 | 0) + $rt_s(1315).$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$10 = $rt_s(1315).$hashCode1; var$5 = var$9.$elementData.data; var$9 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$10) { z: { var$11 = var$9.$key; if ($rt_s(1315) !== var$11) { if ($rt_s(1315) === var$11) $var5 = 1; else if (!(var$11 instanceof jl_String)) $var5 = 0; else { var$11 = var$11; $var5 = $rt_s(1315).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break z; } } $var5 = 1; } if ($var5) break; } var$9 = var$9.$next3; } } var$4 = (var$9 === null ? null : var$9.$value1).$data; } $var5 = var$4 & 255; if ($var5 >= 0) { var$5 = $this.$dispenserContents.data; if ($var5 < var$5.length) { nms_ItemStack_$callClinit(); var$6 = new nms_ItemStack; nms_ItemStack_readFromNBT(var$6, $var4); nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$6.$itemID] === null) var$6 = null; var$5[$var5] = var$6; } } $var3 = $var3 + 1 | 0; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); }, nms_TileEntityDispenser_writeToNBT = ($this, $par1NBTTagCompound) => { let $var2, var$3, $var3, var$5, $var4, var$7, var$8, var$9, var$10, var$11; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = var$3; $var3 = 0; while (true) { var$5 = $this.$dispenserContents.data; if ($var3 >= var$5.length) break; if (var$5[$var3] !== null) { $var4 = new nms_NBTTagCompound; $var4.$name = $rt_s(18); var$7 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$5 = var$9.data; var$7.$elementData = var$9; var$7.$loadFactor = 0.75; var$7.$threshold = var$5.length * 0.75 | 0; $var4.$tagMap = var$7; var$8 = $var3 << 24 >> 24; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1315); var$3.$data = var$8; ju_HashMap_putImpl(var$7, $rt_s(1315), var$3); var$10 = $this.$dispenserContents.data[$var3]; var$8 = var$10.$itemID << 16 >> 16; var$11 = $var4.$tagMap; var$7 = new nms_NBTTagShort; var$7.$name = $rt_s(1243); var$7.$data2 = var$8; ju_HashMap_putImpl(var$11, $rt_s(1243), var$7); var$8 = var$10.$stackSize << 24 >> 24; var$11 = $var4.$tagMap; var$7 = new nms_NBTTagByte; var$7.$name = $rt_s(1271); var$7.$data = var$8; ju_HashMap_putImpl(var$11, $rt_s(1271), var$7); var$8 = var$10.$itemDamage << 16 >> 16; var$11 = $var4.$tagMap; var$7 = new nms_NBTTagShort; var$7.$name = $rt_s(1272); var$7.$data2 = var$8; ju_HashMap_putImpl(var$11, $rt_s(1272), var$7); var$3 = var$10.$stackTagCompound; if (var$3 !== null) { var$11 = $var4.$tagMap; var$3.$name = $rt_s(1273); ju_HashMap_putImpl(var$11, $rt_s(1273), var$3); } $var2.$tagType = 10; var$3 = $var2.$tagList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$5[var$8] = $var4; var$3.$modCount = var$3.$modCount + 1 | 0; } $var3 = $var3 + 1 | 0; } var$7 = $par1NBTTagCompound.$tagMap; $var2.$name = $rt_s(2451); ju_HashMap_putImpl(var$7, $rt_s(2451), $var2); var$7 = $this.$customName; if (var$7 === null ? 0 : 1) { var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagString; $par1NBTTagCompound.$name = $rt_s(1281); $par1NBTTagCompound.$data1 = var$7; if (var$7 === null) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $var2.$message = $rt_s(186); $rt_throw($var2); } ju_HashMap_putImpl(var$3, $rt_s(1281), $par1NBTTagCompound); } }, nms_TileEntityDispenser_getInventoryStackLimit = $this => { return 64; }, nms_TileEntityDispenser_isUseableByPlayer = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$worldObj0; var$3 = $this.$xCoord0; var$4 = $this.$yCoord0; var$5 = $this.$zCoord0; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2 !== $this) var$3 = 0; else { var$6 = $this.$xCoord0 + 0.5; var$7 = $this.$yCoord0 + 0.5; var$8 = $this.$zCoord0 + 0.5; var$6 = $par1EntityPlayer.$posX - var$6; var$7 = $par1EntityPlayer.$posY - var$7; var$8 = $par1EntityPlayer.$posZ - var$8; var$3 = var$6 * var$6 + var$7 * var$7 + var$8 * var$8 > 64.0 ? 0 : 1; } return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_TileEntityDispenser_isItemValidForSlot = ($this, $par1, $par2ItemStack) => { return 1; }, nms_TileEntityDropper = $rt_classWithoutFields(nms_TileEntityDispenser), nms_TileEntityDropper__init_0 = $this => { let var$1, var$2; nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); $this.$dispenserContents = $rt_createArray(nms_ItemStack, 9); var$1 = new nle_EaglercraftRandom; var$2 = Long_fromNumber(performance.now() * 1000000.0); var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = var$2; $this.$dispenserRandom = var$1; }, nms_TileEntityDropper__init_ = () => { let var_0 = new nms_TileEntityDropper(); nms_TileEntityDropper__init_0(var_0); return var_0; }, nms_TileEntityDropper_getInvName = $this => { let var$1; var$1 = $this.$customName; if (!(var$1 === null ? 0 : 1)) var$1 = $rt_s(3601); return var$1; }; function nms_TileEntityNote() { let a = this; nms_TileEntity.call(a); a.$note = 0; a.$previousRedstoneState = 0; } let nms_TileEntityNote__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); }, nms_TileEntityNote__init_0 = () => { let var_0 = new nms_TileEntityNote(); nms_TileEntityNote__init_(var_0); return var_0; }, nms_TileEntityNote_writeToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); var$2 = $this.$note; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagByte; $par1NBTTagCompound.$name = $rt_s(1483); $par1NBTTagCompound.$data = var$2; ju_HashMap_putImpl(var$3, $rt_s(1483), $par1NBTTagCompound); }, nms_TileEntityNote_readFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; e: { $this.$xCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { f: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) !== null) { g: { if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { h: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } i: { $this.$yCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { j: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { k: { if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { l: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } m: { $this.$zCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1483).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1483).$nativeString.length) break m; $rt_s(1483).$hashCode1 = (31 * $rt_s(1483).$hashCode1 | 0) + $rt_s(1483).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1483).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { n: { var$6 = var$2.$key; if ($rt_s(1483) !== var$6) { if ($rt_s(1483) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(1483).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break n; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1483) === null) { var$2 = $par1NBTTagCompound.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { o: { if (!$rt_s(1483).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1483).$nativeString.length) break o; $rt_s(1483).$hashCode1 = (31 * $rt_s(1483).$hashCode1 | 0) + $rt_s(1483).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$3 = $rt_s(1483).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { p: { $par1NBTTagCompound = var$2.$key; if ($rt_s(1483) !== $par1NBTTagCompound) { if ($rt_s(1483) === $par1NBTTagCompound) var$7 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$7 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$7 = $rt_s(1483).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break p; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data; } $this.$note = var$3; if (var$3 < 0) $this.$note = 0; if ($this.$note > 24) $this.$note = 24; }, nms_TileEntityNote_triggerNote = ($this, $par1World, $par2, $par3, $par4) => { let var$5, var$6, $var5, $var6, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = nms_World_getBlockId($par1World, $par2, $par3 + 1 | 0, $par4); if (!var$5) { nms_Material_$callClinit(); var$6 = nms_Material_air; } else { nms_Block_$callClinit(); var$6 = nms_Block_blocksList.data[var$5].$blockMaterial; } nms_Material_$callClinit(); if (var$6 === nms_Material_air) { var$5 = nms_World_getBlockId($par1World, $par2, $par3 - 1 | 0, $par4); if (!var$5) $var5 = nms_Material_air; else { nms_Block_$callClinit(); $var5 = nms_Block_blocksList.data[var$5].$blockMaterial; } $var6 = 0; if ($var5 === nms_Material_rock) $var6 = 1; if ($var5 === nms_Material_sand) $var6 = 2; if ($var5 === nms_Material_glass) $var6 = 3; if ($var5 === nms_Material_wood) $var6 = 4; nms_Block_$callClinit(); var$5 = nms_Block_music.$blockID; var$9 = $this.$note; if (var$5 > 0) { var$6 = nms_Block_blocksList.data[var$5]; $ptr = 1; continue main; } } return; case 1: var$6.$onBlockEventReceived($par1World, $par2, $par3, $par4, $var6, var$9); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, var$5, var$6, $var5, $var6, var$9, $ptr); }; function nms_TileEntityBrewingStand() { let a = this; nms_TileEntity.call(a); a.$brewingItemStacks = null; a.$brewTime = 0; a.$filledSlots = 0; a.$ingredientID = 0; a.$field_94132_e = null; } let nms_TileEntityBrewingStand_field_102017_a = null, nms_TileEntityBrewingStand_field_102016_b = null, nms_TileEntityBrewingStand__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); $this.$brewingItemStacks = $rt_createArray(nms_ItemStack, 4); }, nms_TileEntityBrewingStand__init_0 = () => { let var_0 = new nms_TileEntityBrewingStand(); nms_TileEntityBrewingStand__init_(var_0); return var_0; }, nms_TileEntityBrewingStand_getSizeInventory = $this => { return $this.$brewingItemStacks.data.length; }, nms_TileEntityBrewingStand_updateEntity = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$brewTime; if (var$1 > 0) { var$1 = var$1 - 1 | 0; $this.$brewTime = var$1; if (!var$1) { nms_TileEntityBrewingStand_brewPotions($this); $ptr = 1; continue main; } if (!nms_TileEntityBrewingStand_canBrew($this)) { $this.$brewTime = 0; $ptr = 2; continue main; } if ($this.$ingredientID != $this.$brewingItemStacks.data[3].$itemID) { $this.$brewTime = 0; $ptr = 3; continue main; } } else if (nms_TileEntityBrewingStand_canBrew($this)) { $this.$brewTime = 400; $this.$ingredientID = $this.$brewingItemStacks.data[3].$itemID; } $var1 = 0; var$3 = 0; while (var$3 < 3) { if ($this.$brewingItemStacks.data[var$3] !== null) $var1 = $var1 | 1 << var$3; var$3 = var$3 + 1 | 0; } if ($var1 == $this.$filledSlots) return; $this.$filledSlots = $var1; var$4 = $this.$worldObj0; var$1 = $this.$xCoord0; var$3 = $this.$yCoord0; var$5 = $this.$zCoord0; var$6 = 2; $ptr = 4; continue main; case 1: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } $var1 = 0; var$3 = 0; while (var$3 < 3) { if ($this.$brewingItemStacks.data[var$3] !== null) $var1 = $var1 | 1 << var$3; var$3 = var$3 + 1 | 0; } if ($var1 == $this.$filledSlots) return; $this.$filledSlots = $var1; var$4 = $this.$worldObj0; var$1 = $this.$xCoord0; var$3 = $this.$yCoord0; var$5 = $this.$zCoord0; var$6 = 2; $ptr = 4; continue main; case 2: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } $var1 = 0; var$3 = 0; while (var$3 < 3) { if ($this.$brewingItemStacks.data[var$3] !== null) $var1 = $var1 | 1 << var$3; var$3 = var$3 + 1 | 0; } if ($var1 == $this.$filledSlots) return; $this.$filledSlots = $var1; var$4 = $this.$worldObj0; var$1 = $this.$xCoord0; var$3 = $this.$yCoord0; var$5 = $this.$zCoord0; var$6 = 2; $ptr = 4; continue main; case 3: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } $var1 = 0; var$3 = 0; while (var$3 < 3) { if ($this.$brewingItemStacks.data[var$3] !== null) $var1 = $var1 | 1 << var$3; var$3 = var$3 + 1 | 0; } if ($var1 == $this.$filledSlots) return; $this.$filledSlots = $var1; var$4 = $this.$worldObj0; var$1 = $this.$xCoord0; var$3 = $this.$yCoord0; var$5 = $this.$zCoord0; var$6 = 2; $ptr = 4; case 4: nms_World_setBlockMetadataWithNotify(var$4, var$1, var$3, var$5, $var1, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, var$3, var$4, var$5, var$6, $ptr); }, nms_TileEntityBrewingStand_canBrew = $this => { let var$1, $var1, $var2, $var3, $var4, $var5, var$7, $var7, var$9, var$10, var$11, var$12, var$13, $var6, var$15; var$1 = $this.$brewingItemStacks.data; if (var$1[3] !== null && var$1[3].$stackSize > 0) { $var1 = var$1[3]; nms_Item_$callClinit(); if (!(nms_Item_itemsList.data[$var1.$itemID].$potionEffect === null ? 0 : 1)) return 0; $var2 = 0; $var3 = 0; a: { while ($var3 < 3) { b: { var$1 = $this.$brewingItemStacks.data; if (var$1[$var3] !== null && var$1[$var3].$itemID == nms_Item_potion.$itemID0) { $var4 = var$1[$var3].$itemDamage; if ($var1 === null) $var5 = $var4; else { var$1 = nms_Item_itemsList.data; var$7 = $var1.$itemID; $var5 = !(var$1[var$7].$potionEffect === null ? 0 : 1) ? $var4 : nms_PotionHelper_applyIngredient($var4, var$1[var$7].$potionEffect); } var$7 = !($var4 & 16384) ? 0 : 1; if (!var$7 && (!($var5 & 16384) ? 0 : 1)) { $var2 = 1; break a; } $var7 = nms_Item_potion; var$9 = $var7.$effectCache; var$10 = $rt_compare($var4, (-128)); if (var$10 >= 0 && $var4 <= 127) { jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { var$11 = new jl_Integer; var$11.$value0 = $var4; } if (var$11 === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { var$12 = var$11.$value0; var$1 = var$9.$elementData.data; var$9 = var$1[var$12 & (var$1.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$12) { var$13 = var$9.$key; if (var$11 !== var$13 && !(var$11 === var$13 ? 1 : var$13 instanceof jl_Integer && var$13.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } var$9 = var$9.$next3; } } $var6 = var$9 === null ? null : var$9.$value1; if ($var6 === null) { $var6 = nms_PotionHelper_getPotionEffects($var4, 0); $var7 = $var7.$effectCache; if (var$10 >= 0 && $var4 <= 127) { jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { var$9 = new jl_Integer; var$9.$value0 = $var4; } ju_HashMap_putImpl($var7, var$9, $var6); } var$11 = nms_Item_potion; $var7 = var$11.$effectCache; var$15 = $rt_compare($var5, (-128)); if (var$15 >= 0 && $var5 <= 127) { jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[$var5 + 128 | 0]; } else { var$13 = new jl_Integer; var$13.$value0 = $var5; } if (var$13 === null) { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { var$12 = var$13.$value0; var$1 = $var7.$elementData.data; $var7 = var$1[var$12 & (var$1.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == var$12) { var$9 = $var7.$key; if (var$13 !== var$9 && !(var$13 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } $var7 = $var7.$next3; } } $var7 = $var7 === null ? null : $var7.$value1; if ($var7 === null) { $var7 = nms_PotionHelper_getPotionEffects($var5, 0); var$9 = var$11.$effectCache; if (var$15 >= 0 && $var5 <= 127) { jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[$var5 + 128 | 0]; } else { var$11 = new jl_Integer; var$11.$value0 = $var5; } ju_HashMap_putImpl(var$9, var$11, $var7); } if (!($var4 > 0 && $var6 === $var7)) { if ($var6 !== null) { if (ju_AbstractList_equals($var6, $var7)) break b; if ($var7 === null) break b; } if ($var4 != $var5) { $var2 = 1; break a; } } } } $var3 = $var3 + 1 | 0; } } return $var2; } return 0; }, nms_TileEntityBrewingStand_brewPotions = $this => { let $var1, $var2, var$3, var$4, $var3, $var4, var$7, $var5, var$9, var$10, var$11, $var6, var$13, var$14, var$15; if (nms_TileEntityBrewingStand_canBrew($this)) { $var1 = $this.$brewingItemStacks.data[3]; $var2 = 0; while ($var2 < 3) { a: { var$3 = $this.$brewingItemStacks.data; if (var$3[$var2] !== null) { var$4 = var$3[$var2].$itemID; nms_Item_$callClinit(); if (var$4 == nms_Item_potion.$itemID0) { $var3 = var$3[$var2].$itemDamage; if ($var1 === null) $var4 = $var3; else { var$3 = nms_Item_itemsList.data; var$4 = $var1.$itemID; $var4 = !(var$3[var$4].$potionEffect === null ? 0 : 1) ? $var3 : nms_PotionHelper_applyIngredient($var3, var$3[var$4].$potionEffect); } var$7 = nms_Item_potion; $var5 = var$7.$effectCache; var$9 = $rt_compare($var3, (-128)); if (var$9 >= 0 && $var3 <= 127) { jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { var$10 = new jl_Integer; var$10.$value0 = $var3; } if (var$10 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$11 = var$10.$value0; var$3 = $var5.$elementData.data; $var5 = var$3[var$11 & (var$3.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$11) { $var6 = $var5.$key; if (var$10 !== $var6 && !(var$10 === $var6 ? 1 : $var6 instanceof jl_Integer && $var6.$value0 == var$11 ? 1 : 0) ? 0 : 1) break; } $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; if ($var5 === null) { $var5 = nms_PotionHelper_getPotionEffects($var3, 0); var$10 = var$7.$effectCache; if (var$9 >= 0 && $var3 <= 127) { jl_Integer_ensureIntegerCache(); $var6 = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { $var6 = new jl_Integer; $var6.$value0 = $var3; } ju_HashMap_putImpl(var$10, $var6, $var5); } var$10 = nms_Item_potion; $var6 = var$10.$effectCache; var$13 = $rt_compare($var4, (-128)); if (var$13 >= 0 && $var4 <= 127) { jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { var$7 = new jl_Integer; var$7.$value0 = $var4; } if (var$7 === null) { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { var$11 = var$7.$value0; var$3 = $var6.$elementData.data; $var6 = var$3[var$11 & (var$3.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$11) { var$14 = $var6.$key; if (var$7 !== var$14 && !(var$7 === var$14 ? 1 : var$14 instanceof jl_Integer && var$14.$value0 == var$11 ? 1 : 0) ? 0 : 1) break; } $var6 = $var6.$next3; } } $var6 = $var6 === null ? null : $var6.$value1; if ($var6 === null) { $var6 = nms_PotionHelper_getPotionEffects($var4, 0); var$10 = var$10.$effectCache; if (var$13 >= 0 && $var4 <= 127) { jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { var$7 = new jl_Integer; var$7.$value0 = $var4; } ju_HashMap_putImpl(var$10, var$7, $var6); } b: { if (!($var3 > 0 && $var5 === $var6)) { if ($var5 !== null) { if (ju_AbstractList_equals($var5, $var6)) break b; if ($var6 === null) break b; } if ($var3 == $var4) break a; $var5 = $this.$brewingItemStacks.data[$var2]; $var5.$itemDamage = $var4; if ($var4 < 0) $var5.$itemDamage = 0; break a; } } if (!(!($var3 & 16384) ? 0 : 1) && (!($var4 & 16384) ? 0 : 1)) { $var5 = $this.$brewingItemStacks.data[$var2]; $var5.$itemDamage = $var4; if ($var4 < 0) $var5.$itemDamage = 0; } } } } $var2 = $var2 + 1 | 0; } nms_Item_$callClinit(); var$3 = nms_Item_itemsList.data; $var2 = $var1.$itemID; if (!(var$3[$var2].$containerItem === null ? 0 : 1)) { var$3 = $this.$brewingItemStacks.data; $var1 = var$3[3]; $var1.$stackSize = $var1.$stackSize - 1 | 0; if (var$3[3].$stackSize <= 0) var$3[3] = null; } else { var$15 = $this.$brewingItemStacks.data; $var1 = new nms_ItemStack; $var5 = var$3[$var2].$containerItem; nms_ItemStack_$callClinit(); $var1.$itemID = $var5.$itemID0; $var1.$stackSize = 1; $var1.$itemDamage = 0; var$15[3] = $var1; } } }, nms_TileEntityBrewingStand_readFromNBT = ($this, $par1NBTTagCompound) => { let $var2, $var3, $var5, var$5, var$6, $var4, var$8, var$9, var$10, var$11; a: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(544).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { b: { var$6 = $var2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break b; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) !== null) { c: { if (!$rt_s(544).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(544).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { d: { var$6 = $var2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break d; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data0; } e: { $this.$xCoord0 = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2392).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { f: { var$6 = $var2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break f; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { g: { if (!$rt_s(2392).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2392).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { h: { var$6 = $var2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break h; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data0; } else $var3 = 0; i: { $this.$yCoord0 = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2393).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { j: { var$6 = $var2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break j; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) !== null) { k: { if (!$rt_s(2393).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2393).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { l: { var$6 = $var2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break l; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } else { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data0; } else $var3 = 0; m: { $this.$zCoord0 = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2451).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2451).$nativeString.length) break m; $rt_s(2451).$hashCode1 = (31 * $rt_s(2451).$hashCode1 | 0) + $rt_s(2451).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2451).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { n: { var$6 = $var2.$key; if ($rt_s(2451) !== var$6) { if ($rt_s(2451) === var$6) $var3 = 1; else if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(2451).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; if (!$var3) { $var3 = 0; break n; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2451) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { o: { if (!$rt_s(2451).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2451).$nativeString.length) break o; $rt_s(2451).$hashCode1 = (31 * $rt_s(2451).$hashCode1 | 0) + $rt_s(2451).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2451).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { p: { var$6 = $var2.$key; if ($rt_s(2451) !== var$6) { if ($rt_s(2451) === var$6) $var3 = 1; else if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(2451).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; if (!$var3) { $var3 = 0; break p; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; } else { $var2 = new nms_NBTTagList; if ($rt_s(2451) !== null) $var2.$name = $rt_s(2451); else $var2.$name = $rt_s(18); $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $var4; } $this.$brewingItemStacks = $rt_createArray(nms_ItemStack, $this.$brewingItemStacks.data.length); $var3 = 0; while (true) { $var4 = $var2.$tagList; var$8 = $rt_compare($var3, $var4.$size0); if (var$8 >= 0) { q: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3602).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3602).$nativeString.length) break q; $rt_s(3602).$hashCode1 = (31 * $rt_s(3602).$hashCode1 | 0) + $rt_s(3602).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(3602).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var3 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { r: { var$6 = $var2.$key; if ($rt_s(3602) !== var$6) { if ($rt_s(3602) === var$6) var$8 = 1; else if (!(var$6 instanceof jl_String)) var$8 = 0; else { var$6 = var$6; var$8 = $rt_s(3602).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break r; } } var$8 = 1; } if (var$8) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $var3 = 0; else { $var2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3602) === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { s: { if (!$rt_s(3602).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3602).$nativeString.length) break s; $rt_s(3602).$hashCode1 = (31 * $rt_s(3602).$hashCode1 | 0) + $rt_s(3602).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(3602).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var3 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var3) { t: { var$6 = $var2.$key; if ($rt_s(3602) !== var$6) { if ($rt_s(3602) === var$6) var$8 = 1; else if (!(var$6 instanceof jl_String)) var$8 = 0; else { var$6 = var$6; var$8 = $rt_s(3602).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break t; } } var$8 = 1; } if (var$8) break; } $var2 = $var2.$next3; } } $var3 = ($var2 === null ? null : $var2.$value1).$data2; } u: { $this.$brewTime = $var3; $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break u; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(1281).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { v: { var$6 = $var2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break v; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { w: { $var2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break w; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(1281).$hashCode1; var$5 = $var2.$elementData.data; $var2 = var$5[$var5 & (var$5.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == $var5) { x: { var$6 = $var2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break x; } } $var3 = 1; } if ($var3) break; } $var2 = $var2.$next3; } if (!($var2 === null ? 0 : 1)) $par1NBTTagCompound = $rt_s(18); else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1281) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { y: { if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break y; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(1281).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[$var5 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == $var5) { z: { $var2 = $par1NBTTagCompound.$key; if ($rt_s(1281) !== $var2) { if ($rt_s(1281) === $var2) $var3 = 1; else if (!($var2 instanceof jl_String)) $var3 = 0; else { $var2 = $var2; $var3 = $rt_s(1281).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break z; } } $var3 = 1; } if ($var3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $par1NBTTagCompound = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data1; } $this.$field_94132_e = $par1NBTTagCompound; } return; } if ($var3 < 0) break; if (var$8 >= 0) break; ba: { $var4 = $var4.$array.data[$var3]; var$9 = $var4.$tagMap; if (!$rt_s(1315).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1315).$nativeString.length) break ba; $rt_s(1315).$hashCode1 = (31 * $rt_s(1315).$hashCode1 | 0) + $rt_s(1315).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$10 = $rt_s(1315).$hashCode1; var$5 = var$9.$elementData.data; var$9 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$10) { bb: { var$11 = var$9.$key; if ($rt_s(1315) !== var$11) { if ($rt_s(1315) === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $rt_s(1315).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break bb; } } var$8 = 1; } if (var$8) break; } var$9 = var$9.$next3; } if (!(var$9 === null ? 0 : 1)) $var5 = 0; else { var$9 = $var4.$tagMap; if ($rt_s(1315) === null) { var$9 = var$9.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } else { bc: { if (!$rt_s(1315).$hashCode1) { var$8 = 0; while (true) { if (var$8 >= $rt_s(1315).$nativeString.length) break bc; $rt_s(1315).$hashCode1 = (31 * $rt_s(1315).$hashCode1 | 0) + $rt_s(1315).$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$10 = $rt_s(1315).$hashCode1; var$5 = var$9.$elementData.data; var$9 = var$5[var$10 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$10) { bd: { var$11 = var$9.$key; if ($rt_s(1315) !== var$11) { if ($rt_s(1315) === var$11) var$8 = 1; else if (!(var$11 instanceof jl_String)) var$8 = 0; else { var$11 = var$11; var$8 = $rt_s(1315).$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break bd; } } var$8 = 1; } if (var$8) break; } var$9 = var$9.$next3; } } $var5 = (var$9 === null ? null : var$9.$value1).$data; } if ($var5 >= 0) { var$5 = $this.$brewingItemStacks.data; if ($var5 < var$5.length) { nms_ItemStack_$callClinit(); var$6 = new nms_ItemStack; nms_ItemStack_readFromNBT(var$6, $var4); nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$6.$itemID] === null) var$6 = null; var$5[$var5] = var$6; } } $var3 = $var3 + 1 | 0; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); }, nms_TileEntityBrewingStand_writeToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, $var2, $var3, var$7, $var4, var$9, var$10, var$11, var$12; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); var$2 = $this.$brewTime << 16 >> 16; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagShort; var$4.$name = $rt_s(3602); var$4.$data2 = var$2; ju_HashMap_putImpl(var$3, $rt_s(3602), var$4); $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = var$4; $var3 = 0; while (true) { var$7 = $this.$brewingItemStacks.data; if ($var3 >= var$7.length) break; if (var$7[$var3] !== null) { $var4 = new nms_NBTTagCompound; $var4.$name = $rt_s(18); var$9 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$9.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$7 = var$10.data; var$9.$elementData = var$10; var$9.$loadFactor = 0.75; var$9.$threshold = var$7.length * 0.75 | 0; $var4.$tagMap = var$9; var$2 = $var3 << 24 >> 24; var$4 = new nms_NBTTagByte; var$4.$name = $rt_s(1315); var$4.$data = var$2; ju_HashMap_putImpl(var$9, $rt_s(1315), var$4); var$11 = $this.$brewingItemStacks.data[$var3]; var$2 = var$11.$itemID << 16 >> 16; var$9 = $var4.$tagMap; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(1243); var$3.$data2 = var$2; ju_HashMap_putImpl(var$9, $rt_s(1243), var$3); var$2 = var$11.$stackSize << 24 >> 24; var$9 = $var4.$tagMap; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1271); var$3.$data = var$2; ju_HashMap_putImpl(var$9, $rt_s(1271), var$3); var$2 = var$11.$itemDamage << 16 >> 16; var$9 = $var4.$tagMap; var$3 = new nms_NBTTagShort; var$3.$name = $rt_s(1272); var$3.$data2 = var$2; ju_HashMap_putImpl(var$9, $rt_s(1272), var$3); var$4 = var$11.$stackTagCompound; if (var$4 !== null) { var$9 = $var4.$tagMap; var$4.$name = $rt_s(1273); ju_HashMap_putImpl(var$9, $rt_s(1273), var$4); } $var2.$tagType = 10; var$4 = $var2.$tagList; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$12 = var$4.$size0; var$4.$size0 = var$12 + 1 | 0; var$7[var$12] = $var4; var$4.$modCount = var$4.$modCount + 1 | 0; } $var3 = $var3 + 1 | 0; } var$3 = $par1NBTTagCompound.$tagMap; $var2.$name = $rt_s(2451); ju_HashMap_putImpl(var$3, $rt_s(2451), $var2); $var2 = $this.$field_94132_e; if ($var2 !== null && $var2.$nativeString.length > 0 ? 1 : 0) { var$4 = $this.$field_94132_e; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagString; $par1NBTTagCompound.$name = $rt_s(1281); $par1NBTTagCompound.$data1 = var$4; if (var$4 === null) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $var2.$message = $rt_s(186); $rt_throw($var2); } ju_HashMap_putImpl(var$3, $rt_s(1281), $par1NBTTagCompound); } }, nms_TileEntityBrewingStand_getStackInSlot = ($this, $par1) => { let var$2, var$3; a: { if ($par1 >= 0) { var$2 = $this.$brewingItemStacks.data; if ($par1 < var$2.length) { var$3 = var$2[$par1]; break a; } } var$3 = null; } return var$3; }, nms_TileEntityBrewingStand_decrStackSize = ($this, $par1, $par2) => { let var$3, $var3; if ($par1 >= 0) { var$3 = $this.$brewingItemStacks.data; if ($par1 < var$3.length) { $var3 = var$3[$par1]; var$3[$par1] = null; return $var3; } } return null; }, nms_TileEntityBrewingStand_setInventorySlotContents = ($this, $par1, $par2ItemStack) => { let var$3; if ($par1 >= 0) { var$3 = $this.$brewingItemStacks.data; if ($par1 < var$3.length) var$3[$par1] = $par2ItemStack; } }, nms_TileEntityBrewingStand_getInventoryStackLimit = $this => { return 64; }, nms_TileEntityBrewingStand_isUseableByPlayer = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$worldObj0; var$3 = $this.$xCoord0; var$4 = $this.$yCoord0; var$5 = $this.$zCoord0; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2 !== $this) var$3 = 0; else { var$6 = $this.$xCoord0 + 0.5; var$7 = $this.$yCoord0 + 0.5; var$8 = $this.$zCoord0 + 0.5; var$6 = $par1EntityPlayer.$posX - var$6; var$7 = $par1EntityPlayer.$posY - var$7; var$8 = $par1EntityPlayer.$posZ - var$8; var$3 = var$6 * var$6 + var$7 * var$7 + var$8 * var$8 > 64.0 ? 0 : 1; } return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_TileEntityBrewingStand_isItemValidForSlot = ($this, $par1, $par2ItemStack) => { if ($par1 == 3) { nms_Item_$callClinit(); $par1 = nms_Item_itemsList.data[$par2ItemStack.$itemID].$potionEffect === null ? 0 : 1; } else { $par1 = $par2ItemStack.$itemID; nms_Item_$callClinit(); $par1 = $par1 != nms_Item_potion.$itemID0 && $par1 != nms_Item_glassBottle.$itemID0 ? 0 : 1; } return $par1; }, nms_TileEntityBrewingStand_getAccessibleSlotsFromSide = ($this, $par1) => { return $par1 != 1 ? nms_TileEntityBrewingStand_field_102016_b : nms_TileEntityBrewingStand_field_102017_a; }, nms_TileEntityBrewingStand_canInsertItem = ($this, $par1, $par2ItemStack, $par3) => { return nms_TileEntityBrewingStand_isItemValidForSlot($this, $par1, $par2ItemStack); }, nms_TileEntityBrewingStand_canExtractItem = ($this, $par1, $par2ItemStack, $par3) => { return 1; }, nms_TileEntityBrewingStand__clinit_ = () => { let var$1; var$1 = $rt_createIntArray(1); var$1.data[0] = 3; nms_TileEntityBrewingStand_field_102017_a = var$1; nms_TileEntityBrewingStand_field_102016_b = $rt_createIntArrayFromData([0, 1, 2]); }; function nms_TileEntityCommandBlock() { let a = this; nms_TileEntity.call(a); a.$succesCount = 0; a.$command = null; a.$commandSenderName = null; } let nms_TileEntityCommandBlock__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); $this.$command = $rt_s(18); $this.$commandSenderName = $rt_s(3103); }, nms_TileEntityCommandBlock__init_0 = () => { let var_0 = new nms_TileEntityCommandBlock(); nms_TileEntityCommandBlock__init_(var_0); return var_0; }, nms_TileEntityCommandBlock_writeToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); var$2 = $this.$command; var$3 = $par1NBTTagCompound.$tagMap; var$4 = new nms_NBTTagString; var$4.$name = $rt_s(3603); var$4.$data1 = var$2; if (var$2 === null) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(186); $rt_throw(var$5); } ju_HashMap_putImpl(var$3, $rt_s(3603), var$4); var$6 = $this.$succesCount; var$4 = $par1NBTTagCompound.$tagMap; var$2 = new nms_NBTTagInt; var$2.$name = $rt_s(3604); var$2.$data0 = var$6; ju_HashMap_putImpl(var$4, $rt_s(3604), var$2); var$2 = $this.$commandSenderName; var$4 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagString; $par1NBTTagCompound.$name = $rt_s(1281); $par1NBTTagCompound.$data1 = var$2; if (var$2 !== null) { ju_HashMap_putImpl(var$4, $rt_s(1281), $par1NBTTagCompound); return; } var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(186); $rt_throw(var$5); }, nms_TileEntityCommandBlock_readFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } else var$3 = 0; e: { $this.$xCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { f: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { g: { if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { h: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } i: { $this.$yCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { j: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { k: { if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { l: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } m: { $this.$zCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3603).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(3603).$nativeString.length) break m; $rt_s(3603).$hashCode1 = (31 * $rt_s(3603).$hashCode1 | 0) + $rt_s(3603).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$3 = $rt_s(3603).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { n: { var$6 = var$2.$key; if ($rt_s(3603) !== var$6) { if ($rt_s(3603) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$7 = $rt_s(3603).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break n; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3603) === null) { var$8 = var$2.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { o: { if (!$rt_s(3603).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3603).$nativeString.length) break o; $rt_s(3603).$hashCode1 = (31 * $rt_s(3603).$hashCode1 | 0) + $rt_s(3603).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(3603).$hashCode1; var$5 = var$2.$elementData.data; var$8 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$7) { p: { var$2 = var$8.$key; if ($rt_s(3603) !== var$2) { if ($rt_s(3603) === var$2) var$3 = 1; else if (var$2 instanceof jl_String) { var$2 = var$2; var$3 = $rt_s(3603).$nativeString !== var$2.$nativeString ? 0 : 1; } else var$3 = 0; if (!var$3) { var$3 = 0; break p; } } var$3 = 1; } if (var$3) break; } var$8 = var$8.$next3; } } var$9 = (var$8 === null ? null : var$8.$value1).$data1; } else var$9 = $rt_s(18); q: { $this.$command = var$9; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3604).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3604).$nativeString.length) break q; $rt_s(3604).$hashCode1 = (31 * $rt_s(3604).$hashCode1 | 0) + $rt_s(3604).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3604).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { r: { var$6 = var$2.$key; if ($rt_s(3604) !== var$6) { if ($rt_s(3604) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3604).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break r; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(3604) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { s: { if (!$rt_s(3604).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3604).$nativeString.length) break s; $rt_s(3604).$hashCode1 = (31 * $rt_s(3604).$hashCode1 | 0) + $rt_s(3604).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3604).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { t: { var$6 = var$2.$key; if ($rt_s(3604) !== var$6) { if ($rt_s(3604) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(3604).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break t; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } u: { $this.$succesCount = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1281).$nativeString.length) break u; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1281).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { v: { var$6 = var$2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break v; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { w: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1281).$nativeString.length) break w; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1281).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { x: { var$6 = var$2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break x; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $par1NBTTagCompound = $rt_s(18); else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(1281) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { y: { if (!$rt_s(1281).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(1281).$nativeString.length) break y; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(1281).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$4 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$4) { z: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(1281) !== var$2) { if ($rt_s(1281) === var$2) var$3 = 1; else if (!(var$2 instanceof jl_String)) var$3 = 0; else { var$2 = var$2; var$3 = $rt_s(1281).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break z; } } var$3 = 1; } if (var$3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $par1NBTTagCompound = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data1; } $this.$commandSenderName = $par1NBTTagCompound; } }, nms_TileEntityDaylightDetector = $rt_classWithoutFields(nms_TileEntity), nms_TileEntityDaylightDetector__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); }, nms_TileEntityDaylightDetector__init_0 = () => { let var_0 = new nms_TileEntityDaylightDetector(); nms_TileEntityDaylightDetector__init_(var_0); return var_0; }, nms_TileEntityDaylightDetector_updateEntity = $this => { let var$1, var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj0; if (var$1 !== null && !var$1.$isRemote && Long_eq(Long_rem(var$1.$worldInfo.$totalTime, Long_fromInt(20)), Long_ZERO)) { if ($this.$blockType === null) { nms_Block_$callClinit(); $this.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$1, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0)]; } var$1 = $this.$blockType; $this.$blockType = var$1; if (var$1 !== null && var$1 instanceof nms_BlockDaylightDetector) { var$1 = var$1; var$2 = $this.$worldObj0; var$3 = $this.$xCoord0; var$4 = $this.$yCoord0; var$5 = $this.$zCoord0; $ptr = 1; continue main; } } return; case 1: nms_BlockDaylightDetector_updateLightLevel(var$1, var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, $ptr); }; function nms_TileEntityHopper() { let a = this; nms_TileEntity.call(a); a.$hopperItemStacks = null; a.$inventoryName = null; a.$transferCooldown = 0; } let nms_TileEntityHopper__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); $this.$hopperItemStacks = $rt_createArray(nms_ItemStack, 5); $this.$transferCooldown = (-1); }, nms_TileEntityHopper__init_0 = () => { let var_0 = new nms_TileEntityHopper(); nms_TileEntityHopper__init_(var_0); return var_0; }, nms_TileEntityHopper_readFromNBT = ($this, $par1NBTTagCompound) => { let var$2, $var3, $var5, var$5, var$6, var$7, $var2, $var4, var$10, var$11; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[$var5 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var5) { b: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break b; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(544).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[$var5 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var5) { d: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break d; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data0; } e: { $this.$xCoord0 = $var3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[$var5 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var5) { f: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) $var3 = 1; else if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; if (!$var3) { $var3 = 0; break f; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) !== null) { g: { if (!$rt_s(2392).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[$var5 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var5) { h: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break h; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data0; } i: { $this.$yCoord0 = $var3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[$var5 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var5) { j: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) !== var$6) { if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } } else $var3 = 1; if (!$var3) { $var3 = 0; break j; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) !== null) { k: { if (!$rt_s(2393).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[$var5 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var5) { l: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; $var3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break l; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$data0; } m: { $this.$zCoord0 = $var3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2451).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2451).$nativeString.length) break m; $rt_s(2451).$hashCode1 = (31 * $rt_s(2451).$hashCode1 | 0) + $rt_s(2451).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(2451).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[$var3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var3) { n: { var$6 = var$2.$key; if ($rt_s(2451) !== var$6) { if ($rt_s(2451) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$7 = $rt_s(2451).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break n; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) { $var2 = new nms_NBTTagList; if ($rt_s(2451) !== null) $var2.$name = $rt_s(2451); else $var2.$name = $rt_s(18); $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = $var4; } else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2451) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { o: { if (!$rt_s(2451).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(2451).$nativeString.length) break o; $rt_s(2451).$hashCode1 = (31 * $rt_s(2451).$hashCode1 | 0) + $rt_s(2451).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(2451).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[$var3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var3) { p: { var$6 = var$2.$key; if ($rt_s(2451) !== var$6) { if ($rt_s(2451) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(2451).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break p; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } } $var2 = var$2 === null ? null : var$2.$value1; } q: { $this.$hopperItemStacks = $rt_createArray(nms_ItemStack, $this.$hopperItemStacks.data.length); var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break q; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var3 = $rt_s(1281).$hashCode1; var$5 = var$2.$elementData.data; var$10 = var$5[$var3 & (var$5.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == $var3) { r: { var$2 = var$10.$key; if ($rt_s(1281) !== var$2) { if ($rt_s(1281) !== var$2) { if (!(var$2 instanceof jl_String)) var$7 = 0; else { var$6 = var$2; var$7 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } } else var$7 = 1; if (!var$7) { var$7 = 0; break r; } } var$7 = 1; } if (var$7) break; } var$10 = var$10.$next3; } if (var$10 === null ? 0 : 1) { s: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break s; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(1281).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[$var5 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var5) { t: { var$6 = var$2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break t; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } if (var$2 === null ? 0 : 1) { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(1281) !== null) { u: { if (!$rt_s(1281).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1281).$nativeString.length) break u; $rt_s(1281).$hashCode1 = (31 * $rt_s(1281).$hashCode1 | 0) + $rt_s(1281).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(1281).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[$var5 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var5) { v: { var$6 = var$2.$key; if ($rt_s(1281) !== var$6) { if ($rt_s(1281) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(1281).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break v; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } } else { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } $var4 = (var$2 === null ? null : var$2.$value1).$data1; } else $var4 = $rt_s(18); $this.$inventoryName = $var4; } w: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3124).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3124).$nativeString.length) break w; $rt_s(3124).$hashCode1 = (31 * $rt_s(3124).$hashCode1 | 0) + $rt_s(3124).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(3124).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[$var5 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == $var5) { x: { var$6 = var$2.$key; if ($rt_s(3124) !== var$6) { if ($rt_s(3124) === var$6) $var3 = 1; else if (!(var$6 instanceof jl_String)) $var3 = 0; else { var$6 = var$6; $var3 = $rt_s(3124).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break x; } } $var3 = 1; } if ($var3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(3124) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { y: { if (!$rt_s(3124).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3124).$nativeString.length) break y; $rt_s(3124).$hashCode1 = (31 * $rt_s(3124).$hashCode1 | 0) + $rt_s(3124).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var5 = $rt_s(3124).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[$var5 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == $var5) { z: { var$2 = $par1NBTTagCompound.$key; if ($rt_s(3124) !== var$2) { if ($rt_s(3124) === var$2) $var3 = 1; else if (!(var$2 instanceof jl_String)) $var3 = 0; else { var$2 = var$2; $var3 = $rt_s(3124).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break z; } } $var3 = 1; } if ($var3) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } $var3 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data0; } $this.$transferCooldown = $var3; $var3 = 0; ba: { while (true) { $par1NBTTagCompound = $var2.$tagList; var$7 = $rt_compare($var3, $par1NBTTagCompound.$size0); if (var$7 >= 0) break; if ($var3 < 0) break ba; if (var$7 >= 0) break ba; bb: { $var4 = $par1NBTTagCompound.$array.data[$var3]; var$2 = $var4.$tagMap; if (!$rt_s(1315).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1315).$nativeString.length) break bb; $rt_s(1315).$hashCode1 = (31 * $rt_s(1315).$hashCode1 | 0) + $rt_s(1315).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$11 = $rt_s(1315).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$11 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$11) { bc: { var$6 = var$2.$key; if ($rt_s(1315) !== var$6) { if ($rt_s(1315) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(1315).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break bc; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) $var5 = 0; else { var$2 = $var4.$tagMap; if ($rt_s(1315) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { bd: { if (!$rt_s(1315).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(1315).$nativeString.length) break bd; $rt_s(1315).$hashCode1 = (31 * $rt_s(1315).$hashCode1 | 0) + $rt_s(1315).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$11 = $rt_s(1315).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$11 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$11) { be: { var$6 = var$2.$key; if ($rt_s(1315) !== var$6) { if ($rt_s(1315) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(1315).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break be; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } } $var5 = (var$2 === null ? null : var$2.$value1).$data; } if ($var5 >= 0) { var$5 = $this.$hopperItemStacks.data; if ($var5 < var$5.length) { nms_ItemStack_$callClinit(); $par1NBTTagCompound = new nms_ItemStack; nms_ItemStack_readFromNBT($par1NBTTagCompound, $var4); nms_Item_$callClinit(); if (nms_Item_itemsList.data[$par1NBTTagCompound.$itemID] === null) $par1NBTTagCompound = null; var$5[$var5] = $par1NBTTagCompound; } } $var3 = $var3 + 1 | 0; } return; } $par1NBTTagCompound = new jl_IndexOutOfBoundsException; $par1NBTTagCompound.$suppressionEnabled = 1; $par1NBTTagCompound.$writableStackTrace = 1; $rt_throw($par1NBTTagCompound); }, nms_TileEntityHopper_writeToNBT = ($this, $par1NBTTagCompound) => { let $var2, var$3, $var3, var$5, $var4, var$7, var$8, var$9, var$10, var$11; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); $var2 = new nms_NBTTagList; $var2.$name = $rt_s(18); var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $var2.$tagList = var$3; $var3 = 0; while (true) { var$5 = $this.$hopperItemStacks.data; if ($var3 >= var$5.length) break; if (var$5[$var3] !== null) { $var4 = new nms_NBTTagCompound; $var4.$name = $rt_s(18); var$7 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$9 = var$5.data; var$7.$elementData = var$5; var$7.$loadFactor = 0.75; var$7.$threshold = var$9.length * 0.75 | 0; $var4.$tagMap = var$7; var$8 = $var3 << 24 >> 24; var$3 = new nms_NBTTagByte; var$3.$name = $rt_s(1315); var$3.$data = var$8; ju_HashMap_putImpl(var$7, $rt_s(1315), var$3); var$10 = $this.$hopperItemStacks.data[$var3]; var$8 = var$10.$itemID << 16 >> 16; var$11 = $var4.$tagMap; var$7 = new nms_NBTTagShort; var$7.$name = $rt_s(1243); var$7.$data2 = var$8; ju_HashMap_putImpl(var$11, $rt_s(1243), var$7); var$8 = var$10.$stackSize << 24 >> 24; var$11 = $var4.$tagMap; var$7 = new nms_NBTTagByte; var$7.$name = $rt_s(1271); var$7.$data = var$8; ju_HashMap_putImpl(var$11, $rt_s(1271), var$7); var$8 = var$10.$itemDamage << 16 >> 16; var$11 = $var4.$tagMap; var$7 = new nms_NBTTagShort; var$7.$name = $rt_s(1272); var$7.$data2 = var$8; ju_HashMap_putImpl(var$11, $rt_s(1272), var$7); var$3 = var$10.$stackTagCompound; if (var$3 !== null) { var$11 = $var4.$tagMap; var$3.$name = $rt_s(1273); ju_HashMap_putImpl(var$11, $rt_s(1273), var$3); } $var2.$tagType = 10; var$3 = $var2.$tagList; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$5 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$5[var$8] = $var4; var$3.$modCount = var$3.$modCount + 1 | 0; } $var3 = $var3 + 1 | 0; } var$7 = $par1NBTTagCompound.$tagMap; $var2.$name = $rt_s(2451); ju_HashMap_putImpl(var$7, $rt_s(2451), $var2); var$8 = $this.$transferCooldown; var$7 = $par1NBTTagCompound.$tagMap; var$3 = new nms_NBTTagInt; var$3.$name = $rt_s(3124); var$3.$data0 = var$8; ju_HashMap_putImpl(var$7, $rt_s(3124), var$3); $var2 = $this.$inventoryName; if ($var2 !== null && $var2.$nativeString.length > 0 ? 1 : 0) { var$3 = $this.$inventoryName; var$7 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagString; $par1NBTTagCompound.$name = $rt_s(1281); $par1NBTTagCompound.$data1 = var$3; if (var$3 === null) { $var2 = new jl_IllegalArgumentException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $var2.$message = $rt_s(186); $rt_throw($var2); } ju_HashMap_putImpl(var$7, $rt_s(1281), $par1NBTTagCompound); } }, nms_TileEntityHopper_onInventoryChanged = $this => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $ptr); }, nms_TileEntityHopper_getSizeInventory = $this => { return $this.$hopperItemStacks.data.length; }, nms_TileEntityHopper_getStackInSlot = ($this, $par1) => { return $this.$hopperItemStacks.data[$par1]; }, nms_TileEntityHopper_decrStackSize = ($this, $par1, $par2) => { let var$3, $var3, var$5, $var3_0, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; var$3 = $this.$hopperItemStacks.data; if (var$3[$par1] === null) return null; if (var$3[$par1].$stackSize <= $par2) { $var3 = var$3[$par1]; var$3[$par1] = null; return $var3; } var$5 = var$3[$par1]; $var3_0 = new nms_ItemStack; var$7 = var$5.$itemID; var$8 = var$5.$itemDamage; nms_ItemStack_$callClinit(); $var3_0.$itemID = var$7; $var3_0.$stackSize = $par2; $var3_0.$itemDamage = var$8; if (var$8 < 0) $var3_0.$itemDamage = 0; var$9 = var$5.$stackTagCompound; if (var$9 !== null) { var$10 = new nms_NBTTagCompound; $var3 = var$9.$name; if ($var3 === null) $var3 = $rt_s(18); var$10.$name = $var3; $var3 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); $var3.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$3 = var$11.data; $var3.$elementData = var$11; $var3.$loadFactor = 0.75; $var3.$threshold = var$3.length * 0.75 | 0; var$10.$tagMap = $var3; $var3 = var$9.$tagMap; if ($var3.$cachedKeySet === null) { var$12 = new ju_HashMap$1; var$12.$this$0 = $var3; $var3.$cachedKeySet = var$12; } $var3 = $var3.$cachedKeySet.$iterator(); while ($var3.$hasNext()) { var$12 = $var3.$next(); var$13 = var$9.$tagMap; if (var$12 === null) { var$13 = var$13.$elementData.data[0]; while (var$13 !== null && var$13.$key !== null) { var$13 = var$13.$next3; } } else { a: { if (!var$12.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$12.$nativeString.length) break a; var$12.$hashCode1 = (31 * var$12.$hashCode1 | 0) + var$12.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$14 = var$12.$hashCode1; var$3 = var$13.$elementData.data; var$13 = var$3[var$14 & (var$3.length - 1 | 0)]; while (var$13 !== null) { if (var$13.$origKeyHash == var$14) { b: { var$15 = var$13.$key; if (var$12 !== var$15) { if (var$12 === var$15) var$8 = 1; else if (!(var$15 instanceof jl_String)) var$8 = 0; else { var$15 = var$15; var$8 = var$12.$nativeString !== var$15.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$13 = var$13.$next3; } } var$13 = var$13 === null ? null : var$13.$value1; var$13 = var$13.$copy(); var$15 = var$10.$tagMap; if (var$12 !== null) var$13.$name = var$12; else var$13.$name = $rt_s(18); ju_HashMap_putImpl(var$15, var$12, var$13); } $var3_0.$stackTagCompound = var$10; } var$5.$stackSize = var$5.$stackSize - $par2 | 0; var$3 = $this.$hopperItemStacks.data; if (!var$3[$par1].$stackSize) var$3[$par1] = null; return $var3_0; }, nms_TileEntityHopper_setInventorySlotContents = ($this, $par1, $par2ItemStack) => { $this.$hopperItemStacks.data[$par1] = $par2ItemStack; if ($par2ItemStack !== null && $par2ItemStack.$stackSize > 64) $par2ItemStack.$stackSize = 64; }, nms_TileEntityHopper_getInvName = $this => { let var$1; var$1 = $this.$inventoryName; return !(var$1 !== null && var$1.$nativeString.length > 0 ? 1 : 0) ? $rt_s(3605) : $this.$inventoryName; }, nms_TileEntityHopper_isInvNameLocalized = $this => { let var$1; var$1 = $this.$inventoryName; return var$1 !== null && var$1.$nativeString.length > 0 ? 1 : 0; }, nms_TileEntityHopper_getInventoryStackLimit = $this => { return 64; }, nms_TileEntityHopper_isUseableByPlayer = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$worldObj0; var$3 = $this.$xCoord0; var$4 = $this.$yCoord0; var$5 = $this.$zCoord0; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$2 = $tmp; if (var$2 !== $this) var$3 = 0; else { var$6 = $this.$xCoord0 + 0.5; var$7 = $this.$yCoord0 + 0.5; var$8 = $this.$zCoord0 + 0.5; var$6 = $par1EntityPlayer.$posX - var$6; var$7 = $par1EntityPlayer.$posY - var$7; var$8 = $par1EntityPlayer.$posZ - var$8; var$3 = var$6 * var$6 + var$7 * var$7 + var$8 * var$8 > 64.0 ? 0 : 1; } return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_TileEntityHopper_openChest = $this => { return; }, nms_TileEntityHopper_closeChest = $this => { return; }, nms_TileEntityHopper_isItemValidForSlot = ($this, $par1, $par2ItemStack) => { return 1; }, nms_TileEntityHopper_updateEntity = $this => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj0; if (var$1 !== null && !var$1.$isRemote) { var$2 = $this.$transferCooldown - 1 | 0; $this.$transferCooldown = var$2; if (!(var$2 <= 0 ? 0 : 1)) { $this.$transferCooldown = 0; $ptr = 1; continue main; } } return; case 1: nms_TileEntityHopper_updateHopper($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); }, nms_TileEntityHopper_updateHopper = $this => { let var$1, $var1, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$worldObj0; if (var$1 !== null && !var$1.$isRemote) { if (!($this.$transferCooldown <= 0 ? 0 : 1)) { if ($this.$blockMetadata == (-1)) $this.$blockMetadata = nms_World_getBlockMetadata(var$1, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0); if (($this.$blockMetadata & 8) == 8 ? 0 : 1) { $ptr = 1; continue main; } } return 0; } return 0; case 1: $tmp = nms_TileEntityHopper_insertItemToInventory($this); if ($rt_suspending()) { break main; } $var1 = $tmp; $ptr = 2; case 2: $tmp = nms_TileEntityHopper_suckItemsIntoHopper($this); if ($rt_suspending()) { break main; } var$3 = $tmp; if (!(!var$3 && !$var1 ? 0 : 1)) return 0; $this.$transferCooldown = 8; $ptr = 3; case 3: nms_TileEntity_onInventoryChanged($this); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, var$3, $ptr); }, nms_TileEntityHopper_insertItemToInventory = $this => { let $var1, $var2, var$3, var$4, var$5, $var4, $var3, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var3 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = nms_TileEntityHopper_getOutputInventory($this); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 === null) return 0; $var2 = 0; var$3 = 64; var$4 = 64; while (true) { var$5 = $this.$hopperItemStacks.data; if ($var2 >= var$5.length) break; if (var$5[$var2] !== null) { $var4 = var$5[$var2]; $var3 = new nms_ItemStack; var$8 = $var4.$itemID; var$9 = $var4.$stackSize; var$10 = $var4.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$8; $var3.$stackSize = var$9; $var3.$itemDamage = var$10; if (var$10 < 0) $var3.$itemDamage = 0; var$11 = $var4.$stackTagCompound; if (var$11 !== null) { var$12 = new nms_NBTTagCompound; $var4 = var$11.$name; if ($var4 === null) $var4 = $rt_s(18); var$12.$name = $var4; $var4 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); $var4.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$13 = var$5.data; $var4.$elementData = var$5; $var4.$loadFactor = 0.75; $var4.$threshold = var$13.length * 0.75 | 0; var$12.$tagMap = $var4; $var4 = var$11.$tagMap; if ($var4.$cachedKeySet === null) { var$14 = new ju_HashMap$1; var$14.$this$0 = $var4; $var4.$cachedKeySet = var$14; } var$15 = $var4.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); $var4 = var$11.$tagMap; if (var$16 === null) { var$17 = $var4.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { a: { if (!var$16.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$16.$nativeString.length) break a; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = var$16.$hashCode1; var$5 = $var4.$elementData.data; var$17 = var$5[var$9 & (var$5.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == var$9) { b: { $var4 = var$17.$key; if (var$16 !== $var4) { if (var$16 === $var4) var$8 = 1; else if (!($var4 instanceof jl_String)) var$8 = 0; else { $var4 = $var4; var$8 = var$16.$nativeString !== $var4.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } var$17 = var$17.$next3; } } $var4 = var$17 === null ? null : var$17.$value1; $var4 = $var4.$copy(); var$14 = var$12.$tagMap; if (var$16 !== null) $var4.$name = var$16; else $var4.$name = $rt_s(18); ju_HashMap_putImpl(var$14, var$16, $var4); } $var3.$stackTagCompound = var$12; } var$8 = 1; $ptr = 2; continue main; } $var2 = $var2 + 1 | 0; } return 0; case 2: $tmp = nms_TileEntityHopper_decrStackSize($this, $var2, var$8); if ($rt_suspending()) { break main; } var$14 = $tmp; var$5 = nms_Facing_oppositeSide; if ($this.$blockMetadata == (-1)) $this.$blockMetadata = nms_World_getBlockMetadata($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0); var$8 = var$5.data[$this.$blockMetadata & 7]; $ptr = 3; case 3: $tmp = nms_TileEntityHopper_insertStack($var1, var$14, var$8); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4 !== null && $var4.$stackSize) { $this.$hopperItemStacks.data[$var2] = $var3; if ($var3.$stackSize > var$3) $var3.$stackSize = var$4; while (true) { $var2 = $var2 + 1 | 0; var$5 = $this.$hopperItemStacks.data; if ($var2 >= var$5.length) break; if (var$5[$var2] === null) continue; else { $var4 = var$5[$var2]; $var3 = new nms_ItemStack; var$8 = $var4.$itemID; var$9 = $var4.$stackSize; var$10 = $var4.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$8; $var3.$stackSize = var$9; $var3.$itemDamage = var$10; if (var$10 < 0) $var3.$itemDamage = 0; var$11 = $var4.$stackTagCompound; if (var$11 !== null) { var$12 = new nms_NBTTagCompound; $var4 = var$11.$name; if ($var4 === null) $var4 = $rt_s(18); var$12.$name = $var4; $var4 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); $var4.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$13 = var$5.data; $var4.$elementData = var$5; $var4.$loadFactor = 0.75; $var4.$threshold = var$13.length * 0.75 | 0; var$12.$tagMap = $var4; $var4 = var$11.$tagMap; if ($var4.$cachedKeySet === null) { var$14 = new ju_HashMap$1; var$14.$this$0 = $var4; $var4.$cachedKeySet = var$14; } var$15 = $var4.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); $var4 = var$11.$tagMap; if (var$16 === null) { var$17 = $var4.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { c: { if (!var$16.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$16.$nativeString.length) break c; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = var$16.$hashCode1; var$5 = $var4.$elementData.data; var$17 = var$5[var$9 & (var$5.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == var$9) { d: { $var4 = var$17.$key; if (var$16 !== $var4) { if (var$16 === $var4) var$8 = 1; else if (!($var4 instanceof jl_String)) var$8 = 0; else { $var4 = $var4; var$8 = var$16.$nativeString !== $var4.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break d; } } var$8 = 1; } if (var$8) break; } var$17 = var$17.$next3; } } $var4 = var$17 === null ? null : var$17.$value1; $var4 = $var4.$copy(); var$14 = var$12.$tagMap; if (var$16 !== null) $var4.$name = var$16; else $var4.$name = $rt_s(18); ju_HashMap_putImpl(var$14, var$16, $var4); } $var3.$stackTagCompound = var$12; } var$8 = 1; $ptr = 2; continue main; } } return 0; } $ptr = 4; case 4: $var1.$onInventoryChanged(); if ($rt_suspending()) { break main; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2, var$3, var$4, var$5, $var4, $var3, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_TileEntityHopper_suckItemsIntoHopper = $par0Hopper => { let $var7, var$3, var$4, var$5, $var1, var$7, var$8, var$9, var$10, var$11, $var2, var$13, $var3, var$15, var$16, $var8, $var4, var$19, $var6, var$21, $var5, var$23, var$24, var$25, var$26, var$27, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$var5 = $thread.pop();var$21 = $thread.pop();$var6 = $thread.pop();var$19 = $thread.pop();$var4 = $thread.pop();$var8 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var3 = $thread.pop();var$13 = $thread.pop();$var2 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var1 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var7 = $thread.pop();$par0Hopper = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = $par0Hopper.$getWorldObj(); var$3 = $par0Hopper.$getXPos(); var$4 = $par0Hopper.$getYPos() + 1.0; var$5 = $par0Hopper.$getZPos(); $ptr = 1; case 1: $tmp = nms_TileEntityHopper_getInventoryAtLocation($var7, var$3, var$4, var$5); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 === null) { $var7 = $par0Hopper.$getWorldObj(); var$3 = $par0Hopper.$getXPos(); var$4 = $par0Hopper.$getYPos() + 1.0; var$5 = $par0Hopper.$getZPos(); var$7 = $rt_cls(nms_EntityItem); var$8 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$9 = var$3 + 1.0; var$10 = var$4 + 1.0; var$11 = var$5 + 1.0; $var2 = var$8.$nextPoolIndex; var$13 = var$8.$listAABB; $var3 = var$13.$size0; var$15 = $rt_compare($var2, $var3); if (var$15 >= 0) { var$16 = new nms_AxisAlignedBB; var$16.$minX = var$3; var$16.$minY = var$4; var$16.$minZ = var$5; var$16.$maxX = var$9; var$16.$maxY = var$10; var$16.$maxZ = var$11; ju_ArrayList_ensureCapacity(var$13, $var3 + 1 | 0); $var8 = var$13.$array.data; var$15 = var$13.$size0; var$13.$size0 = var$15 + 1 | 0; $var8[var$15] = var$16; var$13.$modCount = var$13.$modCount + 1 | 0; } else if ($var2 >= 0 && var$15 < 0) { var$16 = var$13.$array.data[$var2]; var$16.$minX = var$3; var$16.$minY = var$4; var$16.$minZ = var$5; var$16.$maxX = var$9; var$16.$maxY = var$10; var$16.$maxZ = var$11; } else { $par0Hopper = new jl_IndexOutOfBoundsException; $par0Hopper.$suppressionEnabled = 1; $par0Hopper.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par0Hopper); $rt_throw($par0Hopper); } var$8.$nextPoolIndex = var$8.$nextPoolIndex + 1 | 0; var$13 = nms_IEntitySelector_selectAnything; $ptr = 2; continue main; } a: { $var2 = 0; var$15 = $rt_isInstance($var1, nms_ISidedInventory); if (!var$15) { $var3 = $var1.$getSizeInventory(); $var4 = 0; var$19 = $var1; while (true) { if ($var4 >= $var3) break a; $var7 = $var1.$getStackInSlot($var4); if ($var7 !== null && (var$15 && !var$19.$canExtractItem($var4, $var7, $var2) ? 0 : 1)) { $var6 = new nms_ItemStack; var$21 = $var7.$itemID; $var5 = $var7.$stackSize; var$23 = $var7.$itemDamage; nms_ItemStack_$callClinit(); $var6.$itemID = var$21; $var6.$stackSize = $var5; $var6.$itemDamage = var$23; if (var$23 < 0) $var6.$itemDamage = 0; $var7 = $var7.$stackTagCompound; if ($var7 !== null) { var$7 = new nms_NBTTagCompound; var$13 = $var7.$name; if (var$13 === null) var$13 = $rt_s(18); var$7.$name = var$13; var$13 = new ju_HashMap; jl_Object__init_(var$13); $var5 = ju_HashMap_calculateCapacity(16); var$13.$elementCount = 0; var$24 = $rt_createArray(ju_HashMap$HashEntry, $var5); $var8 = var$24.data; var$13.$elementData = var$24; var$13.$loadFactor = 0.75; var$13.$threshold = $var8.length * 0.75 | 0; var$7.$tagMap = var$13; var$13 = $var7.$tagMap; if (var$13.$cachedKeySet === null) { var$16 = new ju_HashMap$1; var$16.$this$0 = var$13; var$13.$cachedKeySet = var$16; } var$13 = var$13.$cachedKeySet.$iterator(); while (var$13.$hasNext()) { var$16 = var$13.$next(); var$8 = $var7.$tagMap; if (var$16 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { b: { if (!var$16.$hashCode1) { $var5 = 0; while (true) { if ($var5 >= var$16.$nativeString.length) break b; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$21 = var$16.$hashCode1; $var8 = var$8.$elementData.data; var$8 = $var8[var$21 & ($var8.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$21) { c: { var$25 = var$8.$key; if (var$16 !== var$25) { if (var$16 === var$25) $var5 = 1; else if (!(var$25 instanceof jl_String)) $var5 = 0; else { var$25 = var$25; $var5 = var$16.$nativeString !== var$25.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break c; } } $var5 = 1; } if ($var5) break; } var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; var$8 = var$8.$copy(); var$25 = var$7.$tagMap; if (var$16 !== null) var$8.$name = var$16; else var$8.$name = $rt_s(18); ju_HashMap_putImpl(var$25, var$16, var$8); } $var6.$stackTagCompound = var$7; } $var5 = 1; $ptr = 4; continue main; } if (0) break; $var4 = $var4 + 1 | 0; } return 1; } $var7 = $var1; $var8 = $var7.$getAccessibleSlotsFromSide($var2); $var5 = 0; while (true) { var$24 = $var8.data; if ($var5 >= var$24.length) break a; $var3 = var$24[$var5]; var$7 = $var1.$getStackInSlot($var3); if (var$7 !== null && (var$15 && !$var7.$canExtractItem($var3, var$7, $var2) ? 0 : 1)) { var$13 = new nms_ItemStack; var$23 = var$7.$itemID; var$21 = var$7.$stackSize; $var4 = var$7.$itemDamage; nms_ItemStack_$callClinit(); var$13.$itemID = var$23; var$13.$stackSize = var$21; var$13.$itemDamage = $var4; if ($var4 < 0) var$13.$itemDamage = 0; var$7 = var$7.$stackTagCompound; if (var$7 !== null) { var$16 = new nms_NBTTagCompound; var$8 = var$7.$name; if (var$8 === null) var$8 = $rt_s(18); var$16.$name = var$8; var$8 = new ju_HashMap; jl_Object__init_(var$8); var$23 = ju_HashMap_calculateCapacity(16); var$8.$elementCount = 0; var$26 = $rt_createArray(ju_HashMap$HashEntry, var$23); var$24 = var$26.data; var$8.$elementData = var$26; var$8.$loadFactor = 0.75; var$8.$threshold = var$24.length * 0.75 | 0; var$16.$tagMap = var$8; var$8 = var$7.$tagMap; if (var$8.$cachedKeySet === null) { var$25 = new ju_HashMap$1; var$25.$this$0 = var$8; var$8.$cachedKeySet = var$25; } var$8 = var$8.$cachedKeySet.$iterator(); while (var$8.$hasNext()) { var$25 = var$8.$next(); var$27 = var$7.$tagMap; if (var$25 === null) { $var6 = var$27.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { d: { if (!var$25.$hashCode1) { var$23 = 0; while (true) { if (var$23 >= var$25.$nativeString.length) break d; var$25.$hashCode1 = (31 * var$25.$hashCode1 | 0) + var$25.$nativeString.charCodeAt(var$23) | 0; var$23 = var$23 + 1 | 0; } } } var$21 = var$25.$hashCode1; var$24 = var$27.$elementData.data; $var6 = var$24[var$21 & (var$24.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$21) { e: { var$27 = $var6.$key; if (var$25 !== var$27) { if (var$25 === var$27) var$23 = 1; else if (!(var$27 instanceof jl_String)) var$23 = 0; else { var$27 = var$27; var$23 = var$25.$nativeString !== var$27.$nativeString ? 0 : 1; } if (!var$23) { var$23 = 0; break e; } } var$23 = 1; } if (var$23) break; } $var6 = $var6.$next3; } } var$27 = $var6 === null ? null : $var6.$value1; var$27 = var$27.$copy(); var$19 = var$16.$tagMap; if (var$25 !== null) var$27.$name = var$25; else var$27.$name = $rt_s(18); ju_HashMap_putImpl(var$19, var$25, var$27); } var$13.$stackTagCompound = var$16; } var$23 = 1; $ptr = 6; continue main; } if (0) break; $var5 = $var5 + 1 | 0; } return 1; } return 0; case 2: $tmp = nms_World_selectEntitiesWithinAABB($var7, var$7, var$16, var$13); if ($rt_suspending()) { break main; } $var7 = $tmp; var$15 = $var7.$size0; if (var$15 <= 0) $var6 = null; else { if (0 >= var$15) { $par0Hopper = new jl_IndexOutOfBoundsException; $par0Hopper.$suppressionEnabled = 1; $par0Hopper.$writableStackTrace = 1; $rt_throw($par0Hopper); } $var6 = $var7.$array.data[0]; } if ($var6 === null) return 0; $var2 = 0; $var7 = nms_EntityItem_getEntityItem($var6); var$7 = new nms_ItemStack; var$15 = $var7.$itemID; $var3 = $var7.$stackSize; $var5 = $var7.$itemDamage; nms_ItemStack_$callClinit(); var$7.$itemID = var$15; var$7.$stackSize = $var3; var$7.$itemDamage = $var5; if ($var5 < 0) var$7.$itemDamage = 0; $var7 = $var7.$stackTagCompound; if ($var7 !== null) { var$13 = new nms_NBTTagCompound; var$16 = $var7.$name; if (var$16 === null) var$16 = $rt_s(18); var$13.$name = var$16; var$16 = new ju_HashMap; jl_Object__init_(var$16); var$15 = ju_HashMap_calculateCapacity(16); var$16.$elementCount = 0; var$24 = $rt_createArray(ju_HashMap$HashEntry, var$15); $var8 = var$24.data; var$16.$elementData = var$24; var$16.$loadFactor = 0.75; var$16.$threshold = $var8.length * 0.75 | 0; var$13.$tagMap = var$16; var$16 = $var7.$tagMap; if (var$16.$cachedKeySet === null) { var$8 = new ju_HashMap$1; var$8.$this$0 = var$16; var$16.$cachedKeySet = var$8; } var$16 = var$16.$cachedKeySet.$iterator(); while (var$16.$hasNext()) { var$8 = var$16.$next(); var$25 = $var7.$tagMap; if (var$8 === null) { var$25 = var$25.$elementData.data[0]; while (var$25 !== null && var$25.$key !== null) { var$25 = var$25.$next3; } } else { f: { if (!var$8.$hashCode1) { var$15 = 0; while (true) { if (var$15 >= var$8.$nativeString.length) break f; var$8.$hashCode1 = (31 * var$8.$hashCode1 | 0) + var$8.$nativeString.charCodeAt(var$15) | 0; var$15 = var$15 + 1 | 0; } } } $var5 = var$8.$hashCode1; $var8 = var$25.$elementData.data; var$25 = $var8[$var5 & ($var8.length - 1 | 0)]; while (var$25 !== null) { if (var$25.$origKeyHash == $var5) { g: { var$27 = var$25.$key; if (var$8 !== var$27) { if (var$8 === var$27) var$15 = 1; else if (!(var$27 instanceof jl_String)) var$15 = 0; else { var$27 = var$27; var$15 = var$8.$nativeString !== var$27.$nativeString ? 0 : 1; } if (!var$15) { var$15 = 0; break g; } } var$15 = 1; } if (var$15) break; } var$25 = var$25.$next3; } } var$25 = var$25 === null ? null : var$25.$value1; var$25 = var$25.$copy(); var$27 = var$13.$tagMap; if (var$8 !== null) var$25.$name = var$8; else var$25.$name = $rt_s(18); ju_HashMap_putImpl(var$27, var$8, var$25); } var$7.$stackTagCompound = var$13; } var$15 = (-1); $ptr = 3; case 3: $tmp = nms_TileEntityHopper_insertStack($par0Hopper, var$7, var$15); if ($rt_suspending()) { break main; } $par0Hopper = $tmp; if ($par0Hopper !== null && $par0Hopper.$stackSize) { var$16 = $var6.$dataWatcher; $var7 = var$16.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[138]; if (var$13 === null) { $var7 = $var7.$elementData.data[0]; while ($var7 !== null && $var7.$key !== null) { $var7 = $var7.$next3; } } else { $var5 = var$13.$value0; $var8 = $var7.$elementData.data; $var7 = $var8[$var5 & ($var8.length - 1 | 0)]; while ($var7 !== null) { if ($var7.$origKeyHash == $var5) { var$7 = $var7.$key; if (var$13 !== var$7 && !jl_Integer_equals(var$13, var$7) ? 0 : 1) break; } $var7 = $var7.$next3; } } var$7 = $var7 === null ? null : $var7.$value1; if (!($par0Hopper !== var$7.$watchedObject ? 0 : 1)) { var$7.$watchedObject = $par0Hopper; var$7.$watched = 1; var$16.$objectChanged = 1; } var$13 = $var6.$dataWatcher; $par0Hopper = var$13.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[138]; if (var$7 === null) { $par0Hopper = $par0Hopper.$elementData.data[0]; while ($par0Hopper !== null && $par0Hopper.$key !== null) { $par0Hopper = $par0Hopper.$next3; } } else { $var5 = var$7.$value0; $var8 = $par0Hopper.$elementData.data; $par0Hopper = $var8[$var5 & ($var8.length - 1 | 0)]; while ($par0Hopper !== null) { if ($par0Hopper.$origKeyHash == $var5) { $var7 = $par0Hopper.$key; if (var$7 !== $var7 && !jl_Integer_equals(var$7, $var7) ? 0 : 1) break; } $par0Hopper = $par0Hopper.$next3; } } ($par0Hopper === null ? null : $par0Hopper.$value1).$watched = 1; var$13.$objectChanged = 1; } else { $var2 = 1; $var6.$isDead = 1; } return $var2; case 4: $tmp = $var1.$decrStackSize($var4, $var5); if ($rt_suspending()) { break main; } $var7 = $tmp; $var5 = (-1); $ptr = 5; case 5: $tmp = nms_TileEntityHopper_insertStack($par0Hopper, $var7, $var5); if ($rt_suspending()) { break main; } $var7 = $tmp; if ($var7 !== null && $var7.$stackSize) { $ptr = 10; continue main; } $ptr = 8; continue main; case 6: $tmp = $var1.$decrStackSize($var3, var$23); if ($rt_suspending()) { break main; } var$7 = $tmp; var$23 = (-1); $ptr = 7; case 7: $tmp = nms_TileEntityHopper_insertStack($par0Hopper, var$7, var$23); if ($rt_suspending()) { break main; } var$7 = $tmp; if (var$7 !== null && var$7.$stackSize) { $ptr = 11; continue main; } $ptr = 9; continue main; case 8: $var1.$onInventoryChanged(); if ($rt_suspending()) { break main; } $var5 = 1; while (!$var5) { $var4 = $var4 + 1 | 0; if ($var4 >= $var3) return 0; $var7 = $var1.$getStackInSlot($var4); if ($var7 !== null && (var$15 && !var$19.$canExtractItem($var4, $var7, $var2) ? 0 : 1)) { $var6 = new nms_ItemStack; var$21 = $var7.$itemID; $var5 = $var7.$stackSize; var$23 = $var7.$itemDamage; nms_ItemStack_$callClinit(); $var6.$itemID = var$21; $var6.$stackSize = $var5; $var6.$itemDamage = var$23; if (var$23 < 0) $var6.$itemDamage = 0; $var7 = $var7.$stackTagCompound; if ($var7 !== null) { var$7 = new nms_NBTTagCompound; var$13 = $var7.$name; if (var$13 === null) var$13 = $rt_s(18); var$7.$name = var$13; var$13 = new ju_HashMap; jl_Object__init_(var$13); $var5 = ju_HashMap_calculateCapacity(16); var$13.$elementCount = 0; var$24 = $rt_createArray(ju_HashMap$HashEntry, $var5); $var8 = var$24.data; var$13.$elementData = var$24; var$13.$loadFactor = 0.75; var$13.$threshold = $var8.length * 0.75 | 0; var$7.$tagMap = var$13; var$13 = $var7.$tagMap; if (var$13.$cachedKeySet === null) { var$16 = new ju_HashMap$1; var$16.$this$0 = var$13; var$13.$cachedKeySet = var$16; } var$13 = var$13.$cachedKeySet.$iterator(); while (var$13.$hasNext()) { var$16 = var$13.$next(); var$8 = $var7.$tagMap; if (var$16 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { h: { if (!var$16.$hashCode1) { $var5 = 0; while (true) { if ($var5 >= var$16.$nativeString.length) break h; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$21 = var$16.$hashCode1; $var8 = var$8.$elementData.data; var$8 = $var8[var$21 & ($var8.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$21) { i: { var$25 = var$8.$key; if (var$16 !== var$25) { if (var$16 === var$25) $var5 = 1; else if (!(var$25 instanceof jl_String)) $var5 = 0; else { var$25 = var$25; $var5 = var$16.$nativeString !== var$25.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break i; } } $var5 = 1; } if ($var5) break; } var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; var$8 = var$8.$copy(); var$25 = var$7.$tagMap; if (var$16 !== null) var$8.$name = var$16; else var$8.$name = $rt_s(18); ju_HashMap_putImpl(var$25, var$16, var$8); } $var6.$stackTagCompound = var$7; } $var5 = 1; $ptr = 4; continue main; } $var5 = 0; } return 1; case 9: $var1.$onInventoryChanged(); if ($rt_suspending()) { break main; } $var3 = 1; while (!$var3) { $var5 = $var5 + 1 | 0; var$24 = $var8.data; if ($var5 >= var$24.length) return 0; $var3 = var$24[$var5]; var$7 = $var1.$getStackInSlot($var3); if (var$7 !== null && (var$15 && !$var7.$canExtractItem($var3, var$7, $var2) ? 0 : 1)) { var$13 = new nms_ItemStack; var$23 = var$7.$itemID; var$21 = var$7.$stackSize; $var4 = var$7.$itemDamage; nms_ItemStack_$callClinit(); var$13.$itemID = var$23; var$13.$stackSize = var$21; var$13.$itemDamage = $var4; if ($var4 < 0) var$13.$itemDamage = 0; var$7 = var$7.$stackTagCompound; if (var$7 !== null) { var$16 = new nms_NBTTagCompound; var$8 = var$7.$name; if (var$8 === null) var$8 = $rt_s(18); var$16.$name = var$8; var$8 = new ju_HashMap; jl_Object__init_(var$8); var$23 = ju_HashMap_calculateCapacity(16); var$8.$elementCount = 0; var$26 = $rt_createArray(ju_HashMap$HashEntry, var$23); var$24 = var$26.data; var$8.$elementData = var$26; var$8.$loadFactor = 0.75; var$8.$threshold = var$24.length * 0.75 | 0; var$16.$tagMap = var$8; var$8 = var$7.$tagMap; if (var$8.$cachedKeySet === null) { var$25 = new ju_HashMap$1; var$25.$this$0 = var$8; var$8.$cachedKeySet = var$25; } var$8 = var$8.$cachedKeySet.$iterator(); while (var$8.$hasNext()) { var$25 = var$8.$next(); var$27 = var$7.$tagMap; if (var$25 === null) { $var6 = var$27.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { h: { if (!var$25.$hashCode1) { var$23 = 0; while (true) { if (var$23 >= var$25.$nativeString.length) break h; var$25.$hashCode1 = (31 * var$25.$hashCode1 | 0) + var$25.$nativeString.charCodeAt(var$23) | 0; var$23 = var$23 + 1 | 0; } } } var$21 = var$25.$hashCode1; var$24 = var$27.$elementData.data; $var6 = var$24[var$21 & (var$24.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$21) { i: { var$27 = $var6.$key; if (var$25 !== var$27) { if (var$25 === var$27) var$23 = 1; else if (!(var$27 instanceof jl_String)) var$23 = 0; else { var$27 = var$27; var$23 = var$25.$nativeString !== var$27.$nativeString ? 0 : 1; } if (!var$23) { var$23 = 0; break i; } } var$23 = 1; } if (var$23) break; } $var6 = $var6.$next3; } } var$27 = $var6 === null ? null : $var6.$value1; var$27 = var$27.$copy(); var$19 = var$16.$tagMap; if (var$25 !== null) var$27.$name = var$25; else var$27.$name = $rt_s(18); ju_HashMap_putImpl(var$19, var$25, var$27); } var$13.$stackTagCompound = var$16; } var$23 = 1; $ptr = 6; continue main; } $var3 = 0; } return 1; case 10: $var1.$setInventorySlotContents($var4, $var6); if ($rt_suspending()) { break main; } while (!0) { $var4 = $var4 + 1 | 0; if ($var4 >= $var3) return 0; $var7 = $var1.$getStackInSlot($var4); if ($var7 === null) continue; if (!(var$15 && !var$19.$canExtractItem($var4, $var7, $var2) ? 0 : 1)) continue; else { $var6 = new nms_ItemStack; var$21 = $var7.$itemID; $var5 = $var7.$stackSize; var$23 = $var7.$itemDamage; nms_ItemStack_$callClinit(); $var6.$itemID = var$21; $var6.$stackSize = $var5; $var6.$itemDamage = var$23; if (var$23 < 0) $var6.$itemDamage = 0; $var7 = $var7.$stackTagCompound; if ($var7 !== null) { var$7 = new nms_NBTTagCompound; var$13 = $var7.$name; if (var$13 === null) var$13 = $rt_s(18); var$7.$name = var$13; var$13 = new ju_HashMap; jl_Object__init_(var$13); $var5 = ju_HashMap_calculateCapacity(16); var$13.$elementCount = 0; var$24 = $rt_createArray(ju_HashMap$HashEntry, $var5); $var8 = var$24.data; var$13.$elementData = var$24; var$13.$loadFactor = 0.75; var$13.$threshold = $var8.length * 0.75 | 0; var$7.$tagMap = var$13; var$13 = $var7.$tagMap; if (var$13.$cachedKeySet === null) { var$16 = new ju_HashMap$1; var$16.$this$0 = var$13; var$13.$cachedKeySet = var$16; } var$13 = var$13.$cachedKeySet.$iterator(); while (var$13.$hasNext()) { var$16 = var$13.$next(); var$8 = $var7.$tagMap; if (var$16 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { h: { if (!var$16.$hashCode1) { $var5 = 0; while (true) { if ($var5 >= var$16.$nativeString.length) break h; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt($var5) | 0; $var5 = $var5 + 1 | 0; } } } var$21 = var$16.$hashCode1; $var8 = var$8.$elementData.data; var$8 = $var8[var$21 & ($var8.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$21) { i: { var$25 = var$8.$key; if (var$16 !== var$25) { if (var$16 === var$25) $var5 = 1; else if (!(var$25 instanceof jl_String)) $var5 = 0; else { var$25 = var$25; $var5 = var$16.$nativeString !== var$25.$nativeString ? 0 : 1; } if (!$var5) { $var5 = 0; break i; } } $var5 = 1; } if ($var5) break; } var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; var$8 = var$8.$copy(); var$25 = var$7.$tagMap; if (var$16 !== null) var$8.$name = var$16; else var$8.$name = $rt_s(18); ju_HashMap_putImpl(var$25, var$16, var$8); } $var6.$stackTagCompound = var$7; } $var5 = 1; $ptr = 4; continue main; } } return 1; case 11: $var1.$setInventorySlotContents($var3, var$13); if ($rt_suspending()) { break main; } while (!0) { $var5 = $var5 + 1 | 0; var$24 = $var8.data; if ($var5 >= var$24.length) return 0; $var3 = var$24[$var5]; var$7 = $var1.$getStackInSlot($var3); if (var$7 === null) continue; if (!(var$15 && !$var7.$canExtractItem($var3, var$7, $var2) ? 0 : 1)) continue; else { var$13 = new nms_ItemStack; var$23 = var$7.$itemID; var$21 = var$7.$stackSize; $var4 = var$7.$itemDamage; nms_ItemStack_$callClinit(); var$13.$itemID = var$23; var$13.$stackSize = var$21; var$13.$itemDamage = $var4; if ($var4 < 0) var$13.$itemDamage = 0; var$7 = var$7.$stackTagCompound; if (var$7 !== null) { var$16 = new nms_NBTTagCompound; var$8 = var$7.$name; if (var$8 === null) var$8 = $rt_s(18); var$16.$name = var$8; var$8 = new ju_HashMap; jl_Object__init_(var$8); var$23 = ju_HashMap_calculateCapacity(16); var$8.$elementCount = 0; var$26 = $rt_createArray(ju_HashMap$HashEntry, var$23); var$24 = var$26.data; var$8.$elementData = var$26; var$8.$loadFactor = 0.75; var$8.$threshold = var$24.length * 0.75 | 0; var$16.$tagMap = var$8; var$8 = var$7.$tagMap; if (var$8.$cachedKeySet === null) { var$25 = new ju_HashMap$1; var$25.$this$0 = var$8; var$8.$cachedKeySet = var$25; } var$8 = var$8.$cachedKeySet.$iterator(); while (var$8.$hasNext()) { var$25 = var$8.$next(); var$27 = var$7.$tagMap; if (var$25 === null) { $var6 = var$27.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { h: { if (!var$25.$hashCode1) { var$23 = 0; while (true) { if (var$23 >= var$25.$nativeString.length) break h; var$25.$hashCode1 = (31 * var$25.$hashCode1 | 0) + var$25.$nativeString.charCodeAt(var$23) | 0; var$23 = var$23 + 1 | 0; } } } var$21 = var$25.$hashCode1; var$24 = var$27.$elementData.data; $var6 = var$24[var$21 & (var$24.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == var$21) { i: { var$27 = $var6.$key; if (var$25 !== var$27) { if (var$25 === var$27) var$23 = 1; else if (!(var$27 instanceof jl_String)) var$23 = 0; else { var$27 = var$27; var$23 = var$25.$nativeString !== var$27.$nativeString ? 0 : 1; } if (!var$23) { var$23 = 0; break i; } } var$23 = 1; } if (var$23) break; } $var6 = $var6.$next3; } } var$27 = $var6 === null ? null : $var6.$value1; var$27 = var$27.$copy(); var$19 = var$16.$tagMap; if (var$25 !== null) var$27.$name = var$25; else var$27.$name = $rt_s(18); ju_HashMap_putImpl(var$19, var$25, var$27); } var$13.$stackTagCompound = var$16; } var$23 = 1; $ptr = 6; continue main; } } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0Hopper, $var7, var$3, var$4, var$5, $var1, var$7, var$8, var$9, var$10, var$11, $var2, var$13, $var3, var$15, var$16, $var8, $var4, var$19, $var6, var$21, $var5, var$23, var$24, var$25, var$26, var$27, $ptr); }, nms_TileEntityHopper_insertStack = ($par0IInventory, $par1ItemStack, $par2) => { let $var7, $var5, var$6, $var3, $var4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var7 = $thread.pop();$par2 = $thread.pop();$par1ItemStack = $thread.pop();$par0IInventory = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($rt_isInstance($par0IInventory, nms_ISidedInventory) && $par2 > (-1)) { $var7 = $par0IInventory.$getAccessibleSlotsFromSide($par2); $var5 = 0; var$6 = $var7.data; if ($var5 < var$6.length && $par1ItemStack !== null && $par1ItemStack.$stackSize > 0) { $var3 = var$6[$var5]; $ptr = 2; continue main; } } else { $var3 = $par0IInventory.$getSizeInventory(); $var4 = 0; if ($var4 < $var3 && $par1ItemStack !== null && $par1ItemStack.$stackSize > 0) { $ptr = 1; continue main; } } if ($par1ItemStack !== null && !$par1ItemStack.$stackSize) $par1ItemStack = null; return $par1ItemStack; case 1: $tmp = nms_TileEntityHopper_func_102014_c($par0IInventory, $par1ItemStack, $var4, $par2); if ($rt_suspending()) { break main; } $par1ItemStack = $tmp; $var4 = $var4 + 1 | 0; if ($var4 < $var3 && $par1ItemStack !== null && $par1ItemStack.$stackSize > 0) { continue main; } if ($par1ItemStack !== null && !$par1ItemStack.$stackSize) $par1ItemStack = null; return $par1ItemStack; case 2: $tmp = nms_TileEntityHopper_func_102014_c($par0IInventory, $par1ItemStack, $var3, $par2); if ($rt_suspending()) { break main; } $par1ItemStack = $tmp; $var5 = $var5 + 1 | 0; var$6 = $var7.data; if ($var5 < var$6.length && $par1ItemStack !== null && $par1ItemStack.$stackSize > 0) { $var3 = var$6[$var5]; continue main; } if ($par1ItemStack !== null && !$par1ItemStack.$stackSize) $par1ItemStack = null; return $par1ItemStack; default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0IInventory, $par1ItemStack, $par2, $var7, $var5, var$6, $var3, $var4, $ptr); }, nms_TileEntityHopper_func_102014_c = ($par0IInventory, $par1ItemStack, $par2, $par3) => { let $var4, $var5, $var7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1ItemStack = $thread.pop();$par0IInventory = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = $par0IInventory.$getStackInSlot($par2); if (!$par0IInventory.$isItemValidForSlot($par2, $par1ItemStack) ? 0 : $rt_isInstance($par0IInventory, nms_ISidedInventory) && !$par0IInventory.$canInsertItem($par2, $par1ItemStack, $par3) ? 0 : 1) { $var5 = 0; if ($var4 === null) { $ptr = 1; continue main; } $par2 = $var4.$itemID; if ($par2 != $par1ItemStack.$itemID) $par2 = 0; else if ($var4.$itemDamage != $par1ItemStack.$itemDamage) $par2 = 0; else { $par3 = $var4.$stackSize; nms_Item_$callClinit(); $par2 = $par3 <= nms_Item_itemsList.data[$par2].$maxStackSize ? nms_ItemStack_areItemStackTagsEqual($var4, $par1ItemStack) : 0; } if ($par2) { nms_Item_$callClinit(); $var7 = nms_Item_itemsList.data[$par1ItemStack.$itemID].$maxStackSize - $var4.$stackSize | 0; $par2 = $par1ItemStack.$stackSize; if ($par2 < $var7) $var7 = $par2; $par1ItemStack.$stackSize = $par2 - $var7 | 0; $var4.$stackSize = $var4.$stackSize + $var7 | 0; $var5 = $var7 <= 0 ? 0 : 1; } if ($var5) { if (!($par0IInventory instanceof nms_TileEntityHopper)) { $ptr = 2; continue main; } $par0IInventory.$transferCooldown = 8; $ptr = 3; continue main; } } return $par1ItemStack; case 1: $par0IInventory.$setInventorySlotContents($par2, $par1ItemStack); if ($rt_suspending()) { break main; } $par1ItemStack = null; if (!1) return $par1ItemStack; if (!($par0IInventory instanceof nms_TileEntityHopper)) { $ptr = 2; continue main; } $par0IInventory.$transferCooldown = 8; $ptr = 3; continue main; case 2: $par0IInventory.$onInventoryChanged(); if ($rt_suspending()) { break main; } return $par1ItemStack; case 3: $par0IInventory.$onInventoryChanged(); if ($rt_suspending()) { break main; } $ptr = 2; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0IInventory, $par1ItemStack, $par2, $par3, $var4, $var5, $var7, $ptr); }, nms_TileEntityHopper_getOutputInventory = $this => { let $var1, var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$blockMetadata == (-1)) $this.$blockMetadata = nms_World_getBlockMetadata($this.$worldObj0, $this.$xCoord0, $this.$yCoord0, $this.$zCoord0); $var1 = $this.$blockMetadata & 7; var$2 = $this.$worldObj0; var$3 = $this.$xCoord0 + nms_Facing_offsetsXForSide.data[$var1] | 0; var$4 = $this.$yCoord0 + nms_Facing_offsetsYForSide.data[$var1] | 0; var$5 = $this.$zCoord0 + nms_Facing_offsetsZForSide.data[$var1] | 0; $ptr = 1; case 1: $tmp = nms_TileEntityHopper_getInventoryAtLocation(var$2, var$3, var$4, var$5); if ($rt_suspending()) { break main; } var$2 = $tmp; return var$2; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, $ptr); }, nms_TileEntityHopper_getInventoryAtLocation = ($par0World, $par1, $par3, $par5) => { let $var7, $var8, $var9, $var10, $var11, $var12, $var13, $var14, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$par0World = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = null; $var8 = $par1 | 0; if ($par1 < $var8) $var8 = $var8 - 1 | 0; $var9 = $par3 | 0; if ($par3 < $var9) $var9 = $var9 - 1 | 0; $var10 = $par5 | 0; if ($par5 < $var10) $var10 = $var10 - 1 | 0; $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par0World, $var8, $var9, $var10); if ($rt_suspending()) { break main; } $var11 = $tmp; if ($var11 !== null && $rt_isInstance($var11, nms_IInventory)) { $var7 = $var11; if ($var7 instanceof nms_TileEntityChest) { $var12 = nms_World_getBlockId($par0World, $var8, $var9, $var10); nms_Block_$callClinit(); $var13 = nms_Block_blocksList.data[$var12]; if ($var13 instanceof nms_BlockChest) { $var7 = $var13; $ptr = 2; continue main; } } } a: { if ($var7 === null) { $var14 = null; $var13 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$13 = $par1 + 1.0; var$14 = $par3 + 1.0; var$15 = $par5 + 1.0; $var12 = $var13.$nextPoolIndex; var$16 = $var13.$listAABB; $var10 = var$16.$size0; $var9 = $rt_compare($var12, $var10); if ($var9 >= 0) { $var11 = new nms_AxisAlignedBB; $var11.$minX = $par1; $var11.$minY = $par3; $var11.$minZ = $par5; $var11.$maxX = var$13; $var11.$maxY = var$14; $var11.$maxZ = var$15; ju_ArrayList_ensureCapacity(var$16, $var10 + 1 | 0); var$17 = var$16.$array.data; $var10 = var$16.$size0; var$16.$size0 = $var10 + 1 | 0; var$17[$var10] = $var11; var$16.$modCount = var$16.$modCount + 1 | 0; } else if ($var12 >= 0 && $var9 < 0) { $var11 = var$16.$array.data[$var12]; $var11.$minX = $par1; $var11.$minY = $par3; $var11.$minZ = $par5; $var11.$maxX = var$13; $var11.$maxY = var$14; $var11.$maxZ = var$15; } else { $par0World = new jl_IndexOutOfBoundsException; $par0World.$suppressionEnabled = 1; $par0World.$writableStackTrace = 1; $rt_throw($par0World); } $var13.$nextPoolIndex = $var13.$nextPoolIndex + 1 | 0; $var14 = nms_World_getEntitiesWithinAABBExcludingEntity($par0World, $var14, $var11, nms_IEntitySelector_selectInventories); if ($var14 !== null) { var$18 = $var14.$size0; if (var$18 > 0) { $par0World = $par0World.$rand0; var$19 = Long_and(Long_add(Long_mul($par0World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0World.$seed = var$19; $var9 = Long_lo(Long_shru(var$19, 17)); $var12 = var$18 - 1 | 0; if (!(var$18 & $var12)) $var10 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$18), Long_fromInt($var9)), 31)); else while (true) { $var10 = $var9 % var$18 | 0; if ((($var9 - $var10 | 0) + $var12 | 0) >= 0) break; var$19 = Long_and(Long_add(Long_mul($par0World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0World.$seed = var$19; $var9 = Long_lo(Long_shru(var$19, 17)); } if ($var10 < 0) break a; if ($var10 >= var$18) break a; $var7 = $var14.$array.data[$var10]; } } } return $var7; } $par0World = new jl_IndexOutOfBoundsException; $par0World.$suppressionEnabled = 1; $par0World.$writableStackTrace = 1; $rt_throw($par0World); case 2: $tmp = nms_BlockChest_getInventory($var7, $par0World, $var8, $var9, $var10); if ($rt_suspending()) { break main; } $var7 = $tmp; b: { if ($var7 === null) { $var14 = null; $var13 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$13 = $par1 + 1.0; var$14 = $par3 + 1.0; var$15 = $par5 + 1.0; $var12 = $var13.$nextPoolIndex; var$16 = $var13.$listAABB; $var10 = var$16.$size0; $var9 = $rt_compare($var12, $var10); if ($var9 >= 0) { $var11 = new nms_AxisAlignedBB; $var11.$minX = $par1; $var11.$minY = $par3; $var11.$minZ = $par5; $var11.$maxX = var$13; $var11.$maxY = var$14; $var11.$maxZ = var$15; ju_ArrayList_ensureCapacity(var$16, $var10 + 1 | 0); var$17 = var$16.$array.data; $var10 = var$16.$size0; var$16.$size0 = $var10 + 1 | 0; var$17[$var10] = $var11; var$16.$modCount = var$16.$modCount + 1 | 0; } else if ($var12 >= 0 && $var9 < 0) { $var11 = var$16.$array.data[$var12]; $var11.$minX = $par1; $var11.$minY = $par3; $var11.$minZ = $par5; $var11.$maxX = var$13; $var11.$maxY = var$14; $var11.$maxZ = var$15; } else { $par0World = new jl_IndexOutOfBoundsException; $par0World.$suppressionEnabled = 1; $par0World.$writableStackTrace = 1; $rt_throw($par0World); } $var13.$nextPoolIndex = $var13.$nextPoolIndex + 1 | 0; $var14 = nms_World_getEntitiesWithinAABBExcludingEntity($par0World, $var14, $var11, nms_IEntitySelector_selectInventories); if ($var14 !== null) { var$18 = $var14.$size0; if (var$18 > 0) { $par0World = $par0World.$rand0; var$19 = Long_and(Long_add(Long_mul($par0World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0World.$seed = var$19; $var9 = Long_lo(Long_shru(var$19, 17)); $var12 = var$18 - 1 | 0; if (!(var$18 & $var12)) $var10 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$18), Long_fromInt($var9)), 31)); else while (true) { $var10 = $var9 % var$18 | 0; if ((($var9 - $var10 | 0) + $var12 | 0) >= 0) break; var$19 = Long_and(Long_add(Long_mul($par0World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par0World.$seed = var$19; $var9 = Long_lo(Long_shru(var$19, 17)); } if ($var10 < 0) break b; if ($var10 >= var$18) break b; $var7 = $var14.$array.data[$var10]; } } } return $var7; } $par0World = new jl_IndexOutOfBoundsException; $par0World.$suppressionEnabled = 1; $par0World.$writableStackTrace = 1; $rt_throw($par0World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($par0World, $par1, $par3, $par5, $var7, $var8, $var9, $var10, $var11, $var12, $var13, $var14, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_TileEntityHopper_getXPos = $this => { return $this.$xCoord0; }, nms_TileEntityHopper_getYPos = $this => { return $this.$yCoord0; }, nms_TileEntityHopper_getZPos = $this => { return $this.$zCoord0; }; function nms_TileEntityComparator() { nms_TileEntity.call(this); this.$outputSignal = 0; } let nms_TileEntityComparator__init_ = $this => { nms_TileEntity_$callClinit(); $this.$blockMetadata = (-1); }, nms_TileEntityComparator__init_0 = () => { let var_0 = new nms_TileEntityComparator(); nms_TileEntityComparator__init_(var_0); return var_0; }, nms_TileEntityComparator_writeToNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3; nms_TileEntity_writeToNBT($this, $par1NBTTagCompound); var$2 = $this.$outputSignal; var$3 = $par1NBTTagCompound.$tagMap; $par1NBTTagCompound = new nms_NBTTagInt; $par1NBTTagCompound.$name = $rt_s(3606); $par1NBTTagCompound.$data0 = var$2; ju_HashMap_putImpl(var$3, $rt_s(3606), $par1NBTTagCompound); }, nms_TileEntityComparator_readFromNBT = ($this, $par1NBTTagCompound) => { let var$2, var$3, var$4, var$5, var$6, var$7; a: { var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break a; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { b: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(544) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { c: { if (!$rt_s(544).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(544).$nativeString.length) break c; $rt_s(544).$hashCode1 = (31 * $rt_s(544).$hashCode1 | 0) + $rt_s(544).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(544).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { d: { var$6 = var$2.$key; if ($rt_s(544) !== var$6) { if ($rt_s(544) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(544).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } e: { $this.$xCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break e; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { f: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break f; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2392) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { g: { if (!$rt_s(2392).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2392).$nativeString.length) break g; $rt_s(2392).$hashCode1 = (31 * $rt_s(2392).$hashCode1 | 0) + $rt_s(2392).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2392).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { h: { var$6 = var$2.$key; if ($rt_s(2392) !== var$6) { if ($rt_s(2392) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2392).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break h; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } i: { $this.$yCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break i; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { j: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break j; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { var$2 = $par1NBTTagCompound.$tagMap; if ($rt_s(2393) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { k: { if (!$rt_s(2393).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(2393).$nativeString.length) break k; $rt_s(2393).$hashCode1 = (31 * $rt_s(2393).$hashCode1 | 0) + $rt_s(2393).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(2393).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { l: { var$6 = var$2.$key; if ($rt_s(2393) !== var$6) { if ($rt_s(2393) === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $rt_s(2393).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break l; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } var$3 = (var$2 === null ? null : var$2.$value1).$data0; } m: { $this.$zCoord0 = var$3; var$2 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3606).$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $rt_s(3606).$nativeString.length) break m; $rt_s(3606).$hashCode1 = (31 * $rt_s(3606).$hashCode1 | 0) + $rt_s(3606).$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$3 = $rt_s(3606).$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$3) { n: { var$6 = var$2.$key; if ($rt_s(3606) !== var$6) { if ($rt_s(3606) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(3606).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break n; } } var$7 = 1; } if (var$7) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(3606) === null) { var$6 = $par1NBTTagCompound.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { o: { if (!$rt_s(3606).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3606).$nativeString.length) break o; $rt_s(3606).$hashCode1 = (31 * $rt_s(3606).$hashCode1 | 0) + $rt_s(3606).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$7 = $rt_s(3606).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; var$6 = var$5[var$7 & (var$5.length - 1 | 0)]; while (var$6 !== null) { if (var$6.$origKeyHash == var$7) { p: { $par1NBTTagCompound = var$6.$key; if ($rt_s(3606) !== $par1NBTTagCompound) { if ($rt_s(3606) === $par1NBTTagCompound) var$3 = 1; else if (!($par1NBTTagCompound instanceof jl_String)) var$3 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound; var$3 = $rt_s(3606).$nativeString !== $par1NBTTagCompound.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break p; } } var$3 = 1; } if (var$3) break; } var$6 = var$6.$next3; } } var$3 = (var$6 === null ? null : var$6.$value1).$data0; } $this.$outputSignal = var$3; }, nlea_EaglerAdapterImpl2$StupidFunctionResolveString = $rt_classWithoutFields(0); function nlea_EaglerAdapterImpl2$33() { let a = this; jl_Object.call(a); a.$val$start = Long_ZERO; a.$val$cb16 = null; } let nlea_EaglerAdapterImpl2$33_resolveStr$exported$0 = (var$0, var$1) => { var$1 = $rt_str(var$1); nlea_EaglerAdapterImpl2_$callClinit(); if (Long_gt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), var$0.$val$start), Long_fromInt(500))) nlea_EaglerAdapterImpl2_unpressCTRL = 1; var$0.$val$cb16.$realAsyncCallback.$complete(var$1); }, nlea_EaglerAdapterImpl2$32 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$32__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$32__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$32(); nlea_EaglerAdapterImpl2$32__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$32_handleEvent$exported$0 = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; if (jl_System_errCache === null) { var$2 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; jl_Object__init_(var$3); var$3.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$2); var$2.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$3); var$2.$sb = var$3; var$2.$buffer0 = $rt_createCharArray(32); var$2.$autoFlush = 0; var$2.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$2; } var$1 = $rt_str(var$1.error); var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$2, var$2.$length0, $rt_s(3607)); var$4 = var$2.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_StringBuilder_insert(var$2, var$4, var$1); var$1 = new jl_String; var$5 = var$2.$buffer; var$6 = var$5.data; var$7 = var$2.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); $rt_putStderr($rt_ustr(var$1)); $rt_putStderr("\n"); return; } var$1 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$1); $rt_throw(var$1); }, otjw_AbstractWorker = $rt_classWithoutFields(0), nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandler = $rt_classWithoutFields(0), nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl(); nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl_onMessage = ($this, $channel, $buf) => { let var$3, $existingQueue, $$je; if ($channel !== null) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_serverAlive = 1; var$3 = nlea_EaglerAdapterImpl2_workerMessageQueue; jl_Object_monitorEnterSync(var$3); a: { b: { try { $existingQueue = ju_HashMap_get(var$3, $channel); if ($existingQueue !== null) break b; $buf = jl_System_err(); $existingQueue = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append($existingQueue, $rt_s(3608)), $channel), $rt_s(3609)); otcic_JsConsolePrintStream_println($buf, jl_StringBuilder_toString($existingQueue)); jl_Object_monitorExitSync(var$3); } catch ($$e) { $$je = $rt_wrapException($$e); $channel = $$je; break a; } return; } c: { try { if ($buf !== null) break c; otcic_JsConsolePrintStream_println(jl_System_err(), $rt_s(3610)); jl_Object_monitorExitSync(var$3); } catch ($$e) { $$je = $rt_wrapException($$e); $channel = $$je; break a; } return; } try { $existingQueue.$add(nle_PKT__init_($channel, nleat_TeaVMUtils_wrapByteArrayBuffer($buf))); jl_Object_monitorExitSync(var$3); } catch ($$e) { $$je = $rt_wrapException($$e); $channel = $$je; break a; } return; } jl_Object_monitorExitSync(var$3); $rt_throw($channel); } if (jl_System_errCache === null) { $channel = new otcic_JSStderrPrintStream; $buf = new ji_ByteArrayOutputStream; $buf.$buf = $rt_createByteArray(32); $channel.$out0 = $buf; $buf = new jl_StringBuilder; jl_Object__init_($buf); $buf.$buffer = $rt_createCharArray(16); $channel.$sb = $buf; $channel.$buffer0 = $rt_createCharArray(32); $channel.$autoFlush = 0; $channel.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $channel; } $rt_putStderr("Recieved IPC packet with null channel"); $rt_putStderr("\n"); }, nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl_onMessage$exported$0 = (var$0, var$1, var$2) => { nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl_onMessage(var$0, $rt_str(var$1), var$2); }; function jl_Thread$switchContext$lambda$_19_0() { let a = this; jl_Object.call(a); a.$_010 = null; a.$_12 = null; } let jl_Thread$switchContext$lambda$_19_0_run = var$0 => { let var$1, var$2; var$1 = var$0.$_010; var$2 = var$0.$_12; if (jl_Thread_currentThread !== var$1) jl_Thread_currentThread = var$1; jl_Thread_currentThread.$timeSliceStart = jl_System_currentTimeMillis(); var$1 = null; var$2.$realAsyncCallback.$complete(var$1); }; function otjde_Registration() { let a = this; jl_Object.call(a); a.$target1 = null; a.$type9 = null; a.$listener = null; a.$useCapture = null; } let jn_ShortBuffer = $rt_classWithoutFields(jn_Buffer), jn_LongBuffer = $rt_classWithoutFields(jn_Buffer), jn_DoubleBuffer = $rt_classWithoutFields(jn_Buffer); function nms_EnumGameType() { let a = this; jl_Enum.call(a); a.$id6 = 0; a.$name13 = null; } let nms_EnumGameType_NOT_SET = null, nms_EnumGameType_SURVIVAL = null, nms_EnumGameType_CREATIVE = null, nms_EnumGameType_ADVENTURE = null, nms_EnumGameType_$VALUES = null, nms_EnumGameType_configurePlayerCapabilities = ($this, $par1PlayerCapabilities) => { if ($this === nms_EnumGameType_CREATIVE) { $par1PlayerCapabilities.$allowFlying = 1; $par1PlayerCapabilities.$isCreativeMode = 1; $par1PlayerCapabilities.$disableDamage = 1; } else { $par1PlayerCapabilities.$allowFlying = 0; $par1PlayerCapabilities.$isCreativeMode = 0; $par1PlayerCapabilities.$disableDamage = 0; $par1PlayerCapabilities.$isFlying = 0; } $par1PlayerCapabilities.$allowEdit = ($this !== nms_EnumGameType_ADVENTURE ? 0 : 1) ? 0 : 1; }, nms_EnumGameType__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nms_EnumGameType; var$1.$name0 = $rt_s(3611); var$1.$ordinal = 0; var$1.$id6 = (-1); var$1.$name13 = $rt_s(18); nms_EnumGameType_NOT_SET = var$1; var$2 = new nms_EnumGameType; var$2.$name0 = $rt_s(3612); var$2.$ordinal = 1; var$2.$id6 = 0; var$2.$name13 = $rt_s(3231); nms_EnumGameType_SURVIVAL = var$2; var$3 = new nms_EnumGameType; var$3.$name0 = $rt_s(3613); var$3.$ordinal = 2; var$3.$id6 = 1; var$3.$name13 = $rt_s(3589); nms_EnumGameType_CREATIVE = var$3; var$4 = new nms_EnumGameType; var$4.$name0 = $rt_s(3614); var$4.$ordinal = 3; var$4.$id6 = 2; var$4.$name13 = $rt_s(3590); nms_EnumGameType_ADVENTURE = var$4; nms_EnumGameType_$VALUES = $rt_wrapArray(nms_EnumGameType, [var$1, var$2, var$3, var$4]); }; function nms_GuiSlot() { let a = this; jl_Object.call(a); a.$mc9 = null; a.$width7 = 0; a.$height10 = 0; a.$top = 0; a.$bottom = 0; a.$right0 = 0; a.$left0 = 0; a.$slotHeight = 0; a.$scrollUpButtonID = 0; a.$scrollDownButtonID = 0; a.$mouseX = 0; a.$mouseY = 0; a.$initialClickY = 0.0; a.$scrollMultiplier = 0.0; a.$amountScrolled = 0.0; a.$selectedElement = 0; a.$lastClicked = Long_ZERO; a.$showSelectionBox = 0; a.$field_77243_s = 0; a.$field_77242_t = 0; a.$elementWidth = 0; } let nms_GuiSlot_tex = null, nms_GuiSlot_$callClinit = () => { nms_GuiSlot_$callClinit = $rt_eraseClinit(nms_GuiSlot); nms_GuiSlot__clinit_(); }, nms_GuiSlot__init_ = ($this, $par1Minecraft, $par2, $par3, $par4, $par5, $par6) => { nms_GuiSlot_$callClinit(); $this.$initialClickY = (-2.0); $this.$selectedElement = (-1); $this.$lastClicked = Long_ZERO; $this.$showSelectionBox = 1; $this.$elementWidth = 110; $this.$mc9 = $par1Minecraft; $this.$width7 = $par2; $this.$height10 = $par3; $this.$top = $par4; $this.$bottom = $par5; $this.$slotHeight = $par6; $this.$left0 = 0; $this.$right0 = $par2; }, nms_GuiSlot_getContentHeight = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $this.$getSize(); if ($rt_suspending()) { break main; } var$1 = $tmp; return $rt_imul(var$1, $this.$slotHeight) + $this.$field_77242_t | 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_GuiSlot_func_77222_a = ($this, $par1, $par2, $par3Tessellator) => { return; }, nms_GuiSlot_func_77224_a = ($this, $par1, $par2) => { return; }, nms_GuiSlot_func_77215_b = ($this, $par1, $par2) => { return; }, nms_GuiSlot_func_77209_d = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $this.$getContentHeight(); if ($rt_suspending()) { break main; } var$1 = $tmp; return var$1 - (($this.$bottom - $this.$top | 0) - 4 | 0) | 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_GuiSlot_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled) { var$2 = $par1GuiButton.$id0; if (var$2 == $this.$scrollUpButtonID) { $this.$amountScrolled = $this.$amountScrolled - (($this.$slotHeight * 2 | 0) / 3 | 0); $this.$initialClickY = (-2.0); $ptr = 1; continue main; } if (var$2 == $this.$scrollDownButtonID) { $this.$amountScrolled = $this.$amountScrolled + (($this.$slotHeight * 2 | 0) / 3 | 0); $this.$initialClickY = (-2.0); $ptr = 2; continue main; } } return; case 1: $tmp = $this.$getContentHeight(); if ($rt_suspending()) { break main; } var$2 = $tmp; var$2 = var$2 - (($this.$bottom - $this.$top | 0) - 4 | 0) | 0; if (var$2 < 0) var$2 = var$2 / 2 | 0; if ($this.$amountScrolled < 0.0) $this.$amountScrolled = 0.0; var$3 = $this.$amountScrolled; var$4 = var$2; if (var$3 > var$4) $this.$amountScrolled = var$4; return; case 2: $tmp = $this.$getContentHeight(); if ($rt_suspending()) { break main; } var$2 = $tmp; var$2 = var$2 - (($this.$bottom - $this.$top | 0) - 4 | 0) | 0; if (var$2 < 0) var$2 = var$2 / 2 | 0; if ($this.$amountScrolled < 0.0) $this.$amountScrolled = 0.0; var$3 = $this.$amountScrolled; var$4 = var$2; if (var$3 > var$4) $this.$amountScrolled = var$4; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, $ptr); }, nms_GuiSlot_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, $var5, $var6, $var18, var$8, $var16, $var7, $var9, $var10, $var11, $var8, $var9_0, $var12, $var17, var$18, var$19, var$20, var$21, var$22, var$23, $var19, $var20, $var13, $var14, $var14_0, $var15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var15 = $thread.pop();$var14_0 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$var17 = $thread.pop();$var12 = $thread.pop();$var9_0 = $thread.pop();$var8 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var16 = $thread.pop();var$8 = $thread.pop();$var18 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$mouseX = $par1; $this.$mouseY = $par2; $ptr = 1; case 1: $this.$drawBackground0(); if ($rt_suspending()) { break main; } $ptr = 2; case 2: $tmp = $this.$getSize(); if ($rt_suspending()) { break main; } $var4 = $tmp; $var5 = $this.$getScrollBarX(); $var6 = $var5 + 6 | 0; nlea_EaglerAdapterImpl2_$callClinit(); if (!nlea_EaglerAdapterImpl2_buttonStates.data[0]) { while (true) { nlea_EaglerAdapterImpl2_currentEvent = null; $var18 = nlea_EaglerAdapterImpl2_mouseEvents; $par1 = $var18.$size2 ? 0 : 1; a: { if (!$par1) { $var18 = ju_LinkedList_listIterator($var18, 0); var$8 = ju_LinkedList$SequentialListIterator_next($var18); ju_LinkedList$SequentialListIterator_remove($var18); otji_JSWrapper_$callClinit(); $var18 = var$8 === null ? null : var$8[$rt_jso_marker] === true ? var$8 : var$8.$js; nlea_EaglerAdapterImpl2_currentEvent = $var18; if ($var18 !== null) { $par1 = 1; break a; } } $par1 = 0; } if (!$par1) break; $var16 = nlea_EaglerAdapterImpl2_mouseGetEventDWheel(); if ($var16) { if ($var16 > 0) $var16 = (-1); else if ($var16 < 0) $var16 = 1; $this.$amountScrolled = $this.$amountScrolled + ($rt_imul($var16, $this.$slotHeight) / 2 | 0); } } $this.$initialClickY = (-1.0); } else { $par3 = $this.$initialClickY; if ($par3 === (-1.0)) { $var7 = 1; $var9 = $this.$top; if ($par2 >= $var9 && $par2 <= $this.$bottom) { $var10 = $this.$width7 / 2 | 0; $var11 = $this.$elementWidth; $var8 = $var10 - $var11 | 0; $var9_0 = $var10 + $var11 | 0; $var10 = ((($par2 - $var9 | 0) - $this.$field_77242_t | 0) + ($this.$amountScrolled | 0) | 0) - 4 | 0; $var11 = $var10 / $this.$slotHeight | 0; $var9 = $rt_compare($par1, $var8); if ($var9 >= 0 && $par1 <= $var9_0 && $var11 >= 0 && $var10 >= 0 && $var11 < $var4) { $var12 = $var11 == $this.$selectedElement && Long_lt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$lastClicked), Long_fromInt(250)) ? 1 : 0; $ptr = 9; continue main; } if ($var9 >= 0 && $par1 <= $var9_0 && $var10 < 0) $var7 = 0; if ($par1 >= $var5 && $par1 <= $var6) { $this.$scrollMultiplier = (-1.0); $ptr = 5; continue main; } $this.$scrollMultiplier = 1.0; if (!$var7) $this.$initialClickY = (-2.0); else $this.$initialClickY = $par2; } else $this.$initialClickY = (-2.0); } else if ($par3 >= 0.0) { $var17 = $this.$amountScrolled; var$18 = $par2; $this.$amountScrolled = $var17 - (var$18 - $par3) * $this.$scrollMultiplier; $this.$initialClickY = var$18; } } $ptr = 3; case 3: $tmp = $this.$getContentHeight(); if ($rt_suspending()) { break main; } $par1 = $tmp; $par1 = $par1 - (($this.$bottom - $this.$top | 0) - 4 | 0) | 0; if ($par1 < 0) $par1 = $par1 / 2 | 0; if ($this.$amountScrolled < 0.0) $this.$amountScrolled = 0.0; $par3 = $this.$amountScrolled; $var17 = $par1; if ($par3 > $var17) $this.$amountScrolled = $var17; nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2912); nlea_Tessellator_$callClinit(); $var18 = nlea_Tessellator_instance; var$8 = nms_GuiSlot_tex; $ptr = 4; case 4: nle_TextureLocation_bindTexture(var$8); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; if ($var18.$isDrawing) nlea_Tessellator_draw($var18); $var18.$isDrawing = 1; $var18.$vertexCount = 0; $var18.$rawBufferIndex = 0; $var18.$addedVertices = 0; $var18.$drawMode = 7; $var18.$hasNormals = 0; $var18.$hasColor = 0; $var18.$hasTexture = 0; $var18.$hasBrightness = 0; $var18.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var18, 32, 32, 32, 255); $par2 = $this.$left0; var$19 = $par2; $par1 = $this.$bottom; var$20 = $par1; var$21 = $par2 / 32.0; var$22 = ($par1 + ($this.$amountScrolled | 0) | 0) / 32.0; $var18.$hasTexture = 1; $var18.$textureU = var$21; $var18.$textureV = var$22; nlea_Tessellator_addVertex($var18, var$19, var$20, 0.0); $par1 = $this.$right0; var$23 = $par1; $par2 = $this.$bottom; var$20 = $par2; var$22 = $par1 / 32.0; var$19 = ($par2 + ($this.$amountScrolled | 0) | 0) / 32.0; $var18.$hasTexture = 1; $var18.$textureU = var$22; $var18.$textureV = var$19; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); $par1 = $this.$right0; var$23 = $par1; $par2 = $this.$top; var$20 = $par2; var$22 = $par1 / 32.0; var$19 = ($par2 + ($this.$amountScrolled | 0) | 0) / 32.0; $var18.$hasTexture = 1; $var18.$textureU = var$22; $var18.$textureV = var$19; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); $par1 = $this.$left0; var$23 = $par1; $par2 = $this.$top; var$20 = $par2; var$22 = $par1 / 32.0; var$19 = ($par2 + ($this.$amountScrolled | 0) | 0) / 32.0; $var18.$hasTexture = 1; $var18.$textureU = var$22; $var18.$textureV = var$19; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); nlea_Tessellator_draw($var18); $var9 = (($this.$width7 / 2 | 0) + 2 | 0) - $this.$elementWidth | 0; $var10 = ($this.$top + 4 | 0) - ($this.$amountScrolled | 0) | 0; nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); $var11 = 0; $par2 = 128; $var16 = 128; $var12 = 128; $par3 = 0.0; $var17 = 1.0; $var7 = 0; $var8 = 0; $var9_0 = 0; while (true) { if ($var11 >= $var4) { nleg_EaglerAdapterGL30_glDisable(2929); $var19 = 4; $var4 = 0; $var9 = $this.$top; $var10 = 255; $par1 = 255; $ptr = 6; continue main; } $par1 = $this.$slotHeight; $var20 = ($var10 + $rt_imul($var11, $par1) | 0) + $this.$field_77242_t | 0; $var13 = $par1 - 4 | 0; if ($var20 <= $this.$bottom) { $par1 = $var20 + $var13 | 0; if ($par1 >= $this.$top) break; } $var11 = $var11 + 1 | 0; } if (!$this.$showSelectionBox) { $ptr = 12; continue main; } $ptr = 13; continue main; case 5: $tmp = $this.$getContentHeight(); if ($rt_suspending()) { break main; } $par1 = $tmp; $var9 = $this.$bottom - $this.$top | 0; $var20 = $par1 - ($var9 - 4 | 0) | 0; if ($var20 < 1) $var20 = 1; $par3 = $rt_imul($var9, $var9); $ptr = 8; continue main; case 6: nms_GuiSlot_overlayBackground($this, $var4, $var9, $var10, $par1); if ($rt_suspending()) { break main; } $par1 = $this.$bottom; $var4 = $this.$height10; $var9 = 255; $var10 = 255; $ptr = 7; case 7: nms_GuiSlot_overlayBackground($this, $par1, $var4, $var9, $var10); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); nleg_EaglerAdapterGL30_glDisable(3008); nleg_EaglerAdapterGL30_glDisable(3553); if ($var18.$isDrawing) nlea_Tessellator_draw($var18); $var18.$isDrawing = 1; $var18.$vertexCount = 0; $var18.$rawBufferIndex = 0; $var18.$addedVertices = 0; $var18.$drawMode = 7; $var18.$hasNormals = 0; $var18.$hasColor = 0; $var18.$hasTexture = 0; $var18.$hasBrightness = 0; $var18.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var18, $var7, $var8, $var9_0, 0); var$23 = $this.$left0; var$20 = $this.$top + $var19 | 0; $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); var$23 = $this.$right0; var$20 = $this.$top + $var19 | 0; $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); nlea_Tessellator_setColorRGBA($var18, $var7, $var8, $var9_0, 255); var$23 = $this.$right0; var$20 = $this.$top; $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); var$23 = $this.$left0; var$20 = $this.$top; $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); nlea_Tessellator_draw($var18); if ($var18.$isDrawing) nlea_Tessellator_draw($var18); $var18.$isDrawing = 1; $var18.$vertexCount = 0; $var18.$rawBufferIndex = 0; $var18.$addedVertices = 0; $var18.$drawMode = 7; $var18.$hasNormals = 0; $var18.$hasColor = 0; $var18.$hasTexture = 0; $var18.$hasBrightness = 0; $var18.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var18, $var7, $var8, $var9_0, 255); var$23 = $this.$left0; var$20 = $this.$bottom; $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); var$23 = $this.$right0; var$20 = $this.$bottom; $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); nlea_Tessellator_setColorRGBA($var18, $var7, $var8, $var9_0, 0); var$23 = $this.$right0; var$20 = $this.$bottom - $var19 | 0; $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); var$20 = $this.$left0; var$21 = $this.$bottom - $var19 | 0; $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$20, var$21, 0.0); nlea_Tessellator_draw($var18); $ptr = 10; continue main; case 8: $tmp = $this.$getContentHeight(); if ($rt_suspending()) { break main; } $par1 = $tmp; $var13 = $par3 / $par1 | 0; if ($var13 < 32) $var13 = 32; $par1 = $this.$bottom - $this.$top | 0; $var9 = $par1 - 8 | 0; if ($var13 <= $var9) $var9 = $var13; $this.$scrollMultiplier = $this.$scrollMultiplier / (($par1 - $var9 | 0) / $var20); if (!$var7) $this.$initialClickY = (-2.0); else $this.$initialClickY = $par2; $ptr = 3; continue main; case 9: $this.$elementClicked($var11, $var12); if ($rt_suspending()) { break main; } $this.$selectedElement = $var11; $this.$lastClicked = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if ($par1 >= $var5 && $par1 <= $var6) { $this.$scrollMultiplier = (-1.0); $ptr = 5; continue main; } $this.$scrollMultiplier = 1.0; if (!$var7) $this.$initialClickY = (-2.0); else $this.$initialClickY = $par2; $ptr = 3; continue main; case 10: $tmp = $this.$getContentHeight(); if ($rt_suspending()) { break main; } $par1 = $tmp; $var4 = $this.$bottom - $this.$top | 0; $var20 = $par1 - ($var4 - 4 | 0) | 0; if ($var20 <= 0) { nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glDisable(3042); return; } $par1 = $rt_imul($var4, $var4); $ptr = 11; case 11: $tmp = $this.$getContentHeight(); if ($rt_suspending()) { break main; } $var4 = $tmp; $var13 = $par1 / $var4 | 0; if ($var13 < 32) $var13 = 32; $par1 = $this.$bottom; $var4 = $this.$top; $par1 = $par1 - $var4 | 0; $var9 = $par1 - 8 | 0; if ($var13 <= $var9) $var9 = $var13; $var14 = ($rt_imul($this.$amountScrolled | 0, $par1 - $var9 | 0) / $var20 | 0) + $var4 | 0; if ($var14 >= $var4) $var4 = $var14; if ($var18.$isDrawing) nlea_Tessellator_draw($var18); $var18.$isDrawing = 1; $var18.$vertexCount = 0; $var18.$rawBufferIndex = 0; $var18.$addedVertices = 0; $var18.$drawMode = 7; $var18.$hasNormals = 0; $var18.$hasColor = 0; $var18.$hasTexture = 0; $var18.$hasBrightness = 0; $var18.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var18, $var7, $var8, $var9_0, 255); var$23 = $var5; var$20 = $this.$bottom; $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); var$20 = $var6; var$21 = $this.$bottom; $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$20, var$21, 0.0); var$21 = $this.$top; $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$20, var$21, 0.0); var$21 = $this.$top; $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$23, var$21, 0.0); nlea_Tessellator_draw($var18); if ($var18.$isDrawing) nlea_Tessellator_draw($var18); $var18.$isDrawing = 1; $var18.$vertexCount = 0; $var18.$rawBufferIndex = 0; $var18.$addedVertices = 0; $var18.$drawMode = 7; $var18.$hasNormals = 0; $var18.$hasColor = 0; $var18.$hasTexture = 0; $var18.$hasBrightness = 0; $var18.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var18, $par2, $var16, $var12, 255); $par1 = $var4 + $var9 | 0; var$21 = $par1; $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$23, var$21, 0.0); $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$20, var$21, 0.0); var$21 = $var4; $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$20, var$21, 0.0); $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$23, var$21, 0.0); nlea_Tessellator_draw($var18); if ($var18.$isDrawing) nlea_Tessellator_draw($var18); $var18.$isDrawing = 1; $var18.$vertexCount = 0; $var18.$rawBufferIndex = 0; $var18.$addedVertices = 0; $var18.$drawMode = 7; $var18.$hasNormals = 0; $var18.$hasColor = 0; $var18.$hasTexture = 0; $var18.$hasBrightness = 0; $var18.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var18, 192, 192, 192, 255); var$20 = $par1 - 1 | 0; $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); var$22 = $var6 - 1 | 0; $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$22, var$20, 0.0); $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$22, var$21, 0.0); $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$23, var$21, 0.0); nlea_Tessellator_draw($var18); nleg_EaglerAdapterGL30_glEnable(3553); nleg_EaglerAdapterGL30_glEnable(3008); nleg_EaglerAdapterGL30_glDisable(3042); return; case 12: $this.$drawSlot($var11, $var9, $var20, $var13, $var18); if ($rt_suspending()) { break main; } while (true) { $var11 = $var11 + 1 | 0; if ($var11 >= $var4) { nleg_EaglerAdapterGL30_glDisable(2929); $var19 = 4; $var4 = 0; $var9 = $this.$top; $var10 = 255; $par1 = 255; $ptr = 6; continue main; } $par1 = $this.$slotHeight; $var20 = ($var10 + $rt_imul($var11, $par1) | 0) + $this.$field_77242_t | 0; $var13 = $par1 - 4 | 0; if ($var20 > $this.$bottom) continue; $par1 = $var20 + $var13 | 0; if ($par1 < $this.$top) continue; else break; } if (!$this.$showSelectionBox) { continue main; } $ptr = 13; case 13: $tmp = $this.$isSelected($var11); if ($rt_suspending()) { break main; } $var19 = $tmp; if ($var19) { $var19 = $this.$width7 / 2 | 0; $var14 = $this.$elementWidth; $var14_0 = $var19 - ($var14 + 28 | 0) | 0; $var15 = $var19 + ($var14 + 14 | 0) | 0; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(3553); if ($var18.$isDrawing) nlea_Tessellator_draw($var18); $var18.$isDrawing = 1; $var18.$vertexCount = 0; $var18.$rawBufferIndex = 0; $var18.$addedVertices = 0; $var18.$drawMode = 7; $var18.$hasNormals = 0; $var18.$hasColor = 0; $var18.$hasTexture = 0; $var18.$hasBrightness = 0; $var18.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var18, $par2, $var16, $var12, 255); var$23 = $var14_0; var$20 = $par1 + 2 | 0; $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); var$21 = $var15; $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$21, var$20, 0.0); var$20 = $var20 - 2 | 0; $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$21, var$20, 0.0); $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); nlea_Tessellator_setColorRGBA($var18, $var7, $var8, $var9_0, 255); var$23 = $var14_0 + 1 | 0; var$20 = $par1 + 1 | 0; $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); var$21 = $var15 - 1 | 0; $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $var17; nlea_Tessellator_addVertex($var18, var$21, var$20, 0.0); var$20 = $var20 - 1 | 0; $var18.$hasTexture = 1; $var18.$textureU = $var17; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$21, var$20, 0.0); $var18.$hasTexture = 1; $var18.$textureU = $par3; $var18.$textureV = $par3; nlea_Tessellator_addVertex($var18, var$23, var$20, 0.0); nlea_Tessellator_draw($var18); nleg_EaglerAdapterGL30_glEnable(3553); } $ptr = 12; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var5, $var6, $var18, var$8, $var16, $var7, $var9, $var10, $var11, $var8, $var9_0, $var12, $var17, var$18, var$19, var$20, var$21, var$22, var$23, $var19, $var20, $var13, $var14, $var14_0, $var15, $ptr); }, nms_GuiSlot_getScrollBarX = $this => { return (($this.$width7 / 2 | 0) + $this.$elementWidth | 0) + 28 | 0; }, nms_GuiSlot_overlayBackground = ($this, $par1, $par2, $par3, $par4) => { let $var5, var$6, var$7, var$8, var$9, var$10, var$11, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_Tessellator_$callClinit(); $var5 = nlea_Tessellator_instance; nms_GuiSlot_$callClinit(); var$6 = nms_GuiSlot_tex; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$6); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; if ($var5.$isDrawing) nlea_Tessellator_draw($var5); $var5.$isDrawing = 1; $var5.$vertexCount = 0; $var5.$rawBufferIndex = 0; $var5.$addedVertices = 0; $var5.$drawMode = 7; $var5.$hasNormals = 0; $var5.$hasColor = 0; $var5.$hasTexture = 0; $var5.$hasBrightness = 0; $var5.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var5, 64, 64, 64, $par4); var$7 = $par2; var$8 = $par2 / 32.0; $var5.$hasTexture = 1; $var5.$textureU = 0.0; var$9 = var$8; $var5.$textureV = var$9; nlea_Tessellator_addVertex($var5, 0.0, var$7, 0.0); $par2 = $this.$width7; var$10 = $par2; var$8 = $par2 / 32.0; $var5.$hasTexture = 1; $var5.$textureU = var$8; $var5.$textureV = var$9; nlea_Tessellator_addVertex($var5, var$10, var$7, 0.0); nlea_Tessellator_setColorRGBA($var5, 64, 64, 64, $par3); $par2 = $this.$width7; var$10 = $par2; var$7 = $par1; var$8 = $par2 / 32.0; var$11 = $par1 / 32.0; $var5.$hasTexture = 1; $var5.$textureU = var$8; $var6 = var$11; $var5.$textureV = $var6; nlea_Tessellator_addVertex($var5, var$10, var$7, 0.0); $var5.$hasTexture = 1; $var5.$textureU = 0.0; $var5.$textureV = $var6; nlea_Tessellator_addVertex($var5, 0.0, var$7, 0.0); nlea_Tessellator_draw($var5); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, $var6, $ptr); }, nms_GuiSlot__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(643); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiSlot_tex = var$1; }; function nms_GuiWorldSlot() { nms_GuiSlot.call(this); this.$parentWorldGui = null; } let nms_GuiWorldSlot_getSize = $this => { return $this.$parentWorldGui.$saveList.$size2; }, nms_GuiWorldSlot_elementClicked = ($this, $par1, $par2) => { let var$3, $var3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$parentWorldGui; var$3.$selectedWorld = $par1; $var3 = $par1 >= 0 && $par1 < var$3.$saveList.$size2 ? 1 : 0; var$3.$buttonSelect0.$enabled = $var3; var$3.$buttonDelete.$enabled = $var3; var$3.$buttonRename.$enabled = $var3; var$3.$buttonBackup.$enabled = $var3; if ($par2 && $var3) { $ptr = 1; continue main; } return; case 1: nms_GuiSelectWorld_selectWorld(var$3, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, $var3, $ptr); }, nms_GuiWorldSlot_isSelected = ($this, $par1) => { return $par1 != $this.$parentWorldGui.$selectedWorld ? 0 : 1; }, nms_GuiWorldSlot_getContentHeight = $this => { return $this.$parentWorldGui.$saveList.$size2 * 36 | 0; }, nms_GuiWorldSlot_drawBackground = $this => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$parentWorldGui; var$2 = 0; if (var$1.$mc.$theWorld !== null) { nms_Gui_drawGradientRect(var$1, 0, 0, var$1.$width, var$1.$height, (-1072689136), (-804253680)); return; } $ptr = 1; case 1: nms_GuiScreen_drawBackground(var$1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); }, nms_GuiWorldSlot_drawSlot = ($this, $par1, $par2, $par3, $par4, $par5Tessellator) => { let $var8, $var9, $var6, $var7, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$par5Tessellator = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par5Tessellator = $this.$parentWorldGui.$saveList; if ($par1 < 0) { $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; $rt_throw($par5Tessellator); } $par5Tessellator = ju_LinkedList_listIterator($par5Tessellator, $par1); if ($par5Tessellator.$version < $par5Tessellator.$this$02.$modCount) { $par5Tessellator = new ju_ConcurrentModificationException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; $rt_throw($par5Tessellator); } $var8 = $par5Tessellator.$nextEntry1; if ($var8 === null) { $par5Tessellator = new ju_NoSuchElementException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; $rt_throw($par5Tessellator); } $var9 = $var8.$item; $par5Tessellator.$currentEntry = $var8; $par5Tessellator.$prevEntry = $var8; $par5Tessellator.$nextEntry1 = $var8.$next5; $par5Tessellator.$index4 = $par5Tessellator.$index4 + 1 | 0; $var6 = $var9; $var7 = $var6.$displayName2; if (!($var7 !== null && !(!$var7.$nativeString.length ? 1 : 0))) { $par5Tessellator = $this.$parentWorldGui.$localizedWorldText; var$10 = $par1 + 1 | 0; $var8 = new jl_StringBuilder; $var8.$buffer = $rt_createCharArray(16); $par1 = $var8.$length0; if ($par5Tessellator === null) $par5Tessellator = $rt_s(1); jl_AbstractStringBuilder_insert($var8, $par1, $par5Tessellator); $par1 = $var8.$length0; jl_AbstractStringBuilder_insertSpace($var8, $par1, $par1 + 1 | 0); $var8.$buffer.data[$par1] = 32; jl_AbstractStringBuilder_insert0($var8, $var8.$length0, var$10, 10); $var7 = new jl_String; var$11 = $var8.$buffer; var$12 = var$11.data; $par4 = $var8.$length0; var$10 = var$12.length; if ($par4 >= 0 && $par4 <= (var$10 - 0 | 0)) $var7.$nativeString = $rt_charArrayToString(var$11.data, 0, $par4); else { $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); } } $var8 = $var6.$fileName; var$13 = $this.$parentWorldGui.$dateFormatter; var$14 = $var6.$lastTimePlayed; $par5Tessellator = new jl_StringBuffer; $par5Tessellator.$buffer = $rt_createCharArray(16); $var9 = new ju_GregorianCalendar; var$15 = var$13.$locale; ju_TimeZone_$callClinit(); if (ju_TimeZone_defaultTz === null) { var$16 = otcit_DateTimeZoneProvider_detectTimezone(); if (var$16 === null) var$17 = null; else { var$17 = new ju_IANATimeZone; var$17.$id5 = var$16.$iID; var$17.$underlyingZone = var$16; $par1 = var$16.$getStandardOffset(jl_System_currentTimeMillis()); var$17.$rawOffset = $par1; var$17.$diff = -$par1 | 0; } ju_TimeZone_defaultTz = var$17; if (var$17 === null) ju_TimeZone_defaultTz = ju_TimeZone_GMT; } var$16 = ju_TimeZone_defaultTz; a: { try { var$17 = jl_Object_clone(var$16); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_CloneNotSupportedException) { } else { throw $$e; } } var$17 = null; } var$17.$rawOffset = var$16.$rawOffset; var$17.$underlyingZone = var$16.$underlyingZone; ju_GregorianCalendar__init_($var9, var$17, var$15); if (!($var9.$isTimeSet && $var9.$areFieldsSet && Long_eq($var9.$time, var$14))) { $var9.$time = var$14; $var9.$isTimeSet = 1; $var9.$areFieldsSet = 0; ju_GregorianCalendar_computeFields($var9); $var9.$areFieldsSet = 1; } $var9.$zone = var$13.$calendar.$zone; $var9.$areFieldsSet = 0; var$11 = var$13.$elements0.data; $par1 = var$11.length; $par4 = 0; while ($par4 < $par1) { var$11[$par4].$format($var9, $par5Tessellator); $par4 = $par4 + 1 | 0; } $var9 = new jl_String; var$11 = $par5Tessellator.$buffer; var$12 = var$11.data; $par4 = $par5Tessellator.$length0; var$10 = var$12.length; if ($par4 >= 0 && $par4 <= (var$10 - 0 | 0)) { $var9.$nativeString = $rt_charArrayToString(var$11.data, 0, $par4); var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); $par1 = var$15.$length0; if ($var8 === null) $var8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$15, $par1, $var8); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $rt_s(1542)); jl_AbstractStringBuilder_insert(var$15, var$15.$length0, $var9); $par5Tessellator = new jl_String; var$11 = var$15.$buffer; var$12 = var$11.data; $par4 = var$15.$length0; var$10 = var$12.length; if ($par4 >= 0 && $par4 <= (var$10 - 0 | 0)) { $par5Tessellator.$nativeString = $rt_charArrayToString(var$11.data, 0, $par4); $var9 = new jl_StringBuilder; $var9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var9, $var9.$length0, $par5Tessellator); $par1 = $var9.$length0; jl_AbstractStringBuilder_insertSpace($var9, $par1, $par1 + 1 | 0); var$11 = $var9.$buffer; var$12 = var$11.data; var$12[$par1] = 41; $var8 = new jl_String; $par4 = $var9.$length0; var$10 = var$12.length; if ($par4 >= 0 && $par4 <= (var$10 - 0 | 0)) { b: { $var8.$nativeString = $rt_charArrayToString(var$11.data, 0, $par4); if ($var6.$requiresConversion) { var$15 = $this.$parentWorldGui.$localizedMustConvertText; $par5Tessellator = new jl_StringBuilder; $par5Tessellator.$buffer = $rt_createCharArray(16); $par1 = $par5Tessellator.$length0; if (var$15 === null) var$15 = $rt_s(1); jl_AbstractStringBuilder_insert($par5Tessellator, $par1, var$15); var$10 = $par5Tessellator.$length0; jl_AbstractStringBuilder_insertSpace($par5Tessellator, var$10, var$10 + 1 | 0); $par5Tessellator.$buffer.data[var$10] = 32; jl_AbstractStringBuilder_insert($par5Tessellator, $par5Tessellator.$length0, $rt_s(18)); $var9 = new jl_String; var$11 = $par5Tessellator.$buffer; var$12 = var$11.data; $par4 = $par5Tessellator.$length0; var$10 = var$12.length; if ($par4 >= 0 && $par4 <= (var$10 - 0 | 0)) { $var9.$nativeString = $rt_charArrayToString(var$11.data, 0, $par4); break b; } $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); } $var9 = $this.$parentWorldGui.$localizedGameModeText.data[$var6.$theEnumGameType.$id6]; if ($var6.$hardcore0) { nms_EnumChatFormatting_$callClinit(); $par5Tessellator = nms_EnumChatFormatting_DARK_RED; var$16 = $par5Tessellator === null ? $rt_s(1) : $par5Tessellator.$field_96304_B; nms_StatCollector_$callClinit(); var$15 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3615)); $par5Tessellator = nms_EnumChatFormatting_RESET; $var9 = $par5Tessellator === null ? $rt_s(1) : $par5Tessellator.$field_96304_B; $par5Tessellator = new jl_StringBuilder; $par5Tessellator.$buffer = $rt_createCharArray(16); $par1 = $par5Tessellator.$length0; if (var$16 === null) var$16 = $rt_s(1); jl_AbstractStringBuilder_insert($par5Tessellator, $par1, var$16); $par1 = $par5Tessellator.$length0; if (var$15 === null) var$15 = $rt_s(1); jl_AbstractStringBuilder_insert($par5Tessellator, $par1, var$15); $par1 = $par5Tessellator.$length0; if ($var9 === null) $var9 = $rt_s(1); jl_AbstractStringBuilder_insert($par5Tessellator, $par1, $var9); $var9 = new jl_String; var$11 = $par5Tessellator.$buffer; var$12 = var$11.data; $par4 = $par5Tessellator.$length0; var$10 = var$12.length; if ($par4 >= 0 && $par4 <= (var$10 - 0 | 0)) $var9.$nativeString = $rt_charArrayToString(var$11.data, 0, $par4); else { $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); } } if ($var6.$cheatsEnabled) { nms_StatCollector_$callClinit(); var$15 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3616)); $par5Tessellator = new jl_StringBuilder; $par5Tessellator.$buffer = $rt_createCharArray(16); $par1 = $par5Tessellator.$length0; if ($var9 === null) $var9 = $rt_s(1); jl_AbstractStringBuilder_insert($par5Tessellator, $par1, $var9); jl_AbstractStringBuilder_insert($par5Tessellator, $par5Tessellator.$length0, $rt_s(25)); $par1 = $par5Tessellator.$length0; if (var$15 === null) var$15 = $rt_s(1); jl_AbstractStringBuilder_insert($par5Tessellator, $par1, var$15); $var9 = new jl_String; var$11 = $par5Tessellator.$buffer; var$12 = var$11.data; $par4 = $par5Tessellator.$length0; var$10 = var$12.length; if ($par4 >= 0 && $par4 <= (var$10 - 0 | 0)) $var9.$nativeString = $rt_charArrayToString(var$11.data, 0, $par4); else { $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); } } } $par5Tessellator = $this.$parentWorldGui.$fontRenderer; $par2 = $par2 + 2 | 0; $par1 = $par3 + 1 | 0; $par4 = 16777215; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; var$18 = $par2 + 1 | 0; var$10 = $par1 + 1 | 0; var$19 = 1; $ptr = 1; continue main; } $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); } $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); } $par5Tessellator = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par5Tessellator); $rt_throw($par5Tessellator); case 1: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var7, var$18, var$10, $par4, var$19); if ($rt_suspending()) { break main; } var$19 = $tmp; var$10 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var7, $par2, $par1, $par4, var$10); if ($rt_suspending()) { break main; } $par1 = $tmp; $par5Tessellator = $this.$parentWorldGui.$fontRenderer; $par1 = $par3 + 12 | 0; $par3 = 8421504; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $par4 = $par1 + 1 | 0; var$10 = 1; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var8, var$18, $par4, $par3, var$10); if ($rt_suspending()) { break main; } var$10 = $tmp; $par4 = 0; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var8, $par2, $par1, $par3, $par4); if ($rt_suspending()) { break main; } $par3 = $tmp; $par5Tessellator = $this.$parentWorldGui.$fontRenderer; $par1 = $par1 + 10 | 0; $par3 = 8421504; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $par4 = $par1 + 1 | 0; var$10 = 1; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var9, var$18, $par4, $par3, var$10); if ($rt_suspending()) { break main; } var$10 = $tmp; $par4 = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var9, $par2, $par1, $par3, $par4); if ($rt_suspending()) { break main; } $par1 = $tmp; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5Tessellator, $var8, $var9, $var6, $var7, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }; function nle_GuiScreenCreateWorldSelection() { let a = this; nms_GuiScreen.call(a); a.$mainmenu = null; a.$worldCreate = null; a.$worldImport = null; a.$worldVanilla = null; a.$isImportingEPK = 0; a.$isImportingMCA = 0; } let nle_GuiScreenCreateWorldSelection_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; var$2 = $this.$buttonList; var$3 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 100 | 0; var$5 = ($this.$height / 4 | 0) + 40 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(3617)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$3.$width0 = 200; var$3.$height0 = 20; var$3.$enabled = 1; var$3.$drawButton0 = 1; var$3.$id0 = 1; var$3.$xPosition = var$4; var$3.$yPosition = var$5; var$3.$width0 = 200; var$3.$height0 = 20; var$3.$displayString = var$6; $this.$worldCreate = var$3; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$7 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$7[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 100 | 0; var$9 = ($this.$height / 4 | 0) + 65 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3618)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 2; var$6.$xPosition = var$8; var$6.$yPosition = var$9; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = var$2; $this.$worldImport = var$6; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$10 = var$3.$size0; var$3.$size0 = var$10 + 1 | 0; var$7[var$10] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 100 | 0; var$4 = ($this.$height / 4 | 0) + 90 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3619)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 3; var$6.$xPosition = var$5; var$6.$yPosition = var$4; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = var$2; $this.$worldVanilla = var$6; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$7[var$5] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 100 | 0; var$4 = ($this.$height / 4 | 0) + 130 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(1626)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 0; var$6.$xPosition = var$5; var$6.$yPosition = var$4; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$7[var$5] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; }, nle_GuiScreenCreateWorldSelection_updateScreen = $this => { let var$1, var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); var$1 = nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult === null ? 0 : 1; a: { if (var$1) { if ($this.$isImportingEPK) break a; if ($this.$isImportingMCA) break a; } return; } var$2 = $this.$mc; var$3 = nle_GuiScreenNameWorldImport__init_0($this.$mainmenu, $rt_str(nlea_EaglerAdapterImpl2_fileChooser.fileChooserResultName), $this.$isImportingEPK ? 0 : !$this.$isImportingMCA ? (-1) : 1); $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$2, var$3); if ($rt_suspending()) { break main; } $this.$isImportingMCA = 0; $this.$isImportingEPK = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); }, nle_GuiScreenCreateWorldSelection_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, $toolTipColor, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$toolTipColor = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; $toolTipColor = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3620)); var$8 = $this.$width / 2 | 0; $toolTipColor = $this.$height / 4 | 0; var$9 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = $toolTipColor + 1 | 0; var$12 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, $toolTipColor); if ($rt_suspending()) { break main; } var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3620)); var$8 = $this.$width / 2 | 0; $toolTipColor = $this.$height / 4 | 0; var$9 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = $toolTipColor + 1 | 0; var$12 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$8, $toolTipColor, var$9, var$10); if ($rt_suspending()) { break main; } $toolTipColor = $tmp; $toolTipColor = 14540202; if ($this.$worldCreate.$field_82253_i) { var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3621)); var$8 = $this.$width / 2 | 0; var$9 = ($this.$height / 4 | 0) + 20 | 0; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = var$9 + 1 | 0; var$12 = 1; $ptr = 4; continue main; } if ($this.$worldImport.$field_82253_i) { var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3622)); var$9 = $this.$width / 2 | 0; var$12 = ($this.$height / 4 | 0) + 20 | 0; var$8 = var$9 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$9 = var$8 + 1 | 0; var$10 = var$12 + 1 | 0; var$11 = 1; $ptr = 6; continue main; } if ($this.$worldVanilla.$field_82253_i) { var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3623)); var$8 = $this.$width / 2 | 0; var$9 = ($this.$height / 4 | 0) + 20 | 0; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = var$9 + 1 | 0; var$12 = 1; $ptr = 8; continue main; } $toolTipColor = 0; var$7 = $this.$buttonList; var$8 = $rt_compare($toolTipColor, var$7.$size0); if (var$8 >= 0) return; if ($toolTipColor >= 0 && var$8 < 0) { var$7 = var$7.$array.data[$toolTipColor]; var$6 = $this.$mc; $ptr = 10; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 4: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, $toolTipColor, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$8, var$9, $toolTipColor, var$10); if ($rt_suspending()) { break main; } $toolTipColor = $tmp; $toolTipColor = 0; var$7 = $this.$buttonList; var$8 = $rt_compare($toolTipColor, var$7.$size0); if (var$8 >= 0) return; if ($toolTipColor >= 0 && var$8 < 0) { var$7 = var$7.$array.data[$toolTipColor]; var$6 = $this.$mc; $ptr = 10; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 6: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$9, var$10, $toolTipColor, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$8, var$12, $toolTipColor, var$9); if ($rt_suspending()) { break main; } $toolTipColor = $tmp; $toolTipColor = 0; var$7 = $this.$buttonList; var$8 = $rt_compare($toolTipColor, var$7.$size0); if (var$8 >= 0) return; if ($toolTipColor >= 0 && var$8 < 0) { var$7 = var$7.$array.data[$toolTipColor]; var$6 = $this.$mc; $ptr = 10; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 8: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, $toolTipColor, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 9; case 9: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$8, var$9, $toolTipColor, var$10); if ($rt_suspending()) { break main; } $toolTipColor = $tmp; $toolTipColor = 0; var$7 = $this.$buttonList; var$8 = $rt_compare($toolTipColor, var$7.$size0); if (var$8 >= 0) return; if ($toolTipColor >= 0 && var$8 < 0) { var$7 = var$7.$array.data[$toolTipColor]; var$6 = $this.$mc; $ptr = 10; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 10: var$7.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } $toolTipColor = $toolTipColor + 1 | 0; var$7 = $this.$buttonList; var$8 = $rt_compare($toolTipColor, var$7.$size0); if (var$8 >= 0) return; if ($toolTipColor >= 0 && var$8 < 0) { var$7 = var$7.$array.data[$toolTipColor]; var$6 = $this.$mc; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $toolTipColor, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nle_GuiScreenCreateWorldSelection_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1GuiButton.$id0; if (!var$2) { $par1GuiButton = $this.$mc; var$3 = $this.$mainmenu; $ptr = 1; continue main; } if (var$2 != 1) { if (var$2 == 2) { $this.$isImportingEPK = 1; var$3 = null; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_fileChooser.openFileChooser("epk", $rt_ustr(var$3)); } else if (var$2 == 3) { $this.$isImportingMCA = 1; var$3 = null; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_fileChooser.openFileChooser("zip", $rt_ustr(var$3)); } return; } $par1GuiButton = $this.$mc; var$3 = nms_GuiCreateWorld__init_($this.$mainmenu); $ptr = 2; continue main; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, $ptr); }; function nms_GuiRenameWorld() { let a = this; nms_GuiScreen.call(a); a.$parentGuiScreen0 = null; a.$theGuiTextField0 = null; a.$worldName7 = null; a.$duplicate = 0; } let nms_GuiRenameWorld_updateScreen = $this => { let var$1; var$1 = $this.$theGuiTextField0; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; }, nms_GuiRenameWorld_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, $var4, var$7, var$8, var$9, var$10, var$11; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; var$2 = $this.$buttonList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; $var4 = null; if (var$4 > var$5) { $var4 = new jl_IllegalArgumentException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = $var4; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; $var4 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 100 | 0; var$5 = (($this.$height / 4 | 0) + 96 | 0) + 12 | 0; var$9 = nms_StringTranslate_translateKey($var1, !$this.$duplicate ? $rt_s(3624) : $rt_s(3625)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); $var4.$width0 = 200; $var4.$height0 = 20; $var4.$enabled = 1; $var4.$drawButton0 = 1; $var4.$id0 = 0; $var4.$xPosition = var$8; $var4.$yPosition = var$5; $var4.$width0 = 200; $var4.$height0 = 20; $var4.$displayString = var$9; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = $var4; var$2.$modCount = var$2.$modCount + 1 | 0; $var4 = $this.$buttonList; var$2 = new nms_GuiButton; var$10 = ($this.$width / 2 | 0) - 100 | 0; var$11 = (($this.$height / 4 | 0) + 120 | 0) + 12 | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(1626)); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 1; var$2.$xPosition = var$10; var$2.$yPosition = var$11; var$2.$width0 = 200; var$2.$height0 = 20; var$2.$displayString = var$9; ju_ArrayList_ensureCapacity($var4, $var4.$size0 + 1 | 0); var$3 = $var4.$array.data; var$5 = $var4.$size0; $var4.$size0 = var$5 + 1 | 0; var$3[var$5] = var$2; $var4.$modCount = $var4.$modCount + 1 | 0; $var4 = $this.$worldName7; if ($this.$duplicate) { var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(3626)); var$4 = var$2.$length0; if ($var4 === null) $var4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$4, $var4); $var4 = new jl_String; var$3 = var$2.$buffer; var$7 = var$3.data; var$5 = var$2.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) $var4.$nativeString = $rt_charArrayToString(var$3.data, 0, var$5); else { $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var4); $rt_throw($var4); } } var$2 = nms_GuiTextField__init_($this.$fontRenderer, ($this.$width / 2 | 0) - 100 | 0, ($this.$height / 4 | 0) + 3 | 0, 200, 20); $this.$theGuiTextField0 = var$2; if (!var$2.$isFocused0) var$2.$cursorCounter = 0; var$2.$isFocused0 = 1; var$4 = $var4.$nativeString.length; var$5 = var$2.$maxStringLength; if (var$4 <= var$5) var$2.$text = $var4; else var$2.$text = jl_String_substring($var4, 0, var$5); var$2.$cursorPosition = var$2.$text.$nativeString.length; var$5 = var$2.$text.$nativeString.length; if (var$2.$cursorPosition < 0) var$2.$cursorPosition = 0; if (var$2.$cursorPosition > var$5) var$2.$cursorPosition = var$5; nms_GuiTextField_setSelectionPos(var$2, var$2.$cursorPosition); }, nms_GuiRenameWorld_onGuiClosed = $this => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; }, nms_GuiRenameWorld_actionPerformed = ($this, $par1GuiButton) => { let var$2, $str, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$str = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled) { var$2 = $par1GuiButton.$id0; if (var$2 == 1) { $par1GuiButton = $this.$mc; $str = $this.$parentGuiScreen0; $ptr = 1; continue main; } if (!var$2) { a: { $str = jl_String_trim($this.$theGuiTextField0.$text); if (!$this.$duplicate) { $par1GuiButton = $this.$worldName7; var$4 = nle_IntegratedServer_statusState; if (!(var$4 ? 0 : 1)) { $par1GuiButton = nle_IntegratedState_getStateName(var$4); $str = new jl_StringBuilder; $str.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($str, $str.$length0, $rt_s(1017)); jl_AbstractStringBuilder_insert0($str, $str.$length0, var$4, 10); jl_StringBuilder_insert($str, $str.$length0, $rt_s(1018)); var$5 = $str.$length0; if ($par1GuiButton === null) $par1GuiButton = $rt_s(1); jl_StringBuilder_insert($str, var$5, $par1GuiButton); jl_StringBuilder_insert($str, $str.$length0, $rt_s(1019)); $par1GuiButton = new jl_String; var$6 = $str.$buffer; var$7 = var$6.data; var$2 = $str.$length0; var$4 = var$7.length; if (var$2 >= 0 && var$2 <= (var$4 - 0 | 0)) { $par1GuiButton.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); $str = new jl_IllegalStateException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $str.$message = $par1GuiButton; $rt_throw($str); } $par1GuiButton = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1GuiButton); $rt_throw($par1GuiButton); } var$8 = new nlesi_IPCPacket06RenameWorldNBT; var$8.$worldName2 = $par1GuiButton; var$8.$displayName0 = $str; nle_IntegratedServer_sendIPCPacket(var$8); } else { $par1GuiButton = $this.$worldName7; var$6 = nms_ChatAllowedCharacters_allowedCharactersArray.data; var$2 = var$6.length; var$4 = 0; var$8 = $str; b: { c: while (true) { if (var$4 >= var$2) { if (var$8 !== null && var$8.$nativeString.length ? 0 : 1) var$8 = $rt_s(3578); var$9 = nms_GuiCreateWorld_func_73913_a(var$8); var$2 = nle_IntegratedServer_statusState; if (!(var$2 ? 0 : 1)) { $par1GuiButton = nle_IntegratedState_getStateName(var$2); $str = new jl_StringBuilder; $str.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert($str, $str.$length0, $rt_s(1017)); jl_AbstractStringBuilder_insert0($str, $str.$length0, var$2, 10); jl_StringBuilder_insert($str, $str.$length0, $rt_s(1018)); var$5 = $str.$length0; if ($par1GuiButton === null) $par1GuiButton = $rt_s(1); jl_StringBuilder_insert($str, var$5, $par1GuiButton); jl_StringBuilder_insert($str, $str.$length0, $rt_s(1019)); $par1GuiButton = new jl_String; var$6 = $str.$buffer; var$7 = var$6.data; var$2 = $str.$length0; var$4 = var$7.length; if (var$2 >= 0 && var$2 <= (var$4 - 0 | 0)) { $par1GuiButton.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); $str = new jl_IllegalStateException; $str.$suppressionEnabled = 1; $str.$writableStackTrace = 1; $str.$message = $par1GuiButton; $rt_throw($str); } $par1GuiButton = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1GuiButton); $rt_throw($par1GuiButton); } nle_IntegratedServer_statusState = 7; var$8 = new nlesi_IPCPacket04RenameWorld; var$8.$worldOldName = $par1GuiButton; var$8.$worldNewName = var$9; var$8.$displayName1 = $str; var$8.$copy0 = 1; nle_IntegratedServer_sendIPCPacket(var$8); break a; } var$10 = var$6[var$4]; if (var$10 != 95) { var$11 = $rt_createCharArray(var$8.$nativeString.length); var$7 = var$11.data; var$12 = 0; while (var$12 < var$8.$nativeString.length) { if (var$12 < 0) break b; if (var$12 >= var$8.$nativeString.length) break b; if (var$8.$nativeString.charCodeAt(var$12) == var$10) var$13 = 95; else { if (var$12 < 0) break c; if (var$12 >= var$8.$nativeString.length) break c; var$13 = var$8.$nativeString.charCodeAt(var$12); } var$7[var$12] = var$13; var$12 = var$12 + 1 | 0; } var$8 = new jl_String; var$8.$nativeString = ""; var$8.$nativeString = $rt_fullArrayToString(var$11.data); } var$4 = var$4 + 1 | 0; } $par1GuiButton = new jl_StringIndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1GuiButton); $rt_throw($par1GuiButton); } $par1GuiButton = new jl_StringIndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1GuiButton); $rt_throw($par1GuiButton); } } $par1GuiButton = $this.$mc; $str = new nle_GuiScreenSingleplayerLoading; var$8 = $this.$parentGuiScreen0; var$9 = !$this.$duplicate ? $rt_s(3627) : $rt_s(3628); var$14 = new jl_StringBuilder; var$14.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$14, var$14.$length0, $rt_s(3629)); jl_AbstractStringBuilder_insert(var$14, var$14.$length0, var$9); var$9 = new jl_String; var$6 = var$14.$buffer; var$7 = var$6.data; var$2 = var$14.$length0; var$4 = var$7.length; if (var$2 >= 0 && var$2 <= (var$4 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); var$14 = new nms_GuiRenameWorld$actionPerformed$lambda$_5_0; var$15 = nle_GuiScreenSingleplayerLoading_defaultExceptionAction; var$16 = nle_GuiScreenSingleplayerLoading_defaultTerminateAction; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$17 = new ju_ArrayList; var$17.$array = $rt_createArray(jl_Object, 10); $str.$buttonList = var$17; $str.$allowUserInput = 0; $str.$selectedButton = null; $str.$eventButton = 0; $str.$field_85043_c = Long_ZERO; $str.$field_92018_d = 0; $str.$menu = var$8; $str.$message0 = var$9; $str.$checkTaskComplete = var$14; $str.$onException = var$15; $str.$taskKill = var$16; $str.$lastStatus = nle_IntegratedServer_worldStatusString; $str.$currentStatus = var$9; $ptr = 2; continue main; } $par1GuiButton = new jl_IndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1GuiButton); $rt_throw($par1GuiButton); } } return; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, $str); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, $str); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $str, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_GuiRenameWorld_keyTyped = ($this, $par1, $par2) => { let var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$theGuiTextField0; $ptr = 1; case 1: nms_GuiTextField_textboxKeyTyped(var$3, $par1, $par2); if ($rt_suspending()) { break main; } var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3.$array.data[0].$enabled = (jl_String_trim($this.$theGuiTextField0.$text)).$nativeString.length <= 0 ? 0 : 1; if ($par1 != 13) return; var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = var$3.$array.data[0]; $ptr = 2; case 2: nms_GuiRenameWorld_actionPerformed($this, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, $ptr); }, nms_GuiRenameWorld_mouseClicked = ($this, $par1, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } nms_GuiTextField_mouseClicked($this.$theGuiTextField0, $par1, $par2, $par3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $ptr); }, nms_GuiRenameWorld_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; var$5 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$6 = $this.$fontRenderer; var$7 = !$this.$duplicate ? $rt_s(3630) : $rt_s(3631); var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3632)); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, var$7); var$9 = new jl_String; var$10 = var$8.$buffer; var$11 = var$10.data; var$12 = var$8.$length0; var$13 = var$11.length; if (var$12 >= 0 && var$12 <= (var$13 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$10.data, 0, var$12); var$8 = nms_StringTranslate_translateKey($var4, var$9); var$14 = $this.$width / 2 | 0; var$15 = (($this.$height / 4 | 0) - 60 | 0) + 20 | 0; var$13 = 16777215; var$5 = var$14 - (nms_FontRenderer_getStringWidth(var$6, var$8) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$12 = var$5 + 1 | 0; var$14 = var$15 + 1 | 0; var$16 = 1; $ptr = 2; continue main; } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$8); $rt_throw(var$8); case 1: nms_GuiScreen_drawBackground($this, var$5); if ($rt_suspending()) { break main; } var$6 = $this.$fontRenderer; var$7 = !$this.$duplicate ? $rt_s(3630) : $rt_s(3631); var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3632)); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, var$7); var$9 = new jl_String; var$10 = var$8.$buffer; var$11 = var$10.data; var$12 = var$8.$length0; var$13 = var$11.length; if (var$12 >= 0 && var$12 <= (var$13 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$10.data, 0, var$12); var$8 = nms_StringTranslate_translateKey($var4, var$9); var$14 = $this.$width / 2 | 0; var$15 = (($this.$height / 4 | 0) - 60 | 0) + 20 | 0; var$13 = 16777215; var$5 = var$14 - (nms_FontRenderer_getStringWidth(var$6, var$8) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$12 = var$5 + 1 | 0; var$14 = var$15 + 1 | 0; var$16 = 1; $ptr = 2; continue main; } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$8); $rt_throw(var$8); case 2: $tmp = nms_FontRenderer_renderString(var$6, var$8, var$12, var$14, var$13, var$16); if ($rt_suspending()) { break main; } var$14 = $tmp; var$12 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$6, var$8, var$5, var$15, var$13, var$12); if ($rt_suspending()) { break main; } var$5 = $tmp; var$9 = $this.$fontRenderer; var$8 = nms_StringTranslate_translateKey($var4, $rt_s(3633)); var$5 = ($this.$width / 2 | 0) - 100 | 0; var$12 = (($this.$height / 4 | 0) - 60 | 0) + 50 | 0; var$13 = 10526880; var$9.$randomStyle = 0; var$9.$boldStyle = 0; var$9.$italicStyle = 0; var$9.$underlineStyle = 0; var$9.$strikethroughStyle = 0; var$14 = var$5 + 1 | 0; var$15 = var$12 + 1 | 0; var$16 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$9, var$8, var$14, var$15, var$13, var$16); if ($rt_suspending()) { break main; } var$15 = $tmp; var$14 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$9, var$8, var$5, var$12, var$13, var$14); if ($rt_suspending()) { break main; } var$5 = $tmp; var$8 = $this.$theGuiTextField0; $ptr = 6; case 6: nms_GuiTextField_drawTextBox(var$8); if ($rt_suspending()) { break main; } var$5 = 0; var$8 = $this.$buttonList; var$12 = $rt_compare(var$5, var$8.$size0); if (var$12 >= 0) return; if (var$5 >= 0 && var$12 < 0) { var$8 = var$8.$array.data[var$5]; var$9 = $this.$mc; $ptr = 7; continue main; } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); case 7: var$8.$drawButton(var$9, $par1, $par2); if ($rt_suspending()) { break main; } var$5 = var$5 + 1 | 0; var$8 = $this.$buttonList; var$12 = $rt_compare(var$5, var$8.$size0); if (var$12 >= 0) return; if (var$5 >= 0 && var$12 < 0) { var$8 = var$8.$array.data[var$5]; var$9 = $this.$mc; continue main; } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }; function nle_GuiScreenBackupWorld() { let a = this; nms_GuiScreen.call(a); a.$selectWorld0 = null; a.$worldRecreate = null; a.$worldDuplicate = null; a.$worldExport = null; a.$worldConvert = null; a.$worldBackup = null; a.$worldSeed = Long_ZERO; a.$levelDat0 = null; a.$worldName = null; } let nle_GuiScreenBackupWorld_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; var$2 = $this.$buttonList; var$3 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 100 | 0; var$5 = ($this.$height / 5 | 0) + 15 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(3634)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$3.$width0 = 200; var$3.$height0 = 20; var$3.$enabled = 1; var$3.$drawButton0 = 1; var$3.$id0 = 1; var$3.$xPosition = var$4; var$3.$yPosition = var$5; var$3.$width0 = 200; var$3.$height0 = 20; var$3.$displayString = var$6; $this.$worldRecreate = var$3; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$7 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$7[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 100 | 0; var$4 = ($this.$height / 5 | 0) + 40 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3635)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 2; var$6.$xPosition = var$5; var$6.$yPosition = var$4; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = var$2; $this.$worldDuplicate = var$6; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$7[var$5] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$2 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 100 | 0; var$5 = ($this.$height / 5 | 0) + 90 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(3636)); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 3; var$2.$xPosition = var$8; var$2.$yPosition = var$5; var$2.$width0 = 200; var$2.$height0 = 20; var$2.$displayString = var$6; $this.$worldExport = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$7[var$5] = var$2; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 100 | 0; var$4 = ($this.$height / 5 | 0) + 115 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3637)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 4; var$6.$xPosition = var$5; var$6.$yPosition = var$4; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = var$2; $this.$worldConvert = var$6; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$7[var$5] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 100 | 0; var$4 = ($this.$height / 5 | 0) + 146 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3638)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 5; var$6.$xPosition = var$5; var$6.$yPosition = var$4; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = var$2; $this.$worldBackup = var$6; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$7[var$5] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$buttonList; var$6 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 100 | 0; var$9 = ($this.$height / 4 | 0) + 165 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(1626)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 0; var$6.$xPosition = var$5; var$6.$yPosition = var$9; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = var$2; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$7[var$5] = var$6; var$3.$modCount = var$3.$modCount + 1 | 0; }, nle_GuiScreenBackupWorld_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, $toolTipColor, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$toolTipColor = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; $toolTipColor = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3639)); var$8 = $this.$worldName; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); $toolTipColor = var$9.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, $toolTipColor, var$7); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1018)); $toolTipColor = var$9.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, $toolTipColor, var$8); var$10 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$10, var$10 + 1 | 0); var$11 = var$9.$buffer; var$12 = var$11.data; var$12[var$10] = 39; var$7 = new jl_String; var$10 = var$9.$length0; var$13 = var$12.length; if (var$10 >= 0 && var$10 <= (var$13 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$11.data, 0, var$10); var$10 = $this.$width / 2 | 0; $toolTipColor = ($this.$height / 5 | 0) - 25 | 0; var$13 = 16777215; var$10 = var$10 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$14 = var$10 + 1 | 0; var$15 = $toolTipColor + 1 | 0; var$16 = 1; $ptr = 2; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$7); $rt_throw(var$7); case 1: nms_GuiScreen_drawBackground($this, $toolTipColor); if ($rt_suspending()) { break main; } var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3639)); var$8 = $this.$worldName; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); $toolTipColor = var$9.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, $toolTipColor, var$7); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(1018)); $toolTipColor = var$9.$length0; if (var$8 === null) var$8 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, $toolTipColor, var$8); var$10 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$10, var$10 + 1 | 0); var$11 = var$9.$buffer; var$12 = var$11.data; var$12[var$10] = 39; var$7 = new jl_String; var$10 = var$9.$length0; var$13 = var$12.length; if (var$10 >= 0 && var$10 <= (var$13 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$11.data, 0, var$10); var$10 = $this.$width / 2 | 0; $toolTipColor = ($this.$height / 5 | 0) - 25 | 0; var$13 = 16777215; var$10 = var$10 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$14 = var$10 + 1 | 0; var$15 = $toolTipColor + 1 | 0; var$16 = 1; $ptr = 2; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$7); $rt_throw(var$7); case 2: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$14, var$15, var$13, var$16); if ($rt_suspending()) { break main; } var$15 = $tmp; var$14 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$10, $toolTipColor, var$13, var$14); if ($rt_suspending()) { break main; } $toolTipColor = $tmp; var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3640)); var$17 = $this.$worldSeed; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); $toolTipColor = var$8.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $toolTipColor, var$6); var$10 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$10, var$10 + 1 | 0); var$8.$buffer.data[var$10] = 32; jl_AbstractStringBuilder_insert2(var$8, var$8.$length0, var$17, 10); var$6 = new jl_String; var$11 = var$8.$buffer; var$12 = var$11.data; var$10 = var$8.$length0; var$13 = var$12.length; if (var$10 >= 0 && var$10 <= (var$13 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$11.data, 0, var$10); var$13 = $this.$width / 2 | 0; $toolTipColor = ($this.$height / 5 | 0) + 72 | 0; var$10 = 11184895; var$13 = var$13 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$14 = var$13 + 1 | 0; var$15 = $toolTipColor + 1 | 0; var$16 = 1; $ptr = 4; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$7); $rt_throw(var$7); case 4: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$14, var$15, var$10, var$16); if ($rt_suspending()) { break main; } var$15 = $tmp; var$14 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$13, $toolTipColor, var$10, var$14); if ($rt_suspending()) { break main; } $toolTipColor = $tmp; $toolTipColor = 14540202; if ($this.$worldRecreate.$field_82253_i) { var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3641)); var$10 = $this.$width / 2 | 0; var$13 = ($this.$height / 5 | 0) - 2 | 0; var$10 = var$10 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$14 = var$10 + 1 | 0; var$15 = var$13 + 1 | 0; var$16 = 1; $ptr = 6; continue main; } if ($this.$worldDuplicate.$field_82253_i) { var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3642)); var$10 = $this.$width / 2 | 0; var$13 = ($this.$height / 5 | 0) - 2 | 0; var$10 = var$10 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$14 = var$10 + 1 | 0; var$15 = var$13 + 1 | 0; var$16 = 1; $ptr = 8; continue main; } if ($this.$worldExport.$field_82253_i) { var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3643)); var$10 = $this.$width / 2 | 0; var$13 = ($this.$height / 5 | 0) - 2 | 0; var$10 = var$10 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$14 = var$10 + 1 | 0; var$15 = var$13 + 1 | 0; var$16 = 1; $ptr = 10; continue main; } if ($this.$worldConvert.$field_82253_i) { var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3644)); var$10 = $this.$width / 2 | 0; var$13 = ($this.$height / 5 | 0) - 2 | 0; var$14 = var$10 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$14 + 1 | 0; var$15 = var$13 + 1 | 0; var$16 = 1; $ptr = 12; continue main; } if ($this.$worldBackup.$field_82253_i) { var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3645)); var$10 = $this.$width / 2 | 0; var$13 = ($this.$height / 5 | 0) - 2 | 0; var$10 = var$10 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$14 = var$10 + 1 | 0; var$15 = var$13 + 1 | 0; var$16 = 1; $ptr = 14; continue main; } $toolTipColor = 0; var$7 = $this.$buttonList; var$10 = $rt_compare($toolTipColor, var$7.$size0); if (var$10 >= 0) return; if ($toolTipColor >= 0 && var$10 < 0) { var$7 = var$7.$array.data[$toolTipColor]; var$6 = $this.$mc; $ptr = 16; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 6: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$14, var$15, $toolTipColor, var$16); if ($rt_suspending()) { break main; } var$15 = $tmp; var$14 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$13, $toolTipColor, var$14); if ($rt_suspending()) { break main; } $toolTipColor = $tmp; $toolTipColor = 0; var$7 = $this.$buttonList; var$10 = $rt_compare($toolTipColor, var$7.$size0); if (var$10 >= 0) return; if ($toolTipColor >= 0 && var$10 < 0) { var$7 = var$7.$array.data[$toolTipColor]; var$6 = $this.$mc; $ptr = 16; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 8: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$14, var$15, $toolTipColor, var$16); if ($rt_suspending()) { break main; } var$15 = $tmp; var$14 = 0; $ptr = 9; case 9: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$13, $toolTipColor, var$14); if ($rt_suspending()) { break main; } $toolTipColor = $tmp; $toolTipColor = 0; var$7 = $this.$buttonList; var$10 = $rt_compare($toolTipColor, var$7.$size0); if (var$10 >= 0) return; if ($toolTipColor >= 0 && var$10 < 0) { var$7 = var$7.$array.data[$toolTipColor]; var$6 = $this.$mc; $ptr = 16; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 10: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$14, var$15, $toolTipColor, var$16); if ($rt_suspending()) { break main; } var$15 = $tmp; var$14 = 0; $ptr = 11; case 11: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$13, $toolTipColor, var$14); if ($rt_suspending()) { break main; } $toolTipColor = $tmp; $toolTipColor = 0; var$7 = $this.$buttonList; var$10 = $rt_compare($toolTipColor, var$7.$size0); if (var$10 >= 0) return; if ($toolTipColor >= 0 && var$10 < 0) { var$7 = var$7.$array.data[$toolTipColor]; var$6 = $this.$mc; $ptr = 16; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 12: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$15, $toolTipColor, var$16); if ($rt_suspending()) { break main; } var$15 = $tmp; var$10 = 0; $ptr = 13; case 13: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$14, var$13, $toolTipColor, var$10); if ($rt_suspending()) { break main; } $toolTipColor = $tmp; $toolTipColor = 0; var$7 = $this.$buttonList; var$10 = $rt_compare($toolTipColor, var$7.$size0); if (var$10 >= 0) return; if ($toolTipColor >= 0 && var$10 < 0) { var$7 = var$7.$array.data[$toolTipColor]; var$6 = $this.$mc; $ptr = 16; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 14: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$14, var$15, $toolTipColor, var$16); if ($rt_suspending()) { break main; } var$15 = $tmp; var$14 = 0; $ptr = 15; case 15: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$13, $toolTipColor, var$14); if ($rt_suspending()) { break main; } $toolTipColor = $tmp; $toolTipColor = 0; var$7 = $this.$buttonList; var$10 = $rt_compare($toolTipColor, var$7.$size0); if (var$10 >= 0) return; if ($toolTipColor >= 0 && var$10 < 0) { var$7 = var$7.$array.data[$toolTipColor]; var$6 = $this.$mc; $ptr = 16; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 16: var$7.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } $toolTipColor = $toolTipColor + 1 | 0; var$7 = $this.$buttonList; var$10 = $rt_compare($toolTipColor, var$7.$size0); if (var$10 >= 0) return; if ($toolTipColor >= 0 && var$10 < 0) { var$7 = var$7.$array.data[$toolTipColor]; var$6 = $this.$mc; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $toolTipColor, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nle_GuiScreenBackupWorld_actionPerformed = ($this, $par1GuiButton) => { let var$2, $cw, var$4, $var4, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$cw = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1GuiButton.$id0; if (!var$2) { $par1GuiButton = $this.$mc; $cw = $this.$selectWorld0; $ptr = 1; continue main; } if (var$2 != 1) { if (var$2 != 2) { if (var$2 == 3) { nle_IntegratedServer_exportWorld($this.$worldName, 1); $par1GuiButton = $this.$mc; $cw = new nle_GuiScreenSingleplayerLoading; var$4 = $this.$selectWorld0; $var4 = new nle_GuiScreenBackupWorld$actionPerformed$lambda$_3_0; $var4.$_04 = $this; var$6 = nle_GuiScreenSingleplayerLoading_defaultExceptionAction; var$7 = nle_GuiScreenSingleplayerLoading_defaultTerminateAction; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); $cw.$buttonList = var$8; $cw.$allowUserInput = 0; $cw.$selectedButton = null; $cw.$eventButton = 0; $cw.$field_85043_c = Long_ZERO; $cw.$field_92018_d = 0; $cw.$menu = var$4; $cw.$message0 = $rt_s(3646); $cw.$checkTaskComplete = $var4; $cw.$onException = var$6; $cw.$taskKill = var$7; $cw.$lastStatus = nle_IntegratedServer_worldStatusString; $cw.$currentStatus = $rt_s(3646); $ptr = 2; continue main; } if (var$2 == 4) { nle_IntegratedServer_exportWorld($this.$worldName, 2); $par1GuiButton = $this.$mc; $cw = new nle_GuiScreenSingleplayerLoading; var$4 = $this.$selectWorld0; $var4 = new nle_GuiScreenBackupWorld$actionPerformed$lambda$_3_1; $var4.$_06 = $this; var$6 = nle_GuiScreenSingleplayerLoading_defaultExceptionAction; var$7 = nle_GuiScreenSingleplayerLoading_defaultTerminateAction; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); $cw.$buttonList = var$8; $cw.$allowUserInput = 0; $cw.$selectedButton = null; $cw.$eventButton = 0; $cw.$field_85043_c = Long_ZERO; $cw.$field_92018_d = 0; $cw.$menu = var$4; $cw.$message0 = $rt_s(3647); $cw.$checkTaskComplete = $var4; $cw.$onException = var$6; $cw.$taskKill = var$7; $cw.$lastStatus = nle_IntegratedServer_worldStatusString; $cw.$currentStatus = $rt_s(3647); $ptr = 3; continue main; } if (var$2 == 5) { nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; $cw = $this.$mc; var$4 = new nms_GuiYesNo; var$9 = nms_StringTranslate_translateKey($var4, $rt_s(3648)); $par1GuiButton = jl_String_replace(nms_StringTranslate_translateKey($var4, $rt_s(3649)), $rt_s(3650), $this.$worldName); nle_EaglerProfile_$callClinit(); $par1GuiButton = jl_String_replace($par1GuiButton, $rt_s(3651), nle_EaglerProfile_username); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); var$4.$buttonList = $var4; var$4.$allowUserInput = 0; var$4.$selectedButton = null; var$4.$eventButton = 0; var$4.$field_85043_c = Long_ZERO; var$4.$field_92018_d = 0; var$4.$parentScreen = $this; var$4.$message10 = var$9; var$4.$message2 = $par1GuiButton; var$4.$worldNumber = 0; nms_StatCollector_$callClinit(); var$4.$buttonText1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3512)); var$4.$buttonText2 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3513)); $ptr = 4; continue main; } } return; } a: { $cw = nms_GuiCreateWorld__init_($this.$selectWorld0); $var4 = new nms_WorldInfo; var$7 = $this.$levelDat0; $par1GuiButton = var$7.$tagMap; if (!$rt_s(2396).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(2396).$nativeString.length) break a; $rt_s(2396).$hashCode1 = (31 * $rt_s(2396).$hashCode1 | 0) + $rt_s(2396).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$11 = $rt_s(2396).$hashCode1; var$12 = $par1GuiButton.$elementData.data; $par1GuiButton = var$12[var$11 & (var$12.length - 1 | 0)]; while ($par1GuiButton !== null) { if ($par1GuiButton.$origKeyHash == var$11) { b: { var$4 = $par1GuiButton.$key; if ($rt_s(2396) !== var$4) { if ($rt_s(2396) === var$4) var$10 = 1; else if (!(var$4 instanceof jl_String)) var$10 = 0; else { var$4 = var$4; var$10 = $rt_s(2396).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break b; } } var$10 = 1; } if (var$10) break; } $par1GuiButton = $par1GuiButton.$next3; } if (!($par1GuiButton === null ? 0 : 1)) { var$4 = new nms_NBTTagCompound; if ($rt_s(2396) !== null) var$4.$name = $rt_s(2396); else var$4.$name = $rt_s(18); $par1GuiButton = new ju_HashMap; var$10 = ju_HashMap_calculateCapacity(16); $par1GuiButton.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$10); var$13 = var$12.data; $par1GuiButton.$elementData = var$12; $par1GuiButton.$loadFactor = 0.75; $par1GuiButton.$threshold = var$13.length * 0.75 | 0; var$4.$tagMap = $par1GuiButton; } else { $par1GuiButton = var$7.$tagMap; if ($rt_s(2396) === null) { $par1GuiButton = $par1GuiButton.$elementData.data[0]; while ($par1GuiButton !== null && $par1GuiButton.$key !== null) { $par1GuiButton = $par1GuiButton.$next3; } } else { c: { if (!$rt_s(2396).$hashCode1) { var$10 = 0; while (true) { if (var$10 >= $rt_s(2396).$nativeString.length) break c; $rt_s(2396).$hashCode1 = (31 * $rt_s(2396).$hashCode1 | 0) + $rt_s(2396).$nativeString.charCodeAt(var$10) | 0; var$10 = var$10 + 1 | 0; } } } var$11 = $rt_s(2396).$hashCode1; var$12 = $par1GuiButton.$elementData.data; $par1GuiButton = var$12[var$11 & (var$12.length - 1 | 0)]; while ($par1GuiButton !== null) { if ($par1GuiButton.$origKeyHash == var$11) { d: { var$4 = $par1GuiButton.$key; if ($rt_s(2396) !== var$4) { if ($rt_s(2396) === var$4) var$10 = 1; else if (!(var$4 instanceof jl_String)) var$10 = 0; else { var$4 = var$4; var$10 = $rt_s(2396).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$10) { var$10 = 0; break d; } } var$10 = 1; } if (var$10) break; } $par1GuiButton = $par1GuiButton.$next3; } } var$4 = $par1GuiButton === null ? null : $par1GuiButton.$value1; } nms_WorldInfo__init_($var4, var$4); nms_GuiCreateWorld_func_82286_a($cw, $var4); $par1GuiButton = $this.$mc; $ptr = 5; continue main; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, $cw); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, $cw); if ($rt_suspending()) { break main; } return; case 3: nms_Minecraft_displayGuiScreen($par1GuiButton, $cw); if ($rt_suspending()) { break main; } return; case 4: nms_Minecraft_displayGuiScreen($cw, var$4); if ($rt_suspending()) { break main; } return; case 5: nms_Minecraft_displayGuiScreen($par1GuiButton, $cw); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $cw, var$4, $var4, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nle_GuiScreenBackupWorld_confirmClicked = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1) { var$3 = $this.$worldName; $par1 = nle_IntegratedServer_statusState; if ($par1 ? 0 : 1) { nle_IntegratedServer_statusState = 20; var$4 = new nlesi_IPCPacket18ClearPlayers; var$4.$worldName0 = null; var$4.$worldName0 = var$3; nle_IntegratedServer_sendIPCPacket(var$4); } else { var$3 = nle_IntegratedState_getStateName($par1); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$4, var$4.$length0, $rt_s(1017)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, $par1, 10); jl_StringBuilder_insert(var$4, var$4.$length0, $rt_s(1018)); $par1 = var$4.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_StringBuilder_insert(var$4, $par1, var$3); jl_StringBuilder_insert(var$4, var$4.$length0, $rt_s(1019)); var$3 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; $par2 = var$4.$length0; var$7 = var$6.length; if ($par2 >= 0 && $par2 <= (var$7 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$5.data, 0, $par2); var$4 = new jl_IllegalStateException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = var$3; $rt_throw(var$4); } var$3 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$3); $rt_throw(var$3); } } var$3 = $this.$mc; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$3, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, $ptr); }; function nms_SaveFormatComparator() { let a = this; jl_Object.call(a); a.$fileName = null; a.$displayName2 = null; a.$lastTimePlayed = Long_ZERO; a.$sizeOnDisk0 = Long_ZERO; a.$requiresConversion = 0; a.$theEnumGameType = null; a.$hardcore0 = 0; a.$cheatsEnabled = 0; a.$levelDat = null; } let nms_SaveFormatComparator_compareTo = ($this, $par1Obj) => { let var$2, var$3, var$4, var$5, var$6; a: { b: { $par1Obj = $par1Obj; var$2 = Long_compare($this.$lastTimePlayed, $par1Obj.$lastTimePlayed); if (var$2 < 0) var$2 = 1; else if (var$2 > 0) var$2 = (-1); else c: { var$3 = $this.$fileName; $par1Obj = $par1Obj.$fileName; if (var$3 === $par1Obj) var$2 = 0; else { var$4 = var$3.$nativeString.length; var$5 = $par1Obj.$nativeString.length; if (var$4 < var$5) var$5 = var$4; var$4 = 0; while (true) { if (var$4 >= var$5) { var$2 = var$3.$nativeString.length - $par1Obj.$nativeString.length | 0; break c; } if (var$4 < 0) break a; if (var$4 >= var$3.$nativeString.length) break a; var$6 = var$3.$nativeString.charCodeAt(var$4); if (var$4 < 0) break b; if (var$4 >= $par1Obj.$nativeString.length) break b; var$2 = var$6 - $par1Obj.$nativeString.charCodeAt(var$4) | 0; if (var$2) break; var$4 = var$4 + 1 | 0; } } } return var$2; } $par1Obj = new jl_StringIndexOutOfBoundsException; $par1Obj.$suppressionEnabled = 1; $par1Obj.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Obj); $rt_throw($par1Obj); } $par1Obj = new jl_StringIndexOutOfBoundsException; $par1Obj.$suppressionEnabled = 1; $par1Obj.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Obj); $rt_throw($par1Obj); }; function nle_GuiScreenLANConnect() { let a = this; nms_GuiScreen.call(a); a.$parent2 = null; a.$codeTextField = null; a.$relaysButton0 = null; } let nle_GuiScreenLANConnect_lastCode = null, nle_GuiScreenLANConnect_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; var$2 = $this.$buttonList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 100 | 0; var$5 = (($this.$height / 4 | 0) + 96 | 0) + 12 | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(3652)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 0; var$6.$xPosition = var$8; var$6.$yPosition = var$5; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = var$9; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = $this.$buttonList; var$9 = new nms_GuiButton; var$10 = ($this.$width / 2 | 0) - 100 | 0; var$11 = (($this.$height / 4 | 0) + 120 | 0) + 12 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(1626)); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 1; var$9.$xPosition = var$10; var$9.$yPosition = var$11; var$9.$width0 = 200; var$9.$height0 = 20; var$9.$displayString = var$2; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; var$6 = nms_GuiTextField__init_($this.$fontRenderer, ($this.$width / 2 | 0) - 100 | 0, ($this.$height / 4 | 0) + 27 | 0, 200, 20); $this.$codeTextField = var$6; var$6.$maxStringLength = 48; if (var$6.$text.$nativeString.length > 48) var$6.$text = jl_String_substring(var$6.$text, 0, 48); var$6 = $this.$codeTextField; if (!var$6.$isFocused0) var$6.$cursorCounter = 0; var$6.$isFocused0 = 1; var$9 = nle_GuiScreenLANConnect_lastCode; var$4 = var$9.$nativeString.length; var$5 = var$6.$maxStringLength; if (var$4 <= var$5) var$6.$text = var$9; else var$6.$text = jl_String_substring(var$9, 0, var$5); var$6.$cursorPosition = var$6.$text.$nativeString.length; var$5 = var$6.$text.$nativeString.length; if (var$6.$cursorPosition < 0) var$6.$cursorPosition = 0; if (var$6.$cursorPosition > var$5) var$6.$cursorPosition = var$5; nms_GuiTextField_setSelectionPos(var$6, var$6.$cursorPosition); var$6 = $this.$buttonList; if (0 >= var$6.$size0) { var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } var$6.$array.data[0].$enabled = (jl_String_trim($this.$codeTextField.$text)).$nativeString.length <= 0 ? 0 : 1; }, nle_GuiScreenLANConnect_onGuiClosed = $this => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; nle_GuiScreenLANConnect_lastCode = jl_String_trim($this.$codeTextField.$text); }, nle_GuiScreenLANConnect_keyTyped = ($this, $par1, $par2) => { let var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$codeTextField; $ptr = 1; case 1: $tmp = nms_GuiTextField_textboxKeyTyped(var$3, $par1, $par2); if ($rt_suspending()) { break main; } $par1 = $tmp; if ($par1) { var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3.$array.data[0].$enabled = (jl_String_trim($this.$codeTextField.$text)).$nativeString.length <= 0 ? 0 : 1; } else if ($par2 == 28) { var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = var$3.$array.data[0]; $ptr = 2; continue main; } return; case 2: nle_GuiScreenLANConnect_actionPerformed($this, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, $ptr); }, nle_GuiScreenLANConnect_updateScreen = $this => { let var$1; var$1 = $this.$codeTextField; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; }, nle_GuiScreenLANConnect_mouseClicked = ($this, $par1, $par2, $par3) => { let var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } nms_GuiTextField_mouseClicked($this.$codeTextField, $par1, $par2, $par3); var$4 = $this.$relaysButton0; $ptr = 2; case 2: nle_GuiNetworkSettingsButton_mouseClicked(var$4, $par1, $par2, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $ptr); }, nle_GuiScreenLANConnect_drawScreen = ($this, $xx, $yy, $pt) => { let $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$pt = $thread.pop();$yy = $thread.pop();$xx = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; var$5 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(1722)); var$8 = $this.$width / 2 | 0; var$5 = (($this.$height / 4 | 0) - 60 | 0) + 20 | 0; var$9 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = var$5 + 1 | 0; var$12 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$5); if ($rt_suspending()) { break main; } var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(1722)); var$8 = $this.$width / 2 | 0; var$5 = (($this.$height / 4 | 0) - 60 | 0) + 20 | 0; var$9 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = var$5 + 1 | 0; var$12 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$8, var$5, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3653)); var$5 = ($this.$width / 2 | 0) - 100 | 0; var$9 = ($this.$height / 4 | 0) + 12 | 0; var$8 = 10526880; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = var$9 + 1 | 0; var$12 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$8, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$9, var$8, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3654)); var$11 = $this.$width / 2 | 0; var$5 = ($this.$height / 4 | 0) + 63 | 0; var$9 = 10526880; var$8 = var$11 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = var$5 + 1 | 0; var$12 = 1; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$8, var$5, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3655)); var$5 = $this.$width / 2 | 0; var$9 = ($this.$height / 4 | 0) + 77 | 0; var$8 = 10526880; var$5 = var$5 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = var$9 + 1 | 0; var$12 = 1; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$8, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 9; case 9: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$9, var$8, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$codeTextField; $ptr = 10; case 10: nms_GuiTextField_drawTextBox(var$7); if ($rt_suspending()) { break main; } var$5 = 0; var$7 = $this.$buttonList; var$9 = $rt_compare(var$5, var$7.$size0); if (var$9 >= 0) { var$7 = $this.$relaysButton0; $ptr = 11; continue main; } if (var$5 >= 0 && var$9 < 0) { var$7 = var$7.$array.data[var$5]; var$6 = $this.$mc; $ptr = 12; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 11: nle_GuiNetworkSettingsButton_drawScreen(var$7, $xx, $yy); if ($rt_suspending()) { break main; } return; case 12: var$7.$drawButton(var$6, $xx, $yy); if ($rt_suspending()) { break main; } var$5 = var$5 + 1 | 0; var$7 = $this.$buttonList; var$9 = $rt_compare(var$5, var$7.$size0); if (var$9 >= 0) { var$7 = $this.$relaysButton0; $ptr = 11; continue main; } if (var$5 >= 0 && var$9 < 0) { var$7 = var$7.$array.data[var$5]; var$6 = $this.$mc; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $xx, $yy, $pt, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nle_GuiScreenLANConnect_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1GuiButton.$id0; if (var$2 == 1) { $par1GuiButton = $this.$mc; var$3 = $this.$parent2; $ptr = 1; continue main; } if (var$2) return; $par1GuiButton = $this.$mc; var$3 = new nle_GuiScreenLANConnecting; var$4 = $this.$parent2; var$5 = jl_String_trim($this.$codeTextField.$text); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); var$3.$buttonList = var$6; var$3.$allowUserInput = 0; var$3.$selectedButton = null; var$3.$eventButton = 0; var$3.$field_85043_c = Long_ZERO; var$3.$field_92018_d = 0; var$3.$completed = 0; var$3.$netHandler = null; var$3.$renderCount = 0; var$3.$parent0 = var$4; var$3.$code0 = var$5; var$3.$relay = null; $ptr = 2; continue main; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, var$5, var$6, $ptr); }, nle_GuiScreenLANConnect__clinit_ = () => { nle_GuiScreenLANConnect_lastCode = $rt_s(18); }; function nleav_BooleanResult() { jl_Object.call(this); this.$bool = 0; } let nleav_BooleanResult_TRUE = null, nleav_BooleanResult_FALSE = null, nleav_BooleanResult__clinit_ = () => { let var$1; var$1 = new nleav_BooleanResult; var$1.$bool = 1; nleav_BooleanResult_TRUE = var$1; var$1 = new nleav_BooleanResult; var$1.$bool = 0; nleav_BooleanResult_FALSE = var$1; }; function nms_GuiSmallButton() { nms_GuiButton.call(this); this.$enumOptions = null; } function nms_GuiSlider() { let a = this; nms_GuiButton.call(a); a.$sliderValue = 0.0; a.$dragging2 = 0; a.$idFloat = null; } let nms_GuiSlider_getHoverState = ($this, $par1) => { return 0; }, nms_GuiSlider_mouseDragged = ($this, $par1Minecraft, $par2, $par3) => { let var$4; if ($this.$drawButton0) { if ($this.$dragging2) { var$4 = ($par2 - ($this.$xPosition + 4 | 0) | 0) / ($this.$width0 - 8 | 0); $this.$sliderValue = var$4; if (var$4 < 0.0) $this.$sliderValue = 0.0; if ($this.$sliderValue > 1.0) $this.$sliderValue = 1.0; nms_GameSettings_setOptionFloatValue($par1Minecraft.$gameSettings, $this.$idFloat, $this.$sliderValue); $this.$displayString = nms_GameSettings_getKeyBinding($par1Minecraft.$gameSettings, $this.$idFloat); } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_Gui_drawTexturedModalRect($this, $this.$xPosition + ($this.$sliderValue * ($this.$width0 - 8 | 0) | 0) | 0, $this.$yPosition, 0, 66, 4, 20); nms_Gui_drawTexturedModalRect($this, ($this.$xPosition + ($this.$sliderValue * ($this.$width0 - 8 | 0) | 0) | 0) + 4 | 0, $this.$yPosition, 196, 66, 4, 20); } }, nms_GuiSlider_mousePressed = ($this, $par1Minecraft, $par2, $par3) => { let var$4; if (!nms_GuiButton_mousePressed($this, $par1Minecraft, $par2, $par3)) return 0; var$4 = ($par2 - ($this.$xPosition + 4 | 0) | 0) / ($this.$width0 - 8 | 0); $this.$sliderValue = var$4; if (var$4 < 0.0) $this.$sliderValue = 0.0; if ($this.$sliderValue > 1.0) $this.$sliderValue = 1.0; nms_GameSettings_setOptionFloatValue($par1Minecraft.$gameSettings, $this.$idFloat, $this.$sliderValue); $this.$displayString = nms_GameSettings_getKeyBinding($par1Minecraft.$gameSettings, $this.$idFloat); $this.$dragging2 = 1; return 1; }, nms_GuiSlider_mouseReleased = ($this, $par1, $par2) => { $this.$dragging2 = 0; }; function nms_GuiVideoSettings() { let a = this; nms_GuiScreen.call(a); a.$parentGuiScreen2 = null; a.$screenTitle3 = null; a.$guiGameSettings = null; a.$is64bit = 0; } let nms_GuiVideoSettings_videoOptions = null, nms_GuiVideoSettings_$callClinit = () => { nms_GuiVideoSettings_$callClinit = $rt_eraseClinit(nms_GuiVideoSettings); nms_GuiVideoSettings__clinit_(); }, nms_GuiVideoSettings_initGui = $this => { let var$1, $var9, var$3, $var8, var$5, var$6, var$7, var$8, $var10, $var11, $var7, var$12, var$13, var$14; nms_StatCollector_$callClinit(); $this.$screenTitle3 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3656)); var$1 = $this.$buttonList; $var9 = var$1.$array; var$3 = 0; $var8 = var$1.$size0; var$5 = null; if (var$3 > $var8) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$3 < $var8) { var$6 = $var9.data; var$7 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$5 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 100 | 0; $var8 = ($this.$height / 6 | 0) + 168 | 0; var$8 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(646)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 200; var$5.$xPosition = var$7; var$5.$yPosition = $var8; var$5.$width0 = 200; var$5.$height0 = 20; var$5.$displayString = var$8; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); $var9 = var$1.$array.data; $var8 = var$1.$size0; var$1.$size0 = $var8 + 1 | 0; $var9[$var8] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; $this.$is64bit = 1; $var8 = 0; nms_GuiVideoSettings_$callClinit(); var$6 = nms_GuiVideoSettings_videoOptions.data; $var10 = var$6.length; $var11 = 0; while ($var11 < $var10) { $var7 = var$6[$var11]; if (!$var7.$enumFloat) { var$1 = $this.$buttonList; var$5 = new nms_GuiSmallButton; var$12 = $var7.$ordinal; var$7 = (($this.$width / 2 | 0) - 155 | 0) + (($var8 % 2 | 0) * 160 | 0) | 0; var$3 = ($this.$height / 7 | 0) + (24 * ($var8 >> 1) | 0) | 0; var$8 = nms_GameSettings_getKeyBinding($this.$guiGameSettings, $var7); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = var$12; var$5.$xPosition = var$7; var$5.$yPosition = var$3; var$5.$width0 = 150; var$5.$height0 = 20; var$5.$displayString = var$8; var$5.$enumOptions = $var7; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); $var9 = var$1.$array.data; var$7 = var$1.$size0; var$1.$size0 = var$7 + 1 | 0; $var9[var$7] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; } else { var$8 = $this.$buttonList; var$13 = new nms_GuiSlider; var$12 = $var7.$ordinal; var$3 = (($this.$width / 2 | 0) - 155 | 0) + (($var8 % 2 | 0) * 160 | 0) | 0; var$7 = ($this.$height / 7 | 0) + (24 * ($var8 >> 1) | 0) | 0; var$1 = nms_GameSettings_getKeyBinding($this.$guiGameSettings, $var7); var$14 = nms_GameSettings_getOptionFloatValue($this.$guiGameSettings, $var7); var$13.$width0 = 200; var$13.$height0 = 20; var$13.$enabled = 1; var$13.$drawButton0 = 1; var$13.$id0 = var$12; var$13.$xPosition = var$3; var$13.$yPosition = var$7; var$13.$width0 = 150; var$13.$height0 = 20; var$13.$displayString = var$1; var$13.$sliderValue = 1.0; var$13.$idFloat = $var7; var$13.$sliderValue = var$14; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); $var9 = var$8.$array.data; var$7 = var$8.$size0; var$8.$size0 = var$7 + 1 | 0; $var9[var$7] = var$13; var$8.$modCount = var$8.$modCount + 1 | 0; } $var8 = $var8 + 1 | 0; $var11 = $var11 + 1 | 0; } }, nms_GuiVideoSettings_actionPerformed = ($this, $par1GuiButton) => { let $var3, $var2, var$4, var$5, $var4, var$7, var$8, $var5, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();$var5 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();$var3 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled) { $var3 = $this.$guiGameSettings; $var2 = $var3.$guiScale; if ($par1GuiButton.$id0 < 100 && $par1GuiButton instanceof nms_GuiSmallButton) { nms_GameSettings_setOptionValue($var3, $par1GuiButton.$enumOptions, 1); $var3 = $this.$guiGameSettings; var$4 = $par1GuiButton.$id0; var$5 = (nms_EnumOptions_$VALUES.$clone0()).data; $var4 = var$5.length; var$7 = 0; a: { while (true) { if (var$7 >= $var4) { var$8 = null; break a; } var$8 = var$5[var$7]; if (var$8.$ordinal == var$4) break; var$7 = var$7 + 1 | 0; } } $par1GuiButton.$displayString = nms_GameSettings_getKeyBinding($var3, var$8); } if ($par1GuiButton.$id0 == 200) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); $par1GuiButton = $this.$mc; $var3 = $this.$parentGuiScreen2; $ptr = 1; continue main; } if ($this.$guiGameSettings.$guiScale != $var2) { $var3 = new nms_ScaledResolution; $par1GuiButton = $this.$mc; nms_ScaledResolution__init_0($var3, $par1GuiButton.$gameSettings, $par1GuiButton.$displayWidth, $par1GuiButton.$displayHeight); $var4 = $var3.$scaledWidth; $var5 = $var3.$scaledHeight; $par1GuiButton = $this.$mc; $var3 = new nms_GuiParticle; nms_GuiParticle_$callClinit(); nms_Gui_$callClinit(); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); $var3.$particles = var$8; $var3.$mc14 = $par1GuiButton; $this.$guiParticles = $var3; $this.$mc = $par1GuiButton; $this.$fontRenderer = $par1GuiButton.$fontRenderer0; $this.$width = $var4; $this.$height = $var5; $par1GuiButton = $this.$buttonList; var$5 = $par1GuiButton.$array; var$4 = 0; $var2 = $par1GuiButton.$size0; $var3 = null; if (var$4 > $var2) { $par1GuiButton = new jl_IllegalArgumentException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } while (var$4 < $var2) { var$10 = var$5.data; $var5 = var$4 + 1 | 0; var$10[var$4] = $var3; var$4 = $var5; } $par1GuiButton.$size0 = 0; $par1GuiButton.$modCount = $par1GuiButton.$modCount + 1 | 0; $ptr = 2; continue main; } } return; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, $var3); if ($rt_suspending()) { break main; } if ($this.$guiGameSettings.$guiScale == $var2) return; $var3 = new nms_ScaledResolution; $par1GuiButton = $this.$mc; nms_ScaledResolution__init_0($var3, $par1GuiButton.$gameSettings, $par1GuiButton.$displayWidth, $par1GuiButton.$displayHeight); $var4 = $var3.$scaledWidth; $var5 = $var3.$scaledHeight; $par1GuiButton = $this.$mc; $var3 = new nms_GuiParticle; nms_GuiParticle_$callClinit(); nms_Gui_$callClinit(); var$8 = new ju_ArrayList; var$8.$array = $rt_createArray(jl_Object, 10); $var3.$particles = var$8; $var3.$mc14 = $par1GuiButton; $this.$guiParticles = $var3; $this.$mc = $par1GuiButton; $this.$fontRenderer = $par1GuiButton.$fontRenderer0; $this.$width = $var4; $this.$height = $var5; $par1GuiButton = $this.$buttonList; var$5 = $par1GuiButton.$array; var$4 = 0; $var2 = $par1GuiButton.$size0; $var3 = null; if (var$4 > $var2) { $par1GuiButton = new jl_IllegalArgumentException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } while (var$4 < $var2) { var$10 = var$5.data; $var5 = var$4 + 1 | 0; var$10[var$4] = $var3; var$4 = $var5; } $par1GuiButton.$size0 = 0; $par1GuiButton.$modCount = $par1GuiButton.$modCount + 1 | 0; $ptr = 2; case 2: nms_GuiVideoSettings_initGui($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, $var3, $var2, var$4, var$5, $var4, var$7, var$8, $var5, var$10, $ptr); }, nms_GuiVideoSettings_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; var$6 = $this.$screenTitle3; var$7 = $this.$width / 2 | 0; var$8 = !$this.$is64bit ? 5 : 20; var$4 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = var$7 + 1 | 0; var$10 = var$8 + 1 | 0; var$11 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; var$6 = $this.$screenTitle3; var$7 = $this.$width / 2 | 0; var$8 = !$this.$is64bit ? 5 : 20; var$4 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = var$7 + 1 | 0; var$10 = var$8 + 1 | 0; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$9, var$10, var$4, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$7, var$8, var$4, var$9); if ($rt_suspending()) { break main; } var$4 = $tmp; if (!$this.$is64bit && !$this.$guiGameSettings.$renderDistance) { var$5 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3657)); var$4 = $this.$width / 2 | 0; var$7 = (($this.$height / 6 | 0) + 144 | 0) + 1 | 0; var$8 = 11468800; var$4 = var$4 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = var$4 + 1 | 0; var$10 = var$7 + 1 | 0; var$11 = 1; $ptr = 4; continue main; } var$4 = 0; var$5 = $this.$buttonList; var$7 = $rt_compare(var$4, var$5.$size0); if (var$7 >= 0) return; if (var$4 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; $ptr = 8; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 4: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$9, var$10, var$8, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$7, var$8, var$9); if ($rt_suspending()) { break main; } var$4 = $tmp; var$5 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3658)); var$4 = $this.$width / 2 | 0; var$7 = (($this.$height / 6 | 0) + 144 | 0) + 13 | 0; var$8 = 11468800; var$4 = var$4 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = var$4 + 1 | 0; var$10 = var$7 + 1 | 0; var$11 = 1; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$9, var$10, var$8, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$7, var$8, var$9); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$5 = $this.$buttonList; var$7 = $rt_compare(var$4, var$5.$size0); if (var$7 >= 0) return; if (var$4 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; $ptr = 8; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 8: var$5.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$5 = $this.$buttonList; var$7 = $rt_compare(var$4, var$5.$size0); if (var$7 >= 0) return; if (var$4 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_GuiVideoSettings__clinit_ = () => { let var$1, var$2; var$1 = $rt_createArray(nms_EnumOptions, 12); var$2 = var$1.data; var$2[0] = nms_EnumOptions_GRAPHICS; var$2[1] = nms_EnumOptions_RENDER_DISTANCE; var$2[2] = nms_EnumOptions_AMBIENT_OCCLUSION; var$2[3] = nms_EnumOptions_FRAMERATE_LIMIT; var$2[4] = nms_EnumOptions_ANAGLYPH; var$2[5] = nms_EnumOptions_VIEW_BOBBING; var$2[6] = nms_EnumOptions_GUI_SCALE; var$2[7] = nms_EnumOptions_GAMMA; var$2[8] = nms_EnumOptions_RENDER_CLOUDS; var$2[9] = nms_EnumOptions_PARTICLES; var$2[10] = nms_EnumOptions_USE_SERVER_TEXTURES; var$2[11] = nms_EnumOptions_VSYNC; nms_GuiVideoSettings_videoOptions = var$1; }; function nms_GuiControls() { let a = this; nms_GuiScreen.call(a); a.$parentScreen3 = null; a.$screenTitle2 = null; a.$options1 = null; a.$buttonId = 0; } let nms_GuiControls_initGui = $this => { let $var1, $var2, $var3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; $var2 = ($this.$width / 2 | 0) - 155 | 0; $var3 = 0; while (true) { var$4 = $this.$options1.$keyBindings.data; if ($var3 >= var$4.length) break; var$5 = $this.$buttonList; var$6 = new nms_GuiSmallButton; var$7 = $var2 + (($var3 % 2 | 0) * 160 | 0) | 0; var$8 = ($this.$height / 6 | 0) + (20 * ($var3 >> 1) | 0) | 0; var$9 = var$4[$var3].$keyCode; if (var$9 >= 0) { nlea_EaglerAdapterImpl2_$callClinit(); var$10 = var$9 >= 0 && var$9 < 256 ? nlea_EaglerAdapterImpl2_LWJGLKeyNames.data[var$9] : $rt_s(1); } else { var$11 = $rt_createArray(jl_Object, 1); var$9 = var$9 + 101 | 0; if (var$9 >= (-128) && var$9 <= 127) { jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { var$10 = new jl_Integer; var$10.$value0 = var$9; } var$11.data[0] = var$10; nms_StatCollector_$callClinit(); var$10 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3353), var$11); } nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = $var3; var$6.$xPosition = var$7; var$6.$yPosition = var$8; var$6.$width0 = 70; var$6.$height0 = 20; var$6.$displayString = var$10; var$6.$enumOptions = null; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$4 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$4[var$7] = var$6; var$5.$modCount = var$5.$modCount + 1 | 0; $var3 = $var3 + 1 | 0; } var$10 = $this.$buttonList; var$5 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 100 | 0; $var3 = ($this.$height / 6 | 0) + 168 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(646)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 200; var$5.$xPosition = var$7; var$5.$yPosition = $var3; var$5.$width0 = 200; var$5.$height0 = 20; var$5.$displayString = var$6; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$4 = var$10.$array.data; $var3 = var$10.$size0; var$10.$size0 = $var3 + 1 | 0; var$4[$var3] = var$5; var$10.$modCount = var$10.$modCount + 1 | 0; $this.$screenTitle2 = nms_StringTranslate_translateKey($var1, $rt_s(3659)); }, nms_GuiControls_actionPerformed = ($this, $par1GuiButton) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = 0; while (true) { var$3 = $this.$options1.$keyBindings.data; if ($var2 >= var$3.length) { $var2 = $par1GuiButton.$id0; if ($var2 != 200) { $this.$buttonId = $var2; $var2 = var$3[$var2].$keyCode; if ($var2 >= 0) { nlea_EaglerAdapterImpl2_$callClinit(); var$4 = $var2 >= 0 && $var2 < 256 ? nlea_EaglerAdapterImpl2_LWJGLKeyNames.data[$var2] : $rt_s(1); } else { var$3 = $rt_createArray(jl_Object, 1); $var2 = $var2 + 101 | 0; if ($var2 >= (-128) && $var2 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[$var2 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = $var2; } var$3.data[0] = var$5; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3353), var$3); } var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3522)); $var2 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, $var2, var$4); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(3523)); var$5 = new jl_String; var$3 = var$6.$buffer; var$7 = var$3.data; var$8 = var$6.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$3.data, 0, var$8); $par1GuiButton.$displayString = var$5; return; } $par1GuiButton = new jl_IndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1GuiButton); $rt_throw($par1GuiButton); } $par1GuiButton = $this.$mc; var$6 = $this.$parentScreen3; $ptr = 1; continue main; } var$6 = $this.$buttonList; if ($var2 < 0) break; if ($var2 >= var$6.$size0) break; var$6 = var$6.$array.data[$var2]; var$10 = var$3[$var2].$keyCode; if (var$10 >= 0) { nlea_EaglerAdapterImpl2_$callClinit(); var$5 = var$10 >= 0 && var$10 < 256 ? nlea_EaglerAdapterImpl2_LWJGLKeyNames.data[var$10] : $rt_s(1); } else { var$7 = $rt_createArray(jl_Object, 1); var$10 = var$10 + 101 | 0; if (var$10 >= (-128) && var$10 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[var$10 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = var$10; } var$7.data[0] = var$4; nms_StatCollector_$callClinit(); var$5 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3353), var$7); } var$6.$displayString = var$5; $var2 = $var2 + 1 | 0; } $par1GuiButton = new jl_IndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_GuiControls_mouseClicked = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $this.$buttonId; if (var$4 >= 0) { var$5 = $this.$options1; var$5.$keyBindings.data[var$4].$keyCode = (-100) + $par3 | 0; nms_GameSettings_saveOptions(var$5); var$5 = $this.$buttonList; $par1 = $this.$buttonId; if ($par1 >= 0 && $par1 < var$5.$size0) { var$5 = var$5.$array.data[$par1]; $par1 = $this.$options1.$keyBindings.data[$par1].$keyCode; if ($par1 >= 0) { nlea_EaglerAdapterImpl2_$callClinit(); var$6 = $par1 >= 0 && $par1 < 256 ? nlea_EaglerAdapterImpl2_LWJGLKeyNames.data[$par1] : $rt_s(1); } else { var$7 = $rt_createArray(jl_Object, 1); $par1 = $par1 + 101 | 0; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$8 = new jl_Integer; var$8.$value0 = $par1; } var$7.data[0] = var$8; nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3353), var$7); } var$5.$displayString = var$6; $this.$buttonId = (-1); var$5 = nms_KeyBinding_hash; var$5.$versionStamp = var$5.$versionStamp + 1 | 0; var$7 = var$5.$slots; $par1 = 0; while (true) { var$9 = var$7.data; if ($par1 >= var$9.length) break; var$9[$par1] = null; $par1 = $par1 + 1 | 0; } var$5.$count5 = 0; var$5 = nms_KeyBinding_keybindArray; var$10 = 0; $par3 = var$5.$modCount; var$4 = var$5.$size(); while (var$10 >= var$4 ? 0 : 1) { if ($par3 < var$5.$modCount) { var$5 = new ju_ConcurrentModificationException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $par2 = var$10 + 1 | 0; var$6 = var$5.$get(var$10); nms_IntHashMap_addKey(nms_KeyBinding_hash, var$6.$keyCode, var$6); var$10 = $par2; } return; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_GuiControls_keyTyped = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $par1 = $this.$buttonId; if ($par1 >= 0) { var$3 = $this.$options1; var$3.$keyBindings.data[$par1].$keyCode = $par2; nms_GameSettings_saveOptions(var$3); var$3 = $this.$buttonList; $par1 = $this.$buttonId; if ($par1 >= 0 && $par1 < var$3.$size0) { var$3 = var$3.$array.data[$par1]; $par1 = $this.$options1.$keyBindings.data[$par1].$keyCode; if ($par1 >= 0) { nlea_EaglerAdapterImpl2_$callClinit(); var$4 = $par1 >= 0 && $par1 < 256 ? nlea_EaglerAdapterImpl2_LWJGLKeyNames.data[$par1] : $rt_s(1); } else { var$5 = $rt_createArray(jl_Object, 1); $par1 = $par1 + 101 | 0; if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = $par1; } var$5.data[0] = var$6; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3353), var$5); } var$3.$displayString = var$4; $this.$buttonId = (-1); var$3 = nms_KeyBinding_hash; var$3.$versionStamp = var$3.$versionStamp + 1 | 0; var$5 = var$3.$slots; $par1 = 0; while (true) { var$7 = var$5.data; if ($par1 >= var$7.length) break; var$7[$par1] = null; $par1 = $par1 + 1 | 0; } var$3.$count5 = 0; var$3 = nms_KeyBinding_keybindArray; var$8 = 0; var$9 = var$3.$modCount; var$10 = var$3.$size(); while (var$8 >= var$10 ? 0 : 1) { if (var$9 < var$3.$modCount) { var$3 = new ju_ConcurrentModificationException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } $par2 = var$8 + 1 | 0; var$4 = var$3.$get(var$8); nms_IntHashMap_addKey(nms_KeyBinding_hash, var$4.$keyCode, var$4); var$8 = $par2; } } else { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } } }, nms_GuiControls_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, $var4, $var6, $var5, var$13, var$14, var$15, $var7, var$17, var$18, var$19, var$20, var$21, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var7 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var5 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; var$6 = $this.$screenTitle2; var$7 = $this.$width / 2 | 0; var$8 = 20; var$4 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = var$7 + 1 | 0; $var4 = 21; $var6 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; var$6 = $this.$screenTitle2; var$7 = $this.$width / 2 | 0; var$8 = 20; var$4 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = var$7 + 1 | 0; $var4 = 21; $var6 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$9, $var4, var$4, $var6); if ($rt_suspending()) { break main; } $var4 = $tmp; var$9 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$7, var$8, var$4, var$9); if ($rt_suspending()) { break main; } var$4 = $tmp; $var4 = ($this.$width / 2 | 0) - 155 | 0; $var5 = 0; var$9 = 60; var$13 = $rt_s(3522); var$14 = $rt_s(3660); var$15 = $this.$options1.$keyBindings.data; var$8 = var$15.length; if ($var5 >= var$8) { var$4 = 0; var$5 = $this.$buttonList; var$7 = $rt_compare(var$4, var$5.$size0); if (var$7 >= 0) return; if (var$4 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; $ptr = 4; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $var6 = 0; $var7 = 0; a: { while ($var7 < var$8) { if ($var7 != $var5 && var$15[$var5].$keyCode == var$15[$var7].$keyCode) { $var6 = 1; break a; } $var7 = $var7 + 1 | 0; } } b: { if ($this.$buttonId != $var5) { if (!$var6) { var$5 = $this.$buttonList; if ($var5 >= 0 && $var5 < var$5.$size0) { var$17 = var$5.$array.data[$var5]; var$4 = var$15[$var5].$keyCode; if (var$4 >= 0) { nlea_EaglerAdapterImpl2_$callClinit(); var$5 = var$4 >= 0 && var$4 < 256 ? nlea_EaglerAdapterImpl2_LWJGLKeyNames.data[var$4] : $rt_s(1); } else { var$18 = $rt_createArray(jl_Object, 1); var$4 = var$4 + 101 | 0; if (var$4 >= (-128) && var$4 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$4 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$4; } var$18.data[0] = var$6; nms_StatCollector_$callClinit(); var$5 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3353), var$18); } var$17.$displayString = var$5; break b; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } var$5 = $this.$buttonList; if ($var5 >= 0 && $var5 < var$5.$size0) { var$6 = var$5.$array.data[$var5]; nms_EnumChatFormatting_$callClinit(); var$5 = nms_EnumChatFormatting_RED; var$17 = var$5 === null ? $rt_s(1) : var$5.$field_96304_B; var$8 = var$15[$var5].$keyCode; if (var$8 >= 0) { nlea_EaglerAdapterImpl2_$callClinit(); var$19 = var$8 >= 0 && var$8 < 256 ? nlea_EaglerAdapterImpl2_LWJGLKeyNames.data[var$8] : $rt_s(1); } else { var$15 = $rt_createArray(jl_Object, 1); var$8 = var$8 + 101 | 0; if (var$8 >= (-128) && var$8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$8; } var$15.data[0] = var$5; nms_StatCollector_$callClinit(); var$19 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3353), var$15); } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4 = var$5.$length0; if (var$17 === null) var$17 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$4, var$17); var$4 = var$5.$length0; if (var$19 === null) var$19 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$4, var$19); var$17 = new jl_String; var$18 = var$5.$buffer; var$15 = var$18.data; var$7 = var$5.$length0; var$8 = var$15.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$17.$nativeString = $rt_charArrayToString(var$18.data, 0, var$7); var$6.$displayString = var$17; break b; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } var$5 = $this.$buttonList; if ($var5 >= 0 && $var5 < var$5.$size0) { var$20 = var$5.$array.data[$var5]; nms_EnumChatFormatting_$callClinit(); var$5 = nms_EnumChatFormatting_WHITE; var$19 = var$5 === null ? $rt_s(1) : var$5.$field_96304_B; var$6 = nms_EnumChatFormatting_YELLOW; var$17 = var$6 === null ? $rt_s(1) : var$6.$field_96304_B; var$6 = var$5 === null ? $rt_s(1) : var$5.$field_96304_B; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4 = var$5.$length0; if (var$19 === null) var$19 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$4, var$19); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$13); var$4 = var$5.$length0; if (var$17 === null) var$17 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$4, var$17); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$14); var$4 = var$5.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$4, var$6); var$4 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$4, var$4 + 1 | 0); var$18 = var$5.$buffer; var$15 = var$18.data; var$15[var$4] = var$9; var$6 = new jl_String; var$7 = var$5.$length0; var$8 = var$15.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$18.data, 0, var$7); var$20.$displayString = var$6; break b; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } var$17 = $this.$fontRenderer; var$5 = $this.$options1; nms_StringTranslate_$callClinit(); var$5 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, var$5.$keyBindings.data[$var5].$keyDescription); var$21 = (($var4 + (($var5 % 2 | 0) * 160 | 0) | 0) + 70 | 0) + 6 | 0; var$4 = (($this.$height / 6 | 0) + (20 * ($var5 >> 1) | 0) | 0) + 7 | 0; var$7 = (-1); var$17.$randomStyle = 0; var$17.$boldStyle = 0; var$17.$italicStyle = 0; var$17.$underlineStyle = 0; var$17.$strikethroughStyle = 0; var$8 = var$21 + 1 | 0; $var6 = var$4 + 1 | 0; $var7 = 1; $ptr = 5; continue main; case 4: var$5.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$5 = $this.$buttonList; var$7 = $rt_compare(var$4, var$5.$size0); if (var$7 >= 0) return; if (var$4 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 5: $tmp = nms_FontRenderer_renderString(var$17, var$5, var$8, $var6, var$7, $var7); if ($rt_suspending()) { break main; } $var6 = $tmp; var$8 = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString(var$17, var$5, var$21, var$4, var$7, var$8); if ($rt_suspending()) { break main; } var$4 = $tmp; $var5 = $var5 + 1 | 0; var$15 = $this.$options1.$keyBindings.data; var$8 = var$15.length; if ($var5 >= var$8) { var$4 = 0; var$5 = $this.$buttonList; var$7 = $rt_compare(var$4, var$5.$size0); if (var$7 >= 0) return; if (var$4 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; $ptr = 4; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $var6 = 0; $var7 = 0; a: { while ($var7 < var$8) { if ($var7 != $var5 && var$15[$var5].$keyCode == var$15[$var7].$keyCode) { $var6 = 1; break a; } $var7 = $var7 + 1 | 0; } } b: { if ($this.$buttonId != $var5) { if (!$var6) { var$5 = $this.$buttonList; if ($var5 >= 0 && $var5 < var$5.$size0) { var$17 = var$5.$array.data[$var5]; var$4 = var$15[$var5].$keyCode; if (var$4 >= 0) { nlea_EaglerAdapterImpl2_$callClinit(); var$5 = var$4 >= 0 && var$4 < 256 ? nlea_EaglerAdapterImpl2_LWJGLKeyNames.data[var$4] : $rt_s(1); } else { var$18 = $rt_createArray(jl_Object, 1); var$4 = var$4 + 101 | 0; if (var$4 >= (-128) && var$4 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$4 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$4; } var$18.data[0] = var$6; nms_StatCollector_$callClinit(); var$5 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3353), var$18); } var$17.$displayString = var$5; break b; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } var$5 = $this.$buttonList; if ($var5 >= 0 && $var5 < var$5.$size0) { var$6 = var$5.$array.data[$var5]; nms_EnumChatFormatting_$callClinit(); var$5 = nms_EnumChatFormatting_RED; var$17 = var$5 === null ? $rt_s(1) : var$5.$field_96304_B; var$8 = var$15[$var5].$keyCode; if (var$8 >= 0) { nlea_EaglerAdapterImpl2_$callClinit(); var$19 = var$8 >= 0 && var$8 < 256 ? nlea_EaglerAdapterImpl2_LWJGLKeyNames.data[var$8] : $rt_s(1); } else { var$15 = $rt_createArray(jl_Object, 1); var$8 = var$8 + 101 | 0; if (var$8 >= (-128) && var$8 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$8 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$8; } var$15.data[0] = var$5; nms_StatCollector_$callClinit(); var$19 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3353), var$15); } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4 = var$5.$length0; if (var$17 === null) var$17 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$4, var$17); var$4 = var$5.$length0; if (var$19 === null) var$19 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$4, var$19); var$17 = new jl_String; var$18 = var$5.$buffer; var$15 = var$18.data; var$7 = var$5.$length0; var$8 = var$15.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$17.$nativeString = $rt_charArrayToString(var$18.data, 0, var$7); var$6.$displayString = var$17; break b; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } var$5 = $this.$buttonList; if ($var5 >= 0 && $var5 < var$5.$size0) { var$20 = var$5.$array.data[$var5]; nms_EnumChatFormatting_$callClinit(); var$5 = nms_EnumChatFormatting_WHITE; var$19 = var$5 === null ? $rt_s(1) : var$5.$field_96304_B; var$6 = nms_EnumChatFormatting_YELLOW; var$17 = var$6 === null ? $rt_s(1) : var$6.$field_96304_B; var$6 = var$5 === null ? $rt_s(1) : var$5.$field_96304_B; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$4 = var$5.$length0; if (var$19 === null) var$19 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$4, var$19); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$13); var$4 = var$5.$length0; if (var$17 === null) var$17 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$4, var$17); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, var$14); var$4 = var$5.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$4, var$6); var$4 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$4, var$4 + 1 | 0); var$18 = var$5.$buffer; var$15 = var$18.data; var$15[var$4] = var$9; var$6 = new jl_String; var$7 = var$5.$length0; var$8 = var$15.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$18.data, 0, var$7); var$20.$displayString = var$6; break b; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } var$17 = $this.$fontRenderer; var$5 = $this.$options1; nms_StringTranslate_$callClinit(); var$5 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, var$5.$keyBindings.data[$var5].$keyDescription); var$21 = (($var4 + (($var5 % 2 | 0) * 160 | 0) | 0) + 70 | 0) + 6 | 0; var$4 = (($this.$height / 6 | 0) + (20 * ($var5 >> 1) | 0) | 0) + 7 | 0; var$7 = (-1); var$17.$randomStyle = 0; var$17.$boldStyle = 0; var$17.$italicStyle = 0; var$17.$underlineStyle = 0; var$17.$strikethroughStyle = 0; var$8 = var$21 + 1 | 0; $var6 = var$4 + 1 | 0; $var7 = 1; $ptr = 5; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, $var4, $var6, $var5, var$13, var$14, var$15, $var7, var$17, var$18, var$19, var$20, var$21, $ptr); }; function nms_ScreenChatOptions() { let a = this; nms_GuiScreen.call(a); a.$theGuiScreen = null; a.$theSettings = null; a.$theChatOptions = null; a.$field_82268_n = null; a.$field_82269_o = 0; } let nms_ScreenChatOptions_allScreenChatOptions = null, nms_ScreenChatOptions_allMultiplayerOptions = null, nms_ScreenChatOptions_$callClinit = () => { nms_ScreenChatOptions_$callClinit = $rt_eraseClinit(nms_ScreenChatOptions); nms_ScreenChatOptions__clinit_(); }, nms_ScreenChatOptions_initGui = $this => { let $var1, $var2, $var3, $var4, $var5, $var5_0, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17; $var1 = 0; nms_StatCollector_$callClinit(); $this.$theChatOptions = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3661)); $this.$field_82268_n = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3561)); nms_ScreenChatOptions_$callClinit(); $var2 = nms_ScreenChatOptions_allScreenChatOptions.data; $var3 = $var2.length; $var4 = 0; while ($var4 < $var3) { $var5 = $var2[$var4]; if (!$var5.$enumFloat) { $var5_0 = $this.$buttonList; var$7 = new nms_GuiSmallButton; var$8 = $var5.$ordinal; var$9 = (($this.$width / 2 | 0) - 155 | 0) + (($var1 % 2 | 0) * 160 | 0) | 0; var$10 = ($this.$height / 6 | 0) + (24 * ($var1 >> 1) | 0) | 0; var$11 = nms_GameSettings_getKeyBinding($this.$theSettings, $var5); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$7.$width0 = 200; var$7.$height0 = 20; var$7.$enabled = 1; var$7.$drawButton0 = 1; var$7.$id0 = var$8; var$7.$xPosition = var$9; var$7.$yPosition = var$10; var$7.$width0 = 150; var$7.$height0 = 20; var$7.$displayString = var$11; var$7.$enumOptions = $var5; ju_ArrayList_ensureCapacity($var5_0, $var5_0.$size0 + 1 | 0); var$12 = $var5_0.$array.data; var$13 = $var5_0.$size0; $var5_0.$size0 = var$13 + 1 | 0; var$12[var$13] = var$7; $var5_0.$modCount = $var5_0.$modCount + 1 | 0; } else { $var5_0 = $this.$buttonList; var$7 = new nms_GuiSlider; var$8 = $var5.$ordinal; var$9 = (($this.$width / 2 | 0) - 155 | 0) + (($var1 % 2 | 0) * 160 | 0) | 0; var$10 = ($this.$height / 6 | 0) + (24 * ($var1 >> 1) | 0) | 0; var$11 = nms_GameSettings_getKeyBinding($this.$theSettings, $var5); var$14 = nms_GameSettings_getOptionFloatValue($this.$theSettings, $var5); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$7.$width0 = 200; var$7.$height0 = 20; var$7.$enabled = 1; var$7.$drawButton0 = 1; var$7.$id0 = var$8; var$7.$xPosition = var$9; var$7.$yPosition = var$10; var$7.$width0 = 150; var$7.$height0 = 20; var$7.$displayString = var$11; var$7.$sliderValue = 1.0; var$7.$idFloat = $var5; var$7.$sliderValue = var$14; ju_ArrayList_ensureCapacity($var5_0, $var5_0.$size0 + 1 | 0); var$12 = $var5_0.$array.data; var$15 = $var5_0.$size0; $var5_0.$size0 = var$15 + 1 | 0; var$12[var$15] = var$7; $var5_0.$modCount = $var5_0.$modCount + 1 | 0; } $var1 = $var1 + 1 | 0; $var4 = $var4 + 1 | 0; } if (($var1 % 2 | 0) == 1) $var1 = $var1 + 1 | 0; $this.$field_82269_o = ($this.$height / 6 | 0) + (24 * ($var1 >> 1) | 0) | 0; $var3 = $var1 + 2 | 0; $var2 = nms_ScreenChatOptions_allMultiplayerOptions.data; var$15 = $var2.length; var$13 = 0; while (var$13 < var$15) { $var5_0 = $var2[var$13]; if (!$var5_0.$enumFloat) { var$7 = $this.$buttonList; $var5 = new nms_GuiSmallButton; var$8 = $var5_0.$ordinal; var$16 = (($this.$width / 2 | 0) - 155 | 0) + (($var3 % 2 | 0) * 160 | 0) | 0; $var1 = ($this.$height / 6 | 0) + (24 * ($var3 >> 1) | 0) | 0; var$11 = nms_GameSettings_getKeyBinding($this.$theSettings, $var5_0); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); $var5.$width0 = 200; $var5.$height0 = 20; $var5.$enabled = 1; $var5.$drawButton0 = 1; $var5.$id0 = var$8; $var5.$xPosition = var$16; $var5.$yPosition = $var1; $var5.$width0 = 150; $var5.$height0 = 20; $var5.$displayString = var$11; $var5.$enumOptions = $var5_0; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$12 = var$7.$array.data; var$16 = var$7.$size0; var$7.$size0 = var$16 + 1 | 0; var$12[var$16] = $var5; var$7.$modCount = var$7.$modCount + 1 | 0; } else { var$7 = $this.$buttonList; $var5 = new nms_GuiSlider; var$10 = $var5_0.$ordinal; $var1 = (($this.$width / 2 | 0) - 155 | 0) + (($var3 % 2 | 0) * 160 | 0) | 0; var$16 = ($this.$height / 6 | 0) + (24 * ($var3 >> 1) | 0) | 0; var$11 = nms_GameSettings_getKeyBinding($this.$theSettings, $var5_0); var$17 = nms_GameSettings_getOptionFloatValue($this.$theSettings, $var5_0); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); $var5.$width0 = 200; $var5.$height0 = 20; $var5.$enabled = 1; $var5.$drawButton0 = 1; $var5.$id0 = var$10; $var5.$xPosition = $var1; $var5.$yPosition = var$16; $var5.$width0 = 150; $var5.$height0 = 20; $var5.$displayString = var$11; $var5.$sliderValue = 1.0; $var5.$idFloat = $var5_0; $var5.$sliderValue = var$17; ju_ArrayList_ensureCapacity(var$7, var$7.$size0 + 1 | 0); var$12 = var$7.$array.data; var$16 = var$7.$size0; var$7.$size0 = var$16 + 1 | 0; var$12[var$16] = $var5; var$7.$modCount = var$7.$modCount + 1 | 0; } $var3 = $var3 + 1 | 0; var$13 = var$13 + 1 | 0; } $var5_0 = $this.$buttonList; var$7 = new nms_GuiButton; var$15 = ($this.$width / 2 | 0) - 100 | 0; $var1 = ($this.$height / 6 | 0) + 168 | 0; $var5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(646)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$7.$width0 = 200; var$7.$height0 = 20; var$7.$enabled = 1; var$7.$drawButton0 = 1; var$7.$id0 = 200; var$7.$xPosition = var$15; var$7.$yPosition = $var1; var$7.$width0 = 200; var$7.$height0 = 20; var$7.$displayString = $var5; ju_ArrayList_ensureCapacity($var5_0, $var5_0.$size0 + 1 | 0); $var2 = $var5_0.$array.data; $var3 = $var5_0.$size0; $var5_0.$size0 = $var3 + 1 | 0; $var2[$var3] = var$7; $var5_0.$modCount = $var5_0.$modCount + 1 | 0; }, nms_ScreenChatOptions_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled) { if ($par1GuiButton.$id0 < 100 && $par1GuiButton instanceof nms_GuiSmallButton) { nms_GameSettings_setOptionValue($this.$theSettings, $par1GuiButton.$enumOptions, 1); var$2 = $this.$theSettings; var$3 = $par1GuiButton.$id0; var$4 = (nms_EnumOptions_$VALUES.$clone0()).data; var$5 = var$4.length; var$6 = 0; a: { while (true) { if (var$6 >= var$5) { var$7 = null; break a; } var$7 = var$4[var$6]; if (var$7.$ordinal == var$3) break; var$6 = var$6 + 1 | 0; } } $par1GuiButton.$displayString = nms_GameSettings_getKeyBinding(var$2, var$7); } if ($par1GuiButton.$id0 == 200) { nms_GameSettings_saveOptions($this.$mc.$gameSettings); $par1GuiButton = $this.$mc; var$2 = $this.$theGuiScreen; $ptr = 1; continue main; } } return; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_ScreenChatOptions_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; var$6 = $this.$theChatOptions; var$7 = $this.$width / 2 | 0; var$8 = 20; var$9 = 16777215; var$4 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$7 = 21; var$11 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; var$6 = $this.$theChatOptions; var$7 = $this.$width / 2 | 0; var$8 = 20; var$9 = 16777215; var$4 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$7 = 21; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$10, var$7, var$9, var$11); if ($rt_suspending()) { break main; } var$7 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$5 = $this.$fontRenderer; var$6 = $this.$field_82268_n; var$4 = $this.$width / 2 | 0; var$10 = $this.$field_82269_o + 7 | 0; var$7 = 16777215; var$4 = var$4 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$8 = var$4 + 1 | 0; var$9 = var$10 + 1 | 0; var$11 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$8, var$9, var$7, var$11); if ($rt_suspending()) { break main; } var$9 = $tmp; var$8 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$10, var$7, var$8); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$5 = $this.$buttonList; var$10 = $rt_compare(var$4, var$5.$size0); if (var$10 >= 0) return; if (var$4 >= 0 && var$10 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; $ptr = 6; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 6: var$5.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$5 = $this.$buttonList; var$10 = $rt_compare(var$4, var$5.$size0); if (var$10 >= 0) return; if (var$4 >= 0 && var$10 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_ScreenChatOptions__clinit_ = () => { let var$1, var$2; var$1 = $rt_createArray(nms_EnumOptions, 9); var$2 = var$1.data; var$2[0] = nms_EnumOptions_CHAT_VISIBILITY; var$2[1] = nms_EnumOptions_CHAT_COLOR; var$2[2] = nms_EnumOptions_CHAT_LINKS; var$2[3] = nms_EnumOptions_CHAT_OPACITY; var$2[4] = nms_EnumOptions_CHAT_LINKS_PROMPT; var$2[5] = nms_EnumOptions_CHAT_SCALE; var$2[6] = nms_EnumOptions_CHAT_HEIGHT_FOCUSED; var$2[7] = nms_EnumOptions_CHAT_HEIGHT_UNFOCUSED; var$2[8] = nms_EnumOptions_CHAT_WIDTH; nms_ScreenChatOptions_allScreenChatOptions = var$1; var$1 = $rt_createArray(nms_EnumOptions, 1); var$1.data[0] = nms_EnumOptions_SHOW_CAPE; nms_ScreenChatOptions_allMultiplayerOptions = var$1; }; function nms_GuiSlotLanguage() { let a = this; nms_GuiSlot.call(a); a.$field_77251_g = null; a.$field_77253_h = null; a.$languageGui = null; } let nms_GuiSlotLanguage__init_ = ($this, $par1GuiLanguage) => { let $var2, var$3, var$4, $var3, var$6, var$7; $var2 = $par1GuiLanguage.$mc; var$3 = $par1GuiLanguage.$width; var$4 = $par1GuiLanguage.$height; nms_GuiSlot__init_($this, $var2, var$3, var$4, 32, (var$4 - 65 | 0) + 4 | 0, 18); $this.$languageGui = $par1GuiLanguage; nms_StringTranslate_$callClinit(); $var2 = nms_StringTranslate_instance.$languageList0; $this.$field_77253_h = $var2; $par1GuiLanguage = new ju_ArrayList; $par1GuiLanguage.$array = $rt_createArray(jl_Object, 10); $this.$field_77251_g = $par1GuiLanguage; if ($var2.$cachedKeySet === null) { $par1GuiLanguage = new ju_AbstractMap$KeySet; $par1GuiLanguage.$this$025 = $var2; $var2.$cachedKeySet = $par1GuiLanguage; } $var2 = $var2.$cachedKeySet.$iterator(); while ($var2.$hasNext()) { $var3 = $var2.$next(); $par1GuiLanguage = $this.$field_77251_g; ju_ArrayList_ensureCapacity($par1GuiLanguage, $par1GuiLanguage.$size0 + 1 | 0); var$6 = $par1GuiLanguage.$array.data; var$7 = $par1GuiLanguage.$size0; $par1GuiLanguage.$size0 = var$7 + 1 | 0; var$6[var$7] = $var3; $par1GuiLanguage.$modCount = $par1GuiLanguage.$modCount + 1 | 0; } }, nms_GuiSlotLanguage__init_0 = var_0 => { let var_1 = new nms_GuiSlotLanguage(); nms_GuiSlotLanguage__init_(var_1, var_0); return var_1; }, nms_GuiSlotLanguage_getSize = $this => { return $this.$field_77251_g.$size0; }, nms_GuiSlotLanguage_elementClicked = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); var$3 = nms_StringTranslate_instance; var$4 = $this.$field_77251_g; if ($par1 >= 0 && $par1 < var$4.$size0) { var$4 = var$4.$array.data[$par1]; $par2 = 0; $ptr = 1; continue main; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); case 1: nms_StringTranslate_setLanguage(var$3, var$4, $par2); if ($rt_suspending()) { break main; } var$4 = $this.$languageGui; var$4.$mc.$fontRenderer0.$unicodeFlag = nms_StringTranslate_instance.$isUnicode; var$5 = var$4.$theGameSettings; var$3 = $this.$field_77251_g; if ($par1 >= 0 && $par1 < var$3.$size0) { var$3 = var$3.$array.data[$par1]; var$5.$language = var$3; var$4 = var$4.$fontRenderer; if ($rt_s(3662) === var$3) $par1 = 1; else if (!(var$3 instanceof jl_String)) $par1 = 0; else { var$6 = var$3; $par1 = $rt_s(3662).$nativeString !== var$6.$nativeString ? 0 : 1; } a: { if (!$par1) { if ($rt_s(3663) === var$3) $par1 = 1; else if (!(var$3 instanceof jl_String)) $par1 = 0; else { var$3 = var$3; $par1 = $rt_s(3663).$nativeString !== var$3.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break a; } } $par1 = 1; } var$4.$bidiFlag = $par1; $this.$languageGui.$doneButton.$displayString = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $rt_s(646)); nms_GameSettings_saveOptions($this.$languageGui.$theGameSettings); return; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, $ptr); }, nms_GuiSlotLanguage_isSelected = ($this, $par1) => { let var$2, var$3; var$2 = $this.$field_77251_g; if ($par1 >= 0 && $par1 < var$2.$size0) { var$2 = var$2.$array.data[$par1]; nms_StringTranslate_$callClinit(); var$3 = nms_StringTranslate_instance.$currentLanguage; if (var$2 === var$3) $par1 = 1; else if (!(var$3 instanceof jl_String)) $par1 = 0; else { var$3 = var$3; $par1 = var$2.$nativeString !== var$3.$nativeString ? 0 : 1; } return $par1; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, nms_GuiSlotLanguage_getContentHeight = $this => { return $this.$field_77251_g.$size0 * 18 | 0; }, nms_GuiSlotLanguage_drawBackground = $this => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$languageGui; var$2 = 0; if (var$1.$mc.$theWorld !== null) { nms_Gui_drawGradientRect(var$1, 0, 0, var$1.$width, var$1.$height, (-1072689136), (-804253680)); return; } $ptr = 1; case 1: nms_GuiScreen_drawBackground(var$1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); }, nms_GuiSlotLanguage_drawSlot = ($this, $par1, $par2, $par3, $par4, $par5Tessellator) => { let var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5Tessellator = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par5Tessellator = $this.$languageGui.$fontRenderer; $par5Tessellator.$bidiFlag = 1; var$6 = $this.$field_77253_h; var$7 = $this.$field_77251_g; if ($par1 >= 0 && $par1 < var$7.$size0) { var$7 = var$7.$array.data[$par1]; var$6 = var$6.$root; var$8 = var$7; var$8.$compareTo1(var$7); a: { while (true) { if (var$6 === null) { var$6 = null; break a; } $par1 = var$8.$compareTo1(var$6.$key0); if (!$par1) break; var$6 = $par1 >= 0 ? var$6.$right : var$6.$left; } } var$6 = var$6 === null ? null : var$6.$value4; $par4 = $this.$languageGui.$width / 2 | 0; $par2 = $par3 + 1 | 0; $par3 = 16777215; $par4 = $par4 - (nms_FontRenderer_getStringWidth($par5Tessellator, var$6) / 2 | 0) | 0; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $par1 = $par4 + 1 | 0; var$9 = $par2 + 1 | 0; var$10 = 1; $ptr = 1; continue main; } $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; $rt_throw($par5Tessellator); case 1: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$6, $par1, var$9, $par3, var$10); if ($rt_suspending()) { break main; } $par1 = $tmp; var$9 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$6, $par4, $par2, $par3, var$9); if ($rt_suspending()) { break main; } $par2 = $tmp; $par5Tessellator = $this.$languageGui; var$6 = $par5Tessellator.$fontRenderer; $par5Tessellator = $par5Tessellator.$theGameSettings.$language; nms_StringTranslate_$callClinit(); if ($rt_s(3662) === $par5Tessellator) $par1 = 1; else if (!($par5Tessellator instanceof jl_String)) $par1 = 0; else { var$8 = $par5Tessellator; $par1 = $rt_s(3662).$nativeString !== var$8.$nativeString ? 0 : 1; } b: { if (!$par1) { if ($rt_s(3663) === $par5Tessellator) $par1 = 1; else if (!($par5Tessellator instanceof jl_String)) $par1 = 0; else { $par5Tessellator = $par5Tessellator; $par1 = $rt_s(3663).$nativeString !== $par5Tessellator.$nativeString ? 0 : 1; } if (!$par1) { $par1 = 0; break b; } } $par1 = 1; } var$6.$bidiFlag = $par1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5Tessellator, var$6, var$7, var$8, var$9, var$10, $ptr); }; function nms_GuiSlotServer() { nms_GuiSlot.call(this); this.$parentGui = null; } let nms_GuiSlotServer_defaultServerIcon = null, nms_GuiSlotServer_icons = null, nms_GuiSlotServer_$callClinit = () => { nms_GuiSlotServer_$callClinit = $rt_eraseClinit(nms_GuiSlotServer); nms_GuiSlotServer__clinit_(); }, nms_GuiSlotServer_getSize = $this => { return (nms_GuiMultiplayer_internetServerList.$servers.$size0 + nms_GuiMultiplayer_lanServerList.$lanServersList.$size2 | 0) + 1 | 0; }, nms_GuiSlotServer_elementClicked = ($this, $par1, $par2) => { let $var4, $var6, var$5, var$6, var$7, var$8, $var3, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = nms_GuiMultiplayer_internetServerList.$servers; $var6 = $var4.$size0; var$5 = $var6 + nms_GuiMultiplayer_lanServerList.$lanServersList.$size2 | 0; var$6 = $rt_compare($par1, var$5); if (var$6 < 0) { var$7 = $this.$parentGui; var$8 = var$7.$selectedServer; if (var$8 >= var$5 && var$8 > 0) var$7.$selectedServer = var$5 - 1 | 0; $var3 = var$7.$selectedServer; var$7.$selectedServer = $par1; if ($var6 <= $par1) $var4 = null; else if ($par1 >= 0 && $par1 < $var6) $var4 = $var4.$array.data[$par1]; else { $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } if (var$6 >= 0 && $par1 > 0) var$7.$selectedServer = var$5 - 1 | 0; a: { b: { var$8 = var$7.$selectedServer; if (var$8 >= 0) { if (var$8 >= var$5 && var$8 > 0) var$7.$selectedServer = var$5 - 1 | 0; if (var$7.$selectedServer < (var$5 + 1 | 0)) { if ($var4 === null) break b; if ($var4.$field_82821_f == 78) break b; } } $var5 = 0; break a; } $var5 = 1; } var$6 = var$7.$selectedServer; if (var$6 >= var$5 && var$6 > 0) var$7.$selectedServer = var$5 - 1 | 0; $var6 = var$7.$selectedServer >= $var6 ? 0 : 1; var$7.$buttonSelect.$enabled = $var5; var$7.$field_96289_p.$enabled = $var6; var$7.$buttonDelete0.$enabled = $var6; if ($par2 && $var5) { $ptr = 1; continue main; } if ($var6) { nms_GuiScreen_$callClinit(); if (!nlea_EaglerAdapterImpl2_isKeyDown(42) && !nlea_EaglerAdapterImpl2_isKeyDown(54) ? 0 : 1) { nms_ServerList_$callClinit(); if ($var3 > nms_ServerList_forcedServers.$size0) { $par2 = nms_GuiMultiplayer_internetServerList.$servers.$size0; if ($var3 < $par2) { $var4 = $this.$parentGui; $par2 = $par2 + nms_GuiMultiplayer_lanServerList.$lanServersList.$size2 | 0; $par1 = $var4.$selectedServer; if ($par1 >= $par2 && $par1 > 0) $var4.$selectedServer = $par2 - 1 | 0; } } } } } return; case 1: nms_GuiMultiplayer_joinServer(var$7, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var4, $var6, var$5, var$6, var$7, var$8, $var3, $var5, $ptr); }, nms_GuiSlotServer_isSelected = ($this, $par1) => { let var$2, var$3, var$4; var$2 = $this.$parentGui; var$3 = nms_GuiMultiplayer_internetServerList.$servers.$size0 + nms_GuiMultiplayer_lanServerList.$lanServersList.$size2 | 0; var$4 = var$2.$selectedServer; if (var$4 >= var$3 && var$4 > 0) var$2.$selectedServer = var$3 - 1 | 0; return $par1 != var$2.$selectedServer ? 0 : 1; }, nms_GuiSlotServer_getContentHeight = $this => { return ((nms_GuiMultiplayer_internetServerList.$servers.$size0 + nms_GuiMultiplayer_lanServerList.$lanServersList.$size2 | 0) + 1 | 0) * 36 | 0; }, nms_GuiSlotServer_drawBackground = $this => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$parentGui; var$2 = 0; if (var$1.$mc.$theWorld !== null) { nms_Gui_drawGradientRect(var$1, 0, 0, var$1.$width, var$1.$height, (-1072689136), (-804253680)); return; } $ptr = 1; case 1: nms_GuiScreen_drawBackground(var$1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); }, nms_GuiSlotServer_drawSlot = ($this, $par1, $par2, $par3, $par4, $par5Tessellator) => { let var$6, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$par5Tessellator = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = nms_GuiMultiplayer_internetServerList.$servers.$size0; if ($par1 < var$6) try { $par2 = $par2 - 28 | 0; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } else { if ($par1 >= (var$6 + nms_GuiMultiplayer_lanServerList.$lanServersList.$size2 | 0)) { $ptr = 2; continue main; } try { $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } return; case 1: a: { try { nms_GuiSlotServer_func_77247_d($this, $par1, $par2, $par3, $par4, $par5Tessellator); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } return; case 2: nms_GuiSlotServer_func_77249_c($this, $par1, $par2, $par3, $par4, $par5Tessellator); if ($rt_suspending()) { break main; } return; case 3: a: { try { nms_GuiSlotServer_func_77248_b($this, $par1, $par2, $par3, $par4, $par5Tessellator); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5Tessellator, var$6, $ptr); }, nms_GuiSlotServer_func_77248_b = ($this, $par1, $par2, $par3, $par4, $par5Tessellator) => { let var$6, $var6, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();var$6 = $thread.pop();$par5Tessellator = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = nms_GuiMultiplayer_lanServerList; $par1 = $par1 - nms_GuiMultiplayer_internetServerList.$servers.$size0 | 0; $par5Tessellator = var$6.$lanServersList; if ($par1 < 0) { $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; $rt_throw($par5Tessellator); } $par5Tessellator = ju_LinkedList_listIterator($par5Tessellator, $par1); if ($par5Tessellator.$version < $par5Tessellator.$this$02.$modCount) { $par5Tessellator = new ju_ConcurrentModificationException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); } var$6 = $par5Tessellator.$nextEntry1; if (var$6 === null) { $par5Tessellator = new ju_NoSuchElementException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; $rt_throw($par5Tessellator); } $var6 = var$6.$item; $par5Tessellator.$currentEntry = var$6; $par5Tessellator.$prevEntry = var$6; $par5Tessellator.$nextEntry1 = var$6.$next5; $par5Tessellator.$index4 = $par5Tessellator.$index4 + 1 | 0; $var6 = $var6; $par5Tessellator = $this.$parentGui.$fontRenderer; nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3592)); $par2 = $par2 + 2 | 0; var$8 = $par3 + 1 | 0; var$9 = 16777215; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $par4 = $par2 + 1 | 0; $par1 = var$8 + 1 | 0; var$10 = 1; $ptr = 1; case 1: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$6, $par4, $par1, var$9, var$10); if ($rt_suspending()) { break main; } var$10 = $tmp; $par1 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$6, $par2, var$8, var$9, $par1); if ($rt_suspending()) { break main; } $par1 = $tmp; $par5Tessellator = $this.$parentGui.$fontRenderer; var$6 = $var6.$lanServerMotd; $par1 = $par3 + 12 | 0; $par3 = 8421504; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; var$10 = $par1 + 1 | 0; var$8 = 1; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$6, $par4, var$10, $par3, var$8); if ($rt_suspending()) { break main; } var$8 = $tmp; var$10 = 0; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$6, $par2, $par1, $par3, var$10); if ($rt_suspending()) { break main; } $par3 = $tmp; $par5Tessellator = $this.$parentGui; if (!$par5Tessellator.$mc.$gameSettings.$hideServerAddress) { $par5Tessellator = $par5Tessellator.$fontRenderer; var$6 = $var6.$lanServerCode; $par1 = $par1 + 11 | 0; $par3 = 5605410; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; var$10 = $par1 + 1 | 0; var$8 = 1; $ptr = 5; continue main; } $par5Tessellator = $par5Tessellator.$fontRenderer; var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3664)); $par1 = $par1 + 11 | 0; $par3 = 3158064; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; var$10 = $par1 + 1 | 0; var$8 = 1; $ptr = 7; continue main; case 5: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$6, $par4, var$10, $par3, var$8); if ($rt_suspending()) { break main; } var$10 = $tmp; $par4 = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$6, $par2, $par1, $par3, $par4); if ($rt_suspending()) { break main; } $par1 = $tmp; return; case 7: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$6, $par4, var$10, $par3, var$8); if ($rt_suspending()) { break main; } var$10 = $tmp; $par4 = 0; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$6, $par2, $par1, $par3, $par4); if ($rt_suspending()) { break main; } $par1 = $tmp; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5Tessellator, var$6, $var6, var$8, var$9, var$10, $ptr); }, nms_GuiSlotServer_func_77249_c = ($this, $par1, $par2, $par3, $par4, $par5Tessellator) => { let $var6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var6 = $thread.pop();$par5Tessellator = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (nle_IntegratedServer_relayManager.$relays.$size0) { $var6 = $this.$parentGui.$fontRenderer; nms_StatCollector_$callClinit(); var$7 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3665)); $par2 = $this.$parentGui.$width / 2 | 0; $par1 = $par3 + 6 | 0; $par4 = 16777215; $par2 = $par2 - (nms_FontRenderer_getStringWidth($var6, var$7) / 2 | 0) | 0; $var6.$randomStyle = 0; $var6.$boldStyle = 0; $var6.$italicStyle = 0; $var6.$underlineStyle = 0; $var6.$strikethroughStyle = 0; var$8 = $par2 + 1 | 0; var$9 = $par1 + 1 | 0; var$10 = 1; $ptr = 1; continue main; } $par5Tessellator = $this.$parentGui.$fontRenderer; nms_StatCollector_$callClinit(); var$7 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3666)); $par1 = $this.$parentGui.$width / 2 | 0; $par2 = $par3 + 6 | 0; $par4 = 16777215; var$8 = $par1 - (nms_FontRenderer_getStringWidth($par5Tessellator, var$7) / 2 | 0) | 0; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $par1 = var$8 + 1 | 0; var$9 = $par2 + 1 | 0; var$10 = 1; $ptr = 3; continue main; case 1: $tmp = nms_FontRenderer_renderString($var6, var$7, var$8, var$9, $par4, var$10); if ($rt_suspending()) { break main; } var$9 = $tmp; var$8 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($var6, var$7, $par2, $par1, $par4, var$8); if ($rt_suspending()) { break main; } $par1 = $tmp; a: { b: { $par5Tessellator = $this.$parentGui; switch (($par5Tessellator.$ticksOpened / 3 | 0) % 4 | 0) { case 0: break b; case 1: case 3: $var6 = $rt_s(3667); break a; case 2: break; default: break b; } $var6 = $rt_s(3668); break a; } $var6 = $rt_s(3669); } var$7 = $par5Tessellator.$fontRenderer; $par1 = $par5Tessellator.$width / 2 | 0; $par2 = $par3 + 18 | 0; $par3 = 8421504; $par1 = $par1 - (nms_FontRenderer_getStringWidth(var$7, $var6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; $par4 = $par1 + 1 | 0; var$8 = $par2 + 1 | 0; var$9 = 1; $ptr = 7; continue main; case 3: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$7, $par1, var$9, $par4, var$10); if ($rt_suspending()) { break main; } var$9 = $tmp; $par1 = 0; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$7, var$8, $par2, $par4, $par1); if ($rt_suspending()) { break main; } $par1 = $tmp; $par5Tessellator = $this.$parentGui.$fontRenderer; var$7 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3670)); $par1 = $this.$parentGui.$width / 2 | 0; $par2 = $par3 + 18 | 0; $par3 = (-5592406); $par1 = $par1 - (nms_FontRenderer_getStringWidth($par5Tessellator, var$7) / 2 | 0) | 0; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $par4 = $par1 + 1 | 0; var$8 = $par2 + 1 | 0; var$9 = 1; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$7, $par4, var$8, $par3, var$9); if ($rt_suspending()) { break main; } var$8 = $tmp; $par4 = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString($par5Tessellator, var$7, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1 = $tmp; return; case 7: $tmp = nms_FontRenderer_renderString(var$7, $var6, $par4, var$8, $par3, var$9); if ($rt_suspending()) { break main; } var$8 = $tmp; $par4 = 0; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString(var$7, $var6, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1 = $tmp; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5Tessellator, $var6, var$7, var$8, var$9, var$10, $ptr); }, nms_GuiSlotServer_func_77247_d = ($this, $par1, $par2, $par3, $par4, $par5Tessellator) => { let $var6, $var7, $var8, $var9, $var14, $iconX, $iconY, $i, $var15, $var13, $var16, $iconSize, var$18, var$19, var$20, $s, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$s = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();$iconSize = $thread.pop();$var16 = $thread.pop();$var13 = $thread.pop();$var15 = $thread.pop();$i = $thread.pop();$iconY = $thread.pop();$iconX = $thread.pop();$var14 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$par5Tessellator = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par5Tessellator = nms_GuiMultiplayer_internetServerList.$servers; if ($par1 >= 0 && $par1 < $par5Tessellator.$size0) { $var6 = $par5Tessellator.$array.data[$par1]; $par4 = $rt_compare($var6.$field_82821_f, 78); $var7 = $par4 <= 0 ? 0 : 1; $var8 = $par4 >= 0 ? 0 : 1; $var9 = !$var7 && !$var8 ? 0 : 1; $par5Tessellator = $this.$parentGui.$fontRenderer; $var14 = $var6.$serverName1; $iconX = $par2 + 38 | 0; $iconY = $par3 + 1 | 0; $i = 16777215; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $var8 = $iconX + 1 | 0; $var15 = $iconY + 1 | 0; $par4 = 1; $ptr = 1; continue main; } $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; $rt_throw($par5Tessellator); case 1: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var14, $var8, $var15, $i, $par4); if ($rt_suspending()) { break main; } $var13 = $tmp; $par4 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var14, $iconX, $iconY, $i, $par4); if ($rt_suspending()) { break main; } $par4 = $tmp; a: { if ($var6.$hasPing) { if (Long_gt($var6.$pingToServer, Long_ZERO)) break a; if ($var6.$hasError) break a; } $par5Tessellator = $this.$parentGui; if (!$par5Tessellator.$mc.$gameSettings.$hideServerAddress && !$var6.$hideAddress) { $par5Tessellator = $par5Tessellator.$fontRenderer; $var14 = $var6.$serverIP; $i = ($par3 + 12 | 0) + 11 | 0; $var16 = 3158064; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $par4 = $i + 1 | 0; $var13 = 1; $ptr = 5; continue main; } $var14 = $par5Tessellator.$fontRenderer; nms_StatCollector_$callClinit(); $par5Tessellator = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3664)); $i = ($par3 + 12 | 0) + 11 | 0; $var16 = 3158064; $var14.$randomStyle = 0; $var14.$boldStyle = 0; $var14.$italicStyle = 0; $var14.$underlineStyle = 0; $var14.$strikethroughStyle = 0; $par4 = $i + 1 | 0; $var13 = 1; $ptr = 3; continue main; } $i = jl_String_indexOf($var6.$serverMOTD, 10, 0); if ($i <= 0) { $par5Tessellator = $this.$parentGui.$fontRenderer; $var14 = $var6.$serverMOTD; $i = $par3 + 12 | 0; $var16 = 8421504; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $par4 = $i + 1 | 0; $var13 = 1; $ptr = 7; continue main; } $par5Tessellator = $this.$parentGui.$fontRenderer; $var14 = jl_String_substring($var6.$serverMOTD, 0, $i); $var16 = $par3 + 12 | 0; $iconSize = 8421504; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $par4 = $var16 + 1 | 0; $var13 = 1; $ptr = 9; continue main; case 3: $tmp = nms_FontRenderer_renderString($var14, $par5Tessellator, $var8, $par4, $var16, $var13); if ($rt_suspending()) { break main; } $var13 = $tmp; $par4 = 0; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($var14, $par5Tessellator, $iconX, $i, $var16, $par4); if ($rt_suspending()) { break main; } $par4 = $tmp; if (!$var9) { nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_ServerData_refreshIcon($var6); if ($var6.$serverIconEnabled) { $par4 = $var6.$serverIconGL; if ($par4 != (-1)) { $par5Tessellator = $this.$mc9.$renderEngine; if ($par4 != $par5Tessellator.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $par4); $par5Tessellator.$boundTexture = $par4; } $iconX = $par2 + 2 | 0; $iconY = $par3 + 2 | 0; nlea_Tessellator_$callClinit(); $var14 = nlea_Tessellator_instance; if ($var14.$isDrawing) nlea_Tessellator_draw($var14); $var14.$isDrawing = 1; $var14.$vertexCount = 0; $var14.$rawBufferIndex = 0; $var14.$addedVertices = 0; $var14.$drawMode = 7; $var14.$hasNormals = 0; $var14.$hasColor = 0; $var14.$hasTexture = 0; $var14.$hasBrightness = 0; $var14.$isColorDisabled = 0; var$18 = $iconX + 0 | 0; var$19 = $iconY + 28 | 0; $var14.$hasTexture = 1; $var14.$textureU = 0.0; $var14.$textureV = 1.0; nlea_Tessellator_addVertex($var14, var$18, var$19, 0.0); var$20 = $iconX + 28 | 0; $var14.$hasTexture = 1; $var14.$textureU = 1.0; $var14.$textureV = 1.0; nlea_Tessellator_addVertex($var14, var$20, var$19, 0.0); var$19 = $iconY + 0 | 0; $var14.$hasTexture = 1; $var14.$textureU = 1.0; $var14.$textureV = 0.0; nlea_Tessellator_addVertex($var14, var$20, var$19, 0.0); $var14.$hasTexture = 1; $var14.$textureU = 0.0; $var14.$textureV = 0.0; nlea_Tessellator_addVertex($var14, var$18, var$19, 0.0); nlea_Tessellator_draw($var14); nms_GuiSlotServer_$callClinit(); $par5Tessellator = nms_GuiSlotServer_icons; $ptr = 20; continue main; } } nms_GuiSlotServer_$callClinit(); $par5Tessellator = nms_GuiSlotServer_defaultServerIcon; $ptr = 15; continue main; } nms_EnumChatFormatting_$callClinit(); $par5Tessellator = nms_EnumChatFormatting_DARK_RED; $s = $par5Tessellator === null ? $rt_s(1) : $par5Tessellator.$field_96304_B; $par5Tessellator = $var6.$gameVersion; $var14 = new jl_StringBuilder; $var14.$buffer = $rt_createCharArray(16); $par4 = $var14.$length0; if ($s === null) $s = $rt_s(1); jl_AbstractStringBuilder_insert($var14, $par4, $s); $par4 = $var14.$length0; if ($par5Tessellator === null) $par5Tessellator = $rt_s(1); jl_AbstractStringBuilder_insert($var14, $par4, $par5Tessellator); $s = new jl_String; var$22 = $var14.$buffer; var$23 = var$22.data; $var13 = $var14.$length0; $i = var$23.length; if ($var13 >= 0 && $var13 <= ($i - 0 | 0)) { $s.$nativeString = $rt_charArrayToString(var$22.data, 0, $var13); $par5Tessellator = $this.$parentGui.$fontRenderer; $par4 = ($par2 + 240 | 0) - nms_FontRenderer_getStringWidth($par5Tessellator, $s) | 0; $var13 = 8421504; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $i = $par4 + 1 | 0; $var16 = 1; $ptr = 21; continue main; } $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); case 5: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var14, $var8, $par4, $var16, $var13); if ($rt_suspending()) { break main; } $var13 = $tmp; $par4 = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var14, $iconX, $i, $var16, $par4); if ($rt_suspending()) { break main; } $par4 = $tmp; if (!$var9) { nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_ServerData_refreshIcon($var6); if ($var6.$serverIconEnabled) { $par4 = $var6.$serverIconGL; if ($par4 != (-1)) { $par5Tessellator = $this.$mc9.$renderEngine; if ($par4 != $par5Tessellator.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $par4); $par5Tessellator.$boundTexture = $par4; } $iconX = $par2 + 2 | 0; $iconY = $par3 + 2 | 0; nlea_Tessellator_$callClinit(); $var14 = nlea_Tessellator_instance; if ($var14.$isDrawing) nlea_Tessellator_draw($var14); $var14.$isDrawing = 1; $var14.$vertexCount = 0; $var14.$rawBufferIndex = 0; $var14.$addedVertices = 0; $var14.$drawMode = 7; $var14.$hasNormals = 0; $var14.$hasColor = 0; $var14.$hasTexture = 0; $var14.$hasBrightness = 0; $var14.$isColorDisabled = 0; var$18 = $iconX + 0 | 0; var$19 = $iconY + 28 | 0; $var14.$hasTexture = 1; $var14.$textureU = 0.0; $var14.$textureV = 1.0; nlea_Tessellator_addVertex($var14, var$18, var$19, 0.0); var$20 = $iconX + 28 | 0; $var14.$hasTexture = 1; $var14.$textureU = 1.0; $var14.$textureV = 1.0; nlea_Tessellator_addVertex($var14, var$20, var$19, 0.0); var$19 = $iconY + 0 | 0; $var14.$hasTexture = 1; $var14.$textureU = 1.0; $var14.$textureV = 0.0; nlea_Tessellator_addVertex($var14, var$20, var$19, 0.0); $var14.$hasTexture = 1; $var14.$textureU = 0.0; $var14.$textureV = 0.0; nlea_Tessellator_addVertex($var14, var$18, var$19, 0.0); nlea_Tessellator_draw($var14); nms_GuiSlotServer_$callClinit(); $par5Tessellator = nms_GuiSlotServer_icons; $ptr = 20; continue main; } } nms_GuiSlotServer_$callClinit(); $par5Tessellator = nms_GuiSlotServer_defaultServerIcon; $ptr = 15; continue main; } nms_EnumChatFormatting_$callClinit(); $par5Tessellator = nms_EnumChatFormatting_DARK_RED; $s = $par5Tessellator === null ? $rt_s(1) : $par5Tessellator.$field_96304_B; $par5Tessellator = $var6.$gameVersion; $var14 = new jl_StringBuilder; $var14.$buffer = $rt_createCharArray(16); $par4 = $var14.$length0; if ($s === null) $s = $rt_s(1); jl_AbstractStringBuilder_insert($var14, $par4, $s); $par4 = $var14.$length0; if ($par5Tessellator === null) $par5Tessellator = $rt_s(1); jl_AbstractStringBuilder_insert($var14, $par4, $par5Tessellator); $s = new jl_String; var$22 = $var14.$buffer; var$23 = var$22.data; $var13 = $var14.$length0; $i = var$23.length; if ($var13 >= 0 && $var13 <= ($i - 0 | 0)) { $s.$nativeString = $rt_charArrayToString(var$22.data, 0, $var13); $par5Tessellator = $this.$parentGui.$fontRenderer; $par4 = ($par2 + 240 | 0) - nms_FontRenderer_getStringWidth($par5Tessellator, $s) | 0; $var13 = 8421504; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $i = $par4 + 1 | 0; $var16 = 1; $ptr = 21; continue main; } $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); case 7: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var14, $var8, $par4, $var16, $var13); if ($rt_suspending()) { break main; } $var13 = $tmp; $par4 = 0; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var14, $iconX, $i, $var16, $par4); if ($rt_suspending()) { break main; } $par4 = $tmp; $par5Tessellator = $this.$parentGui; if (!$par5Tessellator.$mc.$gameSettings.$hideServerAddress && !$var6.$hideAddress) { $var14 = $par5Tessellator.$fontRenderer; $par5Tessellator = $var6.$serverIP; $i = $i + 11 | 0; $var16 = 3158064; $var14.$randomStyle = 0; $var14.$boldStyle = 0; $var14.$italicStyle = 0; $var14.$underlineStyle = 0; $var14.$strikethroughStyle = 0; $par4 = $i + 1 | 0; $var13 = 1; $ptr = 16; continue main; } $var14 = $par5Tessellator.$fontRenderer; nms_StatCollector_$callClinit(); $par5Tessellator = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3664)); $i = $i + 11 | 0; $var16 = 3158064; $var14.$randomStyle = 0; $var14.$boldStyle = 0; $var14.$italicStyle = 0; $var14.$underlineStyle = 0; $var14.$strikethroughStyle = 0; $par4 = $i + 1 | 0; $var13 = 1; $ptr = 13; continue main; case 9: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var14, $var8, $par4, $iconSize, $var13); if ($rt_suspending()) { break main; } $var13 = $tmp; $par4 = 0; $ptr = 10; case 10: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var14, $iconX, $var16, $iconSize, $par4); if ($rt_suspending()) { break main; } $par4 = $tmp; $var14 = $this.$parentGui.$fontRenderer; $par5Tessellator = $var6.$serverMOTD; $par5Tessellator = jl_String_substring($par5Tessellator, $i + 1 | 0, $par5Tessellator.$nativeString.length); $i = $var16 + 11 | 0; $var16 = 8421504; $var14.$randomStyle = 0; $var14.$boldStyle = 0; $var14.$italicStyle = 0; $var14.$underlineStyle = 0; $var14.$strikethroughStyle = 0; $par4 = $i + 1 | 0; $var13 = 1; $ptr = 11; case 11: $tmp = nms_FontRenderer_renderString($var14, $par5Tessellator, $var8, $par4, $var16, $var13); if ($rt_suspending()) { break main; } $par4 = $tmp; $var13 = 0; $ptr = 12; case 12: $tmp = nms_FontRenderer_renderString($var14, $par5Tessellator, $iconX, $i, $var16, $var13); if ($rt_suspending()) { break main; } $var13 = $tmp; $var14 = $this.$parentGui.$fontRenderer; $par5Tessellator = $var6.$populationInfo; $par4 = ($par2 + 251 | 0) - nms_FontRenderer_getStringWidth($var14, $par5Tessellator) | 0; $var13 = $par3 + 12 | 0; $i = 8421504; $var14.$randomStyle = 0; $var14.$boldStyle = 0; $var14.$italicStyle = 0; $var14.$underlineStyle = 0; $var14.$strikethroughStyle = 0; $var16 = $par4 + 1 | 0; $var8 = $var13 + 1 | 0; $iconX = 1; $ptr = 18; continue main; case 13: $tmp = nms_FontRenderer_renderString($var14, $par5Tessellator, $var8, $par4, $var16, $var13); if ($rt_suspending()) { break main; } $var13 = $tmp; $par4 = 0; $ptr = 14; case 14: $tmp = nms_FontRenderer_renderString($var14, $par5Tessellator, $iconX, $i, $var16, $par4); if ($rt_suspending()) { break main; } $par4 = $tmp; $var14 = $this.$parentGui.$fontRenderer; $par5Tessellator = $var6.$populationInfo; $par4 = ($par2 + 251 | 0) - nms_FontRenderer_getStringWidth($var14, $par5Tessellator) | 0; $var13 = $par3 + 12 | 0; $i = 8421504; $var14.$randomStyle = 0; $var14.$boldStyle = 0; $var14.$italicStyle = 0; $var14.$underlineStyle = 0; $var14.$strikethroughStyle = 0; $var16 = $par4 + 1 | 0; $var8 = $var13 + 1 | 0; $iconX = 1; $ptr = 18; continue main; case 15: nle_TextureLocation_bindTexture($par5Tessellator); if ($rt_suspending()) { break main; } $iconX = $par2 + 2 | 0; $iconY = $par3 + 2 | 0; nlea_Tessellator_$callClinit(); $var14 = nlea_Tessellator_instance; if ($var14.$isDrawing) nlea_Tessellator_draw($var14); $var14.$isDrawing = 1; $var14.$vertexCount = 0; $var14.$rawBufferIndex = 0; $var14.$addedVertices = 0; $var14.$drawMode = 7; $var14.$hasNormals = 0; $var14.$hasColor = 0; $var14.$hasTexture = 0; $var14.$hasBrightness = 0; $var14.$isColorDisabled = 0; var$18 = $iconX + 0 | 0; var$19 = $iconY + 28 | 0; $var14.$hasTexture = 1; $var14.$textureU = 0.0; $var14.$textureV = 1.0; nlea_Tessellator_addVertex($var14, var$18, var$19, 0.0); var$20 = $iconX + 28 | 0; $var14.$hasTexture = 1; $var14.$textureU = 1.0; $var14.$textureV = 1.0; nlea_Tessellator_addVertex($var14, var$20, var$19, 0.0); var$19 = $iconY + 0 | 0; $var14.$hasTexture = 1; $var14.$textureU = 1.0; $var14.$textureV = 0.0; nlea_Tessellator_addVertex($var14, var$20, var$19, 0.0); $var14.$hasTexture = 1; $var14.$textureU = 0.0; $var14.$textureV = 0.0; nlea_Tessellator_addVertex($var14, var$18, var$19, 0.0); nlea_Tessellator_draw($var14); nms_GuiSlotServer_$callClinit(); $par5Tessellator = nms_GuiSlotServer_icons; $ptr = 20; continue main; case 16: $tmp = nms_FontRenderer_renderString($var14, $par5Tessellator, $var8, $par4, $var16, $var13); if ($rt_suspending()) { break main; } $var13 = $tmp; $par4 = 0; $ptr = 17; case 17: $tmp = nms_FontRenderer_renderString($var14, $par5Tessellator, $iconX, $i, $var16, $par4); if ($rt_suspending()) { break main; } $par4 = $tmp; $var14 = $this.$parentGui.$fontRenderer; $par5Tessellator = $var6.$populationInfo; $par4 = ($par2 + 251 | 0) - nms_FontRenderer_getStringWidth($var14, $par5Tessellator) | 0; $var13 = $par3 + 12 | 0; $i = 8421504; $var14.$randomStyle = 0; $var14.$boldStyle = 0; $var14.$italicStyle = 0; $var14.$underlineStyle = 0; $var14.$strikethroughStyle = 0; $var16 = $par4 + 1 | 0; $var8 = $var13 + 1 | 0; $iconX = 1; $ptr = 18; case 18: $tmp = nms_FontRenderer_renderString($var14, $par5Tessellator, $var16, $var8, $i, $iconX); if ($rt_suspending()) { break main; } $var8 = $tmp; $var16 = 0; $ptr = 19; case 19: $tmp = nms_FontRenderer_renderString($var14, $par5Tessellator, $par4, $var13, $i, $var16); if ($rt_suspending()) { break main; } $par4 = $tmp; if (!$var9) { nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_ServerData_refreshIcon($var6); if ($var6.$serverIconEnabled) { $par4 = $var6.$serverIconGL; if ($par4 != (-1)) { $par5Tessellator = $this.$mc9.$renderEngine; if ($par4 != $par5Tessellator.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $par4); $par5Tessellator.$boundTexture = $par4; } $iconX = $par2 + 2 | 0; $iconY = $par3 + 2 | 0; nlea_Tessellator_$callClinit(); $var14 = nlea_Tessellator_instance; if ($var14.$isDrawing) nlea_Tessellator_draw($var14); $var14.$isDrawing = 1; $var14.$vertexCount = 0; $var14.$rawBufferIndex = 0; $var14.$addedVertices = 0; $var14.$drawMode = 7; $var14.$hasNormals = 0; $var14.$hasColor = 0; $var14.$hasTexture = 0; $var14.$hasBrightness = 0; $var14.$isColorDisabled = 0; var$18 = $iconX + 0 | 0; var$19 = $iconY + 28 | 0; $var14.$hasTexture = 1; $var14.$textureU = 0.0; $var14.$textureV = 1.0; nlea_Tessellator_addVertex($var14, var$18, var$19, 0.0); var$20 = $iconX + 28 | 0; $var14.$hasTexture = 1; $var14.$textureU = 1.0; $var14.$textureV = 1.0; nlea_Tessellator_addVertex($var14, var$20, var$19, 0.0); var$19 = $iconY + 0 | 0; $var14.$hasTexture = 1; $var14.$textureU = 1.0; $var14.$textureV = 0.0; nlea_Tessellator_addVertex($var14, var$20, var$19, 0.0); $var14.$hasTexture = 1; $var14.$textureU = 0.0; $var14.$textureV = 0.0; nlea_Tessellator_addVertex($var14, var$18, var$19, 0.0); nlea_Tessellator_draw($var14); nms_GuiSlotServer_$callClinit(); $par5Tessellator = nms_GuiSlotServer_icons; $ptr = 20; continue main; } } nms_GuiSlotServer_$callClinit(); $par5Tessellator = nms_GuiSlotServer_defaultServerIcon; $ptr = 15; continue main; } nms_EnumChatFormatting_$callClinit(); $par5Tessellator = nms_EnumChatFormatting_DARK_RED; $s = $par5Tessellator === null ? $rt_s(1) : $par5Tessellator.$field_96304_B; $par5Tessellator = $var6.$gameVersion; $var14 = new jl_StringBuilder; $var14.$buffer = $rt_createCharArray(16); $par4 = $var14.$length0; if ($s === null) $s = $rt_s(1); jl_AbstractStringBuilder_insert($var14, $par4, $s); $par4 = $var14.$length0; if ($par5Tessellator === null) $par5Tessellator = $rt_s(1); jl_AbstractStringBuilder_insert($var14, $par4, $par5Tessellator); $s = new jl_String; var$22 = $var14.$buffer; var$23 = var$22.data; $var13 = $var14.$length0; $i = var$23.length; if ($var13 >= 0 && $var13 <= ($i - 0 | 0)) { $s.$nativeString = $rt_charArrayToString(var$22.data, 0, $var13); $par5Tessellator = $this.$parentGui.$fontRenderer; $par4 = ($par2 + 240 | 0) - nms_FontRenderer_getStringWidth($par5Tessellator, $s) | 0; $var13 = 8421504; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $i = $par4 + 1 | 0; $var16 = 1; $ptr = 21; continue main; } $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); case 20: b: { nle_TextureLocation_bindTexture($par5Tessellator); if ($rt_suspending()) { break main; } $var15 = 0; if ($var9) { $var14 = !$var7 ? $rt_s(3671) : $rt_s(3672); $var16 = 5; } else { if ($var6.$hasPing) { var$24 = $var6.$pingToServer; if (Long_ne(var$24, Long_fromInt(-2))) { $par1 = Long_compare(var$24, Long_ZERO); $var16 = $par1 < 0 ? 5 : Long_lt(var$24, Long_fromInt(150)) ? 0 : Long_lt(var$24, Long_fromInt(300)) ? 1 : Long_lt(var$24, Long_fromInt(600)) ? 2 : Long_ge(var$24, Long_fromInt(1000)) ? 4 : 3; if ($par1 < 0) { $var14 = $rt_s(3673); break b; } $par5Tessellator = new jl_StringBuilder; $par5Tessellator.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert2($par5Tessellator, $par5Tessellator.$length0, var$24, 10); jl_AbstractStringBuilder_insert($par5Tessellator, $par5Tessellator.$length0, $rt_s(3674)); $var14 = new jl_String; var$22 = $par5Tessellator.$buffer; var$23 = var$22.data; $par4 = $par5Tessellator.$length0; $var13 = var$23.length; if ($par4 >= 0 && $par4 <= ($var13 - 0 | 0)) { $var14.$nativeString = $rt_charArrayToString(var$22.data, 0, $par4); break b; } $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); } } $var15 = 1; nlea_EaglerAdapterImpl2_$callClinit(); $var16 = Long_lo(Long_and(Long_add(Long_div(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100)), Long_fromInt($par1 * 2 | 0)), Long_fromInt(7))); if ($var16 > 4) $var16 = 8 - $var16 | 0; $var14 = $rt_s(3675); } } c: { d: { nms_Gui_drawTexturedModalRect($this.$parentGui, $par2 + 241 | 0, $par3, 0 + ($var15 * 10 | 0) | 0, 176 + ($var16 * 8 | 0) | 0, 10, 8); $par1 = $this.$mouseX; $par4 = $par2 + 245 | 0; if ($par1 >= ($par4 - 4 | 0)) { $i = $this.$mouseY; if ($i >= ($par3 - 4 | 0) && $par1 <= (($par4 + 10 | 0) + 4 | 0) && $i <= (($par3 + 4 | 0) + 4 | 0)) { $this.$parentGui.$lagTooltip = $var14; break d; } } if ($par1 >= (($par2 + 230 | 0) - 4 | 0)) { $par2 = $this.$mouseY; if ($par2 >= (($par3 - 4 | 0) + 4 | 0) && $par1 <= (($par4 + 10 | 0) + 4 | 0) && $par2 <= ((($par3 + 8 | 0) + 4 | 0) + 8 | 0)) { $par5Tessellator = $var6.$playerList0; if ($par5Tessellator.$size0 > 0) { $var14 = $rt_s(18); $par3 = 0; $i = $par5Tessellator.$modCount; $var16 = $par5Tessellator.$size(); while ($par3 >= $var16 ? 0 : 1) { if ($i < $par5Tessellator.$modCount) { $par5Tessellator = new ju_ConcurrentModificationException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; $rt_throw($par5Tessellator); } $var13 = $par3 + 1 | 0; $s = $par5Tessellator.$get($par3); $var6 = new jl_StringBuilder; $var6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var6, $var6.$length0, $var14); $par2 = $var6.$length0; if ($s === null) $s = $rt_s(1); jl_AbstractStringBuilder_insert($var6, $par2, $s); $par2 = $var6.$length0; jl_AbstractStringBuilder_insertSpace($var6, $par2, $par2 + 1 | 0); var$22 = $var6.$buffer; var$23 = var$22.data; var$23[$par2] = 10; $var14 = new jl_String; $par3 = $var6.$length0; $par4 = var$23.length; if ($par3 < 0) break c; if ($par3 > ($par4 - 0 | 0)) break c; $var14.$nativeString = $rt_charArrayToString(var$22.data, 0, $par3); $par3 = $var13; } $this.$parentGui.$lagTooltip = $var14; } } } } return; } $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); case 21: $tmp = nms_FontRenderer_renderString($par5Tessellator, $s, $i, $var15, $var13, $var16); if ($rt_suspending()) { break main; } $var16 = $tmp; $i = 0; $ptr = 22; case 22: $tmp = nms_FontRenderer_renderString($par5Tessellator, $s, $par4, $iconY, $var13, $i); if ($rt_suspending()) { break main; } $par4 = $tmp; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_ServerData_refreshIcon($var6); if ($var6.$serverIconEnabled) { $par4 = $var6.$serverIconGL; if ($par4 != (-1)) { $par5Tessellator = $this.$mc9.$renderEngine; if ($par4 != $par5Tessellator.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $par4); $par5Tessellator.$boundTexture = $par4; } $iconX = $par2 + 2 | 0; $iconY = $par3 + 2 | 0; nlea_Tessellator_$callClinit(); $var14 = nlea_Tessellator_instance; if ($var14.$isDrawing) nlea_Tessellator_draw($var14); $var14.$isDrawing = 1; $var14.$vertexCount = 0; $var14.$rawBufferIndex = 0; $var14.$addedVertices = 0; $var14.$drawMode = 7; $var14.$hasNormals = 0; $var14.$hasColor = 0; $var14.$hasTexture = 0; $var14.$hasBrightness = 0; $var14.$isColorDisabled = 0; var$18 = $iconX + 0 | 0; var$19 = $iconY + 28 | 0; $var14.$hasTexture = 1; $var14.$textureU = 0.0; $var14.$textureV = 1.0; nlea_Tessellator_addVertex($var14, var$18, var$19, 0.0); var$20 = $iconX + 28 | 0; $var14.$hasTexture = 1; $var14.$textureU = 1.0; $var14.$textureV = 1.0; nlea_Tessellator_addVertex($var14, var$20, var$19, 0.0); var$19 = $iconY + 0 | 0; $var14.$hasTexture = 1; $var14.$textureU = 1.0; $var14.$textureV = 0.0; nlea_Tessellator_addVertex($var14, var$20, var$19, 0.0); $var14.$hasTexture = 1; $var14.$textureU = 0.0; $var14.$textureV = 0.0; nlea_Tessellator_addVertex($var14, var$18, var$19, 0.0); nlea_Tessellator_draw($var14); nms_GuiSlotServer_$callClinit(); $par5Tessellator = nms_GuiSlotServer_icons; $ptr = 20; continue main; } } nms_GuiSlotServer_$callClinit(); $par5Tessellator = nms_GuiSlotServer_defaultServerIcon; $ptr = 15; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5Tessellator, $var6, $var7, $var8, $var9, $var14, $iconX, $iconY, $i, $var15, $var13, $var16, $iconSize, var$18, var$19, var$20, $s, var$22, var$23, var$24, $ptr); }, nms_GuiSlotServer__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(2759); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiSlotServer_defaultServerIcon = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3676); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiSlotServer_icons = var$1; }; function nle_GuiScreenConnectOption() { let a = this; nms_GuiScreen.call(a); a.$guiScreen0 = null; a.$title4 = null; a.$prompt = null; a.$relaysButton1 = null; } let nle_GuiScreenConnectOption_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; $this.$title4 = nms_StringTranslate_translateKey($var1, $rt_s(1722)); $this.$prompt = nms_StringTranslate_translateKey($var1, $rt_s(3677)); var$2 = $this.$buttonList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$9 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 100 | 0; var$5 = (($this.$height / 4 | 0) - 60 | 0) + 90 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(3678)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 1; var$9.$xPosition = var$8; var$9.$yPosition = var$5; var$9.$width0 = 200; var$9.$height0 = 20; var$9.$displayString = var$6; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = $this.$buttonList; var$2 = new nms_GuiButton; var$10 = ($this.$width / 2 | 0) - 100 | 0; var$11 = (($this.$height / 4 | 0) - 60 | 0) + 115 | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(3580)); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 2; var$2.$xPosition = var$10; var$2.$yPosition = var$11; var$2.$width0 = 200; var$2.$height0 = 20; var$2.$displayString = var$9; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$2; var$6.$modCount = var$6.$modCount + 1 | 0; var$6 = $this.$buttonList; var$2 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 100 | 0; var$8 = (($this.$height / 4 | 0) - 60 | 0) + 155 | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(1626)); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 0; var$2.$xPosition = var$5; var$2.$yPosition = var$8; var$2.$width0 = 200; var$2.$height0 = 20; var$2.$displayString = var$9; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$2; var$6.$modCount = var$6.$modCount + 1 | 0; }, nle_GuiScreenConnectOption_actionPerformed = ($this, $par1GuiButton) => { let var$2, $scn, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$scn = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1GuiButton.$id0; if (!var$2) { $par1GuiButton = $this.$mc; $scn = $this.$guiScreen0; $ptr = 1; continue main; } if (var$2 == 1) { $par1GuiButton = $this.$mc; $scn = new nms_GuiScreenDirectConnect; var$4 = $this.$guiScreen0; var$5 = new nms_ServerData; nms_StatCollector_$callClinit(); nms_ServerData__init_(var$5, nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1725)), $rt_s(18), 0); var$4.$theServerData = var$5; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $scn.$buttonList = var$6; $scn.$allowUserInput = 0; $scn.$selectedButton = null; $scn.$eventButton = 0; $scn.$field_85043_c = Long_ZERO; $scn.$field_92018_d = 0; $scn.$guiScreen1 = var$4; $scn.$theServerData0 = var$5; $ptr = 2; continue main; } if (var$2 != 2) return; $scn = new nle_GuiScreenLANConnect; $par1GuiButton = $this.$guiScreen0; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $scn.$buttonList = var$4; $scn.$allowUserInput = 0; $scn.$selectedButton = null; $scn.$eventButton = 0; $scn.$field_85043_c = Long_ZERO; $scn.$field_92018_d = 0; $scn.$parent2 = $par1GuiButton; $par1GuiButton = new nle_GuiNetworkSettingsButton; $par1GuiButton.$screen0 = $scn; nms_StringTranslate_$callClinit(); $par1GuiButton.$text1 = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $rt_s(1718)); $par1GuiButton.$mc13 = nms_Minecraft_theMinecraft; $scn.$relaysButton0 = $par1GuiButton; if (nle_IntegratedServer_relayManager.$relays.$size0) { $par1GuiButton = $this.$mc; $ptr = 3; continue main; } $par1GuiButton = $this.$mc; $scn = new nle_GuiScreenNoRelays; var$6 = $this.$guiScreen0; var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); $scn.$buttonList = var$5; $scn.$allowUserInput = 0; $scn.$selectedButton = null; $scn.$eventButton = 0; $scn.$field_85043_c = Long_ZERO; $scn.$field_92018_d = 0; $scn.$parent1 = var$6; $scn.$title1 = $rt_s(3679); $scn.$title2 = null; $scn.$title3 = null; $ptr = 4; continue main; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, $scn); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, $scn); if ($rt_suspending()) { break main; } return; case 3: nms_Minecraft_displayGuiScreen($par1GuiButton, $scn); if ($rt_suspending()) { break main; } return; case 4: nms_Minecraft_displayGuiScreen($par1GuiButton, $scn); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $scn, var$4, var$5, var$6, $ptr); }, nle_GuiScreenConnectOption_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; var$6 = $this.$title4; var$7 = $this.$width / 2 | 0; var$4 = (($this.$height / 4 | 0) - 60 | 0) + 20 | 0; var$8 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = var$7 + 1 | 0; var$10 = var$4 + 1 | 0; var$11 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; var$6 = $this.$title4; var$7 = $this.$width / 2 | 0; var$4 = (($this.$height / 4 | 0) - 60 | 0) + 20 | 0; var$8 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = var$7 + 1 | 0; var$10 = var$4 + 1 | 0; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$9, var$10, var$8, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$7, var$4, var$8, var$9); if ($rt_suspending()) { break main; } var$4 = $tmp; var$5 = $this.$fontRenderer; var$6 = $this.$prompt; var$4 = $this.$width / 2 | 0; var$8 = (($this.$height / 4 | 0) - 60 | 0) + 55 | 0; var$7 = 10066329; var$9 = var$4 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$4 = var$9 + 1 | 0; var$10 = var$8 + 1 | 0; var$11 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$10, var$7, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$4 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$9, var$8, var$7, var$4); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$5 = $this.$buttonList; var$8 = $rt_compare(var$4, var$5.$size0); if (var$8 >= 0) { var$5 = $this.$relaysButton1; $ptr = 6; continue main; } if (var$4 >= 0 && var$8 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; $ptr = 7; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 6: nle_GuiNetworkSettingsButton_drawScreen(var$5, $par1, $par2); if ($rt_suspending()) { break main; } return; case 7: var$5.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$5 = $this.$buttonList; var$8 = $rt_compare(var$4, var$5.$size0); if (var$8 >= 0) { var$5 = $this.$relaysButton1; $ptr = 6; continue main; } if (var$4 >= 0 && var$8 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nle_GuiScreenConnectOption_mouseClicked = ($this, $par1, $par2, $par3) => { let var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $this.$relaysButton1; $ptr = 1; case 1: nle_GuiNetworkSettingsButton_mouseClicked(var$4, $par1, $par2, $par3); if ($rt_suspending()) { break main; } $ptr = 2; case 2: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $ptr); }; function nms_GuiScreenAddServer() { let a = this; nms_GuiScreen.call(a); a.$parentGui2 = null; a.$serverAddress0 = null; a.$serverName0 = null; a.$newServerData = null; } let nms_GuiScreenAddServer_updateScreen = $this => { let var$1; var$1 = $this.$serverName0; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; var$1 = $this.$serverAddress0; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; }, nms_GuiScreenAddServer_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; var$1 = $this.$buttonList; var$2 = var$1.$array; var$3 = 0; var$4 = var$1.$size0; var$5 = null; if (var$3 > var$4) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while (var$3 < var$4) { var$6 = var$2.data; var$7 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$5 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 100 | 0; var$4 = (($this.$height / 4 | 0) + 96 | 0) + 12 | 0; nms_StatCollector_$callClinit(); var$8 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3680)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 0; var$5.$xPosition = var$7; var$5.$yPosition = var$4; var$5.$width0 = 200; var$5.$height0 = 20; var$5.$displayString = var$8; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$5 = $this.$buttonList; var$1 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 100 | 0; var$7 = (($this.$height / 4 | 0) + 120 | 0) + 12 | 0; var$8 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1626)); var$1.$width0 = 200; var$1.$height0 = 20; var$1.$enabled = 1; var$1.$drawButton0 = 1; var$1.$id0 = 1; var$1.$xPosition = var$4; var$1.$yPosition = var$7; var$1.$width0 = 200; var$1.$height0 = 20; var$1.$displayString = var$8; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$2[var$4] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$buttonList; var$9 = new nms_GuiButton; var$10 = ($this.$width / 2 | 0) - 100 | 0; var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3681)); var$11 = !$this.$newServerData.$hideAddress ? nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3513)) : nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3512)); var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); var$3 = var$8.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$3, var$1); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(107)); var$3 = var$8.$length0; if (var$11 === null) var$11 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$3, var$11); var$1 = new jl_String; var$6 = var$8.$buffer; var$2 = var$6.data; var$3 = var$8.$length0; var$4 = var$2.length; if (var$3 >= 0 && var$3 <= (var$4 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$6.data, 0, var$3); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 2; var$9.$xPosition = var$10; var$9.$yPosition = 142; var$9.$width0 = 200; var$9.$height0 = 20; var$9.$displayString = var$1; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$2[var$4] = var$9; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = nms_GuiTextField__init_($this.$fontRenderer, ($this.$width / 2 | 0) - 100 | 0, 66, 200, 20); $this.$serverName0 = var$5; if (!var$5.$isFocused0) var$5.$cursorCounter = 0; var$5.$isFocused0 = 1; var$1 = $this.$newServerData.$serverName1; var$3 = var$1.$nativeString.length; var$4 = var$5.$maxStringLength; if (var$3 <= var$4) var$5.$text = var$1; else var$5.$text = jl_String_substring(var$1, 0, var$4); var$5.$cursorPosition = var$5.$text.$nativeString.length; var$4 = var$5.$text.$nativeString.length; if (var$5.$cursorPosition < 0) var$5.$cursorPosition = 0; if (var$5.$cursorPosition > var$4) var$5.$cursorPosition = var$4; nms_GuiTextField_setSelectionPos(var$5, var$5.$cursorPosition); var$5 = nms_GuiTextField__init_($this.$fontRenderer, ($this.$width / 2 | 0) - 100 | 0, 106, 200, 20); $this.$serverAddress0 = var$5; var$5.$maxStringLength = 128; if (var$5.$text.$nativeString.length > 128) var$5.$text = jl_String_substring(var$5.$text, 0, 128); var$5 = $this.$serverAddress0; var$1 = $this.$newServerData.$serverIP; var$3 = var$1.$nativeString.length; var$4 = var$5.$maxStringLength; if (var$3 <= var$4) var$5.$text = var$1; else var$5.$text = jl_String_substring(var$1, 0, var$4); var$5.$cursorPosition = var$5.$text.$nativeString.length; var$4 = var$5.$text.$nativeString.length; if (var$5.$cursorPosition < 0) var$5.$cursorPosition = 0; if (var$5.$cursorPosition > var$4) var$5.$cursorPosition = var$4; nms_GuiTextField_setSelectionPos(var$5, var$5.$cursorPosition); var$5 = $this.$buttonList; if (0 >= var$5.$size0) { var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } a: { var$5 = var$5.$array.data[0]; if ($this.$serverAddress0.$text.$nativeString.length > 0) { var$8 = $this.$serverAddress0.$text; if ((jur_Pattern_split(jur_Pattern_compile($rt_s(990), 0), var$8, 0)).data.length > 0 && $this.$serverName0.$text.$nativeString.length > 0) { var$3 = 1; break a; } } var$3 = 0; } var$5.$enabled = var$3; return; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); }, nms_GuiScreenAddServer_onGuiClosed = $this => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; }, nms_GuiScreenAddServer_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($par1GuiButton.$enabled) { var$2 = $par1GuiButton.$id0; if (var$2 == 1) { $par1GuiButton = $this.$parentGui2; var$3 = 0; var$2 = 0; $ptr = 1; continue main; } if (!var$2) { $par1GuiButton = $this.$newServerData; $par1GuiButton.$serverName1 = $this.$serverName0.$text; $par1GuiButton.$serverIP = $this.$serverAddress0.$text; $par1GuiButton = $this.$parentGui2; var$3 = 1; var$2 = 0; $ptr = 2; continue main; } if (var$2 == 2) { $par1GuiButton = $this.$newServerData; $par1GuiButton.$hideAddress = $par1GuiButton.$hideAddress ? 0 : 1; $par1GuiButton = $this.$buttonList; if (2 >= $par1GuiButton.$size0) { $par1GuiButton = new jl_IndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } $par1GuiButton = $par1GuiButton.$array.data[2]; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3681)); var$5 = !$this.$newServerData.$hideAddress ? nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3513)) : nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3512)); var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$3 = var$6.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$3, var$4); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(107)); var$3 = var$6.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$3, var$5); var$4 = new jl_String; var$7 = var$6.$buffer; var$8 = var$7.data; var$2 = var$6.$length0; var$9 = var$8.length; if (var$2 < 0) break a; if (var$2 > (var$9 - 0 | 0)) break a; var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$2); $par1GuiButton.$displayString = var$4; } } return; } $par1GuiButton = new jl_IndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1GuiButton); $rt_throw($par1GuiButton); case 1: nms_GuiMultiplayer_confirmClicked($par1GuiButton, var$3, var$2); if ($rt_suspending()) { break main; } return; case 2: nms_GuiMultiplayer_confirmClicked($par1GuiButton, var$3, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_GuiScreenAddServer_keyTyped = ($this, $par1, $par2) => { let var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$serverName0; $ptr = 1; case 1: nms_GuiTextField_textboxKeyTyped(var$3, $par1, $par2); if ($rt_suspending()) { break main; } var$3 = $this.$serverAddress0; $ptr = 2; case 2: nms_GuiTextField_textboxKeyTyped(var$3, $par1, $par2); if ($rt_suspending()) { break main; } if ($par2 == 15) { var$3 = $this.$serverName0; var$4 = var$3.$isFocused0; $par1 = var$4 ? 0 : 1; if ($par1 && !var$4) var$3.$cursorCounter = 0; var$3.$isFocused0 = $par1; var$3 = $this.$serverAddress0; var$4 = var$3.$isFocused0; $par1 = var$4 ? 0 : 1; if ($par1 && !var$4) var$3.$cursorCounter = 0; var$3.$isFocused0 = $par1; } if ($par2 != 28 && $par2 != 156) { var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } a: { var$3 = var$3.$array.data[0]; if ($this.$serverAddress0.$text.$nativeString.length > 0) { var$5 = $this.$serverAddress0.$text; if ((jur_Pattern_split(jur_Pattern_compile($rt_s(990), 0), var$5, 0)).data.length > 0 && $this.$serverName0.$text.$nativeString.length > 0) { $par1 = 1; break a; } } $par1 = 0; } var$3.$enabled = $par1; return; } var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = var$3.$array.data[0]; $ptr = 3; case 3: nms_GuiScreenAddServer_actionPerformed($this, var$3); if ($rt_suspending()) { break main; } var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } b: { var$3 = var$3.$array.data[0]; if ($this.$serverAddress0.$text.$nativeString.length > 0) { var$5 = $this.$serverAddress0.$text; if ((jur_Pattern_split(jur_Pattern_compile($rt_s(990), 0), var$5, 0)).data.length > 0 && $this.$serverName0.$text.$nativeString.length > 0) { $par1 = 1; break b; } } $par1 = 0; } var$3.$enabled = $par1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, $ptr); }, nms_GuiScreenAddServer_mouseClicked = ($this, $par1, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } nms_GuiTextField_mouseClicked($this.$serverAddress0, $par1, $par2, $par3); nms_GuiTextField_mouseClicked($this.$serverName0, $par1, $par2, $par3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $ptr); }, nms_GuiScreenAddServer_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3682)); var$7 = $this.$width / 2 | 0; var$8 = 17; var$9 = 16777215; var$4 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$7 = var$4 + 1 | 0; var$10 = 18; var$11 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3682)); var$7 = $this.$width / 2 | 0; var$8 = 17; var$9 = 16777215; var$4 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$7 = var$4 + 1 | 0; var$10 = 18; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$7, var$10, var$9, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$7 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$8, var$9, var$7); if ($rt_suspending()) { break main; } var$4 = $tmp; var$6 = $this.$fontRenderer; var$5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3683)); var$4 = ($this.$width / 2 | 0) - 100 | 0; var$7 = 53; var$8 = 10526880; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$9 = 54; var$11 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$6, var$5, var$10, var$9, var$8, var$11); if ($rt_suspending()) { break main; } var$9 = $tmp; var$10 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$6, var$5, var$4, var$7, var$8, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$5 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3684)); var$4 = ($this.$width / 2 | 0) - 100 | 0; var$7 = 94; var$8 = 10526880; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$9 = 95; var$11 = 1; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$10, var$9, var$8, var$11); if ($rt_suspending()) { break main; } var$9 = $tmp; var$10 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$7, var$8, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$5 = $this.$serverName0; $ptr = 8; case 8: nms_GuiTextField_drawTextBox(var$5); if ($rt_suspending()) { break main; } var$5 = $this.$serverAddress0; $ptr = 9; case 9: nms_GuiTextField_drawTextBox(var$5); if ($rt_suspending()) { break main; } var$4 = 0; var$5 = $this.$buttonList; var$7 = $rt_compare(var$4, var$5.$size0); if (var$7 >= 0) return; if (var$4 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; $ptr = 10; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 10: var$5.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$5 = $this.$buttonList; var$7 = $rt_compare(var$4, var$5.$size0); if (var$7 >= 0) return; if (var$4 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, otji_JSWrapper$JSTransparentInt = $rt_classWithoutFields(), otjc_JSNumber = $rt_classWithoutFields(), otjc_JSBoolean = $rt_classWithoutFields(), jl_InstantiationException = $rt_classWithoutFields(jl_ReflectiveOperationException), jl_InstantiationException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, jl_InstantiationException__init_0 = () => { let var_0 = new jl_InstantiationException(); jl_InstantiationException__init_(var_0); return var_0; }; function nms_WorldType() { let a = this; jl_Object.call(a); a.$worldTypeId0 = 0; a.$worldType = null; a.$generatorVersion = 0; a.$canBeCreated = 0; a.$isWorldTypeVersioned = 0; } let nms_WorldType_worldTypes = null, nms_WorldType_DEFAULT = null, nms_WorldType_FLAT = null, nms_WorldType_LARGE_BIOMES = null, nms_WorldType_DEFAULT_1_1 = null, nms_WorldType_getWorldTypeForGeneratorVersion = ($this, $par1) => { if ($this === nms_WorldType_DEFAULT && !$par1) $this = nms_WorldType_DEFAULT_1_1; return $this; }, nms_WorldType_parseWorldType = $par0Str => { let $var1, var$3; $var1 = 0; while (true) { var$3 = nms_WorldType_worldTypes.data; if ($var1 >= var$3.length) break; if (var$3[$var1] !== null && jl_String_equalsIgnoreCase(var$3[$var1].$worldType, $par0Str)) return nms_WorldType_worldTypes.data[$var1]; $var1 = $var1 + 1 | 0; } return null; }, nms_WorldType__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = $rt_createArray(nms_WorldType, 16); var$2 = var$1.data; nms_WorldType_worldTypes = var$1; var$3 = new nms_WorldType; var$3.$worldType = $rt_s(161); var$3.$generatorVersion = 1; var$3.$canBeCreated = 1; var$3.$worldTypeId0 = 0; var$2[0] = var$3; var$3.$isWorldTypeVersioned = 1; nms_WorldType_DEFAULT = var$3; var$4 = new nms_WorldType; var$4.$worldType = $rt_s(3685); var$4.$generatorVersion = 0; var$4.$canBeCreated = 1; var$4.$worldTypeId0 = 1; var$2[1] = var$4; nms_WorldType_FLAT = var$4; var$4 = new nms_WorldType; var$4.$worldType = $rt_s(3686); var$4.$generatorVersion = 0; var$4.$canBeCreated = 1; var$4.$worldTypeId0 = 2; var$2[2] = var$4; nms_WorldType_LARGE_BIOMES = var$4; var$4 = new nms_WorldType; var$4.$worldType = $rt_s(3687); var$4.$generatorVersion = 0; var$4.$canBeCreated = 1; var$4.$worldTypeId0 = 8; var$2[8] = var$4; var$4.$canBeCreated = 0; nms_WorldType_DEFAULT_1_1 = var$4; }; function nms_GameRules() { jl_Object.call(this); this.$theGameRules = null; } let nms_GameRules__init_0 = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $$je; var$1 = new ju_TreeMap; var$1.$originalComparator = null; var$1.$comparator = ju_Comparator$NaturalOrder_INSTANCE; $this.$theGameRules = var$1; var$2 = new nms_GameRuleValue; var$2.$valueString = $rt_s(70); var$3 = $rt_s(70).$nativeString.toLowerCase(); var$4 = var$3 === $rt_s(70).$nativeString ? $rt_s(70) : jl_String__init_(var$3); if (var$4 !== $rt_s(70)) { if ($rt_s(70) instanceof jl_String) { var$3 = $rt_s(70); var$5 = var$4.$nativeString !== var$3.$nativeString ? 0 : 1; } else var$5 = 0; } else var$5 = 1; var$2.$valueBoolean = !var$5 ? 0 : 1; a: { try { var$2.$valueInteger = jl_Integer_parseInt($rt_s(70)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } b: { try { var$2.$valueDouble = jl_Double_parseDouble($rt_s(70)); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } var$6 = var$1.$root; if (var$6 !== null) { var$3 = var$6.$key0; var$7 = $rt_s(2489); var$5 = jl_String_compareTo(var$7, var$3); if (var$5) { if (var$5 >= 0) { var$3 = var$6.$right; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; var$4 = null; var$3.$key0 = $rt_s(2489); var$3.$value4 = var$4; var$3.$height1 = 1; var$3.$size1 = 1; } else { var$5 = jl_String_compareTo(var$7, var$3.$key0); if (var$5) { if (var$5 >= 0) { var$4 = var$3.$right; if (var$4 !== null) { var$5 = jl_String_compareTo(var$7, var$4.$key0); if (var$5) { if (var$5 >= 0) { var$8 = var$4.$right; if (var$8 !== null) { var$5 = jl_String_compareTo0(var$7, var$8.$key0); if (var$5) { if (var$5 >= 0) { var$9 = var$8.$right; if (var$9 !== null) { var$5 = jl_String_compareTo(var$7, var$9.$key0); if (var$5) { if (var$5 >= 0) { var$10 = var$9.$right; if (var$10 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$5) { if (var$5 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$1, var$10.$right, $rt_s(2489)); else var$10.$left = ju_TreeMap_getOrCreateNode(var$1, var$10.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } else var$10 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$9.$right = var$10; } else { var$10 = var$9.$left; if (var$10 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$5) { if (var$5 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$1, var$10.$right, $rt_s(2489)); else var$10.$left = ju_TreeMap_getOrCreateNode(var$1, var$10.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } else var$10 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$9.$left = var$10; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } else { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $rt_s(2489), null); var$9.$height1 = 1; var$9.$size1 = 1; } var$8.$right = var$9; } else { var$11 = var$8.$left; if (var$11 !== null) { var$5 = jl_String_compareTo(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$11.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$right = var$12; } else { var$10 = var$11.$left; if (var$10 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$5) { if (var$5 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$1, var$10.$right, $rt_s(2489)); else var$10.$left = ju_TreeMap_getOrCreateNode(var$1, var$10.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } else var$10 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$left = var$10; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(2489), null); var$11.$height1 = 1; var$11.$size1 = 1; } var$8.$left = var$11; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } else { var$8 = new ju_TreeMap$TreeNode; var$10 = null; jl_Object__init_(var$8); var$8.$key0 = $rt_s(2489); var$8.$value4 = var$10; var$8.$height1 = 1; var$8.$size1 = 1; } var$4.$right = var$8; } else { var$11 = var$4.$left; if (var$11 !== null) { var$5 = jl_String_compareTo0(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$10 = var$11.$right; if (var$10 !== null) { var$5 = jl_String_compareTo(var$7, var$10.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$10.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$10.$right = var$12; } else { var$12 = var$10.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$10.$left = var$12; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } else { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $rt_s(2489), null); var$10.$height1 = 1; var$10.$size1 = 1; } var$11.$right = var$10; } else { var$10 = var$11.$left; if (var$10 !== null) { var$5 = jl_String_compareTo(var$7, var$10.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$10.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$10.$right = var$12; } else { var$12 = var$10.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$10.$left = var$12; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } else { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $rt_s(2489), null); var$10.$height1 = 1; var$10.$size1 = 1; } var$11.$left = var$10; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; var$10 = null; jl_Object__init_(var$11); var$11.$key0 = $rt_s(2489); var$11.$value4 = var$10; var$11.$height1 = 1; var$11.$size1 = 1; } var$4.$left = var$11; } ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } else { var$4 = new ju_TreeMap$TreeNode; var$10 = null; var$4.$key0 = $rt_s(2489); var$4.$value4 = var$10; var$4.$height1 = 1; var$4.$size1 = 1; } var$3.$right = var$4; } else { var$4 = var$3.$left; if (var$4 !== null) { var$5 = jl_String_compareTo0(var$7, var$4.$key0); if (var$5) { if (var$5 >= 0) { var$10 = var$4.$right; if (var$10 !== null) { var$5 = jl_String_compareTo0(var$7, var$10.$key0); if (var$5) { if (var$5 >= 0) { var$11 = var$10.$right; if (var$11 !== null) { var$5 = jl_String_compareTo(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$11.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$right = var$12; } else { var$12 = var$11.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$left = var$12; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(2489), null); var$11.$height1 = 1; var$11.$size1 = 1; } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 !== null) { var$5 = jl_String_compareTo(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$11.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$right = var$12; } else { var$12 = var$11.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$left = var$12; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(2489), null); var$11.$height1 = 1; var$11.$size1 = 1; } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } else { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $rt_s(2489); var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } var$4.$right = var$10; } else { var$10 = var$4.$left; if (var$10 !== null) { var$5 = jl_String_compareTo0(var$7, var$10.$key0); if (var$5) { if (var$5 >= 0) { var$11 = var$10.$right; if (var$11 !== null) { var$5 = jl_String_compareTo(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$11.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$right = var$12; } else { var$12 = var$11.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$left = var$12; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(2489), null); var$11.$height1 = 1; var$11.$size1 = 1; } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 !== null) { var$5 = jl_String_compareTo(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$11.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$right = var$12; } else { var$12 = var$11.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$left = var$12; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(2489), null); var$11.$height1 = 1; var$11.$size1 = 1; } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } else { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $rt_s(2489); var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } var$4.$left = var$10; } ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } else { var$4 = new ju_TreeMap$TreeNode; var$10 = null; var$4.$key0 = $rt_s(2489); var$4.$value4 = var$10; var$4.$height1 = 1; var$4.$size1 = 1; } var$3.$left = var$4; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$6.$right = var$3; } else { var$3 = var$6.$left; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; var$4 = null; var$3.$key0 = $rt_s(2489); var$3.$value4 = var$4; var$3.$height1 = 1; var$3.$size1 = 1; } else { var$5 = jl_String_compareTo0(var$7, var$3.$key0); if (var$5) { if (var$5 >= 0) { var$4 = var$3.$right; if (var$4 !== null) { var$5 = jl_String_compareTo0(var$7, var$4.$key0); if (var$5) { if (var$5 >= 0) { var$10 = var$4.$right; if (var$10 !== null) { var$5 = jl_String_compareTo0(var$7, var$10.$key0); if (var$5) { if (var$5 >= 0) { var$11 = var$10.$right; if (var$11 !== null) { var$5 = jl_String_compareTo(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$11.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$right = var$12; } else { var$12 = var$11.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$left = var$12; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(2489), null); var$11.$height1 = 1; var$11.$size1 = 1; } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 !== null) { var$5 = jl_String_compareTo(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$11.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$right = var$12; } else { var$12 = var$11.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$left = var$12; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(2489), null); var$11.$height1 = 1; var$11.$size1 = 1; } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } else { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $rt_s(2489); var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } var$4.$right = var$10; } else { var$10 = var$4.$left; if (var$10 !== null) { var$5 = jl_String_compareTo0(var$7, var$10.$key0); if (var$5) { if (var$5 >= 0) { var$11 = var$10.$right; if (var$11 !== null) { var$5 = jl_String_compareTo(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$11.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$right = var$12; } else { var$12 = var$11.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$left = var$12; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(2489), null); var$11.$height1 = 1; var$11.$size1 = 1; } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 !== null) { var$5 = jl_String_compareTo(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$11.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$right = var$12; } else { var$12 = var$11.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$left = var$12; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(2489), null); var$11.$height1 = 1; var$11.$size1 = 1; } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } else { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $rt_s(2489); var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } var$4.$left = var$10; } ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } else { var$4 = new ju_TreeMap$TreeNode; var$10 = null; var$4.$key0 = $rt_s(2489); var$4.$value4 = var$10; var$4.$height1 = 1; var$4.$size1 = 1; } var$3.$right = var$4; } else { var$4 = var$3.$left; if (var$4 !== null) { var$5 = jl_String_compareTo0(var$7, var$4.$key0); if (var$5) { if (var$5 >= 0) { var$10 = var$4.$right; if (var$10 !== null) { var$5 = jl_String_compareTo0(var$7, var$10.$key0); if (var$5) { if (var$5 >= 0) { var$11 = var$10.$right; if (var$11 !== null) { var$5 = jl_String_compareTo(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$11.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$right = var$12; } else { var$12 = var$11.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$left = var$12; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(2489), null); var$11.$height1 = 1; var$11.$size1 = 1; } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 !== null) { var$5 = jl_String_compareTo(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$11.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$right = var$12; } else { var$12 = var$11.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$left = var$12; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(2489), null); var$11.$height1 = 1; var$11.$size1 = 1; } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } else { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $rt_s(2489); var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } var$4.$right = var$10; } else { var$10 = var$4.$left; if (var$10 !== null) { var$5 = jl_String_compareTo0(var$7, var$10.$key0); if (var$5) { if (var$5 >= 0) { var$11 = var$10.$right; if (var$11 !== null) { var$5 = jl_String_compareTo(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$11.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$right = var$12; } else { var$12 = var$11.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$left = var$12; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(2489), null); var$11.$height1 = 1; var$11.$size1 = 1; } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 !== null) { var$5 = jl_String_compareTo(var$7, var$11.$key0); if (var$5) { if (var$5 >= 0) { var$12 = var$11.$right; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$right = var$12; } else { var$12 = var$11.$left; if (var$12 !== null) { var$5 = ju_Comparator$NaturalOrder_compare(var$1.$comparator, $rt_s(2489), ju_AbstractMap$SimpleEntry_getKey(var$12)); if (var$5) { if (var$5 >= 0) var$12.$right = ju_TreeMap_getOrCreateNode(var$1, var$12.$right, $rt_s(2489)); else var$12.$left = ju_TreeMap_getOrCreateNode(var$1, var$12.$left, $rt_s(2489)); ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } else var$12 = ju_TreeMap$TreeNode__init_($rt_s(2489)); var$11.$left = var$12; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } else { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $rt_s(2489), null); var$11.$height1 = 1; var$11.$size1 = 1; } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } else { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $rt_s(2489); var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } var$4.$left = var$10; } ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } else { var$4 = new ju_TreeMap$TreeNode; var$10 = null; var$4.$key0 = $rt_s(2489); var$4.$value4 = var$10; var$4.$height1 = 1; var$4.$size1 = 1; } var$3.$left = var$4; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$6.$left = var$3; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } else { var$6 = new ju_TreeMap$TreeNode; var$3 = null; var$6.$key0 = $rt_s(2489); var$6.$value4 = var$3; var$6.$height1 = 1; var$6.$size1 = 1; } c: { var$1.$root = var$6; var$3 = $rt_s(2489); var$13 = $rt_s(2489); if (var$3 !== var$13) { var$14 = var$3.$nativeString.length; var$15 = var$13.$nativeString.length; if (var$14 < var$15) var$15 = var$14; var$5 = 0; d: { while (true) { if (var$5 >= var$15) { var$3.$nativeString.length; var$13.$nativeString.length; break c; } if (var$5 < 0) break d; if (var$5 >= var$3.$nativeString.length) break d; var$16 = var$3.$nativeString.charCodeAt(var$5); if (var$5 < 0) break; if (var$5 >= var$13.$nativeString.length) break; if (var$16 - var$13.$nativeString.charCodeAt(var$5) | 0) break c; var$5 = var$5 + 1 | 0; } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } } var$13 = $rt_s(2489); e: { f: { g: while (true) { if (var$6 === null) { var$6 = null; break e; } h: { var$3 = var$6.$key0; if (var$13 === var$3) var$5 = 0; else { var$14 = var$13.$nativeString.length; var$15 = var$3.$nativeString.length; if (var$14 < var$15) var$15 = var$14; var$14 = 0; while (true) { if (var$14 >= var$15) { var$5 = var$13.$nativeString.length - var$3.$nativeString.length | 0; break h; } if (var$14 < 0) break f; if (var$14 >= var$13.$nativeString.length) break f; var$16 = var$13.$nativeString.charCodeAt(var$14); if (var$14 < 0) break g; if (var$14 >= var$3.$nativeString.length) break g; var$5 = var$16 - var$3.$nativeString.charCodeAt(var$14) | 0; if (var$5) break; var$14 = var$14 + 1 | 0; } } } if (!var$5) break e; var$6 = var$5 >= 0 ? var$6.$right : var$6.$left; } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } var$6.$value4 = var$2; var$6.$value4 = var$2; var$1.$modCount2 = var$1.$modCount2 + 1 | 0; var$7 = $this.$theGameRules; var$12 = new nms_GameRuleValue; var$12.$valueString = $rt_s(70); var$6 = $rt_s(70).$nativeString.toLowerCase(); var$2 = var$6 === $rt_s(70).$nativeString ? $rt_s(70) : jl_String__init_(var$6); if (var$2 === $rt_s(70)) var$5 = 1; else if (!($rt_s(70) instanceof jl_String)) var$5 = 0; else { var$6 = $rt_s(70); var$5 = var$2.$nativeString !== var$6.$nativeString ? 0 : 1; } var$12.$valueBoolean = !var$5 ? 0 : 1; i: { try { var$12.$valueInteger = jl_Integer_parseInt($rt_s(70)); break i; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } j: { try { var$12.$valueDouble = jl_Double_parseDouble($rt_s(70)); break j; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } var$8 = var$7.$root; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; var$13 = null; var$8.$key0 = $rt_s(1854); var$8.$value4 = var$13; var$8.$height1 = 1; var$8.$size1 = 1; } else { k: { var$13 = var$8.$key0; var$4 = $rt_s(1854); var$13 = var$13; if (var$4 === var$13) var$5 = 0; else { var$14 = var$4.$nativeString.length; var$15 = var$13.$nativeString.length; if (var$14 < var$15) var$15 = var$14; var$14 = 0; l: { while (true) { if (var$14 >= var$15) { var$5 = var$4.$nativeString.length - var$13.$nativeString.length | 0; break k; } if (var$14 < 0) break l; if (var$14 >= var$4.$nativeString.length) break l; var$16 = var$4.$nativeString.charCodeAt(var$14); if (var$14 < 0) break; if (var$14 >= var$13.$nativeString.length) break; var$5 = var$16 - var$13.$nativeString.charCodeAt(var$14) | 0; if (var$5) break k; var$14 = var$14 + 1 | 0; } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$1); $rt_throw(var$1); } } if (var$5) { if (var$5 < 0) { var$10 = var$8.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$13 = null; var$10.$key0 = $rt_s(1854); var$10.$value4 = var$13; var$10.$height1 = 1; var$10.$size1 = 1; } else { m: { var$13 = var$10.$key0; if (var$4 === var$13) var$5 = 0; else { var$14 = var$4.$nativeString.length; var$15 = var$13.$nativeString.length; if (var$14 < var$15) var$15 = var$14; var$14 = 0; n: { while (true) { if (var$14 >= var$15) { var$5 = var$4.$nativeString.length - var$13.$nativeString.length | 0; break m; } if (var$14 < 0) break n; if (var$14 >= var$4.$nativeString.length) break n; var$16 = var$4.$nativeString.charCodeAt(var$14); if (var$14 < 0) break; if (var$14 >= var$13.$nativeString.length) break; var$5 = var$16 - var$13.$nativeString.charCodeAt(var$14) | 0; if (var$5) break m; var$14 = var$14 + 1 | 0; } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } } if (var$5) { if (var$5 < 0) { var$13 = var$10.$left; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; var$6 = null; var$13.$key0 = $rt_s(1854); var$13.$value4 = var$6; var$13.$height1 = 1; var$13.$size1 = 1; } else { o: { var$6 = var$13.$key0; if (var$4 === var$6) var$5 = 0; else { var$14 = jl_Math_min(jl_String_length(var$4), jl_String_length(var$6)); var$16 = 0; while (true) { if (var$16 >= var$14) { var$5 = jl_String_length(var$4) - jl_String_length(var$6) | 0; break o; } var$5 = jl_String_charAt(var$4, var$16) - jl_String_charAt(var$6, var$16) | 0; if (var$5) break; var$16 = var$16 + 1 | 0; } } } if (var$5) { if (var$5 < 0) var$13.$left = ju_TreeMap_getOrCreateNode(var$7, var$13.$left, $rt_s(1854)); else { var$6 = var$13.$right; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$2 = null; jl_Object__init_(var$6); var$6.$key0 = $rt_s(1854); var$6.$value4 = var$2; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$5 = jl_String_compareTo0(var$4, var$6.$key0); if (var$5) { if (var$5 < 0) var$6.$left = ju_TreeMap_getOrCreateNode(var$7, var$6.$left, $rt_s(1854)); else { var$2 = var$6.$right; if (var$2 === null) { var$2 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$2, $rt_s(1854), null); var$2.$height1 = 1; var$2.$size1 = 1; } else { var$5 = jl_String_compareTo(var$4, var$2.$key0); if (var$5) { if (var$5 >= 0) { var$3 = var$2.$right; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$right = var$3; } else { var$3 = var$2.$left; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$left = var$3; } ju_TreeMap$TreeNode_fix(var$2); var$2 = ju_TreeMap$TreeNode_balance(var$2); } } var$6.$right = var$2; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$13.$right = var$6; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$10.$left = var$13; } else { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; var$13 = null; var$11.$key0 = $rt_s(1854); var$11.$value4 = var$13; var$11.$height1 = 1; var$11.$size1 = 1; } else { p: { var$13 = var$11.$key0; if (var$4 === var$13) var$5 = 0; else { var$14 = jl_Math_min(jl_String_length(var$4), jl_String_length(var$13)); var$16 = 0; while (true) { if (var$16 >= var$14) { var$5 = jl_String_length(var$4) - jl_String_length(var$13) | 0; break p; } var$5 = jl_String_charAt(var$4, var$16) - jl_String_charAt(var$13, var$16) | 0; if (var$5) break; var$16 = var$16 + 1 | 0; } } } if (var$5) { if (var$5 >= 0) { var$9 = var$11.$right; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; var$13 = null; jl_Object__init_(var$9); var$9.$key0 = $rt_s(1854); var$9.$value4 = var$13; var$9.$height1 = 1; var$9.$size1 = 1; } else { var$5 = jl_String_compareTo0(var$4, var$9.$key0); if (var$5) { if (var$5 >= 0) { var$13 = var$9.$right; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$13, $rt_s(1854), null); var$13.$height1 = 1; var$13.$size1 = 1; } else { var$5 = jl_String_compareTo(var$4, var$13.$key0); if (var$5) { if (var$5 >= 0) { var$6 = var$13.$right; if (var$6 === null) var$6 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$6)); if (var$5) { if (var$5 >= 0) var$6.$right = ju_TreeMap_getOrCreateNode(var$7, var$6.$right, $rt_s(1854)); else var$6.$left = ju_TreeMap_getOrCreateNode(var$7, var$6.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$13.$right = var$6; } else { var$6 = var$13.$left; if (var$6 === null) var$6 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$6)); if (var$5) { if (var$5 >= 0) var$6.$right = ju_TreeMap_getOrCreateNode(var$7, var$6.$right, $rt_s(1854)); else var$6.$left = ju_TreeMap_getOrCreateNode(var$7, var$6.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$13.$left = var$6; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$9.$right = var$13; } else { var$13 = var$9.$left; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$13, $rt_s(1854), null); var$13.$height1 = 1; var$13.$size1 = 1; } else { var$5 = jl_String_compareTo(var$4, var$13.$key0); if (var$5) { if (var$5 >= 0) { var$6 = var$13.$right; if (var$6 === null) var$6 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$6)); if (var$5) { if (var$5 >= 0) var$6.$right = ju_TreeMap_getOrCreateNode(var$7, var$6.$right, $rt_s(1854)); else var$6.$left = ju_TreeMap_getOrCreateNode(var$7, var$6.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$13.$right = var$6; } else { var$6 = var$13.$left; if (var$6 === null) var$6 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$6)); if (var$5) { if (var$5 >= 0) var$6.$right = ju_TreeMap_getOrCreateNode(var$7, var$6.$right, $rt_s(1854)); else var$6.$left = ju_TreeMap_getOrCreateNode(var$7, var$6.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$13.$left = var$6; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$9.$left = var$13; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$3 = var$11.$left; if (var$3 === null) { var$3 = new ju_TreeMap$TreeNode; var$13 = null; jl_Object__init_(var$3); var$3.$key0 = $rt_s(1854); var$3.$value4 = var$13; var$3.$height1 = 1; var$3.$size1 = 1; } else { var$5 = jl_String_compareTo0(var$4, var$3.$key0); if (var$5) { if (var$5 >= 0) { var$9 = var$3.$right; if (var$9 === null) { var$9 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$9, $rt_s(1854), null); var$9.$height1 = 1; var$9.$size1 = 1; } else { var$5 = jl_String_compareTo(var$4, var$9.$key0); if (var$5) { if (var$5 >= 0) { var$13 = var$9.$right; if (var$13 === null) var$13 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$13)); if (var$5) { if (var$5 >= 0) var$13.$right = ju_TreeMap_getOrCreateNode(var$7, var$13.$right, $rt_s(1854)); else var$13.$left = ju_TreeMap_getOrCreateNode(var$7, var$13.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$9.$right = var$13; } else { var$13 = var$9.$left; if (var$13 === null) var$13 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$13)); if (var$5) { if (var$5 >= 0) var$13.$right = ju_TreeMap_getOrCreateNode(var$7, var$13.$right, $rt_s(1854)); else var$13.$left = ju_TreeMap_getOrCreateNode(var$7, var$13.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$9.$left = var$13; } ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$3.$right = var$9; } else { var$2 = var$3.$left; if (var$2 === null) { var$2 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$2, $rt_s(1854), null); var$2.$height1 = 1; var$2.$size1 = 1; } else { var$5 = jl_String_compareTo(var$4, var$2.$key0); if (var$5) { if (var$5 >= 0) { var$4 = var$2.$right; if (var$4 === null) var$4 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$4)); if (var$5) { if (var$5 >= 0) var$4.$right = ju_TreeMap_getOrCreateNode(var$7, var$4.$right, $rt_s(1854)); else var$4.$left = ju_TreeMap_getOrCreateNode(var$7, var$4.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$4); var$4 = ju_TreeMap$TreeNode_balance(var$4); } } var$2.$right = var$4; } else { var$6 = var$2.$left; if (var$6 === null) var$6 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$6)); if (var$5) { if (var$5 >= 0) var$6.$right = ju_TreeMap_getOrCreateNode(var$7, var$6.$right, $rt_s(1854)); else var$6.$left = ju_TreeMap_getOrCreateNode(var$7, var$6.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$2.$left = var$6; } ju_TreeMap$TreeNode_fix(var$2); var$2 = ju_TreeMap$TreeNode_balance(var$2); } } var$3.$left = var$2; } ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$11.$left = var$3; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$8.$left = var$10; } else { var$11 = var$8.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; var$13 = null; var$11.$key0 = $rt_s(1854); var$11.$value4 = var$13; var$11.$height1 = 1; var$11.$size1 = 1; } else { q: { var$13 = var$11.$key0; if (var$4 === var$13) var$5 = 0; else { var$14 = var$4.$nativeString.length; var$15 = var$13.$nativeString.length; if (var$14 < var$15) var$15 = var$14; var$14 = 0; r: { while (true) { if (var$14 >= var$15) { var$5 = var$4.$nativeString.length - var$13.$nativeString.length | 0; break q; } if (var$14 < 0) break r; if (var$14 >= var$4.$nativeString.length) break r; var$16 = var$4.$nativeString.charCodeAt(var$14); if (var$14 < 0) break; if (var$14 >= var$13.$nativeString.length) break; var$5 = var$16 - var$13.$nativeString.charCodeAt(var$14) | 0; if (var$5) break q; var$14 = var$14 + 1 | 0; } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } } if (var$5) { if (var$5 >= 0) { var$13 = var$11.$right; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; var$6 = null; var$13.$key0 = $rt_s(1854); var$13.$value4 = var$6; var$13.$height1 = 1; var$13.$size1 = 1; } else { s: { var$6 = var$13.$key0; if (var$4 === var$6) var$5 = 0; else { var$14 = jl_Math_min(jl_String_length(var$4), jl_String_length(var$6)); var$16 = 0; while (true) { if (var$16 >= var$14) { var$5 = jl_String_length(var$4) - jl_String_length(var$6) | 0; break s; } var$5 = jl_String_charAt(var$4, var$16) - jl_String_charAt(var$6, var$16) | 0; if (var$5) break; var$16 = var$16 + 1 | 0; } } } if (var$5) { if (var$5 >= 0) { var$6 = var$13.$right; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$2 = null; jl_Object__init_(var$6); var$6.$key0 = $rt_s(1854); var$6.$value4 = var$2; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$5 = jl_String_compareTo0(var$4, var$6.$key0); if (var$5) { if (var$5 >= 0) { var$2 = var$6.$right; if (var$2 === null) { var$2 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$2, $rt_s(1854), null); var$2.$height1 = 1; var$2.$size1 = 1; } else { var$5 = jl_String_compareTo(var$4, var$2.$key0); if (var$5) { if (var$5 >= 0) { var$3 = var$2.$right; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$right = var$3; } else { var$3 = var$2.$left; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$left = var$3; } ju_TreeMap$TreeNode_fix(var$2); var$2 = ju_TreeMap$TreeNode_balance(var$2); } } var$6.$right = var$2; } else { var$2 = var$6.$left; if (var$2 === null) { var$2 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$2, $rt_s(1854), null); var$2.$height1 = 1; var$2.$size1 = 1; } else { var$5 = jl_String_compareTo(var$4, var$2.$key0); if (var$5) { if (var$5 >= 0) { var$3 = var$2.$right; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$right = var$3; } else { var$3 = var$2.$left; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$left = var$3; } ju_TreeMap$TreeNode_fix(var$2); var$2 = ju_TreeMap$TreeNode_balance(var$2); } } var$6.$left = var$2; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$13.$right = var$6; } else { var$6 = var$13.$left; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$2 = null; jl_Object__init_(var$6); var$6.$key0 = $rt_s(1854); var$6.$value4 = var$2; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$5 = jl_String_compareTo0(var$4, var$6.$key0); if (var$5) { if (var$5 >= 0) { var$2 = var$6.$right; if (var$2 === null) { var$2 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$2, $rt_s(1854), null); var$2.$height1 = 1; var$2.$size1 = 1; } else { var$5 = jl_String_compareTo(var$4, var$2.$key0); if (var$5) { if (var$5 >= 0) { var$3 = var$2.$right; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$right = var$3; } else { var$3 = var$2.$left; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$left = var$3; } ju_TreeMap$TreeNode_fix(var$2); var$2 = ju_TreeMap$TreeNode_balance(var$2); } } var$6.$right = var$2; } else { var$2 = var$6.$left; if (var$2 === null) { var$2 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$2, $rt_s(1854), null); var$2.$height1 = 1; var$2.$size1 = 1; } else { var$5 = jl_String_compareTo(var$4, var$2.$key0); if (var$5) { if (var$5 >= 0) { var$3 = var$2.$right; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$right = var$3; } else { var$3 = var$2.$left; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$left = var$3; } ju_TreeMap$TreeNode_fix(var$2); var$2 = ju_TreeMap$TreeNode_balance(var$2); } } var$6.$left = var$2; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$13.$left = var$6; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$11.$right = var$13; } else { var$13 = var$11.$left; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; var$6 = null; var$13.$key0 = $rt_s(1854); var$13.$value4 = var$6; var$13.$height1 = 1; var$13.$size1 = 1; } else { t: { var$6 = var$13.$key0; if (var$4 === var$6) var$5 = 0; else { var$14 = jl_Math_min(jl_String_length(var$4), jl_String_length(var$6)); var$16 = 0; while (true) { if (var$16 >= var$14) { var$5 = jl_String_length(var$4) - jl_String_length(var$6) | 0; break t; } var$5 = jl_String_charAt(var$4, var$16) - jl_String_charAt(var$6, var$16) | 0; if (var$5) break; var$16 = var$16 + 1 | 0; } } } if (var$5) { if (var$5 >= 0) { var$6 = var$13.$right; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$2 = null; jl_Object__init_(var$6); var$6.$key0 = $rt_s(1854); var$6.$value4 = var$2; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$5 = jl_String_compareTo0(var$4, var$6.$key0); if (var$5) { if (var$5 >= 0) { var$2 = var$6.$right; if (var$2 === null) { var$2 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$2, $rt_s(1854), null); var$2.$height1 = 1; var$2.$size1 = 1; } else { var$5 = jl_String_compareTo(var$4, var$2.$key0); if (var$5) { if (var$5 >= 0) { var$3 = var$2.$right; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$right = var$3; } else { var$3 = var$2.$left; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$left = var$3; } ju_TreeMap$TreeNode_fix(var$2); var$2 = ju_TreeMap$TreeNode_balance(var$2); } } var$6.$right = var$2; } else { var$2 = var$6.$left; if (var$2 === null) { var$2 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$2, $rt_s(1854), null); var$2.$height1 = 1; var$2.$size1 = 1; } else { var$5 = jl_String_compareTo(var$4, var$2.$key0); if (var$5) { if (var$5 >= 0) { var$3 = var$2.$right; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$right = var$3; } else { var$3 = var$2.$left; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$left = var$3; } ju_TreeMap$TreeNode_fix(var$2); var$2 = ju_TreeMap$TreeNode_balance(var$2); } } var$6.$left = var$2; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$13.$right = var$6; } else { var$6 = var$13.$left; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$2 = null; jl_Object__init_(var$6); var$6.$key0 = $rt_s(1854); var$6.$value4 = var$2; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$5 = jl_String_compareTo0(var$4, var$6.$key0); if (var$5) { if (var$5 >= 0) { var$2 = var$6.$right; if (var$2 === null) { var$2 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$2, $rt_s(1854), null); var$2.$height1 = 1; var$2.$size1 = 1; } else { var$5 = jl_String_compareTo(var$4, var$2.$key0); if (var$5) { if (var$5 >= 0) { var$3 = var$2.$right; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$right = var$3; } else { var$3 = var$2.$left; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$left = var$3; } ju_TreeMap$TreeNode_fix(var$2); var$2 = ju_TreeMap$TreeNode_balance(var$2); } } var$6.$right = var$2; } else { var$2 = var$6.$left; if (var$2 === null) { var$2 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$2, $rt_s(1854), null); var$2.$height1 = 1; var$2.$size1 = 1; } else { var$5 = jl_String_compareTo(var$4, var$2.$key0); if (var$5) { if (var$5 >= 0) { var$3 = var$2.$right; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$right = var$3; } else { var$3 = var$2.$left; if (var$3 === null) var$3 = ju_TreeMap$TreeNode__init_($rt_s(1854)); else { var$5 = ju_Comparator$NaturalOrder_compare(var$7.$comparator, $rt_s(1854), ju_AbstractMap$SimpleEntry_getKey(var$3)); if (var$5) { if (var$5 >= 0) var$3.$right = ju_TreeMap_getOrCreateNode(var$7, var$3.$right, $rt_s(1854)); else var$3.$left = ju_TreeMap_getOrCreateNode(var$7, var$3.$left, $rt_s(1854)); ju_TreeMap$TreeNode_fix(var$3); var$3 = ju_TreeMap$TreeNode_balance(var$3); } } var$2.$left = var$3; } ju_TreeMap$TreeNode_fix(var$2); var$2 = ju_TreeMap$TreeNode_balance(var$2); } } var$6.$left = var$2; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$13.$left = var$6; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$11.$left = var$13; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$8.$right = var$11; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$7.$root = var$8; var$1 = ju_TreeMap_findExact(var$7, $rt_s(1854)); var$1.$value4 = var$12; var$1.$value4 = var$12; var$7.$modCount2 = var$7.$modCount2 + 1 | 0; var$2 = $this.$theGameRules; var$6 = new nms_GameRuleValue; nms_GameRuleValue_setValue(var$6, $rt_s(69)); ju_TreeMap_put(var$2, $rt_s(1297), var$6); nms_GameRules_addGameRule($this, $rt_s(3688), $rt_s(70)); nms_GameRules_addGameRule($this, $rt_s(1263), $rt_s(70)); nms_GameRules_addGameRule($this, $rt_s(2524), $rt_s(70)); nms_GameRules_addGameRule($this, $rt_s(3689), $rt_s(70)); nms_GameRules_addGameRule($this, $rt_s(1296), $rt_s(70)); nms_GameRules_addGameRule($this, $rt_s(1809), $rt_s(70)); }, nms_GameRules__init_ = () => { let var_0 = new nms_GameRules(); nms_GameRules__init_0(var_0); return var_0; }, nms_GameRules_addGameRule = ($this, $par1Str, $par2Str) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $$je; a: { var$3 = $this.$theGameRules; var$4 = new nms_GameRuleValue; var$4.$valueString = $par2Str; if ($par2Str !== null) { var$5 = $par2Str.$nativeString.toLowerCase(); var$6 = var$5 === $par2Str.$nativeString ? $par2Str : jl_String__init_(var$5); if (var$6 === $rt_s(70)) var$7 = 1; else if (!($rt_s(70) instanceof jl_String)) var$7 = 0; else { var$5 = $rt_s(70); var$7 = var$6.$nativeString !== var$5.$nativeString ? 0 : 1; } if (var$7) { var$7 = 1; break a; } } var$7 = 0; } var$4.$valueBoolean = var$7; b: { try { var$4.$valueInteger = jl_Integer_parseInt($par2Str); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } c: { try { var$4.$valueDouble = jl_Double_parseDouble($par2Str); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } var$8 = var$3.$root; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; $par2Str = null; var$8.$key0 = $par1Str; var$8.$value4 = $par2Str; var$8.$height1 = 1; var$8.$size1 = 1; } else { $par2Str = var$8.$key0; var$9 = $par1Str; var$7 = jl_String_compareTo(var$9, $par2Str); if (var$7) { if (var$7 < 0) { $par2Str = var$8.$left; if ($par2Str === null) { $par2Str = new ju_TreeMap$TreeNode; var$5 = null; $par2Str.$key0 = $par1Str; $par2Str.$value4 = var$5; $par2Str.$height1 = 1; $par2Str.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, $par2Str.$key0); if (var$7) { if (var$7 < 0) { var$5 = $par2Str.$left; if (var$5 === null) { var$5 = new ju_TreeMap$TreeNode; var$6 = null; var$5.$key0 = $par1Str; var$5.$value4 = var$6; var$5.$height1 = 1; var$5.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$5.$key0); if (var$7) { if (var$7 < 0) { var$6 = var$5.$left; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$10 = null; var$6.$key0 = $par1Str; var$6.$value4 = var$10; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 < 0) { var$10 = var$6.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $par1Str; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$3, var$10.$right, $par1Str); else var$10.$left = ju_TreeMap_getOrCreateNode(var$3, var$10.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$left = var$10; } else { var$10 = var$6.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $par1Str; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$right = var$10; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$5.$left = var$6; } else { var$6 = var$5.$right; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$10 = null; var$6.$key0 = $par1Str; var$6.$value4 = var$10; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 >= 0) { var$10 = var$6.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $par1Str; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$right = var$10; } else { var$10 = var$6.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $par1Str; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$left = var$10; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$5.$right = var$6; } ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } $par2Str.$left = var$5; } else { var$5 = $par2Str.$right; if (var$5 === null) { var$5 = new ju_TreeMap$TreeNode; var$6 = null; var$5.$key0 = $par1Str; var$5.$value4 = var$6; var$5.$height1 = 1; var$5.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$5.$key0); if (var$7) { if (var$7 >= 0) { var$12 = var$5.$right; if (var$12 === null) { var$12 = new ju_TreeMap$TreeNode; var$6 = null; var$12.$key0 = $par1Str; var$12.$value4 = var$6; var$12.$height1 = 1; var$12.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$12.$key0); if (var$7) { if (var$7 >= 0) { var$6 = var$12.$right; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$10 = null; jl_Object__init_(var$6); var$6.$key0 = $par1Str; var$6.$value4 = var$10; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 >= 0) { var$10 = var$6.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $par1Str, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$right = var$10; } else { var$10 = var$6.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $par1Str, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$left = var$10; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$12.$right = var$6; } else { var$6 = var$12.$left; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$10 = null; jl_Object__init_(var$6); var$6.$key0 = $par1Str; var$6.$value4 = var$10; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 >= 0) { var$10 = var$6.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $par1Str, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$right = var$10; } else { var$10 = var$6.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $par1Str, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$left = var$10; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$12.$left = var$6; } ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$5.$right = var$12; } else { var$13 = var$5.$left; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; var$6 = null; var$13.$key0 = $par1Str; var$13.$value4 = var$6; var$13.$height1 = 1; var$13.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$13.$key0); if (var$7) { if (var$7 >= 0) { var$12 = var$13.$right; if (var$12 === null) { var$12 = new ju_TreeMap$TreeNode; var$6 = null; jl_Object__init_(var$12); var$12.$key0 = $par1Str; var$12.$value4 = var$6; var$12.$height1 = 1; var$12.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$12.$key0); if (var$7) { if (var$7 >= 0) { var$6 = var$12.$right; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$6, $par1Str, null); var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 >= 0) { var$10 = var$6.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$7) { if (var$7 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$3, var$10.$right, $par1Str); else var$10.$left = ju_TreeMap_getOrCreateNode(var$3, var$10.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$right = var$10; } else { var$10 = var$6.$left; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$7) { if (var$7 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$3, var$10.$right, $par1Str); else var$10.$left = ju_TreeMap_getOrCreateNode(var$3, var$10.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$left = var$10; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$12.$right = var$6; } else { var$6 = var$12.$left; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$6, $par1Str, null); var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 >= 0) { var$10 = var$6.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$7) { if (var$7 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$3, var$10.$right, $par1Str); else var$10.$left = ju_TreeMap_getOrCreateNode(var$3, var$10.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$right = var$10; } else { var$10 = var$6.$left; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$7) { if (var$7 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$3, var$10.$right, $par1Str); else var$10.$left = ju_TreeMap_getOrCreateNode(var$3, var$10.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$left = var$10; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$12.$left = var$6; } ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$13.$right = var$12; } else { var$10 = var$13.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$6 = null; jl_Object__init_(var$10); var$10.$key0 = $par1Str; var$10.$value4 = var$6; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$6 = var$11.$left; if (var$6 === null) var$6 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$6)); if (var$7) { if (var$7 >= 0) var$6.$right = ju_TreeMap_getOrCreateNode(var$3, var$6.$right, $par1Str); else var$6.$left = ju_TreeMap_getOrCreateNode(var$3, var$6.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$11.$left = var$6; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$6 = var$10.$left; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$6, $par1Str, null); var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$6.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$6.$right = var$11; } else { var$11 = var$6.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$6.$left = var$11; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$10.$left = var$6; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$13.$left = var$10; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$5.$left = var$13; } ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } $par2Str.$right = var$5; } ju_TreeMap$TreeNode_fix($par2Str); $par2Str = ju_TreeMap$TreeNode_balance($par2Str); } } var$8.$left = $par2Str; } else { $par2Str = var$8.$right; if ($par2Str === null) { $par2Str = new ju_TreeMap$TreeNode; var$5 = null; $par2Str.$key0 = $par1Str; $par2Str.$value4 = var$5; $par2Str.$height1 = 1; $par2Str.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, $par2Str.$key0); if (var$7) { if (var$7 >= 0) { var$5 = $par2Str.$right; if (var$5 === null) { var$5 = new ju_TreeMap$TreeNode; var$6 = null; var$5.$key0 = $par1Str; var$5.$value4 = var$6; var$5.$height1 = 1; var$5.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$5.$key0); if (var$7) { if (var$7 >= 0) { var$6 = var$5.$right; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$10 = null; var$6.$key0 = $par1Str; var$6.$value4 = var$10; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 >= 0) { var$10 = var$6.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $par1Str; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$right = var$10; } else { var$10 = var$6.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $par1Str; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$left = var$10; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$5.$right = var$6; } else { var$6 = var$5.$left; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$10 = null; var$6.$key0 = $par1Str; var$6.$value4 = var$10; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 >= 0) { var$10 = var$6.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $par1Str; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$right = var$10; } else { var$10 = var$6.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; var$11 = null; jl_Object__init_(var$10); var$10.$key0 = $par1Str; var$10.$value4 = var$11; var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) { var$11 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$11, $par1Str, null); var$11.$height1 = 1; var$11.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$11.$key0); if (var$7) { if (var$7 >= 0) { var$9 = var$11.$right; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$right = var$9; } else { var$9 = var$11.$left; if (var$9 === null) var$9 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$9)); if (var$7) { if (var$7 >= 0) var$9.$right = ju_TreeMap_getOrCreateNode(var$3, var$9.$right, $par1Str); else var$9.$left = ju_TreeMap_getOrCreateNode(var$3, var$9.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$9); var$9 = ju_TreeMap$TreeNode_balance(var$9); } } var$11.$left = var$9; } ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$left = var$10; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$5.$left = var$6; } ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } $par2Str.$right = var$5; } else { var$5 = $par2Str.$left; if (var$5 === null) { var$5 = new ju_TreeMap$TreeNode; var$6 = null; var$5.$key0 = $par1Str; var$5.$value4 = var$6; var$5.$height1 = 1; var$5.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$5.$key0); if (var$7) { if (var$7 >= 0) { var$12 = var$5.$right; if (var$12 === null) { var$12 = new ju_TreeMap$TreeNode; var$6 = null; var$12.$key0 = $par1Str; var$12.$value4 = var$6; var$12.$height1 = 1; var$12.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$12.$key0); if (var$7) { if (var$7 >= 0) { var$6 = var$12.$right; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$10 = null; jl_Object__init_(var$6); var$6.$key0 = $par1Str; var$6.$value4 = var$10; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 >= 0) { var$10 = var$6.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $par1Str, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$right = var$10; } else { var$10 = var$6.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $par1Str, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$left = var$10; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$12.$right = var$6; } else { var$6 = var$12.$left; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$10 = null; jl_Object__init_(var$6); var$6.$key0 = $par1Str; var$6.$value4 = var$10; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 >= 0) { var$10 = var$6.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $par1Str, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$right = var$10; } else { var$10 = var$6.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $par1Str, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$left = var$10; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$12.$left = var$6; } ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$5.$right = var$12; } else { var$13 = var$5.$left; if (var$13 === null) { var$13 = new ju_TreeMap$TreeNode; var$6 = null; var$13.$key0 = $par1Str; var$13.$value4 = var$6; var$13.$height1 = 1; var$13.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$13.$key0); if (var$7) { if (var$7 >= 0) { var$12 = var$13.$right; if (var$12 === null) { var$12 = new ju_TreeMap$TreeNode; var$6 = null; jl_Object__init_(var$12); var$12.$key0 = $par1Str; var$12.$value4 = var$6; var$12.$height1 = 1; var$12.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$12.$key0); if (var$7) { if (var$7 >= 0) { var$6 = var$12.$right; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$6, $par1Str, null); var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 >= 0) { var$10 = var$6.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$7) { if (var$7 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$3, var$10.$right, $par1Str); else var$10.$left = ju_TreeMap_getOrCreateNode(var$3, var$10.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$right = var$10; } else { var$10 = var$6.$left; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$7) { if (var$7 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$3, var$10.$right, $par1Str); else var$10.$left = ju_TreeMap_getOrCreateNode(var$3, var$10.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$left = var$10; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$12.$right = var$6; } else { var$6 = var$12.$left; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$6, $par1Str, null); var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 >= 0) { var$10 = var$6.$right; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$7) { if (var$7 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$3, var$10.$right, $par1Str); else var$10.$left = ju_TreeMap_getOrCreateNode(var$3, var$10.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$right = var$10; } else { var$10 = var$6.$left; if (var$10 === null) var$10 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$10)); if (var$7) { if (var$7 >= 0) var$10.$right = ju_TreeMap_getOrCreateNode(var$3, var$10.$right, $par1Str); else var$10.$left = ju_TreeMap_getOrCreateNode(var$3, var$10.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$left = var$10; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$12.$left = var$6; } ju_TreeMap$TreeNode_fix(var$12); var$12 = ju_TreeMap$TreeNode_balance(var$12); } } var$13.$right = var$12; } else { var$6 = var$13.$left; if (var$6 === null) { var$6 = new ju_TreeMap$TreeNode; var$10 = null; jl_Object__init_(var$6); var$6.$key0 = $par1Str; var$6.$value4 = var$10; var$6.$height1 = 1; var$6.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$6.$key0); if (var$7) { if (var$7 >= 0) { var$10 = var$6.$right; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $par1Str, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$right = var$10; } else { var$10 = var$6.$left; if (var$10 === null) { var$10 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$10, $par1Str, null); var$10.$height1 = 1; var$10.$size1 = 1; } else { var$7 = jl_String_compareTo(var$9, var$10.$key0); if (var$7) { if (var$7 >= 0) { var$11 = var$10.$right; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$right = var$11; } else { var$11 = var$10.$left; if (var$11 === null) var$11 = ju_TreeMap$TreeNode__init_($par1Str); else { var$7 = ju_Comparator$NaturalOrder_compare(var$3.$comparator, $par1Str, ju_AbstractMap$SimpleEntry_getKey(var$11)); if (var$7) { if (var$7 >= 0) var$11.$right = ju_TreeMap_getOrCreateNode(var$3, var$11.$right, $par1Str); else var$11.$left = ju_TreeMap_getOrCreateNode(var$3, var$11.$left, $par1Str); ju_TreeMap$TreeNode_fix(var$11); var$11 = ju_TreeMap$TreeNode_balance(var$11); } } var$10.$left = var$11; } ju_TreeMap$TreeNode_fix(var$10); var$10 = ju_TreeMap$TreeNode_balance(var$10); } } var$6.$left = var$10; } ju_TreeMap$TreeNode_fix(var$6); var$6 = ju_TreeMap$TreeNode_balance(var$6); } } var$13.$left = var$6; } ju_TreeMap$TreeNode_fix(var$13); var$13 = ju_TreeMap$TreeNode_balance(var$13); } } var$5.$left = var$13; } ju_TreeMap$TreeNode_fix(var$5); var$5 = ju_TreeMap$TreeNode_balance(var$5); } } $par2Str.$left = var$5; } ju_TreeMap$TreeNode_fix($par2Str); $par2Str = ju_TreeMap$TreeNode_balance($par2Str); } } var$8.$right = $par2Str; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } var$3.$root = var$8; $par1Str = ju_TreeMap_findExact(var$3, $par1Str); $par1Str.$value4 = var$4; $par1Str.$value4 = var$4; var$3.$modCount2 = var$3.$modCount2 + 1 | 0; }, nms_GameRules_readGameRulesFromNBT = ($this, $par1NBTTagCompound) => { let $var3, $var4, $var6, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $$je; $var3 = $par1NBTTagCompound.$tagMap; if ($var3.$cachedValues === null) { $var4 = new ju_HashMap$2; $var4.$this$01 = $var3; $var3.$cachedValues = $var4; } $var3 = $var3.$cachedValues.$iterator(); a: { b: { c: { d: { e: { f: { g: { h: { i: { j: { while ($var3.$hasNext()) { $var6 = ($var3.$next()).$name; $var5 = $var6 !== null ? $var6 : $rt_s(18); if ($var6 === null) $var6 = $rt_s(18); k: { $var4 = $par1NBTTagCompound.$tagMap; if (!$var6.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $var6.$nativeString.length) break k; $var6.$hashCode1 = (31 * $var6.$hashCode1 | 0) + $var6.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$6 = $var6.$hashCode1; var$7 = $var4.$elementData.data; $var4 = var$7[var$6 & (var$7.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$6) { l: { var$8 = $var4.$key; if ($var6 !== var$8) { if ($var6 === var$8) var$9 = 1; else if (!(var$8 instanceof jl_String)) var$9 = 0; else { var$8 = var$8; var$9 = $var6.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$9) { var$9 = 0; break l; } } var$9 = 1; } if (var$9) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) $var6 = $rt_s(18); else { $var4 = $par1NBTTagCompound.$tagMap; if ($var6 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { m: { if (!$var6.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $var6.$nativeString.length) break m; $var6.$hashCode1 = (31 * $var6.$hashCode1 | 0) + $var6.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$10 = $var6.$hashCode1; var$7 = $var4.$elementData.data; $var4 = var$7[var$10 & (var$7.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$10) { n: { var$8 = $var4.$key; if ($var6 !== var$8) { if ($var6 === var$8) var$6 = 1; else if (!(var$8 instanceof jl_String)) var$6 = 0; else { var$8 = var$8; var$6 = $var6.$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break n; } } var$6 = 1; } if (var$6) break; } $var4 = $var4.$next3; } } $var6 = ($var4 === null ? null : $var4.$value1).$data1; } o: { $var4 = $this.$theGameRules.$root; var$11 = $var5; var$12 = $var5; if (var$11 !== var$12) { var$9 = var$11.$nativeString.length; var$13 = var$12.$nativeString.length; if (var$9 < var$13) var$13 = var$9; var$6 = 0; while (true) { if (var$6 >= var$13) { var$11.$nativeString.length; var$12.$nativeString.length; break o; } if (var$6 < 0) break a; if (var$6 >= var$11.$nativeString.length) break a; var$10 = var$11.$nativeString.charCodeAt(var$6); if (var$6 < 0) break b; if (var$6 >= var$12.$nativeString.length) break b; if (var$10 - var$12.$nativeString.charCodeAt(var$6) | 0) break; var$6 = var$6 + 1 | 0; } } } p: { while (true) { if ($var4 === null) { $var4 = null; break p; } q: { var$8 = $var4.$key0; if (var$11 === var$8) var$6 = 0; else { var$9 = var$11.$nativeString.length; var$13 = var$8.$nativeString.length; if (var$9 < var$13) var$13 = var$9; var$9 = 0; while (true) { if (var$9 >= var$13) { var$6 = var$11.$nativeString.length - var$8.$nativeString.length | 0; break q; } if (var$9 < 0) break c; if (var$9 >= var$11.$nativeString.length) break c; var$10 = var$11.$nativeString.charCodeAt(var$9); if (var$9 < 0) break d; if (var$9 >= var$8.$nativeString.length) break d; var$6 = var$10 - var$8.$nativeString.charCodeAt(var$9) | 0; if (var$6) break; var$9 = var$9 + 1 | 0; } } } if (!var$6) break; $var4 = var$6 >= 0 ? $var4.$right : $var4.$left; } } $var4 = $var4 === null ? null : $var4.$value4; if ($var4 !== null) { r: { $var4.$valueString = $var6; if ($var6 !== null) { var$8 = $var6.$nativeString.toLowerCase(); var$14 = var$8 === $var6.$nativeString ? $var6 : jl_String__init_(var$8); if (var$14 === $rt_s(70)) var$6 = 1; else if (!($rt_s(70) instanceof jl_String)) var$6 = 0; else { var$8 = $rt_s(70); var$6 = var$14.$nativeString !== var$8.$nativeString ? 0 : 1; } if (var$6) { var$6 = 1; break r; } } var$6 = 0; } $var4.$valueBoolean = var$6; s: { try { $var4.$valueInteger = jl_Integer_parseInt($var6); break s; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } t: { try { $var4.$valueDouble = jl_Double_parseDouble($var6); break t; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } } else { u: { var$15 = $this.$theGameRules; var$16 = new nms_GameRuleValue; var$16.$valueString = $var6; if ($var6 !== null) { $var4 = $var6.$nativeString.toLowerCase(); var$8 = $var4 === $var6.$nativeString ? $var6 : jl_String__init_($var4); if (var$8 === $rt_s(70)) var$6 = 1; else if (!($rt_s(70) instanceof jl_String)) var$6 = 0; else { $var4 = $rt_s(70); var$6 = var$8.$nativeString !== $var4.$nativeString ? 0 : 1; } if (var$6) { var$6 = 1; break u; } } var$6 = 0; } var$16.$valueBoolean = var$6; v: { try { var$16.$valueInteger = jl_Integer_parseInt($var6); break v; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } w: { try { var$16.$valueDouble = jl_Double_parseDouble($var6); break w; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } var$17 = var$15.$root; if (var$17 === null) { var$17 = new ju_TreeMap$TreeNode; $var4 = null; var$17.$key0 = $var5; var$17.$value4 = $var4; var$17.$height1 = 1; var$17.$size1 = 1; } else { x: { $var4 = var$17.$key0; if (var$11 === $var4) var$6 = 0; else { var$9 = var$11.$nativeString.length; var$13 = $var4.$nativeString.length; if (var$9 < var$13) var$13 = var$9; var$9 = 0; while (true) { if (var$9 >= var$13) { var$6 = var$11.$nativeString.length - $var4.$nativeString.length | 0; break x; } if (var$9 < 0) break e; if (var$9 >= var$11.$nativeString.length) break e; var$10 = var$11.$nativeString.charCodeAt(var$9); if (var$9 < 0) break f; if (var$9 >= $var4.$nativeString.length) break f; var$6 = var$10 - $var4.$nativeString.charCodeAt(var$9) | 0; if (var$6) break; var$9 = var$9 + 1 | 0; } } } if (var$6) { if (var$6 >= 0) { $var4 = var$17.$right; if ($var4 === null) { $var4 = new ju_TreeMap$TreeNode; $var6 = null; $var4.$key0 = $var5; $var4.$value4 = $var6; $var4.$height1 = 1; $var4.$size1 = 1; } else { y: { $var6 = $var4.$key0; if (var$11 === $var6) var$6 = 0; else { var$9 = jl_Math_min(jl_String_length(var$11), jl_String_length($var6)); var$10 = 0; while (true) { if (var$10 >= var$9) { var$6 = jl_String_length(var$11) - jl_String_length($var6) | 0; break y; } var$6 = jl_String_charAt(var$11, var$10) - jl_String_charAt($var6, var$10) | 0; if (var$6) break; var$10 = var$10 + 1 | 0; } } } if (var$6) { if (var$6 >= 0) { var$8 = $var4.$right; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; $var6 = null; jl_Object__init_(var$8); var$8.$key0 = $var5; var$8.$value4 = $var6; var$8.$height1 = 1; var$8.$size1 = 1; } else { var$6 = jl_String_compareTo0(var$11, var$8.$key0); if (var$6) { if (var$6 >= 0) { $var6 = var$8.$right; if ($var6 === null) { $var6 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_($var6, $var5, null); $var6.$height1 = 1; $var6.$size1 = 1; } else { var$6 = jl_String_compareTo(var$11, $var6.$key0); if (var$6) { if (var$6 >= 0) { var$14 = $var6.$right; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } $var6.$right = var$14; } else { var$14 = $var6.$left; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } $var6.$left = var$14; } ju_TreeMap$TreeNode_fix($var6); $var6 = ju_TreeMap$TreeNode_balance($var6); } } var$8.$right = $var6; } else { $var6 = var$8.$left; if ($var6 === null) { $var6 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_($var6, $var5, null); $var6.$height1 = 1; $var6.$size1 = 1; } else { var$6 = jl_String_compareTo(var$11, $var6.$key0); if (var$6) { if (var$6 >= 0) { var$14 = $var6.$right; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } $var6.$right = var$14; } else { var$14 = $var6.$left; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } $var6.$left = var$14; } ju_TreeMap$TreeNode_fix($var6); $var6 = ju_TreeMap$TreeNode_balance($var6); } } var$8.$left = $var6; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } $var4.$right = var$8; } else { var$8 = $var4.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; $var6 = null; jl_Object__init_(var$8); var$8.$key0 = $var5; var$8.$value4 = $var6; var$8.$height1 = 1; var$8.$size1 = 1; } else { var$6 = jl_String_compareTo0(var$11, var$8.$key0); if (var$6) { if (var$6 >= 0) { $var6 = var$8.$right; if ($var6 === null) { $var6 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_($var6, $var5, null); $var6.$height1 = 1; $var6.$size1 = 1; } else { var$6 = jl_String_compareTo(var$11, $var6.$key0); if (var$6) { if (var$6 >= 0) { var$14 = $var6.$right; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } $var6.$right = var$14; } else { var$14 = $var6.$left; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } $var6.$left = var$14; } ju_TreeMap$TreeNode_fix($var6); $var6 = ju_TreeMap$TreeNode_balance($var6); } } var$8.$right = $var6; } else { $var6 = var$8.$left; if ($var6 === null) { $var6 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_($var6, $var5, null); $var6.$height1 = 1; $var6.$size1 = 1; } else { var$6 = jl_String_compareTo(var$11, $var6.$key0); if (var$6) { if (var$6 >= 0) { var$14 = $var6.$right; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } $var6.$right = var$14; } else { var$14 = $var6.$left; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } $var6.$left = var$14; } ju_TreeMap$TreeNode_fix($var6); $var6 = ju_TreeMap$TreeNode_balance($var6); } } var$8.$left = $var6; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } $var4.$left = var$8; } ju_TreeMap$TreeNode_fix($var4); $var4 = ju_TreeMap$TreeNode_balance($var4); } } var$17.$right = $var4; } else { $var4 = var$17.$left; if ($var4 === null) { $var4 = new ju_TreeMap$TreeNode; $var6 = null; $var4.$key0 = $var5; $var4.$value4 = $var6; $var4.$height1 = 1; $var4.$size1 = 1; } else { z: { $var6 = $var4.$key0; if (var$11 === $var6) var$6 = 0; else { var$9 = jl_Math_min(jl_String_length(var$11), jl_String_length($var6)); var$10 = 0; while (true) { if (var$10 >= var$9) { var$6 = jl_String_length(var$11) - jl_String_length($var6) | 0; break z; } var$6 = jl_String_charAt(var$11, var$10) - jl_String_charAt($var6, var$10) | 0; if (var$6) break; var$10 = var$10 + 1 | 0; } } } if (var$6) { if (var$6 >= 0) { $var6 = $var4.$right; if ($var6 === null) { $var6 = new ju_TreeMap$TreeNode; var$8 = null; jl_Object__init_($var6); $var6.$key0 = $var5; $var6.$value4 = var$8; $var6.$height1 = 1; $var6.$size1 = 1; } else { var$6 = jl_String_compareTo0(var$11, $var6.$key0); if (var$6) { if (var$6 >= 0) { var$8 = $var6.$right; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$8, $var5, null); var$8.$height1 = 1; var$8.$size1 = 1; } else { var$6 = jl_String_compareTo(var$11, var$8.$key0); if (var$6) { if (var$6 >= 0) { var$14 = var$8.$right; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } var$8.$right = var$14; } else { var$14 = var$8.$left; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } var$8.$left = var$14; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } $var6.$right = var$8; } else { var$8 = $var6.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$8, $var5, null); var$8.$height1 = 1; var$8.$size1 = 1; } else { var$6 = jl_String_compareTo(var$11, var$8.$key0); if (var$6) { if (var$6 >= 0) { var$14 = var$8.$right; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } var$8.$right = var$14; } else { var$14 = var$8.$left; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } var$8.$left = var$14; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } $var6.$left = var$8; } ju_TreeMap$TreeNode_fix($var6); $var6 = ju_TreeMap$TreeNode_balance($var6); } } $var4.$right = $var6; } else { $var6 = $var4.$left; if ($var6 === null) { $var6 = new ju_TreeMap$TreeNode; var$8 = null; jl_Object__init_($var6); $var6.$key0 = $var5; $var6.$value4 = var$8; $var6.$height1 = 1; $var6.$size1 = 1; } else { var$6 = jl_String_compareTo0(var$11, $var6.$key0); if (var$6) { if (var$6 >= 0) { var$8 = $var6.$right; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$8, $var5, null); var$8.$height1 = 1; var$8.$size1 = 1; } else { var$6 = jl_String_compareTo(var$11, var$8.$key0); if (var$6) { if (var$6 >= 0) { var$14 = var$8.$right; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } var$8.$right = var$14; } else { var$14 = var$8.$left; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } var$8.$left = var$14; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } $var6.$right = var$8; } else { var$8 = $var6.$left; if (var$8 === null) { var$8 = new ju_TreeMap$TreeNode; ju_AbstractMap$SimpleEntry__init_(var$8, $var5, null); var$8.$height1 = 1; var$8.$size1 = 1; } else { var$6 = jl_String_compareTo(var$11, var$8.$key0); if (var$6) { if (var$6 >= 0) { var$14 = var$8.$right; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } var$8.$right = var$14; } else { var$14 = var$8.$left; if (var$14 === null) var$14 = ju_TreeMap$TreeNode__init_($var5); else { var$6 = ju_Comparator$NaturalOrder_compare(var$15.$comparator, $var5, ju_AbstractMap$SimpleEntry_getKey(var$14)); if (var$6) { if (var$6 >= 0) var$14.$right = ju_TreeMap_getOrCreateNode(var$15, var$14.$right, $var5); else var$14.$left = ju_TreeMap_getOrCreateNode(var$15, var$14.$left, $var5); ju_TreeMap$TreeNode_fix(var$14); var$14 = ju_TreeMap$TreeNode_balance(var$14); } } var$8.$left = var$14; } ju_TreeMap$TreeNode_fix(var$8); var$8 = ju_TreeMap$TreeNode_balance(var$8); } } $var6.$left = var$8; } ju_TreeMap$TreeNode_fix($var6); $var6 = ju_TreeMap$TreeNode_balance($var6); } } $var4.$left = $var6; } ju_TreeMap$TreeNode_fix($var4); $var4 = ju_TreeMap$TreeNode_balance($var4); } } var$17.$left = $var4; } ju_TreeMap$TreeNode_fix(var$17); var$17 = ju_TreeMap$TreeNode_balance(var$17); } } ba: { var$15.$root = var$17; if (var$11 !== var$12) { var$9 = var$11.$nativeString.length; var$13 = var$12.$nativeString.length; if (var$9 < var$13) var$13 = var$9; var$6 = 0; while (true) { if (var$6 >= var$13) { var$11.$nativeString.length; var$12.$nativeString.length; break ba; } if (var$6 < 0) break g; if (var$6 >= var$11.$nativeString.length) break g; var$10 = var$11.$nativeString.charCodeAt(var$6); if (var$6 < 0) break h; if (var$6 >= var$12.$nativeString.length) break h; if (var$10 - var$12.$nativeString.charCodeAt(var$6) | 0) break; var$6 = var$6 + 1 | 0; } } } bb: { while (true) { if (var$17 === null) { var$17 = null; break bb; } bc: { $var4 = var$17.$key0; if (var$11 === $var4) var$6 = 0; else { var$9 = var$11.$nativeString.length; var$10 = $var4.$nativeString.length; if (var$9 < var$10) var$10 = var$9; var$13 = 0; while (true) { if (var$13 >= var$10) { var$6 = var$11.$nativeString.length - $var4.$nativeString.length | 0; break bc; } if (var$13 < 0) break i; if (var$13 >= var$11.$nativeString.length) break i; var$9 = var$11.$nativeString.charCodeAt(var$13); if (var$13 < 0) break j; if (var$13 >= $var4.$nativeString.length) break j; var$6 = var$9 - $var4.$nativeString.charCodeAt(var$13) | 0; if (var$6) break; var$13 = var$13 + 1 | 0; } } } if (!var$6) break; var$17 = var$6 >= 0 ? var$17.$right : var$17.$left; } } var$17.$value4 = var$16; var$17.$value4 = var$16; var$15.$modCount2 = var$15.$modCount2 + 1 | 0; } } return; } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } $rt_throw(jl_StringIndexOutOfBoundsException__init_()); } $par1NBTTagCompound = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1NBTTagCompound); $rt_throw($par1NBTTagCompound); } $par1NBTTagCompound = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1NBTTagCompound); $rt_throw($par1NBTTagCompound); } $par1NBTTagCompound = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1NBTTagCompound); $rt_throw($par1NBTTagCompound); } $par1NBTTagCompound = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_($par1NBTTagCompound); $rt_throw($par1NBTTagCompound); }; function nleav_VirtualFilesystem$AsyncHandlers$13() { let a = this; jl_Object.call(a); a.$val$cb3 = null; a.$val$r0 = null; } let nleav_VirtualFilesystem$AsyncHandlers$13_handleEvent$exported$0 = var$0 => { let var$1, var$2; var$1 = var$0.$val$cb3; var$2 = !(var$0.$val$r0.result <= 0 ? 0 : 1) ? nleav_BooleanResult_FALSE : nleav_BooleanResult_TRUE; var$1.$realAsyncCallback.$complete(var$2); }; function nleav_VirtualFilesystem$AsyncHandlers$14() { jl_Object.call(this); this.$val$cb12 = null; } let nleav_VirtualFilesystem$AsyncHandlers$14_handleEvent$exported$0 = var$0 => { let var$1, var$2; var$1 = var$0.$val$cb12; var$2 = nleav_BooleanResult_FALSE; var$1.$realAsyncCallback.$complete(var$2); }; function nle_LANServerList$LanServer() { let a = this; jl_Object.call(a); a.$lanServerMotd = null; a.$lanServerRelay = null; a.$lanServerCode = null; a.$flagged = 0; a.$this$053 = null; } function nle_GuiScreenLANConnecting() { let a = this; nms_GuiScreen.call(a); a.$parent0 = null; a.$code0 = null; a.$relay = null; a.$completed = 0; a.$netHandler = null; a.$renderCount = 0; } let nle_GuiScreenLANConnecting_doesGuiPauseGame = $this => { return 0; }, nle_GuiScreenLANConnecting_updateScreen = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$netHandler; if (var$1 === null) return; $ptr = 1; case 1: nms_NetClientHandler_processReadPackets(var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nle_GuiScreenLANConnecting_drawScreen = ($this, $par1, $par2, $par3) => { let $st, $message, $ls, var$7, var$8, var$9, var$10, $sock, $netMgr, $e, var$14, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();$e = $thread.pop();$netMgr = $thread.pop();$sock = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$ls = $thread.pop();$message = $thread.pop();$st = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par1 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); nms_StringTranslate_$callClinit(); $st = nms_StringTranslate_instance; if ($this.$completed) { $message = nms_StringTranslate_translateKey($st, $rt_s(1628)); $ls = $this.$fontRenderer; $par1 = ($this.$width - nms_FontRenderer_getStringWidth($ls, $message) | 0) / 2 | 0; $par2 = ($this.$height / 3 | 0) + 10 | 0; var$7 = 16777215; $ls.$randomStyle = 0; $ls.$boldStyle = 0; $ls.$italicStyle = 0; $ls.$underlineStyle = 0; $ls.$strikethroughStyle = 0; var$8 = $par1 + 1 | 0; var$9 = $par2 + 1 | 0; var$10 = 1; $ptr = 4; continue main; } $ls = $this.$mc.$loadingScreen; $message = nms_StringTranslate_translateKey($st, $rt_s(3690)); $sock = $this.$fontRenderer; $par1 = ($this.$width - nms_FontRenderer_getStringWidth($sock, $message) | 0) / 2 | 0; $par2 = ($this.$height / 3 | 0) + 10 | 0; var$7 = 16777215; $sock.$randomStyle = 0; $sock.$boldStyle = 0; $sock.$italicStyle = 0; $sock.$underlineStyle = 0; $sock.$strikethroughStyle = 0; var$8 = $par1 + 1 | 0; var$9 = $par2 + 1 | 0; var$10 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, $par1); if ($rt_suspending()) { break main; } nms_StringTranslate_$callClinit(); $st = nms_StringTranslate_instance; if ($this.$completed) { $message = nms_StringTranslate_translateKey($st, $rt_s(1628)); $ls = $this.$fontRenderer; $par1 = ($this.$width - nms_FontRenderer_getStringWidth($ls, $message) | 0) / 2 | 0; $par2 = ($this.$height / 3 | 0) + 10 | 0; var$7 = 16777215; $ls.$randomStyle = 0; $ls.$boldStyle = 0; $ls.$italicStyle = 0; $ls.$underlineStyle = 0; $ls.$strikethroughStyle = 0; var$8 = $par1 + 1 | 0; var$9 = $par2 + 1 | 0; var$10 = 1; $ptr = 4; continue main; } $ls = $this.$mc.$loadingScreen; $message = nms_StringTranslate_translateKey($st, $rt_s(3690)); $sock = $this.$fontRenderer; $par1 = ($this.$width - nms_FontRenderer_getStringWidth($sock, $message) | 0) / 2 | 0; $par2 = ($this.$height / 3 | 0) + 10 | 0; var$7 = 16777215; $sock.$randomStyle = 0; $sock.$boldStyle = 0; $sock.$italicStyle = 0; $sock.$underlineStyle = 0; $sock.$strikethroughStyle = 0; var$8 = $par1 + 1 | 0; var$9 = $par2 + 1 | 0; var$10 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($sock, $message, var$8, var$9, var$7, var$10); if ($rt_suspending()) { break main; } var$9 = $tmp; var$8 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString($sock, $message, $par1, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par1 = $tmp; $par1 = $this.$renderCount + 1 | 0; $this.$renderCount = $par1; if ($par1 <= 1) return; $message = $this.$relay; if ($message !== null) { $ls = nle_IntegratedServer_relayManager; $par1 = 2; $sock = $this.$code0; $ptr = 6; continue main; } $message = nle_IntegratedServer_relayManager; $sock = new nle_GuiScreenLANConnecting$drawScreen$lambda$_4_0; $sock.$_0 = $ls; $par1 = 2; $ls = $this.$code0; $ptr = 7; continue main; case 4: $tmp = nms_FontRenderer_renderString($ls, $message, var$8, var$9, var$7, var$10); if ($rt_suspending()) { break main; } var$9 = $tmp; var$8 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString($ls, $message, $par1, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par1 = $tmp; return; case 6: $tmp = nle_RelayManager_connectHandshake($ls, $message, $par1, $sock); if ($rt_suspending()) { break main; } $sock = $tmp; if ($sock !== null) { $message = $this.$code0; $ls = $sock.$getURI(); $ptr = 8; continue main; } $message = $this.$mc; $ls = new nle_GuiScreenNoRelays; $sock = $this.$parent0; $netMgr = jl_String_replace(nms_StringTranslate_translateKey($st, $rt_s(3691)), $rt_s(3692), $this.$code0); $e = jl_String_replace(nms_StringTranslate_translateKey($st, $rt_s(3693)), $rt_s(3692), $this.$code0); $st = nms_StringTranslate_translateKey($st, $rt_s(3694)); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$14 = new ju_ArrayList; var$14.$array = $rt_createArray(jl_Object, 10); $ls.$buttonList = var$14; $ls.$allowUserInput = 0; $ls.$selectedButton = null; $ls.$eventButton = 0; $ls.$field_85043_c = Long_ZERO; $ls.$field_92018_d = 0; $ls.$parent1 = $sock; $ls.$title1 = $netMgr; $ls.$title2 = $e; $ls.$title3 = $st; $ptr = 9; continue main; case 7: $tmp = nle_RelayManager_getWorkingRelay($message, $sock, $par1, $ls); if ($rt_suspending()) { break main; } $sock = $tmp; if ($sock !== null) { $message = $this.$code0; $ls = $sock.$getURI(); $ptr = 8; continue main; } $message = $this.$mc; $ls = new nle_GuiScreenNoRelays; $sock = $this.$parent0; $netMgr = jl_String_replace(nms_StringTranslate_translateKey($st, $rt_s(3691)), $rt_s(3692), $this.$code0); $e = jl_String_replace(nms_StringTranslate_translateKey($st, $rt_s(3693)), $rt_s(3692), $this.$code0); $st = nms_StringTranslate_translateKey($st, $rt_s(3694)); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$14 = new ju_ArrayList; var$14.$array = $rt_createArray(jl_Object, 10); $ls.$buttonList = var$14; $ls.$allowUserInput = 0; $ls.$selectedButton = null; $ls.$eventButton = 0; $ls.$field_85043_c = Long_ZERO; $ls.$field_92018_d = 0; $ls.$parent1 = $sock; $ls.$title1 = $netMgr; $ls.$title2 = $e; $ls.$title3 = $st; $ptr = 9; continue main; case 8: $tmp = nle_LANClientNetworkManager_connectToWorld($sock, $message, $ls); if ($rt_suspending()) { break main; } $netMgr = $tmp; if ($netMgr === null) { $ls = $this.$mc; $sock = nms_GuiDisconnected__init_($this.$parent0, $rt_s(1611), $rt_s(1612), $rt_wrapArray(jl_Object, [jl_String_replace(nms_StringTranslate_translateKey($st, $rt_s(3695)), $rt_s(3692), $this.$code0), $rt_s(18)])); $ptr = 10; continue main; } $this.$completed = 1; a: { try { $this.$netHandler = nms_NetClientHandler__init_1($this.$mc, $netMgr); nms_Minecraft_setNetManager($this.$mc, $netMgr); nle_LANClientNetworkManager_setNetHandler($netMgr, $this.$netHandler); $message = $this.$netHandler; $ls = new nms_Packet2ClientProtocol; nle_EaglerProfile_$callClinit(); nms_Packet2ClientProtocol__init_($ls, 78, nle_EaglerProfile_username, $rt_s(3696), $this.$mc.$gameSettings.$renderDistance); nms_NetClientHandler_addToSendQueue($message, $ls); nms_NetClientHandler_addToSendQueue($this.$netHandler, nms_Packet250CustomPayload__init_($rt_s(1618), nle_EaglerProfile_getSkinPacket())); nms_NetClientHandler_addToSendQueue($this.$netHandler, nms_Packet250CustomPayload__init_($rt_s(1619), nle_EaglerProfile_getCapePacket())); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; break a; } else { throw $$e; } } return; } $message = $this.$mc; $ls = nms_GuiDisconnected__init_($this.$parent0, $rt_s(1611), $rt_s(1612), $rt_wrapArray(jl_Object, [$rt_s(3697), $rt_s(18)])); $ptr = 11; continue main; case 9: nms_Minecraft_displayGuiScreen($message, $ls); if ($rt_suspending()) { break main; } return; case 10: nms_Minecraft_displayGuiScreen($ls, $sock); if ($rt_suspending()) { break main; } return; case 11: nms_Minecraft_displayGuiScreen($message, $ls); if ($rt_suspending()) { break main; } if (jl_System_errCache === null) { $message = new otcic_JSStderrPrintStream; $ls = new ji_ByteArrayOutputStream; $ls.$buf = $rt_createByteArray(32); jl_Object__init_($message); $message.$out0 = $ls; $ls = new jl_StringBuilder; jl_AbstractStringBuilder__init_($ls, 16); $message.$sb = $ls; $message.$buffer0 = $rt_createCharArray(32); $message.$autoFlush = 0; $message.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $message; } jl_Throwable_printStackTrace($e, jl_System_errCache); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $st, $message, $ls, var$7, var$8, var$9, var$10, $sock, $netMgr, $e, var$14, $ptr); }, nms_GuiSelectWorld$confirmClicked$lambda$_9_0 = $rt_classWithoutFields(), nms_GuiSelectWorld$confirmClicked$lambda$_9_0__init_ = var$0 => { return; }, nms_GuiSelectWorld$confirmClicked$lambda$_9_0__init_0 = () => { let var_0 = new nms_GuiSelectWorld$confirmClicked$lambda$_9_0(); nms_GuiSelectWorld$confirmClicked$lambda$_9_0__init_(var_0); return var_0; }, nms_GuiSelectWorld$confirmClicked$lambda$_9_0_getAsBoolean = var$0 => { return nle_IntegratedServer_statusState ? 0 : 1; }; function nms_Packet44UpdateAttributesSnapshot() { let a = this; jl_Object.call(a); a.$field_142043_b = null; a.$field_142044_c = 0.0; a.$field_142042_d = null; a.$field_142045_a = null; } function nms_EnumArt() { let a = this; jl_Enum.call(a); a.$title = null; a.$sizeX = 0; a.$sizeY = 0; a.$offsetX = 0; a.$offsetY = 0; } let nms_EnumArt_Kebab = null, nms_EnumArt_Aztec = null, nms_EnumArt_Alban = null, nms_EnumArt_Aztec2 = null, nms_EnumArt_Bomb = null, nms_EnumArt_Plant = null, nms_EnumArt_Wasteland = null, nms_EnumArt_Pool = null, nms_EnumArt_Courbet = null, nms_EnumArt_Sea = null, nms_EnumArt_Sunset = null, nms_EnumArt_Creebet = null, nms_EnumArt_Wanderer = null, nms_EnumArt_Graham = null, nms_EnumArt_Match = null, nms_EnumArt_Bust = null, nms_EnumArt_Stage = null, nms_EnumArt_Void = null, nms_EnumArt_SkullAndRoses = null, nms_EnumArt_Wither = null, nms_EnumArt_Fighters = null, nms_EnumArt_Pointer = null, nms_EnumArt_Pigscene = null, nms_EnumArt_BurningSkull = null, nms_EnumArt_Skeleton = null, nms_EnumArt_DonkeyKong = null, nms_EnumArt_maxArtTitleLength = 0, nms_EnumArt_$VALUES = null, nms_EnumArt_$values = () => { let var$1, var$2; var$1 = $rt_createArray(nms_EnumArt, 26); var$2 = var$1.data; var$2[0] = nms_EnumArt_Kebab; var$2[1] = nms_EnumArt_Aztec; var$2[2] = nms_EnumArt_Alban; var$2[3] = nms_EnumArt_Aztec2; var$2[4] = nms_EnumArt_Bomb; var$2[5] = nms_EnumArt_Plant; var$2[6] = nms_EnumArt_Wasteland; var$2[7] = nms_EnumArt_Pool; var$2[8] = nms_EnumArt_Courbet; var$2[9] = nms_EnumArt_Sea; var$2[10] = nms_EnumArt_Sunset; var$2[11] = nms_EnumArt_Creebet; var$2[12] = nms_EnumArt_Wanderer; var$2[13] = nms_EnumArt_Graham; var$2[14] = nms_EnumArt_Match; var$2[15] = nms_EnumArt_Bust; var$2[16] = nms_EnumArt_Stage; var$2[17] = nms_EnumArt_Void; var$2[18] = nms_EnumArt_SkullAndRoses; var$2[19] = nms_EnumArt_Wither; var$2[20] = nms_EnumArt_Fighters; var$2[21] = nms_EnumArt_Pointer; var$2[22] = nms_EnumArt_Pigscene; var$2[23] = nms_EnumArt_BurningSkull; var$2[24] = nms_EnumArt_Skeleton; var$2[25] = nms_EnumArt_DonkeyKong; return var$1; }, nms_EnumArt__clinit_ = () => { let var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3698); var$1.$ordinal = 0; var$1.$title = $rt_s(3698); var$1.$sizeX = 16; var$1.$sizeY = 16; var$1.$offsetX = 0; var$1.$offsetY = 0; nms_EnumArt_Kebab = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3699); var$1.$ordinal = 1; var$1.$title = $rt_s(3699); var$1.$sizeX = 16; var$1.$sizeY = 16; var$1.$offsetX = 16; var$1.$offsetY = 0; nms_EnumArt_Aztec = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3700); var$1.$ordinal = 2; var$1.$title = $rt_s(3700); var$1.$sizeX = 16; var$1.$sizeY = 16; var$1.$offsetX = 32; var$1.$offsetY = 0; nms_EnumArt_Alban = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3701); var$1.$ordinal = 3; var$1.$title = $rt_s(3701); var$1.$sizeX = 16; var$1.$sizeY = 16; var$1.$offsetX = 48; var$1.$offsetY = 0; nms_EnumArt_Aztec2 = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3702); var$1.$ordinal = 4; var$1.$title = $rt_s(3702); var$1.$sizeX = 16; var$1.$sizeY = 16; var$1.$offsetX = 64; var$1.$offsetY = 0; nms_EnumArt_Bomb = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3703); var$1.$ordinal = 5; var$1.$title = $rt_s(3703); var$1.$sizeX = 16; var$1.$sizeY = 16; var$1.$offsetX = 80; var$1.$offsetY = 0; nms_EnumArt_Plant = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3704); var$1.$ordinal = 6; var$1.$title = $rt_s(3704); var$1.$sizeX = 16; var$1.$sizeY = 16; var$1.$offsetX = 96; var$1.$offsetY = 0; nms_EnumArt_Wasteland = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3705); var$1.$ordinal = 7; var$1.$title = $rt_s(3705); var$1.$sizeX = 32; var$1.$sizeY = 16; var$1.$offsetX = 0; var$1.$offsetY = 32; nms_EnumArt_Pool = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3706); var$1.$ordinal = 8; var$1.$title = $rt_s(3706); var$1.$sizeX = 32; var$1.$sizeY = 16; var$1.$offsetX = 32; var$1.$offsetY = 32; nms_EnumArt_Courbet = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3707); var$1.$ordinal = 9; var$1.$title = $rt_s(3707); var$1.$sizeX = 32; var$1.$sizeY = 16; var$1.$offsetX = 64; var$1.$offsetY = 32; nms_EnumArt_Sea = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3708); var$1.$ordinal = 10; var$1.$title = $rt_s(3708); var$1.$sizeX = 32; var$1.$sizeY = 16; var$1.$offsetX = 96; var$1.$offsetY = 32; nms_EnumArt_Sunset = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3709); var$1.$ordinal = 11; var$1.$title = $rt_s(3709); var$1.$sizeX = 32; var$1.$sizeY = 16; var$1.$offsetX = 128; var$1.$offsetY = 32; nms_EnumArt_Creebet = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3710); var$1.$ordinal = 12; var$1.$title = $rt_s(3710); var$1.$sizeX = 16; var$1.$sizeY = 32; var$1.$offsetX = 0; var$1.$offsetY = 64; nms_EnumArt_Wanderer = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3711); var$1.$ordinal = 13; var$1.$title = $rt_s(3711); var$1.$sizeX = 16; var$1.$sizeY = 32; var$1.$offsetX = 16; var$1.$offsetY = 64; nms_EnumArt_Graham = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3712); var$1.$ordinal = 14; var$1.$title = $rt_s(3712); var$1.$sizeX = 32; var$1.$sizeY = 32; var$1.$offsetX = 0; var$1.$offsetY = 128; nms_EnumArt_Match = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3713); var$1.$ordinal = 15; var$1.$title = $rt_s(3713); var$1.$sizeX = 32; var$1.$sizeY = 32; var$1.$offsetX = 32; var$1.$offsetY = 128; nms_EnumArt_Bust = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3714); var$1.$ordinal = 16; var$1.$title = $rt_s(3714); var$1.$sizeX = 32; var$1.$sizeY = 32; var$1.$offsetX = 64; var$1.$offsetY = 128; nms_EnumArt_Stage = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3715); var$1.$ordinal = 17; var$1.$title = $rt_s(3715); var$1.$sizeX = 32; var$1.$sizeY = 32; var$1.$offsetX = 96; var$1.$offsetY = 128; nms_EnumArt_Void = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3716); var$1.$ordinal = 18; var$1.$title = $rt_s(3716); var$1.$sizeX = 32; var$1.$sizeY = 32; var$1.$offsetX = 128; var$1.$offsetY = 128; nms_EnumArt_SkullAndRoses = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3717); var$1.$ordinal = 19; var$1.$title = $rt_s(3717); var$1.$sizeX = 32; var$1.$sizeY = 32; var$1.$offsetX = 160; var$1.$offsetY = 128; nms_EnumArt_Wither = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3718); var$1.$ordinal = 20; var$1.$title = $rt_s(3718); var$1.$sizeX = 64; var$1.$sizeY = 32; var$1.$offsetX = 0; var$1.$offsetY = 96; nms_EnumArt_Fighters = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3719); var$1.$ordinal = 21; var$1.$title = $rt_s(3719); var$1.$sizeX = 64; var$1.$sizeY = 64; var$1.$offsetX = 0; var$1.$offsetY = 192; nms_EnumArt_Pointer = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3720); var$1.$ordinal = 22; var$1.$title = $rt_s(3720); var$1.$sizeX = 64; var$1.$sizeY = 64; var$1.$offsetX = 64; var$1.$offsetY = 192; nms_EnumArt_Pigscene = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3721); var$1.$ordinal = 23; var$1.$title = $rt_s(3721); var$1.$sizeX = 64; var$1.$sizeY = 64; var$1.$offsetX = 128; var$1.$offsetY = 192; nms_EnumArt_BurningSkull = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(681); var$1.$ordinal = 24; var$1.$title = $rt_s(681); var$1.$sizeX = 64; var$1.$sizeY = 48; var$1.$offsetX = 192; var$1.$offsetY = 64; nms_EnumArt_Skeleton = var$1; var$1 = new nms_EnumArt; var$1.$name0 = $rt_s(3722); var$1.$ordinal = 25; var$1.$title = $rt_s(3722); var$1.$sizeX = 64; var$1.$sizeY = 48; var$1.$offsetX = 192; var$1.$offsetY = 112; nms_EnumArt_DonkeyKong = var$1; nms_EnumArt_$VALUES = nms_EnumArt_$values(); nms_EnumArt_maxArtTitleLength = $rt_s(3716).$nativeString.length; }; function juz_Inflater() { let a = this; jl_Object.call(a); a.$finished1 = 0; a.$nowrap = 0; a.$inLength = 0; a.$inRead = 0; a.$needsDictionary = 0; a.$impl = null; } let juz_Inflater__init_ = $this => { let $$je; $this.$nowrap = 0; a: { try { $this.$impl = cjj_Inflater__init_(0); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_GZIPException) { } else { throw $$e; } } } }, juz_Inflater__init_0 = () => { let var_0 = new juz_Inflater(); juz_Inflater__init_(var_0); return var_0; }, juz_Inflater_inflate0 = ($this, $buf) => { return juz_Inflater_inflate($this, $buf, 0, $buf.data.length); }, juz_Inflater_inflate = ($this, $buf, $off, $nbytes) => { let $neededDict, var$5, $lastInSize, $lastOutSize, var$8, $errCode, var$10, var$11, var$12; $neededDict = $buf.data.length; if ($off <= $neededDict && $nbytes >= 0 && $off >= 0 && ($neededDict - $off | 0) >= $nbytes) { var$5 = $this.$impl; if (var$5 === null) { var$5 = new jl_IllegalStateException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } if ($this.$inRead != $this.$inLength ? 0 : 1) return 0; $lastInSize = var$5.$total_in; $lastOutSize = var$5.$total_out; $neededDict = $this.$needsDictionary; $this.$needsDictionary = 0; var$5.$next_out = $buf; var$5.$next_out_index = $off; var$5.$avail_out = $nbytes; var$8 = var$5.$istate; if (var$8 === null) $errCode = (-2); else { $errCode = cjj_Inflate_inflate(var$8, 0); if ($errCode == 1) var$5.$finished = 1; } a: { switch ($errCode) { case 0: break; case 1: $this.$finished1 = 1; break a; case 2: $this.$needsDictionary = 1; break a; default: var$5 = new juz_DataFormatException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3723)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $errCode, 10); var$10 = new jl_String; $buf = var$8.$buffer; var$11 = $buf.data; $nbytes = var$8.$length0; $neededDict = var$11.length; if ($nbytes >= 0 && $nbytes <= ($neededDict - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString($buf.data, 0, $nbytes); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$10; $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); } } if ($this.$needsDictionary && $neededDict) { var$5 = new juz_DataFormatException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } var$12 = Long_fromInt($this.$inRead); var$5 = $this.$impl; $this.$inRead = Long_lo(Long_add(var$12, Long_sub(var$5.$total_in, $lastInSize))); return Long_lo(Long_sub(var$5.$total_out, $lastOutSize)); } var$5 = new jl_ArrayIndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); }, juz_Inflater_setInput = ($this, $buf, $off, $nbytes) => { let var$4, var$5; var$4 = $this.$impl; if (var$4 === null) { var$4 = new jl_IllegalStateException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } var$5 = $buf.data.length; if ($off <= var$5 && $nbytes >= 0 && $off >= 0 && (var$5 - $off | 0) >= $nbytes) { $this.$inRead = 0; $this.$inLength = $nbytes; cjj_ZStream_setInput(var$4, $buf, $off, $nbytes, 0); return; } var$4 = new jl_ArrayIndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); }, juz_DataFormatException = $rt_classWithoutFields(jl_Exception), juz_DataFormatException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, juz_DataFormatException__init_0 = () => { let var_0 = new juz_DataFormatException(); juz_DataFormatException__init_(var_0); return var_0; }; function nms_WorldSettings() { let a = this; jl_Object.call(a); a.$seed0 = Long_ZERO; a.$theGameType0 = null; a.$mapFeaturesEnabled = 0; a.$hardcoreEnabled = 0; a.$terrainType1 = null; a.$commandsAllowed0 = 0; a.$bonusChestEnabled = 0; a.$field_82751_h = null; } function nms_GuiCreateWorld() { let a = this; nms_GuiScreen.call(a); a.$parentGuiScreen1 = null; a.$textboxWorldName = null; a.$textboxSeed = null; a.$folderName = null; a.$gameMode = null; a.$generateStructures = 0; a.$commandsAllowed = 0; a.$commandsToggled = 0; a.$bonusItems = 0; a.$isHardcore = 0; a.$createClicked = 0; a.$moreOptions = 0; a.$buttonGameMode = null; a.$moreWorldOptions = null; a.$buttonGenerateStructures = null; a.$buttonBonusItems = null; a.$buttonWorldType = null; a.$buttonAllowCommands = null; a.$buttonCustomize = null; a.$gameModeDescriptionLine1 = null; a.$gameModeDescriptionLine2 = null; a.$seed1 = null; a.$localizedNewWorldText = null; a.$worldTypeId = 0; a.$generatorOptionsToUse = null; } let nms_GuiCreateWorld_ILLEGAL_WORLD_NAMES = null, nms_GuiCreateWorld__init_0 = ($this, $par1GuiScreen) => { let var$2; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); $this.$buttonList = var$2; $this.$allowUserInput = 0; $this.$selectedButton = null; $this.$eventButton = 0; $this.$field_85043_c = Long_ZERO; $this.$field_92018_d = 0; $this.$gameMode = $rt_s(3231); $this.$generateStructures = 1; $this.$commandsAllowed = 0; $this.$commandsToggled = 0; $this.$bonusItems = 0; $this.$isHardcore = 0; $this.$worldTypeId = 0; $this.$generatorOptionsToUse = $rt_s(18); $this.$parentGuiScreen1 = $par1GuiScreen; $this.$seed1 = $rt_s(18); nms_StatCollector_$callClinit(); $this.$localizedNewWorldText = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3724)); }, nms_GuiCreateWorld__init_ = var_0 => { let var_1 = new nms_GuiCreateWorld(); nms_GuiCreateWorld__init_0(var_1, var_0); return var_1; }, nms_GuiCreateWorld_updateScreen = $this => { let var$1; var$1 = $this.$textboxWorldName; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; var$1 = $this.$textboxSeed; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; }, nms_GuiCreateWorld_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; var$2 = $this.$buttonList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 155 | 0; var$9 = $this.$height - 28 | 0; var$10 = nms_StringTranslate_translateKey($var1, $rt_s(3574)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 0; var$6.$xPosition = var$8; var$6.$yPosition = var$9; var$6.$width0 = 150; var$6.$height0 = 20; var$6.$displayString = var$10; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = $this.$buttonList; var$10 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) + 5 | 0; var$8 = $this.$height - 28 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(1626)); var$10.$width0 = 200; var$10.$height0 = 20; var$10.$enabled = 1; var$10.$drawButton0 = 1; var$10.$id0 = 1; var$10.$xPosition = var$5; var$10.$yPosition = var$8; var$10.$width0 = 150; var$10.$height0 = 20; var$10.$displayString = var$2; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$10; var$6.$modCount = var$6.$modCount + 1 | 0; var$10 = $this.$buttonList; var$2 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 75 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(3586)); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 2; var$2.$xPosition = var$5; var$2.$yPosition = 115; var$2.$width0 = 150; var$2.$height0 = 20; var$2.$displayString = var$6; $this.$buttonGameMode = var$2; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$3 = var$10.$array.data; var$5 = var$10.$size0; var$10.$size0 = var$5 + 1 | 0; var$3[var$5] = var$2; var$10.$modCount = var$10.$modCount + 1 | 0; var$6 = $this.$buttonList; var$10 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 75 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3725)); var$10.$width0 = 200; var$10.$height0 = 20; var$10.$enabled = 1; var$10.$drawButton0 = 1; var$10.$id0 = 3; var$10.$xPosition = var$8; var$10.$yPosition = 187; var$10.$width0 = 150; var$10.$height0 = 20; var$10.$displayString = var$2; $this.$moreWorldOptions = var$10; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$10; var$6.$modCount = var$6.$modCount + 1 | 0; var$6 = $this.$buttonList; var$10 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 155 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3726)); var$10.$width0 = 200; var$10.$height0 = 20; var$10.$enabled = 1; var$10.$drawButton0 = 1; var$10.$id0 = 4; var$10.$xPosition = var$5; var$10.$yPosition = 100; var$10.$width0 = 150; var$10.$height0 = 20; var$10.$displayString = var$2; $this.$buttonGenerateStructures = var$10; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$10; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$buttonGenerateStructures.$drawButton0 = 0; var$6 = $this.$buttonList; var$10 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) + 5 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3727)); var$10.$width0 = 200; var$10.$height0 = 20; var$10.$enabled = 1; var$10.$drawButton0 = 1; var$10.$id0 = 7; var$10.$xPosition = var$5; var$10.$yPosition = 151; var$10.$width0 = 150; var$10.$height0 = 20; var$10.$displayString = var$2; $this.$buttonBonusItems = var$10; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$10; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$buttonBonusItems.$drawButton0 = 0; var$6 = $this.$buttonList; var$10 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) + 5 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3728)); var$10.$width0 = 200; var$10.$height0 = 20; var$10.$enabled = 1; var$10.$drawButton0 = 1; var$10.$id0 = 5; var$10.$xPosition = var$5; var$10.$yPosition = 100; var$10.$width0 = 150; var$10.$height0 = 20; var$10.$displayString = var$2; $this.$buttonWorldType = var$10; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$10; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$buttonWorldType.$drawButton0 = 0; var$6 = $this.$buttonList; var$10 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 155 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3587)); var$10.$width0 = 200; var$10.$height0 = 20; var$10.$enabled = 1; var$10.$drawButton0 = 1; var$10.$id0 = 6; var$10.$xPosition = var$5; var$10.$yPosition = 151; var$10.$width0 = 150; var$10.$height0 = 20; var$10.$displayString = var$2; $this.$buttonAllowCommands = var$10; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$10; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$buttonAllowCommands.$drawButton0 = 0; var$6 = $this.$buttonList; var$10 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) + 5 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3729)); var$10.$width0 = 200; var$10.$height0 = 20; var$10.$enabled = 1; var$10.$drawButton0 = 1; var$10.$id0 = 8; var$10.$xPosition = var$5; var$10.$yPosition = 120; var$10.$width0 = 150; var$10.$height0 = 20; var$10.$displayString = var$2; $this.$buttonCustomize = var$10; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$10; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$buttonCustomize.$drawButton0 = 0; var$6 = nms_GuiTextField__init_($this.$fontRenderer, ($this.$width / 2 | 0) - 100 | 0, 60, 200, 20); $this.$textboxWorldName = var$6; if (!var$6.$isFocused0) var$6.$cursorCounter = 0; var$6.$isFocused0 = 1; var$10 = $this.$localizedNewWorldText; var$4 = var$10.$nativeString.length; var$5 = var$6.$maxStringLength; if (var$4 <= var$5) var$6.$text = var$10; else var$6.$text = jl_String_substring(var$10, 0, var$5); var$6.$cursorPosition = var$6.$text.$nativeString.length; var$5 = var$6.$text.$nativeString.length; if (var$6.$cursorPosition < 0) var$6.$cursorPosition = 0; if (var$6.$cursorPosition > var$5) var$6.$cursorPosition = var$5; nms_GuiTextField_setSelectionPos(var$6, var$6.$cursorPosition); var$6 = nms_GuiTextField__init_($this.$fontRenderer, ($this.$width / 2 | 0) - 100 | 0, 60, 200, 20); $this.$textboxSeed = var$6; var$10 = $this.$seed1; var$4 = var$10.$nativeString.length; var$5 = var$6.$maxStringLength; if (var$4 <= var$5) var$6.$text = var$10; else var$6.$text = jl_String_substring(var$10, 0, var$5); var$6.$cursorPosition = var$6.$text.$nativeString.length; var$5 = var$6.$text.$nativeString.length; if (var$6.$cursorPosition < 0) var$6.$cursorPosition = 0; if (var$6.$cursorPosition > var$5) var$6.$cursorPosition = var$5; nms_GuiTextField_setSelectionPos(var$6, var$6.$cursorPosition); nms_GuiCreateWorld_func_82288_a($this, $this.$moreOptions); var$6 = jl_String_trim($this.$textboxWorldName.$text); var$3 = nms_ChatAllowedCharacters_allowedCharactersArray.data; var$5 = var$3.length; var$8 = 0; a: { b: while (true) { if (var$8 >= var$5) { if (var$6 !== null && var$6.$nativeString.length ? 0 : 1) var$6 = $rt_s(3578); $this.$folderName = nms_GuiCreateWorld_func_73913_a(var$6); nms_GuiCreateWorld_updateButtonText($this); return; } var$9 = var$3[var$8]; if (var$9 != 95) { var$7 = $rt_createCharArray(var$6.$nativeString.length); var$11 = var$7.data; var$12 = 0; while (var$12 < var$6.$nativeString.length) { if (var$12 < 0) break a; if (var$12 >= var$6.$nativeString.length) break a; if (var$6.$nativeString.charCodeAt(var$12) == var$9) var$13 = 95; else { if (var$12 < 0) break b; if (var$12 >= var$6.$nativeString.length) break b; var$13 = var$6.$nativeString.charCodeAt(var$12); } var$11[var$12] = var$13; var$12 = var$12 + 1 | 0; } var$6 = new jl_String; var$6.$nativeString = ""; var$6.$nativeString = $rt_fullArrayToString(var$7.data); } var$8 = var$8 + 1 | 0; } var$6 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_(var$6); $rt_throw(var$6); } var$6 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_(var$6); $rt_throw(var$6); }, nms_GuiCreateWorld_updateButtonText = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; var$2 = $this.$buttonGameMode; var$3 = nms_StringTranslate_translateKey($var1, $rt_s(3586)); var$4 = $this.$gameMode; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3588)); var$6 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$4); var$4 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$9 = var$5.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$4 = nms_StringTranslate_translateKey($var1, var$4); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$6 = var$5.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$3); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 32; var$6 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$4); var$3 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$10 = var$5.$length0; var$11 = var$8.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); var$2.$displayString = var$3; var$3 = $this.$gameMode; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(3588)); var$6 = var$2.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$2, var$6, var$3); jl_AbstractStringBuilder_insert(var$2, var$2.$length0, $rt_s(3730)); var$3 = new jl_String; var$7 = var$2.$buffer; var$8 = var$7.data; var$10 = var$2.$length0; var$11 = var$8.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); $this.$gameModeDescriptionLine1 = nms_StringTranslate_translateKey($var1, var$3); var$3 = $this.$gameMode; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3588)); var$6 = var$4.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$6, var$3); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3731)); var$3 = new jl_String; var$7 = var$4.$buffer; var$8 = var$7.data; var$10 = var$4.$length0; var$11 = var$8.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); $this.$gameModeDescriptionLine2 = nms_StringTranslate_translateKey($var1, var$3); var$3 = $this.$buttonGenerateStructures; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3726)); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$6 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$6, var$2); var$6 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$6, var$6 + 1 | 0); var$7 = var$4.$buffer; var$8 = var$7.data; var$8[var$6] = 32; var$2 = new jl_String; var$10 = var$4.$length0; var$11 = var$8.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) { a: { var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); var$3.$displayString = var$2; if (!$this.$generateStructures) { var$3 = $this.$buttonGenerateStructures; var$2 = var$3.$displayString; var$4 = nms_StringTranslate_translateKey($var1, $rt_s(1064)); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$6 = var$5.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$2); var$6 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$4); var$2 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$10 = var$5.$length0; var$11 = var$8.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); var$3.$displayString = var$2; break a; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = $this.$buttonGenerateStructures; var$2 = var$3.$displayString; var$4 = nms_StringTranslate_translateKey($var1, $rt_s(1065)); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$6 = var$5.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$2); var$6 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$4); var$2 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$10 = var$5.$length0; var$11 = var$8.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); var$3.$displayString = var$2; } else { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } } var$3 = $this.$buttonBonusItems; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3727)); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$6 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$6, var$2); var$6 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$6, var$6 + 1 | 0); var$7 = var$4.$buffer; var$8 = var$7.data; var$8[var$6] = 32; var$2 = new jl_String; var$10 = var$4.$length0; var$11 = var$8.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) { b: { var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); var$3.$displayString = var$2; if ($this.$bonusItems && !$this.$isHardcore) { var$3 = $this.$buttonBonusItems; var$2 = var$3.$displayString; var$4 = nms_StringTranslate_translateKey($var1, $rt_s(1065)); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$6 = var$5.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$2); var$6 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$4); var$2 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$10 = var$5.$length0; var$11 = var$8.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); var$3.$displayString = var$2; break b; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = $this.$buttonBonusItems; var$2 = var$3.$displayString; var$4 = nms_StringTranslate_translateKey($var1, $rt_s(1064)); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$6 = var$5.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$2); var$6 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$4); var$2 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$10 = var$5.$length0; var$11 = var$8.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); var$3.$displayString = var$2; } else { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } } var$3 = $this.$buttonWorldType; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3728)); var$4 = nms_WorldType_worldTypes.data[$this.$worldTypeId].$worldType; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(3732)); var$6 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$4); var$4 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$10 = var$5.$length0; var$11 = var$8.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); var$4 = nms_StringTranslate_translateKey($var1, var$4); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$6 = var$5.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$2); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$5.$buffer.data[var$6] = 32; var$6 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$4); var$2 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$10 = var$5.$length0; var$11 = var$8.length; if (var$10 >= 0 && var$10 <= (var$11 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); var$3.$displayString = var$2; var$3 = $this.$buttonAllowCommands; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3587)); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$6 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$6, var$2); var$6 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$6, var$6 + 1 | 0); var$7 = var$4.$buffer; var$8 = var$7.data; var$8[var$6] = 32; var$2 = new jl_String; var$9 = var$4.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { c: { var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$3.$displayString = var$2; if ($this.$commandsAllowed && !$this.$isHardcore) { var$3 = $this.$buttonAllowCommands; var$2 = var$3.$displayString; var$4 = nms_StringTranslate_translateKey($var1, $rt_s(1065)); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$6 = var$5.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$2); var$6 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$4); var$2 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$9 = var$5.$length0; var$10 = var$8.length; if (var$9 < 0) break c; if (var$9 > (var$10 - 0 | 0)) break c; var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$3.$displayString = var$2; } else { var$3 = $this.$buttonAllowCommands; var$2 = var$3.$displayString; var$4 = nms_StringTranslate_translateKey($var1, $rt_s(1064)); var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$6 = var$5.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$2); var$6 = var$5.$length0; if (var$4 === null) var$4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$6, var$4); var$2 = new jl_String; var$7 = var$5.$buffer; var$8 = var$7.data; var$9 = var$5.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); var$3.$displayString = var$2; } else { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } } return; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); }, nms_GuiCreateWorld_func_73913_a = $par1Str => { let var$2, var$3, $var5, var$5, $var3, $var2, $shit, var$9, var$10, $nbt, var$12, $var4, $l, var$15, var$16; var$2 = jur_Matcher__init_(jur_Pattern_compile($rt_s(3733), 0), $par1Str); $par1Str = new jl_StringBuffer; $par1Str.$buffer = $rt_createCharArray(16); var$2.$leftBound0 = 0; var$3 = var$2.$string.$nativeString.length; var$2.$rightBound0 = var$3; $var5 = var$2.$matchResult; var$5 = var$2.$string; $var3 = var$2.$leftBound0; $var5.$valid = 0; $var5.$mode0 = 2; $var2 = $var5.$groupBounds.data; $shit = 0; var$9 = $var2.length; if ($shit > var$9) { $par1Str = new jl_IllegalArgumentException; jl_Exception__init_($par1Str); $rt_throw($par1Str); } while ($shit < var$9) { var$10 = $shit + 1 | 0; $var2[$shit] = (-1); $shit = var$10; } $var2 = $var5.$consumers.data; $shit = 0; var$9 = $var2.length; if ($shit > var$9) { $par1Str = new jl_IllegalArgumentException; jl_Exception__init_($par1Str); $rt_throw($par1Str); } while ($shit < var$9) { var$10 = $shit + 1 | 0; $var2[$shit] = (-1); $shit = var$10; } if (var$5 !== null) $var5.$string1 = var$5; if ($var3 >= 0) { $var5.$leftBound = $var3; $var5.$rightBound = var$3; } $var5.$startIndex = $var5.$leftBound; var$2.$appendPos = 0; var$2.$replacement = null; $var5.$previousMatch = (-1); while (true) { if (!jur_Matcher_find(var$2)) { $nbt = var$2.$string; var$2 = jl_String_substring($nbt, var$2.$appendPos, $nbt.$nativeString.length); $shit = var$2.$nativeString.length; jl_StringBuffer_insert($par1Str, $par1Str.$length0, var$2, 0, $shit); var$2 = new jl_String; $var2 = $par1Str.$buffer; var$12 = $var2.data; $var4 = $par1Str.$length0; $shit = var$12.length; if ($var4 >= 0 && $var4 <= ($shit - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString($var2.data, 0, $var4); $var2 = nms_GuiCreateWorld_ILLEGAL_WORLD_NAMES.data; $var3 = $var2.length; $var4 = 0; while (true) { if ($var4 >= $var3) { $l = nle_IntegratedServer_statusState != 10 ? nle_IntegratedServer_worlds : null; a: { if ($l !== null) { $shit = 1; while ($shit) { $shit = 0; var$15 = $l.$firstEntry; var$10 = $l.$modCount; while (var$15 === null ? 0 : 1) { if (var$10 < $l.$modCount) { $par1Str = new ju_ConcurrentModificationException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } if (var$15 === null) { $par1Str = new ju_NoSuchElementException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } b: { $par1Str = var$15.$item; var$15 = var$15.$next5; $nbt = $par1Str; $var5 = $nbt.$tagMap; if (!$rt_s(3572).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3572).$nativeString.length) break b; $rt_s(3572).$hashCode1 = (31 * $rt_s(3572).$hashCode1 | 0) + $rt_s(3572).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$3 = $rt_s(3572).$hashCode1; $var2 = $var5.$elementData.data; $var5 = $var2[var$3 & ($var2.length - 1 | 0)]; while ($var5 !== null) { if ($var5.$origKeyHash == var$3) { c: { var$5 = $var5.$key; if ($rt_s(3572) !== var$5) { if ($rt_s(3572) === var$5) $var3 = 1; else if (!(var$5 instanceof jl_String)) $var3 = 0; else { var$5 = var$5; $var3 = $rt_s(3572).$nativeString !== var$5.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break c; } } $var3 = 1; } if ($var3) break; } $var5 = $var5.$next3; } if (!($var5 === null ? 0 : 1)) $par1Str = $rt_s(18); else { $nbt = $nbt.$tagMap; if ($rt_s(3572) === null) { var$5 = $nbt.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { d: { if (!$rt_s(3572).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3572).$nativeString.length) break d; $rt_s(3572).$hashCode1 = (31 * $rt_s(3572).$hashCode1 | 0) + $rt_s(3572).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } var$9 = $rt_s(3572).$hashCode1; $var2 = $nbt.$elementData.data; var$5 = $var2[var$9 & ($var2.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { e: { $nbt = var$5.$key; if ($rt_s(3572) !== $nbt) { if ($rt_s(3572) === $nbt) $var3 = 1; else if (!($nbt instanceof jl_String)) $var3 = 0; else { $nbt = $nbt; $var3 = $rt_s(3572).$nativeString !== $nbt.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break e; } } $var3 = 1; } if ($var3) break; } var$5 = var$5.$next3; } } $par1Str = (var$5 === null ? null : var$5.$value1).$data1; } if (var$2 === $par1Str) $var3 = 1; else if (!($par1Str instanceof jl_String)) $var3 = 0; else { $par1Str = $par1Str; $var3 = var$2.$nativeString !== $par1Str.$nativeString ? 0 : 1; } if ($var3) { $par1Str = new jl_StringBuilder; $par1Str.$buffer = $rt_createCharArray(16); $var3 = $par1Str.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert($par1Str, $var3, var$2); $shit = $par1Str.$length0; jl_AbstractStringBuilder_insertSpace($par1Str, $shit, $shit + 1 | 0); $var2 = $par1Str.$buffer; var$12 = $var2.data; var$12[$shit] = 45; var$2 = new jl_String; $shit = $par1Str.$length0; var$9 = var$12.length; if ($shit < 0) break a; if ($shit > (var$9 - 0 | 0)) break a; var$2.$nativeString = $rt_charArrayToString($var2.data, 0, $shit); $shit = 1; } } } } return var$2; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); } if (jl_String_equalsIgnoreCase(var$2, $var2[$var4])) { $par1Str = new jl_StringBuilder; $par1Str.$buffer = $rt_createCharArray(16); $shit = $par1Str.$length0; jl_AbstractStringBuilder_insertSpace($par1Str, $shit, $shit + 1 | 0); $par1Str.$buffer.data[$shit] = 95; jl_AbstractStringBuilder_insert($par1Str, $par1Str.$length0, var$2); $shit = $par1Str.$length0; jl_AbstractStringBuilder_insertSpace($par1Str, $shit, $shit + 1 | 0); var$12 = $par1Str.$buffer; var$16 = var$12.data; var$16[$shit] = 95; var$2 = new jl_String; var$10 = $par1Str.$length0; var$3 = var$16.length; if (var$10 < 0) break; if (var$10 > (var$3 - 0 | 0)) break; var$2.$nativeString = $rt_charArrayToString(var$12.data, 0, var$10); } $var4 = $var4 + 1 | 0; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); } $par1Str = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1Str); $rt_throw($par1Str); } var$2.$processedRepl = jur_Matcher_processReplacement(var$2, $rt_s(659)); $var5 = var$2.$string; $var3 = var$2.$appendPos; var$5 = var$2.$matchResult; if (!var$5.$valid) { $par1Str = new jl_IllegalStateException; jl_RuntimeException__init_($par1Str); $rt_throw($par1Str); } if (0 >= var$5.$groupCount) { $par1Str = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($par1Str, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($par1Str); } $var5 = jl_String_substring($var5, $var3, var$5.$groupBounds.data[0]); var$10 = $var5.$nativeString.length; jl_StringBuffer_insert($par1Str, $par1Str.$length0, $var5, 0, var$10); $var5 = var$2.$processedRepl; jl_AbstractStringBuilder_insert($par1Str, $par1Str.$length0, $var5); $var5 = var$2.$matchResult; if (!$var5.$valid) break; if (0 >= $var5.$groupCount) { $par1Str = new jl_IndexOutOfBoundsException; jl_RuntimeException__init_0($par1Str, jl_StringBuilder_toString(jl_StringBuilder_append0(jl_StringBuilder__init_(), 0))); $rt_throw($par1Str); } var$2.$appendPos = $var5.$groupBounds.data[1]; } $par1Str = new jl_IllegalStateException; jl_RuntimeException__init_($par1Str); $rt_throw($par1Str); }, nms_GuiCreateWorld_onGuiClosed = $this => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; }, nms_GuiCreateWorld_actionPerformed = ($this, $par1GuiButton) => { let var$2, $var8, var$4, var$5, $var6, $var4, $var2, $var5, var$10, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();$var5 = $thread.pop();$var2 = $thread.pop();$var4 = $thread.pop();$var6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var8 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled) { var$2 = $par1GuiButton.$id0; if (var$2 == 1) { $par1GuiButton = $this.$mc; $var8 = $this.$parentGuiScreen1; $ptr = 1; continue main; } if (!var$2) { $par1GuiButton = $this.$mc; $var8 = null; $ptr = 2; continue main; } if (var$2 == 3) nms_GuiCreateWorld_func_82288_a($this, $this.$moreOptions ? 0 : 1); else if (var$2 == 2) { $par1GuiButton = $this.$gameMode; if ($par1GuiButton === $rt_s(3231)) var$4 = 1; else if (!($rt_s(3231) instanceof jl_String)) var$4 = 0; else { $var8 = $rt_s(3231); var$4 = $par1GuiButton.$nativeString !== $var8.$nativeString ? 0 : 1; } if (var$4) { if (!$this.$commandsToggled) $this.$commandsAllowed = 0; $this.$isHardcore = 0; $this.$gameMode = $rt_s(3413); $this.$isHardcore = 1; $this.$buttonAllowCommands.$enabled = 0; $this.$buttonBonusItems.$enabled = 0; nms_GuiCreateWorld_updateButtonText($this); } else { $par1GuiButton = $this.$gameMode; if ($par1GuiButton === $rt_s(3413)) var$4 = 1; else if (!($rt_s(3413) instanceof jl_String)) var$4 = 0; else { $var8 = $rt_s(3413); var$4 = $par1GuiButton.$nativeString !== $var8.$nativeString ? 0 : 1; } if (!var$4) { if (!$this.$commandsToggled) $this.$commandsAllowed = 0; $this.$gameMode = $rt_s(3231); nms_GuiCreateWorld_updateButtonText($this); $this.$buttonAllowCommands.$enabled = 1; $this.$buttonBonusItems.$enabled = 1; $this.$isHardcore = 0; } else { if (!$this.$commandsToggled) $this.$commandsAllowed = 1; $this.$isHardcore = 0; $this.$gameMode = $rt_s(3589); nms_GuiCreateWorld_updateButtonText($this); $this.$isHardcore = 0; $this.$buttonAllowCommands.$enabled = 1; $this.$buttonBonusItems.$enabled = 1; } } nms_GuiCreateWorld_updateButtonText($this); } else if (var$2 == 4) { $this.$generateStructures = $this.$generateStructures ? 0 : 1; nms_GuiCreateWorld_updateButtonText($this); } else if (var$2 == 7) { $this.$bonusItems = $this.$bonusItems ? 0 : 1; nms_GuiCreateWorld_updateButtonText($this); } else if (var$2 == 5) { var$4 = $this.$worldTypeId + 1 | 0; $this.$worldTypeId = var$4; var$5 = nms_WorldType_worldTypes.data; var$2 = var$5.length; if (var$4 >= var$2) $this.$worldTypeId = 0; while (true) { var$4 = $this.$worldTypeId; if (var$5[var$4] !== null && var$5[var$4].$canBeCreated) break; var$4 = var$4 + 1 | 0; $this.$worldTypeId = var$4; if (var$4 < var$2) continue; $this.$worldTypeId = 0; } $this.$generatorOptionsToUse = $rt_s(18); nms_GuiCreateWorld_updateButtonText($this); nms_GuiCreateWorld_func_82288_a($this, $this.$moreOptions); } else if (var$2 == 6) { $this.$commandsToggled = 1; $this.$commandsAllowed = $this.$commandsAllowed ? 0 : 1; nms_GuiCreateWorld_updateButtonText($this); } else if (var$2 == 8) { $par1GuiButton = $this.$mc; $var8 = new nms_GuiCreateFlatWorld; $var6 = $this.$generatorOptionsToUse; nms_GuiCreateFlatWorld_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $var4 = new ju_ArrayList; $var4.$array = $rt_createArray(jl_Object, 10); $var8.$buttonList = $var4; $var8.$allowUserInput = 0; $var8.$selectedButton = null; $var8.$eventButton = 0; $var8.$field_85043_c = Long_ZERO; $var8.$field_92018_d = 0; $var8.$theFlatGeneratorInfo = nms_FlatGeneratorInfo_getDefaultFlatGenerator(); $var8.$createWorldGui = $this; $var8.$theFlatGeneratorInfo = nms_FlatGeneratorInfo_createFlatGeneratorFromString($var6); $ptr = 3; continue main; } } return; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, $var8); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, $var8); if ($rt_suspending()) { break main; } if ($this.$createClicked) return; $this.$createClicked = 1; $var2 = Long_and(Long_add(Long_mul(Long_fromNumber(performance.now() * 1000000.0), Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2 = Long_add(Long_shl(Long_fromInt(Long_lo(Long_shru($var2, 16))), 32), Long_fromInt(Long_lo(Long_shru(Long_and(Long_add(Long_mul($var2, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)), 16)))); $var4 = $this.$textboxSeed.$text; var$4 = $var4 !== null && $var4.$nativeString.length ? 0 : 1; a: { if (var$4) $var5 = $var2; else { try { $var5 = jl_Long_parseLong($var4); if (Long_eq($var5, Long_ZERO)) $var5 = $var2; break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } b: { if (!$var4.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $var4.$nativeString.length) break b; $var4.$hashCode1 = (31 * $var4.$hashCode1 | 0) + $var4.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } $var5 = Long_fromInt($var4.$hashCode1); } } $par1GuiButton = $this.$gameMode; var$5 = (nms_EnumGameType_$VALUES.$clone0()).data; var$4 = var$5.length; var$2 = 0; c: { while (true) { if (var$2 >= var$4) { $var8 = nms_EnumGameType_SURVIVAL; break c; } $var8 = var$5[var$2]; $var6 = $var8.$name13; if ($var6 === $par1GuiButton) var$10 = 1; else if (!($par1GuiButton instanceof jl_String)) var$10 = 0; else { $var4 = $par1GuiButton; var$10 = $var6.$nativeString !== $var4.$nativeString ? 0 : 1; } if (var$10) break; var$2 = var$2 + 1 | 0; } } $var6 = new nms_WorldSettings; var$4 = $this.$generateStructures; var$2 = $this.$isHardcore; $par1GuiButton = nms_WorldType_worldTypes.data[$this.$worldTypeId]; $var6.$field_82751_h = $rt_s(18); $var6.$seed0 = $var5; $var6.$theGameType0 = $var8; $var6.$mapFeaturesEnabled = var$4; $var6.$hardcoreEnabled = var$2; $var6.$terrainType1 = $par1GuiButton; $var6.$field_82751_h = $this.$generatorOptionsToUse; if ($this.$bonusItems && !var$2) $var6.$bonusChestEnabled = 1; if ($this.$commandsAllowed && !var$2) $var6.$commandsAllowed0 = 1; if (jl_System_outCache === null) { $par1GuiButton = new otcic_JSStdoutPrintStream; $var8 = new ji_ByteArrayOutputStream; $var8.$buf = $rt_createByteArray(32); $par1GuiButton.$out0 = $var8; $var8 = new jl_StringBuilder; jl_Object__init_($var8); $var8.$buffer = $rt_createCharArray(16); $par1GuiButton.$sb = $var8; $par1GuiButton.$buffer0 = $rt_createCharArray(32); $par1GuiButton.$autoFlush = 0; $par1GuiButton.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $par1GuiButton; } $rt_putStdout("created world, launching integratedserver"); $rt_putStdout("\n"); $par1GuiButton = $this.$mc; $var8 = $this.$folderName; $var4 = jl_String_trim($this.$textboxWorldName.$text); $ptr = 4; continue main; case 3: nms_Minecraft_displayGuiScreen($par1GuiButton, $var8); if ($rt_suspending()) { break main; } return; case 4: nms_Minecraft_launchIntegratedServer($par1GuiButton, $var8, $var4, $var6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $var8, var$4, var$5, $var6, $var4, $var2, $var5, var$10, $ptr); }, nms_GuiCreateWorld_func_82288_a = ($this, $par1) => { $this.$moreOptions = $par1; $this.$buttonGameMode.$drawButton0 = $par1 ? 0 : 1; $this.$buttonGenerateStructures.$drawButton0 = $par1; $this.$buttonBonusItems.$drawButton0 = $par1; $this.$buttonWorldType.$drawButton0 = $par1; $this.$buttonAllowCommands.$drawButton0 = $par1; $this.$buttonCustomize.$drawButton0 = $par1 && nms_WorldType_worldTypes.data[$this.$worldTypeId] === nms_WorldType_FLAT ? 1 : 0; if (!$par1) { nms_StringTranslate_$callClinit(); $this.$moreWorldOptions.$displayString = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $rt_s(3725)); } else { nms_StringTranslate_$callClinit(); $this.$moreWorldOptions.$displayString = nms_StringTranslate_translateKey(nms_StringTranslate_instance, $rt_s(646)); } }, nms_GuiCreateWorld_keyTyped = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$textboxWorldName; if (var$3.$isFocused0 && !$this.$moreOptions) { $ptr = 1; continue main; } var$3 = $this.$textboxSeed; if (var$3.$isFocused0 && $this.$moreOptions) { $ptr = 2; continue main; } if ($par1 != 13) { var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3.$array.data[0].$enabled = $this.$textboxWorldName.$text.$nativeString.length <= 0 ? 0 : 1; var$3 = jl_String_trim($this.$textboxWorldName.$text); var$4 = nms_ChatAllowedCharacters_allowedCharactersArray.data; $par2 = var$4.length; var$5 = 0; a: { b: while (true) { if (var$5 >= $par2) { if (var$3 !== null && var$3.$nativeString.length ? 0 : 1) var$3 = $rt_s(3578); $this.$folderName = nms_GuiCreateWorld_func_73913_a(var$3); return; } var$6 = var$4[var$5]; if (var$6 != 95) { var$7 = $rt_createCharArray(var$3.$nativeString.length); var$8 = var$7.data; var$9 = 0; while (var$9 < var$3.$nativeString.length) { if (var$9 < 0) break a; if (var$9 >= var$3.$nativeString.length) break a; if (var$3.$nativeString.charCodeAt(var$9) == var$6) var$10 = 95; else { if (var$9 < 0) break b; if (var$9 >= var$3.$nativeString.length) break b; var$10 = var$3.$nativeString.charCodeAt(var$9); } var$8[var$9] = var$10; var$9 = var$9 + 1 | 0; } var$3 = new jl_String; var$3.$nativeString = ""; var$3.$nativeString = $rt_fullArrayToString(var$7.data); } var$5 = var$5 + 1 | 0; } var$3 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } var$3 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = var$3.$array.data[0]; $ptr = 3; continue main; case 1: nms_GuiTextField_textboxKeyTyped(var$3, $par1, $par2); if ($rt_suspending()) { break main; } $this.$localizedNewWorldText = $this.$textboxWorldName.$text; if ($par1 != 13) { var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3.$array.data[0].$enabled = $this.$textboxWorldName.$text.$nativeString.length <= 0 ? 0 : 1; var$3 = jl_String_trim($this.$textboxWorldName.$text); var$4 = nms_ChatAllowedCharacters_allowedCharactersArray.data; $par2 = var$4.length; var$5 = 0; c: { d: while (true) { if (var$5 >= $par2) { if (var$3 !== null && var$3.$nativeString.length ? 0 : 1) var$3 = $rt_s(3578); $this.$folderName = nms_GuiCreateWorld_func_73913_a(var$3); return; } var$6 = var$4[var$5]; if (var$6 != 95) { var$7 = $rt_createCharArray(var$3.$nativeString.length); var$8 = var$7.data; var$9 = 0; while (var$9 < var$3.$nativeString.length) { if (var$9 < 0) break c; if (var$9 >= var$3.$nativeString.length) break c; if (var$3.$nativeString.charCodeAt(var$9) == var$6) var$10 = 95; else { if (var$9 < 0) break d; if (var$9 >= var$3.$nativeString.length) break d; var$10 = var$3.$nativeString.charCodeAt(var$9); } var$8[var$9] = var$10; var$9 = var$9 + 1 | 0; } var$3 = new jl_String; var$3.$nativeString = ""; var$3.$nativeString = $rt_fullArrayToString(var$7.data); } var$5 = var$5 + 1 | 0; } var$3 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } var$3 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = var$3.$array.data[0]; $ptr = 3; continue main; case 2: nms_GuiTextField_textboxKeyTyped(var$3, $par1, $par2); if ($rt_suspending()) { break main; } $this.$seed1 = $this.$textboxSeed.$text; if ($par1 != 13) { var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3.$array.data[0].$enabled = $this.$textboxWorldName.$text.$nativeString.length <= 0 ? 0 : 1; var$3 = jl_String_trim($this.$textboxWorldName.$text); var$4 = nms_ChatAllowedCharacters_allowedCharactersArray.data; $par2 = var$4.length; var$5 = 0; c: { d: while (true) { if (var$5 >= $par2) { if (var$3 !== null && var$3.$nativeString.length ? 0 : 1) var$3 = $rt_s(3578); $this.$folderName = nms_GuiCreateWorld_func_73913_a(var$3); return; } var$6 = var$4[var$5]; if (var$6 != 95) { var$7 = $rt_createCharArray(var$3.$nativeString.length); var$8 = var$7.data; var$9 = 0; while (var$9 < var$3.$nativeString.length) { if (var$9 < 0) break c; if (var$9 >= var$3.$nativeString.length) break c; if (var$3.$nativeString.charCodeAt(var$9) == var$6) var$10 = 95; else { if (var$9 < 0) break d; if (var$9 >= var$3.$nativeString.length) break d; var$10 = var$3.$nativeString.charCodeAt(var$9); } var$8[var$9] = var$10; var$9 = var$9 + 1 | 0; } var$3 = new jl_String; var$3.$nativeString = ""; var$3.$nativeString = $rt_fullArrayToString(var$7.data); } var$5 = var$5 + 1 | 0; } var$3 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } var$3 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = var$3.$array.data[0]; $ptr = 3; case 3: nms_GuiCreateWorld_actionPerformed($this, var$3); if ($rt_suspending()) { break main; } var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3.$array.data[0].$enabled = $this.$textboxWorldName.$text.$nativeString.length <= 0 ? 0 : 1; var$3 = jl_String_trim($this.$textboxWorldName.$text); var$4 = nms_ChatAllowedCharacters_allowedCharactersArray.data; $par2 = var$4.length; var$5 = 0; e: { c: while (true) { if (var$5 >= $par2) { if (var$3 !== null && var$3.$nativeString.length ? 0 : 1) var$3 = $rt_s(3578); $this.$folderName = nms_GuiCreateWorld_func_73913_a(var$3); return; } var$6 = var$4[var$5]; if (var$6 != 95) { var$7 = $rt_createCharArray(var$3.$nativeString.length); var$8 = var$7.data; var$9 = 0; while (var$9 < var$3.$nativeString.length) { if (var$9 < 0) break e; if (var$9 >= var$3.$nativeString.length) break e; if (var$3.$nativeString.charCodeAt(var$9) == var$6) var$10 = 95; else { if (var$9 < 0) break c; if (var$9 >= var$3.$nativeString.length) break c; var$10 = var$3.$nativeString.charCodeAt(var$9); } var$8[var$9] = var$10; var$9 = var$9 + 1 | 0; } var$3 = new jl_String; var$3.$nativeString = ""; var$3.$nativeString = $rt_fullArrayToString(var$7.data); } var$5 = var$5 + 1 | 0; } var$3 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } var$3 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_GuiCreateWorld_mouseClicked = ($this, $par1, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } if (!$this.$moreOptions) nms_GuiTextField_mouseClicked($this.$textboxWorldName, $par1, $par2, $par3); else nms_GuiTextField_mouseClicked($this.$textboxSeed, $par1, $par2, $par3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $ptr); }, nms_GuiCreateWorld_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; var$5 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3574)); var$8 = $this.$width / 2 | 0; var$9 = 20; var$5 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = 21; var$12 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$5); if ($rt_suspending()) { break main; } var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3574)); var$8 = $this.$width / 2 | 0; var$9 = 20; var$5 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = 21; var$12 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$10, var$11, var$5, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$8, var$9, var$5, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; if (!$this.$moreOptions) { var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3633)); var$5 = ($this.$width / 2 | 0) - 100 | 0; var$8 = 47; var$9 = 10526880; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = 48; var$12 = 1; $ptr = 4; continue main; } var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3734)); var$5 = ($this.$width / 2 | 0) - 100 | 0; var$8 = 47; var$9 = 10526880; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = 48; var$12 = 1; $ptr = 6; continue main; case 4: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3735)); $var4 = $this.$folderName; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$5 = var$13.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$13, var$5, var$6); var$8 = var$13.$length0; jl_AbstractStringBuilder_insertSpace(var$13, var$8, var$8 + 1 | 0); var$13.$buffer.data[var$8] = 32; var$5 = var$13.$length0; if ($var4 === null) $var4 = $rt_s(1); jl_AbstractStringBuilder_insert(var$13, var$5, $var4); var$6 = new jl_String; var$14 = var$13.$buffer; var$15 = var$14.data; var$8 = var$13.$length0; var$9 = var$15.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$14.data, 0, var$8); var$5 = ($this.$width / 2 | 0) - 100 | 0; var$8 = 85; var$9 = 10526880; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = 86; var$12 = 1; $ptr = 14; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$7); $rt_throw(var$7); case 6: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3736)); var$5 = ($this.$width / 2 | 0) - 100 | 0; var$8 = 85; var$9 = 10526880; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = 86; var$12 = 1; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 9; case 9: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3737)); var$5 = ($this.$width / 2 | 0) - 150 | 0; var$8 = 122; var$9 = 10526880; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = 123; var$12 = 1; $ptr = 10; case 10: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 11; case 11: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3738)); var$5 = ($this.$width / 2 | 0) - 150 | 0; var$8 = 172; var$9 = 10526880; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = 173; var$12 = 1; $ptr = 12; case 12: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 13; case 13: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$textboxSeed; $ptr = 16; continue main; case 14: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 15; case 15: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$textboxWorldName; $ptr = 17; continue main; case 16: nms_GuiTextField_drawTextBox(var$7); if ($rt_suspending()) { break main; } var$5 = 0; var$7 = $this.$buttonList; var$8 = $rt_compare(var$5, var$7.$size0); if (var$8 >= 0) return; if (var$5 >= 0 && var$8 < 0) { var$7 = var$7.$array.data[var$5]; var$6 = $this.$mc; $ptr = 22; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 17: nms_GuiTextField_drawTextBox(var$7); if ($rt_suspending()) { break main; } var$7 = $this.$fontRenderer; var$6 = $this.$gameModeDescriptionLine1; var$5 = ($this.$width / 2 | 0) - 100 | 0; var$8 = 137; var$9 = 10526880; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = 138; var$12 = 1; $ptr = 18; case 18: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 19; case 19: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$fontRenderer; var$6 = $this.$gameModeDescriptionLine2; var$5 = ($this.$width / 2 | 0) - 100 | 0; var$8 = 149; var$9 = 10526880; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = 150; var$12 = 1; $ptr = 20; case 20: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 21; case 21: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$5 = 0; var$7 = $this.$buttonList; var$8 = $rt_compare(var$5, var$7.$size0); if (var$8 >= 0) return; if (var$5 >= 0 && var$8 < 0) { var$7 = var$7.$array.data[var$5]; var$6 = $this.$mc; $ptr = 22; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 22: var$7.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$5 = var$5 + 1 | 0; var$7 = $this.$buttonList; var$8 = $rt_compare(var$5, var$7.$size0); if (var$8 >= 0) return; if (var$5 >= 0 && var$8 < 0) { var$7 = var$7.$array.data[var$5]; var$6 = $this.$mc; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_GuiCreateWorld_func_82286_a = ($this, $par1WorldInfo) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $rt_createArray(jl_Object, 1); var$2.data[0] = $par1WorldInfo.$levelName; nms_StatCollector_$callClinit(); $this.$localizedNewWorldText = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3739), var$2); var$3 = $par1WorldInfo.$randomSeed; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert2(var$4, var$4.$length0, var$3, 10); var$5 = new jl_String; var$2 = var$4.$buffer; var$6 = var$2.data; var$7 = var$4.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$2.data, 0, var$7); $this.$seed1 = var$5; $this.$worldTypeId = $par1WorldInfo.$terrainType.$worldTypeId0; $this.$generatorOptionsToUse = $par1WorldInfo.$generatorOptions; $this.$generateStructures = $par1WorldInfo.$mapFeaturesEnabled0; $this.$commandsAllowed = $par1WorldInfo.$allowCommands; if ($par1WorldInfo.$hardcore) $this.$gameMode = $rt_s(3413); else { var$4 = $par1WorldInfo.$theGameType; if (var$4 !== nms_EnumGameType_SURVIVAL && var$4 !== nms_EnumGameType_ADVENTURE ? 0 : 1) $this.$gameMode = $rt_s(3231); else if (var$4 !== nms_EnumGameType_CREATIVE ? 0 : 1) $this.$gameMode = $rt_s(3589); } return; } $par1WorldInfo = new jl_IndexOutOfBoundsException; $par1WorldInfo.$suppressionEnabled = 1; $par1WorldInfo.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1WorldInfo); $rt_throw($par1WorldInfo); }, nms_GuiCreateWorld__clinit_ = () => { nms_GuiCreateWorld_ILLEGAL_WORLD_NAMES = $rt_wrapArray(jl_String, [$rt_s(3740), $rt_s(3741), $rt_s(3742), $rt_s(3743), $rt_s(3744), $rt_s(3745), $rt_s(3746), $rt_s(3747), $rt_s(3748), $rt_s(3749), $rt_s(3750), $rt_s(3751), $rt_s(3752), $rt_s(3753), $rt_s(3754), $rt_s(3755), $rt_s(3756), $rt_s(3757), $rt_s(3758), $rt_s(3759), $rt_s(3760), $rt_s(3761), $rt_s(3762), $rt_s(3763)]); }; function nle_GuiScreenNameWorldImport() { let a = this; nms_GuiScreen.call(a); a.$parentGuiScreen = null; a.$theGuiTextField = null; a.$importFormat = 0; a.$name24 = null; a.$oldName = null; a.$timeToImport = 0; a.$definetlyTimeToImport = 0; a.$isImporting = 0; } let nle_GuiScreenNameWorldImport__init_ = ($this, $menu, $name, $format) => { let var$4; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$buttonList = var$4; $this.$allowUserInput = 0; $this.$selectedButton = null; $this.$eventButton = 0; $this.$field_85043_c = Long_ZERO; $this.$field_92018_d = 0; $this.$timeToImport = 0; $this.$definetlyTimeToImport = 0; $this.$isImporting = 0; $this.$parentGuiScreen = $menu; $this.$importFormat = $format; $this.$oldName = $name; if ($name.$nativeString.length > 4 && !(!jl_String_endsWith($name, $rt_s(3764)) && !jl_String_endsWith($name, $rt_s(3288)))) $name = jl_String_substring($name, 0, $name.$nativeString.length - 4 | 0); $this.$name24 = $name; }, nle_GuiScreenNameWorldImport__init_0 = (var_0, var_1, var_2) => { let var_3 = new nle_GuiScreenNameWorldImport(); nle_GuiScreenNameWorldImport__init_(var_3, var_0, var_1, var_2); return var_3; }, nle_GuiScreenNameWorldImport_updateScreen = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$timeToImport) { var$1 = $this.$theGuiTextField; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; } if ($this.$definetlyTimeToImport && !$this.$isImporting) { $this.$isImporting = 1; var$1 = jl_String_trim($this.$theGuiTextField.$text); var$2 = nms_ChatAllowedCharacters_allowedCharactersArray.data; var$3 = var$2.length; var$4 = 0; a: { b: while (true) { if (var$4 >= var$3) { if (var$1 !== null && var$1.$nativeString.length ? 0 : 1) var$1 = $rt_s(3578); var$5 = nms_GuiCreateWorld_func_73913_a(var$1); nlea_EaglerAdapterImpl2_$callClinit(); var$6 = nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult = null; var$2 = var$6 !== null ? nleat_TeaVMUtils_wrapByteArrayBuffer(var$6) : null; var$7 = $this.$importFormat; var$3 = nle_IntegratedServer_statusState; if (!(var$3 ? 0 : 1)) { var$1 = nle_IntegratedState_getStateName(var$3); var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_StringBuilder_insert(var$8, var$8.$length0, $rt_s(1017)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, var$3, 10); jl_StringBuilder_insert(var$8, var$8.$length0, $rt_s(1018)); var$7 = var$8.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_StringBuilder_insert(var$8, var$7, var$1); jl_StringBuilder_insert(var$8, var$8.$length0, $rt_s(1019)); var$1 = new jl_String; var$2 = var$8.$buffer; var$9 = var$2.data; var$3 = var$8.$length0; var$10 = var$9.length; if (var$3 >= 0 && var$3 <= (var$10 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$2.data, 0, var$3); var$8 = new jl_IllegalStateException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; var$8.$message = var$1; $rt_throw(var$8); } var$1 = new jl_IndexOutOfBoundsException; jl_Exception__init_(var$1); $rt_throw(var$1); } nle_IntegratedServer_statusState = 12; var$1 = new nlesi_IPCPacket07ImportWorld; var$7 = var$7 << 24 >> 24; var$1.$worldName5 = var$5; var$1.$worldData = var$2; var$1.$worldFormat = var$7; nle_IntegratedServer_sendIPCPacket(var$1); var$1 = $this.$mc; var$8 = new nle_GuiScreenSingleplayerLoading; var$6 = $this.$parentGuiScreen; var$7 = $this.$importFormat; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(3765)); jl_AbstractStringBuilder_insert0(var$11, var$11.$length0, var$7, 10); var$5 = new jl_String; var$2 = var$11.$buffer; var$9 = var$2.data; var$3 = var$11.$length0; var$10 = var$9.length; if (var$3 >= 0 && var$3 <= (var$10 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$2.data, 0, var$3); var$11 = new nle_GuiScreenNameWorldImport$updateScreen$lambda$_1_0; var$12 = nle_GuiScreenSingleplayerLoading_defaultExceptionAction; var$13 = nle_GuiScreenSingleplayerLoading_defaultTerminateAction; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$14 = new ju_ArrayList; var$14.$array = $rt_createArray(jl_Object, 10); var$8.$buttonList = var$14; var$8.$allowUserInput = 0; var$8.$selectedButton = null; var$8.$eventButton = 0; var$8.$field_85043_c = Long_ZERO; var$8.$field_92018_d = 0; var$8.$menu = var$6; var$8.$message0 = var$5; var$8.$checkTaskComplete = var$11; var$8.$onException = var$12; var$8.$taskKill = var$13; var$8.$lastStatus = nle_IntegratedServer_worldStatusString; var$8.$currentStatus = var$5; $ptr = 1; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$15 = var$2[var$4]; if (var$15 != 95) { var$16 = $rt_createCharArray(var$1.$nativeString.length); var$9 = var$16.data; var$17 = 0; while (var$17 < var$1.$nativeString.length) { if (var$17 < 0) break a; if (var$17 >= var$1.$nativeString.length) break a; if (var$1.$nativeString.charCodeAt(var$17) == var$15) var$10 = 95; else { if (var$17 < 0) break b; if (var$17 >= var$1.$nativeString.length) break b; var$10 = var$1.$nativeString.charCodeAt(var$17); } var$9[var$17] = var$10; var$17 = var$17 + 1 | 0; } var$1 = new jl_String; var$1.$nativeString = ""; var$1.$nativeString = $rt_fullArrayToString(var$16.data); } var$4 = var$4 + 1 | 0; } var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } return; case 1: nms_Minecraft_displayGuiScreen(var$1, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nle_GuiScreenNameWorldImport_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; if (!$this.$timeToImport) { nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; var$2 = $this.$buttonList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 100 | 0; var$5 = (($this.$height / 4 | 0) + 96 | 0) + 12 | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(3517)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 0; var$6.$xPosition = var$8; var$6.$yPosition = var$5; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = var$9; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = $this.$buttonList; var$2 = new nms_GuiButton; var$10 = ($this.$width / 2 | 0) - 100 | 0; var$4 = (($this.$height / 4 | 0) + 120 | 0) + 12 | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(1626)); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 1; var$2.$xPosition = var$10; var$2.$yPosition = var$4; var$2.$width0 = 200; var$2.$height0 = 20; var$2.$displayString = var$9; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$2; var$6.$modCount = var$6.$modCount + 1 | 0; var$6 = nms_GuiTextField__init_($this.$fontRenderer, ($this.$width / 2 | 0) - 100 | 0, ($this.$height / 4 | 0) + 3 | 0, 200, 20); $this.$theGuiTextField = var$6; if (!var$6.$isFocused0) var$6.$cursorCounter = 0; var$6.$isFocused0 = 1; var$9 = $this.$name24; var$4 = var$9.$nativeString.length; var$5 = var$6.$maxStringLength; if (var$4 <= var$5) var$6.$text = var$9; else var$6.$text = jl_String_substring(var$9, 0, var$5); var$6.$cursorPosition = var$6.$text.$nativeString.length; var$5 = var$6.$text.$nativeString.length; if (var$6.$cursorPosition < 0) var$6.$cursorPosition = 0; if (var$6.$cursorPosition > var$5) var$6.$cursorPosition = var$5; nms_GuiTextField_setSelectionPos(var$6, var$6.$cursorPosition); } }, nle_GuiScreenNameWorldImport_onGuiClosed = $this => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; }, nle_GuiScreenNameWorldImport_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled) { var$2 = $par1GuiButton.$id0; if (var$2 == 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult = null; $par1GuiButton = $this.$mc; var$3 = $this.$parentGuiScreen; $ptr = 1; continue main; } if (!var$2) { $par1GuiButton = $this.$buttonList; var$4 = $par1GuiButton.$array; var$5 = 0; var$2 = $par1GuiButton.$size0; var$3 = null; if (var$5 > var$2) { $par1GuiButton = new jl_IllegalArgumentException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } while (var$5 < var$2) { var$6 = var$4.data; var$7 = var$5 + 1 | 0; var$6[var$5] = var$3; var$5 = var$7; } $par1GuiButton.$size0 = 0; $par1GuiButton.$modCount = $par1GuiButton.$modCount + 1 | 0; $this.$timeToImport = 1; } } return; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nle_GuiScreenNameWorldImport_keyTyped = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$theGuiTextField; $ptr = 1; case 1: nms_GuiTextField_textboxKeyTyped(var$3, $par1, $par2); if ($rt_suspending()) { break main; } var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3.$array.data[0].$enabled = (jl_String_trim($this.$theGuiTextField.$text)).$nativeString.length <= 0 ? 0 : 1; if ($par1 == 13) { var$3 = $this.$buttonList; var$4 = var$3.$size0; var$5 = $rt_compare(0, var$4); if (var$5 >= 0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$6 = var$3.$array.data; var$7 = var$6[0]; if (var$7.$enabled) { $par2 = var$7.$id0; if ($par2 == 1) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult; nlea_EaglerAdapterImpl2_fileChooser.fileChooserResult = null; var$3 = $this.$mc; var$7 = $this.$parentGuiScreen; $ptr = 2; continue main; } if (!$par2) { $par1 = 0; var$7 = null; if (var$5 > 0) { var$3 = new jl_IllegalArgumentException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } while ($par1 < var$4) { $par2 = $par1 + 1 | 0; var$6[$par1] = var$7; $par1 = $par2; } var$3.$size0 = 0; var$3.$modCount = var$3.$modCount + 1 | 0; $this.$timeToImport = 1; } } } return; case 2: nms_Minecraft_displayGuiScreen(var$3, var$7); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nle_GuiScreenNameWorldImport_mouseClicked = ($this, $par1, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } if (!$this.$timeToImport) nms_GuiTextField_mouseClicked($this.$theGuiTextField, $par1, $par2, $par3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $ptr); }, nle_GuiScreenNameWorldImport_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, $var4, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $dots, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$dots = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); if (!$this.$timeToImport) { nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3766)); var$4 = $this.$width / 2 | 0; var$8 = (($this.$height / 4 | 0) - 60 | 0) + 20 | 0; var$9 = 16777215; var$4 = var$4 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$11 = var$8 + 1 | 0; var$12 = 1; $ptr = 2; continue main; } $this.$definetlyTimeToImport = 1; nlea_EaglerAdapterImpl2_$callClinit(); $dots = Long_rem(Long_div(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(500)), Long_fromInt(4)); var$6 = $this.$oldName; $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var4, $var4.$length0, $rt_s(3767)); var$4 = $var4.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert($var4, var$4, var$6); var$8 = $var4.$length0; jl_AbstractStringBuilder_insertSpace($var4, var$8, var$8 + 1 | 0); var$14 = $var4.$buffer; var$15 = var$14.data; var$15[var$8] = 39; var$7 = new jl_String; var$8 = $var4.$length0; var$9 = var$15.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$14.data, 0, var$8); var$6 = $this.$fontRenderer; $var4 = Long_le($dots, Long_ZERO) ? $rt_s(18) : $rt_s(129); var$16 = Long_le($dots, Long_fromInt(1)) ? $rt_s(18) : $rt_s(129); var$17 = Long_le($dots, Long_fromInt(2)) ? $rt_s(18) : $rt_s(129); var$18 = new jl_StringBuilder; var$18.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$18, var$18.$length0, var$7); jl_AbstractStringBuilder_insert(var$18, var$18.$length0, $var4); jl_AbstractStringBuilder_insert(var$18, var$18.$length0, var$16); jl_AbstractStringBuilder_insert(var$18, var$18.$length0, var$17); var$16 = new jl_String; var$14 = var$18.$buffer; var$15 = var$14.data; var$8 = var$18.$length0; var$9 = var$15.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$16.$nativeString = $rt_charArrayToString(var$14.data, 0, var$8); var$4 = ($this.$width - nms_FontRenderer_getStringWidth($this.$fontRenderer, var$7) | 0) / 2 | 0; var$8 = ($this.$height / 3 | 0) + 10 | 0; var$9 = 16777215; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$11 = var$8 + 1 | 0; var$12 = 1; $ptr = 8; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); $rt_throw(var$6); } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); $rt_throw(var$6); case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } if (!$this.$timeToImport) { nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3766)); var$4 = $this.$width / 2 | 0; var$8 = (($this.$height / 4 | 0) - 60 | 0) + 20 | 0; var$9 = 16777215; var$4 = var$4 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$11 = var$8 + 1 | 0; var$12 = 1; $ptr = 2; continue main; } $this.$definetlyTimeToImport = 1; nlea_EaglerAdapterImpl2_$callClinit(); $dots = Long_rem(Long_div(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(500)), Long_fromInt(4)); var$6 = $this.$oldName; $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var4, $var4.$length0, $rt_s(3767)); var$4 = $var4.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert($var4, var$4, var$6); var$8 = $var4.$length0; jl_AbstractStringBuilder_insertSpace($var4, var$8, var$8 + 1 | 0); var$14 = $var4.$buffer; var$15 = var$14.data; var$15[var$8] = 39; var$7 = new jl_String; var$8 = $var4.$length0; var$9 = var$15.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$14.data, 0, var$8); var$6 = $this.$fontRenderer; $var4 = Long_le($dots, Long_ZERO) ? $rt_s(18) : $rt_s(129); var$16 = Long_le($dots, Long_fromInt(1)) ? $rt_s(18) : $rt_s(129); var$17 = Long_le($dots, Long_fromInt(2)) ? $rt_s(18) : $rt_s(129); var$18 = new jl_StringBuilder; var$18.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$18, var$18.$length0, var$7); jl_AbstractStringBuilder_insert(var$18, var$18.$length0, $var4); jl_AbstractStringBuilder_insert(var$18, var$18.$length0, var$16); jl_AbstractStringBuilder_insert(var$18, var$18.$length0, var$17); var$16 = new jl_String; var$14 = var$18.$buffer; var$15 = var$14.data; var$8 = var$18.$length0; var$9 = var$15.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$16.$nativeString = $rt_charArrayToString(var$14.data, 0, var$8); var$4 = ($this.$width - nms_FontRenderer_getStringWidth($this.$fontRenderer, var$7) | 0) / 2 | 0; var$8 = ($this.$height / 3 | 0) + 10 | 0; var$9 = 16777215; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$11 = var$8 + 1 | 0; var$12 = 1; $ptr = 8; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); $rt_throw(var$6); } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); $rt_throw(var$6); case 2: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$4, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3633)); var$4 = ($this.$width / 2 | 0) - 100 | 0; var$12 = (($this.$height / 4 | 0) - 60 | 0) + 50 | 0; var$8 = 10526880; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$9 = var$4 + 1 | 0; var$10 = var$12 + 1 | 0; var$11 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$9, var$10, var$8, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$4, var$12, var$8, var$9); if ($rt_suspending()) { break main; } var$4 = $tmp; var$6 = $this.$theGuiTextField; $ptr = 6; case 6: nms_GuiTextField_drawTextBox(var$6); if ($rt_suspending()) { break main; } var$4 = 0; var$6 = $this.$buttonList; var$8 = $rt_compare(var$4, var$6.$size0); if (var$8 >= 0) return; if (var$4 >= 0 && var$8 < 0) { var$6 = var$6.$array.data[var$4]; var$7 = $this.$mc; $ptr = 7; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); case 7: var$6.$drawButton(var$7, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$6 = $this.$buttonList; var$8 = $rt_compare(var$4, var$6.$size0); if (var$8 >= 0) return; if (var$4 >= 0 && var$8 < 0) { var$6 = var$6.$array.data[var$4]; var$7 = $this.$mc; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); case 8: $tmp = nms_FontRenderer_renderString(var$6, var$16, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 9; case 9: $tmp = nms_FontRenderer_renderString(var$6, var$16, var$4, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$6 = $this.$buttonList; var$8 = $rt_compare(var$4, var$6.$size0); if (var$8 >= 0) return; if (var$4 >= 0 && var$8 < 0) { var$6 = var$6.$array.data[var$4]; var$7 = $this.$mc; $ptr = 7; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $dots, var$14, var$15, var$16, var$17, var$18, $ptr); }, ju_SequencedSet = $rt_classWithoutFields(0); function ju_LinkedHashMapKeySet() { let a = this; ju_AbstractSet.call(a); a.$base1 = null; a.$reversed0 = 0; } let ju_LinkedHashMapKeySet_iterator = $this => { let var$1, var$2, var$3; var$1 = new ju_LinkedHashMapIterator$KeyIterator; var$2 = $this.$base1; var$3 = $this.$reversed0; var$1.$base = var$2; var$1.$reversed = var$3; var$1.$expectedModCount0 = var$2.$modCount0; var$1.$futureEntry = !var$3 ? var$2.$head : var$2.$tail; return var$1; }; function ju_LinkedHashMapValues() { let a = this; ju_AbstractCollection.call(a); a.$base0 = null; a.$reversed1 = 0; } let ju_LinkedHashMapValues_size = $this => { return $this.$base0.$elementCount; }, ju_LinkedHashMapValues_iterator = $this => { let var$1, var$2, var$3; var$1 = new ju_LinkedHashMapIterator$ValueIterator; var$2 = $this.$base0; var$3 = $this.$reversed1; var$1.$base = var$2; var$1.$reversed = var$3; var$1.$expectedModCount0 = var$2.$modCount0; var$1.$futureEntry = !var$3 ? var$2.$head : var$2.$tail; return var$1; }; function nle_GuiScreenRelay() { let a = this; nms_GuiScreen.call(a); a.$screen1 = null; a.$slots0 = null; a.$hasPinged = 0; a.$addingNew = 0; a.$deleting = 0; a.$selected = 0; a.$deleteRelay = null; a.$setPrimary = null; a.$tooltipString = null; a.$lastRefresh = Long_ZERO; a.$mx = 0; a.$my = 0; a.$addNewName = null; a.$addNewAddr = null; a.$addNewPrimary = 0; } let nle_GuiScreenRelay_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $this.$selected = (-1); nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; var$2 = $this.$buttonList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$9 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) + 54 | 0; var$10 = $this.$height - 28 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(646)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 0; var$9.$xPosition = var$8; var$9.$yPosition = var$10; var$9.$width0 = 100; var$9.$height0 = 20; var$9.$displayString = var$6; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = $this.$buttonList; var$2 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 154 | 0; var$8 = $this.$height - 52 | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(3768)); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 1; var$2.$xPosition = var$5; var$2.$yPosition = var$8; var$2.$width0 = 100; var$2.$height0 = 20; var$2.$displayString = var$9; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$2; var$6.$modCount = var$6.$modCount + 1 | 0; var$2 = $this.$buttonList; var$9 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 50 | 0; var$10 = $this.$height - 52 | 0; var$6 = nms_StringTranslate_translateKey($var1, $rt_s(3769)); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 2; var$9.$xPosition = var$8; var$9.$yPosition = var$10; var$9.$width0 = 100; var$9.$height0 = 20; var$9.$displayString = var$6; $this.$deleteRelay = var$9; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = $this.$buttonList; var$2 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) + 54 | 0; var$8 = $this.$height - 52 | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(3770)); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 3; var$2.$xPosition = var$5; var$2.$yPosition = var$8; var$2.$width0 = 100; var$2.$height0 = 20; var$2.$displayString = var$9; $this.$setPrimary = var$2; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$2; var$6.$modCount = var$6.$modCount + 1 | 0; var$6 = $this.$buttonList; var$2 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 50 | 0; var$8 = $this.$height - 28 | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(3771)); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 4; var$2.$xPosition = var$5; var$2.$yPosition = var$8; var$2.$width0 = 100; var$2.$height0 = 20; var$2.$displayString = var$9; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$2; var$6.$modCount = var$6.$modCount + 1 | 0; var$6 = $this.$buttonList; var$2 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 154 | 0; var$8 = $this.$height - 28 | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(3772)); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 5; var$2.$xPosition = var$5; var$2.$yPosition = var$8; var$2.$width0 = 100; var$2.$height0 = 20; var$2.$displayString = var$9; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$2; var$6.$modCount = var$6.$modCount + 1 | 0; var$6 = $this.$buttonList; var$2 = new nms_GuiButton; var$5 = $this.$width - 100 | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(3773)); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 6; var$2.$xPosition = var$5; var$2.$yPosition = 0; var$2.$width0 = 100; var$2.$height0 = 20; var$2.$displayString = var$9; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$2; var$6.$modCount = var$6.$modCount + 1 | 0; if ($this.$selected >= 0) { $this.$deleteRelay.$enabled = 1; $this.$setPrimary.$enabled = 1; } else { $this.$deleteRelay.$enabled = 0; $this.$setPrimary.$enabled = 0; } a: { var$6 = new nle_GuiSlotRelay; nle_GuiSlotRelay_$callClinit(); var$2 = $this.$mc; var$8 = $this.$width; var$10 = $this.$height; nms_GuiSlot__init_(var$6, var$2, var$8, var$10, 32, var$10 - 64 | 0, 26); var$6.$screen = $this; var$2 = nle_IntegratedServer_relayManager; var$6.$relayManager = var$2; $this.$slots0 = var$6; if (!$this.$hasPinged) { $this.$hasPinged = 1; nlea_EaglerAdapterImpl2_$callClinit(); var$2.$lastPingThrough = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4 = 0; var$8 = var$2.$relays.$size0; while (var$4 < var$8) { var$6 = var$2.$relays; if (var$4 < 0) break a; if (var$4 >= var$6.$size0) break a; var$6 = var$6.$array.data[var$4]; nle_RelayServer_close(var$6); var$6.$query = nlea_EaglerAdapterImpl2_openRelayQuery(var$6.$address); var$6.$queriedVersion = (-1); var$6.$queriedComment = null; var$6.$queriedVendor = null; var$6.$queriedCompatible = nle_RelayQuery$VersionMismatch_UNKNOWN; var$6.$ping = Long_fromInt(-1); var$4 = var$4 + 1 | 0; } } return; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); }, nle_GuiScreenRelay_actionPerformed = ($this, $btn) => { let var$2, var$3, var$4, var$5, $millis, var$7, var$8, var$9, $var1, $srv, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$srv = $thread.pop();$var1 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$millis = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$btn = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $btn.$id0; if (!var$2) { nle_RelayManager_save(nle_IntegratedServer_relayManager); $btn = $this.$mc; var$3 = $this.$screen1; $ptr = 1; continue main; } if (var$2 == 1) { $this.$addingNew = 1; $btn = $this.$mc; var$3 = new nle_GuiScreenAddRelay; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); var$3.$buttonList = var$4; var$3.$allowUserInput = 0; var$3.$selectedButton = null; var$3.$eventButton = 0; var$3.$field_85043_c = Long_ZERO; var$3.$field_92018_d = 0; var$3.$parentGui0 = $this; $ptr = 2; continue main; } a: { if (var$2 != 2) { if (var$2 == 3) { var$5 = $this.$selected; if (var$5 >= 0) { $btn = $this.$slots0.$relayManager; nle_RelayManager_setPrimary0($btn, var$5); nle_RelayManager_save($btn); $this.$selected = 0; } } else { if (var$2 == 4) { b: { nlea_EaglerAdapterImpl2_$callClinit(); $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (Long_gt(Long_sub($millis, $this.$lastRefresh), Long_fromInt(700))) { $this.$lastRefresh = $millis; $btn = $this.$slots0.$relayManager; $btn.$lastPingThrough = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$5 = 0; var$7 = $btn.$relays.$size0; while (var$5 < var$7) { var$3 = $btn.$relays; if (var$5 < 0) break b; if (var$5 >= var$3.$size0) break b; var$3 = var$3.$array.data[var$5]; nle_RelayServer_close(var$3); var$3.$query = nlea_EaglerAdapterImpl2_openRelayQuery(var$3.$address); var$3.$queriedVersion = (-1); var$3.$queriedComment = null; var$3.$queriedVendor = null; var$3.$queriedCompatible = nle_RelayQuery$VersionMismatch_UNKNOWN; var$3.$ping = Long_fromInt(-1); var$5 = var$5 + 1 | 0; } } $this.$lastRefresh = Long_add($this.$lastRefresh, Long_fromInt(60)); break a; } $btn = new jl_IndexOutOfBoundsException; $btn.$suppressionEnabled = 1; $btn.$writableStackTrace = 1; $rt_throw($btn); } if (var$2 == 5) { c: { nle_RelayManager_loadDefaults($this.$slots0.$relayManager); nlea_EaglerAdapterImpl2_$callClinit(); $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (Long_gt(Long_sub($millis, $this.$lastRefresh), Long_fromInt(700))) { $this.$lastRefresh = $millis; $btn = $this.$slots0.$relayManager; $btn.$lastPingThrough = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$5 = 0; var$7 = $btn.$relays.$size0; while (var$5 < var$7) { var$3 = $btn.$relays; if (var$5 < 0) break c; if (var$5 >= var$3.$size0) break c; var$3 = var$3.$array.data[var$5]; nle_RelayServer_close(var$3); var$3.$query = nlea_EaglerAdapterImpl2_openRelayQuery(var$3.$address); var$3.$queriedVersion = (-1); var$3.$queriedComment = null; var$3.$queriedVendor = null; var$3.$queriedCompatible = nle_RelayQuery$VersionMismatch_UNKNOWN; var$3.$ping = Long_fromInt(-1); var$5 = var$5 + 1 | 0; } } $this.$lastRefresh = Long_add($this.$lastRefresh, Long_fromInt(60)); break a; } $btn = new jl_IndexOutOfBoundsException; $btn.$suppressionEnabled = 1; $btn.$writableStackTrace = 1; $rt_throw($btn); } if (var$2 == 6) { var$3 = $rt_s(3774); nlea_EaglerAdapterImpl2_$callClinit(); if (var$3 === $rt_s(192) ? 1 : jl_String_startsWith(var$3, $rt_s(192), 0)) var$3 = jl_String_substring(var$3, 1, var$3.$nativeString.length); var$4 = nle_AssetRepository_filePool; if (var$3 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { d: { if (!var$3.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$3.$nativeString.length) break d; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$7 = var$3.$hashCode1; var$8 = var$4.$elementData.data; var$4 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$7) { e: { var$9 = var$4.$key; if (var$3 !== var$9) { if (var$3 === var$9) var$5 = 1; else if (!(var$9 instanceof jl_String)) var$5 = 0; else { var$9 = var$9; var$5 = var$3.$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break e; } } var$5 = 1; } if (var$5) break; } var$4 = var$4.$next3; } } nlea_EaglerAdapterImpl2_downloadBytesImpl$js_body$_310("EaglerSPRelay.zip", (var$4 === null ? null : var$4.$value1).data.buffer); } } } else { nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; var$5 = $this.$selected; if (var$5 >= 0) { $btn = nle_IntegratedServer_relayManager.$relays; if (var$5 >= 0 && var$5 < $btn.$size0) { $srv = $btn.$array.data[var$5]; var$3 = $this.$mc; var$4 = new nms_GuiScreenConfirmation; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(3769)); $btn = nms_StringTranslate_translateKey($var1, $rt_s(3775)); nms_EnumChatFormatting_$callClinit(); $var1 = nms_EnumChatFormatting_GRAY; var$12 = $var1 === null ? $rt_s(1) : $var1.$field_96304_B; $var1 = $srv.$comment; $srv = $srv.$address; var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$5 = var$13.$length0; if (var$12 === null) var$12 = $rt_s(1); jl_AbstractStringBuilder_insert(var$13, var$5, var$12); var$7 = var$13.$length0; jl_AbstractStringBuilder_insertSpace(var$13, var$7, var$7 + 1 | 0); var$13.$buffer.data[var$7] = 39; var$5 = var$13.$length0; if ($var1 === null) $var1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$13, var$5, $var1); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, $rt_s(3776)); var$5 = var$13.$length0; if ($srv === null) $srv = $rt_s(1); jl_AbstractStringBuilder_insert(var$13, var$5, $srv); var$7 = var$13.$length0; jl_AbstractStringBuilder_insertSpace(var$13, var$7, var$7 + 1 | 0); var$8 = var$13.$buffer; var$14 = var$8.data; var$14[var$7] = 41; $var1 = new jl_String; var$2 = var$13.$length0; var$7 = var$14.length; if (var$2 >= 0 && var$2 <= (var$7 - 0 | 0)) { $var1.$nativeString = $rt_charArrayToString(var$8.data, 0, var$2); var$5 = $this.$selected; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); $srv = new ju_ArrayList; $srv.$array = $rt_createArray(jl_Object, 10); var$4.$buttonList = $srv; var$4.$allowUserInput = 0; var$4.$selectedButton = null; var$4.$eventButton = 0; var$4.$field_85043_c = Long_ZERO; var$4.$field_92018_d = 0; var$4.$parentScreen = $this; var$4.$message10 = var$9; var$4.$message2 = $btn; var$4.$worldNumber = var$5; nms_StatCollector_$callClinit(); var$4.$buttonText1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3512)); var$4.$buttonText2 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3513)); var$4.$field_96288_n = $var1; $ptr = 3; continue main; } $btn = new jl_IndexOutOfBoundsException; $btn.$suppressionEnabled = 1; $btn.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($btn); $rt_throw($btn); } $btn = new jl_IndexOutOfBoundsException; $btn.$suppressionEnabled = 1; $btn.$writableStackTrace = 1; $rt_throw($btn); } } } return; case 1: nms_Minecraft_displayGuiScreen($btn, var$3); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($btn, var$3); if ($rt_suspending()) { break main; } return; case 3: nms_Minecraft_displayGuiScreen(var$3, var$4); if ($rt_suspending()) { break main; } $this.$deleting = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $btn, var$2, var$3, var$4, var$5, $millis, var$7, var$8, var$9, $var1, $srv, var$12, var$13, var$14, $ptr); }, nle_GuiScreenRelay_updateScreen = $this => { let var$1, var$2, var$3, var$4; var$1 = $this.$slots0.$relayManager; var$2 = 0; var$3 = var$1.$relays.$size0; a: { while (var$2 < var$3) { var$4 = var$1.$relays; if (var$2 < 0) break a; if (var$2 >= var$4.$size0) break a; nle_RelayServer_update(var$4.$array.data[var$2]); var$2 = var$2 + 1 | 0; } return; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nle_GuiScreenRelay_drawScreen = ($this, $par1, $par2, $par3) => { let $w2, $var4, var$6, var$7, $b, $ww, $w, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$w = $thread.pop();$ww = $thread.pop();$b = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();$w2 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $w2 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; $this.$mx = $par1; $this.$my = $par2; var$6 = $this.$slots0; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, $w2); if ($rt_suspending()) { break main; } nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; $this.$mx = $par1; $this.$my = $par2; var$6 = $this.$slots0; $ptr = 2; case 2: nms_GuiSlot_drawScreen(var$6, $par1, $par2, $par3); if ($rt_suspending()) { break main; } var$7 = $this.$tooltipString; if (var$7 === null) { var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3777)); $b = $this.$width / 2 | 0; $ww = 16; $w2 = 16777215; $b = $b - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; $w = $b + 1 | 0; var$11 = 17; var$12 = 1; $ptr = 3; continue main; } $ww = nms_FontRenderer_getStringWidth($this.$mc.$fontRenderer0, var$7); nms_Gui_drawRect($par1 + 1 | 0, $par2 - 14 | 0, ($par1 + $ww | 0) + 7 | 0, $par2 - 2 | 0, (-1073741824)); var$6 = $this.$mc.$fontRenderer0; var$7 = $this.$tooltipString; $w2 = $par1 + 4 | 0; $b = $par2 - 12 | 0; $ww = (-6710887); var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; $w = $w2 + 1 | 0; var$11 = $b + 1 | 0; var$12 = 1; $ptr = 5; continue main; case 3: $tmp = nms_FontRenderer_renderString(var$6, var$7, $w, var$11, $w2, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; $w = 0; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$6, var$7, $b, $ww, $w2, $w); if ($rt_suspending()) { break main; } $w2 = $tmp; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3778)); $b = $this.$mc.$gameSettings.$relayTimeout; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); $w2 = var$6.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, $w2, var$7); $ww = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, $ww, $ww + 1 | 0); var$6.$buffer.data[$ww] = 32; jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, $b, 10); var$7 = new jl_String; var$13 = var$6.$buffer; var$14 = var$13.data; $b = var$6.$length0; $ww = var$14.length; if ($b >= 0 && $b <= ($ww - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$13.data, 0, $b); $w = nms_FontRenderer_getStringWidth($this.$fontRenderer, var$7); var$6 = $this.$fontRenderer; $w2 = 3; $b = 3; $ww = 14540253; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$11 = 4; var$12 = 1; $ptr = 7; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); $rt_throw(var$6); case 5: $tmp = nms_FontRenderer_renderString(var$6, var$7, $w, var$11, $ww, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; $w = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString(var$6, var$7, $w2, $b, $ww, $w); if ($rt_suspending()) { break main; } $w2 = $tmp; $this.$tooltipString = null; var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3777)); $b = $this.$width / 2 | 0; $ww = 16; $w2 = 16777215; $b = $b - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; $w = $b + 1 | 0; var$11 = 17; var$12 = 1; $ptr = 3; continue main; case 7: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$11, var$11, $ww, var$12); if ($rt_suspending()) { break main; } var$12 = $tmp; var$11 = 0; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString(var$6, var$7, $w2, $b, $ww, var$11); if ($rt_suspending()) { break main; } $w2 = $tmp; nleg_EaglerAdapterGL30_glPushMatrix(); var$11 = $w + 7 | 0; $par3 = var$11; var$6 = nleg_EaglerAdapterGL30_deevis; var$6.$x = $par3; var$6.$y = 4.0; var$6.$z = 0.0; var$6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$6, var$6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$6 = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_(var$6); var$6.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); var$6.$sb = var$7; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$6 = nleg_EaglerAdapterGL30_deevis; var$6.$x = 0.75; var$6.$y = 0.75; var$6.$z = 0.75; var$6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$6, var$6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$6 = new otcic_JSStderrPrintStream; var$7 = new ji_ByteArrayOutputStream; var$7.$buf = $rt_createByteArray(32); jl_Object__init_(var$6); var$6.$out0 = var$7; var$7 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$7, 16); var$6.$sb = var$7; var$6.$buffer0 = $rt_createCharArray(32); var$6.$autoFlush = 0; var$6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_EnumChatFormatting_$callClinit(); var$6 = nms_EnumChatFormatting_UNDERLINE; var$15 = var$6 === null ? $rt_s(1) : var$6.$field_96304_B; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3779)); var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); $w2 = var$7.$length0; if (var$15 === null) var$15 = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, $w2, var$15); $w2 = var$7.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, $w2, var$6); var$15 = new jl_String; var$14 = var$7.$buffer; var$13 = var$14.data; $b = var$7.$length0; $ww = var$13.length; if ($b >= 0 && $b <= ($ww - 0 | 0)) { var$15.$nativeString = $rt_charArrayToString(var$14.data, 0, $b); $w2 = nms_FontRenderer_getStringWidth($this.$fontRenderer, var$15); $b = $par1 > ($w + 5 | 0) && $par1 < (var$11 + (($w2 * 3 | 0) / 4 | 0) | 0) && $par2 > 3 && $par2 < 11 ? 1 : 0; var$6 = $this.$fontRenderer; var$7 = nms_EnumChatFormatting_UNDERLINE; var$16 = var$7 === null ? $rt_s(1) : var$7.$field_96304_B; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3779)); var$15 = new jl_StringBuilder; var$15.$buffer = $rt_createCharArray(16); $w2 = var$15.$length0; if (var$16 === null) var$16 = $rt_s(1); jl_AbstractStringBuilder_insert(var$15, $w2, var$16); $w2 = var$15.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$15, $w2, var$7); var$7 = new jl_String; var$13 = var$15.$buffer; var$14 = var$13.data; $ww = var$15.$length0; $w = var$14.length; if ($ww >= 0 && $ww <= ($w - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$13.data, 0, $ww); $w2 = 0; $ww = 0; $b = !$b ? 10066329 : 13421772; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; $w = 1; var$11 = 1; $ptr = 9; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); $rt_throw(var$6); } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); $rt_throw(var$6); case 9: $tmp = nms_FontRenderer_renderString(var$6, var$7, $w, $w, $b, var$11); if ($rt_suspending()) { break main; } var$11 = $tmp; $w = 0; $ptr = 10; case 10: $tmp = nms_FontRenderer_renderString(var$6, var$7, $w2, $ww, $b, $w); if ($rt_suspending()) { break main; } $w2 = $tmp; nleg_EaglerAdapterGL30_glPopMatrix(); $w2 = 0; var$6 = $this.$buttonList; $b = $rt_compare($w2, var$6.$size0); if ($b >= 0) return; if ($w2 >= 0 && $b < 0) { var$6 = var$6.$array.data[$w2]; var$7 = $this.$mc; $ptr = 11; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); case 11: var$6.$drawButton(var$7, $par1, $par2); if ($rt_suspending()) { break main; } $w2 = $w2 + 1 | 0; var$6 = $this.$buttonList; $b = $rt_compare($w2, var$6.$size0); if ($b >= 0) return; if ($w2 >= 0 && $b < 0) { var$6 = var$6.$array.data[$w2]; var$7 = $this.$mc; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $w2, $var4, var$6, var$7, $b, $ww, $w, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nle_GuiScreenRelay_mouseClicked = ($this, $par1, $par2, $par3) => { let $var4, var$5, $w2, var$7, var$8, var$9, $w, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$w = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$w2 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: a: { nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } if (!$par3) { nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; var$5 = nms_StringTranslate_translateKey($var4, $rt_s(3778)); $w2 = $this.$mc.$gameSettings.$relayTimeout; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); $par3 = var$7.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, $par3, var$5); $par3 = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, $par3, $par3 + 1 | 0); var$7.$buffer.data[$par3] = 32; jl_AbstractStringBuilder_insert0(var$7, var$7.$length0, $w2, 10); var$5 = new jl_String; var$8 = var$7.$buffer; var$9 = var$8.data; $w = var$7.$length0; $w2 = var$9.length; if ($w >= 0 && $w <= ($w2 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$8.data, 0, $w); $w = nms_FontRenderer_getStringWidth($this.$fontRenderer, var$5); $var4 = nms_StringTranslate_translateKey($var4, $rt_s(3779)); $w2 = nms_FontRenderer_getStringWidth($this.$fontRenderer, $var4); if ($par1 <= ($w + 5 | 0)) break a; if ($par1 >= (($w + 7 | 0) + (($w2 * 3 | 0) / 4 | 0) | 0)) break a; if ($par2 <= 3) break a; if ($par2 >= 11) break a; else { $var4 = $this.$mc; var$7 = new nle_GuiScreenChangeRelayTimeout; nms_Gui_$callClinit(); var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$7.$buttonList = var$5; var$7.$allowUserInput = 0; var$7.$selectedButton = null; var$7.$eventButton = 0; var$7.$field_85043_c = Long_ZERO; var$7.$field_92018_d = 0; var$7.$parent3 = $this; $ptr = 2; continue main; } } $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var4); $rt_throw($var4); } } return; case 2: nms_Minecraft_displayGuiScreen($var4, var$7); if ($rt_suspending()) { break main; } $var4 = $this.$mc.$sndManager; var$7 = $rt_s(642); var$11 = 1.0; var$12 = 1.0; $ptr = 3; case 3: nms_SoundManager_playSoundFX($var4, var$7, var$11, var$12); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, var$5, $w2, var$7, var$8, var$9, $w, var$11, var$12, $ptr); }, nle_GuiScreenRelay_confirmClicked = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1) { if ($this.$addingNew) { var$3 = nle_IntegratedServer_relayManager; var$4 = $this.$addNewAddr; var$5 = $this.$addNewName; $par1 = $this.$addNewPrimary; var$3.$lastPingThrough = Long_ZERO; var$6 = var$3.$relays; $par2 = var$6.$size0; var$7 = !$par1 && $par2 ? 1 : 0; var$8 = new nle_RelayServer; var$8.$query = null; var$8.$queriedVersion = (-1); var$8.$ping = Long_ZERO; var$8.$workingPing = Long_ZERO; var$8.$lastPing = Long_ZERO; var$8.$address = var$4; var$8.$comment = var$5; var$8.$primary = 0; ju_ArrayList_add0(var$6, var$7, var$8); nle_RelayServer_close(var$8); var$8.$query = nlea_EaglerAdapterImpl2_openRelayQuery(var$8.$address); var$8.$queriedVersion = (-1); var$8.$queriedComment = null; var$8.$queriedVendor = null; var$8.$queriedCompatible = nle_RelayQuery$VersionMismatch_UNKNOWN; var$8.$ping = Long_fromInt(-1); if ($par1) nle_RelayManager_setPrimary0(var$3, var$7); nle_RelayManager_save(var$3); $this.$addNewAddr = null; $this.$addNewName = null; $this.$addNewPrimary = 0; $this.$selected = (-1); $this.$deleteRelay.$enabled = 0; $this.$setPrimary.$enabled = 0; } else if ($this.$deleting) { var$3 = nle_IntegratedServer_relayManager; nle_RelayServer_close(ju_ArrayList_remove(var$3.$relays, $par2)); nle_RelayManager_sort(var$3); nle_RelayManager_save(var$3); $this.$selected = (-1); $this.$deleteRelay.$enabled = 0; $this.$setPrimary.$enabled = 0; } } $this.$addingNew = 0; $this.$deleting = 0; var$3 = $this.$mc; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$3, $this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nle_RelayWorldsQuery = $rt_classWithoutFields(0); function nlesrp_IPacket07LocalWorlds$LocalWorld() { let a = this; jl_Object.call(a); a.$worldName8 = null; a.$worldCode = null; } let nms_MinecraftServer = $rt_classWithoutFields(), nms_MinecraftServer_mcServer = null, nms_MinecraftServer__clinit_ = () => { nms_MinecraftServer_mcServer = null; }; function nms_EnumSkyBlock() { jl_Enum.call(this); this.$defaultLightValue = 0; } let nms_EnumSkyBlock_Sky = null, nms_EnumSkyBlock_Block = null, nms_EnumSkyBlock_$VALUES = null, nms_EnumSkyBlock__clinit_ = () => { let var$1, var$2; var$1 = new nms_EnumSkyBlock; var$1.$name0 = $rt_s(3269); var$1.$ordinal = 0; var$1.$defaultLightValue = 15; nms_EnumSkyBlock_Sky = var$1; var$2 = new nms_EnumSkyBlock; var$2.$name0 = $rt_s(3780); var$2.$ordinal = 1; var$2.$defaultLightValue = 0; nms_EnumSkyBlock_Block = var$2; nms_EnumSkyBlock_$VALUES = $rt_wrapArray(nms_EnumSkyBlock, [var$1, var$2]); }; function nms_BiomeCache() { let a = this; jl_Object.call(a); a.$chunkManager = null; a.$cacheMap = null; a.$cache0 = null; } let nms_BiomeCache_getBiomeCacheBlock = ($this, $par1, $par2) => { let $var3, $var5, var$5, var$6, var$7, var$8; $par1 = $par1 >> 4; $par2 = $par2 >> 4; $var3 = Long_or(Long_and(Long_fromInt($par1), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($par2), Long_create(4294967295, 0)), 32)); $var5 = $this.$cacheMap; var$5 = Long_lo(Long_xor($var3, Long_shru($var3, 32))); var$5 = var$5 ^ (var$5 >>> 20 | 0) ^ (var$5 >>> 12 | 0); var$6 = var$5 ^ (var$5 >>> 7 | 0) ^ (var$5 >>> 4 | 0); var$7 = $var5.$hashArray.data; $var5 = var$7[var$6 & (var$7.length - 1 | 0)]; a: { while ($var5 !== null) { if (Long_eq($var5.$key1, $var3)) { $var5 = $var5.$value6; break a; } $var5 = $var5.$nextEntry0; } $var5 = null; } $var5 = $var5; if ($var5 === null) { $var5 = nms_BiomeCacheBlock__init_($this, $par1, $par2); nms_LongHashMap_add($this.$cacheMap, $var3, $var5); var$8 = $this.$cache0; ju_ArrayList_ensureCapacity(var$8, var$8.$size0 + 1 | 0); var$7 = var$8.$array.data; $par2 = var$8.$size0; var$8.$size0 = $par2 + 1 | 0; var$7[$par2] = $var5; var$8.$modCount = var$8.$modCount + 1 | 0; } nlea_EaglerAdapterImpl2_$callClinit(); $var5.$lastAccessTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); return $var5; }; function nms_TileEntityMobSpawnerLogic() { nms_MobSpawnerBaseLogic.call(this); this.$mobSpawnerEntity = null; } let nms_TileEntityMobSpawnerLogic_func_98267_a = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$mobSpawnerEntity; var$3 = var$2.$worldObj0; var$4 = var$2.$xCoord0; var$5 = var$2.$yCoord0; var$6 = var$2.$zCoord0; nms_Block_$callClinit(); var$7 = nms_Block_mobSpawner.$blockID; var$8 = 0; if (var$7 <= 0) return; var$2 = nms_Block_blocksList.data[var$7]; $ptr = 1; case 1: var$2.$onBlockEventReceived(var$3, var$4, var$5, var$6, $par1, var$8); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_TileEntityMobSpawnerLogic_getSpawnerWorld = $this => { return $this.$mobSpawnerEntity.$worldObj0; }, nms_TileEntityMobSpawnerLogic_getSpawnerX = $this => { return $this.$mobSpawnerEntity.$xCoord0; }, nms_TileEntityMobSpawnerLogic_getSpawnerY = $this => { return $this.$mobSpawnerEntity.$yCoord0; }, nms_TileEntityMobSpawnerLogic_getSpawnerZ = $this => { return $this.$mobSpawnerEntity.$zCoord0; }, nms_TileEntityMobSpawnerLogic_setRandomMinecart = ($this, $par1WeightedRandomMinecart) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; a: { $this.$randomMinecart = $par1WeightedRandomMinecart; $par1WeightedRandomMinecart = $this.$mobSpawnerEntity; var$2 = $par1WeightedRandomMinecart.$worldObj0; if (var$2 !== null) { var$3 = $par1WeightedRandomMinecart.$xCoord0; var$4 = $par1WeightedRandomMinecart.$yCoord0; var$5 = $par1WeightedRandomMinecart.$zCoord0; var$6 = 0; var$7 = var$3 - 1 | 0; var$8 = var$4 - 1 | 0; var$9 = var$5 - 1 | 0; var$3 = var$3 + 1 | 0; var$4 = var$4 + 1 | 0; var$5 = var$5 + 1 | 0; while (true) { $par1WeightedRandomMinecart = var$2.$worldAccesses; var$10 = $rt_compare(var$6, $par1WeightedRandomMinecart.$size0); if (var$10 >= 0) break; if (var$6 < 0) break a; if (var$10 >= 0) break a; nms_RenderGlobal_markBlocksForUpdate($par1WeightedRandomMinecart.$array.data[var$6], var$7, var$8, var$9, var$3, var$4, var$5); var$6 = var$6 + 1 | 0; } } return; } $par1WeightedRandomMinecart = new jl_IndexOutOfBoundsException; $par1WeightedRandomMinecart.$suppressionEnabled = 1; $par1WeightedRandomMinecart.$writableStackTrace = 1; $rt_throw($par1WeightedRandomMinecart); }; function nms_GameRuleValue() { let a = this; jl_Object.call(a); a.$valueString = null; a.$valueBoolean = 0; a.$valueInteger = 0; a.$valueDouble = 0.0; } let nms_GameRuleValue_setValue = ($this, $par1Str) => { let var$2, var$3, var$4, $$je; a: { $this.$valueString = $par1Str; if ($par1Str !== null) { var$2 = $par1Str.$nativeString.toLowerCase(); var$3 = var$2 === $par1Str.$nativeString ? $par1Str : jl_String__init_(var$2); if (var$3 === $rt_s(70)) var$4 = 1; else if (!($rt_s(70) instanceof jl_String)) var$4 = 0; else { var$2 = $rt_s(70); var$4 = var$3.$nativeString !== var$2.$nativeString ? 0 : 1; } if (var$4) { var$4 = 1; break a; } } var$4 = 0; } $this.$valueBoolean = var$4; b: { try { $this.$valueInteger = jl_Integer_parseInt($par1Str); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } c: { try { $this.$valueDouble = jl_Double_parseDouble($par1Str); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_NumberFormatException) { } else { throw $$e; } } } }, nms_GuiRenameWorld$actionPerformed$lambda$_5_0 = $rt_classWithoutFields(), nms_GuiRenameWorld$actionPerformed$lambda$_5_0__init_ = var$0 => { return; }, nms_GuiRenameWorld$actionPerformed$lambda$_5_0__init_0 = () => { let var_0 = new nms_GuiRenameWorld$actionPerformed$lambda$_5_0(); nms_GuiRenameWorld$actionPerformed$lambda$_5_0__init_(var_0); return var_0; }, nms_GuiRenameWorld$actionPerformed$lambda$_5_0_getAsBoolean = var$0 => { return nle_IntegratedServer_statusState ? 0 : 1; }; function nle_GuiScreenBackupWorld$actionPerformed$lambda$_3_0() { jl_Object.call(this); this.$_04 = null; } let nle_GuiScreenBackupWorld$actionPerformed$lambda$_3_0_getAsBoolean = var$0 => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = var$0.$_04; var$2 = nle_IntegratedServer_exportResponse; nle_IntegratedServer_exportResponse = null; if (var$2 === null) var$3 = 0; else { var$1 = var$1.$worldName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$3 = var$4.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$1); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3764)); var$1 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; var$7 = var$4.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_downloadBytesImpl$js_body$_310($rt_ustr(var$1), var$2.data.buffer); var$3 = 1; } else { var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } } return var$3; }; function nle_GuiScreenBackupWorld$actionPerformed$lambda$_3_1() { jl_Object.call(this); this.$_06 = null; } let nle_GuiScreenBackupWorld$actionPerformed$lambda$_3_1_getAsBoolean = var$0 => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = var$0.$_06; var$2 = nle_IntegratedServer_exportResponse; nle_IntegratedServer_exportResponse = null; if (var$2 === null) var$3 = 0; else { var$1 = var$1.$worldName; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$3 = var$4.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$1); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(3288)); var$1 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; var$7 = var$4.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_downloadBytesImpl$js_body$_310($rt_ustr(var$1), var$2.data.buffer); var$3 = 1; } else { var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } } return var$3; }; function nms_GuiTexturePackSlot() { nms_GuiSlot.call(this); this.$parentTexturePackGui = null; } let nms_GuiTexturePackSlot_getSize = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$mc9.$texturePackList.$availableTexturePacks; if (var$1 !== null) return var$1.$size0; var$1 = new jl_NullPointerException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); var$1.$message = $rt_s(18); $rt_throw(var$1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_GuiTexturePackSlot_elementClicked = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1) { $ptr = 2; continue main; } var$3 = $this.$parentTexturePackGui; $par2 = 0; $ptr = 1; case 1: nms_GuiTexturePacks_confirmClicked(var$3, $par2, $par1); if ($rt_suspending()) { break main; } return; case 2: $tmp = nms_GuiTexturePackSlot_isSelected($this, $par1); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) { var$3 = $this.$parentTexturePackGui; $par2 = 0; $ptr = 1; continue main; } var$4 = $this.$mc9; var$5 = new nms_GuiYesNo; var$6 = $this.$parentTexturePackGui; nms_StatCollector_$callClinit(); var$7 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3781)); var$3 = $this.$mc9.$texturePackList.$availableTexturePacks; if (var$3 === null) { var$3 = new jl_NullPointerException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); var$3.$message = $rt_s(18); $rt_throw(var$3); } if ($par1 >= 0 && $par1 < var$3.$size0) { var$8 = var$3.$array.data[$par1].$texturePackFileName; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); var$5.$buttonList = var$3; var$5.$allowUserInput = 0; var$5.$selectedButton = null; var$5.$eventButton = 0; var$5.$field_85043_c = Long_ZERO; var$5.$field_92018_d = 0; var$5.$parentScreen = var$6; var$5.$message10 = var$7; var$5.$message2 = var$8; var$5.$worldNumber = $par1; var$5.$buttonText1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3512)); var$5.$buttonText2 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3513)); $ptr = 3; continue main; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); case 3: nms_Minecraft_displayGuiScreen(var$4, var$5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_GuiTexturePackSlot_isSelected = ($this, $par1) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$mc9.$texturePackList; var$3 = var$2.$availableTexturePacks; if (var$3 === null) { var$2 = new jl_NullPointerException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); var$2.$message = $rt_s(18); $rt_throw(var$2); } var$2 = var$2.$selectedTexturePack; if ($par1 >= 0 && $par1 < var$3.$size0) return var$2 !== var$3.$array.data[$par1] ? 0 : 1; var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, $ptr); }, nms_GuiTexturePackSlot_getContentHeight = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$mc9.$texturePackList.$availableTexturePacks; if (var$1 === null) { var$1 = new jl_NullPointerException; jl_Throwable__init_1(var$1, $rt_s(18)); $rt_throw(var$1); } return var$1.$size0 * 36 | 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_GuiTexturePackSlot_drawBackground = $this => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$parentTexturePackGui; var$2 = 0; if (var$1.$mc.$theWorld !== null) { nms_Gui_drawGradientRect(var$1, 0, 0, var$1.$width, var$1.$height, (-1072689136), (-804253680)); return; } $ptr = 1; case 1: nms_GuiScreen_drawBackground(var$1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); }, nms_GuiTexturePackSlot_drawSlot = ($this, $par1, $par2, $par3, $par4, $par5Tessellator) => { let var$6, $var7, $var6, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();$var7 = $thread.pop();var$6 = $thread.pop();$par5Tessellator = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = $this.$mc9; $var7 = var$6.$texturePackList.$availableTexturePacks; if ($var7 === null) { $par5Tessellator = new jl_NullPointerException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $par5Tessellator.$message = $rt_s(18); $rt_throw($par5Tessellator); } if ($par1 >= 0 && $par1 < $var7.$size0) { $var6 = $var7.$array.data[$par1]; var$9 = var$6.$renderEngine; var$10 = $var6.$thumbnailImage; if (var$10 === null) { $var7 = $rt_s(2759); $ptr = 1; continue main; } if ($var6.$thumbnailTextureName == (-1)) { nleg_EaglerAdapterGL30_$callClinit(); var$11 = nleg_EaglerAdapterGL30_texObjects; nlea_EaglerAdapterImpl2_$callClinit(); $var7 = new nlea_EaglerAdapterImpl2$TextureGL; var$12 = nlea_EaglerAdapterImpl2_webgl.createTexture(); $var7.$w1 = (-1); $var7.$h0 = (-1); $var7.$nearest = 1; $var7.$anisotropic = 0; $var7.$obj1 = var$12; var$13 = nleg_GLObjectMap_register(var$11, $var7); $var7 = nms_GLAllocation_field_74530_b; if (var$13 >= (-128) && var$13 <= 127) { jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[var$13 + 128 | 0]; } else { var$12 = new jl_Integer; var$12.$value0 = var$13; } ju_ArrayList_ensureCapacity($var7, $var7.$size0 + 1 | 0); var$14 = $var7.$array.data; var$15 = $var7.$size0; $var7.$size0 = var$15 + 1 | 0; var$14[var$15] = var$12; $var7.$modCount = $var7.$modCount + 1 | 0; nms_RenderEngine_setupTextureExt(var$9, var$10, var$13, 0, 0); nms_IntHashMap_addKey(var$9.$textureNameToImageMap, var$13, var$10); $var6.$thumbnailTextureName = var$13; } nleg_EaglerAdapterGL30_glBindTexture(3553, $var6.$thumbnailTextureName); var$9.$boundTexture = (-1); nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; if ($par5Tessellator.$isDrawing) nlea_Tessellator_draw($par5Tessellator); $par5Tessellator.$isDrawing = 1; $par5Tessellator.$vertexCount = 0; $par5Tessellator.$rawBufferIndex = 0; $par5Tessellator.$addedVertices = 0; $par5Tessellator.$drawMode = 7; $par5Tessellator.$hasNormals = 0; $par5Tessellator.$hasColor = 0; $par5Tessellator.$hasTexture = 0; $par5Tessellator.$hasBrightness = 0; $par5Tessellator.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($par5Tessellator, 255, 255, 255, 255); var$16 = $par2; var$17 = $par3 + $par4 | 0; $par5Tessellator.$hasTexture = 1; $par5Tessellator.$textureU = 0.0; $par5Tessellator.$textureV = 1.0; nlea_Tessellator_addVertex($par5Tessellator, var$16, var$17, 0.0); $par1 = $par2 + 32 | 0; var$18 = $par1; $par5Tessellator.$hasTexture = 1; $par5Tessellator.$textureU = 1.0; $par5Tessellator.$textureV = 1.0; nlea_Tessellator_addVertex($par5Tessellator, var$18, var$17, 0.0); var$17 = $par3; $par5Tessellator.$hasTexture = 1; $par5Tessellator.$textureU = 1.0; $par5Tessellator.$textureV = 0.0; nlea_Tessellator_addVertex($par5Tessellator, var$18, var$17, 0.0); $par5Tessellator.$hasTexture = 1; $par5Tessellator.$textureU = 0.0; $par5Tessellator.$textureV = 0.0; nlea_Tessellator_addVertex($par5Tessellator, var$16, var$17, 0.0); nlea_Tessellator_draw($par5Tessellator); $var7 = $var6.$texturePackFileName; if (!$var6.$isCompatible()) { nms_EnumChatFormatting_$callClinit(); $par5Tessellator = nms_EnumChatFormatting_DARK_RED; var$6 = $par5Tessellator === null ? $rt_s(1) : $par5Tessellator.$field_96304_B; nms_StatCollector_$callClinit(); var$12 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3782)); $par5Tessellator = new jl_StringBuilder; $par5Tessellator.$buffer = $rt_createCharArray(16); $par2 = $par5Tessellator.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert($par5Tessellator, $par2, var$6); $par2 = $par5Tessellator.$length0; if (var$12 === null) var$12 = $rt_s(1); jl_AbstractStringBuilder_insert($par5Tessellator, $par2, var$12); jl_AbstractStringBuilder_insert($par5Tessellator, $par5Tessellator.$length0, $rt_s(3783)); $par2 = $par5Tessellator.$length0; if ($var7 === null) $var7 = $rt_s(1); jl_AbstractStringBuilder_insert($par5Tessellator, $par2, $var7); $var7 = new jl_String; var$14 = $par5Tessellator.$buffer; var$19 = var$14.data; $par4 = $par5Tessellator.$length0; var$15 = var$19.length; if ($par4 >= 0 && $par4 <= (var$15 - 0 | 0)) $var7.$nativeString = $rt_charArrayToString(var$14.data, 0, $par4); else { $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); } } if ($var7.$nativeString.length > 32) { $par5Tessellator = jl_String_trim(jl_String_substring($var7, 0, 32)); var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $par2 = var$12.$length0; if ($par5Tessellator === null) $par5Tessellator = $rt_s(1); jl_AbstractStringBuilder_insert(var$12, $par2, $par5Tessellator); jl_AbstractStringBuilder_insert(var$12, var$12.$length0, $rt_s(24)); $var7 = new jl_String; var$14 = var$12.$buffer; var$19 = var$14.data; $par4 = var$12.$length0; var$15 = var$19.length; if ($par4 >= 0 && $par4 <= (var$15 - 0 | 0)) $var7.$nativeString = $rt_charArrayToString(var$14.data, 0, $par4); else { $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); } } $par5Tessellator = $this.$mc9.$fontRenderer0; $par1 = $par1 + 2 | 0; $par2 = $par3 + 1 | 0; $par4 = 16777215; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; var$13 = $par1 + 1 | 0; var$15 = $par2 + 1 | 0; var$20 = 1; $ptr = 2; continue main; } $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; $rt_throw($par5Tessellator); case 1: $tmp = nms_RenderEngine_getTexture(var$9, $var7); if ($rt_suspending()) { break main; } $par1 = $tmp; if ($par1 != var$9.$boundTexture) { nleg_EaglerAdapterGL30_glBindTexture(3553, $par1); var$9.$boundTexture = $par1; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; if ($par5Tessellator.$isDrawing) nlea_Tessellator_draw($par5Tessellator); $par5Tessellator.$isDrawing = 1; $par5Tessellator.$vertexCount = 0; $par5Tessellator.$rawBufferIndex = 0; $par5Tessellator.$addedVertices = 0; $par5Tessellator.$drawMode = 7; $par5Tessellator.$hasNormals = 0; $par5Tessellator.$hasColor = 0; $par5Tessellator.$hasTexture = 0; $par5Tessellator.$hasBrightness = 0; $par5Tessellator.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($par5Tessellator, 255, 255, 255, 255); var$16 = $par2; var$17 = $par3 + $par4 | 0; $par5Tessellator.$hasTexture = 1; $par5Tessellator.$textureU = 0.0; $par5Tessellator.$textureV = 1.0; nlea_Tessellator_addVertex($par5Tessellator, var$16, var$17, 0.0); $par1 = $par2 + 32 | 0; var$18 = $par1; $par5Tessellator.$hasTexture = 1; $par5Tessellator.$textureU = 1.0; $par5Tessellator.$textureV = 1.0; nlea_Tessellator_addVertex($par5Tessellator, var$18, var$17, 0.0); var$17 = $par3; $par5Tessellator.$hasTexture = 1; $par5Tessellator.$textureU = 1.0; $par5Tessellator.$textureV = 0.0; nlea_Tessellator_addVertex($par5Tessellator, var$18, var$17, 0.0); $par5Tessellator.$hasTexture = 1; $par5Tessellator.$textureU = 0.0; $par5Tessellator.$textureV = 0.0; nlea_Tessellator_addVertex($par5Tessellator, var$16, var$17, 0.0); nlea_Tessellator_draw($par5Tessellator); $var7 = $var6.$texturePackFileName; if (!$var6.$isCompatible()) { nms_EnumChatFormatting_$callClinit(); $par5Tessellator = nms_EnumChatFormatting_DARK_RED; var$6 = $par5Tessellator === null ? $rt_s(1) : $par5Tessellator.$field_96304_B; nms_StatCollector_$callClinit(); var$12 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3782)); $par5Tessellator = new jl_StringBuilder; $par5Tessellator.$buffer = $rt_createCharArray(16); $par2 = $par5Tessellator.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert($par5Tessellator, $par2, var$6); $par2 = $par5Tessellator.$length0; if (var$12 === null) var$12 = $rt_s(1); jl_AbstractStringBuilder_insert($par5Tessellator, $par2, var$12); jl_AbstractStringBuilder_insert($par5Tessellator, $par5Tessellator.$length0, $rt_s(3783)); $par2 = $par5Tessellator.$length0; if ($var7 === null) $var7 = $rt_s(1); jl_AbstractStringBuilder_insert($par5Tessellator, $par2, $var7); $var7 = new jl_String; var$14 = $par5Tessellator.$buffer; var$19 = var$14.data; $par4 = $par5Tessellator.$length0; var$15 = var$19.length; if ($par4 >= 0 && $par4 <= (var$15 - 0 | 0)) $var7.$nativeString = $rt_charArrayToString(var$14.data, 0, $par4); else { $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); } } if ($var7.$nativeString.length > 32) { $par5Tessellator = jl_String_trim(jl_String_substring($var7, 0, 32)); var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); $par2 = var$12.$length0; if ($par5Tessellator === null) $par5Tessellator = $rt_s(1); jl_AbstractStringBuilder_insert(var$12, $par2, $par5Tessellator); jl_AbstractStringBuilder_insert(var$12, var$12.$length0, $rt_s(24)); $var7 = new jl_String; var$14 = var$12.$buffer; var$19 = var$14.data; $par4 = var$12.$length0; var$15 = var$19.length; if ($par4 >= 0 && $par4 <= (var$15 - 0 | 0)) $var7.$nativeString = $rt_charArrayToString(var$14.data, 0, $par4); else { $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par5Tessellator); $rt_throw($par5Tessellator); } } $par5Tessellator = $this.$mc9.$fontRenderer0; $par1 = $par1 + 2 | 0; $par2 = $par3 + 1 | 0; $par4 = 16777215; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; var$13 = $par1 + 1 | 0; var$15 = $par2 + 1 | 0; var$20 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var7, var$13, var$15, $par4, var$20); if ($rt_suspending()) { break main; } var$20 = $tmp; var$15 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var7, $par1, $par2, $par4, var$15); if ($rt_suspending()) { break main; } $par2 = $tmp; $par5Tessellator = $this.$mc9.$fontRenderer0; $var7 = $var6.$firstDescriptionLine; $par2 = $par3 + 12 | 0; $par3 = 8421504; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $par4 = $par2 + 1 | 0; var$15 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var7, var$13, $par4, $par3, var$15); if ($rt_suspending()) { break main; } var$15 = $tmp; $par4 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var7, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par3 = $tmp; $par5Tessellator = $this.$mc9.$fontRenderer0; $var7 = $var6.$secondDescriptionLine; $par2 = $par2 + 10 | 0; $par3 = 8421504; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $par4 = $par2 + 1 | 0; var$15 = 1; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var7, var$13, $par4, $par3, var$15); if ($rt_suspending()) { break main; } var$15 = $tmp; $par4 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString($par5Tessellator, $var7, $par1, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1 = $tmp; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5Tessellator, var$6, $var7, $var6, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $ptr); }; function nms_GuiScreenDirectConnect() { let a = this; nms_GuiScreen.call(a); a.$guiScreen1 = null; a.$theServerData0 = null; a.$serverTextField = null; } let nms_GuiScreenDirectConnect_updateScreen = $this => { let var$1; var$1 = $this.$serverTextField; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; }, nms_GuiScreenDirectConnect_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; var$2 = $this.$buttonList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 100 | 0; var$5 = (($this.$height / 4 | 0) + 96 | 0) + 12 | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(1721)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 0; var$6.$xPosition = var$8; var$6.$yPosition = var$5; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = var$9; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = $this.$buttonList; var$9 = new nms_GuiButton; var$10 = ($this.$width / 2 | 0) - 100 | 0; var$4 = (($this.$height / 4 | 0) + 120 | 0) + 12 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(1626)); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 1; var$9.$xPosition = var$10; var$9.$yPosition = var$4; var$9.$width0 = 200; var$9.$height0 = 20; var$9.$displayString = var$2; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; var$6 = nms_GuiTextField__init_($this.$fontRenderer, ($this.$width / 2 | 0) - 100 | 0, ($this.$height / 4 | 0) + 27 | 0, 200, 20); $this.$serverTextField = var$6; var$6.$maxStringLength = 128; if (var$6.$text.$nativeString.length > 128) var$6.$text = jl_String_substring(var$6.$text, 0, 128); var$6 = $this.$serverTextField; if (!var$6.$isFocused0) var$6.$cursorCounter = 0; var$6.$isFocused0 = 1; var$9 = $this.$mc.$gameSettings.$lastServer; var$4 = var$9.$nativeString.length; var$5 = var$6.$maxStringLength; if (var$4 <= var$5) var$6.$text = var$9; else var$6.$text = jl_String_substring(var$9, 0, var$5); var$6.$cursorPosition = var$6.$text.$nativeString.length; var$5 = var$6.$text.$nativeString.length; if (var$6.$cursorPosition < 0) var$6.$cursorPosition = 0; if (var$6.$cursorPosition > var$5) var$6.$cursorPosition = var$5; nms_GuiTextField_setSelectionPos(var$6, var$6.$cursorPosition); var$6 = $this.$buttonList; if (0 >= var$6.$size0) { var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } a: { var$6 = var$6.$array.data[0]; if ($this.$serverTextField.$text.$nativeString.length > 0) { var$2 = $this.$serverTextField.$text; if ((jur_Pattern_split(jur_Pattern_compile($rt_s(990), 0), var$2, 0)).data.length > 0) { var$4 = 1; break a; } } var$4 = 0; } var$6.$enabled = var$4; }, nms_GuiScreenDirectConnect_onGuiClosed = $this => { let var$1; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; var$1 = $this.$mc.$gameSettings; var$1.$lastServer = $this.$serverTextField.$text; nms_GameSettings_saveOptions(var$1); }, nms_GuiScreenDirectConnect_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled) { var$2 = $par1GuiButton.$id0; if (var$2 == 1) { $par1GuiButton = $this.$guiScreen1; var$3 = 0; var$2 = 0; $ptr = 1; continue main; } if (!var$2) { $this.$theServerData0.$serverIP = $this.$serverTextField.$text; $par1GuiButton = $this.$guiScreen1; var$2 = 1; var$3 = 0; $ptr = 2; continue main; } } return; case 1: nms_GuiMultiplayer_confirmClicked($par1GuiButton, var$3, var$2); if ($rt_suspending()) { break main; } return; case 2: nms_GuiMultiplayer_confirmClicked($par1GuiButton, var$2, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, $ptr); }, nms_GuiScreenDirectConnect_keyTyped = ($this, $par1, $par2) => { let var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$serverTextField; $ptr = 1; case 1: $tmp = nms_GuiTextField_textboxKeyTyped(var$3, $par1, $par2); if ($rt_suspending()) { break main; } $par1 = $tmp; if ($par1) { var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } a: { var$3 = var$3.$array.data[0]; if ($this.$serverTextField.$text.$nativeString.length > 0) { var$4 = $this.$serverTextField.$text; if ((jur_Pattern_split(jur_Pattern_compile($rt_s(990), 0), var$4, 0)).data.length > 0) { $par1 = 1; break a; } } $par1 = 0; } var$3.$enabled = $par1; } else if ($par2 == 28) { var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = var$3.$array.data[0]; $ptr = 2; continue main; } return; case 2: nms_GuiScreenDirectConnect_actionPerformed($this, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, $ptr); }, nms_GuiScreenDirectConnect_mouseClicked = ($this, $par1, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } nms_GuiTextField_mouseClicked($this.$serverTextField, $par1, $par2, $par3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $ptr); }, nms_GuiScreenDirectConnect_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; var$5 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(1722)); var$8 = $this.$width / 2 | 0; var$5 = (($this.$height / 4 | 0) - 60 | 0) + 20 | 0; var$9 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = var$5 + 1 | 0; var$12 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$5); if ($rt_suspending()) { break main; } var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(1722)); var$8 = $this.$width / 2 | 0; var$5 = (($this.$height / 4 | 0) - 60 | 0) + 20 | 0; var$9 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = var$5 + 1 | 0; var$12 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$8, var$5, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3684)); var$5 = ($this.$width / 2 | 0) - 100 | 0; var$9 = ($this.$height / 4 | 0) + 12 | 0; var$8 = 10526880; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = var$9 + 1 | 0; var$12 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$8, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$9, var$8, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; nlea_EaglerAdapterImpl2_$callClinit(); var$6 = $rt_str(window.location.href); if (!(var$6 === $rt_s(189) ? 1 : jl_String_startsWith(var$6, $rt_s(189), 0))) { var$7 = $this.$serverTextField; $ptr = 6; continue main; } var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3784)); var$11 = $this.$width / 2 | 0; var$5 = (($this.$height / 4 | 0) + 30 | 0) + 28 | 0; var$9 = 13421823; var$8 = var$11 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = var$5 + 1 | 0; var$12 = 1; $ptr = 7; continue main; case 6: nms_GuiTextField_drawTextBox(var$7); if ($rt_suspending()) { break main; } var$5 = 0; var$7 = $this.$buttonList; var$9 = $rt_compare(var$5, var$7.$size0); if (var$9 >= 0) return; if (var$5 >= 0 && var$9 < 0) { var$7 = var$7.$array.data[var$5]; var$6 = $this.$mc; $ptr = 11; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 7: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$8, var$5, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3785)); var$5 = $this.$width / 2 | 0; var$9 = (($this.$height / 4 | 0) + 30 | 0) + 40 | 0; var$8 = 13421823; var$5 = var$5 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = var$9 + 1 | 0; var$12 = 1; $ptr = 9; case 9: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$8, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 10; case 10: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$9, var$8, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$serverTextField; $ptr = 6; continue main; case 11: var$7.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$5 = var$5 + 1 | 0; var$7 = $this.$buttonList; var$9 = $rt_compare(var$5, var$7.$size0); if (var$9 >= 0) return; if (var$5 >= 0 && var$9 < 0) { var$7 = var$7.$array.data[var$5]; var$6 = $this.$mc; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }; function nle_GuiScreenNoRelays() { let a = this; nms_GuiScreen.call(a); a.$parent1 = null; a.$title1 = null; a.$title2 = null; a.$title3 = null; } let nle_GuiScreenNoRelays_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; var$2 = $this.$buttonList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 100 | 0; var$5 = (($this.$height / 4 | 0) - 60 | 0) + 145 | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(1626)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 0; var$6.$xPosition = var$8; var$6.$yPosition = var$5; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = var$9; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = $this.$buttonList; var$9 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 100 | 0; var$8 = (($this.$height / 4 | 0) - 60 | 0) + 115 | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(1718)); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 1; var$9.$xPosition = var$5; var$9.$yPosition = var$8; var$9.$width0 = 200; var$9.$height0 = 20; var$9.$displayString = var$2; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; }, nle_GuiScreenNoRelays_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; var$5 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $this.$title1); var$8 = $this.$width / 2 | 0; var$5 = (($this.$height / 4 | 0) - 60 | 0) + 70 | 0; var$9 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = var$5 + 1 | 0; var$12 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$5); if ($rt_suspending()) { break main; } var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $this.$title1); var$8 = $this.$width / 2 | 0; var$5 = (($this.$height / 4 | 0) - 60 | 0) + 70 | 0; var$9 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = var$5 + 1 | 0; var$12 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$8, var$5, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$6 = $this.$title2; if (var$6 !== null) { var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, var$6); var$5 = $this.$width / 2 | 0; var$9 = (($this.$height / 4 | 0) - 60 | 0) + 80 | 0; var$8 = 13421772; var$5 = var$5 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = var$9 + 1 | 0; var$12 = 1; $ptr = 4; continue main; } var$6 = $this.$title3; if (var$6 !== null) { var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, var$6); var$5 = $this.$width / 2 | 0; var$9 = (($this.$height / 4 | 0) - 60 | 0) + 90 | 0; var$8 = 13421772; var$5 = var$5 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = var$9 + 1 | 0; var$12 = 1; $ptr = 6; continue main; } var$5 = 0; var$6 = $this.$buttonList; var$9 = $rt_compare(var$5, var$6.$size0); if (var$9 >= 0) return; if (var$5 >= 0 && var$9 < 0) { var$6 = var$6.$array.data[var$5]; var$7 = $this.$mc; $ptr = 8; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); case 4: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$8, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$9, var$8, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$6 = $this.$title3; if (var$6 !== null) { var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, var$6); var$5 = $this.$width / 2 | 0; var$9 = (($this.$height / 4 | 0) - 60 | 0) + 90 | 0; var$8 = 13421772; var$5 = var$5 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = var$9 + 1 | 0; var$12 = 1; $ptr = 6; continue main; } var$5 = 0; var$6 = $this.$buttonList; var$9 = $rt_compare(var$5, var$6.$size0); if (var$9 >= 0) return; if (var$5 >= 0 && var$9 < 0) { var$6 = var$6.$array.data[var$5]; var$7 = $this.$mc; $ptr = 8; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); case 6: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$8, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$9, var$8, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$5 = 0; var$6 = $this.$buttonList; var$9 = $rt_compare(var$5, var$6.$size0); if (var$9 >= 0) return; if (var$5 >= 0 && var$9 < 0) { var$6 = var$6.$array.data[var$5]; var$7 = $this.$mc; $ptr = 8; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); case 8: var$6.$drawButton(var$7, $par1, $par2); if ($rt_suspending()) { break main; } var$5 = var$5 + 1 | 0; var$6 = $this.$buttonList; var$9 = $rt_compare(var$5, var$6.$size0); if (var$9 >= 0) return; if (var$5 >= 0 && var$9 < 0) { var$6 = var$6.$array.data[var$5]; var$7 = $this.$mc; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nle_GuiScreenNoRelays_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1GuiButton.$id0; if (!var$2) { $par1GuiButton = $this.$mc; var$3 = $this.$parent1; $ptr = 1; continue main; } if (var$2 != 1) return; $par1GuiButton = $this.$mc; var$3 = new nle_GuiScreenRelay; var$4 = $this.$parent1; nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); var$3.$buttonList = var$5; var$3.$allowUserInput = 0; var$3.$selectedButton = null; var$3.$eventButton = 0; var$3.$field_85043_c = Long_ZERO; var$3.$field_92018_d = 0; var$3.$addingNew = 0; var$3.$deleting = 0; var$3.$tooltipString = null; var$3.$lastRefresh = Long_ZERO; var$3.$mx = 0; var$3.$my = 0; var$3.$screen1 = var$4; $ptr = 2; continue main; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, var$5, $ptr); }; function nle_EPKDecompiler() { let a = this; jl_Object.call(a); a.$in20 = null; a.$in1 = null; a.$zis = null; a.$dg = null; a.$crc32 = null; a.$numFiles = 0; a.$isFinished = 0; a.$isOldFormat = 0; } let nle_EPKDecompiler__init_0 = ($this, $data) => { let var$2, var$3, var$4, $header, $i, var$7, var$8, var$9, var$10, var$11, var$12; a: { var$2 = $data.data; $this.$isFinished = 0; $this.$isOldFormat = 0; var$3 = new nle_EaglerInputStream; var$3.$mark0 = 0; var$3.$buf1 = $data; var$3.$pos = 0; var$4 = var$2.length; var$3.$count = var$4; $this.$in20 = var$3; $header = $rt_createByteArray(8); nle_EaglerInputStream_read0(var$3, $header, 0, $header.data.length); if (ju_Arrays_equals0($header, $rt_createByteArrayFromData([69, 65, 71, 80, 75, 71, 36, 36]))) { $header = $rt_createByteArray(8).data; $header[0] = 58; $header[1] = 58; $header[2] = 58; $header[3] = 89; $header[4] = 69; $header[5] = 69; $header[6] = 58; $header[7] = 62; $i = 0; var$7 = var$4 - 8 | 0; while (true) { if ($i >= 8) { var$3 = new nle_EaglerInputStream; $i = var$4 - 16 | 0; var$3.$mark0 = 0; var$3.$buf1 = $data; var$3.$pos = 8; $i = 8 + $i | 0; if ($i < var$4) var$4 = $i; var$3.$count = var$4; var$3.$mark0 = 8; $this.$in20 = var$3; nle_EPKDecompiler_initNew($this); break a; } if (var$2[var$7 + $i | 0] != $header[$i]) break; $i = $i + 1 | 0; } var$3 = new ji_IOException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; var$3.$message = $rt_s(365); $rt_throw(var$3); } if (ju_Arrays_equals0($header, $rt_createByteArrayFromData([69, 65, 71, 80, 75, 71, 33, 33]))) { $this.$isOldFormat = 1; var$3 = new nle_SHA1Digest; var$3.$xBuf = $rt_createByteArray(4); var$3.$xBufOff = 0; var$3.$X = $rt_createIntArray(80); nle_SHA1Digest_reset(var$3); $this.$dg = var$3; var$3 = new ji_DataInputStream; var$3.$in = $this.$in20; var$3.$buff = $rt_createByteArray(8); $this.$in1 = var$3; $i = ji_DataInputStream_readUnsignedShort(var$3); $data = $rt_createByteArray($i); $header = $rt_createCharArray($i); ji_DataInputStream_readFully(var$3, $data, 0, $i); ji_DataInputStream_convertUTF8WithBuf($data, $header, 0, $i); var$3 = new ji_DataInputStream; var$8 = new cjj_InflaterInputStream; var$9 = $this.$in20; var$10 = new cjj_Inflater; var$11 = new cjj_Adler32; var$11.$s1 = Long_fromInt(1); var$11.$s2 = Long_ZERO; var$10.$adler = var$11; var$10.$finished = 0; var$10.$finished = 0; var$11 = new cjj_Inflate; var$11.$was = Long_fromInt(-1); var$11.$need_bytes = (-1); var$11.$crcbuf = $rt_createByteArray(4); var$11.$gheader = null; var$11.$tmp_string = null; var$11.$z1 = var$10; var$10.$istate = var$11; $i = cjj_Inflate_inflateInit(var$11, 15); if ($i) { var$3 = new cjj_GZIPException; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $i, 10); jl_StringBuilder_insert(var$8, var$8.$length0, $rt_s(107)); var$9 = var$10.$msg; jl_StringBuilder_insert(var$8, var$8.$length0, var$9); var$9 = new jl_String; $data = var$8.$buffer; $header = $data.data; var$12 = var$8.$length0; jl_Object__init_(var$9); ju_Objects_checkFromIndexSize(0, var$12, $header.length); var$9.$nativeString = $rt_charArrayToString($data.data, 0, var$12); jl_Throwable__init_1(var$3, var$9); $rt_throw(var$3); } cjj_InflaterInputStream__init_(var$8, var$9, var$10, 512, 1); var$8.$myinflater = 1; var$3.$in = var$8; var$3.$buff = $rt_createByteArray(8); $this.$in1 = var$3; } } }, nle_EPKDecompiler__init_ = var_0 => { let var_1 = new nle_EPKDecompiler(); nle_EPKDecompiler__init_0(var_1, var_0); return var_1; }, nle_EPKDecompiler_readFile = $this => { if ($this.$isOldFormat) return nle_EPKDecompiler_readFileOld($this); return nle_EPKDecompiler_readFileNew($this); }, nle_EPKDecompiler_initNew = $this => { let $is, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $vers, var$10, $compressionType, var$12, var$13, var$14; $is = $this.$in20; var$2 = $is.$pos; var$3 = $is.$count; if (var$2 >= var$3) var$4 = (-1); else { var$5 = $is.$buf1.data; $is.$pos = var$2 + 1 | 0; var$4 = var$5[var$2] & 255; } var$5 = $rt_createCharArray(var$4); var$6 = var$5.data; var$2 = 0; while (var$2 < var$4) { var$7 = $is.$pos; if (var$7 >= var$3) var$7 = (-1); else { var$8 = $is.$buf1.data; $is.$pos = var$7 + 1 | 0; var$7 = var$8[var$7] & 255; } var$6[var$2] = var$7 & 255 & 65535; var$2 = var$2 + 1 | 0; } $vers = new jl_String; $vers.$nativeString = $rt_charArrayToString(var$5.data, 0, var$6.length); if (!($vers === $rt_s(368) ? 1 : jl_String_startsWith($vers, $rt_s(368), 0))) { var$10 = new ji_IOException; $is = new jl_StringBuilder; $is.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($is, $is.$length0, $rt_s(369)); $compressionType = $is.$length0; if ($vers === null) $vers = $rt_s(1); jl_AbstractStringBuilder_insert($is, $compressionType, $vers); $vers = new jl_String; var$5 = $is.$buffer; var$6 = var$5.data; var$2 = $is.$length0; var$7 = var$6.length; if (var$2 >= 0 && var$2 <= (var$7 - 0 | 0)) { $vers.$nativeString = $rt_charArrayToString(var$5.data, 0, var$2); var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; var$10.$message = $vers; $rt_throw(var$10); } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$10); $rt_throw(var$10); } var$2 = $is.$pos; var$3 = $is.$count; if (var$2 >= var$3) $compressionType = (-1); else { var$5 = $is.$buf1.data; $is.$pos = var$2 + 1 | 0; $compressionType = var$5[var$2] & 255; } var$12 = Long_fromInt($compressionType); $compressionType = $is.$pos; var$13 = Long_fromInt(var$3 - $compressionType | 0); if (Long_ge(var$12, var$13)) var$12 = var$13; else if (Long_lt(var$12, Long_ZERO)) var$12 = Long_ZERO; var$2 = Long_lo(Long_add(Long_fromInt($compressionType), var$12)); $is.$pos = var$2; if (var$2 >= var$3) var$2 = (-1); else { var$5 = $is.$buf1.data; $is.$pos = var$2 + 1 | 0; var$2 = var$5[var$2] & 255; } $compressionType = var$2 << 8; var$7 = $is.$pos; if (var$7 >= var$3) var$2 = (-1); else { var$5 = $is.$buf1.data; $is.$pos = var$7 + 1 | 0; var$2 = var$5[var$7] & 255; } var$12 = Long_fromInt($compressionType | var$2); $compressionType = $is.$pos; var$13 = Long_fromInt(var$3 - $compressionType | 0); if (Long_ge(var$12, var$13)) var$12 = var$13; else if (Long_lt(var$12, Long_ZERO)) var$12 = Long_ZERO; var$2 = Long_lo(Long_add(Long_fromInt($compressionType), var$12)); $is.$pos = var$2; var$12 = Long_fromInt(8); var$13 = Long_fromInt(var$3 - var$2 | 0); if (Long_ge(var$12, var$13)) var$12 = var$13; $compressionType = Long_lo(Long_add(Long_fromInt(var$2), var$12)); $is.$pos = $compressionType; if ($compressionType >= var$3) var$2 = (-1); else { var$5 = $is.$buf1.data; $is.$pos = $compressionType + 1 | 0; var$2 = var$5[$compressionType] & 255; } var$2 = var$2 << 24; var$7 = $is.$pos; if (var$7 >= var$3) var$7 = (-1); else { var$5 = $is.$buf1.data; $is.$pos = var$7 + 1 | 0; var$7 = var$5[var$7] & 255; } $compressionType = var$2 | var$7 << 16; var$7 = $is.$pos; if (var$7 >= var$3) var$7 = (-1); else { var$5 = $is.$buf1.data; $is.$pos = var$7 + 1 | 0; var$7 = var$5[var$7] & 255; } $compressionType = $compressionType | var$7 << 8; var$7 = $is.$pos; if (var$7 >= var$3) var$2 = (-1); else { var$5 = $is.$buf1.data; $is.$pos = var$7 + 1 | 0; var$2 = var$5[var$7] & 255; } $this.$numFiles = $compressionType | var$2; var$2 = $is.$pos; if (var$2 >= var$3) $compressionType = (-1); else { var$5 = $is.$buf1.data; $is.$pos = var$2 + 1 | 0; $compressionType = var$5[var$2] & 255; } a: { $compressionType = $compressionType & 65535; switch ($compressionType) { case 48: break; case 71: var$10 = new cjj_GZIPInputStream; $vers = new cjj_Inflater; var$14 = new cjj_Adler32; var$14.$s1 = Long_fromInt(1); var$14.$s2 = Long_ZERO; $vers.$adler = var$14; $vers.$finished = 0; $vers.$finished = 0; var$14 = new cjj_Inflate; var$14.$was = Long_fromInt(-1); var$14.$need_bytes = (-1); var$14.$crcbuf = $rt_createByteArray(4); var$14.$gheader = null; var$14.$tmp_string = null; var$14.$z1 = $vers; $vers.$istate = var$14; var$7 = cjj_Inflate_inflateInit(var$14, 31); if (!var$7) { cjj_InflaterInputStream__init_(var$10, $is, $vers, 512, 1); var$10.$myinflater = 1; $this.$zis = var$10; break a; } var$10 = new cjj_GZIPException; $is = new jl_StringBuilder; $is.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($is, $is.$length0, var$7, 10); jl_AbstractStringBuilder_insert($is, $is.$length0, $rt_s(107)); $vers = $vers.$msg; jl_AbstractStringBuilder_insert($is, $is.$length0, $vers); $vers = new jl_String; var$5 = $is.$buffer; var$6 = var$5.data; var$2 = $is.$length0; var$7 = var$6.length; if (var$2 >= 0 && var$2 <= (var$7 - 0 | 0)) { $vers.$nativeString = $rt_charArrayToString(var$5.data, 0, var$2); var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$10); var$10.$message = $vers; $rt_throw(var$10); } $rt_throw(jl_IndexOutOfBoundsException__init_0()); case 90: var$10 = new cjj_InflaterInputStream; $vers = new cjj_Inflater; var$14 = new cjj_Adler32; var$14.$s1 = Long_fromInt(1); var$14.$s2 = Long_ZERO; $vers.$adler = var$14; $vers.$finished = 0; $vers.$finished = 0; var$14 = new cjj_Inflate; var$14.$was = Long_fromInt(-1); var$14.$need_bytes = (-1); var$14.$crcbuf = $rt_createByteArray(4); var$14.$gheader = null; var$14.$tmp_string = null; var$14.$z1 = $vers; $vers.$istate = var$14; $compressionType = cjj_Inflate_inflateInit(var$14, 15); if ($compressionType) { var$10 = new cjj_GZIPException; $is = new jl_StringBuilder; $is.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($is, $is.$length0, $compressionType, 10); jl_AbstractStringBuilder_insert($is, $is.$length0, $rt_s(107)); $vers = $vers.$msg; jl_AbstractStringBuilder_insert($is, $is.$length0, $vers); $vers = new jl_String; var$5 = $is.$buffer; var$6 = var$5.data; var$2 = $is.$length0; var$7 = var$6.length; if (var$2 >= 0 && var$2 <= (var$7 - 0 | 0)) { $vers.$nativeString = $rt_charArrayToString(var$5.data, 0, var$2); var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$10); var$10.$message = $vers; $rt_throw(var$10); } $rt_throw(jl_IndexOutOfBoundsException__init_0()); } cjj_InflaterInputStream__init_(var$10, $is, $vers, 512, 1); var$10.$myinflater = 1; $this.$zis = var$10; break a; default: var$10 = new ji_IOException; $is = new jl_StringBuilder; $is.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($is, $is.$length0, $rt_s(370)); var$2 = $is.$length0; jl_AbstractStringBuilder_insertSpace($is, var$2, var$2 + 1 | 0); var$5 = $is.$buffer; var$6 = var$5.data; var$6[var$2] = $compressionType; $vers = new jl_String; var$2 = $is.$length0; var$7 = var$6.length; if (var$2 >= 0 && var$2 <= (var$7 - 0 | 0)) { $vers.$nativeString = $rt_charArrayToString(var$5.data, 0, var$2); var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; var$10.$message = $vers; $rt_throw(var$10); } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$10); $rt_throw(var$10); } $this.$zis = $is; } var$10 = new cjj_CRC32; var$10.$v = 0; $this.$crc32 = var$10; }, nle_EPKDecompiler_readFileNew = $this => { let $typeBytes, $data, var$3, var$4, var$5, $type, var$7, var$8, $name, $loadedCrc, $len; if ($this.$isFinished) return null; $typeBytes = $rt_createByteArray(4); $data = $typeBytes.data; $this.$zis.$read1($typeBytes); var$3 = $data.length; $typeBytes = $rt_createCharArray(var$3); var$4 = $typeBytes.data; var$5 = 0; while (var$5 < var$3) { var$4[var$5] = $data[var$5] & 255 & 65535; var$5 = var$5 + 1 | 0; } $type = new jl_String; $type.$nativeString = $rt_charArrayToString($typeBytes.data, 0, var$4.length); if (!$this.$numFiles) { if ($rt_s(3786) === $type) var$3 = 1; else if (!($type instanceof jl_String)) var$3 = 0; else { var$7 = $type; var$3 = $rt_s(3786).$nativeString !== var$7.$nativeString ? 0 : 1; } if (var$3) { $this.$isFinished = 1; return null; } var$8 = new ji_IOException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; var$8.$message = $rt_s(3787); $rt_throw(var$8); } if ($rt_s(3786) === $type) var$3 = 1; else if (!($type instanceof jl_String)) var$3 = 0; else { var$7 = $type; var$3 = $rt_s(3786).$nativeString !== var$7.$nativeString ? 0 : 1; } if (var$3) { var$8 = new ji_IOException; var$3 = $this.$numFiles; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(372)); jl_AbstractStringBuilder_insert0(var$7, var$7.$length0, var$3, 10); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(373)); $name = new jl_String; $typeBytes = var$7.$buffer; $data = $typeBytes.data; var$5 = var$7.$length0; $loadedCrc = $data.length; if (var$5 >= 0 && var$5 <= ($loadedCrc - 0 | 0)) { $name.$nativeString = $rt_charArrayToString($typeBytes.data, 0, var$5); var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; var$8.$message = $name; $rt_throw(var$8); } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$8); $rt_throw(var$8); } var$8 = $this.$zis; var$5 = var$8.$read(); $typeBytes = $rt_createCharArray(var$5); $data = $typeBytes.data; $loadedCrc = 0; while ($loadedCrc < var$5) { $data[$loadedCrc] = var$8.$read() & 255 & 65535; $loadedCrc = $loadedCrc + 1 | 0; } $name = new jl_String; $name.$nativeString = $rt_charArrayToString($typeBytes.data, 0, $data.length); var$8 = $this.$zis; $len = var$8.$read() << 24 | var$8.$read() << 16 | var$8.$read() << 8 | var$8.$read(); if ($rt_s(3788) === $type) var$3 = 1; else if (!($type instanceof jl_String)) var$3 = 0; else { var$7 = $type; var$3 = $rt_s(3788).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!var$3) { $data = $rt_createByteArray($len); $this.$zis.$read1($data); } else { if ($len < 5) { var$8 = new ji_IOException; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(374)); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $name); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(3789)); $name = new jl_String; $typeBytes = var$7.$buffer; $data = $typeBytes.data; var$5 = var$7.$length0; $loadedCrc = $data.length; if (var$5 >= 0 && var$5 <= ($loadedCrc - 0 | 0)) { $name.$nativeString = $rt_charArrayToString($typeBytes.data, 0, var$5); var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; var$8.$message = $name; $rt_throw(var$8); } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$8); $rt_throw(var$8); } var$8 = $this.$zis; $loadedCrc = var$8.$read() << 24 | var$8.$read() << 16 | var$8.$read() << 8 | var$8.$read(); $data = $rt_createByteArray($len - 5 | 0); $typeBytes = $data.data; $this.$zis.$read1($data); var$8 = $this.$crc32; var$8.$v = 0; cjj_CRC32_update(var$8, $data, 0, $typeBytes.length); if (Long_lo(Long_and(Long_fromInt($this.$crc32.$v), Long_create(4294967295, 0))) != $loadedCrc) { var$8 = new ji_IOException; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(374)); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $name); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(376)); $name = new jl_String; $typeBytes = var$7.$buffer; $data = $typeBytes.data; var$5 = var$7.$length0; $loadedCrc = $data.length; if (var$5 >= 0 && var$5 <= ($loadedCrc - 0 | 0)) { $name.$nativeString = $rt_charArrayToString($typeBytes.data, 0, var$5); var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; var$8.$message = $name; $rt_throw(var$8); } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$8); $rt_throw(var$8); } if ($this.$zis.$read() != 58) { var$8 = new ji_IOException; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(374)); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $name); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(375)); $name = new jl_String; $typeBytes = var$7.$buffer; $data = $typeBytes.data; var$5 = var$7.$length0; $loadedCrc = $data.length; if (var$5 >= 0 && var$5 <= ($loadedCrc - 0 | 0)) { $name.$nativeString = $rt_charArrayToString($typeBytes.data, 0, var$5); var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; var$8.$message = $name; $rt_throw(var$8); } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$8); $rt_throw(var$8); } } if ($this.$zis.$read() == 62) { $this.$numFiles = $this.$numFiles - 1 | 0; var$8 = new nle_EPKDecompiler$FileEntry; var$8.$type8 = $type; var$8.$name6 = $name; var$8.$data12 = $data; return var$8; } var$8 = new ji_IOException; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(378)); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $name); jl_AbstractStringBuilder_insert(var$7, var$7.$length0, $rt_s(375)); $name = new jl_String; $typeBytes = var$7.$buffer; $data = $typeBytes.data; var$5 = var$7.$length0; $loadedCrc = $data.length; if (var$5 >= 0 && var$5 <= ($loadedCrc - 0 | 0)) { $name.$nativeString = $rt_charArrayToString($typeBytes.data, 0, var$5); var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; var$8.$message = $name; $rt_throw(var$8); } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$8); $rt_throw(var$8); }, nle_EPKDecompiler_readFileOld = $this => { let var$1, var$2, $digest, $digest2, var$5, var$6, $file, $len, var$9, var$10; if ($this.$isFinished) return null; var$1 = $this.$in1; var$2 = ji_DataInputStream_readUnsignedShort(var$1); $digest = $rt_createByteArray(var$2); $digest2 = $rt_createCharArray(var$2); ji_DataInputStream_readFully(var$1, $digest, 0, var$2); var$5 = ji_DataInputStream_convertUTF8WithBuf($digest, $digest2, 0, var$2); if (var$5 === $rt_s(384)) var$2 = 1; else if (!($rt_s(384) instanceof jl_String)) var$2 = 0; else { var$1 = $rt_s(384); var$2 = var$5.$nativeString !== var$1.$nativeString ? 0 : 1; } if (var$2) { $this.$isFinished = 1; return null; } if (var$5 === $rt_s(383)) var$2 = 1; else if (!($rt_s(383) instanceof jl_String)) var$2 = 0; else { var$1 = $rt_s(383); var$2 = var$5.$nativeString !== var$1.$nativeString ? 0 : 1; } if (!var$2) { var$1 = new ji_IOException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(385); $rt_throw(var$1); } var$1 = $this.$in1; var$2 = ji_DataInputStream_readUnsignedShort(var$1); $digest = $rt_createByteArray(var$2); $digest2 = $rt_createCharArray(var$2); ji_DataInputStream_readFully(var$1, $digest, 0, var$2); var$6 = ji_DataInputStream_convertUTF8WithBuf($digest, $digest2, 0, var$2); $digest = $rt_createByteArray(20); $file = $digest.data; $digest2 = $rt_createByteArray(20); $this.$in1.$in.$read0($digest, 0, $file.length); $len = ji_DataInputStream_readInt($this.$in1); $file = $rt_createByteArray($len); var$9 = $file.data; $this.$in1.$in.$read0($file, 0, var$9.length); nle_GeneralDigest_update0($this.$dg, $file, 0, $len); nle_SHA1Digest_doFinal($this.$dg, $digest2, 0); if (ju_Arrays_equals0($digest, $digest2)) { var$5 = $this.$in1; var$2 = ji_DataInputStream_readUnsignedShort(var$5); $digest = $rt_createByteArray(var$2); $digest2 = $rt_createCharArray(var$2); ji_DataInputStream_readFully(var$5, $digest, 0, var$2); var$5 = ji_DataInputStream_convertUTF8WithBuf($digest, $digest2, 0, var$2); if ($rt_s(387) === var$5) var$2 = 1; else if (!(var$5 instanceof jl_String)) var$2 = 0; else { var$5 = var$5; var$2 = $rt_s(387).$nativeString !== var$5.$nativeString ? 0 : 1; } if (var$2) { var$1 = new nle_EPKDecompiler$FileEntry; var$1.$type8 = $rt_s(3788); var$1.$name6 = var$6; var$1.$data12 = $file; return var$1; } var$1 = new ji_IOException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = $rt_s(385); $rt_throw(var$1); } var$1 = new ji_IOException; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $rt_s(386)); var$2 = var$5.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$2, var$6); var$6 = new jl_String; $digest = var$5.$buffer; $digest2 = $digest.data; $len = var$5.$length0; var$10 = $digest2.length; if ($len >= 0 && $len <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString($digest.data, 0, $len); var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; var$1.$message = var$6; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }; function juz_InflaterInputStream() { let a = this; ji_FilterInputStream.call(a); a.$inf = null; a.$buf4 = null; a.$len = 0; a.$closed1 = 0; a.$eof4 = 0; } let juz_ZipConstants = $rt_classWithoutFields(0); function juz_ZipInputStream() { let a = this; juz_InflaterInputStream.call(a); a.$entriesEnd = 0; a.$hasDD = 0; a.$entryIn = 0; a.$inRead0 = 0; a.$lastRead = 0; a.$currentEntry1 = null; a.$hdrBuf = null; a.$crc = null; a.$nameBuf = null; a.$charBuf = null; } let juz_ZipInputStream__init_0 = ($this, $stream) => { let var$2, var$3, $$je; var$2 = new ji_PushbackInputStream; var$2.$in = $stream; var$2.$buf5 = $stream !== null ? $rt_createByteArray(512) : null; var$2.$pos3 = 512; var$3 = new juz_Inflater; var$3.$nowrap = 1; a: { try { var$3.$impl = cjj_Inflater__init_(1); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof cjj_GZIPException) { } else { throw $$e; } } } $this.$in = var$2; $this.$inf = var$3; $this.$buf4 = $rt_createByteArray(512); $this.$hdrBuf = $rt_createByteArray(26); var$2 = new juz_CRC32; var$3 = new cjj_CRC32; var$3.$v = 0; var$2.$impl0 = var$3; $this.$crc = var$2; $this.$nameBuf = $rt_createByteArray(256); $this.$charBuf = $rt_createCharArray(256); if ($stream !== null) return; $stream = new jl_NullPointerException; $stream.$suppressionEnabled = 1; $stream.$writableStackTrace = 1; $rt_throw($stream); }, juz_ZipInputStream__init_ = var_0 => { let var_1 = new juz_ZipInputStream(); juz_ZipInputStream__init_0(var_1, var_0); return var_1; }, juz_ZipInputStream_close = $this => { let var$1; if (!$this.$closed1) { juz_ZipInputStream_closeEntry($this); if (!$this.$closed1) { var$1 = $this.$inf; var$1.$inRead = 0; var$1.$inLength = 0; var$1.$impl = null; $this.$closed1 = 1; $this.$eof4 = 1; $this.$in.$close(); } } }, juz_ZipInputStream_closeEntry = $this => { let $e, $out, $inB, $e_0, $diff, var$6, $$je; if ($this.$closed1) { $e = new ji_IOException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } if ($this.$currentEntry1 === null) return; $e = null; a: { try { juz_ZipInputStream_skip($this, Long_create(4294967295, 2147483647)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $e = $$je; } else { throw $$e; } } } if ($this.$currentEntry1.$compressionMethod != 8) { $out = $this.$inRead0; $inB = $out; } else { $e_0 = $this.$inf.$impl; if ($e_0 === null) { $e = new jl_IllegalStateException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } $inB = Long_lo($e_0.$total_in); $out = Long_lo($e_0.$total_out); } $diff = $this.$entryIn - $inB | 0; if ($diff) ji_PushbackInputStream_unread($this.$in, $this.$buf4, $this.$len - $diff | 0, $diff); b: { try { juz_ZipInputStream_readAndVerifyDataDescriptor($this, $inB, $out); $e_0 = $e; break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $e_0 = $$je; } else { throw $$e; } } if ($e !== null) $e_0 = $e; } $e = $this.$inf; var$6 = $e.$impl; if (var$6 === null) { $e = new jl_NullPointerException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } $e.$finished1 = 0; $e.$needsDictionary = 0; $e.$inLength = 0; $e.$inRead = 0; $out = $e.$nowrap; $inB = 15; var$6.$finished = 0; $e = new cjj_Inflate; $e.$was = Long_fromInt(-1); $e.$need_bytes = (-1); $e.$crcbuf = $rt_createByteArray(4); $e.$gheader = null; $e.$tmp_string = null; $e.$z1 = var$6; var$6.$istate = $e; if ($out) $inB = (-15); cjj_Inflate_inflateInit($e, $inB); $this.$lastRead = 0; $this.$inRead0 = 0; $this.$entryIn = 0; $this.$len = 0; $e = $this.$crc; $e.$impl0.$v = 0; $e.$tbytes = Long_ZERO; $this.$currentEntry1 = null; if ($e_0 === null) return; if ($e_0 instanceof ji_IOException) $rt_throw($e_0); if ($e_0 instanceof jl_RuntimeException) $rt_throw($e_0); $e = new jl_AssertionError; $e_0 = $e_0.$toString(); $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $e.$message = $e_0; $rt_throw($e); }, juz_ZipInputStream_readAndVerifyDataDescriptor = ($this, $inB, $out) => { let var$3; if ($this.$hasDD) { $this.$in.$read0($this.$hdrBuf, 0, 16); if (Long_ne(juz_ZipInputStream_getLong($this, $this.$hdrBuf, 0), Long_fromInt(134695760))) { var$3 = new juz_ZipException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } $this.$currentEntry1.$crc0 = juz_ZipInputStream_getLong($this, $this.$hdrBuf, 4); $this.$currentEntry1.$compressedSize = juz_ZipInputStream_getLong($this, $this.$hdrBuf, 8); $this.$currentEntry1.$size8 = juz_ZipInputStream_getLong($this, $this.$hdrBuf, 12); } var$3 = $this.$currentEntry1; if (Long_ne(var$3.$crc0, Long_and(Long_fromInt($this.$crc.$impl0.$v), Long_create(4294967295, 0)))) { var$3 = new juz_ZipException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } if (Long_eq(var$3.$compressedSize, Long_fromInt($inB)) && Long_eq(var$3.$size8, Long_fromInt($out))) return; var$3 = new juz_ZipException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); }, juz_ZipInputStream_getNextEntry = $this => { let $count, $hdr, $version, $e, var$5, var$6, $cetime, $cemodDate, $cecompressionMethod, $cecrc, $cecompressedSize, $cesize, $flen, $elen, var$15, var$16, var$17, var$18, $flags, var$20, $$je; juz_ZipInputStream_closeEntry($this); if ($this.$entriesEnd) return null; $count = 0; while (true) { if ($count == 4) { $hdr = juz_ZipInputStream_getLong($this, $this.$hdrBuf, 0); if (Long_eq($hdr, Long_fromInt(33639248))) { $this.$entriesEnd = 1; return null; } if (Long_ne($hdr, Long_fromInt(67324752))) return null; $version = 0; while (true) { if ($version == 26) { $e = $this.$hdrBuf; var$5 = $e.data; if (((var$5[0] & 255 | (var$5[1] & 255) << 8) & 255) > 20) { var$6 = new juz_ZipException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } $version = ((var$5[2] & 255 | (var$5[3] & 255) << 8) & 8) != 8 ? 0 : 1; $this.$hasDD = $version; $cetime = var$5[6] & 255 | (var$5[7] & 255) << 8; $cemodDate = var$5[8] & 255 | (var$5[9] & 255) << 8; $cecompressionMethod = var$5[4] & 255 | (var$5[5] & 255) << 8; $cecrc = Long_ZERO; $cecompressedSize = Long_ZERO; $cesize = Long_fromInt(-1); if (!$version) { $cecrc = juz_ZipInputStream_getLong($this, $e, 10); $cecompressedSize = juz_ZipInputStream_getLong($this, $this.$hdrBuf, 14); $cesize = juz_ZipInputStream_getLong($this, $this.$hdrBuf, 18); } $e = $this.$hdrBuf.data; $flen = $e[22] & 255 | ($e[23] & 255) << 8; if (!$flen) { var$6 = new juz_ZipException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } $elen = $e[24] & 255 | ($e[25] & 255) << 8; $version = 0; if ($flen > $this.$nameBuf.data.length) { $this.$nameBuf = $rt_createByteArray($flen); $this.$charBuf = $rt_createCharArray($flen); } while (true) { if ($version == $flen) { var$15 = new jl_String; $e = $this.$nameBuf; jnc_Charset_checkCanonicalName($rt_s(86)); jnc_Charset$Charsets_$callClinit(); var$16 = jnc_Charset$Charsets_value; var$17 = $rt_s(86).$nativeString.toUpperCase(); var$18 = var$17 === $rt_s(86).$nativeString ? $rt_s(86) : jl_String__init_(var$17); a: { if (!var$18.$hashCode1) { $count = 0; while (true) { if ($count >= var$18.$nativeString.length) break a; var$18.$hashCode1 = (31 * var$18.$hashCode1 | 0) + var$18.$nativeString.charCodeAt($count) | 0; $count = $count + 1 | 0; } } } $flags = var$18.$hashCode1; var$5 = var$16.$elementData.data; var$20 = var$5[$flags & (var$5.length - 1 | 0)]; while (var$20 !== null) { if (var$20.$origKeyHash == $flags) { b: { var$16 = var$20.$key; if (var$18 !== var$16) { if (var$18 === var$16) $count = 1; else if (!(var$16 instanceof jl_String)) $count = 0; else { var$16 = var$16; $count = var$18.$nativeString !== var$16.$nativeString ? 0 : 1; } if (!$count) { $count = 0; break b; } } $count = 1; } if ($count) break; } var$20 = var$20.$next3; } var$16 = var$20 === null ? null : var$20.$value1; if (var$16 === null) { var$16 = new jnc_UnsupportedCharsetException; var$16.$suppressionEnabled = 1; var$16.$writableStackTrace = 1; var$16.$charsetName = $rt_s(86); $rt_throw(var$16); } $flags = $e.data.length; if ($flen >= 0 && $flen <= ($flags - 0 | 0)) { var$17 = new jn_ByteBufferImpl; $flen = 0 + $flen | 0; var$17.$mark = (-1); var$17.$capacity = $flags; var$17.$limit0 = $flags; var$17.$order = jn_ByteOrder_BIG_ENDIAN; var$17.$start = 0; var$17.$array0 = $e; var$17.$position0 = 0; var$17.$limit0 = $flen; var$17.$direct = 0; var$17.$readOnly0 = 0; c: { try { var$6 = jnc_CharsetDecoder_decode(jnc_CharsetDecoder_onUnmappableCharacter(jnc_CharsetDecoder_onMalformedInput(var$16.$newDecoder(), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), var$17); break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { var$16 = $$je; } else { throw $$e; } } var$17 = new jl_AssertionError; var$17.$suppressionEnabled = 1; var$17.$writableStackTrace = 1; var$17.$message = $rt_s(405); var$17.$cause = var$16; $rt_throw(var$17); } $flen = var$6.$position0; if (!$flen && var$6.$limit0 == var$6.$capacity) $e = var$6.$array1; else { $e = $rt_createCharArray(var$6.$limit0 - $flen | 0); jn_CharBuffer_get(var$6, $e, 0, $e.data.length); } var$15.$nativeString = $rt_fullArrayToString($e.data); var$6 = juz_ZipEntry__init_0(var$15); $this.$currentEntry1 = var$6; var$6.$time0 = $cetime; var$6.$modDate = $cemodDate; if ($cecompressionMethod && $cecompressionMethod != 8) { var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } d: { var$6.$compressionMethod = $cecompressionMethod; if (Long_ne($cesize, Long_fromInt(-1))) { if (Long_ge($cecrc, Long_ZERO) && Long_le($cecrc, Long_create(4294967295, 0))) { var$6.$crc0 = $cecrc; if (Long_ge($cesize, Long_ZERO) && Long_le($cesize, Long_create(4294967295, 0))) { var$6.$size8 = $cesize; var$6.$compressedSize = $cecompressedSize; break d; } var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } } e: { if ($elen > 0) { $version = 0; $e = $rt_createByteArray($elen); while (true) { if ($version == $elen) { var$5 = $e.data; var$6 = $this.$currentEntry1; if (var$5.length > 65535) { var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } var$6.$extra0 = $e; break e; } $count = $this.$in.$read0($e, $version, $elen - $version | 0); $version = $version + $count | 0; if ($count == (-1)) break; } var$6 = new ji_EOFException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } } return $this.$currentEntry1; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); $rt_throw(var$6); } $count = $this.$in.$read0($this.$nameBuf, $version, $flen - $version | 0); $version = $version + $count | 0; if ($count == (-1)) break; } var$6 = new ji_EOFException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } $count = $this.$in.$read0($this.$hdrBuf, $version, 26 - $version | 0); $version = $version + $count | 0; if ($count == (-1)) break; } var$6 = new ji_EOFException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } $version = $this.$in.$read0($this.$hdrBuf, $count, 4 - $count | 0); $count = $count + $version | 0; if ($version == (-1)) break; } return null; }, juz_ZipInputStream_read = ($this, $buffer, $start, $toRead) => { let var$4, $e, var$6, $read, $csize, $toRead_0, $$je; var$4 = $this.$closed1; if (var$4) { $e = new ji_IOException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } $e = $this.$inf; if (!$e.$finished1) { var$6 = $this.$currentEntry1; if (var$6 !== null) { $read = $buffer.data.length; if ($start <= $read && $toRead >= 0 && $start >= 0 && ($read - $start | 0) >= $toRead) { if (!var$6.$compressionMethod) { $csize = Long_lo(var$6.$size8); if ($this.$inRead0 >= $csize) return (-1); if ($this.$lastRead >= $this.$len) { $this.$lastRead = 0; $read = $this.$in.$read1($this.$buf4); $this.$len = $read; if ($read == (-1)) { $this.$eof4 = 1; return (-1); } $this.$entryIn = $this.$entryIn + $read | 0; } $read = $this.$len; var$4 = $this.$lastRead; $toRead_0 = $read - var$4 | 0; if ($toRead > $toRead_0) $toRead = $toRead_0; $read = $csize - $this.$inRead0 | 0; if ($read >= $toRead) $read = $toRead; jl_System_fastArraycopy($this.$buf4, var$4, $buffer, $start, $read); $this.$lastRead = $this.$lastRead + $read | 0; $this.$inRead0 = $this.$inRead0 + $read | 0; juz_CRC32_update($this.$crc, $buffer, $start, $read); return $read; } if ($e.$inRead != $e.$inLength ? 0 : 1) { if (var$4) { $e = new ji_IOException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } $read = $this.$in.$read1($this.$buf4); $this.$len = $read; if ($read > 0) juz_Inflater_setInput($this.$inf, $this.$buf4, 0, $read); $read = $this.$len; if ($read > 0) $this.$entryIn = $this.$entryIn + $read | 0; } a: { try { $read = juz_Inflater_inflate($this.$inf, $buffer, $start, $toRead); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof juz_DataFormatException) { $e = $$je; break a; } else { throw $$e; } } if (!$read && $this.$inf.$finished1) return (-1); juz_CRC32_update($this.$crc, $buffer, $start, $read); return $read; } var$6 = new juz_ZipException; $e = $e.$message; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; var$6.$message = $e; $rt_throw(var$6); } $e = new jl_ArrayIndexOutOfBoundsException; $e.$suppressionEnabled = 1; $e.$writableStackTrace = 1; $rt_throw($e); } } return (-1); }, juz_ZipInputStream_skip = ($this, $value) => { let var$2, $skipped, $rem, $b, var$6, var$7, $x; if (Long_lt($value, Long_ZERO)) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } $skipped = Long_ZERO; $rem = Long_fromInt(2048); if (Long_lt($value, $rem)) $rem = $value; $b = $rt_createByteArray(Long_lo($rem)); var$6 = $b.data; while (Long_ne($skipped, $value)) { $rem = Long_sub($value, $skipped); var$7 = Long_fromInt(var$6.length); if (Long_gt(var$7, $rem)) var$7 = $rem; $x = juz_ZipInputStream_read($this, $b, 0, Long_lo(var$7)); if ($x == (-1)) return $skipped; $skipped = Long_add($skipped, Long_fromInt($x)); } return $skipped; }, juz_ZipInputStream_getLong = ($this, $buffer, $off) => { $buffer = $buffer.data; return Long_or(Long_or(Long_or(Long_or(Long_ZERO, Long_fromInt($buffer[$off] & 255)), Long_fromInt(($buffer[$off + 1 | 0] & 255) << 8)), Long_fromInt(($buffer[$off + 2 | 0] & 255) << 16)), Long_shl(Long_fromInt($buffer[$off + 3 | 0] & 255), 24)); }; function nle_EPKDecompiler$FileEntry() { let a = this; jl_Object.call(a); a.$type8 = null; a.$name6 = null; a.$data12 = null; } function nle_GuiScreenLANConnecting$drawScreen$lambda$_4_0() { jl_Object.call(this); this.$_0 = null; } function nle_LANClientNetworkManager() { let a = this; jl_Object.call(a); a.$displayCode = null; a.$displayRelay = null; a.$theNetHandler = null; a.$sendBuffer = null; a.$fragmentedPacket = null; } let nle_LANClientNetworkManager_initStateNames = null, nle_LANClientNetworkManager_connectToWorld = ($sock, $displayCode, $displayRelay) => { let $connectState, var$5, var$6, $ipkt, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, $ipkt_0, var$27, var$28, var$29, var$30, $ipkt_1, var$32, $lm, $lm_0, $c, $servers, var$37, var$38, var$39, $srv, var$41, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$41 = $thread.pop();$srv = $thread.pop();var$39 = $thread.pop();var$38 = $thread.pop();var$37 = $thread.pop();$servers = $thread.pop();$c = $thread.pop();$lm_0 = $thread.pop();$lm = $thread.pop();var$32 = $thread.pop();$ipkt_1 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();$ipkt_0 = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$ipkt = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$connectState = $thread.pop();$displayRelay = $thread.pop();$displayCode = $thread.pop();$sock = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_clientICECandidate = null; nlea_EaglerAdapterImpl2_clientDescription = null; nlea_EaglerAdapterImpl2_clientDataChannelOpen = 0; nlea_EaglerAdapterImpl2_clientDataChannelClosed = 1; $connectState = 0; var$5 = 124; var$6 = 0; $ipkt = $rt_s(1187); var$8 = $rt_s(3790); var$9 = $rt_s(469); var$10 = $rt_s(1187); var$11 = $rt_s(3791); var$12 = $rt_s(469); var$13 = $rt_s(1187); var$14 = $rt_s(3792); var$15 = $rt_s(107); var$16 = $rt_s(469); var$17 = $rt_s(1187); var$18 = $rt_s(3793); var$19 = $rt_s(469); var$20 = $rt_s(1187); var$21 = $rt_s(3794); var$22 = $rt_s(469); var$23 = $rt_s(1187); var$24 = $rt_s(3795); var$25 = $rt_s(469); a: { b: { c: { d: { e: { f: { while (!$sock.$isClosed()) { $ipkt_0 = $sock.$readPacket(); if ($ipkt_0 === null) break a; if ($ipkt_0 instanceof nlesrp_IPacket00Handshake) { if ($connectState) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3796)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if (jl_System_outCache === null) { var$30 = new otcic_JSStdoutPrintStream; $ipkt_1 = new ji_ByteArrayOutputStream; $ipkt_1.$buf = $rt_createByteArray(32); var$30.$out0 = $ipkt_1; $ipkt_1 = new jl_StringBuilder; jl_Object__init_($ipkt_1); $ipkt_1.$buffer = $rt_createCharArray(16); var$30.$sb = $ipkt_1; var$30.$buffer0 = $rt_createCharArray(32); var$30.$autoFlush = 0; var$30.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$30; } var$30 = $ipkt_0.$connectionCode; $ipkt_1 = new jl_StringBuilder; $ipkt_1.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, $ipkt); jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); $connectState = $ipkt_1.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_1, $connectState, $connectState + 1 | 0); $ipkt_1.$buffer.data[$connectState] = var$5; jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, var$8); $connectState = $ipkt_1.$length0; if (var$30 === null) var$30 = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_1, $connectState, var$30); $ipkt_0 = new jl_String; var$27 = $ipkt_1.$buffer; var$28 = var$27.data; var$32 = $ipkt_1.$length0; $connectState = var$28.length; if (var$32 >= 0 && var$32 <= ($connectState - 0 | 0)) { $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$32); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$9)); $connectState = 1; break a; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if (!($ipkt_0 instanceof nlesrp_IPacket01ICEServers)) { if ($ipkt_0 instanceof nlesrp_IPacket03ICECandidate) { if ($connectState != 2) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3797)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt = $ipkt_0; if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$8; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$8; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$6 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$6, var$6 + 1 | 0); $ipkt_0.$buffer.data[var$6] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3798)); var$8 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStdout($rt_ustr(var$8)); $rt_putStdout("\n"); $ipkt_0 = $ipkt.$candidate; nlea_EaglerAdapterImpl2_rtcLANClient.signalRemoteICECandidate($rt_ustr($ipkt_0)); $lm = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!nlea_EaglerAdapterImpl2_clientDataChannelOpen) $connectState = 0; else { nlea_EaglerAdapterImpl2_clientDataChannelOpen = 0; $connectState = 1; } if ($connectState) { if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$8; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$8; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$6 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$6, var$6 + 1 | 0); $ipkt_0.$buffer.data[var$6] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3799)); var$8 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStdout($rt_ustr(var$8)); $rt_putStdout("\n"); $ipkt_0 = new nlesrp_IPacket05ClientSuccess; $ipkt = $ipkt.$peerId; nlesrp_IPacket_$callClinit(); $ipkt_0.$clientId0 = $ipkt; $sock.$writePacket0($ipkt_0); $sock.$close(); $sock = new nle_LANClientNetworkManager; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$sendBuffer = $ipkt_0; $sock.$fragmentedPacket = $rt_createByteArray(0); $sock.$displayCode = $displayCode; $sock.$displayRelay = $displayRelay; $sock.$theNetHandler = null; return $sock; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $connectState = 20; $ptr = 2; continue main; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if (!($ipkt_0 instanceof nlesrp_IPacket04Description)) { if (!($ipkt_0 instanceof nlesrp_IPacketFFErrorCode)) { if (jl_System_errCache === null) { $displayCode = new otcic_JSStderrPrintStream; $ipkt = new ji_ByteArrayOutputStream; $ipkt.$buf = $rt_createByteArray(32); $displayCode.$out0 = $ipkt; $ipkt = new jl_StringBuilder; jl_Object__init_($ipkt); $ipkt.$buffer = $rt_createCharArray(16); $displayCode.$sb = $ipkt; $displayCode.$buffer0 = $rt_createCharArray(32); $displayCode.$autoFlush = 0; $displayCode.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $displayCode; } $ipkt_0 = $ipkt_0.constructor; if ($ipkt_0 === null) $displayCode = null; else { $displayCode = $ipkt_0.classObject; if ($displayCode === null) { $displayCode = new jl_Class; $displayCode.$platformClass = $ipkt_0; $ipkt_0.classObject = $displayCode; } } $displayCode = jl_Class_getSimpleName($displayCode); $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1192)); $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); $displayCode = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $displayCode.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($displayCode)); $rt_putStderr("\n"); $sock.$close(); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt_0 = $ipkt_0; if (jl_System_errCache === null) { $ipkt = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $ipkt.$out0 = var$8; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); $ipkt.$sb = var$8; $ipkt.$buffer0 = $rt_createCharArray(32); $ipkt.$autoFlush = 0; $ipkt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $ipkt; } $connectState = $ipkt_0.$code; $ipkt = $connectState < 0 && $connectState >= nlesrp_IPacketFFErrorCode_packetTypes.data.length ? $rt_s(541) : nlesrp_IPacketFFErrorCode_packetTypes.data[$connectState]; $ipkt_0 = $ipkt_0.$desc0; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1187)); var$6 = var$8.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$6, $displayRelay); var$6 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$6, var$6 + 1 | 0); var$8.$buffer.data[var$6] = var$5; var$6 = var$8.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$6, $displayCode); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3800)); var$6 = var$8.$length0; if ($ipkt === null) $ipkt = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$6, $ipkt); var$29 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$29, var$29 + 1 | 0); var$8.$buffer.data[var$29] = 40; jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $connectState, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1194)); $connectState = var$8.$length0; if ($ipkt_0 === null) $ipkt_0 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $connectState, $ipkt_0); $displayCode = new jl_String; var$27 = var$8.$buffer; var$28 = var$27.data; var$6 = var$8.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $displayCode.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($displayCode)); $rt_putStderr("\n"); while (true) { $displayCode = $sock.$getException(); if ($displayCode === null) break; if (jl_System_errCache === null) { $displayRelay = new otcic_JSStderrPrintStream; ji_PrintStream__init_($displayRelay, ji_ByteArrayOutputStream__init_(32)); jl_System_errCache = $displayRelay; } jl_Throwable_printStackTrace($displayCode, jl_System_errCache); } $sock.$close(); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if ($connectState != 3) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3801)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt_1 = $ipkt_0; if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$20); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$29 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$29, var$29 + 1 | 0); $ipkt_0.$buffer.data[var$29] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$21); var$30 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$29 = $ipkt_0.$length0; var$32 = var$28.length; if (var$29 < 0) break b; if (var$29 > (var$32 - 0 | 0)) break b; var$30.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr(var$30)); $rt_putStdout($rt_ustr(var$22)); $ipkt_1 = $ipkt_1.$description; nlea_EaglerAdapterImpl2_rtcLANClient.signalRemoteDescription($rt_ustr($ipkt_1)); $lm_0 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $c = nlea_EaglerAdapterImpl2_clientICECandidate; if ($c === null) $c = null; else nlea_EaglerAdapterImpl2_clientICECandidate = null; if ($c === null) { $connectState = 20; $ptr = 3; continue main; } if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$23); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$29 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$29, var$29 + 1 | 0); $ipkt_0.$buffer.data[var$29] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$24); var$30 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$29 = $ipkt_0.$length0; var$32 = var$28.length; if (var$29 < 0) break c; if (var$29 > (var$32 - 0 | 0)) break c; var$30.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr(var$30)); $rt_putStdout($rt_ustr(var$25)); $ipkt_0 = new nlesrp_IPacket03ICECandidate; nlesrp_IPacket_$callClinit(); $ipkt_0.$peerId = $rt_s(18); $ipkt_0.$candidate = $c; $sock.$writePacket0($ipkt_0); $connectState = 2; continue; } if ($connectState != 1) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3802)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt_1 = $ipkt_0; if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } var$30 = new jl_StringBuilder; var$30.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$10); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); $connectState = var$30.$length0; jl_AbstractStringBuilder_insertSpace(var$30, $connectState, $connectState + 1 | 0); var$30.$buffer.data[$connectState] = var$5; jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$11); $ipkt_0 = new jl_String; var$27 = var$30.$buffer; var$28 = var$27.data; var$29 = var$30.$length0; var$32 = var$28.length; if (var$29 < 0) break e; if (var$29 > (var$32 - 0 | 0)) break e; $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$12)); $servers = new ju_ArrayList; $servers.$array = $rt_createArray(jl_Object, 10); $ipkt_1 = $ipkt_1.$servers0; var$37 = $ipkt_1.$modCount; var$38 = $ipkt_1.$size(); $connectState = var$6; while ($connectState >= var$38 ? 0 : 1) { if (var$37 < $ipkt_1.$modCount) { $sock = new ju_ConcurrentModificationException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; $rt_throw($sock); } var$39 = $connectState + 1 | 0; $srv = $ipkt_1.$get($connectState); if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = $srv.$type3.$name0; $c = $srv.$address0; var$41 = new jl_StringBuilder; var$41.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, var$13); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); $connectState = var$41.$length0; jl_AbstractStringBuilder_insertSpace(var$41, $connectState, $connectState + 1 | 0); var$41.$buffer.data[$connectState] = var$5; jl_AbstractStringBuilder_insert(var$41, var$41.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, var$14); $connectState = var$41.$length0; if ($ipkt_0 === null) $ipkt_0 = $rt_s(1); jl_AbstractStringBuilder_insert(var$41, $connectState, $ipkt_0); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, var$15); $connectState = var$41.$length0; if ($c === null) $c = $rt_s(1); jl_AbstractStringBuilder_insert(var$41, $connectState, $c); $ipkt_0 = new jl_String; var$27 = var$41.$buffer; var$28 = var$27.data; var$29 = var$41.$length0; var$32 = var$28.length; if (var$29 < 0) break d; if (var$29 > (var$32 - 0 | 0)) break d; $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$16)); $ipkt_0 = nlesrp_ICEServerSet$RelayServer_getICEString($srv); ju_ArrayList_ensureCapacity($servers, $servers.$size0 + 1 | 0); var$27 = $servers.$array.data; var$29 = $servers.$size0; $servers.$size0 = var$29 + 1 | 0; var$27[var$29] = $ipkt_0; $servers.$modCount = $servers.$modCount + 1 | 0; $connectState = var$39; } nlea_EaglerAdapterImpl2_clientLANSetICEServersAndConnect(ju_AbstractCollection_toArray($servers, $rt_createArray(jl_String, $servers.$size0))); $lm_0 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $c = nlea_EaglerAdapterImpl2_clientDescription; if ($c === null) $c = null; else nlea_EaglerAdapterImpl2_clientDescription = null; if ($c === null) { $connectState = 20; $ptr = 4; continue main; } if (jl_System_outCache === null) { var$30 = new otcic_JSStdoutPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); var$30.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); var$30.$sb = $ipkt_0; var$30.$buffer0 = $rt_createCharArray(32); var$30.$autoFlush = 0; var$30.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$30; } var$30 = new jl_StringBuilder; var$30.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$17); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$29 = var$30.$length0; jl_AbstractStringBuilder_insertSpace(var$30, var$29, var$29 + 1 | 0); var$30.$buffer.data[var$29] = var$5; jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$18); $ipkt_0 = new jl_String; var$27 = var$30.$buffer; var$28 = var$27.data; var$29 = var$30.$length0; var$32 = var$28.length; if (var$29 < 0) break f; if (var$29 > (var$32 - 0 | 0)) break f; $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$19)); $ipkt_0 = new nlesrp_IPacket04Description; nlesrp_IPacket_$callClinit(); $ipkt_0.$peerId0 = $rt_s(18); $ipkt_0.$description = $c; $sock.$writePacket0($ipkt_0); $connectState = 3; } return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } var$29 = 20; $ptr = 1; case 1: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$(var$29); if ($rt_suspending()) { break main; } a: { b: { c: { d: { e: { f: { while (!$sock.$isClosed()) { $ipkt_0 = $sock.$readPacket(); if ($ipkt_0 === null) break a; if ($ipkt_0 instanceof nlesrp_IPacket00Handshake) { if ($connectState) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3796)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if (jl_System_outCache === null) { var$30 = new otcic_JSStdoutPrintStream; $ipkt_1 = new ji_ByteArrayOutputStream; $ipkt_1.$buf = $rt_createByteArray(32); var$30.$out0 = $ipkt_1; $ipkt_1 = new jl_StringBuilder; jl_Object__init_($ipkt_1); $ipkt_1.$buffer = $rt_createCharArray(16); var$30.$sb = $ipkt_1; var$30.$buffer0 = $rt_createCharArray(32); var$30.$autoFlush = 0; var$30.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$30; } var$30 = $ipkt_0.$connectionCode; $ipkt_1 = new jl_StringBuilder; $ipkt_1.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, $ipkt); jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); $connectState = $ipkt_1.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_1, $connectState, $connectState + 1 | 0); $ipkt_1.$buffer.data[$connectState] = var$5; jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, var$8); $connectState = $ipkt_1.$length0; if (var$30 === null) var$30 = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_1, $connectState, var$30); $ipkt_0 = new jl_String; var$27 = $ipkt_1.$buffer; var$28 = var$27.data; var$32 = $ipkt_1.$length0; $connectState = var$28.length; if (var$32 >= 0 && var$32 <= ($connectState - 0 | 0)) { $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$32); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$9)); $connectState = 1; break a; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if (!($ipkt_0 instanceof nlesrp_IPacket01ICEServers)) { if ($ipkt_0 instanceof nlesrp_IPacket03ICECandidate) { if ($connectState != 2) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3797)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt = $ipkt_0; if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$8; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$8; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$6 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$6, var$6 + 1 | 0); $ipkt_0.$buffer.data[var$6] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3798)); var$8 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStdout($rt_ustr(var$8)); $rt_putStdout("\n"); $ipkt_0 = $ipkt.$candidate; nlea_EaglerAdapterImpl2_rtcLANClient.signalRemoteICECandidate($rt_ustr($ipkt_0)); $lm = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!nlea_EaglerAdapterImpl2_clientDataChannelOpen) $connectState = 0; else { nlea_EaglerAdapterImpl2_clientDataChannelOpen = 0; $connectState = 1; } if ($connectState) { if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$8; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$8; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$6 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$6, var$6 + 1 | 0); $ipkt_0.$buffer.data[var$6] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3799)); var$8 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStdout($rt_ustr(var$8)); $rt_putStdout("\n"); $ipkt_0 = new nlesrp_IPacket05ClientSuccess; $ipkt = $ipkt.$peerId; nlesrp_IPacket_$callClinit(); $ipkt_0.$clientId0 = $ipkt; $sock.$writePacket0($ipkt_0); $sock.$close(); $sock = new nle_LANClientNetworkManager; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$sendBuffer = $ipkt_0; $sock.$fragmentedPacket = $rt_createByteArray(0); $sock.$displayCode = $displayCode; $sock.$displayRelay = $displayRelay; $sock.$theNetHandler = null; return $sock; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $connectState = 20; $ptr = 2; continue main; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if (!($ipkt_0 instanceof nlesrp_IPacket04Description)) { if (!($ipkt_0 instanceof nlesrp_IPacketFFErrorCode)) { if (jl_System_errCache === null) { $displayCode = new otcic_JSStderrPrintStream; $ipkt = new ji_ByteArrayOutputStream; $ipkt.$buf = $rt_createByteArray(32); $displayCode.$out0 = $ipkt; $ipkt = new jl_StringBuilder; jl_Object__init_($ipkt); $ipkt.$buffer = $rt_createCharArray(16); $displayCode.$sb = $ipkt; $displayCode.$buffer0 = $rt_createCharArray(32); $displayCode.$autoFlush = 0; $displayCode.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $displayCode; } $ipkt_0 = $ipkt_0.constructor; if ($ipkt_0 === null) $displayCode = null; else { $displayCode = $ipkt_0.classObject; if ($displayCode === null) { $displayCode = new jl_Class; $displayCode.$platformClass = $ipkt_0; $ipkt_0.classObject = $displayCode; } } $displayCode = jl_Class_getSimpleName($displayCode); $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1192)); $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); $displayCode = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $displayCode.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($displayCode)); $rt_putStderr("\n"); $sock.$close(); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt_0 = $ipkt_0; if (jl_System_errCache === null) { $ipkt = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $ipkt.$out0 = var$8; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); $ipkt.$sb = var$8; $ipkt.$buffer0 = $rt_createCharArray(32); $ipkt.$autoFlush = 0; $ipkt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $ipkt; } $connectState = $ipkt_0.$code; $ipkt = $connectState < 0 && $connectState >= nlesrp_IPacketFFErrorCode_packetTypes.data.length ? $rt_s(541) : nlesrp_IPacketFFErrorCode_packetTypes.data[$connectState]; $ipkt_0 = $ipkt_0.$desc0; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1187)); var$6 = var$8.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$6, $displayRelay); var$6 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$6, var$6 + 1 | 0); var$8.$buffer.data[var$6] = var$5; var$6 = var$8.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$6, $displayCode); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3800)); var$6 = var$8.$length0; if ($ipkt === null) $ipkt = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$6, $ipkt); var$29 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$29, var$29 + 1 | 0); var$8.$buffer.data[var$29] = 40; jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $connectState, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1194)); $connectState = var$8.$length0; if ($ipkt_0 === null) $ipkt_0 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $connectState, $ipkt_0); $displayCode = new jl_String; var$27 = var$8.$buffer; var$28 = var$27.data; var$6 = var$8.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $displayCode.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($displayCode)); $rt_putStderr("\n"); while (true) { $displayCode = $sock.$getException(); if ($displayCode === null) break; if (jl_System_errCache === null) { $displayRelay = new otcic_JSStderrPrintStream; ji_PrintStream__init_($displayRelay, ji_ByteArrayOutputStream__init_(32)); jl_System_errCache = $displayRelay; } jl_Throwable_printStackTrace($displayCode, jl_System_errCache); } $sock.$close(); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if ($connectState != 3) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3801)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt_1 = $ipkt_0; if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$20); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$29 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$29, var$29 + 1 | 0); $ipkt_0.$buffer.data[var$29] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$21); var$30 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$29 = $ipkt_0.$length0; var$32 = var$28.length; if (var$29 < 0) break b; if (var$29 > (var$32 - 0 | 0)) break b; var$30.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr(var$30)); $rt_putStdout($rt_ustr(var$22)); $ipkt_1 = $ipkt_1.$description; nlea_EaglerAdapterImpl2_rtcLANClient.signalRemoteDescription($rt_ustr($ipkt_1)); $lm_0 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $c = nlea_EaglerAdapterImpl2_clientICECandidate; if ($c === null) $c = null; else nlea_EaglerAdapterImpl2_clientICECandidate = null; if ($c === null) { $connectState = 20; $ptr = 3; continue main; } if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$23); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$29 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$29, var$29 + 1 | 0); $ipkt_0.$buffer.data[var$29] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$24); var$30 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$29 = $ipkt_0.$length0; var$32 = var$28.length; if (var$29 < 0) break c; if (var$29 > (var$32 - 0 | 0)) break c; var$30.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr(var$30)); $rt_putStdout($rt_ustr(var$25)); $ipkt_0 = new nlesrp_IPacket03ICECandidate; nlesrp_IPacket_$callClinit(); $ipkt_0.$peerId = $rt_s(18); $ipkt_0.$candidate = $c; $sock.$writePacket0($ipkt_0); $connectState = 2; continue; } if ($connectState != 1) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3802)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt_1 = $ipkt_0; if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } var$30 = new jl_StringBuilder; var$30.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$10); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); $connectState = var$30.$length0; jl_AbstractStringBuilder_insertSpace(var$30, $connectState, $connectState + 1 | 0); var$30.$buffer.data[$connectState] = var$5; jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$11); $ipkt_0 = new jl_String; var$27 = var$30.$buffer; var$28 = var$27.data; var$29 = var$30.$length0; var$32 = var$28.length; if (var$29 < 0) break e; if (var$29 > (var$32 - 0 | 0)) break e; $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$12)); $servers = new ju_ArrayList; $servers.$array = $rt_createArray(jl_Object, 10); $ipkt_1 = $ipkt_1.$servers0; var$37 = $ipkt_1.$modCount; var$38 = $ipkt_1.$size(); $connectState = var$6; while ($connectState >= var$38 ? 0 : 1) { if (var$37 < $ipkt_1.$modCount) { $sock = new ju_ConcurrentModificationException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; $rt_throw($sock); } var$39 = $connectState + 1 | 0; $srv = $ipkt_1.$get($connectState); if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = $srv.$type3.$name0; $c = $srv.$address0; var$41 = new jl_StringBuilder; var$41.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, var$13); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); $connectState = var$41.$length0; jl_AbstractStringBuilder_insertSpace(var$41, $connectState, $connectState + 1 | 0); var$41.$buffer.data[$connectState] = var$5; jl_AbstractStringBuilder_insert(var$41, var$41.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, var$14); $connectState = var$41.$length0; if ($ipkt_0 === null) $ipkt_0 = $rt_s(1); jl_AbstractStringBuilder_insert(var$41, $connectState, $ipkt_0); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, var$15); $connectState = var$41.$length0; if ($c === null) $c = $rt_s(1); jl_AbstractStringBuilder_insert(var$41, $connectState, $c); $ipkt_0 = new jl_String; var$27 = var$41.$buffer; var$28 = var$27.data; var$29 = var$41.$length0; var$32 = var$28.length; if (var$29 < 0) break d; if (var$29 > (var$32 - 0 | 0)) break d; $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$16)); $ipkt_0 = nlesrp_ICEServerSet$RelayServer_getICEString($srv); ju_ArrayList_ensureCapacity($servers, $servers.$size0 + 1 | 0); var$27 = $servers.$array.data; var$29 = $servers.$size0; $servers.$size0 = var$29 + 1 | 0; var$27[var$29] = $ipkt_0; $servers.$modCount = $servers.$modCount + 1 | 0; $connectState = var$39; } nlea_EaglerAdapterImpl2_clientLANSetICEServersAndConnect(ju_AbstractCollection_toArray($servers, $rt_createArray(jl_String, $servers.$size0))); $lm_0 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $c = nlea_EaglerAdapterImpl2_clientDescription; if ($c === null) $c = null; else nlea_EaglerAdapterImpl2_clientDescription = null; if ($c === null) { $connectState = 20; $ptr = 4; continue main; } if (jl_System_outCache === null) { var$30 = new otcic_JSStdoutPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); var$30.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); var$30.$sb = $ipkt_0; var$30.$buffer0 = $rt_createCharArray(32); var$30.$autoFlush = 0; var$30.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$30; } var$30 = new jl_StringBuilder; var$30.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$17); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$29 = var$30.$length0; jl_AbstractStringBuilder_insertSpace(var$30, var$29, var$29 + 1 | 0); var$30.$buffer.data[var$29] = var$5; jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$18); $ipkt_0 = new jl_String; var$27 = var$30.$buffer; var$28 = var$27.data; var$29 = var$30.$length0; var$32 = var$28.length; if (var$29 < 0) break f; if (var$29 > (var$32 - 0 | 0)) break f; $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$19)); $ipkt_0 = new nlesrp_IPacket04Description; nlesrp_IPacket_$callClinit(); $ipkt_0.$peerId0 = $rt_s(18); $ipkt_0.$description = $c; $sock.$writePacket0($ipkt_0); $connectState = 3; } return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } var$29 = 20; continue main; case 2: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($connectState); if ($rt_suspending()) { break main; } if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $lm), Long_fromInt(10000))) { $ipkt_0 = new nlesrp_IPacket06ClientFailure; $ipkt = $ipkt.$peerId; nlesrp_IPacket_$callClinit(); $ipkt_0.$clientId1 = $ipkt; $sock.$writePacket0($ipkt_0); $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = new jl_StringBuilder; $sock.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($sock, $sock.$length0, $rt_s(1187)); $connectState = $sock.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($sock, $connectState, $displayRelay); $connectState = $sock.$length0; jl_AbstractStringBuilder_insertSpace($sock, $connectState, $connectState + 1 | 0); $sock.$buffer.data[$connectState] = var$5; $connectState = $sock.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($sock, $connectState, $displayCode); jl_AbstractStringBuilder_insert($sock, $sock.$length0, $rt_s(3803)); $displayCode = new jl_String; var$27 = $sock.$buffer; var$28 = var$27.data; var$6 = $sock.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $displayCode.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($displayCode)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if (!nlea_EaglerAdapterImpl2_clientDataChannelOpen) $connectState = 0; else { nlea_EaglerAdapterImpl2_clientDataChannelOpen = 0; $connectState = 1; } if ($connectState) { if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$8; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$8; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$6 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$6, var$6 + 1 | 0); $ipkt_0.$buffer.data[var$6] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3799)); var$8 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStdout($rt_ustr(var$8)); $rt_putStdout("\n"); $ipkt_0 = new nlesrp_IPacket05ClientSuccess; $ipkt = $ipkt.$peerId; nlesrp_IPacket_$callClinit(); $ipkt_0.$clientId0 = $ipkt; $sock.$writePacket0($ipkt_0); $sock.$close(); $sock = new nle_LANClientNetworkManager; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$sendBuffer = $ipkt_0; $sock.$fragmentedPacket = $rt_createByteArray(0); $sock.$displayCode = $displayCode; $sock.$displayRelay = $displayRelay; $sock.$theNetHandler = null; return $sock; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $connectState = 20; continue main; case 3: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($connectState); if ($rt_suspending()) { break main; } if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $lm_0), Long_fromInt(10000))) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = new jl_StringBuilder; $sock.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($sock, $sock.$length0, $rt_s(1187)); $connectState = $sock.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($sock, $connectState, $displayRelay); $connectState = $sock.$length0; jl_AbstractStringBuilder_insertSpace($sock, $connectState, $connectState + 1 | 0); $sock.$buffer.data[$connectState] = var$5; $connectState = $sock.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($sock, $connectState, $displayCode); jl_AbstractStringBuilder_insert($sock, $sock.$length0, $rt_s(3804)); $displayCode = new jl_String; var$27 = $sock.$buffer; var$28 = var$27.data; var$6 = $sock.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $displayCode.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($displayCode)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } e: { g: { h: { i: { j: { k: { l: while (true) { $c = nlea_EaglerAdapterImpl2_clientICECandidate; if ($c === null) $c = null; else nlea_EaglerAdapterImpl2_clientICECandidate = null; if ($c === null) { $connectState = 20; continue main; } if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$23); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$29 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$29, var$29 + 1 | 0); $ipkt_0.$buffer.data[var$29] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$24); var$30 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$29 = $ipkt_0.$length0; var$32 = var$28.length; if (var$29 < 0) break g; if (var$29 > (var$32 - 0 | 0)) break g; var$30.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr(var$30)); $rt_putStdout($rt_ustr(var$25)); $ipkt_0 = new nlesrp_IPacket03ICECandidate; nlesrp_IPacket_$callClinit(); $ipkt_0.$peerId = $rt_s(18); $ipkt_0.$candidate = $c; $sock.$writePacket0($ipkt_0); $connectState = 2; while (true) { if ($sock.$isClosed()) return null; $ipkt_0 = $sock.$readPacket(); if ($ipkt_0 === null) break l; if ($ipkt_0 instanceof nlesrp_IPacket00Handshake) { if ($connectState) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3796)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if (jl_System_outCache === null) { var$30 = new otcic_JSStdoutPrintStream; $ipkt_1 = new ji_ByteArrayOutputStream; $ipkt_1.$buf = $rt_createByteArray(32); var$30.$out0 = $ipkt_1; $ipkt_1 = new jl_StringBuilder; jl_Object__init_($ipkt_1); $ipkt_1.$buffer = $rt_createCharArray(16); var$30.$sb = $ipkt_1; var$30.$buffer0 = $rt_createCharArray(32); var$30.$autoFlush = 0; var$30.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$30; } var$30 = $ipkt_0.$connectionCode; $ipkt_1 = new jl_StringBuilder; $ipkt_1.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, $ipkt); jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); $connectState = $ipkt_1.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_1, $connectState, $connectState + 1 | 0); $ipkt_1.$buffer.data[$connectState] = var$5; jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, var$8); $connectState = $ipkt_1.$length0; if (var$30 === null) var$30 = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_1, $connectState, var$30); $ipkt_0 = new jl_String; var$27 = $ipkt_1.$buffer; var$28 = var$27.data; var$32 = $ipkt_1.$length0; $connectState = var$28.length; if (var$32 >= 0 && var$32 <= ($connectState - 0 | 0)) { $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$32); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$9)); $connectState = 1; break e; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if (!($ipkt_0 instanceof nlesrp_IPacket01ICEServers)) break; if ($connectState != 1) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3802)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt_1 = $ipkt_0; if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } var$30 = new jl_StringBuilder; var$30.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$10); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); $connectState = var$30.$length0; jl_AbstractStringBuilder_insertSpace(var$30, $connectState, $connectState + 1 | 0); var$30.$buffer.data[$connectState] = var$5; jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$11); $ipkt_0 = new jl_String; var$27 = var$30.$buffer; var$28 = var$27.data; var$29 = var$30.$length0; var$32 = var$28.length; if (var$29 < 0) break i; if (var$29 > (var$32 - 0 | 0)) break i; $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$12)); $servers = new ju_ArrayList; $servers.$array = $rt_createArray(jl_Object, 10); $ipkt_1 = $ipkt_1.$servers0; var$37 = $ipkt_1.$modCount; var$38 = $ipkt_1.$size(); $connectState = var$6; while ($connectState >= var$38 ? 0 : 1) { if (var$37 < $ipkt_1.$modCount) { $sock = new ju_ConcurrentModificationException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; $rt_throw($sock); } var$39 = $connectState + 1 | 0; $srv = $ipkt_1.$get($connectState); if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = $srv.$type3.$name0; $c = $srv.$address0; var$41 = new jl_StringBuilder; var$41.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, var$13); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); $connectState = var$41.$length0; jl_AbstractStringBuilder_insertSpace(var$41, $connectState, $connectState + 1 | 0); var$41.$buffer.data[$connectState] = var$5; jl_AbstractStringBuilder_insert(var$41, var$41.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, var$14); $connectState = var$41.$length0; if ($ipkt_0 === null) $ipkt_0 = $rt_s(1); jl_AbstractStringBuilder_insert(var$41, $connectState, $ipkt_0); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, var$15); $connectState = var$41.$length0; if ($c === null) $c = $rt_s(1); jl_AbstractStringBuilder_insert(var$41, $connectState, $c); $ipkt_0 = new jl_String; var$27 = var$41.$buffer; var$28 = var$27.data; var$29 = var$41.$length0; var$32 = var$28.length; if (var$29 < 0) break h; if (var$29 > (var$32 - 0 | 0)) break h; $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$16)); $ipkt_0 = nlesrp_ICEServerSet$RelayServer_getICEString($srv); ju_ArrayList_ensureCapacity($servers, $servers.$size0 + 1 | 0); var$27 = $servers.$array.data; var$29 = $servers.$size0; $servers.$size0 = var$29 + 1 | 0; var$27[var$29] = $ipkt_0; $servers.$modCount = $servers.$modCount + 1 | 0; $connectState = var$39; } nlea_EaglerAdapterImpl2_clientLANSetICEServersAndConnect(ju_AbstractCollection_toArray($servers, $rt_createArray(jl_String, $servers.$size0))); $lm_0 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $c = nlea_EaglerAdapterImpl2_clientDescription; if ($c === null) $c = null; else nlea_EaglerAdapterImpl2_clientDescription = null; if ($c === null) { $connectState = 20; $ptr = 4; continue main; } if (jl_System_outCache === null) { var$30 = new otcic_JSStdoutPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); var$30.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); var$30.$sb = $ipkt_0; var$30.$buffer0 = $rt_createCharArray(32); var$30.$autoFlush = 0; var$30.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$30; } var$30 = new jl_StringBuilder; var$30.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$17); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$29 = var$30.$length0; jl_AbstractStringBuilder_insertSpace(var$30, var$29, var$29 + 1 | 0); var$30.$buffer.data[var$29] = var$5; jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$18); $ipkt_0 = new jl_String; var$27 = var$30.$buffer; var$28 = var$27.data; var$29 = var$30.$length0; var$32 = var$28.length; if (var$29 < 0) break j; if (var$29 > (var$32 - 0 | 0)) break j; $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$19)); $ipkt_0 = new nlesrp_IPacket04Description; nlesrp_IPacket_$callClinit(); $ipkt_0.$peerId0 = $rt_s(18); $ipkt_0.$description = $c; $sock.$writePacket0($ipkt_0); $connectState = 3; } if ($ipkt_0 instanceof nlesrp_IPacket03ICECandidate) { if ($connectState != 2) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3797)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt = $ipkt_0; if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$8; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$8; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$6 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$6, var$6 + 1 | 0); $ipkt_0.$buffer.data[var$6] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3798)); var$8 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStdout($rt_ustr(var$8)); $rt_putStdout("\n"); $ipkt_0 = $ipkt.$candidate; nlea_EaglerAdapterImpl2_rtcLANClient.signalRemoteICECandidate($rt_ustr($ipkt_0)); $lm = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!nlea_EaglerAdapterImpl2_clientDataChannelOpen) $connectState = 0; else { nlea_EaglerAdapterImpl2_clientDataChannelOpen = 0; $connectState = 1; } if ($connectState) { if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$8; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$8; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$6 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$6, var$6 + 1 | 0); $ipkt_0.$buffer.data[var$6] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3799)); var$8 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStdout($rt_ustr(var$8)); $rt_putStdout("\n"); $ipkt_0 = new nlesrp_IPacket05ClientSuccess; $ipkt = $ipkt.$peerId; nlesrp_IPacket_$callClinit(); $ipkt_0.$clientId0 = $ipkt; $sock.$writePacket0($ipkt_0); $sock.$close(); $sock = new nle_LANClientNetworkManager; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$sendBuffer = $ipkt_0; $sock.$fragmentedPacket = $rt_createByteArray(0); $sock.$displayCode = $displayCode; $sock.$displayRelay = $displayRelay; $sock.$theNetHandler = null; return $sock; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $connectState = 20; $ptr = 2; continue main; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if (!($ipkt_0 instanceof nlesrp_IPacket04Description)) { if (!($ipkt_0 instanceof nlesrp_IPacketFFErrorCode)) { if (jl_System_errCache === null) { $displayCode = new otcic_JSStderrPrintStream; $ipkt = new ji_ByteArrayOutputStream; $ipkt.$buf = $rt_createByteArray(32); $displayCode.$out0 = $ipkt; $ipkt = new jl_StringBuilder; jl_Object__init_($ipkt); $ipkt.$buffer = $rt_createCharArray(16); $displayCode.$sb = $ipkt; $displayCode.$buffer0 = $rt_createCharArray(32); $displayCode.$autoFlush = 0; $displayCode.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $displayCode; } $ipkt_0 = $ipkt_0.constructor; if ($ipkt_0 === null) $displayCode = null; else { $displayCode = $ipkt_0.classObject; if ($displayCode === null) { $displayCode = new jl_Class; $displayCode.$platformClass = $ipkt_0; $ipkt_0.classObject = $displayCode; } } $displayCode = jl_Class_getSimpleName($displayCode); $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1192)); $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); $displayCode = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $displayCode.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($displayCode)); $rt_putStderr("\n"); $sock.$close(); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt_0 = $ipkt_0; if (jl_System_errCache === null) { $ipkt = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $ipkt.$out0 = var$8; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); $ipkt.$sb = var$8; $ipkt.$buffer0 = $rt_createCharArray(32); $ipkt.$autoFlush = 0; $ipkt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $ipkt; } $connectState = $ipkt_0.$code; $ipkt = $connectState < 0 && $connectState >= nlesrp_IPacketFFErrorCode_packetTypes.data.length ? $rt_s(541) : nlesrp_IPacketFFErrorCode_packetTypes.data[$connectState]; $ipkt_0 = $ipkt_0.$desc0; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1187)); var$6 = var$8.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$6, $displayRelay); var$6 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$6, var$6 + 1 | 0); var$8.$buffer.data[var$6] = var$5; var$6 = var$8.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$6, $displayCode); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3800)); var$6 = var$8.$length0; if ($ipkt === null) $ipkt = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$6, $ipkt); var$29 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$29, var$29 + 1 | 0); var$8.$buffer.data[var$29] = 40; jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $connectState, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1194)); $connectState = var$8.$length0; if ($ipkt_0 === null) $ipkt_0 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $connectState, $ipkt_0); $displayCode = new jl_String; var$27 = var$8.$buffer; var$28 = var$27.data; var$6 = var$8.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $displayCode.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($displayCode)); $rt_putStderr("\n"); while (true) { $displayCode = $sock.$getException(); if ($displayCode === null) break; if (jl_System_errCache === null) { $displayRelay = new otcic_JSStderrPrintStream; ji_PrintStream__init_($displayRelay, ji_ByteArrayOutputStream__init_(32)); jl_System_errCache = $displayRelay; } jl_Throwable_printStackTrace($displayCode, jl_System_errCache); } $sock.$close(); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if ($connectState != 3) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3801)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt_1 = $ipkt_0; if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$20); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$29 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$29, var$29 + 1 | 0); $ipkt_0.$buffer.data[var$29] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$21); var$30 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$29 = $ipkt_0.$length0; var$32 = var$28.length; if (var$29 < 0) break k; if (var$29 > (var$32 - 0 | 0)) break k; var$30.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr(var$30)); $rt_putStdout($rt_ustr(var$22)); $ipkt_1 = $ipkt_1.$description; nlea_EaglerAdapterImpl2_rtcLANClient.signalRemoteDescription($rt_ustr($ipkt_1)); $lm_0 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); } break e; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } var$29 = 20; $ptr = 1; continue main; case 4: nlea_EaglerAdapterImpl2_sleep$_asyncCall_$($connectState); if ($rt_suspending()) { break main; } if (Long_ge(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $lm_0), Long_fromInt(5000))) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = new jl_StringBuilder; $sock.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($sock, $sock.$length0, $rt_s(1187)); $connectState = $sock.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($sock, $connectState, $displayRelay); $connectState = $sock.$length0; jl_AbstractStringBuilder_insertSpace($sock, $connectState, $connectState + 1 | 0); $sock.$buffer.data[$connectState] = var$5; $connectState = $sock.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($sock, $connectState, $displayCode); jl_AbstractStringBuilder_insert($sock, $sock.$length0, $rt_s(3805)); $displayCode = new jl_String; var$27 = $sock.$buffer; var$28 = var$27.data; var$6 = $sock.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $displayCode.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($displayCode)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } e: { m: { h: { i: { j: { k: { l: while (true) { $c = nlea_EaglerAdapterImpl2_clientDescription; if ($c === null) $c = null; else nlea_EaglerAdapterImpl2_clientDescription = null; if ($c === null) { $connectState = 20; continue main; } if (jl_System_outCache === null) { var$30 = new otcic_JSStdoutPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); var$30.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); var$30.$sb = $ipkt_0; var$30.$buffer0 = $rt_createCharArray(32); var$30.$autoFlush = 0; var$30.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$30; } var$30 = new jl_StringBuilder; var$30.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$17); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$29 = var$30.$length0; jl_AbstractStringBuilder_insertSpace(var$30, var$29, var$29 + 1 | 0); var$30.$buffer.data[var$29] = var$5; jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$18); $ipkt_0 = new jl_String; var$27 = var$30.$buffer; var$28 = var$27.data; var$29 = var$30.$length0; var$32 = var$28.length; if (var$29 < 0) break j; if (var$29 > (var$32 - 0 | 0)) break j; $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$19)); $ipkt_0 = new nlesrp_IPacket04Description; nlesrp_IPacket_$callClinit(); $ipkt_0.$peerId0 = $rt_s(18); $ipkt_0.$description = $c; $sock.$writePacket0($ipkt_0); $connectState = 3; while (true) { if ($sock.$isClosed()) return null; $ipkt_0 = $sock.$readPacket(); if ($ipkt_0 === null) break l; if ($ipkt_0 instanceof nlesrp_IPacket00Handshake) { if ($connectState) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3796)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if (jl_System_outCache === null) { var$30 = new otcic_JSStdoutPrintStream; $ipkt_1 = new ji_ByteArrayOutputStream; $ipkt_1.$buf = $rt_createByteArray(32); var$30.$out0 = $ipkt_1; $ipkt_1 = new jl_StringBuilder; jl_Object__init_($ipkt_1); $ipkt_1.$buffer = $rt_createCharArray(16); var$30.$sb = $ipkt_1; var$30.$buffer0 = $rt_createCharArray(32); var$30.$autoFlush = 0; var$30.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = var$30; } var$30 = $ipkt_0.$connectionCode; $ipkt_1 = new jl_StringBuilder; $ipkt_1.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, $ipkt); jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); $connectState = $ipkt_1.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_1, $connectState, $connectState + 1 | 0); $ipkt_1.$buffer.data[$connectState] = var$5; jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_1, $ipkt_1.$length0, var$8); $connectState = $ipkt_1.$length0; if (var$30 === null) var$30 = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_1, $connectState, var$30); $ipkt_0 = new jl_String; var$27 = $ipkt_1.$buffer; var$28 = var$27.data; var$32 = $ipkt_1.$length0; $connectState = var$28.length; if (var$32 >= 0 && var$32 <= ($connectState - 0 | 0)) { $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$32); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$9)); $connectState = 1; break e; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if ($ipkt_0 instanceof nlesrp_IPacket01ICEServers) break; if ($ipkt_0 instanceof nlesrp_IPacket03ICECandidate) { if ($connectState != 2) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3797)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt = $ipkt_0; if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$8; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$8; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$6 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$6, var$6 + 1 | 0); $ipkt_0.$buffer.data[var$6] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3798)); var$8 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStdout($rt_ustr(var$8)); $rt_putStdout("\n"); $ipkt_0 = $ipkt.$candidate; nlea_EaglerAdapterImpl2_rtcLANClient.signalRemoteICECandidate($rt_ustr($ipkt_0)); $lm = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!nlea_EaglerAdapterImpl2_clientDataChannelOpen) $connectState = 0; else { nlea_EaglerAdapterImpl2_clientDataChannelOpen = 0; $connectState = 1; } if ($connectState) { if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$8; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$8; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$6 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$6, var$6 + 1 | 0); $ipkt_0.$buffer.data[var$6] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3799)); var$8 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { var$8.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStdout($rt_ustr(var$8)); $rt_putStdout("\n"); $ipkt_0 = new nlesrp_IPacket05ClientSuccess; $ipkt = $ipkt.$peerId; nlesrp_IPacket_$callClinit(); $ipkt_0.$clientId0 = $ipkt; $sock.$writePacket0($ipkt_0); $sock.$close(); $sock = new nle_LANClientNetworkManager; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$sendBuffer = $ipkt_0; $sock.$fragmentedPacket = $rt_createByteArray(0); $sock.$displayCode = $displayCode; $sock.$displayRelay = $displayRelay; $sock.$theNetHandler = null; return $sock; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $connectState = 20; $ptr = 2; continue main; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if (!($ipkt_0 instanceof nlesrp_IPacket04Description)) { if (!($ipkt_0 instanceof nlesrp_IPacketFFErrorCode)) { if (jl_System_errCache === null) { $displayCode = new otcic_JSStderrPrintStream; $ipkt = new ji_ByteArrayOutputStream; $ipkt.$buf = $rt_createByteArray(32); $displayCode.$out0 = $ipkt; $ipkt = new jl_StringBuilder; jl_Object__init_($ipkt); $ipkt.$buffer = $rt_createCharArray(16); $displayCode.$sb = $ipkt; $displayCode.$buffer0 = $rt_createCharArray(32); $displayCode.$autoFlush = 0; $displayCode.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $displayCode; } $ipkt_0 = $ipkt_0.constructor; if ($ipkt_0 === null) $displayCode = null; else { $displayCode = $ipkt_0.classObject; if ($displayCode === null) { $displayCode = new jl_Class; $displayCode.$platformClass = $ipkt_0; $ipkt_0.classObject = $displayCode; } } $displayCode = jl_Class_getSimpleName($displayCode); $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1192)); $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); $displayCode = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $displayCode.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($displayCode)); $rt_putStderr("\n"); $sock.$close(); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt_0 = $ipkt_0; if (jl_System_errCache === null) { $ipkt = new otcic_JSStderrPrintStream; var$8 = new ji_ByteArrayOutputStream; var$8.$buf = $rt_createByteArray(32); $ipkt.$out0 = var$8; var$8 = new jl_StringBuilder; jl_Object__init_(var$8); var$8.$buffer = $rt_createCharArray(16); $ipkt.$sb = var$8; $ipkt.$buffer0 = $rt_createCharArray(32); $ipkt.$autoFlush = 0; $ipkt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $ipkt; } $connectState = $ipkt_0.$code; $ipkt = $connectState < 0 && $connectState >= nlesrp_IPacketFFErrorCode_packetTypes.data.length ? $rt_s(541) : nlesrp_IPacketFFErrorCode_packetTypes.data[$connectState]; $ipkt_0 = $ipkt_0.$desc0; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1187)); var$6 = var$8.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$6, $displayRelay); var$6 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$6, var$6 + 1 | 0); var$8.$buffer.data[var$6] = var$5; var$6 = var$8.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$6, $displayCode); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3800)); var$6 = var$8.$length0; if ($ipkt === null) $ipkt = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, var$6, $ipkt); var$29 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$29, var$29 + 1 | 0); var$8.$buffer.data[var$29] = 40; jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $connectState, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(1194)); $connectState = var$8.$length0; if ($ipkt_0 === null) $ipkt_0 = $rt_s(1); jl_AbstractStringBuilder_insert(var$8, $connectState, $ipkt_0); $displayCode = new jl_String; var$27 = var$8.$buffer; var$28 = var$27.data; var$6 = var$8.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $displayCode.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($displayCode)); $rt_putStderr("\n"); while (true) { $displayCode = $sock.$getException(); if ($displayCode === null) break; if (jl_System_errCache === null) { $displayRelay = new otcic_JSStderrPrintStream; ji_PrintStream__init_($displayRelay, ji_ByteArrayOutputStream__init_(32)); jl_System_errCache = $displayRelay; } jl_Throwable_printStackTrace($displayCode, jl_System_errCache); } $sock.$close(); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } if ($connectState != 3) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3801)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt_1 = $ipkt_0; if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$20); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$29 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$29, var$29 + 1 | 0); $ipkt_0.$buffer.data[var$29] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$21); var$30 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$29 = $ipkt_0.$length0; var$32 = var$28.length; if (var$29 < 0) break h; if (var$29 > (var$32 - 0 | 0)) break h; var$30.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr(var$30)); $rt_putStdout($rt_ustr(var$22)); $ipkt_1 = $ipkt_1.$description; nlea_EaglerAdapterImpl2_rtcLANClient.signalRemoteDescription($rt_ustr($ipkt_1)); $lm_0 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $c = nlea_EaglerAdapterImpl2_clientICECandidate; if ($c === null) $c = null; else nlea_EaglerAdapterImpl2_clientICECandidate = null; if ($c === null) { $connectState = 20; $ptr = 3; continue main; } if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$23); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); var$29 = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, var$29, var$29 + 1 | 0); $ipkt_0.$buffer.data[var$29] = var$5; jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, var$24); var$30 = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$29 = $ipkt_0.$length0; var$32 = var$28.length; if (var$29 < 0) break i; if (var$29 > (var$32 - 0 | 0)) break i; var$30.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr(var$30)); $rt_putStdout($rt_ustr(var$25)); $ipkt_0 = new nlesrp_IPacket03ICECandidate; nlesrp_IPacket_$callClinit(); $ipkt_0.$peerId = $rt_s(18); $ipkt_0.$candidate = $c; $sock.$writePacket0($ipkt_0); $connectState = 2; } if ($connectState != 1) { $sock.$close(); if (jl_System_errCache === null) { $sock = new otcic_JSStderrPrintStream; $ipkt_0 = new ji_ByteArrayOutputStream; $ipkt_0.$buf = $rt_createByteArray(32); $sock.$out0 = $ipkt_0; $ipkt_0 = new jl_StringBuilder; jl_Object__init_($ipkt_0); $ipkt_0.$buffer = $rt_createCharArray(16); $sock.$sb = $ipkt_0; $sock.$buffer0 = $rt_createCharArray(32); $sock.$autoFlush = 0; $sock.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $sock; } $sock = nle_LANClientNetworkManager_initStateNames.data[$connectState]; $ipkt_0 = new jl_StringBuilder; $ipkt_0.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(1187)); $connectState = $ipkt_0.$length0; if ($displayRelay === null) $displayRelay = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayRelay); $connectState = $ipkt_0.$length0; jl_AbstractStringBuilder_insertSpace($ipkt_0, $connectState, $connectState + 1 | 0); $ipkt_0.$buffer.data[$connectState] = var$5; $connectState = $ipkt_0.$length0; if ($displayCode === null) $displayCode = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $displayCode); jl_AbstractStringBuilder_insert($ipkt_0, $ipkt_0.$length0, $rt_s(3802)); $connectState = $ipkt_0.$length0; if ($sock === null) $sock = $rt_s(1); jl_AbstractStringBuilder_insert($ipkt_0, $connectState, $sock); $sock = new jl_String; var$27 = $ipkt_0.$buffer; var$28 = var$27.data; var$6 = $ipkt_0.$length0; var$29 = var$28.length; if (var$6 >= 0 && var$6 <= (var$29 - 0 | 0)) { $sock.$nativeString = $rt_charArrayToString(var$27.data, 0, var$6); $rt_putStderr($rt_ustr($sock)); $rt_putStderr("\n"); return null; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $ipkt_1 = $ipkt_0; if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } var$30 = new jl_StringBuilder; var$30.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$10); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); $connectState = var$30.$length0; jl_AbstractStringBuilder_insertSpace(var$30, $connectState, $connectState + 1 | 0); var$30.$buffer.data[$connectState] = var$5; jl_AbstractStringBuilder_insert(var$30, var$30.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert(var$30, var$30.$length0, var$11); $ipkt_0 = new jl_String; var$27 = var$30.$buffer; var$28 = var$27.data; var$29 = var$30.$length0; var$32 = var$28.length; if (var$29 < 0) break k; if (var$29 > (var$32 - 0 | 0)) break k; $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$12)); $servers = new ju_ArrayList; $servers.$array = $rt_createArray(jl_Object, 10); $ipkt_1 = $ipkt_1.$servers0; var$37 = $ipkt_1.$modCount; var$38 = $ipkt_1.$size(); $connectState = var$6; while ($connectState >= var$38 ? 0 : 1) { if (var$37 < $ipkt_1.$modCount) { $sock = new ju_ConcurrentModificationException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; $rt_throw($sock); } var$39 = $connectState + 1 | 0; $srv = $ipkt_1.$get($connectState); if (jl_System_outCache === null) { $ipkt_0 = new otcic_JSStdoutPrintStream; var$30 = new ji_ByteArrayOutputStream; var$30.$buf = $rt_createByteArray(32); $ipkt_0.$out0 = var$30; var$30 = new jl_StringBuilder; jl_Object__init_(var$30); var$30.$buffer = $rt_createCharArray(16); $ipkt_0.$sb = var$30; $ipkt_0.$buffer0 = $rt_createCharArray(32); $ipkt_0.$autoFlush = 0; $ipkt_0.$charset = jnci_UTF8Charset_INSTANCE; jl_System_outCache = $ipkt_0; } $ipkt_0 = $srv.$type3.$name0; $c = $srv.$address0; var$41 = new jl_StringBuilder; var$41.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, var$13); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, $displayRelay === null ? $rt_s(1) : $displayRelay); $connectState = var$41.$length0; jl_AbstractStringBuilder_insertSpace(var$41, $connectState, $connectState + 1 | 0); var$41.$buffer.data[$connectState] = var$5; jl_AbstractStringBuilder_insert(var$41, var$41.$length0, $displayCode === null ? $rt_s(1) : $displayCode); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, var$14); $connectState = var$41.$length0; if ($ipkt_0 === null) $ipkt_0 = $rt_s(1); jl_AbstractStringBuilder_insert(var$41, $connectState, $ipkt_0); jl_AbstractStringBuilder_insert(var$41, var$41.$length0, var$15); $connectState = var$41.$length0; if ($c === null) $c = $rt_s(1); jl_AbstractStringBuilder_insert(var$41, $connectState, $c); $ipkt_0 = new jl_String; var$27 = var$41.$buffer; var$28 = var$27.data; var$29 = var$41.$length0; var$32 = var$28.length; if (var$29 < 0) break m; if (var$29 > (var$32 - 0 | 0)) break m; $ipkt_0.$nativeString = $rt_charArrayToString(var$27.data, 0, var$29); $rt_putStdout($rt_ustr($ipkt_0)); $rt_putStdout($rt_ustr(var$16)); $ipkt_0 = nlesrp_ICEServerSet$RelayServer_getICEString($srv); ju_ArrayList_ensureCapacity($servers, $servers.$size0 + 1 | 0); var$27 = $servers.$array.data; var$29 = $servers.$size0; $servers.$size0 = var$29 + 1 | 0; var$27[var$29] = $ipkt_0; $servers.$modCount = $servers.$modCount + 1 | 0; $connectState = var$39; } nlea_EaglerAdapterImpl2_clientLANSetICEServersAndConnect(ju_AbstractCollection_toArray($servers, $rt_createArray(jl_String, $servers.$size0))); $lm_0 = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); } break e; } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } $sock = new jl_IndexOutOfBoundsException; $sock.$suppressionEnabled = 1; $sock.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($sock); $rt_throw($sock); } var$29 = 20; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($sock, $displayCode, $displayRelay, $connectState, var$5, var$6, $ipkt, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, var$25, $ipkt_0, var$27, var$28, var$29, var$30, $ipkt_1, var$32, $lm, $lm_0, $c, $servers, var$37, var$38, var$39, $srv, var$41, $ptr); }, nle_LANClientNetworkManager_setNetHandler = ($this, $var1) => { $this.$theNetHandler = $var1; }, nle_LANClientNetworkManager_addToSendQueue = ($this, $var1) => { let $e, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $$je; a: { try { ji_ByteArrayOutputStream_reset($this.$sendBuffer); nms_Packet_writePacket($var1, ji_DataOutputStream__init_($this.$sendBuffer)); nlea_EaglerAdapterImpl2_clientLANSendPacket(ji_ByteArrayOutputStream_toByteArray($this.$sendBuffer)); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { var$3 = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); var$3.$out0 = var$4; var$4 = new jl_StringBuilder; jl_Object__init_(var$4); var$4.$buffer = $rt_createCharArray(16); var$3.$sb = var$4; var$3.$buffer0 = $rt_createCharArray(32); var$3.$autoFlush = 0; var$3.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$3; } var$3 = $var1.constructor; if (var$3 === null) $var1 = null; else { $var1 = var$3.classObject; if ($var1 === null) { $var1 = new jl_Class; $var1.$platformClass = var$3; var$3.classObject = $var1; } } $var1 = jl_Class_getSimpleName($var1); var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1201)); var$5 = var$3.$length0; if ($var1 === null) $var1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$5, $var1); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3806)); $var1 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; var$8 = var$3.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $var1.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $rt_putStderr($rt_ustr($var1)); $rt_putStderr("\n"); if (jl_System_errCache === null) { $var1 = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); jl_Object__init_($var1); $var1.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3, 16); $var1.$sb = var$3; $var1.$buffer0 = $rt_createCharArray(32); $var1.$autoFlush = 0; $var1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var1; } jl_Throwable_printStackTrace($e, jl_System_errCache); } else { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } } }, nle_LANClientNetworkManager_wakeThreads = $this => { return; }, nle_LANClientNetworkManager_processReadPackets = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $fullData, var$19, var$20, $pktId, var$22, var$23, var$24, $fullData_0, $bai, var$27, $pkt, var$29, var$30, $t, var$32, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$32 = $thread.pop();$t = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();$pkt = $thread.pop();var$27 = $thread.pop();$bai = $thread.pop();$fullData_0 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$pktId = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$fullData = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { b: { c: { d: { e: { if ($this.$theNetHandler !== null) { var$1 = $rt_s(1206); var$2 = $rt_s(469); var$3 = $rt_s(586); var$4 = $rt_s(469); var$5 = $rt_s(1207); var$6 = $rt_s(1208); var$7 = $rt_s(469); var$8 = $rt_s(1209); var$9 = $rt_s(1028); var$10 = $rt_s(3807); var$11 = $rt_s(469); var$12 = $rt_s(1203); var$13 = $rt_s(1204); var$14 = $rt_s(3807); var$15 = $rt_s(469); while (true) { nlea_EaglerAdapterImpl2_$callClinit(); var$16 = nlea_EaglerAdapterImpl2_clientLANPacketBuffer; var$17 = var$16.$size0 <= 0 ? null : ju_ArrayList_remove(var$16, 0); if (var$17 === null) break e; $fullData = var$17.data; if ($fullData[0]) { if ($fullData[0] != 1) continue; var$19 = $this.$fragmentedPacket; var$20 = var$19.data.length; $pktId = $fullData.length; $fullData = $rt_createByteArray((var$20 + $pktId | 0) - 1 | 0); jl_System_fastArraycopy(var$19, 0, $fullData, 0, var$20); jl_System_arraycopy(var$17, 1, $fullData, $this.$fragmentedPacket.data.length, $pktId - 1 | 0); $this.$fragmentedPacket = $fullData; continue; } var$22 = $this.$fragmentedPacket; var$23 = var$22.data.length; var$24 = $fullData.length; $fullData_0 = $rt_createByteArray((var$23 + var$24 | 0) - 1 | 0); var$19 = $fullData_0.data; jl_System_fastArraycopy(var$22, 0, $fullData_0, 0, var$23); jl_System_arraycopy(var$17, 1, $fullData_0, $this.$fragmentedPacket.data.length, var$24 - 1 | 0); $this.$fragmentedPacket = $rt_createByteArray(0); $bai = new nle_EaglerInputStream; $bai.$mark0 = 0; $bai.$buf1 = $fullData_0; $bai.$pos = 0; var$23 = var$19.length; $bai.$count = var$23; if (0 >= var$23) $pktId = (-1); else { $bai.$pos = 1; $pktId = var$19[0] & 255; } if ($pktId == (-1)) { if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_Object__init_(var$27); var$27.$buffer = $rt_createCharArray(16); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } $rt_putStderr($rt_ustr(var$1)); $rt_putStderr($rt_ustr(var$2)); continue; } nms_Packet_$callClinit(); f: { try { var$16 = nms_IntHashMap_lookup(nms_Packet_packetIdToClassMap, $pktId); if (var$16 === null) { $pkt = null; break f; } $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$29 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; jl_Object__init_(var$27); var$27.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$16); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$27); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } jl_Throwable_printStackTrace(var$29, jl_System_errCache); if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); jl_Object__init_(var$16); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$27, 16); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$16, var$16.$length0, var$3); jl_AbstractStringBuilder_insert0(var$16, var$16.$length0, $pktId, 10); var$27 = new jl_String; var$19 = var$16.$buffer; var$22 = var$19.data; var$20 = var$16.$length0; var$30 = var$22.length; if (var$20 < 0) break d; if (var$20 > (var$30 - 0 | 0)) break d; var$27.$nativeString = $rt_charArrayToString(var$19.data, 0, var$20); $rt_putStderr($rt_ustr(var$27)); $rt_putStderr($rt_ustr(var$4)); $pkt = null; } if ($pkt === null) { if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_Object__init_(var$27); var$27.$buffer = $rt_createCharArray(16); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } var$27 = new jl_StringBuilder; var$27.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$27, var$27.$length0, var$5); jl_AbstractStringBuilder_insert0(var$27, var$27.$length0, $pktId, 10); jl_AbstractStringBuilder_insert(var$27, var$27.$length0, var$6); var$16 = new jl_String; $fullData = var$27.$buffer; var$19 = $fullData.data; var$20 = var$27.$length0; $pktId = var$19.length; if (var$20 < 0) break c; if (var$20 > ($pktId - 0 | 0)) break c; var$16.$nativeString = $rt_charArrayToString($fullData.data, 0, var$20); $rt_putStderr($rt_ustr(var$16)); $rt_putStderr($rt_ustr(var$7)); continue; } g: { h: { try { $pkt.$readPacketData(ji_DataInputStream__init_($bai)); var$16 = $this.$theNetHandler; $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else if ($$je instanceof jl_Throwable) { $t = $$je; break h; } else { throw $$e; } } if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_Object__init_(var$27); var$27.$buffer = $rt_createCharArray(16); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } $pktId = var$24 <= 0 ? (-1) : $fullData[0] & 255; var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$16, var$16.$length0, var$12); jl_AbstractStringBuilder_insert0(var$16, var$16.$length0, var$24, 10); jl_AbstractStringBuilder_insert(var$16, var$16.$length0, var$13); jl_AbstractStringBuilder_insert0(var$16, var$16.$length0, $pktId, 10); jl_AbstractStringBuilder_insert(var$16, var$16.$length0, var$14); var$27 = new jl_String; $fullData = var$16.$buffer; var$19 = $fullData.data; var$20 = var$16.$length0; $pktId = var$19.length; if (var$20 < 0) break b; if (var$20 > ($pktId - 0 | 0)) break b; var$27.$nativeString = $rt_charArrayToString($fullData.data, 0, var$20); $rt_putStderr($rt_ustr(var$27)); $rt_putStderr($rt_ustr(var$15)); break g; } if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_Object__init_(var$27); var$27.$buffer = $rt_createCharArray(16); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } $bai = nms_Packet_packetClassToIdMap; var$16 = $pkt.constructor; if (var$16 === null) var$32 = null; else { var$32 = var$16.classObject; if (var$32 === null) { var$32 = new jl_Class; var$32.$platformClass = var$16; var$16.classObject = var$32; } } if (var$32 === null) { var$16 = $bai.$elementData.data[0]; while (var$16 !== null && var$16.$key !== null) { var$16 = var$16.$next3; } } else { var$16 = var$32; if (!var$16.$id$) var$16.$id$ = $rt_nextId(); var$20 = var$32.$id$; $fullData = $bai.$elementData.data; var$16 = $fullData[var$20 & ($fullData.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == var$20) { var$27 = var$16.$key; if (var$32 !== var$27 && !(var$32 !== var$27 ? 0 : 1) ? 0 : 1) break; } var$16 = var$16.$next3; } } var$16 = var$16 === null ? null : var$16.$value1; var$16 = otci_IntegerUtil_toUnsignedLogRadixString(var$16.$value0, 4); var$29 = $pkt.constructor; if (var$29 === null) var$27 = null; else { var$27 = var$29.classObject; if (var$27 === null) { var$27 = new jl_Class; var$27.$platformClass = var$29; var$29.classObject = var$27; } } var$27 = jl_Class_getSimpleName(var$27); var$29 = new jl_StringBuilder; var$29.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$29, var$29.$length0, var$8); var$23 = var$29.$length0; if (var$16 === null) var$16 = $rt_s(1); jl_AbstractStringBuilder_insert(var$29, var$23, var$16); jl_AbstractStringBuilder_insert(var$29, var$29.$length0, var$9); var$23 = var$29.$length0; if (var$27 === null) var$27 = $rt_s(1); jl_AbstractStringBuilder_insert(var$29, var$23, var$27); jl_AbstractStringBuilder_insert(var$29, var$29.$length0, var$10); var$16 = new jl_String; $fullData = var$29.$buffer; var$19 = $fullData.data; var$20 = var$29.$length0; $pktId = var$19.length; if (var$20 < 0) break a; if (var$20 > ($pktId - 0 | 0)) break a; var$16.$nativeString = $rt_charArrayToString($fullData.data, 0, var$20); $rt_putStderr($rt_ustr(var$16)); $rt_putStderr($rt_ustr(var$11)); if (jl_System_errCache === null) { var$27 = new otcic_JSStderrPrintStream; var$16 = new ji_ByteArrayOutputStream; var$16.$buf = $rt_createByteArray(32); jl_Object__init_(var$27); var$27.$out0 = var$16; var$16 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$16, 16); var$27.$sb = var$16; var$27.$buffer0 = $rt_createCharArray(32); var$27.$autoFlush = 0; var$27.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$27; } jl_Throwable_printStackTrace($t, jl_System_errCache); } } } } return; } var$10 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$10); $rt_throw(var$10); } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$10); $rt_throw(var$10); } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$10); $rt_throw(var$10); } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$10); $rt_throw(var$10); case 1: a: { try { $tmp = jl_Class_newInstance(var$16); if ($rt_suspending()) { break main; } var$16 = $tmp; $pkt = var$16; break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$29 = $$je; } else { throw $$e; } } var$16 = jl_System_errCache; if (var$16 === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$23 = 32; jl_Object__init_(var$27); var$19 = $rt_createByteArray(var$23); var$27.$buf = var$19; var$23 = 0; ji_OutputStream__init_(var$16); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$27); var$16.$sb = var$27; var$20 = 32; var$19 = $rt_createCharArray(var$20); var$16.$buffer0 = var$19; var$16.$autoFlush = var$23; var$27 = jnci_UTF8Charset_INSTANCE; var$16.$charset = var$27; jl_System_errCache = var$16; } var$16 = jl_System_errCache; jl_Throwable_printStackTrace(var$29, var$16); var$16 = jl_System_errCache; if (var$16 === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$23 = 32; var$19 = $rt_createByteArray(var$23); var$27.$buf = var$19; var$23 = 0; jl_Object__init_(var$16); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; var$20 = 16; jl_AbstractStringBuilder__init_(var$27, var$20); var$16.$sb = var$27; var$20 = 32; var$19 = $rt_createCharArray(var$20); var$16.$buffer0 = var$19; var$16.$autoFlush = var$23; var$27 = jnci_UTF8Charset_INSTANCE; var$16.$charset = var$27; jl_System_errCache = var$16; } var$16 = new jl_StringBuilder; var$23 = 16; var$19 = $rt_createCharArray(var$23); var$16.$buffer = var$19; var$23 = var$16.$length0; jl_AbstractStringBuilder_insert(var$16, var$23, var$3); var$23 = 10; var$20 = var$16.$length0; jl_AbstractStringBuilder_insert0(var$16, var$20, $pktId, var$23); var$27 = new jl_String; var$19 = var$16.$buffer; var$22 = var$19.data; var$23 = 0; var$20 = var$16.$length0; var$30 = var$22.length; if (var$20 >= 0) { var$30 = var$30 - var$23 | 0; var$30 = $rt_compare(var$20, var$30); if (var$30 <= 0) { var$27.$nativeString = $rt_charArrayToString(var$19.data, var$23, var$20); var$16 = $rt_ustr(var$27); $rt_putStderr(var$16); var$16 = $rt_ustr(var$4); $rt_putStderr(var$16); $pkt = null; break a; } } var$10 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$10); $rt_throw(var$10); } i: { j: { k: { l: { m: while (true) { if ($pkt === null) { if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_Object__init_(var$27); var$27.$buffer = $rt_createCharArray(16); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } var$27 = new jl_StringBuilder; var$27.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$27, var$27.$length0, var$5); jl_AbstractStringBuilder_insert0(var$27, var$27.$length0, $pktId, 10); jl_AbstractStringBuilder_insert(var$27, var$27.$length0, var$6); var$16 = new jl_String; $fullData = var$27.$buffer; var$19 = $fullData.data; var$20 = var$27.$length0; $pktId = var$19.length; if (var$20 < 0) break k; if (var$20 > ($pktId - 0 | 0)) break k; var$16.$nativeString = $rt_charArrayToString($fullData.data, 0, var$20); $rt_putStderr($rt_ustr(var$16)); $rt_putStderr($rt_ustr(var$7)); } else n: { o: { try { $pkt.$readPacketData(ji_DataInputStream__init_($bai)); var$16 = $this.$theNetHandler; $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else if ($$je instanceof jl_Throwable) { $t = $$je; break o; } else { throw $$e; } } if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_Object__init_(var$27); var$27.$buffer = $rt_createCharArray(16); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } $pktId = var$24 <= 0 ? (-1) : $fullData[0] & 255; var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$16, var$16.$length0, var$12); jl_AbstractStringBuilder_insert0(var$16, var$16.$length0, var$24, 10); jl_AbstractStringBuilder_insert(var$16, var$16.$length0, var$13); jl_AbstractStringBuilder_insert0(var$16, var$16.$length0, $pktId, 10); jl_AbstractStringBuilder_insert(var$16, var$16.$length0, var$14); var$27 = new jl_String; $fullData = var$16.$buffer; var$19 = $fullData.data; var$20 = var$16.$length0; $pktId = var$19.length; if (var$20 < 0) break j; if (var$20 > ($pktId - 0 | 0)) break j; var$27.$nativeString = $rt_charArrayToString($fullData.data, 0, var$20); $rt_putStderr($rt_ustr(var$27)); $rt_putStderr($rt_ustr(var$15)); break n; } if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_Object__init_(var$27); var$27.$buffer = $rt_createCharArray(16); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } $bai = nms_Packet_packetClassToIdMap; var$16 = $pkt.constructor; if (var$16 === null) var$32 = null; else { var$32 = var$16.classObject; if (var$32 === null) { var$32 = new jl_Class; var$32.$platformClass = var$16; var$16.classObject = var$32; } } if (var$32 === null) { var$16 = $bai.$elementData.data[0]; while (var$16 !== null && var$16.$key !== null) { var$16 = var$16.$next3; } } else { var$16 = var$32; if (!var$16.$id$) var$16.$id$ = $rt_nextId(); var$20 = var$32.$id$; $fullData = $bai.$elementData.data; var$16 = $fullData[var$20 & ($fullData.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == var$20) { var$27 = var$16.$key; if (var$32 !== var$27 && !(var$32 !== var$27 ? 0 : 1) ? 0 : 1) break; } var$16 = var$16.$next3; } } var$16 = var$16 === null ? null : var$16.$value1; var$16 = otci_IntegerUtil_toUnsignedLogRadixString(var$16.$value0, 4); var$29 = $pkt.constructor; if (var$29 === null) var$27 = null; else { var$27 = var$29.classObject; if (var$27 === null) { var$27 = new jl_Class; var$27.$platformClass = var$29; var$29.classObject = var$27; } } var$27 = jl_Class_getSimpleName(var$27); var$29 = new jl_StringBuilder; var$29.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$29, var$29.$length0, var$8); var$23 = var$29.$length0; if (var$16 === null) var$16 = $rt_s(1); jl_AbstractStringBuilder_insert(var$29, var$23, var$16); jl_AbstractStringBuilder_insert(var$29, var$29.$length0, var$9); var$23 = var$29.$length0; if (var$27 === null) var$27 = $rt_s(1); jl_AbstractStringBuilder_insert(var$29, var$23, var$27); jl_AbstractStringBuilder_insert(var$29, var$29.$length0, var$10); var$16 = new jl_String; $fullData = var$29.$buffer; var$19 = $fullData.data; var$20 = var$29.$length0; $pktId = var$19.length; if (var$20 < 0) break i; if (var$20 > ($pktId - 0 | 0)) break i; var$16.$nativeString = $rt_charArrayToString($fullData.data, 0, var$20); $rt_putStderr($rt_ustr(var$16)); $rt_putStderr($rt_ustr(var$11)); if (jl_System_errCache === null) { var$27 = new otcic_JSStderrPrintStream; var$16 = new ji_ByteArrayOutputStream; var$16.$buf = $rt_createByteArray(32); jl_Object__init_(var$27); var$27.$out0 = var$16; var$16 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$16, 16); var$27.$sb = var$16; var$27.$buffer0 = $rt_createCharArray(32); var$27.$autoFlush = 0; var$27.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$27; } jl_Throwable_printStackTrace($t, jl_System_errCache); } while (true) { nlea_EaglerAdapterImpl2_$callClinit(); var$16 = nlea_EaglerAdapterImpl2_clientLANPacketBuffer; var$17 = var$16.$size0 <= 0 ? null : ju_ArrayList_remove(var$16, 0); if (var$17 === null) break m; $fullData = var$17.data; if ($fullData[0]) { if ($fullData[0] != 1) continue; var$19 = $this.$fragmentedPacket; var$20 = var$19.data.length; $pktId = $fullData.length; $fullData = $rt_createByteArray((var$20 + $pktId | 0) - 1 | 0); jl_System_fastArraycopy(var$19, 0, $fullData, 0, var$20); jl_System_arraycopy(var$17, 1, $fullData, $this.$fragmentedPacket.data.length, $pktId - 1 | 0); $this.$fragmentedPacket = $fullData; continue; } var$22 = $this.$fragmentedPacket; var$23 = var$22.data.length; var$24 = $fullData.length; $fullData_0 = $rt_createByteArray((var$23 + var$24 | 0) - 1 | 0); var$19 = $fullData_0.data; jl_System_fastArraycopy(var$22, 0, $fullData_0, 0, var$23); jl_System_arraycopy(var$17, 1, $fullData_0, $this.$fragmentedPacket.data.length, var$24 - 1 | 0); $this.$fragmentedPacket = $rt_createByteArray(0); $bai = new nle_EaglerInputStream; $bai.$mark0 = 0; $bai.$buf1 = $fullData_0; $bai.$pos = 0; var$23 = var$19.length; $bai.$count = var$23; if (0 >= var$23) $pktId = (-1); else { $bai.$pos = 1; $pktId = var$19[0] & 255; } if ($pktId != (-1)) break; if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_Object__init_(var$27); var$27.$buffer = $rt_createCharArray(16); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } $rt_putStderr($rt_ustr(var$1)); $rt_putStderr($rt_ustr(var$2)); } nms_Packet_$callClinit(); try { var$16 = nms_IntHashMap_lookup(nms_Packet_packetIdToClassMap, $pktId); if (var$16 === null) { $pkt = null; continue; } continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$29 = $$je; } else { throw $$e; } } var$16 = jl_System_errCache; if (var$16 === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$23 = 32; jl_Object__init_(var$27); var$19 = $rt_createByteArray(var$23); var$27.$buf = var$19; var$23 = 0; ji_OutputStream__init_(var$16); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$27); var$16.$sb = var$27; var$20 = 32; var$19 = $rt_createCharArray(var$20); var$16.$buffer0 = var$19; var$16.$autoFlush = var$23; var$27 = jnci_UTF8Charset_INSTANCE; var$16.$charset = var$27; jl_System_errCache = var$16; } var$16 = jl_System_errCache; jl_Throwable_printStackTrace(var$29, var$16); var$16 = jl_System_errCache; if (var$16 === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$23 = 32; var$19 = $rt_createByteArray(var$23); var$27.$buf = var$19; var$23 = 0; jl_Object__init_(var$16); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; var$20 = 16; jl_AbstractStringBuilder__init_(var$27, var$20); var$16.$sb = var$27; var$20 = 32; var$19 = $rt_createCharArray(var$20); var$16.$buffer0 = var$19; var$16.$autoFlush = var$23; var$27 = jnci_UTF8Charset_INSTANCE; var$16.$charset = var$27; jl_System_errCache = var$16; } var$16 = new jl_StringBuilder; var$23 = 16; var$19 = $rt_createCharArray(var$23); var$16.$buffer = var$19; var$23 = var$16.$length0; jl_AbstractStringBuilder_insert(var$16, var$23, var$3); var$23 = 10; var$20 = var$16.$length0; jl_AbstractStringBuilder_insert0(var$16, var$20, $pktId, var$23); var$27 = new jl_String; var$19 = var$16.$buffer; var$22 = var$19.data; var$23 = 0; var$20 = var$16.$length0; var$30 = var$22.length; if (var$20 < 0) break l; var$30 = var$30 - var$23 | 0; var$30 = $rt_compare(var$20, var$30); if (var$30 > 0) break l; var$27.$nativeString = $rt_charArrayToString(var$19.data, var$23, var$20); var$16 = $rt_ustr(var$27); $rt_putStderr(var$16); var$16 = $rt_ustr(var$4); $rt_putStderr(var$16); $pkt = null; } return; } var$10 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$10); $rt_throw(var$10); } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$10); $rt_throw(var$10); } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$10); $rt_throw(var$10); } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$10); $rt_throw(var$10); case 2: a: { b: { try { $pkt.$processPacket(var$16); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else if ($$je instanceof jl_Throwable) { $t = $$je; break b; } else { throw $$e; } } var$16 = jl_System_errCache; if (var$16 === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$23 = 32; var$19 = $rt_createByteArray(var$23); var$27.$buf = var$19; var$23 = 0; var$16.$out0 = var$27; var$27 = new jl_StringBuilder; var$20 = 16; jl_Object__init_(var$27); var$19 = $rt_createCharArray(var$20); var$27.$buffer = var$19; var$16.$sb = var$27; var$20 = 32; var$19 = $rt_createCharArray(var$20); var$16.$buffer0 = var$19; var$16.$autoFlush = var$23; var$27 = jnci_UTF8Charset_INSTANCE; var$16.$charset = var$27; jl_System_errCache = var$16; } if (var$24 <= 0) $pktId = (-1); else { var$23 = 0; var$23 = $fullData[var$23]; var$23 = var$23; var$20 = 255; $pktId = var$23 & var$20; } var$16 = new jl_StringBuilder; var$23 = 16; $fullData = $rt_createCharArray(var$23); var$16.$buffer = $fullData; var$23 = var$16.$length0; jl_AbstractStringBuilder_insert(var$16, var$23, var$12); var$23 = 10; var$20 = var$16.$length0; jl_AbstractStringBuilder_insert0(var$16, var$20, var$24, var$23); var$23 = var$16.$length0; jl_AbstractStringBuilder_insert(var$16, var$23, var$13); var$23 = 10; var$20 = var$16.$length0; jl_AbstractStringBuilder_insert0(var$16, var$20, $pktId, var$23); var$23 = var$16.$length0; jl_AbstractStringBuilder_insert(var$16, var$23, var$14); var$27 = new jl_String; $fullData = var$16.$buffer; var$19 = $fullData.data; var$23 = 0; var$20 = var$16.$length0; $pktId = var$19.length; if (var$20 >= 0) { $pktId = $pktId - var$23 | 0; $pktId = $rt_compare(var$20, $pktId); if ($pktId <= 0) { var$27.$nativeString = $rt_charArrayToString($fullData.data, var$23, var$20); var$16 = $rt_ustr(var$27); $rt_putStderr(var$16); var$16 = $rt_ustr(var$15); $rt_putStderr(var$16); break a; } } var$10 = new jl_IndexOutOfBoundsException; var$23 = 1; var$10.$suppressionEnabled = var$23; var$23 = 1; var$10.$writableStackTrace = var$23; jl_Throwable_fillInStackTrace(var$10); $rt_throw(var$10); } var$16 = jl_System_errCache; if (var$16 === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$23 = 32; $fullData = $rt_createByteArray(var$23); var$27.$buf = $fullData; var$23 = 0; var$16.$out0 = var$27; var$27 = new jl_StringBuilder; var$20 = 16; jl_Object__init_(var$27); $fullData = $rt_createCharArray(var$20); var$27.$buffer = $fullData; var$16.$sb = var$27; var$20 = 32; $fullData = $rt_createCharArray(var$20); var$16.$buffer0 = $fullData; var$16.$autoFlush = var$23; var$27 = jnci_UTF8Charset_INSTANCE; var$16.$charset = var$27; jl_System_errCache = var$16; } $bai = nms_Packet_packetClassToIdMap; var$16 = $pkt; var$27 = $rt_s(3808); var$27 = $rt_ustr(var$27); var$16 = var$16[var$27]; if (var$16 === null) var$32 = null; else { var$27 = $rt_s(3809); var$27 = $rt_ustr(var$27); var$27 = var$16[var$27]; var$32 = var$27; if (var$32 === null) { var$32 = new jl_Class; var$32.$platformClass = var$16; var$27 = var$32; var$29 = $rt_s(3809); var$29 = $rt_ustr(var$29); var$16[var$29] = var$27; } } if (var$32 !== null) { var$16 = var$32; var$27 = $rt_s(3810); var$27 = $rt_ustr(var$27); var$27 = var$16[var$27]; var$23 = var$27; if (!var$23) { var$27 = $rt_nextId(); var$23 = var$27; var$27 = var$23; var$29 = $rt_s(3810); var$29 = $rt_ustr(var$29); var$16[var$29] = var$27; } var$16 = var$32; var$27 = $rt_s(3810); var$27 = $rt_ustr(var$27); var$16 = var$16[var$27]; var$20 = var$16; $fullData = $bai.$elementData; $fullData = $fullData.data; $pktId = $fullData.length; var$23 = 1; var$23 = $pktId - var$23 | 0; var$23 = var$20 & var$23; var$16 = $fullData[var$23]; while (var$16 !== null) { var$23 = var$16.$origKeyHash; var$23 = $rt_compare(var$23, var$20); if (!var$23) { p: { var$27 = var$16.$key; if (var$32 !== var$27) { var$23 = var$32 !== var$27 ? 0 : 1; if (!var$23) { var$23 = 0; break p; } } var$23 = 1; } if (var$23) break; } var$16 = var$16.$next3; } } else { $fullData = $bai.$elementData; $fullData = $fullData.data; var$23 = 0; var$16 = $fullData[var$23]; while (var$16 !== null) { var$27 = var$16.$key; if (var$27 === null) break; var$16 = var$16.$next3; } } var$16 = var$16 === null ? null : var$16.$value1; var$16 = var$16; var$20 = var$16.$value0; var$23 = 4; var$16 = otci_IntegerUtil_toUnsignedLogRadixString(var$20, var$23); var$27 = $pkt; var$29 = $rt_s(3808); var$29 = $rt_ustr(var$29); var$29 = var$27[var$29]; if (var$29 === null) var$27 = null; else { var$27 = $rt_s(3809); var$27 = $rt_ustr(var$27); var$27 = var$29[var$27]; var$27 = var$27; if (var$27 === null) { var$27 = new jl_Class; var$27.$platformClass = var$29; $bai = var$27; $pkt = $rt_s(3809); $pkt = $rt_ustr($pkt); var$29[$pkt] = $bai; } } var$27 = jl_Class_getSimpleName(var$27); var$29 = new jl_StringBuilder; var$23 = 16; $fullData = $rt_createCharArray(var$23); var$29.$buffer = $fullData; var$23 = var$29.$length0; jl_AbstractStringBuilder_insert(var$29, var$23, var$8); var$23 = var$29.$length0; if (var$16 === null) var$16 = $rt_s(1); jl_AbstractStringBuilder_insert(var$29, var$23, var$16); var$23 = var$29.$length0; jl_AbstractStringBuilder_insert(var$29, var$23, var$9); var$23 = var$29.$length0; if (var$27 === null) var$27 = $rt_s(1); jl_AbstractStringBuilder_insert(var$29, var$23, var$27); var$23 = var$29.$length0; jl_AbstractStringBuilder_insert(var$29, var$23, var$10); var$16 = new jl_String; $fullData = var$29.$buffer; var$19 = $fullData.data; var$23 = 0; var$20 = var$29.$length0; $pktId = var$19.length; if (var$20 >= 0) { $pktId = $pktId - var$23 | 0; $pktId = $rt_compare(var$20, $pktId); if ($pktId <= 0) { var$16.$nativeString = $rt_charArrayToString($fullData.data, var$23, var$20); var$16 = $rt_ustr(var$16); $rt_putStderr(var$16); var$16 = $rt_ustr(var$11); $rt_putStderr(var$16); var$16 = jl_System_errCache; if (var$16 === null) { var$27 = new otcic_JSStderrPrintStream; var$16 = new ji_ByteArrayOutputStream; var$23 = 32; $fullData = $rt_createByteArray(var$23); var$16.$buf = $fullData; var$20 = 0; jl_Object__init_(var$27); var$27.$out0 = var$16; var$16 = new jl_StringBuilder; var$23 = 16; jl_AbstractStringBuilder__init_(var$16, var$23); var$27.$sb = var$16; var$23 = 32; $fullData = $rt_createCharArray(var$23); var$27.$buffer0 = $fullData; var$27.$autoFlush = var$20; var$16 = jnci_UTF8Charset_INSTANCE; var$27.$charset = var$16; jl_System_errCache = var$27; } var$16 = jl_System_errCache; jl_Throwable_printStackTrace($t, var$16); break a; } } var$10 = new jl_IndexOutOfBoundsException; var$23 = 1; var$10.$suppressionEnabled = var$23; var$23 = 1; var$10.$writableStackTrace = var$23; jl_Throwable_fillInStackTrace(var$10); $rt_throw(var$10); } q: { r: { s: { t: { u: while (true) { while (true) { nlea_EaglerAdapterImpl2_$callClinit(); var$16 = nlea_EaglerAdapterImpl2_clientLANPacketBuffer; var$17 = var$16.$size0 <= 0 ? null : ju_ArrayList_remove(var$16, 0); if (var$17 === null) break u; $fullData = var$17.data; if ($fullData[0]) { if ($fullData[0] != 1) continue; var$19 = $this.$fragmentedPacket; var$20 = var$19.data.length; $pktId = $fullData.length; $fullData = $rt_createByteArray((var$20 + $pktId | 0) - 1 | 0); jl_System_fastArraycopy(var$19, 0, $fullData, 0, var$20); jl_System_arraycopy(var$17, 1, $fullData, $this.$fragmentedPacket.data.length, $pktId - 1 | 0); $this.$fragmentedPacket = $fullData; continue; } var$22 = $this.$fragmentedPacket; var$23 = var$22.data.length; var$24 = $fullData.length; $fullData_0 = $rt_createByteArray((var$23 + var$24 | 0) - 1 | 0); var$19 = $fullData_0.data; jl_System_fastArraycopy(var$22, 0, $fullData_0, 0, var$23); jl_System_arraycopy(var$17, 1, $fullData_0, $this.$fragmentedPacket.data.length, var$24 - 1 | 0); $this.$fragmentedPacket = $rt_createByteArray(0); $bai = new nle_EaglerInputStream; $bai.$mark0 = 0; $bai.$buf1 = $fullData_0; $bai.$pos = 0; var$23 = var$19.length; $bai.$count = var$23; if (0 >= var$23) $pktId = (-1); else { $bai.$pos = 1; $pktId = var$19[0] & 255; } if ($pktId == (-1)) { if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_Object__init_(var$27); var$27.$buffer = $rt_createCharArray(16); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } $rt_putStderr($rt_ustr(var$1)); $rt_putStderr($rt_ustr(var$2)); continue; } nms_Packet_$callClinit(); v: { try { var$16 = nms_IntHashMap_lookup(nms_Packet_packetIdToClassMap, $pktId); if (var$16 === null) { $pkt = null; break v; } $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$29 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; jl_Object__init_(var$27); var$27.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$16); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$27); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } jl_Throwable_printStackTrace(var$29, jl_System_errCache); if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); jl_Object__init_(var$16); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$27, 16); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } var$16 = new jl_StringBuilder; var$16.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$16, var$16.$length0, var$3); jl_AbstractStringBuilder_insert0(var$16, var$16.$length0, $pktId, 10); var$27 = new jl_String; var$19 = var$16.$buffer; var$22 = var$19.data; var$20 = var$16.$length0; var$30 = var$22.length; if (var$20 < 0) break t; if (var$20 > (var$30 - 0 | 0)) break t; var$27.$nativeString = $rt_charArrayToString(var$19.data, 0, var$20); $rt_putStderr($rt_ustr(var$27)); $rt_putStderr($rt_ustr(var$4)); $pkt = null; } if ($pkt !== null) break; if (jl_System_errCache === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$27.$buf = $rt_createByteArray(32); var$16.$out0 = var$27; var$27 = new jl_StringBuilder; jl_Object__init_(var$27); var$27.$buffer = $rt_createCharArray(16); var$16.$sb = var$27; var$16.$buffer0 = $rt_createCharArray(32); var$16.$autoFlush = 0; var$16.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$16; } var$27 = new jl_StringBuilder; var$27.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$27, var$27.$length0, var$5); jl_AbstractStringBuilder_insert0(var$27, var$27.$length0, $pktId, 10); jl_AbstractStringBuilder_insert(var$27, var$27.$length0, var$6); var$16 = new jl_String; $fullData = var$27.$buffer; var$19 = $fullData.data; var$20 = var$27.$length0; $pktId = var$19.length; if (var$20 < 0) break r; if (var$20 > ($pktId - 0 | 0)) break r; var$16.$nativeString = $rt_charArrayToString($fullData.data, 0, var$20); $rt_putStderr($rt_ustr(var$16)); $rt_putStderr($rt_ustr(var$7)); } w: { try { $pkt.$readPacketData(ji_DataInputStream__init_($bai)); var$16 = $this.$theNetHandler; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { } else if ($$je instanceof jl_Throwable) { $t = $$je; break w; } else { throw $$e; } } var$16 = jl_System_errCache; if (var$16 === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$23 = 32; var$19 = $rt_createByteArray(var$23); var$27.$buf = var$19; var$23 = 0; var$16.$out0 = var$27; var$27 = new jl_StringBuilder; var$20 = 16; jl_Object__init_(var$27); var$19 = $rt_createCharArray(var$20); var$27.$buffer = var$19; var$16.$sb = var$27; var$20 = 32; var$19 = $rt_createCharArray(var$20); var$16.$buffer0 = var$19; var$16.$autoFlush = var$23; var$27 = jnci_UTF8Charset_INSTANCE; var$16.$charset = var$27; jl_System_errCache = var$16; } if (var$24 <= 0) $pktId = (-1); else { var$23 = 0; var$23 = $fullData[var$23]; var$23 = var$23; var$20 = 255; $pktId = var$23 & var$20; } var$16 = new jl_StringBuilder; var$23 = 16; $fullData = $rt_createCharArray(var$23); var$16.$buffer = $fullData; var$23 = var$16.$length0; jl_AbstractStringBuilder_insert(var$16, var$23, var$12); var$23 = 10; var$20 = var$16.$length0; jl_AbstractStringBuilder_insert0(var$16, var$20, var$24, var$23); var$23 = var$16.$length0; jl_AbstractStringBuilder_insert(var$16, var$23, var$13); var$23 = 10; var$20 = var$16.$length0; jl_AbstractStringBuilder_insert0(var$16, var$20, $pktId, var$23); var$23 = var$16.$length0; jl_AbstractStringBuilder_insert(var$16, var$23, var$14); var$27 = new jl_String; $fullData = var$16.$buffer; var$19 = $fullData.data; var$23 = 0; var$20 = var$16.$length0; $pktId = var$19.length; if (var$20 < 0) break q; $pktId = $pktId - var$23 | 0; $pktId = $rt_compare(var$20, $pktId); if ($pktId > 0) break q; var$27.$nativeString = $rt_charArrayToString($fullData.data, var$23, var$20); var$16 = $rt_ustr(var$27); $rt_putStderr(var$16); var$16 = $rt_ustr(var$15); $rt_putStderr(var$16); continue u; } var$16 = jl_System_errCache; if (var$16 === null) { var$16 = new otcic_JSStderrPrintStream; var$27 = new ji_ByteArrayOutputStream; var$23 = 32; $fullData = $rt_createByteArray(var$23); var$27.$buf = $fullData; var$23 = 0; var$16.$out0 = var$27; var$27 = new jl_StringBuilder; var$20 = 16; jl_Object__init_(var$27); $fullData = $rt_createCharArray(var$20); var$27.$buffer = $fullData; var$16.$sb = var$27; var$20 = 32; $fullData = $rt_createCharArray(var$20); var$16.$buffer0 = $fullData; var$16.$autoFlush = var$23; var$27 = jnci_UTF8Charset_INSTANCE; var$16.$charset = var$27; jl_System_errCache = var$16; } $bai = nms_Packet_packetClassToIdMap; var$16 = $pkt; var$27 = $rt_s(3808); var$27 = $rt_ustr(var$27); var$16 = var$16[var$27]; if (var$16 === null) var$32 = null; else { var$27 = $rt_s(3809); var$27 = $rt_ustr(var$27); var$27 = var$16[var$27]; var$32 = var$27; if (var$32 === null) { var$32 = new jl_Class; var$32.$platformClass = var$16; var$27 = var$32; var$29 = $rt_s(3809); var$29 = $rt_ustr(var$29); var$16[var$29] = var$27; } } if (var$32 === null) { $fullData = $bai.$elementData; $fullData = $fullData.data; var$23 = 0; var$16 = $fullData[var$23]; while (var$16 !== null) { var$27 = var$16.$key; if (var$27 === null) break; var$16 = var$16.$next3; } } else { var$16 = var$32; var$27 = $rt_s(3810); var$27 = $rt_ustr(var$27); var$27 = var$16[var$27]; var$23 = var$27; if (!var$23) { var$27 = $rt_nextId(); var$23 = var$27; var$27 = var$23; var$29 = $rt_s(3810); var$29 = $rt_ustr(var$29); var$16[var$29] = var$27; } var$16 = var$32; var$27 = $rt_s(3810); var$27 = $rt_ustr(var$27); var$16 = var$16[var$27]; var$20 = var$16; $fullData = $bai.$elementData; $fullData = $fullData.data; $pktId = $fullData.length; var$23 = 1; var$23 = $pktId - var$23 | 0; var$23 = var$20 & var$23; var$16 = $fullData[var$23]; while (var$16 !== null) { var$23 = var$16.$origKeyHash; var$23 = $rt_compare(var$23, var$20); if (!var$23) { x: { var$27 = var$16.$key; if (var$32 !== var$27) { var$23 = var$32 !== var$27 ? 0 : 1; if (!var$23) { var$23 = 0; break x; } } var$23 = 1; } if (var$23) break; } var$16 = var$16.$next3; } } var$16 = var$16 === null ? null : var$16.$value1; var$16 = var$16; var$20 = var$16.$value0; var$23 = 4; var$16 = otci_IntegerUtil_toUnsignedLogRadixString(var$20, var$23); var$27 = $pkt; var$29 = $rt_s(3808); var$29 = $rt_ustr(var$29); var$29 = var$27[var$29]; if (var$29 === null) var$27 = null; else { var$27 = $rt_s(3809); var$27 = $rt_ustr(var$27); var$27 = var$29[var$27]; var$27 = var$27; if (var$27 === null) { var$27 = new jl_Class; var$27.$platformClass = var$29; $bai = var$27; $pkt = $rt_s(3809); $pkt = $rt_ustr($pkt); var$29[$pkt] = $bai; } } var$27 = jl_Class_getSimpleName(var$27); var$29 = new jl_StringBuilder; var$23 = 16; $fullData = $rt_createCharArray(var$23); var$29.$buffer = $fullData; var$23 = var$29.$length0; jl_AbstractStringBuilder_insert(var$29, var$23, var$8); var$23 = var$29.$length0; if (var$16 === null) var$16 = $rt_s(1); jl_AbstractStringBuilder_insert(var$29, var$23, var$16); var$23 = var$29.$length0; jl_AbstractStringBuilder_insert(var$29, var$23, var$9); var$23 = var$29.$length0; if (var$27 === null) var$27 = $rt_s(1); jl_AbstractStringBuilder_insert(var$29, var$23, var$27); var$23 = var$29.$length0; jl_AbstractStringBuilder_insert(var$29, var$23, var$10); var$16 = new jl_String; $fullData = var$29.$buffer; var$19 = $fullData.data; var$23 = 0; var$20 = var$29.$length0; $pktId = var$19.length; if (var$20 < 0) break s; $pktId = $pktId - var$23 | 0; $pktId = $rt_compare(var$20, $pktId); if ($pktId > 0) break s; var$16.$nativeString = $rt_charArrayToString($fullData.data, var$23, var$20); var$16 = $rt_ustr(var$16); $rt_putStderr(var$16); var$16 = $rt_ustr(var$11); $rt_putStderr(var$16); var$16 = jl_System_errCache; if (var$16 === null) { var$27 = new otcic_JSStderrPrintStream; var$16 = new ji_ByteArrayOutputStream; var$23 = 32; $fullData = $rt_createByteArray(var$23); var$16.$buf = $fullData; var$20 = 0; jl_Object__init_(var$27); var$27.$out0 = var$16; var$16 = new jl_StringBuilder; var$23 = 16; jl_AbstractStringBuilder__init_(var$16, var$23); var$27.$sb = var$16; var$23 = 32; $fullData = $rt_createCharArray(var$23); var$27.$buffer0 = $fullData; var$27.$autoFlush = var$20; var$16 = jnci_UTF8Charset_INSTANCE; var$27.$charset = var$16; jl_System_errCache = var$27; } var$16 = jl_System_errCache; jl_Throwable_printStackTrace($t, var$16); } return; } var$10 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$10); $rt_throw(var$10); } var$10 = new jl_IndexOutOfBoundsException; var$23 = 1; var$10.$suppressionEnabled = var$23; var$23 = 1; var$10.$writableStackTrace = var$23; jl_Throwable_fillInStackTrace(var$10); $rt_throw(var$10); } var$10 = new jl_IndexOutOfBoundsException; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$10); $rt_throw(var$10); } var$10 = new jl_IndexOutOfBoundsException; var$23 = 1; var$10.$suppressionEnabled = var$23; var$23 = 1; var$10.$writableStackTrace = var$23; jl_Throwable_fillInStackTrace(var$10); $rt_throw(var$10); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $fullData, var$19, var$20, $pktId, var$22, var$23, var$24, $fullData_0, $bai, var$27, $pkt, var$29, var$30, $t, var$32, $ptr); }, nle_LANClientNetworkManager_serverShutdown = $this => { nlea_EaglerAdapterImpl2_$callClinit(); if (!nlea_EaglerAdapterImpl2_clientDataChannelClosed) nlea_EaglerAdapterImpl2_rtcLANClient.signalRemoteDisconnect(!!0); }, nle_LANClientNetworkManager_networkShutdown = ($this, $var1, $var2) => { nlea_EaglerAdapterImpl2_$callClinit(); if (!nlea_EaglerAdapterImpl2_clientDataChannelClosed) nlea_EaglerAdapterImpl2_rtcLANClient.signalRemoteDisconnect(!!0); }, nle_LANClientNetworkManager_closeConnections = $this => { nlea_EaglerAdapterImpl2_$callClinit(); if (!nlea_EaglerAdapterImpl2_clientDataChannelClosed) nlea_EaglerAdapterImpl2_rtcLANClient.signalRemoteDisconnect(!!0); }, nle_LANClientNetworkManager_getServerURI = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$displayRelay; var$2 = $this.$displayCode; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3811)); var$4 = var$3.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$1); var$5 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$5, var$5 + 1 | 0); var$3.$buffer.data[var$5] = 58; var$4 = var$3.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$2); var$5 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$5, var$5 + 1 | 0); var$6 = var$3.$buffer; var$7 = var$6.data; var$7[var$5] = 93; var$1 = new jl_String; var$5 = var$3.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nle_LANClientNetworkManager__clinit_ = () => { nle_LANClientNetworkManager_initStateNames = $rt_wrapArray(jl_String, [$rt_s(98), $rt_s(99), $rt_s(100), $rt_s(101)]); }, nle_ServerQuery = $rt_classWithoutFields(0); function nlea_EaglerAdapterImpl2$ServerQueryImpl() { let a = this; jl_Object.call(a); a.$queryResponses = null; a.$queryResponsesBytes = null; a.$type4 = null; a.$open0 = 0; a.$alive = 0; a.$uriString = null; a.$pingStart = Long_ZERO; a.$pingTimer = Long_ZERO; a.$sock = null; } let nlea_EaglerAdapterImpl2$ServerQueryImpl__init_0 = ($this, $type_, $uri) => { let var$3, var$4, $$je; $this.$queryResponses = new ju_LinkedList; $this.$queryResponsesBytes = new ju_LinkedList; $this.$type4 = $type_; $this.$uriString = $uri; $this.$alive = 0; $this.$pingStart = Long_fromInt(-1); $this.$pingTimer = Long_fromInt(-1); a: { try { $type_ = new WebSocket($rt_ustr($uri)); $uri = "arraybuffer"; $type_.binaryType = $uri; $this.$open0 = 1; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { break a; } else { throw $$e; } } $this.$sock = $type_; var$3 = new nlea_EaglerAdapterImpl2$ServerQueryImpl$1; var$3.$this$013 = $this; $type_.addEventListener("open", otji_JS_function(var$3, "handleEvent")); $type_ = $this.$sock; var$3 = new nlea_EaglerAdapterImpl2$ServerQueryImpl$2; var$3.$this$08 = $this; $type_.addEventListener("close", otji_JS_function(var$3, "handleEvent")); $type_ = $this.$sock; var$3 = new nlea_EaglerAdapterImpl2$ServerQueryImpl$3; var$3.$this$05 = $this; $type_.addEventListener("message", otji_JS_function(var$3, "handleEvent")); $type_ = new nlea_EaglerAdapterImpl2$ServerQueryImpl$4; $type_.$this$07 = $this; setTimeout(otji_JS_function($type_, "onTimer"), 5000.0); return; } b: { $this.$open0 = 0; nlea_EaglerAdapterImpl2_$callClinit(); if (ju_HashSet_contains(nlea_EaglerAdapterImpl2_blockedAddresses, $this.$uriString)) { $type_ = $this.$queryResponses; $uri = nle_ServerQuery$QueryResponse__init_(1, Long_fromInt(-1)); var$4 = $type_.$size2; if (var$4 >= 0) { ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($type_, var$4), $uri); break b; } $type_ = new jl_IndexOutOfBoundsException; $type_.$suppressionEnabled = 1; $type_.$writableStackTrace = 1; $rt_throw($type_); } if (ju_HashSet_contains(nlea_EaglerAdapterImpl2_rateLimitedAddresses, $this.$uriString)) { $type_ = $this.$queryResponses; $uri = nle_ServerQuery$QueryResponse__init_(0, Long_fromInt(-1)); var$4 = $type_.$size2; if (var$4 < 0) { $type_ = new jl_IndexOutOfBoundsException; $type_.$suppressionEnabled = 1; $type_.$writableStackTrace = 1; $rt_throw($type_); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($type_, var$4), $uri); } } $this.$sock = null; }, nlea_EaglerAdapterImpl2$ServerQueryImpl__init_ = (var_0, var_1) => { let var_2 = new nlea_EaglerAdapterImpl2$ServerQueryImpl(); nlea_EaglerAdapterImpl2$ServerQueryImpl__init_0(var_2, var_0, var_1); return var_2; }, nms_ServerConfigurationManager = $rt_classWithoutFields(), nms_ServerConfigurationManager_dateFormat = null, nms_ServerConfigurationManager_$callClinit = () => { nms_ServerConfigurationManager_$callClinit = $rt_eraseClinit(nms_ServerConfigurationManager); nms_ServerConfigurationManager__clinit_(); }, nms_ServerConfigurationManager__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = new jt_SimpleDateFormat; ju_Locale_$callClinit(); var$2 = ju_Locale_defaultLocale; var$3 = new jt_DateFormatSymbols; var$3.$locale0 = var$2; var$4 = new ju_GregorianCalendar; ju_TimeZone_$callClinit(); if (ju_TimeZone_defaultTz === null) { var$5 = ju_TimeZone_detectTimezone(); ju_TimeZone_defaultTz = var$5; if (var$5 === null) ju_TimeZone_defaultTz = ju_TimeZone_GMT; } ju_GregorianCalendar__init_(var$4, ju_IANATimeZone_clone(ju_TimeZone_defaultTz), var$2); var$1.$calendar = var$4; var$3 = jt_DateFormatSymbols_clone(var$3); var$1.$dateFormatSymbols = var$3; var$5 = ju_Locale_defaultLocale; var$1.$locale = var$5; var$1.$pattern1 = $rt_s(3812); var$6 = new jt_SimpleDatePatternParser; var$4 = new ju_ArrayList; ju_AbstractList__init_(var$4); var$4.$array = $rt_createArray(jl_Object, 10); var$6.$elements = var$4; var$6.$symbols0 = var$3; var$6.$locale3 = var$5; jt_SimpleDatePatternParser_parsePattern(var$6, var$1.$pattern1); var$1.$elements0 = ju_AbstractCollection_toArray(var$6.$elements, $rt_createArray(jt_DateFormatElement, 0)); var$1.$locale = var$2; nms_ServerConfigurationManager_dateFormat = var$1; }, nms_WorldServer = $rt_classWithoutFields(nms_World), nms_WorldServer_bonusChestContent = null, nms_WorldServer_$callClinit = () => { nms_WorldServer_$callClinit = $rt_eraseClinit(nms_WorldServer); nms_WorldServer__clinit_(); }, nms_WorldServer__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $rt_createArray(nms_WeightedRandomChestContent, 9); var$2 = var$1.data; var$3 = new nms_WeightedRandomChestContent; nms_Item_$callClinit(); var$4 = nms_Item_stick.$itemID0; var$3.$itemWeight = 10; var$5 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$5.$itemID = var$4; var$5.$stackSize = 1; var$5.$itemDamage = 0; var$3.$theItemId = var$5; var$3.$theMinimumChanceToGenerateItem = 1; var$3.$theMaximumChanceToGenerateItem = 3; var$2[0] = var$3; var$5 = new nms_WeightedRandomChestContent; nms_Block_$callClinit(); var$6 = nms_Block_planks.$blockID; var$5.$itemWeight = 10; var$3 = new nms_ItemStack; var$3.$itemID = var$6; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$5.$theItemId = var$3; var$5.$theMinimumChanceToGenerateItem = 1; var$5.$theMaximumChanceToGenerateItem = 3; var$2[1] = var$5; var$5 = new nms_WeightedRandomChestContent; var$6 = nms_Block_wood.$blockID; var$5.$itemWeight = 10; var$3 = new nms_ItemStack; var$3.$itemID = var$6; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$5.$theItemId = var$3; var$5.$theMinimumChanceToGenerateItem = 1; var$5.$theMaximumChanceToGenerateItem = 3; var$2[2] = var$5; var$5 = new nms_WeightedRandomChestContent; var$6 = nms_Item_axeStone.$itemID0; var$5.$itemWeight = 3; var$3 = new nms_ItemStack; var$3.$itemID = var$6; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$5.$theItemId = var$3; var$5.$theMinimumChanceToGenerateItem = 1; var$5.$theMaximumChanceToGenerateItem = 1; var$2[3] = var$5; var$5 = new nms_WeightedRandomChestContent; var$6 = nms_Item_axeWood.$itemID0; var$5.$itemWeight = 5; var$3 = new nms_ItemStack; var$3.$itemID = var$6; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$5.$theItemId = var$3; var$5.$theMinimumChanceToGenerateItem = 1; var$5.$theMaximumChanceToGenerateItem = 1; var$2[4] = var$5; var$5 = new nms_WeightedRandomChestContent; var$6 = nms_Item_pickaxeStone.$itemID0; var$5.$itemWeight = 3; var$3 = new nms_ItemStack; var$3.$itemID = var$6; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$5.$theItemId = var$3; var$5.$theMinimumChanceToGenerateItem = 1; var$5.$theMaximumChanceToGenerateItem = 1; var$2[5] = var$5; var$5 = new nms_WeightedRandomChestContent; var$6 = nms_Item_pickaxeWood.$itemID0; var$5.$itemWeight = 5; var$3 = new nms_ItemStack; var$3.$itemID = var$6; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$5.$theItemId = var$3; var$5.$theMinimumChanceToGenerateItem = 1; var$5.$theMaximumChanceToGenerateItem = 1; var$2[6] = var$5; var$5 = new nms_WeightedRandomChestContent; var$6 = nms_Item_appleRed.$itemID0; var$5.$itemWeight = 5; var$3 = new nms_ItemStack; var$3.$itemID = var$6; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$5.$theItemId = var$3; var$5.$theMinimumChanceToGenerateItem = 2; var$5.$theMaximumChanceToGenerateItem = 3; var$2[7] = var$5; var$5 = new nms_WeightedRandomChestContent; var$6 = nms_Item_bread.$itemID0; var$5.$itemWeight = 3; var$3 = new nms_ItemStack; var$3.$itemID = var$6; var$3.$stackSize = 1; var$3.$itemDamage = 0; var$5.$theItemId = var$3; var$5.$theMinimumChanceToGenerateItem = 2; var$5.$theMaximumChanceToGenerateItem = 3; var$2[8] = var$5; nms_WorldServer_bonusChestContent = var$1; }; function nms_LongHashMap() { let a = this; jl_Object.call(a); a.$hashArray = null; a.$numHashElements = 0; a.$capacity0 = 0; a.$percentUseable = 0.75; a.$modCount5 = 0; } let nms_LongHashMap__init_ = $this => { $this.$hashArray = $rt_createArray(nms_LongHashMapEntry, 16); $this.$capacity0 = 12; $this.$percentUseable = 0.75; }, nms_LongHashMap__init_0 = () => { let var_0 = new nms_LongHashMap(); nms_LongHashMap__init_(var_0); return var_0; }, nms_LongHashMap_add = ($this, $par1, $par3Obj) => { let var$3, var$4, var$5, $var5, $var6; var$3 = Long_lo(Long_xor($par1, Long_shru($par1, 32))); var$3 = var$3 ^ (var$3 >>> 20 | 0) ^ (var$3 >>> 12 | 0); var$4 = var$3 ^ (var$3 >>> 7 | 0) ^ (var$3 >>> 4 | 0); var$5 = $this.$hashArray.data; $var5 = var$4 & (var$5.length - 1 | 0); $var6 = var$5[$var5]; while (true) { if ($var6 === null) { $this.$modCount5 = $this.$modCount5 + 1 | 0; nms_LongHashMap_createKey($this, var$4, $par1, $par3Obj, $var5); return; } if (Long_eq($var6.$key1, $par1)) break; $var6 = $var6.$nextEntry0; } $var6.$value6 = $par3Obj; }, nms_LongHashMap_copyHashTableTo = ($this, $par1ArrayOfLongHashMapEntry) => { let $var2, $var3, $var4, var$5, $var5, $var6, $var7; $par1ArrayOfLongHashMapEntry = $par1ArrayOfLongHashMapEntry.data; $var2 = $this.$hashArray; $var3 = $par1ArrayOfLongHashMapEntry.length; $var4 = 0; $var3 = $var3 - 1 | 0; while (true) { var$5 = $var2.data; if ($var4 >= var$5.length) break; a: { $var5 = var$5[$var4]; if ($var5 !== null) { var$5[$var4] = null; while (true) { $var6 = $var5.$nextEntry0; $var7 = $var5.$hash1 & $var3; $var5.$nextEntry0 = $par1ArrayOfLongHashMapEntry[$var7]; $par1ArrayOfLongHashMapEntry[$var7] = $var5; if ($var6 === null) break a; $var5 = $var6; } } } $var4 = $var4 + 1 | 0; } }, nms_LongHashMap_removeKey = ($this, $par1) => { let var$2, $var4, var$4, $var6, var$6, $var6_0; var$2 = Long_lo(Long_xor($par1, Long_shru($par1, 32))); var$2 = var$2 ^ (var$2 >>> 20 | 0) ^ (var$2 >>> 12 | 0); $var4 = var$2 ^ (var$2 >>> 7 | 0) ^ (var$2 >>> 4 | 0); var$4 = $this.$hashArray.data; $var4 = $var4 & (var$4.length - 1 | 0); $var6 = var$4[$var4]; var$6 = $var6; while ($var6 !== null) { $var6_0 = $var6.$nextEntry0; if (Long_eq($var6.$key1, $par1)) { $this.$modCount5 = $this.$modCount5 + 1 | 0; $this.$numHashElements = $this.$numHashElements - 1 | 0; if (var$6 !== $var6) var$6.$nextEntry0 = $var6_0; else var$4[$var4] = $var6_0; return $var6; } var$6 = $var6; $var6 = $var6_0; } return $var6; }, nms_LongHashMap_createKey = ($this, $par1, $par2, $par4Obj, $par5) => { let var$5, $var6, var$7; var$5 = $this.$hashArray.data; $var6 = var$5[$par5]; var$7 = new nms_LongHashMapEntry; var$7.$value6 = $par4Obj; var$7.$nextEntry0 = $var6; var$7.$key1 = $par2; var$7.$hash1 = $par1; var$5[$par5] = var$7; $par1 = $this.$numHashElements; $this.$numHashElements = $par1 + 1 | 0; if ($par1 >= $this.$capacity0) { $par5 = var$5.length; $par1 = 2 * $par5 | 0; if ($par5 == 1073741824) $this.$capacity0 = 2147483647; else { var$5 = $rt_createArray(nms_LongHashMapEntry, $par1); nms_LongHashMap_copyHashTableTo($this, var$5); $this.$hashArray = var$5; $this.$capacity0 = $par1 * 0.75 | 0; } } }; function ji_PushbackInputStream() { let a = this; ji_FilterInputStream.call(a); a.$buf5 = null; a.$pos3 = 0; } let ji_PushbackInputStream_available = $this => { let var$1, var$2; var$1 = $this.$buf5; if (var$1 !== null) return (var$1.data.length - $this.$pos3 | 0) + $this.$in.$available() | 0; var$2 = new ji_IOException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, ji_PushbackInputStream_close = $this => { if ($this.$in !== null) { $this.$in.$close(); $this.$in = null; $this.$buf5 = null; } }, ji_PushbackInputStream_read0 = $this => { let var$1, var$2, var$3; var$1 = $this.$buf5; if (var$1 === null) { var$2 = new ji_IOException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$1 = var$1.data; var$3 = $this.$pos3; if (var$3 >= var$1.length) return $this.$in.$read(); $this.$pos3 = var$3 + 1 | 0; return var$1[var$3] & 255; }, ji_PushbackInputStream_read = ($this, $buffer, $offset, $length) => { let var$4, var$5, $copiedBytes, var$7, $copyLength, $inCopied, var$10, var$11, var$12; var$4 = $this.$buf5; if (var$4 === null) { var$5 = new ji_IOException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(529); $rt_throw(var$5); } $copiedBytes = $buffer.data.length; if ($offset <= $copiedBytes && $offset >= 0) { if ($length >= 0 && $length <= ($copiedBytes - $offset | 0)) { var$7 = var$4.data; $copiedBytes = 0; $copyLength = 0; $inCopied = $this.$pos3; var$10 = var$7.length; if ($inCopied < var$10) { $copyLength = var$10 - $inCopied | 0; if ($copyLength >= $length) $copyLength = $length; jl_System_fastArraycopy(var$4, $inCopied, $buffer, $offset, $copyLength); $offset = $offset + $copyLength | 0; $copiedBytes = $copiedBytes + $copyLength | 0; $this.$pos3 = $this.$pos3 + $copyLength | 0; } if ($copyLength == $length) return $length; $inCopied = $this.$in.$read0($buffer, $offset, $length - $copiedBytes | 0); if ($inCopied > 0) return $inCopied + $copiedBytes | 0; if ($copiedBytes) return $copiedBytes; return $inCopied; } var$5 = new jl_ArrayIndexOutOfBoundsException; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(3813)); jl_AbstractStringBuilder_insert0(var$11, var$11.$length0, $length, 10); var$12 = new jl_String; $buffer = var$11.$buffer; var$4 = $buffer.data; $length = var$11.$length0; $copiedBytes = var$4.length; if ($length >= 0 && $length <= ($copiedBytes - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString($buffer.data, 0, $length); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$12; $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); } var$5 = new jl_ArrayIndexOutOfBoundsException; var$11 = new jl_StringBuilder; var$11.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$11, var$11.$length0, $rt_s(3814)); jl_AbstractStringBuilder_insert0(var$11, var$11.$length0, $offset, 10); var$12 = new jl_String; $buffer = var$11.$buffer; var$4 = $buffer.data; $length = var$11.$length0; $copiedBytes = var$4.length; if ($length >= 0 && $length <= ($copiedBytes - 0 | 0)) { var$12.$nativeString = $rt_charArrayToString($buffer.data, 0, $length); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$12; $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); }, ji_PushbackInputStream_unread = ($this, $buffer, $offset, $length) => { let var$4, var$5, var$6, var$7, var$8, var$9; var$4 = $this.$pos3; if ($length > var$4) { var$5 = new ji_IOException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(3815); $rt_throw(var$5); } var$6 = $buffer.data.length; if ($offset <= var$6 && $offset >= 0) { if ($length >= 0 && $length <= (var$6 - $offset | 0)) { var$7 = $this.$buf5; if (var$7 !== null) { jl_System_fastArraycopy($buffer, $offset, var$7, var$4 - $length | 0, $length); $this.$pos3 = $this.$pos3 - $length | 0; return; } var$5 = new ji_IOException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = $rt_s(529); $rt_throw(var$5); } var$5 = new jl_ArrayIndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3813)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $length, 10); var$9 = new jl_String; $buffer = var$8.$buffer; var$7 = $buffer.data; $length = var$8.$length0; var$4 = var$7.length; if ($length >= 0 && $length <= (var$4 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($buffer.data, 0, $length); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$9; $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); } var$5 = new jl_ArrayIndexOutOfBoundsException; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3814)); jl_AbstractStringBuilder_insert0(var$8, var$8.$length0, $offset, 10); var$9 = new jl_String; $buffer = var$8.$buffer; var$7 = $buffer.data; $length = var$8.$length0; var$4 = var$7.length; if ($length >= 0 && $length <= (var$4 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString($buffer.data, 0, $length); var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; var$5.$message = var$9; $rt_throw(var$5); } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); }, juz_Checksum = $rt_classWithoutFields(0); function juz_CRC32() { let a = this; jl_Object.call(a); a.$impl0 = null; a.$tbytes = Long_ZERO; } let juz_CRC32__init_ = $this => { let var$1; var$1 = new cjj_CRC32; var$1.$v = 0; $this.$impl0 = var$1; }, juz_CRC32__init_0 = () => { let var_0 = new juz_CRC32(); juz_CRC32__init_(var_0); return var_0; }, juz_CRC32_update = ($this, $buf, $off, $nbytes) => { let var$4, var$5; var$4 = $buf.data.length; if ($off <= var$4 && $nbytes >= 0 && $off >= 0 && (var$4 - $off | 0) >= $nbytes) { cjj_CRC32_update($this.$impl0, $buf, $off, $nbytes); $this.$tbytes = Long_add($this.$tbytes, Long_fromInt($nbytes)); return; } var$5 = new jl_ArrayIndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); }; function juz_ZipEntry() { let a = this; jl_Object.call(a); a.$name19 = null; a.$compressedSize = Long_ZERO; a.$crc0 = Long_ZERO; a.$size8 = Long_ZERO; a.$compressionMethod = 0; a.$time0 = 0; a.$modDate = 0; a.$extra0 = null; a.$nameLen = 0; a.$mLocalHeaderRelOffset = Long_ZERO; } let juz_ZipEntry__init_ = ($this, $name) => { $this.$compressedSize = Long_fromInt(-1); $this.$crc0 = Long_fromInt(-1); $this.$size8 = Long_fromInt(-1); $this.$compressionMethod = (-1); $this.$time0 = (-1); $this.$modDate = (-1); $this.$nameLen = (-1); $this.$mLocalHeaderRelOffset = Long_fromInt(-1); if ($name === null) { $name = new jl_NullPointerException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); } if ($name.$nativeString.length <= 65535) { $this.$name19 = $name; return; } $name = new jl_IllegalArgumentException; $name.$suppressionEnabled = 1; $name.$writableStackTrace = 1; $rt_throw($name); }, juz_ZipEntry__init_0 = var_0 => { let var_1 = new juz_ZipEntry(); juz_ZipEntry__init_(var_1, var_0); return var_1; }, juz_ZipEntry_getName = $this => { return $this.$name19; }, juz_ZipEntry_isDirectory = $this => { let var$1, var$2; var$1 = $this.$name19; var$2 = var$1.$nativeString.length - 1 | 0; if (var$2 >= 0 && var$2 < var$1.$nativeString.length) return var$1.$nativeString.charCodeAt(var$2) != 47 ? 0 : 1; var$1 = new jl_StringIndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }; function nlesrp_ICEServerSet$RelayServer() { let a = this; jl_Object.call(a); a.$type3 = null; a.$address0 = null; a.$username2 = null; a.$password = null; } let nlesrp_ICEServerSet$RelayServer_getICEString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$username2; if (var$1 === null) return $this.$address0; var$2 = $this.$address0; var$3 = $this.$password; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$5 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$2); var$6 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$6, var$6 + 1 | 0); var$4.$buffer.data[var$6] = 59; jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$1); var$6 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$6, var$6 + 1 | 0); var$4.$buffer.data[var$6] = 59; var$5 = var$4.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$3); var$1 = new jl_String; var$7 = var$4.$buffer; var$8 = var$7.data; var$6 = var$4.$length0; var$9 = var$8.length; if (var$6 >= 0 && var$6 <= (var$9 - 0 | 0)) { var$1.$nativeString = $rt_charArrayToString(var$7.data, 0, var$6); return var$1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }; function nlea_EaglerAdapterImpl2$RelayWorldsQueryRatelimitDummy() { jl_Object.call(this); this.$rateLimit = null; } let nlea_EaglerAdapterImpl2$RelayWorldsQueryRatelimitDummy_isQueryOpen = $this => { return 0; }, nlea_EaglerAdapterImpl2$RelayWorldsQueryRatelimitDummy_isQueryFailed = $this => { return 1; }, nlea_EaglerAdapterImpl2$RelayWorldsQueryRatelimitDummy_getWorlds = $this => { let var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 0); return var$1; }; function nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl() { let a = this; jl_Object.call(a); a.$sock1 = null; a.$uri0 = null; a.$open1 = 0; a.$failed = 0; a.$hasRecievedAnyData0 = 0; a.$rateLimitStatus = null; a.$versError0 = null; a.$worlds = null; } let nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl__init_0 = ($this, $uri) => { let var$2, var$3, var$4, var$5, $$je; $this.$hasRecievedAnyData0 = 0; $this.$rateLimitStatus = nlea_EaglerAdapterImpl2$RateLimit_NONE; $this.$versError0 = nle_RelayQuery$VersionMismatch_UNKNOWN; $this.$worlds = null; $this.$uri0 = $uri; a: { try { var$2 = new WebSocket($rt_ustr($uri)); var$3 = "arraybuffer"; var$2.binaryType = var$3; $this.$open1 = 1; $this.$failed = 0; break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } $this.$sock1 = null; $this.$open1 = 0; $this.$failed = 1; return; } $this.$sock1 = var$2; var$4 = new nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$1; var$4.$this$012 = $this; var$2.addEventListener("open", otji_JS_function(var$4, "handleEvent")); var$2 = $this.$sock1; var$5 = new nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$2; var$5.$this$04 = $this; var$5.$val$uri1 = $uri; var$2.addEventListener("message", otji_JS_function(var$5, "handleEvent")); var$2 = $this.$sock1; var$4 = new nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$3; var$4.$this$010 = $this; var$4.$val$uri0 = $uri; var$2.addEventListener("close", otji_JS_function(var$4, "handleEvent")); }, nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl__init_ = var_0 => { let var_1 = new nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl(); nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl__init_0(var_1, var_0); return var_1; }, nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl_isQueryOpen = $this => { return $this.$open1; }, nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl_isQueryFailed = $this => { return $this.$failed; }, nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl_getWorlds = $this => { return $this.$worlds; }; function nleav_VirtualFilesystem$AsyncHandlers$7() { let a = this; jl_Object.call(a); a.$val$cb4 = null; a.$val$r = null; } let nleav_VirtualFilesystem$AsyncHandlers$7_handleEvent$exported$0 = var$0 => { let var$1, var$2; var$1 = var$0.$val$cb4; var$2 = otji_JSWrapper_wrap(nleav_VirtualFilesystem$AsyncHandlers_readRow$js_body$_5(var$0.$val$r.result)); var$1.$realAsyncCallback.$complete(var$2); }; function nleav_VirtualFilesystem$AsyncHandlers$8() { jl_Object.call(this); this.$val$cb8 = null; } let nleav_VirtualFilesystem$AsyncHandlers$8_handleEvent$exported$0 = var$0 => { let var$1, var$2; var$1 = var$0.$val$cb8; var$2 = null; var$1.$realAsyncCallback.$complete(var$2); }; function nlea_EaglerAdapterImpl2$ServerQueryImpl$1() { jl_Object.call(this); this.$this$013 = null; } let nlea_EaglerAdapterImpl2$ServerQueryImpl$1_handleEvent$exported$0 = (var$0, var$1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = var$0.$this$013; nlea_EaglerAdapterImpl2_$callClinit(); var$1.$pingStart = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$1 = var$0.$this$013; var$2 = var$1.$sock; var$1 = var$1.$type4; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(3816)); var$4 = var$3.$length0; if (var$1 === null) var$1 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$4, var$1); var$5 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; var$8 = var$3.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); var$2.send($rt_ustr(var$5)); return; } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); }; function nlea_EaglerAdapterImpl2$ServerQueryImpl$2() { jl_Object.call(this); this.$this$08 = null; } let nlea_EaglerAdapterImpl2$ServerQueryImpl$2_handleEvent = ($this, $evt) => { let var$2, var$3, var$4, var$5, var$6; a: { $evt = $this.$this$08; $evt.$open0 = 0; if (!$evt.$alive) { nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_blockedAddresses; $evt = $evt.$uriString; var$2 = var$2.$backingMap; if ($evt === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { b: { if (!$evt.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $evt.$nativeString.length) break b; $evt.$hashCode1 = (31 * $evt.$hashCode1 | 0) + $evt.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $evt.$hashCode1; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { c: { var$6 = var$2.$key; if ($evt !== var$6) { if ($evt === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $evt.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break c; } } var$3 = 1; } if (var$3) break; } var$2 = var$2.$next3; } } if (var$2 === null ? 0 : 1) { $evt = $this.$this$08; var$2 = $evt.$queryResponses; var$6 = nle_ServerQuery$QueryResponse__init_(1, $evt.$pingTimer); var$3 = var$2.$size2; if (var$3 >= 0) { ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator(var$2, var$3), var$6); break a; } $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; $rt_throw($evt); } $evt = nlea_EaglerAdapterImpl2_rateLimitedAddresses; var$2 = $this.$this$08.$uriString; $evt = $evt.$backingMap; if (var$2 === null) { $evt = $evt.$elementData.data[0]; while ($evt !== null && $evt.$key !== null) { $evt = $evt.$next3; } } else { d: { if (!var$2.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= var$2.$nativeString.length) break d; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = var$2.$hashCode1; var$5 = $evt.$elementData.data; $evt = var$5[var$4 & (var$5.length - 1 | 0)]; while ($evt !== null) { if ($evt.$origKeyHash == var$4) { e: { var$6 = $evt.$key; if (var$2 !== var$6) { if (var$2 === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = var$2.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break e; } } var$3 = 1; } if (var$3) break; } $evt = $evt.$next3; } } if ($evt === null ? 0 : 1) { $evt = $this.$this$08; var$2 = $evt.$queryResponses; var$6 = nle_ServerQuery$QueryResponse__init_(0, $evt.$pingTimer); var$3 = var$2.$size2; if (var$3 < 0) { $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; $rt_throw($evt); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator(var$2, var$3), var$6); } } } }, nlea_EaglerAdapterImpl2$ServerQueryImpl$2_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2$ServerQueryImpl$2_handleEvent(var$0, var$1); }; function nlea_EaglerAdapterImpl2$ServerQueryImpl$3() { jl_Object.call(this); this.$this$05 = null; } let nlea_EaglerAdapterImpl2$ServerQueryImpl$3_handleEvent = ($this, $evt) => { let $q, var$3, var$4, $str, $t, var$7, var$8, var$9, $$je; $q = $this.$this$05; $q.$alive = 1; if (Long_eq($q.$pingTimer, Long_fromInt(-1))) { nlea_EaglerAdapterImpl2_$callClinit(); $q.$pingTimer = Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$this$05.$pingStart); } a: { if (!(typeof $evt.data === "string" ? 1 : 0)) { $q = $this.$this$05.$queryResponsesBytes; var$3 = nleat_TeaVMUtils_wrapByteArrayBuffer($evt.data); var$4 = $q.$size2; if (var$4 >= 0) { ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($q, var$4), var$3); break a; } $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; $rt_throw($evt); } b: { c: { try { $str = $rt_str($evt.data); if (!jl_String_equalsIgnoreCase($str, $rt_s(3422))) break c; ju_HashSet_add(nlea_EaglerAdapterImpl2_rateLimitedAddresses, $this.$this$05.$uriString); $evt = $this.$this$05; ju_AbstractList_add($evt.$queryResponses, nle_ServerQuery$QueryResponse__init_(0, $evt.$pingTimer)); $this.$this$05.$sock.close(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; break b; } else { throw $$e; } } return; } d: { try { if (!jl_String_equalsIgnoreCase($str, $rt_s(3424))) break d; ju_HashSet_add(nlea_EaglerAdapterImpl2_blockedAddresses, $this.$this$05.$uriString); $evt = $this.$this$05; ju_AbstractList_add($evt.$queryResponses, nle_ServerQuery$QueryResponse__init_(1, $evt.$pingTimer)); $this.$this$05.$sock.close(); } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; break b; } else { throw $$e; } } return; } e: { try { $q = nle_ServerQuery$QueryResponse__init_0(oj_JSONObject__init_1($str), $this.$this$05.$pingTimer); $evt = $q.$rateLimitStatus1; if ($evt === null) break e; if ($evt === nlea_EaglerAdapterImpl2$RateLimit_BLOCKED) ju_HashSet_add(nlea_EaglerAdapterImpl2_rateLimitedAddresses, $this.$this$05.$uriString); else if ($evt === nlea_EaglerAdapterImpl2$RateLimit_LOCKED) ju_HashSet_add(nlea_EaglerAdapterImpl2_blockedAddresses, $this.$this$05.$uriString); $this.$this$05.$sock.close(); break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; break b; } else { throw $$e; } } } try { ju_AbstractList_add($this.$this$05.$queryResponses, $q); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; } else { throw $$e; } } } if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; $q = new ji_ByteArrayOutputStream; $q.$buf = $rt_createByteArray(32); $evt.$out0 = $q; $q = new jl_StringBuilder; jl_Object__init_($q); $q.$buffer = $rt_createCharArray(16); $evt.$sb = $q; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } $evt = $t.$getMessage(); $q = $t.constructor; if ($q === null) $t = null; else { $t = $q.classObject; if ($t === null) { $t = new jl_Class; $t.$platformClass = $q; $q.classObject = $t; } } if ($t.$name1 === null) $t.$name1 = $rt_str($t.$platformClass.$meta.name); $t = $t.$name1; if ($evt === null) $evt = $rt_s(18); else { $q = new jl_StringBuilder; $q.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($q, $q.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert($q, $q.$length0, $evt); $evt = new jl_String; var$3 = $q.$buffer; var$7 = var$3.data; var$8 = $q.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) $evt.$nativeString = $rt_charArrayToString(var$3.data, 0, var$8); else { $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } $q = new jl_StringBuilder; $q.$buffer = $rt_createCharArray(16); var$4 = $q.$length0; if ($t === null) $t = $rt_s(1); jl_AbstractStringBuilder_insert($q, var$4, $t); jl_AbstractStringBuilder_insert($q, $q.$length0, $evt); $evt = new jl_String; var$3 = $q.$buffer; var$7 = var$3.data; var$8 = $q.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $evt.$nativeString = $rt_charArrayToString(var$3.data, 0, var$8); $q = new jl_StringBuilder; $q.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($q, $q.$length0, $rt_s(3817)); jl_AbstractStringBuilder_insert($q, $q.$length0, $evt); $evt = new jl_String; var$3 = $q.$buffer; var$7 = var$3.data; var$8 = $q.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $evt.$nativeString = $rt_charArrayToString(var$3.data, 0, var$8); $rt_putStderr($rt_ustr($evt)); $rt_putStderr("\n"); break a; } $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($evt); $rt_throw($evt); } $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } }, nlea_EaglerAdapterImpl2$ServerQueryImpl$3_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2$ServerQueryImpl$3_handleEvent(var$0, var$1); }; function nlea_EaglerAdapterImpl2$ServerQueryImpl$4() { jl_Object.call(this); this.$this$07 = null; } let nlea_EaglerAdapterImpl2$ServerQueryImpl$4_onTimer = $this => { let var$1; var$1 = $this.$this$07; if (var$1.$open0 && var$1.$sock.readyState != 1) { if (!$this.$this$07.$sock.readyState) $this.$this$07.$sock.close(); $this.$this$07.$open0 = 0; } }, nlea_EaglerAdapterImpl2$ServerQueryImpl$4_onTimer$exported$0 = var$0 => { nlea_EaglerAdapterImpl2$ServerQueryImpl$4_onTimer(var$0); }; function nms_LongHashMapEntry() { let a = this; jl_Object.call(a); a.$key1 = Long_ZERO; a.$value6 = null; a.$nextEntry0 = null; a.$hash1 = 0; } let nleat_EaglercraftLANClient$DescriptionHandler = $rt_classWithoutFields(0), nlea_EaglerAdapterImpl2$34 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$34__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$34__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$34(); nlea_EaglerAdapterImpl2$34__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$34_call$exported$0 = (var$0, var$1) => { var$1 = $rt_str(var$1); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_clientDescription = var$1; }, nleat_EaglercraftLANClient$ICECandidateHandler = $rt_classWithoutFields(0), nlea_EaglerAdapterImpl2$35 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$35__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$35__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$35(); nlea_EaglerAdapterImpl2$35__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$35_call$exported$0 = (var$0, var$1) => { var$1 = $rt_str(var$1); nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_clientICECandidate = var$1; }, nleat_EaglercraftLANClient$ClientSignalHandler = $rt_classWithoutFields(0), nlea_EaglerAdapterImpl2$36 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$36__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$36__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$36(); nlea_EaglerAdapterImpl2$36__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$36_call$exported$0 = var$0 => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_clientDataChannelClosed = 0; nlea_EaglerAdapterImpl2_clientDataChannelOpen = 1; }, nleat_EaglercraftLANClient$RemotePacketHandler = $rt_classWithoutFields(0), nlea_EaglerAdapterImpl2$37 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$37__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$37__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$37(); nlea_EaglerAdapterImpl2$37__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$37_call$exported$0 = (var$0, var$1) => { let var$2, var$3, var$4, var$5; nlea_EaglerAdapterImpl2_$callClinit(); var$2 = nlea_EaglerAdapterImpl2_clientLANPacketBuffer; var$3 = nleat_TeaVMUtils_wrapByteArrayBuffer(var$1); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$4 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$4[var$5] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; }, nlea_EaglerAdapterImpl2$38 = $rt_classWithoutFields(), nlea_EaglerAdapterImpl2$38__init_ = $this => { return; }, nlea_EaglerAdapterImpl2$38__init_0 = () => { let var_0 = new nlea_EaglerAdapterImpl2$38(); nlea_EaglerAdapterImpl2$38__init_(var_0); return var_0; }, nlea_EaglerAdapterImpl2$38_call$exported$0 = var$0 => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_clientDataChannelClosed = 1; }; function nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$1() { jl_Object.call(this); this.$this$012 = null; } let nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$1_handleEvent = ($this, $evt) => { let $e, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $$je; a: { try { $this.$this$012.$sock1.send((nlesrp_IPacket_writePacket(nlesrp_IPacket00Handshake__init_0(4, 1, $rt_s(18)))).data.buffer); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); $evt.$out0 = var$3; var$3 = new jl_StringBuilder; jl_Object__init_(var$3); var$3.$buffer = $rt_createCharArray(16); $evt.$sb = var$3; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } var$4 = $e.$getMessage(); $evt = $e.constructor; if ($evt === null) var$3 = null; else { var$3 = $evt.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $evt; $evt.classObject = var$3; } } if (var$3.$name1 === null) var$3.$name1 = $rt_str(var$3.$platformClass.$meta.name); var$3 = var$3.$name1; if (var$4 === null) $evt = $rt_s(18); else { $e = new jl_StringBuilder; $e.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($e, $e.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert($e, $e.$length0, var$4); $evt = new jl_String; var$5 = $e.$buffer; var$6 = var$5.data; var$7 = $e.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) $evt.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); else { $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } $e = new jl_StringBuilder; $e.$buffer = $rt_createCharArray(16); var$9 = $e.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($e, var$9, var$3); jl_AbstractStringBuilder_insert($e, $e.$length0, $evt); $evt = new jl_String; var$5 = $e.$buffer; var$6 = var$5.data; var$7 = $e.$length0; var$8 = var$6.length; if (var$7 >= 0 && var$7 <= (var$8 - 0 | 0)) { $evt.$nativeString = $rt_charArrayToString(var$5.data, 0, var$7); $rt_putStderr($rt_ustr($evt)); $rt_putStderr("\n"); $this.$this$012.$sock1.close(); $evt = $this.$this$012; $evt.$open1 = 0; $evt.$failed = 1; } else { $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } }, nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$1_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$1_handleEvent(var$0, var$1); }; function nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$2() { let a = this; jl_Object.call(a); a.$val$uri1 = null; a.$this$04 = null; } let nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$2_handleEvent = ($this, $evt) => { let $arr, var$3, $millis, $pkt, $ipkt, $e, $s, var$9, var$10, var$11, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$s = $thread.pop();$e = $thread.pop();$ipkt = $thread.pop();$pkt = $thread.pop();$millis = $thread.pop();var$3 = $thread.pop();$arr = $thread.pop();$evt = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($evt.data !== null && !(typeof $evt.data === "string" ? 1 : 0)) { $this.$this$04.$hasRecievedAnyData0 = 1; $arr = nleat_TeaVMUtils_wrapByteArrayBuffer($evt.data); var$3 = $arr.data; if (var$3.length == 2 && var$3[0] == (-4)) { $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (var$3[1] && var$3[1] != 1) { if (var$3[1] != 2) { $evt = $this.$this$04; $evt.$rateLimitStatus = nlea_EaglerAdapterImpl2$RateLimit_LOCKED; $pkt = nlea_EaglerAdapterImpl2_relayQueryBlocked; $evt = $evt.$uri0; $ipkt = new jl_Long; $ipkt.$value7 = $millis; ju_HashMap_putImpl($pkt, $evt, $ipkt); } else { $evt = $this.$this$04; $evt.$rateLimitStatus = nlea_EaglerAdapterImpl2$RateLimit_NOW_LOCKED; $pkt = nlea_EaglerAdapterImpl2_relayQueryLimited; $evt = $evt.$uri0; $ipkt = new jl_Long; $ipkt.$value7 = $millis; ju_HashMap_putImpl($pkt, $evt, $ipkt); $evt = nlea_EaglerAdapterImpl2_relayQueryBlocked; $pkt = $this.$this$04.$uri0; $ipkt = new jl_Long; $ipkt.$value7 = $millis; ju_HashMap_putImpl($evt, $pkt, $ipkt); } } else { $evt = $this.$this$04; $evt.$rateLimitStatus = nlea_EaglerAdapterImpl2$RateLimit_BLOCKED; $pkt = nlea_EaglerAdapterImpl2_relayQueryLimited; $evt = $evt.$uri0; $ipkt = new jl_Long; $ipkt.$value7 = $millis; ju_HashMap_putImpl($pkt, $evt, $ipkt); } $evt = $this.$this$04; $evt.$open1 = 0; $evt.$failed = 1; $evt.$sock1.close(); } else if ($this.$this$04.$open1) { try { $pkt = ji_DataInputStream__init_(nle_EaglerInputStream__init_($arr)); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); $evt.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_Object__init_($pkt); $pkt.$buffer = $rt_createCharArray(16); $evt.$sb = $pkt; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } $s = $e.$getMessage(); $evt = $e.constructor; if ($evt === null) $ipkt = null; else { $ipkt = $evt.classObject; if ($ipkt === null) { $ipkt = new jl_Class; $ipkt.$platformClass = $evt; $evt.classObject = $ipkt; } } if ($ipkt.$name1 === null) $ipkt.$name1 = $rt_str($ipkt.$platformClass.$meta.name); $ipkt = $ipkt.$name1; if ($s === null) $evt = $rt_s(18); else { $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $s); $evt = new jl_String; $arr = $pkt.$buffer; var$3 = $arr.data; var$9 = $pkt.$length0; var$10 = var$3.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) $evt.$nativeString = $rt_charArrayToString($arr.data, 0, var$9); else { $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); var$10 = $pkt.$length0; if ($ipkt === null) $ipkt = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, var$10, $ipkt); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $evt); $ipkt = new jl_String; $arr = $pkt.$buffer; var$3 = $arr.data; var$11 = $pkt.$length0; var$9 = var$3.length; if (var$11 >= 0 && var$11 <= (var$9 - 0 | 0)) { $ipkt.$nativeString = $rt_charArrayToString($arr.data, 0, var$11); $evt = new jl_StringBuilder; $evt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($evt, $evt.$length0, $rt_s(3818)); jl_AbstractStringBuilder_insert($evt, $evt.$length0, $ipkt); $pkt = new jl_String; $arr = $evt.$buffer; var$3 = $arr.data; var$11 = $evt.$length0; var$9 = var$3.length; if (var$11 >= 0 && var$11 <= (var$9 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString($arr.data, 0, var$11); $rt_putStderr($rt_ustr($pkt)); $rt_putStderr("\n"); if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); jl_Object__init_($evt); $evt.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pkt, 16); $evt.$sb = $pkt; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } jl_Throwable_printStackTrace($e, jl_System_errCache); $evt = $this.$this$04; $evt.$open1 = 0; $evt.$failed = 1; $evt.$sock1.close(); break a; } $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($evt); $rt_throw($evt); } $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } } return; case 1: a: { try { $tmp = nlesrp_IPacket_readPacket($pkt); if ($rt_suspending()) { break main; } $pkt = $tmp; if ($pkt instanceof nlesrp_IPacket07LocalWorlds) { $evt = $this.$this$04; $evt.$worlds = $pkt.$worldsList; $evt.$sock1.close(); $evt = $this.$this$04; $evt.$open1 = 0; $evt.$failed = 0; } else { if (!($pkt instanceof nlesrp_IPacketFFErrorCode)) { $evt = new ji_IOException; $pkt = jl_Class_getSimpleName(jl_Object_getClass($pkt)); $ipkt = jl_StringBuilder__init_(); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append($ipkt, $rt_s(3819)), $pkt), 39); ji_IOException__init_($evt, jl_StringBuilder_toString($ipkt)); $rt_throw($evt); } $ipkt = $pkt; if ($ipkt.$code == 1) { $s = jl_String_toLowerCase($ipkt.$desc0); if (!jl_String_contains($s, $rt_s(3820)) && !jl_String_contains($s, $rt_s(3821))) { if (!jl_String_contains($s, $rt_s(3822)) && !jl_String_contains($s, $rt_s(3823)) && !jl_String_contains($s, $rt_s(3824)) && !jl_String_contains($s, $rt_s(3825))) $this.$this$04.$versError0 = nle_RelayQuery$VersionMismatch_UNKNOWN; else $this.$this$04.$versError0 = nle_RelayQuery$VersionMismatch_RELAY_OUTDATED; } else $this.$this$04.$versError0 = nle_RelayQuery$VersionMismatch_CLIENT_OUTDATED; } $evt = jl_System_err(); $pkt = $this.$val$uri1; var$10 = $ipkt.$code; $ipkt = $ipkt.$desc0; $s = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append(jl_StringBuilder_append($s, $pkt), $rt_s(3826)), var$10), $rt_s(107)), $ipkt); otcic_JsConsolePrintStream_println($evt, jl_StringBuilder_toString($s)); $evt = $this.$this$04; $evt.$open1 = 0; $evt.$failed = 1; $evt.$sock1.close(); } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); $evt.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_Object__init_($pkt); $pkt.$buffer = $rt_createCharArray(16); $evt.$sb = $pkt; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } $s = $e.$getMessage(); $evt = $e.constructor; if ($evt === null) $ipkt = null; else { $ipkt = $evt.classObject; if ($ipkt === null) { $ipkt = new jl_Class; $ipkt.$platformClass = $evt; $evt.classObject = $ipkt; } } if ($ipkt.$name1 === null) $ipkt.$name1 = $rt_str($ipkt.$platformClass.$meta.name); $ipkt = $ipkt.$name1; if ($s === null) $evt = $rt_s(18); else { $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $s); $evt = new jl_String; $arr = $pkt.$buffer; var$3 = $arr.data; var$9 = $pkt.$length0; var$10 = var$3.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) $evt.$nativeString = $rt_charArrayToString($arr.data, 0, var$9); else { $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); var$10 = $pkt.$length0; if ($ipkt === null) $ipkt = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, var$10, $ipkt); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $evt); $ipkt = new jl_String; $arr = $pkt.$buffer; var$3 = $arr.data; var$11 = $pkt.$length0; var$9 = var$3.length; if (var$11 >= 0 && var$11 <= (var$9 - 0 | 0)) { $ipkt.$nativeString = $rt_charArrayToString($arr.data, 0, var$11); $evt = new jl_StringBuilder; $evt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($evt, $evt.$length0, $rt_s(3818)); jl_AbstractStringBuilder_insert($evt, $evt.$length0, $ipkt); $pkt = new jl_String; $arr = $evt.$buffer; var$3 = $arr.data; var$11 = $evt.$length0; var$9 = var$3.length; if (var$11 >= 0 && var$11 <= (var$9 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString($arr.data, 0, var$11); $rt_putStderr($rt_ustr($pkt)); $rt_putStderr("\n"); if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); jl_Object__init_($evt); $evt.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pkt, 16); $evt.$sb = $pkt; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } jl_Throwable_printStackTrace($e, jl_System_errCache); $evt = $this.$this$04; $evt.$open1 = 0; $evt.$failed = 1; $evt.$sock1.close(); break a; } $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($evt); $rt_throw($evt); } $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $evt, $arr, var$3, $millis, $pkt, $ipkt, $e, $s, var$9, var$10, var$11, $ptr); }, nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$2_handleEvent$exported$0 = (var$0, var$1) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$2_handleEvent(var$0, var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, $ptr); }; function nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$3() { let a = this; jl_Object.call(a); a.$val$uri0 = null; a.$this$010 = null; } let nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$3_handleEvent = ($this, $evt) => { let $l, var$3, var$4, var$5, var$6; $evt = $this.$this$010; $evt.$open1 = 0; if (!$evt.$hasRecievedAnyData0) { $evt.$failed = 1; nlea_EaglerAdapterImpl2_$callClinit(); $evt = nlea_EaglerAdapterImpl2_relayQueryBlocked; $l = $this.$val$uri0; if ($l === null) { $evt = $evt.$elementData.data[0]; while ($evt !== null && $evt.$key !== null) { $evt = $evt.$next3; } } else { a: { if (!$l.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $l.$nativeString.length) break a; $l.$hashCode1 = (31 * $l.$hashCode1 | 0) + $l.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $l.$hashCode1; var$5 = $evt.$elementData.data; $evt = var$5[var$4 & (var$5.length - 1 | 0)]; while ($evt !== null) { if ($evt.$origKeyHash == var$4) { b: { var$6 = $evt.$key; if ($l !== var$6) { if ($l === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $l.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } $evt = $evt.$next3; } } $l = $evt === null ? null : $evt.$value1; if ($l !== null && Long_lt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $l.$value7), Long_fromInt(400000))) { $this.$this$010.$rateLimitStatus = nlea_EaglerAdapterImpl2$RateLimit_LOCKED; return; } $evt = nlea_EaglerAdapterImpl2_relayQueryLimited; $l = $this.$val$uri0; if ($l === null) { $evt = $evt.$elementData.data[0]; while ($evt !== null && $evt.$key !== null) { $evt = $evt.$next3; } } else { c: { if (!$l.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $l.$nativeString.length) break c; $l.$hashCode1 = (31 * $l.$hashCode1 | 0) + $l.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $l.$hashCode1; var$5 = $evt.$elementData.data; $evt = var$5[var$4 & (var$5.length - 1 | 0)]; while ($evt !== null) { if ($evt.$origKeyHash == var$4) { d: { var$6 = $evt.$key; if ($l !== var$6) { if ($l === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $l.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } $evt = $evt.$next3; } } $evt = $evt === null ? null : $evt.$value1; if ($evt !== null && Long_lt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $evt.$value7), Long_fromInt(900000))) { $this.$this$010.$rateLimitStatus = nlea_EaglerAdapterImpl2$RateLimit_BLOCKED; return; } } }, nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$3_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$3_handleEvent(var$0, var$1); }; function nms_WeightedRandomChestContent() { let a = this; nms_WeightedRandomItem.call(a); a.$theItemId = null; a.$theMinimumChanceToGenerateItem = 0; a.$theMaximumChanceToGenerateItem = 0; } let otjw_MessagePort = $rt_classWithoutFields(0), nms_EnumCreatureType = $rt_classWithoutFields(jl_Enum); function ju_LinkedHashMapIterator() { let a = this; jl_Object.call(a); a.$base = null; a.$reversed = 0; a.$expectedModCount0 = 0; a.$futureEntry = null; a.$currentEntry2 = null; } let ju_LinkedHashMapIterator_hasNext = $this => { return $this.$futureEntry === null ? 0 : 1; }, ju_LinkedHashMapIterator_remove = $this => { let var$1, var$2, var$3, var$4; var$1 = $this.$currentEntry2; if (var$1 === null) { var$1 = new jl_IllegalStateException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$2 = $this.$expectedModCount0; var$3 = $this.$base; if (var$2 != var$3.$modCount0) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } ju_HashMap_removeEntry(var$3, var$1); var$4 = var$1.$chainBackward; var$1 = var$1.$chainForward; if (var$4 !== null) { var$4.$chainForward = var$1; if (var$1 === null) var$3.$tail = var$4; else var$1.$chainBackward = var$4; } else { var$3.$head = var$1; if (var$1 === null) var$3.$tail = null; else var$1.$chainBackward = null; } $this.$currentEntry2 = null; $this.$expectedModCount0 = $this.$expectedModCount0 + 1 | 0; }, ju_LinkedHashMapIterator$KeyIterator = $rt_classWithoutFields(ju_LinkedHashMapIterator), ju_LinkedHashMapIterator$KeyIterator_next = $this => { let var$1, var$2; if ($this.$expectedModCount0 != $this.$base.$modCount0) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$2 = $this.$futureEntry; if (!(var$2 === null ? 0 : 1)) { var$1 = new ju_NoSuchElementException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $this.$currentEntry2 = var$2; $this.$futureEntry = !$this.$reversed ? var$2.$chainForward : var$2.$chainBackward; return var$2.$key; }, ju_LinkedHashMapIterator$ValueIterator = $rt_classWithoutFields(ju_LinkedHashMapIterator), ju_LinkedHashMapIterator$ValueIterator_next = $this => { let var$1, var$2; if ($this.$expectedModCount0 != $this.$base.$modCount0) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$2 = $this.$futureEntry; if (!(var$2 === null ? 0 : 1)) { var$1 = new ju_NoSuchElementException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } $this.$currentEntry2 = var$2; $this.$futureEntry = !$this.$reversed ? var$2.$chainForward : var$2.$chainBackward; return var$2.$value1; }; function ju_AbstractMap$KeySet() { ju_AbstractSet.call(this); this.$this$025 = null; } let ju_AbstractMap$KeySet_iterator = $this => { let var$1, $it, var$3, var$4; var$1 = $this.$this$025; if (var$1.$cachedEntrySet === null) { $it = new ju_TreeMap$EntrySet; var$3 = null; var$4 = null; $it.$modCount8 = (-1); $it.$owner0 = var$1; $it.$from = var$3; $it.$fromIncluded = 1; $it.$fromChecked = 0; $it.$to = var$4; $it.$toIncluded = 1; $it.$toChecked = 0; $it.$reverse0 = 0; var$1.$cachedEntrySet = $it; } var$1 = var$1.$cachedEntrySet; $it = var$1.$reverse0 ? ju_TreeMap$EntrySet_descendingIterator(var$1) : ju_TreeMap$EntrySet_ascendingIterator(var$1); var$1 = new ju_AbstractMap$KeySet$1; var$1.$this$1 = $this; var$1.$val$it = $it; return var$1; }; function nms_GuiMerchant() { let a = this; nms_GuiContainer.call(a); a.$theIMerchant = null; a.$nextRecipeButtonIndex = null; a.$previousRecipeButtonIndex = null; a.$currentRecipeIndex = 0; a.$field_94082_v = null; } let nms_GuiMerchant_merchantGuiTextures = null, nms_GuiMerchant_$callClinit = () => { nms_GuiMerchant_$callClinit = $rt_eraseClinit(nms_GuiMerchant); nms_GuiMerchant__clinit_(); }, nms_GuiMerchant_initGui = $this => { let $var1, $var2, var$3, var$4, var$5, var$6, var$7; $this.$mc.$thePlayer.$openContainer = $this.$inventorySlots0; $var1 = ($this.$width - $this.$xSize | 0) / 2 | 0; $this.$guiLeft = $var1; $var2 = ($this.$height - $this.$ySize | 0) / 2 | 0; $this.$guiTop = $var2; var$3 = $this.$buttonList; var$4 = new nms_GuiButtonMerchant; var$5 = ($var1 + 120 | 0) + 27 | 0; $var2 = ($var2 + 24 | 0) - 1 | 0; nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$4.$width0 = 200; var$4.$height0 = 20; var$4.$enabled = 1; var$4.$drawButton0 = 1; var$4.$id0 = 1; var$4.$xPosition = var$5; var$4.$yPosition = $var2; var$4.$width0 = 12; var$4.$height0 = 19; var$4.$displayString = $rt_s(18); var$4.$mirrored = 1; $this.$nextRecipeButtonIndex = var$4; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$7 = var$3.$size0; var$3.$size0 = var$7 + 1 | 0; var$6[var$7] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; var$4 = $this.$buttonList; var$3 = new nms_GuiButtonMerchant; var$7 = ($var1 + 36 | 0) - 19 | 0; var$3.$width0 = 200; var$3.$height0 = 20; var$3.$enabled = 1; var$3.$drawButton0 = 1; var$3.$id0 = 2; var$3.$xPosition = var$7; var$3.$yPosition = $var2; var$3.$width0 = 12; var$3.$height0 = 19; var$3.$displayString = $rt_s(18); var$3.$mirrored = 0; $this.$previousRecipeButtonIndex = var$3; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$6 = var$4.$array.data; var$7 = var$4.$size0; var$4.$size0 = var$7 + 1 | 0; var$6[var$7] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $this.$nextRecipeButtonIndex.$enabled = 0; $this.$previousRecipeButtonIndex.$enabled = 0; }, nms_GuiMerchant_drawGuiContainerForegroundLayer = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$fontRenderer; var$4 = $this.$field_94082_v; $par1 = ($this.$xSize / 2 | 0) - (nms_FontRenderer_getStringWidth(var$3, var$4) / 2 | 0) | 0; $par2 = 6; var$5 = 4210752; var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; var$6 = 0; $ptr = 1; case 1: nms_FontRenderer_renderString(var$3, var$4, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } var$3 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3827)); var$5 = 8; var$6 = ($this.$ySize - 96 | 0) + 2 | 0; $par1 = 4210752; var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; $par2 = 0; $ptr = 2; case 2: nms_FontRenderer_renderString(var$3, var$4, var$5, var$6, $par1, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, $ptr); }, nms_GuiMerchant_updateScreen = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var1 = $this.$mc.$thePlayer; if (!$var1.$isDead) { $var1 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$3 = jl_Integer_hashCode(var$2.$value0); var$4 = $var1.$elementData.data; $var1 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var1 !== null && !($var1.$origKeyHash == var$3 && ju_HashMap_areEqualKeys(var$2, $var1.$key))) { $var1 = $var1.$next3; } } if (($var1 === null ? null : $var1.$value1).$watchedObject.$value3 > 0.0) { var$5 = 1; break a; } } var$5 = 0; } if (var$5 && !$this.$mc.$thePlayer.$isDead) { $var1 = $this.$theIMerchant.$getRecipes($this.$mc.$thePlayer); if ($var1 !== null) { var$6 = $this.$nextRecipeButtonIndex; var$7 = $this.$currentRecipeIndex; var$6.$enabled = var$7 >= ($var1.$size0 - 1 | 0) ? 0 : 1; $this.$previousRecipeButtonIndex.$enabled = var$7 <= 0 ? 0 : 1; } return; } $var1 = $this.$mc.$thePlayer; var$2 = $var1.$sendQueue; var$6 = new nms_Packet101CloseWindow; var$5 = $var1.$openContainer.$windowId; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$6.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$6.$windowId1 = var$5; if (!var$2.$disconnected) var$2.$netManager.$addToSendQueue(var$6); $var1.$inventory.$itemStack = null; $var1.$openContainer = $var1.$inventoryContainer; var$6 = $var1.$mc4; $var1 = null; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$6, $var1); if ($rt_suspending()) { break main; } $var1 = $this.$theIMerchant.$getRecipes($this.$mc.$thePlayer); if ($var1 !== null) { var$6 = $this.$nextRecipeButtonIndex; var$7 = $this.$currentRecipeIndex; var$6.$enabled = var$7 >= ($var1.$size0 - 1 | 0) ? 0 : 1; $this.$previousRecipeButtonIndex.$enabled = var$7 <= 0 ? 0 : 1; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_GuiMerchant_actionPerformed = ($this, $par1GuiButton) => { let $var2, $var3, $var4, $var6, $$je; $var2 = 0; if ($par1GuiButton === $this.$nextRecipeButtonIndex) { $this.$currentRecipeIndex = $this.$currentRecipeIndex + 1 | 0; $var2 = 1; } else if ($par1GuiButton === $this.$previousRecipeButtonIndex) { $this.$currentRecipeIndex = $this.$currentRecipeIndex - 1 | 0; $var2 = 1; } a: { if ($var2) { $par1GuiButton = $this.$inventorySlots0; $var2 = $this.$currentRecipeIndex; $par1GuiButton = $par1GuiButton.$merchantInventory; $par1GuiButton.$currentRecipeIndex0 = $var2; nms_InventoryMerchant_resetRecipeAndSlots($par1GuiButton); $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); $var4 = new ji_DataOutputStream; $var4.$out0 = $var3; $var4.$buff0 = $rt_createByteArray(8); try { ji_DataOutputStream_writeInt($var4, $this.$currentRecipeIndex); nms_NetClientHandler_addToSendQueue(nms_Minecraft_getNetHandler($this.$mc), nms_Packet250CustomPayload__init_($rt_s(3828), ji_ByteArrayOutputStream_toByteArray($var3))); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var6 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $par1GuiButton = new otcic_JSStderrPrintStream; $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); jl_Object__init_($par1GuiButton); $par1GuiButton.$out0 = $var3; $var3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var3, 16); $par1GuiButton.$sb = $var3; $par1GuiButton.$buffer0 = $rt_createCharArray(32); $par1GuiButton.$autoFlush = 0; $par1GuiButton.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1GuiButton; } jl_Throwable_printStackTrace($var6, jl_System_errCache); } } }, nms_GuiMerchant_drawGuiContainerBackgroundLayer = ($this, $par1, $par2, $par3) => { let $var6, $var4, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var4 = $thread.pop();$var6 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiMerchant_$callClinit(); $var6 = nms_GuiMerchant_merchantGuiTextures; $ptr = 1; case 1: a: { nle_TextureLocation_bindTexture($var6); if ($rt_suspending()) { break main; } $par2 = $this.$width; $par3 = $this.$xSize; $var4 = ($par2 - $par3 | 0) / 2 | 0; $par2 = $this.$height; $var7 = $this.$ySize; nms_Gui_drawTexturedModalRect($this, $var4, ($par2 - $var7 | 0) / 2 | 0, 0, 0, $par3, $var7); $var6 = $this.$theIMerchant.$getRecipes($this.$mc.$thePlayer); if ($var6 !== null) { $par3 = $var6.$size0; if (!($par3 ? 0 : 1)) { $var7 = $this.$currentRecipeIndex; if ($var7 >= 0 && $var7 < $par3) { $var8 = $var6.$array.data[$var7]; if (!($var8.$toolUses < $var8.$maxTradeUses ? 0 : 1)) break a; else { $var6 = nms_GuiMerchant_merchantGuiTextures; $ptr = 2; continue main; } } $var6 = new jl_IndexOutOfBoundsException; $var6.$suppressionEnabled = 1; $var6.$writableStackTrace = 1; $rt_throw($var6); } } } return; case 2: nle_TextureLocation_bindTexture($var6); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(2896); nms_Gui_drawTexturedModalRect($this, $this.$guiLeft + 83 | 0, $this.$guiTop + 21 | 0, 212, 0, 28, 21); nms_Gui_drawTexturedModalRect($this, $this.$guiLeft + 83 | 0, $this.$guiTop + 51 | 0, 212, 0, 28, 21); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var6, $var4, $var7, $var8, $ptr); }, nms_GuiMerchant_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, var$5, $var5, $var6, $var7, $var8, $var9, $var10, $var11, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiContainer_drawScreen($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } $var4 = $this.$theIMerchant.$getRecipes($this.$mc.$thePlayer); if ($var4 !== null) { var$5 = $var4.$size0; if (!(var$5 ? 0 : 1)) { $var5 = ($this.$width - $this.$xSize | 0) / 2 | 0; $var6 = ($this.$height - $this.$ySize | 0) / 2 | 0; $var7 = $this.$currentRecipeIndex; if ($var7 >= 0 && $var7 < var$5) { $var8 = $var4.$array.data[$var7]; nleg_EaglerAdapterGL30_glPushMatrix(); $var9 = $var8.$itemToBuy; $var10 = $var8.$secondItemToBuy; $var11 = $var8.$itemToSell; nleg_EaglerAdapterGL30_glPushMatrix(); $var4 = nleg_EaglerAdapterGL30_deevis; $var4.$x = 0.0; $var4.$y = 1.0; $var4.$z = 0.0; $var4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, $var4, $var4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var4 = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; jl_Object__init_($var8); $var8.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var4); $var4.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var8); $var4.$sb = $var8; $var4.$buffer0 = $rt_createCharArray(32); $var4.$autoFlush = 0; $var4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var4 = nleg_EaglerAdapterGL30_deevis; $var4.$x = 1.0; $var4.$y = 0.0; $var4.$z = 0.0; $var4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, $var4, $var4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var4 = new otcic_JSStderrPrintStream; $var8 = new ji_ByteArrayOutputStream; jl_Object__init_($var8); $var8.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var4); $var4.$out0 = $var8; $var8 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var8); $var4.$sb = $var8; $var4.$buffer0 = $rt_createCharArray(32); $var4.$autoFlush = 0; $var4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var4 = nleg_EaglerAdapterGL30_deevis; $var4.$x = 1.0; $var4.$y = (-1.0); $var4.$z = 1.0; $var4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var4, $var4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var8 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; jl_Object__init_($var4); $var4.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var8); $var8.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var4); $var8.$sb = $var4; $var8.$buffer0 = $rt_createCharArray(32); $var8.$autoFlush = 0; $var8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_glEnable(2896); $var4 = nms_GuiContainer_itemRenderer; $var4.$zLevel0 = 100.0; $var8 = $this.$fontRenderer; var$13 = $this.$mc.$renderEngine; var$5 = $var5 + 36 | 0; $var7 = $var6 + 24 | 0; $ptr = 2; continue main; } $var4 = new jl_IndexOutOfBoundsException; $var4.$suppressionEnabled = 1; $var4.$writableStackTrace = 1; $rt_throw($var4); } } return; case 2: nms_RenderItem_renderItemAndEffectIntoGUI($var4, $var8, var$13, $var9, var$5, $var7); if ($rt_suspending()) { break main; } $var4 = nms_GuiContainer_itemRenderer; $var8 = $this.$fontRenderer; var$14 = $this.$mc.$renderEngine; var$13 = null; $ptr = 3; case 3: nms_RenderItem_renderItemOverlayIntoGUI($var4, $var8, var$14, $var9, var$5, $var7, var$13); if ($rt_suspending()) { break main; } if ($var10 === null) { $var4 = nms_GuiContainer_itemRenderer; $var8 = $this.$fontRenderer; var$13 = $this.$mc.$renderEngine; var$5 = $var5 + 120 | 0; $ptr = 4; continue main; } $var4 = nms_GuiContainer_itemRenderer; var$13 = $this.$fontRenderer; $var8 = $this.$mc.$renderEngine; var$5 = $var5 + 62 | 0; $ptr = 6; continue main; case 4: nms_RenderItem_renderItemAndEffectIntoGUI($var4, $var8, var$13, $var11, var$5, $var7); if ($rt_suspending()) { break main; } $var4 = nms_GuiContainer_itemRenderer; $var8 = $this.$fontRenderer; var$14 = $this.$mc.$renderEngine; var$13 = null; $ptr = 5; case 5: nms_RenderItem_renderItemOverlayIntoGUI($var4, $var8, var$14, $var11, var$5, $var7, var$13); if ($rt_suspending()) { break main; } nms_GuiContainer_itemRenderer.$zLevel0 = 0.0; nleg_EaglerAdapterGL30_glDisable(2896); if (nms_GuiContainer_isPointInRegion($this, 36, 24, 16, 16, $par1, $par2)) { $ptr = 8; continue main; } if ($var10 !== null && nms_GuiContainer_isPointInRegion($this, 62, 24, 16, 16, $par1, $par2)) { $ptr = 10; continue main; } if (!nms_GuiContainer_isPointInRegion($this, 120, 24, 16, 16, $par1, $par2)) { nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); return; } $ptr = 9; continue main; case 6: nms_RenderItem_renderItemAndEffectIntoGUI($var4, var$13, $var8, $var10, var$5, $var7); if ($rt_suspending()) { break main; } $var4 = nms_GuiContainer_itemRenderer; $var8 = $this.$fontRenderer; var$14 = $this.$mc.$renderEngine; var$13 = null; $ptr = 7; case 7: nms_RenderItem_renderItemOverlayIntoGUI($var4, $var8, var$14, $var10, var$5, $var7, var$13); if ($rt_suspending()) { break main; } $var4 = nms_GuiContainer_itemRenderer; $var8 = $this.$fontRenderer; var$13 = $this.$mc.$renderEngine; var$5 = $var5 + 120 | 0; $ptr = 4; continue main; case 8: nms_GuiContainer_drawItemStackTooltip($this, $var9, $par1, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); return; case 9: nms_GuiContainer_drawItemStackTooltip($this, $var11, $par1, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); return; case 10: nms_GuiContainer_drawItemStackTooltip($this, $var10, $par1, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2929); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, var$5, $var5, $var6, $var7, $var8, $var9, $var10, $var11, var$13, var$14, $ptr); }, nms_GuiMerchant_getIMerchant = $this => { return $this.$theIMerchant; }, nms_GuiMerchant__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3829); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiMerchant_merchantGuiTextures = var$1; }, nms_MerchantRecipeList = $rt_classWithoutFields(ju_ArrayList), nms_MerchantRecipeList__init_ = $this => { $this.$array = $rt_createArray(jl_Object, 10); }, nms_MerchantRecipeList__init_0 = () => { let var_0 = new nms_MerchantRecipeList(); nms_MerchantRecipeList__init_(var_0); return var_0; }, nms_MerchantRecipeList_canRecipeBeUsed = ($this, $par1ItemStack, $par2ItemStack, $par3) => { let $var4, $var6, var$6, $var5; if ($par3 > 0) { $var4 = $rt_compare($par3, $this.$size0); if ($var4 < 0) { if ($par3 >= 0 && $var4 < 0) { a: { b: { $var6 = $this.$array.data[$par3]; $par3 = $par1ItemStack.$itemID; var$6 = $var6.$itemToBuy; if ($par3 == var$6.$itemID) { if (!($par2ItemStack === null && !($var6.$secondItemToBuy === null ? 0 : 1))) { $var5 = $var6.$secondItemToBuy; if (!($var5 === null ? 0 : 1)) break b; if ($par2ItemStack === null) break b; if ($var5.$itemID != $par2ItemStack.$itemID) break b; } if ($par1ItemStack.$stackSize >= var$6.$stackSize) { $par1ItemStack = $var6.$secondItemToBuy; $par3 = $par1ItemStack === null ? 0 : 1; if (!($par3 && $par2ItemStack.$stackSize < $par1ItemStack.$stackSize)) break a; } } } $var6 = null; } return $var6; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); } } $var4 = 0; c: { while (true) { $par3 = $rt_compare($var4, $this.$size0); if ($par3 >= 0) return null; if ($var4 < 0) break c; if ($par3 >= 0) break c; $var5 = $this.$array.data[$var4]; $par3 = $par1ItemStack.$itemID; $var6 = $var5.$itemToBuy; if ($par3 == $var6.$itemID && $par1ItemStack.$stackSize >= $var6.$stackSize) { $var6 = $var5.$secondItemToBuy; $par3 = $var6 === null ? 0 : 1; if (!$par3 && $par2ItemStack === null) break; if (($var6 === null ? 0 : 1) && $par2ItemStack !== null && $var6.$itemID == $par2ItemStack.$itemID && $par2ItemStack.$stackSize >= $var6.$stackSize) break; } $var4 = $var4 + 1 | 0; } return $var5; } $par1ItemStack = new jl_IndexOutOfBoundsException; $par1ItemStack.$suppressionEnabled = 1; $par1ItemStack.$writableStackTrace = 1; $rt_throw($par1ItemStack); }, nms_MerchantRecipeList_readRecipiesFromStream = $par0DataInputStream => { let $var1, $var2, $var3, $var4, $var7, var$7, var$8, $var6, var$10, $var8, $var5, var$13, var$14, var$15, var$16, var$17, var$18, $$je; $var1 = new nms_MerchantRecipeList; $var1.$array = $rt_createArray(jl_Object, 10); $var2 = $par0DataInputStream.$in.$read(); if ($var2 < 0) { $par0DataInputStream = new ji_EOFException; $par0DataInputStream.$suppressionEnabled = 1; $par0DataInputStream.$writableStackTrace = 1; $rt_throw($par0DataInputStream); } $var2 = $var2 << 24 >> 24 & 255; $var3 = 0; while ($var3 < $var2) { nms_Packet_$callClinit(); $var4 = null; $var7 = ji_DataInputStream_readShort($par0DataInputStream); if ($var7 >= 0) { var$7 = $par0DataInputStream.$in.$read(); if (var$7 < 0) { $par0DataInputStream = new ji_EOFException; $par0DataInputStream.$suppressionEnabled = 1; $par0DataInputStream.$writableStackTrace = 1; $rt_throw($par0DataInputStream); } var$8 = var$7 << 24 >> 24; var$7 = ji_DataInputStream_readShort($par0DataInputStream); $var4 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var4.$itemID = $var7; $var4.$stackSize = var$8; $var4.$itemDamage = var$7; if (var$7 < 0) $var4.$itemDamage = 0; $var7 = ji_DataInputStream_readShort($par0DataInputStream); if ($var7 < 0) $var6 = null; else { var$10 = $rt_createByteArray($var7); var$7 = var$10.data.length; ji_DataInputStream_readFully($par0DataInputStream, var$10, 0, var$7); $var8 = new ji_DataInputStream; $var6 = new ji_BufferedInputStream; $var5 = new cjj_GZIPInputStream; var$13 = new ji_ByteArrayInputStream; var$13.$buf3 = var$10; var$13.$pos1 = 0; var$13.$mark1 = 0; var$13.$count0 = 0 + var$7 | 0; var$14 = new cjj_Inflater; cjj_ZStream__init_(var$14, cjj_Adler32__init_()); var$14.$finished = 0; var$14.$finished = 0; var$15 = cjj_Inflate__init_(var$14); var$14.$istate = var$15; var$8 = cjj_Inflate_inflateInit(var$15, 31); if (var$8) { $par0DataInputStream = new cjj_GZIPException; $var1 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var1); jl_AbstractStringBuilder_append0($var1, var$8); jl_AbstractStringBuilder_append($var1, $rt_s(107)); jl_AbstractStringBuilder_append($var1, var$14.$msg); ji_IOException__init_($par0DataInputStream, jl_AbstractStringBuilder_toString($var1)); $rt_throw($par0DataInputStream); } cjj_InflaterInputStream__init_($var5, var$13, var$14, 512, 1); $var5.$myinflater = 1; $var6.$in = $var5; $var6.$markpos = (-1); $var6.$buf2 = $rt_createByteArray(8192); $var8.$in = $var6; $var8.$buff = $rt_createByteArray(8); try { $var6 = nms_CompressedStreamTools_read($var8); } catch ($$e) { $$je = $rt_wrapException($$e); $par0DataInputStream = $$je; $var8.$in.$close(); $rt_throw($par0DataInputStream); } $var8.$in.$close(); } $var4.$stackTagCompound = $var6; } $var5 = null; var$7 = ji_DataInputStream_readShort($par0DataInputStream); if (var$7 >= 0) { $var7 = $par0DataInputStream.$in.$read(); if ($var7 < 0) { $par0DataInputStream = new ji_EOFException; $par0DataInputStream.$suppressionEnabled = 1; $par0DataInputStream.$writableStackTrace = 1; $rt_throw($par0DataInputStream); } $var7 = $var7 << 24 >> 24; var$8 = ji_DataInputStream_readShort($par0DataInputStream); $var5 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var5.$itemID = var$7; $var5.$stackSize = $var7; $var5.$itemDamage = var$8; if (var$8 < 0) $var5.$itemDamage = 0; $var7 = ji_DataInputStream_readShort($par0DataInputStream); if ($var7 < 0) $var6 = null; else { var$16 = $rt_createByteArray($var7); $var7 = var$16.data.length; ji_DataInputStream_readFully($par0DataInputStream, var$16, 0, $var7); var$13 = new ji_DataInputStream; var$14 = new ji_BufferedInputStream; var$15 = new cjj_GZIPInputStream; var$17 = new ji_ByteArrayInputStream; var$17.$buf3 = var$16; var$17.$pos1 = 0; var$17.$mark1 = 0; var$17.$count0 = 0 + $var7 | 0; $var6 = new cjj_Inflater; cjj_ZStream__init_($var6, cjj_Adler32__init_()); $var6.$finished = 0; $var6.$finished = 0; $var8 = cjj_Inflate__init_($var6); $var6.$istate = $var8; var$8 = cjj_Inflate_inflateInit($var8, 31); if (var$8) { $par0DataInputStream = new cjj_GZIPException; $var1 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var1); jl_AbstractStringBuilder_append0($var1, var$8); jl_AbstractStringBuilder_append($var1, $rt_s(107)); jl_AbstractStringBuilder_append($var1, $var6.$msg); ji_IOException__init_($par0DataInputStream, jl_AbstractStringBuilder_toString($var1)); $rt_throw($par0DataInputStream); } cjj_InflaterInputStream__init_(var$15, var$17, $var6, 512, 1); var$15.$myinflater = 1; var$14.$in = var$15; var$14.$markpos = (-1); var$14.$buf2 = $rt_createByteArray(8192); var$13.$in = var$14; var$13.$buff = $rt_createByteArray(8); try { $var6 = nms_CompressedStreamTools_read(var$13); } catch ($$e) { $$je = $rt_wrapException($$e); $par0DataInputStream = $$je; var$13.$in.$close(); $rt_throw($par0DataInputStream); } var$13.$in.$close(); } $var5.$stackTagCompound = $var6; } $var6 = null; $var7 = $par0DataInputStream.$in.$read(); if ($var7 < 0) { $par0DataInputStream = new ji_EOFException; $par0DataInputStream.$suppressionEnabled = 1; $par0DataInputStream.$writableStackTrace = 1; $rt_throw($par0DataInputStream); } if (!$var7 ? 0 : 1) { $var6 = null; $var7 = ji_DataInputStream_readShort($par0DataInputStream); if ($var7 >= 0) { var$7 = $par0DataInputStream.$in.$read(); if (var$7 < 0) { $par0DataInputStream = new ji_EOFException; $par0DataInputStream.$suppressionEnabled = 1; $par0DataInputStream.$writableStackTrace = 1; $rt_throw($par0DataInputStream); } var$8 = var$7 << 24 >> 24; var$7 = ji_DataInputStream_readShort($par0DataInputStream); $var6 = new nms_ItemStack; nms_ItemStack_$callClinit(); $var6.$itemID = $var7; $var6.$stackSize = var$8; $var6.$itemDamage = var$7; if (var$7 < 0) $var6.$itemDamage = 0; $var7 = ji_DataInputStream_readShort($par0DataInputStream); if ($var7 < 0) $var8 = null; else { var$10 = $rt_createByteArray($var7); var$7 = var$10.data.length; ji_DataInputStream_readFully($par0DataInputStream, var$10, 0, var$7); var$13 = new ji_DataInputStream; $var8 = new ji_BufferedInputStream; var$14 = new cjj_GZIPInputStream; var$15 = new ji_ByteArrayInputStream; var$15.$buf3 = var$10; var$15.$pos1 = 0; var$15.$mark1 = 0; var$15.$count0 = 0 + var$7 | 0; var$17 = new cjj_Inflater; cjj_ZStream__init_(var$17, cjj_Adler32__init_()); var$17.$finished = 0; var$17.$finished = 0; var$18 = cjj_Inflate__init_(var$17); var$17.$istate = var$18; var$8 = cjj_Inflate_inflateInit(var$18, 31); if (var$8) { $par0DataInputStream = new cjj_GZIPException; $var1 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var1); jl_AbstractStringBuilder_append0($var1, var$8); jl_AbstractStringBuilder_append($var1, $rt_s(107)); jl_AbstractStringBuilder_append($var1, var$17.$msg); ji_IOException__init_($par0DataInputStream, jl_AbstractStringBuilder_toString($var1)); $rt_throw($par0DataInputStream); } cjj_InflaterInputStream__init_(var$14, var$15, var$17, 512, 1); var$14.$myinflater = 1; $var8.$in = var$14; $var8.$markpos = (-1); $var8.$buf2 = $rt_createByteArray(8192); var$13.$in = $var8; var$13.$buff = $rt_createByteArray(8); try { $var8 = nms_CompressedStreamTools_read(var$13); } catch ($$e) { $$je = $rt_wrapException($$e); $par0DataInputStream = $$je; var$13.$in.$close(); $rt_throw($par0DataInputStream); } var$13.$in.$close(); } $var6.$stackTagCompound = $var8; } } $var7 = $par0DataInputStream.$in.$read(); if ($var7 < 0) { $par0DataInputStream = new ji_EOFException; $par0DataInputStream.$suppressionEnabled = 1; $par0DataInputStream.$writableStackTrace = 1; $rt_throw($par0DataInputStream); } $var7 = !$var7 ? 0 : 1; $var8 = new nms_MerchantRecipe; $var8.$itemToBuy = $var4; $var8.$secondItemToBuy = $var6; $var8.$itemToSell = $var5; $var8.$maxTradeUses = 7; if ($var7) $var8.$toolUses = 7; ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$10 = $var1.$array.data; var$7 = $var1.$size0; $var1.$size0 = var$7 + 1 | 0; var$10[var$7] = $var8; $var1.$modCount = $var1.$modCount + 1 | 0; $var3 = $var3 + 1 | 0; } return $var1; }; function nms_GuiDownloadTerrain() { let a = this; nms_GuiScreen.call(a); a.$netHandler1 = null; a.$updateCounter3 = 0; } let nms_GuiDownloadTerrain_keyTyped = ($this, $par1, $par2) => { return; }, nms_GuiDownloadTerrain_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$buttonList; var$2 = var$1.$array; var$3 = 0; var$4 = var$1.$size0; var$5 = null; if (var$3 > var$4) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$3 < var$4) { var$6 = var$2.data; var$7 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; }, nms_GuiDownloadTerrain_updateScreen = $this => { let var$1, var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$updateCounter3 + 1 | 0; $this.$updateCounter3 = var$1; if (!(var$1 % 20 | 0)) { var$2 = $this.$netHandler1; var$3 = new nms_Packet0KeepAlive; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$3.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (!var$2.$disconnected) var$2.$netManager.$addToSendQueue(var$3); } var$2 = $this.$netHandler1; if (var$2 === null) return; $ptr = 1; case 1: nms_NetClientHandler_processReadPackets(var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $ptr); }, nms_GuiDownloadTerrain_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; $ptr = 1; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3830)); var$7 = $this.$width / 2 | 0; var$4 = ($this.$height / 2 | 0) - 50 | 0; var$8 = 16777215; var$9 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$9 + 1 | 0; var$7 = var$4 + 1 | 0; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$10, var$7, var$8, var$11); if ($rt_suspending()) { break main; } var$7 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$9, var$4, var$8, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$6 = $this.$buttonList; var$8 = $rt_compare(var$4, var$6.$size0); if (var$8 >= 0) return; if (var$4 >= 0 && var$8 < 0) { var$6 = var$6.$array.data[var$4]; var$5 = $this.$mc; $ptr = 4; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); case 4: var$6.$drawButton(var$5, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$6 = $this.$buttonList; var$8 = $rt_compare(var$4, var$6.$size0); if (var$8 >= 0) return; if (var$4 >= 0 && var$8 < 0) { var$6 = var$6.$array.data[var$4]; var$5 = $this.$mc; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }; function nms_EntityCrit2FX() { let a = this; nms_EntityFX.call(a); a.$theEntity9 = null; a.$currentLife = 0; a.$maximumLife = 0; a.$particleName = null; } let nms_EntityCrit2FX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { return; }, nms_EntityCrit2FX_onUpdate = $this => { let $var1, var$2, var$3, var$4, $var2, $var4, var$7, $var6, var$9, var$10, $var8, $var10, var$13, $var12, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var6 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 0; var$2 = 24; while ($var1 < 16) { var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var2 = Long_lo(Long_shru(var$4, var$2)) / 1.6777216E7 * 2.0 - 1.0; var$4 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var4 = Long_lo(Long_shru(var$4, var$2)) / 1.6777216E7 * 2.0 - 1.0; var$7 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var6 = Long_lo(Long_shru(var$7, var$2)) / 1.6777216E7 * 2.0 - 1.0; if ($var2 * $var2 + $var4 * $var4 + $var6 * $var6 <= 1.0) { var$3 = $this.$theEntity9; var$9 = var$3.$posX; var$10 = var$3.$width1; $var8 = var$9 + $var2 * var$10 / 4.0; $var10 = var$3.$boundingBox.$minY; var$13 = var$3.$height2; $var10 = $var10 + var$13 / 2.0 + $var4 * var$13 / 4.0; $var12 = var$3.$posZ + $var6 * var$10 / 4.0; var$3 = $this.$worldObj; var$15 = $this.$particleName; var$9 = $var4 + 0.2; var$16 = 0; var$17 = var$3.$worldAccesses; var$18 = $rt_compare(var$16, var$17.$size0); if (var$18 < 0) { if (var$16 >= 0 && var$18 < 0) { var$17 = var$17.$array.data[var$16]; $ptr = 1; continue main; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } } $var1 = $var1 + 1 | 0; } $var1 = $this.$currentLife + 1 | 0; $this.$currentLife = $var1; if ($var1 >= $this.$maximumLife) $this.$isDead = 1; return; case 1: nms_RenderGlobal_doSpawnParticle(var$17, var$15, $var8, $var10, $var12, $var2, var$9, $var6); if ($rt_suspending()) { break main; } var$16 = var$16 + 1 | 0; a: while (true) { var$17 = var$3.$worldAccesses; var$18 = $rt_compare(var$16, var$17.$size0); if (var$18 < 0) { if (var$16 >= 0 && var$18 < 0) { var$17 = var$17.$array.data[var$16]; continue main; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } while (true) { $var1 = $var1 + 1 | 0; if ($var1 >= 16) break a; var$3 = $this.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var2 = Long_lo(Long_shru(var$4, var$2)) / 1.6777216E7 * 2.0 - 1.0; var$4 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; $var4 = Long_lo(Long_shru(var$4, var$2)) / 1.6777216E7 * 2.0 - 1.0; var$7 = Long_and(Long_add(Long_mul(var$4, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$7; $var6 = Long_lo(Long_shru(var$7, var$2)) / 1.6777216E7 * 2.0 - 1.0; if ($var2 * $var2 + $var4 * $var4 + $var6 * $var6 > 1.0) continue; else break; } var$3 = $this.$theEntity9; var$9 = var$3.$posX; var$10 = var$3.$width1; $var8 = var$9 + $var2 * var$10 / 4.0; $var10 = var$3.$boundingBox.$minY; var$13 = var$3.$height2; $var10 = $var10 + var$13 / 2.0 + $var4 * var$13 / 4.0; $var12 = var$3.$posZ + $var6 * var$10 / 4.0; var$3 = $this.$worldObj; var$15 = $this.$particleName; var$9 = $var4 + 0.2; var$16 = 0; } $var1 = $this.$currentLife + 1 | 0; $this.$currentLife = $var1; if ($var1 >= $this.$maximumLife) $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, $var2, $var4, var$7, $var6, var$9, var$10, $var8, $var10, var$13, $var12, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityCrit2FX_getFXLayer = $this => { return 3; }; function nms_GuiWinGame() { let a = this; nms_GuiScreen.call(a); a.$updateCounter0 = 0; a.$lines = null; a.$field_73989_c = 0; a.$field_73987_d = 0.0; } let nms_GuiWinGame_minecraftLogoTexture = null, nms_GuiWinGame_field_110361_b = null, nms_GuiWinGame_bk = null, nms_GuiWinGame_$callClinit = () => { nms_GuiWinGame_$callClinit = $rt_eraseClinit(nms_GuiWinGame); nms_GuiWinGame__clinit_(); }, nms_GuiWinGame__init_ = $this => { let var$1; nms_GuiWinGame_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$buttonList = var$1; $this.$allowUserInput = 0; $this.$selectedButton = null; $this.$eventButton = 0; $this.$field_85043_c = Long_ZERO; $this.$field_92018_d = 0; $this.$field_73987_d = 0.5; }, nms_GuiWinGame__init_0 = () => { let var_0 = new nms_GuiWinGame(); nms_GuiWinGame__init_(var_0); return var_0; }, nms_GuiWinGame_updateScreen = $this => { let var$1, var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$updateCounter0 + 1 | 0; $this.$updateCounter0 = var$1; var$2 = $this.$field_73989_c; var$3 = $this.$height; if (var$1 <= (((var$2 + var$3 | 0) + var$3 | 0) + 24 | 0) / $this.$field_73987_d) return; var$4 = $this.$mc.$thePlayer.$sendQueue; var$5 = new nms_Packet205ClientCommand; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$5.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$5.$forceRespawn = 1; if (!var$4.$disconnected) var$4.$netManager.$addToSendQueue(var$5); var$5 = $this.$mc; var$4 = null; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$5, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, $ptr); }, nms_GuiWinGame_keyTyped = ($this, $par1, $par2) => { let var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par2 != 1) return; var$3 = $this.$mc.$thePlayer.$sendQueue; var$4 = new nms_Packet205ClientCommand; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$forceRespawn = 1; if (!var$3.$disconnected) var$3.$netManager.$addToSendQueue(var$4); var$4 = $this.$mc; var$3 = null; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$4, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, $ptr); }, nms_GuiWinGame_doesGuiPauseGame = $this => { return 1; }, nms_GuiWinGame_initGui = $this => { let $var7, $var1, $var8, $var9, var$5, var$6, $var2, $var3, $var5, $strs, var$11, var$12, $var6, $var6_0, var$15, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();$var6_0 = $thread.pop();$var6 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$strs = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var1 = $thread.pop();$var7 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$lines === null) { $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $this.$lines = $var7; try { $var1 = $rt_s(18); nms_EnumChatFormatting_$callClinit(); $var8 = jl_String_valueOf(nms_EnumChatFormatting_WHITE); $var9 = jl_String_valueOf(nms_EnumChatFormatting_OBFUSCATED); var$5 = jl_String_valueOf(nms_EnumChatFormatting_GREEN); $var7 = jl_String_valueOf(nms_EnumChatFormatting_AQUA); var$6 = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$6, $var8), $var9), var$5), $var7); $var2 = jl_StringBuilder_toString(var$6); $var3 = 274; $var5 = nle_EaglercraftRandom__init_1(Long_fromInt(8124371)); $var7 = $this.$mc.$texturePackList; $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var9 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var7 = new otcic_JSStderrPrintStream; $var1 = new ji_ByteArrayOutputStream; $var1.$buf = $rt_createByteArray(32); jl_Object__init_($var7); $var7.$out0 = $var1; $var1 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var1, 16); $var7.$sb = $var1; $var7.$buffer0 = $rt_createCharArray(32); $var7.$autoFlush = 0; $var7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var7; } jl_Throwable_printStackTrace($var9, jl_System_errCache); } return; case 1: try { $tmp = nms_TexturePackList_getSelectedTexturePack($var7); if ($rt_suspending()) { break main; } $var7 = $tmp; $var8 = $rt_s(3831); $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var9 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var7 = new otcic_JSStderrPrintStream; $var1 = new ji_ByteArrayOutputStream; $var1.$buf = $rt_createByteArray(32); jl_Object__init_($var7); $var7.$out0 = $var1; $var1 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var1, 16); $var7.$sb = $var1; $var7.$buffer0 = $rt_createCharArray(32); $var7.$autoFlush = 0; $var7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var7; } jl_Throwable_printStackTrace($var9, jl_System_errCache); return; case 2: try { $tmp = $var7.$getResourceAsBytes($var8); if ($rt_suspending()) { break main; } $strs = $tmp; var$11 = (nle_EaglerMisc_bytesToLines($strs)).data.length; var$12 = 0; while (var$12 < var$11) { nle_EaglerProfile_$callClinit(); $var1 = jl_String_replaceAll($var1, $rt_s(3832), nle_EaglerProfile_username); while (jl_String_contains($var1, $var2)) { $var6 = jl_String_indexOf2($var1, $var2); $var7 = jl_String_substring($var1, 0, $var6); $var8 = jl_String_substring0($var1, $var6 + jl_String_length($var2) | 0); $var1 = jl_String_valueOf(nms_EnumChatFormatting_WHITE); $var9 = jl_String_valueOf(nms_EnumChatFormatting_OBFUSCATED); var$5 = jl_String_substring($rt_s(3833), 0, nle_EaglercraftRandom_nextInt($var5, 4) + 3 | 0); var$6 = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append(var$6, $var7), $var1), $var9), var$5), $var8); $var1 = jl_StringBuilder_toString(var$6); } ju_AbstractCollection_addAll($this.$lines, nms_FontRenderer_listFormattedStringToWidth($this.$mc.$fontRenderer0, $var1, $var3)); ju_ArrayList_add($this.$lines, $rt_s(18)); var$12 = var$12 + 1 | 0; } $var6_0 = 0; while ($var6_0 < 8) { ju_ArrayList_add($this.$lines, $rt_s(18)); $var6_0 = $var6_0 + 1 | 0; } $var7 = $this.$mc.$texturePackList; $ptr = 3; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var9 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var7 = new otcic_JSStderrPrintStream; $var1 = new ji_ByteArrayOutputStream; $var1.$buf = $rt_createByteArray(32); jl_Object__init_($var7); $var7.$out0 = $var1; $var1 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var1, 16); $var7.$sb = $var1; $var7.$buffer0 = $rt_createCharArray(32); $var7.$autoFlush = 0; $var7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var7; } jl_Throwable_printStackTrace($var9, jl_System_errCache); return; case 3: try { $tmp = nms_TexturePackList_getSelectedTexturePack($var7); if ($rt_suspending()) { break main; } $var7 = $tmp; $var8 = $rt_s(3834); $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var9 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var7 = new otcic_JSStderrPrintStream; $var1 = new ji_ByteArrayOutputStream; $var1.$buf = $rt_createByteArray(32); jl_Object__init_($var7); $var7.$out0 = $var1; $var1 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var1, 16); $var7.$sb = $var1; $var7.$buffer0 = $rt_createCharArray(32); $var7.$autoFlush = 0; $var7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var7; } jl_Throwable_printStackTrace($var9, jl_System_errCache); return; case 4: a: { try { $tmp = $var7.$getResourceAsBytes($var8); if ($rt_suspending()) { break main; } $strs = $tmp; var$15 = (nle_EaglerMisc_bytesToLines($strs)).data.length; $var6 = 0; while ($var6 < var$15) { nle_EaglerProfile_$callClinit(); $var1 = jl_String_replaceAll(jl_String_replaceAll($var1, $rt_s(3832), nle_EaglerProfile_username), $rt_s(3835), $rt_s(3836)); ju_AbstractCollection_addAll($this.$lines, nms_FontRenderer_listFormattedStringToWidth($this.$mc.$fontRenderer0, $var1, $var3)); ju_ArrayList_add($this.$lines, $rt_s(18)); $var6 = $var6 + 1 | 0; } $this.$field_73989_c = ju_ArrayList_size($this.$lines) * 12 | 0; break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var9 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var7 = new otcic_JSStderrPrintStream; $var1 = new ji_ByteArrayOutputStream; $var1.$buf = $rt_createByteArray(32); jl_Object__init_($var7); $var7.$out0 = $var1; $var1 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var1, 16); $var7.$sb = $var1; $var7.$buffer0 = $rt_createCharArray(32); $var7.$autoFlush = 0; $var7.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var7; } jl_Throwable_printStackTrace($var9, jl_System_errCache); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var7, $var1, $var8, $var9, var$5, var$6, $var2, $var3, $var5, $strs, var$11, var$12, $var6, $var6_0, var$15, $ptr); }, nms_GuiWinGame_func_73986_b = ($this, $par1, $par2, $par3) => { let $var4, var$5, $var5, $var7, $var10, $var6, $var9, $var11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var6 = $thread.pop();$var10 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nlea_Tessellator_$callClinit(); $var4 = nlea_Tessellator_instance; nms_Gui_$callClinit(); var$5 = nms_Gui_optionsBackground; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$5); if ($rt_suspending()) { break main; } if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var4, 255, 255, 255, 255); $var5 = $this.$width; $par3 = $this.$updateCounter0 + $par3; $var7 = $par3 * 0.5; $var10 = $this.$field_73987_d; $var7 = $var7 * $var10; $var6 = 0.0 - $var7; $par1 = $this.$height; $var7 = $par1 - $var7; $var9 = ($par3 - 0.0) * 0.019999999552965164; $var11 = (((($this.$field_73989_c + $par1 | 0) + $par1 | 0) + 24 | 0) / $var10 - 20.0 - $par3) * 0.004999999888241291; if ($var11 >= $var9) $var11 = $var9; if ($var11 > 1.0) $var11 = 1.0; $par1 = $var11 * $var11 * 96.0 / 255.0 * 255.0 | 0; nlea_Tessellator_setColorRGBA($var4, $par1, $par1, $par1, 255); var$12 = $this.$height; var$13 = $this.$zLevel; var$14 = $var6 * 0.015625; $var4.$hasTexture = 1; $var4.$textureU = 0.0; $var6 = var$14; $var4.$textureV = $var6; nlea_Tessellator_addVertex($var4, 0.0, var$12, var$13); var$15 = $var5; var$12 = $this.$height; var$13 = $this.$zLevel; var$14 = $var5 * 0.015625; $var4.$hasTexture = 1; $var10 = var$14; $var4.$textureU = $var10; $var4.$textureV = $var6; nlea_Tessellator_addVertex($var4, var$15, var$12, var$13); var$13 = $this.$zLevel; var$14 = $var7 * 0.015625; $var4.$hasTexture = 1; $var4.$textureU = $var10; $var7 = var$14; $var4.$textureV = $var7; nlea_Tessellator_addVertex($var4, var$15, 0.0, var$13); var$13 = $this.$zLevel; $var4.$hasTexture = 1; $var4.$textureU = 0.0; $var4.$textureV = $var7; nlea_Tessellator_addVertex($var4, 0.0, 0.0, var$13); nlea_Tessellator_draw($var4); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, var$5, $var5, $var7, $var10, $var6, $var9, $var11, var$12, var$13, var$14, var$15, $ptr); }, nms_GuiWinGame_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, $var5, $var6, $var7, $var8, $var12, var$10, $var9, $var10, var$13, var$14, var$15, var$16, $var11, var$18, $var13, var$20, var$21, var$22, var$23, var$24, var$25, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$25 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();$var13 = $thread.pop();var$18 = $thread.pop();$var11 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$10 = $thread.pop();$var12 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiWinGame_func_73986_b($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var4 = nlea_Tessellator_instance; $var5 = 274; $var6 = ($this.$width / 2 | 0) - 137 | 0; $var7 = $this.$height + 50 | 0; $var8 = -($this.$updateCounter0 + $par3) * $this.$field_73987_d; nleg_EaglerAdapterGL30_glPushMatrix(); $var12 = nleg_EaglerAdapterGL30_deevis; $var12.$x = 0.0; $var12.$y = $var8; $var12.$z = 0.0; $var12 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var12, $var12); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $var12.$sb = var$10; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var12 = nms_GuiWinGame_minecraftLogoTexture; $ptr = 2; case 2: nle_TextureLocation_bindTexture($var12); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_Gui_drawTexturedModalRect($this, $var6, $var7, 0, 0, 155, 44); nms_Gui_drawTexturedModalRect($this, $var6 + 155 | 0, $var7, 0, 45, 155, 44); nlea_Tessellator_setColorRGBA($var4, 255, 255, 255, 255); $var9 = $var7 + 200 | 0; $var10 = 0; var$13 = $var6 + 1 | 0; var$14 = $rt_s(468); var$15 = $rt_s(469); while (true) { var$16 = $this.$lines.$size0; if ($var10 >= var$16) break; if ($var10 == (var$16 - 1 | 0)) { $var11 = $var9 + $var8 - (($this.$height / 2 | 0) - 6 | 0); if ($var11 < 0.0) { $var11 = -$var11; $var12 = nleg_EaglerAdapterGL30_deevis; $var12.$x = 0.0; $var12.$y = $var11; $var12.$z = 0.0; $var12 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var12, $var12); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $var12.$sb = var$10; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } $rt_putStderr($rt_ustr(var$14)); $rt_putStderr($rt_ustr(var$15)); } } } var$18 = $var9 + $var8; if (var$18 + 12.0 + 8.0 > 0.0 && var$18 < $this.$height) { $var12 = $this.$lines; if ($var10 >= 0 && $var10 < $var12.$size0) { $var12 = $var12.$array.data[$var10]; if (!($var12 === $rt_s(3837) ? 1 : jl_String_startsWith($var12, $rt_s(3837), 0))) { var$10 = $this.$fontRenderer; var$10.$fontRandom.$seed = Long_add(Long_mul(Long_fromInt($var10), Long_create(4238972211, 0)), Long_fromInt($this.$updateCounter0 / 4 | 0)); $var13 = 16777215; var$10.$randomStyle = 0; var$10.$boldStyle = 0; var$10.$italicStyle = 0; var$10.$underlineStyle = 0; var$10.$strikethroughStyle = 0; var$16 = $var9 + 1 | 0; $var7 = 1; $ptr = 5; continue main; } var$10 = $this.$fontRenderer; var$20 = jl_String_substring($var12, 3, $var12.$nativeString.length); $var13 = $var6 + (($var5 - nms_FontRenderer_getStringWidth($this.$fontRenderer, jl_String_substring($var12, 3, $var12.$nativeString.length)) | 0) / 2 | 0) | 0; var$16 = 16777215; var$10.$randomStyle = 0; var$10.$boldStyle = 0; var$10.$italicStyle = 0; var$10.$underlineStyle = 0; var$10.$strikethroughStyle = 0; $var7 = $var13 + 1 | 0; var$21 = $var9 + 1 | 0; var$22 = 1; $ptr = 7; continue main; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } $var9 = $var9 + 12 | 0; $var10 = $var10 + 1 | 0; } nleg_EaglerAdapterGL30_glPopMatrix(); $var12 = nms_GuiWinGame_field_110361_b; $ptr = 3; case 3: nle_TextureLocation_bindTexture($var12); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(0, 769); if ($var4.$isDrawing) nlea_Tessellator_draw($var4); $var4.$isDrawing = 1; $var4.$vertexCount = 0; $var4.$rawBufferIndex = 0; $var4.$addedVertices = 0; $var4.$drawMode = 7; $var4.$hasNormals = 0; $var4.$hasColor = 0; $var4.$hasTexture = 0; $var4.$hasBrightness = 0; $var4.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($var4, 255, 255, 255, 255); $var9 = $this.$width; var$23 = $this.$height; var$24 = $this.$zLevel; $var4.$hasTexture = 1; $var4.$textureU = 0.0; $var4.$textureV = 1.0; nlea_Tessellator_addVertex($var4, 0.0, var$23, var$24); var$25 = $var9; var$24 = $this.$zLevel; $var4.$hasTexture = 1; $var4.$textureU = 1.0; $var4.$textureV = 1.0; nlea_Tessellator_addVertex($var4, var$25, var$23, var$24); var$24 = $this.$zLevel; $var4.$hasTexture = 1; $var4.$textureU = 1.0; $var4.$textureV = 0.0; nlea_Tessellator_addVertex($var4, var$25, 0.0, var$24); var$24 = $this.$zLevel; $var4.$hasTexture = 1; $var4.$textureU = 0.0; $var4.$textureV = 0.0; nlea_Tessellator_addVertex($var4, 0.0, 0.0, var$24); nlea_Tessellator_draw($var4); nleg_EaglerAdapterGL30_glDisable(3042); $var9 = 0; $var12 = $this.$buttonList; $var13 = $rt_compare($var9, $var12.$size0); if ($var13 >= 0) return; if ($var9 >= 0 && $var13 < 0) { $var12 = $var12.$array.data[$var9]; var$10 = $this.$mc; $ptr = 4; continue main; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); case 4: $var12.$drawButton(var$10, $par1, $par2); if ($rt_suspending()) { break main; } $var9 = $var9 + 1 | 0; $var12 = $this.$buttonList; $var13 = $rt_compare($var9, $var12.$size0); if ($var13 >= 0) return; if ($var9 >= 0 && $var13 < 0) { $var12 = $var12.$array.data[$var9]; var$10 = $this.$mc; continue main; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); case 5: $tmp = nms_FontRenderer_renderString(var$10, $var12, var$13, var$16, $var13, $var7); if ($rt_suspending()) { break main; } $var7 = $tmp; var$16 = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString(var$10, $var12, $var6, $var9, $var13, var$16); if ($rt_suspending()) { break main; } $var13 = $tmp; while (true) { $var9 = $var9 + 12 | 0; $var10 = $var10 + 1 | 0; var$16 = $this.$lines.$size0; if ($var10 >= var$16) break; if ($var10 == (var$16 - 1 | 0)) { $var11 = $var9 + $var8 - (($this.$height / 2 | 0) - 6 | 0); if ($var11 < 0.0) { $var11 = -$var11; $var12 = nleg_EaglerAdapterGL30_deevis; $var12.$x = 0.0; $var12.$y = $var11; $var12.$z = 0.0; $var12 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var12, $var12); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $var12.$sb = var$10; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } $rt_putStderr($rt_ustr(var$14)); $rt_putStderr($rt_ustr(var$15)); } } } var$18 = $var9 + $var8; if (var$18 + 12.0 + 8.0 <= 0.0) continue; if (var$18 >= $this.$height) continue; else { $var12 = $this.$lines; if ($var10 >= 0 && $var10 < $var12.$size0) { $var12 = $var12.$array.data[$var10]; if (!($var12 === $rt_s(3837) ? 1 : jl_String_startsWith($var12, $rt_s(3837), 0))) { var$10 = $this.$fontRenderer; var$10.$fontRandom.$seed = Long_add(Long_mul(Long_fromInt($var10), Long_create(4238972211, 0)), Long_fromInt($this.$updateCounter0 / 4 | 0)); $var13 = 16777215; var$10.$randomStyle = 0; var$10.$boldStyle = 0; var$10.$italicStyle = 0; var$10.$underlineStyle = 0; var$10.$strikethroughStyle = 0; var$16 = $var9 + 1 | 0; $var7 = 1; $ptr = 5; continue main; } var$10 = $this.$fontRenderer; var$20 = jl_String_substring($var12, 3, $var12.$nativeString.length); $var13 = $var6 + (($var5 - nms_FontRenderer_getStringWidth($this.$fontRenderer, jl_String_substring($var12, 3, $var12.$nativeString.length)) | 0) / 2 | 0) | 0; var$16 = 16777215; var$10.$randomStyle = 0; var$10.$boldStyle = 0; var$10.$italicStyle = 0; var$10.$underlineStyle = 0; var$10.$strikethroughStyle = 0; $var7 = $var13 + 1 | 0; var$21 = $var9 + 1 | 0; var$22 = 1; $ptr = 7; continue main; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } } nleg_EaglerAdapterGL30_glPopMatrix(); $var12 = nms_GuiWinGame_field_110361_b; $ptr = 3; continue main; case 7: $tmp = nms_FontRenderer_renderString(var$10, var$20, $var7, var$21, var$16, var$22); if ($rt_suspending()) { break main; } var$21 = $tmp; $var7 = 0; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString(var$10, var$20, $var13, $var9, var$16, $var7); if ($rt_suspending()) { break main; } $var13 = $tmp; while (true) { $var9 = $var9 + 12 | 0; $var10 = $var10 + 1 | 0; var$16 = $this.$lines.$size0; if ($var10 >= var$16) break; if ($var10 == (var$16 - 1 | 0)) { $var11 = $var9 + $var8 - (($this.$height / 2 | 0) - 6 | 0); if ($var11 < 0.0) { $var11 = -$var11; $var12 = nleg_EaglerAdapterGL30_deevis; $var12.$x = 0.0; $var12.$y = $var11; $var12.$z = 0.0; $var12 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var12, $var12); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var12 = new otcic_JSStderrPrintStream; var$10 = new ji_ByteArrayOutputStream; var$10.$buf = $rt_createByteArray(32); jl_Object__init_($var12); $var12.$out0 = var$10; var$10 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$10, 16); $var12.$sb = var$10; $var12.$buffer0 = $rt_createCharArray(32); $var12.$autoFlush = 0; $var12.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var12; } $rt_putStderr($rt_ustr(var$14)); $rt_putStderr($rt_ustr(var$15)); } } } var$18 = $var9 + $var8; if (var$18 + 12.0 + 8.0 <= 0.0) continue; if (var$18 >= $this.$height) continue; else { $var12 = $this.$lines; if ($var10 >= 0 && $var10 < $var12.$size0) { $var12 = $var12.$array.data[$var10]; if (!($var12 === $rt_s(3837) ? 1 : jl_String_startsWith($var12, $rt_s(3837), 0))) { var$10 = $this.$fontRenderer; var$10.$fontRandom.$seed = Long_add(Long_mul(Long_fromInt($var10), Long_create(4238972211, 0)), Long_fromInt($this.$updateCounter0 / 4 | 0)); $var13 = 16777215; var$10.$randomStyle = 0; var$10.$boldStyle = 0; var$10.$italicStyle = 0; var$10.$underlineStyle = 0; var$10.$strikethroughStyle = 0; var$16 = $var9 + 1 | 0; $var7 = 1; $ptr = 5; continue main; } var$10 = $this.$fontRenderer; var$20 = jl_String_substring($var12, 3, $var12.$nativeString.length); $var13 = $var6 + (($var5 - nms_FontRenderer_getStringWidth($this.$fontRenderer, jl_String_substring($var12, 3, $var12.$nativeString.length)) | 0) / 2 | 0) | 0; var$16 = 16777215; var$10.$randomStyle = 0; var$10.$boldStyle = 0; var$10.$italicStyle = 0; var$10.$underlineStyle = 0; var$10.$strikethroughStyle = 0; $var7 = $var13 + 1 | 0; var$21 = $var9 + 1 | 0; var$22 = 1; $ptr = 7; continue main; } $var12 = new jl_IndexOutOfBoundsException; $var12.$suppressionEnabled = 1; $var12.$writableStackTrace = 1; $rt_throw($var12); } } nleg_EaglerAdapterGL30_glPopMatrix(); $var12 = nms_GuiWinGame_field_110361_b; $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var5, $var6, $var7, $var8, $var12, var$10, $var9, $var10, var$13, var$14, var$15, var$16, $var11, var$18, $var13, var$20, var$21, var$22, var$23, var$24, var$25, $ptr); }, nms_GuiWinGame__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3838); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiWinGame_minecraftLogoTexture = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(1566); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiWinGame_field_110361_b = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3839); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiWinGame_bk = var$1; }, nms_ScoreObjectiveCriteria = $rt_classWithoutFields(0), nms_ScoreObjectiveCriteria_field_96643_a = null, nms_ScoreObjectiveCriteria_field_96641_b = null, nms_ScoreObjectiveCriteria_deathCount = null, nms_ScoreObjectiveCriteria_playerKillCount = null, nms_ScoreObjectiveCriteria_totalKillCount = null, nms_ScoreObjectiveCriteria_health = null, nms_ScoreObjectiveCriteria_$callClinit = () => { nms_ScoreObjectiveCriteria_$callClinit = $rt_eraseClinit(nms_ScoreObjectiveCriteria); nms_ScoreObjectiveCriteria__clinit_(); }, nms_ScoreObjectiveCriteria__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; nms_ScoreObjectiveCriteria_field_96643_a = var$1; var$5 = new nms_ScoreDummyCriteria; var$5.$field_96644_g = $rt_s(3840); nms_ScoreObjectiveCriteria_$callClinit(); ju_HashMap_putImpl(var$1, $rt_s(3840), var$5); nms_ScoreObjectiveCriteria_field_96641_b = var$5; var$1 = new nms_ScoreDummyCriteria; var$1.$field_96644_g = $rt_s(3841); ju_HashMap_putImpl(nms_ScoreObjectiveCriteria_field_96643_a, $rt_s(3841), var$1); nms_ScoreObjectiveCriteria_deathCount = var$1; var$1 = new nms_ScoreDummyCriteria; var$1.$field_96644_g = $rt_s(3842); ju_HashMap_putImpl(nms_ScoreObjectiveCriteria_field_96643_a, $rt_s(3842), var$1); nms_ScoreObjectiveCriteria_playerKillCount = var$1; var$1 = new nms_ScoreDummyCriteria; var$1.$field_96644_g = $rt_s(3843); ju_HashMap_putImpl(nms_ScoreObjectiveCriteria_field_96643_a, $rt_s(3843), var$1); nms_ScoreObjectiveCriteria_totalKillCount = var$1; var$1 = new nms_ScoreHealthCriteria; var$1.$field_96644_g = $rt_s(3844); ju_HashMap_putImpl(nms_ScoreObjectiveCriteria_field_96643_a, $rt_s(3844), var$1); nms_ScoreObjectiveCriteria_health = var$1; }; function nms_NpcMerchant() { let a = this; jl_Object.call(a); a.$theMerchantInventory0 = null; a.$customer = null; a.$recipeList = null; } let nms_NpcMerchant_getCustomer = $this => { return $this.$customer; }, nms_NpcMerchant_setCustomer = ($this, $par1EntityPlayer) => { return; }, nms_NpcMerchant_getRecipes = ($this, $par1EntityPlayer) => { return $this.$recipeList; }, nms_NpcMerchant_setRecipes = ($this, $par1MerchantRecipeList) => { $this.$recipeList = $par1MerchantRecipeList; }, nms_NpcMerchant_useRecipe = ($this, $par1MerchantRecipe) => { return; }, nms_NpcMerchant_func_110297_a_ = ($this, $par1ItemStack) => { return; }, nms_AnimalChest = $rt_classWithoutFields(nms_InventoryBasic), nms_WorldProviderSurface = $rt_classWithoutFields(nms_WorldProvider), nms_WorldProviderSurface__init_ = $this => { $this.$lightBrightnessTable = $rt_createFloatArray(16); $this.$colorsSunriseSunset = $rt_createFloatArray(4); }, nms_WorldProviderSurface__init_0 = () => { let var_0 = new nms_WorldProviderSurface(); nms_WorldProviderSurface__init_(var_0); return var_0; }; function nms_EntityPickupFX() { let a = this; nms_EntityFX.call(a); a.$entityToPickUp = null; a.$entityPickingUp = null; a.$age0 = 0; a.$maxAge = 0; a.$yOffs = 0.0; } let nms_EntityPickupFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $var9, $var11, $var13, $var15, $var17, $var19, $var25, $var21, $var23, $var30, $var31, $var32, var$21, var$22, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var32 = $thread.pop();$var31 = $thread.pop();$var30 = $thread.pop();$var23 = $thread.pop();$var21 = $thread.pop();$var25 = $thread.pop();$var19 = $thread.pop();$var17 = $thread.pop();$var15 = $thread.pop();$var13 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Tessellator = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = ($this.$age0 + $par2) / $this.$maxAge; $par3 = $var8 * $var8; $par1Tessellator = $this.$entityToPickUp; $var9 = $par1Tessellator.$posX; $var11 = $par1Tessellator.$posY; $var13 = $par1Tessellator.$posZ; $par1Tessellator = $this.$entityPickingUp; $var15 = $par1Tessellator.$lastTickPosX; $var17 = $par1Tessellator.$posX - $var15; $var19 = $par2; $var15 = $var15 + $var17 * $var19; $var17 = $par1Tessellator.$lastTickPosY; $var17 = $var17 + ($par1Tessellator.$posY - $var17) * $var19 + $this.$yOffs; $var25 = $par1Tessellator.$lastTickPosZ; $var19 = $var25 + ($par1Tessellator.$posZ - $var25) * $var19; $var15 = $var15 - $var9; $var25 = $par3; $var21 = $var9 + $var15 * $var25; $var23 = $var11 + ($var17 - $var11) * $var25; $var25 = $var13 + ($var19 - $var13) * $var25; $var19 = $var23 + $this.$yOffset / 2.0; a: { $var30 = nms_Entity_getBrightnessForRender($this, $par2); $var31 = $var30 % 65536 | 0; $var32 = $var30 / 65536 | 0; $var30 = nms_OpenGlHelper_lightmapTexUnit; $par3 = $var31 / 1.0; $par4 = $var32 / 1.0; nleg_EaglerAdapterGL30_$callClinit(); switch ($var30) { case 33984: break; case 33985: nleg_EaglerAdapterGL30_tex1Serial = nleg_EaglerAdapterGL30_tex1Serial + 1 | 0; nleg_EaglerAdapterGL30_tex1X = $par3; nleg_EaglerAdapterGL30_tex1Y = $par4; break a; default: if (jl_System_errCache === null) { $par1Tessellator = new otcic_JSStderrPrintStream; var$21 = new ji_ByteArrayOutputStream; jl_Object__init_(var$21); var$21.$buf = $rt_createByteArray(32); ji_OutputStream__init_($par1Tessellator); $par1Tessellator.$out0 = var$21; var$21 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$21); $par1Tessellator.$sb = var$21; $par1Tessellator.$buffer0 = $rt_createCharArray(32); $par1Tessellator.$autoFlush = 0; $par1Tessellator.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1Tessellator; } $rt_putStderr("only two texture units implemented"); $rt_putStderr("\n"); break a; } nleg_EaglerAdapterGL30_tex0Serial = nleg_EaglerAdapterGL30_tex0Serial + 1 | 0; nleg_EaglerAdapterGL30_tex0X = $par3; nleg_EaglerAdapterGL30_tex0Y = $par4; } nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; $var19 = $var21 - nms_EntityFX_interpPosX; $var9 = $var23 - nms_EntityFX_interpPosY; $var11 = $var25 - nms_EntityFX_interpPosZ; $par1Tessellator = nms_RenderManager_instance; var$21 = $this.$entityToPickUp; $var19 = $var19; $var9 = $var9; $var11 = $var11; $par3 = var$21.$rotationYaw; b: { try { var$22 = nms_RenderManager_getEntityRenderObject($par1Tessellator, var$21); if (var$22 !== null && $par1Tessellator.$renderEngine1 !== null) { if (nms_RenderManager_field_85095_o && !nms_Entity_isInvisible(var$21)) nms_RenderManager_func_85094_b($par1Tessellator, var$21, $var19, $var9, $var11, $par3, $par2); $ptr = 1; continue main; } break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } return; case 1: try { var$22.$doRender(var$21, $var19, $var9, $var11, $par3, $par2); if ($rt_suspending()) { break main; } $ptr = 2; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } return; case 2: c: { try { nms_Render_doRenderShadowAndFire(var$22, var$21, $var19, $var9, $var11, $par3, $par2); if ($rt_suspending()) { break main; } break c; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7, $var8, $var9, $var11, $var13, $var15, $var17, $var19, $var25, $var21, $var23, $var30, $var31, $var32, var$21, var$22, $ptr); }, nms_EntityPickupFX_onUpdate = $this => { let var$1; var$1 = $this.$age0 + 1 | 0; $this.$age0 = var$1; if (var$1 == $this.$maxAge) $this.$isDead = 1; }, nms_EntityPickupFX_getFXLayer = $this => { return 3; }; function nle_GuiScreenSingleplayerConnecting() { let a = this; nms_GuiScreen.call(a); a.$menu0 = null; a.$message3 = null; a.$killTask0 = null; a.$netHandler0 = null; a.$startStartTime = Long_ZERO; } let nle_GuiScreenSingleplayerConnecting_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if (Long_eq($this.$startStartTime, Long_ZERO)) { nlea_EaglerAdapterImpl2_$callClinit(); $this.$startStartTime = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); } var$1 = $this.$buttonList; var$2 = new nms_GuiButton; var$3 = ($this.$width / 2 | 0) - 100 | 0; var$4 = ($this.$height / 3 | 0) + 50 | 0; nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 0; var$2.$xPosition = var$3; var$2.$yPosition = var$4; var$2.$width0 = 200; var$2.$height0 = 20; var$2.$displayString = $rt_s(3845); $this.$killTask0 = var$2; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$5 = var$1.$array.data; var$6 = var$1.$size0; var$1.$size0 = var$6 + 1 | 0; var$5[var$6] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; $this.$killTask0.$enabled = 0; }, nle_GuiScreenSingleplayerConnecting_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, $top, $millis, $dots, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $elapsed, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$elapsed = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$dots = $thread.pop();$millis = $thread.pop();$top = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); $top = $this.$height / 3 | 0; nlea_EaglerAdapterImpl2_$callClinit(); $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $dots = Long_rem(Long_div($millis, Long_fromInt(500)), Long_fromInt(4)); var$8 = $this.$fontRenderer; var$9 = $this.$message3; var$10 = Long_le($dots, Long_ZERO) ? $rt_s(18) : $rt_s(129); var$11 = Long_le($dots, Long_fromInt(1)) ? $rt_s(18) : $rt_s(129); var$12 = Long_le($dots, Long_fromInt(2)) ? $rt_s(18) : $rt_s(129); var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$4 = var$13.$length0; if (var$9 === null) var$9 = $rt_s(1); jl_AbstractStringBuilder_insert(var$13, var$4, var$9); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, var$10); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, var$11); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, var$12); var$10 = new jl_String; var$14 = var$13.$buffer; var$15 = var$14.data; var$16 = var$13.$length0; var$17 = var$15.length; if (var$16 >= 0 && var$16 <= (var$17 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$14.data, 0, var$16); var$4 = ($this.$width - nms_FontRenderer_getStringWidth($this.$fontRenderer, $this.$message3) | 0) / 2 | 0; var$16 = $top + 10 | 0; var$17 = 16777215; var$8.$randomStyle = 0; var$8.$boldStyle = 0; var$8.$italicStyle = 0; var$8.$underlineStyle = 0; var$8.$strikethroughStyle = 0; var$18 = var$4 + 1 | 0; var$19 = var$16 + 1 | 0; var$20 = 1; $ptr = 2; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$13); $rt_throw(var$13); case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } $top = $this.$height / 3 | 0; nlea_EaglerAdapterImpl2_$callClinit(); $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $dots = Long_rem(Long_div($millis, Long_fromInt(500)), Long_fromInt(4)); var$8 = $this.$fontRenderer; var$9 = $this.$message3; var$10 = Long_le($dots, Long_ZERO) ? $rt_s(18) : $rt_s(129); var$11 = Long_le($dots, Long_fromInt(1)) ? $rt_s(18) : $rt_s(129); var$12 = Long_le($dots, Long_fromInt(2)) ? $rt_s(18) : $rt_s(129); var$13 = new jl_StringBuilder; var$13.$buffer = $rt_createCharArray(16); var$4 = var$13.$length0; if (var$9 === null) var$9 = $rt_s(1); jl_AbstractStringBuilder_insert(var$13, var$4, var$9); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, var$10); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, var$11); jl_AbstractStringBuilder_insert(var$13, var$13.$length0, var$12); var$10 = new jl_String; var$14 = var$13.$buffer; var$15 = var$14.data; var$16 = var$13.$length0; var$17 = var$15.length; if (var$16 >= 0 && var$16 <= (var$17 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$14.data, 0, var$16); var$4 = ($this.$width - nms_FontRenderer_getStringWidth($this.$fontRenderer, $this.$message3) | 0) / 2 | 0; var$16 = $top + 10 | 0; var$17 = 16777215; var$8.$randomStyle = 0; var$8.$boldStyle = 0; var$8.$italicStyle = 0; var$8.$underlineStyle = 0; var$8.$strikethroughStyle = 0; var$18 = var$4 + 1 | 0; var$19 = var$16 + 1 | 0; var$20 = 1; $ptr = 2; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$13); $rt_throw(var$13); case 2: $tmp = nms_FontRenderer_renderString(var$8, var$10, var$18, var$19, var$17, var$20); if ($rt_suspending()) { break main; } var$19 = $tmp; var$18 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$8, var$10, var$4, var$16, var$17, var$18); if ($rt_suspending()) { break main; } var$4 = $tmp; $elapsed = Long_div(Long_sub($millis, $this.$startStartTime), Long_fromInt(1000)); if (Long_le($elapsed, Long_fromInt(3))) { var$4 = 0; var$13 = $this.$buttonList; var$16 = $rt_compare(var$4, var$13.$size0); if (var$16 >= 0) return; if (var$4 >= 0 && var$16 < 0) { var$13 = var$13.$array.data[var$4]; var$8 = $this.$mc; $ptr = 6; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); } var$13 = $this.$fontRenderer; var$8 = new jl_StringBuilder; var$8.$buffer = $rt_createCharArray(16); var$4 = var$8.$length0; jl_AbstractStringBuilder_insertSpace(var$8, var$4, var$4 + 1 | 0); var$8.$buffer.data[var$4] = 40; jl_AbstractStringBuilder_insert2(var$8, var$8.$length0, $elapsed, 10); jl_AbstractStringBuilder_insert(var$8, var$8.$length0, $rt_s(3240)); var$9 = new jl_String; var$14 = var$8.$buffer; var$15 = var$14.data; var$16 = var$8.$length0; var$17 = var$15.length; if (var$16 >= 0 && var$16 <= (var$17 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$14.data, 0, var$16); var$4 = $this.$width / 2 | 0; var$16 = $top + 25 | 0; var$17 = 16777215; var$4 = var$4 - (nms_FontRenderer_getStringWidth(var$13, var$9) / 2 | 0) | 0; var$13.$randomStyle = 0; var$13.$boldStyle = 0; var$13.$italicStyle = 0; var$13.$underlineStyle = 0; var$13.$strikethroughStyle = 0; $top = var$4 + 1 | 0; var$18 = var$16 + 1 | 0; var$19 = 1; $ptr = 4; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$13); $rt_throw(var$13); case 4: $tmp = nms_FontRenderer_renderString(var$13, var$9, $top, var$18, var$17, var$19); if ($rt_suspending()) { break main; } var$18 = $tmp; $top = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$13, var$9, var$4, var$16, var$17, $top); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$13 = $this.$buttonList; var$16 = $rt_compare(var$4, var$13.$size0); if (var$16 >= 0) return; if (var$4 >= 0 && var$16 < 0) { var$13 = var$13.$array.data[var$4]; var$8 = $this.$mc; $ptr = 6; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); case 6: var$13.$drawButton(var$8, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$13 = $this.$buttonList; var$16 = $rt_compare(var$4, var$13.$size0); if (var$16 >= 0) return; if (var$4 >= 0 && var$16 < 0) { var$13 = var$13.$array.data[var$4]; var$8 = $this.$mc; continue main; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; $rt_throw(var$13); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $top, $millis, $dots, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, var$20, $elapsed, $ptr); }, nle_GuiScreenSingleplayerConnecting_doesGuiPauseGame = $this => { return 0; }, nle_GuiScreenSingleplayerConnecting_updateScreen = $this => { let var$1, var$2, $e, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$e = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($this.$netHandler0 === null) try { var$1 = new nms_NetClientHandler; var$2 = $this.$mc; nle_EaglerProfile_$callClinit(); nms_NetClientHandler__init_(var$1, var$2, nle_EaglerProfile_username); $this.$netHandler0 = var$1; nms_Minecraft_setNetManager($this.$mc, nms_NetClientHandler_getNetManager(var$1)); nms_NetClientHandler_addToSendQueue($this.$netHandler0, nms_Packet2ClientProtocol__init_1(78, nle_EaglerProfile_username, $rt_s(3696), $this.$mc.$gameSettings.$renderDistance)); nms_NetClientHandler_addToSendQueue($this.$netHandler0, nms_Packet250CustomPayload__init_($rt_s(1618), nle_EaglerProfile_getSkinPacket())); nms_NetClientHandler_addToSendQueue($this.$netHandler0, nms_Packet250CustomPayload__init_($rt_s(1619), nle_EaglerProfile_getCapePacket())); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; var$1 = $this.$mc; var$2 = nms_GuiDisconnected__init_($this.$menu0, $rt_s(1611), $rt_s(1612), $rt_wrapArray(jl_Object, [$rt_s(3697), $rt_s(18)])); $ptr = 1; continue main; } else { throw $$e; } } } nlea_EaglerAdapterImpl2_$callClinit(); if (Long_gt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $this.$startStartTime), Long_fromInt(6000))) $this.$killTask0.$enabled = 1; return; case 1: nms_Minecraft_displayGuiScreen(var$1, var$2); if ($rt_suspending()) { break main; } if (jl_System_errCache === null) { var$1 = new otcic_JSStderrPrintStream; var$2 = new ji_ByteArrayOutputStream; var$2.$buf = $rt_createByteArray(32); jl_Object__init_(var$1); var$1.$out0 = var$2; var$2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$2, 16); var$1.$sb = var$2; var$1.$buffer0 = $rt_createCharArray(32); var$1.$autoFlush = 0; var$1.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$1; } jl_Throwable_printStackTrace($e, jl_System_errCache); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $e, $ptr); }, nle_GuiScreenSingleplayerConnecting_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$id0) return; $par1GuiButton = nle_IntegratedServer_openConnections; if ($par1GuiButton.$elementCount > 0) { $par1GuiButton.$elementCount = 0; var$2 = $par1GuiButton.$elementData.data; var$3 = null; var$4 = 0; var$5 = var$2.length; if (var$4 > var$5) { $par1GuiButton = new jl_IllegalArgumentException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1GuiButton); $rt_throw($par1GuiButton); } while (var$4 < var$5) { var$6 = var$4 + 1 | 0; var$2[var$4] = var$3; var$4 = var$6; } $par1GuiButton.$modCount0 = $par1GuiButton.$modCount0 + 1 | 0; } $par1GuiButton = nle_IntegratedServer_exceptions; $par1GuiButton.$firstEntry = null; $par1GuiButton.$lastEntry = null; $par1GuiButton.$size2 = 0; $par1GuiButton.$modCount = $par1GuiButton.$modCount + 1 | 0; nle_IntegratedServer_statusState = (-2); nlea_EaglerAdapterImpl2_$callClinit(); $par1GuiButton = nlea_EaglerAdapterImpl2_server; if ($par1GuiButton !== null) { $par1GuiButton.terminate(); nlea_EaglerAdapterImpl2_server = null; nlea_EaglerAdapterImpl2_serverAlive = 0; } var$3 = $this.$mc; $par1GuiButton = null; var$7 = $rt_s(18); $ptr = 1; case 1: nms_Minecraft_loadWorld(var$3, $par1GuiButton, var$7); if ($rt_suspending()) { break main; } $par1GuiButton = $this.$mc; var$3 = $this.$menu0; $ptr = 2; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } $par1GuiButton = $this.$netHandler0; if ($par1GuiButton !== null) { $par1GuiButton.$netManager.$closeConnections(); nms_Minecraft_theMinecraft.$myNetworkManager = null; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_Minecraft$launchIntegratedServer$lambda$_27_0 = $rt_classWithoutFields(), nms_Minecraft$launchIntegratedServer$lambda$_27_0__init_ = var$0 => { return; }, nms_Minecraft$launchIntegratedServer$lambda$_27_0__init_0 = () => { let var_0 = new nms_Minecraft$launchIntegratedServer$lambda$_27_0(); nms_Minecraft$launchIntegratedServer$lambda$_27_0__init_(var_0); return var_0; }, nms_Minecraft$launchIntegratedServer$lambda$_27_0_getAsBoolean = var$0 => { return nle_IntegratedServer_isWorldRunning(); }, nms_EnumOptionsHelper = $rt_classWithoutFields(), nms_EnumOptionsHelper_enumOptionsMappingHelperArray = null, nms_EnumOptionsHelper_$callClinit = () => { nms_EnumOptionsHelper_$callClinit = $rt_eraseClinit(nms_EnumOptionsHelper); nms_EnumOptionsHelper__clinit_(); }, nms_EnumOptionsHelper__init_ = $this => { nms_EnumOptionsHelper_$callClinit(); }, nms_EnumOptionsHelper__init_0 = () => { let var_0 = new nms_EnumOptionsHelper(); nms_EnumOptionsHelper__init_(var_0); return var_0; }, nms_EnumOptionsHelper__clinit_ = () => { let var$1, var$2; var$1 = $rt_createIntArray((nms_EnumOptions_$VALUES.$clone0()).data.length); var$2 = var$1.data; nms_EnumOptionsHelper_enumOptionsMappingHelperArray = var$1; var$2[nms_EnumOptions_INVERT_MOUSE.$ordinal] = 1; var$2[nms_EnumOptions_VIEW_BOBBING.$ordinal] = 2; var$2[nms_EnumOptions_ANAGLYPH.$ordinal] = 3; var$2[nms_EnumOptions_RENDER_CLOUDS.$ordinal] = 5; var$2[nms_EnumOptions_CHAT_COLOR.$ordinal] = 6; var$2[nms_EnumOptions_CHAT_LINKS.$ordinal] = 7; var$2[nms_EnumOptions_CHAT_LINKS_PROMPT.$ordinal] = 8; var$2[nms_EnumOptions_USE_SERVER_TEXTURES.$ordinal] = 9; var$2[nms_EnumOptions_VSYNC.$ordinal] = 12; var$2[nms_EnumOptions_SHOW_CAPE.$ordinal] = 13; }; function ju_LinkedHashMapEntrySet() { let a = this; ju_AbstractSet.call(a); a.$base3 = null; a.$reversed2 = 0; } let juz_ZipException = $rt_classWithoutFields(ji_IOException), juz_ZipException__init_ = $this => { $this.$suppressionEnabled = 1; $this.$writableStackTrace = 1; }, juz_ZipException__init_0 = () => { let var_0 = new juz_ZipException(); juz_ZipException__init_(var_0); return var_0; }; function nle_GuiSlotRelay() { let a = this; nms_GuiSlot.call(a); a.$screen = null; a.$relayManager = null; } let nle_GuiSlotRelay_icons = null, nle_GuiSlotRelay_$callClinit = () => { nle_GuiSlotRelay_$callClinit = $rt_eraseClinit(nle_GuiSlotRelay); nle_GuiSlotRelay__clinit_(); }, nle_GuiSlotRelay_getSize = $this => { return $this.$relayManager.$relays.$size0; }, nle_GuiSlotRelay_elementClicked = ($this, $var1, $var2) => { let var$3; var$3 = $this.$screen; var$3.$selected = $var1; if ($var1 >= 0) { var$3.$deleteRelay.$enabled = 1; var$3.$setPrimary.$enabled = 1; } else { var$3.$deleteRelay.$enabled = 0; var$3.$setPrimary.$enabled = 0; } }, nle_GuiSlotRelay_isSelected = ($this, $var1) => { return $this.$screen.$selected != $var1 ? 0 : 1; }, nle_GuiSlotRelay_drawBackground = $this => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$screen; var$2 = 0; if (var$1.$mc.$theWorld !== null) { nms_Gui_drawGradientRect(var$1, 0, 0, var$1.$width, var$1.$height, (-1072689136), (-804253680)); return; } $ptr = 1; case 1: nms_GuiScreen_drawBackground(var$1, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); }, nle_GuiSlotRelay_drawSlot = ($this, $id, $xx, $yy, $height, $var5) => { let $srv, $comment, $var15, $h, $ping, $vm, $pingComment, var$13, var$14, $rx, var$16, var$17, $mx, $my, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$my = $thread.pop();$mx = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$rx = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$pingComment = $thread.pop();$vm = $thread.pop();$ping = $thread.pop();$h = $thread.pop();$var15 = $thread.pop();$comment = $thread.pop();$srv = $thread.pop();$var5 = $thread.pop();$height = $thread.pop();$yy = $thread.pop();$xx = $thread.pop();$id = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($id >= $this.$relayManager.$relays.$size0) return; nle_GuiSlotRelay_$callClinit(); $var5 = nle_GuiSlotRelay_icons; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var5); if ($rt_suspending()) { break main; } $var5 = $this.$relayManager.$relays; if ($id >= 0 && $id < $var5.$size0) { a: { $srv = $var5.$array.data[$id]; $comment = $srv.$comment; $var15 = 0; $h = 12; $ping = $srv.$ping; $height = Long_compare($ping, Long_ZERO); if (!$height) { $id = 5; $vm = $rt_s(3846); } else if ($height < 0) { $var15 = 1; nlea_EaglerAdapterImpl2_$callClinit(); $id = Long_lo(Long_and(Long_add(Long_div(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), Long_fromInt(100)), Long_fromInt($id * 2 | 0)), Long_fromInt(7))); if ($id > 4) $id = 8 - $id | 0; $vm = $rt_s(3847); } else { $vm = $srv.$queriedCompatible; if ($vm !== nle_RelayQuery$VersionMismatch_COMPATIBLE ? 0 : 1) { $var5 = $srv.$queriedComment; if ($var5 === null) $var5 = $rt_s(18); $pingComment = jl_String_trim($var5); if ($pingComment.$nativeString.length <= 0) $pingComment = $comment; $var5 = new jl_StringBuilder; $var5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert2($var5, $var5.$length0, $ping, 10); jl_AbstractStringBuilder_insert($var5, $var5.$length0, $rt_s(3674)); $vm = new jl_String; var$13 = $var5.$buffer; var$14 = var$13.data; $height = $var5.$length0; $rx = var$14.length; if ($height >= 0 && $height <= ($rx - 0 | 0)) { $vm.$nativeString = $rt_charArrayToString(var$13.data, 0, $height); if (Long_lt($ping, Long_fromInt(150))) { $id = 0; $comment = $pingComment; break a; } if (Long_lt($ping, Long_fromInt(300))) { $id = 1; $comment = $pingComment; break a; } if (Long_lt($ping, Long_fromInt(600))) { $id = 2; $comment = $pingComment; break a; } if (Long_ge($ping, Long_fromInt(1000))) { $id = 4; $comment = $pingComment; break a; } $id = 3; $comment = $pingComment; break a; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var5); $rt_throw($var5); } b: { c: { $id = 5; nle_GuiSlotRelay$1_$callClinit(); switch (nle_GuiSlotRelay$1_$SwitchMap$net$lax1dude$eaglercraft$RelayQuery$VersionMismatch.data[$vm.$ordinal]) { case 1: break; case 2: $vm = $rt_s(3848); break b; case 3: break c; default: break c; } $vm = $rt_s(3849); break b; } $vm = $rt_s(3850); } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glPushMatrix(); var$16 = $xx + 205 | 0; var$17 = $yy + 11 | 0; $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = var$16; $var5.$y = var$17; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $pingComment = new ji_ByteArrayOutputStream; $pingComment.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $pingComment; $pingComment = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pingComment, 16); $var5.$sb = $pingComment; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.6000000238418579; $var5.$y = 0.6000000238418579; $var5.$z = 0.6000000238418579; $pingComment = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $pingComment, $pingComment); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $pingComment = new ji_ByteArrayOutputStream; $pingComment.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $pingComment; $pingComment = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pingComment, 16); $var5.$sb = $pingComment; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_Gui_drawTexturedModalRect($this.$screen, 0, 0, 0, 144, 16, 16); nleg_EaglerAdapterGL30_glPopMatrix(); $h = 22; } } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_Gui_drawTexturedModalRect($this.$screen, $xx + 205 | 0, $yy, 0 + ($var15 * 10 | 0) | 0, 176 + ($id * 8 | 0) | 0, 10, 8); if ($srv.$primary) { nleg_EaglerAdapterGL30_glPushMatrix(); var$16 = $xx + 4 | 0; var$17 = $yy + 5 | 0; $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = var$16; $var5.$y = var$17; $var5.$z = 0.0; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $pingComment = new ji_ByteArrayOutputStream; $pingComment.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $pingComment; $pingComment = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pingComment, 16); $var5.$sb = $pingComment; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var5 = nleg_EaglerAdapterGL30_deevis; $var5.$x = 0.800000011920929; $var5.$y = 0.800000011920929; $var5.$z = 0.800000011920929; $var5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var5, $var5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; $pingComment = new ji_ByteArrayOutputStream; $pingComment.$buf = $rt_createByteArray(32); jl_Object__init_($var5); $var5.$out0 = $pingComment; $pingComment = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pingComment, 16); $var5.$sb = $pingComment; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nms_Gui_drawTexturedModalRect($this.$screen, 0, 0, 0, 160, 16, 16); nleg_EaglerAdapterGL30_glPopMatrix(); } $var5 = $this.$mc9.$fontRenderer0; $id = $xx + 22 | 0; $height = $yy + 2 | 0; $rx = (-1); $var5.$randomStyle = 0; $var5.$boldStyle = 0; $var5.$italicStyle = 0; $var5.$underlineStyle = 0; $var5.$strikethroughStyle = 0; $mx = $id + 1 | 0; $var15 = $height + 1 | 0; $my = 1; $ptr = 2; continue main; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); case 2: $tmp = nms_FontRenderer_renderString($var5, $comment, $mx, $var15, $rx, $my); if ($rt_suspending()) { break main; } $my = $tmp; $var15 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString($var5, $comment, $id, $height, $rx, $var15); if ($rt_suspending()) { break main; } $height = $tmp; $var5 = $this.$mc9.$fontRenderer0; $pingComment = $srv.$address; $height = $yy + 12 | 0; $rx = (-6710887); $var5.$randomStyle = 0; $var5.$boldStyle = 0; $var5.$italicStyle = 0; $var5.$underlineStyle = 0; $var5.$strikethroughStyle = 0; $var15 = $height + 1 | 0; $my = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString($var5, $pingComment, $mx, $var15, $rx, $my); if ($rt_suspending()) { break main; } $my = $tmp; $var15 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString($var5, $pingComment, $id, $height, $rx, $var15); if ($rt_suspending()) { break main; } $id = $tmp; $var5 = $this.$screen; $mx = $var5.$mx; $my = $var5.$my; $rx = $xx + 202 | 0; if ($mx > $rx && $mx < ($rx + 13 | 0) && $my > ($yy - 1 | 0) && $my < ($yy + $h | 0)) $var5.$tooltipString = $vm; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $id, $xx, $yy, $height, $var5, $srv, $comment, $var15, $h, $ping, $vm, $pingComment, var$13, var$14, $rx, var$16, var$17, $mx, $my, $ptr); }, nle_GuiSlotRelay__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3676); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nle_GuiSlotRelay_icons = var$1; }, nle_GuiScreenNameWorldImport$updateScreen$lambda$_1_0 = $rt_classWithoutFields(), nle_GuiScreenNameWorldImport$updateScreen$lambda$_1_0__init_ = var$0 => { return; }, nle_GuiScreenNameWorldImport$updateScreen$lambda$_1_0__init_0 = () => { let var_0 = new nle_GuiScreenNameWorldImport$updateScreen$lambda$_1_0(); nle_GuiScreenNameWorldImport$updateScreen$lambda$_1_0__init_(var_0); return var_0; }, nle_GuiScreenNameWorldImport$updateScreen$lambda$_1_0_getAsBoolean = var$0 => { return nle_IntegratedServer_statusState ? 0 : 1; }; function nms_GuiCreateFlatWorld() { let a = this; nms_GuiScreen.call(a); a.$createWorldGui = null; a.$theFlatGeneratorInfo = null; a.$customizationTitle = null; a.$layerMaterialLabel = null; a.$heightLabel = null; a.$createFlatWorldListSlotGui = null; a.$buttonAddLayer = null; a.$buttonEditLayer = null; a.$buttonRemoveLayer = null; } let nms_GuiCreateFlatWorld_theRenderItem = null, nms_GuiCreateFlatWorld_$callClinit = () => { nms_GuiCreateFlatWorld_$callClinit = $rt_eraseClinit(nms_GuiCreateFlatWorld); nms_GuiCreateFlatWorld__clinit_(); }, nms_GuiCreateFlatWorld_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; var$1 = $this.$buttonList; var$2 = var$1.$array; var$3 = 0; var$4 = var$1.$size0; var$5 = null; if (var$3 > var$4) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$3 < var$4) { var$6 = var$2.data; var$7 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; nms_StatCollector_$callClinit(); $this.$customizationTitle = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3851)); $this.$layerMaterialLabel = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3852)); $this.$heightLabel = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3853)); var$1 = new nms_GuiCreateFlatWorldListSlot; var$5 = $this.$mc; var$7 = $this.$width; var$8 = $this.$height; nms_GuiSlot__init_(var$1, var$5, var$7, var$8, 43, var$8 - 60 | 0, 24); var$1.$createFlatWorldGui = $this; var$1.$field_82454_a = (-1); $this.$createFlatWorldListSlotGui = var$1; var$5 = $this.$buttonList; var$9 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 154 | 0; var$8 = $this.$height - 52 | 0; var$10 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3854)); var$1 = new jl_StringBuilder; var$1.$buffer = $rt_createCharArray(16); var$11 = var$1.$length0; if (var$10 === null) var$10 = $rt_s(1); jl_AbstractStringBuilder_insert(var$1, var$11, var$10); jl_AbstractStringBuilder_insert(var$1, var$1.$length0, $rt_s(3855)); var$10 = new jl_String; var$2 = var$1.$buffer; var$6 = var$2.data; var$12 = var$1.$length0; var$13 = var$6.length; if (var$12 >= 0 && var$12 <= (var$13 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$2.data, 0, var$12); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 2; var$9.$xPosition = var$7; var$9.$yPosition = var$8; var$9.$width0 = 100; var$9.$height0 = 20; var$9.$displayString = var$10; $this.$buttonAddLayer = var$9; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$2[var$4] = var$9; var$5.$modCount = var$5.$modCount + 1 | 0; var$1 = $this.$buttonList; var$5 = new nms_GuiButton; var$11 = ($this.$width / 2 | 0) - 50 | 0; var$12 = $this.$height - 52 | 0; var$10 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3856)); var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); var$7 = var$9.$length0; if (var$10 === null) var$10 = $rt_s(1); jl_AbstractStringBuilder_insert(var$9, var$7, var$10); jl_AbstractStringBuilder_insert(var$9, var$9.$length0, $rt_s(3855)); var$10 = new jl_String; var$2 = var$9.$buffer; var$6 = var$2.data; var$8 = var$9.$length0; var$14 = var$6.length; if (var$8 >= 0 && var$8 <= (var$14 - 0 | 0)) { var$10.$nativeString = $rt_charArrayToString(var$2.data, 0, var$8); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 3; var$5.$xPosition = var$11; var$5.$yPosition = var$12; var$5.$width0 = 100; var$5.$height0 = 20; var$5.$displayString = var$10; $this.$buttonEditLayer = var$5; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$buttonList; var$5 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 155 | 0; var$7 = $this.$height - 52 | 0; var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3857)); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 4; var$5.$xPosition = var$4; var$5.$yPosition = var$7; var$5.$width0 = 150; var$5.$height0 = 20; var$5.$displayString = var$9; $this.$buttonRemoveLayer = var$5; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$buttonList; var$5 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 155 | 0; var$7 = $this.$height - 28 | 0; var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(646)); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 0; var$5.$xPosition = var$4; var$5.$yPosition = var$7; var$5.$width0 = 150; var$5.$height0 = 20; var$5.$displayString = var$9; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$buttonList; var$5 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) + 5 | 0; var$7 = $this.$height - 52 | 0; var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3858)); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 5; var$5.$xPosition = var$4; var$5.$yPosition = var$7; var$5.$width0 = 150; var$5.$height0 = 20; var$5.$displayString = var$9; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$buttonList; var$5 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) + 5 | 0; var$7 = $this.$height - 28 | 0; var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1626)); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 1; var$5.$xPosition = var$4; var$5.$yPosition = var$7; var$5.$width0 = 150; var$5.$height0 = 20; var$5.$displayString = var$9; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = $this.$buttonAddLayer; $this.$buttonEditLayer.$drawButton0 = 0; var$1.$drawButton0 = 0; var$1 = $this.$theFlatGeneratorInfo; var$3 = 0; var$1 = var$1.$flatLayers; var$11 = 0; var$8 = var$1.$modCount; var$14 = var$1.$size(); while (true) { if (!(var$11 >= var$14 ? 0 : 1)) { var$4 = $this.$createFlatWorldListSlotGui.$field_82454_a; var$3 = var$4 > (-1) && var$4 < $this.$theFlatGeneratorInfo.$flatLayers.$size0 ? 1 : 0; $this.$buttonRemoveLayer.$enabled = var$3; var$1 = $this.$buttonEditLayer; var$1.$enabled = var$3; var$1.$enabled = 0; $this.$buttonAddLayer.$enabled = 0; return; } if (var$8 < var$1.$modCount) break; var$7 = var$11 + 1 | 0; var$5 = var$1.$get(var$11); var$5.$layerMinimumY = var$3; var$3 = var$3 + var$5.$layerCount | 0; var$11 = var$7; } var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); }, nms_GuiCreateFlatWorld_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, var$5, $var2, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var2 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$theFlatGeneratorInfo; var$3 = var$2.$flatLayers; var$4 = var$3.$size0; var$5 = $this.$createFlatWorldListSlotGui.$field_82454_a; $var2 = (var$4 - var$5 | 0) - 1 | 0; var$7 = $par1GuiButton.$id0; if (var$7 == 1) { $par1GuiButton = $this.$mc; var$2 = $this.$createWorldGui; $ptr = 1; continue main; } if (!var$7) { $this.$createWorldGui.$generatorOptionsToUse = nms_FlatGeneratorInfo_toString(var$2); $par1GuiButton = $this.$mc; var$2 = $this.$createWorldGui; $ptr = 2; continue main; } if (var$7 != 5) { if (var$7 == 4 && (var$5 > (-1) && var$5 < var$4 ? 1 : 0)) { ju_ArrayList_remove(var$3, $var2); $par1GuiButton = $this.$createFlatWorldListSlotGui; $var2 = $par1GuiButton.$field_82454_a; var$5 = $this.$theFlatGeneratorInfo.$flatLayers.$size0 - 1 | 0; if ($var2 < var$5) var$5 = $var2; $par1GuiButton.$field_82454_a = var$5; } $par1GuiButton = $this.$theFlatGeneratorInfo; var$5 = 0; $par1GuiButton = $par1GuiButton.$flatLayers; var$8 = 0; var$9 = $par1GuiButton.$modCount; var$4 = $par1GuiButton.$size(); while (true) { if (!(var$8 >= var$4 ? 0 : 1)) { $var2 = $this.$createFlatWorldListSlotGui.$field_82454_a; var$5 = $var2 > (-1) && $var2 < $this.$theFlatGeneratorInfo.$flatLayers.$size0 ? 1 : 0; $this.$buttonRemoveLayer.$enabled = var$5; $par1GuiButton = $this.$buttonEditLayer; $par1GuiButton.$enabled = var$5; $par1GuiButton.$enabled = 0; $this.$buttonAddLayer.$enabled = 0; return; } if (var$9 < $par1GuiButton.$modCount) break; var$7 = var$8 + 1 | 0; var$2 = $par1GuiButton.$get(var$8); var$2.$layerMinimumY = var$5; var$5 = var$5 + var$2.$layerCount | 0; var$8 = var$7; } $par1GuiButton = new ju_ConcurrentModificationException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } $par1GuiButton = $this.$mc; var$2 = new nms_GuiFlatPresets; nms_GuiFlatPresets_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$10 = new ju_ArrayList; var$10.$array = $rt_createArray(jl_Object, 10); var$2.$buttonList = var$10; var$2.$allowUserInput = 0; var$2.$selectedButton = null; var$2.$eventButton = 0; var$2.$field_85043_c = Long_ZERO; var$2.$field_92018_d = 0; var$2.$createFlatWorldGui0 = $this; $ptr = 3; continue main; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } $par1GuiButton = $this.$theFlatGeneratorInfo; var$5 = 0; $par1GuiButton = $par1GuiButton.$flatLayers; var$8 = 0; var$9 = $par1GuiButton.$modCount; var$4 = $par1GuiButton.$size(); while (true) { if (!(var$8 >= var$4 ? 0 : 1)) { $var2 = $this.$createFlatWorldListSlotGui.$field_82454_a; var$5 = $var2 > (-1) && $var2 < $this.$theFlatGeneratorInfo.$flatLayers.$size0 ? 1 : 0; $this.$buttonRemoveLayer.$enabled = var$5; $par1GuiButton = $this.$buttonEditLayer; $par1GuiButton.$enabled = var$5; $par1GuiButton.$enabled = 0; $this.$buttonAddLayer.$enabled = 0; return; } if (var$9 < $par1GuiButton.$modCount) break; var$7 = var$8 + 1 | 0; var$2 = $par1GuiButton.$get(var$8); var$2.$layerMinimumY = var$5; var$5 = var$5 + var$2.$layerCount | 0; var$8 = var$7; } $par1GuiButton = new ju_ConcurrentModificationException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } $par1GuiButton = $this.$theFlatGeneratorInfo; var$5 = 0; $par1GuiButton = $par1GuiButton.$flatLayers; var$8 = 0; var$9 = $par1GuiButton.$modCount; var$4 = $par1GuiButton.$size(); while (true) { if (!(var$8 >= var$4 ? 0 : 1)) { $var2 = $this.$createFlatWorldListSlotGui.$field_82454_a; var$5 = $var2 > (-1) && $var2 < $this.$theFlatGeneratorInfo.$flatLayers.$size0 ? 1 : 0; $this.$buttonRemoveLayer.$enabled = var$5; $par1GuiButton = $this.$buttonEditLayer; $par1GuiButton.$enabled = var$5; $par1GuiButton.$enabled = 0; $this.$buttonAddLayer.$enabled = 0; return; } if (var$9 < $par1GuiButton.$modCount) break; var$7 = var$8 + 1 | 0; var$2 = $par1GuiButton.$get(var$8); var$2.$layerMinimumY = var$5; var$5 = var$5 + var$2.$layerCount | 0; var$8 = var$7; } $par1GuiButton = new ju_ConcurrentModificationException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); case 3: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } $par1GuiButton = $this.$theFlatGeneratorInfo; var$5 = 0; $par1GuiButton = $par1GuiButton.$flatLayers; var$8 = 0; var$9 = $par1GuiButton.$modCount; var$4 = $par1GuiButton.$size(); while (true) { if (!(var$8 >= var$4 ? 0 : 1)) { $var2 = $this.$createFlatWorldListSlotGui.$field_82454_a; var$5 = $var2 > (-1) && $var2 < $this.$theFlatGeneratorInfo.$flatLayers.$size0 ? 1 : 0; $this.$buttonRemoveLayer.$enabled = var$5; $par1GuiButton = $this.$buttonEditLayer; $par1GuiButton.$enabled = var$5; $par1GuiButton.$enabled = 0; $this.$buttonAddLayer.$enabled = 0; return; } if (var$9 < $par1GuiButton.$modCount) break; var$7 = var$8 + 1 | 0; var$2 = $par1GuiButton.$get(var$8); var$2.$layerMinimumY = var$5; var$5 = var$5 + var$2.$layerCount | 0; var$8 = var$7; } $par1GuiButton = new ju_ConcurrentModificationException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, var$5, $var2, var$7, var$8, var$9, var$10, $ptr); }, nms_GuiCreateFlatWorld_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$createFlatWorldListSlotGui; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, $var4); if ($rt_suspending()) { break main; } var$5 = $this.$createFlatWorldListSlotGui; $ptr = 2; case 2: nms_GuiSlot_drawScreen(var$5, $par1, $par2, $par3); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; var$6 = $this.$customizationTitle; var$7 = $this.$width / 2 | 0; var$8 = 8; $var4 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = var$7 + 1 | 0; var$10 = 9; var$11 = 1; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$9, var$10, $var4, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$7, var$8, $var4, var$9); if ($rt_suspending()) { break main; } $var4 = $tmp; $var4 = (($this.$width / 2 | 0) - 92 | 0) - 16 | 0; var$5 = $this.$fontRenderer; var$6 = $this.$layerMaterialLabel; var$7 = 32; var$8 = 16777215; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = $var4 + 1 | 0; var$10 = 33; var$11 = 1; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$9, var$10, var$8, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString(var$5, var$6, $var4, var$7, var$8, var$9); if ($rt_suspending()) { break main; } var$7 = $tmp; var$5 = $this.$fontRenderer; var$6 = $this.$heightLabel; $var4 = (($var4 + 2 | 0) + 213 | 0) - nms_FontRenderer_getStringWidth(var$5, var$6) | 0; var$7 = 32; var$9 = 16777215; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$8 = $var4 + 1 | 0; var$10 = 33; var$11 = 1; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$8, var$10, var$9, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$8 = 0; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString(var$5, var$6, $var4, var$7, var$9, var$8); if ($rt_suspending()) { break main; } $var4 = $tmp; $var4 = 0; var$5 = $this.$buttonList; var$7 = $rt_compare($var4, var$5.$size0); if (var$7 >= 0) return; if ($var4 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[$var4]; var$6 = $this.$mc; $ptr = 9; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 9: var$5.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } $var4 = $var4 + 1 | 0; var$5 = $this.$buttonList; var$7 = $rt_compare($var4, var$5.$size0); if (var$7 >= 0) return; if ($var4 >= 0 && var$7 < 0) { var$5 = var$5.$array.data[$var4]; var$6 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_GuiCreateFlatWorld__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nms_RenderItem; nms_RenderItem_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$3 = nms_Minecraft_theMinecraft; var$2.$minecraftRB = var$3; var$1.$renderBlocks = var$2; var$1.$shadowOpaque = 1.0; var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = var$3; var$1.$itemRenderBlocks = var$2; var$2 = new nle_EaglercraftRandom; var$4 = Long_fromNumber(performance.now() * 1000000.0); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = var$4; var$1.$random0 = var$2; var$1.$renderWithColor = 1; var$1.$shadowSize = 0.15000000596046448; var$1.$shadowOpaque = 0.75; nms_GuiCreateFlatWorld_theRenderItem = var$1; }; function nle_GuiScreenAddRelay() { let a = this; nms_GuiScreen.call(a); a.$parentGui0 = null; a.$serverAddress = null; a.$serverName = null; } let nle_GuiScreenAddRelay_updateScreen = $this => { let var$1; var$1 = $this.$serverName; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; var$1 = $this.$serverAddress; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; }, nle_GuiScreenAddRelay_initGui = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, $sslOff, var$9, var$10, var$11, var$12, var$13; nms_StringTranslate_$callClinit(); $var1 = nms_StringTranslate_instance; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; var$2 = $this.$buttonList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while (var$4 < var$5) { var$7 = var$3.data; $sslOff = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = $sslOff; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; $this.$parentGui0.$addNewName = nle_RelayManager_makeNewRelayName(nle_IntegratedServer_relayManager); var$2 = $this.$parentGui0; var$2.$addNewAddr = $rt_s(18); var$2.$addNewPrimary = nle_IntegratedServer_relayManager.$relays.$size0 ? 0 : 1; var$6 = $rt_str(window.location.href); $sslOff = !(var$6 === $rt_s(189) ? 1 : jl_String_startsWith(var$6, $rt_s(189), 0)) ? 0 : 36; var$6 = $this.$buttonList; var$9 = new nms_GuiButton; var$10 = ($this.$width / 2 | 0) - 100 | 0; var$5 = ((($this.$height / 4 | 0) + 96 | 0) + 12 | 0) + $sslOff | 0; var$2 = nms_StringTranslate_translateKey($var1, $rt_s(3859)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 0; var$9.$xPosition = var$10; var$9.$yPosition = var$5; var$9.$width0 = 200; var$9.$height0 = 20; var$9.$displayString = var$2; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; var$2 = $this.$buttonList; var$6 = new nms_GuiButton; var$10 = ($this.$width / 2 | 0) - 100 | 0; $sslOff = ((($this.$height / 4 | 0) + 120 | 0) + 12 | 0) + $sslOff | 0; var$9 = nms_StringTranslate_translateKey($var1, $rt_s(1626)); var$6.$width0 = 200; var$6.$height0 = 20; var$6.$enabled = 1; var$6.$drawButton0 = 1; var$6.$id0 = 1; var$6.$xPosition = var$10; var$6.$yPosition = $sslOff; var$6.$width0 = 200; var$6.$height0 = 20; var$6.$displayString = var$9; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = $this.$buttonList; var$9 = new nms_GuiButton; var$5 = ($this.$width / 2 | 0) - 100 | 0; var$11 = nms_StringTranslate_translateKey($var1, $rt_s(3860)); var$2 = !$this.$parentGui0.$addNewPrimary ? nms_StringTranslate_translateKey($var1, $rt_s(3513)) : nms_StringTranslate_translateKey($var1, $rt_s(3512)); $var1 = new jl_StringBuilder; $var1.$buffer = $rt_createCharArray(16); var$10 = $var1.$length0; if (var$11 === null) var$11 = $rt_s(1); jl_AbstractStringBuilder_insert($var1, var$10, var$11); jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(107)); var$10 = $var1.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert($var1, var$10, var$2); var$2 = new jl_String; var$3 = $var1.$buffer; var$7 = var$3.data; var$12 = $var1.$length0; var$13 = var$7.length; if (var$12 >= 0 && var$12 <= (var$13 - 0 | 0)) { var$2.$nativeString = $rt_charArrayToString(var$3.data, 0, var$12); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 2; var$9.$xPosition = var$5; var$9.$yPosition = 142; var$9.$width0 = 200; var$9.$height0 = 20; var$9.$displayString = var$2; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$6.$modCount = var$6.$modCount + 1 | 0; $this.$serverName = nms_GuiTextField__init_($this.$fontRenderer, ($this.$width / 2 | 0) - 100 | 0, 106, 200, 20); var$2 = nms_GuiTextField__init_($this.$fontRenderer, ($this.$width / 2 | 0) - 100 | 0, 66, 200, 20); $this.$serverAddress = var$2; var$2.$maxStringLength = 128; if (var$2.$text.$nativeString.length > 128) var$2.$text = jl_String_substring(var$2.$text, 0, 128); var$2 = $this.$serverAddress; if (!var$2.$isFocused0) var$2.$cursorCounter = 0; var$2.$isFocused0 = 1; var$6 = $this.$buttonList; if (0 >= var$6.$size0) { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } a: { var$6 = var$6.$array.data[0]; if (var$2.$text.$nativeString.length > 0) { var$9 = $this.$serverAddress.$text; if ((jur_Pattern_split(jur_Pattern_compile($rt_s(990), 0), var$9, 0)).data.length > 0 && $this.$serverName.$text.$nativeString.length > 0) { var$4 = 1; break a; } } var$4 = 0; } var$6.$enabled = var$4; var$2 = $this.$serverName; var$6 = $this.$parentGui0.$addNewName; var$4 = var$6.$nativeString.length; var$5 = var$2.$maxStringLength; if (var$4 <= var$5) var$2.$text = var$6; else var$2.$text = jl_String_substring(var$6, 0, var$5); var$2.$cursorPosition = var$2.$text.$nativeString.length; var$5 = var$2.$text.$nativeString.length; if (var$2.$cursorPosition < 0) var$2.$cursorPosition = 0; if (var$2.$cursorPosition > var$5) var$2.$cursorPosition = var$5; nms_GuiTextField_setSelectionPos(var$2, var$2.$cursorPosition); return; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }, nle_GuiScreenAddRelay_onGuiClosed = $this => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; }, nle_GuiScreenAddRelay_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, $var2, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($par1GuiButton.$enabled) { var$2 = $par1GuiButton.$id0; if (var$2 == 1) { $par1GuiButton = $this.$parentGui0; var$3 = 0; var$2 = 0; $ptr = 1; continue main; } if (!var$2) { $par1GuiButton = $this.$parentGui0; $par1GuiButton.$addNewName = $this.$serverName.$text; $par1GuiButton.$addNewAddr = $this.$serverAddress.$text; var$3 = 1; var$2 = 0; $ptr = 2; continue main; } if (var$2 == 2) { nms_StringTranslate_$callClinit(); $var2 = nms_StringTranslate_instance; $par1GuiButton = $this.$parentGui0; $par1GuiButton.$addNewPrimary = $par1GuiButton.$addNewPrimary ? 0 : 1; $par1GuiButton = $this.$buttonList; if (2 >= $par1GuiButton.$size0) { $par1GuiButton = new jl_IndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } var$5 = $par1GuiButton.$array.data[2]; $par1GuiButton = nms_StringTranslate_translateKey($var2, $rt_s(3860)); $var2 = !$this.$parentGui0.$addNewPrimary ? nms_StringTranslate_translateKey($var2, $rt_s(3513)) : nms_StringTranslate_translateKey($var2, $rt_s(3512)); var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); var$3 = var$6.$length0; if ($par1GuiButton === null) $par1GuiButton = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$3, $par1GuiButton); jl_AbstractStringBuilder_insert(var$6, var$6.$length0, $rt_s(107)); var$3 = var$6.$length0; if ($var2 === null) $var2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$6, var$3, $var2); $par1GuiButton = new jl_String; var$7 = var$6.$buffer; var$8 = var$7.data; var$2 = var$6.$length0; var$9 = var$8.length; if (var$2 < 0) break a; if (var$2 > (var$9 - 0 | 0)) break a; $par1GuiButton.$nativeString = $rt_charArrayToString(var$7.data, 0, var$2); var$5.$displayString = $par1GuiButton; } } return; } $par1GuiButton = new jl_IndexOutOfBoundsException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1GuiButton); $rt_throw($par1GuiButton); case 1: nle_GuiScreenRelay_confirmClicked($par1GuiButton, var$3, var$2); if ($rt_suspending()) { break main; } return; case 2: nle_GuiScreenRelay_confirmClicked($par1GuiButton, var$3, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, $var2, var$5, var$6, var$7, var$8, var$9, $ptr); }, nle_GuiScreenAddRelay_keyTyped = ($this, $par1, $par2) => { let var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$serverName; $ptr = 1; case 1: nms_GuiTextField_textboxKeyTyped(var$3, $par1, $par2); if ($rt_suspending()) { break main; } var$3 = $this.$serverAddress; $ptr = 2; case 2: nms_GuiTextField_textboxKeyTyped(var$3, $par1, $par2); if ($rt_suspending()) { break main; } if ($par1 == 9) { var$3 = $this.$serverName; var$4 = var$3.$isFocused0; if (var$4) { var$3.$isFocused0 = 0; var$3 = $this.$serverAddress; if (!var$3.$isFocused0) var$3.$cursorCounter = 0; var$3.$isFocused0 = 1; } else { if (!var$4) var$3.$cursorCounter = 0; var$3.$isFocused0 = 1; $this.$serverAddress.$isFocused0 = 0; } } if ($par1 != 13) { var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } a: { var$3 = var$3.$array.data[0]; if ($this.$serverAddress.$text.$nativeString.length > 0) { var$5 = $this.$serverAddress.$text; if ((jur_Pattern_split(jur_Pattern_compile($rt_s(990), 0), var$5, 0)).data.length > 0 && $this.$serverName.$text.$nativeString.length > 0) { $par1 = 1; break a; } } $par1 = 0; } var$3.$enabled = $par1; return; } var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } var$3 = var$3.$array.data[0]; $ptr = 3; case 3: nle_GuiScreenAddRelay_actionPerformed($this, var$3); if ($rt_suspending()) { break main; } var$3 = $this.$buttonList; if (0 >= var$3.$size0) { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); } b: { var$3 = var$3.$array.data[0]; if ($this.$serverAddress.$text.$nativeString.length > 0) { var$5 = $this.$serverAddress.$text; if ((jur_Pattern_split(jur_Pattern_compile($rt_s(990), 0), var$5, 0)).data.length > 0 && $this.$serverName.$text.$nativeString.length > 0) { $par1 = 1; break b; } } $par1 = 0; } var$3.$enabled = $par1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, $ptr); }, nle_GuiScreenAddRelay_mouseClicked = ($this, $par1, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } nms_GuiTextField_mouseClicked($this.$serverAddress, $par1, $par2, $par3); nms_GuiTextField_mouseClicked($this.$serverName, $par1, $par2, $par3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $ptr); }, nle_GuiScreenAddRelay_drawScreen = ($this, $par1, $par2, $par3) => { let $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_StringTranslate_$callClinit(); $var4 = nms_StringTranslate_instance; var$5 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3861)); var$8 = $this.$width / 2 | 0; var$9 = 17; var$5 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = 18; var$12 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$5); if ($rt_suspending()) { break main; } var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3861)); var$8 = $this.$width / 2 | 0; var$9 = 17; var$5 = 16777215; var$8 = var$8 - (nms_FontRenderer_getStringWidth(var$6, var$7) / 2 | 0) | 0; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$8 + 1 | 0; var$11 = 18; var$12 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$10, var$11, var$5, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$8, var$9, var$5, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$6 = $this.$fontRenderer; var$7 = nms_StringTranslate_translateKey($var4, $rt_s(3862)); var$5 = ($this.$width / 2 | 0) - 100 | 0; var$8 = 53; var$9 = 10526880; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = 54; var$12 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$6, var$7, var$5, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3863)); var$5 = ($this.$width / 2 | 0) - 100 | 0; var$8 = 94; var$9 = 10526880; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = 95; var$12 = 1; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; nlea_EaglerAdapterImpl2_$callClinit(); var$6 = $rt_str(window.location.href); if (!(var$6 === $rt_s(189) ? 1 : jl_String_startsWith(var$6, $rt_s(189), 0))) { var$7 = $this.$serverName; $ptr = 8; continue main; } var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3784)); var$5 = $this.$width / 2 | 0; var$8 = 169; var$9 = 13421823; var$10 = var$5 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$11 = var$10 + 1 | 0; var$12 = 170; var$5 = 1; $ptr = 10; continue main; case 8: nms_GuiTextField_drawTextBox(var$7); if ($rt_suspending()) { break main; } var$7 = $this.$serverAddress; $ptr = 9; case 9: nms_GuiTextField_drawTextBox(var$7); if ($rt_suspending()) { break main; } var$5 = 0; var$7 = $this.$buttonList; var$8 = $rt_compare(var$5, var$7.$size0); if (var$8 >= 0) return; if (var$5 >= 0 && var$8 < 0) { var$7 = var$7.$array.data[var$5]; var$6 = $this.$mc; $ptr = 14; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); case 10: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$11, var$12, var$9, var$5); if ($rt_suspending()) { break main; } var$5 = $tmp; var$11 = 0; $ptr = 11; case 11: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$8, var$9, var$11); if ($rt_suspending()) { break main; } var$8 = $tmp; var$7 = $this.$fontRenderer; var$6 = nms_StringTranslate_translateKey($var4, $rt_s(3785)); var$5 = $this.$width / 2 | 0; var$8 = 181; var$9 = 13421823; var$5 = var$5 - (nms_FontRenderer_getStringWidth(var$7, var$6) / 2 | 0) | 0; var$7.$randomStyle = 0; var$7.$boldStyle = 0; var$7.$italicStyle = 0; var$7.$underlineStyle = 0; var$7.$strikethroughStyle = 0; var$10 = var$5 + 1 | 0; var$11 = 182; var$12 = 1; $ptr = 12; case 12: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$10, var$11, var$9, var$12); if ($rt_suspending()) { break main; } var$11 = $tmp; var$10 = 0; $ptr = 13; case 13: $tmp = nms_FontRenderer_renderString(var$7, var$6, var$5, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$5 = $tmp; var$7 = $this.$serverName; $ptr = 8; continue main; case 14: var$7.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$5 = var$5 + 1 | 0; var$7 = $this.$buttonList; var$8 = $rt_compare(var$5, var$7.$size0); if (var$8 >= 0) return; if (var$5 >= 0 && var$8 < 0) { var$7 = var$7.$array.data[var$5]; var$6 = $this.$mc; continue main; } var$7 = new jl_IndexOutOfBoundsException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }; function nms_GuiScreenConfirmation() { nms_GuiYesNo.call(this); this.$field_96288_n = null; } let nms_GuiScreenConfirmation_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$buttonList; var$2 = new nms_GuiSmallButton; var$3 = ($this.$width / 2 | 0) - 155 | 0; var$4 = ($this.$height / 6 | 0) + 112 | 0; var$5 = $this.$buttonText1; var$6 = null; nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 0; var$2.$xPosition = var$3; var$2.$yPosition = var$4; var$2.$width0 = 150; var$2.$height0 = 20; var$2.$displayString = var$5; var$2.$enumOptions = var$6; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$7 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$7[var$4] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; var$2 = $this.$buttonList; var$1 = new nms_GuiSmallButton; var$4 = (($this.$width / 2 | 0) - 155 | 0) + 160 | 0; var$3 = ($this.$height / 6 | 0) + 112 | 0; var$5 = $this.$buttonText2; var$6 = null; var$1.$width0 = 200; var$1.$height0 = 20; var$1.$enabled = 1; var$1.$drawButton0 = 1; var$1.$id0 = 1; var$1.$xPosition = var$4; var$1.$yPosition = var$3; var$1.$width0 = 150; var$1.$height0 = 20; var$1.$displayString = var$5; var$1.$enumOptions = var$6; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$7 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$7[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; }, nms_GuiScreenConfirmation_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; var$6 = $this.$message10; var$4 = $this.$width / 2 | 0; var$7 = 70; var$8 = 16777215; var$9 = var$4 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$4 = var$9 + 1 | 0; var$10 = 71; var$11 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; var$6 = $this.$message10; var$4 = $this.$width / 2 | 0; var$7 = 70; var$8 = 16777215; var$9 = var$4 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$4 = var$9 + 1 | 0; var$10 = 71; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$10, var$8, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$4 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$9, var$7, var$8, var$4); if ($rt_suspending()) { break main; } var$4 = $tmp; var$5 = $this.$fontRenderer; var$6 = $this.$message2; var$4 = $this.$width / 2 | 0; var$8 = 90; var$7 = 16777215; var$4 = var$4 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = var$4 + 1 | 0; var$10 = 91; var$11 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$9, var$10, var$7, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$8, var$7, var$9); if ($rt_suspending()) { break main; } var$4 = $tmp; var$4 = 0; var$5 = $this.$buttonList; var$8 = $rt_compare(var$4, var$5.$size0); if (var$8 >= 0) { var$5 = $this.$fontRenderer; var$6 = $this.$field_96288_n; $par2 = $this.$width / 2 | 0; var$4 = 110; $par1 = 16777215; $par2 = $par2 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$8 = $par2 + 1 | 0; var$7 = 111; var$9 = 1; $ptr = 6; continue main; } if (var$4 >= 0 && var$8 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; $ptr = 8; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); case 6: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$8, var$7, $par1, var$9); if ($rt_suspending()) { break main; } var$7 = $tmp; var$8 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$5, var$6, $par2, var$4, $par1, var$8); if ($rt_suspending()) { break main; } $par1 = $tmp; return; case 8: var$5.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$5 = $this.$buttonList; var$8 = $rt_compare(var$4, var$5.$size0); if (var$8 >= 0) { var$5 = $this.$fontRenderer; var$6 = $this.$field_96288_n; $par2 = $this.$width / 2 | 0; var$4 = 110; $par1 = 16777215; $par2 = $par2 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$8 = $par2 + 1 | 0; var$7 = 111; var$9 = 1; $ptr = 6; continue main; } if (var$4 >= 0 && var$8 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$5); $rt_throw(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }; function nle_GuiScreenChangeRelayTimeout() { let a = this; nms_GuiScreen.call(a); a.$parent3 = null; a.$slider = null; a.$title0 = null; } let nle_GuiScreenChangeRelayTimeout_initGui = $this => { let $ts, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; nms_StringTranslate_$callClinit(); $ts = nms_StringTranslate_instance; $this.$title0 = nms_StringTranslate_translateKey($ts, $rt_s(3864)); var$2 = $this.$buttonList; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$6 = new jl_IllegalArgumentException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$9 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 100 | 0; var$5 = ($this.$height / 3 | 0) + 55 | 0; var$6 = nms_StringTranslate_translateKey($ts, $rt_s(646)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 0; var$9.$xPosition = var$8; var$9.$yPosition = var$5; var$9.$width0 = 200; var$9.$height0 = 20; var$9.$displayString = var$6; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$5 = var$2.$size0; var$2.$size0 = var$5 + 1 | 0; var$3[var$5] = var$9; var$2.$modCount = var$2.$modCount + 1 | 0; var$6 = $this.$buttonList; var$2 = new nms_GuiButton; var$10 = ($this.$width / 2 | 0) - 100 | 0; var$11 = ($this.$height / 3 | 0) + 85 | 0; var$9 = nms_StringTranslate_translateKey($ts, $rt_s(1626)); var$2.$width0 = 200; var$2.$height0 = 20; var$2.$enabled = 1; var$2.$drawButton0 = 1; var$2.$id0 = 1; var$2.$xPosition = var$10; var$2.$yPosition = var$11; var$2.$width0 = 200; var$2.$height0 = 20; var$2.$displayString = var$9; ju_ArrayList_ensureCapacity(var$6, var$6.$size0 + 1 | 0); var$3 = var$6.$array.data; var$5 = var$6.$size0; var$6.$size0 = var$5 + 1 | 0; var$3[var$5] = var$2; var$6.$modCount = var$6.$modCount + 1 | 0; var$6 = new nle_GuiScreenChangeRelayTimeout$1; var$12 = ($this.$width / 2 | 0) - 100 | 0; var$10 = ($this.$height / 3 | 0) + 10 | 0; var$13 = ($this.$mc.$gameSettings.$relayTimeout - 1 | 0) / 14.0; var$6.$this$036 = $this; nms_GuiSlider2__init_(var$6, 0, var$12, var$10, 200, 20, var$13, 1.0); $this.$slider = var$6; var$4 = $this.$mc.$gameSettings.$relayTimeout; var$2 = new jl_StringBuilder; var$2.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$4, 10); var$5 = var$2.$length0; jl_AbstractStringBuilder_insertSpace(var$2, var$5, var$5 + 1 | 0); var$3 = var$2.$buffer; var$7 = var$3.data; var$7[var$5] = 115; var$9 = new jl_String; var$5 = var$2.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$3.data, 0, var$5); var$6.$displayString = var$9; return; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); $rt_throw(var$6); }, nle_GuiScreenChangeRelayTimeout_actionPerformed = ($this, $btn) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$btn = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $btn.$id0; if (var$2) { if (var$2 != 1) return; $btn = $this.$mc; var$3 = $this.$parent3; $ptr = 2; continue main; } $btn = $this.$mc.$gameSettings; $btn.$relayTimeout = $this.$slider.$sliderValue0 * 14.0 + 1.0 | 0; nms_GameSettings_saveOptions($btn); $btn = $this.$mc; var$3 = $this.$parent3; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen($btn, var$3); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($btn, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $btn, var$2, var$3, $ptr); }, nle_GuiScreenChangeRelayTimeout_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; var$6 = $this.$title0; var$7 = $this.$width / 2 | 0; var$8 = ($this.$height / 3 | 0) - 20 | 0; var$4 = 16777215; var$9 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$9 + 1 | 0; var$7 = var$8 + 1 | 0; var$11 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; var$6 = $this.$title0; var$7 = $this.$width / 2 | 0; var$8 = ($this.$height / 3 | 0) - 20 | 0; var$4 = 16777215; var$9 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$9 + 1 | 0; var$7 = var$8 + 1 | 0; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$10, var$7, var$4, var$11); if ($rt_suspending()) { break main; } var$7 = $tmp; var$10 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$9, var$8, var$4, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$5 = $this.$slider; var$6 = $this.$mc; $ptr = 4; case 4: nms_GuiButton_drawButton(var$5, var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = 0; var$5 = $this.$buttonList; var$9 = $rt_compare(var$4, var$5.$size0); if (var$9 >= 0) return; if (var$4 >= 0 && var$9 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; $ptr = 5; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 5: var$5.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$5 = $this.$buttonList; var$9 = $rt_compare(var$4, var$5.$size0); if (var$9 >= 0) return; if (var$4 >= 0 && var$9 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nle_GuiScreenChangeRelayTimeout_mouseClicked = ($this, $mx, $my, $button) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$button = $thread.pop();$my = $thread.pop();$mx = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { var$4 = $this.$slider; if (nms_GuiSlider2_mousePressed(var$4, $this.$mc, $mx, $my)) { var$5 = var$4.$sliderValue0 * 14.0 + 1.0 | 0; var$6 = new jl_StringBuilder; var$6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$6, var$6.$length0, var$5, 10); var$7 = var$6.$length0; jl_AbstractStringBuilder_insertSpace(var$6, var$7, var$7 + 1 | 0); var$8 = var$6.$buffer; var$9 = var$8.data; var$9[var$7] = 115; var$10 = new jl_String; var$11 = var$6.$length0; var$7 = var$9.length; if (var$11 < 0) break a; if (var$11 > (var$7 - 0 | 0)) break a; var$10.$nativeString = $rt_charArrayToString(var$8.data, 0, var$11); var$4.$displayString = var$10; } $ptr = 1; continue main; } var$6 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$6); $rt_throw(var$6); case 1: nms_GuiScreen_mouseClicked($this, $mx, $my, $button); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $mx, $my, $button, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nle_GuiScreenChangeRelayTimeout_mouseMovedOrUp = ($this, $par1, $par2, $par3) => { let var$4; if (!$par3) $this.$slider.$dragging1 = 0; var$4 = $this.$selectedButton; if (var$4 !== null && !$par3) { var$4.$mouseReleased($par1, $par2); $this.$selectedButton = null; } }; function nms_MerchantRecipe() { let a = this; jl_Object.call(a); a.$itemToBuy = null; a.$secondItemToBuy = null; a.$itemToSell = null; a.$toolUses = 0; a.$maxTradeUses = 0; } let nms_MerchantRecipe__init_ = ($this, $par1ItemStack, $par2ItemStack, $par3ItemStack) => { $this.$itemToBuy = $par1ItemStack; $this.$secondItemToBuy = $par2ItemStack; $this.$itemToSell = $par3ItemStack; $this.$maxTradeUses = 7; }, nms_MerchantRecipe__init_0 = (var_0, var_1, var_2) => { let var_3 = new nms_MerchantRecipe(); nms_MerchantRecipe__init_(var_3, var_0, var_1, var_2); return var_3; }, nms_MerchantRecipe_hasSameIDsAs = ($this, $par1MerchantRecipe) => { let var$2, var$3; a: { if ($this.$itemToBuy.$itemID == $par1MerchantRecipe.$itemToBuy.$itemID && $this.$itemToSell.$itemID == $par1MerchantRecipe.$itemToSell.$itemID) { b: { var$2 = $this.$secondItemToBuy; if (!(var$2 === null && $par1MerchantRecipe.$secondItemToBuy === null)) { if (var$2 === null) break b; $par1MerchantRecipe = $par1MerchantRecipe.$secondItemToBuy; if ($par1MerchantRecipe === null) break b; if (var$2.$itemID != $par1MerchantRecipe.$itemID) break b; } var$3 = 1; break a; } var$3 = 0; } else var$3 = 0; } return var$3; }, nms_MerchantRecipe_hasSameItemsAs = ($this, $par1MerchantRecipe) => { let var$2, var$3; a: { b: { if (nms_MerchantRecipe_hasSameIDsAs($this, $par1MerchantRecipe)) { if ($this.$itemToBuy.$stackSize < $par1MerchantRecipe.$itemToBuy.$stackSize) break b; var$2 = $this.$secondItemToBuy; if (var$2 !== null && var$2.$stackSize < $par1MerchantRecipe.$secondItemToBuy.$stackSize) break b; } var$3 = 0; break a; } var$3 = 1; } return var$3; }, nms_MerchantRecipe_readFromTags = ($this, $par1NBTTagCompound) => { let $var3, var$3, var$4, var$5, $var2, var$7, var$8, var$9, var$10; a: { $var3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3865).$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $rt_s(3865).$nativeString.length) break a; $rt_s(3865).$hashCode1 = (31 * $rt_s(3865).$hashCode1 | 0) + $rt_s(3865).$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $rt_s(3865).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$4) { b: { $var2 = $var3.$key; if ($rt_s(3865) !== $var2) { if ($rt_s(3865) !== $var2) { if ($var2 instanceof jl_String) { $var2 = $var2; var$3 = $rt_s(3865).$nativeString !== $var2.$nativeString ? 0 : 1; } else var$3 = 0; } else var$3 = 1; if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) { $var2 = new nms_NBTTagCompound; if ($rt_s(3865) !== null) $var2.$name = $rt_s(3865); else $var2.$name = $rt_s(18); var$7 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$5 = var$8.data; var$7.$elementData = var$8; var$7.$loadFactor = 0.75; var$7.$threshold = var$5.length * 0.75 | 0; $var2.$tagMap = var$7; } else { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(3865) !== null) { c: { if (!$rt_s(3865).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3865).$nativeString.length) break c; $rt_s(3865).$hashCode1 = (31 * $rt_s(3865).$hashCode1 | 0) + $rt_s(3865).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$3 = $rt_s(3865).$hashCode1; var$5 = $var3.$elementData.data; var$9 = var$5[var$3 & (var$5.length - 1 | 0)]; while (var$9 !== null) { if (var$9.$origKeyHash == var$3) { d: { $var3 = var$9.$key; if ($rt_s(3865) !== $var3) { if ($rt_s(3865) !== $var3) { if (!($var3 instanceof jl_String)) var$4 = 0; else { $var3 = $var3; var$4 = $rt_s(3865).$nativeString !== $var3.$nativeString ? 0 : 1; } } else var$4 = 1; if (!var$4) { var$4 = 0; break d; } } var$4 = 1; } if (var$4) break; } var$9 = var$9.$next3; } } else { var$9 = $var3.$elementData.data[0]; while (var$9 !== null && var$9.$key !== null) { var$9 = var$9.$next3; } } $var2 = var$9 === null ? null : var$9.$value1; } nms_ItemStack_$callClinit(); var$7 = new nms_ItemStack; nms_ItemStack_readFromNBT(var$7, $var2); nms_Item_$callClinit(); if (nms_Item_itemsList.data[var$7.$itemID] === null) var$7 = null; e: { $this.$itemToBuy = var$7; $var3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3866).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3866).$nativeString.length) break e; $rt_s(3866).$hashCode1 = (31 * $rt_s(3866).$hashCode1 | 0) + $rt_s(3866).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$10 = $rt_s(3866).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$10) { f: { $var2 = $var3.$key; if ($rt_s(3866) !== $var2) { if ($rt_s(3866) !== $var2) { if (!($var2 instanceof jl_String)) var$4 = 0; else { $var2 = $var2; var$4 = $rt_s(3866).$nativeString !== $var2.$nativeString ? 0 : 1; } } else var$4 = 1; if (!var$4) { var$4 = 0; break f; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } if ($var3 === null ? 0 : 1) { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(3866) !== null) { g: { if (!$rt_s(3866).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3866).$nativeString.length) break g; $rt_s(3866).$hashCode1 = (31 * $rt_s(3866).$hashCode1 | 0) + $rt_s(3866).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$10 = $rt_s(3866).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$10) { h: { $var2 = $var3.$key; if ($rt_s(3866) !== $var2) { if ($rt_s(3866) !== $var2) { if ($var2 instanceof jl_String) { $var2 = $var2; var$4 = $rt_s(3866).$nativeString !== $var2.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break h; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; } else { $var3 = new nms_NBTTagCompound; if ($rt_s(3866) !== null) $var3.$name = $rt_s(3866); else $var3.$name = $rt_s(18); var$7 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$5 = var$8.data; var$7.$elementData = var$8; var$7.$loadFactor = 0.75; var$7.$threshold = var$5.length * 0.75 | 0; $var3.$tagMap = var$7; } var$7 = new nms_ItemStack; nms_ItemStack_readFromNBT(var$7, $var3); if (nms_Item_itemsList.data[var$7.$itemID] === null) var$7 = null; i: { $this.$itemToSell = var$7; $var3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3867).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3867).$nativeString.length) break i; $rt_s(3867).$hashCode1 = (31 * $rt_s(3867).$hashCode1 | 0) + $rt_s(3867).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$10 = $rt_s(3867).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$10) { j: { $var2 = $var3.$key; if ($rt_s(3867) !== $var2) { if ($rt_s(3867) === $var2) var$4 = 1; else if ($var2 instanceof jl_String) { $var2 = $var2; var$4 = $rt_s(3867).$nativeString !== $var2.$nativeString ? 0 : 1; } else var$4 = 0; if (!var$4) { var$4 = 0; break j; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } if ($var3 === null ? 0 : 1) { k: { $var3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3867).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3867).$nativeString.length) break k; $rt_s(3867).$hashCode1 = (31 * $rt_s(3867).$hashCode1 | 0) + $rt_s(3867).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$10 = $rt_s(3867).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$10) { l: { $var2 = $var3.$key; if ($rt_s(3867) !== $var2) { if ($rt_s(3867) === $var2) var$4 = 1; else if (!($var2 instanceof jl_String)) var$4 = 0; else { $var2 = $var2; var$4 = $rt_s(3867).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break l; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) { $var3 = new nms_NBTTagCompound; if ($rt_s(3867) !== null) $var3.$name = $rt_s(3867); else $var3.$name = $rt_s(18); var$7 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$8 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$5 = var$8.data; var$7.$elementData = var$8; var$7.$loadFactor = 0.75; var$7.$threshold = var$5.length * 0.75 | 0; $var3.$tagMap = var$7; } else { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(3867) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { m: { if (!$rt_s(3867).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3867).$nativeString.length) break m; $rt_s(3867).$hashCode1 = (31 * $rt_s(3867).$hashCode1 | 0) + $rt_s(3867).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$10 = $rt_s(3867).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$10) { n: { $var2 = $var3.$key; if ($rt_s(3867) !== $var2) { if ($rt_s(3867) === $var2) var$4 = 1; else if (!($var2 instanceof jl_String)) var$4 = 0; else { $var2 = $var2; var$4 = $rt_s(3867).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break n; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; } var$7 = new nms_ItemStack; nms_ItemStack_readFromNBT(var$7, $var3); if (nms_Item_itemsList.data[var$7.$itemID] === null) var$7 = null; $this.$secondItemToBuy = var$7; } o: { $var3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3868).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3868).$nativeString.length) break o; $rt_s(3868).$hashCode1 = (31 * $rt_s(3868).$hashCode1 | 0) + $rt_s(3868).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$10 = $rt_s(3868).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$10) { p: { $var2 = $var3.$key; if ($rt_s(3868) !== $var2) { if ($rt_s(3868) === $var2) var$4 = 1; else if ($var2 instanceof jl_String) { $var2 = $var2; var$4 = $rt_s(3868).$nativeString !== $var2.$nativeString ? 0 : 1; } else var$4 = 0; if (!var$4) { var$4 = 0; break p; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } if ($var3 === null ? 0 : 1) { q: { $var3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3868).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3868).$nativeString.length) break q; $rt_s(3868).$hashCode1 = (31 * $rt_s(3868).$hashCode1 | 0) + $rt_s(3868).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$10 = $rt_s(3868).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$10) { r: { $var2 = $var3.$key; if ($rt_s(3868) !== $var2) { if ($rt_s(3868) === $var2) var$4 = 1; else if (!($var2 instanceof jl_String)) var$4 = 0; else { $var2 = $var2; var$4 = $rt_s(3868).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break r; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) var$4 = 0; else { $var3 = $par1NBTTagCompound.$tagMap; if ($rt_s(3868) === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { s: { if (!$rt_s(3868).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3868).$nativeString.length) break s; $rt_s(3868).$hashCode1 = (31 * $rt_s(3868).$hashCode1 | 0) + $rt_s(3868).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$10 = $rt_s(3868).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$10) { t: { $var2 = $var3.$key; if ($rt_s(3868) !== $var2) { if ($rt_s(3868) === $var2) var$4 = 1; else if (!($var2 instanceof jl_String)) var$4 = 0; else { $var2 = $var2; var$4 = $rt_s(3868).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break t; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } } var$4 = ($var3 === null ? null : $var3.$value1).$data0; } $this.$toolUses = var$4; } u: { $var3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3869).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3869).$nativeString.length) break u; $rt_s(3869).$hashCode1 = (31 * $rt_s(3869).$hashCode1 | 0) + $rt_s(3869).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$10 = $rt_s(3869).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$10) { v: { $var2 = $var3.$key; if ($rt_s(3869) !== $var2) { if ($rt_s(3869) === $var2) var$4 = 1; else if (!($var2 instanceof jl_String)) var$4 = 0; else { $var2 = $var2; var$4 = $rt_s(3869).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break v; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) $this.$maxTradeUses = 7; else { w: { $var3 = $par1NBTTagCompound.$tagMap; if (!$rt_s(3869).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3869).$nativeString.length) break w; $rt_s(3869).$hashCode1 = (31 * $rt_s(3869).$hashCode1 | 0) + $rt_s(3869).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$10 = $rt_s(3869).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$10 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$10) { x: { $var2 = $var3.$key; if ($rt_s(3869) !== $var2) { if ($rt_s(3869) === $var2) var$4 = 1; else if (!($var2 instanceof jl_String)) var$4 = 0; else { $var2 = $var2; var$4 = $rt_s(3869).$nativeString !== $var2.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break x; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } if (!($var3 === null ? 0 : 1)) var$4 = 0; else { $par1NBTTagCompound = $par1NBTTagCompound.$tagMap; if ($rt_s(3869) === null) { $par1NBTTagCompound = $par1NBTTagCompound.$elementData.data[0]; while ($par1NBTTagCompound !== null && $par1NBTTagCompound.$key !== null) { $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } else { y: { if (!$rt_s(3869).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3869).$nativeString.length) break y; $rt_s(3869).$hashCode1 = (31 * $rt_s(3869).$hashCode1 | 0) + $rt_s(3869).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$10 = $rt_s(3869).$hashCode1; var$5 = $par1NBTTagCompound.$elementData.data; $par1NBTTagCompound = var$5[var$10 & (var$5.length - 1 | 0)]; while ($par1NBTTagCompound !== null) { if ($par1NBTTagCompound.$origKeyHash == var$10) { z: { $var3 = $par1NBTTagCompound.$key; if ($rt_s(3869) !== $var3) { if ($rt_s(3869) === $var3) var$4 = 1; else if (!($var3 instanceof jl_String)) var$4 = 0; else { $var3 = $var3; var$4 = $rt_s(3869).$nativeString !== $var3.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break z; } } var$4 = 1; } if (var$4) break; } $par1NBTTagCompound = $par1NBTTagCompound.$next3; } } var$4 = ($par1NBTTagCompound === null ? null : $par1NBTTagCompound.$value1).$data0; } $this.$maxTradeUses = var$4; } }, nms_MerchantRecipe_writeToTags = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $var1 = new nms_NBTTagCompound; $var1.$name = $rt_s(18); var$2 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$4.data; var$2.$elementData = var$4; var$2.$loadFactor = 0.75; var$2.$threshold = var$5.length * 0.75 | 0; $var1.$tagMap = var$2; var$6 = $this.$itemToBuy; var$2 = new nms_NBTTagCompound; var$2.$name = $rt_s(3865); var$7 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$4.data; var$7.$elementData = var$4; var$7.$loadFactor = 0.75; var$7.$threshold = var$5.length * 0.75 | 0; var$2.$tagMap = var$7; var$3 = var$6.$itemID << 16 >> 16; var$8 = new nms_NBTTagShort; var$8.$name = $rt_s(1243); var$8.$data2 = var$3; ju_HashMap_putImpl(var$7, $rt_s(1243), var$8); var$3 = var$6.$stackSize << 24 >> 24; var$7 = var$2.$tagMap; var$8 = new nms_NBTTagByte; var$8.$name = $rt_s(1271); var$8.$data = var$3; ju_HashMap_putImpl(var$7, $rt_s(1271), var$8); var$3 = var$6.$itemDamage << 16 >> 16; var$9 = var$2.$tagMap; var$7 = new nms_NBTTagShort; var$7.$name = $rt_s(1272); var$7.$data2 = var$3; ju_HashMap_putImpl(var$9, $rt_s(1272), var$7); var$8 = var$6.$stackTagCompound; if (var$8 !== null) { var$9 = var$2.$tagMap; var$8.$name = $rt_s(1273); ju_HashMap_putImpl(var$9, $rt_s(1273), var$8); } var$8 = $var1.$tagMap; var$2.$name = $rt_s(3865); ju_HashMap_putImpl(var$8, $rt_s(3865), var$2); var$8 = $this.$itemToSell; var$7 = new nms_NBTTagCompound; var$7.$name = $rt_s(3866); var$6 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$4.data; var$6.$elementData = var$4; var$6.$loadFactor = 0.75; var$6.$threshold = var$5.length * 0.75 | 0; var$7.$tagMap = var$6; var$3 = var$8.$itemID << 16 >> 16; var$10 = new nms_NBTTagShort; var$10.$name = $rt_s(1243); var$10.$data2 = var$3; ju_HashMap_putImpl(var$6, $rt_s(1243), var$10); var$3 = var$8.$stackSize << 24 >> 24; var$6 = var$7.$tagMap; var$10 = new nms_NBTTagByte; var$10.$name = $rt_s(1271); var$10.$data = var$3; ju_HashMap_putImpl(var$6, $rt_s(1271), var$10); var$3 = var$8.$itemDamage << 16 >> 16; var$6 = var$7.$tagMap; var$10 = new nms_NBTTagShort; var$10.$name = $rt_s(1272); var$10.$data2 = var$3; ju_HashMap_putImpl(var$6, $rt_s(1272), var$10); var$8 = var$8.$stackTagCompound; if (var$8 !== null) { var$10 = var$7.$tagMap; var$8.$name = $rt_s(1273); ju_HashMap_putImpl(var$10, $rt_s(1273), var$8); } var$8 = $var1.$tagMap; var$7.$name = $rt_s(3866); ju_HashMap_putImpl(var$8, $rt_s(3866), var$7); var$2 = $this.$secondItemToBuy; if (var$2 !== null) { var$7 = new nms_NBTTagCompound; var$7.$name = $rt_s(3867); var$6 = new ju_HashMap; var$3 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$4 = $rt_createArray(ju_HashMap$HashEntry, var$3); var$5 = var$4.data; var$6.$elementData = var$4; var$6.$loadFactor = 0.75; var$6.$threshold = var$5.length * 0.75 | 0; var$7.$tagMap = var$6; var$3 = var$2.$itemID << 16 >> 16; var$10 = new nms_NBTTagShort; var$10.$name = $rt_s(1243); var$10.$data2 = var$3; ju_HashMap_putImpl(var$6, $rt_s(1243), var$10); var$3 = var$2.$stackSize << 24 >> 24; var$6 = var$7.$tagMap; var$10 = new nms_NBTTagByte; var$10.$name = $rt_s(1271); var$10.$data = var$3; ju_HashMap_putImpl(var$6, $rt_s(1271), var$10); var$3 = var$2.$itemDamage << 16 >> 16; var$6 = var$7.$tagMap; var$10 = new nms_NBTTagShort; var$10.$name = $rt_s(1272); var$10.$data2 = var$3; ju_HashMap_putImpl(var$6, $rt_s(1272), var$10); var$2 = var$2.$stackTagCompound; if (var$2 !== null) { var$10 = var$7.$tagMap; var$2.$name = $rt_s(1273); ju_HashMap_putImpl(var$10, $rt_s(1273), var$2); } var$2 = $var1.$tagMap; var$7.$name = $rt_s(3867); ju_HashMap_putImpl(var$2, $rt_s(3867), var$7); } var$3 = $this.$toolUses; var$7 = $var1.$tagMap; var$8 = new nms_NBTTagInt; var$8.$name = $rt_s(3868); var$8.$data0 = var$3; ju_HashMap_putImpl(var$7, $rt_s(3868), var$8); var$3 = $this.$maxTradeUses; var$7 = $var1.$tagMap; var$8 = new nms_NBTTagInt; var$8.$name = $rt_s(3869); var$8.$data0 = var$3; ju_HashMap_putImpl(var$7, $rt_s(3869), var$8); return $var1; }; function nms_BaseAttributeMap() { let a = this; jl_Object.call(a); a.$attributes = null; a.$attributesByName = null; } function nms_InventoryMerchant() { let a = this; jl_Object.call(a); a.$theMerchant = null; a.$theInventory = null; a.$thePlayer4 = null; a.$currentRecipe = null; a.$currentRecipeIndex0 = 0; } let nms_InventoryMerchant_getStackInSlot = ($this, $par1) => { return $this.$theInventory.data[$par1]; }, nms_InventoryMerchant_decrStackSize = ($this, $par1, $par2) => { let var$3, $var3, var$5, $var3_0, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; var$3 = $this.$theInventory.data; if (var$3[$par1] === null) return null; if ($par1 == 2) { $var3 = var$3[$par1]; var$3[$par1] = null; return $var3; } if (var$3[$par1].$stackSize <= $par2) { $var3 = var$3[$par1]; var$3[$par1] = null; if ($par1 && $par1 != 1 ? 0 : 1) nms_InventoryMerchant_resetRecipeAndSlots($this); return $var3; } var$5 = var$3[$par1]; $var3_0 = new nms_ItemStack; var$7 = var$5.$itemID; var$8 = var$5.$itemDamage; nms_ItemStack_$callClinit(); $var3_0.$itemID = var$7; $var3_0.$stackSize = $par2; $var3_0.$itemDamage = var$8; if (var$8 < 0) $var3_0.$itemDamage = 0; var$9 = var$5.$stackTagCompound; if (var$9 !== null) { $var3 = new nms_NBTTagCompound; var$10 = var$9.$name; if (var$10 === null) var$10 = $rt_s(18); $var3.$name = var$10; var$10 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); var$10.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$3 = var$11.data; var$10.$elementData = var$11; var$10.$loadFactor = 0.75; var$10.$threshold = var$3.length * 0.75 | 0; $var3.$tagMap = var$10; var$10 = var$9.$tagMap; if (var$10.$cachedKeySet === null) { var$12 = new ju_HashMap$1; var$12.$this$0 = var$10; var$10.$cachedKeySet = var$12; } var$10 = var$10.$cachedKeySet.$iterator(); while (var$10.$hasNext()) { var$12 = var$10.$next(); var$13 = var$9.$tagMap; if (var$12 === null) { var$14 = var$13.$elementData.data[0]; while (var$14 !== null && var$14.$key !== null) { var$14 = var$14.$next3; } } else { a: { if (!var$12.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$12.$nativeString.length) break a; var$12.$hashCode1 = (31 * var$12.$hashCode1 | 0) + var$12.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$8 = var$12.$hashCode1; var$3 = var$13.$elementData.data; var$14 = var$3[var$8 & (var$3.length - 1 | 0)]; while (var$14 !== null) { if (var$14.$origKeyHash == var$8) { b: { var$13 = var$14.$key; if (var$12 !== var$13) { if (var$12 === var$13) var$7 = 1; else if (!(var$13 instanceof jl_String)) var$7 = 0; else { var$13 = var$13; var$7 = var$12.$nativeString !== var$13.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$14 = var$14.$next3; } } var$13 = var$14 === null ? null : var$14.$value1; var$13 = var$13.$copy(); var$15 = $var3.$tagMap; if (var$12 !== null) var$13.$name = var$12; else var$13.$name = $rt_s(18); ju_HashMap_putImpl(var$15, var$12, var$13); } $var3_0.$stackTagCompound = $var3; } var$5.$stackSize = var$5.$stackSize - $par2 | 0; var$3 = $this.$theInventory.data; if (!var$3[$par1].$stackSize) var$3[$par1] = null; if ($par1 && $par1 != 1 ? 0 : 1) nms_InventoryMerchant_resetRecipeAndSlots($this); return $var3_0; }, nms_InventoryMerchant_setInventorySlotContents = ($this, $par1, $par2ItemStack) => { $this.$theInventory.data[$par1] = $par2ItemStack; if ($par2ItemStack !== null && $par2ItemStack.$stackSize > 64) $par2ItemStack.$stackSize = 64; if ($par1 && $par1 != 1 ? 0 : 1) nms_InventoryMerchant_resetRecipeAndSlots($this); }, nms_InventoryMerchant_getInventoryStackLimit = $this => { return 64; }, nms_InventoryMerchant_onInventoryChanged = $this => { nms_InventoryMerchant_resetRecipeAndSlots($this); }, nms_InventoryMerchant_resetRecipeAndSlots = $this => { let var$1, $var1, $var2, var$4, $var3, $var4, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $this.$currentRecipe = null; var$1 = $this.$theInventory.data; $var1 = var$1[0]; $var2 = var$1[1]; if ($var1 === null) var$4 = null; else { var$4 = $var2; $var2 = $var1; } if ($var2 === null) nms_InventoryMerchant_setInventorySlotContents($this, 2, null); else { $var3 = $this.$theMerchant.$getRecipes($this.$thePlayer4); if ($var3 !== null) { $var4 = nms_MerchantRecipeList_canRecipeBeUsed($var3, $var2, var$4, $this.$currentRecipeIndex0); if ($var4 !== null && !($var4.$toolUses < $var4.$maxTradeUses ? 0 : 1)) { $this.$currentRecipe = $var4; $var2 = $var4.$itemToSell; $var1 = new nms_ItemStack; var$7 = $var2.$itemID; var$8 = $var2.$stackSize; var$9 = $var2.$itemDamage; nms_ItemStack_$callClinit(); $var1.$itemID = var$7; $var1.$stackSize = var$8; $var1.$itemDamage = var$9; if (var$9 < 0) $var1.$itemDamage = 0; $var2 = $var2.$stackTagCompound; if ($var2 !== null) { var$4 = new nms_NBTTagCompound; $var3 = $var2.$name; if ($var3 === null) $var3 = $rt_s(18); var$4.$name = $var3; $var3 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); $var3.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$1 = var$10.data; $var3.$elementData = var$10; $var3.$loadFactor = 0.75; $var3.$threshold = var$1.length * 0.75 | 0; var$4.$tagMap = $var3; $var3 = $var2.$tagMap; if ($var3.$cachedKeySet === null) { $var4 = new ju_HashMap$1; $var4.$this$0 = $var3; $var3.$cachedKeySet = $var4; } $var3 = $var3.$cachedKeySet.$iterator(); while ($var3.$hasNext()) { $var4 = $var3.$next(); var$11 = $var2.$tagMap; if ($var4 === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { a: { if (!$var4.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= $var4.$nativeString.length) break a; $var4.$hashCode1 = (31 * $var4.$hashCode1 | 0) + $var4.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = $var4.$hashCode1; var$1 = var$11.$elementData.data; var$11 = var$1[var$9 & (var$1.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$9) { b: { var$12 = var$11.$key; if ($var4 !== var$12) { if ($var4 === var$12) var$7 = 1; else if (!(var$12 instanceof jl_String)) var$7 = 0; else { var$12 = var$12; var$7 = $var4.$nativeString !== var$12.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$11 = var$11.$next3; } } var$11 = var$11 === null ? null : var$11.$value1; var$11 = var$11.$copy(); var$12 = var$4.$tagMap; if ($var4 !== null) var$11.$name = $var4; else var$11.$name = $rt_s(18); ju_HashMap_putImpl(var$12, $var4, var$11); } $var1.$stackTagCompound = var$4; } nms_InventoryMerchant_setInventorySlotContents($this, 2, $var1); } else if (var$4 === null) nms_InventoryMerchant_setInventorySlotContents($this, 2, null); else { $var1 = nms_MerchantRecipeList_canRecipeBeUsed($var3, var$4, $var2, $this.$currentRecipeIndex0); if ($var1 !== null && !($var1.$toolUses < $var1.$maxTradeUses ? 0 : 1)) { $this.$currentRecipe = $var1; $var2 = $var1.$itemToSell; $var1 = new nms_ItemStack; var$7 = $var2.$itemID; var$8 = $var2.$stackSize; var$9 = $var2.$itemDamage; nms_ItemStack_$callClinit(); $var1.$itemID = var$7; $var1.$stackSize = var$8; $var1.$itemDamage = var$9; if (var$9 < 0) $var1.$itemDamage = 0; $var4 = $var2.$stackTagCompound; if ($var4 !== null) { var$11 = new nms_NBTTagCompound; $var2 = $var4.$name; if ($var2 === null) $var2 = $rt_s(18); var$11.$name = $var2; $var2 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); $var2.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$1 = var$10.data; $var2.$elementData = var$10; $var2.$loadFactor = 0.75; $var2.$threshold = var$1.length * 0.75 | 0; var$11.$tagMap = $var2; var$4 = $var4.$tagMap; if (var$4.$cachedKeySet === null) { $var2 = new ju_HashMap$1; $var2.$this$0 = var$4; var$4.$cachedKeySet = $var2; } var$12 = var$4.$cachedKeySet.$iterator(); while (var$12.$hasNext()) { var$13 = var$12.$next(); $var2 = $var4.$tagMap; if (var$13 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { c: { if (!var$13.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$13.$nativeString.length) break c; var$13.$hashCode1 = (31 * var$13.$hashCode1 | 0) + var$13.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = var$13.$hashCode1; var$1 = $var2.$elementData.data; $var2 = var$1[var$9 & (var$1.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$9) { d: { var$4 = $var2.$key; if (var$13 !== var$4) { if (var$13 === var$4) var$7 = 1; else if (!(var$4 instanceof jl_String)) var$7 = 0; else { var$4 = var$4; var$7 = var$13.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break d; } } var$7 = 1; } if (var$7) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; $var2 = $var2.$copy(); var$4 = var$11.$tagMap; if (var$13 !== null) $var2.$name = var$13; else $var2.$name = $rt_s(18); ju_HashMap_putImpl(var$4, var$13, $var2); } $var1.$stackTagCompound = var$11; } nms_InventoryMerchant_setInventorySlotContents($this, 2, $var1); } else nms_InventoryMerchant_setInventorySlotContents($this, 2, null); } } } $this.$theMerchant.$func_110297_a_($this.$theInventory.data[2]); }; function nms_FlatGeneratorInfo() { let a = this; jl_Object.call(a); a.$flatLayers = null; a.$worldFeatures = null; a.$biomeToUse = 0; } let nms_FlatGeneratorInfo__init_ = $this => { let var$1, var$2, var$3, var$4; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$flatLayers = var$1; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$worldFeatures = var$1; }, nms_FlatGeneratorInfo__init_0 = () => { let var_0 = new nms_FlatGeneratorInfo(); nms_FlatGeneratorInfo__init_(var_0); return var_0; }, nms_FlatGeneratorInfo_toString = $this => { let $var1, $var2, $var5, $var3, var$5, var$6, $var7, $var6, var$9, var$10, var$11; $var1 = new jl_StringBuilder; $var1.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($var1, $var1.$length0, 2, 10); jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(3870)); $var2 = 0; while (true) { if ($var2 >= $this.$flatLayers.$size0) { jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(3870)); $var2 = $this.$biomeToUse; jl_AbstractStringBuilder_insert0($var1, $var1.$length0, $var2, 10); if ($this.$worldFeatures.$elementCount ? 0 : 1) jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(3870)); else { jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(3870)); $var2 = 0; $var5 = $this.$worldFeatures; $var3 = new ju_HashMap$EntryIterator; $var3.$associatedMap = $var5; $var3.$expectedModCount = $var5.$modCount0; $var3.$futureEntry0 = null; while (ju_HashMap$AbstractMapIterator_hasNext($var3)) { ju_HashMap$AbstractMapIterator_makeNext($var3); var$5 = $var3.$currentEntry0; var$6 = $var2 + 1 | 0; if ($var2 > 0) jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(1371)); $var5 = var$5.$key; $var7 = $var5.$nativeString.toLowerCase(); if ($var7 !== $var5.$nativeString) $var5 = jl_String__init_($var7); jl_AbstractStringBuilder_insert($var1, $var1.$length0, $var5); $var5 = var$5.$value1; if (!($var5.$elementCount ? 0 : 1)) { jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(3300)); $var6 = 0; $var7 = new ju_HashMap$EntryIterator; $var7.$associatedMap = $var5; $var7.$expectedModCount = $var5.$modCount0; $var7.$futureEntry0 = null; while (ju_HashMap$AbstractMapIterator_hasNext($var7)) { ju_HashMap$AbstractMapIterator_makeNext($var7); var$9 = $var7.$currentEntry0; $var2 = $var6 + 1 | 0; if ($var6 > 0) jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(953)); $var5 = var$9.$key; jl_AbstractStringBuilder_insert($var1, $var1.$length0, $var5); jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(3871)); $var5 = var$9.$value1; jl_AbstractStringBuilder_insert($var1, $var1.$length0, $var5); $var6 = $var2; } jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(2502)); } $var2 = var$6; } } $var5 = new jl_String; var$10 = $var1.$buffer; var$11 = var$10.data; var$6 = $var1.$length0; $var6 = var$11.length; if (var$6 >= 0 && var$6 <= ($var6 - 0 | 0)) { $var5.$nativeString = $rt_charArrayToString(var$10.data, 0, var$6); return $var5; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } if ($var2 > 0) jl_AbstractStringBuilder_insert($var1, $var1.$length0, $rt_s(1371)); $var5 = $this.$flatLayers; if ($var2 < 0) break; if ($var2 >= $var5.$size0) break; $var5 = nms_FlatLayerInfo_toString($var5.$array.data[$var2]); jl_AbstractStringBuilder_insert($var1, $var1.$length0, $var5); $var2 = $var2 + 1 | 0; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); }, nms_FlatGeneratorInfo_func_82646_a = ($par0Str, $par1) => { let $var2, $var3, $var5, var$6, $var4, $var9, $$je; $var2 = (jur_Pattern_split(jur_Pattern_compile($rt_s(544), 0), $par0Str, 2)).data; $var3 = 1; $var5 = 0; var$6 = $var2.length; if (var$6 == 2) a: { try { $var3 = jl_Integer_parseInt($var2[0]); if (($par1 + $var3 | 0) >= 256) $var3 = 256 - $par1 | 0; if ($var3 >= 0) break a; $var3 = 0; break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } return null; } b: { try { $var2 = (jl_String_split0($var2[var$6 - 1 | 0], $rt_s(990), 2)).data; $var4 = jl_Integer_parseInt($var2[0]); if ($var2.length > 1) $var5 = jl_Integer_parseInt($var2[1]); nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var4] === null) { $var4 = 0; $var5 = 0; } if ($var5 >= 0 && $var5 <= 15) break b; $var5 = 0; break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } return null; } $var9 = new nms_FlatLayerInfo; $var9.$layerCount = 1; $var9.$layerCount = $var3; $var9.$layerFillBlock = $var4; $var9.$layerFillBlockMeta = $var5; $var9.$layerMinimumY = $par1; return $var9; }, nms_FlatGeneratorInfo_func_82652_b = $par0Str => { let $var1, var$3, $var3, $var5, $var6, $var8, var$8, var$9; if ($par0Str !== null && $par0Str.$nativeString.length >= 1) { $var1 = new ju_ArrayList; $var1.$array = $rt_createArray(jl_Object, 10); var$3 = (jur_Pattern_split(jur_Pattern_compile($rt_s(1371), 0), $par0Str, 0)).data; $var3 = 0; $var5 = var$3.length; $var6 = 0; while ($var6 < $var5) { $var8 = nms_FlatGeneratorInfo_func_82646_a(var$3[$var6], $var3); if ($var8 === null) return null; ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$8 = $var1.$array.data; var$9 = $var1.$size0; $var1.$size0 = var$9 + 1 | 0; var$8[var$9] = $var8; $var1.$modCount = $var1.$modCount + 1 | 0; $var3 = $var3 + $var8.$layerCount | 0; $var6 = $var6 + 1 | 0; } return $var1; } return null; }, nms_FlatGeneratorInfo_createFlatGeneratorFromString = $par0Str => { let $var1, $var9, $var4, $var2, $var10, $var3, $var5, $var11, $var6, var$11, var$12, $var16, $var13, var$15, $var12, $var15, $$je; if ($par0Str === null) return nms_FlatGeneratorInfo_getDefaultFlatGenerator(); $var1 = (jur_Pattern_split(jur_Pattern_compile($rt_s(3870), 0), $par0Str, (-1))).data; $var9 = $var1.length; $var4 = $rt_compare($var9, 1); if (!$var4) $var2 = 0; else { $par0Str = $var1[0]; $var10 = 0; a: { try { $var2 = jl_Integer_parseInt($par0Str); $var10 = $var2; break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } $var2 = $var10; } } if ($var2 >= 0 && $var2 <= 2) { $var3 = nms_FlatGeneratorInfo__init_0(); $var4 = $var4 ? 1 : 0; $var10 = $var4 + 1 | 0; $var5 = nms_FlatGeneratorInfo_func_82652_b($var1[$var4]); if ($var5 !== null && !($var5.$size0 ? 0 : 1)) { $var11 = $var3.$flatLayers; $var6 = 0; var$11 = $var5.$modCount; var$12 = $var5.$size(); while (true) { if (!($var6 >= var$12 ? 0 : 1)) { $var6 = 0; $par0Str = $var3.$flatLayers; $var4 = 0; var$11 = $par0Str.$modCount; var$12 = $par0Str.$size(); while (true) { if (!($var4 >= var$12 ? 0 : 1)) { nms_BiomeGenBase_$callClinit(); $var6 = nms_BiomeGenBase_plains.$biomeID; if ($var2 <= 0) { $var4 = $var10; $var10 = $var6; } else if ($var9 <= $var10) { $var4 = $var10; $var10 = $var6; } else { $var4 = $var10 + 1 | 0; $par0Str = $var1[$var10]; b: { try { $var10 = jl_Integer_parseInt($par0Str); $var6 = $var10; break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } $var10 = $var6; } } $var3.$biomeToUse = $var10; if ($var2 > 0 && $var9 > $var4) { $par0Str = $var1[$var4]; $var5 = $par0Str.$nativeString.toLowerCase(); if ($var5 !== $par0Str.$nativeString) $par0Str = jl_String__init_($var5); $var1 = (jur_Pattern_split(jur_Pattern_compile($rt_s(1371), 0), $par0Str, 0)).data; $var9 = $var1.length; $var10 = 0; while ($var10 < $var9) { c: { $var11 = $var1[$var10]; $var16 = (jur_Pattern_split(jur_Pattern_compile($rt_s(3872), 0), $var11, 2)).data; $var13 = new ju_HashMap; $var4 = ju_HashMap_calculateCapacity(16); $var13.$elementCount = 0; var$15 = $rt_createArray(ju_HashMap$HashEntry, $var4); $var12 = var$15.data; $var13.$elementData = var$15; $var13.$loadFactor = 0.75; $var13.$threshold = $var12.length * 0.75 | 0; if ($var16[0].$nativeString.length > 0) { ju_HashMap_putImpl($var3.$worldFeatures, $var16[0], $var13); if ($var16.length > 1 && jl_String_endsWith($var16[1], $rt_s(2502)) && $var16[1].$nativeString.length > 1) { $par0Str = jl_String_substring($var16[1], 0, $var16[1].$nativeString.length - 1 | 0); $var12 = jur_Pattern_split(jur_Pattern_compile($rt_s(953), 0), $par0Str, 0); $var15 = 0; while (true) { $var16 = $var12.data; if ($var15 >= $var16.length) break c; $par0Str = $var16[$var15]; $var16 = (jur_Pattern_split(jur_Pattern_compile($rt_s(3871), 0), $par0Str, 2)).data; if ($var16.length == 2) ju_HashMap_putImpl($var13, $var16[0], $var16[1]); $var15 = $var15 + 1 | 0; } } } } $var10 = $var10 + 1 | 0; } } else { $var11 = $var3.$worldFeatures; $var5 = new ju_HashMap; $var9 = ju_HashMap_calculateCapacity(16); $var5.$elementCount = 0; $var16 = $rt_createArray(ju_HashMap$HashEntry, $var9); $var1 = $var16.data; $var5.$elementData = $var16; $var5.$loadFactor = 0.75; $var5.$threshold = $var1.length * 0.75 | 0; ju_HashMap_putImpl($var11, $rt_s(3873), $var5); } return $var3; } if (var$11 < $par0Str.$modCount) break; $var15 = $var4 + 1 | 0; $var5 = $par0Str.$get($var4); $var5.$layerMinimumY = $var6; $var6 = $var6 + $var5.$layerCount | 0; $var4 = $var15; } $par0Str = new ju_ConcurrentModificationException; $par0Str.$suppressionEnabled = 1; $par0Str.$writableStackTrace = 1; $rt_throw($par0Str); } if (var$11 < $var5.$modCount) break; $var15 = $var6 + 1 | 0; $par0Str = $var5.$get($var6); ju_ArrayList_ensureCapacity($var11, $var11.$size0 + 1 | 0); $var16 = $var11.$array.data; $var4 = $var11.$size0; $var11.$size0 = $var4 + 1 | 0; $var16[$var4] = $par0Str; $var11.$modCount = $var11.$modCount + 1 | 0; $var6 = $var15; } $par0Str = new ju_ConcurrentModificationException; $par0Str.$suppressionEnabled = 1; $par0Str.$writableStackTrace = 1; $rt_throw($par0Str); } return nms_FlatGeneratorInfo_getDefaultFlatGenerator(); } return nms_FlatGeneratorInfo_getDefaultFlatGenerator(); }, nms_FlatGeneratorInfo_getDefaultFlatGenerator = () => { let $var0, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; $var0 = nms_FlatGeneratorInfo__init_0(); nms_BiomeGenBase_$callClinit(); $var0.$biomeToUse = nms_BiomeGenBase_plains.$biomeID; var$2 = $var0.$flatLayers; var$3 = new nms_FlatLayerInfo; nms_Block_$callClinit(); var$4 = nms_Block_bedrock.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 1; var$3.$layerFillBlock = var$4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$5[var$4] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $var0.$flatLayers; var$6 = new nms_FlatLayerInfo; var$4 = nms_Block_dirt.$blockID; var$6.$layerCount = 1; var$6.$layerCount = 2; var$6.$layerFillBlock = var$4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$5[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $var0.$flatLayers; var$6 = new nms_FlatLayerInfo; var$4 = nms_Block_grass.$blockID; var$6.$layerCount = 1; var$6.$layerCount = 1; var$6.$layerFillBlock = var$4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$5[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$7 = 0; var$6 = $var0.$flatLayers; var$8 = 0; var$9 = var$6.$modCount; var$10 = var$6.$size(); while (true) { if (!(var$8 >= var$10 ? 0 : 1)) { var$2 = $var0.$worldFeatures; var$3 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$5 = var$11.data; var$3.$elementData = var$11; var$3.$loadFactor = 0.75; var$3.$threshold = var$5.length * 0.75 | 0; ju_HashMap_putImpl(var$2, $rt_s(3873), var$3); return $var0; } if (var$9 < var$6.$modCount) break; var$12 = var$8 + 1 | 0; var$3 = var$6.$get(var$8); var$3.$layerMinimumY = var$7; var$7 = var$7 + var$3.$layerCount | 0; var$8 = var$12; } $var0 = new ju_ConcurrentModificationException; $var0.$suppressionEnabled = 1; $var0.$writableStackTrace = 1; $rt_throw($var0); }, nms_WorldProviderHell = $rt_classWithoutFields(nms_WorldProvider), nms_WorldProviderHell__init_ = $this => { $this.$lightBrightnessTable = $rt_createFloatArray(16); $this.$colorsSunriseSunset = $rt_createFloatArray(4); }, nms_WorldProviderHell__init_0 = () => { let var_0 = new nms_WorldProviderHell(); nms_WorldProviderHell__init_(var_0); return var_0; }, nms_WorldProviderHell_registerWorldChunkManager = $this => { let var$1, var$2; var$1 = new nms_WorldChunkManagerHell; nms_BiomeGenBase_$callClinit(); var$2 = nms_BiomeGenBase_hell; nms_WorldChunkManager__init_(var$1); var$1.$biomeToUse0 = var$2; var$1.$hellTemperature = 1.0; var$1.$rainfall0 = 0.0; $this.$worldChunkMgr = var$1; $this.$isHellWorld = 1; $this.$hasNoSky = 1; $this.$dimensionId = (-1); }, nms_WorldProviderHell_getFogColor = ($this, $par1, $par2) => { return nms_Vec3Pool_getVecFromPool($this.$worldObj11.$vecPool, 0.20000000298023224, 0.029999999329447746, 0.029999999329447746); }, nms_WorldProviderHell_generateLightBrightnessTable = $this => { let $var2, $var3; $var2 = 0; while ($var2 <= 15) { $var3 = 1.0 - $var2 / 15.0; $this.$lightBrightnessTable.data[$var2] = (1.0 - $var3) / ($var3 * 3.0 + 1.0) * 0.8999999761581421 + 0.10000000149011612; $var2 = $var2 + 1 | 0; } }, nms_WorldProviderHell_isSurfaceWorld = $this => { return 0; }, nms_WorldProviderHell_calculateCelestialAngle = ($this, $par1, $par3) => { return 0.5; }, nms_WorldProviderHell_canRespawnHere = $this => { return 0; }, nms_WorldProviderHell_doesXZShowFog = ($this, $par1, $par2) => { return 1; }, nms_WorldProviderEnd = $rt_classWithoutFields(nms_WorldProvider), nms_WorldProviderEnd__init_ = $this => { $this.$lightBrightnessTable = $rt_createFloatArray(16); $this.$colorsSunriseSunset = $rt_createFloatArray(4); }, nms_WorldProviderEnd__init_0 = () => { let var_0 = new nms_WorldProviderEnd(); nms_WorldProviderEnd__init_(var_0); return var_0; }, nms_WorldProviderEnd_registerWorldChunkManager = $this => { let var$1, var$2; var$1 = new nms_WorldChunkManagerHell; nms_BiomeGenBase_$callClinit(); var$2 = nms_BiomeGenBase_sky; nms_WorldChunkManager__init_(var$1); var$1.$biomeToUse0 = var$2; var$1.$hellTemperature = 0.5; var$1.$rainfall0 = 0.0; $this.$worldChunkMgr = var$1; $this.$dimensionId = 1; $this.$hasNoSky = 1; }, nms_WorldProviderEnd_calculateCelestialAngle = ($this, $par1, $par3) => { return 0.0; }, nms_WorldProviderEnd_calcSunriseSunsetColors = ($this, $par1, $par2) => { return null; }, nms_WorldProviderEnd_getFogColor = ($this, $par1, $par2) => { let $var4, var$4, var$5; $par1 = $par1 * 3.1415927410125732 * 2.0; $var4 = nms_MathHelper_SIN_TABLE.data[($par1 * 10430.3779296875 + 16384.0 | 0) & 65535] * 2.0 + 0.5; if ($var4 < 0.0) $var4 = 0.0; if ($var4 > 1.0) $var4 = 1.0; $par1 = $var4 * 0.0 + 0.15000000596046448; $par2 = 0.6274510025978088 * $par1; $par1 = 0.501960813999176 * $par1; var$4 = $this.$worldObj11.$vecPool; var$5 = $par2; return nms_Vec3Pool_getVecFromPool(var$4, var$5, $par1, var$5); }, nms_WorldProviderEnd_isSkyColored = $this => { return 0; }, nms_WorldProviderEnd_canRespawnHere = $this => { return 0; }, nms_WorldProviderEnd_isSurfaceWorld = $this => { return 0; }, nms_WorldProviderEnd_getCloudHeight = $this => { return 8.0; }, nms_WorldProviderEnd_doesXZShowFog = ($this, $par1, $par2) => { return 1; }; function nms_VillageSiege() { let a = this; jl_Object.call(a); a.$worldObj16 = null; a.$field_75536_c = 0; } function nms_VillageCollection() { let a = this; nms_WorldSavedData.call(a); a.$worldObj15 = null; a.$villagerPositionsList = null; a.$newDoors = null; a.$villageList = null; } let nms_VillageCollection_findNearestVillage = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, var$7, $var7$index, var$9, var$10, $var7$index_0, $var8, $var9, $var10; $var5 = null; $var6 = 3.4028234663852886E38; var$7 = $this.$villageList; $var7$index = 0; var$9 = var$7.$modCount; var$10 = var$7.$size(); while ($var7$index >= var$10 ? 0 : 1) { if (var$9 < var$7.$modCount) { $var5 = new ju_ConcurrentModificationException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var7$index_0 = $var7$index + 1 | 0; $var8 = var$7.$get($var7$index); $var9 = (nms_Village_getCenter($var8)).$getDistanceSquared($par1, $par2, $par3); if ($var9 < $var6) { $var10 = $par4 + nms_Village_getVillageRadius($var8) | 0; if ($var9 <= $var10 * $var10) { $var5 = $var8; $var6 = $var9; } } $var7$index = $var7$index_0; } return $var5; }, nms_VillageCollection_isVillagerPositionPresent = ($this, $par1, $par2, $par3) => { let var$4, $var4$index, var$6, var$7, $var4$index_0, $var5; var$4 = $this.$villagerPositionsList; $var4$index = 0; var$6 = var$4.$modCount; var$7 = var$4.$size(); while (true) { if (!($var4$index >= var$7 ? 0 : 1)) return 0; if (var$6 < var$4.$modCount) { var$4 = new ju_ConcurrentModificationException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } $var4$index_0 = $var4$index + 1 | 0; $var5 = var$4.$get($var4$index); if ($var5.$posX0 != $par1) { $var4$index = $var4$index_0; continue; } if ($var5.$posY0 != $par2) { $var4$index = $var4$index_0; continue; } if ($var5.$posZ0 == $par3) break; $var4$index = $var4$index_0; } return 1; }; function nms_EntityMinecartMobSpawnerLogic() { nms_MobSpawnerBaseLogic.call(this); this.$spawnerMinecart = null; } let nms_EntityMinecartMobSpawnerLogic_func_98267_a = ($this, $par1) => { return; }, nms_EntityMinecartMobSpawnerLogic_getSpawnerWorld = $this => { return $this.$spawnerMinecart.$worldObj; }, nms_EntityMinecartMobSpawnerLogic_getSpawnerX = $this => { let var$1, var$2; var$1 = $this.$spawnerMinecart.$posX; var$2 = var$1 | 0; if (var$1 < var$2) var$2 = var$2 - 1 | 0; return var$2; }, nms_EntityMinecartMobSpawnerLogic_getSpawnerY = $this => { let var$1, var$2; var$1 = $this.$spawnerMinecart.$posY; var$2 = var$1 | 0; if (var$1 < var$2) var$2 = var$2 - 1 | 0; return var$2; }, nms_EntityMinecartMobSpawnerLogic_getSpawnerZ = $this => { let var$1, var$2; var$1 = $this.$spawnerMinecart.$posZ; var$2 = var$1 | 0; if (var$1 < var$2) var$2 = var$2 - 1 | 0; return var$2; }; function nms_InventoryEnderChest() { nms_InventoryBasic.call(this); this.$associatedChest = null; } let nms_InventoryEnderChest__init_ = $this => { $this.$inventoryTitle = $rt_s(1293); $this.$field_94051_e = 0; $this.$slotsCount = 27; $this.$inventoryContents = $rt_createArray(nms_ItemStack, 27); }, nms_InventoryEnderChest__init_0 = () => { let var_0 = new nms_InventoryEnderChest(); nms_InventoryEnderChest__init_(var_0); return var_0; }, nms_InventoryEnderChest_isUseableByPlayer = ($this, $par1EntityPlayer) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$associatedChest; if (var$2 === null) return 1; $ptr = 1; case 1: $tmp = nms_TileEntityEnderChest_isUseableByPlayer(var$2, $par1EntityPlayer); if ($rt_suspending()) { break main; } var$3 = $tmp; return !var$3 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, $ptr); }, nms_InventoryEnderChest_openChest = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$associatedChest; if (var$1 !== null) { var$2 = var$1.$numUsingPlayers0 + 1 | 0; var$1.$numUsingPlayers0 = var$2; var$3 = var$1.$worldObj0; var$4 = var$1.$xCoord0; var$5 = var$1.$yCoord0; var$6 = var$1.$zCoord0; nms_Block_$callClinit(); var$7 = nms_Block_enderChest.$blockID; var$8 = 1; if (var$7 > 0) { var$1 = nms_Block_blocksList.data[var$7]; $ptr = 1; continue main; } } return; case 1: var$1.$onBlockEventReceived(var$3, var$4, var$5, var$6, var$8, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_InventoryEnderChest_closeChest = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$associatedChest; if (var$1 !== null) { var$2 = var$1.$numUsingPlayers0 - 1 | 0; var$1.$numUsingPlayers0 = var$2; var$3 = var$1.$worldObj0; var$4 = var$1.$xCoord0; var$5 = var$1.$yCoord0; var$6 = var$1.$zCoord0; nms_Block_$callClinit(); var$7 = nms_Block_enderChest.$blockID; var$8 = 1; if (var$7 > 0) { var$1 = nms_Block_blocksList.data[var$7]; $ptr = 1; continue main; } } $this.$associatedChest = null; return; case 1: var$1.$onBlockEventReceived(var$3, var$4, var$5, var$6, var$8, var$2); if ($rt_suspending()) { break main; } $this.$associatedChest = null; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }; function nms_ContainerPlayer() { let a = this; nms_Container.call(a); a.$craftMatrix0 = null; a.$craftResult = null; a.$isLocalWorld = 0; a.$thePlayer7 = null; } let nms_ContainerPlayer__init_0 = ($this, $par1InventoryPlayer, $par2, $par3EntityPlayer) => { let var$4, var$5, var$6, $var4, var$8, $var5, var$10, var$11; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$inventoryItemStacks = var$4; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$inventorySlots = var$4; $this.$field_94535_f = (-1); var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); $this.$field_94537_h = var$4; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$crafters = var$4; var$4 = new ju_HashSet; var$4.$backingMap = ju_HashMap__init_(); $this.$playerList = var$4; var$4 = new nms_InventoryCrafting; var$4.$stackList = $rt_createArray(nms_ItemStack, 4); var$4.$eventHandler = $this; var$4.$inventoryWidth = 2; $this.$craftMatrix0 = var$4; var$5 = new nms_InventoryCraftResult; var$5.$stackResult = $rt_createArray(nms_ItemStack, 1); $this.$craftResult = var$5; $this.$isLocalWorld = $par2; $this.$thePlayer7 = $par3EntityPlayer; $par3EntityPlayer = new nms_SlotCrafting; var$6 = $par1InventoryPlayer.$player; $par3EntityPlayer.$inventory0 = var$5; $par3EntityPlayer.$slotIndex = 0; $par3EntityPlayer.$xDisplayPosition = 144; $par3EntityPlayer.$yDisplayPosition = 36; $par3EntityPlayer.$thePlayer1 = var$6; $par3EntityPlayer.$craftMatrix1 = var$4; var$4 = $this.$inventorySlots; $var4 = var$4.$size0; $par3EntityPlayer.$slotNumber = $var4; ju_ArrayList_ensureCapacity(var$4, $var4 + 1 | 0); var$8 = var$4.$array.data; $var4 = var$4.$size0; var$4.$size0 = $var4 + 1 | 0; var$8[$var4] = $par3EntityPlayer; var$4.$modCount = var$4.$modCount + 1 | 0; $par3EntityPlayer = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity($par3EntityPlayer, $par3EntityPlayer.$size0 + 1 | 0); var$8 = $par3EntityPlayer.$array.data; $var4 = $par3EntityPlayer.$size0; $par3EntityPlayer.$size0 = $var4 + 1 | 0; var$8[$var4] = var$4; $par3EntityPlayer.$modCount = $par3EntityPlayer.$modCount + 1 | 0; $var4 = 0; while ($var4 < 2) { $var5 = 0; while ($var5 < 2) { $par3EntityPlayer = new nms_Slot; var$4 = $this.$craftMatrix0; $par2 = $var5 + ($var4 * 2 | 0) | 0; var$10 = 88 + ($var5 * 18 | 0) | 0; var$11 = 26 + ($var4 * 18 | 0) | 0; $par3EntityPlayer.$inventory0 = var$4; $par3EntityPlayer.$slotIndex = $par2; $par3EntityPlayer.$xDisplayPosition = var$10; $par3EntityPlayer.$yDisplayPosition = var$11; var$4 = $this.$inventorySlots; var$10 = var$4.$size0; $par3EntityPlayer.$slotNumber = var$10; ju_ArrayList_ensureCapacity(var$4, var$10 + 1 | 0); var$8 = var$4.$array.data; var$10 = var$4.$size0; var$4.$size0 = var$10 + 1 | 0; var$8[var$10] = $par3EntityPlayer; var$4.$modCount = var$4.$modCount + 1 | 0; $par3EntityPlayer = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity($par3EntityPlayer, $par3EntityPlayer.$size0 + 1 | 0); var$8 = $par3EntityPlayer.$array.data; var$10 = $par3EntityPlayer.$size0; $par3EntityPlayer.$size0 = var$10 + 1 | 0; var$8[var$10] = var$4; $par3EntityPlayer.$modCount = $par3EntityPlayer.$modCount + 1 | 0; $var5 = $var5 + 1 | 0; } $var4 = $var4 + 1 | 0; } $var4 = 0; while ($var4 < 4) { $par3EntityPlayer = new nms_SlotArmor; $var5 = (($par1InventoryPlayer.$mainInventory.data.length + 4 | 0) - 1 | 0) - $var4 | 0; $par2 = 8 + ($var4 * 18 | 0) | 0; $par3EntityPlayer.$inventory0 = $par1InventoryPlayer; $par3EntityPlayer.$slotIndex = $var5; $par3EntityPlayer.$xDisplayPosition = 8; $par3EntityPlayer.$yDisplayPosition = $par2; $par3EntityPlayer.$parent7 = $this; $par3EntityPlayer.$armorType0 = $var4; var$4 = $this.$inventorySlots; $var5 = var$4.$size0; $par3EntityPlayer.$slotNumber = $var5; ju_ArrayList_ensureCapacity(var$4, $var5 + 1 | 0); var$8 = var$4.$array.data; $var5 = var$4.$size0; var$4.$size0 = $var5 + 1 | 0; var$8[$var5] = $par3EntityPlayer; var$4.$modCount = var$4.$modCount + 1 | 0; $par3EntityPlayer = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity($par3EntityPlayer, $par3EntityPlayer.$size0 + 1 | 0); var$8 = $par3EntityPlayer.$array.data; $var5 = $par3EntityPlayer.$size0; $par3EntityPlayer.$size0 = $var5 + 1 | 0; var$8[$var5] = var$4; $par3EntityPlayer.$modCount = $par3EntityPlayer.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } $par2 = 0; while ($par2 < 3) { $var5 = 0; while ($var5 < 9) { $par3EntityPlayer = new nms_Slot; $var4 = $var5 + (($par2 + 1 | 0) * 9 | 0) | 0; var$10 = 8 + ($var5 * 18 | 0) | 0; var$11 = 84 + ($par2 * 18 | 0) | 0; $par3EntityPlayer.$inventory0 = $par1InventoryPlayer; $par3EntityPlayer.$slotIndex = $var4; $par3EntityPlayer.$xDisplayPosition = var$10; $par3EntityPlayer.$yDisplayPosition = var$11; var$4 = $this.$inventorySlots; var$10 = var$4.$size0; $par3EntityPlayer.$slotNumber = var$10; ju_ArrayList_ensureCapacity(var$4, var$10 + 1 | 0); var$8 = var$4.$array.data; var$10 = var$4.$size0; var$4.$size0 = var$10 + 1 | 0; var$8[var$10] = $par3EntityPlayer; var$4.$modCount = var$4.$modCount + 1 | 0; $par3EntityPlayer = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity($par3EntityPlayer, $par3EntityPlayer.$size0 + 1 | 0); var$8 = $par3EntityPlayer.$array.data; var$10 = $par3EntityPlayer.$size0; $par3EntityPlayer.$size0 = var$10 + 1 | 0; var$8[var$10] = var$4; $par3EntityPlayer.$modCount = $par3EntityPlayer.$modCount + 1 | 0; $var5 = $var5 + 1 | 0; } $par2 = $par2 + 1 | 0; } $par2 = 0; while ($par2 < 9) { $par3EntityPlayer = new nms_Slot; $var4 = 8 + ($par2 * 18 | 0) | 0; $par3EntityPlayer.$inventory0 = $par1InventoryPlayer; $par3EntityPlayer.$slotIndex = $par2; $par3EntityPlayer.$xDisplayPosition = $var4; $par3EntityPlayer.$yDisplayPosition = 142; var$4 = $this.$inventorySlots; $var5 = var$4.$size0; $par3EntityPlayer.$slotNumber = $var5; ju_ArrayList_ensureCapacity(var$4, $var5 + 1 | 0); var$8 = var$4.$array.data; $var5 = var$4.$size0; var$4.$size0 = $var5 + 1 | 0; var$8[$var5] = $par3EntityPlayer; var$4.$modCount = var$4.$modCount + 1 | 0; $par3EntityPlayer = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity($par3EntityPlayer, $par3EntityPlayer.$size0 + 1 | 0); var$8 = $par3EntityPlayer.$array.data; $var5 = $par3EntityPlayer.$size0; $par3EntityPlayer.$size0 = $var5 + 1 | 0; var$8[$var5] = var$4; $par3EntityPlayer.$modCount = $par3EntityPlayer.$modCount + 1 | 0; $par2 = $par2 + 1 | 0; } $par1InventoryPlayer = $this.$craftResult; nms_CraftingManager_$callClinit(); $par3EntityPlayer = nms_CraftingManager_findMatchingRecipe(nms_CraftingManager_instance, $this.$craftMatrix0, $this.$thePlayer7.$worldObj); $par1InventoryPlayer.$stackResult.data[0] = $par3EntityPlayer; }, nms_ContainerPlayer__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_ContainerPlayer(); nms_ContainerPlayer__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_ContainerPlayer_onCraftMatrixChanged = ($this, $par1IInventory) => { let var$2; $par1IInventory = $this.$craftResult; nms_CraftingManager_$callClinit(); var$2 = nms_CraftingManager_findMatchingRecipe(nms_CraftingManager_instance, $this.$craftMatrix0, $this.$thePlayer7.$worldObj); $par1IInventory.$stackResult.data[0] = var$2; }, nms_ContainerPlayer_onContainerClosed = ($this, $par1EntityPlayer) => { let $var3, var$3, $var2, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $par1EntityPlayer.$inventory; var$3 = $var3.$itemStack; if (var$3 !== null) { $var2 = 0; $ptr = 1; continue main; } $var2 = 0; while ($var2 < 4) { var$5 = $this.$craftMatrix0.$stackList.data; if (var$5[$var2] === null) $var3 = null; else { $var3 = var$5[$var2]; var$5[$var2] = null; } if ($var3 !== null) { var$6 = 0; $ptr = 2; continue main; } $var2 = $var2 + 1 | 0; } $var3 = $this.$craftResult; $var3.$stackResult.data[0] = null; return; case 1: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, var$3, $var2); if ($rt_suspending()) { break main; } $var3.$itemStack = null; $var2 = 0; while ($var2 < 4) { var$5 = $this.$craftMatrix0.$stackList.data; if (var$5[$var2] === null) $var3 = null; else { $var3 = var$5[$var2]; var$5[$var2] = null; } if ($var3 !== null) { var$6 = 0; $ptr = 2; continue main; } $var2 = $var2 + 1 | 0; } $var3 = $this.$craftResult; $var3.$stackResult.data[0] = null; return; case 2: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, $var3, var$6); if ($rt_suspending()) { break main; } while (true) { $var2 = $var2 + 1 | 0; if ($var2 >= 4) break; var$5 = $this.$craftMatrix0.$stackList.data; if (var$5[$var2] === null) $var3 = null; else { $var3 = var$5[$var2]; var$5[$var2] = null; } if ($var3 === null) continue; else { var$6 = 0; continue main; } } $var3 = $this.$craftResult; $var3.$stackResult.data[0] = null; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var3, var$3, $var2, var$5, var$6, $ptr); }, nms_ContainerPlayer_canInteractWith = ($this, $par1EntityPlayer) => { return 1; }, nms_ContainerPlayer_transferStackInSlot = ($this, $par1EntityPlayer, $par2) => { let $var3, var$4, $var4, $var5, $var6, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = null; var$4 = $this.$inventorySlots; if ($par2 >= 0 && $par2 < var$4.$size0) { $var4 = var$4.$array.data[$par2]; if ($var4 !== null && $var4.$getHasStack()) { $var5 = $var4.$getStack(); $var3 = new nms_ItemStack; $var6 = $var5.$itemID; var$8 = $var5.$stackSize; var$9 = $var5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = $var6; $var3.$stackSize = var$8; $var3.$itemDamage = var$9; if (var$9 < 0) $var3.$itemDamage = 0; var$10 = $var5.$stackTagCompound; if (var$10 !== null) { var$11 = new nms_NBTTagCompound; var$4 = var$10.$name; if (var$4 === null) var$4 = $rt_s(18); var$11.$name = var$4; var$4 = new ju_HashMap; $var6 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $var6); var$13 = var$12.data; var$4.$elementData = var$12; var$4.$loadFactor = 0.75; var$4.$threshold = var$13.length * 0.75 | 0; var$11.$tagMap = var$4; var$14 = var$10.$tagMap; if (var$14.$cachedKeySet === null) { var$4 = new ju_HashMap$1; var$4.$this$0 = var$14; var$14.$cachedKeySet = var$4; } var$15 = var$14.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); var$4 = var$10.$tagMap; if (var$16 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { if (!var$16.$hashCode1) { $var6 = 0; while (true) { if ($var6 >= var$16.$nativeString.length) break a; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt($var6) | 0; $var6 = $var6 + 1 | 0; } } } var$9 = var$16.$hashCode1; var$13 = var$4.$elementData.data; var$4 = var$13[var$9 & (var$13.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$9) { b: { var$14 = var$4.$key; if (var$16 !== var$14) { if (var$16 === var$14) $var6 = 1; else if (!(var$14 instanceof jl_String)) $var6 = 0; else { var$14 = var$14; $var6 = var$16.$nativeString !== var$14.$nativeString ? 0 : 1; } if (!$var6) { $var6 = 0; break b; } } $var6 = 1; } if ($var6) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; var$4 = var$4.$copy(); var$14 = var$11.$tagMap; if (var$16 !== null) var$4.$name = var$16; else var$4.$name = $rt_s(18); ju_HashMap_putImpl(var$14, var$16, var$4); } $var3.$stackTagCompound = var$11; } if (!$par2) { $par2 = 9; $var6 = 45; var$8 = 1; $ptr = 1; continue main; } if ($par2 >= 1 && $par2 < 5) { $par2 = 9; $var6 = 45; var$8 = 0; $ptr = 2; continue main; } if ($par2 >= 5 && $par2 < 9) { $par2 = 9; $var6 = 45; var$8 = 0; $ptr = 3; continue main; } c: { nms_Item_$callClinit(); var$13 = nms_Item_itemsList.data; var$8 = $var3.$itemID; if (var$13[var$8] instanceof nms_ItemArmor) { var$4 = $this.$inventorySlots; $var6 = 5 + var$13[var$8].$armorType | 0; if ($var6 >= 0 && $var6 < var$4.$size0) { if (var$4.$array.data[$var6].$getHasStack()) break c; $var6 = 5 + nms_Item_itemsList.data[$var3.$itemID].$armorType | 0; $par2 = $var6 + 1 | 0; var$8 = 0; $ptr = 10; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } } if ($par2 >= 9 && $par2 < 36) { $par2 = 36; $var6 = 45; var$8 = 0; $ptr = 8; continue main; } if ($par2 >= 36 && $par2 < 45) { $par2 = 9; $var6 = 36; var$8 = 0; $ptr = 9; continue main; } $par2 = 9; $var6 = 45; var$8 = 0; $ptr = 7; continue main; } return $var3; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 1: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, $var6, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$itemID == $var3.$itemID) { $par2 = $var3.$stackSize - $var5.$stackSize | 0; if ($par2 > 0) { $ptr = 4; continue main; } } if ($var5.$stackSize) { $ptr = 5; continue main; } var$4 = null; $ptr = 6; continue main; case 2: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, $var6, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 5; continue main; } var$4 = null; $ptr = 6; continue main; case 3: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, $var6, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 5; continue main; } var$4 = null; $ptr = 6; continue main; case 4: $var4.$onCrafting($var5, $par2); if ($rt_suspending()) { break main; } if ($var5.$stackSize) { $ptr = 5; continue main; } var$4 = null; $ptr = 6; continue main; case 5: $var4.$onSlotChanged(); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 11; continue main; case 6: $var4.$putStack(var$4); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 11; continue main; case 7: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, $var6, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 5; continue main; } var$4 = null; $ptr = 6; continue main; case 8: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, $var6, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 5; continue main; } var$4 = null; $ptr = 6; continue main; case 9: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, $var6, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 5; continue main; } var$4 = null; $ptr = 6; continue main; case 10: $tmp = nms_Container_mergeItemStack($this, $var5, $var6, $par2, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 5; continue main; } var$4 = null; $ptr = 6; continue main; case 11: $var4.$onPickupFromSlot($par1EntityPlayer, $var5); if ($rt_suspending()) { break main; } return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $var3, var$4, $var4, $var5, $var6, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_ContainerPlayer_func_94530_a = ($this, $par1ItemStack, $par2Slot) => { return $par2Slot.$inventory0 === $this.$craftResult ? 0 : 1; }; function nms_ScoreDummyCriteria() { jl_Object.call(this); this.$field_96644_g = null; } let nms_ScoreHealthCriteria = $rt_classWithoutFields(nms_ScoreDummyCriteria); function nms_FlatLayerInfo() { let a = this; jl_Object.call(a); a.$layerCount = 0; a.$layerFillBlock = 0; a.$layerFillBlockMeta = 0; a.$layerMinimumY = 0; } let nms_FlatLayerInfo_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$layerFillBlock; var$2 = new jl_AbstractStringBuilder; var$2.$buffer = $rt_createCharArray(20); var$2 = (jl_AbstractStringBuilder_insert0(var$2, var$2.$length0, var$1, 10)).$toString(); var$3 = $this.$layerCount; if (var$3 > 1) { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$3 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$3, var$3 + 1 | 0); var$4.$buffer.data[var$3] = 120; var$1 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$1, var$2); var$2 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; var$3 = var$4.$length0; var$7 = var$6.length; if (var$3 >= 0 && var$3 <= (var$7 - 0 | 0)) var$2.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); else { var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } } a: { var$1 = $this.$layerFillBlockMeta; if (var$1 > 0) { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$3 = var$4.$length0; if (var$2 === null) var$2 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$3, var$2); var$7 = var$4.$length0; jl_AbstractStringBuilder_insertSpace(var$4, var$7, var$7 + 1 | 0); var$4.$buffer.data[var$7] = 58; jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$1, 10); var$2 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; var$3 = var$4.$length0; var$7 = var$6.length; if (var$3 < 0) break a; if (var$3 > (var$7 - 0 | 0)) break a; var$2.$nativeString = $rt_charArrayToString(var$5.data, 0, var$3); } return var$2; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); }; function nms_CombatTracker() { let a = this; jl_Object.call(a); a.$field_94556_a = null; a.$fighter = null; a.$field_94555_c = 0; a.$field_94552_d = 0; a.$field_94553_e = 0; a.$field_94551_f = null; } let nms_CombatTracker_func_94545_a = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $var1; $this.$field_94551_f = null; if ($this.$fighter.$isOnLadder()) { var$1 = $this.$fighter; var$2 = var$1.$worldObj; var$3 = var$1.$posX; var$4 = var$3 | 0; if (var$3 < var$4) var$4 = var$4 - 1 | 0; var$3 = var$1.$boundingBox.$minY; var$5 = var$3 | 0; if (var$3 < var$5) var$5 = var$5 - 1 | 0; var$3 = var$1.$posZ; var$6 = var$3 | 0; if (var$3 < var$6) var$6 = var$6 - 1 | 0; $var1 = nms_World_getBlockId(var$2, var$4, var$5, var$6); nms_Block_$callClinit(); if ($var1 == nms_Block_ladder.$blockID) $this.$field_94551_f = $rt_s(2533); else if ($var1 == nms_Block_vine.$blockID) $this.$field_94551_f = $rt_s(3874); } else if ($this.$fighter.$isInWater()) $this.$field_94551_f = $rt_s(2541); }, nms_CombatTracker_func_94550_c = $this => { let $var1, $var2, $var3, $var4, var$5, $var5$index, var$7, var$8, $var5$index_0, $var6; $var1 = null; $var2 = null; $var3 = 0.0; $var4 = 0.0; var$5 = $this.$field_94556_a; $var5$index = 0; var$7 = var$5.$modCount; var$8 = var$5.$size(); while ($var5$index >= var$8 ? 0 : 1) { if (var$7 < var$5.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var5$index_0 = $var5$index + 1 | 0; $var6 = var$5.$get($var5$index); if ($var6.$damageSrc.$getEntity() instanceof nms_EntityPlayer && !($var2 !== null && $var6.$field_94568_c <= $var4)) { $var4 = $var6.$field_94568_c; $var2 = $var6.$damageSrc.$getEntity(); } if ($var6.$damageSrc.$getEntity() instanceof nms_EntityLivingBase && !($var1 !== null && $var6.$field_94568_c <= $var3)) { $var3 = $var6.$field_94568_c; $var1 = $var6.$damageSrc.$getEntity(); } $var5$index = $var5$index_0; } if ($var2 !== null && $var4 >= $var3 / 3.0) return $var2; return $var1; }, nms_CombatTracker_func_94549_h = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7; $var1 = !$this.$field_94552_d ? 100 : 300; if ($this.$field_94553_e && ($this.$fighter.$ticksExisted - $this.$field_94555_c | 0) > $var1) { var$2 = $this.$field_94556_a; var$3 = var$2.$array; $var1 = 0; var$4 = var$2.$size0; var$5 = null; if ($var1 > var$4) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while ($var1 < var$4) { var$6 = var$3.data; var$7 = $var1 + 1 | 0; var$6[$var1] = var$5; $var1 = var$7; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; $this.$field_94553_e = 0; $this.$field_94552_d = 0; } }; function nms_InventoryCraftResult() { jl_Object.call(this); this.$stackResult = null; } let nms_InventoryCraftResult__init_ = $this => { $this.$stackResult = $rt_createArray(nms_ItemStack, 1); }, nms_InventoryCraftResult__init_0 = () => { let var_0 = new nms_InventoryCraftResult(); nms_InventoryCraftResult__init_(var_0); return var_0; }, nms_InventoryCraftResult_getStackInSlot = ($this, $par1) => { return $this.$stackResult.data[0]; }, nms_InventoryCraftResult_decrStackSize = ($this, $par1, $par2) => { let var$3, $var3; var$3 = $this.$stackResult.data; if (var$3[0] === null) return null; $var3 = var$3[0]; var$3[0] = null; return $var3; }, nms_InventoryCraftResult_setInventorySlotContents = ($this, $par1, $par2ItemStack) => { $this.$stackResult.data[0] = $par2ItemStack; }, nms_InventoryCraftResult_getInventoryStackLimit = $this => { return 64; }, nms_InventoryCraftResult_onInventoryChanged = $this => { return; }; function nms_SlotCrafting() { let a = this; nms_Slot.call(a); a.$craftMatrix1 = null; a.$thePlayer1 = null; a.$amountCrafted = 0; } let nms_SlotCrafting_isItemValid = ($this, $par1ItemStack) => { return 0; }, nms_SlotCrafting_decrStackSize = ($this, $par1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$inventory0.$getStackInSlot($this.$slotIndex) === null ? 0 : 1) { var$2 = $this.$amountCrafted; var$3 = ($this.$inventory0.$getStackInSlot($this.$slotIndex)).$stackSize; if ($par1 < var$3) var$3 = $par1; $this.$amountCrafted = var$2 + var$3 | 0; } var$4 = $this.$inventory0; var$2 = $this.$slotIndex; $ptr = 1; case 1: $tmp = var$4.$decrStackSize(var$2, $par1); if ($rt_suspending()) { break main; } var$4 = $tmp; return var$4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, $ptr); }, nms_SlotCrafting_onCrafting0 = ($this, $par1ItemStack, $par2) => { $this.$amountCrafted = $this.$amountCrafted + $par2 | 0; nms_SlotCrafting_onCrafting($this, $par1ItemStack); }, nms_SlotCrafting_onCrafting = ($this, $par1ItemStack) => { let var$2, var$3, var$4; a: { var$2 = $this.$thePlayer1; var$3 = var$2.$worldObj; var$4 = $this.$amountCrafted; nms_StatList_$callClinit(); var$2.$addStat(nms_StatList_objectCraftStats.data[$par1ItemStack.$itemID], var$4); nms_Item_$callClinit(); nms_Item_itemsList.data[$par1ItemStack.$itemID].$onCreated($par1ItemStack, var$3, var$2); $this.$amountCrafted = 0; var$4 = $par1ItemStack.$itemID; nms_Block_$callClinit(); if (var$4 == nms_Block_workbench.$blockID) { $par1ItemStack = $this.$thePlayer1; nms_AchievementList_$callClinit(); $par1ItemStack.$addStat(nms_AchievementList_buildWorkBench, 1); break a; } if (var$4 == nms_Item_pickaxeWood.$itemID0) { $par1ItemStack = $this.$thePlayer1; nms_AchievementList_$callClinit(); $par1ItemStack.$addStat(nms_AchievementList_buildPickaxe, 1); break a; } if (var$4 == nms_Block_furnaceIdle.$blockID) { $par1ItemStack = $this.$thePlayer1; nms_AchievementList_$callClinit(); $par1ItemStack.$addStat(nms_AchievementList_buildFurnace, 1); break a; } if (var$4 == nms_Item_hoeWood.$itemID0) { $par1ItemStack = $this.$thePlayer1; nms_AchievementList_$callClinit(); $par1ItemStack.$addStat(nms_AchievementList_buildHoe, 1); break a; } if (var$4 == nms_Item_bread.$itemID0) { $par1ItemStack = $this.$thePlayer1; nms_AchievementList_$callClinit(); $par1ItemStack.$addStat(nms_AchievementList_makeBread, 1); break a; } if (var$4 == nms_Item_cake.$itemID0) { $par1ItemStack = $this.$thePlayer1; nms_AchievementList_$callClinit(); $par1ItemStack.$addStat(nms_AchievementList_bakeCake, 1); break a; } if (var$4 == nms_Item_pickaxeStone.$itemID0) { $par1ItemStack = $this.$thePlayer1; nms_AchievementList_$callClinit(); $par1ItemStack.$addStat(nms_AchievementList_buildBetterPickaxe, 1); break a; } if (var$4 == nms_Item_swordWood.$itemID0) { $par1ItemStack = $this.$thePlayer1; nms_AchievementList_$callClinit(); $par1ItemStack.$addStat(nms_AchievementList_buildSword, 1); break a; } if (var$4 == nms_Block_enchantmentTable.$blockID) { $par1ItemStack = $this.$thePlayer1; nms_AchievementList_$callClinit(); $par1ItemStack.$addStat(nms_AchievementList_enchantments, 1); break a; } if (var$4 != nms_Block_bookShelf.$blockID) break a; $par1ItemStack = $this.$thePlayer1; nms_AchievementList_$callClinit(); $par1ItemStack.$addStat(nms_AchievementList_bookcase, 1); } }, nms_SlotCrafting_onPickupFromSlot = ($this, $par1EntityPlayer, $par2ItemStack) => { let $var3, var$4, var$5, $var4, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2ItemStack = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_SlotCrafting_onCrafting($this, $par2ItemStack); if ($rt_suspending()) { break main; } $var3 = 0; while (true) { $par1EntityPlayer = $this.$craftMatrix1; var$4 = $par1EntityPlayer.$stackList.data; var$5 = $rt_compare($var3, var$4.length); if (var$5 >= 0) break; $var4 = var$5 < 0 ? var$4[$var3] : null; if ($var4 !== null) { var$5 = 1; $ptr = 2; continue main; } $var3 = $var3 + 1 | 0; } return; case 2: nms_InventoryCrafting_decrStackSize($par1EntityPlayer, $var3, var$5); if ($rt_suspending()) { break main; } nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data; var$5 = $var4.$itemID; if (var$4[var$5].$containerItem === null ? 0 : 1) { $var5 = new nms_ItemStack; $par1EntityPlayer = var$4[var$5].$containerItem; nms_ItemStack_$callClinit(); $var5.$itemID = $par1EntityPlayer.$itemID0; $var5.$stackSize = 1; $var5.$itemDamage = 0; if (!nms_InventoryPlayer_addItemStackToInventory($this.$thePlayer1.$inventory, $var5)) { $par2ItemStack = $this.$craftMatrix1; var$4 = $par2ItemStack.$stackList.data; if (($var3 < var$4.length ? var$4[$var3] : null) !== null) { $par1EntityPlayer = $this.$thePlayer1; var$5 = 0; $ptr = 3; continue main; } var$4[$var3] = $var5; $par2ItemStack.$eventHandler.$onCraftMatrixChanged($par2ItemStack); } } while (true) { $var3 = $var3 + 1 | 0; $par1EntityPlayer = $this.$craftMatrix1; var$4 = $par1EntityPlayer.$stackList.data; var$5 = $rt_compare($var3, var$4.length); if (var$5 >= 0) break; $var4 = var$5 < 0 ? var$4[$var3] : null; if ($var4 === null) continue; else { var$5 = 1; continue main; } } return; case 3: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, $var5, var$5); if ($rt_suspending()) { break main; } while (true) { $var3 = $var3 + 1 | 0; $par1EntityPlayer = $this.$craftMatrix1; var$4 = $par1EntityPlayer.$stackList.data; var$5 = $rt_compare($var3, var$4.length); if (var$5 >= 0) break; $var4 = var$5 < 0 ? var$4[$var3] : null; if ($var4 === null) continue; else { var$5 = 1; $ptr = 2; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2ItemStack, $var3, var$4, var$5, $var4, $var5, $ptr); }; function nms_SlotArmor() { let a = this; nms_Slot.call(a); a.$armorType0 = 0; a.$parent7 = null; } let nms_SlotArmor_getSlotStackLimit = $this => { return 1; }, nms_SlotArmor_isItemValid = ($this, $par1ItemStack) => { let var$2, var$3, var$4; if ($par1ItemStack === null) var$2 = 0; else { nms_Item_$callClinit(); var$3 = nms_Item_itemsList.data; var$4 = $par1ItemStack.$itemID; if (var$3[var$4] instanceof nms_ItemArmor) var$2 = var$3[var$4].$armorType != $this.$armorType0 ? 0 : 1; else { var$2 = var$3[var$4].$itemID0; nms_Block_$callClinit(); var$2 = var$2 != nms_Block_pumpkin.$blockID && var$3[var$4].$itemID0 != nms_Item_skull.$itemID0 ? 0 : $this.$armorType0 ? 0 : 1; } } return var$2; }, nms_SlotArmor_getBackgroundIconIndex = $this => { let var$1; a: { switch ($this.$armorType0) { case 0: nms_Item_$callClinit(); var$1 = nms_Item_helmetDiamond.$field_94604_cx; break a; case 1: nms_Item_$callClinit(); var$1 = nms_Item_plateDiamond.$field_94604_cx; break a; case 2: nms_Item_$callClinit(); var$1 = nms_Item_legsDiamond.$field_94604_cx; break a; case 3: nms_Item_$callClinit(); var$1 = nms_Item_bootsDiamond.$field_94604_cx; break a; default: } var$1 = null; } return var$1; }; function nms_EntityAIBase() { jl_Object.call(this); this.$mutexBits = 0; } let nms_EntityAIBase_continueExecuting = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: $tmp = $this.$shouldExecute(); if ($rt_suspending()) { break main; } var$1 = $tmp; return var$1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_EntityAIBase_isInterruptible = $this => { return 1; }, nms_EntityAIBase_startExecuting = $this => { return; }, nms_EntityAIBase_resetTask = $this => { return; }, nms_EntityAIBase_updateTask = $this => { return; }, nms_EntityAIBase_setMutexBits = ($this, $par1) => { $this.$mutexBits = $par1; }, nms_EntityAIBase_getMutexBits = $this => { return $this.$mutexBits; }; function nms_EntityAISwimming() { nms_EntityAIBase.call(this); this.$theEntity2 = null; } let nms_EntityAISwimming_shouldExecute = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; a: { var$1 = $this.$theEntity2; if (!var$1.$inWater) { var$2 = var$1.$worldObj; var$1 = var$1.$boundingBox; var$3 = var$1.$minX + 0.10000000149011612; var$4 = var$1.$minY + 0.4000000059604645; var$5 = var$1.$minZ + 0.10000000149011612; var$6 = var$1.$maxX + (-0.10000000149011612); var$7 = var$1.$maxY + (-0.4000000059604645); var$8 = var$1.$maxZ + (-0.10000000149011612); var$1 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$9 = var$1.$nextPoolIndex; var$10 = var$1.$listAABB; var$11 = var$10.$size0; var$12 = $rt_compare(var$9, var$11); if (var$12 >= 0) { var$13 = new nms_AxisAlignedBB; var$13.$minX = var$3; var$13.$minY = var$4; var$13.$minZ = var$5; var$13.$maxX = var$6; var$13.$maxY = var$7; var$13.$maxZ = var$8; ju_ArrayList_ensureCapacity(var$10, var$11 + 1 | 0); var$14 = var$10.$array.data; var$12 = var$10.$size0; var$10.$size0 = var$12 + 1 | 0; var$14[var$12] = var$13; var$10.$modCount = var$10.$modCount + 1 | 0; } else if (var$9 >= 0 && var$12 < 0) { var$13 = var$10.$array.data[var$9]; var$13.$minX = var$3; var$13.$minY = var$4; var$13.$minZ = var$5; var$13.$maxX = var$6; var$13.$maxY = var$7; var$13.$maxZ = var$8; } else { var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } var$1.$nextPoolIndex = var$1.$nextPoolIndex + 1 | 0; nms_Material_$callClinit(); if (!nms_World_isMaterialInBB(var$2, var$13, nms_Material_lava)) { var$9 = 0; break a; } } var$9 = 1; } return var$9; }, nms_EntityAISwimming_updateTask = $this => { let var$1, var$2, var$3; var$1 = $this.$theEntity2; var$2 = var$1.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; if (Long_lo(Long_shru(var$3, 24)) / 1.6777216E7 < 0.800000011920929) var$1.$jumpHelper.$isJumping0 = 1; }; function nms_EntityAICreeperSwell() { let a = this; nms_EntityAIBase.call(a); a.$swellingCreeper = null; a.$creeperAttackTarget = null; } let nms_EntityAICreeperSwell_shouldExecute = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$1 = $this.$swellingCreeper; $var1 = var$1.$attackTarget; var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$4 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$6 = var$1.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; a: { b: { if (var$1.$watchedObject.$value2 <= 0) { if ($var1 === null) break b; var$1 = $this.$swellingCreeper; var$7 = var$1.$posX - $var1.$posX; var$8 = var$1.$posY - $var1.$posY; var$9 = var$1.$posZ - $var1.$posZ; if (var$7 * var$7 + var$8 * var$8 + var$9 * var$9 >= 9.0) break b; } var$10 = 1; break a; } var$10 = 0; } return var$10; }, nms_EntityAICreeperSwell_startExecuting = $this => { let var$1; var$1 = $this.$swellingCreeper; var$1.$navigator.$currentPath = null; $this.$creeperAttackTarget = var$1.$attackTarget; }, nms_EntityAICreeperSwell_resetTask = $this => { $this.$creeperAttackTarget = null; }, nms_EntityAICreeperSwell_updateTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$creeperAttackTarget; if (var$1 === null) { var$1 = $this.$swellingCreeper.$dataWatcher; var$2 = jl_Byte_byteCache.data[127]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = var$3 === null ? null : var$3.$value1; var$3 = var$7.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$2.$value2 ? 1 : 0)) { var$7.$watchedObject = var$2; var$7.$watched = 1; var$1.$objectChanged = 1; } } else { var$3 = $this.$swellingCreeper; var$8 = var$3.$posX - var$1.$posX; var$9 = var$3.$posY - var$1.$posY; var$10 = var$3.$posZ - var$1.$posZ; if (var$8 * var$8 + var$9 * var$9 + var$10 * var$10 > 49.0) { var$1 = var$3.$dataWatcher; var$2 = jl_Byte_byteCache.data[127]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = var$3 === null ? null : var$3.$value1; var$3 = var$7.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$2.$value2 ? 1 : 0)) { var$7.$watchedObject = var$2; var$7.$watched = 1; var$1.$objectChanged = 1; } } else { var$7 = var$3.$senses; var$3 = var$7.$seenEntities; var$11 = 0; var$5 = var$3.$modCount; var$12 = var$3.$size(); a: { while (true) { if (!(var$11 >= var$12 ? 0 : 1)) { var$13 = 0; break a; } if (var$5 < var$3.$modCount) break; var$14 = var$11 + 1 | 0; var$4 = var$3.$get(var$11); if (var$4 === var$1 ? 1 : var$4 !== null ? var$4.$equals(var$1) : var$1 !== null ? 0 : 1) { var$13 = 1; break a; } var$11 = var$14; } var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if (var$13) var$13 = 1; else { var$3 = var$7.$unseenEntities; var$11 = 0; var$5 = var$3.$modCount; var$12 = var$3.$size(); b: { while (true) { if (!(var$11 >= var$12 ? 0 : 1)) { var$13 = 0; break b; } if (var$5 < var$3.$modCount) break; var$14 = var$11 + 1 | 0; var$4 = var$3.$get(var$11); if (var$4 === var$1 ? 1 : var$4 !== null ? var$4.$equals(var$1) : var$1 !== null ? 0 : 1) { var$13 = 1; break b; } var$11 = var$14; } var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if (!var$13) { var$3 = var$7.$entityObj1; $ptr = 1; continue main; } var$13 = 0; } if (var$13) { var$1 = $this.$swellingCreeper.$dataWatcher; var$2 = jl_Byte_byteCache.data[129]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = var$3 === null ? null : var$3.$value1; var$3 = var$7.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$2.$value2 ? 1 : 0)) { var$7.$watchedObject = var$2; var$7.$watched = 1; var$1.$objectChanged = 1; } } else { var$1 = $this.$swellingCreeper.$dataWatcher; var$2 = jl_Byte_byteCache.data[127]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = var$3 === null ? null : var$3.$value1; var$3 = var$7.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$2.$value2 ? 1 : 0)) { var$7.$watchedObject = var$2; var$7.$watched = 1; var$1.$objectChanged = 1; } } } } return; case 1: $tmp = nms_EntityLivingBase_canEntityBeSeen(var$3, var$1); if ($rt_suspending()) { break main; } var$13 = $tmp; if (!var$13) { var$3 = var$7.$unseenEntities; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$6[var$5] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; } else { var$3 = var$7.$seenEntities; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$6[var$5] = var$1; var$3.$modCount = var$3.$modCount + 1 | 0; } if (var$13) { var$1 = $this.$swellingCreeper.$dataWatcher; var$2 = jl_Byte_byteCache.data[129]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = var$3 === null ? null : var$3.$value1; var$3 = var$7.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$2.$value2 ? 1 : 0)) { var$7.$watchedObject = var$2; var$7.$watched = 1; var$1.$objectChanged = 1; } } else { var$1 = $this.$swellingCreeper.$dataWatcher; var$2 = jl_Byte_byteCache.data[127]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[144]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = var$3 === null ? null : var$3.$value1; var$3 = var$7.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$2.$value2 ? 1 : 0)) { var$7.$watchedObject = var$2; var$7.$watched = 1; var$1.$objectChanged = 1; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }; function nms_EntityAIAvoidEntity() { let a = this; nms_EntityAIBase.call(a); a.$field_98218_a = null; a.$theEntity3 = null; a.$farSpeed = 0.0; a.$nearSpeed = 0.0; a.$closestLivingEntity = null; a.$distanceFromEntity = 0.0; a.$entityPathEntity = null; a.$entityPathNavigate = null; a.$targetEntityClass = null; } let nms_EntityAIAvoidEntity_shouldExecute = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, $var2, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var2 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$targetEntityClass; if (var$1 === $rt_cls(nms_EntityPlayer)) { $var1 = $this.$theEntity3; if ($var1 instanceof nms_EntityTameable) { $var1 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$1 = jl_Integer_integerCache.data[144]; if (var$1 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$3 = var$1.$value0; var$4 = $var1.$elementData.data; $var1 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$3) { var$5 = $var1.$key; if (var$1 !== var$5 && !(var$1 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; if (!($var1.$watchedObject.$value2 & 4) ? 0 : 1) return 0; } $var1 = $this.$theEntity3; var$1 = $var1.$worldObj; var$6 = $this.$distanceFromEntity; $var1 = nms_World_getClosestPlayer(var$1, $var1.$posX, $var1.$posY, $var1.$posZ, var$6); $this.$closestLivingEntity = $var1; if ($var1 === null) return 0; $var1 = $this.$theEntity3; var$5 = $var1.$worldObj.$vecPool; var$1 = $this.$closestLivingEntity; var$1 = nms_Vec3Pool_getVecFromPool(var$5, var$1.$posX, var$1.$posY, var$1.$posZ); nms_RandomPositionGenerator_$callClinit(); var$5 = nms_RandomPositionGenerator_staticVector; var$5.$xCoord = $var1.$posX - var$1.$xCoord; var$5.$yCoord = $var1.$posY - var$1.$yCoord; var$5.$zCoord = $var1.$posZ - var$1.$zCoord; $var2 = nms_RandomPositionGenerator_findRandomTargetBlock($var1, 16, 7, var$5); if ($var2 === null) return 0; $var1 = $this.$closestLivingEntity; var$6 = $var2.$xCoord; var$8 = $var2.$yCoord; var$9 = $var2.$zCoord; var$10 = $var1.$posX; var$11 = var$10 - var$6; var$12 = $var1.$posY; var$13 = var$12 - var$8; var$14 = $var1.$posZ; var$15 = var$14 - var$9; var$13 = var$11 * var$11 + var$13 * var$13 + var$15 * var$15; $var1 = $this.$theEntity3; var$11 = var$10 - $var1.$posX; var$10 = var$12 - $var1.$posY; var$12 = var$14 - $var1.$posZ; if (var$13 < var$11 * var$11 + var$10 * var$10 + var$12 * var$12) return 0; a: { b: { $var1 = $this.$entityPathNavigate; var$1 = $var1.$theEntity; if (!var$1.$onGround) { if (!$var1.$canSwim) break b; if (!(!var$1.$isInWater() && !$var1.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$3 = 1; break a; } var$3 = 0; } if (!var$3) $var1 = null; else { var$1 = $var1.$worldObj3; var$5 = $var1.$theEntity; var$16 = var$6 | 0; if (var$6 < var$16) var$16 = var$16 - 1 | 0; var$3 = var$8 | 0; var$17 = var$9 | 0; if (var$9 < var$17) var$17 = var$17 - 1 | 0; var$18 = $var1.$pathSearchRange; if (var$18.$field_111133_g) { var$18.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$18); var$18.$field_111133_g = 0; } $var1 = nms_World_getEntityPathToXYZ(var$1, var$5, var$16, var$3, var$17, var$18.$field_111139_h, $var1.$canPassOpenWoodenDoors, $var1.$canPassClosedWoodenDoors, $var1.$avoidsWater, $var1.$canSwim); } $this.$entityPathEntity = $var1; if ($var1 === null) var$3 = 0; else { var$16 = $var1.$pathLength; $var1 = var$16 <= 0 ? null : $var1.$points.data[var$16 - 1 | 0]; var$3 = $var1 === null ? 0 : $var1.$xCoord1 == ($var2.$xCoord | 0) && $var1.$zCoord1 == ($var2.$zCoord | 0) ? 1 : 0; } return var$3; } $var1 = $this.$theEntity3; var$5 = $var1.$worldObj; $var1 = $var1.$boundingBox; var$8 = $this.$distanceFromEntity; var$11 = $var1.$minX - var$8; var$10 = $var1.$minY - 3.0; var$12 = $var1.$minZ - var$8; var$13 = $var1.$maxX + var$8; var$6 = $var1.$maxY + 3.0; var$8 = $var1.$maxZ + var$8; var$18 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$3 = var$18.$nextPoolIndex; $var1 = var$18.$listAABB; var$19 = $var1.$size0; var$16 = $rt_compare(var$3, var$19); if (var$16 >= 0) { $var2 = new nms_AxisAlignedBB; $var2.$minX = var$11; $var2.$minY = var$10; $var2.$minZ = var$12; $var2.$maxX = var$13; $var2.$maxY = var$6; $var2.$maxZ = var$8; ju_ArrayList_ensureCapacity($var1, var$19 + 1 | 0); var$4 = $var1.$array.data; var$16 = $var1.$size0; $var1.$size0 = var$16 + 1 | 0; var$4[var$16] = $var2; $var1.$modCount = $var1.$modCount + 1 | 0; } else if (var$3 >= 0 && var$16 < 0) { $var2 = $var1.$array.data[var$3]; $var2.$minX = var$11; $var2.$minY = var$10; $var2.$minZ = var$12; $var2.$maxX = var$13; $var2.$maxY = var$6; $var2.$maxZ = var$8; } else { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } var$18.$nextPoolIndex = var$18.$nextPoolIndex + 1 | 0; $var1 = $this.$field_98218_a; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB(var$5, var$1, $var2, $var1); if ($rt_suspending()) { break main; } $var1 = $tmp; var$16 = $var1.$size0; if (var$16 ? 0 : 1) return 0; if (0 >= var$16) { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $this.$closestLivingEntity = $var1.$array.data[0]; $var1 = $this.$theEntity3; var$5 = $var1.$worldObj.$vecPool; var$1 = $this.$closestLivingEntity; var$1 = nms_Vec3Pool_getVecFromPool(var$5, var$1.$posX, var$1.$posY, var$1.$posZ); nms_RandomPositionGenerator_$callClinit(); var$5 = nms_RandomPositionGenerator_staticVector; var$5.$xCoord = $var1.$posX - var$1.$xCoord; var$5.$yCoord = $var1.$posY - var$1.$yCoord; var$5.$zCoord = $var1.$posZ - var$1.$zCoord; $var2 = nms_RandomPositionGenerator_findRandomTargetBlock($var1, 16, 7, var$5); if ($var2 === null) return 0; $var1 = $this.$closestLivingEntity; var$6 = $var2.$xCoord; var$8 = $var2.$yCoord; var$9 = $var2.$zCoord; var$10 = $var1.$posX; var$11 = var$10 - var$6; var$12 = $var1.$posY; var$13 = var$12 - var$8; var$14 = $var1.$posZ; var$15 = var$14 - var$9; var$13 = var$11 * var$11 + var$13 * var$13 + var$15 * var$15; $var1 = $this.$theEntity3; var$11 = var$10 - $var1.$posX; var$10 = var$12 - $var1.$posY; var$12 = var$14 - $var1.$posZ; if (var$13 < var$11 * var$11 + var$10 * var$10 + var$12 * var$12) return 0; c: { d: { $var1 = $this.$entityPathNavigate; var$1 = $var1.$theEntity; if (!var$1.$onGround) { if (!$var1.$canSwim) break d; if (!(!var$1.$isInWater() && !$var1.$theEntity.$handleLavaMovement() ? 0 : 1)) break d; } var$3 = 1; break c; } var$3 = 0; } if (!var$3) $var1 = null; else { var$1 = $var1.$worldObj3; var$5 = $var1.$theEntity; var$16 = var$6 | 0; if (var$6 < var$16) var$16 = var$16 - 1 | 0; var$3 = var$8 | 0; var$17 = var$9 | 0; if (var$9 < var$17) var$17 = var$17 - 1 | 0; var$18 = $var1.$pathSearchRange; if (var$18.$field_111133_g) { var$18.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$18); var$18.$field_111133_g = 0; } $var1 = nms_World_getEntityPathToXYZ(var$1, var$5, var$16, var$3, var$17, var$18.$field_111139_h, $var1.$canPassOpenWoodenDoors, $var1.$canPassClosedWoodenDoors, $var1.$avoidsWater, $var1.$canSwim); } $this.$entityPathEntity = $var1; if ($var1 === null) var$3 = 0; else { var$16 = $var1.$pathLength; $var1 = var$16 <= 0 ? null : $var1.$points.data[var$16 - 1 | 0]; var$3 = $var1 === null ? 0 : $var1.$xCoord1 == ($var2.$xCoord | 0) && $var1.$zCoord1 == ($var2.$zCoord | 0) ? 1 : 0; } return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, var$3, var$4, var$5, var$6, $var2, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_EntityAIAvoidEntity_continueExecuting = $this => { let var$1; var$1 = $this.$entityPathNavigate.$currentPath; return (var$1 !== null && !(var$1.$currentPathIndex < var$1.$pathLength ? 0 : 1) ? 0 : 1) ? 0 : 1; }, nms_EntityAIAvoidEntity_startExecuting = $this => { nms_PathNavigate_setPath($this.$entityPathNavigate, $this.$entityPathEntity, $this.$farSpeed); }, nms_EntityAIAvoidEntity_resetTask = $this => { $this.$closestLivingEntity = null; }, nms_EntityAIAvoidEntity_updateTask = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$theEntity3; var$2 = $this.$closestLivingEntity; var$3 = var$1.$posX - var$2.$posX; var$4 = var$1.$posY - var$2.$posY; var$5 = var$1.$posZ - var$2.$posZ; if (var$3 * var$3 + var$4 * var$4 + var$5 * var$5 >= 49.0) var$1.$navigator.$speed2 = $this.$farSpeed; else var$1.$navigator.$speed2 = $this.$nearSpeed; }; function nms_EntityAIAttackOnCollide() { let a = this; nms_EntityAIBase.call(a); a.$worldObj8 = null; a.$attacker = null; a.$attackTick = 0; a.$field_75440_e = 0.0; a.$longMemory = 0; a.$entityPathEntity0 = null; a.$classTarget = null; a.$field_75445_i = 0; } let nms_EntityAIAttackOnCollide_shouldExecute = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7; $var1 = $this.$attacker.$attackTarget; if ($var1 === null) return 0; a: { if (!$var1.$isDead) { var$2 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } if ((var$2 === null ? null : var$2.$value1).$watchedObject.$value3 > 0.0) { var$4 = 1; break a; } } var$4 = 0; } if (!var$4) return 0; var$2 = $this.$classTarget; if (var$2 !== null) { var$6 = $var1.constructor; if (var$6 === null) var$3 = null; else { var$3 = var$6.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$6; var$6.classObject = var$3; } } if (!otp_Platform_isAssignable(var$3.$platformClass, var$2.$platformClass)) return 0; } b: { c: { var$7 = $this.$attacker.$navigator; var$2 = var$7.$theEntity; if (!var$2.$onGround) { if (!var$7.$canSwim) break c; if (!(!var$2.$isInWater() && !var$7.$theEntity.$handleLavaMovement() ? 0 : 1)) break c; } var$4 = 1; break b; } var$4 = 0; } if (!var$4) var$2 = null; else { var$2 = var$7.$worldObj3; var$3 = var$7.$theEntity; var$6 = var$7.$pathSearchRange; if (var$6.$field_111133_g) { var$6.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$6); var$6.$field_111133_g = 0; } var$2 = nms_World_getPathEntityToEntity(var$2, var$3, $var1, var$6.$field_111139_h, var$7.$canPassOpenWoodenDoors, var$7.$canPassClosedWoodenDoors, var$7.$avoidsWater, var$7.$canSwim); } $this.$entityPathEntity0 = var$2; return var$2 === null ? 0 : 1; }, nms_EntityAIAttackOnCollide_continueExecuting = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; $var1 = $this.$attacker.$attackTarget; if ($var1 === null) var$2 = 0; else { a: { if (!$var1.$isDead) { var$3 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[134]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !jl_Integer_equals(var$4, var$7) ? 0 : 1) break; } var$3 = var$3.$next3; } } if ((var$3 === null ? null : var$3.$value1).$watchedObject.$value3 > 0.0) { var$2 = 1; break a; } } var$2 = 0; } if (!var$2) var$2 = 0; else if (!$this.$longMemory) { var$3 = $this.$attacker.$navigator.$currentPath; var$2 = (var$3 !== null && !(var$3.$currentPathIndex < var$3.$pathLength ? 0 : 1) ? 0 : 1) ? 0 : 1; } else { var$3 = $this.$attacker; var$8 = $var1.$posX; var$5 = var$8 | 0; if (var$8 < var$5) var$5 = var$5 - 1 | 0; var$8 = $var1.$posY; var$9 = var$8 | 0; if (var$8 < var$9) var$9 = var$9 - 1 | 0; var$8 = $var1.$posZ; var$10 = var$8 | 0; if (var$8 < var$10) var$10 = var$10 - 1 | 0; var$11 = var$3.$maximumHomeDistance; if (var$11 === (-1.0)) var$2 = 1; else { var$3 = var$3.$homePosition; var$12 = var$3.$posX0 - var$5 | 0; var$13 = var$3.$posY0 - var$9 | 0; var$14 = var$3.$posZ0 - var$10 | 0; var$2 = var$12 * var$12 + var$13 * var$13 + var$14 * var$14 >= var$11 * var$11 ? 0 : 1; } } } return var$2; }, nms_EntityAIAttackOnCollide_startExecuting = $this => { nms_PathNavigate_setPath($this.$attacker.$navigator, $this.$entityPathEntity0, $this.$field_75440_e); $this.$field_75445_i = 0; }, nms_EntityAIAttackOnCollide_resetTask = $this => { $this.$attacker.$navigator.$currentPath = null; }, nms_EntityAIAttackOnCollide_updateTask = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var2, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var2 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { var$1 = $this.$attacker; $var1 = var$1.$attackTarget; nms_EntityLookHelper_setLookPositionWithEntity(var$1.$lookHelper, $var1, 30.0, 30.0); if (!$this.$longMemory) { var$3 = $this.$attacker.$senses; var$1 = var$3.$seenEntities; var$4 = 0; var$5 = var$1.$modCount; var$6 = var$1.$size(); b: { while (true) { if (!(var$4 >= var$6 ? 0 : 1)) { var$7 = 0; break b; } if (var$5 < var$1.$modCount) break; var$8 = var$4 + 1 | 0; var$9 = var$1.$get(var$4); if (var$9 === $var1 ? 1 : var$9 !== null ? var$9.$equals($var1) : $var1 !== null ? 0 : 1) { var$7 = 1; break b; } var$4 = var$8; } var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if (var$7) var$7 = 1; else { var$1 = var$3.$unseenEntities; var$4 = 0; var$5 = var$1.$modCount; var$6 = var$1.$size(); c: { while (true) { if (!(var$4 >= var$6 ? 0 : 1)) { var$7 = 0; break c; } if (var$5 < var$1.$modCount) break; var$8 = var$4 + 1 | 0; var$9 = var$1.$get(var$4); if (var$9 === $var1 ? 1 : var$9 !== null ? var$9.$equals($var1) : $var1 !== null ? 0 : 1) { var$7 = 1; break c; } var$4 = var$8; } var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if (!var$7) { var$1 = var$3.$entityObj1; $ptr = 2; continue main; } var$7 = 0; } if (!var$7) break a; } var$7 = $this.$field_75445_i - 1 | 0; $this.$field_75445_i = var$7; if (var$7 <= 0) { var$1 = $this.$attacker; var$3 = var$1.$rand; var$10 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); while (true) { var$4 = var$6 % 7 | 0; if (((var$6 - var$4 | 0) + 6 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); } d: { e: { $this.$field_75445_i = 4 + var$4 | 0; var$11 = var$1.$navigator; var$12 = $this.$field_75440_e; var$1 = var$11.$theEntity; if (!var$1.$onGround) { if (!var$11.$canSwim) break e; if (!(!var$1.$isInWater() && !var$11.$theEntity.$handleLavaMovement() ? 0 : 1)) break e; } var$7 = 1; break d; } var$7 = 0; } if (!var$7) var$1 = null; else { var$1 = var$11.$worldObj3; var$3 = var$11.$theEntity; var$9 = var$11.$pathSearchRange; if (var$9.$field_111133_g) { var$9.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$9); var$9.$field_111133_g = 0; } var$1 = nms_World_getPathEntityToEntity(var$1, var$3, $var1, var$9.$field_111139_h, var$11.$canPassOpenWoodenDoors, var$11.$canPassClosedWoodenDoors, var$11.$avoidsWater, var$11.$canSwim); } if (var$1 !== null) nms_PathNavigate_setPath(var$11, var$1, var$12); } } var$7 = $this.$attackTick - 1 | 0; var$8 = 0; if (var$7 > var$8) var$8 = var$7; $this.$attackTick = var$8; var$1 = $this.$attacker; var$13 = var$1.$width1; $var2 = var$13 * 2.0 * var$13 * 2.0 + $var1.$width1; var$15 = $var1.$posX; var$16 = $var1.$boundingBox.$minY; var$12 = $var1.$posZ; var$17 = var$1.$posX - var$15; var$15 = var$1.$posY - var$16; var$12 = var$1.$posZ - var$12; if (var$17 * var$17 + var$15 * var$15 + var$12 * var$12 <= $var2 && var$8 <= 0) { $this.$attackTick = 20; if (var$1.$equipment.data[0] !== null) nms_EntityLivingBase_swingItem(var$1); var$1 = $this.$attacker; $ptr = 1; continue main; } return; case 1: var$1.$attackEntityAsMob($var1); if ($rt_suspending()) { break main; } return; case 2: $tmp = nms_EntityLivingBase_canEntityBeSeen(var$1, $var1); if ($rt_suspending()) { break main; } var$7 = $tmp; if (!var$7) { var$1 = var$3.$unseenEntities; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$18 = var$1.$array.data; var$5 = var$1.$size0; var$1.$size0 = var$5 + 1 | 0; var$18[var$5] = $var1; var$1.$modCount = var$1.$modCount + 1 | 0; } else { var$1 = var$3.$seenEntities; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$18 = var$1.$array.data; var$5 = var$1.$size0; var$1.$size0 = var$5 + 1 | 0; var$18[var$5] = $var1; var$1.$modCount = var$1.$modCount + 1 | 0; } if (var$7) { var$7 = $this.$field_75445_i - 1 | 0; $this.$field_75445_i = var$7; if (var$7 <= 0) { var$1 = $this.$attacker; var$3 = var$1.$rand; var$10 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); while (true) { var$4 = var$6 % 7 | 0; if (((var$6 - var$4 | 0) + 6 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$10; var$6 = Long_lo(Long_shru(var$10, 17)); } f: { g: { $this.$field_75445_i = 4 + var$4 | 0; var$11 = var$1.$navigator; var$12 = $this.$field_75440_e; var$1 = var$11.$theEntity; if (!var$1.$onGround) { if (!var$11.$canSwim) break g; if (!(!var$1.$isInWater() && !var$11.$theEntity.$handleLavaMovement() ? 0 : 1)) break g; } var$7 = 1; break f; } var$7 = 0; } if (!var$7) var$1 = null; else { var$1 = var$11.$worldObj3; var$3 = var$11.$theEntity; var$9 = var$11.$pathSearchRange; if (var$9.$field_111133_g) { var$9.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$9); var$9.$field_111133_g = 0; } var$1 = nms_World_getPathEntityToEntity(var$1, var$3, $var1, var$9.$field_111139_h, var$11.$canPassOpenWoodenDoors, var$11.$canPassClosedWoodenDoors, var$11.$avoidsWater, var$11.$canSwim); } if (var$1 !== null) nms_PathNavigate_setPath(var$11, var$1, var$12); } } var$7 = $this.$attackTick - 1 | 0; var$8 = 0; if (var$7 > var$8) var$8 = var$7; $this.$attackTick = var$8; var$1 = $this.$attacker; var$13 = var$1.$width1; $var2 = var$13 * 2.0 * var$13 * 2.0 + $var1.$width1; var$15 = $var1.$posX; var$16 = $var1.$boundingBox.$minY; var$12 = $var1.$posZ; var$17 = var$1.$posX - var$15; var$15 = var$1.$posY - var$16; var$12 = var$1.$posZ - var$12; if (var$17 * var$17 + var$15 * var$15 + var$12 * var$12 <= $var2 && var$8 <= 0) { $this.$attackTick = 20; if (var$1.$equipment.data[0] !== null) nms_EntityLivingBase_swingItem(var$1); var$1 = $this.$attacker; $ptr = 1; continue main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var2, var$15, var$16, var$17, var$18, $ptr); }; function nms_EntityAIWander() { let a = this; nms_EntityAIBase.call(a); a.$entity = null; a.$xPosition17 = 0.0; a.$yPosition14 = 0.0; a.$zPosition11 = 0.0; a.$speed = 0.0; } let nms_EntityAIWander_shouldExecute = $this => { let $var1, var$2, var$3, var$4, var$5; $var1 = $this.$entity; if ($var1.$entityAge >= 100) return 0; var$2 = $var1.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 120 | 0; if (((var$4 - var$5 | 0) + 119 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } if (var$5) return 0; nms_RandomPositionGenerator_$callClinit(); $var1 = nms_RandomPositionGenerator_findRandomTargetBlock($var1, 10, 7, null); if ($var1 === null) return 0; $this.$xPosition17 = $var1.$xCoord; $this.$yPosition14 = $var1.$yCoord; $this.$zPosition11 = $var1.$zCoord; return 1; }, nms_EntityAIWander_continueExecuting = $this => { let var$1; var$1 = $this.$entity.$navigator.$currentPath; return (var$1 !== null && !(var$1.$currentPathIndex < var$1.$pathLength ? 0 : 1) ? 0 : 1) ? 0 : 1; }, nms_EntityAIWander_startExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$1 = $this.$entity.$navigator; var$2 = $this.$xPosition17; var$3 = $this.$yPosition14; var$4 = $this.$zPosition11; var$5 = $this.$speed; var$6 = var$2 | 0; if (var$2 < var$6) var$6 = var$6 - 1 | 0; var$7 = var$6; var$3 = var$3 | 0; var$6 = var$4 | 0; if (var$4 < var$6) var$6 = var$6 - 1 | 0; a: { b: { var$2 = var$6; var$8 = var$1.$theEntity; if (!var$8.$onGround) { if (!var$1.$canSwim) break b; if (!(!var$8.$isInWater() && !var$1.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$9 = 1; break a; } var$9 = 0; } if (!var$9) var$8 = null; else { var$8 = var$1.$worldObj3; var$10 = var$1.$theEntity; var$9 = var$7 | 0; if (var$7 < var$9) var$9 = var$9 - 1 | 0; var$6 = var$3 | 0; var$11 = var$2 | 0; if (var$2 < var$11) var$11 = var$11 - 1 | 0; var$12 = var$1.$pathSearchRange; if (var$12.$field_111133_g) { var$12.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$12); var$12.$field_111133_g = 0; } var$8 = nms_World_getEntityPathToXYZ(var$8, var$10, var$9, var$6, var$11, var$12.$field_111139_h, var$1.$canPassOpenWoodenDoors, var$1.$canPassClosedWoodenDoors, var$1.$avoidsWater, var$1.$canSwim); } nms_PathNavigate_setPath(var$1, var$8, var$5); }; function nms_EntityAIWatchClosest() { let a = this; nms_EntityAIBase.call(a); a.$theWatcher = null; a.$closestEntity = null; a.$maxDistanceForPlayer = 0.0; a.$lookTime = 0; a.$field_75331_e = 0.0; a.$watchedClass = null; } let nms_EntityAIWatchClosest_shouldExecute = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$theWatcher; var$2 = var$1.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; if (Long_lo(Long_shru(var$3, 24)) / 1.6777216E7 >= $this.$field_75331_e) return 0; var$2 = var$1.$attackTarget; if (var$2 !== null) $this.$closestEntity = var$2; var$2 = $this.$watchedClass; if (var$2 === $rt_cls(nms_EntityPlayer)) { var$2 = var$1.$worldObj; var$4 = $this.$maxDistanceForPlayer; $this.$closestEntity = nms_World_getClosestPlayer(var$2, var$1.$posX, var$1.$posY, var$1.$posZ, var$4); return $this.$closestEntity === null ? 0 : 1; } var$5 = var$1.$worldObj; var$1 = var$1.$boundingBox; var$6 = $this.$maxDistanceForPlayer; var$7 = var$1.$minX - var$6; var$8 = var$1.$minY - 3.0; var$9 = var$1.$minZ - var$6; var$10 = var$1.$maxX + var$6; var$4 = var$1.$maxY + 3.0; var$6 = var$1.$maxZ + var$6; var$11 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$12 = var$11.$nextPoolIndex; var$1 = var$11.$listAABB; var$13 = var$1.$size0; var$14 = $rt_compare(var$12, var$13); if (var$14 >= 0) { var$15 = new nms_AxisAlignedBB; var$15.$minX = var$7; var$15.$minY = var$8; var$15.$minZ = var$9; var$15.$maxX = var$10; var$15.$maxY = var$4; var$15.$maxZ = var$6; ju_ArrayList_ensureCapacity(var$1, var$13 + 1 | 0); var$16 = var$1.$array.data; var$14 = var$1.$size0; var$1.$size0 = var$14 + 1 | 0; var$16[var$14] = var$15; var$1.$modCount = var$1.$modCount + 1 | 0; } else if (var$12 >= 0 && var$14 < 0) { var$15 = var$1.$array.data[var$12]; var$15.$minX = var$7; var$15.$minY = var$8; var$15.$minZ = var$9; var$15.$maxX = var$10; var$15.$maxY = var$4; var$15.$maxZ = var$6; } else { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$11.$nextPoolIndex = var$11.$nextPoolIndex + 1 | 0; var$1 = $this.$theWatcher; var$11 = null; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB(var$5, var$2, var$15, var$11); if ($rt_suspending()) { break main; } var$15 = $tmp; var$2 = null; var$4 = 1.7976931348623157E308; var$12 = 0; a: { while (true) { var$14 = $rt_compare(var$12, var$15.$size0); if (var$14 >= 0) break; if (var$12 < 0) break a; if (var$14 >= 0) break a; var$5 = var$15.$array.data[var$12]; if (var$5 !== var$1) { var$6 = var$1.$posX - var$5.$posX; var$7 = var$1.$posY - var$5.$posY; var$8 = var$1.$posZ - var$5.$posZ; var$6 = var$6 * var$6 + var$7 * var$7 + var$8 * var$8; if (var$6 <= var$4) { var$2 = var$5; var$4 = var$6; } } var$12 = var$12 + 1 | 0; } $this.$closestEntity = var$2; return $this.$closestEntity === null ? 0 : 1; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityAIWatchClosest_continueExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; if (!$this.$closestEntity.$isEntityAlive()) var$1 = 0; else { var$2 = $this.$theWatcher; var$3 = $this.$closestEntity; var$4 = var$2.$posX - var$3.$posX; var$5 = var$2.$posY - var$3.$posY; var$6 = var$2.$posZ - var$3.$posZ; var$5 = var$4 * var$4 + var$5 * var$5 + var$6 * var$6; var$7 = $this.$maxDistanceForPlayer; var$1 = var$5 > var$7 * var$7 ? 0 : $this.$lookTime <= 0 ? 0 : 1; } return var$1; }, nms_EntityAIWatchClosest_startExecuting = $this => { let var$1, var$2, var$3, var$4; var$1 = $this.$theWatcher.$rand; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { var$4 = var$3 % 40 | 0; if (((var$3 - var$4 | 0) + 39 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } $this.$lookTime = 40 + var$4 | 0; }, nms_EntityAIWatchClosest_resetTask = $this => { $this.$closestEntity = null; }, nms_EntityAIWatchClosest_updateTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $this.$theWatcher.$lookHelper; var$2 = $this.$closestEntity; var$3 = var$2.$posX; var$4 = var$2.$posY + var$2.$getEyeHeight(); var$5 = $this.$closestEntity.$posZ; var$6 = $this.$theWatcher.$getVerticalFaceSpeed(); var$1.$posX5 = var$3; var$1.$posY5 = var$4; var$1.$posZ4 = var$5; var$1.$deltaLookYaw = 10.0; var$1.$deltaLookPitch = var$6; var$1.$isLooking = 1; $this.$lookTime = $this.$lookTime - 1 | 0; }; function nms_EntityAILookIdle() { let a = this; nms_EntityAIBase.call(a); a.$idleEntity = null; a.$lookX = 0.0; a.$lookZ = 0.0; a.$idleTime = 0; } let nms_EntityAILookIdle_shouldExecute = $this => { let var$1, var$2; var$1 = $this.$idleEntity.$rand; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; return Long_lo(Long_shru(var$2, 24)) / 1.6777216E7 >= 0.019999999552965164 ? 0 : 1; }, nms_EntityAILookIdle_continueExecuting = $this => { return $this.$idleTime < 0 ? 0 : 1; }, nms_EntityAILookIdle_startExecuting = $this => { let var$1, var$2, var$3, $var1, var$5, var$6; var$1 = $this.$idleEntity.$rand; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$2, 22))), 27); var$2 = Long_and(Long_add(Long_mul(var$2, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; $var1 = 6.283185307179586 * Long_toNumber(Long_add(var$3, Long_fromInt(Long_lo(Long_shru(var$2, 21))))) * 1.1102230246251565E-16; $this.$lookX = jl_Math_cos($var1); $this.$lookZ = jl_Math_sin($var1); var$1 = $this.$idleEntity.$rand; var$3 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$3; var$5 = Long_lo(Long_shru(var$3, 17)); while (true) { var$6 = var$5 % 20 | 0; if (((var$5 - var$6 | 0) + 19 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$3; var$5 = Long_lo(Long_shru(var$3, 17)); } $this.$idleTime = 20 + var$6 | 0; }, nms_EntityAILookIdle_updateTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; $this.$idleTime = $this.$idleTime - 1 | 0; var$1 = $this.$idleEntity; var$2 = var$1.$lookHelper; var$3 = var$1.$posX + $this.$lookX; var$4 = var$1.$posY + var$1.$getEyeHeight(); var$1 = $this.$idleEntity; var$5 = var$1.$posZ + $this.$lookZ; var$6 = var$1.$getVerticalFaceSpeed(); var$2.$posX5 = var$3; var$2.$posY5 = var$4; var$2.$posZ4 = var$5; var$2.$deltaLookYaw = 10.0; var$2.$deltaLookPitch = var$6; var$2.$isLooking = 1; }; function nms_EntityAITarget() { let a = this; nms_EntityAIBase.call(a); a.$taskOwner = null; a.$shouldCheckSight = 0; a.$nearbyOnly = 0; a.$targetSearchStatus = 0; a.$targetSearchDelay = 0; a.$field_75298_g = 0; } let nms_EntityAITarget_continueExecuting = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, $var2, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var2 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $this.$taskOwner.$attackTarget; if ($var1 === null) return 0; a: { if (!$var1.$isDead) { var$2 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } if ((var$2 === null ? null : var$2.$value1).$watchedObject.$value3 > 0.0) { var$7 = 1; break a; } } var$7 = 0; } if (!var$7) return 0; $var2 = nms_EntityAITarget_getTargetDistance($this); var$2 = $this.$taskOwner; var$9 = var$2.$posX - $var1.$posX; var$10 = var$2.$posY - $var1.$posY; var$11 = var$2.$posZ - $var1.$posZ; if (var$9 * var$9 + var$10 * var$10 + var$11 * var$11 > $var2 * $var2) return 0; if ($this.$shouldCheckSight) { var$6 = var$2.$senses; var$2 = var$6.$seenEntities; var$7 = 0; var$4 = var$2.$modCount; var$12 = var$2.$size(); b: { while (true) { if (!(var$7 >= var$12 ? 0 : 1)) { var$7 = 0; break b; } if (var$4 < var$2.$modCount) break; var$13 = var$7 + 1 | 0; var$3 = var$2.$get(var$7); if (var$3 === $var1 ? 1 : var$3 !== null ? var$3.$equals($var1) : $var1 !== null ? 0 : 1) { var$7 = 1; break b; } var$7 = var$13; } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } if (var$7) var$7 = 1; else { var$2 = var$6.$unseenEntities; var$7 = 0; var$4 = var$2.$modCount; var$12 = var$2.$size(); c: { while (true) { if (!(var$7 >= var$12 ? 0 : 1)) { var$7 = 0; break c; } if (var$4 < var$2.$modCount) break; var$13 = var$7 + 1 | 0; var$3 = var$2.$get(var$7); if (var$3 === $var1 ? 1 : var$3 !== null ? var$3.$equals($var1) : $var1 !== null ? 0 : 1) { var$7 = 1; break c; } var$7 = var$13; } var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } if (!var$7) { var$2 = var$6.$entityObj1; $ptr = 1; continue main; } var$7 = 0; } if (var$7) $this.$field_75298_g = 0; else { var$7 = $this.$field_75298_g + 1 | 0; $this.$field_75298_g = var$7; if (var$7 > 60) return 0; } } return 1; case 1: $tmp = nms_EntityLivingBase_canEntityBeSeen(var$2, $var1); if ($rt_suspending()) { break main; } var$7 = $tmp; if (!var$7) { var$2 = var$6.$unseenEntities; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$5[var$4] = $var1; var$2.$modCount = var$2.$modCount + 1 | 0; } else { var$2 = var$6.$seenEntities; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$5[var$4] = $var1; var$2.$modCount = var$2.$modCount + 1 | 0; } if (var$7) $this.$field_75298_g = 0; else { var$7 = $this.$field_75298_g + 1 | 0; $this.$field_75298_g = var$7; if (var$7 > 60) return 0; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, $var2, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntityAITarget_getTargetDistance = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$taskOwner; var$2 = nms_SharedMonsterAttributes_followRange; if (var$1.$attributeMap === null) var$1.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = var$1.$attributeMap.$attributes; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { a: { var$3 = var$2.$field_111115_a; if (!var$3.$hashCode1) { var$4 = 0; while (true) { if (var$4 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = var$1.$elementData.data; var$1 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$5) { var$3 = var$1.$key; if (var$2 !== var$3 && !jl_Object_equals(var$2, var$3) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$2 = var$1 === null ? null : var$1.$value1; if (var$2 === null) var$7 = 16.0; else { if (var$2.$field_111133_g) { var$2.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$2); var$2.$field_111133_g = 0; } var$7 = var$2.$field_111139_h; } return var$7; }, nms_EntityAITarget_resetTask = $this => { $this.$taskOwner.$setAttackTarget(null); }, nms_EntityAITarget_isSuitableTarget = ($this, $par1EntityLivingBase, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1EntityLivingBase = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1EntityLivingBase === null) return 0; if ($par1EntityLivingBase === $this.$taskOwner) return 0; a: { if (!$par1EntityLivingBase.$isDead) { var$3 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[134]; if (var$4 !== null) { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !jl_Integer_equals(var$4, var$7) ? 0 : 1) break; } var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } if ((var$3 === null ? null : var$3.$value1).$watchedObject.$value3 > 0.0) { var$8 = 1; break a; } } var$8 = 0; } if (!var$8) return 0; var$3 = $this.$taskOwner; var$4 = $par1EntityLivingBase.constructor; if (var$4 === null) var$7 = null; else { var$7 = var$4.classObject; if (var$7 === null) { var$7 = new jl_Class; var$7.$platformClass = var$4; var$4.classObject = var$7; } } if (!var$3.$canAttackClass(var$7)) return 0; b: { var$3 = $this.$taskOwner; if ($rt_isInstance(var$3, nms_EntityOwnable)) { var$3 = var$3.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[145]; if (var$4 === null) { var$7 = var$3.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$9 = var$4.$value0; var$6 = var$3.$elementData.data; var$7 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { var$3 = var$7.$key; if (var$4 !== var$3 && !(var$4 !== var$3 ? (var$3 instanceof jl_Integer && var$3.$value0 == var$9 ? 1 : 0) : 1) ? 0 : 1) break; } var$7 = var$7.$next3; } } if ((var$7 === null ? null : var$7.$value1).$watchedObject !== null) { if ($rt_isInstance($par1EntityLivingBase, nms_EntityOwnable)) { var$3 = $this.$taskOwner.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[145]; if (var$7 !== null) { $par2 = var$7.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[$par2 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == $par2) { var$4 = var$3.$key; if (var$7 !== var$4 && !(var$7 !== var$4 ? (var$4 instanceof jl_Integer && var$4.$value0 == $par2 ? 1 : 0) : 1) ? 0 : 1) break; } var$3 = var$3.$next3; } } else { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } var$7 = (var$3 === null ? null : var$3.$value1).$watchedObject; var$3 = $par1EntityLivingBase.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[145]; if (var$10 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$9 = var$10.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$9) { var$4 = var$3.$key; if (var$10 !== var$4 && !(var$10 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$3 = (var$3 === null ? null : var$3.$value1).$watchedObject; if (var$7 === var$3) $par2 = 1; else if (!(var$3 instanceof jl_String)) $par2 = 0; else { var$3 = var$3; $par2 = var$7.$nativeString !== var$3.$nativeString ? 0 : 1; } if ($par2) return 0; } var$3 = $this.$taskOwner; var$7 = var$3.$worldObj; var$3 = var$3.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[145]; if (var$10 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$9 = jl_Integer_hashCode(var$10.$value0); var$6 = var$3.$elementData.data; var$3 = var$6[var$9 & (var$6.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$10, var$3.$key))) { var$3 = var$3.$next3; } } var$10 = (var$3 === null ? null : var$3.$value1).$watchedObject; $par2 = 0; c: { while (true) { var$3 = var$7.$playerEntities; var$8 = $rt_compare($par2, var$3.$size0); if (var$8 >= 0) { var$3 = null; break c; } if ($par2 < 0) break; if (var$8 >= 0) break; var$3 = var$3.$array.data[$par2].$username; if (var$10 === var$3) var$8 = 1; else if (!(var$3 instanceof jl_String)) var$8 = 0; else { var$3 = var$3; var$8 = var$10.$nativeString !== var$3.$nativeString ? 0 : 1; } if (var$8) { var$3 = var$7.$playerEntities; if ($par2 >= 0 && $par2 < var$3.$size0) { var$3 = var$3.$array.data[$par2]; break c; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1EntityLivingBase); $rt_throw($par1EntityLivingBase); } $par2 = $par2 + 1 | 0; } $par1EntityLivingBase = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1EntityLivingBase); $rt_throw($par1EntityLivingBase); } if ($par1EntityLivingBase !== var$3) break b; return 0; } } if ($par1EntityLivingBase instanceof nms_EntityPlayer && !$par2 && $par1EntityLivingBase.$capabilities.$disableDamage) return 0; } var$3 = $this.$taskOwner; var$11 = $par1EntityLivingBase.$posX; var$5 = var$11 | 0; if (var$11 < var$5) var$5 = var$5 - 1 | 0; var$11 = $par1EntityLivingBase.$posY; var$9 = var$11 | 0; if (var$11 < var$9) var$9 = var$9 - 1 | 0; var$11 = $par1EntityLivingBase.$posZ; var$8 = var$11 | 0; if (var$11 < var$8) var$8 = var$8 - 1 | 0; var$12 = var$3.$maximumHomeDistance; if (var$12 === (-1.0)) $par2 = 1; else { var$7 = var$3.$homePosition; var$13 = var$7.$posX0 - var$5 | 0; var$14 = var$7.$posY0 - var$9 | 0; var$15 = var$7.$posZ0 - var$8 | 0; $par2 = var$13 * var$13 + var$14 * var$14 + var$15 * var$15 >= var$12 * var$12 ? 0 : 1; } if (!$par2) return 0; if ($this.$shouldCheckSight) { var$3 = var$3.$senses; var$7 = var$3.$seenEntities; var$16 = 0; var$9 = var$7.$modCount; var$5 = var$7.$size(); d: { while (true) { if (!(var$16 >= var$5 ? 0 : 1)) { $par2 = 0; break d; } if (var$9 < var$7.$modCount) break; var$8 = var$16 + 1 | 0; var$4 = var$7.$get(var$16); if (var$4 === $par1EntityLivingBase ? 1 : var$4 !== null ? var$4.$equals($par1EntityLivingBase) : $par1EntityLivingBase !== null ? 0 : 1) { $par2 = 1; break d; } var$16 = var$8; } $par1EntityLivingBase = new ju_ConcurrentModificationException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityLivingBase); $rt_throw($par1EntityLivingBase); } if ($par2) $par2 = 1; else { var$7 = var$3.$unseenEntities; var$16 = 0; var$9 = var$7.$modCount; var$5 = var$7.$size(); e: { while (true) { if (!(var$16 >= var$5 ? 0 : 1)) { $par2 = 0; break e; } if (var$9 < var$7.$modCount) break; var$8 = var$16 + 1 | 0; var$4 = var$7.$get(var$16); if (var$4 === $par1EntityLivingBase ? 1 : var$4 !== null ? var$4.$equals($par1EntityLivingBase) : $par1EntityLivingBase !== null ? 0 : 1) { $par2 = 1; break e; } var$16 = var$8; } $par1EntityLivingBase = new ju_ConcurrentModificationException; $par1EntityLivingBase.$suppressionEnabled = 1; $par1EntityLivingBase.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityLivingBase); $rt_throw($par1EntityLivingBase); } if (!$par2) { var$7 = var$3.$entityObj1; $ptr = 1; continue main; } $par2 = 0; } if (!$par2) return 0; } if ($this.$nearbyOnly) { $par2 = $this.$targetSearchDelay - 1 | 0; $this.$targetSearchDelay = $par2; if ($par2 <= 0) $this.$targetSearchStatus = 0; if (!$this.$targetSearchStatus) $this.$targetSearchStatus = !nms_EntityAITarget_canEasilyReach($this, $par1EntityLivingBase) ? 2 : 1; if ($this.$targetSearchStatus == 2) return 0; } return 1; case 1: $tmp = nms_EntityLivingBase_canEntityBeSeen(var$7, $par1EntityLivingBase); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) { var$3 = var$3.$unseenEntities; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$9 = var$3.$size0; var$3.$size0 = var$9 + 1 | 0; var$6[var$9] = $par1EntityLivingBase; var$3.$modCount = var$3.$modCount + 1 | 0; } else { var$3 = var$3.$seenEntities; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$9 = var$3.$size0; var$3.$size0 = var$9 + 1 | 0; var$6[var$9] = $par1EntityLivingBase; var$3.$modCount = var$3.$modCount + 1 | 0; } if (!$par2) return 0; if ($this.$nearbyOnly) { $par2 = $this.$targetSearchDelay - 1 | 0; $this.$targetSearchDelay = $par2; if ($par2 <= 0) $this.$targetSearchStatus = 0; if (!$this.$targetSearchStatus) $this.$targetSearchStatus = !nms_EntityAITarget_canEasilyReach($this, $par1EntityLivingBase) ? 2 : 1; if ($this.$targetSearchStatus == 2) return 0; } return 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityLivingBase, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_EntityAITarget_canEasilyReach = ($this, $par1EntityLivingBase) => { let $var3, $var2, var$4, var$5, var$6, var$7, $var4, var$9, $var5, var$11, var$12; $var3 = $this.$taskOwner; $var2 = $var3.$rand; var$4 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); while (true) { var$6 = var$5 % 5 | 0; if (((var$5 - var$6 | 0) + 4 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } a: { b: { $this.$targetSearchDelay = 10 + var$6 | 0; var$7 = $var3.$navigator; $var3 = var$7.$theEntity; if (!$var3.$onGround) { if (!var$7.$canSwim) break b; if (!(!$var3.$isInWater() && !var$7.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } $var4 = 1; break a; } $var4 = 0; } if (!$var4) $var2 = null; else { $var3 = var$7.$worldObj3; $var2 = var$7.$theEntity; var$9 = var$7.$pathSearchRange; if (var$9.$field_111133_g) { var$9.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$9); var$9.$field_111133_g = 0; } $var2 = nms_World_getPathEntityToEntity($var3, $var2, $par1EntityLivingBase, var$9.$field_111139_h, var$7.$canPassOpenWoodenDoors, var$7.$canPassClosedWoodenDoors, var$7.$avoidsWater, var$7.$canSwim); } if ($var2 === null) return 0; $var5 = $var2.$pathLength; $var3 = $var5 <= 0 ? null : $var2.$points.data[$var5 - 1 | 0]; if ($var3 === null) return 0; $var4 = $var3.$xCoord1; var$11 = $par1EntityLivingBase.$posX; var$12 = var$11 | 0; if (var$11 < var$12) var$12 = var$12 - 1 | 0; $var4 = $var4 - var$12 | 0; $var5 = $var3.$zCoord1; var$11 = $par1EntityLivingBase.$posZ; var$5 = var$11 | 0; if (var$11 < var$5) var$5 = var$5 - 1 | 0; $var5 = $var5 - var$5 | 0; return ($rt_imul($var4, $var4) + $rt_imul($var5, $var5) | 0) > 2.25 ? 0 : 1; }; function nms_EntityAINearestAttackableTarget() { let a = this; nms_EntityAITarget.call(a); a.$targetClass = null; a.$targetChance = 0; a.$theNearestAttackableTargetSorter = null; a.$targetEntitySelector = null; a.$targetEntity1 = null; } let nms_EntityAINearestAttackableTarget_shouldExecute = $this => { let var$1, $var3, var$3, var$4, var$5, var$6, $var1, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var1 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$targetChance; if (var$1 > 0) { $var3 = $this.$taskOwner.$rand; var$3 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); var$5 = var$1 - 1 | 0; if (!(var$1 & var$5)) var$6 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$1), Long_fromInt(var$4)), 31)); else while (true) { var$6 = var$4 % var$1 | 0; if (((var$4 - var$6 | 0) + var$5 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul($var3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var3.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } if (var$6) return 0; } $var1 = nms_EntityAITarget_getTargetDistance($this); $var3 = $this.$taskOwner; var$8 = $var3.$worldObj; var$9 = $this.$targetClass; $var3 = $var3.$boundingBox; var$10 = $var3.$minX - $var1; var$11 = $var3.$minY - 4.0; var$12 = $var3.$minZ - $var1; var$13 = $var3.$maxX + $var1; var$14 = $var3.$maxY + 4.0; $var1 = $var3.$maxZ + $var1; $var3 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$5 = $var3.$nextPoolIndex; var$15 = $var3.$listAABB; var$1 = var$15.$size0; var$4 = $rt_compare(var$5, var$1); if (var$4 >= 0) { var$16 = new nms_AxisAlignedBB; var$16.$minX = var$10; var$16.$minY = var$11; var$16.$minZ = var$12; var$16.$maxX = var$13; var$16.$maxY = var$14; var$16.$maxZ = $var1; ju_ArrayList_ensureCapacity(var$15, var$1 + 1 | 0); var$17 = var$15.$array.data; var$5 = var$15.$size0; var$15.$size0 = var$5 + 1 | 0; var$17[var$5] = var$16; var$15.$modCount = var$15.$modCount + 1 | 0; } else if (var$5 >= 0 && var$4 < 0) { var$16 = var$15.$array.data[var$5]; var$16.$minX = var$10; var$16.$minY = var$11; var$16.$minZ = var$12; var$16.$maxX = var$13; var$16.$maxY = var$14; var$16.$maxZ = $var1; } else { $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } $var3.$nextPoolIndex = $var3.$nextPoolIndex + 1 | 0; $var3 = $this.$targetEntitySelector; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB(var$8, var$9, var$16, $var3); if ($rt_suspending()) { break main; } $var3 = $tmp; var$8 = $this.$theNearestAttackableTargetSorter; if (var$8 === null) var$8 = ju_Comparator$NaturalOrder_INSTANCE; var$17 = $rt_createArray(jl_Object, $var3.$size0); var$18 = var$17.data; ju_AbstractCollection_toArray($var3, var$17); ju_Arrays_sort(var$17, var$8); var$1 = 0; var$5 = var$18.length; while (true) { if (var$1 >= var$5) { var$5 = $var3.$size0; if (var$5 ? 0 : 1) return 0; if (0 < var$5) { $this.$targetEntity1 = $var3.$array.data[0]; return 1; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } var$8 = var$18[var$1]; if (var$1 < 0) break; if (var$1 >= $var3.$size0) break; $var3.$array.data[var$1] = var$8; var$1 = var$1 + 1 | 0; } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var3, var$3, var$4, var$5, var$6, $var1, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityAINearestAttackableTarget_startExecuting = $this => { $this.$taskOwner.$setAttackTarget($this.$targetEntity1); $this.$targetSearchStatus = 0; $this.$targetSearchDelay = 0; $this.$field_75298_g = 0; }; function nms_EntityAIHurtByTarget() { let a = this; nms_EntityAITarget.call(a); a.$entityCallsForHelp = 0; a.$field_142052_b = 0; } let nms_EntityAIHurtByTarget_shouldExecute = $this => { let var$1, var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$taskOwner; if (var$1.$revengeTimer == $this.$field_142052_b) return 0; var$1 = var$1.$entityLivingToAttack; var$2 = 0; $ptr = 1; case 1: $tmp = nms_EntityAITarget_isSuitableTarget($this, var$1, var$2); if ($rt_suspending()) { break main; } var$2 = $tmp; return !var$2 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $ptr); }, nms_EntityAIHurtByTarget_startExecuting = $this => { let $var5, var$2, var$3, var$4, $var1, $var3, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var4$index, $var4$index_0, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var4$index_0 = $thread.pop();$var4$index = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();$var1 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var5 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $this.$taskOwner; $var5.$setAttackTarget($var5.$entityLivingToAttack); $var5 = $this.$taskOwner; $this.$field_142052_b = $var5.$revengeTimer; if (!$this.$entityCallsForHelp) { $this.$targetSearchStatus = 0; $this.$targetSearchDelay = 0; $this.$field_75298_g = 0; return; } var$2 = nms_SharedMonsterAttributes_followRange; if ($var5.$attributeMap === null) $var5.$attributeMap = nms_ServersideAttributeMap__init_(); $var5 = $var5.$attributeMap.$attributes; if (var$2 === null) { $var5 = $var5.$elementData.data[0]; while ($var5 !== null && $var5.$key !== null) { $var5 = $var5.$next3; } } else { var$3 = jl_String_hashCode(var$2.$field_111115_a); var$4 = $var5.$elementData.data; $var5 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var5 !== null && !($var5.$origKeyHash == var$3 && ju_HashMap_areEqualKeys(var$2, $var5.$key))) { $var5 = $var5.$next3; } } $var5 = $var5 === null ? null : $var5.$value1; if ($var5 === null) $var1 = 16.0; else { if ($var5.$field_111133_g) { $var5.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g($var5); $var5.$field_111133_g = 0; } $var1 = $var5.$field_111139_h; } $var5 = $this.$taskOwner; var$2 = $var5.$worldObj; $var5 = $var5.constructor; if ($var5 === null) $var3 = null; else { $var3 = $var5.classObject; if ($var3 === null) { $var3 = new jl_Class; $var3.$platformClass = $var5; $var5.classObject = $var3; } } var$7 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var5 = $this.$taskOwner; var$8 = $var5.$posX; var$9 = $var5.$posY; var$10 = $var5.$posZ; var$11 = var$8 + 1.0; var$12 = var$9 + 1.0; var$13 = var$10 + 1.0; $var4$index = var$7.$nextPoolIndex; $var5 = var$7.$listAABB; $var4$index_0 = $var5.$size0; var$3 = $rt_compare($var4$index, $var4$index_0); if (var$3 >= 0) { var$16 = new nms_AxisAlignedBB; var$16.$minX = var$8; var$16.$minY = var$9; var$16.$minZ = var$10; var$16.$maxX = var$11; var$16.$maxY = var$12; var$16.$maxZ = var$13; ju_ArrayList_ensureCapacity($var5, $var4$index_0 + 1 | 0); var$4 = $var5.$array.data; $var4$index = $var5.$size0; $var5.$size0 = $var4$index + 1 | 0; var$4[$var4$index] = var$16; $var5.$modCount = $var5.$modCount + 1 | 0; } else if ($var4$index >= 0 && var$3 < 0) { var$16 = $var5.$array.data[$var4$index]; var$16.$minX = var$8; var$16.$minY = var$9; var$16.$minZ = var$10; var$16.$maxX = var$11; var$16.$maxY = var$12; var$16.$maxZ = var$13; } else { $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } var$7.$nextPoolIndex = var$7.$nextPoolIndex + 1 | 0; var$8 = var$16.$minX - $var1; var$9 = var$16.$minY - 10.0; var$10 = var$16.$minZ - $var1; var$11 = var$16.$maxX + $var1; var$13 = var$16.$maxY + 10.0; $var1 = var$16.$maxZ + $var1; var$16 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var4$index_0 = var$16.$nextPoolIndex; $var5 = var$16.$listAABB; var$3 = $var5.$size0; $var4$index = $rt_compare($var4$index_0, var$3); if ($var4$index >= 0) { var$7 = new nms_AxisAlignedBB; var$7.$minX = var$8; var$7.$minY = var$9; var$7.$minZ = var$10; var$7.$maxX = var$11; var$7.$maxY = var$13; var$7.$maxZ = $var1; ju_ArrayList_ensureCapacity($var5, var$3 + 1 | 0); var$4 = $var5.$array.data; $var4$index = $var5.$size0; $var5.$size0 = $var4$index + 1 | 0; var$4[$var4$index] = var$7; $var5.$modCount = $var5.$modCount + 1 | 0; } else if ($var4$index_0 >= 0 && $var4$index < 0) { var$7 = $var5.$array.data[$var4$index_0]; var$7.$minX = var$8; var$7.$minY = var$9; var$7.$minZ = var$10; var$7.$maxX = var$11; var$7.$maxY = var$13; var$7.$maxZ = $var1; } else { $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var5); $rt_throw($var5); } var$16.$nextPoolIndex = var$16.$nextPoolIndex + 1 | 0; $var5 = null; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB(var$2, $var3, var$7, $var5); if ($rt_suspending()) { break main; } $var3 = $tmp; $var4$index_0 = 0; var$3 = $var3.$modCount; var$17 = $var3.$size(); while ($var4$index_0 >= var$17 ? 0 : 1) { if (var$3 < $var3.$modCount) { $var5 = new ju_ConcurrentModificationException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); } $var4$index = $var4$index_0 + 1 | 0; $var5 = $var3.$get($var4$index_0); var$2 = $this.$taskOwner; if (var$2 !== $var5 && $var5.$attackTarget === null && !$var5.$isOnSameTeam(var$2.$entityLivingToAttack)) $var5.$setAttackTarget($this.$taskOwner.$entityLivingToAttack); $var4$index_0 = $var4$index; } $this.$targetSearchStatus = 0; $this.$targetSearchDelay = 0; $this.$field_75298_g = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var5, var$2, var$3, var$4, $var1, $var3, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var4$index, $var4$index_0, var$16, var$17, $ptr); }; function nms_EntityAIArrowAttack() { let a = this; nms_EntityAIBase.call(a); a.$entityHost = null; a.$rangedAttackEntityHost = null; a.$attackTarget0 = null; a.$rangedAttackTime = 0; a.$entityMoveSpeed = 0.0; a.$field_75318_f = 0; a.$field_96561_g = 0; a.$maxRangedAttackTime = 0; a.$field_96562_i = 0.0; a.$field_82642_h = 0.0; } let nms_EntityAIArrowAttack_shouldExecute = $this => { let $var1; $var1 = $this.$entityHost.$attackTarget; if ($var1 === null) return 0; $this.$attackTarget0 = $var1; return 1; }, nms_EntityAIArrowAttack_continueExecuting = $this => { let var$1, var$2, var$3; var$1 = $this.$entityHost; var$2 = var$1.$attackTarget; if (var$2 === null) var$3 = 0; else { $this.$attackTarget0 = var$2; var$3 = 1; } a: { if (!var$3) { var$1 = var$1.$navigator.$currentPath; if (var$1 !== null && !(var$1.$currentPathIndex < var$1.$pathLength ? 0 : 1) ? 0 : 1) { var$3 = 0; break a; } } var$3 = 1; } return var$3; }, nms_EntityAIArrowAttack_resetTask = $this => { $this.$attackTarget0 = null; $this.$field_75318_f = 0; $this.$rangedAttackTime = (-1); }, nms_EntityAIArrowAttack_updateTask = $this => { let var$1, var$2, var$3, $var1, var$5, var$6, var$7, var$8, var$9, var$10, $var3, var$12, var$13, $var4, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var4 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var3 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var1 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$entityHost; var$2 = $this.$attackTarget0; var$3 = var$2.$posX; $var1 = var$2.$boundingBox.$minY; var$5 = var$2.$posZ; var$3 = var$1.$posX - var$3; $var1 = var$1.$posY - $var1; var$5 = var$1.$posZ - var$5; $var1 = var$3 * var$3 + $var1 * $var1 + var$5 * var$5; var$6 = var$1.$senses; var$1 = var$6.$seenEntities; var$7 = 0; var$8 = var$1.$modCount; var$9 = var$1.$size(); a: { while (true) { if (!(var$7 >= var$9 ? 0 : 1)) { var$10 = 0; break a; } if (var$8 < var$1.$modCount) break; $var3 = var$7 + 1 | 0; var$12 = var$1.$get(var$7); if (var$12 === var$2 ? 1 : var$12 !== null ? var$12.$equals(var$2) : var$2 !== null ? 0 : 1) { var$10 = 1; break a; } var$7 = $var3; } var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if (var$10) $var3 = 1; else { var$1 = var$6.$unseenEntities; var$7 = 0; var$8 = var$1.$modCount; var$9 = var$1.$size(); b: { while (true) { if (!(var$7 >= var$9 ? 0 : 1)) { var$10 = 0; break b; } if (var$8 < var$1.$modCount) break; $var3 = var$7 + 1 | 0; var$12 = var$1.$get(var$7); if (var$12 === var$2 ? 1 : var$12 !== null ? var$12.$equals(var$2) : var$2 !== null ? 0 : 1) { var$10 = 1; break b; } var$7 = $var3; } var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if (!var$10) { var$1 = var$6.$entityObj1; $ptr = 1; continue main; } $var3 = 0; } if (!$var3) $this.$field_75318_f = 0; else $this.$field_75318_f = $this.$field_75318_f + 1 | 0; if ($var1 <= $this.$field_82642_h && $this.$field_75318_f >= 20) $this.$entityHost.$navigator.$currentPath = null; else { c: { d: { var$6 = $this.$entityHost.$navigator; var$1 = $this.$attackTarget0; var$5 = $this.$entityMoveSpeed; var$2 = var$6.$theEntity; if (!var$2.$onGround) { if (!var$6.$canSwim) break d; if (!(!var$2.$isInWater() && !var$6.$theEntity.$handleLavaMovement() ? 0 : 1)) break d; } var$10 = 1; break c; } var$10 = 0; } if (!var$10) var$1 = null; else { var$2 = var$6.$worldObj3; var$12 = var$6.$theEntity; var$13 = var$6.$pathSearchRange; if (var$13.$field_111133_g) { var$13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$13); var$13.$field_111133_g = 0; } var$1 = nms_World_getPathEntityToEntity(var$2, var$12, var$1, var$13.$field_111139_h, var$6.$canPassOpenWoodenDoors, var$6.$canPassClosedWoodenDoors, var$6.$avoidsWater, var$6.$canSwim); } if (var$1 !== null) nms_PathNavigate_setPath(var$6, var$1, var$5); } nms_EntityLookHelper_setLookPositionWithEntity($this.$entityHost.$lookHelper, $this.$attackTarget0, 30.0, 30.0); var$10 = $this.$rangedAttackTime - 1 | 0; $this.$rangedAttackTime = var$10; if (var$10) { if (var$10 < 0) { $var4 = jl_Math_sqrt($var1) / $this.$field_96562_i; var$10 = $this.$maxRangedAttackTime; $var3 = $this.$field_96561_g; $var4 = $var4 * (var$10 - $var3 | 0) + $var3; var$10 = $var4 | 0; if ($var4 < var$10) var$10 = var$10 - 1 | 0; $this.$rangedAttackTime = var$10; } return; } if ($var1 <= $this.$field_82642_h && $var3) { $var4 = jl_Math_sqrt($var1) / $this.$field_96562_i; var$15 = $var4 < 0.10000000149011612 ? 0.10000000149011612 : $var4; if (var$15 > 1.0) var$15 = 1.0; var$1 = $this.$rangedAttackEntityHost; var$2 = $this.$attackTarget0; $ptr = 2; continue main; } return; case 1: $tmp = nms_EntityLivingBase_canEntityBeSeen(var$1, var$2); if ($rt_suspending()) { break main; } $var3 = $tmp; if (!$var3) { var$1 = var$6.$unseenEntities; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$16 = var$1.$array.data; var$8 = var$1.$size0; var$1.$size0 = var$8 + 1 | 0; var$16[var$8] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; } else { var$1 = var$6.$seenEntities; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$16 = var$1.$array.data; var$8 = var$1.$size0; var$1.$size0 = var$8 + 1 | 0; var$16[var$8] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; } if (!$var3) $this.$field_75318_f = 0; else $this.$field_75318_f = $this.$field_75318_f + 1 | 0; if ($var1 <= $this.$field_82642_h && $this.$field_75318_f >= 20) $this.$entityHost.$navigator.$currentPath = null; else { e: { f: { var$6 = $this.$entityHost.$navigator; var$1 = $this.$attackTarget0; var$5 = $this.$entityMoveSpeed; var$2 = var$6.$theEntity; if (!var$2.$onGround) { if (!var$6.$canSwim) break f; if (!(!var$2.$isInWater() && !var$6.$theEntity.$handleLavaMovement() ? 0 : 1)) break f; } var$10 = 1; break e; } var$10 = 0; } if (!var$10) var$1 = null; else { var$2 = var$6.$worldObj3; var$12 = var$6.$theEntity; var$13 = var$6.$pathSearchRange; if (var$13.$field_111133_g) { var$13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$13); var$13.$field_111133_g = 0; } var$1 = nms_World_getPathEntityToEntity(var$2, var$12, var$1, var$13.$field_111139_h, var$6.$canPassOpenWoodenDoors, var$6.$canPassClosedWoodenDoors, var$6.$avoidsWater, var$6.$canSwim); } if (var$1 !== null) nms_PathNavigate_setPath(var$6, var$1, var$5); } nms_EntityLookHelper_setLookPositionWithEntity($this.$entityHost.$lookHelper, $this.$attackTarget0, 30.0, 30.0); var$10 = $this.$rangedAttackTime - 1 | 0; $this.$rangedAttackTime = var$10; if (var$10) { if (var$10 < 0) { $var4 = jl_Math_sqrt($var1) / $this.$field_96562_i; var$10 = $this.$maxRangedAttackTime; $var3 = $this.$field_96561_g; $var4 = $var4 * (var$10 - $var3 | 0) + $var3; var$10 = $var4 | 0; if ($var4 < var$10) var$10 = var$10 - 1 | 0; $this.$rangedAttackTime = var$10; } return; } if ($var1 <= $this.$field_82642_h && $var3) { $var4 = jl_Math_sqrt($var1) / $this.$field_96562_i; var$15 = $var4 < 0.10000000149011612 ? 0.10000000149011612 : $var4; if (var$15 > 1.0) var$15 = 1.0; var$1 = $this.$rangedAttackEntityHost; var$2 = $this.$attackTarget0; $ptr = 2; continue main; } return; case 2: var$1.$attackEntityWithRangedAttack(var$2, var$15); if ($rt_suspending()) { break main; } var$10 = $this.$maxRangedAttackTime; $var3 = $this.$field_96561_g; $var4 = $var4 * (var$10 - $var3 | 0) + $var3; var$10 = $var4 | 0; if ($var4 < var$10) var$10 = var$10 - 1 | 0; $this.$rangedAttackTime = var$10; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $var1, var$5, var$6, var$7, var$8, var$9, var$10, $var3, var$12, var$13, $var4, var$15, var$16, $ptr); }; function nms_EntityAIRestrictSun() { nms_EntityAIBase.call(this); this.$theEntity11 = null; } let nms_EntityAIRestrictSun_shouldExecute = $this => { return $this.$theEntity11.$worldObj.$skylightSubtracted >= 4 ? 0 : 1; }, nms_EntityAIRestrictSun_startExecuting = $this => { $this.$theEntity11.$navigator.$noSunPathfind = 1; }, nms_EntityAIRestrictSun_resetTask = $this => { $this.$theEntity11.$navigator.$noSunPathfind = 0; }; function nms_EntityAIFleeSun() { let a = this; nms_EntityAIBase.call(a); a.$theCreature = null; a.$shelterX = 0.0; a.$shelterY = 0.0; a.$shelterZ = 0.0; a.$movementSpeed1 = 0.0; a.$theWorld3 = null; } let nms_EntityAIFleeSun_shouldExecute = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; if (!($this.$theWorld3.$skylightSubtracted >= 4 ? 0 : 1)) return 0; a: { b: { $var1 = $this.$theCreature; if (!$var1.$isImmuneToFire) { if ($var1.$fire > 0) break b; $var1 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[128]; if (var$2 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$3 = var$2.$value0; var$4 = $var1.$elementData.data; $var1 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$3) { var$5 = $var1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; if (!($var1.$watchedObject.$value2 & 1) ? 0 : 1) break b; } var$3 = 0; break a; } var$3 = 1; } if (!var$3) return 0; $var1 = $this.$theWorld3; var$2 = $this.$theCreature; var$6 = var$2.$posX; var$7 = var$6 | 0; if (var$6 < var$7) var$7 = var$7 - 1 | 0; var$3 = var$2.$boundingBox.$minY | 0; var$6 = var$2.$posZ; var$8 = var$6 | 0; if (var$6 < var$8) var$8 = var$8 - 1 | 0; var$9 = var$7 >> 4; var$10 = var$8 >> 4; $var1 = $var1.$chunkProvider; var$2 = $var1.$chunkMapping; var$11 = Long_or(Long_and(Long_fromInt(var$9), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$10), Long_create(4294967295, 0)), 32)); var$10 = Long_lo(Long_xor(var$11, Long_shru(var$11, 32))); var$9 = var$10 ^ (var$10 >>> 20 | 0) ^ (var$10 >>> 12 | 0); var$10 = var$9 ^ (var$9 >>> 7 | 0) ^ (var$9 >>> 4 | 0); var$4 = var$2.$hashArray.data; var$2 = var$4[var$10 & (var$4.length - 1 | 0)]; c: { while (var$2 !== null) { if (Long_eq(var$2.$key1, var$11)) { var$2 = var$2.$value6; break c; } var$2 = var$2.$nextEntry0; } var$2 = null; } var$2 = var$2; if (var$2 === null) var$2 = $var1.$blankChunk; if (!var$2.$canBlockSeeTheSky(var$7 & 15, var$3, var$8 & 15)) return 0; $var1 = nms_EntityAIFleeSun_findPossibleShelter($this); if ($var1 === null) return 0; $this.$shelterX = $var1.$xCoord; $this.$shelterY = $var1.$yCoord; $this.$shelterZ = $var1.$zCoord; return 1; }, nms_EntityAIFleeSun_continueExecuting = $this => { let var$1; var$1 = $this.$theCreature.$navigator.$currentPath; return (var$1 !== null && !(var$1.$currentPathIndex < var$1.$pathLength ? 0 : 1) ? 0 : 1) ? 0 : 1; }, nms_EntityAIFleeSun_startExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$1 = $this.$theCreature.$navigator; var$2 = $this.$shelterX; var$3 = $this.$shelterY; var$4 = $this.$shelterZ; var$5 = $this.$movementSpeed1; var$6 = var$2 | 0; if (var$2 < var$6) var$6 = var$6 - 1 | 0; var$7 = var$6; var$3 = var$3 | 0; var$6 = var$4 | 0; if (var$4 < var$6) var$6 = var$6 - 1 | 0; a: { b: { var$2 = var$6; var$8 = var$1.$theEntity; if (!var$8.$onGround) { if (!var$1.$canSwim) break b; if (!(!var$8.$isInWater() && !var$1.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$9 = 1; break a; } var$9 = 0; } if (!var$9) var$8 = null; else { var$8 = var$1.$worldObj3; var$10 = var$1.$theEntity; var$9 = var$7 | 0; if (var$7 < var$9) var$9 = var$9 - 1 | 0; var$6 = var$3 | 0; var$11 = var$2 | 0; if (var$2 < var$11) var$11 = var$11 - 1 | 0; var$12 = var$1.$pathSearchRange; if (var$12.$field_111133_g) { var$12.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$12); var$12.$field_111133_g = 0; } var$8 = nms_World_getEntityPathToXYZ(var$8, var$10, var$9, var$6, var$11, var$12.$field_111139_h, var$1.$canPassOpenWoodenDoors, var$1.$canPassClosedWoodenDoors, var$1.$avoidsWater, var$1.$canSwim); } nms_PathNavigate_setPath(var$1, var$8, var$5); }, nms_EntityAIFleeSun_findPossibleShelter = $this => { let $var1, $var2, var$3, var$4, var$5, $var4, $var3, var$8, var$9, $var5, var$11, var$12, var$13, var$14; $var1 = $this.$theCreature.$rand; $var2 = 0; while ($var2 < 10) { var$3 = $this.$theCreature; var$4 = var$3.$posX; var$5 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$5; $var4 = Long_lo(Long_shru(var$5, 17)); while (true) { $var3 = $var4 % 20 | 0; if ((($var4 - $var3 | 0) + 19 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$5; $var4 = Long_lo(Long_shru(var$5, 17)); } var$4 = var$4 + $var3 - 10.0; $var3 = var$4 | 0; if (var$4 < $var3) $var3 = $var3 - 1 | 0; var$4 = var$3.$boundingBox.$minY; var$5 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$5; $var4 = Long_lo(Long_shru(var$5, 17)); while (true) { var$8 = $var4 % 6 | 0; if ((($var4 - var$8 | 0) + 5 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$5; $var4 = Long_lo(Long_shru(var$5, 17)); } var$4 = var$4 + var$8 - 3.0; $var4 = var$4 | 0; if (var$4 < $var4) $var4 = $var4 - 1 | 0; var$4 = var$3.$posZ; var$5 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$5; var$8 = Long_lo(Long_shru(var$5, 17)); while (true) { var$9 = var$8 % 20 | 0; if (((var$8 - var$9 | 0) + 19 | 0) >= 0) break; var$5 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$5; var$8 = Long_lo(Long_shru(var$5, 17)); } var$4 = var$4 + var$9 - 10.0; $var5 = var$4 | 0; if (var$4 < $var5) $var5 = $var5 - 1 | 0; var$3 = $this.$theWorld3; var$8 = $var3 >> 4; var$11 = $var5 >> 4; var$3 = var$3.$chunkProvider; var$12 = var$3.$chunkMapping; var$13 = Long_or(Long_and(Long_fromInt(var$8), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$11), Long_create(4294967295, 0)), 32)); var$11 = Long_lo(Long_xor(var$13, Long_shru(var$13, 32))); var$11 = var$11 ^ (var$11 >>> 20 | 0) ^ (var$11 >>> 12 | 0); var$8 = var$11 ^ (var$11 >>> 7 | 0) ^ (var$11 >>> 4 | 0); var$14 = var$12.$hashArray.data; var$12 = var$14[var$8 & (var$14.length - 1 | 0)]; a: { while (var$12 !== null) { if (Long_eq(var$12.$key1, var$13)) { var$12 = var$12.$value6; break a; } var$12 = var$12.$nextEntry0; } var$12 = null; } var$12 = var$12; if (var$12 === null) var$12 = var$3.$blankChunk; if (!var$12.$canBlockSeeTheSky($var3 & 15, $var4, $var5 & 15)) { var$3 = $this.$theCreature.$worldObj; if (0.5 - var$3.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do(var$3, $var3, $var4, $var5, 1)] < 0.0) return nms_Vec3Pool_getVecFromPool($this.$theWorld3.$vecPool, $var3, $var4, $var5); } $var2 = $var2 + 1 | 0; } return null; }; function nms_EntityAIDoorInteract() { let a = this; nms_EntityAIBase.call(a); a.$theEntity1 = null; a.$entityPosX = 0; a.$entityPosY = 0; a.$entityPosZ = 0; a.$targetDoor = null; a.$hasStoppedDoorInteraction = 0; a.$entityPositionX = 0.0; a.$entityPositionZ = 0.0; } let nms_EntityAIDoorInteract_shouldExecute = $this => { let $var4, $var1, $var2, $var3, var$5, var$6, var$7, var$8, var$9, var$10; $var4 = $this.$theEntity1; if (!$var4.$isCollidedHorizontally) return 0; $var1 = $var4.$navigator; $var2 = $var1.$currentPath; if ($var2 !== null && !($var2.$currentPathIndex < $var2.$pathLength ? 0 : 1) && $var1.$canPassClosedWoodenDoors) { $var3 = 0; while (true) { var$5 = $var2.$currentPathIndex + 2 | 0; var$6 = $var2.$pathLength; if (var$5 < var$6) var$6 = var$5; if ($var3 >= var$6) { $var4 = $this.$theEntity1; var$7 = $var4.$posX; var$8 = var$7 | 0; if (var$7 < var$8) var$8 = var$8 - 1 | 0; $this.$entityPosX = var$8; var$7 = $var4.$posY + 1.0; $var3 = var$7 | 0; if (var$7 < $var3) $var3 = $var3 - 1 | 0; $this.$entityPosY = $var3; var$7 = $var4.$posZ; var$5 = var$7 | 0; if (var$7 < var$5) var$5 = var$5 - 1 | 0; $this.$entityPosZ = var$5; var$5 = nms_World_getBlockId($var4.$worldObj, var$8, $var3, var$5); nms_Block_$callClinit(); $var4 = var$5 != nms_Block_doorWood.$blockID ? null : nms_Block_blocksList.data[var$5]; $this.$targetDoor = $var4; return $var4 === null ? 0 : 1; } $var4 = $var2.$points.data[$var3]; var$5 = $var4.$xCoord1; $this.$entityPosX = var$5; var$8 = $var4.$yCoord1 + 1 | 0; $this.$entityPosY = var$8; var$6 = $var4.$zCoord1; $this.$entityPosZ = var$6; $var4 = $this.$theEntity1; var$7 = var$5; var$9 = $var4.$posY; var$10 = var$6; var$7 = $var4.$posX - var$7; var$9 = var$9 - var$9; var$10 = $var4.$posZ - var$10; if (var$7 * var$7 + var$9 * var$9 + var$10 * var$10 <= 2.25) { var$5 = nms_World_getBlockId($var4.$worldObj, var$5, var$8, var$6); nms_Block_$callClinit(); $var4 = var$5 != nms_Block_doorWood.$blockID ? null : nms_Block_blocksList.data[var$5]; $this.$targetDoor = $var4; if ($var4 !== null) break; } $var3 = $var3 + 1 | 0; } return 1; } return 0; }, nms_EntityAIDoorInteract_startExecuting = $this => { let var$1, var$2; $this.$hasStoppedDoorInteraction = 0; var$1 = $this.$entityPosX + 0.5; var$2 = $this.$theEntity1; $this.$entityPositionX = var$1 - var$2.$posX; $this.$entityPositionZ = $this.$entityPosZ + 0.5 - var$2.$posZ; }, nms_EntityAIDoorInteract_updateTask = $this => { let var$1, var$2, $var1, $var2; var$1 = $this.$entityPosX + 0.5; var$2 = $this.$theEntity1; $var1 = var$1 - var$2.$posX; $var2 = $this.$entityPosZ + 0.5 - var$2.$posZ; if ($this.$entityPositionX * $var1 + $this.$entityPositionZ * $var2 < 0.0) $this.$hasStoppedDoorInteraction = 1; }; function nms_EntityAIBreakDoor() { let a = this; nms_EntityAIDoorInteract.call(a); a.$breakingTime = 0; a.$field_75358_j = 0; } let nms_EntityAIBreakDoor_shouldExecute = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; if (!nms_EntityAIDoorInteract_shouldExecute($this)) var$1 = 0; else { a: { var$2 = $this.$theEntity1.$worldObj.$worldInfo.$theGameRules0.$theGameRules.$root; var$3 = $rt_s(1854); var$4 = $rt_s(1854); if (var$3 !== var$4) { var$5 = var$3.$nativeString.length; var$6 = var$4.$nativeString.length; if (var$5 < var$6) var$6 = var$5; var$5 = 0; b: { while (true) { if (var$5 >= var$6) { var$3.$nativeString.length; var$4.$nativeString.length; break a; } if (var$5 < 0) break b; if (var$5 >= var$3.$nativeString.length) break b; var$7 = var$3.$nativeString.charCodeAt(var$5); if (var$5 < 0) break; if (var$5 >= var$4.$nativeString.length) break; if (var$7 - var$4.$nativeString.charCodeAt(var$5) | 0) break a; var$5 = var$5 + 1 | 0; } var$4 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$4); $rt_throw(var$4); } var$4 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$4); $rt_throw(var$4); } } var$4 = $rt_s(1854); c: { d: { e: while (true) { if (var$2 === null) { var$2 = null; break c; } f: { var$3 = var$2.$key0; if (var$4 === var$3) var$1 = 0; else { var$5 = var$4.$nativeString.length; var$6 = var$3.$nativeString.length; if (var$5 < var$6) var$6 = var$5; var$5 = 0; while (true) { if (var$5 >= var$6) { var$1 = var$4.$nativeString.length - var$3.$nativeString.length | 0; break f; } if (var$5 < 0) break d; if (var$5 >= var$4.$nativeString.length) break d; var$7 = var$4.$nativeString.charCodeAt(var$5); if (var$5 < 0) break e; if (var$5 >= var$3.$nativeString.length) break e; var$1 = var$7 - var$3.$nativeString.charCodeAt(var$5) | 0; if (var$1) break; var$5 = var$5 + 1 | 0; } } } if (!var$1) break c; var$2 = var$1 >= 0 ? var$2.$right : var$2.$left; } var$4 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$4); $rt_throw(var$4); } var$4 = new jl_StringIndexOutOfBoundsException; jl_IndexOutOfBoundsException__init_(var$4); $rt_throw(var$4); } var$4 = var$2 === null ? null : var$2.$value4; var$1 = !(var$4 === null ? 0 : var$4.$valueBoolean) ? 0 : (!(nms_BlockDoor_getFullMetadata($this.$targetDoor, $this.$theEntity1.$worldObj, $this.$entityPosX, $this.$entityPosY, $this.$entityPosZ) & 4) ? 0 : 1) ? 0 : 1; } return var$1; }, nms_EntityAIBreakDoor_startExecuting = $this => { nms_EntityAIDoorInteract_startExecuting($this); $this.$breakingTime = 0; }, nms_EntityAIBreakDoor_continueExecuting = $this => { let var$1, var$2, $var1, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$theEntity1; var$2 = $this.$entityPosX; $var1 = var$2; var$4 = $this.$entityPosY; var$5 = var$4; var$6 = $this.$entityPosZ; var$7 = var$6; $var1 = var$1.$posX - $var1; var$8 = var$1.$posY - var$5; var$7 = var$1.$posZ - var$7; $var1 = $var1 * $var1 + var$8 * var$8 + var$7 * var$7; return $this.$breakingTime <= 240 && !(!(nms_BlockDoor_getFullMetadata($this.$targetDoor, var$1.$worldObj, var$2, var$4, var$6) & 4) ? 0 : 1) && $var1 < 4.0 ? 1 : 0; }, nms_EntityAIBreakDoor_resetTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$theEntity1; var$2 = var$1.$worldObj; var$3 = var$1.$entityId; var$4 = $this.$entityPosX; var$5 = $this.$entityPosY; var$6 = $this.$entityPosZ; var$7 = 0; a: { while (true) { var$1 = var$2.$worldAccesses; var$8 = $rt_compare(var$7, var$1.$size0); if (var$8 >= 0) break; if (var$7 < 0) break a; if (var$8 >= 0) break a; nms_RenderGlobal_destroyBlockPartially(var$1.$array.data[var$7], var$3, var$4, var$5, var$6, (-1)); var$7 = var$7 + 1 | 0; } return; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); }, nms_EntityAIBreakDoor_updateTask = $this => { let var$1, var$2, var$3, var$4, var$5, $var1, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var1 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityAIDoorInteract_updateTask($this); if ($rt_suspending()) { break main; } var$1 = $this.$theEntity1; var$2 = var$1.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { var$5 = var$4 % 20 | 0; if (((var$4 - var$5 | 0) + 19 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } if (!var$5) { var$1 = var$1.$worldObj; $var1 = 1010; var$7 = $this.$entityPosX; var$4 = $this.$entityPosY; var$5 = $this.$entityPosZ; var$8 = 0; var$2 = null; var$9 = 0; var$10 = var$1.$worldAccesses; var$11 = $rt_compare(var$9, var$10.$size0); if (var$11 < 0) { if (var$9 >= 0 && var$11 < 0) { var$10 = var$10.$array.data[var$9]; $ptr = 3; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } } a: { $var1 = $this.$breakingTime + 1 | 0; $this.$breakingTime = $var1; $var1 = $var1 / 240.0 * 10.0 | 0; if ($var1 != $this.$field_75358_j) { var$1 = $this.$theEntity1; var$2 = var$1.$worldObj; var$7 = var$1.$entityId; var$4 = $this.$entityPosX; var$5 = $this.$entityPosY; var$8 = $this.$entityPosZ; var$9 = 0; while (true) { var$1 = var$2.$worldAccesses; var$11 = $rt_compare(var$9, var$1.$size0); if (var$11 >= 0) { $this.$field_75358_j = $var1; break a; } if (var$9 < 0) break; if (var$11 >= 0) break; nms_RenderGlobal_destroyBlockPartially(var$1.$array.data[var$9], var$7, var$4, var$5, var$8, $var1); var$9 = var$9 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } if ($this.$breakingTime == 240) { var$1 = $this.$theEntity1.$worldObj; if (var$1.$difficultySetting == 3) { $var1 = $this.$entityPosX; var$7 = $this.$entityPosY; var$4 = $this.$entityPosZ; var$5 = 0; var$8 = 0; var$9 = 3; $ptr = 2; continue main; } } return; case 2: nms_World_setBlock(var$1, $var1, var$7, var$4, var$5, var$8, var$9); if ($rt_suspending()) { break main; } var$1 = $this.$theEntity1.$worldObj; var$7 = 1012; var$4 = $this.$entityPosX; var$5 = $this.$entityPosY; var$8 = $this.$entityPosZ; $var1 = 0; var$2 = null; var$9 = 0; var$10 = var$1.$worldAccesses; var$11 = $rt_compare(var$9, var$10.$size0); if (var$11 < 0) { if (var$9 >= 0 && var$11 < 0) { var$10 = var$10.$array.data[var$9]; $ptr = 4; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$1 = $this.$theEntity1.$worldObj; $var1 = 2001; var$4 = $this.$entityPosX; var$5 = $this.$entityPosY; var$8 = $this.$entityPosZ; var$9 = $this.$targetDoor.$blockID; var$10 = null; var$11 = 0; var$2 = var$1.$worldAccesses; var$7 = $rt_compare(var$11, var$2.$size0); if (var$7 >= 0) return; if (var$11 >= 0 && var$7 < 0) { var$2 = var$2.$array.data[var$11]; $ptr = 5; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); case 3: nms_RenderGlobal_playAuxSFX(var$10, var$2, $var1, var$7, var$4, var$5, var$8); if ($rt_suspending()) { break main; } var$9 = var$9 + 1 | 0; var$10 = var$1.$worldAccesses; var$11 = $rt_compare(var$9, var$10.$size0); if (var$11 < 0) { if (var$9 >= 0 && var$11 < 0) { var$10 = var$10.$array.data[var$9]; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } a: { $var1 = $this.$breakingTime + 1 | 0; $this.$breakingTime = $var1; $var1 = $var1 / 240.0 * 10.0 | 0; if ($var1 != $this.$field_75358_j) { var$1 = $this.$theEntity1; var$2 = var$1.$worldObj; var$7 = var$1.$entityId; var$4 = $this.$entityPosX; var$5 = $this.$entityPosY; var$8 = $this.$entityPosZ; var$9 = 0; while (true) { var$1 = var$2.$worldAccesses; var$11 = $rt_compare(var$9, var$1.$size0); if (var$11 >= 0) { $this.$field_75358_j = $var1; break a; } if (var$9 < 0) break; if (var$11 >= 0) break; nms_RenderGlobal_destroyBlockPartially(var$1.$array.data[var$9], var$7, var$4, var$5, var$8, $var1); var$9 = var$9 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } } if ($this.$breakingTime == 240) { var$1 = $this.$theEntity1.$worldObj; if (var$1.$difficultySetting == 3) { $var1 = $this.$entityPosX; var$7 = $this.$entityPosY; var$4 = $this.$entityPosZ; var$5 = 0; var$8 = 0; var$9 = 3; $ptr = 2; continue main; } } return; case 4: nms_RenderGlobal_playAuxSFX(var$10, var$2, var$7, var$4, var$5, var$8, $var1); if ($rt_suspending()) { break main; } var$9 = var$9 + 1 | 0; var$10 = var$1.$worldAccesses; var$11 = $rt_compare(var$9, var$10.$size0); if (var$11 < 0) { if (var$9 >= 0 && var$11 < 0) { var$10 = var$10.$array.data[var$9]; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$1 = $this.$theEntity1.$worldObj; $var1 = 2001; var$4 = $this.$entityPosX; var$5 = $this.$entityPosY; var$8 = $this.$entityPosZ; var$9 = $this.$targetDoor.$blockID; var$10 = null; var$11 = 0; var$2 = var$1.$worldAccesses; var$7 = $rt_compare(var$11, var$2.$size0); if (var$7 >= 0) return; if (var$11 >= 0 && var$7 < 0) { var$2 = var$2.$array.data[var$11]; $ptr = 5; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); case 5: nms_RenderGlobal_playAuxSFX(var$2, var$10, $var1, var$4, var$5, var$8, var$9); if ($rt_suspending()) { break main; } var$11 = var$11 + 1 | 0; var$2 = var$1.$worldAccesses; var$7 = $rt_compare(var$11, var$2.$size0); if (var$7 >= 0) return; if (var$11 >= 0 && var$7 < 0) { var$2 = var$2.$array.data[var$11]; continue main; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, $var1, var$7, var$8, var$9, var$10, var$11, $ptr); }; function nms_EntityAIMoveTowardsRestriction() { let a = this; nms_EntityAIBase.call(a); a.$theEntity0 = null; a.$movePosX0 = 0.0; a.$movePosY0 = 0.0; a.$movePosZ0 = 0.0; a.$movementSpeed = 0.0; } let nms_EntityAIMoveTowardsRestriction_shouldExecute = $this => { let $var2, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $var1; $var2 = $this.$theEntity0; var$2 = $var2.$posX; var$3 = var$2 | 0; if (var$2 < var$3) var$3 = var$3 - 1 | 0; var$2 = $var2.$posY; var$4 = var$2 | 0; if (var$2 < var$4) var$4 = var$4 - 1 | 0; var$2 = $var2.$posZ; var$5 = var$2 | 0; if (var$2 < var$5) var$5 = var$5 - 1 | 0; var$6 = $var2.$maximumHomeDistance; if (var$6 === (-1.0)) var$7 = 1; else { var$8 = $var2.$homePosition; var$9 = var$8.$posX0 - var$3 | 0; var$10 = var$8.$posY0 - var$4 | 0; var$11 = var$8.$posZ0 - var$5 | 0; var$7 = var$9 * var$9 + var$10 * var$10 + var$11 * var$11 >= var$6 * var$6 ? 0 : 1; } if (var$7) return 0; $var1 = $var2.$homePosition; var$8 = nms_Vec3Pool_getVecFromPool($var2.$worldObj.$vecPool, $var1.$posX0, $var1.$posY0, $var1.$posZ0); nms_RandomPositionGenerator_$callClinit(); $var1 = nms_RandomPositionGenerator_staticVector; $var1.$xCoord = var$8.$xCoord - $var2.$posX; $var1.$yCoord = var$8.$yCoord - $var2.$posY; $var1.$zCoord = var$8.$zCoord - $var2.$posZ; $var2 = nms_RandomPositionGenerator_findRandomTargetBlock($var2, 16, 7, $var1); if ($var2 === null) return 0; $this.$movePosX0 = $var2.$xCoord; $this.$movePosY0 = $var2.$yCoord; $this.$movePosZ0 = $var2.$zCoord; return 1; }, nms_EntityAIMoveTowardsRestriction_continueExecuting = $this => { let var$1; var$1 = $this.$theEntity0.$navigator.$currentPath; return (var$1 !== null && !(var$1.$currentPathIndex < var$1.$pathLength ? 0 : 1) ? 0 : 1) ? 0 : 1; }, nms_EntityAIMoveTowardsRestriction_startExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$1 = $this.$theEntity0.$navigator; var$2 = $this.$movePosX0; var$3 = $this.$movePosY0; var$4 = $this.$movePosZ0; var$5 = $this.$movementSpeed; var$6 = var$2 | 0; if (var$2 < var$6) var$6 = var$6 - 1 | 0; var$7 = var$6; var$3 = var$3 | 0; var$6 = var$4 | 0; if (var$4 < var$6) var$6 = var$6 - 1 | 0; a: { b: { var$2 = var$6; var$8 = var$1.$theEntity; if (!var$8.$onGround) { if (!var$1.$canSwim) break b; if (!(!var$8.$isInWater() && !var$1.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$9 = 1; break a; } var$9 = 0; } if (!var$9) var$8 = null; else { var$8 = var$1.$worldObj3; var$10 = var$1.$theEntity; var$9 = var$7 | 0; if (var$7 < var$9) var$9 = var$9 - 1 | 0; var$6 = var$3 | 0; var$11 = var$2 | 0; if (var$2 < var$11) var$11 = var$11 - 1 | 0; var$12 = var$1.$pathSearchRange; if (var$12.$field_111133_g) { var$12.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$12); var$12.$field_111133_g = 0; } var$8 = nms_World_getEntityPathToXYZ(var$8, var$10, var$9, var$6, var$11, var$12.$field_111139_h, var$1.$canPassOpenWoodenDoors, var$1.$canPassClosedWoodenDoors, var$1.$avoidsWater, var$1.$canSwim); } nms_PathNavigate_setPath(var$1, var$8, var$5); }; function nms_EntityAIMoveThroughVillage() { let a = this; nms_EntityAIBase.call(a); a.$theEntity4 = null; a.$movementSpeed0 = 0.0; a.$entityPathNavigate0 = null; a.$doorInfo0 = null; a.$isNocturnal = 0; a.$doorList = null; } let nms_EntityAIMoveThroughVillage_shouldExecute = $this => { let $var1, $var3, var$3, var$4, $var2, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; $var1 = $this.$doorList; if ($var1.$size0 > 15) ju_ArrayList_remove($var1, 0); if ($this.$isNocturnal && ($this.$theEntity4.$worldObj.$skylightSubtracted >= 4 ? 0 : 1)) return 0; $var1 = $this.$theEntity4; $var3 = $var1.$worldObj.$villageCollectionObj; var$3 = $var1.$posX; var$4 = var$3 | 0; if (var$3 < var$4) var$4 = var$4 - 1 | 0; var$3 = $var1.$posY; $var2 = var$3 | 0; if (var$3 < $var2) $var2 = $var2 - 1 | 0; var$3 = $var1.$posZ; var$6 = var$3 | 0; if (var$3 < var$6) var$6 = var$6 - 1 | 0; $var1 = nms_VillageCollection_findNearestVillage($var3, var$4, $var2, var$6, 0); if ($var1 === null) return 0; $var1 = nms_EntityAIMoveThroughVillage_func_75412_a($this, $var1); $this.$doorInfo0 = $var1; if ($var1 === null) return 0; a: { b: { var$7 = $this.$theEntity4.$navigator; $var2 = var$7.$canPassClosedWoodenDoors; var$7.$canPassClosedWoodenDoors = 0; var$3 = $var1.$posX4; var$8 = $var1.$posY3; var$9 = $var1.$posZ3; $var1 = var$7.$theEntity; if (!$var1.$onGround) { if (!var$7.$canSwim) break b; if (!(!$var1.$isInWater() && !var$7.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$10 = 1; break a; } var$10 = 0; } if (!var$10) var$7 = null; else { $var1 = var$7.$worldObj3; $var3 = var$7.$theEntity; var$11 = var$3 | 0; if (var$3 < var$11) var$11 = var$11 - 1 | 0; var$10 = var$8 | 0; var$4 = var$9 | 0; if (var$9 < var$4) var$4 = var$4 - 1 | 0; var$12 = var$7.$pathSearchRange; if (var$12.$field_111133_g) { var$12.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$12); var$12.$field_111133_g = 0; } var$7 = nms_World_getEntityPathToXYZ($var1, $var3, var$11, var$10, var$4, var$12.$field_111139_h, var$7.$canPassOpenWoodenDoors, var$7.$canPassClosedWoodenDoors, var$7.$avoidsWater, var$7.$canSwim); } $this.$entityPathNavigate0 = var$7; $var1 = $this.$theEntity4; $var1.$navigator.$canPassClosedWoodenDoors = $var2; if (var$7 !== null) return 1; $var3 = $var1.$worldObj.$vecPool; var$7 = $this.$doorInfo0; $var3 = nms_Vec3Pool_getVecFromPool($var3, var$7.$posX4, var$7.$posY3, var$7.$posZ3); nms_RandomPositionGenerator_$callClinit(); var$7 = nms_RandomPositionGenerator_staticVector; var$7.$xCoord = $var3.$xCoord - $var1.$posX; var$7.$yCoord = $var3.$yCoord - $var1.$posY; var$7.$zCoord = $var3.$zCoord - $var1.$posZ; $var3 = nms_RandomPositionGenerator_findRandomTargetBlock($var1, 10, 7, var$7); if ($var3 === null) return 0; c: { d: { var$12 = $this.$theEntity4.$navigator; var$12.$canPassClosedWoodenDoors = 0; var$3 = $var3.$xCoord; var$8 = $var3.$yCoord; var$9 = $var3.$zCoord; $var1 = var$12.$theEntity; if (!$var1.$onGround) { if (!var$12.$canSwim) break d; if (!(!$var1.$isInWater() && !var$12.$theEntity.$handleLavaMovement() ? 0 : 1)) break d; } var$10 = 1; break c; } var$10 = 0; } if (!var$10) $var3 = null; else { $var1 = var$12.$worldObj3; $var3 = var$12.$theEntity; var$13 = var$3 | 0; if (var$3 < var$13) var$13 = var$13 - 1 | 0; var$10 = var$8 | 0; var$14 = var$9 | 0; if (var$9 < var$14) var$14 = var$14 - 1 | 0; var$7 = var$12.$pathSearchRange; if (var$7.$field_111133_g) { var$7.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$7); var$7.$field_111133_g = 0; } $var3 = nms_World_getEntityPathToXYZ($var1, $var3, var$13, var$10, var$14, var$7.$field_111139_h, var$12.$canPassOpenWoodenDoors, var$12.$canPassClosedWoodenDoors, var$12.$avoidsWater, var$12.$canSwim); } $this.$entityPathNavigate0 = $var3; $this.$theEntity4.$navigator.$canPassClosedWoodenDoors = $var2; return $var3 === null ? 0 : 1; }, nms_EntityAIMoveThroughVillage_continueExecuting = $this => { let var$1, var$2, $var1, var$4, var$5, var$6; var$1 = $this.$theEntity4; var$2 = var$1.$navigator.$currentPath; if (var$2 !== null && !(var$2.$currentPathIndex < var$2.$pathLength ? 0 : 1) ? 0 : 1) return 0; $var1 = var$1.$width1 + 4.0; var$2 = $this.$doorInfo0; var$4 = var$2.$posX4; var$5 = var$2.$posY3; var$6 = var$2.$posZ3; var$4 = var$1.$posX - var$4; var$5 = var$1.$posY - var$5; var$6 = var$1.$posZ - var$6; return var$4 * var$4 + var$5 * var$5 + var$6 * var$6 <= $var1 * $var1 ? 0 : 1; }, nms_EntityAIMoveThroughVillage_startExecuting = $this => { nms_PathNavigate_setPath($this.$theEntity4.$navigator, $this.$entityPathNavigate0, $this.$movementSpeed0); }, nms_EntityAIMoveThroughVillage_resetTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$theEntity4; var$2 = var$1.$navigator.$currentPath; var$3 = var$2 !== null && !(var$2.$currentPathIndex < var$2.$pathLength ? 0 : 1) ? 0 : 1; a: { if (!var$3) { var$2 = $this.$doorInfo0; var$4 = var$2.$posX4; var$5 = var$2.$posY3; var$6 = var$2.$posZ3; var$4 = var$1.$posX - var$4; var$5 = var$1.$posY - var$5; var$6 = var$1.$posZ - var$6; if (var$4 * var$4 + var$5 * var$5 + var$6 * var$6 >= 16.0) break a; } var$1 = $this.$doorList; var$2 = $this.$doorInfo0; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$7 = var$1.$array.data; var$8 = var$1.$size0; var$1.$size0 = var$8 + 1 | 0; var$7[var$8] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; } }, nms_EntityAIMoveThroughVillage_func_75412_a = ($this, $par1Village) => { let $var2, $var3, $var5, $var6, var$6, var$7, var$8, var$9, $var7; $var2 = null; $var3 = 2147483647; $var5 = ($par1Village.$getVillageDoorInfoList()).$iterator(); while ($var5.$hasNext()) { $var6 = $var5.$next(); $par1Village = $this.$theEntity4; var$6 = $par1Village.$posX; var$7 = var$6 | 0; if (var$6 < var$7) var$7 = var$7 - 1 | 0; var$6 = $par1Village.$posY; var$8 = var$6 | 0; if (var$6 < var$8) var$8 = var$8 - 1 | 0; var$6 = $par1Village.$posZ; var$9 = var$6 | 0; if (var$6 < var$9) var$9 = var$9 - 1 | 0; $var7 = $var6.$getDistanceSquared0(var$7, var$8, var$9); if ($var7 < $var3 && !nms_EntityAIMoveThroughVillage_func_75413_a($this, $var6)) { $var2 = $var6; $var3 = $var7; } } return $var2; }, nms_EntityAIMoveThroughVillage_func_75413_a = ($this, $par1VillageDoorInfo) => { let var$2, $var2$index, var$4, var$5, $var2$index_0, $var3; var$2 = $this.$doorList; $var2$index = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); while (true) { if (!($var2$index >= var$5 ? 0 : 1)) return 0; if (var$4 < var$2.$modCount) { $par1VillageDoorInfo = new ju_ConcurrentModificationException; $par1VillageDoorInfo.$suppressionEnabled = 1; $par1VillageDoorInfo.$writableStackTrace = 1; $rt_throw($par1VillageDoorInfo); } $var2$index_0 = $var2$index + 1 | 0; $var3 = var$2.$get($var2$index); if ($par1VillageDoorInfo.$posX4 != $var3.$posX4) { $var2$index = $var2$index_0; continue; } if ($par1VillageDoorInfo.$posY3 != $var3.$posY3) { $var2$index = $var2$index_0; continue; } if ($par1VillageDoorInfo.$posZ3 == $var3.$posZ3) break; $var2$index = $var2$index_0; } return 1; }; function nms_EntityDragonPart() { let a = this; nms_Entity.call(a); a.$entityDragonObj = null; a.$name7 = null; } let nms_EntityDragonPart_entityInit = $this => { return; }, nms_EntityDragonPart_writeEntityToNBT = ($this, $par1NBTTagCompound) => { return; }, nms_EntityDragonPart_canBeCollidedWith = $this => { return 1; }, nms_EntityDragonPart_attackEntityFrom = ($this, $par1DamageSource, $par2) => { let var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1DamageSource = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$invulnerable) return 0; var$3 = $this.$entityDragonObj; $ptr = 1; case 1: $tmp = nms_EntityDragon_attackEntityFromPart(var$3, $this, $par1DamageSource, $par2); if ($rt_suspending()) { break main; } var$4 = $tmp; return var$4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1DamageSource, $par2, var$3, var$4, $ptr); }, nms_EntityDragonPart_isEntityEqual = ($this, $par1Entity) => { return $this !== $par1Entity && $this.$entityDragonObj !== $par1Entity ? 0 : 1; }; function nms_EntityAIPanic() { let a = this; nms_EntityAIBase.call(a); a.$theEntityCreature = null; a.$speed1 = 0.0; a.$randPosX = 0.0; a.$randPosY = 0.0; a.$randPosZ = 0.0; } let nms_EntityAIPanic_shouldExecute = $this => { let $var1, var$2, var$3, var$4, var$5, var$6; $var1 = $this.$theEntityCreature; if ($var1.$entityLivingToAttack === null) { a: { b: { if (!$var1.$isImmuneToFire) { if ($var1.$fire > 0) break b; $var1 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[128]; if (var$2 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$3 = var$2.$value0; var$4 = $var1.$elementData.data; $var1 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$3) { var$5 = $var1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; if (!($var1.$watchedObject.$value2 & 1) ? 0 : 1) break b; } var$6 = 0; break a; } var$6 = 1; } if (!var$6) return 0; } $var1 = $this.$theEntityCreature; nms_RandomPositionGenerator_$callClinit(); $var1 = nms_RandomPositionGenerator_findRandomTargetBlock($var1, 5, 4, null); if ($var1 === null) return 0; $this.$randPosX = $var1.$xCoord; $this.$randPosY = $var1.$yCoord; $this.$randPosZ = $var1.$zCoord; return 1; }, nms_EntityAIPanic_startExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$1 = $this.$theEntityCreature.$navigator; var$2 = $this.$randPosX; var$3 = $this.$randPosY; var$4 = $this.$randPosZ; var$5 = $this.$speed1; var$6 = var$2 | 0; if (var$2 < var$6) var$6 = var$6 - 1 | 0; var$7 = var$6; var$3 = var$3 | 0; var$6 = var$4 | 0; if (var$4 < var$6) var$6 = var$6 - 1 | 0; a: { b: { var$2 = var$6; var$8 = var$1.$theEntity; if (!var$8.$onGround) { if (!var$1.$canSwim) break b; if (!(!var$8.$isInWater() && !var$1.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$9 = 1; break a; } var$9 = 0; } if (!var$9) var$8 = null; else { var$8 = var$1.$worldObj3; var$10 = var$1.$theEntity; var$9 = var$7 | 0; if (var$7 < var$9) var$9 = var$9 - 1 | 0; var$6 = var$3 | 0; var$11 = var$2 | 0; if (var$2 < var$11) var$11 = var$11 - 1 | 0; var$12 = var$1.$pathSearchRange; if (var$12.$field_111133_g) { var$12.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$12); var$12.$field_111133_g = 0; } var$8 = nms_World_getEntityPathToXYZ(var$8, var$10, var$9, var$6, var$11, var$12.$field_111139_h, var$1.$canPassOpenWoodenDoors, var$1.$canPassClosedWoodenDoors, var$1.$avoidsWater, var$1.$canSwim); } nms_PathNavigate_setPath(var$1, var$8, var$5); }, nms_EntityAIPanic_continueExecuting = $this => { let var$1; var$1 = $this.$theEntityCreature.$navigator.$currentPath; return (var$1 !== null && !(var$1.$currentPathIndex < var$1.$pathLength ? 0 : 1) ? 0 : 1) ? 0 : 1; }; function nms_EntityAIControlledByPlayer() { let a = this; nms_EntityAIBase.call(a); a.$thisEntity = null; a.$maxSpeed = 0.0; a.$currentSpeed = 0.0; a.$speedBoosted = 0; a.$speedBoostTime = 0; a.$maxSpeedBoostTime = 0; } let nms_EntityAIControlledByPlayer_startExecuting = $this => { $this.$currentSpeed = 0.0; }, nms_EntityAIControlledByPlayer_resetTask = $this => { $this.$speedBoosted = 0; $this.$currentSpeed = 0.0; }, nms_EntityAIControlledByPlayer_shouldExecute = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; a: { var$1 = $this.$thisEntity; if (!var$1.$isDead) { var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { var$6 = 1; break a; } } var$6 = 0; } b: { c: { if (var$6) { var$1 = $this.$thisEntity.$riddenByEntity; if (var$1 !== null && var$1 instanceof nms_EntityPlayer) { if ($this.$speedBoosted) break c; d: { var$1 = var$1.$getHeldItem(); if (var$1 !== null) { var$6 = var$1.$itemID; nms_Item_$callClinit(); if (var$6 == nms_Item_carrotOnAStick.$itemID0) { var$6 = 1; break d; } } var$6 = 0; } if (var$6) break c; } } var$6 = 0; break b; } var$6 = 1; } return var$6; }, nms_EntityAIControlledByPlayer_updateTask = $this => { let $var24, $var1, $var12, $var14, $var15, $var3, var$7, $var4, $var5, $var6, $var7, $var20, $var21, $var22, $var8, $var25, $var9, $var23, var$19, $var10, $var11, $var16, $var17, $var18, $var19, var$26, var$27, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$19 = $thread.pop();$var23 = $thread.pop();$var9 = $thread.pop();$var25 = $thread.pop();$var8 = $thread.pop();$var22 = $thread.pop();$var21 = $thread.pop();$var20 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var1 = $thread.pop();$var24 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var24 = $this.$thisEntity; $var1 = $var24.$riddenByEntity; $var12 = $var1.$rotationYaw; $var14 = $var24.$rotationYaw; $var15 = ($var12 - $var14) % 360.0; if ($var15 >= 180.0) $var15 = $var15 - 360.0; if ($var15 < (-180.0)) $var15 = $var15 + 360.0; $var3 = $var15 * 0.5; if ($var3 > 5.0) $var3 = 5.0; if ($var3 < (-5.0)) $var3 = (-5.0); $var12 = ($var14 + $var3) % 360.0; if ($var12 >= 180.0) $var12 = $var12 - 360.0; if ($var12 < (-180.0)) $var12 = $var12 + 360.0; $var24.$rotationYaw = $var12; $var12 = $this.$currentSpeed; $var14 = $this.$maxSpeed; if ($var12 < $var14) $this.$currentSpeed = $var12 + ($var14 - $var12) * 0.009999999776482582; if ($this.$currentSpeed > $var14) $this.$currentSpeed = $var14; var$7 = $var24.$posX; $var4 = var$7 | 0; if (var$7 < $var4) $var4 = $var4 - 1 | 0; var$7 = $var24.$posY; $var5 = var$7 | 0; if (var$7 < $var5) $var5 = $var5 - 1 | 0; var$7 = $var24.$posZ; $var6 = var$7 | 0; if (var$7 < $var6) $var6 = $var6 - 1 | 0; $var7 = $this.$currentSpeed; if ($this.$speedBoosted) { $var20 = $this.$speedBoostTime; $var21 = $var20 + 1 | 0; $this.$speedBoostTime = $var21; $var22 = $this.$maxSpeedBoostTime; if ($var20 > $var22) $this.$speedBoosted = 0; $var12 = $var7 * 1.149999976158142; $var14 = $var21 / $var22 * 3.1415927410125732; $var7 = $var7 + $var12 * nms_MathHelper_SIN_TABLE.data[($var14 * 10430.3779296875 | 0) & 65535]; } $var8 = 0.9100000262260437; if ($var24.$onGround) { $var8 = 0.546000063419342; $var25 = $var24.$worldObj; $var12 = $var4; $var9 = $var12 | 0; if ($var12 < $var9) $var9 = $var9 - 1 | 0; $var12 = $var5; $var21 = $var12 | 0; if ($var12 < $var21) $var21 = $var21 - 1 | 0; $var20 = $var21 - 1 | 0; $var12 = $var6; $var21 = $var12 | 0; if ($var12 < $var21) $var21 = $var21 - 1 | 0; $var9 = nms_World_getBlockId($var25, $var9, $var20, $var21); if ($var9 > 0) { nms_Block_$callClinit(); $var8 = nms_Block_blocksList.data[$var9].$slipperiness * 0.9100000262260437; } } $var23 = 0.16277135908603668 / ($var8 * $var8 * $var8); $var12 = $var24.$rotationYaw * 3.1415927410125732 / 180.0; var$19 = nms_MathHelper_SIN_TABLE.data; $var14 = $var12 * 10430.3779296875; $var10 = var$19[($var14 | 0) & 65535]; $var11 = var$19[($var14 + 16384.0 | 0) & 65535]; $var14 = $var7 * $var24.$landMovementFactor * $var23 / jl_Math_maxImpl($var7, 1.0); $var15 = -($var14 * $var10); $var16 = $var14 * $var11; $var22 = $rt_compare($var15, 0.0); $var14 = $var22 < 0 ? -$var15 : $var15; $var21 = $rt_compare($var16, 0.0); if ($var14 <= ($var21 < 0 ? -$var16 : $var16)) { $var15 = 0.0; if ($var21 < 0) $var16 = $var16 - $this.$thisEntity.$width1 / 2.0; if ($var16 > 0.0) $var16 = $var16 + $this.$thisEntity.$width1 / 2.0; } else { if ($var22 < 0) $var15 = $var15 - $this.$thisEntity.$width1 / 2.0; if ($var15 > 0.0) $var15 = $var15 + $this.$thisEntity.$width1 / 2.0; $var16 = 0.0; } $var25 = $this.$thisEntity; var$7 = $var25.$posX + $var15; $var17 = var$7 | 0; if (var$7 < $var17) $var17 = $var17 - 1 | 0; var$7 = $var25.$posZ + $var16; $var18 = var$7 | 0; if (var$7 < $var18) $var18 = $var18 - 1 | 0; $var19 = new nms_PathPoint; $var12 = $var25.$width1 + 1.0; $var21 = $var12 | 0; $var9 = $rt_compare($var12, $var21); var$26 = $var9 >= 0 ? $var21 : $var21 - 1 | 0; $var12 = $var25.$height2 + $var1.$height2 + 1.0; $var22 = $var12 | 0; if ($var12 < $var22) $var22 = $var22 - 1 | 0; if ($var9 < 0) $var21 = $var21 - 1 | 0; $var19.$index8 = (-1); $var19.$xCoord1 = var$26; $var19.$yCoord1 = $var22; $var19.$zCoord1 = $var21; $var19.$hash = nms_PathPoint_makeHash(var$26, $var22, $var21); if (!($var4 == $var17 && $var6 == $var18)) { a: { b: { $var20 = nms_World_getBlockId($this.$thisEntity.$worldObj, $var4, $var5, $var6); $var21 = nms_World_getBlockId($this.$thisEntity.$worldObj, $var4, $var5 - 1 | 0, $var6); if (!nms_EntityAIControlledByPlayer_func_98216_b($this, $var20)) { nms_Block_$callClinit(); if (nms_Block_blocksList.data[$var20] !== null) break b; if (!nms_EntityAIControlledByPlayer_func_98216_b($this, $var21)) break b; } $var22 = 1; break a; } $var22 = 0; } if (!$var22 && !nms_PathFinder_func_82565_a($this.$thisEntity, $var17, $var5, $var18, $var19, 0, 0, 1)) { $var25 = $this.$thisEntity; $var21 = $var5 + 1 | 0; if (nms_PathFinder_func_82565_a($var25, $var4, $var21, $var6, $var19, 0, 0, 1) == 1 && nms_PathFinder_func_82565_a($this.$thisEntity, $var17, $var21, $var18, $var19, 0, 0, 1) == 1) $var24.$jumpHelper.$isJumping0 = 1; } } if (!$var1.$capabilities.$isCreativeMode && $this.$currentSpeed >= $this.$maxSpeed * 0.5) { $var24 = $this.$thisEntity.$rand; var$27 = Long_and(Long_add(Long_mul($var24.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var24.$seed = var$27; if (Long_lo(Long_shru(var$27, 24)) / 1.6777216E7 < 0.006000000052154064 && !$this.$speedBoosted) { $var24 = $var1.$getHeldItem(); if ($var24 !== null) { $var20 = $var24.$itemID; nms_Item_$callClinit(); if ($var20 == nms_Item_carrotOnAStick.$itemID0) { $var20 = 1; $ptr = 2; continue main; } } } } $var24 = $this.$thisEntity; $var12 = 0.0; $ptr = 1; case 1: nms_EntityLivingBase_moveEntityWithHeading($var24, $var12, $var7); if ($rt_suspending()) { break main; } return; case 2: nms_ItemStack_damageItem($var24, $var20, $var1); if ($rt_suspending()) { break main; } if (!$var24.$stackSize) { $var25 = new nms_ItemStack; $var25.$itemID = nms_Item_fishingRod.$itemID0; $var25.$stackSize = 1; $var25.$itemDamage = 0; $var25.$stackTagCompound = $var24.$stackTagCompound; $var24 = $var1.$inventory; $var24.$mainInventory.data[$var24.$currentItem] = $var25; } $var24 = $this.$thisEntity; $var12 = 0.0; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var24, $var1, $var12, $var14, $var15, $var3, var$7, $var4, $var5, $var6, $var7, $var20, $var21, $var22, $var8, $var25, $var9, $var23, var$19, $var10, $var11, $var16, $var17, $var18, $var19, var$26, var$27, $ptr); }, nms_EntityAIControlledByPlayer_func_98216_b = ($this, $par1) => { let var$2; a: { b: { nms_Block_$callClinit(); var$2 = nms_Block_blocksList.data; if (var$2[$par1] !== null) { if (var$2[$par1].$getRenderType() == 10) break b; if (nms_Block_blocksList.data[$par1] instanceof nms_BlockHalfSlab) break b; } $par1 = 0; break a; } $par1 = 1; } return $par1; }; function nms_EntityAIMate() { let a = this; nms_EntityAIBase.call(a); a.$theAnimal = null; a.$theWorld1 = null; a.$targetMate = null; a.$spawnBabyDelay = 0; a.$moveSpeed = 0.0; } let nms_EntityAIMate_shouldExecute = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!($this.$theAnimal.$inLove <= 0 ? 0 : 1)) return 0; $ptr = 1; case 1: $tmp = nms_EntityAIMate_getNearbyMate($this); if ($rt_suspending()) { break main; } var$1 = $tmp; $this.$targetMate = var$1; return var$1 === null ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_EntityAIMate_continueExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; a: { var$1 = $this.$targetMate; if (!var$1.$isDead) { var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { var$6 = 1; break a; } } var$6 = 0; } return var$6 && ($this.$targetMate.$inLove <= 0 ? 0 : 1) && $this.$spawnBabyDelay < 60 ? 1 : 0; }, nms_EntityAIMate_resetTask = $this => { $this.$targetMate = null; $this.$spawnBabyDelay = 0; }, nms_EntityAIMate_updateTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { b: { var$1 = $this.$theAnimal; nms_EntityLookHelper_setLookPositionWithEntity(var$1.$lookHelper, $this.$targetMate, 10.0, var$1.$getVerticalFaceSpeed()); var$2 = $this.$theAnimal.$navigator; var$1 = $this.$targetMate; var$3 = $this.$moveSpeed; var$4 = var$2.$theEntity; if (!var$4.$onGround) { if (!var$2.$canSwim) break b; if (!(!var$4.$isInWater() && !var$2.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$5 = 1; break a; } var$5 = 0; } if (!var$5) var$1 = null; else { var$4 = var$2.$worldObj3; var$6 = var$2.$theEntity; var$7 = var$2.$pathSearchRange; if (var$7.$field_111133_g) { var$7.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$7); var$7.$field_111133_g = 0; } var$1 = nms_World_getPathEntityToEntity(var$4, var$6, var$1, var$7.$field_111139_h, var$2.$canPassOpenWoodenDoors, var$2.$canPassClosedWoodenDoors, var$2.$avoidsWater, var$2.$canSwim); } if (var$1 !== null) nms_PathNavigate_setPath(var$2, var$1, var$3); var$5 = $this.$spawnBabyDelay + 1 | 0; $this.$spawnBabyDelay = var$5; if (var$5 >= 60) { var$1 = $this.$theAnimal; var$2 = $this.$targetMate; var$3 = var$1.$posX - var$2.$posX; var$8 = var$1.$posY - var$2.$posY; var$9 = var$1.$posZ - var$2.$posZ; if (var$3 * var$3 + var$8 * var$8 + var$9 * var$9 < 9.0) { $ptr = 1; continue main; } } return; case 1: nms_EntityAIMate_spawnBaby($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_EntityAIMate_getNearbyMate = $this => { let $var2, $var5, var$3, var$4, var$5, var$6, var$7, var$8, $var3, var$10, var$11, $var6$index, $var6$index_0, $var7, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var7 = $thread.pop();$var6$index_0 = $thread.pop();$var6$index = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var3 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var5 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$theWorld1; $var5 = $this.$theAnimal.constructor; if ($var5 === null) var$3 = null; else { var$3 = $var5.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = $var5; $var5.classObject = var$3; } } $var5 = $this.$theAnimal.$boundingBox; var$4 = $var5.$minX - 8.0; var$5 = $var5.$minY - 8.0; var$6 = $var5.$minZ - 8.0; var$7 = $var5.$maxX + 8.0; var$8 = $var5.$maxY + 8.0; $var3 = $var5.$maxZ + 8.0; var$10 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$11 = var$10.$nextPoolIndex; $var5 = var$10.$listAABB; $var6$index = $var5.$size0; $var6$index_0 = $rt_compare(var$11, $var6$index); if ($var6$index_0 >= 0) { $var7 = new nms_AxisAlignedBB; $var7.$minX = var$4; $var7.$minY = var$5; $var7.$minZ = var$6; $var7.$maxX = var$7; $var7.$maxY = var$8; $var7.$maxZ = $var3; ju_ArrayList_ensureCapacity($var5, $var6$index + 1 | 0); var$15 = $var5.$array.data; $var6$index = $var5.$size0; $var5.$size0 = $var6$index + 1 | 0; var$15[$var6$index] = $var7; $var5.$modCount = $var5.$modCount + 1 | 0; } else if (var$11 >= 0 && $var6$index_0 < 0) { $var7 = $var5.$array.data[var$11]; $var7.$minX = var$4; $var7.$minY = var$5; $var7.$minZ = var$6; $var7.$maxX = var$7; $var7.$maxY = var$8; $var7.$maxZ = $var3; } else { $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var2); $rt_throw($var2); } var$10.$nextPoolIndex = var$10.$nextPoolIndex + 1 | 0; $var5 = null; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB($var2, var$3, $var7, $var5); if ($rt_suspending()) { break main; } $var2 = $tmp; $var3 = 1.7976931348623157E308; $var5 = null; $var6$index = 0; var$16 = $var2.$modCount; var$11 = $var2.$size(); while ($var6$index >= var$11 ? 0 : 1) { if (var$16 < $var2.$modCount) { $var2 = new ju_ConcurrentModificationException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var6$index_0 = $var6$index + 1 | 0; $var7 = $var2.$get($var6$index); if ($this.$theAnimal.$canMateWith($var7)) { var$3 = $this.$theAnimal; var$4 = var$3.$posX - $var7.$posX; var$5 = var$3.$posY - $var7.$posY; var$6 = var$3.$posZ - $var7.$posZ; var$4 = var$4 * var$4 + var$5 * var$5 + var$6 * var$6; if (var$4 < $var3) { $var5 = $var7; $var3 = var$4; } } $var6$index = $var6$index_0; } return $var5; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, $var5, var$3, var$4, var$5, var$6, var$7, var$8, $var3, var$10, var$11, $var6$index, $var6$index_0, $var7, var$15, var$16, $ptr); }, nms_EntityAIMate_spawnBaby = $this => { let $var1, var$2, var$3, var$4, $var2, var$6, var$7, var$8, var$9, $var3, var$11, var$12, var$13, var$14, var$15, $var4, $var6, $var8, var$19, var$20, var$21, var$22, var$23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var3 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var2 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $this.$theAnimal; var$2 = $this.$targetMate; $ptr = 1; case 1: $tmp = $var1.$createChild(var$2); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1 === null) return; var$2 = $this.$theAnimal; var$3 = var$2.$dataWatcher; var$4 = new jl_Integer; var$4.$value0 = 6000; $var2 = var$3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[140]; if (var$6 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$7 = var$6.$value0; var$8 = $var2.$elementData.data; $var2 = var$8[var$7 & (var$8.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { var$9 = $var2.$key; if (var$6 !== var$9 && !(var$6 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } var$9 = $var2 === null ? null : $var2.$value1; $var2 = var$9.$watchedObject; if (!(var$4 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$4.$value0 ? 1 : 0)) { var$9.$watchedObject = var$4; var$9.$watched = 1; var$3.$objectChanged = 1; } var$3 = var$2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[140]; if ($var2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var3 = jl_Integer_hashCode($var2.$value0); var$8 = var$3.$elementData.data; var$3 = var$8[$var3 & (var$8.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == $var3 && ju_HashMap_areEqualKeys($var2, var$3.$key))) { var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; $var3 = var$3.$watchedObject.$value0 >= 0 ? 0 : 1; $ptr = 2; case 2: var$2.$setScaleForAge($var3); if ($rt_suspending()) { break main; } var$2 = $this.$targetMate; var$3 = var$2.$dataWatcher; var$4 = new jl_Integer; var$4.$value0 = 6000; $var2 = var$3.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[140]; if (var$6 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$7 = var$6.$value0; var$8 = $var2.$elementData.data; $var2 = var$8[var$7 & (var$8.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { var$9 = $var2.$key; if (var$6 !== var$9 && !(var$6 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } var$9 = $var2 === null ? null : $var2.$value1; $var2 = var$9.$watchedObject; if (!(var$4 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$4.$value0 ? 1 : 0)) { var$9.$watchedObject = var$4; var$9.$watched = 1; var$3.$objectChanged = 1; } var$3 = var$2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var2 = jl_Integer_integerCache.data[140]; if ($var2 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { $var3 = jl_Integer_hashCode($var2.$value0); var$8 = var$3.$elementData.data; var$3 = var$8[$var3 & (var$8.length - 1 | 0)]; while (var$3 !== null && !(var$3.$origKeyHash == $var3 && ju_HashMap_areEqualKeys($var2, var$3.$key))) { var$3 = var$3.$next3; } } var$3 = var$3 === null ? null : var$3.$value1; $var3 = var$3.$watchedObject.$value0 >= 0 ? 0 : 1; $ptr = 3; case 3: var$2.$setScaleForAge($var3); if ($rt_suspending()) { break main; } $this.$theAnimal.$inLove = 0; $this.$targetMate.$inLove = 0; var$2 = $var1.$dataWatcher; var$6 = new jl_Integer; var$6.$value0 = (-24000); var$3 = var$2.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[140]; if (var$9 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$7 = var$9.$value0; var$8 = var$3.$elementData.data; var$3 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$7) { $var2 = var$3.$key; if (var$9 !== $var2 && !(var$9 === $var2 ? 1 : $var2 instanceof jl_Integer && $var2.$value0 == var$7 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } $var2 = var$3 === null ? null : var$3.$value1; var$3 = $var2.$watchedObject; if (!(var$6 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$6.$value0 ? 1 : 0)) { $var2.$watchedObject = var$6; $var2.$watched = 1; var$2.$objectChanged = 1; } var$2 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[140]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { $var3 = jl_Integer_hashCode(var$3.$value0); var$8 = var$2.$elementData.data; var$2 = var$8[$var3 & (var$8.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == $var3 && ju_HashMap_areEqualKeys(var$3, var$2.$key))) { var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; $var3 = var$2.$watchedObject.$value0 >= 0 ? 0 : 1; $ptr = 4; case 4: $var1.$setScaleForAge($var3); if ($rt_suspending()) { break main; } var$2 = $this.$theAnimal; var$11 = var$2.$posX; var$12 = var$2.$posY; var$13 = var$2.$posZ; $var1.$posX = var$11; $var1.$prevPosX = var$11; $var1.$lastTickPosX = var$11; var$12 = var$12 + $var1.$yOffset; $var1.$posY = var$12; $var1.$prevPosY = var$12; $var1.$lastTickPosY = var$12; $var1.$posZ = var$13; $var1.$prevPosZ = var$13; $var1.$lastTickPosZ = var$13; $var1.$rotationYaw = 0.0; $var1.$rotationPitch = 0.0; nms_Entity_setPosition($var1, var$11, var$12, var$13); var$2 = $this.$theWorld1; $var3 = nms_World_spawnEntityInWorld(var$2, $var1); var$3 = var$2.$entityList; ju_HashMap_putImpl(var$3.$backingMap, $var1, var$3); if (!$var3) { var$2 = var$2.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, $var1, var$2); } $var2 = $this.$theAnimal.$rand; $var3 = 0; var$14 = 24; while (true) { if ($var3 >= 7) { $var1 = $this.$theWorld1; var$2 = new nms_EntityXPOrb; var$3 = $this.$theAnimal; var$11 = var$3.$posX; var$12 = var$3.$posY; var$13 = var$3.$posZ; var$15 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$15; var$7 = Long_lo(Long_shru(var$15, 17)); while (true) { var$14 = var$7 % 7 | 0; if (((var$7 - var$14 | 0) + 6 | 0) >= 0) break; var$15 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$15; var$7 = Long_lo(Long_shru(var$15, 17)); } $var3 = var$14 + 1 | 0; $ptr = 5; continue main; } $var4 = nle_EaglercraftRandom_nextGaussian($var2) * 0.02; $var6 = nle_EaglercraftRandom_nextGaussian($var2) * 0.02; $var8 = nle_EaglercraftRandom_nextGaussian($var2) * 0.02; var$2 = $this.$theWorld1; var$3 = $rt_s(1496); $var1 = $this.$theAnimal; var$11 = $var1.$posX; var$19 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$20 = Long_lo(Long_shru(var$19, var$14)) / 1.6777216E7; var$21 = $var1.$width1; var$11 = var$11 + var$20 * var$21 * 2.0; var$12 = var$21; var$11 = var$11 - var$12; var$13 = $var1.$posY + 0.5; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$13 = var$13 + Long_lo(Long_shru(var$19, var$14)) / 1.6777216E7 * $var1.$height2; var$22 = $var1.$posZ; var$15 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$15; var$12 = var$22 + Long_lo(Long_shru(var$15, var$14)) / 1.6777216E7 * var$21 * 2.0 - var$12; var$23 = 0; $var1 = var$2.$worldAccesses; var$7 = $rt_compare(var$23, $var1.$size0); if (var$7 < 0) break; $var3 = $var3 + 1 | 0; } if (var$23 >= 0 && var$7 < 0) { $var1 = $var1.$array.data[var$23]; $ptr = 6; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); case 5: nms_EntityXPOrb__init_(var$2, $var1, var$11, var$12, var$13, $var3); if ($rt_suspending()) { break main; } $var3 = nms_World_spawnEntityInWorld($var1, var$2); var$3 = $var1.$entityList; ju_HashMap_putImpl(var$3.$backingMap, var$2, var$3); if (!$var3) { $var1 = $var1.$entitySpawnQueue; ju_HashMap_putImpl($var1.$backingMap, var$2, $var1); } return; case 6: nms_RenderGlobal_doSpawnParticle($var1, var$3, var$11, var$13, var$12, $var4, $var6, $var8); if ($rt_suspending()) { break main; } var$23 = var$23 + 1 | 0; while (true) { $var1 = var$2.$worldAccesses; var$7 = $rt_compare(var$23, $var1.$size0); if (var$7 < 0) break; $var3 = $var3 + 1 | 0; if ($var3 >= 7) { $var1 = $this.$theWorld1; var$2 = new nms_EntityXPOrb; var$3 = $this.$theAnimal; var$11 = var$3.$posX; var$12 = var$3.$posY; var$13 = var$3.$posZ; var$15 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$15; var$7 = Long_lo(Long_shru(var$15, 17)); while (true) { var$14 = var$7 % 7 | 0; if (((var$7 - var$14 | 0) + 6 | 0) >= 0) break; var$15 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$15; var$7 = Long_lo(Long_shru(var$15, 17)); } $var3 = var$14 + 1 | 0; $ptr = 5; continue main; } $var4 = nle_EaglercraftRandom_nextGaussian($var2) * 0.02; $var6 = nle_EaglercraftRandom_nextGaussian($var2) * 0.02; $var8 = nle_EaglercraftRandom_nextGaussian($var2) * 0.02; var$2 = $this.$theWorld1; var$3 = $rt_s(1496); $var1 = $this.$theAnimal; var$11 = $var1.$posX; var$19 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$20 = Long_lo(Long_shru(var$19, var$14)) / 1.6777216E7; var$21 = $var1.$width1; var$11 = var$11 + var$20 * var$21 * 2.0; var$12 = var$21; var$11 = var$11 - var$12; var$13 = $var1.$posY + 0.5; var$19 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$19; var$13 = var$13 + Long_lo(Long_shru(var$19, var$14)) / 1.6777216E7 * $var1.$height2; var$22 = $var1.$posZ; var$15 = Long_and(Long_add(Long_mul(var$19, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$15; var$12 = var$22 + Long_lo(Long_shru(var$15, var$14)) / 1.6777216E7 * var$21 * 2.0 - var$12; var$23 = 0; } if (var$23 >= 0 && var$7 < 0) { $var1 = $var1.$array.data[var$23]; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, $var2, var$6, var$7, var$8, var$9, $var3, var$11, var$12, var$13, var$14, var$15, $var4, $var6, $var8, var$19, var$20, var$21, var$22, var$23, $ptr); }; function nms_EntityAITempt() { let a = this; nms_EntityAIBase.call(a); a.$temptedEntity = null; a.$field_75282_b = 0.0; a.$targetX1 = 0.0; a.$targetY1 = 0.0; a.$targetZ1 = 0.0; a.$field_75278_f = 0.0; a.$field_75279_g = 0.0; a.$temptingPlayer = null; a.$delayTemptCounter = 0; a.$isRunning = 0; a.$breedingFood = 0; a.$scaredByPlayerMovement = 0; a.$field_75286_m = 0; } let nms_EntityAITempt_shouldExecute = $this => { let var$1, var$2, var$3; var$1 = $this.$delayTemptCounter; if (var$1 > 0) { $this.$delayTemptCounter = var$1 - 1 | 0; return 0; } var$2 = $this.$temptedEntity; var$2 = nms_World_getClosestPlayer(var$2.$worldObj, var$2.$posX, var$2.$posY, var$2.$posZ, 10.0); $this.$temptingPlayer = var$2; if (var$2 === null) return 0; var$2 = var$2.$inventory; var$3 = var$2.$currentItem; var$2 = var$3 < 9 && var$3 >= 0 ? var$2.$mainInventory.data[var$3] : null; return var$2 === null ? 0 : var$2.$itemID != $this.$breedingFood ? 0 : 1; }, nms_EntityAITempt_continueExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; if ($this.$scaredByPlayerMovement) { var$1 = $this.$temptedEntity; var$2 = $this.$temptingPlayer; var$3 = var$1.$posX; var$4 = var$2.$posX; var$3 = var$3 - var$4; var$5 = var$1.$posY; var$6 = var$2.$posY; var$7 = var$5 - var$6; var$5 = var$1.$posZ; var$8 = var$2.$posZ; var$5 = var$5 - var$8; if (var$3 * var$3 + var$7 * var$7 + var$5 * var$5 >= 36.0) { $this.$targetX1 = var$4; $this.$targetY1 = var$6; $this.$targetZ1 = var$8; } else { var$3 = $this.$targetX1; var$5 = $this.$targetY1; var$7 = $this.$targetZ1; var$3 = var$4 - var$3; var$5 = var$6 - var$5; var$7 = var$8 - var$7; if (var$3 * var$3 + var$5 * var$5 + var$7 * var$7 > 0.010000000000000002) return 0; if (!(jl_Math_absImpl(var$2.$rotationPitch - $this.$field_75278_f) <= 5.0 && jl_Math_absImpl($this.$temptingPlayer.$rotationYaw - $this.$field_75279_g) <= 5.0)) return 0; } var$1 = $this.$temptingPlayer; $this.$field_75278_f = var$1.$rotationPitch; $this.$field_75279_g = var$1.$rotationYaw; } return nms_EntityAITempt_shouldExecute($this); }, nms_EntityAITempt_startExecuting = $this => { let var$1; var$1 = $this.$temptingPlayer; $this.$targetX1 = var$1.$posX; $this.$targetY1 = var$1.$posY; $this.$targetZ1 = var$1.$posZ; $this.$isRunning = 1; var$1 = $this.$temptedEntity.$navigator; $this.$field_75286_m = var$1.$avoidsWater; var$1.$avoidsWater = 0; }, nms_EntityAITempt_resetTask = $this => { let var$1; $this.$temptingPlayer = null; var$1 = $this.$temptedEntity.$navigator; var$1.$currentPath = null; $this.$delayTemptCounter = 100; $this.$isRunning = 0; var$1.$avoidsWater = $this.$field_75286_m; }, nms_EntityAITempt_updateTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; nms_EntityLookHelper_setLookPositionWithEntity($this.$temptedEntity.$lookHelper, $this.$temptingPlayer, 30.0, 40.0); var$1 = $this.$temptedEntity; var$2 = $this.$temptingPlayer; var$3 = var$1.$posX - var$2.$posX; var$4 = var$1.$posY - var$2.$posY; var$5 = var$1.$posZ - var$2.$posZ; if (var$3 * var$3 + var$4 * var$4 + var$5 * var$5 < 6.25) var$1.$navigator.$currentPath = null; else { a: { b: { var$1 = var$1.$navigator; var$3 = $this.$field_75282_b; var$6 = var$1.$theEntity; if (!var$6.$onGround) { if (!var$1.$canSwim) break b; if (!(!var$6.$isInWater() && !var$1.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$7 = 1; break a; } var$7 = 0; } if (!var$7) var$2 = null; else { var$6 = var$1.$worldObj3; var$8 = var$1.$theEntity; var$9 = var$1.$pathSearchRange; if (var$9.$field_111133_g) { var$9.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$9); var$9.$field_111133_g = 0; } var$2 = nms_World_getPathEntityToEntity(var$6, var$8, var$2, var$9.$field_111139_h, var$1.$canPassOpenWoodenDoors, var$1.$canPassClosedWoodenDoors, var$1.$avoidsWater, var$1.$canSwim); } if (var$2 !== null) nms_PathNavigate_setPath(var$1, var$2, var$3); } }; function nms_EntityAIFollowParent() { let a = this; nms_EntityAIBase.call(a); a.$childAnimal = null; a.$parentAnimal = null; a.$field_75347_c = 0.0; a.$field_75345_d = 0; } let nms_EntityAIFollowParent_shouldExecute = $this => { let $var2, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var3, $var7, var$12, $var1, $var5$index, var$15, var$16, var$17, $var5$index_0, $var6, var$20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$20 = $thread.pop();$var6 = $thread.pop();$var5$index_0 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var5$index = $thread.pop();$var1 = $thread.pop();var$12 = $thread.pop();$var7 = $thread.pop();$var3 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$childAnimal.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[140]; if (var$2 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$3 = var$2.$value0; var$4 = $var2.$elementData.data; $var2 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$3) { var$5 = $var2.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2.$watchedObject.$value0 >= 0) return 0; $var2 = $this.$childAnimal; var$2 = $var2.$worldObj; $var2 = $var2.constructor; if ($var2 === null) var$6 = null; else { var$6 = $var2.classObject; if (var$6 === null) { var$6 = new jl_Class; var$6.$platformClass = $var2; $var2.classObject = var$6; } } $var2 = $this.$childAnimal.$boundingBox; var$7 = $var2.$minX - 8.0; var$8 = $var2.$minY - 4.0; var$9 = $var2.$minZ - 8.0; $var3 = $var2.$maxX + 8.0; $var7 = $var2.$maxY + 4.0; var$12 = $var2.$maxZ + 8.0; $var1 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$3 = $var1.$nextPoolIndex; $var2 = $var1.$listAABB; $var5$index = $var2.$size0; var$15 = $rt_compare(var$3, $var5$index); if (var$15 >= 0) { var$5 = new nms_AxisAlignedBB; var$5.$minX = var$7; var$5.$minY = var$8; var$5.$minZ = var$9; var$5.$maxX = $var3; var$5.$maxY = $var7; var$5.$maxZ = var$12; ju_ArrayList_ensureCapacity($var2, $var5$index + 1 | 0); var$4 = $var2.$array.data; $var5$index = $var2.$size0; $var2.$size0 = $var5$index + 1 | 0; var$4[$var5$index] = var$5; $var2.$modCount = $var2.$modCount + 1 | 0; } else if (var$3 >= 0 && var$15 < 0) { var$5 = $var2.$array.data[var$3]; var$5.$minX = var$7; var$5.$minY = var$8; var$5.$minZ = var$9; var$5.$maxX = $var3; var$5.$maxY = $var7; var$5.$maxZ = var$12; } else { $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var2); $rt_throw($var2); } $var1.$nextPoolIndex = $var1.$nextPoolIndex + 1 | 0; $var2 = null; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB(var$2, var$6, var$5, $var2); if ($rt_suspending()) { break main; } $var1 = $tmp; $var2 = null; $var3 = 1.7976931348623157E308; $var5$index = 0; var$16 = $var1.$modCount; var$17 = $var1.$size(); while (true) { if (!($var5$index >= var$17 ? 0 : 1)) { if ($var2 === null) return 0; if ($var3 < 9.0) return 0; $this.$parentAnimal = $var2; return 1; } if (var$16 < $var1.$modCount) break; $var5$index_0 = $var5$index + 1 | 0; $var6 = $var1.$get($var5$index); var$2 = $var6.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[140]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$20 = var$6.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$20 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$20) { var$5 = var$2.$key; if (var$6 !== var$5 && !(var$6 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$20 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (var$2.$watchedObject.$value0 >= 0) { var$2 = $this.$childAnimal; $var7 = var$2.$posX - $var6.$posX; var$12 = var$2.$posY - $var6.$posY; var$7 = var$2.$posZ - $var6.$posZ; $var7 = $var7 * $var7 + var$12 * var$12 + var$7 * var$7; if ($var7 <= $var3) { $var3 = $var7; $var2 = $var6; } } $var5$index = $var5$index_0; } $var2 = new ju_ConcurrentModificationException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $var3, $var7, var$12, $var1, $var5$index, var$15, var$16, var$17, $var5$index_0, $var6, var$20, $ptr); }, nms_EntityAIFollowParent_continueExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, $var1, var$9; a: { var$1 = $this.$parentAnimal; if (!var$1.$isDead) { var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { var$6 = 1; break a; } } var$6 = 0; } if (!var$6) return 0; var$1 = $this.$childAnimal; var$5 = $this.$parentAnimal; var$7 = var$1.$posX - var$5.$posX; $var1 = var$1.$posY - var$5.$posY; var$9 = var$1.$posZ - var$5.$posZ; $var1 = var$7 * var$7 + $var1 * $var1 + var$9 * var$9; return $var1 >= 9.0 && $var1 <= 256.0 ? 1 : 0; }, nms_EntityAIFollowParent_startExecuting = $this => { $this.$field_75345_d = 0; }, nms_EntityAIFollowParent_resetTask = $this => { $this.$parentAnimal = null; }, nms_EntityAIFollowParent_updateTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$field_75345_d - 1 | 0; $this.$field_75345_d = var$1; if (var$1 <= 0) { a: { b: { $this.$field_75345_d = 10; var$2 = $this.$childAnimal.$navigator; var$3 = $this.$parentAnimal; var$4 = $this.$field_75347_c; var$5 = var$2.$theEntity; if (!var$5.$onGround) { if (!var$2.$canSwim) break b; if (!(!var$5.$isInWater() && !var$2.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$1 = 1; break a; } var$1 = 0; } if (!var$1) var$3 = null; else { var$5 = var$2.$worldObj3; var$6 = var$2.$theEntity; var$7 = var$2.$pathSearchRange; if (var$7.$field_111133_g) { var$7.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$7); var$7.$field_111133_g = 0; } var$3 = nms_World_getPathEntityToEntity(var$5, var$6, var$3, var$7.$field_111139_h, var$2.$canPassOpenWoodenDoors, var$2.$canPassClosedWoodenDoors, var$2.$avoidsWater, var$2.$canSwim); } if (var$3 !== null) nms_PathNavigate_setPath(var$2, var$3, var$4); } }; function nms_ContainerSheep() { nms_Container.call(this); this.$field_90034_a = null; } function nms_EntityAIEatGrass() { let a = this; nms_EntityAIBase.call(a); a.$theEntity7 = null; a.$theWorld2 = null; a.$eatGrassTick = 0; } let nms_EntityAIEatGrass_shouldExecute = $this => { let var$1, var$2, var$3, $var3, var$5, var$6, var$7, var$8, $var2, var$10, var$11, $var1; var$1 = $this.$theEntity7; var$2 = var$1.$rand; var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[140]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var3 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[$var3 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var3) { var$6 = var$1.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; var$7 = !(var$1.$watchedObject.$value0 >= 0 ? 0 : 1) ? 1000 : 50; var$8 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$8; $var2 = Long_lo(Long_shru(var$8, 17)); var$10 = var$7 - 1 | 0; if (!(var$7 & var$10)) $var3 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$7), Long_fromInt($var2)), 31)); else while (true) { $var3 = $var2 % var$7 | 0; if ((($var2 - $var3 | 0) + var$10 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$8; $var2 = Long_lo(Long_shru(var$8, 17)); } if ($var3) return 0; var$1 = $this.$theEntity7; var$11 = var$1.$posX; $var1 = var$11 | 0; if (var$11 < $var1) $var1 = $var1 - 1 | 0; var$11 = var$1.$posY; $var2 = var$11 | 0; if (var$11 < $var2) $var2 = $var2 - 1 | 0; var$11 = var$1.$posZ; $var3 = var$11 | 0; if (var$11 < $var3) $var3 = $var3 - 1 | 0; var$7 = nms_World_getBlockId($this.$theWorld2, $var1, $var2, $var3); nms_Block_$callClinit(); return var$7 == nms_Block_tallGrass.$blockID && nms_World_getBlockMetadata($this.$theWorld2, $var1, $var2, $var3) == 1 ? 1 : nms_World_getBlockId($this.$theWorld2, $var1, $var2 - 1 | 0, $var3) != nms_Block_grass.$blockID ? 0 : 1; }, nms_EntityAIEatGrass_startExecuting = $this => { $this.$eatGrassTick = 40; $this.$theEntity7.$navigator.$currentPath = null; }, nms_EntityAIEatGrass_resetTask = $this => { $this.$eatGrassTick = 0; }, nms_EntityAIEatGrass_continueExecuting = $this => { return $this.$eatGrassTick <= 0 ? 0 : 1; }, nms_EntityAIEatGrass_updateTask = $this => { let var$1, var$2, var$3, $var1, $var2, $var3, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$eatGrassTick - 1 | 0; if (0 > var$1) var$1 = 0; $this.$eatGrassTick = var$1; if (var$1 == 4) { var$2 = $this.$theEntity7; var$3 = var$2.$posX; $var1 = var$3 | 0; if (var$3 < $var1) $var1 = $var1 - 1 | 0; var$3 = var$2.$posY; $var2 = var$3 | 0; if (var$3 < $var2) $var2 = $var2 - 1 | 0; var$3 = var$2.$posZ; $var3 = var$3 | 0; if (var$3 < $var3) $var3 = $var3 - 1 | 0; var$7 = nms_World_getBlockId($this.$theWorld2, $var1, $var2, $var3); nms_Block_$callClinit(); if (var$7 == nms_Block_tallGrass.$blockID) { var$2 = $this.$theWorld2; var$7 = 0; $ptr = 1; continue main; } var$2 = $this.$theWorld2; var$1 = $var2 - 1 | 0; var$7 = nms_World_getBlockId(var$2, $var1, var$1, $var3); $var2 = nms_Block_grass.$blockID; if (var$7 == $var2) { var$2 = $this.$theWorld2; var$7 = 2001; var$8 = null; var$9 = 0; var$10 = var$2.$worldAccesses; var$11 = $rt_compare(var$9, var$10.$size0); if (var$11 >= 0) { var$2 = $this.$theWorld2; $var2 = nms_Block_dirt.$blockID; var$9 = 0; var$7 = 2; $ptr = 2; continue main; } if (var$9 >= 0 && var$11 < 0) { var$10 = var$10.$array.data[var$9]; $ptr = 3; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); } } return; case 1: nms_World_destroyBlock(var$2, $var1, $var2, $var3, var$7); if ($rt_suspending()) { break main; } var$2 = $this.$theEntity7; var$8 = var$2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[144]; if (var$12 !== null) { $var2 = var$12.$value0; var$13 = var$8.$elementData.data; var$8 = var$13[$var2 & (var$13.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == $var2) { var$10 = var$8.$key; if (var$12 !== var$10 && !jl_Integer_equals(var$12, var$10) ? 0 : 1) break; } var$8 = var$8.$next3; } } else { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } var$1 = (var$8 === null ? null : var$8.$value1).$watchedObject.$value2; var$8 = var$2.$dataWatcher; var$7 = (var$1 & (-17)) << 24 >> 24; var$14 = jl_Byte_byteCache.data[var$7 + 128 | 0]; var$10 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$15 = jl_Integer_integerCache.data[144]; if (var$15 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { $var2 = var$15.$value0; var$13 = var$10.$elementData.data; var$10 = var$13[$var2 & (var$13.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == $var2) { var$12 = var$10.$key; if (var$15 !== var$12 && !jl_Integer_equals(var$15, var$12) ? 0 : 1) break; } var$10 = var$10.$next3; } } var$12 = var$10 === null ? null : var$10.$value1; var$10 = var$12.$watchedObject; if (!(var$10 instanceof jl_Byte && var$10.$value2 == var$14.$value2 ? 1 : 0)) { var$12.$watchedObject = var$14; var$12.$watched = 1; var$8.$objectChanged = 1; } var$8 = var$2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[140]; if (var$12 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { $var2 = jl_Integer_hashCode(var$12.$value0); var$13 = var$8.$elementData.data; var$8 = var$13[$var2 & (var$13.length - 1 | 0)]; while (var$8 !== null && !(var$8.$origKeyHash == $var2 && ju_HashMap_areEqualKeys(var$12, var$8.$key))) { var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; if (!(var$8.$watchedObject.$value0 >= 0 ? 0 : 1)) return; var$8 = var$2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[140]; if (var$12 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { $var2 = jl_Integer_hashCode(var$12.$value0); var$13 = var$8.$elementData.data; var$8 = var$13[$var2 & (var$13.length - 1 | 0)]; while (var$8 !== null && !(var$8.$origKeyHash == $var2 && ju_HashMap_areEqualKeys(var$12, var$8.$key))) { var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; var$7 = var$8.$watchedObject.$value0 + 1200 | 0; if (var$7 > 0) var$7 = 0; var$8 = var$2.$dataWatcher; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$10 = new jl_Integer; var$10.$value0 = var$7; } var$12 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$14 = jl_Integer_integerCache.data[140]; if (var$14 === null) { var$12 = var$12.$elementData.data[0]; while (var$12 !== null && var$12.$key !== null) { var$12 = var$12.$next3; } } else { $var2 = jl_Integer_hashCode(var$14.$value0); var$13 = var$12.$elementData.data; var$12 = var$13[$var2 & (var$13.length - 1 | 0)]; while (var$12 !== null && !(var$12.$origKeyHash == $var2 && ju_HashMap_areEqualKeys(var$14, var$12.$key))) { var$12 = var$12.$next3; } } var$15 = var$12 === null ? null : var$12.$value1; var$12 = var$15.$watchedObject; if (!(var$10 === var$12 ? 1 : var$12 instanceof jl_Integer && var$12.$value0 == var$10.$value0 ? 1 : 0)) { var$15.$watchedObject = var$10; var$15.$watched = 1; var$8.$objectChanged = 1; } var$8 = var$2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = ju_HashMap_entryByKey(var$8, jl_Integer_integerCache.data[140]); var$8 = var$8 === null ? null : var$8.$value1; var$16 = !(var$8.$watchedObject.$value0 >= 0 ? 0 : 1) ? 1.0 : 0.5; var$17 = var$2.$field_98056_d * var$16; var$16 = var$2.$field_98057_e * var$16; $ptr = 4; continue main; case 2: nms_World_setBlock(var$2, $var1, var$1, $var3, $var2, var$9, var$7); if ($rt_suspending()) { break main; } var$2 = $this.$theEntity7; var$8 = var$2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[144]; if (var$12 !== null) { $var2 = var$12.$value0; var$13 = var$8.$elementData.data; var$8 = var$13[$var2 & (var$13.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == $var2) { var$10 = var$8.$key; if (var$12 !== var$10 && !jl_Integer_equals(var$12, var$10) ? 0 : 1) break; } var$8 = var$8.$next3; } } else { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } var$1 = (var$8 === null ? null : var$8.$value1).$watchedObject.$value2; var$8 = var$2.$dataWatcher; var$7 = (var$1 & (-17)) << 24 >> 24; var$14 = jl_Byte_byteCache.data[var$7 + 128 | 0]; var$10 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$15 = jl_Integer_integerCache.data[144]; if (var$15 === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { $var2 = var$15.$value0; var$13 = var$10.$elementData.data; var$10 = var$13[$var2 & (var$13.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == $var2) { var$12 = var$10.$key; if (var$15 !== var$12 && !jl_Integer_equals(var$15, var$12) ? 0 : 1) break; } var$10 = var$10.$next3; } } var$12 = var$10 === null ? null : var$10.$value1; var$10 = var$12.$watchedObject; if (!(var$10 instanceof jl_Byte && var$10.$value2 == var$14.$value2 ? 1 : 0)) { var$12.$watchedObject = var$14; var$12.$watched = 1; var$8.$objectChanged = 1; } var$8 = var$2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[140]; if (var$12 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { $var2 = jl_Integer_hashCode(var$12.$value0); var$13 = var$8.$elementData.data; var$8 = var$13[$var2 & (var$13.length - 1 | 0)]; while (var$8 !== null && !(var$8.$origKeyHash == $var2 && ju_HashMap_areEqualKeys(var$12, var$8.$key))) { var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; if (!(var$8.$watchedObject.$value0 >= 0 ? 0 : 1)) return; var$8 = var$2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[140]; if (var$12 === null) { var$8 = var$8.$elementData.data[0]; while (var$8 !== null && var$8.$key !== null) { var$8 = var$8.$next3; } } else { $var2 = jl_Integer_hashCode(var$12.$value0); var$13 = var$8.$elementData.data; var$8 = var$13[$var2 & (var$13.length - 1 | 0)]; while (var$8 !== null && !(var$8.$origKeyHash == $var2 && ju_HashMap_areEqualKeys(var$12, var$8.$key))) { var$8 = var$8.$next3; } } var$8 = var$8 === null ? null : var$8.$value1; var$7 = var$8.$watchedObject.$value0 + 1200 | 0; if (var$7 > 0) var$7 = 0; var$8 = var$2.$dataWatcher; if (var$7 >= (-128) && var$7 <= 127) { jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[var$7 + 128 | 0]; } else { var$10 = new jl_Integer; var$10.$value0 = var$7; } var$12 = var$8.$watchedObjects; jl_Integer_ensureIntegerCache(); var$14 = jl_Integer_integerCache.data[140]; if (var$14 === null) { var$12 = var$12.$elementData.data[0]; while (var$12 !== null && var$12.$key !== null) { var$12 = var$12.$next3; } } else { $var2 = jl_Integer_hashCode(var$14.$value0); var$13 = var$12.$elementData.data; var$12 = var$13[$var2 & (var$13.length - 1 | 0)]; while (var$12 !== null && !(var$12.$origKeyHash == $var2 && ju_HashMap_areEqualKeys(var$14, var$12.$key))) { var$12 = var$12.$next3; } } var$15 = var$12 === null ? null : var$12.$value1; var$12 = var$15.$watchedObject; if (!(var$10 === var$12 ? 1 : var$12 instanceof jl_Integer && var$12.$value0 == var$10.$value0 ? 1 : 0)) { var$15.$watchedObject = var$10; var$15.$watched = 1; var$8.$objectChanged = 1; } var$8 = var$2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = ju_HashMap_entryByKey(var$8, jl_Integer_integerCache.data[140]); var$8 = var$8 === null ? null : var$8.$value1; var$16 = !(var$8.$watchedObject.$value0 >= 0 ? 0 : 1) ? 1.0 : 0.5; var$17 = var$2.$field_98056_d * var$16; var$16 = var$2.$field_98057_e * var$16; $ptr = 5; continue main; case 3: nms_RenderGlobal_playAuxSFX(var$10, var$8, var$7, $var1, var$1, $var3, $var2); if ($rt_suspending()) { break main; } var$9 = var$9 + 1 | 0; var$10 = var$2.$worldAccesses; var$11 = $rt_compare(var$9, var$10.$size0); if (var$11 >= 0) { var$2 = $this.$theWorld2; $var2 = nms_Block_dirt.$blockID; var$9 = 0; var$7 = 2; $ptr = 2; continue main; } if (var$9 >= 0 && var$11 < 0) { var$10 = var$10.$array.data[var$9]; continue main; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$2); $rt_throw(var$2); case 4: nms_Entity_setSize(var$2, var$17, var$16); if ($rt_suspending()) { break main; } return; case 5: nms_Entity_setSize(var$2, var$17, var$16); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, $var1, $var2, $var3, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }; function nms_EntityAILeapAtTarget() { let a = this; nms_EntityAIBase.call(a); a.$leaper = null; a.$leapTarget = null; a.$leapMotionY = 0.0; } let nms_EntityAILeapAtTarget_shouldExecute = $this => { let var$1, var$2, var$3, $var1, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$leaper; var$2 = var$1.$attackTarget; $this.$leapTarget = var$2; if (var$2 === null) return 0; var$3 = var$1.$posX - var$2.$posX; $var1 = var$1.$posY - var$2.$posY; var$5 = var$1.$posZ - var$2.$posZ; $var1 = var$3 * var$3 + $var1 * $var1 + var$5 * var$5; if ($var1 >= 4.0 && $var1 <= 16.0) { if (!var$1.$onGround) var$6 = 0; else { var$1 = var$1.$rand; var$7 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$7; var$8 = Long_lo(Long_shru(var$7, 17)); while (true) { var$9 = var$8 % 5 | 0; if (((var$8 - var$9 | 0) + 4 | 0) >= 0) break; var$7 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$7; var$8 = Long_lo(Long_shru(var$7, 17)); } var$6 = var$9 ? 0 : 1; } } else var$6 = 0; return var$6; }, nms_EntityAILeapAtTarget_continueExecuting = $this => { return $this.$leaper.$onGround ? 0 : 1; }, nms_EntityAILeapAtTarget_startExecuting = $this => { let var$1, $var1, var$3, $var3, $var5, var$6, var$7; var$1 = $this.$leapTarget; $var1 = var$1.$posX; var$3 = $this.$leaper; $var1 = $var1 - var$3.$posX; $var3 = var$1.$posZ - var$3.$posZ; $var5 = jl_Math_sqrt($var1 * $var1 + $var3 * $var3); var$1 = $this.$leaper; var$6 = var$1.$motionX; var$7 = $var5; var$1.$motionX = var$6 + $var1 / var$7 * 0.5 * 0.800000011920929 + var$6 * 0.20000000298023224; $var1 = var$1.$motionZ; var$1.$motionZ = $var1 + $var3 / var$7 * 0.5 * 0.800000011920929 + $var1 * 0.20000000298023224; var$1.$motionY = $this.$leapMotionY; }; function nms_EntityAIFollowOwner() { let a = this; nms_EntityAIBase.call(a); a.$thePet = null; a.$theOwner = null; a.$theWorld4 = null; a.$field_75336_f = 0.0; a.$petPathfinder = null; a.$field_75343_h = 0; a.$maxDist = 0.0; a.$minDist = 0.0; a.$field_75344_i = 0; } let nms_EntityAIFollowOwner_shouldExecute = $this => { let var$1, var$2, var$3, var$4, var$5, $var1, var$7, var$8, var$9, var$10, var$11, var$12; var$1 = $this.$thePet; var$2 = var$1.$worldObj; var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[145]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$4 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { $var1 = var$1.$key; if (var$3 !== $var1 && !jl_Integer_equals(var$3, $var1) ? 0 : 1) break; } var$1 = var$1.$next3; } } $var1 = (var$1 === null ? null : var$1.$value1).$watchedObject; var$4 = 0; a: { while (true) { var$1 = var$2.$playerEntities; var$7 = $rt_compare(var$4, var$1.$size0); if (var$7 >= 0) { $var1 = null; break a; } if (var$4 < 0) break; if (var$7 >= 0) break; var$1 = var$1.$array.data[var$4].$username; if ($var1 === var$1) var$7 = 1; else if (!(var$1 instanceof jl_String)) var$7 = 0; else { var$1 = var$1; var$7 = $var1.$nativeString !== var$1.$nativeString ? 0 : 1; } if (var$7) { var$1 = var$2.$playerEntities; if (var$4 >= 0 && var$4 < var$1.$size0) { $var1 = var$1.$array.data[var$4]; break a; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$4 = var$4 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if ($var1 === null) return 0; var$1 = $this.$thePet.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$8 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$8 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$8) { var$2 = var$1.$key; if (var$3 !== var$2 && !(var$3 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value2 & 1) ? 0 : 1) return 0; var$1 = $this.$thePet; var$9 = var$1.$posX - $var1.$posX; var$10 = var$1.$posY - $var1.$posY; var$11 = var$1.$posZ - $var1.$posZ; var$10 = var$9 * var$9 + var$10 * var$10 + var$11 * var$11; var$12 = $this.$minDist; if (var$10 < var$12 * var$12) return 0; $this.$theOwner = $var1; return 1; }, nms_EntityAIFollowOwner_continueExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$petPathfinder.$currentPath; var$2 = var$1 !== null && !(var$1.$currentPathIndex < var$1.$pathLength ? 0 : 1) ? 0 : 1; a: { if (!var$2) { var$1 = $this.$thePet; var$3 = $this.$theOwner; var$4 = var$1.$posX - var$3.$posX; var$5 = var$1.$posY - var$3.$posY; var$6 = var$1.$posZ - var$3.$posZ; var$4 = var$4 * var$4 + var$5 * var$5 + var$6 * var$6; var$7 = $this.$maxDist; if (var$4 > var$7 * var$7) { var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$2 = var$3.$value0; var$8 = var$1.$elementData.data; var$1 = var$8[var$2 & (var$8.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$2) { var$9 = var$1.$key; if (var$3 !== var$9 && !(var$3 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$2 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 1) ? 0 : 1)) { var$2 = 1; break a; } } } var$2 = 0; } return var$2; }, nms_EntityAIFollowOwner_startExecuting = $this => { let var$1; $this.$field_75343_h = 0; var$1 = $this.$thePet.$navigator; $this.$field_75344_i = var$1.$avoidsWater; var$1.$avoidsWater = 0; }, nms_EntityAIFollowOwner_resetTask = $this => { $this.$theOwner = null; $this.$petPathfinder.$currentPath = null; $this.$thePet.$navigator.$avoidsWater = $this.$field_75344_i; }, nms_EntityAIFollowOwner_updateTask = $this => { let var$1, var$2, $var1, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $var2, var$14, $var3, $var4, var$17, $var5, var$19, var$20, var$21, var$22, var$23; var$1 = $this.$thePet; nms_EntityLookHelper_setLookPositionWithEntity(var$1.$lookHelper, $this.$theOwner, 10.0, var$1.$getVerticalFaceSpeed()); var$1 = $this.$thePet.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { $var1 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[$var1 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == $var1) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var1 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; $var1 = !(var$1.$watchedObject.$value2 & 1) ? 0 : 1; a: { if (!$var1) { $var1 = $this.$field_75343_h - 1 | 0; $this.$field_75343_h = $var1; if ($var1 <= 0) { b: { c: { $this.$field_75343_h = 10; var$1 = $this.$petPathfinder; var$2 = $this.$theOwner; var$6 = $this.$field_75336_f; var$5 = var$1.$theEntity; if (!var$5.$onGround) { if (!var$1.$canSwim) break c; if (!(!var$5.$isInWater() && !var$1.$theEntity.$handleLavaMovement() ? 0 : 1)) break c; } $var1 = 1; break b; } $var1 = 0; } if (!$var1) var$2 = null; else { var$5 = var$1.$worldObj3; var$7 = var$1.$theEntity; var$8 = var$1.$pathSearchRange; if (var$8.$field_111133_g) { var$8.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$8); var$8.$field_111133_g = 0; } var$2 = nms_World_getPathEntityToEntity(var$5, var$7, var$2, var$8.$field_111139_h, var$1.$canPassOpenWoodenDoors, var$1.$canPassClosedWoodenDoors, var$1.$avoidsWater, var$1.$canSwim); } if (!(var$2 === null ? 0 : nms_PathNavigate_setPath(var$1, var$2, var$6))) { var$1 = $this.$thePet; if (!var$1.$isLeashed) { var$2 = $this.$theOwner; var$6 = var$1.$posX; var$9 = var$2.$posX; var$6 = var$6 - var$9; var$10 = var$1.$posY - var$2.$posY; var$11 = var$1.$posZ; var$12 = var$2.$posZ; var$11 = var$11 - var$12; if (var$6 * var$6 + var$10 * var$10 + var$11 * var$11 >= 144.0) { $var2 = var$9 | 0; if (var$9 < $var2) $var2 = $var2 - 1 | 0; $var1 = $var2 - 2 | 0; var$14 = var$12 | 0; if (var$12 < var$14) var$14 = var$14 - 1 | 0; $var2 = var$14 - 2 | 0; var$12 = var$2.$boundingBox.$minY; $var3 = var$12 | 0; if (var$12 < $var3) $var3 = $var3 - 1 | 0; $var4 = 0; var$17 = $var3 - 1 | 0; var$14 = $var3 + 1 | 0; while (true) { if ($var4 > 4) break a; $var5 = 0; while ($var5 <= 4) { if (!($var4 >= 1 && $var5 >= 1 && $var4 <= 3 && $var5 <= 3)) { var$2 = $this.$theWorld4; var$19 = $var1 + $var4 | 0; var$20 = $var2 + $var5 | 0; nms_Block_$callClinit(); if (nms_World_isBlockTopFacingSurfaceSolid(var$2, nms_Block_blocksList.data[nms_World_getBlockId(var$2, var$19, var$17, var$20)], nms_World_getBlockMetadata(var$2, var$19, var$17, var$20))) { var$21 = nms_World_getBlockId($this.$theWorld4, var$19, $var3, var$20); var$1 = nms_Block_blocksList.data[var$21]; if (var$1 === null) var$21 = 0; else { var$2 = var$1.$blockMaterial; var$21 = !var$2.$isTranslucent ? var$2.$blocksMovement() : 0; var$21 = var$21 && var$1.$renderAsNormalBlock() && !var$1.$canProvidePower() ? 1 : 0; } if (!var$21) { var$21 = nms_World_getBlockId($this.$theWorld4, var$19, var$14, var$20); var$1 = nms_Block_blocksList.data[var$21]; if (var$1 === null) var$21 = 0; else { var$2 = var$1.$blockMaterial; var$21 = !var$2.$isTranslucent ? var$2.$blocksMovement() : 0; var$21 = var$21 && var$1.$renderAsNormalBlock() && !var$1.$canProvidePower() ? 1 : 0; } if (!var$21) { var$1 = $this.$thePet; var$6 = var$19 + 0.5; var$12 = $var3; var$9 = var$20 + 0.5; var$22 = var$1.$rotationYaw; var$23 = var$1.$rotationPitch; var$1.$posX = var$6; var$1.$prevPosX = var$6; var$1.$lastTickPosX = var$6; var$12 = var$12 + var$1.$yOffset; var$1.$posY = var$12; var$1.$prevPosY = var$12; var$1.$lastTickPosY = var$12; var$1.$posZ = var$9; var$1.$prevPosZ = var$9; var$1.$lastTickPosZ = var$9; var$1.$rotationYaw = var$22; var$1.$rotationPitch = var$23; nms_Entity_setPosition(var$1, var$6, var$12, var$9); $this.$petPathfinder.$currentPath = null; return; } } } } $var5 = $var5 + 1 | 0; } $var4 = $var4 + 1 | 0; } } } } } } } }; function nms_EntityAIBeg() { let a = this; nms_EntityAIBase.call(a); a.$theWolf = null; a.$thePlayer3 = null; a.$worldObject = null; a.$minPlayerDistance = 0.0; a.$field_75384_e = 0; } let nms_EntityAIBeg_shouldExecute = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$worldObject; var$2 = $this.$theWolf; var$3 = $this.$minPlayerDistance; var$1 = nms_World_getClosestPlayer(var$1, var$2.$posX, var$2.$posY, var$2.$posZ, var$3); $this.$thePlayer3 = var$1; if (var$1 === null) var$4 = 0; else { var$1 = var$1.$inventory; var$5 = var$1.$currentItem; var$1 = var$5 < 9 && var$5 >= 0 ? var$1.$mainInventory.data[var$5] : null; a: { if (var$1 === null) var$4 = 0; else { var$2 = $this.$theWolf.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$9 = var$2.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; if (!(!(var$2.$watchedObject.$value2 & 4) ? 0 : 1)) { var$4 = var$1.$itemID; nms_Item_$callClinit(); if (var$4 == nms_Item_bone.$itemID0) { var$4 = 1; break a; } } nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data; var$4 = var$1.$itemID; var$4 = !(var$8[var$4] instanceof nms_ItemFood) ? 0 : var$8[var$4].$isWolfsFavoriteMeat; } } } return var$4; }, nms_EntityAIBeg_continueExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; a: { var$1 = $this.$thePlayer3; if (!var$1.$isDead) { var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { var$6 = 1; break a; } } var$6 = 0; } b: { if (!var$6) var$6 = 0; else { var$1 = $this.$theWolf; var$5 = $this.$thePlayer3; var$7 = var$1.$posX - var$5.$posX; var$8 = var$1.$posY - var$5.$posY; var$9 = var$1.$posZ - var$5.$posZ; var$8 = var$7 * var$7 + var$8 * var$8 + var$9 * var$9; var$10 = $this.$minPlayerDistance; if (var$8 > var$10 * var$10) var$6 = 0; else { if ($this.$field_75384_e > 0) { var$5 = var$5.$inventory; var$11 = var$5.$currentItem; var$5 = var$11 < 9 && var$11 >= 0 ? var$5.$mainInventory.data[var$11] : null; c: { if (var$5 === null) var$6 = 0; else { var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[144]; if (var$12 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$12.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$2 = var$1.$key; if (var$12 !== var$2 && !jl_Integer_equals(var$12, var$2) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 4) ? 0 : 1)) { var$6 = var$5.$itemID; nms_Item_$callClinit(); if (var$6 == nms_Item_bone.$itemID0) { var$6 = 1; break c; } } nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data; var$6 = var$5.$itemID; var$6 = !(var$4[var$6] instanceof nms_ItemFood) ? 0 : var$4[var$6].$isWolfsFavoriteMeat; } } if (var$6) { var$6 = 1; break b; } } var$6 = 0; } } } return var$6; }, nms_EntityAIBeg_startExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$1 = $this.$theWolf.$dataWatcher; var$2 = jl_Byte_byteCache.data[129]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[147]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = var$3 === null ? null : var$3.$value1; var$3 = var$7.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$2.$value2 ? 1 : 0)) { var$7.$watchedObject = var$2; var$7.$watched = 1; var$1.$objectChanged = 1; } var$1 = $this.$theWolf.$rand; var$8 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 17)); while (true) { var$10 = var$9 % 40 | 0; if (((var$9 - var$10 | 0) + 39 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 17)); } $this.$field_75384_e = 40 + var$10 | 0; }, nms_EntityAIBeg_resetTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$theWolf.$dataWatcher; var$2 = jl_Byte_byteCache.data[128]; var$3 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[147]; if (var$4 === null) { var$3 = var$3.$elementData.data[0]; while (var$3 !== null && var$3.$key !== null) { var$3 = var$3.$next3; } } else { var$5 = var$4.$value0; var$6 = var$3.$elementData.data; var$3 = var$6[var$5 & (var$6.length - 1 | 0)]; while (var$3 !== null) { if (var$3.$origKeyHash == var$5) { var$7 = var$3.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } var$3 = var$3.$next3; } } var$7 = var$3 === null ? null : var$3.$value1; var$3 = var$7.$watchedObject; if (!(var$3 instanceof jl_Byte && var$3.$value2 == var$2.$value2 ? 1 : 0)) { var$7.$watchedObject = var$2; var$7.$watched = 1; var$1.$objectChanged = 1; } $this.$thePlayer3 = null; }, nms_EntityAIBeg_updateTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$1 = $this.$theWolf.$lookHelper; var$2 = $this.$thePlayer3; var$3 = var$2.$posX; var$4 = var$2.$posY + var$2.$getEyeHeight(); var$5 = $this.$thePlayer3.$posZ; var$2 = $this.$theWolf.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[144]; if (var$6 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$7 = var$6.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$7 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$7) { var$9 = var$2.$key; if (var$6 !== var$9 && !jl_Integer_equals(var$6, var$9) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; var$10 = (!(var$2.$watchedObject.$value2 & 1) ? 0 : 1) ? 20 : 40; var$1.$posX5 = var$3; var$1.$posY5 = var$4; var$1.$posZ4 = var$5; var$1.$deltaLookYaw = 10.0; var$1.$deltaLookPitch = var$10; var$1.$isLooking = 1; $this.$field_75384_e = $this.$field_75384_e - 1 | 0; }; function nms_EntityAIOwnerHurtByTarget() { let a = this; nms_EntityAITarget.call(a); a.$theDefendingTameable = null; a.$theOwnerAttacker = null; a.$field_142051_e = 0; } let nms_EntityAIOwnerHurtByTarget_shouldExecute = $this => { let var$1, var$2, var$3, var$4, $var1, var$6, var$7, $var2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var1 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$theDefendingTameable.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { $var1 = var$1.$key; if (var$2 !== $var1 && !(var$2 === $var1 ? 1 : $var1 instanceof jl_Integer && $var1.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 4) ? 0 : 1)) return 0; var$1 = $this.$theDefendingTameable; $var1 = var$1.$worldObj; var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[145]; if (var$6 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$6.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$2 = var$1.$key; if (var$6 !== var$2 && !jl_Integer_equals(var$6, var$2) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$6 = (var$1 === null ? null : var$1.$value1).$watchedObject; var$7 = 0; a: { while (true) { var$1 = $var1.$playerEntities; $var2 = $rt_compare(var$7, var$1.$size0); if ($var2 >= 0) { $var1 = null; break a; } if (var$7 < 0) break; if ($var2 >= 0) break; var$1 = var$1.$array.data[var$7].$username; if (var$6 === var$1) $var2 = 1; else if (!(var$1 instanceof jl_String)) $var2 = 0; else { var$1 = var$1; $var2 = var$6.$nativeString !== var$1.$nativeString ? 0 : 1; } if ($var2) { var$1 = $var1.$playerEntities; if (var$7 >= 0 && var$7 < var$1.$size0) { $var1 = var$1.$array.data[var$7]; break a; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$7 = var$7 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if ($var1 === null) return 0; var$1 = $var1.$entityLivingToAttack; $this.$theOwnerAttacker = var$1; if ($var1.$revengeTimer == $this.$field_142051_e) return 0; var$7 = 0; $ptr = 1; case 1: $tmp = nms_EntityAITarget_isSuitableTarget($this, var$1, var$7); if ($rt_suspending()) { break main; } var$7 = $tmp; return var$7 && nms_EntityWolf_func_142018_a($this.$theDefendingTameable, $this.$theOwnerAttacker, $var1) ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $var1, var$6, var$7, $var2, $ptr); }, nms_EntityAIOwnerHurtByTarget_startExecuting = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; $this.$taskOwner.$setAttackTarget($this.$theOwnerAttacker); $var1 = $this.$theDefendingTameable; var$2 = $var1.$worldObj; $var1 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[145]; if (var$3 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$4 = var$3.$value0; var$5 = $var1.$elementData.data; $var1 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$4) { var$6 = $var1.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } $var1 = $var1.$next3; } } var$6 = ($var1 === null ? null : $var1.$value1).$watchedObject; var$7 = 0; a: { while (true) { $var1 = var$2.$playerEntities; var$8 = $rt_compare(var$7, $var1.$size0); if (var$8 >= 0) { $var1 = null; break a; } if (var$7 < 0) break; if (var$8 >= 0) break; $var1 = $var1.$array.data[var$7].$username; if (var$6 === $var1) var$8 = 1; else if (!($var1 instanceof jl_String)) var$8 = 0; else { $var1 = $var1; var$8 = var$6.$nativeString !== $var1.$nativeString ? 0 : 1; } if (var$8) { $var1 = var$2.$playerEntities; if (var$7 >= 0 && var$7 < $var1.$size0) { $var1 = $var1.$array.data[var$7]; break a; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } var$7 = var$7 + 1 | 0; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } if ($var1 !== null) $this.$field_142051_e = $var1.$revengeTimer; $this.$targetSearchStatus = 0; $this.$targetSearchDelay = 0; $this.$field_75298_g = 0; }; function nms_EntityAIOwnerHurtTarget() { let a = this; nms_EntityAITarget.call(a); a.$theEntityTameable = null; a.$theTarget = null; a.$field_142050_e = 0; } let nms_EntityAIOwnerHurtTarget_shouldExecute = $this => { let var$1, var$2, var$3, var$4, $var1, var$6, var$7, $var2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var2 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var1 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$theEntityTameable.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { $var1 = var$1.$key; if (var$2 !== $var1 && !(var$2 === $var1 ? 1 : $var1 instanceof jl_Integer && $var1.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 4) ? 0 : 1)) return 0; var$1 = $this.$theEntityTameable; $var1 = var$1.$worldObj; var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[145]; if (var$6 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$6.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$2 = var$1.$key; if (var$6 !== var$2 && !jl_Integer_equals(var$6, var$2) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$6 = (var$1 === null ? null : var$1.$value1).$watchedObject; var$7 = 0; a: { while (true) { var$1 = $var1.$playerEntities; $var2 = $rt_compare(var$7, var$1.$size0); if ($var2 >= 0) { $var1 = null; break a; } if (var$7 < 0) break; if ($var2 >= 0) break; var$1 = var$1.$array.data[var$7].$username; if (var$6 === var$1) $var2 = 1; else if (!(var$1 instanceof jl_String)) $var2 = 0; else { var$1 = var$1; $var2 = var$6.$nativeString !== var$1.$nativeString ? 0 : 1; } if ($var2) { var$1 = $var1.$playerEntities; if (var$7 >= 0 && var$7 < var$1.$size0) { $var1 = var$1.$array.data[var$7]; break a; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$7 = var$7 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if ($var1 === null) return 0; var$1 = $var1.$lastAttacker; $this.$theTarget = var$1; if ($var1.$lastAttackerTime == $this.$field_142050_e) return 0; var$7 = 0; $ptr = 1; case 1: $tmp = nms_EntityAITarget_isSuitableTarget($this, var$1, var$7); if ($rt_suspending()) { break main; } var$7 = $tmp; return var$7 && nms_EntityWolf_func_142018_a($this.$theEntityTameable, $this.$theTarget, $var1) ? 1 : 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $var1, var$6, var$7, $var2, $ptr); }, nms_EntityAIOwnerHurtTarget_startExecuting = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; $this.$taskOwner.$setAttackTarget($this.$theTarget); $var1 = $this.$theEntityTameable; var$2 = $var1.$worldObj; $var1 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[145]; if (var$3 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$4 = var$3.$value0; var$5 = $var1.$elementData.data; $var1 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$4) { var$6 = $var1.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } $var1 = $var1.$next3; } } var$6 = ($var1 === null ? null : $var1.$value1).$watchedObject; var$7 = 0; a: { while (true) { $var1 = var$2.$playerEntities; var$8 = $rt_compare(var$7, $var1.$size0); if (var$8 >= 0) { $var1 = null; break a; } if (var$7 < 0) break; if (var$8 >= 0) break; $var1 = $var1.$array.data[var$7].$username; if (var$6 === $var1) var$8 = 1; else if (!($var1 instanceof jl_String)) var$8 = 0; else { $var1 = $var1; var$8 = var$6.$nativeString !== $var1.$nativeString ? 0 : 1; } if (var$8) { $var1 = var$2.$playerEntities; if (var$7 >= 0 && var$7 < $var1.$size0) { $var1 = $var1.$array.data[var$7]; break a; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } var$7 = var$7 + 1 | 0; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } if ($var1 !== null) $this.$field_142050_e = $var1.$lastAttackerTime; $this.$targetSearchStatus = 0; $this.$targetSearchDelay = 0; $this.$field_75298_g = 0; }; function nms_EntityAITargetNonTamed() { nms_EntityAINearestAttackableTarget.call(this); this.$theTameable = null; } let nms_EntityAITargetNonTamed_shouldExecute = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$theTameable.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value2 & 4) ? 0 : 1) return 0; $ptr = 1; case 1: $tmp = nms_EntityAINearestAttackableTarget_shouldExecute($this); if ($rt_suspending()) { break main; } var$6 = $tmp; return !var$6 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }; function nms_EntityAIOcelotSit() { let a = this; nms_EntityAIBase.call(a); a.$theOcelot = null; a.$field_75404_b = 0.0; a.$currentTick = 0; a.$field_75402_d = 0; a.$maxSittingTicks = 0; a.$sitableBlockX = 0; a.$sitableBlockY = 0; a.$sitableBlockZ = 0; } let nms_EntityAIOcelotSit_shouldExecute = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$theOcelot.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value2 & 4) ? 0 : 1) { var$1 = $this.$theOcelot.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 1) ? 0 : 1)) { var$1 = $this.$theOcelot.$rand; var$6 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$6; var$7 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$6, 22))), 27); var$8 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; if (Long_toNumber(Long_add(var$7, Long_fromInt(Long_lo(Long_shru(var$8, 21))))) * 1.1102230246251565E-16 <= 0.006500000134110451) { $ptr = 1; continue main; } } } return 0; case 1: $tmp = nms_EntityAIOcelotSit_getNearbySitableBlockDistance($this); if ($rt_suspending()) { break main; } var$9 = $tmp; return !var$9 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_EntityAIOcelotSit_continueExecuting = $this => { let var$1, var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$currentTick <= $this.$maxSittingTicks && $this.$field_75402_d <= 60) { var$1 = $this.$theOcelot.$worldObj; var$2 = $this.$sitableBlockX; var$3 = $this.$sitableBlockY; var$4 = $this.$sitableBlockZ; $ptr = 1; continue main; } return 0; case 1: $tmp = nms_EntityAIOcelotSit_isSittableBlock($this, var$1, var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2 = $tmp; return !var$2 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); }, nms_EntityAIOcelotSit_startExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14; var$1 = $this.$theOcelot.$navigator; var$2 = $this.$sitableBlockX + 0.5; var$3 = $this.$sitableBlockY + 1 | 0; var$4 = $this.$sitableBlockZ + 0.5; var$5 = $this.$field_75404_b; var$6 = var$2 | 0; if (var$2 < var$6) var$6 = var$6 - 1 | 0; var$2 = var$6; var$3 = var$3 | 0; var$6 = var$4 | 0; if (var$4 < var$6) var$6 = var$6 - 1 | 0; a: { b: { var$4 = var$6; var$7 = var$1.$theEntity; if (!var$7.$onGround) { if (!var$1.$canSwim) break b; if (!(!var$7.$isInWater() && !var$1.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$8 = 1; break a; } var$8 = 0; } if (!var$8) var$7 = null; else { var$7 = var$1.$worldObj3; var$9 = var$1.$theEntity; var$8 = var$2 | 0; if (var$2 < var$8) var$8 = var$8 - 1 | 0; var$6 = var$3 | 0; var$10 = var$4 | 0; if (var$4 < var$10) var$10 = var$10 - 1 | 0; var$11 = var$1.$pathSearchRange; if (var$11.$field_111133_g) { var$11.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$11); var$11.$field_111133_g = 0; } var$7 = nms_World_getEntityPathToXYZ(var$7, var$9, var$8, var$6, var$10, var$11.$field_111139_h, var$1.$canPassOpenWoodenDoors, var$1.$canPassClosedWoodenDoors, var$1.$avoidsWater, var$1.$canSwim); } nms_PathNavigate_setPath(var$1, var$7, var$5); $this.$currentTick = 0; $this.$field_75402_d = 0; var$7 = $this.$theOcelot; var$9 = var$7.$rand; var$12 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$12; var$13 = Long_lo(Long_shru(var$12, 17)); while (true) { var$14 = var$13 % 1200 | 0; if (((var$13 - var$14 | 0) + 1199 | 0) >= 0) break; var$12 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$12; var$13 = Long_lo(Long_shru(var$12, 17)); } var$6 = var$14 + 1200 | 0; var$12 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$12; var$14 = Long_lo(Long_shru(var$12, 17)); var$10 = var$6 - 1 | 0; if (!(var$6 & var$10)) var$13 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$6), Long_fromInt(var$14)), 31)); else while (true) { var$13 = var$14 % var$6 | 0; if (((var$14 - var$13 | 0) + var$10 | 0) >= 0) break; var$12 = Long_and(Long_add(Long_mul(var$9.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$9.$seed = var$12; var$14 = Long_lo(Long_shru(var$12, 17)); } $this.$maxSittingTicks = var$13 + 1200 | 0; var$7.$aiSit.$isSitting0 = 0; }, nms_EntityAIOcelotSit_resetTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$theOcelot; var$2 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; var$1 = var$1.$dataWatcher; var$7 = (var$7 & (-2)) << 24 >> 24; var$8 = jl_Byte_byteCache.data[var$7 + 128 | 0]; var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$8.$value2 ? 1 : 0)) { var$6.$watchedObject = var$8; var$6.$watched = 1; var$1.$objectChanged = 1; } }, nms_EntityAIOcelotSit_updateTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15; $this.$currentTick = $this.$currentTick + 1 | 0; var$1 = $this.$theOcelot; var$1.$aiSit.$isSitting0 = 0; var$2 = $this.$sitableBlockX; var$3 = $this.$sitableBlockY + 1 | 0; var$4 = $this.$sitableBlockZ; var$2 = var$1.$posX - var$2; var$3 = var$1.$posY - var$3; var$4 = var$1.$posZ - var$4; if (var$2 * var$2 + var$3 * var$3 + var$4 * var$4 <= 1.0) { var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$6 = var$5.$value0; var$7 = var$1.$elementData.data; var$1 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$6) { var$8 = var$1.$key; if (var$5 !== var$8 && !(var$5 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(var$1.$watchedObject.$value2 & 1) ? 0 : 1) $this.$field_75402_d = $this.$field_75402_d - 1 | 0; else { var$1 = $this.$theOcelot; var$5 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$10 = var$9.$value0; var$7 = var$5.$elementData.data; var$5 = var$7[var$10 & (var$7.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$10) { var$8 = var$5.$key; if (var$9 !== var$8 && !(var$9 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$6 = (var$5 === null ? null : var$5.$value1).$watchedObject.$value2; var$1 = var$1.$dataWatcher; var$6 = (var$6 | 1) << 24 >> 24; var$11 = jl_Byte_byteCache.data[var$6 + 128 | 0]; var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$9 = jl_Integer_integerCache.data[144]; if (var$9 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$10 = var$9.$value0; var$7 = var$5.$elementData.data; var$5 = var$7[var$10 & (var$7.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$10) { var$8 = var$5.$key; if (var$9 !== var$8 && !(var$9 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$8 = var$5 === null ? null : var$5.$value1; var$5 = var$8.$watchedObject; if (!(var$5 instanceof jl_Byte && var$5.$value2 == var$11.$value2 ? 1 : 0)) { var$8.$watchedObject = var$11; var$8.$watched = 1; var$1.$objectChanged = 1; } } } else { var$5 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$6 = var$8.$value0; var$7 = var$5.$elementData.data; var$5 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$6) { var$9 = var$5.$key; if (var$8 !== var$9 && !(var$8 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$6 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$12 = (var$5 === null ? null : var$5.$value1).$watchedObject.$value2; var$1 = var$1.$dataWatcher; var$6 = (var$12 & (-2)) << 24 >> 24; var$9 = jl_Byte_byteCache.data[var$6 + 128 | 0]; var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[144]; if (var$11 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$10 = var$11.$value0; var$7 = var$5.$elementData.data; var$5 = var$7[var$10 & (var$7.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$10) { var$8 = var$5.$key; if (var$11 !== var$8 && !(var$11 === var$8 ? 1 : var$8 instanceof jl_Integer && var$8.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$8 = var$5 === null ? null : var$5.$value1; var$5 = var$8.$watchedObject; if (!(var$5 instanceof jl_Byte && var$5.$value2 == var$9.$value2 ? 1 : 0)) { var$8.$watchedObject = var$9; var$8.$watched = 1; var$1.$objectChanged = 1; } var$9 = $this.$theOcelot.$navigator; var$3 = $this.$sitableBlockX + 0.5; var$4 = $this.$sitableBlockY + 1 | 0; var$2 = $this.$sitableBlockZ + 0.5; var$13 = $this.$field_75404_b; var$12 = var$3 | 0; if (var$3 < var$12) var$12 = var$12 - 1 | 0; var$3 = var$12; var$4 = var$4 | 0; var$12 = var$2 | 0; if (var$2 < var$12) var$12 = var$12 - 1 | 0; a: { b: { var$2 = var$12; var$1 = var$9.$theEntity; if (!var$1.$onGround) { if (!var$9.$canSwim) break b; if (!(!var$1.$isInWater() && !var$9.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$6 = 1; break a; } var$6 = 0; } if (!var$6) var$1 = null; else { var$1 = var$9.$worldObj3; var$5 = var$9.$theEntity; var$14 = var$3 | 0; if (var$3 < var$14) var$14 = var$14 - 1 | 0; var$6 = var$4 | 0; var$15 = var$2 | 0; if (var$2 < var$15) var$15 = var$15 - 1 | 0; var$8 = var$9.$pathSearchRange; if (var$8.$field_111133_g) { var$8.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$8); var$8.$field_111133_g = 0; } var$1 = nms_World_getEntityPathToXYZ(var$1, var$5, var$14, var$6, var$15, var$8.$field_111139_h, var$9.$canPassOpenWoodenDoors, var$9.$canPassClosedWoodenDoors, var$9.$avoidsWater, var$9.$canSwim); } nms_PathNavigate_setPath(var$9, var$1, var$13); $this.$field_75402_d = $this.$field_75402_d + 1 | 0; } }, nms_EntityAIOcelotSit_getNearbySitableBlockDistance = $this => { let var$1, $var1, $var2, $var4, var$5, var$6, var$7, $var5, $var6, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$theOcelot; $var1 = var$1.$posY | 0; $var2 = 2.147483647E9; $var4 = (var$1.$posX | 0) - 8 | 0; var$5 = $var1 + 1 | 0; var$6 = $var1; while (true) { var$7 = $var4; var$1 = $this.$theOcelot; if (var$7 >= var$1.$posX + 8.0) break; $var5 = (var$1.$posZ | 0) - 8 | 0; $var6 = $var5; var$1 = $this.$theOcelot; if ($var6 < var$1.$posZ + 8.0) { var$1 = var$1.$worldObj; $ptr = 1; continue main; } $var4 = $var4 + 1 | 0; } return $var2 >= 2.147483647E9 ? 0 : 1; case 1: $tmp = nms_EntityAIOcelotSit_isSittableBlock($this, var$1, $var4, $var1, $var5); if ($rt_suspending()) { break main; } var$10 = $tmp; if (var$10 && (nms_World_getBlockId($this.$theOcelot.$worldObj, $var4, var$5, $var5) ? 0 : 1)) { var$1 = $this.$theOcelot; var$11 = var$1.$posX - var$7; var$12 = var$1.$posY - var$6; $var6 = var$1.$posZ - $var6; $var6 = var$11 * var$11 + var$12 * var$12 + $var6 * $var6; if ($var6 < $var2) { $this.$sitableBlockX = $var4; $this.$sitableBlockY = $var1; $this.$sitableBlockZ = $var5; $var2 = $var6; } } $var5 = $var5 + 1 | 0; while (true) { $var6 = $var5; var$1 = $this.$theOcelot; if ($var6 < var$1.$posZ + 8.0) { var$1 = var$1.$worldObj; continue main; } $var4 = $var4 + 1 | 0; var$7 = $var4; var$1 = $this.$theOcelot; if (var$7 >= var$1.$posX + 8.0) break; $var5 = (var$1.$posZ | 0) - 8 | 0; } return $var2 >= 2.147483647E9 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, $var2, $var4, var$5, var$6, var$7, $var5, $var6, var$10, var$11, var$12, $ptr); }, nms_EntityAIOcelotSit_isSittableBlock = ($this, $par1World, $par2, $par3, $par4) => { let $var5, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nms_World_getBlockId($par1World, $par2, $par3, $par4); $var6 = nms_World_getBlockMetadata($par1World, $par2, $par3, $par4); nms_Block_$callClinit(); if ($var5 != nms_Block_chest.$blockID) { if ($var5 == nms_Block_furnaceBurning.$blockID) return 1; if ($var5 == nms_Block_bed.$blockID && !(!($var6 & 8) ? 0 : 1)) return 1; return 0; } $ptr = 1; case 1: $tmp = nms_World_getBlockTileEntity($par1World, $par2, $par3, $par4); if ($rt_suspending()) { break main; } $par1World = $tmp; if ($par1World.$numUsingPlayers < 1) return 1; return 0; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $var5, $var6, $ptr); }; function nms_EntityAIOcelotAttack() { let a = this; nms_EntityAIBase.call(a); a.$theWorld7 = null; a.$theEntity8 = null; a.$theVictim = null; a.$attackCountdown = 0; } let nms_EntityAIOcelotAttack_shouldExecute = $this => { let $var1; $var1 = $this.$theEntity8.$attackTarget; if ($var1 === null) return 0; $this.$theVictim = $var1; return 1; }, nms_EntityAIOcelotAttack_continueExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { var$1 = $this.$theVictim; if (!var$1.$isDead) { var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { var$6 = 1; break a; } } var$6 = 0; } b: { if (!var$6) var$6 = 0; else { var$1 = $this.$theEntity8; var$5 = $this.$theVictim; var$7 = var$1.$posX - var$5.$posX; var$8 = var$1.$posY - var$5.$posY; var$9 = var$1.$posZ - var$5.$posZ; if (var$7 * var$7 + var$8 * var$8 + var$9 * var$9 > 225.0) var$6 = 0; else { var$5 = var$1.$navigator.$currentPath; if (var$5 !== null && !(var$5.$currentPathIndex < var$5.$pathLength ? 0 : 1) ? 0 : 1) { var$1 = var$1.$attackTarget; if (var$1 === null) var$6 = 0; else { $this.$theVictim = var$1; var$6 = 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } } } return var$6; }, nms_EntityAIOcelotAttack_resetTask = $this => { $this.$theVictim = null; $this.$theEntity8.$navigator.$currentPath = null; }, nms_EntityAIOcelotAttack_updateTask = $this => { let var$1, var$2, $var1, var$4, $var3, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();$var1 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityLookHelper_setLookPositionWithEntity($this.$theEntity8.$lookHelper, $this.$theVictim, 30.0, 30.0); var$1 = $this.$theEntity8; var$2 = var$1.$width1; $var1 = var$2 * 2.0 * var$2 * 2.0; var$4 = $this.$theVictim; $var3 = var$4.$posX; $var5 = var$4.$boundingBox.$minY; var$7 = var$4.$posZ; var$8 = var$1.$posX - $var3; $var3 = var$1.$posY - $var5; $var5 = var$1.$posZ - var$7; $var3 = var$8 * var$8 + $var3 * $var3 + $var5 * $var5; $var5 = 0.8; var$9 = $rt_compare($var3, $var1); if (var$9 > 0 && $var3 < 16.0) $var5 = 1.33; else if ($var3 < 225.0) $var5 = 0.6; a: { b: { var$10 = var$1.$navigator; var$1 = var$10.$theEntity; if (!var$1.$onGround) { if (!var$10.$canSwim) break b; if (!(!var$1.$isInWater() && !var$10.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$11 = 1; break a; } var$11 = 0; } if (!var$11) var$1 = null; else { var$1 = var$10.$worldObj3; var$12 = var$10.$theEntity; var$13 = var$10.$pathSearchRange; if (var$13.$field_111133_g) { var$13.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$13); var$13.$field_111133_g = 0; } var$1 = nms_World_getPathEntityToEntity(var$1, var$12, var$4, var$13.$field_111139_h, var$10.$canPassOpenWoodenDoors, var$10.$canPassClosedWoodenDoors, var$10.$avoidsWater, var$10.$canSwim); } if (var$1 !== null) nms_PathNavigate_setPath(var$10, var$1, $var5); var$11 = $this.$attackCountdown - 1 | 0; var$14 = 0; if (var$11 > var$14) var$14 = var$11; $this.$attackCountdown = var$14; if (var$9 <= 0 && var$14 <= 0) { $this.$attackCountdown = 20; var$1 = $this.$theEntity8; var$4 = $this.$theVictim; var$12 = new nms_EntityDamageSource; var$12.$hungerDamage = 0.30000001192092896; var$12.$damageType = $rt_s(1858); var$12.$damageSourceEntity = var$1; var$2 = 3.0; $ptr = 1; continue main; } return; case 1: var$4.$attackEntityFrom(var$12, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, $var1, var$4, $var3, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }; function nms_EntityAIMoveTowardsTarget() { let a = this; nms_EntityAIBase.call(a); a.$theEntity10 = null; a.$targetEntity0 = null; a.$movePosX = 0.0; a.$movePosY = 0.0; a.$movePosZ = 0.0; a.$speed4 = 0.0; a.$maxTargetDistance = 0.0; } let nms_EntityAIMoveTowardsTarget_shouldExecute = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $var1 = $this.$theEntity10; var$2 = $var1.$attackTarget; $this.$targetEntity0 = var$2; if (var$2 === null) return 0; var$3 = var$2.$posX; var$4 = var$3 - $var1.$posX; var$5 = var$2.$posY; var$6 = var$5 - $var1.$posY; var$7 = var$2.$posZ; var$8 = var$7 - $var1.$posZ; var$6 = var$4 * var$4 + var$6 * var$6 + var$8 * var$8; var$9 = $this.$maxTargetDistance; if (var$6 > var$9 * var$9) return 0; var$2 = nms_Vec3Pool_getVecFromPool($var1.$worldObj.$vecPool, var$3, var$5, var$7); nms_RandomPositionGenerator_$callClinit(); var$10 = nms_RandomPositionGenerator_staticVector; var$10.$xCoord = var$2.$xCoord - $var1.$posX; var$10.$yCoord = var$2.$yCoord - $var1.$posY; var$10.$zCoord = var$2.$zCoord - $var1.$posZ; $var1 = nms_RandomPositionGenerator_findRandomTargetBlock($var1, 16, 7, var$10); if ($var1 === null) return 0; $this.$movePosX = $var1.$xCoord; $this.$movePosY = $var1.$yCoord; $this.$movePosZ = $var1.$zCoord; return 1; }, nms_EntityAIMoveTowardsTarget_continueExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$1 = $this.$theEntity10.$navigator.$currentPath; var$2 = var$1 !== null && !(var$1.$currentPathIndex < var$1.$pathLength ? 0 : 1) ? 0 : 1; a: { if (!var$2) { b: { var$1 = $this.$targetEntity0; if (!var$1.$isDead) { var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$4 = var$3.$value0; var$5 = var$1.$elementData.data; var$1 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$4) { var$6 = var$1.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { var$2 = 1; break b; } } var$2 = 0; } if (var$2) { var$1 = $this.$targetEntity0; var$6 = $this.$theEntity10; var$7 = var$1.$posX - var$6.$posX; var$8 = var$1.$posY - var$6.$posY; var$9 = var$1.$posZ - var$6.$posZ; var$7 = var$7 * var$7 + var$8 * var$8 + var$9 * var$9; var$10 = $this.$maxTargetDistance; if (var$7 < var$10 * var$10) { var$2 = 1; break a; } } } var$2 = 0; } return var$2; }, nms_EntityAIMoveTowardsTarget_resetTask = $this => { $this.$targetEntity0 = null; }, nms_EntityAIMoveTowardsTarget_startExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$1 = $this.$theEntity10.$navigator; var$2 = $this.$movePosX; var$3 = $this.$movePosY; var$4 = $this.$movePosZ; var$5 = $this.$speed4; var$6 = var$2 | 0; if (var$2 < var$6) var$6 = var$6 - 1 | 0; var$7 = var$6; var$3 = var$3 | 0; var$6 = var$4 | 0; if (var$4 < var$6) var$6 = var$6 - 1 | 0; a: { b: { var$2 = var$6; var$8 = var$1.$theEntity; if (!var$8.$onGround) { if (!var$1.$canSwim) break b; if (!(!var$8.$isInWater() && !var$1.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$9 = 1; break a; } var$9 = 0; } if (!var$9) var$8 = null; else { var$8 = var$1.$worldObj3; var$10 = var$1.$theEntity; var$9 = var$7 | 0; if (var$7 < var$9) var$9 = var$9 - 1 | 0; var$6 = var$3 | 0; var$11 = var$2 | 0; if (var$2 < var$11) var$11 = var$11 - 1 | 0; var$12 = var$1.$pathSearchRange; if (var$12.$field_111133_g) { var$12.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$12); var$12.$field_111133_g = 0; } var$8 = nms_World_getEntityPathToXYZ(var$8, var$10, var$9, var$6, var$11, var$12.$field_111139_h, var$1.$canPassOpenWoodenDoors, var$1.$canPassClosedWoodenDoors, var$1.$avoidsWater, var$1.$canSwim); } nms_PathNavigate_setPath(var$1, var$8, var$5); }; function nms_EntityAILookAtVillager() { let a = this; nms_EntityAIBase.call(a); a.$theGolem0 = null; a.$theVillager0 = null; a.$lookTime0 = 0; } let nms_EntityAILookAtVillager_shouldExecute = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$theGolem0; var$2 = var$1.$worldObj; if (!(var$2.$skylightSubtracted >= 4 ? 0 : 1)) return 0; var$3 = var$1.$rand; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); while (true) { var$6 = var$5 % 8000 | 0; if (((var$5 - var$6 | 0) + 7999 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$3.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$3.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } if (var$6) return 0; var$3 = $rt_cls(nms_EntityVillager); var$1 = var$1.$boundingBox; var$7 = var$1.$minX - 6.0; var$8 = var$1.$minY - 2.0; var$9 = var$1.$minZ - 6.0; var$10 = var$1.$maxX + 6.0; var$11 = var$1.$maxY + 2.0; var$12 = var$1.$maxZ + 6.0; var$13 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$14 = var$13.$nextPoolIndex; var$1 = var$13.$listAABB; var$15 = var$1.$size0; var$16 = $rt_compare(var$14, var$15); if (var$16 >= 0) { var$17 = new nms_AxisAlignedBB; var$17.$minX = var$7; var$17.$minY = var$8; var$17.$minZ = var$9; var$17.$maxX = var$10; var$17.$maxY = var$11; var$17.$maxZ = var$12; ju_ArrayList_ensureCapacity(var$1, var$15 + 1 | 0); var$18 = var$1.$array.data; var$16 = var$1.$size0; var$1.$size0 = var$16 + 1 | 0; var$18[var$16] = var$17; var$1.$modCount = var$1.$modCount + 1 | 0; } else if (var$14 >= 0 && var$16 < 0) { var$17 = var$1.$array.data[var$14]; var$17.$minX = var$7; var$17.$minY = var$8; var$17.$minZ = var$9; var$17.$maxX = var$10; var$17.$maxY = var$11; var$17.$maxZ = var$12; } else { var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } var$13.$nextPoolIndex = var$13.$nextPoolIndex + 1 | 0; var$1 = $this.$theGolem0; var$13 = null; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB(var$2, var$3, var$17, var$13); if ($rt_suspending()) { break main; } var$13 = $tmp; var$3 = null; var$10 = 1.7976931348623157E308; var$14 = 0; a: { while (true) { var$16 = $rt_compare(var$14, var$13.$size0); if (var$16 >= 0) break; if (var$14 < 0) break a; if (var$16 >= 0) break a; var$2 = var$13.$array.data[var$14]; if (var$2 !== var$1) { var$11 = var$1.$posX - var$2.$posX; var$12 = var$1.$posY - var$2.$posY; var$7 = var$1.$posZ - var$2.$posZ; var$11 = var$11 * var$11 + var$12 * var$12 + var$7 * var$7; if (var$11 <= var$10) { var$3 = var$2; var$10 = var$11; } } var$14 = var$14 + 1 | 0; } var$3 = var$3; $this.$theVillager0 = var$3; return var$3 === null ? 0 : 1; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityAILookAtVillager_continueExecuting = $this => { return $this.$lookTime0 <= 0 ? 0 : 1; }, nms_EntityAILookAtVillager_startExecuting = $this => { $this.$lookTime0 = 400; $this.$theGolem0.$holdRoseTick = 400; }, nms_EntityAILookAtVillager_resetTask = $this => { $this.$theGolem0.$holdRoseTick = 0; $this.$theVillager0 = null; }, nms_EntityAILookAtVillager_updateTask = $this => { nms_EntityLookHelper_setLookPositionWithEntity($this.$theGolem0.$lookHelper, $this.$theVillager0, 30.0, 30.0); $this.$lookTime0 = $this.$lookTime0 - 1 | 0; }; function nms_EntityAIDefendVillage() { let a = this; nms_EntityAITarget.call(a); a.$irongolem = null; a.$villageAgressorTarget = null; } let nms_EntityAIDefendVillage_shouldExecute = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$irongolem; $var1 = var$1.$villageObj1; if ($var1 === null) return 0; var$1 = $var1.$findNearestVillageAggressor(var$1); $this.$villageAgressorTarget = var$1; var$3 = 0; $ptr = 1; case 1: $tmp = nms_EntityAITarget_isSuitableTarget($this, var$1, var$3); if ($rt_suspending()) { break main; } var$3 = $tmp; if (var$3) return 1; var$1 = $this.$taskOwner.$rand; var$4 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); while (true) { var$6 = var$5 % 20 | 0; if (((var$5 - var$6 | 0) + 19 | 0) >= 0) break; var$4 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$4; var$5 = Long_lo(Long_shru(var$4, 17)); } if (var$6) return 0; var$1 = $var1.$func_82685_c($this.$irongolem); $this.$villageAgressorTarget = var$1; var$3 = 0; $ptr = 2; case 2: $tmp = nms_EntityAITarget_isSuitableTarget($this, var$1, var$3); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, var$3, var$4, var$5, var$6, $ptr); }, nms_EntityAIDefendVillage_startExecuting = $this => { $this.$irongolem.$attackTarget = $this.$villageAgressorTarget; $this.$targetSearchStatus = 0; $this.$targetSearchDelay = 0; $this.$field_75298_g = 0; }; function nms_EntityAIRunAroundLikeCrazy() { let a = this; nms_EntityAIBase.call(a); a.$horseHost = null; a.$field_111178_b = 0.0; a.$field_111179_c = 0.0; a.$field_111176_d = 0.0; a.$field_111177_e = 0.0; } let nms_EntityAIRunAroundLikeCrazy_shouldExecute = $this => { let $var1, var$2, var$3, var$4, var$5; $var1 = $this.$horseHost.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$3 = var$2.$value0; var$4 = $var1.$elementData.data; $var1 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$3) { var$5 = $var1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } $var1 = $var1.$next3; } } $var1 = $var1 === null ? null : $var1.$value1; if (!(!($var1.$watchedObject.$value0 & 2) ? 0 : 1)) { $var1 = $this.$horseHost; if ($var1.$riddenByEntity !== null) { nms_RandomPositionGenerator_$callClinit(); $var1 = nms_RandomPositionGenerator_findRandomTargetBlock($var1, 5, 4, null); if ($var1 === null) return 0; $this.$field_111179_c = $var1.$xCoord; $this.$field_111176_d = $var1.$yCoord; $this.$field_111177_e = $var1.$zCoord; return 1; } } return 0; }, nms_EntityAIRunAroundLikeCrazy_startExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$1 = $this.$horseHost.$navigator; var$2 = $this.$field_111179_c; var$3 = $this.$field_111176_d; var$4 = $this.$field_111177_e; var$5 = $this.$field_111178_b; var$6 = var$2 | 0; if (var$2 < var$6) var$6 = var$6 - 1 | 0; var$7 = var$6; var$3 = var$3 | 0; var$6 = var$4 | 0; if (var$4 < var$6) var$6 = var$6 - 1 | 0; a: { b: { var$2 = var$6; var$8 = var$1.$theEntity; if (!var$8.$onGround) { if (!var$1.$canSwim) break b; if (!(!var$8.$isInWater() && !var$1.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$9 = 1; break a; } var$9 = 0; } if (!var$9) var$8 = null; else { var$8 = var$1.$worldObj3; var$10 = var$1.$theEntity; var$9 = var$7 | 0; if (var$7 < var$9) var$9 = var$9 - 1 | 0; var$6 = var$3 | 0; var$11 = var$2 | 0; if (var$2 < var$11) var$11 = var$11 - 1 | 0; var$12 = var$1.$pathSearchRange; if (var$12.$field_111133_g) { var$12.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$12); var$12.$field_111133_g = 0; } var$8 = nms_World_getEntityPathToXYZ(var$8, var$10, var$9, var$6, var$11, var$12.$field_111139_h, var$1.$canPassOpenWoodenDoors, var$1.$canPassClosedWoodenDoors, var$1.$avoidsWater, var$1.$canSwim); } nms_PathNavigate_setPath(var$1, var$8, var$5); }, nms_EntityAIRunAroundLikeCrazy_continueExecuting = $this => { let var$1, var$2, var$3; var$1 = $this.$horseHost; var$2 = var$1.$navigator.$currentPath; var$3 = var$2 !== null && !(var$2.$currentPathIndex < var$2.$pathLength ? 0 : 1) ? 0 : 1; return !var$3 && var$1.$riddenByEntity !== null ? 1 : 0; }, nms_EntityAIRunAroundLikeCrazy_updateTask = $this => { let var$1, var$2, var$3, var$4, $var2, var$6, $var1, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var1 = $thread.pop();var$6 = $thread.pop();$var2 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$horseHost; var$2 = var$1.$rand; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); while (true) { $var2 = var$4 % 50 | 0; if (((var$4 - $var2 | 0) + 49 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$4 = Long_lo(Long_shru(var$3, 17)); } if ($var2) return; var$6 = var$1.$riddenByEntity; if (var$6 instanceof nms_EntityPlayer) { $var1 = var$1.$temper; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$8 = Long_lo(Long_shru(var$3, 17)); while (true) { var$4 = var$8 % 100 | 0; if (((var$8 - var$4 | 0) + 99 | 0) >= 0) break; var$3 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$3; var$8 = Long_lo(Long_shru(var$3, 17)); } if (var$4 >= $var1) { var$9 = $var1 + 5 | 0; var$8 = 0; if (var$9 >= var$8) var$8 = var$9 <= 100 ? var$9 : 100; var$1.$temper = var$8; } else { var$10 = var$6.$username; var$6 = var$1.$dataWatcher; var$2 = var$6.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[149]; if (var$11 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$11.$value0; var$12 = var$2.$elementData.data; var$2 = var$12[var$4 & (var$12.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$13 = var$2.$key; if (var$11 !== var$13 && !jl_Integer_equals(var$11, var$13) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$13 = var$2 === null ? null : var$2.$value1; var$2 = var$13.$watchedObject; if (var$10 === var$2) var$9 = 1; else if (!(var$2 instanceof jl_String)) var$9 = 0; else { var$2 = var$2; var$9 = var$10.$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$9) { var$13.$watchedObject = var$10; var$13.$watched = 1; var$6.$objectChanged = 1; } var$6 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$13 = jl_Integer_integerCache.data[144]; if (var$13 === null) { var$6 = var$6.$elementData.data[0]; while (var$6 !== null && var$6.$key !== null) { var$6 = var$6.$next3; } } else { $var2 = jl_Integer_hashCode(var$13.$value0); var$12 = var$6.$elementData.data; var$6 = var$12[$var2 & (var$12.length - 1 | 0)]; while (var$6 !== null && !(var$6.$origKeyHash == $var2 && ju_HashMap_areEqualKeys(var$13, var$6.$key))) { var$6 = var$6.$next3; } } var$8 = (var$6 === null ? null : var$6.$value1).$watchedObject.$value0; var$1 = var$1.$dataWatcher; var$9 = var$8 | 2; if (var$9 >= (-128) && var$9 <= 127) { jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { var$6 = new jl_Integer; var$6.$value0 = var$9; } var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[144]; if (var$11 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = jl_Integer_hashCode(var$11.$value0); var$12 = var$2.$elementData.data; var$2 = var$12[var$4 & (var$12.length - 1 | 0)]; while (var$2 !== null && !(var$2.$origKeyHash == var$4 && ju_HashMap_areEqualKeys(var$11, var$2.$key))) { var$2 = var$2.$next3; } } var$13 = var$2 === null ? null : var$2.$value1; var$2 = var$13.$watchedObject; if (!(var$6 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == var$6.$value0 ? 1 : 0)) { var$13.$watchedObject = var$6; var$13.$watched = 1; var$1.$objectChanged = 1; } return; } } var$1 = null; $ptr = 1; case 1: var$6.$mountEntity(var$1); if ($rt_suspending()) { break main; } var$1 = $this.$horseHost; var$1.$riddenByEntity = null; if (!var$1.$worldObj.$isRemote) { var$1.$jumpRearingCounter = 1; var$4 = (ju_HashMap_get(var$1.$dataWatcher.$watchedObjects, jl_Integer_valueOf(16))).$watchedObject.$value0; var$6 = var$1.$dataWatcher; var$8 = var$4 & (-33); if (var$8 >= (-128) && var$8 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$8 + 128 | 0]; } else { var$2 = new jl_Integer; jl_Number__init_(var$2); var$2.$value0 = var$8; } var$11 = ju_HashMap_get(var$6.$watchedObjects, jl_Integer_valueOf(16)); if (!jl_Integer_equals(var$2, var$11.$watchedObject)) { var$11.$watchedObject = var$2; var$11.$watched = 1; var$6.$objectChanged = 1; } var$6 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) var$6 = ju_HashMap_findNullKeyEntry(var$6); else { var$4 = jl_Integer_hashCode0(var$2); var$6 = ju_HashMap_findNonNullKeyEntry(var$6, var$2, var$4 & (var$6.$elementData.data.length - 1 | 0), var$4); } var$8 = (var$6 === null ? null : var$6.$value1).$watchedObject.$value0; var$6 = var$1.$dataWatcher; var$9 = var$8 | 64; if (var$9 >= (-128) && var$9 <= 127) { jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[var$9 + 128 | 0]; } else { var$2 = new jl_Integer; var$2.$value0 = var$9; } var$13 = var$6.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[144]; if (var$11 === null) var$13 = ju_HashMap_findNullKeyEntry(var$13); else { var$8 = jl_Integer_hashCode0(var$11); var$13 = ju_HashMap_findNonNullKeyEntry(var$13, var$11, var$8 & (var$13.$elementData.data.length - 1 | 0), var$8); } var$11 = var$13 === null ? null : var$13.$value1; var$13 = var$11.$watchedObject; if (!(var$2 === var$13 ? 1 : var$13 instanceof jl_Integer && var$13.$value0 == var$2.$value0 ? 1 : 0)) { var$11.$watchedObject = var$2; var$11.$watched = 1; var$6.$objectChanged = 1; } } var$6 = nms_EntityHorse_getAngrySoundName(var$1); if (var$6 !== null) { var$14 = nms_EntityLivingBase_getSoundPitch(var$1); nms_World_playSoundAtEntity(var$1.$worldObj, var$1, var$6, 0.800000011920929, var$14); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $var2, var$6, $var1, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }; function nms_EntityAITasks() { let a = this; jl_Object.call(a); a.$taskEntries = null; a.$executingTaskEntries = null; a.$tickCount0 = 0; a.$tickRate0 = 0; } let nms_EntityAITasks__init_0 = $this => { let var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$taskEntries = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$executingTaskEntries = var$1; $this.$tickRate0 = 3; }, nms_EntityAITasks__init_ = () => { let var_0 = new nms_EntityAITasks(); nms_EntityAITasks__init_0(var_0); return var_0; }, nms_EntityAITasks_onUpdateTasks = $this => { let $var1, $var2$index, $var3, $var2, $var4, $var3_0, var$7, var$8, var$9, $var2$index_0, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var2$index_0 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var3_0 = $thread.pop();$var4 = $thread.pop();$var2 = $thread.pop();$var3 = $thread.pop();$var2$index = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var1 = new ju_ArrayList; $var1.$array = $rt_createArray(jl_Object, 10); $var2$index = $this.$tickCount0; $this.$tickCount0 = $var2$index + 1 | 0; if ($var2$index % $this.$tickRate0 | 0) { $var3 = $this.$executingTaskEntries; $var2 = new ju_AbstractList$1; $var2.$this$00 = $var3; $var2.$modCount1 = $var3.$modCount; $var2.$size3 = $var3.$size(); $var2.$removeIndex = (-1); $var4 = $var2.$index0; if (!($var4 >= $var2.$size3 ? 0 : 1)) break a; $var2$index = $var2.$modCount1; $var3 = $var2.$this$00; if ($var2$index < $var3.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var2.$removeIndex = $var4; $var2.$index0 = $var4 + 1 | 0; $var3 = $var3.$get($var4); $var3_0 = $var3.$action; $ptr = 1; continue main; } $var3 = $this.$taskEntries; $var2$index = 0; var$7 = $var3.$modCount; var$8 = $var3.$size(); var$9 = 0; b: while (true) { if (!($var2$index >= var$8 ? 0 : 1)) break a; if (var$7 < $var3.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var2$index_0 = $var2$index + 1 | 0; $var3_0 = $var3.$get($var2$index); $var2 = $this.$executingTaskEntries; $var2$index = $var2.$modCount; var$11 = $var2.$size(); var$12 = var$9; c: { while (true) { if (!(var$12 >= var$11 ? 0 : 1)) { $var4 = 0; break c; } if ($var2$index < $var2.$modCount) break b; var$13 = var$12 + 1 | 0; var$14 = $var2.$get(var$12); if (var$14 === $var3_0 ? 1 : var$14 !== null ? var$14.$equals($var3_0) : $var3_0 !== null ? 0 : 1) break; var$12 = var$13; } $var4 = 1; } if ($var4) { if (!nms_EntityAITasks_canUse($this, $var3_0)) { $var2 = $var3_0.$action; $ptr = 5; continue main; } $var2 = $var3_0.$action; $ptr = 6; continue main; } if (nms_EntityAITasks_canUse($this, $var3_0)) { $var2 = $var3_0.$action; $ptr = 4; continue main; } $var2$index = $var2$index_0; } $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var2$index = $var1.$modCount; var$11 = $var1.$size(); if (0 >= var$11 ? 0 : 1) { if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = 0 + 1 | 0; $var3 = ($var1.$get(0)).$action; $ptr = 3; continue main; } $var1 = $this.$executingTaskEntries; $var2$index = $var1.$modCount; var$11 = $var1.$size(); if (!(0 >= var$11 ? 0 : 1)) return; if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = 0 + 1 | 0; $var3 = ($var1.$get(0)).$action; $ptr = 7; continue main; case 1: $tmp = $var3_0.$continueExecuting(); if ($rt_suspending()) { break main; } $var4 = $tmp; if (!$var4) { $var3 = $var3.$action; $ptr = 2; continue main; } $var4 = $var2.$index0; if ($var4 >= $var2.$size3 ? 0 : 1) { $var2$index = $var2.$modCount1; $var3 = $var2.$this$00; if ($var2$index < $var3.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var2.$removeIndex = $var4; $var2.$index0 = $var4 + 1 | 0; $var3 = $var3.$get($var4); $var3_0 = $var3.$action; continue main; } $var2$index = $var1.$modCount; var$11 = $var1.$size(); if (0 >= var$11 ? 0 : 1) { if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = 0 + 1 | 0; $var3 = ($var1.$get(0)).$action; $ptr = 3; continue main; } $var1 = $this.$executingTaskEntries; $var2$index = $var1.$modCount; var$11 = $var1.$size(); if (!(0 >= var$11 ? 0 : 1)) return; if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = 0 + 1 | 0; $var3 = ($var1.$get(0)).$action; $ptr = 7; continue main; case 2: $var3.$resetTask(); if ($rt_suspending()) { break main; } ju_AbstractList$1_remove($var2); $var4 = $var2.$index0; if ($var4 >= $var2.$size3 ? 0 : 1) { $var2$index = $var2.$modCount1; $var3 = $var2.$this$00; if ($var2$index < $var3.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var2.$removeIndex = $var4; $var2.$index0 = $var4 + 1 | 0; $var3 = $var3.$get($var4); $var3_0 = $var3.$action; $ptr = 1; continue main; } $var2$index = $var1.$modCount; var$11 = $var1.$size(); if (0 >= var$11 ? 0 : 1) { if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = 0 + 1 | 0; $var3 = ($var1.$get(0)).$action; $ptr = 3; continue main; } $var1 = $this.$executingTaskEntries; $var2$index = $var1.$modCount; var$11 = $var1.$size(); if (!(0 >= var$11 ? 0 : 1)) return; if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = 0 + 1 | 0; $var3 = ($var1.$get(0)).$action; $ptr = 7; continue main; case 3: $var3.$startExecuting(); if ($rt_suspending()) { break main; } $var2$index_0 = $var4; if ($var2$index_0 >= var$11 ? 0 : 1) { if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = $var2$index_0 + 1 | 0; $var3 = ($var1.$get($var2$index_0)).$action; continue main; } $var1 = $this.$executingTaskEntries; $var2$index = $var1.$modCount; var$11 = $var1.$size(); if (!(0 >= var$11 ? 0 : 1)) return; if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = 0 + 1 | 0; $var3 = ($var1.$get(0)).$action; $ptr = 7; continue main; case 4: $tmp = $var2.$shouldExecute(); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) { ju_ArrayList_ensureCapacity($var1, $var1.$size0 + 1 | 0); var$15 = $var1.$array.data; $var2$index = $var1.$size0; $var1.$size0 = $var2$index + 1 | 0; var$15[$var2$index] = $var3_0; $var1.$modCount = $var1.$modCount + 1 | 0; $var2 = $this.$executingTaskEntries; ju_ArrayList_ensureCapacity($var2, $var2.$size0 + 1 | 0); var$15 = $var2.$array.data; $var2$index = $var2.$size0; $var2.$size0 = $var2$index + 1 | 0; var$15[$var2$index] = $var3_0; $var2.$modCount = $var2.$modCount + 1 | 0; } d: while (true) { $var2$index = $var2$index_0; if (!($var2$index >= var$8 ? 0 : 1)) { $var2$index = $var1.$modCount; var$11 = $var1.$size(); if (0 >= var$11 ? 0 : 1) { if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = 0 + 1 | 0; $var3 = ($var1.$get(0)).$action; $ptr = 3; continue main; } $var1 = $this.$executingTaskEntries; $var2$index = $var1.$modCount; var$11 = $var1.$size(); if (!(0 >= var$11 ? 0 : 1)) return; if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = 0 + 1 | 0; $var3 = ($var1.$get(0)).$action; $ptr = 7; continue main; } if (var$7 < $var3.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var2$index_0 = $var2$index + 1 | 0; $var3_0 = $var3.$get($var2$index); $var2 = $this.$executingTaskEntries; $var2$index = $var2.$modCount; var$11 = $var2.$size(); var$12 = var$9; e: { while (true) { if (!(var$12 >= var$11 ? 0 : 1)) { $var4 = 0; break e; } if ($var2$index < $var2.$modCount) break d; var$13 = var$12 + 1 | 0; var$14 = $var2.$get(var$12); if (var$14 === $var3_0 ? 1 : var$14 !== null ? var$14.$equals($var3_0) : $var3_0 !== null ? 0 : 1) break; var$12 = var$13; } $var4 = 1; } if ($var4) { if (!nms_EntityAITasks_canUse($this, $var3_0)) { $var2 = $var3_0.$action; $ptr = 5; continue main; } $var2 = $var3_0.$action; $ptr = 6; continue main; } if (!nms_EntityAITasks_canUse($this, $var3_0)) continue; else { $var2 = $var3_0.$action; continue main; } } $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); case 5: $var2.$resetTask(); if ($rt_suspending()) { break main; } $var2 = $this.$executingTaskEntries; var$11 = $var2.$size0; $var4 = 0; a: { while (true) { $var2$index = $rt_compare($var4, var$11); if ($var2$index >= 0) { $var4 = (-1); break a; } if ($var4 < 0) break; if ($var2$index >= 0) break; var$14 = $var2.$array.data[$var4]; if ($var3_0 === var$14 ? 1 : $var3_0 === null ? (var$14 !== null ? 0 : 1) : $var3_0 !== var$14 ? 0 : 1) break a; $var4 = $var4 + 1 | 0; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } if ($var4 >= 0) ju_ArrayList_remove($var2, $var4); f: while (true) { if (nms_EntityAITasks_canUse($this, $var3_0)) { $var2 = $var3_0.$action; $ptr = 4; continue main; } $var2$index = $var2$index_0; if (!($var2$index >= var$8 ? 0 : 1)) { $var2$index = $var1.$modCount; var$11 = $var1.$size(); if (0 >= var$11 ? 0 : 1) { if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = 0 + 1 | 0; $var3 = ($var1.$get(0)).$action; $ptr = 3; continue main; } $var1 = $this.$executingTaskEntries; $var2$index = $var1.$modCount; var$11 = $var1.$size(); if (!(0 >= var$11 ? 0 : 1)) return; if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = 0 + 1 | 0; $var3 = ($var1.$get(0)).$action; $ptr = 7; continue main; } if (var$7 < $var3.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var2$index_0 = $var2$index + 1 | 0; $var3_0 = $var3.$get($var2$index); $var2 = $this.$executingTaskEntries; $var2$index = $var2.$modCount; var$11 = $var2.$size(); var$12 = var$9; g: { while (true) { if (!(var$12 >= var$11 ? 0 : 1)) { $var4 = 0; break g; } if ($var2$index < $var2.$modCount) break f; var$13 = var$12 + 1 | 0; var$14 = $var2.$get(var$12); if (var$14 === $var3_0 ? 1 : var$14 !== null ? var$14.$equals($var3_0) : $var3_0 !== null ? 0 : 1) break; var$12 = var$13; } $var4 = 1; } if (!$var4) continue; else { if (!nms_EntityAITasks_canUse($this, $var3_0)) { $var2 = $var3_0.$action; continue main; } $var2 = $var3_0.$action; $ptr = 6; continue main; } } $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); case 6: h: { $tmp = $var2.$continueExecuting(); if ($rt_suspending()) { break main; } $var4 = $tmp; if ($var4) { $var2$index = $var2$index_0; i: while (true) { if (!($var2$index >= var$8 ? 0 : 1)) { $var2$index = $var1.$modCount; var$11 = $var1.$size(); if (0 >= var$11 ? 0 : 1) { if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = 0 + 1 | 0; $var3 = ($var1.$get(0)).$action; $ptr = 3; continue main; } $var1 = $this.$executingTaskEntries; $var2$index = $var1.$modCount; var$11 = $var1.$size(); if (!(0 >= var$11 ? 0 : 1)) return; if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = 0 + 1 | 0; $var3 = ($var1.$get(0)).$action; $ptr = 7; continue main; } if (var$7 < $var3.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var2$index_0 = $var2$index + 1 | 0; $var3_0 = $var3.$get($var2$index); $var2 = $this.$executingTaskEntries; $var2$index = $var2.$modCount; var$11 = $var2.$size(); var$12 = var$9; j: { while (true) { if (!(var$12 >= var$11 ? 0 : 1)) { $var4 = 0; break j; } if ($var2$index < $var2.$modCount) break i; var$13 = var$12 + 1 | 0; var$14 = $var2.$get(var$12); if (var$14 === $var3_0 ? 1 : var$14 !== null ? var$14.$equals($var3_0) : $var3_0 !== null ? 0 : 1) break; var$12 = var$13; } $var4 = 1; } if ($var4) { if (!nms_EntityAITasks_canUse($this, $var3_0)) break h; else { $var2 = $var3_0.$action; continue main; } } if (nms_EntityAITasks_canUse($this, $var3_0)) { $var2 = $var3_0.$action; $ptr = 4; continue main; } $var2$index = $var2$index_0; } $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } } $var2 = $var3_0.$action; $ptr = 5; continue main; case 7: $var3.$updateTask(); if ($rt_suspending()) { break main; } $var2$index_0 = $var4; if (!($var2$index_0 >= var$11 ? 0 : 1)) return; if ($var2$index < $var1.$modCount) { $var1 = new ju_ConcurrentModificationException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var4 = $var2$index_0 + 1 | 0; $var3 = ($var1.$get($var2$index_0)).$action; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, $var2$index, $var3, $var2, $var4, $var3_0, var$7, var$8, var$9, $var2$index_0, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_EntityAITasks_canUse = ($this, $par1EntityAITaskEntry) => { let var$2, $var2$index, var$4, var$5, $var2$index_0, $var3, var$8, var$9, var$10, var$11, var$12; var$2 = $this.$taskEntries; $var2$index = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); while ($var2$index >= var$5 ? 0 : 1) { if (var$4 < var$2.$modCount) { $par1EntityAITaskEntry = new ju_ConcurrentModificationException; $par1EntityAITaskEntry.$suppressionEnabled = 1; $par1EntityAITaskEntry.$writableStackTrace = 1; $rt_throw($par1EntityAITaskEntry); } $var2$index_0 = $var2$index + 1 | 0; $var3 = var$2.$get($var2$index); if ($var3 !== $par1EntityAITaskEntry) { if ($par1EntityAITaskEntry.$priority < $var3.$priority) { var$8 = $this.$executingTaskEntries; $var2$index = var$8.$modCount; var$9 = var$8.$size(); var$10 = 0; a: { while (true) { if (!(var$10 >= var$9 ? 0 : 1)) { var$11 = 0; break a; } if ($var2$index < var$8.$modCount) { $par1EntityAITaskEntry = new ju_ConcurrentModificationException; $par1EntityAITaskEntry.$suppressionEnabled = 1; $par1EntityAITaskEntry.$writableStackTrace = 1; $rt_throw($par1EntityAITaskEntry); } var$11 = var$10 + 1 | 0; var$12 = var$8.$get(var$10); if (var$12 === $var3 ? 1 : var$12 !== null ? var$12.$equals($var3) : $var3 !== null ? 0 : 1) break; var$10 = var$11; } var$11 = 1; } } else { var$12 = $this.$executingTaskEntries; var$9 = var$12.$modCount; var$10 = var$12.$size(); $var2$index = 0; b: { while (true) { if (!($var2$index >= var$10 ? 0 : 1)) { var$11 = 0; break b; } if (var$9 < var$12.$modCount) { $par1EntityAITaskEntry = new ju_ConcurrentModificationException; $par1EntityAITaskEntry.$suppressionEnabled = 1; $par1EntityAITaskEntry.$writableStackTrace = 1; $rt_throw($par1EntityAITaskEntry); } var$11 = $var2$index + 1 | 0; var$8 = var$12.$get($var2$index); if (var$8 === $var3 ? 1 : var$8 !== null ? var$8.$equals($var3) : $var3 !== null ? 0 : 1) break; $var2$index = var$11; } var$11 = 1; } if (var$11 && !($par1EntityAITaskEntry.$action.$mutexBits & $var3.$action.$mutexBits ? 0 : 1)) return 0; } } $var2$index = $var2$index_0; } return 1; }, nms_IEntitySelector = $rt_classWithoutFields(0), nms_IEntitySelector_selectAnything = null, nms_IEntitySelector_selectInventories = null, nms_IEntitySelector__clinit_ = () => { nms_IEntitySelector_selectAnything = new nms_EntitySelectorAlive; nms_IEntitySelector_selectInventories = new nms_EntitySelectorInventory; }; function nms_EntityAIAvoidEntitySelector() { jl_Object.call(this); this.$entityAvoiderAI = null; } let nms_EntityAIAvoidEntitySelector_isEntityApplicable = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($par1Entity.$isEntityAlive()) { var$2 = $this.$entityAvoiderAI.$theEntity3.$senses; var$3 = var$2.$seenEntities; var$4 = 0; var$5 = var$3.$modCount; var$6 = var$3.$size(); b: { while (true) { if (!(var$4 >= var$6 ? 0 : 1)) { var$4 = 0; break b; } if (var$5 < var$3.$modCount) break; var$7 = var$4 + 1 | 0; var$8 = var$3.$get(var$4); if (var$8 === $par1Entity ? 1 : var$8 !== null ? var$8.$equals($par1Entity) : $par1Entity !== null ? 0 : 1) { var$4 = 1; break b; } var$4 = var$7; } $par1Entity = new ju_ConcurrentModificationException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Entity); $rt_throw($par1Entity); } if (var$4) var$4 = 1; else { var$3 = var$2.$unseenEntities; var$6 = 0; var$7 = var$3.$modCount; var$5 = var$3.$size(); c: { while (true) { if (!(var$6 >= var$5 ? 0 : 1)) { var$4 = 0; break c; } if (var$7 < var$3.$modCount) break; var$9 = var$6 + 1 | 0; var$8 = var$3.$get(var$6); if (var$8 === $par1Entity ? 1 : var$8 !== null ? var$8.$equals($par1Entity) : $par1Entity !== null ? 0 : 1) { var$4 = 1; break c; } var$6 = var$9; } $par1Entity = new ju_ConcurrentModificationException; $par1Entity.$suppressionEnabled = 1; $par1Entity.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Entity); $rt_throw($par1Entity); } if (!var$4) { var$3 = var$2.$entityObj1; $ptr = 1; continue main; } var$4 = 0; } if (var$4) { var$4 = 1; break a; } } var$4 = 0; } return var$4; case 1: $tmp = nms_EntityLivingBase_canEntityBeSeen(var$3, $par1Entity); if ($rt_suspending()) { break main; } var$4 = $tmp; if (!var$4) { var$3 = var$2.$unseenEntities; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$10 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$10[var$5] = $par1Entity; var$3.$modCount = var$3.$modCount + 1 | 0; } else { var$3 = var$2.$seenEntities; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$10 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$10[var$5] = $par1Entity; var$3.$modCount = var$3.$modCount + 1 | 0; } return !var$4 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }; function nms_PathNavigate() { let a = this; jl_Object.call(a); a.$theEntity = null; a.$worldObj3 = null; a.$currentPath = null; a.$speed2 = 0.0; a.$pathSearchRange = null; a.$noSunPathfind = 0; a.$totalTicks = 0; a.$ticksAtLastPos = 0; a.$lastPosCheck = null; a.$canPassOpenWoodenDoors = 0; a.$canPassClosedWoodenDoors = 0; a.$avoidsWater = 0; a.$canSwim = 0; } let nms_PathNavigate_setPath = ($this, $par1PathEntity, $par2) => { let $var4; if ($par1PathEntity === null) { $this.$currentPath = null; return 0; } if (!nms_PathEntity_isSamePath($par1PathEntity, $this.$currentPath)) $this.$currentPath = $par1PathEntity; if ($this.$noSunPathfind) nms_PathNavigate_removeSunnyPath($this); if (!$this.$currentPath.$pathLength) return 0; $this.$speed2 = $par2; $var4 = nms_Vec3Pool_getVecFromPool($this.$worldObj3.$vecPool, $this.$theEntity.$posX, nms_PathNavigate_getPathableYPos($this), $this.$theEntity.$posZ); $this.$ticksAtLastPos = $this.$totalTicks; $par1PathEntity = $this.$lastPosCheck; $par1PathEntity.$xCoord = $var4.$xCoord; $par1PathEntity.$yCoord = $var4.$yCoord; $par1PathEntity.$zCoord = $var4.$zCoord; return 1; }, nms_PathNavigate_onUpdateNavigation = $this => { let var$1, var$2, $var1, var$4, var$5, var$6, var$7; $this.$totalTicks = $this.$totalTicks + 1 | 0; var$1 = $this.$currentPath; if (!(var$1 !== null && !(var$1.$currentPathIndex < var$1.$pathLength ? 0 : 1) ? 0 : 1)) { a: { b: { var$1 = $this.$theEntity; if (!var$1.$onGround) { if (!$this.$canSwim) break b; if (!(!var$1.$isInWater() && !$this.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$2 = 1; break a; } var$2 = 0; } if (var$2) nms_PathNavigate_pathFollow($this); $var1 = $this.$currentPath; if (!($var1 !== null && !($var1.$currentPathIndex < $var1.$pathLength ? 0 : 1) ? 0 : 1)) { $var1 = nms_PathEntity_getVectorFromIndex($var1, $this.$theEntity, $var1.$currentPathIndex); if ($var1 !== null) { var$1 = $this.$theEntity.$moveHelper; var$4 = $var1.$xCoord; var$5 = $var1.$yCoord; var$6 = $var1.$zCoord; var$7 = $this.$speed2; var$1.$posX12 = var$4; var$1.$posY12 = var$5; var$1.$posZ11 = var$6; var$1.$speed3 = var$7; var$1.$update2 = 1; } } } }, nms_PathNavigate_pathFollow = $this => { let $var1, var$2, $var2, $var4, $var3, $var8, var$7, var$8, var$9, var$10, $var5, $var7, var$13, var$14; $var1 = nms_Vec3Pool_getVecFromPool($this.$worldObj3.$vecPool, $this.$theEntity.$posX, nms_PathNavigate_getPathableYPos($this), $this.$theEntity.$posZ); var$2 = $this.$currentPath; $var2 = var$2.$pathLength; $var4 = var$2.$currentPathIndex; $var3 = $var4; a: { while (true) { if ($var3 >= $var2) { $var3 = $var2; break a; } if (var$2.$points.data[$var3].$yCoord1 != ($var1.$yCoord | 0)) break; $var3 = $var3 + 1 | 0; } } $var8 = $this.$theEntity.$width1; var$7 = $var8 * $var8; while ($var4 < $var3) { var$2 = nms_PathEntity_getVectorFromIndex($this.$currentPath, $this.$theEntity, $var4); var$8 = var$2.$xCoord - $var1.$xCoord; var$9 = var$2.$yCoord - $var1.$yCoord; var$10 = var$2.$zCoord - $var1.$zCoord; if (var$8 * var$8 + var$9 * var$9 + var$10 * var$10 < var$7) $this.$currentPath.$currentPathIndex = $var4 + 1 | 0; $var4 = $var4 + 1 | 0; } var$2 = $this.$theEntity; $var8 = var$2.$width1; $var2 = $var8 | 0; if ($var8 > $var2) $var2 = $var2 + 1 | 0; $var5 = (var$2.$height2 | 0) + 1 | 0; $var7 = $var3 - 1 | 0; b: { while (true) { var$2 = $this.$currentPath; if ($var7 < var$2.$currentPathIndex) break b; if (nms_PathNavigate_isDirectPathBetweenPoints($this, $var1, nms_PathEntity_getVectorFromIndex(var$2, $this.$theEntity, $var7), $var2, $var5, $var2)) break; $var7 = $var7 + (-1) | 0; } $this.$currentPath.$currentPathIndex = $var7; } $var3 = $this.$totalTicks; if (($var3 - $this.$ticksAtLastPos | 0) > 100) { var$2 = $this.$lastPosCheck; var$8 = var$2.$xCoord; var$9 = $var1.$xCoord; var$8 = var$8 - var$9; var$7 = var$2.$yCoord; var$10 = $var1.$yCoord; var$7 = var$7 - var$10; var$13 = var$2.$zCoord; var$14 = $var1.$zCoord; var$13 = var$13 - var$14; if (var$8 * var$8 + var$7 * var$7 + var$13 * var$13 < 2.25) $this.$currentPath = null; $this.$ticksAtLastPos = $var3; var$2.$xCoord = var$9; var$2.$yCoord = var$10; var$2.$zCoord = var$14; } }, nms_PathNavigate_getPathableYPos = $this => { let var$1, $var1, var$3, var$4, var$5, $var3, $var2, var$8, var$9; if ($this.$theEntity.$isInWater() && $this.$canSwim) { var$1 = $this.$theEntity; $var1 = var$1.$boundingBox.$minY | 0; var$3 = $this.$worldObj3; var$4 = var$1.$posX; var$5 = var$4 | 0; if (var$4 < var$5) var$5 = var$5 - 1 | 0; var$4 = var$1.$posZ; $var3 = var$4 | 0; if (var$4 < $var3) $var3 = $var3 - 1 | 0; $var2 = nms_World_getBlockId(var$3, var$5, $var1, $var3); $var3 = 0; while (true) { nms_Block_$callClinit(); if ($var2 != nms_Block_waterMoving.$blockID && $var2 != nms_Block_waterStill.$blockID) break; $var1 = $var1 + 1 | 0; var$1 = $this.$worldObj3; var$3 = $this.$theEntity; var$8 = var$3.$posX; var$9 = var$8 | 0; if (var$8 < var$9) var$9 = var$9 - 1 | 0; var$8 = var$3.$posZ; var$5 = var$8 | 0; if (var$8 < var$5) var$5 = var$5 - 1 | 0; $var2 = nms_World_getBlockId(var$1, var$9, $var1, var$5); $var3 = $var3 + 1 | 0; if ($var3 > 16) return $this.$theEntity.$boundingBox.$minY | 0; } return $var1; } return $this.$theEntity.$boundingBox.$minY + 0.5 | 0; }, nms_PathNavigate_removeSunnyPath = $this => { let $var2, var$2, var$3, var$4, $var1, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $var2 = $this.$worldObj3; var$2 = $this.$theEntity; var$3 = var$2.$posX; var$4 = var$3 | 0; if (var$3 < var$4) var$4 = var$4 - 1 | 0; $var1 = var$2.$boundingBox.$minY + 0.5 | 0; var$3 = var$2.$posZ; var$6 = var$3 | 0; if (var$3 < var$6) var$6 = var$6 - 1 | 0; var$7 = var$4 >> 4; var$8 = var$6 >> 4; $var2 = $var2.$chunkProvider; var$2 = $var2.$chunkMapping; var$9 = Long_or(Long_and(Long_fromInt(var$7), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$8), Long_create(4294967295, 0)), 32)); var$8 = Long_lo(Long_xor(var$9, Long_shru(var$9, 32))); var$8 = var$8 ^ (var$8 >>> 20 | 0) ^ (var$8 >>> 12 | 0); var$10 = var$8 ^ (var$8 >>> 7 | 0) ^ (var$8 >>> 4 | 0); var$11 = var$2.$hashArray.data; var$2 = var$11[var$10 & (var$11.length - 1 | 0)]; a: { while (var$2 !== null) { if (Long_eq(var$2.$key1, var$9)) { var$2 = var$2.$value6; break a; } var$2 = var$2.$nextEntry0; } var$2 = null; } var$2 = var$2; if (var$2 === null) var$2 = $var2.$blankChunk; b: { if (!var$2.$canBlockSeeTheSky(var$4 & 15, $var1, var$6 & 15)) { $var1 = 0; while (true) { $var2 = $this.$currentPath; if ($var1 >= $var2.$pathLength) break b; $var2 = $var2.$points.data[$var1]; var$2 = $this.$worldObj3; var$6 = $var2.$xCoord1; var$4 = $var2.$yCoord1; var$7 = $var2.$zCoord1; var$10 = var$6 >> 4; var$8 = var$7 >> 4; $var2 = var$2.$chunkProvider; var$2 = $var2.$chunkMapping; var$12 = Long_or(Long_and(Long_fromInt(var$10), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt(var$8), Long_create(4294967295, 0)), 32)); var$8 = Long_lo(Long_xor(var$12, Long_shru(var$12, 32))); var$8 = var$8 ^ (var$8 >>> 20 | 0) ^ (var$8 >>> 12 | 0); var$13 = var$8 ^ (var$8 >>> 7 | 0) ^ (var$8 >>> 4 | 0); var$11 = var$2.$hashArray.data; var$2 = var$11[var$13 & (var$11.length - 1 | 0)]; c: { while (var$2 !== null) { if (Long_eq(var$2.$key1, var$12)) { var$2 = var$2.$value6; break c; } var$2 = var$2.$nextEntry0; } var$2 = null; } var$2 = var$2; if (var$2 === null) var$2 = $var2.$blankChunk; if (var$2.$canBlockSeeTheSky(var$6 & 15, var$4, var$7 & 15)) { $this.$currentPath.$pathLength = $var1 - 1 | 0; return; } $var1 = $var1 + 1 | 0; } } } }, nms_PathNavigate_isDirectPathBetweenPoints = ($this, $par1Vec3, $par2Vec3, $par3, $par4, $par5) => { let $var8, $var6, $var12, $var7, $var10, $var14, var$12, $var16, $var18, $var20, $var22, $var25, $var24, $var26, $var27, $var28, $var29; $var8 = $par1Vec3.$xCoord; $var6 = $var8 | 0; if ($var8 < $var6) $var6 = $var6 - 1 | 0; $var12 = $par1Vec3.$zCoord; $var7 = $var12 | 0; if ($var12 < $var7) $var7 = $var7 - 1 | 0; $var8 = $par2Vec3.$xCoord - $var8; $var10 = $par2Vec3.$zCoord - $var12; $var12 = $var8 * $var8 + $var10 * $var10; if ($var12 < 1.0E-8) return 0; $var14 = 1.0 / jl_Math_sqrt($var12); $var12 = $var8 * $var14; $var14 = $var10 * $var14; $par3 = $par3 + 2 | 0; $par5 = $par5 + 2 | 0; if (!nms_PathNavigate_isSafeToStandAt($this, $var6, $par1Vec3.$yCoord | 0, $var7, $par3, $par4, $par5, $par1Vec3, $var12, $var14)) return 0; var$12 = $par3 + (-2) | 0; $par5 = $par5 + (-2) | 0; $var16 = 1.0 / jl_Math_absImpl($var12); $var18 = 1.0 / jl_Math_absImpl($var14); $var20 = ($var6 * 1 | 0) - $par1Vec3.$xCoord; $var22 = ($var7 * 1 | 0) - $par1Vec3.$zCoord; $par3 = $rt_compare($var12, 0.0); if ($par3 >= 0) $var20 = $var20 + 1.0; $var25 = $rt_compare($var14, 0.0); if ($var25 >= 0) $var22 = $var22 + 1.0; $var20 = $var20 / $var12; $var22 = $var22 / $var14; $var24 = $par3 >= 0 ? 1 : (-1); $var25 = $var25 >= 0 ? 1 : (-1); $var8 = $par2Vec3.$xCoord; $var26 = $var8 | 0; if ($var8 < $var26) $var26 = $var26 - 1 | 0; $var8 = $par2Vec3.$zCoord; $var27 = $var8 | 0; if ($var8 < $var27) $var27 = $var27 - 1 | 0; $var28 = $var26 - $var6 | 0; $var29 = $var27 - $var7 | 0; while (true) { if ($rt_imul($var28, $var24) <= 0 && $rt_imul($var29, $var25) <= 0) return 1; if ($var20 >= $var22) { $var22 = $var22 + $var18; $var7 = $var7 + $var25 | 0; $var29 = $var27 - $var7 | 0; } else { $var20 = $var20 + $var16; $var6 = $var6 + $var24 | 0; $var28 = $var26 - $var6 | 0; } if (!nms_PathNavigate_isSafeToStandAt($this, $var6, $par1Vec3.$yCoord | 0, $var7, var$12, $par4, $par5, $par1Vec3, $var12, $var14)) break; } return 0; }, nms_PathNavigate_isSafeToStandAt = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7Vec3, $par8, $par10) => { let $var14, $var13, $var15, $var20, $var21; $var14 = $par1 - ($par4 / 2 | 0) | 0; $var13 = $par3 - ($par6 / 2 | 0) | 0; if (!nms_PathNavigate_isPositionClear($this, $var14, $par2, $var13, $par4, $par5, $par6, $par7Vec3, $par8, $par10)) return 0; $par1 = $var14 + $par4 | 0; $par4 = $var13 + $par6 | 0; $par3 = $par2 - 1 | 0; while ($var14 < $par1) { $var15 = $var13; while ($var15 < $par4) { if (($var14 + 0.5 - $par7Vec3.$xCoord) * $par8 + ($var15 + 0.5 - $par7Vec3.$zCoord) * $par10 >= 0.0) { $var20 = nms_World_getBlockId($this.$worldObj3, $var14, $par3, $var15); if ($var20 <= 0) return 0; nms_Block_$callClinit(); $var21 = nms_Block_blocksList.data[$var20].$blockMaterial; nms_Material_$callClinit(); if ($var21 === nms_Material_water && !$this.$theEntity.$isInWater()) return 0; if ($var21 === nms_Material_lava) return 0; } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } return 1; }, nms_PathNavigate_isPositionClear = ($this, $var12, $par2, $par3, $par4, $par5, $par6, $par7Vec3, $par8, $par10) => { let var$10, $var13, $var14, $var19; var$10 = $var12 + $par4 | 0; $par4 = $par2 + $par5 | 0; $par6 = $par3 + $par6 | 0; while ($var12 < var$10) { $var13 = $par2; while ($var13 < $par4) { $var14 = $par3; while ($var14 < $par6) { if (($var12 + 0.5 - $par7Vec3.$xCoord) * $par8 + ($var14 + 0.5 - $par7Vec3.$zCoord) * $par10 >= 0.0) { $var19 = nms_World_getBlockId($this.$worldObj3, $var12, $var13, $var14); if ($var19 > 0) { nms_Block_$callClinit(); if (!nms_Block_blocksList.data[$var19].$getBlocksMovement($this.$worldObj3, $var12, $var13, $var14)) return 0; } } $var14 = $var14 + 1 | 0; } $var13 = $var13 + 1 | 0; } $var12 = $var12 + 1 | 0; } return 1; }; function nms_EntityLookHelper() { let a = this; jl_Object.call(a); a.$entity1 = null; a.$deltaLookYaw = 0.0; a.$deltaLookPitch = 0.0; a.$isLooking = 0; a.$posX5 = 0.0; a.$posY5 = 0.0; a.$posZ4 = 0.0; } let nms_EntityLookHelper_setLookPositionWithEntity = ($this, $par1Entity, $par2, $par3) => { let var$4; $this.$posX5 = $par1Entity.$posX; if ($par1Entity instanceof nms_EntityLivingBase) $this.$posY5 = $par1Entity.$posY + $par1Entity.$getEyeHeight(); else { var$4 = $par1Entity.$boundingBox; $this.$posY5 = (var$4.$minY + var$4.$maxY) / 2.0; } $this.$posZ4 = $par1Entity.$posZ; $this.$deltaLookYaw = $par2; $this.$deltaLookPitch = $par3; $this.$isLooking = 1; }, nms_EntityLookHelper_onUpdateLook = $this => { let var$1, $var10, $var11, $var9, $var1, $var3, $var5, $var7, var$9, var$10, var$11; var$1 = $this.$entity1; var$1.$rotationPitch = 0.0; if (!$this.$isLooking) { $var10 = var$1.$rotationYawHead; $var11 = var$1.$renderYawOffset; $var9 = 10.0; $var11 = ($var11 - $var10) % 360.0; if ($var11 >= 180.0) $var11 = $var11 - 360.0; if ($var11 < (-180.0)) $var11 = $var11 + 360.0; if ($var11 <= $var9) $var9 = $var11; $var11 = (-10.0); if ($var9 >= $var11) $var11 = $var9; var$1.$rotationYawHead = $var10 + $var11; } else { $this.$isLooking = 0; $var1 = $this.$posX5 - var$1.$posX; $var3 = $this.$posY5 - (var$1.$posY + var$1.$getEyeHeight()); $var5 = $this.$posZ4 - $this.$entity1.$posZ; $var7 = jl_Math_sqrt($var1 * $var1 + $var5 * $var5); $var9 = jl_Math_atan2($var5, $var1) * 180.0 / 3.141592653589793 - 90.0; $var10 = -(jl_Math_atan2($var3, $var7) * 180.0 / 3.141592653589793); var$1 = $this.$entity1; $var11 = var$1.$rotationPitch; var$9 = $this.$deltaLookPitch; var$10 = ($var10 - $var11) % 360.0; if (var$10 >= 180.0) var$10 = var$10 - 360.0; if (var$10 < (-180.0)) var$10 = var$10 + 360.0; if (var$10 > var$9) var$10 = var$9; $var10 = -var$9; if (var$10 >= $var10) $var10 = var$10; var$1.$rotationPitch = $var11 + $var10; $var10 = var$1.$rotationYawHead; $var11 = $this.$deltaLookYaw; $var9 = ($var9 - $var10) % 360.0; if ($var9 >= 180.0) $var9 = $var9 - 360.0; if ($var9 < (-180.0)) $var9 = $var9 + 360.0; if ($var9 > $var11) $var9 = $var11; $var11 = -$var11; if ($var9 >= $var11) $var11 = $var9; var$1.$rotationYawHead = $var10 + $var11; } var$1 = $this.$entity1; $var9 = var$1.$rotationYawHead; $var10 = var$1.$renderYawOffset; $var11 = ($var9 - $var10) % 360.0; if ($var11 >= 180.0) $var11 = $var11 - 360.0; if ($var11 < (-180.0)) $var11 = $var11 + 360.0; var$11 = var$1.$navigator.$currentPath; if (!(var$11 !== null && !(var$11.$currentPathIndex < var$11.$pathLength ? 0 : 1) ? 0 : 1)) { if ($var11 < (-75.0)) var$1.$rotationYawHead = $var10 - 75.0; if ($var11 > 75.0) var$1.$rotationYawHead = $var10 + 75.0; } }; function nms_EntityMoveHelper() { let a = this; jl_Object.call(a); a.$entity2 = null; a.$posX12 = 0.0; a.$posY12 = 0.0; a.$posZ11 = 0.0; a.$speed3 = 0.0; a.$update2 = 0; } let nms_EntityMoveHelper_onUpdateMoveHelper = $this => { let var$1, $var2, $var1, $var4, $var6, var$6, $var8, var$8, $var10, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17; var$1 = $this.$entity2; var$1.$moveForward = 0.0; if ($this.$update2) { $this.$update2 = 0; $var2 = var$1.$boundingBox.$minY + 0.5; $var1 = $var2 | 0; if ($var2 < $var1) $var1 = $var1 - 1 | 0; $var2 = $this.$posX12 - var$1.$posX; $var4 = $this.$posZ11 - var$1.$posZ; $var6 = $this.$posY12 - $var1; var$6 = $var2 * $var2; $var8 = var$6 + $var6 * $var6; var$8 = $var4 * $var4; if ($var8 + var$8 >= 2.500000277905201E-7) { $var10 = jl_Math_atan2($var4, $var2) * 180.0 / 3.141592653589793 - 90.0; var$1 = $this.$entity2; var$10 = var$1.$rotationYaw; var$11 = 30.0; $var10 = ($var10 - var$10) % 360.0; if ($var10 >= 180.0) $var10 = $var10 - 360.0; if ($var10 < (-180.0)) $var10 = $var10 + 360.0; if ($var10 <= var$11) var$11 = $var10; $var10 = (-30.0); if (var$11 >= $var10) $var10 = var$11; var$1.$rotationYaw = var$10 + $var10; $var2 = $this.$speed3; var$12 = nms_SharedMonsterAttributes_movementSpeed; if (var$1.$attributeMap === null) var$1.$attributeMap = nms_ServersideAttributeMap__init_(); var$13 = var$1.$attributeMap.$attributes; if (var$12 === null) { var$13 = var$13.$elementData.data[0]; while (var$13 !== null && var$13.$key !== null) { var$13 = var$13.$next3; } } else { a: { var$14 = var$12.$field_111115_a; if (!var$14.$hashCode1) { var$15 = 0; while (true) { if (var$15 >= var$14.$nativeString.length) break a; var$14.$hashCode1 = (31 * var$14.$hashCode1 | 0) + var$14.$nativeString.charCodeAt(var$15) | 0; var$15 = var$15 + 1 | 0; } } } var$16 = var$14.$hashCode1; var$17 = var$13.$elementData.data; var$13 = var$17[var$16 & (var$17.length - 1 | 0)]; while (var$13 !== null) { if (var$13.$origKeyHash == var$16) { var$14 = var$13.$key; if (var$12 !== var$14 && !jl_Object_equals(var$12, var$14) ? 0 : 1) break; } var$13 = var$13.$next3; } } var$12 = var$13 === null ? null : var$13.$value1; if (var$12.$field_111133_g) { var$12.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$12); var$12.$field_111133_g = 0; } $var10 = $var2 * var$12.$field_111139_h; var$1.$landMovementFactor = $var10; var$1.$moveForward = $var10; if ($var6 > 0.0 && var$6 + var$8 < 1.0) $this.$entity2.$jumpHelper.$isJumping0 = 1; } } }; function nms_EntityJumpHelper() { let a = this; jl_Object.call(a); a.$entity0 = null; a.$isJumping0 = 0; } function nms_EntityBodyHelper() { let a = this; jl_Object.call(a); a.$theLiving = null; a.$field_75666_b = 0; a.$field_75667_c = 0.0; } let nms_EntityBodyHelper_func_75664_a = $this => { let var$1, $var1, $var3, $var5, var$5, var$6, var$7, var$8; var$1 = $this.$theLiving; $var1 = var$1.$posX - var$1.$prevPosX; $var3 = var$1.$posZ - var$1.$prevPosZ; if ($var1 * $var1 + $var3 * $var3 > 2.500000277905201E-7) { $var5 = var$1.$rotationYaw; var$1.$renderYawOffset = $var5; var$5 = var$1.$rotationYawHead; var$6 = 75.0; var$7 = ($var5 - var$5) % 360.0; if (var$7 >= 180.0) var$7 = var$7 - 360.0; if (var$7 < (-180.0)) var$7 = var$7 + 360.0; var$5 = (-75.0); if (var$7 >= var$5) var$5 = var$7; if (var$5 < var$6) var$6 = var$5; $var5 = $var5 - var$6; var$1.$rotationYawHead = $var5; $this.$field_75667_c = $var5; $this.$field_75666_b = 0; } else { $var5 = 75.0; if (jl_Math_absImpl0(var$1.$rotationYawHead - $this.$field_75667_c) > 15.0) { $this.$field_75666_b = 0; $this.$field_75667_c = $this.$theLiving.$rotationYawHead; } else { var$8 = $this.$field_75666_b + 1 | 0; $this.$field_75666_b = var$8; if (var$8 > 10) $var5 = jl_Math_maxImpl(1.0 - (var$8 - 10 | 0) / 10.0, 0.0) * 75.0; } var$1 = $this.$theLiving; var$5 = var$1.$rotationYawHead; var$7 = (var$5 - var$1.$renderYawOffset) % 360.0; if (var$7 >= 180.0) var$7 = var$7 - 360.0; if (var$7 < (-180.0)) var$7 = var$7 + 360.0; var$6 = -$var5; if (var$7 >= var$6) var$6 = var$7; if (var$6 < $var5) $var5 = var$6; var$1.$renderYawOffset = var$5 - $var5; } }; function nms_EntitySenses() { let a = this; jl_Object.call(a); a.$entityObj1 = null; a.$seenEntities = null; a.$unseenEntities = null; } function nms_EntityAINearestAttackableTargetSorter() { jl_Object.call(this); this.$theEntity5 = null; } let nms_EntityAINearestAttackableTargetSorter_compare = ($this, $par1Obj, $par2Obj) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $par1Obj = $par1Obj; $par2Obj = $par2Obj; var$3 = $this.$theEntity5; var$4 = var$3.$posX; var$5 = var$4 - $par1Obj.$posX; var$6 = var$3.$posY; var$7 = var$6 - $par1Obj.$posY; var$8 = var$3.$posZ; var$9 = var$8 - $par1Obj.$posZ; var$5 = var$5 * var$5 + var$7 * var$7 + var$9 * var$9; var$7 = var$4 - $par2Obj.$posX; var$6 = var$6 - $par2Obj.$posY; var$4 = var$8 - $par2Obj.$posZ; var$10 = $rt_compare(var$5, var$7 * var$7 + var$6 * var$6 + var$4 * var$4); return var$10 < 0 ? (-1) : var$10 <= 0 ? 0 : 1; }; function nms_EntityAINearestAttackableTargetSelector() { let a = this; jl_Object.call(a); a.$field_111103_c = null; a.$field_111102_d = null; } let nms_EntityAINearestAttackableTargetSelector_isEntityApplicable = ($this, $par1Entity) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1Entity = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!($par1Entity instanceof nms_EntityLivingBase)) return 0; var$2 = $this.$field_111103_c; if (var$2 !== null) { $ptr = 2; continue main; } var$2 = $this.$field_111102_d; $par1Entity = $par1Entity; var$3 = 0; $ptr = 1; case 1: $tmp = nms_EntityAITarget_isSuitableTarget(var$2, $par1Entity, var$3); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; case 2: $tmp = var$2.$isEntityApplicable($par1Entity); if ($rt_suspending()) { break main; } var$3 = $tmp; if (!var$3) return 0; var$2 = $this.$field_111102_d; $par1Entity = $par1Entity; var$3 = 0; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Entity, var$2, var$3, $ptr); }, nms_EntityWitherAttackFilter = $rt_classWithoutFields(), nms_EntityWitherAttackFilter__init_ = $this => { return; }, nms_EntityWitherAttackFilter__init_0 = () => { let var_0 = new nms_EntityWitherAttackFilter(); nms_EntityWitherAttackFilter__init_(var_0); return var_0; }, nms_EntityWitherAttackFilter_isEntityApplicable = ($this, $par1Entity) => { return $par1Entity instanceof nms_EntityLivingBase && $par1Entity.$getCreatureAttribute() !== nms_EnumCreatureAttribute_UNDEAD ? 1 : 0; }; function nms_EntityAISit() { let a = this; nms_EntityAIBase.call(a); a.$theEntity6 = null; a.$isSitting0 = 0; } let nms_EntityAISit_shouldExecute = $this => { let var$1, var$2, var$3, var$4, $var1, var$6, var$7, var$8, var$9, var$10, var$11; var$1 = $this.$theEntity6.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { $var1 = var$1.$key; if (var$2 !== $var1 && !(var$2 === $var1 ? 1 : $var1 instanceof jl_Integer && $var1.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; if (!(!(var$1.$watchedObject.$value2 & 4) ? 0 : 1)) return 0; var$1 = $this.$theEntity6; if (var$1.$inWater) return 0; if (!var$1.$onGround) return 0; $var1 = var$1.$worldObj; var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$6 = jl_Integer_integerCache.data[145]; if (var$6 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$6.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$2 = var$1.$key; if (var$6 !== var$2 && !jl_Integer_equals(var$6, var$2) ? 0 : 1) break; } var$1 = var$1.$next3; } } var$6 = (var$1 === null ? null : var$1.$value1).$watchedObject; var$7 = 0; a: { while (true) { var$1 = $var1.$playerEntities; var$8 = $rt_compare(var$7, var$1.$size0); if (var$8 >= 0) { $var1 = null; break a; } if (var$7 < 0) break; if (var$8 >= 0) break; var$1 = var$1.$array.data[var$7].$username; if (var$6 === var$1) var$8 = 1; else if (!(var$1 instanceof jl_String)) var$8 = 0; else { var$1 = var$1; var$8 = var$6.$nativeString !== var$1.$nativeString ? 0 : 1; } if (var$8) { var$1 = $var1.$playerEntities; if (var$7 >= 0 && var$7 < var$1.$size0) { $var1 = var$1.$array.data[var$7]; break a; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } var$7 = var$7 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } if ($var1 === null) var$7 = 1; else { var$1 = $this.$theEntity6; var$9 = var$1.$posX - $var1.$posX; var$10 = var$1.$posY - $var1.$posY; var$11 = var$1.$posZ - $var1.$posZ; var$7 = var$9 * var$9 + var$10 * var$10 + var$11 * var$11 < 144.0 && $var1.$entityLivingToAttack !== null ? 0 : $this.$isSitting0; } return var$7; }, nms_EntityAISit_startExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$theEntity6; var$1.$navigator.$currentPath = null; var$2 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; var$1 = var$1.$dataWatcher; var$7 = (var$7 | 1) << 24 >> 24; var$8 = jl_Byte_byteCache.data[var$7 + 128 | 0]; var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$8.$value2 ? 1 : 0)) { var$6.$watchedObject = var$8; var$6.$watched = 1; var$1.$objectChanged = 1; } }, nms_EntityAISit_resetTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$theEntity6; var$2 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2; var$1 = var$1.$dataWatcher; var$7 = (var$7 & (-2)) << 24 >> 24; var$8 = jl_Byte_byteCache.data[var$7 + 128 | 0]; var$2 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[144]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !(var$3 === var$6 ? 1 : var$6 instanceof jl_Integer && var$6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$6 = var$2 === null ? null : var$2.$value1; var$2 = var$6.$watchedObject; if (!(var$2 instanceof jl_Byte && var$2.$value2 == var$8.$value2 ? 1 : 0)) { var$6.$watchedObject = var$8; var$6.$watched = 1; var$1.$objectChanged = 1; } }, nms_EntityHorseBredSelector = $rt_classWithoutFields(), nms_EntityHorseBredSelector__init_ = $this => { return; }, nms_EntityHorseBredSelector__init_0 = () => { let var_0 = new nms_EntityHorseBredSelector(); nms_EntityHorseBredSelector__init_(var_0); return var_0; }, nms_EntityHorseBredSelector_isEntityApplicable = ($this, $par1Entity) => { let var$2, var$3, var$4, var$5, var$6; a: { if ($par1Entity instanceof nms_EntityHorse) { $par1Entity = $par1Entity.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[144]; if (var$2 === null) { $par1Entity = $par1Entity.$elementData.data[0]; while ($par1Entity !== null && $par1Entity.$key !== null) { $par1Entity = $par1Entity.$next3; } } else { var$3 = var$2.$value0; var$4 = $par1Entity.$elementData.data; $par1Entity = var$4[var$3 & (var$4.length - 1 | 0)]; while ($par1Entity !== null) { if ($par1Entity.$origKeyHash == var$3) { var$5 = $par1Entity.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } $par1Entity = $par1Entity.$next3; } } $par1Entity = $par1Entity === null ? null : $par1Entity.$value1; if (!($par1Entity.$watchedObject.$value0 & 16) ? 0 : 1) { var$6 = 1; break a; } } var$6 = 0; } return var$6; }; function nms_EntityAITradePlayer() { nms_EntityAIBase.call(this); this.$villager = null; } let nms_EntityAITradePlayer_shouldExecute = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; a: { $var1 = $this.$villager; if (!$var1.$isDead) { $var1 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$3 = var$2.$value0; var$4 = $var1.$elementData.data; $var1 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$3) { var$5 = $var1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } $var1 = $var1.$next3; } } if (($var1 === null ? null : $var1.$value1).$watchedObject.$value3 > 0.0) { var$6 = 1; break a; } } var$6 = 0; } if (!var$6) return 0; var$5 = $this.$villager; if (var$5.$inWater) return 0; if (!var$5.$onGround) return 0; if (var$5.$velocityChanged) return 0; $var1 = var$5.$buyingPlayer; if ($var1 === null) var$6 = 0; else { var$7 = var$5.$posX - $var1.$posX; var$8 = var$5.$posY - $var1.$posY; var$9 = var$5.$posZ - $var1.$posZ; var$6 = var$7 * var$7 + var$8 * var$8 + var$9 * var$9 > 16.0 ? 0 : $var1.$openContainer instanceof nms_Container; } return var$6; }, nms_EntityAITradePlayer_startExecuting = $this => { $this.$villager.$navigator.$currentPath = null; }, nms_EntityAITradePlayer_resetTask = $this => { $this.$villager.$buyingPlayer = null; }; function nms_EntityAILookAtTradePlayer() { nms_EntityAIWatchClosest.call(this); this.$theMerchant1 = null; } let nms_EntityAILookAtTradePlayer_shouldExecute = $this => { let var$1; var$1 = $this.$theMerchant1.$buyingPlayer; if (!(var$1 === null ? 0 : 1)) return 0; $this.$closestEntity = var$1; return 1; }; function nms_EntityAIMoveIndoors() { let a = this; nms_EntityAIBase.call(a); a.$entityObj = null; a.$doorInfo = null; a.$insidePosX = 0; a.$insidePosZ = 0; } let nms_EntityAIMoveIndoors_shouldExecute = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $var1 = $this.$entityObj; var$2 = $var1.$worldObj; var$3 = var$2.$skylightSubtracted >= 4 ? 0 : 1; a: { if (var$3) { var$4 = var$2.$prevRainingStrength; if (!(var$4 + (var$2.$rainingStrength - var$4) * 1.0 <= 0.2 ? 0 : 1)) break a; } if (!var$2.$provider.$hasNoSky) { var$5 = $var1.$rand; var$6 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); while (true) { var$8 = var$7 % 50 | 0; if (((var$7 - var$8 | 0) + 49 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); } if (var$8) return 0; var$3 = $this.$insidePosX; if (var$3 != (-1)) { var$9 = var$3; var$10 = $var1.$posY; var$11 = $this.$insidePosZ; var$12 = $var1.$posX - var$9; var$9 = var$10 - var$10; var$10 = $var1.$posZ - var$11; if (var$12 * var$12 + var$9 * var$9 + var$10 * var$10 < 4.0) return 0; } var$2 = var$2.$villageCollectionObj; var$9 = $var1.$posX; var$8 = var$9 | 0; if (var$9 < var$8) var$8 = var$8 - 1 | 0; var$9 = $var1.$posY; var$7 = var$9 | 0; if (var$9 < var$7) var$7 = var$7 - 1 | 0; var$9 = $var1.$posZ; var$13 = var$9 | 0; if (var$9 < var$13) var$13 = var$13 - 1 | 0; $var1 = nms_VillageCollection_findNearestVillage(var$2, var$8, var$7, var$13, 14); if ($var1 === null) return 0; var$2 = $this.$entityObj; var$9 = var$2.$posX; var$8 = var$9 | 0; if (var$9 < var$8) var$8 = var$8 - 1 | 0; var$9 = var$2.$posY; var$7 = var$9 | 0; if (var$9 < var$7) var$7 = var$7 - 1 | 0; var$9 = var$2.$posZ; var$13 = var$9 | 0; if (var$9 < var$13) var$13 = var$13 - 1 | 0; $var1 = $var1.$findNearestDoorUnrestricted(var$8, var$7, var$13); $this.$doorInfo = $var1; return $var1 === null ? 0 : 1; } } return 0; }, nms_EntityAIMoveIndoors_continueExecuting = $this => { let var$1; var$1 = $this.$entityObj.$navigator.$currentPath; return (var$1 !== null && !(var$1.$currentPathIndex < var$1.$pathLength ? 0 : 1) ? 0 : 1) ? 0 : 1; }, nms_EntityAIMoveIndoors_startExecuting = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; $this.$insidePosX = (-1); $var1 = $this.$entityObj; var$2 = $this.$doorInfo.$getInsidePosX(); var$3 = $this.$doorInfo; var$4 = var$3.$posY3; var$5 = var$3.$getInsidePosZ(); var$2 = $var1.$posX - var$2; var$4 = $var1.$posY - var$4; var$5 = $var1.$posZ - var$5; if (var$2 * var$2 + var$4 * var$4 + var$5 * var$5 <= 256.0) { var$3 = $this.$entityObj.$navigator; var$2 = $this.$doorInfo.$getInsidePosX() + 0.5; var$4 = $this.$doorInfo.$getInsidePosY(); var$5 = $this.$doorInfo.$getInsidePosZ() + 0.5; var$6 = var$2 | 0; if (var$2 < var$6) var$6 = var$6 - 1 | 0; var$2 = var$6; var$4 = var$4 | 0; var$7 = var$5 | 0; if (var$5 < var$7) var$7 = var$7 - 1 | 0; a: { b: { var$5 = var$7; $var1 = var$3.$theEntity; if (!$var1.$onGround) { if (!var$3.$canSwim) break b; if (!(!$var1.$isInWater() && !var$3.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$6 = 1; break a; } var$6 = 0; } if (!var$6) $var1 = null; else { $var1 = var$3.$worldObj3; var$8 = var$3.$theEntity; var$9 = var$2 | 0; if (var$2 < var$9) var$9 = var$9 - 1 | 0; var$6 = var$4 | 0; var$10 = var$5 | 0; if (var$5 < var$10) var$10 = var$10 - 1 | 0; var$11 = var$3.$pathSearchRange; if (var$11.$field_111133_g) { var$11.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$11); var$11.$field_111133_g = 0; } $var1 = nms_World_getEntityPathToXYZ($var1, var$8, var$9, var$6, var$10, var$11.$field_111139_h, var$3.$canPassOpenWoodenDoors, var$3.$canPassClosedWoodenDoors, var$3.$avoidsWater, var$3.$canSwim); } nms_PathNavigate_setPath(var$3, $var1, 1.0); } else { $var1 = $this.$entityObj; var$3 = nms_Vec3Pool_getVecFromPool($var1.$worldObj.$vecPool, $this.$doorInfo.$getInsidePosX() + 0.5, $this.$doorInfo.$getInsidePosY(), $this.$doorInfo.$getInsidePosZ() + 0.5); nms_RandomPositionGenerator_$callClinit(); var$8 = nms_RandomPositionGenerator_staticVector; var$8.$xCoord = var$3.$xCoord - $var1.$posX; var$8.$yCoord = var$3.$yCoord - $var1.$posY; var$8.$zCoord = var$3.$zCoord - $var1.$posZ; $var1 = nms_RandomPositionGenerator_findRandomTargetBlock($var1, 14, 3, var$8); if ($var1 !== null) { var$3 = $this.$entityObj.$navigator; var$2 = $var1.$xCoord; var$4 = $var1.$yCoord; var$5 = $var1.$zCoord; var$6 = var$2 | 0; if (var$2 < var$6) var$6 = var$6 - 1 | 0; var$2 = var$6; var$4 = var$4 | 0; var$7 = var$5 | 0; if (var$5 < var$7) var$7 = var$7 - 1 | 0; c: { d: { var$5 = var$7; $var1 = var$3.$theEntity; if (!$var1.$onGround) { if (!var$3.$canSwim) break d; if (!(!$var1.$isInWater() && !var$3.$theEntity.$handleLavaMovement() ? 0 : 1)) break d; } var$6 = 1; break c; } var$6 = 0; } if (!var$6) $var1 = null; else { $var1 = var$3.$worldObj3; var$8 = var$3.$theEntity; var$6 = var$2 | 0; if (var$2 < var$6) var$6 = var$6 - 1 | 0; var$7 = var$4 | 0; var$9 = var$5 | 0; if (var$5 < var$9) var$9 = var$9 - 1 | 0; var$11 = var$3.$pathSearchRange; if (var$11.$field_111133_g) { var$11.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$11); var$11.$field_111133_g = 0; } $var1 = nms_World_getEntityPathToXYZ($var1, var$8, var$6, var$7, var$9, var$11.$field_111139_h, var$3.$canPassOpenWoodenDoors, var$3.$canPassClosedWoodenDoors, var$3.$avoidsWater, var$3.$canSwim); } nms_PathNavigate_setPath(var$3, $var1, 1.0); } } }, nms_EntityAIMoveIndoors_resetTask = $this => { $this.$insidePosX = $this.$doorInfo.$getInsidePosX(); $this.$insidePosZ = $this.$doorInfo.$getInsidePosZ(); $this.$doorInfo = null; }; function nms_EntityAIRestrictOpenDoor() { let a = this; nms_EntityAIBase.call(a); a.$entityObj0 = null; a.$frontDoor = null; } let nms_EntityAIRestrictOpenDoor_shouldExecute = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7; $var1 = $this.$entityObj0; var$2 = $var1.$worldObj; if (var$2.$skylightSubtracted >= 4 ? 0 : 1) return 0; var$2 = var$2.$villageCollectionObj; var$3 = $var1.$posX; var$4 = var$3 | 0; if (var$3 < var$4) var$4 = var$4 - 1 | 0; var$3 = $var1.$posY; var$5 = var$3 | 0; if (var$3 < var$5) var$5 = var$5 - 1 | 0; var$3 = $var1.$posZ; var$6 = var$3 | 0; if (var$3 < var$6) var$6 = var$6 - 1 | 0; $var1 = nms_VillageCollection_findNearestVillage(var$2, var$4, var$5, var$6, 16); if ($var1 === null) return 0; var$2 = $this.$entityObj0; var$3 = var$2.$posX; var$4 = var$3 | 0; if (var$3 < var$4) var$4 = var$4 - 1 | 0; var$3 = var$2.$posY; var$5 = var$3 | 0; if (var$3 < var$5) var$5 = var$5 - 1 | 0; var$3 = var$2.$posZ; var$6 = var$3 | 0; if (var$3 < var$6) var$6 = var$6 - 1 | 0; $var1 = $var1.$findNearestDoor(var$4, var$5, var$6); $this.$frontDoor = $var1; if ($var1 === null) var$7 = 0; else { var$2 = $this.$entityObj0; var$3 = var$2.$posX; var$5 = var$3 | 0; if (var$3 < var$5) var$5 = var$5 - 1 | 0; var$3 = var$2.$posY; var$6 = var$3 | 0; if (var$3 < var$6) var$6 = var$6 - 1 | 0; var$3 = var$2.$posZ; var$7 = var$3 | 0; if (var$3 < var$7) var$7 = var$7 - 1 | 0; var$7 = $var1.$getInsideDistanceSquare(var$5, var$6, var$7) >= 2.25 ? 0 : 1; } return var$7; }, nms_EntityAIRestrictOpenDoor_continueExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $this.$entityObj0; var$2 = var$1.$worldObj.$skylightSubtracted >= 4 ? 0 : 1; a: { if (var$2) var$2 = 0; else { var$3 = $this.$frontDoor; if (!var$3.$isDetachedFromVillageFlag) { var$4 = var$1.$posX; var$5 = var$4 | 0; if (var$4 < var$5) var$5 = var$5 - 1 | 0; var$4 = var$1.$posZ; var$6 = var$4 | 0; if (var$4 < var$6) var$6 = var$6 - 1 | 0; if (var$3.$isInside(var$5, var$6)) { var$2 = 1; break a; } } var$2 = 0; } } return var$2; }, nms_EntityAIRestrictOpenDoor_startExecuting = $this => { let var$1; var$1 = $this.$entityObj0.$navigator; var$1.$canPassClosedWoodenDoors = 0; var$1.$canPassOpenWoodenDoors = 0; }, nms_EntityAIRestrictOpenDoor_resetTask = $this => { let var$1; var$1 = $this.$entityObj0.$navigator; var$1.$canPassClosedWoodenDoors = 1; var$1.$canPassOpenWoodenDoors = 1; $this.$frontDoor = null; }, nms_EntityAIRestrictOpenDoor_updateTask = $this => { $this.$frontDoor.$incrementDoorOpeningRestrictionCounter(); }; function nms_EntityAIOpenDoor() { let a = this; nms_EntityAIDoorInteract.call(a); a.$field_75361_i = 0; a.$field_75360_j = 0; } let nms_EntityAIOpenDoor_continueExecuting = $this => { return $this.$field_75361_i && $this.$field_75360_j > 0 && ($this.$hasStoppedDoorInteraction ? 0 : 1) ? 1 : 0; }, nms_EntityAIOpenDoor_startExecuting = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$field_75360_j = 20; var$1 = $this.$targetDoor; var$2 = $this.$theEntity1.$worldObj; var$3 = $this.$entityPosX; var$4 = $this.$entityPosY; var$5 = $this.$entityPosZ; var$6 = 1; $ptr = 1; case 1: nms_BlockDoor_onPoweredBlockChange(var$1, var$2, var$3, var$4, var$5, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntityAIOpenDoor_resetTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$field_75361_i) return; var$1 = $this.$targetDoor; var$2 = $this.$theEntity1.$worldObj; var$3 = $this.$entityPosX; var$4 = $this.$entityPosY; var$5 = $this.$entityPosZ; var$6 = 0; $ptr = 1; case 1: nms_BlockDoor_onPoweredBlockChange(var$1, var$2, var$3, var$4, var$5, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntityAIOpenDoor_updateTask = $this => { $this.$field_75360_j = $this.$field_75360_j - 1 | 0; nms_EntityAIDoorInteract_updateTask($this); }; function nms_EntityAIVillagerMate() { let a = this; nms_EntityAIBase.call(a); a.$villagerObj = null; a.$mate = null; a.$worldObj10 = null; a.$matingTimeout = 0; a.$villageObj0 = null; } let nms_EntityAIVillagerMate_shouldExecute = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = $this.$villagerObj.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[140]; if (var$2 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$3 = var$2.$value0; var$4 = $var1.$elementData.data; $var1 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$3) { var$5 = $var1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $var1 = $var1.$next3; } } if (($var1 === null ? null : $var1.$value1).$watchedObject.$value0) return 0; $var1 = $this.$villagerObj; var$2 = $var1.$rand; var$6 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); while (true) { var$8 = var$7 % 500 | 0; if (((var$7 - var$8 | 0) + 499 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$6; var$7 = Long_lo(Long_shru(var$6, 17)); } if (var$8) return 0; var$2 = $this.$worldObj10.$villageCollectionObj; var$9 = $var1.$posX; var$8 = var$9 | 0; if (var$9 < var$8) var$8 = var$8 - 1 | 0; var$9 = $var1.$posY; var$7 = var$9 | 0; if (var$9 < var$7) var$7 = var$7 - 1 | 0; var$9 = $var1.$posZ; var$10 = var$9 | 0; if (var$9 < var$10) var$10 = var$10 - 1 | 0; $var1 = nms_VillageCollection_findNearestVillage(var$2, var$8, var$7, var$10, 0); $this.$villageObj0 = $var1; if ($var1 === null) return 0; if (!$var1.$isMatingSeason()) var$3 = 0; else { var$3 = $this.$villageObj0.$getNumVillageDoors() * 0.35 | 0; var$3 = $this.$villageObj0.$getNumVillagers() >= var$3 ? 0 : 1; } if (!var$3) return 0; $var1 = $this.$worldObj10; var$2 = $rt_cls(nms_EntityVillager); var$5 = $this.$villagerObj.$boundingBox; var$11 = var$5.$minX - 8.0; var$12 = var$5.$minY - 3.0; var$13 = var$5.$minZ - 8.0; var$14 = var$5.$maxX + 8.0; var$15 = var$5.$maxY + 3.0; var$9 = var$5.$maxZ + 8.0; var$16 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$3 = var$16.$nextPoolIndex; var$5 = var$16.$listAABB; var$7 = var$5.$size0; var$10 = $rt_compare(var$3, var$7); if (var$10 >= 0) { var$17 = new nms_AxisAlignedBB; var$17.$minX = var$11; var$17.$minY = var$12; var$17.$minZ = var$13; var$17.$maxX = var$14; var$17.$maxY = var$15; var$17.$maxZ = var$9; ju_ArrayList_ensureCapacity(var$5, var$7 + 1 | 0); var$4 = var$5.$array.data; var$10 = var$5.$size0; var$5.$size0 = var$10 + 1 | 0; var$4[var$10] = var$17; var$5.$modCount = var$5.$modCount + 1 | 0; } else if (var$3 >= 0 && var$10 < 0) { var$17 = var$5.$array.data[var$3]; var$17.$minX = var$11; var$17.$minY = var$12; var$17.$minZ = var$13; var$17.$maxX = var$14; var$17.$maxY = var$15; var$17.$maxZ = var$9; } else { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var1); $rt_throw($var1); } var$16.$nextPoolIndex = var$16.$nextPoolIndex + 1 | 0; var$5 = $this.$villagerObj; var$16 = null; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB($var1, var$2, var$17, var$16); if ($rt_suspending()) { break main; } var$16 = $tmp; $var1 = null; var$9 = 1.7976931348623157E308; var$10 = 0; while (true) { var$3 = $rt_compare(var$10, var$16.$size0); if (var$3 >= 0) { if ($var1 === null) return 0; $var1 = $var1; $this.$mate = $var1; $var1 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[140]; if (var$2 === null) { $var1 = $var1.$elementData.data[0]; while ($var1 !== null && $var1.$key !== null) { $var1 = $var1.$next3; } } else { var$3 = var$2.$value0; var$4 = $var1.$elementData.data; $var1 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var1 !== null) { if ($var1.$origKeyHash == var$3) { var$5 = $var1.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $var1 = $var1.$next3; } } return ($var1 === null ? null : $var1.$value1).$watchedObject.$value0 ? 0 : 1; } if (var$10 < 0) break; if (var$3 >= 0) break; var$2 = var$16.$array.data[var$10]; if (var$2 !== var$5) { var$14 = var$5.$posX - var$2.$posX; var$15 = var$5.$posY - var$2.$posY; var$11 = var$5.$posZ - var$2.$posZ; var$14 = var$14 * var$14 + var$15 * var$15 + var$11 * var$11; if (var$14 <= var$9) { $var1 = var$2; var$9 = var$14; } } var$10 = var$10 + 1 | 0; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_EntityAIVillagerMate_startExecuting = $this => { $this.$matingTimeout = 300; $this.$villagerObj.$isMating = 1; }, nms_EntityAIVillagerMate_resetTask = $this => { $this.$villageObj0 = null; $this.$mate = null; $this.$villagerObj.$isMating = 0; }, nms_EntityAIVillagerMate_continueExecuting = $this => { let var$1, var$2, var$3, var$4, var$5; a: { if ($this.$matingTimeout >= 0) { if (!$this.$villageObj0.$isMatingSeason()) var$1 = 0; else { var$1 = $this.$villageObj0.$getNumVillageDoors() * 0.35 | 0; var$1 = $this.$villageObj0.$getNumVillagers() >= var$1 ? 0 : 1; } if (var$1) { var$2 = $this.$villagerObj.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[140]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$1 = var$3.$value0; var$4 = var$2.$elementData.data; var$2 = var$4[var$1 & (var$4.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$1) { var$5 = var$2.$key; if (var$3 !== var$5 && !(var$3 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$1 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? null : var$2.$value1).$watchedObject.$value0) { var$1 = 1; break a; } } } var$1 = 0; } return var$1; }, nms_EntityAIVillagerMate_updateTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$matingTimeout = $this.$matingTimeout - 1 | 0; nms_EntityLookHelper_setLookPositionWithEntity($this.$villagerObj.$lookHelper, $this.$mate, 10.0, 30.0); var$1 = $this.$villagerObj; var$2 = $this.$mate; var$3 = var$1.$posX - var$2.$posX; var$4 = var$1.$posY - var$2.$posY; var$5 = var$1.$posZ - var$2.$posZ; if (var$3 * var$3 + var$4 * var$4 + var$5 * var$5 > 2.25) { a: { b: { var$6 = var$1.$navigator; var$1 = var$6.$theEntity; if (!var$1.$onGround) { if (!var$6.$canSwim) break b; if (!(!var$1.$isInWater() && !var$6.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$7 = 1; break a; } var$7 = 0; } if (!var$7) var$1 = null; else { var$1 = var$6.$worldObj3; var$8 = var$6.$theEntity; var$9 = var$6.$pathSearchRange; if (var$9.$field_111133_g) { var$9.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$9); var$9.$field_111133_g = 0; } var$1 = nms_World_getPathEntityToEntity(var$1, var$8, var$2, var$9.$field_111139_h, var$6.$canPassOpenWoodenDoors, var$6.$canPassClosedWoodenDoors, var$6.$avoidsWater, var$6.$canSwim); } if (var$1 !== null) nms_PathNavigate_setPath(var$6, var$1, 0.25); } else if (!$this.$matingTimeout && var$2.$isMating) { $ptr = 1; continue main; } var$1 = $this.$villagerObj.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); while (true) { var$12 = var$11 % 35 | 0; if (((var$11 - var$12 | 0) + 34 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); } return; case 1: nms_EntityAIVillagerMate_giveBirth($this); if ($rt_suspending()) { break main; } var$1 = $this.$villagerObj.$rand; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); while (true) { var$12 = var$11 % 35 | 0; if (((var$11 - var$12 | 0) + 34 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_EntityAIVillagerMate_giveBirth = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var1 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$villagerObj; $var1 = new nms_EntityVillager; var$1 = var$1.$worldObj; nms_EntityVillager_$callClinit(); var$3 = 0; $ptr = 1; case 1: nms_EntityVillager__init_($var1, var$1, var$3); if ($rt_suspending()) { break main; } var$1 = nms_SharedMonsterAttributes_followRange; if ($var1.$attributeMap === null) $var1.$attributeMap = nms_ServersideAttributeMap__init_(); var$1 = ju_HashMap_entryByKey($var1.$attributeMap.$attributes, var$1); var$4 = var$1 === null ? null : var$1.$value1; var$5 = new nms_AttributeModifier; var$6 = nle_EaglercraftRandom_nextGaussian($var1.$rand) * 0.05; var$7 = nle_ProfileUUID_randomUUID(); var$5.$isSaved = 1; var$5.$id2 = var$7; var$5.$name3 = $rt_s(1855); var$5.$amount = var$6; var$5.$operation = 1; if ($rt_s(1855) === $rt_s(18)) var$3 = 1; else if (!($rt_s(18) instanceof jl_String)) var$3 = 0; else { var$7 = $rt_s(18); var$3 = $rt_s(1855).$nativeString !== var$7.$nativeString ? 0 : 1; } if (var$3) { var$5 = new jl_IllegalArgumentException; jl_Exception__init_0(var$5, $rt_s(1292)); $rt_throw(var$5); } nms_ModifiableAttributeInstance_applyModifier(var$4, var$5); var$1 = $var1.$worldObj.$rand0; var$8 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 17)); while (true) { var$10 = var$9 % 5 | 0; if (((var$9 - var$10 | 0) + 4 | 0) >= 0) break; var$8 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 17)); } var$1 = $var1.$dataWatcher; if (var$10 >= (-128) && var$10 <= 127) { jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[var$10 + 128 | 0]; } else { var$5 = new jl_Integer; var$5.$value0 = var$10; } var$7 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[144]; if (var$11 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$9 = jl_Integer_hashCode(var$11.$value0); var$12 = var$7.$elementData.data; var$7 = var$12[var$9 & (var$12.length - 1 | 0)]; while (var$7 !== null && !(var$7.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$11, var$7.$key))) { var$7 = var$7.$next3; } } var$4 = var$7 === null ? null : var$7.$value1; var$7 = var$4.$watchedObject; if (!(var$5 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$5.$value0 ? 1 : 0)) { var$4.$watchedObject = var$5; var$4.$watched = 1; var$1.$objectChanged = 1; } var$1 = $this.$mate; var$5 = var$1.$dataWatcher; var$13 = new jl_Integer; var$13.$value0 = 6000; var$7 = var$5.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[140]; if (var$11 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$9 = var$11.$value0; var$12 = var$7.$elementData.data; var$7 = var$12[var$9 & (var$12.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { var$4 = var$7.$key; if (var$11 !== var$4 && !(var$11 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$4 = var$7 === null ? null : var$7.$value1; var$7 = var$4.$watchedObject; if (!(var$13 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$13.$value0 ? 1 : 0)) { var$4.$watchedObject = var$13; var$4.$watched = 1; var$5.$objectChanged = 1; } var$5 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[140]; if (var$4 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$9 = jl_Integer_hashCode(var$4.$value0); var$12 = var$5.$elementData.data; var$5 = var$12[var$9 & (var$12.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$4, var$5.$key))) { var$5 = var$5.$next3; } } var$5 = var$5 === null ? null : var$5.$value1; var$14 = !(var$5.$watchedObject.$value0 >= 0 ? 0 : 1) ? 1.0 : 0.5; var$15 = var$1.$field_98056_d * var$14; var$14 = var$1.$field_98057_e * var$14; $ptr = 2; case 2: nms_Entity_setSize(var$1, var$15, var$14); if ($rt_suspending()) { break main; } var$1 = $this.$villagerObj; var$5 = var$1.$dataWatcher; var$13 = new jl_Integer; var$13.$value0 = 6000; var$7 = var$5.$watchedObjects; jl_Integer_ensureIntegerCache(); var$11 = jl_Integer_integerCache.data[140]; if (var$11 === null) { var$7 = var$7.$elementData.data[0]; while (var$7 !== null && var$7.$key !== null) { var$7 = var$7.$next3; } } else { var$9 = var$11.$value0; var$12 = var$7.$elementData.data; var$7 = var$12[var$9 & (var$12.length - 1 | 0)]; while (var$7 !== null) { if (var$7.$origKeyHash == var$9) { var$4 = var$7.$key; if (var$11 !== var$4 && !(var$11 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$7 = var$7.$next3; } } var$4 = var$7 === null ? null : var$7.$value1; var$7 = var$4.$watchedObject; if (!(var$13 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$13.$value0 ? 1 : 0)) { var$4.$watchedObject = var$13; var$4.$watched = 1; var$5.$objectChanged = 1; } var$5 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[140]; if (var$4 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$9 = jl_Integer_hashCode(var$4.$value0); var$12 = var$5.$elementData.data; var$5 = var$12[var$9 & (var$12.length - 1 | 0)]; while (var$5 !== null && !(var$5.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$4, var$5.$key))) { var$5 = var$5.$next3; } } var$5 = var$5 === null ? null : var$5.$value1; var$14 = !(var$5.$watchedObject.$value0 >= 0 ? 0 : 1) ? 1.0 : 0.5; var$15 = var$1.$field_98056_d * var$14; var$14 = var$1.$field_98057_e * var$14; $ptr = 3; case 3: nms_Entity_setSize(var$1, var$15, var$14); if ($rt_suspending()) { break main; } var$1 = $var1.$dataWatcher; var$11 = new jl_Integer; var$11.$value0 = (-24000); var$5 = var$1.$watchedObjects; jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[140]; if (var$4 === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { var$9 = var$4.$value0; var$12 = var$5.$elementData.data; var$5 = var$12[var$9 & (var$12.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$9) { var$7 = var$5.$key; if (var$4 !== var$7 && !(var$4 === var$7 ? 1 : var$7 instanceof jl_Integer && var$7.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$5 = var$5.$next3; } } var$7 = var$5 === null ? null : var$5.$value1; var$5 = var$7.$watchedObject; if (!(var$11 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$11.$value0 ? 1 : 0)) { var$7.$watchedObject = var$11; var$7.$watched = 1; var$1.$objectChanged = 1; } var$1 = $var1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$7 = jl_Integer_integerCache.data[140]; if (var$7 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$9 = jl_Integer_hashCode(var$7.$value0); var$12 = var$1.$elementData.data; var$1 = var$12[var$9 & (var$12.length - 1 | 0)]; while (var$1 !== null && !(var$1.$origKeyHash == var$9 && ju_HashMap_areEqualKeys(var$7, var$1.$key))) { var$1 = var$1.$next3; } } var$1 = var$1 === null ? null : var$1.$value1; var$14 = !(var$1.$watchedObject.$value0 >= 0 ? 0 : 1) ? 1.0 : 0.5; var$15 = $var1.$field_98056_d * var$14; var$14 = $var1.$field_98057_e * var$14; $ptr = 4; case 4: nms_Entity_setSize($var1, var$15, var$14); if ($rt_suspending()) { break main; } var$1 = $this.$villagerObj; var$6 = var$1.$posX; var$16 = var$1.$posY; var$17 = var$1.$posZ; $var1.$posX = var$6; $var1.$prevPosX = var$6; $var1.$lastTickPosX = var$6; var$16 = var$16 + $var1.$yOffset; $var1.$posY = var$16; $var1.$prevPosY = var$16; $var1.$lastTickPosY = var$16; $var1.$posZ = var$17; $var1.$prevPosZ = var$17; $var1.$lastTickPosZ = var$17; $var1.$rotationYaw = 0.0; $var1.$rotationPitch = 0.0; nms_Entity_setPosition($var1, var$6, var$16, var$17); var$1 = $this.$worldObj10; var$3 = nms_World_spawnEntityInWorld(var$1, $var1); var$5 = var$1.$entityList; ju_HashMap_putImpl(var$5.$backingMap, $var1, var$5); if (!var$3) { var$1 = var$1.$entitySpawnQueue; ju_HashMap_putImpl(var$1.$backingMap, $var1, var$1); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $var1, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }; function nms_EntityAIFollowGolem() { let a = this; nms_EntityAIBase.call(a); a.$theVillager = null; a.$theGolem = null; a.$takeGolemRoseTick = 0; a.$tookGolemRose = 0; } let nms_EntityAIFollowGolem_shouldExecute = $this => { let $var3, $var1, $var2$index, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var2$index_0, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var2$index_0 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2$index = $thread.pop();$var1 = $thread.pop();$var3 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$theVillager.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var1 = jl_Integer_integerCache.data[140]; if ($var1 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { $var2$index = $var1.$value0; var$4 = $var3.$elementData.data; $var3 = var$4[$var2$index & (var$4.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == $var2$index) { var$5 = $var3.$key; if ($var1 !== var$5 && !($var1 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == $var2$index ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; if ($var3.$watchedObject.$value0 >= 0) return 0; $var1 = $this.$theVillager; var$5 = $var1.$worldObj; if (!(var$5.$skylightSubtracted >= 4 ? 0 : 1)) return 0; $var3 = $rt_cls(nms_EntityIronGolem); $var1 = $var1.$boundingBox; var$6 = $var1.$minX - 6.0; var$7 = $var1.$minY - 2.0; var$8 = $var1.$minZ - 6.0; var$9 = $var1.$maxX + 6.0; var$10 = $var1.$maxY + 2.0; var$11 = $var1.$maxZ + 6.0; var$12 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); $var2$index = var$12.$nextPoolIndex; $var1 = var$12.$listAABB; var$13 = $var1.$size0; $var2$index_0 = $rt_compare($var2$index, var$13); if ($var2$index_0 >= 0) { var$15 = new nms_AxisAlignedBB; var$15.$minX = var$6; var$15.$minY = var$7; var$15.$minZ = var$8; var$15.$maxX = var$9; var$15.$maxY = var$10; var$15.$maxZ = var$11; ju_ArrayList_ensureCapacity($var1, var$13 + 1 | 0); var$4 = $var1.$array.data; $var2$index_0 = $var1.$size0; $var1.$size0 = $var2$index_0 + 1 | 0; var$4[$var2$index_0] = var$15; $var1.$modCount = $var1.$modCount + 1 | 0; } else if ($var2$index >= 0 && $var2$index_0 < 0) { var$15 = $var1.$array.data[$var2$index]; var$15.$minX = var$6; var$15.$minY = var$7; var$15.$minZ = var$8; var$15.$maxX = var$9; var$15.$maxY = var$10; var$15.$maxZ = var$11; } else { $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } var$12.$nextPoolIndex = var$12.$nextPoolIndex + 1 | 0; $var1 = null; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB(var$5, $var3, var$15, $var1); if ($rt_suspending()) { break main; } $var1 = $tmp; if ($var1.$size0 ? 0 : 1) return 0; $var2$index = 0; var$13 = $var1.$modCount; var$16 = $var1.$size(); a: { while (true) { if (!($var2$index >= var$16 ? 0 : 1)) break a; if (var$13 < $var1.$modCount) { $var3 = new ju_ConcurrentModificationException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $rt_throw($var3); } $var2$index_0 = $var2$index + 1 | 0; $var3 = $var1.$get($var2$index); if ($var3.$holdRoseTick > 0) break; $var2$index = $var2$index_0; } $this.$theGolem = $var3; } return $this.$theGolem === null ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var3, $var1, $var2$index, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $var2$index_0, var$15, var$16, $ptr); }, nms_EntityAIFollowGolem_continueExecuting = $this => { return $this.$theGolem.$holdRoseTick <= 0 ? 0 : 1; }, nms_EntityAIFollowGolem_startExecuting = $this => { let var$1, var$2, var$3, var$4; var$1 = $this.$theVillager.$rand; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { var$4 = var$3 % 320 | 0; if (((var$3 - var$4 | 0) + 319 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul(var$1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$1.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } $this.$takeGolemRoseTick = var$4; $this.$tookGolemRose = 0; $this.$theGolem.$navigator.$currentPath = null; }, nms_EntityAIFollowGolem_resetTask = $this => { $this.$theGolem = null; $this.$theVillager.$navigator.$currentPath = null; }, nms_EntityAIFollowGolem_updateTask = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; nms_EntityLookHelper_setLookPositionWithEntity($this.$theVillager.$lookHelper, $this.$theGolem, 30.0, 30.0); var$1 = $this.$theGolem; if (var$1.$holdRoseTick == $this.$takeGolemRoseTick) { a: { b: { var$2 = $this.$theVillager.$navigator; var$3 = var$2.$theEntity; if (!var$3.$onGround) { if (!var$2.$canSwim) break b; if (!(!var$3.$isInWater() && !var$2.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$4 = 1; break a; } var$4 = 0; } if (!var$4) var$1 = null; else { var$3 = var$2.$worldObj3; var$5 = var$2.$theEntity; var$6 = var$2.$pathSearchRange; if (var$6.$field_111133_g) { var$6.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$6); var$6.$field_111133_g = 0; } var$1 = nms_World_getPathEntityToEntity(var$3, var$5, var$1, var$6.$field_111139_h, var$2.$canPassOpenWoodenDoors, var$2.$canPassClosedWoodenDoors, var$2.$avoidsWater, var$2.$canSwim); } if (var$1 !== null) nms_PathNavigate_setPath(var$2, var$1, 0.5); $this.$tookGolemRose = 1; } if ($this.$tookGolemRose) { var$1 = $this.$theVillager; var$3 = $this.$theGolem; var$7 = var$1.$posX - var$3.$posX; var$8 = var$1.$posY - var$3.$posY; var$9 = var$1.$posZ - var$3.$posZ; if (var$7 * var$7 + var$8 * var$8 + var$9 * var$9 < 4.0) { var$3.$holdRoseTick = 0; var$1.$navigator.$currentPath = null; } } }; function nms_EntityAIPlay() { let a = this; nms_EntityAIBase.call(a); a.$villagerObj0 = null; a.$targetVillager = null; a.$field_75261_c = 0.0; a.$playTime = 0; } let nms_EntityAIPlay_shouldExecute = $this => { let $var8, var$2, var$3, var$4, var$5, var$6, $var4$index, var$8, var$9, var$10, var$11, $var2, $var6, var$14, $var5, var$16, $var1, $var4$index_0, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();$var4$index_0 = $thread.pop();$var1 = $thread.pop();var$16 = $thread.pop();$var5 = $thread.pop();var$14 = $thread.pop();$var6 = $thread.pop();$var2 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var4$index = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var8 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = $this.$villagerObj0.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[140]; if (var$2 === null) { $var8 = $var8.$elementData.data[0]; while ($var8 !== null && $var8.$key !== null) { $var8 = $var8.$next3; } } else { var$3 = var$2.$value0; var$4 = $var8.$elementData.data; $var8 = var$4[var$3 & (var$4.length - 1 | 0)]; while ($var8 !== null) { if ($var8.$origKeyHash == var$3) { var$5 = $var8.$key; if (var$2 !== var$5 && !(var$2 === var$5 ? 1 : var$5 instanceof jl_Integer && var$5.$value0 == var$3 ? 1 : 0) ? 0 : 1) break; } $var8 = $var8.$next3; } } $var8 = $var8 === null ? null : $var8.$value1; if ($var8.$watchedObject.$value0 >= 0) return 0; $var8 = $this.$villagerObj0; var$2 = $var8.$rand; var$6 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$6; $var4$index = Long_lo(Long_shru(var$6, 17)); while (true) { var$8 = $var4$index % 400 | 0; if ((($var4$index - var$8 | 0) + 399 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul(var$2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$2.$seed = var$6; $var4$index = Long_lo(Long_shru(var$6, 17)); } if (var$8) return 0; var$2 = $var8.$worldObj; var$5 = $rt_cls(nms_EntityVillager); $var8 = $var8.$boundingBox; var$9 = $var8.$minX - 6.0; var$10 = $var8.$minY - 3.0; var$11 = $var8.$minZ - 6.0; $var2 = $var8.$maxX + 6.0; $var6 = $var8.$maxY + 3.0; var$14 = $var8.$maxZ + 6.0; $var5 = jl_ThreadLocal_get(nms_AxisAlignedBB_theAABBLocalPool); var$3 = $var5.$nextPoolIndex; $var8 = $var5.$listAABB; $var4$index = $var8.$size0; var$16 = $rt_compare(var$3, $var4$index); if (var$16 >= 0) { $var1 = new nms_AxisAlignedBB; $var1.$minX = var$9; $var1.$minY = var$10; $var1.$minZ = var$11; $var1.$maxX = $var2; $var1.$maxY = $var6; $var1.$maxZ = var$14; ju_ArrayList_ensureCapacity($var8, $var4$index + 1 | 0); var$4 = $var8.$array.data; var$16 = $var8.$size0; $var8.$size0 = var$16 + 1 | 0; var$4[var$16] = $var1; $var8.$modCount = $var8.$modCount + 1 | 0; } else if (var$3 >= 0 && var$16 < 0) { $var1 = $var8.$array.data[var$3]; $var1.$minX = var$9; $var1.$minY = var$10; $var1.$minZ = var$11; $var1.$maxX = $var2; $var1.$maxY = $var6; $var1.$maxZ = var$14; } else { $var8 = new jl_IndexOutOfBoundsException; $var8.$suppressionEnabled = 1; $var8.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var8); $rt_throw($var8); } $var5.$nextPoolIndex = $var5.$nextPoolIndex + 1 | 0; $var8 = null; $ptr = 1; case 1: $tmp = nms_World_selectEntitiesWithinAABB(var$2, var$5, $var1, $var8); if ($rt_suspending()) { break main; } $var1 = $tmp; $var2 = 1.7976931348623157E308; $var4$index_0 = 0; var$8 = $var1.$modCount; var$19 = $var1.$size(); while (true) { if (!($var4$index_0 >= var$19 ? 0 : 1)) { if ($this.$targetVillager === null) { $var8 = $this.$villagerObj0; nms_RandomPositionGenerator_$callClinit(); if (nms_RandomPositionGenerator_findRandomTargetBlock($var8, 16, 3, null) === null) return 0; } return 1; } if (var$8 < $var1.$modCount) break; $var4$index = $var4$index_0 + 1 | 0; $var5 = $var1.$get($var4$index_0); if ($var5 !== $this.$villagerObj0 && !$var5.$isPlaying) { $var8 = $var5.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[140]; if (var$5 === null) { $var8 = $var8.$elementData.data[0]; while ($var8 !== null && $var8.$key !== null) { $var8 = $var8.$next3; } } else { $var4$index_0 = var$5.$value0; var$4 = $var8.$elementData.data; $var8 = var$4[$var4$index_0 & (var$4.length - 1 | 0)]; while ($var8 !== null) { if ($var8.$origKeyHash == $var4$index_0) { var$2 = $var8.$key; if (var$5 !== var$2 && !(var$5 === var$2 ? 1 : var$2 instanceof jl_Integer && var$2.$value0 == $var4$index_0 ? 1 : 0) ? 0 : 1) break; } $var8 = $var8.$next3; } } $var8 = $var8 === null ? null : $var8.$value1; if ($var8.$watchedObject.$value0 < 0) { $var8 = $this.$villagerObj0; $var6 = $var5.$posX - $var8.$posX; var$14 = $var5.$posY - $var8.$posY; var$9 = $var5.$posZ - $var8.$posZ; $var6 = $var6 * $var6 + var$14 * var$14 + var$9 * var$9; if ($var6 <= $var2) { $this.$targetVillager = $var5; $var2 = $var6; } } } $var4$index_0 = $var4$index; } $var8 = new ju_ConcurrentModificationException; $var8.$suppressionEnabled = 1; $var8.$writableStackTrace = 1; $rt_throw($var8); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var8, var$2, var$3, var$4, var$5, var$6, $var4$index, var$8, var$9, var$10, var$11, $var2, $var6, var$14, $var5, var$16, $var1, $var4$index_0, var$19, $ptr); }, nms_EntityAIPlay_continueExecuting = $this => { return $this.$playTime <= 0 ? 0 : 1; }, nms_EntityAIPlay_startExecuting = $this => { if ($this.$targetVillager !== null) $this.$villagerObj0.$isPlaying = 1; $this.$playTime = 1000; }, nms_EntityAIPlay_resetTask = $this => { $this.$villagerObj0.$isPlaying = 0; $this.$targetVillager = null; }, nms_EntityAIPlay_updateTask = $this => { let var$1, $var1, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13; $this.$playTime = $this.$playTime - 1 | 0; var$1 = $this.$targetVillager; if (var$1 !== null) { $var1 = $this.$villagerObj0; var$3 = $var1.$posX - var$1.$posX; var$4 = $var1.$posY - var$1.$posY; var$5 = $var1.$posZ - var$1.$posZ; if (var$3 * var$3 + var$4 * var$4 + var$5 * var$5 > 4.0) { a: { b: { $var1 = $var1.$navigator; var$3 = $this.$field_75261_c; var$6 = $var1.$theEntity; if (!var$6.$onGround) { if (!$var1.$canSwim) break b; if (!(!var$6.$isInWater() && !$var1.$theEntity.$handleLavaMovement() ? 0 : 1)) break b; } var$7 = 1; break a; } var$7 = 0; } if (!var$7) var$1 = null; else { var$6 = $var1.$worldObj3; var$8 = $var1.$theEntity; var$9 = $var1.$pathSearchRange; if (var$9.$field_111133_g) { var$9.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$9); var$9.$field_111133_g = 0; } var$1 = nms_World_getPathEntityToEntity(var$6, var$8, var$1, var$9.$field_111139_h, $var1.$canPassOpenWoodenDoors, $var1.$canPassClosedWoodenDoors, $var1.$avoidsWater, $var1.$canSwim); } if (var$1 !== null) nms_PathNavigate_setPath($var1, var$1, var$3); } } else { var$1 = $this.$villagerObj0; $var1 = var$1.$navigator.$currentPath; if ($var1 !== null && !($var1.$currentPathIndex < $var1.$pathLength ? 0 : 1) ? 0 : 1) { nms_RandomPositionGenerator_$callClinit(); $var1 = nms_RandomPositionGenerator_findRandomTargetBlock(var$1, 16, 3, null); if ($var1 === null) return; var$1 = $this.$villagerObj0.$navigator; var$3 = $var1.$xCoord; var$4 = $var1.$yCoord; var$5 = $var1.$zCoord; var$10 = $this.$field_75261_c; var$11 = var$3 | 0; if (var$3 < var$11) var$11 = var$11 - 1 | 0; var$3 = var$11; var$4 = var$4 | 0; var$11 = var$5 | 0; if (var$5 < var$11) var$11 = var$11 - 1 | 0; c: { d: { var$5 = var$11; $var1 = var$1.$theEntity; if (!$var1.$onGround) { if (!var$1.$canSwim) break d; if (!(!$var1.$isInWater() && !var$1.$theEntity.$handleLavaMovement() ? 0 : 1)) break d; } var$7 = 1; break c; } var$7 = 0; } if (!var$7) $var1 = null; else { $var1 = var$1.$worldObj3; var$6 = var$1.$theEntity; var$12 = var$3 | 0; if (var$3 < var$12) var$12 = var$12 - 1 | 0; var$7 = var$4 | 0; var$13 = var$5 | 0; if (var$5 < var$13) var$13 = var$13 - 1 | 0; var$8 = var$1.$pathSearchRange; if (var$8.$field_111133_g) { var$8.$field_111139_h = nms_ModifiableAttributeInstance_func_111129_g(var$8); var$8.$field_111133_g = 0; } $var1 = nms_World_getEntityPathToXYZ($var1, var$6, var$12, var$7, var$13, var$8.$field_111139_h, var$1.$canPassOpenWoodenDoors, var$1.$canPassClosedWoodenDoors, var$1.$avoidsWater, var$1.$canSwim); } nms_PathNavigate_setPath(var$1, $var1, var$10); } } }, nms_EntityAIWatchClosest2 = $rt_classWithoutFields(nms_EntityAIWatchClosest), nms_FilterIMob = $rt_classWithoutFields(), nms_FilterIMob__init_ = $this => { return; }, nms_FilterIMob__init_0 = () => { let var_0 = new nms_FilterIMob(); nms_FilterIMob__init_(var_0); return var_0; }, nms_FilterIMob_isEntityApplicable = ($this, $par1Entity) => { return $rt_isInstance($par1Entity, nms_IMob); }; function ju_AbstractMap$KeySet$1() { let a = this; jl_Object.call(a); a.$val$it = null; a.$this$1 = null; } let ju_AbstractMap$KeySet$1_hasNext = $this => { return $this.$val$it.$depth <= 0 ? 0 : 1; }, ju_AbstractMap$KeySet$1_next = $this => { return (ju_TreeMap$EntryIterator_next($this.$val$it)).$key0; }, ju_AbstractMap$KeySet$1_remove = $this => { ju_TreeMap$EntryIterator_remove($this.$val$it); }, ju_LinkedHashMapIterator$EntryIterator = $rt_classWithoutFields(ju_LinkedHashMapIterator); function nms_WorldChunkManagerHell() { let a = this; nms_WorldChunkManager.call(a); a.$biomeToUse0 = null; a.$hellTemperature = 0.0; a.$rainfall0 = 0.0; } let nms_WorldChunkManagerHell_getBiomeGenAt = ($this, $par1, $par2) => { return $this.$biomeToUse0; }, nms_WorldChunkManagerHell_getTemperatures = ($this, $par1ArrayOfFloat, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8; if (!($par1ArrayOfFloat !== null && $par1ArrayOfFloat.data.length >= $rt_imul($par4, $par5))) $par1ArrayOfFloat = $rt_createFloatArray($rt_imul($par4, $par5)); $par2 = 0; $par3 = $rt_imul($par4, $par5); var$6 = $this.$hellTemperature; if ($par2 <= $par3) { while ($par2 < $par3) { var$7 = $par1ArrayOfFloat.data; $par4 = $par2 + 1 | 0; var$7[$par2] = var$6; $par2 = $par4; } return $par1ArrayOfFloat; } var$8 = new jl_IllegalArgumentException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); }, nms_WorldChunkManagerHell_getRainfall = ($this, $par1ArrayOfFloat, $par2, $par3, $par4, $par5) => { let var$6, var$7, var$8; if (!($par1ArrayOfFloat !== null && $par1ArrayOfFloat.data.length >= $rt_imul($par4, $par5))) $par1ArrayOfFloat = $rt_createFloatArray($rt_imul($par4, $par5)); $par2 = 0; $par3 = $rt_imul($par4, $par5); var$6 = $this.$rainfall0; if ($par2 <= $par3) { while ($par2 < $par3) { var$7 = $par1ArrayOfFloat.data; $par4 = $par2 + 1 | 0; var$7[$par2] = var$6; $par2 = $par4; } return $par1ArrayOfFloat; } var$8 = new jl_IllegalArgumentException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); }, nms_WorldChunkManagerHell_getBiomeGenAt0 = ($this, $par1ArrayOfBiomeGenBase, $par2, $par3, $par4, $par5, $par6) => { let var$7, var$8; if (!($par1ArrayOfBiomeGenBase !== null && $par1ArrayOfBiomeGenBase.data.length >= $rt_imul($par4, $par5))) $par1ArrayOfBiomeGenBase = $rt_createArray(nms_BiomeGenBase, $rt_imul($par4, $par5)); $par2 = 0; $par3 = $rt_imul($par4, $par5); var$7 = $this.$biomeToUse0; if ($par2 <= $par3) { while ($par2 < $par3) { var$8 = $par1ArrayOfBiomeGenBase.data; $par4 = $par2 + 1 | 0; var$8[$par2] = var$7; $par2 = $par4; } return $par1ArrayOfBiomeGenBase; } var$7 = new jl_IllegalArgumentException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); }; function nms_Village() { let a = this; jl_Object.call(a); a.$villageDoorInfoList = null; a.$centerHelper = null; a.$center = null; a.$playerReputation = null; a.$villageAgressors = null; } let nms_Village__init_ = $this => { let var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$villageDoorInfoList = var$1; var$1 = new nms_ChunkCoordinates; var$1.$posX0 = 0; var$1.$posY0 = 0; var$1.$posZ0 = 0; $this.$centerHelper = var$1; var$1 = new nms_ChunkCoordinates; var$1.$posX0 = 0; var$1.$posY0 = 0; var$1.$posZ0 = 0; $this.$center = var$1; var$1 = new ju_TreeMap; var$1.$originalComparator = null; var$1.$comparator = ju_Comparator$NaturalOrder_INSTANCE; $this.$playerReputation = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); $this.$villageAgressors = var$1; }, nms_Village__init_0 = () => { let var_0 = new nms_Village(); nms_Village__init_(var_0); return var_0; }; function nms_EntityAITaskEntry() { let a = this; jl_Object.call(a); a.$action = null; a.$priority = 0; a.$tasks = null; } let nle_GuiSlotRelay$1 = $rt_classWithoutFields(), nle_GuiSlotRelay$1_$SwitchMap$net$lax1dude$eaglercraft$RelayQuery$VersionMismatch = null, nle_GuiSlotRelay$1_$callClinit = () => { nle_GuiSlotRelay$1_$callClinit = $rt_eraseClinit(nle_GuiSlotRelay$1); nle_GuiSlotRelay$1__clinit_(); }, nle_GuiSlotRelay$1__clinit_ = () => { let var$1, var$2; var$1 = $rt_createIntArray((nle_RelayQuery$VersionMismatch_$VALUES.$clone0()).data.length); var$2 = var$1.data; nle_GuiSlotRelay$1_$SwitchMap$net$lax1dude$eaglercraft$RelayQuery$VersionMismatch = var$1; var$2[nle_RelayQuery$VersionMismatch_CLIENT_OUTDATED.$ordinal] = 1; var$2[nle_RelayQuery$VersionMismatch_RELAY_OUTDATED.$ordinal] = 2; var$2[nle_RelayQuery$VersionMismatch_UNKNOWN.$ordinal] = 3; }, nms_IChunkProvider = $rt_classWithoutFields(0); function nms_ChunkProviderClient() { let a = this; jl_Object.call(a); a.$blankChunk = null; a.$chunkMapping = null; a.$chunkListing = null; a.$worldObj12 = null; } let nms_IUpdatePlayerListBox = $rt_classWithoutFields(0); function nms_SoundUpdaterMinecart() { let a = this; jl_Object.call(a); a.$theSoundManager = null; a.$theMinecart = null; a.$thePlayer0 = null; a.$playerSPRidingMinecart = 0; a.$minecartIsDead = 0; a.$minecartIsMoving = 0; a.$silent = 0; a.$minecartSoundPitch = 0.0; a.$minecartMoveSoundVolume = 0.0; a.$minecartRideSoundVolume = 0.0; a.$minecartSpeed = 0.0; } let nms_SoundUpdaterMinecart_update = $this => { let $var2, $var3, $var4, $var5, $var6, $var7, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var10, var$20, $var1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1 = $thread.pop();var$20 = $thread.pop();$var10 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $this.$playerSPRidingMinecart; $var3 = $this.$minecartIsDead; $var4 = $this.$minecartIsMoving; $var5 = $this.$minecartMoveSoundVolume; $var6 = $this.$minecartSoundPitch; $var7 = $this.$minecartRideSoundVolume; var$7 = $this.$thePlayer0; $this.$playerSPRidingMinecart = var$7 !== null && $this.$theMinecart.$riddenByEntity === var$7 ? 1 : 0; var$7 = $this.$theMinecart; $this.$minecartIsDead = var$7.$isDead; var$8 = var$7.$motionX; var$8 = var$8 * var$8; var$9 = var$7.$motionZ; var$8 = jl_Math_sqrt(var$8 + var$9 * var$9); $this.$minecartSpeed = var$8; $this.$minecartIsMoving = var$8 < 0.01 ? 0 : 1; if ($var2 && !$this.$playerSPRidingMinecart) { var$7 = $this.$theSoundManager; var$10 = $this.$thePlayer0; var$7 = var$7.$soundevents; var$11 = 0; var$12 = var$7.$modCount; var$13 = var$7.$size(); var$14 = var$10 instanceof nms_Entity; var$15 = var$10; while (var$11 >= var$13 ? 0 : 1) { if (var$12 < var$7.$modCount) { var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } var$16 = var$11 + 1 | 0; var$10 = var$7.$get(var$11); var$17 = var$10.$e; if (!var$14 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_endSound(var$10.$id3); var$11 = var$16; } } a: { if (!$this.$minecartIsDead) { if ($this.$silent) break a; if ($this.$minecartMoveSoundVolume !== 0.0) break a; if ($this.$minecartRideSoundVolume !== 0.0) break a; } b: { if (!$var3) { var$7 = $this.$theSoundManager; var$10 = $this.$theMinecart; var$7 = var$7.$soundevents; var$14 = 0; var$16 = var$7.$modCount; var$12 = var$7.$size(); var$18 = var$10 instanceof nms_Entity; var$15 = var$10; while (var$14 >= var$12 ? 0 : 1) { if (var$16 < var$7.$modCount) { var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } var$11 = var$14 + 1 | 0; var$10 = var$7.$get(var$14); var$17 = var$10.$e; if (!var$18 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_endSound(var$10.$id3); var$14 = var$11; } if (!(!$var2 && !$this.$playerSPRidingMinecart)) { var$7 = $this.$theSoundManager; var$10 = $this.$thePlayer0; var$7 = var$7.$soundevents; var$18 = 0; var$11 = var$7.$modCount; var$16 = var$7.$size(); $var3 = var$10 instanceof nms_Entity; var$15 = var$10; while (true) { if (!(var$18 >= var$16 ? 0 : 1)) break b; if (var$11 < var$7.$modCount) break; var$14 = var$18 + 1 | 0; var$10 = var$7.$get(var$18); var$17 = var$10.$e; if (!$var3 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_endSound(var$10.$id3); var$18 = var$14; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } } $this.$silent = 1; if ($this.$minecartIsDead) return; } var$7 = $this.$theSoundManager; var$10 = $this.$theMinecart; var$7 = var$7.$soundevents; var$18 = 0; var$11 = var$7.$modCount; var$16 = var$7.$size(); $var3 = var$10 instanceof nms_Entity; var$17 = var$10; c: { while (true) { if (!(var$18 >= var$16 ? 0 : 1)) { $var2 = 0; break c; } if (var$11 < var$7.$modCount) { var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } var$14 = var$18 + 1 | 0; var$10 = (var$7.$get(var$18)).$e; if (!$var3 ? 0 : var$17.$entityId != var$10.$entityId ? 0 : 1) break; var$18 = var$14; } $var2 = 1; } if (!$var2) { $var10 = $this.$minecartMoveSoundVolume; if ($var10 > 0.0) { var$7 = $this.$theSoundManager; var$10 = $rt_s(3875); var$17 = $this.$theMinecart; var$20 = $this.$minecartSoundPitch; $var1 = 0; $ptr = 1; continue main; } } if ($this.$playerSPRidingMinecart) { var$10 = $this.$theSoundManager; var$7 = $this.$thePlayer0; var$10 = var$10.$soundevents; $var2 = 0; var$18 = var$10.$modCount; var$14 = var$10.$size(); var$11 = var$7 instanceof nms_Entity; var$17 = var$7; d: { while (true) { if (!($var2 >= var$14 ? 0 : 1)) { $var2 = 0; break d; } if (var$18 < var$10.$modCount) break; $var3 = $var2 + 1 | 0; var$7 = (var$10.$get($var2)).$e; if (!var$11 ? 0 : var$17.$entityId != var$7.$entityId ? 0 : 1) { $var2 = 1; break d; } $var2 = $var3; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } if (!$var2) { var$20 = $this.$minecartRideSoundVolume; if (var$20 > 0.0) { var$7 = $this.$theSoundManager; var$10 = $rt_s(3876); var$17 = $this.$thePlayer0; $var10 = 1.0; $var1 = 1; $ptr = 2; continue main; } } } if ($this.$minecartIsMoving) { $var10 = $this.$minecartSoundPitch; if ($var10 < 1.0) $this.$minecartSoundPitch = $var10 + 0.0024999999441206455; if ($this.$minecartSoundPitch > 1.0) $this.$minecartSoundPitch = 1.0; $var10 = $this.$minecartSpeed; var$20 = 0.0; if ($var10 >= var$20) var$20 = $var10 <= 4.0 ? $var10 : 4.0; $var10 = var$20 / 4.0; $this.$minecartRideSoundVolume = 0.0 + $var10 * 0.75; $var10 = $var10 * 2.0; var$20 = 0.0; if ($var10 >= var$20) var$20 = $var10 <= 1.0 ? $var10 : 1.0; $this.$minecartMoveSoundVolume = 0.0 + var$20 * 0.699999988079071; } else if ($var4) { $this.$minecartMoveSoundVolume = 0.0; $this.$minecartSoundPitch = 0.0; $this.$minecartRideSoundVolume = 0.0; } e: { if (!$this.$silent) { f: { $var10 = $this.$minecartSoundPitch; if ($var10 !== $var6) { var$10 = $this.$theSoundManager; var$7 = $this.$theMinecart; var$10 = var$10.$soundevents; $var2 = 0; var$18 = var$10.$modCount; var$14 = var$10.$size(); $var4 = var$7 instanceof nms_Entity; var$7 = var$7; while (true) { if (!($var2 >= var$14 ? 0 : 1)) break f; if (var$18 < var$10.$modCount) break; $var3 = $var2 + 1 | 0; var$17 = var$10.$get($var2); var$15 = var$17.$e; if (!$var4 ? 0 : var$7.$entityId != var$15.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_setPitch(var$17.$id3, $var10); $var2 = $var3; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } g: { $var10 = $this.$minecartMoveSoundVolume; if ($var10 !== $var5) { var$7 = $this.$theSoundManager; var$10 = $this.$theMinecart; var$7 = var$7.$soundevents; $var4 = 0; var$14 = var$7.$modCount; var$11 = var$7.$size(); $var3 = var$10 instanceof nms_Entity; var$15 = var$10; while (true) { if (!($var4 >= var$11 ? 0 : 1)) break g; if (var$14 < var$7.$modCount) break; var$18 = $var4 + 1 | 0; var$10 = var$7.$get($var4); var$17 = var$10.$e; if (!$var3 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_setVolume(var$10.$id3, $var10); $var4 = var$18; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } $var10 = $this.$minecartRideSoundVolume; if ($var10 !== $var7) { var$7 = $this.$theSoundManager; var$10 = $this.$thePlayer0; var$7 = var$7.$soundevents; $var4 = 0; var$14 = var$7.$modCount; var$11 = var$7.$size(); $var3 = var$10 instanceof nms_Entity; var$15 = var$10; while (true) { if (!($var4 >= var$11 ? 0 : 1)) break e; if (var$14 < var$7.$modCount) break; var$18 = $var4 + 1 | 0; var$10 = var$7.$get($var4); var$17 = var$10.$e; if (!$var3 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_setVolume(var$10.$id3, $var10); $var4 = var$18; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } } if (!0 && !($this.$minecartMoveSoundVolume <= 0.0 && $this.$minecartRideSoundVolume <= 0.0)) { nms_SoundManager_updateSoundLocation($this.$theSoundManager, $this.$theMinecart); if ($this.$playerSPRidingMinecart) nms_SoundManager_updateSoundLocation0($this.$theSoundManager, $this.$thePlayer0, $this.$theMinecart); } else { var$7 = $this.$theSoundManager; var$10 = $this.$theMinecart; var$7 = var$7.$soundevents; $var4 = 0; $var2 = var$7.$modCount; $var3 = var$7.$size(); $var1 = var$10 instanceof nms_Entity; var$17 = var$10; h: { while (true) { if (!($var4 >= $var3 ? 0 : 1)) { $var1 = 0; break h; } if ($var2 < var$7.$modCount) break; var$14 = $var4 + 1 | 0; var$10 = (var$7.$get($var4)).$e; if (!$var1 ? 0 : var$17.$entityId != var$10.$entityId ? 0 : 1) { $var1 = 1; break h; } $var4 = var$14; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } i: { if ($var1) { var$7 = $this.$theSoundManager; var$10 = $this.$theMinecart; var$7 = var$7.$soundevents; $var4 = 0; $var2 = var$7.$modCount; $var3 = var$7.$size(); $var1 = var$10 instanceof nms_Entity; var$15 = var$10; while (true) { if (!($var4 >= $var3 ? 0 : 1)) break i; if ($var2 < var$7.$modCount) break; var$14 = $var4 + 1 | 0; var$10 = var$7.$get($var4); var$17 = var$10.$e; if (!$var1 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_endSound(var$10.$id3); $var4 = var$14; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } if ($this.$playerSPRidingMinecart) { var$7 = $this.$theSoundManager; var$10 = $this.$thePlayer0; var$7 = var$7.$soundevents; $var4 = 0; $var2 = var$7.$modCount; $var3 = var$7.$size(); $var1 = var$10 instanceof nms_Entity; var$17 = var$10; j: { while (true) { if (!($var4 >= $var3 ? 0 : 1)) { $var1 = 0; break j; } if ($var2 < var$7.$modCount) break; var$14 = $var4 + 1 | 0; var$10 = (var$7.$get($var4)).$e; if (!$var1 ? 0 : var$17.$entityId != var$10.$entityId ? 0 : 1) { $var1 = 1; break j; } $var4 = var$14; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } if ($var1) { var$7 = $this.$theSoundManager; var$10 = $this.$thePlayer0; var$7 = var$7.$soundevents; $var4 = 0; $var2 = var$7.$modCount; $var3 = var$7.$size(); $var1 = var$10 instanceof nms_Entity; var$15 = var$10; while ($var4 >= $var3 ? 0 : 1) { if ($var2 < var$7.$modCount) { var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } var$14 = $var4 + 1 | 0; var$10 = var$7.$get($var4); var$17 = var$10.$e; if (!$var1 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_endSound(var$10.$id3); $var4 = var$14; } } } } return; case 1: nms_SoundManager_playEntitySound(var$7, var$10, var$17, $var10, var$20, $var1); if ($rt_suspending()) { break main; } $this.$silent = 0; if ($this.$playerSPRidingMinecart) { var$10 = $this.$theSoundManager; var$7 = $this.$thePlayer0; var$10 = var$10.$soundevents; $var2 = 0; var$18 = var$10.$modCount; var$14 = var$10.$size(); var$11 = var$7 instanceof nms_Entity; var$17 = var$7; k: { while (true) { if (!($var2 >= var$14 ? 0 : 1)) { $var2 = 0; break k; } if (var$18 < var$10.$modCount) break; $var3 = $var2 + 1 | 0; var$7 = (var$10.$get($var2)).$e; if (!var$11 ? 0 : var$17.$entityId != var$7.$entityId ? 0 : 1) { $var2 = 1; break k; } $var2 = $var3; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } if (!$var2) { var$20 = $this.$minecartRideSoundVolume; if (var$20 > 0.0) { var$7 = $this.$theSoundManager; var$10 = $rt_s(3876); var$17 = $this.$thePlayer0; $var10 = 1.0; $var1 = 1; $ptr = 2; continue main; } } } if ($this.$minecartIsMoving) { $var10 = $this.$minecartSoundPitch; if ($var10 < 1.0) $this.$minecartSoundPitch = $var10 + 0.0024999999441206455; if ($this.$minecartSoundPitch > 1.0) $this.$minecartSoundPitch = 1.0; $var10 = $this.$minecartSpeed; var$20 = 0.0; if ($var10 >= var$20) var$20 = $var10 <= 4.0 ? $var10 : 4.0; $var10 = var$20 / 4.0; $this.$minecartRideSoundVolume = 0.0 + $var10 * 0.75; $var10 = $var10 * 2.0; var$20 = 0.0; if ($var10 >= var$20) var$20 = $var10 <= 1.0 ? $var10 : 1.0; $this.$minecartMoveSoundVolume = 0.0 + var$20 * 0.699999988079071; } else if ($var4) { $this.$minecartMoveSoundVolume = 0.0; $this.$minecartSoundPitch = 0.0; $this.$minecartRideSoundVolume = 0.0; } l: { if (!$this.$silent) { m: { $var10 = $this.$minecartSoundPitch; if ($var10 !== $var6) { var$10 = $this.$theSoundManager; var$7 = $this.$theMinecart; var$10 = var$10.$soundevents; $var2 = 0; var$18 = var$10.$modCount; var$14 = var$10.$size(); $var4 = var$7 instanceof nms_Entity; var$7 = var$7; while (true) { if (!($var2 >= var$14 ? 0 : 1)) break m; if (var$18 < var$10.$modCount) break; $var3 = $var2 + 1 | 0; var$17 = var$10.$get($var2); var$15 = var$17.$e; if (!$var4 ? 0 : var$7.$entityId != var$15.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_setPitch(var$17.$id3, $var10); $var2 = $var3; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } n: { $var10 = $this.$minecartMoveSoundVolume; if ($var10 !== $var5) { var$7 = $this.$theSoundManager; var$10 = $this.$theMinecart; var$7 = var$7.$soundevents; $var4 = 0; var$14 = var$7.$modCount; var$11 = var$7.$size(); $var3 = var$10 instanceof nms_Entity; var$15 = var$10; while (true) { if (!($var4 >= var$11 ? 0 : 1)) break n; if (var$14 < var$7.$modCount) break; var$18 = $var4 + 1 | 0; var$10 = var$7.$get($var4); var$17 = var$10.$e; if (!$var3 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_setVolume(var$10.$id3, $var10); $var4 = var$18; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } $var10 = $this.$minecartRideSoundVolume; if ($var10 !== $var7) { var$7 = $this.$theSoundManager; var$10 = $this.$thePlayer0; var$7 = var$7.$soundevents; $var4 = 0; var$14 = var$7.$modCount; var$11 = var$7.$size(); $var3 = var$10 instanceof nms_Entity; var$15 = var$10; while (true) { if (!($var4 >= var$11 ? 0 : 1)) break l; if (var$14 < var$7.$modCount) break; var$18 = $var4 + 1 | 0; var$10 = var$7.$get($var4); var$17 = var$10.$e; if (!$var3 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_setVolume(var$10.$id3, $var10); $var4 = var$18; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } } if (!1 && !($this.$minecartMoveSoundVolume <= 0.0 && $this.$minecartRideSoundVolume <= 0.0)) { nms_SoundManager_updateSoundLocation($this.$theSoundManager, $this.$theMinecart); if ($this.$playerSPRidingMinecart) nms_SoundManager_updateSoundLocation0($this.$theSoundManager, $this.$thePlayer0, $this.$theMinecart); } else { var$7 = $this.$theSoundManager; var$10 = $this.$theMinecart; var$7 = var$7.$soundevents; $var4 = 0; $var2 = var$7.$modCount; $var3 = var$7.$size(); $var1 = var$10 instanceof nms_Entity; var$17 = var$10; o: { while (true) { if (!($var4 >= $var3 ? 0 : 1)) { $var1 = 0; break o; } if ($var2 < var$7.$modCount) break; var$14 = $var4 + 1 | 0; var$10 = (var$7.$get($var4)).$e; if (!$var1 ? 0 : var$17.$entityId != var$10.$entityId ? 0 : 1) { $var1 = 1; break o; } $var4 = var$14; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } p: { if ($var1) { var$7 = $this.$theSoundManager; var$10 = $this.$theMinecart; var$7 = var$7.$soundevents; $var4 = 0; $var2 = var$7.$modCount; $var3 = var$7.$size(); $var1 = var$10 instanceof nms_Entity; var$15 = var$10; while (true) { if (!($var4 >= $var3 ? 0 : 1)) break p; if ($var2 < var$7.$modCount) break; var$14 = $var4 + 1 | 0; var$10 = var$7.$get($var4); var$17 = var$10.$e; if (!$var1 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_endSound(var$10.$id3); $var4 = var$14; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } if ($this.$playerSPRidingMinecart) { var$7 = $this.$theSoundManager; var$10 = $this.$thePlayer0; var$7 = var$7.$soundevents; $var4 = 0; $var2 = var$7.$modCount; $var3 = var$7.$size(); $var1 = var$10 instanceof nms_Entity; var$17 = var$10; q: { while (true) { if (!($var4 >= $var3 ? 0 : 1)) { $var1 = 0; break q; } if ($var2 < var$7.$modCount) break; var$14 = $var4 + 1 | 0; var$10 = (var$7.$get($var4)).$e; if (!$var1 ? 0 : var$17.$entityId != var$10.$entityId ? 0 : 1) { $var1 = 1; break q; } $var4 = var$14; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } if ($var1) { var$7 = $this.$theSoundManager; var$10 = $this.$thePlayer0; var$7 = var$7.$soundevents; $var4 = 0; $var2 = var$7.$modCount; $var3 = var$7.$size(); $var1 = var$10 instanceof nms_Entity; var$15 = var$10; while ($var4 >= $var3 ? 0 : 1) { if ($var2 < var$7.$modCount) { var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } var$14 = $var4 + 1 | 0; var$10 = var$7.$get($var4); var$17 = var$10.$e; if (!$var1 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_endSound(var$10.$id3); $var4 = var$14; } } } } return; case 2: nms_SoundManager_playEntitySound(var$7, var$10, var$17, var$20, $var10, $var1); if ($rt_suspending()) { break main; } $this.$silent = 0; if ($this.$minecartIsMoving) { $var10 = $this.$minecartSoundPitch; if ($var10 < 1.0) $this.$minecartSoundPitch = $var10 + 0.0024999999441206455; if ($this.$minecartSoundPitch > 1.0) $this.$minecartSoundPitch = 1.0; $var10 = $this.$minecartSpeed; var$20 = 0.0; if ($var10 >= var$20) var$20 = $var10 <= 4.0 ? $var10 : 4.0; $var10 = var$20 / 4.0; $this.$minecartRideSoundVolume = 0.0 + $var10 * 0.75; $var10 = $var10 * 2.0; var$20 = 0.0; if ($var10 >= var$20) var$20 = $var10 <= 1.0 ? $var10 : 1.0; $this.$minecartMoveSoundVolume = 0.0 + var$20 * 0.699999988079071; } else if ($var4) { $this.$minecartMoveSoundVolume = 0.0; $this.$minecartSoundPitch = 0.0; $this.$minecartRideSoundVolume = 0.0; } r: { if (!$this.$silent) { s: { $var10 = $this.$minecartSoundPitch; if ($var10 !== $var6) { var$10 = $this.$theSoundManager; var$7 = $this.$theMinecart; var$10 = var$10.$soundevents; $var2 = 0; var$18 = var$10.$modCount; var$14 = var$10.$size(); $var4 = var$7 instanceof nms_Entity; var$7 = var$7; while (true) { if (!($var2 >= var$14 ? 0 : 1)) break s; if (var$18 < var$10.$modCount) break; $var3 = $var2 + 1 | 0; var$17 = var$10.$get($var2); var$15 = var$17.$e; if (!$var4 ? 0 : var$7.$entityId != var$15.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_setPitch(var$17.$id3, $var10); $var2 = $var3; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } t: { $var10 = $this.$minecartMoveSoundVolume; if ($var10 !== $var5) { var$7 = $this.$theSoundManager; var$10 = $this.$theMinecart; var$7 = var$7.$soundevents; $var4 = 0; var$14 = var$7.$modCount; var$11 = var$7.$size(); $var3 = var$10 instanceof nms_Entity; var$15 = var$10; while (true) { if (!($var4 >= var$11 ? 0 : 1)) break t; if (var$14 < var$7.$modCount) break; var$18 = $var4 + 1 | 0; var$10 = var$7.$get($var4); var$17 = var$10.$e; if (!$var3 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_setVolume(var$10.$id3, $var10); $var4 = var$18; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } $var10 = $this.$minecartRideSoundVolume; if ($var10 !== $var7) { var$7 = $this.$theSoundManager; var$10 = $this.$thePlayer0; var$7 = var$7.$soundevents; $var4 = 0; var$14 = var$7.$modCount; var$11 = var$7.$size(); $var3 = var$10 instanceof nms_Entity; var$15 = var$10; while (true) { if (!($var4 >= var$11 ? 0 : 1)) break r; if (var$14 < var$7.$modCount) break; var$18 = $var4 + 1 | 0; var$10 = var$7.$get($var4); var$17 = var$10.$e; if (!$var3 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_setVolume(var$10.$id3, $var10); $var4 = var$18; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } } if (!1 && !($this.$minecartMoveSoundVolume <= 0.0 && $this.$minecartRideSoundVolume <= 0.0)) { nms_SoundManager_updateSoundLocation($this.$theSoundManager, $this.$theMinecart); if ($this.$playerSPRidingMinecart) nms_SoundManager_updateSoundLocation0($this.$theSoundManager, $this.$thePlayer0, $this.$theMinecart); } else { var$7 = $this.$theSoundManager; var$10 = $this.$theMinecart; var$7 = var$7.$soundevents; $var4 = 0; $var2 = var$7.$modCount; $var3 = var$7.$size(); $var1 = var$10 instanceof nms_Entity; var$17 = var$10; u: { while (true) { if (!($var4 >= $var3 ? 0 : 1)) { $var1 = 0; break u; } if ($var2 < var$7.$modCount) break; var$14 = $var4 + 1 | 0; var$10 = (var$7.$get($var4)).$e; if (!$var1 ? 0 : var$17.$entityId != var$10.$entityId ? 0 : 1) { $var1 = 1; break u; } $var4 = var$14; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } v: { if ($var1) { var$7 = $this.$theSoundManager; var$10 = $this.$theMinecart; var$7 = var$7.$soundevents; $var4 = 0; $var2 = var$7.$modCount; $var3 = var$7.$size(); $var1 = var$10 instanceof nms_Entity; var$15 = var$10; while (true) { if (!($var4 >= $var3 ? 0 : 1)) break v; if ($var2 < var$7.$modCount) break; var$14 = $var4 + 1 | 0; var$10 = var$7.$get($var4); var$17 = var$10.$e; if (!$var1 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_endSound(var$10.$id3); $var4 = var$14; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } } if ($this.$playerSPRidingMinecart) { var$7 = $this.$theSoundManager; var$10 = $this.$thePlayer0; var$7 = var$7.$soundevents; $var4 = 0; $var2 = var$7.$modCount; $var3 = var$7.$size(); $var1 = var$10 instanceof nms_Entity; var$17 = var$10; w: { while (true) { if (!($var4 >= $var3 ? 0 : 1)) { $var1 = 0; break w; } if ($var2 < var$7.$modCount) break; var$14 = $var4 + 1 | 0; var$10 = (var$7.$get($var4)).$e; if (!$var1 ? 0 : var$17.$entityId != var$10.$entityId ? 0 : 1) { $var1 = 1; break w; } $var4 = var$14; } var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } if ($var1) { var$7 = $this.$theSoundManager; var$10 = $this.$thePlayer0; var$7 = var$7.$soundevents; $var4 = 0; $var2 = var$7.$modCount; $var3 = var$7.$size(); $var1 = var$10 instanceof nms_Entity; var$15 = var$10; while ($var4 >= $var3 ? 0 : 1) { if ($var2 < var$7.$modCount) { var$7 = new ju_ConcurrentModificationException; var$7.$suppressionEnabled = 1; var$7.$writableStackTrace = 1; $rt_throw(var$7); } var$14 = $var4 + 1 | 0; var$10 = var$7.$get($var4); var$17 = var$10.$e; if (!$var1 ? 0 : var$15.$entityId != var$17.$entityId ? 0 : 1) nlea_EaglerAdapterImpl2_endSound(var$10.$id3); $var4 = var$14; } } } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var2, $var3, $var4, $var5, $var6, $var7, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $var10, var$20, $var1, $ptr); }; function nms_GuiCreateFlatWorldListSlot() { let a = this; nms_GuiSlot.call(a); a.$field_82454_a = 0; a.$createFlatWorldGui = null; } let nms_GuiCreateFlatWorldListSlot_func_82452_a = ($this, $par1, $par2, $par3ItemStack) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3ItemStack = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $par1 + 1 | 0; var$5 = $par2 + 1 | 0; var$6 = 0; var$7 = 0; $ptr = 1; case 1: nms_GuiCreateFlatWorldListSlot_func_82450_b($this, var$4, var$5, var$6, var$7); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(32826); if ($par3ItemStack === null) { nleg_EaglerAdapterGL30_glDisable(32826); return; } nleg_EaglerAdapterGL30_glPushMatrix(); var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = 0.0; var$8.$y = 1.0; var$8.$z = 0.0; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$8); var$8.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); var$8.$sb = var$9; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = 1.0; var$8.$y = 0.0; var$8.$z = 0.0; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$8); var$8.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); var$8.$sb = var$9; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = 1.0; var$8.$y = (-1.0); var$8.$z = 1.0; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$8); var$8.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); var$8.$sb = var$9; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); nms_GuiCreateFlatWorld_$callClinit(); var$10 = nms_GuiCreateFlatWorld_theRenderItem; var$8 = $this.$createFlatWorldGui; var$9 = var$8.$fontRenderer; var$8 = var$8.$mc.$renderEngine; var$6 = $par1 + 2 | 0; $par1 = $par2 + 2 | 0; $ptr = 2; case 2: nms_RenderItem_renderItemIntoGUI(var$10, var$9, var$8, $par3ItemStack, var$6, $par1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_glDisable(32826); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3ItemStack, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_GuiCreateFlatWorldListSlot_func_82450_b = ($this, $par1, $par2, $par3, $par4) => { let $var9, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var9 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_Gui_$callClinit(); $var9 = nms_Gui_statIcons; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var9); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; var$6 = $par1 + 0 | 0; var$7 = $par2 + 18 | 0; var$8 = $this.$createFlatWorldGui.$zLevel; var$9 = ($par3 + 0 | 0) * 0.0078125; var$10 = ($par4 + 18 | 0) * 0.0078125; $var9.$hasTexture = 1; var$11 = var$9; $var9.$textureU = var$11; var$12 = var$10; $var9.$textureV = var$12; nlea_Tessellator_addVertex($var9, var$6, var$7, var$8); var$9 = $par1 + 18 | 0; var$10 = $this.$createFlatWorldGui.$zLevel; var$8 = ($par3 + 18 | 0) * 0.0078125; $var9.$hasTexture = 1; var$13 = var$8; $var9.$textureU = var$13; $var9.$textureV = var$12; nlea_Tessellator_addVertex($var9, var$9, var$7, var$10); var$8 = $par2 + 0 | 0; var$7 = $this.$createFlatWorldGui.$zLevel; var$10 = ($par4 + 0 | 0) * 0.0078125; $var9.$hasTexture = 1; $var9.$textureU = var$13; var$13 = var$10; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, var$9, var$8, var$7); var$7 = $this.$createFlatWorldGui.$zLevel; $var9.$hasTexture = 1; $var9.$textureU = var$11; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, var$6, var$8, var$7); nlea_Tessellator_draw($var9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $var9, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_GuiCreateFlatWorldListSlot_getSize = $this => { let var$1; var$1 = $this.$createFlatWorldGui; nms_GuiCreateFlatWorld_$callClinit(); return var$1.$theFlatGeneratorInfo.$flatLayers.$size0; }, nms_GuiCreateFlatWorldListSlot_elementClicked = ($this, $par1, $par2) => { let var$3, var$4; $this.$field_82454_a = $par1; var$3 = $this.$createFlatWorldGui; $par2 = var$3.$createFlatWorldListSlotGui.$field_82454_a; $par1 = $par2 > (-1) && $par2 < var$3.$theFlatGeneratorInfo.$flatLayers.$size0 ? 1 : 0; var$3.$buttonRemoveLayer.$enabled = $par1; var$4 = var$3.$buttonEditLayer; var$4.$enabled = $par1; var$4.$enabled = 0; var$3.$buttonAddLayer.$enabled = 0; }, nms_GuiCreateFlatWorldListSlot_isSelected = ($this, $par1) => { return $par1 != $this.$field_82454_a ? 0 : 1; }, nms_GuiCreateFlatWorldListSlot_drawBackground = $this => { return; }, nms_GuiCreateFlatWorldListSlot_drawSlot = ($this, $par1, $par2, $par3, $par4, $par5Tessellator) => { let var$6, $var6, $var7, $var8, var$10, var$11, var$12, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$6 = $thread.pop();$par5Tessellator = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par5Tessellator = $this.$createFlatWorldGui; nms_GuiCreateFlatWorld_$callClinit(); $par5Tessellator = $par5Tessellator.$theFlatGeneratorInfo.$flatLayers; $par4 = $par5Tessellator.$size0; var$6 = ($par4 - $par1 | 0) - 1 | 0; if (var$6 >= 0 && var$6 < $par4) { $var6 = $par5Tessellator.$array.data[var$6]; var$6 = $var6.$layerFillBlock; if (!var$6) $var7 = null; else { $var7 = new nms_ItemStack; $par4 = $var6.$layerFillBlockMeta; nms_ItemStack_$callClinit(); $var7.$itemID = var$6; $var7.$stackSize = 1; $var7.$itemDamage = $par4; if ($par4 < 0) $var7.$itemDamage = 0; } if ($var7 === null) $var8 = $rt_s(1249); else { nms_Item_$callClinit(); $var8 = nms_Item_itemsList.data[var$6].$getUnlocalizedName($var7); $par5Tessellator = new jl_StringBuilder; $par5Tessellator.$buffer = $rt_createCharArray(16); $par4 = $par5Tessellator.$length0; if ($var8 === null) $var8 = $rt_s(1); jl_AbstractStringBuilder_insert($par5Tessellator, $par4, $var8); jl_AbstractStringBuilder_insert($par5Tessellator, $par5Tessellator.$length0, $rt_s(1258)); $var8 = new jl_String; var$10 = $par5Tessellator.$buffer; var$11 = var$10.data; var$6 = $par5Tessellator.$length0; var$12 = var$11.length; if (var$6 >= 0 && var$6 <= (var$12 - 0 | 0)) { $var8.$nativeString = $rt_charArrayToString(var$10.data, 0, var$6); nms_StatCollector_$callClinit(); $var8 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $var8); } else { $par5Tessellator = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par5Tessellator); $rt_throw($par5Tessellator); } } $ptr = 1; continue main; } $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; $rt_throw($par5Tessellator); case 1: nms_GuiCreateFlatWorldListSlot_func_82452_a($this, $par2, $par3, $var7); if ($rt_suspending()) { break main; } $par5Tessellator = $this.$createFlatWorldGui.$fontRenderer; $par4 = ($par2 + 18 | 0) + 5 | 0; $par3 = $par3 + 3 | 0; var$6 = 16777215; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; var$12 = 0; $ptr = 2; case 2: nms_FontRenderer_renderString($par5Tessellator, $var8, $par4, $par3, var$6, var$12); if ($rt_suspending()) { break main; } if (!$par1) { var$10 = $rt_createArray(jl_Object, 1); $par4 = $var6.$layerCount; if ($par4 >= (-128) && $par4 <= 127) { jl_Integer_ensureIntegerCache(); $var6 = jl_Integer_integerCache.data[$par4 + 128 | 0]; } else { $var6 = new jl_Integer; $var6.$value0 = $par4; } var$10.data[0] = $var6; nms_StatCollector_$callClinit(); $var9 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3877), var$10); } else if ($par1 != ($this.$createFlatWorldGui.$theFlatGeneratorInfo.$flatLayers.$size0 - 1 | 0)) { var$10 = $rt_createArray(jl_Object, 1); var$6 = $var6.$layerCount; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); $var6 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { $var6 = new jl_Integer; $var6.$value0 = var$6; } var$10.data[0] = $var6; nms_StatCollector_$callClinit(); $var9 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3878), var$10); } else { var$10 = $rt_createArray(jl_Object, 1); var$6 = $var6.$layerCount; if (var$6 >= (-128) && var$6 <= 127) { jl_Integer_ensureIntegerCache(); $var6 = jl_Integer_integerCache.data[var$6 + 128 | 0]; } else { $var6 = new jl_Integer; $var6.$value0 = var$6; } var$10.data[0] = $var6; nms_StatCollector_$callClinit(); $var9 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3879), var$10); } $par5Tessellator = $this.$createFlatWorldGui.$fontRenderer; $par1 = (($par2 + 2 | 0) + 213 | 0) - nms_FontRenderer_getStringWidth($par5Tessellator, $var9) | 0; $par2 = 16777215; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $par4 = 0; $ptr = 3; case 3: nms_FontRenderer_renderString($par5Tessellator, $var9, $par1, $par3, $par2, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5Tessellator, var$6, $var6, $var7, $var8, var$10, var$11, var$12, $var9, $ptr); }, nms_GuiCreateFlatWorldListSlot_getScrollBarX = $this => { return $this.$createFlatWorldGui.$width - 70 | 0; }; function nms_GuiSlider2() { let a = this; nms_GuiButton.call(a); a.$sliderValue0 = 0.0; a.$sliderMax = 0.0; a.$dragging1 = 0; } let nms_GuiSlider2__init_ = ($this, $par1, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, var$9, var$10, var$11, var$12, var$13, var$14; var$8 = $par6 * $par7 * 100.0 | 0; var$9 = new jl_StringBuilder; var$9.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$9, var$9.$length0, var$8, 10); var$10 = var$9.$length0; jl_AbstractStringBuilder_insertSpace(var$9, var$10, var$10 + 1 | 0); var$11 = var$9.$buffer; var$12 = var$11.data; var$12[var$10] = 37; var$13 = new jl_String; var$14 = var$9.$length0; var$8 = var$12.length; if (var$14 >= 0 && var$14 <= (var$8 - 0 | 0)) { var$13.$nativeString = $rt_charArrayToString(var$11.data, 0, var$14); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); $this.$width0 = 200; $this.$height0 = 20; $this.$enabled = 1; $this.$drawButton0 = 1; $this.$id0 = $par1; $this.$xPosition = $par2; $this.$yPosition = $par3; $this.$width0 = $par4; $this.$height0 = $par5; $this.$displayString = var$13; $this.$sliderValue0 = 1.0; $this.$sliderMax = 1.0; $this.$dragging1 = 0; $this.$sliderValue0 = $par6; $this.$sliderMax = $par7; return; } var$13 = new jl_IndexOutOfBoundsException; var$13.$suppressionEnabled = 1; var$13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$13); $rt_throw(var$13); }, nms_GuiSlider2__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6) => { let var_7 = new nms_GuiSlider2(); nms_GuiSlider2__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; }, nms_GuiSlider2_getHoverState = ($this, $par1) => { return 0; }, nms_GuiSlider2_mouseDragged = ($this, $par1Minecraft, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8; if ($this.$drawButton0) { if ($this.$dragging1) { var$4 = ($par2 - ($this.$xPosition + 4 | 0) | 0) / ($this.$width0 - 8 | 0); $this.$sliderValue0 = var$4; if (var$4 < 0.0) $this.$sliderValue0 = 0.0; if ($this.$sliderValue0 > 1.0) $this.$sliderValue0 = 1.0; $par2 = $this.$sliderValue0 * $this.$sliderMax * 100.0 | 0; $par1Minecraft = new jl_StringBuilder; $par1Minecraft.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($par1Minecraft, $par1Minecraft.$length0, $par2, 10); $par3 = $par1Minecraft.$length0; jl_AbstractStringBuilder_insertSpace($par1Minecraft, $par3, $par3 + 1 | 0); var$5 = $par1Minecraft.$buffer; var$6 = var$5.data; var$6[$par3] = 37; var$7 = new jl_String; $par3 = $par1Minecraft.$length0; var$8 = var$6.length; if ($par3 >= 0 && $par3 <= (var$8 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$5.data, 0, $par3); $this.$displayString = var$7; } else { $par1Minecraft = new jl_IndexOutOfBoundsException; $par1Minecraft.$suppressionEnabled = 1; $par1Minecraft.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Minecraft); $rt_throw($par1Minecraft); } } if ($this.$enabled) { nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_Gui_drawTexturedModalRect($this, $this.$xPosition + ($this.$sliderValue0 * ($this.$width0 - 8 | 0) | 0) | 0, $this.$yPosition, 0, 66, 4, 20); nms_Gui_drawTexturedModalRect($this, ($this.$xPosition + ($this.$sliderValue0 * ($this.$width0 - 8 | 0) | 0) | 0) + 4 | 0, $this.$yPosition, 196, 66, 4, 20); } } }, nms_GuiSlider2_mousePressed = ($this, $par1Minecraft, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8; if (!nms_GuiButton_mousePressed($this, $par1Minecraft, $par2, $par3)) return 0; var$4 = ($par2 - ($this.$xPosition + 4 | 0) | 0) / ($this.$width0 - 8 | 0); $this.$sliderValue0 = var$4; if (var$4 < 0.0) $this.$sliderValue0 = 0.0; if ($this.$sliderValue0 > 1.0) $this.$sliderValue0 = 1.0; $par2 = $this.$sliderValue0 * $this.$sliderMax * 100.0 | 0; $par1Minecraft = new jl_StringBuilder; $par1Minecraft.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($par1Minecraft, $par1Minecraft.$length0, $par2, 10); $par3 = $par1Minecraft.$length0; jl_AbstractStringBuilder_insertSpace($par1Minecraft, $par3, $par3 + 1 | 0); var$5 = $par1Minecraft.$buffer; var$6 = var$5.data; var$6[$par3] = 37; var$7 = new jl_String; $par3 = $par1Minecraft.$length0; var$8 = var$6.length; if ($par3 >= 0 && $par3 <= (var$8 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$5.data, 0, $par3); $this.$displayString = var$7; $this.$dragging1 = 1; return 1; } $par1Minecraft = new jl_IndexOutOfBoundsException; $par1Minecraft.$suppressionEnabled = 1; $par1Minecraft.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Minecraft); $rt_throw($par1Minecraft); }; function nle_GuiScreenChangeRelayTimeout$1() { nms_GuiSlider2.call(this); this.$this$036 = null; } let nle_GuiScreenChangeRelayTimeout$1_mouseDragged = ($this, $par1Minecraft, $par2, $par3) => { let var$4, var$5, var$6, var$7; nms_GuiSlider2_mouseDragged($this, $par1Minecraft, $par2, $par3); $par2 = $this.$sliderValue0 * 14.0 + 1.0 | 0; $par1Minecraft = new jl_StringBuilder; $par1Minecraft.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($par1Minecraft, $par1Minecraft.$length0, $par2, 10); $par3 = $par1Minecraft.$length0; jl_AbstractStringBuilder_insertSpace($par1Minecraft, $par3, $par3 + 1 | 0); var$4 = $par1Minecraft.$buffer; var$5 = var$4.data; var$5[$par3] = 115; var$6 = new jl_String; $par3 = $par1Minecraft.$length0; var$7 = var$5.length; if ($par3 >= 0 && $par3 <= (var$7 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$4.data, 0, $par3); $this.$displayString = var$6; return; } $par1Minecraft = new jl_IndexOutOfBoundsException; $par1Minecraft.$suppressionEnabled = 1; $par1Minecraft.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Minecraft); $rt_throw($par1Minecraft); }; function nms_EntityDamageSource() { nms_DamageSource.call(this); this.$damageSourceEntity = null; } let nms_EntityDamageSource_getEntity = $this => { return $this.$damageSourceEntity; }; function nms_EntityDamageSourceIndirect() { nms_EntityDamageSource.call(this); this.$indirectEntity = null; } let nms_EntityDamageSourceIndirect_getSourceOfDamage = $this => { return $this.$damageSourceEntity; }, nms_EntityDamageSourceIndirect_getEntity = $this => { return $this.$indirectEntity; }; function nms_GuiFlatPresets() { let a = this; nms_GuiScreen.call(a); a.$createFlatWorldGui0 = null; a.$field_82300_d = null; a.$field_82308_m = null; a.$field_82306_n = null; a.$theFlatPresetsListSlot = null; a.$theButton = null; a.$theTextField = null; } let nms_GuiFlatPresets_presetIconRenderer = null, nms_GuiFlatPresets_presets = null, nms_GuiFlatPresets_$callClinit = () => { nms_GuiFlatPresets_$callClinit = $rt_eraseClinit(nms_GuiFlatPresets); nms_GuiFlatPresets__clinit_(); }, nms_GuiFlatPresets_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$buttonList; var$2 = var$1.$array; var$3 = 0; var$4 = var$1.$size0; var$5 = null; if (var$3 > var$4) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$3 < var$4) { var$6 = var$2.data; var$7 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; nms_StatCollector_$callClinit(); $this.$field_82300_d = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3880)); $this.$field_82308_m = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3881)); $this.$field_82306_n = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3882)); $this.$theTextField = nms_GuiTextField__init_($this.$fontRenderer, 50, 40, $this.$width - 100 | 0, 20); var$1 = new nms_GuiFlatPresetsListSlot; var$5 = $this.$mc; var$7 = $this.$width; var$8 = $this.$height; nms_GuiSlot__init_(var$1, var$5, var$7, var$8, 80, var$8 - 37 | 0, 24); var$1.$flatPresetsGui = $this; var$1.$field_82459_a = (-1); $this.$theFlatPresetsListSlot = var$1; var$1 = $this.$theTextField; var$1.$maxStringLength = 1230; if (var$1.$text.$nativeString.length > 1230) var$1.$text = jl_String_substring(var$1.$text, 0, 1230); var$1 = $this.$theTextField; var$5 = nms_FlatGeneratorInfo_toString($this.$createFlatWorldGui0.$theFlatGeneratorInfo); var$3 = var$5.$nativeString.length; var$4 = var$1.$maxStringLength; if (var$3 <= var$4) var$1.$text = var$5; else var$1.$text = jl_String_substring(var$5, 0, var$4); var$1.$cursorPosition = var$1.$text.$nativeString.length; var$4 = var$1.$text.$nativeString.length; if (var$1.$cursorPosition < 0) var$1.$cursorPosition = 0; if (var$1.$cursorPosition > var$4) var$1.$cursorPosition = var$4; nms_GuiTextField_setSelectionPos(var$1, var$1.$cursorPosition); var$5 = $this.$buttonList; var$9 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 155 | 0; var$8 = $this.$height - 28 | 0; var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3883)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 0; var$9.$xPosition = var$7; var$9.$yPosition = var$8; var$9.$width0 = 150; var$9.$height0 = 20; var$9.$displayString = var$1; $this.$theButton = var$9; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$2[var$4] = var$9; var$5.$modCount = var$5.$modCount + 1 | 0; var$1 = $this.$buttonList; var$5 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) + 5 | 0; var$7 = $this.$height - 28 | 0; var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1626)); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 1; var$5.$xPosition = var$4; var$5.$yPosition = var$7; var$5.$width0 = 150; var$5.$height0 = 20; var$5.$displayString = var$9; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$3 = nms_GuiFlatPresets_func_82293_j($this); $this.$theButton.$enabled = var$3; }, nms_GuiFlatPresets_onGuiClosed = $this => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; }, nms_GuiFlatPresets_mouseClicked = ($this, $par1, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_GuiTextField_mouseClicked($this.$theTextField, $par1, $par2, $par3); $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $ptr); }, nms_GuiFlatPresets_keyTyped = ($this, $par1, $par2) => { let var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$theTextField; $ptr = 1; case 1: $tmp = nms_GuiTextField_textboxKeyTyped(var$3, $par1, $par2); if ($rt_suspending()) { break main; } $par1 = $tmp; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, $ptr); }, nms_GuiFlatPresets_actionPerformed = ($this, $par1GuiButton) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1GuiButton.$id0 && nms_GuiFlatPresets_func_82293_j($this)) { $this.$createFlatWorldGui0.$theFlatGeneratorInfo = nms_FlatGeneratorInfo_createFlatGeneratorFromString($this.$theTextField.$text); $par1GuiButton = $this.$mc; var$2 = $this.$createFlatWorldGui0; $ptr = 2; continue main; } if ($par1GuiButton.$id0 != 1) return; $par1GuiButton = $this.$mc; var$2 = $this.$createFlatWorldGui0; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, var$2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $ptr); }, nms_GuiFlatPresets_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$theFlatPresetsListSlot; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$theFlatPresetsListSlot; $ptr = 2; case 2: nms_GuiSlot_drawScreen(var$5, $par1, $par2, $par3); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; var$6 = $this.$field_82300_d; var$7 = $this.$width / 2 | 0; var$8 = 8; var$9 = 16777215; var$4 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$7 = 9; var$11 = 1; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$10, var$7, var$9, var$11); if ($rt_suspending()) { break main; } var$7 = $tmp; var$10 = 0; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$4 = $tmp; var$5 = $this.$fontRenderer; var$6 = $this.$field_82308_m; var$4 = 50; var$10 = 30; var$7 = 10526880; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$8 = 51; var$9 = 31; var$11 = 1; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$8, var$9, var$7, var$11); if ($rt_suspending()) { break main; } var$9 = $tmp; var$8 = 0; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$10, var$7, var$8); if ($rt_suspending()) { break main; } var$4 = $tmp; var$5 = $this.$fontRenderer; var$6 = $this.$field_82306_n; var$4 = 50; var$10 = 70; var$7 = 10526880; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$8 = 51; var$9 = 71; var$11 = 1; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$8, var$9, var$7, var$11); if ($rt_suspending()) { break main; } var$9 = $tmp; var$8 = 0; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$4, var$10, var$7, var$8); if ($rt_suspending()) { break main; } var$4 = $tmp; var$5 = $this.$theTextField; $ptr = 9; case 9: nms_GuiTextField_drawTextBox(var$5); if ($rt_suspending()) { break main; } var$4 = 0; var$5 = $this.$buttonList; var$10 = $rt_compare(var$4, var$5.$size0); if (var$10 >= 0) return; if (var$4 >= 0 && var$10 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; $ptr = 10; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 10: var$5.$drawButton(var$6, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$5 = $this.$buttonList; var$10 = $rt_compare(var$4, var$5.$size0); if (var$10 >= 0) return; if (var$4 >= 0 && var$10 < 0) { var$5 = var$5.$array.data[var$4]; var$6 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_GuiFlatPresets_updateScreen = $this => { let var$1; var$1 = $this.$theTextField; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; }, nms_GuiFlatPresets_func_82293_j = $this => { let var$1, var$2; a: { b: { var$1 = $this.$theFlatPresetsListSlot.$field_82459_a; if (var$1 > (-1)) { nms_GuiFlatPresets_$callClinit(); if (var$1 < nms_GuiFlatPresets_presets.$size0) break b; } if ($this.$theTextField.$text.$nativeString.length <= 1) { var$2 = 0; break a; } } var$2 = 1; } return var$2; }, nms_GuiFlatPresets_addPreset = ($par0Str, $par1, $par2BiomeGenBase, $par3List, $par4ArrayOfFlatLayerInfo) => { let $var5, $var7, $var6, var$9, var$10, var$11, $var8$index, var$13, var$14, var$15, $var8$index_0; nms_GuiFlatPresets_$callClinit(); $par4ArrayOfFlatLayerInfo = $par4ArrayOfFlatLayerInfo.data; $var5 = new nms_FlatGeneratorInfo; $var7 = new ju_ArrayList; $var7.$array = $rt_createArray(jl_Object, 10); $var5.$flatLayers = $var7; $var7 = new ju_HashMap; $var6 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, $var6); var$10 = var$9.data; $var7.$elementData = var$9; $var7.$loadFactor = 0.75; $var7.$threshold = var$10.length * 0.75 | 0; $var5.$worldFeatures = $var7; $var6 = $par4ArrayOfFlatLayerInfo.length - 1 | 0; while ($var6 >= 0) { var$11 = $var5.$flatLayers; $var7 = $par4ArrayOfFlatLayerInfo[$var6]; ju_ArrayList_ensureCapacity(var$11, var$11.$size0 + 1 | 0); var$10 = var$11.$array.data; $var8$index = var$11.$size0; var$11.$size0 = $var8$index + 1 | 0; var$10[$var8$index] = $var7; var$11.$modCount = var$11.$modCount + 1 | 0; $var6 = $var6 + (-1) | 0; } $var5.$biomeToUse = $par2BiomeGenBase.$biomeID; $var6 = 0; $par2BiomeGenBase = $var5.$flatLayers; var$13 = 0; var$14 = $par2BiomeGenBase.$modCount; var$15 = $par2BiomeGenBase.$size(); while (true) { if (!(var$13 >= var$15 ? 0 : 1)) { a: { if ($par3List !== null) { $var8$index_0 = 0; var$14 = $par3List.$modCount; var$15 = $par3List.$size(); while (true) { if (!($var8$index_0 >= var$15 ? 0 : 1)) break a; if (var$14 < $par3List.$modCount) break; $var8$index = $var8$index_0 + 1 | 0; $var7 = $par3List.$get($var8$index_0); var$11 = $var5.$worldFeatures; $par2BiomeGenBase = new ju_HashMap; $var6 = ju_HashMap_calculateCapacity(16); $par2BiomeGenBase.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, $var6); $par4ArrayOfFlatLayerInfo = var$10.data; $par2BiomeGenBase.$elementData = var$10; $par2BiomeGenBase.$loadFactor = 0.75; $par2BiomeGenBase.$threshold = $par4ArrayOfFlatLayerInfo.length * 0.75 | 0; ju_HashMap_putImpl(var$11, $var7, $par2BiomeGenBase); $var8$index_0 = $var8$index; } $par0Str = new ju_ConcurrentModificationException; $par0Str.$suppressionEnabled = 1; $par0Str.$writableStackTrace = 1; $rt_throw($par0Str); } } $par2BiomeGenBase = nms_GuiFlatPresets_presets; $par3List = new nms_GuiFlatPresetsItem; $var7 = nms_FlatGeneratorInfo_toString($var5); $par3List.$iconId = $par1; $par3List.$presetName = $par0Str; $par3List.$presetData = $var7; ju_ArrayList_ensureCapacity($par2BiomeGenBase, $par2BiomeGenBase.$size0 + 1 | 0); $par4ArrayOfFlatLayerInfo = $par2BiomeGenBase.$array.data; $var6 = $par2BiomeGenBase.$size0; $par2BiomeGenBase.$size0 = $var6 + 1 | 0; $par4ArrayOfFlatLayerInfo[$var6] = $par3List; $par2BiomeGenBase.$modCount = $par2BiomeGenBase.$modCount + 1 | 0; return; } if (var$14 < $par2BiomeGenBase.$modCount) break; $var8$index = var$13 + 1 | 0; $var7 = $par2BiomeGenBase.$get(var$13); $var7.$layerMinimumY = $var6; $var6 = $var6 + $var7.$layerCount | 0; var$13 = $var8$index; } $par0Str = new ju_ConcurrentModificationException; $par0Str.$suppressionEnabled = 1; $par0Str.$writableStackTrace = 1; $rt_throw($par0Str); }, nms_GuiFlatPresets__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; var$1 = new nms_RenderItem; nms_RenderItem_$callClinit(); nms_Render_$callClinit(); var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$3 = nms_Minecraft_theMinecraft; var$2.$minecraftRB = var$3; var$1.$renderBlocks = var$2; var$1.$shadowOpaque = 1.0; var$2 = new nms_RenderBlocks; var$2.$useInventoryTint = 1; var$2.$minecraftRB = var$3; var$1.$itemRenderBlocks = var$2; var$2 = new nle_EaglercraftRandom; var$4 = Long_fromNumber(performance.now() * 1000000.0); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = var$4; var$1.$random0 = var$2; var$1.$renderWithColor = 1; var$1.$shadowSize = 0.15000000596046448; var$1.$shadowOpaque = 0.75; nms_GuiFlatPresets_presetIconRenderer = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_GuiFlatPresets_presets = var$1; nms_Block_$callClinit(); var$5 = nms_Block_grass.$blockID; nms_BiomeGenBase_$callClinit(); var$1 = nms_BiomeGenBase_plains; var$6 = $rt_createArray(jl_String, 1); var$6.data[0] = $rt_s(3873); var$7 = new ju_Arrays$ArrayAsList; var$7.$array2 = var$6; var$6 = $rt_createArray(nms_FlatLayerInfo, 3); var$8 = var$6.data; var$2 = new nms_FlatLayerInfo; var$2.$layerCount = 1; var$2.$layerCount = 1; var$2.$layerFillBlock = var$5; var$8[0] = var$2; var$2 = new nms_FlatLayerInfo; var$9 = nms_Block_dirt.$blockID; var$2.$layerCount = 1; var$2.$layerCount = 2; var$2.$layerFillBlock = var$9; var$8[1] = var$2; var$2 = new nms_FlatLayerInfo; var$9 = nms_Block_bedrock.$blockID; var$2.$layerCount = 1; var$2.$layerCount = 1; var$2.$layerFillBlock = var$9; var$8[2] = var$2; nms_GuiFlatPresets_addPreset($rt_s(3884), var$5, var$1, var$7, var$6); var$10 = nms_Block_stone.$blockID; var$2 = nms_BiomeGenBase_extremeHills; var$6 = $rt_wrapArray(jl_String, [$rt_s(3885), $rt_s(3886), $rt_s(3887), $rt_s(3888), $rt_s(3889)]); var$7 = new ju_Arrays$ArrayAsList; var$7.$array2 = var$6; var$6 = $rt_createArray(nms_FlatLayerInfo, 4); var$8 = var$6.data; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_grass.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 1; var$3.$layerFillBlock = var$9; var$8[0] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_dirt.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 5; var$3.$layerFillBlock = var$9; var$8[1] = var$3; var$3 = new nms_FlatLayerInfo; var$3.$layerCount = 1; var$3.$layerCount = 230; var$3.$layerFillBlock = var$10; var$8[2] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_bedrock.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 1; var$3.$layerFillBlock = var$9; var$8[3] = var$3; nms_GuiFlatPresets_addPreset($rt_s(3890), var$10, var$2, var$7, var$6); var$10 = nms_Block_waterMoving.$blockID; var$2 = nms_BiomeGenBase_plains; var$6 = $rt_wrapArray(jl_String, [$rt_s(3873), $rt_s(3885)]); var$7 = new ju_Arrays$ArrayAsList; var$7.$array2 = var$6; var$6 = $rt_createArray(nms_FlatLayerInfo, 5); var$8 = var$6.data; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_waterStill.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 90; var$3.$layerFillBlock = var$9; var$8[0] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_sand.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 5; var$3.$layerFillBlock = var$9; var$8[1] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_dirt.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 5; var$3.$layerFillBlock = var$9; var$8[2] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_stone.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 5; var$3.$layerFillBlock = var$9; var$8[3] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_bedrock.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 1; var$3.$layerFillBlock = var$9; var$8[4] = var$3; nms_GuiFlatPresets_addPreset($rt_s(3891), var$10, var$2, var$7, var$6); var$10 = nms_Block_tallGrass.$blockID; var$2 = nms_BiomeGenBase_plains; var$6 = $rt_wrapArray(jl_String, [$rt_s(3873), $rt_s(3885), $rt_s(3887), $rt_s(3888), $rt_s(3889), $rt_s(3886), $rt_s(3892), $rt_s(3893)]); var$7 = new ju_Arrays$ArrayAsList; var$7.$array2 = var$6; var$6 = $rt_createArray(nms_FlatLayerInfo, 4); var$8 = var$6.data; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_grass.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 1; var$3.$layerFillBlock = var$9; var$8[0] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_dirt.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 3; var$3.$layerFillBlock = var$9; var$8[1] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_stone.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 59; var$3.$layerFillBlock = var$9; var$8[2] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_bedrock.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 1; var$3.$layerFillBlock = var$9; var$8[3] = var$3; nms_GuiFlatPresets_addPreset($rt_s(3894), var$10, var$2, var$7, var$6); var$10 = nms_Block_snow.$blockID; var$2 = nms_BiomeGenBase_icePlains; var$6 = $rt_wrapArray(jl_String, [$rt_s(3873), $rt_s(3885)]); var$7 = new ju_Arrays$ArrayAsList; var$7.$array2 = var$6; var$6 = $rt_createArray(nms_FlatLayerInfo, 5); var$8 = var$6.data; var$3 = new nms_FlatLayerInfo; var$3.$layerCount = 1; var$3.$layerCount = 1; var$3.$layerFillBlock = var$10; var$8[0] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_grass.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 1; var$3.$layerFillBlock = var$9; var$8[1] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_dirt.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 3; var$3.$layerFillBlock = var$9; var$8[2] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_stone.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 59; var$3.$layerFillBlock = var$9; var$8[3] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_bedrock.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 1; var$3.$layerFillBlock = var$9; var$8[4] = var$3; nms_GuiFlatPresets_addPreset($rt_s(3895), var$10, var$2, var$7, var$6); nms_Item_$callClinit(); var$10 = nms_Item_feather.$itemID0; var$2 = nms_BiomeGenBase_plains; var$6 = $rt_wrapArray(jl_String, [$rt_s(3873), $rt_s(3885)]); var$7 = new ju_Arrays$ArrayAsList; var$7.$array2 = var$6; var$6 = $rt_createArray(nms_FlatLayerInfo, 3); var$8 = var$6.data; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_grass.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 1; var$3.$layerFillBlock = var$9; var$8[0] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_dirt.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 3; var$3.$layerFillBlock = var$9; var$8[1] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_cobblestone.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 2; var$3.$layerFillBlock = var$9; var$8[2] = var$3; nms_GuiFlatPresets_addPreset($rt_s(3896), var$10, var$2, var$7, var$6); var$10 = nms_Block_sand.$blockID; var$2 = nms_BiomeGenBase_desert; var$6 = $rt_wrapArray(jl_String, [$rt_s(3873), $rt_s(3885), $rt_s(3887), $rt_s(3888), $rt_s(3889), $rt_s(3886)]); var$7 = new ju_Arrays$ArrayAsList; var$7.$array2 = var$6; var$6 = $rt_createArray(nms_FlatLayerInfo, 4); var$8 = var$6.data; var$3 = new nms_FlatLayerInfo; var$3.$layerCount = 1; var$3.$layerCount = 8; var$3.$layerFillBlock = var$10; var$8[0] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_sandStone.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 52; var$3.$layerFillBlock = var$9; var$8[1] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_stone.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 3; var$3.$layerFillBlock = var$9; var$8[2] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_bedrock.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 1; var$3.$layerFillBlock = var$9; var$8[3] = var$3; nms_GuiFlatPresets_addPreset($rt_s(3262), var$10, var$2, var$7, var$6); var$10 = nms_Item_redstone.$itemID0; var$2 = nms_BiomeGenBase_desert; var$6 = $rt_createArray(nms_FlatLayerInfo, 3); var$8 = var$6.data; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_sandStone.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 52; var$3.$layerFillBlock = var$9; var$8[0] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_stone.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 3; var$3.$layerFillBlock = var$9; var$8[1] = var$3; var$3 = new nms_FlatLayerInfo; var$9 = nms_Block_bedrock.$blockID; var$3.$layerCount = 1; var$3.$layerCount = 1; var$3.$layerFillBlock = var$9; var$8[2] = var$3; nms_GuiFlatPresets_addPreset($rt_s(3897), var$10, var$2, null, var$6); }; function nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy() { jl_Object.call(this); this.$limit2 = null; } let nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_isOpen = $this => { return 0; }, nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_isClosed = $this => { return 1; }, nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_close = $this => { return; }, nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_isFailed = $this => { return 1; }, nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_getException = $this => { return null; }, nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_writePacket = ($this, $pkt) => { return; }, nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_readPacket = $this => { return null; }, nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_nextPacket = $this => { return null; }, nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_getURI = $this => { return $rt_s(3898); }; function nlea_EaglerAdapterImpl2$RelayServerSocketImpl() { let a = this; jl_Object.call(a); a.$sock2 = null; a.$uri2 = null; a.$open2 = 0; a.$closed = 0; a.$failed1 = 0; a.$hasRecievedAnyData1 = 0; a.$exceptions = null; a.$packets = null; } let nlea_EaglerAdapterImpl2$RelayServerSocketImpl__init_ = ($this, $uri, $timeout) => { let $t, var$4, $$je; $this.$exceptions = new ju_LinkedList; $this.$packets = new ju_LinkedList; $this.$uri2 = $uri; a: { try { $uri = new WebSocket($rt_ustr($uri)); $t = "arraybuffer"; $uri.binaryType = $t; $this.$open2 = 0; $this.$closed = 0; $this.$failed1 = 0; break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $t = $$je; } else { throw $$e; } } $uri = $this.$exceptions; $timeout = $uri.$size2; if ($timeout < 0) { $uri = new jl_IndexOutOfBoundsException; $uri.$suppressionEnabled = 1; $uri.$writableStackTrace = 1; $rt_throw($uri); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($uri, $timeout), $t); $this.$sock2 = null; $this.$open2 = 0; $this.$closed = 1; $this.$failed1 = 1; return; } $this.$sock2 = $uri; var$4 = new nlea_EaglerAdapterImpl2$RelayServerSocketImpl$1; var$4.$this$017 = $this; $uri.addEventListener("open", otji_JS_function(var$4, "handleEvent")); $uri = $this.$sock2; var$4 = new nlea_EaglerAdapterImpl2$RelayServerSocketImpl$2; var$4.$this$06 = $this; $uri.addEventListener("message", otji_JS_function(var$4, "handleEvent")); $uri = $this.$sock2; var$4 = new nlea_EaglerAdapterImpl2$RelayServerSocketImpl$3; var$4.$this$020 = $this; $uri.addEventListener("close", otji_JS_function(var$4, "handleEvent")); $uri = new nlea_EaglerAdapterImpl2$RelayServerSocketImpl$4; $uri.$this$023 = $this; setTimeout(otji_JS_function($uri, "onTimer"), $timeout); }, nlea_EaglerAdapterImpl2$RelayServerSocketImpl__init_0 = (var_0, var_1) => { let var_2 = new nlea_EaglerAdapterImpl2$RelayServerSocketImpl(); nlea_EaglerAdapterImpl2$RelayServerSocketImpl__init_(var_2, var_0, var_1); return var_2; }, nlea_EaglerAdapterImpl2$RelayServerSocketImpl_isOpen = $this => { return $this.$open2; }, nlea_EaglerAdapterImpl2$RelayServerSocketImpl_isClosed = $this => { return $this.$closed; }, nlea_EaglerAdapterImpl2$RelayServerSocketImpl_close = $this => { let var$1; if ($this.$open2) { var$1 = $this.$sock2; if (var$1 !== null) var$1.close(); } $this.$open2 = 0; $this.$closed = 1; }, nlea_EaglerAdapterImpl2$RelayServerSocketImpl_isFailed = $this => { return $this.$failed1; }, nlea_EaglerAdapterImpl2$RelayServerSocketImpl_getException = $this => { let var$1, var$2, var$3; var$1 = $this.$exceptions; if (var$1.$size2 <= 0) return null; var$1 = ju_LinkedList_listIterator(var$1, 0); if (var$1.$version < var$1.$this$02.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$2 = var$1.$nextEntry1; if (var$2 === null) { var$1 = new ju_NoSuchElementException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$3 = var$2.$item; var$1.$currentEntry = var$2; var$1.$prevEntry = var$2; var$1.$nextEntry1 = var$2.$next5; var$1.$index4 = var$1.$index4 + 1 | 0; ju_LinkedList$SequentialListIterator_remove(var$1); return var$3; }, nlea_EaglerAdapterImpl2$RelayServerSocketImpl_writePacket = ($this, $pkt) => { let $e, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $$je; a: { try { $this.$sock2.send((nlesrp_IPacket_writePacket($pkt)).data.buffer); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $pkt = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); $pkt.$out0 = var$3; var$3 = new jl_StringBuilder; jl_Object__init_(var$3); var$3.$buffer = $rt_createCharArray(16); $pkt.$sb = var$3; $pkt.$buffer0 = $rt_createCharArray(32); $pkt.$autoFlush = 0; $pkt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $pkt; } var$4 = $e.$getMessage(); $pkt = $e.constructor; if ($pkt === null) var$5 = null; else { var$5 = $pkt.classObject; if (var$5 === null) { var$5 = new jl_Class; var$5.$platformClass = $pkt; $pkt.classObject = var$5; } } if (var$5.$name1 === null) var$5.$name1 = $rt_str(var$5.$platformClass.$meta.name); var$5 = var$5.$name1; if (var$4 === null) $pkt = $rt_s(18); else { var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, var$4); $pkt = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; var$8 = var$3.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) $pkt.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); else { $pkt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($pkt); $rt_throw($pkt); } } var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$9 = var$3.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$9, var$5); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $pkt); var$5 = new jl_String; var$7 = var$3.$buffer; var$6 = var$7.data; var$10 = var$3.$length0; var$8 = var$6.length; if (var$10 >= 0 && var$10 <= (var$8 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $rt_s(3899)); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, var$5); var$3 = new jl_String; var$7 = $pkt.$buffer; var$6 = var$7.data; var$10 = $pkt.$length0; var$8 = var$6.length; if (var$10 >= 0 && var$10 <= (var$8 - 0 | 0)) { var$3.$nativeString = $rt_charArrayToString(var$7.data, 0, var$10); $rt_putStderr($rt_ustr(var$3)); $rt_putStderr("\n"); if (jl_System_errCache === null) { $pkt = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); jl_Object__init_($pkt); $pkt.$out0 = var$3; var$3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$3, 16); $pkt.$sb = var$3; $pkt.$buffer0 = $rt_createCharArray(32); $pkt.$autoFlush = 0; $pkt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $pkt; } jl_Throwable_printStackTrace($e, jl_System_errCache); $pkt = $this.$exceptions; var$9 = $pkt.$size2; if (var$9 < 0) { $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; $rt_throw($pkt); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($pkt, var$9), $e); $this.$failed1 = 1; $this.$open2 = 0; $this.$closed = 1; $this.$sock2.close(); break a; } $pkt = new jl_IndexOutOfBoundsException; $pkt.$suppressionEnabled = 1; $pkt.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($pkt); $rt_throw($pkt); } $pkt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($pkt); $rt_throw($pkt); } }, nlea_EaglerAdapterImpl2$RelayServerSocketImpl_readPacket = $this => { let var$1, var$2, var$3; var$1 = $this.$packets; if (var$1.$size2 <= 0) return null; var$1 = ju_LinkedList_listIterator(var$1, 0); if (var$1.$version < var$1.$this$02.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$2 = var$1.$nextEntry1; if (var$2 === null) { var$1 = new ju_NoSuchElementException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$3 = var$2.$item; var$1.$currentEntry = var$2; var$1.$prevEntry = var$2; var$1.$nextEntry1 = var$2.$next5; var$1.$index4 = var$1.$index4 + 1 | 0; ju_LinkedList$SequentialListIterator_remove(var$1); return var$3; }, nlea_EaglerAdapterImpl2$RelayServerSocketImpl_nextPacket = $this => { let var$1, var$2, var$3; var$1 = $this.$packets; if (var$1.$size2 <= 0) return null; var$1 = ju_LinkedList_listIterator(var$1, 0); if (var$1.$version < var$1.$this$02.$modCount) { var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$2 = var$1.$nextEntry1; if (var$2 === null) { var$1 = new ju_NoSuchElementException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } var$3 = var$2.$item; var$1.$currentEntry = var$2; var$1.$prevEntry = var$2; var$1.$nextEntry1 = var$2.$next5; var$1.$index4 = var$1.$index4 + 1 | 0; return var$3; }, nlea_EaglerAdapterImpl2$RelayServerSocketImpl_getURI = $this => { return $this.$uri2; }; function ju_Collections$9() { ju_AbstractList.call(this); this.$val$list = null; } let ju_Collections$9_get = ($this, $index) => { let var$2; var$2 = $this.$val$list; if ($index >= 0 && $index < var$2.$size0) return var$2.$array.data[$index]; var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, nms_EmptyChunk = $rt_classWithoutFields(nms_Chunk), nms_EmptyChunk_getHeightValue = ($this, $par1, $par2) => { return 0; }, nms_EmptyChunk_generateHeightMap = $this => { return; }, nms_EmptyChunk_generateSkylightMap = $this => { return; }, nms_EmptyChunk_getBlockID = ($this, $par1, $par2, $par3) => { return 0; }, nms_EmptyChunk_getBlockLightOpacity = ($this, $par1, $par2, $par3) => { return 255; }, nms_EmptyChunk_setBlockIDWithMetadata = ($this, $par1, $par2, $par3, $par4, $par5) => { return 1; }, nms_EmptyChunk_getBlockMetadata = ($this, $par1, $par2, $par3) => { return 0; }, nms_EmptyChunk_setBlockMetadata = ($this, $par1, $par2, $par3, $par4) => { return 0; }, nms_EmptyChunk_getSavedLightValue = ($this, $par1EnumSkyBlock, $par2, $par3, $par4) => { return 0; }, nms_EmptyChunk_setLightValue = ($this, $par1EnumSkyBlock, $par2, $par3, $par4, $par5) => { return; }, nms_EmptyChunk_getBlockLightValue = ($this, $par1, $par2, $par3, $par4) => { return 0; }, nms_EmptyChunk_addEntity = ($this, $par1Entity) => { return; }, nms_EmptyChunk_removeEntity = ($this, $par1Entity) => { return; }, nms_EmptyChunk_removeEntityAtIndex = ($this, $par1Entity, $par2) => { return; }, nms_EmptyChunk_canBlockSeeTheSky = ($this, $par1, $par2, $par3) => { return 0; }, nms_EmptyChunk_getChunkBlockTileEntity = ($this, $par1, $par2, $par3) => { return null; }, nms_EmptyChunk_setChunkBlockTileEntity = ($this, $par1, $par2, $par3, $par4TileEntity) => { return; }, nms_EmptyChunk_removeChunkBlockTileEntity = ($this, $par1, $par2, $par3) => { return; }, nms_EmptyChunk_onChunkUnload = $this => { return; }, nms_EmptyChunk_setChunkModified = $this => { return; }, nms_EmptyChunk_getEntitiesWithinAABBForEntity = ($this, $par1Entity, $par2AxisAlignedBB, $par3List, $par4IEntitySelector) => { return; }, nms_EmptyChunk_getEntitiesOfTypeWithinAAAB = ($this, $par1Class, $par2AxisAlignedBB, $par3List, $par4IEntitySelector) => { return; }, nms_EmptyChunk_getRandomWithSeed = ($this, $par1) => { let var$2, var$3, var$4, var$5; var$2 = new nle_EaglercraftRandom; var$3 = $this.$worldObj2.$worldInfo.$randomSeed; var$4 = $this.$xPosition3; var$5 = Long_add(Long_add(var$3, Long_fromInt($rt_imul($rt_imul(var$4, var$4), 4987142))), Long_fromInt($rt_imul(var$4, 5947611))); var$4 = $this.$zPosition2; $par1 = Long_xor(Long_add(Long_add(var$5, Long_mul(Long_fromInt($rt_imul(var$4, var$4)), Long_fromInt(4392871))), Long_fromInt($rt_imul(var$4, 389711))), $par1); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = $par1; return var$2; }, nms_EmptyChunk_isEmpty = $this => { return 1; }, nms_EmptyChunk_getAreLevelsEmpty = ($this, $par1, $par2) => { return 1; }; function nms_GenLayer() { let a = this; jl_Object.call(a); a.$worldGenSeed = Long_ZERO; a.$parent = null; a.$chunkSeed = Long_ZERO; a.$baseSeed = Long_ZERO; } let nms_GenLayer_initializeAllBiomeGenerators = ($par0, $par2WorldType) => { let $var3, $var9, $var10, $var11, $var12, $var15, $var4, var$10, $var13, $var7, var$13, $var14, $var16, $var17, $var18, $var19, $var20, $var8; $var3 = new nms_GenLayerIsland; nms_GenLayer__init_($var3, Long_fromInt(1)); $var9 = new nms_GenLayerFuzzyZoom; nms_GenLayer__init_($var9, Long_fromInt(2000)); $var9.$parent = $var3; $var10 = new nms_GenLayerAddIsland; nms_GenLayer__init_($var10, Long_fromInt(1)); $var10.$parent = $var9; $var11 = new nms_GenLayerZoom; nms_GenLayer__init_($var11, Long_fromInt(2001)); $var11.$parent = $var10; $var3 = new nms_GenLayerAddIsland; nms_GenLayer__init_($var3, Long_fromInt(2)); $var3.$parent = $var11; $var12 = new nms_GenLayerAddSnow; nms_GenLayer__init_($var12, Long_fromInt(2)); $var12.$parent = $var3; $var3 = new nms_GenLayerZoom; nms_GenLayer__init_($var3, Long_fromInt(2002)); $var3.$parent = $var12; $var9 = new nms_GenLayerAddIsland; nms_GenLayer__init_($var9, Long_fromInt(3)); $var9.$parent = $var3; $var3 = new nms_GenLayerZoom; nms_GenLayer__init_($var3, Long_fromInt(2003)); $var3.$parent = $var9; $var9 = new nms_GenLayerAddIsland; nms_GenLayer__init_($var9, Long_fromInt(4)); $var9.$parent = $var3; $var15 = new nms_GenLayerAddMushroomIsland; nms_GenLayer__init_($var15, Long_fromInt(5)); $var15.$parent = $var9; $var4 = 4; if ($par2WorldType === nms_WorldType_LARGE_BIOMES) $var4 = 6; var$10 = 0; $var3 = $var15; while (var$10 < 0) { $var9 = new nms_GenLayerZoom; nms_GenLayer__init_($var9, Long_add(Long_fromInt(1000), Long_fromInt(var$10))); $var9.$parent = $var3; var$10 = var$10 + 1 | 0; $var3 = $var9; } $var13 = new nms_GenLayerRiverInit; nms_GenLayer__init_($var13, Long_fromInt(100)); $var13.$parent = $var3; $var7 = $var4 + 2 | 0; var$13 = 0; while (var$13 < $var7) { $var3 = new nms_GenLayerZoom; nms_GenLayer__init_($var3, Long_add(Long_fromInt(1000), Long_fromInt(var$13))); $var3.$parent = $var13; var$13 = var$13 + 1 | 0; $var13 = $var3; } $var14 = new nms_GenLayerRiver; nms_GenLayer__init_($var14, Long_fromInt(1)); $var14.$parent = $var13; $var16 = new nms_GenLayerSmooth; nms_GenLayer__init_($var16, Long_fromInt(1000)); $var16.$parent = $var14; var$13 = 0; while (var$13 < 0) { $var3 = new nms_GenLayerZoom; nms_GenLayer__init_($var3, Long_add(Long_fromInt(1000), Long_fromInt(var$13))); $var3.$parent = $var15; var$13 = var$13 + 1 | 0; $var15 = $var3; } $var17 = nms_GenLayerBiome__init_(Long_fromInt(200), $var15, $par2WorldType); var$13 = 0; while (var$13 < 2) { $par2WorldType = new nms_GenLayerZoom; nms_GenLayer__init_($par2WorldType, Long_add(Long_fromInt(1000), Long_fromInt(var$13))); $par2WorldType.$parent = $var17; var$13 = var$13 + 1 | 0; $var17 = $par2WorldType; } $var18 = new nms_GenLayerHills; nms_GenLayer__init_($var18, Long_fromInt(1000)); $var18.$parent = $var17; $var7 = 0; while ($var7 < $var4) { $par2WorldType = new nms_GenLayerZoom; nms_GenLayer__init_($par2WorldType, Long_fromInt(1000 + $var7 | 0)); $par2WorldType.$parent = $var18; if ($var7) $var3 = $par2WorldType; else { $var3 = new nms_GenLayerAddIsland; nms_GenLayer__init_($var3, Long_fromInt(3)); $var3.$parent = $par2WorldType; } var$13 = $rt_compare($var7, 1); if (var$13) $par2WorldType = $var3; else { $par2WorldType = new nms_GenLayerShore; nms_GenLayer__init_($par2WorldType, Long_fromInt(1000)); $par2WorldType.$parent = $var3; } if (var$13) $var18 = $par2WorldType; else { $var18 = new nms_GenLayerSwampRivers; nms_GenLayer__init_($var18, Long_fromInt(1000)); $var18.$parent = $par2WorldType; } $var7 = $var7 + 1 | 0; } $var19 = new nms_GenLayerSmooth; nms_GenLayer__init_($var19, Long_fromInt(1000)); $var19.$parent = $var18; $var20 = new nms_GenLayerRiverMix; nms_GenLayer__init_($var20, Long_fromInt(100)); $var20.$biomePatternGeneratorChain = $var19; $var20.$riverPatternGeneratorChain = $var16; $var8 = new nms_GenLayerVoronoiZoom; nms_GenLayer__init_($var8, Long_fromInt(10)); $var8.$parent = $var20; nms_GenLayer_initWorldGenSeed($var20.$biomePatternGeneratorChain, $par0); nms_GenLayer_initWorldGenSeed($var20.$riverPatternGeneratorChain, $par0); nms_GenLayer_initWorldGenSeed($var20, $par0); nms_GenLayer_initWorldGenSeed($var8, $par0); return $rt_wrapArray(nms_GenLayer, [$var20, $var8, $var20]); }, nms_GenLayer__init_ = ($this, $par1) => { let var$2; $this.$baseSeed = $par1; var$2 = Long_mul($par1, Long_add(Long_mul($par1, Long_create(1284865837, 1481765933)), Long_create(4150755663, 335903614))); $this.$baseSeed = var$2; var$2 = Long_add(var$2, $par1); $this.$baseSeed = var$2; var$2 = Long_mul(var$2, Long_add(Long_mul(var$2, Long_create(1284865837, 1481765933)), Long_create(4150755663, 335903614))); $this.$baseSeed = var$2; var$2 = Long_add(var$2, $par1); $this.$baseSeed = var$2; var$2 = Long_mul(var$2, Long_add(Long_mul(var$2, Long_create(1284865837, 1481765933)), Long_create(4150755663, 335903614))); $this.$baseSeed = var$2; $this.$baseSeed = Long_add(var$2, $par1); }, nms_GenLayer_initWorldGenSeed = ($this, $par1) => { let var$2, var$3; $this.$worldGenSeed = $par1; var$2 = $this.$parent; if (var$2 !== null) var$2.$initWorldGenSeed($par1); var$3 = $this.$worldGenSeed; $par1 = Long_mul(var$3, Long_add(Long_mul(var$3, Long_create(1284865837, 1481765933)), Long_create(4150755663, 335903614))); $this.$worldGenSeed = $par1; var$3 = $this.$baseSeed; $par1 = Long_add($par1, var$3); $this.$worldGenSeed = $par1; $par1 = Long_mul($par1, Long_add(Long_mul($par1, Long_create(1284865837, 1481765933)), Long_create(4150755663, 335903614))); $this.$worldGenSeed = $par1; $par1 = Long_add($par1, var$3); $this.$worldGenSeed = $par1; $par1 = Long_mul($par1, Long_add(Long_mul($par1, Long_create(1284865837, 1481765933)), Long_create(4150755663, 335903614))); $this.$worldGenSeed = $par1; $this.$worldGenSeed = Long_add($par1, var$3); }, nms_GenLayer_initChunkSeed = ($this, $par1, $par3) => { let var$3, var$4; var$3 = $this.$worldGenSeed; $this.$chunkSeed = var$3; var$4 = Long_mul(var$3, Long_add(Long_mul(var$3, Long_create(1284865837, 1481765933)), Long_create(4150755663, 335903614))); $this.$chunkSeed = var$4; var$3 = Long_add(var$4, $par1); $this.$chunkSeed = var$3; var$4 = Long_mul(var$3, Long_add(Long_mul(var$3, Long_create(1284865837, 1481765933)), Long_create(4150755663, 335903614))); $this.$chunkSeed = var$4; var$4 = Long_add(var$4, $par3); $this.$chunkSeed = var$4; var$4 = Long_mul(var$4, Long_add(Long_mul(var$4, Long_create(1284865837, 1481765933)), Long_create(4150755663, 335903614))); $this.$chunkSeed = var$4; $par1 = Long_add(var$4, $par1); $this.$chunkSeed = $par1; $par1 = Long_mul($par1, Long_add(Long_mul($par1, Long_create(1284865837, 1481765933)), Long_create(4150755663, 335903614))); $this.$chunkSeed = $par1; $this.$chunkSeed = Long_add($par1, $par3); }, nms_GenLayer_nextInt = ($this, $par1) => { let var$2, $var2, var$4; var$2 = $this.$chunkSeed; $var2 = Long_lo(Long_rem(Long_shr(var$2, 24), Long_fromInt($par1))); if ($var2 < 0) $var2 = $var2 + $par1 | 0; var$4 = Long_mul(var$2, Long_add(Long_mul(var$2, Long_create(1284865837, 1481765933)), Long_create(4150755663, 335903614))); $this.$chunkSeed = var$4; $this.$chunkSeed = Long_add(var$4, $this.$worldGenSeed); return $var2; }; function nlea_EaglerAdapterImpl2$RelayServerSocketImpl$1() { jl_Object.call(this); this.$this$017 = null; } let nlea_EaglerAdapterImpl2$RelayServerSocketImpl$1_handleEvent$exported$0 = (var$0, var$1) => { var$0.$this$017.$open2 = 1; }; function nlea_EaglerAdapterImpl2$RelayServerSocketImpl$2() { jl_Object.call(this); this.$this$06 = null; } let nlea_EaglerAdapterImpl2$RelayServerSocketImpl$2_handleEvent = ($this, $evt) => { let $arr, $e, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$e = $thread.pop();$arr = $thread.pop();$evt = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($evt.data !== null && !(typeof $evt.data === "string" ? 1 : 0)) { $this.$this$06.$hasRecievedAnyData1 = 1; $arr = nleat_TeaVMUtils_wrapByteArrayBuffer($evt.data); try { $e = $this.$this$06.$packets; var$4 = ji_DataInputStream__init_(nle_EaglerInputStream__init_($arr)); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } $evt = $this.$this$06.$exceptions; var$5 = $evt.$size2; if (var$5 < 0) { $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; $rt_throw($evt); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($evt, var$5), $e); if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); $evt.$out0 = var$4; var$4 = new jl_StringBuilder; jl_Object__init_(var$4); var$4.$buffer = $rt_createCharArray(16); $evt.$sb = var$4; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } var$6 = $e.$getMessage(); $evt = $e.constructor; if ($evt === null) var$7 = null; else { var$7 = $evt.classObject; if (var$7 === null) { var$7 = new jl_Class; var$7.$platformClass = $evt; $evt.classObject = var$7; } } if (var$7.$name1 === null) var$7.$name1 = $rt_str(var$7.$platformClass.$meta.name); var$7 = var$7.$name1; if (var$6 === null) $evt = $rt_s(18); else { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$6); $evt = new jl_String; $arr = var$4.$buffer; var$8 = $arr.data; var$9 = var$4.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) $evt.$nativeString = $rt_charArrayToString($arr.data, 0, var$9); else { $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$5 = var$4.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$7); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $evt); var$7 = new jl_String; var$8 = var$4.$buffer; $arr = var$8.data; var$9 = var$4.$length0; var$10 = $arr.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$8.data, 0, var$9); $evt = new jl_StringBuilder; $evt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($evt, $evt.$length0, $rt_s(3900)); jl_AbstractStringBuilder_insert($evt, $evt.$length0, var$7); var$4 = new jl_String; $arr = $evt.$buffer; var$8 = $arr.data; var$9 = $evt.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString($arr.data, 0, var$9); $rt_putStderr($rt_ustr(var$4)); $rt_putStderr("\n"); if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); jl_Object__init_($evt); $evt.$out0 = var$4; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4, 16); $evt.$sb = var$4; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } jl_Throwable_printStackTrace($e, jl_System_errCache); $evt = $this.$this$06; $evt.$open2 = 0; $evt.$failed1 = 1; $evt.$closed = 1; $evt.$sock2.close(); break a; } $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($evt); $rt_throw($evt); } $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } return; case 1: a: { try { $tmp = nlesrp_IPacket_readPacket(var$4); if ($rt_suspending()) { break main; } $evt = $tmp; ju_AbstractList_add($e, $evt); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } $evt = $this.$this$06.$exceptions; var$5 = $evt.$size2; if (var$5 < 0) { $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; $rt_throw($evt); } ju_LinkedList$SequentialListIterator_add(ju_LinkedList_listIterator($evt, var$5), $e); if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); $evt.$out0 = var$4; var$4 = new jl_StringBuilder; jl_Object__init_(var$4); var$4.$buffer = $rt_createCharArray(16); $evt.$sb = var$4; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } var$6 = $e.$getMessage(); $evt = $e.constructor; if ($evt === null) var$7 = null; else { var$7 = $evt.classObject; if (var$7 === null) { var$7 = new jl_Class; var$7.$platformClass = $evt; $evt.classObject = var$7; } } if (var$7.$name1 === null) var$7.$name1 = $rt_str(var$7.$platformClass.$meta.name); var$7 = var$7.$name1; if (var$6 === null) $evt = $rt_s(18); else { var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$6); $evt = new jl_String; $arr = var$4.$buffer; var$8 = $arr.data; var$9 = var$4.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) $evt.$nativeString = $rt_charArrayToString($arr.data, 0, var$9); else { $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); var$5 = var$4.$length0; if (var$7 === null) var$7 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, var$5, var$7); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $evt); var$7 = new jl_String; var$8 = var$4.$buffer; $arr = var$8.data; var$9 = var$4.$length0; var$10 = $arr.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$8.data, 0, var$9); $evt = new jl_StringBuilder; $evt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($evt, $evt.$length0, $rt_s(3900)); jl_AbstractStringBuilder_insert($evt, $evt.$length0, var$7); var$4 = new jl_String; $arr = $evt.$buffer; var$8 = $arr.data; var$9 = $evt.$length0; var$10 = var$8.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { var$4.$nativeString = $rt_charArrayToString($arr.data, 0, var$9); $rt_putStderr($rt_ustr(var$4)); $rt_putStderr("\n"); if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; var$4 = new ji_ByteArrayOutputStream; var$4.$buf = $rt_createByteArray(32); jl_Object__init_($evt); $evt.$out0 = var$4; var$4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_(var$4, 16); $evt.$sb = var$4; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } jl_Throwable_printStackTrace($e, jl_System_errCache); $evt = $this.$this$06; $evt.$open2 = 0; $evt.$failed1 = 1; $evt.$closed = 1; $evt.$sock2.close(); break a; } $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($evt); $rt_throw($evt); } $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $evt, $arr, $e, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nlea_EaglerAdapterImpl2$RelayServerSocketImpl$2_handleEvent$exported$0 = (var$0, var$1) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nlea_EaglerAdapterImpl2$RelayServerSocketImpl$2_handleEvent(var$0, var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, $ptr); }; function nlea_EaglerAdapterImpl2$RelayServerSocketImpl$3() { jl_Object.call(this); this.$this$020 = null; } let nlea_EaglerAdapterImpl2$RelayServerSocketImpl$3_handleEvent$exported$0 = (var$0, var$1) => { var$1 = var$0.$this$020; if (!var$1.$hasRecievedAnyData1) var$1.$failed1 = 1; var$1.$open2 = 0; var$1.$closed = 1; }; function nlea_EaglerAdapterImpl2$RelayServerSocketImpl$4() { jl_Object.call(this); this.$this$023 = null; } let nlea_EaglerAdapterImpl2$RelayServerSocketImpl$4_onTimer$exported$0 = var$0 => { let var$1; var$1 = var$0.$this$023; if (!var$1.$open2 && !var$1.$closed) { var$1.$closed = 1; var$1.$sock2.close(); } }, nms_GenLayerIsland = $rt_classWithoutFields(nms_GenLayer), nms_GenLayerIsland_getInts = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, var$8, var$9; $var5 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var6 = 0; while ($var6 < $par4) { $var7 = 0; while ($var7 < $par3) { nms_GenLayer_initChunkSeed($this, Long_fromInt($par1 + $var7 | 0), Long_fromInt($par2 + $var6 | 0)); var$8 = $var7 + $rt_imul($var6, $par3) | 0; var$9 = nms_GenLayer_nextInt($this, 10) ? 0 : 1; $var5.data[var$8] = var$9; $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } if ($par1 > ( -$par3 | 0) && $par1 <= 0 && $par2 > ( -$par4 | 0) && $par2 <= 0) $var5.data[( -$par1 | 0) + $rt_imul( -$par2 | 0, $par3) | 0] = 1; return $var5; }, nms_GenLayerFuzzyZoom = $rt_classWithoutFields(nms_GenLayer), nms_GenLayerFuzzyZoom_getInts = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, $var13, var$14, $var20, $var14, var$17, $var15, $var12_0, var$20, $var16, $var17, var$23, $var18, $var19, $var13_0; $var5 = $par1 >> 1; $var6 = $par2 >> 1; $var7 = ($par3 >> 1) + 3 | 0; $var8 = ($par4 >> 1) + 3 | 0; $var9 = $this.$parent.$getInts($var5, $var6, $var7, $var8); $var10 = nms_IntCache_getIntCache($rt_imul($var7 * 2 | 0, $var8) * 2 | 0); $var11 = $var7 << 1; $var12 = 0; $var13 = $var8 - 1 | 0; var$14 = $var7 - 1 | 0; while ($var12 < $var13) { $var20 = $var9.data; $var14 = $rt_imul($var12 << 1, $var11); var$17 = $rt_imul($var12 + 0 | 0, $var7); $var15 = $var20[0 + var$17 | 0]; $var12_0 = $var12 + 1 | 0; var$20 = $rt_imul($var12_0, $var7); $var16 = $var20[0 + var$20 | 0]; $var17 = 0; while ($var17 < var$14) { var$23 = $var10.data; nms_GenLayer_initChunkSeed($this, Long_fromInt(($var17 + $var5 | 0) << 1), Long_fromInt(($var12 + $var6 | 0) << 1)); $var17 = $var17 + 1 | 0; $var18 = $var20[$var17 + var$17 | 0]; $var19 = $var20[$var17 + var$20 | 0]; var$23[$var14] = $var15; $var8 = $var14 + 1 | 0; var$23[$var14 + $var11 | 0] = nms_GenLayer_nextInt($this, 2) ? $var16 : $var15; var$23[$var8] = nms_GenLayer_nextInt($this, 2) ? $var18 : $var15; $var14 = $var8 + 1 | 0; $var8 = $var8 + $var11 | 0; $var13_0 = nms_GenLayer_nextInt($this, 4); if ($var13_0) $var15 = $var13_0 == 1 ? $var18 : $var13_0 != 2 ? $var19 : $var16; var$23[$var8] = $var15; $var15 = $var18; $var16 = $var19; } $var12 = $var12_0; } $var20 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var13 = 0; $var14 = $par2 & 1; $par2 = $par1 & 1; while ($var13 < $par4) { jl_System_fastArraycopy($var10, $rt_imul($var13 + $var14 | 0, $var11) + $par2 | 0, $var20, $rt_imul($var13, $par3), $par3); $var13 = $var13 + 1 | 0; } return $var20; }, nms_GenLayerAddIsland = $rt_classWithoutFields(nms_GenLayer), nms_GenLayerAddIsland_getInts = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, var$13, $var13, $var17, $var14, $var15, $var16, $var12_0; $var5 = $par1 - 1 | 0; $var6 = $par2 - 1 | 0; $var7 = $par3 + 2 | 0; $var8 = $par4 + 2 | 0; $var9 = $this.$parent.$getInts($var5, $var6, $var7, $var8); $var10 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var11 = 0; while ($var11 < $par4) { $var12 = 0; while ($var12 < $par3) { a: { b: { var$13 = $var9.data; $var6 = $var12 + 0 | 0; $var8 = $rt_imul($var11 + 0 | 0, $var7); $var13 = var$13[$var6 + $var8 | 0]; $var17 = $var12 + 2 | 0; $var14 = var$13[$var17 + $var8 | 0]; $var8 = $rt_imul($var11 + 2 | 0, $var7); $var15 = var$13[$var6 + $var8 | 0]; $var16 = var$13[$var17 + $var8 | 0]; $var12_0 = $var12 + 1 | 0; $var17 = var$13[$var12_0 + $rt_imul($var11 + 1 | 0, $var7) | 0]; nms_GenLayer_initChunkSeed($this, Long_fromInt($var12 + $par1 | 0), Long_fromInt($var11 + $par2 | 0)); if (!$var17) { if ($var13) break b; if ($var14) break b; if ($var15) break b; if ($var16) break b; } c: { if ($var17 > 0) { if (!$var13) break c; if (!$var14) break c; if (!$var15) break c; if (!$var16) break c; } $var10.data[$var12 + $rt_imul($var11, $par3) | 0] = $var17; break a; } if (nms_GenLayer_nextInt($this, 5)) { $var10.data[$var12 + $rt_imul($var11, $par3) | 0] = $var17; break a; } nms_BiomeGenBase_$callClinit(); if ($var17 != nms_BiomeGenBase_icePlains.$biomeID) { $var10.data[$var12 + $rt_imul($var11, $par3) | 0] = 0; break a; } $var10.data[$var12 + $rt_imul($var11, $par3) | 0] = nms_BiomeGenBase_frozenOcean.$biomeID; break a; } if (!$var13) { $var6 = 1; $var13 = 1; } else { $var6 = 2; if (nms_GenLayer_nextInt($this, 1)) $var13 = 1; } if (!$var14) { $var8 = $var6; $var14 = $var13; } else { $var8 = $var6 + 1 | 0; if (nms_GenLayer_nextInt($this, $var6)) $var14 = $var13; } if (!$var15) { $var6 = $var8; $var15 = $var14; } else { $var6 = $var8 + 1 | 0; if (nms_GenLayer_nextInt($this, $var8)) $var15 = $var14; } if (!$var16) $var16 = $var15; else if (nms_GenLayer_nextInt($this, $var6)) $var16 = $var15; if (!nms_GenLayer_nextInt($this, 3)) $var10.data[$var12 + $rt_imul($var11, $par3) | 0] = $var16; else { nms_BiomeGenBase_$callClinit(); if ($var16 != nms_BiomeGenBase_icePlains.$biomeID) $var10.data[$var12 + $rt_imul($var11, $par3) | 0] = 0; else $var10.data[$var12 + $rt_imul($var11, $par3) | 0] = nms_BiomeGenBase_frozenOcean.$biomeID; } } $var12 = $var12_0; } $var11 = $var11 + 1 | 0; } return $var10; }, nms_GenLayerZoom = $rt_classWithoutFields(nms_GenLayer), nms_GenLayerZoom_getInts = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, $var13, var$14, $var20, $var14, $var15, $var12_0, var$19, $var16, $var17, var$22, $var18, $var19, var$25, $var13_0; $var5 = $par1 >> 1; $var6 = $par2 >> 1; $var7 = ($par3 >> 1) + 3 | 0; $var8 = ($par4 >> 1) + 3 | 0; $var9 = $this.$parent.$getInts($var5, $var6, $var7, $var8); $var10 = nms_IntCache_getIntCache($rt_imul($var7 * 2 | 0, $var8) * 2 | 0); $var11 = $var7 << 1; $var12 = 0; $var13 = $var8 - 1 | 0; var$14 = $var7 - 1 | 0; while ($var12 < $var13) { $var20 = $var9.data; $var14 = $rt_imul($var12 << 1, $var11); $var8 = $rt_imul($var12 + 0 | 0, $var7); $var15 = $var20[0 + $var8 | 0]; $var12_0 = $var12 + 1 | 0; var$19 = $rt_imul($var12_0, $var7); $var16 = $var20[0 + var$19 | 0]; $var17 = 0; while ($var17 < var$14) { var$22 = $var10.data; nms_GenLayer_initChunkSeed($this, Long_fromInt(($var17 + $var5 | 0) << 1), Long_fromInt(($var12 + $var6 | 0) << 1)); $var17 = $var17 + 1 | 0; $var18 = $var20[$var17 + $var8 | 0]; $var19 = $var20[$var17 + var$19 | 0]; var$22[$var14] = $var15; var$25 = $var14 + 1 | 0; var$22[$var14 + $var11 | 0] = nms_GenLayer_nextInt($this, 2) ? $var16 : $var15; var$22[var$25] = nms_GenLayer_nextInt($this, 2) ? $var18 : $var15; $var14 = var$25 + 1 | 0; var$22[var$25 + $var11 | 0] = nms_GenLayerZoom_modeOrRandom($this, $var15, $var18, $var16, $var19); $var15 = $var18; $var16 = $var19; } $var12 = $var12_0; } $var20 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var13 = 0; $par2 = $par2 & 1; $var13_0 = $par1 & 1; while ($var13 < $par4) { jl_System_fastArraycopy($var10, $rt_imul($var13 + $par2 | 0, $var11) + $var13_0 | 0, $var20, $rt_imul($var13, $par3), $par3); $var13 = $var13 + 1 | 0; } return $var20; }, nms_GenLayerZoom_modeOrRandom = ($this, $par1, $par2, $par3, $par4) => { let var$5, var$6, var$7, var$8, $var5; var$5 = $rt_compare($par2, $par3); if (!var$5 && $par3 == $par4) return $par2; var$6 = $rt_compare($par1, $par2); if (!var$6 && $par1 == $par3) return $par1; if (!var$6 && $par1 == $par4) return $par1; var$7 = $rt_compare($par1, $par3); if (!var$7 && $par1 == $par4) return $par1; if (!var$6 && $par3 != $par4) return $par1; if (!var$7 && $par2 != $par4) return $par1; var$8 = $rt_compare($par1, $par4); if (!var$8 && var$5) return $par1; if ($par2 == $par1 && $par3 != $par4) return $par2; if (!var$5 && var$8) return $par2; $var5 = $rt_compare($par2, $par4); if (!$var5 && var$7) return $par2; if ($par3 == $par1 && $var5) return $par3; if ($par3 == $par2 && var$8) return $par3; if ($par3 == $par4 && var$6) return $par3; if ($par4 == $par1 && var$5) return $par3; if ($par4 == $par2 && var$7) return $par3; if ($par4 == $par3 && var$6) return $par3; $var5 = nms_GenLayer_nextInt($this, 4); if ($var5) $par1 = $var5 == 1 ? $par2 : $var5 != 2 ? $par4 : $par3; return $par1; }, nms_GenLayerAddSnow = $rt_classWithoutFields(nms_GenLayer), nms_GenLayerAddSnow_getInts = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, var$13, $var12_0, $var13; $var5 = $par1 - 1 | 0; $var6 = $par2 - 1 | 0; $var7 = $par3 + 2 | 0; $var8 = $par4 + 2 | 0; $var9 = $this.$parent.$getInts($var5, $var6, $var7, $var8); $var10 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var11 = 0; while ($var11 < $par4) { $var12 = 0; while ($var12 < $par3) { var$13 = $var9.data; $var12_0 = $var12 + 1 | 0; $var13 = var$13[$var12_0 + $rt_imul($var11 + 1 | 0, $var7) | 0]; nms_GenLayer_initChunkSeed($this, Long_fromInt($var12 + $par1 | 0), Long_fromInt($var11 + $par2 | 0)); if (!$var13) $var10.data[$var12 + $rt_imul($var11, $par3) | 0] = 0; else { if (nms_GenLayer_nextInt($this, 5)) $var6 = 1; else { nms_BiomeGenBase_$callClinit(); $var6 = nms_BiomeGenBase_icePlains.$biomeID; } $var10.data[$var12 + $rt_imul($var11, $par3) | 0] = $var6; } $var12 = $var12_0; } $var11 = $var11 + 1 | 0; } return $var10; }, nms_GenLayerAddMushroomIsland = $rt_classWithoutFields(nms_GenLayer), nms_GenLayerAddMushroomIsland_getInts = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, var$13, $var13, $var17, $var14, $var15, $var16, $var12_0; $var5 = $par1 - 1 | 0; $var6 = $par2 - 1 | 0; $var7 = $par3 + 2 | 0; $var8 = $par4 + 2 | 0; $var9 = $this.$parent.$getInts($var5, $var6, $var7, $var8); $var10 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var11 = 0; while ($var11 < $par4) { $var12 = 0; while ($var12 < $par3) { var$13 = $var9.data; $var6 = $var12 + 0 | 0; $var8 = $rt_imul($var11 + 0 | 0, $var7); $var13 = var$13[$var6 + $var8 | 0]; $var17 = $var12 + 2 | 0; $var14 = var$13[$var17 + $var8 | 0]; $var8 = $rt_imul($var11 + 2 | 0, $var7); $var15 = var$13[$var6 + $var8 | 0]; $var16 = var$13[$var17 + $var8 | 0]; $var12_0 = $var12 + 1 | 0; $var17 = var$13[$var12_0 + $rt_imul($var11 + 1 | 0, $var7) | 0]; nms_GenLayer_initChunkSeed($this, Long_fromInt($var12 + $par1 | 0), Long_fromInt($var11 + $par2 | 0)); if (!$var17 && !$var13 && !$var14 && !$var15 && !$var16 && !nms_GenLayer_nextInt($this, 100)) { var$13 = $var10.data; $var6 = $var12 + $rt_imul($var11, $par3) | 0; nms_BiomeGenBase_$callClinit(); var$13[$var6] = nms_BiomeGenBase_mushroomIsland.$biomeID; } else $var10.data[$var12 + $rt_imul($var11, $par3) | 0] = $var17; $var12 = $var12_0; } $var11 = $var11 + 1 | 0; } return $var10; }, nms_GenLayerRiverInit = $rt_classWithoutFields(nms_GenLayer), nms_GenLayerRiverInit_getInts = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, var$9, var$10, var$11; $var5 = $this.$parent.$getInts($par1, $par2, $par3, $par4); $var6 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var7 = 0; while ($var7 < $par4) { $var8 = 0; while ($var8 < $par3) { var$9 = $var5.data; nms_GenLayer_initChunkSeed($this, Long_fromInt($var8 + $par1 | 0), Long_fromInt($var7 + $par2 | 0)); var$10 = $var8 + $rt_imul($var7, $par3) | 0; var$11 = var$9[var$10] <= 0 ? 0 : nms_GenLayer_nextInt($this, 2) + 2 | 0; $var6.data[var$10] = var$11; $var8 = $var8 + 1 | 0; } $var7 = $var7 + 1 | 0; } return $var6; }, nms_GenLayerRiver = $rt_classWithoutFields(nms_GenLayer), nms_GenLayerRiver_getInts = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, var$13, $var13, $var14, $var12_0, $var15, $var16, $var17; $var5 = $par1 - 1 | 0; $var6 = $par2 - 1 | 0; $var7 = $par3 + 2 | 0; $var8 = $par4 + 2 | 0; $var9 = $this.$parent.$getInts($var5, $var6, $var7, $var8); $var10 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var11 = 0; while ($var11 < $par4) { $var12 = 0; while ($var12 < $par3) { a: { b: { var$13 = $var9.data; $par1 = $var12 + 0 | 0; $par2 = $rt_imul($var11 + 1 | 0, $var7); $var13 = var$13[$par1 + $par2 | 0]; $var14 = var$13[($var12 + 2 | 0) + $par2 | 0]; $var12_0 = $var12 + 1 | 0; $var15 = var$13[$var12_0 + $rt_imul($var11 + 0 | 0, $var7) | 0]; $var16 = var$13[$var12_0 + $rt_imul($var11 + 2 | 0, $var7) | 0]; $var17 = var$13[$var12_0 + $par2 | 0]; if (!$var17) break b; if (!$var13) break b; if (!$var14) break b; if (!$var15) break b; if (!$var16) break b; if ($var17 != $var13) break b; if ($var17 != $var15) break b; if ($var17 != $var14) break b; if ($var17 != $var16) break b; $var10.data[$var12 + $rt_imul($var11, $par3) | 0] = (-1); break a; } var$13 = $var10.data; $par1 = $var12 + $rt_imul($var11, $par3) | 0; nms_BiomeGenBase_$callClinit(); var$13[$par1] = nms_BiomeGenBase_river.$biomeID; } $var12 = $var12_0; } $var11 = $var11 + 1 | 0; } return $var10; }, nms_GenLayerSmooth = $rt_classWithoutFields(nms_GenLayer), nms_GenLayerSmooth_getInts = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, $var9, $var10, $var11, $var12, var$13, $var13, $var14, $var12_0, $var15, $var16, $var17; $var5 = $par1 - 1 | 0; $var6 = $par2 - 1 | 0; $var7 = $par3 + 2 | 0; $var8 = $par4 + 2 | 0; $var9 = $this.$parent.$getInts($var5, $var6, $var7, $var8); $var10 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var11 = 0; while ($var11 < $par4) { $var12 = 0; while ($var12 < $par3) { var$13 = $var9.data; $var6 = $var12 + 0 | 0; $var8 = $rt_imul($var11 + 1 | 0, $var7); $var13 = var$13[$var6 + $var8 | 0]; $var14 = var$13[($var12 + 2 | 0) + $var8 | 0]; $var12_0 = $var12 + 1 | 0; $var15 = var$13[$var12_0 + $rt_imul($var11 + 0 | 0, $var7) | 0]; $var16 = var$13[$var12_0 + $rt_imul($var11 + 2 | 0, $var7) | 0]; $var17 = var$13[$var12_0 + $var8 | 0]; $var6 = $rt_compare($var13, $var14); if (!$var6 && $var15 == $var16) { nms_GenLayer_initChunkSeed($this, Long_fromInt($var12 + $par1 | 0), Long_fromInt($var11 + $par2 | 0)); if (!nms_GenLayer_nextInt($this, 2)) $var15 = $var13; } else { if ($var6) $var13 = $var17; if ($var15 != $var16) $var15 = $var13; } $var10.data[$var12 + $rt_imul($var11, $par3) | 0] = $var15; $var12 = $var12_0; } $var11 = $var11 + 1 | 0; } return $var10; }; function nms_GenLayerBiome() { nms_GenLayer.call(this); this.$allowedBiomes = null; } let nms_GenLayerBiome__init_0 = ($this, $par1, $par3GenLayer, $par4WorldType) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; nms_GenLayer__init_($this, $par1); var$4 = $rt_createArray(nms_BiomeGenBase, 7); var$5 = var$4.data; nms_BiomeGenBase_$callClinit(); var$6 = nms_BiomeGenBase_desert; var$5[0] = var$6; var$7 = nms_BiomeGenBase_forest; var$5[1] = var$7; var$8 = nms_BiomeGenBase_extremeHills; var$5[2] = var$8; var$9 = nms_BiomeGenBase_swampland; var$5[3] = var$9; var$10 = nms_BiomeGenBase_plains; var$5[4] = var$10; var$11 = nms_BiomeGenBase_taiga; var$5[5] = var$11; var$5[6] = nms_BiomeGenBase_jungle; $this.$allowedBiomes = var$4; $this.$parent = $par3GenLayer; if ($par4WorldType === nms_WorldType_DEFAULT_1_1) $this.$allowedBiomes = $rt_wrapArray(nms_BiomeGenBase, [var$6, var$7, var$8, var$9, var$10, var$11]); }, nms_GenLayerBiome__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_GenLayerBiome(); nms_GenLayerBiome__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_GenLayerBiome_getInts = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, var$9, var$10, $var9, var$12, $var10; $var5 = $this.$parent.$getInts($par1, $par2, $par3, $par4); $var6 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var7 = 0; while ($var7 < $par4) { $var8 = 0; while ($var8 < $par3) { var$9 = $var5.data; nms_GenLayer_initChunkSeed($this, Long_fromInt($var8 + $par1 | 0), Long_fromInt($var7 + $par2 | 0)); var$10 = $var8 + $rt_imul($var7, $par3) | 0; $var9 = var$9[var$10]; if (!$var9) $var6.data[var$10] = 0; else { nms_BiomeGenBase_$callClinit(); if ($var9 == nms_BiomeGenBase_mushroomIsland.$biomeID) $var6.data[var$10] = $var9; else if ($var9 == 1) { var$12 = $var6.data; var$9 = $this.$allowedBiomes.data; var$12[var$10] = var$9[nms_GenLayer_nextInt($this, var$9.length)].$biomeID; } else { var$9 = $this.$allowedBiomes.data; $var10 = var$9[nms_GenLayer_nextInt($this, var$9.length)].$biomeID; if ($var10 == nms_BiomeGenBase_taiga.$biomeID) $var6.data[var$10] = $var10; else $var6.data[var$10] = nms_BiomeGenBase_icePlains.$biomeID; } } $var8 = $var8 + 1 | 0; } $var7 = $var7 + 1 | 0; } return $var6; }, nms_GenLayerHills = $rt_classWithoutFields(nms_GenLayer), nms_GenLayerHills_getInts = ($this, $par1, $par2, $par3, $par4) => { let var$5, $var8, $var8_0, var$8, $var5, $var6, $var7, var$12, var$13, $var14, $var9, var$16, $var11, $var12, $var13; var$5 = $this.$parent; $var8 = $par1 - 1 | 0; $var8_0 = $par2 - 1 | 0; var$8 = $par3 + 2 | 0; $var5 = var$5.$getInts($var8, $var8_0, var$8, $par4 + 2 | 0); $var6 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var7 = 0; while ($var7 < $par4) { $var8 = 0; while ($var8 < $par3) { var$12 = $var5.data; nms_GenLayer_initChunkSeed($this, Long_fromInt($var8 + $par1 | 0), Long_fromInt($var7 + $par2 | 0)); $var8_0 = $var8 + 1 | 0; var$13 = $var7 + 1 | 0; $var14 = $rt_imul(var$13, var$8); $var9 = var$12[$var8_0 + $var14 | 0]; if (nms_GenLayer_nextInt($this, 3)) $var6.data[$var8 + $rt_imul($var7, $par3) | 0] = $var9; else { nms_BiomeGenBase_$callClinit(); if ($var9 == nms_BiomeGenBase_desert.$biomeID) var$16 = nms_BiomeGenBase_desertHills.$biomeID; else { var$16 = nms_BiomeGenBase_forest.$biomeID; if ($var9 == var$16) var$16 = nms_BiomeGenBase_forestHills.$biomeID; else if ($var9 == nms_BiomeGenBase_taiga.$biomeID) var$16 = nms_BiomeGenBase_taigaHills.$biomeID; else if ($var9 != nms_BiomeGenBase_plains.$biomeID) var$16 = $var9 == nms_BiomeGenBase_icePlains.$biomeID ? nms_BiomeGenBase_iceMountains.$biomeID : $var9 != nms_BiomeGenBase_jungle.$biomeID ? $var9 : nms_BiomeGenBase_jungleHills.$biomeID; } if (var$16 == $var9) $var6.data[$var8 + $rt_imul($var7, $par3) | 0] = $var9; else { $var11 = var$12[$var8_0 + $rt_imul(var$13 - 1 | 0, var$8) | 0]; $var12 = var$12[($var8_0 + 1 | 0) + $var14 | 0]; $var13 = var$12[($var8_0 - 1 | 0) + $var14 | 0]; $var14 = var$12[$var8_0 + $rt_imul(var$13 + 1 | 0, var$8) | 0]; if ($var11 == $var9 && $var12 == $var9 && $var13 == $var9 && $var14 == $var9) $var6.data[$var8 + $rt_imul($var7, $par3) | 0] = var$16; else $var6.data[$var8 + $rt_imul($var7, $par3) | 0] = $var9; } } $var8 = $var8_0; } $var7 = $var7 + 1 | 0; } return $var6; }; function nms_GenLayerRiverMix() { let a = this; nms_GenLayer.call(a); a.$biomePatternGeneratorChain = null; a.$riverPatternGeneratorChain = null; } let nms_GenLayerRiverMix_initWorldGenSeed = ($this, $par1) => { nms_GenLayer_initWorldGenSeed($this.$biomePatternGeneratorChain, $par1); nms_GenLayer_initWorldGenSeed($this.$riverPatternGeneratorChain, $par1); nms_GenLayer_initWorldGenSeed($this, $par1); }, nms_GenLayerRiverMix_getInts = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, $var7, $var8, var$9, var$10; $var5 = nms_GenLayerSmooth_getInts($this.$biomePatternGeneratorChain, $par1, $par2, $par3, $par4); $var6 = nms_GenLayerSmooth_getInts($this.$riverPatternGeneratorChain, $par1, $par2, $par3, $par4); $par1 = $rt_imul($par3, $par4); $var7 = nms_IntCache_getIntCache($par1); $var8 = 0; while ($var8 < $par1) { var$9 = $var5.data; $par2 = var$9[$var8]; nms_BiomeGenBase_$callClinit(); if ($par2 == nms_BiomeGenBase_ocean.$biomeID) $var7.data[$var8] = var$9[$var8]; else { var$10 = $var6.data; if (var$10[$var8] < 0) $var7.data[$var8] = var$9[$var8]; else if (var$9[$var8] == nms_BiomeGenBase_icePlains.$biomeID) $var7.data[$var8] = nms_BiomeGenBase_frozenRiver.$biomeID; else if (var$9[$var8] != nms_BiomeGenBase_mushroomIsland.$biomeID && var$9[$var8] != nms_BiomeGenBase_mushroomIslandShore.$biomeID) $var7.data[$var8] = var$10[$var8]; else $var7.data[$var8] = nms_BiomeGenBase_mushroomIslandShore.$biomeID; } $var8 = $var8 + 1 | 0; } return $var7; }, nms_GenLayerVoronoiZoom = $rt_classWithoutFields(nms_GenLayer), nms_GenLayerVoronoiZoom_getInts = ($this, $par1, $par2, $par3, $par4) => { let var$5, var$6, $var7, $var8, $var9, $var10, $var11, $var12, $var14, $var15, var$15, $var50, $var16, $var15_0, $var13, $var17, $var18, $var18_0, var$23, $var37, var$25, $var21, $var23, var$28, $var25, $var27, $var29, $var31, $var33, $var35, $var38, $var39, $var40, $var41, var$39, $var44, var$41, $var46, $var42, $var48, var$45; var$5 = $par1 + (-2) | 0; var$6 = $par2 + (-2) | 0; $var7 = var$5 >> 2; $var8 = var$6 >> 2; $var9 = ($par3 >> 2) + 3 | 0; $var10 = ($par4 >> 2) + 3 | 0; $var11 = $this.$parent.$getInts($var7, $var8, $var9, $var10); $var12 = $var9 << 2; $var14 = nms_IntCache_getIntCache($rt_imul($var12, $var10 << 2)); $var15 = 0; $var10 = $var10 - 1 | 0; var$15 = $var9 - 1 | 0; while ($var15 < $var10) { $var50 = $var11.data; $par1 = $rt_imul($var15 + 0 | 0, $var9); $var16 = $var50[0 + $par1 | 0]; $var15_0 = $var15 + 1 | 0; $var13 = $rt_imul($var15_0, $var9); $var17 = $var50[0 + $var13 | 0]; $var18 = 0; while ($var18 < var$15) { $var18_0 = $var18 + $var7 | 0; var$23 = Long_fromInt($var18_0 << 2); $var37 = $var15 + $var8 | 0; var$25 = Long_fromInt($var37 << 2); nms_GenLayer_initChunkSeed($this, var$23, var$25); $var21 = (nms_GenLayer_nextInt($this, 1024) / 1024.0 - 0.5) * 3.6; $var23 = (nms_GenLayer_nextInt($this, 1024) / 1024.0 - 0.5) * 3.6; var$28 = Long_fromInt(($var18_0 + 1 | 0) << 2); nms_GenLayer_initChunkSeed($this, var$28, var$25); $var25 = (nms_GenLayer_nextInt($this, 1024) / 1024.0 - 0.5) * 3.6 + 4.0; $var27 = (nms_GenLayer_nextInt($this, 1024) / 1024.0 - 0.5) * 3.6; var$25 = Long_fromInt(($var37 + 1 | 0) << 2); nms_GenLayer_initChunkSeed($this, var$23, var$25); $var29 = (nms_GenLayer_nextInt($this, 1024) / 1024.0 - 0.5) * 3.6; $var31 = (nms_GenLayer_nextInt($this, 1024) / 1024.0 - 0.5) * 3.6 + 4.0; nms_GenLayer_initChunkSeed($this, var$28, var$25); $var33 = (nms_GenLayer_nextInt($this, 1024) / 1024.0 - 0.5) * 3.6 + 4.0; $var35 = (nms_GenLayer_nextInt($this, 1024) / 1024.0 - 0.5) * 3.6 + 4.0; $var18_0 = $var18 + 1 | 0; $var37 = $var50[$var18_0 + $par1 | 0]; $var38 = $var50[$var18_0 + $var13 | 0]; $var39 = 0; while ($var39 < 4) { $var40 = $rt_imul(($var15 << 2) + $var39 | 0, $var12) + ($var18 << 2) | 0; $var41 = 0; while ($var41 < 4) { var$39 = $var39; $var44 = var$39 - $var23; $var44 = $var44 * $var44; var$41 = $var41; $var46 = var$41 - $var21; $var42 = $var44 + $var46 * $var46; $var44 = var$39 - $var27; $var44 = $var44 * $var44; $var46 = var$41 - $var25; $var44 = $var44 + $var46 * $var46; $var46 = var$39 - $var31; $var46 = $var46 * $var46; $var48 = var$41 - $var29; $var46 = $var46 + $var48 * $var48; $var48 = var$39 - $var35; $var48 = $var48 * $var48; var$39 = var$41 - $var33; $var48 = $var48 + var$39 * var$39; if ($var42 < $var44 && $var42 < $var46 && $var42 < $var48) { var$45 = $var14.data; $par2 = $var40 + 1 | 0; var$45[$var40] = $var16; } else if ($var44 < $var42 && $var44 < $var46 && $var44 < $var48) { var$45 = $var14.data; $par2 = $var40 + 1 | 0; var$45[$var40] = $var37; } else if ($var46 < $var42 && $var46 < $var44 && $var46 < $var48) { var$45 = $var14.data; $par2 = $var40 + 1 | 0; var$45[$var40] = $var17; } else { var$45 = $var14.data; $par2 = $var40 + 1 | 0; var$45[$var40] = $var38; } $var41 = $var41 + 1 | 0; $var40 = $par2; } $var39 = $var39 + 1 | 0; } $var16 = $var37; $var17 = $var38; $var18 = $var18_0; } $var15 = $var15_0; } $var50 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var16 = 0; $par2 = var$6 & 3; $var10 = var$5 & 3; while ($var16 < $par4) { jl_System_fastArraycopy($var14, $rt_imul($var16 + $par2 | 0, $var12) + $var10 | 0, $var50, $rt_imul($var16, $par3), $par3); $var16 = $var16 + 1 | 0; } return $var50; }, nms_GenLayerShore = $rt_classWithoutFields(nms_GenLayer), nms_GenLayerShore_getInts = ($this, $par1, $par2, $par3, $par4) => { let var$5, $var8, $var8_0, var$8, $var5, $var6, $var7, var$12, var$13, $var13, $var9, $var10, $var11, $var12, $var10_0, $var11_0; var$5 = $this.$parent; $var8 = $par1 - 1 | 0; $var8_0 = $par2 - 1 | 0; var$8 = $par3 + 2 | 0; $var5 = var$5.$getInts($var8, $var8_0, var$8, $par4 + 2 | 0); $var6 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var7 = 0; while ($var7 < $par4) { $var8 = 0; while ($var8 < $par3) { var$12 = $var5.data; nms_GenLayer_initChunkSeed($this, Long_fromInt($var8 + $par1 | 0), Long_fromInt($var7 + $par2 | 0)); $var8_0 = $var8 + 1 | 0; var$13 = $var7 + 1 | 0; $var13 = $rt_imul(var$13, var$8); $var9 = var$12[$var8_0 + $var13 | 0]; nms_BiomeGenBase_$callClinit(); if ($var9 == nms_BiomeGenBase_mushroomIsland.$biomeID) { $var10 = var$12[$var8_0 + $rt_imul(var$13 - 1 | 0, var$8) | 0]; $var11 = var$12[($var8_0 + 1 | 0) + $var13 | 0]; $var12 = var$12[($var8_0 - 1 | 0) + $var13 | 0]; $var13 = var$12[$var8_0 + $rt_imul(var$13 + 1 | 0, var$8) | 0]; var$13 = nms_BiomeGenBase_ocean.$biomeID; if ($var10 != var$13 && $var11 != var$13 && $var12 != var$13 && $var13 != var$13) $var6.data[$var8 + $rt_imul($var7, $par3) | 0] = $var9; else $var6.data[$var8 + $rt_imul($var7, $par3) | 0] = nms_BiomeGenBase_mushroomIslandShore.$biomeID; } else { $var10_0 = nms_BiomeGenBase_ocean.$biomeID; if ($var9 != $var10_0 && $var9 != nms_BiomeGenBase_river.$biomeID && $var9 != nms_BiomeGenBase_swampland.$biomeID && $var9 != nms_BiomeGenBase_extremeHills.$biomeID) { $var10 = var$12[$var8_0 + $rt_imul(var$13 - 1 | 0, var$8) | 0]; $var11 = var$12[($var8_0 + 1 | 0) + $var13 | 0]; $var12 = var$12[($var8_0 - 1 | 0) + $var13 | 0]; $var13 = var$12[$var8_0 + $rt_imul(var$13 + 1 | 0, var$8) | 0]; if ($var10 != $var10_0 && $var11 != $var10_0 && $var12 != $var10_0 && $var13 != $var10_0) $var6.data[$var8 + $rt_imul($var7, $par3) | 0] = $var9; else $var6.data[$var8 + $rt_imul($var7, $par3) | 0] = nms_BiomeGenBase_beach.$biomeID; } else { $var11 = nms_BiomeGenBase_extremeHills.$biomeID; if ($var9 != $var11) $var6.data[$var8 + $rt_imul($var7, $par3) | 0] = $var9; else { $var10_0 = var$12[$var8_0 + $rt_imul(var$13 - 1 | 0, var$8) | 0]; $var11_0 = var$12[($var8_0 + 1 | 0) + $var13 | 0]; $var12 = var$12[($var8_0 - 1 | 0) + $var13 | 0]; $var13 = var$12[$var8_0 + $rt_imul(var$13 + 1 | 0, var$8) | 0]; if ($var10_0 == $var11 && $var11_0 == $var11 && $var12 == $var11 && $var13 == $var11) $var6.data[$var8 + $rt_imul($var7, $par3) | 0] = $var9; else $var6.data[$var8 + $rt_imul($var7, $par3) | 0] = nms_BiomeGenBase_extremeHillsEdge.$biomeID; } } } $var8 = $var8_0; } $var7 = $var7 + 1 | 0; } return $var6; }, nms_GenLayerSwampRivers = $rt_classWithoutFields(nms_GenLayer), nms_GenLayerSwampRivers_getInts = ($this, $par1, $par2, $par3, $par4) => { let var$5, $var8, $var9, var$8, $var5, $var6, $var7, $var8_0, var$13; var$5 = $this.$parent; $var8 = $par1 - 1 | 0; $var9 = $par2 - 1 | 0; var$8 = $par3 + 2 | 0; $var5 = var$5.$getInts($var8, $var9, var$8, $par4 + 2 | 0); $var6 = nms_IntCache_getIntCache($rt_imul($par3, $par4)); $var7 = 0; while ($var7 < $par4) { $var8_0 = 0; while ($var8_0 < $par3) { var$13 = $var5.data; nms_GenLayer_initChunkSeed($this, Long_fromInt($var8_0 + $par1 | 0), Long_fromInt($var7 + $par2 | 0)); $var8 = $var8_0 + 1 | 0; $var9 = var$13[$var8 + $rt_imul($var7 + 1 | 0, var$8) | 0]; nms_BiomeGenBase_$callClinit(); if (!($var9 == nms_BiomeGenBase_swampland.$biomeID && !nms_GenLayer_nextInt($this, 6)) && !(!($var9 != nms_BiomeGenBase_jungle.$biomeID && $var9 != nms_BiomeGenBase_jungleHills.$biomeID) && !nms_GenLayer_nextInt($this, 8))) $var6.data[$var8_0 + $rt_imul($var7, $par3) | 0] = $var9; else $var6.data[$var8_0 + $rt_imul($var7, $par3) | 0] = nms_BiomeGenBase_river.$biomeID; $var8_0 = $var8; } $var7 = $var7 + 1 | 0; } return $var6; }; function nms_ExtendedBlockStorage() { let a = this; jl_Object.call(a); a.$yBase = 0; a.$blockRefCount = 0; a.$tickRefCount = 0; a.$blockLSBArray = null; a.$blockMSBArray = null; a.$blockMetadataArray = null; a.$blocklightArray = null; a.$skylightArray = null; } let nms_ExtendedBlockStorage__init_0 = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6; $this.$yBase = $par1; var$3 = $rt_createByteArray(4096); var$4 = var$3.data; $this.$blockLSBArray = var$3; var$5 = new nms_NibbleArray; var$6 = var$4.length >> 1; var$5.$data8 = $rt_createByteArray(var$6); var$5.$depthBits = 4; var$5.$depthBitsPlusFour = 8; $this.$blockMetadataArray = var$5; var$5 = new nms_NibbleArray; var$5.$data8 = $rt_createByteArray(var$6); var$5.$depthBits = 4; var$5.$depthBitsPlusFour = 8; $this.$blocklightArray = var$5; if ($par2) { var$5 = new nms_NibbleArray; var$5.$data8 = $rt_createByteArray(var$6); var$5.$depthBits = 4; var$5.$depthBitsPlusFour = 8; $this.$skylightArray = var$5; } }, nms_ExtendedBlockStorage__init_ = (var_0, var_1) => { let var_2 = new nms_ExtendedBlockStorage(); nms_ExtendedBlockStorage__init_0(var_2, var_0, var_1); return var_2; }, nms_ExtendedBlockStorage_setExtBlockID = ($this, $par1, $par2, $par3, $par4) => { let var$5, var$6, $var5, var$8; var$5 = $this.$blockLSBArray.data; var$6 = $par2 << 8 | $par3 << 4 | $par1; $var5 = var$5[var$6] & 255; var$8 = $this.$blockMSBArray; if (var$8 !== null) $var5 = $var5 | nms_NibbleArray_get(var$8, $par1, $par2, $par3) << 8; if (!$var5 && $par4) { $this.$blockRefCount = $this.$blockRefCount + 1 | 0; nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data; if (var$5[$par4] !== null && var$5[$par4].$needsRandomTick) $this.$tickRefCount = $this.$tickRefCount + 1 | 0; } else if ($var5 && !$par4) { $this.$blockRefCount = $this.$blockRefCount - 1 | 0; nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data; if (var$5[$var5] !== null && var$5[$var5].$needsRandomTick) $this.$tickRefCount = $this.$tickRefCount - 1 | 0; } else { nms_Block_$callClinit(); var$5 = nms_Block_blocksList.data; if (var$5[$var5] !== null && var$5[$var5].$needsRandomTick && !(var$5[$par4] !== null && var$5[$par4].$needsRandomTick)) $this.$tickRefCount = $this.$tickRefCount - 1 | 0; else if (!(var$5[$var5] !== null && var$5[$var5].$needsRandomTick) && var$5[$par4] !== null && var$5[$par4].$needsRandomTick) $this.$tickRefCount = $this.$tickRefCount + 1 | 0; } var$5 = $this.$blockLSBArray.data; var$5[var$6] = ($par4 & 255) << 24 >> 24; if ($par4 <= 255) { var$8 = $this.$blockMSBArray; if (var$8 !== null) nms_NibbleArray_set(var$8, $par1, $par2, $par3, 0); } else { if ($this.$blockMSBArray === null) { var$8 = new nms_NibbleArray; var$8.$data8 = $rt_createByteArray(var$5.length >> 1); var$8.$depthBits = 4; var$8.$depthBitsPlusFour = 8; $this.$blockMSBArray = var$8; } nms_NibbleArray_set($this.$blockMSBArray, $par1, $par2, $par3, ($par4 & 3840) >> 8); } }, nms_ExtendedBlockStorage_removeInvalidBlocks = $this => { let $var1, $var2, $var3, var$4, var$5, $var4, var$7; $this.$blockRefCount = 0; $this.$tickRefCount = 0; $var1 = 0; while ($var1 < 16) { $var2 = 0; while ($var2 < 16) { $var3 = 0; while ($var3 < 16) { var$4 = $this.$blockLSBArray.data; var$5 = $var2 << 8 | $var3 << 4 | $var1; $var4 = var$4[var$5] & 255; var$7 = $this.$blockMSBArray; if (var$7 !== null) $var4 = nms_NibbleArray_get(var$7, $var1, $var2, $var3) << 8 | $var4; if ($var4 > 0) { nms_Block_$callClinit(); var$4 = nms_Block_blocksList.data; if (var$4[$var4] === null) { $this.$blockLSBArray.data[var$5] = 0; var$7 = $this.$blockMSBArray; if (var$7 !== null) nms_NibbleArray_set(var$7, $var1, $var2, $var3, 0); } else { $this.$blockRefCount = $this.$blockRefCount + 1 | 0; if (var$4[$var4].$needsRandomTick) $this.$tickRefCount = $this.$tickRefCount + 1 | 0; } } $var3 = $var3 + 1 | 0; } $var2 = $var2 + 1 | 0; } $var1 = $var1 + 1 | 0; } }; function nms_GuiFlatPresetsItem() { let a = this; jl_Object.call(a); a.$iconId = 0; a.$presetName = null; a.$presetData = null; } let juf_BiFunction = $rt_classWithoutFields(0), nms_EntityLivingData = $rt_classWithoutFields(0); function nms_PathEntity() { let a = this; jl_Object.call(a); a.$points = null; a.$currentPathIndex = 0; a.$pathLength = 0; } let nms_PathEntity_getVectorFromIndex = ($this, $par1Entity, $par2) => { let var$3, var$4, $var7, $var3, $var5; var$3 = $this.$points.data; var$4 = var$3[$par2].$xCoord1; $var7 = ($par1Entity.$width1 + 1.0 | 0) * 0.5; $var3 = var$4 + $var7; $var5 = var$3[$par2].$yCoord1; $var7 = var$3[$par2].$zCoord1 + $var7; return nms_Vec3Pool_getVecFromPool($par1Entity.$worldObj.$vecPool, $var3, $var5, $var7); }, nms_PathEntity_isSamePath = ($this, $par1PathEntity) => { let var$2, $var2, var$4, var$5; if ($par1PathEntity === null) return 0; var$2 = $par1PathEntity.$points.data; $var2 = var$2.length; var$4 = $this.$points.data; var$5 = var$4.length; if ($var2 != var$5) return 0; $var2 = 0; a: { while ($var2 < var$5) { if (var$4[$var2].$xCoord1 != var$2[$var2].$xCoord1) break a; if (var$4[$var2].$yCoord1 != var$2[$var2].$yCoord1) break a; if (var$4[$var2].$zCoord1 != var$2[$var2].$zCoord1) break a; $var2 = $var2 + 1 | 0; } return 1; } return 0; }, nms_AttributeInstance = $rt_classWithoutFields(0), nms_EnumCreatureAttribute = $rt_classWithoutFields(jl_Enum), nms_EnumCreatureAttribute_UNDEFINED = null, nms_EnumCreatureAttribute_UNDEAD = null, nms_EnumCreatureAttribute_ARTHROPOD = null, nms_EnumCreatureAttribute_$VALUES = null, nms_EnumCreatureAttribute__clinit_ = () => { let var$1, var$2, var$3; var$1 = new nms_EnumCreatureAttribute; var$1.$name0 = $rt_s(3901); var$1.$ordinal = 0; nms_EnumCreatureAttribute_UNDEFINED = var$1; var$2 = new nms_EnumCreatureAttribute; var$2.$name0 = $rt_s(3902); var$2.$ordinal = 1; nms_EnumCreatureAttribute_UNDEAD = var$2; var$3 = new nms_EnumCreatureAttribute; var$3.$name0 = $rt_s(3903); var$3.$ordinal = 2; nms_EnumCreatureAttribute_ARTHROPOD = var$3; nms_EnumCreatureAttribute_$VALUES = $rt_wrapArray(nms_EnumCreatureAttribute, [var$1, var$2, var$3]); }, nms_EnumStatus = $rt_classWithoutFields(jl_Enum), nms_EnumStatus_OK = null, nms_EnumStatus_NOT_POSSIBLE_HERE = null, nms_EnumStatus_NOT_POSSIBLE_NOW = null, nms_EnumStatus_TOO_FAR_AWAY = null, nms_EnumStatus_OTHER_PROBLEM = null, nms_EnumStatus_NOT_SAFE = null, nms_EnumStatus_$VALUES = null, nms_EnumStatus_$values = () => { let var$1, var$2; var$1 = $rt_createArray(nms_EnumStatus, 6); var$2 = var$1.data; var$2[0] = nms_EnumStatus_OK; var$2[1] = nms_EnumStatus_NOT_POSSIBLE_HERE; var$2[2] = nms_EnumStatus_NOT_POSSIBLE_NOW; var$2[3] = nms_EnumStatus_TOO_FAR_AWAY; var$2[4] = nms_EnumStatus_OTHER_PROBLEM; var$2[5] = nms_EnumStatus_NOT_SAFE; return var$1; }, nms_EnumStatus__clinit_ = () => { let var$1; var$1 = new nms_EnumStatus; var$1.$name0 = $rt_s(3904); var$1.$ordinal = 0; nms_EnumStatus_OK = var$1; var$1 = new nms_EnumStatus; var$1.$name0 = $rt_s(3905); var$1.$ordinal = 1; nms_EnumStatus_NOT_POSSIBLE_HERE = var$1; var$1 = new nms_EnumStatus; var$1.$name0 = $rt_s(3906); var$1.$ordinal = 2; nms_EnumStatus_NOT_POSSIBLE_NOW = var$1; var$1 = new nms_EnumStatus; var$1.$name0 = $rt_s(3907); var$1.$ordinal = 3; nms_EnumStatus_TOO_FAR_AWAY = var$1; var$1 = new nms_EnumStatus; var$1.$name0 = $rt_s(3908); var$1.$ordinal = 4; nms_EnumStatus_OTHER_PROBLEM = var$1; var$1 = new nms_EnumStatus; var$1.$name0 = $rt_s(3909); var$1.$ordinal = 5; nms_EnumStatus_NOT_SAFE = var$1; nms_EnumStatus_$VALUES = nms_EnumStatus_$values(); }; function nms_MapInfo() { let a = this; jl_Object.call(a); a.$entityplayerObj = null; a.$field_76209_b = null; a.$field_76210_c = null; a.$field_82569_d = 0; a.$mapDataObj = null; } let nms_MapInfo__init_0 = ($this, $par1MapData, $par2EntityPlayer) => { let var$3, var$4, var$5, $var3, var$7; $this.$mapDataObj = $par1MapData; var$3 = $rt_createIntArray(128); var$4 = var$3.data; $this.$field_76209_b = var$3; var$3 = $rt_createIntArray(128); var$5 = var$3.data; $this.$field_76210_c = var$3; $this.$entityplayerObj = $par2EntityPlayer; $var3 = 0; var$7 = var$4.length; while ($var3 < var$7) { var$4[$var3] = 0; var$5[$var3] = 127; $var3 = $var3 + 1 | 0; } }, nms_MapInfo__init_ = (var_0, var_1) => { let var_2 = new nms_MapInfo(); nms_MapInfo__init_0(var_2, var_0, var_1); return var_2; }; function nms_VillageDoorInfo() { let a = this; jl_Object.call(a); a.$posX4 = 0; a.$posY3 = 0; a.$posZ3 = 0; a.$isDetachedFromVillageFlag = 0; } let ji_PrintWriter = $rt_classWithoutFields(ji_Writer); function nms_ServersideAttributeMap() { let a = this; nms_BaseAttributeMap.call(a); a.$field_111162_d = null; a.$field_111163_c = null; } let nms_ServersideAttributeMap__init_0 = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; $this.$attributes = var$1; $this.$attributesByName = nms_LowerStringMap__init_0(); var$1 = new ju_HashSet; var$5 = new ju_HashMap; var$2 = ju_HashMap_calculateCapacity(16); var$5.$elementCount = 0; var$3 = $rt_createArray(ju_HashMap$HashEntry, var$2); var$4 = var$3.data; var$5.$elementData = var$3; var$5.$loadFactor = 0.75; var$5.$threshold = var$4.length * 0.75 | 0; var$1.$backingMap = var$5; $this.$field_111162_d = var$1; $this.$field_111163_c = nms_LowerStringMap__init_0(); }, nms_ServersideAttributeMap__init_ = () => { let var_0 = new nms_ServersideAttributeMap(); nms_ServersideAttributeMap__init_0(var_0); return var_0; }, nms_ServersideAttributeMap_func_111150_b = ($this, $par1Attribute) => { let $var2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; $var2 = $this.$attributesByName; var$3 = $par1Attribute.$field_111115_a; $var2 = $var2.$internalMap; var$4 = var$3.$nativeString.toLowerCase(); if (var$4 !== var$3.$nativeString) var$3 = jl_String__init_(var$4); a: { if (!var$3.$hashCode1) { var$5 = 0; while (true) { if (var$5 >= var$3.$nativeString.length) break a; var$3.$hashCode1 = (31 * var$3.$hashCode1 | 0) + var$3.$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$5 = var$3.$hashCode1; var$6 = $var2.$elementData.data; $var2 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$5) { b: { var$4 = $var2.$key; if (var$3 !== var$4) { if (var$3 === var$4) var$7 = 1; else if (!(var$4 instanceof jl_String)) var$7 = 0; else { var$4 = var$4; var$7 = var$3.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } $var2 = $var2.$next3; } if ($var2 === null ? 0 : 1) { $par1Attribute = new jl_IllegalArgumentException; $par1Attribute.$suppressionEnabled = 1; $par1Attribute.$writableStackTrace = 1; $par1Attribute.$message = $rt_s(3910); $rt_throw($par1Attribute); } $var2 = nms_ModifiableAttributeInstance__init_($this, $par1Attribute); var$4 = $this.$attributesByName; var$8 = $par1Attribute.$field_111115_a; var$4 = var$4.$internalMap; var$9 = var$8.$nativeString.toLowerCase(); if (var$9 !== var$8.$nativeString) var$8 = jl_String__init_(var$9); var$10 = var$4.$elementCount; ju_LinkedHashMap_putImpl(var$4, var$8, $var2, 0, var$4.$accessOrder); if ($par1Attribute instanceof nms_RangedAttribute) { var$9 = $par1Attribute.$field_111119_c; if (var$9 !== null) { var$3 = $this.$field_111163_c.$internalMap; var$4 = var$9.$nativeString.toLowerCase(); if (var$4 !== var$9.$nativeString) var$9 = jl_String__init_(var$4); var$10 = var$3.$elementCount; ju_LinkedHashMap_putImpl(var$3, var$9, $var2, 0, var$3.$accessOrder); } } ju_HashMap_putImpl($this.$attributes, $par1Attribute, $var2); return $var2; }; function nms_GuiEditSign() { let a = this; nms_GuiScreen.call(a); a.$screenTitle = null; a.$entitySign = null; a.$updateCounter1 = 0; a.$editLine = 0; a.$doneBtn0 = null; } let nms_GuiEditSign_allowedCharacters = null, nms_GuiEditSign_$callClinit = () => { nms_GuiEditSign_$callClinit = $rt_eraseClinit(nms_GuiEditSign); nms_GuiEditSign__clinit_(); }, nms_GuiEditSign_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$buttonList; var$2 = var$1.$array; var$3 = 0; var$4 = var$1.$size0; var$5 = null; if (var$3 > var$4) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while (var$3 < var$4) { var$6 = var$2.data; var$7 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; var$5 = new nms_GuiButton; var$8 = ($this.$width / 2 | 0) - 100 | 0; var$9 = ($this.$height / 4 | 0) + 120 | 0; nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 0; var$5.$xPosition = var$8; var$5.$yPosition = var$9; var$5.$width0 = 200; var$5.$height0 = 20; var$5.$displayString = $rt_s(3911); $this.$doneBtn0 = var$5; ju_ArrayList_ensureCapacity(var$1, 1); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$5 = $this.$entitySign; var$5.$isEditable = 0; var$5.$field_142011_d = null; }, nms_GuiEditSign_onGuiClosed = $this => { let var$1, $var1, var$3; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; var$1 = $this.$mc.$thePlayer; $var1 = var$1 === null ? null : var$1.$sendQueue; if ($var1 !== null) { var$1 = new nms_Packet130UpdateSign; var$3 = $this.$entitySign; nms_Packet130UpdateSign__init_0(var$1, var$3.$xCoord0, var$3.$yCoord0, var$3.$zCoord0, var$3.$signText); if (!$var1.$disconnected) $var1.$netManager.$addToSendQueue(var$1); } $this.$entitySign.$isEditable = 1; }, nms_GuiEditSign_updateScreen = $this => { $this.$updateCounter1 = $this.$updateCounter1 + 1 | 0; }, nms_GuiEditSign_actionPerformed = ($this, $par1GuiButton) => { let var$2, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled && !$par1GuiButton.$id0) { $par1GuiButton = $this.$entitySign; $ptr = 1; continue main; } return; case 1: nms_TileEntity_onInventoryChanged($par1GuiButton); if ($rt_suspending()) { break main; } var$2 = $this.$mc; $par1GuiButton = null; $ptr = 2; case 2: nms_Minecraft_displayGuiScreen(var$2, $par1GuiButton); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $ptr); }, nms_GuiEditSign_keyTyped = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par2 == 200) $this.$editLine = ($this.$editLine - 1 | 0) & 3; if (!($par2 != 208 && $par2 != 28 && $par2 != 156)) $this.$editLine = ($this.$editLine + 1 | 0) & 3; if ($par2 == 14 && $this.$entitySign.$signText.data[$this.$editLine].$nativeString.length > 0) { var$3 = $this.$entitySign.$signText.data; var$4 = $this.$editLine; var$3[var$4] = jl_String_substring(var$3[var$4], 0, var$3[var$4].$nativeString.length - 1 | 0); } nms_GuiEditSign_$callClinit(); if (jl_String_indexOf(nms_GuiEditSign_allowedCharacters, $par1, 0) >= 0 && $this.$entitySign.$signText.data[$this.$editLine].$nativeString.length < 15) { var$3 = $this.$entitySign.$signText.data; var$5 = $this.$editLine; var$6 = var$3[var$5]; var$7 = new jl_StringBuilder; var$7.$buffer = $rt_createCharArray(16); var$4 = var$7.$length0; if (var$6 === null) var$6 = $rt_s(1); jl_AbstractStringBuilder_insert(var$7, var$4, var$6); var$4 = var$7.$length0; jl_AbstractStringBuilder_insertSpace(var$7, var$4, var$4 + 1 | 0); var$8 = var$7.$buffer; var$9 = var$8.data; var$9[var$4] = $par1; var$6 = new jl_String; var$4 = var$7.$length0; var$10 = var$9.length; if (var$4 >= 0 && var$4 <= (var$10 - 0 | 0)) { var$6.$nativeString = $rt_charArrayToString(var$8.data, 0, var$4); var$3[var$5] = var$6; } else { var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$6); $rt_throw(var$6); } } if ($par2 == 1) { var$6 = $this.$doneBtn0; if (var$6.$enabled && !var$6.$id0) { var$6 = $this.$entitySign; $ptr = 1; continue main; } } return; case 1: nms_TileEntity_onInventoryChanged(var$6); if ($rt_suspending()) { break main; } var$7 = $this.$mc; var$6 = null; $ptr = 2; case 2: nms_Minecraft_displayGuiScreen(var$7, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_GuiEditSign_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, $var5, $var8, var$8, var$9, var$10, var$11, $var6, $var7, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var8 = $thread.pop();$var5 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; $var5 = $this.$screenTitle; $var8 = $this.$width / 2 | 0; var$8 = 40; var$4 = 16777215; $var8 = $var8 - (nms_FontRenderer_getStringWidth(var$5, $var5) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = $var8 + 1 | 0; var$10 = 41; var$11 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; $var5 = $this.$screenTitle; $var8 = $this.$width / 2 | 0; var$8 = 40; var$4 = 16777215; $var8 = $var8 - (nms_FontRenderer_getStringWidth(var$5, $var5) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = $var8 + 1 | 0; var$10 = 41; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, $var5, var$9, var$10, var$4, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, $var5, $var8, var$8, var$4, var$9); if ($rt_suspending()) { break main; } var$4 = $tmp; nleg_EaglerAdapterGL30_glPushMatrix(); $par3 = $this.$width / 2 | 0; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = $par3; var$5.$y = 0.0; var$5.$z = 50.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; $var5 = new ji_ByteArrayOutputStream; $var5.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = $var5; $var5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var5, 16); var$5.$sb = $var5; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = (-93.75); var$5.$y = (-93.75); var$5.$z = (-93.75); var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; $var5 = new ji_ByteArrayOutputStream; $var5.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = $var5; $var5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var5, 16); var$5.$sb = $var5; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(3.1415927410125732, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; $var5 = new ji_ByteArrayOutputStream; $var5.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = $var5; $var5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var5, 16); var$5.$sb = $var5; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$5 = $this.$entitySign; if (var$5.$blockType === null) { nms_Block_$callClinit(); var$5.$blockType = nms_Block_blocksList.data[nms_World_getBlockId(var$5.$worldObj0, var$5.$xCoord0, var$5.$yCoord0, var$5.$zCoord0)]; } $var5 = var$5.$blockType; nms_Block_$callClinit(); if ($var5 === nms_Block_signPost) { var$5 = $this.$entitySign; if (var$5.$blockMetadata == (-1)) var$5.$blockMetadata = nms_World_getBlockMetadata(var$5.$worldObj0, var$5.$xCoord0, var$5.$yCoord0, var$5.$zCoord0); $var6 = (var$5.$blockMetadata * 360 | 0) / 16.0; var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var6 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; $var5 = new ji_ByteArrayOutputStream; $var5.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = $var5; $var5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var5, 16); var$5.$sb = $var5; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = (-1.0625); var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; $var5 = new ji_ByteArrayOutputStream; $var5.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = $var5; $var5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var5, 16); var$5.$sb = $var5; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } else { var$5 = $this.$entitySign; if (var$5.$blockMetadata == (-1)) var$5.$blockMetadata = nms_World_getBlockMetadata(var$5.$worldObj0, var$5.$xCoord0, var$5.$yCoord0, var$5.$zCoord0); $var8 = var$5.$blockMetadata; $var7 = 0.0; if ($var8 == 2) $var7 = 180.0; if ($var8 == 4) $var7 = 90.0; if ($var8 == 5) $var7 = (-90.0); var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = 1.0; var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var7 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; $var5 = new ji_ByteArrayOutputStream; $var5.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = $var5; $var5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var5, 16); var$5.$sb = $var5; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$5 = nleg_EaglerAdapterGL30_deevis; var$5.$x = 0.0; var$5.$y = (-1.0625); var$5.$z = 0.0; var$5 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, var$5, var$5); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$5 = new otcic_JSStderrPrintStream; $var5 = new ji_ByteArrayOutputStream; $var5.$buf = $rt_createByteArray(32); jl_Object__init_(var$5); var$5.$out0 = $var5; $var5 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var5, 16); var$5.$sb = $var5; var$5.$buffer0 = $rt_createCharArray(32); var$5.$autoFlush = 0; var$5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$5; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } } if (!(($this.$updateCounter1 / 6 | 0) % 2 | 0)) $this.$entitySign.$lineBeingEdited = $this.$editLine; nms_TileEntityRenderer_$callClinit(); var$5 = nms_TileEntityRenderer_instance; $var5 = $this.$entitySign; var$14 = (-0.5); var$15 = (-0.75); var$16 = (-0.5); $par3 = 0.0; if ($var5 === null) var$17 = null; else { var$18 = $var5.constructor; if (var$18 === null) var$19 = null; else { var$19 = var$18.classObject; if (var$19 === null) { var$19 = new jl_Class; var$19.$platformClass = var$18; var$18.classObject = var$19; } } var$20 = var$5.$specialRendererMap; if (var$19 !== null) { var$18 = var$19; if (!var$18.$id$) var$18.$id$ = $rt_nextId(); var$8 = var$19.$id$; var$21 = var$20.$elementData.data; var$18 = var$21[var$8 & (var$21.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == var$8) { var$17 = var$18.$key; if (var$19 !== var$17 && !(var$19 !== var$17 ? 0 : 1) ? 0 : 1) break; } var$18 = var$18.$next3; } } else { var$18 = var$20.$elementData.data[0]; while (var$18 !== null && var$18.$key !== null) { var$18 = var$18.$next3; } } var$17 = var$18 === null ? null : var$18.$value1; if (var$17 === null && var$19 !== $rt_cls(nms_TileEntity)) { var$18 = var$19.$platformClass.$meta.superclass; if (var$18 === null) var$22 = null; else { var$22 = var$18.classObject; if (var$22 === null) { var$22 = new jl_Class; var$22.$platformClass = var$18; var$18.classObject = var$22; } } var$18 = var$5.$specialRendererMap; if (var$22 === null) { var$18 = var$18.$elementData.data[0]; while (var$18 !== null && var$18.$key !== null) { var$18 = var$18.$next3; } } else { var$17 = var$22; if (!var$17.$id$) var$17.$id$ = $rt_nextId(); var$8 = var$22.$id$; var$21 = var$18.$elementData.data; var$18 = var$21[var$8 & (var$21.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == var$8) { var$17 = var$18.$key; if (var$22 !== var$17 && !jl_Object_equals(var$22, var$17) ? 0 : 1) break; } var$18 = var$18.$next3; } } var$17 = var$18 === null ? null : var$18.$value1; if (var$17 === null && var$22 !== $rt_cls(nms_TileEntity)) { var$18 = var$22.$platformClass.$meta.superclass; if (var$18 === null) var$23 = null; else { var$23 = var$18.classObject; if (var$23 === null) { var$23 = new jl_Class; var$23.$platformClass = var$18; var$18.classObject = var$23; } } var$18 = var$5.$specialRendererMap; if (var$23 === null) { var$18 = var$18.$elementData.data[0]; while (var$18 !== null && var$18.$key !== null) { var$18 = var$18.$next3; } } else { var$8 = jl_Object_identity(var$23); var$21 = var$18.$elementData.data; var$18 = var$21[var$8 & (var$21.length - 1 | 0)]; while (var$18 !== null && !(var$18.$origKeyHash == var$8 && ju_HashMap_areEqualKeys(var$23, var$18.$key))) { var$18 = var$18.$next3; } } var$17 = var$18 === null ? null : var$18.$value1; if (var$17 === null && var$23 !== $rt_cls(nms_TileEntity)) { var$17 = var$23.$platformClass.$meta.superclass; if (var$17 === null) var$18 = null; else { var$18 = var$17.classObject; if (var$18 === null) { var$18 = new jl_Class; jl_Object__init_(var$18); var$18.$platformClass = var$17; var$17.classObject = var$18; } } var$17 = var$5.$specialRendererMap; if (var$18 === null) var$17 = ju_HashMap_findNullKeyEntry(var$17); else { $var8 = jl_Object_hashCode(var$18); var$17 = ju_HashMap_findNonNullKeyEntry(var$17, var$18, $var8 & (var$17.$elementData.data.length - 1 | 0), $var8); } var$17 = var$17 === null ? null : var$17.$value1; if (var$17 === null && var$18 !== $rt_cls(nms_TileEntity)) { var$17 = var$18.$platformClass.$meta.superclass; if (var$17 === null) var$24 = null; else { var$24 = var$17.classObject; if (var$24 === null) var$24 = jl_Class__init_(var$17); } var$17 = ju_HashMap_entryByKey(var$5.$specialRendererMap, var$24); var$17 = var$17 === null ? null : var$17.$value1; if (var$17 === null && var$24 !== $rt_cls(nms_TileEntity)) { var$20 = jl_Class_getClass(var$24.$platformClass.$meta.superclass); var$17 = ju_HashMap_get(var$5.$specialRendererMap, var$20); if (var$17 === null && var$20 !== $rt_cls(nms_TileEntity)) { var$17 = nms_TileEntityRenderer_getSpecialRendererForClass(var$5, jl_Class_getSuperclass(var$20)); ju_HashMap_put(var$5.$specialRendererMap, var$20, var$17); } ju_HashMap_putImpl(var$5.$specialRendererMap, var$24, var$17); } ju_HashMap_putImpl(var$5.$specialRendererMap, var$18, var$17); } ju_HashMap_putImpl(var$5.$specialRendererMap, var$23, var$17); } ju_HashMap_putImpl(var$5.$specialRendererMap, var$22, var$17); } ju_HashMap_putImpl(var$5.$specialRendererMap, var$19, var$17); } } if (var$17 !== null) { try { $ptr = 4; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$5 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; var$18 = new ji_ByteArrayOutputStream; jl_Object__init_(var$18); var$18.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var5); $var5.$out0 = var$18; var$18 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$18); $var5.$sb = var$18; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } jl_Throwable_printStackTrace(var$5, jl_System_errCache); } $this.$entitySign.$lineBeingEdited = (-1); nleg_EaglerAdapterGL30_glPopMatrix(); var$4 = 0; var$5 = $this.$buttonList; $var8 = $rt_compare(var$4, var$5.$size0); if ($var8 >= 0) return; if (var$4 >= 0 && $var8 < 0) { var$5 = var$5.$array.data[var$4]; $var5 = $this.$mc; $ptr = 5; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 4: a: { try { var$17.$renderTileEntityAt($var5, var$14, var$15, var$16, $par3); if ($rt_suspending()) { break main; } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { var$5 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var5 = new otcic_JSStderrPrintStream; var$18 = new ji_ByteArrayOutputStream; jl_Object__init_(var$18); var$18.$buf = $rt_createByteArray(32); ji_OutputStream__init_($var5); $var5.$out0 = var$18; var$18 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$18); $var5.$sb = var$18; $var5.$buffer0 = $rt_createCharArray(32); $var5.$autoFlush = 0; $var5.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var5; } jl_Throwable_printStackTrace(var$5, jl_System_errCache); } $this.$entitySign.$lineBeingEdited = (-1); nleg_EaglerAdapterGL30_glPopMatrix(); var$4 = 0; var$5 = $this.$buttonList; $var8 = $rt_compare(var$4, var$5.$size0); if ($var8 >= 0) return; if (var$4 >= 0 && $var8 < 0) { var$5 = var$5.$array.data[var$4]; $var5 = $this.$mc; $ptr = 5; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); case 5: var$5.$drawButton($var5, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$5 = $this.$buttonList; $var8 = $rt_compare(var$4, var$5.$size0); if ($var8 >= 0) return; if (var$4 >= 0 && $var8 < 0) { var$5 = var$5.$array.data[var$4]; $var5 = $this.$mc; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, $var5, $var8, var$8, var$9, var$10, var$11, $var6, $var7, var$14, var$15, var$16, var$17, var$18, var$19, var$20, var$21, var$22, var$23, var$24, $ptr); }, nms_GuiEditSign__clinit_ = () => { nms_GuiEditSign_allowedCharacters = nms_ChatAllowedCharacters_allowedCharacters; }; function nms_GuiCommandBlock() { let a = this; nms_GuiScreen.call(a); a.$commandTextField = null; a.$commandBlock = null; a.$doneBtn = null; a.$cancelBtn = null; } let nms_GuiCommandBlock_updateScreen = $this => { let var$1; var$1 = $this.$commandTextField; var$1.$cursorCounter = var$1.$cursorCounter + 1 | 0; }, nms_GuiCommandBlock_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; var$1 = $this.$buttonList; var$2 = var$1.$array; var$3 = 0; var$4 = var$1.$size0; var$5 = null; if (var$3 > var$4) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while (var$3 < var$4) { var$6 = var$2.data; var$7 = var$3 + 1 | 0; var$6[var$3] = var$5; var$3 = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$5 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 100 | 0; var$4 = (($this.$height / 4 | 0) + 96 | 0) + 12 | 0; nms_StatCollector_$callClinit(); var$8 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(646)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 0; var$5.$xPosition = var$7; var$5.$yPosition = var$4; var$5.$width0 = 200; var$5.$height0 = 20; var$5.$displayString = var$8; $this.$doneBtn = var$5; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$5 = $this.$buttonList; var$8 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 100 | 0; var$9 = (($this.$height / 4 | 0) + 120 | 0) + 12 | 0; var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1626)); var$8.$width0 = 200; var$8.$height0 = 20; var$8.$enabled = 1; var$8.$drawButton0 = 1; var$8.$id0 = 1; var$8.$xPosition = var$7; var$8.$yPosition = var$9; var$8.$width0 = 200; var$8.$height0 = 20; var$8.$displayString = var$1; $this.$cancelBtn = var$8; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$2[var$4] = var$8; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = nms_GuiTextField__init_($this.$fontRenderer, ($this.$width / 2 | 0) - 150 | 0, 60, 300, 20); $this.$commandTextField = var$5; var$5.$maxStringLength = 32767; if (var$5.$text.$nativeString.length > 32767) var$5.$text = jl_String_substring(var$5.$text, 0, 32767); var$5 = $this.$commandTextField; if (!var$5.$isFocused0) var$5.$cursorCounter = 0; var$5.$isFocused0 = 1; var$1 = $this.$commandBlock.$command; var$3 = var$1.$nativeString.length; var$4 = var$5.$maxStringLength; if (var$3 <= var$4) var$5.$text = var$1; else var$5.$text = jl_String_substring(var$1, 0, var$4); var$5.$cursorPosition = var$5.$text.$nativeString.length; var$4 = var$5.$text.$nativeString.length; if (var$5.$cursorPosition < 0) var$5.$cursorPosition = 0; if (var$5.$cursorPosition > var$4) var$5.$cursorPosition = var$4; nms_GuiTextField_setSelectionPos(var$5, var$5.$cursorPosition); $this.$doneBtn.$enabled = (jl_String_trim($this.$commandTextField.$text)).$nativeString.length <= 0 ? 0 : 1; }, nms_GuiCommandBlock_onGuiClosed = $this => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; }, nms_GuiCommandBlock_actionPerformed = ($this, $par1GuiButton) => { let var$2, $var2, $var3, $var4, $var6, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled) { var$2 = $par1GuiButton.$id0; if (var$2 == 1) { $par1GuiButton = $this.$mc; $var2 = null; $ptr = 1; continue main; } if (!var$2) { $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); $var4 = new ji_DataOutputStream; $var4.$out0 = $var3; $var4.$buff0 = $rt_createByteArray(8); a: { try { ji_DataOutputStream_writeInt($var4, $this.$commandBlock.$xCoord0); ji_DataOutputStream_writeInt($var4, $this.$commandBlock.$yCoord0); ji_DataOutputStream_writeInt($var4, $this.$commandBlock.$zCoord0); nms_Packet_writeString(nms_GuiTextField_getText($this.$commandTextField), $var4); nms_NetClientHandler_addToSendQueue(nms_Minecraft_getNetHandler($this.$mc), nms_Packet250CustomPayload__init_($rt_s(3912), ji_ByteArrayOutputStream_toByteArray($var3))); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var6 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $par1GuiButton = new otcic_JSStderrPrintStream; $var2 = new ji_ByteArrayOutputStream; $var2.$buf = $rt_createByteArray(32); jl_Object__init_($par1GuiButton); $par1GuiButton.$out0 = $var2; $var2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var2, 16); $par1GuiButton.$sb = $var2; $par1GuiButton.$buffer0 = $rt_createCharArray(32); $par1GuiButton.$autoFlush = 0; $par1GuiButton.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1GuiButton; } jl_Throwable_printStackTrace($var6, jl_System_errCache); } $par1GuiButton = $this.$mc; $var2 = null; $ptr = 2; continue main; } } return; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, $var2); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, $var2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, $var2, $var3, $var4, $var6, $ptr); }, nms_GuiCommandBlock_keyTyped = ($this, $par1, $par2) => { let var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$commandTextField; $ptr = 1; case 1: nms_GuiTextField_textboxKeyTyped(var$3, $par1, $par2); if ($rt_suspending()) { break main; } $this.$doneBtn.$enabled = (jl_String_trim($this.$commandTextField.$text)).$nativeString.length <= 0 ? 0 : 1; if ($par2 != 28 && $par2 != 156) { if ($par2 != 1) return; var$3 = $this.$cancelBtn; $ptr = 3; continue main; } var$3 = $this.$doneBtn; $ptr = 2; case 2: nms_GuiCommandBlock_actionPerformed($this, var$3); if ($rt_suspending()) { break main; } return; case 3: nms_GuiCommandBlock_actionPerformed($this, var$3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, $ptr); }, nms_GuiCommandBlock_mouseClicked = ($this, $par1, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiScreen_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } nms_GuiTextField_mouseClicked($this.$commandTextField, $par1, $par2, $par3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $ptr); }, nms_GuiCommandBlock_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = 0; if ($this.$mc.$theWorld === null) { $ptr = 1; continue main; } nms_Gui_drawGradientRect($this, 0, 0, $this.$width, $this.$height, (-1072689136), (-804253680)); var$5 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3913)); var$7 = $this.$width / 2 | 0; var$8 = 20; var$4 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = var$7 + 1 | 0; var$10 = 21; var$11 = 1; $ptr = 2; continue main; case 1: nms_GuiScreen_drawBackground($this, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$6 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3913)); var$7 = $this.$width / 2 | 0; var$8 = 20; var$4 = 16777215; var$7 = var$7 - (nms_FontRenderer_getStringWidth(var$5, var$6) / 2 | 0) | 0; var$5.$randomStyle = 0; var$5.$boldStyle = 0; var$5.$italicStyle = 0; var$5.$underlineStyle = 0; var$5.$strikethroughStyle = 0; var$9 = var$7 + 1 | 0; var$10 = 21; var$11 = 1; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$9, var$10, var$4, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$5, var$6, var$7, var$8, var$4, var$9); if ($rt_suspending()) { break main; } var$4 = $tmp; var$6 = $this.$fontRenderer; var$5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3914)); var$4 = ($this.$width / 2 | 0) - 150 | 0; var$7 = 47; var$8 = 10526880; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$9 = var$4 + 1 | 0; var$10 = 48; var$11 = 1; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$6, var$5, var$9, var$10, var$8, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString(var$6, var$5, var$4, var$7, var$8, var$9); if ($rt_suspending()) { break main; } var$4 = $tmp; var$6 = $this.$fontRenderer; var$5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3915)); var$4 = ($this.$width / 2 | 0) - 150 | 0; var$7 = 97; var$8 = 10526880; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$9 = var$4 + 1 | 0; var$10 = 98; var$11 = 1; $ptr = 6; case 6: $tmp = nms_FontRenderer_renderString(var$6, var$5, var$9, var$10, var$8, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString(var$6, var$5, var$4, var$7, var$8, var$9); if ($rt_suspending()) { break main; } var$4 = $tmp; var$6 = $this.$fontRenderer; var$5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3916)); var$4 = ($this.$width / 2 | 0) - 150 | 0; var$7 = 108; var$8 = 10526880; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$10 = var$4 + 1 | 0; var$9 = 109; var$11 = 1; $ptr = 8; case 8: $tmp = nms_FontRenderer_renderString(var$6, var$5, var$10, var$9, var$8, var$11); if ($rt_suspending()) { break main; } var$10 = $tmp; var$9 = 0; $ptr = 9; case 9: $tmp = nms_FontRenderer_renderString(var$6, var$5, var$4, var$7, var$8, var$9); if ($rt_suspending()) { break main; } var$4 = $tmp; var$6 = $this.$fontRenderer; var$5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3917)); var$10 = ($this.$width / 2 | 0) - 150 | 0; var$11 = 119; var$4 = 10526880; var$6.$randomStyle = 0; var$6.$boldStyle = 0; var$6.$italicStyle = 0; var$6.$underlineStyle = 0; var$6.$strikethroughStyle = 0; var$7 = var$10 + 1 | 0; var$8 = 120; var$9 = 1; $ptr = 10; case 10: $tmp = nms_FontRenderer_renderString(var$6, var$5, var$7, var$8, var$4, var$9); if ($rt_suspending()) { break main; } var$8 = $tmp; var$7 = 0; $ptr = 11; case 11: $tmp = nms_FontRenderer_renderString(var$6, var$5, var$10, var$11, var$4, var$7); if ($rt_suspending()) { break main; } var$4 = $tmp; var$6 = $this.$commandTextField; $ptr = 12; case 12: nms_GuiTextField_drawTextBox(var$6); if ($rt_suspending()) { break main; } var$4 = 0; var$6 = $this.$buttonList; var$7 = $rt_compare(var$4, var$6.$size0); if (var$7 >= 0) return; if (var$4 >= 0 && var$7 < 0) { var$6 = var$6.$array.data[var$4]; var$5 = $this.$mc; $ptr = 13; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); case 13: var$6.$drawButton(var$5, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = var$4 + 1 | 0; var$6 = $this.$buttonList; var$7 = $rt_compare(var$4, var$6.$size0); if (var$7 >= 0) return; if (var$4 >= 0 && var$7 < 0) { var$6 = var$6.$array.data[var$4]; var$5 = $this.$mc; continue main; } var$6 = new jl_IndexOutOfBoundsException; var$6.$suppressionEnabled = 1; var$6.$writableStackTrace = 1; $rt_throw(var$6); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }; function nms_GuiChest() { let a = this; nms_GuiContainer.call(a); a.$upperChestInventory = null; a.$lowerChestInventory = null; a.$inventoryRows = 0; } let nms_GuiChest_field_110421_t = null, nms_GuiChest_$callClinit = () => { nms_GuiChest_$callClinit = $rt_eraseClinit(nms_GuiChest); nms_GuiChest__clinit_(); }, nms_GuiChest_drawGuiContainerForegroundLayer = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$fontRenderer; if ($this.$lowerChestInventory.$isInvNameLocalized()) var$4 = $this.$lowerChestInventory.$getInvName(); else { var$4 = $this.$lowerChestInventory.$getInvName(); nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$4); } $par1 = 8; $par2 = 6; var$5 = 4210752; var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; var$6 = 0; $ptr = 1; case 1: nms_FontRenderer_renderString(var$3, var$4, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } var$3 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3827)); $par1 = 8; $par2 = ($this.$ySize - 96 | 0) + 2 | 0; var$5 = 4210752; var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; var$6 = 0; $ptr = 2; case 2: nms_FontRenderer_renderString(var$3, var$4, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, $ptr); }, nms_GuiChest_drawGuiContainerBackgroundLayer = ($this, $par1, $par2, $par3) => { let var$4, var$5, $var4, $var5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiChest_$callClinit(); var$4 = nms_GuiChest_field_110421_t; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$4); if ($rt_suspending()) { break main; } $par2 = $this.$width; var$5 = $this.$xSize; $var4 = ($par2 - var$5 | 0) / 2 | 0; $var5 = ($this.$height - $this.$ySize | 0) / 2 | 0; nms_Gui_drawTexturedModalRect($this, $var4, $var5, 0, 0, var$5, ($this.$inventoryRows * 18 | 0) + 17 | 0); nms_Gui_drawTexturedModalRect($this, $var4, ($var5 + ($this.$inventoryRows * 18 | 0) | 0) + 17 | 0, 0, 126, $this.$xSize, 96); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, $var4, $var5, $ptr); }, nms_GuiChest__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3918); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiChest_field_110421_t = var$1; }, nms_GuiCrafting = $rt_classWithoutFields(nms_GuiContainer), nms_GuiCrafting_craftingTableGuiTextures = null, nms_GuiCrafting_$callClinit = () => { nms_GuiCrafting_$callClinit = $rt_eraseClinit(nms_GuiCrafting); nms_GuiCrafting__clinit_(); }, nms_GuiCrafting_drawGuiContainerForegroundLayer = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1806)); $par1 = 28; $par2 = 6; var$5 = 4210752; var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; var$6 = 0; $ptr = 1; case 1: nms_FontRenderer_renderString(var$3, var$4, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } var$4 = $this.$fontRenderer; var$3 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3827)); $par1 = 8; $par2 = ($this.$ySize - 96 | 0) + 2 | 0; var$5 = 4210752; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; var$6 = 0; $ptr = 2; case 2: nms_FontRenderer_renderString(var$4, var$3, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, $ptr); }, nms_GuiCrafting_drawGuiContainerBackgroundLayer = ($this, $par1, $par2, $par3) => { let var$4, $var4, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiCrafting_$callClinit(); var$4 = nms_GuiCrafting_craftingTableGuiTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$4); if ($rt_suspending()) { break main; } $par2 = $this.$width; $par3 = $this.$xSize; $var4 = ($par2 - $par3 | 0) / 2 | 0; $par2 = $this.$height; var$6 = $this.$ySize; nms_Gui_drawTexturedModalRect($this, $var4, ($par2 - var$6 | 0) / 2 | 0, 0, 0, $par3, var$6); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, var$6, $ptr); }, nms_GuiCrafting__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3919); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiCrafting_craftingTableGuiTextures = var$1; }; function nms_GuiBeacon() { let a = this; nms_GuiContainer.call(a); a.$beacon = null; a.$beaconConfirmButton = null; a.$buttonsNotDrawn = 0; } let nms_GuiBeacon_beaconGuiTextures = null, nms_GuiBeacon_$callClinit = () => { nms_GuiBeacon_$callClinit = $rt_eraseClinit(nms_GuiBeacon); nms_GuiBeacon__clinit_(); }, nms_GuiBeacon_initGui = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; $this.$mc.$thePlayer.$openContainer = $this.$inventorySlots0; var$1 = ($this.$width - $this.$xSize | 0) / 2 | 0; $this.$guiLeft = var$1; var$2 = ($this.$height - $this.$ySize | 0) / 2 | 0; $this.$guiTop = var$2; var$3 = $this.$buttonList; var$4 = new nms_GuiBeaconButtonConfirm; var$1 = var$1 + 164 | 0; var$5 = var$2 + 107 | 0; nms_GuiBeacon_$callClinit(); var$6 = nms_GuiBeacon_beaconGuiTextures; nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$4.$width0 = 200; var$4.$height0 = 20; var$4.$enabled = 1; var$4.$drawButton0 = 1; var$4.$id0 = (-1); var$4.$xPosition = var$1; var$4.$yPosition = var$5; var$4.$width0 = 22; var$4.$height0 = 22; var$4.$displayString = $rt_s(18); var$4.$buttonTexture = var$6; var$4.$field_82257_l = 90; var$4.$field_82258_m = 220; var$4.$beaconGui1 = $this; $this.$beaconConfirmButton = var$4; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$5 = var$3.$size0; var$3.$size0 = var$5 + 1 | 0; var$7[var$5] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; var$4 = $this.$buttonList; var$3 = new nms_GuiBeaconButtonCancel; var$5 = $this.$guiLeft + 190 | 0; var$1 = $this.$guiTop + 107 | 0; var$8 = nms_GuiBeacon_beaconGuiTextures; var$3.$width0 = 200; var$3.$height0 = 20; var$3.$enabled = 1; var$3.$drawButton0 = 1; var$3.$id0 = (-2); var$3.$xPosition = var$5; var$3.$yPosition = var$1; var$3.$width0 = 22; var$3.$height0 = 22; var$3.$displayString = $rt_s(18); var$3.$buttonTexture = var$8; var$3.$field_82257_l = 112; var$3.$field_82258_m = 220; var$3.$beaconGui0 = $this; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$7 = var$4.$array.data; var$5 = var$4.$size0; var$4.$size0 = var$5 + 1 | 0; var$7[var$5] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; $this.$buttonsNotDrawn = 1; $this.$beaconConfirmButton.$enabled = 0; }, nms_GuiBeacon_updateScreen = $this => { let $var8, $var6, $var1, var$4, $var2, $var3, $var4, $var5, $var4_0, $var5_0, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();$var5_0 = $thread.pop();$var4_0 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$4 = $thread.pop();$var1 = $thread.pop();$var6 = $thread.pop();$var8 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { $var8 = $this.$mc.$thePlayer; if (!$var8.$isDead) { $var8 = $var8.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); $var6 = jl_Integer_integerCache.data[134]; if ($var6 === null) { $var8 = $var8.$elementData.data[0]; while ($var8 !== null && $var8.$key !== null) { $var8 = $var8.$next3; } } else { $var1 = jl_Integer_hashCode($var6.$value0); var$4 = $var8.$elementData.data; $var8 = var$4[$var1 & (var$4.length - 1 | 0)]; while ($var8 !== null && !($var8.$origKeyHash == $var1 && ju_HashMap_areEqualKeys($var6, $var8.$key))) { $var8 = $var8.$next3; } } if (($var8 === null ? null : $var8.$value1).$watchedObject.$value3 > 0.0) { $var1 = 1; break a; } } $var1 = 0; } if ($var1 && !$this.$mc.$thePlayer.$isDead) { if ($this.$buttonsNotDrawn && $this.$beacon.$levels >= 0) { $this.$buttonsNotDrawn = 0; $var1 = 0; while ($var1 <= 2) { nms_TileEntityBeacon_$callClinit(); $var2 = nms_TileEntityBeacon_effectsList.data[$var1].data.length; $var3 = ($var2 * 22 | 0) + (($var2 - 1 | 0) * 2 | 0) | 0; $var4 = 0; while ($var4 < $var2) { $var5 = nms_TileEntityBeacon_effectsList.data[$var1].data[$var4].$id1; $var6 = nms_GuiBeaconButtonPower__init_($this, $var1 << 8 | $var5, (($this.$guiLeft + 76 | 0) + ($var4 * 24 | 0) | 0) - ($var3 / 2 | 0) | 0, ($this.$guiTop + 22 | 0) + ($var1 * 25 | 0) | 0, $var5, $var1); $var8 = $this.$buttonList; ju_ArrayList_ensureCapacity($var8, $var8.$size0 + 1 | 0); var$4 = $var8.$array.data; $var4_0 = $var8.$size0; $var8.$size0 = $var4_0 + 1 | 0; var$4[$var4_0] = $var6; $var8.$modCount = $var8.$modCount + 1 | 0; $var8 = $this.$beacon; if ($var1 >= $var8.$levels) $var6.$enabled = 0; else if ($var5 == $var8.$primaryEffect) $var6.$field_82256_n = 1; $var4 = $var4 + 1 | 0; } $var1 = $var1 + 1 | 0; } nms_TileEntityBeacon_$callClinit(); $var2 = nms_TileEntityBeacon_effectsList.data[3].data.length + 1 | 0; $var1 = $var2 * 22 | 0; $var2 = $var2 - 1 | 0; $var3 = $var1 + ($var2 * 2 | 0) | 0; $var4_0 = 0; while ($var4_0 < $var2) { $var5_0 = nms_TileEntityBeacon_effectsList.data[3].data[$var4_0].$id1; $var6 = nms_GuiBeaconButtonPower__init_($this, 768 | $var5_0, (($this.$guiLeft + 167 | 0) + ($var4_0 * 24 | 0) | 0) - ($var3 / 2 | 0) | 0, $this.$guiTop + 47 | 0, $var5_0, 3); $var8 = $this.$buttonList; ju_ArrayList_ensureCapacity($var8, $var8.$size0 + 1 | 0); var$4 = $var8.$array.data; $var4 = $var8.$size0; $var8.$size0 = $var4 + 1 | 0; var$4[$var4] = $var6; $var8.$modCount = $var8.$modCount + 1 | 0; $var8 = $this.$beacon; if (3 >= $var8.$levels) $var6.$enabled = 0; else if ($var5_0 == $var8.$secondaryEffect) $var6.$field_82256_n = 1; $var4_0 = $var4_0 + 1 | 0; } $var4 = $this.$beacon.$primaryEffect; if ($var4 > 0) { $var8 = nms_GuiBeaconButtonPower__init_($this, 768 | $var4, (($this.$guiLeft + 167 | 0) + ($var2 * 24 | 0) | 0) - ($var3 / 2 | 0) | 0, $this.$guiTop + 47 | 0, $var4, 3); $var6 = $this.$buttonList; ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); var$4 = $var6.$array.data; $var2 = $var6.$size0; $var6.$size0 = $var2 + 1 | 0; var$4[$var2] = $var8; $var6.$modCount = $var6.$modCount + 1 | 0; $var6 = $this.$beacon; if (3 >= $var6.$levels) $var8.$enabled = 0; else if ($var6.$primaryEffect == $var6.$secondaryEffect) $var8.$field_82256_n = 1; } } $var8 = $this.$beaconConfirmButton; $var6 = $this.$beacon; $var8.$enabled = $var6.$payment !== null && $var6.$primaryEffect > 0 ? 1 : 0; return; } $var8 = $this.$mc.$thePlayer; var$11 = $var8.$sendQueue; $var6 = new nms_Packet101CloseWindow; $var1 = $var8.$openContainer.$windowId; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); $var6.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); $var6.$windowId1 = $var1; if (!var$11.$disconnected) var$11.$netManager.$addToSendQueue($var6); $var8.$inventory.$itemStack = null; $var8.$openContainer = $var8.$inventoryContainer; $var6 = $var8.$mc4; $var8 = null; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen($var6, $var8); if ($rt_suspending()) { break main; } if ($this.$buttonsNotDrawn && $this.$beacon.$levels >= 0) { $this.$buttonsNotDrawn = 0; $var1 = 0; while ($var1 <= 2) { nms_TileEntityBeacon_$callClinit(); $var2 = nms_TileEntityBeacon_effectsList.data[$var1].data.length; $var3 = ($var2 * 22 | 0) + (($var2 - 1 | 0) * 2 | 0) | 0; $var4 = 0; while ($var4 < $var2) { $var5 = nms_TileEntityBeacon_effectsList.data[$var1].data[$var4].$id1; $var6 = nms_GuiBeaconButtonPower__init_($this, $var1 << 8 | $var5, (($this.$guiLeft + 76 | 0) + ($var4 * 24 | 0) | 0) - ($var3 / 2 | 0) | 0, ($this.$guiTop + 22 | 0) + ($var1 * 25 | 0) | 0, $var5, $var1); $var8 = $this.$buttonList; ju_ArrayList_ensureCapacity($var8, $var8.$size0 + 1 | 0); var$4 = $var8.$array.data; $var4_0 = $var8.$size0; $var8.$size0 = $var4_0 + 1 | 0; var$4[$var4_0] = $var6; $var8.$modCount = $var8.$modCount + 1 | 0; $var8 = $this.$beacon; if ($var1 >= $var8.$levels) $var6.$enabled = 0; else if ($var5 == $var8.$primaryEffect) $var6.$field_82256_n = 1; $var4 = $var4 + 1 | 0; } $var1 = $var1 + 1 | 0; } nms_TileEntityBeacon_$callClinit(); $var2 = nms_TileEntityBeacon_effectsList.data[3].data.length + 1 | 0; $var1 = $var2 * 22 | 0; $var2 = $var2 - 1 | 0; $var3 = $var1 + ($var2 * 2 | 0) | 0; $var4_0 = 0; while ($var4_0 < $var2) { $var5_0 = nms_TileEntityBeacon_effectsList.data[3].data[$var4_0].$id1; $var6 = nms_GuiBeaconButtonPower__init_($this, 768 | $var5_0, (($this.$guiLeft + 167 | 0) + ($var4_0 * 24 | 0) | 0) - ($var3 / 2 | 0) | 0, $this.$guiTop + 47 | 0, $var5_0, 3); $var8 = $this.$buttonList; ju_ArrayList_ensureCapacity($var8, $var8.$size0 + 1 | 0); var$4 = $var8.$array.data; $var4 = $var8.$size0; $var8.$size0 = $var4 + 1 | 0; var$4[$var4] = $var6; $var8.$modCount = $var8.$modCount + 1 | 0; $var8 = $this.$beacon; if (3 >= $var8.$levels) $var6.$enabled = 0; else if ($var5_0 == $var8.$secondaryEffect) $var6.$field_82256_n = 1; $var4_0 = $var4_0 + 1 | 0; } $var4 = $this.$beacon.$primaryEffect; if ($var4 > 0) { $var8 = nms_GuiBeaconButtonPower__init_($this, 768 | $var4, (($this.$guiLeft + 167 | 0) + ($var2 * 24 | 0) | 0) - ($var3 / 2 | 0) | 0, $this.$guiTop + 47 | 0, $var4, 3); $var6 = $this.$buttonList; ju_ArrayList_ensureCapacity($var6, $var6.$size0 + 1 | 0); var$4 = $var6.$array.data; $var2 = $var6.$size0; $var6.$size0 = $var2 + 1 | 0; var$4[$var2] = $var8; $var6.$modCount = $var6.$modCount + 1 | 0; $var6 = $this.$beacon; if (3 >= $var6.$levels) $var8.$enabled = 0; else if ($var6.$primaryEffect == $var6.$secondaryEffect) $var8.$field_82256_n = 1; } } $var8 = $this.$beaconConfirmButton; $var6 = $this.$beacon; $var8.$enabled = $var6.$payment !== null && $var6.$primaryEffect > 0 ? 1 : 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var8, $var6, $var1, var$4, $var2, $var3, $var4, $var5, $var4_0, $var5_0, var$11, $ptr); }, nms_GuiBeacon_actionPerformed = ($this, $par1GuiButton) => { let $var7, $var2, $var3, $var4, $var6, $var8, var$8, $var9, var$10, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();$var9 = $thread.pop();var$8 = $thread.pop();$var8 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var7 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var7 = $par1GuiButton.$id0; if ($var7 == (-2)) { $par1GuiButton = $this.$mc; $var2 = null; $ptr = 1; continue main; } if ($var7 == (-1)) { $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); $var4 = new ji_DataOutputStream; $var4.$out0 = $var3; $var4.$buff0 = $rt_createByteArray(8); a: { try { ji_DataOutputStream_writeInt($var4, nms_TileEntityBeacon_getPrimaryEffect($this.$beacon)); ji_DataOutputStream_writeInt($var4, nms_TileEntityBeacon_getSecondaryEffect($this.$beacon)); nms_NetClientHandler_addToSendQueue(nms_Minecraft_getNetHandler($this.$mc), nms_Packet250CustomPayload__init_($rt_s(3920), ji_ByteArrayOutputStream_toByteArray($var3))); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var6 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $par1GuiButton = new otcic_JSStderrPrintStream; $var2 = new ji_ByteArrayOutputStream; $var2.$buf = $rt_createByteArray(32); jl_Object__init_($par1GuiButton); $par1GuiButton.$out0 = $var2; $var2 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var2, 16); $par1GuiButton.$sb = $var2; $par1GuiButton.$buffer0 = $rt_createCharArray(32); $par1GuiButton.$autoFlush = 0; $par1GuiButton.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $par1GuiButton; } jl_Throwable_printStackTrace($var6, jl_System_errCache); } $par1GuiButton = $this.$mc; $var2 = null; $ptr = 2; continue main; } if (!($par1GuiButton instanceof nms_GuiBeaconButtonPower)) return; if ($par1GuiButton.$field_82256_n) return; $var8 = $var7 & 255; if ($var7 >> 8 >= 3) nms_TileEntityBeacon_setSecondaryEffect($this.$beacon, $var8); else nms_TileEntityBeacon_setPrimaryEffect($this.$beacon, $var8); $par1GuiButton = $this.$buttonList; var$8 = $par1GuiButton.$array; $var8 = 0; $var9 = $par1GuiButton.$size0; $var2 = null; if ($var8 > $var9) { $par1GuiButton = new jl_IllegalArgumentException; $par1GuiButton.$suppressionEnabled = 1; $par1GuiButton.$writableStackTrace = 1; $rt_throw($par1GuiButton); } while ($var8 < $var9) { var$10 = var$8.data; $var7 = $var8 + 1 | 0; var$10[$var8] = $var2; $var8 = $var7; } $par1GuiButton.$size0 = 0; $par1GuiButton.$modCount = $par1GuiButton.$modCount + 1 | 0; $ptr = 3; continue main; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, $var2); if ($rt_suspending()) { break main; } return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, $var2); if ($rt_suspending()) { break main; } return; case 3: nms_GuiBeacon_initGui($this); if ($rt_suspending()) { break main; } $ptr = 4; case 4: nms_GuiBeacon_updateScreen($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, $var7, $var2, $var3, $var4, $var6, $var8, var$8, $var9, var$10, $ptr); }, nms_GuiBeacon_drawGuiContainerForegroundLayer = ($this, $par1, $par2) => { let $var4, var$4, $var3$index, var$6, var$7, var$8, $var3$index_0, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();$var3$index_0 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var3$index = $thread.pop();var$4 = $thread.pop();$var4 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); $var4 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3921)); $var3$index = 10; var$6 = 14737632; var$7 = 62 - (nms_FontRenderer_getStringWidth($var4, var$4) / 2 | 0) | 0; $var4.$randomStyle = 0; $var4.$boldStyle = 0; $var4.$italicStyle = 0; $var4.$underlineStyle = 0; $var4.$strikethroughStyle = 0; var$8 = var$7 + 1 | 0; $var3$index_0 = 11; var$10 = 1; $ptr = 1; case 1: $tmp = nms_FontRenderer_renderString($var4, var$4, var$8, $var3$index_0, var$6, var$10); if ($rt_suspending()) { break main; } $var3$index_0 = $tmp; var$8 = 0; $ptr = 2; case 2: $tmp = nms_FontRenderer_renderString($var4, var$4, var$7, $var3$index, var$6, var$8); if ($rt_suspending()) { break main; } var$7 = $tmp; var$4 = $this.$fontRenderer; $var4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3922)); $var3$index = 10; var$10 = 14737632; var$7 = 169 - (nms_FontRenderer_getStringWidth(var$4, $var4) / 2 | 0) | 0; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; var$6 = var$7 + 1 | 0; var$8 = 11; $var3$index_0 = 1; $ptr = 3; case 3: $tmp = nms_FontRenderer_renderString(var$4, $var4, var$6, var$8, var$10, $var3$index_0); if ($rt_suspending()) { break main; } var$8 = $tmp; var$6 = 0; $ptr = 4; case 4: $tmp = nms_FontRenderer_renderString(var$4, $var4, var$7, $var3$index, var$10, var$6); if ($rt_suspending()) { break main; } var$7 = $tmp; var$4 = $this.$buttonList; $var3$index_0 = 0; var$6 = var$4.$modCount; var$8 = var$4.$size(); while (true) { if (!($var3$index_0 >= var$8 ? 0 : 1)) { nleg_EaglerAdapterGL30_glPushMatrix(); var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; jl_Object__init_($var4); $var4.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$4); var$4.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var4); var$4.$sb = $var4; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; jl_Object__init_($var4); $var4.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$4); var$4.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var4); var$4.$sb = $var4; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = (-1.0); var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; jl_Object__init_($var4); $var4.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$4); var$4.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var4); var$4.$sb = $var4; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); return; } if (var$6 < var$4.$modCount) break; $var3$index = $var3$index_0 + 1 | 0; $var4 = var$4.$get($var3$index_0); if ($var4.$field_82253_i) { $par1 = $par1 - $this.$guiLeft | 0; $par2 = $par2 - $this.$guiTop | 0; $ptr = 5; continue main; } $var3$index_0 = $var3$index; } var$4 = new ju_ConcurrentModificationException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); case 5: $var4.$func_82251_b($par1, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glPushMatrix(); var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 0.0; var$4.$y = 1.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; jl_Object__init_($var4); $var4.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$4); var$4.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var4); var$4.$sb = $var4; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = 0.0; var$4.$z = 0.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; jl_Object__init_($var4); $var4.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$4); var$4.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var4); var$4.$sb = $var4; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$4 = nleg_EaglerAdapterGL30_deevis; var$4.$x = 1.0; var$4.$y = (-1.0); var$4.$z = 1.0; var$4 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$4, var$4); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$4 = new otcic_JSStderrPrintStream; $var4 = new ji_ByteArrayOutputStream; jl_Object__init_($var4); $var4.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$4); var$4.$out0 = $var4; $var4 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0($var4); var$4.$sb = $var4; var$4.$buffer0 = $rt_createCharArray(32); var$4.$autoFlush = 0; var$4.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$4; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var4, var$4, $var3$index, var$6, var$7, var$8, $var3$index_0, var$10, $ptr); }, nms_GuiBeacon_drawGuiContainerBackgroundLayer = ($this, $par1, $par2, $par3) => { let var$4, $var4, var$6, $var5, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiBeacon_$callClinit(); var$4 = nms_GuiBeacon_beaconGuiTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$4); if ($rt_suspending()) { break main; } $par2 = $this.$width; $par3 = $this.$xSize; $var4 = ($par2 - $par3 | 0) / 2 | 0; $par2 = $this.$height; var$6 = $this.$ySize; $var5 = ($par2 - var$6 | 0) / 2 | 0; nms_Gui_drawTexturedModalRect($this, $var4, $var5, 0, 0, $par3, var$6); nms_GuiContainer_$callClinit(); var$4 = nms_GuiContainer_itemRenderer; var$4.$zLevel0 = 100.0; var$8 = $this.$fontRenderer; var$9 = $this.$mc.$renderEngine; var$10 = new nms_ItemStack; nms_Item_$callClinit(); var$11 = nms_Item_emerald; nms_ItemStack_$callClinit(); var$10.$itemID = var$11.$itemID0; var$10.$stackSize = 1; var$10.$itemDamage = 0; $par2 = $var4 + 42 | 0; $var5 = $var5 + 109 | 0; $ptr = 2; case 2: nms_RenderItem_renderItemAndEffectIntoGUI(var$4, var$8, var$9, var$10, $par2, $var5); if ($rt_suspending()) { break main; } var$8 = nms_GuiContainer_itemRenderer; var$10 = $this.$fontRenderer; var$4 = $this.$mc.$renderEngine; var$11 = new nms_ItemStack; var$11.$itemID = nms_Item_diamond.$itemID0; var$11.$stackSize = 1; var$11.$itemDamage = 0; $par3 = $par2 + 22 | 0; $ptr = 3; case 3: nms_RenderItem_renderItemAndEffectIntoGUI(var$8, var$10, var$4, var$11, $par3, $var5); if ($rt_suspending()) { break main; } var$4 = nms_GuiContainer_itemRenderer; var$8 = $this.$fontRenderer; var$9 = $this.$mc.$renderEngine; var$10 = new nms_ItemStack; var$10.$itemID = nms_Item_ingotGold.$itemID0; var$10.$stackSize = 1; var$10.$itemDamage = 0; $par3 = $par2 + 44 | 0; $ptr = 4; case 4: nms_RenderItem_renderItemAndEffectIntoGUI(var$4, var$8, var$9, var$10, $par3, $var5); if ($rt_suspending()) { break main; } var$4 = nms_GuiContainer_itemRenderer; var$8 = $this.$fontRenderer; var$9 = $this.$mc.$renderEngine; var$10 = new nms_ItemStack; var$10.$itemID = nms_Item_ingotIron.$itemID0; var$10.$stackSize = 1; var$10.$itemDamage = 0; $par2 = $par2 + 66 | 0; $ptr = 5; case 5: nms_RenderItem_renderItemAndEffectIntoGUI(var$4, var$8, var$9, var$10, $par2, $var5); if ($rt_suspending()) { break main; } nms_GuiContainer_itemRenderer.$zLevel0 = 0.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, var$6, $var5, var$8, var$9, var$10, var$11, $ptr); }, nms_GuiBeacon__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3923); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiBeacon_beaconGuiTextures = var$1; }; function nms_GuiRepair() { let a = this; nms_GuiContainer.call(a); a.$repairContainer = null; a.$itemNameField = null; a.$field_82325_q = null; } let nms_GuiRepair_anvilGuiTextures = null, nms_GuiRepair_$callClinit = () => { nms_GuiRepair_$callClinit = $rt_eraseClinit(nms_GuiRepair); nms_GuiRepair__clinit_(); }, nms_GuiRepair_initGui = $this => { let $var1, $var2, var$3, var$4, var$5; $this.$mc.$thePlayer.$openContainer = $this.$inventorySlots0; $var1 = ($this.$width - $this.$xSize | 0) / 2 | 0; $this.$guiLeft = $var1; $var2 = ($this.$height - $this.$ySize | 0) / 2 | 0; $this.$guiTop = $var2; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; var$3 = nms_GuiTextField__init_($this.$fontRenderer, $var1 + 62 | 0, $var2 + 24 | 0, 103, 12); $this.$itemNameField = var$3; var$3.$enabledColor = (-1); var$3.$disabledColor = (-1); var$3.$enableBackgroundDrawing = 0; var$3.$maxStringLength = 40; if (var$3.$text.$nativeString.length > 40) var$3.$text = jl_String_substring(var$3.$text, 0, 40); var$3 = $this.$inventorySlots0.$crafters; $var2 = var$3.$size0; var$4 = 0; a: { while (true) { $var1 = $rt_compare(var$4, $var2); if ($var1 >= 0) { var$4 = (-1); break a; } if (var$4 < 0) break; if ($var1 >= 0) break; var$5 = var$3.$array.data[var$4]; if ($this === var$5 ? 1 : $this === null ? (var$5 !== null ? 0 : 1) : $this !== var$5 ? 0 : 1) break a; var$4 = var$4 + 1 | 0; } var$3 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } if (var$4 >= 0) ju_ArrayList_remove(var$3, var$4); $this.$inventorySlots0.$addCraftingToCrafters($this); }, nms_GuiRepair_onGuiClosed = $this => { let var$1, var$2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$mc.$thePlayer; if (var$1 === null) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; var$1 = $this.$inventorySlots0.$crafters; var$2 = var$1.$size0; var$3 = 0; a: { while (true) { var$4 = $rt_compare(var$3, var$2); if (var$4 >= 0) { var$3 = (-1); break a; } if (var$3 < 0) break; if (var$4 >= 0) break; var$5 = var$1.$array.data[var$3]; if ($this === var$5 ? 1 : $this === null ? (var$5 !== null ? 0 : 1) : $this !== var$5 ? 0 : 1) break a; var$3 = var$3 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } if (var$3 >= 0) ju_ArrayList_remove(var$1, var$3); return; } var$5 = $this.$inventorySlots0; $ptr = 1; case 1: var$5.$onContainerClosed(var$1); if ($rt_suspending()) { break main; } nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; var$1 = $this.$inventorySlots0.$crafters; var$2 = var$1.$size0; var$3 = 0; b: { while (true) { var$4 = $rt_compare(var$3, var$2); if (var$4 >= 0) { var$3 = (-1); break b; } if (var$3 < 0) break; if (var$4 >= 0) break; var$5 = var$1.$array.data[var$3]; if ($this === var$5 ? 1 : $this === null ? (var$5 !== null ? 0 : 1) : $this !== var$5 ? 0 : 1) break b; var$3 = var$3 + 1 | 0; } var$1 = new jl_IndexOutOfBoundsException; jl_Throwable__init_(var$1); $rt_throw(var$1); } if (var$3 >= 0) ju_ArrayList_remove(var$1, var$3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, $ptr); }, nms_GuiRepair_drawGuiContainerForegroundLayer = ($this, $par1, $par2) => { let var$3, var$4, $var3, $var4, var$7, $var5, $var6, $var7, $var8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_glDisable(2896); var$3 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3924)); $par1 = 60; $par2 = 6; $var3 = 4210752; var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; $var4 = 0; $ptr = 1; case 1: nms_FontRenderer_renderString(var$3, var$4, $par1, $par2, $var3, $var4); if ($rt_suspending()) { break main; } $par1 = $this.$repairContainer.$maximumCost; if ($par1 > 0) { $var3 = 8453920; $var4 = 1; var$7 = $rt_createArray(jl_Object, 1); if ($par1 >= (-128) && $par1 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[$par1 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = $par1; } var$7.data[0] = var$4; $var5 = nms_StringTranslate_translateKeyFormat(nms_StatCollector_localizedName, $rt_s(3925), var$7); var$4 = $this.$repairContainer; if (var$4.$maximumCost >= 40 && !$this.$mc.$thePlayer.$capabilities.$isCreativeMode) { $var5 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3926)); $var3 = 16736352; } else { var$4 = var$4.$inventorySlots; if (2 >= var$4.$size0) { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if (!var$4.$array.data[2].$getHasStack()) $var4 = 0; else { var$4 = $this.$repairContainer.$inventorySlots; if (2 >= var$4.$size0) { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if (!var$4.$array.data[2].$canTakeStack($this.$field_82325_q.$player)) $var3 = 16736352; } } if ($var4) { $var6 = (-16777216) | ($var3 & 16579836) >> 2 | $var3 & (-16777216); $var7 = ($this.$xSize - 8 | 0) - nms_FontRenderer_getStringWidth($this.$fontRenderer, $var5) | 0; $var8 = 67; var$4 = $this.$fontRenderer; if (!var$4.$unicodeFlag) { $par1 = 68; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; $par2 = 0; $ptr = 2; continue main; } nms_Gui_drawRect($var7 - 3 | 0, 65, $this.$xSize - 7 | 0, 77, (-16777216)); nms_Gui_drawRect($var7 - 2 | 0, 66, $this.$xSize - 8 | 0, 76, (-12895429)); var$4 = $this.$fontRenderer; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; $par1 = 0; $ptr = 5; continue main; } } nleg_EaglerAdapterGL30_glEnable(2896); return; case 2: nms_FontRenderer_renderString(var$4, $var5, $var7, $par1, $var6, $par2); if ($rt_suspending()) { break main; } var$4 = $this.$fontRenderer; $par2 = $var7 + 1 | 0; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; $var4 = 0; $ptr = 3; case 3: nms_FontRenderer_renderString(var$4, $var5, $par2, $var8, $var6, $var4); if ($rt_suspending()) { break main; } var$4 = $this.$fontRenderer; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; $var4 = 0; $ptr = 4; case 4: nms_FontRenderer_renderString(var$4, $var5, $par2, $par1, $var6, $var4); if ($rt_suspending()) { break main; } var$4 = $this.$fontRenderer; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; $par1 = 0; $ptr = 5; case 5: nms_FontRenderer_renderString(var$4, $var5, $var7, $var8, $var3, $par1); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(2896); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, $var3, $var4, var$7, $var5, $var6, $var7, $var8, $ptr); }, nms_GuiRepair_keyTyped = ($this, $par1, $par2) => { let var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$itemNameField; $ptr = 1; case 1: $tmp = nms_GuiTextField_textboxKeyTyped(var$3, $par1, $par2); if ($rt_suspending()) { break main; } var$4 = $tmp; if (var$4) { nms_GuiRepair_func_135015_g($this); return; } $ptr = 2; case 2: nms_GuiContainer_keyTyped($this, $par1, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, $ptr); }, nms_GuiRepair_func_135015_g = $this => { let $var1, var$2, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $$je; $var1 = $this.$itemNameField.$text; var$2 = $this.$repairContainer.$inventorySlots; if (0 < var$2.$size0) { $var2 = var$2.$array.data[0]; if ($var2 !== null && $var2.$getHasStack()) { var$2 = $var2.$getStack(); var$4 = var$2.$stackTagCompound; if (var$4 === null) var$5 = 0; else { a: { var$4 = var$4.$tagMap; if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { b: { var$8 = var$4.$key; if ($rt_s(1525) !== var$8) { if ($rt_s(1525) === var$8) var$5 = 1; else if (!(var$8 instanceof jl_String)) var$5 = 0; else { var$8 = var$8; var$5 = $rt_s(1525).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break b; } } var$5 = 1; } if (var$5) break; } var$4 = var$4.$next3; } if (var$4 === null ? 0 : 1) { c: { var$2 = var$2.$stackTagCompound; var$4 = var$2.$tagMap; if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { d: { var$8 = var$4.$key; if ($rt_s(1525) !== var$8) { if ($rt_s(1525) !== var$8) { if (var$8 instanceof jl_String) { var$8 = var$8; var$5 = $rt_s(1525).$nativeString !== var$8.$nativeString ? 0 : 1; } else var$5 = 0; } else var$5 = 1; if (!var$5) { var$5 = 0; break d; } } var$5 = 1; } if (var$5) break; } var$4 = var$4.$next3; } if (!(var$4 === null ? 0 : 1)) { var$4 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$4.$name = $rt_s(1525); else var$4.$name = $rt_s(18); var$2 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$9.data; var$2.$elementData = var$9; var$2.$loadFactor = 0.75; var$2.$threshold = var$7.length * 0.75 | 0; var$4.$tagMap = var$2; } else { var$2 = var$2.$tagMap; if ($rt_s(1525) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { f: { var$4 = var$2.$key; if ($rt_s(1525) !== var$4) { if ($rt_s(1525) === var$4) var$5 = 1; else if (!(var$4 instanceof jl_String)) var$5 = 0; else { var$4 = var$4; var$5 = $rt_s(1525).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break f; } } var$5 = 1; } if (var$5) break; } var$2 = var$2.$next3; } } var$4 = var$2 === null ? null : var$2.$value1; } g: { var$10 = var$4.$tagMap; if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$7 = var$10.$elementData.data; var$10 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$6) { h: { var$4 = var$10.$key; if ($rt_s(1526) !== var$4) { if ($rt_s(1526) !== var$4) { if (var$4 instanceof jl_String) { var$4 = var$4; var$5 = $rt_s(1526).$nativeString !== var$4.$nativeString ? 0 : 1; } else var$5 = 0; } else var$5 = 1; if (!var$5) { var$5 = 0; break h; } } var$5 = 1; } if (var$5) break; } var$10 = var$10.$next3; } var$5 = var$10 === null ? 0 : 1; } else var$5 = 0; } if (!var$5) { var$2 = $var2.$getStack(); nms_Item_$callClinit(); var$10 = nms_Item_itemsList.data[var$2.$itemID].$getItemDisplayName(var$2); var$4 = var$2.$stackTagCompound; if (var$4 !== null) { i: { var$4 = var$4.$tagMap; if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break i; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = var$4.$elementData.data; var$4 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { j: { var$8 = var$4.$key; if ($rt_s(1525) !== var$8) { if ($rt_s(1525) !== var$8) { if (var$8 instanceof jl_String) { var$8 = var$8; var$5 = $rt_s(1525).$nativeString !== var$8.$nativeString ? 0 : 1; } else var$5 = 0; } else var$5 = 1; if (!var$5) { var$5 = 0; break j; } } var$5 = 1; } if (var$5) break; } var$4 = var$4.$next3; } if (var$4 === null ? 0 : 1) { k: { var$11 = var$2.$stackTagCompound; var$2 = var$11.$tagMap; if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break k; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = var$2.$elementData.data; var$2 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$6) { l: { var$4 = var$2.$key; if ($rt_s(1525) !== var$4) { if ($rt_s(1525) !== var$4) { if (var$4 instanceof jl_String) { var$4 = var$4; var$5 = $rt_s(1525).$nativeString !== var$4.$nativeString ? 0 : 1; } else var$5 = 0; } else var$5 = 1; if (!var$5) { var$5 = 0; break l; } } var$5 = 1; } if (var$5) break; } var$2 = var$2.$next3; } if (!(var$2 === null ? 0 : 1)) { var$8 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$8.$name = $rt_s(1525); else var$8.$name = $rt_s(18); var$2 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$2.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$9 = var$7.data; var$2.$elementData = var$7; var$2.$loadFactor = 0.75; var$2.$threshold = var$9.length * 0.75 | 0; var$8.$tagMap = var$2; } else { var$2 = var$11.$tagMap; if ($rt_s(1525) === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { m: { if (!$rt_s(1525).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1525).$nativeString.length) break m; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$12 = $rt_s(1525).$hashCode1; var$7 = var$2.$elementData.data; var$2 = var$7[var$12 & (var$7.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$12) { n: { var$4 = var$2.$key; if ($rt_s(1525) !== var$4) { if ($rt_s(1525) === var$4) var$5 = 1; else if (!(var$4 instanceof jl_String)) var$5 = 0; else { var$4 = var$4; var$5 = $rt_s(1525).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break n; } } var$5 = 1; } if (var$5) break; } var$2 = var$2.$next3; } } var$8 = var$2 === null ? null : var$2.$value1; } o: { var$2 = var$8.$tagMap; if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break o; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$12 = $rt_s(1526).$hashCode1; var$7 = var$2.$elementData.data; var$11 = var$7[var$12 & (var$7.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$12) { p: { var$2 = var$11.$key; if ($rt_s(1526) !== var$2) { if ($rt_s(1526) === var$2) var$5 = 1; else if (!(var$2 instanceof jl_String)) var$5 = 0; else { var$2 = var$2; var$5 = $rt_s(1526).$nativeString !== var$2.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break p; } } var$5 = 1; } if (var$5) break; } var$11 = var$11.$next3; } if (var$11 === null ? 0 : 1) { q: { var$10 = var$8.$tagMap; if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break q; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$7 = var$10.$elementData.data; var$10 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$6) { r: { var$4 = var$10.$key; if ($rt_s(1526) !== var$4) { if ($rt_s(1526) === var$4) var$5 = 1; else if (!(var$4 instanceof jl_String)) var$5 = 0; else { var$4 = var$4; var$5 = $rt_s(1526).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break r; } } var$5 = 1; } if (var$5) break; } var$10 = var$10.$next3; } if (!(var$10 === null ? 0 : 1)) var$10 = $rt_s(18); else { var$10 = var$8.$tagMap; if ($rt_s(1526) === null) { var$10 = var$10.$elementData.data[0]; while (var$10 !== null && var$10.$key !== null) { var$10 = var$10.$next3; } } else { s: { if (!$rt_s(1526).$hashCode1) { var$5 = 0; while (true) { if (var$5 >= $rt_s(1526).$nativeString.length) break s; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$5) | 0; var$5 = var$5 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$7 = var$10.$elementData.data; var$10 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$10 !== null) { if (var$10.$origKeyHash == var$6) { t: { var$4 = var$10.$key; if ($rt_s(1526) !== var$4) { if ($rt_s(1526) === var$4) var$5 = 1; else if (!(var$4 instanceof jl_String)) var$5 = 0; else { var$4 = var$4; var$5 = $rt_s(1526).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$5) { var$5 = 0; break t; } } var$5 = 1; } if (var$5) break; } var$10 = var$10.$next3; } } var$10 = (var$10 === null ? null : var$10.$value1).$data1; } } } } if ($var1 === var$10) var$5 = 1; else if (!(var$10 instanceof jl_String)) var$5 = 0; else { var$2 = var$10; var$5 = $var1.$nativeString !== var$2.$nativeString ? 0 : 1; } if (var$5) $var1 = $rt_s(18); } } nms_ContainerRepair_updateItemName($this.$repairContainer, $var1); var$10 = $this.$mc.$thePlayer.$sendQueue; var$4 = new nms_Packet250CustomPayload; var$8 = jnci_UTF8Charset_INSTANCE; var$7 = $rt_fastStringToCharArray($var1.$nativeString); var$12 = var$7.data.length; $var2 = new jn_CharBufferOverArray; var$13 = 0 + var$12 | 0; jl_Object__init_($var2); $var2.$mark = (-1); $var2.$capacity = var$12; $var2.$limit0 = var$12; $var2.$position0 = 0; $var2.$limit0 = var$13; $var2.$start1 = 0; $var2.$readOnly1 = 0; $var2.$array1 = var$7; u: { try { $var1 = jnc_CharsetEncoder_encode(jnc_CharsetEncoder_onUnmappableCharacter(jnc_CharsetEncoder_onMalformedInput(jnci_UTF8Charset_newEncoder(var$8), jnc_CodingErrorAction_REPLACE), jnc_CodingErrorAction_REPLACE), $var2); break u; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jnc_CharacterCodingException) { $var1 = $$je; } else { throw $$e; } } var$10 = new jl_AssertionError; var$10.$suppressionEnabled = 1; var$10.$writableStackTrace = 1; var$10.$message = $rt_s(405); var$10.$cause = $var1; $rt_throw(var$10); } var$6 = $var1.$position0; if (!var$6 && $var1.$limit0 == $var1.$capacity) var$7 = $var1.$array0; else { var$7 = $rt_createByteArray($var1.$limit0 - var$6 | 0); jn_ByteBuffer_get($var1, var$7, 0, var$7.data.length); } nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$4.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$4.$channel0 = $rt_s(3927); var$4.$data10 = var$7; if (var$7 !== null) { var$5 = var$7.data.length; var$4.$length4 = var$5; if (var$5 > 32767) { $var1 = new jl_IllegalArgumentException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $var1.$message = $rt_s(1124); $rt_throw($var1); } } if (!var$10.$disconnected) var$10.$netManager.$addToSendQueue(var$4); return; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }, nms_GuiRepair_mouseClicked = ($this, $par1, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiContainer_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } nms_GuiTextField_mouseClicked($this.$itemNameField, $par1, $par2, $par3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $ptr); }, nms_GuiRepair_drawScreen = ($this, $par1, $par2, $par3) => { let var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiContainer_drawScreen($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(2896); var$4 = $this.$itemNameField; $ptr = 2; case 2: nms_GuiTextField_drawTextBox(var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $ptr); }, nms_GuiRepair_drawGuiContainerBackgroundLayer = ($this, $par1, $par2, $par3) => { let var$4, $var4, var$6, $var5, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiRepair_$callClinit(); var$4 = nms_GuiRepair_anvilGuiTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$4); if ($rt_suspending()) { break main; } $par2 = $this.$width; $par3 = $this.$xSize; $var4 = ($par2 - $par3 | 0) / 2 | 0; $par2 = $this.$height; var$6 = $this.$ySize; $var5 = ($par2 - var$6 | 0) / 2 | 0; nms_Gui_drawTexturedModalRect($this, $var4, $var5, 0, 0, $par3, var$6); $par3 = $var4 + 59 | 0; var$6 = $var5 + 20 | 0; var$8 = $this.$ySize; var$4 = $this.$repairContainer.$inventorySlots; if (0 >= var$4.$size0) { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } nms_Gui_drawTexturedModalRect($this, $par3, var$6, 0, var$8 + (!var$4.$array.data[0].$getHasStack() ? 16 : 0) | 0, 110, 16); var$4 = $this.$repairContainer.$inventorySlots; if (0 >= var$4.$size0) { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } a: { if (!var$4.$array.data[0].$getHasStack()) { var$4 = $this.$repairContainer.$inventorySlots; if (1 >= var$4.$size0) { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if (!var$4.$array.data[1].$getHasStack()) break a; } var$4 = $this.$repairContainer.$inventorySlots; if (2 >= var$4.$size0) { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if (!var$4.$array.data[2].$getHasStack()) nms_Gui_drawTexturedModalRect($this, $var4 + 99 | 0, $var5 + 45 | 0, $this.$xSize, 0, 28, 21); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, var$6, $var5, var$8, $ptr); }, nms_GuiRepair_sendContainerAndContentsToPlayer = ($this, $par1Container, $par2List) => { $par2List = $par1Container.$inventorySlots; if (0 < $par2List.$size0) { nms_GuiRepair_sendSlotContents($this, $par1Container, 0, $par2List.$array.data[0].$getStack()); return; } $par1Container = new jl_IndexOutOfBoundsException; $par1Container.$suppressionEnabled = 1; $par1Container.$writableStackTrace = 1; $rt_throw($par1Container); }, nms_GuiRepair_sendSlotContents = ($this, $par1Container, $par2, $par3ItemStack) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; if (!$par2) { $par1Container = $this.$itemNameField; if ($par3ItemStack !== null) { nms_Item_$callClinit(); var$4 = nms_Item_itemsList.data[$par3ItemStack.$itemID].$getItemDisplayName($par3ItemStack); var$5 = $par3ItemStack.$stackTagCompound; if (var$5 !== null) { a: { var$5 = var$5.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break a; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = var$5.$elementData.data; var$5 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$6) { b: { var$8 = var$5.$key; if ($rt_s(1525) !== var$8) { if ($rt_s(1525) === var$8) $par2 = 1; else if (!(var$8 instanceof jl_String)) $par2 = 0; else { var$8 = var$8; $par2 = $rt_s(1525).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break b; } } $par2 = 1; } if ($par2) break; } var$5 = var$5.$next3; } if (var$5 === null ? 0 : 1) { c: { var$5 = $par3ItemStack.$stackTagCompound; var$8 = var$5.$tagMap; if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break c; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = var$8.$elementData.data; var$8 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$8 !== null) { if (var$8.$origKeyHash == var$6) { d: { var$9 = var$8.$key; if ($rt_s(1525) !== var$9) { if ($rt_s(1525) === var$9) $par2 = 1; else if (var$9 instanceof jl_String) { var$9 = var$9; $par2 = $rt_s(1525).$nativeString !== var$9.$nativeString ? 0 : 1; } else $par2 = 0; if (!$par2) { $par2 = 0; break d; } } $par2 = 1; } if ($par2) break; } var$8 = var$8.$next3; } if (!(var$8 === null ? 0 : 1)) { var$9 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$9.$name = $rt_s(1525); else var$9.$name = $rt_s(18); var$5 = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); var$5.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$7 = var$10.data; var$5.$elementData = var$10; var$5.$loadFactor = 0.75; var$5.$threshold = var$7.length * 0.75 | 0; var$9.$tagMap = var$5; } else { var$5 = var$5.$tagMap; if ($rt_s(1525) === null) { var$5 = var$5.$elementData.data[0]; while (var$5 !== null && var$5.$key !== null) { var$5 = var$5.$next3; } } else { e: { if (!$rt_s(1525).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1525).$nativeString.length) break e; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } var$6 = $rt_s(1525).$hashCode1; var$7 = var$5.$elementData.data; var$5 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$5 !== null) { if (var$5.$origKeyHash == var$6) { f: { var$8 = var$5.$key; if ($rt_s(1525) !== var$8) { if ($rt_s(1525) === var$8) $par2 = 1; else if (!(var$8 instanceof jl_String)) $par2 = 0; else { var$8 = var$8; $par2 = $rt_s(1525).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break f; } } $par2 = 1; } if ($par2) break; } var$5 = var$5.$next3; } } var$9 = var$5 === null ? null : var$5.$value1; } g: { var$11 = var$9.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break g; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$7 = var$11.$elementData.data; var$11 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$6) { h: { var$8 = var$11.$key; if ($rt_s(1526) !== var$8) { if ($rt_s(1526) === var$8) $par2 = 1; else if (!(var$8 instanceof jl_String)) $par2 = 0; else { var$8 = var$8; $par2 = $rt_s(1526).$nativeString !== var$8.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break h; } } $par2 = 1; } if ($par2) break; } var$11 = var$11.$next3; } if (var$11 === null ? 0 : 1) { i: { var$11 = var$9.$tagMap; if (!$rt_s(1526).$hashCode1) { $par2 = 0; while (true) { if ($par2 >= $rt_s(1526).$nativeString.length) break i; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$7 = var$11.$elementData.data; var$11 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$6) { j: { var$4 = var$11.$key; if ($rt_s(1526) !== var$4) { if ($rt_s(1526) === var$4) $par2 = 1; else if (!(var$4 instanceof jl_String)) $par2 = 0; else { var$4 = var$4; $par2 = $rt_s(1526).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break j; } } $par2 = 1; } if ($par2) break; } var$11 = var$11.$next3; } if (!(var$11 === null ? 0 : 1)) var$4 = $rt_s(18); else { var$11 = var$9.$tagMap; if ($rt_s(1526) === null) { var$11 = var$11.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { k: { if (!$rt_s(1526).$hashCode1) { var$12 = 0; while (true) { if (var$12 >= $rt_s(1526).$nativeString.length) break k; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt(var$12) | 0; var$12 = var$12 + 1 | 0; } } } var$6 = $rt_s(1526).$hashCode1; var$7 = var$11.$elementData.data; var$11 = var$7[var$6 & (var$7.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$6) { l: { var$4 = var$11.$key; if ($rt_s(1526) !== var$4) { if ($rt_s(1526) === var$4) $par2 = 1; else if (!(var$4 instanceof jl_String)) $par2 = 0; else { var$4 = var$4; $par2 = $rt_s(1526).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break l; } } $par2 = 1; } if ($par2) break; } var$11 = var$11.$next3; } } var$4 = (var$11 === null ? null : var$11.$value1).$data1; } } } } } else var$4 = $rt_s(18); $par2 = var$4.$nativeString.length; var$12 = $par1Container.$maxStringLength; if ($par2 <= var$12) $par1Container.$text = var$4; else $par1Container.$text = jl_String_substring(var$4, 0, var$12); $par1Container.$cursorPosition = $par1Container.$text.$nativeString.length; var$12 = $par1Container.$text.$nativeString.length; if ($par1Container.$cursorPosition < 0) $par1Container.$cursorPosition = 0; if ($par1Container.$cursorPosition > var$12) $par1Container.$cursorPosition = var$12; nms_GuiTextField_setSelectionPos($par1Container, $par1Container.$cursorPosition); $this.$itemNameField.$isEnabled = $par3ItemStack === null ? 0 : 1; if ($par3ItemStack !== null) nms_GuiRepair_func_135015_g($this); } }, nms_GuiRepair_sendProgressBarUpdate = ($this, $par1Container, $par2, $par3) => { return; }, nms_GuiRepair__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3928); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiRepair_anvilGuiTextures = var$1; }; function nms_GuiScreenHorseInventory() { let a = this; nms_GuiContainer.call(a); a.$field_110413_u = null; a.$field_110412_v = null; a.$field_110411_w = null; a.$field_110416_x = 0.0; a.$field_110415_y = 0.0; } let nms_GuiScreenHorseInventory_horseGuiTextures = null, nms_GuiScreenHorseInventory_$callClinit = () => { nms_GuiScreenHorseInventory_$callClinit = $rt_eraseClinit(nms_GuiScreenHorseInventory); nms_GuiScreenHorseInventory__clinit_(); }, nms_GuiScreenHorseInventory_drawGuiContainerForegroundLayer = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$fontRenderer; var$4 = $this.$field_110412_v; if (var$4.$field_94051_e) var$4 = var$4.$inventoryTitle; else { var$5 = var$4.$inventoryTitle; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$5); } $par1 = 8; $par2 = 6; var$6 = 4210752; var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; var$7 = 0; $ptr = 1; case 1: nms_FontRenderer_renderString(var$3, var$4, $par1, $par2, var$6, var$7); if ($rt_suspending()) { break main; } var$3 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3827)); $par2 = 8; var$6 = ($this.$ySize - 96 | 0) + 2 | 0; var$7 = 4210752; var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; $par1 = 0; $ptr = 2; case 2: nms_FontRenderer_renderString(var$3, var$4, $par2, var$6, var$7, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, $ptr); }, nms_GuiScreenHorseInventory_drawGuiContainerBackgroundLayer = ($this, $par1, $par2, $par3) => { let var$4, $var4, var$6, $var5, var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var5 = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiScreenHorseInventory_$callClinit(); var$4 = nms_GuiScreenHorseInventory_horseGuiTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$4); if ($rt_suspending()) { break main; } $par2 = $this.$width; $par3 = $this.$xSize; $var4 = ($par2 - $par3 | 0) / 2 | 0; $par2 = $this.$height; var$6 = $this.$ySize; $var5 = ($par2 - var$6 | 0) / 2 | 0; nms_Gui_drawTexturedModalRect($this, $var4, $var5, 0, 0, $par3, var$6); var$4 = $this.$field_110411_w.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[144]; if (var$8 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$9 = var$8.$value0; var$10 = var$4.$elementData.data; var$4 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$9) { var$11 = var$4.$key; if (var$8 !== var$11 && !jl_Integer_equals(var$8, var$11) ? 0 : 1) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; if (!(var$4.$watchedObject.$value0 & 8) ? 0 : 1) nms_Gui_drawTexturedModalRect($this, $var4 + 79 | 0, $var5 + 17 | 0, 0, $this.$ySize, 90, 54); var$4 = $this.$field_110411_w.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[147]; if (var$8 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { var$6 = var$8.$value0; var$10 = var$4.$elementData.data; var$4 = var$10[var$6 & (var$10.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$6) { var$11 = var$4.$key; if (var$8 !== var$11 && !jl_Integer_equals(var$8, var$11) ? 0 : 1) break; } var$4 = var$4.$next3; } } if ((var$4 === null ? null : var$4.$value1).$watchedObject.$value2 ? 0 : 1) nms_Gui_drawTexturedModalRect($this, $var4 + 7 | 0, $var5 + 35 | 0, 0, $this.$ySize + 54 | 0, 18, 18); $par2 = $var4 + 51 | 0; $par3 = $var5 + 60 | 0; $var4 = 17; $par1 = $par2 - $this.$field_110416_x; var$12 = (($var5 + 75 | 0) - 50 | 0) - $this.$field_110415_y; var$4 = $this.$field_110411_w; $ptr = 2; case 2: nms_GuiInventory_func_110423_a($par2, $par3, $var4, $par1, var$12, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, var$6, $var5, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_GuiScreenHorseInventory_drawScreen = ($this, $par1, $par2, $par3) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$field_110416_x = $par1; $this.$field_110415_y = $par2; $ptr = 1; case 1: nms_GuiContainer_drawScreen($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $ptr); }, nms_GuiScreenHorseInventory__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3929); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiScreenHorseInventory_horseGuiTextures = var$1; }; function nms_GuiDispenser() { nms_GuiContainer.call(this); this.$theDispenser = null; } let nms_GuiDispenser_dispenserGuiTextures = null, nms_GuiDispenser_$callClinit = () => { nms_GuiDispenser_$callClinit = $rt_eraseClinit(nms_GuiDispenser); nms_GuiDispenser__clinit_(); }, nms_GuiDispenser_drawGuiContainerForegroundLayer = ($this, $par1, $par2) => { let $var3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$theDispenser; if ($var3.$customName === null ? 0 : 1) $var3 = $var3.$getInvName(); else { $var3 = $var3.$getInvName(); nms_StatCollector_$callClinit(); $var3 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $var3); } var$4 = $this.$fontRenderer; $par1 = ($this.$xSize / 2 | 0) - (nms_FontRenderer_getStringWidth(var$4, $var3) / 2 | 0) | 0; $par2 = 6; var$5 = 4210752; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; var$6 = 0; $ptr = 1; case 1: nms_FontRenderer_renderString(var$4, $var3, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } $var3 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3827)); $par2 = 8; var$5 = ($this.$ySize - 96 | 0) + 2 | 0; var$6 = 4210752; $var3.$randomStyle = 0; $var3.$boldStyle = 0; $var3.$italicStyle = 0; $var3.$underlineStyle = 0; $var3.$strikethroughStyle = 0; $par1 = 0; $ptr = 2; case 2: nms_FontRenderer_renderString($var3, var$4, $par2, var$5, var$6, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, var$5, var$6, $ptr); }, nms_GuiDispenser_drawGuiContainerBackgroundLayer = ($this, $par1, $par2, $par3) => { let var$4, $var4, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiDispenser_$callClinit(); var$4 = nms_GuiDispenser_dispenserGuiTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$4); if ($rt_suspending()) { break main; } $par2 = $this.$width; $par3 = $this.$xSize; $var4 = ($par2 - $par3 | 0) / 2 | 0; $par2 = $this.$height; var$6 = $this.$ySize; nms_Gui_drawTexturedModalRect($this, $var4, ($par2 - var$6 | 0) / 2 | 0, 0, 0, $par3, var$6); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, var$6, $ptr); }, nms_GuiDispenser__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3930); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiDispenser_dispenserGuiTextures = var$1; }; function nms_GuiHopper() { let a = this; nms_GuiContainer.call(a); a.$field_94081_r = null; a.$field_94080_s = null; } let nms_GuiHopper_hopperGuiTextures = null, nms_GuiHopper_$callClinit = () => { nms_GuiHopper_$callClinit = $rt_eraseClinit(nms_GuiHopper); nms_GuiHopper__clinit_(); }, nms_GuiHopper_drawGuiContainerForegroundLayer = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$fontRenderer; if ($this.$field_94080_s.$isInvNameLocalized()) var$4 = $this.$field_94080_s.$getInvName(); else { var$4 = $this.$field_94080_s.$getInvName(); nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$4); } $par1 = 8; $par2 = 6; var$5 = 4210752; var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; var$6 = 0; $ptr = 1; case 1: nms_FontRenderer_renderString(var$3, var$4, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } var$3 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3827)); $par1 = 8; $par2 = ($this.$ySize - 96 | 0) + 2 | 0; var$5 = 4210752; var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; var$6 = 0; $ptr = 2; case 2: nms_FontRenderer_renderString(var$3, var$4, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, $ptr); }, nms_GuiHopper_drawGuiContainerBackgroundLayer = ($this, $par1, $par2, $par3) => { let var$4, $var4, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiHopper_$callClinit(); var$4 = nms_GuiHopper_hopperGuiTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$4); if ($rt_suspending()) { break main; } $par2 = $this.$width; $par3 = $this.$xSize; $var4 = ($par2 - $par3 | 0) / 2 | 0; $par2 = $this.$height; var$6 = $this.$ySize; nms_Gui_drawTexturedModalRect($this, $var4, ($par2 - var$6 | 0) / 2 | 0, 0, 0, $par3, var$6); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, var$6, $ptr); }, nms_GuiHopper__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3931); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiHopper_hopperGuiTextures = var$1; }; function nms_GuiBrewingStand() { nms_GuiContainer.call(this); this.$brewingStand = null; } let nms_GuiBrewingStand_brewingStandGuiTextures = null, nms_GuiBrewingStand_$callClinit = () => { nms_GuiBrewingStand_$callClinit = $rt_eraseClinit(nms_GuiBrewingStand); nms_GuiBrewingStand__clinit_(); }, nms_GuiBrewingStand_drawGuiContainerForegroundLayer = ($this, $par1, $par2) => { let $var3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$brewingStand.$field_94132_e; if ($var3 !== null && $var3.$nativeString.length > 0 ? 1 : 0) { $var3 = $this.$brewingStand; var$4 = $var3.$field_94132_e; $var3 = !(var$4 !== null && var$4.$nativeString.length > 0 ? 1 : 0) ? $rt_s(3932) : $var3.$field_94132_e; } else { $var3 = $this.$brewingStand; var$4 = $var3.$field_94132_e; var$4 = !(var$4 !== null && var$4.$nativeString.length > 0 ? 1 : 0) ? $rt_s(3932) : $var3.$field_94132_e; nms_StatCollector_$callClinit(); $var3 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$4); } var$4 = $this.$fontRenderer; $par1 = ($this.$xSize / 2 | 0) - (nms_FontRenderer_getStringWidth(var$4, $var3) / 2 | 0) | 0; $par2 = 6; var$5 = 4210752; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; var$6 = 0; $ptr = 1; case 1: nms_FontRenderer_renderString(var$4, $var3, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } $var3 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3827)); $par1 = 8; $par2 = ($this.$ySize - 96 | 0) + 2 | 0; var$5 = 4210752; $var3.$randomStyle = 0; $var3.$boldStyle = 0; $var3.$italicStyle = 0; $var3.$underlineStyle = 0; $var3.$strikethroughStyle = 0; var$6 = 0; $ptr = 2; case 2: nms_FontRenderer_renderString($var3, var$4, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, var$5, var$6, $ptr); }, nms_GuiBrewingStand_drawGuiContainerBackgroundLayer = ($this, $par1, $par2, $par3) => { let var$4, $var4, $var7, $var5, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var7 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiBrewingStand_$callClinit(); var$4 = nms_GuiBrewingStand_brewingStandGuiTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$4); if ($rt_suspending()) { break main; } $par2 = $this.$width; $par3 = $this.$xSize; $var4 = ($par2 - $par3 | 0) / 2 | 0; $par2 = $this.$height; $var7 = $this.$ySize; $var5 = ($par2 - $var7 | 0) / 2 | 0; nms_Gui_drawTexturedModalRect($this, $var4, $var5, 0, 0, $par3, $var7); $var6 = $this.$brewingStand.$brewTime; if ($var6 > 0) { $var7 = 28.0 * (1.0 - $var6 / 400.0) | 0; if ($var7 > 0) nms_Gui_drawTexturedModalRect($this, $var4 + 97 | 0, $var5 + 16 | 0, 176, 0, 9, $var7); a: { switch (($var6 / 2 | 0) % 7 | 0) { case 0: $var7 = 29; break a; case 1: $var7 = 24; break a; case 2: $var7 = 20; break a; case 3: $var7 = 16; break a; case 4: $var7 = 11; break a; case 5: $var7 = 6; break a; case 6: $var7 = 0; break a; default: } } if ($var7 > 0) nms_Gui_drawTexturedModalRect($this, $var4 + 65 | 0, (($var5 + 14 | 0) + 29 | 0) - $var7 | 0, 185, 29 - $var7 | 0, 12, $var7); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, $var7, $var5, $var6, $ptr); }, nms_GuiBrewingStand__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3933); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiBrewingStand_brewingStandGuiTextures = var$1; }; function nms_GuiEnchantment() { let a = this; nms_GuiContainer.call(a); a.$rand7 = null; a.$containerEnchantment = null; a.$field_74214_o = 0; a.$field_74213_p = 0.0; a.$field_74212_q = 0.0; a.$field_74211_r = 0.0; a.$field_74210_s = 0.0; a.$field_74209_t = 0.0; a.$field_74208_u = 0.0; a.$theItemStack0 = null; a.$field_94079_C = null; } let nms_GuiEnchantment_enchantingTableGuiTextures = null, nms_GuiEnchantment_enchantingTableBookTextures = null, nms_GuiEnchantment_bookModel = null, nms_GuiEnchantment_$callClinit = () => { nms_GuiEnchantment_$callClinit = $rt_eraseClinit(nms_GuiEnchantment); nms_GuiEnchantment__clinit_(); }, nms_GuiEnchantment_drawGuiContainerForegroundLayer = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$fontRenderer; var$4 = $this.$field_94079_C; if (var$4 === null) { nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3100)); } $par1 = 12; $par2 = 5; var$5 = 4210752; var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; var$6 = 0; $ptr = 1; case 1: nms_FontRenderer_renderString(var$3, var$4, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } var$3 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3827)); $par2 = 8; var$5 = ($this.$ySize - 96 | 0) + 2 | 0; var$6 = 4210752; var$3.$randomStyle = 0; var$3.$boldStyle = 0; var$3.$italicStyle = 0; var$3.$underlineStyle = 0; var$3.$strikethroughStyle = 0; $par1 = 0; $ptr = 2; case 2: nms_FontRenderer_renderString(var$3, var$4, $par2, var$5, var$6, $par1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, $ptr); }, nms_GuiEnchantment_updateScreen = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { var$1 = $this.$mc.$thePlayer; if (!var$1.$isDead) { var$1 = var$1.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[134]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = jl_Integer_hashCode(var$2.$value0); var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null && !(var$1.$origKeyHash == var$3 && ju_HashMap_areEqualKeys(var$2, var$1.$key))) { var$1 = var$1.$next3; } } if ((var$1 === null ? null : var$1.$value1).$watchedObject.$value3 > 0.0) { var$5 = 1; break a; } } var$5 = 0; } if (var$5 && !$this.$mc.$thePlayer.$isDead) { nms_GuiEnchantment_func_74205_h($this); return; } var$1 = $this.$mc.$thePlayer; var$2 = var$1.$sendQueue; var$6 = new nms_Packet101CloseWindow; var$5 = var$1.$openContainer.$windowId; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$6.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$6.$windowId1 = var$5; if (!var$2.$disconnected) var$2.$netManager.$addToSendQueue(var$6); var$1.$inventory.$itemStack = null; var$1.$openContainer = var$1.$inventoryContainer; var$6 = var$1.$mc4; var$1 = null; $ptr = 1; case 1: nms_Minecraft_displayGuiScreen(var$6, var$1); if ($rt_suspending()) { break main; } nms_GuiEnchantment_func_74205_h($this); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_GuiEnchantment_mouseClicked = ($this, $par1, $par2, $par3) => { let $var4, $var5, $var6, $var7, $var8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_GuiContainer_mouseClicked($this, $par1, $par2, $par3); if ($rt_suspending()) { break main; } $var4 = ($this.$width - $this.$xSize | 0) / 2 | 0; $var5 = ($this.$height - $this.$ySize | 0) / 2 | 0; $var6 = 0; $var7 = $par1 - ($var4 + 60 | 0) | 0; $par3 = $var5 + 14 | 0; $var4 = $rt_compare($var7, 108); while ($var6 < 3) { $var8 = $par2 - ($par3 + (19 * $var6 | 0) | 0) | 0; if ($var7 >= 0 && $var8 >= 0 && $var4 < 0 && $var8 < 19 && nms_ContainerEnchantment_enchantItem($this.$containerEnchantment, $this.$mc.$thePlayer, $var6)) { var$9 = $this.$mc.$playerController; $par1 = $this.$containerEnchantment.$windowId; var$10 = var$9.$netClientHandler; var$11 = new nms_Packet108EnchantItem; nms_Packet_$callClinit(); nlea_EaglerAdapterImpl2_$callClinit(); var$11.$creationTimeMillis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); var$11.$windowId3 = $par1; var$11.$enchantment = $var6; if (!var$10.$disconnected) var$10.$netManager.$addToSendQueue(var$11); } $var6 = $var6 + 1 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var4, $var5, $var6, $var7, $var8, var$9, var$10, var$11, $ptr); }, nms_GuiEnchantment_drawGuiContainerBackgroundLayer = ($this, $par1, $par2, $par3) => { let $var6, var$5, $var19, $var4, $var12, $var5, $var13, $var8, $var9, $var7, $var10, $var11, var$16, var$17, var$18, var$19, var$20, var$21, $var18, var$23, var$24, $var14, var$26, var$27, var$28, $var16, $var17, var$31, var$32, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$32 = $thread.pop();var$31 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();var$26 = $thread.pop();$var14 = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();$var18 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var7 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$var13 = $thread.pop();$var5 = $thread.pop();$var12 = $thread.pop();$var4 = $thread.pop();$var19 = $thread.pop();var$5 = $thread.pop();$var6 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiEnchantment_$callClinit(); $var6 = nms_GuiEnchantment_enchantingTableGuiTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var6); if ($rt_suspending()) { break main; } var$5 = $this.$width; $var19 = $this.$xSize; $var4 = (var$5 - $var19 | 0) / 2 | 0; var$5 = $this.$height; $var12 = $this.$ySize; $var5 = (var$5 - $var12 | 0) / 2 | 0; nms_Gui_drawTexturedModalRect($this, $var4, $var5, 0, 0, $var19, $var12); nleg_EaglerAdapterGL30_glPushMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5889; nleg_EaglerAdapterGL30_glPushMatrix(); nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); $var6 = new nms_ScaledResolution; $var13 = $this.$mc; nms_ScaledResolution__init_0($var6, $var13.$gameSettings, $var13.$displayWidth, $var13.$displayHeight); var$5 = ($var6.$scaledWidth - 320 | 0) / 2 | 0; $var19 = $var6.$scaleFactor0; nlea_EaglerAdapterImpl2__wglViewport($rt_imul(var$5, $var19), $rt_imul(($var6.$scaledHeight - 240 | 0) / 2 | 0, $var19), 320 * $var19 | 0, 240 * $var19 | 0); $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = (-0.3400000035762787); $var6.$y = 0.23000000417232513; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var13 = new ji_ByteArrayOutputStream; $var13.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var13; $var13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var13, 16); $var6.$sb = $var13; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_gluPerspective(90.0, 1.3333333730697632, 9.0, 80.0); nleg_EaglerAdapterGL30_matrixMode = 5888; nlegv_Matrix4f_setIdentity(nleg_EaglerAdapterGL30_getMatrixIncrSerial()); nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 3.299999952316284; $var6.$z = (-16.0); $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var13 = new otcic_JSStderrPrintStream; $var6 = new ji_ByteArrayOutputStream; $var6.$buf = $rt_createByteArray(32); jl_Object__init_($var13); $var13.$out0 = $var6; $var6 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var6, 16); $var13.$sb = $var6; $var13.$buffer0 = $rt_createCharArray(32); $var13.$autoFlush = 0; $var13.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var13; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 1.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var13 = new ji_ByteArrayOutputStream; $var13.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var13; $var13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var13, 16); $var6.$sb = $var13; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 5.0; $var6.$y = 5.0; $var6.$z = 5.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var13 = new ji_ByteArrayOutputStream; $var13.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var13; $var13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var13, 16); $var6.$sb = $var13; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 0.0; $var6.$z = 1.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); $var8 = 3.1415927410125732; nlegv_Matrix4f_rotate($var8, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var13 = new ji_ByteArrayOutputStream; $var13.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var13; $var13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var13, 16); $var6.$sb = $var13; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nms_GuiEnchantment_enchantingTableBookTextures; $ptr = 2; case 2: nle_TextureLocation_bindTexture($var6); if ($rt_suspending()) { break main; } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(0.3490658402442932, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var13 = new ji_ByteArrayOutputStream; $var13.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var13; $var13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var13, 16); $var6.$sb = $var13; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var9 = $this.$field_74208_u; $var9 = $var9 + ($this.$field_74209_t - $var9) * $par1; $var7 = 1.0 - $var9; $var10 = $var7 * 0.20000000298023224; $var11 = $var7 * 0.10000000149011612; var$16 = $var7 * 0.25; $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = $var10; $var6.$y = $var11; $var6.$z = var$16; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_translate(nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var13 = new ji_ByteArrayOutputStream; $var13.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var13; $var13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var13, 16); $var6.$sb = $var13; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var7 = -$var7 * 90.0 - 90.0; $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 0.0; $var6.$y = 1.0; $var6.$z = 0.0; $var13 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var7 * 0.01745329238474369, nleg_EaglerAdapterGL30_deevis, $var13, $var13); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var13 = new ji_ByteArrayOutputStream; $var13.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var13; $var13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var13, 16); $var6.$sb = $var13; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var6 = nleg_EaglerAdapterGL30_deevis; $var6.$x = 1.0; $var6.$y = 0.0; $var6.$z = 0.0; $var6 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate($var8, nleg_EaglerAdapterGL30_deevis, $var6, $var6); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { $var6 = new otcic_JSStderrPrintStream; $var13 = new ji_ByteArrayOutputStream; $var13.$buf = $rt_createByteArray(32); jl_Object__init_($var6); $var6.$out0 = $var13; $var13 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var13, 16); $var6.$sb = $var13; $var6.$buffer0 = $rt_createCharArray(32); $var6.$autoFlush = 0; $var6.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var6; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } $var8 = $this.$field_74212_q; $par1 = $var8 + ($this.$field_74213_p - $var8) * $par1; $var10 = $par1 + 0.25; $var11 = $par1 + 0.75; $var8 = ($var10 - (($var10 + 1024.0 | 0) - 1024 | 0)) * 1.600000023841858 - 0.30000001192092896; $var7 = ($var11 - (($var11 + 1024.0 | 0) - 1024 | 0)) * 1.600000023841858 - 0.30000001192092896; if ($var8 < 0.0) $var8 = 0.0; if ($var7 < 0.0) $var7 = 0.0; if ($var8 > 1.0) $var8 = 1.0; if ($var7 > 1.0) $var7 = 1.0; nleg_EaglerAdapterGL30_glEnable(32826); $var6 = nms_GuiEnchantment_bookModel; nms_ModelBook_setRotationAngles($var6, 0.0, $var8, $var7, $var9, 0.0, 0.0625, null); nms_ModelRenderer_render($var6.$coverRight, 0.0625); nms_ModelRenderer_render($var6.$coverLeft, 0.0625); nms_ModelRenderer_render($var6.$bookSpine, 0.0625); nms_ModelRenderer_render($var6.$pagesRight, 0.0625); nms_ModelRenderer_render($var6.$pagesLeft, 0.0625); nms_ModelRenderer_render($var6.$flippingPageRight, 0.0625); nms_ModelRenderer_render($var6.$flippingPageLeft, 0.0625); nleg_EaglerAdapterGL30_glDisable(32826); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_matrixMode = 5889; $var6 = $this.$mc; nlea_EaglerAdapterImpl2__wglViewport(0, 0, $var6.$displayWidth, $var6.$displayHeight); nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_matrixMode = 5888; nleg_EaglerAdapterGL30_glPopMatrix(); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_EnchantmentNameParts_$callClinit(); $var6 = nms_EnchantmentNameParts_instance; var$17 = $this.$containerEnchantment.$nameSeed; $var6.$rand3.$seed = var$17; $var12 = 0; var$18 = $var4 + 60 | 0; var$19 = $var5 + 14 | 0; $var4 = $var4 + 62 | 0; var$20 = $var5 + 16 | 0; var$5 = 0; var$21 = $var4 + 104 | 0; $var18 = $par2 - var$18 | 0; var$23 = 0; var$24 = $rt_compare($var18, 108); if ($var12 >= 3) return; $var13 = nms_EnchantmentNameParts_generateRandomEnchantName(nms_EnchantmentNameParts_instance); $this.$zLevel = 0.0; $var6 = nms_GuiEnchantment_enchantingTableGuiTextures; $ptr = 3; case 3: nle_TextureLocation_bindTexture($var6); if ($rt_suspending()) { break main; } $var14 = $this.$containerEnchantment.$enchantLevels.data[$var12]; nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; if (!$var14) { nms_Gui_drawTexturedModalRect($this, var$18, var$19 + (19 * $var12 | 0) | 0, 0, 185, 108, 19); $var12 = $var12 + 1 | 0; if ($var12 >= 3) return; $var13 = nms_EnchantmentNameParts_generateRandomEnchantName(nms_EnchantmentNameParts_instance); $this.$zLevel = 0.0; $var6 = nms_GuiEnchantment_enchantingTableGuiTextures; continue main; } $var6 = new jl_StringBuilder; $var6.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0($var6, $var6.$length0, $var14, 10); var$26 = new jl_String; var$27 = $var6.$buffer; var$28 = var$27.data; $var19 = $var6.$length0; $var5 = var$28.length; if ($var19 >= 0 && $var19 <= ($var5 - 0 | 0)) { var$26.$nativeString = $rt_charArrayToString(var$27.data, 0, $var19); $var6 = $this.$mc; $var16 = $var6.$standardGalacticFontRenderer; $var17 = 6839882; $var6 = $var6.$thePlayer; if ($var6.$experienceLevel < $var14 && !$var6.$capabilities.$isCreativeMode) { $par2 = 19 * $var12 | 0; nms_Gui_drawTexturedModalRect($this, var$18, var$19 + $par2 | 0, 0, 185, 108, 19); $var19 = var$20 + $par2 | 0; $var16.$randomStyle = 0; $var16.$boldStyle = 0; $var16.$italicStyle = 0; $var16.$underlineStyle = 0; $var16.$strikethroughStyle = 0; $var16.$textColor = 3419941; while ($var13 !== null && jl_String_endsWith($var13, $rt_s(469))) { $var13 = jl_String_substring($var13, 0, $var13.$nativeString.length - 1 | 0); } $var5 = 0; $var6 = nms_FontRenderer_wrapFormattedStringToWidth($var16, $var13, 104); var$27 = jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), $var6, 0); if (var$27 === null) { $var13 = new jl_NullPointerException; jl_Exception__init_0($var13, $rt_s(18)); $rt_throw($var13); } $var13 = new ju_Arrays$ArrayAsList; $var13.$array2 = var$27; var$31 = $var13.$modCount; var$32 = $var13.$size(); $var14 = $var19; $par2 = var$5; if ($par2 >= var$32 ? 0 : 1) { if (var$31 < $var13.$modCount) { $var6 = new ju_ConcurrentModificationException; $var6.$suppressionEnabled = 1; $var6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var6); $rt_throw($var6); } $var17 = $par2 + 1 | 0; $var6 = $var13.$get($par2); $par2 = $var16.$textColor; $ptr = 8; continue main; } $var6 = $this.$mc.$fontRenderer0; $par2 = 4226832; $var5 = var$21 - nms_FontRenderer_getStringWidth($var6, var$26) | 0; $var19 = $var19 + 7 | 0; $var6.$randomStyle = 0; $var6.$boldStyle = 0; $var6.$italicStyle = 0; $var6.$underlineStyle = 0; $var6.$strikethroughStyle = 0; $var14 = $var5 + 1 | 0; $var17 = $var19 + 1 | 0; var$31 = 1; $ptr = 4; continue main; } var$31 = 19 * $var12 | 0; var$32 = var$19 + var$31 | 0; $var19 = $par3 - var$32 | 0; if ($var18 >= 0 && $var19 >= 0 && var$24 < 0 && $var19 < 19) { nms_Gui_drawTexturedModalRect($this, var$18, var$32, 0, 204, 108, 19); $var17 = 16777088; } else nms_Gui_drawTexturedModalRect($this, var$18, var$32, 0, 166, 108, 19); $var19 = var$20 + var$31 | 0; $var16.$randomStyle = 0; $var16.$boldStyle = 0; $var16.$italicStyle = 0; $var16.$underlineStyle = 0; $var16.$strikethroughStyle = 0; $var16.$textColor = $var17; while ($var13 !== null && jl_String_endsWith($var13, $rt_s(469))) { $var13 = jl_String_substring($var13, 0, $var13.$nativeString.length - 1 | 0); } $var5 = 0; $var6 = nms_FontRenderer_wrapFormattedStringToWidth($var16, $var13, 104); var$27 = jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), $var6, 0); if (var$27 === null) { $var13 = new jl_NullPointerException; jl_Exception__init_0($var13, $rt_s(18)); $rt_throw($var13); } $var13 = new ju_Arrays$ArrayAsList; $var13.$array2 = var$27; var$31 = $var13.$modCount; var$32 = $var13.$size(); $var14 = $var19; $par2 = var$23; if ($par2 >= var$32 ? 0 : 1) { if (var$31 < $var13.$modCount) { $var6 = new ju_ConcurrentModificationException; $var6.$suppressionEnabled = 1; $var6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var6); $rt_throw($var6); } $var17 = $par2 + 1 | 0; $var6 = $var13.$get($par2); $par2 = $var16.$textColor; $ptr = 9; continue main; } $var6 = $this.$mc.$fontRenderer0; $par2 = 8453920; $var5 = var$21 - nms_FontRenderer_getStringWidth($var6, var$26) | 0; $var19 = $var19 + 7 | 0; $var6.$randomStyle = 0; $var6.$boldStyle = 0; $var6.$italicStyle = 0; $var6.$underlineStyle = 0; $var6.$strikethroughStyle = 0; $var14 = $var5 + 1 | 0; $var17 = $var19 + 1 | 0; var$31 = 1; $ptr = 6; continue main; } $var6 = new jl_IndexOutOfBoundsException; $var6.$suppressionEnabled = 1; $var6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var6); $rt_throw($var6); case 4: $tmp = nms_FontRenderer_renderString($var6, var$26, $var14, $var17, $par2, var$31); if ($rt_suspending()) { break main; } $var17 = $tmp; $var14 = 0; $ptr = 5; case 5: $tmp = nms_FontRenderer_renderString($var6, var$26, $var5, $var19, $par2, $var14); if ($rt_suspending()) { break main; } $par2 = $tmp; $var12 = $var12 + 1 | 0; if ($var12 >= 3) return; $var13 = nms_EnchantmentNameParts_generateRandomEnchantName(nms_EnchantmentNameParts_instance); $this.$zLevel = 0.0; $var6 = nms_GuiEnchantment_enchantingTableGuiTextures; $ptr = 3; continue main; case 6: $tmp = nms_FontRenderer_renderString($var6, var$26, $var14, $var17, $par2, var$31); if ($rt_suspending()) { break main; } $var17 = $tmp; $var14 = 0; $ptr = 7; case 7: $tmp = nms_FontRenderer_renderString($var6, var$26, $var5, $var19, $par2, $var14); if ($rt_suspending()) { break main; } $par2 = $tmp; $var12 = $var12 + 1 | 0; if ($var12 >= 3) return; $var13 = nms_EnchantmentNameParts_generateRandomEnchantName(nms_EnchantmentNameParts_instance); $this.$zLevel = 0.0; $var6 = nms_GuiEnchantment_enchantingTableGuiTextures; $ptr = 3; continue main; case 8: nms_FontRenderer_renderString($var16, $var6, $var4, $var14, $par2, $var5); if ($rt_suspending()) { break main; } $var14 = $var14 + $var16.$FONT_HEIGHT | 0; $par2 = $var17; if ($par2 >= var$32 ? 0 : 1) { if (var$31 < $var13.$modCount) { $var6 = new ju_ConcurrentModificationException; $var6.$suppressionEnabled = 1; $var6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var6); $rt_throw($var6); } $var17 = $par2 + 1 | 0; $var6 = $var13.$get($par2); $par2 = $var16.$textColor; continue main; } $var6 = $this.$mc.$fontRenderer0; $par2 = 4226832; $var5 = var$21 - nms_FontRenderer_getStringWidth($var6, var$26) | 0; $var19 = $var19 + 7 | 0; $var6.$randomStyle = 0; $var6.$boldStyle = 0; $var6.$italicStyle = 0; $var6.$underlineStyle = 0; $var6.$strikethroughStyle = 0; $var14 = $var5 + 1 | 0; $var17 = $var19 + 1 | 0; var$31 = 1; $ptr = 4; continue main; case 9: nms_FontRenderer_renderString($var16, $var6, $var4, $var14, $par2, $var5); if ($rt_suspending()) { break main; } $var14 = $var14 + $var16.$FONT_HEIGHT | 0; $par2 = $var17; if ($par2 >= var$32 ? 0 : 1) { if (var$31 < $var13.$modCount) { $var6 = new ju_ConcurrentModificationException; $var6.$suppressionEnabled = 1; $var6.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var6); $rt_throw($var6); } $var17 = $par2 + 1 | 0; $var6 = $var13.$get($par2); $par2 = $var16.$textColor; continue main; } $var6 = $this.$mc.$fontRenderer0; $par2 = 8453920; $var5 = var$21 - nms_FontRenderer_getStringWidth($var6, var$26) | 0; $var19 = $var19 + 7 | 0; $var6.$randomStyle = 0; $var6.$boldStyle = 0; $var6.$italicStyle = 0; $var6.$underlineStyle = 0; $var6.$strikethroughStyle = 0; $var14 = $var5 + 1 | 0; $var17 = $var19 + 1 | 0; var$31 = 1; $ptr = 6; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var6, var$5, $var19, $var4, $var12, $var5, $var13, $var8, $var9, $var7, $var10, $var11, var$16, var$17, var$18, var$19, var$20, var$21, $var18, var$23, var$24, $var14, var$26, var$27, var$28, $var16, $var17, var$31, var$32, $ptr); }, nms_GuiEnchantment_func_74205_h = $this => { let $var1, var$2, $var2, var$4, var$5, var$6, $var5, $var3, $var4, var$10; $var1 = $this.$inventorySlots0.$inventorySlots; if (0 >= $var1.$size0) { $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } $var1 = $var1.$array.data[0].$getStack(); var$2 = $this.$theItemStack0; nms_ItemStack_$callClinit(); $var2 = $var1 === null && var$2 === null ? 1 : $var1 !== null && var$2 !== null ? nms_ItemStack_isItemStackEqual($var1, var$2) : 0; a: { if (!$var2) { $this.$theItemStack0 = $var1; while (true) { var$4 = $this.$field_74211_r; $var1 = $this.$rand7; var$5 = Long_and(Long_add(Long_mul($var1.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$5; $var2 = Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$5, 17)))), 31)); var$6 = Long_and(Long_add(Long_mul(var$5, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var1.$seed = var$6; var$4 = var$4 + ($var2 - Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$6, 17)))), 31)) | 0); $this.$field_74211_r = var$4; $var5 = $this.$field_74213_p; if ($var5 > var$4 + 1.0) break a; if ($var5 >= var$4 - 1.0) continue; else break a; } } } $this.$field_74214_o = $this.$field_74214_o + 1 | 0; var$4 = $this.$field_74213_p; $this.$field_74212_q = var$4; $var5 = $this.$field_74209_t; $this.$field_74208_u = $var5; $var2 = 0; $var3 = 0; while ($var3 < 3) { if ($this.$containerEnchantment.$enchantLevels.data[$var3]) $var2 = 1; $var3 = $var3 + 1 | 0; } if (!$var2) $this.$field_74209_t = $var5 - 0.20000000298023224; else $this.$field_74209_t = $var5 + 0.20000000298023224; if ($this.$field_74209_t < 0.0) $this.$field_74209_t = 0.0; if ($this.$field_74209_t > 1.0) $this.$field_74209_t = 1.0; $var5 = ($this.$field_74211_r - var$4) * 0.4000000059604645; $var4 = 0.20000000298023224; var$10 = (-0.20000000298023224); if ($var5 >= var$10) var$10 = $var5; if (var$10 <= $var4) $var4 = var$10; $var5 = $this.$field_74210_s; $var5 = $var5 + ($var4 - $var5) * 0.8999999761581421; $this.$field_74210_s = $var5; $this.$field_74213_p = var$4 + $var5; }, nms_GuiEnchantment__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3934); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiEnchantment_enchantingTableGuiTextures = var$1; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3538); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiEnchantment_enchantingTableBookTextures = var$1; nms_GuiEnchantment_bookModel = nms_ModelBook__init_(); }; function nms_GuiFurnace() { nms_GuiContainer.call(this); this.$furnaceInventory = null; } let nms_GuiFurnace_furnaceGuiTextures = null, nms_GuiFurnace_$callClinit = () => { nms_GuiFurnace_$callClinit = $rt_eraseClinit(nms_GuiFurnace); nms_GuiFurnace__clinit_(); }, nms_GuiFurnace_drawGuiContainerForegroundLayer = ($this, $par1, $par2) => { let $var3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $this.$furnaceInventory.$field_94130_e; if ($var3 !== null && $var3.$nativeString.length > 0 ? 1 : 0) { $var3 = $this.$furnaceInventory; var$4 = $var3.$field_94130_e; $var3 = !(var$4 !== null && var$4.$nativeString.length > 0 ? 1 : 0) ? $rt_s(3935) : $var3.$field_94130_e; } else { $var3 = $this.$furnaceInventory; var$4 = $var3.$field_94130_e; var$4 = !(var$4 !== null && var$4.$nativeString.length > 0 ? 1 : 0) ? $rt_s(3935) : $var3.$field_94130_e; nms_StatCollector_$callClinit(); $var3 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$4); } var$4 = $this.$fontRenderer; $par1 = ($this.$xSize / 2 | 0) - (nms_FontRenderer_getStringWidth(var$4, $var3) / 2 | 0) | 0; $par2 = 6; var$5 = 4210752; var$4.$randomStyle = 0; var$4.$boldStyle = 0; var$4.$italicStyle = 0; var$4.$underlineStyle = 0; var$4.$strikethroughStyle = 0; var$6 = 0; $ptr = 1; case 1: nms_FontRenderer_renderString(var$4, $var3, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } $var3 = $this.$fontRenderer; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3827)); $par1 = 8; $par2 = ($this.$ySize - 96 | 0) + 2 | 0; var$5 = 4210752; $var3.$randomStyle = 0; $var3.$boldStyle = 0; $var3.$italicStyle = 0; $var3.$underlineStyle = 0; $var3.$strikethroughStyle = 0; var$6 = 0; $ptr = 2; case 2: nms_FontRenderer_renderString($var3, var$4, $par1, $par2, var$5, var$6); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, var$5, var$6, $ptr); }, nms_GuiFurnace_drawGuiContainerBackgroundLayer = ($this, $par1, $par2, $par3) => { let var$4, $var4, $var6, $var5, $var6_0, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6_0 = $thread.pop();$var5 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiFurnace_$callClinit(); var$4 = nms_GuiFurnace_furnaceGuiTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$4); if ($rt_suspending()) { break main; } $par2 = $this.$width; $par3 = $this.$xSize; $var4 = ($par2 - $par3 | 0) / 2 | 0; $par2 = $this.$height; $var6 = $this.$ySize; $var5 = ($par2 - $var6 | 0) / 2 | 0; nms_Gui_drawTexturedModalRect($this, $var4, $var5, 0, 0, $par3, $var6); var$4 = $this.$furnaceInventory; $var6 = var$4.$furnaceBurnTime; if ($var6 <= 0 ? 0 : 1) { if (!var$4.$currentItemBurnTime) var$4.$currentItemBurnTime = 200; $var6_0 = ($var6 * 12 | 0) / var$4.$currentItemBurnTime | 0; nms_Gui_drawTexturedModalRect($this, $var4 + 56 | 0, (($var5 + 36 | 0) + 12 | 0) - $var6_0 | 0, 176, 12 - $var6_0 | 0, 14, $var6_0 + 2 | 0); } $var6 = ($this.$furnaceInventory.$furnaceCookTime * 24 | 0) / 200 | 0; nms_Gui_drawTexturedModalRect($this, $var4 + 79 | 0, $var5 + 34 | 0, 176, 14, $var6 + 1 | 0, 16); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, $var4, $var6, $var5, $var6_0, $ptr); }, nms_GuiFurnace__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3936); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiFurnace_furnaceGuiTextures = var$1; }; function nms_ChunkCoordIntPair() { let a = this; jl_Object.call(a); a.$chunkXPos = 0; a.$chunkZPos = 0; } let nms_ChunkCoordIntPair_hashCode = $this => { let $var4, $var3, $var1; $var4 = $this.$chunkXPos; $var3 = $this.$chunkZPos; $var1 = Long_or(Long_and(Long_fromInt($var4), Long_create(4294967295, 0)), Long_shl(Long_and(Long_fromInt($var3), Long_create(4294967295, 0)), 32)); return Long_lo($var1) ^ Long_hi($var1); }, nms_ChunkCoordIntPair_equals = ($this, $par1Obj) => { let $var2; $var2 = $par1Obj; return $var2.$chunkXPos == $this.$chunkXPos && $var2.$chunkZPos == $this.$chunkZPos ? 1 : 0; }, nms_ChunkCoordIntPair_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$1 = $this.$chunkXPos; var$2 = $this.$chunkZPos; var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$4 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$4, var$4 + 1 | 0); var$3.$buffer.data[var$4] = 91; jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$1, 10); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert0(var$3, var$3.$length0, var$2, 10); var$2 = var$3.$length0; jl_AbstractStringBuilder_insertSpace(var$3, var$2, var$2 + 1 | 0); var$5 = var$3.$buffer; var$6 = var$5.data; var$6[var$2] = 93; var$7 = new jl_String; var$2 = var$3.$length0; var$8 = var$6.length; if (var$2 >= 0 && var$2 <= (var$8 - 0 | 0)) { var$7.$nativeString = $rt_charArrayToString(var$5.data, 0, var$2); return var$7; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); }; function nms_EntityPlayerMP() { nms_EntityPlayer.call(this); this.$playerNetServerHandler = null; } let nlesrp_ICEServerSet$RelayType = $rt_classWithoutFields(jl_Enum), nlesrp_ICEServerSet$RelayType_STUN = null, nlesrp_ICEServerSet$RelayType_TURN = null, nlesrp_ICEServerSet$RelayType_$VALUES = null, nlesrp_ICEServerSet$RelayType__clinit_ = () => { let var$1, var$2; var$1 = new nlesrp_ICEServerSet$RelayType; var$1.$name0 = $rt_s(3937); var$1.$ordinal = 0; nlesrp_ICEServerSet$RelayType_STUN = var$1; var$2 = new nlesrp_ICEServerSet$RelayType; var$2.$name0 = $rt_s(3938); var$2.$ordinal = 1; nlesrp_ICEServerSet$RelayType_TURN = var$2; nlesrp_ICEServerSet$RelayType_$VALUES = $rt_wrapArray(nlesrp_ICEServerSet$RelayType, [var$1, var$2]); }; function nms_GuiFlatPresetsListSlot() { let a = this; nms_GuiSlot.call(a); a.$field_82459_a = 0; a.$flatPresetsGui = null; } let nms_GuiFlatPresetsListSlot_func_82457_a = ($this, $par1, $par2, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$4 = $par1 + 1 | 0; var$5 = $par2 + 1 | 0; var$6 = 0; var$7 = 0; $ptr = 1; case 1: nms_GuiFlatPresetsListSlot_func_82455_b($this, var$4, var$5, var$6, var$7); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(32826); nleg_EaglerAdapterGL30_glPushMatrix(); var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = 0.0; var$8.$y = 1.0; var$8.$z = 0.0; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate((-0.5235987901687622), nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$8); var$8.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); var$8.$sb = var$9; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = 1.0; var$8.$y = 0.0; var$8.$z = 0.0; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_rotate(2.879793167114258, nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$8); var$8.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); var$8.$sb = var$9; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } var$8 = nleg_EaglerAdapterGL30_deevis; var$8.$x = 1.0; var$8.$y = (-1.0); var$8.$z = 1.0; var$8 = nleg_EaglerAdapterGL30_getMatrixIncrSerial(); nlegv_Matrix4f_scale(nleg_EaglerAdapterGL30_deevis, var$8, var$8); if (nleg_EaglerAdapterGL30_isCompilingDisplayList) { if (jl_System_errCache === null) { var$8 = new otcic_JSStderrPrintStream; var$9 = new ji_ByteArrayOutputStream; jl_Object__init_(var$9); var$9.$buf = $rt_createByteArray(32); ji_OutputStream__init_(var$8); var$8.$out0 = var$9; var$9 = new jl_StringBuilder; jl_AbstractStringBuilder__init_0(var$9); var$8.$sb = var$9; var$8.$buffer0 = $rt_createCharArray(32); var$8.$autoFlush = 0; var$8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = var$8; } $rt_putStderr("matrix is not supported while recording display list use tessellator class instead"); $rt_putStderr("\n"); } nleg_EaglerAdapterGL30_glEnable(2896); nleg_EaglerAdapterGL30_glEnable(2903); nleg_EaglerAdapterGL30_copyModelToLightMatrix(); nleg_EaglerAdapterGL30_glPopMatrix(); nms_GuiFlatPresets_$callClinit(); var$10 = nms_GuiFlatPresets_presetIconRenderer; var$8 = $this.$flatPresetsGui; var$9 = var$8.$fontRenderer; var$11 = var$8.$mc.$renderEngine; var$8 = new nms_ItemStack; nms_ItemStack_$callClinit(); var$8.$itemID = $par3; var$8.$stackSize = 1; var$8.$itemDamage = 0; $par1 = $par1 + 2 | 0; $par2 = $par2 + 2 | 0; $ptr = 2; case 2: nms_RenderItem_renderItemIntoGUI(var$10, var$9, var$11, var$8, $par1, $par2); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); nleg_EaglerAdapterGL30_glDisable(32826); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, $ptr); }, nms_GuiFlatPresetsListSlot_func_82455_b = ($this, $par1, $par2, $par3, $par4) => { let $var9, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var9 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_Gui_$callClinit(); $var9 = nms_Gui_statIcons; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var9); if ($rt_suspending()) { break main; } nlea_Tessellator_$callClinit(); $var9 = nlea_Tessellator_instance; if ($var9.$isDrawing) nlea_Tessellator_draw($var9); $var9.$isDrawing = 1; $var9.$vertexCount = 0; $var9.$rawBufferIndex = 0; $var9.$addedVertices = 0; $var9.$drawMode = 7; $var9.$hasNormals = 0; $var9.$hasColor = 0; $var9.$hasTexture = 0; $var9.$hasBrightness = 0; $var9.$isColorDisabled = 0; var$6 = $par1 + 0 | 0; var$7 = $par2 + 18 | 0; var$8 = $this.$flatPresetsGui.$zLevel; var$9 = ($par3 + 0 | 0) * 0.0078125; var$10 = ($par4 + 18 | 0) * 0.0078125; $var9.$hasTexture = 1; var$11 = var$9; $var9.$textureU = var$11; var$12 = var$10; $var9.$textureV = var$12; nlea_Tessellator_addVertex($var9, var$6, var$7, var$8); var$9 = $par1 + 18 | 0; var$10 = $this.$flatPresetsGui.$zLevel; var$8 = ($par3 + 18 | 0) * 0.0078125; $var9.$hasTexture = 1; var$13 = var$8; $var9.$textureU = var$13; $var9.$textureV = var$12; nlea_Tessellator_addVertex($var9, var$9, var$7, var$10); var$8 = $par2 + 0 | 0; var$7 = $this.$flatPresetsGui.$zLevel; var$10 = ($par4 + 0 | 0) * 0.0078125; $var9.$hasTexture = 1; $var9.$textureU = var$13; var$13 = var$10; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, var$9, var$8, var$7); var$7 = $this.$flatPresetsGui.$zLevel; $var9.$hasTexture = 1; $var9.$textureU = var$11; $var9.$textureV = var$13; nlea_Tessellator_addVertex($var9, var$6, var$8, var$7); nlea_Tessellator_draw($var9); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $var9, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_GuiFlatPresetsListSlot_getSize = $this => { nms_GuiFlatPresets_$callClinit(); return nms_GuiFlatPresets_presets.$size0; }, nms_GuiFlatPresetsListSlot_elementClicked = ($this, $par1, $par2) => { let var$3, var$4, var$5; $this.$field_82459_a = $par1; var$3 = $this.$flatPresetsGui; var$3.$theButton.$enabled = nms_GuiFlatPresets_func_82293_j(var$3); var$3 = $this.$flatPresetsGui; var$4 = var$3.$theTextField; var$5 = nms_GuiFlatPresets_presets; $par1 = var$3.$theFlatPresetsListSlot.$field_82459_a; if ($par1 >= 0 && $par1 < var$5.$size0) { var$3 = var$5.$array.data[$par1].$presetData; $par1 = var$3.$nativeString.length; $par2 = var$4.$maxStringLength; if ($par1 <= $par2) var$4.$text = var$3; else var$4.$text = jl_String_substring(var$3, 0, $par2); var$4.$cursorPosition = var$4.$text.$nativeString.length; $par2 = var$4.$text.$nativeString.length; if (var$4.$cursorPosition < 0) var$4.$cursorPosition = 0; if (var$4.$cursorPosition > $par2) var$4.$cursorPosition = $par2; nms_GuiTextField_setSelectionPos(var$4, var$4.$cursorPosition); return; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; $rt_throw(var$3); }, nms_GuiFlatPresetsListSlot_isSelected = ($this, $par1) => { return $par1 != $this.$field_82459_a ? 0 : 1; }, nms_GuiFlatPresetsListSlot_drawBackground = $this => { return; }, nms_GuiFlatPresetsListSlot_drawSlot = ($this, $par1, $par2, $par3, $par4, $par5Tessellator) => { let $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$par5Tessellator = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_GuiFlatPresets_$callClinit(); $par5Tessellator = nms_GuiFlatPresets_presets; if ($par1 >= 0 && $par1 < $par5Tessellator.$size0) { $var6 = $par5Tessellator.$array.data[$par1]; $par1 = $var6.$iconId; $ptr = 1; continue main; } $par5Tessellator = new jl_IndexOutOfBoundsException; $par5Tessellator.$suppressionEnabled = 1; $par5Tessellator.$writableStackTrace = 1; $rt_throw($par5Tessellator); case 1: nms_GuiFlatPresetsListSlot_func_82457_a($this, $par2, $par3, $par1); if ($rt_suspending()) { break main; } $par5Tessellator = $this.$flatPresetsGui.$fontRenderer; $var6 = $var6.$presetName; $par2 = ($par2 + 18 | 0) + 5 | 0; $par1 = $par3 + 6 | 0; $par3 = 16777215; $par5Tessellator.$randomStyle = 0; $par5Tessellator.$boldStyle = 0; $par5Tessellator.$italicStyle = 0; $par5Tessellator.$underlineStyle = 0; $par5Tessellator.$strikethroughStyle = 0; $par4 = 0; $ptr = 2; case 2: nms_FontRenderer_renderString($par5Tessellator, $var6, $par2, $par1, $par3, $par4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $par4, $par5Tessellator, $var6, $ptr); }; function nms_LowerStringMap() { jl_Object.call(this); this.$internalMap = null; } let nms_LowerStringMap__init_ = $this => { let var$1, var$2, var$3, var$4; var$1 = new ju_LinkedHashMap; var$2 = ju_HashMap_calculateCapacity(16); var$1.$elementCount = 0; var$3 = $rt_createArray(ju_LinkedHashMap$LinkedHashMapEntry, var$2); var$4 = var$3.data; var$1.$elementData = var$3; var$1.$loadFactor = 0.75; var$1.$threshold = var$4.length * 0.75 | 0; var$1.$accessOrder = 0; var$1.$head = null; $this.$internalMap = var$1; }, nms_LowerStringMap__init_0 = () => { let var_0 = new nms_LowerStringMap(); nms_LowerStringMap__init_(var_0); return var_0; }; function nms_ContainerChest() { let a = this; nms_Container.call(a); a.$lowerChestInventory0 = null; a.$numRows = 0; } let nms_ContainerChest__init_ = ($this, $par1IInventory, $par2IInventory) => { let var$3, var$4, $var3, var$6, var$7, $var4, $var5, var$10, $var5_0, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();$var5_0 = $thread.pop();var$10 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var3 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2IInventory = $thread.pop();$par1IInventory = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$inventoryItemStacks = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$inventorySlots = var$3; $this.$field_94535_f = (-1); var$3 = new ju_HashSet; var$4 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $this.$field_94537_h = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$crafters = var$3; var$3 = new ju_HashSet; var$4 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $this.$playerList = var$3; $this.$lowerChestInventory0 = $par2IInventory; $this.$numRows = $par2IInventory.$getSizeInventory() / 9 | 0; $ptr = 1; case 1: $par2IInventory.$openChest(); if ($rt_suspending()) { break main; } $var3 = ($this.$numRows - 4 | 0) * 18 | 0; $var4 = 0; while ($var4 < $this.$numRows) { $var5 = 0; while ($var5 < 9) { var$3 = new nms_Slot; var$10 = $var5 + ($var4 * 9 | 0) | 0; $var5_0 = 8 + ($var5 * 18 | 0) | 0; var$12 = 18 + ($var4 * 18 | 0) | 0; var$3.$inventory0 = $par2IInventory; var$3.$slotIndex = var$10; var$3.$xDisplayPosition = $var5_0; var$3.$yDisplayPosition = var$12; var$4 = $this.$inventorySlots; $var5_0 = var$4.$size0; var$3.$slotNumber = $var5_0; ju_ArrayList_ensureCapacity(var$4, $var5_0 + 1 | 0); var$7 = var$4.$array.data; $var5_0 = var$4.$size0; var$4.$size0 = $var5_0 + 1 | 0; var$7[$var5_0] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$3 = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; $var5_0 = var$3.$size0; var$3.$size0 = $var5_0 + 1 | 0; var$7[$var5_0] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $var5 = $var5 + 1 | 0; } $var4 = $var4 + 1 | 0; } $var5 = 0; while ($var5 < 3) { $var5_0 = 0; while ($var5_0 < 9) { var$3 = new nms_Slot; var$10 = ($var5_0 + ($var5 * 9 | 0) | 0) + 9 | 0; var$12 = 8 + ($var5_0 * 18 | 0) | 0; $var4 = (103 + ($var5 * 18 | 0) | 0) + $var3 | 0; var$3.$inventory0 = $par1IInventory; var$3.$slotIndex = var$10; var$3.$xDisplayPosition = var$12; var$3.$yDisplayPosition = $var4; $par2IInventory = $this.$inventorySlots; var$10 = $par2IInventory.$size0; var$3.$slotNumber = var$10; ju_ArrayList_ensureCapacity($par2IInventory, var$10 + 1 | 0); var$7 = $par2IInventory.$array.data; var$10 = $par2IInventory.$size0; $par2IInventory.$size0 = var$10 + 1 | 0; var$7[var$10] = var$3; $par2IInventory.$modCount = $par2IInventory.$modCount + 1 | 0; $par2IInventory = $this.$inventoryItemStacks; var$3 = null; ju_ArrayList_ensureCapacity($par2IInventory, $par2IInventory.$size0 + 1 | 0); var$7 = $par2IInventory.$array.data; var$10 = $par2IInventory.$size0; $par2IInventory.$size0 = var$10 + 1 | 0; var$7[var$10] = var$3; $par2IInventory.$modCount = $par2IInventory.$modCount + 1 | 0; $var5_0 = $var5_0 + 1 | 0; } $var5 = $var5 + 1 | 0; } $var5 = 0; var$10 = 161 + $var3 | 0; while ($var5 < 9) { $par2IInventory = new nms_Slot; $var3 = 8 + ($var5 * 18 | 0) | 0; $par2IInventory.$inventory0 = $par1IInventory; $par2IInventory.$slotIndex = $var5; $par2IInventory.$xDisplayPosition = $var3; $par2IInventory.$yDisplayPosition = var$10; var$3 = $this.$inventorySlots; $var4 = var$3.$size0; $par2IInventory.$slotNumber = $var4; ju_ArrayList_ensureCapacity(var$3, $var4 + 1 | 0); var$7 = var$3.$array.data; $var4 = var$3.$size0; var$3.$size0 = $var4 + 1 | 0; var$7[$var4] = $par2IInventory; var$3.$modCount = var$3.$modCount + 1 | 0; $par2IInventory = $this.$inventoryItemStacks; var$3 = null; ju_ArrayList_ensureCapacity($par2IInventory, $par2IInventory.$size0 + 1 | 0); var$7 = $par2IInventory.$array.data; $var4 = $par2IInventory.$size0; $par2IInventory.$size0 = $var4 + 1 | 0; var$7[$var4] = var$3; $par2IInventory.$modCount = $par2IInventory.$modCount + 1 | 0; $var5 = $var5 + 1 | 0; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1IInventory, $par2IInventory, var$3, var$4, $var3, var$6, var$7, $var4, $var5, var$10, $var5_0, var$12, $ptr); }, nms_ContainerChest__init_0 = (var_0, var_1) => { let var_2 = new nms_ContainerChest(); nms_ContainerChest__init_(var_2, var_0, var_1); return var_2; }, nms_ContainerChest_canInteractWith = ($this, $par1EntityPlayer) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$lowerChestInventory0; $ptr = 1; case 1: $tmp = var$2.$isUseableByPlayer($par1EntityPlayer); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, $ptr); }, nms_ContainerChest_transferStackInSlot = ($this, $par1EntityPlayer, $par2) => { let $var3, $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = null; $par1EntityPlayer = $this.$inventorySlots; if ($par2 >= 0 && $par2 < $par1EntityPlayer.$size0) { $var4 = $par1EntityPlayer.$array.data[$par2]; if ($var4 !== null && $var4.$getHasStack()) { $var5 = $var4.$getStack(); $var3 = new nms_ItemStack; var$6 = $var5.$itemID; var$7 = $var5.$stackSize; var$8 = $var5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$6; $var3.$stackSize = var$7; $var3.$itemDamage = var$8; if (var$8 < 0) $var3.$itemDamage = 0; var$9 = $var5.$stackTagCompound; if (var$9 !== null) { var$10 = new nms_NBTTagCompound; $par1EntityPlayer = var$9.$name; if ($par1EntityPlayer === null) $par1EntityPlayer = $rt_s(18); var$10.$name = $par1EntityPlayer; $par1EntityPlayer = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); $par1EntityPlayer.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$12 = var$11.data; $par1EntityPlayer.$elementData = var$11; $par1EntityPlayer.$loadFactor = 0.75; $par1EntityPlayer.$threshold = var$12.length * 0.75 | 0; var$10.$tagMap = $par1EntityPlayer; var$13 = var$9.$tagMap; if (var$13.$cachedKeySet === null) { $par1EntityPlayer = new ju_HashMap$1; $par1EntityPlayer.$this$0 = var$13; var$13.$cachedKeySet = $par1EntityPlayer; } var$14 = var$13.$cachedKeySet.$iterator(); while (var$14.$hasNext()) { var$15 = var$14.$next(); $par1EntityPlayer = var$9.$tagMap; if (var$15 === null) { $par1EntityPlayer = $par1EntityPlayer.$elementData.data[0]; while ($par1EntityPlayer !== null && $par1EntityPlayer.$key !== null) { $par1EntityPlayer = $par1EntityPlayer.$next3; } } else { a: { if (!var$15.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$15.$nativeString.length) break a; var$15.$hashCode1 = (31 * var$15.$hashCode1 | 0) + var$15.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$8 = var$15.$hashCode1; var$12 = $par1EntityPlayer.$elementData.data; $par1EntityPlayer = var$12[var$8 & (var$12.length - 1 | 0)]; while ($par1EntityPlayer !== null) { if ($par1EntityPlayer.$origKeyHash == var$8) { b: { var$13 = $par1EntityPlayer.$key; if (var$15 !== var$13) { if (var$15 === var$13) var$6 = 1; else if (!(var$13 instanceof jl_String)) var$6 = 0; else { var$13 = var$13; var$6 = var$15.$nativeString !== var$13.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } $par1EntityPlayer = $par1EntityPlayer.$next3; } } $par1EntityPlayer = $par1EntityPlayer === null ? null : $par1EntityPlayer.$value1; $par1EntityPlayer = $par1EntityPlayer.$copy(); var$13 = var$10.$tagMap; if (var$15 !== null) $par1EntityPlayer.$name = var$15; else $par1EntityPlayer.$name = $rt_s(18); ju_HashMap_putImpl(var$13, var$15, $par1EntityPlayer); } $var3.$stackTagCompound = var$10; } var$6 = $this.$numRows * 9 | 0; if ($par2 >= var$6) { $par2 = 0; var$7 = 0; $ptr = 1; continue main; } var$7 = $this.$inventorySlots.$size0; $par2 = 1; $ptr = 2; continue main; } return $var3; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 1: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$6, var$7); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } $par1EntityPlayer = null; $ptr = 4; continue main; case 2: $tmp = nms_Container_mergeItemStack($this, $var5, var$6, var$7, $par2); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } $par1EntityPlayer = null; $ptr = 4; continue main; case 3: $var4.$onSlotChanged(); if ($rt_suspending()) { break main; } return $var3; case 4: $var4.$putStack($par1EntityPlayer); if ($rt_suspending()) { break main; } return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $var3, $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, $ptr); }, nms_ContainerChest_onContainerClosed = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1EntityPlayer.$inventory; var$3 = var$2.$itemStack; if (var$3 === null) { $par1EntityPlayer = $this.$lowerChestInventory0; $ptr = 1; continue main; } var$4 = 0; $ptr = 2; continue main; case 1: $par1EntityPlayer.$closeChest(); if ($rt_suspending()) { break main; } return; case 2: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$itemStack = null; $par1EntityPlayer = $this.$lowerChestInventory0; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, $ptr); }; function nms_ContainerWorkbench() { let a = this; nms_Container.call(a); a.$craftMatrix = null; a.$craftResult0 = null; a.$worldObj6 = null; a.$posX9 = 0; a.$posY9 = 0; a.$posZ8 = 0; } let nms_ContainerWorkbench__init_0 = ($this, $par1InventoryPlayer, $par2World, $par3, $par4, $par5) => { let var$6, var$7, $var6, var$9, var$10, var$11, $var7; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $this.$inventoryItemStacks = var$6; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $this.$inventorySlots = var$6; $this.$field_94535_f = (-1); var$7 = new ju_HashSet; var$6 = new ju_HashMap; $var6 = ju_HashMap_calculateCapacity(16); var$6.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, $var6); var$10 = var$9.data; var$6.$elementData = var$9; var$6.$loadFactor = 0.75; var$6.$threshold = var$10.length * 0.75 | 0; var$7.$backingMap = var$6; $this.$field_94537_h = var$7; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $this.$crafters = var$6; var$6 = new ju_HashSet; var$7 = new ju_HashMap; $var6 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, $var6); var$10 = var$9.data; var$7.$elementData = var$9; var$7.$loadFactor = 0.75; var$7.$threshold = var$10.length * 0.75 | 0; var$6.$backingMap = var$7; $this.$playerList = var$6; var$6 = new nms_InventoryCrafting; var$6.$stackList = $rt_createArray(nms_ItemStack, 9); var$6.$eventHandler = $this; var$6.$inventoryWidth = 3; $this.$craftMatrix = var$6; var$7 = new nms_InventoryCraftResult; var$7.$stackResult = $rt_createArray(nms_ItemStack, 1); $this.$craftResult0 = var$7; $this.$worldObj6 = $par2World; $this.$posX9 = $par3; $this.$posY9 = $par4; $this.$posZ8 = $par5; $par2World = new nms_SlotCrafting; var$11 = $par1InventoryPlayer.$player; $par2World.$inventory0 = var$7; $par2World.$slotIndex = 0; $par2World.$xDisplayPosition = 124; $par2World.$yDisplayPosition = 35; $par2World.$thePlayer1 = var$11; $par2World.$craftMatrix1 = var$6; var$6 = $this.$inventorySlots; $par4 = var$6.$size0; $par2World.$slotNumber = $par4; ju_ArrayList_ensureCapacity(var$6, $par4 + 1 | 0); var$10 = var$6.$array.data; $par4 = var$6.$size0; var$6.$size0 = $par4 + 1 | 0; var$10[$par4] = $par2World; var$6.$modCount = var$6.$modCount + 1 | 0; $par2World = $this.$inventoryItemStacks; var$6 = null; ju_ArrayList_ensureCapacity($par2World, $par2World.$size0 + 1 | 0); var$10 = $par2World.$array.data; $par4 = $par2World.$size0; $par2World.$size0 = $par4 + 1 | 0; var$10[$par4] = var$6; $par2World.$modCount = $par2World.$modCount + 1 | 0; $var6 = 0; while ($var6 < 3) { $var7 = 0; while ($var7 < 3) { $par2World = new nms_Slot; var$6 = $this.$craftMatrix; $par3 = $var7 + ($var6 * 3 | 0) | 0; $par4 = 30 + ($var7 * 18 | 0) | 0; $par5 = 17 + ($var6 * 18 | 0) | 0; $par2World.$inventory0 = var$6; $par2World.$slotIndex = $par3; $par2World.$xDisplayPosition = $par4; $par2World.$yDisplayPosition = $par5; var$6 = $this.$inventorySlots; $par4 = var$6.$size0; $par2World.$slotNumber = $par4; ju_ArrayList_ensureCapacity(var$6, $par4 + 1 | 0); var$10 = var$6.$array.data; $par4 = var$6.$size0; var$6.$size0 = $par4 + 1 | 0; var$10[$par4] = $par2World; var$6.$modCount = var$6.$modCount + 1 | 0; $par2World = $this.$inventoryItemStacks; var$6 = null; ju_ArrayList_ensureCapacity($par2World, $par2World.$size0 + 1 | 0); var$10 = $par2World.$array.data; $par4 = $par2World.$size0; $par2World.$size0 = $par4 + 1 | 0; var$10[$par4] = var$6; $par2World.$modCount = $par2World.$modCount + 1 | 0; $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } $par3 = 0; while ($par3 < 3) { $var7 = 0; while ($var7 < 9) { $par2World = new nms_Slot; $par4 = ($var7 + ($par3 * 9 | 0) | 0) + 9 | 0; $par5 = 8 + ($var7 * 18 | 0) | 0; $var6 = 84 + ($par3 * 18 | 0) | 0; $par2World.$inventory0 = $par1InventoryPlayer; $par2World.$slotIndex = $par4; $par2World.$xDisplayPosition = $par5; $par2World.$yDisplayPosition = $var6; var$6 = $this.$inventorySlots; $par5 = var$6.$size0; $par2World.$slotNumber = $par5; ju_ArrayList_ensureCapacity(var$6, $par5 + 1 | 0); var$10 = var$6.$array.data; $par5 = var$6.$size0; var$6.$size0 = $par5 + 1 | 0; var$10[$par5] = $par2World; var$6.$modCount = var$6.$modCount + 1 | 0; $par2World = $this.$inventoryItemStacks; var$6 = null; ju_ArrayList_ensureCapacity($par2World, $par2World.$size0 + 1 | 0); var$10 = $par2World.$array.data; $par5 = $par2World.$size0; $par2World.$size0 = $par5 + 1 | 0; var$10[$par5] = var$6; $par2World.$modCount = $par2World.$modCount + 1 | 0; $var7 = $var7 + 1 | 0; } $par3 = $par3 + 1 | 0; } $par3 = 0; while ($par3 < 9) { $par2World = new nms_Slot; $par4 = 8 + ($par3 * 18 | 0) | 0; $par2World.$inventory0 = $par1InventoryPlayer; $par2World.$slotIndex = $par3; $par2World.$xDisplayPosition = $par4; $par2World.$yDisplayPosition = 142; var$6 = $this.$inventorySlots; $par5 = var$6.$size0; $par2World.$slotNumber = $par5; ju_ArrayList_ensureCapacity(var$6, $par5 + 1 | 0); var$10 = var$6.$array.data; $par5 = var$6.$size0; var$6.$size0 = $par5 + 1 | 0; var$10[$par5] = $par2World; var$6.$modCount = var$6.$modCount + 1 | 0; $par2World = $this.$inventoryItemStacks; var$6 = null; ju_ArrayList_ensureCapacity($par2World, $par2World.$size0 + 1 | 0); var$10 = $par2World.$array.data; $par5 = $par2World.$size0; $par2World.$size0 = $par5 + 1 | 0; var$10[$par5] = var$6; $par2World.$modCount = $par2World.$modCount + 1 | 0; $par3 = $par3 + 1 | 0; } $par1InventoryPlayer = $this.$craftResult0; nms_CraftingManager_$callClinit(); $par2World = nms_CraftingManager_findMatchingRecipe(nms_CraftingManager_instance, $this.$craftMatrix, $this.$worldObj6); $par1InventoryPlayer.$stackResult.data[0] = $par2World; }, nms_ContainerWorkbench__init_ = (var_0, var_1, var_2, var_3, var_4) => { let var_5 = new nms_ContainerWorkbench(); nms_ContainerWorkbench__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; }, nms_ContainerWorkbench_onCraftMatrixChanged = ($this, $par1IInventory) => { let var$2; $par1IInventory = $this.$craftResult0; nms_CraftingManager_$callClinit(); var$2 = nms_CraftingManager_findMatchingRecipe(nms_CraftingManager_instance, $this.$craftMatrix, $this.$worldObj6); $par1IInventory.$stackResult.data[0] = var$2; }, nms_ContainerWorkbench_onContainerClosed = ($this, $par1EntityPlayer) => { let $var3, var$3, $var2, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $par1EntityPlayer.$inventory; var$3 = $var3.$itemStack; if (var$3 !== null) { $var2 = 0; $ptr = 1; continue main; } a: { if (!$this.$worldObj6.$isRemote) { $var2 = 0; while (true) { if ($var2 >= 9) break a; var$5 = $this.$craftMatrix.$stackList.data; if (var$5[$var2] === null) $var3 = null; else { $var3 = var$5[$var2]; var$5[$var2] = null; } if ($var3 !== null) { var$6 = 0; $ptr = 2; continue main; } $var2 = $var2 + 1 | 0; } } } return; case 1: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, var$3, $var2); if ($rt_suspending()) { break main; } $var3.$itemStack = null; b: { if (!$this.$worldObj6.$isRemote) { $var2 = 0; while (true) { if ($var2 >= 9) break b; var$5 = $this.$craftMatrix.$stackList.data; if (var$5[$var2] === null) $var3 = null; else { $var3 = var$5[$var2]; var$5[$var2] = null; } if ($var3 !== null) { var$6 = 0; $ptr = 2; continue main; } $var2 = $var2 + 1 | 0; } } } return; case 2: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, $var3, var$6); if ($rt_suspending()) { break main; } while (true) { $var2 = $var2 + 1 | 0; if ($var2 >= 9) break; var$5 = $this.$craftMatrix.$stackList.data; if (var$5[$var2] === null) $var3 = null; else { $var3 = var$5[$var2]; var$5[$var2] = null; } if ($var3 === null) continue; else { var$6 = 0; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var3, var$3, $var2, var$5, var$6, $ptr); }, nms_ContainerWorkbench_canInteractWith = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5; var$2 = nms_World_getBlockId($this.$worldObj6, $this.$posX9, $this.$posY9, $this.$posZ8); nms_Block_$callClinit(); if (var$2 != nms_Block_workbench.$blockID) var$2 = 0; else { var$3 = $this.$posX9 + 0.5; var$4 = $this.$posY9 + 0.5; var$5 = $this.$posZ8 + 0.5; var$3 = $par1EntityPlayer.$posX - var$3; var$4 = $par1EntityPlayer.$posY - var$4; var$5 = $par1EntityPlayer.$posZ - var$5; var$2 = var$3 * var$3 + var$4 * var$4 + var$5 * var$5 > 64.0 ? 0 : 1; } return var$2; }, nms_ContainerWorkbench_transferStackInSlot = ($this, $par1EntityPlayer, $par2) => { let $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = null; var$4 = $this.$inventorySlots; if ($par2 >= 0 && $par2 < var$4.$size0) { $var4 = var$4.$array.data[$par2]; if ($var4 !== null && $var4.$getHasStack()) { $var5 = $var4.$getStack(); $var3 = new nms_ItemStack; var$7 = $var5.$itemID; var$8 = $var5.$stackSize; var$9 = $var5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$7; $var3.$stackSize = var$8; $var3.$itemDamage = var$9; if (var$9 < 0) $var3.$itemDamage = 0; var$10 = $var5.$stackTagCompound; if (var$10 !== null) { var$11 = new nms_NBTTagCompound; var$4 = var$10.$name; if (var$4 === null) var$4 = $rt_s(18); var$11.$name = var$4; var$4 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$13 = var$12.data; var$4.$elementData = var$12; var$4.$loadFactor = 0.75; var$4.$threshold = var$13.length * 0.75 | 0; var$11.$tagMap = var$4; var$14 = var$10.$tagMap; if (var$14.$cachedKeySet === null) { var$4 = new ju_HashMap$1; var$4.$this$0 = var$14; var$14.$cachedKeySet = var$4; } var$15 = var$14.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); var$4 = var$10.$tagMap; if (var$16 === null) { var$17 = var$4.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { a: { if (!var$16.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$16.$nativeString.length) break a; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$8 = var$16.$hashCode1; var$13 = var$4.$elementData.data; var$17 = var$13[var$8 & (var$13.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == var$8) { b: { var$4 = var$17.$key; if (var$16 !== var$4) { if (var$16 === var$4) var$7 = 1; else if (!(var$4 instanceof jl_String)) var$7 = 0; else { var$4 = var$4; var$7 = var$16.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$17 = var$17.$next3; } } var$4 = var$17 === null ? null : var$17.$value1; var$4 = var$4.$copy(); var$14 = var$11.$tagMap; if (var$16 !== null) var$4.$name = var$16; else var$4.$name = $rt_s(18); ju_HashMap_putImpl(var$14, var$16, var$4); } $var3.$stackTagCompound = var$11; } if (!$par2) { $par2 = 10; var$7 = 46; var$8 = 1; $ptr = 1; continue main; } if ($par2 >= 10 && $par2 < 37) { $par2 = 37; var$7 = 46; var$8 = 0; $ptr = 3; continue main; } if ($par2 >= 37 && $par2 < 46) { var$7 = 10; $par2 = 37; var$8 = 0; $ptr = 4; continue main; } $par2 = 10; var$7 = 46; var$8 = 0; $ptr = 2; continue main; } return $var3; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 1: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$itemID == $var3.$itemID) { $par2 = $var3.$stackSize - $var5.$stackSize | 0; if ($par2 > 0) { $ptr = 5; continue main; } } if ($var5.$stackSize) { $ptr = 6; continue main; } var$4 = null; $ptr = 7; continue main; case 2: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 6; continue main; } var$4 = null; $ptr = 7; continue main; case 3: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 6; continue main; } var$4 = null; $ptr = 7; continue main; case 4: $tmp = nms_Container_mergeItemStack($this, $var5, var$7, $par2, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 6; continue main; } var$4 = null; $ptr = 7; continue main; case 5: $var4.$onCrafting($var5, $par2); if ($rt_suspending()) { break main; } if ($var5.$stackSize) { $ptr = 6; continue main; } var$4 = null; $ptr = 7; continue main; case 6: $var4.$onSlotChanged(); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 8; continue main; case 7: $var4.$putStack(var$4); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 8; case 8: $var4.$onPickupFromSlot($par1EntityPlayer, $var5); if ($rt_suspending()) { break main; } return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nms_ContainerWorkbench_func_94530_a = ($this, $par1ItemStack, $par2Slot) => { return $par2Slot.$inventory0 === $this.$craftResult0 ? 0 : 1; }; function nms_ContainerBeacon() { let a = this; nms_Container.call(a); a.$theBeacon = null; a.$beaconSlot = null; a.$field_82865_g = 0; a.$field_82867_h = 0; a.$field_82868_i = 0; } let nms_ContainerBeacon__init_0 = ($this, $par1InventoryPlayer, $par2TileEntityBeacon) => { let var$3, var$4, $var6, var$6, var$7, var$8, $var5, var$10, var$11; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$inventoryItemStacks = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$inventorySlots = var$3; $this.$field_94535_f = (-1); var$3 = new ju_HashSet; var$4 = new ju_HashMap; $var6 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, $var6); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $this.$field_94537_h = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$crafters = var$3; var$3 = new ju_HashSet; var$4 = new ju_HashMap; $var6 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, $var6); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $this.$playerList = var$3; $this.$theBeacon = $par2TileEntityBeacon; var$3 = new nms_SlotBeacon; var$3.$inventory0 = $par2TileEntityBeacon; var$3.$slotIndex = 0; var$3.$xDisplayPosition = 136; var$3.$yDisplayPosition = 110; var$3.$beacon0 = $this; $this.$beaconSlot = var$3; var$4 = $this.$inventorySlots; var$8 = var$4.$size0; var$3.$slotNumber = var$8; ju_ArrayList_ensureCapacity(var$4, var$8 + 1 | 0); var$7 = var$4.$array.data; var$8 = var$4.$size0; var$4.$size0 = var$8 + 1 | 0; var$7[var$8] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$3 = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$8 = var$3.$size0; var$3.$size0 = var$8 + 1 | 0; var$7[var$8] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $var5 = 0; while ($var5 < 3) { $var6 = 0; while ($var6 < 9) { var$3 = new nms_Slot; var$8 = ($var6 + ($var5 * 9 | 0) | 0) + 9 | 0; var$10 = 36 + ($var6 * 18 | 0) | 0; var$11 = 137 + ($var5 * 18 | 0) | 0; var$3.$inventory0 = $par1InventoryPlayer; var$3.$slotIndex = var$8; var$3.$xDisplayPosition = var$10; var$3.$yDisplayPosition = var$11; var$4 = $this.$inventorySlots; var$10 = var$4.$size0; var$3.$slotNumber = var$10; ju_ArrayList_ensureCapacity(var$4, var$10 + 1 | 0); var$7 = var$4.$array.data; var$10 = var$4.$size0; var$4.$size0 = var$10 + 1 | 0; var$7[var$10] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$3 = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$10 = var$3.$size0; var$3.$size0 = var$10 + 1 | 0; var$7[var$10] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $var6 = $var6 + 1 | 0; } $var5 = $var5 + 1 | 0; } $var6 = 0; while ($var6 < 9) { var$3 = new nms_Slot; var$8 = 36 + ($var6 * 18 | 0) | 0; var$3.$inventory0 = $par1InventoryPlayer; var$3.$slotIndex = $var6; var$3.$xDisplayPosition = var$8; var$3.$yDisplayPosition = 195; var$4 = $this.$inventorySlots; var$8 = var$4.$size0; var$3.$slotNumber = var$8; ju_ArrayList_ensureCapacity(var$4, var$8 + 1 | 0); var$7 = var$4.$array.data; var$10 = var$4.$size0; var$4.$size0 = var$10 + 1 | 0; var$7[var$10] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$3 = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$10 = var$3.$size0; var$3.$size0 = var$10 + 1 | 0; var$7[var$10] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $var6 = $var6 + 1 | 0; } $this.$field_82865_g = $par2TileEntityBeacon.$levels; $this.$field_82867_h = $par2TileEntityBeacon.$primaryEffect; $this.$field_82868_i = $par2TileEntityBeacon.$secondaryEffect; }, nms_ContainerBeacon__init_ = (var_0, var_1) => { let var_2 = new nms_ContainerBeacon(); nms_ContainerBeacon__init_0(var_2, var_0, var_1); return var_2; }, nms_ContainerBeacon_addCraftingToCrafters = ($this, $par1ICrafting) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$2 = $this.$crafters; var$3 = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); a: { while (true) { if (!(var$3 >= var$5 ? 0 : 1)) { var$3 = 0; break a; } if (var$4 < var$2.$modCount) break; var$6 = var$3 + 1 | 0; var$7 = var$2.$get(var$3); if (var$7 === $par1ICrafting ? 1 : var$7 !== null ? var$7.$equals($par1ICrafting) : $par1ICrafting !== null ? 0 : 1) { var$3 = 1; break a; } var$3 = var$6; } $par1ICrafting = new ju_ConcurrentModificationException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ICrafting); $rt_throw($par1ICrafting); } if (var$3) { $par1ICrafting = new jl_IllegalArgumentException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; $par1ICrafting.$message = $rt_s(2714); $rt_throw($par1ICrafting); } var$2 = $this.$crafters; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$8[var$6] = $par1ICrafting; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$4 = 0; while (true) { var$7 = $this.$inventorySlots; var$6 = var$7.$size0; var$3 = $rt_compare(var$4, var$6); if (var$3 >= 0) { if (0 >= var$6) { $par1ICrafting = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ICrafting); $rt_throw($par1ICrafting); } var$2 = var$7.$array.data[0].$getStack(); var$7 = $par1ICrafting.$itemNameField; if (var$2 === null) var$9 = $rt_s(18); else { nms_Item_$callClinit(); var$9 = nms_Item_itemsList.data[var$2.$itemID].$getItemDisplayName(var$2); var$10 = var$2.$stackTagCompound; if (var$10 !== null) { var$10 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); if (ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1525), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1) { var$10 = var$2.$stackTagCompound; var$11 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); if (!(ju_HashMap_findNonNullKeyEntry(var$11, $rt_s(1525), var$6 & (var$11.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1)) { var$11 = new nms_NBTTagCompound; jl_Object__init_(var$11); var$11.$name = $rt_s(1525); var$11.$tagMap = ju_HashMap__init_0(16); } else { var$10 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); var$10 = ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1525), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6); var$11 = var$10 === null ? null : var$10.$value1; } var$12 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); if (ju_HashMap_findNonNullKeyEntry(var$12, $rt_s(1526), var$6 & (var$12.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1) { var$10 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); if (!(ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1526), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1)) var$9 = $rt_s(18); else { var$10 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); var$9 = ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1526), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6); var$9 = (var$9 === null ? null : var$9.$value1).$data1; } } } } } var$3 = var$9.$nativeString.length; var$6 = var$7.$maxStringLength; if (var$3 <= var$6) var$7.$text = var$9; else var$7.$text = jl_String_substring(var$9, 0, var$6); var$7.$cursorPosition = var$7.$text.$nativeString.length; var$6 = var$7.$text.$nativeString.length; if (var$7.$cursorPosition < 0) var$7.$cursorPosition = 0; if (var$7.$cursorPosition > var$6) var$7.$cursorPosition = var$6; nms_GuiTextField_setSelectionPos(var$7, var$7.$cursorPosition); $par1ICrafting.$itemNameField.$isEnabled = var$2 === null ? 0 : 1; if (var$2 !== null) nms_GuiRepair_func_135015_g($par1ICrafting); nms_Container_detectAndSendChanges($this); return; } if (var$4 < 0) break; if (var$3 >= 0) break; var$7 = var$7.$array.data[var$4].$getStack(); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$8[var$6] = var$7; var$2.$modCount = var$2.$modCount + 1 | 0; var$4 = var$4 + 1 | 0; } $par1ICrafting = new jl_IndexOutOfBoundsException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ICrafting); $rt_throw($par1ICrafting); }, nms_ContainerBeacon_updateProgressBar = ($this, $par1, $par2) => { if (!$par1) $this.$theBeacon.$levels = $par2; if ($par1 == 1) nms_TileEntityBeacon_setPrimaryEffect($this.$theBeacon, $par2); if ($par1 == 2) nms_TileEntityBeacon_setSecondaryEffect($this.$theBeacon, $par2); }, nms_ContainerBeacon_canInteractWith = ($this, $par1EntityPlayer) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$theBeacon; $ptr = 1; case 1: $tmp = nms_TileEntityBeacon_isUseableByPlayer(var$2, $par1EntityPlayer); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, $ptr); }, nms_ContainerBeacon_transferStackInSlot = ($this, $par1EntityPlayer, $par2) => { let $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = null; var$4 = $this.$inventorySlots; if ($par2 >= 0 && $par2 < var$4.$size0) { $var4 = var$4.$array.data[$par2]; if ($var4 !== null && $var4.$getHasStack()) { $var5 = $var4.$getStack(); $var3 = new nms_ItemStack; var$7 = $var5.$itemID; var$8 = $var5.$stackSize; var$9 = $var5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$7; $var3.$stackSize = var$8; $var3.$itemDamage = var$9; if (var$9 < 0) $var3.$itemDamage = 0; var$10 = $var5.$stackTagCompound; if (var$10 !== null) { var$11 = new nms_NBTTagCompound; var$4 = var$10.$name; if (var$4 === null) var$4 = $rt_s(18); var$11.$name = var$4; var$4 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$13 = var$12.data; var$4.$elementData = var$12; var$4.$loadFactor = 0.75; var$4.$threshold = var$13.length * 0.75 | 0; var$11.$tagMap = var$4; var$14 = var$10.$tagMap; if (var$14.$cachedKeySet === null) { var$4 = new ju_HashMap$1; var$4.$this$0 = var$14; var$14.$cachedKeySet = var$4; } var$15 = var$14.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); var$4 = var$10.$tagMap; if (var$16 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { if (!var$16.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$16.$nativeString.length) break a; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$8 = var$16.$hashCode1; var$13 = var$4.$elementData.data; var$4 = var$13[var$8 & (var$13.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$8) { b: { var$14 = var$4.$key; if (var$16 !== var$14) { if (var$16 === var$14) var$7 = 1; else if (!(var$14 instanceof jl_String)) var$7 = 0; else { var$14 = var$14; var$7 = var$16.$nativeString !== var$14.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; var$4 = var$4.$copy(); var$14 = var$11.$tagMap; if (var$16 !== null) var$4.$name = var$16; else var$4.$name = $rt_s(18); ju_HashMap_putImpl(var$14, var$16, var$4); } $var3.$stackTagCompound = var$11; } if (!$par2) { $par2 = 1; var$7 = 37; var$8 = 1; $ptr = 1; continue main; } var$14 = $this.$beaconSlot; var$7 = var$14.$inventory0.$getStackInSlot(var$14.$slotIndex) === null ? 0 : 1; if (!var$7 && nms_SlotBeacon_isItemValid($this.$beaconSlot, $var5) && $var5.$stackSize == 1) { $par2 = 0; var$7 = 1; var$8 = 0; $ptr = 7; continue main; } if ($par2 >= 1 && $par2 < 28) { $par2 = 28; var$7 = 37; var$8 = 0; $ptr = 6; continue main; } if ($par2 >= 28 && $par2 < 37) { $par2 = 1; var$7 = 28; var$8 = 0; $ptr = 8; continue main; } $par2 = 1; var$7 = 37; var$8 = 0; $ptr = 5; continue main; } return $var3; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 1: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$itemID == $var3.$itemID) { $par2 = $var3.$stackSize - $var5.$stackSize | 0; if ($par2 > 0) { $ptr = 2; continue main; } } if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 2: $var4.$onCrafting($var5, $par2); if ($rt_suspending()) { break main; } if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 3: $var4.$onSlotChanged(); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 9; continue main; case 4: $var4.$putStack(var$4); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 9; continue main; case 5: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 6: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 7: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 8: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 9: $var4.$onPickupFromSlot($par1EntityPlayer, $var5); if ($rt_suspending()) { break main; } return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }; function nms_ContainerRepair() { let a = this; nms_Container.call(a); a.$outputSlot = null; a.$inputSlots = null; a.$theWorld5 = null; a.$field_82861_i = 0; a.$field_82858_j = 0; a.$field_82859_k = 0; a.$maximumCost = 0; a.$stackSizeToBeUsedInRepair = 0; a.$repairedItemName = null; a.$thePlayer6 = null; } let nms_ContainerRepair__init_0 = ($this, $par1InventoryPlayer, $par2World, $par3, $par4, $par5, $par6EntityPlayer) => { let var$7, var$8, $var7, var$10, var$11, $var8; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); $this.$inventoryItemStacks = var$7; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); $this.$inventorySlots = var$7; $this.$field_94535_f = (-1); var$7 = new ju_HashSet; var$8 = new ju_HashMap; $var7 = ju_HashMap_calculateCapacity(16); var$8.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, $var7); var$11 = var$10.data; var$8.$elementData = var$10; var$8.$loadFactor = 0.75; var$8.$threshold = var$11.length * 0.75 | 0; var$7.$backingMap = var$8; $this.$field_94537_h = var$7; var$7 = new ju_ArrayList; var$7.$array = $rt_createArray(jl_Object, 10); $this.$crafters = var$7; var$7 = new ju_HashSet; var$8 = new ju_HashMap; $var7 = ju_HashMap_calculateCapacity(16); var$8.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, $var7); var$11 = var$10.data; var$8.$elementData = var$10; var$8.$loadFactor = 0.75; var$8.$threshold = var$11.length * 0.75 | 0; var$7.$backingMap = var$8; $this.$playerList = var$7; var$7 = new nms_InventoryCraftResult; var$7.$stackResult = $rt_createArray(nms_ItemStack, 1); $this.$outputSlot = var$7; var$8 = new nms_ContainerRepairINNER1; var$8.$inventoryTitle = $rt_s(3939); var$8.$field_94051_e = 1; var$8.$slotsCount = 2; var$8.$inventoryContents = $rt_createArray(nms_ItemStack, 2); var$8.$repairContainer1 = $this; $this.$inputSlots = var$8; $this.$theWorld5 = $par2World; $this.$field_82861_i = $par3; $this.$field_82858_j = $par4; $this.$field_82859_k = $par5; $this.$thePlayer6 = $par6EntityPlayer; $par6EntityPlayer = new nms_Slot; $par6EntityPlayer.$inventory0 = var$8; $par6EntityPlayer.$slotIndex = 0; $par6EntityPlayer.$xDisplayPosition = 27; $par6EntityPlayer.$yDisplayPosition = 47; var$7 = $this.$inventorySlots; $var8 = var$7.$size0; $par6EntityPlayer.$slotNumber = $var8; ju_ArrayList_ensureCapacity(var$7, $var8 + 1 | 0); var$11 = var$7.$array.data; $var8 = var$7.$size0; var$7.$size0 = $var8 + 1 | 0; var$11[$var8] = $par6EntityPlayer; var$7.$modCount = var$7.$modCount + 1 | 0; $par6EntityPlayer = $this.$inventoryItemStacks; var$7 = null; ju_ArrayList_ensureCapacity($par6EntityPlayer, $par6EntityPlayer.$size0 + 1 | 0); var$11 = $par6EntityPlayer.$array.data; $var8 = $par6EntityPlayer.$size0; $par6EntityPlayer.$size0 = $var8 + 1 | 0; var$11[$var8] = var$7; $par6EntityPlayer.$modCount = $par6EntityPlayer.$modCount + 1 | 0; $par6EntityPlayer = new nms_Slot; $par6EntityPlayer.$inventory0 = $this.$inputSlots; $par6EntityPlayer.$slotIndex = 1; $par6EntityPlayer.$xDisplayPosition = 76; $par6EntityPlayer.$yDisplayPosition = 47; var$7 = $this.$inventorySlots; $var8 = var$7.$size0; $par6EntityPlayer.$slotNumber = $var8; ju_ArrayList_ensureCapacity(var$7, $var8 + 1 | 0); var$11 = var$7.$array.data; $var8 = var$7.$size0; var$7.$size0 = $var8 + 1 | 0; var$11[$var8] = $par6EntityPlayer; var$7.$modCount = var$7.$modCount + 1 | 0; $par6EntityPlayer = $this.$inventoryItemStacks; var$7 = null; ju_ArrayList_ensureCapacity($par6EntityPlayer, $par6EntityPlayer.$size0 + 1 | 0); var$11 = $par6EntityPlayer.$array.data; $var8 = $par6EntityPlayer.$size0; $par6EntityPlayer.$size0 = $var8 + 1 | 0; var$11[$var8] = var$7; $par6EntityPlayer.$modCount = $par6EntityPlayer.$modCount + 1 | 0; $par6EntityPlayer = new nms_ContainerRepairINNER2; $par6EntityPlayer.$inventory0 = $this.$outputSlot; $par6EntityPlayer.$slotIndex = 2; $par6EntityPlayer.$xDisplayPosition = 134; $par6EntityPlayer.$yDisplayPosition = 47; $par6EntityPlayer.$repairContainer0 = $this; $par6EntityPlayer.$field_135071_a = $par2World; $par6EntityPlayer.$field_135069_b = $par3; $par6EntityPlayer.$field_135070_c = $par4; $par6EntityPlayer.$field_135067_d = $par5; $par2World = $this.$inventorySlots; $par4 = $par2World.$size0; $par6EntityPlayer.$slotNumber = $par4; ju_ArrayList_ensureCapacity($par2World, $par4 + 1 | 0); var$11 = $par2World.$array.data; $par4 = $par2World.$size0; $par2World.$size0 = $par4 + 1 | 0; var$11[$par4] = $par6EntityPlayer; $par2World.$modCount = $par2World.$modCount + 1 | 0; $par2World = $this.$inventoryItemStacks; $par6EntityPlayer = null; ju_ArrayList_ensureCapacity($par2World, $par2World.$size0 + 1 | 0); var$11 = $par2World.$array.data; $par4 = $par2World.$size0; $par2World.$size0 = $par4 + 1 | 0; var$11[$par4] = $par6EntityPlayer; $par2World.$modCount = $par2World.$modCount + 1 | 0; $var7 = 0; while ($var7 < 3) { $var8 = 0; while ($var8 < 9) { $par2World = new nms_Slot; $par3 = ($var8 + ($var7 * 9 | 0) | 0) + 9 | 0; $par4 = 8 + ($var8 * 18 | 0) | 0; $par5 = 84 + ($var7 * 18 | 0) | 0; $par2World.$inventory0 = $par1InventoryPlayer; $par2World.$slotIndex = $par3; $par2World.$xDisplayPosition = $par4; $par2World.$yDisplayPosition = $par5; $par6EntityPlayer = $this.$inventorySlots; $par4 = $par6EntityPlayer.$size0; $par2World.$slotNumber = $par4; ju_ArrayList_ensureCapacity($par6EntityPlayer, $par4 + 1 | 0); var$11 = $par6EntityPlayer.$array.data; $par4 = $par6EntityPlayer.$size0; $par6EntityPlayer.$size0 = $par4 + 1 | 0; var$11[$par4] = $par2World; $par6EntityPlayer.$modCount = $par6EntityPlayer.$modCount + 1 | 0; $par2World = $this.$inventoryItemStacks; $par6EntityPlayer = null; ju_ArrayList_ensureCapacity($par2World, $par2World.$size0 + 1 | 0); var$11 = $par2World.$array.data; $par4 = $par2World.$size0; $par2World.$size0 = $par4 + 1 | 0; var$11[$par4] = $par6EntityPlayer; $par2World.$modCount = $par2World.$modCount + 1 | 0; $var8 = $var8 + 1 | 0; } $var7 = $var7 + 1 | 0; } $par3 = 0; while ($par3 < 9) { $par2World = new nms_Slot; $par4 = 8 + ($par3 * 18 | 0) | 0; $par2World.$inventory0 = $par1InventoryPlayer; $par2World.$slotIndex = $par3; $par2World.$xDisplayPosition = $par4; $par2World.$yDisplayPosition = 142; $par6EntityPlayer = $this.$inventorySlots; $par5 = $par6EntityPlayer.$size0; $par2World.$slotNumber = $par5; ju_ArrayList_ensureCapacity($par6EntityPlayer, $par5 + 1 | 0); var$11 = $par6EntityPlayer.$array.data; $par5 = $par6EntityPlayer.$size0; $par6EntityPlayer.$size0 = $par5 + 1 | 0; var$11[$par5] = $par2World; $par6EntityPlayer.$modCount = $par6EntityPlayer.$modCount + 1 | 0; $par2World = $this.$inventoryItemStacks; $par6EntityPlayer = null; ju_ArrayList_ensureCapacity($par2World, $par2World.$size0 + 1 | 0); var$11 = $par2World.$array.data; $par5 = $par2World.$size0; $par2World.$size0 = $par5 + 1 | 0; var$11[$par5] = $par6EntityPlayer; $par2World.$modCount = $par2World.$modCount + 1 | 0; $par3 = $par3 + 1 | 0; } }, nms_ContainerRepair__init_ = (var_0, var_1, var_2, var_3, var_4, var_5) => { let var_6 = new nms_ContainerRepair(); nms_ContainerRepair__init_0(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; }, nms_ContainerRepair_updateRepairOutput = $this => { let $var1, $var2, $var4, $var5, $var9, $var11, $var8, $var20, $var21, $var22, var$11, var$12, $var17, $var6, $var7, $var13, $var3, $var19, $var9_0, $var10, $var11_0, $var12, $var14, $var10000, $var15, $var16, $var18, $var23, $var21$futureEntry, var$30, $var21$futureEntry_0, $var14_0; a: { $var1 = $this.$inputSlots.$inventoryContents.data[0]; $this.$maximumCost = 0; $var2 = 0; $var4 = 0; if ($var1 !== null) { $var5 = new nms_ItemStack; $var9 = $var1.$itemID; $var11 = $var1.$stackSize; $var8 = $var1.$itemDamage; nms_ItemStack_$callClinit(); $var5.$itemID = $var9; $var5.$stackSize = $var11; $var5.$itemDamage = $var8; if ($var8 < 0) $var5.$itemDamage = 0; $var20 = $var1.$stackTagCompound; if ($var20 !== null) { $var21 = new nms_NBTTagCompound; $var22 = $var20.$name; if ($var22 === null) $var22 = $rt_s(18); $var21.$name = $var22; $var22 = new ju_HashMap; $var9 = ju_HashMap_calculateCapacity(16); $var22.$elementCount = 0; var$11 = ju_HashMap_newElementArray($var22, $var9); var$12 = var$11.data; $var22.$elementData = var$11; $var22.$loadFactor = 0.75; $var22.$threshold = var$12.length * 0.75 | 0; $var21.$tagMap = $var22; $var22 = $var20.$tagMap; if ($var22.$cachedKeySet === null) { $var17 = new ju_HashMap$1; $var17.$this$0 = $var22; $var22.$cachedKeySet = $var17; } $var22 = $var22.$cachedKeySet.$iterator(); while ($var22.$hasNext()) { $var17 = $var22.$next(); $var6 = $var20.$tagMap; if ($var17 === null) { $var6 = $var6.$elementData.data[0]; while ($var6 !== null && $var6.$key !== null) { $var6 = $var6.$next3; } } else { $var11 = jl_String_hashCode($var17); var$11 = $var6.$elementData.data; $var6 = var$11[$var11 & (var$11.length - 1 | 0)]; while ($var6 !== null) { if ($var6.$origKeyHash == $var11) { $var7 = $var6.$key; if ($var17 !== $var7 && !jl_String_equals($var17, $var7) ? 0 : 1) break; } $var6 = $var6.$next3; } } $var6 = $var6 === null ? null : $var6.$value1; $var6 = $var6.$copy(); $var7 = $var21.$tagMap; if ($var17 !== null) $var6.$name = $var17; else $var6.$name = $rt_s(18); ju_HashMap_putImpl($var7, $var17, $var6); } $var5.$stackTagCompound = $var21; } $var6 = $this.$inputSlots.$inventoryContents.data[1]; $var7 = nms_EnchantmentHelper_getEnchantments($var5); $var8 = 0; $var21 = $var1.$stackTagCompound; $var9 = $var21 === null ? 0 : 1; b: { if ($var9) { $var21 = $var21.$tagMap; $var11 = jl_String_hashCode($rt_s(3940)); var$11 = $var21.$elementData.data; $var21 = var$11[$var11 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var11) { $var22 = $var21.$key; if ($rt_s(3940) !== $var22 && !jl_String_equals($rt_s(3940), $var22) ? 0 : 1) break; } $var21 = $var21.$next3; } if ($var21 === null ? 0 : 1) { $var20 = $var1.$stackTagCompound; $var22 = $var20.$tagMap; $var11 = jl_String_hashCode($rt_s(3940)); var$11 = $var22.$elementData.data; $var22 = var$11[$var11 & (var$11.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var11) { $var17 = $var22.$key; if ($rt_s(3940) !== $var17 && !jl_String_equals($rt_s(3940), $var17) ? 0 : 1) break; } $var22 = $var22.$next3; } if ($var22 === null ? 0 : 1) { $var20 = $var20.$tagMap; if ($rt_s(3940) === null) { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } else { $var11 = jl_String_hashCode($rt_s(3940)); var$11 = $var20.$elementData.data; $var20 = var$11[$var11 & (var$11.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var11) { $var22 = $var20.$key; if ($rt_s(3940) !== $var22 && !jl_String_equals($rt_s(3940), $var22) ? 0 : 1) break; } $var20 = $var20.$next3; } } $var9 = ($var20 === null ? null : $var20.$value1).$data0; } else $var9 = 0; break b; } } $var9 = 0; } $var13 = 0 + $var9 | 0; if ($var6 === null) $var3 = 0; else { $var21 = $var6.$stackTagCompound; $var3 = $var21 === null ? 0 : 1; c: { if ($var3) { $var21 = $var21.$tagMap; $var9 = jl_String_hashCode($rt_s(3940)); var$11 = $var21.$elementData.data; $var21 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var9) { $var22 = $var21.$key; if ($rt_s(3940) !== $var22 && !jl_String_equals($rt_s(3940), $var22) ? 0 : 1) break; } $var21 = $var21.$next3; } if ($var21 === null ? 0 : 1) { $var20 = $var6.$stackTagCompound; $var22 = $var20.$tagMap; $var9 = jl_String_hashCode($rt_s(3940)); var$11 = $var22.$elementData.data; $var22 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var9) { $var17 = $var22.$key; if ($rt_s(3940) !== $var17 && !jl_String_equals($rt_s(3940), $var17) ? 0 : 1) break; } $var22 = $var22.$next3; } if ($var22 === null ? 0 : 1) { $var20 = $var20.$tagMap; if ($rt_s(3940) === null) { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } else { $var9 = jl_String_hashCode($rt_s(3940)); var$11 = $var20.$elementData.data; $var20 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var9) { $var22 = $var20.$key; if ($rt_s(3940) !== $var22 && !jl_String_equals($rt_s(3940), $var22) ? 0 : 1) break; } $var20 = $var20.$next3; } } $var3 = ($var20 === null ? null : $var20.$value1).$data0; } else $var3 = 0; break c; } } $var3 = 0; } } $var19 = $var13 + $var3 | 0; $this.$stackSizeToBeUsedInRepair = 0; if ($var6 !== null) { d: { $var3 = $var6.$itemID; nms_Item_$callClinit(); if ($var3 == nms_Item_enchantedBook.$itemID0) { e: { $var20 = $var6.$stackTagCompound; if ($var20 !== null) { $var20 = $var20.$tagMap; $var9 = jl_String_hashCode($rt_s(2992)); var$11 = $var20.$elementData.data; $var20 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var9) { $var22 = $var20.$key; if ($rt_s(2992) !== $var22 && !jl_String_equals($rt_s(2992), $var22) ? 0 : 1) break; } $var20 = $var20.$next3; } if ($var20 === null ? 0 : 1) { $var20 = $var6.$stackTagCompound.$tagMap; $var9 = jl_String_hashCode($rt_s(2992)); var$11 = $var20.$elementData.data; $var20 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var9) { $var22 = $var20.$key; if ($rt_s(2992) !== $var22 && !jl_String_equals($rt_s(2992), $var22) ? 0 : 1) break; } $var20 = $var20.$next3; } $var20 = $var20 === null ? null : $var20.$value1; break e; } } $var20 = new nms_NBTTagList; $var20.$name = $rt_s(18); $var21 = new ju_ArrayList; $var21.$array = $rt_createArray(jl_Object, 10); $var20.$tagList = $var21; } if ($var20.$tagList.$size0 > 0) { $var8 = 1; break d; } } $var8 = 0; } var$11 = nms_Item_itemsList.data; $var3 = $var5.$itemID; $var9 = var$11[$var3].$maxDamage <= 0 ? 0 : 1; if ($var9 && var$11[$var3].$getIsRepairable($var1, $var6)) { $var9 = $var5.$itemDamage; var$11 = nms_Item_itemsList.data; $var11 = $var5.$itemID; $var9_0 = var$11[$var11].$maxDamage / 4 | 0; if ($var9 < $var9_0) $var9_0 = $var9; if ($var9_0 <= 0) { $var20 = $this.$outputSlot; $var20.$stackResult.data[0] = null; $this.$maximumCost = 0; return; } $var10 = 0; while ($var9_0 > 0 && $var10 < $var6.$stackSize) { $var11_0 = $var5.$itemDamage - $var9_0 | 0; $var5.$itemDamage = $var11_0; if ($var11_0 < 0) $var5.$itemDamage = 0; $var13 = $var9_0 / 100 | 0; if (1 > $var13) $var13 = 1; $var2 = $var2 + ($var13 + $var7.$elementCount | 0) | 0; $var9 = $var5.$itemDamage; $var9_0 = var$11[$var11].$maxDamage / 4 | 0; if ($var9 < $var9_0) $var9_0 = $var9; $var10 = $var10 + 1 | 0; } $this.$stackSizeToBeUsedInRepair = $var10; } else { if (!$var8) { $var3 = $var5.$itemID; if (!($var3 == $var6.$itemID && (nms_Item_itemsList.data[$var3].$maxDamage <= 0 ? 0 : 1))) { $var20 = $this.$outputSlot; $var20.$stackResult.data[0] = null; $this.$maximumCost = 0; return; } } $var3 = nms_Item_itemsList.data[$var5.$itemID].$maxDamage <= 0 ? 0 : 1; if ($var3 && !$var8) { $var9 = nms_ItemStack_getMaxDamage($var1) - nms_ItemStack_getItemDamageForDisplay($var1) | 0; $var11 = (nms_ItemStack_getMaxDamage($var6) - nms_ItemStack_getItemDamageForDisplay($var6) | 0) + ((nms_ItemStack_getMaxDamage($var5) * 12 | 0) / 100 | 0) | 0; $var12 = $var9 + $var11 | 0; $var13 = nms_ItemStack_getMaxDamage($var5) - $var12 | 0; if ($var13 < 0) $var13 = 0; if ($var13 < nms_ItemStack_getItemDamage($var5)) { nms_ItemStack_setItemDamage($var5, $var13); $var2 = $var2 + jl_Math_max(1, $var11 / 100 | 0) | 0; } } $var20 = nms_EnchantmentHelper_getEnchantments($var6); $var21 = ju_LinkedHashMapKeySet_iterator(ju_LinkedHashMap_keySet($var20)); while (ju_LinkedHashMapIterator_hasNext($var21)) { $var11 = jl_Integer_intValue(ju_LinkedHashMapIterator$KeyIterator_next($var21)); nms_Enchantment_$callClinit(); $var22 = nms_Enchantment_enchantmentsList.data[$var11]; $var13 = !ju_HashMap_containsKey($var7, jl_Integer_valueOf($var11)) ? 0 : jl_Integer_intValue(ju_LinkedHashMap_get($var7, jl_Integer_valueOf($var11))); $var14 = jl_Integer_intValue(ju_LinkedHashMap_get($var20, jl_Integer_valueOf($var11))); $var10000 = $var13 != $var14 ? jl_Math_max($var14, $var13) : $var14 + 1 | 0; $var15 = $var10000 - $var13 | 0; $var16 = $var22.$canApply($var1); if (!(!$this.$thePlayer6.$capabilities.$isCreativeMode && $var1.$itemID != nms_Item_enchantedBook.$itemID0)) $var16 = 1; $var17 = ju_LinkedHashMapKeySet_iterator(ju_LinkedHashMap_keySet($var7)); while (ju_LinkedHashMapIterator_hasNext($var17)) { $var18 = jl_Integer_intValue(ju_LinkedHashMapIterator$KeyIterator_next($var17)); if ($var18 != $var11 && !$var22.$canApplyTogether(nms_Enchantment_enchantmentsList.data[$var18])) { $var16 = 0; $var2 = $var2 + $var15 | 0; } } if ($var16) { if ($var10000 > $var22.$getMaxLevel()) $var10000 = $var22.$getMaxLevel(); f: { g: { h: { ju_LinkedHashMap_put($var7, jl_Integer_valueOf($var11), jl_Integer_valueOf($var10000)); $var23 = 0; switch (nms_Enchantment_getWeight($var22)) { case 1: break; case 2: $var23 = 4; break g; case 5: $var23 = 2; break f; case 10: $var23 = 1; break f; case 3: case 4: case 6: case 7: case 8: case 9: break h; default: break h; } $var23 = 8; break f; } } } if ($var8) $var23 = jl_Math_max(1, $var23 / 2 | 0); $var2 = $var2 + $rt_imul($var23, $var15) | 0; } } } } i: { $var21 = $this.$repairedItemName; if ($var21 !== null) { if ($var21 === $rt_s(18)) $var3 = 1; else if (!($rt_s(18) instanceof jl_String)) $var3 = 0; else { $var20 = $rt_s(18); $var3 = $var21.$nativeString !== $var20.$nativeString ? 0 : 1; } if (!$var3) { $var21 = $this.$repairedItemName; if ($var21 === $rt_s(953)) $var3 = 1; else if (!($rt_s(953) instanceof jl_String)) $var3 = 0; else { $var20 = $rt_s(953); $var3 = $var21.$nativeString !== $var20.$nativeString ? 0 : 1; } if (!$var3) { $var22 = $this.$repairedItemName; nms_Item_$callClinit(); $var17 = nms_Item_itemsList.data[$var1.$itemID].$getItemDisplayName($var1); $var20 = $var1.$stackTagCompound; if ($var20 !== null) { $var20 = $var20.$tagMap; $var9 = jl_String_hashCode($rt_s(1525)); var$11 = $var20.$elementData.data; $var20 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var9) { $var21 = $var20.$key; if ($rt_s(1525) !== $var21 && !jl_String_equals($rt_s(1525), $var21) ? 0 : 1) break; } $var20 = $var20.$next3; } if ($var20 === null ? 0 : 1) { $var21$futureEntry = $var1.$stackTagCompound; $var20 = $var21$futureEntry.$tagMap; $var9 = jl_String_hashCode($rt_s(1525)); var$11 = $var20.$elementData.data; $var20 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var9) { $var21 = $var20.$key; if ($rt_s(1525) !== $var21 && !jl_String_equals($rt_s(1525), $var21) ? 0 : 1) break; } $var20 = $var20.$next3; } if ($var20 === null ? 0 : 1) { $var20 = $var21$futureEntry.$tagMap; if ($rt_s(1525) !== null) { $var9 = jl_String_hashCode($rt_s(1525)); var$11 = $var20.$elementData.data; $var20 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var9) { $var21 = $var20.$key; if ($rt_s(1525) !== $var21 && !jl_String_equals($rt_s(1525), $var21) ? 0 : 1) break; } $var20 = $var20.$next3; } } else { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } var$30 = $var20 === null ? null : $var20.$value1; } else { var$30 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) var$30.$name = $rt_s(1525); else var$30.$name = $rt_s(18); $var20 = new ju_HashMap; $var9 = ju_HashMap_calculateCapacity(16); $var20.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $var9); var$11 = var$12.data; $var20.$elementData = var$12; $var20.$loadFactor = 0.75; $var20.$threshold = var$11.length * 0.75 | 0; var$30.$tagMap = $var20; } $var21 = var$30.$tagMap; $var9 = jl_String_hashCode($rt_s(1526)); var$11 = $var21.$elementData.data; $var21 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var9) { $var21$futureEntry = $var21.$key; if ($rt_s(1526) !== $var21$futureEntry && !jl_String_equals($rt_s(1526), $var21$futureEntry) ? 0 : 1) break; } $var21 = $var21.$next3; } if ($var21 === null ? 0 : 1) { $var21 = var$30.$tagMap; $var9 = jl_String_hashCode($rt_s(1526)); var$11 = $var21.$elementData.data; $var21 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var9) { $var17 = $var21.$key; if ($rt_s(1526) !== $var17 && !jl_String_equals($rt_s(1526), $var17) ? 0 : 1) break; } $var21 = $var21.$next3; } if ($var21 === null ? 0 : 1) { $var21 = var$30.$tagMap; if ($rt_s(1526) === null) { $var21 = $var21.$elementData.data[0]; while ($var21 !== null && $var21.$key !== null) { $var21 = $var21.$next3; } } else { $var9 = jl_String_hashCode($rt_s(1526)); var$11 = $var21.$elementData.data; $var21 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var9) { $var17 = $var21.$key; if ($rt_s(1526) !== $var17 && !jl_String_equals($rt_s(1526), $var17) ? 0 : 1) break; } $var21 = $var21.$next3; } } $var17 = ($var21 === null ? null : $var21.$value1).$data1; } else $var17 = $rt_s(18); } } } if ($var22 !== $var17) { if (!($var17 instanceof jl_String)) $var3 = 0; else { $var20 = $var17; $var3 = $var22.$nativeString !== $var20.$nativeString ? 0 : 1; } } else $var3 = 1; if (!$var3) { $var4 = (nms_Item_itemsList.data[$var1.$itemID].$maxDamage <= 0 ? 0 : 1) ? 7 : $var1.$stackSize * 5 | 0; $var2 = $var2 + $var4 | 0; $var21 = $var1.$stackTagCompound; if ($var21 === null) $var3 = 0; else { j: { $var21 = $var21.$tagMap; if (!$rt_s(1525).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1525).$nativeString.length) break j; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var11 = $rt_s(1525).$hashCode1; var$11 = $var21.$elementData.data; $var21 = var$11[$var11 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var11) { k: { $var22 = $var21.$key; if ($rt_s(1525) !== $var22) { if ($rt_s(1525) === $var22) $var3 = 1; else if (!($var22 instanceof jl_String)) $var3 = 0; else { $var22 = $var22; $var3 = $rt_s(1525).$nativeString !== $var22.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break k; } } $var3 = 1; } if ($var3) break; } $var21 = $var21.$next3; } if (!($var21 === null ? 0 : 1)) $var3 = 0; else { l: { $var20 = $var1.$stackTagCompound; $var22 = $var20.$tagMap; if (!$rt_s(1525).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1525).$nativeString.length) break l; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var11 = $rt_s(1525).$hashCode1; var$11 = $var22.$elementData.data; $var22 = var$11[$var11 & (var$11.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var11) { m: { $var17 = $var22.$key; if ($rt_s(1525) !== $var17) { if ($rt_s(1525) === $var17) $var3 = 1; else if (!($var17 instanceof jl_String)) $var3 = 0; else { $var17 = $var17; $var3 = $rt_s(1525).$nativeString !== $var17.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break m; } } $var3 = 1; } if ($var3) break; } $var22 = $var22.$next3; } if (!($var22 === null ? 0 : 1)) { $var22 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $var22.$name = $rt_s(1525); else $var22.$name = $rt_s(18); $var20 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $var20.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$11 = var$12.data; $var20.$elementData = var$12; $var20.$loadFactor = 0.75; $var20.$threshold = var$11.length * 0.75 | 0; $var22.$tagMap = $var20; } else { $var20 = $var20.$tagMap; if ($rt_s(1525) !== null) { n: { if (!$rt_s(1525).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1525).$nativeString.length) break n; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var11 = $rt_s(1525).$hashCode1; var$11 = $var20.$elementData.data; $var20 = var$11[$var11 & (var$11.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var11) { o: { $var22 = $var20.$key; if ($rt_s(1525) !== $var22) { if ($rt_s(1525) !== $var22) { if ($var22 instanceof jl_String) { $var22 = $var22; $var3 = $rt_s(1525).$nativeString !== $var22.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break o; } } $var3 = 1; } if ($var3) break; } $var20 = $var20.$next3; } } else { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } $var22 = $var20 === null ? null : $var20.$value1; } p: { $var21 = $var22.$tagMap; if (!$rt_s(1526).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1526).$nativeString.length) break p; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var11 = $rt_s(1526).$hashCode1; var$11 = $var21.$elementData.data; $var21 = var$11[$var11 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var11) { q: { $var22 = $var21.$key; if ($rt_s(1526) !== $var22) { if ($rt_s(1526) !== $var22) { if ($var22 instanceof jl_String) { $var22 = $var22; $var3 = $rt_s(1526).$nativeString !== $var22.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break q; } } $var3 = 1; } if ($var3) break; } $var21 = $var21.$next3; } $var3 = $var21 === null ? 0 : 1; } } if ($var3) $var19 = $var19 + ($var4 / 2 | 0) | 0; nms_ItemStack_setItemName($var5, $this.$repairedItemName); break i; } break i; } } } $var21 = $var1.$stackTagCompound; if ($var21 !== null) { $var21 = $var21.$tagMap; $var9 = jl_String_hashCode($rt_s(1525)); var$11 = $var21.$elementData.data; $var21 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var9) { $var22 = $var21.$key; if ($rt_s(1525) !== $var22 && !jl_String_equals($rt_s(1525), $var22) ? 0 : 1) break; } $var21 = $var21.$next3; } if ($var21 === null ? 0 : 1) { $var20 = $var1.$stackTagCompound; $var22 = $var20.$tagMap; $var9 = jl_String_hashCode($rt_s(1525)); var$11 = $var22.$elementData.data; $var22 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var9) { $var17 = $var22.$key; if ($rt_s(1525) !== $var17 && !jl_String_equals($rt_s(1525), $var17) ? 0 : 1) break; } $var22 = $var22.$next3; } if (!($var22 === null ? 0 : 1)) { $var22 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $var22.$name = $rt_s(1525); else $var22.$name = $rt_s(18); $var20 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $var20.$elementCount = 0; var$11 = ju_HashMap_newElementArray($var20, $var3); var$12 = var$11.data; $var20.$elementData = var$11; $var20.$loadFactor = 0.75; $var20.$threshold = var$12.length * 0.75 | 0; $var22.$tagMap = $var20; } else { $var20 = $var20.$tagMap; if ($rt_s(1525) === null) { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } else { $var9 = jl_String_hashCode($rt_s(1525)); var$11 = $var20.$elementData.data; $var20 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var9) { $var22 = $var20.$key; if ($rt_s(1525) !== $var22 && !jl_String_equals($rt_s(1525), $var22) ? 0 : 1) break; } $var20 = $var20.$next3; } } $var22 = $var20 === null ? null : $var20.$value1; } $var21 = $var22.$tagMap; $var9 = jl_String_hashCode($rt_s(1526)); var$11 = $var21.$elementData.data; $var21 = var$11[$var9 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var9) { $var22 = $var21.$key; if ($rt_s(1526) !== $var22 && !jl_String_equals($rt_s(1526), $var22) ? 0 : 1) break; } $var21 = $var21.$next3; } $var3 = $var21 === null ? 0 : 1; } else $var3 = 0; } else $var3 = 0; if ($var3) { nms_Item_$callClinit(); $var4 = (nms_Item_itemsList.data[$var1.$itemID].$maxDamage <= 0 ? 0 : 1) ? 7 : $var1.$stackSize * 5 | 0; $var2 = $var2 + $var4 | 0; nms_ItemStack_func_135074_t($var5); } } $var9 = 0; if ($var7.$cachedKeySet === null) { $var20 = new ju_LinkedHashMapKeySet; $var20.$base1 = $var7; $var20.$reversed0 = 0; $var7.$cachedKeySet = $var20; } $var20 = $var7.$cachedKeySet; $var21 = $var20.$base1; $var14 = $var20.$reversed0; $var10000 = $var21.$modCount0; $var21$futureEntry_0 = !$var14 ? $var21.$head : $var21.$tail; while (true) { if (!($var21$futureEntry_0 === null ? 0 : 1)) { if ($var8) { $var19 = $var19 / 2 | 0; if (1 > $var19) $var19 = 1; } $var3 = $var19 + $var2 | 0; $this.$maximumCost = $var3; if ($var2 <= 0) $var5 = null; if ($var4 == $var2 && $var4 > 0 && $var3 >= 40) $this.$maximumCost = 39; if ($this.$maximumCost >= 40 && !$this.$thePlayer6.$capabilities.$isCreativeMode) $var5 = null; if ($var5 !== null) { $var21 = $var5.$stackTagCompound; $var3 = $var21 === null ? 0 : 1; r: { if ($var3) { $var21 = $var21.$tagMap; $var2 = jl_String_hashCode($rt_s(3940)); var$11 = $var21.$elementData.data; $var21 = var$11[$var2 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var2) { $var22 = $var21.$key; if ($rt_s(3940) !== $var22 && !jl_String_equals($rt_s(3940), $var22) ? 0 : 1) break; } $var21 = $var21.$next3; } if ($var21 === null ? 0 : 1) { $var20 = $var5.$stackTagCompound; $var22 = $var20.$tagMap; $var2 = jl_String_hashCode($rt_s(3940)); var$11 = $var22.$elementData.data; $var22 = var$11[$var2 & (var$11.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var2) { $var17 = $var22.$key; if ($rt_s(3940) !== $var17 && !jl_String_equals($rt_s(3940), $var17) ? 0 : 1) break; } $var22 = $var22.$next3; } if ($var22 === null ? 0 : 1) { $var20 = $var20.$tagMap; if ($rt_s(3940) === null) { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } else { $var2 = jl_String_hashCode($rt_s(3940)); var$11 = $var20.$elementData.data; $var20 = var$11[$var2 & (var$11.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var2) { $var22 = $var20.$key; if ($rt_s(3940) !== $var22 && !jl_String_equals($rt_s(3940), $var22) ? 0 : 1) break; } $var20 = $var20.$next3; } } $var10 = ($var20 === null ? null : $var20.$value1).$data0; } else $var10 = 0; break r; } } $var10 = 0; } if ($var6 !== null) { $var21 = $var6.$stackTagCompound; $var3 = $var21 === null ? 0 : 1; s: { if ($var3) { t: { $var21 = $var21.$tagMap; if (!$rt_s(3940).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3940).$nativeString.length) break t; $rt_s(3940).$hashCode1 = (31 * $rt_s(3940).$hashCode1 | 0) + $rt_s(3940).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var4 = $rt_s(3940).$hashCode1; var$11 = $var21.$elementData.data; $var21 = var$11[$var4 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var4) { u: { $var22 = $var21.$key; if ($rt_s(3940) !== $var22) { if ($rt_s(3940) === $var22) $var3 = 1; else if (!($var22 instanceof jl_String)) $var3 = 0; else { $var22 = $var22; $var3 = $rt_s(3940).$nativeString !== $var22.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break u; } } $var3 = 1; } if ($var3) break; } $var21 = $var21.$next3; } if ($var21 === null ? 0 : 1) { v: { $var20 = $var6.$stackTagCompound; $var22 = $var20.$tagMap; if (!$rt_s(3940).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3940).$nativeString.length) break v; $rt_s(3940).$hashCode1 = (31 * $rt_s(3940).$hashCode1 | 0) + $rt_s(3940).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var4 = $rt_s(3940).$hashCode1; var$11 = $var22.$elementData.data; $var22 = var$11[$var4 & (var$11.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var4) { w: { $var17 = $var22.$key; if ($rt_s(3940) !== $var17) { if ($rt_s(3940) !== $var17) { if ($var17 instanceof jl_String) { $var17 = $var17; $var3 = $rt_s(3940).$nativeString !== $var17.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break w; } } $var3 = 1; } if ($var3) break; } $var22 = $var22.$next3; } if (!($var22 === null ? 0 : 1)) $var3 = 0; else { $var20 = $var20.$tagMap; if ($rt_s(3940) !== null) { x: { if (!$rt_s(3940).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3940).$nativeString.length) break x; $rt_s(3940).$hashCode1 = (31 * $rt_s(3940).$hashCode1 | 0) + $rt_s(3940).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var4 = $rt_s(3940).$hashCode1; var$11 = $var20.$elementData.data; $var20 = var$11[$var4 & (var$11.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var4) { y: { $var22 = $var20.$key; if ($rt_s(3940) !== $var22) { if ($rt_s(3940) === $var22) $var3 = 1; else if ($var22 instanceof jl_String) { $var22 = $var22; $var3 = $rt_s(3940).$nativeString !== $var22.$nativeString ? 0 : 1; } else $var3 = 0; if (!$var3) { $var3 = 0; break y; } } $var3 = 1; } if ($var3) break; } $var20 = $var20.$next3; } } else { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } $var3 = ($var20 === null ? null : $var20.$value1).$data0; } break s; } } $var3 = 0; } if ($var10 < $var3) { $var21 = $var6.$stackTagCompound; $var3 = $var21 === null ? 0 : 1; z: { if ($var3) { ba: { $var21 = $var21.$tagMap; if (!$rt_s(3940).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3940).$nativeString.length) break ba; $rt_s(3940).$hashCode1 = (31 * $rt_s(3940).$hashCode1 | 0) + $rt_s(3940).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var4 = $rt_s(3940).$hashCode1; var$11 = $var21.$elementData.data; $var21 = var$11[$var4 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var4) { bb: { $var22 = $var21.$key; if ($rt_s(3940) !== $var22) { if ($rt_s(3940) === $var22) $var3 = 1; else if (!($var22 instanceof jl_String)) $var3 = 0; else { $var22 = $var22; $var3 = $rt_s(3940).$nativeString !== $var22.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bb; } } $var3 = 1; } if ($var3) break; } $var21 = $var21.$next3; } if ($var21 === null ? 0 : 1) { bc: { $var20 = $var6.$stackTagCompound; $var22 = $var20.$tagMap; if (!$rt_s(3940).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3940).$nativeString.length) break bc; $rt_s(3940).$hashCode1 = (31 * $rt_s(3940).$hashCode1 | 0) + $rt_s(3940).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var4 = $rt_s(3940).$hashCode1; var$11 = $var22.$elementData.data; $var22 = var$11[$var4 & (var$11.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var4) { bd: { $var17 = $var22.$key; if ($rt_s(3940) !== $var17) { if ($rt_s(3940) !== $var17) { if ($var17 instanceof jl_String) { $var17 = $var17; $var3 = $rt_s(3940).$nativeString !== $var17.$nativeString ? 0 : 1; } else $var3 = 0; } else $var3 = 1; if (!$var3) { $var3 = 0; break bd; } } $var3 = 1; } if ($var3) break; } $var22 = $var22.$next3; } if ($var22 === null ? 0 : 1) { $var20 = $var20.$tagMap; if ($rt_s(3940) !== null) { be: { if (!$rt_s(3940).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(3940).$nativeString.length) break be; $rt_s(3940).$hashCode1 = (31 * $rt_s(3940).$hashCode1 | 0) + $rt_s(3940).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var4 = $rt_s(3940).$hashCode1; var$11 = $var20.$elementData.data; $var20 = var$11[$var4 & (var$11.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var4) { bf: { $var22 = $var20.$key; if ($rt_s(3940) !== $var22) { if ($rt_s(3940) === $var22) $var3 = 1; else if (!($var22 instanceof jl_String)) $var3 = 0; else { $var22 = $var22; $var3 = $rt_s(3940).$nativeString !== $var22.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bf; } } $var3 = 1; } if ($var3) break; } $var20 = $var20.$next3; } } else { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } $var10 = ($var20 === null ? null : $var20.$value1).$data0; } else $var10 = 0; break z; } } $var10 = 0; } } } $var21 = $var5.$stackTagCompound; if ($var21 === null) $var3 = 0; else { $var21 = $var21.$tagMap; $var2 = jl_String_hashCode($rt_s(1525)); var$11 = $var21.$elementData.data; $var21 = var$11[$var2 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var2) { $var22 = $var21.$key; if ($rt_s(1525) !== $var22 && !jl_String_equals($rt_s(1525), $var22) ? 0 : 1) break; } $var21 = $var21.$next3; } if (!($var21 === null ? 0 : 1)) $var3 = 0; else { $var20 = $var5.$stackTagCompound; $var22 = $var20.$tagMap; $var2 = jl_String_hashCode($rt_s(1525)); var$11 = $var22.$elementData.data; $var22 = var$11[$var2 & (var$11.length - 1 | 0)]; while ($var22 !== null) { if ($var22.$origKeyHash == $var2) { $var17 = $var22.$key; if ($rt_s(1525) !== $var17 && !jl_String_equals($rt_s(1525), $var17) ? 0 : 1) break; } $var22 = $var22.$next3; } if (!($var22 === null ? 0 : 1)) { $var22 = new nms_NBTTagCompound; if ($rt_s(1525) !== null) $var22.$name = $rt_s(1525); else $var22.$name = $rt_s(18); $var20 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $var20.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$11 = var$12.data; $var20.$elementData = var$12; $var20.$loadFactor = 0.75; $var20.$threshold = var$11.length * 0.75 | 0; $var22.$tagMap = $var20; } else { $var20 = $var20.$tagMap; if ($rt_s(1525) === null) { $var20 = $var20.$elementData.data[0]; while ($var20 !== null && $var20.$key !== null) { $var20 = $var20.$next3; } } else { bg: { if (!$rt_s(1525).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1525).$nativeString.length) break bg; $rt_s(1525).$hashCode1 = (31 * $rt_s(1525).$hashCode1 | 0) + $rt_s(1525).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var4 = $rt_s(1525).$hashCode1; var$11 = $var20.$elementData.data; $var20 = var$11[$var4 & (var$11.length - 1 | 0)]; while ($var20 !== null) { if ($var20.$origKeyHash == $var4) { bh: { $var22 = $var20.$key; if ($rt_s(1525) !== $var22) { if ($rt_s(1525) === $var22) $var3 = 1; else if (!($var22 instanceof jl_String)) $var3 = 0; else { $var22 = $var22; $var3 = $rt_s(1525).$nativeString !== $var22.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bh; } } $var3 = 1; } if ($var3) break; } $var20 = $var20.$next3; } } $var22 = $var20 === null ? null : $var20.$value1; } bi: { $var21 = $var22.$tagMap; if (!$rt_s(1526).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1526).$nativeString.length) break bi; $rt_s(1526).$hashCode1 = (31 * $rt_s(1526).$hashCode1 | 0) + $rt_s(1526).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var4 = $rt_s(1526).$hashCode1; var$11 = $var21.$elementData.data; $var21 = var$11[$var4 & (var$11.length - 1 | 0)]; while ($var21 !== null) { if ($var21.$origKeyHash == $var4) { bj: { $var22 = $var21.$key; if ($rt_s(1526) !== $var22) { if ($rt_s(1526) === $var22) $var3 = 1; else if (!($var22 instanceof jl_String)) $var3 = 0; else { $var22 = $var22; $var3 = $rt_s(1526).$nativeString !== $var22.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break bj; } } $var3 = 1; } if ($var3) break; } $var21 = $var21.$next3; } $var3 = $var21 === null ? 0 : 1; } } if ($var3) $var10 = $var10 + (-9) | 0; if ($var10 < 0) $var10 = 0; $var4 = $var10 + 2 | 0; if (!($var5.$stackTagCompound === null ? 0 : 1)) { $var21 = new nms_NBTTagCompound; $var21.$name = $rt_s(1273); $var20 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); $var20.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$11 = var$12.data; $var20.$elementData = var$12; $var20.$loadFactor = 0.75; $var20.$threshold = var$11.length * 0.75 | 0; $var21.$tagMap = $var20; $var5.$stackTagCompound = $var21; } $var22 = $var5.$stackTagCompound.$tagMap; $var21 = new nms_NBTTagInt; $var21.$name = $rt_s(3940); $var21.$data0 = $var4; ju_HashMap_putImpl($var22, $rt_s(3940), $var21); nms_EnchantmentHelper_setEnchantments($var7, $var5); } $this.$outputSlot.$stackResult.data[0] = $var5; nms_Container_detectAndSendChanges($this); break a; } if ($var10000 != $var21.$modCount0) { $var20 = new ju_ConcurrentModificationException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } if (!($var21$futureEntry_0 === null ? 0 : 1)) break; $var21$futureEntry = !$var14 ? $var21$futureEntry_0.$chainForward : $var21$futureEntry_0.$chainBackward; $var11 = $var21$futureEntry_0.$key.$value0; nms_Enchantment_$callClinit(); $var22 = nms_Enchantment_enchantmentsList.data[$var11]; if ($var11 >= (-128) && $var11 <= 127) { jl_Integer_ensureIntegerCache(); $var17 = jl_Integer_integerCache.data[$var11 + 128 | 0]; } else { $var17 = new jl_Integer; $var17.$value0 = $var11; } bk: { bl: { bm: { $var13 = (ju_LinkedHashMap_getOrDefault($var7, $var17, null)).$value0; $var14_0 = 0; $var9 = $var9 + 1 | 0; switch ($var22.$weight) { case 1: break; case 2: $var14_0 = 4; break bl; case 5: $var14_0 = 2; break bk; case 10: $var14_0 = 1; break bk; case 3: case 4: case 6: case 7: case 8: case 9: break bm; default: break bm; } $var14_0 = 8; break bk; } } } if ($var8) { $var14_0 = $var14_0 / 2 | 0; if (1 > $var14_0) $var14_0 = 1; } $var19 = $var19 + ($var9 + $rt_imul($var13, $var14_0) | 0) | 0; $var21$futureEntry_0 = $var21$futureEntry; } $var20 = new ju_NoSuchElementException; $var20.$suppressionEnabled = 1; $var20.$writableStackTrace = 1; $rt_throw($var20); } $var20 = $this.$outputSlot; $var21 = null; $var20.$stackResult.data[0] = $var21; $this.$maximumCost = 0; } }, nms_ContainerRepair_addCraftingToCrafters = ($this, $par1ICrafting) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$2 = $this.$crafters; var$3 = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); a: { while (true) { if (!(var$3 >= var$5 ? 0 : 1)) { var$3 = 0; break a; } if (var$4 < var$2.$modCount) break; var$6 = var$3 + 1 | 0; var$7 = var$2.$get(var$3); if (var$7 === $par1ICrafting ? 1 : var$7 !== null ? var$7.$equals($par1ICrafting) : $par1ICrafting !== null ? 0 : 1) { var$3 = 1; break a; } var$3 = var$6; } $par1ICrafting = new ju_ConcurrentModificationException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ICrafting); $rt_throw($par1ICrafting); } if (var$3) { $par1ICrafting = new jl_IllegalArgumentException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; $par1ICrafting.$message = $rt_s(2714); $rt_throw($par1ICrafting); } var$2 = $this.$crafters; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$8[var$6] = $par1ICrafting; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$4 = 0; while (true) { var$7 = $this.$inventorySlots; var$6 = var$7.$size0; var$3 = $rt_compare(var$4, var$6); if (var$3 >= 0) { if (0 >= var$6) { $par1ICrafting = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ICrafting); $rt_throw($par1ICrafting); } var$2 = var$7.$array.data[0].$getStack(); var$7 = $par1ICrafting.$itemNameField; if (var$2 === null) var$9 = $rt_s(18); else { nms_Item_$callClinit(); var$9 = nms_Item_itemsList.data[var$2.$itemID].$getItemDisplayName(var$2); var$10 = var$2.$stackTagCompound; if (var$10 !== null) { var$10 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); if (ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1525), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1) { var$10 = var$2.$stackTagCompound; var$11 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); if (!(ju_HashMap_findNonNullKeyEntry(var$11, $rt_s(1525), var$6 & (var$11.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1)) { var$11 = new nms_NBTTagCompound; jl_Object__init_(var$11); var$11.$name = $rt_s(1525); var$11.$tagMap = ju_HashMap__init_0(16); } else { var$10 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); var$10 = ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1525), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6); var$11 = var$10 === null ? null : var$10.$value1; } var$12 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); if (ju_HashMap_findNonNullKeyEntry(var$12, $rt_s(1526), var$6 & (var$12.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1) { var$10 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); if (!(ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1526), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1)) var$9 = $rt_s(18); else { var$10 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); var$9 = ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1526), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6); var$9 = (var$9 === null ? null : var$9.$value1).$data1; } } } } } var$3 = var$9.$nativeString.length; var$6 = var$7.$maxStringLength; if (var$3 <= var$6) var$7.$text = var$9; else var$7.$text = jl_String_substring(var$9, 0, var$6); var$7.$cursorPosition = var$7.$text.$nativeString.length; var$6 = var$7.$text.$nativeString.length; if (var$7.$cursorPosition < 0) var$7.$cursorPosition = 0; if (var$7.$cursorPosition > var$6) var$7.$cursorPosition = var$6; nms_GuiTextField_setSelectionPos(var$7, var$7.$cursorPosition); $par1ICrafting.$itemNameField.$isEnabled = var$2 === null ? 0 : 1; if (var$2 !== null) nms_GuiRepair_func_135015_g($par1ICrafting); nms_Container_detectAndSendChanges($this); return; } if (var$4 < 0) break; if (var$3 >= 0) break; var$7 = var$7.$array.data[var$4].$getStack(); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$8[var$6] = var$7; var$2.$modCount = var$2.$modCount + 1 | 0; var$4 = var$4 + 1 | 0; } $par1ICrafting = new jl_IndexOutOfBoundsException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ICrafting); $rt_throw($par1ICrafting); }, nms_ContainerRepair_updateProgressBar = ($this, $par1, $par2) => { if (!$par1) $this.$maximumCost = $par2; }, nms_ContainerRepair_onContainerClosed = ($this, $par1EntityPlayer) => { let $var3, var$3, $var2, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();$var3 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = $par1EntityPlayer.$inventory; var$3 = $var3.$itemStack; if (var$3 !== null) { $var2 = 0; $ptr = 1; continue main; } a: { if (!$this.$theWorld5.$isRemote) { $var2 = 0; while (true) { $var3 = $this.$inputSlots; if ($var2 >= $var3.$slotsCount) break a; var$5 = $var3.$inventoryContents.data; if (var$5[$var2] === null) $var3 = null; else { $var3 = var$5[$var2]; var$5[$var2] = null; } if ($var3 !== null) { var$6 = 0; $ptr = 2; continue main; } $var2 = $var2 + 1 | 0; } } } return; case 1: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, var$3, $var2); if ($rt_suspending()) { break main; } $var3.$itemStack = null; b: { if (!$this.$theWorld5.$isRemote) { $var2 = 0; while (true) { $var3 = $this.$inputSlots; if ($var2 >= $var3.$slotsCount) break b; var$5 = $var3.$inventoryContents.data; if (var$5[$var2] === null) $var3 = null; else { $var3 = var$5[$var2]; var$5[$var2] = null; } if ($var3 !== null) { var$6 = 0; $ptr = 2; continue main; } $var2 = $var2 + 1 | 0; } } } return; case 2: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, $var3, var$6); if ($rt_suspending()) { break main; } while (true) { $var2 = $var2 + 1 | 0; $var3 = $this.$inputSlots; if ($var2 >= $var3.$slotsCount) break; var$5 = $var3.$inventoryContents.data; if (var$5[$var2] === null) $var3 = null; else { $var3 = var$5[$var2]; var$5[$var2] = null; } if ($var3 === null) continue; else { var$6 = 0; continue main; } } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var3, var$3, $var2, var$5, var$6, $ptr); }, nms_ContainerRepair_canInteractWith = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5; var$2 = nms_World_getBlockId($this.$theWorld5, $this.$field_82861_i, $this.$field_82858_j, $this.$field_82859_k); nms_Block_$callClinit(); if (var$2 != nms_Block_anvil.$blockID) var$2 = 0; else { var$3 = $this.$field_82861_i + 0.5; var$4 = $this.$field_82858_j + 0.5; var$5 = $this.$field_82859_k + 0.5; var$3 = $par1EntityPlayer.$posX - var$3; var$4 = $par1EntityPlayer.$posY - var$4; var$5 = $par1EntityPlayer.$posZ - var$5; var$2 = var$3 * var$3 + var$4 * var$4 + var$5 * var$5 > 64.0 ? 0 : 1; } return var$2; }, nms_ContainerRepair_transferStackInSlot = ($this, $par1EntityPlayer, $par2) => { let $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = null; var$4 = $this.$inventorySlots; if ($par2 >= 0 && $par2 < var$4.$size0) { $var4 = var$4.$array.data[$par2]; if ($var4 !== null && $var4.$getHasStack()) { $var5 = $var4.$getStack(); $var3 = new nms_ItemStack; var$7 = $var5.$itemID; var$8 = $var5.$stackSize; var$9 = $var5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$7; $var3.$stackSize = var$8; $var3.$itemDamage = var$9; if (var$9 < 0) $var3.$itemDamage = 0; var$10 = $var5.$stackTagCompound; if (var$10 !== null) { var$11 = new nms_NBTTagCompound; var$4 = var$10.$name; if (var$4 === null) var$4 = $rt_s(18); var$11.$name = var$4; var$4 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$13 = var$12.data; var$4.$elementData = var$12; var$4.$loadFactor = 0.75; var$4.$threshold = var$13.length * 0.75 | 0; var$11.$tagMap = var$4; var$14 = var$10.$tagMap; if (var$14.$cachedKeySet === null) { var$4 = new ju_HashMap$1; var$4.$this$0 = var$14; var$14.$cachedKeySet = var$4; } var$15 = var$14.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); var$4 = var$10.$tagMap; if (var$16 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { if (!var$16.$hashCode1) { var$9 = 0; while (true) { if (var$9 >= var$16.$nativeString.length) break a; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$9) | 0; var$9 = var$9 + 1 | 0; } } } var$8 = var$16.$hashCode1; var$13 = var$4.$elementData.data; var$4 = var$13[var$8 & (var$13.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$8) { b: { var$14 = var$4.$key; if (var$16 !== var$14) { if (var$16 === var$14) var$7 = 1; else if (!(var$14 instanceof jl_String)) var$7 = 0; else { var$14 = var$14; var$7 = var$16.$nativeString !== var$14.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; var$4 = var$4.$copy(); var$14 = var$11.$tagMap; if (var$16 !== null) var$4.$name = var$16; else var$4.$name = $rt_s(18); ju_HashMap_putImpl(var$14, var$16, var$4); } $var3.$stackTagCompound = var$11; } if ($par2 == 2) { $par2 = 3; var$7 = 39; var$8 = 1; $ptr = 1; continue main; } if ($par2 && $par2 != 1) { if ($par2 >= 3 && $par2 < 39) { $par2 = 0; var$7 = 2; var$8 = 0; $ptr = 6; continue main; } if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; } $par2 = 3; var$7 = 39; var$8 = 0; $ptr = 2; continue main; } return $var3; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 1: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$itemID == $var3.$itemID) { $par2 = $var3.$stackSize - $var5.$stackSize | 0; if ($par2 > 0) { $ptr = 5; continue main; } } if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 2: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 3: $var4.$onSlotChanged(); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 7; continue main; case 4: $var4.$putStack(var$4); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 7; continue main; case 5: $var4.$onCrafting($var5, $par2); if ($rt_suspending()) { break main; } if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 6: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 7: $var4.$onPickupFromSlot($par1EntityPlayer, $var5); if ($rt_suspending()) { break main; } return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_ContainerRepair_updateItemName = ($this, $par1Str) => { let $var2; $this.$repairedItemName = $par1Str; $var2 = $this.$inventorySlots; if (2 >= $var2.$size0) { $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } if ($var2.$array.data[2].$getHasStack()) { $var2 = $this.$inventorySlots; if (2 >= $var2.$size0) { $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; $rt_throw($par1Str); } $var2 = $var2.$array.data[2].$getStack(); if ($par1Str !== null && $par1Str !== $rt_s(18) && $par1Str !== $rt_s(953)) nms_ItemStack_setItemName($var2, $this.$repairedItemName); else nms_ItemStack_func_135074_t($var2); } nms_ContainerRepair_updateRepairOutput($this); }; function nms_ContainerHorseInventory() { let a = this; nms_Container.call(a); a.$field_111243_a = null; a.$theHorse0 = null; } let nms_ContainerHorseInventory__init_0 = ($this, $par1IInventory, $par2IInventory, $par3EntityHorse) => { let var$4, var$5, $var5, var$7, var$8, $var7, var$10, $var6, var$12, var$13; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$inventoryItemStacks = var$4; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$inventorySlots = var$4; $this.$field_94535_f = (-1); var$4 = new ju_HashSet; var$5 = new ju_HashMap; $var5 = ju_HashMap_calculateCapacity(16); var$5.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, $var5); var$8 = var$7.data; var$5.$elementData = var$7; var$5.$loadFactor = 0.75; var$5.$threshold = var$8.length * 0.75 | 0; var$4.$backingMap = var$5; $this.$field_94537_h = var$4; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$crafters = var$4; var$4 = new ju_HashSet; var$5 = new ju_HashMap; $var5 = ju_HashMap_calculateCapacity(16); var$5.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, $var5); var$8 = var$7.data; var$5.$elementData = var$7; var$5.$loadFactor = 0.75; var$5.$threshold = var$8.length * 0.75 | 0; var$4.$backingMap = var$5; $this.$playerList = var$4; $this.$field_111243_a = $par2IInventory; $this.$theHorse0 = $par3EntityHorse; var$4 = new nms_ContainerHorseInventorySlotSaddle; var$4.$inventory0 = $par2IInventory; var$4.$slotIndex = 0; var$4.$xDisplayPosition = 8; var$4.$yDisplayPosition = 18; var$4.$field_111239_a = $this; var$5 = $this.$inventorySlots; $var7 = var$5.$size0; var$4.$slotNumber = $var7; ju_ArrayList_ensureCapacity(var$5, $var7 + 1 | 0); var$8 = var$5.$array.data; $var7 = var$5.$size0; var$5.$size0 = $var7 + 1 | 0; var$8[$var7] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$4 = $this.$inventoryItemStacks; var$5 = null; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$8 = var$4.$array.data; $var7 = var$4.$size0; var$4.$size0 = $var7 + 1 | 0; var$8[$var7] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; var$4 = new nms_ContainerHorseInventorySlotArmor; var$4.$inventory0 = $par2IInventory; var$4.$slotIndex = 1; var$4.$xDisplayPosition = 8; var$4.$yDisplayPosition = 36; var$4.$field_111240_b = $this; var$4.$theHorse = $par3EntityHorse; var$5 = $this.$inventorySlots; $var7 = var$5.$size0; var$4.$slotNumber = $var7; ju_ArrayList_ensureCapacity(var$5, $var7 + 1 | 0); var$8 = var$5.$array.data; $var7 = var$5.$size0; var$5.$size0 = $var7 + 1 | 0; var$8[$var7] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$4 = $this.$inventoryItemStacks; var$5 = null; ju_ArrayList_ensureCapacity(var$4, var$4.$size0 + 1 | 0); var$8 = var$4.$array.data; $var7 = var$4.$size0; var$4.$size0 = $var7 + 1 | 0; var$8[$var7] = var$5; var$4.$modCount = var$4.$modCount + 1 | 0; $par3EntityHorse = $par3EntityHorse.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$5 = jl_Integer_integerCache.data[144]; if (var$5 === null) { $par3EntityHorse = $par3EntityHorse.$elementData.data[0]; while ($par3EntityHorse !== null && $par3EntityHorse.$key !== null) { $par3EntityHorse = $par3EntityHorse.$next3; } } else { var$10 = var$5.$value0; var$8 = $par3EntityHorse.$elementData.data; $par3EntityHorse = var$8[var$10 & (var$8.length - 1 | 0)]; while ($par3EntityHorse !== null) { if ($par3EntityHorse.$origKeyHash == var$10) { var$4 = $par3EntityHorse.$key; if (var$5 !== var$4 && !jl_Integer_equals(var$5, var$4) ? 0 : 1) break; } $par3EntityHorse = $par3EntityHorse.$next3; } } $par3EntityHorse = $par3EntityHorse === null ? null : $par3EntityHorse.$value1; $var6 = !($par3EntityHorse.$watchedObject.$value0 & 8) ? 0 : 1; a: { if ($var6) { $var6 = 0; while (true) { if ($var6 >= 3) break a; $var7 = 0; while ($var7 < 5) { $par3EntityHorse = new nms_Slot; var$12 = (2 + $var7 | 0) + ($var6 * 5 | 0) | 0; var$10 = 80 + ($var7 * 18 | 0) | 0; var$13 = 18 + ($var6 * 18 | 0) | 0; $par3EntityHorse.$inventory0 = $par2IInventory; $par3EntityHorse.$slotIndex = var$12; $par3EntityHorse.$xDisplayPosition = var$10; $par3EntityHorse.$yDisplayPosition = var$13; var$4 = $this.$inventorySlots; var$12 = var$4.$size0; $par3EntityHorse.$slotNumber = var$12; ju_ArrayList_ensureCapacity(var$4, var$12 + 1 | 0); var$8 = var$4.$array.data; var$10 = var$4.$size0; var$4.$size0 = var$10 + 1 | 0; var$8[var$10] = $par3EntityHorse; var$4.$modCount = var$4.$modCount + 1 | 0; $par3EntityHorse = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity($par3EntityHorse, $par3EntityHorse.$size0 + 1 | 0); var$8 = $par3EntityHorse.$array.data; var$10 = $par3EntityHorse.$size0; $par3EntityHorse.$size0 = var$10 + 1 | 0; var$8[var$10] = var$4; $par3EntityHorse.$modCount = $par3EntityHorse.$modCount + 1 | 0; $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } } } $var6 = 0; while ($var6 < 3) { $var7 = 0; while ($var7 < 9) { $par2IInventory = new nms_Slot; var$12 = ($var7 + ($var6 * 9 | 0) | 0) + 9 | 0; var$10 = 8 + ($var7 * 18 | 0) | 0; var$13 = (102 + ($var6 * 18 | 0) | 0) + (-18) | 0; $par2IInventory.$inventory0 = $par1IInventory; $par2IInventory.$slotIndex = var$12; $par2IInventory.$xDisplayPosition = var$10; $par2IInventory.$yDisplayPosition = var$13; $par3EntityHorse = $this.$inventorySlots; var$10 = $par3EntityHorse.$size0; $par2IInventory.$slotNumber = var$10; ju_ArrayList_ensureCapacity($par3EntityHorse, var$10 + 1 | 0); var$8 = $par3EntityHorse.$array.data; var$10 = $par3EntityHorse.$size0; $par3EntityHorse.$size0 = var$10 + 1 | 0; var$8[var$10] = $par2IInventory; $par3EntityHorse.$modCount = $par3EntityHorse.$modCount + 1 | 0; $par2IInventory = $this.$inventoryItemStacks; $par3EntityHorse = null; ju_ArrayList_ensureCapacity($par2IInventory, $par2IInventory.$size0 + 1 | 0); var$8 = $par2IInventory.$array.data; var$10 = $par2IInventory.$size0; $par2IInventory.$size0 = var$10 + 1 | 0; var$8[var$10] = $par3EntityHorse; $par2IInventory.$modCount = $par2IInventory.$modCount + 1 | 0; $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } $var5 = 0; while ($var5 < 9) { $par2IInventory = new nms_Slot; $var6 = 8 + ($var5 * 18 | 0) | 0; $par2IInventory.$inventory0 = $par1IInventory; $par2IInventory.$slotIndex = $var5; $par2IInventory.$xDisplayPosition = $var6; $par2IInventory.$yDisplayPosition = 142; $par3EntityHorse = $this.$inventorySlots; $var7 = $par3EntityHorse.$size0; $par2IInventory.$slotNumber = $var7; ju_ArrayList_ensureCapacity($par3EntityHorse, $var7 + 1 | 0); var$8 = $par3EntityHorse.$array.data; $var7 = $par3EntityHorse.$size0; $par3EntityHorse.$size0 = $var7 + 1 | 0; var$8[$var7] = $par2IInventory; $par3EntityHorse.$modCount = $par3EntityHorse.$modCount + 1 | 0; $par2IInventory = $this.$inventoryItemStacks; $par3EntityHorse = null; ju_ArrayList_ensureCapacity($par2IInventory, $par2IInventory.$size0 + 1 | 0); var$8 = $par2IInventory.$array.data; $var7 = $par2IInventory.$size0; $par2IInventory.$size0 = $var7 + 1 | 0; var$8[$var7] = $par3EntityHorse; $par2IInventory.$modCount = $par2IInventory.$modCount + 1 | 0; $var5 = $var5 + 1 | 0; } }, nms_ContainerHorseInventory__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_ContainerHorseInventory(); nms_ContainerHorseInventory__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_ContainerHorseInventory_canInteractWith = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; a: { var$2 = $this.$theHorse0; if (!var$2.$isDead) { var$2 = var$2.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[134]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } if ((var$2 === null ? null : var$2.$value1).$watchedObject.$value3 > 0.0) { var$7 = 1; break a; } } var$7 = 0; } b: { if (var$7) { var$2 = $this.$theHorse0; var$8 = var$2.$posX - $par1EntityPlayer.$posX; var$9 = var$2.$posY - $par1EntityPlayer.$posY; var$10 = var$2.$posZ - $par1EntityPlayer.$posZ; if (jl_Math_sqrt(var$8 * var$8 + var$9 * var$9 + var$10 * var$10) < 8.0) { var$7 = 1; break b; } } var$7 = 0; } return var$7; }, nms_ContainerHorseInventory_transferStackInSlot = ($this, $par1EntityPlayer, $par2) => { let $var3, $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = null; $par1EntityPlayer = $this.$inventorySlots; if ($par2 >= 0 && $par2 < $par1EntityPlayer.$size0) { $var4 = $par1EntityPlayer.$array.data[$par2]; if ($var4 !== null && $var4.$getHasStack()) { $var5 = $var4.$getStack(); $var3 = new nms_ItemStack; var$6 = $var5.$itemID; var$7 = $var5.$stackSize; var$8 = $var5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$6; $var3.$stackSize = var$7; $var3.$itemDamage = var$8; if (var$8 < 0) $var3.$itemDamage = 0; var$9 = $var5.$stackTagCompound; if (var$9 !== null) { var$10 = new nms_NBTTagCompound; $par1EntityPlayer = var$9.$name; if ($par1EntityPlayer === null) $par1EntityPlayer = $rt_s(18); var$10.$name = $par1EntityPlayer; $par1EntityPlayer = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); $par1EntityPlayer.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$12 = var$11.data; $par1EntityPlayer.$elementData = var$11; $par1EntityPlayer.$loadFactor = 0.75; $par1EntityPlayer.$threshold = var$12.length * 0.75 | 0; var$10.$tagMap = $par1EntityPlayer; $par1EntityPlayer = var$9.$tagMap; if ($par1EntityPlayer.$cachedKeySet === null) { var$13 = new ju_HashMap$1; var$13.$this$0 = $par1EntityPlayer; $par1EntityPlayer.$cachedKeySet = var$13; } var$14 = $par1EntityPlayer.$cachedKeySet.$iterator(); while (var$14.$hasNext()) { var$15 = var$14.$next(); $par1EntityPlayer = var$9.$tagMap; if (var$15 === null) { var$16 = $par1EntityPlayer.$elementData.data[0]; while (var$16 !== null && var$16.$key !== null) { var$16 = var$16.$next3; } } else { a: { if (!var$15.$hashCode1) { var$6 = 0; while (true) { if (var$6 >= var$15.$nativeString.length) break a; var$15.$hashCode1 = (31 * var$15.$hashCode1 | 0) + var$15.$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$7 = var$15.$hashCode1; var$12 = $par1EntityPlayer.$elementData.data; var$16 = var$12[var$7 & (var$12.length - 1 | 0)]; while (var$16 !== null) { if (var$16.$origKeyHash == var$7) { b: { $par1EntityPlayer = var$16.$key; if (var$15 !== $par1EntityPlayer) { if (var$15 === $par1EntityPlayer) var$6 = 1; else if (!($par1EntityPlayer instanceof jl_String)) var$6 = 0; else { $par1EntityPlayer = $par1EntityPlayer; var$6 = var$15.$nativeString !== $par1EntityPlayer.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } var$16 = var$16.$next3; } } $par1EntityPlayer = var$16 === null ? null : var$16.$value1; $par1EntityPlayer = $par1EntityPlayer.$copy(); var$13 = var$10.$tagMap; if (var$15 !== null) $par1EntityPlayer.$name = var$15; else $par1EntityPlayer.$name = $rt_s(18); ju_HashMap_putImpl(var$13, var$15, $par1EntityPlayer); } $var3.$stackTagCompound = var$10; } var$7 = $this.$field_111243_a.$slotsCount; if ($par2 < var$7) { var$6 = $this.$inventorySlots.$size0; $par2 = 1; $ptr = 1; continue main; } $par1EntityPlayer = $this.$inventorySlots; if (1 >= $par1EntityPlayer.$size0) { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } if ($par1EntityPlayer.$array.data[1].$isItemValid($var5)) { $par1EntityPlayer = $this.$inventorySlots; if (1 >= $par1EntityPlayer.$size0) { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } if (!$par1EntityPlayer.$array.data[1].$getHasStack()) { $par2 = 1; var$6 = 2; var$7 = 0; $ptr = 5; continue main; } } $par1EntityPlayer = $this.$inventorySlots; if (0 >= $par1EntityPlayer.$size0) { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } if ($par1EntityPlayer.$array.data[0].$isItemValid($var5)) { $par2 = 0; var$6 = 1; var$7 = 0; $ptr = 4; continue main; } var$6 = $this.$field_111243_a.$slotsCount; if (var$6 <= 2) return null; $par2 = 2; var$7 = 0; $ptr = 6; continue main; } return $var3; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 1: $tmp = nms_Container_mergeItemStack($this, $var5, var$7, var$6, $par2); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 2; continue main; } $par1EntityPlayer = null; $ptr = 3; continue main; case 2: $var4.$onSlotChanged(); if ($rt_suspending()) { break main; } return $var3; case 3: $var4.$putStack($par1EntityPlayer); if ($rt_suspending()) { break main; } return $var3; case 4: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$6, var$7); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 2; continue main; } $par1EntityPlayer = null; $ptr = 3; continue main; case 5: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$6, var$7); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 2; continue main; } $par1EntityPlayer = null; $ptr = 3; continue main; case 6: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$6, var$7); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 2; continue main; } $par1EntityPlayer = null; $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $var3, $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_ContainerHorseInventory_onContainerClosed = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1EntityPlayer.$inventory; var$3 = var$2.$itemStack; if (var$3 === null) return; var$4 = 0; $ptr = 1; case 1: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$itemStack = null; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, $ptr); }; function nms_ContainerDispenser() { nms_Container.call(this); this.$tileEntityDispenser = null; } let nms_ContainerDispenser__init_0 = ($this, $par1IInventory, $par2TileEntityDispenser) => { let var$3, var$4, var$5, var$6, var$7, $var3, $var4, var$10, $var4_0, var$12; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$inventoryItemStacks = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$inventorySlots = var$3; $this.$field_94535_f = (-1); var$3 = new ju_HashSet; var$4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $this.$field_94537_h = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$crafters = var$3; var$3 = new ju_HashSet; var$4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $this.$playerList = var$3; $this.$tileEntityDispenser = $par2TileEntityDispenser; $var3 = 0; while ($var3 < 3) { $var4 = 0; while ($var4 < 3) { var$3 = new nms_Slot; var$5 = $var4 + ($var3 * 3 | 0) | 0; var$10 = 62 + ($var4 * 18 | 0) | 0; $var4_0 = 17 + ($var3 * 18 | 0) | 0; var$3.$inventory0 = $par2TileEntityDispenser; var$3.$slotIndex = var$5; var$3.$xDisplayPosition = var$10; var$3.$yDisplayPosition = $var4_0; var$4 = $this.$inventorySlots; var$10 = var$4.$size0; var$3.$slotNumber = var$10; ju_ArrayList_ensureCapacity(var$4, var$10 + 1 | 0); var$7 = var$4.$array.data; var$10 = var$4.$size0; var$4.$size0 = var$10 + 1 | 0; var$7[var$10] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$3 = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; var$10 = var$3.$size0; var$3.$size0 = var$10 + 1 | 0; var$7[var$10] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } var$10 = 0; while (var$10 < 3) { $var4_0 = 0; while ($var4_0 < 9) { $par2TileEntityDispenser = new nms_Slot; var$12 = ($var4_0 + (var$10 * 9 | 0) | 0) + 9 | 0; $var3 = 8 + ($var4_0 * 18 | 0) | 0; var$5 = 84 + (var$10 * 18 | 0) | 0; $par2TileEntityDispenser.$inventory0 = $par1IInventory; $par2TileEntityDispenser.$slotIndex = var$12; $par2TileEntityDispenser.$xDisplayPosition = $var3; $par2TileEntityDispenser.$yDisplayPosition = var$5; var$3 = $this.$inventorySlots; var$12 = var$3.$size0; $par2TileEntityDispenser.$slotNumber = var$12; ju_ArrayList_ensureCapacity(var$3, var$12 + 1 | 0); var$7 = var$3.$array.data; var$12 = var$3.$size0; var$3.$size0 = var$12 + 1 | 0; var$7[var$12] = $par2TileEntityDispenser; var$3.$modCount = var$3.$modCount + 1 | 0; $par2TileEntityDispenser = $this.$inventoryItemStacks; var$3 = null; ju_ArrayList_ensureCapacity($par2TileEntityDispenser, $par2TileEntityDispenser.$size0 + 1 | 0); var$7 = $par2TileEntityDispenser.$array.data; var$12 = $par2TileEntityDispenser.$size0; $par2TileEntityDispenser.$size0 = var$12 + 1 | 0; var$7[var$12] = var$3; $par2TileEntityDispenser.$modCount = $par2TileEntityDispenser.$modCount + 1 | 0; $var4_0 = $var4_0 + 1 | 0; } var$10 = var$10 + 1 | 0; } $var4_0 = 0; while ($var4_0 < 9) { $par2TileEntityDispenser = new nms_Slot; var$5 = 8 + ($var4_0 * 18 | 0) | 0; $par2TileEntityDispenser.$inventory0 = $par1IInventory; $par2TileEntityDispenser.$slotIndex = $var4_0; $par2TileEntityDispenser.$xDisplayPosition = var$5; $par2TileEntityDispenser.$yDisplayPosition = 142; var$3 = $this.$inventorySlots; var$10 = var$3.$size0; $par2TileEntityDispenser.$slotNumber = var$10; ju_ArrayList_ensureCapacity(var$3, var$10 + 1 | 0); var$7 = var$3.$array.data; var$10 = var$3.$size0; var$3.$size0 = var$10 + 1 | 0; var$7[var$10] = $par2TileEntityDispenser; var$3.$modCount = var$3.$modCount + 1 | 0; $par2TileEntityDispenser = $this.$inventoryItemStacks; var$3 = null; ju_ArrayList_ensureCapacity($par2TileEntityDispenser, $par2TileEntityDispenser.$size0 + 1 | 0); var$7 = $par2TileEntityDispenser.$array.data; var$10 = $par2TileEntityDispenser.$size0; $par2TileEntityDispenser.$size0 = var$10 + 1 | 0; var$7[var$10] = var$3; $par2TileEntityDispenser.$modCount = $par2TileEntityDispenser.$modCount + 1 | 0; $var4_0 = $var4_0 + 1 | 0; } }, nms_ContainerDispenser__init_ = (var_0, var_1) => { let var_2 = new nms_ContainerDispenser(); nms_ContainerDispenser__init_0(var_2, var_0, var_1); return var_2; }, nms_ContainerDispenser_canInteractWith = ($this, $par1EntityPlayer) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$tileEntityDispenser; $ptr = 1; case 1: $tmp = nms_TileEntityDispenser_isUseableByPlayer(var$2, $par1EntityPlayer); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, $ptr); }, nms_ContainerDispenser_transferStackInSlot = ($this, $par1EntityPlayer, $par2) => { let $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = null; var$4 = $this.$inventorySlots; if ($par2 >= 0 && $par2 < var$4.$size0) { $var4 = var$4.$array.data[$par2]; if ($var4 !== null && $var4.$getHasStack()) { $var5 = $var4.$getStack(); $var3 = new nms_ItemStack; var$7 = $var5.$itemID; var$8 = $var5.$stackSize; var$9 = $var5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$7; $var3.$stackSize = var$8; $var3.$itemDamage = var$9; if (var$9 < 0) $var3.$itemDamage = 0; var$10 = $var5.$stackTagCompound; if (var$10 !== null) { var$11 = new nms_NBTTagCompound; var$4 = var$10.$name; if (var$4 === null) var$4 = $rt_s(18); var$11.$name = var$4; var$4 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$13 = var$12.data; var$4.$elementData = var$12; var$4.$loadFactor = 0.75; var$4.$threshold = var$13.length * 0.75 | 0; var$11.$tagMap = var$4; var$14 = var$10.$tagMap; if (var$14.$cachedKeySet === null) { var$4 = new ju_HashMap$1; var$4.$this$0 = var$14; var$14.$cachedKeySet = var$4; } var$15 = var$14.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); var$4 = var$10.$tagMap; if (var$16 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { if (!var$16.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$16.$nativeString.length) break a; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$9 = var$16.$hashCode1; var$13 = var$4.$elementData.data; var$4 = var$13[var$9 & (var$13.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$9) { b: { var$14 = var$4.$key; if (var$16 !== var$14) { if (var$16 === var$14) var$7 = 1; else if (!(var$14 instanceof jl_String)) var$7 = 0; else { var$14 = var$14; var$7 = var$16.$nativeString !== var$14.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; var$4 = var$4.$copy(); var$14 = var$11.$tagMap; if (var$16 !== null) var$4.$name = var$16; else var$4.$name = $rt_s(18); ju_HashMap_putImpl(var$14, var$16, var$4); } $var3.$stackTagCompound = var$11; } if ($par2 >= 9) { $par2 = 0; var$7 = 9; var$8 = 0; $ptr = 1; continue main; } $par2 = 9; var$7 = 45; var$8 = 1; $ptr = 2; continue main; } return $var3; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 1: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 2: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 3: $var4.$onSlotChanged(); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 5; continue main; case 4: $var4.$putStack(var$4); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 5; case 5: $var4.$onPickupFromSlot($par1EntityPlayer, $var5); if ($rt_suspending()) { break main; } return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }; function nms_ContainerHopper() { nms_Container.call(this); this.$field_94538_a = null; } let nms_ContainerHopper__init_0 = ($this, $par1InventoryPlayer, $par2IInventory) => { let var$3, var$4, var$5, var$6, var$7, $var4, $var5, var$10, var$11, $var3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$inventoryItemStacks = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$inventorySlots = var$3; $this.$field_94535_f = (-1); var$3 = new ju_HashSet; var$4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $this.$field_94537_h = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$crafters = var$3; var$3 = new ju_HashSet; var$4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $this.$playerList = var$3; $this.$field_94538_a = $par2IInventory; $par2IInventory.$openChest(); $var4 = 0; while ($var4 < $par2IInventory.$getSizeInventory()) { var$4 = new nms_Slot; var$5 = 44 + ($var4 * 18 | 0) | 0; var$4.$inventory0 = $par2IInventory; var$4.$slotIndex = $var4; var$4.$xDisplayPosition = var$5; var$4.$yDisplayPosition = 20; var$3 = $this.$inventorySlots; $var5 = var$3.$size0; var$4.$slotNumber = $var5; ju_ArrayList_ensureCapacity(var$3, $var5 + 1 | 0); var$7 = var$3.$array.data; $var5 = var$3.$size0; var$3.$size0 = $var5 + 1 | 0; var$7[$var5] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; $var5 = var$3.$size0; var$3.$size0 = $var5 + 1 | 0; var$7[$var5] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } var$5 = 0; while (var$5 < 3) { $var5 = 0; while ($var5 < 9) { $par2IInventory = new nms_Slot; $var4 = ($var5 + (var$5 * 9 | 0) | 0) + 9 | 0; var$10 = 8 + ($var5 * 18 | 0) | 0; var$11 = (var$5 * 18 | 0) + 51 | 0; $par2IInventory.$inventory0 = $par1InventoryPlayer; $par2IInventory.$slotIndex = $var4; $par2IInventory.$xDisplayPosition = var$10; $par2IInventory.$yDisplayPosition = var$11; var$3 = $this.$inventorySlots; var$10 = var$3.$size0; $par2IInventory.$slotNumber = var$10; ju_ArrayList_ensureCapacity(var$3, var$10 + 1 | 0); var$7 = var$3.$array.data; var$10 = var$3.$size0; var$3.$size0 = var$10 + 1 | 0; var$7[var$10] = $par2IInventory; var$3.$modCount = var$3.$modCount + 1 | 0; $par2IInventory = $this.$inventoryItemStacks; var$3 = null; ju_ArrayList_ensureCapacity($par2IInventory, $par2IInventory.$size0 + 1 | 0); var$7 = $par2IInventory.$array.data; var$10 = $par2IInventory.$size0; $par2IInventory.$size0 = var$10 + 1 | 0; var$7[var$10] = var$3; $par2IInventory.$modCount = $par2IInventory.$modCount + 1 | 0; $var5 = $var5 + 1 | 0; } var$5 = var$5 + 1 | 0; } $var3 = 0; while ($var3 < 9) { $par2IInventory = new nms_Slot; var$5 = 8 + ($var3 * 18 | 0) | 0; $par2IInventory.$inventory0 = $par1InventoryPlayer; $par2IInventory.$slotIndex = $var3; $par2IInventory.$xDisplayPosition = var$5; $par2IInventory.$yDisplayPosition = 109; var$3 = $this.$inventorySlots; $var5 = var$3.$size0; $par2IInventory.$slotNumber = $var5; ju_ArrayList_ensureCapacity(var$3, $var5 + 1 | 0); var$7 = var$3.$array.data; $var5 = var$3.$size0; var$3.$size0 = $var5 + 1 | 0; var$7[$var5] = $par2IInventory; var$3.$modCount = var$3.$modCount + 1 | 0; $par2IInventory = $this.$inventoryItemStacks; var$3 = null; ju_ArrayList_ensureCapacity($par2IInventory, $par2IInventory.$size0 + 1 | 0); var$7 = $par2IInventory.$array.data; $var5 = $par2IInventory.$size0; $par2IInventory.$size0 = $var5 + 1 | 0; var$7[$var5] = var$3; $par2IInventory.$modCount = $par2IInventory.$modCount + 1 | 0; $var3 = $var3 + 1 | 0; } }, nms_ContainerHopper__init_ = (var_0, var_1) => { let var_2 = new nms_ContainerHopper(); nms_ContainerHopper__init_0(var_2, var_0, var_1); return var_2; }, nms_ContainerHopper_canInteractWith = ($this, $par1EntityPlayer) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$field_94538_a; $ptr = 1; case 1: $tmp = var$2.$isUseableByPlayer($par1EntityPlayer); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, $ptr); }, nms_ContainerHopper_transferStackInSlot = ($this, $par1EntityPlayer, $par2) => { let $var3, $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = null; $par1EntityPlayer = $this.$inventorySlots; if ($par2 >= 0 && $par2 < $par1EntityPlayer.$size0) { $var4 = $par1EntityPlayer.$array.data[$par2]; if ($var4 !== null && $var4.$getHasStack()) { $var5 = $var4.$getStack(); $var3 = new nms_ItemStack; var$6 = $var5.$itemID; var$7 = $var5.$stackSize; var$8 = $var5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$6; $var3.$stackSize = var$7; $var3.$itemDamage = var$8; if (var$8 < 0) $var3.$itemDamage = 0; var$9 = $var5.$stackTagCompound; if (var$9 !== null) { var$10 = new nms_NBTTagCompound; $par1EntityPlayer = var$9.$name; if ($par1EntityPlayer === null) $par1EntityPlayer = $rt_s(18); var$10.$name = $par1EntityPlayer; $par1EntityPlayer = new ju_HashMap; var$6 = ju_HashMap_calculateCapacity(16); $par1EntityPlayer.$elementCount = 0; var$11 = $rt_createArray(ju_HashMap$HashEntry, var$6); var$12 = var$11.data; $par1EntityPlayer.$elementData = var$11; $par1EntityPlayer.$loadFactor = 0.75; $par1EntityPlayer.$threshold = var$12.length * 0.75 | 0; var$10.$tagMap = $par1EntityPlayer; var$13 = var$9.$tagMap; if (var$13.$cachedKeySet === null) { $par1EntityPlayer = new ju_HashMap$1; $par1EntityPlayer.$this$0 = var$13; var$13.$cachedKeySet = $par1EntityPlayer; } var$14 = var$13.$cachedKeySet.$iterator(); while (var$14.$hasNext()) { var$15 = var$14.$next(); $par1EntityPlayer = var$9.$tagMap; if (var$15 === null) { $par1EntityPlayer = $par1EntityPlayer.$elementData.data[0]; while ($par1EntityPlayer !== null && $par1EntityPlayer.$key !== null) { $par1EntityPlayer = $par1EntityPlayer.$next3; } } else { a: { if (!var$15.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$15.$nativeString.length) break a; var$15.$hashCode1 = (31 * var$15.$hashCode1 | 0) + var$15.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$8 = var$15.$hashCode1; var$12 = $par1EntityPlayer.$elementData.data; $par1EntityPlayer = var$12[var$8 & (var$12.length - 1 | 0)]; while ($par1EntityPlayer !== null) { if ($par1EntityPlayer.$origKeyHash == var$8) { b: { var$13 = $par1EntityPlayer.$key; if (var$15 !== var$13) { if (var$15 === var$13) var$6 = 1; else if (!(var$13 instanceof jl_String)) var$6 = 0; else { var$13 = var$13; var$6 = var$15.$nativeString !== var$13.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break b; } } var$6 = 1; } if (var$6) break; } $par1EntityPlayer = $par1EntityPlayer.$next3; } } $par1EntityPlayer = $par1EntityPlayer === null ? null : $par1EntityPlayer.$value1; var$16 = $par1EntityPlayer.$copy(); $par1EntityPlayer = var$10.$tagMap; if (var$15 !== null) var$16.$name = var$15; else var$16.$name = $rt_s(18); ju_HashMap_putImpl($par1EntityPlayer, var$15, var$16); } $var3.$stackTagCompound = var$10; } if ($par2 >= $this.$field_94538_a.$getSizeInventory()) { $par2 = 0; var$7 = $this.$field_94538_a.$getSizeInventory(); var$6 = 0; $ptr = 1; continue main; } $par2 = $this.$field_94538_a.$getSizeInventory(); var$7 = $this.$inventorySlots.$size0; var$6 = 1; $ptr = 2; continue main; } return $var3; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 1: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$6); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } $par1EntityPlayer = null; $ptr = 4; continue main; case 2: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$6); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } $par1EntityPlayer = null; $ptr = 4; continue main; case 3: $var4.$onSlotChanged(); if ($rt_suspending()) { break main; } return $var3; case 4: $var4.$putStack($par1EntityPlayer); if ($rt_suspending()) { break main; } return $var3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $var3, $var4, $var5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_ContainerHopper_onContainerClosed = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $par1EntityPlayer.$inventory; var$3 = var$2.$itemStack; if (var$3 === null) { $par1EntityPlayer = $this.$field_94538_a; $ptr = 1; continue main; } var$4 = 0; $ptr = 2; continue main; case 1: $par1EntityPlayer.$closeChest(); if ($rt_suspending()) { break main; } return; case 2: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, var$3, var$4); if ($rt_suspending()) { break main; } var$2.$itemStack = null; $par1EntityPlayer = $this.$field_94538_a; $ptr = 1; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, var$4, $ptr); }; function nms_ContainerMerchant() { let a = this; nms_Container.call(a); a.$theMerchant0 = null; a.$merchantInventory = null; a.$theWorld6 = null; } let nms_ContainerMerchant__init_0 = ($this, $par1InventoryPlayer, $par2IMerchant, $par3World) => { let var$4, var$5, $var4, var$7, var$8, $var5, var$10, var$11, var$12; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$inventoryItemStacks = var$4; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$inventorySlots = var$4; $this.$field_94535_f = (-1); var$4 = new ju_HashSet; var$5 = new ju_HashMap; $var4 = ju_HashMap_calculateCapacity(16); var$5.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, $var4); var$8 = var$7.data; var$5.$elementData = var$7; var$5.$loadFactor = 0.75; var$5.$threshold = var$8.length * 0.75 | 0; var$4.$backingMap = var$5; $this.$field_94537_h = var$4; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$crafters = var$4; var$4 = new ju_HashSet; var$5 = new ju_HashMap; $var4 = ju_HashMap_calculateCapacity(16); var$5.$elementCount = 0; var$7 = $rt_createArray(ju_HashMap$HashEntry, $var4); var$8 = var$7.data; var$5.$elementData = var$7; var$5.$loadFactor = 0.75; var$5.$threshold = var$8.length * 0.75 | 0; var$4.$backingMap = var$5; $this.$playerList = var$4; $this.$theMerchant0 = $par2IMerchant; $this.$theWorld6 = $par3World; $par3World = new nms_InventoryMerchant; var$4 = $par1InventoryPlayer.$player; $par3World.$theInventory = $rt_createArray(nms_ItemStack, 3); $par3World.$thePlayer4 = var$4; $par3World.$theMerchant = $par2IMerchant; $this.$merchantInventory = $par3World; var$4 = new nms_Slot; var$4.$inventory0 = $par3World; var$4.$slotIndex = 0; var$4.$xDisplayPosition = 36; var$4.$yDisplayPosition = 53; $par3World = $this.$inventorySlots; $var5 = $par3World.$size0; var$4.$slotNumber = $var5; ju_ArrayList_ensureCapacity($par3World, $var5 + 1 | 0); var$8 = $par3World.$array.data; $var5 = $par3World.$size0; $par3World.$size0 = $var5 + 1 | 0; var$8[$var5] = var$4; $par3World.$modCount = $par3World.$modCount + 1 | 0; $par3World = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity($par3World, $par3World.$size0 + 1 | 0); var$8 = $par3World.$array.data; $var5 = $par3World.$size0; $par3World.$size0 = $var5 + 1 | 0; var$8[$var5] = var$4; $par3World.$modCount = $par3World.$modCount + 1 | 0; $par3World = new nms_Slot; $par3World.$inventory0 = $this.$merchantInventory; $par3World.$slotIndex = 1; $par3World.$xDisplayPosition = 62; $par3World.$yDisplayPosition = 53; var$4 = $this.$inventorySlots; $var5 = var$4.$size0; $par3World.$slotNumber = $var5; ju_ArrayList_ensureCapacity(var$4, $var5 + 1 | 0); var$8 = var$4.$array.data; $var5 = var$4.$size0; var$4.$size0 = $var5 + 1 | 0; var$8[$var5] = $par3World; var$4.$modCount = var$4.$modCount + 1 | 0; $par3World = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity($par3World, $par3World.$size0 + 1 | 0); var$8 = $par3World.$array.data; $var5 = $par3World.$size0; $par3World.$size0 = $var5 + 1 | 0; var$8[$var5] = var$4; $par3World.$modCount = $par3World.$modCount + 1 | 0; $par3World = new nms_SlotMerchantResult; var$4 = $par1InventoryPlayer.$player; var$5 = $this.$merchantInventory; $par3World.$inventory0 = var$5; $par3World.$slotIndex = 2; $par3World.$xDisplayPosition = 120; $par3World.$yDisplayPosition = 53; $par3World.$thePlayer5 = var$4; $par3World.$theMerchant2 = $par2IMerchant; $par3World.$theMerchantInventory = var$5; $par2IMerchant = $this.$inventorySlots; $var5 = $par2IMerchant.$size0; $par3World.$slotNumber = $var5; ju_ArrayList_ensureCapacity($par2IMerchant, $var5 + 1 | 0); var$8 = $par2IMerchant.$array.data; $var5 = $par2IMerchant.$size0; $par2IMerchant.$size0 = $var5 + 1 | 0; var$8[$var5] = $par3World; $par2IMerchant.$modCount = $par2IMerchant.$modCount + 1 | 0; $par2IMerchant = $this.$inventoryItemStacks; $par3World = null; ju_ArrayList_ensureCapacity($par2IMerchant, $par2IMerchant.$size0 + 1 | 0); var$8 = $par2IMerchant.$array.data; $var5 = $par2IMerchant.$size0; $par2IMerchant.$size0 = $var5 + 1 | 0; var$8[$var5] = $par3World; $par2IMerchant.$modCount = $par2IMerchant.$modCount + 1 | 0; $var4 = 0; while ($var4 < 3) { $var5 = 0; while ($var5 < 9) { $par2IMerchant = new nms_Slot; var$10 = ($var5 + ($var4 * 9 | 0) | 0) + 9 | 0; var$11 = 8 + ($var5 * 18 | 0) | 0; var$12 = 84 + ($var4 * 18 | 0) | 0; $par2IMerchant.$inventory0 = $par1InventoryPlayer; $par2IMerchant.$slotIndex = var$10; $par2IMerchant.$xDisplayPosition = var$11; $par2IMerchant.$yDisplayPosition = var$12; $par3World = $this.$inventorySlots; var$11 = $par3World.$size0; $par2IMerchant.$slotNumber = var$11; ju_ArrayList_ensureCapacity($par3World, var$11 + 1 | 0); var$8 = $par3World.$array.data; var$11 = $par3World.$size0; $par3World.$size0 = var$11 + 1 | 0; var$8[var$11] = $par2IMerchant; $par3World.$modCount = $par3World.$modCount + 1 | 0; $par2IMerchant = $this.$inventoryItemStacks; $par3World = null; ju_ArrayList_ensureCapacity($par2IMerchant, $par2IMerchant.$size0 + 1 | 0); var$8 = $par2IMerchant.$array.data; var$11 = $par2IMerchant.$size0; $par2IMerchant.$size0 = var$11 + 1 | 0; var$8[var$11] = $par3World; $par2IMerchant.$modCount = $par2IMerchant.$modCount + 1 | 0; $var5 = $var5 + 1 | 0; } $var4 = $var4 + 1 | 0; } $var4 = 0; while ($var4 < 9) { $par2IMerchant = new nms_Slot; $var5 = 8 + ($var4 * 18 | 0) | 0; $par2IMerchant.$inventory0 = $par1InventoryPlayer; $par2IMerchant.$slotIndex = $var4; $par2IMerchant.$xDisplayPosition = $var5; $par2IMerchant.$yDisplayPosition = 142; $par3World = $this.$inventorySlots; var$10 = $par3World.$size0; $par2IMerchant.$slotNumber = var$10; ju_ArrayList_ensureCapacity($par3World, var$10 + 1 | 0); var$8 = $par3World.$array.data; var$10 = $par3World.$size0; $par3World.$size0 = var$10 + 1 | 0; var$8[var$10] = $par2IMerchant; $par3World.$modCount = $par3World.$modCount + 1 | 0; $par2IMerchant = $this.$inventoryItemStacks; $par3World = null; ju_ArrayList_ensureCapacity($par2IMerchant, $par2IMerchant.$size0 + 1 | 0); var$8 = $par2IMerchant.$array.data; var$10 = $par2IMerchant.$size0; $par2IMerchant.$size0 = var$10 + 1 | 0; var$8[var$10] = $par3World; $par2IMerchant.$modCount = $par2IMerchant.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } }, nms_ContainerMerchant__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_ContainerMerchant(); nms_ContainerMerchant__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_ContainerMerchant_addCraftingToCrafters = ($this, $par1ICrafting) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$2 = $this.$crafters; var$3 = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); a: { while (true) { if (!(var$3 >= var$5 ? 0 : 1)) { var$3 = 0; break a; } if (var$4 < var$2.$modCount) break; var$6 = var$3 + 1 | 0; var$7 = var$2.$get(var$3); if (var$7 === $par1ICrafting ? 1 : var$7 !== null ? var$7.$equals($par1ICrafting) : $par1ICrafting !== null ? 0 : 1) { var$3 = 1; break a; } var$3 = var$6; } $par1ICrafting = new ju_ConcurrentModificationException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ICrafting); $rt_throw($par1ICrafting); } if (var$3) { $par1ICrafting = new jl_IllegalArgumentException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; $par1ICrafting.$message = $rt_s(2714); $rt_throw($par1ICrafting); } var$2 = $this.$crafters; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$8[var$6] = $par1ICrafting; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$4 = 0; while (true) { var$7 = $this.$inventorySlots; var$6 = var$7.$size0; var$3 = $rt_compare(var$4, var$6); if (var$3 >= 0) { if (0 >= var$6) { $par1ICrafting = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ICrafting); $rt_throw($par1ICrafting); } var$2 = var$7.$array.data[0].$getStack(); var$7 = $par1ICrafting.$itemNameField; if (var$2 === null) var$9 = $rt_s(18); else { nms_Item_$callClinit(); var$9 = nms_Item_itemsList.data[var$2.$itemID].$getItemDisplayName(var$2); var$10 = var$2.$stackTagCompound; if (var$10 !== null) { var$10 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); if (ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1525), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1) { var$10 = var$2.$stackTagCompound; var$11 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); if (!(ju_HashMap_findNonNullKeyEntry(var$11, $rt_s(1525), var$6 & (var$11.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1)) { var$11 = new nms_NBTTagCompound; jl_Object__init_(var$11); var$11.$name = $rt_s(1525); var$11.$tagMap = ju_HashMap__init_0(16); } else { var$10 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); var$10 = ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1525), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6); var$11 = var$10 === null ? null : var$10.$value1; } var$12 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); if (ju_HashMap_findNonNullKeyEntry(var$12, $rt_s(1526), var$6 & (var$12.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1) { var$10 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); if (!(ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1526), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1)) var$9 = $rt_s(18); else { var$10 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); var$9 = ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1526), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6); var$9 = (var$9 === null ? null : var$9.$value1).$data1; } } } } } var$3 = var$9.$nativeString.length; var$6 = var$7.$maxStringLength; if (var$3 <= var$6) var$7.$text = var$9; else var$7.$text = jl_String_substring(var$9, 0, var$6); var$7.$cursorPosition = var$7.$text.$nativeString.length; var$6 = var$7.$text.$nativeString.length; if (var$7.$cursorPosition < 0) var$7.$cursorPosition = 0; if (var$7.$cursorPosition > var$6) var$7.$cursorPosition = var$6; nms_GuiTextField_setSelectionPos(var$7, var$7.$cursorPosition); $par1ICrafting.$itemNameField.$isEnabled = var$2 === null ? 0 : 1; if (var$2 !== null) nms_GuiRepair_func_135015_g($par1ICrafting); nms_Container_detectAndSendChanges($this); return; } if (var$4 < 0) break; if (var$3 >= 0) break; var$7 = var$7.$array.data[var$4].$getStack(); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$8[var$6] = var$7; var$2.$modCount = var$2.$modCount + 1 | 0; var$4 = var$4 + 1 | 0; } $par1ICrafting = new jl_IndexOutOfBoundsException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ICrafting); $rt_throw($par1ICrafting); }, nms_ContainerMerchant_detectAndSendChanges = $this => { nms_Container_detectAndSendChanges($this); }, nms_ContainerMerchant_updateProgressBar = ($this, $par1, $par2) => { return; }, nms_ContainerMerchant_canInteractWith = ($this, $par1EntityPlayer) => { return $this.$theMerchant0.$getCustomer() !== $par1EntityPlayer ? 0 : 1; }, nms_ContainerMerchant_transferStackInSlot = ($this, $par1EntityPlayer, $par2) => { let $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = null; var$4 = $this.$inventorySlots; if ($par2 >= 0 && $par2 < var$4.$size0) { $var4 = var$4.$array.data[$par2]; if ($var4 !== null && $var4.$getHasStack()) { $var5 = $var4.$getStack(); $var3 = new nms_ItemStack; var$7 = $var5.$itemID; var$8 = $var5.$stackSize; var$9 = $var5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$7; $var3.$stackSize = var$8; $var3.$itemDamage = var$9; if (var$9 < 0) $var3.$itemDamage = 0; var$10 = $var5.$stackTagCompound; if (var$10 !== null) { var$11 = new nms_NBTTagCompound; var$4 = var$10.$name; if (var$4 === null) var$4 = $rt_s(18); var$11.$name = var$4; var$4 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$13 = var$12.data; var$4.$elementData = var$12; var$4.$loadFactor = 0.75; var$4.$threshold = var$13.length * 0.75 | 0; var$11.$tagMap = var$4; var$14 = var$10.$tagMap; if (var$14.$cachedKeySet === null) { var$4 = new ju_HashMap$1; var$4.$this$0 = var$14; var$14.$cachedKeySet = var$4; } var$15 = var$14.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); var$4 = var$10.$tagMap; if (var$16 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { if (!var$16.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$16.$nativeString.length) break a; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$8 = var$16.$hashCode1; var$13 = var$4.$elementData.data; var$4 = var$13[var$8 & (var$13.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$8) { b: { var$14 = var$4.$key; if (var$16 !== var$14) { if (var$16 === var$14) var$7 = 1; else if (!(var$14 instanceof jl_String)) var$7 = 0; else { var$14 = var$14; var$7 = var$16.$nativeString !== var$14.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; var$4 = var$4.$copy(); var$14 = var$11.$tagMap; if (var$16 !== null) var$4.$name = var$16; else var$4.$name = $rt_s(18); ju_HashMap_putImpl(var$14, var$16, var$4); } $var3.$stackTagCompound = var$11; } if ($par2 == 2) { $par2 = 3; var$7 = 39; var$8 = 1; $ptr = 1; continue main; } if ($par2 && $par2 != 1) { if ($par2 >= 3 && $par2 < 30) { $par2 = 30; var$7 = 39; var$8 = 0; $ptr = 6; continue main; } if ($par2 >= 30 && $par2 < 39) { $par2 = 3; var$7 = 30; var$8 = 0; $ptr = 8; continue main; } if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; } $par2 = 3; var$7 = 39; var$8 = 0; $ptr = 2; continue main; } return $var3; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 1: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$itemID == $var3.$itemID) { $par2 = $var3.$stackSize - $var5.$stackSize | 0; if ($par2 > 0) { $ptr = 5; continue main; } } if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 2: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 3: $var4.$onSlotChanged(); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 7; continue main; case 4: $var4.$putStack(var$4); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 7; continue main; case 5: $var4.$onCrafting($var5, $par2); if ($rt_suspending()) { break main; } if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 6: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 7: $var4.$onPickupFromSlot($par1EntityPlayer, $var5); if ($rt_suspending()) { break main; } return $var3; case 8: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, $ptr); }, nms_ContainerMerchant_onContainerClosed = ($this, $par1EntityPlayer) => { let $var2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $par1EntityPlayer.$inventory; var$3 = $var2.$itemStack; if (var$3 !== null) { var$4 = 0; $ptr = 1; continue main; } $this.$theMerchant0.$setCustomer(null); $var2 = $par1EntityPlayer.$inventory; var$3 = $var2.$itemStack; if (var$3 !== null) { var$4 = 0; $ptr = 2; continue main; } if (!$this.$theWorld6.$isRemote) { var$5 = $this.$merchantInventory.$theInventory.data; if (var$5[0] === null) $var2 = null; else { $var2 = var$5[0]; var$5[0] = null; } if ($var2 !== null) { var$4 = 0; $ptr = 3; continue main; } var$5 = $this.$merchantInventory.$theInventory.data; if (var$5[1] === null) $var2 = null; else { $var2 = var$5[1]; var$5[1] = null; } if ($var2 !== null) { var$4 = 0; $ptr = 4; continue main; } } return; case 1: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, var$3, var$4); if ($rt_suspending()) { break main; } $var2.$itemStack = null; $this.$theMerchant0.$setCustomer(null); $var2 = $par1EntityPlayer.$inventory; var$3 = $var2.$itemStack; if (var$3 !== null) { var$4 = 0; $ptr = 2; continue main; } if (!$this.$theWorld6.$isRemote) { var$5 = $this.$merchantInventory.$theInventory.data; if (var$5[0] === null) $var2 = null; else { $var2 = var$5[0]; var$5[0] = null; } if ($var2 !== null) { var$4 = 0; $ptr = 3; continue main; } var$5 = $this.$merchantInventory.$theInventory.data; if (var$5[1] === null) $var2 = null; else { $var2 = var$5[1]; var$5[1] = null; } if ($var2 !== null) { var$4 = 0; $ptr = 4; continue main; } } return; case 2: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, var$3, var$4); if ($rt_suspending()) { break main; } $var2.$itemStack = null; if (!$this.$theWorld6.$isRemote) { var$5 = $this.$merchantInventory.$theInventory.data; if (var$5[0] === null) $var2 = null; else { $var2 = var$5[0]; var$5[0] = null; } if ($var2 !== null) { var$4 = 0; $ptr = 3; continue main; } var$5 = $this.$merchantInventory.$theInventory.data; if (var$5[1] === null) $var2 = null; else { $var2 = var$5[1]; var$5[1] = null; } if ($var2 !== null) { var$4 = 0; $ptr = 4; continue main; } } return; case 3: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, $var2, var$4); if ($rt_suspending()) { break main; } var$5 = $this.$merchantInventory.$theInventory.data; if (var$5[1] === null) $var2 = null; else { $var2 = var$5[1]; var$5[1] = null; } if ($var2 === null) return; var$4 = 0; $ptr = 4; case 4: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, $var2, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var2, var$3, var$4, var$5, $ptr); }; function nms_ContainerBrewingStand() { let a = this; nms_Container.call(a); a.$tileBrewingStand = null; a.$theSlot1 = null; a.$brewTime0 = 0; } let nms_ContainerBrewingStand__init_0 = ($this, $par1InventoryPlayer, $par2TileEntityBrewingStand) => { let var$3, var$4, $var3, var$6, var$7, $var4, var$9, var$10, var$11; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$inventoryItemStacks = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$inventorySlots = var$3; $this.$field_94535_f = (-1); var$3 = new ju_HashSet; var$4 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $this.$field_94537_h = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$crafters = var$3; var$3 = new ju_HashSet; var$4 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $this.$playerList = var$3; $this.$tileBrewingStand = $par2TileEntityBrewingStand; var$4 = new nms_SlotBrewingStandPotion; var$3 = $par1InventoryPlayer.$player; var$4.$inventory0 = $par2TileEntityBrewingStand; var$4.$slotIndex = 0; var$4.$xDisplayPosition = 56; var$4.$yDisplayPosition = 46; var$4.$player0 = var$3; var$3 = $this.$inventorySlots; $var4 = var$3.$size0; var$4.$slotNumber = $var4; ju_ArrayList_ensureCapacity(var$3, $var4 + 1 | 0); var$7 = var$3.$array.data; $var4 = var$3.$size0; var$3.$size0 = $var4 + 1 | 0; var$7[$var4] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; $var4 = var$3.$size0; var$3.$size0 = $var4 + 1 | 0; var$7[$var4] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = new nms_SlotBrewingStandPotion; var$4 = $par1InventoryPlayer.$player; var$3.$inventory0 = $par2TileEntityBrewingStand; var$3.$slotIndex = 1; var$3.$xDisplayPosition = 79; var$3.$yDisplayPosition = 53; var$3.$player0 = var$4; var$4 = $this.$inventorySlots; $var4 = var$4.$size0; var$3.$slotNumber = $var4; ju_ArrayList_ensureCapacity(var$4, $var4 + 1 | 0); var$7 = var$4.$array.data; $var4 = var$4.$size0; var$4.$size0 = $var4 + 1 | 0; var$7[$var4] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$3 = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; $var4 = var$3.$size0; var$3.$size0 = $var4 + 1 | 0; var$7[$var4] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = new nms_SlotBrewingStandPotion; var$4 = $par1InventoryPlayer.$player; var$3.$inventory0 = $par2TileEntityBrewingStand; var$3.$slotIndex = 2; var$3.$xDisplayPosition = 102; var$3.$yDisplayPosition = 46; var$3.$player0 = var$4; var$4 = $this.$inventorySlots; $var4 = var$4.$size0; var$3.$slotNumber = $var4; ju_ArrayList_ensureCapacity(var$4, $var4 + 1 | 0); var$7 = var$4.$array.data; $var4 = var$4.$size0; var$4.$size0 = $var4 + 1 | 0; var$7[$var4] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$3 = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; $var4 = var$3.$size0; var$3.$size0 = $var4 + 1 | 0; var$7[$var4] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = new nms_SlotBrewingStandIngredient; var$3.$inventory0 = $par2TileEntityBrewingStand; var$3.$slotIndex = 3; var$3.$xDisplayPosition = 79; var$3.$yDisplayPosition = 17; var$3.$brewingStand0 = $this; $par2TileEntityBrewingStand = $this.$inventorySlots; $var4 = $par2TileEntityBrewingStand.$size0; var$3.$slotNumber = $var4; ju_ArrayList_ensureCapacity($par2TileEntityBrewingStand, $var4 + 1 | 0); var$7 = $par2TileEntityBrewingStand.$array.data; $var4 = $par2TileEntityBrewingStand.$size0; $par2TileEntityBrewingStand.$size0 = $var4 + 1 | 0; var$7[$var4] = var$3; $par2TileEntityBrewingStand.$modCount = $par2TileEntityBrewingStand.$modCount + 1 | 0; $par2TileEntityBrewingStand = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity($par2TileEntityBrewingStand, $par2TileEntityBrewingStand.$size0 + 1 | 0); var$7 = $par2TileEntityBrewingStand.$array.data; $var4 = $par2TileEntityBrewingStand.$size0; $par2TileEntityBrewingStand.$size0 = $var4 + 1 | 0; var$7[$var4] = var$4; $par2TileEntityBrewingStand.$modCount = $par2TileEntityBrewingStand.$modCount + 1 | 0; $this.$theSlot1 = var$3; $var3 = 0; while ($var3 < 3) { $var4 = 0; while ($var4 < 9) { $par2TileEntityBrewingStand = new nms_Slot; var$9 = ($var4 + ($var3 * 9 | 0) | 0) + 9 | 0; var$10 = 8 + ($var4 * 18 | 0) | 0; var$11 = 84 + ($var3 * 18 | 0) | 0; $par2TileEntityBrewingStand.$inventory0 = $par1InventoryPlayer; $par2TileEntityBrewingStand.$slotIndex = var$9; $par2TileEntityBrewingStand.$xDisplayPosition = var$10; $par2TileEntityBrewingStand.$yDisplayPosition = var$11; var$3 = $this.$inventorySlots; var$10 = var$3.$size0; $par2TileEntityBrewingStand.$slotNumber = var$10; ju_ArrayList_ensureCapacity(var$3, var$10 + 1 | 0); var$7 = var$3.$array.data; var$10 = var$3.$size0; var$3.$size0 = var$10 + 1 | 0; var$7[var$10] = $par2TileEntityBrewingStand; var$3.$modCount = var$3.$modCount + 1 | 0; $par2TileEntityBrewingStand = $this.$inventoryItemStacks; var$3 = null; ju_ArrayList_ensureCapacity($par2TileEntityBrewingStand, $par2TileEntityBrewingStand.$size0 + 1 | 0); var$7 = $par2TileEntityBrewingStand.$array.data; var$10 = $par2TileEntityBrewingStand.$size0; $par2TileEntityBrewingStand.$size0 = var$10 + 1 | 0; var$7[var$10] = var$3; $par2TileEntityBrewingStand.$modCount = $par2TileEntityBrewingStand.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } $var3 = 0; while ($var3 < 9) { $par2TileEntityBrewingStand = new nms_Slot; $var4 = 8 + ($var3 * 18 | 0) | 0; $par2TileEntityBrewingStand.$inventory0 = $par1InventoryPlayer; $par2TileEntityBrewingStand.$slotIndex = $var3; $par2TileEntityBrewingStand.$xDisplayPosition = $var4; $par2TileEntityBrewingStand.$yDisplayPosition = 142; var$3 = $this.$inventorySlots; var$9 = var$3.$size0; $par2TileEntityBrewingStand.$slotNumber = var$9; ju_ArrayList_ensureCapacity(var$3, var$9 + 1 | 0); var$7 = var$3.$array.data; var$9 = var$3.$size0; var$3.$size0 = var$9 + 1 | 0; var$7[var$9] = $par2TileEntityBrewingStand; var$3.$modCount = var$3.$modCount + 1 | 0; $par2TileEntityBrewingStand = $this.$inventoryItemStacks; var$3 = null; ju_ArrayList_ensureCapacity($par2TileEntityBrewingStand, $par2TileEntityBrewingStand.$size0 + 1 | 0); var$7 = $par2TileEntityBrewingStand.$array.data; var$9 = $par2TileEntityBrewingStand.$size0; $par2TileEntityBrewingStand.$size0 = var$9 + 1 | 0; var$7[var$9] = var$3; $par2TileEntityBrewingStand.$modCount = $par2TileEntityBrewingStand.$modCount + 1 | 0; $var3 = $var3 + 1 | 0; } }, nms_ContainerBrewingStand__init_ = (var_0, var_1) => { let var_2 = new nms_ContainerBrewingStand(); nms_ContainerBrewingStand__init_0(var_2, var_0, var_1); return var_2; }, nms_ContainerBrewingStand_addCraftingToCrafters = ($this, $par1ICrafting) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$2 = $this.$crafters; var$3 = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); a: { while (true) { if (!(var$3 >= var$5 ? 0 : 1)) { var$3 = 0; break a; } if (var$4 < var$2.$modCount) break; var$6 = var$3 + 1 | 0; var$7 = var$2.$get(var$3); if (var$7 === $par1ICrafting ? 1 : var$7 !== null ? var$7.$equals($par1ICrafting) : $par1ICrafting !== null ? 0 : 1) { var$3 = 1; break a; } var$3 = var$6; } $par1ICrafting = new ju_ConcurrentModificationException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ICrafting); $rt_throw($par1ICrafting); } if (var$3) { $par1ICrafting = new jl_IllegalArgumentException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; $par1ICrafting.$message = $rt_s(2714); $rt_throw($par1ICrafting); } var$2 = $this.$crafters; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$8[var$6] = $par1ICrafting; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$4 = 0; while (true) { var$7 = $this.$inventorySlots; var$6 = var$7.$size0; var$3 = $rt_compare(var$4, var$6); if (var$3 >= 0) { if (0 >= var$6) { $par1ICrafting = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ICrafting); $rt_throw($par1ICrafting); } var$2 = var$7.$array.data[0].$getStack(); var$7 = $par1ICrafting.$itemNameField; if (var$2 === null) var$9 = $rt_s(18); else { nms_Item_$callClinit(); var$9 = nms_Item_itemsList.data[var$2.$itemID].$getItemDisplayName(var$2); var$10 = var$2.$stackTagCompound; if (var$10 !== null) { var$10 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); if (ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1525), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1) { var$10 = var$2.$stackTagCompound; var$11 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); if (!(ju_HashMap_findNonNullKeyEntry(var$11, $rt_s(1525), var$6 & (var$11.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1)) { var$11 = new nms_NBTTagCompound; jl_Object__init_(var$11); var$11.$name = $rt_s(1525); var$11.$tagMap = ju_HashMap__init_0(16); } else { var$10 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); var$10 = ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1525), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6); var$11 = var$10 === null ? null : var$10.$value1; } var$12 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); if (ju_HashMap_findNonNullKeyEntry(var$12, $rt_s(1526), var$6 & (var$12.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1) { var$10 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); if (!(ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1526), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1)) var$9 = $rt_s(18); else { var$10 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); var$9 = ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1526), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6); var$9 = (var$9 === null ? null : var$9.$value1).$data1; } } } } } var$3 = var$9.$nativeString.length; var$6 = var$7.$maxStringLength; if (var$3 <= var$6) var$7.$text = var$9; else var$7.$text = jl_String_substring(var$9, 0, var$6); var$7.$cursorPosition = var$7.$text.$nativeString.length; var$6 = var$7.$text.$nativeString.length; if (var$7.$cursorPosition < 0) var$7.$cursorPosition = 0; if (var$7.$cursorPosition > var$6) var$7.$cursorPosition = var$6; nms_GuiTextField_setSelectionPos(var$7, var$7.$cursorPosition); $par1ICrafting.$itemNameField.$isEnabled = var$2 === null ? 0 : 1; if (var$2 !== null) nms_GuiRepair_func_135015_g($par1ICrafting); nms_ContainerBrewingStand_detectAndSendChanges($this); return; } if (var$4 < 0) break; if (var$3 >= 0) break; var$7 = var$7.$array.data[var$4].$getStack(); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$8[var$6] = var$7; var$2.$modCount = var$2.$modCount + 1 | 0; var$4 = var$4 + 1 | 0; } $par1ICrafting = new jl_IndexOutOfBoundsException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ICrafting); $rt_throw($par1ICrafting); }, nms_ContainerBrewingStand_detectAndSendChanges = $this => { let $var1, $var2, var$3, var$4; nms_Container_detectAndSendChanges($this); $var1 = 0; a: { while (true) { $var2 = $this.$crafters; var$3 = $rt_compare($var1, $var2.$size0); if (var$3 >= 0) break; if ($var1 < 0) break a; if (var$3 >= 0) break a; $var2 = $var2.$array.data[$var1]; var$3 = $this.$brewTime0; var$4 = $this.$tileBrewingStand.$brewTime; if (var$3 != var$4) $var2.$sendProgressBarUpdate($this, 0, var$4); $var1 = $var1 + 1 | 0; } $this.$brewTime0 = $this.$tileBrewingStand.$brewTime; return; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); }, nms_ContainerBrewingStand_updateProgressBar = ($this, $par1, $par2) => { if (!$par1) $this.$tileBrewingStand.$brewTime = $par2; }, nms_ContainerBrewingStand_canInteractWith = ($this, $par1EntityPlayer) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$tileBrewingStand; $ptr = 1; case 1: $tmp = nms_TileEntityBrewingStand_isUseableByPlayer(var$2, $par1EntityPlayer); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, $ptr); }, nms_ContainerBrewingStand_transferStackInSlot = ($this, $par1EntityPlayer, $par2) => { let $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = null; var$4 = $this.$inventorySlots; if ($par2 >= 0 && $par2 < var$4.$size0) { $var4 = var$4.$array.data[$par2]; if ($var4 !== null && $var4.$getHasStack()) { $var5 = $var4.$getStack(); $var3 = new nms_ItemStack; var$7 = $var5.$itemID; var$8 = $var5.$stackSize; var$9 = $var5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$7; $var3.$stackSize = var$8; $var3.$itemDamage = var$9; if (var$9 < 0) $var3.$itemDamage = 0; var$10 = $var5.$stackTagCompound; if (var$10 !== null) { var$11 = new nms_NBTTagCompound; var$4 = var$10.$name; if (var$4 === null) var$4 = $rt_s(18); var$11.$name = var$4; var$4 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$13 = var$12.data; var$4.$elementData = var$12; var$4.$loadFactor = 0.75; var$4.$threshold = var$13.length * 0.75 | 0; var$11.$tagMap = var$4; var$14 = var$10.$tagMap; if (var$14.$cachedKeySet === null) { var$4 = new ju_HashMap$1; var$4.$this$0 = var$14; var$14.$cachedKeySet = var$4; } var$15 = var$14.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); var$4 = var$10.$tagMap; if (var$16 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { a: { if (!var$16.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$16.$nativeString.length) break a; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = var$16.$hashCode1; var$13 = var$4.$elementData.data; var$4 = var$13[var$9 & (var$13.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$9) { b: { var$14 = var$4.$key; if (var$16 !== var$14) { if (var$16 === var$14) var$7 = 1; else if (!(var$14 instanceof jl_String)) var$7 = 0; else { var$14 = var$14; var$7 = var$16.$nativeString !== var$14.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; var$17 = var$4.$copy(); var$4 = var$11.$tagMap; if (var$16 !== null) var$17.$name = var$16; else var$17.$name = $rt_s(18); ju_HashMap_putImpl(var$4, var$16, var$17); } $var3.$stackTagCompound = var$11; } if (!($par2 >= 0 && $par2 <= 2) && $par2 != 3) { var$4 = $this.$theSlot1; var$7 = var$4.$inventory0.$getStackInSlot(var$4.$slotIndex) === null ? 0 : 1; if (!var$7 && $this.$theSlot1.$isItemValid($var5)) { $par2 = 3; var$7 = 4; var$8 = 0; $ptr = 5; continue main; } var$7 = $var3.$itemID; nms_Item_$callClinit(); if (var$7 != nms_Item_potion.$itemID0 && var$7 != nms_Item_glassBottle.$itemID0 ? 0 : 1) { $par2 = 0; var$7 = 3; var$8 = 0; $ptr = 7; continue main; } if ($par2 >= 4 && $par2 < 31) { $par2 = 31; var$7 = 40; var$8 = 0; $ptr = 9; continue main; } if ($par2 >= 31 && $par2 < 40) { $par2 = 4; var$7 = 31; var$8 = 0; $ptr = 10; continue main; } $par2 = 4; var$7 = 40; var$8 = 0; $ptr = 8; continue main; } $par2 = 4; var$7 = 40; var$8 = 1; $ptr = 1; continue main; } return $var3; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 1: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$itemID == $var3.$itemID) { $par2 = $var3.$stackSize - $var5.$stackSize | 0; if ($par2 > 0) { $ptr = 2; continue main; } } if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 2: $var4.$onCrafting($var5, $par2); if ($rt_suspending()) { break main; } if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 3: $var4.$onSlotChanged(); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 6; continue main; case 4: $var4.$putStack(var$4); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 6; continue main; case 5: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 6: $var4.$onPickupFromSlot($par1EntityPlayer, $var5); if ($rt_suspending()) { break main; } return $var3; case 7: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 8: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 9: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 10: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }; function nms_ContainerEnchantment() { let a = this; nms_Container.call(a); a.$tableInventory = null; a.$worldPointer = null; a.$posX2 = 0; a.$posY2 = 0; a.$posZ1 = 0; a.$rand4 = null; a.$nameSeed = Long_ZERO; a.$enchantLevels = null; } let nms_ContainerEnchantment__init_0 = ($this, $par1InventoryPlayer, $par2World, $par3, $par4, $par5) => { let var$6, var$7, $var6, var$9, var$10, var$11, $var7; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $this.$inventoryItemStacks = var$6; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $this.$inventorySlots = var$6; $this.$field_94535_f = (-1); var$6 = new ju_HashSet; var$7 = new ju_HashMap; $var6 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, $var6); var$10 = var$9.data; var$7.$elementData = var$9; var$7.$loadFactor = 0.75; var$7.$threshold = var$10.length * 0.75 | 0; var$6.$backingMap = var$7; $this.$field_94537_h = var$6; var$6 = new ju_ArrayList; var$6.$array = $rt_createArray(jl_Object, 10); $this.$crafters = var$6; var$6 = new ju_HashSet; var$7 = new ju_HashMap; $var6 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$9 = $rt_createArray(ju_HashMap$HashEntry, $var6); var$10 = var$9.data; var$7.$elementData = var$9; var$7.$loadFactor = 0.75; var$7.$threshold = var$10.length * 0.75 | 0; var$6.$backingMap = var$7; $this.$playerList = var$6; var$6 = new nms_SlotEnchantmentTable; var$6.$inventoryTitle = $rt_s(3941); var$6.$field_94051_e = 1; var$6.$slotsCount = 1; var$6.$inventoryContents = $rt_createArray(nms_ItemStack, 1); var$6.$container = $this; $this.$tableInventory = var$6; var$6 = new nle_EaglercraftRandom; var$11 = Long_fromNumber(performance.now() * 1000000.0); var$6.$seed = Long_fromInt(69); var$6.$haveNextNextGaussian = 0; var$6.$seed = var$11; $this.$rand4 = var$6; $this.$enchantLevels = $rt_createIntArray(3); $this.$worldPointer = $par2World; $this.$posX2 = $par3; $this.$posY2 = $par4; $this.$posZ1 = $par5; $par2World = new nms_SlotEnchantment; $par2World.$inventory0 = $this.$tableInventory; $par2World.$slotIndex = 0; $par2World.$xDisplayPosition = 25; $par2World.$yDisplayPosition = 47; $par2World.$container0 = $this; var$6 = $this.$inventorySlots; $par4 = var$6.$size0; $par2World.$slotNumber = $par4; ju_ArrayList_ensureCapacity(var$6, $par4 + 1 | 0); var$10 = var$6.$array.data; $par4 = var$6.$size0; var$6.$size0 = $par4 + 1 | 0; var$10[$par4] = $par2World; var$6.$modCount = var$6.$modCount + 1 | 0; $par2World = $this.$inventoryItemStacks; var$6 = null; ju_ArrayList_ensureCapacity($par2World, $par2World.$size0 + 1 | 0); var$10 = $par2World.$array.data; $par4 = $par2World.$size0; $par2World.$size0 = $par4 + 1 | 0; var$10[$par4] = var$6; $par2World.$modCount = $par2World.$modCount + 1 | 0; $var6 = 0; while ($var6 < 3) { $var7 = 0; while ($var7 < 9) { $par2World = new nms_Slot; $par4 = ($var7 + ($var6 * 9 | 0) | 0) + 9 | 0; $par5 = 8 + ($var7 * 18 | 0) | 0; $par3 = 84 + ($var6 * 18 | 0) | 0; $par2World.$inventory0 = $par1InventoryPlayer; $par2World.$slotIndex = $par4; $par2World.$xDisplayPosition = $par5; $par2World.$yDisplayPosition = $par3; var$6 = $this.$inventorySlots; $par4 = var$6.$size0; $par2World.$slotNumber = $par4; ju_ArrayList_ensureCapacity(var$6, $par4 + 1 | 0); var$10 = var$6.$array.data; $par4 = var$6.$size0; var$6.$size0 = $par4 + 1 | 0; var$10[$par4] = $par2World; var$6.$modCount = var$6.$modCount + 1 | 0; $par2World = $this.$inventoryItemStacks; var$6 = null; ju_ArrayList_ensureCapacity($par2World, $par2World.$size0 + 1 | 0); var$10 = $par2World.$array.data; $par4 = $par2World.$size0; $par2World.$size0 = $par4 + 1 | 0; var$10[$par4] = var$6; $par2World.$modCount = $par2World.$modCount + 1 | 0; $var7 = $var7 + 1 | 0; } $var6 = $var6 + 1 | 0; } $par3 = 0; while ($par3 < 9) { $par2World = new nms_Slot; $par4 = 8 + ($par3 * 18 | 0) | 0; $par2World.$inventory0 = $par1InventoryPlayer; $par2World.$slotIndex = $par3; $par2World.$xDisplayPosition = $par4; $par2World.$yDisplayPosition = 142; var$6 = $this.$inventorySlots; $par5 = var$6.$size0; $par2World.$slotNumber = $par5; ju_ArrayList_ensureCapacity(var$6, $par5 + 1 | 0); var$10 = var$6.$array.data; $par5 = var$6.$size0; var$6.$size0 = $par5 + 1 | 0; var$10[$par5] = $par2World; var$6.$modCount = var$6.$modCount + 1 | 0; $par2World = $this.$inventoryItemStacks; var$6 = null; ju_ArrayList_ensureCapacity($par2World, $par2World.$size0 + 1 | 0); var$10 = $par2World.$array.data; $par5 = $par2World.$size0; $par2World.$size0 = $par5 + 1 | 0; var$10[$par5] = var$6; $par2World.$modCount = $par2World.$modCount + 1 | 0; $par3 = $par3 + 1 | 0; } }, nms_ContainerEnchantment__init_ = (var_0, var_1, var_2, var_3, var_4) => { let var_5 = new nms_ContainerEnchantment(); nms_ContainerEnchantment__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; }, nms_ContainerEnchantment_addCraftingToCrafters = ($this, $par1ICrafting) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$2 = $this.$crafters; var$3 = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); a: { while (true) { if (!(var$3 >= var$5 ? 0 : 1)) { var$3 = 0; break a; } if (var$4 < var$2.$modCount) break; var$6 = var$3 + 1 | 0; var$7 = var$2.$get(var$3); if (var$7 === $par1ICrafting ? 1 : var$7 !== null ? var$7.$equals($par1ICrafting) : $par1ICrafting !== null ? 0 : 1) { var$3 = 1; break a; } var$3 = var$6; } $par1ICrafting = new ju_ConcurrentModificationException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ICrafting); $rt_throw($par1ICrafting); } if (var$3) { $par1ICrafting = new jl_IllegalArgumentException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; $par1ICrafting.$message = $rt_s(2714); $rt_throw($par1ICrafting); } var$2 = $this.$crafters; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$8[var$6] = $par1ICrafting; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$4 = 0; while (true) { var$7 = $this.$inventorySlots; var$6 = var$7.$size0; var$3 = $rt_compare(var$4, var$6); if (var$3 >= 0) { if (0 >= var$6) { $par1ICrafting = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ICrafting); $rt_throw($par1ICrafting); } var$2 = var$7.$array.data[0].$getStack(); var$7 = $par1ICrafting.$itemNameField; if (var$2 === null) var$9 = $rt_s(18); else { nms_Item_$callClinit(); var$9 = nms_Item_itemsList.data[var$2.$itemID].$getItemDisplayName(var$2); var$10 = var$2.$stackTagCompound; if (var$10 !== null) { var$10 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); if (ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1525), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1) { var$10 = var$2.$stackTagCompound; var$11 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); if (!(ju_HashMap_findNonNullKeyEntry(var$11, $rt_s(1525), var$6 & (var$11.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1)) { var$11 = new nms_NBTTagCompound; jl_Object__init_(var$11); var$11.$name = $rt_s(1525); var$11.$tagMap = ju_HashMap__init_0(16); } else { var$10 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); var$10 = ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1525), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6); var$11 = var$10 === null ? null : var$10.$value1; } var$12 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); if (ju_HashMap_findNonNullKeyEntry(var$12, $rt_s(1526), var$6 & (var$12.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1) { var$10 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); if (!(ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1526), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1)) var$9 = $rt_s(18); else { var$10 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); var$9 = ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1526), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6); var$9 = (var$9 === null ? null : var$9.$value1).$data1; } } } } } var$3 = var$9.$nativeString.length; var$6 = var$7.$maxStringLength; if (var$3 <= var$6) var$7.$text = var$9; else var$7.$text = jl_String_substring(var$9, 0, var$6); var$7.$cursorPosition = var$7.$text.$nativeString.length; var$6 = var$7.$text.$nativeString.length; if (var$7.$cursorPosition < 0) var$7.$cursorPosition = 0; if (var$7.$cursorPosition > var$6) var$7.$cursorPosition = var$6; nms_GuiTextField_setSelectionPos(var$7, var$7.$cursorPosition); $par1ICrafting.$itemNameField.$isEnabled = var$2 === null ? 0 : 1; if (var$2 !== null) nms_GuiRepair_func_135015_g($par1ICrafting); nms_ContainerEnchantment_detectAndSendChanges($this); return; } if (var$4 < 0) break; if (var$3 >= 0) break; var$7 = var$7.$array.data[var$4].$getStack(); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$8[var$6] = var$7; var$2.$modCount = var$2.$modCount + 1 | 0; var$4 = var$4 + 1 | 0; } $par1ICrafting = new jl_IndexOutOfBoundsException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ICrafting); $rt_throw($par1ICrafting); }, nms_ContainerEnchantment_detectAndSendChanges = $this => { let $var1, $var2, var$3; nms_Container_detectAndSendChanges($this); $var1 = 0; a: { while (true) { $var2 = $this.$crafters; var$3 = $rt_compare($var1, $var2.$size0); if (var$3 >= 0) break; if ($var1 < 0) break a; if (var$3 >= 0) break a; $var2 = $var2.$array.data[$var1]; $var2.$sendProgressBarUpdate($this, 0, $this.$enchantLevels.data[0]); $var2.$sendProgressBarUpdate($this, 1, $this.$enchantLevels.data[1]); $var2.$sendProgressBarUpdate($this, 2, $this.$enchantLevels.data[2]); $var1 = $var1 + 1 | 0; } return; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); }, nms_ContainerEnchantment_updateProgressBar = ($this, $par1, $par2) => { if ($par1 >= 0 && $par1 <= 2) $this.$enchantLevels.data[$par1] = $par2; }, nms_ContainerEnchantment_onCraftMatrixChanged = ($this, $par1IInventory) => { let $var2, $var3, var$4, $var4, var$6, var$7, $var3_0, var$9, var$10, var$11, $var5, var$13, var$14, var$15, var$16; a: { if ($par1IInventory === $this.$tableInventory) { b: { $var2 = $par1IInventory.$inventoryContents.data[0]; if ($var2 !== null) { nms_Item_$callClinit(); if (!nms_Item_itemsList.data[$var2.$itemID].$isItemTool($var2)) $var3 = 0; else { c: { var$4 = $var2.$stackTagCompound; if (var$4 !== null) { d: { var$4 = var$4.$tagMap; if (!$rt_s(1734).$hashCode1) { $var3 = 0; while (true) { if ($var3 >= $rt_s(1734).$nativeString.length) break d; $rt_s(1734).$hashCode1 = (31 * $rt_s(1734).$hashCode1 | 0) + $rt_s(1734).$nativeString.charCodeAt($var3) | 0; $var3 = $var3 + 1 | 0; } } } $var4 = $rt_s(1734).$hashCode1; var$6 = var$4.$elementData.data; var$4 = var$6[$var4 & (var$6.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == $var4) { e: { var$7 = var$4.$key; if ($rt_s(1734) !== var$7) { if ($rt_s(1734) === var$7) $var3 = 1; else if (!(var$7 instanceof jl_String)) $var3 = 0; else { var$7 = var$7; $var3 = $rt_s(1734).$nativeString !== var$7.$nativeString ? 0 : 1; } if (!$var3) { $var3 = 0; break e; } } $var3 = 1; } if ($var3) break; } var$4 = var$4.$next3; } if (var$4 === null ? 0 : 1) { $var3 = 1; break c; } } $var3 = 0; } $var3 = $var3 ? 0 : 1; } if ($var3) break b; } $var3_0 = 0; while (true) { if ($var3_0 >= 3) break a; $this.$enchantLevels.data[$var3_0] = 0; $var3_0 = $var3_0 + 1 | 0; } } $par1IInventory = $this.$rand4; var$9 = Long_and(Long_add(Long_mul($par1IInventory.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1IInventory.$seed = var$9; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$9, 16))), 32); var$11 = Long_and(Long_add(Long_mul(var$9, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1IInventory.$seed = var$11; $this.$nameSeed = Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$11, 16)))); if (!$this.$worldPointer.$isRemote) { $var3 = 0; $var4 = (-1); while ($var4 <= 1) { $var5 = (-1); while ($var5 <= 1) { if (!(!$var4 && !$var5) && (nms_World_getBlockId($this.$worldPointer, $this.$posX2 + $var5 | 0, $this.$posY2, $this.$posZ1 + $var4 | 0) ? 0 : 1) && (nms_World_getBlockId($this.$worldPointer, $this.$posX2 + $var5 | 0, $this.$posY2 + 1 | 0, $this.$posZ1 + $var4 | 0) ? 0 : 1)) { $par1IInventory = $this.$worldPointer; $var3_0 = $this.$posX2; var$13 = $var5 * 2 | 0; $var3_0 = $var3_0 + var$13 | 0; var$14 = $this.$posY2; var$15 = $this.$posZ1; var$16 = $var4 * 2 | 0; $var3_0 = nms_World_getBlockId($par1IInventory, $var3_0, var$14, var$15 + var$16 | 0); nms_Block_$callClinit(); if ($var3_0 == nms_Block_bookShelf.$blockID) $var3 = $var3 + 1 | 0; if (nms_World_getBlockId($this.$worldPointer, $this.$posX2 + var$13 | 0, $this.$posY2 + 1 | 0, $this.$posZ1 + var$16 | 0) == nms_Block_bookShelf.$blockID) $var3 = $var3 + 1 | 0; if ($var5 && $var4) { if (nms_World_getBlockId($this.$worldPointer, $this.$posX2 + var$13 | 0, $this.$posY2, $this.$posZ1 + $var4 | 0) == nms_Block_bookShelf.$blockID) $var3 = $var3 + 1 | 0; if (nms_World_getBlockId($this.$worldPointer, $this.$posX2 + var$13 | 0, $this.$posY2 + 1 | 0, $this.$posZ1 + $var4 | 0) == nms_Block_bookShelf.$blockID) $var3 = $var3 + 1 | 0; if (nms_World_getBlockId($this.$worldPointer, $this.$posX2 + $var5 | 0, $this.$posY2, $this.$posZ1 + var$16 | 0) == nms_Block_bookShelf.$blockID) $var3 = $var3 + 1 | 0; if (nms_World_getBlockId($this.$worldPointer, $this.$posX2 + $var5 | 0, $this.$posY2 + 1 | 0, $this.$posZ1 + var$16 | 0) == nms_Block_bookShelf.$blockID) $var3 = $var3 + 1 | 0; } } $var5 = $var5 + 1 | 0; } $var4 = $var4 + 1 | 0; } $var3_0 = 0; while ($var3_0 < 3) { $this.$enchantLevels.data[$var3_0] = nms_EnchantmentHelper_calcItemStackEnchantability($this.$rand4, $var3_0, $var3, $var2); $var3_0 = $var3_0 + 1 | 0; } nms_ContainerEnchantment_detectAndSendChanges($this); } } } }, nms_ContainerEnchantment_enchantItem = ($this, $par1EntityPlayer, $par2) => { let $var3, var$4, $var4, $var7, $var5, $var6, var$9, var$10, var$11, $var8; a: { $var3 = $this.$tableInventory.$inventoryContents.data[0]; var$4 = $this.$enchantLevels.data; if (var$4[$par2] > 0 && $var3 !== null) { if ($par1EntityPlayer.$experienceLevel >= var$4[$par2]) break a; if ($par1EntityPlayer.$capabilities.$isCreativeMode) break a; } return 0; } b: { if (!$this.$worldPointer.$isRemote) { $var4 = nms_EnchantmentHelper_buildEnchantmentList($this.$rand4, $var3, var$4[$par2]); $var7 = $var3.$itemID; nms_Item_$callClinit(); $var5 = $var7 != nms_Item_book.$itemID0 ? 0 : 1; if ($var4 !== null) { nms_EntityPlayer_addExperienceLevel($par1EntityPlayer, -$this.$enchantLevels.data[$par2] | 0); if ($var5) $var3.$itemID = nms_Item_enchantedBook.$itemID0; if (!$var5) $var6 = (-1); else { $par1EntityPlayer = $this.$rand4; var$9 = $var4.$size0; var$10 = Long_and(Long_add(Long_mul($par1EntityPlayer.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityPlayer.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); $par2 = var$9 - 1 | 0; if (!(var$9 & $par2)) $var6 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$9), Long_fromInt(var$11)), 31)); else while (true) { $var6 = var$11 % var$9 | 0; if (((var$11 - $var6 | 0) + $par2 | 0) >= 0) break; var$10 = Long_and(Long_add(Long_mul($par1EntityPlayer.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityPlayer.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 17)); } } $var7 = 0; while (true) { $par2 = $rt_compare($var7, $var4.$size0); if ($par2 >= 0) break; if ($var7 < 0) break b; if ($par2 >= 0) break b; $var8 = $var4.$array.data[$var7]; if (!($var5 && $var7 != $var6)) { if ($var5) nms_ItemEnchantedBook_addEnchantment(nms_Item_enchantedBook, $var3, $var8); else nms_ItemStack_addEnchantment($var3, $var8.$enchantmentobj, $var8.$enchantmentLevel); } $var7 = $var7 + 1 | 0; } nms_ContainerEnchantment_onCraftMatrixChanged($this, $this.$tableInventory); } } return 1; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); }, nms_ContainerEnchantment_onContainerClosed = ($this, $par1EntityPlayer) => { let $var2, var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var2 = $par1EntityPlayer.$inventory; var$3 = $var2.$itemStack; if (var$3 !== null) { var$4 = 0; $ptr = 1; continue main; } if (!$this.$worldPointer.$isRemote) { var$5 = $this.$tableInventory.$inventoryContents.data; if (var$5[0] === null) $var2 = null; else { $var2 = var$5[0]; var$5[0] = null; } if ($var2 !== null) { var$4 = 0; $ptr = 2; continue main; } } return; case 1: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, var$3, var$4); if ($rt_suspending()) { break main; } $var2.$itemStack = null; if (!$this.$worldPointer.$isRemote) { var$5 = $this.$tableInventory.$inventoryContents.data; if (var$5[0] === null) $var2 = null; else { $var2 = var$5[0]; var$5[0] = null; } if ($var2 !== null) { var$4 = 0; $ptr = 2; continue main; } } return; case 2: nms_EntityPlayer_dropPlayerItemWithRandomChoice($par1EntityPlayer, $var2, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $var2, var$3, var$4, var$5, $ptr); }, nms_ContainerEnchantment_canInteractWith = ($this, $par1EntityPlayer) => { let var$2, var$3, var$4, var$5; var$2 = nms_World_getBlockId($this.$worldPointer, $this.$posX2, $this.$posY2, $this.$posZ1); nms_Block_$callClinit(); if (var$2 != nms_Block_enchantmentTable.$blockID) var$2 = 0; else { var$3 = $this.$posX2 + 0.5; var$4 = $this.$posY2 + 0.5; var$5 = $this.$posZ1 + 0.5; var$3 = $par1EntityPlayer.$posX - var$3; var$4 = $par1EntityPlayer.$posY - var$4; var$5 = $par1EntityPlayer.$posZ - var$5; var$2 = var$3 * var$3 + var$4 * var$4 + var$5 * var$5 > 64.0 ? 0 : 1; } return var$2; }, nms_ContainerEnchantment_transferStackInSlot = ($this, $par1EntityPlayer, $par2) => { let $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = null; var$4 = $this.$inventorySlots; if ($par2 >= 0 && $par2 < var$4.$size0) { $var4 = var$4.$array.data[$par2]; if ($var4 !== null && $var4.$getHasStack()) { $var5 = $var4.$getStack(); $var3 = new nms_ItemStack; var$7 = $var5.$itemID; var$8 = $var5.$stackSize; var$9 = $var5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$7; $var3.$stackSize = var$8; $var3.$itemDamage = var$9; if (var$9 < 0) $var3.$itemDamage = 0; var$4 = $var5.$stackTagCompound; if (var$4 !== null) { var$10 = new nms_NBTTagCompound; var$11 = var$4.$name; if (var$11 === null) var$11 = $rt_s(18); var$10.$name = var$11; var$11 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$11.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$13 = var$12.data; var$11.$elementData = var$12; var$11.$loadFactor = 0.75; var$11.$threshold = var$13.length * 0.75 | 0; var$10.$tagMap = var$11; var$14 = var$4.$tagMap; if (var$14.$cachedKeySet === null) { var$11 = new ju_HashMap$1; var$11.$this$0 = var$14; var$14.$cachedKeySet = var$11; } var$15 = var$14.$cachedKeySet.$iterator(); while (var$15.$hasNext()) { var$16 = var$15.$next(); var$11 = var$4.$tagMap; if (var$16 === null) { var$17 = var$11.$elementData.data[0]; while (var$17 !== null && var$17.$key !== null) { var$17 = var$17.$next3; } } else { a: { if (!var$16.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$16.$nativeString.length) break a; var$16.$hashCode1 = (31 * var$16.$hashCode1 | 0) + var$16.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$8 = var$16.$hashCode1; var$13 = var$11.$elementData.data; var$17 = var$13[var$8 & (var$13.length - 1 | 0)]; while (var$17 !== null) { if (var$17.$origKeyHash == var$8) { b: { var$11 = var$17.$key; if (var$16 !== var$11) { if (var$16 === var$11) var$7 = 1; else if (!(var$11 instanceof jl_String)) var$7 = 0; else { var$11 = var$11; var$7 = var$16.$nativeString !== var$11.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$17 = var$17.$next3; } } var$11 = var$17 === null ? null : var$17.$value1; var$11 = var$11.$copy(); var$14 = var$10.$tagMap; if (var$16 !== null) var$11.$name = var$16; else var$11.$name = $rt_s(18); ju_HashMap_putImpl(var$14, var$16, var$11); } $var3.$stackTagCompound = var$10; } if (!$par2) { $par2 = 1; var$7 = 37; var$8 = 1; $ptr = 1; continue main; } var$4 = $this.$inventorySlots; if (0 >= var$4.$size0) { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } if (!var$4.$array.data[0].$getHasStack()) { var$4 = $this.$inventorySlots; if (0 >= var$4.$size0) { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } if (var$4.$array.data[0].$isItemValid($var5)) { var$14 = $var5.$stackTagCompound; if (var$14 === null ? 0 : 1) { var$7 = $var5.$stackSize; if (var$7 == 1) { var$4 = $this.$inventorySlots; if (0 >= var$4.$size0) { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } var$10 = var$4.$array.data[0]; var$15 = new nms_ItemStack; $par2 = $var5.$itemID; var$8 = $var5.$itemDamage; var$15.$itemID = $par2; var$15.$stackSize = var$7; var$15.$itemDamage = var$8; if (var$8 < 0) var$15.$itemDamage = 0; if (var$14 !== null) { var$16 = new nms_NBTTagCompound; var$4 = var$14.$name; if (var$4 === null) var$4 = $rt_s(18); var$16.$name = var$4; var$4 = new ju_HashMap; $par2 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, $par2); var$13 = var$12.data; var$4.$elementData = var$12; var$4.$loadFactor = 0.75; var$4.$threshold = var$13.length * 0.75 | 0; var$16.$tagMap = var$4; var$11 = var$14.$tagMap; if (var$11.$cachedKeySet === null) { var$4 = new ju_HashMap$1; var$4.$this$0 = var$11; var$11.$cachedKeySet = var$4; } var$17 = var$11.$cachedKeySet.$iterator(); while (var$17.$hasNext()) { var$18 = var$17.$next(); var$4 = var$14.$tagMap; if (var$18 === null) { var$4 = var$4.$elementData.data[0]; while (var$4 !== null && var$4.$key !== null) { var$4 = var$4.$next3; } } else { c: { if (!var$18.$hashCode1) { $par2 = 0; while (true) { if ($par2 >= var$18.$nativeString.length) break c; var$18.$hashCode1 = (31 * var$18.$hashCode1 | 0) + var$18.$nativeString.charCodeAt($par2) | 0; $par2 = $par2 + 1 | 0; } } } var$8 = var$18.$hashCode1; var$13 = var$4.$elementData.data; var$4 = var$13[var$8 & (var$13.length - 1 | 0)]; while (var$4 !== null) { if (var$4.$origKeyHash == var$8) { d: { var$11 = var$4.$key; if (var$18 !== var$11) { if (var$18 === var$11) $par2 = 1; else if (!(var$11 instanceof jl_String)) $par2 = 0; else { var$11 = var$11; $par2 = var$18.$nativeString !== var$11.$nativeString ? 0 : 1; } if (!$par2) { $par2 = 0; break d; } } $par2 = 1; } if ($par2) break; } var$4 = var$4.$next3; } } var$4 = var$4 === null ? null : var$4.$value1; var$4 = var$4.$copy(); var$11 = var$16.$tagMap; if (var$18 !== null) var$4.$name = var$18; else var$4.$name = $rt_s(18); ju_HashMap_putImpl(var$11, var$18, var$4); } var$15.$stackTagCompound = var$16; } $ptr = 6; continue main; } } if ($var5.$stackSize < 1) { if ($var5.$stackSize) { $ptr = 2; continue main; } var$4 = null; $ptr = 3; continue main; } var$4 = $this.$inventorySlots; if (0 >= var$4.$size0) { $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } var$4 = var$4.$array.data[0]; var$11 = new nms_ItemStack; var$7 = $var5.$itemID; var$8 = $var5.$itemDamage; var$11.$itemID = var$7; var$11.$stackSize = 1; var$11.$itemDamage = var$8; if (var$8 < 0) var$11.$itemDamage = 0; $ptr = 5; continue main; } } return null; } return $var3; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 1: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 2; continue main; } var$4 = null; $ptr = 3; continue main; case 2: $var4.$onSlotChanged(); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 4; continue main; case 3: $var4.$putStack(var$4); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 4; case 4: $var4.$onPickupFromSlot($par1EntityPlayer, $var5); if ($rt_suspending()) { break main; } return $var3; case 5: var$4.$putStack(var$11); if ($rt_suspending()) { break main; } $var5.$stackSize = $var5.$stackSize - 1 | 0; if ($var5.$stackSize) { $ptr = 2; continue main; } var$4 = null; $ptr = 3; continue main; case 6: var$10.$putStack(var$15); if ($rt_suspending()) { break main; } $var5.$stackSize = 0; if ($var5.$stackSize) { $ptr = 2; continue main; } var$4 = null; $ptr = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }; function nms_ContainerFurnace() { let a = this; nms_Container.call(a); a.$furnace = null; a.$lastCookTime = 0; a.$lastBurnTime = 0; a.$lastItemBurnTime = 0; } let nms_ContainerFurnace__init_0 = ($this, $par1InventoryPlayer, $par2TileEntityFurnace) => { let var$3, var$4, var$5, var$6, var$7, $var3, $var4, var$10, var$11; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$inventoryItemStacks = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$inventorySlots = var$3; $this.$field_94535_f = (-1); var$3 = new ju_HashSet; var$4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $this.$field_94537_h = var$3; var$3 = new ju_ArrayList; var$3.$array = $rt_createArray(jl_Object, 10); $this.$crafters = var$3; var$3 = new ju_HashSet; var$4 = new ju_HashMap; var$5 = ju_HashMap_calculateCapacity(16); var$4.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, var$5); var$7 = var$6.data; var$4.$elementData = var$6; var$4.$loadFactor = 0.75; var$4.$threshold = var$7.length * 0.75 | 0; var$3.$backingMap = var$4; $this.$playerList = var$3; $this.$furnace = $par2TileEntityFurnace; var$4 = new nms_Slot; var$4.$inventory0 = $par2TileEntityFurnace; var$4.$slotIndex = 0; var$4.$xDisplayPosition = 56; var$4.$yDisplayPosition = 17; var$3 = $this.$inventorySlots; $var3 = var$3.$size0; var$4.$slotNumber = $var3; ju_ArrayList_ensureCapacity(var$3, $var3 + 1 | 0); var$7 = var$3.$array.data; $var3 = var$3.$size0; var$3.$size0 = $var3 + 1 | 0; var$7[$var3] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; $var3 = var$3.$size0; var$3.$size0 = $var3 + 1 | 0; var$7[$var3] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = new nms_Slot; var$3.$inventory0 = $par2TileEntityFurnace; var$3.$slotIndex = 1; var$3.$xDisplayPosition = 56; var$3.$yDisplayPosition = 53; var$4 = $this.$inventorySlots; $var3 = var$4.$size0; var$3.$slotNumber = $var3; ju_ArrayList_ensureCapacity(var$4, $var3 + 1 | 0); var$7 = var$4.$array.data; $var3 = var$4.$size0; var$4.$size0 = $var3 + 1 | 0; var$7[$var3] = var$3; var$4.$modCount = var$4.$modCount + 1 | 0; var$3 = $this.$inventoryItemStacks; var$4 = null; ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$7 = var$3.$array.data; $var3 = var$3.$size0; var$3.$size0 = $var3 + 1 | 0; var$7[$var3] = var$4; var$3.$modCount = var$3.$modCount + 1 | 0; var$3 = new nms_SlotFurnace; var$4 = $par1InventoryPlayer.$player; var$3.$inventory0 = $par2TileEntityFurnace; var$3.$slotIndex = 2; var$3.$xDisplayPosition = 116; var$3.$yDisplayPosition = 35; var$3.$thePlayer2 = var$4; $par2TileEntityFurnace = $this.$inventorySlots; $var3 = $par2TileEntityFurnace.$size0; var$3.$slotNumber = $var3; ju_ArrayList_ensureCapacity($par2TileEntityFurnace, $var3 + 1 | 0); var$7 = $par2TileEntityFurnace.$array.data; $var3 = $par2TileEntityFurnace.$size0; $par2TileEntityFurnace.$size0 = $var3 + 1 | 0; var$7[$var3] = var$3; $par2TileEntityFurnace.$modCount = $par2TileEntityFurnace.$modCount + 1 | 0; $par2TileEntityFurnace = $this.$inventoryItemStacks; var$3 = null; ju_ArrayList_ensureCapacity($par2TileEntityFurnace, $par2TileEntityFurnace.$size0 + 1 | 0); var$7 = $par2TileEntityFurnace.$array.data; $var3 = $par2TileEntityFurnace.$size0; $par2TileEntityFurnace.$size0 = $var3 + 1 | 0; var$7[$var3] = var$3; $par2TileEntityFurnace.$modCount = $par2TileEntityFurnace.$modCount + 1 | 0; $var3 = 0; while ($var3 < 3) { $var4 = 0; while ($var4 < 9) { $par2TileEntityFurnace = new nms_Slot; var$10 = ($var4 + ($var3 * 9 | 0) | 0) + 9 | 0; var$11 = 8 + ($var4 * 18 | 0) | 0; var$5 = 84 + ($var3 * 18 | 0) | 0; $par2TileEntityFurnace.$inventory0 = $par1InventoryPlayer; $par2TileEntityFurnace.$slotIndex = var$10; $par2TileEntityFurnace.$xDisplayPosition = var$11; $par2TileEntityFurnace.$yDisplayPosition = var$5; var$3 = $this.$inventorySlots; var$10 = var$3.$size0; $par2TileEntityFurnace.$slotNumber = var$10; ju_ArrayList_ensureCapacity(var$3, var$10 + 1 | 0); var$7 = var$3.$array.data; var$10 = var$3.$size0; var$3.$size0 = var$10 + 1 | 0; var$7[var$10] = $par2TileEntityFurnace; var$3.$modCount = var$3.$modCount + 1 | 0; $par2TileEntityFurnace = $this.$inventoryItemStacks; var$3 = null; ju_ArrayList_ensureCapacity($par2TileEntityFurnace, $par2TileEntityFurnace.$size0 + 1 | 0); var$7 = $par2TileEntityFurnace.$array.data; var$10 = $par2TileEntityFurnace.$size0; $par2TileEntityFurnace.$size0 = var$10 + 1 | 0; var$7[var$10] = var$3; $par2TileEntityFurnace.$modCount = $par2TileEntityFurnace.$modCount + 1 | 0; $var4 = $var4 + 1 | 0; } $var3 = $var3 + 1 | 0; } var$5 = 0; while (var$5 < 9) { $par2TileEntityFurnace = new nms_Slot; $var3 = 8 + (var$5 * 18 | 0) | 0; $par2TileEntityFurnace.$inventory0 = $par1InventoryPlayer; $par2TileEntityFurnace.$slotIndex = var$5; $par2TileEntityFurnace.$xDisplayPosition = $var3; $par2TileEntityFurnace.$yDisplayPosition = 142; var$3 = $this.$inventorySlots; $var4 = var$3.$size0; $par2TileEntityFurnace.$slotNumber = $var4; ju_ArrayList_ensureCapacity(var$3, $var4 + 1 | 0); var$7 = var$3.$array.data; $var4 = var$3.$size0; var$3.$size0 = $var4 + 1 | 0; var$7[$var4] = $par2TileEntityFurnace; var$3.$modCount = var$3.$modCount + 1 | 0; $par2TileEntityFurnace = $this.$inventoryItemStacks; var$3 = null; ju_ArrayList_ensureCapacity($par2TileEntityFurnace, $par2TileEntityFurnace.$size0 + 1 | 0); var$7 = $par2TileEntityFurnace.$array.data; $var4 = $par2TileEntityFurnace.$size0; $par2TileEntityFurnace.$size0 = $var4 + 1 | 0; var$7[$var4] = var$3; $par2TileEntityFurnace.$modCount = $par2TileEntityFurnace.$modCount + 1 | 0; var$5 = var$5 + 1 | 0; } }, nms_ContainerFurnace__init_ = (var_0, var_1) => { let var_2 = new nms_ContainerFurnace(); nms_ContainerFurnace__init_0(var_2, var_0, var_1); return var_2; }, nms_ContainerFurnace_addCraftingToCrafters = ($this, $par1ICrafting) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$2 = $this.$crafters; var$3 = 0; var$4 = var$2.$modCount; var$5 = var$2.$size(); a: { while (true) { if (!(var$3 >= var$5 ? 0 : 1)) { var$3 = 0; break a; } if (var$4 < var$2.$modCount) break; var$6 = var$3 + 1 | 0; var$7 = var$2.$get(var$3); if (var$7 === $par1ICrafting ? 1 : var$7 !== null ? var$7.$equals($par1ICrafting) : $par1ICrafting !== null ? 0 : 1) { var$3 = 1; break a; } var$3 = var$6; } $par1ICrafting = new ju_ConcurrentModificationException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ICrafting); $rt_throw($par1ICrafting); } if (var$3) { $par1ICrafting = new jl_IllegalArgumentException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; $par1ICrafting.$message = $rt_s(2714); $rt_throw($par1ICrafting); } var$2 = $this.$crafters; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$8[var$6] = $par1ICrafting; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = new ju_ArrayList; var$2.$array = $rt_createArray(jl_Object, 10); var$4 = 0; while (true) { var$7 = $this.$inventorySlots; var$6 = var$7.$size0; var$3 = $rt_compare(var$4, var$6); if (var$3 >= 0) { if (0 >= var$6) { $par1ICrafting = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1ICrafting); $rt_throw($par1ICrafting); } var$2 = var$7.$array.data[0].$getStack(); var$7 = $par1ICrafting.$itemNameField; if (var$2 === null) var$9 = $rt_s(18); else { nms_Item_$callClinit(); var$9 = nms_Item_itemsList.data[var$2.$itemID].$getItemDisplayName(var$2); var$10 = var$2.$stackTagCompound; if (var$10 !== null) { var$10 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); if (ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1525), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1) { var$10 = var$2.$stackTagCompound; var$11 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); if (!(ju_HashMap_findNonNullKeyEntry(var$11, $rt_s(1525), var$6 & (var$11.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1)) { var$11 = new nms_NBTTagCompound; jl_Object__init_(var$11); var$11.$name = $rt_s(1525); var$11.$tagMap = ju_HashMap__init_0(16); } else { var$10 = var$10.$tagMap; var$6 = jl_String_hashCode($rt_s(1525)); var$10 = ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1525), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6); var$11 = var$10 === null ? null : var$10.$value1; } var$12 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); if (ju_HashMap_findNonNullKeyEntry(var$12, $rt_s(1526), var$6 & (var$12.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1) { var$10 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); if (!(ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1526), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6) === null ? 0 : 1)) var$9 = $rt_s(18); else { var$10 = var$11.$tagMap; var$6 = jl_String_hashCode($rt_s(1526)); var$9 = ju_HashMap_findNonNullKeyEntry(var$10, $rt_s(1526), var$6 & (var$10.$elementData.data.length - 1 | 0), var$6); var$9 = (var$9 === null ? null : var$9.$value1).$data1; } } } } } var$3 = var$9.$nativeString.length; var$6 = var$7.$maxStringLength; if (var$3 <= var$6) var$7.$text = var$9; else var$7.$text = jl_String_substring(var$9, 0, var$6); var$7.$cursorPosition = var$7.$text.$nativeString.length; var$6 = var$7.$text.$nativeString.length; if (var$7.$cursorPosition < 0) var$7.$cursorPosition = 0; if (var$7.$cursorPosition > var$6) var$7.$cursorPosition = var$6; nms_GuiTextField_setSelectionPos(var$7, var$7.$cursorPosition); $par1ICrafting.$itemNameField.$isEnabled = var$2 === null ? 0 : 1; if (var$2 !== null) nms_GuiRepair_func_135015_g($par1ICrafting); nms_ContainerFurnace_detectAndSendChanges($this); return; } if (var$4 < 0) break; if (var$3 >= 0) break; var$7 = var$7.$array.data[var$4].$getStack(); ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$8 = var$2.$array.data; var$6 = var$2.$size0; var$2.$size0 = var$6 + 1 | 0; var$8[var$6] = var$7; var$2.$modCount = var$2.$modCount + 1 | 0; var$4 = var$4 + 1 | 0; } $par1ICrafting = new jl_IndexOutOfBoundsException; $par1ICrafting.$suppressionEnabled = 1; $par1ICrafting.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1ICrafting); $rt_throw($par1ICrafting); }, nms_ContainerFurnace_detectAndSendChanges = $this => { let $var1, $var2, var$3, var$4; nms_Container_detectAndSendChanges($this); $var1 = 0; a: { while (true) { $var2 = $this.$crafters; var$3 = $rt_compare($var1, $var2.$size0); if (var$3 >= 0) break; if ($var1 < 0) break a; if (var$3 >= 0) break a; $var2 = $var2.$array.data[$var1]; var$3 = $this.$lastCookTime; var$4 = $this.$furnace.$furnaceCookTime; if (var$3 != var$4) $var2.$sendProgressBarUpdate($this, 0, var$4); var$3 = $this.$lastBurnTime; var$4 = $this.$furnace.$furnaceBurnTime; if (var$3 != var$4) $var2.$sendProgressBarUpdate($this, 1, var$4); var$3 = $this.$lastItemBurnTime; var$4 = $this.$furnace.$currentItemBurnTime; if (var$3 != var$4) $var2.$sendProgressBarUpdate($this, 2, var$4); $var1 = $var1 + 1 | 0; } $var2 = $this.$furnace; $this.$lastCookTime = $var2.$furnaceCookTime; $this.$lastBurnTime = $var2.$furnaceBurnTime; $this.$lastItemBurnTime = $var2.$currentItemBurnTime; return; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); }, nms_ContainerFurnace_updateProgressBar = ($this, $par1, $par2) => { if (!$par1) $this.$furnace.$furnaceCookTime = $par2; if ($par1 == 1) $this.$furnace.$furnaceBurnTime = $par2; if ($par1 == 2) $this.$furnace.$currentItemBurnTime = $par2; }, nms_ContainerFurnace_canInteractWith = ($this, $par1EntityPlayer) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$furnace; $ptr = 1; case 1: $tmp = nms_TileEntityFurnace_isUseableByPlayer(var$2, $par1EntityPlayer); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, $ptr); }, nms_ContainerFurnace_transferStackInSlot = ($this, $par1EntityPlayer, $par2) => { let $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var3 = null; var$4 = $this.$inventorySlots; if ($par2 >= 0 && $par2 < var$4.$size0) { $var4 = var$4.$array.data[$par2]; if ($var4 !== null && $var4.$getHasStack()) { $var5 = $var4.$getStack(); $var3 = new nms_ItemStack; var$7 = $var5.$itemID; var$8 = $var5.$stackSize; var$9 = $var5.$itemDamage; nms_ItemStack_$callClinit(); $var3.$itemID = var$7; $var3.$stackSize = var$8; $var3.$itemDamage = var$9; if (var$9 < 0) $var3.$itemDamage = 0; var$4 = $var5.$stackTagCompound; if (var$4 !== null) { var$10 = new nms_NBTTagCompound; var$11 = var$4.$name; if (var$11 === null) var$11 = $rt_s(18); var$10.$name = var$11; var$11 = new ju_HashMap; var$7 = ju_HashMap_calculateCapacity(16); var$11.$elementCount = 0; var$12 = $rt_createArray(ju_HashMap$HashEntry, var$7); var$13 = var$12.data; var$11.$elementData = var$12; var$11.$loadFactor = 0.75; var$11.$threshold = var$13.length * 0.75 | 0; var$10.$tagMap = var$11; var$11 = var$4.$tagMap; if (var$11.$cachedKeySet === null) { var$14 = new ju_HashMap$1; var$14.$this$0 = var$11; var$11.$cachedKeySet = var$14; } var$11 = var$11.$cachedKeySet.$iterator(); while (var$11.$hasNext()) { var$14 = var$11.$next(); var$15 = var$4.$tagMap; if (var$14 === null) { var$15 = var$15.$elementData.data[0]; while (var$15 !== null && var$15.$key !== null) { var$15 = var$15.$next3; } } else { a: { if (!var$14.$hashCode1) { var$8 = 0; while (true) { if (var$8 >= var$14.$nativeString.length) break a; var$14.$hashCode1 = (31 * var$14.$hashCode1 | 0) + var$14.$nativeString.charCodeAt(var$8) | 0; var$8 = var$8 + 1 | 0; } } } var$9 = var$14.$hashCode1; var$13 = var$15.$elementData.data; var$15 = var$13[var$9 & (var$13.length - 1 | 0)]; while (var$15 !== null) { if (var$15.$origKeyHash == var$9) { b: { var$16 = var$15.$key; if (var$14 !== var$16) { if (var$14 === var$16) var$7 = 1; else if (!(var$16 instanceof jl_String)) var$7 = 0; else { var$16 = var$16; var$7 = var$14.$nativeString !== var$16.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } var$15 = var$15.$next3; } } var$15 = var$15 === null ? null : var$15.$value1; var$17 = var$15.$copy(); var$15 = var$10.$tagMap; if (var$14 !== null) var$17.$name = var$14; else var$17.$name = $rt_s(18); ju_HashMap_putImpl(var$15, var$14, var$17); } $var3.$stackTagCompound = var$10; } if ($par2 == 2) { $par2 = 3; var$7 = 39; var$8 = 1; $ptr = 1; continue main; } if ($par2 != 1 && $par2) { nms_FurnaceRecipes_$callClinit(); var$10 = nms_FurnaceRecipes_smeltingBase; nms_Item_$callClinit(); var$8 = nms_Item_itemsList.data[$var5.$itemID].$itemID0; var$4 = var$10.$smeltingList; if (var$8 >= (-128) && var$8 <= 127) { jl_Integer_ensureIntegerCache(); var$10 = jl_Integer_integerCache.data[var$8 + 128 | 0]; } else { var$10 = new jl_Integer; var$10.$value0 = var$8; } if (var$10 === null) { var$11 = var$4.$elementData.data[0]; while (var$11 !== null && var$11.$key !== null) { var$11 = var$11.$next3; } } else { var$8 = var$10.$value0; var$13 = var$4.$elementData.data; var$11 = var$13[var$8 & (var$13.length - 1 | 0)]; while (var$11 !== null) { if (var$11.$origKeyHash == var$8) { var$4 = var$11.$key; if (var$10 !== var$4 && !(var$10 === var$4 ? 1 : var$4 instanceof jl_Integer && var$4.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } var$11 = var$11.$next3; } } var$4 = var$11 === null ? null : var$11.$value1; if (var$4 !== null) { $par2 = 0; var$7 = 1; var$8 = 0; $ptr = 7; continue main; } if (nms_TileEntityFurnace_getItemBurnTime($var5) <= 0 ? 0 : 1) { $par2 = 1; var$7 = 2; var$8 = 0; $ptr = 8; continue main; } if ($par2 >= 3 && $par2 < 30) { $par2 = 30; var$7 = 39; var$8 = 0; $ptr = 9; continue main; } if ($par2 >= 30 && $par2 < 39) { $par2 = 3; var$7 = 30; var$8 = 0; $ptr = 10; continue main; } if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; } $par2 = 3; var$7 = 39; var$8 = 0; $ptr = 2; continue main; } return $var3; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); case 1: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$itemID == $var3.$itemID) { $par2 = $var3.$stackSize - $var5.$stackSize | 0; if ($par2 > 0) { $ptr = 5; continue main; } } if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 2: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 3: $var4.$onSlotChanged(); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 6; continue main; case 4: $var4.$putStack(var$4); if ($rt_suspending()) { break main; } if ($var5.$stackSize == $var3.$stackSize) return null; $ptr = 6; continue main; case 5: $var4.$onCrafting($var5, $par2); if ($rt_suspending()) { break main; } if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 6: $var4.$onPickupFromSlot($par1EntityPlayer, $var5); if ($rt_suspending()) { break main; } return $var3; case 7: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 8: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 9: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; case 10: $tmp = nms_Container_mergeItemStack($this, $var5, $par2, var$7, var$8); if ($rt_suspending()) { break main; } $par2 = $tmp; if (!$par2) return null; if ($var5.$stackSize) { $ptr = 3; continue main; } var$4 = null; $ptr = 4; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2, $var3, var$4, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }, nle_RelayQuery = $rt_classWithoutFields(0); function nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy() { jl_Object.call(this); this.$type5 = null; } let nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_isQueryOpen = $this => { return 0; }, nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_isQueryFailed = $this => { return 1; }, nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_close = $this => { return; }, nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_getVersion = $this => { return 1; }, nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_getComment = $this => { return $rt_s(3942); }, nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_getBrand = $this => { return $rt_s(3943); }, nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_getPing = $this => { return Long_ZERO; }, nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_getCompatible = $this => { return nle_RelayQuery$VersionMismatch_COMPATIBLE; }; function nlea_EaglerAdapterImpl2$RelayQueryImpl() { let a = this; jl_Object.call(a); a.$sock0 = null; a.$uri1 = null; a.$open = 0; a.$failed0 = 0; a.$hasRecievedAnyData = 0; a.$vers = 0; a.$comment2 = null; a.$brand = null; a.$connectionOpenedAt = Long_ZERO; a.$connectionPingStart = Long_ZERO; a.$connectionPingTimer = Long_ZERO; a.$rateLimitStatus0 = null; a.$versError = null; } let nlea_EaglerAdapterImpl2$RelayQueryImpl__init_ = ($this, $uri) => { let var$2, var$3, var$4, $$je; $this.$hasRecievedAnyData = 0; $this.$vers = (-1); $this.$comment2 = $rt_s(3944); $this.$brand = $rt_s(3945); $this.$connectionPingStart = Long_fromInt(-1); $this.$connectionPingTimer = Long_fromInt(-1); $this.$rateLimitStatus0 = nlea_EaglerAdapterImpl2$RateLimit_NONE; $this.$versError = nle_RelayQuery$VersionMismatch_UNKNOWN; $this.$uri1 = $uri; a: { try { $this.$connectionOpenedAt = nlea_EaglerAdapterImpl2_steadyTimeMillis(); var$2 = new WebSocket($rt_ustr($uri)); var$3 = "arraybuffer"; var$2.binaryType = var$3; $this.$open = 1; $this.$failed0 = 0; break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } $this.$connectionOpenedAt = Long_ZERO; $this.$sock0 = null; $this.$open = 0; $this.$failed0 = 1; return; } $this.$sock0 = var$2; var$4 = new nlea_EaglerAdapterImpl2$RelayQueryImpl$1; var$4.$this$09 = $this; var$2.addEventListener("open", otji_JS_function(var$4, "handleEvent")); var$2 = $this.$sock0; var$4 = new nlea_EaglerAdapterImpl2$RelayQueryImpl$2; var$4.$this$03 = $this; var$4.$val$uri2 = $uri; var$2.addEventListener("message", otji_JS_function(var$4, "handleEvent")); var$2 = $this.$sock0; var$3 = new nlea_EaglerAdapterImpl2$RelayQueryImpl$3; var$3.$this$011 = $this; var$3.$val$uri = $uri; var$2.addEventListener("close", otji_JS_function(var$3, "handleEvent")); }, nlea_EaglerAdapterImpl2$RelayQueryImpl__init_0 = var_0 => { let var_1 = new nlea_EaglerAdapterImpl2$RelayQueryImpl(); nlea_EaglerAdapterImpl2$RelayQueryImpl__init_(var_1, var_0); return var_1; }, nlea_EaglerAdapterImpl2$RelayQueryImpl_isQueryOpen = $this => { return $this.$open; }, nlea_EaglerAdapterImpl2$RelayQueryImpl_isQueryFailed = $this => { return $this.$failed0; }, nlea_EaglerAdapterImpl2$RelayQueryImpl_close = $this => { let var$1; var$1 = $this.$sock0; if (var$1 !== null && $this.$open) var$1.close(); $this.$open = 0; }, nlea_EaglerAdapterImpl2$RelayQueryImpl_getVersion = $this => { return $this.$vers; }, nlea_EaglerAdapterImpl2$RelayQueryImpl_getComment = $this => { return $this.$comment2; }, nlea_EaglerAdapterImpl2$RelayQueryImpl_getBrand = $this => { return $this.$brand; }, nlea_EaglerAdapterImpl2$RelayQueryImpl_getPing = $this => { let var$1; var$1 = $this.$connectionPingTimer; if (Long_lt(var$1, Long_fromInt(1))) var$1 = Long_fromInt(1); return var$1; }, nlea_EaglerAdapterImpl2$RelayQueryImpl_getCompatible = $this => { return $this.$versError; }, nms_EntityTracker = $rt_classWithoutFields(); function nms_NetServerHandler() { nms_NetHandler.call(this); this.$connectionClosed = 0; } let nms_NetServerHandler_randomGenerator = null, nms_NetServerHandler_$callClinit = () => { nms_NetServerHandler_$callClinit = $rt_eraseClinit(nms_NetServerHandler); nms_NetServerHandler__clinit_(); }, nms_NetServerHandler__clinit_ = () => { let var$1, var$2; var$1 = new nle_EaglercraftRandom; var$2 = Long_fromNumber(performance.now() * 1000000.0); var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = var$2; nms_NetServerHandler_randomGenerator = var$1; }; function nms_SlotBeacon() { nms_Slot.call(this); this.$beacon0 = null; } let nms_SlotBeacon_isItemValid = ($this, $par1ItemStack) => { let var$2; if ($par1ItemStack === null) var$2 = 0; else { var$2 = $par1ItemStack.$itemID; nms_Item_$callClinit(); var$2 = var$2 != nms_Item_emerald.$itemID0 && var$2 != nms_Item_diamond.$itemID0 && var$2 != nms_Item_ingotGold.$itemID0 && var$2 != nms_Item_ingotIron.$itemID0 ? 0 : 1; } return var$2; }, nms_SlotBeacon_getSlotStackLimit = $this => { return 1; }; function nms_ContainerRepairINNER1() { nms_InventoryBasic.call(this); this.$repairContainer1 = null; } let nms_ContainerRepairINNER1_onInventoryChanged = $this => { let var$1, var$2, var$3; a: { b: { if ($this.$field_70480_d !== null) { var$1 = 0; while (true) { var$2 = $this.$field_70480_d; var$3 = $rt_compare(var$1, var$2.$size0); if (var$3 >= 0) break b; if (var$1 < 0) break a; if (var$3 >= 0) break a; nms_EntityHorse_onInventoryChanged(var$2.$array.data[var$1], $this); var$1 = var$1 + 1 | 0; } } } var$2 = $this.$repairContainer1; nms_Container_detectAndSendChanges(var$2); if ($this === var$2.$inputSlots) nms_ContainerRepair_updateRepairOutput(var$2); return; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }; function nms_ContainerRepairINNER2() { let a = this; nms_Slot.call(a); a.$field_135071_a = null; a.$field_135069_b = 0; a.$field_135070_c = 0; a.$field_135067_d = 0; a.$repairContainer0 = null; } let nms_ContainerRepairINNER2_isItemValid = ($this, $par1ItemStack) => { return 0; }, nms_ContainerRepairINNER2_canTakeStack = ($this, $par1EntityPlayer) => { return !(!$par1EntityPlayer.$capabilities.$isCreativeMode && $par1EntityPlayer.$experienceLevel < $this.$repairContainer0.$maximumCost) && $this.$repairContainer0.$maximumCost > 0 && ($this.$inventory0.$getStackInSlot($this.$slotIndex) === null ? 0 : 1) ? 1 : 0; }, nms_ContainerRepairINNER2_onPickupFromSlot = ($this, $par1EntityPlayer, $par2ItemStack) => { let $var3, $var6, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var6 = $thread.pop();$var3 = $thread.pop();$par2ItemStack = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$par1EntityPlayer.$capabilities.$isCreativeMode) nms_EntityPlayer_addExperienceLevel($par1EntityPlayer, -$this.$repairContainer0.$maximumCost | 0); a: { $var3 = $this.$repairContainer0.$inputSlots; $par2ItemStack = null; $var3.$inventoryContents.data[0] = $par2ItemStack; if ($var3.$field_70480_d !== null) { $var6 = 0; while (true) { $par2ItemStack = $var3.$field_70480_d; $var4 = $rt_compare($var6, $par2ItemStack.$size0); if ($var4 >= 0) break a; if ($var6 < 0) break; if ($var4 >= 0) break; nms_EntityHorse_onInventoryChanged($par2ItemStack.$array.data[$var6], $var3); $var6 = $var6 + 1 | 0; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } } $par2ItemStack = $var3.$repairContainer1; nms_Container_detectAndSendChanges($par2ItemStack); if ($var3 === $par2ItemStack.$inputSlots) nms_ContainerRepair_updateRepairOutput($par2ItemStack); $par2ItemStack = $this.$repairContainer0; $var5 = $par2ItemStack.$stackSizeToBeUsedInRepair; if ($var5 <= 0) { b: { $var3 = $par2ItemStack.$inputSlots; $var3.$inventoryContents.data[1] = null; if ($var3.$field_70480_d !== null) { $var6 = 0; while (true) { $par2ItemStack = $var3.$field_70480_d; $var4 = $rt_compare($var6, $par2ItemStack.$size0); if ($var4 >= 0) break b; if ($var6 < 0) break; if ($var4 >= 0) break; nms_EntityHorse_onInventoryChanged($par2ItemStack.$array.data[$var6], $var3); $var6 = $var6 + 1 | 0; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } } $par2ItemStack = $var3.$repairContainer1; nms_Container_detectAndSendChanges($par2ItemStack); if ($var3 === $par2ItemStack.$inputSlots) nms_ContainerRepair_updateRepairOutput($par2ItemStack); } else c: { var$7 = $par2ItemStack.$inputSlots; var$8 = var$7.$inventoryContents.data; $var3 = var$8[1]; if ($var3 !== null) { $var6 = $var3.$stackSize; if ($var6 > $var5) { $var6 = $var6 - $var5 | 0; $var3.$stackSize = $var6; var$8[1] = $var3; if ($var6 > 64) $var3.$stackSize = 64; d: { if (var$7.$field_70480_d !== null) { $var6 = 0; while (true) { $par2ItemStack = var$7.$field_70480_d; $var4 = $rt_compare($var6, $par2ItemStack.$size0); if ($var4 >= 0) break d; if ($var6 < 0) break; if ($var4 >= 0) break; nms_EntityHorse_onInventoryChanged($par2ItemStack.$array.data[$var6], var$7); $var6 = $var6 + 1 | 0; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } } $par2ItemStack = var$7.$repairContainer1; nms_Container_detectAndSendChanges($par2ItemStack); if (var$7 === $par2ItemStack.$inputSlots) nms_ContainerRepair_updateRepairOutput($par2ItemStack); break c; } } e: { var$8[1] = null; if (var$7.$field_70480_d !== null) { $var6 = 0; while (true) { $par2ItemStack = var$7.$field_70480_d; $var4 = $rt_compare($var6, $par2ItemStack.$size0); if ($var4 >= 0) break e; if ($var6 < 0) break; if ($var4 >= 0) break; nms_EntityHorse_onInventoryChanged($par2ItemStack.$array.data[$var6], var$7); $var6 = $var6 + 1 | 0; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; jl_Throwable__init_($par1EntityPlayer); $rt_throw($par1EntityPlayer); } } $par2ItemStack = var$7.$repairContainer1; nms_Container_detectAndSendChanges($par2ItemStack); if (var$7 === $par2ItemStack.$inputSlots) nms_ContainerRepair_updateRepairOutput($par2ItemStack); } $this.$repairContainer0.$maximumCost = 0; if (!$par1EntityPlayer.$capabilities.$isCreativeMode) { $par2ItemStack = $this.$field_135071_a; if (!$par2ItemStack.$isRemote) { $var6 = nms_World_getBlockId($par2ItemStack, $this.$field_135069_b, $this.$field_135070_c, $this.$field_135067_d); nms_Block_$callClinit(); if ($var6 == nms_Block_anvil.$blockID) { $par1EntityPlayer = $par1EntityPlayer.$rand; var$9 = Long_and(Long_add(Long_mul($par1EntityPlayer.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1EntityPlayer.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 < 0.11999999731779099) { $var6 = nms_World_getBlockMetadata($this.$field_135071_a, $this.$field_135069_b, $this.$field_135070_c, $this.$field_135067_d); $var4 = $var6 & 3; $var5 = ($var6 >> 2) + 1 | 0; if ($var5 <= 2) { $par1EntityPlayer = $this.$field_135071_a; var$10 = $this.$field_135069_b; var$11 = $this.$field_135070_c; var$12 = $this.$field_135067_d; $var6 = $var4 | $var5 << 2; $var4 = 2; $ptr = 1; continue main; } $par1EntityPlayer = $this.$field_135071_a; $var6 = $this.$field_135069_b; var$10 = $this.$field_135070_c; var$11 = $this.$field_135067_d; var$12 = 0; $var4 = 0; $var5 = 3; $ptr = 2; continue main; } } } } $par1EntityPlayer = $this.$field_135071_a; if (!$par1EntityPlayer.$isRemote) { $var6 = 1021; $var4 = $this.$field_135069_b; $var5 = $this.$field_135070_c; var$11 = $this.$field_135067_d; var$10 = 0; $par2ItemStack = null; var$12 = 0; $var3 = $par1EntityPlayer.$worldAccesses; var$13 = $rt_compare(var$12, $var3.$size0); if (var$13 < 0) { if (var$12 >= 0 && var$13 < 0) { $var3 = $var3.$array.data[var$12]; $ptr = 3; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); } } return; case 1: nms_World_setBlockMetadataWithNotify($par1EntityPlayer, var$10, var$11, var$12, $var6, $var4); if ($rt_suspending()) { break main; } $par1EntityPlayer = $this.$field_135071_a; $var6 = 1021; $var4 = $this.$field_135069_b; $var5 = $this.$field_135070_c; var$10 = $this.$field_135067_d; var$11 = 0; $par2ItemStack = null; var$12 = 0; $var3 = $par1EntityPlayer.$worldAccesses; var$13 = $rt_compare(var$12, $var3.$size0); if (var$13 >= 0) return; if (var$12 >= 0 && var$13 < 0) { $var3 = $var3.$array.data[var$12]; $ptr = 4; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); case 2: nms_World_setBlock($par1EntityPlayer, $var6, var$10, var$11, var$12, $var4, $var5); if ($rt_suspending()) { break main; } $par1EntityPlayer = $this.$field_135071_a; $var6 = 1020; $var4 = $this.$field_135069_b; $var5 = $this.$field_135070_c; var$10 = $this.$field_135067_d; var$11 = 0; $par2ItemStack = null; var$12 = 0; $var3 = $par1EntityPlayer.$worldAccesses; var$13 = $rt_compare(var$12, $var3.$size0); if (var$13 >= 0) return; if (var$12 >= 0 && var$13 < 0) { $var3 = $var3.$array.data[var$12]; $ptr = 5; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); case 3: nms_RenderGlobal_playAuxSFX($var3, $par2ItemStack, $var6, $var4, $var5, var$11, var$10); if ($rt_suspending()) { break main; } var$12 = var$12 + 1 | 0; $var3 = $par1EntityPlayer.$worldAccesses; var$13 = $rt_compare(var$12, $var3.$size0); if (var$13 >= 0) return; if (var$12 >= 0 && var$13 < 0) { $var3 = $var3.$array.data[var$12]; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); case 4: nms_RenderGlobal_playAuxSFX($var3, $par2ItemStack, $var6, $var4, $var5, var$10, var$11); if ($rt_suspending()) { break main; } var$12 = var$12 + 1 | 0; $var3 = $par1EntityPlayer.$worldAccesses; var$13 = $rt_compare(var$12, $var3.$size0); if (var$13 >= 0) return; if (var$12 >= 0 && var$13 < 0) { $var3 = $var3.$array.data[var$12]; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); case 5: nms_RenderGlobal_playAuxSFX($var3, $par2ItemStack, $var6, $var4, $var5, var$10, var$11); if ($rt_suspending()) { break main; } var$12 = var$12 + 1 | 0; $var3 = $par1EntityPlayer.$worldAccesses; var$13 = $rt_compare(var$12, $var3.$size0); if (var$13 >= 0) return; if (var$12 >= 0 && var$13 < 0) { $var3 = $var3.$array.data[var$12]; continue main; } $par1EntityPlayer = new jl_IndexOutOfBoundsException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1EntityPlayer); $rt_throw($par1EntityPlayer); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2ItemStack, $var3, $var6, $var4, $var5, var$7, var$8, var$9, var$10, var$11, var$12, var$13, $ptr); }; function nms_ContainerHorseInventorySlotSaddle() { nms_Slot.call(this); this.$field_111239_a = null; } let nms_ContainerHorseInventorySlotSaddle_isItemValid = ($this, $par1ItemStack) => { let var$2; var$2 = $par1ItemStack.$itemID; nms_Item_$callClinit(); return var$2 == nms_Item_saddle.$itemID0 && !($this.$inventory0.$getStackInSlot($this.$slotIndex) === null ? 0 : 1) ? 1 : 0; }; function nms_ContainerHorseInventorySlotArmor() { let a = this; nms_Slot.call(a); a.$theHorse = null; a.$field_111240_b = null; } let nms_ContainerHorseInventorySlotArmor_isItemValid = ($this, $par1ItemStack) => { let var$2, var$3, var$4, var$5, var$6, var$7; var$2 = $this.$theHorse.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$3 = jl_Integer_integerCache.data[147]; if (var$3 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$4 = var$3.$value0; var$5 = var$2.$elementData.data; var$2 = var$5[var$4 & (var$5.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$4) { var$6 = var$2.$key; if (var$3 !== var$6 && !jl_Integer_equals(var$3, var$6) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$7 = (var$2 === null ? null : var$2.$value1).$watchedObject.$value2 ? 0 : 1; a: { if (var$7) { var$7 = $par1ItemStack.$itemID; nms_Item_$callClinit(); if (var$7 != nms_Item_horseArmorIron.$itemID0 && var$7 != nms_Item_horseArmorGold.$itemID0 && var$7 != nms_Item_horseArmorDiamond.$itemID0 ? 0 : 1) { var$7 = 1; break a; } } var$7 = 0; } return var$7; }, nms_ContainerHorseInventorySlotArmor_func_111238_b = $this => { let var$1, var$2, var$3, var$4, var$5; var$1 = $this.$theHorse.$dataWatcher.$watchedObjects; jl_Integer_ensureIntegerCache(); var$2 = jl_Integer_integerCache.data[147]; if (var$2 === null) { var$1 = var$1.$elementData.data[0]; while (var$1 !== null && var$1.$key !== null) { var$1 = var$1.$next3; } } else { var$3 = var$2.$value0; var$4 = var$1.$elementData.data; var$1 = var$4[var$3 & (var$4.length - 1 | 0)]; while (var$1 !== null) { if (var$1.$origKeyHash == var$3) { var$5 = var$1.$key; if (var$2 !== var$5 && !jl_Integer_equals(var$2, var$5) ? 0 : 1) break; } var$1 = var$1.$next3; } } return (var$1 === null ? null : var$1.$value1).$watchedObject.$value2 ? 0 : 1; }; function nms_SlotMerchantResult() { let a = this; nms_Slot.call(a); a.$theMerchantInventory = null; a.$thePlayer5 = null; a.$field_75231_g = 0; a.$theMerchant2 = null; } let nms_SlotMerchantResult_isItemValid = ($this, $par1ItemStack) => { return 0; }, nms_SlotMerchantResult_decrStackSize = ($this, $par1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$inventory0.$getStackInSlot($this.$slotIndex) === null ? 0 : 1) { var$2 = $this.$field_75231_g; var$3 = ($this.$inventory0.$getStackInSlot($this.$slotIndex)).$stackSize; if ($par1 < var$3) var$3 = $par1; $this.$field_75231_g = var$2 + var$3 | 0; } var$4 = $this.$inventory0; var$2 = $this.$slotIndex; $ptr = 1; case 1: $tmp = var$4.$decrStackSize(var$2, $par1); if ($rt_suspending()) { break main; } var$4 = $tmp; return var$4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, $ptr); }, nms_SlotMerchantResult_onCrafting = ($this, $par1ItemStack, $par2) => { let var$3, var$4; $par2 = $this.$field_75231_g + $par2 | 0; $this.$field_75231_g = $par2; var$3 = $this.$thePlayer5; var$4 = var$3.$worldObj; nms_StatList_$callClinit(); var$3.$addStat(nms_StatList_objectCraftStats.data[$par1ItemStack.$itemID], $par2); nms_Item_$callClinit(); nms_Item_itemsList.data[$par1ItemStack.$itemID].$onCreated($par1ItemStack, var$4, var$3); $this.$field_75231_g = 0; }, nms_SlotMerchantResult_onPickupFromSlot = ($this, $par1EntityPlayer, $par2ItemStack) => { let $var4, var$4, $var3, var$6, $var5; $par1EntityPlayer = $this.$thePlayer5; $var4 = $par1EntityPlayer.$worldObj; var$4 = $this.$field_75231_g; nms_StatList_$callClinit(); $par1EntityPlayer.$addStat(nms_StatList_objectCraftStats.data[$par2ItemStack.$itemID], var$4); nms_Item_$callClinit(); nms_Item_itemsList.data[$par2ItemStack.$itemID].$onCreated($par2ItemStack, $var4, $par1EntityPlayer); $this.$field_75231_g = 0; $par1EntityPlayer = $this.$theMerchantInventory; $var3 = $par1EntityPlayer.$currentRecipe; if ($var3 !== null) { var$6 = $par1EntityPlayer.$theInventory.data; $var4 = var$6[0]; $var5 = var$6[1]; if (!(!nms_SlotMerchantResult_func_75230_a($this, $var3, $var4, $var5) && !nms_SlotMerchantResult_func_75230_a($this, $var3, $var5, $var4))) { $this.$theMerchant2.$useRecipe($var3); if ($var4 !== null && $var4.$stackSize <= 0) $var4 = null; if ($var5 !== null && $var5.$stackSize <= 0) $var5 = null; $par1EntityPlayer = $this.$theMerchantInventory; $par1EntityPlayer.$theInventory.data[0] = $var4; if ($var4 !== null && $var4.$stackSize > 64) $var4.$stackSize = 64; nms_InventoryMerchant_resetRecipeAndSlots($par1EntityPlayer); $par1EntityPlayer = $this.$theMerchantInventory; $par1EntityPlayer.$theInventory.data[1] = $var5; if ($var5 !== null && $var5.$stackSize > 64) $var5.$stackSize = 64; nms_InventoryMerchant_resetRecipeAndSlots($par1EntityPlayer); } } }, nms_SlotMerchantResult_func_75230_a = ($this, $par1MerchantRecipe, $par2ItemStack, $par3ItemStack) => { let $var4, $var5; $var4 = $par1MerchantRecipe.$itemToBuy; $var5 = $par1MerchantRecipe.$secondItemToBuy; if ($par2ItemStack !== null && $par2ItemStack.$itemID == $var4.$itemID) { if ($var5 !== null && $par3ItemStack !== null && $var5.$itemID == $par3ItemStack.$itemID) { $par2ItemStack.$stackSize = $par2ItemStack.$stackSize - $var4.$stackSize | 0; $par3ItemStack.$stackSize = $par3ItemStack.$stackSize - $var5.$stackSize | 0; return 1; } if ($var5 === null && $par3ItemStack === null) { $par2ItemStack.$stackSize = $par2ItemStack.$stackSize - $var4.$stackSize | 0; return 1; } } return 0; }; function nms_SlotBrewingStandPotion() { nms_Slot.call(this); this.$player0 = null; } let nms_SlotBrewingStandPotion_isItemValid = ($this, $par1ItemStack) => { let var$2; a: { b: { if ($par1ItemStack !== null) { var$2 = $par1ItemStack.$itemID; nms_Item_$callClinit(); if (var$2 == nms_Item_potion.$itemID0) break b; if (var$2 == nms_Item_glassBottle.$itemID0) break b; } var$2 = 0; break a; } var$2 = 1; } return var$2; }, nms_SlotBrewingStandPotion_getSlotStackLimit = $this => { return 1; }, nms_SlotBrewingStandPotion_onPickupFromSlot = ($this, $par1EntityPlayer, $par2ItemStack) => { let var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$par2ItemStack = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $par2ItemStack.$itemID; nms_Item_$callClinit(); if (var$3 == nms_Item_potion.$itemID0 && $par2ItemStack.$itemDamage > 0) { $par1EntityPlayer = $this.$player0; nms_AchievementList_$callClinit(); $par1EntityPlayer.$addStat(nms_AchievementList_potion, 1); } $par1EntityPlayer = $this.$inventory0; $ptr = 1; case 1: $par1EntityPlayer.$onInventoryChanged(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2ItemStack, var$3, $ptr); }; function nms_SlotBrewingStandIngredient() { nms_Slot.call(this); this.$brewingStand0 = null; } let nms_SlotBrewingStandIngredient_isItemValid = ($this, $par1ItemStack) => { let var$2; if ($par1ItemStack === null) var$2 = 0; else { nms_Item_$callClinit(); var$2 = nms_Item_itemsList.data[$par1ItemStack.$itemID].$potionEffect === null ? 0 : 1; } return var$2; }, nms_SlotBrewingStandIngredient_getSlotStackLimit = $this => { return 64; }; function nms_SlotEnchantmentTable() { nms_InventoryBasic.call(this); this.$container = null; } let nms_SlotEnchantmentTable_getInventoryStackLimit = $this => { return 1; }, nms_SlotEnchantmentTable_onInventoryChanged = $this => { let var$1, var$2, var$3; a: { b: { if ($this.$field_70480_d !== null) { var$1 = 0; while (true) { var$2 = $this.$field_70480_d; var$3 = $rt_compare(var$1, var$2.$size0); if (var$3 >= 0) break b; if (var$1 < 0) break a; if (var$3 >= 0) break a; nms_EntityHorse_onInventoryChanged(var$2.$array.data[var$1], $this); var$1 = var$1 + 1 | 0; } } } nms_ContainerEnchantment_onCraftMatrixChanged($this.$container, $this); return; } var$2 = new jl_IndexOutOfBoundsException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); }; function nms_SlotEnchantment() { nms_Slot.call(this); this.$container0 = null; } let nms_SlotEnchantment_isItemValid = ($this, $par1ItemStack) => { return 1; }; function nms_SlotFurnace() { let a = this; nms_Slot.call(a); a.$thePlayer2 = null; a.$field_75228_b = 0; } let nms_SlotFurnace_isItemValid = ($this, $par1ItemStack) => { return 0; }, nms_SlotFurnace_decrStackSize = ($this, $par1) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($this.$inventory0.$getStackInSlot($this.$slotIndex) === null ? 0 : 1) { var$2 = $this.$field_75228_b; var$3 = ($this.$inventory0.$getStackInSlot($this.$slotIndex)).$stackSize; if ($par1 < var$3) var$3 = $par1; $this.$field_75228_b = var$2 + var$3 | 0; } var$4 = $this.$inventory0; var$2 = $this.$slotIndex; $ptr = 1; case 1: $tmp = var$4.$decrStackSize(var$2, $par1); if ($rt_suspending()) { break main; } var$4 = $tmp; return var$4; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, var$2, var$3, var$4, $ptr); }, nms_SlotFurnace_onPickupFromSlot = ($this, $par1EntityPlayer, $par2ItemStack) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2ItemStack = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_SlotFurnace_onCrafting($this, $par2ItemStack); if ($rt_suspending()) { break main; } $par1EntityPlayer = $this.$inventory0; $ptr = 2; case 2: $par1EntityPlayer.$onInventoryChanged(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, $par2ItemStack, $ptr); }, nms_SlotFurnace_onCrafting0 = ($this, $par1ItemStack, $par2) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2 = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$field_75228_b = $this.$field_75228_b + $par2 | 0; $ptr = 1; case 1: nms_SlotFurnace_onCrafting($this, $par1ItemStack); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, $par2, $ptr); }, nms_SlotFurnace_onCrafting = ($this, $par1ItemStack) => { let var$2, var$3, $var4, $var4_0, var$6, var$7, var$8, var$9, var$10, $var3, var$12, var$13, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var3 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$var4_0 = $thread.pop();$var4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1ItemStack = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$thePlayer2; var$3 = var$2.$worldObj; $var4 = $this.$field_75228_b; nms_StatList_$callClinit(); var$2.$addStat(nms_StatList_objectCraftStats.data[$par1ItemStack.$itemID], $var4); nms_Item_$callClinit(); nms_Item_itemsList.data[$par1ItemStack.$itemID].$onCreated($par1ItemStack, var$3, var$2); if (!$this.$thePlayer2.$worldObj.$isRemote) { $var4_0 = $this.$field_75228_b; nms_FurnaceRecipes_$callClinit(); var$6 = nms_FurnaceRecipes_smeltingBase; $var4 = $par1ItemStack.$itemID; var$2 = var$6.$experienceList; var$7 = $rt_compare($var4, (-128)); if (var$7 >= 0 && $var4 <= 127) { jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { var$8 = new jl_Integer; var$8.$value0 = $var4; } if (var$8 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$9 = var$8.$value0; var$10 = var$2.$elementData.data; var$2 = var$10[var$9 & (var$10.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$9) { var$3 = var$2.$key; if (var$8 !== var$3 && !(var$8 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$9 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } if (!(var$2 === null ? 0 : 1)) $var3 = 0.0; else { var$2 = var$6.$experienceList; if (var$7 >= 0 && $var4 <= 127) { jl_Integer_ensureIntegerCache(); var$8 = jl_Integer_integerCache.data[$var4 + 128 | 0]; } else { var$8 = new jl_Integer; var$8.$value0 = $var4; } if (var$8 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$12 = var$8.$value0; var$10 = var$2.$elementData.data; var$2 = var$10[var$12 & (var$10.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$12) { var$3 = var$2.$key; if (var$8 !== var$3 && !(var$8 === var$3 ? 1 : var$3 instanceof jl_Integer && var$3.$value0 == var$12 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } $var3 = (var$2 === null ? null : var$2.$value1).$value3; } if ($var3 === 0.0) $var4_0 = 0; else if ($var3 < 1.0) { var$13 = $var4_0 * $var3; var$14 = var$13 | 0; $var4 = $rt_compare(var$13, var$14); $var4_0 = $var4 >= 0 ? var$14 : var$14 - 1 | 0; if ($var4 > 0) var$14 = var$14 + 1 | 0; if ($var4_0 < var$14 && jl_Math_randomImpl() < var$13 - $var4_0) $var4_0 = $var4_0 + 1 | 0; } if ($var4_0 > 0) { $var4 = nms_EntityXPOrb_getXPSplit($var4_0); $var4_0 = $var4_0 - $var4 | 0; var$2 = $this.$thePlayer2; var$8 = var$2.$worldObj; var$3 = new nms_EntityXPOrb; var$15 = var$2.$posX; var$16 = var$2.$posY + 0.5; var$17 = var$2.$posZ + 0.5; $ptr = 1; continue main; } } $this.$field_75228_b = 0; if ($par1ItemStack.$itemID == nms_Item_ingotIron.$itemID0) { var$2 = $this.$thePlayer2; nms_AchievementList_$callClinit(); var$2.$addStat(nms_AchievementList_acquireIron, 1); } if ($par1ItemStack.$itemID == nms_Item_fishCooked.$itemID0) { $par1ItemStack = $this.$thePlayer2; nms_AchievementList_$callClinit(); $par1ItemStack.$addStat(nms_AchievementList_cookFish, 1); } return; case 1: nms_EntityXPOrb__init_(var$3, var$8, var$15, var$16, var$17, $var4); if ($rt_suspending()) { break main; } $var4 = nms_World_spawnEntityInWorld(var$8, var$3); var$2 = var$8.$entityList; ju_HashMap_putImpl(var$2.$backingMap, var$3, var$2); if (!$var4) { var$2 = var$8.$entitySpawnQueue; ju_HashMap_putImpl(var$2.$backingMap, var$3, var$2); } if ($var4_0 <= 0) { $this.$field_75228_b = 0; if ($par1ItemStack.$itemID == nms_Item_ingotIron.$itemID0) { var$2 = $this.$thePlayer2; nms_AchievementList_$callClinit(); var$2.$addStat(nms_AchievementList_acquireIron, 1); } if ($par1ItemStack.$itemID == nms_Item_fishCooked.$itemID0) { $par1ItemStack = $this.$thePlayer2; nms_AchievementList_$callClinit(); $par1ItemStack.$addStat(nms_AchievementList_cookFish, 1); } return; } $var4 = nms_EntityXPOrb_getXPSplit($var4_0); $var4_0 = $var4_0 - $var4 | 0; var$2 = $this.$thePlayer2; var$8 = var$2.$worldObj; var$3 = new nms_EntityXPOrb; var$15 = var$2.$posX; var$16 = var$2.$posY + 0.5; var$17 = var$2.$posZ + 0.5; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ItemStack, var$2, var$3, $var4, $var4_0, var$6, var$7, var$8, var$9, var$10, $var3, var$12, var$13, var$14, var$15, var$16, var$17, $ptr); }; function nlea_EaglerAdapterImpl2$RelayQueryImpl$1() { jl_Object.call(this); this.$this$09 = null; } let nlea_EaglerAdapterImpl2$RelayQueryImpl$1_handleEvent = ($this, $evt) => { let $e, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10, $$je; a: { try { $this.$this$09.$connectionPingStart = nlea_EaglerAdapterImpl2_steadyTimeMillis(); $this.$this$09.$sock0.send((nlesrp_IPacket_writePacket(nlesrp_IPacket00Handshake__init_0(3, 1, $rt_s(18)))).data.buffer); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; var$3 = new ji_ByteArrayOutputStream; var$3.$buf = $rt_createByteArray(32); $evt.$out0 = var$3; var$3 = new jl_StringBuilder; jl_Object__init_(var$3); var$3.$buffer = $rt_createCharArray(16); $evt.$sb = var$3; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } var$4 = $e.$getMessage(); var$5 = $e.constructor; if (var$5 === null) var$3 = null; else { var$3 = var$5.classObject; if (var$3 === null) { var$3 = new jl_Class; var$3.$platformClass = var$5; var$5.classObject = var$3; } } if (var$3.$name1 === null) var$3.$name1 = $rt_str(var$3.$platformClass.$meta.name); var$3 = var$3.$name1; if (var$4 === null) $evt = $rt_s(18); else { $e = new jl_StringBuilder; $e.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($e, $e.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert($e, $e.$length0, var$4); $evt = new jl_String; var$6 = $e.$buffer; var$7 = var$6.data; var$8 = $e.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) $evt.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); else { $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } $e = new jl_StringBuilder; $e.$buffer = $rt_createCharArray(16); var$10 = $e.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert($e, var$10, var$3); jl_AbstractStringBuilder_insert($e, $e.$length0, $evt); $evt = new jl_String; var$6 = $e.$buffer; var$7 = var$6.data; var$8 = $e.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { $evt.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $rt_putStderr($rt_ustr($evt)); $rt_putStderr("\n"); $this.$this$09.$sock0.close(); $this.$this$09.$failed0 = 1; } else { $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } }, nlea_EaglerAdapterImpl2$RelayQueryImpl$1_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2$RelayQueryImpl$1_handleEvent(var$0, var$1); }; function nlea_EaglerAdapterImpl2$RelayQueryImpl$2() { let a = this; jl_Object.call(a); a.$val$uri2 = null; a.$this$03 = null; } let nlea_EaglerAdapterImpl2$RelayQueryImpl$2_handleEvent = ($this, $evt) => { let $arr, var$3, $millis, $pkt, $ipkt, $e, $s, var$9, var$10, var$11, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$s = $thread.pop();$e = $thread.pop();$ipkt = $thread.pop();$pkt = $thread.pop();$millis = $thread.pop();var$3 = $thread.pop();$arr = $thread.pop();$evt = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { if ($evt.data !== null && !(typeof $evt.data === "string" ? 1 : 0)) { $this.$this$03.$hasRecievedAnyData = 1; $arr = nleat_TeaVMUtils_wrapByteArrayBuffer($evt.data); var$3 = $arr.data; if (var$3.length == 2 && var$3[0] == (-4)) { $millis = Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()); if (var$3[1] && var$3[1] != 1) { if (var$3[1] != 2) { $evt = $this.$this$03; $evt.$rateLimitStatus0 = nlea_EaglerAdapterImpl2$RateLimit_LOCKED; $pkt = nlea_EaglerAdapterImpl2_relayQueryBlocked; $evt = $evt.$uri1; $ipkt = new jl_Long; $ipkt.$value7 = $millis; ju_HashMap_putImpl($pkt, $evt, $ipkt); } else { $evt = $this.$this$03; $evt.$rateLimitStatus0 = nlea_EaglerAdapterImpl2$RateLimit_NOW_LOCKED; $pkt = nlea_EaglerAdapterImpl2_relayQueryLimited; $evt = $evt.$uri1; $ipkt = new jl_Long; $ipkt.$value7 = $millis; ju_HashMap_putImpl($pkt, $evt, $ipkt); $evt = nlea_EaglerAdapterImpl2_relayQueryBlocked; $pkt = $this.$this$03.$uri1; $ipkt = new jl_Long; $ipkt.$value7 = $millis; ju_HashMap_putImpl($evt, $pkt, $ipkt); } } else { $evt = $this.$this$03; $evt.$rateLimitStatus0 = nlea_EaglerAdapterImpl2$RateLimit_BLOCKED; $pkt = nlea_EaglerAdapterImpl2_relayQueryLimited; $evt = $evt.$uri1; $ipkt = new jl_Long; $ipkt.$value7 = $millis; ju_HashMap_putImpl($pkt, $evt, $ipkt); } $evt = $this.$this$03; $evt.$failed0 = 1; $evt.$open = 0; $evt.$sock0.close(); } else if ($this.$this$03.$open) { try { $pkt = ji_DataInputStream__init_(nle_EaglerInputStream__init_($arr)); $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); $evt.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_Object__init_($pkt); $pkt.$buffer = $rt_createCharArray(16); $evt.$sb = $pkt; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } $s = $e.$getMessage(); $evt = $e.constructor; if ($evt === null) $ipkt = null; else { $ipkt = $evt.classObject; if ($ipkt === null) { $ipkt = new jl_Class; $ipkt.$platformClass = $evt; $evt.classObject = $ipkt; } } if ($ipkt.$name1 === null) $ipkt.$name1 = $rt_str($ipkt.$platformClass.$meta.name); $ipkt = $ipkt.$name1; if ($s === null) $evt = $rt_s(18); else { $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $s); $evt = new jl_String; $arr = $pkt.$buffer; var$3 = $arr.data; var$9 = $pkt.$length0; var$10 = var$3.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) $evt.$nativeString = $rt_charArrayToString($arr.data, 0, var$9); else { $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); var$11 = $pkt.$length0; if ($ipkt === null) $ipkt = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, var$11, $ipkt); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $evt); $ipkt = new jl_String; $arr = $pkt.$buffer; var$3 = $arr.data; var$9 = $pkt.$length0; var$10 = var$3.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $ipkt.$nativeString = $rt_charArrayToString($arr.data, 0, var$9); $evt = new jl_StringBuilder; $evt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($evt, $evt.$length0, $rt_s(3946)); jl_AbstractStringBuilder_insert($evt, $evt.$length0, $ipkt); $pkt = new jl_String; $arr = $evt.$buffer; var$3 = $arr.data; var$9 = $evt.$length0; var$10 = var$3.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString($arr.data, 0, var$9); $rt_putStderr($rt_ustr($pkt)); $rt_putStderr("\n"); if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); jl_Object__init_($evt); $evt.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pkt, 16); $evt.$sb = $pkt; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } jl_Throwable_printStackTrace($e, jl_System_errCache); $evt = $this.$this$03; $evt.$open = 0; $evt.$failed0 = 1; $evt.$sock0.close(); break a; } $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($evt); $rt_throw($evt); } $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } } return; case 1: a: { try { $tmp = nlesrp_IPacket_readPacket($pkt); if ($rt_suspending()) { break main; } $pkt = $tmp; if ($pkt instanceof nlesrp_IPacket69Pong) { $ipkt = $pkt; $evt = $this.$this$03; $evt.$versError = nle_RelayQuery$VersionMismatch_COMPATIBLE; if (Long_eq($evt.$connectionPingTimer, Long_fromInt(-1))) $evt.$connectionPingTimer = Long_sub(nlea_EaglerAdapterImpl2_steadyTimeMillis(), $this.$this$03.$connectionPingStart); $evt = $this.$this$03; $evt.$vers = $ipkt.$protcolVersion; $evt.$comment2 = $ipkt.$comment3; $evt.$brand = $ipkt.$brand0; $evt.$open = 0; $evt.$failed0 = 0; $evt.$sock0.close(); } else { if (!($pkt instanceof nlesrp_IPacketFFErrorCode)) { $evt = new ji_IOException; $pkt = jl_Class_getSimpleName(jl_Object_getClass($pkt)); $ipkt = jl_StringBuilder__init_(); jl_StringBuilder_append1(jl_StringBuilder_append(jl_StringBuilder_append($ipkt, $rt_s(3819)), $pkt), 39); ji_IOException__init_($evt, jl_StringBuilder_toString($ipkt)); $rt_throw($evt); } $ipkt = $pkt; if ($ipkt.$code == 1) { $s = jl_String_toLowerCase($ipkt.$desc0); if (!jl_String_contains($s, $rt_s(3820)) && !jl_String_contains($s, $rt_s(3821))) { if (!jl_String_contains($s, $rt_s(3822)) && !jl_String_contains($s, $rt_s(3823)) && !jl_String_contains($s, $rt_s(3824)) && !jl_String_contains($s, $rt_s(3825))) $this.$this$03.$versError = nle_RelayQuery$VersionMismatch_UNKNOWN; else $this.$this$03.$versError = nle_RelayQuery$VersionMismatch_RELAY_OUTDATED; } else $this.$this$03.$versError = nle_RelayQuery$VersionMismatch_CLIENT_OUTDATED; } $evt = jl_System_err(); $pkt = $this.$val$uri2; var$11 = $ipkt.$code; $ipkt = $ipkt.$desc0; $s = jl_StringBuilder__init_(); jl_StringBuilder_append(jl_StringBuilder_append(jl_StringBuilder_append0(jl_StringBuilder_append(jl_StringBuilder_append($s, $pkt), $rt_s(3826)), var$11), $rt_s(107)), $ipkt); otcic_JsConsolePrintStream_println($evt, jl_StringBuilder_toString($s)); $evt = $this.$this$03; $evt.$open = 0; $evt.$failed0 = 1; $evt.$sock0.close(); } break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $e = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); $evt.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_Object__init_($pkt); $pkt.$buffer = $rt_createCharArray(16); $evt.$sb = $pkt; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } $s = $e.$getMessage(); $evt = $e.constructor; if ($evt === null) $ipkt = null; else { $ipkt = $evt.classObject; if ($ipkt === null) { $ipkt = new jl_Class; $ipkt.$platformClass = $evt; $evt.classObject = $ipkt; } } if ($ipkt.$name1 === null) $ipkt.$name1 = $rt_str($ipkt.$platformClass.$meta.name); $ipkt = $ipkt.$name1; if ($s === null) $evt = $rt_s(18); else { $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $rt_s(107)); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $s); $evt = new jl_String; $arr = $pkt.$buffer; var$3 = $arr.data; var$9 = $pkt.$length0; var$10 = var$3.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) $evt.$nativeString = $rt_charArrayToString($arr.data, 0, var$9); else { $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } } $pkt = new jl_StringBuilder; $pkt.$buffer = $rt_createCharArray(16); var$11 = $pkt.$length0; if ($ipkt === null) $ipkt = $rt_s(1); jl_AbstractStringBuilder_insert($pkt, var$11, $ipkt); jl_AbstractStringBuilder_insert($pkt, $pkt.$length0, $evt); $ipkt = new jl_String; $arr = $pkt.$buffer; var$3 = $arr.data; var$9 = $pkt.$length0; var$10 = var$3.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $ipkt.$nativeString = $rt_charArrayToString($arr.data, 0, var$9); $evt = new jl_StringBuilder; $evt.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($evt, $evt.$length0, $rt_s(3946)); jl_AbstractStringBuilder_insert($evt, $evt.$length0, $ipkt); $pkt = new jl_String; $arr = $evt.$buffer; var$3 = $arr.data; var$9 = $evt.$length0; var$10 = var$3.length; if (var$9 >= 0 && var$9 <= (var$10 - 0 | 0)) { $pkt.$nativeString = $rt_charArrayToString($arr.data, 0, var$9); $rt_putStderr($rt_ustr($pkt)); $rt_putStderr("\n"); if (jl_System_errCache === null) { $evt = new otcic_JSStderrPrintStream; $pkt = new ji_ByteArrayOutputStream; $pkt.$buf = $rt_createByteArray(32); jl_Object__init_($evt); $evt.$out0 = $pkt; $pkt = new jl_StringBuilder; jl_AbstractStringBuilder__init_($pkt, 16); $evt.$sb = $pkt; $evt.$buffer0 = $rt_createCharArray(32); $evt.$autoFlush = 0; $evt.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $evt; } jl_Throwable_printStackTrace($e, jl_System_errCache); $evt = $this.$this$03; $evt.$open = 0; $evt.$failed0 = 1; $evt.$sock0.close(); break a; } $evt = new jl_IndexOutOfBoundsException; $evt.$suppressionEnabled = 1; $evt.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($evt); $rt_throw($evt); } $evt = new jl_IndexOutOfBoundsException; jl_Throwable__init_($evt); $rt_throw($evt); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $evt, $arr, var$3, $millis, $pkt, $ipkt, $e, $s, var$9, var$10, var$11, $ptr); }, nlea_EaglerAdapterImpl2$RelayQueryImpl$2_handleEvent$exported$0 = (var$0, var$1) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();var$0 = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nlea_EaglerAdapterImpl2$RelayQueryImpl$2_handleEvent(var$0, var$1); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push(var$0, var$1, $ptr); }; function nlea_EaglerAdapterImpl2$RelayQueryImpl$3() { let a = this; jl_Object.call(a); a.$val$uri = null; a.$this$011 = null; } let nlea_EaglerAdapterImpl2$RelayQueryImpl$3_handleEvent = ($this, $evt) => { let $l, var$3, var$4, var$5, var$6; $evt = $this.$this$011; $evt.$open = 0; if (!$evt.$hasRecievedAnyData) { $evt.$failed0 = 1; nlea_EaglerAdapterImpl2_$callClinit(); $evt = nlea_EaglerAdapterImpl2_relayQueryBlocked; $l = $this.$val$uri; if ($l === null) { $evt = $evt.$elementData.data[0]; while ($evt !== null && $evt.$key !== null) { $evt = $evt.$next3; } } else { a: { if (!$l.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $l.$nativeString.length) break a; $l.$hashCode1 = (31 * $l.$hashCode1 | 0) + $l.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $l.$hashCode1; var$5 = $evt.$elementData.data; $evt = var$5[var$4 & (var$5.length - 1 | 0)]; while ($evt !== null) { if ($evt.$origKeyHash == var$4) { b: { var$6 = $evt.$key; if ($l !== var$6) { if ($l === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $l.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break b; } } var$3 = 1; } if (var$3) break; } $evt = $evt.$next3; } } $l = $evt === null ? null : $evt.$value1; if ($l !== null && Long_lt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $l.$value7), Long_fromInt(400000))) { $this.$this$011.$rateLimitStatus0 = nlea_EaglerAdapterImpl2$RateLimit_LOCKED; return; } $evt = nlea_EaglerAdapterImpl2_relayQueryLimited; $l = $this.$val$uri; if ($l === null) { $evt = $evt.$elementData.data[0]; while ($evt !== null && $evt.$key !== null) { $evt = $evt.$next3; } } else { c: { if (!$l.$hashCode1) { var$3 = 0; while (true) { if (var$3 >= $l.$nativeString.length) break c; $l.$hashCode1 = (31 * $l.$hashCode1 | 0) + $l.$nativeString.charCodeAt(var$3) | 0; var$3 = var$3 + 1 | 0; } } } var$4 = $l.$hashCode1; var$5 = $evt.$elementData.data; $evt = var$5[var$4 & (var$5.length - 1 | 0)]; while ($evt !== null) { if ($evt.$origKeyHash == var$4) { d: { var$6 = $evt.$key; if ($l !== var$6) { if ($l === var$6) var$3 = 1; else if (!(var$6 instanceof jl_String)) var$3 = 0; else { var$6 = var$6; var$3 = $l.$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$3) { var$3 = 0; break d; } } var$3 = 1; } if (var$3) break; } $evt = $evt.$next3; } } $evt = $evt === null ? null : $evt.$value1; if ($evt !== null && Long_lt(Long_sub(Long_fromNumber(nlea_EaglerAdapterImpl2_steadyTimeFunc()), $evt.$value7), Long_fromInt(900000))) { $this.$this$011.$rateLimitStatus0 = nlea_EaglerAdapterImpl2$RateLimit_BLOCKED; return; } } }, nlea_EaglerAdapterImpl2$RelayQueryImpl$3_handleEvent$exported$0 = (var$0, var$1) => { nlea_EaglerAdapterImpl2$RelayQueryImpl$3_handleEvent(var$0, var$1); }; function nleav_VirtualFilesystem$AsyncHandlers$15() { jl_Object.call(this); this.$val$cb17 = null; } let nleav_VirtualFilesystem$AsyncHandlers$15_handleEvent$exported$0 = var$0 => { let var$1, var$2; var$1 = var$0.$val$cb17; var$2 = nleav_BooleanResult_TRUE; var$1.$realAsyncCallback.$complete(var$2); }; function nleav_VirtualFilesystem$AsyncHandlers$16() { jl_Object.call(this); this.$val$cb18 = null; } let nleav_VirtualFilesystem$AsyncHandlers$16_handleEvent$exported$0 = var$0 => { let var$1, var$2; var$1 = var$0.$val$cb18; var$2 = nleav_BooleanResult_FALSE; var$1.$realAsyncCallback.$complete(var$2); }; function cjj_DeflaterOutputStream() { let a = this; ji_FilterOutputStream.call(a); a.$deflater = null; a.$buffer3 = null; a.$closed2 = 0; a.$syncFlush = 0; a.$buf10 = null; a.$mydeflater = 0; a.$close_out = 0; } let cjj_DeflaterOutputStream__init_ = ($this, $out, $deflater, $size, $close_out) => { $this.$out0 = $out; $this.$closed2 = 0; $this.$syncFlush = 0; $this.$buf10 = $rt_createByteArray(1); $this.$mydeflater = 0; $this.$close_out = 1; if ($out !== null && $deflater !== null) { if ($size > 0) { $this.$deflater = $deflater; $this.$buffer3 = $rt_createByteArray($size); $this.$close_out = $close_out; return; } $deflater = new jl_IllegalArgumentException; $deflater.$suppressionEnabled = 1; $deflater.$writableStackTrace = 1; $deflater.$message = $rt_s(634); $rt_throw($deflater); } $out = new jl_NullPointerException; $out.$suppressionEnabled = 1; $out.$writableStackTrace = 1; $rt_throw($out); }, cjj_DeflaterOutputStream__init_0 = (var_0, var_1, var_2, var_3) => { let var_4 = new cjj_DeflaterOutputStream(); cjj_DeflaterOutputStream__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, cjj_DeflaterOutputStream_write0 = ($this, $b) => { let var$2; var$2 = $this.$buf10; var$2.data[0] = ($b & 255) << 24 >> 24; cjj_DeflaterOutputStream_write($this, var$2, 0, 1); }, cjj_DeflaterOutputStream_write = ($this, $b, $off, $len) => { let var$4, $flush, $err, var$7; var$4 = $this.$deflater; if (var$4.$finished0) { var$4 = new ji_IOException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; var$4.$message = $rt_s(3947); $rt_throw(var$4); } $flush = $off >= 0 ? 0 : 1; $err = $len >= 0 ? 0 : 1; var$7 = $b.data; if ($flush | $err | (($off + $len | 0) <= var$7.length ? 0 : 1)) { var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; $rt_throw(var$4); } if (!$len) return; $flush = !$this.$syncFlush ? 0 : 2; cjj_ZStream_setInput(var$4, $b, $off, $len, 1); a: { while (true) { if ($this.$deflater.$avail_in <= 0) break a; if (cjj_DeflaterOutputStream_deflate($this, $flush) == 1) break; } } }, cjj_DeflaterOutputStream_close = $this => { let var$1, var$2; if (!$this.$closed2) { while (true) { var$1 = $this.$deflater; if (var$1.$finished0) break; cjj_DeflaterOutputStream_deflate($this, 4); } if ($this.$mydeflater) { var$1.$finished0 = 1; var$2 = var$1.$dstate; if (var$2 !== null) { cjj_Deflate_deflateEnd(var$2); var$1.$dstate = null; var$1.$next_in = null; var$1.$next_out = null; var$1.$msg = null; } } if ($this.$close_out) $this.$out0.$close(); $this.$closed2 = 1; } }, cjj_DeflaterOutputStream_deflate = ($this, $flush) => { let var$2, var$3, $len, var$5, $err; var$2 = $this.$deflater; var$3 = $this.$buffer3; $len = var$3.data.length; var$2.$next_out = var$3; var$2.$next_out_index = 0; var$2.$avail_out = $len; var$5 = var$2.$dstate; if (var$5 === null) $err = (-2); else { $err = cjj_Deflate_deflate(var$5, $flush); if ($err == 1) var$2.$finished0 = 1; } a: { b: { switch ($err) { case -5: if ($this.$deflater.$avail_in > 0) break b; if ($flush == 4) break b; else break a; case 0: case 1: break; default: break b; } break a; } var$2 = new ji_IOException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; var$2.$message = $rt_s(3948); $rt_throw(var$2); } $len = $this.$deflater.$next_out_index; if ($len > 0) $this.$out0.$write4($this.$buffer3, 0, $len); return $err; }, cjj_DeflaterOutputStream_flush = $this => { let $err; a: { if ($this.$syncFlush && !$this.$deflater.$finished0) while (true) { $err = cjj_DeflaterOutputStream_deflate($this, 2); if ($this.$deflater.$next_out_index < $this.$buffer3.data.length) break; if ($err == 1) break a; } } $this.$out0.$flush(); }, cjj_GZIPOutputStream = $rt_classWithoutFields(cjj_DeflaterOutputStream); function cjj_Deflater() { cjj_ZStream.call(this); this.$finished0 = 0; } let cjj_Deflater__init_ = $this => { let var$1; var$1 = new cjj_Adler32; var$1.$s1 = Long_fromInt(1); var$1.$s2 = Long_ZERO; $this.$adler = var$1; $this.$finished0 = 0; }, cjj_Deflater__init_0 = () => { let var_0 = new cjj_Deflater(); cjj_Deflater__init_(var_0); return var_0; }; function cjj_Deflate() { let a = this; jl_Object.call(a); a.$strm = null; a.$status0 = 0; a.$pending_buf = null; a.$pending_buf_size = 0; a.$pending_out = 0; a.$pending = 0; a.$wrap3 = 0; a.$data_type = 0; a.$method = 0; a.$last_flush = 0; a.$w_size = 0; a.$w_bits = 0; a.$w_mask = 0; a.$window0 = null; a.$window_size = 0; a.$prev = null; a.$head2 = null; a.$ins_h = 0; a.$hash_size = 0; a.$hash_bits = 0; a.$hash_mask = 0; a.$hash_shift = 0; a.$block_start = 0; a.$match_length = 0; a.$prev_match = 0; a.$match_available = 0; a.$strstart = 0; a.$match_start = 0; a.$lookahead = 0; a.$prev_length = 0; a.$max_chain_length = 0; a.$max_lazy_match = 0; a.$level = 0; a.$strategy = 0; a.$good_match = 0; a.$nice_match = 0; a.$dyn_ltree = null; a.$dyn_dtree = null; a.$bl_tree = null; a.$l_desc = null; a.$d_desc = null; a.$bl_desc = null; a.$bl_count = null; a.$next_code = null; a.$heap = null; a.$heap_len = 0; a.$heap_max = 0; a.$depth0 = null; a.$l_buf = null; a.$lit_bufsize = 0; a.$last_lit = 0; a.$d_buf = 0; a.$opt_len = 0; a.$static_len = 0; a.$matches1 = 0; a.$last_eob_len = 0; a.$bi_buf = 0; a.$bi_valid = 0; a.$gheader0 = null; } let cjj_Deflate_config_table = null, cjj_Deflate_z_errmsg = null, cjj_Deflate__init_ = ($this, $strm) => { $this.$wrap3 = 1; $this.$l_desc = new cjj_Tree; $this.$d_desc = new cjj_Tree; $this.$bl_desc = new cjj_Tree; $this.$bl_count = $rt_createShortArray(16); $this.$next_code = $rt_createShortArray(16); $this.$heap = $rt_createIntArray(573); $this.$depth0 = $rt_createByteArray(573); $this.$gheader0 = null; $this.$strm = $strm; $this.$dyn_ltree = $rt_createShortArray(1146); $this.$dyn_dtree = $rt_createShortArray(122); $this.$bl_tree = $rt_createShortArray(78); }, cjj_Deflate__init_0 = var_0 => { let var_1 = new cjj_Deflate(); cjj_Deflate__init_(var_1, var_0); return var_1; }, cjj_Deflate_lm_init = $this => { let var$1, var$2, $i; $this.$window_size = 2 * $this.$w_size | 0; var$1 = $this.$head2.data; var$2 = $this.$hash_size - 1 | 0; var$1[var$2] = 0; $i = 0; while ($i < var$2) { var$1[$i] = 0; $i = $i + 1 | 0; } var$1 = cjj_Deflate_config_table.data; var$2 = $this.$level; $this.$max_lazy_match = var$1[var$2].$max_lazy; $this.$good_match = var$1[var$2].$good_length; $this.$nice_match = var$1[var$2].$nice_length; $this.$max_chain_length = var$1[var$2].$max_chain; $this.$strstart = 0; $this.$block_start = 0; $this.$lookahead = 0; $this.$prev_length = 2; $this.$match_length = 2; $this.$match_available = 0; $this.$ins_h = 0; }, cjj_Deflate_tr_init = $this => { let var$1; var$1 = $this.$l_desc; var$1.$dyn_tree = $this.$dyn_ltree; cjj_StaticTree_$callClinit(); var$1.$stat_desc = cjj_StaticTree_static_l_desc; var$1 = $this.$d_desc; var$1.$dyn_tree = $this.$dyn_dtree; var$1.$stat_desc = cjj_StaticTree_static_d_desc; var$1 = $this.$bl_desc; var$1.$dyn_tree = $this.$bl_tree; var$1.$stat_desc = cjj_StaticTree_static_bl_desc; $this.$bi_buf = 0; $this.$bi_valid = 0; $this.$last_eob_len = 8; cjj_Deflate_init_block($this); }, cjj_Deflate_init_block = $this => { let $i; $i = 0; while ($i < 286) { $this.$dyn_ltree.data[$i * 2 | 0] = 0; $i = $i + 1 | 0; } $i = 0; while ($i < 30) { $this.$dyn_dtree.data[$i * 2 | 0] = 0; $i = $i + 1 | 0; } $i = 0; while ($i < 19) { $this.$bl_tree.data[$i * 2 | 0] = 0; $i = $i + 1 | 0; } $this.$dyn_ltree.data[512] = 1; $this.$static_len = 0; $this.$opt_len = 0; $this.$matches1 = 0; $this.$last_lit = 0; }, cjj_Deflate_pqdownheap = ($this, $tree, $k) => { let $v, $j, var$5, var$6; $v = $this.$heap.data[$k]; $j = $k << 1; a: { while (true) { var$5 = $rt_compare($j, $this.$heap_len); if (var$5 > 0) break a; if (var$5 >= 0) var$5 = $j; else { var$6 = $this.$heap.data; var$5 = $j + 1 | 0; if (!cjj_Deflate_smaller($tree, var$6[var$5], var$6[$j], $this.$depth0)) var$5 = $j; } if (cjj_Deflate_smaller($tree, $v, $this.$heap.data[var$5], $this.$depth0)) break; var$6 = $this.$heap.data; var$6[$k] = var$6[var$5]; $j = var$5 << 1; $k = var$5; } } $this.$heap.data[$k] = $v; }, cjj_Deflate_smaller = ($tree, $n, $m, $depth) => { let $tn2; a: { b: { $tree = $tree.data; $tn2 = $rt_compare($tree[$n * 2 | 0], $tree[$m * 2 | 0]); if ($tn2 >= 0) { if ($tn2) break b; $tree = $depth.data; if ($tree[$n] > $tree[$m]) break b; } $n = 1; break a; } $n = 0; } return $n; }, cjj_Deflate_scan_tree = ($this, $tree, $max_code) => { let $prevlen, $nextlen, $count, $max_count, $min_count, $n, var$9, var$10; $tree = $tree.data; $prevlen = (-1); $nextlen = $tree[1]; $count = 0; $max_count = 7; $min_count = 4; if (!$nextlen) { $max_count = 138; $min_count = 3; } $tree[(($max_code + 1 | 0) * 2 | 0) + 1 | 0] = (-1); $n = 0; while ($n <= $max_code) { $n = $n + 1 | 0; var$9 = $tree[($n * 2 | 0) + 1 | 0]; $count = $count + 1 | 0; if (!($count < $max_count && $nextlen == var$9)) { if ($count < $min_count) { var$10 = $this.$bl_tree.data; $prevlen = $nextlen * 2 | 0; var$10[$prevlen] = (var$10[$prevlen] + $count | 0) << 16 >> 16; } else if (!$nextlen) { if ($count > 10) { var$10 = $this.$bl_tree.data; var$10[36] = (var$10[36] + 1 | 0) << 16 >> 16; } else { var$10 = $this.$bl_tree.data; var$10[34] = (var$10[34] + 1 | 0) << 16 >> 16; } } else { if ($nextlen != $prevlen) { var$10 = $this.$bl_tree.data; $max_count = $nextlen * 2 | 0; var$10[$max_count] = (var$10[$max_count] + 1 | 0) << 16 >> 16; } var$10 = $this.$bl_tree.data; var$10[32] = (var$10[32] + 1 | 0) << 16 >> 16; } $count = 0; if (!var$9) { $max_count = 138; $min_count = 3; $prevlen = $nextlen; } else if ($nextlen != var$9) { $max_count = 7; $min_count = 4; $prevlen = $nextlen; } else { $max_count = 6; $min_count = 3; $prevlen = $nextlen; } } $nextlen = var$9; } }, cjj_Deflate_build_bl_tree = $this => { let $max_blindex; cjj_Deflate_scan_tree($this, $this.$dyn_ltree, $this.$l_desc.$max_code); cjj_Deflate_scan_tree($this, $this.$dyn_dtree, $this.$d_desc.$max_code); cjj_Tree_build_tree($this.$bl_desc, $this); $max_blindex = 18; a: { while (true) { if ($max_blindex < 3) break a; if ($this.$bl_tree.data[(cjj_Tree_bl_order.data[$max_blindex] * 2 | 0) + 1 | 0]) break; $max_blindex = $max_blindex + (-1) | 0; } } $this.$opt_len = $this.$opt_len + ((((3 * ($max_blindex + 1 | 0) | 0) + 5 | 0) + 5 | 0) + 4 | 0) | 0; return $max_blindex; }, cjj_Deflate_send_all_trees = ($this, $lcodes, $dcodes, $blcodes) => { let $rank; cjj_Deflate_send_bits($this, $lcodes - 257 | 0, 5); $dcodes = $dcodes - 1 | 0; cjj_Deflate_send_bits($this, $dcodes, 5); cjj_Deflate_send_bits($this, $blcodes - 4 | 0, 4); $rank = 0; while ($rank < $blcodes) { cjj_Deflate_send_bits($this, $this.$bl_tree.data[(cjj_Tree_bl_order.data[$rank] * 2 | 0) + 1 | 0], 3); $rank = $rank + 1 | 0; } cjj_Deflate_send_tree($this, $this.$dyn_ltree, $lcodes - 1 | 0); cjj_Deflate_send_tree($this, $this.$dyn_dtree, $dcodes); }, cjj_Deflate_send_tree = ($this, $tree, $max_code) => { let var$3, $prevlen, $nextlen, $count, $max_count, $min_count, $n, var$10; var$3 = $tree.data; $prevlen = (-1); $nextlen = var$3[1]; $count = 0; $max_count = 7; $min_count = 4; if (!$nextlen) { $max_count = 138; $min_count = 3; } $n = 0; while ($n <= $max_code) { $n = $n + 1 | 0; var$10 = var$3[($n * 2 | 0) + 1 | 0]; $count = $count + 1 | 0; if (!($count < $max_count && $nextlen == var$10)) { if ($count < $min_count) while (true) { $tree = $this.$bl_tree.data; $min_count = $nextlen * 2 | 0; cjj_Deflate_send_bits($this, $tree[$min_count] & 65535, $tree[$min_count + 1 | 0] & 65535); $count = $count + (-1) | 0; if (!$count) break; } else if (!$nextlen) { if ($count > 10) { $tree = $this.$bl_tree.data; cjj_Deflate_send_bits($this, $tree[36] & 65535, $tree[37] & 65535); cjj_Deflate_send_bits($this, $count - 11 | 0, 7); } else { $tree = $this.$bl_tree.data; cjj_Deflate_send_bits($this, $tree[34] & 65535, $tree[35] & 65535); cjj_Deflate_send_bits($this, $count - 3 | 0, 3); } } else { if ($nextlen != $prevlen) { $tree = $this.$bl_tree.data; $max_count = $nextlen * 2 | 0; cjj_Deflate_send_bits($this, $tree[$max_count] & 65535, $tree[$max_count + 1 | 0] & 65535); $count = $count + (-1) | 0; } $tree = $this.$bl_tree.data; cjj_Deflate_send_bits($this, $tree[32] & 65535, $tree[33] & 65535); cjj_Deflate_send_bits($this, $count - 3 | 0, 2); } $count = 0; if (!var$10) { $max_count = 138; $min_count = 3; $prevlen = $nextlen; } else if ($nextlen != var$10) { $max_count = 7; $min_count = 4; $prevlen = $nextlen; } else { $max_count = 6; $min_count = 3; $prevlen = $nextlen; } } $nextlen = var$10; } }, cjj_Deflate_send_bits = ($this, $value, $length) => { let var$3, var$4, var$5, var$6, var$7, var$8; var$3 = $this.$bi_valid; if (var$3 <= (16 - $length | 0)) { $this.$bi_buf = ($this.$bi_buf | $value << var$3 & 65535) << 16 >> 16; $this.$bi_valid = var$3 + $length | 0; } else { var$4 = ($this.$bi_buf | $value << var$3 & 65535) << 16 >> 16; $this.$bi_buf = var$4; var$5 = var$4 << 24 >> 24; var$6 = $this.$pending_buf.data; var$7 = $this.$pending; var$8 = var$7 + 1 | 0; $this.$pending = var$8; var$6[var$7] = var$5; var$5 = (var$4 >>> 8 | 0) << 24 >> 24; $this.$pending = var$8 + 1 | 0; var$6[var$8] = var$5; $this.$bi_buf = ($value >>> (16 - var$3 | 0) | 0) << 16 >> 16; $this.$bi_valid = var$3 + ($length - 16 | 0) | 0; } }, cjj_Deflate__tr_align = $this => { let var$1; cjj_Deflate_send_bits($this, 2, 3); cjj_StaticTree_$callClinit(); var$1 = cjj_StaticTree_static_ltree.data; cjj_Deflate_send_bits($this, var$1[512] & 65535, var$1[513] & 65535); cjj_Deflate_bi_flush($this); if ((((1 + $this.$last_eob_len | 0) + 10 | 0) - $this.$bi_valid | 0) < 9) { cjj_Deflate_send_bits($this, 2, 3); var$1 = cjj_StaticTree_static_ltree.data; cjj_Deflate_send_bits($this, var$1[512] & 65535, var$1[513] & 65535); cjj_Deflate_bi_flush($this); } $this.$last_eob_len = 7; }, cjj_Deflate__tr_tally = ($this, $dist, $lc) => { let var$3, $in_length, $dcode, var$6, var$7, $out_length; var$3 = $this.$pending_buf.data; $in_length = $this.$d_buf; $dcode = $this.$last_lit; var$6 = $in_length + ($dcode * 2 | 0) | 0; var$3[var$6] = ($dist >>> 8 | 0) << 24 >> 24; var$3[var$6 + 1 | 0] = $dist << 24 >> 24; $this.$l_buf.data[$dcode] = $lc << 24 >> 24; var$6 = $dcode + 1 | 0; $this.$last_lit = var$6; if (!$dist) { var$3 = $this.$dyn_ltree.data; $dist = $lc * 2 | 0; var$3[$dist] = (var$3[$dist] + 1 | 0) << 16 >> 16; } else { $this.$matches1 = $this.$matches1 + 1 | 0; $in_length = $dist + (-1) | 0; var$7 = $this.$dyn_ltree.data; $dist = ((cjj_Tree__length_code.data[$lc] + 256 | 0) + 1 | 0) * 2 | 0; var$7[$dist] = (var$7[$dist] + 1 | 0) << 16 >> 16; var$7 = $this.$dyn_dtree; $dist = $in_length < 256 ? cjj_Tree__dist_code.data[$in_length] : cjj_Tree__dist_code.data[256 + ($in_length >>> 7 | 0) | 0]; var$3 = var$7.data; $dist = $dist * 2 | 0; var$3[$dist] = (var$3[$dist] + 1 | 0) << 16 >> 16; } if (!(var$6 & 8191) && $this.$level > 2) { $out_length = var$6 * 8 | 0; $in_length = $this.$strstart - $this.$block_start | 0; $dcode = 0; while ($dcode < 30) { $out_length = Long_lo(Long_add(Long_fromInt($out_length), Long_mul(Long_fromInt($this.$dyn_dtree.data[$dcode * 2 | 0]), Long_add(Long_fromInt(5), Long_fromInt(cjj_Tree_extra_dbits.data[$dcode]))))); $dcode = $dcode + 1 | 0; } $dist = $out_length >>> 3 | 0; if ($this.$matches1 < (var$6 / 2 | 0) && $dist < ($in_length / 2 | 0)) return 1; } return var$6 != ($this.$lit_bufsize - 1 | 0) ? 0 : 1; }, cjj_Deflate_compress_block = ($this, $ltree, $dtree) => { let $lx, var$4, $dist, $lc, var$7, $code, var$9, $extra; a: { $lx = 0; if ($this.$last_lit) while (true) { var$4 = $this.$pending_buf.data; $dist = $this.$d_buf + ($lx * 2 | 0) | 0; $dist = var$4[$dist] << 8 & 65280 | var$4[$dist + 1 | 0] & 255; $lc = $this.$l_buf.data[$lx] & 255; $lx = $lx + 1 | 0; if (!$dist) { var$4 = $ltree.data; $lc = $lc * 2 | 0; cjj_Deflate_send_bits($this, var$4[$lc] & 65535, var$4[$lc + 1 | 0] & 65535); } else { var$7 = $ltree.data; $code = cjj_Tree__length_code.data[$lc]; var$9 = (($code + 256 | 0) + 1 | 0) * 2 | 0; cjj_Deflate_send_bits($this, var$7[var$9] & 65535, var$7[var$9 + 1 | 0] & 65535); $extra = cjj_Tree_extra_lbits.data[$code]; if ($extra) cjj_Deflate_send_bits($this, $lc - cjj_Tree_base_length.data[$code] | 0, $extra); $dist = $dist + (-1) | 0; var$9 = $dist < 256 ? cjj_Tree__dist_code.data[$dist] : cjj_Tree__dist_code.data[256 + ($dist >>> 7 | 0) | 0]; var$4 = $dtree.data; $code = var$9 * 2 | 0; cjj_Deflate_send_bits($this, var$4[$code] & 65535, var$4[$code + 1 | 0] & 65535); $lc = cjj_Tree_extra_dbits.data[var$9]; if ($lc) cjj_Deflate_send_bits($this, $dist - cjj_Tree_base_dist.data[var$9] | 0, $lc); } if ($lx >= $this.$last_lit) break a; } } $ltree = $ltree.data; cjj_Deflate_send_bits($this, $ltree[512] & 65535, $ltree[513] & 65535); $this.$last_eob_len = $ltree[513]; }, cjj_Deflate_set_data_type = $this => { let $n, $ascii_freq, $bin_freq; $n = 0; $ascii_freq = 0; $bin_freq = 0; while ($n < 7) { $bin_freq = $bin_freq + $this.$dyn_ltree.data[$n * 2 | 0] | 0; $n = $n + 1 | 0; } while ($n < 128) { $ascii_freq = $ascii_freq + $this.$dyn_ltree.data[$n * 2 | 0] | 0; $n = $n + 1 | 0; } while ($n < 256) { $bin_freq = $bin_freq + $this.$dyn_ltree.data[$n * 2 | 0] | 0; $n = $n + 1 | 0; } $this.$data_type = ($bin_freq <= ($ascii_freq >>> 2 | 0) ? 1 : 0) << 24 >> 24; }, cjj_Deflate_bi_flush = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; var$1 = $this.$bi_valid; if (var$1 == 16) { var$2 = $this.$bi_buf; var$1 = var$2 << 24 >> 24; var$3 = $this.$pending_buf.data; var$4 = $this.$pending; var$5 = var$4 + 1 | 0; $this.$pending = var$5; var$3[var$4] = var$1; var$2 = (var$2 >>> 8 | 0) << 24 >> 24; $this.$pending = var$5 + 1 | 0; var$3[var$5] = var$2; $this.$bi_buf = 0; $this.$bi_valid = 0; } else if (var$1 >= 8) { var$5 = $this.$bi_buf; var$2 = var$5 << 24 >> 24; var$3 = $this.$pending_buf.data; var$6 = $this.$pending; $this.$pending = var$6 + 1 | 0; var$3[var$6] = var$2; $this.$bi_buf = (var$5 >>> 8 | 0) << 16 >> 16; $this.$bi_valid = var$1 - 8 | 0; } }, cjj_Deflate_deflate_stored = ($this, $flush) => { let var$2, $max_block_size, var$4, $max_start; var$2 = $this.$pending_buf_size - 5 | 0; if (65535 <= var$2) var$2 = 65535; while (true) { if ($this.$lookahead <= 1) { cjj_Deflate_fill_window($this); $max_block_size = $this.$lookahead; if (!$max_block_size && !$flush) return 0; if (!$max_block_size) { $flush = $rt_compare($flush, 4); $max_block_size = $flush ? 0 : 1; var$2 = $this.$block_start; cjj_Deflate__tr_flush_block($this, var$2 < 0 ? (-1) : var$2, $this.$strstart - var$2 | 0, $max_block_size); $this.$block_start = $this.$strstart; cjj_ZStream_flush_pending($this.$strm); if ($this.$strm.$avail_out) return $flush ? 1 : 3; return $flush ? 0 : 2; } } $max_block_size = $this.$strstart + $this.$lookahead | 0; $this.$strstart = $max_block_size; $this.$lookahead = 0; var$4 = $this.$block_start; $max_start = var$4 + var$2 | 0; if (!($max_block_size && $max_block_size < $max_start)) { $this.$lookahead = $max_block_size - $max_start | 0; $this.$strstart = $max_start; cjj_Deflate__tr_flush_block($this, var$4 < 0 ? (-1) : var$4, $max_start - var$4 | 0, 0); $this.$block_start = $this.$strstart; cjj_ZStream_flush_pending($this.$strm); if (!$this.$strm.$avail_out) return 0; } $max_block_size = $this.$strstart; var$4 = $this.$block_start; $max_start = $max_block_size - var$4 | 0; if ($max_start < ($this.$w_size - 262 | 0)) continue; if (var$4 < 0) var$4 = (-1); cjj_Deflate__tr_flush_block($this, var$4, $max_start, 0); $this.$block_start = $this.$strstart; cjj_ZStream_flush_pending($this.$strm); if (!$this.$strm.$avail_out) break; } return 0; }, cjj_Deflate__tr_flush_block = ($this, $buf, $stored_len, $eof) => { let $max_blindex, $static_lenb, $opt_lenb, var$7, var$8, var$9; $max_blindex = 0; if ($this.$level <= 0) { $static_lenb = $stored_len + 5 | 0; $opt_lenb = $static_lenb; } else { if ($this.$data_type == 2) cjj_Deflate_set_data_type($this); cjj_Tree_build_tree($this.$l_desc, $this); cjj_Tree_build_tree($this.$d_desc, $this); $max_blindex = cjj_Deflate_build_bl_tree($this); $opt_lenb = (($this.$opt_len + 3 | 0) + 7 | 0) >>> 3 | 0; $static_lenb = (($this.$static_len + 3 | 0) + 7 | 0) >>> 3 | 0; if ($static_lenb <= $opt_lenb) $opt_lenb = $static_lenb; } if (($stored_len + 4 | 0) <= $opt_lenb && $buf != (-1)) { cjj_Deflate_send_bits($this, 0 + (!$eof ? 0 : 1) | 0, 3); $static_lenb = $this.$bi_valid; if ($static_lenb > 8) { $max_blindex = $this.$bi_buf; $static_lenb = $max_blindex << 24 >> 24; var$7 = $this.$pending_buf.data; var$8 = $this.$pending; $opt_lenb = var$8 + 1 | 0; $this.$pending = $opt_lenb; var$7[var$8] = $static_lenb; $max_blindex = ($max_blindex >>> 8 | 0) << 24 >> 24; $this.$pending = $opt_lenb + 1 | 0; var$7[$opt_lenb] = $max_blindex; } else if ($static_lenb > 0) { $max_blindex = $this.$bi_buf << 24 >> 24; var$7 = $this.$pending_buf.data; $opt_lenb = $this.$pending; $this.$pending = $opt_lenb + 1 | 0; var$7[$opt_lenb] = $max_blindex; } $this.$bi_buf = 0; $this.$bi_valid = 0; $this.$last_eob_len = 8; $opt_lenb = $stored_len << 16 >> 16; var$8 = $opt_lenb << 24 >> 24; var$7 = $this.$pending_buf; var$9 = var$7.data; $max_blindex = $this.$pending; $static_lenb = $max_blindex + 1 | 0; $this.$pending = $static_lenb; var$9[$max_blindex] = var$8; $max_blindex = ($opt_lenb >>> 8 | 0) << 24 >> 24; var$8 = $static_lenb + 1 | 0; $this.$pending = var$8; var$9[$static_lenb] = $max_blindex; $max_blindex = ($stored_len ^ (-1)) << 16 >> 16; $static_lenb = $max_blindex << 24 >> 24; $opt_lenb = var$8 + 1 | 0; $this.$pending = $opt_lenb; var$9[var$8] = $static_lenb; $max_blindex = ($max_blindex >>> 8 | 0) << 24 >> 24; $static_lenb = $opt_lenb + 1 | 0; $this.$pending = $static_lenb; var$9[$opt_lenb] = $max_blindex; jl_System_fastArraycopy($this.$window0, $buf, var$7, $static_lenb, $stored_len); $this.$pending = $this.$pending + $stored_len | 0; } else if ($static_lenb == $opt_lenb) { cjj_Deflate_send_bits($this, 2 + (!$eof ? 0 : 1) | 0, 3); cjj_StaticTree_$callClinit(); cjj_Deflate_compress_block($this, cjj_StaticTree_static_ltree, cjj_StaticTree_static_dtree); } else { cjj_Deflate_send_bits($this, 4 + (!$eof ? 0 : 1) | 0, 3); cjj_Deflate_send_all_trees($this, $this.$l_desc.$max_code + 1 | 0, $this.$d_desc.$max_code + 1 | 0, $max_blindex + 1 | 0); cjj_Deflate_compress_block($this, $this.$dyn_ltree, $this.$dyn_dtree); } cjj_Deflate_init_block($this); if ($eof) { $stored_len = $this.$bi_valid; if ($stored_len > 8) { $buf = $this.$bi_buf; $stored_len = $buf << 24 >> 24; var$7 = $this.$pending_buf.data; $max_blindex = $this.$pending; $eof = $max_blindex + 1 | 0; $this.$pending = $eof; var$7[$max_blindex] = $stored_len; $buf = ($buf >>> 8 | 0) << 24 >> 24; $this.$pending = $eof + 1 | 0; var$7[$eof] = $buf; } else if ($stored_len > 0) { $buf = $this.$bi_buf << 24 >> 24; var$7 = $this.$pending_buf.data; $eof = $this.$pending; $this.$pending = $eof + 1 | 0; var$7[$eof] = $buf; } $this.$bi_buf = 0; $this.$bi_valid = 0; } }, cjj_Deflate_fill_window = $this => { let $n, var$2, $m, $more, var$5, $p, var$7; while (true) { $n = $this.$window_size; var$2 = $this.$lookahead; $n = $n - var$2 | 0; $m = $this.$strstart; $more = $n - $m | 0; if (!$more && !$m && !var$2) $more = $this.$w_size; else if ($more == (-1)) $more = $more + (-1) | 0; else { var$2 = $this.$w_size; if ($m >= ((var$2 + var$2 | 0) - 262 | 0)) { var$5 = $this.$window0; jl_System_fastArraycopy(var$5, var$2, var$5, 0, var$2); $n = $this.$match_start; var$2 = $this.$w_size; $this.$match_start = $n - var$2 | 0; $this.$strstart = $this.$strstart - var$2 | 0; $this.$block_start = $this.$block_start - var$2 | 0; $n = $this.$hash_size; $p = $n; while (true) { var$5 = $this.$head2.data; $p = $p + (-1) | 0; $m = var$5[$p] & 65535; var$5[$p] = $m < var$2 ? 0 : ($m - var$2 | 0) << 16 >> 16; $n = $n + (-1) | 0; if (!$n) break; } $m = var$2; $p = var$2; while (true) { var$5 = $this.$prev.data; $m = $m + (-1) | 0; $n = var$5[$m] & 65535; var$5[$m] = $n < var$2 ? 0 : ($n - var$2 | 0) << 16 >> 16; $p = $p + (-1) | 0; if (!$p) break; } $more = $more + var$2 | 0; } } var$7 = $this.$strm; if (!var$7.$avail_in) return; $n = cjj_ZStream_read_buf(var$7, $this.$window0, $this.$strstart + $this.$lookahead | 0, $more); $n = $this.$lookahead + $n | 0; $this.$lookahead = $n; if ($n >= 3) { var$5 = $this.$window0.data; var$2 = $this.$strstart; $m = var$5[var$2] & 255; $this.$ins_h = $m; $this.$ins_h = ($m << $this.$hash_shift ^ var$5[var$2 + 1 | 0] & 255) & $this.$hash_mask; } if ($n >= 262) break; if ($this.$strm.$avail_in) continue; else break; } }, cjj_Deflate_deflate_fast = ($this, $flush) => { let $hash_head, var$3, var$4, var$5, var$6, $bflush; $hash_head = 0; while (true) { if ($this.$lookahead < 262) { cjj_Deflate_fill_window($this); var$3 = $this.$lookahead; if (var$3 < 262 && !$flush) return 0; if (!var$3) { $flush = $rt_compare($flush, 4); $hash_head = $flush ? 0 : 1; var$3 = $this.$block_start; cjj_Deflate__tr_flush_block($this, var$3 < 0 ? (-1) : var$3, $this.$strstart - var$3 | 0, $hash_head); $this.$block_start = $this.$strstart; cjj_ZStream_flush_pending($this.$strm); if (!$this.$strm.$avail_out) { if ($flush) return 0; return 2; } return $flush ? 1 : 3; } } if ($this.$lookahead >= 3) { $hash_head = $this.$ins_h << $this.$hash_shift; var$4 = $this.$window0.data; var$3 = $this.$strstart; var$5 = ($hash_head ^ var$4[var$3 + 2 | 0] & 255) & $this.$hash_mask; $this.$ins_h = var$5; var$4 = $this.$head2.data; $hash_head = var$4[var$5] & 65535; $this.$prev.data[var$3 & $this.$w_mask] = var$4[var$5]; var$4[var$5] = var$3 << 16 >> 16; } if (Long_ne(Long_fromInt($hash_head), Long_ZERO) && (($this.$strstart - $hash_head | 0) & 65535) <= ($this.$w_size - 262 | 0) && $this.$strategy != 2) $this.$match_length = cjj_Deflate_longest_match($this, $hash_head); var$6 = $this.$match_length; if (var$6 < 3) { $bflush = cjj_Deflate__tr_tally($this, 0, $this.$window0.data[$this.$strstart] & 255); $this.$lookahead = $this.$lookahead - 1 | 0; $this.$strstart = $this.$strstart + 1 | 0; } else { $bflush = cjj_Deflate__tr_tally($this, $this.$strstart - $this.$match_start | 0, var$6 - 3 | 0); var$3 = $this.$lookahead; var$5 = $this.$match_length; var$3 = var$3 - var$5 | 0; $this.$lookahead = var$3; if (var$5 <= $this.$max_lazy_match && var$3 >= 3) { $this.$match_length = var$5 - 1 | 0; while (true) { var$3 = $this.$strstart + 1 | 0; $this.$strstart = var$3; var$5 = ($this.$ins_h << $this.$hash_shift ^ $this.$window0.data[var$3 + 2 | 0] & 255) & $this.$hash_mask; $this.$ins_h = var$5; var$4 = $this.$head2.data; $hash_head = var$4[var$5] & 65535; $this.$prev.data[var$3 & $this.$w_mask] = var$4[var$5]; var$4[var$5] = var$3 << 16 >> 16; var$5 = $this.$match_length - 1 | 0; $this.$match_length = var$5; if (var$5) continue; else break; } $this.$strstart = var$3 + 1 | 0; } else { var$3 = $this.$strstart + var$5 | 0; $this.$strstart = var$3; $this.$match_length = 0; var$4 = $this.$window0.data; var$5 = var$4[var$3] & 255; $this.$ins_h = var$5; $this.$ins_h = (var$5 << $this.$hash_shift ^ var$4[var$3 + 1 | 0] & 255) & $this.$hash_mask; } } if (!$bflush) continue; var$5 = $this.$block_start; cjj_Deflate__tr_flush_block($this, var$5 < 0 ? (-1) : var$5, $this.$strstart - var$5 | 0, 0); $this.$block_start = $this.$strstart; cjj_ZStream_flush_pending($this.$strm); if (!$this.$strm.$avail_out) break; } return 0; }, cjj_Deflate_deflate_slow = ($this, $flush) => { let $hash_head, $bflush, var$4, $max_insert, var$6, var$7; $hash_head = 0; while (true) { if ($this.$lookahead < 262) { cjj_Deflate_fill_window($this); $bflush = $this.$lookahead; if ($bflush < 262 && !$flush) return 0; if (!$bflush) { if ($this.$match_available) { cjj_Deflate__tr_tally($this, 0, $this.$window0.data[$this.$strstart - 1 | 0] & 255); $this.$match_available = 0; } $flush = $rt_compare($flush, 4); $hash_head = $flush ? 0 : 1; $bflush = $this.$block_start; cjj_Deflate__tr_flush_block($this, $bflush < 0 ? (-1) : $bflush, $this.$strstart - $bflush | 0, $hash_head); $this.$block_start = $this.$strstart; cjj_ZStream_flush_pending($this.$strm); if (!$this.$strm.$avail_out) { if ($flush) return 0; return 2; } return $flush ? 1 : 3; } } if ($this.$lookahead >= 3) { $hash_head = $this.$ins_h << $this.$hash_shift; var$4 = $this.$window0.data; $bflush = $this.$strstart; $max_insert = ($hash_head ^ var$4[$bflush + 2 | 0] & 255) & $this.$hash_mask; $this.$ins_h = $max_insert; var$4 = $this.$head2.data; $hash_head = var$4[$max_insert] & 65535; $this.$prev.data[$bflush & $this.$w_mask] = var$4[$max_insert]; var$4[$max_insert] = $bflush << 16 >> 16; } a: { $max_insert = $this.$match_length; $this.$prev_length = $max_insert; $this.$prev_match = $this.$match_start; $this.$match_length = 2; if ($hash_head && $max_insert < $this.$max_lazy_match && (($this.$strstart - $hash_head | 0) & 65535) <= ($this.$w_size - 262 | 0)) { if ($this.$strategy != 2) $this.$match_length = cjj_Deflate_longest_match($this, $hash_head); $bflush = $this.$match_length; if ($bflush <= 5) { if ($this.$strategy != 1) { if ($bflush != 3) break a; if (($this.$strstart - $this.$match_start | 0) <= 4096) break a; } $this.$match_length = 2; } } } var$6 = $this.$prev_length; if (!(var$6 >= 3 && $this.$match_length <= var$6)) { if (!$this.$match_available) { $this.$match_available = 1; $this.$strstart = $this.$strstart + 1 | 0; $this.$lookahead = $this.$lookahead - 1 | 0; continue; } if (cjj_Deflate__tr_tally($this, 0, $this.$window0.data[$this.$strstart - 1 | 0] & 255)) { $max_insert = $this.$block_start; cjj_Deflate__tr_flush_block($this, $max_insert < 0 ? (-1) : $max_insert, $this.$strstart - $max_insert | 0, 0); $this.$block_start = $this.$strstart; cjj_ZStream_flush_pending($this.$strm); } $this.$strstart = $this.$strstart + 1 | 0; $this.$lookahead = $this.$lookahead - 1 | 0; if (!$this.$strm.$avail_out) break; continue; } $bflush = $this.$strstart; $max_insert = ($bflush + $this.$lookahead | 0) - 3 | 0; $bflush = cjj_Deflate__tr_tally($this, ($bflush - 1 | 0) - $this.$prev_match | 0, var$6 - 3 | 0); var$7 = $this.$lookahead; var$6 = $this.$prev_length; $this.$lookahead = var$7 - (var$6 - 1 | 0) | 0; $this.$prev_length = var$6 - 2 | 0; while (true) { var$7 = $this.$strstart + 1 | 0; $this.$strstart = var$7; if (var$7 <= $max_insert) { var$6 = ($this.$ins_h << $this.$hash_shift ^ $this.$window0.data[var$7 + 2 | 0] & 255) & $this.$hash_mask; $this.$ins_h = var$6; var$4 = $this.$head2.data; $hash_head = var$4[var$6] & 65535; $this.$prev.data[var$7 & $this.$w_mask] = var$4[var$6]; var$4[var$6] = var$7 << 16 >> 16; } var$6 = $this.$prev_length - 1 | 0; $this.$prev_length = var$6; if (!var$6) break; } $this.$match_available = 0; $this.$match_length = 2; $max_insert = var$7 + 1 | 0; $this.$strstart = $max_insert; if ($bflush) { var$7 = $this.$block_start; cjj_Deflate__tr_flush_block($this, var$7 < 0 ? (-1) : var$7, $max_insert - var$7 | 0, 0); $this.$block_start = $this.$strstart; cjj_ZStream_flush_pending($this.$strm); if (!$this.$strm.$avail_out) return 0; } } return 0; }, cjj_Deflate_longest_match = ($this, $cur_match) => { let $chain_length, $scan, $best_len, $len, $limit, $nice_match, $wmask, $strend, var$10, $scan_end1, $scan_end, var$13, var$14, var$15, var$16; $chain_length = $this.$max_chain_length; $scan = $this.$strstart; $best_len = $this.$prev_length; $len = $this.$w_size - 262 | 0; $limit = $scan <= $len ? 0 : $scan - $len | 0; $nice_match = $this.$nice_match; $wmask = $this.$w_mask; $strend = $scan + 258 | 0; var$10 = $this.$window0.data; $len = $scan + $best_len | 0; $scan_end1 = var$10[$len - 1 | 0]; $scan_end = var$10[$len]; if ($best_len >= $this.$good_match) $chain_length = $chain_length >> 2; var$13 = $this.$lookahead; if ($nice_match > var$13) $nice_match = var$13; var$14 = $strend - 258 | 0; a: { while (true) { $len = $cur_match + $best_len | 0; if (var$10[$len] == $scan_end && var$10[$len - 1 | 0] == $scan_end1 && var$10[$cur_match] == var$10[$scan]) { var$15 = $cur_match + 1 | 0; if (var$10[var$15] == var$10[$scan + 1 | 0]) { $len = $scan + 2 | 0; $scan = var$15 + 1 | 0; b: { while (true) { $len = $len + 1 | 0; var$15 = var$10[$len]; $scan = $scan + 1 | 0; if (var$15 != var$10[$scan]) break; $len = $len + 1 | 0; var$15 = var$10[$len]; var$16 = $scan + 1 | 0; if (var$15 != var$10[var$16]) break b; $len = $len + 1 | 0; $scan = var$10[$len]; var$15 = var$16 + 1 | 0; if ($scan != var$10[var$15]) break b; $len = $len + 1 | 0; var$16 = var$10[$len]; $scan = var$15 + 1 | 0; if (var$16 != var$10[$scan]) break b; $len = $len + 1 | 0; var$15 = var$10[$len]; $scan = $scan + 1 | 0; if (var$15 != var$10[$scan]) break b; $len = $len + 1 | 0; var$15 = var$10[$len]; $scan = $scan + 1 | 0; if (var$15 != var$10[$scan]) break b; $len = $len + 1 | 0; var$15 = var$10[$len]; $scan = $scan + 1 | 0; if (var$15 != var$10[$scan]) break b; $len = $len + 1 | 0; var$15 = var$10[$len]; $scan = $scan + 1 | 0; if (var$15 != var$10[$scan]) break b; if ($len >= $strend) break b; } } $len = 258 - ($strend - $len | 0) | 0; if ($len <= $best_len) $scan = var$14; else { $this.$match_start = $cur_match; if ($len >= $nice_match) break; $scan_end = var$14 + $len | 0; $scan_end1 = var$10[$scan_end - 1 | 0]; $scan_end = var$10[$scan_end]; $scan = var$14; $best_len = $len; } } } $cur_match = $this.$prev.data[$cur_match & $wmask] & 65535; if ($cur_match <= $limit) { $len = $best_len; break a; } $chain_length = $chain_length + (-1) | 0; if (!$chain_length) { $len = $best_len; break a; } } } if ($len > var$13) return var$13; return $len; }, cjj_Deflate_deflateInit0 = ($this, $level, $bits) => { return cjj_Deflate_deflateInit($this, $level, 8, $bits, 8, 0); }, cjj_Deflate_deflateInit = ($this, $level, $method, $windowBits, $memLevel, $strategy) => { let $wrap, var$7, var$8, var$9; $wrap = 1; var$7 = $this.$strm; var$7.$msg = null; if ($level == (-1)) $level = 6; if ($windowBits < 0) { $wrap = 0; $windowBits = -$windowBits | 0; } else if ($windowBits > 15) { $wrap = 2; $windowBits = $windowBits + (-16) | 0; var$8 = new cjj_CRC32; var$8.$v = 0; var$7.$adler = var$8; } a: { if ($memLevel < 1) break a; if ($memLevel > 9) break a; if ($method != 8) break a; if ($windowBits < 9) break a; if ($windowBits > 15) break a; if ($level < 0) break a; if ($level > 9) break a; if ($strategy < 0) break a; if ($strategy <= 2) { var$7.$dstate = $this; $this.$wrap3 = $wrap; $this.$w_bits = $windowBits; $windowBits = 1 << $windowBits; $this.$w_size = $windowBits; $this.$w_mask = $windowBits - 1 | 0; $wrap = $memLevel + 7 | 0; $this.$hash_bits = $wrap; var$9 = 1 << $wrap; $this.$hash_size = var$9; $this.$hash_mask = var$9 - 1 | 0; $this.$hash_shift = (($wrap + 3 | 0) - 1 | 0) / 3 | 0; $this.$window0 = $rt_createByteArray($windowBits * 2 | 0); $this.$prev = $rt_createShortArray($windowBits); $this.$head2 = $rt_createShortArray(var$9); $windowBits = 1 << ($memLevel + 6 | 0); $this.$lit_bufsize = $windowBits; $memLevel = $windowBits * 3 | 0; $this.$pending_buf = $rt_createByteArray($memLevel); $this.$pending_buf_size = $memLevel; $this.$d_buf = $windowBits; $this.$l_buf = $rt_createByteArray($windowBits); $this.$level = $level; $this.$strategy = $strategy; $this.$method = $method << 24 >> 24; return cjj_Deflate_deflateReset($this); } } return (-2); }, cjj_Deflate_deflateReset = $this => { let var$1, var$2; var$1 = $this.$strm; var$1.$total_out = Long_ZERO; var$1.$total_in = Long_ZERO; var$1.$msg = null; var$1.$data_type0 = 2; $this.$pending = 0; $this.$pending_out = 0; var$2 = $this.$wrap3; if (var$2 < 0) $this.$wrap3 = -var$2 | 0; $this.$status0 = $this.$wrap3 ? 42 : 113; var$1.$adler.$reset(); $this.$last_flush = 0; cjj_Deflate_tr_init($this); cjj_Deflate_lm_init($this); return 0; }, cjj_Deflate_deflateEnd = $this => { let var$1; var$1 = $this.$status0; if (var$1 != 42 && var$1 != 113 && var$1 != 666) return (-2); $this.$pending_buf = null; $this.$l_buf = null; $this.$head2 = null; $this.$prev = null; $this.$window0 = null; return var$1 != 113 ? 0 : (-3); }, cjj_Deflate_deflate = ($this, $flush) => { let var$2, var$3, $header, $old_flush, $level_flags, $bstate, var$8, var$9, $i, $adler, var$12, var$13, var$14; var$2 = $rt_compare($flush, 4); if (var$2 <= 0 && $flush >= 0) { a: { var$3 = $this.$strm; if (var$3.$next_out !== null && !(var$3.$next_in === null && var$3.$avail_in)) { $header = $this.$status0; if ($header != 666) break a; if (!var$2) break a; } var$3.$msg = cjj_Deflate_z_errmsg.data[4]; return (-2); } if (!var$3.$avail_out) { var$3.$msg = cjj_Deflate_z_errmsg.data[7]; return (-5); } $old_flush = $this.$last_flush; $this.$last_flush = $flush; if ($header == 42) { if ($this.$wrap3 == 2) { cjj_GZIPHeader_put(cjj_Deflate_getGZIPHeader($this), $this); $this.$status0 = 113; $this.$strm.$adler.$reset(); } else { $header = (8 + (($this.$w_bits - 8 | 0) << 4) | 0) << 8; $level_flags = (($this.$level - 1 | 0) & 255) >> 1; if ($level_flags > 3) $level_flags = 3; $header = $header | $level_flags << 6; $level_flags = $this.$strstart; if ($level_flags) $header = $header | 32; $header = $header + (31 - ($header % 31 | 0) | 0) | 0; $this.$status0 = 113; $bstate = $header >> 8 << 24 >> 24; var$8 = $this.$pending_buf.data; var$9 = $this.$pending; $i = var$9 + 1 | 0; $this.$pending = $i; var$8[var$9] = $bstate; $header = $header << 24 >> 24; $this.$pending = $i + 1 | 0; var$8[$i] = $header; if ($level_flags) { $adler = var$3.$adler.$getValue0(); $header = Long_lo(Long_shru($adler, 16)); $level_flags = $header >> 8 << 24 >> 24; var$8 = $this.$pending_buf.data; $i = $this.$pending; $bstate = $i + 1 | 0; $this.$pending = $bstate; var$8[$i] = $level_flags; $header = $header << 24 >> 24; $i = $bstate + 1 | 0; $this.$pending = $i; var$8[$bstate] = $header; $header = Long_lo(Long_and($adler, Long_fromInt(65535))); $level_flags = $header >> 8 << 24 >> 24; $bstate = $i + 1 | 0; $this.$pending = $bstate; var$8[$i] = $level_flags; $header = $header << 24 >> 24; $this.$pending = $bstate + 1 | 0; var$8[$bstate] = $header; } $this.$strm.$adler.$reset(); } } b: { if ($this.$pending) { cjj_ZStream_flush_pending($this.$strm); if ($this.$strm.$avail_out) break b; $this.$last_flush = (-1); return 0; } var$3 = $this.$strm; if (!var$3.$avail_in && $flush <= $old_flush && var$2) { var$3.$msg = cjj_Deflate_z_errmsg.data[7]; return (-5); } } $header = $rt_compare($this.$status0, 666); if (!$header) { var$3 = $this.$strm; if (var$3.$avail_in) { var$3.$msg = cjj_Deflate_z_errmsg.data[7]; return (-5); } } c: { if (!$this.$strm.$avail_in && !$this.$lookahead) { if (!$flush) break c; if (!$header) break c; } d: { $bstate = (-1); switch (cjj_Deflate_config_table.data[$this.$level].$func) { case 0: $bstate = cjj_Deflate_deflate_stored($this, $flush); break d; case 1: $bstate = cjj_Deflate_deflate_fast($this, $flush); break d; case 2: $bstate = cjj_Deflate_deflate_slow($this, $flush); break d; default: } } $header = $rt_compare($bstate, 2); if (!($header && $bstate != 3)) $this.$status0 = 666; if ($bstate && $header) { if ($bstate != 1) break c; e: { if ($flush == 1) cjj_Deflate__tr_align($this); else { cjj_Deflate_send_bits($this, 0, 3); $bstate = $this.$bi_valid; if ($bstate > 8) { $level_flags = $this.$bi_buf; $bstate = $level_flags << 24 >> 24; var$8 = $this.$pending_buf.data; var$9 = $this.$pending; $i = var$9 + 1 | 0; $this.$pending = $i; var$8[var$9] = $bstate; $level_flags = ($level_flags >>> 8 | 0) << 24 >> 24; $this.$pending = $i + 1 | 0; var$8[$i] = $level_flags; } else if ($bstate > 0) { $level_flags = $this.$bi_buf << 24 >> 24; var$8 = $this.$pending_buf.data; $i = $this.$pending; $this.$pending = $i + 1 | 0; var$8[$i] = $level_flags; } $this.$bi_buf = 0; $this.$bi_valid = 0; $this.$last_eob_len = 8; var$12 = $this.$pending_buf; var$8 = var$12.data; $i = $this.$pending; var$13 = $i + 1 | 0; $this.$pending = var$13; var$8[$i] = 0; var$9 = var$13 + 1 | 0; $this.$pending = var$9; var$8[var$13] = 0; $i = var$9 + 1 | 0; $this.$pending = $i; var$8[var$9] = (-1); $bstate = $i + 1 | 0; $this.$pending = $bstate; var$8[$i] = (-1); jl_System_fastArraycopy($this.$window0, 0, var$12, $bstate, 0); $this.$pending = $this.$pending + 0 | 0; if ($flush == 3) { $i = 0; while (true) { if ($i >= $this.$hash_size) break e; $this.$head2.data[$i] = 0; $i = $i + 1 | 0; } } } } cjj_ZStream_flush_pending($this.$strm); if ($this.$strm.$avail_out) break c; $this.$last_flush = (-1); return 0; } if (!$this.$strm.$avail_out) $this.$last_flush = (-1); return 0; } if (var$2) return 0; $flush = $this.$wrap3; if ($flush <= 0) return 1; if ($flush != 2) { $adler = $this.$strm.$adler.$getValue0(); $flush = Long_lo(Long_shru($adler, 16)); var$2 = $flush >> 8 << 24 >> 24; var$8 = $this.$pending_buf.data; $old_flush = $this.$pending; $header = $old_flush + 1 | 0; $this.$pending = $header; var$8[$old_flush] = var$2; $flush = $flush << 24 >> 24; var$2 = $header + 1 | 0; $this.$pending = var$2; var$8[$header] = $flush; $flush = Long_lo(Long_and($adler, Long_fromInt(65535))); $header = $flush >> 8 << 24 >> 24; $old_flush = var$2 + 1 | 0; $this.$pending = $old_flush; var$8[var$2] = $header; $flush = $flush << 24 >> 24; $this.$pending = $old_flush + 1 | 0; var$8[$old_flush] = $flush; } else { $adler = $this.$strm.$adler.$getValue0(); $flush = Long_lo(Long_and($adler, Long_fromInt(255))) << 24 >> 24; var$8 = $this.$pending_buf.data; $header = $this.$pending; $level_flags = $header + 1 | 0; $this.$pending = $level_flags; var$8[$header] = $flush; $flush = Long_lo(Long_and(Long_shr($adler, 8), Long_fromInt(255))) << 24 >> 24; $old_flush = $level_flags + 1 | 0; $this.$pending = $old_flush; var$8[$level_flags] = $flush; $flush = Long_lo(Long_and(Long_shr($adler, 16), Long_fromInt(255))) << 24 >> 24; $header = $old_flush + 1 | 0; $this.$pending = $header; var$8[$old_flush] = $flush; $flush = Long_lo(Long_and(Long_shr($adler, 24), Long_fromInt(255))) << 24 >> 24; $old_flush = $header + 1 | 0; $this.$pending = $old_flush; var$8[$header] = $flush; var$14 = $this.$strm.$total_in; $flush = Long_lo(Long_and(var$14, Long_fromInt(255))) << 24 >> 24; $header = $old_flush + 1 | 0; $this.$pending = $header; var$8[$old_flush] = $flush; $flush = Long_lo(Long_and(Long_shr(var$14, 8), Long_fromInt(255))) << 24 >> 24; $old_flush = $header + 1 | 0; $this.$pending = $old_flush; var$8[$header] = $flush; $flush = Long_lo(Long_and(Long_shr(var$14, 16), Long_fromInt(255))) << 24 >> 24; $header = $old_flush + 1 | 0; $this.$pending = $header; var$8[$old_flush] = $flush; $flush = Long_lo(Long_and(Long_shr(var$14, 24), Long_fromInt(255))) << 24 >> 24; $this.$pending = $header + 1 | 0; var$8[$header] = $flush; (cjj_Deflate_getGZIPHeader($this)).$crc1 = $adler; } cjj_ZStream_flush_pending($this.$strm); $flush = $this.$wrap3; if ($flush > 0) $this.$wrap3 = -$flush | 0; return !$this.$pending ? 1 : 0; } return (-2); }, cjj_Deflate_getGZIPHeader = $this => { let var$1; jl_Object_monitorEnterSync($this); try { if ($this.$gheader0 === null) { var$1 = new cjj_GZIPHeader; var$1.$text3 = 0; var$1.$fhcrc = 0; var$1.$os = 255; var$1.$done = 0; var$1.$mtime = Long_ZERO; $this.$gheader0 = var$1; } return $this.$gheader0; } finally { jl_Object_monitorExitSync($this); } }, cjj_Deflate__clinit_ = () => { let var$1, var$2, var$3; var$1 = $rt_createArray(cjj_Deflate$Config, 10); var$2 = var$1.data; cjj_Deflate_config_table = var$1; var$3 = new cjj_Deflate$Config; var$3.$good_length = 0; var$3.$max_lazy = 0; var$3.$nice_length = 0; var$3.$max_chain = 0; var$3.$func = 0; var$2[0] = var$3; var$3 = new cjj_Deflate$Config; var$3.$good_length = 4; var$3.$max_lazy = 4; var$3.$nice_length = 8; var$3.$max_chain = 4; var$3.$func = 1; var$2[1] = var$3; var$3 = new cjj_Deflate$Config; var$3.$good_length = 4; var$3.$max_lazy = 5; var$3.$nice_length = 16; var$3.$max_chain = 8; var$3.$func = 1; var$2[2] = var$3; var$3 = new cjj_Deflate$Config; var$3.$good_length = 4; var$3.$max_lazy = 6; var$3.$nice_length = 32; var$3.$max_chain = 32; var$3.$func = 1; var$2[3] = var$3; var$3 = new cjj_Deflate$Config; var$3.$good_length = 4; var$3.$max_lazy = 4; var$3.$nice_length = 16; var$3.$max_chain = 16; var$3.$func = 2; var$2[4] = var$3; var$3 = new cjj_Deflate$Config; var$3.$good_length = 8; var$3.$max_lazy = 16; var$3.$nice_length = 32; var$3.$max_chain = 32; var$3.$func = 2; var$2[5] = var$3; var$3 = new cjj_Deflate$Config; var$3.$good_length = 8; var$3.$max_lazy = 16; var$3.$nice_length = 128; var$3.$max_chain = 128; var$3.$func = 2; var$2[6] = var$3; var$3 = new cjj_Deflate$Config; var$3.$good_length = 8; var$3.$max_lazy = 32; var$3.$nice_length = 128; var$3.$max_chain = 256; var$3.$func = 2; var$2[7] = var$3; var$3 = new cjj_Deflate$Config; var$3.$good_length = 32; var$3.$max_lazy = 128; var$3.$nice_length = 258; var$3.$max_chain = 1024; var$3.$func = 2; var$2[8] = var$3; var$3 = new cjj_Deflate$Config; var$3.$good_length = 32; var$3.$max_lazy = 258; var$3.$nice_length = 258; var$3.$max_chain = 4096; var$3.$func = 2; var$2[9] = var$3; cjj_Deflate_z_errmsg = $rt_wrapArray(jl_String, [$rt_s(980), $rt_s(3949), $rt_s(18), $rt_s(3950), $rt_s(3951), $rt_s(3952), $rt_s(3953), $rt_s(3954), $rt_s(3955), $rt_s(18)]); }; function cjj_Tree() { let a = this; jl_Object.call(a); a.$dyn_tree = null; a.$max_code = 0; a.$stat_desc = null; } let cjj_Tree_extra_lbits = null, cjj_Tree_extra_dbits = null, cjj_Tree_extra_blbits = null, cjj_Tree_bl_order = null, cjj_Tree__dist_code = null, cjj_Tree__length_code = null, cjj_Tree_base_length = null, cjj_Tree_base_dist = null, cjj_Tree__init_ = $this => { return; }, cjj_Tree__init_0 = () => { let var_0 = new cjj_Tree(); cjj_Tree__init_(var_0); return var_0; }, cjj_Tree_gen_bitlen = ($this, $s) => { let $tree, var$3, $stree, $extra, $base, $max_length, $overflow, $bits, var$10, var$11, $h, $n, $m, var$15, $xbits, $f; $tree = $this.$dyn_tree; var$3 = $this.$stat_desc; $stree = var$3.$static_tree; $extra = var$3.$extra_bits; $base = var$3.$extra_base; $max_length = var$3.$max_length; $overflow = 0; $bits = 0; while ($bits <= 15) { $s.$bl_count.data[$bits] = 0; $bits = $bits + 1 | 0; } var$10 = $tree.data; var$11 = $s.$heap.data; $bits = $s.$heap_max; var$10[(var$11[$bits] * 2 | 0) + 1 | 0] = 0; $h = $bits + 1 | 0; while ($h < 573) { $n = var$11[$h]; $bits = $n * 2 | 0; $m = $bits + 1 | 0; var$15 = var$10[(var$10[$m] * 2 | 0) + 1 | 0] + 1 | 0; if (var$15 > $max_length) { $overflow = $overflow + 1 | 0; var$15 = $max_length; } var$10[$m] = var$15 << 16 >> 16; if ($n <= $this.$max_code) { $tree = $s.$bl_count.data; $tree[var$15] = ($tree[var$15] + 1 | 0) << 16 >> 16; $xbits = 0; if ($n >= $base) $xbits = $extra.data[$n - $base | 0]; $f = var$10[$bits]; $s.$opt_len = $s.$opt_len + $rt_imul($f, var$15 + $xbits | 0) | 0; if ($stree !== null) { $tree = $stree.data; $s.$static_len = $s.$static_len + $rt_imul($f, $tree[$m] + $xbits | 0) | 0; } } $h = $h + 1 | 0; } if (!$overflow) return; $base = $max_length - 1 | 0; while (true) { $n = $base; while (true) { $tree = $s.$bl_count.data; if ($tree[$n]) break; $n = $n + (-1) | 0; } $tree[$n] = ($tree[$n] - 1 | 0) << 16 >> 16; $bits = $n + 1 | 0; $tree[$bits] = ($tree[$bits] + 2 | 0) << 16 >> 16; $tree[$max_length] = ($tree[$max_length] - 1 | 0) << 16 >> 16; $overflow = $overflow + (-2) | 0; if ($overflow <= 0) break; } while ($max_length) { $n = $tree[$max_length]; while ($n) { $h = $h + (-1) | 0; $m = var$11[$h]; if ($m > $this.$max_code) continue; $overflow = $m * 2 | 0; $bits = $overflow + 1 | 0; if (var$10[$bits] != $max_length) { $s.$opt_len = Long_lo(Long_add(Long_fromInt($s.$opt_len), Long_mul(Long_sub(Long_fromInt($max_length), Long_fromInt(var$10[$bits])), Long_fromInt(var$10[$overflow])))); var$10[$bits] = $max_length << 16 >> 16; } $n = $n + (-1) | 0; } $max_length = $max_length + (-1) | 0; } }, cjj_Tree_build_tree = ($this, $s) => { let $tree, var$3, $stree, $node, $max_code, $n, var$8, $m, $node_0, var$11, var$12, var$13, var$14; $tree = $this.$dyn_tree; var$3 = $this.$stat_desc; $stree = var$3.$static_tree; $node = var$3.$elems; $max_code = (-1); $s.$heap_len = 0; $s.$heap_max = 573; $n = 0; while ($n < $node) { var$8 = $tree.data; $m = $n * 2 | 0; if (!var$8[$m]) var$8[$m + 1 | 0] = 0; else { var$8 = $s.$heap.data; $m = $s.$heap_len + 1 | 0; $s.$heap_len = $m; var$8[$m] = $n; $s.$depth0.data[$n] = 0; $max_code = $n; } $n = $n + 1 | 0; } while (true) { $m = $s.$heap_len; if ($m >= 2) break; var$8 = $s.$heap; $node_0 = $m + 1 | 0; $s.$heap_len = $node_0; if ($max_code >= 2) $m = 0; else { $max_code = $max_code + 1 | 0; $m = $max_code; } var$8 = var$8.data; var$11 = $tree.data; var$8[$node_0] = $m; $n = $m * 2 | 0; var$11[$n] = 1; $s.$depth0.data[$m] = 0; $s.$opt_len = $s.$opt_len - 1 | 0; if ($stree === null) continue; var$8 = $stree.data; $s.$static_len = $s.$static_len - var$8[$n + 1 | 0] | 0; } $this.$max_code = $max_code; $m = $m / 2 | 0; while ($m >= 1) { cjj_Deflate_pqdownheap($s, $tree, $m); $m = $m + (-1) | 0; } while (true) { var$8 = $tree.data; $stree = $s.$heap.data; var$12 = $stree[1]; $n = $s.$heap_len; $s.$heap_len = $n - 1 | 0; $stree[1] = $stree[$n]; cjj_Deflate_pqdownheap($s, $tree, 1); $stree = $s.$heap.data; $m = $stree[1]; $node_0 = $s.$heap_max - 1 | 0; $s.$heap_max = $node_0; $stree[$node_0] = var$12; $node_0 = $node_0 - 1 | 0; $s.$heap_max = $node_0; $stree[$node_0] = $m; var$13 = $node * 2 | 0; $node_0 = var$12 * 2 | 0; var$14 = var$8[$node_0]; $n = $m * 2 | 0; var$8[var$13] = (var$14 + var$8[$n] | 0) << 16 >> 16; var$11 = $s.$depth0.data; var$12 = var$11[var$12]; var$13 = var$11[$m]; if (var$12 > var$13) var$13 = var$12; var$11[$node] = (var$13 + 1 | 0) << 24 >> 24; $m = $node_0 + 1 | 0; $node_0 = $n + 1 | 0; $n = $node << 16 >> 16; var$8[$node_0] = $n; var$8[$m] = $n; $node_0 = $node + 1 | 0; $stree[1] = $node; cjj_Deflate_pqdownheap($s, $tree, 1); if ($s.$heap_len < 2) break; $node = $node_0; } var$8 = $s.$heap.data; $m = $s.$heap_max - 1 | 0; $s.$heap_max = $m; var$8[$m] = var$8[1]; cjj_Tree_gen_bitlen($this, $s); cjj_Tree_gen_codes($tree, $max_code, $s.$bl_count, $s.$next_code); }, cjj_Tree_gen_codes = ($tree, $max_code, $bl_count, $next_code) => { let $code, $bits, $n, $len, var$9; $next_code = $next_code.data; $code = 0; $next_code[0] = 0; $bits = 1; while ($bits <= 15) { $code = ($code + $bl_count.data[$bits - 1 | 0] | 0) << 1 << 16 >> 16; $next_code[$bits] = $code; $bits = $bits + 1 | 0; } $n = 0; while ($n <= $max_code) { $bl_count = $tree.data; $code = $n * 2 | 0; $len = $bl_count[$code + 1 | 0]; if ($len) { var$9 = $next_code[$len]; $next_code[$len] = (var$9 + 1 | 0) << 16 >> 16; $bits = 0; while (true) { $bits = $bits | var$9 & 1; var$9 = var$9 >>> 1 | 0; $bits = $bits << 1; $len = $len + (-1) | 0; if ($len <= 0) break; } $bl_count[$code] = ($bits >>> 1 | 0) << 16 >> 16; } $n = $n + 1 | 0; } }, cjj_Tree__clinit_ = () => { cjj_Tree_extra_lbits = $rt_createIntArrayFromData([0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0]); cjj_Tree_extra_dbits = $rt_createIntArrayFromData([0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13]); cjj_Tree_extra_blbits = $rt_createIntArrayFromData([0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7]); cjj_Tree_bl_order = $rt_createByteArrayFromData([16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15]); cjj_Tree__dist_code = $rt_createByteArrayFromData([0, 1, 2, 3, 4, 4, 5, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 15, 0, 0, 16, 17, 18, 18, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29, 29]); cjj_Tree__length_code = $rt_createByteArrayFromData([0, 1, 2, 3, 4, 5, 6, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14, 14, 15, 15, 15, 15, 16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 19, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 27, 28]); cjj_Tree_base_length = $rt_createIntArrayFromData([0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 12, 14, 16, 20, 24, 28, 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 0]); cjj_Tree_base_dist = $rt_createIntArrayFromData([0, 1, 2, 3, 4, 6, 8, 12, 16, 24, 32, 48, 64, 96, 128, 192, 256, 384, 512, 768, 1024, 1536, 2048, 3072, 4096, 6144, 8192, 12288, 16384, 24576]); }; function cjj_Deflate$Config() { let a = this; jl_Object.call(a); a.$good_length = 0; a.$max_lazy = 0; a.$nice_length = 0; a.$max_chain = 0; a.$func = 0; } function cjj_StaticTree() { let a = this; jl_Object.call(a); a.$static_tree = null; a.$extra_bits = null; a.$extra_base = 0; a.$elems = 0; a.$max_length = 0; } let cjj_StaticTree_static_ltree = null, cjj_StaticTree_static_dtree = null, cjj_StaticTree_static_l_desc = null, cjj_StaticTree_static_d_desc = null, cjj_StaticTree_static_bl_desc = null, cjj_StaticTree_$callClinit = () => { cjj_StaticTree_$callClinit = $rt_eraseClinit(cjj_StaticTree); cjj_StaticTree__clinit_(); }, cjj_StaticTree__clinit_ = () => { let var$1, var$2, var$3, var$4, var$5; var$1 = $rt_createShortArrayFromData([12, 8, 140, 8, 76, 8, 204, 8, 44, 8, 172, 8, 108, 8, 236, 8, 28, 8, 156, 8, 92, 8, 220, 8, 60, 8, 188, 8, 124, 8, 252, 8, 2, 8, 130, 8, 66, 8, 194, 8, 34, 8, 162, 8, 98, 8, 226, 8, 18, 8, 146, 8, 82, 8, 210, 8, 50, 8, 178, 8, 114, 8, 242, 8, 10, 8, 138, 8, 74, 8, 202, 8, 42, 8, 170, 8, 106, 8, 234, 8, 26, 8, 154, 8, 90, 8, 218, 8, 58, 8, 186, 8, 122, 8, 250, 8, 6, 8, 134, 8, 70, 8, 198, 8, 38, 8, 166, 8, 102, 8, 230, 8, 22, 8, 150, 8, 86, 8, 214, 8, 54, 8, 182, 8, 118, 8, 246, 8, 14, 8, 142, 8, 78, 8, 206, 8, 46, 8, 174, 8, 110, 8, 238, 8, 30, 8, 158, 8, 94, 8, 222, 8, 62, 8, 190, 8, 126, 8, 254, 8, 1, 8, 129, 8, 65, 8, 193, 8, 33, 8, 161, 8, 97, 8, 225, 8, 17, 8, 145, 8, 81, 8, 209, 8, 49, 8, 177, 8, 113, 8, 241, 8, 9, 8, 137, 8, 73, 8, 201, 8, 41, 8, 169, 8, 105, 8, 233, 8, 25, 8, 153, 8, 89, 8, 217, 8, 57, 8, 185, 8, 121, 8, 249, 8, 5, 8, 133, 8, 69, 8, 197, 8, 37, 8, 165, 8, 101, 8, 229, 8, 21, 8, 149, 8, 85, 8, 213, 8, 53, 8, 181, 8, 117, 8, 245, 8, 13, 8, 141, 8, 77, 8, 205, 8, 45, 8, 173, 8, 109, 8, 237, 8, 29, 8, 157, 8, 93, 8, 221, 8, 61, 8, 189, 8, 125, 8, 253, 8, 19, 9, 275, 9, 147, 9, 403, 9, 83, 9, 339, 9, 211, 9, 467, 9, 51, 9, 307, 9, 179, 9, 435, 9, 115, 9, 371, 9, 243, 9, 499, 9, 11, 9, 267, 9, 139, 9, 395, 9, 75, 9, 331, 9, 203, 9, 459, 9, 43, 9, 299, 9, 171, 9, 427, 9, 107, 9, 363, 9, 235, 9, 491, 9, 27, 9, 283, 9, 155, 9, 411, 9, 91, 9, 347, 9, 219, 9, 475, 9, 59, 9, 315, 9, 187, 9, 443, 9, 123, 9, 379, 9, 251, 9, 507, 9, 7, 9, 263, 9, 135, 9, 391, 9, 71, 9, 327, 9, 199, 9, 455, 9, 39, 9, 295, 9, 167, 9, 423, 9, 103, 9, 359, 9, 231, 9, 487, 9, 23, 9, 279, 9, 151, 9, 407, 9, 87, 9, 343, 9, 215, 9, 471, 9, 55, 9, 311, 9, 183, 9, 439, 9, 119, 9, 375, 9, 247, 9, 503, 9, 15, 9, 271, 9, 143, 9, 399, 9, 79, 9, 335, 9, 207, 9, 463, 9, 47, 9, 303, 9, 175, 9, 431, 9, 111, 9, 367, 9, 239, 9, 495, 9, 31, 9, 287, 9, 159, 9, 415, 9, 95, 9, 351, 9, 223, 9, 479, 9, 63, 9, 319, 9, 191, 9, 447, 9, 127, 9, 383, 9, 255, 9, 511, 9, 0, 7, 64, 7, 32, 7, 96, 7, 16, 7, 80, 7, 48, 7, 112, 7, 8, 7, 72, 7, 40, 7, 104, 7, 24, 7, 88, 7, 56, 7, 120, 7, 4, 7, 68, 7, 36, 7, 100, 7, 20, 7, 84, 7, 52, 7, 116, 7, 3, 8, 131, 8, 67, 8, 195, 8, 35, 8, 163, 8, 99, 8, 227, 8]); cjj_StaticTree_static_ltree = var$1; var$2 = $rt_createShortArrayFromData([0, 5, 16, 5, 8, 5, 24, 5, 4, 5, 20, 5, 12, 5, 28, 5, 2, 5, 18, 5, 10, 5, 26, 5, 6, 5, 22, 5, 14, 5, 30, 5, 1, 5, 17, 5, 9, 5, 25, 5, 5, 5, 21, 5, 13, 5, 29, 5, 3, 5, 19, 5, 11, 5, 27, 5, 7, 5, 23, 5]); cjj_StaticTree_static_dtree = var$2; var$3 = new cjj_StaticTree; var$4 = cjj_Tree_extra_lbits; cjj_StaticTree_$callClinit(); var$3.$static_tree = var$1; var$3.$extra_bits = var$4; var$3.$extra_base = 257; var$3.$elems = 286; var$3.$max_length = 15; cjj_StaticTree_static_l_desc = var$3; var$3 = new cjj_StaticTree; var$1 = cjj_Tree_extra_dbits; var$3.$static_tree = var$2; var$3.$extra_bits = var$1; var$3.$extra_base = 0; var$3.$elems = 30; var$3.$max_length = 15; cjj_StaticTree_static_d_desc = var$3; var$3 = new cjj_StaticTree; var$5 = null; var$1 = cjj_Tree_extra_blbits; var$3.$static_tree = var$5; var$3.$extra_bits = var$1; var$3.$extra_base = 0; var$3.$elems = 19; var$3.$max_length = 7; cjj_StaticTree_static_bl_desc = var$3; }; function nms_ModifiableAttributeInstance() { let a = this; jl_Object.call(a); a.$field_111138_a = null; a.$field_111136_b = null; a.$field_111137_c = null; a.$field_111134_d = null; a.$field_111135_e = null; a.$baseValue = 0.0; a.$field_111133_g = 0; a.$field_111139_h = 0.0; } let nms_ModifiableAttributeInstance__init_0 = ($this, $par1BaseAttributeMap, $par2Attribute) => { let var$3, $var3, var$5, var$6, var$7, var$8; var$3 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$6 = var$5.data; var$3.$elementData = var$5; var$3.$loadFactor = 0.75; var$3.$threshold = var$6.length * 0.75 | 0; $this.$field_111137_c = var$3; var$3 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$5 = var$6.data; var$3.$elementData = var$6; var$3.$loadFactor = 0.75; var$3.$threshold = var$5.length * 0.75 | 0; $this.$field_111134_d = var$3; var$3 = new ju_HashMap; $var3 = ju_HashMap_calculateCapacity(16); var$3.$elementCount = 0; var$6 = $rt_createArray(ju_HashMap$HashEntry, $var3); var$5 = var$6.data; var$3.$elementData = var$6; var$3.$loadFactor = 0.75; var$3.$threshold = var$5.length * 0.75 | 0; $this.$field_111135_e = var$3; $this.$field_111133_g = 1; $this.$field_111138_a = $par1BaseAttributeMap; $this.$field_111136_b = $par2Attribute; $this.$baseValue = $par2Attribute.$defaultValue; $var3 = 0; while ($var3 < 3) { $par1BaseAttributeMap = $this.$field_111137_c; if ($var3 >= (-128) && $var3 <= 127) { jl_Integer_ensureIntegerCache(); $par2Attribute = jl_Integer_integerCache.data[$var3 + 128 | 0]; } else { $par2Attribute = new jl_Integer; $par2Attribute.$value0 = $var3; } var$3 = new ju_HashSet; var$7 = new ju_HashMap; var$8 = ju_HashMap_calculateCapacity(16); var$7.$elementCount = 0; var$5 = $rt_createArray(ju_HashMap$HashEntry, var$8); var$6 = var$5.data; var$7.$elementData = var$5; var$7.$loadFactor = 0.75; var$7.$threshold = var$6.length * 0.75 | 0; var$3.$backingMap = var$7; ju_HashMap_putImpl($par1BaseAttributeMap, $par2Attribute, var$3); $var3 = $var3 + 1 | 0; } }, nms_ModifiableAttributeInstance__init_ = (var_0, var_1) => { let var_2 = new nms_ModifiableAttributeInstance(); nms_ModifiableAttributeInstance__init_0(var_2, var_0, var_1); return var_2; }, nms_ModifiableAttributeInstance_getBaseValue = $this => { return $this.$baseValue; }, nms_ModifiableAttributeInstance_setAttribute = ($this, $par1) => { let var$2; if ($par1 !== $this.$baseValue) { $this.$baseValue = $par1; $this.$field_111133_g = 1; var$2 = $this.$field_111138_a; if ($this.$field_111136_b.$shouldWatch) { var$2 = var$2.$field_111162_d; ju_HashMap_putImpl(var$2.$backingMap, $this, var$2); } } }, nms_ModifiableAttributeInstance_applyModifier = ($this, $par1AttributeModifier) => { let var$2, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; var$2 = $par1AttributeModifier.$id2; $var2 = $this.$field_111135_e; if (var$2 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { var$4 = var$2.$msb; var$5 = var$2.$lsb; var$6 = Long_xor(var$4, var$5); var$7 = Long_hi(var$6) ^ Long_lo(var$6); var$8 = $var2.$elementData.data; $var2 = var$8[var$7 & (var$8.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$7) { a: { var$9 = $var2.$key; if (var$2 !== var$9) { b: { if (var$9 instanceof nle_ProfileUUID) { var$9 = var$9; if (Long_eq(var$9.$lsb, var$5) && Long_eq(var$9.$msb, var$4)) { var$10 = 1; break b; } } var$10 = 0; } if (!var$10) { var$10 = 0; break a; } } var$10 = 1; } if (var$10) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 !== null) { $par1AttributeModifier = new jl_IllegalArgumentException; $par1AttributeModifier.$suppressionEnabled = 1; $par1AttributeModifier.$writableStackTrace = 1; $par1AttributeModifier.$message = $rt_s(3956); $rt_throw($par1AttributeModifier); } $var2 = $this.$field_111134_d; var$2 = $par1AttributeModifier.$name3; if (var$2 === null) { $var2 = $var2.$elementData.data[0]; while ($var2 !== null && $var2.$key !== null) { $var2 = $var2.$next3; } } else { c: { if (!var$2.$hashCode1) { var$7 = 0; while (true) { if (var$7 >= var$2.$nativeString.length) break c; var$2.$hashCode1 = (31 * var$2.$hashCode1 | 0) + var$2.$nativeString.charCodeAt(var$7) | 0; var$7 = var$7 + 1 | 0; } } } var$11 = var$2.$hashCode1; var$8 = $var2.$elementData.data; $var2 = var$8[var$11 & (var$8.length - 1 | 0)]; while ($var2 !== null) { if ($var2.$origKeyHash == var$11) { d: { var$9 = $var2.$key; if (var$2 !== var$9) { if (var$2 === var$9) var$7 = 1; else if (!(var$9 instanceof jl_String)) var$7 = 0; else { var$9 = var$9; var$7 = var$2.$nativeString !== var$9.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break d; } } var$7 = 1; } if (var$7) break; } $var2 = $var2.$next3; } } $var2 = $var2 === null ? null : $var2.$value1; if ($var2 === null) { $var2 = new ju_HashSet; $var2.$backingMap = ju_HashMap__init_(); ju_HashMap_putImpl($this.$field_111134_d, $par1AttributeModifier.$name3, $var2); } var$2 = $this.$field_111137_c; var$10 = $par1AttributeModifier.$operation; if (var$10 >= (-128) && var$10 <= 127) { jl_Integer_ensureIntegerCache(); var$12 = jl_Integer_integerCache.data[var$10 + 128 | 0]; } else { var$12 = new jl_Integer; var$12.$value0 = var$10; } if (var$12 === null) { var$2 = var$2.$elementData.data[0]; while (var$2 !== null && var$2.$key !== null) { var$2 = var$2.$next3; } } else { var$10 = var$12.$value0; var$8 = var$2.$elementData.data; var$2 = var$8[var$10 & (var$8.length - 1 | 0)]; while (var$2 !== null) { if (var$2.$origKeyHash == var$10) { var$9 = var$2.$key; if (var$12 !== var$9 && !(var$12 === var$9 ? 1 : var$9 instanceof jl_Integer && var$9.$value0 == var$10 ? 1 : 0) ? 0 : 1) break; } var$2 = var$2.$next3; } } var$2 = var$2 === null ? null : var$2.$value1; ju_HashMap_putImpl(var$2.$backingMap, $par1AttributeModifier, var$2); ju_HashMap_putImpl($var2.$backingMap, $par1AttributeModifier, $var2); ju_HashMap_putImpl($this.$field_111135_e, $par1AttributeModifier.$id2, $par1AttributeModifier); $this.$field_111133_g = 1; $par1AttributeModifier = $this.$field_111138_a; if ($this.$field_111136_b.$shouldWatch) { $par1AttributeModifier = $par1AttributeModifier.$field_111162_d; ju_HashMap_putImpl($par1AttributeModifier.$backingMap, $this, $par1AttributeModifier); } }, nms_ModifiableAttributeInstance_removeModifier = ($this, $par1AttributeModifier) => { let $var2, $var4, var$4, var$5, var$6, $var3, var$8; $var2 = 0; while ($var2 < 3) { $var4 = $this.$field_111137_c; if ($var2 >= (-128) && $var2 <= 127) { jl_Integer_ensureIntegerCache(); var$4 = jl_Integer_integerCache.data[$var2 + 128 | 0]; } else { var$4 = new jl_Integer; var$4.$value0 = $var2; } if (var$4 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { var$5 = var$4.$value0; var$6 = $var4.$elementData.data; $var4 = var$6[var$5 & (var$6.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$5) { $var3 = $var4.$key; if (var$4 !== $var3 && !(var$4 === $var3 ? 1 : $var3 instanceof jl_Integer && $var3.$value0 == var$5 ? 1 : 0) ? 0 : 1) break; } $var4 = $var4.$next3; } } $var4 = $var4 === null ? null : $var4.$value1; $var4 = ju_HashMap_removeByKey($var4.$backingMap, $par1AttributeModifier); $var2 = $var2 + 1 | 0; } $var4 = $this.$field_111134_d; $var3 = $par1AttributeModifier.$name3; if ($var3 === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { a: { if (!$var3.$hashCode1) { $var2 = 0; while (true) { if ($var2 >= $var3.$nativeString.length) break a; $var3.$hashCode1 = (31 * $var3.$hashCode1 | 0) + $var3.$nativeString.charCodeAt($var2) | 0; $var2 = $var2 + 1 | 0; } } } $var2 = $var3.$hashCode1; var$6 = $var4.$elementData.data; $var4 = var$6[$var2 & (var$6.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var2) { b: { var$4 = $var4.$key; if ($var3 !== var$4) { if ($var3 === var$4) var$8 = 1; else if (!(var$4 instanceof jl_String)) var$8 = 0; else { var$4 = var$4; var$8 = $var3.$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$8) { var$8 = 0; break b; } } var$8 = 1; } if (var$8) break; } $var4 = $var4.$next3; } } $var4 = $var4 === null ? null : $var4.$value1; if ($var4 !== null) { $var3 = ju_HashMap_removeByKey($var4.$backingMap, $par1AttributeModifier); if ($var4.$backingMap.$elementCount ? 0 : 1) ju_HashMap_removeByKey($this.$field_111134_d, $par1AttributeModifier.$name3); } ju_HashMap_removeByKey($this.$field_111135_e, $par1AttributeModifier.$id2); $this.$field_111133_g = 1; $par1AttributeModifier = $this.$field_111138_a; if ($this.$field_111136_b.$shouldWatch) { $par1AttributeModifier = $par1AttributeModifier.$field_111162_d; ju_HashMap_putImpl($par1AttributeModifier.$backingMap, $this, $par1AttributeModifier); } }, nms_ModifiableAttributeInstance_func_111129_g = $this => { let $var1, $var3, $var5, var$4, var$5, $var6, var$7, var$8; $var1 = $this.$baseValue; $var3 = $this.$field_111137_c; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[128]; if ($var5 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$4 = $var5.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$4) { $var6 = $var3.$key; if ($var5 !== $var6 && !($var5 === $var6 ? 1 : $var6 instanceof jl_Integer && $var6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = ($var3 === null ? null : $var3.$value1).$iterator(); while ($var3.$hasNext()) { $var1 = $var1 + ($var3.$next()).$amount; } $var3 = $this.$field_111137_c; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[129]; if ($var5 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$4 = $var5.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$4) { $var6 = $var3.$key; if ($var5 !== $var6 && !($var5 === $var6 ? 1 : $var6 instanceof jl_Integer && $var6.$value0 == var$4 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var5 = ($var3 === null ? null : $var3.$value1).$iterator(); var$7 = $var1; while ($var5.$hasNext()) { var$7 = var$7 + $var1 * ($var5.$next()).$amount; } $var3 = $this.$field_111137_c; jl_Integer_ensureIntegerCache(); $var5 = jl_Integer_integerCache.data[130]; if ($var5 === null) { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } else { var$8 = $var5.$value0; var$5 = $var3.$elementData.data; $var3 = var$5[var$8 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$8) { $var6 = $var3.$key; if ($var5 !== $var6 && !($var5 === $var6 ? 1 : $var6 instanceof jl_Integer && $var6.$value0 == var$8 ? 1 : 0) ? 0 : 1) break; } $var3 = $var3.$next3; } } $var3 = ($var3 === null ? null : $var3.$value1).$iterator(); while ($var3.$hasNext()) { var$7 = var$7 * (1.0 + ($var3.$next()).$amount); } $var3 = $this.$field_111136_b; $var1 = $var3.$minimumValue; if (var$7 >= $var1) $var1 = var$7; var$7 = $var3.$maximumValue; if ($var1 <= var$7) var$7 = $var1; return var$7; }; function nms_NibbleArray() { let a = this; jl_Object.call(a); a.$data8 = null; a.$depthBits = 0; a.$depthBitsPlusFour = 0; } let nms_NibbleArray_get = ($this, $par1, $par2, $par3) => { let $var4, $var5; $var4 = $par2 << $this.$depthBitsPlusFour | $par3 << $this.$depthBits | $par1; $var5 = $var4 >> 1; return !($var4 & 1) ? $this.$data8.data[$var5] & 15 : $this.$data8.data[$var5] >> 4 & 15; }, nms_NibbleArray_set = ($this, $par1, $par2, $par3, $par4) => { let $var5, $var6, var$7; $var5 = $par2 << $this.$depthBitsPlusFour | $par3 << $this.$depthBits | $par1; $var6 = $var5 >> 1; if (!($var5 & 1)) { var$7 = $this.$data8.data; var$7[$var6] = (var$7[$var6] & 240 | $par4 & 15) << 24 >> 24; } else { var$7 = $this.$data8.data; var$7[$var6] = (var$7[$var6] & 15 | ($par4 & 15) << 4) << 24 >> 24; } }; function ju_TreeMap$EntrySet() { let a = this; ju_AbstractSet.call(a); a.$modCount8 = 0; a.$owner0 = null; a.$from = null; a.$fromIncluded = 0; a.$fromChecked = 0; a.$to = null; a.$toIncluded = 0; a.$toChecked = 0; a.$reverse0 = 0; } let ju_TreeMap$EntrySet_ascendingIterator = $this => { let $fromPath, var$2, var$3, var$4, var$5, var$6, var$7, var$8; if ($this.$fromChecked) $fromPath = !$this.$fromIncluded ? ju_TreeMap_pathToNext($this.$owner0, $this.$from, 0) : ju_TreeMap_pathToExactOrNext($this.$owner0, $this.$from, 0); else { var$2 = $this.$owner0.$root; $fromPath = $rt_createArray(ju_TreeMap$TreeNode, var$2 === null ? 0 : var$2.$height1); var$3 = $fromPath.data; var$4 = 0; while (var$2 !== null) { var$5 = var$4 + 1 | 0; var$3[var$4] = var$2; var$2 = var$2.$left; var$4 = var$5; } var$6 = $fromPath.constructor; if (var$6 === null) var$7 = null; else { var$7 = var$6.classObject; if (var$7 === null) { var$7 = new jl_Class; var$7.$platformClass = var$6; var$6.classObject = var$7; } } var$7 = var$7.$platformClass.$meta.item; if (var$7 === null) var$8 = null; else { var$8 = var$7.classObject; if (var$8 === null) { var$8 = new jl_Class; var$8.$platformClass = var$7; var$7.classObject = var$8; } } if (var$8 === null) { var$2 = new jl_NullPointerException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if (var$8 === $rt_cls($rt_voidcls)) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if (var$4 < 0) { var$2 = new jl_NegativeArraySizeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$2 = jlr_Array_newInstanceImpl(var$8.$platformClass, var$4); var$5 = var$3.length; if (var$4 < var$5) var$5 = var$4; var$4 = 0; while (var$4 < var$5) { var$2.data[var$4] = var$3[var$4]; var$4 = var$4 + 1 | 0; } $fromPath = var$2; } return ju_TreeMap$EntryIterator__init_($this.$owner0, $fromPath, $this.$to, $this.$toChecked, $this.$toIncluded, 0); }, ju_TreeMap$EntrySet_descendingIterator = $this => { let $toPath, var$2, var$3, var$4, var$5, var$6, var$7, var$8; if ($this.$toChecked) $toPath = !$this.$toIncluded ? ju_TreeMap_pathToNext($this.$owner0, $this.$to, 1) : ju_TreeMap_pathToExactOrNext($this.$owner0, $this.$to, 1); else { var$2 = $this.$owner0.$root; $toPath = $rt_createArray(ju_TreeMap$TreeNode, var$2 === null ? 0 : var$2.$height1); var$3 = $toPath.data; var$4 = 0; while (var$2 !== null) { var$5 = var$4 + 1 | 0; var$3[var$4] = var$2; var$2 = var$2.$right; var$4 = var$5; } var$6 = $toPath.constructor; if (var$6 === null) var$7 = null; else { var$7 = var$6.classObject; if (var$7 === null) { var$7 = new jl_Class; var$7.$platformClass = var$6; var$6.classObject = var$7; } } var$7 = var$7.$platformClass.$meta.item; if (var$7 === null) var$8 = null; else { var$8 = var$7.classObject; if (var$8 === null) { var$8 = new jl_Class; var$8.$platformClass = var$7; var$7.classObject = var$8; } } if (var$8 === null) { var$2 = new jl_NullPointerException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if (var$8 === $rt_cls($rt_voidcls)) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } if (var$4 < 0) { var$2 = new jl_NegativeArraySizeException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$2 = jlr_Array_newInstanceImpl(var$8.$platformClass, var$4); var$5 = var$3.length; if (var$4 < var$5) var$5 = var$4; var$4 = 0; while (var$4 < var$5) { var$2.data[var$4] = var$3[var$4]; var$4 = var$4 + 1 | 0; } $toPath = var$2; } return ju_TreeMap$EntryIterator__init_($this.$owner0, $toPath, $this.$from, $this.$fromChecked, $this.$fromIncluded, 1); }; function nms_InventoryLargeChest() { let a = this; jl_Object.call(a); a.$name12 = null; a.$upperChest = null; a.$lowerChest = null; } let nms_InventoryLargeChest_getSizeInventory = $this => { return $this.$upperChest.$getSizeInventory() + $this.$lowerChest.$getSizeInventory() | 0; }, nms_InventoryLargeChest_getInvName = $this => { return $this.$upperChest.$isInvNameLocalized() ? $this.$upperChest.$getInvName() : !$this.$lowerChest.$isInvNameLocalized() ? $this.$name12 : $this.$lowerChest.$getInvName(); }, nms_InventoryLargeChest_isInvNameLocalized = $this => { return !$this.$upperChest.$isInvNameLocalized() && !$this.$lowerChest.$isInvNameLocalized() ? 0 : 1; }, nms_InventoryLargeChest_getStackInSlot = ($this, $par1) => { return $par1 < $this.$upperChest.$getSizeInventory() ? $this.$upperChest.$getStackInSlot($par1) : $this.$lowerChest.$getStackInSlot($par1 - $this.$upperChest.$getSizeInventory() | 0); }, nms_InventoryLargeChest_decrStackSize = ($this, $par1, $par2) => { let var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 < $this.$upperChest.$getSizeInventory()) { var$3 = $this.$upperChest; $ptr = 1; continue main; } var$3 = $this.$lowerChest; $par1 = $par1 - $this.$upperChest.$getSizeInventory() | 0; $ptr = 2; continue main; case 1: $tmp = var$3.$decrStackSize($par1, $par2); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; case 2: $tmp = var$3.$decrStackSize($par1, $par2); if ($rt_suspending()) { break main; } var$3 = $tmp; return var$3; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, $ptr); }, nms_InventoryLargeChest_setInventorySlotContents = ($this, $par1, $par2ItemStack) => { let var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();$par2ItemStack = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1 < $this.$upperChest.$getSizeInventory()) { var$3 = $this.$upperChest; $ptr = 1; continue main; } var$3 = $this.$lowerChest; $par1 = $par1 - $this.$upperChest.$getSizeInventory() | 0; $ptr = 2; continue main; case 1: var$3.$setInventorySlotContents($par1, $par2ItemStack); if ($rt_suspending()) { break main; } return; case 2: var$3.$setInventorySlotContents($par1, $par2ItemStack); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2ItemStack, var$3, $ptr); }, nms_InventoryLargeChest_getInventoryStackLimit = $this => { return $this.$upperChest.$getInventoryStackLimit(); }, nms_InventoryLargeChest_onInventoryChanged = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$upperChest; $ptr = 1; case 1: var$1.$onInventoryChanged(); if ($rt_suspending()) { break main; } var$1 = $this.$lowerChest; $ptr = 2; case 2: var$1.$onInventoryChanged(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_InventoryLargeChest_isUseableByPlayer = ($this, $par1EntityPlayer) => { let var$2, var$3, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1EntityPlayer = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$upperChest; $ptr = 1; case 1: $tmp = var$2.$isUseableByPlayer($par1EntityPlayer); if ($rt_suspending()) { break main; } var$3 = $tmp; if (!var$3) return 0; var$2 = $this.$lowerChest; $ptr = 2; case 2: $tmp = var$2.$isUseableByPlayer($par1EntityPlayer); if ($rt_suspending()) { break main; } var$3 = $tmp; return !var$3 ? 0 : 1; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1EntityPlayer, var$2, var$3, $ptr); }, nms_InventoryLargeChest_openChest = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$upperChest; $ptr = 1; case 1: var$1.$openChest(); if ($rt_suspending()) { break main; } var$1 = $this.$lowerChest; $ptr = 2; case 2: var$1.$openChest(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_InventoryLargeChest_closeChest = $this => { let var$1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$upperChest; $ptr = 1; case 1: var$1.$closeChest(); if ($rt_suspending()) { break main; } var$1 = $this.$lowerChest; $ptr = 2; case 2: var$1.$closeChest(); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, $ptr); }, nms_InventoryLargeChest_isItemValidForSlot = ($this, $par1, $par2ItemStack) => { return 1; }; function nms_BlockBaseRailLogic() { let a = this; jl_Object.call(a); a.$logicWorld = null; a.$railX = 0; a.$railY = 0; a.$railZ = 0; a.$isStraightRail = 0; a.$railChunkPosition = null; a.$theRail = null; } let nms_BlockBaseRailLogic__init_0 = ($this, $par1BlockRailBase, $par2World, $par3, $par4, $par5) => { let $var6, $var7; $this.$theRail = $par1BlockRailBase; $par1BlockRailBase = new ju_ArrayList; $par1BlockRailBase.$array = $rt_createArray(jl_Object, 10); $this.$railChunkPosition = $par1BlockRailBase; $this.$logicWorld = $par2World; $this.$railX = $par3; $this.$railY = $par4; $this.$railZ = $par5; $var6 = nms_World_getBlockId($par2World, $par3, $par4, $par5); $var7 = nms_World_getBlockMetadata($par2World, $par3, $par4, $par5); nms_Block_$callClinit(); if (!nms_Block_blocksList.data[$var6].$isPowered) $this.$isStraightRail = 0; else { $this.$isStraightRail = 1; $var7 = $var7 & (-9); } nms_BlockBaseRailLogic_setBasicRail($this, $var7); }, nms_BlockBaseRailLogic__init_ = (var_0, var_1, var_2, var_3, var_4) => { let var_5 = new nms_BlockBaseRailLogic(); nms_BlockBaseRailLogic__init_0(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; }, nms_BlockBaseRailLogic_setBasicRail = ($this, $par1) => { let var$2, var$3, var$4, var$5, var$6, var$7, var$8; var$2 = $this.$railChunkPosition; var$3 = var$2.$array; var$4 = 0; var$5 = var$2.$size0; var$6 = null; if (var$4 > var$5) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while (var$4 < var$5) { var$7 = var$3.data; var$8 = var$4 + 1 | 0; var$7[var$4] = var$6; var$4 = var$8; } a: { var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; if (!$par1) { var$6 = new nms_ChunkPosition; $par1 = $this.$railX; var$4 = $this.$railY; var$5 = $this.$railZ - 1 | 0; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, 1); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$railChunkPosition; var$6 = new nms_ChunkPosition; $par1 = $this.$railX; var$4 = $this.$railY; var$5 = $this.$railZ + 1 | 0; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; break a; } if ($par1 == 1) { var$6 = new nms_ChunkPosition; $par1 = $this.$railX - 1 | 0; var$4 = $this.$railY; var$5 = $this.$railZ; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, 1); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$railChunkPosition; var$6 = new nms_ChunkPosition; $par1 = $this.$railX + 1 | 0; var$4 = $this.$railY; var$5 = $this.$railZ; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; break a; } if ($par1 == 2) { var$6 = new nms_ChunkPosition; $par1 = $this.$railX - 1 | 0; var$4 = $this.$railY; var$5 = $this.$railZ; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, 1); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$railChunkPosition; var$6 = new nms_ChunkPosition; $par1 = $this.$railX + 1 | 0; var$4 = $this.$railY + 1 | 0; var$5 = $this.$railZ; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; break a; } if ($par1 == 3) { var$6 = new nms_ChunkPosition; $par1 = $this.$railX - 1 | 0; var$4 = $this.$railY + 1 | 0; var$5 = $this.$railZ; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, 1); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$railChunkPosition; var$6 = new nms_ChunkPosition; $par1 = $this.$railX + 1 | 0; var$4 = $this.$railY; var$5 = $this.$railZ; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; break a; } if ($par1 == 4) { var$6 = new nms_ChunkPosition; $par1 = $this.$railX; var$4 = $this.$railY + 1 | 0; var$5 = $this.$railZ - 1 | 0; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, 1); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$railChunkPosition; var$6 = new nms_ChunkPosition; $par1 = $this.$railX; var$4 = $this.$railY; var$5 = $this.$railZ + 1 | 0; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; break a; } if ($par1 == 5) { var$6 = new nms_ChunkPosition; $par1 = $this.$railX; var$4 = $this.$railY; var$5 = $this.$railZ - 1 | 0; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, 1); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$railChunkPosition; var$6 = new nms_ChunkPosition; $par1 = $this.$railX; var$4 = $this.$railY + 1 | 0; var$5 = $this.$railZ + 1 | 0; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; break a; } if ($par1 == 6) { var$6 = new nms_ChunkPosition; $par1 = $this.$railX + 1 | 0; var$4 = $this.$railY; var$5 = $this.$railZ; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, 1); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$railChunkPosition; var$6 = new nms_ChunkPosition; $par1 = $this.$railX; var$4 = $this.$railY; var$5 = $this.$railZ + 1 | 0; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; break a; } if ($par1 == 7) { var$6 = new nms_ChunkPosition; $par1 = $this.$railX - 1 | 0; var$4 = $this.$railY; var$5 = $this.$railZ; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, 1); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$railChunkPosition; var$6 = new nms_ChunkPosition; $par1 = $this.$railX; var$4 = $this.$railY; var$5 = $this.$railZ + 1 | 0; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; break a; } if ($par1 == 8) { var$6 = new nms_ChunkPosition; $par1 = $this.$railX - 1 | 0; var$4 = $this.$railY; var$5 = $this.$railZ; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, 1); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$railChunkPosition; var$6 = new nms_ChunkPosition; $par1 = $this.$railX; var$4 = $this.$railY; var$5 = $this.$railZ - 1 | 0; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; break a; } if ($par1 != 9) break a; var$6 = new nms_ChunkPosition; $par1 = $this.$railX + 1 | 0; var$4 = $this.$railY; var$5 = $this.$railZ; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, 1); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = $this.$railChunkPosition; var$6 = new nms_ChunkPosition; $par1 = $this.$railX; var$4 = $this.$railY; var$5 = $this.$railZ - 1 | 0; var$6.$x0 = $par1; var$6.$y0 = var$4; var$6.$z0 = var$5; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$6; var$2.$modCount = var$2.$modCount + 1 | 0; } }, nms_BlockBaseRailLogic_refreshConnectedTracks = $this => { let $var1, $var2, var$3, var$4, var$5, var$6, var$7; $var1 = 0; a: { b: { while (true) { $var2 = $this.$railChunkPosition; var$3 = $rt_compare($var1, $var2.$size0); if (var$3 >= 0) break; if ($var1 < 0) break a; if (var$3 >= 0) break a; $var2 = nms_BlockBaseRailLogic_getRailLogic($this, $var2.$array.data[$var1]); if ($var2 !== null && nms_BlockBaseRailLogic_isRailChunkPositionCorrect($var2, $this)) { var$4 = $this.$railChunkPosition; var$5 = new nms_ChunkPosition; var$3 = $var2.$railX; var$6 = $var2.$railY; var$7 = $var2.$railZ; var$5.$x0 = var$3; var$5.$y0 = var$6; var$5.$z0 = var$7; if ($var1 < 0) break b; if ($var1 >= var$4.$size0) break b; var$4.$array.data[$var1] = var$5; var$3 = $var1; } else { $var2 = $this.$railChunkPosition; var$3 = $var1 + (-1) | 0; ju_ArrayList_remove($var2, $var1); } $var1 = var$3 + 1 | 0; } return; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; $rt_throw($var2); }, nms_BlockBaseRailLogic_getRailLogic = ($this, $par1ChunkPosition) => { return nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, $par1ChunkPosition.$x0, $par1ChunkPosition.$y0, $par1ChunkPosition.$z0)) ? nms_BlockBaseRailLogic__init_($this.$theRail, $this.$logicWorld, $par1ChunkPosition.$x0, $par1ChunkPosition.$y0, $par1ChunkPosition.$z0) : nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, $par1ChunkPosition.$x0, $par1ChunkPosition.$y0 + 1 | 0, $par1ChunkPosition.$z0)) ? nms_BlockBaseRailLogic__init_($this.$theRail, $this.$logicWorld, $par1ChunkPosition.$x0, $par1ChunkPosition.$y0 + 1 | 0, $par1ChunkPosition.$z0) : !nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, $par1ChunkPosition.$x0, $par1ChunkPosition.$y0 - 1 | 0, $par1ChunkPosition.$z0)) ? null : nms_BlockBaseRailLogic__init_($this.$theRail, $this.$logicWorld, $par1ChunkPosition.$x0, $par1ChunkPosition.$y0 - 1 | 0, $par1ChunkPosition.$z0); }, nms_BlockBaseRailLogic_isRailChunkPositionCorrect = ($this, $par1BlockBaseRailLogic) => { let $var2, $var3, var$4; $var2 = 0; a: { while (true) { $var3 = $this.$railChunkPosition; var$4 = $rt_compare($var2, $var3.$size0); if (var$4 >= 0) break; if ($var2 < 0) break a; if (var$4 >= 0) break a; $var3 = $var3.$array.data[$var2]; if ($var3.$x0 == $par1BlockBaseRailLogic.$railX && $var3.$z0 == $par1BlockBaseRailLogic.$railZ) return 1; $var2 = $var2 + 1 | 0; } return 0; } $par1BlockBaseRailLogic = new jl_IndexOutOfBoundsException; $par1BlockBaseRailLogic.$suppressionEnabled = 1; $par1BlockBaseRailLogic.$writableStackTrace = 1; $rt_throw($par1BlockBaseRailLogic); }, nms_BlockBaseRailLogic_isPartOfTrack = ($this, $par1, $par2, $par3) => { let $var4, $var5; $var4 = 0; a: { while (true) { $var5 = $this.$railChunkPosition; $par2 = $rt_compare($var4, $var5.$size0); if ($par2 >= 0) break; if ($var4 < 0) break a; if ($par2 >= 0) break a; $var5 = $var5.$array.data[$var4]; if ($var5.$x0 == $par1 && $var5.$z0 == $par3) return 1; $var4 = $var4 + 1 | 0; } return 0; } $var5 = new jl_IndexOutOfBoundsException; $var5.$suppressionEnabled = 1; $var5.$writableStackTrace = 1; $rt_throw($var5); }, nms_BlockBaseRailLogic_getNumberOfAdjacentTracks = $this => { let $var1, var$2, var$3, var$4, var$5; $var1 = 0; var$2 = $this.$railX; var$3 = $this.$railY; var$4 = $this.$railZ - 1 | 0; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, var$2, var$3, var$4)) ? 1 : nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, var$2, var$3 + 1 | 0, var$4)) ? 1 : nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, var$2, var$3 - 1 | 0, var$4))) $var1 = 1; var$5 = $this.$railX; var$2 = $this.$railY; var$4 = $this.$railZ + 1 | 0; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, var$5, var$2, var$4)) ? 1 : nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, var$5, var$2 + 1 | 0, var$4)) ? 1 : nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, var$5, var$2 - 1 | 0, var$4))) $var1 = $var1 + 1 | 0; var$5 = $this.$railX - 1 | 0; var$2 = $this.$railY; var$4 = $this.$railZ; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, var$5, var$2, var$4)) ? 1 : nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, var$5, var$2 + 1 | 0, var$4)) ? 1 : nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, var$5, var$2 - 1 | 0, var$4))) $var1 = $var1 + 1 | 0; var$5 = $this.$railX + 1 | 0; var$2 = $this.$railY; var$4 = $this.$railZ; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, var$5, var$2, var$4)) ? 1 : nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, var$5, var$2 + 1 | 0, var$4)) ? 1 : nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, var$5, var$2 - 1 | 0, var$4))) $var1 = $var1 + 1 | 0; return $var1; }, nms_BlockBaseRailLogic_connectToNeighbor = ($this, $par1BlockBaseRailLogic) => { let var$2, var$3, $var2, $var3, $var4, var$7, $var5, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();var$7 = $thread.pop();$var4 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1BlockBaseRailLogic = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$2 = $this.$railChunkPosition; var$3 = new nms_ChunkPosition; $var2 = $par1BlockBaseRailLogic.$railX; $var3 = $par1BlockBaseRailLogic.$railY; $var4 = $par1BlockBaseRailLogic.$railZ; var$3.$x0 = $var2; var$3.$y0 = $var3; var$3.$z0 = $var4; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$7 = var$2.$array.data; $var3 = var$2.$size0; var$2.$size0 = $var3 + 1 | 0; var$7[$var3] = var$3; var$2.$modCount = var$2.$modCount + 1 | 0; $var2 = nms_BlockBaseRailLogic_isPartOfTrack($this, $this.$railX, $this.$railY, $this.$railZ - 1 | 0); $var3 = nms_BlockBaseRailLogic_isPartOfTrack($this, $this.$railX, $this.$railY, $this.$railZ + 1 | 0); $var4 = nms_BlockBaseRailLogic_isPartOfTrack($this, $this.$railX - 1 | 0, $this.$railY, $this.$railZ); $var5 = nms_BlockBaseRailLogic_isPartOfTrack($this, $this.$railX + 1 | 0, $this.$railY, $this.$railZ); $var6 = (-1); if (!(!$var2 && !$var3)) $var6 = 0; if (!(!$var4 && !$var5)) $var6 = 1; if (!$this.$isStraightRail) { if ($var3 && $var5 && !$var2 && !$var4) $var6 = 6; if ($var3 && $var4 && !$var2 && !$var5) $var6 = 7; if ($var2 && $var4 && !$var3 && !$var5) $var6 = 8; if ($var2 && $var5 && !$var3 && !$var4) $var6 = 9; } if (!$var6) { if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, $this.$railX, $this.$railY + 1 | 0, $this.$railZ - 1 | 0))) $var6 = 4; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, $this.$railX, $this.$railY + 1 | 0, $this.$railZ + 1 | 0))) $var6 = 5; } if ($var6 == 1) { if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, $this.$railX + 1 | 0, $this.$railY + 1 | 0, $this.$railZ))) $var6 = 2; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, $this.$railX - 1 | 0, $this.$railY + 1 | 0, $this.$railZ))) $var6 = 3; } if ($var6 < 0) $var6 = 0; if ($this.$isStraightRail) $var6 = nms_World_getBlockMetadata($this.$logicWorld, $this.$railX, $this.$railY, $this.$railZ) & 8 | $var6; $par1BlockBaseRailLogic = $this.$logicWorld; $var2 = $this.$railX; $var3 = $this.$railY; $var4 = $this.$railZ; $var5 = 3; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($par1BlockBaseRailLogic, $var2, $var3, $var4, $var6, $var5); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1BlockBaseRailLogic, var$2, var$3, $var2, $var3, $var4, var$7, $var5, $var6, $ptr); }, nms_BlockBaseRailLogic_func_94511_a = ($this, $par1, $par2) => { let $var5, $var6, $var3, $var10, $var4, $var7, $var9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var4 = $thread.pop();$var10 = $thread.pop();$var3 = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = $this.$railX; $var6 = $this.$railY; $var3 = $this.$railZ - 1 | 0; $var10 = new nms_ChunkPosition; $var10.$x0 = $var5; $var10.$y0 = $var6; $var10.$z0 = $var3; $var10 = nms_BlockBaseRailLogic_getRailLogic($this, $var10); if ($var10 === null) $var3 = 0; else { nms_BlockBaseRailLogic_refreshConnectedTracks($var10); if (!nms_BlockBaseRailLogic_isRailChunkPositionCorrect($var10, $this)) { $var6 = $var10.$railChunkPosition.$size0; $var3 = $var6 != 2 ? (!($var6 ? 0 : 1) ? 1 : 1) : 0; } else $var3 = 1; } $var5 = $this.$railX; $var6 = $this.$railY; $var4 = $this.$railZ + 1 | 0; $var10 = new nms_ChunkPosition; $var10.$x0 = $var5; $var10.$y0 = $var6; $var10.$z0 = $var4; $var10 = nms_BlockBaseRailLogic_getRailLogic($this, $var10); if ($var10 === null) $var4 = 0; else { nms_BlockBaseRailLogic_refreshConnectedTracks($var10); if (nms_BlockBaseRailLogic_isRailChunkPositionCorrect($var10, $this)) $var4 = 1; else { $var6 = $var10.$railChunkPosition.$size0; $var4 = $var6 == 2 ? 0 : !($var6 ? 0 : 1) ? 1 : 1; } } $var5 = $this.$railX - 1 | 0; $var6 = $this.$railY; $var7 = $this.$railZ; $var10 = new nms_ChunkPosition; $var10.$x0 = $var5; $var10.$y0 = $var6; $var10.$z0 = $var7; $var10 = nms_BlockBaseRailLogic_getRailLogic($this, $var10); if ($var10 === null) $var5 = 0; else { nms_BlockBaseRailLogic_refreshConnectedTracks($var10); if (nms_BlockBaseRailLogic_isRailChunkPositionCorrect($var10, $this)) $var5 = 1; else { $var6 = $var10.$railChunkPosition.$size0; $var5 = $var6 == 2 ? 0 : !($var6 ? 0 : 1) ? 1 : 1; } } $var6 = $this.$railX + 1 | 0; $var7 = $this.$railY; $var9 = $this.$railZ; $var10 = new nms_ChunkPosition; $var10.$x0 = $var6; $var10.$y0 = $var7; $var10.$z0 = $var9; $var10 = nms_BlockBaseRailLogic_getRailLogic($this, $var10); if ($var10 === null) $var6 = 0; else { nms_BlockBaseRailLogic_refreshConnectedTracks($var10); if (!nms_BlockBaseRailLogic_isRailChunkPositionCorrect($var10, $this)) { $var7 = $var10.$railChunkPosition.$size0; $var6 = $var7 != 2 ? (!($var7 ? 0 : 1) ? 1 : 1) : 0; } else $var6 = 1; } $var7 = (-1); if (!(!$var3 && !$var4) && !$var5 && !$var6) $var7 = 0; if (!(!$var5 && !$var6) && !$var3 && !$var4) $var7 = 1; $var9 = $this.$isStraightRail; if (!$var9) { if ($var4 && $var6 && !$var3 && !$var5) $var7 = 6; if ($var4 && $var5 && !$var3 && !$var6) $var7 = 7; if ($var3 && $var5 && !$var4 && !$var6) $var7 = 8; if ($var3 && $var6 && !$var4 && !$var5) $var7 = 9; } if ($var7 == (-1)) { if (!(!$var3 && !$var4)) $var7 = 0; if (!(!$var5 && !$var6)) $var7 = 1; if (!$var9) { if (!$par1) { if ($var3 && $var5) $var7 = 8; if ($var6 && $var3) $var7 = 9; if ($var5 && $var4) $var7 = 7; if ($var4 && $var6) $var7 = 6; } else { if ($var4 && $var6) $var7 = 6; if ($var5 && $var4) $var7 = 7; if ($var6 && $var3) $var7 = 9; if ($var3 && $var5) $var7 = 8; } } } if (!$var7) { if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, $this.$railX, $this.$railY + 1 | 0, $this.$railZ - 1 | 0))) $var7 = 4; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, $this.$railX, $this.$railY + 1 | 0, $this.$railZ + 1 | 0))) $var7 = 5; } if ($var7 == 1) { if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, $this.$railX + 1 | 0, $this.$railY + 1 | 0, $this.$railZ))) $var7 = 2; if (nms_BlockRailBase_isRailBlock(nms_World_getBlockId($this.$logicWorld, $this.$railX - 1 | 0, $this.$railY + 1 | 0, $this.$railZ))) $var7 = 3; } if ($var7 < 0) $var7 = 0; nms_BlockBaseRailLogic_setBasicRail($this, $var7); if ($this.$isStraightRail) $var7 = nms_World_getBlockMetadata($this.$logicWorld, $this.$railX, $this.$railY, $this.$railZ) & 8 | $var7; if (!$par2 && nms_World_getBlockMetadata($this.$logicWorld, $this.$railX, $this.$railY, $this.$railZ) == $var7) return; $var10 = $this.$logicWorld; $par2 = $this.$railX; $var5 = $this.$railY; $var6 = $this.$railZ; $par1 = 3; $ptr = 1; case 1: nms_World_setBlockMetadataWithNotify($var10, $par2, $var5, $var6, $var7, $par1); if ($rt_suspending()) { break main; } $var9 = 0; a: { while (true) { $var10 = $this.$railChunkPosition; $par1 = $rt_compare($var9, $var10.$size0); if ($par1 >= 0) break; if ($var9 < 0) break a; if ($par1 >= 0) break a; $var10 = nms_BlockBaseRailLogic_getRailLogic($this, $var10.$array.data[$var9]); if ($var10 !== null) { nms_BlockBaseRailLogic_refreshConnectedTracks($var10); if (nms_BlockBaseRailLogic_isRailChunkPositionCorrect($var10, $this)) $par1 = 1; else { $par2 = $var10.$railChunkPosition.$size0; $par1 = $par2 == 2 ? 0 : !($par2 ? 0 : 1) ? 1 : 1; } if ($par1) { $ptr = 2; continue main; } } $var9 = $var9 + 1 | 0; } return; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); case 2: nms_BlockBaseRailLogic_connectToNeighbor($var10, $this); if ($rt_suspending()) { break main; } a: { while (true) { $var9 = $var9 + 1 | 0; $var10 = $this.$railChunkPosition; $par1 = $rt_compare($var9, $var10.$size0); if ($par1 >= 0) break; if ($var9 < 0) break a; if ($par1 >= 0) break a; $var10 = nms_BlockBaseRailLogic_getRailLogic($this, $var10.$array.data[$var9]); if ($var10 === null) continue; nms_BlockBaseRailLogic_refreshConnectedTracks($var10); if (nms_BlockBaseRailLogic_isRailChunkPositionCorrect($var10, $this)) $par1 = 1; else { $par2 = $var10.$railChunkPosition.$size0; $par1 = $par2 == 2 ? 0 : !($par2 ? 0 : 1) ? 1 : 1; } if (!$par1) continue; else { continue main; } } return; } $var10 = new jl_IndexOutOfBoundsException; $var10.$suppressionEnabled = 1; $var10.$writableStackTrace = 1; $rt_throw($var10); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var5, $var6, $var3, $var10, $var4, $var7, $var9, $ptr); }; function nms_GuiScreenBook() { let a = this; nms_GuiScreen.call(a); a.$editingPlayer = null; a.$itemstackBook = null; a.$bookIsUnsigned = 0; a.$bookModified = 0; a.$editingTitle = 0; a.$updateCount = 0; a.$bookImageWidth = 0; a.$bookImageHeight = 0; a.$bookTotalPages = 0; a.$currPage = 0; a.$bookPages = null; a.$bookTitle = null; a.$buttonNextPage = null; a.$buttonPreviousPage = null; a.$buttonDone = null; a.$buttonSign = null; a.$buttonFinalize = null; a.$buttonCancel = null; } let nms_GuiScreenBook_bookGuiTextures = null, nms_GuiScreenBook_$callClinit = () => { nms_GuiScreenBook_$callClinit = $rt_eraseClinit(nms_GuiScreenBook); nms_GuiScreenBook__clinit_(); }, nms_GuiScreenBook__init_0 = ($this, $par1EntityPlayer, $par2ItemStack, $par3) => { let var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11; nms_GuiScreenBook_$callClinit(); nms_GuiScreen_$callClinit(); nms_Gui_$callClinit(); var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $this.$buttonList = var$4; $this.$allowUserInput = 0; $this.$selectedButton = null; $this.$eventButton = 0; $this.$field_85043_c = Long_ZERO; $this.$field_92018_d = 0; $this.$bookImageWidth = 192; $this.$bookImageHeight = 192; $this.$bookTotalPages = 1; $this.$bookTitle = $rt_s(18); $this.$editingPlayer = $par1EntityPlayer; $this.$itemstackBook = $par2ItemStack; $this.$bookIsUnsigned = $par3; var$5 = $par2ItemStack.$stackTagCompound; var$6 = var$5 === null ? 0 : 1; a: { if (var$6) { b: { $par2ItemStack = var$5.$tagMap; if (!$rt_s(3957).$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $rt_s(3957).$nativeString.length) break b; $rt_s(3957).$hashCode1 = (31 * $rt_s(3957).$hashCode1 | 0) + $rt_s(3957).$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$7 = $rt_s(3957).$hashCode1; var$8 = $par2ItemStack.$elementData.data; $par2ItemStack = var$8[var$7 & (var$8.length - 1 | 0)]; while ($par2ItemStack !== null) { if ($par2ItemStack.$origKeyHash == var$7) { c: { var$4 = $par2ItemStack.$key; if ($rt_s(3957) !== var$4) { if ($rt_s(3957) === var$4) var$6 = 1; else if (!(var$4 instanceof jl_String)) var$6 = 0; else { var$4 = var$4; var$6 = $rt_s(3957).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break c; } } var$6 = 1; } if (var$6) break; } $par2ItemStack = $par2ItemStack.$next3; } if (!($par2ItemStack === null ? 0 : 1)) { $par2ItemStack = new nms_NBTTagList; if ($rt_s(3957) !== null) $par2ItemStack.$name = $rt_s(3957); else $par2ItemStack.$name = $rt_s(18); $par1EntityPlayer = new ju_ArrayList; $par1EntityPlayer.$array = $rt_createArray(jl_Object, 10); $par2ItemStack.$tagList = $par1EntityPlayer; } else { $par2ItemStack = var$5.$tagMap; if ($rt_s(3957) === null) { $par2ItemStack = $par2ItemStack.$elementData.data[0]; while ($par2ItemStack !== null && $par2ItemStack.$key !== null) { $par2ItemStack = $par2ItemStack.$next3; } } else { d: { if (!$rt_s(3957).$hashCode1) { var$6 = 0; while (true) { if (var$6 >= $rt_s(3957).$nativeString.length) break d; $rt_s(3957).$hashCode1 = (31 * $rt_s(3957).$hashCode1 | 0) + $rt_s(3957).$nativeString.charCodeAt(var$6) | 0; var$6 = var$6 + 1 | 0; } } } var$7 = $rt_s(3957).$hashCode1; var$8 = $par2ItemStack.$elementData.data; $par2ItemStack = var$8[var$7 & (var$8.length - 1 | 0)]; while ($par2ItemStack !== null) { if ($par2ItemStack.$origKeyHash == var$7) { e: { var$4 = $par2ItemStack.$key; if ($rt_s(3957) !== var$4) { if ($rt_s(3957) === var$4) var$6 = 1; else if (!(var$4 instanceof jl_String)) var$6 = 0; else { var$4 = var$4; var$6 = $rt_s(3957).$nativeString !== var$4.$nativeString ? 0 : 1; } if (!var$6) { var$6 = 0; break e; } } var$6 = 1; } if (var$6) break; } $par2ItemStack = $par2ItemStack.$next3; } } $par2ItemStack = $par2ItemStack === null ? null : $par2ItemStack.$value1; } $this.$bookPages = $par2ItemStack; if ($par2ItemStack !== null) { $par1EntityPlayer = new nms_NBTTagList; var$4 = $par2ItemStack.$name; if (var$4 === null) var$4 = $rt_s(18); $par1EntityPlayer.$name = var$4; var$4 = new ju_ArrayList; var$4.$array = $rt_createArray(jl_Object, 10); $par1EntityPlayer.$tagList = var$4; $par1EntityPlayer.$tagType = $par2ItemStack.$tagType; $par2ItemStack = $par2ItemStack.$tagList; var$9 = 0; var$10 = $par2ItemStack.$modCount; var$11 = $par2ItemStack.$size(); while (true) { if (!(var$9 >= var$11 ? 0 : 1)) { $this.$bookPages = $par1EntityPlayer; var$9 = $par1EntityPlayer.$tagList.$size0; $this.$bookTotalPages = var$9; if (var$9 >= 1) break a; $this.$bookTotalPages = 1; break a; } if (var$10 < $par2ItemStack.$modCount) break; var$7 = var$9 + 1 | 0; var$4 = ($par2ItemStack.$get(var$9)).$copy(); var$5 = $par1EntityPlayer.$tagList; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$8 = var$5.$array.data; var$9 = var$5.$size0; var$5.$size0 = var$9 + 1 | 0; var$8[var$9] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; var$9 = var$7; } $par1EntityPlayer = new ju_ConcurrentModificationException; $par1EntityPlayer.$suppressionEnabled = 1; $par1EntityPlayer.$writableStackTrace = 1; $rt_throw($par1EntityPlayer); } } } if ($this.$bookPages === null && $par3) { $par2ItemStack = new nms_NBTTagList; $par2ItemStack.$name = $rt_s(3957); var$5 = new ju_ArrayList; var$5.$array = $rt_createArray(jl_Object, 10); $par2ItemStack.$tagList = var$5; $this.$bookPages = $par2ItemStack; var$4 = new nms_NBTTagString; var$4.$name = $rt_s(225); var$4.$data1 = $rt_s(18); $par2ItemStack.$tagType = 8; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$8 = var$5.$array.data; $par3 = var$5.$size0; var$5.$size0 = $par3 + 1 | 0; var$8[$par3] = var$4; var$5.$modCount = var$5.$modCount + 1 | 0; $this.$bookTotalPages = 1; } }, nms_GuiScreenBook__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_GuiScreenBook(); nms_GuiScreenBook__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_GuiScreenBook_updateScreen = $this => { $this.$updateCount = $this.$updateCount + 1 | 0; }, nms_GuiScreenBook_initGui = $this => { let var$1, var$2, $var1, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$buttonList; var$2 = var$1.$array; $var1 = 0; var$4 = var$1.$size0; var$5 = null; if ($var1 > var$4) { var$5 = new jl_IllegalArgumentException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } while ($var1 < var$4) { var$6 = var$2.data; var$7 = $var1 + 1 | 0; var$6[$var1] = var$5; $var1 = var$7; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 1; if (!$this.$bookIsUnsigned) { var$5 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) - 100 | 0; var$8 = 4 + $this.$bookImageHeight | 0; nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(646)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 0; var$5.$xPosition = var$7; var$5.$yPosition = var$8; var$5.$width0 = 200; var$5.$height0 = 20; var$5.$displayString = var$9; $this.$buttonDone = var$5; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; } else { var$5 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 100 | 0; var$7 = 4 + $this.$bookImageHeight | 0; nms_StatCollector_$callClinit(); var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3958)); nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$5.$width0 = 200; var$5.$height0 = 20; var$5.$enabled = 1; var$5.$drawButton0 = 1; var$5.$id0 = 3; var$5.$xPosition = var$4; var$5.$yPosition = var$7; var$5.$width0 = 98; var$5.$height0 = 20; var$5.$displayString = var$9; $this.$buttonSign = var$5; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$2 = var$1.$array.data; var$4 = var$1.$size0; var$1.$size0 = var$4 + 1 | 0; var$2[var$4] = var$5; var$1.$modCount = var$1.$modCount + 1 | 0; var$5 = $this.$buttonList; var$1 = new nms_GuiButton; var$7 = ($this.$width / 2 | 0) + 2 | 0; var$8 = 4 + $this.$bookImageHeight | 0; var$9 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(646)); var$1.$width0 = 200; var$1.$height0 = 20; var$1.$enabled = 1; var$1.$drawButton0 = 1; var$1.$id0 = 0; var$1.$xPosition = var$7; var$1.$yPosition = var$8; var$1.$width0 = 98; var$1.$height0 = 20; var$1.$displayString = var$9; $this.$buttonDone = var$1; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$2[var$4] = var$1; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$buttonList; var$9 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) - 100 | 0; var$7 = 4 + $this.$bookImageHeight | 0; var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3959)); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 5; var$9.$xPosition = var$4; var$9.$yPosition = var$7; var$9.$width0 = 98; var$9.$height0 = 20; var$9.$displayString = var$1; $this.$buttonFinalize = var$9; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$2[var$4] = var$9; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$buttonList; var$9 = new nms_GuiButton; var$4 = ($this.$width / 2 | 0) + 2 | 0; var$7 = 4 + $this.$bookImageHeight | 0; var$1 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1626)); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 4; var$9.$xPosition = var$4; var$9.$yPosition = var$7; var$9.$width0 = 98; var$9.$height0 = 20; var$9.$displayString = var$1; $this.$buttonCancel = var$9; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$2[var$4] = var$9; var$5.$modCount = var$5.$modCount + 1 | 0; } $var1 = ($this.$width - $this.$bookImageWidth | 0) / 2 | 0; var$5 = $this.$buttonList; var$9 = new nms_GuiButtonNextPage; var$7 = $var1 + 120 | 0; nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 1; var$9.$xPosition = var$7; var$9.$yPosition = 156; var$9.$width0 = 23; var$9.$height0 = 13; var$9.$displayString = $rt_s(18); var$9.$nextPage = 1; $this.$buttonNextPage = var$9; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$7 = var$5.$size0; var$5.$size0 = var$7 + 1 | 0; var$2[var$7] = var$9; var$5.$modCount = var$5.$modCount + 1 | 0; var$5 = $this.$buttonList; var$9 = new nms_GuiButtonNextPage; $var1 = $var1 + 38 | 0; var$9.$width0 = 200; var$9.$height0 = 20; var$9.$enabled = 1; var$9.$drawButton0 = 1; var$9.$id0 = 2; var$9.$xPosition = $var1; var$9.$yPosition = 156; var$9.$width0 = 23; var$9.$height0 = 13; var$9.$displayString = $rt_s(18); var$9.$nextPage = 0; $this.$buttonPreviousPage = var$9; ju_ArrayList_ensureCapacity(var$5, var$5.$size0 + 1 | 0); var$2 = var$5.$array.data; var$4 = var$5.$size0; var$5.$size0 = var$4 + 1 | 0; var$2[var$4] = var$9; var$5.$modCount = var$5.$modCount + 1 | 0; nms_GuiScreenBook_updateButtons($this); }, nms_GuiScreenBook_onGuiClosed = $this => { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_enableRepeatEvents = 0; }, nms_GuiScreenBook_updateButtons = $this => { let var$1, var$2, var$3; a: { b: { var$1 = $this.$buttonNextPage; var$2 = $this.$editingTitle; if (!var$2) { if ($this.$currPage < ($this.$bookTotalPages - 1 | 0)) break b; if ($this.$bookIsUnsigned) break b; } var$3 = 0; break a; } var$3 = 1; } var$1.$drawButton0 = var$3; $this.$buttonPreviousPage.$drawButton0 = !var$2 && $this.$currPage > 0 ? 1 : 0; var$1 = $this.$buttonDone; var$3 = $this.$bookIsUnsigned; var$1.$drawButton0 = var$3 && var$2 ? 0 : 1; if (var$3) { $this.$buttonSign.$drawButton0 = var$2 ? 0 : 1; $this.$buttonCancel.$drawButton0 = var$2; var$1 = $this.$buttonFinalize; var$1.$drawButton0 = var$2; var$1.$enabled = (jl_String_trim($this.$bookTitle)).$nativeString.length <= 0 ? 0 : 1; } }, nms_GuiScreenBook_sendBookToServer = ($this, $par1) => { let $var8, var$3, var$4, $var7, $var3, $var4, $var6, $var2, var$10, var$11, $$je; a: { if ($this.$bookIsUnsigned && $this.$bookModified && $this.$bookPages !== null) { b: { while (true) { $var8 = $this.$bookPages.$tagList; var$3 = $var8.$size0; if (var$3 <= 1) break b; var$4 = var$3 - 1 | 0; if (var$4 < 0) break; if (var$4 >= var$3) break; $var8 = $var8.$array.data[var$4].$data1; if ($var8 !== null && $var8.$nativeString.length) break b; $var8 = $this.$bookPages.$tagList; ju_ArrayList_remove($var8, $var8.$size0 - 1 | 0); } $var8 = new jl_IndexOutOfBoundsException; $var8.$suppressionEnabled = 1; $var8.$writableStackTrace = 1; $rt_throw($var8); } $var8 = $this.$itemstackBook; $var7 = $var8.$stackTagCompound; if ($var7 === null ? 0 : 1) { $var3 = $this.$bookPages; $var4 = $var7.$tagMap; $var3.$name = $rt_s(3957); ju_HashMap_putImpl($var4, $rt_s(3957), $var3); } else { $var4 = $this.$bookPages; if ($var7 === null) { $var6 = new nms_NBTTagCompound; $var6.$name = $rt_s(18); $var2 = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); $var2.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$11 = var$10.data; $var2.$elementData = var$10; $var2.$loadFactor = 0.75; $var2.$threshold = var$11.length * 0.75 | 0; $var6.$tagMap = $var2; $var8.$stackTagCompound = $var6; } $var8 = $var8.$stackTagCompound.$tagMap; $var4.$name = $rt_s(3957); ju_HashMap_putImpl($var8, $rt_s(3957), $var4); } $var8 = $rt_s(3960); if ($par1) { $var8 = $rt_s(3961); $var3 = $this.$itemstackBook; $var6 = new nms_NBTTagString; $var7 = $this.$editingPlayer.$username; $var6.$name = $rt_s(2968); $var6.$data1 = $var7; if ($var7 === null) { $var3 = new jl_IllegalArgumentException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $var3.$message = $rt_s(186); $rt_throw($var3); } if ($var3.$stackTagCompound === null) { $var2 = new nms_NBTTagCompound; $var2.$name = $rt_s(18); $var7 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$11 = var$10.data; $var7.$elementData = var$10; $var7.$loadFactor = 0.75; $var7.$threshold = var$11.length * 0.75 | 0; $var2.$tagMap = $var7; $var3.$stackTagCompound = $var2; } $var3 = $var3.$stackTagCompound.$tagMap; $var6.$name = $rt_s(2968); ju_HashMap_putImpl($var3, $rt_s(2968), $var6); $var3 = $this.$itemstackBook; $var6 = new nms_NBTTagString; $var7 = jl_String_trim($this.$bookTitle); $var6.$name = $rt_s(2967); $var6.$data1 = $var7; if ($var7 === null) { $var3 = new jl_IllegalArgumentException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; $var3.$message = $rt_s(186); $rt_throw($var3); } if ($var3.$stackTagCompound === null) { $var2 = new nms_NBTTagCompound; $var2.$name = $rt_s(18); $var7 = new ju_HashMap; $par1 = ju_HashMap_calculateCapacity(16); $var7.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, $par1); var$11 = var$10.data; $var7.$elementData = var$10; $var7.$loadFactor = 0.75; $var7.$threshold = var$11.length * 0.75 | 0; $var2.$tagMap = $var7; $var3.$stackTagCompound = $var2; } $var3 = $var3.$stackTagCompound.$tagMap; $var6.$name = $rt_s(2967); ju_HashMap_putImpl($var3, $rt_s(2967), $var6); $var3 = $this.$itemstackBook; nms_Item_$callClinit(); $var3.$itemID = nms_Item_writtenBook.$itemID0; } $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); $var4 = new ji_DataOutputStream; $var4.$out0 = $var3; $var4.$buff0 = $rt_createByteArray(8); try { nms_Packet_writeItemStack($this.$itemstackBook, $var4); nms_NetClientHandler_addToSendQueue(nms_Minecraft_getNetHandler($this.$mc), nms_Packet250CustomPayload__init_($var8, ji_ByteArrayOutputStream_toByteArray($var3))); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Exception) { $var6 = $$je; } else { throw $$e; } } if (jl_System_errCache === null) { $var8 = new otcic_JSStderrPrintStream; $var3 = new ji_ByteArrayOutputStream; $var3.$buf = $rt_createByteArray(32); jl_Object__init_($var8); $var8.$out0 = $var3; $var3 = new jl_StringBuilder; jl_AbstractStringBuilder__init_($var3, 16); $var8.$sb = $var3; $var8.$buffer0 = $rt_createCharArray(32); $var8.$autoFlush = 0; $var8.$charset = jnci_UTF8Charset_INSTANCE; jl_System_errCache = $var8; } jl_Throwable_printStackTrace($var6, jl_System_errCache); } } }, nms_GuiScreenBook_actionPerformed = ($this, $par1GuiButton) => { let var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$par1GuiButton = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if ($par1GuiButton.$enabled) { var$2 = $par1GuiButton.$id0; if (!var$2) { $par1GuiButton = $this.$mc; var$3 = null; $ptr = 1; continue main; } if (var$2 == 3 && $this.$bookIsUnsigned) $this.$editingTitle = 1; else if (var$2 == 1) { var$4 = $this.$currPage; if (var$4 < ($this.$bookTotalPages - 1 | 0)) $this.$currPage = var$4 + 1 | 0; else if ($this.$bookIsUnsigned) { nms_GuiScreenBook_addNewPage($this); var$4 = $this.$currPage; if (var$4 < ($this.$bookTotalPages - 1 | 0)) $this.$currPage = var$4 + 1 | 0; } } else if (var$2 == 2) { var$2 = $this.$currPage; if (var$2 > 0) $this.$currPage = var$2 - 1 | 0; } else { if (var$2 == 5 && $this.$editingTitle) { nms_GuiScreenBook_sendBookToServer($this, 1); $par1GuiButton = $this.$mc; var$3 = null; $ptr = 2; continue main; } if (var$2 == 4 && $this.$editingTitle) $this.$editingTitle = 0; } nms_GuiScreenBook_updateButtons($this); } return; case 1: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } nms_GuiScreenBook_sendBookToServer($this, 0); nms_GuiScreenBook_updateButtons($this); return; case 2: nms_Minecraft_displayGuiScreen($par1GuiButton, var$3); if ($rt_suspending()) { break main; } nms_GuiScreenBook_updateButtons($this); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1GuiButton, var$2, var$3, var$4, $ptr); }, nms_GuiScreenBook_addNewPage = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9; var$1 = $this.$bookPages; if (var$1 !== null && var$1.$tagList.$size0 < 50) { var$2 = new nms_NBTTagString; var$3 = $this.$bookTotalPages + 1 | 0; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$8 = var$4.$length0; var$9 = var$7.length; if (var$8 >= 0 && var$8 <= (var$9 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); var$2.$name = var$5; var$2.$data1 = $rt_s(18); var$1.$tagType = 8; var$1 = var$1.$tagList; ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$8 = var$1.$size0; var$1.$size0 = var$8 + 1 | 0; var$6[var$8] = var$2; var$1.$modCount = var$1.$modCount + 1 | 0; $this.$bookTotalPages = $this.$bookTotalPages + 1 | 0; $this.$bookModified = 1; } else { var$1 = new jl_IndexOutOfBoundsException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$1); $rt_throw(var$1); } } }, nms_GuiScreenBook_keyTyped = ($this, $par1, $par2) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$bookIsUnsigned) return; if (!$this.$editingTitle) { $ptr = 1; continue main; } $ptr = 2; continue main; case 1: nms_GuiScreenBook_keyTypedInBook($this, $par1, $par2); if ($rt_suspending()) { break main; } return; case 2: nms_GuiScreenBook_func_74162_c($this, $par1, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $ptr); }, nms_GuiScreenBook_keyTypedInBook = ($this, $par1, $par2) => { let $var3, var$4, var$5, var$6, var$7, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: a: { switch ($par1) { case 22: break; default: break a; } nms_GuiScreen_$callClinit(); try { $ptr = 1; continue main; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } nms_GuiScreenBook_func_74160_b($this, $rt_s(18)); return; } switch ($par2) { case 14: b: { $var3 = $this.$bookPages; if ($var3 !== null) { $par1 = $this.$currPage; if ($par1 >= 0) { $var3 = $var3.$tagList; $par2 = $rt_compare($par1, $var3.$size0); if ($par2 < 0) { if ($par1 >= 0 && $par2 < 0) { $var3 = $var3.$array.data[$par1].$data1; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $par1 = var$4.$length0; if ($var3 === null) $var3 = $rt_s(1); jl_StringBuilder_insert(var$4, $par1, $var3); $var3 = new jl_String; var$5 = var$4.$buffer; var$6 = var$5.data; $par2 = var$4.$length0; var$7 = var$6.length; if ($par2 >= 0 && $par2 <= (var$7 - 0 | 0)) { $var3.$nativeString = $rt_charArrayToString(var$5.data, 0, $par2); break b; } $var3 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var3); $rt_throw($var3); } $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } } } $var3 = $rt_s(18); } if ($var3.$nativeString.length > 0) { $var3 = jl_String_substring($var3, 0, $var3.$nativeString.length - 1 | 0); var$4 = $this.$bookPages; if (var$4 !== null) { $par1 = $this.$currPage; if ($par1 >= 0) { var$4 = var$4.$tagList; $par2 = $rt_compare($par1, var$4.$size0); if ($par2 < 0) { if ($par1 >= 0 && $par2 < 0) { var$4.$array.data[$par1].$data1 = $var3; $this.$bookModified = 1; } else { $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } } } } } return; case 28: case 156: break; default: c: { d: { if ($par1 != 167) { if (jl_String_indexOf(nms_ChatAllowedCharacters_allowedCharacters, $par1, 0) >= 0) break d; if ($par1 > 32) break d; } $par2 = 0; break c; } $par2 = 1; } if ($par2) { $var3 = new jl_String; var$5 = $rt_createCharArray(1); var$6 = var$5.data; var$6[0] = $par1; $var3.$nativeString = $rt_charArrayToString(var$5.data, 0, var$6.length); nms_GuiScreenBook_func_74160_b($this, $var3); } return; } nms_GuiScreenBook_func_74160_b($this, $rt_s(469)); return; case 1: a: { try { $tmp = nlea_EaglerAdapterImpl2_getClipboard(); if ($rt_suspending()) { break main; } $var3 = $tmp; if ($var3 === null) $var3 = $rt_s(18); break a; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof jl_Throwable) { } else { throw $$e; } } $var3 = $rt_s(18); } nms_GuiScreenBook_func_74160_b($this, $var3); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $var3, var$4, var$5, var$6, var$7, $ptr); }, nms_GuiScreenBook_func_74162_c = ($this, $par1, $par2) => { let var$3, var$4, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: switch ($par2) { case 14: break; case 28: case 156: if ($this.$bookTitle.$nativeString.length ? 0 : 1) return; nms_GuiScreenBook_sendBookToServer($this, 1); var$3 = $this.$mc; var$4 = null; $ptr = 1; continue main; default: a: { if ($this.$bookTitle.$nativeString.length < 16) { b: { c: { if ($par1 != 167) { if (jl_String_indexOf(nms_ChatAllowedCharacters_allowedCharacters, $par1, 0) >= 0) break c; if ($par1 > 32) break c; } $par2 = 0; break b; } $par2 = 1; } if ($par2) { var$3 = $this.$bookTitle; var$5 = new jl_String; var$6 = $rt_createCharArray(1); var$7 = var$6.data; var$7[0] = $par1; var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$7.length); var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); $par1 = var$4.$length0; if (var$3 === null) var$3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$4, $par1, var$3); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, var$5); var$3 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; $par2 = var$4.$length0; var$8 = var$7.length; if ($par2 < 0) break a; if ($par2 > (var$8 - 0 | 0)) break a; var$3.$nativeString = $rt_charArrayToString(var$6.data, 0, $par2); $this.$bookTitle = var$3; nms_GuiScreenBook_updateButtons($this); $this.$bookModified = 1; } } return; } var$3 = new jl_IndexOutOfBoundsException; var$3.$suppressionEnabled = 1; var$3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$3); $rt_throw(var$3); } if (!($this.$bookTitle.$nativeString.length ? 0 : 1)) { var$3 = $this.$bookTitle; $this.$bookTitle = jl_String_substring(var$3, 0, var$3.$nativeString.length - 1 | 0); nms_GuiScreenBook_updateButtons($this); } return; case 1: nms_Minecraft_displayGuiScreen(var$3, var$4); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, var$6, var$7, var$8, $ptr); }, nms_GuiScreenBook_func_74160_b = ($this, $par1Str) => { let $var2, var$3, $var4, var$5, var$6, var$7, var$8, var$9; a: { $var2 = $this.$bookPages; if ($var2 !== null) { var$3 = $this.$currPage; if (var$3 >= 0) { $var2 = $var2.$tagList; $var4 = $rt_compare(var$3, $var2.$size0); if ($var4 < 0) { if (var$3 >= 0 && $var4 < 0) { $var2 = $var2.$array.data[var$3].$data1; var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); var$3 = var$5.$length0; if ($var2 === null) $var2 = $rt_s(1); jl_StringBuilder_insert(var$5, var$3, $var2); $var2 = new jl_String; var$6 = var$5.$buffer; var$7 = var$6.data; $var4 = var$5.$length0; var$8 = var$7.length; if ($var4 >= 0 && $var4 <= (var$8 - 0 | 0)) { $var2.$nativeString = $rt_charArrayToString(var$6.data, 0, $var4); break a; } $par1Str = new jl_IndexOutOfBoundsException; jl_Exception__init_($par1Str); $rt_throw($par1Str); } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); } } } $var2 = $rt_s(18); } var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $var2); var$3 = var$5.$length0; if ($par1Str === null) $par1Str = $rt_s(1); jl_AbstractStringBuilder_insert(var$5, var$3, $par1Str); var$9 = new jl_String; var$6 = var$5.$buffer; var$7 = var$6.data; $var4 = var$5.$length0; var$8 = var$7.length; if ($var4 >= 0 && $var4 <= (var$8 - 0 | 0)) { var$9.$nativeString = $rt_charArrayToString(var$6.data, 0, $var4); $var2 = $this.$fontRenderer; nms_EnumChatFormatting_$callClinit(); $par1Str = nms_EnumChatFormatting_BLACK; var$5 = $par1Str === null ? $rt_s(1) : $par1Str.$field_96304_B; $par1Str = new jl_StringBuilder; $par1Str.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($par1Str, $par1Str.$length0, var$9); var$3 = $par1Str.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert($par1Str, var$3, var$5); $var4 = $par1Str.$length0; jl_AbstractStringBuilder_insertSpace($par1Str, $var4, $var4 + 1 | 0); var$6 = $par1Str.$buffer; var$7 = var$6.data; var$7[$var4] = 95; var$5 = new jl_String; var$8 = $par1Str.$length0; var$3 = var$7.length; if (var$8 >= 0 && var$8 <= (var$3 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$8); $var4 = $var2.$FONT_HEIGHT; $par1Str = nms_FontRenderer_wrapFormattedStringToWidth($var2, var$5, 118); var$6 = jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), $par1Str, 0); if (var$6 === null) { $var2 = new jl_NullPointerException; jl_Throwable__init_1($var2, $rt_s(18)); $rt_throw($var2); } if ($rt_imul($var4, var$6.data.length) <= 118 && var$9.$nativeString.length < 256) { $par1Str = $this.$bookPages; if ($par1Str !== null) { var$3 = $this.$currPage; if (var$3 >= 0) { $par1Str = $par1Str.$tagList; $var4 = $rt_compare(var$3, $par1Str.$size0); if ($var4 < 0) { if (var$3 >= 0 && $var4 < 0) { $par1Str.$array.data[var$3].$data1 = var$9; $this.$bookModified = 1; } else { $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); } } } } } return; } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); } $par1Str = new jl_IndexOutOfBoundsException; $par1Str.$suppressionEnabled = 1; $par1Str.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($par1Str); $rt_throw($par1Str); }, nms_GuiScreenBook_drawScreen = ($this, $par1, $par2, $par3) => { let $var13, $var11, $var8, $var4, $var6, $var7, var$10, var$11, $var5, $var9, $var12, $var7_0, var$16, var$17, var$18, $$je, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var7_0 = $thread.pop();$var12 = $thread.pop();$var9 = $thread.pop();$var5 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var4 = $thread.pop();$var8 = $thread.pop();$var11 = $thread.pop();$var13 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiScreenBook_$callClinit(); $var13 = nms_GuiScreenBook_bookGuiTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($var13); if ($rt_suspending()) { break main; } $var11 = $this.$width; $var8 = $this.$bookImageWidth; $var4 = ($var11 - $var8 | 0) / 2 | 0; nms_Gui_drawTexturedModalRect($this, $var4, 2, 0, 0, $var8, $this.$bookImageHeight); if ($this.$editingTitle) { a: { $var6 = $this.$bookTitle; if ($this.$bookIsUnsigned) { if (($this.$updateCount / 6 | 0) % 2 | 0) { nms_EnumChatFormatting_$callClinit(); $var13 = nms_EnumChatFormatting_GRAY; $var7 = $var13 === null ? $rt_s(1) : $var13.$field_96304_B; $var13 = new jl_StringBuilder; $var13.$buffer = $rt_createCharArray(16); $var11 = $var13.$length0; if ($var6 === null) $var6 = $rt_s(1); jl_AbstractStringBuilder_insert($var13, $var11, $var6); $var11 = $var13.$length0; if ($var7 === null) $var7 = $rt_s(1); jl_AbstractStringBuilder_insert($var13, $var11, $var7); $var8 = $var13.$length0; jl_AbstractStringBuilder_insertSpace($var13, $var8, $var8 + 1 | 0); var$10 = $var13.$buffer; var$11 = var$10.data; var$11[$var8] = 95; $var6 = new jl_String; $var8 = $var13.$length0; $var5 = var$11.length; if ($var8 >= 0 && $var8 <= ($var5 - 0 | 0)) { $var6.$nativeString = $rt_charArrayToString(var$10.data, 0, $var8); break a; } $var13 = new jl_IndexOutOfBoundsException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var13); $rt_throw($var13); } nms_EnumChatFormatting_$callClinit(); $var13 = nms_EnumChatFormatting_BLACK; $var7 = $var13 === null ? $rt_s(1) : $var13.$field_96304_B; $var13 = new jl_StringBuilder; $var13.$buffer = $rt_createCharArray(16); $var11 = $var13.$length0; if ($var6 === null) $var6 = $rt_s(1); jl_AbstractStringBuilder_insert($var13, $var11, $var6); $var11 = $var13.$length0; if ($var7 === null) $var7 = $rt_s(1); jl_AbstractStringBuilder_insert($var13, $var11, $var7); $var8 = $var13.$length0; jl_AbstractStringBuilder_insertSpace($var13, $var8, $var8 + 1 | 0); var$10 = $var13.$buffer; var$11 = var$10.data; var$11[$var8] = 95; $var6 = new jl_String; $var8 = $var13.$length0; $var5 = var$11.length; if ($var8 >= 0 && $var8 <= ($var5 - 0 | 0)) $var6.$nativeString = $rt_charArrayToString(var$10.data, 0, $var8); else { $var13 = new jl_IndexOutOfBoundsException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var13); $rt_throw($var13); } } } nms_StatCollector_$callClinit(); $var7 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3962)); $var8 = nms_FontRenderer_getStringWidth($this.$fontRenderer, $var7); $var13 = $this.$fontRenderer; $var4 = $var4 + 36 | 0; $var11 = $var4 + ((116 - $var8 | 0) / 2 | 0) | 0; $var8 = 34; $var5 = 0; $var13.$randomStyle = 0; $var13.$boldStyle = 0; $var13.$italicStyle = 0; $var13.$underlineStyle = 0; $var13.$strikethroughStyle = 0; $var9 = 0; $ptr = 2; continue main; } nms_StatCollector_$callClinit(); $var12 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3963)); var$10 = $rt_createArray(jl_Object, 2); $var8 = $this.$currPage + 1 | 0; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var8; } var$11 = var$10.data; var$11[0] = $var13; $var8 = $this.$bookTotalPages; if ($var8 >= (-128) && $var8 <= 127) { jl_Integer_ensureIntegerCache(); $var13 = jl_Integer_integerCache.data[$var8 + 128 | 0]; } else { $var13 = new jl_Integer; $var13.$value0 = $var8; } var$11[1] = $var13; $var13 = new ju_Formatter; ju_Locale_$callClinit(); $var7_0 = ju_Locale_defaultLocale; $var7 = new jl_StringBuilder; $var7.$buffer = $rt_createCharArray(16); $var13.$out1 = $var7; $var13.$locale1 = $var7_0; b: { try { ju_Formatter$FormatWriter_write(ju_Formatter$FormatWriter__init_($var13, $var7, $var7_0, $var12, var$10)); break b; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var6 = $$je; } else { throw $$e; } } $var13.$ioException = $var6; } $var13 = $var13.$out1; if ($var13 === null) { $var13 = new ju_FormatterClosedException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var13); $rt_throw($var13); } $var7 = new jl_String; var$10 = $var13.$buffer; var$11 = var$10.data; $var8 = $var13.$length0; $var5 = var$11.length; if ($var8 >= 0 && $var8 <= ($var5 - 0 | 0)) { c: { $var7.$nativeString = $rt_charArrayToString(var$10.data, 0, $var8); $var7_0 = $rt_s(18); $var13 = $this.$bookPages; if ($var13 !== null) { $var11 = $this.$currPage; if ($var11 >= 0) { $var13 = $var13.$tagList; $var8 = $rt_compare($var11, $var13.$size0); if ($var8 < 0) { if ($var11 >= 0 && $var8 < 0) { $var13 = $var13.$array.data[$var11].$data1; $var6 = new jl_StringBuilder; $var6.$buffer = $rt_createCharArray(16); $var11 = $var6.$length0; if ($var13 === null) $var13 = $rt_s(1); jl_AbstractStringBuilder_insert($var6, $var11, $var13); $var7_0 = new jl_String; var$10 = $var6.$buffer; var$11 = var$10.data; $var8 = $var6.$length0; $var5 = var$11.length; if ($var8 >= 0 && $var8 <= ($var5 - 0 | 0)) { $var7_0.$nativeString = $rt_charArrayToString(var$10.data, 0, $var8); break c; } $var13 = new jl_IndexOutOfBoundsException; jl_Throwable__init_($var13); $rt_throw($var13); } $var13 = new jl_IndexOutOfBoundsException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; $rt_throw($var13); } } } } d: { if ($this.$bookIsUnsigned) { if ($this.$fontRenderer.$bidiFlag) { $var13 = new jl_StringBuilder; $var13.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var13, $var13.$length0, $var7_0); $var8 = $var13.$length0; jl_AbstractStringBuilder_insertSpace($var13, $var8, $var8 + 1 | 0); var$10 = $var13.$buffer; var$11 = var$10.data; var$11[$var8] = 95; $var7_0 = new jl_String; $var8 = $var13.$length0; $var5 = var$11.length; if ($var8 >= 0 && $var8 <= ($var5 - 0 | 0)) { $var7_0.$nativeString = $rt_charArrayToString(var$10.data, 0, $var8); break d; } $var13 = new jl_IndexOutOfBoundsException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var13); $rt_throw($var13); } if (($this.$updateCount / 6 | 0) % 2 | 0) { nms_EnumChatFormatting_$callClinit(); $var13 = nms_EnumChatFormatting_GRAY; $var6 = $var13 === null ? $rt_s(1) : $var13.$field_96304_B; $var13 = new jl_StringBuilder; $var13.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var13, $var13.$length0, $var7_0); $var11 = $var13.$length0; if ($var6 === null) $var6 = $rt_s(1); jl_AbstractStringBuilder_insert($var13, $var11, $var6); $var8 = $var13.$length0; jl_AbstractStringBuilder_insertSpace($var13, $var8, $var8 + 1 | 0); var$10 = $var13.$buffer; var$11 = var$10.data; var$11[$var8] = 95; $var7_0 = new jl_String; $var8 = $var13.$length0; $var5 = var$11.length; if ($var8 >= 0 && $var8 <= ($var5 - 0 | 0)) { $var7_0.$nativeString = $rt_charArrayToString(var$10.data, 0, $var8); break d; } $var13 = new jl_IndexOutOfBoundsException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var13); $rt_throw($var13); } nms_EnumChatFormatting_$callClinit(); $var13 = nms_EnumChatFormatting_BLACK; $var6 = $var13 === null ? $rt_s(1) : $var13.$field_96304_B; $var13 = new jl_StringBuilder; $var13.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var13, $var13.$length0, $var7_0); $var11 = $var13.$length0; if ($var6 === null) $var6 = $rt_s(1); jl_AbstractStringBuilder_insert($var13, $var11, $var6); $var8 = $var13.$length0; jl_AbstractStringBuilder_insertSpace($var13, $var8, $var8 + 1 | 0); var$10 = $var13.$buffer; var$11 = var$10.data; var$11[$var8] = 95; $var7_0 = new jl_String; $var8 = $var13.$length0; $var5 = var$11.length; if ($var8 >= 0 && $var8 <= ($var5 - 0 | 0)) $var7_0.$nativeString = $rt_charArrayToString(var$10.data, 0, $var8); else { $var13 = new jl_IndexOutOfBoundsException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var13); $rt_throw($var13); } } } $var8 = nms_FontRenderer_getStringWidth($this.$fontRenderer, $var7); $var13 = $this.$fontRenderer; $var11 = (($var4 - $var8 | 0) + $this.$bookImageWidth | 0) - 44 | 0; $var8 = 18; $var5 = 0; $var13.$randomStyle = 0; $var13.$boldStyle = 0; $var13.$italicStyle = 0; $var13.$underlineStyle = 0; $var13.$strikethroughStyle = 0; $var9 = 0; $ptr = 4; continue main; } $var13 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var13); $rt_throw($var13); case 2: nms_FontRenderer_renderString($var13, $var7, $var11, $var8, $var5, $var9); if ($rt_suspending()) { break main; } $var9 = nms_FontRenderer_getStringWidth($this.$fontRenderer, $var6); $var13 = $this.$fontRenderer; $var11 = $var4 + ((116 - $var9 | 0) / 2 | 0) | 0; $var8 = 50; $var5 = 0; $var13.$randomStyle = 0; $var13.$boldStyle = 0; $var13.$italicStyle = 0; $var13.$underlineStyle = 0; $var13.$strikethroughStyle = 0; $var9 = 0; $ptr = 3; case 3: nms_FontRenderer_renderString($var13, $var6, $var11, $var8, $var5, $var9); if ($rt_suspending()) { break main; } $var12 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(2969)); var$11 = $rt_createArray(jl_Object, 1); var$11.data[0] = $this.$editingPlayer.$username; $var13 = new ju_Formatter; ju_Locale_$callClinit(); $var7_0 = ju_Locale_defaultLocale; $var7 = new jl_StringBuilder; $var7.$buffer = $rt_createCharArray(16); $var13.$out1 = $var7; $var13.$locale1 = $var7_0; e: { try { ju_Formatter$FormatWriter_write(ju_Formatter$FormatWriter__init_($var13, $var7, $var7_0, $var12, var$11)); break e; } catch ($$e) { $$je = $rt_wrapException($$e); if ($$je instanceof ji_IOException) { $var6 = $$je; } else { throw $$e; } } $var13.$ioException = $var6; } $var13 = $var13.$out1; if ($var13 === null) { $var13 = new ju_FormatterClosedException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var13); $rt_throw($var13); } $var7_0 = new jl_String; var$10 = $var13.$buffer; var$11 = var$10.data; $var8 = $var13.$length0; $var5 = var$11.length; if ($var8 >= 0 && $var8 <= ($var5 - 0 | 0)) { $var7_0.$nativeString = $rt_charArrayToString(var$10.data, 0, $var8); $var11 = nms_FontRenderer_getStringWidth($this.$fontRenderer, $var7_0); $var13 = $this.$fontRenderer; nms_EnumChatFormatting_$callClinit(); $var6 = nms_EnumChatFormatting_DARK_GRAY; $var7 = $var6 === null ? $rt_s(1) : $var6.$field_96304_B; $var6 = new jl_StringBuilder; $var6.$buffer = $rt_createCharArray(16); $var8 = $var6.$length0; if ($var7 === null) $var7 = $rt_s(1); jl_AbstractStringBuilder_insert($var6, $var8, $var7); jl_AbstractStringBuilder_insert($var6, $var6.$length0, $var7_0); $var7 = new jl_String; var$10 = $var6.$buffer; var$11 = var$10.data; $var5 = $var6.$length0; $var9 = var$11.length; if ($var5 >= 0 && $var5 <= ($var9 - 0 | 0)) { $var7.$nativeString = $rt_charArrayToString(var$10.data, 0, $var5); $var11 = $var4 + ((116 - $var11 | 0) / 2 | 0) | 0; $var8 = 60; $var5 = 0; $var13.$randomStyle = 0; $var13.$boldStyle = 0; $var13.$italicStyle = 0; $var13.$underlineStyle = 0; $var13.$strikethroughStyle = 0; $var9 = 0; $ptr = 5; continue main; } $var13 = new jl_IndexOutOfBoundsException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var13); $rt_throw($var13); } $var13 = new jl_IndexOutOfBoundsException; jl_Exception__init_($var13); $rt_throw($var13); case 4: nms_FontRenderer_renderString($var13, $var7, $var11, $var8, $var5, $var9); if ($rt_suspending()) { break main; } $var7 = $this.$fontRenderer; var$16 = $var4 + 36 | 0; var$17 = 34; $var7.$randomStyle = 0; $var7.$boldStyle = 0; $var7.$italicStyle = 0; $var7.$underlineStyle = 0; $var7.$strikethroughStyle = 0; $var7.$textColor = 0; while ($var7_0 !== null && jl_String_endsWith($var7_0, $rt_s(469))) { $var7_0 = jl_String_substring($var7_0, 0, $var7_0.$nativeString.length - 1 | 0); } $var11 = 0; $var13 = nms_FontRenderer_wrapFormattedStringToWidth($var7, $var7_0, 116); var$10 = jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), $var13, 0); if (var$10 === null) { $var6 = new jl_NullPointerException; jl_Exception__init_0($var6, $rt_s(18)); $rt_throw($var6); } $var6 = new ju_Arrays$ArrayAsList; $var6.$array2 = var$10; $var4 = $var6.$modCount; $var9 = $var6.$size(); if (0 >= $var9 ? 0 : 1) { if ($var4 < $var6.$modCount) { $var13 = new ju_ConcurrentModificationException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var13); $rt_throw($var13); } $var5 = 0 + 1 | 0; $var13 = $var6.$get(0); $var8 = $var7.$textColor; $ptr = 6; continue main; } $var11 = 0; $var13 = $this.$buttonList; $var8 = $rt_compare($var11, $var13.$size0); if ($var8 >= 0) return; if ($var11 >= 0 && $var8 < 0) { $var13 = $var13.$array.data[$var11]; $var6 = $this.$mc; $ptr = 8; continue main; } $var13 = new jl_IndexOutOfBoundsException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; $rt_throw($var13); case 5: nms_FontRenderer_renderString($var13, $var7, $var11, $var8, $var5, $var9); if ($rt_suspending()) { break main; } $var12 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(3964)); $var13 = $this.$fontRenderer; $var11 = 82; $var13.$randomStyle = 0; $var13.$boldStyle = 0; $var13.$italicStyle = 0; $var13.$underlineStyle = 0; $var13.$strikethroughStyle = 0; $var13.$textColor = 0; while ($var12 !== null && jl_String_endsWith($var12, $rt_s(469))) { $var12 = jl_String_substring($var12, 0, $var12.$nativeString.length - 1 | 0); } $var5 = 0; $var6 = nms_FontRenderer_wrapFormattedStringToWidth($var13, $var12, 116); var$10 = jur_Pattern_split(jur_Pattern_compile($rt_s(469), 0), $var6, 0); if (var$10 === null) { $var13 = new jl_NullPointerException; jl_Exception__init_0($var13, $rt_s(18)); $rt_throw($var13); } $var7 = new ju_Arrays$ArrayAsList; $var7.$array2 = var$10; var$16 = $var7.$modCount; var$17 = $var7.$size(); if (0 >= var$17 ? 0 : 1) { if (var$16 < $var7.$modCount) { $var13 = new ju_ConcurrentModificationException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var13); $rt_throw($var13); } $var9 = 0 + 1 | 0; $var6 = $var7.$get(0); $var8 = $var13.$textColor; $ptr = 7; continue main; } $var11 = 0; $var13 = $this.$buttonList; $var8 = $rt_compare($var11, $var13.$size0); if ($var8 >= 0) return; if ($var11 >= 0 && $var8 < 0) { $var13 = $var13.$array.data[$var11]; $var6 = $this.$mc; $ptr = 8; continue main; } $var13 = new jl_IndexOutOfBoundsException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; $rt_throw($var13); case 6: nms_FontRenderer_renderString($var7, $var13, var$16, var$17, $var8, $var11); if ($rt_suspending()) { break main; } var$17 = var$17 + $var7.$FONT_HEIGHT | 0; var$18 = $var5; if (var$18 >= $var9 ? 0 : 1) { if ($var4 < $var6.$modCount) { $var13 = new ju_ConcurrentModificationException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var13); $rt_throw($var13); } $var5 = var$18 + 1 | 0; $var13 = $var6.$get(var$18); $var8 = $var7.$textColor; continue main; } $var11 = 0; $var13 = $this.$buttonList; $var8 = $rt_compare($var11, $var13.$size0); if ($var8 >= 0) return; if ($var11 >= 0 && $var8 < 0) { $var13 = $var13.$array.data[$var11]; $var6 = $this.$mc; $ptr = 8; continue main; } $var13 = new jl_IndexOutOfBoundsException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; $rt_throw($var13); case 7: nms_FontRenderer_renderString($var13, $var6, $var4, $var11, $var8, $var5); if ($rt_suspending()) { break main; } $var11 = $var11 + $var13.$FONT_HEIGHT | 0; var$18 = $var9; if (var$18 >= var$17 ? 0 : 1) { if (var$16 < $var7.$modCount) { $var13 = new ju_ConcurrentModificationException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var13); $rt_throw($var13); } $var9 = var$18 + 1 | 0; $var6 = $var7.$get(var$18); $var8 = $var13.$textColor; continue main; } $var11 = 0; $var13 = $this.$buttonList; $var8 = $rt_compare($var11, $var13.$size0); if ($var8 >= 0) return; if ($var11 >= 0 && $var8 < 0) { $var13 = $var13.$array.data[$var11]; $var6 = $this.$mc; $ptr = 8; continue main; } $var13 = new jl_IndexOutOfBoundsException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; $rt_throw($var13); case 8: $var13.$drawButton($var6, $par1, $par2); if ($rt_suspending()) { break main; } $var11 = $var11 + 1 | 0; $var13 = $this.$buttonList; $var8 = $rt_compare($var11, $var13.$size0); if ($var8 >= 0) return; if ($var11 >= 0 && $var8 < 0) { $var13 = $var13.$array.data[$var11]; $var6 = $this.$mc; continue main; } $var13 = new jl_IndexOutOfBoundsException; $var13.$suppressionEnabled = 1; $var13.$writableStackTrace = 1; $rt_throw($var13); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, $par3, $var13, $var11, $var8, $var4, $var6, $var7, var$10, var$11, $var5, $var9, $var12, $var7_0, var$16, var$17, var$18, $ptr); }, nms_GuiScreenBook__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3965); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_GuiScreenBook_bookGuiTextures = var$1; }; function nms_EntityZombieGroupData() { let a = this; jl_Object.call(a); a.$field_142048_a = 0; a.$field_142046_b = 0; a.$field_142047_c = null; } let nms_EntityZombieINNER1 = $rt_classWithoutFields(), nms_EntityZombieINNER1__init_ = $this => { return; }, nms_EntityZombieINNER1__init_0 = () => { let var_0 = new nms_EntityZombieINNER1(); nms_EntityZombieINNER1__init_(var_0); return var_0; }; function nms_EntityFireworkStarterFX() { let a = this; nms_EntityFX.call(a); a.$fireworkAge = 0; a.$theEffectRenderer = null; a.$fireworkExplosions = null; a.$twinkle = 0; } let nms_EntityFireworkStarterFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14EffectRenderer, $par15NBTTagCompound) => { let var$10, var$11, var$12, $var16, var$14, $var17, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var17 = $thread.pop();var$14 = $thread.pop();$var16 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$par15NBTTagCompound = $thread.pop();$par14EffectRenderer = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$10 = 0.0; var$11 = 0.0; var$12 = 0.0; $ptr = 1; case 1: a: { b: { nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, var$10, var$11, var$12); if ($rt_suspending()) { break main; } $this.$motionX = $par8; $this.$motionY = $par10; $this.$motionZ = $par12; $this.$theEffectRenderer = $par14EffectRenderer; $this.$particleMaxAge = 8; if ($par15NBTTagCompound !== null) { c: { $par14EffectRenderer = $par15NBTTagCompound.$tagMap; if (!$rt_s(2978).$hashCode1) { $var16 = 0; while (true) { if ($var16 >= $rt_s(2978).$nativeString.length) break c; $rt_s(2978).$hashCode1 = (31 * $rt_s(2978).$hashCode1 | 0) + $rt_s(2978).$nativeString.charCodeAt($var16) | 0; $var16 = $var16 + 1 | 0; } } } $var16 = $rt_s(2978).$hashCode1; var$14 = $par14EffectRenderer.$elementData.data; $par14EffectRenderer = var$14[$var16 & (var$14.length - 1 | 0)]; while ($par14EffectRenderer !== null) { if ($par14EffectRenderer.$origKeyHash == $var16) { d: { $var17 = $par14EffectRenderer.$key; if ($rt_s(2978) !== $var17) { if ($rt_s(2978) === $var17) var$16 = 1; else if (!($var17 instanceof jl_String)) var$16 = 0; else { $var17 = $var17; var$16 = $rt_s(2978).$nativeString !== $var17.$nativeString ? 0 : 1; } if (!var$16) { var$16 = 0; break d; } } var$16 = 1; } if (var$16) break; } $par14EffectRenderer = $par14EffectRenderer.$next3; } if (!($par14EffectRenderer === null ? 0 : 1)) { $par14EffectRenderer = new nms_NBTTagList; if ($rt_s(2978) !== null) $par14EffectRenderer.$name = $rt_s(2978); else $par14EffectRenderer.$name = $rt_s(18); $par1World = new ju_ArrayList; $par1World.$array = $rt_createArray(jl_Object, 10); $par14EffectRenderer.$tagList = $par1World; } else { $par14EffectRenderer = $par15NBTTagCompound.$tagMap; if ($rt_s(2978) === null) { $par14EffectRenderer = $par14EffectRenderer.$elementData.data[0]; while ($par14EffectRenderer !== null && $par14EffectRenderer.$key !== null) { $par14EffectRenderer = $par14EffectRenderer.$next3; } } else { e: { if (!$rt_s(2978).$hashCode1) { $var16 = 0; while (true) { if ($var16 >= $rt_s(2978).$nativeString.length) break e; $rt_s(2978).$hashCode1 = (31 * $rt_s(2978).$hashCode1 | 0) + $rt_s(2978).$nativeString.charCodeAt($var16) | 0; $var16 = $var16 + 1 | 0; } } } $var16 = $rt_s(2978).$hashCode1; var$14 = $par14EffectRenderer.$elementData.data; $par14EffectRenderer = var$14[$var16 & (var$14.length - 1 | 0)]; while ($par14EffectRenderer !== null) { if ($par14EffectRenderer.$origKeyHash == $var16) { f: { $par15NBTTagCompound = $par14EffectRenderer.$key; if ($rt_s(2978) !== $par15NBTTagCompound) { if ($rt_s(2978) === $par15NBTTagCompound) var$16 = 1; else if (!($par15NBTTagCompound instanceof jl_String)) var$16 = 0; else { $par15NBTTagCompound = $par15NBTTagCompound; var$16 = $rt_s(2978).$nativeString !== $par15NBTTagCompound.$nativeString ? 0 : 1; } if (!var$16) { var$16 = 0; break f; } } var$16 = 1; } if (var$16) break; } $par14EffectRenderer = $par14EffectRenderer.$next3; } } $par14EffectRenderer = $par14EffectRenderer === null ? null : $par14EffectRenderer.$value1; } $this.$fireworkExplosions = $par14EffectRenderer; var$16 = $par14EffectRenderer.$tagList.$size0; if (!var$16) $this.$fireworkExplosions = null; else { $this.$particleMaxAge = (var$16 * 2 | 0) - 1 | 0; $var16 = 0; while (true) { $par1World = $this.$fireworkExplosions.$tagList; var$16 = $rt_compare($var16, $par1World.$size0); if (var$16 >= 0) break b; if ($var16 < 0) break a; if (var$16 >= 0) break a; g: { $var17 = $par1World.$array.data[$var16]; $par1World = $var17.$tagMap; if (!$rt_s(2990).$hashCode1) { var$16 = 0; while (true) { if (var$16 >= $rt_s(2990).$nativeString.length) break g; $rt_s(2990).$hashCode1 = (31 * $rt_s(2990).$hashCode1 | 0) + $rt_s(2990).$nativeString.charCodeAt(var$16) | 0; var$16 = var$16 + 1 | 0; } } } var$17 = $rt_s(2990).$hashCode1; var$14 = $par1World.$elementData.data; var$18 = var$14[var$17 & (var$14.length - 1 | 0)]; while (var$18 !== null) { if (var$18.$origKeyHash == var$17) { h: { $par1World = var$18.$key; if ($rt_s(2990) !== $par1World) { if ($rt_s(2990) === $par1World) var$16 = 1; else if (!($par1World instanceof jl_String)) var$16 = 0; else { $par1World = $par1World; var$16 = $rt_s(2990).$nativeString !== $par1World.$nativeString ? 0 : 1; } if (!var$16) { var$16 = 0; break h; } } var$16 = 1; } if (var$16) break; } var$18 = var$18.$next3; } if (!(var$18 === null ? 0 : 1)) var$16 = 0; else { $par1World = $var17.$tagMap; if ($rt_s(2990) === null) { $var17 = $par1World.$elementData.data[0]; while ($var17 !== null && $var17.$key !== null) { $var17 = $var17.$next3; } } else { i: { if (!$rt_s(2990).$hashCode1) { var$16 = 0; while (true) { if (var$16 >= $rt_s(2990).$nativeString.length) break i; $rt_s(2990).$hashCode1 = (31 * $rt_s(2990).$hashCode1 | 0) + $rt_s(2990).$nativeString.charCodeAt(var$16) | 0; var$16 = var$16 + 1 | 0; } } } var$17 = $rt_s(2990).$hashCode1; var$14 = $par1World.$elementData.data; $var17 = var$14[var$17 & (var$14.length - 1 | 0)]; while ($var17 !== null) { if ($var17.$origKeyHash == var$17) { j: { $par1World = $var17.$key; if ($rt_s(2990) !== $par1World) { if ($rt_s(2990) === $par1World) var$16 = 1; else if (!($par1World instanceof jl_String)) var$16 = 0; else { $par1World = $par1World; var$16 = $rt_s(2990).$nativeString !== $par1World.$nativeString ? 0 : 1; } if (!var$16) { var$16 = 0; break j; } } var$16 = 1; } if (var$16) break; } $var17 = $var17.$next3; } } var$16 = ($var17 === null ? null : $var17.$value1).$data; } if (!var$16 ? 0 : 1) break; $var16 = $var16 + 1 | 0; } $this.$twinkle = 1; $this.$particleMaxAge = $this.$particleMaxAge + 15 | 0; } } } return; } $par1World = new jl_IndexOutOfBoundsException; $par1World.$suppressionEnabled = 1; $par1World.$writableStackTrace = 1; $rt_throw($par1World); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14EffectRenderer, $par15NBTTagCompound, var$10, var$11, var$12, $var16, var$14, $var17, var$16, var$17, var$18, $ptr); }, nms_EntityFireworkStarterFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8) => { let var_9 = new nms_EntityFireworkStarterFX(); nms_EntityFireworkStarterFX__init_(var_9, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8); return var_9; }, nms_EntityFireworkStarterFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { return; }, nms_EntityFireworkStarterFX_onUpdate = $this => { let $var14, $var12, var$3, var$4, var$5, $var1, $var2, $var3, $var13, $var4, $var5, var$12, var$13, $var17, var$15, $var9, var$17, $var10, $var18, $var8, $var6, $var7, var$23, $var11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var11 = $thread.pop();var$23 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var8 = $thread.pop();$var18 = $thread.pop();$var10 = $thread.pop();var$17 = $thread.pop();$var9 = $thread.pop();var$15 = $thread.pop();$var17 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$var13 = $thread.pop();$var3 = $thread.pop();$var2 = $thread.pop();$var1 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$var12 = $thread.pop();$var14 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$fireworkAge) { $var14 = $this.$fireworkExplosions; if ($var14 !== null) { a: { $var12 = nms_Minecraft_theMinecraft; if ($var12 !== null) { $var12 = $var12.$renderViewEntity; if ($var12 !== null) { var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; var$3 = $var12.$posX - var$3; var$4 = $var12.$posY - var$4; var$5 = $var12.$posZ - var$5; if (var$3 * var$3 + var$4 * var$4 + var$5 * var$5 < 256.0) { $var1 = 0; break a; } } } $var1 = 1; } b: { $var2 = 0; if ($var14.$tagList.$size0 >= 3) $var2 = 1; else { $var3 = 0; while (true) { $var14 = $this.$fireworkExplosions.$tagList; $var13 = $rt_compare($var3, $var14.$size0); if ($var13 >= 0) break b; if ($var3 < 0) break; if ($var13 >= 0) break; c: { $var4 = $var14.$array.data[$var3]; $var12 = $var4.$tagMap; if (!$rt_s(2446).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2446).$nativeString.length) break c; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var5 = $rt_s(2446).$hashCode1; var$12 = $var12.$elementData.data; $var12 = var$12[$var5 & (var$12.length - 1 | 0)]; while ($var12 !== null) { if ($var12.$origKeyHash == $var5) { d: { var$13 = $var12.$key; if ($rt_s(2446) !== var$13) { if ($rt_s(2446) === var$13) $var13 = 1; else if (!(var$13 instanceof jl_String)) $var13 = 0; else { var$13 = var$13; $var13 = $rt_s(2446).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var13) { $var13 = 0; break d; } } $var13 = 1; } if ($var13) break; } $var12 = $var12.$next3; } if (!($var12 === null ? 0 : 1)) $var17 = 0; else { $var12 = $var4.$tagMap; if ($rt_s(2446) === null) { $var12 = $var12.$elementData.data[0]; while ($var12 !== null && $var12.$key !== null) { $var12 = $var12.$next3; } } else { e: { if (!$rt_s(2446).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2446).$nativeString.length) break e; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var5 = $rt_s(2446).$hashCode1; var$12 = $var12.$elementData.data; $var12 = var$12[$var5 & (var$12.length - 1 | 0)]; while ($var12 !== null) { if ($var12.$origKeyHash == $var5) { f: { $var4 = $var12.$key; if ($rt_s(2446) !== $var4) { if ($rt_s(2446) === $var4) $var13 = 1; else if (!($var4 instanceof jl_String)) $var13 = 0; else { $var4 = $var4; $var13 = $rt_s(2446).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var13) { $var13 = 0; break f; } } $var13 = 1; } if ($var13) break; } $var12 = $var12.$next3; } } $var17 = ($var12 === null ? null : $var12.$value1).$data; } if ($var17 == 1) { $var2 = 1; break b; } $var3 = $var3 + 1 | 0; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); } } $var14 = !$var2 ? $rt_s(3966) : $rt_s(3967); $var12 = !$var1 ? $rt_s(18) : $rt_s(3968); $var4 = new jl_StringBuilder; $var4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var4, $var4.$length0, $rt_s(3969)); jl_AbstractStringBuilder_insert($var4, $var4.$length0, $var14); jl_AbstractStringBuilder_insert($var4, $var4.$length0, $var12); $var14 = new jl_String; var$12 = $var4.$buffer; var$15 = var$12.data; $var17 = $var4.$length0; $var5 = var$15.length; if ($var17 >= 0 && $var17 <= ($var5 - 0 | 0)) { $var14.$nativeString = $rt_charArrayToString(var$12.data, 0, $var17); $var12 = $this.$worldObj; var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; $var9 = 20.0; $var4 = $this.$rand; var$17 = Long_and(Long_add(Long_mul($var4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4.$seed = var$17; $var10 = 0.949999988079071 + Long_lo(Long_shru(var$17, 24)) / 1.6777216E7 * 0.10000000149011612; $var13 = 1; $ptr = 2; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } } $var17 = $this.$fireworkAge; if (!($var17 % 2 | 0)) { $var14 = $this.$fireworkExplosions; if ($var14 !== null) { $var13 = $var17 / 2 | 0; $var14 = $var14.$tagList; $var17 = $rt_compare($var13, $var14.$size0); if ($var17 < 0) { if ($var13 >= 0 && $var17 < 0) { g: { $var14 = $var14.$array.data[$var13]; $var4 = $var14.$tagMap; if (!$rt_s(2446).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2446).$nativeString.length) break g; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var13 = $rt_s(2446).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var13 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var13) { h: { var$13 = $var4.$key; if ($rt_s(2446) !== var$13) { if ($rt_s(2446) === var$13) $var17 = 1; else if (!(var$13 instanceof jl_String)) $var17 = 0; else { var$13 = var$13; $var17 = $rt_s(2446).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var17) { $var17 = 0; break h; } } $var17 = 1; } if ($var17) break; } $var4 = $var4.$next3; } if ($var4 === null ? 0 : 1) { $var4 = $var14.$tagMap; if ($rt_s(2446) !== null) { i: { if (!$rt_s(2446).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2446).$nativeString.length) break i; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var13 = $rt_s(2446).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var13 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var13) { j: { var$13 = $var4.$key; if ($rt_s(2446) !== var$13) { if ($rt_s(2446) !== var$13) { if (var$13 instanceof jl_String) { var$13 = var$13; $var17 = $rt_s(2446).$nativeString !== var$13.$nativeString ? 0 : 1; } else $var17 = 0; } else $var17 = 1; if (!$var17) { $var17 = 0; break j; } } $var17 = 1; } if ($var17) break; } $var4 = $var4.$next3; } } else { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } $var17 = ($var4 === null ? null : $var4.$value1).$data; } else $var17 = 0; k: { $var4 = $var14.$tagMap; if (!$rt_s(2988).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2988).$nativeString.length) break k; $rt_s(2988).$hashCode1 = (31 * $rt_s(2988).$hashCode1 | 0) + $rt_s(2988).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var18 = $rt_s(2988).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var18 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var18) { l: { var$13 = $var4.$key; if ($rt_s(2988) !== var$13) { if ($rt_s(2988) !== var$13) { if (var$13 instanceof jl_String) { var$13 = var$13; $var13 = $rt_s(2988).$nativeString !== var$13.$nativeString ? 0 : 1; } else $var13 = 0; } else $var13 = 1; if (!$var13) { $var13 = 0; break l; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) $var13 = 0; else { $var4 = $var14.$tagMap; if ($rt_s(2988) === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { m: { if (!$rt_s(2988).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2988).$nativeString.length) break m; $rt_s(2988).$hashCode1 = (31 * $rt_s(2988).$hashCode1 | 0) + $rt_s(2988).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var18 = $rt_s(2988).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var18 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var18) { n: { var$13 = $var4.$key; if ($rt_s(2988) !== var$13) { if ($rt_s(2988) === var$13) $var13 = 1; else if (!(var$13 instanceof jl_String)) $var13 = 0; else { var$13 = var$13; $var13 = $rt_s(2988).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var13) { $var13 = 0; break n; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } } $var13 = ($var4 === null ? null : $var4.$value1).$data; } $var18 = !$var13 ? 0 : 1; o: { $var4 = $var14.$tagMap; if (!$rt_s(2990).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2990).$nativeString.length) break o; $rt_s(2990).$hashCode1 = (31 * $rt_s(2990).$hashCode1 | 0) + $rt_s(2990).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var8 = $rt_s(2990).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var8 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var8) { p: { var$13 = $var4.$key; if ($rt_s(2990) !== var$13) { if ($rt_s(2990) !== var$13) { if (var$13 instanceof jl_String) { var$13 = var$13; $var13 = $rt_s(2990).$nativeString !== var$13.$nativeString ? 0 : 1; } else $var13 = 0; } else $var13 = 1; if (!$var13) { $var13 = 0; break p; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } if ($var4 === null ? 0 : 1) { $var4 = $var14.$tagMap; if ($rt_s(2990) !== null) { q: { if (!$rt_s(2990).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2990).$nativeString.length) break q; $rt_s(2990).$hashCode1 = (31 * $rt_s(2990).$hashCode1 | 0) + $rt_s(2990).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var8 = $rt_s(2990).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var8 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var8) { r: { var$13 = $var4.$key; if ($rt_s(2990) !== var$13) { if ($rt_s(2990) !== var$13) { if (var$13 instanceof jl_String) { var$13 = var$13; $var13 = $rt_s(2990).$nativeString !== var$13.$nativeString ? 0 : 1; } else $var13 = 0; } else $var13 = 1; if (!$var13) { $var13 = 0; break r; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } } else { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } $var13 = ($var4 === null ? null : $var4.$value1).$data; } else $var13 = 0; $var5 = !$var13 ? 0 : 1; s: { $var4 = $var14.$tagMap; if (!$rt_s(2981).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2981).$nativeString.length) break s; $rt_s(2981).$hashCode1 = (31 * $rt_s(2981).$hashCode1 | 0) + $rt_s(2981).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var2 = $rt_s(2981).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var2 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var2) { t: { var$13 = $var4.$key; if ($rt_s(2981) !== var$13) { if ($rt_s(2981) === var$13) $var13 = 1; else if (!(var$13 instanceof jl_String)) $var13 = 0; else { var$13 = var$13; $var13 = $rt_s(2981).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var13) { $var13 = 0; break t; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) $var6 = $rt_createIntArray(0); else { $var4 = $var14.$tagMap; if ($rt_s(2981) === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { u: { if (!$rt_s(2981).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2981).$nativeString.length) break u; $rt_s(2981).$hashCode1 = (31 * $rt_s(2981).$hashCode1 | 0) + $rt_s(2981).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var2 = $rt_s(2981).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var2 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var2) { v: { var$13 = $var4.$key; if ($rt_s(2981) !== var$13) { if ($rt_s(2981) === var$13) $var13 = 1; else if (!(var$13 instanceof jl_String)) $var13 = 0; else { var$13 = var$13; $var13 = $rt_s(2981).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var13) { $var13 = 0; break v; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } } $var6 = ($var4 === null ? null : $var4.$value1).$intArray; } w: { $var4 = $var14.$tagMap; if (!$rt_s(2986).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2986).$nativeString.length) break w; $rt_s(2986).$hashCode1 = (31 * $rt_s(2986).$hashCode1 | 0) + $rt_s(2986).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var2 = $rt_s(2986).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var2 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var2) { x: { var$13 = $var4.$key; if ($rt_s(2986) !== var$13) { if ($rt_s(2986) === var$13) $var13 = 1; else if (!(var$13 instanceof jl_String)) $var13 = 0; else { var$13 = var$13; $var13 = $rt_s(2986).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var13) { $var13 = 0; break x; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) $var7 = $rt_createIntArray(0); else { $var14 = $var14.$tagMap; if ($rt_s(2986) === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { y: { if (!$rt_s(2986).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2986).$nativeString.length) break y; $rt_s(2986).$hashCode1 = (31 * $rt_s(2986).$hashCode1 | 0) + $rt_s(2986).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var2 = $rt_s(2986).$hashCode1; var$12 = $var14.$elementData.data; $var14 = var$12[$var2 & (var$12.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var2) { z: { $var4 = $var14.$key; if ($rt_s(2986) !== $var4) { if ($rt_s(2986) === $var4) $var13 = 1; else if (!($var4 instanceof jl_String)) $var13 = 0; else { $var4 = $var4; $var13 = $rt_s(2986).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var13) { $var13 = 0; break z; } } $var13 = 1; } if ($var13) break; } $var14 = $var14.$next3; } } $var7 = ($var14 === null ? null : $var14.$value1).$intArray; } if ($var17 == 1) { var$3 = 0.5; $var13 = 4; $ptr = 3; continue main; } if ($var17 == 2) { var$3 = 0.5; var$12 = $rt_wrapArray($rt_arraycls($rt_doublecls), [$rt_createDoubleArrayFromData([0.0, 1.0]), $rt_createDoubleArrayFromData([0.3455, 0.309]), $rt_createDoubleArrayFromData([0.9511, 0.309]), $rt_createDoubleArrayFromData([0.3795918367346939, (-0.12653061224489795)]), $rt_createDoubleArrayFromData([0.6122448979591837, (-0.8040816326530612)]), $rt_createDoubleArrayFromData([0.0, (-0.35918367346938773)])]); $var13 = 0; $ptr = 4; continue main; } if ($var17 != 3) { if ($var17 == 4) { $ptr = 8; continue main; } var$3 = 0.25; $var13 = 2; $ptr = 7; continue main; } var$3 = 0.5; var$23 = $rt_wrapArray($rt_arraycls($rt_doublecls), [$rt_createDoubleArrayFromData([0.0, 0.2]), $rt_createDoubleArrayFromData([0.2, 0.2]), $rt_createDoubleArrayFromData([0.2, 0.6]), $rt_createDoubleArrayFromData([0.6, 0.6]), $rt_createDoubleArrayFromData([0.6, 0.2]), $rt_createDoubleArrayFromData([0.2, 0.2]), $rt_createDoubleArrayFromData([0.2, 0.0]), $rt_createDoubleArrayFromData([0.4, 0.0]), $rt_createDoubleArrayFromData([0.4, (-0.6)]), $rt_createDoubleArrayFromData([0.2, (-0.6)]), $rt_createDoubleArrayFromData([0.2, (-0.4)]), $rt_createDoubleArrayFromData([0.0, (-0.4)])]); $var13 = 1; $ptr = 6; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); } } } $var13 = $this.$fireworkAge + 1 | 0; $this.$fireworkAge = $var13; if ($var13 > $this.$particleMaxAge) { if ($this.$twinkle) { ba: { $var14 = nms_Minecraft_theMinecraft; if ($var14 !== null) { $var14 = $var14.$renderViewEntity; if ($var14 !== null) { var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; var$3 = $var14.$posX - var$3; var$4 = $var14.$posY - var$4; var$5 = $var14.$posZ - var$5; if (var$3 * var$3 + var$4 * var$4 + var$5 * var$5 < 256.0) { $var1 = 0; break ba; } } } $var1 = 1; } $var14 = !$var1 ? $rt_s(3970) : $rt_s(3971); $var12 = new jl_StringBuilder; $var12.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var12, $var12.$length0, $rt_s(3969)); jl_AbstractStringBuilder_insert($var12, $var12.$length0, $var14); $var4 = new jl_String; var$12 = $var12.$buffer; var$15 = var$12.data; $var17 = $var12.$length0; $var5 = var$15.length; if ($var17 >= 0 && $var17 <= ($var5 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$12.data, 0, $var17); $var14 = $this.$worldObj; var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; $var9 = 20.0; $var12 = $this.$rand; var$17 = Long_and(Long_add(Long_mul($var12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var12.$seed = var$17; $var10 = 0.8999999761581421 + Long_lo(Long_shru(var$17, 24)) / 1.6777216E7 * 0.15000000596046448; $var13 = 1; $ptr = 1; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } $this.$isDead = 1; } return; case 1: nms_WorldClient_playSound($var14, var$3, var$4, var$5, $var4, $var9, $var10, $var13); if ($rt_suspending()) { break main; } $this.$isDead = 1; return; case 2: nms_WorldClient_playSound($var12, var$3, var$4, var$5, $var14, $var9, $var10, $var13); if ($rt_suspending()) { break main; } $var17 = $this.$fireworkAge; if (!($var17 % 2 | 0)) { $var14 = $this.$fireworkExplosions; if ($var14 !== null) { $var13 = $var17 / 2 | 0; $var14 = $var14.$tagList; $var17 = $rt_compare($var13, $var14.$size0); if ($var17 < 0) { if ($var13 >= 0 && $var17 < 0) { bb: { $var14 = $var14.$array.data[$var13]; $var4 = $var14.$tagMap; if (!$rt_s(2446).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2446).$nativeString.length) break bb; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var13 = $rt_s(2446).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var13 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var13) { bc: { var$13 = $var4.$key; if ($rt_s(2446) !== var$13) { if ($rt_s(2446) === var$13) $var17 = 1; else if (!(var$13 instanceof jl_String)) $var17 = 0; else { var$13 = var$13; $var17 = $rt_s(2446).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var17) { $var17 = 0; break bc; } } $var17 = 1; } if ($var17) break; } $var4 = $var4.$next3; } if ($var4 === null ? 0 : 1) { $var4 = $var14.$tagMap; if ($rt_s(2446) !== null) { bd: { if (!$rt_s(2446).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2446).$nativeString.length) break bd; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var13 = $rt_s(2446).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var13 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var13) { be: { var$13 = $var4.$key; if ($rt_s(2446) !== var$13) { if ($rt_s(2446) !== var$13) { if (var$13 instanceof jl_String) { var$13 = var$13; $var17 = $rt_s(2446).$nativeString !== var$13.$nativeString ? 0 : 1; } else $var17 = 0; } else $var17 = 1; if (!$var17) { $var17 = 0; break be; } } $var17 = 1; } if ($var17) break; } $var4 = $var4.$next3; } } else { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } $var17 = ($var4 === null ? null : $var4.$value1).$data; } else $var17 = 0; bf: { $var4 = $var14.$tagMap; if (!$rt_s(2988).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2988).$nativeString.length) break bf; $rt_s(2988).$hashCode1 = (31 * $rt_s(2988).$hashCode1 | 0) + $rt_s(2988).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var18 = $rt_s(2988).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var18 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var18) { bg: { var$13 = $var4.$key; if ($rt_s(2988) !== var$13) { if ($rt_s(2988) !== var$13) { if (var$13 instanceof jl_String) { var$13 = var$13; $var13 = $rt_s(2988).$nativeString !== var$13.$nativeString ? 0 : 1; } else $var13 = 0; } else $var13 = 1; if (!$var13) { $var13 = 0; break bg; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) $var13 = 0; else { $var4 = $var14.$tagMap; if ($rt_s(2988) === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { bh: { if (!$rt_s(2988).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2988).$nativeString.length) break bh; $rt_s(2988).$hashCode1 = (31 * $rt_s(2988).$hashCode1 | 0) + $rt_s(2988).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var18 = $rt_s(2988).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var18 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var18) { bi: { var$13 = $var4.$key; if ($rt_s(2988) !== var$13) { if ($rt_s(2988) === var$13) $var13 = 1; else if (!(var$13 instanceof jl_String)) $var13 = 0; else { var$13 = var$13; $var13 = $rt_s(2988).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var13) { $var13 = 0; break bi; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } } $var13 = ($var4 === null ? null : $var4.$value1).$data; } $var18 = !$var13 ? 0 : 1; bj: { $var4 = $var14.$tagMap; if (!$rt_s(2990).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2990).$nativeString.length) break bj; $rt_s(2990).$hashCode1 = (31 * $rt_s(2990).$hashCode1 | 0) + $rt_s(2990).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var8 = $rt_s(2990).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var8 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var8) { bk: { var$13 = $var4.$key; if ($rt_s(2990) !== var$13) { if ($rt_s(2990) !== var$13) { if (var$13 instanceof jl_String) { var$13 = var$13; $var13 = $rt_s(2990).$nativeString !== var$13.$nativeString ? 0 : 1; } else $var13 = 0; } else $var13 = 1; if (!$var13) { $var13 = 0; break bk; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } if ($var4 === null ? 0 : 1) { $var4 = $var14.$tagMap; if ($rt_s(2990) !== null) { bl: { if (!$rt_s(2990).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2990).$nativeString.length) break bl; $rt_s(2990).$hashCode1 = (31 * $rt_s(2990).$hashCode1 | 0) + $rt_s(2990).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var8 = $rt_s(2990).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var8 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var8) { bm: { var$13 = $var4.$key; if ($rt_s(2990) !== var$13) { if ($rt_s(2990) !== var$13) { if (var$13 instanceof jl_String) { var$13 = var$13; $var13 = $rt_s(2990).$nativeString !== var$13.$nativeString ? 0 : 1; } else $var13 = 0; } else $var13 = 1; if (!$var13) { $var13 = 0; break bm; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } } else { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } $var13 = ($var4 === null ? null : $var4.$value1).$data; } else $var13 = 0; $var5 = !$var13 ? 0 : 1; bn: { $var4 = $var14.$tagMap; if (!$rt_s(2981).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2981).$nativeString.length) break bn; $rt_s(2981).$hashCode1 = (31 * $rt_s(2981).$hashCode1 | 0) + $rt_s(2981).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var2 = $rt_s(2981).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var2 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var2) { bo: { var$13 = $var4.$key; if ($rt_s(2981) !== var$13) { if ($rt_s(2981) === var$13) $var13 = 1; else if (!(var$13 instanceof jl_String)) $var13 = 0; else { var$13 = var$13; $var13 = $rt_s(2981).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var13) { $var13 = 0; break bo; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) $var6 = $rt_createIntArray(0); else { $var4 = $var14.$tagMap; if ($rt_s(2981) === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { bp: { if (!$rt_s(2981).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2981).$nativeString.length) break bp; $rt_s(2981).$hashCode1 = (31 * $rt_s(2981).$hashCode1 | 0) + $rt_s(2981).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var2 = $rt_s(2981).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var2 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var2) { bq: { var$13 = $var4.$key; if ($rt_s(2981) !== var$13) { if ($rt_s(2981) === var$13) $var13 = 1; else if (!(var$13 instanceof jl_String)) $var13 = 0; else { var$13 = var$13; $var13 = $rt_s(2981).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var13) { $var13 = 0; break bq; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } } $var6 = ($var4 === null ? null : $var4.$value1).$intArray; } br: { $var4 = $var14.$tagMap; if (!$rt_s(2986).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2986).$nativeString.length) break br; $rt_s(2986).$hashCode1 = (31 * $rt_s(2986).$hashCode1 | 0) + $rt_s(2986).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var2 = $rt_s(2986).$hashCode1; var$12 = $var4.$elementData.data; $var4 = var$12[$var2 & (var$12.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == $var2) { bs: { var$13 = $var4.$key; if ($rt_s(2986) !== var$13) { if ($rt_s(2986) === var$13) $var13 = 1; else if (!(var$13 instanceof jl_String)) $var13 = 0; else { var$13 = var$13; $var13 = $rt_s(2986).$nativeString !== var$13.$nativeString ? 0 : 1; } if (!$var13) { $var13 = 0; break bs; } } $var13 = 1; } if ($var13) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) $var7 = $rt_createIntArray(0); else { $var14 = $var14.$tagMap; if ($rt_s(2986) === null) { $var14 = $var14.$elementData.data[0]; while ($var14 !== null && $var14.$key !== null) { $var14 = $var14.$next3; } } else { bt: { if (!$rt_s(2986).$hashCode1) { $var13 = 0; while (true) { if ($var13 >= $rt_s(2986).$nativeString.length) break bt; $rt_s(2986).$hashCode1 = (31 * $rt_s(2986).$hashCode1 | 0) + $rt_s(2986).$nativeString.charCodeAt($var13) | 0; $var13 = $var13 + 1 | 0; } } } $var2 = $rt_s(2986).$hashCode1; var$12 = $var14.$elementData.data; $var14 = var$12[$var2 & (var$12.length - 1 | 0)]; while ($var14 !== null) { if ($var14.$origKeyHash == $var2) { bu: { $var4 = $var14.$key; if ($rt_s(2986) !== $var4) { if ($rt_s(2986) === $var4) $var13 = 1; else if (!($var4 instanceof jl_String)) $var13 = 0; else { $var4 = $var4; $var13 = $rt_s(2986).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!$var13) { $var13 = 0; break bu; } } $var13 = 1; } if ($var13) break; } $var14 = $var14.$next3; } } $var7 = ($var14 === null ? null : $var14.$value1).$intArray; } if ($var17 == 1) { var$3 = 0.5; $var13 = 4; $ptr = 3; continue main; } if ($var17 == 2) { var$3 = 0.5; var$12 = $rt_wrapArray($rt_arraycls($rt_doublecls), [$rt_createDoubleArrayFromData([0.0, 1.0]), $rt_createDoubleArrayFromData([0.3455, 0.309]), $rt_createDoubleArrayFromData([0.9511, 0.309]), $rt_createDoubleArrayFromData([0.3795918367346939, (-0.12653061224489795)]), $rt_createDoubleArrayFromData([0.6122448979591837, (-0.8040816326530612)]), $rt_createDoubleArrayFromData([0.0, (-0.35918367346938773)])]); $var13 = 0; $ptr = 4; continue main; } if ($var17 != 3) { if ($var17 == 4) { $ptr = 8; continue main; } var$3 = 0.25; $var13 = 2; $ptr = 7; continue main; } var$3 = 0.5; var$23 = $rt_wrapArray($rt_arraycls($rt_doublecls), [$rt_createDoubleArrayFromData([0.0, 0.2]), $rt_createDoubleArrayFromData([0.2, 0.2]), $rt_createDoubleArrayFromData([0.2, 0.6]), $rt_createDoubleArrayFromData([0.6, 0.6]), $rt_createDoubleArrayFromData([0.6, 0.2]), $rt_createDoubleArrayFromData([0.2, 0.2]), $rt_createDoubleArrayFromData([0.2, 0.0]), $rt_createDoubleArrayFromData([0.4, 0.0]), $rt_createDoubleArrayFromData([0.4, (-0.6)]), $rt_createDoubleArrayFromData([0.2, (-0.6)]), $rt_createDoubleArrayFromData([0.2, (-0.4)]), $rt_createDoubleArrayFromData([0.0, (-0.4)])]); $var13 = 1; $ptr = 6; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; $rt_throw($var14); } } } $var13 = $this.$fireworkAge + 1 | 0; $this.$fireworkAge = $var13; if ($var13 > $this.$particleMaxAge) { if ($this.$twinkle) { bv: { $var14 = nms_Minecraft_theMinecraft; if ($var14 !== null) { $var14 = $var14.$renderViewEntity; if ($var14 !== null) { var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; var$3 = $var14.$posX - var$3; var$4 = $var14.$posY - var$4; var$5 = $var14.$posZ - var$5; if (var$3 * var$3 + var$4 * var$4 + var$5 * var$5 < 256.0) { $var1 = 0; break bv; } } } $var1 = 1; } $var14 = !$var1 ? $rt_s(3970) : $rt_s(3971); $var12 = new jl_StringBuilder; $var12.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var12, $var12.$length0, $rt_s(3969)); jl_AbstractStringBuilder_insert($var12, $var12.$length0, $var14); $var4 = new jl_String; var$12 = $var12.$buffer; var$15 = var$12.data; $var17 = $var12.$length0; $var5 = var$15.length; if ($var17 >= 0 && $var17 <= ($var5 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$12.data, 0, $var17); $var14 = $this.$worldObj; var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; $var9 = 20.0; $var12 = $this.$rand; var$17 = Long_and(Long_add(Long_mul($var12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var12.$seed = var$17; $var10 = 0.8999999761581421 + Long_lo(Long_shru(var$17, 24)) / 1.6777216E7 * 0.15000000596046448; $var13 = 1; $ptr = 1; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } $this.$isDead = 1; } return; case 3: nms_EntityFireworkStarterFX_createBall($this, var$3, $var13, $var6, $var7, $var18, $var5); if ($rt_suspending()) { break main; } $var8 = $var6.data[0]; $var9 = (($var8 & 16711680) >> 16) / 255.0; $var10 = (($var8 & 65280) >> 8) / 255.0; $var11 = (($var8 & 255) >> 0) / 255.0; $var12 = new nms_EntityFireworkOverlayFX; $var14 = $this.$worldObj; var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; $ptr = 5; continue main; case 4: nms_EntityFireworkStarterFX_createShaped($this, var$3, var$12, $var6, $var7, $var18, $var5, $var13); if ($rt_suspending()) { break main; } $var8 = $var6.data[0]; $var9 = (($var8 & 16711680) >> 16) / 255.0; $var10 = (($var8 & 65280) >> 8) / 255.0; $var11 = (($var8 & 255) >> 0) / 255.0; $var12 = new nms_EntityFireworkOverlayFX; $var14 = $this.$worldObj; var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; $ptr = 5; case 5: nms_EntityFX__init_0($var12, $var14, var$3, var$4, var$5); if ($rt_suspending()) { break main; } $var12.$particleMaxAge = 4; $var12.$particleRed = $var9; $var12.$particleGreen = $var10; $var12.$particleBlue = $var11; $var14 = $this.$theEffectRenderer; var$12 = $var14.$fxLayers.data; if (var$12[0].$size0 >= 4000) ju_ArrayList_remove(var$12[0], 0); $var14 = $var14.$fxLayers.data[0]; ju_ArrayList_ensureCapacity($var14, $var14.$size0 + 1 | 0); var$12 = $var14.$array.data; $var17 = $var14.$size0; $var14.$size0 = $var17 + 1 | 0; var$12[$var17] = $var12; $var14.$modCount = $var14.$modCount + 1 | 0; $var13 = $this.$fireworkAge + 1 | 0; $this.$fireworkAge = $var13; if ($var13 > $this.$particleMaxAge) { if ($this.$twinkle) { bb: { $var14 = nms_Minecraft_theMinecraft; if ($var14 !== null) { $var14 = $var14.$renderViewEntity; if ($var14 !== null) { var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; var$3 = $var14.$posX - var$3; var$4 = $var14.$posY - var$4; var$5 = $var14.$posZ - var$5; if (var$3 * var$3 + var$4 * var$4 + var$5 * var$5 < 256.0) { $var1 = 0; break bb; } } } $var1 = 1; } $var14 = !$var1 ? $rt_s(3970) : $rt_s(3971); $var12 = new jl_StringBuilder; $var12.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert($var12, $var12.$length0, $rt_s(3969)); jl_AbstractStringBuilder_insert($var12, $var12.$length0, $var14); $var4 = new jl_String; var$12 = $var12.$buffer; var$15 = var$12.data; $var17 = $var12.$length0; $var5 = var$15.length; if ($var17 >= 0 && $var17 <= ($var5 - 0 | 0)) { $var4.$nativeString = $rt_charArrayToString(var$12.data, 0, $var17); $var14 = $this.$worldObj; var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; $var9 = 20.0; $var12 = $this.$rand; var$17 = Long_and(Long_add(Long_mul($var12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var12.$seed = var$17; $var10 = 0.8999999761581421 + Long_lo(Long_shru(var$17, 24)) / 1.6777216E7 * 0.15000000596046448; $var13 = 1; $ptr = 1; continue main; } $var14 = new jl_IndexOutOfBoundsException; $var14.$suppressionEnabled = 1; $var14.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var14); $rt_throw($var14); } $this.$isDead = 1; } return; case 6: nms_EntityFireworkStarterFX_createShaped($this, var$3, var$23, $var6, $var7, $var18, $var5, $var13); if ($rt_suspending()) { break main; } $var8 = $var6.data[0]; $var9 = (($var8 & 16711680) >> 16) / 255.0; $var10 = (($var8 & 65280) >> 8) / 255.0; $var11 = (($var8 & 255) >> 0) / 255.0; $var12 = new nms_EntityFireworkOverlayFX; $var14 = $this.$worldObj; var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; $ptr = 5; continue main; case 7: nms_EntityFireworkStarterFX_createBall($this, var$3, $var13, $var6, $var7, $var18, $var5); if ($rt_suspending()) { break main; } $var8 = $var6.data[0]; $var9 = (($var8 & 16711680) >> 16) / 255.0; $var10 = (($var8 & 65280) >> 8) / 255.0; $var11 = (($var8 & 255) >> 0) / 255.0; $var12 = new nms_EntityFireworkOverlayFX; $var14 = $this.$worldObj; var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; $ptr = 5; continue main; case 8: nms_EntityFireworkStarterFX_createBurst($this, $var6, $var7, $var18, $var5); if ($rt_suspending()) { break main; } $var8 = $var6.data[0]; $var9 = (($var8 & 16711680) >> 16) / 255.0; $var10 = (($var8 & 65280) >> 8) / 255.0; $var11 = (($var8 & 255) >> 0) / 255.0; $var12 = new nms_EntityFireworkOverlayFX; $var14 = $this.$worldObj; var$3 = $this.$posX; var$4 = $this.$posY; var$5 = $this.$posZ; $ptr = 5; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var14, $var12, var$3, var$4, var$5, $var1, $var2, $var3, $var13, $var4, $var5, var$12, var$13, $var17, var$15, $var9, var$17, $var10, $var18, $var8, $var6, $var7, var$23, $var11, $ptr); }, nms_EntityFireworkStarterFX_createParticle = ($this, $par1, $par3, $par5, $par7, $par9, $par11, $par13ArrayOfInteger, $par14ArrayOfInteger, $par15, $par16) => { let $var17, var$12, var$13, var$14, var$15, var$16, var$17, $var18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();$var17 = $thread.pop();$par16 = $thread.pop();$par15 = $thread.pop();$par14ArrayOfInteger = $thread.pop();$par13ArrayOfInteger = $thread.pop();$par11 = $thread.pop();$par9 = $thread.pop();$par7 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var17 = new nms_EntityFireworkSparkFX; var$12 = $this.$worldObj; var$13 = $this.$theEffectRenderer; $ptr = 1; case 1: nms_EntityFX__init_0($var17, var$12, $par1, $par3, $par5); if ($rt_suspending()) { break main; } $var17.$baseTextureIndex = 160; $var17.$motionX = $par7; $var17.$motionY = $par9; $var17.$motionZ = $par11; $var17.$field_92047_az = var$13; $var17.$particleScale = $var17.$particleScale * 0.75; var$12 = $var17.$rand; var$14 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$14; var$15 = Long_lo(Long_shru(var$14, 17)); while (true) { var$16 = var$15 % 12 | 0; if (((var$15 - var$16 | 0) + 11 | 0) >= 0) break; var$14 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$14; var$15 = Long_lo(Long_shru(var$14, 17)); } $par13ArrayOfInteger = $par13ArrayOfInteger.data; $var17.$particleMaxAge = 48 + var$16 | 0; $var17.$noClip = 0; $var17.$field_92054_ax = $par15; $var17.$field_92048_ay = $par16; var$12 = $this.$rand; $par15 = $par13ArrayOfInteger.length; var$14 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$14; var$17 = Long_lo(Long_shru(var$14, 17)); $par16 = $par15 - 1 | 0; if (!($par15 & $par16)) $var18 = Long_lo(Long_shr(Long_mul(Long_fromInt($par15), Long_fromInt(var$17)), 31)); else while (true) { $var18 = var$17 % $par15 | 0; if (((var$17 - $var18 | 0) + $par16 | 0) >= 0) break; var$14 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$14; var$17 = Long_lo(Long_shru(var$14, 17)); } nms_EntityFireworkSparkFX_setColour($var17, $par13ArrayOfInteger[$var18]); if ($par14ArrayOfInteger !== null) { $par13ArrayOfInteger = $par14ArrayOfInteger.data; $par15 = $par13ArrayOfInteger.length; if ($par15 > 0) { var$12 = $this.$rand; var$14 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$14; var$17 = Long_lo(Long_shru(var$14, 17)); $par16 = $par15 - 1 | 0; if (!($par15 & $par16)) $var18 = Long_lo(Long_shr(Long_mul(Long_fromInt($par15), Long_fromInt(var$17)), 31)); else while (true) { $var18 = var$17 % $par15 | 0; if (((var$17 - $var18 | 0) + $par16 | 0) >= 0) break; var$14 = Long_and(Long_add(Long_mul(var$12.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$12.$seed = var$14; var$17 = Long_lo(Long_shru(var$14, 17)); } nms_EntityFireworkSparkFX_setFadeColour($var17, $par13ArrayOfInteger[$var18]); } } var$12 = $this.$theEffectRenderer; $par13ArrayOfInteger = var$12.$fxLayers.data; if ($par13ArrayOfInteger[0].$size0 >= 4000) ju_ArrayList_remove($par13ArrayOfInteger[0], 0); var$12 = var$12.$fxLayers.data[0]; ju_ArrayList_ensureCapacity(var$12, var$12.$size0 + 1 | 0); $par13ArrayOfInteger = var$12.$array.data; $par16 = var$12.$size0; var$12.$size0 = $par16 + 1 | 0; $par13ArrayOfInteger[$par16] = $var17; var$12.$modCount = var$12.$modCount + 1 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3, $par5, $par7, $par9, $par11, $par13ArrayOfInteger, $par14ArrayOfInteger, $par15, $par16, $var17, var$12, var$13, var$14, var$15, var$16, var$17, $var18, $ptr); }, nms_EntityFireworkStarterFX_createBall = ($this, $par1, $par3, $par4ArrayOfInteger, $par5ArrayOfInteger, $par6, $par7) => { let $var8, $var10, $var12, var$10, var$11, var$12, $var14, var$14, $var15, var$16, $var16, $var17, var$19, var$20, var$21, var$22, $var21, $var19, var$25, var$26, $var23, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var23 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();$var19 = $thread.pop();$var21 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();$var17 = $thread.pop();$var16 = $thread.pop();var$16 = $thread.pop();$var15 = $thread.pop();var$14 = $thread.pop();$var14 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5ArrayOfInteger = $thread.pop();$par4ArrayOfInteger = $thread.pop();$par3 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = $this.$posX; $var10 = $this.$posY; $var12 = $this.$posZ; var$10 = -$par3 | 0; var$11 = 22; var$12 = ($par3 * 2 | 0) - 1 | 0; $var14 = var$10; while (true) { var$14 = $rt_compare($var14, $par3); if (var$14 > 0) break; $var15 = var$10; while (true) { var$16 = $rt_compare($var15, $par3); if (var$16 > 0) break; $var16 = var$10; if ($var16 <= $par3) { $var17 = $var15; var$19 = $this.$rand; var$20 = Long_and(Long_add(Long_mul(var$19.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$20; var$21 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$20, var$11))), 27); var$22 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; $var21 = Long_toNumber(Long_add(var$21, Long_fromInt(Long_lo(Long_shru(var$22, 21))))) * 1.1102230246251565E-16; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; var$21 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$22, var$11))), 27); var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; $var17 = $var17 + ($var21 - Long_toNumber(Long_add(var$21, Long_fromInt(Long_lo(Long_shru(var$22, 21))))) * 1.1102230246251565E-16) * 0.5; $var19 = $var14; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; var$21 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$22, var$11))), 27); var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; var$25 = Long_toNumber(Long_add(var$21, Long_fromInt(Long_lo(Long_shru(var$22, 21))))) * 1.1102230246251565E-16; var$21 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$21; var$22 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$21, var$11))), 27); var$20 = Long_and(Long_add(Long_mul(var$21, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$20; $var19 = $var19 + (var$25 - Long_toNumber(Long_add(var$22, Long_fromInt(Long_lo(Long_shru(var$20, 21))))) * 1.1102230246251565E-16) * 0.5; var$26 = $var16; var$22 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; var$21 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$22, var$11))), 27); var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; $var23 = Long_toNumber(Long_add(var$21, Long_fromInt(Long_lo(Long_shru(var$22, 21))))) * 1.1102230246251565E-16; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; var$21 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$22, var$11))), 27); var$20 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$20; $var21 = var$26 + ($var23 - Long_toNumber(Long_add(var$21, Long_fromInt(Long_lo(Long_shru(var$20, 21))))) * 1.1102230246251565E-16) * 0.5; $var23 = jl_Math_sqrt($var17 * $var17 + $var19 * $var19 + $var21 * $var21) / $par1 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05; var$25 = $var17 / $var23; $var19 = $var19 / $var23; $var17 = $var21 / $var23; $ptr = 1; continue main; } $var15 = $var15 + 1 | 0; } $var14 = $var14 + 1 | 0; } return; case 1: nms_EntityFireworkStarterFX_createParticle($this, $var8, $var10, $var12, var$25, $var19, $var17, $par4ArrayOfInteger, $par5ArrayOfInteger, $par6, $par7); if ($rt_suspending()) { break main; } if ($var14 != var$10 && var$14 && $var15 != var$10 && var$16) $var16 = $var16 + var$12 | 0; $var16 = $var16 + 1 | 0; a: while (true) { if ($var16 <= $par3) { $var17 = $var15; var$19 = $this.$rand; var$20 = Long_and(Long_add(Long_mul(var$19.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$20; var$21 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$20, var$11))), 27); var$22 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; $var21 = Long_toNumber(Long_add(var$21, Long_fromInt(Long_lo(Long_shru(var$22, 21))))) * 1.1102230246251565E-16; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; var$21 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$22, var$11))), 27); var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; $var17 = $var17 + ($var21 - Long_toNumber(Long_add(var$21, Long_fromInt(Long_lo(Long_shru(var$22, 21))))) * 1.1102230246251565E-16) * 0.5; $var19 = $var14; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; var$21 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$22, var$11))), 27); var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; var$25 = Long_toNumber(Long_add(var$21, Long_fromInt(Long_lo(Long_shru(var$22, 21))))) * 1.1102230246251565E-16; var$21 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$21; var$22 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$21, var$11))), 27); var$20 = Long_and(Long_add(Long_mul(var$21, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$20; $var19 = $var19 + (var$25 - Long_toNumber(Long_add(var$22, Long_fromInt(Long_lo(Long_shru(var$20, 21))))) * 1.1102230246251565E-16) * 0.5; var$26 = $var16; var$22 = Long_and(Long_add(Long_mul(var$20, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; var$21 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$22, var$11))), 27); var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; $var23 = Long_toNumber(Long_add(var$21, Long_fromInt(Long_lo(Long_shru(var$22, 21))))) * 1.1102230246251565E-16; var$22 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$22; var$21 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$22, var$11))), 27); var$20 = Long_and(Long_add(Long_mul(var$22, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$19.$seed = var$20; $var21 = var$26 + ($var23 - Long_toNumber(Long_add(var$21, Long_fromInt(Long_lo(Long_shru(var$20, 21))))) * 1.1102230246251565E-16) * 0.5; $var23 = jl_Math_sqrt($var17 * $var17 + $var19 * $var19 + $var21 * $var21) / $par1 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05; var$25 = $var17 / $var23; $var19 = $var19 / $var23; $var17 = $var21 / $var23; continue main; } $var15 = $var15 + 1 | 0; while (true) { var$16 = $rt_compare($var15, $par3); if (var$16 <= 0) break; $var14 = $var14 + 1 | 0; var$14 = $rt_compare($var14, $par3); if (var$14 > 0) break a; $var15 = var$10; } $var16 = var$10; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3, $par4ArrayOfInteger, $par5ArrayOfInteger, $par6, $par7, $var8, $var10, $var12, var$10, var$11, var$12, $var14, var$14, $var15, var$16, $var16, $var17, var$19, var$20, var$21, var$22, $var21, $var19, var$25, var$26, $var23, $ptr); }, nms_EntityFireworkStarterFX_createShaped = ($this, $par1, $par3ArrayOfDouble, $par4ArrayOfInteger, $par5ArrayOfInteger, $par6, $par7, $par8) => { let $var9, $var11, $var17, var$11, var$12, $var26, $var28, $var30, var$16, var$17, $var13, $var14, $var16, var$21, $var23, $var24, $var32, $var34, $var36, var$27, var$28, var$29, var$30, var$31, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$31 = $thread.pop();var$30 = $thread.pop();var$29 = $thread.pop();var$28 = $thread.pop();var$27 = $thread.pop();$var36 = $thread.pop();$var34 = $thread.pop();$var32 = $thread.pop();$var24 = $thread.pop();$var23 = $thread.pop();var$21 = $thread.pop();$var16 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var30 = $thread.pop();$var28 = $thread.pop();$var26 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();$var17 = $thread.pop();$var11 = $thread.pop();$var9 = $thread.pop();$par8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5ArrayOfInteger = $thread.pop();$par4ArrayOfInteger = $thread.pop();$par3ArrayOfDouble = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par3ArrayOfDouble = $par3ArrayOfDouble.data; $var9 = $par3ArrayOfDouble[0].data[0]; $var11 = $par3ArrayOfDouble[0].data[1]; $var17 = $this.$posX; var$11 = $this.$posY; var$12 = $this.$posZ; $var26 = $var9 * $par1; $var28 = $var11 * $par1; $var30 = 0.0; $ptr = 1; case 1: nms_EntityFireworkStarterFX_createParticle($this, $var17, var$11, var$12, $var26, $var28, $var30, $par4ArrayOfInteger, $par5ArrayOfInteger, $par6, $par7); if ($rt_suspending()) { break main; } var$16 = $this.$rand; var$17 = Long_and(Long_add(Long_mul(var$16.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$16.$seed = var$17; $var13 = Long_lo(Long_shru(var$17, 24)) / 1.6777216E7 * 3.1415927410125732; $var14 = !$par8 ? 0.34 : 0.034; $var16 = 0; var$21 = $var13; while ($var16 < 3) { $var17 = var$21 + $var16 * 3.1415927410125732 * $var14; $var23 = 1; var$11 = $var9; var$12 = $var11; while ($var23 < $par3ArrayOfDouble.length) { $var24 = $par3ArrayOfDouble[$var23].data[0]; $var26 = $par3ArrayOfDouble[$var23].data[1]; $var28 = 0.25; while ($var28 <= 1.0) { $var30 = (var$11 + ($var24 - var$11) * $var28) * $par1; $var32 = (var$12 + ($var26 - var$12) * $var28) * $par1; $var34 = $var30 * jl_Math_sin($var17); $var30 = $var30 * jl_Math_cos($var17); $var36 = (-1.0); if ($var36 <= 1.0) { var$27 = $this.$posX; var$28 = $this.$posY; var$29 = $this.$posZ; var$30 = $var30 * $var36; var$31 = $var34 * $var36; $ptr = 2; continue main; } $var28 = $var28 + 0.25; } $var23 = $var23 + 1 | 0; var$11 = $var24; var$12 = $var26; } $var16 = $var16 + 1 | 0; } return; case 2: nms_EntityFireworkStarterFX_createParticle($this, var$27, var$28, var$29, var$30, $var32, var$31, $par4ArrayOfInteger, $par5ArrayOfInteger, $par6, $par7); if ($rt_suspending()) { break main; } $var36 = $var36 + 2.0; a: while (true) { if ($var36 <= 1.0) { var$27 = $this.$posX; var$28 = $this.$posY; var$29 = $this.$posZ; var$30 = $var30 * $var36; var$31 = $var34 * $var36; continue main; } $var28 = $var28 + 0.25; while ($var28 > 1.0) { $var23 = $var23 + 1 | 0; var$11 = $var24; var$12 = $var26; while ($var23 >= $par3ArrayOfDouble.length) { $var16 = $var16 + 1 | 0; if ($var16 >= 3) break a; $var17 = var$21 + $var16 * 3.1415927410125732 * $var14; $var23 = 1; var$11 = $var9; var$12 = $var11; } $var24 = $par3ArrayOfDouble[$var23].data[0]; $var26 = $par3ArrayOfDouble[$var23].data[1]; $var28 = 0.25; } $var30 = (var$11 + ($var24 - var$11) * $var28) * $par1; $var32 = (var$12 + ($var26 - var$12) * $var28) * $par1; $var34 = $var30 * jl_Math_sin($var17); $var30 = $var30 * jl_Math_cos($var17); $var36 = (-1.0); } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par3ArrayOfDouble, $par4ArrayOfInteger, $par5ArrayOfInteger, $par6, $par7, $par8, $var9, $var11, $var17, var$11, var$12, $var26, $var28, $var30, var$16, var$17, $var13, $var14, $var16, var$21, $var23, $var24, $var32, $var34, $var36, var$27, var$28, var$29, var$30, var$31, $ptr); }, nms_EntityFireworkStarterFX_createBurst = ($this, $par1ArrayOfInteger, $par2ArrayOfInteger, $par3, $par4) => { let $var5, $var7, $var9, var$8, var$9, $var10, $var12, $var14, var$13, var$14, var$15, var$16, var$17, var$18, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var14 = $thread.pop();$var12 = $thread.pop();$var10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var9 = $thread.pop();$var7 = $thread.pop();$var5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2ArrayOfInteger = $thread.pop();$par1ArrayOfInteger = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var5 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05; $var7 = nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.05; $var9 = 0; var$8 = 22; var$9 = 21; if ($var9 >= 70) return; $var10 = $this.$motionX * 0.5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.15 + $var5; $var12 = $this.$motionZ * 0.5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.15 + $var7; $var14 = $this.$motionY * 0.5; var$13 = $this.$rand; var$14 = Long_and(Long_add(Long_mul(var$13.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$14; var$15 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$8))), 27); var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$14; $var14 = $var14 + Long_toNumber(Long_add(var$15, Long_fromInt(Long_lo(Long_shru(var$14, var$9))))) * 1.1102230246251565E-16 * 0.5; var$16 = $this.$posX; var$17 = $this.$posY; var$18 = $this.$posZ; $ptr = 1; case 1: nms_EntityFireworkStarterFX_createParticle($this, var$16, var$17, var$18, $var10, $var14, $var12, $par1ArrayOfInteger, $par2ArrayOfInteger, $par3, $par4); if ($rt_suspending()) { break main; } $var9 = $var9 + 1 | 0; if ($var9 >= 70) return; $var10 = $this.$motionX * 0.5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.15 + $var5; $var12 = $this.$motionZ * 0.5 + nle_EaglercraftRandom_nextGaussian($this.$rand) * 0.15 + $var7; $var14 = $this.$motionY * 0.5; var$13 = $this.$rand; var$14 = Long_and(Long_add(Long_mul(var$13.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$14; var$15 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$14, var$8))), 27); var$14 = Long_and(Long_add(Long_mul(var$14, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$13.$seed = var$14; $var14 = $var14 + Long_toNumber(Long_add(var$15, Long_fromInt(Long_lo(Long_shru(var$14, var$9))))) * 1.1102230246251565E-16 * 0.5; var$16 = $this.$posX; var$17 = $this.$posY; var$18 = $this.$posZ; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1ArrayOfInteger, $par2ArrayOfInteger, $par3, $par4, $var5, $var7, $var9, var$8, var$9, $var10, $var12, $var14, var$13, var$14, var$15, var$16, var$17, var$18, $ptr); }, nms_EntityFireworkStarterFX_getFXLayer = $this => { return 0; }; function nms_EntityHugeExplodeFX() { let a = this; nms_EntityFX.call(a); a.$timeSinceStart = 0; a.$maximumTime = 0; } let nms_EntityHugeExplodeFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { return; }, nms_EntityHugeExplodeFX_onUpdate = $this => { let $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $var2, var$10, $var4, var$12, $var6, var$14, var$15, var$16, var$17, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();$var6 = $thread.pop();var$12 = $thread.pop();$var4 = $thread.pop();var$10 = $thread.pop();$var2 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var1 = 0; var$2 = 22; var$3 = 21; while ($var1 < 6) { var$4 = $this.$posX; var$5 = $this.$rand; var$6 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$6, var$2))), 27); var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$8 = Long_toNumber(Long_add(var$7, Long_fromInt(Long_lo(Long_shru(var$6, var$3))))) * 1.1102230246251565E-16; var$7 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$7; var$6 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$7, var$2))), 27); var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$7; $var2 = var$4 + (var$8 - Long_toNumber(Long_add(var$6, Long_fromInt(Long_lo(Long_shru(var$7, var$3))))) * 1.1102230246251565E-16) * 4.0; var$4 = $this.$posY; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$7; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$7, var$2))), 27); var$6 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$8 = Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$6, var$3))))) * 1.1102230246251565E-16; var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$6, var$2))), 27); var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; $var4 = var$4 + (var$8 - Long_toNumber(Long_add(var$7, Long_fromInt(Long_lo(Long_shru(var$6, var$3))))) * 1.1102230246251565E-16) * 4.0; var$4 = $this.$posZ; var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$6, var$2))), 27); var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$12 = Long_toNumber(Long_add(var$7, Long_fromInt(Long_lo(Long_shru(var$6, var$3))))) * 1.1102230246251565E-16; var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$6, var$2))), 27); var$10 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$10; $var6 = var$4 + (var$12 - Long_toNumber(Long_add(var$7, Long_fromInt(Long_lo(Long_shru(var$10, var$3))))) * 1.1102230246251565E-16) * 4.0; var$5 = $this.$worldObj; var$14 = $rt_s(1474); var$12 = $this.$timeSinceStart / $this.$maximumTime; var$4 = 0.0; var$8 = 0.0; var$15 = 0; var$16 = var$5.$worldAccesses; var$17 = $rt_compare(var$15, var$16.$size0); if (var$17 < 0) { if (var$15 >= 0 && var$17 < 0) { var$16 = var$16.$array.data[var$15]; $ptr = 1; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $var1 = $var1 + 1 | 0; } $var1 = $this.$timeSinceStart + 1 | 0; $this.$timeSinceStart = $var1; if ($var1 == $this.$maximumTime) $this.$isDead = 1; return; case 1: nms_RenderGlobal_doSpawnParticle(var$16, var$14, $var2, $var4, $var6, var$12, var$4, var$8); if ($rt_suspending()) { break main; } var$15 = var$15 + 1 | 0; while (true) { var$16 = var$5.$worldAccesses; var$17 = $rt_compare(var$15, var$16.$size0); if (var$17 < 0) { if (var$15 >= 0 && var$17 < 0) { var$16 = var$16.$array.data[var$15]; continue main; } var$5 = new jl_IndexOutOfBoundsException; var$5.$suppressionEnabled = 1; var$5.$writableStackTrace = 1; $rt_throw(var$5); } $var1 = $var1 + 1 | 0; if ($var1 >= 6) break; var$4 = $this.$posX; var$5 = $this.$rand; var$6 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$6, var$2))), 27); var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$8 = Long_toNumber(Long_add(var$7, Long_fromInt(Long_lo(Long_shru(var$6, var$3))))) * 1.1102230246251565E-16; var$7 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$7; var$6 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$7, var$2))), 27); var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$7; $var2 = var$4 + (var$8 - Long_toNumber(Long_add(var$6, Long_fromInt(Long_lo(Long_shru(var$7, var$3))))) * 1.1102230246251565E-16) * 4.0; var$4 = $this.$posY; var$7 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$7; var$10 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$7, var$2))), 27); var$6 = Long_and(Long_add(Long_mul(var$7, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$8 = Long_toNumber(Long_add(var$10, Long_fromInt(Long_lo(Long_shru(var$6, var$3))))) * 1.1102230246251565E-16; var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$6, var$2))), 27); var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; $var4 = var$4 + (var$8 - Long_toNumber(Long_add(var$7, Long_fromInt(Long_lo(Long_shru(var$6, var$3))))) * 1.1102230246251565E-16) * 4.0; var$4 = $this.$posZ; var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$6, var$2))), 27); var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$12 = Long_toNumber(Long_add(var$7, Long_fromInt(Long_lo(Long_shru(var$6, var$3))))) * 1.1102230246251565E-16; var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$6; var$7 = Long_shl(Long_fromInt(Long_lo(Long_shru(var$6, var$2))), 27); var$10 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$10; $var6 = var$4 + (var$12 - Long_toNumber(Long_add(var$7, Long_fromInt(Long_lo(Long_shru(var$10, var$3))))) * 1.1102230246251565E-16) * 4.0; var$5 = $this.$worldObj; var$14 = $rt_s(1474); var$12 = $this.$timeSinceStart / $this.$maximumTime; var$4 = 0.0; var$8 = 0.0; var$15 = 0; } $var1 = $this.$timeSinceStart + 1 | 0; $this.$timeSinceStart = $var1; if ($var1 == $this.$maximumTime) $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $var2, var$10, $var4, var$12, $var6, var$14, var$15, var$16, var$17, $ptr); }, nms_EntityHugeExplodeFX_getFXLayer = $this => { return 1; }, nms_EntityBubbleFX = $rt_classWithoutFields(nms_EntityFX), nms_EntityBubbleFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12) => { let var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $this.$particleRed = 1.0; $this.$particleGreen = 1.0; $this.$particleBlue = 1.0; $this.$particleTextureIndexX = 0; $this.$particleTextureIndexY = 2; var$8 = 0.019999999552965164; var$9 = 0.019999999552965164; $ptr = 2; case 2: nms_Entity_setSize($this, var$8, var$9); if ($rt_suspending()) { break main; } var$8 = $this.$particleScale; $par1World = $this.$rand; var$10 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$10; $this.$particleScale = var$8 * (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 0.6000000238418579 + 0.20000000298023224); $this.$motionX = $par8 * 0.20000000298023224 + (jl_Math_randomImpl() * 2.0 - 1.0) * 0.019999999552965164; $this.$motionY = $par10 * 0.20000000298023224 + (jl_Math_randomImpl() * 2.0 - 1.0) * 0.019999999552965164; $this.$motionZ = $par12 * 0.20000000298023224 + (jl_Math_randomImpl() * 2.0 - 1.0) * 0.019999999552965164; $this.$particleMaxAge = 8.0 / (jl_Math_randomImpl() * 0.8 + 0.2) | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, var$8, var$9, var$10, $ptr); }, nms_EntityBubbleFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6) => { let var_7 = new nms_EntityBubbleFX(); nms_EntityBubbleFX__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; }, nms_EntityBubbleFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$motionY + 0.002; $this.$motionY = var$1; var$2 = $this.$motionX; var$3 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, var$1, var$3); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.8500000238418579; $this.$motionY = $this.$motionY * 0.8500000238418579; $this.$motionZ = $this.$motionZ * 0.8500000238418579; var$4 = $this.$worldObj; var$1 = $this.$posX; var$5 = var$1 | 0; if (var$1 < var$5) var$5 = var$5 - 1 | 0; var$1 = $this.$posY; var$6 = var$1 | 0; if (var$1 < var$6) var$6 = var$6 - 1 | 0; var$1 = $this.$posZ; var$7 = var$1 | 0; if (var$1 < var$7) var$7 = var$7 - 1 | 0; var$8 = nms_World_getBlockId(var$4, var$5, var$6, var$7); if (!var$8) { nms_Material_$callClinit(); var$9 = nms_Material_air; } else { nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8].$blockMaterial; } nms_Material_$callClinit(); if (var$9 !== nms_Material_water) $this.$isDead = 1; var$8 = $this.$particleMaxAge; $this.$particleMaxAge = var$8 - 1 | 0; if (var$8 <= 0) $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_EntitySuspendFX = $rt_classWithoutFields(nms_EntityFX), nms_EntitySuspendFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12) => { let var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par4 = $par4 - 0.125; $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $this.$particleRed = 0.4000000059604645; $this.$particleGreen = 0.4000000059604645; $this.$particleBlue = 0.699999988079071; $this.$particleTextureIndexX = 0; $this.$particleTextureIndexY = 0; var$8 = 0.009999999776482582; var$9 = 0.009999999776482582; $ptr = 2; case 2: nms_Entity_setSize($this, var$8, var$9); if ($rt_suspending()) { break main; } var$9 = $this.$particleScale; $par1World = $this.$rand; var$10 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$10; $this.$particleScale = var$9 * (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 0.6000000238418579 + 0.20000000298023224); $this.$motionX = $par8 * 0.0; $this.$motionY = $par10 * 0.0; $this.$motionZ = $par12 * 0.0; $this.$particleMaxAge = 16.0 / (jl_Math_randomImpl() * 0.8 + 0.2) | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, var$8, var$9, var$10, $ptr); }, nms_EntitySuspendFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6) => { let var_7 = new nms_EntitySuspendFX(); nms_EntitySuspendFX__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; }, nms_EntitySuspendFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$motionX; var$2 = $this.$motionY; var$3 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$1, var$2, var$3); if ($rt_suspending()) { break main; } var$4 = $this.$worldObj; var$1 = $this.$posX; var$5 = var$1 | 0; if (var$1 < var$5) var$5 = var$5 - 1 | 0; var$1 = $this.$posY; var$6 = var$1 | 0; if (var$1 < var$6) var$6 = var$6 - 1 | 0; var$1 = $this.$posZ; var$7 = var$1 | 0; if (var$1 < var$7) var$7 = var$7 - 1 | 0; var$8 = nms_World_getBlockId(var$4, var$5, var$6, var$7); if (!var$8) { nms_Material_$callClinit(); var$9 = nms_Material_air; } else { nms_Block_$callClinit(); var$9 = nms_Block_blocksList.data[var$8].$blockMaterial; } nms_Material_$callClinit(); if (var$9 !== nms_Material_water) $this.$isDead = 1; var$8 = $this.$particleMaxAge; $this.$particleMaxAge = var$8 - 1 | 0; if (var$8 <= 0) $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, $ptr); }, nms_EntityAuraFX = $rt_classWithoutFields(nms_EntityFX), nms_EntityAuraFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12) => { let var$8, var$9, $var14, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();$var14 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $par1World = $this.$rand; var$8 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; var$9 = 24; $var14 = Long_lo(Long_shru(var$8, var$9)) / 1.6777216E7 * 0.10000000149011612 + 0.20000000298023224; $this.$particleRed = $var14; $this.$particleGreen = $var14; $this.$particleBlue = $var14; $this.$particleTextureIndexX = 0; $this.$particleTextureIndexY = 0; $var14 = 0.019999999552965164; var$11 = 0.019999999552965164; $ptr = 2; case 2: nms_Entity_setSize($this, $var14, var$11); if ($rt_suspending()) { break main; } var$11 = $this.$particleScale; $par1World = $this.$rand; var$8 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; $this.$particleScale = var$11 * (Long_lo(Long_shru(var$8, var$9)) / 1.6777216E7 * 0.6000000238418579 + 0.5); $this.$motionX = $this.$motionX * 0.019999999552965164; $this.$motionY = $this.$motionY * 0.019999999552965164; $this.$motionZ = $this.$motionZ * 0.019999999552965164; $this.$particleMaxAge = 20.0 / (jl_Math_randomImpl() * 0.8 + 0.2) | 0; $this.$noClip = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, var$8, var$9, $var14, var$11, $ptr); }, nms_EntityAuraFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6) => { let var_7 = new nms_EntityAuraFX(); nms_EntityAuraFX__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; }, nms_EntityAuraFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$motionX; var$2 = $this.$motionY; var$3 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$1, var$2, var$3); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.99; $this.$motionY = $this.$motionY * 0.99; $this.$motionZ = $this.$motionZ * 0.99; var$4 = $this.$particleMaxAge; $this.$particleMaxAge = var$4 - 1 | 0; if (var$4 <= 0) $this.$isDead = 1; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); }; function nms_EntityCritFX() { nms_EntityFX.call(this); this.$initialParticleScale = 0.0; } let nms_EntityCritFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14) => { let var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$par14 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$9 = 0.0; var$10 = 0.0; var$11 = 0.0; $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, var$9, var$10, var$11); if ($rt_suspending()) { break main; } var$9 = $this.$motionX * 0.10000000149011612; $this.$motionX = var$9; $par2 = $this.$motionY * 0.10000000149011612; $this.$motionY = $par2; $par4 = $this.$motionZ * 0.10000000149011612; $this.$motionZ = $par4; $this.$motionX = var$9 + $par8 * 0.4; $this.$motionY = $par2 + $par10 * 0.4; $this.$motionZ = $par4 + $par12 * 0.4; var$12 = jl_Math_randomImpl() * 0.30000001192092896 + 0.6000000238418579; $this.$particleBlue = var$12; $this.$particleGreen = var$12; $this.$particleRed = var$12; var$12 = $this.$particleScale * 0.75; $this.$particleScale = var$12; var$12 = var$12 * $par14; $this.$particleScale = var$12; $this.$initialParticleScale = var$12; var$13 = 6.0 / (jl_Math_randomImpl() * 0.8 + 0.6) | 0; $this.$particleMaxAge = var$13; $this.$particleMaxAge = var$13 * $par14 | 0; $this.$noClip = 0; $this.$particleTextureIndexX = 1; $this.$particleTextureIndexY = 4; $ptr = 2; case 2: nms_EntityCritFX_onUpdate($this); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntityCritFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7) => { let var_8 = new nms_EntityCritFX(); nms_EntityCritFX__init_(var_8, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7); return var_8; }, nms_EntityCritFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8; $var8 = ($this.$particleAge + $par2) / $this.$particleMaxAge * 32.0; if ($var8 < 0.0) $var8 = 0.0; if ($var8 > 1.0) $var8 = 1.0; $this.$particleScale = $this.$initialParticleScale * $var8; nms_EntityFX_renderParticle($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7); }, nms_EntityCritFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; $this.$particleAge = var$1 + 1 | 0; if (var$1 >= $this.$particleMaxAge) $this.$isDead = 1; var$2 = $this.$motionX; var$3 = $this.$motionY; var$4 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, var$3, var$4); if ($rt_suspending()) { break main; } $this.$particleGreen = $this.$particleGreen * 0.96; $this.$particleBlue = $this.$particleBlue * 0.9; var$2 = $this.$motionX * 0.699999988079071; $this.$motionX = var$2; var$3 = $this.$motionY * 0.699999988079071; $this.$motionY = var$3; var$4 = $this.$motionZ * 0.699999988079071; $this.$motionZ = var$4; $this.$motionY = var$3 - 0.019999999552965164; if ($this.$onGround) { $this.$motionX = var$2 * 0.699999988079071; $this.$motionZ = var$4 * 0.699999988079071; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); }; function nms_EntitySpellParticleFX() { nms_EntityFX.call(this); this.$baseSpellTextureIndex = 0; } let nms_EntitySpellParticleFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $this.$baseSpellTextureIndex = 128; $this.$motionY = $this.$motionY * 0.20000000298023224; if ($par8 === 0.0 && $par12 === 0.0) { $this.$motionX = $this.$motionX * 0.10000000149011612; $this.$motionZ = $this.$motionZ * 0.10000000149011612; } $this.$particleScale = $this.$particleScale * 0.75; $this.$particleMaxAge = 8.0 / (jl_Math_randomImpl() * 0.8 + 0.2) | 0; $this.$noClip = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $ptr); }, nms_EntitySpellParticleFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6) => { let var_7 = new nms_EntitySpellParticleFX(); nms_EntitySpellParticleFX__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; }, nms_EntitySpellParticleFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8; $var8 = ($this.$particleAge + $par2) / $this.$particleMaxAge * 32.0; if ($var8 < 0.0) $var8 = 0.0; nms_EntityFX_renderParticle($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7); }, nms_EntitySpellParticleFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; var$2 = var$1 + 1 | 0; $this.$particleAge = var$2; var$3 = $this.$particleMaxAge; if (var$1 >= var$3) $this.$isDead = 1; var$4 = $this.$baseSpellTextureIndex + (7 - ((var$2 * 8 | 0) / var$3 | 0) | 0) | 0; $this.$particleTextureIndexX = var$4 % 16 | 0; $this.$particleTextureIndexY = var$4 / 16 | 0; var$5 = $this.$motionY + 0.004; $this.$motionY = var$5; var$6 = $this.$motionX; var$7 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$6, var$5, var$7); if ($rt_suspending()) { break main; } if ($this.$posY === $this.$prevPosY) { $this.$motionX = $this.$motionX * 1.1; $this.$motionZ = $this.$motionZ * 1.1; } var$5 = $this.$motionX * 0.9599999785423279; $this.$motionX = var$5; $this.$motionY = $this.$motionY * 0.9599999785423279; var$6 = $this.$motionZ * 0.9599999785423279; $this.$motionZ = var$6; if ($this.$onGround) { $this.$motionX = var$5 * 0.699999988079071; $this.$motionZ = var$6 * 0.699999988079071; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, $ptr); }; function nms_EntityNoteFX() { nms_EntityFX.call(this); this.$noteParticleScale = 0.0; } let nms_EntityNoteFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14) => { let var$9, var$10, var$11, var$12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$par14 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par10 = 0.0; $par12 = 0.0; var$9 = 0.0; $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, $par10, $par12, var$9); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.009999999776482582; $par2 = $this.$motionY * 0.009999999776482582; $this.$motionY = $par2; $this.$motionZ = $this.$motionZ * 0.009999999776482582; $this.$motionY = $par2 + 0.2; var$10 = $par8; var$11 = (var$10 + 0.0) * 3.1415927410125732 * 2.0; var$12 = nms_MathHelper_SIN_TABLE.data; $this.$particleRed = var$12[(var$11 * 10430.3779296875 | 0) & 65535] * 0.6499999761581421 + 0.3499999940395355; $this.$particleGreen = var$12[((var$10 + 0.3333333432674408) * 3.1415927410125732 * 2.0 * 10430.3779296875 | 0) & 65535] * 0.6499999761581421 + 0.3499999940395355; $this.$particleBlue = var$12[((var$10 + 0.6666666865348816) * 3.1415927410125732 * 2.0 * 10430.3779296875 | 0) & 65535] * 0.6499999761581421 + 0.3499999940395355; var$13 = $this.$particleScale * 0.75; $this.$particleScale = var$13; $par14 = var$13 * $par14; $this.$particleScale = $par14; $this.$noteParticleScale = $par14; $this.$particleMaxAge = 6; $this.$noClip = 0; $this.$particleTextureIndexX = 0; $this.$particleTextureIndexY = 4; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14, var$9, var$10, var$11, var$12, var$13, $ptr); }, nms_EntityNoteFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7) => { let var_8 = new nms_EntityNoteFX(); nms_EntityNoteFX__init_(var_8, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7); return var_8; }, nms_EntityNoteFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8; $var8 = ($this.$particleAge + $par2) / $this.$particleMaxAge * 32.0; if ($var8 < 0.0) $var8 = 0.0; if ($var8 > 1.0) $var8 = 1.0; $this.$particleScale = $this.$noteParticleScale * $var8; nms_EntityFX_renderParticle($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7); }, nms_EntityNoteFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; $this.$particleAge = var$1 + 1 | 0; if (var$1 >= $this.$particleMaxAge) $this.$isDead = 1; var$2 = $this.$motionX; var$3 = $this.$motionY; var$4 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, var$3, var$4); if ($rt_suspending()) { break main; } if ($this.$posY === $this.$prevPosY) { $this.$motionX = $this.$motionX * 1.1; $this.$motionZ = $this.$motionZ * 1.1; } var$2 = $this.$motionX * 0.6600000262260437; $this.$motionX = var$2; $this.$motionY = $this.$motionY * 0.6600000262260437; var$3 = $this.$motionZ * 0.6600000262260437; $this.$motionZ = var$3; if ($this.$onGround) { $this.$motionX = var$2 * 0.699999988079071; $this.$motionZ = var$3 * 0.699999988079071; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); }; function nms_EntityPortalFX() { let a = this; nms_EntityFX.call(a); a.$portalParticleScale = 0.0; a.$portalPosX = 0.0; a.$portalPosY = 0.0; a.$portalPosZ = 0.0; } let nms_EntityPortalFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12) => { let var$8, $var14, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var14 = $thread.pop();var$8 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $this.$motionX = $par8; $this.$motionY = $par10; $this.$motionZ = $par12; $this.$posX = $par2; $this.$portalPosX = $par2; $this.$posY = $par4; $this.$portalPosY = $par4; $this.$posZ = $par6; $this.$portalPosZ = $par6; $par1World = $this.$rand; var$8 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; $var14 = Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 * 0.6000000238418579 + 0.4000000059604645; var$10 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 0.20000000298023224 + 0.5; $this.$particleScale = var$11; $this.$portalParticleScale = var$11; $var14 = 1.0 * $var14; $this.$particleBlue = $var14; $this.$particleGreen = $var14; $this.$particleRed = $var14; $this.$particleGreen = $var14 * 0.30000001192092896; $this.$particleRed = $var14 * 0.8999999761581421; $this.$particleMaxAge = (jl_Math_randomImpl() * 10.0 | 0) + 40 | 0; $this.$noClip = 1; var$12 = jl_Math_randomImpl() * 8.0 | 0; $this.$particleTextureIndexX = var$12 % 16 | 0; $this.$particleTextureIndexY = var$12 / 16 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, var$8, $var14, var$10, var$11, var$12, $ptr); }, nms_EntityPortalFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6) => { let var_7 = new nms_EntityPortalFX(); nms_EntityPortalFX__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; }, nms_EntityPortalFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8; $var8 = 1.0 - ($this.$particleAge + $par2) / $this.$particleMaxAge; $var8 = 1.0 - $var8 * $var8; $this.$particleScale = $this.$portalParticleScale * $var8; nms_EntityFX_renderParticle($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7); }, nms_EntityPortalFX_getBrightnessForRender = ($this, $par1) => { let $var2, $var3, $var4; $var2 = nms_Entity_getBrightnessForRender($this, $par1); $var3 = $this.$particleAge / $this.$particleMaxAge; $par1 = $var3 * $var3; $par1 = $par1 * $par1; $var4 = $var2 & 255; $var2 = ($var2 >> 16 & 255) + ($par1 * 15.0 * 16.0 | 0) | 0; if ($var2 > 240) $var2 = 240; return $var4 | $var2 << 16; }, nms_EntityPortalFX_onUpdate = $this => { let var$1, var$2, var$3, $var1, var$5, var$6, var$7; $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; var$2 = var$1; var$3 = $this.$particleMaxAge; $var1 = var$2 / var$3; var$2 = 1.0 - ( -$var1 + $var1 * $var1 * 2.0); var$5 = $this.$portalPosX; var$6 = $this.$motionX; var$7 = var$2; $this.$posX = var$5 + var$6 * var$7; $this.$posY = $this.$portalPosY + $this.$motionY * var$7 + 1.0 - $var1; $this.$posZ = $this.$portalPosZ + $this.$motionZ * var$7; $this.$particleAge = var$1 + 1 | 0; if (var$1 >= var$3) $this.$isDead = 1; }; function nms_EntityEnchantmentTableParticleFX() { let a = this; nms_EntityFX.call(a); a.$field_70565_a = 0.0; a.$field_70568_aq = 0.0; a.$field_70567_ar = 0.0; a.$field_70566_as = 0.0; } let nms_EntityEnchantmentTableParticleFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12) => { let var$8, $var14, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var14 = $thread.pop();var$8 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $this.$motionX = $par8; $this.$motionY = $par10; $this.$motionZ = $par12; $this.$posX = $par2; $this.$field_70568_aq = $par2; $this.$posY = $par4; $this.$field_70567_ar = $par4; $this.$posZ = $par6; $this.$field_70566_as = $par6; $par1World = $this.$rand; var$8 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; $var14 = Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 * 0.6000000238418579 + 0.4000000059604645; var$10 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 0.5 + 0.20000000298023224; $this.$particleScale = var$11; $this.$field_70565_a = var$11; $var14 = 1.0 * $var14; $this.$particleBlue = $var14; $this.$particleGreen = $var14; $this.$particleRed = $var14; $var14 = $var14 * 0.8999999761581421; $this.$particleGreen = $var14; $this.$particleRed = $var14; $this.$particleMaxAge = (jl_Math_randomImpl() * 10.0 | 0) + 30 | 0; $this.$noClip = 1; var$12 = jl_Math_randomImpl() * 26.0 + 1.0 + 224.0 | 0; $this.$particleTextureIndexX = var$12 % 16 | 0; $this.$particleTextureIndexY = var$12 / 16 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, var$8, $var14, var$10, var$11, var$12, $ptr); }, nms_EntityEnchantmentTableParticleFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6) => { let var_7 = new nms_EntityEnchantmentTableParticleFX(); nms_EntityEnchantmentTableParticleFX__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; }, nms_EntityEnchantmentTableParticleFX_getBrightnessForRender = ($this, $par1) => { let $var2, $var3, $var4; $var2 = nms_Entity_getBrightnessForRender($this, $par1); $var3 = $this.$particleAge / $this.$particleMaxAge; $par1 = $var3 * $var3; $par1 = $par1 * $par1; $var4 = $var2 & 255; $var2 = ($var2 >> 16 & 255) + ($par1 * 15.0 * 16.0 | 0) | 0; if ($var2 > 240) $var2 = 240; return $var4 | $var2 << 16; }, nms_EntityEnchantmentTableParticleFX_onUpdate = $this => { let var$1, $var1, var$3, $var2, var$5, var$6, var$7; $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; $var1 = var$1; var$3 = $this.$particleMaxAge; $var1 = 1.0 - $var1 / var$3; $var2 = 1.0 - $var1; $var2 = $var2 * $var2; $var2 = $var2 * $var2; var$5 = $this.$field_70568_aq; var$6 = $this.$motionX; var$7 = $var1; $this.$posX = var$5 + var$6 * var$7; $this.$posY = $this.$field_70567_ar + $this.$motionY * var$7 - $var2 * 1.2000000476837158; $this.$posZ = $this.$field_70566_as + $this.$motionZ * var$7; $this.$particleAge = var$1 + 1 | 0; if (var$1 >= var$3) $this.$isDead = 1; }, nms_EntityExplodeFX = $rt_classWithoutFields(nms_EntityFX), nms_EntityExplodeFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12) => { let var$8, var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $this.$motionX = $par8 + (jl_Math_randomImpl() * 2.0 - 1.0) * 0.05000000074505806; $this.$motionY = $par10 + (jl_Math_randomImpl() * 2.0 - 1.0) * 0.05000000074505806; $this.$motionZ = $par12 + (jl_Math_randomImpl() * 2.0 - 1.0) * 0.05000000074505806; $par1World = $this.$rand; var$8 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; var$9 = Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 * 0.30000001192092896 + 0.699999988079071; $this.$particleBlue = var$9; $this.$particleGreen = var$9; $this.$particleRed = var$9; var$10 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$10; var$11 = Long_lo(Long_shru(var$10, 24)) / 1.6777216E7; var$10 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$10; $this.$particleScale = var$11 * Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 6.0 + 1.0; var$8 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; $this.$particleMaxAge = (16.0 / (Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 * 0.8 + 0.2) | 0) + 2 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, var$8, var$9, var$10, var$11, $ptr); }, nms_EntityExplodeFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6) => { let var_7 = new nms_EntityExplodeFX(); nms_EntityExplodeFX__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; }, nms_EntityExplodeFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; var$2 = var$1 + 1 | 0; $this.$particleAge = var$2; var$3 = $this.$particleMaxAge; if (var$1 >= var$3) $this.$isDead = 1; var$2 = 7 - ((var$2 * 8 | 0) / var$3 | 0) | 0; $this.$particleTextureIndexX = var$2 % 16 | 0; $this.$particleTextureIndexY = var$2 / 16 | 0; var$4 = $this.$motionY + 0.004; $this.$motionY = var$4; var$5 = $this.$motionX; var$6 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$5, var$4, var$6); if ($rt_suspending()) { break main; } var$4 = $this.$motionX * 0.8999999761581421; $this.$motionX = var$4; $this.$motionY = $this.$motionY * 0.8999999761581421; var$5 = $this.$motionZ * 0.8999999761581421; $this.$motionZ = var$5; if ($this.$onGround) { $this.$motionX = var$4 * 0.699999988079071; $this.$motionZ = var$5 * 0.699999988079071; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }; function nms_EntityFlameFX() { nms_EntityFX.call(this); this.$flameScale = 0.0; } let nms_EntityFlameFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12) => { let var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.009999999776482582 + $par8; $this.$motionY = $this.$motionY * 0.009999999776482582 + $par10; $this.$motionZ = $this.$motionZ * 0.009999999776482582 + $par12; $par1World = $this.$rand; var$8 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; var$8 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; var$8 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; var$8 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; var$8 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; $par1World.$seed = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $this.$flameScale = $this.$particleScale; $this.$particleBlue = 1.0; $this.$particleGreen = 1.0; $this.$particleRed = 1.0; $this.$particleMaxAge = (8.0 / (jl_Math_randomImpl() * 0.8 + 0.2) | 0) + 4 | 0; $this.$noClip = 1; $this.$particleTextureIndexX = 0; $this.$particleTextureIndexY = 3; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, var$8, $ptr); }, nms_EntityFlameFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6) => { let var_7 = new nms_EntityFlameFX(); nms_EntityFlameFX__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; }, nms_EntityFlameFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8; $var8 = ($this.$particleAge + $par2) / $this.$particleMaxAge; $this.$particleScale = $this.$flameScale * (1.0 - $var8 * $var8 * 0.5); nms_EntityFX_renderParticle($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7); }, nms_EntityFlameFX_getBrightnessForRender = ($this, $par1) => { let $var2, $var3, $var4, $var5; $var2 = ($this.$particleAge + $par1) / $this.$particleMaxAge; if ($var2 < 0.0) $var2 = 0.0; if ($var2 > 1.0) $var2 = 1.0; $var3 = nms_Entity_getBrightnessForRender($this, $par1); $var4 = $var3 & 255; $var5 = $var3 >> 16 & 255; $var3 = $var4 + ($var2 * 15.0 * 16.0 | 0) | 0; if ($var3 > 240) $var3 = 240; return $var3 | $var5 << 16; }, nms_EntityFlameFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; $this.$particleAge = var$1 + 1 | 0; if (var$1 >= $this.$particleMaxAge) $this.$isDead = 1; var$2 = $this.$motionX; var$3 = $this.$motionY; var$4 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, var$3, var$4); if ($rt_suspending()) { break main; } var$2 = $this.$motionX * 0.9599999785423279; $this.$motionX = var$2; $this.$motionY = $this.$motionY * 0.9599999785423279; var$3 = $this.$motionZ * 0.9599999785423279; $this.$motionZ = var$3; if ($this.$onGround) { $this.$motionX = var$2 * 0.699999988079071; $this.$motionZ = var$3 * 0.699999988079071; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); }; function nms_EntityLavaFX() { nms_EntityFX.call(this); this.$lavaParticleScale = 0.0; } let nms_EntityLavaFX__init_ = ($this, $par1World, $par2, $par4, $par6) => { let var$5, var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$5 = 0.0; var$6 = 0.0; var$7 = 0.0; $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, var$5, var$6, var$7); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.800000011920929; $this.$motionY = $this.$motionY * 0.800000011920929; $this.$motionZ = $this.$motionZ * 0.800000011920929; $par1World = $this.$rand; var$8 = Long_and(Long_add(Long_mul($par1World.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$8; $this.$motionY = Long_lo(Long_shru(var$8, 24)) / 1.6777216E7 * 0.4000000059604645 + 0.05000000074505806; $this.$particleBlue = 1.0; $this.$particleGreen = 1.0; $this.$particleRed = 1.0; var$9 = $this.$particleScale; var$10 = Long_and(Long_add(Long_mul(var$8, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1World.$seed = var$10; var$9 = var$9 * (Long_lo(Long_shru(var$10, 24)) / 1.6777216E7 * 2.0 + 0.20000000298023224); $this.$particleScale = var$9; $this.$lavaParticleScale = var$9; $this.$particleMaxAge = 16.0 / (jl_Math_randomImpl() * 0.8 + 0.2) | 0; $this.$noClip = 0; $this.$particleTextureIndexX = 1; $this.$particleTextureIndexY = 3; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, var$5, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityLavaFX__init_0 = (var_0, var_1, var_2, var_3) => { let var_4 = new nms_EntityLavaFX(); nms_EntityLavaFX__init_(var_4, var_0, var_1, var_2, var_3); return var_4; }, nms_EntityLavaFX_getBrightnessForRender = ($this, $par1) => { let $var2; $var2 = ($this.$particleAge + $par1) / $this.$particleMaxAge; if ($var2 < 0.0) $var2 = 0.0; return 240 | (nms_Entity_getBrightnessForRender($this, $par1) >> 16 & 255) << 16; }, nms_EntityLavaFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8; $var8 = ($this.$particleAge + $par2) / $this.$particleMaxAge; $this.$particleScale = $this.$lavaParticleScale * (1.0 - $var8 * $var8); nms_EntityFX_renderParticle($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7); }, nms_EntityLavaFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $var1, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$var1 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$1 = $this.$posX; $this.$prevPosX = var$1; var$2 = $this.$posY; $this.$prevPosY = var$2; var$3 = $this.$posZ; $this.$prevPosZ = var$3; var$4 = $this.$particleAge; var$5 = var$4 + 1 | 0; $this.$particleAge = var$5; var$6 = $this.$particleMaxAge; if (var$4 >= var$6) $this.$isDead = 1; $var1 = var$5 / var$6; var$8 = $this.$rand; var$9 = Long_and(Long_add(Long_mul(var$8.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$8.$seed = var$9; if (Long_lo(Long_shru(var$9, 24)) / 1.6777216E7 > $var1) { var$8 = $this.$worldObj; var$10 = $rt_s(1479); var$11 = $this.$motionX; var$12 = $this.$motionY; var$13 = $this.$motionZ; var$5 = 0; var$14 = var$8.$worldAccesses; var$4 = $rt_compare(var$5, var$14.$size0); if (var$4 < 0) { if (var$5 >= 0 && var$4 < 0) { var$14 = var$14.$array.data[var$5]; $ptr = 2; continue main; } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); } } var$1 = $this.$motionY - 0.03; $this.$motionY = var$1; var$2 = $this.$motionX; var$3 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, var$1, var$3); if ($rt_suspending()) { break main; } var$1 = $this.$motionX * 0.9990000128746033; $this.$motionX = var$1; $this.$motionY = $this.$motionY * 0.9990000128746033; var$2 = $this.$motionZ * 0.9990000128746033; $this.$motionZ = var$2; if ($this.$onGround) { $this.$motionX = var$1 * 0.699999988079071; $this.$motionZ = var$2 * 0.699999988079071; } return; case 2: nms_RenderGlobal_doSpawnParticle(var$14, var$10, var$1, var$2, var$3, var$11, var$12, var$13); if ($rt_suspending()) { break main; } var$5 = var$5 + 1 | 0; var$14 = var$8.$worldAccesses; var$4 = $rt_compare(var$5, var$14.$size0); if (var$4 >= 0) { var$1 = $this.$motionY - 0.03; $this.$motionY = var$1; var$2 = $this.$motionX; var$3 = $this.$motionZ; $ptr = 1; continue main; } if (var$5 >= 0 && var$4 < 0) { var$14 = var$14.$array.data[var$5]; continue main; } var$8 = new jl_IndexOutOfBoundsException; var$8.$suppressionEnabled = 1; var$8.$writableStackTrace = 1; $rt_throw(var$8); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $var1, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }; function nms_EntityFootStepFX() { let a = this; nms_EntityFX.call(a); a.$footstepAge = 0; a.$footstepMaxAge = 0; a.$currentFootSteps = null; } let nms_EntityFootStepFX_field_110126_a = null, nms_EntityFootStepFX_$callClinit = () => { nms_EntityFootStepFX_$callClinit = $rt_eraseClinit(nms_EntityFootStepFX); nms_EntityFootStepFX__clinit_(); }, nms_EntityFootStepFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, $var9, $var10, var$11, $var11, var$13, $var12, var$15, $var13, var$17, var$18, var$19, var$20, $var14, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var14 = $thread.pop();var$20 = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();$var13 = $thread.pop();var$15 = $thread.pop();$var12 = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();var$11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Tessellator = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = ($this.$footstepAge + $par2) / $this.$footstepMaxAge; $var9 = 2.0 - $var8 * $var8 * 2.0; if ($var9 > 1.0) $var9 = 1.0; $par2 = $var9 * 0.20000000298023224; nleg_EaglerAdapterGL30_glDisable(2896); $var10 = 0.125; var$11 = $this.$posX; $var11 = var$11 - nms_EntityFX_interpPosX; var$13 = $this.$posY; $var12 = var$13 - nms_EntityFX_interpPosY; var$15 = $this.$posZ; $var13 = var$15 - nms_EntityFX_interpPosZ; var$17 = $this.$worldObj; var$18 = var$11 | 0; if (var$11 < var$18) var$18 = var$18 - 1 | 0; var$19 = var$13 | 0; if (var$13 < var$19) var$19 = var$19 - 1 | 0; var$20 = var$15 | 0; if (var$15 < var$20) var$20 = var$20 - 1 | 0; $var14 = var$17.$provider.$lightBrightnessTable.data[nms_World_getBlockLightValue_do(var$17, var$18, var$19, var$20, 1)]; nms_EntityFootStepFX_$callClinit(); var$22 = nms_EntityFootStepFX_field_110126_a; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$22); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_glEnable(3042); nleg_EaglerAdapterGL30_glBlendFunc(770, 771); if ($par1Tessellator.$isDrawing) nlea_Tessellator_draw($par1Tessellator); $par1Tessellator.$isDrawing = 1; $par1Tessellator.$vertexCount = 0; $par1Tessellator.$rawBufferIndex = 0; $par1Tessellator.$addedVertices = 0; $par1Tessellator.$drawMode = 7; $par1Tessellator.$hasNormals = 0; $par1Tessellator.$hasColor = 0; $par1Tessellator.$hasTexture = 0; $par1Tessellator.$hasBrightness = 0; $par1Tessellator.$isColorDisabled = 0; var$23 = $var14 * 255.0 | 0; nlea_Tessellator_setColorRGBA($par1Tessellator, var$23, var$23, var$23, $par2 * 255.0 | 0); var$11 = $var11 - $var10; var$13 = $var12; var$15 = $var13 + $var10; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = 0.0; $par1Tessellator.$textureV = 1.0; nlea_Tessellator_addVertex($par1Tessellator, var$11, var$13, var$15); var$24 = $var11 + $var10; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = 1.0; $par1Tessellator.$textureV = 1.0; nlea_Tessellator_addVertex($par1Tessellator, var$24, var$13, var$15); var$15 = $var13 - $var10; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = 1.0; $par1Tessellator.$textureV = 0.0; nlea_Tessellator_addVertex($par1Tessellator, var$24, var$13, var$15); $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = 0.0; $par1Tessellator.$textureV = 0.0; nlea_Tessellator_addVertex($par1Tessellator, var$11, var$13, var$15); nlea_Tessellator_draw($par1Tessellator); nleg_EaglerAdapterGL30_glDisable(3042); nleg_EaglerAdapterGL30_glEnable(2896); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7, $var8, $var9, $var10, var$11, $var11, var$13, $var12, var$15, $var13, var$17, var$18, var$19, var$20, $var14, var$22, var$23, var$24, $ptr); }, nms_EntityFootStepFX_onUpdate = $this => { let var$1; var$1 = $this.$footstepAge + 1 | 0; $this.$footstepAge = var$1; if (var$1 == $this.$footstepMaxAge) $this.$isDead = 1; }, nms_EntityFootStepFX_getFXLayer = $this => { return 3; }, nms_EntityFootStepFX__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3972); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_EntityFootStepFX_field_110126_a = var$1; }, nms_EntitySplashFX = $rt_classWithoutFields(nms_EntityRainFX), nms_EntitySplashFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12) => { let $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityRainFX__init_($this, $par1World, $par2, $par4, $par6); if ($rt_suspending()) { break main; } $this.$particleGravity = 0.03999999910593033; $this.$particleTextureIndexX = $this.$particleTextureIndexX + 1 | 0; if ($par10 === 0.0 && !($par8 === 0.0 && $par12 === 0.0)) { $this.$motionX = $par8; $this.$motionY = $par10 + 0.1; $this.$motionZ = $par12; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $ptr); }, nms_EntitySplashFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6) => { let var_7 = new nms_EntitySplashFX(); nms_EntitySplashFX__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; }; function nms_EntityCloudFX() { nms_EntityFX.call(this); this.$field_70569_a = 0.0; } let nms_EntityCloudFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12) => { let var$8, var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$8 = 0.0; var$9 = 0.0; var$10 = 0.0; $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, var$8, var$9, var$10); if ($rt_suspending()) { break main; } var$8 = $this.$motionX * 0.10000000149011612; $this.$motionX = var$8; $par2 = $this.$motionY * 0.10000000149011612; $this.$motionY = $par2; $par4 = $this.$motionZ * 0.10000000149011612; $this.$motionZ = $par4; $this.$motionX = var$8 + $par8; $this.$motionY = $par2 + $par10; $this.$motionZ = $par4 + $par12; var$11 = 1.0 - jl_Math_randomImpl() * 0.30000001192092896; $this.$particleBlue = var$11; $this.$particleGreen = var$11; $this.$particleRed = var$11; var$11 = $this.$particleScale * 0.75; $this.$particleScale = var$11; var$11 = var$11 * 2.5; $this.$particleScale = var$11; $this.$field_70569_a = var$11; var$12 = 8.0 / (jl_Math_randomImpl() * 0.8 + 0.3) | 0; $this.$particleMaxAge = var$12; $this.$particleMaxAge = var$12 * 2.5 | 0; $this.$noClip = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, var$8, var$9, var$10, var$11, var$12, $ptr); }, nms_EntityCloudFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6) => { let var_7 = new nms_EntityCloudFX(); nms_EntityCloudFX__init_(var_7, var_0, var_1, var_2, var_3, var_4, var_5, var_6); return var_7; }, nms_EntityCloudFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8; $var8 = ($this.$particleAge + $par2) / $this.$particleMaxAge * 32.0; if ($var8 < 0.0) $var8 = 0.0; if ($var8 > 1.0) $var8 = 1.0; $this.$particleScale = $this.$field_70569_a * $var8; nms_EntityFX_renderParticle($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7); }, nms_EntityCloudFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $var1, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var1 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; var$2 = var$1 + 1 | 0; $this.$particleAge = var$2; var$3 = $this.$particleMaxAge; if (var$1 >= var$3) $this.$isDead = 1; var$2 = 7 - ((var$2 * 8 | 0) / var$3 | 0) | 0; $this.$particleTextureIndexX = var$2 % 16 | 0; $this.$particleTextureIndexY = var$2 / 16 | 0; var$4 = $this.$motionX; var$5 = $this.$motionY; var$6 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$4, var$5, var$6); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.9599999785423279; $this.$motionY = $this.$motionY * 0.9599999785423279; $this.$motionZ = $this.$motionZ * 0.9599999785423279; $var1 = nms_World_getClosestPlayer($this.$worldObj, $this.$posX, $this.$posY, $this.$posZ, 2.0); if ($var1 !== null) { var$4 = $this.$posY; var$5 = $var1.$boundingBox.$minY; if (var$4 > var$5) { var$4 = var$4 + (var$5 - var$4) * 0.2; $this.$posY = var$4; var$5 = $this.$motionY; $this.$motionY = var$5 + ($var1.$motionY - var$5) * 0.2; nms_Entity_setPosition($this, $this.$posX, var$4, $this.$posZ); } } if ($this.$onGround) { $this.$motionX = $this.$motionX * 0.699999988079071; $this.$motionZ = $this.$motionZ * 0.699999988079071; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $var1, $ptr); }; function nms_EntityReddustFX() { nms_EntityFX.call(this); this.$reddustParticleScale = 0.0; } let nms_EntityReddustFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par9, $par10, $par11) => { let var$9, var$10, var$11, $var12, var$13, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$13 = $thread.pop();$var12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$par11 = $thread.pop();$par10 = $thread.pop();$par9 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$9 = 0.0; var$10 = 0.0; var$11 = 0.0; $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, var$9, var$10, var$11); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.10000000149011612; $this.$motionY = $this.$motionY * 0.10000000149011612; $this.$motionZ = $this.$motionZ * 0.10000000149011612; if ($par9 === 0.0) $par9 = 1.0; $var12 = jl_Math_randomImpl() * 0.4000000059604645 + 0.6000000238418579; $this.$particleRed = (jl_Math_randomImpl() * 0.20000000298023224 + 0.800000011920929) * $par9 * $var12; $this.$particleGreen = (jl_Math_randomImpl() * 0.20000000298023224 + 0.800000011920929) * $par10 * $var12; $this.$particleBlue = (jl_Math_randomImpl() * 0.20000000298023224 + 0.800000011920929) * $par11 * $var12; $par9 = $this.$particleScale * 0.75; $this.$particleScale = $par9; $par9 = $par9 * $par8; $this.$particleScale = $par9; $this.$reddustParticleScale = $par9; var$13 = 8.0 / (jl_Math_randomImpl() * 0.8 + 0.2) | 0; $this.$particleMaxAge = var$13; $this.$particleMaxAge = var$13 * $par8 | 0; $this.$noClip = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par9, $par10, $par11, var$9, var$10, var$11, $var12, var$13, $ptr); }, nms_EntityReddustFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7) => { let var_8 = new nms_EntityReddustFX(); nms_EntityReddustFX__init_(var_8, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7); return var_8; }, nms_EntityReddustFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8; $var8 = ($this.$particleAge + $par2) / $this.$particleMaxAge * 32.0; if ($var8 < 0.0) $var8 = 0.0; if ($var8 > 1.0) $var8 = 1.0; $this.$particleScale = $this.$reddustParticleScale * $var8; nms_EntityFX_renderParticle($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7); }, nms_EntityReddustFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; var$2 = var$1 + 1 | 0; $this.$particleAge = var$2; var$3 = $this.$particleMaxAge; if (var$1 >= var$3) $this.$isDead = 1; var$2 = 7 - ((var$2 * 8 | 0) / var$3 | 0) | 0; $this.$particleTextureIndexX = var$2 % 16 | 0; $this.$particleTextureIndexY = var$2 / 16 | 0; var$4 = $this.$motionX; var$5 = $this.$motionY; var$6 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$4, var$5, var$6); if ($rt_suspending()) { break main; } if ($this.$posY === $this.$prevPosY) { $this.$motionX = $this.$motionX * 1.1; $this.$motionZ = $this.$motionZ * 1.1; } var$4 = $this.$motionX * 0.9599999785423279; $this.$motionX = var$4; $this.$motionY = $this.$motionY * 0.9599999785423279; var$5 = $this.$motionZ * 0.9599999785423279; $this.$motionZ = var$5; if ($this.$onGround) { $this.$motionX = var$4 * 0.699999988079071; $this.$motionZ = var$5 * 0.699999988079071; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }, nms_EntityBreakingFX = $rt_classWithoutFields(nms_EntityFX), nms_EntityBreakingFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14Item, $par15) => { let var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$par15 = $thread.pop();$par14Item = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$10 = 0.0; var$11 = 0.0; var$12 = 0.0; $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, var$10, var$11, var$12); if ($rt_suspending()) { break main; } $this.$particleIcon = $par14Item.$getIconFromDamage($par15); $this.$particleBlue = 1.0; $this.$particleGreen = 1.0; $this.$particleRed = 1.0; nms_Block_$callClinit(); $this.$particleGravity = nms_Block_blockSnow.$blockParticleGravity; $this.$particleScale = $this.$particleScale / 2.0; $par2 = $this.$motionX * 0.10000000149011612; $this.$motionX = $par2; $par4 = $this.$motionY * 0.10000000149011612; $this.$motionY = $par4; $par6 = $this.$motionZ * 0.10000000149011612; $this.$motionZ = $par6; $this.$motionX = $par2 + $par8; $this.$motionY = $par4 + $par10; $this.$motionZ = $par6 + $par12; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14Item, $par15, var$10, var$11, var$12, $ptr); }, nms_EntityBreakingFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8) => { let var_9 = new nms_EntityBreakingFX(); nms_EntityBreakingFX__init_(var_9, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8); return var_9; }, nms_EntityBreakingFX_getFXLayer = $this => { return 2; }, nms_EntityBreakingFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var15, $var16, $var8, $var9, $var10, $var11, $var12, var$15, var$16, var$17, var$18, $var13, $var14, var$21, var$22, var$23, var$24; $var15 = $this.$particleTextureIndexX; $var16 = $this.$particleTextureJitterX / 4.0; $var8 = ($var15 + $var16) / 16.0; $var9 = $var8 + 0.015609375201165676; $var10 = ($this.$particleTextureIndexY + $this.$particleTextureJitterY / 4.0) / 16.0; $var11 = $var10 + 0.015609375201165676; $var12 = 0.10000000149011612 * $this.$particleScale; var$15 = $this.$particleIcon; if (var$15 !== null) { $var8 = var$15.$getInterpolatedU($var16 * 16.0); $var9 = $this.$particleIcon.$getInterpolatedU(($this.$particleTextureJitterX + 1.0) / 4.0 * 16.0); $var10 = $this.$particleIcon.$getInterpolatedV($this.$particleTextureJitterY / 4.0 * 16.0); $var11 = $this.$particleIcon.$getInterpolatedV(($this.$particleTextureJitterY + 1.0) / 4.0 * 16.0); } var$16 = $this.$prevPosX; var$17 = $this.$posX - var$16; var$18 = $par2; $var13 = var$16 + var$17 * var$18 - nms_EntityFX_interpPosX; var$17 = $this.$prevPosY; $var14 = var$17 + ($this.$posY - var$17) * var$18 - nms_EntityFX_interpPosY; var$17 = $this.$prevPosZ; $var15 = var$17 + ($this.$posZ - var$17) * var$18 - nms_EntityFX_interpPosZ; var$21 = 1.0 * $this.$particleRed; var$22 = 1.0 * $this.$particleGreen; $var16 = 1.0 * $this.$particleBlue; nlea_Tessellator_setColorRGBA($par1Tessellator, var$21 * 255.0 | 0, var$22 * 255.0 | 0, $var16 * 255.0 | 0, 255); $par2 = $par3 * $var12; $par3 = $var13 - $par2; $par6 = $par6 * $var12; var$17 = $par3 - $par6; $par4 = $par4 * $var12; var$16 = $var14 - $par4; $par5 = $par5 * $var12; $var16 = $var15 - $par5; $par7 = $par7 * $var12; var$18 = $var16 - $par7; var$23 = $var8; var$24 = $var11; $par1Tessellator.$hasTexture = 1; var$21 = var$23; $par1Tessellator.$textureU = var$21; var$22 = var$24; $par1Tessellator.$textureV = var$22; nlea_Tessellator_addVertex($par1Tessellator, var$17, var$16, var$18); var$17 = $par3 + $par6; var$18 = $var14 + $par4; var$23 = $var16 + $par7; var$24 = $var10; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = var$21; $var16 = var$24; $par1Tessellator.$textureV = $var16; nlea_Tessellator_addVertex($par1Tessellator, var$17, var$18, var$23); $par2 = $var13 + $par2; var$17 = $par2 + $par6; $par3 = $var15 + $par5; var$23 = $par3 + $par7; var$24 = $var9; $par1Tessellator.$hasTexture = 1; $par4 = var$24; $par1Tessellator.$textureU = $par4; $par1Tessellator.$textureV = $var16; nlea_Tessellator_addVertex($par1Tessellator, var$17, var$18, var$23); var$17 = $par2 - $par6; var$18 = $par3 - $par7; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = $par4; $par1Tessellator.$textureV = var$22; nlea_Tessellator_addVertex($par1Tessellator, var$17, var$16, var$18); }; function nms_EntityDropParticleFX() { let a = this; nms_EntityFX.call(a); a.$materialType = null; a.$bobTimer = 0; } let nms_EntityDropParticleFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8Material) => { let var$6, var$7, var$8, var$9, var$10, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par8Material = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = 0.0; var$7 = 0.0; var$8 = 0.0; $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, var$6, var$7, var$8); if ($rt_suspending()) { break main; } $this.$motionZ = 0.0; $this.$motionY = 0.0; $this.$motionX = 0.0; nms_Material_$callClinit(); if ($par8Material !== nms_Material_water) { $this.$particleRed = 1.0; $this.$particleGreen = 0.0; $this.$particleBlue = 0.0; } else { $this.$particleRed = 0.0; $this.$particleGreen = 0.0; $this.$particleBlue = 1.0; } $this.$particleTextureIndexX = 1; $this.$particleTextureIndexY = 7; var$9 = 0.009999999776482582; var$10 = 0.009999999776482582; $ptr = 2; case 2: nms_Entity_setSize($this, var$9, var$10); if ($rt_suspending()) { break main; } $this.$particleGravity = 0.05999999865889549; $this.$materialType = $par8Material; $this.$bobTimer = 40; $this.$particleMaxAge = 64.0 / (jl_Math_randomImpl() * 0.8 + 0.2) | 0; $this.$motionZ = 0.0; $this.$motionY = 0.0; $this.$motionX = 0.0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8Material, var$6, var$7, var$8, var$9, var$10, $ptr); }, nms_EntityDropParticleFX__init_0 = (var_0, var_1, var_2, var_3, var_4) => { let var_5 = new nms_EntityDropParticleFX(); nms_EntityDropParticleFX__init_(var_5, var_0, var_1, var_2, var_3, var_4); return var_5; }, nms_EntityDropParticleFX_getBrightnessForRender = ($this, $par1) => { let var$2; var$2 = $this.$materialType; nms_Material_$callClinit(); return var$2 !== nms_Material_water ? 257 : nms_Entity_getBrightnessForRender($this, $par1); }, nms_EntityDropParticleFX_onUpdate = $this => { let $var1, var$2, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();$var2 = $thread.pop();var$2 = $thread.pop();$var1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; $var1 = $this.$materialType; nms_Material_$callClinit(); if ($var1 === nms_Material_water) { $this.$particleRed = 0.20000000298023224; $this.$particleGreen = 0.30000001192092896; $this.$particleBlue = 1.0; } else { $this.$particleRed = 1.0; var$2 = 40 - $this.$bobTimer | 0; $this.$particleGreen = 16.0 / (var$2 + 16 | 0); $this.$particleBlue = 4.0 / (var$2 + 8 | 0); } $var2 = $this.$motionY - $this.$particleGravity; $this.$motionY = $var2; var$2 = $this.$bobTimer; $this.$bobTimer = var$2 - 1 | 0; if (var$2 <= 0) { $this.$particleTextureIndexX = 0; $this.$particleTextureIndexY = 7; } else { $this.$motionX = $this.$motionX * 0.02; $this.$motionY = $var2 * 0.02; $this.$motionZ = $this.$motionZ * 0.02; $this.$particleTextureIndexX = 1; $this.$particleTextureIndexY = 7; } $var2 = $this.$motionX; var$4 = $this.$motionY; var$5 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, $var2, var$4, var$5); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.9800000190734863; $this.$motionY = $this.$motionY * 0.9800000190734863; $this.$motionZ = $this.$motionZ * 0.9800000190734863; var$2 = $this.$particleMaxAge; $this.$particleMaxAge = var$2 - 1 | 0; if (var$2 <= 0) $this.$isDead = 1; if ($this.$onGround) { if ($this.$materialType !== nms_Material_water) { $this.$particleTextureIndexX = 2; $this.$particleTextureIndexY = 7; } else { $this.$isDead = 1; $var1 = $this.$worldObj; var$6 = $rt_s(1241); var$7 = $this.$posX; var$8 = $this.$posY; var$9 = $this.$posZ; $var2 = 0.0; var$4 = 0.0; var$5 = 0.0; var$2 = 0; var$10 = $var1.$worldAccesses; var$11 = $rt_compare(var$2, var$10.$size0); if (var$11 < 0) { if (var$2 >= 0 && var$11 < 0) { var$10 = var$10.$array.data[var$2]; $ptr = 2; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); } } $this.$motionX = $this.$motionX * 0.699999988079071; $this.$motionZ = $this.$motionZ * 0.699999988079071; } $var1 = $this.$worldObj; $var2 = $this.$posX; var$12 = $var2 | 0; if ($var2 < var$12) var$12 = var$12 - 1 | 0; $var2 = $this.$posY; var$13 = $var2 | 0; if ($var2 < var$13) var$13 = var$13 - 1 | 0; $var2 = $this.$posZ; var$11 = $var2 | 0; if ($var2 < var$11) var$11 = var$11 - 1 | 0; var$2 = nms_World_getBlockId($var1, var$12, var$13, var$11); if (!var$2) $var1 = nms_Material_air; else { nms_Block_$callClinit(); $var1 = nms_Block_blocksList.data[var$2].$blockMaterial; } if (!(!$var1.$isLiquid() && !$var1.$isSolid())) { $var2 = $this.$posY; var$13 = $var2 | 0; var$11 = $rt_compare($var2, var$13); var$14 = (var$11 >= 0 ? var$13 : var$13 - 1 | 0) + 1 | 0; $var1 = $this.$worldObj; $var2 = $this.$posX; var$12 = $var2 | 0; if ($var2 < var$12) var$12 = var$12 - 1 | 0; if (var$11 < 0) var$13 = var$13 - 1 | 0; $var2 = $this.$posZ; var$11 = $var2 | 0; if ($var2 < var$11) var$11 = var$11 - 1 | 0; var$2 = nms_World_getBlockMetadata($var1, var$12, var$13, var$11); if (var$2 >= 8) var$2 = 0; $var2 = var$14 - (var$2 + 1 | 0) / 9.0; if ($this.$posY < $var2) $this.$isDead = 1; } return; case 2: nms_RenderGlobal_doSpawnParticle(var$10, var$6, var$7, var$8, var$9, $var2, var$4, var$5); if ($rt_suspending()) { break main; } var$2 = var$2 + 1 | 0; var$10 = $var1.$worldAccesses; var$11 = $rt_compare(var$2, var$10.$size0); if (var$11 >= 0) { $this.$motionX = $this.$motionX * 0.699999988079071; $this.$motionZ = $this.$motionZ * 0.699999988079071; $var1 = $this.$worldObj; $var2 = $this.$posX; var$12 = $var2 | 0; if ($var2 < var$12) var$12 = var$12 - 1 | 0; $var2 = $this.$posY; var$13 = $var2 | 0; if ($var2 < var$13) var$13 = var$13 - 1 | 0; $var2 = $this.$posZ; var$11 = $var2 | 0; if ($var2 < var$11) var$11 = var$11 - 1 | 0; var$2 = nms_World_getBlockId($var1, var$12, var$13, var$11); if (!var$2) $var1 = nms_Material_air; else { nms_Block_$callClinit(); $var1 = nms_Block_blocksList.data[var$2].$blockMaterial; } if (!(!$var1.$isLiquid() && !$var1.$isSolid())) { $var2 = $this.$posY; var$13 = $var2 | 0; var$11 = $rt_compare($var2, var$13); var$14 = (var$11 >= 0 ? var$13 : var$13 - 1 | 0) + 1 | 0; $var1 = $this.$worldObj; $var2 = $this.$posX; var$12 = $var2 | 0; if ($var2 < var$12) var$12 = var$12 - 1 | 0; if (var$11 < 0) var$13 = var$13 - 1 | 0; $var2 = $this.$posZ; var$11 = $var2 | 0; if ($var2 < var$11) var$11 = var$11 - 1 | 0; var$2 = nms_World_getBlockMetadata($var1, var$12, var$13, var$11); if (var$2 >= 8) var$2 = 0; $var2 = var$14 - (var$2 + 1 | 0) / 9.0; if ($this.$posY < $var2) $this.$isDead = 1; } return; } if (var$2 >= 0 && var$11 < 0) { var$10 = var$10.$array.data[var$2]; continue main; } $var1 = new jl_IndexOutOfBoundsException; $var1.$suppressionEnabled = 1; $var1.$writableStackTrace = 1; $rt_throw($var1); default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $var1, var$2, $var2, var$4, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12, var$13, var$14, $ptr); }; function nms_EntitySnowShovelFX() { nms_EntityFX.call(this); this.$snowDigParticleScale = 0.0; } let nms_EntitySnowShovelFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14) => { let var$9, var$10, var$11, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$par14 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12); if ($rt_suspending()) { break main; } var$9 = $this.$motionX * 0.10000000149011612; $this.$motionX = var$9; $par2 = $this.$motionY * 0.10000000149011612; $this.$motionY = $par2; $par4 = $this.$motionZ * 0.10000000149011612; $this.$motionZ = $par4; $this.$motionX = var$9 + $par8; $this.$motionY = $par2 + $par10; $this.$motionZ = $par4 + $par12; var$10 = 1.0 - jl_Math_randomImpl() * 0.30000001192092896; $this.$particleBlue = var$10; $this.$particleGreen = var$10; $this.$particleRed = var$10; var$10 = $this.$particleScale * 0.75; $this.$particleScale = var$10; var$10 = var$10 * $par14; $this.$particleScale = var$10; $this.$snowDigParticleScale = var$10; var$11 = 8.0 / (jl_Math_randomImpl() * 0.8 + 0.2) | 0; $this.$particleMaxAge = var$11; $this.$particleMaxAge = var$11 * $par14 | 0; $this.$noClip = 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14, var$9, var$10, var$11, $ptr); }, nms_EntitySnowShovelFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7) => { let var_8 = new nms_EntitySnowShovelFX(); nms_EntitySnowShovelFX__init_(var_8, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7); return var_8; }, nms_EntitySnowShovelFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8; $var8 = ($this.$particleAge + $par2) / $this.$particleMaxAge * 32.0; if ($var8 < 0.0) $var8 = 0.0; if ($var8 > 1.0) $var8 = 1.0; $this.$particleScale = $this.$snowDigParticleScale * $var8; nms_EntityFX_renderParticle($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7); }, nms_EntitySnowShovelFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; var$2 = var$1 + 1 | 0; $this.$particleAge = var$2; var$3 = $this.$particleMaxAge; if (var$1 >= var$3) $this.$isDead = 1; var$2 = 7 - ((var$2 * 8 | 0) / var$3 | 0) | 0; $this.$particleTextureIndexX = var$2 % 16 | 0; $this.$particleTextureIndexY = var$2 / 16 | 0; var$4 = $this.$motionY - 0.03; $this.$motionY = var$4; var$5 = $this.$motionX; var$6 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$5, var$4, var$6); if ($rt_suspending()) { break main; } var$4 = $this.$motionX * 0.9900000095367432; $this.$motionX = var$4; $this.$motionY = $this.$motionY * 0.9900000095367432; var$5 = $this.$motionZ * 0.9900000095367432; $this.$motionZ = var$5; if ($this.$onGround) { $this.$motionX = var$4 * 0.699999988079071; $this.$motionZ = var$5 * 0.699999988079071; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, $ptr); }; function nms_EntityHeartFX() { nms_EntityFX.call(this); this.$particleScaleOverTime = 0.0; } let nms_EntityHeartFX__init_ = ($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14) => { let var$9, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$9 = $thread.pop();$par14 = $thread.pop();$par12 = $thread.pop();$par10 = $thread.pop();$par8 = $thread.pop();$par6 = $thread.pop();$par4 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $par10 = 0.0; $par12 = 0.0; $par8 = 0.0; $ptr = 1; case 1: nms_EntityFX__init_($this, $par1World, $par2, $par4, $par6, $par10, $par12, $par8); if ($rt_suspending()) { break main; } $this.$motionX = $this.$motionX * 0.009999999776482582; $par2 = $this.$motionY * 0.009999999776482582; $this.$motionY = $par2; $this.$motionZ = $this.$motionZ * 0.009999999776482582; $this.$motionY = $par2 + 0.1; var$9 = $this.$particleScale * 0.75; $this.$particleScale = var$9; $par14 = var$9 * $par14; $this.$particleScale = $par14; $this.$particleScaleOverTime = $par14; $this.$particleMaxAge = 16; $this.$noClip = 0; $this.$particleTextureIndexX = 0; $this.$particleTextureIndexY = 5; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par4, $par6, $par8, $par10, $par12, $par14, var$9, $ptr); }, nms_EntityHeartFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7) => { let var_8 = new nms_EntityHeartFX(); nms_EntityHeartFX__init_(var_8, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7); return var_8; }, nms_EntityHeartFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8; $var8 = ($this.$particleAge + $par2) / $this.$particleMaxAge * 32.0; if ($var8 < 0.0) $var8 = 0.0; if ($var8 > 1.0) $var8 = 1.0; $this.$particleScale = $this.$particleScaleOverTime * $var8; nms_EntityFX_renderParticle($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7); }, nms_EntityHeartFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; $this.$particleAge = var$1 + 1 | 0; if (var$1 >= $this.$particleMaxAge) $this.$isDead = 1; var$2 = $this.$motionX; var$3 = $this.$motionY; var$4 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$2, var$3, var$4); if ($rt_suspending()) { break main; } if ($this.$posY === $this.$prevPosY) { $this.$motionX = $this.$motionX * 1.1; $this.$motionZ = $this.$motionZ * 1.1; } var$2 = $this.$motionX * 0.8600000143051147; $this.$motionX = var$2; $this.$motionY = $this.$motionY * 0.8600000143051147; var$3 = $this.$motionZ * 0.8600000143051147; $this.$motionZ = var$3; if ($this.$onGround) { $this.$motionX = var$2 * 0.699999988079071; $this.$motionZ = var$3 * 0.699999988079071; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, $ptr); }; function nms_EntityLargeExplodeFX() { let a = this; nms_EntityFX.call(a); a.$field_70581_a = 0; a.$field_70584_aq = 0; a.$theRenderEngine = null; a.$field_70582_as = 0.0; } let nms_EntityLargeExplodeFX_field_110127_a = null, nms_EntityLargeExplodeFX_$callClinit = () => { nms_EntityLargeExplodeFX_$callClinit = $rt_eraseClinit(nms_EntityLargeExplodeFX); nms_EntityLargeExplodeFX__clinit_(); }, nms_EntityLargeExplodeFX__init_ = ($this, $par1TextureManager, $par2World, $par3, $par5, $par7, $par9, $par11, $par13) => { let var$9, var$10, var$11, var$12, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$par13 = $thread.pop();$par11 = $thread.pop();$par9 = $thread.pop();$par7 = $thread.pop();$par5 = $thread.pop();$par3 = $thread.pop();$par2World = $thread.pop();$par1TextureManager = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_EntityLargeExplodeFX_$callClinit(); $par11 = 0.0; $par13 = 0.0; var$9 = 0.0; $ptr = 1; case 1: nms_EntityFX__init_($this, $par2World, $par3, $par5, $par7, $par11, $par13, var$9); if ($rt_suspending()) { break main; } $this.$theRenderEngine = $par1TextureManager; $par1TextureManager = $this.$rand; var$10 = Long_and(Long_add(Long_mul($par1TextureManager.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1TextureManager.$seed = var$10; $this.$field_70584_aq = 6 + Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$10, 17)))), 31)) | 0; var$11 = Long_and(Long_add(Long_mul(var$10, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1TextureManager.$seed = var$11; var$12 = Long_lo(Long_shru(var$11, 24)) / 1.6777216E7 * 0.6000000238418579 + 0.4000000059604645; $this.$particleBlue = var$12; $this.$particleGreen = var$12; $this.$particleRed = var$12; $this.$field_70582_as = 1.0 - $par9 * 0.5; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1TextureManager, $par2World, $par3, $par5, $par7, $par9, $par11, $par13, var$9, var$10, var$11, var$12, $ptr); }, nms_EntityLargeExplodeFX__init_0 = (var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7) => { let var_8 = new nms_EntityLargeExplodeFX(); nms_EntityLargeExplodeFX__init_(var_8, var_0, var_1, var_2, var_3, var_4, var_5, var_6, var_7); return var_8; }, nms_EntityLargeExplodeFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let $var8, var$9, $var9, $var10, $var11, $var12, $var13, var$15, var$16, var$17, $var14, $var15, $var16, var$21, var$22, var$23, var$24, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$24 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();var$21 = $thread.pop();$var16 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();$var13 = $thread.pop();$var12 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$9 = $thread.pop();$var8 = $thread.pop();$par7 = $thread.pop();$par6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Tessellator = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = ($this.$field_70581_a + $par2) * 15.0 / $this.$field_70584_aq | 0; if ($var8 > 15) return; nms_EntityLargeExplodeFX_$callClinit(); var$9 = nms_EntityLargeExplodeFX_field_110127_a; $ptr = 1; case 1: nle_TextureLocation_bindTexture(var$9); if ($rt_suspending()) { break main; } $var9 = ($var8 % 4 | 0) / 4.0; $var10 = $var9 + 0.24975000321865082; $var11 = ($var8 / 4 | 0) / 4.0; $var12 = $var11 + 0.24975000321865082; $var13 = 2.0 * $this.$field_70582_as; var$15 = $this.$prevPosX; var$16 = $this.$posX - var$15; var$17 = $par2; $var14 = var$15 + var$16 * var$17 - nms_EntityFX_interpPosX; var$15 = $this.$prevPosY; $var15 = var$15 + ($this.$posY - var$15) * var$17 - nms_EntityFX_interpPosY; var$15 = $this.$prevPosZ; $var16 = var$15 + ($this.$posZ - var$15) * var$17 - nms_EntityFX_interpPosZ; nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2896); nleg_EaglerAdapterGL30_glDisable(2903); if ($par1Tessellator.$isDrawing) nlea_Tessellator_draw($par1Tessellator); $par1Tessellator.$isDrawing = 1; $par1Tessellator.$vertexCount = 0; $par1Tessellator.$rawBufferIndex = 0; $par1Tessellator.$addedVertices = 0; $par1Tessellator.$drawMode = 7; $par1Tessellator.$hasNormals = 0; $par1Tessellator.$hasColor = 0; $par1Tessellator.$hasTexture = 0; $par1Tessellator.$hasBrightness = 0; $par1Tessellator.$isColorDisabled = 0; nlea_Tessellator_setColorRGBA($par1Tessellator, $this.$particleRed * 255.0 | 0, $this.$particleGreen * 255.0 | 0, $this.$particleBlue * 255.0 | 0, 255); nlea_Tessellator_setNormal($par1Tessellator, 0.0, 1.0, 0.0); $par1Tessellator.$hasBrightness = 1; $par1Tessellator.$brightness = 240; $par2 = $par3 * $var13; $par3 = $var14 - $par2; $par6 = $par6 * $var13; var$15 = $par3 - $par6; $par4 = $par4 * $var13; var$16 = $var15 - $par4; $par5 = $par5 * $var13; var$21 = $var16 - $par5; $var13 = $par7 * $var13; var$17 = var$21 - $var13; var$22 = $var10; var$23 = $var12; $par1Tessellator.$hasTexture = 1; $par7 = var$22; $par1Tessellator.$textureU = $par7; var$24 = var$23; $par1Tessellator.$textureV = var$24; nlea_Tessellator_addVertex($par1Tessellator, var$15, var$16, var$17); var$15 = $par3 + $par6; var$22 = $var15 + $par4; var$17 = var$21 + $var13; var$23 = $var11; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = $par7; $par7 = var$23; $par1Tessellator.$textureV = $par7; nlea_Tessellator_addVertex($par1Tessellator, var$15, var$22, var$17); $par2 = $var14 + $par2; var$15 = $par2 + $par6; $par3 = $var16 + $par5; var$17 = $par3 + $var13; var$23 = $var9; $par1Tessellator.$hasTexture = 1; $par4 = var$23; $par1Tessellator.$textureU = $par4; $par1Tessellator.$textureV = $par7; nlea_Tessellator_addVertex($par1Tessellator, var$15, var$22, var$17); var$15 = $par2 - $par6; var$17 = $par3 - $var13; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = $par4; $par1Tessellator.$textureV = var$24; nlea_Tessellator_addVertex($par1Tessellator, var$15, var$16, var$17); nlea_Tessellator_draw($par1Tessellator); if (!(0.0 === nleg_EaglerAdapterGL30_polygonOffset1 && 0.0 === nleg_EaglerAdapterGL30_polygonOffset2)) { nlea_EaglerAdapterImpl2_$callClinit(); nlea_EaglerAdapterImpl2_webgl.polygonOffset(0.0, 0.0); nleg_EaglerAdapterGL30_polygonOffset1 = 0.0; nleg_EaglerAdapterGL30_polygonOffset2 = 0.0; } nleg_EaglerAdapterGL30_glEnable(2896); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7, $var8, var$9, $var9, $var10, $var11, $var12, $var13, var$15, var$16, var$17, $var14, $var15, $var16, var$21, var$22, var$23, var$24, $ptr); }, nms_EntityLargeExplodeFX_getBrightnessForRender = ($this, $par1) => { return 61680; }, nms_EntityLargeExplodeFX_onUpdate = $this => { let var$1; $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$field_70581_a + 1 | 0; $this.$field_70581_a = var$1; if (var$1 == $this.$field_70584_aq) $this.$isDead = 1; }, nms_EntityLargeExplodeFX_getFXLayer = $this => { return 3; }, nms_EntityLargeExplodeFX__clinit_ = () => { let var$1, var$2, var$3, var$4; var$1 = new nle_TextureLocation; var$1.$path = $rt_s(3973); var$1.$glObject = (-1); var$2 = nle_TextureLocation_locations; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$3 = var$2.$array.data; var$4 = var$2.$size0; var$2.$size0 = var$4 + 1 | 0; var$3[var$4] = var$1; var$2.$modCount = var$2.$modCount + 1 | 0; nms_EntityLargeExplodeFX_field_110127_a = var$1; }; function nms_EntityFireworkSparkFX() { let a = this; nms_EntityFX.call(a); a.$baseTextureIndex = 0; a.$field_92054_ax = 0; a.$field_92048_ay = 0; a.$field_92047_az = null; a.$fadeColourRed = 0.0; a.$fadeColourGreen = 0.0; a.$fadeColourBlue = 0.0; a.$hasFadeColour = 0; } let nms_EntityFireworkSparkFX_setColour = ($this, $par1) => { let $var2, $var3, $var4; $var2 = (($par1 & 16711680) >> 16) / 255.0; $var3 = (($par1 & 65280) >> 8) / 255.0; $var4 = (($par1 & 255) >> 0) / 255.0; $var2 = $var2 * 1.0; $var3 = $var3 * 1.0; $var4 = $var4 * 1.0; $this.$particleRed = $var2; $this.$particleGreen = $var3; $this.$particleBlue = $var4; }, nms_EntityFireworkSparkFX_setFadeColour = ($this, $par1) => { $this.$fadeColourRed = (($par1 & 16711680) >> 16) / 255.0; $this.$fadeColourGreen = (($par1 & 65280) >> 8) / 255.0; $this.$fadeColourBlue = (($par1 & 255) >> 0) / 255.0; $this.$hasFadeColour = 1; }, nms_EntityFireworkSparkFX_getBoundingBox = $this => { return null; }, nms_EntityFireworkSparkFX_canBePushed = $this => { return 0; }, nms_EntityFireworkSparkFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, var$9; a: { if ($this.$field_92048_ay) { var$8 = $this.$particleAge; var$9 = $this.$particleMaxAge; if (var$8 >= (var$9 / 3 | 0) && (((var$8 + var$9 | 0) / 3 | 0) % 2 | 0)) break a; } nms_EntityFX_renderParticle($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7); } }, nms_EntityFireworkSparkFX_onUpdate = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $var1, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$19 = $thread.pop();var$18 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();var$15 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();var$12 = $thread.pop();var$11 = $thread.pop();var$10 = $thread.pop();$var1 = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();var$2 = $thread.pop();var$1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $this.$prevPosX = $this.$posX; $this.$prevPosY = $this.$posY; $this.$prevPosZ = $this.$posZ; var$1 = $this.$particleAge; var$2 = var$1 + 1 | 0; $this.$particleAge = var$2; var$3 = $this.$particleMaxAge; if (var$1 >= var$3) $this.$isDead = 1; var$4 = var$3 / 2 | 0; if (var$2 > var$4) { $this.$particleAlpha = 1.0 - (var$2 - var$4) / var$3; if ($this.$hasFadeColour) { var$5 = $this.$particleRed; $this.$particleRed = var$5 + ($this.$fadeColourRed - var$5) * 0.20000000298023224; var$5 = $this.$particleGreen; $this.$particleGreen = var$5 + ($this.$fadeColourGreen - var$5) * 0.20000000298023224; var$5 = $this.$particleBlue; $this.$particleBlue = var$5 + ($this.$fadeColourBlue - var$5) * 0.20000000298023224; } } var$4 = $this.$baseTextureIndex + (7 - ((var$2 * 8 | 0) / var$3 | 0) | 0) | 0; $this.$particleTextureIndexX = var$4 % 16 | 0; $this.$particleTextureIndexY = var$4 / 16 | 0; var$6 = $this.$motionY - 0.004; $this.$motionY = var$6; var$7 = $this.$motionX; var$8 = $this.$motionZ; $ptr = 1; case 1: nms_Entity_moveEntity($this, var$7, var$6, var$8); if ($rt_suspending()) { break main; } var$6 = $this.$motionX * 0.9100000262260437; $this.$motionX = var$6; $this.$motionY = $this.$motionY * 0.9100000262260437; var$7 = $this.$motionZ * 0.9100000262260437; $this.$motionZ = var$7; if ($this.$onGround) { $this.$motionX = var$6 * 0.699999988079071; $this.$motionZ = var$7 * 0.699999988079071; } if ($this.$field_92054_ax) { var$4 = $this.$particleAge; var$1 = $this.$particleMaxAge; if (var$4 < (var$1 / 2 | 0) && !((var$4 + var$1 | 0) % 2 | 0)) { $var1 = new nms_EntityFireworkSparkFX; var$10 = $this.$worldObj; var$11 = $this.$posX; var$12 = $this.$posY; var$13 = $this.$posZ; var$6 = 0.0; var$7 = 0.0; var$8 = 0.0; var$14 = $this.$field_92047_az; $ptr = 2; continue main; } } return; case 2: nms_EntityFX__init_0($var1, var$10, var$11, var$12, var$13); if ($rt_suspending()) { break main; } $var1.$baseTextureIndex = 160; $var1.$motionX = var$6; $var1.$motionY = var$7; $var1.$motionZ = var$8; $var1.$field_92047_az = var$14; $var1.$particleScale = $var1.$particleScale * 0.75; var$10 = $var1.$rand; var$15 = Long_and(Long_add(Long_mul(var$10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$15; var$2 = Long_lo(Long_shru(var$15, 17)); while (true) { var$16 = var$2 % 12 | 0; if (((var$2 - var$16 | 0) + 11 | 0) >= 0) break; var$15 = Long_and(Long_add(Long_mul(var$10.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$10.$seed = var$15; var$2 = Long_lo(Long_shru(var$15, 17)); } var$1 = 48 + var$16 | 0; $var1.$particleMaxAge = var$1; $var1.$noClip = 0; var$5 = $this.$particleRed; var$17 = $this.$particleGreen; var$18 = $this.$particleBlue; $var1.$particleRed = var$5; $var1.$particleGreen = var$17; $var1.$particleBlue = var$18; $var1.$particleAge = var$1 / 2 | 0; if ($this.$hasFadeColour) { $var1.$hasFadeColour = 1; $var1.$fadeColourRed = $this.$fadeColourRed; $var1.$fadeColourGreen = $this.$fadeColourGreen; $var1.$fadeColourBlue = $this.$fadeColourBlue; } $var1.$field_92048_ay = $this.$field_92048_ay; var$10 = $this.$field_92047_az; var$19 = var$10.$fxLayers.data; if (var$19[0].$size0 >= 4000) ju_ArrayList_remove(var$19[0], 0); var$10 = var$10.$fxLayers.data[0]; ju_ArrayList_ensureCapacity(var$10, var$10.$size0 + 1 | 0); var$19 = var$10.$array.data; var$1 = var$10.$size0; var$10.$size0 = var$1 + 1 | 0; var$19[var$1] = $var1; var$10.$modCount = var$10.$modCount + 1 | 0; return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, $var1, var$10, var$11, var$12, var$13, var$14, var$15, var$16, var$17, var$18, var$19, $ptr); }, nms_EntityFireworkSparkFX_getBrightnessForRender = ($this, $par1) => { return 15728880; }; function nms_SpiderEffectsGroupData() { jl_Object.call(this); this.$field_111105_a = 0; } let nms_SpiderEffectsGroupData__init_ = $this => { return; }, nms_SpiderEffectsGroupData__init_0 = () => { let var_0 = new nms_SpiderEffectsGroupData(); nms_SpiderEffectsGroupData__init_(var_0); return var_0; }, nms_SpiderEffectsGroupData_func_111104_a = ($this, $par1Random) => { let var$2, var$3, $var2; var$2 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); while (true) { $var2 = var$3 % 5 | 0; if (((var$3 - $var2 | 0) + 4 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul($par1Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par1Random.$seed = var$2; var$3 = Long_lo(Long_shru(var$2, 17)); } if ($var2 <= 1) { nms_Potion_$callClinit(); $this.$field_111105_a = nms_Potion_moveSpeed.$id1; } else if ($var2 <= 2) { nms_Potion_$callClinit(); $this.$field_111105_a = nms_Potion_damageBoost.$id1; } else if ($var2 <= 3) { nms_Potion_$callClinit(); $this.$field_111105_a = nms_Potion_regeneration.$id1; } else if ($var2 <= 4) { nms_Potion_$callClinit(); $this.$field_111105_a = nms_Potion_invisibility.$id1; } }; function nms_EntityHorseGroupData() { let a = this; jl_Object.call(a); a.$field_111107_a = 0; a.$field_111106_b = 0; } function nms_GuiBeaconButton() { let a = this; nms_GuiButton.call(a); a.$buttonTexture = null; a.$field_82257_l = 0; a.$field_82258_m = 0; a.$field_82256_n = 0; } let nms_GuiBeaconButton_drawButton = ($this, $par1Minecraft, $par2, $par3) => { let var$4, $var4, $var5, var$7, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$7 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Minecraft = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$drawButton0) return; nms_GuiBeacon_$callClinit(); $par1Minecraft = nms_GuiBeacon_beaconGuiTextures; $ptr = 1; case 1: a: { nle_TextureLocation_bindTexture($par1Minecraft); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; var$4 = $this.$xPosition; if ($par2 >= var$4) { $var4 = $this.$yPosition; if ($par3 >= $var4 && $par2 < (var$4 + $this.$width0 | 0) && $par3 < ($var4 + $this.$height0 | 0)) { $par3 = 1; break a; } } $par3 = 0; } $this.$field_82253_i = $par3; $var5 = 0; if (!$this.$enabled) $var5 = $var5 + ($this.$width0 * 2 | 0) | 0; else if ($this.$field_82256_n) $var5 = $var5 + ($this.$width0 * 1 | 0) | 0; else if ($par3) $var5 = $var5 + ($this.$width0 * 3 | 0) | 0; nms_Gui_drawTexturedModalRect($this, var$4, $this.$yPosition, $var5, 219, $this.$width0, $this.$height0); var$7 = nms_GuiBeacon_beaconGuiTextures; $par1Minecraft = $this.$buttonTexture; if (var$7 !== $par1Minecraft ? 0 : 1) { nms_Gui_drawTexturedModalRect($this, $this.$xPosition + 2 | 0, $this.$yPosition + 2 | 0, $this.$field_82257_l, $this.$field_82258_m, 18, 18); return; } $ptr = 2; case 2: nle_TextureLocation_bindTexture($par1Minecraft); if ($rt_suspending()) { break main; } nms_Gui_drawTexturedModalRect($this, $this.$xPosition + 2 | 0, $this.$yPosition + 2 | 0, $this.$field_82257_l, $this.$field_82258_m, 18, 18); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Minecraft, $par2, $par3, var$4, $var4, $var5, var$7, $ptr); }; function nms_GuiBeaconButtonConfirm() { nms_GuiBeaconButton.call(this); this.$beaconGui1 = null; } let nms_GuiBeaconButtonConfirm_func_82251_b = ($this, $par1, $par2) => { let var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$beaconGui1; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(646)); var$5 = $rt_createArray(jl_String, 1); var$5.data[0] = var$4; var$4 = new ju_Arrays$ArrayAsList; var$4.$array2 = var$5; $ptr = 1; case 1: nms_GuiContainer_func_102021_a(var$3, var$4, $par1, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, $ptr); }; function nms_GuiBeaconButtonCancel() { nms_GuiBeaconButton.call(this); this.$beaconGui0 = null; } let nms_GuiBeaconButtonCancel_func_82251_b = ($this, $par1, $par2) => { let var$3, var$4, var$5, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$5 = $thread.pop();var$4 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$3 = $this.$beaconGui0; nms_StatCollector_$callClinit(); var$4 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, $rt_s(1626)); var$5 = $rt_createArray(jl_String, 1); var$5.data[0] = var$4; var$4 = new ju_Arrays$ArrayAsList; var$4.$array2 = var$5; $ptr = 1; case 1: nms_GuiContainer_func_102021_a(var$3, var$4, $par1, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, var$4, var$5, $ptr); }; function nms_GuiButtonMerchant() { nms_GuiButton.call(this); this.$mirrored = 0; } let nms_GuiButtonMerchant_drawButton = ($this, $par1Minecraft, $par2, $par3) => { let var$4, $var4, $var5, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();var$4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Minecraft = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$drawButton0) return; nms_GuiMerchant_$callClinit(); $par1Minecraft = nms_GuiMerchant_merchantGuiTextures; $ptr = 1; case 1: a: { nle_TextureLocation_bindTexture($par1Minecraft); if ($rt_suspending()) { break main; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; var$4 = $this.$xPosition; if ($par2 >= var$4) { $var4 = $this.$yPosition; if ($par3 >= $var4 && $par2 < (var$4 + $this.$width0 | 0) && $par3 < ($var4 + $this.$height0 | 0)) { $var4 = 1; break a; } } $var4 = 0; } $var5 = 0; $var6 = 176; if (!$this.$enabled) $var6 = $var6 + ($this.$width0 * 2 | 0) | 0; else if ($var4) $var6 = $var6 + $this.$width0 | 0; if (!$this.$mirrored) $var5 = $var5 + $this.$height0 | 0; nms_Gui_drawTexturedModalRect($this, var$4, $this.$yPosition, $var6, $var5, $this.$width0, $this.$height0); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Minecraft, $par2, $par3, var$4, $var4, $var5, $var6, $ptr); }; function nms_GuiBeaconButtonPower() { let a = this; nms_GuiBeaconButton.call(a); a.$field_82261_l = 0; a.$field_82262_m = 0; a.$beaconGui = null; } let nms_GuiBeaconButtonPower__init_0 = ($this, $par1GuiBeacon, $par2, $par3, $par4, $par5, $par6) => { let var$7, var$8, var$9, var$10; nms_GuiContainer_$callClinit(); var$7 = nms_GuiContainer_field_110408_a; nms_Potion_$callClinit(); var$8 = nms_Potion_potionTypes.data; var$9 = 0 + ((var$8[$par5].$statusIconIndex % 8 | 0) * 18 | 0) | 0; var$10 = 198 + ((var$8[$par5].$statusIconIndex / 8 | 0) * 18 | 0) | 0; nms_GuiButton_$callClinit(); nms_Gui_$callClinit(); $this.$width0 = 200; $this.$height0 = 20; $this.$enabled = 1; $this.$drawButton0 = 1; $this.$id0 = $par2; $this.$xPosition = $par3; $this.$yPosition = $par4; $this.$width0 = 22; $this.$height0 = 22; $this.$displayString = $rt_s(18); $this.$buttonTexture = var$7; $this.$field_82257_l = var$9; $this.$field_82258_m = var$10; $this.$beaconGui = $par1GuiBeacon; $this.$field_82261_l = $par5; $this.$field_82262_m = $par6; }, nms_GuiBeaconButtonPower__init_ = (var_0, var_1, var_2, var_3, var_4, var_5) => { let var_6 = new nms_GuiBeaconButtonPower(); nms_GuiBeaconButtonPower__init_0(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; }, nms_GuiBeaconButtonPower_func_82251_b = ($this, $par1, $par2) => { let var$3, $var3, var$5, var$6, var$7, var$8, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$8 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();var$5 = $thread.pop();$var3 = $thread.pop();var$3 = $thread.pop();$par2 = $thread.pop();$par1 = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: nms_Potion_$callClinit(); var$3 = nms_Potion_potionTypes.data[$this.$field_82261_l].$name2; nms_StatCollector_$callClinit(); $var3 = nms_StringTranslate_translateKey(nms_StatCollector_localizedName, var$3); if ($this.$field_82262_m >= 3 && $this.$field_82261_l != nms_Potion_regeneration.$id1) { var$3 = new jl_StringBuilder; var$3.$buffer = $rt_createCharArray(16); var$5 = var$3.$length0; if ($var3 === null) $var3 = $rt_s(1); jl_AbstractStringBuilder_insert(var$3, var$5, $var3); jl_AbstractStringBuilder_insert(var$3, var$3.$length0, $rt_s(1802)); $var3 = new jl_String; var$6 = var$3.$buffer; var$7 = var$6.data; var$5 = var$3.$length0; var$8 = var$7.length; if (var$5 >= 0 && var$5 <= (var$8 - 0 | 0)) $var3.$nativeString = $rt_charArrayToString(var$6.data, 0, var$5); else { $var3 = new jl_IndexOutOfBoundsException; $var3.$suppressionEnabled = 1; $var3.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var3); $rt_throw($var3); } } var$3 = $this.$beaconGui; var$7 = $rt_createArray(jl_String, 1); var$7.data[0] = $var3; $var3 = new ju_Arrays$ArrayAsList; $var3.$array2 = var$7; $ptr = 1; case 1: nms_GuiContainer_func_102021_a(var$3, $var3, $par1, $par2); if ($rt_suspending()) { break main; } return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1, $par2, var$3, $var3, var$5, var$6, var$7, var$8, $ptr); }; function nms_EnchantmentNameParts() { let a = this; jl_Object.call(a); a.$rand3 = null; a.$wordList = null; } let nms_EnchantmentNameParts_instance = null, nms_EnchantmentNameParts_$callClinit = () => { nms_EnchantmentNameParts_$callClinit = $rt_eraseClinit(nms_EnchantmentNameParts); nms_EnchantmentNameParts__clinit_(); }, nms_EnchantmentNameParts__init_ = $this => { let var$1, var$2; nms_EnchantmentNameParts_$callClinit(); var$1 = new nle_EaglercraftRandom; var$2 = Long_fromNumber(performance.now() * 1000000.0); var$1.$seed = Long_fromInt(69); var$1.$haveNextNextGaussian = 0; var$1.$seed = var$2; $this.$rand3 = var$1; $this.$wordList = jur_Pattern_split(jur_Pattern_compile($rt_s(953), 0), $rt_s(3974), 0); }, nms_EnchantmentNameParts__init_0 = () => { let var_0 = new nms_EnchantmentNameParts(); nms_EnchantmentNameParts__init_(var_0); return var_0; }, nms_EnchantmentNameParts_generateRandomEnchantName = $this => { let $var2, var$2, $var1, $var3, var$5, var$6, var$7, var$8, var$9, var$10, var$11, var$12; $var2 = $this.$rand3; var$2 = Long_and(Long_add(Long_mul($var2.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var2.$seed = var$2; $var1 = Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$2, 17)))), 31)) + 3 | 0; $var2 = $rt_s(18); $var3 = 0; a: { b: { while ($var3 < $var1) { if ($var3 > 0) { var$5 = new jl_StringBuilder; var$5.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$5, var$5.$length0, $var2); var$6 = var$5.$length0; jl_AbstractStringBuilder_insertSpace(var$5, var$6, var$6 + 1 | 0); var$7 = var$5.$buffer; var$8 = var$7.data; var$8[var$6] = 32; $var2 = new jl_String; var$9 = var$5.$length0; var$10 = var$8.length; if (var$9 < 0) break a; if (var$9 > (var$10 - 0 | 0)) break a; $var2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); } var$7 = $this.$wordList.data; var$5 = $this.$rand3; var$11 = var$7.length; var$2 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$2; var$10 = Long_lo(Long_shru(var$2, 17)); var$6 = var$11 - 1 | 0; if (!(var$11 & var$6)) var$9 = Long_lo(Long_shr(Long_mul(Long_fromInt(var$11), Long_fromInt(var$10)), 31)); else while (true) { var$9 = var$10 % var$11 | 0; if (((var$10 - var$9 | 0) + var$6 | 0) >= 0) break; var$2 = Long_and(Long_add(Long_mul(var$5.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); var$5.$seed = var$2; var$10 = Long_lo(Long_shru(var$2, 17)); } var$5 = var$7[var$9]; var$12 = new jl_StringBuilder; var$12.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert(var$12, var$12.$length0, $var2); var$6 = var$12.$length0; if (var$5 === null) var$5 = $rt_s(1); jl_AbstractStringBuilder_insert(var$12, var$6, var$5); $var2 = new jl_String; var$7 = var$12.$buffer; var$8 = var$7.data; var$9 = var$12.$length0; var$10 = var$8.length; if (var$9 < 0) break b; if (var$9 > (var$10 - 0 | 0)) break b; $var2.$nativeString = $rt_charArrayToString(var$7.data, 0, var$9); $var3 = $var3 + 1 | 0; } return $var2; } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var2); $rt_throw($var2); } $var2 = new jl_IndexOutOfBoundsException; $var2.$suppressionEnabled = 1; $var2.$writableStackTrace = 1; jl_Throwable_fillInStackTrace($var2); $rt_throw($var2); }, nms_EnchantmentNameParts__clinit_ = () => { let var$1, var$2, var$3; var$1 = new nms_EnchantmentNameParts; nms_EnchantmentNameParts_$callClinit(); var$2 = new nle_EaglercraftRandom; var$3 = Long_fromNumber(performance.now() * 1000000.0); var$2.$seed = Long_fromInt(69); var$2.$haveNextNextGaussian = 0; var$2.$seed = var$3; var$1.$rand3 = var$2; var$1.$wordList = jur_Pattern_split(jur_Pattern_compile($rt_s(953), 0), $rt_s(3974), 0); nms_EnchantmentNameParts_instance = var$1; }; function nms_BiomeCacheBlock() { let a = this; jl_Object.call(a); a.$temperatureValues = null; a.$rainfallValues = null; a.$biomes = null; a.$xPosition18 = 0; a.$zPosition17 = 0; a.$lastAccessTime = Long_ZERO; a.$theBiomeCache = null; } let nms_BiomeCacheBlock__init_0 = ($this, $par1BiomeCache, $par2, $par3) => { let var$4, var$5, var$6; $this.$theBiomeCache = $par1BiomeCache; var$4 = $rt_createFloatArray(256); $this.$temperatureValues = var$4; $this.$rainfallValues = $rt_createFloatArray(256); $this.$biomes = $rt_createArray(nms_BiomeGenBase, 256); $this.$xPosition18 = $par2; $this.$zPosition17 = $par3; var$5 = $par1BiomeCache.$chunkManager; $par2 = $par2 << 4; var$6 = $par3 << 4; var$5.$getTemperatures(var$4, $par2, var$6, 16, 16); $par1BiomeCache.$chunkManager.$getRainfall($this.$rainfallValues, $par2, var$6, 16, 16); $par1BiomeCache.$chunkManager.$getBiomeGenAt0($this.$biomes, $par2, var$6, 16, 16, 0); }, nms_BiomeCacheBlock__init_ = (var_0, var_1, var_2) => { let var_3 = new nms_BiomeCacheBlock(); nms_BiomeCacheBlock__init_0(var_3, var_0, var_1, var_2); return var_3; }, nms_WeightedRandom = $rt_classWithoutFields(), nms_WeightedRandom__init_ = $this => { return; }, nms_WeightedRandom__init_0 = () => { let var_0 = new nms_WeightedRandom(); nms_WeightedRandom__init_(var_0); return var_0; }; function nms_WeightedRandomMinecart() { let a = this; nms_WeightedRandomItem.call(a); a.$field_98222_b = null; a.$minecartName = null; a.$field_98221_d = null; } let nms_WeightedRandomMinecart__init_ = ($this, $par1MobSpawnerBaseLogic, $par2NBTTagCompound) => { let $var4, var$4, var$5, var$6, var$7, $var3, var$9, var$10; a: { $var4 = $par2NBTTagCompound.$tagMap; if (!$rt_s(3556).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3556).$nativeString.length) break a; $rt_s(3556).$hashCode1 = (31 * $rt_s(3556).$hashCode1 | 0) + $rt_s(3556).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$4 = $rt_s(3556).$hashCode1; var$5 = $var4.$elementData.data; $var4 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$4) { b: { var$6 = $var4.$key; if ($rt_s(3556) !== var$6) { if ($rt_s(3556) !== var$6) { if (var$6 instanceof jl_String) { var$6 = var$6; var$7 = $rt_s(3556).$nativeString !== var$6.$nativeString ? 0 : 1; } else var$7 = 0; } else var$7 = 1; if (!var$7) { var$7 = 0; break b; } } var$7 = 1; } if (var$7) break; } $var4 = $var4.$next3; } if ($var4 === null ? 0 : 1) { $var4 = $par2NBTTagCompound.$tagMap; if ($rt_s(3556) === null) { $var4 = $var4.$elementData.data[0]; while ($var4 !== null && $var4.$key !== null) { $var4 = $var4.$next3; } } else { c: { if (!$rt_s(3556).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3556).$nativeString.length) break c; $rt_s(3556).$hashCode1 = (31 * $rt_s(3556).$hashCode1 | 0) + $rt_s(3556).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$4 = $rt_s(3556).$hashCode1; var$5 = $var4.$elementData.data; $var4 = var$5[var$4 & (var$5.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$4) { d: { var$6 = $var4.$key; if ($rt_s(3556) !== var$6) { if ($rt_s(3556) === var$6) var$7 = 1; else if (!(var$6 instanceof jl_String)) var$7 = 0; else { var$6 = var$6; var$7 = $rt_s(3556).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$7) { var$7 = 0; break d; } } var$7 = 1; } if (var$7) break; } $var4 = $var4.$next3; } } var$4 = ($var4 === null ? null : $var4.$value1).$data0; } else var$4 = 0; e: { $this.$itemWeight = var$4; $this.$field_98221_d = $par1MobSpawnerBaseLogic; $var3 = $par2NBTTagCompound.$tagMap; if (!$rt_s(3555).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3555).$nativeString.length) break e; $rt_s(3555).$hashCode1 = (31 * $rt_s(3555).$hashCode1 | 0) + $rt_s(3555).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$9 = $rt_s(3555).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$9 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$9) { f: { $var4 = $var3.$key; if ($rt_s(3555) !== $var4) { if ($rt_s(3555) !== $var4) { if ($var4 instanceof jl_String) { $var4 = $var4; var$4 = $rt_s(3555).$nativeString !== $var4.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break f; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } if ($var3 === null ? 0 : 1) { $var3 = $par2NBTTagCompound.$tagMap; if ($rt_s(3555) !== null) { g: { if (!$rt_s(3555).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(3555).$nativeString.length) break g; $rt_s(3555).$hashCode1 = (31 * $rt_s(3555).$hashCode1 | 0) + $rt_s(3555).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$9 = $rt_s(3555).$hashCode1; var$5 = $var3.$elementData.data; $var3 = var$5[var$9 & (var$5.length - 1 | 0)]; while ($var3 !== null) { if ($var3.$origKeyHash == var$9) { h: { $var4 = $var3.$key; if ($rt_s(3555) !== $var4) { if ($rt_s(3555) !== $var4) { if ($var4 instanceof jl_String) { $var4 = $var4; var$4 = $rt_s(3555).$nativeString !== $var4.$nativeString ? 0 : 1; } else var$4 = 0; } else var$4 = 1; if (!var$4) { var$4 = 0; break h; } } var$4 = 1; } if (var$4) break; } $var3 = $var3.$next3; } } else { $var3 = $var3.$elementData.data[0]; while ($var3 !== null && $var3.$key !== null) { $var3 = $var3.$next3; } } $var3 = $var3 === null ? null : $var3.$value1; } else { $var3 = new nms_NBTTagCompound; if ($rt_s(3555) !== null) $var3.$name = $rt_s(3555); else $var3.$name = $rt_s(18); $par1MobSpawnerBaseLogic = new ju_HashMap; var$4 = ju_HashMap_calculateCapacity(16); $par1MobSpawnerBaseLogic.$elementCount = 0; var$10 = $rt_createArray(ju_HashMap$HashEntry, var$4); var$5 = var$10.data; $par1MobSpawnerBaseLogic.$elementData = var$10; $par1MobSpawnerBaseLogic.$loadFactor = 0.75; $par1MobSpawnerBaseLogic.$threshold = var$5.length * 0.75 | 0; $var3.$tagMap = $par1MobSpawnerBaseLogic; } i: { $var4 = $par2NBTTagCompound.$tagMap; if (!$rt_s(2446).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2446).$nativeString.length) break i; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$9 = $rt_s(2446).$hashCode1; var$5 = $var4.$elementData.data; $var4 = var$5[var$9 & (var$5.length - 1 | 0)]; while ($var4 !== null) { if ($var4.$origKeyHash == var$9) { j: { var$6 = $var4.$key; if ($rt_s(2446) !== var$6) { if ($rt_s(2446) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2446).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break j; } } var$4 = 1; } if (var$4) break; } $var4 = $var4.$next3; } if (!($var4 === null ? 0 : 1)) $var4 = $rt_s(18); else { $par2NBTTagCompound = $par2NBTTagCompound.$tagMap; if ($rt_s(2446) === null) { $par2NBTTagCompound = $par2NBTTagCompound.$elementData.data[0]; while ($par2NBTTagCompound !== null && $par2NBTTagCompound.$key !== null) { $par2NBTTagCompound = $par2NBTTagCompound.$next3; } } else { k: { if (!$rt_s(2446).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2446).$nativeString.length) break k; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$9 = $rt_s(2446).$hashCode1; var$5 = $par2NBTTagCompound.$elementData.data; $par2NBTTagCompound = var$5[var$9 & (var$5.length - 1 | 0)]; while ($par2NBTTagCompound !== null) { if ($par2NBTTagCompound.$origKeyHash == var$9) { l: { $var4 = $par2NBTTagCompound.$key; if ($rt_s(2446) !== $var4) { if ($rt_s(2446) === $var4) var$4 = 1; else if (!($var4 instanceof jl_String)) var$4 = 0; else { $var4 = $var4; var$4 = $rt_s(2446).$nativeString !== $var4.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break l; } } var$4 = 1; } if (var$4) break; } $par2NBTTagCompound = $par2NBTTagCompound.$next3; } } $var4 = ($par2NBTTagCompound === null ? null : $par2NBTTagCompound.$value1).$data1; } if ($var4 === $rt_s(3544)) var$4 = 1; else if (!($rt_s(3544) instanceof jl_String)) var$4 = 0; else { $par1MobSpawnerBaseLogic = $rt_s(3544); var$4 = $var4.$nativeString !== $par1MobSpawnerBaseLogic.$nativeString ? 0 : 1; } if (var$4) { if ($var3 === null) $var4 = $rt_s(2731); else { m: { $par2NBTTagCompound = $var3.$tagMap; if (!$rt_s(2446).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2446).$nativeString.length) break m; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$9 = $rt_s(2446).$hashCode1; var$5 = $par2NBTTagCompound.$elementData.data; $par2NBTTagCompound = var$5[var$9 & (var$5.length - 1 | 0)]; while ($par2NBTTagCompound !== null) { if ($par2NBTTagCompound.$origKeyHash == var$9) { n: { var$6 = $par2NBTTagCompound.$key; if ($rt_s(2446) !== var$6) { if ($rt_s(2446) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2446).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break n; } } var$4 = 1; } if (var$4) break; } $par2NBTTagCompound = $par2NBTTagCompound.$next3; } if (!($par2NBTTagCompound === null ? 0 : 1)) var$4 = 0; else { $par2NBTTagCompound = $var3.$tagMap; if ($rt_s(2446) === null) { $par2NBTTagCompound = $par2NBTTagCompound.$elementData.data[0]; while ($par2NBTTagCompound !== null && $par2NBTTagCompound.$key !== null) { $par2NBTTagCompound = $par2NBTTagCompound.$next3; } } else { o: { if (!$rt_s(2446).$hashCode1) { var$4 = 0; while (true) { if (var$4 >= $rt_s(2446).$nativeString.length) break o; $rt_s(2446).$hashCode1 = (31 * $rt_s(2446).$hashCode1 | 0) + $rt_s(2446).$nativeString.charCodeAt(var$4) | 0; var$4 = var$4 + 1 | 0; } } } var$9 = $rt_s(2446).$hashCode1; var$5 = $par2NBTTagCompound.$elementData.data; $par2NBTTagCompound = var$5[var$9 & (var$5.length - 1 | 0)]; while ($par2NBTTagCompound !== null) { if ($par2NBTTagCompound.$origKeyHash == var$9) { p: { var$6 = $par2NBTTagCompound.$key; if ($rt_s(2446) !== var$6) { if ($rt_s(2446) === var$6) var$4 = 1; else if (!(var$6 instanceof jl_String)) var$4 = 0; else { var$6 = var$6; var$4 = $rt_s(2446).$nativeString !== var$6.$nativeString ? 0 : 1; } if (!var$4) { var$4 = 0; break p; } } var$4 = 1; } if (var$4) break; } $par2NBTTagCompound = $par2NBTTagCompound.$next3; } } var$4 = ($par2NBTTagCompound === null ? null : $par2NBTTagCompound.$value1).$data0; } q: { switch (var$4) { case 0: $var4 = $rt_s(2731); break q; case 1: $var4 = $rt_s(2732); break q; case 2: $var4 = $rt_s(2733); break q; default: } } } } $this.$field_98222_b = $var3; $this.$minecartName = $var4; }, nms_WeightedRandomMinecart__init_0 = (var_0, var_1) => { let var_2 = new nms_WeightedRandomMinecart(); nms_WeightedRandomMinecart__init_(var_2, var_0, var_1); return var_2; }, nms_EntitySelectorAlive = $rt_classWithoutFields(), nms_EntitySelectorAlive__init_ = $this => { return; }, nms_EntitySelectorAlive__init_0 = () => { let var_0 = new nms_EntitySelectorAlive(); nms_EntitySelectorAlive__init_(var_0); return var_0; }, nms_EntitySelectorAlive_isEntityApplicable = ($this, $par1Entity) => { return $par1Entity.$isEntityAlive(); }, nms_EntitySelectorInventory = $rt_classWithoutFields(), nms_EntitySelectorInventory__init_ = $this => { return; }, nms_EntitySelectorInventory__init_0 = () => { let var_0 = new nms_EntitySelectorInventory(); nms_EntitySelectorInventory__init_(var_0); return var_0; }, nms_EntitySelectorInventory_isEntityApplicable = ($this, $par1Entity) => { return $rt_isInstance($par1Entity, nms_IInventory) && $par1Entity.$isEntityAlive() ? 1 : 0; }; function nms_CombatEntry() { let a = this; jl_Object.call(a); a.$damageSrc = null; a.$field_94567_b = 0; a.$field_94568_c = 0.0; a.$field_94565_d = 0.0; a.$field_94566_e = null; a.$field_94564_f = 0.0; } let nms_WorldGenTaiga2 = $rt_classWithoutFields(nms_WorldGenerator), nms_WorldGenTaiga2_generate = ($this, $par1World, $par2Random, $par3, $par4, $par5) => { let var$6, $var16, $var6, $var7, $var8, var$11, $var9, $var10, $var17, var$15, $var11, $var21, $var13, $var14, $var15, $var21_0, $var13_0, $var22, $var16_0, $var17_0, $var18, $var19, $var20, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var20 = $thread.pop();$var19 = $thread.pop();$var18 = $thread.pop();$var17_0 = $thread.pop();$var16_0 = $thread.pop();$var22 = $thread.pop();$var13_0 = $thread.pop();$var21_0 = $thread.pop();$var15 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();$var21 = $thread.pop();$var11 = $thread.pop();var$15 = $thread.pop();$var17 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();var$11 = $thread.pop();$var8 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var16 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2Random = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var16 = 17; $var6 = Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$6, $var16)))), 31)) + 6 | 0; var$6 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var7 = 1 + Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$6, $var16)))), 31)) | 0; $var8 = $var6 - $var7 | 0; var$11 = Long_and(Long_add(Long_mul(var$6, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$11; $var9 = 2 + Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$11, $var16)))), 31)) | 0; $var10 = 1; if ($par4 >= 1) { $var17 = $par4 + $var6 | 0; if (($var17 + 1 | 0) <= 256) { var$15 = ($par4 + 1 | 0) + $var6 | 0; $var11 = $par4; while ($var11 <= var$15 && $var10) { $var21 = ($var11 - $par4 | 0) >= $var7 ? $var9 : 0; $var13 = $par3 - $var21 | 0; while ($var13 <= ($par3 + $var21 | 0) && $var10) { $var14 = $par5 - $var21 | 0; while ($var14 <= ($par5 + $var21 | 0) && $var10) { if ($var11 >= 0 && $var11 < 256) { $var15 = nms_World_getBlockId($par1World, $var13, $var11, $var14); if ($var15) { nms_Block_$callClinit(); if ($var15 != nms_Block_leaves.$blockID) $var10 = 0; } } else $var10 = 0; $var14 = $var14 + 1 | 0; } $var13 = $var13 + 1 | 0; } $var11 = $var11 + 1 | 0; } if (!$var10) return 0; $var11 = $par4 - 1 | 0; $var21 = nms_World_getBlockId($par1World, $par3, $var11, $par5); nms_Block_$callClinit(); if (!($var21 != nms_Block_grass.$blockID && $var21 != nms_Block_dirt.$blockID) && $par4 < ((256 - $var6 | 0) - 1 | 0)) { var$15 = nms_Block_dirt.$blockID; $var21 = 0; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 1; continue main; } $var13 = 3; $ptr = 2; continue main; } return 0; } } return 0; case 1: nms_World_setBlock($par1World, $par3, $var11, $par5, var$15, $var21, $var13); if ($rt_suspending()) { break main; } var$11 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$11; $var21_0 = Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$11, $var16)))), 31)); $var13_0 = 1; $var22 = 0; $var15 = 0; a: while (true) { if ($var15 > $var8) { var$11 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$11; $var11 = Long_lo(Long_shru(var$11, $var16)); while (true) { var$15 = $var11 % 3 | 0; if ((($var11 - var$15 | 0) + 2 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$11; $var11 = Long_lo(Long_shru(var$11, $var16)); } $var16 = 0; $var11 = $var6 - var$15 | 0; b: { while ($var16 < $var11) { var$15 = $par4 + $var16 | 0; $var17 = nms_World_getBlockId($par1World, $par3, var$15, $par5); if (!$var17) break b; if ($var17 == nms_Block_leaves.$blockID) break b; $var16 = $var16 + 1 | 0; } return 1; } $var21 = nms_Block_wood.$blockID; $var17 = 1; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; } $var16_0 = $var17 - $var15 | 0; $var17_0 = $par3 - $var21_0 | 0; while ($var17_0 <= ($par3 + $var21_0 | 0)) { $var18 = $var17_0 - $par3 | 0; $var19 = $par5 - $var21_0 | 0; var$15 = -$var18 | 0; while ($var19 <= ($par5 + $var21_0 | 0)) { $var20 = $var19 - $par5 | 0; $var11 = $var18 < 0 ? var$15 : $var18; c: { if ($var11 == $var21_0) { if ($var20 < 0) $var20 = -$var20 | 0; if ($var20 == $var21_0 && $var21_0 > 0) break c; } if (!nms_Block_opaqueCubeLookup.data[nms_World_getBlockId($par1World, $var17_0, $var16_0, $var19)]) break a; } $var19 = $var19 + 1 | 0; } $var17_0 = $var17_0 + 1 | 0; } if ($var21_0 < $var13_0) $var21_0 = $var21_0 + 1 | 0; else { $var13_0 = $var13_0 + 1 | 0; if ($var13_0 <= $var9) { $var21_0 = $var22; $var22 = 1; } else { $var13_0 = $var9; $var21_0 = $var22; $var22 = 1; } } $var15 = $var15 + 1 | 0; } $var21 = nms_Block_leaves.$blockID; $var13 = 1; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 5; continue main; } $var11 = 3; $ptr = 6; continue main; case 2: nms_World_setBlock($par1World, $par3, $var11, $par5, var$15, $var21, $var13); if ($rt_suspending()) { break main; } var$11 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$11; $var21_0 = Long_lo(Long_shr(Long_mul(Long_fromInt(2), Long_fromInt(Long_lo(Long_shru(var$11, $var16)))), 31)); $var13_0 = 1; $var22 = 0; $var15 = 0; a: while (true) { if ($var15 > $var8) { var$11 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$11; $var11 = Long_lo(Long_shru(var$11, $var16)); while (true) { var$15 = $var11 % 3 | 0; if ((($var11 - var$15 | 0) + 2 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$11; $var11 = Long_lo(Long_shru(var$11, $var16)); } $var16 = 0; $var11 = $var6 - var$15 | 0; b: { while ($var16 < $var11) { var$15 = $par4 + $var16 | 0; $var17 = nms_World_getBlockId($par1World, $par3, var$15, $par5); if (!$var17) break b; if ($var17 == nms_Block_leaves.$blockID) break b; $var16 = $var16 + 1 | 0; } return 1; } $var21 = nms_Block_wood.$blockID; $var17 = 1; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; } $var16_0 = $var17 - $var15 | 0; $var17_0 = $par3 - $var21_0 | 0; while ($var17_0 <= ($par3 + $var21_0 | 0)) { $var18 = $var17_0 - $par3 | 0; $var19 = $par5 - $var21_0 | 0; var$15 = -$var18 | 0; while ($var19 <= ($par5 + $var21_0 | 0)) { $var20 = $var19 - $par5 | 0; $var11 = $var18 < 0 ? var$15 : $var18; c: { if ($var11 == $var21_0) { if ($var20 < 0) $var20 = -$var20 | 0; if ($var20 == $var21_0 && $var21_0 > 0) break c; } if (!nms_Block_opaqueCubeLookup.data[nms_World_getBlockId($par1World, $var17_0, $var16_0, $var19)]) break a; } $var19 = $var19 + 1 | 0; } $var17_0 = $var17_0 + 1 | 0; } if ($var21_0 < $var13_0) $var21_0 = $var21_0 + 1 | 0; else { $var13_0 = $var13_0 + 1 | 0; if ($var13_0 <= $var9) { $var21_0 = $var22; $var22 = 1; } else { $var13_0 = $var9; $var21_0 = $var22; $var22 = 1; } } $var15 = $var15 + 1 | 0; } $var21 = nms_Block_leaves.$blockID; $var13 = 1; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 5; continue main; } $var11 = 3; $ptr = 6; continue main; case 3: nms_World_setBlock($par1World, $par3, var$15, $par5, $var21, $var17, $var13); if ($rt_suspending()) { break main; } d: { while (true) { $var16 = $var16 + 1 | 0; if ($var16 >= $var11) break; var$15 = $par4 + $var16 | 0; $var17 = nms_World_getBlockId($par1World, $par3, var$15, $par5); if (!$var17) break d; if ($var17 != nms_Block_leaves.$blockID) continue; else break d; } return 1; } $var21 = nms_Block_wood.$blockID; $var17 = 1; if (!$this.$doBlockNotify) { $var13 = 2; continue main; } $var13 = 3; $ptr = 4; case 4: nms_World_setBlock($par1World, $par3, var$15, $par5, $var21, $var17, $var13); if ($rt_suspending()) { break main; } d: { while (true) { $var16 = $var16 + 1 | 0; if ($var16 >= $var11) break; var$15 = $par4 + $var16 | 0; $var17 = nms_World_getBlockId($par1World, $par3, var$15, $par5); if (!$var17) break d; if ($var17 != nms_Block_leaves.$blockID) continue; else break d; } return 1; } $var21 = nms_Block_wood.$blockID; $var17 = 1; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; continue main; case 5: nms_World_setBlock($par1World, $var17_0, $var16_0, $var19, $var21, $var13, $var11); if ($rt_suspending()) { break main; } while (true) { $var19 = $var19 + 1 | 0; while ($var19 > ($par5 + $var21_0 | 0)) { $var17_0 = $var17_0 + 1 | 0; while ($var17_0 > ($par3 + $var21_0 | 0)) { if ($var21_0 < $var13_0) $var21_0 = $var21_0 + 1 | 0; else { $var13_0 = $var13_0 + 1 | 0; if ($var13_0 <= $var9) { $var21_0 = $var22; $var22 = 1; } else { $var13_0 = $var9; $var21_0 = $var22; $var22 = 1; } } $var15 = $var15 + 1 | 0; if ($var15 > $var8) { var$11 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$11; $var11 = Long_lo(Long_shru(var$11, $var16)); while (true) { var$15 = $var11 % 3 | 0; if ((($var11 - var$15 | 0) + 2 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$11; $var11 = Long_lo(Long_shru(var$11, $var16)); } $var16 = 0; $var11 = $var6 - var$15 | 0; e: { while ($var16 < $var11) { var$15 = $par4 + $var16 | 0; $var17 = nms_World_getBlockId($par1World, $par3, var$15, $par5); if (!$var17) break e; if ($var17 == nms_Block_leaves.$blockID) break e; $var16 = $var16 + 1 | 0; } return 1; } $var21 = nms_Block_wood.$blockID; $var17 = 1; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; } $var16_0 = $var17 - $var15 | 0; $var17_0 = $par3 - $var21_0 | 0; } $var18 = $var17_0 - $par3 | 0; $var19 = $par5 - $var21_0 | 0; var$15 = -$var18 | 0; } $var20 = $var19 - $par5 | 0; if (($var18 < 0 ? var$15 : $var18) == $var21_0) { if ($var20 < 0) $var20 = -$var20 | 0; if ($var20 == $var21_0 && $var21_0 > 0) continue; } if (nms_Block_opaqueCubeLookup.data[nms_World_getBlockId($par1World, $var17_0, $var16_0, $var19)]) continue; else break; } $var21 = nms_Block_leaves.$blockID; $var13 = 1; if (!$this.$doBlockNotify) { $var11 = 2; continue main; } $var11 = 3; $ptr = 6; case 6: nms_World_setBlock($par1World, $var17_0, $var16_0, $var19, $var21, $var13, $var11); if ($rt_suspending()) { break main; } while (true) { $var19 = $var19 + 1 | 0; while ($var19 > ($par5 + $var21_0 | 0)) { $var17_0 = $var17_0 + 1 | 0; while ($var17_0 > ($par3 + $var21_0 | 0)) { if ($var21_0 < $var13_0) $var21_0 = $var21_0 + 1 | 0; else { $var13_0 = $var13_0 + 1 | 0; if ($var13_0 <= $var9) { $var21_0 = $var22; $var22 = 1; } else { $var13_0 = $var9; $var21_0 = $var22; $var22 = 1; } } $var15 = $var15 + 1 | 0; if ($var15 > $var8) { var$11 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$11; $var11 = Long_lo(Long_shru(var$11, $var16)); while (true) { var$15 = $var11 % 3 | 0; if ((($var11 - var$15 | 0) + 2 | 0) >= 0) break; var$11 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$11; $var11 = Long_lo(Long_shru(var$11, $var16)); } $var16 = 0; $var11 = $var6 - var$15 | 0; e: { while ($var16 < $var11) { var$15 = $par4 + $var16 | 0; $var17 = nms_World_getBlockId($par1World, $par3, var$15, $par5); if (!$var17) break e; if ($var17 == nms_Block_leaves.$blockID) break e; $var16 = $var16 + 1 | 0; } return 1; } $var21 = nms_Block_wood.$blockID; $var17 = 1; if (!$this.$doBlockNotify) { $var13 = 2; $ptr = 3; continue main; } $var13 = 3; $ptr = 4; continue main; } $var16_0 = $var17 - $var15 | 0; $var17_0 = $par3 - $var21_0 | 0; } $var18 = $var17_0 - $par3 | 0; $var19 = $par5 - $var21_0 | 0; var$15 = -$var18 | 0; } $var20 = $var19 - $par5 | 0; if (($var18 < 0 ? var$15 : $var18) == $var21_0) { if ($var20 < 0) $var20 = -$var20 | 0; if ($var20 == $var21_0 && $var21_0 > 0) continue; } if (nms_Block_opaqueCubeLookup.data[nms_World_getBlockId($par1World, $var17_0, $var16_0, $var19)]) continue; else break; } $var21 = nms_Block_leaves.$blockID; $var13 = 1; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 5; continue main; } $var11 = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2Random, $par3, $par4, $par5, var$6, $var16, $var6, $var7, $var8, var$11, $var9, $var10, $var17, var$15, $var11, $var21, $var13, $var14, $var15, $var21_0, $var13_0, $var22, $var16_0, $var17_0, $var18, $var19, $var20, $ptr); }; function nms_WorldGenHugeTrees() { let a = this; nms_WorldGenerator.call(a); a.$baseHeight = 0; a.$woodMetadata = 0; a.$leavesMetadata = 0; } let nms_WorldGenHugeTrees_generate = ($this, $par1World, $par2Random, $par3, $par4, $par5) => { let var$6, var$7, $var11, var$9, $var8, $var6, $var7, var$13, $var13, $var9, $var10, $var11_0, $var12, $var12_0, var$20, $var14, var$22, var$23, $var15, var$25, var$26, $var10_0, var$28, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();var$28 = $thread.pop();$var10_0 = $thread.pop();var$26 = $thread.pop();var$25 = $thread.pop();$var15 = $thread.pop();var$23 = $thread.pop();var$22 = $thread.pop();$var14 = $thread.pop();var$20 = $thread.pop();$var12_0 = $thread.pop();$var12 = $thread.pop();$var11_0 = $thread.pop();$var10 = $thread.pop();$var9 = $thread.pop();$var13 = $thread.pop();var$13 = $thread.pop();$var7 = $thread.pop();$var6 = $thread.pop();$var8 = $thread.pop();var$9 = $thread.pop();$var11 = $thread.pop();var$7 = $thread.pop();var$6 = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2Random = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; var$7 = 17; $var11 = Long_lo(Long_shru(var$6, var$7)); var$9 = 2; while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } $var6 = $var8 + $this.$baseHeight | 0; $var7 = 1; if ($par4 >= 1) { $var11 = $par4 + $var6 | 0; if (($var11 + 1 | 0) <= 256) { var$13 = ($par4 + 1 | 0) + $var6 | 0; $var13 = var$13 - 2 | 0; $var8 = $par4; while ($var8 <= var$13) { $var9 = 2; if ($var8 == $par4) $var9 = 1; if ($var8 >= $var13) $var9 = 2; $var10 = $par3 - $var9 | 0; while ($var10 <= ($par3 + $var9 | 0) && $var7) { $var11_0 = $par5 - $var9 | 0; while ($var11_0 <= ($par5 + $var9 | 0) && $var7) { if ($var8 >= 0 && $var8 < 256) { $var12 = nms_World_getBlockId($par1World, $var10, $var8, $var11_0); if ($var12) { nms_Block_$callClinit(); if ($var12 != nms_Block_leaves.$blockID && $var12 != nms_Block_grass.$blockID && $var12 != nms_Block_dirt.$blockID && $var12 != nms_Block_wood.$blockID && $var12 != nms_Block_sapling.$blockID) $var7 = 0; } } else $var7 = 0; $var11_0 = $var11_0 + 1 | 0; } $var10 = $var10 + 1 | 0; } $var8 = $var8 + 1 | 0; } if (!$var7) return 0; $var8 = $par4 - 1 | 0; var$13 = nms_World_getBlockId($par1World, $par3, $var8, $par5); nms_Block_$callClinit(); if (!(var$13 != nms_Block_grass.$blockID && var$13 != nms_Block_dirt.$blockID) && $par4 < ((256 - $var6 | 0) - 1 | 0)) { var$13 = nms_Block_dirt.$blockID; $var12_0 = 0; $var13 = 2; $ptr = 1; continue main; } return 0; } } return 0; case 1: nms_World_setBlock($par1World, $par3, $var8, $par5, var$13, $var12_0, $var13); if ($rt_suspending()) { break main; } var$13 = $par3 + 1 | 0; $var12_0 = nms_Block_dirt.$blockID; $var13 = 0; $var9 = 2; $ptr = 2; case 2: nms_World_setBlock($par1World, var$13, $var8, $par5, $var12_0, $var13, $var9); if ($rt_suspending()) { break main; } var$20 = $par5 + 1 | 0; $var12_0 = nms_Block_dirt.$blockID; $var13 = 0; $var9 = 2; $ptr = 3; case 3: nms_World_setBlock($par1World, $par3, $var8, var$20, $var12_0, $var13, $var9); if ($rt_suspending()) { break main; } $var12_0 = nms_Block_dirt.$blockID; $var13 = 0; $var9 = 2; $ptr = 4; case 4: nms_World_setBlock($par1World, var$13, $var8, var$20, $var12_0, $var13, $var9); if ($rt_suspending()) { break main; } $var8 = 2; $ptr = 5; case 5: nms_WorldGenHugeTrees_growLeaves($this, $par1World, $par3, $par5, $var11, $var8, $par2Random); if ($rt_suspending()) { break main; } $var8 = $var11 - 2 | 0; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var14 = $var8 - Long_lo(Long_shr(Long_mul(Long_fromInt(4), Long_fromInt(Long_lo(Long_shru(var$6, var$7)))), 31)) | 0; var$22 = $par4 + ($var6 / 2 | 0) | 0; $var12 = 24; var$6 = Long_fromInt(4); if ($var14 > var$22) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; $var15 = Long_lo(Long_shru(var$23, $var12)) / 1.6777216E7 * 3.1415927410125732 * 2.0; var$25 = nms_MathHelper_SIN_TABLE.data; var$26 = $var15 * 10430.3779296875; $var7 = (var$26 + 16384.0 | 0) & 65535; $var11 = $par3 + (0.5 + var$25[$var7] * 4.0 | 0) | 0; $var10_0 = (var$26 | 0) & 65535; $var12_0 = $par5 + (0.5 + var$25[$var10_0] * 4.0 | 0) | 0; $var8 = 0; $ptr = 6; continue main; } $var10_0 = 0; $var7 = $var6 - 1 | 0; $var10 = $par3 - 1 | 0; $var9 = $par5 + 2 | 0; $var13 = $par3 + 2 | 0; $var12_0 = $par5 - 1 | 0; a: { b: { c: { d: { while ($var10_0 < $var6) { $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break a; if ($var11 == nms_Block_leaves.$blockID) break a; if ($var10_0 < $var7) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break b; if ($var11 == nms_Block_leaves.$blockID) break b; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break c; if ($var11 == nms_Block_leaves.$blockID) break c; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break d; if ($var11 == nms_Block_leaves.$blockID) break d; } $var10_0 = $var10_0 + 1 | 0; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 6: nms_WorldGenHugeTrees_growLeaves($this, $par1World, $var11, $var12_0, $var14, $var8, $par2Random); if ($rt_suspending()) { break main; } $var13 = 0; if ($var13 < 5) { var$25 = nms_MathHelper_SIN_TABLE.data; var$26 = var$25[$var7]; var$28 = $var13; $var11 = $par3 + (1.5 + var$26 * var$28 | 0) | 0; $var8 = $par5 + (1.5 + var$25[$var10_0] * var$28 | 0) | 0; $var12_0 = ($var14 - 3 | 0) + ($var13 / 2 | 0) | 0; $var9 = nms_Block_wood.$blockID; $var10 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11_0 = 2; $ptr = 7; continue main; } $var11_0 = 3; $ptr = 8; continue main; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; $var14 = $var14 - (2 + Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31)) | 0) | 0; if ($var14 > var$22) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; $var15 = Long_lo(Long_shru(var$23, $var12)) / 1.6777216E7 * 3.1415927410125732 * 2.0; var$25 = nms_MathHelper_SIN_TABLE.data; var$26 = $var15 * 10430.3779296875; $var7 = (var$26 + 16384.0 | 0) & 65535; $var11 = $par3 + (0.5 + var$25[$var7] * 4.0 | 0) | 0; $var10_0 = (var$26 | 0) & 65535; $var12_0 = $par5 + (0.5 + var$25[$var10_0] * 4.0 | 0) | 0; $var8 = 0; continue main; } $var10_0 = 0; $var7 = $var6 - 1 | 0; $var10 = $par3 - 1 | 0; $var9 = $par5 + 2 | 0; $var13 = $par3 + 2 | 0; $var12_0 = $par5 - 1 | 0; c: { d: { e: { f: { while ($var10_0 < $var6) { $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break c; if ($var11 == nms_Block_leaves.$blockID) break c; if ($var10_0 < $var7) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break d; if ($var11 == nms_Block_leaves.$blockID) break d; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break e; if ($var11 == nms_Block_leaves.$blockID) break e; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break f; if ($var11 == nms_Block_leaves.$blockID) break f; } $var10_0 = $var10_0 + 1 | 0; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 7: nms_World_setBlock($par1World, $var11, $var12_0, $var8, $var9, $var10, $var11_0); if ($rt_suspending()) { break main; } $var13 = $var13 + 1 | 0; if ($var13 < 5) { var$25 = nms_MathHelper_SIN_TABLE.data; var$26 = var$25[$var7]; var$28 = $var13; $var11 = $par3 + (1.5 + var$26 * var$28 | 0) | 0; $var8 = $par5 + (1.5 + var$25[$var10_0] * var$28 | 0) | 0; $var12_0 = ($var14 - 3 | 0) + ($var13 / 2 | 0) | 0; $var9 = nms_Block_wood.$blockID; $var10 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11_0 = 2; continue main; } $var11_0 = 3; $ptr = 8; continue main; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; $var14 = $var14 - (2 + Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31)) | 0) | 0; if ($var14 > var$22) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; $var15 = Long_lo(Long_shru(var$23, $var12)) / 1.6777216E7 * 3.1415927410125732 * 2.0; var$25 = nms_MathHelper_SIN_TABLE.data; var$26 = $var15 * 10430.3779296875; $var7 = (var$26 + 16384.0 | 0) & 65535; $var11 = $par3 + (0.5 + var$25[$var7] * 4.0 | 0) | 0; $var10_0 = (var$26 | 0) & 65535; $var12_0 = $par5 + (0.5 + var$25[$var10_0] * 4.0 | 0) | 0; $var8 = 0; $ptr = 6; continue main; } $var10_0 = 0; $var7 = $var6 - 1 | 0; $var10 = $par3 - 1 | 0; $var9 = $par5 + 2 | 0; $var13 = $par3 + 2 | 0; $var12_0 = $par5 - 1 | 0; c: { d: { e: { f: { while ($var10_0 < $var6) { $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break c; if ($var11 == nms_Block_leaves.$blockID) break c; if ($var10_0 < $var7) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break d; if ($var11 == nms_Block_leaves.$blockID) break d; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break e; if ($var11 == nms_Block_leaves.$blockID) break e; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break f; if ($var11 == nms_Block_leaves.$blockID) break f; } $var10_0 = $var10_0 + 1 | 0; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 8: nms_World_setBlock($par1World, $var11, $var12_0, $var8, $var9, $var10, $var11_0); if ($rt_suspending()) { break main; } $var13 = $var13 + 1 | 0; if ($var13 < 5) { var$25 = nms_MathHelper_SIN_TABLE.data; var$26 = var$25[$var7]; var$28 = $var13; $var11 = $par3 + (1.5 + var$26 * var$28 | 0) | 0; $var8 = $par5 + (1.5 + var$25[$var10_0] * var$28 | 0) | 0; $var12_0 = ($var14 - 3 | 0) + ($var13 / 2 | 0) | 0; $var9 = nms_Block_wood.$blockID; $var10 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11_0 = 2; $ptr = 7; continue main; } $var11_0 = 3; continue main; } var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; $var14 = $var14 - (2 + Long_lo(Long_shr(Long_mul(var$6, Long_fromInt(Long_lo(Long_shru(var$23, var$7)))), 31)) | 0) | 0; if ($var14 > var$22) { var$23 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$23; $var15 = Long_lo(Long_shru(var$23, $var12)) / 1.6777216E7 * 3.1415927410125732 * 2.0; var$25 = nms_MathHelper_SIN_TABLE.data; var$26 = $var15 * 10430.3779296875; $var7 = (var$26 + 16384.0 | 0) & 65535; $var11 = $par3 + (0.5 + var$25[$var7] * 4.0 | 0) | 0; $var10_0 = (var$26 | 0) & 65535; $var12_0 = $par5 + (0.5 + var$25[$var10_0] * 4.0 | 0) | 0; $var8 = 0; $ptr = 6; continue main; } $var10_0 = 0; $var7 = $var6 - 1 | 0; $var10 = $par3 - 1 | 0; $var9 = $par5 + 2 | 0; $var13 = $par3 + 2 | 0; $var12_0 = $par5 - 1 | 0; c: { d: { e: { f: { while ($var10_0 < $var6) { $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break c; if ($var11 == nms_Block_leaves.$blockID) break c; if ($var10_0 < $var7) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break d; if ($var11 == nms_Block_leaves.$blockID) break d; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break e; if ($var11 == nms_Block_leaves.$blockID) break e; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break f; if ($var11 == nms_Block_leaves.$blockID) break f; } $var10_0 = $var10_0 + 1 | 0; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 9: nms_World_setBlock($par1World, $par3, $var11_0, $par5, $var8, $var12, $var11); if ($rt_suspending()) { break main; } if ($var10_0 > 0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, $var10, $var11_0, $par5) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 8; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 17; continue main; } $var11 = 3; $ptr = 18; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, $par3, $var11_0, $var12_0) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 1; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 21; continue main; } $var11 = 3; $ptr = 22; continue main; } } g: { h: { i: { j: { while (true) { if ($var10_0 < $var7) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break g; if ($var11 == nms_Block_leaves.$blockID) break g; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break h; if ($var11 == nms_Block_leaves.$blockID) break h; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break i; if ($var11 == nms_Block_leaves.$blockID) break i; } $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break j; if ($var11 != nms_Block_leaves.$blockID) continue; else break j; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; continue main; } $var11 = 3; $ptr = 10; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; case 10: nms_World_setBlock($par1World, $par3, $var11_0, $par5, $var8, $var12, $var11); if ($rt_suspending()) { break main; } if ($var10_0 > 0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, $var10, $var11_0, $par5) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 8; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 17; continue main; } $var11 = 3; $ptr = 18; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, $par3, $var11_0, $var12_0) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 1; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 21; continue main; } $var11 = 3; $ptr = 22; continue main; } } g: { h: { i: { j: { while (true) { if ($var10_0 < $var7) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break g; if ($var11 == nms_Block_leaves.$blockID) break g; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break h; if ($var11 == nms_Block_leaves.$blockID) break h; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break i; if ($var11 == nms_Block_leaves.$blockID) break i; } $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break j; if ($var11 != nms_Block_leaves.$blockID) continue; else break j; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; case 11: nms_World_setBlock($par1World, var$13, $var11_0, $par5, $var12, $var8, $var11); if ($rt_suspending()) { break main; } if ($var10_0 > 0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, $var13, $var11_0, $par5) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 2; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 19; continue main; } $var11 = 3; $ptr = 20; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, var$13, $var11_0, $var12_0) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 1; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 25; continue main; } $var11 = 3; $ptr = 26; continue main; } } g: { h: { i: { j: { k: while (true) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break j; if ($var11 == nms_Block_leaves.$blockID) break j; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break g; if ($var11 == nms_Block_leaves.$blockID) break g; while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break k; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break h; if ($var11 == nms_Block_leaves.$blockID) break h; if ($var10_0 >= $var7) continue; else break; } $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break i; if ($var11 != nms_Block_leaves.$blockID) continue; else break i; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; case 12: nms_World_setBlock($par1World, var$13, $var11_0, $par5, $var12, $var8, $var11); if ($rt_suspending()) { break main; } if ($var10_0 > 0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, $var13, $var11_0, $par5) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 2; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 19; continue main; } $var11 = 3; $ptr = 20; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, var$13, $var11_0, $var12_0) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 1; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 25; continue main; } $var11 = 3; $ptr = 26; continue main; } } g: { h: { i: { j: { k: while (true) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break j; if ($var11 == nms_Block_leaves.$blockID) break j; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break g; if ($var11 == nms_Block_leaves.$blockID) break g; while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break k; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break h; if ($var11 == nms_Block_leaves.$blockID) break h; if ($var10_0 >= $var7) continue; else break; } $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break i; if ($var11 != nms_Block_leaves.$blockID) continue; else break i; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; case 13: nms_World_setBlock($par1World, var$13, $var11_0, var$20, $var8, $var12, $var11); if ($rt_suspending()) { break main; } if ($var10_0 > 0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, $var13, $var11_0, var$20) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 2; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 23; continue main; } $var11 = 3; $ptr = 24; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, var$13, $var11_0, $var9) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 4; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 29; continue main; } $var11 = 3; $ptr = 30; continue main; } } g: { h: { i: { j: { k: while (true) { $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break j; if ($var11 == nms_Block_leaves.$blockID) break j; while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break k; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break g; if ($var11 == nms_Block_leaves.$blockID) break g; if ($var10_0 >= $var7) continue; else break; } $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break h; if ($var11 == nms_Block_leaves.$blockID) break h; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break i; if ($var11 != nms_Block_leaves.$blockID) continue; else break i; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 14: nms_World_setBlock($par1World, var$13, $var11_0, var$20, $var8, $var12, $var11); if ($rt_suspending()) { break main; } if ($var10_0 > 0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, $var13, $var11_0, var$20) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 2; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 23; continue main; } $var11 = 3; $ptr = 24; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, var$13, $var11_0, $var9) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 4; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 29; continue main; } $var11 = 3; $ptr = 30; continue main; } } g: { h: { i: { j: { k: while (true) { $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break j; if ($var11 == nms_Block_leaves.$blockID) break j; while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break k; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break g; if ($var11 == nms_Block_leaves.$blockID) break g; if ($var10_0 >= $var7) continue; else break; } $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break h; if ($var11 == nms_Block_leaves.$blockID) break h; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break i; if ($var11 != nms_Block_leaves.$blockID) continue; else break i; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 15: nms_World_setBlock($par1World, $par3, $var11_0, var$20, $var8, $var12, $var11); if ($rt_suspending()) { break main; } if ($var10_0 > 0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var8 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var12 = $var8 % 3 | 0; if ((($var8 - $var12 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var8 = Long_lo(Long_shru(var$6, var$7)); } if ($var12 > 0 && (nms_World_getBlockId($par1World, $var10, $var11_0, var$20) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var8 = 8; if (!$this.$doBlockNotify) { $var12 = 2; $ptr = 27; continue main; } $var12 = 3; $ptr = 28; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var8 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var12 = $var8 % 3 | 0; if ((($var8 - $var12 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var8 = Long_lo(Long_shru(var$6, var$7)); } if ($var12 > 0 && (nms_World_getBlockId($par1World, $par3, $var11_0, $var9) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var8 = 4; if (!$this.$doBlockNotify) { $var12 = 2; $ptr = 31; continue main; } $var12 = 3; $ptr = 32; continue main; } } g: { h: { i: { j: { while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break g; if ($var11 == nms_Block_leaves.$blockID) break g; if ($var10_0 >= $var7) continue; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break h; if ($var11 == nms_Block_leaves.$blockID) break h; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break i; if ($var11 == nms_Block_leaves.$blockID) break i; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break j; if ($var11 != nms_Block_leaves.$blockID) continue; else break j; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 16: nms_World_setBlock($par1World, $par3, $var11_0, var$20, $var8, $var12, $var11); if ($rt_suspending()) { break main; } if ($var10_0 > 0) { var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var8 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var12 = $var8 % 3 | 0; if ((($var8 - $var12 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var8 = Long_lo(Long_shru(var$6, var$7)); } if ($var12 > 0 && (nms_World_getBlockId($par1World, $var10, $var11_0, var$20) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var8 = 8; if (!$this.$doBlockNotify) { $var12 = 2; $ptr = 27; continue main; } $var12 = 3; $ptr = 28; continue main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var8 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var12 = $var8 % 3 | 0; if ((($var8 - $var12 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var8 = Long_lo(Long_shru(var$6, var$7)); } if ($var12 > 0 && (nms_World_getBlockId($par1World, $par3, $var11_0, $var9) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var8 = 4; if (!$this.$doBlockNotify) { $var12 = 2; $ptr = 31; continue main; } $var12 = 3; $ptr = 32; continue main; } } g: { h: { i: { j: { while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break g; if ($var11 == nms_Block_leaves.$blockID) break g; if ($var10_0 >= $var7) continue; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break h; if ($var11 == nms_Block_leaves.$blockID) break h; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break i; if ($var11 == nms_Block_leaves.$blockID) break i; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break j; if ($var11 != nms_Block_leaves.$blockID) continue; else break j; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 17: nms_World_setBlock($par1World, $var10, $var11_0, $par5, $var8, $var12, $var11); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, $par3, $var11_0, $var12_0) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 1; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 21; continue main; } $var11 = 3; $ptr = 22; continue main; } e: { f: { l: { m: { while (true) { if ($var10_0 < $var7) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break e; if ($var11 == nms_Block_leaves.$blockID) break e; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break f; if ($var11 == nms_Block_leaves.$blockID) break f; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break l; if ($var11 == nms_Block_leaves.$blockID) break l; } $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break m; if ($var11 != nms_Block_leaves.$blockID) continue; else break m; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; case 18: nms_World_setBlock($par1World, $var10, $var11_0, $par5, $var8, $var12, $var11); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, $par3, $var11_0, $var12_0) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 1; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 21; continue main; } $var11 = 3; $ptr = 22; continue main; } e: { f: { l: { m: { while (true) { if ($var10_0 < $var7) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break e; if ($var11 == nms_Block_leaves.$blockID) break e; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break f; if ($var11 == nms_Block_leaves.$blockID) break f; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break l; if ($var11 == nms_Block_leaves.$blockID) break l; } $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break m; if ($var11 != nms_Block_leaves.$blockID) continue; else break m; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; case 19: nms_World_setBlock($par1World, $var13, $var11_0, $par5, $var8, $var12, $var11); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, var$13, $var11_0, $var12_0) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 1; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 25; continue main; } $var11 = 3; $ptr = 26; continue main; } e: { f: { l: { m: { n: while (true) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break m; if ($var11 == nms_Block_leaves.$blockID) break m; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break e; if ($var11 == nms_Block_leaves.$blockID) break e; while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break n; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break f; if ($var11 == nms_Block_leaves.$blockID) break f; if ($var10_0 >= $var7) continue; else break; } $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break l; if ($var11 != nms_Block_leaves.$blockID) continue; else break l; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; case 20: nms_World_setBlock($par1World, $var13, $var11_0, $par5, $var8, $var12, $var11); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, var$13, $var11_0, $var12_0) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 1; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 25; continue main; } $var11 = 3; $ptr = 26; continue main; } e: { f: { l: { m: { n: while (true) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break m; if ($var11 == nms_Block_leaves.$blockID) break m; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break e; if ($var11 == nms_Block_leaves.$blockID) break e; while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break n; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break f; if ($var11 == nms_Block_leaves.$blockID) break f; if ($var10_0 >= $var7) continue; else break; } $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break l; if ($var11 != nms_Block_leaves.$blockID) continue; else break l; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; case 21: nms_World_setBlock($par1World, $par3, $var11_0, $var12_0, $var8, $var12, $var11); if ($rt_suspending()) { break main; } o: { a: { b: { c: { while (true) { if ($var10_0 < $var7) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break o; if ($var11 == nms_Block_leaves.$blockID) break o; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break a; if ($var11 == nms_Block_leaves.$blockID) break a; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break b; if ($var11 == nms_Block_leaves.$blockID) break b; } $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break c; if ($var11 != nms_Block_leaves.$blockID) continue; else break c; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; case 22: nms_World_setBlock($par1World, $par3, $var11_0, $var12_0, $var8, $var12, $var11); if ($rt_suspending()) { break main; } o: { a: { b: { c: { while (true) { if ($var10_0 < $var7) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break o; if ($var11 == nms_Block_leaves.$blockID) break o; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break a; if ($var11 == nms_Block_leaves.$blockID) break a; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break b; if ($var11 == nms_Block_leaves.$blockID) break b; } $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break c; if ($var11 != nms_Block_leaves.$blockID) continue; else break c; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; case 23: nms_World_setBlock($par1World, $var13, $var11_0, var$20, $var8, $var12, $var11); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, var$13, $var11_0, $var9) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 4; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 29; continue main; } $var11 = 3; $ptr = 30; continue main; } e: { f: { l: { m: { n: while (true) { $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break m; if ($var11 == nms_Block_leaves.$blockID) break m; while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break n; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break e; if ($var11 == nms_Block_leaves.$blockID) break e; if ($var10_0 >= $var7) continue; else break; } $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break f; if ($var11 == nms_Block_leaves.$blockID) break f; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break l; if ($var11 != nms_Block_leaves.$blockID) continue; else break l; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 24: nms_World_setBlock($par1World, $var13, $var11_0, var$20, $var8, $var12, $var11); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var8 = $var11 % 3 | 0; if ((($var11 - $var8 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var11 = Long_lo(Long_shru(var$6, var$7)); } if ($var8 > 0 && (nms_World_getBlockId($par1World, var$13, $var11_0, $var9) ? 0 : 1)) { $var8 = nms_Block_vine.$blockID; $var12 = 4; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 29; continue main; } $var11 = 3; $ptr = 30; continue main; } e: { f: { l: { m: { n: while (true) { $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break m; if ($var11 == nms_Block_leaves.$blockID) break m; while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break n; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break e; if ($var11 == nms_Block_leaves.$blockID) break e; if ($var10_0 >= $var7) continue; else break; } $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break f; if ($var11 == nms_Block_leaves.$blockID) break f; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break l; if ($var11 != nms_Block_leaves.$blockID) continue; else break l; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 25: nms_World_setBlock($par1World, var$13, $var11_0, $var12_0, $var8, $var12, $var11); if ($rt_suspending()) { break main; } o: { a: { b: { c: { d: while (true) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break c; if ($var11 == nms_Block_leaves.$blockID) break c; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break o; if ($var11 == nms_Block_leaves.$blockID) break o; while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break d; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break a; if ($var11 == nms_Block_leaves.$blockID) break a; if ($var10_0 >= $var7) continue; else break; } $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break b; if ($var11 != nms_Block_leaves.$blockID) continue; else break b; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; case 26: nms_World_setBlock($par1World, var$13, $var11_0, $var12_0, $var8, $var12, $var11); if ($rt_suspending()) { break main; } o: { a: { b: { c: { d: while (true) { $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break c; if ($var11 == nms_Block_leaves.$blockID) break c; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break o; if ($var11 == nms_Block_leaves.$blockID) break o; while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break d; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break a; if ($var11 == nms_Block_leaves.$blockID) break a; if ($var10_0 >= $var7) continue; else break; } $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break b; if ($var11 != nms_Block_leaves.$blockID) continue; else break b; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; case 27: nms_World_setBlock($par1World, $var10, $var11_0, var$20, $var11, $var8, $var12); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var8 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var12 = $var8 % 3 | 0; if ((($var8 - $var12 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var8 = Long_lo(Long_shru(var$6, var$7)); } if ($var12 > 0 && (nms_World_getBlockId($par1World, $par3, $var11_0, $var9) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var8 = 4; if (!$this.$doBlockNotify) { $var12 = 2; $ptr = 31; continue main; } $var12 = 3; $ptr = 32; continue main; } e: { f: { l: { m: { while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break e; if ($var11 == nms_Block_leaves.$blockID) break e; if ($var10_0 >= $var7) continue; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break f; if ($var11 == nms_Block_leaves.$blockID) break f; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break l; if ($var11 == nms_Block_leaves.$blockID) break l; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break m; if ($var11 != nms_Block_leaves.$blockID) continue; else break m; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 28: nms_World_setBlock($par1World, $var10, $var11_0, var$20, $var11, $var8, $var12); if ($rt_suspending()) { break main; } var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var8 = Long_lo(Long_shru(var$6, var$7)); while (true) { $var12 = $var8 % 3 | 0; if ((($var8 - $var12 | 0) + var$9 | 0) >= 0) break; var$6 = Long_and(Long_add(Long_mul($par2Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par2Random.$seed = var$6; $var8 = Long_lo(Long_shru(var$6, var$7)); } if ($var12 > 0 && (nms_World_getBlockId($par1World, $par3, $var11_0, $var9) ? 0 : 1)) { $var11 = nms_Block_vine.$blockID; $var8 = 4; if (!$this.$doBlockNotify) { $var12 = 2; $ptr = 31; continue main; } $var12 = 3; $ptr = 32; continue main; } e: { f: { l: { m: { while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break e; if ($var11 == nms_Block_leaves.$blockID) break e; if ($var10_0 >= $var7) continue; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break f; if ($var11 == nms_Block_leaves.$blockID) break f; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break l; if ($var11 == nms_Block_leaves.$blockID) break l; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break m; if ($var11 != nms_Block_leaves.$blockID) continue; else break m; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 29: nms_World_setBlock($par1World, var$13, $var11_0, $var9, $var8, $var12, $var11); if ($rt_suspending()) { break main; } o: { a: { b: { c: { d: while (true) { $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break c; if ($var11 == nms_Block_leaves.$blockID) break c; while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break d; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break o; if ($var11 == nms_Block_leaves.$blockID) break o; if ($var10_0 >= $var7) continue; else break; } $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break a; if ($var11 == nms_Block_leaves.$blockID) break a; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break b; if ($var11 != nms_Block_leaves.$blockID) continue; else break b; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 30: nms_World_setBlock($par1World, var$13, $var11_0, $var9, $var8, $var12, $var11); if ($rt_suspending()) { break main; } o: { a: { b: { c: { d: while (true) { $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break c; if ($var11 == nms_Block_leaves.$blockID) break c; while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break d; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break o; if ($var11 == nms_Block_leaves.$blockID) break o; if ($var10_0 >= $var7) continue; else break; } $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break a; if ($var11 == nms_Block_leaves.$blockID) break a; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break b; if ($var11 != nms_Block_leaves.$blockID) continue; else break b; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 31: nms_World_setBlock($par1World, $par3, $var11_0, $var9, $var11, $var8, $var12); if ($rt_suspending()) { break main; } o: { a: { b: { c: { while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break o; if ($var11 == nms_Block_leaves.$blockID) break o; if ($var10_0 >= $var7) continue; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break a; if ($var11 == nms_Block_leaves.$blockID) break a; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break b; if ($var11 == nms_Block_leaves.$blockID) break b; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break c; if ($var11 != nms_Block_leaves.$blockID) continue; else break c; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; case 32: nms_World_setBlock($par1World, $par3, $var11_0, $var9, $var11, $var8, $var12); if ($rt_suspending()) { break main; } o: { a: { b: { c: { while (true) { $var10_0 = $var10_0 + 1 | 0; if ($var10_0 >= $var6) break; $var11_0 = $par4 + $var10_0 | 0; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, $par5); if (!$var11) break o; if ($var11 == nms_Block_leaves.$blockID) break o; if ($var10_0 >= $var7) continue; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, $par5); if (!$var11) break a; if ($var11 == nms_Block_leaves.$blockID) break a; $var11 = nms_World_getBlockId($par1World, var$13, $var11_0, var$20); if (!$var11) break b; if ($var11 == nms_Block_leaves.$blockID) break b; $var11 = nms_World_getBlockId($par1World, $par3, $var11_0, var$20); if (!$var11) break c; if ($var11 != nms_Block_leaves.$blockID) continue; else break c; } return 1; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 15; continue main; } $var11 = 3; $ptr = 16; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 13; continue main; } $var11 = 3; $ptr = 14; continue main; } $var12 = nms_Block_wood.$blockID; $var8 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 11; continue main; } $var11 = 3; $ptr = 12; continue main; } $var8 = nms_Block_wood.$blockID; $var12 = $this.$woodMetadata; if (!$this.$doBlockNotify) { $var11 = 2; $ptr = 9; continue main; } $var11 = 3; $ptr = 10; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2Random, $par3, $par4, $par5, var$6, var$7, $var11, var$9, $var8, $var6, $var7, var$13, $var13, $var9, $var10, $var11_0, $var12, $var12_0, var$20, $var14, var$22, var$23, $var15, var$25, var$26, $var10_0, var$28, $ptr); }, nms_WorldGenHugeTrees_growLeaves = ($this, $par1World, $par2, $par3, $par4, $par5, $par6Random) => { let $var8, $var7, var$9, var$10, $var10, $var11, var$13, var$14, $var9, var$16, var$17, $var12, var$19, $var13, $var14, var$22, $var15, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var15 = $thread.pop();var$22 = $thread.pop();$var14 = $thread.pop();$var13 = $thread.pop();var$19 = $thread.pop();$var12 = $thread.pop();var$17 = $thread.pop();var$16 = $thread.pop();$var9 = $thread.pop();var$14 = $thread.pop();var$13 = $thread.pop();$var11 = $thread.pop();$var10 = $thread.pop();var$10 = $thread.pop();var$9 = $thread.pop();$var7 = $thread.pop();$var8 = $thread.pop();$par6Random = $thread.pop();$par5 = $thread.pop();$par4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1World = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: $var8 = $par4 - 2 | 0; $var7 = $par5 + 1 | 0; var$9 = 17; var$10 = Long_fromInt(4); a: { while ($var8 <= $par4) { $var10 = $var7 - ($var8 - $par4 | 0) | 0; $var11 = $par2 - $var10 | 0; var$13 = ($par2 + $var10 | 0) + 1 | 0; var$14 = $par3 - $var10 | 0; $var9 = ($par3 + $var10 | 0) + 1 | 0; var$16 = $rt_imul($var10, $var10); $par5 = $var10 - 1 | 0; var$17 = $rt_imul($par5, $par5); $par5 = $var10 + 1 | 0; $var10 = $rt_imul($par5, $par5); while ($var11 <= var$13) { $var12 = $var11 - $par2 | 0; var$19 = $rt_imul($var12, $var12); $var13 = var$14; while ($var13 <= $var9) { $var14 = $var13 - $par3 | 0; if (!($var12 < 0 && $var14 < 0 && (var$19 + $rt_imul($var14, $var14) | 0) > var$16) && !(!($var12 <= 0 && $var14 <= 0) && (var$19 + $rt_imul($var14, $var14) | 0) > $var10)) { var$22 = Long_and(Long_add(Long_mul($par6Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par6Random.$seed = var$22; if (!(!Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$22, var$9)))), 31)) && (var$19 + $rt_imul($var14, $var14) | 0) > var$17)) { $var15 = nms_World_getBlockId($par1World, $var11, $var8, $var13); if (!$var15) break a; nms_Block_$callClinit(); if ($var15 == nms_Block_leaves.$blockID) break a; } } $var13 = $var13 + 1 | 0; } $var11 = $var11 + 1 | 0; } $var8 = $var8 + 1 | 0; } return; } nms_Block_$callClinit(); $var14 = nms_Block_leaves.$blockID; $var15 = $this.$leavesMetadata; if (!$this.$doBlockNotify) { $par5 = 2; $ptr = 1; continue main; } $par5 = 3; $ptr = 2; continue main; case 1: nms_World_setBlock($par1World, $var11, $var8, $var13, $var14, $var15, $par5); if ($rt_suspending()) { break main; } a: { b: while (true) { $var13 = $var13 + 1 | 0; while ($var13 > $var9) { $var11 = $var11 + 1 | 0; while ($var11 > var$13) { $var8 = $var8 + 1 | 0; if ($var8 > $par4) break b; $var10 = $var7 - ($var8 - $par4 | 0) | 0; $var11 = $par2 - $var10 | 0; var$13 = ($par2 + $var10 | 0) + 1 | 0; var$14 = $par3 - $var10 | 0; $var9 = ($par3 + $var10 | 0) + 1 | 0; var$16 = $rt_imul($var10, $var10); $par5 = $var10 - 1 | 0; var$17 = $rt_imul($par5, $par5); $par5 = $var10 + 1 | 0; $var10 = $rt_imul($par5, $par5); } $var12 = $var11 - $par2 | 0; var$19 = $rt_imul($var12, $var12); $var13 = var$14; } $var14 = $var13 - $par3 | 0; if ($var12 < 0 && $var14 < 0 && (var$19 + $rt_imul($var14, $var14) | 0) > var$16) continue; if (!($var12 <= 0 && $var14 <= 0) && (var$19 + $rt_imul($var14, $var14) | 0) > $var10) continue; var$22 = Long_and(Long_add(Long_mul($par6Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par6Random.$seed = var$22; if (!Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$22, var$9)))), 31)) && (var$19 + $rt_imul($var14, $var14) | 0) > var$17) continue; $var15 = nms_World_getBlockId($par1World, $var11, $var8, $var13); if (!$var15) break a; nms_Block_$callClinit(); if ($var15 != nms_Block_leaves.$blockID) continue; else break a; } return; } nms_Block_$callClinit(); $var14 = nms_Block_leaves.$blockID; $var15 = $this.$leavesMetadata; if (!$this.$doBlockNotify) { $par5 = 2; continue main; } $par5 = 3; $ptr = 2; case 2: nms_World_setBlock($par1World, $var11, $var8, $var13, $var14, $var15, $par5); if ($rt_suspending()) { break main; } a: { b: while (true) { $var13 = $var13 + 1 | 0; while ($var13 > $var9) { $var11 = $var11 + 1 | 0; while ($var11 > var$13) { $var8 = $var8 + 1 | 0; if ($var8 > $par4) break b; $var10 = $var7 - ($var8 - $par4 | 0) | 0; $var11 = $par2 - $var10 | 0; var$13 = ($par2 + $var10 | 0) + 1 | 0; var$14 = $par3 - $var10 | 0; $var9 = ($par3 + $var10 | 0) + 1 | 0; var$16 = $rt_imul($var10, $var10); $par5 = $var10 - 1 | 0; var$17 = $rt_imul($par5, $par5); $par5 = $var10 + 1 | 0; $var10 = $rt_imul($par5, $par5); } $var12 = $var11 - $par2 | 0; var$19 = $rt_imul($var12, $var12); $var13 = var$14; } $var14 = $var13 - $par3 | 0; if ($var12 < 0 && $var14 < 0 && (var$19 + $rt_imul($var14, $var14) | 0) > var$16) continue; if (!($var12 <= 0 && $var14 <= 0) && (var$19 + $rt_imul($var14, $var14) | 0) > $var10) continue; var$22 = Long_and(Long_add(Long_mul($par6Random.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $par6Random.$seed = var$22; if (!Long_lo(Long_shr(Long_mul(var$10, Long_fromInt(Long_lo(Long_shru(var$22, var$9)))), 31)) && (var$19 + $rt_imul($var14, $var14) | 0) > var$17) continue; $var15 = nms_World_getBlockId($par1World, $var11, $var8, $var13); if (!$var15) break a; nms_Block_$callClinit(); if ($var15 != nms_Block_leaves.$blockID) continue; else break a; } return; } nms_Block_$callClinit(); $var14 = nms_Block_leaves.$blockID; $var15 = $this.$leavesMetadata; if (!$this.$doBlockNotify) { $par5 = 2; $ptr = 1; continue main; } $par5 = 3; continue main; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1World, $par2, $par3, $par4, $par5, $par6Random, $var8, $var7, var$9, var$10, $var10, $var11, var$13, var$14, $var9, var$16, var$17, $var12, var$19, $var13, $var14, var$22, $var15, $ptr); }; function nms_PathFinder() { let a = this; jl_Object.call(a); a.$worldMap = null; a.$path1 = null; a.$pointMap = null; a.$pathOptions = null; a.$isWoddenDoorAllowed = 0; a.$isMovementBlockAllowed = 0; a.$isPathingInWater = 0; a.$canEntityDrown = 0; } let nms_PathFinder_createEntityPathTo = ($this, $par1Entity, $par2, $par4, $par6, $par8) => { let $var15, var$7, $var9, var$9, var$10, var$11, var$12, $var11, var$14, var$15, var$16, var$17, $var13, var$19, $var12, var$21, $var14; $this.$path1.$count3 = 0; $var15 = $this.$pointMap; $var15.$versionStamp = $var15.$versionStamp + 1 | 0; var$7 = $var15.$slots; $var9 = 0; while (true) { var$9 = var$7.data; if ($var9 >= var$9.length) break; var$9[$var9] = null; $var9 = $var9 + 1 | 0; } $var15.$count5 = 0; $var9 = $this.$isPathingInWater; var$10 = $par1Entity.$boundingBox.$minY + 0.5; if ($this.$canEntityDrown && $par1Entity.$isInWater()) { var$11 = $par1Entity.$boundingBox.$minY | 0; $var15 = $this.$worldMap; var$12 = $par1Entity.$posX; $var11 = var$12 | 0; if (var$12 < $var11) $var11 = $var11 - 1 | 0; var$10 = $par1Entity.$posZ; $var9 = var$10 | 0; if (var$10 < $var9) $var9 = $var9 - 1 | 0; $var11 = nms_ChunkCache_getBlockId($var15, $var11, var$11, $var9); while (true) { nms_Block_$callClinit(); if ($var11 != nms_Block_waterMoving.$blockID && $var11 != nms_Block_waterStill.$blockID) break; var$11 = var$11 + 1 | 0; $var15 = $this.$worldMap; var$10 = $par1Entity.$posX; var$14 = var$10 | 0; if (var$10 < var$14) var$14 = var$14 - 1 | 0; var$10 = $par1Entity.$posZ; $var11 = var$10 | 0; if (var$10 < $var11) $var11 = $var11 - 1 | 0; $var11 = nms_ChunkCache_getBlockId($var15, var$14, var$11, $var11); } $var9 = $this.$isPathingInWater; $this.$isPathingInWater = 0; } else { var$10 = $par1Entity.$boundingBox.$minY + 0.5; var$11 = var$10 | 0; if (var$10 < var$11) var$11 = var$11 - 1 | 0; } $var15 = $par1Entity.$boundingBox; var$10 = $var15.$minX; var$15 = var$10 | 0; if (var$10 < var$15) var$15 = var$15 - 1 | 0; var$10 = $var15.$minZ; var$16 = var$10 | 0; if (var$10 < var$16) var$16 = var$16 - 1 | 0; var$14 = nms_PathPoint_makeHash(var$15, var$11, var$16); $var15 = $this.$pointMap; $var11 = var$14 ^ (var$14 >>> 20 | 0) ^ (var$14 >>> 12 | 0); $var11 = $var11 ^ ($var11 >>> 7 | 0) ^ ($var11 >>> 4 | 0); var$7 = $var15.$slots.data; $var15 = var$7[$var11 & (var$7.length - 1 | 0)]; a: { while ($var15 !== null) { if ($var15.$hashEntry == var$14) { $var15 = $var15.$valueEntry; break a; } $var15 = $var15.$nextEntry; } $var15 = null; } $var15 = $var15; if ($var15 === null) { $var15 = new nms_PathPoint; $var15.$index8 = (-1); $var15.$xCoord1 = var$15; $var15.$yCoord1 = var$11; $var15.$zCoord1 = var$16; $var15.$hash = nms_PathPoint_makeHash(var$15, var$11, var$16); nms_IntHashMap_addKey($this.$pointMap, var$14, $var15); } var$10 = $par1Entity.$width1 / 2.0; $par2 = $par2 - var$10; var$17 = $par2 | 0; if ($par2 < var$17) var$17 = var$17 - 1 | 0; var$15 = $par4 | 0; if ($par4 < var$15) var$15 = var$15 - 1 | 0; $par2 = $par6 - var$10; var$16 = $par2 | 0; if ($par2 < var$16) var$16 = var$16 - 1 | 0; var$11 = nms_PathPoint_makeHash(var$17, var$15, var$16); $var13 = $this.$pointMap; $var11 = var$11 ^ (var$11 >>> 20 | 0) ^ (var$11 >>> 12 | 0); var$19 = $var11 ^ ($var11 >>> 7 | 0) ^ ($var11 >>> 4 | 0); var$7 = $var13.$slots.data; $var13 = var$7[var$19 & (var$7.length - 1 | 0)]; b: { while ($var13 !== null) { if ($var13.$hashEntry == var$11) { $var13 = $var13.$valueEntry; break b; } $var13 = $var13.$nextEntry; } $var13 = null; } $var12 = $var13; if ($var12 === null) { $var12 = new nms_PathPoint; $var12.$index8 = (-1); $var12.$xCoord1 = var$17; $var12.$yCoord1 = var$15; $var12.$zCoord1 = var$16; $var12.$hash = nms_PathPoint_makeHash(var$17, var$15, var$16); nms_IntHashMap_addKey($this.$pointMap, var$11, $var12); } $var13 = new nms_PathPoint; var$21 = $par1Entity.$width1 + 1.0; $var11 = var$21 | 0; var$19 = $rt_compare(var$21, $var11); var$17 = var$19 >= 0 ? $var11 : $var11 - 1 | 0; var$21 = $par1Entity.$height2 + 1.0; var$14 = var$21 | 0; if (var$21 < var$14) var$14 = var$14 - 1 | 0; if (var$19 < 0) $var11 = $var11 - 1 | 0; $var13.$index8 = (-1); $var13.$xCoord1 = var$17; $var13.$yCoord1 = var$14; $var13.$zCoord1 = $var11; $var13.$hash = nms_PathPoint_makeHash(var$17, var$14, $var11); $var14 = nms_PathFinder_addToPath($this, $par1Entity, $var15, $var12, $var13, $par8); $this.$isPathingInWater = $var9; return $var14; }, nms_PathFinder_addToPath = ($this, $par1Entity, $par2PathPoint, $par3PathPoint, $par4PathPoint, $par5) => { let var$6, var$7, var$8, $var10, $var6, $var7, $var9, var$13, var$14, $var11, $var8, var$17, var$18, var$19, var$20; $par2PathPoint.$totalPathDistance = 0.0; var$6 = $par3PathPoint.$xCoord1 - $par2PathPoint.$xCoord1 | 0; var$7 = $par3PathPoint.$yCoord1 - $par2PathPoint.$yCoord1 | 0; var$8 = $par3PathPoint.$zCoord1 - $par2PathPoint.$zCoord1 | 0; var$6 = var$6 * var$6 + var$7 * var$7 + var$8 * var$8; $par2PathPoint.$distanceToNext = var$6; $par2PathPoint.$distanceToTarget = var$6; $var10 = $this.$path1; $var10.$count3 = 0; nms_Path_addPoint($var10, $par2PathPoint); $var6 = $par2PathPoint; while (true) { $var10 = $this.$path1; if ($var10.$count3 ? 0 : 1) { if ($var6 !== $par2PathPoint) return nms_PathFinder_createEntityPath($this, $par2PathPoint, $var6); return null; } $var7 = nms_Path_dequeue($var10); if (nms_PathPoint_equals($var7, $par3PathPoint)) break; $var9 = $par3PathPoint.$xCoord1; var$6 = $var9 - $var7.$xCoord1 | 0; var$13 = $par3PathPoint.$yCoord1; var$7 = var$13 - $var7.$yCoord1 | 0; var$14 = $par3PathPoint.$zCoord1; var$8 = var$14 - $var7.$zCoord1 | 0; $var11 = var$6 * var$6 + var$7 * var$7 + var$8 * var$8; var$6 = $var9 - $var6.$xCoord1 | 0; var$7 = var$13 - $var6.$yCoord1 | 0; var$8 = var$14 - $var6.$zCoord1 | 0; if ($var11 < var$6 * var$6 + var$7 * var$7 + var$8 * var$8) $var6 = $var7; $var7.$isFirst = 1; $var8 = nms_PathFinder_findPathOptions($this, $par1Entity, $var7, $par4PathPoint, $par3PathPoint, $par5); $var9 = 0; while ($var9 < $var8) { $var10 = $this.$pathOptions.data[$var9]; var$8 = $var7.$totalPathDistance; var$17 = $var10.$xCoord1; var$6 = var$17 - $var7.$xCoord1 | 0; var$18 = $var10.$yCoord1; var$7 = var$18 - $var7.$yCoord1 | 0; var$19 = $var10.$zCoord1; $var11 = var$19 - $var7.$zCoord1 | 0; $var11 = var$8 + var$6 * var$6 + var$7 * var$7 + $var11 * $var11; var$14 = $var10.$index8; var$13 = var$14 < 0 ? 0 : 1; if (!(var$13 && $var11 >= $var10.$totalPathDistance)) { $var10.$previous2 = $var7; $var10.$totalPathDistance = $var11; var$8 = $par3PathPoint.$xCoord1 - var$17 | 0; var$6 = $par3PathPoint.$yCoord1 - var$18 | 0; var$7 = $par3PathPoint.$zCoord1 - var$19 | 0; var$6 = var$8 * var$8 + var$6 * var$6 + var$7 * var$7; $var10.$distanceToNext = var$6; if (!(var$14 < 0 ? 0 : 1)) { $var10.$distanceToTarget = $var11 + var$6; nms_Path_addPoint($this.$path1, $var10); } else { var$20 = $this.$path1; var$6 = $var11 + var$6; var$7 = $var10.$distanceToTarget; $var10.$distanceToTarget = var$6; if (var$6 >= var$7) nms_Path_sortForward(var$20, var$14); else nms_Path_sortBack(var$20, var$14); } } $var9 = $var9 + 1 | 0; } } return nms_PathFinder_createEntityPath($this, $par2PathPoint, $par3PathPoint); }, nms_PathFinder_findPathOptions = ($this, $par1Entity, $par2PathPoint, $par3PathPoint, $par4PathPoint, $par5) => { let $var7, $var8, $var9, $var10, $var11, var$11, var$12, var$13, var$14, var$15, var$16; $var7 = 0; if (nms_PathFinder_func_82565_a($par1Entity, $par2PathPoint.$xCoord1, $par2PathPoint.$yCoord1 + 1 | 0, $par2PathPoint.$zCoord1, $par3PathPoint, $this.$isPathingInWater, $this.$isMovementBlockAllowed, $this.$isWoddenDoorAllowed) == 1) $var7 = 1; $var8 = nms_PathFinder_getSafePoint($this, $par1Entity, $par2PathPoint.$xCoord1, $par2PathPoint.$yCoord1, $par2PathPoint.$zCoord1 + 1 | 0, $par3PathPoint, $var7); $var9 = nms_PathFinder_getSafePoint($this, $par1Entity, $par2PathPoint.$xCoord1 - 1 | 0, $par2PathPoint.$yCoord1, $par2PathPoint.$zCoord1, $par3PathPoint, $var7); $var10 = nms_PathFinder_getSafePoint($this, $par1Entity, $par2PathPoint.$xCoord1 + 1 | 0, $par2PathPoint.$yCoord1, $par2PathPoint.$zCoord1, $par3PathPoint, $var7); $var11 = nms_PathFinder_getSafePoint($this, $par1Entity, $par2PathPoint.$xCoord1, $par2PathPoint.$yCoord1, $par2PathPoint.$zCoord1 - 1 | 0, $par3PathPoint, $var7); if ($var8 === null) $var7 = 0; else if ($var8.$isFirst) $var7 = 0; else { var$11 = $par4PathPoint.$xCoord1 - $var8.$xCoord1 | 0; var$12 = $par4PathPoint.$yCoord1 - $var8.$yCoord1 | 0; var$13 = $par4PathPoint.$zCoord1 - $var8.$zCoord1 | 0; if (jl_Math_sqrt(var$11 * var$11 + var$12 * var$12 + var$13 * var$13) >= $par5) $var7 = 0; else { var$14 = $this.$pathOptions.data; $var7 = 1; var$14[0] = $var8; } } if ($var9 === null) var$15 = $var7; else if ($var9.$isFirst) var$15 = $var7; else { var$11 = $par4PathPoint.$xCoord1 - $var9.$xCoord1 | 0; var$12 = $par4PathPoint.$yCoord1 - $var9.$yCoord1 | 0; var$13 = $par4PathPoint.$zCoord1 - $var9.$zCoord1 | 0; if (jl_Math_sqrt(var$11 * var$11 + var$12 * var$12 + var$13 * var$13) >= $par5) var$15 = $var7; else { var$14 = $this.$pathOptions.data; var$15 = $var7 + 1 | 0; var$14[$var7] = $var9; } } if ($var10 === null) $var7 = var$15; else if ($var10.$isFirst) $var7 = var$15; else { var$11 = $par4PathPoint.$xCoord1 - $var10.$xCoord1 | 0; var$12 = $par4PathPoint.$yCoord1 - $var10.$yCoord1 | 0; var$13 = $par4PathPoint.$zCoord1 - $var10.$zCoord1 | 0; if (jl_Math_sqrt(var$11 * var$11 + var$12 * var$12 + var$13 * var$13) >= $par5) $var7 = var$15; else { var$14 = $this.$pathOptions.data; $var7 = var$15 + 1 | 0; var$14[var$15] = $var10; } } if ($var11 === null) var$16 = $var7; else if ($var11.$isFirst) var$16 = $var7; else { var$11 = $par4PathPoint.$xCoord1 - $var11.$xCoord1 | 0; var$12 = $par4PathPoint.$yCoord1 - $var11.$yCoord1 | 0; var$13 = $par4PathPoint.$zCoord1 - $var11.$zCoord1 | 0; if (jl_Math_sqrt(var$11 * var$11 + var$12 * var$12 + var$13 * var$13) >= $par5) var$16 = $var7; else { var$14 = $this.$pathOptions.data; var$16 = $var7 + 1 | 0; var$14[$var7] = $var11; } } return var$16; }, nms_PathFinder_getSafePoint = ($this, $par1Entity, $par2, $par3, $par4, $par5PathPoint, $par6) => { let $var7, $var8, var$9, $var9, var$11, $var10, var$13, var$14; $var7 = null; $var8 = nms_PathFinder_func_82565_a($par1Entity, $par2, $par3, $par4, $par5PathPoint, $this.$isPathingInWater, $this.$isMovementBlockAllowed, $this.$isWoddenDoorAllowed); if ($var8 == 2) { $par6 = nms_PathPoint_makeHash($par2, $par3, $par4); $par1Entity = $this.$pointMap; var$9 = $par6 ^ ($par6 >>> 20 | 0) ^ ($par6 >>> 12 | 0); $var9 = var$9 ^ (var$9 >>> 7 | 0) ^ (var$9 >>> 4 | 0); var$11 = $par1Entity.$slots.data; $par1Entity = var$11[$var9 & (var$11.length - 1 | 0)]; a: { while ($par1Entity !== null) { if ($par1Entity.$hashEntry == $par6) { $par1Entity = $par1Entity.$valueEntry; break a; } $par1Entity = $par1Entity.$nextEntry; } $par1Entity = null; } $par1Entity = $par1Entity; if ($par1Entity === null) { $par1Entity = new nms_PathPoint; $par1Entity.$index8 = (-1); $par1Entity.$xCoord1 = $par2; $par1Entity.$yCoord1 = $par3; $par1Entity.$zCoord1 = $par4; $par1Entity.$hash = nms_PathPoint_makeHash($par2, $par3, $par4); nms_IntHashMap_addKey($this.$pointMap, $par6, $par1Entity); } return $par1Entity; } if ($var8 == 1) { $var10 = nms_PathPoint_makeHash($par2, $par3, $par4); var$13 = $this.$pointMap; var$9 = $var10 ^ ($var10 >>> 20 | 0) ^ ($var10 >>> 12 | 0); $var9 = var$9 ^ (var$9 >>> 7 | 0) ^ (var$9 >>> 4 | 0); var$11 = var$13.$slots.data; var$13 = var$11[$var9 & (var$11.length - 1 | 0)]; b: { while (var$13 !== null) { if (var$13.$hashEntry == $var10) { var$13 = var$13.$valueEntry; break b; } var$13 = var$13.$nextEntry; } var$13 = null; } $var7 = var$13; if ($var7 === null) { $var7 = new nms_PathPoint; $var7.$index8 = (-1); $var7.$xCoord1 = $par2; $var7.$yCoord1 = $par3; $var7.$zCoord1 = $par4; $var7.$hash = nms_PathPoint_makeHash($par2, $par3, $par4); nms_IntHashMap_addKey($this.$pointMap, $var10, $var7); } } if ($var7 !== null) var$14 = $par3; else if ($par6 <= 0) var$14 = $par3; else if ($var8 == (-3)) var$14 = $par3; else if ($var8 == (-4)) var$14 = $par3; else { var$14 = $par3 + $par6 | 0; if (nms_PathFinder_func_82565_a($par1Entity, $par2, var$14, $par4, $par5PathPoint, $this.$isPathingInWater, $this.$isMovementBlockAllowed, $this.$isWoddenDoorAllowed) != 1) var$14 = $par3; else { $par3 = nms_PathPoint_makeHash($par2, var$14, $par4); var$13 = $this.$pointMap; $par6 = $par3 ^ ($par3 >>> 20 | 0) ^ ($par3 >>> 12 | 0); $var9 = $par6 ^ ($par6 >>> 7 | 0) ^ ($par6 >>> 4 | 0); var$11 = var$13.$slots.data; var$13 = var$11[$var9 & (var$11.length - 1 | 0)]; c: { while (var$13 !== null) { if (var$13.$hashEntry == $par3) { var$13 = var$13.$valueEntry; break c; } var$13 = var$13.$nextEntry; } var$13 = null; } $var7 = var$13; if ($var7 === null) { $var7 = new nms_PathPoint; $var7.$index8 = (-1); $var7.$xCoord1 = $par2; $var7.$yCoord1 = var$14; $var7.$zCoord1 = $par4; $var7.$hash = nms_PathPoint_makeHash($par2, var$14, $par4); nms_IntHashMap_addKey($this.$pointMap, $par3, $var7); } } } if ($var7 !== null) { $var9 = 0; $var10 = 0; d: { while (true) { if (var$14 <= 0) break d; $var10 = nms_PathFinder_func_82565_a($par1Entity, $par2, var$14 - 1 | 0, $par4, $par5PathPoint, $this.$isPathingInWater, $this.$isMovementBlockAllowed, $this.$isWoddenDoorAllowed); if ($this.$isPathingInWater && $var10 == (-1)) return null; if ($var10 != 1) break d; $var8 = $var9 + 1 | 0; if ($var9 >= $par1Entity.$getMaxSafePointTries()) break; var$14 = var$14 + (-1) | 0; if (var$14 <= 0) { $var9 = $var8; continue; } $var9 = nms_PathPoint_makeHash($par2, var$14, $par4); var$13 = $this.$pointMap; $par3 = $var9 ^ ($var9 >>> 20 | 0) ^ ($var9 >>> 12 | 0); $par3 = $par3 ^ ($par3 >>> 7 | 0) ^ ($par3 >>> 4 | 0); var$11 = var$13.$slots.data; var$13 = var$11[$par3 & (var$11.length - 1 | 0)]; e: { while (var$13 !== null) { if (var$13.$hashEntry == $var9) { var$13 = var$13.$valueEntry; break e; } var$13 = var$13.$nextEntry; } var$13 = null; } $var7 = var$13; if ($var7 === null) { $var7 = new nms_PathPoint; $var7.$index8 = (-1); $var7.$xCoord1 = $par2; $var7.$yCoord1 = var$14; $var7.$zCoord1 = $par4; $var7.$hash = nms_PathPoint_makeHash($par2, var$14, $par4); nms_IntHashMap_addKey($this.$pointMap, $var9, $var7); } $var9 = $var8; } return null; } if ($var10 == (-2)) return null; } return $var7; }, nms_PathFinder_func_82565_a = ($par0Entity, $par1, $par2, $par3, $par4PathPoint, $par5, $par6, $par7) => { let $var8, $var9, $var10, $var11, $var12, $var13, $var14, $var17, var$17, var$18, $var18, $var16, $var15; $var8 = 0; $var9 = $par1; a: { b: while (true) { if ($var9 >= ($par1 + $par4PathPoint.$xCoord1 | 0)) return !$var8 ? 1 : 2; $var10 = $par2; while ($var10 < ($par2 + $par4PathPoint.$yCoord1 | 0)) { $var11 = $par3; while ($var11 < ($par3 + $par4PathPoint.$zCoord1 | 0)) { $var12 = nms_World_getBlockId($par0Entity.$worldObj, $var9, $var10, $var11); if ($var12 > 0) { nms_Block_$callClinit(); if ($var12 == nms_Block_trapdoor.$blockID) $var8 = 1; else if (!($var12 != nms_Block_waterMoving.$blockID && $var12 != nms_Block_waterStill.$blockID)) { if ($par5) return (-1); $var8 = 1; } else if (!$par7 && $var12 == nms_Block_doorWood.$blockID) break b; $var13 = nms_Block_blocksList.data[$var12]; $var14 = $var13.$getRenderType(); $var17 = nms_World_getBlockId($par0Entity.$worldObj, $var9, $var10, $var11); var$17 = nms_Block_blocksList.data; if ((var$17[$var17] === null ? (-1) : var$17[$var17].$getRenderType()) == 9) { var$18 = $par0Entity.$posX; $var18 = var$18 | 0; if (var$18 < $var18) $var18 = $var18 - 1 | 0; var$18 = $par0Entity.$posY; $var16 = var$18 | 0; if (var$18 < $var16) $var16 = $var16 - 1 | 0; var$18 = $par0Entity.$posZ; $var17 = var$18 | 0; if (var$18 < $var17) $var17 = $var17 - 1 | 0; $var12 = nms_World_getBlockId($par0Entity.$worldObj, $var18, $var16, $var17); var$17 = nms_Block_blocksList.data; if ((var$17[$var12] === null ? (-1) : var$17[$var12].$getRenderType()) != 9) { $var12 = nms_World_getBlockId($par0Entity.$worldObj, $var18, $var16 - 1 | 0, $var17); var$17 = nms_Block_blocksList.data; if ((var$17[$var12] === null ? (-1) : var$17[$var12].$getRenderType()) != 9) return (-3); } } else if (!$var13.$getBlocksMovement($par0Entity.$worldObj, $var9, $var10, $var11) && !($par6 && $var12 == nms_Block_doorWood.$blockID)) { if ($var14 == 11) break a; if ($var12 == nms_Block_fenceGate.$blockID) break a; if ($var14 == 32) break a; if ($var12 == nms_Block_trapdoor.$blockID) return (-4); $var15 = $var13.$blockMaterial; nms_Material_$callClinit(); if ($var15 !== nms_Material_lava) return 0; if (!$par0Entity.$handleLavaMovement()) return (-2); } } $var11 = $var11 + 1 | 0; } $var10 = $var10 + 1 | 0; } $var9 = $var9 + 1 | 0; } return 0; } return (-3); }, nms_PathFinder_createEntityPath = ($this, $par1PathPoint, $par2PathPoint) => { let $var3, $var4, $var5, var$6; $var3 = 1; $var4 = $par2PathPoint; while (true) { $var4 = $var4.$previous2; if ($var4 === null) break; $var3 = $var3 + 1 | 0; } $var5 = $rt_createArray(nms_PathPoint, $var3); var$6 = $var5.data; $var3 = $var3 + (-1) | 0; var$6[$var3] = $par2PathPoint; while (true) { $par2PathPoint = $par2PathPoint.$previous2; if ($par2PathPoint === null) break; $var3 = $var3 + (-1) | 0; var$6[$var3] = $par2PathPoint; } $par1PathPoint = new nms_PathEntity; $par1PathPoint.$points = $var5; $par1PathPoint.$pathLength = var$6.length; return $par1PathPoint; }, nms_EntityFireworkOverlayFX = $rt_classWithoutFields(nms_EntityFX), nms_EntityFireworkOverlayFX_renderParticle = ($this, $par1Tessellator, $par2, $par3, $par4, $par5, $par6, $par7) => { let var$8, $var12, var$10, var$11, var$12, $var13, $var14, $var15, var$16, var$17, var$18, var$19; var$8 = ($this.$particleAge + $par2 - 1.0) * 0.25; $var12 = var$8 * 3.1415927410125732; $var12 = 7.099999904632568 * nms_MathHelper_SIN_TABLE.data[($var12 * 10430.3779296875 | 0) & 65535]; var$8 = 0.6000000238418579 - var$8 * 0.5; $this.$particleAlpha = var$8; var$10 = $this.$prevPosX; var$11 = $this.$posX - var$10; var$12 = $par2; $var13 = var$10 + var$11 * var$12 - nms_EntityFX_interpPosX; var$10 = $this.$prevPosY; $var14 = var$10 + ($this.$posY - var$10) * var$12 - nms_EntityFX_interpPosY; var$10 = $this.$prevPosZ; $var15 = var$10 + ($this.$posZ - var$10) * var$12 - nms_EntityFX_interpPosZ; var$16 = $this.$particleRed; var$17 = $this.$particleGreen; var$18 = $this.$particleBlue; nlea_Tessellator_setColorRGBA($par1Tessellator, var$16 * 255.0 | 0, var$17 * 255.0 | 0, var$18 * 255.0 | 0, var$8 * 255.0 | 0); $par2 = $par3 * $var12; $par3 = $var13 - $par2; $par6 = $par6 * $var12; var$10 = $par3 - $par6; $par4 = $par4 * $var12; var$11 = $var14 - $par4; $par5 = $par5 * $var12; var$8 = $var15 - $par5; $par7 = $par7 * $var12; var$12 = var$8 - $par7; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = 0.5; $par1Tessellator.$textureV = 0.375; nlea_Tessellator_addVertex($par1Tessellator, var$10, var$11, var$12); var$10 = $par3 + $par6; var$12 = $var14 + $par4; var$19 = var$8 + $par7; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = 0.5; $par1Tessellator.$textureV = 0.125; nlea_Tessellator_addVertex($par1Tessellator, var$10, var$12, var$19); $par2 = $var13 + $par2; var$10 = $par2 + $par6; $par3 = $var15 + $par5; var$19 = $par3 + $par7; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = 0.25; $par1Tessellator.$textureV = 0.125; nlea_Tessellator_addVertex($par1Tessellator, var$10, var$12, var$19); var$10 = $par2 - $par6; var$12 = $par3 - $par7; $par1Tessellator.$hasTexture = 1; $par1Tessellator.$textureU = 0.25; $par1Tessellator.$textureV = 0.375; nlea_Tessellator_addVertex($par1Tessellator, var$10, var$11, var$12); }; function nms_GuiButtonNextPage() { nms_GuiButton.call(this); this.$nextPage = 0; } let nms_GuiButtonNextPage_drawButton = ($this, $par1Minecraft, $par2, $par3) => { let $var4, $var5, $var6, $ptr, $tmp; $ptr = 0; if ($rt_resuming()) { let $thread = $rt_nativeThread(); $ptr = $thread.pop();$var6 = $thread.pop();$var5 = $thread.pop();$var4 = $thread.pop();$par3 = $thread.pop();$par2 = $thread.pop();$par1Minecraft = $thread.pop();$this = $thread.pop(); } main: while (true) { switch ($ptr) { case 0: if (!$this.$drawButton0) return; a: { $var4 = $this.$xPosition; if ($par2 >= $var4) { $var5 = $this.$yPosition; if ($par3 >= $var5 && $par2 < ($var4 + $this.$width0 | 0) && $par3 < ($var5 + $this.$height0 | 0)) { $var4 = 1; break a; } } $var4 = 0; } nleg_EaglerAdapterGL30_$callClinit(); nleg_EaglerAdapterGL30_colorSerial = nleg_EaglerAdapterGL30_colorSerial + 1 | 0; nleg_EaglerAdapterGL30_colorR = 1.0; nleg_EaglerAdapterGL30_colorG = 1.0; nleg_EaglerAdapterGL30_colorB = 1.0; nleg_EaglerAdapterGL30_colorA = 1.0; nms_GuiScreenBook_$callClinit(); $par1Minecraft = nms_GuiScreenBook_bookGuiTextures; $ptr = 1; case 1: nle_TextureLocation_bindTexture($par1Minecraft); if ($rt_suspending()) { break main; } $var5 = 0; $var6 = 192; if ($var4) $var5 = 23; if (!$this.$nextPage) $var6 = 205; nms_Gui_drawTexturedModalRect($this, $this.$xPosition, $this.$yPosition, $var5, $var6, 23, 13); return; default: $rt_invalidPointer(); }} $rt_nativeThread().push($this, $par1Minecraft, $par2, $par3, $var4, $var5, $var6, $ptr); }; function ju_TreeMap$EntryIterator() { let a = this; jl_Object.call(a); a.$modCount6 = 0; a.$owner1 = null; a.$path2 = null; a.$last = null; a.$to0 = null; a.$toChecked0 = 0; a.$toIncluded0 = 0; a.$depth = 0; a.$reverse = 0; } let ju_TreeMap$EntryIterator__init_0 = ($this, $owner, $path, $to, $toChecked, $toIncluded, $reverse) => { let var$7, var$8, var$9, var$10, var$11, var$12; $this.$owner1 = $owner; $this.$modCount6 = $owner.$modCount2; $owner = $owner.$root; var$7 = $owner !== null ? $owner.$height1 : 0; var$8 = $path.constructor; if (var$8 === null) $owner = null; else { $owner = var$8.classObject; if ($owner === null) { $owner = new jl_Class; $owner.$platformClass = var$8; var$8.classObject = $owner; } } var$9 = $owner.$platformClass.$meta.item; if (var$9 === null) $owner = null; else { $owner = var$9.classObject; if ($owner === null) { $owner = new jl_Class; $owner.$platformClass = var$9; var$9.classObject = $owner; } } if ($owner === null) { $owner = new jl_NullPointerException; $owner.$suppressionEnabled = 1; $owner.$writableStackTrace = 1; $rt_throw($owner); } if ($owner === $rt_cls($rt_voidcls)) { $owner = new jl_IllegalArgumentException; $owner.$suppressionEnabled = 1; $owner.$writableStackTrace = 1; $rt_throw($owner); } if (var$7 < 0) { $owner = new jl_NegativeArraySizeException; $owner.$suppressionEnabled = 1; $owner.$writableStackTrace = 1; $rt_throw($owner); } $path = $path.data; var$10 = jlr_Array_newInstanceImpl($owner.$platformClass, var$7); var$11 = $path.length; if (var$7 >= var$11) var$7 = var$11; var$12 = 0; while (var$12 < var$7) { var$10.data[var$12] = $path[var$12]; var$12 = var$12 + 1 | 0; } $this.$path2 = var$10; $this.$depth = var$11; $this.$to0 = $to; $this.$toChecked0 = $toChecked; $this.$toIncluded0 = $toIncluded; $this.$reverse = $reverse; ju_TreeMap$EntryIterator_checkFinished($this); }, ju_TreeMap$EntryIterator__init_ = (var_0, var_1, var_2, var_3, var_4, var_5) => { let var_6 = new ju_TreeMap$EntryIterator(); ju_TreeMap$EntryIterator__init_0(var_6, var_0, var_1, var_2, var_3, var_4, var_5); return var_6; }, ju_TreeMap$EntryIterator_next = $this => { let $node, var$2, var$3, var$4, $down, var$6; if ($this.$modCount6 != $this.$owner1.$modCount2) { $node = new ju_ConcurrentModificationException; $node.$suppressionEnabled = 1; $node.$writableStackTrace = 1; $rt_throw($node); } var$2 = $this.$depth; if (!var$2) { $node = new ju_NoSuchElementException; $node.$suppressionEnabled = 1; $node.$writableStackTrace = 1; $rt_throw($node); } var$3 = $this.$path2.data; var$4 = var$2 - 1 | 0; $this.$depth = var$4; $node = var$3[var$4]; $this.$last = $node; var$2 = $this.$reverse; $down = var$2 ? $node.$left : $node.$right; a: { if ($down !== null) while (true) { if ($down === null) break a; var$6 = $this.$depth; $this.$depth = var$6 + 1 | 0; var$3[var$6] = $down; $down = var$2 ? $down.$right : $down.$left; } } ju_TreeMap$EntryIterator_checkFinished($this); return $this.$last; }, ju_TreeMap$EntryIterator_checkFinished = $this => { let var$1, var$2, var$3, var$4, var$5, var$6; if ($this.$toChecked0) { var$1 = $this.$depth; if (var$1) { a: { var$2 = $this.$path2.data[var$1 - 1 | 0].$key0; var$3 = $this.$to0; var$2 = var$2; var$3 = var$3; if (var$2 === var$3) var$1 = 0; else { var$1 = var$2.$nativeString.length; var$4 = var$3.$nativeString.length; if (var$1 < var$4) var$4 = var$1; var$5 = 0; b: { while (true) { if (var$5 >= var$4) { var$1 = var$2.$nativeString.length - var$3.$nativeString.length | 0; break a; } if (var$5 < 0) break b; if (var$5 >= var$2.$nativeString.length) break b; var$6 = var$2.$nativeString.charCodeAt(var$5); if (var$5 < 0) break; if (var$5 >= var$3.$nativeString.length) break; var$1 = var$6 - var$3.$nativeString.charCodeAt(var$5) | 0; if (var$1) break a; var$5 = var$5 + 1 | 0; } var$3 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } var$3 = new jl_StringIndexOutOfBoundsException; jl_Throwable__init_(var$3); $rt_throw(var$3); } } if ($this.$reverse) var$1 = -var$1 | 0; if (!$this.$toIncluded0) { if (var$1 >= 0) $this.$depth = 0; } else if (var$1 > 0) $this.$depth = 0; return; } } }, ju_TreeMap$EntryIterator_remove = $this => { let var$1, var$2, var$3, $newPath, var$5, var$6, var$7; var$1 = $this.$modCount6; var$2 = $this.$owner1; if (var$1 != var$2.$modCount2) { var$2 = new ju_ConcurrentModificationException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$3 = $this.$last; if (var$3 === null) { var$2 = new jl_IllegalStateException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } var$2.$root = ju_TreeMap_deleteNode(var$2, var$2.$root, var$3.$key0); $newPath = ju_TreeMap_pathToNext($this.$owner1, $this.$last.$key0, $this.$reverse); var$5 = $newPath.data; var$6 = $this.$path2; var$7 = var$5.length; jl_System_fastArraycopy($newPath, 0, var$6, 0, var$7); $this.$depth = var$7; var$2 = $this.$owner1; var$1 = var$2.$modCount2 + 1 | 0; var$2.$modCount2 = var$1; $this.$modCount6 = var$1; $this.$last = null; }; function nms_Path() { let a = this; jl_Object.call(a); a.$pathPoints = null; a.$count3 = 0; } let nms_Path__init_ = $this => { $this.$pathPoints = $rt_createArray(nms_PathPoint, 1024); }, nms_Path__init_0 = () => { let var_0 = new nms_Path(); nms_Path__init_(var_0); return var_0; }, nms_Path_addPoint = ($this, $par1PathPoint) => { let var$2, var$3, $var2, var$5; if ($par1PathPoint.$index8 >= 0) { $par1PathPoint = new jl_IllegalStateException; $par1PathPoint.$suppressionEnabled = 1; $par1PathPoint.$writableStackTrace = 1; $par1PathPoint.$message = $rt_s(3975); $rt_throw($par1PathPoint); } var$2 = $this.$count3; var$3 = $this.$pathPoints; if (var$2 == var$3.data.length) { $var2 = $rt_createArray(nms_PathPoint, var$2 << 1); jl_System_fastArraycopy(var$3, 0, $var2, 0, var$2); $this.$pathPoints = $var2; } var$3 = $this.$pathPoints.data; var$5 = $this.$count3; var$3[var$5] = $par1PathPoint; $par1PathPoint.$index8 = var$5; $this.$count3 = var$5 + 1 | 0; nms_Path_sortBack($this, var$5); return $par1PathPoint; }, nms_Path_dequeue = $this => { let var$1, $var1, var$3; var$1 = $this.$pathPoints.data; $var1 = var$1[0]; var$3 = $this.$count3 - 1 | 0; $this.$count3 = var$3; var$1[0] = var$1[var$3]; var$1[var$3] = null; if (var$3 > 0) nms_Path_sortForward($this, 0); $var1.$index8 = (-1); return $var1; }, nms_Path_sortBack = ($this, $par1) => { let var$2, $var2, $var3, $var4, $var5; var$2 = $this.$pathPoints.data; $var2 = var$2[$par1]; $var3 = $var2.$distanceToTarget; a: { while (true) { if ($par1 <= 0) break a; $var4 = ($par1 - 1 | 0) >> 1; $var5 = var$2[$var4]; if ($var3 >= $var5.$distanceToTarget) break; var$2[$par1] = $var5; $var5.$index8 = $par1; $par1 = $var4; } } var$2[$par1] = $var2; $var2.$index8 = $par1; }, nms_Path_sortForward = ($this, $par1) => { let var$2, $var2, $var3, $var4, $var5, var$7, $var6, $var7, $var8, $var9; var$2 = $this.$pathPoints.data; $var2 = var$2[$par1]; $var3 = $var2.$distanceToTarget; a: { while (true) { $var4 = 1 + ($par1 << 1) | 0; $var5 = $var4 + 1 | 0; var$7 = $this.$count3; if ($var4 >= var$7) break; $var6 = var$2[$var4]; $var7 = $var6.$distanceToTarget; if ($var5 < var$7) { $var8 = var$2[$var5]; $var9 = $var8.$distanceToTarget; } else { $var8 = null; $var9 = Infinity; } if ($var7 < $var9) { if ($var7 >= $var3) break a; var$2[$par1] = $var6; $var6.$index8 = $par1; } else { if ($var9 >= $var3) break a; var$2[$par1] = $var8; $var8.$index8 = $par1; $var4 = $var5; } $par1 = $var4; } } var$2[$par1] = $var2; $var2.$index8 = $par1; }; function nms_PathPoint() { let a = this; jl_Object.call(a); a.$xCoord1 = 0; a.$yCoord1 = 0; a.$zCoord1 = 0; a.$hash = 0; a.$index8 = 0; a.$totalPathDistance = 0.0; a.$distanceToNext = 0.0; a.$distanceToTarget = 0.0; a.$previous2 = null; a.$isFirst = 0; } let nms_PathPoint_makeHash = ($par0, $par1, $par2) => { return $par1 & 255 | ($par0 & 32767) << 8 | ($par2 & 32767) << 24 | ($par0 >= 0 ? 0 : (-2147483648)) | ($par2 >= 0 ? 0 : 32768); }, nms_PathPoint_equals = ($this, $par1Obj) => { let $var2; if (!($par1Obj instanceof nms_PathPoint)) return 0; $var2 = $par1Obj; return $this.$hash == $var2.$hash && $this.$xCoord1 == $var2.$xCoord1 && $this.$yCoord1 == $var2.$yCoord1 && $this.$zCoord1 == $var2.$zCoord1 ? 1 : 0; }, nms_PathPoint_hashCode = $this => { return $this.$hash; }, nms_PathPoint_toString = $this => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7; var$1 = $this.$xCoord1; var$2 = $this.$yCoord1; var$3 = $this.$zCoord1; var$4 = new jl_StringBuilder; var$4.$buffer = $rt_createCharArray(16); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$1, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$2, 10); jl_AbstractStringBuilder_insert(var$4, var$4.$length0, $rt_s(25)); jl_AbstractStringBuilder_insert0(var$4, var$4.$length0, var$3, 10); var$5 = new jl_String; var$6 = var$4.$buffer; var$7 = var$6.data; var$2 = var$4.$length0; var$3 = var$7.length; if (var$2 >= 0 && var$2 <= (var$3 - 0 | 0)) { var$5.$nativeString = $rt_charArrayToString(var$6.data, 0, var$2); return var$5; } var$4 = new jl_IndexOutOfBoundsException; var$4.$suppressionEnabled = 1; var$4.$writableStackTrace = 1; jl_Throwable_fillInStackTrace(var$4); $rt_throw(var$4); }; function nleav_VirtualFilesystem$AsyncHandlers$5() { jl_Object.call(this); this.$val$cb15 = null; } let nleav_VirtualFilesystem$AsyncHandlers$5_handleEvent$exported$0 = var$0 => { let var$1, var$2; var$1 = var$0.$val$cb15; var$2 = nleav_BooleanResult_TRUE; var$1.$realAsyncCallback.$complete(var$2); }; function nleav_VirtualFilesystem$AsyncHandlers$6() { jl_Object.call(this); this.$val$cb14 = null; } let nleav_VirtualFilesystem$AsyncHandlers$6_handleEvent$exported$0 = var$0 => { let var$1, var$2; var$1 = var$0.$val$cb14; var$2 = nleav_BooleanResult_FALSE; var$1.$realAsyncCallback.$complete(var$2); }, nms_IntCache = $rt_classWithoutFields(), nms_IntCache_intCacheSize = 0, nms_IntCache_freeSmallArrays = null, nms_IntCache_inUseSmallArrays = null, nms_IntCache_freeLargeArrays = null, nms_IntCache_inUseLargeArrays = null, nms_IntCache__init_ = $this => { return; }, nms_IntCache__init_0 = () => { let var_0 = new nms_IntCache(); nms_IntCache__init_(var_0); return var_0; }, nms_IntCache_getIntCache = $par0 => { let var$2, var$3, $var1, var$5, var$6, var$7, var$8; jl_Object_monitorEnterSync($rt_cls(nms_IntCache)); try { if ($par0 <= 256) { var$2 = nms_IntCache_freeSmallArrays; var$3 = var$2.$size0; if (var$3 ? 0 : 1) { $var1 = $rt_createIntArray(256); var$2 = nms_IntCache_inUseSmallArrays; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$3 = var$2.$size0; var$2.$size0 = var$3 + 1 | 0; var$5[var$3] = $var1; var$2.$modCount = var$2.$modCount + 1 | 0; return $var1; } $var1 = ju_ArrayList_remove(var$2, var$3 - 1 | 0); var$2 = nms_IntCache_inUseSmallArrays; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$3 = var$2.$size0; var$2.$size0 = var$3 + 1 | 0; var$5[var$3] = $var1; var$2.$modCount = var$2.$modCount + 1 | 0; return $var1; } var$3 = nms_IntCache_intCacheSize; if ($par0 > var$3) { nms_IntCache_intCacheSize = $par0; var$2 = nms_IntCache_freeLargeArrays; $var1 = var$2.$array; var$3 = 0; var$6 = var$2.$size0; var$7 = null; if (var$3 > var$6) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while (var$3 < var$6) { var$5 = $var1.data; var$8 = var$3 + 1 | 0; var$5[var$3] = var$7; var$3 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; var$2 = nms_IntCache_inUseLargeArrays; $var1 = var$2.$array; var$3 = 0; var$6 = var$2.$size0; var$7 = null; if (var$3 > var$6) { var$2 = new jl_IllegalArgumentException; var$2.$suppressionEnabled = 1; var$2.$writableStackTrace = 1; $rt_throw(var$2); } while (var$3 < var$6) { var$5 = $var1.data; var$8 = var$3 + 1 | 0; var$5[var$3] = var$7; var$3 = var$8; } var$2.$size0 = 0; var$2.$modCount = var$2.$modCount + 1 | 0; $var1 = $rt_createIntArray($par0); ju_ArrayList_ensureCapacity(var$2, 1); var$5 = var$2.$array.data; var$3 = var$2.$size0; var$2.$size0 = var$3 + 1 | 0; var$5[var$3] = $var1; var$2.$modCount = var$2.$modCount + 1 | 0; return $var1; } var$2 = nms_IntCache_freeLargeArrays; var$6 = var$2.$size0; if (var$6 ? 0 : 1) { $var1 = $rt_createIntArray(var$3); var$2 = nms_IntCache_inUseLargeArrays; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$3 = var$2.$size0; var$2.$size0 = var$3 + 1 | 0; var$5[var$3] = $var1; var$2.$modCount = var$2.$modCount + 1 | 0; return $var1; } $var1 = ju_ArrayList_remove(var$2, var$6 - 1 | 0); var$2 = nms_IntCache_inUseLargeArrays; ju_ArrayList_ensureCapacity(var$2, var$2.$size0 + 1 | 0); var$5 = var$2.$array.data; var$3 = var$2.$size0; var$2.$size0 = var$3 + 1 | 0; var$5[var$3] = $var1; var$2.$modCount = var$2.$modCount + 1 | 0; return $var1; } finally { jl_Object_monitorExitSync($rt_cls(nms_IntCache)); } }, nms_IntCache_resetIntCache = () => { let var$1, var$2, var$3, var$4, var$5, var$6, var$7, var$8, var$9, var$10; jl_Object_monitorEnterSync($rt_cls(nms_IntCache)); try { var$1 = nms_IntCache_freeLargeArrays; var$2 = var$1.$size0; if (!(var$2 ? 0 : 1)) ju_ArrayList_remove(var$1, var$2 - 1 | 0); var$1 = nms_IntCache_freeSmallArrays; var$2 = var$1.$size0; if (!(var$2 ? 0 : 1)) ju_ArrayList_remove(var$1, var$2 - 1 | 0); var$3 = nms_IntCache_freeLargeArrays; var$1 = nms_IntCache_inUseLargeArrays; var$2 = 0; var$4 = var$1.$modCount; var$5 = var$1.$size(); while (true) { if (!(var$2 >= var$5 ? 0 : 1)) { var$1 = nms_IntCache_freeSmallArrays; var$3 = nms_IntCache_inUseSmallArrays; var$2 = 0; var$4 = var$3.$modCount; var$5 = var$3.$size(); while (true) { if (!(var$2 >= var$5 ? 0 : 1)) { var$1 = nms_IntCache_inUseLargeArrays; var$6 = var$1.$array; var$7 = 0; var$2 = var$1.$size0; var$3 = null; if (var$7 > var$2) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$7 < var$2) { var$8 = var$6.data; var$9 = var$7 + 1 | 0; var$8[var$7] = var$3; var$7 = var$9; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; var$1 = nms_IntCache_inUseSmallArrays; var$6 = var$1.$array; var$7 = 0; var$2 = var$1.$size0; var$3 = null; if (var$7 > var$2) { var$1 = new jl_IllegalArgumentException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } while (var$7 < var$2) { var$8 = var$6.data; var$9 = var$7 + 1 | 0; var$8[var$7] = var$3; var$7 = var$9; } var$1.$size0 = 0; var$1.$modCount = var$1.$modCount + 1 | 0; return; } if (var$4 < var$3.$modCount) break; var$9 = var$2 + 1 | 0; var$10 = var$3.$get(var$2); ju_ArrayList_ensureCapacity(var$1, var$1.$size0 + 1 | 0); var$6 = var$1.$array.data; var$2 = var$1.$size0; var$1.$size0 = var$2 + 1 | 0; var$6[var$2] = var$10; var$1.$modCount = var$1.$modCount + 1 | 0; var$2 = var$9; } var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } if (var$4 < var$1.$modCount) break; var$9 = var$2 + 1 | 0; var$10 = var$1.$get(var$2); ju_ArrayList_ensureCapacity(var$3, var$3.$size0 + 1 | 0); var$6 = var$3.$array.data; var$2 = var$3.$size0; var$3.$size0 = var$2 + 1 | 0; var$6[var$2] = var$10; var$3.$modCount = var$3.$modCount + 1 | 0; var$2 = var$9; } var$1 = new ju_ConcurrentModificationException; var$1.$suppressionEnabled = 1; var$1.$writableStackTrace = 1; $rt_throw(var$1); } finally { jl_Object_monitorExitSync($rt_cls(nms_IntCache)); } }, nms_IntCache__clinit_ = () => { let var$1; nms_IntCache_intCacheSize = 256; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_IntCache_freeSmallArrays = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_IntCache_inUseSmallArrays = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_IntCache_freeLargeArrays = var$1; var$1 = new ju_ArrayList; var$1.$array = $rt_createArray(jl_Object, 10); nms_IntCache_inUseLargeArrays = var$1; }, nms_RandomPositionGenerator = $rt_classWithoutFields(), nms_RandomPositionGenerator_staticVector = null, nms_RandomPositionGenerator_$callClinit = () => { nms_RandomPositionGenerator_$callClinit = $rt_eraseClinit(nms_RandomPositionGenerator); nms_RandomPositionGenerator__clinit_(); }, nms_RandomPositionGenerator__init_ = $this => { nms_RandomPositionGenerator_$callClinit(); }, nms_RandomPositionGenerator__init_0 = () => { let var_0 = new nms_RandomPositionGenerator(); nms_RandomPositionGenerator__init_(var_0); return var_0; }, nms_RandomPositionGenerator_findRandomTargetBlock = ($par0EntityCreature, $par1, $par2, $par3Vec3) => { let $var4, $var5, $var6, $var7, $var8, $var9, var$11, $var10, var$13, $var11, var$15, var$16, var$17, $var15, var$19, var$20, $var13, $var16, var$23, var$24, var$25, var$26, var$27, var$28, var$29, var$30, $var12, $var17, $var14, var$34; nms_RandomPositionGenerator_$callClinit(); $var4 = $par0EntityCreature.$rand; $var5 = 0; $var6 = 0; $var7 = 0; $var8 = 0; $var9 = (-99999.0); var$11 = $par0EntityCreature.$maximumHomeDistance; if (!(var$11 === (-1.0) ? 0 : 1)) $var10 = 0; else { var$13 = $par0EntityCreature.$homePosition; $var11 = $par0EntityCreature.$posX; var$15 = $var11 | 0; if ($var11 < var$15) var$15 = var$15 - 1 | 0; $var11 = $par0EntityCreature.$posY; var$16 = $var11 | 0; if ($var11 < var$16) var$16 = var$16 - 1 | 0; $var11 = $par0EntityCreature.$posZ; var$17 = $var11 | 0; if ($var11 < var$17) var$17 = var$17 - 1 | 0; $var15 = var$13.$posX0 - var$15 | 0; var$19 = var$13.$posY0 - var$16 | 0; var$20 = var$13.$posZ0 - var$17 | 0; $var11 = $var15 * $var15 + var$19 * var$19 + var$20 * var$20 + 4.0; $var13 = var$11 + $par1; $var10 = $var11 >= $var13 * $var13 ? 0 : 1; } $var16 = 0; var$16 = 2 * $par1 | 0; var$23 = var$16 - 1 | 0; var$24 = var$16 & var$23; var$25 = 2 * $par2 | 0; var$26 = var$25 - 1 | 0; var$27 = var$25 & var$26; var$28 = Long_fromInt(var$16); var$29 = Long_fromInt(var$25); while ($var16 < 10) { var$30 = Long_and(Long_add(Long_mul($var4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4.$seed = var$30; var$17 = Long_lo(Long_shru(var$30, 17)); if (!var$24) var$15 = Long_lo(Long_shr(Long_mul(var$28, Long_fromInt(var$17)), 31)); else while (true) { var$15 = var$17 % var$16 | 0; if (((var$17 - var$15 | 0) + var$23 | 0) >= 0) break; var$30 = Long_and(Long_add(Long_mul($var4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4.$seed = var$30; var$17 = Long_lo(Long_shru(var$30, 17)); } $var12 = var$15 - $par1 | 0; var$30 = Long_and(Long_add(Long_mul($var4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4.$seed = var$30; var$17 = Long_lo(Long_shru(var$30, 17)); if (!var$27) var$15 = Long_lo(Long_shr(Long_mul(var$29, Long_fromInt(var$17)), 31)); else while (true) { var$15 = var$17 % var$25 | 0; if (((var$17 - var$15 | 0) + var$26 | 0) >= 0) break; var$30 = Long_and(Long_add(Long_mul($var4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4.$seed = var$30; var$17 = Long_lo(Long_shru(var$30, 17)); } $var17 = var$15 - $par2 | 0; var$30 = Long_and(Long_add(Long_mul($var4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4.$seed = var$30; var$17 = Long_lo(Long_shru(var$30, 17)); if (!var$24) var$15 = Long_lo(Long_shr(Long_mul(var$28, Long_fromInt(var$17)), 31)); else while (true) { var$15 = var$17 % var$16 | 0; if (((var$17 - var$15 | 0) + var$23 | 0) >= 0) break; var$30 = Long_and(Long_add(Long_mul($var4.$seed, Long_create(3740067437, 5)), Long_fromInt(11)), Long_create(4294967295, 65535)); $var4.$seed = var$30; var$17 = Long_lo(Long_shru(var$30, 17)); } a: { $var14 = var$15 - $par1 | 0; if (!($par3Vec3 !== null && $var12 * $par3Vec3.$xCoord + $var14 * $par3Vec3.$zCoord < 0.0)) { $var13 = $par0EntityCreature.$posX; var$15 = $var13 | 0; if ($var13 < var$15) var$15 = var$15 - 1 | 0; var$34 = $var12 + var$15 | 0; $var13 = $par0EntityCreature.$posY; var$15 = $var13 | 0; if ($var13 < var$15) var$15 = var$15 - 1 | 0; $var12 = $var17 + var$15 | 0; $var11 = $par0EntityCreature.$posZ; var$15 = $var11 | 0; if ($var11 < var$15) var$15 = var$15 - 1 | 0; var$17 = $var14 + var$15 | 0; if ($var10) { var$19 = $par0EntityCreature.$maximumHomeDistance; if (var$19 === (-1.0)) var$15 = 1; else { var$13 = $par0EntityCreature.$homePosition; $var15 = var$13.$posX0 - var$34 | 0; var$20 = var$13.$posY0 - $var12 | 0; var$11 = var$13.$posZ0 - var$17 | 0; var$15 = $var15 * $var15 + var$20 * var$20 + var$11 * var$11 >= var$19 * var$19 ? 0 : 1; } if (!var$15) break a; } $var15 = $par0EntityCreature.$getBlockPathWeight(var$34, $var12, var$17); if ($var15 > $var9) { $var5 = 1; $var9 = $var15; $var6 = var$34; $var7 = $var12; $var8 = var$17; } } } $var16 = $var16 + 1 | 0; } if (!$var5) return null; return nms_Vec3Pool_getVecFromPool($par0EntityCreature.$worldObj.$vecPool, $var6, $var7, $var8); }, nms_RandomPositionGenerator__clinit_ = () => { let var$1, var$2; var$1 = new nms_Vec3; var$2 = nms_Vec3_fakePool; var$1.$xCoord = 0.0; var$1.$yCoord = 0.0; var$1.$zCoord = 0.0; var$1.$myVec3LocalPool = var$2; nms_RandomPositionGenerator_staticVector = var$1; }; $rt_packages([-1, "com", 0, "jcraft", 1, "jzlib", -1, "java", 3, "util", 4, "zip", 4, "regex", 4, "stream", 4, "function", 3, "nio", 9, "charset", 10, "impl", 3, "io", 3, "time", 13, "zone", 3, "math", 3, "text", 3, "lang", 17, "annotation", 17, "reflect", -1, "org", 20, "teavm", 21, "jso", 22, "core", 22, "impl", 22, "dom", 25, "html", 22, "webgl", 22, "webaudio", 22, "workers", 21, "classlib", 30, "impl", 31, "reflection", 31, "tz", 31, "unicode", 31, "currency", 21, "interop", 21, "runtime", 21, "platform", 38, "metadata", 20, "json", -1, "net", 41, "minecraft", 42, "src", 41, "lax1dude", 44, "eaglercraft", 45, "adapter", 46, "vfs", 46, "teavm", 45, "glemu", 45, "sp", 50, "relay", 51, "pkt", 50, "ipc" ]); $rt_metadata([jl_Object, "Object", 17, 0, [], 0, 3, 0, 0, ["$hashCode", $rt_wrapFunction0(jl_Object_hashCode), "$equals", $rt_wrapFunction1(jl_Object_equals), "$toString", $rt_wrapFunction0(jl_Object_toString)], nle_Client, 0, jl_Object, [], 0, 3, 0, nle_Client_$callClinit, 0, jlr_AnnotatedElement, 0, jl_Object, [], 3, 3, 0, 0, 0, jlr_Type, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_Class, "Class", 17, jl_Object, [jlr_AnnotatedElement, jlr_Type], 0, 3, 0, 0, ["$toString", $rt_wrapFunction0(jl_Class_toString)], otji_JS, 0, jl_Object, [], 4, 0, 0, 0, 0, otp_Platform, 0, jl_Object, [], 4, 3, 0, 0, 0, jl_Throwable, "Throwable", 17, jl_Object, [], 0, 3, 0, 0, ["$getMessage", $rt_wrapFunction0(jl_Throwable_getMessage), "$toString", $rt_wrapFunction0(jl_Throwable_toString)], jl_Exception, "Exception", 17, jl_Throwable, [], 0, 3, 0, 0, 0, jl_RuntimeException, "RuntimeException", 17, jl_Exception, [], 0, 3, 0, 0, 0, jl_ClassCastException, "ClassCastException", 17, jl_RuntimeException, [], 0, 3, 0, 0, 0, ji_Serializable, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_Comparable, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_CharSequence, "CharSequence", 17, jl_Object, [], 3, 3, 0, 0, 0, jl_String, "String", 17, jl_Object, [ji_Serializable, jl_Comparable, jl_CharSequence], 0, 3, 0, 0, ["$charAt", $rt_wrapFunction1(jl_String_charAt), "$length", $rt_wrapFunction0(jl_String_length), "$toString", $rt_wrapFunction0(jl_String_toString), "$equals", $rt_wrapFunction1(jl_String_equals), "$hashCode", $rt_wrapFunction0(jl_String_hashCode), "$compareTo1", $rt_wrapFunction1(jl_String_compareTo)], jl_Number, "Number", 17, jl_Object, [ji_Serializable], 1, 3, 0, 0, 0, jl_Integer, "Integer", 17, jl_Number, [jl_Comparable], 0, 3, 0, 0, ["$intValue", $rt_wrapFunction0(jl_Integer_intValue), "$longValue", $rt_wrapFunction0(jl_Integer_longValue), "$doubleValue", $rt_wrapFunction0(jl_Integer_doubleValue), "$toString", $rt_wrapFunction0(jl_Integer_toString), "$hashCode", $rt_wrapFunction0(jl_Integer_hashCode0), "$equals", $rt_wrapFunction1(jl_Integer_equals), "$compareTo1", $rt_wrapFunction1(jl_Integer_compareTo)], jl_AbstractStringBuilder, 0, jl_Object, [ji_Serializable, jl_CharSequence], 0, 0, 0, 0, ["$ensureCapacity", $rt_wrapFunction1(jl_AbstractStringBuilder_ensureCapacity), "$toString", $rt_wrapFunction0(jl_AbstractStringBuilder_toString)], jl_Appendable, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_StringBuilder, "StringBuilder", 17, jl_AbstractStringBuilder, [jl_Appendable], 0, 3, 0, 0, ["$insert8", $rt_wrapFunction4(jl_StringBuilder_insert4), "$append9", $rt_wrapFunction3(jl_StringBuilder_append4), "$insert1", $rt_wrapFunction4(jl_StringBuilder_insert3), "$append10", $rt_wrapFunction3(jl_StringBuilder_append3), "$charAt", $rt_wrapFunction1(jl_StringBuilder_charAt), "$length", $rt_wrapFunction0(jl_StringBuilder_length), "$toString", $rt_wrapFunction0(jl_StringBuilder_toString), "$ensureCapacity", $rt_wrapFunction1(jl_StringBuilder_ensureCapacity), "$insert2", $rt_wrapFunction2(jl_StringBuilder_insert2), "$insert", $rt_wrapFunction2(jl_StringBuilder_insert0)], oj_JSONObject, "JSONObject", 40, jl_Object, [], 0, 3, 0, oj_JSONObject_$callClinit, ["$toString", $rt_wrapFunction0(oj_JSONObject_toString0)], oj_JSONException, "JSONException", 40, jl_RuntimeException, [], 0, 3, 0, 0, 0, otci_IntegerUtil, 0, jl_Object, [], 4, 3, 0, 0, 0, nms_ServerList, 0, jl_Object, [], 0, 3, 0, nms_ServerList_$callClinit, 0, nlea_EaglerAdapterImpl2, 0, jl_Object, [], 0, 3, 0, nlea_EaglerAdapterImpl2_$callClinit, 0, nle_LocalStorageManager, 0, jl_Object, [], 0, 3, 0, 0, 0, oj_JSONTokener, "JSONTokener", 40, jl_Object, [], 0, 3, 0, 0, 0, nle_AssetRepository, 0, jl_Object, [], 0, 3, 0, 0, 0, ju_Comparator, "Comparator", 4, jl_Object, [], 3, 3, 0, 0, 0, jl_String$_clinit_$lambda$_115_0, 0, jl_Object, [ju_Comparator], 0, 3, 0, 0, 0, jl_Character, "Character", 17, jl_Object, [jl_Comparable], 0, 3, 0, 0, ["$toString", $rt_wrapFunction0(jl_Character_toString), "$equals", $rt_wrapFunction1(jl_Character_equals), "$hashCode", $rt_wrapFunction0(jl_Character_hashCode), "$compareTo1", $rt_wrapFunction1(jl_Character_compareTo)], otji_JSWrapper, "JSWrapper", 24, jl_Object, [], 4, 3, 0, otji_JSWrapper_$callClinit, ["$hashCode", $rt_wrapFunction0(otji_JSWrapper_hashCode), "$equals", $rt_wrapFunction1(otji_JSWrapper_equals), "$toString", $rt_wrapFunction0(otji_JSWrapper_toString)], otj_JSObject, "JSObject", 22, jl_Object, [], 3, 3, 0, 0, 0, otjc_JSString, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, nle_Client$WindowErrorHandler, 0, jl_Object, [otj_JSObject], 3, 0, 0, 0, 0, nle_Client$1, 0, jl_Object, [nle_Client$WindowErrorHandler], 0, 0, 0, 0, ["$call$exported$0", function(var_1, var_2, var_3, var_4, var_5) { return nle_Client$1_call$exported$0(this, var_1, var_2, var_3, var_4, var_5); }], nle_BaseNCodec, 0, jl_Object, [], 1, 3, 0, 0, 0, nle_Base64, 0, nle_BaseNCodec, [], 0, 3, 0, 0, 0, nms_CompressedStreamTools, 0, jl_Object, [], 0, 3, 0, 0, 0, ji_IOException, "IOException", 12, jl_Exception, [], 0, 3, 0, 0, 0, nle_ConfigConstants, 0, jl_Object, [], 0, 3, 0, 0, 0, jl_Iterable, "Iterable", 17, jl_Object, [], 3, 3, 0, 0, 0, ju_Collection, "Collection", 4, jl_Object, [jl_Iterable], 3, 3, 0, 0, 0, ju_AbstractCollection, "AbstractCollection", 4, jl_Object, [ju_Collection], 1, 3, 0, 0, ["$contains", $rt_wrapFunction1(ju_AbstractCollection_contains), "$remove", $rt_wrapFunction1(ju_AbstractCollection_remove), "$toString", $rt_wrapFunction0(ju_AbstractCollection_toString)], ju_SequencedCollection, "SequencedCollection", 4, jl_Object, [ju_Collection], 3, 3, 0, 0, 0, ju_List, "List", 4, jl_Object, [ju_SequencedCollection], 3, 3, 0, 0, 0, ju_AbstractList, "AbstractList", 4, ju_AbstractCollection, [ju_List], 1, 3, 0, 0, ["$add", $rt_wrapFunction1(ju_AbstractList_add), "$iterator", $rt_wrapFunction0(ju_AbstractList_iterator), "$add0", $rt_wrapFunction2(ju_AbstractList_add0), "$remove2", $rt_wrapFunction1(ju_AbstractList_remove), "$hashCode", $rt_wrapFunction0(ju_AbstractList_hashCode), "$equals", $rt_wrapFunction1(ju_AbstractList_equals)], jl_Cloneable, 0, jl_Object, [], 3, 3, 0, 0, 0, ju_RandomAccess, 0, jl_Object, [], 3, 3, 0, 0, 0, ju_ArrayList, "ArrayList", 4, ju_AbstractList, [jl_Cloneable, ji_Serializable, ju_RandomAccess], 0, 3, 0, 0, ["$get", $rt_wrapFunction1(ju_ArrayList_get), "$size", $rt_wrapFunction0(ju_ArrayList_size), "$set1", $rt_wrapFunction2(ju_ArrayList_set), "$add", $rt_wrapFunction1(ju_ArrayList_add), "$add0", $rt_wrapFunction2(ju_ArrayList_add0), "$remove2", $rt_wrapFunction1(ju_ArrayList_remove), "$remove", $rt_wrapFunction1(ju_ArrayList_remove0), "$toString", $rt_wrapFunction0(ju_ArrayList_toString), "$hashCode", $rt_wrapFunction0(ju_ArrayList_hashCode)]]); $rt_metadata([nms_NBTBase, "NBTBase", 43, jl_Object, [], 1, 3, 0, 0, ["$equals", $rt_wrapFunction1(nms_NBTBase_equals), "$hashCode", $rt_wrapFunction0(nms_NBTBase_hashCode)], nms_NBTTagString, "NBTTagString", 43, nms_NBTBase, [], 0, 3, 0, 0, ["$write5", $rt_wrapFunction1(nms_NBTTagString_write), "$load", $rt_wrapFunction2(nms_NBTTagString_load), "$getId", $rt_wrapFunction0(nms_NBTTagString_getId), "$toString", $rt_wrapFunction0(nms_NBTTagString_toString), "$copy", $rt_wrapFunction0(nms_NBTTagString_copy), "$equals", $rt_wrapFunction1(nms_NBTTagString_equals), "$hashCode", $rt_wrapFunction0(nms_NBTTagString_hashCode)], nle_RelayEntry, "RelayEntry", 45, jl_Object, [], 0, 3, 0, 0, 0, nms_NBTTagCompound, "NBTTagCompound", 43, nms_NBTBase, [], 0, 3, 0, 0, ["$write5", $rt_wrapFunction1(nms_NBTTagCompound_write), "$load", $rt_wrapFunction2(nms_NBTTagCompound_load), "$getId", $rt_wrapFunction0(nms_NBTTagCompound_getId), "$toString", $rt_wrapFunction0(nms_NBTTagCompound_toString), "$copy", $rt_wrapFunction0(nms_NBTTagCompound_copy), "$equals", $rt_wrapFunction1(nms_NBTTagCompound_equals), "$hashCode", $rt_wrapFunction0(nms_NBTTagCompound_hashCode)], nms_ServerData, "ServerData", 43, jl_Object, [], 0, 3, 0, 0, ["$hashCode", $rt_wrapFunction0(nms_ServerData_hashCode), "$equals", $rt_wrapFunction1(nms_ServerData_equals)], jl_System, 0, jl_Object, [], 4, 3, 0, 0, 0, nms_Minecraft, "Minecraft", 43, jl_Object, [], 0, 3, 0, 0, 0, otjde_EventListener, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$3, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$3_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$4, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$4_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$5, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$5_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$6, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$6_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$7, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$7_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$8, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$8_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$9, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$9_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$10, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$10_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$11, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$11_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$12, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$12_handleEvent$exported$0)], nle_EarlyLoadScreen, 0, jl_Object, [], 0, 3, 0, 0, 0, otjb_TimerHandler, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$13, 0, jl_Object, [otjb_TimerHandler], 0, 0, 0, 0, ["$onTimer$exported$0", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$13_onTimer$exported$0)], nleat_SelfDefence, 0, jl_Object, [], 0, 3, 0, 0, 0, otj_JSExceptions, 0, jl_Object, [], 4, 3, 0, 0, 0, nle_EaglerProfile, 0, jl_Object, [], 0, 3, 0, nle_EaglerProfile_$callClinit, 0, jl_AutoCloseable, 0, jl_Object, [], 3, 3, 0, 0, 0, ji_Closeable, 0, jl_Object, [jl_AutoCloseable], 3, 3, 0, 0, 0, jl_Readable, 0, jl_Object, [], 3, 3, 0, 0, 0, ji_Reader, 0, jl_Object, [ji_Closeable, jl_Readable], 1, 3, 0, 0, 0, ji_StringReader, 0, ji_Reader, [], 0, 3, 0, 0, ["$read", $rt_wrapFunction0(ji_StringReader_read0), "$read3", $rt_wrapFunction3(ji_StringReader_read), "$close", $rt_wrapFunction0(ji_StringReader_close)], jur_Pattern, 0, jl_Object, [ji_Serializable], 4, 3, 0, 0, 0, oj_JSONObject$Null, "JSONObject$Null", 40, jl_Object, [], 4, 0, 0, 0, ["$equals", $rt_wrapFunction1(oj_JSONObject$Null_equals), "$hashCode", $rt_wrapFunction0(oj_JSONObject$Null_hashCode), "$toString", $rt_wrapFunction0(oj_JSONObject$Null_toString)], ju_Objects, 0, jl_Object, [], 4, 3, 0, 0, 0, nle_EaglercraftRandom, "EaglercraftRandom", 45, jl_Object, [], 0, 3, 0, 0, 0, ji_InputStream, "InputStream", 12, jl_Object, [ji_Closeable], 1, 3, 0, 0, ["$read1", $rt_wrapFunction1(ji_InputStream_read), "$read0", $rt_wrapFunction3(ji_InputStream_read0), "$available", $rt_wrapFunction0(ji_InputStream_available), "$close", $rt_wrapFunction0(ji_InputStream_close)], ji_FilterInputStream, 0, ji_InputStream, [], 0, 3, 0, 0, ["$read1", $rt_wrapFunction1(ji_FilterInputStream_read0)], ji_DataInput, "DataInput", 12, jl_Object, [], 3, 3, 0, 0, 0, ji_DataInputStream, "DataInputStream", 12, ji_FilterInputStream, [ji_DataInput], 0, 3, 0, 0, 0, ji_BufferedInputStream, 0, ji_FilterInputStream, [], 0, 3, 0, 0, ["$available", $rt_wrapFunction0(ji_BufferedInputStream_available), "$close", $rt_wrapFunction0(ji_BufferedInputStream_close), "$read", $rt_wrapFunction0(ji_BufferedInputStream_read0), "$read0", $rt_wrapFunction3(ji_BufferedInputStream_read)], ji_ByteArrayInputStream, 0, ji_InputStream, [], 0, 3, 0, 0, ["$read", $rt_wrapFunction0(ji_ByteArrayInputStream_read), "$read0", $rt_wrapFunction3(ji_ByteArrayInputStream_read0), "$available", $rt_wrapFunction0(ji_ByteArrayInputStream_available), "$close", $rt_wrapFunction0(ji_ByteArrayInputStream_close)], nms_NBTTagList, "NBTTagList", 43, nms_NBTBase, [], 0, 3, 0, 0, ["$write5", $rt_wrapFunction1(nms_NBTTagList_write), "$load", $rt_wrapFunction2(nms_NBTTagList_load), "$getId", $rt_wrapFunction0(nms_NBTTagList_getId), "$toString", $rt_wrapFunction0(nms_NBTTagList_toString), "$copy", $rt_wrapFunction0(nms_NBTTagList_copy), "$equals", $rt_wrapFunction1(nms_NBTTagList_equals), "$hashCode", $rt_wrapFunction0(nms_NBTTagList_hashCode)], ji_Flushable, 0, jl_Object, [], 3, 3, 0, 0, 0, ji_OutputStream, "OutputStream", 12, jl_Object, [ji_Closeable, ji_Flushable], 1, 3, 0, 0, ["$close", $rt_wrapFunction0(ji_OutputStream_close), "$flush", $rt_wrapFunction0(ji_OutputStream_flush)], ji_FilterOutputStream, 0, ji_OutputStream, [], 0, 3, 0, 0, 0, ji_PrintStream, "PrintStream", 12, ji_FilterOutputStream, [jl_Appendable], 0, 3, 0, 0, 0, otcic_JsConsolePrintStream, 0, ji_PrintStream, [], 1, 3, 0, 0, 0, otcic_JSStdoutPrintStream, 0, otcic_JsConsolePrintStream, [], 0, 3, 0, 0, ["$print", $rt_wrapFunction1(otcic_JSStdoutPrintStream_print)], nms_Timer, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_SoundManager, 0, jl_Object, [], 0, 3, 0, nms_SoundManager_$callClinit, 0, ju_Set, "Set", 4, jl_Object, [ju_Collection], 3, 3, 0, 0, 0, ju_AbstractSet, "AbstractSet", 4, ju_AbstractCollection, [ju_Set], 1, 3, 0, 0, ["$equals", $rt_wrapFunction1(ju_AbstractSet_equals), "$hashCode", $rt_wrapFunction0(ju_AbstractSet_hashCode)]]); $rt_metadata([ju_HashSet, "HashSet", 4, ju_AbstractSet, [jl_Cloneable, ji_Serializable], 0, 3, 0, 0, ["$add", $rt_wrapFunction1(ju_HashSet_add), "$contains", $rt_wrapFunction1(ju_HashSet_contains), "$iterator", $rt_wrapFunction0(ju_HashSet_iterator), "$size", $rt_wrapFunction0(ju_HashSet_size)], nms_Packet, "Packet", 43, jl_Object, [], 1, 3, 0, nms_Packet_$callClinit, 0, nms_Packet3Chat, "Packet3Chat", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet3Chat_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet3Chat_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet3Chat_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet3Chat_getPacketSize)], ju_AbstractSequentialList, "AbstractSequentialList", 4, ju_AbstractList, [], 1, 3, 0, 0, ["$get", $rt_wrapFunction1(ju_AbstractSequentialList_get), "$set1", $rt_wrapFunction2(ju_AbstractSequentialList_set), "$add0", $rt_wrapFunction2(ju_AbstractSequentialList_add), "$remove2", $rt_wrapFunction1(ju_AbstractSequentialList_remove), "$iterator", $rt_wrapFunction0(ju_AbstractSequentialList_iterator)], ju_Queue, 0, jl_Object, [ju_Collection], 3, 3, 0, 0, 0, ju_Deque, "Deque", 4, jl_Object, [ju_Queue, ju_SequencedCollection], 3, 3, 0, 0, 0, ju_LinkedList, "LinkedList", 4, ju_AbstractSequentialList, [ju_Deque], 0, 3, 0, 0, ["$size", $rt_wrapFunction0(ju_LinkedList_size)], ju_Map, "Map", 4, jl_Object, [], 3, 3, 0, 0, 0, ju_AbstractMap, "AbstractMap", 4, jl_Object, [ju_Map], 1, 3, 0, 0, ["$equals", $rt_wrapFunction1(ju_AbstractMap_equals), "$hashCode", $rt_wrapFunction0(ju_AbstractMap_hashCode), "$toString", $rt_wrapFunction0(ju_AbstractMap_toString)], ju_HashMap, "HashMap", 4, ju_AbstractMap, [jl_Cloneable, ji_Serializable], 0, 3, 0, 0, ["$newElementArray", $rt_wrapFunction1(ju_HashMap_newElementArray)], jt_Format, 0, jl_Object, [ji_Serializable, jl_Cloneable], 1, 3, 0, 0, 0, jt_DateFormat, 0, jt_Format, [], 1, 3, 0, 0, 0, jt_SimpleDateFormat, 0, jt_DateFormat, [], 0, 3, 0, 0, 0, nle_ExpiringSet, 0, ju_HashSet, [], 0, 3, 0, 0, 0, nle_ExpiringSet$ExpiringEvent, 0, jl_Object, [], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$31, 0, jl_Object, [nle_ExpiringSet$ExpiringEvent], 0, 0, 0, 0, 0, nleg_EaglerAdapterGL30, 0, nlea_EaglerAdapterImpl2, [], 0, 3, 0, nleg_EaglerAdapterGL30_$callClinit, 0, nms_GLAllocation, 0, jl_Object, [], 0, 3, 0, 0, 0, nle_EaglerImage, "EaglerImage", 45, jl_Object, [], 0, 3, 0, 0, 0, jn_Buffer, "Buffer", 9, jl_Object, [], 1, 3, 0, 0, 0, jn_IntBuffer, "IntBuffer", 9, jn_Buffer, [jl_Comparable], 1, 3, 0, 0, 0, jl_Float, "Float", 17, jl_Number, [jl_Comparable], 0, 3, 0, 0, ["$intValue", $rt_wrapFunction0(jl_Float_intValue), "$longValue", $rt_wrapFunction0(jl_Float_longValue), "$doubleValue", $rt_wrapFunction0(jl_Float_doubleValue), "$toString", $rt_wrapFunction0(jl_Float_toString), "$equals", $rt_wrapFunction1(jl_Float_equals), "$hashCode", $rt_wrapFunction0(jl_Float_hashCode), "$compareTo1", $rt_wrapFunction1(jl_Float_compareTo)], nleat_SelfDefence$NewWindowCallback, 0, jl_Object, [otj_JSObject], 3, 0, 0, 0, 0, nleat_SelfDefence$2, 0, jl_Object, [nleat_SelfDefence$NewWindowCallback], 0, 0, 0, 0, ["$call$exported$00", $rt_wrapFunction1(nleat_SelfDefence$2_call$exported$0)], nleat_SelfDefence$1, 0, jl_Object, [otjb_TimerHandler], 0, 0, 0, 0, ["$onTimer$exported$0", $rt_wrapFunction0(nleat_SelfDefence$1_onTimer$exported$0)], jl_Math, 0, jl_Object, [], 4, 3, 0, 0, 0, otcic_JSStderrPrintStream, 0, otcic_JsConsolePrintStream, [], 0, 3, 0, 0, ["$print", $rt_wrapFunction1(otcic_JSStderrPrintStream_print)], nle_EaglerInputStream, 0, ji_InputStream, [], 0, 3, 0, 0, ["$read", $rt_wrapFunction0(nle_EaglerInputStream_read), "$read0", $rt_wrapFunction3(nle_EaglerInputStream_read0), "$skip", $rt_wrapFunction1(nle_EaglerInputStream_skip), "$available", $rt_wrapFunction0(nle_EaglerInputStream_available), "$close", $rt_wrapFunction0(nle_EaglerInputStream_close)], nlea_DetectAnisotropicGlitch, 0, jl_Object, [], 0, 3, 0, 0, 0, otjdx_Node, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, jl_NullPointerException, "NullPointerException", 17, jl_RuntimeException, [], 0, 3, 0, 0, 0, ji_BufferedReader, 0, ji_Reader, [], 0, 3, 0, 0, ["$read", $rt_wrapFunction0(ji_BufferedReader_read)], oj_JSONArray, "JSONArray", 40, jl_Object, [jl_Iterable], 0, 3, 0, 0, ["$iterator", $rt_wrapFunction0(oj_JSONArray_iterator), "$toString", $rt_wrapFunction0(oj_JSONArray_toString0)], jl_IndexOutOfBoundsException, "IndexOutOfBoundsException", 17, jl_RuntimeException, [], 0, 3, 0, 0, 0, otjc_JSWeakRef, "JSWeakRef", 23, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, otjc_JSFinalizationRegistryConsumer, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, otji_JSWrapper$_clinit_$lambda$_33_0, 0, jl_Object, [otjc_JSFinalizationRegistryConsumer], 0, 3, 0, 0, ["$accept$exported$0", $rt_wrapFunction1(otji_JSWrapper$_clinit_$lambda$_33_0_accept$exported$0)], otji_JSWrapper$_clinit_$lambda$_33_1, 0, jl_Object, [otjc_JSFinalizationRegistryConsumer], 0, 3, 0, 0, ["$accept$exported$0", $rt_wrapFunction1(otji_JSWrapper$_clinit_$lambda$_33_1_accept$exported$0)], ju_Arrays, 0, jl_Object, [], 0, 3, 0, 0, 0, jl_IllegalArgumentException, "IllegalArgumentException", 17, jl_RuntimeException, [], 0, 3, 0, 0, 0, ju_Locale, "Locale", 4, jl_Object, [jl_Cloneable, ji_Serializable], 4, 3, 0, ju_Locale_$callClinit, ["$equals", $rt_wrapFunction1(ju_Locale_equals), "$hashCode", $rt_wrapFunction0(ju_Locale_hashCode)], nlea_EaglerAdapterImpl2$FramebufferGL, 0, jl_Object, [], 4, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$RenderbufferGL, 0, jl_Object, [], 4, 3, 0, 0, 0, nleat_MessageChannel, "MessageChannel", 48, jl_Object, [otj_JSObject], 0, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$19, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$19_handleEvent$exported$0)], jl_Runnable, 0, jl_Object, [], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$checkImmediateContinueSupport0$lambda$_205_0, 0, jl_Object, [jl_Runnable], 0, 3, 0, 0, ["$run", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$checkImmediateContinueSupport0$lambda$_205_0_run)], nlea_EaglerAdapterImpl2$TextureGL, "EaglerAdapterImpl2$TextureGL", 46, jl_Object, [], 4, 3, 0, 0, 0, nleat_TeaVMUtils, 0, jl_Object, [], 0, 3, 0, 0, 0, nleat_BufferConverter, 0, jl_Object, [], 0, 3, 0, 0, 0]); $rt_metadata([nlea_EaglerAdapterImpl2$BufferGL, "EaglerAdapterImpl2$BufferGL", 46, jl_Object, [], 4, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$ShaderGL, 0, jl_Object, [], 4, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$ProgramGL, 0, jl_Object, [], 4, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$UniformGL, 0, jl_Object, [], 4, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$BufferArrayGL, "EaglerAdapterImpl2$BufferArrayGL", 46, jl_Object, [], 4, 3, 0, 0, 0, oti_AsyncCallback, "AsyncCallback", 36, jl_Object, [], 3, 3, 0, 0, 0, otpp_AsyncCallbackWrapper, 0, jl_Object, [oti_AsyncCallback], 0, 0, 0, 0, ["$complete", $rt_wrapFunction1(otpp_AsyncCallbackWrapper_complete), "$error", $rt_wrapFunction1(otpp_AsyncCallbackWrapper_error)], otja_ReadyStateChangeHandler, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$1, 0, jl_Object, [otja_ReadyStateChangeHandler], 0, 0, 0, 0, ["$stateChanged$exported$0", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$1_stateChanged$exported$0)], otp_PlatformRunnable, 0, jl_Object, [], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$DumbSleepHandler, 0, jl_Object, [otp_PlatformRunnable], 0, 0, 0, 0, ["$run", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$DumbSleepHandler_run)], otjb_AnimationFrameCallback, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$asyncRequestAnimationFrame$lambda$_198_0, 0, jl_Object, [otjb_AnimationFrameCallback], 0, 3, 0, 0, ["$onAnimationFrame$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$asyncRequestAnimationFrame$lambda$_198_0_onAnimationFrame$exported$0)], nlea_EaglerAdapterImpl2$asyncRequestAnimationFrame$lambda$_198_1, 0, jl_Object, [otjb_TimerHandler], 0, 3, 0, 0, ["$onTimer$exported$0", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$asyncRequestAnimationFrame$lambda$_198_1_onTimer$exported$0)], jl_IllegalStateException, "IllegalStateException", 17, jl_RuntimeException, [], 0, 3, 0, 0, 0, cjj_InflaterInputStream, 0, ji_FilterInputStream, [], 0, 3, 0, 0, ["$read", $rt_wrapFunction0(cjj_InflaterInputStream_read0), "$read0", $rt_wrapFunction3(cjj_InflaterInputStream_read), "$available", $rt_wrapFunction0(cjj_InflaterInputStream_available), "$skip", $rt_wrapFunction1(cjj_InflaterInputStream_skip), "$close", $rt_wrapFunction0(cjj_InflaterInputStream_close)], cjj_GZIPInputStream, 0, cjj_InflaterInputStream, [], 0, 3, 0, 0, 0, cjj_Checksum, 0, jl_Object, [], 3, 0, 0, 0, 0, cjj_CRC32, 0, jl_Object, [cjj_Checksum], 4, 3, 0, 0, ["$update", $rt_wrapFunction3(cjj_CRC32_update), "$reset", $rt_wrapFunction0(cjj_CRC32_reset), "$reset0", $rt_wrapFunction1(cjj_CRC32_reset0), "$getValue0", $rt_wrapFunction0(cjj_CRC32_getValue)], nle_GeneralDigest, 0, jl_Object, [], 1, 3, 0, 0, 0, nle_SHA1Digest, 0, nle_GeneralDigest, [], 0, 3, 0, 0, 0, nms_Gui, "Gui", 43, jl_Object, [], 0, 3, 0, nms_Gui_$callClinit, 0, nms_GuiScreen, "GuiScreen", 43, nms_Gui, [], 0, 3, 0, nms_GuiScreen_$callClinit, ["$keyTyped", $rt_wrapFunction2(nms_GuiScreen_keyTyped), "$mouseClicked", $rt_wrapFunction3(nms_GuiScreen_mouseClicked), "$mouseMovedOrUp", $rt_wrapFunction3(nms_GuiScreen_mouseMovedOrUp), "$actionPerformed", $rt_wrapFunction1(nms_GuiScreen_actionPerformed), "$initGui", $rt_wrapFunction0(nms_GuiScreen_initGui), "$handleMouseInput", $rt_wrapFunction0(nms_GuiScreen_handleMouseInput), "$updateScreen", $rt_wrapFunction0(nms_GuiScreen_updateScreen), "$onGuiClosed", $rt_wrapFunction0(nms_GuiScreen_onGuiClosed), "$doesGuiPauseGame", $rt_wrapFunction0(nms_GuiScreen_doesGuiPauseGame)], nle_GuiScreenEditProfile, 0, nms_GuiScreen, [], 0, 3, 0, nle_GuiScreenEditProfile_$callClinit, ["$initGui", $rt_wrapFunction0(nle_GuiScreenEditProfile_initGui), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenEditProfile_drawScreen), "$handleMouseInput", $rt_wrapFunction0(nle_GuiScreenEditProfile_handleMouseInput), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenEditProfile_actionPerformed), "$updateScreen", $rt_wrapFunction0(nle_GuiScreenEditProfile_updateScreen), "$onGuiClosed", $rt_wrapFunction0(nle_GuiScreenEditProfile_onGuiClosed), "$keyTyped", $rt_wrapFunction2(nle_GuiScreenEditProfile_keyTyped), "$mouseClicked", $rt_wrapFunction3(nle_GuiScreenEditProfile_mouseClicked)], ji_ByteArrayOutputStream, 0, ji_OutputStream, [], 0, 3, 0, 0, ["$write1", $rt_wrapFunction1(ji_ByteArrayOutputStream_write0), "$write4", $rt_wrapFunction3(ji_ByteArrayOutputStream_write)], ji_DataOutput, "DataOutput", 12, jl_Object, [], 3, 3, 0, 0, 0, ji_DataOutputStream, "DataOutputStream", 12, ji_FilterOutputStream, [ji_DataOutput], 0, 3, 0, 0, ["$write4", $rt_wrapFunction3(ji_DataOutputStream_write)], jnc_Charset, "Charset", 10, jl_Object, [jl_Comparable], 1, 3, 0, 0, ["$compareTo1", $rt_wrapFunction1(jnc_Charset_compareTo)], jur_AbstractSet, "AbstractSet", 6, jl_Object, [], 1, 0, 0, 0, ["$find0", $rt_wrapFunction3(jur_AbstractSet_find), "$findBack", $rt_wrapFunction4(jur_AbstractSet_findBack), "$getType0", $rt_wrapFunction0(jur_AbstractSet_getType), "$toString", $rt_wrapFunction0(jur_AbstractSet_toString), "$setNext", $rt_wrapFunction1(jur_AbstractSet_setNext), "$first", $rt_wrapFunction1(jur_AbstractSet_first), "$processBackRefReplacement", $rt_wrapFunction0(jur_AbstractSet_processBackRefReplacement), "$processSecondPass", $rt_wrapFunction0(jur_AbstractSet_processSecondPass)], ju_Arrays$ArrayAsList, "Arrays$ArrayAsList", 4, ju_AbstractList, [ju_RandomAccess], 0, 0, 0, 0, ["$get", $rt_wrapFunction1(ju_Arrays$ArrayAsList_get), "$size", $rt_wrapFunction0(ju_Arrays$ArrayAsList_size)], jt_DateFormatSymbols, "DateFormatSymbols", 16, jl_Object, [ji_Serializable, jl_Cloneable], 0, 3, 0, 0, 0, nleg_GLObjectMap, 0, jl_Object, [], 0, 3, 0, 0, 0, nlegv_Matrix, 0, jl_Object, [ji_Serializable], 1, 3, 0, 0, 0, nlegv_Matrix4f, 0, nlegv_Matrix, [ji_Serializable], 0, 3, 0, 0, 0, nlegv_ReadableVector, 0, jl_Object, [], 3, 3, 0, 0, 0, nlegv_Vector, 0, jl_Object, [ji_Serializable, nlegv_ReadableVector], 1, 3, 0, 0, 0, nlegv_ReadableVector2f, 0, jl_Object, [nlegv_ReadableVector], 3, 3, 0, 0, 0, nlegv_ReadableVector3f, 0, jl_Object, [nlegv_ReadableVector2f], 3, 3, 0, 0, 0, nlegv_WritableVector2f, 0, jl_Object, [], 3, 3, 0, 0, 0, nlegv_WritableVector3f, 0, jl_Object, [nlegv_WritableVector2f], 3, 3, 0, 0, 0, nlegv_Vector3f, 0, nlegv_Vector, [ji_Serializable, nlegv_ReadableVector3f, nlegv_WritableVector3f], 0, 3, 0, 0, 0, nlegv_ReadableVector4f, 0, jl_Object, [nlegv_ReadableVector3f], 3, 3, 0, 0, 0, nlegv_WritableVector4f, 0, jl_Object, [nlegv_WritableVector3f], 3, 3, 0, 0, 0, nlegv_Vector4f, 0, nlegv_Vector, [ji_Serializable, nlegv_ReadableVector4f, nlegv_WritableVector4f], 0, 3, 0, 0, 0, jn_ByteBuffer, "ByteBuffer", 9, jn_Buffer, [jl_Comparable], 1, 3, 0, 0, ["$toString", $rt_wrapFunction0(jn_ByteBuffer_toString), "$hashCode", $rt_wrapFunction0(jn_ByteBuffer_hashCode), "$equals", $rt_wrapFunction1(jn_ByteBuffer_equals), "$compareTo1", $rt_wrapFunction1(jn_ByteBuffer_compareTo0)], jn_ByteOrder, "ByteOrder", 9, jl_Object, [], 4, 3, 0, 0, 0, ji_EOFException, "EOFException", 12, ji_IOException, [], 0, 3, 0, 0, 0, jl_UnsupportedOperationException, "UnsupportedOperationException", 17, jl_RuntimeException, [], 0, 3, 0, 0, 0, jnc_Charset$Charsets, 0, jl_Object, [], 0, 0, 0, jnc_Charset$Charsets_$callClinit, 0, jnc_UnsupportedCharsetException, "UnsupportedCharsetException", 10, jl_IllegalArgumentException, [], 0, 3, 0, 0, 0]); $rt_metadata([jur_FSet, "FSet", 6, jur_AbstractSet, [], 0, 0, 0, jur_FSet_$callClinit, ["$matches", $rt_wrapFunction3(jur_FSet_matches), "$getName", $rt_wrapFunction0(jur_FSet_getName), "$hasConsumed", $rt_wrapFunction1(jur_FSet_hasConsumed)], jur_Lexer, 0, jl_Object, [], 0, 0, 0, 0, 0, jur_PatternSyntaxException, "PatternSyntaxException", 6, jl_IllegalArgumentException, [], 0, 3, 0, 0, ["$getMessage", $rt_wrapFunction0(jur_PatternSyntaxException_getMessage)], nlea_EaglerAdapterImpl2$2, 0, jl_Object, [otja_ReadyStateChangeHandler], 0, 0, 0, 0, ["$stateChanged$exported$0", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$2_stateChanged$exported$0)], nms_NBTTagEnd, "NBTTagEnd", 43, nms_NBTBase, [], 0, 3, 0, 0, ["$load", $rt_wrapFunction2(nms_NBTTagEnd_load), "$write5", $rt_wrapFunction1(nms_NBTTagEnd_write), "$getId", $rt_wrapFunction0(nms_NBTTagEnd_getId), "$toString", $rt_wrapFunction0(nms_NBTTagEnd_toString), "$copy", $rt_wrapFunction0(nms_NBTTagEnd_copy)], otciu_CLDRHelper, 0, jl_Object, [], 4, 3, 0, 0, 0, otpp_ResourceAccessor, 0, jl_Object, [], 4, 0, 0, 0, 0, nlea_EaglerAdapterImpl2$14, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$14_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$15, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$15_handleEvent$exported$0)], jn_ByteBufferImpl, "ByteBufferImpl", 9, jn_ByteBuffer, [], 0, 0, 0, 0, 0, jn_IntBufferImpl, 0, jn_IntBuffer, [], 1, 0, 0, 0, 0, jn_IntBufferOverArray, 0, jn_IntBufferImpl, [], 0, 0, 0, 0, ["$getElement0", $rt_wrapFunction1(jn_IntBufferOverArray_getElement), "$putElement", $rt_wrapFunction2(jn_IntBufferOverArray_putElement), "$isArrayPresent", $rt_wrapFunction0(jn_IntBufferOverArray_isArrayPresent), "$getArray", $rt_wrapFunction0(jn_IntBufferOverArray_getArray), "$readOnly", $rt_wrapFunction0(jn_IntBufferOverArray_readOnly)], cjj_ZStream, 0, jl_Object, [], 128, 3, 0, 0, 0, cjj_Inflater, 0, cjj_ZStream, [], 4, 3, 0, 0, 0, nle_TextureLocation, "TextureLocation", 45, jl_Object, [], 0, 3, 0, 0, 0, jnc_IllegalCharsetNameException, "IllegalCharsetNameException", 10, jl_IllegalArgumentException, [], 0, 3, 0, 0, 0, jn_CharBuffer, "CharBuffer", 9, jn_Buffer, [jl_Comparable, jl_Appendable, jl_CharSequence, jl_Readable], 1, 3, 0, 0, 0, jur_NonCapFSet, "NonCapFSet", 6, jur_FSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_NonCapFSet_matches), "$getName", $rt_wrapFunction0(jur_NonCapFSet_getName), "$hasConsumed", $rt_wrapFunction1(jur_NonCapFSet_hasConsumed)], jur_AheadFSet, "AheadFSet", 6, jur_FSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_AheadFSet_matches), "$getName", $rt_wrapFunction0(jur_AheadFSet_getName)], jur_BehindFSet, "BehindFSet", 6, jur_FSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_BehindFSet_matches), "$getName", $rt_wrapFunction0(jur_BehindFSet_getName)], jur_AtomicFSet, "AtomicFSet", 6, jur_FSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_AtomicFSet_matches), "$getName", $rt_wrapFunction0(jur_AtomicFSet_getName), "$hasConsumed", $rt_wrapFunction1(jur_AtomicFSet_hasConsumed)], jur_FinalSet, "FinalSet", 6, jur_FSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_FinalSet_matches), "$getName", $rt_wrapFunction0(jur_FinalSet_getName)], jur_LeafSet, "LeafSet", 6, jur_AbstractSet, [], 1, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_LeafSet_matches), "$charCount", $rt_wrapFunction0(jur_LeafSet_charCount), "$hasConsumed", $rt_wrapFunction1(jur_LeafSet_hasConsumed)], jur_EmptySet, "EmptySet", 6, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_EmptySet_accepts), "$find0", $rt_wrapFunction3(jur_EmptySet_find), "$findBack", $rt_wrapFunction4(jur_EmptySet_findBack), "$getName", $rt_wrapFunction0(jur_EmptySet_getName), "$hasConsumed", $rt_wrapFunction1(jur_EmptySet_hasConsumed)], jur_JointSet, "JointSet", 6, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_JointSet_matches), "$setNext", $rt_wrapFunction1(jur_JointSet_setNext), "$getName", $rt_wrapFunction0(jur_JointSet_getName), "$first", $rt_wrapFunction1(jur_JointSet_first), "$hasConsumed", $rt_wrapFunction1(jur_JointSet_hasConsumed), "$processSecondPass", $rt_wrapFunction0(jur_JointSet_processSecondPass)], jur_NonCapJointSet, "NonCapJointSet", 6, jur_JointSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_NonCapJointSet_matches), "$getName", $rt_wrapFunction0(jur_NonCapJointSet_getName), "$hasConsumed", $rt_wrapFunction1(jur_NonCapJointSet_hasConsumed)], jur_AtomicJointSet, "AtomicJointSet", 6, jur_NonCapJointSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_AtomicJointSet_matches), "$setNext", $rt_wrapFunction1(jur_AtomicJointSet_setNext), "$getName", $rt_wrapFunction0(jur_AtomicJointSet_getName)], jur_PositiveLookAhead, "PositiveLookAhead", 6, jur_AtomicJointSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_PositiveLookAhead_matches), "$hasConsumed", $rt_wrapFunction1(jur_PositiveLookAhead_hasConsumed), "$getName", $rt_wrapFunction0(jur_PositiveLookAhead_getName)], jur_NegativeLookAhead, "NegativeLookAhead", 6, jur_AtomicJointSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_NegativeLookAhead_matches), "$hasConsumed", $rt_wrapFunction1(jur_NegativeLookAhead_hasConsumed), "$getName", $rt_wrapFunction0(jur_NegativeLookAhead_getName)], jur_PositiveLookBehind, "PositiveLookBehind", 6, jur_AtomicJointSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_PositiveLookBehind_matches), "$hasConsumed", $rt_wrapFunction1(jur_PositiveLookBehind_hasConsumed), "$getName", $rt_wrapFunction0(jur_PositiveLookBehind_getName)], jur_NegativeLookBehind, "NegativeLookBehind", 6, jur_AtomicJointSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_NegativeLookBehind_matches), "$hasConsumed", $rt_wrapFunction1(jur_NegativeLookBehind_hasConsumed), "$getName", $rt_wrapFunction0(jur_NegativeLookBehind_getName)], jur_SingleSet, "SingleSet", 6, jur_JointSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_SingleSet_matches), "$find0", $rt_wrapFunction3(jur_SingleSet_find), "$findBack", $rt_wrapFunction4(jur_SingleSet_findBack), "$first", $rt_wrapFunction1(jur_SingleSet_first), "$processBackRefReplacement", $rt_wrapFunction0(jur_SingleSet_processBackRefReplacement), "$processSecondPass", $rt_wrapFunction0(jur_SingleSet_processSecondPass)], jl_Enum, "Enum", 17, jl_Object, [jl_Comparable, ji_Serializable], 1, 3, 0, 0, ["$toString", $rt_wrapFunction0(jl_Enum_toString), "$equals", $rt_wrapFunction1(jl_Enum_equals), "$hashCode", $rt_wrapFunction0(jl_Enum_hashCode), "$compareTo1", $rt_wrapFunction1(jl_Enum_compareTo)], nle_BaseNCodec$CodecPolicy, 0, jl_Enum, [], 12, 0, 0, 0, 0, nms_NBTTagByte, "NBTTagByte", 43, nms_NBTBase, [], 0, 3, 0, 0, ["$write5", $rt_wrapFunction1(nms_NBTTagByte_write), "$load", $rt_wrapFunction2(nms_NBTTagByte_load), "$getId", $rt_wrapFunction0(nms_NBTTagByte_getId), "$toString", $rt_wrapFunction0(nms_NBTTagByte_toString), "$copy", $rt_wrapFunction0(nms_NBTTagByte_copy), "$equals", $rt_wrapFunction1(nms_NBTTagByte_equals), "$hashCode", $rt_wrapFunction0(nms_NBTTagByte_hashCode)], nms_NBTTagShort, "NBTTagShort", 43, nms_NBTBase, [], 0, 3, 0, 0, ["$write5", $rt_wrapFunction1(nms_NBTTagShort_write), "$load", $rt_wrapFunction2(nms_NBTTagShort_load), "$getId", $rt_wrapFunction0(nms_NBTTagShort_getId), "$toString", $rt_wrapFunction0(nms_NBTTagShort_toString), "$copy", $rt_wrapFunction0(nms_NBTTagShort_copy), "$equals", $rt_wrapFunction1(nms_NBTTagShort_equals), "$hashCode", $rt_wrapFunction0(nms_NBTTagShort_hashCode)], nms_NBTTagInt, "NBTTagInt", 43, nms_NBTBase, [], 0, 3, 0, 0, ["$write5", $rt_wrapFunction1(nms_NBTTagInt_write), "$load", $rt_wrapFunction2(nms_NBTTagInt_load), "$getId", $rt_wrapFunction0(nms_NBTTagInt_getId), "$toString", $rt_wrapFunction0(nms_NBTTagInt_toString), "$copy", $rt_wrapFunction0(nms_NBTTagInt_copy), "$equals", $rt_wrapFunction1(nms_NBTTagInt_equals), "$hashCode", $rt_wrapFunction0(nms_NBTTagInt_hashCode)], nms_NBTTagLong, "NBTTagLong", 43, nms_NBTBase, [], 0, 3, 0, 0, ["$write5", $rt_wrapFunction1(nms_NBTTagLong_write), "$load", $rt_wrapFunction2(nms_NBTTagLong_load), "$getId", $rt_wrapFunction0(nms_NBTTagLong_getId), "$toString", $rt_wrapFunction0(nms_NBTTagLong_toString), "$copy", $rt_wrapFunction0(nms_NBTTagLong_copy), "$equals", $rt_wrapFunction1(nms_NBTTagLong_equals), "$hashCode", $rt_wrapFunction0(nms_NBTTagLong_hashCode)], nms_NBTTagFloat, "NBTTagFloat", 43, nms_NBTBase, [], 0, 3, 0, 0, ["$write5", $rt_wrapFunction1(nms_NBTTagFloat_write), "$load", $rt_wrapFunction2(nms_NBTTagFloat_load), "$getId", $rt_wrapFunction0(nms_NBTTagFloat_getId), "$toString", $rt_wrapFunction0(nms_NBTTagFloat_toString), "$copy", $rt_wrapFunction0(nms_NBTTagFloat_copy), "$equals", $rt_wrapFunction1(nms_NBTTagFloat_equals), "$hashCode", $rt_wrapFunction0(nms_NBTTagFloat_hashCode)], nms_NBTTagDouble, "NBTTagDouble", 43, nms_NBTBase, [], 0, 3, 0, 0, ["$write5", $rt_wrapFunction1(nms_NBTTagDouble_write), "$load", $rt_wrapFunction2(nms_NBTTagDouble_load), "$getId", $rt_wrapFunction0(nms_NBTTagDouble_getId), "$toString", $rt_wrapFunction0(nms_NBTTagDouble_toString), "$copy", $rt_wrapFunction0(nms_NBTTagDouble_copy), "$equals", $rt_wrapFunction1(nms_NBTTagDouble_equals), "$hashCode", $rt_wrapFunction0(nms_NBTTagDouble_hashCode)], nms_NBTTagByteArray, "NBTTagByteArray", 43, nms_NBTBase, [], 0, 3, 0, 0, ["$write5", $rt_wrapFunction1(nms_NBTTagByteArray_write), "$load", $rt_wrapFunction2(nms_NBTTagByteArray_load), "$getId", $rt_wrapFunction0(nms_NBTTagByteArray_getId), "$toString", $rt_wrapFunction0(nms_NBTTagByteArray_toString), "$copy", $rt_wrapFunction0(nms_NBTTagByteArray_copy), "$equals", $rt_wrapFunction1(nms_NBTTagByteArray_equals), "$hashCode", $rt_wrapFunction0(nms_NBTTagByteArray_hashCode)], nms_NBTTagIntArray, "NBTTagIntArray", 43, nms_NBTBase, [], 0, 3, 0, 0, ["$write5", $rt_wrapFunction1(nms_NBTTagIntArray_write), "$load", $rt_wrapFunction2(nms_NBTTagIntArray_load), "$getId", $rt_wrapFunction0(nms_NBTTagIntArray_getId), "$toString", $rt_wrapFunction0(nms_NBTTagIntArray_toString), "$copy", $rt_wrapFunction0(nms_NBTTagIntArray_copy), "$equals", $rt_wrapFunction1(nms_NBTTagIntArray_equals), "$hashCode", $rt_wrapFunction0(nms_NBTTagIntArray_hashCode)], jnci_UTF8Charset, "UTF8Charset", 11, jnc_Charset, [], 0, 3, 0, 0, ["$newDecoder", $rt_wrapFunction0(jnci_UTF8Charset_newDecoder), "$newEncoder", $rt_wrapFunction0(jnci_UTF8Charset_newEncoder)], ju_Calendar, "Calendar", 4, jl_Object, [ji_Serializable, jl_Cloneable, jl_Comparable], 1, 3, 0, 0, 0, otjc_JSObjects, 0, jl_Object, [], 4, 3, 0, 0, 0, otjc_JSUndefined, "JSUndefined", 23, jl_Object, [otj_JSObject], 0, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$immediateContinueTeaVM0$lambda$_203_0, 0, jl_Object, [jl_Runnable], 0, 3, 0, 0, ["$run", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$immediateContinueTeaVM0$lambda$_203_0_run)], nlea_EaglerAdapterImpl2$immediateContinueTeaVM0$lambda$_203_1, 0, jl_Object, [otjb_TimerHandler], 0, 3, 0, 0, ["$onTimer$exported$0", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$immediateContinueTeaVM0$lambda$_203_1_onTimer$exported$0)], jnc_StandardCharsets, 0, jl_Object, [], 4, 3, 0, jnc_StandardCharsets_$callClinit, 0, jnc_CodingErrorAction, 0, jl_Object, [], 0, 3, 0, 0, 0]); $rt_metadata([jnc_CharsetDecoder, "CharsetDecoder", 10, jl_Object, [], 1, 3, 0, 0, 0, jnc_CharacterCodingException, "CharacterCodingException", 10, ji_IOException, [], 0, 3, 0, 0, 0, jl_Error, "Error", 17, jl_Throwable, [], 0, 3, 0, 0, 0, jl_AssertionError, "AssertionError", 17, jl_Error, [], 0, 3, 0, 0, 0, jlr_Array, 0, jl_Object, [], 4, 3, 0, 0, 0, jl_ArrayStoreException, "ArrayStoreException", 17, jl_RuntimeException, [], 0, 3, 0, 0, 0, jur_SpecialToken, 0, jl_Object, [], 1, 0, 0, 0, 0, jur_AbstractCharClass, "AbstractCharClass", 6, jur_SpecialToken, [], 1, 0, 0, 0, ["$getBits", $rt_wrapFunction0(jur_AbstractCharClass_getBits), "$getLowHighSurrogates", $rt_wrapFunction0(jur_AbstractCharClass_getLowHighSurrogates), "$getInstance", $rt_wrapFunction0(jur_AbstractCharClass_getInstance), "$hasUCI", $rt_wrapFunction0(jur_AbstractCharClass_hasUCI)], ju_MissingResourceException, "MissingResourceException", 4, jl_RuntimeException, [], 0, 3, 0, 0, 0, jur_CharClass, "CharClass", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass_contains), "$getBits", $rt_wrapFunction0(jur_CharClass_getBits), "$getLowHighSurrogates", $rt_wrapFunction0(jur_CharClass_getLowHighSurrogates), "$getInstance", $rt_wrapFunction0(jur_CharClass_getInstance), "$toString", $rt_wrapFunction0(jur_CharClass_toString), "$hasUCI", $rt_wrapFunction0(jur_CharClass_hasUCI)], jur_QuantifierSet, "QuantifierSet", 6, jur_AbstractSet, [], 1, 0, 0, 0, ["$first", $rt_wrapFunction1(jur_QuantifierSet_first), "$hasConsumed", $rt_wrapFunction1(jur_QuantifierSet_hasConsumed), "$processSecondPass", $rt_wrapFunction0(jur_QuantifierSet_processSecondPass)], jur_LeafQuantifierSet, "LeafQuantifierSet", 6, jur_QuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_LeafQuantifierSet_matches), "$getName", $rt_wrapFunction0(jur_LeafQuantifierSet_getName)], jur_CompositeQuantifierSet, "CompositeQuantifierSet", 6, jur_LeafQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_CompositeQuantifierSet_matches), "$getName", $rt_wrapFunction0(jur_CompositeQuantifierSet_getName)], jur_GroupQuantifierSet, "GroupQuantifierSet", 6, jur_QuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_GroupQuantifierSet_matches), "$getName", $rt_wrapFunction0(jur_GroupQuantifierSet_getName)], jur_AltQuantifierSet, "AltQuantifierSet", 6, jur_LeafQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_AltQuantifierSet_matches), "$setNext", $rt_wrapFunction1(jur_AltQuantifierSet_setNext)], jur_UnifiedQuantifierSet, "UnifiedQuantifierSet", 6, jur_LeafQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_UnifiedQuantifierSet_matches), "$find0", $rt_wrapFunction3(jur_UnifiedQuantifierSet_find)], ju_GregorianCalendar, "GregorianCalendar", 4, ju_Calendar, [], 0, 3, 0, 0, 0, cjj_GZIPException, "GZIPException", 2, ji_IOException, [], 0, 3, 0, 0, 0, jur_AbstractCharClass$PredefinedCharacterClasses, 0, jl_Object, [], 4, 0, 0, 0, 0, jur_AbstractCharClass$LazyCharClass, 0, jl_Object, [], 1, 0, 0, 0, 0, jl_NumberFormatException, "NumberFormatException", 17, jl_IllegalArgumentException, [], 0, 3, 0, 0, 0, jur_Quantifier, "Quantifier", 6, jur_SpecialToken, [jl_Cloneable], 0, 0, 0, 0, ["$toString", $rt_wrapFunction0(jur_Quantifier_toString)], jur_FSet$PossessiveFSet, "FSet$PossessiveFSet", 6, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_FSet$PossessiveFSet_matches), "$getName", $rt_wrapFunction0(jur_FSet$PossessiveFSet_getName), "$hasConsumed", $rt_wrapFunction1(jur_FSet$PossessiveFSet_hasConsumed)], ju_BitSet, 0, jl_Object, [jl_Cloneable, ji_Serializable], 0, 3, 0, 0, 0, jur_LowHighSurrogateRangeSet, "LowHighSurrogateRangeSet", 6, jur_JointSet, [], 0, 0, 0, 0, ["$getName", $rt_wrapFunction0(jur_LowHighSurrogateRangeSet_getName)], jur_CompositeRangeSet, "CompositeRangeSet", 6, jur_JointSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_CompositeRangeSet_matches), "$setNext", $rt_wrapFunction1(jur_CompositeRangeSet_setNext), "$getName", $rt_wrapFunction0(jur_CompositeRangeSet_getName), "$hasConsumed", $rt_wrapFunction1(jur_CompositeRangeSet_hasConsumed), "$first", $rt_wrapFunction1(jur_CompositeRangeSet_first)], jur_SupplRangeSet, "SupplRangeSet", 6, jur_JointSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_SupplRangeSet_matches), "$getName", $rt_wrapFunction0(jur_SupplRangeSet_getName), "$contains0", $rt_wrapFunction1(jur_SupplRangeSet_contains), "$first", $rt_wrapFunction1(jur_SupplRangeSet_first), "$setNext", $rt_wrapFunction1(jur_SupplRangeSet_setNext), "$hasConsumed", $rt_wrapFunction1(jur_SupplRangeSet_hasConsumed)], jur_UCISupplRangeSet, "UCISupplRangeSet", 6, jur_SupplRangeSet, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_UCISupplRangeSet_contains), "$getName", $rt_wrapFunction0(jur_UCISupplRangeSet_getName)], jur_UCIRangeSet, "UCIRangeSet", 6, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_UCIRangeSet_accepts), "$getName", $rt_wrapFunction0(jur_UCIRangeSet_getName)], jur_RangeSet, "RangeSet", 6, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_RangeSet_accepts), "$getName", $rt_wrapFunction0(jur_RangeSet_getName), "$first", $rt_wrapFunction1(jur_RangeSet_first)], jur_HangulDecomposedCharSet, "HangulDecomposedCharSet", 6, jur_JointSet, [], 0, 0, 0, 0, ["$setNext", $rt_wrapFunction1(jur_HangulDecomposedCharSet_setNext), "$getName", $rt_wrapFunction0(jur_HangulDecomposedCharSet_getName), "$matches", $rt_wrapFunction3(jur_HangulDecomposedCharSet_matches), "$first", $rt_wrapFunction1(jur_HangulDecomposedCharSet_first), "$hasConsumed", $rt_wrapFunction1(jur_HangulDecomposedCharSet_hasConsumed)], jur_CharSet, "CharSet", 6, jur_LeafSet, [], 0, 0, 0, 0, ["$charCount", $rt_wrapFunction0(jur_CharSet_charCount), "$accepts", $rt_wrapFunction2(jur_CharSet_accepts), "$find0", $rt_wrapFunction3(jur_CharSet_find), "$findBack", $rt_wrapFunction4(jur_CharSet_findBack), "$getName", $rt_wrapFunction0(jur_CharSet_getName), "$first", $rt_wrapFunction1(jur_CharSet_first)], jur_UCICharSet, "UCICharSet", 6, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_UCICharSet_accepts), "$getName", $rt_wrapFunction0(jur_UCICharSet_getName)], jur_CICharSet, "CICharSet", 6, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_CICharSet_accepts), "$getName", $rt_wrapFunction0(jur_CICharSet_getName)], jur_DecomposedCharSet, "DecomposedCharSet", 6, jur_JointSet, [], 0, 0, 0, 0, ["$setNext", $rt_wrapFunction1(jur_DecomposedCharSet_setNext), "$matches", $rt_wrapFunction3(jur_DecomposedCharSet_matches), "$getName", $rt_wrapFunction0(jur_DecomposedCharSet_getName), "$first", $rt_wrapFunction1(jur_DecomposedCharSet_first), "$hasConsumed", $rt_wrapFunction1(jur_DecomposedCharSet_hasConsumed)], jur_UCIDecomposedCharSet, "UCIDecomposedCharSet", 6, jur_DecomposedCharSet, [], 0, 0, 0, 0, 0, jur_CIDecomposedCharSet, "CIDecomposedCharSet", 6, jur_DecomposedCharSet, [], 0, 0, 0, 0, 0, jur_PossessiveGroupQuantifierSet, "PossessiveGroupQuantifierSet", 6, jur_GroupQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_PossessiveGroupQuantifierSet_matches)], jur_PosPlusGroupQuantifierSet, "PosPlusGroupQuantifierSet", 6, jur_GroupQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_PosPlusGroupQuantifierSet_matches)], jur_AltGroupQuantifierSet, "AltGroupQuantifierSet", 6, jur_GroupQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_AltGroupQuantifierSet_matches), "$setNext", $rt_wrapFunction1(jur_AltGroupQuantifierSet_setNext)], jur_PosAltGroupQuantifierSet, "PosAltGroupQuantifierSet", 6, jur_AltGroupQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_PosAltGroupQuantifierSet_matches), "$setNext", $rt_wrapFunction1(jur_PosAltGroupQuantifierSet_setNext)], jur_CompositeGroupQuantifierSet, "CompositeGroupQuantifierSet", 6, jur_GroupQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_CompositeGroupQuantifierSet_matches), "$getName", $rt_wrapFunction0(jur_CompositeGroupQuantifierSet_getName)], jur_PosCompositeGroupQuantifierSet, "PosCompositeGroupQuantifierSet", 6, jur_CompositeGroupQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_PosCompositeGroupQuantifierSet_matches)], jur_ReluctantGroupQuantifierSet, "ReluctantGroupQuantifierSet", 6, jur_GroupQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_ReluctantGroupQuantifierSet_matches)], jur_RelAltGroupQuantifierSet, "RelAltGroupQuantifierSet", 6, jur_AltGroupQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_RelAltGroupQuantifierSet_matches)], jur_RelCompositeGroupQuantifierSet, "RelCompositeGroupQuantifierSet", 6, jur_CompositeGroupQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_RelCompositeGroupQuantifierSet_matches)], jur_DotAllQuantifierSet, "DotAllQuantifierSet", 6, jur_QuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_DotAllQuantifierSet_matches), "$find0", $rt_wrapFunction3(jur_DotAllQuantifierSet_find), "$getName", $rt_wrapFunction0(jur_DotAllQuantifierSet_getName)], jur_DotQuantifierSet, "DotQuantifierSet", 6, jur_QuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_DotQuantifierSet_matches), "$find0", $rt_wrapFunction3(jur_DotQuantifierSet_find), "$getName", $rt_wrapFunction0(jur_DotQuantifierSet_getName)], jur_AbstractLineTerminator, "AbstractLineTerminator", 6, jl_Object, [], 1, 0, 0, 0, 0, jur_PossessiveQuantifierSet, "PossessiveQuantifierSet", 6, jur_LeafQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_PossessiveQuantifierSet_matches)]]); $rt_metadata([jur_PossessiveAltQuantifierSet, "PossessiveAltQuantifierSet", 6, jur_AltQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_PossessiveAltQuantifierSet_matches)], jur_PossessiveCompositeQuantifierSet, "PossessiveCompositeQuantifierSet", 6, jur_CompositeQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_PossessiveCompositeQuantifierSet_matches)], jur_ReluctantQuantifierSet, "ReluctantQuantifierSet", 6, jur_LeafQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_ReluctantQuantifierSet_matches)], jur_ReluctantAltQuantifierSet, "ReluctantAltQuantifierSet", 6, jur_AltQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_ReluctantAltQuantifierSet_matches)], jur_ReluctantCompositeQuantifierSet, "ReluctantCompositeQuantifierSet", 6, jur_CompositeQuantifierSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_ReluctantCompositeQuantifierSet_matches)], jur_SOLSet, "SOLSet", 6, jur_AbstractSet, [], 4, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_SOLSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_SOLSet_hasConsumed), "$getName", $rt_wrapFunction0(jur_SOLSet_getName)], jur_WordBoundary, "WordBoundary", 6, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_WordBoundary_matches), "$hasConsumed", $rt_wrapFunction1(jur_WordBoundary_hasConsumed), "$getName", $rt_wrapFunction0(jur_WordBoundary_getName)], jur_PreviousMatch, "PreviousMatch", 6, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_PreviousMatch_matches), "$hasConsumed", $rt_wrapFunction1(jur_PreviousMatch_hasConsumed), "$getName", $rt_wrapFunction0(jur_PreviousMatch_getName)], jur_EOLSet, "EOLSet", 6, jur_AbstractSet, [], 4, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_EOLSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_EOLSet_hasConsumed), "$getName", $rt_wrapFunction0(jur_EOLSet_getName)], jur_EOISet, "EOISet", 6, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_EOISet_matches), "$hasConsumed", $rt_wrapFunction1(jur_EOISet_hasConsumed), "$getName", $rt_wrapFunction0(jur_EOISet_getName)], jur_MultiLineSOLSet, "MultiLineSOLSet", 6, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_MultiLineSOLSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_MultiLineSOLSet_hasConsumed), "$getName", $rt_wrapFunction0(jur_MultiLineSOLSet_getName)], jur_DotAllSet, "DotAllSet", 6, jur_JointSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_DotAllSet_matches), "$getName", $rt_wrapFunction0(jur_DotAllSet_getName), "$setNext", $rt_wrapFunction1(jur_DotAllSet_setNext), "$getType0", $rt_wrapFunction0(jur_DotAllSet_getType), "$hasConsumed", $rt_wrapFunction1(jur_DotAllSet_hasConsumed)], jur_DotSet, "DotSet", 6, jur_JointSet, [], 4, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_DotSet_matches), "$getName", $rt_wrapFunction0(jur_DotSet_getName), "$setNext", $rt_wrapFunction1(jur_DotSet_setNext), "$getType0", $rt_wrapFunction0(jur_DotSet_getType), "$hasConsumed", $rt_wrapFunction1(jur_DotSet_hasConsumed)], jur_UEOLSet, "UEOLSet", 6, jur_AbstractSet, [], 4, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_UEOLSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_UEOLSet_hasConsumed), "$getName", $rt_wrapFunction0(jur_UEOLSet_getName)], jur_UMultiLineEOLSet, "UMultiLineEOLSet", 6, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_UMultiLineEOLSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_UMultiLineEOLSet_hasConsumed), "$getName", $rt_wrapFunction0(jur_UMultiLineEOLSet_getName)], jur_MultiLineEOLSet, "MultiLineEOLSet", 6, jur_AbstractSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_MultiLineEOLSet_matches), "$hasConsumed", $rt_wrapFunction1(jur_MultiLineEOLSet_hasConsumed), "$getName", $rt_wrapFunction0(jur_MultiLineEOLSet_getName)], jur_CIBackReferenceSet, "CIBackReferenceSet", 6, jur_JointSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_CIBackReferenceSet_matches), "$setNext", $rt_wrapFunction1(jur_CIBackReferenceSet_setNext), "$getName", $rt_wrapFunction0(jur_CIBackReferenceSet_getName), "$hasConsumed", $rt_wrapFunction1(jur_CIBackReferenceSet_hasConsumed)], jur_BackReferenceSet, "BackReferenceSet", 6, jur_CIBackReferenceSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_BackReferenceSet_matches), "$find0", $rt_wrapFunction3(jur_BackReferenceSet_find), "$findBack", $rt_wrapFunction4(jur_BackReferenceSet_findBack), "$first", $rt_wrapFunction1(jur_BackReferenceSet_first), "$getName", $rt_wrapFunction0(jur_BackReferenceSet_getName)], jur_UCIBackReferenceSet, "UCIBackReferenceSet", 6, jur_CIBackReferenceSet, [], 0, 0, 0, 0, ["$matches", $rt_wrapFunction3(jur_UCIBackReferenceSet_matches), "$getName", $rt_wrapFunction0(jur_UCIBackReferenceSet_getName)], jl_StringBuffer, "StringBuffer", 17, jl_AbstractStringBuilder, [jl_Appendable], 0, 3, 0, 0, ["$insert8", $rt_wrapFunction4(jl_StringBuffer_insert0), "$append9", $rt_wrapFunction3(jl_StringBuffer_append0), "$insert1", $rt_wrapFunction4(jl_StringBuffer_insert), "$append10", $rt_wrapFunction3(jl_StringBuffer_append), "$toString", $rt_wrapFunction0(jl_StringBuffer_toString), "$ensureCapacity", $rt_wrapFunction1(jl_StringBuffer_ensureCapacity), "$insert2", $rt_wrapFunction2(jl_StringBuffer_insert2), "$insert", $rt_wrapFunction2(jl_StringBuffer_insert1)], jur_SequenceSet, "SequenceSet", 6, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_SequenceSet_accepts), "$find0", $rt_wrapFunction3(jur_SequenceSet_find), "$findBack", $rt_wrapFunction4(jur_SequenceSet_findBack), "$getName", $rt_wrapFunction0(jur_SequenceSet_getName), "$first", $rt_wrapFunction1(jur_SequenceSet_first)], jur_UCISequenceSet, "UCISequenceSet", 6, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_UCISequenceSet_accepts), "$getName", $rt_wrapFunction0(jur_UCISequenceSet_getName)], jur_CISequenceSet, "CISequenceSet", 6, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_CISequenceSet_accepts), "$getName", $rt_wrapFunction0(jur_CISequenceSet_getName)], cjj_Adler32, 0, jl_Object, [cjj_Checksum], 4, 3, 0, 0, ["$reset0", $rt_wrapFunction1(cjj_Adler32_reset), "$reset", $rt_wrapFunction0(cjj_Adler32_reset0), "$getValue0", $rt_wrapFunction0(cjj_Adler32_getValue), "$update", $rt_wrapFunction3(cjj_Adler32_update)], cjj_Inflate, "Inflate", 2, jl_Object, [], 4, 0, 0, 0, 0, jnci_AsciiCharset, "AsciiCharset", 11, jnc_Charset, [], 0, 3, 0, 0, ["$newDecoder", $rt_wrapFunction0(jnci_AsciiCharset_newDecoder), "$newEncoder", $rt_wrapFunction0(jnci_AsciiCharset_newEncoder)], jnci_Iso8859Charset, "Iso8859Charset", 11, jnc_Charset, [], 0, 3, 0, 0, ["$newDecoder", $rt_wrapFunction0(jnci_Iso8859Charset_newDecoder), "$newEncoder", $rt_wrapFunction0(jnci_Iso8859Charset_newEncoder)], jnci_UTF16Charset, "UTF16Charset", 11, jnc_Charset, [], 0, 3, 0, 0, ["$newDecoder", $rt_wrapFunction0(jnci_UTF16Charset_newDecoder), "$newEncoder", $rt_wrapFunction0(jnci_UTF16Charset_newEncoder)], jn_CharBufferImpl, 0, jn_CharBuffer, [], 1, 0, 0, 0, 0, jn_CharBufferOverArray, 0, jn_CharBufferImpl, [], 0, 0, 0, 0, 0, jnc_CoderResult, 0, jl_Object, [], 0, 3, 0, 0, 0, jnc_CoderMalfunctionError, "CoderMalfunctionError", 10, jl_Error, [], 0, 3, 0, 0, 0, jur_UCISupplCharSet, "UCISupplCharSet", 6, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_UCISupplCharSet_accepts), "$getName", $rt_wrapFunction0(jur_UCISupplCharSet_getName)], jur_LowSurrogateCharSet, "LowSurrogateCharSet", 6, jur_JointSet, [], 0, 0, 0, 0, ["$setNext", $rt_wrapFunction1(jur_LowSurrogateCharSet_setNext), "$matches", $rt_wrapFunction3(jur_LowSurrogateCharSet_matches), "$find0", $rt_wrapFunction3(jur_LowSurrogateCharSet_find), "$findBack", $rt_wrapFunction4(jur_LowSurrogateCharSet_findBack), "$getName", $rt_wrapFunction0(jur_LowSurrogateCharSet_getName), "$first", $rt_wrapFunction1(jur_LowSurrogateCharSet_first), "$hasConsumed", $rt_wrapFunction1(jur_LowSurrogateCharSet_hasConsumed)], jur_HighSurrogateCharSet, "HighSurrogateCharSet", 6, jur_JointSet, [], 0, 0, 0, 0, ["$setNext", $rt_wrapFunction1(jur_HighSurrogateCharSet_setNext), "$matches", $rt_wrapFunction3(jur_HighSurrogateCharSet_matches), "$find0", $rt_wrapFunction3(jur_HighSurrogateCharSet_find), "$findBack", $rt_wrapFunction4(jur_HighSurrogateCharSet_findBack), "$getName", $rt_wrapFunction0(jur_HighSurrogateCharSet_getName), "$first", $rt_wrapFunction1(jur_HighSurrogateCharSet_first), "$hasConsumed", $rt_wrapFunction1(jur_HighSurrogateCharSet_hasConsumed)], jur_SupplCharSet, "SupplCharSet", 6, jur_LeafSet, [], 0, 0, 0, 0, ["$accepts", $rt_wrapFunction2(jur_SupplCharSet_accepts), "$find0", $rt_wrapFunction3(jur_SupplCharSet_find), "$findBack", $rt_wrapFunction4(jur_SupplCharSet_findBack), "$getName", $rt_wrapFunction0(jur_SupplCharSet_getName), "$first", $rt_wrapFunction1(jur_SupplCharSet_first)], jur_AbstractLineTerminator$1, 0, jur_AbstractLineTerminator, [], 0, 0, 0, 0, ["$isLineTerminator", $rt_wrapFunction1(jur_AbstractLineTerminator$1_isLineTerminator), "$isAfterLineTerminator", $rt_wrapFunction2(jur_AbstractLineTerminator$1_isAfterLineTerminator)], jur_AbstractLineTerminator$2, 0, jur_AbstractLineTerminator, [], 0, 0, 0, 0, ["$isLineTerminator", $rt_wrapFunction1(jur_AbstractLineTerminator$2_isLineTerminator), "$isAfterLineTerminator", $rt_wrapFunction2(jur_AbstractLineTerminator$2_isAfterLineTerminator)], jur_SequenceSet$IntHash, 0, jl_Object, [], 0, 0, 0, 0, 0, ju_TimeZone, "TimeZone", 4, jl_Object, [ji_Serializable, jl_Cloneable], 1, 3, 0, ju_TimeZone_$callClinit, 0, cjj_InfBlocks, 0, jl_Object, [], 4, 0, 0, 0, 0, jur_AbstractCharClass$LazySpace, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazySpace_computeValue)], jur_AbstractCharClass$LazyDigit, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyDigit_computeValue)], jur_AbstractCharClass$LazyLower, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyLower_computeValue)], jur_AbstractCharClass$LazyUpper, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyUpper_computeValue)], jur_AbstractCharClass$LazyASCII, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyASCII_computeValue)], jur_AbstractCharClass$LazyAlpha, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyAlpha_computeValue)], jur_AbstractCharClass$LazyAlnum, 0, jur_AbstractCharClass$LazyAlpha, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyAlnum_computeValue)], jur_AbstractCharClass$LazyPunct, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyPunct_computeValue)], jur_AbstractCharClass$LazyGraph, 0, jur_AbstractCharClass$LazyAlnum, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyGraph_computeValue)]]); $rt_metadata([jur_AbstractCharClass$LazyPrint, 0, jur_AbstractCharClass$LazyGraph, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyPrint_computeValue)], jur_AbstractCharClass$LazyBlank, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyBlank_computeValue)], jur_AbstractCharClass$LazyCntrl, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyCntrl_computeValue)], jur_AbstractCharClass$LazyXDigit, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyXDigit_computeValue)], jur_AbstractCharClass$LazyJavaLowerCase, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaLowerCase_computeValue)], jur_AbstractCharClass$LazyJavaUpperCase, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaUpperCase_computeValue)], jur_AbstractCharClass$LazyJavaWhitespace, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaWhitespace_computeValue)], jur_AbstractCharClass$LazyJavaMirrored, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaMirrored_computeValue)], jur_AbstractCharClass$LazyJavaDefined, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaDefined_computeValue)], jur_AbstractCharClass$LazyJavaDigit, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaDigit_computeValue)], jur_AbstractCharClass$LazyJavaIdentifierIgnorable, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaIdentifierIgnorable_computeValue)], jur_AbstractCharClass$LazyJavaISOControl, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaISOControl_computeValue)], jur_AbstractCharClass$LazyJavaJavaIdentifierPart, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaJavaIdentifierPart_computeValue)], jur_AbstractCharClass$LazyJavaJavaIdentifierStart, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaJavaIdentifierStart_computeValue)], jur_AbstractCharClass$LazyJavaLetter, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaLetter_computeValue)], jur_AbstractCharClass$LazyJavaLetterOrDigit, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaLetterOrDigit_computeValue)], jur_AbstractCharClass$LazyJavaSpaceChar, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaSpaceChar_computeValue)], jur_AbstractCharClass$LazyJavaTitleCase, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaTitleCase_computeValue)], jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart_computeValue)], jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart_computeValue)], jur_AbstractCharClass$LazyWord, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyWord_computeValue)], jur_AbstractCharClass$LazyNonWord, 0, jur_AbstractCharClass$LazyWord, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyNonWord_computeValue)], jur_AbstractCharClass$LazyNonSpace, 0, jur_AbstractCharClass$LazySpace, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyNonSpace_computeValue)], jur_AbstractCharClass$LazyNonDigit, 0, jur_AbstractCharClass$LazyDigit, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyNonDigit_computeValue)], jur_AbstractCharClass$LazyRange, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyRange_computeValue)], jur_AbstractCharClass$LazySpecialsBlock, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazySpecialsBlock_computeValue)], jur_AbstractCharClass$LazyCategory, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyCategory_computeValue)], jur_AbstractCharClass$LazyCategoryScope, 0, jur_AbstractCharClass$LazyCharClass, [], 0, 0, 0, 0, ["$computeValue", $rt_wrapFunction0(jur_AbstractCharClass$LazyCategoryScope_computeValue)], jl_NegativeArraySizeException, "NegativeArraySizeException", 17, jl_RuntimeException, [], 0, 3, 0, 0, 0, jur_IntHash, 0, jl_Object, [], 0, 0, 0, 0, 0, cjj_InfTree, 0, jl_Object, [], 4, 0, 0, 0, 0, cjj_InfCodes, 0, jl_Object, [], 4, 0, 0, 0, 0, jl_CloneNotSupportedException, "CloneNotSupportedException", 17, jl_Exception, [], 0, 3, 0, 0, 0, ju_IANATimeZone, 0, ju_TimeZone, [], 0, 0, 0, 0, 0, otcit_DateTimeZone, "DateTimeZone", 33, jl_Object, [], 1, 3, 0, 0, 0, otcit_StorableDateTimeZone, "StorableDateTimeZone", 33, otcit_DateTimeZone, [], 1, 3, 0, 0, 0, otcit_FixedDateTimeZone, "FixedDateTimeZone", 33, otcit_StorableDateTimeZone, [], 4, 3, 0, 0, ["$getOffset", $rt_wrapFunction1(otcit_FixedDateTimeZone_getOffset), "$getStandardOffset", $rt_wrapFunction1(otcit_FixedDateTimeZone_getStandardOffset), "$previousTransition", $rt_wrapFunction1(otcit_FixedDateTimeZone_previousTransition)], otcit_DateTimeZoneProvider, 0, jl_Object, [], 4, 3, 0, 0, 0, otciu_UnicodeHelper, 0, jl_Object, [], 4, 3, 0, 0, 0, otciu_CharMapping, "CharMapping", 34, jl_Object, [], 0, 3, 0, 0, 0, ju_AbstractQueue, 0, ju_AbstractCollection, [ju_Queue], 1, 3, 0, 0, 0, ju_PriorityQueue, 0, ju_AbstractQueue, [ji_Serializable], 0, 3, 0, 0, ["$size", $rt_wrapFunction0(ju_PriorityQueue_size)], otcit_DateTimeZoneProvider$1, 0, jl_Object, [ju_Comparator], 0, 0, 0, 0, ["$compare0", $rt_wrapFunction2(otcit_DateTimeZoneProvider$1_compare)], jl_Long, "Long", 17, jl_Number, [jl_Comparable], 0, 3, 0, 0, ["$intValue", $rt_wrapFunction0(jl_Long_intValue), "$longValue", $rt_wrapFunction0(jl_Long_longValue), "$doubleValue", $rt_wrapFunction0(jl_Long_doubleValue), "$toString", $rt_wrapFunction0(jl_Long_toString), "$hashCode", $rt_wrapFunction0(jl_Long_hashCode), "$equals", $rt_wrapFunction1(jl_Long_equals), "$compareTo1", $rt_wrapFunction1(jl_Long_compareTo)], otcit_AliasDateTimeZone, "AliasDateTimeZone", 33, otcit_StorableDateTimeZone, [], 0, 3, 0, 0, ["$getOffset", $rt_wrapFunction1(otcit_AliasDateTimeZone_getOffset), "$getStandardOffset", $rt_wrapFunction1(otcit_AliasDateTimeZone_getStandardOffset), "$previousTransition", $rt_wrapFunction1(otcit_AliasDateTimeZone_previousTransition)], otcit_DateTimeZoneProvider$Score, "DateTimeZoneProvider$Score", 33, jl_Object, [], 0, 0, 0, 0, 0, juf_Function, 0, jl_Object, [], 3, 3, 0, 0, 0, otcit_DateTimeZoneProvider$detectTimezone$lambda$_4_0, 0, jl_Object, [juf_Function], 0, 3, 0, 0, 0, otciu_UnicodeHelper$Range, "UnicodeHelper$Range", 34, jl_Object, [], 0, 3, 0, 0, 0, otci_CharFlow, "CharFlow", 31, jl_Object, [], 0, 3, 0, 0, 0]); $rt_metadata([otci_Base46, 0, jl_Object, [], 4, 3, 0, 0, 0, ju_Comparator$NaturalOrder, 0, jl_Object, [ju_Comparator], 0, 3, 0, 0, ["$compare0", $rt_wrapFunction2(ju_Comparator$NaturalOrder_compare)], otcit_DateTimeZoneBuilder$PrecalculatedZone, "DateTimeZoneBuilder$PrecalculatedZone", 33, otcit_StorableDateTimeZone, [], 4, 0, 0, 0, ["$getOffset", $rt_wrapFunction1(otcit_DateTimeZoneBuilder$PrecalculatedZone_getOffset), "$getStandardOffset", $rt_wrapFunction1(otcit_DateTimeZoneBuilder$PrecalculatedZone_getStandardOffset), "$previousTransition", $rt_wrapFunction1(otcit_DateTimeZoneBuilder$PrecalculatedZone_previousTransition)], otcit_DateTimeZoneBuilder$DSTZone, "DateTimeZoneBuilder$DSTZone", 33, otcit_StorableDateTimeZone, [], 4, 0, 0, 0, ["$getOffset", $rt_wrapFunction1(otcit_DateTimeZoneBuilder$DSTZone_getOffset), "$getStandardOffset", $rt_wrapFunction1(otcit_DateTimeZoneBuilder$DSTZone_getStandardOffset), "$previousTransition", $rt_wrapFunction1(otcit_DateTimeZoneBuilder$DSTZone_previousTransition)], otcit_DateTimeZoneBuilder$RuleBasedZone, "DateTimeZoneBuilder$RuleBasedZone", 33, otcit_StorableDateTimeZone, [], 4, 0, 0, 0, ["$getOffset", $rt_wrapFunction1(otcit_DateTimeZoneBuilder$RuleBasedZone_getOffset), "$getStandardOffset", $rt_wrapFunction1(otcit_DateTimeZoneBuilder$RuleBasedZone_getStandardOffset), "$previousTransition", $rt_wrapFunction1(otcit_DateTimeZoneBuilder$RuleBasedZone_previousTransition)], otcit_CachedDateTimeZone, "CachedDateTimeZone", 33, otcit_StorableDateTimeZone, [], 4, 3, 0, 0, ["$getOffset", $rt_wrapFunction1(otcit_CachedDateTimeZone_getOffset), "$getStandardOffset", $rt_wrapFunction1(otcit_CachedDateTimeZone_getStandardOffset), "$previousTransition", $rt_wrapFunction1(otcit_CachedDateTimeZone_previousTransition)], otcit_DateTimeZoneBuilder$Recurrence, "DateTimeZoneBuilder$Recurrence", 33, jl_Object, [], 4, 0, 0, 0, 0, otcit_DateTimeZoneBuilder, "DateTimeZoneBuilder", 33, jl_Object, [], 0, 3, 0, 0, 0, otcit_DateTimeZoneBuilder$RuleSet, "DateTimeZoneBuilder$RuleSet", 33, jl_Object, [], 4, 0, 0, 0, 0, otcit_DateTimeZoneBuilder$Rule, "DateTimeZoneBuilder$Rule", 33, jl_Object, [], 4, 0, 0, 0, 0, otcit_DateTimeZoneBuilder$OfYear, "DateTimeZoneBuilder$OfYear", 33, jl_Object, [], 4, 0, 0, 0, 0, otcit_CachedDateTimeZone$Info, "CachedDateTimeZone$Info", 33, jl_Object, [], 4, 0, 0, 0, 0, jl_StringIndexOutOfBoundsException, "StringIndexOutOfBoundsException", 17, jl_IndexOutOfBoundsException, [], 0, 3, 0, 0, 0, jn_IntBufferOverByteBuffer, 0, jn_IntBufferImpl, [], 1, 0, 0, 0, ["$isArrayPresent", $rt_wrapFunction0(jn_IntBufferOverByteBuffer_isArrayPresent), "$getArray", $rt_wrapFunction0(jn_IntBufferOverByteBuffer_getArray), "$readOnly", $rt_wrapFunction0(jn_IntBufferOverByteBuffer_readOnly)], jn_IntBufferOverByteBufferLittleEndian, 0, jn_IntBufferOverByteBuffer, [], 0, 0, 0, 0, ["$getElement0", $rt_wrapFunction1(jn_IntBufferOverByteBufferLittleEndian_getElement), "$putElement", $rt_wrapFunction2(jn_IntBufferOverByteBufferLittleEndian_putElement)], jn_IntBufferOverByteBufferBigEndian, 0, jn_IntBufferOverByteBuffer, [], 0, 0, 0, 0, ["$getElement0", $rt_wrapFunction1(jn_IntBufferOverByteBufferBigEndian_getElement), "$putElement", $rt_wrapFunction2(jn_IntBufferOverByteBufferBigEndian_putElement)], jn_ReadOnlyBufferException, "ReadOnlyBufferException", 9, jl_UnsupportedOperationException, [], 0, 3, 0, 0, 0, jn_BufferOverflowException, "BufferOverflowException", 9, jl_RuntimeException, [], 0, 3, 0, 0, 0, ju_Map$Entry, "Map$Entry", 4, jl_Object, [], 3, 3, 0, 0, 0, ju_MapEntry, "MapEntry", 4, jl_Object, [ju_Map$Entry, jl_Cloneable], 0, 0, 0, 0, ["$equals", $rt_wrapFunction1(ju_MapEntry_equals), "$getKey", $rt_wrapFunction0(ju_MapEntry_getKey), "$getValue", $rt_wrapFunction0(ju_MapEntry_getValue), "$hashCode", $rt_wrapFunction0(ju_MapEntry_hashCode), "$toString", $rt_wrapFunction0(ju_MapEntry_toString)], jnc_BufferUnderflowException, "BufferUnderflowException", 10, jl_RuntimeException, [], 0, 3, 0, 0, 0, jnc_BufferOverflowException, "BufferOverflowException", 10, jl_RuntimeException, [], 0, 3, 0, 0, 0, jnc_MalformedInputException, "MalformedInputException", 10, jnc_CharacterCodingException, [], 0, 3, 0, 0, ["$getMessage", $rt_wrapFunction0(jnc_MalformedInputException_getMessage)], jnc_UnmappableCharacterException, "UnmappableCharacterException", 10, jnc_CharacterCodingException, [], 0, 3, 0, 0, ["$getMessage", $rt_wrapFunction0(jnc_UnmappableCharacterException_getMessage)], jl_VirtualMachineError, "VirtualMachineError", 17, jl_Error, [], 0, 3, 0, 0, 0, jl_StackOverflowError, 0, jl_VirtualMachineError, [], 0, 3, 0, 0, 0, jl_Boolean, "Boolean", 17, jl_Object, [ji_Serializable, jl_Comparable], 0, 3, 0, 0, ["$toString", $rt_wrapFunction0(jl_Boolean_toString), "$hashCode", $rt_wrapFunction0(jl_Boolean_hashCode), "$equals", $rt_wrapFunction1(jl_Boolean_equals), "$compareTo1", $rt_wrapFunction1(jl_Boolean_compareTo)], nlea_EaglerAdapterImpl2$BufferedVideo, 0, jl_Object, [], 0, 0, 0, 0, 0, ju_HashMap$HashEntry, "HashMap$HashEntry", 4, ju_MapEntry, [], 0, 0, 0, 0, 0, jur_AbstractCharClass$1, "AbstractCharClass$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$1_contains)], jur_AbstractCharClass$2, "AbstractCharClass$2", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$2_contains)], jur_CharClass$18, "CharClass$18", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$18_contains), "$toString", $rt_wrapFunction0(jur_CharClass$18_toString)], jur_CharClass$1, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$1_contains)], jur_CharClass$3, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$3_contains)], jur_CharClass$2, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$2_contains)], jur_CharClass$5, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$5_contains)], jur_CharClass$4, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$4_contains)], jur_CharClass$7, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$7_contains)], jur_CharClass$6, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$6_contains)], jur_CharClass$9, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$9_contains)], jur_CharClass$8, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$8_contains)], jur_CharClass$11, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$11_contains)], jur_CharClass$10, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$10_contains)], jur_CharClass$13, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$13_contains)], jur_CharClass$12, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$12_contains)], jur_CharClass$15, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$15_contains)], jur_CharClass$14, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$14_contains)], jur_CharClass$17, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$17_contains)], jur_CharClass$16, 0, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_CharClass$16_contains)], ju_NoSuchElementException, "NoSuchElementException", 4, jl_RuntimeException, [], 0, 3, 0, 0, 0]); $rt_metadata([ju_Iterator, "Iterator", 4, jl_Object, [], 3, 3, 0, 0, 0, ju_AbstractList$1, 0, jl_Object, [ju_Iterator], 0, 0, 0, 0, ["$hasNext", $rt_wrapFunction0(ju_AbstractList$1_hasNext), "$next", $rt_wrapFunction0(ju_AbstractList$1_next), "$remove0", $rt_wrapFunction0(ju_AbstractList$1_remove)], jl_Object$Monitor, 0, jl_Object, [], 0, 0, 0, 0, 0, jl_Thread, "Thread", 17, jl_Object, [jl_Runnable], 0, 3, 0, 0, 0, jl_IllegalMonitorStateException, "IllegalMonitorStateException", 17, jl_RuntimeException, [], 0, 3, 0, 0, 0, nms_AxisAlignedBB, "AxisAlignedBB", 43, jl_Object, [], 0, 3, 0, 0, ["$toString", $rt_wrapFunction0(nms_AxisAlignedBB_toString)], nle_IntegratedServer, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_GameSettings, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RenderBlocks, 0, jl_Object, [], 0, 3, 0, 0, 0, jt_SimpleDatePatternParser, 0, jl_Object, [], 0, 0, 0, 0, 0, jt_DateFormatElement, "DateFormatElement", 16, jl_Object, [], 1, 0, 0, 0, 0, otp_PlatformQueue, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, jl_Object$monitorExit$lambda$_8_0, 0, jl_Object, [otp_PlatformRunnable], 0, 3, 0, 0, ["$run", $rt_wrapFunction0(jl_Object$monitorExit$lambda$_8_0_run)], cjj_Inflate$Return, "Inflate$Return", 2, jl_Exception, [], 0, 0, 0, 0, 0, cjj_GZIPHeader, 0, jl_Object, [jl_Cloneable], 0, 3, 0, 0, 0, ji_Writer, "Writer", 12, jl_Object, [jl_Appendable, ji_Closeable, ji_Flushable], 1, 3, 0, 0, 0, ji_StringWriter, 0, ji_Writer, [], 0, 3, 0, 0, 0, jl_Double, "Double", 17, jl_Number, [jl_Comparable], 0, 3, 0, 0, ["$doubleValue", $rt_wrapFunction0(jl_Double_doubleValue), "$intValue", $rt_wrapFunction0(jl_Double_intValue), "$longValue", $rt_wrapFunction0(jl_Double_longValue), "$toString", $rt_wrapFunction0(jl_Double_toString), "$equals", $rt_wrapFunction1(jl_Double_equals), "$hashCode", $rt_wrapFunction0(jl_Double_hashCode), "$compareTo1", $rt_wrapFunction1(jl_Double_compareTo)], jm_BigDecimal, "BigDecimal", 15, jl_Number, [jl_Comparable, ji_Serializable], 0, 3, 0, jm_BigDecimal_$callClinit, ["$equals", $rt_wrapFunction1(jm_BigDecimal_equals), "$hashCode", $rt_wrapFunction0(jm_BigDecimal_hashCode), "$toString", $rt_wrapFunction0(jm_BigDecimal_toString), "$longValue", $rt_wrapFunction0(jm_BigDecimal_longValue), "$intValue", $rt_wrapFunction0(jm_BigDecimal_intValue), "$doubleValue", $rt_wrapFunction0(jm_BigDecimal_doubleValue), "$compareTo1", $rt_wrapFunction1(jm_BigDecimal_compareTo0)], jm_BigInteger, "BigInteger", 15, jl_Number, [jl_Comparable, ji_Serializable], 0, 3, 0, 0, ["$intValue", $rt_wrapFunction0(jm_BigInteger_intValue), "$longValue", $rt_wrapFunction0(jm_BigInteger_longValue), "$doubleValue", $rt_wrapFunction0(jm_BigInteger_doubleValue), "$hashCode", $rt_wrapFunction0(jm_BigInteger_hashCode), "$equals", $rt_wrapFunction1(jm_BigInteger_equals), "$toString", $rt_wrapFunction0(jm_BigInteger_toString), "$compareTo1", $rt_wrapFunction1(jm_BigInteger_compareTo0)], nms_AABBPool, "AABBPool", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_RenderEngine, "RenderEngine", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_IBlockAccess, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_World, "World", 43, jl_Object, [nms_IBlockAccess], 1, 3, 0, 0, ["$getBiomeGenForCoords", $rt_wrapFunction2(nms_World_getBiomeGenForCoords), "$getBlockId", $rt_wrapFunction3(nms_World_getBlockId), "$isAirBlock", $rt_wrapFunction3(nms_World_isAirBlock), "$getBlockMaterial", $rt_wrapFunction3(nms_World_getBlockMaterial), "$getBlockMetadata", $rt_wrapFunction3(nms_World_getBlockMetadata), "$getLightBrightnessForSkyBlocks", $rt_wrapFunction4(nms_World_getLightBrightnessForSkyBlocks), "$getBrightness0", $rt_wrapFunction4(nms_World_getBrightness), "$getLightBrightness", $rt_wrapFunction3(nms_World_getLightBrightness), "$getBlockTileEntity", $rt_wrapFunction3(nms_World_getBlockTileEntity), "$isBlockOpaqueCube", $rt_wrapFunction3(nms_World_isBlockOpaqueCube), "$isBlockNormalCube", $rt_wrapFunction3(nms_World_isBlockNormalCube), "$doesBlockHaveSolidTopSurface", $rt_wrapFunction3(nms_World_doesBlockHaveSolidTopSurface), "$isBlockProvidingPowerTo", $rt_wrapFunction4(nms_World_isBlockProvidingPowerTo), "$getHeight", $rt_wrapFunction0(nms_World_getHeight), "$getWorldVec3Pool", $rt_wrapFunction0(nms_World_getWorldVec3Pool)], nms_Vec3Pool, "Vec3Pool", 43, jl_Object, [], 0, 3, 0, 0, 0, nle_IntegratedServerLAN, 0, jl_Object, [], 0, 3, 0, 0, 0, nle_PKT, "PKT", 45, jl_Object, [], 0, 3, 0, 0, 0, nlesi_IPCPacketManager, 0, jl_Object, [], 0, 3, 0, nlesi_IPCPacketManager_$callClinit, 0, nlesi_IPCPacketBase, "IPCPacketBase", 53, jl_Object, [], 3, 3, 0, 0, 0, nlesi_IPCPacket09RequestResponse, "IPCPacket09RequestResponse", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket09RequestResponse_deserialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket09RequestResponse_id)], nlesi_IPCPacket0CPlayerChannel, "IPCPacket0CPlayerChannel", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket0CPlayerChannel_deserialize), "$serialize", $rt_wrapFunction1(nlesi_IPCPacket0CPlayerChannel_serialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket0CPlayerChannel_id), "$size", $rt_wrapFunction0(nlesi_IPCPacket0CPlayerChannel_size)], nms_INetworkManager, 0, jl_Object, [], 3, 3, 0, 0, 0, nle_WorkerNetworkManager, "WorkerNetworkManager", 45, jl_Object, [nms_INetworkManager], 0, 3, 0, 0, ["$addToSendQueue", $rt_wrapFunction1(nle_WorkerNetworkManager_addToSendQueue), "$wakeThreads", $rt_wrapFunction0(nle_WorkerNetworkManager_wakeThreads), "$processReadPackets", $rt_wrapFunction0(nle_WorkerNetworkManager_processReadPackets), "$serverShutdown", $rt_wrapFunction0(nle_WorkerNetworkManager_serverShutdown), "$networkShutdown", $rt_wrapFunction2(nle_WorkerNetworkManager_networkShutdown), "$closeConnections", $rt_wrapFunction0(nle_WorkerNetworkManager_closeConnections), "$getServerURI", $rt_wrapFunction0(nle_WorkerNetworkManager_getServerURI)], nlesi_IPCPacket0DProgressUpdate, "IPCPacket0DProgressUpdate", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket0DProgressUpdate_deserialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket0DProgressUpdate_id)], nlesi_IPCPacket14StringList, "IPCPacket14StringList", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket14StringList_deserialize), "$serialize", $rt_wrapFunction1(nlesi_IPCPacket14StringList_serialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket14StringList_id), "$size", $rt_wrapFunction0(nlesi_IPCPacket14StringList_size)], nlesi_IPCPacket15ThrowException, "IPCPacket15ThrowException", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket15ThrowException_deserialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket15ThrowException_id)], nlesi_IPCPacket16NBTList, "IPCPacket16NBTList", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket16NBTList_deserialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket16NBTList_id)], nlesi_IPCPacketFFProcessKeepAlive, "IPCPacketFFProcessKeepAlive", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacketFFProcessKeepAlive_deserialize), "$id", $rt_wrapFunction0(nlesi_IPCPacketFFProcessKeepAlive_id)], nle_IntegratedState, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_Entity, "Entity", 43, jl_Object, [], 1, 3, 0, 0, ["$equals", $rt_wrapFunction1(nms_Entity_equals), "$hashCode", $rt_wrapFunction0(nms_Entity_hashCode), "$setDead", $rt_wrapFunction0(nms_Entity_setDead), "$onUpdate", $rt_wrapFunction0(nms_Entity_onUpdate), "$onEntityUpdate", $rt_wrapFunction0(nms_Entity_onEntityUpdate), "$getMaxInPortalTime", $rt_wrapFunction0(nms_Entity_getMaxInPortalTime), "$kill", $rt_wrapFunction0(nms_Entity_kill), "$moveEntity", $rt_wrapFunction3(nms_Entity_moveEntity), "$playStepSound", $rt_wrapFunction4(nms_Entity_playStepSound), "$playSound0", $rt_wrapFunction3(nms_Entity_playSound), "$canTriggerWalking", $rt_wrapFunction0(nms_Entity_canTriggerWalking), "$updateFallState", $rt_wrapFunction2(nms_Entity_updateFallState), "$getBoundingBox", $rt_wrapFunction0(nms_Entity_getBoundingBox), "$dealFireDamage", $rt_wrapFunction1(nms_Entity_dealFireDamage), "$fall", $rt_wrapFunction1(nms_Entity_fall), "$isInWater", $rt_wrapFunction0(nms_Entity_isInWater), "$handleWaterMovement", $rt_wrapFunction0(nms_Entity_handleWaterMovement), "$getEyeHeight", $rt_wrapFunction0(nms_Entity_getEyeHeight), "$handleLavaMovement", $rt_wrapFunction0(nms_Entity_handleLavaMovement), "$getBrightnessForRender", $rt_wrapFunction1(nms_Entity_getBrightnessForRender), "$getBrightness", $rt_wrapFunction1(nms_Entity_getBrightness), "$onCollideWithPlayer", $rt_wrapFunction1(nms_Entity_onCollideWithPlayer), "$applyEntityCollision", $rt_wrapFunction1(nms_Entity_applyEntityCollision), "$addVelocity", $rt_wrapFunction3(nms_Entity_addVelocity), "$setBeenAttacked", $rt_wrapFunction0(nms_Entity_setBeenAttacked), "$attackEntityFrom", $rt_wrapFunction2(nms_Entity_attackEntityFrom), "$canBeCollidedWith", $rt_wrapFunction0(nms_Entity_canBeCollidedWith), "$canBePushed", $rt_wrapFunction0(nms_Entity_canBePushed), "$addToPlayerScore", $rt_wrapFunction2(nms_Entity_addToPlayerScore), "$isInRangeToRenderVec3D", $rt_wrapFunction1(nms_Entity_isInRangeToRenderVec3D), "$isInRangeToRenderDist", $rt_wrapFunction1(nms_Entity_isInRangeToRenderDist), "$shouldSetPosAfterLoading", $rt_wrapFunction0(nms_Entity_shouldSetPosAfterLoading), "$getShadowSize", $rt_wrapFunction0(nms_Entity_getShadowSize), "$isEntityAlive", $rt_wrapFunction0(nms_Entity_isEntityAlive), "$isEntityInsideOpaqueBlock", $rt_wrapFunction0(nms_Entity_isEntityInsideOpaqueBlock), "$interactFirst", $rt_wrapFunction1(nms_Entity_interactFirst), "$getCollisionBox", $rt_wrapFunction1(nms_Entity_getCollisionBox), "$updateRidden", $rt_wrapFunction0(nms_Entity_updateRidden), "$updateRiderPosition", $rt_wrapFunction0(nms_Entity_updateRiderPosition), "$getYOffset", $rt_wrapFunction0(nms_Entity_getYOffset), "$getMountedYOffset", $rt_wrapFunction0(nms_Entity_getMountedYOffset), "$mountEntity", $rt_wrapFunction1(nms_Entity_mountEntity), "$setPositionAndRotation2", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_Entity_setPositionAndRotation2(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$getCollisionBorderSize", $rt_wrapFunction0(nms_Entity_getCollisionBorderSize), "$getLookVec", $rt_wrapFunction0(nms_Entity_getLookVec), "$getPortalCooldown", $rt_wrapFunction0(nms_Entity_getPortalCooldown), "$setVelocity", $rt_wrapFunction3(nms_Entity_setVelocity), "$handleHealthUpdate", $rt_wrapFunction1(nms_Entity_handleHealthUpdate), "$performHurtAnimation", $rt_wrapFunction0(nms_Entity_performHurtAnimation), "$getLastActiveItems", $rt_wrapFunction0(nms_Entity_getLastActiveItems), "$setCurrentItemOrArmor", $rt_wrapFunction2(nms_Entity_setCurrentItemOrArmor), "$isBurning", $rt_wrapFunction0(nms_Entity_isBurning), "$isSneaking", $rt_wrapFunction0(nms_Entity_isSneaking), "$isInvisibleToPlayer", $rt_wrapFunction1(nms_Entity_isInvisibleToPlayer), "$onStruckByLightning", $rt_wrapFunction1(nms_Entity_onStruckByLightning), "$onKillEntity", $rt_wrapFunction1(nms_Entity_onKillEntity), "$setInWeb", $rt_wrapFunction0(nms_Entity_setInWeb), "$getEntityName", $rt_wrapFunction0(nms_Entity_getEntityName), "$getParts", $rt_wrapFunction0(nms_Entity_getParts), "$isEntityEqual", $rt_wrapFunction1(nms_Entity_isEntityEqual), "$setRotationYawHead", $rt_wrapFunction1(nms_Entity_setRotationYawHead), "$canAttackWithItem", $rt_wrapFunction0(nms_Entity_canAttackWithItem), "$hitByEntity", $rt_wrapFunction1(nms_Entity_hitByEntity), "$toString", $rt_wrapFunction0(nms_Entity_toString), "$travelToDimension", $rt_wrapFunction1(nms_Entity_travelToDimension), "$getBlockExplosionResistance", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_Entity_getBlockExplosionResistance(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$shouldExplodeBlock", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_Entity_shouldExplodeBlock(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$doesEntityNotTriggerPressurePlate", $rt_wrapFunction0(nms_Entity_doesEntityNotTriggerPressurePlate), "$canRenderOnFire", $rt_wrapFunction0(nms_Entity_canRenderOnFire), "$isPushedByWater", $rt_wrapFunction0(nms_Entity_isPushedByWater), "$getTranslatedEntityName", $rt_wrapFunction0(nms_Entity_getTranslatedEntityName)], nms_EntityLivingBase, "EntityLivingBase", 43, nms_Entity, [], 1, 3, 0, nms_EntityLivingBase_$callClinit, ["$updateFallState", $rt_wrapFunction2(nms_EntityLivingBase_updateFallState), "$canBreatheUnderwater", $rt_wrapFunction0(nms_EntityLivingBase_canBreatheUnderwater), "$onEntityUpdate", $rt_wrapFunction0(nms_EntityLivingBase_onEntityUpdate), "$isChild", $rt_wrapFunction0(nms_EntityLivingBase_isChild), "$onDeathUpdate", $rt_wrapFunction0(nms_EntityLivingBase_onDeathUpdate), "$decreaseAirSupply", $rt_wrapFunction1(nms_EntityLivingBase_decreaseAirSupply), "$isPlayer", $rt_wrapFunction0(nms_EntityLivingBase_isPlayer), "$setRevengeTarget", $rt_wrapFunction1(nms_EntityLivingBase_setRevengeTarget), "$addPotionEffect", $rt_wrapFunction1(nms_EntityLivingBase_addPotionEffect), "$isPotionApplicable", $rt_wrapFunction1(nms_EntityLivingBase_isPotionApplicable), "$heal", $rt_wrapFunction1(nms_EntityLivingBase_heal), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityLivingBase_attackEntityFrom), "$onDeath", $rt_wrapFunction1(nms_EntityLivingBase_onDeath), "$dropEquipment", $rt_wrapFunction2(nms_EntityLivingBase_dropEquipment), "$getHurtSound", $rt_wrapFunction0(nms_EntityLivingBase_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityLivingBase_getDeathSound), "$dropRareDrop", $rt_wrapFunction1(nms_EntityLivingBase_dropRareDrop), "$dropFewItems", $rt_wrapFunction2(nms_EntityLivingBase_dropFewItems), "$isOnLadder", $rt_wrapFunction0(nms_EntityLivingBase_isOnLadder), "$isEntityAlive", $rt_wrapFunction0(nms_EntityLivingBase_isEntityAlive), "$fall", $rt_wrapFunction1(nms_EntityLivingBase_fall), "$performHurtAnimation", $rt_wrapFunction0(nms_EntityLivingBase_performHurtAnimation), "$getTotalArmorValue", $rt_wrapFunction0(nms_EntityLivingBase_getTotalArmorValue), "$damageArmor", $rt_wrapFunction1(nms_EntityLivingBase_damageArmor), "$applyPotionDamageCalculations", $rt_wrapFunction2(nms_EntityLivingBase_applyPotionDamageCalculations), "$damageEntity", $rt_wrapFunction2(nms_EntityLivingBase_damageEntity), "$swingItem", $rt_wrapFunction0(nms_EntityLivingBase_swingItem), "$handleHealthUpdate", $rt_wrapFunction1(nms_EntityLivingBase_handleHealthUpdate), "$kill", $rt_wrapFunction0(nms_EntityLivingBase_kill), "$getCreatureAttribute", $rt_wrapFunction0(nms_EntityLivingBase_getCreatureAttribute), "$getSoundVolume", $rt_wrapFunction0(nms_EntityLivingBase_getSoundVolume), "$getSoundPitch", $rt_wrapFunction0(nms_EntityLivingBase_getSoundPitch), "$isMovementBlocked", $rt_wrapFunction0(nms_EntityLivingBase_isMovementBlocked), "$getItemIcon", $rt_wrapFunction2(nms_EntityLivingBase_getItemIcon), "$jump", $rt_wrapFunction0(nms_EntityLivingBase_jump), "$moveEntityWithHeading", $rt_wrapFunction2(nms_EntityLivingBase_moveEntityWithHeading), "$isAIEnabled", $rt_wrapFunction0(nms_EntityLivingBase_isAIEnabled), "$getAIMoveSpeed", $rt_wrapFunction0(nms_EntityLivingBase_getAIMoveSpeed), "$isPlayerSleeping", $rt_wrapFunction0(nms_EntityLivingBase_isPlayerSleeping), "$func_110146_f", $rt_wrapFunction2(nms_EntityLivingBase_func_110146_f), "$updateAITasks", $rt_wrapFunction0(nms_EntityLivingBase_updateAITasks), "$collideWithNearbyEntities", $rt_wrapFunction0(nms_EntityLivingBase_collideWithNearbyEntities), "$collideWithEntity", $rt_wrapFunction1(nms_EntityLivingBase_collideWithEntity), "$updateRidden", $rt_wrapFunction0(nms_EntityLivingBase_updateRidden), "$setPositionAndRotation2", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_EntityLivingBase_setPositionAndRotation2(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$updateAITick", $rt_wrapFunction0(nms_EntityLivingBase_updateAITick), "$getLookVec", $rt_wrapFunction0(nms_EntityLivingBase_getLookVec), "$isClientWorld", $rt_wrapFunction0(nms_EntityLivingBase_isClientWorld), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityLivingBase_canBeCollidedWith), "$canBePushed", $rt_wrapFunction0(nms_EntityLivingBase_canBePushed), "$getEyeHeight", $rt_wrapFunction0(nms_EntityLivingBase_getEyeHeight), "$setBeenAttacked", $rt_wrapFunction0(nms_EntityLivingBase_setBeenAttacked), "$setRotationYawHead", $rt_wrapFunction1(nms_EntityLivingBase_setRotationYawHead), "$getAbsorptionAmount", $rt_wrapFunction0(nms_EntityLivingBase_getAbsorptionAmount), "$setAbsorptionAmount", $rt_wrapFunction1(nms_EntityLivingBase_setAbsorptionAmount), "$getTeam", $rt_wrapFunction0(nms_EntityLivingBase_getTeam), "$isOnSameTeam", $rt_wrapFunction1(nms_EntityLivingBase_isOnSameTeam)], nms_ICommandSender, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_EntityPlayer, "EntityPlayer", 43, nms_EntityLivingBase, [nms_ICommandSender], 1, 3, 0, 0, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntityPlayer_applyEntityAttributes), "$entityInit", $rt_wrapFunction0(nms_EntityPlayer_entityInit), "$getMaxInPortalTime", $rt_wrapFunction0(nms_EntityPlayer_getMaxInPortalTime), "$getPortalCooldown", $rt_wrapFunction0(nms_EntityPlayer_getPortalCooldown), "$playSound0", $rt_wrapFunction3(nms_EntityPlayer_playSound), "$handleHealthUpdate", $rt_wrapFunction1(nms_EntityPlayer_handleHealthUpdate), "$isMovementBlocked", $rt_wrapFunction0(nms_EntityPlayer_isMovementBlocked), "$closeScreen", $rt_wrapFunction0(nms_EntityPlayer_closeScreen), "$mountEntity", $rt_wrapFunction1(nms_EntityPlayer_mountEntity), "$updateRidden", $rt_wrapFunction0(nms_EntityPlayer_updateRidden), "$onDeath", $rt_wrapFunction1(nms_EntityPlayer_onDeath), "$addToPlayerScore", $rt_wrapFunction2(nms_EntityPlayer_addToPlayerScore), "$joinEntityItemWithWorld", $rt_wrapFunction1(nms_EntityPlayer_joinEntityItemWithWorld), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityPlayer_writeEntityToNBT), "$getEyeHeight", $rt_wrapFunction0(nms_EntityPlayer_getEyeHeight), "$resetHeight", $rt_wrapFunction0(nms_EntityPlayer_resetHeight), "$damageArmor", $rt_wrapFunction1(nms_EntityPlayer_damageArmor), "$getTotalArmorValue", $rt_wrapFunction0(nms_EntityPlayer_getTotalArmorValue), "$damageEntity", $rt_wrapFunction2(nms_EntityPlayer_damageEntity), "$getYOffset", $rt_wrapFunction0(nms_EntityPlayer_getYOffset), "$setDead", $rt_wrapFunction0(nms_EntityPlayer_setDead), "$isEntityInsideOpaqueBlock", $rt_wrapFunction0(nms_EntityPlayer_isEntityInsideOpaqueBlock), "$isPlayerSleeping", $rt_wrapFunction0(nms_EntityPlayer_isPlayerSleeping), "$addStat", $rt_wrapFunction2(nms_EntityPlayer_addStat), "$jump", $rt_wrapFunction0(nms_EntityPlayer_jump), "$moveEntityWithHeading", $rt_wrapFunction2(nms_EntityPlayer_moveEntityWithHeading), "$getAIMoveSpeed", $rt_wrapFunction0(nms_EntityPlayer_getAIMoveSpeed), "$fall", $rt_wrapFunction1(nms_EntityPlayer_fall), "$onKillEntity", $rt_wrapFunction1(nms_EntityPlayer_onKillEntity), "$setInWeb", $rt_wrapFunction0(nms_EntityPlayer_setInWeb), "$getItemIcon", $rt_wrapFunction2(nms_EntityPlayer_getItemIcon), "$getExperiencePoints", $rt_wrapFunction1(nms_EntityPlayer_getExperiencePoints), "$isPlayer", $rt_wrapFunction0(nms_EntityPlayer_isPlayer), "$getEntityName", $rt_wrapFunction0(nms_EntityPlayer_getEntityName), "$canTriggerWalking", $rt_wrapFunction0(nms_EntityPlayer_canTriggerWalking), "$getCurrentItemOrArmor", $rt_wrapFunction1(nms_EntityPlayer_getCurrentItemOrArmor), "$getHeldItem", $rt_wrapFunction0(nms_EntityPlayer_getHeldItem), "$setCurrentItemOrArmor", $rt_wrapFunction2(nms_EntityPlayer_setCurrentItemOrArmor), "$isInvisibleToPlayer", $rt_wrapFunction1(nms_EntityPlayer_isInvisibleToPlayer), "$getLastActiveItems", $rt_wrapFunction0(nms_EntityPlayer_getLastActiveItems), "$isPushedByWater", $rt_wrapFunction0(nms_EntityPlayer_isPushedByWater), "$getTeam", $rt_wrapFunction0(nms_EntityPlayer_getTeam), "$getTranslatedEntityName", $rt_wrapFunction0(nms_EntityPlayer_getTranslatedEntityName), "$setAbsorptionAmount", $rt_wrapFunction1(nms_EntityPlayer_setAbsorptionAmount), "$getAbsorptionAmount", $rt_wrapFunction0(nms_EntityPlayer_getAbsorptionAmount)], nms_GuiAchievement, 0, nms_Gui, [], 0, 3, 0, nms_GuiAchievement_$callClinit, 0, nms_EntityRenderer, 0, jl_Object, [], 0, 3, 0, nms_EntityRenderer_$callClinit, 0, nleg_FixedFunctionShader, "FixedFunctionShader", 49, jl_Object, [], 0, 3, 0, 0, 0, nms_ScaledResolution, 0, jl_Object, [], 0, 3, 0, 0, 0, ju_Date, 0, jl_Object, [jl_Comparable], 0, 3, 0, 0, 0, ji_UTFDataFormatException, "UTFDataFormatException", 12, ji_IOException, [], 0, 3, 0, 0, 0, jl_Thread$UncaughtExceptionHandler, 0, jl_Object, [], 3, 3, 0, 0, 0]); $rt_metadata([jl_DefaultUncaughtExceptionHandler, 0, jl_Object, [jl_Thread$UncaughtExceptionHandler], 0, 3, 0, 0, 0, jl_ThreadLocal, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_AABBLocalPool, 0, jl_ThreadLocal, [], 4, 0, 0, 0, 0, nle_RelayManager, 0, jl_Object, [], 0, 3, 0, 0, 0, nlesrp_IPacket, "IPacket", 52, jl_Object, [], 0, 3, [0,0,0], nlesrp_IPacket_$callClinit, ["$read5", $rt_wrapFunction1(nlesrp_IPacket_read)], nlesrp_IPacket02NewClient, "IPacket02NewClient", 52, nlesrp_IPacket, [], 0, 3, [0,0,0], 0, ["$read5", $rt_wrapFunction1(nlesrp_IPacket02NewClient_read)], nlesrp_IPacket03ICECandidate, "IPacket03ICECandidate", 52, nlesrp_IPacket, [], 0, 3, [0,0,0], 0, ["$read5", $rt_wrapFunction1(nlesrp_IPacket03ICECandidate_read), "$write6", $rt_wrapFunction1(nlesrp_IPacket03ICECandidate_write), "$packetLength", $rt_wrapFunction0(nlesrp_IPacket03ICECandidate_packetLength)], nle_IntegratedServerLAN$LANClient, "IntegratedServerLAN$LANClient", 45, jl_Object, [], 4, 0, 0, 0, 0, nlesrp_IPacket04Description, "IPacket04Description", 52, nlesrp_IPacket, [], 0, 3, [0,0,0], 0, ["$read5", $rt_wrapFunction1(nlesrp_IPacket04Description_read), "$write6", $rt_wrapFunction1(nlesrp_IPacket04Description_write), "$packetLength", $rt_wrapFunction0(nlesrp_IPacket04Description_packetLength)], nlesrp_IPacket05ClientSuccess, "IPacket05ClientSuccess", 52, nlesrp_IPacket, [], 0, 3, [0,0,0], 0, ["$read5", $rt_wrapFunction1(nlesrp_IPacket05ClientSuccess_read), "$write6", $rt_wrapFunction1(nlesrp_IPacket05ClientSuccess_write), "$packetLength", $rt_wrapFunction0(nlesrp_IPacket05ClientSuccess_packetLength)], nlesrp_IPacket06ClientFailure, "IPacket06ClientFailure", 52, nlesrp_IPacket, [], 0, 3, [0,0,0], 0, ["$read5", $rt_wrapFunction1(nlesrp_IPacket06ClientFailure_read), "$write6", $rt_wrapFunction1(nlesrp_IPacket06ClientFailure_write), "$packetLength", $rt_wrapFunction0(nlesrp_IPacket06ClientFailure_packetLength)], nlesrp_IPacketFFErrorCode, "IPacketFFErrorCode", 52, nlesrp_IPacket, [], 0, 3, [0,0,0], 0, ["$read5", $rt_wrapFunction1(nlesrp_IPacketFFErrorCode_read)], juf_Supplier, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_MathHelper, 0, jl_Object, [], 0, 3, 0, 0, 0, jt_FieldPosition, 0, jl_Object, [], 0, 3, 0, 0, 0, jl_Object$monitorEnterWait$lambda$_6_0, "Object$monitorEnterWait$lambda$_6_0", 17, jl_Object, [otp_PlatformRunnable], 0, 3, 0, 0, 0, jm_Multiplication, 0, jl_Object, [], 0, 0, 0, jm_Multiplication_$callClinit, 0, otcit_DoubleSynthesizer, 0, jl_Object, [], 4, 3, 0, 0, 0, nle_LANPeerEvent, 0, jl_Object, [], 3, 3, 0, 0, 0, nle_LANPeerEvent$LANPeerDisconnectEvent, 0, jl_Object, [nle_LANPeerEvent], 0, 3, 0, 0, 0, nle_LANPeerEvent$LANPeerICECandidateEvent, 0, jl_Object, [nle_LANPeerEvent], 0, 3, 0, 0, 0, nle_LANPeerEvent$LANPeerDataChannelEvent, 0, jl_Object, [nle_LANPeerEvent], 0, 3, 0, 0, 0, nle_LANPeerEvent$LANPeerDescriptionEvent, 0, jl_Object, [nle_LANPeerEvent], 0, 3, 0, 0, 0, nle_LANPeerEvent$LANPeerPacketEvent, 0, jl_Object, [nle_LANPeerEvent], 0, 3, 0, 0, 0, nlesi_IPCInputStream, 0, ji_InputStream, [], 0, 3, 0, 0, ["$read", $rt_wrapFunction0(nlesi_IPCInputStream_read), "$read0", $rt_wrapFunction3(nlesi_IPCInputStream_read0)], nlesi_IPCOutputStream, 0, ji_OutputStream, [], 0, 3, 0, 0, ["$write1", $rt_wrapFunction1(nlesi_IPCOutputStream_write), "$write4", $rt_wrapFunction3(nlesi_IPCOutputStream_write0)], nlesi_IPCPacketManager$_clinit_$lambda$_27_0, "IPCPacketManager$$lambda$_27_0", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_0_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_1, "IPCPacketManager$$lambda$_27_1", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_1_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_2, "IPCPacketManager$$lambda$_27_2", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_2_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_3, "IPCPacketManager$$lambda$_27_3", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_3_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_4, "IPCPacketManager$$lambda$_27_4", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_4_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_5, "IPCPacketManager$$lambda$_27_5", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_5_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_6, "IPCPacketManager$$lambda$_27_6", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_6_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_7, "IPCPacketManager$$lambda$_27_7", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_7_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_8, "IPCPacketManager$$lambda$_27_8", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_8_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_9, "IPCPacketManager$$lambda$_27_9", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_9_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_10, "IPCPacketManager$$lambda$_27_10", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_10_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_11, "IPCPacketManager$$lambda$_27_11", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_11_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_12, "IPCPacketManager$$lambda$_27_12", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_12_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_13, "IPCPacketManager$$lambda$_27_13", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_13_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_14, "IPCPacketManager$$lambda$_27_14", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_14_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_15, "IPCPacketManager$$lambda$_27_15", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_15_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_16, "IPCPacketManager$$lambda$_27_16", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_16_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_17, "IPCPacketManager$$lambda$_27_17", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_17_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_18, "IPCPacketManager$$lambda$_27_18", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_18_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_19, "IPCPacketManager$$lambda$_27_19", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_19_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_20, "IPCPacketManager$$lambda$_27_20", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_20_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_21, "IPCPacketManager$$lambda$_27_21", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_21_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_22, "IPCPacketManager$$lambda$_27_22", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_22_get)], nlesi_IPCPacketManager$_clinit_$lambda$_27_23, "IPCPacketManager$$lambda$_27_23", 53, jl_Object, [juf_Supplier], 0, 3, 0, 0, ["$get3", $rt_wrapFunction0(nlesi_IPCPacketManager$_clinit_$lambda$_27_23_get)]]); $rt_metadata([nleg_StreamBuffer, 0, jl_Object, [], 0, 3, 0, 0, 0, jm_Conversion, 0, jl_Object, [], 0, 0, 0, 0, 0, jm_Elementary, 0, jl_Object, [], 0, 0, 0, 0, 0, otcit_DoubleAnalyzer, 0, jl_Object, [], 4, 3, 0, 0, 0, nleg_StreamBuffer$PoolInstance, 0, jl_Object, [], 0, 3, 0, 0, 0, otcit_DoubleAnalyzer$Result, 0, jl_Object, [], 0, 3, 0, 0, 0, nlesrp_IPacket00Handshake, "IPacket00Handshake", 52, nlesrp_IPacket, [], 0, 3, [0,0,0], 0, ["$read5", $rt_wrapFunction1(nlesrp_IPacket00Handshake_read), "$write6", $rt_wrapFunction1(nlesrp_IPacket00Handshake_write), "$packetLength", $rt_wrapFunction0(nlesrp_IPacket00Handshake_packetLength)], nlesrp_IPacket01ICEServers, "IPacket01ICEServers", 52, nlesrp_IPacket, [], 0, 3, [0,0,0], 0, ["$read5", $rt_wrapFunction1(nlesrp_IPacket01ICEServers_read)], nlesrp_IPacket07LocalWorlds, "IPacket07LocalWorlds", 52, nlesrp_IPacket, [], 0, 3, [0,0,0], 0, ["$read5", $rt_wrapFunction1(nlesrp_IPacket07LocalWorlds_read)], nlesrp_IPacket69Pong, "IPacket69Pong", 52, nlesrp_IPacket, [], 0, 3, [0,0,0], 0, ["$read5", $rt_wrapFunction1(nlesrp_IPacket69Pong_read)], nlesrp_IPacketFEDisconnectClient, "IPacketFEDisconnectClient", 52, nlesrp_IPacket, [], 0, 3, [0,0,0], nlesrp_IPacketFEDisconnectClient_$callClinit, ["$read5", $rt_wrapFunction1(nlesrp_IPacketFEDisconnectClient_read)], jur_BackReferencedSingleSet, "BackReferencedSingleSet", 6, jur_SingleSet, [], 0, 0, 0, 0, ["$find0", $rt_wrapFunction3(jur_BackReferencedSingleSet_find), "$findBack", $rt_wrapFunction4(jur_BackReferencedSingleSet_findBack), "$processBackRefReplacement", $rt_wrapFunction0(jur_BackReferencedSingleSet_processBackRefReplacement)], jl_ArithmeticException, "ArithmeticException", 17, jl_RuntimeException, [], 0, 3, 0, 0, 0, jnci_BufferedDecoder, 0, jnc_CharsetDecoder, [], 1, 3, 0, 0, 0, jnci_UTF8Decoder, 0, jnci_BufferedDecoder, [], 0, 3, 0, 0, ["$arrayDecode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_UTF8Decoder_arrayDecode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jnci_AsciiDecoder, 0, jnci_BufferedDecoder, [], 0, 3, 0, 0, ["$arrayDecode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_AsciiDecoder_arrayDecode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jnci_UTF16Decoder, 0, jnci_BufferedDecoder, [], 0, 3, 0, 0, ["$arrayDecode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_UTF16Decoder_arrayDecode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jnci_Iso8859Decoder, 0, jnci_BufferedDecoder, [], 0, 3, 0, 0, ["$arrayDecode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_Iso8859Decoder_arrayDecode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], ju_HashMap$2, 0, ju_AbstractCollection, [], 0, 0, 0, 0, ["$size", $rt_wrapFunction0(ju_HashMap$2_size), "$iterator", $rt_wrapFunction0(ju_HashMap$2_iterator)], jl_ArrayIndexOutOfBoundsException, "ArrayIndexOutOfBoundsException", 17, jl_IndexOutOfBoundsException, [], 0, 3, 0, 0, 0, jn_BufferUnderflowException, "BufferUnderflowException", 9, jl_RuntimeException, [], 0, 3, 0, 0, 0, jur_AbstractCharClass$LazyJavaLowerCase$1, "AbstractCharClass$LazyJavaLowerCase$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaLowerCase$1_contains)], jur_AbstractCharClass$LazyJavaUpperCase$1, "AbstractCharClass$LazyJavaUpperCase$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaUpperCase$1_contains)], jur_AbstractCharClass$LazyJavaWhitespace$1, "AbstractCharClass$LazyJavaWhitespace$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaWhitespace$1_contains)], jur_AbstractCharClass$LazyJavaMirrored$1, "AbstractCharClass$LazyJavaMirrored$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaMirrored$1_contains)], jur_AbstractCharClass$LazyJavaDefined$1, "AbstractCharClass$LazyJavaDefined$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaDefined$1_contains)], jur_AbstractCharClass$LazyJavaDigit$1, "AbstractCharClass$LazyJavaDigit$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaDigit$1_contains)], jur_AbstractCharClass$LazyJavaIdentifierIgnorable$1, "AbstractCharClass$LazyJavaIdentifierIgnorable$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaIdentifierIgnorable$1_contains)], jur_AbstractCharClass$LazyJavaISOControl$1, "AbstractCharClass$LazyJavaISOControl$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaISOControl$1_contains)], jur_AbstractCharClass$LazyJavaJavaIdentifierPart$1, "AbstractCharClass$LazyJavaJavaIdentifierPart$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaJavaIdentifierPart$1_contains)], jur_AbstractCharClass$LazyJavaJavaIdentifierStart$1, "AbstractCharClass$LazyJavaJavaIdentifierStart$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaJavaIdentifierStart$1_contains)], jur_AbstractCharClass$LazyJavaLetter$1, "AbstractCharClass$LazyJavaLetter$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaLetter$1_contains)], jur_AbstractCharClass$LazyJavaLetterOrDigit$1, "AbstractCharClass$LazyJavaLetterOrDigit$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaLetterOrDigit$1_contains)], jur_AbstractCharClass$LazyJavaSpaceChar$1, "AbstractCharClass$LazyJavaSpaceChar$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaSpaceChar$1_contains)], jur_AbstractCharClass$LazyJavaTitleCase$1, "AbstractCharClass$LazyJavaTitleCase$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaTitleCase$1_contains)], jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart$1, "AbstractCharClass$LazyJavaUnicodeIdentifierPart$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaUnicodeIdentifierPart$1_contains)], jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart$1, "AbstractCharClass$LazyJavaUnicodeIdentifierStart$1", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_AbstractCharClass$LazyJavaUnicodeIdentifierStart$1_contains)], jur_UnicodeCategory, "UnicodeCategory", 6, jur_AbstractCharClass, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_UnicodeCategory_contains)], jur_UnicodeCategoryScope, "UnicodeCategoryScope", 6, jur_UnicodeCategory, [], 0, 0, 0, 0, ["$contains0", $rt_wrapFunction1(jur_UnicodeCategoryScope_contains)], nle_BaseNCodec$Context, 0, jl_Object, [], 0, 0, 0, 0, 0, nms_OpenGlHelper, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_TextureManager, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_TexturePackList, 0, jl_Object, [], 0, 3, 0, nms_TexturePackList_$callClinit, 0, nms_ChatAllowedCharacters, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_FontRenderer, "FontRenderer", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_ColorizerGrass, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_ColorizerFoliage, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_AchievementMap, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_StatList, 0, jl_Object, [], 0, 3, 0, nms_StatList_$callClinit, 0, nms_RenderManager, "RenderManager", 43, jl_Object, [], 0, 3, 0, 0, 0]); $rt_metadata([nms_ItemRenderer, 0, jl_Object, [], 0, 3, 0, nms_ItemRenderer_$callClinit, 0, nms_AchievementList, 0, jl_Object, [], 0, 3, 0, nms_AchievementList_$callClinit, 0, nms_IStatStringFormat, "IStatStringFormat", 43, jl_Object, [], 3, 3, 0, 0, 0, nms_StatStringFormatKeyInv, 0, jl_Object, [nms_IStatStringFormat], 0, 0, 0, 0, 0, nms_MouseHelper, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_IWorldAccess, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_RenderGlobal, "RenderGlobal", 43, jl_Object, [nms_IWorldAccess], 0, 3, 0, nms_RenderGlobal_$callClinit, 0, nms_EffectRenderer, "EffectRenderer", 43, jl_Object, [], 0, 3, 0, nms_EffectRenderer_$callClinit, 0, nms_GuiIngame, 0, nms_Gui, [], 0, 3, 0, nms_GuiIngame_$callClinit, 0, nms_StringTranslate, 0, jl_Object, [], 0, 3, 0, nms_StringTranslate_$callClinit, 0, nms_GuiMainMenu, 0, nms_GuiScreen, [], 0, 3, 0, nms_GuiMainMenu_$callClinit, ["$doesGuiPauseGame", $rt_wrapFunction0(nms_GuiMainMenu_doesGuiPauseGame), "$handleMouseInput", $rt_wrapFunction0(nms_GuiMainMenu_handleMouseInput), "$keyTyped", $rt_wrapFunction2(nms_GuiMainMenu_keyTyped), "$initGui", $rt_wrapFunction0(nms_GuiMainMenu_initGui), "$mouseClicked", $rt_wrapFunction3(nms_GuiMainMenu_mouseClicked), "$actionPerformed", $rt_wrapFunction1(nms_GuiMainMenu_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiMainMenu_drawScreen), "$updateScreen", $rt_wrapFunction0(nms_GuiMainMenu_updateScreen)], nms_GuiConnecting, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$updateScreen", $rt_wrapFunction0(nms_GuiConnecting_updateScreen), "$keyTyped", $rt_wrapFunction2(nms_GuiConnecting_keyTyped), "$initGui", $rt_wrapFunction0(nms_GuiConnecting_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiConnecting_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiConnecting_drawScreen), "$doesGuiPauseGame", $rt_wrapFunction0(nms_GuiConnecting_doesGuiPauseGame)], nms_IProgressUpdate, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_LoadingScreenRenderer, 0, jl_Object, [nms_IProgressUpdate], 0, 3, 0, 0, 0, nle_GuiScreenVSyncWarning, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nle_GuiScreenVSyncWarning_initGui), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenVSyncWarning_drawScreen), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenVSyncWarning_actionPerformed)], nms_EnumChatFormatting, "EnumChatFormatting", 43, jl_Enum, [], 12, 3, 0, nms_EnumChatFormatting_$callClinit, ["$toString", $rt_wrapFunction0(nms_EnumChatFormatting_toString)], nms_StatCollector, 0, jl_Object, [], 0, 3, 0, nms_StatCollector_$callClinit, 0, nle_DefaultSkinRenderer, 0, jl_Object, [], 0, 3, 0, nle_DefaultSkinRenderer_$callClinit, 0, nms_GuiMultiplayer, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiMultiplayer_initGui), "$updateScreen", $rt_wrapFunction0(nms_GuiMultiplayer_updateScreen), "$onGuiClosed", $rt_wrapFunction0(nms_GuiMultiplayer_onGuiClosed), "$actionPerformed", $rt_wrapFunction1(nms_GuiMultiplayer_actionPerformed), "$confirmClicked", $rt_wrapFunction2(nms_GuiMultiplayer_confirmClicked), "$keyTyped", $rt_wrapFunction2(nms_GuiMultiplayer_keyTyped), "$drawScreen", $rt_wrapFunction3(nms_GuiMultiplayer_drawScreen), "$mouseClicked", $rt_wrapFunction3(nms_GuiMultiplayer_mouseClicked)], nms_KeyBinding, "KeyBinding", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_IInventory, "IInventory", 43, jl_Object, [], 3, 3, 0, 0, 0, nms_InventoryPlayer, "InventoryPlayer", 43, jl_Object, [nms_IInventory], 0, 3, 0, 0, ["$decrStackSize", $rt_wrapFunction2(nms_InventoryPlayer_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_InventoryPlayer_setInventorySlotContents), "$getStackInSlot", $rt_wrapFunction1(nms_InventoryPlayer_getStackInSlot), "$getInventoryStackLimit", $rt_wrapFunction0(nms_InventoryPlayer_getInventoryStackLimit), "$onInventoryChanged", $rt_wrapFunction0(nms_InventoryPlayer_onInventoryChanged)], nms_EnumOptions, "EnumOptions", 43, jl_Enum, [], 12, 3, 0, 0, 0, nms_GuiContainer, "GuiContainer", 43, nms_GuiScreen, [], 1, 3, 0, nms_GuiContainer_$callClinit, ["$initGui", $rt_wrapFunction0(nms_GuiContainer_initGui), "$drawScreen", $rt_wrapFunction3(nms_GuiContainer_drawScreen), "$drawItemStackTooltip", $rt_wrapFunction3(nms_GuiContainer_drawItemStackTooltip), "$mouseClicked", $rt_wrapFunction3(nms_GuiContainer_mouseClicked), "$mouseMovedOrUp", $rt_wrapFunction3(nms_GuiContainer_mouseMovedOrUp), "$handleMouseClick", $rt_wrapFunction4(nms_GuiContainer_handleMouseClick), "$keyTyped", $rt_wrapFunction2(nms_GuiContainer_keyTyped), "$onGuiClosed", $rt_wrapFunction0(nms_GuiContainer_onGuiClosed), "$doesGuiPauseGame", $rt_wrapFunction0(nms_GuiContainer_doesGuiPauseGame), "$updateScreen", $rt_wrapFunction0(nms_GuiContainer_updateScreen)], nms_InventoryEffectRenderer, 0, nms_GuiContainer, [], 1, 3, 0, 0, 0, nms_GuiInventory, 0, nms_InventoryEffectRenderer, [], 0, 3, 0, 0, ["$updateScreen", $rt_wrapFunction0(nms_GuiInventory_updateScreen), "$initGui", $rt_wrapFunction0(nms_GuiInventory_initGui), "$drawGuiContainerForegroundLayer", $rt_wrapFunction2(nms_GuiInventory_drawGuiContainerForegroundLayer), "$drawScreen", $rt_wrapFunction3(nms_GuiInventory_drawScreen), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction3(nms_GuiInventory_drawGuiContainerBackgroundLayer), "$actionPerformed", $rt_wrapFunction1(nms_GuiInventory_actionPerformed)], nms_GuiChat, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiChat_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiChat_actionPerformed), "$onGuiClosed", $rt_wrapFunction0(nms_GuiChat_onGuiClosed), "$updateScreen", $rt_wrapFunction0(nms_GuiChat_updateScreen), "$keyTyped", $rt_wrapFunction2(nms_GuiChat_keyTyped), "$handleMouseInput", $rt_wrapFunction0(nms_GuiChat_handleMouseInput), "$mouseClicked", $rt_wrapFunction3(nms_GuiChat_mouseClicked), "$confirmClicked", $rt_wrapFunction2(nms_GuiChat_confirmClicked), "$drawScreen", $rt_wrapFunction3(nms_GuiChat_drawScreen), "$doesGuiPauseGame", $rt_wrapFunction0(nms_GuiChat_doesGuiPauseGame)], nms_WorldClient, "WorldClient", 43, nms_World, [], 0, 3, 0, 0, 0, nms_GuiSleepMP, 0, nms_GuiChat, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiSleepMP_initGui), "$keyTyped", $rt_wrapFunction2(nms_GuiSleepMP_keyTyped), "$actionPerformed", $rt_wrapFunction1(nms_GuiSleepMP_actionPerformed)], nms_SoundManager$EntitySoundEvent, "SoundManager$EntitySoundEvent", 43, jl_Object, [], 0, 0, 0, 0, 0, nms_SoundManager$QueuedSoundEvent, "SoundManager$QueuedSoundEvent", 43, jl_Object, [], 0, 0, 0, 0, 0, nle_EnumBrowser, 0, jl_Enum, [], 12, 3, 0, 0, 0, jt_DateFormatElement$Numeric, "DateFormatElement$Numeric", 16, jt_DateFormatElement, [], 0, 3, 0, 0, ["$format", $rt_wrapFunction2(jt_DateFormatElement$Numeric_format), "$processBeforeFormat", $rt_wrapFunction1(jt_DateFormatElement$Numeric_processBeforeFormat), "$equals", $rt_wrapFunction1(jt_DateFormatElement$Numeric_equals), "$hashCode", $rt_wrapFunction0(jt_DateFormatElement$Numeric_hashCode)], jt_DateFormatElement$WeekdayText, "DateFormatElement$WeekdayText", 16, jt_DateFormatElement, [], 0, 3, 0, 0, ["$format", $rt_wrapFunction2(jt_DateFormatElement$WeekdayText_format), "$equals", $rt_wrapFunction1(jt_DateFormatElement$WeekdayText_equals), "$hashCode", $rt_wrapFunction0(jt_DateFormatElement$WeekdayText_hashCode)], jt_DateFormatElement$EraText, "DateFormatElement$EraText", 16, jt_DateFormatElement, [], 0, 3, 0, 0, ["$format", $rt_wrapFunction2(jt_DateFormatElement$EraText_format), "$equals", $rt_wrapFunction1(jt_DateFormatElement$EraText_equals), "$hashCode", $rt_wrapFunction0(jt_DateFormatElement$EraText_hashCode)], jt_DateFormatElement$BaseTimezone, "DateFormatElement$BaseTimezone", 16, jt_DateFormatElement, [], 1, 3, 0, 0, ["$equals", $rt_wrapFunction1(jt_DateFormatElement$BaseTimezone_equals), "$hashCode", $rt_wrapFunction0(jt_DateFormatElement$BaseTimezone_hashCode)], jt_DateFormatElement$Rfc822Timezone, "DateFormatElement$Rfc822Timezone", 16, jt_DateFormatElement$BaseTimezone, [], 0, 3, 0, 0, ["$format", $rt_wrapFunction2(jt_DateFormatElement$Rfc822Timezone_format)], jt_DateFormatElement$AmPmText, "DateFormatElement$AmPmText", 16, jt_DateFormatElement, [], 0, 3, 0, 0, ["$format", $rt_wrapFunction2(jt_DateFormatElement$AmPmText_format), "$equals", $rt_wrapFunction1(jt_DateFormatElement$AmPmText_equals), "$hashCode", $rt_wrapFunction0(jt_DateFormatElement$AmPmText_hashCode)], jt_DateFormatElement$NumericHour, "DateFormatElement$NumericHour", 16, jt_DateFormatElement$Numeric, [], 0, 3, 0, 0, ["$processBeforeFormat", $rt_wrapFunction1(jt_DateFormatElement$NumericHour_processBeforeFormat), "$equals", $rt_wrapFunction1(jt_DateFormatElement$NumericHour_equals), "$hashCode", $rt_wrapFunction0(jt_DateFormatElement$NumericHour_hashCode)], jt_DateFormatElement$NumericWeekday, "DateFormatElement$NumericWeekday", 16, jt_DateFormatElement$Numeric, [], 0, 3, 0, 0, ["$processBeforeFormat", $rt_wrapFunction1(jt_DateFormatElement$NumericWeekday_processBeforeFormat)], jt_DateFormatElement$GeneralTimezone, "DateFormatElement$GeneralTimezone", 16, jt_DateFormatElement$BaseTimezone, [], 0, 3, 0, 0, ["$format", $rt_wrapFunction2(jt_DateFormatElement$GeneralTimezone_format)], jt_DateFormatElement$ConstantText, "DateFormatElement$ConstantText", 16, jt_DateFormatElement, [], 0, 3, 0, 0, ["$format", $rt_wrapFunction2(jt_DateFormatElement$ConstantText_format), "$equals", $rt_wrapFunction1(jt_DateFormatElement$ConstantText_equals), "$hashCode", $rt_wrapFunction0(jt_DateFormatElement$ConstantText_hashCode)], jt_DateFormatElement$Year, "DateFormatElement$Year", 16, jt_DateFormatElement, [], 0, 3, 0, 0, ["$format", $rt_wrapFunction2(jt_DateFormatElement$Year_format), "$equals", $rt_wrapFunction1(jt_DateFormatElement$Year_equals), "$hashCode", $rt_wrapFunction0(jt_DateFormatElement$Year_hashCode)], jt_DateFormatElement$Iso8601Timezone, "DateFormatElement$Iso8601Timezone", 16, jt_DateFormatElement, [], 0, 3, 0, 0, ["$format", $rt_wrapFunction2(jt_DateFormatElement$Iso8601Timezone_format), "$equals", $rt_wrapFunction1(jt_DateFormatElement$Iso8601Timezone_equals), "$hashCode", $rt_wrapFunction0(jt_DateFormatElement$Iso8601Timezone_hashCode)], jt_DateFormatElement$MonthText, "DateFormatElement$MonthText", 16, jt_DateFormatElement, [], 0, 3, 0, 0, ["$format", $rt_wrapFunction2(jt_DateFormatElement$MonthText_format), "$equals", $rt_wrapFunction1(jt_DateFormatElement$MonthText_equals), "$hashCode", $rt_wrapFunction0(jt_DateFormatElement$MonthText_hashCode)], jt_DateFormatElement$NumericMonth, "DateFormatElement$NumericMonth", 16, jt_DateFormatElement$Numeric, [], 0, 3, 0, 0, ["$processBeforeFormat", $rt_wrapFunction1(jt_DateFormatElement$NumericMonth_processBeforeFormat)], jm_BitLevel, 0, jl_Object, [], 0, 0, 0, 0, 0, ju_ConcurrentModificationException, "ConcurrentModificationException", 4, jl_RuntimeException, [], 0, 3, 0, 0, 0, ju_WeakHashMap, 0, ju_AbstractMap, [ju_Map], 0, 3, 0, 0, 0, jnc_CharsetEncoder, "CharsetEncoder", 10, jl_Object, [], 1, 3, 0, 0, 0]); $rt_metadata([nleav_VFile, "VFile", 47, jl_Object, [], 0, 3, 0, 0, ["$toString", $rt_wrapFunction0(nleav_VFile_toString), "$hashCode", $rt_wrapFunction0(nleav_VFile_hashCode), "$equals", $rt_wrapFunction1(nleav_VFile_equals)], nms_IntHashMap, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_IconRegister, "IconRegister", 43, jl_Object, [], 3, 3, 0, 0, 0, nle_TextureTerrainMap, "TextureTerrainMap", 45, jl_Object, [nms_IconRegister], 0, 3, 0, nle_TextureTerrainMap_$callClinit, ["$registerIcon", $rt_wrapFunction2(nle_TextureTerrainMap_registerIcon)], nms_TextureMap, 0, jl_Object, [nms_IconRegister], 0, 3, 0, nms_TextureMap_$callClinit, ["$registerIcon", $rt_wrapFunction2(nms_TextureMap_registerIcon)], ji_InputStreamReader, 0, ji_Reader, [], 0, 3, 0, 0, ["$close", $rt_wrapFunction0(ji_InputStreamReader_close), "$read3", $rt_wrapFunction3(ji_InputStreamReader_read)], nms_MouseFilter, 0, jl_Object, [], 0, 3, 0, 0, 0, nle_EaglerMisc, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_EntityLiving, "EntityLiving", 43, nms_EntityLivingBase, [], 1, 3, 0, 0, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntityLiving_applyEntityAttributes), "$setAttackTarget", $rt_wrapFunction1(nms_EntityLiving_setAttackTarget), "$canAttackClass", $rt_wrapFunction1(nms_EntityLiving_canAttackClass), "$entityInit", $rt_wrapFunction0(nms_EntityLiving_entityInit), "$getTalkInterval", $rt_wrapFunction0(nms_EntityLiving_getTalkInterval), "$onEntityUpdate", $rt_wrapFunction0(nms_EntityLiving_onEntityUpdate), "$getExperiencePoints", $rt_wrapFunction1(nms_EntityLiving_getExperiencePoints), "$onUpdate", $rt_wrapFunction0(nms_EntityLiving_onUpdate), "$func_110146_f", $rt_wrapFunction2(nms_EntityLiving_func_110146_f), "$getLivingSound", $rt_wrapFunction0(nms_EntityLiving_getLivingSound), "$getDropItemId", $rt_wrapFunction0(nms_EntityLiving_getDropItemId), "$dropFewItems", $rt_wrapFunction2(nms_EntityLiving_dropFewItems), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityLiving_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityLiving_readEntityFromNBT), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityLiving_onLivingUpdate), "$isAIEnabled", $rt_wrapFunction0(nms_EntityLiving_isAIEnabled), "$canDespawn", $rt_wrapFunction0(nms_EntityLiving_canDespawn), "$despawnEntity", $rt_wrapFunction0(nms_EntityLiving_despawnEntity), "$updateAITasks", $rt_wrapFunction0(nms_EntityLiving_updateAITasks), "$updateEntityActionState", $rt_wrapFunction0(nms_EntityLiving_updateEntityActionState), "$getVerticalFaceSpeed", $rt_wrapFunction0(nms_EntityLiving_getVerticalFaceSpeed), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityLiving_getCanSpawnHere), "$getMaxSafePointTries", $rt_wrapFunction0(nms_EntityLiving_getMaxSafePointTries), "$getHeldItem", $rt_wrapFunction0(nms_EntityLiving_getHeldItem), "$getCurrentItemOrArmor", $rt_wrapFunction1(nms_EntityLiving_getCurrentItemOrArmor), "$setCurrentItemOrArmor", $rt_wrapFunction2(nms_EntityLiving_setCurrentItemOrArmor), "$getLastActiveItems", $rt_wrapFunction0(nms_EntityLiving_getLastActiveItems), "$dropEquipment", $rt_wrapFunction2(nms_EntityLiving_dropEquipment), "$onSpawnWithEgg", $rt_wrapFunction1(nms_EntityLiving_onSpawnWithEgg), "$getEntityName", $rt_wrapFunction0(nms_EntityLiving_getEntityName), "$interactFirst", $rt_wrapFunction1(nms_EntityLiving_interactFirst), "$interact", $rt_wrapFunction1(nms_EntityLiving_interact), "$func_110159_bB", $rt_wrapFunction0(nms_EntityLiving_func_110159_bB), "$allowLeashing", $rt_wrapFunction0(nms_EntityLiving_allowLeashing)], nms_EntityCreature, "EntityCreature", 43, nms_EntityLiving, [], 1, 3, 0, nms_EntityCreature_$callClinit, ["$updateEntityActionState", $rt_wrapFunction0(nms_EntityCreature_updateEntityActionState), "$attackEntity", $rt_wrapFunction2(nms_EntityCreature_attackEntity), "$getBlockPathWeight", $rt_wrapFunction3(nms_EntityCreature_getBlockPathWeight), "$findPlayerToAttack", $rt_wrapFunction0(nms_EntityCreature_findPlayerToAttack), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityCreature_getCanSpawnHere), "$func_110159_bB", $rt_wrapFunction0(nms_EntityCreature_func_110159_bB), "$func_142017_o", $rt_wrapFunction1(nms_EntityCreature_func_142017_o)], nms_IAnimals, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_IMob, 0, jl_Object, [nms_IAnimals], 3, 3, 0, 0, 0, nms_EntityMob, "EntityMob", 43, nms_EntityCreature, [nms_IMob], 1, 3, 0, 0, ["$onLivingUpdate", $rt_wrapFunction0(nms_EntityMob_onLivingUpdate), "$onUpdate", $rt_wrapFunction0(nms_EntityMob_onUpdate), "$findPlayerToAttack", $rt_wrapFunction0(nms_EntityMob_findPlayerToAttack), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityMob_attackEntityFrom), "$attackEntityAsMob", $rt_wrapFunction1(nms_EntityMob_attackEntityAsMob), "$attackEntity", $rt_wrapFunction2(nms_EntityMob_attackEntity), "$getBlockPathWeight", $rt_wrapFunction3(nms_EntityMob_getBlockPathWeight), "$isValidLightLevel", $rt_wrapFunction0(nms_EntityMob_isValidLightLevel), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityMob_getCanSpawnHere)], nms_EntitySpider, "EntitySpider", 43, nms_EntityMob, [], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntitySpider_entityInit), "$onUpdate", $rt_wrapFunction0(nms_EntitySpider_onUpdate), "$applyEntityAttributes", $rt_wrapFunction0(nms_EntitySpider_applyEntityAttributes), "$findPlayerToAttack", $rt_wrapFunction0(nms_EntitySpider_findPlayerToAttack), "$getLivingSound", $rt_wrapFunction0(nms_EntitySpider_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntitySpider_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntitySpider_getDeathSound), "$playStepSound", $rt_wrapFunction4(nms_EntitySpider_playStepSound), "$attackEntity", $rt_wrapFunction2(nms_EntitySpider_attackEntity), "$getDropItemId", $rt_wrapFunction0(nms_EntitySpider_getDropItemId), "$dropFewItems", $rt_wrapFunction2(nms_EntitySpider_dropFewItems), "$isOnLadder", $rt_wrapFunction0(nms_EntitySpider_isOnLadder), "$setInWeb", $rt_wrapFunction0(nms_EntitySpider_setInWeb), "$getCreatureAttribute", $rt_wrapFunction0(nms_EntitySpider_getCreatureAttribute), "$isPotionApplicable", $rt_wrapFunction1(nms_EntitySpider_isPotionApplicable), "$onSpawnWithEgg", $rt_wrapFunction1(nms_EntitySpider_onSpawnWithEgg)], nms_EntityCaveSpider, "EntityCaveSpider", 43, nms_EntitySpider, [], 0, 3, [0,0,0], 0, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntityCaveSpider_applyEntityAttributes), "$attackEntityAsMob", $rt_wrapFunction1(nms_EntityCaveSpider_attackEntityAsMob), "$onSpawnWithEgg", $rt_wrapFunction1(nms_EntityCaveSpider_onSpawnWithEgg)], nms_Render, "Render", 43, jl_Object, [], 1, 3, 0, nms_Render_$callClinit, ["$updateIcons", $rt_wrapFunction1(nms_Render_updateIcons)], nms_RendererLivingEntity, "RendererLivingEntity", 43, nms_Render, [], 1, 3, 0, nms_RendererLivingEntity_$callClinit, ["$renderModel", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_RendererLivingEntity_renderModel(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$renderLivingAt", $rt_wrapFunction4(nms_RendererLivingEntity_renderLivingAt), "$rotateCorpse", $rt_wrapFunction4(nms_RendererLivingEntity_rotateCorpse), "$handleRotationFloat", $rt_wrapFunction2(nms_RendererLivingEntity_handleRotationFloat), "$renderEquippedItems", $rt_wrapFunction2(nms_RendererLivingEntity_renderEquippedItems), "$inheritRenderPass", $rt_wrapFunction3(nms_RendererLivingEntity_inheritRenderPass), "$shouldRenderPass", $rt_wrapFunction3(nms_RendererLivingEntity_shouldRenderPass), "$func_82408_c", $rt_wrapFunction3(nms_RendererLivingEntity_func_82408_c), "$getDeathMaxRotation", $rt_wrapFunction1(nms_RendererLivingEntity_getDeathMaxRotation), "$getColorMultiplier", $rt_wrapFunction3(nms_RendererLivingEntity_getColorMultiplier), "$preRenderCallback", $rt_wrapFunction2(nms_RendererLivingEntity_preRenderCallback), "$func_110813_b", $rt_wrapFunction1(nms_RendererLivingEntity_func_110813_b), "$func_96449_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_RendererLivingEntity_func_96449_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_RenderLiving, "RenderLiving", 43, nms_RendererLivingEntity, [], 1, 3, 0, 0, ["$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderLiving_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$func_110813_b", $rt_wrapFunction1(nms_RenderLiving_func_110813_b), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderLiving_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_RenderSpider, "RenderSpider", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderSpider_$callClinit, ["$getSpiderTextures", $rt_wrapFunction1(nms_RenderSpider_getSpiderTextures), "$getDeathMaxRotation", $rt_wrapFunction1(nms_RenderSpider_getDeathMaxRotation), "$bindTexture0", $rt_wrapFunction1(nms_RenderSpider_bindTexture), "$shouldRenderPass", $rt_wrapFunction3(nms_RenderSpider_shouldRenderPass), "$getEntityTexture", $rt_wrapFunction1(nms_RenderSpider_getEntityTexture)], nms_RenderCaveSpider, "RenderCaveSpider", 43, nms_RenderSpider, [], 0, 3, 0, nms_RenderCaveSpider_$callClinit, ["$getSpiderTextures", $rt_wrapFunction1(nms_RenderCaveSpider_getSpiderTextures), "$preRenderCallback", $rt_wrapFunction2(nms_RenderCaveSpider_preRenderCallback), "$getEntityTexture", $rt_wrapFunction1(nms_RenderCaveSpider_getEntityTexture)], nms_EntityAgeable, "EntityAgeable", 43, nms_EntityCreature, [], 1, 3, 0, 0, ["$entityInit", $rt_wrapFunction0(nms_EntityAgeable_entityInit), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityAgeable_onLivingUpdate), "$isChild", $rt_wrapFunction0(nms_EntityAgeable_isChild), "$setScaleForAge", $rt_wrapFunction1(nms_EntityAgeable_setScaleForAge)], nms_EntityAnimal, "EntityAnimal", 43, nms_EntityAgeable, [nms_IAnimals], 1, 3, 0, 0, ["$updateAITick", $rt_wrapFunction0(nms_EntityAnimal_updateAITick), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityAnimal_onLivingUpdate), "$attackEntity", $rt_wrapFunction2(nms_EntityAnimal_attackEntity), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityAnimal_attackEntityFrom), "$getBlockPathWeight", $rt_wrapFunction3(nms_EntityAnimal_getBlockPathWeight), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityAnimal_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityAnimal_readEntityFromNBT), "$findPlayerToAttack", $rt_wrapFunction0(nms_EntityAnimal_findPlayerToAttack), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityAnimal_getCanSpawnHere), "$getTalkInterval", $rt_wrapFunction0(nms_EntityAnimal_getTalkInterval), "$canDespawn", $rt_wrapFunction0(nms_EntityAnimal_canDespawn), "$getExperiencePoints", $rt_wrapFunction1(nms_EntityAnimal_getExperiencePoints), "$isBreedingItem", $rt_wrapFunction1(nms_EntityAnimal_isBreedingItem), "$interact", $rt_wrapFunction1(nms_EntityAnimal_interact), "$canMateWith", $rt_wrapFunction1(nms_EntityAnimal_canMateWith), "$handleHealthUpdate", $rt_wrapFunction1(nms_EntityAnimal_handleHealthUpdate)], nms_EntityPig, "EntityPig", 43, nms_EntityAnimal, [], 0, 3, [0,0,0], 0, ["$isAIEnabled", $rt_wrapFunction0(nms_EntityPig_isAIEnabled), "$applyEntityAttributes", $rt_wrapFunction0(nms_EntityPig_applyEntityAttributes), "$updateAITasks", $rt_wrapFunction0(nms_EntityPig_updateAITasks), "$entityInit", $rt_wrapFunction0(nms_EntityPig_entityInit), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityPig_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityPig_readEntityFromNBT), "$getLivingSound", $rt_wrapFunction0(nms_EntityPig_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityPig_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityPig_getDeathSound), "$playStepSound", $rt_wrapFunction4(nms_EntityPig_playStepSound), "$interact", $rt_wrapFunction1(nms_EntityPig_interact), "$getDropItemId", $rt_wrapFunction0(nms_EntityPig_getDropItemId), "$dropFewItems", $rt_wrapFunction2(nms_EntityPig_dropFewItems), "$onStruckByLightning", $rt_wrapFunction1(nms_EntityPig_onStruckByLightning), "$fall", $rt_wrapFunction1(nms_EntityPig_fall), "$isBreedingItem", $rt_wrapFunction1(nms_EntityPig_isBreedingItem), "$createChild", $rt_wrapFunction1(nms_EntityPig_createChild)], nms_RenderPig, "RenderPig", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderPig_$callClinit, ["$bindTexture0", $rt_wrapFunction1(nms_RenderPig_bindTexture), "$shouldRenderPass", $rt_wrapFunction3(nms_RenderPig_shouldRenderPass), "$getEntityTexture", $rt_wrapFunction1(nms_RenderPig_getEntityTexture)], nms_ModelBase, "ModelBase", 43, jl_Object, [], 1, 3, 0, 0, ["$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelBase_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setLivingAnimations", $rt_wrapFunction4(nms_ModelBase_setLivingAnimations)], nms_ModelQuadruped, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelQuadruped_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelQuadruped_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelPig, 0, nms_ModelQuadruped, [], 0, 3, 0, 0, 0, nms_EntitySheep, "EntitySheep", 43, nms_EntityAnimal, [], 0, 3, [0,0,0], 0, ["$isAIEnabled", $rt_wrapFunction0(nms_EntitySheep_isAIEnabled), "$updateAITasks", $rt_wrapFunction0(nms_EntitySheep_updateAITasks), "$onLivingUpdate", $rt_wrapFunction0(nms_EntitySheep_onLivingUpdate), "$applyEntityAttributes", $rt_wrapFunction0(nms_EntitySheep_applyEntityAttributes), "$entityInit", $rt_wrapFunction0(nms_EntitySheep_entityInit), "$dropFewItems", $rt_wrapFunction2(nms_EntitySheep_dropFewItems), "$getDropItemId", $rt_wrapFunction0(nms_EntitySheep_getDropItemId), "$handleHealthUpdate", $rt_wrapFunction1(nms_EntitySheep_handleHealthUpdate), "$interact", $rt_wrapFunction1(nms_EntitySheep_interact), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntitySheep_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntitySheep_readEntityFromNBT), "$getLivingSound", $rt_wrapFunction0(nms_EntitySheep_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntitySheep_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntitySheep_getDeathSound), "$playStepSound", $rt_wrapFunction4(nms_EntitySheep_playStepSound), "$onSpawnWithEgg", $rt_wrapFunction1(nms_EntitySheep_onSpawnWithEgg), "$createChild", $rt_wrapFunction1(nms_EntitySheep_createChild)], nms_RenderSheep, "RenderSheep", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderSheep_$callClinit, ["$bindTexture0", $rt_wrapFunction1(nms_RenderSheep_bindTexture), "$shouldRenderPass", $rt_wrapFunction3(nms_RenderSheep_shouldRenderPass), "$getEntityTexture", $rt_wrapFunction1(nms_RenderSheep_getEntityTexture)], nms_ModelSheep2, 0, nms_ModelQuadruped, [], 0, 3, 0, 0, ["$setLivingAnimations", $rt_wrapFunction4(nms_ModelSheep2_setLivingAnimations), "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelSheep2_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelSheep1, 0, nms_ModelQuadruped, [], 0, 3, 0, 0, ["$setLivingAnimations", $rt_wrapFunction4(nms_ModelSheep1_setLivingAnimations), "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelSheep1_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_EntityCow, "EntityCow", 43, nms_EntityAnimal, [], 0, 3, [0,0,0], 0, ["$isAIEnabled", $rt_wrapFunction0(nms_EntityCow_isAIEnabled), "$applyEntityAttributes", $rt_wrapFunction0(nms_EntityCow_applyEntityAttributes), "$getLivingSound", $rt_wrapFunction0(nms_EntityCow_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityCow_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityCow_getDeathSound), "$playStepSound", $rt_wrapFunction4(nms_EntityCow_playStepSound), "$getSoundVolume", $rt_wrapFunction0(nms_EntityCow_getSoundVolume), "$getDropItemId", $rt_wrapFunction0(nms_EntityCow_getDropItemId), "$dropFewItems", $rt_wrapFunction2(nms_EntityCow_dropFewItems), "$interact", $rt_wrapFunction1(nms_EntityCow_interact), "$spawnBabyAnimal", $rt_wrapFunction1(nms_EntityCow_spawnBabyAnimal), "$createChild", $rt_wrapFunction1(nms_EntityCow_createChild)], nms_RenderCow, "RenderCow", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderCow_$callClinit, ["$bindTexture0", $rt_wrapFunction1(nms_RenderCow_bindTexture), "$getEntityTexture", $rt_wrapFunction1(nms_RenderCow_getEntityTexture)], nms_ModelCow, 0, nms_ModelQuadruped, [], 0, 3, 0, 0, 0, nms_EntityMooshroom, "EntityMooshroom", 43, nms_EntityCow, [], 0, 3, [0,0,0], 0, ["$interact", $rt_wrapFunction1(nms_EntityMooshroom_interact), "$spawnBabyAnimal", $rt_wrapFunction1(nms_EntityMooshroom_spawnBabyAnimal), "$createChild", $rt_wrapFunction1(nms_EntityMooshroom_createChild)], nms_RenderMooshroom, "RenderMooshroom", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderMooshroom_$callClinit, ["$bindTexture0", $rt_wrapFunction1(nms_RenderMooshroom_bindTexture), "$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderMooshroom_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$renderEquippedItems", $rt_wrapFunction2(nms_RenderMooshroom_renderEquippedItems), "$getEntityTexture", $rt_wrapFunction1(nms_RenderMooshroom_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderMooshroom_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityOwnable, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_EntityTameable, "EntityTameable", 43, nms_EntityAnimal, [nms_EntityOwnable], 1, 3, 0, 0, ["$handleHealthUpdate", $rt_wrapFunction1(nms_EntityTameable_handleHealthUpdate), "$setTamed", $rt_wrapFunction1(nms_EntityTameable_setTamed), "$getTeam", $rt_wrapFunction0(nms_EntityTameable_getTeam), "$isOnSameTeam", $rt_wrapFunction1(nms_EntityTameable_isOnSameTeam)], nms_EntityWolf, "EntityWolf", 43, nms_EntityTameable, [], 0, 3, [0,0,0], 0, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntityWolf_applyEntityAttributes), "$isAIEnabled", $rt_wrapFunction0(nms_EntityWolf_isAIEnabled), "$setAttackTarget", $rt_wrapFunction1(nms_EntityWolf_setAttackTarget), "$updateAITick", $rt_wrapFunction0(nms_EntityWolf_updateAITick), "$entityInit", $rt_wrapFunction0(nms_EntityWolf_entityInit), "$playStepSound", $rt_wrapFunction4(nms_EntityWolf_playStepSound), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityWolf_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityWolf_readEntityFromNBT), "$getLivingSound", $rt_wrapFunction0(nms_EntityWolf_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityWolf_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityWolf_getDeathSound), "$getSoundVolume", $rt_wrapFunction0(nms_EntityWolf_getSoundVolume), "$getDropItemId", $rt_wrapFunction0(nms_EntityWolf_getDropItemId), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityWolf_onLivingUpdate), "$onUpdate", $rt_wrapFunction0(nms_EntityWolf_onUpdate), "$getEyeHeight", $rt_wrapFunction0(nms_EntityWolf_getEyeHeight), "$getVerticalFaceSpeed", $rt_wrapFunction0(nms_EntityWolf_getVerticalFaceSpeed), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityWolf_attackEntityFrom), "$attackEntityAsMob", $rt_wrapFunction1(nms_EntityWolf_attackEntityAsMob), "$setTamed", $rt_wrapFunction1(nms_EntityWolf_setTamed), "$interact", $rt_wrapFunction1(nms_EntityWolf_interact), "$handleHealthUpdate", $rt_wrapFunction1(nms_EntityWolf_handleHealthUpdate), "$isBreedingItem", $rt_wrapFunction1(nms_EntityWolf_isBreedingItem), "$canMateWith", $rt_wrapFunction1(nms_EntityWolf_canMateWith), "$canDespawn", $rt_wrapFunction0(nms_EntityWolf_canDespawn), "$createChild", $rt_wrapFunction1(nms_EntityWolf_createChild)], nms_RenderWolf, "RenderWolf", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderWolf_$callClinit, ["$shouldRenderPass", $rt_wrapFunction3(nms_RenderWolf_shouldRenderPass), "$bindTexture0", $rt_wrapFunction1(nms_RenderWolf_bindTexture), "$handleRotationFloat", $rt_wrapFunction2(nms_RenderWolf_handleRotationFloat), "$getEntityTexture", $rt_wrapFunction1(nms_RenderWolf_getEntityTexture)], nms_ModelWolf, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelWolf_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setLivingAnimations", $rt_wrapFunction4(nms_ModelWolf_setLivingAnimations), "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelWolf_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_EntityChicken, "EntityChicken", 43, nms_EntityAnimal, [], 0, 3, [0,0,0], 0, ["$isAIEnabled", $rt_wrapFunction0(nms_EntityChicken_isAIEnabled), "$applyEntityAttributes", $rt_wrapFunction0(nms_EntityChicken_applyEntityAttributes), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityChicken_onLivingUpdate), "$fall", $rt_wrapFunction1(nms_EntityChicken_fall), "$getLivingSound", $rt_wrapFunction0(nms_EntityChicken_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityChicken_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityChicken_getDeathSound), "$playStepSound", $rt_wrapFunction4(nms_EntityChicken_playStepSound), "$getDropItemId", $rt_wrapFunction0(nms_EntityChicken_getDropItemId), "$dropFewItems", $rt_wrapFunction2(nms_EntityChicken_dropFewItems), "$isBreedingItem", $rt_wrapFunction1(nms_EntityChicken_isBreedingItem), "$createChild", $rt_wrapFunction1(nms_EntityChicken_createChild)], nms_RenderChicken, "RenderChicken", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderChicken_$callClinit, ["$bindTexture0", $rt_wrapFunction1(nms_RenderChicken_bindTexture), "$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderChicken_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$handleRotationFloat", $rt_wrapFunction2(nms_RenderChicken_handleRotationFloat), "$getEntityTexture", $rt_wrapFunction1(nms_RenderChicken_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderChicken_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_ModelChicken, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelChicken_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelChicken_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_EntityOcelot, "EntityOcelot", 43, nms_EntityTameable, [], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntityOcelot_entityInit), "$updateAITick", $rt_wrapFunction0(nms_EntityOcelot_updateAITick), "$canDespawn", $rt_wrapFunction0(nms_EntityOcelot_canDespawn), "$isAIEnabled", $rt_wrapFunction0(nms_EntityOcelot_isAIEnabled), "$applyEntityAttributes", $rt_wrapFunction0(nms_EntityOcelot_applyEntityAttributes), "$fall", $rt_wrapFunction1(nms_EntityOcelot_fall), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityOcelot_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityOcelot_readEntityFromNBT), "$getLivingSound", $rt_wrapFunction0(nms_EntityOcelot_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityOcelot_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityOcelot_getDeathSound), "$getSoundVolume", $rt_wrapFunction0(nms_EntityOcelot_getSoundVolume), "$getDropItemId", $rt_wrapFunction0(nms_EntityOcelot_getDropItemId), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityOcelot_attackEntityFrom), "$dropFewItems", $rt_wrapFunction2(nms_EntityOcelot_dropFewItems), "$interact", $rt_wrapFunction1(nms_EntityOcelot_interact), "$isBreedingItem", $rt_wrapFunction1(nms_EntityOcelot_isBreedingItem), "$canMateWith", $rt_wrapFunction1(nms_EntityOcelot_canMateWith), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityOcelot_getCanSpawnHere), "$getEntityName", $rt_wrapFunction0(nms_EntityOcelot_getEntityName), "$onSpawnWithEgg", $rt_wrapFunction1(nms_EntityOcelot_onSpawnWithEgg), "$createChild", $rt_wrapFunction1(nms_EntityOcelot_createChild)], nms_RenderOcelot, "RenderOcelot", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderOcelot_$callClinit, ["$bindTexture0", $rt_wrapFunction1(nms_RenderOcelot_bindTexture), "$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderOcelot_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$preRenderCallback", $rt_wrapFunction2(nms_RenderOcelot_preRenderCallback), "$getEntityTexture", $rt_wrapFunction1(nms_RenderOcelot_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderOcelot_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_ModelOcelot, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelOcelot_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelOcelot_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setLivingAnimations", $rt_wrapFunction4(nms_ModelOcelot_setLivingAnimations)], nms_EntitySilverfish, "EntitySilverfish", 43, nms_EntityMob, [], 0, 3, [0,0,0], 0, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntitySilverfish_applyEntityAttributes), "$canTriggerWalking", $rt_wrapFunction0(nms_EntitySilverfish_canTriggerWalking), "$findPlayerToAttack", $rt_wrapFunction0(nms_EntitySilverfish_findPlayerToAttack), "$getLivingSound", $rt_wrapFunction0(nms_EntitySilverfish_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntitySilverfish_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntitySilverfish_getDeathSound), "$attackEntityFrom", $rt_wrapFunction2(nms_EntitySilverfish_attackEntityFrom), "$attackEntity", $rt_wrapFunction2(nms_EntitySilverfish_attackEntity), "$playStepSound", $rt_wrapFunction4(nms_EntitySilverfish_playStepSound), "$getDropItemId", $rt_wrapFunction0(nms_EntitySilverfish_getDropItemId), "$onUpdate", $rt_wrapFunction0(nms_EntitySilverfish_onUpdate), "$updateEntityActionState", $rt_wrapFunction0(nms_EntitySilverfish_updateEntityActionState), "$getBlockPathWeight", $rt_wrapFunction3(nms_EntitySilverfish_getBlockPathWeight), "$isValidLightLevel", $rt_wrapFunction0(nms_EntitySilverfish_isValidLightLevel), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntitySilverfish_getCanSpawnHere), "$getCreatureAttribute", $rt_wrapFunction0(nms_EntitySilverfish_getCreatureAttribute)], nms_RenderSilverfish, "RenderSilverfish", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderSilverfish_$callClinit, ["$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderSilverfish_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$getDeathMaxRotation", $rt_wrapFunction1(nms_RenderSilverfish_getDeathMaxRotation), "$bindTexture0", $rt_wrapFunction1(nms_RenderSilverfish_bindTexture), "$shouldRenderPass", $rt_wrapFunction3(nms_RenderSilverfish_shouldRenderPass), "$getEntityTexture", $rt_wrapFunction1(nms_RenderSilverfish_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderSilverfish_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityCreeper, "EntityCreeper", 43, nms_EntityMob, [], 0, 3, [0,0,0], 0, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntityCreeper_applyEntityAttributes), "$isAIEnabled", $rt_wrapFunction0(nms_EntityCreeper_isAIEnabled), "$getMaxSafePointTries", $rt_wrapFunction0(nms_EntityCreeper_getMaxSafePointTries), "$fall", $rt_wrapFunction1(nms_EntityCreeper_fall), "$entityInit", $rt_wrapFunction0(nms_EntityCreeper_entityInit), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityCreeper_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityCreeper_readEntityFromNBT), "$onUpdate", $rt_wrapFunction0(nms_EntityCreeper_onUpdate), "$getHurtSound", $rt_wrapFunction0(nms_EntityCreeper_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityCreeper_getDeathSound), "$onDeath", $rt_wrapFunction1(nms_EntityCreeper_onDeath), "$attackEntityAsMob", $rt_wrapFunction1(nms_EntityCreeper_attackEntityAsMob), "$getDropItemId", $rt_wrapFunction0(nms_EntityCreeper_getDropItemId), "$onStruckByLightning", $rt_wrapFunction1(nms_EntityCreeper_onStruckByLightning)]]); $rt_metadata([nms_RenderCreeper, "RenderCreeper", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderCreeper_$callClinit, ["$preRenderCallback", $rt_wrapFunction2(nms_RenderCreeper_preRenderCallback), "$getColorMultiplier", $rt_wrapFunction3(nms_RenderCreeper_getColorMultiplier), "$shouldRenderPass", $rt_wrapFunction3(nms_RenderCreeper_shouldRenderPass), "$bindTexture0", $rt_wrapFunction1(nms_RenderCreeper_bindTexture), "$inheritRenderPass", $rt_wrapFunction3(nms_RenderCreeper_inheritRenderPass), "$getEntityTexture", $rt_wrapFunction1(nms_RenderCreeper_getEntityTexture)], nms_EntityEnderman, "EntityEnderman", 43, nms_EntityMob, [], 0, 3, [0,0,0], nms_EntityEnderman_$callClinit, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntityEnderman_applyEntityAttributes), "$entityInit", $rt_wrapFunction0(nms_EntityEnderman_entityInit), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityEnderman_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityEnderman_readEntityFromNBT), "$findPlayerToAttack", $rt_wrapFunction0(nms_EntityEnderman_findPlayerToAttack), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityEnderman_onLivingUpdate), "$getLivingSound", $rt_wrapFunction0(nms_EntityEnderman_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityEnderman_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityEnderman_getDeathSound), "$getDropItemId", $rt_wrapFunction0(nms_EntityEnderman_getDropItemId), "$dropFewItems", $rt_wrapFunction2(nms_EntityEnderman_dropFewItems), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityEnderman_attackEntityFrom)], nms_RenderEnderman, "RenderEnderman", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderEnderman_$callClinit, ["$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderEnderman_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$shouldRenderPass", $rt_wrapFunction3(nms_RenderEnderman_shouldRenderPass), "$bindTexture0", $rt_wrapFunction1(nms_RenderEnderman_bindTexture), "$renderEquippedItems", $rt_wrapFunction2(nms_RenderEnderman_renderEquippedItems), "$getEntityTexture", $rt_wrapFunction1(nms_RenderEnderman_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderEnderman_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityGolem, "EntityGolem", 43, nms_EntityCreature, [nms_IAnimals], 1, 3, 0, 0, ["$fall", $rt_wrapFunction1(nms_EntityGolem_fall), "$getLivingSound", $rt_wrapFunction0(nms_EntityGolem_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityGolem_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityGolem_getDeathSound), "$getTalkInterval", $rt_wrapFunction0(nms_EntityGolem_getTalkInterval), "$canDespawn", $rt_wrapFunction0(nms_EntityGolem_canDespawn)], nms_IRangedAttackMob, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_EntitySnowman, "EntitySnowman", 43, nms_EntityGolem, [nms_IRangedAttackMob], 0, 3, [0,0,0], 0, ["$isAIEnabled", $rt_wrapFunction0(nms_EntitySnowman_isAIEnabled), "$applyEntityAttributes", $rt_wrapFunction0(nms_EntitySnowman_applyEntityAttributes), "$onLivingUpdate", $rt_wrapFunction0(nms_EntitySnowman_onLivingUpdate), "$getDropItemId", $rt_wrapFunction0(nms_EntitySnowman_getDropItemId), "$dropFewItems", $rt_wrapFunction2(nms_EntitySnowman_dropFewItems), "$attackEntityWithRangedAttack", $rt_wrapFunction2(nms_EntitySnowman_attackEntityWithRangedAttack)], nms_RenderSnowMan, "RenderSnowMan", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderSnowMan_$callClinit, ["$bindTexture0", $rt_wrapFunction1(nms_RenderSnowMan_bindTexture), "$renderEquippedItems", $rt_wrapFunction2(nms_RenderSnowMan_renderEquippedItems), "$getEntityTexture", $rt_wrapFunction1(nms_RenderSnowMan_getEntityTexture)], nms_EntitySkeleton, "EntitySkeleton", 43, nms_EntityMob, [nms_IRangedAttackMob], 0, 3, [0,0,0], 0, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntitySkeleton_applyEntityAttributes), "$entityInit", $rt_wrapFunction0(nms_EntitySkeleton_entityInit), "$isAIEnabled", $rt_wrapFunction0(nms_EntitySkeleton_isAIEnabled), "$getLivingSound", $rt_wrapFunction0(nms_EntitySkeleton_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntitySkeleton_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntitySkeleton_getDeathSound), "$playStepSound", $rt_wrapFunction4(nms_EntitySkeleton_playStepSound), "$attackEntityAsMob", $rt_wrapFunction1(nms_EntitySkeleton_attackEntityAsMob), "$getCreatureAttribute", $rt_wrapFunction0(nms_EntitySkeleton_getCreatureAttribute), "$onLivingUpdate", $rt_wrapFunction0(nms_EntitySkeleton_onLivingUpdate), "$updateRidden", $rt_wrapFunction0(nms_EntitySkeleton_updateRidden), "$onDeath", $rt_wrapFunction1(nms_EntitySkeleton_onDeath), "$getDropItemId", $rt_wrapFunction0(nms_EntitySkeleton_getDropItemId), "$dropFewItems", $rt_wrapFunction2(nms_EntitySkeleton_dropFewItems), "$dropRareDrop", $rt_wrapFunction1(nms_EntitySkeleton_dropRareDrop), "$onSpawnWithEgg", $rt_wrapFunction1(nms_EntitySkeleton_onSpawnWithEgg), "$attackEntityWithRangedAttack", $rt_wrapFunction2(nms_EntitySkeleton_attackEntityWithRangedAttack), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntitySkeleton_readEntityFromNBT), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntitySkeleton_writeEntityToNBT), "$setCurrentItemOrArmor", $rt_wrapFunction2(nms_EntitySkeleton_setCurrentItemOrArmor), "$getYOffset", $rt_wrapFunction0(nms_EntitySkeleton_getYOffset)], nms_RenderBiped, "RenderBiped", 43, nms_RenderLiving, [], 0, 3, 0, 0, ["$func_82421_b", $rt_wrapFunction0(nms_RenderBiped_func_82421_b), "$func_130006_a", $rt_wrapFunction3(nms_RenderBiped_func_130006_a), "$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderBiped_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$func_130005_c", $rt_wrapFunction2(nms_RenderBiped_func_130005_c), "$func_82422_c", $rt_wrapFunction0(nms_RenderBiped_func_82422_c), "$shouldRenderPass", $rt_wrapFunction3(nms_RenderBiped_shouldRenderPass), "$bindTexture0", $rt_wrapFunction1(nms_RenderBiped_bindTexture), "$renderEquippedItems", $rt_wrapFunction2(nms_RenderBiped_renderEquippedItems), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderBiped_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_RenderSkeleton, "RenderSkeleton", 43, nms_RenderBiped, [], 0, 3, 0, nms_RenderSkeleton_$callClinit, ["$func_82422_c", $rt_wrapFunction0(nms_RenderSkeleton_func_82422_c), "$preRenderCallback", $rt_wrapFunction2(nms_RenderSkeleton_preRenderCallback), "$getEntityTexture", $rt_wrapFunction1(nms_RenderSkeleton_getEntityTexture)], nms_EntityWitch, "EntityWitch", 43, nms_EntityMob, [nms_IRangedAttackMob], 0, 3, [0,0,0], nms_EntityWitch_$callClinit, ["$entityInit", $rt_wrapFunction0(nms_EntityWitch_entityInit), "$getLivingSound", $rt_wrapFunction0(nms_EntityWitch_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityWitch_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityWitch_getDeathSound), "$applyEntityAttributes", $rt_wrapFunction0(nms_EntityWitch_applyEntityAttributes), "$isAIEnabled", $rt_wrapFunction0(nms_EntityWitch_isAIEnabled), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityWitch_onLivingUpdate), "$handleHealthUpdate", $rt_wrapFunction1(nms_EntityWitch_handleHealthUpdate), "$applyPotionDamageCalculations", $rt_wrapFunction2(nms_EntityWitch_applyPotionDamageCalculations), "$dropFewItems", $rt_wrapFunction2(nms_EntityWitch_dropFewItems), "$attackEntityWithRangedAttack", $rt_wrapFunction2(nms_EntityWitch_attackEntityWithRangedAttack)], nms_RenderWitch, "RenderWitch", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderWitch_$callClinit, ["$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderWitch_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$preRenderCallback", $rt_wrapFunction2(nms_RenderWitch_preRenderCallback), "$bindTexture0", $rt_wrapFunction1(nms_RenderWitch_bindTexture), "$renderEquippedItems", $rt_wrapFunction2(nms_RenderWitch_renderEquippedItems), "$getEntityTexture", $rt_wrapFunction1(nms_RenderWitch_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderWitch_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityBlaze, "EntityBlaze", 43, nms_EntityMob, [], 0, 3, [0,0,0], 0, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntityBlaze_applyEntityAttributes), "$entityInit", $rt_wrapFunction0(nms_EntityBlaze_entityInit), "$getLivingSound", $rt_wrapFunction0(nms_EntityBlaze_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityBlaze_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityBlaze_getDeathSound), "$getBrightnessForRender", $rt_wrapFunction1(nms_EntityBlaze_getBrightnessForRender), "$getBrightness", $rt_wrapFunction1(nms_EntityBlaze_getBrightness), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityBlaze_onLivingUpdate), "$attackEntity", $rt_wrapFunction2(nms_EntityBlaze_attackEntity), "$fall", $rt_wrapFunction1(nms_EntityBlaze_fall), "$getDropItemId", $rt_wrapFunction0(nms_EntityBlaze_getDropItemId), "$isBurning", $rt_wrapFunction0(nms_EntityBlaze_isBurning), "$dropFewItems", $rt_wrapFunction2(nms_EntityBlaze_dropFewItems), "$isValidLightLevel", $rt_wrapFunction0(nms_EntityBlaze_isValidLightLevel)], nms_RenderBlaze, "RenderBlaze", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderBlaze_$callClinit, ["$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderBlaze_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$getEntityTexture", $rt_wrapFunction1(nms_RenderBlaze_getEntityTexture), "$bindTexture0", $rt_wrapFunction1(nms_RenderBlaze_bindTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderBlaze_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityZombie, "EntityZombie", 43, nms_EntityMob, [], 0, 3, [0,0,0], nms_EntityZombie_$callClinit, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntityZombie_applyEntityAttributes), "$entityInit", $rt_wrapFunction0(nms_EntityZombie_entityInit), "$getTotalArmorValue", $rt_wrapFunction0(nms_EntityZombie_getTotalArmorValue), "$isAIEnabled", $rt_wrapFunction0(nms_EntityZombie_isAIEnabled), "$isChild", $rt_wrapFunction0(nms_EntityZombie_isChild), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityZombie_onLivingUpdate), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityZombie_attackEntityFrom), "$onUpdate", $rt_wrapFunction0(nms_EntityZombie_onUpdate), "$attackEntityAsMob", $rt_wrapFunction1(nms_EntityZombie_attackEntityAsMob), "$getLivingSound", $rt_wrapFunction0(nms_EntityZombie_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityZombie_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityZombie_getDeathSound), "$playStepSound", $rt_wrapFunction4(nms_EntityZombie_playStepSound), "$getDropItemId", $rt_wrapFunction0(nms_EntityZombie_getDropItemId), "$getCreatureAttribute", $rt_wrapFunction0(nms_EntityZombie_getCreatureAttribute), "$dropRareDrop", $rt_wrapFunction1(nms_EntityZombie_dropRareDrop), "$addRandomArmor", $rt_wrapFunction0(nms_EntityZombie_addRandomArmor), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityZombie_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityZombie_readEntityFromNBT), "$onKillEntity", $rt_wrapFunction1(nms_EntityZombie_onKillEntity), "$onSpawnWithEgg", $rt_wrapFunction1(nms_EntityZombie_onSpawnWithEgg), "$interact", $rt_wrapFunction1(nms_EntityZombie_interact), "$handleHealthUpdate", $rt_wrapFunction1(nms_EntityZombie_handleHealthUpdate), "$canDespawn", $rt_wrapFunction0(nms_EntityZombie_canDespawn)], nms_RenderZombie, "RenderZombie", 43, nms_RenderBiped, [], 0, 3, 0, nms_RenderZombie_$callClinit, ["$func_82421_b", $rt_wrapFunction0(nms_RenderZombie_func_82421_b), "$func_130005_c", $rt_wrapFunction2(nms_RenderZombie_func_130005_c), "$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderZombie_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$func_130006_a", $rt_wrapFunction3(nms_RenderZombie_func_130006_a), "$shouldRenderPass", $rt_wrapFunction3(nms_RenderZombie_shouldRenderPass), "$renderEquippedItems", $rt_wrapFunction2(nms_RenderZombie_renderEquippedItems), "$rotateCorpse", $rt_wrapFunction4(nms_RenderZombie_rotateCorpse), "$getEntityTexture", $rt_wrapFunction1(nms_RenderZombie_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderZombie_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntitySlime, "EntitySlime", 43, nms_EntityLiving, [nms_IMob], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntitySlime_entityInit), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntitySlime_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntitySlime_readEntityFromNBT), "$getSlimeParticle", $rt_wrapFunction0(nms_EntitySlime_getSlimeParticle), "$getJumpSound", $rt_wrapFunction0(nms_EntitySlime_getJumpSound), "$onUpdate", $rt_wrapFunction0(nms_EntitySlime_onUpdate), "$updateEntityActionState", $rt_wrapFunction0(nms_EntitySlime_updateEntityActionState), "$alterSquishAmount", $rt_wrapFunction0(nms_EntitySlime_alterSquishAmount), "$getJumpDelay", $rt_wrapFunction0(nms_EntitySlime_getJumpDelay), "$createInstance", $rt_wrapFunction0(nms_EntitySlime_createInstance), "$setDead", $rt_wrapFunction0(nms_EntitySlime_setDead), "$onCollideWithPlayer", $rt_wrapFunction1(nms_EntitySlime_onCollideWithPlayer), "$canDamagePlayer", $rt_wrapFunction0(nms_EntitySlime_canDamagePlayer), "$getAttackStrength", $rt_wrapFunction0(nms_EntitySlime_getAttackStrength), "$getHurtSound", $rt_wrapFunction0(nms_EntitySlime_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntitySlime_getDeathSound), "$getDropItemId", $rt_wrapFunction0(nms_EntitySlime_getDropItemId), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntitySlime_getCanSpawnHere), "$getSoundVolume", $rt_wrapFunction0(nms_EntitySlime_getSoundVolume), "$getVerticalFaceSpeed", $rt_wrapFunction0(nms_EntitySlime_getVerticalFaceSpeed), "$makesSoundOnLand", $rt_wrapFunction0(nms_EntitySlime_makesSoundOnLand)], nms_RenderSlime, "RenderSlime", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderSlime_$callClinit, ["$preRenderCallback", $rt_wrapFunction2(nms_RenderSlime_preRenderCallback), "$bindTexture0", $rt_wrapFunction1(nms_RenderSlime_bindTexture), "$shouldRenderPass", $rt_wrapFunction3(nms_RenderSlime_shouldRenderPass), "$getEntityTexture", $rt_wrapFunction1(nms_RenderSlime_getEntityTexture)], nms_ModelSlime, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelSlime_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_EntityMagmaCube, "EntityMagmaCube", 43, nms_EntitySlime, [], 0, 3, [0,0,0], 0, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntityMagmaCube_applyEntityAttributes), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityMagmaCube_getCanSpawnHere), "$getTotalArmorValue", $rt_wrapFunction0(nms_EntityMagmaCube_getTotalArmorValue), "$getBrightnessForRender", $rt_wrapFunction1(nms_EntityMagmaCube_getBrightnessForRender), "$getBrightness", $rt_wrapFunction1(nms_EntityMagmaCube_getBrightness), "$getSlimeParticle", $rt_wrapFunction0(nms_EntityMagmaCube_getSlimeParticle), "$createInstance", $rt_wrapFunction0(nms_EntityMagmaCube_createInstance), "$getDropItemId", $rt_wrapFunction0(nms_EntityMagmaCube_getDropItemId), "$dropFewItems", $rt_wrapFunction2(nms_EntityMagmaCube_dropFewItems), "$isBurning", $rt_wrapFunction0(nms_EntityMagmaCube_isBurning), "$getJumpDelay", $rt_wrapFunction0(nms_EntityMagmaCube_getJumpDelay), "$alterSquishAmount", $rt_wrapFunction0(nms_EntityMagmaCube_alterSquishAmount), "$jump", $rt_wrapFunction0(nms_EntityMagmaCube_jump), "$fall", $rt_wrapFunction1(nms_EntityMagmaCube_fall), "$canDamagePlayer", $rt_wrapFunction0(nms_EntityMagmaCube_canDamagePlayer), "$getAttackStrength", $rt_wrapFunction0(nms_EntityMagmaCube_getAttackStrength), "$getHurtSound", $rt_wrapFunction0(nms_EntityMagmaCube_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityMagmaCube_getDeathSound), "$getJumpSound", $rt_wrapFunction0(nms_EntityMagmaCube_getJumpSound), "$handleLavaMovement", $rt_wrapFunction0(nms_EntityMagmaCube_handleLavaMovement), "$makesSoundOnLand", $rt_wrapFunction0(nms_EntityMagmaCube_makesSoundOnLand)], nms_RenderMagmaCube, "RenderMagmaCube", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderMagmaCube_$callClinit, ["$bindTexture0", $rt_wrapFunction1(nms_RenderMagmaCube_bindTexture), "$preRenderCallback", $rt_wrapFunction2(nms_RenderMagmaCube_preRenderCallback), "$getEntityTexture", $rt_wrapFunction1(nms_RenderMagmaCube_getEntityTexture)], nms_RenderPlayer, "RenderPlayer", 43, nms_RendererLivingEntity, [], 0, 3, 0, nms_RenderPlayer_$callClinit, ["$func_96449_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_RenderPlayer_func_96449_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$preRenderCallback", $rt_wrapFunction2(nms_RenderPlayer_preRenderCallback), "$func_82408_c", $rt_wrapFunction3(nms_RenderPlayer_func_82408_c), "$shouldRenderPass", $rt_wrapFunction3(nms_RenderPlayer_shouldRenderPass), "$renderEquippedItems", $rt_wrapFunction2(nms_RenderPlayer_renderEquippedItems), "$rotateCorpse", $rt_wrapFunction4(nms_RenderPlayer_rotateCorpse), "$renderLivingAt", $rt_wrapFunction4(nms_RenderPlayer_renderLivingAt), "$getEntityTexture", $rt_wrapFunction1(nms_RenderPlayer_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderPlayer_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$bindTexture0", $rt_wrapFunction1(nms_RenderPlayer_bindTexture)], nms_EntityGiantZombie, "EntityGiantZombie", 43, nms_EntityMob, [], 0, 3, [0,0,0], 0, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntityGiantZombie_applyEntityAttributes), "$getBlockPathWeight", $rt_wrapFunction3(nms_EntityGiantZombie_getBlockPathWeight)], nms_RenderGiantZombie, "RenderGiantZombie", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderGiantZombie_$callClinit, ["$bindTexture0", $rt_wrapFunction1(nms_RenderGiantZombie_bindTexture), "$preRenderCallback", $rt_wrapFunction2(nms_RenderGiantZombie_preRenderCallback), "$getEntityTexture", $rt_wrapFunction1(nms_RenderGiantZombie_getEntityTexture)], nms_ModelBiped, "ModelBiped", 43, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelBiped_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelBiped_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelZombie, 0, nms_ModelBiped, [], 0, 3, 0, 0, ["$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelZombie_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_EntityFlying, "EntityFlying", 43, nms_EntityLiving, [], 1, 3, 0, 0, ["$fall", $rt_wrapFunction1(nms_EntityFlying_fall), "$updateFallState", $rt_wrapFunction2(nms_EntityFlying_updateFallState), "$moveEntityWithHeading", $rt_wrapFunction2(nms_EntityFlying_moveEntityWithHeading), "$isOnLadder", $rt_wrapFunction0(nms_EntityFlying_isOnLadder)], nms_EntityGhast, "EntityGhast", 43, nms_EntityFlying, [nms_IMob], 0, 3, [0,0,0], 0, ["$attackEntityFrom", $rt_wrapFunction2(nms_EntityGhast_attackEntityFrom), "$entityInit", $rt_wrapFunction0(nms_EntityGhast_entityInit), "$applyEntityAttributes", $rt_wrapFunction0(nms_EntityGhast_applyEntityAttributes), "$updateEntityActionState", $rt_wrapFunction0(nms_EntityGhast_updateEntityActionState), "$getLivingSound", $rt_wrapFunction0(nms_EntityGhast_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityGhast_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityGhast_getDeathSound), "$getDropItemId", $rt_wrapFunction0(nms_EntityGhast_getDropItemId), "$dropFewItems", $rt_wrapFunction2(nms_EntityGhast_dropFewItems), "$getSoundVolume", $rt_wrapFunction0(nms_EntityGhast_getSoundVolume), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityGhast_getCanSpawnHere), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityGhast_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityGhast_readEntityFromNBT)], nms_RenderGhast, "RenderGhast", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderGhast_$callClinit, ["$bindTexture0", $rt_wrapFunction1(nms_RenderGhast_bindTexture), "$preRenderCallback", $rt_wrapFunction2(nms_RenderGhast_preRenderCallback), "$getEntityTexture", $rt_wrapFunction1(nms_RenderGhast_getEntityTexture)], nms_EntityWaterMob, "EntityWaterMob", 43, nms_EntityCreature, [nms_IAnimals], 1, 3, 0, 0, ["$canBreatheUnderwater", $rt_wrapFunction0(nms_EntityWaterMob_canBreatheUnderwater), "$getTalkInterval", $rt_wrapFunction0(nms_EntityWaterMob_getTalkInterval), "$canDespawn", $rt_wrapFunction0(nms_EntityWaterMob_canDespawn), "$getExperiencePoints", $rt_wrapFunction1(nms_EntityWaterMob_getExperiencePoints), "$onEntityUpdate", $rt_wrapFunction0(nms_EntityWaterMob_onEntityUpdate)], nms_EntitySquid, "EntitySquid", 43, nms_EntityWaterMob, [], 0, 3, [0,0,0], 0, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntitySquid_applyEntityAttributes), "$getLivingSound", $rt_wrapFunction0(nms_EntitySquid_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntitySquid_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntitySquid_getDeathSound), "$getSoundVolume", $rt_wrapFunction0(nms_EntitySquid_getSoundVolume), "$getDropItemId", $rt_wrapFunction0(nms_EntitySquid_getDropItemId), "$canTriggerWalking", $rt_wrapFunction0(nms_EntitySquid_canTriggerWalking), "$dropFewItems", $rt_wrapFunction2(nms_EntitySquid_dropFewItems), "$isInWater", $rt_wrapFunction0(nms_EntitySquid_isInWater), "$onLivingUpdate", $rt_wrapFunction0(nms_EntitySquid_onLivingUpdate), "$moveEntityWithHeading", $rt_wrapFunction2(nms_EntitySquid_moveEntityWithHeading), "$updateEntityActionState", $rt_wrapFunction0(nms_EntitySquid_updateEntityActionState), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntitySquid_getCanSpawnHere)], nms_RenderSquid, "RenderSquid", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderSquid_$callClinit, ["$bindTexture0", $rt_wrapFunction1(nms_RenderSquid_bindTexture), "$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderSquid_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$handleRotationFloat", $rt_wrapFunction2(nms_RenderSquid_handleRotationFloat), "$rotateCorpse", $rt_wrapFunction4(nms_RenderSquid_rotateCorpse), "$getEntityTexture", $rt_wrapFunction1(nms_RenderSquid_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderSquid_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_ModelSquid, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelSquid_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelSquid_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_IMerchant, "IMerchant", 43, jl_Object, [], 3, 3, 0, 0, 0, nms_INpc, 0, jl_Object, [nms_IAnimals], 3, 3, 0, 0, 0, nms_EntityVillager, "EntityVillager", 43, nms_EntityAgeable, [nms_IMerchant, nms_INpc], 0, 3, [0,0,0], nms_EntityVillager_$callClinit, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntityVillager_applyEntityAttributes), "$isAIEnabled", $rt_wrapFunction0(nms_EntityVillager_isAIEnabled), "$updateAITick", $rt_wrapFunction0(nms_EntityVillager_updateAITick), "$interact", $rt_wrapFunction1(nms_EntityVillager_interact), "$entityInit", $rt_wrapFunction0(nms_EntityVillager_entityInit), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityVillager_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityVillager_readEntityFromNBT), "$canDespawn", $rt_wrapFunction0(nms_EntityVillager_canDespawn), "$getLivingSound", $rt_wrapFunction0(nms_EntityVillager_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityVillager_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityVillager_getDeathSound), "$setRevengeTarget", $rt_wrapFunction1(nms_EntityVillager_setRevengeTarget), "$onDeath", $rt_wrapFunction1(nms_EntityVillager_onDeath), "$setCustomer", $rt_wrapFunction1(nms_EntityVillager_setCustomer), "$getCustomer", $rt_wrapFunction0(nms_EntityVillager_getCustomer), "$useRecipe", $rt_wrapFunction1(nms_EntityVillager_useRecipe), "$func_110297_a_", $rt_wrapFunction1(nms_EntityVillager_func_110297_a_), "$getRecipes", $rt_wrapFunction1(nms_EntityVillager_getRecipes), "$setRecipes", $rt_wrapFunction1(nms_EntityVillager_setRecipes), "$handleHealthUpdate", $rt_wrapFunction1(nms_EntityVillager_handleHealthUpdate), "$onSpawnWithEgg", $rt_wrapFunction1(nms_EntityVillager_onSpawnWithEgg), "$allowLeashing", $rt_wrapFunction0(nms_EntityVillager_allowLeashing), "$createChild", $rt_wrapFunction1(nms_EntityVillager_createChild)], nms_RenderVillager, "RenderVillager", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderVillager_$callClinit, ["$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderVillager_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$preRenderCallback", $rt_wrapFunction2(nms_RenderVillager_preRenderCallback), "$shouldRenderPass", $rt_wrapFunction3(nms_RenderVillager_shouldRenderPass), "$bindTexture0", $rt_wrapFunction1(nms_RenderVillager_bindTexture), "$renderEquippedItems", $rt_wrapFunction2(nms_RenderVillager_renderEquippedItems), "$getEntityTexture", $rt_wrapFunction1(nms_RenderVillager_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderVillager_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityIronGolem, "EntityIronGolem", 43, nms_EntityGolem, [], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntityIronGolem_entityInit), "$isAIEnabled", $rt_wrapFunction0(nms_EntityIronGolem_isAIEnabled), "$updateAITick", $rt_wrapFunction0(nms_EntityIronGolem_updateAITick), "$applyEntityAttributes", $rt_wrapFunction0(nms_EntityIronGolem_applyEntityAttributes), "$decreaseAirSupply", $rt_wrapFunction1(nms_EntityIronGolem_decreaseAirSupply), "$collideWithEntity", $rt_wrapFunction1(nms_EntityIronGolem_collideWithEntity), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityIronGolem_onLivingUpdate), "$canAttackClass", $rt_wrapFunction1(nms_EntityIronGolem_canAttackClass), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityIronGolem_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityIronGolem_readEntityFromNBT), "$attackEntityAsMob", $rt_wrapFunction1(nms_EntityIronGolem_attackEntityAsMob), "$handleHealthUpdate", $rt_wrapFunction1(nms_EntityIronGolem_handleHealthUpdate), "$getLivingSound", $rt_wrapFunction0(nms_EntityIronGolem_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityIronGolem_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityIronGolem_getDeathSound), "$playStepSound", $rt_wrapFunction4(nms_EntityIronGolem_playStepSound), "$dropFewItems", $rt_wrapFunction2(nms_EntityIronGolem_dropFewItems), "$onDeath", $rt_wrapFunction1(nms_EntityIronGolem_onDeath)], nms_RenderIronGolem, "RenderIronGolem", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderIronGolem_$callClinit, ["$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderIronGolem_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$renderEquippedItems", $rt_wrapFunction2(nms_RenderIronGolem_renderEquippedItems), "$bindTexture0", $rt_wrapFunction1(nms_RenderIronGolem_bindTexture), "$rotateCorpse", $rt_wrapFunction4(nms_RenderIronGolem_rotateCorpse), "$getEntityTexture", $rt_wrapFunction1(nms_RenderIronGolem_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderIronGolem_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityAmbientCreature, "EntityAmbientCreature", 43, nms_EntityLiving, [nms_IAnimals], 1, 3, 0, 0, ["$allowLeashing", $rt_wrapFunction0(nms_EntityAmbientCreature_allowLeashing), "$interact", $rt_wrapFunction1(nms_EntityAmbientCreature_interact)], nms_EntityBat, "EntityBat", 43, nms_EntityAmbientCreature, [], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntityBat_entityInit), "$getSoundVolume", $rt_wrapFunction0(nms_EntityBat_getSoundVolume), "$getSoundPitch", $rt_wrapFunction0(nms_EntityBat_getSoundPitch), "$getLivingSound", $rt_wrapFunction0(nms_EntityBat_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityBat_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityBat_getDeathSound), "$canBePushed", $rt_wrapFunction0(nms_EntityBat_canBePushed), "$collideWithEntity", $rt_wrapFunction1(nms_EntityBat_collideWithEntity), "$collideWithNearbyEntities", $rt_wrapFunction0(nms_EntityBat_collideWithNearbyEntities), "$applyEntityAttributes", $rt_wrapFunction0(nms_EntityBat_applyEntityAttributes), "$isAIEnabled", $rt_wrapFunction0(nms_EntityBat_isAIEnabled), "$onUpdate", $rt_wrapFunction0(nms_EntityBat_onUpdate), "$updateAITasks", $rt_wrapFunction0(nms_EntityBat_updateAITasks), "$canTriggerWalking", $rt_wrapFunction0(nms_EntityBat_canTriggerWalking), "$fall", $rt_wrapFunction1(nms_EntityBat_fall), "$updateFallState", $rt_wrapFunction2(nms_EntityBat_updateFallState), "$doesEntityNotTriggerPressurePlate", $rt_wrapFunction0(nms_EntityBat_doesEntityNotTriggerPressurePlate), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityBat_attackEntityFrom), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityBat_readEntityFromNBT), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityBat_writeEntityToNBT), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityBat_getCanSpawnHere)], nms_RenderBat, "RenderBat", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderBat_$callClinit, ["$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderBat_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$preRenderCallback", $rt_wrapFunction2(nms_RenderBat_preRenderCallback), "$rotateCorpse", $rt_wrapFunction4(nms_RenderBat_rotateCorpse), "$renderLivingAt", $rt_wrapFunction4(nms_RenderBat_renderLivingAt), "$bindTexture0", $rt_wrapFunction1(nms_RenderBat_bindTexture), "$getEntityTexture", $rt_wrapFunction1(nms_RenderBat_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderBat_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_IBossDisplayData, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_IEntityMultiPart, "IEntityMultiPart", 43, jl_Object, [], 3, 3, 0, 0, 0, nms_EntityDragon, "EntityDragon", 43, nms_EntityLiving, [nms_IBossDisplayData, nms_IEntityMultiPart, nms_IMob], 0, 3, [0,0,0], 0, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntityDragon_applyEntityAttributes), "$entityInit", $rt_wrapFunction0(nms_EntityDragon_entityInit), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityDragon_onLivingUpdate), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityDragon_attackEntityFrom), "$onDeathUpdate", $rt_wrapFunction0(nms_EntityDragon_onDeathUpdate), "$despawnEntity", $rt_wrapFunction0(nms_EntityDragon_despawnEntity), "$getParts", $rt_wrapFunction0(nms_EntityDragon_getParts), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityDragon_canBeCollidedWith), "$getLivingSound", $rt_wrapFunction0(nms_EntityDragon_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityDragon_getHurtSound), "$getSoundVolume", $rt_wrapFunction0(nms_EntityDragon_getSoundVolume)], nms_RenderDragon, "RenderDragon", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderDragon_$callClinit, ["$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderDragon_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$shouldRenderPass", $rt_wrapFunction3(nms_RenderDragon_shouldRenderPass), "$renderEquippedItems", $rt_wrapFunction2(nms_RenderDragon_renderEquippedItems), "$rotateCorpse", $rt_wrapFunction4(nms_RenderDragon_rotateCorpse), "$renderModel", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_RenderDragon_renderModel(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$bindTexture0", $rt_wrapFunction1(nms_RenderDragon_bindTexture), "$getEntityTexture", $rt_wrapFunction1(nms_RenderDragon_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderDragon_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityEnderCrystal, "EntityEnderCrystal", 43, nms_Entity, [], 0, 3, [0,0,0], 0, ["$canTriggerWalking", $rt_wrapFunction0(nms_EntityEnderCrystal_canTriggerWalking), "$entityInit", $rt_wrapFunction0(nms_EntityEnderCrystal_entityInit), "$onUpdate", $rt_wrapFunction0(nms_EntityEnderCrystal_onUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityEnderCrystal_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityEnderCrystal_readEntityFromNBT), "$getShadowSize", $rt_wrapFunction0(nms_EntityEnderCrystal_getShadowSize), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityEnderCrystal_canBeCollidedWith), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityEnderCrystal_attackEntityFrom)], nms_RenderEnderCrystal, "RenderEnderCrystal", 43, nms_Render, [], 0, 3, 0, nms_RenderEnderCrystal_$callClinit, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderEnderCrystal_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityWither, "EntityWither", 43, nms_EntityMob, [nms_IBossDisplayData, nms_IRangedAttackMob], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntityWither_entityInit), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityWither_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityWither_readEntityFromNBT), "$getShadowSize", $rt_wrapFunction0(nms_EntityWither_getShadowSize), "$getLivingSound", $rt_wrapFunction0(nms_EntityWither_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityWither_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityWither_getDeathSound), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityWither_onLivingUpdate), "$updateAITasks", $rt_wrapFunction0(nms_EntityWither_updateAITasks), "$setInWeb", $rt_wrapFunction0(nms_EntityWither_setInWeb), "$getTotalArmorValue", $rt_wrapFunction0(nms_EntityWither_getTotalArmorValue), "$attackEntityWithRangedAttack", $rt_wrapFunction2(nms_EntityWither_attackEntityWithRangedAttack), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityWither_attackEntityFrom), "$dropFewItems", $rt_wrapFunction2(nms_EntityWither_dropFewItems), "$despawnEntity", $rt_wrapFunction0(nms_EntityWither_despawnEntity), "$getBrightnessForRender", $rt_wrapFunction1(nms_EntityWither_getBrightnessForRender), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityWither_canBeCollidedWith), "$fall", $rt_wrapFunction1(nms_EntityWither_fall), "$addPotionEffect", $rt_wrapFunction1(nms_EntityWither_addPotionEffect), "$isAIEnabled", $rt_wrapFunction0(nms_EntityWither_isAIEnabled), "$applyEntityAttributes", $rt_wrapFunction0(nms_EntityWither_applyEntityAttributes), "$getCreatureAttribute", $rt_wrapFunction0(nms_EntityWither_getCreatureAttribute), "$mountEntity", $rt_wrapFunction1(nms_EntityWither_mountEntity)], nms_RenderWither, "RenderWither", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderWither_$callClinit, ["$doRenderLiving0", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderWither_doRenderLiving(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$preRenderCallback", $rt_wrapFunction2(nms_RenderWither_preRenderCallback), "$shouldRenderPass", $rt_wrapFunction3(nms_RenderWither_shouldRenderPass), "$bindTexture0", $rt_wrapFunction1(nms_RenderWither_bindTexture), "$inheritRenderPass", $rt_wrapFunction3(nms_RenderWither_inheritRenderPass), "$getEntityTexture", $rt_wrapFunction1(nms_RenderWither_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderWither_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }]]); $rt_metadata([nms_RenderEntity, "RenderEntity", 43, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderEntity_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityHanging, "EntityHanging", 43, nms_Entity, [], 1, 3, 0, 0, ["$entityInit", $rt_wrapFunction0(nms_EntityHanging_entityInit), "$onUpdate", $rt_wrapFunction0(nms_EntityHanging_onUpdate), "$onValidSurface", $rt_wrapFunction0(nms_EntityHanging_onValidSurface), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityHanging_canBeCollidedWith), "$hitByEntity", $rt_wrapFunction1(nms_EntityHanging_hitByEntity), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityHanging_attackEntityFrom), "$moveEntity", $rt_wrapFunction3(nms_EntityHanging_moveEntity), "$addVelocity", $rt_wrapFunction3(nms_EntityHanging_addVelocity), "$shouldSetPosAfterLoading", $rt_wrapFunction0(nms_EntityHanging_shouldSetPosAfterLoading)], nms_EntityPainting, "EntityPainting", 43, nms_EntityHanging, [], 0, 3, [0,0,0], 0, ["$writeEntityToNBT", $rt_wrapFunction1(nms_EntityPainting_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityPainting_readEntityFromNBT), "$getWidthPixels", $rt_wrapFunction0(nms_EntityPainting_getWidthPixels), "$getHeightPixels", $rt_wrapFunction0(nms_EntityPainting_getHeightPixels), "$onBroken", $rt_wrapFunction1(nms_EntityPainting_onBroken)], nms_RenderPainting, "RenderPainting", 43, nms_Render, [], 0, 3, 0, nms_RenderPainting_$callClinit, ["$getEntityTexture", $rt_wrapFunction1(nms_RenderPainting_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderPainting_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityItemFrame, "EntityItemFrame", 43, nms_EntityHanging, [], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntityItemFrame_entityInit), "$getWidthPixels", $rt_wrapFunction0(nms_EntityItemFrame_getWidthPixels), "$getHeightPixels", $rt_wrapFunction0(nms_EntityItemFrame_getHeightPixels), "$isInRangeToRenderDist", $rt_wrapFunction1(nms_EntityItemFrame_isInRangeToRenderDist), "$onBroken", $rt_wrapFunction1(nms_EntityItemFrame_onBroken), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityItemFrame_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityItemFrame_readEntityFromNBT), "$interactFirst", $rt_wrapFunction1(nms_EntityItemFrame_interactFirst)], nms_RenderItemFrame, "RenderItemFrame", 43, nms_Render, [], 0, 3, 0, nms_RenderItemFrame_$callClinit, ["$updateIcons", $rt_wrapFunction1(nms_RenderItemFrame_updateIcons), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderItemFrame_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityLeashKnot, "EntityLeashKnot", 43, nms_EntityHanging, [], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntityLeashKnot_entityInit), "$getWidthPixels", $rt_wrapFunction0(nms_EntityLeashKnot_getWidthPixels), "$getHeightPixels", $rt_wrapFunction0(nms_EntityLeashKnot_getHeightPixels), "$isInRangeToRenderDist", $rt_wrapFunction1(nms_EntityLeashKnot_isInRangeToRenderDist), "$onBroken", $rt_wrapFunction1(nms_EntityLeashKnot_onBroken), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityLeashKnot_writeEntityToNBT), "$interactFirst", $rt_wrapFunction1(nms_EntityLeashKnot_interactFirst), "$onValidSurface", $rt_wrapFunction0(nms_EntityLeashKnot_onValidSurface)], nms_RenderLeashKnot, "RenderLeashKnot", 43, nms_Render, [], 0, 3, 0, nms_RenderLeashKnot_$callClinit, ["$getEntityTexture", $rt_wrapFunction1(nms_RenderLeashKnot_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderLeashKnot_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_IProjectile, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_EntityArrow, "EntityArrow", 43, nms_Entity, [nms_IProjectile], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntityArrow_entityInit), "$setPositionAndRotation2", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_EntityArrow_setPositionAndRotation2(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$setVelocity", $rt_wrapFunction3(nms_EntityArrow_setVelocity), "$onUpdate", $rt_wrapFunction0(nms_EntityArrow_onUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityArrow_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityArrow_readEntityFromNBT), "$onCollideWithPlayer", $rt_wrapFunction1(nms_EntityArrow_onCollideWithPlayer), "$canTriggerWalking", $rt_wrapFunction0(nms_EntityArrow_canTriggerWalking), "$getShadowSize", $rt_wrapFunction0(nms_EntityArrow_getShadowSize), "$canAttackWithItem", $rt_wrapFunction0(nms_EntityArrow_canAttackWithItem)], nms_RenderArrow, "RenderArrow", 43, nms_Render, [], 0, 3, 0, nms_RenderArrow_$callClinit, ["$getEntityTexture", $rt_wrapFunction1(nms_RenderArrow_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderArrow_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityThrowable, "EntityThrowable", 43, nms_Entity, [nms_IProjectile], 1, 3, 0, 0, ["$entityInit", $rt_wrapFunction0(nms_EntityThrowable_entityInit), "$isInRangeToRenderDist", $rt_wrapFunction1(nms_EntityThrowable_isInRangeToRenderDist), "$func_70182_d", $rt_wrapFunction0(nms_EntityThrowable_func_70182_d), "$func_70183_g", $rt_wrapFunction0(nms_EntityThrowable_func_70183_g), "$setVelocity", $rt_wrapFunction3(nms_EntityThrowable_setVelocity), "$onUpdate", $rt_wrapFunction0(nms_EntityThrowable_onUpdate), "$getGravityVelocity", $rt_wrapFunction0(nms_EntityThrowable_getGravityVelocity), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityThrowable_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityThrowable_readEntityFromNBT), "$getShadowSize", $rt_wrapFunction0(nms_EntityThrowable_getShadowSize)], nms_EntitySnowball, "EntitySnowball", 43, nms_EntityThrowable, [], 0, 3, [0,0,0], 0, ["$onImpact", $rt_wrapFunction1(nms_EntitySnowball_onImpact)], nms_RenderSnowball, "RenderSnowball", 43, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderSnowball_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$getEntityTexture", $rt_wrapFunction1(nms_RenderSnowball_getEntityTexture)], nms_Item, "Item", 43, jl_Object, [], 0, 3, 0, nms_Item_$callClinit, ["$getSpriteNumber", $rt_wrapFunction0(nms_Item_getSpriteNumber), "$getIconFromDamage", $rt_wrapFunction1(nms_Item_getIconFromDamage), "$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_Item_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }, "$getStrVsBlock", $rt_wrapFunction2(nms_Item_getStrVsBlock), "$onItemRightClick", $rt_wrapFunction3(nms_Item_onItemRightClick), "$onEaten", $rt_wrapFunction3(nms_Item_onEaten), "$getMetadata", $rt_wrapFunction1(nms_Item_getMetadata), "$hitEntity", $rt_wrapFunction3(nms_Item_hitEntity), "$onBlockDestroyed", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_Item_onBlockDestroyed(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$canHarvestBlock", $rt_wrapFunction1(nms_Item_canHarvestBlock), "$itemInteractionForEntity", $rt_wrapFunction3(nms_Item_itemInteractionForEntity), "$isFull3D", $rt_wrapFunction0(nms_Item_isFull3D), "$shouldRotateAroundWhenRendering", $rt_wrapFunction0(nms_Item_shouldRotateAroundWhenRendering), "$getUnlocalizedName0", $rt_wrapFunction0(nms_Item_getUnlocalizedName0), "$getUnlocalizedName", $rt_wrapFunction1(nms_Item_getUnlocalizedName), "$getShareTag", $rt_wrapFunction0(nms_Item_getShareTag), "$getColorFromItemStack", $rt_wrapFunction2(nms_Item_getColorFromItemStack), "$onUpdate1", function(var_1, var_2, var_3, var_4, var_5) { nms_Item_onUpdate(this, var_1, var_2, var_3, var_4, var_5); }, "$onCreated", $rt_wrapFunction3(nms_Item_onCreated), "$getItemUseAction", $rt_wrapFunction1(nms_Item_getItemUseAction), "$getMaxItemUseDuration", $rt_wrapFunction1(nms_Item_getMaxItemUseDuration), "$onPlayerStoppedUsing", $rt_wrapFunction4(nms_Item_onPlayerStoppedUsing), "$addInformation", $rt_wrapFunction4(nms_Item_addInformation), "$getItemDisplayName", $rt_wrapFunction1(nms_Item_getItemDisplayName), "$hasEffect", $rt_wrapFunction1(nms_Item_hasEffect), "$getRarity", $rt_wrapFunction1(nms_Item_getRarity), "$isItemTool", $rt_wrapFunction1(nms_Item_isItemTool), "$getItemEnchantability", $rt_wrapFunction0(nms_Item_getItemEnchantability), "$requiresMultipleRenderPasses", $rt_wrapFunction0(nms_Item_requiresMultipleRenderPasses), "$getIconFromDamageForRenderPass", $rt_wrapFunction2(nms_Item_getIconFromDamageForRenderPass), "$getSubItems", $rt_wrapFunction3(nms_Item_getSubItems), "$getCreativeTab", $rt_wrapFunction0(nms_Item_getCreativeTab), "$getIsRepairable", $rt_wrapFunction2(nms_Item_getIsRepairable), "$registerIcons", $rt_wrapFunction1(nms_Item_registerIcons)], nms_EntityEnderPearl, "EntityEnderPearl", 43, nms_EntityThrowable, [], 0, 3, [0,0,0], 0, ["$onImpact", $rt_wrapFunction1(nms_EntityEnderPearl_onImpact)], nms_EntityEnderEye, "EntityEnderEye", 43, nms_Entity, [], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntityEnderEye_entityInit), "$isInRangeToRenderDist", $rt_wrapFunction1(nms_EntityEnderEye_isInRangeToRenderDist), "$setVelocity", $rt_wrapFunction3(nms_EntityEnderEye_setVelocity), "$onUpdate", $rt_wrapFunction0(nms_EntityEnderEye_onUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityEnderEye_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityEnderEye_readEntityFromNBT), "$getShadowSize", $rt_wrapFunction0(nms_EntityEnderEye_getShadowSize), "$getBrightnessForRender", $rt_wrapFunction1(nms_EntityEnderEye_getBrightnessForRender), "$canAttackWithItem", $rt_wrapFunction0(nms_EntityEnderEye_canAttackWithItem)], nms_EntityEgg, "EntityEgg", 43, nms_EntityThrowable, [], 0, 3, [0,0,0], 0, ["$onImpact", $rt_wrapFunction1(nms_EntityEgg_onImpact)], nms_EntityPotion, "EntityPotion", 43, nms_EntityThrowable, [], 0, 3, [0,0,0], 0, ["$getGravityVelocity", $rt_wrapFunction0(nms_EntityPotion_getGravityVelocity), "$func_70182_d", $rt_wrapFunction0(nms_EntityPotion_func_70182_d), "$func_70183_g", $rt_wrapFunction0(nms_EntityPotion_func_70183_g), "$onImpact", $rt_wrapFunction1(nms_EntityPotion_onImpact), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityPotion_readEntityFromNBT), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityPotion_writeEntityToNBT)], nms_EntityExpBottle, "EntityExpBottle", 43, nms_EntityThrowable, [], 0, 3, [0,0,0], 0, ["$getGravityVelocity", $rt_wrapFunction0(nms_EntityExpBottle_getGravityVelocity), "$func_70182_d", $rt_wrapFunction0(nms_EntityExpBottle_func_70182_d), "$func_70183_g", $rt_wrapFunction0(nms_EntityExpBottle_func_70183_g), "$onImpact", $rt_wrapFunction1(nms_EntityExpBottle_onImpact)], nms_EntityFireworkRocket, "EntityFireworkRocket", 43, nms_Entity, [], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntityFireworkRocket_entityInit), "$isInRangeToRenderDist", $rt_wrapFunction1(nms_EntityFireworkRocket_isInRangeToRenderDist), "$setVelocity", $rt_wrapFunction3(nms_EntityFireworkRocket_setVelocity), "$onUpdate", $rt_wrapFunction0(nms_EntityFireworkRocket_onUpdate), "$handleHealthUpdate", $rt_wrapFunction1(nms_EntityFireworkRocket_handleHealthUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityFireworkRocket_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityFireworkRocket_readEntityFromNBT), "$getShadowSize", $rt_wrapFunction0(nms_EntityFireworkRocket_getShadowSize), "$getBrightnessForRender", $rt_wrapFunction1(nms_EntityFireworkRocket_getBrightnessForRender), "$canAttackWithItem", $rt_wrapFunction0(nms_EntityFireworkRocket_canAttackWithItem)], nms_EntityFireball, "EntityFireball", 43, nms_Entity, [], 1, 3, 0, 0, ["$entityInit", $rt_wrapFunction0(nms_EntityFireball_entityInit), "$isInRangeToRenderDist", $rt_wrapFunction1(nms_EntityFireball_isInRangeToRenderDist), "$onUpdate", $rt_wrapFunction0(nms_EntityFireball_onUpdate), "$getMotionFactor", $rt_wrapFunction0(nms_EntityFireball_getMotionFactor), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityFireball_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityFireball_readEntityFromNBT), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityFireball_canBeCollidedWith), "$getCollisionBorderSize", $rt_wrapFunction0(nms_EntityFireball_getCollisionBorderSize), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityFireball_attackEntityFrom), "$getShadowSize", $rt_wrapFunction0(nms_EntityFireball_getShadowSize), "$getBrightnessForRender", $rt_wrapFunction1(nms_EntityFireball_getBrightnessForRender)], nms_EntityLargeFireball, "EntityLargeFireball", 43, nms_EntityFireball, [], 0, 3, [0,0,0], 0, ["$onImpact", $rt_wrapFunction1(nms_EntityLargeFireball_onImpact), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityLargeFireball_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityLargeFireball_readEntityFromNBT)], nms_RenderFireball, "RenderFireball", 43, nms_Render, [], 0, 3, 0, 0, ["$getEntityTexture", $rt_wrapFunction1(nms_RenderFireball_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderFireball_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntitySmallFireball, "EntitySmallFireball", 43, nms_EntityFireball, [], 0, 3, [0,0,0], 0, ["$onImpact", $rt_wrapFunction1(nms_EntitySmallFireball_onImpact), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntitySmallFireball_canBeCollidedWith), "$attackEntityFrom", $rt_wrapFunction2(nms_EntitySmallFireball_attackEntityFrom)], nms_EntityWitherSkull, "EntityWitherSkull", 43, nms_EntityFireball, [], 0, 3, [0,0,0], 0, ["$getMotionFactor", $rt_wrapFunction0(nms_EntityWitherSkull_getMotionFactor), "$isBurning", $rt_wrapFunction0(nms_EntityWitherSkull_isBurning), "$getBlockExplosionResistance", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_EntityWitherSkull_getBlockExplosionResistance(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onImpact", $rt_wrapFunction1(nms_EntityWitherSkull_onImpact), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityWitherSkull_canBeCollidedWith), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityWitherSkull_attackEntityFrom), "$entityInit", $rt_wrapFunction0(nms_EntityWitherSkull_entityInit)], nms_RenderWitherSkull, "RenderWitherSkull", 43, nms_Render, [], 0, 3, 0, nms_RenderWitherSkull_$callClinit, ["$getEntityTexture", $rt_wrapFunction1(nms_RenderWitherSkull_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderWitherSkull_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityItem, "EntityItem", 43, nms_Entity, [], 0, 3, [0,0,0], 0, ["$canTriggerWalking", $rt_wrapFunction0(nms_EntityItem_canTriggerWalking), "$entityInit", $rt_wrapFunction0(nms_EntityItem_entityInit), "$onUpdate", $rt_wrapFunction0(nms_EntityItem_onUpdate), "$handleWaterMovement", $rt_wrapFunction0(nms_EntityItem_handleWaterMovement), "$dealFireDamage", $rt_wrapFunction1(nms_EntityItem_dealFireDamage), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityItem_attackEntityFrom), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityItem_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityItem_readEntityFromNBT), "$onCollideWithPlayer", $rt_wrapFunction1(nms_EntityItem_onCollideWithPlayer), "$getEntityName", $rt_wrapFunction0(nms_EntityItem_getEntityName), "$canAttackWithItem", $rt_wrapFunction0(nms_EntityItem_canAttackWithItem), "$travelToDimension", $rt_wrapFunction1(nms_EntityItem_travelToDimension)], nms_RenderItem, "RenderItem", 43, nms_Render, [], 0, 3, 0, nms_RenderItem_$callClinit, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderItem_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityXPOrb, "EntityXPOrb", 43, nms_Entity, [], 0, 3, [0,0,0], 0, ["$canTriggerWalking", $rt_wrapFunction0(nms_EntityXPOrb_canTriggerWalking), "$entityInit", $rt_wrapFunction0(nms_EntityXPOrb_entityInit), "$getBrightnessForRender", $rt_wrapFunction1(nms_EntityXPOrb_getBrightnessForRender), "$onUpdate", $rt_wrapFunction0(nms_EntityXPOrb_onUpdate), "$handleWaterMovement", $rt_wrapFunction0(nms_EntityXPOrb_handleWaterMovement), "$dealFireDamage", $rt_wrapFunction1(nms_EntityXPOrb_dealFireDamage), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityXPOrb_attackEntityFrom), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityXPOrb_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityXPOrb_readEntityFromNBT), "$onCollideWithPlayer", $rt_wrapFunction1(nms_EntityXPOrb_onCollideWithPlayer), "$canAttackWithItem", $rt_wrapFunction0(nms_EntityXPOrb_canAttackWithItem)], nms_RenderXPOrb, "RenderXPOrb", 43, nms_Render, [], 0, 3, 0, nms_RenderXPOrb_$callClinit, ["$getEntityTexture", $rt_wrapFunction1(nms_RenderXPOrb_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderXPOrb_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityTNTPrimed, "EntityTNTPrimed", 43, nms_Entity, [], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntityTNTPrimed_entityInit), "$canTriggerWalking", $rt_wrapFunction0(nms_EntityTNTPrimed_canTriggerWalking), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityTNTPrimed_canBeCollidedWith), "$onUpdate", $rt_wrapFunction0(nms_EntityTNTPrimed_onUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityTNTPrimed_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityTNTPrimed_readEntityFromNBT), "$getShadowSize", $rt_wrapFunction0(nms_EntityTNTPrimed_getShadowSize)], nms_RenderTNTPrimed, "RenderTNTPrimed", 43, nms_Render, [], 0, 3, 0, 0, ["$getEntityTexture", $rt_wrapFunction1(nms_RenderTNTPrimed_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderTNTPrimed_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityFallingSand, "EntityFallingSand", 43, nms_Entity, [], 0, 3, [0,0,0], 0, ["$canTriggerWalking", $rt_wrapFunction0(nms_EntityFallingSand_canTriggerWalking), "$entityInit", $rt_wrapFunction0(nms_EntityFallingSand_entityInit), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityFallingSand_canBeCollidedWith), "$onUpdate", $rt_wrapFunction0(nms_EntityFallingSand_onUpdate), "$fall", $rt_wrapFunction1(nms_EntityFallingSand_fall), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityFallingSand_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityFallingSand_readEntityFromNBT), "$getShadowSize", $rt_wrapFunction0(nms_EntityFallingSand_getShadowSize), "$canRenderOnFire", $rt_wrapFunction0(nms_EntityFallingSand_canRenderOnFire)], nms_RenderFallingSand, "RenderFallingSand", 43, nms_Render, [], 0, 3, 0, 0, ["$getEntityTexture", $rt_wrapFunction1(nms_RenderFallingSand_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderFallingSand_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityMinecart, "EntityMinecart", 43, nms_Entity, [], 1, 3, 0, 0, ["$canTriggerWalking", $rt_wrapFunction0(nms_EntityMinecart_canTriggerWalking), "$entityInit", $rt_wrapFunction0(nms_EntityMinecart_entityInit), "$getCollisionBox", $rt_wrapFunction1(nms_EntityMinecart_getCollisionBox), "$getBoundingBox", $rt_wrapFunction0(nms_EntityMinecart_getBoundingBox), "$canBePushed", $rt_wrapFunction0(nms_EntityMinecart_canBePushed), "$getMountedYOffset", $rt_wrapFunction0(nms_EntityMinecart_getMountedYOffset), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityMinecart_attackEntityFrom), "$killMinecart", $rt_wrapFunction1(nms_EntityMinecart_killMinecart), "$performHurtAnimation", $rt_wrapFunction0(nms_EntityMinecart_performHurtAnimation), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityMinecart_canBeCollidedWith), "$setDead", $rt_wrapFunction0(nms_EntityMinecart_setDead), "$onUpdate", $rt_wrapFunction0(nms_EntityMinecart_onUpdate), "$onActivatorRailPass", $rt_wrapFunction4(nms_EntityMinecart_onActivatorRailPass), "$updateOnTrack", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityMinecart_updateOnTrack(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$applyDrag", $rt_wrapFunction0(nms_EntityMinecart_applyDrag), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityMinecart_readEntityFromNBT), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityMinecart_writeEntityToNBT), "$getShadowSize", $rt_wrapFunction0(nms_EntityMinecart_getShadowSize), "$applyEntityCollision", $rt_wrapFunction1(nms_EntityMinecart_applyEntityCollision), "$setPositionAndRotation2", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_EntityMinecart_setPositionAndRotation2(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$setVelocity", $rt_wrapFunction3(nms_EntityMinecart_setVelocity), "$getDefaultDisplayTile", $rt_wrapFunction0(nms_EntityMinecart_getDefaultDisplayTile), "$getDefaultDisplayTileData", $rt_wrapFunction0(nms_EntityMinecart_getDefaultDisplayTileData), "$getDefaultDisplayTileOffset", $rt_wrapFunction0(nms_EntityMinecart_getDefaultDisplayTileOffset), "$getEntityName", $rt_wrapFunction0(nms_EntityMinecart_getEntityName), "$isInvNameLocalized", $rt_wrapFunction0(nms_EntityMinecart_isInvNameLocalized)], nms_EntityMinecartTNT, "EntityMinecartTNT", 43, nms_EntityMinecart, [], 0, 3, [0,0,0], 0, ["$getMinecartType", $rt_wrapFunction0(nms_EntityMinecartTNT_getMinecartType), "$getDefaultDisplayTile", $rt_wrapFunction0(nms_EntityMinecartTNT_getDefaultDisplayTile), "$onUpdate", $rt_wrapFunction0(nms_EntityMinecartTNT_onUpdate), "$killMinecart", $rt_wrapFunction1(nms_EntityMinecartTNT_killMinecart), "$fall", $rt_wrapFunction1(nms_EntityMinecartTNT_fall), "$onActivatorRailPass", $rt_wrapFunction4(nms_EntityMinecartTNT_onActivatorRailPass), "$handleHealthUpdate", $rt_wrapFunction1(nms_EntityMinecartTNT_handleHealthUpdate), "$getBlockExplosionResistance", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_EntityMinecartTNT_getBlockExplosionResistance(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$shouldExplodeBlock", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_EntityMinecartTNT_shouldExplodeBlock(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityMinecartTNT_readEntityFromNBT), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityMinecartTNT_writeEntityToNBT)], nms_RenderMinecart, "RenderMinecart", 43, nms_Render, [], 0, 3, 0, nms_RenderMinecart_$callClinit, ["$renderBlockInMinecart", $rt_wrapFunction4(nms_RenderMinecart_renderBlockInMinecart), "$getEntityTexture", $rt_wrapFunction1(nms_RenderMinecart_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderMinecart_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_RenderTntMinecart, "RenderTntMinecart", 43, nms_RenderMinecart, [], 0, 3, 0, 0, ["$renderBlockInMinecart", $rt_wrapFunction4(nms_RenderTntMinecart_renderBlockInMinecart)], nms_EntityMinecartMobSpawner, "EntityMinecartMobSpawner", 43, nms_EntityMinecart, [], 0, 3, [0,0,0], 0, ["$getMinecartType", $rt_wrapFunction0(nms_EntityMinecartMobSpawner_getMinecartType), "$getDefaultDisplayTile", $rt_wrapFunction0(nms_EntityMinecartMobSpawner_getDefaultDisplayTile), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityMinecartMobSpawner_readEntityFromNBT), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityMinecartMobSpawner_writeEntityToNBT), "$handleHealthUpdate", $rt_wrapFunction1(nms_EntityMinecartMobSpawner_handleHealthUpdate), "$onUpdate", $rt_wrapFunction0(nms_EntityMinecartMobSpawner_onUpdate)], nms_RenderMinecartMobSpawner, "RenderMinecartMobSpawner", 43, nms_RenderMinecart, [], 0, 3, 0, 0, ["$renderBlockInMinecart", $rt_wrapFunction4(nms_RenderMinecartMobSpawner_renderBlockInMinecart)], nms_EntityBoat, "EntityBoat", 43, nms_Entity, [], 0, 3, [0,0,0], 0, ["$canTriggerWalking", $rt_wrapFunction0(nms_EntityBoat_canTriggerWalking), "$entityInit", $rt_wrapFunction0(nms_EntityBoat_entityInit), "$getCollisionBox", $rt_wrapFunction1(nms_EntityBoat_getCollisionBox), "$getBoundingBox", $rt_wrapFunction0(nms_EntityBoat_getBoundingBox), "$canBePushed", $rt_wrapFunction0(nms_EntityBoat_canBePushed), "$getMountedYOffset", $rt_wrapFunction0(nms_EntityBoat_getMountedYOffset), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityBoat_attackEntityFrom), "$performHurtAnimation", $rt_wrapFunction0(nms_EntityBoat_performHurtAnimation), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityBoat_canBeCollidedWith), "$setPositionAndRotation2", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_EntityBoat_setPositionAndRotation2(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$setVelocity", $rt_wrapFunction3(nms_EntityBoat_setVelocity), "$onUpdate", $rt_wrapFunction0(nms_EntityBoat_onUpdate), "$updateRiderPosition", $rt_wrapFunction0(nms_EntityBoat_updateRiderPosition), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityBoat_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityBoat_readEntityFromNBT), "$getShadowSize", $rt_wrapFunction0(nms_EntityBoat_getShadowSize), "$interactFirst", $rt_wrapFunction1(nms_EntityBoat_interactFirst)], nms_RenderBoat, "RenderBoat", 43, nms_Render, [], 0, 3, 0, nms_RenderBoat_$callClinit, ["$getEntityTexture", $rt_wrapFunction1(nms_RenderBoat_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderBoat_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_EntityFishHook, "EntityFishHook", 43, nms_Entity, [], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntityFishHook_entityInit), "$isInRangeToRenderDist", $rt_wrapFunction1(nms_EntityFishHook_isInRangeToRenderDist), "$setPositionAndRotation2", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_EntityFishHook_setPositionAndRotation2(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$setVelocity", $rt_wrapFunction3(nms_EntityFishHook_setVelocity), "$onUpdate", $rt_wrapFunction0(nms_EntityFishHook_onUpdate), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityFishHook_writeEntityToNBT), "$getShadowSize", $rt_wrapFunction0(nms_EntityFishHook_getShadowSize), "$setDead", $rt_wrapFunction0(nms_EntityFishHook_setDead)], nms_RenderFish, "RenderFish", 43, nms_Render, [], 0, 3, 0, nms_RenderFish_$callClinit, ["$getEntityTexture", $rt_wrapFunction1(nms_RenderFish_getEntityTexture), "$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderFish_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_IInvBasic, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_EntityHorse, "EntityHorse", 43, nms_EntityAnimal, [nms_IInvBasic], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntityHorse_entityInit), "$getEntityName", $rt_wrapFunction0(nms_EntityHorse_getEntityName), "$setScaleForAge", $rt_wrapFunction1(nms_EntityHorse_setScaleForAge), "$allowLeashing", $rt_wrapFunction0(nms_EntityHorse_allowLeashing), "$func_142017_o", $rt_wrapFunction1(nms_EntityHorse_func_142017_o), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityHorse_attackEntityFrom), "$getTotalArmorValue", $rt_wrapFunction0(nms_EntityHorse_getTotalArmorValue), "$canBePushed", $rt_wrapFunction0(nms_EntityHorse_canBePushed), "$fall", $rt_wrapFunction1(nms_EntityHorse_fall), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityHorse_getCanSpawnHere), "$getDeathSound", $rt_wrapFunction0(nms_EntityHorse_getDeathSound), "$getDropItemId", $rt_wrapFunction0(nms_EntityHorse_getDropItemId), "$getHurtSound", $rt_wrapFunction0(nms_EntityHorse_getHurtSound), "$getLivingSound", $rt_wrapFunction0(nms_EntityHorse_getLivingSound), "$playStepSound", $rt_wrapFunction4(nms_EntityHorse_playStepSound), "$applyEntityAttributes", $rt_wrapFunction0(nms_EntityHorse_applyEntityAttributes), "$getSoundVolume", $rt_wrapFunction0(nms_EntityHorse_getSoundVolume), "$getTalkInterval", $rt_wrapFunction0(nms_EntityHorse_getTalkInterval), "$interact", $rt_wrapFunction1(nms_EntityHorse_interact), "$isMovementBlocked", $rt_wrapFunction0(nms_EntityHorse_isMovementBlocked), "$isBreedingItem", $rt_wrapFunction1(nms_EntityHorse_isBreedingItem), "$onDeath", $rt_wrapFunction1(nms_EntityHorse_onDeath), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityHorse_onLivingUpdate), "$onUpdate", $rt_wrapFunction0(nms_EntityHorse_onUpdate), "$moveEntityWithHeading", $rt_wrapFunction2(nms_EntityHorse_moveEntityWithHeading), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityHorse_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityHorse_readEntityFromNBT), "$canMateWith", $rt_wrapFunction1(nms_EntityHorse_canMateWith), "$createChild", $rt_wrapFunction1(nms_EntityHorse_createChild), "$onSpawnWithEgg", $rt_wrapFunction1(nms_EntityHorse_onSpawnWithEgg), "$isAIEnabled", $rt_wrapFunction0(nms_EntityHorse_isAIEnabled), "$handleHealthUpdate", $rt_wrapFunction1(nms_EntityHorse_handleHealthUpdate), "$updateRiderPosition", $rt_wrapFunction0(nms_EntityHorse_updateRiderPosition), "$isOnLadder", $rt_wrapFunction0(nms_EntityHorse_isOnLadder)], nms_RenderHorse, "RenderHorse", 43, nms_RenderLiving, [], 0, 3, 0, nms_RenderHorse_$callClinit, ["$preRenderCallback", $rt_wrapFunction2(nms_RenderHorse_preRenderCallback), "$renderModel", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_RenderHorse_renderModel(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$bindTexture0", $rt_wrapFunction1(nms_RenderHorse_bindTexture), "$getEntityTexture", $rt_wrapFunction1(nms_RenderHorse_getEntityTexture)], nms_ModelHorse, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelHorse_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setLivingAnimations", $rt_wrapFunction4(nms_ModelHorse_setLivingAnimations)], nms_EntityWeatherEffect, "EntityWeatherEffect", 43, nms_Entity, [], 1, 3, 0, 0, 0]); $rt_metadata([nms_EntityLightningBolt, "EntityLightningBolt", 43, nms_EntityWeatherEffect, [], 0, 3, [0,0,0], 0, ["$onUpdate", $rt_wrapFunction0(nms_EntityLightningBolt_onUpdate), "$entityInit", $rt_wrapFunction0(nms_EntityLightningBolt_entityInit), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityLightningBolt_writeEntityToNBT), "$isInRangeToRenderVec3D", $rt_wrapFunction1(nms_EntityLightningBolt_isInRangeToRenderVec3D)], nms_RenderLightningBolt, "RenderLightningBolt", 43, nms_Render, [], 0, 3, 0, 0, ["$doRender", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_RenderLightningBolt_doRender(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_MapItemRenderer, 0, jl_Object, [], 0, 3, 0, nms_MapItemRenderer_$callClinit, 0, nms_StatBase, "StatBase", 43, jl_Object, [], 0, 3, 0, nms_StatBase_$callClinit, ["$isAchievement", $rt_wrapFunction0(nms_StatBase_isAchievement), "$toString", $rt_wrapFunction0(nms_StatBase_toString)], nms_Achievement, "Achievement", 43, nms_StatBase, [], 0, 3, 0, 0, ["$isAchievement", $rt_wrapFunction0(nms_Achievement_isAchievement)], nms_RenderList, 0, jl_Object, [], 0, 3, 0, 0, 0, nlea_Tessellator, "Tessellator", 46, jl_Object, [], 0, 3, 0, nlea_Tessellator_$callClinit, 0, nms_GuiNewChat, 0, nms_Gui, [], 0, 3, 0, 0, 0, nlesi_IPCPacket0BPause, "IPCPacket0BPause", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket0BPause_deserialize), "$serialize", $rt_wrapFunction1(nlesi_IPCPacket0BPause_serialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket0BPause_id), "$size", $rt_wrapFunction0(nlesi_IPCPacket0BPause_size)], nms_EntityPlayerSP, "EntityPlayerSP", 43, nms_EntityPlayer, [], 0, 3, 0, 0, ["$updateEntityActionState", $rt_wrapFunction0(nms_EntityPlayerSP_updateEntityActionState), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityPlayerSP_onLivingUpdate), "$isSneaking", $rt_wrapFunction0(nms_EntityPlayerSP_isSneaking), "$getHeldItem", $rt_wrapFunction0(nms_EntityPlayerSP_getHeldItem), "$playSound0", $rt_wrapFunction3(nms_EntityPlayerSP_playSound), "$isClientWorld", $rt_wrapFunction0(nms_EntityPlayerSP_isClientWorld)], nms_PlayerControllerMP, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_EntityOtherPlayerMP, "EntityOtherPlayerMP", 43, nms_EntityPlayer, [], 0, 3, [0,0,0], 0, ["$resetHeight", $rt_wrapFunction0(nms_EntityOtherPlayerMP_resetHeight), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityOtherPlayerMP_attackEntityFrom), "$setPositionAndRotation2", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_EntityOtherPlayerMP_setPositionAndRotation2(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onUpdate", $rt_wrapFunction0(nms_EntityOtherPlayerMP_onUpdate), "$getShadowSize", $rt_wrapFunction0(nms_EntityOtherPlayerMP_getShadowSize), "$onLivingUpdate", $rt_wrapFunction0(nms_EntityOtherPlayerMP_onLivingUpdate), "$setCurrentItemOrArmor", $rt_wrapFunction2(nms_EntityOtherPlayerMP_setCurrentItemOrArmor), "$getEyeHeight", $rt_wrapFunction0(nms_EntityOtherPlayerMP_getEyeHeight)], nms_EntityClientPlayerMP, "EntityClientPlayerMP", 43, nms_EntityPlayerSP, [], 0, 3, [0,0,0], 0, ["$attackEntityFrom", $rt_wrapFunction2(nms_EntityClientPlayerMP_attackEntityFrom), "$heal", $rt_wrapFunction1(nms_EntityClientPlayerMP_heal), "$onUpdate", $rt_wrapFunction0(nms_EntityClientPlayerMP_onUpdate), "$joinEntityItemWithWorld", $rt_wrapFunction1(nms_EntityClientPlayerMP_joinEntityItemWithWorld), "$swingItem", $rt_wrapFunction0(nms_EntityClientPlayerMP_swingItem), "$damageEntity", $rt_wrapFunction2(nms_EntityClientPlayerMP_damageEntity), "$closeScreen", $rt_wrapFunction0(nms_EntityClientPlayerMP_closeScreen), "$addStat", $rt_wrapFunction2(nms_EntityClientPlayerMP_addStat)], nms_MovingObjectPosition, "MovingObjectPosition", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_EnumMovingObjectType, 0, jl_Enum, [], 12, 3, 0, 0, 0, nms_ItemStack, "ItemStack", 43, jl_Object, [], 4, 3, 0, nms_ItemStack_$callClinit, ["$toString", $rt_wrapFunction0(nms_ItemStack_toString)], nle_GuiNetworkSettingsButton, 0, nms_Gui, [], 0, 3, 0, 0, 0, nms_PlayerCapabilities, "PlayerCapabilities", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_Block, "Block", 43, jl_Object, [], 0, 3, 0, nms_Block_$callClinit, ["$initializeBlock", $rt_wrapFunction0(nms_Block_initializeBlock), "$renderAsNormalBlock", $rt_wrapFunction0(nms_Block_renderAsNormalBlock), "$getBlocksMovement", $rt_wrapFunction4(nms_Block_getBlocksMovement), "$getRenderType", $rt_wrapFunction0(nms_Block_getRenderType), "$getBlockBrightness", $rt_wrapFunction4(nms_Block_getBlockBrightness), "$getMixedBrightnessForBlock", $rt_wrapFunction4(nms_Block_getMixedBrightnessForBlock), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_Block_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$getBlockTexture", function(var_1, var_2, var_3, var_4, var_5) { return nms_Block_getBlockTexture(this, var_1, var_2, var_3, var_4, var_5); }, "$getIcon", $rt_wrapFunction2(nms_Block_getIcon), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_Block_getSelectedBoundingBoxFromPool), "$addCollisionBoxesToList", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_Block_addCollisionBoxesToList(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_Block_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_Block_isOpaqueCube), "$canCollideCheck", $rt_wrapFunction2(nms_Block_canCollideCheck), "$isCollidable", $rt_wrapFunction0(nms_Block_isCollidable), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockDestroyedByPlayer", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onBlockDestroyedByPlayer(this, var_1, var_2, var_3, var_4, var_5); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_Block_onBlockAdded), "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_Block_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$quantityDropped", $rt_wrapFunction1(nms_Block_quantityDropped), "$idDropped", $rt_wrapFunction3(nms_Block_idDropped), "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_Block_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$damageDropped", $rt_wrapFunction1(nms_Block_damageDropped), "$getExplosionResistance", $rt_wrapFunction1(nms_Block_getExplosionResistance), "$collisionRayTrace", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_Block_collisionRayTrace(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onBlockDestroyedByExplosion", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onBlockDestroyedByExplosion(this, var_1, var_2, var_3, var_4, var_5); }, "$getRenderBlockPass", $rt_wrapFunction0(nms_Block_getRenderBlockPass), "$canPlaceBlockOnSide", function(var_1, var_2, var_3, var_4, var_5) { return nms_Block_canPlaceBlockOnSide(this, var_1, var_2, var_3, var_4, var_5); }, "$canPlaceBlockAt", $rt_wrapFunction4(nms_Block_canPlaceBlockAt), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_Block_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onEntityWalking", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onEntityWalking(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_Block_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$velocityToAddToEntity", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_Block_velocityToAddToEntity(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_Block_setBlockBoundsBasedOnState), "$getBlockColor", $rt_wrapFunction0(nms_Block_getBlockColor), "$getRenderColor", $rt_wrapFunction1(nms_Block_getRenderColor), "$colorMultiplier", $rt_wrapFunction4(nms_Block_colorMultiplier), "$isProvidingWeakPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_Block_isProvidingWeakPower(this, var_1, var_2, var_3, var_4, var_5); }, "$canProvidePower", $rt_wrapFunction0(nms_Block_canProvidePower), "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$isProvidingStrongPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_Block_isProvidingStrongPower(this, var_1, var_2, var_3, var_4, var_5); }, "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_Block_setBlockBoundsForItemRender), "$quantityDroppedWithBonus", $rt_wrapFunction2(nms_Block_quantityDroppedWithBonus), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_Block_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onPostBlockPlaced", function(var_1, var_2, var_3, var_4, var_5) { nms_Block_onPostBlockPlaced(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockEventReceived", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_Block_onBlockEventReceived(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$getMobilityFlag", $rt_wrapFunction0(nms_Block_getMobilityFlag), "$onFallenUpon", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_Block_onFallenUpon(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$idPicked", $rt_wrapFunction4(nms_Block_idPicked), "$getDamageValue", $rt_wrapFunction4(nms_Block_getDamageValue), "$getSubBlocks", $rt_wrapFunction3(nms_Block_getSubBlocks), "$isFlowerPot", $rt_wrapFunction0(nms_Block_isFlowerPot), "$canDropFromExplosion", $rt_wrapFunction1(nms_Block_canDropFromExplosion), "$hasComparatorInputOverride", $rt_wrapFunction0(nms_Block_hasComparatorInputOverride), "$getComparatorInputOverride", function(var_1, var_2, var_3, var_4, var_5) { return nms_Block_getComparatorInputOverride(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_Block_registerIcons), "$getItemIconName", $rt_wrapFunction0(nms_Block_getItemIconName)], nms_Container, "Container", 43, jl_Object, [], 1, 3, 0, 0, ["$addCraftingToCrafters", $rt_wrapFunction1(nms_Container_addCraftingToCrafters), "$detectAndSendChanges", $rt_wrapFunction0(nms_Container_detectAndSendChanges), "$func_94530_a", $rt_wrapFunction2(nms_Container_func_94530_a), "$retrySlotClick", $rt_wrapFunction4(nms_Container_retrySlotClick), "$onContainerClosed", $rt_wrapFunction1(nms_Container_onContainerClosed), "$onCraftMatrixChanged", $rt_wrapFunction1(nms_Container_onCraftMatrixChanged), "$updateProgressBar", $rt_wrapFunction2(nms_Container_updateProgressBar), "$canDragIntoSlot", $rt_wrapFunction1(nms_Container_canDragIntoSlot)], nms_EntityList, 0, jl_Object, [], 0, 3, 0, nms_EntityList_$callClinit, 0, nms_ITexturePack, "ITexturePack", 43, jl_Object, [], 3, 3, 0, 0, 0, nms_TexturePackImplementation, "TexturePackImplementation", 43, jl_Object, [nms_ITexturePack], 1, 3, 0, 0, ["$loadDescription", $rt_wrapFunction0(nms_TexturePackImplementation_loadDescription), "$getResourceAsBytes", $rt_wrapFunction1(nms_TexturePackImplementation_getResourceAsBytes)], nms_TexturePackDefault, "TexturePackDefault", 43, nms_TexturePackImplementation, [], 0, 3, 0, 0, ["$loadDescription", $rt_wrapFunction0(nms_TexturePackDefault_loadDescription), "$func_98140_c", $rt_wrapFunction1(nms_TexturePackDefault_func_98140_c), "$isCompatible", $rt_wrapFunction0(nms_TexturePackDefault_isCompatible), "$func_98139_b", $rt_wrapFunction1(nms_TexturePackDefault_func_98139_b), "$getResourceAsBytes", $rt_wrapFunction1(nms_TexturePackDefault_getResourceAsBytes)], nms_IntHashMapEntry, 0, jl_Object, [], 0, 0, 0, 0, 0, nms_Icon, "Icon", 43, jl_Object, [], 3, 3, 0, 0, 0, nle_TextureTerrainMap$TerrainIconV2, "TextureTerrainMap$TerrainIconV2", 45, jl_Object, [nms_Icon], 0, 0, 0, 0, ["$getMinU", $rt_wrapFunction0(nle_TextureTerrainMap$TerrainIconV2_getMinU), "$getMaxU", $rt_wrapFunction0(nle_TextureTerrainMap$TerrainIconV2_getMaxU), "$getInterpolatedU", $rt_wrapFunction1(nle_TextureTerrainMap$TerrainIconV2_getInterpolatedU), "$getMinV", $rt_wrapFunction0(nle_TextureTerrainMap$TerrainIconV2_getMinV), "$getMaxV", $rt_wrapFunction0(nle_TextureTerrainMap$TerrainIconV2_getMaxV), "$getInterpolatedV", $rt_wrapFunction1(nle_TextureTerrainMap$TerrainIconV2_getInterpolatedV), "$getIconName", $rt_wrapFunction0(nle_TextureTerrainMap$TerrainIconV2_getIconName), "$getSheetWidth", $rt_wrapFunction0(nle_TextureTerrainMap$TerrainIconV2_getSheetWidth), "$getSheetHeight", $rt_wrapFunction0(nle_TextureTerrainMap$TerrainIconV2_getSheetHeight), "$getIconWidth", $rt_wrapFunction0(nle_TextureTerrainMap$TerrainIconV2_getIconWidth), "$getIconHeight", $rt_wrapFunction0(nle_TextureTerrainMap$TerrainIconV2_getIconHeight)], jn_FloatBuffer, "FloatBuffer", 9, jn_Buffer, [jl_Comparable], 1, 3, 0, 0, 0, nms_StatBasic, "StatBasic", 43, nms_StatBase, [], 0, 3, 0, 0, 0, nms_ModelSpider, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelSpider_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelSpider_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelRenderer, "ModelRenderer", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_ModelSilverfish, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelSilverfish_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelSilverfish_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelCreeper, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelCreeper_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelCreeper_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelEnderman, 0, nms_ModelBiped, [], 0, 3, 0, 0, ["$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelEnderman_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelSnowMan, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelSnowMan_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelSnowMan_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelSkeleton, 0, nms_ModelZombie, [], 0, 3, 0, 0, ["$setLivingAnimations", $rt_wrapFunction4(nms_ModelSkeleton_setLivingAnimations), "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelSkeleton_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelVillager, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelVillager_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelVillager_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelWitch, 0, nms_ModelVillager, [], 0, 3, 0, 0, ["$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelWitch_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelBlaze, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelBlaze_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelBlaze_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelZombieVillager, 0, nms_ModelBiped, [], 0, 3, 0, 0, ["$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelZombieVillager_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelMagmaCube, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$setLivingAnimations", $rt_wrapFunction4(nms_ModelMagmaCube_setLivingAnimations), "$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelMagmaCube_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nle_ModelBipedNewSkins, 0, nms_ModelBiped, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nle_ModelBipedNewSkins_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nle_ModelBipedNewSkins_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelGhast, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelGhast_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelGhast_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelIronGolem, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelIronGolem_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelIronGolem_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setLivingAnimations", $rt_wrapFunction4(nms_ModelIronGolem_setLivingAnimations)], nms_ModelBat, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelBat_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelDragon, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$setLivingAnimations", $rt_wrapFunction4(nms_ModelDragon_setLivingAnimations), "$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelDragon_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ModelEnderCrystal, 0, nms_ModelBase, [], 0, 3, 0, 0, 0, nms_ModelWither, 0, nms_ModelBase, [], 0, 3, 0, 0, ["$render0", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelWither_render(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setRotationAngles", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_ModelWither_setRotationAngles(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setLivingAnimations", $rt_wrapFunction4(nms_ModelWither_setLivingAnimations)], nms_ModelLeashKnot, 0, nms_ModelBase, [], 0, 3, 0, 0, 0, nms_ModelSkeletonHead, 0, nms_ModelBase, [], 0, 3, 0, 0, 0]); $rt_metadata([nms_ModelMinecart, 0, nms_ModelBase, [], 0, 3, 0, 0, 0, nms_ModelBoat, 0, nms_ModelBase, [], 0, 3, 0, 0, 0, nleg_EaglerAdapterGL30$DisplayList, "EaglerAdapterGL30$DisplayList", 49, jl_Object, [], 0, 0, 0, 0, 0, jl_StackTraceElement, "StackTraceElement", 17, jl_Object, [ji_Serializable], 4, 3, 0, 0, 0, nle_EaglerProfile$EaglerProfileSkin, "EaglerProfile$EaglerProfileSkin", 45, jl_Object, [], 0, 3, 0, 0, 0, nle_EaglerProfile$EaglerProfileCape, "EaglerProfile$EaglerProfileCape", 45, jl_Object, [], 0, 3, 0, 0, 0, nms_DataWatcher, "DataWatcher", 43, jl_Object, [], 0, 3, 0, nms_DataWatcher_$callClinit, 0, nle_ProfileUUID, "ProfileUUID", 45, jl_Object, [], 0, 3, 0, 0, ["$toString", $rt_wrapFunction0(nle_ProfileUUID_toString), "$hashCode", $rt_wrapFunction0(nle_ProfileUUID_hashCode), "$equals", $rt_wrapFunction1(nle_ProfileUUID_equals)], nms_AttributeModifier, "AttributeModifier", 43, jl_Object, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(nms_AttributeModifier_equals), "$hashCode", $rt_wrapFunction0(nms_AttributeModifier_hashCode), "$toString", $rt_wrapFunction0(nms_AttributeModifier_toString)], nle_LANServerList, "LANServerList", 45, jl_Object, [], 0, 3, 0, 0, 0, nlesi_IPCPacket00StartServer, "IPCPacket00StartServer", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket00StartServer_deserialize), "$serialize", $rt_wrapFunction1(nlesi_IPCPacket00StartServer_serialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket00StartServer_id), "$size", $rt_wrapFunction0(nlesi_IPCPacket00StartServer_size)], nlesi_IPCPacket01StopServer, "IPCPacket01StopServer", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket01StopServer_deserialize), "$serialize", $rt_wrapFunction1(nlesi_IPCPacket01StopServer_serialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket01StopServer_id), "$size", $rt_wrapFunction0(nlesi_IPCPacket01StopServer_size)], nlesi_IPCPacket02InitWorld, "IPCPacket02InitWorld", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket02InitWorld_deserialize), "$serialize", $rt_wrapFunction1(nlesi_IPCPacket02InitWorld_serialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket02InitWorld_id), "$size", $rt_wrapFunction0(nlesi_IPCPacket02InitWorld_size)], nlesi_IPCPacket03DeleteWorld, "IPCPacket03DeleteWorld", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket03DeleteWorld_deserialize), "$serialize", $rt_wrapFunction1(nlesi_IPCPacket03DeleteWorld_serialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket03DeleteWorld_id), "$size", $rt_wrapFunction0(nlesi_IPCPacket03DeleteWorld_size)], nlesi_IPCPacket04RenameWorld, "IPCPacket04RenameWorld", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket04RenameWorld_deserialize), "$serialize", $rt_wrapFunction1(nlesi_IPCPacket04RenameWorld_serialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket04RenameWorld_id), "$size", $rt_wrapFunction0(nlesi_IPCPacket04RenameWorld_size)], nlesi_IPCPacket05RequestData, "IPCPacket05RequestData", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket05RequestData_deserialize), "$serialize", $rt_wrapFunction1(nlesi_IPCPacket05RequestData_serialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket05RequestData_id), "$size", $rt_wrapFunction0(nlesi_IPCPacket05RequestData_size)], nlesi_IPCPacket06RenameWorldNBT, "IPCPacket06RenameWorldNBT", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket06RenameWorldNBT_deserialize), "$serialize", $rt_wrapFunction1(nlesi_IPCPacket06RenameWorldNBT_serialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket06RenameWorldNBT_id), "$size", $rt_wrapFunction0(nlesi_IPCPacket06RenameWorldNBT_size)], nlesi_IPCPacket07ImportWorld, "IPCPacket07ImportWorld", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket07ImportWorld_deserialize), "$serialize", $rt_wrapFunction1(nlesi_IPCPacket07ImportWorld_serialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket07ImportWorld_id), "$size", $rt_wrapFunction0(nlesi_IPCPacket07ImportWorld_size)], nlesi_IPCPacket0ASetWorldDifficulty, "IPCPacket0ASetWorldDifficulty", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket0ASetWorldDifficulty_deserialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket0ASetWorldDifficulty_id)], nlesi_IPCPacket0EListWorlds, "IPCPacket0EListWorlds", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket0EListWorlds_deserialize), "$serialize", $rt_wrapFunction1(nlesi_IPCPacket0EListWorlds_serialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket0EListWorlds_id), "$size", $rt_wrapFunction0(nlesi_IPCPacket0EListWorlds_size)], nlesi_IPCPacket0FListFiles, "IPCPacket0FListFiles", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket0FListFiles_deserialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket0FListFiles_id)], nlesi_IPCPacket10FileRead, "IPCPacket10FileRead", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket10FileRead_deserialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket10FileRead_id)], nlesi_IPCPacket12FileWrite, "IPCPacket12FileWrite", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket12FileWrite_deserialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket12FileWrite_id)], nlesi_IPCPacket13FileCopyMove, "IPCPacket13FileCopyMove", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket13FileCopyMove_deserialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket13FileCopyMove_id)], nlesi_IPCPacket18ClearPlayers, "IPCPacket18ClearPlayers", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket18ClearPlayers_deserialize), "$serialize", $rt_wrapFunction1(nlesi_IPCPacket18ClearPlayers_serialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket18ClearPlayers_id), "$size", $rt_wrapFunction0(nlesi_IPCPacket18ClearPlayers_size)], nlesi_IPCPacket17ConfigureLAN, "IPCPacket17ConfigureLAN", 53, jl_Object, [nlesi_IPCPacketBase], 0, 3, [0,0,0], 0, ["$deserialize", $rt_wrapFunction1(nlesi_IPCPacket17ConfigureLAN_deserialize), "$id", $rt_wrapFunction0(nlesi_IPCPacket17ConfigureLAN_id)], jlr_ReferenceQueue, 0, jl_Object, [], 0, 3, 0, 0, 0, ji_UnsupportedEncodingException, "UnsupportedEncodingException", 12, ji_IOException, [], 0, 3, 0, 0, 0, nms_StatCrafting, "StatCrafting", 43, nms_StatBase, [], 0, 3, 0, 0, 0, nms_ItemTool, 0, nms_Item, [], 0, 3, 0, 0, ["$getStrVsBlock", $rt_wrapFunction2(nms_ItemTool_getStrVsBlock), "$hitEntity", $rt_wrapFunction3(nms_ItemTool_hitEntity), "$onBlockDestroyed", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemTool_onBlockDestroyed(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$isFull3D", $rt_wrapFunction0(nms_ItemTool_isFull3D), "$getItemEnchantability", $rt_wrapFunction0(nms_ItemTool_getItemEnchantability), "$getIsRepairable", $rt_wrapFunction2(nms_ItemTool_getIsRepairable)], nms_ItemSpade, 0, nms_ItemTool, [], 0, 3, 0, nms_ItemSpade_$callClinit, ["$canHarvestBlock", $rt_wrapFunction1(nms_ItemSpade_canHarvestBlock)], nms_EnumToolMaterial, 0, jl_Enum, [], 12, 3, 0, 0, 0, nms_ItemPickaxe, 0, nms_ItemTool, [], 0, 3, 0, nms_ItemPickaxe_$callClinit, ["$canHarvestBlock", $rt_wrapFunction1(nms_ItemPickaxe_canHarvestBlock), "$getStrVsBlock", $rt_wrapFunction2(nms_ItemPickaxe_getStrVsBlock)], nms_ItemAxe, 0, nms_ItemTool, [], 0, 3, 0, nms_ItemAxe_$callClinit, ["$getStrVsBlock", $rt_wrapFunction2(nms_ItemAxe_getStrVsBlock)], nms_ItemFlintAndSteel, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemFlintAndSteel_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }], nms_ItemFood, 0, nms_Item, [], 0, 3, 0, 0, ["$onEaten", $rt_wrapFunction3(nms_ItemFood_onEaten), "$onFoodEaten", $rt_wrapFunction3(nms_ItemFood_onFoodEaten), "$getMaxItemUseDuration", $rt_wrapFunction1(nms_ItemFood_getMaxItemUseDuration), "$getItemUseAction", $rt_wrapFunction1(nms_ItemFood_getItemUseAction), "$onItemRightClick", $rt_wrapFunction3(nms_ItemFood_onItemRightClick)], nms_ItemBow, 0, nms_Item, [], 0, 3, 0, 0, ["$onPlayerStoppedUsing", $rt_wrapFunction4(nms_ItemBow_onPlayerStoppedUsing), "$onEaten", $rt_wrapFunction3(nms_ItemBow_onEaten), "$getMaxItemUseDuration", $rt_wrapFunction1(nms_ItemBow_getMaxItemUseDuration), "$getItemUseAction", $rt_wrapFunction1(nms_ItemBow_getItemUseAction), "$onItemRightClick", $rt_wrapFunction3(nms_ItemBow_onItemRightClick), "$getItemEnchantability", $rt_wrapFunction0(nms_ItemBow_getItemEnchantability), "$registerIcons", $rt_wrapFunction1(nms_ItemBow_registerIcons)], nms_CreativeTabs, "CreativeTabs", 43, jl_Object, [], 0, 3, 0, nms_CreativeTabs_$callClinit, 0, nms_ItemCoal, 0, nms_Item, [], 0, 3, 0, 0, ["$getUnlocalizedName", $rt_wrapFunction1(nms_ItemCoal_getUnlocalizedName), "$getSubItems", $rt_wrapFunction3(nms_ItemCoal_getSubItems), "$getIconFromDamage", $rt_wrapFunction1(nms_ItemCoal_getIconFromDamage), "$registerIcons", $rt_wrapFunction1(nms_ItemCoal_registerIcons)], nms_ItemSword, 0, nms_Item, [], 0, 3, 0, 0, ["$getStrVsBlock", $rt_wrapFunction2(nms_ItemSword_getStrVsBlock), "$hitEntity", $rt_wrapFunction3(nms_ItemSword_hitEntity), "$onBlockDestroyed", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemSword_onBlockDestroyed(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$isFull3D", $rt_wrapFunction0(nms_ItemSword_isFull3D), "$getItemUseAction", $rt_wrapFunction1(nms_ItemSword_getItemUseAction), "$getMaxItemUseDuration", $rt_wrapFunction1(nms_ItemSword_getMaxItemUseDuration), "$onItemRightClick", $rt_wrapFunction3(nms_ItemSword_onItemRightClick), "$canHarvestBlock", $rt_wrapFunction1(nms_ItemSword_canHarvestBlock), "$getItemEnchantability", $rt_wrapFunction0(nms_ItemSword_getItemEnchantability), "$getIsRepairable", $rt_wrapFunction2(nms_ItemSword_getIsRepairable)], nms_ItemSoup, 0, nms_ItemFood, [], 0, 3, 0, 0, ["$onEaten", $rt_wrapFunction3(nms_ItemSoup_onEaten)], nms_ItemReed, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemReed_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }], nms_PotionHelper, 0, jl_Object, [], 0, 3, 0, nms_PotionHelper_$callClinit, 0, nms_ItemHoe, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemHoe_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }, "$isFull3D", $rt_wrapFunction0(nms_ItemHoe_isFull3D)], nms_ItemSeeds, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemSeeds_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }], nms_ItemArmor, "ItemArmor", 43, nms_Item, [], 0, 3, 0, 0, ["$getColorFromItemStack", $rt_wrapFunction2(nms_ItemArmor_getColorFromItemStack), "$requiresMultipleRenderPasses", $rt_wrapFunction0(nms_ItemArmor_requiresMultipleRenderPasses), "$getItemEnchantability", $rt_wrapFunction0(nms_ItemArmor_getItemEnchantability), "$getIconFromDamageForRenderPass", $rt_wrapFunction2(nms_ItemArmor_getIconFromDamageForRenderPass), "$getIsRepairable", $rt_wrapFunction2(nms_ItemArmor_getIsRepairable), "$registerIcons", $rt_wrapFunction1(nms_ItemArmor_registerIcons), "$onItemRightClick", $rt_wrapFunction3(nms_ItemArmor_onItemRightClick)], nms_EnumArmorMaterial, "EnumArmorMaterial", 43, jl_Enum, [], 12, 3, 0, 0, 0, nms_ItemHangingEntity, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemHangingEntity_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }], nms_ItemAppleGold, 0, nms_ItemFood, [], 0, 3, 0, 0, ["$hasEffect", $rt_wrapFunction1(nms_ItemAppleGold_hasEffect), "$getRarity", $rt_wrapFunction1(nms_ItemAppleGold_getRarity), "$onFoodEaten", $rt_wrapFunction3(nms_ItemAppleGold_onFoodEaten), "$getSubItems", $rt_wrapFunction3(nms_ItemAppleGold_getSubItems)], nms_Potion, "Potion", 43, jl_Object, [], 0, 3, 0, nms_Potion_$callClinit, ["$isInstant", $rt_wrapFunction0(nms_Potion_isInstant), "$isReady", $rt_wrapFunction2(nms_Potion_isReady), "$removeAttributesModifiersFromEntity", $rt_wrapFunction3(nms_Potion_removeAttributesModifiersFromEntity), "$applyAttributesModifiersToEntity", $rt_wrapFunction3(nms_Potion_applyAttributesModifiersToEntity), "$func_111183_a", $rt_wrapFunction2(nms_Potion_func_111183_a)]]); $rt_metadata([nms_ItemSign, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemSign_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }], nms_ItemDoor, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemDoor_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }], nms_Material, "Material", 43, jl_Object, [], 0, 3, 0, nms_Material_$callClinit, ["$isLiquid", $rt_wrapFunction0(nms_Material_isLiquid), "$isSolid", $rt_wrapFunction0(nms_Material_isSolid), "$getCanBlockGrass", $rt_wrapFunction0(nms_Material_getCanBlockGrass), "$blocksMovement", $rt_wrapFunction0(nms_Material_blocksMovement)], nms_ItemBucket, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemBucket_onItemRightClick)], nms_ItemMinecart, "ItemMinecart", 43, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemMinecart_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }], nms_ItemSaddle, 0, nms_Item, [], 0, 3, 0, 0, ["$itemInteractionForEntity", $rt_wrapFunction3(nms_ItemSaddle_itemInteractionForEntity), "$hitEntity", $rt_wrapFunction3(nms_ItemSaddle_hitEntity)], nms_ItemRedstone, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemRedstone_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }], nms_ItemSnowball, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemSnowball_onItemRightClick)], nms_ItemBoat, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemBoat_onItemRightClick)], nms_ItemBucketMilk, 0, nms_Item, [], 0, 3, 0, 0, ["$onEaten", $rt_wrapFunction3(nms_ItemBucketMilk_onEaten), "$getMaxItemUseDuration", $rt_wrapFunction1(nms_ItemBucketMilk_getMaxItemUseDuration), "$getItemUseAction", $rt_wrapFunction1(nms_ItemBucketMilk_getItemUseAction), "$onItemRightClick", $rt_wrapFunction3(nms_ItemBucketMilk_onItemRightClick)], nms_ItemBook, 0, nms_Item, [], 0, 3, 0, 0, ["$isItemTool", $rt_wrapFunction1(nms_ItemBook_isItemTool), "$getItemEnchantability", $rt_wrapFunction0(nms_ItemBook_getItemEnchantability)], nms_ItemEgg, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemEgg_onItemRightClick)], nms_ItemFishingRod, 0, nms_Item, [], 0, 3, 0, 0, ["$isFull3D", $rt_wrapFunction0(nms_ItemFishingRod_isFull3D), "$shouldRotateAroundWhenRendering", $rt_wrapFunction0(nms_ItemFishingRod_shouldRotateAroundWhenRendering), "$onItemRightClick", $rt_wrapFunction3(nms_ItemFishingRod_onItemRightClick), "$registerIcons", $rt_wrapFunction1(nms_ItemFishingRod_registerIcons)], nms_ItemDye, 0, nms_Item, [], 0, 3, 0, 0, ["$getIconFromDamage", $rt_wrapFunction1(nms_ItemDye_getIconFromDamage), "$getUnlocalizedName", $rt_wrapFunction1(nms_ItemDye_getUnlocalizedName), "$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemDye_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }, "$itemInteractionForEntity", $rt_wrapFunction3(nms_ItemDye_itemInteractionForEntity), "$getSubItems", $rt_wrapFunction3(nms_ItemDye_getSubItems), "$registerIcons", $rt_wrapFunction1(nms_ItemDye_registerIcons)], nms_ItemBed, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemBed_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }], nms_ItemMapBase, 0, nms_Item, [], 0, 3, 0, 0, 0, nms_ItemMap, 0, nms_ItemMapBase, [], 0, 3, 0, 0, ["$onUpdate1", function(var_1, var_2, var_3, var_4, var_5) { nms_ItemMap_onUpdate(this, var_1, var_2, var_3, var_4, var_5); }, "$onCreated", $rt_wrapFunction3(nms_ItemMap_onCreated), "$addInformation", $rt_wrapFunction4(nms_ItemMap_addInformation)], nms_ItemShears, 0, nms_Item, [], 0, 3, 0, 0, ["$onBlockDestroyed", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemShears_onBlockDestroyed(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$canHarvestBlock", $rt_wrapFunction1(nms_ItemShears_canHarvestBlock), "$getStrVsBlock", $rt_wrapFunction2(nms_ItemShears_getStrVsBlock)], nms_ItemEnderPearl, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemEnderPearl_onItemRightClick)], nms_ItemPotion, 0, nms_Item, [], 0, 3, 0, 0, ["$onEaten", $rt_wrapFunction3(nms_ItemPotion_onEaten), "$getMaxItemUseDuration", $rt_wrapFunction1(nms_ItemPotion_getMaxItemUseDuration), "$getItemUseAction", $rt_wrapFunction1(nms_ItemPotion_getItemUseAction), "$onItemRightClick", $rt_wrapFunction3(nms_ItemPotion_onItemRightClick), "$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemPotion_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }, "$getIconFromDamage", $rt_wrapFunction1(nms_ItemPotion_getIconFromDamage), "$getIconFromDamageForRenderPass", $rt_wrapFunction2(nms_ItemPotion_getIconFromDamageForRenderPass), "$getColorFromItemStack", $rt_wrapFunction2(nms_ItemPotion_getColorFromItemStack), "$requiresMultipleRenderPasses", $rt_wrapFunction0(nms_ItemPotion_requiresMultipleRenderPasses), "$getItemDisplayName", $rt_wrapFunction1(nms_ItemPotion_getItemDisplayName), "$addInformation", $rt_wrapFunction4(nms_ItemPotion_addInformation), "$hasEffect", $rt_wrapFunction1(nms_ItemPotion_hasEffect), "$getSubItems", $rt_wrapFunction3(nms_ItemPotion_getSubItems), "$registerIcons", $rt_wrapFunction1(nms_ItemPotion_registerIcons)], nms_ItemGlassBottle, 0, nms_Item, [], 0, 3, 0, 0, ["$getIconFromDamage", $rt_wrapFunction1(nms_ItemGlassBottle_getIconFromDamage), "$onItemRightClick", $rt_wrapFunction3(nms_ItemGlassBottle_onItemRightClick), "$registerIcons", $rt_wrapFunction1(nms_ItemGlassBottle_registerIcons)], nms_ItemEnderEye, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemEnderEye_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }, "$onItemRightClick", $rt_wrapFunction3(nms_ItemEnderEye_onItemRightClick)], nms_ItemMonsterPlacer, 0, nms_Item, [], 0, 3, 0, 0, ["$getItemDisplayName", $rt_wrapFunction1(nms_ItemMonsterPlacer_getItemDisplayName), "$getColorFromItemStack", $rt_wrapFunction2(nms_ItemMonsterPlacer_getColorFromItemStack), "$requiresMultipleRenderPasses", $rt_wrapFunction0(nms_ItemMonsterPlacer_requiresMultipleRenderPasses), "$getIconFromDamageForRenderPass", $rt_wrapFunction2(nms_ItemMonsterPlacer_getIconFromDamageForRenderPass), "$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemMonsterPlacer_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }, "$onItemRightClick", $rt_wrapFunction3(nms_ItemMonsterPlacer_onItemRightClick), "$getSubItems", $rt_wrapFunction3(nms_ItemMonsterPlacer_getSubItems), "$registerIcons", $rt_wrapFunction1(nms_ItemMonsterPlacer_registerIcons)], nms_ItemExpBottle, 0, nms_Item, [], 0, 3, 0, 0, ["$hasEffect", $rt_wrapFunction1(nms_ItemExpBottle_hasEffect), "$onItemRightClick", $rt_wrapFunction3(nms_ItemExpBottle_onItemRightClick)], nms_ItemFireball, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemFireball_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }], nms_ItemWritableBook, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemWritableBook_onItemRightClick), "$getShareTag", $rt_wrapFunction0(nms_ItemWritableBook_getShareTag)], nms_ItemEditableBook, 0, nms_Item, [], 0, 3, 0, 0, ["$getItemDisplayName", $rt_wrapFunction1(nms_ItemEditableBook_getItemDisplayName), "$addInformation", $rt_wrapFunction4(nms_ItemEditableBook_addInformation), "$onItemRightClick", $rt_wrapFunction3(nms_ItemEditableBook_onItemRightClick), "$getShareTag", $rt_wrapFunction0(nms_ItemEditableBook_getShareTag), "$hasEffect", $rt_wrapFunction1(nms_ItemEditableBook_hasEffect)], nms_ItemSeedFood, 0, nms_ItemFood, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemSeedFood_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }], nms_ItemEmptyMap, 0, nms_ItemMapBase, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemEmptyMap_onItemRightClick)], nms_ItemSkull, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemSkull_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }, "$getSubItems", $rt_wrapFunction3(nms_ItemSkull_getSubItems), "$getIconFromDamage", $rt_wrapFunction1(nms_ItemSkull_getIconFromDamage), "$getUnlocalizedName", $rt_wrapFunction1(nms_ItemSkull_getUnlocalizedName), "$getItemDisplayName", $rt_wrapFunction1(nms_ItemSkull_getItemDisplayName), "$registerIcons", $rt_wrapFunction1(nms_ItemSkull_registerIcons)], nms_ItemCarrotOnAStick, 0, nms_Item, [], 0, 3, 0, 0, ["$isFull3D", $rt_wrapFunction0(nms_ItemCarrotOnAStick_isFull3D), "$shouldRotateAroundWhenRendering", $rt_wrapFunction0(nms_ItemCarrotOnAStick_shouldRotateAroundWhenRendering), "$onItemRightClick", $rt_wrapFunction3(nms_ItemCarrotOnAStick_onItemRightClick)], nms_ItemSimpleFoiled, 0, nms_Item, [], 0, 3, 0, 0, ["$hasEffect", $rt_wrapFunction1(nms_ItemSimpleFoiled_hasEffect)], nms_ItemFirework, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemFirework_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }, "$addInformation", $rt_wrapFunction4(nms_ItemFirework_addInformation)], nms_ItemFireworkCharge, 0, nms_Item, [], 0, 3, 0, 0, ["$getIconFromDamageForRenderPass", $rt_wrapFunction2(nms_ItemFireworkCharge_getIconFromDamageForRenderPass), "$getColorFromItemStack", $rt_wrapFunction2(nms_ItemFireworkCharge_getColorFromItemStack), "$requiresMultipleRenderPasses", $rt_wrapFunction0(nms_ItemFireworkCharge_requiresMultipleRenderPasses), "$addInformation", $rt_wrapFunction4(nms_ItemFireworkCharge_addInformation), "$registerIcons", $rt_wrapFunction1(nms_ItemFireworkCharge_registerIcons)], nms_ItemEnchantedBook, 0, nms_Item, [], 0, 3, 0, 0, ["$hasEffect", $rt_wrapFunction1(nms_ItemEnchantedBook_hasEffect), "$isItemTool", $rt_wrapFunction1(nms_ItemEnchantedBook_isItemTool), "$getRarity", $rt_wrapFunction1(nms_ItemEnchantedBook_getRarity), "$addInformation", $rt_wrapFunction4(nms_ItemEnchantedBook_addInformation)], nms_ItemLeash, 0, nms_Item, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemLeash_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }], nms_ItemNameTag, 0, nms_Item, [], 0, 3, 0, 0, ["$itemInteractionForEntity", $rt_wrapFunction3(nms_ItemNameTag_itemInteractionForEntity)], nms_ItemRecord, "ItemRecord", 43, nms_Item, [], 0, 3, 0, 0, ["$getIconFromDamage", $rt_wrapFunction1(nms_ItemRecord_getIconFromDamage), "$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemRecord_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }, "$addInformation", $rt_wrapFunction4(nms_ItemRecord_addInformation), "$getRarity", $rt_wrapFunction1(nms_ItemRecord_getRarity)], ju_Dictionary, 0, jl_Object, [], 1, 3, 0, 0, 0, ju_Hashtable, 0, ju_Dictionary, [ju_Map, jl_Cloneable, ji_Serializable], 0, 3, 0, 0, 0, ju_Properties, 0, ju_Hashtable, [], 0, 3, 0, 0, 0, ju_SequencedMap, 0, jl_Object, [ju_Map], 3, 3, 0, 0, 0, ju_SortedMap, 0, jl_Object, [ju_SequencedMap], 3, 3, 0, 0, 0, ju_NavigableMap, 0, jl_Object, [ju_SortedMap], 3, 3, 0, 0, 0, ju_TreeMap, 0, ju_AbstractMap, [jl_Cloneable, ji_Serializable, ju_NavigableMap], 0, 3, 0, 0, 0, nms_StepSound, 0, jl_Object, [], 0, 3, 0, 0, ["$getBreakSound", $rt_wrapFunction0(nms_StepSound_getBreakSound), "$getPlaceSound", $rt_wrapFunction0(nms_StepSound_getPlaceSound)], nms_StepSoundStone, 0, nms_StepSound, [], 4, 0, 0, 0, ["$getBreakSound", $rt_wrapFunction0(nms_StepSoundStone_getBreakSound), "$getPlaceSound", $rt_wrapFunction0(nms_StepSoundStone_getPlaceSound)], nms_StepSoundSand, 0, nms_StepSound, [], 4, 0, 0, 0, ["$getBreakSound", $rt_wrapFunction0(nms_StepSoundSand_getBreakSound)], nms_StepSoundAnvil, 0, nms_StepSound, [], 4, 0, 0, 0, ["$getBreakSound", $rt_wrapFunction0(nms_StepSoundAnvil_getBreakSound), "$getPlaceSound", $rt_wrapFunction0(nms_StepSoundAnvil_getPlaceSound)], nms_BlockStone, "BlockStone", 43, nms_Block, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction3(nms_BlockStone_idDropped)]]); $rt_metadata([nms_BlockGrass, "BlockGrass", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockGrass_getIcon), "$getBlockTexture", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockGrass_getBlockTexture(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockGrass_registerIcons), "$getBlockColor", $rt_wrapFunction0(nms_BlockGrass_getBlockColor), "$getRenderColor", $rt_wrapFunction1(nms_BlockGrass_getRenderColor), "$colorMultiplier", $rt_wrapFunction4(nms_BlockGrass_colorMultiplier), "$idDropped", $rt_wrapFunction3(nms_BlockGrass_idDropped)], nms_BlockDirt, "BlockDirt", 43, nms_Block, [], 0, 3, 0, 0, 0, nms_BlockWood, "BlockWood", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockWood_getIcon), "$damageDropped", $rt_wrapFunction1(nms_BlockWood_damageDropped), "$getSubBlocks", $rt_wrapFunction3(nms_BlockWood_getSubBlocks), "$registerIcons", $rt_wrapFunction1(nms_BlockWood_registerIcons)], nms_BlockFlower, "BlockFlower", 43, nms_Block, [], 0, 3, 0, 0, ["$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockFlower_canPlaceBlockAt), "$canThisPlantGrowOnThisBlockID", $rt_wrapFunction1(nms_BlockFlower_canThisPlantGrowOnThisBlockID), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFlower_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$canBlockStay", $rt_wrapFunction4(nms_BlockFlower_canBlockStay), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockFlower_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockFlower_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockFlower_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockFlower_getRenderType)], nms_BlockSapling, "BlockSapling", 43, nms_BlockFlower, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockSapling_getIcon), "$damageDropped", $rt_wrapFunction1(nms_BlockSapling_damageDropped), "$getSubBlocks", $rt_wrapFunction3(nms_BlockSapling_getSubBlocks), "$registerIcons", $rt_wrapFunction1(nms_BlockSapling_registerIcons)], nms_BlockFluid, 0, nms_Block, [], 1, 3, 0, 0, ["$getBlockColor", $rt_wrapFunction0(nms_BlockFluid_getBlockColor), "$colorMultiplier", $rt_wrapFunction4(nms_BlockFluid_colorMultiplier), "$getIcon", $rt_wrapFunction2(nms_BlockFluid_getIcon), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockFluid_renderAsNormalBlock), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockFluid_isOpaqueCube), "$canCollideCheck", $rt_wrapFunction2(nms_BlockFluid_canCollideCheck), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockFluid_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockFluid_getCollisionBoundingBoxFromPool), "$getRenderType", $rt_wrapFunction0(nms_BlockFluid_getRenderType), "$idDropped", $rt_wrapFunction3(nms_BlockFluid_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockFluid_quantityDropped), "$velocityToAddToEntity", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockFluid_velocityToAddToEntity(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$getMixedBrightnessForBlock", $rt_wrapFunction4(nms_BlockFluid_getMixedBrightnessForBlock), "$getBlockBrightness", $rt_wrapFunction4(nms_BlockFluid_getBlockBrightness), "$getRenderBlockPass", $rt_wrapFunction0(nms_BlockFluid_getRenderBlockPass), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFluid_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockFluid_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFluid_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockFluid_registerIcons)], nms_BlockFlowing, "BlockFlowing", 43, nms_BlockFluid, [], 0, 3, 0, 0, ["$getBlocksMovement", $rt_wrapFunction4(nms_BlockFlowing_getBlocksMovement), "$onBlockAdded", $rt_wrapFunction4(nms_BlockFlowing_onBlockAdded)], nms_BlockStationary, "BlockStationary", 43, nms_BlockFluid, [], 0, 3, 0, 0, ["$getBlocksMovement", $rt_wrapFunction4(nms_BlockStationary_getBlocksMovement), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStationary_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockSand, "BlockSand", 43, nms_Block, [], 0, 3, 0, 0, ["$onBlockAdded", $rt_wrapFunction4(nms_BlockSand_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSand_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onFinishFalling", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSand_onFinishFalling(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockGravel, "BlockGravel", 43, nms_BlockSand, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction3(nms_BlockGravel_idDropped)], nms_BlockOre, "BlockOre", 43, nms_Block, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction3(nms_BlockOre_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockOre_quantityDropped), "$quantityDroppedWithBonus", $rt_wrapFunction2(nms_BlockOre_quantityDroppedWithBonus), "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockOre_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$damageDropped", $rt_wrapFunction1(nms_BlockOre_damageDropped)], nms_BlockRotatedPillar, 0, nms_Block, [], 1, 3, 0, 0, ["$getRenderType", $rt_wrapFunction0(nms_BlockRotatedPillar_getRenderType), "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockRotatedPillar_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$getIcon", $rt_wrapFunction2(nms_BlockRotatedPillar_getIcon), "$getEndIcon", $rt_wrapFunction1(nms_BlockRotatedPillar_getEndIcon), "$damageDropped", $rt_wrapFunction1(nms_BlockRotatedPillar_damageDropped)], nms_BlockLog, "BlockLog", 43, nms_BlockRotatedPillar, [], 0, 3, 0, 0, ["$quantityDropped", $rt_wrapFunction1(nms_BlockLog_quantityDropped), "$idDropped", $rt_wrapFunction3(nms_BlockLog_idDropped), "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockLog_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$getSideIcon", $rt_wrapFunction1(nms_BlockLog_getSideIcon), "$getEndIcon", $rt_wrapFunction1(nms_BlockLog_getEndIcon), "$getSubBlocks", $rt_wrapFunction3(nms_BlockLog_getSubBlocks), "$registerIcons", $rt_wrapFunction1(nms_BlockLog_registerIcons)], nms_BlockLeavesBase, 0, nms_Block, [], 0, 3, 0, 0, ["$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockLeavesBase_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockLeaves, "BlockLeaves", 43, nms_BlockLeavesBase, [], 0, 3, 0, 0, ["$getBlockColor", $rt_wrapFunction0(nms_BlockLeaves_getBlockColor), "$getRenderColor", $rt_wrapFunction1(nms_BlockLeaves_getRenderColor), "$colorMultiplier", $rt_wrapFunction4(nms_BlockLeaves_colorMultiplier), "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockLeaves_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockLeaves_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockLeaves_quantityDropped), "$idDropped", $rt_wrapFunction3(nms_BlockLeaves_idDropped), "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockLeaves_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$damageDropped", $rt_wrapFunction1(nms_BlockLeaves_damageDropped), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockLeaves_isOpaqueCube), "$getIcon", $rt_wrapFunction2(nms_BlockLeaves_getIcon), "$getSubBlocks", $rt_wrapFunction3(nms_BlockLeaves_getSubBlocks), "$registerIcons", $rt_wrapFunction1(nms_BlockLeaves_registerIcons)], nms_BlockSponge, "BlockSponge", 43, nms_Block, [], 0, 3, 0, 0, 0, nms_BlockBreakable, 0, nms_Block, [], 0, 3, 0, 0, ["$isOpaqueCube", $rt_wrapFunction0(nms_BlockBreakable_isOpaqueCube), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockBreakable_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockBreakable_registerIcons)], nms_BlockGlass, "BlockGlass", 43, nms_BlockBreakable, [], 0, 3, 0, 0, ["$quantityDropped", $rt_wrapFunction1(nms_BlockGlass_quantityDropped), "$getRenderBlockPass", $rt_wrapFunction0(nms_BlockGlass_getRenderBlockPass), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockGlass_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockGlass_renderAsNormalBlock)], nms_ITileEntityProvider, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_BlockContainer, 0, nms_Block, [nms_ITileEntityProvider], 1, 3, 0, 0, ["$onBlockAdded", $rt_wrapFunction4(nms_BlockContainer_onBlockAdded), "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockContainer_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onBlockEventReceived", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_BlockContainer_onBlockEventReceived(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_BlockDispenser, "BlockDispenser", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$onBlockAdded", $rt_wrapFunction4(nms_BlockDispenser_onBlockAdded), "$getIcon", $rt_wrapFunction2(nms_BlockDispenser_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockDispenser_registerIcons), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockDispenser_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockDispenser_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$createNewTileEntity", $rt_wrapFunction1(nms_BlockDispenser_createNewTileEntity), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockDispenser_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockDispenser_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$hasComparatorInputOverride", $rt_wrapFunction0(nms_BlockDispenser_hasComparatorInputOverride), "$getComparatorInputOverride", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockDispenser_getComparatorInputOverride(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockSandStone, "BlockSandStone", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockSandStone_getIcon), "$damageDropped", $rt_wrapFunction1(nms_BlockSandStone_damageDropped), "$getSubBlocks", $rt_wrapFunction3(nms_BlockSandStone_getSubBlocks), "$registerIcons", $rt_wrapFunction1(nms_BlockSandStone_registerIcons)], nms_BlockNote, "BlockNote", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockNote_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockNote_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockNote_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$createNewTileEntity", $rt_wrapFunction1(nms_BlockNote_createNewTileEntity), "$onBlockEventReceived", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_BlockNote_onBlockEventReceived(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_BlockDirectional, 0, nms_Block, [], 1, 3, 0, 0, 0, nms_BlockBed, "BlockBed", 43, nms_BlockDirectional, [], 0, 3, 0, 0, ["$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockBed_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$getIcon", $rt_wrapFunction2(nms_BlockBed_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockBed_registerIcons), "$getRenderType", $rt_wrapFunction0(nms_BlockBed_getRenderType), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockBed_renderAsNormalBlock), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockBed_isOpaqueCube), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockBed_setBlockBoundsBasedOnState), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockBed_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction3(nms_BlockBed_idDropped), "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockBed_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$getMobilityFlag", $rt_wrapFunction0(nms_BlockBed_getMobilityFlag), "$idPicked", $rt_wrapFunction4(nms_BlockBed_idPicked)], nms_BlockRailBase, 0, nms_Block, [], 1, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockRailBase_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockRailBase_isOpaqueCube), "$collisionRayTrace", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_BlockRailBase_collisionRayTrace(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockRailBase_setBlockBoundsBasedOnState), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockRailBase_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockRailBase_getRenderType), "$quantityDropped", $rt_wrapFunction1(nms_BlockRailBase_quantityDropped), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockRailBase_canPlaceBlockAt), "$onBlockAdded", $rt_wrapFunction4(nms_BlockRailBase_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRailBase_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$func_94358_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockRailBase_func_94358_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$getMobilityFlag", $rt_wrapFunction0(nms_BlockRailBase_getMobilityFlag), "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockRailBase_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_BlockRailPowered, "BlockRailPowered", 43, nms_BlockRailBase, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockRailPowered_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockRailPowered_registerIcons), "$func_94358_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockRailPowered_func_94358_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_BlockDetectorRail, "BlockDetectorRail", 43, nms_BlockRailBase, [], 0, 3, 0, 0, ["$canProvidePower", $rt_wrapFunction0(nms_BlockDetectorRail_canProvidePower), "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockDetectorRail_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$isProvidingWeakPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockDetectorRail_isProvidingWeakPower(this, var_1, var_2, var_3, var_4, var_5); }, "$isProvidingStrongPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockDetectorRail_isProvidingStrongPower(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockDetectorRail_onBlockAdded), "$hasComparatorInputOverride", $rt_wrapFunction0(nms_BlockDetectorRail_hasComparatorInputOverride), "$getComparatorInputOverride", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockDetectorRail_getComparatorInputOverride(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockDetectorRail_registerIcons), "$getIcon", $rt_wrapFunction2(nms_BlockDetectorRail_getIcon)], nms_BlockPistonBase, "BlockPistonBase", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockPistonBase_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockPistonBase_registerIcons), "$getRenderType", $rt_wrapFunction0(nms_BlockPistonBase_getRenderType), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockPistonBase_isOpaqueCube), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockPistonBase_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockPistonBase_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockPistonBase_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockPistonBase_onBlockAdded), "$onBlockEventReceived", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_BlockPistonBase_onBlockEventReceived(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockPistonBase_setBlockBoundsBasedOnState), "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockPistonBase_setBlockBoundsForItemRender), "$addCollisionBoxesToList", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockPistonBase_addCollisionBoxesToList(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockPistonBase_getCollisionBoundingBoxFromPool), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockPistonBase_renderAsNormalBlock)], nms_BlockWeb, "BlockWeb", 43, nms_Block, [], 0, 3, 0, 0, ["$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockWeb_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$isOpaqueCube", $rt_wrapFunction0(nms_BlockWeb_isOpaqueCube), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockWeb_getCollisionBoundingBoxFromPool), "$getRenderType", $rt_wrapFunction0(nms_BlockWeb_getRenderType), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockWeb_renderAsNormalBlock), "$idDropped", $rt_wrapFunction3(nms_BlockWeb_idDropped)], nms_BlockTallGrass, "BlockTallGrass", 43, nms_BlockFlower, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockTallGrass_getIcon), "$getBlockColor", $rt_wrapFunction0(nms_BlockTallGrass_getBlockColor), "$getRenderColor", $rt_wrapFunction1(nms_BlockTallGrass_getRenderColor), "$colorMultiplier", $rt_wrapFunction4(nms_BlockTallGrass_colorMultiplier), "$idDropped", $rt_wrapFunction3(nms_BlockTallGrass_idDropped), "$quantityDroppedWithBonus", $rt_wrapFunction2(nms_BlockTallGrass_quantityDroppedWithBonus), "$getDamageValue", $rt_wrapFunction4(nms_BlockTallGrass_getDamageValue), "$getSubBlocks", $rt_wrapFunction3(nms_BlockTallGrass_getSubBlocks), "$registerIcons", $rt_wrapFunction1(nms_BlockTallGrass_registerIcons)], nms_BlockDeadBush, "BlockDeadBush", 43, nms_BlockFlower, [], 0, 3, 0, 0, ["$canThisPlantGrowOnThisBlockID", $rt_wrapFunction1(nms_BlockDeadBush_canThisPlantGrowOnThisBlockID), "$idDropped", $rt_wrapFunction3(nms_BlockDeadBush_idDropped)], nms_BlockPistonExtension, "BlockPistonExtension", 43, nms_Block, [], 0, 3, 0, 0, ["$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockPistonExtension_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$getIcon", $rt_wrapFunction2(nms_BlockPistonExtension_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockPistonExtension_registerIcons), "$getRenderType", $rt_wrapFunction0(nms_BlockPistonExtension_getRenderType), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockPistonExtension_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockPistonExtension_renderAsNormalBlock), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockPistonExtension_canPlaceBlockAt), "$canPlaceBlockOnSide", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockPistonExtension_canPlaceBlockOnSide(this, var_1, var_2, var_3, var_4, var_5); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockPistonExtension_quantityDropped), "$addCollisionBoxesToList", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockPistonExtension_addCollisionBoxesToList(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockPistonExtension_setBlockBoundsBasedOnState), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockPistonExtension_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$idPicked", $rt_wrapFunction4(nms_BlockPistonExtension_idPicked)], nms_BlockColored, "BlockColored", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockColored_getIcon), "$damageDropped", $rt_wrapFunction1(nms_BlockColored_damageDropped), "$getSubBlocks", $rt_wrapFunction3(nms_BlockColored_getSubBlocks), "$registerIcons", $rt_wrapFunction1(nms_BlockColored_registerIcons)], nms_BlockPistonMoving, "BlockPistonMoving", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$createNewTileEntity", $rt_wrapFunction1(nms_BlockPistonMoving_createNewTileEntity), "$onBlockAdded", $rt_wrapFunction4(nms_BlockPistonMoving_onBlockAdded), "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockPistonMoving_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockPistonMoving_canPlaceBlockAt), "$canPlaceBlockOnSide", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockPistonMoving_canPlaceBlockOnSide(this, var_1, var_2, var_3, var_4, var_5); }, "$getRenderType", $rt_wrapFunction0(nms_BlockPistonMoving_getRenderType), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockPistonMoving_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockPistonMoving_renderAsNormalBlock), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockPistonMoving_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$idDropped", $rt_wrapFunction3(nms_BlockPistonMoving_idDropped), "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockPistonMoving_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockPistonMoving_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockPistonMoving_getCollisionBoundingBoxFromPool), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockPistonMoving_setBlockBoundsBasedOnState), "$idPicked", $rt_wrapFunction4(nms_BlockPistonMoving_idPicked), "$registerIcons", $rt_wrapFunction1(nms_BlockPistonMoving_registerIcons)], nms_BlockMushroom, "BlockMushroom", 43, nms_BlockFlower, [], 0, 3, 0, 0, ["$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockMushroom_canPlaceBlockAt), "$canThisPlantGrowOnThisBlockID", $rt_wrapFunction1(nms_BlockMushroom_canThisPlantGrowOnThisBlockID), "$canBlockStay", $rt_wrapFunction4(nms_BlockMushroom_canBlockStay)], nms_BlockOreStorage, "BlockOreStorage", 43, nms_Block, [], 0, 3, 0, 0, 0, nms_BlockHalfSlab, 0, nms_Block, [], 1, 3, 0, 0, ["$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockHalfSlab_setBlockBoundsBasedOnState), "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockHalfSlab_setBlockBoundsForItemRender), "$addCollisionBoxesToList", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockHalfSlab_addCollisionBoxesToList(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$isOpaqueCube", $rt_wrapFunction0(nms_BlockHalfSlab_isOpaqueCube), "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockHalfSlab_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockHalfSlab_quantityDropped), "$damageDropped", $rt_wrapFunction1(nms_BlockHalfSlab_damageDropped), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockHalfSlab_renderAsNormalBlock), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockHalfSlab_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$getDamageValue", $rt_wrapFunction4(nms_BlockHalfSlab_getDamageValue), "$idPicked", $rt_wrapFunction4(nms_BlockHalfSlab_idPicked)], nms_BlockStep, "BlockStep", 43, nms_BlockHalfSlab, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockStep_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockStep_registerIcons), "$idDropped", $rt_wrapFunction3(nms_BlockStep_idDropped), "$getFullSlabName", $rt_wrapFunction1(nms_BlockStep_getFullSlabName), "$getSubBlocks", $rt_wrapFunction3(nms_BlockStep_getSubBlocks)], nms_BlockTNT, "BlockTNT", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockTNT_getIcon), "$onBlockAdded", $rt_wrapFunction4(nms_BlockTNT_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTNT_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockTNT_quantityDropped), "$onBlockDestroyedByExplosion", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTNT_onBlockDestroyedByExplosion(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockDestroyedByPlayer", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTNT_onBlockDestroyedByPlayer(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockTNT_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTNT_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$canDropFromExplosion", $rt_wrapFunction1(nms_BlockTNT_canDropFromExplosion), "$registerIcons", $rt_wrapFunction1(nms_BlockTNT_registerIcons)], nms_BlockBookshelf, "BlockBookshelf", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockBookshelf_getIcon), "$quantityDropped", $rt_wrapFunction1(nms_BlockBookshelf_quantityDropped), "$idDropped", $rt_wrapFunction3(nms_BlockBookshelf_idDropped)], nms_BlockObsidian, "BlockObsidian", 43, nms_BlockStone, [], 0, 3, 0, 0, ["$quantityDropped", $rt_wrapFunction1(nms_BlockObsidian_quantityDropped), "$idDropped", $rt_wrapFunction3(nms_BlockObsidian_idDropped)], nms_BlockTorch, "BlockTorch", 43, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockTorch_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockTorch_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockTorch_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockTorch_getRenderType), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockTorch_canPlaceBlockAt), "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockTorch_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockTorch_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTorch_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$collisionRayTrace", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_BlockTorch_collisionRayTrace(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTorch_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockFire, "BlockFire", 43, nms_Block, [], 0, 3, 0, 0, ["$initializeBlock", $rt_wrapFunction0(nms_BlockFire_initializeBlock), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockFire_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockFire_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockFire_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockFire_getRenderType), "$quantityDropped", $rt_wrapFunction1(nms_BlockFire_quantityDropped), "$isCollidable", $rt_wrapFunction0(nms_BlockFire_isCollidable), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockFire_canPlaceBlockAt), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFire_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockFire_onBlockAdded), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFire_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockFire_registerIcons), "$getIcon", $rt_wrapFunction2(nms_BlockFire_getIcon)], nms_BlockMobSpawner, "BlockMobSpawner", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$createNewTileEntity", $rt_wrapFunction1(nms_BlockMobSpawner_createNewTileEntity), "$idDropped", $rt_wrapFunction3(nms_BlockMobSpawner_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockMobSpawner_quantityDropped), "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockMobSpawner_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$isOpaqueCube", $rt_wrapFunction0(nms_BlockMobSpawner_isOpaqueCube), "$idPicked", $rt_wrapFunction4(nms_BlockMobSpawner_idPicked)], nms_BlockStairs, "BlockStairs", 43, nms_Block, [], 0, 3, 0, 0, ["$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockStairs_setBlockBoundsBasedOnState), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockStairs_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockStairs_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockStairs_getRenderType), "$addCollisionBoxesToList", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockStairs_addCollisionBoxesToList(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStairs_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStairs_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockDestroyedByPlayer", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStairs_onBlockDestroyedByPlayer(this, var_1, var_2, var_3, var_4, var_5); }, "$getMixedBrightnessForBlock", $rt_wrapFunction4(nms_BlockStairs_getMixedBrightnessForBlock), "$getBlockBrightness", $rt_wrapFunction4(nms_BlockStairs_getBlockBrightness), "$getExplosionResistance", $rt_wrapFunction1(nms_BlockStairs_getExplosionResistance), "$getRenderBlockPass", $rt_wrapFunction0(nms_BlockStairs_getRenderBlockPass), "$getIcon", $rt_wrapFunction2(nms_BlockStairs_getIcon), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockStairs_getSelectedBoundingBoxFromPool), "$velocityToAddToEntity", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockStairs_velocityToAddToEntity(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$isCollidable", $rt_wrapFunction0(nms_BlockStairs_isCollidable), "$canCollideCheck", $rt_wrapFunction2(nms_BlockStairs_canCollideCheck), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockStairs_canPlaceBlockAt), "$onBlockAdded", $rt_wrapFunction4(nms_BlockStairs_onBlockAdded), "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockStairs_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onEntityWalking", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStairs_onEntityWalking(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockStairs_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onBlockDestroyedByExplosion", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockStairs_onBlockDestroyedByExplosion(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockStairs_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockStairs_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$collisionRayTrace", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_BlockStairs_collisionRayTrace(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$registerIcons", $rt_wrapFunction1(nms_BlockStairs_registerIcons)], nms_BlockChest, "BlockChest", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$isOpaqueCube", $rt_wrapFunction0(nms_BlockChest_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockChest_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockChest_getRenderType), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockChest_setBlockBoundsBasedOnState), "$onBlockAdded", $rt_wrapFunction4(nms_BlockChest_onBlockAdded), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockChest_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockChest_canPlaceBlockAt), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockChest_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockChest_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockChest_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$createNewTileEntity", $rt_wrapFunction1(nms_BlockChest_createNewTileEntity), "$canProvidePower", $rt_wrapFunction0(nms_BlockChest_canProvidePower), "$isProvidingWeakPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockChest_isProvidingWeakPower(this, var_1, var_2, var_3, var_4, var_5); }, "$isProvidingStrongPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockChest_isProvidingStrongPower(this, var_1, var_2, var_3, var_4, var_5); }, "$hasComparatorInputOverride", $rt_wrapFunction0(nms_BlockChest_hasComparatorInputOverride), "$getComparatorInputOverride", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockChest_getComparatorInputOverride(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockChest_registerIcons)], nms_BlockRedstoneWire, "BlockRedstoneWire", 43, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockRedstoneWire_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockRedstoneWire_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockRedstoneWire_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockRedstoneWire_getRenderType), "$colorMultiplier", $rt_wrapFunction4(nms_BlockRedstoneWire_colorMultiplier), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockRedstoneWire_canPlaceBlockAt), "$onBlockAdded", $rt_wrapFunction4(nms_BlockRedstoneWire_onBlockAdded), "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockRedstoneWire_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneWire_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction3(nms_BlockRedstoneWire_idDropped), "$isProvidingStrongPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneWire_isProvidingStrongPower(this, var_1, var_2, var_3, var_4, var_5); }, "$isProvidingWeakPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneWire_isProvidingWeakPower(this, var_1, var_2, var_3, var_4, var_5); }, "$canProvidePower", $rt_wrapFunction0(nms_BlockRedstoneWire_canProvidePower), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneWire_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$idPicked", $rt_wrapFunction4(nms_BlockRedstoneWire_idPicked), "$registerIcons", $rt_wrapFunction1(nms_BlockRedstoneWire_registerIcons)], nms_BlockWorkbench, "BlockWorkbench", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockWorkbench_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockWorkbench_registerIcons), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockWorkbench_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }], nms_BlockCrops, "BlockCrops", 43, nms_BlockFlower, [], 0, 3, 0, 0, ["$canThisPlantGrowOnThisBlockID", $rt_wrapFunction1(nms_BlockCrops_canThisPlantGrowOnThisBlockID), "$getIcon", $rt_wrapFunction2(nms_BlockCrops_getIcon), "$getRenderType", $rt_wrapFunction0(nms_BlockCrops_getRenderType), "$getSeedItem", $rt_wrapFunction0(nms_BlockCrops_getSeedItem), "$getCropItem", $rt_wrapFunction0(nms_BlockCrops_getCropItem), "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockCrops_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$idDropped", $rt_wrapFunction3(nms_BlockCrops_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockCrops_quantityDropped), "$idPicked", $rt_wrapFunction4(nms_BlockCrops_idPicked), "$registerIcons", $rt_wrapFunction1(nms_BlockCrops_registerIcons)]]); $rt_metadata([nms_BlockFarmland, "BlockFarmland", 43, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockFarmland_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockFarmland_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockFarmland_renderAsNormalBlock), "$getIcon", $rt_wrapFunction2(nms_BlockFarmland_getIcon), "$onFallenUpon", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockFarmland_onFallenUpon(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFarmland_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction3(nms_BlockFarmland_idDropped), "$idPicked", $rt_wrapFunction4(nms_BlockFarmland_idPicked), "$registerIcons", $rt_wrapFunction1(nms_BlockFarmland_registerIcons)], nms_BlockFurnace, "BlockFurnace", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction3(nms_BlockFurnace_idDropped), "$onBlockAdded", $rt_wrapFunction4(nms_BlockFurnace_onBlockAdded), "$getIcon", $rt_wrapFunction2(nms_BlockFurnace_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockFurnace_registerIcons), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFurnace_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockFurnace_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$createNewTileEntity", $rt_wrapFunction1(nms_BlockFurnace_createNewTileEntity), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockFurnace_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockFurnace_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$hasComparatorInputOverride", $rt_wrapFunction0(nms_BlockFurnace_hasComparatorInputOverride), "$getComparatorInputOverride", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockFurnace_getComparatorInputOverride(this, var_1, var_2, var_3, var_4, var_5); }, "$idPicked", $rt_wrapFunction4(nms_BlockFurnace_idPicked)], nms_BlockSign, "BlockSign", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockSign_getIcon), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockSign_getCollisionBoundingBoxFromPool), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockSign_getSelectedBoundingBoxFromPool), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockSign_setBlockBoundsBasedOnState), "$getRenderType", $rt_wrapFunction0(nms_BlockSign_getRenderType), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockSign_renderAsNormalBlock), "$getBlocksMovement", $rt_wrapFunction4(nms_BlockSign_getBlocksMovement), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockSign_isOpaqueCube), "$createNewTileEntity", $rt_wrapFunction1(nms_BlockSign_createNewTileEntity), "$idDropped", $rt_wrapFunction3(nms_BlockSign_idDropped), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSign_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$idPicked", $rt_wrapFunction4(nms_BlockSign_idPicked), "$registerIcons", $rt_wrapFunction1(nms_BlockSign_registerIcons)], nms_TileEntity, "TileEntity", 43, jl_Object, [], 0, 3, 0, nms_TileEntity_$callClinit, ["$getWorldObj", $rt_wrapFunction0(nms_TileEntity_getWorldObj), "$readFromNBT", $rt_wrapFunction1(nms_TileEntity_readFromNBT), "$writeToNBT", $rt_wrapFunction1(nms_TileEntity_writeToNBT), "$updateEntity", $rt_wrapFunction0(nms_TileEntity_updateEntity), "$onInventoryChanged", $rt_wrapFunction0(nms_TileEntity_onInventoryChanged), "$getMaxRenderDistanceSquared", $rt_wrapFunction0(nms_TileEntity_getMaxRenderDistanceSquared), "$invalidate", $rt_wrapFunction0(nms_TileEntity_invalidate), "$receiveClientEvent", $rt_wrapFunction2(nms_TileEntity_receiveClientEvent), "$updateContainingBlockInfo", $rt_wrapFunction0(nms_TileEntity_updateContainingBlockInfo)], nms_TileEntitySign, "TileEntitySign", 43, nms_TileEntity, [], 0, 3, 0, 0, ["$writeToNBT", $rt_wrapFunction1(nms_TileEntitySign_writeToNBT), "$readFromNBT", $rt_wrapFunction1(nms_TileEntitySign_readFromNBT)], nms_BlockDoor, "BlockDoor", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockDoor_getIcon), "$getBlockTexture", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockDoor_getBlockTexture(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockDoor_registerIcons), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockDoor_isOpaqueCube), "$getBlocksMovement", $rt_wrapFunction4(nms_BlockDoor_getBlocksMovement), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockDoor_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockDoor_getRenderType), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockDoor_getSelectedBoundingBoxFromPool), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockDoor_getCollisionBoundingBoxFromPool), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockDoor_setBlockBoundsBasedOnState), "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockDoor_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockDoor_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockDoor_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction3(nms_BlockDoor_idDropped), "$collisionRayTrace", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_BlockDoor_collisionRayTrace(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockDoor_canPlaceBlockAt), "$getMobilityFlag", $rt_wrapFunction0(nms_BlockDoor_getMobilityFlag), "$idPicked", $rt_wrapFunction4(nms_BlockDoor_idPicked)], nms_BlockLadder, "BlockLadder", 43, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockLadder_getCollisionBoundingBoxFromPool), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockLadder_getSelectedBoundingBoxFromPool), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockLadder_setBlockBoundsBasedOnState), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockLadder_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockLadder_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockLadder_getRenderType), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockLadder_canPlaceBlockAt), "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockLadder_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockLadder_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockLadder_quantityDropped)], nms_BlockRail, "BlockRail", 43, nms_BlockRailBase, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockRail_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockRail_registerIcons), "$func_94358_a", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockRail_func_94358_a(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_BlockLever, "BlockLever", 43, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockLever_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockLever_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockLever_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockLever_getRenderType), "$canPlaceBlockOnSide", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockLever_canPlaceBlockOnSide(this, var_1, var_2, var_3, var_4, var_5); }, "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockLever_canPlaceBlockAt), "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockLever_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockLever_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockLever_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockLever_setBlockBoundsBasedOnState), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockLever_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockLever_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$isProvidingWeakPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockLever_isProvidingWeakPower(this, var_1, var_2, var_3, var_4, var_5); }, "$isProvidingStrongPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockLever_isProvidingStrongPower(this, var_1, var_2, var_3, var_4, var_5); }, "$canProvidePower", $rt_wrapFunction0(nms_BlockLever_canProvidePower)], nms_BlockBasePressurePlate, 0, nms_Block, [], 1, 3, 0, 0, ["$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockBasePressurePlate_setBlockBoundsBasedOnState), "$tickRate", $rt_wrapFunction1(nms_BlockBasePressurePlate_tickRate), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockBasePressurePlate_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockBasePressurePlate_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockBasePressurePlate_renderAsNormalBlock), "$getBlocksMovement", $rt_wrapFunction4(nms_BlockBasePressurePlate_getBlocksMovement), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockBasePressurePlate_canPlaceBlockAt), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockBasePressurePlate_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockBasePressurePlate_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockBasePressurePlate_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$isProvidingWeakPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockBasePressurePlate_isProvidingWeakPower(this, var_1, var_2, var_3, var_4, var_5); }, "$isProvidingStrongPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockBasePressurePlate_isProvidingStrongPower(this, var_1, var_2, var_3, var_4, var_5); }, "$canProvidePower", $rt_wrapFunction0(nms_BlockBasePressurePlate_canProvidePower), "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockBasePressurePlate_setBlockBoundsForItemRender), "$getMobilityFlag", $rt_wrapFunction0(nms_BlockBasePressurePlate_getMobilityFlag), "$registerIcons", $rt_wrapFunction1(nms_BlockBasePressurePlate_registerIcons)], nms_BlockPressurePlate, "BlockPressurePlate", 43, nms_BlockBasePressurePlate, [], 0, 3, 0, 0, ["$getMetaFromWeight", $rt_wrapFunction1(nms_BlockPressurePlate_getMetaFromWeight), "$getPowerSupply", $rt_wrapFunction1(nms_BlockPressurePlate_getPowerSupply), "$getPlateState", $rt_wrapFunction4(nms_BlockPressurePlate_getPlateState)], nms_EnumMobType, 0, jl_Enum, [], 12, 3, 0, 0, 0, nms_BlockRedstoneOre, "BlockRedstoneOre", 43, nms_Block, [], 0, 3, 0, 0, ["$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneOre_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$onEntityWalking", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneOre_onEntityWalking(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockRedstoneOre_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$idDropped", $rt_wrapFunction3(nms_BlockRedstoneOre_idDropped), "$quantityDroppedWithBonus", $rt_wrapFunction2(nms_BlockRedstoneOre_quantityDroppedWithBonus), "$quantityDropped", $rt_wrapFunction1(nms_BlockRedstoneOre_quantityDropped), "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockRedstoneOre_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneOre_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockRedstoneTorch, "BlockRedstoneTorch", 43, nms_BlockTorch, [], 0, 3, 0, 0, ["$onBlockAdded", $rt_wrapFunction4(nms_BlockRedstoneTorch_onBlockAdded), "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockRedstoneTorch_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$isProvidingWeakPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneTorch_isProvidingWeakPower(this, var_1, var_2, var_3, var_4, var_5); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneTorch_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$isProvidingStrongPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneTorch_isProvidingStrongPower(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction3(nms_BlockRedstoneTorch_idDropped), "$canProvidePower", $rt_wrapFunction0(nms_BlockRedstoneTorch_canProvidePower), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneTorch_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$idPicked", $rt_wrapFunction4(nms_BlockRedstoneTorch_idPicked)], nms_BlockButton, 0, nms_Block, [], 1, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockButton_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockButton_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockButton_renderAsNormalBlock), "$canPlaceBlockOnSide", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockButton_canPlaceBlockOnSide(this, var_1, var_2, var_3, var_4, var_5); }, "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockButton_canPlaceBlockAt), "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockButton_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockButton_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockButton_setBlockBoundsBasedOnState), "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockButton_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockButton_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockButton_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$isProvidingWeakPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockButton_isProvidingWeakPower(this, var_1, var_2, var_3, var_4, var_5); }, "$isProvidingStrongPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockButton_isProvidingStrongPower(this, var_1, var_2, var_3, var_4, var_5); }, "$canProvidePower", $rt_wrapFunction0(nms_BlockButton_canProvidePower), "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockButton_setBlockBoundsForItemRender), "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockButton_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockButton_registerIcons)], nms_BlockButtonStone, "BlockButtonStone", 43, nms_BlockButton, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockButtonStone_getIcon)], nms_BlockSnow, "BlockSnow", 43, nms_Block, [], 0, 3, 0, 0, ["$registerIcons", $rt_wrapFunction1(nms_BlockSnow_registerIcons), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockSnow_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockSnow_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockSnow_renderAsNormalBlock), "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockSnow_setBlockBoundsForItemRender), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockSnow_setBlockBoundsBasedOnState), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockSnow_canPlaceBlockAt), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSnow_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction3(nms_BlockSnow_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockSnow_quantityDropped), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockSnow_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockIce, "BlockIce", 43, nms_BlockBreakable, [], 0, 3, 0, 0, ["$getRenderBlockPass", $rt_wrapFunction0(nms_BlockIce_getRenderBlockPass), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockIce_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockIce_quantityDropped), "$getMobilityFlag", $rt_wrapFunction0(nms_BlockIce_getMobilityFlag)], nms_BlockSnowBlock, "BlockSnowBlock", 43, nms_Block, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction3(nms_BlockSnowBlock_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockSnowBlock_quantityDropped)], nms_BlockCactus, "BlockCactus", 43, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockCactus_getCollisionBoundingBoxFromPool), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockCactus_getSelectedBoundingBoxFromPool), "$getIcon", $rt_wrapFunction2(nms_BlockCactus_getIcon), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockCactus_renderAsNormalBlock), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockCactus_isOpaqueCube), "$getRenderType", $rt_wrapFunction0(nms_BlockCactus_getRenderType), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockCactus_canPlaceBlockAt), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockCactus_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockCactus_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockCactus_registerIcons)], nms_BlockClay, "BlockClay", 43, nms_Block, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction3(nms_BlockClay_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockClay_quantityDropped)], nms_BlockReed, "BlockReed", 43, nms_Block, [], 0, 3, 0, 0, ["$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockReed_canPlaceBlockAt), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockReed_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockReed_getCollisionBoundingBoxFromPool), "$idDropped", $rt_wrapFunction3(nms_BlockReed_idDropped), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockReed_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockReed_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockReed_getRenderType), "$idPicked", $rt_wrapFunction4(nms_BlockReed_idPicked)], nms_BlockJukeBox, "BlockJukeBox", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockJukeBox_getIcon), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockJukeBox_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockJukeBox_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockJukeBox_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$createNewTileEntity", $rt_wrapFunction1(nms_BlockJukeBox_createNewTileEntity), "$registerIcons", $rt_wrapFunction1(nms_BlockJukeBox_registerIcons), "$hasComparatorInputOverride", $rt_wrapFunction0(nms_BlockJukeBox_hasComparatorInputOverride), "$getComparatorInputOverride", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockJukeBox_getComparatorInputOverride(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockFence, "BlockFence", 43, nms_Block, [], 0, 3, 0, 0, ["$addCollisionBoxesToList", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockFence_addCollisionBoxesToList(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockFence_setBlockBoundsBasedOnState), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockFence_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockFence_renderAsNormalBlock), "$getBlocksMovement", $rt_wrapFunction4(nms_BlockFence_getBlocksMovement), "$getRenderType", $rt_wrapFunction0(nms_BlockFence_getRenderType), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockFence_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockFence_registerIcons), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockFence_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }], nms_BlockPumpkin, "BlockPumpkin", 43, nms_BlockDirectional, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockPumpkin_getIcon), "$onBlockAdded", $rt_wrapFunction4(nms_BlockPumpkin_onBlockAdded), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockPumpkin_canPlaceBlockAt), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockPumpkin_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$registerIcons", $rt_wrapFunction1(nms_BlockPumpkin_registerIcons)], nms_BlockNetherrack, "BlockNetherrack", 43, nms_Block, [], 0, 3, 0, 0, 0, nms_BlockSoulSand, "BlockSoulSand", 43, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockSoulSand_getCollisionBoundingBoxFromPool), "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSoulSand_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockGlowStone, "BlockGlowStone", 43, nms_Block, [], 0, 3, 0, 0, ["$quantityDroppedWithBonus", $rt_wrapFunction2(nms_BlockGlowStone_quantityDroppedWithBonus), "$quantityDropped", $rt_wrapFunction1(nms_BlockGlowStone_quantityDropped), "$idDropped", $rt_wrapFunction3(nms_BlockGlowStone_idDropped)], nms_BlockPortal, "BlockPortal", 43, nms_BlockBreakable, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockPortal_getCollisionBoundingBoxFromPool), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockPortal_setBlockBoundsBasedOnState), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockPortal_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockPortal_renderAsNormalBlock), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockPortal_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockPortal_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockPortal_quantityDropped), "$getRenderBlockPass", $rt_wrapFunction0(nms_BlockPortal_getRenderBlockPass), "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockPortal_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockPortal_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$idPicked", $rt_wrapFunction4(nms_BlockPortal_idPicked)], nms_BlockCake, "BlockCake", 43, nms_Block, [], 0, 3, 0, 0, ["$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockCake_setBlockBoundsBasedOnState), "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockCake_setBlockBoundsForItemRender), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockCake_getCollisionBoundingBoxFromPool), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockCake_getSelectedBoundingBoxFromPool), "$getIcon", $rt_wrapFunction2(nms_BlockCake_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockCake_registerIcons), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockCake_renderAsNormalBlock), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockCake_isOpaqueCube), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockCake_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockCake_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockCake_canPlaceBlockAt), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockCake_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockCake_quantityDropped), "$idDropped", $rt_wrapFunction3(nms_BlockCake_idDropped), "$idPicked", $rt_wrapFunction4(nms_BlockCake_idPicked)], nms_BlockRedstoneLogic, 0, nms_BlockDirectional, [], 1, 3, 0, 0, ["$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockRedstoneLogic_renderAsNormalBlock), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockRedstoneLogic_canPlaceBlockAt), "$getIcon", $rt_wrapFunction2(nms_BlockRedstoneLogic_getIcon), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneLogic_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$func_96470_c", $rt_wrapFunction1(nms_BlockRedstoneLogic_func_96470_c), "$isProvidingStrongPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneLogic_isProvidingStrongPower(this, var_1, var_2, var_3, var_4, var_5); }, "$isProvidingWeakPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneLogic_isProvidingWeakPower(this, var_1, var_2, var_3, var_4, var_5); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneLogic_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$func_94479_f", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneLogic_func_94479_f(this, var_1, var_2, var_3, var_4, var_5); }, "$func_94476_e", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneLogic_func_94476_e(this, var_1, var_2, var_3, var_4, var_5); }, "$isGettingInput", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneLogic_isGettingInput(this, var_1, var_2, var_3, var_4, var_5); }, "$getInputStrength", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneLogic_getInputStrength(this, var_1, var_2, var_3, var_4, var_5); }, "$canProvidePower", $rt_wrapFunction0(nms_BlockRedstoneLogic_canProvidePower), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockRedstoneLogic_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockRedstoneLogic_onBlockAdded), "$onBlockDestroyedByPlayer", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneLogic_onBlockDestroyedByPlayer(this, var_1, var_2, var_3, var_4, var_5); }, "$isOpaqueCube", $rt_wrapFunction0(nms_BlockRedstoneLogic_isOpaqueCube), "$func_94477_d", $rt_wrapFunction1(nms_BlockRedstoneLogic_func_94477_d), "$func_94480_d", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneLogic_func_94480_d(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockRedstoneRepeater, "BlockRedstoneRepeater", 43, nms_BlockRedstoneLogic, [], 0, 3, 0, 0, ["$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockRedstoneRepeater_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$func_94481_j_", $rt_wrapFunction1(nms_BlockRedstoneRepeater_func_94481_j_), "$func_94485_e", $rt_wrapFunction0(nms_BlockRedstoneRepeater_func_94485_e), "$func_94484_i", $rt_wrapFunction0(nms_BlockRedstoneRepeater_func_94484_i), "$idDropped", $rt_wrapFunction3(nms_BlockRedstoneRepeater_idDropped), "$idPicked", $rt_wrapFunction4(nms_BlockRedstoneRepeater_idPicked), "$getRenderType", $rt_wrapFunction0(nms_BlockRedstoneRepeater_getRenderType), "$func_94476_e", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockRedstoneRepeater_func_94476_e(this, var_1, var_2, var_3, var_4, var_5); }, "$func_94477_d", $rt_wrapFunction1(nms_BlockRedstoneRepeater_func_94477_d), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneRepeater_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockRedstoneRepeater_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_BlockLockedChest, "BlockLockedChest", 43, nms_Block, [], 0, 3, 0, 0, ["$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockLockedChest_canPlaceBlockAt), "$registerIcons", $rt_wrapFunction1(nms_BlockLockedChest_registerIcons)], nms_BlockTrapDoor, "BlockTrapDoor", 43, nms_Block, [], 0, 3, 0, 0, ["$isOpaqueCube", $rt_wrapFunction0(nms_BlockTrapDoor_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockTrapDoor_renderAsNormalBlock), "$getBlocksMovement", $rt_wrapFunction4(nms_BlockTrapDoor_getBlocksMovement), "$getRenderType", $rt_wrapFunction0(nms_BlockTrapDoor_getRenderType), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockTrapDoor_getSelectedBoundingBoxFromPool), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockTrapDoor_getCollisionBoundingBoxFromPool), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockTrapDoor_setBlockBoundsBasedOnState), "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockTrapDoor_setBlockBoundsForItemRender), "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTrapDoor_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockTrapDoor_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTrapDoor_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$collisionRayTrace", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_BlockTrapDoor_collisionRayTrace(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockTrapDoor_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$canPlaceBlockOnSide", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockTrapDoor_canPlaceBlockOnSide(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockSilverfish, "BlockSilverfish", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockSilverfish_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockSilverfish_registerIcons), "$onBlockDestroyedByPlayer", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockSilverfish_onBlockDestroyedByPlayer(this, var_1, var_2, var_3, var_4, var_5); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockSilverfish_quantityDropped), "$getDamageValue", $rt_wrapFunction4(nms_BlockSilverfish_getDamageValue), "$getSubBlocks", $rt_wrapFunction3(nms_BlockSilverfish_getSubBlocks)], nms_BlockStoneBrick, "BlockStoneBrick", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockStoneBrick_getIcon), "$damageDropped", $rt_wrapFunction1(nms_BlockStoneBrick_damageDropped), "$getSubBlocks", $rt_wrapFunction3(nms_BlockStoneBrick_getSubBlocks), "$registerIcons", $rt_wrapFunction1(nms_BlockStoneBrick_registerIcons)], nms_BlockMushroomCap, "BlockMushroomCap", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockMushroomCap_getIcon), "$quantityDropped", $rt_wrapFunction1(nms_BlockMushroomCap_quantityDropped), "$idDropped", $rt_wrapFunction3(nms_BlockMushroomCap_idDropped), "$idPicked", $rt_wrapFunction4(nms_BlockMushroomCap_idPicked), "$registerIcons", $rt_wrapFunction1(nms_BlockMushroomCap_registerIcons)], nms_BlockPane, "BlockPane", 43, nms_Block, [], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction3(nms_BlockPane_idDropped), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockPane_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockPane_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockPane_getRenderType), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockPane_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$addCollisionBoxesToList", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockPane_addCollisionBoxesToList(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockPane_setBlockBoundsForItemRender), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockPane_setBlockBoundsBasedOnState), "$registerIcons", $rt_wrapFunction1(nms_BlockPane_registerIcons)], nms_BlockMelon, "BlockMelon", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockMelon_getIcon), "$idDropped", $rt_wrapFunction3(nms_BlockMelon_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockMelon_quantityDropped), "$quantityDroppedWithBonus", $rt_wrapFunction2(nms_BlockMelon_quantityDroppedWithBonus), "$registerIcons", $rt_wrapFunction1(nms_BlockMelon_registerIcons)], nms_BlockStem, "BlockStem", 43, nms_BlockFlower, [], 0, 3, 0, 0, ["$canThisPlantGrowOnThisBlockID", $rt_wrapFunction1(nms_BlockStem_canThisPlantGrowOnThisBlockID), "$getRenderColor", $rt_wrapFunction1(nms_BlockStem_getRenderColor), "$colorMultiplier", $rt_wrapFunction4(nms_BlockStem_colorMultiplier), "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockStem_setBlockBoundsForItemRender), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockStem_setBlockBoundsBasedOnState), "$getRenderType", $rt_wrapFunction0(nms_BlockStem_getRenderType), "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockStem_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$idDropped", $rt_wrapFunction3(nms_BlockStem_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockStem_quantityDropped), "$idPicked", $rt_wrapFunction4(nms_BlockStem_idPicked), "$registerIcons", $rt_wrapFunction1(nms_BlockStem_registerIcons)], nms_BlockVine, "BlockVine", 43, nms_Block, [], 0, 3, 0, 0, ["$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockVine_setBlockBoundsForItemRender), "$getRenderType", $rt_wrapFunction0(nms_BlockVine_getRenderType), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockVine_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockVine_renderAsNormalBlock), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockVine_setBlockBoundsBasedOnState), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockVine_getCollisionBoundingBoxFromPool), "$canPlaceBlockOnSide", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockVine_canPlaceBlockOnSide(this, var_1, var_2, var_3, var_4, var_5); }, "$getBlockColor", $rt_wrapFunction0(nms_BlockVine_getBlockColor), "$getRenderColor", $rt_wrapFunction1(nms_BlockVine_getRenderColor), "$colorMultiplier", $rt_wrapFunction4(nms_BlockVine_colorMultiplier), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockVine_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockVine_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$idDropped", $rt_wrapFunction3(nms_BlockVine_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockVine_quantityDropped)], nms_BlockFenceGate, "BlockFenceGate", 43, nms_BlockDirectional, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockFenceGate_getIcon), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockFenceGate_canPlaceBlockAt), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockFenceGate_getCollisionBoundingBoxFromPool), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockFenceGate_setBlockBoundsBasedOnState), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockFenceGate_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockFenceGate_renderAsNormalBlock), "$getBlocksMovement", $rt_wrapFunction4(nms_BlockFenceGate_getBlocksMovement), "$getRenderType", $rt_wrapFunction0(nms_BlockFenceGate_getRenderType), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockFenceGate_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockFenceGate_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFenceGate_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockFenceGate_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockFenceGate_registerIcons)], nms_BlockMycelium, "BlockMycelium", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockMycelium_getIcon), "$getBlockTexture", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockMycelium_getBlockTexture(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockMycelium_registerIcons), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockMycelium_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction3(nms_BlockMycelium_idDropped)], nms_BlockLilyPad, "BlockLilyPad", 43, nms_BlockFlower, [], 0, 3, 0, 0, ["$getRenderType", $rt_wrapFunction0(nms_BlockLilyPad_getRenderType), "$addCollisionBoxesToList", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockLilyPad_addCollisionBoxesToList(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockLilyPad_getCollisionBoundingBoxFromPool), "$getBlockColor", $rt_wrapFunction0(nms_BlockLilyPad_getBlockColor), "$getRenderColor", $rt_wrapFunction1(nms_BlockLilyPad_getRenderColor), "$colorMultiplier", $rt_wrapFunction4(nms_BlockLilyPad_colorMultiplier), "$canThisPlantGrowOnThisBlockID", $rt_wrapFunction1(nms_BlockLilyPad_canThisPlantGrowOnThisBlockID), "$canBlockStay", $rt_wrapFunction4(nms_BlockLilyPad_canBlockStay)], nms_BlockNetherStalk, "BlockNetherStalk", 43, nms_BlockFlower, [], 0, 3, 0, 0, ["$canThisPlantGrowOnThisBlockID", $rt_wrapFunction1(nms_BlockNetherStalk_canThisPlantGrowOnThisBlockID), "$canBlockStay", $rt_wrapFunction4(nms_BlockNetherStalk_canBlockStay), "$getIcon", $rt_wrapFunction2(nms_BlockNetherStalk_getIcon), "$getRenderType", $rt_wrapFunction0(nms_BlockNetherStalk_getRenderType), "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockNetherStalk_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$idDropped", $rt_wrapFunction3(nms_BlockNetherStalk_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockNetherStalk_quantityDropped), "$idPicked", $rt_wrapFunction4(nms_BlockNetherStalk_idPicked), "$registerIcons", $rt_wrapFunction1(nms_BlockNetherStalk_registerIcons)], nms_BlockEnchantmentTable, "BlockEnchantmentTable", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockEnchantmentTable_renderAsNormalBlock), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockEnchantmentTable_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$isOpaqueCube", $rt_wrapFunction0(nms_BlockEnchantmentTable_isOpaqueCube), "$getIcon", $rt_wrapFunction2(nms_BlockEnchantmentTable_getIcon), "$createNewTileEntity", $rt_wrapFunction1(nms_BlockEnchantmentTable_createNewTileEntity), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockEnchantmentTable_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockEnchantmentTable_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$registerIcons", $rt_wrapFunction1(nms_BlockEnchantmentTable_registerIcons)], nms_BlockBrewingStand, "BlockBrewingStand", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$isOpaqueCube", $rt_wrapFunction0(nms_BlockBrewingStand_isOpaqueCube), "$getRenderType", $rt_wrapFunction0(nms_BlockBrewingStand_getRenderType), "$createNewTileEntity", $rt_wrapFunction1(nms_BlockBrewingStand_createNewTileEntity), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockBrewingStand_renderAsNormalBlock), "$addCollisionBoxesToList", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockBrewingStand_addCollisionBoxesToList(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockBrewingStand_setBlockBoundsForItemRender), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockBrewingStand_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockBrewingStand_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockBrewingStand_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockBrewingStand_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$idDropped", $rt_wrapFunction3(nms_BlockBrewingStand_idDropped), "$idPicked", $rt_wrapFunction4(nms_BlockBrewingStand_idPicked), "$hasComparatorInputOverride", $rt_wrapFunction0(nms_BlockBrewingStand_hasComparatorInputOverride), "$getComparatorInputOverride", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockBrewingStand_getComparatorInputOverride(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockBrewingStand_registerIcons)], nms_BlockCauldron, "BlockCauldron", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockCauldron_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockCauldron_registerIcons), "$addCollisionBoxesToList", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockCauldron_addCollisionBoxesToList(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockCauldron_setBlockBoundsForItemRender), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockCauldron_isOpaqueCube), "$getRenderType", $rt_wrapFunction0(nms_BlockCauldron_getRenderType), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockCauldron_renderAsNormalBlock), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockCauldron_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$idDropped", $rt_wrapFunction3(nms_BlockCauldron_idDropped), "$idPicked", $rt_wrapFunction4(nms_BlockCauldron_idPicked), "$hasComparatorInputOverride", $rt_wrapFunction0(nms_BlockCauldron_hasComparatorInputOverride), "$getComparatorInputOverride", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockCauldron_getComparatorInputOverride(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockEndPortal, "BlockEndPortal", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$createNewTileEntity", $rt_wrapFunction1(nms_BlockEndPortal_createNewTileEntity), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockEndPortal_setBlockBoundsBasedOnState), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockEndPortal_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$addCollisionBoxesToList", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockEndPortal_addCollisionBoxesToList(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$isOpaqueCube", $rt_wrapFunction0(nms_BlockEndPortal_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockEndPortal_renderAsNormalBlock), "$quantityDropped", $rt_wrapFunction1(nms_BlockEndPortal_quantityDropped), "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockEndPortal_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }, "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockEndPortal_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$getRenderType", $rt_wrapFunction0(nms_BlockEndPortal_getRenderType), "$onBlockAdded", $rt_wrapFunction4(nms_BlockEndPortal_onBlockAdded), "$idPicked", $rt_wrapFunction4(nms_BlockEndPortal_idPicked), "$registerIcons", $rt_wrapFunction1(nms_BlockEndPortal_registerIcons)], nms_BlockEndPortalFrame, "BlockEndPortalFrame", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockEndPortalFrame_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockEndPortalFrame_registerIcons), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockEndPortalFrame_isOpaqueCube), "$getRenderType", $rt_wrapFunction0(nms_BlockEndPortalFrame_getRenderType), "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockEndPortalFrame_setBlockBoundsForItemRender), "$addCollisionBoxesToList", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockEndPortalFrame_addCollisionBoxesToList(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$idDropped", $rt_wrapFunction3(nms_BlockEndPortalFrame_idDropped), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockEndPortalFrame_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$hasComparatorInputOverride", $rt_wrapFunction0(nms_BlockEndPortalFrame_hasComparatorInputOverride), "$getComparatorInputOverride", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockEndPortalFrame_getComparatorInputOverride(this, var_1, var_2, var_3, var_4, var_5); }]]); $rt_metadata([nms_BlockDragonEgg, "BlockDragonEgg", 43, nms_Block, [], 0, 3, 0, 0, ["$onBlockAdded", $rt_wrapFunction4(nms_BlockDragonEgg_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockDragonEgg_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockDragonEgg_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onBlockClicked", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockDragonEgg_onBlockClicked(this, var_1, var_2, var_3, var_4, var_5); }, "$isOpaqueCube", $rt_wrapFunction0(nms_BlockDragonEgg_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockDragonEgg_renderAsNormalBlock), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockDragonEgg_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$getRenderType", $rt_wrapFunction0(nms_BlockDragonEgg_getRenderType), "$idPicked", $rt_wrapFunction4(nms_BlockDragonEgg_idPicked)], nms_BlockRedstoneLight, "BlockRedstoneLight", 43, nms_Block, [], 0, 3, 0, 0, ["$onBlockAdded", $rt_wrapFunction4(nms_BlockRedstoneLight_onBlockAdded), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockRedstoneLight_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$idDropped", $rt_wrapFunction3(nms_BlockRedstoneLight_idDropped), "$idPicked", $rt_wrapFunction4(nms_BlockRedstoneLight_idPicked)], nms_BlockWoodSlab, "BlockWoodSlab", 43, nms_BlockHalfSlab, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockWoodSlab_getIcon), "$idDropped", $rt_wrapFunction3(nms_BlockWoodSlab_idDropped), "$getFullSlabName", $rt_wrapFunction1(nms_BlockWoodSlab_getFullSlabName), "$getSubBlocks", $rt_wrapFunction3(nms_BlockWoodSlab_getSubBlocks), "$registerIcons", $rt_wrapFunction1(nms_BlockWoodSlab_registerIcons)], nms_BlockCocoa, "BlockCocoa", 43, nms_BlockDirectional, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockCocoa_getIcon), "$getRenderType", $rt_wrapFunction0(nms_BlockCocoa_getRenderType), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockCocoa_renderAsNormalBlock), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockCocoa_isOpaqueCube), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockCocoa_getCollisionBoundingBoxFromPool), "$getSelectedBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockCocoa_getSelectedBoundingBoxFromPool), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockCocoa_setBlockBoundsBasedOnState), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockCocoa_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockCocoa_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockCocoa_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockCocoa_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$idPicked", $rt_wrapFunction4(nms_BlockCocoa_idPicked), "$getDamageValue", $rt_wrapFunction4(nms_BlockCocoa_getDamageValue), "$registerIcons", $rt_wrapFunction1(nms_BlockCocoa_registerIcons)], nms_BlockEnderChest, "BlockEnderChest", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$isOpaqueCube", $rt_wrapFunction0(nms_BlockEnderChest_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockEnderChest_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockEnderChest_getRenderType), "$idDropped", $rt_wrapFunction3(nms_BlockEnderChest_idDropped), "$quantityDropped", $rt_wrapFunction1(nms_BlockEnderChest_quantityDropped), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockEnderChest_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockEnderChest_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$createNewTileEntity", $rt_wrapFunction1(nms_BlockEnderChest_createNewTileEntity), "$randomDisplayTick", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockEnderChest_randomDisplayTick(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockEnderChest_registerIcons)], nms_BlockTripWireSource, "BlockTripWireSource", 43, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockTripWireSource_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockTripWireSource_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockTripWireSource_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockTripWireSource_getRenderType), "$canPlaceBlockOnSide", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockTripWireSource_canPlaceBlockOnSide(this, var_1, var_2, var_3, var_4, var_5); }, "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockTripWireSource_canPlaceBlockAt), "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockTripWireSource_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onPostBlockPlaced", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTripWireSource_onPostBlockPlaced(this, var_1, var_2, var_3, var_4, var_5); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTripWireSource_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockTripWireSource_setBlockBoundsBasedOnState), "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockTripWireSource_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$isProvidingWeakPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockTripWireSource_isProvidingWeakPower(this, var_1, var_2, var_3, var_4, var_5); }, "$isProvidingStrongPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockTripWireSource_isProvidingStrongPower(this, var_1, var_2, var_3, var_4, var_5); }, "$canProvidePower", $rt_wrapFunction0(nms_BlockTripWireSource_canProvidePower)], nms_BlockTripWire, "BlockTripWire", 43, nms_Block, [], 0, 3, 0, 0, ["$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockTripWire_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockTripWire_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockTripWire_renderAsNormalBlock), "$getRenderBlockPass", $rt_wrapFunction0(nms_BlockTripWire_getRenderBlockPass), "$getRenderType", $rt_wrapFunction0(nms_BlockTripWire_getRenderType), "$idDropped", $rt_wrapFunction3(nms_BlockTripWire_idDropped), "$idPicked", $rt_wrapFunction4(nms_BlockTripWire_idPicked), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTripWire_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockTripWire_setBlockBoundsBasedOnState), "$onBlockAdded", $rt_wrapFunction4(nms_BlockTripWire_onBlockAdded), "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockTripWire_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onEntityCollidedWithBlock", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockTripWire_onEntityCollidedWithBlock(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockCommandBlock, "BlockCommandBlock", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$createNewTileEntity", $rt_wrapFunction1(nms_BlockCommandBlock_createNewTileEntity), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockCommandBlock_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockCommandBlock_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$hasComparatorInputOverride", $rt_wrapFunction0(nms_BlockCommandBlock_hasComparatorInputOverride), "$getComparatorInputOverride", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockCommandBlock_getComparatorInputOverride(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockCommandBlock_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$quantityDropped", $rt_wrapFunction1(nms_BlockCommandBlock_quantityDropped)], nms_BlockBeacon, "BlockBeacon", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$createNewTileEntity", $rt_wrapFunction1(nms_BlockBeacon_createNewTileEntity), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockBeacon_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$isOpaqueCube", $rt_wrapFunction0(nms_BlockBeacon_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockBeacon_renderAsNormalBlock), "$getRenderType", $rt_wrapFunction0(nms_BlockBeacon_getRenderType), "$registerIcons", $rt_wrapFunction1(nms_BlockBeacon_registerIcons), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockBeacon_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_BlockWall, "BlockWall", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockWall_getIcon), "$getRenderType", $rt_wrapFunction0(nms_BlockWall_getRenderType), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockWall_renderAsNormalBlock), "$getBlocksMovement", $rt_wrapFunction4(nms_BlockWall_getBlocksMovement), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockWall_isOpaqueCube), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockWall_setBlockBoundsBasedOnState), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockWall_getCollisionBoundingBoxFromPool), "$getSubBlocks", $rt_wrapFunction3(nms_BlockWall_getSubBlocks), "$damageDropped", $rt_wrapFunction1(nms_BlockWall_damageDropped), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockWall_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockWall_registerIcons)], nms_BlockFlowerPot, "BlockFlowerPot", 43, nms_Block, [], 0, 3, 0, 0, ["$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockFlowerPot_setBlockBoundsForItemRender), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockFlowerPot_isOpaqueCube), "$getRenderType", $rt_wrapFunction0(nms_BlockFlowerPot_getRenderType), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockFlowerPot_renderAsNormalBlock), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockFlowerPot_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$idPicked", $rt_wrapFunction4(nms_BlockFlowerPot_idPicked), "$getDamageValue", $rt_wrapFunction4(nms_BlockFlowerPot_getDamageValue), "$isFlowerPot", $rt_wrapFunction0(nms_BlockFlowerPot_isFlowerPot), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockFlowerPot_canPlaceBlockAt), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockFlowerPot_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockFlowerPot_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$idDropped", $rt_wrapFunction3(nms_BlockFlowerPot_idDropped)], nms_BlockCarrot, "BlockCarrot", 43, nms_BlockCrops, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockCarrot_getIcon), "$getSeedItem", $rt_wrapFunction0(nms_BlockCarrot_getSeedItem), "$getCropItem", $rt_wrapFunction0(nms_BlockCarrot_getCropItem), "$registerIcons", $rt_wrapFunction1(nms_BlockCarrot_registerIcons)], nms_BlockPotato, "BlockPotato", 43, nms_BlockCrops, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockPotato_getIcon), "$getSeedItem", $rt_wrapFunction0(nms_BlockPotato_getSeedItem), "$getCropItem", $rt_wrapFunction0(nms_BlockPotato_getCropItem), "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockPotato_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$registerIcons", $rt_wrapFunction1(nms_BlockPotato_registerIcons)], nms_BlockButtonWood, "BlockButtonWood", 43, nms_BlockButton, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockButtonWood_getIcon)], nms_BlockSkull, "BlockSkull", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$getRenderType", $rt_wrapFunction0(nms_BlockSkull_getRenderType), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockSkull_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockSkull_renderAsNormalBlock), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockSkull_setBlockBoundsBasedOnState), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockSkull_getCollisionBoundingBoxFromPool), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockSkull_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$createNewTileEntity", $rt_wrapFunction1(nms_BlockSkull_createNewTileEntity), "$idPicked", $rt_wrapFunction4(nms_BlockSkull_idPicked), "$getDamageValue", $rt_wrapFunction4(nms_BlockSkull_getDamageValue), "$damageDropped", $rt_wrapFunction1(nms_BlockSkull_damageDropped), "$dropBlockAsItemWithChance", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockSkull_dropBlockAsItemWithChance(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockSkull_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$idDropped", $rt_wrapFunction3(nms_BlockSkull_idDropped), "$registerIcons", $rt_wrapFunction1(nms_BlockSkull_registerIcons), "$getIcon", $rt_wrapFunction2(nms_BlockSkull_getIcon), "$getItemIconName", $rt_wrapFunction0(nms_BlockSkull_getItemIconName)], nms_BlockAnvil, "BlockAnvil", 43, nms_BlockSand, [], 0, 3, 0, 0, ["$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockAnvil_renderAsNormalBlock), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockAnvil_isOpaqueCube), "$getIcon", $rt_wrapFunction2(nms_BlockAnvil_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockAnvil_registerIcons), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockAnvil_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockAnvil_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$getRenderType", $rt_wrapFunction0(nms_BlockAnvil_getRenderType), "$damageDropped", $rt_wrapFunction1(nms_BlockAnvil_damageDropped), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockAnvil_setBlockBoundsBasedOnState), "$getSubBlocks", $rt_wrapFunction3(nms_BlockAnvil_getSubBlocks), "$onFinishFalling", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockAnvil_onFinishFalling(this, var_1, var_2, var_3, var_4, var_5); }, "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockAnvil_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockPressurePlateWeighted, "BlockPressurePlateWeighted", 43, nms_BlockBasePressurePlate, [], 0, 3, 0, 0, ["$getPlateState", $rt_wrapFunction4(nms_BlockPressurePlateWeighted_getPlateState), "$getPowerSupply", $rt_wrapFunction1(nms_BlockPressurePlateWeighted_getPowerSupply), "$getMetaFromWeight", $rt_wrapFunction1(nms_BlockPressurePlateWeighted_getMetaFromWeight), "$tickRate", $rt_wrapFunction1(nms_BlockPressurePlateWeighted_tickRate)], nms_BlockComparator, "BlockComparator", 43, nms_BlockRedstoneLogic, [nms_ITileEntityProvider], 0, 3, 0, 0, ["$idDropped", $rt_wrapFunction3(nms_BlockComparator_idDropped), "$idPicked", $rt_wrapFunction4(nms_BlockComparator_idPicked), "$func_94481_j_", $rt_wrapFunction1(nms_BlockComparator_func_94481_j_), "$func_94485_e", $rt_wrapFunction0(nms_BlockComparator_func_94485_e), "$func_94484_i", $rt_wrapFunction0(nms_BlockComparator_func_94484_i), "$getRenderType", $rt_wrapFunction0(nms_BlockComparator_getRenderType), "$getIcon", $rt_wrapFunction2(nms_BlockComparator_getIcon), "$func_96470_c", $rt_wrapFunction1(nms_BlockComparator_func_96470_c), "$func_94480_d", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockComparator_func_94480_d(this, var_1, var_2, var_3, var_4, var_5); }, "$isGettingInput", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockComparator_isGettingInput(this, var_1, var_2, var_3, var_4, var_5); }, "$getInputStrength", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockComparator_getInputStrength(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockComparator_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$func_94479_f", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockComparator_func_94479_f(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockComparator_onBlockAdded), "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockComparator_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onBlockEventReceived", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_BlockComparator_onBlockEventReceived(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$createNewTileEntity", $rt_wrapFunction1(nms_BlockComparator_createNewTileEntity)], nms_BlockDaylightDetector, "BlockDaylightDetector", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockDaylightDetector_setBlockBoundsBasedOnState), "$isProvidingWeakPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockDaylightDetector_isProvidingWeakPower(this, var_1, var_2, var_3, var_4, var_5); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockDaylightDetector_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockDaylightDetector_onBlockAdded), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockDaylightDetector_renderAsNormalBlock), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockDaylightDetector_isOpaqueCube), "$canProvidePower", $rt_wrapFunction0(nms_BlockDaylightDetector_canProvidePower), "$createNewTileEntity", $rt_wrapFunction1(nms_BlockDaylightDetector_createNewTileEntity), "$getIcon", $rt_wrapFunction2(nms_BlockDaylightDetector_getIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockDaylightDetector_registerIcons)], nms_BlockPoweredOre, "BlockPoweredOre", 43, nms_BlockOreStorage, [], 0, 3, 0, 0, ["$canProvidePower", $rt_wrapFunction0(nms_BlockPoweredOre_canProvidePower), "$isProvidingWeakPower", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockPoweredOre_isProvidingWeakPower(this, var_1, var_2, var_3, var_4, var_5); }], nms_BlockHopper, "BlockHopper", 43, nms_BlockContainer, [], 0, 3, 0, 0, ["$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockHopper_setBlockBoundsBasedOnState), "$addCollisionBoxesToList", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_BlockHopper_addCollisionBoxesToList(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockHopper_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$createNewTileEntity", $rt_wrapFunction1(nms_BlockHopper_createNewTileEntity), "$onBlockPlacedBy", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockHopper_onBlockPlacedBy(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$onBlockAdded", $rt_wrapFunction4(nms_BlockHopper_onBlockAdded), "$onBlockActivated", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockHopper_onBlockActivated(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockHopper_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$breakBlock", function(var_1, var_2, var_3, var_4, var_5, var_6) { nms_BlockHopper_breakBlock(this, var_1, var_2, var_3, var_4, var_5, var_6); }, "$getRenderType", $rt_wrapFunction0(nms_BlockHopper_getRenderType), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockHopper_renderAsNormalBlock), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockHopper_isOpaqueCube), "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockHopper_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$getIcon", $rt_wrapFunction2(nms_BlockHopper_getIcon), "$hasComparatorInputOverride", $rt_wrapFunction0(nms_BlockHopper_hasComparatorInputOverride), "$getComparatorInputOverride", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockHopper_getComparatorInputOverride(this, var_1, var_2, var_3, var_4, var_5); }, "$registerIcons", $rt_wrapFunction1(nms_BlockHopper_registerIcons), "$getItemIconName", $rt_wrapFunction0(nms_BlockHopper_getItemIconName)], nms_BlockQuartz, "BlockQuartz", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockQuartz_getIcon), "$onBlockPlaced", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9) { return nms_BlockQuartz_onBlockPlaced(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9); }, "$damageDropped", $rt_wrapFunction1(nms_BlockQuartz_damageDropped), "$getRenderType", $rt_wrapFunction0(nms_BlockQuartz_getRenderType), "$getSubBlocks", $rt_wrapFunction3(nms_BlockQuartz_getSubBlocks), "$registerIcons", $rt_wrapFunction1(nms_BlockQuartz_registerIcons)], nms_BlockDropper, "BlockDropper", 43, nms_BlockDispenser, [], 0, 3, 0, 0, ["$registerIcons", $rt_wrapFunction1(nms_BlockDropper_registerIcons), "$createNewTileEntity", $rt_wrapFunction1(nms_BlockDropper_createNewTileEntity)], nms_BlockHay, "BlockHay", 43, nms_BlockRotatedPillar, [], 0, 3, 0, 0, ["$getRenderType", $rt_wrapFunction0(nms_BlockHay_getRenderType), "$getSideIcon", $rt_wrapFunction1(nms_BlockHay_getSideIcon), "$registerIcons", $rt_wrapFunction1(nms_BlockHay_registerIcons)], nms_BlockCarpet, "BlockCarpet", 43, nms_Block, [], 0, 3, 0, 0, ["$getIcon", $rt_wrapFunction2(nms_BlockCarpet_getIcon), "$getCollisionBoundingBoxFromPool", $rt_wrapFunction4(nms_BlockCarpet_getCollisionBoundingBoxFromPool), "$isOpaqueCube", $rt_wrapFunction0(nms_BlockCarpet_isOpaqueCube), "$renderAsNormalBlock", $rt_wrapFunction0(nms_BlockCarpet_renderAsNormalBlock), "$setBlockBoundsForItemRender", $rt_wrapFunction0(nms_BlockCarpet_setBlockBoundsForItemRender), "$setBlockBoundsBasedOnState", $rt_wrapFunction4(nms_BlockCarpet_setBlockBoundsBasedOnState), "$canPlaceBlockAt", $rt_wrapFunction4(nms_BlockCarpet_canPlaceBlockAt), "$onNeighborBlockChange", function(var_1, var_2, var_3, var_4, var_5) { nms_BlockCarpet_onNeighborBlockChange(this, var_1, var_2, var_3, var_4, var_5); }, "$shouldSideBeRendered", function(var_1, var_2, var_3, var_4, var_5) { return nms_BlockCarpet_shouldSideBeRendered(this, var_1, var_2, var_3, var_4, var_5); }, "$damageDropped", $rt_wrapFunction1(nms_BlockCarpet_damageDropped), "$getSubBlocks", $rt_wrapFunction3(nms_BlockCarpet_getSubBlocks), "$registerIcons", $rt_wrapFunction1(nms_BlockCarpet_registerIcons)], nms_ItemBlock, 0, nms_Item, [], 0, 3, 0, 0, ["$getSpriteNumber", $rt_wrapFunction0(nms_ItemBlock_getSpriteNumber), "$getIconFromDamage", $rt_wrapFunction1(nms_ItemBlock_getIconFromDamage), "$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemBlock_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }, "$canPlaceItemBlockOnSide", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemBlock_canPlaceItemBlockOnSide(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$getUnlocalizedName", $rt_wrapFunction1(nms_ItemBlock_getUnlocalizedName0), "$getUnlocalizedName0", $rt_wrapFunction0(nms_ItemBlock_getUnlocalizedName), "$getCreativeTab", $rt_wrapFunction0(nms_ItemBlock_getCreativeTab), "$getSubItems", $rt_wrapFunction3(nms_ItemBlock_getSubItems), "$registerIcons", $rt_wrapFunction1(nms_ItemBlock_registerIcons)], nms_ItemCloth, 0, nms_ItemBlock, [], 0, 3, 0, 0, ["$getIconFromDamage", $rt_wrapFunction1(nms_ItemCloth_getIconFromDamage), "$getMetadata", $rt_wrapFunction1(nms_ItemCloth_getMetadata), "$getUnlocalizedName", $rt_wrapFunction1(nms_ItemCloth_getUnlocalizedName)], nms_ItemMultiTextureTile, 0, nms_ItemBlock, [], 0, 3, 0, 0, ["$getIconFromDamage", $rt_wrapFunction1(nms_ItemMultiTextureTile_getIconFromDamage), "$getMetadata", $rt_wrapFunction1(nms_ItemMultiTextureTile_getMetadata), "$getUnlocalizedName", $rt_wrapFunction1(nms_ItemMultiTextureTile_getUnlocalizedName)], nms_ItemSlab, 0, nms_ItemBlock, [], 0, 3, 0, 0, ["$getIconFromDamage", $rt_wrapFunction1(nms_ItemSlab_getIconFromDamage), "$getMetadata", $rt_wrapFunction1(nms_ItemSlab_getMetadata), "$getUnlocalizedName", $rt_wrapFunction1(nms_ItemSlab_getUnlocalizedName), "$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemSlab_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }, "$canPlaceItemBlockOnSide", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return nms_ItemSlab_canPlaceItemBlockOnSide(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_ItemLeaves, 0, nms_ItemBlock, [], 0, 3, 0, 0, ["$getMetadata", $rt_wrapFunction1(nms_ItemLeaves_getMetadata), "$getIconFromDamage", $rt_wrapFunction1(nms_ItemLeaves_getIconFromDamage), "$getColorFromItemStack", $rt_wrapFunction2(nms_ItemLeaves_getColorFromItemStack), "$getUnlocalizedName", $rt_wrapFunction1(nms_ItemLeaves_getUnlocalizedName)], nms_ItemColored, 0, nms_ItemBlock, [], 0, 3, 0, 0, ["$getColorFromItemStack", $rt_wrapFunction2(nms_ItemColored_getColorFromItemStack), "$getIconFromDamage", $rt_wrapFunction1(nms_ItemColored_getIconFromDamage), "$getMetadata", $rt_wrapFunction1(nms_ItemColored_getMetadata), "$getUnlocalizedName", $rt_wrapFunction1(nms_ItemColored_getUnlocalizedName)], nms_ItemBlockWithMetadata, 0, nms_ItemBlock, [], 0, 3, 0, 0, ["$getIconFromDamage", $rt_wrapFunction1(nms_ItemBlockWithMetadata_getIconFromDamage), "$getMetadata", $rt_wrapFunction1(nms_ItemBlockWithMetadata_getMetadata)], nms_ItemSnow, 0, nms_ItemBlockWithMetadata, [], 0, 3, 0, 0, ["$onItemUse", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10) { return nms_ItemSnow_onItemUse(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7, var_8, var_9, var_10); }], nms_ItemLilyPad, 0, nms_ItemColored, [], 0, 3, 0, 0, ["$onItemRightClick", $rt_wrapFunction3(nms_ItemLilyPad_onItemRightClick), "$getColorFromItemStack", $rt_wrapFunction2(nms_ItemLilyPad_getColorFromItemStack)], nms_ItemPiston, 0, nms_ItemBlock, [], 0, 3, 0, 0, ["$getMetadata", $rt_wrapFunction1(nms_ItemPiston_getMetadata)], nms_ItemAnvilBlock, 0, nms_ItemMultiTextureTile, [], 0, 3, 0, 0, ["$getMetadata", $rt_wrapFunction1(nms_ItemAnvilBlock_getMetadata)], jt_NumberFormat, "NumberFormat", 16, jt_Format, [], 1, 3, 0, 0, 0, jt_DecimalFormat, "DecimalFormat", 16, jt_NumberFormat, [], 0, 3, 0, 0, 0, ju_LinkedHashMap, 0, ju_HashMap, [ju_SequencedMap], 0, 3, 0, 0, ["$newElementArray", $rt_wrapFunction1(ju_LinkedHashMap_newElementArray)], nms_EntityList$_clinit_$lambda$_63_0, "EntityList$$lambda$_63_0", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_0_apply)], nms_EntityList$_clinit_$lambda$_63_1, "EntityList$$lambda$_63_1", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_1_apply)], nms_EntityList$_clinit_$lambda$_63_2, "EntityList$$lambda$_63_2", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_2_apply)], nms_EntityList$_clinit_$lambda$_63_3, "EntityList$$lambda$_63_3", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_3_apply)], nms_EntityList$_clinit_$lambda$_63_4, "EntityList$$lambda$_63_4", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_4_apply)], nms_EntityList$_clinit_$lambda$_63_5, "EntityList$$lambda$_63_5", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_5_apply)], nms_EntityList$_clinit_$lambda$_63_6, "EntityList$$lambda$_63_6", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_6_apply)], nms_EntityList$_clinit_$lambda$_63_7, "EntityList$$lambda$_63_7", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_7_apply)], nms_EntityList$_clinit_$lambda$_63_8, "EntityList$$lambda$_63_8", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_8_apply)], nms_EntityList$_clinit_$lambda$_63_9, "EntityList$$lambda$_63_9", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_9_apply)], nms_EntityList$_clinit_$lambda$_63_10, "EntityList$$lambda$_63_10", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_10_apply)]]); $rt_metadata([nms_EntityList$_clinit_$lambda$_63_11, "EntityList$$lambda$_63_11", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_11_apply)], nms_EntityList$_clinit_$lambda$_63_12, "EntityList$$lambda$_63_12", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_12_apply)], nms_EntityList$_clinit_$lambda$_63_13, "EntityList$$lambda$_63_13", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_13_apply)], nms_EntityList$_clinit_$lambda$_63_14, "EntityList$$lambda$_63_14", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_14_apply)], nms_EntityList$_clinit_$lambda$_63_15, "EntityList$$lambda$_63_15", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_15_apply)], nms_EntityList$_clinit_$lambda$_63_16, "EntityList$$lambda$_63_16", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_16_apply)], nms_EntityMinecartEmpty, "EntityMinecartEmpty", 43, nms_EntityMinecart, [], 0, 3, [0,0,0], 0, ["$interactFirst", $rt_wrapFunction1(nms_EntityMinecartEmpty_interactFirst), "$getMinecartType", $rt_wrapFunction0(nms_EntityMinecartEmpty_getMinecartType)], nms_EntityList$_clinit_$lambda$_63_17, "EntityList$$lambda$_63_17", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_17_apply)], nms_EntityMinecartContainer, "EntityMinecartContainer", 43, nms_EntityMinecart, [nms_IInventory], 1, 3, 0, 0, ["$getStackInSlot", $rt_wrapFunction1(nms_EntityMinecartContainer_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_EntityMinecartContainer_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_EntityMinecartContainer_setInventorySlotContents), "$onInventoryChanged", $rt_wrapFunction0(nms_EntityMinecartContainer_onInventoryChanged), "$isUseableByPlayer", $rt_wrapFunction1(nms_EntityMinecartContainer_isUseableByPlayer), "$openChest", $rt_wrapFunction0(nms_EntityMinecartContainer_openChest), "$closeChest", $rt_wrapFunction0(nms_EntityMinecartContainer_closeChest), "$isItemValidForSlot", $rt_wrapFunction2(nms_EntityMinecartContainer_isItemValidForSlot), "$getInvName", $rt_wrapFunction0(nms_EntityMinecartContainer_getInvName), "$getInventoryStackLimit", $rt_wrapFunction0(nms_EntityMinecartContainer_getInventoryStackLimit), "$travelToDimension", $rt_wrapFunction1(nms_EntityMinecartContainer_travelToDimension), "$setDead", $rt_wrapFunction0(nms_EntityMinecartContainer_setDead), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityMinecartContainer_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityMinecartContainer_readEntityFromNBT), "$interactFirst", $rt_wrapFunction1(nms_EntityMinecartContainer_interactFirst), "$applyDrag", $rt_wrapFunction0(nms_EntityMinecartContainer_applyDrag)], nms_EntityMinecartChest, "EntityMinecartChest", 43, nms_EntityMinecartContainer, [], 0, 3, [0,0,0], 0, ["$killMinecart", $rt_wrapFunction1(nms_EntityMinecartChest_killMinecart), "$getSizeInventory", $rt_wrapFunction0(nms_EntityMinecartChest_getSizeInventory), "$getMinecartType", $rt_wrapFunction0(nms_EntityMinecartChest_getMinecartType), "$getDefaultDisplayTile", $rt_wrapFunction0(nms_EntityMinecartChest_getDefaultDisplayTile), "$getDefaultDisplayTileOffset", $rt_wrapFunction0(nms_EntityMinecartChest_getDefaultDisplayTileOffset)], nms_EntityList$_clinit_$lambda$_63_18, "EntityList$$lambda$_63_18", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_18_apply)], nms_EntityMinecartFurnace, "EntityMinecartFurnace", 43, nms_EntityMinecart, [], 0, 3, [0,0,0], 0, ["$getMinecartType", $rt_wrapFunction0(nms_EntityMinecartFurnace_getMinecartType), "$entityInit", $rt_wrapFunction0(nms_EntityMinecartFurnace_entityInit), "$onUpdate", $rt_wrapFunction0(nms_EntityMinecartFurnace_onUpdate), "$killMinecart", $rt_wrapFunction1(nms_EntityMinecartFurnace_killMinecart), "$updateOnTrack", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityMinecartFurnace_updateOnTrack(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$applyDrag", $rt_wrapFunction0(nms_EntityMinecartFurnace_applyDrag), "$interactFirst", $rt_wrapFunction1(nms_EntityMinecartFurnace_interactFirst), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityMinecartFurnace_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityMinecartFurnace_readEntityFromNBT), "$getDefaultDisplayTile", $rt_wrapFunction0(nms_EntityMinecartFurnace_getDefaultDisplayTile), "$getDefaultDisplayTileData", $rt_wrapFunction0(nms_EntityMinecartFurnace_getDefaultDisplayTileData)], nms_EntityList$_clinit_$lambda$_63_19, "EntityList$$lambda$_63_19", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_19_apply)], nms_EntityList$_clinit_$lambda$_63_20, "EntityList$$lambda$_63_20", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_20_apply)], nms_Hopper, "Hopper", 43, jl_Object, [nms_IInventory], 3, 3, 0, 0, 0, nms_EntityMinecartHopper, "EntityMinecartHopper", 43, nms_EntityMinecartContainer, [nms_Hopper], 0, 3, [0,0,0], 0, ["$getMinecartType", $rt_wrapFunction0(nms_EntityMinecartHopper_getMinecartType), "$getDefaultDisplayTile", $rt_wrapFunction0(nms_EntityMinecartHopper_getDefaultDisplayTile), "$getDefaultDisplayTileOffset", $rt_wrapFunction0(nms_EntityMinecartHopper_getDefaultDisplayTileOffset), "$getSizeInventory", $rt_wrapFunction0(nms_EntityMinecartHopper_getSizeInventory), "$interactFirst", $rt_wrapFunction1(nms_EntityMinecartHopper_interactFirst), "$onActivatorRailPass", $rt_wrapFunction4(nms_EntityMinecartHopper_onActivatorRailPass), "$getWorldObj", $rt_wrapFunction0(nms_EntityMinecartHopper_getWorldObj), "$getXPos", $rt_wrapFunction0(nms_EntityMinecartHopper_getXPos), "$getYPos", $rt_wrapFunction0(nms_EntityMinecartHopper_getYPos), "$getZPos", $rt_wrapFunction0(nms_EntityMinecartHopper_getZPos), "$onUpdate", $rt_wrapFunction0(nms_EntityMinecartHopper_onUpdate), "$killMinecart", $rt_wrapFunction1(nms_EntityMinecartHopper_killMinecart), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityMinecartHopper_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityMinecartHopper_readEntityFromNBT)], nms_EntityList$_clinit_$lambda$_63_21, "EntityList$$lambda$_63_21", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_21_apply)], nms_EntityList$_clinit_$lambda$_63_22, "EntityList$$lambda$_63_22", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_22_apply)], nms_EntityList$_clinit_$lambda$_63_23, "EntityList$$lambda$_63_23", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_23_apply)], nms_EntityList$_clinit_$lambda$_63_24, "EntityList$$lambda$_63_24", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_24_apply)], nms_EntityList$_clinit_$lambda$_63_25, "EntityList$$lambda$_63_25", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_25_apply)], nms_EntityList$_clinit_$lambda$_63_26, "EntityList$$lambda$_63_26", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_26_apply)], nms_EntityList$_clinit_$lambda$_63_27, "EntityList$$lambda$_63_27", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_27_apply)], nms_EntityList$_clinit_$lambda$_63_28, "EntityList$$lambda$_63_28", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_28_apply)], nms_EntityList$_clinit_$lambda$_63_29, "EntityList$$lambda$_63_29", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_29_apply)], nms_EntityPigZombie, "EntityPigZombie", 43, nms_EntityZombie, [], 0, 3, [0,0,0], nms_EntityPigZombie_$callClinit, ["$applyEntityAttributes", $rt_wrapFunction0(nms_EntityPigZombie_applyEntityAttributes), "$isAIEnabled", $rt_wrapFunction0(nms_EntityPigZombie_isAIEnabled), "$onUpdate", $rt_wrapFunction0(nms_EntityPigZombie_onUpdate), "$getCanSpawnHere", $rt_wrapFunction0(nms_EntityPigZombie_getCanSpawnHere), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityPigZombie_writeEntityToNBT), "$readEntityFromNBT", $rt_wrapFunction1(nms_EntityPigZombie_readEntityFromNBT), "$findPlayerToAttack", $rt_wrapFunction0(nms_EntityPigZombie_findPlayerToAttack), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityPigZombie_attackEntityFrom), "$getLivingSound", $rt_wrapFunction0(nms_EntityPigZombie_getLivingSound), "$getHurtSound", $rt_wrapFunction0(nms_EntityPigZombie_getHurtSound), "$getDeathSound", $rt_wrapFunction0(nms_EntityPigZombie_getDeathSound), "$dropFewItems", $rt_wrapFunction2(nms_EntityPigZombie_dropFewItems), "$interact", $rt_wrapFunction1(nms_EntityPigZombie_interact), "$dropRareDrop", $rt_wrapFunction1(nms_EntityPigZombie_dropRareDrop), "$getDropItemId", $rt_wrapFunction0(nms_EntityPigZombie_getDropItemId), "$addRandomArmor", $rt_wrapFunction0(nms_EntityPigZombie_addRandomArmor), "$onSpawnWithEgg", $rt_wrapFunction1(nms_EntityPigZombie_onSpawnWithEgg)], nms_EntityList$_clinit_$lambda$_63_30, "EntityList$$lambda$_63_30", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_30_apply)], nms_EntityList$_clinit_$lambda$_63_31, "EntityList$$lambda$_63_31", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_31_apply)], nms_EntityList$_clinit_$lambda$_63_32, "EntityList$$lambda$_63_32", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_32_apply)], nms_EntityList$_clinit_$lambda$_63_33, "EntityList$$lambda$_63_33", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_33_apply)], nms_EntityList$_clinit_$lambda$_63_34, "EntityList$$lambda$_63_34", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_34_apply)], nms_EntityList$_clinit_$lambda$_63_35, "EntityList$$lambda$_63_35", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_35_apply)], nms_EntityList$_clinit_$lambda$_63_36, "EntityList$$lambda$_63_36", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_36_apply)], nms_EntityList$_clinit_$lambda$_63_37, "EntityList$$lambda$_63_37", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_37_apply)], nms_EntityList$_clinit_$lambda$_63_38, "EntityList$$lambda$_63_38", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_38_apply)], nms_EntityList$_clinit_$lambda$_63_39, "EntityList$$lambda$_63_39", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_39_apply)], nms_EntityList$_clinit_$lambda$_63_40, "EntityList$$lambda$_63_40", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_40_apply)], nms_EntityList$_clinit_$lambda$_63_41, "EntityList$$lambda$_63_41", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_41_apply)], nms_EntityList$_clinit_$lambda$_63_42, "EntityList$$lambda$_63_42", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_42_apply)], nms_EntityList$_clinit_$lambda$_63_43, "EntityList$$lambda$_63_43", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_43_apply)], nms_EntityList$_clinit_$lambda$_63_44, "EntityList$$lambda$_63_44", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_44_apply)], nms_EntityList$_clinit_$lambda$_63_45, "EntityList$$lambda$_63_45", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_45_apply)], nms_EntityList$_clinit_$lambda$_63_46, "EntityList$$lambda$_63_46", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_46_apply)], nms_EntityList$_clinit_$lambda$_63_47, "EntityList$$lambda$_63_47", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_47_apply)], nms_EntityList$_clinit_$lambda$_63_48, "EntityList$$lambda$_63_48", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_48_apply)], nms_EntityList$_clinit_$lambda$_63_49, "EntityList$$lambda$_63_49", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_49_apply)], nms_EntityList$_clinit_$lambda$_63_50, "EntityList$$lambda$_63_50", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_50_apply)], nms_EntityList$_clinit_$lambda$_63_51, "EntityList$$lambda$_63_51", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_51_apply)], nms_EntityList$_clinit_$lambda$_63_52, "EntityList$$lambda$_63_52", 43, jl_Object, [juf_Function], 0, 3, 0, 0, ["$apply", $rt_wrapFunction1(nms_EntityList$_clinit_$lambda$_63_52_apply)], jlr_Reference, 0, jl_Object, [], 1, 3, 0, 0, 0]); $rt_metadata([jlr_WeakReference, 0, jlr_Reference, [], 0, 3, 0, 0, 0, ju_WeakHashMap$Entry, 0, jlr_WeakReference, [ju_Map$Entry], 4, 0, 0, 0, 0, jn_FloatBufferImpl, 0, jn_FloatBuffer, [], 1, 0, 0, 0, 0, jn_FloatBufferOverArray, 0, jn_FloatBufferImpl, [], 0, 0, 0, 0, ["$getElement", $rt_wrapFunction1(jn_FloatBufferOverArray_getElement), "$putElement0", $rt_wrapFunction2(jn_FloatBufferOverArray_putElement), "$readOnly", $rt_wrapFunction0(jn_FloatBufferOverArray_readOnly)], nms_IStatType, "IStatType", 43, jl_Object, [], 3, 3, 0, 0, 0, nms_StatTypeSimple, 0, jl_Object, [nms_IStatType], 4, 0, 0, 0, 0, nms_StatTypeTime, 0, jl_Object, [nms_IStatType], 4, 0, 0, 0, 0, nms_StatTypeDistance, 0, jl_Object, [nms_IStatType], 4, 0, 0, 0, 0, nms_StatTypeFloat, 0, jl_Object, [nms_IStatType], 4, 0, 0, 0, 0, nlegv_Vector2f, 0, nlegv_Vector, [ji_Serializable, nlegv_ReadableVector2f, nlegv_WritableVector2f], 0, 3, 0, 0, 0, nleg_StreamBuffer$IStreamBufferInitializer, 0, jl_Object, [], 3, 3, 0, 0, 0, nleg_FixedFunctionShader$_init_$lambda$_2_0, 0, jl_Object, [nleg_StreamBuffer$IStreamBufferInitializer], 0, 3, 0, 0, 0, jl_Byte, "Byte", 17, jl_Number, [jl_Comparable], 0, 3, 0, 0, ["$intValue", $rt_wrapFunction0(jl_Byte_intValue), "$longValue", $rt_wrapFunction0(jl_Byte_longValue), "$doubleValue", $rt_wrapFunction0(jl_Byte_doubleValue), "$toString", $rt_wrapFunction0(jl_Byte_toString), "$equals", $rt_wrapFunction1(jl_Byte_equals), "$hashCode", $rt_wrapFunction0(jl_Byte_hashCode), "$compareTo1", $rt_wrapFunction1(jl_Byte_compareTo)], jl_Short, "Short", 17, jl_Number, [jl_Comparable], 0, 3, 0, 0, ["$intValue", $rt_wrapFunction0(jl_Short_intValue), "$longValue", $rt_wrapFunction0(jl_Short_longValue), "$doubleValue", $rt_wrapFunction0(jl_Short_doubleValue), "$toString", $rt_wrapFunction0(jl_Short_toString), "$equals", $rt_wrapFunction1(jl_Short_equals), "$hashCode", $rt_wrapFunction0(jl_Short_hashCode), "$compareTo1", $rt_wrapFunction1(jl_Short_compareTo)], nms_ChunkCoordinates, "ChunkCoordinates", 43, jl_Object, [jl_Comparable], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(nms_ChunkCoordinates_equals), "$hashCode", $rt_wrapFunction0(nms_ChunkCoordinates_hashCode), "$compareTo1", $rt_wrapFunction1(nms_ChunkCoordinates_compareTo)], nle_JDKBackports, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_IBehaviorDispenseItem, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_BehaviorDefaultDispenseItem, "BehaviorDefaultDispenseItem", 43, jl_Object, [nms_IBehaviorDispenseItem], 0, 3, 0, 0, 0, jt_DecimalFormatSymbols, 0, jl_Object, [jl_Cloneable], 0, 3, 0, 0, 0, nms_EntityEggInfo, "EntityEggInfo", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_CreativeTabCombat, 0, nms_CreativeTabs, [], 4, 0, 0, 0, ["$getTabIconItemIndex", $rt_wrapFunction0(nms_CreativeTabCombat_getTabIconItemIndex)], nms_CreativeTabBlock, 0, nms_CreativeTabs, [], 4, 0, 0, 0, ["$getTabIconItemIndex", $rt_wrapFunction0(nms_CreativeTabBlock_getTabIconItemIndex)], nms_CreativeTabDeco, 0, nms_CreativeTabs, [], 4, 0, 0, 0, ["$getTabIconItemIndex", $rt_wrapFunction0(nms_CreativeTabDeco_getTabIconItemIndex)], nms_CreativeTabRedstone, 0, nms_CreativeTabs, [], 4, 0, 0, 0, ["$getTabIconItemIndex", $rt_wrapFunction0(nms_CreativeTabRedstone_getTabIconItemIndex)], nms_CreativeTabTransport, 0, nms_CreativeTabs, [], 4, 0, 0, 0, ["$getTabIconItemIndex", $rt_wrapFunction0(nms_CreativeTabTransport_getTabIconItemIndex)], nms_EnumEnchantmentType, "EnumEnchantmentType", 43, jl_Enum, [], 12, 3, 0, 0, 0, nms_CreativeTabMisc, 0, nms_CreativeTabs, [], 4, 0, 0, 0, ["$getTabIconItemIndex", $rt_wrapFunction0(nms_CreativeTabMisc_getTabIconItemIndex)], nms_CreativeTabSearch, 0, nms_CreativeTabs, [], 4, 0, 0, 0, ["$getTabIconItemIndex", $rt_wrapFunction0(nms_CreativeTabSearch_getTabIconItemIndex)], nms_CreativeTabFood, 0, nms_CreativeTabs, [], 4, 0, 0, 0, ["$getTabIconItemIndex", $rt_wrapFunction0(nms_CreativeTabFood_getTabIconItemIndex)], nms_CreativeTabTools, 0, nms_CreativeTabs, [], 4, 0, 0, 0, ["$getTabIconItemIndex", $rt_wrapFunction0(nms_CreativeTabTools_getTabIconItemIndex)], nms_CreativeTabBrewing, 0, nms_CreativeTabs, [], 4, 0, 0, 0, ["$getTabIconItemIndex", $rt_wrapFunction0(nms_CreativeTabBrewing_getTabIconItemIndex)], nms_CreativeTabMaterial, 0, nms_CreativeTabs, [], 4, 0, 0, 0, ["$getTabIconItemIndex", $rt_wrapFunction0(nms_CreativeTabMaterial_getTabIconItemIndex)], nms_CreativeTabInventory, 0, nms_CreativeTabs, [], 4, 0, 0, 0, ["$getTabIconItemIndex", $rt_wrapFunction0(nms_CreativeTabInventory_getTabIconItemIndex)], nms_BehaviorDispenseArmor, "BehaviorDispenseArmor", 43, nms_BehaviorDefaultDispenseItem, [], 4, 0, 0, 0, 0, nms_SharedMonsterAttributes, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_PotionAttackDamage, 0, nms_Potion, [], 0, 3, 0, 0, ["$func_111183_a", $rt_wrapFunction2(nms_PotionAttackDamage_func_111183_a)], nms_PotionHealth, 0, nms_Potion, [], 0, 3, 0, 0, ["$isInstant", $rt_wrapFunction0(nms_PotionHealth_isInstant), "$isReady", $rt_wrapFunction2(nms_PotionHealth_isReady)], nms_PotionHealthBoost, 0, nms_Potion, [], 0, 3, 0, 0, ["$removeAttributesModifiersFromEntity", $rt_wrapFunction3(nms_PotionHealthBoost_removeAttributesModifiersFromEntity)], nms_PotionAbsoption, 0, nms_Potion, [], 0, 3, 0, 0, ["$removeAttributesModifiersFromEntity", $rt_wrapFunction3(nms_PotionAbsoption_removeAttributesModifiersFromEntity), "$applyAttributesModifiersToEntity", $rt_wrapFunction3(nms_PotionAbsoption_applyAttributesModifiersToEntity)], nms_MaterialTransparent, 0, nms_Material, [], 0, 3, 0, 0, ["$isSolid", $rt_wrapFunction0(nms_MaterialTransparent_isSolid), "$getCanBlockGrass", $rt_wrapFunction0(nms_MaterialTransparent_getCanBlockGrass), "$blocksMovement", $rt_wrapFunction0(nms_MaterialTransparent_blocksMovement)], nms_MapColor, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_MaterialLiquid, 0, nms_Material, [], 0, 3, 0, 0, ["$isLiquid", $rt_wrapFunction0(nms_MaterialLiquid_isLiquid), "$blocksMovement", $rt_wrapFunction0(nms_MaterialLiquid_blocksMovement), "$isSolid", $rt_wrapFunction0(nms_MaterialLiquid_isSolid)], nms_MaterialLogic, 0, nms_Material, [], 0, 3, 0, 0, ["$isSolid", $rt_wrapFunction0(nms_MaterialLogic_isSolid), "$getCanBlockGrass", $rt_wrapFunction0(nms_MaterialLogic_getCanBlockGrass), "$blocksMovement", $rt_wrapFunction0(nms_MaterialLogic_blocksMovement)], nms_MaterialPortal, 0, nms_Material, [], 0, 3, 0, 0, ["$isSolid", $rt_wrapFunction0(nms_MaterialPortal_isSolid), "$getCanBlockGrass", $rt_wrapFunction0(nms_MaterialPortal_getCanBlockGrass), "$blocksMovement", $rt_wrapFunction0(nms_MaterialPortal_blocksMovement)], nms_MaterialWeb, 0, nms_Material, [], 4, 0, 0, 0, ["$blocksMovement", $rt_wrapFunction0(nms_MaterialWeb_blocksMovement)], nms_BehaviorDispenseMinecart, "BehaviorDispenseMinecart", 43, nms_BehaviorDefaultDispenseItem, [], 4, 0, 0, 0, 0, nms_CraftingManager, 0, jl_Object, [], 0, 3, 0, nms_CraftingManager_$callClinit, 0, nms_FurnaceRecipes, 0, jl_Object, [], 0, 3, 0, nms_FurnaceRecipes_$callClinit, 0, nms_IRecipe, 0, jl_Object, [], 3, 3, 0, 0, 0, nleg_StreamBuffer$StreamBufferInstance, 0, jl_Object, [], 0, 3, 0, 0, 0]); $rt_metadata([nms_IRegistry, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_RegistrySimple, 0, jl_Object, [nms_IRegistry], 0, 3, 0, 0, 0, nms_RegistryDefaulted, 0, nms_RegistrySimple, [], 0, 3, 0, 0, 0, jt_DecimalFormat$FormatField, 0, jl_Object, [], 3, 0, 0, 0, 0, jt_DecimalFormat$TextField, "DecimalFormat$TextField", 16, jl_Object, [jt_DecimalFormat$FormatField], 0, 0, 0, 0, ["$render1", $rt_wrapFunction2(jt_DecimalFormat$TextField_render), "$equals", $rt_wrapFunction1(jt_DecimalFormat$TextField_equals), "$hashCode", $rt_wrapFunction0(jt_DecimalFormat$TextField_hashCode)], ju_Enumeration, 0, jl_Object, [], 3, 3, 0, 0, 0, ju_Hashtable$1, 0, jl_Object, [ju_Enumeration], 0, 0, 0, 0, 0, ju_Hashtable$2, 0, jl_Object, [ju_Iterator], 0, 0, 0, 0, 0, jm_RoundingMode, "RoundingMode", 15, jl_Enum, [], 12, 3, 0, 0, 0, ju_Currency, "Currency", 4, jl_Object, [ji_Serializable], 4, 3, 0, 0, ["$toString", $rt_wrapFunction0(ju_Currency_toString)], nms_Attribute, "Attribute", 43, jl_Object, [], 3, 3, 0, 0, 0, nms_BaseAttribute, "BaseAttribute", 43, jl_Object, [nms_Attribute], 1, 3, 0, 0, ["$hashCode", $rt_wrapFunction0(nms_BaseAttribute_hashCode)], nms_RangedAttribute, "RangedAttribute", 43, nms_BaseAttribute, [], 0, 3, 0, 0, 0, ju_Hashtable$Entry, 0, ju_MapEntry, [], 0, 0, 0, 0, 0, otcic_CurrencyHelper, 0, jl_Object, [], 4, 3, 0, 0, 0, nms_RecipesTools, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RecipesWeapons, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RecipesIngots, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RecipesFood, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RecipesCrafting, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RecipesArmor, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RecipesDyes, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RecipesArmorDyes, "RecipesArmorDyes", 43, jl_Object, [nms_IRecipe], 0, 3, 0, 0, ["$matches0", $rt_wrapFunction2(nms_RecipesArmorDyes_matches), "$getCraftingResult", $rt_wrapFunction1(nms_RecipesArmorDyes_getCraftingResult), "$getRecipeSize", $rt_wrapFunction0(nms_RecipesArmorDyes_getRecipeSize), "$getRecipeOutput", $rt_wrapFunction0(nms_RecipesArmorDyes_getRecipeOutput)], nms_RecipesMapCloning, "RecipesMapCloning", 43, jl_Object, [nms_IRecipe], 0, 3, 0, 0, ["$matches0", $rt_wrapFunction2(nms_RecipesMapCloning_matches), "$getCraftingResult", $rt_wrapFunction1(nms_RecipesMapCloning_getCraftingResult), "$getRecipeSize", $rt_wrapFunction0(nms_RecipesMapCloning_getRecipeSize), "$getRecipeOutput", $rt_wrapFunction0(nms_RecipesMapCloning_getRecipeOutput)], nms_ShapedRecipes, "ShapedRecipes", 43, jl_Object, [nms_IRecipe], 0, 3, 0, 0, ["$getRecipeOutput", $rt_wrapFunction0(nms_ShapedRecipes_getRecipeOutput), "$matches0", $rt_wrapFunction2(nms_ShapedRecipes_matches), "$getCraftingResult", $rt_wrapFunction1(nms_ShapedRecipes_getCraftingResult), "$getRecipeSize", $rt_wrapFunction0(nms_ShapedRecipes_getRecipeSize)], nms_RecipesMapExtending, "RecipesMapExtending", 43, nms_ShapedRecipes, [], 0, 3, 0, 0, ["$matches0", $rt_wrapFunction2(nms_RecipesMapExtending_matches), "$getCraftingResult", $rt_wrapFunction1(nms_RecipesMapExtending_getCraftingResult)], nms_RecipeFireworks, "RecipeFireworks", 43, jl_Object, [nms_IRecipe], 0, 3, 0, 0, ["$matches0", $rt_wrapFunction2(nms_RecipeFireworks_matches), "$getCraftingResult", $rt_wrapFunction1(nms_RecipeFireworks_getCraftingResult), "$getRecipeSize", $rt_wrapFunction0(nms_RecipeFireworks_getRecipeSize), "$getRecipeOutput", $rt_wrapFunction0(nms_RecipeFireworks_getRecipeOutput)], nms_RecipeSorter, 0, jl_Object, [ju_Comparator], 0, 0, 0, 0, ["$compare0", $rt_wrapFunction2(nms_RecipeSorter_compare)], ju_Collections, 0, jl_Object, [], 0, 3, 0, 0, 0, ju_TemplateCollections$AbstractImmutableSet, 0, ju_AbstractSet, [], 1, 0, 0, 0, 0, ju_Collections$1, 0, ju_TemplateCollections$AbstractImmutableSet, [], 0, 0, 0, 0, 0, ju_TemplateCollections$AbstractImmutableMap, 0, ju_AbstractMap, [], 1, 0, 0, 0, 0, ju_Collections$2, 0, ju_TemplateCollections$AbstractImmutableMap, [], 0, 0, 0, 0, 0, ju_TemplateCollections$AbstractImmutableList, 0, ju_AbstractList, [ju_RandomAccess], 1, 0, 0, 0, ["$remove2", $rt_wrapFunction1(ju_TemplateCollections$AbstractImmutableList_remove)], ju_Collections$3, 0, ju_TemplateCollections$AbstractImmutableList, [], 0, 0, 0, 0, ["$get", $rt_wrapFunction1(ju_Collections$3_get), "$size", $rt_wrapFunction0(ju_Collections$3_size), "$iterator", $rt_wrapFunction0(ju_Collections$3_iterator)], ju_Collections$4, 0, jl_Object, [ju_Iterator], 0, 0, 0, 0, ["$hasNext", $rt_wrapFunction0(ju_Collections$4_hasNext), "$next", $rt_wrapFunction0(ju_Collections$4_next)], ju_ListIterator, "ListIterator", 4, jl_Object, [ju_Iterator], 3, 3, 0, 0, 0, ju_Collections$5, 0, jl_Object, [ju_ListIterator], 0, 0, 0, 0, 0, ju_Collections$_clinit_$lambda$_59_0, 0, jl_Object, [ju_Comparator], 0, 3, 0, 0, 0, jnci_BufferedDecoder$Controller, 0, jl_Object, [], 0, 3, 0, 0, 0, ju_HashMap$AbstractMapIterator, 0, jl_Object, [], 0, 0, 0, 0, ["$hasNext", $rt_wrapFunction0(ju_HashMap$AbstractMapIterator_hasNext), "$remove0", $rt_wrapFunction0(ju_HashMap$AbstractMapIterator_remove)], ju_HashMap$ValueIterator, 0, ju_HashMap$AbstractMapIterator, [ju_Iterator], 0, 0, 0, 0, ["$next", $rt_wrapFunction0(ju_HashMap$ValueIterator_next)], nms_RenderHelper, 0, jl_Object, [], 0, 3, 0, 0, 0, ju_HashMap$1, 0, ju_AbstractSet, [], 0, 0, 0, 0, ["$iterator", $rt_wrapFunction0(ju_HashMap$1_iterator)], ju_IllegalFormatException, "IllegalFormatException", 4, jl_IllegalArgumentException, [], 0, 3, 0, 0, 0, ju_HashMap$HashMapEntrySet, 0, ju_AbstractSet, [], 0, 0, 0, 0, ["$size", $rt_wrapFunction0(ju_HashMap$HashMapEntrySet_size), "$contains", $rt_wrapFunction1(ju_HashMap$HashMapEntrySet_contains), "$iterator", $rt_wrapFunction0(ju_HashMap$HashMapEntrySet_iterator)], ju_LinkedHashMap$LinkedHashMapEntry, "LinkedHashMap$LinkedHashMapEntry", 4, ju_HashMap$HashEntry, [], 4, 0, 0, 0, 0, nms_TileEntitySkull, "TileEntitySkull", 43, nms_TileEntity, [], 0, 3, 0, 0, ["$writeToNBT", $rt_wrapFunction1(nms_TileEntitySkull_writeToNBT), "$readFromNBT", $rt_wrapFunction1(nms_TileEntitySkull_readFromNBT)], ju_LinkedList$SequentialListIterator, 0, jl_Object, [ju_ListIterator], 0, 0, 0, 0, ["$hasNext", $rt_wrapFunction0(ju_LinkedList$SequentialListIterator_hasNext), "$next", $rt_wrapFunction0(ju_LinkedList$SequentialListIterator_next), "$remove0", $rt_wrapFunction0(ju_LinkedList$SequentialListIterator_remove)], ju_LinkedList$Entry, "LinkedList$Entry", 4, jl_Object, [], 0, 0, 0, 0, 0]); $rt_metadata([nms_GuiGameOver, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiGameOver_initGui), "$keyTyped", $rt_wrapFunction2(nms_GuiGameOver_keyTyped), "$actionPerformed", $rt_wrapFunction1(nms_GuiGameOver_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiGameOver_drawScreen), "$doesGuiPauseGame", $rt_wrapFunction0(nms_GuiGameOver_doesGuiPauseGame), "$updateScreen", $rt_wrapFunction0(nms_GuiGameOver_updateScreen)], nms_Vec3, "Vec3", 43, jl_Object, [], 0, 3, 0, 0, ["$toString", $rt_wrapFunction0(nms_Vec3_toString)], nms_GuiIngameMenu, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiIngameMenu_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiIngameMenu_actionPerformed), "$updateScreen", $rt_wrapFunction0(nms_GuiIngameMenu_updateScreen), "$drawScreen", $rt_wrapFunction3(nms_GuiIngameMenu_drawScreen)], nms_WorldRenderer, "WorldRenderer", 43, jl_Object, [], 0, 3, 0, nms_WorldRenderer_$callClinit, 0, nms_EntitySorter, 0, jl_Object, [ju_Comparator], 0, 3, 0, 0, ["$compare0", $rt_wrapFunction2(nms_EntitySorter_compare)], nms_BossStatus, 0, jl_Object, [], 4, 3, 0, 0, 0, nms_DestroyBlockProgress, "DestroyBlockProgress", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_EntityFX, "EntityFX", 43, nms_Entity, [], 0, 3, 0, 0, ["$canTriggerWalking", $rt_wrapFunction0(nms_EntityFX_canTriggerWalking), "$entityInit", $rt_wrapFunction0(nms_EntityFX_entityInit), "$onUpdate", $rt_wrapFunction0(nms_EntityFX_onUpdate), "$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$getFXLayer", $rt_wrapFunction0(nms_EntityFX_getFXLayer), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityFX_writeEntityToNBT), "$canAttackWithItem", $rt_wrapFunction0(nms_EntityFX_canAttackWithItem), "$toString", $rt_wrapFunction0(nms_EntityFX_toString)], nle_GuiScreenSingleplayerLoading, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nle_GuiScreenSingleplayerLoading_initGui), "$doesGuiPauseGame", $rt_wrapFunction0(nle_GuiScreenSingleplayerLoading_doesGuiPauseGame), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenSingleplayerLoading_drawScreen), "$updateScreen", $rt_wrapFunction0(nle_GuiScreenSingleplayerLoading_updateScreen), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenSingleplayerLoading_actionPerformed)], juf_BooleanSupplier, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0, 0, jl_Object, [juf_BooleanSupplier], 0, 3, 0, 0, ["$getAsBoolean", $rt_wrapFunction0(nms_Minecraft$stopServerAndDisplayGuiScreen$lambda$_26_0_getAsBoolean)], otcit_DateTimeZoneBuilder$Transition, "DateTimeZoneBuilder$Transition", 33, jl_Object, [], 4, 0, 0, 0, 0, jnci_BufferedEncoder, 0, jnc_CharsetEncoder, [], 1, 3, 0, 0, 0, jnci_UTF8Encoder, 0, jnci_BufferedEncoder, [], 0, 3, 0, 0, ["$arrayEncode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_UTF8Encoder_arrayEncode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jnci_AsciiEncoder, 0, jnci_BufferedEncoder, [], 0, 3, 0, 0, ["$arrayEncode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_AsciiEncoder_arrayEncode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jnci_Iso8859Encoder, 0, jnci_BufferedEncoder, [], 0, 3, 0, 0, ["$arrayEncode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_Iso8859Encoder_arrayEncode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jnci_UTF16Encoder, 0, jnci_BufferedEncoder, [], 0, 3, 0, 0, ["$arrayEncode", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { return jnci_UTF16Encoder_arrayEncode(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nleav_SYS, 0, jl_Object, [], 0, 3, 0, nleav_SYS_$callClinit, 0, nms_TexturePackFolder, "TexturePackFolder", 43, nms_TexturePackImplementation, [], 0, 3, 0, 0, ["$func_98139_b", $rt_wrapFunction1(nms_TexturePackFolder_func_98139_b), "$func_98140_c", $rt_wrapFunction1(nms_TexturePackFolder_func_98140_c), "$isCompatible", $rt_wrapFunction0(nms_TexturePackFolder_isCompatible)], nms_EntityDiggingFX, "EntityDiggingFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$getFXLayer", $rt_wrapFunction0(nms_EntityDiggingFX_getFXLayer), "$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityDiggingFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], jn_FloatBufferOverByteBuffer, 0, jn_FloatBufferImpl, [], 1, 0, 0, 0, ["$readOnly", $rt_wrapFunction0(jn_FloatBufferOverByteBuffer_readOnly)], jn_FloatBufferOverByteBufferLittleEndian, 0, jn_FloatBufferOverByteBuffer, [], 0, 0, 0, 0, ["$getElement", $rt_wrapFunction1(jn_FloatBufferOverByteBufferLittleEndian_getElement), "$putElement0", $rt_wrapFunction2(jn_FloatBufferOverByteBufferLittleEndian_putElement)], jn_FloatBufferOverByteBufferBigEndian, 0, jn_FloatBufferOverByteBuffer, [], 0, 0, 0, 0, ["$getElement", $rt_wrapFunction1(jn_FloatBufferOverByteBufferBigEndian_getElement), "$putElement0", $rt_wrapFunction2(jn_FloatBufferOverByteBufferBigEndian_putElement)], nms_ModelBox, "ModelBox", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_TextureOffset, "TextureOffset", 43, jl_Object, [], 0, 3, 0, 0, 0, jt_DecimalFormatParser, 0, jl_Object, [], 0, 0, 0, 0, 0, nms_ShapelessRecipes, "ShapelessRecipes", 43, jl_Object, [nms_IRecipe], 0, 3, 0, 0, ["$getRecipeOutput", $rt_wrapFunction0(nms_ShapelessRecipes_getRecipeOutput), "$matches0", $rt_wrapFunction2(nms_ShapelessRecipes_matches), "$getCraftingResult", $rt_wrapFunction1(nms_ShapelessRecipes_getCraftingResult), "$getRecipeSize", $rt_wrapFunction0(nms_ShapelessRecipes_getRecipeSize)], nms_WorldProvider, 0, jl_Object, [], 1, 3, 0, 0, ["$generateLightBrightnessTable", $rt_wrapFunction0(nms_WorldProvider_generateLightBrightnessTable), "$registerWorldChunkManager", $rt_wrapFunction0(nms_WorldProvider_registerWorldChunkManager), "$calculateCelestialAngle", $rt_wrapFunction2(nms_WorldProvider_calculateCelestialAngle), "$isSurfaceWorld", $rt_wrapFunction0(nms_WorldProvider_isSurfaceWorld), "$calcSunriseSunsetColors", $rt_wrapFunction2(nms_WorldProvider_calcSunriseSunsetColors), "$getFogColor", $rt_wrapFunction2(nms_WorldProvider_getFogColor), "$canRespawnHere", $rt_wrapFunction0(nms_WorldProvider_canRespawnHere), "$getCloudHeight", $rt_wrapFunction0(nms_WorldProvider_getCloudHeight), "$isSkyColored", $rt_wrapFunction0(nms_WorldProvider_isSkyColored), "$doesXZShowFog", $rt_wrapFunction2(nms_WorldProvider_doesXZShowFog)], ju_Formatter, 0, jl_Object, [ji_Closeable, ji_Flushable], 4, 3, 0, 0, 0, oj_JSONString, 0, jl_Object, [], 3, 3, 0, 0, 0, jur_MatchResult, 0, jl_Object, [], 3, 3, 0, 0, 0, jur_Matcher, "Matcher", 6, jl_Object, [jur_MatchResult], 4, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$AudioSourceNodeX, "EaglerAdapterImpl2$AudioSourceNodeX", 46, jl_Object, [], 0, 0, 0, 0, 0, nlea_EaglerAdapterImpl2$AudioBufferSourceNodeX, "EaglerAdapterImpl2$AudioBufferSourceNodeX", 46, nlea_EaglerAdapterImpl2$AudioSourceNodeX, [], 0, 0, 0, 0, 0, nlea_EaglerAdapterImpl2$30, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$30_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$MediaElementAudioSourceNodeX, "EaglerAdapterImpl2$MediaElementAudioSourceNodeX", 46, nlea_EaglerAdapterImpl2$AudioSourceNodeX, [], 0, 0, 0, 0, 0, nlea_EaglerAdapterImpl2$28, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$28_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$29, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$29_handleEvent$exported$0)], nms_BiomeGenBase, "BiomeGenBase", 43, jl_Object, [], 1, 3, 0, nms_BiomeGenBase_$callClinit, ["$getSkyColorByTemp", $rt_wrapFunction1(nms_BiomeGenBase_getSkyColorByTemp), "$getBiomeGrassColor", $rt_wrapFunction0(nms_BiomeGenBase_getBiomeGrassColor), "$getBiomeFoliageColor", $rt_wrapFunction0(nms_BiomeGenBase_getBiomeFoliageColor)], nms_EntitySmokeFX, "EntitySmokeFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntitySmokeFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntitySmokeFX_onUpdate)], nms_EntityRainFX, "EntityRainFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$onUpdate", $rt_wrapFunction0(nms_EntityRainFX_onUpdate)], nleav_VirtualFilesystem, "VirtualFilesystem", 47, jl_Object, [], 0, 3, 0, 0, 0, nms_GuiTexturePacks, 0, nms_GuiScreen, [], 0, 3, 0, nms_GuiTexturePacks_$callClinit, ["$initGui", $rt_wrapFunction0(nms_GuiTexturePacks_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiTexturePacks_actionPerformed), "$mouseClicked", $rt_wrapFunction3(nms_GuiTexturePacks_mouseClicked), "$mouseMovedOrUp", $rt_wrapFunction3(nms_GuiTexturePacks_mouseMovedOrUp), "$drawScreen", $rt_wrapFunction3(nms_GuiTexturePacks_drawScreen), "$updateScreen", $rt_wrapFunction0(nms_GuiTexturePacks_updateScreen), "$confirmClicked", $rt_wrapFunction2(nms_GuiTexturePacks_confirmClicked)], nms_PositionTextureVertex, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_TexturedQuad, 0, jl_Object, [], 0, 3, 0, 0, 0, ju_AbstractMap$SimpleEntry, "AbstractMap$SimpleEntry", 4, jl_Object, [ju_Map$Entry, ji_Serializable], 0, 3, 0, 0, ["$getValue", $rt_wrapFunction0(ju_AbstractMap$SimpleEntry_getValue), "$getKey", $rt_wrapFunction0(ju_AbstractMap$SimpleEntry_getKey), "$equals", $rt_wrapFunction1(ju_AbstractMap$SimpleEntry_equals), "$hashCode", $rt_wrapFunction0(ju_AbstractMap$SimpleEntry_hashCode), "$toString", $rt_wrapFunction0(ju_AbstractMap$SimpleEntry_toString)], ju_TreeMap$TreeNode, "TreeMap$TreeNode", 4, ju_AbstractMap$SimpleEntry, [], 0, 0, 0, 0, 0, nlea_EaglerAdapterImpl2$AudioBufferX, "EaglerAdapterImpl2$AudioBufferX", 46, jl_Object, [], 0, 0, 0, 0, 0, nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_0, 0, jl_Object, [jl_Runnable], 0, 3, 0, 0, 0, juf_BiConsumer, "BiConsumer", 8, jl_Object, [], 3, 3, 0, 0, 0]); $rt_metadata([nle_GuiScreenSingleplayerLoading$_clinit_$lambda$_12_1, 0, jl_Object, [juf_BiConsumer], 0, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$27, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$27_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$25, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$25_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$26, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$26_handleEvent$exported$0)], nleav_VirtualFilesystem$VFSHandle, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_PotionEffect, "PotionEffect", 43, jl_Object, [], 0, 3, 0, 0, ["$hashCode", $rt_wrapFunction0(nms_PotionEffect_hashCode), "$toString", $rt_wrapFunction0(nms_PotionEffect_toString), "$equals", $rt_wrapFunction1(nms_PotionEffect_equals)], otr_EventQueue$Event, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_ThreadInterruptHandler, 0, jl_Object, [], 3, 3, 0, 0, 0, jlr_ReferenceQueue$RemoveCallback, 0, jl_Object, [otr_EventQueue$Event, otp_PlatformRunnable, oti_AsyncCallback, jl_ThreadInterruptHandler], 0, 0, 0, 0, 0, ju_Formatter$FormatWriter, 0, jl_Object, [], 0, 0, 0, 0, 0, ju_FormatterClosedException, "FormatterClosedException", 4, jl_IllegalStateException, [], 0, 3, 0, 0, 0, jur_MatchResultImpl, "MatchResultImpl", 6, jl_Object, [jur_MatchResult], 0, 0, 0, 0, 0, nms_BiomeGenOcean, "BiomeGenOcean", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, 0, nms_BiomeGenPlains, "BiomeGenPlains", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, 0, nms_BiomeGenDesert, "BiomeGenDesert", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, 0, nms_BiomeGenHills, "BiomeGenHills", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, 0, nms_BiomeGenForest, "BiomeGenForest", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, 0, nms_BiomeGenTaiga, "BiomeGenTaiga", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, 0, nms_BiomeGenSwamp, "BiomeGenSwamp", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, ["$getBiomeGrassColor", $rt_wrapFunction0(nms_BiomeGenSwamp_getBiomeGrassColor), "$getBiomeFoliageColor", $rt_wrapFunction0(nms_BiomeGenSwamp_getBiomeFoliageColor)], nms_BiomeGenRiver, "BiomeGenRiver", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, 0, nms_BiomeGenHell, "BiomeGenHell", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, 0, nms_BiomeGenEnd, "BiomeGenEnd", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, ["$getSkyColorByTemp", $rt_wrapFunction1(nms_BiomeGenEnd_getSkyColorByTemp)], nms_BiomeGenSnow, "BiomeGenSnow", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, 0, nms_BiomeGenMushroomIsland, "BiomeGenMushroomIsland", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, 0, nms_BiomeGenBeach, "BiomeGenBeach", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, 0, nms_BiomeGenJungle, "BiomeGenJungle", 43, nms_BiomeGenBase, [], 0, 3, 0, 0, 0, nleav_VirtualFilesystem$AsyncHandlers, 0, jl_Object, [], 0, 3, 0, 0, 0, nleav_VirtualFilesystem$DatabaseOpen, 0, jl_Object, [], 0, 3, 0, 0, 0, otjw_DecodeSuccessCallback, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$23, 0, jl_Object, [otjw_DecodeSuccessCallback], 0, 0, 0, 0, ["$onSuccess$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$23_onSuccess$exported$0)], otjw_DecodeErrorCallback, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$24, 0, jl_Object, [otjw_DecodeErrorCallback], 0, 0, 0, 0, ["$onError$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$24_onError$exported$0)], nms_WeightedRandomItem, "WeightedRandomItem", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_SpawnListEntry, "SpawnListEntry", 43, nms_WeightedRandomItem, [], 0, 3, 0, 0, ["$toString", $rt_wrapFunction0(nms_SpawnListEntry_toString)], nms_BiomeDecorator, "BiomeDecorator", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_WorldGenerator, "WorldGenerator", 43, jl_Object, [], 1, 3, 0, 0, 0, nms_WorldGenMinable, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_BiomeEndDecorator, 0, nms_BiomeDecorator, [], 0, 3, 0, 0, 0, nms_EnumEntitySize, 0, jl_Enum, [], 12, 3, 0, 0, 0, jl_Package, "Package", 17, jl_Object, [jlr_AnnotatedElement], 0, 3, 0, 0, 0, nms_WorldGenTrees, 0, nms_WorldGenerator, [], 0, 3, 0, 0, ["$generate", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldGenTrees_generate(this, var_1, var_2, var_3, var_4, var_5); }], nms_WorldGenBigTree, 0, nms_WorldGenerator, [], 0, 3, 0, 0, ["$generate", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldGenBigTree_generate(this, var_1, var_2, var_3, var_4, var_5); }], nms_WorldGenForest, 0, nms_WorldGenerator, [], 0, 3, 0, 0, ["$generate", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldGenForest_generate(this, var_1, var_2, var_3, var_4, var_5); }], nms_WorldGenSwamp, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenSpikes, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, otji_EventHandler, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nleav_VirtualFilesystem$AsyncHandlers$1, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleav_VirtualFilesystem$AsyncHandlers$1_handleEvent$exported$0)], nleav_VirtualFilesystem$AsyncHandlers$2, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleav_VirtualFilesystem$AsyncHandlers$2_handleEvent$exported$0)], nleav_VirtualFilesystem$AsyncHandlers$3, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleav_VirtualFilesystem$AsyncHandlers$3_handleEvent$exported$0)], nleav_VirtualFilesystem$AsyncHandlers$4, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nleav_VirtualFilesystem$AsyncHandlers$4_handleEvent$exported$0)]]); $rt_metadata([ju_IdentityHashMap, 0, ju_AbstractMap, [jl_Cloneable, ji_Serializable], 0, 3, 0, 0, 0, jlr_Modifier, 0, jl_Object, [], 0, 3, 0, 0, 0, jl_ReflectiveOperationException, "ReflectiveOperationException", 17, jl_Exception, [], 0, 3, 0, 0, 0, jl_IllegalAccessException, "IllegalAccessException", 17, jl_ReflectiveOperationException, [], 0, 3, 0, 0, 0, jlr_InvocationTargetException, 0, jl_ReflectiveOperationException, [], 0, 3, 0, 0, 0, nms_WorldGenClay, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenSand, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenFlowers, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenBigMushroom, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenReed, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenCactus, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, nms_WorldGenWaterlily, 0, nms_WorldGenerator, [], 0, 3, 0, 0, 0, ju_SetFromMap, 0, ju_AbstractSet, [], 0, 0, 0, 0, 0, jlr_AccessibleObject, "AccessibleObject", 19, jl_Object, [jlr_AnnotatedElement], 0, 3, 0, 0, 0, jlr_Member, 0, jl_Object, [], 3, 3, 0, 0, 0, jlr_Method, "Method", 19, jlr_AccessibleObject, [jlr_Member], 0, 3, 0, 0, ["$toString", $rt_wrapFunction0(jlr_Method_toString)], jla_Annotation, "Annotation", 18, jl_Object, [], 19, 3, 0, 0, 0, oj_JSONPropertyIgnore, 0, jl_Object, [jla_Annotation], 19, 3, 0, 0, 0, oj_JSONPropertyName, 0, jl_Object, [jla_Annotation], 19, 3, 0, 0, 0, jl_SecurityException, 0, jl_RuntimeException, [], 0, 3, 0, 0, 0, jl_NoSuchMethodException, "NoSuchMethodException", 17, jl_ReflectiveOperationException, [], 0, 3, 0, 0, 0, otjw_WebGLTexture, "WebGLTexture", 27, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, jus_BaseStream, 0, jl_Object, [jl_AutoCloseable], 3, 3, 0, 0, 0, jus_IntStream, "IntStream", 7, jl_Object, [jus_BaseStream], 3, 3, 0, 0, 0, ju_HashMap$KeyIterator, 0, ju_HashMap$AbstractMapIterator, [ju_Iterator], 0, 0, 0, 0, ["$next", $rt_wrapFunction0(ju_HashMap$KeyIterator_next)], ju_HashMap$EntryIterator, 0, ju_HashMap$AbstractMapIterator, [ju_Iterator], 0, 0, 0, 0, ["$next", $rt_wrapFunction0(ju_HashMap$EntryIterator_next)], nms_GuiParticle, 0, nms_Gui, [], 0, 3, 0, nms_GuiParticle_$callClinit, 0, nms_GuiContainerCreative, "GuiContainerCreative", 43, nms_InventoryEffectRenderer, [], 0, 3, 0, nms_GuiContainerCreative_$callClinit, ["$updateScreen", $rt_wrapFunction0(nms_GuiContainerCreative_updateScreen), "$handleMouseClick", $rt_wrapFunction4(nms_GuiContainerCreative_handleMouseClick), "$initGui", $rt_wrapFunction0(nms_GuiContainerCreative_initGui), "$onGuiClosed", $rt_wrapFunction0(nms_GuiContainerCreative_onGuiClosed), "$keyTyped", $rt_wrapFunction2(nms_GuiContainerCreative_keyTyped), "$drawGuiContainerForegroundLayer", $rt_wrapFunction2(nms_GuiContainerCreative_drawGuiContainerForegroundLayer), "$mouseClicked", $rt_wrapFunction3(nms_GuiContainerCreative_mouseClicked), "$mouseMovedOrUp", $rt_wrapFunction3(nms_GuiContainerCreative_mouseMovedOrUp), "$handleMouseInput", $rt_wrapFunction0(nms_GuiContainerCreative_handleMouseInput), "$drawScreen", $rt_wrapFunction3(nms_GuiContainerCreative_drawScreen), "$drawItemStackTooltip", $rt_wrapFunction3(nms_GuiContainerCreative_drawItemStackTooltip), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction3(nms_GuiContainerCreative_drawGuiContainerBackgroundLayer), "$actionPerformed", $rt_wrapFunction1(nms_GuiContainerCreative_actionPerformed)], nms_GuiButton, "GuiButton", 43, nms_Gui, [], 0, 3, 0, nms_GuiButton_$callClinit, ["$getHoverState", $rt_wrapFunction1(nms_GuiButton_getHoverState), "$drawButton", $rt_wrapFunction3(nms_GuiButton_drawButton), "$mouseDragged", $rt_wrapFunction3(nms_GuiButton_mouseDragged), "$mouseReleased", $rt_wrapFunction2(nms_GuiButton_mouseReleased), "$mousePressed", $rt_wrapFunction3(nms_GuiButton_mousePressed), "$func_82251_b", $rt_wrapFunction2(nms_GuiButton_func_82251_b)], jnci_BufferedEncoder$Controller, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_ActiveRenderInfo, 0, jl_Object, [], 0, 3, 0, nms_ActiveRenderInfo_$callClinit, 0, nms_ClippingHelper, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_ClippingHelperImpl, 0, nms_ClippingHelper, [], 0, 3, 0, nms_ClippingHelperImpl_$callClinit, 0, nms_ICamera, "ICamera", 43, jl_Object, [], 3, 3, 0, 0, 0, nms_Frustrum, 0, jl_Object, [nms_ICamera], 0, 3, 0, 0, 0, nms_Direction, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_NetHandler, "NetHandler", 43, jl_Object, [], 1, 3, 0, 0, 0, nms_NetClientHandler, "NetClientHandler", 43, nms_NetHandler, [], 0, 3, 0, 0, 0, nms_GuiPlayerInfo, "GuiPlayerInfo", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_Team, "Team", 43, jl_Object, [], 1, 3, 0, 0, 0, nms_ScorePlayerTeam, "ScorePlayerTeam", 43, nms_Team, [], 0, 3, 0, 0, 0, nms_StitchHolder, "StitchHolder", 43, jl_Object, [jl_Comparable], 0, 3, 0, 0, ["$toString", $rt_wrapFunction0(nms_StitchHolder_toString), "$compareTo1", $rt_wrapFunction1(nms_StitchHolder_compareTo)], nms_Texture, "Texture", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_StitcherException, "StitcherException", 43, jl_RuntimeException, [], 0, 3, 0, 0, 0, nms_TextureStitched, "TextureStitched", 43, jl_Object, [nms_Icon], 0, 3, 0, 0, ["$getIconWidth", $rt_wrapFunction0(nms_TextureStitched_getIconWidth), "$getIconHeight", $rt_wrapFunction0(nms_TextureStitched_getIconHeight), "$getMinU", $rt_wrapFunction0(nms_TextureStitched_getMinU), "$getMaxU", $rt_wrapFunction0(nms_TextureStitched_getMaxU), "$getInterpolatedU", $rt_wrapFunction1(nms_TextureStitched_getInterpolatedU), "$getMinV", $rt_wrapFunction0(nms_TextureStitched_getMinV), "$getMaxV", $rt_wrapFunction0(nms_TextureStitched_getMaxV), "$getInterpolatedV", $rt_wrapFunction1(nms_TextureStitched_getInterpolatedV), "$getIconName", $rt_wrapFunction0(nms_TextureStitched_getIconName), "$getSheetWidth", $rt_wrapFunction0(nms_TextureStitched_getSheetWidth), "$getSheetHeight", $rt_wrapFunction0(nms_TextureStitched_getSheetHeight), "$updateAnimation", $rt_wrapFunction0(nms_TextureStitched_updateAnimation)], nms_StitchSlot, "StitchSlot", 43, jl_Object, [], 0, 3, 0, 0, ["$toString", $rt_wrapFunction0(nms_StitchSlot_toString)], nms_Packet204ClientInfo, "Packet204ClientInfo", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet204ClientInfo_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet204ClientInfo_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet204ClientInfo_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet204ClientInfo_getPacketSize)], nms_Packet250CustomPayload, "Packet250CustomPayload", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet250CustomPayload_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet250CustomPayload_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet250CustomPayload_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet250CustomPayload_getPacketSize)], nms_MovementInput, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_MovementInputFromOptions, 0, nms_MovementInput, [], 0, 3, 0, 0, 0]); $rt_metadata([nms_Packet2ClientProtocol, "Packet2ClientProtocol", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet2ClientProtocol_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet2ClientProtocol_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet2ClientProtocol_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet2ClientProtocol_getPacketSize)], nms_GuiDisconnected, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$keyTyped", $rt_wrapFunction2(nms_GuiDisconnected_keyTyped), "$initGui", $rt_wrapFunction0(nms_GuiDisconnected_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiDisconnected_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiDisconnected_drawScreen)], nle_RelayServer, "RelayServer", 45, jl_Object, [], 0, 3, 0, 0, 0, jt_DecimalFormat$MinusField, "DecimalFormat$MinusField", 16, jl_Object, [jt_DecimalFormat$FormatField], 0, 0, 0, 0, ["$render1", $rt_wrapFunction2(jt_DecimalFormat$MinusField_render), "$equals", $rt_wrapFunction1(jt_DecimalFormat$MinusField_equals), "$hashCode", $rt_wrapFunction0(jt_DecimalFormat$MinusField_hashCode)], nms_Facing, 0, jl_Object, [], 0, 3, 0, 0, 0, jl_ClassLoader, "ClassLoader", 17, jl_Object, [], 1, 3, 0, jl_ClassLoader_$callClinit, 0, nms_WatchableObject, "WatchableObject", 43, jl_Object, [], 0, 3, 0, 0, 0, ju_IdentityHashMap$HashEntry, 0, ju_MapEntry, [], 0, 0, 0, 0, 0, nms_ContainerCreative, 0, nms_Container, [], 0, 0, 0, 0, ["$canInteractWith", $rt_wrapFunction1(nms_ContainerCreative_canInteractWith), "$retrySlotClick", $rt_wrapFunction4(nms_ContainerCreative_retrySlotClick), "$transferStackInSlot", $rt_wrapFunction2(nms_ContainerCreative_transferStackInSlot), "$func_94530_a", $rt_wrapFunction2(nms_ContainerCreative_func_94530_a), "$canDragIntoSlot", $rt_wrapFunction1(nms_ContainerCreative_canDragIntoSlot)], nms_GuiTextField, 0, nms_Gui, [], 0, 3, 0, 0, 0, nms_WorldInfo, 0, jl_Object, [], 0, 3, 0, 0, 0, nleav_VirtualFilesystem$VFSFile, "VirtualFilesystem$VFSFile", 47, jl_Object, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(nleav_VirtualFilesystem$VFSFile_equals), "$hashCode", $rt_wrapFunction0(nleav_VirtualFilesystem$VFSFile_hashCode)], nms_EnchantmentHelper, 0, jl_Object, [], 0, 3, 0, nms_EnchantmentHelper_$callClinit, 0, nms_Scoreboard, "Scoreboard", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_Score, "Score", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_ScoreObjective, "ScoreObjective", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_Stitcher, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_TextureClock, "TextureClock", 43, nms_TextureStitched, [], 0, 3, 0, 0, ["$updateAnimation", $rt_wrapFunction0(nms_TextureClock_updateAnimation)], nms_TextureCompass, "TextureCompass", 43, nms_TextureStitched, [], 0, 3, 0, 0, ["$updateAnimation", $rt_wrapFunction0(nms_TextureCompass_updateAnimation)], nlea_EaglerAdapterImpl2$18, 0, jl_Object, [otjb_TimerHandler], 0, 0, 0, 0, ["$onTimer$exported$0", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$18_onTimer$exported$0)], nms_MapStorage, 0, jl_Object, [], 0, 3, 0, 0, 0, nle_WebsocketNetworkManager, 0, jl_Object, [nms_INetworkManager], 0, 3, 0, 0, ["$addToSendQueue", $rt_wrapFunction1(nle_WebsocketNetworkManager_addToSendQueue), "$wakeThreads", $rt_wrapFunction0(nle_WebsocketNetworkManager_wakeThreads), "$processReadPackets", $rt_wrapFunction0(nle_WebsocketNetworkManager_processReadPackets), "$serverShutdown", $rt_wrapFunction0(nle_WebsocketNetworkManager_serverShutdown), "$networkShutdown", $rt_wrapFunction2(nle_WebsocketNetworkManager_networkShutdown), "$closeConnections", $rt_wrapFunction0(nle_WebsocketNetworkManager_closeConnections), "$getServerURI", $rt_wrapFunction0(nle_WebsocketNetworkManager_getServerURI)], nlea_EaglerAdapterImpl2$RateLimit, "EaglerAdapterImpl2$RateLimit", 46, jl_Enum, [], 12, 3, 0, 0, 0, jl_AbstractStringBuilder$Constants, 0, jl_Object, [], 0, 0, 0, 0, 0, otcit_FloatAnalyzer, 0, jl_Object, [], 4, 3, 0, 0, 0, otcit_FloatAnalyzer$Result, 0, jl_Object, [], 0, 3, 0, 0, 0, ju_UnknownFormatConversionException, "UnknownFormatConversionException", 4, ju_IllegalFormatException, [], 0, 3, 0, 0, 0, jl_Class$MethodSignature, "Class$MethodSignature", 17, jl_Object, [], 4, 0, 0, 0, ["$equals", $rt_wrapFunction1(jl_Class$MethodSignature_equals), "$hashCode", $rt_wrapFunction0(jl_Class$MethodSignature_hashCode)], nms_Slot, "Slot", 43, jl_Object, [], 0, 3, 0, 0, ["$onCrafting", $rt_wrapFunction2(nms_Slot_onCrafting), "$onPickupFromSlot", $rt_wrapFunction2(nms_Slot_onPickupFromSlot), "$isItemValid", $rt_wrapFunction1(nms_Slot_isItemValid), "$getStack", $rt_wrapFunction0(nms_Slot_getStack), "$getHasStack", $rt_wrapFunction0(nms_Slot_getHasStack), "$putStack", $rt_wrapFunction1(nms_Slot_putStack), "$onSlotChanged", $rt_wrapFunction0(nms_Slot_onSlotChanged), "$getSlotStackLimit", $rt_wrapFunction0(nms_Slot_getSlotStackLimit), "$getBackgroundIconIndex", $rt_wrapFunction0(nms_Slot_getBackgroundIconIndex), "$decrStackSize0", $rt_wrapFunction1(nms_Slot_decrStackSize), "$canTakeStack", $rt_wrapFunction1(nms_Slot_canTakeStack), "$func_111238_b", $rt_wrapFunction0(nms_Slot_func_111238_b)], nms_InventoryBasic, "InventoryBasic", 43, jl_Object, [nms_IInventory], 0, 3, 0, 0, ["$getStackInSlot", $rt_wrapFunction1(nms_InventoryBasic_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_InventoryBasic_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_InventoryBasic_setInventorySlotContents), "$getSizeInventory", $rt_wrapFunction0(nms_InventoryBasic_getSizeInventory), "$getInvName", $rt_wrapFunction0(nms_InventoryBasic_getInvName), "$isInvNameLocalized", $rt_wrapFunction0(nms_InventoryBasic_isInvNameLocalized), "$getInventoryStackLimit", $rt_wrapFunction0(nms_InventoryBasic_getInventoryStackLimit), "$onInventoryChanged", $rt_wrapFunction0(nms_InventoryBasic_onInventoryChanged), "$isUseableByPlayer", $rt_wrapFunction1(nms_InventoryBasic_isUseableByPlayer), "$openChest", $rt_wrapFunction0(nms_InventoryBasic_openChest), "$closeChest", $rt_wrapFunction0(nms_InventoryBasic_closeChest)], nleav_VirtualFilesystem$AsyncHandlers$11, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleav_VirtualFilesystem$AsyncHandlers$11_handleEvent$exported$0)], nleav_VirtualFilesystem$AsyncHandlers$12, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleav_VirtualFilesystem$AsyncHandlers$12_handleEvent$exported$0)], nms_ChunkPosition, "ChunkPosition", 43, jl_Object, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(nms_ChunkPosition_equals), "$hashCode", $rt_wrapFunction0(nms_ChunkPosition_hashCode)], nms_Enchantment, "Enchantment", 43, jl_Object, [], 1, 3, 0, nms_Enchantment_$callClinit, ["$calcModifierDamage", $rt_wrapFunction2(nms_Enchantment_calcModifierDamage), "$calcModifierLiving", $rt_wrapFunction2(nms_Enchantment_calcModifierLiving), "$canApplyTogether", $rt_wrapFunction1(nms_Enchantment_canApplyTogether), "$getName", $rt_wrapFunction0(nms_Enchantment_getName), "$canApply", $rt_wrapFunction1(nms_Enchantment_canApply)], nms_FoodStats, "FoodStats", 43, jl_Object, [], 0, 3, 0, 0, 0, jl_OutOfMemoryError, "OutOfMemoryError", 17, jl_VirtualMachineError, [], 0, 3, 0, 0, 0, ju_DuplicateFormatFlagsException, "DuplicateFormatFlagsException", 4, ju_IllegalFormatException, [], 0, 3, 0, 0, 0, ju_IllegalFormatPrecisionException, "IllegalFormatPrecisionException", 4, ju_IllegalFormatException, [], 0, 3, 0, 0, 0, ju_IllegalFormatCodePointException, "IllegalFormatCodePointException", 4, ju_IllegalFormatException, [], 0, 3, 0, 0, 0, ju_IllegalFormatConversionException, "IllegalFormatConversionException", 4, ju_IllegalFormatException, [], 0, 3, 0, 0, 0, ju_Formattable, 0, jl_Object, [], 3, 3, 0, 0, 0, jl_SystemClassLoader, 0, jl_ClassLoader, [], 0, 0, 0, 0, 0, nms_StringUtils, 0, jl_Object, [], 0, 3, 0, nms_StringUtils_$callClinit, 0, nms_IEnchantmentModifier, 0, jl_Object, [], 3, 0, 0, 0, 0, nms_EnchantmentModifierDamage, 0, jl_Object, [nms_IEnchantmentModifier], 4, 0, 0, 0, ["$calculateModifier", $rt_wrapFunction2(nms_EnchantmentModifierDamage_calculateModifier)], nms_EnchantmentModifierLiving, 0, jl_Object, [nms_IEnchantmentModifier], 4, 0, 0, 0, ["$calculateModifier", $rt_wrapFunction2(nms_EnchantmentModifierLiving_calculateModifier)], nms_ScoreComparator, 0, jl_Object, [ju_Comparator], 4, 0, 0, 0, ["$compare0", $rt_wrapFunction2(nms_ScoreComparator_compare)], nms_Packet0KeepAlive, "Packet0KeepAlive", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$processPacket", $rt_wrapFunction1(nms_Packet0KeepAlive_processPacket), "$readPacketData", $rt_wrapFunction1(nms_Packet0KeepAlive_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet0KeepAlive_writePacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet0KeepAlive_getPacketSize)], nms_Packet1Login, "Packet1Login", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet1Login_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet1Login_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet1Login_getPacketSize)], nms_Packet4UpdateTime, "Packet4UpdateTime", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet4UpdateTime_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet4UpdateTime_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet4UpdateTime_getPacketSize)]]); $rt_metadata([nms_Packet5PlayerInventory, "Packet5PlayerInventory", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet5PlayerInventory_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet5PlayerInventory_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet5PlayerInventory_getPacketSize)], nms_Packet6SpawnPosition, "Packet6SpawnPosition", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet6SpawnPosition_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet6SpawnPosition_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet6SpawnPosition_getPacketSize)], nms_Packet7UseEntity, "Packet7UseEntity", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet7UseEntity_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet7UseEntity_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet7UseEntity_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet7UseEntity_getPacketSize)], nms_Packet8UpdateHealth, "Packet8UpdateHealth", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet8UpdateHealth_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet8UpdateHealth_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet8UpdateHealth_getPacketSize)], nms_Packet9Respawn, "Packet9Respawn", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$processPacket", $rt_wrapFunction1(nms_Packet9Respawn_processPacket), "$readPacketData", $rt_wrapFunction1(nms_Packet9Respawn_readPacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet9Respawn_getPacketSize)], nms_Packet10Flying, "Packet10Flying", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$processPacket", $rt_wrapFunction1(nms_Packet10Flying_processPacket), "$readPacketData", $rt_wrapFunction1(nms_Packet10Flying_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet10Flying_writePacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet10Flying_getPacketSize)], nms_Packet11PlayerPosition, "Packet11PlayerPosition", 43, nms_Packet10Flying, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet11PlayerPosition_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet11PlayerPosition_writePacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet11PlayerPosition_getPacketSize)], nms_Packet12PlayerLook, "Packet12PlayerLook", 43, nms_Packet10Flying, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet12PlayerLook_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet12PlayerLook_writePacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet12PlayerLook_getPacketSize)], nms_Packet13PlayerLookMove, "Packet13PlayerLookMove", 43, nms_Packet10Flying, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet13PlayerLookMove_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet13PlayerLookMove_writePacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet13PlayerLookMove_getPacketSize)], nms_Packet14BlockDig, "Packet14BlockDig", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet14BlockDig_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet14BlockDig_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet14BlockDig_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet14BlockDig_getPacketSize)], nms_Packet15Place, "Packet15Place", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet15Place_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet15Place_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet15Place_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet15Place_getPacketSize)], nms_Packet16BlockItemSwitch, "Packet16BlockItemSwitch", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet16BlockItemSwitch_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet16BlockItemSwitch_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet16BlockItemSwitch_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet16BlockItemSwitch_getPacketSize)], nms_Packet17Sleep, "Packet17Sleep", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet17Sleep_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet17Sleep_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet17Sleep_getPacketSize)], nms_Packet18Animation, "Packet18Animation", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet18Animation_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet18Animation_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet18Animation_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet18Animation_getPacketSize)], nms_Packet19EntityAction, "Packet19EntityAction", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet19EntityAction_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet19EntityAction_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet19EntityAction_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet19EntityAction_getPacketSize)], nms_Packet20NamedEntitySpawn, "Packet20NamedEntitySpawn", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet20NamedEntitySpawn_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet20NamedEntitySpawn_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet20NamedEntitySpawn_getPacketSize)], nms_Packet22Collect, "Packet22Collect", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet22Collect_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet22Collect_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet22Collect_getPacketSize)], nms_Packet23VehicleSpawn, "Packet23VehicleSpawn", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet23VehicleSpawn_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet23VehicleSpawn_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet23VehicleSpawn_getPacketSize)], nms_Packet24MobSpawn, "Packet24MobSpawn", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet24MobSpawn_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet24MobSpawn_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet24MobSpawn_getPacketSize)], nms_Packet25EntityPainting, "Packet25EntityPainting", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet25EntityPainting_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet25EntityPainting_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet25EntityPainting_getPacketSize)], nms_Packet26EntityExpOrb, "Packet26EntityExpOrb", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet26EntityExpOrb_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet26EntityExpOrb_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet26EntityExpOrb_getPacketSize)], nms_Packet27PlayerInput, "Packet27PlayerInput", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet27PlayerInput_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet27PlayerInput_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet27PlayerInput_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet27PlayerInput_getPacketSize)], nms_Packet28EntityVelocity, "Packet28EntityVelocity", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet28EntityVelocity_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet28EntityVelocity_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet28EntityVelocity_getPacketSize)], nms_Packet29DestroyEntity, "Packet29DestroyEntity", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet29DestroyEntity_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet29DestroyEntity_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet29DestroyEntity_getPacketSize)], nms_Packet30Entity, "Packet30Entity", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet30Entity_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet30Entity_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet30Entity_getPacketSize)], nms_Packet31RelEntityMove, "Packet31RelEntityMove", 43, nms_Packet30Entity, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet31RelEntityMove_readPacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet31RelEntityMove_getPacketSize)], nms_Packet32EntityLook, "Packet32EntityLook", 43, nms_Packet30Entity, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet32EntityLook_readPacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet32EntityLook_getPacketSize)], nms_Packet33RelEntityMoveLook, "Packet33RelEntityMoveLook", 43, nms_Packet30Entity, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet33RelEntityMoveLook_readPacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet33RelEntityMoveLook_getPacketSize)], nms_Packet34EntityTeleport, "Packet34EntityTeleport", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet34EntityTeleport_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet34EntityTeleport_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet34EntityTeleport_getPacketSize)], nms_Packet35EntityHeadRotation, "Packet35EntityHeadRotation", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet35EntityHeadRotation_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet35EntityHeadRotation_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet35EntityHeadRotation_getPacketSize)], nms_Packet38EntityStatus, "Packet38EntityStatus", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet38EntityStatus_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet38EntityStatus_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet38EntityStatus_getPacketSize)], nms_Packet39AttachEntity, "Packet39AttachEntity", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$getPacketSize", $rt_wrapFunction0(nms_Packet39AttachEntity_getPacketSize), "$readPacketData", $rt_wrapFunction1(nms_Packet39AttachEntity_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet39AttachEntity_processPacket)], nms_Packet40EntityMetadata, "Packet40EntityMetadata", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet40EntityMetadata_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet40EntityMetadata_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet40EntityMetadata_getPacketSize)], nms_Packet41EntityEffect, "Packet41EntityEffect", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet41EntityEffect_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet41EntityEffect_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet41EntityEffect_getPacketSize)], nms_Packet42RemoveEntityEffect, "Packet42RemoveEntityEffect", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet42RemoveEntityEffect_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet42RemoveEntityEffect_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet42RemoveEntityEffect_getPacketSize)], nms_Packet43Experience, "Packet43Experience", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet43Experience_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet43Experience_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet43Experience_getPacketSize)], nms_Packet44UpdateAttributes, "Packet44UpdateAttributes", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet44UpdateAttributes_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet44UpdateAttributes_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet44UpdateAttributes_getPacketSize)], nms_Packet51MapChunk, "Packet51MapChunk", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet51MapChunk_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet51MapChunk_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet51MapChunk_getPacketSize)], nms_Packet52MultiBlockChange, "Packet52MultiBlockChange", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet52MultiBlockChange_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet52MultiBlockChange_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet52MultiBlockChange_getPacketSize)], nms_Packet53BlockChange, "Packet53BlockChange", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet53BlockChange_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet53BlockChange_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet53BlockChange_getPacketSize)], nms_Packet54PlayNoteBlock, "Packet54PlayNoteBlock", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet54PlayNoteBlock_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet54PlayNoteBlock_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet54PlayNoteBlock_getPacketSize)], nms_Packet55BlockDestroy, "Packet55BlockDestroy", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet55BlockDestroy_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet55BlockDestroy_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet55BlockDestroy_getPacketSize)], nms_Packet56MapChunks, "Packet56MapChunks", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet56MapChunks_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet56MapChunks_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet56MapChunks_getPacketSize)], nms_Packet60Explosion, "Packet60Explosion", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet60Explosion_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet60Explosion_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet60Explosion_getPacketSize)], nms_Packet61DoorChange, "Packet61DoorChange", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet61DoorChange_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet61DoorChange_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet61DoorChange_getPacketSize)], nms_Packet62LevelSound, "Packet62LevelSound", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet62LevelSound_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet62LevelSound_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet62LevelSound_getPacketSize)], nms_Packet63WorldParticles, "Packet63WorldParticles", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet63WorldParticles_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet63WorldParticles_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet63WorldParticles_getPacketSize)], nms_Packet70GameEvent, "Packet70GameEvent", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet70GameEvent_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet70GameEvent_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet70GameEvent_getPacketSize)], nms_Packet71Weather, "Packet71Weather", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet71Weather_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet71Weather_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet71Weather_getPacketSize)], nms_Packet100OpenWindow, "Packet100OpenWindow", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$processPacket", $rt_wrapFunction1(nms_Packet100OpenWindow_processPacket), "$readPacketData", $rt_wrapFunction1(nms_Packet100OpenWindow_readPacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet100OpenWindow_getPacketSize)]]); $rt_metadata([nms_Packet101CloseWindow, "Packet101CloseWindow", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$processPacket", $rt_wrapFunction1(nms_Packet101CloseWindow_processPacket), "$readPacketData", $rt_wrapFunction1(nms_Packet101CloseWindow_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet101CloseWindow_writePacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet101CloseWindow_getPacketSize)], nms_Packet102WindowClick, "Packet102WindowClick", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$processPacket", $rt_wrapFunction1(nms_Packet102WindowClick_processPacket), "$readPacketData", $rt_wrapFunction1(nms_Packet102WindowClick_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet102WindowClick_writePacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet102WindowClick_getPacketSize)], nms_Packet103SetSlot, "Packet103SetSlot", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$processPacket", $rt_wrapFunction1(nms_Packet103SetSlot_processPacket), "$readPacketData", $rt_wrapFunction1(nms_Packet103SetSlot_readPacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet103SetSlot_getPacketSize)], nms_Packet104WindowItems, "Packet104WindowItems", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet104WindowItems_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet104WindowItems_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet104WindowItems_getPacketSize)], nms_Packet105UpdateProgressbar, "Packet105UpdateProgressbar", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$processPacket", $rt_wrapFunction1(nms_Packet105UpdateProgressbar_processPacket), "$readPacketData", $rt_wrapFunction1(nms_Packet105UpdateProgressbar_readPacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet105UpdateProgressbar_getPacketSize)], nms_Packet106Transaction, "Packet106Transaction", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$processPacket", $rt_wrapFunction1(nms_Packet106Transaction_processPacket), "$readPacketData", $rt_wrapFunction1(nms_Packet106Transaction_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet106Transaction_writePacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet106Transaction_getPacketSize)], nms_Packet107CreativeSetSlot, "Packet107CreativeSetSlot", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$processPacket", $rt_wrapFunction1(nms_Packet107CreativeSetSlot_processPacket), "$readPacketData", $rt_wrapFunction1(nms_Packet107CreativeSetSlot_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet107CreativeSetSlot_writePacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet107CreativeSetSlot_getPacketSize)], nms_Packet108EnchantItem, "Packet108EnchantItem", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$processPacket", $rt_wrapFunction1(nms_Packet108EnchantItem_processPacket), "$readPacketData", $rt_wrapFunction1(nms_Packet108EnchantItem_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet108EnchantItem_writePacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet108EnchantItem_getPacketSize)], nms_Packet130UpdateSign, "Packet130UpdateSign", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet130UpdateSign_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet130UpdateSign_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet130UpdateSign_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet130UpdateSign_getPacketSize)], nms_Packet131MapData, "Packet131MapData", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet131MapData_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet131MapData_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet131MapData_getPacketSize)], nms_Packet132TileEntityData, "Packet132TileEntityData", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet132TileEntityData_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet132TileEntityData_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet132TileEntityData_getPacketSize)], nms_Packet133TileEditorOpen, "Packet133TileEditorOpen", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$processPacket", $rt_wrapFunction1(nms_Packet133TileEditorOpen_processPacket), "$readPacketData", $rt_wrapFunction1(nms_Packet133TileEditorOpen_readPacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet133TileEditorOpen_getPacketSize)], nms_Packet200Statistic, "Packet200Statistic", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$processPacket", $rt_wrapFunction1(nms_Packet200Statistic_processPacket), "$readPacketData", $rt_wrapFunction1(nms_Packet200Statistic_readPacketData), "$getPacketSize", $rt_wrapFunction0(nms_Packet200Statistic_getPacketSize)], nms_Packet201PlayerInfo, "Packet201PlayerInfo", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet201PlayerInfo_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet201PlayerInfo_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet201PlayerInfo_getPacketSize)], nms_Packet202PlayerAbilities, "Packet202PlayerAbilities", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet202PlayerAbilities_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet202PlayerAbilities_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet202PlayerAbilities_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet202PlayerAbilities_getPacketSize)], nms_Packet203AutoComplete, "Packet203AutoComplete", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet203AutoComplete_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet203AutoComplete_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet203AutoComplete_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet203AutoComplete_getPacketSize)], nms_Packet205ClientCommand, "Packet205ClientCommand", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet205ClientCommand_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet205ClientCommand_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet205ClientCommand_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet205ClientCommand_getPacketSize)], nms_Packet206SetObjective, "Packet206SetObjective", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet206SetObjective_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet206SetObjective_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet206SetObjective_getPacketSize)], nms_Packet207SetScore, "Packet207SetScore", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet207SetScore_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet207SetScore_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet207SetScore_getPacketSize)], nms_Packet208SetDisplayObjective, "Packet208SetDisplayObjective", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet208SetDisplayObjective_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet208SetDisplayObjective_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet208SetDisplayObjective_getPacketSize)], nms_Packet209SetPlayerTeam, "Packet209SetPlayerTeam", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet209SetPlayerTeam_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet209SetPlayerTeam_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet209SetPlayerTeam_getPacketSize)], nms_Packet252SharedKey, "Packet252SharedKey", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet252SharedKey_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet252SharedKey_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet252SharedKey_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet252SharedKey_getPacketSize)], nms_Packet253ServerAuthData, "Packet253ServerAuthData", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet253ServerAuthData_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet253ServerAuthData_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet253ServerAuthData_getPacketSize)], nms_Packet254ServerPing, "Packet254ServerPing", 43, nms_Packet, [], 0, 3, [0,0,0], nms_Packet254ServerPing_$callClinit, ["$readPacketData", $rt_wrapFunction1(nms_Packet254ServerPing_readPacketData), "$processPacket", $rt_wrapFunction1(nms_Packet254ServerPing_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet254ServerPing_getPacketSize)], nms_Packet255KickDisconnect, "Packet255KickDisconnect", 43, nms_Packet, [], 0, 3, [0,0,0], 0, ["$readPacketData", $rt_wrapFunction1(nms_Packet255KickDisconnect_readPacketData), "$writePacketData", $rt_wrapFunction1(nms_Packet255KickDisconnect_writePacketData), "$processPacket", $rt_wrapFunction1(nms_Packet255KickDisconnect_processPacket), "$getPacketSize", $rt_wrapFunction0(nms_Packet255KickDisconnect_getPacketSize)], ju_FormatFlagsConversionMismatchException, "FormatFlagsConversionMismatchException", 4, ju_IllegalFormatException, [], 0, 3, 0, 0, 0, ju_IllegalFormatFlagsException, "IllegalFormatFlagsException", 4, ju_IllegalFormatException, [], 0, 3, 0, 0, 0, ju_MissingFormatWidthException, "MissingFormatWidthException", 4, ju_IllegalFormatException, [], 0, 3, 0, 0, 0, nms_EnchantmentProtection, "EnchantmentProtection", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentProtection_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentProtection_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentProtection_getMaxLevel), "$calcModifierDamage", $rt_wrapFunction2(nms_EnchantmentProtection_calcModifierDamage), "$getName", $rt_wrapFunction0(nms_EnchantmentProtection_getName), "$canApplyTogether", $rt_wrapFunction1(nms_EnchantmentProtection_canApplyTogether)], nms_EnchantmentOxygen, "EnchantmentOxygen", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentOxygen_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentOxygen_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentOxygen_getMaxLevel)], nms_EnchantmentWaterWorker, "EnchantmentWaterWorker", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentWaterWorker_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentWaterWorker_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentWaterWorker_getMaxLevel)], nms_EnchantmentThorns, "EnchantmentThorns", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentThorns_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentThorns_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentThorns_getMaxLevel), "$canApply", $rt_wrapFunction1(nms_EnchantmentThorns_canApply)], nms_EnchantmentDamage, "EnchantmentDamage", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentDamage_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentDamage_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentDamage_getMaxLevel), "$calcModifierLiving", $rt_wrapFunction2(nms_EnchantmentDamage_calcModifierLiving), "$getName", $rt_wrapFunction0(nms_EnchantmentDamage_getName), "$canApplyTogether", $rt_wrapFunction1(nms_EnchantmentDamage_canApplyTogether), "$canApply", $rt_wrapFunction1(nms_EnchantmentDamage_canApply)], nms_EnchantmentKnockback, "EnchantmentKnockback", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentKnockback_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentKnockback_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentKnockback_getMaxLevel)], nms_EnchantmentFireAspect, "EnchantmentFireAspect", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentFireAspect_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentFireAspect_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentFireAspect_getMaxLevel)], nms_EnchantmentLootBonus, "EnchantmentLootBonus", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentLootBonus_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentLootBonus_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentLootBonus_getMaxLevel), "$canApplyTogether", $rt_wrapFunction1(nms_EnchantmentLootBonus_canApplyTogether)], nms_EnchantmentDigging, "EnchantmentDigging", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentDigging_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentDigging_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentDigging_getMaxLevel), "$canApply", $rt_wrapFunction1(nms_EnchantmentDigging_canApply)], nms_EnchantmentUntouching, "EnchantmentUntouching", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentUntouching_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentUntouching_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentUntouching_getMaxLevel), "$canApplyTogether", $rt_wrapFunction1(nms_EnchantmentUntouching_canApplyTogether), "$canApply", $rt_wrapFunction1(nms_EnchantmentUntouching_canApply)], nms_EnchantmentDurability, "EnchantmentDurability", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentDurability_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentDurability_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentDurability_getMaxLevel), "$canApply", $rt_wrapFunction1(nms_EnchantmentDurability_canApply)], nms_EnchantmentArrowDamage, "EnchantmentArrowDamage", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentArrowDamage_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentArrowDamage_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentArrowDamage_getMaxLevel)], nms_EnchantmentArrowKnockback, "EnchantmentArrowKnockback", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentArrowKnockback_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentArrowKnockback_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentArrowKnockback_getMaxLevel)], nms_EnchantmentArrowFire, "EnchantmentArrowFire", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentArrowFire_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentArrowFire_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentArrowFire_getMaxLevel)], nms_EnchantmentArrowInfinite, "EnchantmentArrowInfinite", 43, nms_Enchantment, [], 0, 3, 0, 0, ["$getMinEnchantability", $rt_wrapFunction1(nms_EnchantmentArrowInfinite_getMinEnchantability), "$getMaxEnchantability", $rt_wrapFunction1(nms_EnchantmentArrowInfinite_getMaxEnchantability), "$getMaxLevel", $rt_wrapFunction0(nms_EnchantmentArrowInfinite_getMaxLevel)], nlea_EaglerAdapterImpl2$20, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$20_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$21, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$21_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$22, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$22_handleEvent$exported$0)], otcir_JSCallable, "JSCallable", 32, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, oti_Structure, 0, jl_Object, [], 0, 3, 0, 0, 0, otr_RuntimeObject, "RuntimeObject", 37, oti_Structure, [], 0, 3, 0, 0, 0, nms_DamageSource, "DamageSource", 43, jl_Object, [], 0, 3, 0, 0, ["$getSourceOfDamage", $rt_wrapFunction0(nms_DamageSource_getSourceOfDamage), "$getEntity", $rt_wrapFunction0(nms_DamageSource_getEntity)]]); $rt_metadata([jtz_ZoneRules, "ZoneRules", 14, jl_Object, [], 1, 3, 0, 0, 0, jt_ParsePosition, "ParsePosition", 16, jl_Object, [], 0, 3, 0, 0, 0, jtz_ZoneOffsetTransitionRule, "ZoneOffsetTransitionRule", 14, jl_Object, [ji_Serializable], 4, 3, 0, 0, 0, jt_ZoneId, 0, jl_Object, [ji_Serializable], 1, 3, 0, 0, 0, jtt_TemporalAccessor, 0, jl_Object, [], 3, 3, 0, 0, 0, jtt_TemporalAdjuster, 0, jl_Object, [], 3, 3, 0, 0, 0, jt_ZoneOffset, "ZoneOffset", 13, jt_ZoneId, [jtt_TemporalAccessor, jtt_TemporalAdjuster, jl_Comparable, ji_Serializable], 4, 3, 0, 0, 0, jur_RandomGenerator, 0, jl_Object, [], 3, 3, 0, 0, 0, ju_Random, "Random", 4, jl_Object, [jur_RandomGenerator, ji_Serializable], 0, 3, 0, 0, 0, nms_IPosition, "IPosition", 43, jl_Object, [], 3, 3, 0, 0, 0, nms_ILocation, 0, jl_Object, [nms_IPosition], 3, 3, 0, 0, 0, nms_ILocatableSource, 0, jl_Object, [nms_ILocation], 3, 3, 0, 0, 0, nms_IBlockSource, "IBlockSource", 43, jl_Object, [nms_ILocatableSource], 3, 3, 0, 0, 0, otjde_EventTarget, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, otjw_AudioNode, 0, jl_Object, [otj_JSObject, otjde_EventTarget], 3, 3, 0, 0, 0, otjw_AudioBufferSourceNode, "AudioBufferSourceNode", 28, jl_Object, [otjw_AudioNode], 3, 3, 0, 0, 0, otjw_PannerNode, "PannerNode", 28, jl_Object, [otjw_AudioNode], 3, 3, 0, 0, 0, otjw_GainNode, "GainNode", 28, jl_Object, [otjw_AudioNode], 3, 3, 0, 0, 0, nms_InventoryCrafting, "InventoryCrafting", 43, jl_Object, [nms_IInventory], 0, 3, 0, 0, ["$getStackInSlot", $rt_wrapFunction1(nms_InventoryCrafting_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_InventoryCrafting_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_InventoryCrafting_setInventorySlotContents), "$getInventoryStackLimit", $rt_wrapFunction0(nms_InventoryCrafting_getInventoryStackLimit), "$onInventoryChanged", $rt_wrapFunction0(nms_InventoryCrafting_onInventoryChanged)], nle_RelayQuery$VersionMismatch, "RelayQuery$VersionMismatch", 45, jl_Enum, [], 12, 3, 0, 0, 0, nle_RelayServerSocket, "RelayServerSocket", 45, jl_Object, [], 3, 3, 0, 0, 0, nms_EnumRarity, "EnumRarity", 43, jl_Enum, [], 12, 3, 0, 0, 0, nms_EnumAction, "EnumAction", 43, jl_Enum, [], 12, 3, 0, 0, 0, oj_JSONPointer, "JSONPointer", 40, jl_Object, [], 0, 3, 0, 0, 0, nle_ServerQuery$QueryResponse, "ServerQuery$QueryResponse", 45, jl_Object, [], 0, 3, 0, 0, 0, otjc_JSFinalizationRegistry, "JSFinalizationRegistry", 23, jl_Object, [otj_JSObject], 0, 3, 0, 0, 0, otjc_JSMap, "JSMap", 23, jl_Object, [otj_JSObject], 0, 3, 0, 0, 0, otjc_JSWeakMap, "JSWeakMap", 23, jl_Object, [otj_JSObject], 0, 3, 0, 0, 0, otjw_AudioBuffer, "AudioBuffer", 28, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, otpm_Resource, 0, jl_Object, [], 3, 3, 0, 0, 0, otcic_CurrencyResource, "CurrencyResource", 35, jl_Object, [otpm_Resource], 3, 3, 0, 0, 0, jm_MathContext, "MathContext", 15, jl_Object, [ji_Serializable], 4, 3, 0, 0, 0, juf_UnaryOperator, "UnaryOperator", 8, jl_Object, [juf_Function], 3, 3, 0, 0, 0, juf_Consumer, "Consumer", 8, jl_Object, [], 3, 3, 0, 0, 0, otjw_MediaElementAudioSourceNode, "MediaElementAudioSourceNode", 28, jl_Object, [otjw_AudioNode], 3, 3, 0, 0, 0, otjdx_Element, 0, jl_Object, [otjdx_Node], 3, 3, 0, 0, 0, otjdc_ElementCSSInlineStyle, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, otjde_FocusEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, 0, otjde_MouseEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, 0, otjde_WheelEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, 0, otjde_KeyboardEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, 0, otjde_LoadEventTarget, 0, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, 0, otjdh_HTMLElement, 0, jl_Object, [otjdx_Element, otjdc_ElementCSSInlineStyle, otjde_EventTarget, otjde_FocusEventTarget, otjde_MouseEventTarget, otjde_WheelEventTarget, otjde_KeyboardEventTarget, otjde_LoadEventTarget], 1, 3, 0, 0, 0, otjdh_HTMLMediaElement, 0, otjdh_HTMLElement, [], 1, 3, 0, 0, 0, otjdh_HTMLAudioElement, "HTMLAudioElement", 26, otjdh_HTMLMediaElement, [], 1, 3, 0, 0, 0, otp_PlatformClass, "PlatformClass", 38, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, otr_RuntimeClass, "RuntimeClass", 37, otr_RuntimeObject, [], 0, 3, 0, 0, 0, jlr_Field, "Field", 19, jlr_AccessibleObject, [jlr_Member], 0, 3, 0, 0, 0, otp_PlatformObject, "PlatformObject", 38, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, jlr_Constructor, "Constructor", 19, jlr_AccessibleObject, [jlr_Member], 0, 3, 0, 0, 0]); $rt_metadata([nms_EnumFacing, "EnumFacing", 43, jl_Enum, [], 12, 3, 0, 0, 0, jt_DateFormatElement$TrieNode, "DateFormatElement$TrieNode", 16, jl_Object, [], 0, 0, 0, 0, 0, nms_Explosion, "Explosion", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_Tuple, "Tuple", 43, jl_Object, [], 0, 3, 0, 0, 0, otcir_Flags, 0, jl_Object, [], 4, 3, 0, 0, 0, otcir_Converter, 0, jl_Object, [], 4, 3, 0, 0, 0, nms_GuiButtonLanguage, "GuiButtonLanguage", 43, nms_GuiButton, [], 0, 3, 0, 0, ["$drawButton", $rt_wrapFunction3(nms_GuiButtonLanguage_drawButton)], nms_ICrafting, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_CreativeCrafting, "CreativeCrafting", 43, jl_Object, [nms_ICrafting], 0, 3, 0, 0, ["$sendContainerAndContentsToPlayer", $rt_wrapFunction2(nms_CreativeCrafting_sendContainerAndContentsToPlayer), "$sendSlotContents", $rt_wrapFunction3(nms_CreativeCrafting_sendSlotContents), "$sendProgressBarUpdate", $rt_wrapFunction3(nms_CreativeCrafting_sendProgressBarUpdate)], nle_GuiScreenEditCape, 0, nms_GuiScreen, [], 0, 3, 0, nle_GuiScreenEditCape_$callClinit, ["$initGui", $rt_wrapFunction0(nle_GuiScreenEditCape_initGui), "$onGuiClosed", $rt_wrapFunction0(nle_GuiScreenEditCape_onGuiClosed), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenEditCape_drawScreen), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenEditCape_actionPerformed), "$updateScreen", $rt_wrapFunction0(nle_GuiScreenEditCape_updateScreen), "$handleMouseInput", $rt_wrapFunction0(nle_GuiScreenEditCape_handleMouseInput), "$keyTyped", $rt_wrapFunction2(nle_GuiScreenEditCape_keyTyped), "$mouseClicked", $rt_wrapFunction3(nle_GuiScreenEditCape_mouseClicked)], nms_GuiYesNo, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiYesNo_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiYesNo_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiYesNo_drawScreen)], nms_GuiConfirmOpenLink, 0, nms_GuiYesNo, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiConfirmOpenLink_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiConfirmOpenLink_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiConfirmOpenLink_drawScreen)], nms_RenderSorter, 0, jl_Object, [ju_Comparator], 0, 3, 0, 0, ["$compare0", $rt_wrapFunction2(nms_RenderSorter_compare)], nms_TileEntityRenderer, "TileEntityRenderer", 43, jl_Object, [], 0, 3, 0, nms_TileEntityRenderer_$callClinit, 0, nms_ChatLine, "ChatLine", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_IconFlipped, 0, jl_Object, [nms_Icon], 0, 3, 0, 0, ["$getIconWidth", $rt_wrapFunction0(nms_IconFlipped_getIconWidth), "$getIconHeight", $rt_wrapFunction0(nms_IconFlipped_getIconHeight), "$getMinU", $rt_wrapFunction0(nms_IconFlipped_getMinU), "$getMaxU", $rt_wrapFunction0(nms_IconFlipped_getMaxU), "$getInterpolatedU", $rt_wrapFunction1(nms_IconFlipped_getInterpolatedU), "$getMinV", $rt_wrapFunction0(nms_IconFlipped_getMinV), "$getMaxV", $rt_wrapFunction0(nms_IconFlipped_getMaxV), "$getInterpolatedV", $rt_wrapFunction1(nms_IconFlipped_getInterpolatedV), "$getIconName", $rt_wrapFunction0(nms_IconFlipped_getIconName), "$getSheetWidth", $rt_wrapFunction0(nms_IconFlipped_getSheetWidth), "$getSheetHeight", $rt_wrapFunction0(nms_IconFlipped_getSheetHeight)], nms_MinecraftError, "MinecraftError", 43, jl_Error, [], 0, 3, 0, 0, 0, nle_GuiScreenSingleplayerException, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nle_GuiScreenSingleplayerException_initGui), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenSingleplayerException_drawScreen), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenSingleplayerException_actionPerformed)], jt_DecimalFormat$PerMillField, "DecimalFormat$PerMillField", 16, jl_Object, [jt_DecimalFormat$FormatField], 0, 0, 0, 0, ["$render1", $rt_wrapFunction2(jt_DecimalFormat$PerMillField_render), "$equals", $rt_wrapFunction1(jt_DecimalFormat$PerMillField_equals), "$hashCode", $rt_wrapFunction0(jt_DecimalFormat$PerMillField_hashCode)], jt_DecimalFormat$CurrencyField, "DecimalFormat$CurrencyField", 16, jl_Object, [jt_DecimalFormat$FormatField], 0, 0, 0, 0, ["$render1", $rt_wrapFunction2(jt_DecimalFormat$CurrencyField_render), "$equals", $rt_wrapFunction1(jt_DecimalFormat$CurrencyField_equals), "$hashCode", $rt_wrapFunction0(jt_DecimalFormat$CurrencyField_hashCode)], jt_DecimalFormat$PercentField, "DecimalFormat$PercentField", 16, jl_Object, [jt_DecimalFormat$FormatField], 0, 0, 0, 0, ["$render1", $rt_wrapFunction2(jt_DecimalFormat$PercentField_render), "$equals", $rt_wrapFunction1(jt_DecimalFormat$PercentField_equals), "$hashCode", $rt_wrapFunction0(jt_DecimalFormat$PercentField_hashCode)], otji_IDBObjectStoreParameters, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, nms_SlotCreativeInventory, "SlotCreativeInventory", 43, nms_Slot, [], 0, 0, 0, 0, ["$onPickupFromSlot", $rt_wrapFunction2(nms_SlotCreativeInventory_onPickupFromSlot), "$isItemValid", $rt_wrapFunction1(nms_SlotCreativeInventory_isItemValid), "$getStack", $rt_wrapFunction0(nms_SlotCreativeInventory_getStack), "$getHasStack", $rt_wrapFunction0(nms_SlotCreativeInventory_getHasStack), "$putStack", $rt_wrapFunction1(nms_SlotCreativeInventory_putStack), "$onSlotChanged", $rt_wrapFunction0(nms_SlotCreativeInventory_onSlotChanged), "$getSlotStackLimit", $rt_wrapFunction0(nms_SlotCreativeInventory_getSlotStackLimit), "$getBackgroundIconIndex", $rt_wrapFunction0(nms_SlotCreativeInventory_getBackgroundIconIndex), "$decrStackSize0", $rt_wrapFunction1(nms_SlotCreativeInventory_decrStackSize)], nms_ChatClickData, 0, jl_Object, [], 0, 3, 0, nms_ChatClickData_$callClinit, 0, nlea_EaglerAdapterImpl2$QueryGL, "EaglerAdapterImpl2$QueryGL", 46, jl_Object, [], 4, 3, 0, 0, 0, nms_WorldChunkManager, 0, jl_Object, [], 0, 3, 0, 0, ["$getBiomeGenAt", $rt_wrapFunction2(nms_WorldChunkManager_getBiomeGenAt), "$getRainfall", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldChunkManager_getRainfall(this, var_1, var_2, var_3, var_4, var_5); }, "$getTemperatures", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldChunkManager_getTemperatures(this, var_1, var_2, var_3, var_4, var_5); }, "$getBiomeGenAt0", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_WorldChunkManager_getBiomeGenAt0(this, var_1, var_2, var_3, var_4, var_5, var_6); }], jur_IntArrHash, 0, jl_Object, [], 0, 0, 0, 0, 0, jur_Matcher$1, "Matcher$1", 6, jl_Object, [], 0, 0, 0, 0, ["$toString", $rt_wrapFunction0(jur_Matcher$1_toString)], nms_Rect2i, "Rect2i", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_TileEntitySpecialRenderer, "TileEntitySpecialRenderer", 43, jl_Object, [], 1, 3, 0, 0, ["$setTileEntityRenderer", $rt_wrapFunction1(nms_TileEntitySpecialRenderer_setTileEntityRenderer), "$onWorldChange", $rt_wrapFunction1(nms_TileEntitySpecialRenderer_onWorldChange)], nms_TileEntitySignRenderer, "TileEntitySignRenderer", 43, nms_TileEntitySpecialRenderer, [], 0, 3, 0, nms_TileEntitySignRenderer_$callClinit, ["$renderTileEntityAt", function(var_1, var_2, var_3, var_4, var_5) { nms_TileEntitySignRenderer_renderTileEntityAt(this, var_1, var_2, var_3, var_4, var_5); }], nms_TileEntityMobSpawner, "TileEntityMobSpawner", 43, nms_TileEntity, [], 0, 3, 0, 0, ["$readFromNBT", $rt_wrapFunction1(nms_TileEntityMobSpawner_readFromNBT), "$writeToNBT", $rt_wrapFunction1(nms_TileEntityMobSpawner_writeToNBT), "$updateEntity", $rt_wrapFunction0(nms_TileEntityMobSpawner_updateEntity), "$receiveClientEvent", $rt_wrapFunction2(nms_TileEntityMobSpawner_receiveClientEvent)], nms_TileEntityMobSpawnerRenderer, "TileEntityMobSpawnerRenderer", 43, nms_TileEntitySpecialRenderer, [], 0, 3, 0, 0, ["$renderTileEntityAt", function(var_1, var_2, var_3, var_4, var_5) { nms_TileEntityMobSpawnerRenderer_renderTileEntityAt(this, var_1, var_2, var_3, var_4, var_5); }], nms_TileEntityPiston, "TileEntityPiston", 43, nms_TileEntity, [], 0, 3, 0, 0, ["$updateEntity", $rt_wrapFunction0(nms_TileEntityPiston_updateEntity), "$readFromNBT", $rt_wrapFunction1(nms_TileEntityPiston_readFromNBT), "$writeToNBT", $rt_wrapFunction1(nms_TileEntityPiston_writeToNBT)], nms_TileEntityRendererPiston, "TileEntityRendererPiston", 43, nms_TileEntitySpecialRenderer, [], 0, 3, 0, 0, ["$onWorldChange", $rt_wrapFunction1(nms_TileEntityRendererPiston_onWorldChange), "$renderTileEntityAt", function(var_1, var_2, var_3, var_4, var_5) { nms_TileEntityRendererPiston_renderTileEntityAt(this, var_1, var_2, var_3, var_4, var_5); }], nms_TileEntityChest, "TileEntityChest", 43, nms_TileEntity, [nms_IInventory], 0, 3, 0, 0, ["$getSizeInventory", $rt_wrapFunction0(nms_TileEntityChest_getSizeInventory), "$getStackInSlot", $rt_wrapFunction1(nms_TileEntityChest_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_TileEntityChest_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_TileEntityChest_setInventorySlotContents), "$getInvName", $rt_wrapFunction0(nms_TileEntityChest_getInvName), "$isInvNameLocalized", $rt_wrapFunction0(nms_TileEntityChest_isInvNameLocalized), "$readFromNBT", $rt_wrapFunction1(nms_TileEntityChest_readFromNBT), "$writeToNBT", $rt_wrapFunction1(nms_TileEntityChest_writeToNBT), "$getInventoryStackLimit", $rt_wrapFunction0(nms_TileEntityChest_getInventoryStackLimit), "$isUseableByPlayer", $rt_wrapFunction1(nms_TileEntityChest_isUseableByPlayer), "$updateContainingBlockInfo", $rt_wrapFunction0(nms_TileEntityChest_updateContainingBlockInfo), "$updateEntity", $rt_wrapFunction0(nms_TileEntityChest_updateEntity), "$receiveClientEvent", $rt_wrapFunction2(nms_TileEntityChest_receiveClientEvent), "$openChest", $rt_wrapFunction0(nms_TileEntityChest_openChest), "$closeChest", $rt_wrapFunction0(nms_TileEntityChest_closeChest), "$isItemValidForSlot", $rt_wrapFunction2(nms_TileEntityChest_isItemValidForSlot), "$invalidate", $rt_wrapFunction0(nms_TileEntityChest_invalidate)], nms_TileEntityChestRenderer, "TileEntityChestRenderer", 43, nms_TileEntitySpecialRenderer, [], 0, 3, 0, nms_TileEntityChestRenderer_$callClinit, ["$renderTileEntityAt", function(var_1, var_2, var_3, var_4, var_5) { nms_TileEntityChestRenderer_renderTileEntityAt(this, var_1, var_2, var_3, var_4, var_5); }], nms_TileEntityEnderChest, "TileEntityEnderChest", 43, nms_TileEntity, [], 0, 3, 0, 0, ["$updateEntity", $rt_wrapFunction0(nms_TileEntityEnderChest_updateEntity), "$receiveClientEvent", $rt_wrapFunction2(nms_TileEntityEnderChest_receiveClientEvent), "$invalidate", $rt_wrapFunction0(nms_TileEntityEnderChest_invalidate)], nms_TileEntityEnderChestRenderer, "TileEntityEnderChestRenderer", 43, nms_TileEntitySpecialRenderer, [], 0, 3, 0, nms_TileEntityEnderChestRenderer_$callClinit, ["$renderTileEntityAt", function(var_1, var_2, var_3, var_4, var_5) { nms_TileEntityEnderChestRenderer_renderTileEntityAt(this, var_1, var_2, var_3, var_4, var_5); }], nms_TileEntityEnchantmentTable, "TileEntityEnchantmentTable", 43, nms_TileEntity, [], 0, 3, 0, nms_TileEntityEnchantmentTable_$callClinit, ["$writeToNBT", $rt_wrapFunction1(nms_TileEntityEnchantmentTable_writeToNBT), "$readFromNBT", $rt_wrapFunction1(nms_TileEntityEnchantmentTable_readFromNBT), "$updateEntity", $rt_wrapFunction0(nms_TileEntityEnchantmentTable_updateEntity)], nms_RenderEnchantmentTable, "RenderEnchantmentTable", 43, nms_TileEntitySpecialRenderer, [], 0, 3, 0, nms_RenderEnchantmentTable_$callClinit, ["$renderTileEntityAt", function(var_1, var_2, var_3, var_4, var_5) { nms_RenderEnchantmentTable_renderTileEntityAt(this, var_1, var_2, var_3, var_4, var_5); }], nms_TileEntityEndPortal, "TileEntityEndPortal", 43, nms_TileEntity, [], 0, 3, 0, 0, 0, nms_RenderEndPortal, "RenderEndPortal", 43, nms_TileEntitySpecialRenderer, [], 0, 3, 0, nms_RenderEndPortal_$callClinit, ["$renderTileEntityAt", function(var_1, var_2, var_3, var_4, var_5) { nms_RenderEndPortal_renderTileEntityAt(this, var_1, var_2, var_3, var_4, var_5); }], nms_TileEntityBeacon, "TileEntityBeacon", 43, nms_TileEntity, [nms_IInventory], 0, 3, 0, nms_TileEntityBeacon_$callClinit, ["$updateEntity", $rt_wrapFunction0(nms_TileEntityBeacon_updateEntity), "$getMaxRenderDistanceSquared", $rt_wrapFunction0(nms_TileEntityBeacon_getMaxRenderDistanceSquared), "$readFromNBT", $rt_wrapFunction1(nms_TileEntityBeacon_readFromNBT), "$writeToNBT", $rt_wrapFunction1(nms_TileEntityBeacon_writeToNBT), "$getSizeInventory", $rt_wrapFunction0(nms_TileEntityBeacon_getSizeInventory), "$getStackInSlot", $rt_wrapFunction1(nms_TileEntityBeacon_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_TileEntityBeacon_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_TileEntityBeacon_setInventorySlotContents), "$getInventoryStackLimit", $rt_wrapFunction0(nms_TileEntityBeacon_getInventoryStackLimit), "$isItemValidForSlot", $rt_wrapFunction2(nms_TileEntityBeacon_isItemValidForSlot)], nms_TileEntityBeaconRenderer, "TileEntityBeaconRenderer", 43, nms_TileEntitySpecialRenderer, [], 0, 3, 0, nms_TileEntityBeaconRenderer_$callClinit, ["$renderTileEntityAt", function(var_1, var_2, var_3, var_4, var_5) { nms_TileEntityBeaconRenderer_renderTileEntityAt(this, var_1, var_2, var_3, var_4, var_5); }], nms_TileEntitySkullRenderer, "TileEntitySkullRenderer", 43, nms_TileEntitySpecialRenderer, [], 0, 3, 0, nms_TileEntitySkullRenderer_$callClinit, ["$setTileEntityRenderer", $rt_wrapFunction1(nms_TileEntitySkullRenderer_setTileEntityRenderer), "$renderTileEntityAt", function(var_1, var_2, var_3, var_4, var_5) { nms_TileEntitySkullRenderer_renderTileEntityAt(this, var_1, var_2, var_3, var_4, var_5); }], jt_DecimalFormat$1, 0, jl_Object, [], 32, 0, 0, jt_DecimalFormat$1_$callClinit, 0, nms_ModelSign, 0, nms_ModelBase, [], 0, 3, 0, 0, 0, nms_ModelChest, 0, nms_ModelBase, [], 0, 3, 0, 0, 0, nms_ModelLargeChest, 0, nms_ModelChest, [], 0, 3, 0, 0, 0]); $rt_metadata([nms_ModelBook, 0, nms_ModelBase, [], 0, 3, 0, 0, 0, otpm_StringResource, "StringResource", 39, jl_Object, [otpm_Resource], 3, 3, 0, 0, 0, nleat_WebGLQuery, "WebGLQuery", 48, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nms_MobSpawnerBaseLogic, "MobSpawnerBaseLogic", 43, jl_Object, [], 1, 3, 0, 0, ["$setRandomMinecart", $rt_wrapFunction1(nms_MobSpawnerBaseLogic_setRandomMinecart)], jm_Division, 0, jl_Object, [], 0, 0, 0, 0, 0, nms_Session, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_GuiOptions, 0, nms_GuiScreen, [], 0, 3, 0, nms_GuiOptions_$callClinit, ["$initGui", $rt_wrapFunction0(nms_GuiOptions_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiOptions_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiOptions_drawScreen)], nms_GuiSelectWorld, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiSelectWorld_initGui), "$updateScreen", $rt_wrapFunction0(nms_GuiSelectWorld_updateScreen), "$actionPerformed", $rt_wrapFunction1(nms_GuiSelectWorld_actionPerformed), "$confirmClicked", $rt_wrapFunction2(nms_GuiSelectWorld_confirmClicked), "$drawScreen", $rt_wrapFunction3(nms_GuiSelectWorld_drawScreen), "$mouseClicked", $rt_wrapFunction3(nms_GuiSelectWorld_mouseClicked)], nms_GuiMainMenu$actionPerformed$lambda$_7_0, 0, jl_Object, [juf_BooleanSupplier], 0, 3, 0, 0, ["$getAsBoolean", $rt_wrapFunction0(nms_GuiMainMenu$actionPerformed$lambda$_7_0_getAsBoolean)], nms_GuiLanguage, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiLanguage_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiLanguage_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiLanguage_drawScreen), "$updateScreen", $rt_wrapFunction0(nms_GuiLanguage_updateScreen)], nms_GuiShareToLan, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiShareToLan_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiShareToLan_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiShareToLan_drawScreen)], nms_Chunk, 0, jl_Object, [], 0, 3, 0, 0, ["$getHeightValue", $rt_wrapFunction2(nms_Chunk_getHeightValue), "$generateHeightMap", $rt_wrapFunction0(nms_Chunk_generateHeightMap), "$generateSkylightMap", $rt_wrapFunction0(nms_Chunk_generateSkylightMap), "$getBlockLightOpacity", $rt_wrapFunction3(nms_Chunk_getBlockLightOpacity), "$getBlockID", $rt_wrapFunction3(nms_Chunk_getBlockID), "$getBlockMetadata", $rt_wrapFunction3(nms_Chunk_getBlockMetadata), "$setBlockIDWithMetadata", function(var_1, var_2, var_3, var_4, var_5) { return nms_Chunk_setBlockIDWithMetadata(this, var_1, var_2, var_3, var_4, var_5); }, "$setBlockMetadata", $rt_wrapFunction4(nms_Chunk_setBlockMetadata), "$getSavedLightValue", $rt_wrapFunction4(nms_Chunk_getSavedLightValue), "$setLightValue", function(var_1, var_2, var_3, var_4, var_5) { nms_Chunk_setLightValue(this, var_1, var_2, var_3, var_4, var_5); }, "$getBlockLightValue", $rt_wrapFunction4(nms_Chunk_getBlockLightValue), "$addEntity", $rt_wrapFunction1(nms_Chunk_addEntity), "$removeEntity", $rt_wrapFunction1(nms_Chunk_removeEntity), "$removeEntityAtIndex", $rt_wrapFunction2(nms_Chunk_removeEntityAtIndex), "$canBlockSeeTheSky", $rt_wrapFunction3(nms_Chunk_canBlockSeeTheSky), "$getChunkBlockTileEntity", $rt_wrapFunction3(nms_Chunk_getChunkBlockTileEntity), "$setChunkBlockTileEntity", $rt_wrapFunction4(nms_Chunk_setChunkBlockTileEntity), "$removeChunkBlockTileEntity", $rt_wrapFunction3(nms_Chunk_removeChunkBlockTileEntity), "$onChunkUnload", $rt_wrapFunction0(nms_Chunk_onChunkUnload), "$setChunkModified", $rt_wrapFunction0(nms_Chunk_setChunkModified), "$getEntitiesWithinAABBForEntity", $rt_wrapFunction4(nms_Chunk_getEntitiesWithinAABBForEntity), "$getEntitiesOfTypeWithinAAAB", $rt_wrapFunction4(nms_Chunk_getEntitiesOfTypeWithinAAAB), "$getRandomWithSeed", $rt_wrapFunction1(nms_Chunk_getRandomWithSeed), "$isEmpty", $rt_wrapFunction0(nms_Chunk_isEmpty), "$getAreLevelsEmpty", $rt_wrapFunction2(nms_Chunk_getAreLevelsEmpty)], nms_ChunkCache, 0, jl_Object, [nms_IBlockAccess], 0, 3, 0, 0, ["$getBlockId", $rt_wrapFunction3(nms_ChunkCache_getBlockId), "$getBlockTileEntity", $rt_wrapFunction3(nms_ChunkCache_getBlockTileEntity), "$getBrightness0", $rt_wrapFunction4(nms_ChunkCache_getBrightness), "$getLightBrightnessForSkyBlocks", $rt_wrapFunction4(nms_ChunkCache_getLightBrightnessForSkyBlocks), "$getLightBrightness", $rt_wrapFunction3(nms_ChunkCache_getLightBrightness), "$getBlockMetadata", $rt_wrapFunction3(nms_ChunkCache_getBlockMetadata), "$getBlockMaterial", $rt_wrapFunction3(nms_ChunkCache_getBlockMaterial), "$getBiomeGenForCoords", $rt_wrapFunction2(nms_ChunkCache_getBiomeGenForCoords), "$isBlockOpaqueCube", $rt_wrapFunction3(nms_ChunkCache_isBlockOpaqueCube), "$isBlockNormalCube", $rt_wrapFunction3(nms_ChunkCache_isBlockNormalCube), "$doesBlockHaveSolidTopSurface", $rt_wrapFunction3(nms_ChunkCache_doesBlockHaveSolidTopSurface), "$getWorldVec3Pool", $rt_wrapFunction0(nms_ChunkCache_getWorldVec3Pool), "$isAirBlock", $rt_wrapFunction3(nms_ChunkCache_isAirBlock), "$getHeight", $rt_wrapFunction0(nms_ChunkCache_getHeight), "$isBlockProvidingPowerTo", $rt_wrapFunction4(nms_ChunkCache_isBlockProvidingPowerTo)], jl_StrictMath, 0, jl_Object, [], 4, 3, 0, 0, 0, nms_ChestItemRenderHelper, 0, jl_Object, [], 0, 3, 0, nms_ChestItemRenderHelper_$callClinit, 0, nle_WebsocketNetworkManager$ByteBufferDirectInputStream, 0, ji_InputStream, [], 0, 0, 0, 0, ["$read", $rt_wrapFunction0(nle_WebsocketNetworkManager$ByteBufferDirectInputStream_read), "$available", $rt_wrapFunction0(nle_WebsocketNetworkManager$ByteBufferDirectInputStream_available)], nms_WorldSavedData, "WorldSavedData", 43, jl_Object, [], 1, 3, 0, 0, 0, nms_MapData, "MapData", 43, nms_WorldSavedData, [], 0, 3, 0, 0, 0, nms_MapCoord, "MapCoord", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_EnchantmentData, "EnchantmentData", 43, nms_WeightedRandomItem, [], 0, 3, 0, 0, 0, jt_DecimalFormat$Constants, 0, jl_Object, [], 0, 0, 0, 0, 0, nms_PacketCount, 0, jl_Object, [], 0, 3, 0, 0, 0, jn_InvalidMarkException, "InvalidMarkException", 9, jl_IllegalStateException, [], 0, 3, 0, 0, 0, nms_ISidedInventory, 0, jl_Object, [nms_IInventory], 3, 3, 0, 0, 0, nms_TileEntityFurnace, "TileEntityFurnace", 43, nms_TileEntity, [nms_ISidedInventory], 0, 3, 0, 0, ["$getSizeInventory", $rt_wrapFunction0(nms_TileEntityFurnace_getSizeInventory), "$getStackInSlot", $rt_wrapFunction1(nms_TileEntityFurnace_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_TileEntityFurnace_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_TileEntityFurnace_setInventorySlotContents), "$readFromNBT", $rt_wrapFunction1(nms_TileEntityFurnace_readFromNBT), "$writeToNBT", $rt_wrapFunction1(nms_TileEntityFurnace_writeToNBT), "$getInventoryStackLimit", $rt_wrapFunction0(nms_TileEntityFurnace_getInventoryStackLimit), "$updateEntity", $rt_wrapFunction0(nms_TileEntityFurnace_updateEntity), "$isItemValidForSlot", $rt_wrapFunction2(nms_TileEntityFurnace_isItemValidForSlot), "$getAccessibleSlotsFromSide", $rt_wrapFunction1(nms_TileEntityFurnace_getAccessibleSlotsFromSide), "$canInsertItem", $rt_wrapFunction3(nms_TileEntityFurnace_canInsertItem), "$canExtractItem", $rt_wrapFunction3(nms_TileEntityFurnace_canExtractItem)], nms_TileEntityRecordPlayer, "TileEntityRecordPlayer", 43, nms_TileEntity, [], 0, 3, 0, 0, ["$readFromNBT", $rt_wrapFunction1(nms_TileEntityRecordPlayer_readFromNBT), "$writeToNBT", $rt_wrapFunction1(nms_TileEntityRecordPlayer_writeToNBT)], nms_TileEntityDispenser, "TileEntityDispenser", 43, nms_TileEntity, [nms_IInventory], 0, 3, 0, 0, ["$getSizeInventory", $rt_wrapFunction0(nms_TileEntityDispenser_getSizeInventory), "$getStackInSlot", $rt_wrapFunction1(nms_TileEntityDispenser_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_TileEntityDispenser_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_TileEntityDispenser_setInventorySlotContents), "$getInvName", $rt_wrapFunction0(nms_TileEntityDispenser_getInvName), "$readFromNBT", $rt_wrapFunction1(nms_TileEntityDispenser_readFromNBT), "$writeToNBT", $rt_wrapFunction1(nms_TileEntityDispenser_writeToNBT), "$getInventoryStackLimit", $rt_wrapFunction0(nms_TileEntityDispenser_getInventoryStackLimit), "$isItemValidForSlot", $rt_wrapFunction2(nms_TileEntityDispenser_isItemValidForSlot)], nms_TileEntityDropper, "TileEntityDropper", 43, nms_TileEntityDispenser, [], 0, 3, 0, 0, ["$getInvName", $rt_wrapFunction0(nms_TileEntityDropper_getInvName)], nms_TileEntityNote, "TileEntityNote", 43, nms_TileEntity, [], 0, 3, 0, 0, ["$writeToNBT", $rt_wrapFunction1(nms_TileEntityNote_writeToNBT), "$readFromNBT", $rt_wrapFunction1(nms_TileEntityNote_readFromNBT)], nms_TileEntityBrewingStand, "TileEntityBrewingStand", 43, nms_TileEntity, [nms_ISidedInventory], 0, 3, 0, 0, ["$getSizeInventory", $rt_wrapFunction0(nms_TileEntityBrewingStand_getSizeInventory), "$updateEntity", $rt_wrapFunction0(nms_TileEntityBrewingStand_updateEntity), "$readFromNBT", $rt_wrapFunction1(nms_TileEntityBrewingStand_readFromNBT), "$writeToNBT", $rt_wrapFunction1(nms_TileEntityBrewingStand_writeToNBT), "$getStackInSlot", $rt_wrapFunction1(nms_TileEntityBrewingStand_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_TileEntityBrewingStand_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_TileEntityBrewingStand_setInventorySlotContents), "$getInventoryStackLimit", $rt_wrapFunction0(nms_TileEntityBrewingStand_getInventoryStackLimit), "$isItemValidForSlot", $rt_wrapFunction2(nms_TileEntityBrewingStand_isItemValidForSlot), "$getAccessibleSlotsFromSide", $rt_wrapFunction1(nms_TileEntityBrewingStand_getAccessibleSlotsFromSide), "$canInsertItem", $rt_wrapFunction3(nms_TileEntityBrewingStand_canInsertItem), "$canExtractItem", $rt_wrapFunction3(nms_TileEntityBrewingStand_canExtractItem)], nms_TileEntityCommandBlock, "TileEntityCommandBlock", 43, nms_TileEntity, [nms_ICommandSender], 0, 3, 0, 0, ["$writeToNBT", $rt_wrapFunction1(nms_TileEntityCommandBlock_writeToNBT), "$readFromNBT", $rt_wrapFunction1(nms_TileEntityCommandBlock_readFromNBT)], nms_TileEntityDaylightDetector, "TileEntityDaylightDetector", 43, nms_TileEntity, [], 0, 3, 0, 0, ["$updateEntity", $rt_wrapFunction0(nms_TileEntityDaylightDetector_updateEntity)], nms_TileEntityHopper, "TileEntityHopper", 43, nms_TileEntity, [nms_Hopper], 0, 3, 0, 0, ["$readFromNBT", $rt_wrapFunction1(nms_TileEntityHopper_readFromNBT), "$writeToNBT", $rt_wrapFunction1(nms_TileEntityHopper_writeToNBT), "$onInventoryChanged", $rt_wrapFunction0(nms_TileEntityHopper_onInventoryChanged), "$getSizeInventory", $rt_wrapFunction0(nms_TileEntityHopper_getSizeInventory), "$getStackInSlot", $rt_wrapFunction1(nms_TileEntityHopper_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_TileEntityHopper_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_TileEntityHopper_setInventorySlotContents), "$getInvName", $rt_wrapFunction0(nms_TileEntityHopper_getInvName), "$isInvNameLocalized", $rt_wrapFunction0(nms_TileEntityHopper_isInvNameLocalized), "$getInventoryStackLimit", $rt_wrapFunction0(nms_TileEntityHopper_getInventoryStackLimit), "$isUseableByPlayer", $rt_wrapFunction1(nms_TileEntityHopper_isUseableByPlayer), "$openChest", $rt_wrapFunction0(nms_TileEntityHopper_openChest), "$closeChest", $rt_wrapFunction0(nms_TileEntityHopper_closeChest), "$isItemValidForSlot", $rt_wrapFunction2(nms_TileEntityHopper_isItemValidForSlot), "$updateEntity", $rt_wrapFunction0(nms_TileEntityHopper_updateEntity), "$getXPos", $rt_wrapFunction0(nms_TileEntityHopper_getXPos), "$getYPos", $rt_wrapFunction0(nms_TileEntityHopper_getYPos), "$getZPos", $rt_wrapFunction0(nms_TileEntityHopper_getZPos)], nms_TileEntityComparator, "TileEntityComparator", 43, nms_TileEntity, [], 0, 3, 0, 0, ["$writeToNBT", $rt_wrapFunction1(nms_TileEntityComparator_writeToNBT), "$readFromNBT", $rt_wrapFunction1(nms_TileEntityComparator_readFromNBT)], nlea_EaglerAdapterImpl2$StupidFunctionResolveString, 0, jl_Object, [otj_JSObject], 3, 0, 0, 0, 0, nlea_EaglerAdapterImpl2$33, 0, jl_Object, [nlea_EaglerAdapterImpl2$StupidFunctionResolveString], 0, 0, 0, 0, ["$resolveStr$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$33_resolveStr$exported$0)], nlea_EaglerAdapterImpl2$32, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$32_handleEvent$exported$0)], otjw_AbstractWorker, 0, jl_Object, [otj_JSObject, otjde_EventTarget], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandler, 0, jl_Object, [otj_JSObject], 3, 0, 0, 0, 0, nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl, 0, jl_Object, [nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandler], 0, 0, 0, 0, ["$onMessage$exported$0", $rt_wrapFunction2(nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl_onMessage$exported$0)], jl_Thread$switchContext$lambda$_19_0, 0, jl_Object, [otp_PlatformRunnable], 0, 3, 0, 0, ["$run", $rt_wrapFunction0(jl_Thread$switchContext$lambda$_19_0_run)], otjde_Registration, 0, jl_Object, [], 0, 3, 0, 0, 0, jn_ShortBuffer, "ShortBuffer", 9, jn_Buffer, [jl_Comparable], 1, 3, 0, 0, 0, jn_LongBuffer, "LongBuffer", 9, jn_Buffer, [jl_Comparable], 1, 3, 0, 0, 0, jn_DoubleBuffer, "DoubleBuffer", 9, jn_Buffer, [jl_Comparable], 1, 3, 0, 0, 0, nms_EnumGameType, "EnumGameType", 43, jl_Enum, [], 12, 3, 0, 0, 0, nms_GuiSlot, 0, jl_Object, [], 1, 3, 0, nms_GuiSlot_$callClinit, ["$getContentHeight", $rt_wrapFunction0(nms_GuiSlot_getContentHeight), "$getScrollBarX", $rt_wrapFunction0(nms_GuiSlot_getScrollBarX)], nms_GuiWorldSlot, 0, nms_GuiSlot, [], 0, 0, 0, 0, ["$getSize", $rt_wrapFunction0(nms_GuiWorldSlot_getSize), "$elementClicked", $rt_wrapFunction2(nms_GuiWorldSlot_elementClicked), "$isSelected", $rt_wrapFunction1(nms_GuiWorldSlot_isSelected), "$getContentHeight", $rt_wrapFunction0(nms_GuiWorldSlot_getContentHeight), "$drawBackground0", $rt_wrapFunction0(nms_GuiWorldSlot_drawBackground), "$drawSlot", function(var_1, var_2, var_3, var_4, var_5) { nms_GuiWorldSlot_drawSlot(this, var_1, var_2, var_3, var_4, var_5); }], nle_GuiScreenCreateWorldSelection, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nle_GuiScreenCreateWorldSelection_initGui), "$updateScreen", $rt_wrapFunction0(nle_GuiScreenCreateWorldSelection_updateScreen), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenCreateWorldSelection_drawScreen), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenCreateWorldSelection_actionPerformed)], nms_GuiRenameWorld, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$updateScreen", $rt_wrapFunction0(nms_GuiRenameWorld_updateScreen), "$initGui", $rt_wrapFunction0(nms_GuiRenameWorld_initGui), "$onGuiClosed", $rt_wrapFunction0(nms_GuiRenameWorld_onGuiClosed), "$actionPerformed", $rt_wrapFunction1(nms_GuiRenameWorld_actionPerformed), "$keyTyped", $rt_wrapFunction2(nms_GuiRenameWorld_keyTyped), "$mouseClicked", $rt_wrapFunction3(nms_GuiRenameWorld_mouseClicked), "$drawScreen", $rt_wrapFunction3(nms_GuiRenameWorld_drawScreen)]]); $rt_metadata([nle_GuiScreenBackupWorld, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nle_GuiScreenBackupWorld_initGui), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenBackupWorld_drawScreen), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenBackupWorld_actionPerformed), "$confirmClicked", $rt_wrapFunction2(nle_GuiScreenBackupWorld_confirmClicked)], nms_SaveFormatComparator, "SaveFormatComparator", 43, jl_Object, [jl_Comparable], 0, 3, 0, 0, ["$compareTo1", $rt_wrapFunction1(nms_SaveFormatComparator_compareTo)], nle_GuiScreenLANConnect, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nle_GuiScreenLANConnect_initGui), "$onGuiClosed", $rt_wrapFunction0(nle_GuiScreenLANConnect_onGuiClosed), "$keyTyped", $rt_wrapFunction2(nle_GuiScreenLANConnect_keyTyped), "$updateScreen", $rt_wrapFunction0(nle_GuiScreenLANConnect_updateScreen), "$mouseClicked", $rt_wrapFunction3(nle_GuiScreenLANConnect_mouseClicked), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenLANConnect_drawScreen), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenLANConnect_actionPerformed)], nleav_BooleanResult, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_GuiSmallButton, "GuiSmallButton", 43, nms_GuiButton, [], 0, 3, 0, 0, 0, nms_GuiSlider, "GuiSlider", 43, nms_GuiButton, [], 0, 3, 0, 0, ["$getHoverState", $rt_wrapFunction1(nms_GuiSlider_getHoverState), "$mouseDragged", $rt_wrapFunction3(nms_GuiSlider_mouseDragged), "$mousePressed", $rt_wrapFunction3(nms_GuiSlider_mousePressed), "$mouseReleased", $rt_wrapFunction2(nms_GuiSlider_mouseReleased)], nms_GuiVideoSettings, 0, nms_GuiScreen, [], 0, 3, 0, nms_GuiVideoSettings_$callClinit, ["$initGui", $rt_wrapFunction0(nms_GuiVideoSettings_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiVideoSettings_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiVideoSettings_drawScreen)], nms_GuiControls, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiControls_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiControls_actionPerformed), "$mouseClicked", $rt_wrapFunction3(nms_GuiControls_mouseClicked), "$keyTyped", $rt_wrapFunction2(nms_GuiControls_keyTyped), "$drawScreen", $rt_wrapFunction3(nms_GuiControls_drawScreen)], nms_ScreenChatOptions, 0, nms_GuiScreen, [], 0, 3, 0, nms_ScreenChatOptions_$callClinit, ["$initGui", $rt_wrapFunction0(nms_ScreenChatOptions_initGui), "$actionPerformed", $rt_wrapFunction1(nms_ScreenChatOptions_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_ScreenChatOptions_drawScreen)], nms_GuiSlotLanguage, 0, nms_GuiSlot, [], 0, 0, 0, 0, ["$getSize", $rt_wrapFunction0(nms_GuiSlotLanguage_getSize), "$elementClicked", $rt_wrapFunction2(nms_GuiSlotLanguage_elementClicked), "$isSelected", $rt_wrapFunction1(nms_GuiSlotLanguage_isSelected), "$getContentHeight", $rt_wrapFunction0(nms_GuiSlotLanguage_getContentHeight), "$drawBackground0", $rt_wrapFunction0(nms_GuiSlotLanguage_drawBackground), "$drawSlot", function(var_1, var_2, var_3, var_4, var_5) { nms_GuiSlotLanguage_drawSlot(this, var_1, var_2, var_3, var_4, var_5); }], nms_GuiSlotServer, 0, nms_GuiSlot, [], 0, 0, 0, nms_GuiSlotServer_$callClinit, ["$getSize", $rt_wrapFunction0(nms_GuiSlotServer_getSize), "$elementClicked", $rt_wrapFunction2(nms_GuiSlotServer_elementClicked), "$isSelected", $rt_wrapFunction1(nms_GuiSlotServer_isSelected), "$getContentHeight", $rt_wrapFunction0(nms_GuiSlotServer_getContentHeight), "$drawBackground0", $rt_wrapFunction0(nms_GuiSlotServer_drawBackground), "$drawSlot", function(var_1, var_2, var_3, var_4, var_5) { nms_GuiSlotServer_drawSlot(this, var_1, var_2, var_3, var_4, var_5); }], nle_GuiScreenConnectOption, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nle_GuiScreenConnectOption_initGui), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenConnectOption_actionPerformed), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenConnectOption_drawScreen), "$mouseClicked", $rt_wrapFunction3(nle_GuiScreenConnectOption_mouseClicked)], nms_GuiScreenAddServer, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$updateScreen", $rt_wrapFunction0(nms_GuiScreenAddServer_updateScreen), "$initGui", $rt_wrapFunction0(nms_GuiScreenAddServer_initGui), "$onGuiClosed", $rt_wrapFunction0(nms_GuiScreenAddServer_onGuiClosed), "$actionPerformed", $rt_wrapFunction1(nms_GuiScreenAddServer_actionPerformed), "$keyTyped", $rt_wrapFunction2(nms_GuiScreenAddServer_keyTyped), "$mouseClicked", $rt_wrapFunction3(nms_GuiScreenAddServer_mouseClicked), "$drawScreen", $rt_wrapFunction3(nms_GuiScreenAddServer_drawScreen)], otji_JSWrapper$JSTransparentInt, 0, jl_Object, [otj_JSObject], 1, 0, 0, 0, 0, otjc_JSNumber, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, otjc_JSBoolean, 0, jl_Object, [otj_JSObject], 1, 3, 0, 0, 0, jl_InstantiationException, "InstantiationException", 17, jl_ReflectiveOperationException, [], 0, 3, 0, 0, 0, nms_WorldType, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_GameRules, 0, jl_Object, [], 0, 3, 0, 0, 0, nleav_VirtualFilesystem$AsyncHandlers$13, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleav_VirtualFilesystem$AsyncHandlers$13_handleEvent$exported$0)], nleav_VirtualFilesystem$AsyncHandlers$14, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleav_VirtualFilesystem$AsyncHandlers$14_handleEvent$exported$0)], nle_LANServerList$LanServer, "LANServerList$LanServer", 45, jl_Object, [], 0, 3, 0, 0, 0, nle_GuiScreenLANConnecting, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$doesGuiPauseGame", $rt_wrapFunction0(nle_GuiScreenLANConnecting_doesGuiPauseGame), "$updateScreen", $rt_wrapFunction0(nle_GuiScreenLANConnecting_updateScreen), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenLANConnecting_drawScreen)], nms_GuiSelectWorld$confirmClicked$lambda$_9_0, 0, jl_Object, [juf_BooleanSupplier], 0, 3, 0, 0, ["$getAsBoolean", $rt_wrapFunction0(nms_GuiSelectWorld$confirmClicked$lambda$_9_0_getAsBoolean)], nms_Packet44UpdateAttributesSnapshot, "Packet44UpdateAttributesSnapshot", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_EnumArt, "EnumArt", 43, jl_Enum, [], 12, 3, 0, 0, 0, juz_Inflater, 0, jl_Object, [], 0, 3, 0, 0, 0, juz_DataFormatException, "DataFormatException", 5, jl_Exception, [], 0, 3, 0, 0, 0, nms_WorldSettings, 0, jl_Object, [], 4, 3, 0, 0, 0, nms_GuiCreateWorld, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$updateScreen", $rt_wrapFunction0(nms_GuiCreateWorld_updateScreen), "$initGui", $rt_wrapFunction0(nms_GuiCreateWorld_initGui), "$onGuiClosed", $rt_wrapFunction0(nms_GuiCreateWorld_onGuiClosed), "$actionPerformed", $rt_wrapFunction1(nms_GuiCreateWorld_actionPerformed), "$keyTyped", $rt_wrapFunction2(nms_GuiCreateWorld_keyTyped), "$mouseClicked", $rt_wrapFunction3(nms_GuiCreateWorld_mouseClicked), "$drawScreen", $rt_wrapFunction3(nms_GuiCreateWorld_drawScreen)], nle_GuiScreenNameWorldImport, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$updateScreen", $rt_wrapFunction0(nle_GuiScreenNameWorldImport_updateScreen), "$initGui", $rt_wrapFunction0(nle_GuiScreenNameWorldImport_initGui), "$onGuiClosed", $rt_wrapFunction0(nle_GuiScreenNameWorldImport_onGuiClosed), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenNameWorldImport_actionPerformed), "$keyTyped", $rt_wrapFunction2(nle_GuiScreenNameWorldImport_keyTyped), "$mouseClicked", $rt_wrapFunction3(nle_GuiScreenNameWorldImport_mouseClicked), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenNameWorldImport_drawScreen)], ju_SequencedSet, 0, jl_Object, [ju_SequencedCollection, ju_Set], 3, 3, 0, 0, 0, ju_LinkedHashMapKeySet, 0, ju_AbstractSet, [ju_SequencedSet], 0, 0, 0, 0, ["$iterator", $rt_wrapFunction0(ju_LinkedHashMapKeySet_iterator)], ju_LinkedHashMapValues, 0, ju_AbstractCollection, [ju_SequencedCollection], 0, 0, 0, 0, ["$size", $rt_wrapFunction0(ju_LinkedHashMapValues_size), "$iterator", $rt_wrapFunction0(ju_LinkedHashMapValues_iterator)], nle_GuiScreenRelay, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nle_GuiScreenRelay_initGui), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenRelay_actionPerformed), "$updateScreen", $rt_wrapFunction0(nle_GuiScreenRelay_updateScreen), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenRelay_drawScreen), "$mouseClicked", $rt_wrapFunction3(nle_GuiScreenRelay_mouseClicked), "$confirmClicked", $rt_wrapFunction2(nle_GuiScreenRelay_confirmClicked)], nle_RelayWorldsQuery, 0, jl_Object, [], 3, 3, 0, 0, 0, nlesrp_IPacket07LocalWorlds$LocalWorld, "IPacket07LocalWorlds$LocalWorld", 52, jl_Object, [], 0, 3, 0, 0, 0, nms_MinecraftServer, 0, jl_Object, [nms_ICommandSender, jl_Runnable], 1, 3, 0, 0, 0, nms_EnumSkyBlock, 0, jl_Enum, [], 12, 3, 0, 0, 0, nms_BiomeCache, "BiomeCache", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_TileEntityMobSpawnerLogic, 0, nms_MobSpawnerBaseLogic, [], 0, 0, 0, 0, ["$func_98267_a", $rt_wrapFunction1(nms_TileEntityMobSpawnerLogic_func_98267_a), "$getSpawnerWorld", $rt_wrapFunction0(nms_TileEntityMobSpawnerLogic_getSpawnerWorld), "$getSpawnerX", $rt_wrapFunction0(nms_TileEntityMobSpawnerLogic_getSpawnerX), "$getSpawnerY", $rt_wrapFunction0(nms_TileEntityMobSpawnerLogic_getSpawnerY), "$getSpawnerZ", $rt_wrapFunction0(nms_TileEntityMobSpawnerLogic_getSpawnerZ), "$setRandomMinecart", $rt_wrapFunction1(nms_TileEntityMobSpawnerLogic_setRandomMinecart)], nms_GameRuleValue, "GameRuleValue", 43, jl_Object, [], 0, 0, 0, 0, 0, nms_GuiRenameWorld$actionPerformed$lambda$_5_0, 0, jl_Object, [juf_BooleanSupplier], 0, 3, 0, 0, ["$getAsBoolean", $rt_wrapFunction0(nms_GuiRenameWorld$actionPerformed$lambda$_5_0_getAsBoolean)], nle_GuiScreenBackupWorld$actionPerformed$lambda$_3_0, 0, jl_Object, [juf_BooleanSupplier], 0, 3, 0, 0, ["$getAsBoolean", $rt_wrapFunction0(nle_GuiScreenBackupWorld$actionPerformed$lambda$_3_0_getAsBoolean)], nle_GuiScreenBackupWorld$actionPerformed$lambda$_3_1, 0, jl_Object, [juf_BooleanSupplier], 0, 3, 0, 0, ["$getAsBoolean", $rt_wrapFunction0(nle_GuiScreenBackupWorld$actionPerformed$lambda$_3_1_getAsBoolean)], nms_GuiTexturePackSlot, 0, nms_GuiSlot, [], 0, 0, 0, 0, ["$getSize", $rt_wrapFunction0(nms_GuiTexturePackSlot_getSize), "$elementClicked", $rt_wrapFunction2(nms_GuiTexturePackSlot_elementClicked), "$isSelected", $rt_wrapFunction1(nms_GuiTexturePackSlot_isSelected), "$getContentHeight", $rt_wrapFunction0(nms_GuiTexturePackSlot_getContentHeight), "$drawBackground0", $rt_wrapFunction0(nms_GuiTexturePackSlot_drawBackground), "$drawSlot", function(var_1, var_2, var_3, var_4, var_5) { nms_GuiTexturePackSlot_drawSlot(this, var_1, var_2, var_3, var_4, var_5); }], nms_GuiScreenDirectConnect, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$updateScreen", $rt_wrapFunction0(nms_GuiScreenDirectConnect_updateScreen), "$initGui", $rt_wrapFunction0(nms_GuiScreenDirectConnect_initGui), "$onGuiClosed", $rt_wrapFunction0(nms_GuiScreenDirectConnect_onGuiClosed), "$actionPerformed", $rt_wrapFunction1(nms_GuiScreenDirectConnect_actionPerformed), "$keyTyped", $rt_wrapFunction2(nms_GuiScreenDirectConnect_keyTyped), "$mouseClicked", $rt_wrapFunction3(nms_GuiScreenDirectConnect_mouseClicked), "$drawScreen", $rt_wrapFunction3(nms_GuiScreenDirectConnect_drawScreen)], nle_GuiScreenNoRelays, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nle_GuiScreenNoRelays_initGui), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenNoRelays_drawScreen), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenNoRelays_actionPerformed)], nle_EPKDecompiler, 0, jl_Object, [], 0, 3, 0, 0, 0, juz_InflaterInputStream, 0, ji_FilterInputStream, [], 0, 3, 0, 0, 0]); $rt_metadata([juz_ZipConstants, 0, jl_Object, [], 3, 0, 0, 0, 0, juz_ZipInputStream, 0, juz_InflaterInputStream, [juz_ZipConstants], 0, 3, 0, 0, ["$read0", $rt_wrapFunction3(juz_ZipInputStream_read)], nle_EPKDecompiler$FileEntry, 0, jl_Object, [], 0, 3, 0, 0, 0, nle_GuiScreenLANConnecting$drawScreen$lambda$_4_0, 0, jl_Object, [juf_Consumer], 0, 3, 0, 0, 0, nle_LANClientNetworkManager, 0, jl_Object, [nms_INetworkManager], 0, 3, 0, 0, ["$addToSendQueue", $rt_wrapFunction1(nle_LANClientNetworkManager_addToSendQueue), "$wakeThreads", $rt_wrapFunction0(nle_LANClientNetworkManager_wakeThreads), "$processReadPackets", $rt_wrapFunction0(nle_LANClientNetworkManager_processReadPackets), "$serverShutdown", $rt_wrapFunction0(nle_LANClientNetworkManager_serverShutdown), "$networkShutdown", $rt_wrapFunction2(nle_LANClientNetworkManager_networkShutdown), "$closeConnections", $rt_wrapFunction0(nle_LANClientNetworkManager_closeConnections), "$getServerURI", $rt_wrapFunction0(nle_LANClientNetworkManager_getServerURI)], nle_ServerQuery, 0, jl_Object, [], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$ServerQueryImpl, 0, jl_Object, [nle_ServerQuery], 0, 0, 0, 0, 0, nms_ServerConfigurationManager, 0, jl_Object, [], 1, 3, 0, nms_ServerConfigurationManager_$callClinit, 0, nms_WorldServer, 0, nms_World, [], 0, 3, 0, nms_WorldServer_$callClinit, 0, nms_LongHashMap, 0, jl_Object, [], 0, 3, 0, 0, 0, ji_PushbackInputStream, 0, ji_FilterInputStream, [], 0, 3, 0, 0, ["$available", $rt_wrapFunction0(ji_PushbackInputStream_available), "$close", $rt_wrapFunction0(ji_PushbackInputStream_close), "$read", $rt_wrapFunction0(ji_PushbackInputStream_read0), "$read0", $rt_wrapFunction3(ji_PushbackInputStream_read)], juz_Checksum, 0, jl_Object, [], 3, 3, 0, 0, 0, juz_CRC32, 0, jl_Object, [juz_Checksum], 0, 3, 0, 0, 0, juz_ZipEntry, 0, jl_Object, [juz_ZipConstants, jl_Cloneable], 0, 3, 0, 0, 0, nlesrp_ICEServerSet$RelayServer, "ICEServerSet$RelayServer", 52, jl_Object, [], 0, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$RelayWorldsQueryRatelimitDummy, "EaglerAdapterImpl2$RelayWorldsQueryRatelimitDummy", 46, jl_Object, [nle_RelayWorldsQuery], 0, 0, 0, 0, ["$isQueryOpen", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayWorldsQueryRatelimitDummy_isQueryOpen), "$isQueryFailed", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayWorldsQueryRatelimitDummy_isQueryFailed), "$getWorlds", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayWorldsQueryRatelimitDummy_getWorlds)], nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl, "EaglerAdapterImpl2$RelayWorldsQueryImpl", 46, jl_Object, [nle_RelayWorldsQuery], 0, 0, 0, 0, ["$isQueryOpen", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl_isQueryOpen), "$isQueryFailed", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl_isQueryFailed), "$getWorlds", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl_getWorlds)], nleav_VirtualFilesystem$AsyncHandlers$7, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleav_VirtualFilesystem$AsyncHandlers$7_handleEvent$exported$0)], nleav_VirtualFilesystem$AsyncHandlers$8, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleav_VirtualFilesystem$AsyncHandlers$8_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$ServerQueryImpl$1, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$ServerQueryImpl$1_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$ServerQueryImpl$2, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$ServerQueryImpl$2_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$ServerQueryImpl$3, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$ServerQueryImpl$3_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$ServerQueryImpl$4, 0, jl_Object, [otjb_TimerHandler], 0, 0, 0, 0, ["$onTimer$exported$0", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$ServerQueryImpl$4_onTimer$exported$0)], nms_LongHashMapEntry, 0, jl_Object, [], 0, 0, 0, 0, 0, nleat_EaglercraftLANClient$DescriptionHandler, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$34, 0, jl_Object, [nleat_EaglercraftLANClient$DescriptionHandler], 0, 0, 0, 0, ["$call$exported$00", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$34_call$exported$0)], nleat_EaglercraftLANClient$ICECandidateHandler, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$35, 0, jl_Object, [nleat_EaglercraftLANClient$ICECandidateHandler], 0, 0, 0, 0, ["$call$exported$00", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$35_call$exported$0)], nleat_EaglercraftLANClient$ClientSignalHandler, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$36, 0, jl_Object, [nleat_EaglercraftLANClient$ClientSignalHandler], 0, 0, 0, 0, ["$call$exported$01", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$36_call$exported$0)], nleat_EaglercraftLANClient$RemotePacketHandler, 0, jl_Object, [otj_JSObject], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$37, 0, jl_Object, [nleat_EaglercraftLANClient$RemotePacketHandler], 0, 0, 0, 0, ["$call$exported$00", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$37_call$exported$0)], nlea_EaglerAdapterImpl2$38, 0, jl_Object, [nleat_EaglercraftLANClient$ClientSignalHandler], 0, 0, 0, 0, ["$call$exported$01", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$38_call$exported$0)], nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$1, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$1_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$2, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$2_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$3, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$3_handleEvent$exported$0)], nms_WeightedRandomChestContent, 0, nms_WeightedRandomItem, [], 0, 3, 0, 0, 0, otjw_MessagePort, "MessagePort", 29, jl_Object, [otjde_EventTarget], 3, 3, 0, 0, 0, nms_EnumCreatureType, "EnumCreatureType", 43, jl_Enum, [], 12, 3, 0, 0, 0, ju_LinkedHashMapIterator, 0, jl_Object, [], 0, 0, 0, 0, ["$hasNext", $rt_wrapFunction0(ju_LinkedHashMapIterator_hasNext), "$remove0", $rt_wrapFunction0(ju_LinkedHashMapIterator_remove)], ju_LinkedHashMapIterator$KeyIterator, 0, ju_LinkedHashMapIterator, [ju_Iterator], 0, 0, 0, 0, ["$next", $rt_wrapFunction0(ju_LinkedHashMapIterator$KeyIterator_next)], ju_LinkedHashMapIterator$ValueIterator, 0, ju_LinkedHashMapIterator, [ju_Iterator], 0, 0, 0, 0, ["$next", $rt_wrapFunction0(ju_LinkedHashMapIterator$ValueIterator_next)], ju_AbstractMap$KeySet, 0, ju_AbstractSet, [], 0, 0, 0, 0, ["$iterator", $rt_wrapFunction0(ju_AbstractMap$KeySet_iterator)], nms_GuiMerchant, 0, nms_GuiContainer, [], 0, 3, 0, nms_GuiMerchant_$callClinit, ["$initGui", $rt_wrapFunction0(nms_GuiMerchant_initGui), "$drawGuiContainerForegroundLayer", $rt_wrapFunction2(nms_GuiMerchant_drawGuiContainerForegroundLayer), "$updateScreen", $rt_wrapFunction0(nms_GuiMerchant_updateScreen), "$actionPerformed", $rt_wrapFunction1(nms_GuiMerchant_actionPerformed), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction3(nms_GuiMerchant_drawGuiContainerBackgroundLayer), "$drawScreen", $rt_wrapFunction3(nms_GuiMerchant_drawScreen)], nms_MerchantRecipeList, "MerchantRecipeList", 43, ju_ArrayList, [], 0, 3, 0, 0, 0, nms_GuiDownloadTerrain, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$keyTyped", $rt_wrapFunction2(nms_GuiDownloadTerrain_keyTyped), "$initGui", $rt_wrapFunction0(nms_GuiDownloadTerrain_initGui), "$updateScreen", $rt_wrapFunction0(nms_GuiDownloadTerrain_updateScreen), "$drawScreen", $rt_wrapFunction3(nms_GuiDownloadTerrain_drawScreen)], nms_EntityCrit2FX, "EntityCrit2FX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityCrit2FX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityCrit2FX_onUpdate), "$getFXLayer", $rt_wrapFunction0(nms_EntityCrit2FX_getFXLayer)], nms_GuiWinGame, 0, nms_GuiScreen, [], 0, 3, 0, nms_GuiWinGame_$callClinit, ["$updateScreen", $rt_wrapFunction0(nms_GuiWinGame_updateScreen), "$keyTyped", $rt_wrapFunction2(nms_GuiWinGame_keyTyped), "$doesGuiPauseGame", $rt_wrapFunction0(nms_GuiWinGame_doesGuiPauseGame), "$initGui", $rt_wrapFunction0(nms_GuiWinGame_initGui), "$drawScreen", $rt_wrapFunction3(nms_GuiWinGame_drawScreen)], nms_ScoreObjectiveCriteria, "ScoreObjectiveCriteria", 43, jl_Object, [], 3, 3, 0, nms_ScoreObjectiveCriteria_$callClinit, 0, nms_NpcMerchant, 0, jl_Object, [nms_IMerchant], 0, 3, 0, 0, ["$getCustomer", $rt_wrapFunction0(nms_NpcMerchant_getCustomer), "$setCustomer", $rt_wrapFunction1(nms_NpcMerchant_setCustomer), "$getRecipes", $rt_wrapFunction1(nms_NpcMerchant_getRecipes), "$setRecipes", $rt_wrapFunction1(nms_NpcMerchant_setRecipes), "$useRecipe", $rt_wrapFunction1(nms_NpcMerchant_useRecipe), "$func_110297_a_", $rt_wrapFunction1(nms_NpcMerchant_func_110297_a_)]]); $rt_metadata([nms_AnimalChest, "AnimalChest", 43, nms_InventoryBasic, [], 0, 3, 0, 0, 0, nms_WorldProviderSurface, 0, nms_WorldProvider, [], 0, 3, 0, 0, 0, nms_EntityPickupFX, "EntityPickupFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityPickupFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityPickupFX_onUpdate), "$getFXLayer", $rt_wrapFunction0(nms_EntityPickupFX_getFXLayer)], nle_GuiScreenSingleplayerConnecting, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nle_GuiScreenSingleplayerConnecting_initGui), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenSingleplayerConnecting_drawScreen), "$doesGuiPauseGame", $rt_wrapFunction0(nle_GuiScreenSingleplayerConnecting_doesGuiPauseGame), "$updateScreen", $rt_wrapFunction0(nle_GuiScreenSingleplayerConnecting_updateScreen), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenSingleplayerConnecting_actionPerformed)], nms_Minecraft$launchIntegratedServer$lambda$_27_0, 0, jl_Object, [juf_BooleanSupplier], 0, 3, 0, 0, ["$getAsBoolean", $rt_wrapFunction0(nms_Minecraft$launchIntegratedServer$lambda$_27_0_getAsBoolean)], nms_EnumOptionsHelper, 0, jl_Object, [], 0, 0, 0, nms_EnumOptionsHelper_$callClinit, 0, ju_LinkedHashMapEntrySet, 0, ju_AbstractSet, [ju_SequencedSet], 0, 0, 0, 0, 0, juz_ZipException, "ZipException", 5, ji_IOException, [], 0, 3, 0, 0, 0, nle_GuiSlotRelay, 0, nms_GuiSlot, [], 0, 0, 0, nle_GuiSlotRelay_$callClinit, ["$getSize", $rt_wrapFunction0(nle_GuiSlotRelay_getSize), "$elementClicked", $rt_wrapFunction2(nle_GuiSlotRelay_elementClicked), "$isSelected", $rt_wrapFunction1(nle_GuiSlotRelay_isSelected), "$drawBackground0", $rt_wrapFunction0(nle_GuiSlotRelay_drawBackground), "$drawSlot", function(var_1, var_2, var_3, var_4, var_5) { nle_GuiSlotRelay_drawSlot(this, var_1, var_2, var_3, var_4, var_5); }], nle_GuiScreenNameWorldImport$updateScreen$lambda$_1_0, 0, jl_Object, [juf_BooleanSupplier], 0, 3, 0, 0, ["$getAsBoolean", $rt_wrapFunction0(nle_GuiScreenNameWorldImport$updateScreen$lambda$_1_0_getAsBoolean)], nms_GuiCreateFlatWorld, 0, nms_GuiScreen, [], 0, 3, 0, nms_GuiCreateFlatWorld_$callClinit, ["$initGui", $rt_wrapFunction0(nms_GuiCreateFlatWorld_initGui), "$actionPerformed", $rt_wrapFunction1(nms_GuiCreateFlatWorld_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiCreateFlatWorld_drawScreen)], nle_GuiScreenAddRelay, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$updateScreen", $rt_wrapFunction0(nle_GuiScreenAddRelay_updateScreen), "$initGui", $rt_wrapFunction0(nle_GuiScreenAddRelay_initGui), "$onGuiClosed", $rt_wrapFunction0(nle_GuiScreenAddRelay_onGuiClosed), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenAddRelay_actionPerformed), "$keyTyped", $rt_wrapFunction2(nle_GuiScreenAddRelay_keyTyped), "$mouseClicked", $rt_wrapFunction3(nle_GuiScreenAddRelay_mouseClicked), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenAddRelay_drawScreen)], nms_GuiScreenConfirmation, 0, nms_GuiYesNo, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nms_GuiScreenConfirmation_initGui), "$drawScreen", $rt_wrapFunction3(nms_GuiScreenConfirmation_drawScreen)], nle_GuiScreenChangeRelayTimeout, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$initGui", $rt_wrapFunction0(nle_GuiScreenChangeRelayTimeout_initGui), "$actionPerformed", $rt_wrapFunction1(nle_GuiScreenChangeRelayTimeout_actionPerformed), "$drawScreen", $rt_wrapFunction3(nle_GuiScreenChangeRelayTimeout_drawScreen), "$mouseClicked", $rt_wrapFunction3(nle_GuiScreenChangeRelayTimeout_mouseClicked), "$mouseMovedOrUp", $rt_wrapFunction3(nle_GuiScreenChangeRelayTimeout_mouseMovedOrUp)], nms_MerchantRecipe, "MerchantRecipe", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_BaseAttributeMap, "BaseAttributeMap", 43, jl_Object, [], 1, 3, 0, 0, 0, nms_InventoryMerchant, "InventoryMerchant", 43, jl_Object, [nms_IInventory], 0, 3, 0, 0, ["$getStackInSlot", $rt_wrapFunction1(nms_InventoryMerchant_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_InventoryMerchant_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_InventoryMerchant_setInventorySlotContents), "$getInventoryStackLimit", $rt_wrapFunction0(nms_InventoryMerchant_getInventoryStackLimit), "$onInventoryChanged", $rt_wrapFunction0(nms_InventoryMerchant_onInventoryChanged)], nms_FlatGeneratorInfo, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_WorldProviderHell, 0, nms_WorldProvider, [], 0, 3, 0, 0, ["$registerWorldChunkManager", $rt_wrapFunction0(nms_WorldProviderHell_registerWorldChunkManager), "$getFogColor", $rt_wrapFunction2(nms_WorldProviderHell_getFogColor), "$generateLightBrightnessTable", $rt_wrapFunction0(nms_WorldProviderHell_generateLightBrightnessTable), "$isSurfaceWorld", $rt_wrapFunction0(nms_WorldProviderHell_isSurfaceWorld), "$calculateCelestialAngle", $rt_wrapFunction2(nms_WorldProviderHell_calculateCelestialAngle), "$canRespawnHere", $rt_wrapFunction0(nms_WorldProviderHell_canRespawnHere), "$doesXZShowFog", $rt_wrapFunction2(nms_WorldProviderHell_doesXZShowFog)], nms_WorldProviderEnd, 0, nms_WorldProvider, [], 0, 3, 0, 0, ["$registerWorldChunkManager", $rt_wrapFunction0(nms_WorldProviderEnd_registerWorldChunkManager), "$calculateCelestialAngle", $rt_wrapFunction2(nms_WorldProviderEnd_calculateCelestialAngle), "$calcSunriseSunsetColors", $rt_wrapFunction2(nms_WorldProviderEnd_calcSunriseSunsetColors), "$getFogColor", $rt_wrapFunction2(nms_WorldProviderEnd_getFogColor), "$isSkyColored", $rt_wrapFunction0(nms_WorldProviderEnd_isSkyColored), "$canRespawnHere", $rt_wrapFunction0(nms_WorldProviderEnd_canRespawnHere), "$isSurfaceWorld", $rt_wrapFunction0(nms_WorldProviderEnd_isSurfaceWorld), "$getCloudHeight", $rt_wrapFunction0(nms_WorldProviderEnd_getCloudHeight), "$doesXZShowFog", $rt_wrapFunction2(nms_WorldProviderEnd_doesXZShowFog)], nms_VillageSiege, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_VillageCollection, "VillageCollection", 43, nms_WorldSavedData, [], 0, 3, 0, 0, 0, nms_EntityMinecartMobSpawnerLogic, 0, nms_MobSpawnerBaseLogic, [], 0, 0, 0, 0, ["$func_98267_a", $rt_wrapFunction1(nms_EntityMinecartMobSpawnerLogic_func_98267_a), "$getSpawnerWorld", $rt_wrapFunction0(nms_EntityMinecartMobSpawnerLogic_getSpawnerWorld), "$getSpawnerX", $rt_wrapFunction0(nms_EntityMinecartMobSpawnerLogic_getSpawnerX), "$getSpawnerY", $rt_wrapFunction0(nms_EntityMinecartMobSpawnerLogic_getSpawnerY), "$getSpawnerZ", $rt_wrapFunction0(nms_EntityMinecartMobSpawnerLogic_getSpawnerZ)], nms_InventoryEnderChest, "InventoryEnderChest", 43, nms_InventoryBasic, [], 0, 3, 0, 0, ["$isUseableByPlayer", $rt_wrapFunction1(nms_InventoryEnderChest_isUseableByPlayer), "$openChest", $rt_wrapFunction0(nms_InventoryEnderChest_openChest), "$closeChest", $rt_wrapFunction0(nms_InventoryEnderChest_closeChest)], nms_ContainerPlayer, "ContainerPlayer", 43, nms_Container, [], 0, 3, 0, 0, ["$onCraftMatrixChanged", $rt_wrapFunction1(nms_ContainerPlayer_onCraftMatrixChanged), "$onContainerClosed", $rt_wrapFunction1(nms_ContainerPlayer_onContainerClosed), "$canInteractWith", $rt_wrapFunction1(nms_ContainerPlayer_canInteractWith), "$transferStackInSlot", $rt_wrapFunction2(nms_ContainerPlayer_transferStackInSlot), "$func_94530_a", $rt_wrapFunction2(nms_ContainerPlayer_func_94530_a)], nms_ScoreDummyCriteria, "ScoreDummyCriteria", 43, jl_Object, [nms_ScoreObjectiveCriteria], 0, 3, 0, 0, 0, nms_ScoreHealthCriteria, "ScoreHealthCriteria", 43, nms_ScoreDummyCriteria, [], 0, 3, 0, 0, 0, nms_FlatLayerInfo, "FlatLayerInfo", 43, jl_Object, [], 0, 3, 0, 0, ["$toString", $rt_wrapFunction0(nms_FlatLayerInfo_toString)], nms_CombatTracker, "CombatTracker", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_InventoryCraftResult, 0, jl_Object, [nms_IInventory], 0, 3, 0, 0, ["$getStackInSlot", $rt_wrapFunction1(nms_InventoryCraftResult_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_InventoryCraftResult_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_InventoryCraftResult_setInventorySlotContents), "$getInventoryStackLimit", $rt_wrapFunction0(nms_InventoryCraftResult_getInventoryStackLimit), "$onInventoryChanged", $rt_wrapFunction0(nms_InventoryCraftResult_onInventoryChanged)], nms_SlotCrafting, "SlotCrafting", 43, nms_Slot, [], 0, 3, 0, 0, ["$isItemValid", $rt_wrapFunction1(nms_SlotCrafting_isItemValid), "$decrStackSize0", $rt_wrapFunction1(nms_SlotCrafting_decrStackSize), "$onCrafting", $rt_wrapFunction2(nms_SlotCrafting_onCrafting0), "$onPickupFromSlot", $rt_wrapFunction2(nms_SlotCrafting_onPickupFromSlot)], nms_SlotArmor, "SlotArmor", 43, nms_Slot, [], 0, 0, 0, 0, ["$getSlotStackLimit", $rt_wrapFunction0(nms_SlotArmor_getSlotStackLimit), "$isItemValid", $rt_wrapFunction1(nms_SlotArmor_isItemValid), "$getBackgroundIconIndex", $rt_wrapFunction0(nms_SlotArmor_getBackgroundIconIndex)], nms_EntityAIBase, "EntityAIBase", 43, jl_Object, [], 1, 3, 0, 0, ["$continueExecuting", $rt_wrapFunction0(nms_EntityAIBase_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIBase_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIBase_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIBase_updateTask)], nms_EntityAISwimming, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAISwimming_shouldExecute), "$updateTask", $rt_wrapFunction0(nms_EntityAISwimming_updateTask)], nms_EntityAICreeperSwell, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAICreeperSwell_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAICreeperSwell_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAICreeperSwell_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAICreeperSwell_updateTask)], nms_EntityAIAvoidEntity, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIAvoidEntity_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIAvoidEntity_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIAvoidEntity_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIAvoidEntity_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIAvoidEntity_updateTask)], nms_EntityAIAttackOnCollide, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIAttackOnCollide_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIAttackOnCollide_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIAttackOnCollide_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIAttackOnCollide_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIAttackOnCollide_updateTask)], nms_EntityAIWander, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIWander_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIWander_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIWander_startExecuting)], nms_EntityAIWatchClosest, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIWatchClosest_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIWatchClosest_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIWatchClosest_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIWatchClosest_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIWatchClosest_updateTask)], nms_EntityAILookIdle, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAILookIdle_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAILookIdle_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAILookIdle_startExecuting), "$updateTask", $rt_wrapFunction0(nms_EntityAILookIdle_updateTask)], nms_EntityAITarget, 0, nms_EntityAIBase, [], 1, 3, 0, 0, ["$continueExecuting", $rt_wrapFunction0(nms_EntityAITarget_continueExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAITarget_resetTask)], nms_EntityAINearestAttackableTarget, 0, nms_EntityAITarget, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAINearestAttackableTarget_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAINearestAttackableTarget_startExecuting)], nms_EntityAIHurtByTarget, 0, nms_EntityAITarget, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIHurtByTarget_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAIHurtByTarget_startExecuting)], nms_EntityAIArrowAttack, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIArrowAttack_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIArrowAttack_continueExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIArrowAttack_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIArrowAttack_updateTask)], nms_EntityAIRestrictSun, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIRestrictSun_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAIRestrictSun_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIRestrictSun_resetTask)], nms_EntityAIFleeSun, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIFleeSun_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIFleeSun_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIFleeSun_startExecuting)], nms_EntityAIDoorInteract, 0, nms_EntityAIBase, [], 1, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIDoorInteract_shouldExecute)], nms_EntityAIBreakDoor, 0, nms_EntityAIDoorInteract, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIBreakDoor_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAIBreakDoor_startExecuting), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIBreakDoor_continueExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIBreakDoor_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIBreakDoor_updateTask)], nms_EntityAIMoveTowardsRestriction, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIMoveTowardsRestriction_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIMoveTowardsRestriction_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIMoveTowardsRestriction_startExecuting)], nms_EntityAIMoveThroughVillage, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIMoveThroughVillage_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIMoveThroughVillage_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIMoveThroughVillage_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIMoveThroughVillage_resetTask)]]); $rt_metadata([nms_EntityDragonPart, "EntityDragonPart", 43, nms_Entity, [], 0, 3, [0,0,0], 0, ["$entityInit", $rt_wrapFunction0(nms_EntityDragonPart_entityInit), "$writeEntityToNBT", $rt_wrapFunction1(nms_EntityDragonPart_writeEntityToNBT), "$canBeCollidedWith", $rt_wrapFunction0(nms_EntityDragonPart_canBeCollidedWith), "$attackEntityFrom", $rt_wrapFunction2(nms_EntityDragonPart_attackEntityFrom), "$isEntityEqual", $rt_wrapFunction1(nms_EntityDragonPart_isEntityEqual)], nms_EntityAIPanic, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIPanic_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAIPanic_startExecuting), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIPanic_continueExecuting)], nms_EntityAIControlledByPlayer, "EntityAIControlledByPlayer", 43, nms_EntityAIBase, [], 0, 3, 0, 0, ["$startExecuting", $rt_wrapFunction0(nms_EntityAIControlledByPlayer_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIControlledByPlayer_resetTask), "$shouldExecute", $rt_wrapFunction0(nms_EntityAIControlledByPlayer_shouldExecute), "$updateTask", $rt_wrapFunction0(nms_EntityAIControlledByPlayer_updateTask)], nms_EntityAIMate, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIMate_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIMate_continueExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIMate_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIMate_updateTask)], nms_EntityAITempt, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAITempt_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAITempt_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAITempt_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAITempt_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAITempt_updateTask)], nms_EntityAIFollowParent, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIFollowParent_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIFollowParent_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIFollowParent_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIFollowParent_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIFollowParent_updateTask)], nms_ContainerSheep, 0, nms_Container, [], 0, 0, 0, 0, 0, nms_EntityAIEatGrass, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIEatGrass_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAIEatGrass_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIEatGrass_resetTask), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIEatGrass_continueExecuting), "$updateTask", $rt_wrapFunction0(nms_EntityAIEatGrass_updateTask)], nms_EntityAILeapAtTarget, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAILeapAtTarget_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAILeapAtTarget_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAILeapAtTarget_startExecuting)], nms_EntityAIFollowOwner, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIFollowOwner_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIFollowOwner_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIFollowOwner_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIFollowOwner_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIFollowOwner_updateTask)], nms_EntityAIBeg, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIBeg_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIBeg_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIBeg_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIBeg_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIBeg_updateTask)], nms_EntityAIOwnerHurtByTarget, 0, nms_EntityAITarget, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIOwnerHurtByTarget_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAIOwnerHurtByTarget_startExecuting)], nms_EntityAIOwnerHurtTarget, 0, nms_EntityAITarget, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIOwnerHurtTarget_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAIOwnerHurtTarget_startExecuting)], nms_EntityAITargetNonTamed, 0, nms_EntityAINearestAttackableTarget, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAITargetNonTamed_shouldExecute)], nms_EntityAIOcelotSit, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIOcelotSit_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIOcelotSit_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIOcelotSit_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIOcelotSit_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIOcelotSit_updateTask)], nms_EntityAIOcelotAttack, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIOcelotAttack_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIOcelotAttack_continueExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIOcelotAttack_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIOcelotAttack_updateTask)], nms_EntityAIMoveTowardsTarget, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIMoveTowardsTarget_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIMoveTowardsTarget_continueExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIMoveTowardsTarget_resetTask), "$startExecuting", $rt_wrapFunction0(nms_EntityAIMoveTowardsTarget_startExecuting)], nms_EntityAILookAtVillager, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAILookAtVillager_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAILookAtVillager_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAILookAtVillager_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAILookAtVillager_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAILookAtVillager_updateTask)], nms_EntityAIDefendVillage, 0, nms_EntityAITarget, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIDefendVillage_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAIDefendVillage_startExecuting)], nms_EntityAIRunAroundLikeCrazy, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIRunAroundLikeCrazy_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAIRunAroundLikeCrazy_startExecuting), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIRunAroundLikeCrazy_continueExecuting), "$updateTask", $rt_wrapFunction0(nms_EntityAIRunAroundLikeCrazy_updateTask)], nms_EntityAITasks, "EntityAITasks", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_IEntitySelector, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_EntityAIAvoidEntitySelector, 0, jl_Object, [nms_IEntitySelector], 0, 0, 0, 0, ["$isEntityApplicable", $rt_wrapFunction1(nms_EntityAIAvoidEntitySelector_isEntityApplicable)], nms_PathNavigate, "PathNavigate", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_EntityLookHelper, "EntityLookHelper", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_EntityMoveHelper, "EntityMoveHelper", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_EntityJumpHelper, "EntityJumpHelper", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_EntityBodyHelper, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_EntitySenses, "EntitySenses", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_EntityAINearestAttackableTargetSorter, 0, jl_Object, [ju_Comparator], 0, 3, 0, 0, ["$compare0", $rt_wrapFunction2(nms_EntityAINearestAttackableTargetSorter_compare)], nms_EntityAINearestAttackableTargetSelector, 0, jl_Object, [nms_IEntitySelector], 0, 0, 0, 0, ["$isEntityApplicable", $rt_wrapFunction1(nms_EntityAINearestAttackableTargetSelector_isEntityApplicable)], nms_EntityWitherAttackFilter, 0, jl_Object, [nms_IEntitySelector], 4, 0, 0, 0, ["$isEntityApplicable", $rt_wrapFunction1(nms_EntityWitherAttackFilter_isEntityApplicable)], nms_EntityAISit, "EntityAISit", 43, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAISit_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAISit_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAISit_resetTask)], nms_EntityHorseBredSelector, 0, jl_Object, [nms_IEntitySelector], 4, 0, 0, 0, ["$isEntityApplicable", $rt_wrapFunction1(nms_EntityHorseBredSelector_isEntityApplicable)], nms_EntityAITradePlayer, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAITradePlayer_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAITradePlayer_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAITradePlayer_resetTask)], nms_EntityAILookAtTradePlayer, 0, nms_EntityAIWatchClosest, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAILookAtTradePlayer_shouldExecute)], nms_EntityAIMoveIndoors, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIMoveIndoors_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIMoveIndoors_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIMoveIndoors_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIMoveIndoors_resetTask)], nms_EntityAIRestrictOpenDoor, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIRestrictOpenDoor_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIRestrictOpenDoor_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIRestrictOpenDoor_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIRestrictOpenDoor_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIRestrictOpenDoor_updateTask)], nms_EntityAIOpenDoor, 0, nms_EntityAIDoorInteract, [], 0, 3, 0, 0, ["$continueExecuting", $rt_wrapFunction0(nms_EntityAIOpenDoor_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIOpenDoor_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIOpenDoor_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIOpenDoor_updateTask)], nms_EntityAIVillagerMate, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIVillagerMate_shouldExecute), "$startExecuting", $rt_wrapFunction0(nms_EntityAIVillagerMate_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIVillagerMate_resetTask), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIVillagerMate_continueExecuting), "$updateTask", $rt_wrapFunction0(nms_EntityAIVillagerMate_updateTask)], nms_EntityAIFollowGolem, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIFollowGolem_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIFollowGolem_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIFollowGolem_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIFollowGolem_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIFollowGolem_updateTask)], nms_EntityAIPlay, 0, nms_EntityAIBase, [], 0, 3, 0, 0, ["$shouldExecute", $rt_wrapFunction0(nms_EntityAIPlay_shouldExecute), "$continueExecuting", $rt_wrapFunction0(nms_EntityAIPlay_continueExecuting), "$startExecuting", $rt_wrapFunction0(nms_EntityAIPlay_startExecuting), "$resetTask", $rt_wrapFunction0(nms_EntityAIPlay_resetTask), "$updateTask", $rt_wrapFunction0(nms_EntityAIPlay_updateTask)], nms_EntityAIWatchClosest2, 0, nms_EntityAIWatchClosest, [], 0, 3, 0, 0, 0, nms_FilterIMob, 0, jl_Object, [nms_IEntitySelector], 4, 0, 0, 0, ["$isEntityApplicable", $rt_wrapFunction1(nms_FilterIMob_isEntityApplicable)], ju_AbstractMap$KeySet$1, 0, jl_Object, [ju_Iterator], 0, 0, 0, 0, ["$hasNext", $rt_wrapFunction0(ju_AbstractMap$KeySet$1_hasNext), "$next", $rt_wrapFunction0(ju_AbstractMap$KeySet$1_next), "$remove0", $rt_wrapFunction0(ju_AbstractMap$KeySet$1_remove)], ju_LinkedHashMapIterator$EntryIterator, 0, ju_LinkedHashMapIterator, [ju_Iterator], 0, 0, 0, 0, 0, nms_WorldChunkManagerHell, 0, nms_WorldChunkManager, [], 0, 3, 0, 0, ["$getBiomeGenAt", $rt_wrapFunction2(nms_WorldChunkManagerHell_getBiomeGenAt), "$getTemperatures", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldChunkManagerHell_getTemperatures(this, var_1, var_2, var_3, var_4, var_5); }, "$getRainfall", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldChunkManagerHell_getRainfall(this, var_1, var_2, var_3, var_4, var_5); }, "$getBiomeGenAt0", function(var_1, var_2, var_3, var_4, var_5, var_6) { return nms_WorldChunkManagerHell_getBiomeGenAt0(this, var_1, var_2, var_3, var_4, var_5, var_6); }], nms_Village, "Village", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_EntityAITaskEntry, "EntityAITaskEntry", 43, jl_Object, [], 0, 0, 0, 0, 0, nle_GuiSlotRelay$1, 0, jl_Object, [], 32, 0, 0, nle_GuiSlotRelay$1_$callClinit, 0]); $rt_metadata([nms_IChunkProvider, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_ChunkProviderClient, 0, jl_Object, [nms_IChunkProvider], 0, 3, 0, 0, 0, nms_IUpdatePlayerListBox, 0, jl_Object, [], 3, 3, 0, 0, 0, nms_SoundUpdaterMinecart, 0, jl_Object, [nms_IUpdatePlayerListBox], 0, 3, 0, 0, 0, nms_GuiCreateFlatWorldListSlot, 0, nms_GuiSlot, [], 0, 0, 0, 0, ["$getSize", $rt_wrapFunction0(nms_GuiCreateFlatWorldListSlot_getSize), "$elementClicked", $rt_wrapFunction2(nms_GuiCreateFlatWorldListSlot_elementClicked), "$isSelected", $rt_wrapFunction1(nms_GuiCreateFlatWorldListSlot_isSelected), "$drawBackground0", $rt_wrapFunction0(nms_GuiCreateFlatWorldListSlot_drawBackground), "$drawSlot", function(var_1, var_2, var_3, var_4, var_5) { nms_GuiCreateFlatWorldListSlot_drawSlot(this, var_1, var_2, var_3, var_4, var_5); }, "$getScrollBarX", $rt_wrapFunction0(nms_GuiCreateFlatWorldListSlot_getScrollBarX)], nms_GuiSlider2, 0, nms_GuiButton, [], 0, 3, 0, 0, ["$getHoverState", $rt_wrapFunction1(nms_GuiSlider2_getHoverState)], nle_GuiScreenChangeRelayTimeout$1, 0, nms_GuiSlider2, [], 0, 0, 0, 0, ["$mouseDragged", $rt_wrapFunction3(nle_GuiScreenChangeRelayTimeout$1_mouseDragged)], nms_EntityDamageSource, 0, nms_DamageSource, [], 0, 3, 0, 0, ["$getEntity", $rt_wrapFunction0(nms_EntityDamageSource_getEntity)], nms_EntityDamageSourceIndirect, 0, nms_EntityDamageSource, [], 0, 3, 0, 0, ["$getSourceOfDamage", $rt_wrapFunction0(nms_EntityDamageSourceIndirect_getSourceOfDamage), "$getEntity", $rt_wrapFunction0(nms_EntityDamageSourceIndirect_getEntity)], nms_GuiFlatPresets, 0, nms_GuiScreen, [], 0, 3, 0, nms_GuiFlatPresets_$callClinit, ["$initGui", $rt_wrapFunction0(nms_GuiFlatPresets_initGui), "$onGuiClosed", $rt_wrapFunction0(nms_GuiFlatPresets_onGuiClosed), "$mouseClicked", $rt_wrapFunction3(nms_GuiFlatPresets_mouseClicked), "$keyTyped", $rt_wrapFunction2(nms_GuiFlatPresets_keyTyped), "$actionPerformed", $rt_wrapFunction1(nms_GuiFlatPresets_actionPerformed), "$drawScreen", $rt_wrapFunction3(nms_GuiFlatPresets_drawScreen), "$updateScreen", $rt_wrapFunction0(nms_GuiFlatPresets_updateScreen)], nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy, 0, jl_Object, [nle_RelayServerSocket], 0, 0, 0, 0, ["$isOpen", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_isOpen), "$isClosed", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_isClosed), "$close", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_close), "$isFailed", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_isFailed), "$getException", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_getException), "$writePacket0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_writePacket), "$readPacket", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_readPacket), "$nextPacket", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_nextPacket), "$getURI", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketRatelimitDummy_getURI)], nlea_EaglerAdapterImpl2$RelayServerSocketImpl, 0, jl_Object, [nle_RelayServerSocket], 0, 0, 0, 0, ["$isOpen", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketImpl_isOpen), "$isClosed", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketImpl_isClosed), "$close", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketImpl_close), "$isFailed", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketImpl_isFailed), "$getException", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketImpl_getException), "$writePacket0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$RelayServerSocketImpl_writePacket), "$readPacket", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketImpl_readPacket), "$nextPacket", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketImpl_nextPacket), "$getURI", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketImpl_getURI)], ju_Collections$9, 0, ju_AbstractList, [], 0, 0, 0, 0, 0, nms_EmptyChunk, 0, nms_Chunk, [], 0, 3, 0, 0, ["$getHeightValue", $rt_wrapFunction2(nms_EmptyChunk_getHeightValue), "$generateHeightMap", $rt_wrapFunction0(nms_EmptyChunk_generateHeightMap), "$generateSkylightMap", $rt_wrapFunction0(nms_EmptyChunk_generateSkylightMap), "$getBlockID", $rt_wrapFunction3(nms_EmptyChunk_getBlockID), "$getBlockLightOpacity", $rt_wrapFunction3(nms_EmptyChunk_getBlockLightOpacity), "$setBlockIDWithMetadata", function(var_1, var_2, var_3, var_4, var_5) { return nms_EmptyChunk_setBlockIDWithMetadata(this, var_1, var_2, var_3, var_4, var_5); }, "$getBlockMetadata", $rt_wrapFunction3(nms_EmptyChunk_getBlockMetadata), "$setBlockMetadata", $rt_wrapFunction4(nms_EmptyChunk_setBlockMetadata), "$getSavedLightValue", $rt_wrapFunction4(nms_EmptyChunk_getSavedLightValue), "$setLightValue", function(var_1, var_2, var_3, var_4, var_5) { nms_EmptyChunk_setLightValue(this, var_1, var_2, var_3, var_4, var_5); }, "$getBlockLightValue", $rt_wrapFunction4(nms_EmptyChunk_getBlockLightValue), "$addEntity", $rt_wrapFunction1(nms_EmptyChunk_addEntity), "$removeEntity", $rt_wrapFunction1(nms_EmptyChunk_removeEntity), "$removeEntityAtIndex", $rt_wrapFunction2(nms_EmptyChunk_removeEntityAtIndex), "$canBlockSeeTheSky", $rt_wrapFunction3(nms_EmptyChunk_canBlockSeeTheSky), "$getChunkBlockTileEntity", $rt_wrapFunction3(nms_EmptyChunk_getChunkBlockTileEntity), "$setChunkBlockTileEntity", $rt_wrapFunction4(nms_EmptyChunk_setChunkBlockTileEntity), "$removeChunkBlockTileEntity", $rt_wrapFunction3(nms_EmptyChunk_removeChunkBlockTileEntity), "$onChunkUnload", $rt_wrapFunction0(nms_EmptyChunk_onChunkUnload), "$setChunkModified", $rt_wrapFunction0(nms_EmptyChunk_setChunkModified), "$getEntitiesWithinAABBForEntity", $rt_wrapFunction4(nms_EmptyChunk_getEntitiesWithinAABBForEntity), "$getEntitiesOfTypeWithinAAAB", $rt_wrapFunction4(nms_EmptyChunk_getEntitiesOfTypeWithinAAAB), "$getRandomWithSeed", $rt_wrapFunction1(nms_EmptyChunk_getRandomWithSeed), "$isEmpty", $rt_wrapFunction0(nms_EmptyChunk_isEmpty), "$getAreLevelsEmpty", $rt_wrapFunction2(nms_EmptyChunk_getAreLevelsEmpty)], nms_GenLayer, 0, jl_Object, [], 1, 3, 0, 0, ["$initWorldGenSeed", $rt_wrapFunction1(nms_GenLayer_initWorldGenSeed)], nlea_EaglerAdapterImpl2$RelayServerSocketImpl$1, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$RelayServerSocketImpl$1_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$RelayServerSocketImpl$2, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$RelayServerSocketImpl$2_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$RelayServerSocketImpl$3, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$RelayServerSocketImpl$3_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$RelayServerSocketImpl$4, 0, jl_Object, [otjb_TimerHandler], 0, 0, 0, 0, ["$onTimer$exported$0", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayServerSocketImpl$4_onTimer$exported$0)], nms_GenLayerIsland, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$getInts", $rt_wrapFunction4(nms_GenLayerIsland_getInts)], nms_GenLayerFuzzyZoom, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$getInts", $rt_wrapFunction4(nms_GenLayerFuzzyZoom_getInts)], nms_GenLayerAddIsland, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$getInts", $rt_wrapFunction4(nms_GenLayerAddIsland_getInts)], nms_GenLayerZoom, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$getInts", $rt_wrapFunction4(nms_GenLayerZoom_getInts)], nms_GenLayerAddSnow, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$getInts", $rt_wrapFunction4(nms_GenLayerAddSnow_getInts)], nms_GenLayerAddMushroomIsland, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$getInts", $rt_wrapFunction4(nms_GenLayerAddMushroomIsland_getInts)], nms_GenLayerRiverInit, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$getInts", $rt_wrapFunction4(nms_GenLayerRiverInit_getInts)], nms_GenLayerRiver, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$getInts", $rt_wrapFunction4(nms_GenLayerRiver_getInts)], nms_GenLayerSmooth, 0, nms_GenLayer, [], 0, 3, 0, 0, 0, nms_GenLayerBiome, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$getInts", $rt_wrapFunction4(nms_GenLayerBiome_getInts)], nms_GenLayerHills, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$getInts", $rt_wrapFunction4(nms_GenLayerHills_getInts)], nms_GenLayerRiverMix, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$initWorldGenSeed", $rt_wrapFunction1(nms_GenLayerRiverMix_initWorldGenSeed), "$getInts", $rt_wrapFunction4(nms_GenLayerRiverMix_getInts)], nms_GenLayerVoronoiZoom, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$getInts", $rt_wrapFunction4(nms_GenLayerVoronoiZoom_getInts)], nms_GenLayerShore, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$getInts", $rt_wrapFunction4(nms_GenLayerShore_getInts)], nms_GenLayerSwampRivers, 0, nms_GenLayer, [], 0, 3, 0, 0, ["$getInts", $rt_wrapFunction4(nms_GenLayerSwampRivers_getInts)], nms_ExtendedBlockStorage, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_GuiFlatPresetsItem, "GuiFlatPresetsItem", 43, jl_Object, [], 0, 0, 0, 0, 0, juf_BiFunction, "BiFunction", 8, jl_Object, [], 3, 3, 0, 0, 0, nms_EntityLivingData, "EntityLivingData", 43, jl_Object, [], 3, 3, 0, 0, 0, nms_PathEntity, "PathEntity", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_AttributeInstance, "AttributeInstance", 43, jl_Object, [], 3, 3, 0, 0, 0, nms_EnumCreatureAttribute, "EnumCreatureAttribute", 43, jl_Enum, [], 12, 3, 0, 0, 0, nms_EnumStatus, "EnumStatus", 43, jl_Enum, [], 12, 3, 0, 0, 0, nms_MapInfo, "MapInfo", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_VillageDoorInfo, "VillageDoorInfo", 43, jl_Object, [], 0, 3, 0, 0, 0, ji_PrintWriter, "PrintWriter", 12, ji_Writer, [], 0, 3, 0, 0, 0, nms_ServersideAttributeMap, 0, nms_BaseAttributeMap, [], 0, 3, 0, 0, 0, nms_GuiEditSign, 0, nms_GuiScreen, [], 0, 3, 0, nms_GuiEditSign_$callClinit, ["$initGui", $rt_wrapFunction0(nms_GuiEditSign_initGui), "$onGuiClosed", $rt_wrapFunction0(nms_GuiEditSign_onGuiClosed), "$updateScreen", $rt_wrapFunction0(nms_GuiEditSign_updateScreen), "$actionPerformed", $rt_wrapFunction1(nms_GuiEditSign_actionPerformed), "$keyTyped", $rt_wrapFunction2(nms_GuiEditSign_keyTyped), "$drawScreen", $rt_wrapFunction3(nms_GuiEditSign_drawScreen)], nms_GuiCommandBlock, 0, nms_GuiScreen, [], 0, 3, 0, 0, ["$updateScreen", $rt_wrapFunction0(nms_GuiCommandBlock_updateScreen), "$initGui", $rt_wrapFunction0(nms_GuiCommandBlock_initGui), "$onGuiClosed", $rt_wrapFunction0(nms_GuiCommandBlock_onGuiClosed), "$actionPerformed", $rt_wrapFunction1(nms_GuiCommandBlock_actionPerformed), "$keyTyped", $rt_wrapFunction2(nms_GuiCommandBlock_keyTyped), "$mouseClicked", $rt_wrapFunction3(nms_GuiCommandBlock_mouseClicked), "$drawScreen", $rt_wrapFunction3(nms_GuiCommandBlock_drawScreen)], nms_GuiChest, 0, nms_GuiContainer, [], 0, 3, 0, nms_GuiChest_$callClinit, ["$drawGuiContainerForegroundLayer", $rt_wrapFunction2(nms_GuiChest_drawGuiContainerForegroundLayer), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction3(nms_GuiChest_drawGuiContainerBackgroundLayer)], nms_GuiCrafting, 0, nms_GuiContainer, [], 0, 3, 0, nms_GuiCrafting_$callClinit, ["$drawGuiContainerForegroundLayer", $rt_wrapFunction2(nms_GuiCrafting_drawGuiContainerForegroundLayer), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction3(nms_GuiCrafting_drawGuiContainerBackgroundLayer)]]); $rt_metadata([nms_GuiBeacon, "GuiBeacon", 43, nms_GuiContainer, [], 0, 3, 0, nms_GuiBeacon_$callClinit, ["$initGui", $rt_wrapFunction0(nms_GuiBeacon_initGui), "$updateScreen", $rt_wrapFunction0(nms_GuiBeacon_updateScreen), "$actionPerformed", $rt_wrapFunction1(nms_GuiBeacon_actionPerformed), "$drawGuiContainerForegroundLayer", $rt_wrapFunction2(nms_GuiBeacon_drawGuiContainerForegroundLayer), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction3(nms_GuiBeacon_drawGuiContainerBackgroundLayer)], nms_GuiRepair, "GuiRepair", 43, nms_GuiContainer, [nms_ICrafting], 0, 3, 0, nms_GuiRepair_$callClinit, ["$initGui", $rt_wrapFunction0(nms_GuiRepair_initGui), "$onGuiClosed", $rt_wrapFunction0(nms_GuiRepair_onGuiClosed), "$drawGuiContainerForegroundLayer", $rt_wrapFunction2(nms_GuiRepair_drawGuiContainerForegroundLayer), "$keyTyped", $rt_wrapFunction2(nms_GuiRepair_keyTyped), "$mouseClicked", $rt_wrapFunction3(nms_GuiRepair_mouseClicked), "$drawScreen", $rt_wrapFunction3(nms_GuiRepair_drawScreen), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction3(nms_GuiRepair_drawGuiContainerBackgroundLayer), "$sendContainerAndContentsToPlayer", $rt_wrapFunction2(nms_GuiRepair_sendContainerAndContentsToPlayer), "$sendSlotContents", $rt_wrapFunction3(nms_GuiRepair_sendSlotContents), "$sendProgressBarUpdate", $rt_wrapFunction3(nms_GuiRepair_sendProgressBarUpdate)], nms_GuiScreenHorseInventory, 0, nms_GuiContainer, [], 0, 3, 0, nms_GuiScreenHorseInventory_$callClinit, ["$drawGuiContainerForegroundLayer", $rt_wrapFunction2(nms_GuiScreenHorseInventory_drawGuiContainerForegroundLayer), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction3(nms_GuiScreenHorseInventory_drawGuiContainerBackgroundLayer), "$drawScreen", $rt_wrapFunction3(nms_GuiScreenHorseInventory_drawScreen)], nms_GuiDispenser, 0, nms_GuiContainer, [], 0, 3, 0, nms_GuiDispenser_$callClinit, ["$drawGuiContainerForegroundLayer", $rt_wrapFunction2(nms_GuiDispenser_drawGuiContainerForegroundLayer), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction3(nms_GuiDispenser_drawGuiContainerBackgroundLayer)], nms_GuiHopper, 0, nms_GuiContainer, [], 0, 3, 0, nms_GuiHopper_$callClinit, ["$drawGuiContainerForegroundLayer", $rt_wrapFunction2(nms_GuiHopper_drawGuiContainerForegroundLayer), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction3(nms_GuiHopper_drawGuiContainerBackgroundLayer)], nms_GuiBrewingStand, 0, nms_GuiContainer, [], 0, 3, 0, nms_GuiBrewingStand_$callClinit, ["$drawGuiContainerForegroundLayer", $rt_wrapFunction2(nms_GuiBrewingStand_drawGuiContainerForegroundLayer), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction3(nms_GuiBrewingStand_drawGuiContainerBackgroundLayer)], nms_GuiEnchantment, 0, nms_GuiContainer, [], 0, 3, 0, nms_GuiEnchantment_$callClinit, ["$drawGuiContainerForegroundLayer", $rt_wrapFunction2(nms_GuiEnchantment_drawGuiContainerForegroundLayer), "$updateScreen", $rt_wrapFunction0(nms_GuiEnchantment_updateScreen), "$mouseClicked", $rt_wrapFunction3(nms_GuiEnchantment_mouseClicked), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction3(nms_GuiEnchantment_drawGuiContainerBackgroundLayer)], nms_GuiFurnace, 0, nms_GuiContainer, [], 0, 3, 0, nms_GuiFurnace_$callClinit, ["$drawGuiContainerForegroundLayer", $rt_wrapFunction2(nms_GuiFurnace_drawGuiContainerForegroundLayer), "$drawGuiContainerBackgroundLayer", $rt_wrapFunction3(nms_GuiFurnace_drawGuiContainerBackgroundLayer)], nms_ChunkCoordIntPair, "ChunkCoordIntPair", 43, jl_Object, [], 0, 3, 0, 0, ["$hashCode", $rt_wrapFunction0(nms_ChunkCoordIntPair_hashCode), "$equals", $rt_wrapFunction1(nms_ChunkCoordIntPair_equals), "$toString", $rt_wrapFunction0(nms_ChunkCoordIntPair_toString)], nms_EntityPlayerMP, 0, nms_EntityPlayer, [nms_ICrafting], 0, 3, 0, 0, 0, nlesrp_ICEServerSet$RelayType, "ICEServerSet$RelayType", 52, jl_Enum, [], 12, 3, 0, 0, 0, nms_GuiFlatPresetsListSlot, 0, nms_GuiSlot, [], 0, 0, 0, 0, ["$getSize", $rt_wrapFunction0(nms_GuiFlatPresetsListSlot_getSize), "$elementClicked", $rt_wrapFunction2(nms_GuiFlatPresetsListSlot_elementClicked), "$isSelected", $rt_wrapFunction1(nms_GuiFlatPresetsListSlot_isSelected), "$drawBackground0", $rt_wrapFunction0(nms_GuiFlatPresetsListSlot_drawBackground), "$drawSlot", function(var_1, var_2, var_3, var_4, var_5) { nms_GuiFlatPresetsListSlot_drawSlot(this, var_1, var_2, var_3, var_4, var_5); }], nms_LowerStringMap, 0, jl_Object, [ju_Map], 0, 3, 0, 0, 0, nms_ContainerChest, 0, nms_Container, [], 0, 3, 0, 0, ["$canInteractWith", $rt_wrapFunction1(nms_ContainerChest_canInteractWith), "$transferStackInSlot", $rt_wrapFunction2(nms_ContainerChest_transferStackInSlot), "$onContainerClosed", $rt_wrapFunction1(nms_ContainerChest_onContainerClosed)], nms_ContainerWorkbench, 0, nms_Container, [], 0, 3, 0, 0, ["$onCraftMatrixChanged", $rt_wrapFunction1(nms_ContainerWorkbench_onCraftMatrixChanged), "$onContainerClosed", $rt_wrapFunction1(nms_ContainerWorkbench_onContainerClosed), "$canInteractWith", $rt_wrapFunction1(nms_ContainerWorkbench_canInteractWith), "$transferStackInSlot", $rt_wrapFunction2(nms_ContainerWorkbench_transferStackInSlot), "$func_94530_a", $rt_wrapFunction2(nms_ContainerWorkbench_func_94530_a)], nms_ContainerBeacon, "ContainerBeacon", 43, nms_Container, [], 0, 3, 0, 0, ["$addCraftingToCrafters", $rt_wrapFunction1(nms_ContainerBeacon_addCraftingToCrafters), "$updateProgressBar", $rt_wrapFunction2(nms_ContainerBeacon_updateProgressBar), "$canInteractWith", $rt_wrapFunction1(nms_ContainerBeacon_canInteractWith), "$transferStackInSlot", $rt_wrapFunction2(nms_ContainerBeacon_transferStackInSlot)], nms_ContainerRepair, "ContainerRepair", 43, nms_Container, [], 0, 3, 0, 0, ["$addCraftingToCrafters", $rt_wrapFunction1(nms_ContainerRepair_addCraftingToCrafters), "$updateProgressBar", $rt_wrapFunction2(nms_ContainerRepair_updateProgressBar), "$onContainerClosed", $rt_wrapFunction1(nms_ContainerRepair_onContainerClosed), "$canInteractWith", $rt_wrapFunction1(nms_ContainerRepair_canInteractWith), "$transferStackInSlot", $rt_wrapFunction2(nms_ContainerRepair_transferStackInSlot)], nms_ContainerHorseInventory, "ContainerHorseInventory", 43, nms_Container, [], 0, 3, 0, 0, ["$canInteractWith", $rt_wrapFunction1(nms_ContainerHorseInventory_canInteractWith), "$transferStackInSlot", $rt_wrapFunction2(nms_ContainerHorseInventory_transferStackInSlot), "$onContainerClosed", $rt_wrapFunction1(nms_ContainerHorseInventory_onContainerClosed)], nms_ContainerDispenser, 0, nms_Container, [], 0, 3, 0, 0, ["$canInteractWith", $rt_wrapFunction1(nms_ContainerDispenser_canInteractWith), "$transferStackInSlot", $rt_wrapFunction2(nms_ContainerDispenser_transferStackInSlot)], nms_ContainerHopper, 0, nms_Container, [], 0, 3, 0, 0, ["$canInteractWith", $rt_wrapFunction1(nms_ContainerHopper_canInteractWith), "$transferStackInSlot", $rt_wrapFunction2(nms_ContainerHopper_transferStackInSlot), "$onContainerClosed", $rt_wrapFunction1(nms_ContainerHopper_onContainerClosed)], nms_ContainerMerchant, 0, nms_Container, [], 0, 3, 0, 0, ["$addCraftingToCrafters", $rt_wrapFunction1(nms_ContainerMerchant_addCraftingToCrafters), "$detectAndSendChanges", $rt_wrapFunction0(nms_ContainerMerchant_detectAndSendChanges), "$updateProgressBar", $rt_wrapFunction2(nms_ContainerMerchant_updateProgressBar), "$canInteractWith", $rt_wrapFunction1(nms_ContainerMerchant_canInteractWith), "$transferStackInSlot", $rt_wrapFunction2(nms_ContainerMerchant_transferStackInSlot), "$onContainerClosed", $rt_wrapFunction1(nms_ContainerMerchant_onContainerClosed)], nms_ContainerBrewingStand, "ContainerBrewingStand", 43, nms_Container, [], 0, 3, 0, 0, ["$addCraftingToCrafters", $rt_wrapFunction1(nms_ContainerBrewingStand_addCraftingToCrafters), "$detectAndSendChanges", $rt_wrapFunction0(nms_ContainerBrewingStand_detectAndSendChanges), "$updateProgressBar", $rt_wrapFunction2(nms_ContainerBrewingStand_updateProgressBar), "$canInteractWith", $rt_wrapFunction1(nms_ContainerBrewingStand_canInteractWith), "$transferStackInSlot", $rt_wrapFunction2(nms_ContainerBrewingStand_transferStackInSlot)], nms_ContainerEnchantment, "ContainerEnchantment", 43, nms_Container, [], 0, 3, 0, 0, ["$addCraftingToCrafters", $rt_wrapFunction1(nms_ContainerEnchantment_addCraftingToCrafters), "$detectAndSendChanges", $rt_wrapFunction0(nms_ContainerEnchantment_detectAndSendChanges), "$updateProgressBar", $rt_wrapFunction2(nms_ContainerEnchantment_updateProgressBar), "$onContainerClosed", $rt_wrapFunction1(nms_ContainerEnchantment_onContainerClosed), "$canInteractWith", $rt_wrapFunction1(nms_ContainerEnchantment_canInteractWith), "$transferStackInSlot", $rt_wrapFunction2(nms_ContainerEnchantment_transferStackInSlot)], nms_ContainerFurnace, 0, nms_Container, [], 0, 3, 0, 0, ["$addCraftingToCrafters", $rt_wrapFunction1(nms_ContainerFurnace_addCraftingToCrafters), "$detectAndSendChanges", $rt_wrapFunction0(nms_ContainerFurnace_detectAndSendChanges), "$updateProgressBar", $rt_wrapFunction2(nms_ContainerFurnace_updateProgressBar), "$canInteractWith", $rt_wrapFunction1(nms_ContainerFurnace_canInteractWith), "$transferStackInSlot", $rt_wrapFunction2(nms_ContainerFurnace_transferStackInSlot)], nle_RelayQuery, 0, jl_Object, [], 3, 3, 0, 0, 0, nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy, 0, jl_Object, [nle_RelayQuery], 0, 0, 0, 0, ["$isQueryOpen", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_isQueryOpen), "$isQueryFailed", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_isQueryFailed), "$close", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_close), "$getVersion", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_getVersion), "$getComment", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_getComment), "$getBrand", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_getBrand), "$getPing", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_getPing), "$getCompatible", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryRatelimitDummy_getCompatible)], nlea_EaglerAdapterImpl2$RelayQueryImpl, 0, jl_Object, [nle_RelayQuery], 0, 0, 0, 0, ["$isQueryOpen", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryImpl_isQueryOpen), "$isQueryFailed", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryImpl_isQueryFailed), "$close", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryImpl_close), "$getVersion", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryImpl_getVersion), "$getComment", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryImpl_getComment), "$getBrand", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryImpl_getBrand), "$getPing", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryImpl_getPing), "$getCompatible", $rt_wrapFunction0(nlea_EaglerAdapterImpl2$RelayQueryImpl_getCompatible)], nms_EntityTracker, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_NetServerHandler, 0, nms_NetHandler, [], 0, 3, 0, nms_NetServerHandler_$callClinit, 0, nms_SlotBeacon, "SlotBeacon", 43, nms_Slot, [], 0, 0, 0, 0, ["$isItemValid", $rt_wrapFunction1(nms_SlotBeacon_isItemValid), "$getSlotStackLimit", $rt_wrapFunction0(nms_SlotBeacon_getSlotStackLimit)], nms_ContainerRepairINNER1, 0, nms_InventoryBasic, [], 0, 0, 0, 0, ["$onInventoryChanged", $rt_wrapFunction0(nms_ContainerRepairINNER1_onInventoryChanged)], nms_ContainerRepairINNER2, "ContainerRepairINNER2", 43, nms_Slot, [], 0, 0, 0, 0, ["$isItemValid", $rt_wrapFunction1(nms_ContainerRepairINNER2_isItemValid), "$canTakeStack", $rt_wrapFunction1(nms_ContainerRepairINNER2_canTakeStack), "$onPickupFromSlot", $rt_wrapFunction2(nms_ContainerRepairINNER2_onPickupFromSlot)], nms_ContainerHorseInventorySlotSaddle, "ContainerHorseInventorySlotSaddle", 43, nms_Slot, [], 0, 0, 0, 0, ["$isItemValid", $rt_wrapFunction1(nms_ContainerHorseInventorySlotSaddle_isItemValid)], nms_ContainerHorseInventorySlotArmor, "ContainerHorseInventorySlotArmor", 43, nms_Slot, [], 0, 0, 0, 0, ["$isItemValid", $rt_wrapFunction1(nms_ContainerHorseInventorySlotArmor_isItemValid), "$func_111238_b", $rt_wrapFunction0(nms_ContainerHorseInventorySlotArmor_func_111238_b)], nms_SlotMerchantResult, "SlotMerchantResult", 43, nms_Slot, [], 0, 3, 0, 0, ["$isItemValid", $rt_wrapFunction1(nms_SlotMerchantResult_isItemValid), "$decrStackSize0", $rt_wrapFunction1(nms_SlotMerchantResult_decrStackSize), "$onCrafting", $rt_wrapFunction2(nms_SlotMerchantResult_onCrafting), "$onPickupFromSlot", $rt_wrapFunction2(nms_SlotMerchantResult_onPickupFromSlot)], nms_SlotBrewingStandPotion, "SlotBrewingStandPotion", 43, nms_Slot, [], 0, 0, 0, 0, ["$isItemValid", $rt_wrapFunction1(nms_SlotBrewingStandPotion_isItemValid), "$getSlotStackLimit", $rt_wrapFunction0(nms_SlotBrewingStandPotion_getSlotStackLimit), "$onPickupFromSlot", $rt_wrapFunction2(nms_SlotBrewingStandPotion_onPickupFromSlot)], nms_SlotBrewingStandIngredient, "SlotBrewingStandIngredient", 43, nms_Slot, [], 0, 0, 0, 0, ["$isItemValid", $rt_wrapFunction1(nms_SlotBrewingStandIngredient_isItemValid), "$getSlotStackLimit", $rt_wrapFunction0(nms_SlotBrewingStandIngredient_getSlotStackLimit)], nms_SlotEnchantmentTable, 0, nms_InventoryBasic, [], 0, 0, 0, 0, ["$getInventoryStackLimit", $rt_wrapFunction0(nms_SlotEnchantmentTable_getInventoryStackLimit), "$onInventoryChanged", $rt_wrapFunction0(nms_SlotEnchantmentTable_onInventoryChanged)], nms_SlotEnchantment, "SlotEnchantment", 43, nms_Slot, [], 0, 0, 0, 0, ["$isItemValid", $rt_wrapFunction1(nms_SlotEnchantment_isItemValid)], nms_SlotFurnace, "SlotFurnace", 43, nms_Slot, [], 0, 3, 0, 0, ["$isItemValid", $rt_wrapFunction1(nms_SlotFurnace_isItemValid), "$decrStackSize0", $rt_wrapFunction1(nms_SlotFurnace_decrStackSize), "$onPickupFromSlot", $rt_wrapFunction2(nms_SlotFurnace_onPickupFromSlot), "$onCrafting", $rt_wrapFunction2(nms_SlotFurnace_onCrafting0)], nlea_EaglerAdapterImpl2$RelayQueryImpl$1, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$RelayQueryImpl$1_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$RelayQueryImpl$2, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$RelayQueryImpl$2_handleEvent$exported$0)], nlea_EaglerAdapterImpl2$RelayQueryImpl$3, 0, jl_Object, [otjde_EventListener], 0, 0, 0, 0, ["$handleEvent$exported$0", $rt_wrapFunction1(nlea_EaglerAdapterImpl2$RelayQueryImpl$3_handleEvent$exported$0)], nleav_VirtualFilesystem$AsyncHandlers$15, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleav_VirtualFilesystem$AsyncHandlers$15_handleEvent$exported$0)], nleav_VirtualFilesystem$AsyncHandlers$16, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleav_VirtualFilesystem$AsyncHandlers$16_handleEvent$exported$0)], cjj_DeflaterOutputStream, 0, ji_FilterOutputStream, [], 0, 3, 0, 0, ["$write1", $rt_wrapFunction1(cjj_DeflaterOutputStream_write0), "$write4", $rt_wrapFunction3(cjj_DeflaterOutputStream_write), "$close", $rt_wrapFunction0(cjj_DeflaterOutputStream_close), "$flush", $rt_wrapFunction0(cjj_DeflaterOutputStream_flush)], cjj_GZIPOutputStream, 0, cjj_DeflaterOutputStream, [], 0, 3, 0, 0, 0, cjj_Deflater, 0, cjj_ZStream, [], 4, 3, 0, 0, 0, cjj_Deflate, 0, jl_Object, [jl_Cloneable], 4, 3, 0, 0, 0, cjj_Tree, 0, jl_Object, [], 4, 0, 0, 0, 0]); $rt_metadata([cjj_Deflate$Config, 0, jl_Object, [], 0, 0, 0, 0, 0, cjj_StaticTree, 0, jl_Object, [], 4, 0, 0, cjj_StaticTree_$callClinit, 0, nms_ModifiableAttributeInstance, "ModifiableAttributeInstance", 43, jl_Object, [nms_AttributeInstance], 0, 3, 0, 0, 0, nms_NibbleArray, 0, jl_Object, [], 0, 3, 0, 0, 0, ju_TreeMap$EntrySet, 0, ju_AbstractSet, [ju_SequencedSet], 0, 0, 0, 0, 0, nms_InventoryLargeChest, 0, jl_Object, [nms_IInventory], 0, 3, 0, 0, ["$getSizeInventory", $rt_wrapFunction0(nms_InventoryLargeChest_getSizeInventory), "$getInvName", $rt_wrapFunction0(nms_InventoryLargeChest_getInvName), "$isInvNameLocalized", $rt_wrapFunction0(nms_InventoryLargeChest_isInvNameLocalized), "$getStackInSlot", $rt_wrapFunction1(nms_InventoryLargeChest_getStackInSlot), "$decrStackSize", $rt_wrapFunction2(nms_InventoryLargeChest_decrStackSize), "$setInventorySlotContents", $rt_wrapFunction2(nms_InventoryLargeChest_setInventorySlotContents), "$getInventoryStackLimit", $rt_wrapFunction0(nms_InventoryLargeChest_getInventoryStackLimit), "$onInventoryChanged", $rt_wrapFunction0(nms_InventoryLargeChest_onInventoryChanged), "$isUseableByPlayer", $rt_wrapFunction1(nms_InventoryLargeChest_isUseableByPlayer), "$openChest", $rt_wrapFunction0(nms_InventoryLargeChest_openChest), "$closeChest", $rt_wrapFunction0(nms_InventoryLargeChest_closeChest), "$isItemValidForSlot", $rt_wrapFunction2(nms_InventoryLargeChest_isItemValidForSlot)], nms_BlockBaseRailLogic, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_GuiScreenBook, 0, nms_GuiScreen, [], 0, 3, 0, nms_GuiScreenBook_$callClinit, ["$updateScreen", $rt_wrapFunction0(nms_GuiScreenBook_updateScreen), "$initGui", $rt_wrapFunction0(nms_GuiScreenBook_initGui), "$onGuiClosed", $rt_wrapFunction0(nms_GuiScreenBook_onGuiClosed), "$actionPerformed", $rt_wrapFunction1(nms_GuiScreenBook_actionPerformed), "$keyTyped", $rt_wrapFunction2(nms_GuiScreenBook_keyTyped), "$drawScreen", $rt_wrapFunction3(nms_GuiScreenBook_drawScreen)], nms_EntityZombieGroupData, 0, jl_Object, [nms_EntityLivingData], 0, 0, 0, 0, 0, nms_EntityZombieINNER1, 0, jl_Object, [], 0, 0, 0, 0, 0, nms_EntityFireworkStarterFX, "EntityFireworkStarterFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityFireworkStarterFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityFireworkStarterFX_onUpdate), "$getFXLayer", $rt_wrapFunction0(nms_EntityFireworkStarterFX_getFXLayer)], nms_EntityHugeExplodeFX, "EntityHugeExplodeFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityHugeExplodeFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityHugeExplodeFX_onUpdate), "$getFXLayer", $rt_wrapFunction0(nms_EntityHugeExplodeFX_getFXLayer)], nms_EntityBubbleFX, "EntityBubbleFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$onUpdate", $rt_wrapFunction0(nms_EntityBubbleFX_onUpdate)], nms_EntitySuspendFX, "EntitySuspendFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$onUpdate", $rt_wrapFunction0(nms_EntitySuspendFX_onUpdate)], nms_EntityAuraFX, "EntityAuraFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$onUpdate", $rt_wrapFunction0(nms_EntityAuraFX_onUpdate)], nms_EntityCritFX, "EntityCritFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityCritFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityCritFX_onUpdate)], nms_EntitySpellParticleFX, "EntitySpellParticleFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntitySpellParticleFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntitySpellParticleFX_onUpdate)], nms_EntityNoteFX, "EntityNoteFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityNoteFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityNoteFX_onUpdate)], nms_EntityPortalFX, "EntityPortalFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityPortalFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$getBrightnessForRender", $rt_wrapFunction1(nms_EntityPortalFX_getBrightnessForRender), "$onUpdate", $rt_wrapFunction0(nms_EntityPortalFX_onUpdate)], nms_EntityEnchantmentTableParticleFX, "EntityEnchantmentTableParticleFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$getBrightnessForRender", $rt_wrapFunction1(nms_EntityEnchantmentTableParticleFX_getBrightnessForRender), "$onUpdate", $rt_wrapFunction0(nms_EntityEnchantmentTableParticleFX_onUpdate)], nms_EntityExplodeFX, "EntityExplodeFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$onUpdate", $rt_wrapFunction0(nms_EntityExplodeFX_onUpdate)], nms_EntityFlameFX, "EntityFlameFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityFlameFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$getBrightnessForRender", $rt_wrapFunction1(nms_EntityFlameFX_getBrightnessForRender), "$onUpdate", $rt_wrapFunction0(nms_EntityFlameFX_onUpdate)], nms_EntityLavaFX, "EntityLavaFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$getBrightnessForRender", $rt_wrapFunction1(nms_EntityLavaFX_getBrightnessForRender), "$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityLavaFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityLavaFX_onUpdate)], nms_EntityFootStepFX, "EntityFootStepFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], nms_EntityFootStepFX_$callClinit, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityFootStepFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityFootStepFX_onUpdate), "$getFXLayer", $rt_wrapFunction0(nms_EntityFootStepFX_getFXLayer)], nms_EntitySplashFX, "EntitySplashFX", 43, nms_EntityRainFX, [], 0, 3, [0,0,0], 0, 0, nms_EntityCloudFX, "EntityCloudFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityCloudFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityCloudFX_onUpdate)], nms_EntityReddustFX, "EntityReddustFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityReddustFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityReddustFX_onUpdate)], nms_EntityBreakingFX, "EntityBreakingFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$getFXLayer", $rt_wrapFunction0(nms_EntityBreakingFX_getFXLayer), "$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityBreakingFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_EntityDropParticleFX, "EntityDropParticleFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$getBrightnessForRender", $rt_wrapFunction1(nms_EntityDropParticleFX_getBrightnessForRender), "$onUpdate", $rt_wrapFunction0(nms_EntityDropParticleFX_onUpdate)], nms_EntitySnowShovelFX, "EntitySnowShovelFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntitySnowShovelFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntitySnowShovelFX_onUpdate)], nms_EntityHeartFX, "EntityHeartFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityHeartFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityHeartFX_onUpdate)], nms_EntityLargeExplodeFX, "EntityLargeExplodeFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], nms_EntityLargeExplodeFX_$callClinit, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityLargeExplodeFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$getBrightnessForRender", $rt_wrapFunction1(nms_EntityLargeExplodeFX_getBrightnessForRender), "$onUpdate", $rt_wrapFunction0(nms_EntityLargeExplodeFX_onUpdate), "$getFXLayer", $rt_wrapFunction0(nms_EntityLargeExplodeFX_getFXLayer)], nms_EntityFireworkSparkFX, "EntityFireworkSparkFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$getBoundingBox", $rt_wrapFunction0(nms_EntityFireworkSparkFX_getBoundingBox), "$canBePushed", $rt_wrapFunction0(nms_EntityFireworkSparkFX_canBePushed), "$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityFireworkSparkFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }, "$onUpdate", $rt_wrapFunction0(nms_EntityFireworkSparkFX_onUpdate), "$getBrightnessForRender", $rt_wrapFunction1(nms_EntityFireworkSparkFX_getBrightnessForRender)], nms_SpiderEffectsGroupData, 0, jl_Object, [nms_EntityLivingData], 0, 3, 0, 0, 0, nms_EntityHorseGroupData, 0, jl_Object, [nms_EntityLivingData], 0, 3, 0, 0, 0, nms_GuiBeaconButton, "GuiBeaconButton", 43, nms_GuiButton, [], 0, 0, 0, 0, ["$drawButton", $rt_wrapFunction3(nms_GuiBeaconButton_drawButton)], nms_GuiBeaconButtonConfirm, "GuiBeaconButtonConfirm", 43, nms_GuiBeaconButton, [], 0, 0, 0, 0, ["$func_82251_b", $rt_wrapFunction2(nms_GuiBeaconButtonConfirm_func_82251_b)], nms_GuiBeaconButtonCancel, "GuiBeaconButtonCancel", 43, nms_GuiBeaconButton, [], 0, 0, 0, 0, ["$func_82251_b", $rt_wrapFunction2(nms_GuiBeaconButtonCancel_func_82251_b)], nms_GuiButtonMerchant, "GuiButtonMerchant", 43, nms_GuiButton, [], 0, 0, 0, 0, ["$drawButton", $rt_wrapFunction3(nms_GuiButtonMerchant_drawButton)], nms_GuiBeaconButtonPower, "GuiBeaconButtonPower", 43, nms_GuiBeaconButton, [], 0, 0, 0, 0, ["$func_82251_b", $rt_wrapFunction2(nms_GuiBeaconButtonPower_func_82251_b)], nms_EnchantmentNameParts, 0, jl_Object, [], 0, 3, 0, nms_EnchantmentNameParts_$callClinit, 0, nms_BiomeCacheBlock, "BiomeCacheBlock", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_WeightedRandom, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_WeightedRandomMinecart, "WeightedRandomMinecart", 43, nms_WeightedRandomItem, [], 0, 3, 0, 0, 0, nms_EntitySelectorAlive, 0, jl_Object, [nms_IEntitySelector], 4, 0, 0, 0, ["$isEntityApplicable", $rt_wrapFunction1(nms_EntitySelectorAlive_isEntityApplicable)], nms_EntitySelectorInventory, 0, jl_Object, [nms_IEntitySelector], 4, 0, 0, 0, ["$isEntityApplicable", $rt_wrapFunction1(nms_EntitySelectorInventory_isEntityApplicable)], nms_CombatEntry, "CombatEntry", 43, jl_Object, [], 0, 3, 0, 0, 0, nms_WorldGenTaiga2, 0, nms_WorldGenerator, [], 0, 3, 0, 0, ["$generate", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldGenTaiga2_generate(this, var_1, var_2, var_3, var_4, var_5); }], nms_WorldGenHugeTrees, 0, nms_WorldGenerator, [], 0, 3, 0, 0, ["$generate", function(var_1, var_2, var_3, var_4, var_5) { return nms_WorldGenHugeTrees_generate(this, var_1, var_2, var_3, var_4, var_5); }], nms_PathFinder, 0, jl_Object, [], 0, 3, 0, 0, 0]); $rt_metadata([nms_EntityFireworkOverlayFX, "EntityFireworkOverlayFX", 43, nms_EntityFX, [], 0, 3, [0,0,0], 0, ["$renderParticle", function(var_1, var_2, var_3, var_4, var_5, var_6, var_7) { nms_EntityFireworkOverlayFX_renderParticle(this, var_1, var_2, var_3, var_4, var_5, var_6, var_7); }], nms_GuiButtonNextPage, "GuiButtonNextPage", 43, nms_GuiButton, [], 0, 0, 0, 0, ["$drawButton", $rt_wrapFunction3(nms_GuiButtonNextPage_drawButton)], ju_TreeMap$EntryIterator, 0, jl_Object, [ju_Iterator], 0, 0, 0, 0, 0, nms_Path, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_PathPoint, "PathPoint", 43, jl_Object, [], 0, 3, 0, 0, ["$equals", $rt_wrapFunction1(nms_PathPoint_equals), "$hashCode", $rt_wrapFunction0(nms_PathPoint_hashCode), "$toString", $rt_wrapFunction0(nms_PathPoint_toString)], nleav_VirtualFilesystem$AsyncHandlers$5, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleav_VirtualFilesystem$AsyncHandlers$5_handleEvent$exported$0)], nleav_VirtualFilesystem$AsyncHandlers$6, 0, jl_Object, [otji_EventHandler], 0, 0, 0, 0, ["$handleEvent$exported$00", $rt_wrapFunction0(nleav_VirtualFilesystem$AsyncHandlers$6_handleEvent$exported$0)], nms_IntCache, 0, jl_Object, [], 0, 3, 0, 0, 0, nms_RandomPositionGenerator, 0, jl_Object, [], 0, 3, 0, nms_RandomPositionGenerator_$callClinit, 0]); let $rt_booleanArrayCls = $rt_arraycls($rt_booleancls), $rt_charArrayCls = $rt_arraycls($rt_charcls), $rt_byteArrayCls = $rt_arraycls($rt_bytecls), $rt_shortArrayCls = $rt_arraycls($rt_shortcls), $rt_intArrayCls = $rt_arraycls($rt_intcls), $rt_longArrayCls = $rt_arraycls($rt_longcls), $rt_floatArrayCls = $rt_arraycls($rt_floatcls), $rt_doubleArrayCls = $rt_arraycls($rt_doublecls); $rt_stringPool(["Can\'t enter monitor from another thread synchronously", "null", "window.eaglercraftOpts = ", "There\'s a JSON syntax error in window.eaglercraftOpts:\n", "container", "string", "Container element \"", "\" does not exist in page", "joinServer", "assetsURI", " ... ", "JSON does not allow non-finite numbers.", "worker_bootstrap.js", "serverWorkerURI", "MAIN", "worldsFolder", "[no stack trace]", "\n\n", "", "JSONObject[", "] not found.", "] is not a ", "window.minecraftOpts = [ ", " ]", "...", ", ", "Game Crashed! I have fallen and I can\'t get up! If this has happened more than once then please copy the text on this screen and publish it in the issues feed of this fork\'s GitHub repository.\n\nThe URL to this fork\'s GitHub repository is: https://git.zelz.net/catfoolyou/Project164\n\n", "eaglercraft.version = \"", "25w13a", "\"\n", "eaglercraft.minecraft = \"1.6.4\"\n", "eaglercraft.brand = \"Catfoolyou\"\n", "eaglercraft.username = \"", "window.navigator.", "userAgent", " = ", "vendor", "language", "hardwareConcurrency", "deviceMemory", "platform", "product", "rootElement.clientWidth = ", "rootElement.clientHeight = ", "window.", "innerWidth", "innerHeight", "outerWidth", "outerHeight", "devicePixelRatio", "window.screen.", "availWidth", "availHeight", "colorDepth", "pixelDepth", "window.location.", "href", "\n----- Begin Minecraft Config -----\n", "", "\n----- End Minecraft Config -----\n\n", "minecraftServer", "position:relative;", "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAABxCAYAAAC9SpSwAAAQtnpUWHRSYXcgcHJvZmlsZSB0eXBlIGV4aWYAAHjarZlrkly7jYT/cxVeAt8gl0OAZMTsYJY/H1jdsqQrh+2Y2yXV4/QpPoBEZoIdzv/+zw3/4KemFkNtMvrsPfJTZ5158WbEz896zynW9/x+Svp6l369HuTrTcxcKn7n5+Pon9f0ff37vq/XtHjXfhpo2Ncv9NdfzPo1/vhtoPLTyjJv9tdA82ugkj+/SF8DrM+2Yp9Dft6Cns/r1/c/YeB/8Kcib+wfg/z+uQrR242LJedTUok851I/Cyj+P4eyeJN45hfZ39V35fM8v1ZCQP4Up/jTqsLvWfnx7restPPnpJT+uSNw4ddg9h+vf7wOZP4Y/PBC/DNO7Otd/vX6rfH8vp3v//fuEe49n92t2glp/9rU9xbfO25UQl7e1zoP4X/jvbzH5DEC6DWys6NF5W" + "Fppkxabqppp5VuOu/VkrHEmk8WXnO2XN61USTPbCWGlyce6WYps+wyyJ+R3sLV/GMt6c0733SWBhPvxJ05MVj6pD//PY9/OdC9DvmUPJikPr38pOxAZRmeOX/mLhKS7jeO2gvw9+P3H89rIYPthXmwwRX1M4S29IUtx1F5iS7c2Hj9lEWS/TUAIWLuxmJSIQOxp9JST1FylpSI4yA/i4GG14aSgtRa3qwy11I6yRnZ5+Y7kt69ueXPZTiLRLTSi5CaWRa5qhAb+JE6wNBqpdXWWm/SRptt9dJrb7136U5+S4pUadJFZMiUNcqoo40+ZIww5lgzzwI5ttmnzDHnXItJFyMvvr24YS3NWrRq066iQ6cuAz5WrVk3sRFs2tp5lw1P7L5ljz33OukApVNPO/3IGWeedYHaLbfedvuVO+6860fWUvik9S+P/zxr6Ttr+WXKb5QfWeOrIt9DJKeT5jkjYxnFIGOeAQCdPWdxpFpz8NR5zuLMVEXLrLJ5cnbyjJ" + "HBelJuN/3I3T8z90veQq3/r7zl78wFT93fkbngqfsXmftr3v6Qte1qY7GElyEvQw9qLJQfN608+Icm/eev4b/9wt8/0In35Clj53MtbQbay3TJha/Pkal9UOin9o2snXLdVJzrX8x6El9Up6p2YeDZ7wV5Y/ZWZzDrsVZAxUREcEtXINlSba6zTUo7DqNNZZ7E0GlIa3OfMnNv2cYao2mOEnZWMnx6MUFcO2kfd3QoZ7IO65tFgligM06VYamjx10GGcZxALBZbupiJbS1j5a+V9tDt/GvGR/r3nEymiW+cplN17qzsLtxyazNKjvJParJP+8Y0tKjru0vjl+vc9j299JPInSpnbbXGwBy3FFMWMZI5Uw7N5pqa6FLzXXavN2aLGB6zMbTnLuwLg3RomLPiV3HgUku87QbJ/vPsqlllauVYKcDOZfiTyyjorvMlm2f3G+8RnHU26nhpTqhsBk7QSEPiSKACKic+QARYJfY662kSbJyz20y4WC4mxqDTL" + "Rvdiqn4XOONR0EhnG4or7ZVKSV3SRYHcXIcdzjpK7spLVzqLEac1lnJ7T3trXSAgEbJb917dLbbgUs5cy+0mgiQa2kju+LR8HSIRLpggxyCUvEO5hWkQyq/UJFkMvIOmO9ZkIOtggga2opgLhVd2LLrZ6LMPGFTTjGXQBFsi8/GtWg+xxlaYQtH4WpABhgjToaKW0BWEBqZ7Y9xSprJzQ4EBIz9EBImNHdT7FThzuVx8CT7d25bm06r5Y7TGu4MJT0wm74vCZBJPbp4jZI7ny5A1NsEWq8x86u0RbOxjTLOXgVIZTNDfssWH8lcOSOaDIXN5OAWiFCpBuA4hObzbQJ2jLbnaKdN1H96XZFoVm6BGh3b2Pxslg5TpdBdNiNwEFbnxTSYvEwY1WBMoou0quCj2erCyAMT/EM5c4tk7ITRwOpJb98gV0Il6/gw4jLnqSA/MbVxAVtuan02dhz39d6C8uBxw0yG4qguQ8tE9Jm3Y1NqxiqA4OkzSC7rmOJSQ" + "0FA6+TYqSCZM4bjl1+2TcoQAQQiWK9wts5euIHQkcNIQwogqJEiaVFG6cpl7rXy6vIuAP1VJ0J7yC3G7Xy3XXwnNGTm/CratGOxFJ8InCPUc3crSdDUCmfyZ1XQ+sehTxAakljQkbCHUTrIcSUhXU2v+m72mUcWwqiL5AZaA52YBaWoTnI7dBKVmOjR0gmpWJOfqwuFp8ecJTuAiaiS/ds2PPqVhqkZmQZ+WaTgUZIWTLEjKceUE2bxicDi9PrCi43qCEDowuMjkcOXrnQQKJEIK6tCoeFTmhZy4QzjTXCgQDTOerenNAaalzHI4ziLMR64mnMRN8KDUKviZqL47hkAzKzBUHYxXAcah6yVw88vlPGrWUkoRYzvgP/Oy+sQ8sCA+anbvRz17B+SM51PQdXw43GKZBNupUqE+e2jQRUihD2jXclhnCpS9QJXFkzHQN0SLAHqM6Z5oAqhb1ZdzN3FUtBdFEh+g1CgvNJ+GoQBby22qMXaoqw5IbDD/V5N5" + "g68zUS2+eN+0IxOKFxk+3nahRGavBX1kwG8c3XnRD5Rwevl9IIWg60XPMS7FWOw5BK7W8+34HrNGFs6AKiuTtQRS4vrdHqUrQn6BI1GiVQ29QxSrQoLFKEgG7WfZR9fqSvbnG12rhGw+wutwG7Yc4obQqqysLVUWvMCTq8PduHQAHBtSfM53L44Hv6E3Hg4ClgEmpTLh1lX5fpG8WzzgxbcocKWyeLKH1TYuOKEtn8rAXD3fZW58hbKmZPF/fiRvGJ+EDA5/3xXCeQdAHTdKLU4llYinQGxd8Nwpm44WTUlYzM0BiBYy5q1SGZ4fiizmbQggZEkU2fgzftJR13OLaEeihuGy8a1yCjBjZc24kRECWrCZuCYaaqWK5SO2FNInPp7SbaQSdKr4XngTInYZuQhPL+uvt+RiY197sHtYRmV4Z+J6leOYcN7hy2hdmJ3HCa2Smz45pWgc2nIuUT6UTz6HmxEr65thqqTn43ecYfWJB6pvusxL1EcbVJvdaCaa" + "CCqLlqVBob2cTVzf+HOROZ6PkSnYc4nDdbW1R5r3WjZvKYHi5sh8LGasG7/QMFGGS5HyMh4/g01IU12spNOMlQKLSOJBsNeZhRDBq2Ca6wS+3rvhvwIWp1RAhK6CeQlLMbdxUnvUFoFSCEjq5hHYSFetT4Fc0nOXJeZ6x2n/oPNL9UrJnrMqNHdzlVend/tolGDriXJWAYm+RcstiIk8XO6xL3jmO79BNwILKp0H0GynCHw2Gft4erFLqFg+JUcrEhNDaxoPl89vCTMfxCLwvYu7Ok/vVQDKVgYeFT/Dfliu/FqhYBR3i1ZUxQKoveQhAVycoHW00NemeHVzF5fvVO2ATGplIaUKLrmS6IlNXIwXPhEQJLhtPyksOctOc7PVeveGFurBNcBXkPLJnLMI3SPngyJEqIBlmrhYLYyzuJPPBr0BtWZMC3eCqaUQiFNvJiHRIG5Sz6OfqHXeVspDaxKN9bwONqMTfVbAUVceMH8zZc3jVwCaxhLLKeGMNPG/" + "B9mD6bznYXT4xIYPopEYp8u1+l9pTmoj92nJAQVUuJbLzTQCUIO9saYB2rh33FUdOcQnnUo1dkeF0IvhSM2RCMEp4P37SIK87IDtx4rpNjceB2DCCQEDwm8xwcNrwPZ5F+BlbvZ+iUKGndCyCYpYVwUpYlOp2s6oLGXgZb78N5Zafup1V1Is6VPuu1WVRDnt3GhtwEIcN2swl3R03rwr3jOTdNG6R1n5O9NPzg0/ud5ITrDBeIuLnpXMC+Og/Q7R8luPA1C4sbQdw7pwhJ4liQABaNYRKmBwZ0/4YvXjmgG7sBb8xlN0jQCwmvTHjhw4yPw0ZGsEchK734RqoWcVsULPn1rlAJ69ru2FwNuHczIXJeux54qcA2NHrY0lxeR6Bkb7P749pB0XunMyr1pd614vx1jF3gmOLOFWX1GhOY/uM09wD43swqRZxrtuOIoorpNWlmMNMVZJPHAPXofVEyPfgAmOMg+AkePn7wiF+ODmt7ZYuPw3YDnF1KBUg0Xi" + "6PuOWAn8gdssLzOjTbddueqHPtiDhMTysJVTvNA1bnDYonejAj6fEAgsYlNTDngDDZRaK5modo0JRdvvIQHmH/V76NFt2dAyWApSHTNMjcKJWVOSWFpuiMa1k3P2RB2jAqQ2DlgssUsASTYRZ3Nu/wsBxEFV+DVLUBj2IP8Z5lhEML/XBh8fXPM2HDvH1GN+4krwRoAdbsfPZO2WkycKDChN40J9wiYk0LwRLhgyOVBG9kBmntrMzQtVgRlaW9REcw5YO2YAc+PZxC4cttFyigJwh4KGI9xTkKDp6XIeGSwjS5K5bfT7kSfQglvDZ9pzCsxgqQysRl5EnJE2eK1k0QqtH+DSMeVJE0Z0KcjsdiFUV01TsinsN0MmeWnDo4XN7HDe8NvUEin+4QsFKUA02X293xBIuUj5Kun3O/1n1D/gN+IH6wJyPSqy7NsE3OTn14xNYoqwZ+/ESBRtAgEqz+PYOdT6KKGPspRUD8Bshj0bTMluEwgtGxl158e08/KL" + "m0ITgFmhTgMG+rNICG7uNvsQk4MmoeHOHCqhFm2hBGY4HtyEe/5dElQJfh6MOtdAoMLLjppIvGmyJLfr78VkQzd8gpJVCQNkoP64jBwznSiqsfeOIX8B74EUQeaoFIWTEstV4vTDOGHQh92XQS8aaXqhx+lKXkkShCYpimC5N6t3fBGETtWe3s3Q8mqF2ak4NFKjN4Xlitx571mru5Nb271cL4F5iyYD8qEidIKAqFhsgu6k4m0BznhqkW8Jcld6GIbHnVwjjdMD5IS8EBDRejTmvvUMM/k0L2Qsil9kd2uI0Kn/Xg1cDOlcjSs0PHNRr0QKzxiGPhI1FJPx6dyc2EL2awLcKOTPixghGwjYdEDUQxA6Wiu62MMUgVvouX1q8f1A03jEx6HCUIip8OY/KgrARQAVrbADc4wg6qh8yiQXCyHyusipfJljJU54koJTZfG7J1SCqmFRkg+Xt6tSeKd2G0WCXRYmgWMhD8RABpAJ2GQJQSDoLdhe5Y+/BjSH" + "x4MUgCZqKxYXr3RQFCzB+yYe90qd3PEJEhP/zFmFLyaCnvWuJuqET84A+6O9WJaNDcQ1l9WsDLGGaGrn/7qWAmngb7l4+N1te44P38EBk/SI/FvntzlgL04qfJpIAbQ8emODPjRtJEjpA0erPKenW8v86hJ6D8xzmt/w2odn/ClBI6NoT1ySmgy7dxlzcEP91ObRjLJrXIEf4yAZtJC71sNbgAoHdcVHdf1RcdxA1YL2/DIC7aBqrAOnLrR/XJkQi1OpfNzDfdjoEQPN3BCezs1AsY/IQVyQmV9orsT8yf/3HU/BO9Y4I9GIwGiYL2Y2B6H/WWEUR5awuPszBvaYr/daJL8NOHCQrdHuF6EadM9yfU2hp0hKy60KdTfMSK1g+w4QUajQkyDWpaxt3glWfAkk0ylLxeBw4isbTkHRI9ZYMxZcJg6SMJ5gaT5tvTNegyS+0oPxaymQZECg+qa0HX9dI6M/Eq8C0+kWD4oYafVHrcticUeio06LAhyMOLXB" + "jX5SewUOQLeMRBHw/Nt/SOX18Oc0yuNRmX43iPBam3TosB1vG96acj9PDjLP23V8OwMW4rER1BD+iK4vKDk11fK1l68WOfsRs6ktd6f6YvxGxi4djsB3OsxTHy3/w9IfwNf8n440BILET+f7LnjZBrgBfeAAABhGlDQ1BJQ0MgcHJvZmlsZQAAeJx9kT1Iw1AUhU9TRZGKg0GKOGSoThZERRylikWwUNoKrTqYvPQPmjQkKS6OgmvBwZ/FqoOLs64OroIg+APi6OSk6CIl3pcUWsR44fE+zrvn8N59gNCoMM3qmgA03TZT8ZiUza1KPa8IIIwhCBBlZhmJ9GIGvvV1T91Ud1Ge5d/3Z/WreYsBAYl4jhmmTbxBPLNpG5z3iUVWklXic+Jxky5I/Mh1xeM3zkWXBZ4pmpnUPLFILBU7WOlgVjI14mniiKrplC9kPVY5b3HWKjXWuid/YSivr6S5TmsEcSwhgSQkKKihjApsRGnXSbGQovOYj3/Y9SfJpZ" + "CrDEaOBVShQXb94H/we7ZWYWrSSwrFgO4Xx/kYBXp2gWbdcb6PHad5AgSfgSu97a82gNlP0uttLXIEDGwDF9dtTdkDLneA8JMhm7IrBWkJhQLwfkbflAMGb4G+NW9urXOcPgAZmtXyDXBwCIwVKXvd5929nXP7t6c1vx8743KRRjbQVgAADfdpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+Cjx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDQuNC4wLUV4aXYyIj4KIDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+CiAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKIC" + "AgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIKICAgIHhtbG5zOkdJTVA9Imh0dHA6Ly93d3cuZ2ltcC5vcmcveG1wLyIKICAgIHhtbG5zOnRpZmY9Imh0dHA6Ly9ucy5hZG9iZS5jb20vdGlmZi8xLjAvIgogICAgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIgogICB4bXBNTTpEb2N1bWVudElEPSJnaW1wOmRvY2lkOmdpbXA6NDJlMTU3MGEtNmMyZS00Y2E1LWI3ZTMtOGI4ODI1MmMwZDMwIgogICB4bXBNTTpJbn" + "N0YW5jZUlEPSJ4bXAuaWlkOjU1NGY3N2UwLTc4NmEtNGFlZS1iYjhmLWNhYTBiZGNiYzE3MSIKICAgeG1wTU06T3JpZ2luYWxEb2N1bWVudElEPSJ4bXAuZGlkOmNmMWYyMjUxLWIwY2QtNDE1NS1hMjAyLTExNGI0ZGM2MmFhNSIKICAgZGM6Rm9ybWF0PSJpbWFnZS9wbmciCiAgIEdJTVA6QVBJPSIyLjAiCiAgIEdJTVA6UGxhdGZvcm09IldpbmRvd3MiCiAgIEdJTVA6VGltZVN0YW1wPSIxNjQzMDYxODUwNDk0OTc0IgogICBHSU1QOlZlcnNpb249IjIuMTAuMjQiCiAgIHRpZmY6T3JpZW50YXRpb249IjEiCiAgIHhtcDpDcmVhdG9yVG9vbD0iR0lNUCAyLjEwIj4KICAgPHhtcE1NOkhpc3Rvcnk+CiAgICA8cmRmOlNlcT4KICAgICA8cmRmOmxpCiAgICAgIHN0RXZ0OmFjdGlvbj" + "0ic2F2ZWQiCiAgICAgIHN0RXZ0OmNoYW5nZWQ9Ii8iCiAgICAgIHN0RXZ0Omluc3RhbmNlSUQ9InhtcC5paWQ6ODUyMGQ4YTMtMWRhZC00ZjIwLWFjOTktODg4OTJkZDExNDQ0IgogICAgICBzdEV2dDpzb2Z0d2FyZUFnZW50PSJHaW1wIDIuMTAgKFdpbmRvd3MpIgogICAgICBzdEV2dDp3aGVuPSIyMDIxLTEyLTE3VDE3OjIyOjQ4Ii8+CiAgICAgPHJkZjpsaQogICAgICBzdEV2dDphY3Rpb249InNhdmVkIgogICAgICBzdEV2dDpjaGFuZ2VkPSIvIgogICAgICBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOjJkY2U5N2M4LTBkZjItNGQzNi1iMzE1LWE0YjdmMmUyMjJiNSIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iR2ltcCAyLjEwIChXaW5kb3dzKSIKICAgICAgc3RFdn" + "Q6d2hlbj0iMjAyMi0wMS0yNFQxNDowNDoxMCIvPgogICAgPC9yZGY6U2VxPgogICA8L3htcE1NOkhpc3Rvcnk+CiAgPC9yZGY6RGVzY3JpcHRpb24+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC" + "AgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC" + "AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC" + "AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgIC" + "AgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC" + "AgICAgICAgIAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAKICAgICAgICAgICAgICAgICAgICAgICAgICAgCjw/eHBhY2tldCBlbmQ9InciPz61xwk6AAAABmJLR0QAnQCdAJ2roJyEAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH5gEYFgQKOBb3JwAAIABJREFUeNrtvXl0lFWePv7UvlelKvu+koSQRQiyBJGISEB0hFYZwW1sp4/2csaZ1jlz5sz80cc5c7rnaI" + "8zju2o09qiIrKowEGURXYI+5IASQjZl0plT2rff3/073O/byVVlUQSRPs+5+QkkMpbb9333ud+lufzuaJgMBgEBwcHxw8UYj4EHBwcnMQ4ODg4OIlxcHBwcBLj4ODgJMbBwcHBSYyDg4ODkxgHBwcHJzEODg5OYhwcHBycxDg4ODg4iXFw/GWAqgHHfv+ufyv8+q7XvVMh4rWTHBwc3BLj4ODg4CTGwcHBwUmMg4ODkxgHBwcHJzEODg4OTmIcHBwcnMQ4ODg4iXFwcHBwEuPg4ODgJMbBwcHBSYyDg+NHBCkfAo6/ZAiLov1+P3w+H/x+P/x+P4LBIDQaDWQyGR+oSYyjSCSK+G9OYhwctwiHw4Guri44HA54vV74fD72FQgE4Pf74Xa74XA44Ha74Xa7EQgEsGrVKqSnp9+2BTlT5EJETT+PJZxgMAixWMx+FwgEIBb/2VGjn4W/o78P9/qxPSXo2pFez0mMg2MSC7mrqwt/+MMfYDabYbfb4XQ64X" + "Q64XA42HeHw4HBwUFIJBJIJBLExMRg4cKFSEtL+0GSmJAwxsLn80EqlSIQCIRYomKxGD6fD2KxGH6/n31un88HiUQCv98fcm26Pr2H0LIlkhLeg/B3RIbCa30XS46TGMePHn6/HxaLBVu2bIFcLg9ZXLRQpFIpDAYDDAYDW0RyufwHRV7ChU9kQeQhtHyInLxeL7OwyFoS/o7caCI1+k7XlEgkjIiEJOXz+SASiSCVStl9SKX/j2pEIhH8fj8kEkmI1Sa0Gqcy7pzEOH708Hq9GBoagtPphEaj+dF+zrEEJvw/oTtHxCMWi0NcTaG7SeQmvMZYt3Ts/wnJSPh9rLUVjqTGur1TITKeneT40UMsFsNoNGLjxo3IyMiAyWSCSqX6wca5JrLGxhIDEVYwGGRJC7vdDofDAb/fz6wocifJQqPfjf0/YZdYkUjEXHOKMXo8HhZ39Hq9zJqj1wvd1bEu6Fi3M1yMjVtiHBEhjJ0Id9ofOuRyORYsWIDS0lIMDw" + "+js7MTp0+fxs6dO9HZ2fmjs8aE1pbQPZRIJBCLxXC5XLDb7VAoFFAoFAgEArDZbJBKpZBKpZDL5XA4HFCpVAAAp9MJhUIBh8MBpVIJt9sNsVgMmUwGt9vNMroej4f9rFarYbVaEQwG4fF4EB8fz0hOrVZDJBJBIpEwciNSI8KUyWRRkxGcxDjC7uCtra1wOByQy+WQy+VQqVRQKBSQyWSQy+U/WKmBSCRin0mn0yEtLQ2JiYmoq6tDR0fHj4KoiQCECz8QCDCioCwsEQK9zuVyQSwWQ61Ww+PxIBgMwmazQavVMotJqVTC6XSy10gkEuam03vp9Xq4XC4olUq4XC60trbCaDQiEAjAaDTC4XBAo9EwCzgQCITE5AKBAKRSKSMwipmNjedxEuOIGjf69NNP8dVXXyEQCLAFn5SUhOTkZGzYsAGzZ89mE+uHbKmIRCLIZLJpS/HfCRAG2YWkRmRAlo3L5YLNZoPNZoPX62UWkVwuZ1aWVqsNIUWynnw+Hx" + "QKBQvc0/WlUincbjdkMhmGhoZw9uxZdHR0YMmSJYiJicHQ0BBMJhMkEgm8Xi/kcjl8Ph/kcjl7HyI2IjBKBIyVfnAS44iIwcFBNDU1obe3NyQGUVdXB6/Xi6qqKvAzZe5sSzpcZpJcSrK+Tp06hT179qCvrw9xcXFITExEQUEBli1bhmAwiJGRESQlJUGpVIaQIhGX8FokrSC5RktLC7Zt24a6ujrIZDLcuHEDOp0OFRUVyM3NRUZGBrO2iGjpGmKxeFycLFoigJMYxzh0dnZiYGAgLFGFy0Bx3FkEJnw+JN4F/ixtcDqdzLru7u7GoUOHUF9fz17/wgsvID4+HkajEXFxcbBarRCLxZDL5ex6ZIUR6dB7+nw+RnLDw8N47bXXYLfb2bWfeeYZmM1maLVaJCcnM6kGWY6kVRNaaGQhC63+aCTGs5McCAaDqK+vR19fHx+MH+jzE36nBU9EQe4aiXiFmi0AuH79OrZv346+vj7o9XrI5XLY7fYQl1Emk4" + "1T7stkMhYzHR4eRjAYhFqtDiGejz76CDt27EBHRwcjV6HmjK5D90rvMzZ2F20T5STGAafTiaamJgwNDfHB+AGCLBdhjI8sHKlUCoVCAY1Gg2AwCLvdDrfbHfL3x48fx7vvvgsA0Ov10Gq1UKvVLFutUqmYJRYMBiGVShlRKhQKuFwuZrWNJdf09HRcvHgRVqsVEomEXUutVjO5BxEaxcjofYhEJ7LEuDvJgf7+fpjNZrjd7h+ldurHDmHsi6wbl8vFYkqk16LAvtVqDXsdt9vNpBcej4dlo+12O5RKJex2O1QqFcto0u9IIxYMBjE8PBxyzRUrViA7OxuLFi2CWCyGw+GAQqHA6Ogo9Ho9vF4vI1uPxwOpVAqXy8Vc12AwOGFWnFtiHOjo6EBvby8fiB8ohPWLfr8fLpcLHo+H/dvn8zEiWLx4Mf7t3/4NTz31FHP9qqqq8PrrryMpKQlutxsjIyNQqVRMsCqXy2G1WqFQKOB0OhEMBuH1elmxvMPhgM" + "1mg16vx5tvvomKigoAwEsvvYSqqirce++9MJlMTIM2OjrKZBvkMlJG0uVyQSqVMtd3Mtnw226JCdW+Xq+X7RCUSpXJZCHp7+myDMYqgClYSfqZkEH5/0V/QrP5dlkowvEh8SDttDQJ6MFOxz35/X40NTVNSi8108F9YVaN5gZ9duHnp39zqzHUpaR5LRS2isViRkgqlQoZGRkQi8W4dOkSMjMz4XA4UF5ejtWrV0Or1SIYDEKv18Pj8UClUjHrTavVwuv1QqlUMq2YRCJh1lMgEEBMTAzmzJmDhx56CK2trbhx4waqqqqQn58Po9HI6i71ej3cbjc0Gk1I9pNcSYrZTfYZS2/XwvT5fLBarejs7ERrayva2trQ3d2N0dFRlnKVy+XQ6/VIS0tDRkYGcnNzkZycDK1WC4lEMqVJS+weCATgcDhgtVrR29uL/v5+DAwMoL+/H729vcwcFha1qtVqGI1GpKWlIT09HZmZmYiPj4dWq2Xm+nSPj9/vh81mg9" + "lsRlNTE9rb29HZ2YnR0VF4PB6IxWLodDqkp6cjLy8Ps2bNgk6nm9S9KJVK6PV6iEQiuN3uEJPfZrOhoaEB/f39Ya9FAdaBgQFYLJawpn0wGIRKpYJOp5uy9oo+u9VqhdlsRktLC9ra2tDV1YWRkRF4PB42N7RaLVJTU5GZmYmsrCykpaVBr9dPeW7MVFzRZrOF7RgRzYIyGAxQKBTTcg80DiqVKkS2QBuzSCRCXFwcVCoVXn75ZfzTP/0Ts9JiYmJY0F8mk4Vs3nR/dH2aAySEjY2NZdcvLi5GRkYGHnvsMUgkEuj1eqhUqhBSJbIiMa5YLGbF4uRC3jEF4MFgEG63G11dXaiursaRI0fQ0tLC2p643W6mO6EBk0gkUCqVUKvV0Gg0mDVrFh544AFUVFSwwZoIPp8PnZ2duHz5Murr69HY2Aiz2Qyn0wmPxxPyJawdE04GqVQKpVIJlUoFrVaL/Px8LF++HAsWLEB8fHyIlXYr4+P1emGxWHD27FkcOn" + "QIjY2NsNlscDgccLlcIeNDY6PRaFizvonuQSKRYN26dXjqqacgkUjQ2tqKX//61+z3Xq8XPT09Ua8jl8vx+uuvw2AwhCUpr9eLDRs24LHHHoNOp5vSZ+/u7mafvampidX0UTnL2LmhUCjY3MjOzsaKFSuwZMkSJCYmfq8VBWfPnsWHH34Ii8Uy6XlhMpnw8ssvo6ys7Jbm0tisJFmzwp+pjQ4RhE6ng9FoZNYuWfc0p+RyOUsAiMViuN1uqNVqZnAIu1PQ60ltTxsmCWz9fj+TUIhEIng8HiaspcQDbZZkRd4RJObz+dDb24vDhw9j69ataGpqYo3mxj4A4Q1TDdbo6CgAoLW1FdXV1ViyZAmeeeYZlJWVTbhz2Ww27Nu3D6+99hqkUmlYlzHaJCCT3Ol0soxdU1MTDh8+jAULFuDJJ5/E/PnzJ20JRQrGjoyM4OzZs9iyZQsuXLjASCva33i93oiB2bAPWCrFtWvX2HX7+vpw7tw5aLXaKd1vT08Pen" + "p6wv7OarVi+fLlcDgckyIxv9+P/v5+HDt2DDt27EB9fT0rRp7M3KDPT3OjoqICzzzzDObNmxeS4r+dMJvNqK2txeDg4KT/JjU1FT09PSgrK5uWuBiRFMXCKGBOJCSXy5kRoNfrWaAeADweD7Rabch4kzrfarVCrVbD6XRCLpezwL5IJGKB+pGRESiVypCMIs1ZymxSfE4ikaCnpwcqlQoejwcKhYLdR7iNmdZuJCt/RkjM7XajoaEBmzdvxvbt28e5lWRO6nQ6xvjDw8Ms7jF2wo+MjOCrr77CwMAAfv7zn2PRokVhU7pj/25wcBAxMTFhCdbn8zGrhlK65HaSeTv2ena7HYcOHcKVK1fw8ssvo6qqCkajccpEFggEYDabsWfPHrz33nsYHBwc1xDO4/Ew91oqlcJms8Fut7NJGe1zU5yRHnxnZyfbcbu7u9nPt1J2I4zd+f1+9PX1hYgcI8Hj8aCpqQnbt2/Htm3b4HA4QtxKCiTrdDooFAoWaCZCHj" + "uODocD+/btQ0dHB1555RVUVFSwBXG7QELPwcHBkJq/icbPZrOho6Pjlls5U2BfSGD0M4HKeajO0eFwsPIichnJQhq7CWq1WvZ6ioGRYaBSqRhxk1VGsS8iOoqjUf1qY2Mj+vv72fpXq9VQKpVQKBSw2WxQq9WQy+Uhsetohsu0k5jH48GFCxfwhz/8AceOHWMmvt/vh16vx4IFC5CdnY2EhAQWz/B4POjp6cGFCxdQXV0dNmgtEolw7NgxGAwGmEwmzJkz5zs9eLlcjmXLlqGoqAgmkwlqtZotDqfTiZ6eHly+fBnnzp1jpRZj72NgYACvvvoq5HI5Vq9ePaXdPxgMwmKxYOvWrXjjjTfGuaUikQgZGRm47777kJyczMbIbrejra0Np06dQkNDQ1gC8vv9qKioQGFhYUjDOZ1Ox3ZAuVzOAq83b95kE3EiQvN4PHC5XGx3T0lJQXx8PEwmE2JiYpCWljapuVFbW4sPPvgAX375ZciCoU4T+fn5iI+Ph8" + "FggEwmg8fjQV9fH86fP4+zZ8/C4/GMeyYSiQRXr17F//7v/yIuLg5z5syZVNhhOud8TEwMVqxYgYGBARYSiER4LpcLGRkZKCwsDGkcOB3upNPpZIXVtFELyUcikbD6SHL/iPjGEhhtFB6PBxqNBl6vl20sJFAlN9PpdLKYl7BUiLKQSqUSwWAQPT09sNls2LNnD27cuIGnn34aS5cuZfer0+ngcDhYsoAqDW5b7aTf70dtbS3eeOMNnD17lhFYIBBAXl4enn76acybNw9JSUkwGAzMRw4EArBarViyZAnS0tKwa9cu5nsLoVAosHPnTpSVlSE1NRVGo3HK9xgXF4eNGzdi/vz50Gq1ISRCVl9TUxP27t2L7du3M0thLJG5XC689957yMvLQ0lJyaStGrvdjgMHDuDNN98MG8NRqVRYv3491q5di9jYWDZGPp8P/f39KC8vx8cff4xz586FHf/09HSsXr0a6enpIVlMcn0XL16MrKws9PX1wWKxoKmpCU" + "eOHEFra2vESRIIBLBy5UoUFxdDq9VCo9EgJiaGiSI1Gg0MBgNiY2Ojzo3Gxkb86U9/wrZt20LcTqPRiBdffBHl5eVITU1lwW5aDDabDUuWLMHu3buxa9eusO60TCbDiRMnsGfPHqSnp8NkMt02ElMqlVi+fDlKS0vR0dGBd955B7W1teNCGHa7HZWVlbj33nuRnZ2NxMREVoozXa6kRCKB1WrFwMAA7HY71Go1tFotDAYDtFoti3+5XC5mnZEVR9YSuY+0YYjFYthsNvY+9DyFbit5KqOjo1CpVEzN73a7YbPZWNueEydOsHlG4tbOzk5kZ2dDo9GwzCfFy4RdYG+LJdbW1oZNmzbh0qVLIW/qcDiwdOlSrFq1CklJSWHTwwaDAQsWLIBUKkVvby++/fbbsItcJpPh4MGDWLx4MWJiYqZkjYlEIqSkpKCkpCQsAUokEphMJhiNRphMJvT29mL//v1h41QikQhNTU346quvkJeXN6mOoX6/H3V1dfjwww" + "8j3ndMTAzuvfdeJCcnh7xGKpUiKSkJK1asgFQqhdVqDal/o7E5fPgw4uPjsX79emRkZIx7n8TERCQmJgL4cxuW5uZm9Pf3o6mpKaL14vP5sGbNGtxzzz3M1J9K62ayPrdv347t27eHEJhIJMLs2bPxyCOPICEhIew463Q6FoNsaWlBdXV12BinWq3Gl19+iVWrVsFgMNy2jhtisRgJCQlQKBS4efMm3G73OEmP0+nE+vXrsX79ehQXF0957k40vmKxmJGO1WrF5cuXUVNTA5lMhlmzZiEvL4/Fk4WCVgrIk6SChKs2mw0ajQYSiQROp5PNF51Ox1r2kOXX2dkJsVgMhUKBffv2oaSkhM0zkUiEoaEhRq4XLlzAJ598AovFgueee471FqPNklxI8iSEh4zMOImRiXjkyJFxE8xms6GgoGDCYLJYLEZRUREWL16M8+fPh7WCZDIZjh07hps3byI/P39KrpxMJkNZWVnYONnYhZOZmYm1a9fi9OnTEctxAo" + "EAjh49iscffxx5eXkTTkqn04mvv/4abW1tEeUMubm5SElJiXgtpVKJiooKXL58GZ2dnSFui0gkQl9fH9566y1IpVI8/fTTiIuLi2pBxMbGsh060gIRiUSIj4+fdHY43Oc+fPgwtmzZMo7sRSIRSktLodfrJ7xOTk4OVq5ciWvXro1ThhMGBgZw9uxZFBUV3dbYWE9PD7755ht89NFHaG1tDZkjCoUCf/u3f4t169YhLy9vwnjudwUFxWNjY1FQUID29nacPHkS/f39OH/+PG7cuAGFQoGenh4kJSXBbrcjMzMTZrOZlQRZLBYYDAZYLBYkJiYyAjEYDMydbG5uZhsZSZcozLB161ZUVFQgISEBCQkJEIlEIZZYbW0tW082m41ZhGKxmMkthPKQ20pily9fxsGDB8fFAoLBIDObJ6OHUavVyM/PR3Z2Nq5evRpxsdfV1WHp0qVTIjGFQoHy8vJJpeIlEgnKysqQm5uL8+fPR3zd0NAQGhsbkZubG5XEgs" + "EgzGYzTp48GTEGIhKJMGvWrAk/k06nw4IFC/Dtt9+OG2+aBJ988gkKCwtx3333hY11jI2nTDbu8l2ysG1tbdiyZUvYeJZYLGYxvMlkWufOnQuj0RiRxCh2+vjjj7Ns2UyCmknu2rUL27ZtQ3d3d8hRZ2lpaXj22Wfx4IMPIikpaUasw7EF1S6XC7GxsdDpdKitrcX+/fvDzu8lS5agtLQUPp8PhYWF2LRpE44ePRryOoPBgLVr18JoNGLu3Lk4efIk/uu//ivq/dy8eXNS9221WiGVShETE8NE3BSnE3azELYECvv5p2MQR0ZGcPToUTQ1NYWdxDk5OTAajZPW8aSlpSElJSXiwlEqlbhy5cqUpAYUe5mIbISLQavVYt68eVFf73Q60djYGFUaQePQ2NiIgYGBqO85a9asCXceshQjWS9isZi5wpPJGM4k3G43Dh48iIaGhrDjKJPJkJKSMqm4EIUD4uPjoz6T5uZm9PX1zXiFgd/vx7Vr1/D+++/j44" + "8/htlsDinGLisrwyuvvIL169cjJSVlxtxbqpkk6UNsbCzcbjeSkpKwcePGca/XaDRYs2YNli1bhr6+PqSkpOD06dOoq6sb91qXy4UzZ87g5MmT2L17N06dOsWe22R0ipGeIwAUFRUhMzOTGTdUckRZeMq0C09YmjFLrKGhAbW1tcx3HhtPyc3NnZIuyWAwQKfTRZyElI0aGRmJKBWgwyFInxIMBpmvPtlAqlQqRU5OTtR+Wh6PB52dnaxdSTQSu3HjBlwuV9SHGxsbO6mJodFoorolMpkMx48fx9DQECv5uN0g6/Obb76JSPJGo3HSn5kSH/QMI13T7XbDYrEgPz9/RjOSNTU1+NOf/oTDhw/D6XSyz6BUKrF48WI8//zzmDdvXlRLeLosMdKBUb1jeno6nE4nrFYrMjIyYLfbYbVaWZaS2udUVlbigw8+QGNjY1jr1ufzYXBwkMWq4uPjsWLFCmRkZMDn8+HcuXNhyQ8A4uPjmdRJiOTkZDz++ONYu3" + "Yt5HI5qwTRarWw2WxQqVSsnz+pF6KNoXS6dqOxQWbhw05PT5+S26dSqaKeRiMSiTA4OAibzcZ2obELuLCwEC+99BKGh4cxOjoKt9uNysrKKZV4kKYm2gILBAKw2+0T7vper5fptSZyeSezoCl+MJGFbLPZvreGhoFAADU1NRFFshRq0Ov1kyZZsVg8IYmRmHamPrfdbseZM2fw7rvv4tKlSyFSnNjYWNx///147rnnkJubO+NSDyIXuVzOOk9IpVIMDw8jNzcXPp8PjzzyCLxeL86fP4/z588jIyMDP/nJT6DX6zEyMoLKykrY7fawJJaZmYmHH34YMTExuP/+++F2uzE4OIji4mKIxWK89dZbaGhoCGspPf7443C5XPjggw9C/j8rKwv33HMP8vLyWMyQEg2kSaNWQH6/H3K5PKqu8ZZHeGBgAG1tbSwDEY7E9Hr9lEpCpFIpS9NGmqik3BZW6AutlHvvvRf33HMPGwiqkp9qUHUiUiGR5kQLxufzYW" + "RkZEK3cybqMr8vkGYwkksbDAaRkpIypYUuEokQExMzoeC3v79/SnWMkx3L0dFRHDt2DK+//jo6OztDmvbl5ORg3bp1eOyxx5CQkHBbrF+huFTYl56ErPHx8cjNzcX169cZ2RYVFTFLTKlUwmAwRDz1aXh4GPX19UhNTUVnZyckEklI4XZycjKKiopQV1c3bm673e5xvcsAsMy2xWIJCe8I+4mRrEJ4DuaMWWIWiyXkYYabyFMtcpXJZNDpdKyHUaQJZbfbI05UYfHrrU6S6dwxp4t0hMfPT7QhfF8YHh5GXV0dK+IO9xmmGisSi8UwmUxRn20gEGCdRqfTquzv78fXX3+N//mf/wlxkQKBAIqLi/HMM89g1apVt1SOdqtxMap6IBJJSkrCgw8+CLlcjtraWqxduxaJiYnYvHkzBgcHsXz5clRXV0OtVrNSPyEGBwdx/PhxFBYWQqFQQK/Xo729HVlZWcjKyoJUKmWHgIwlsUhr0Ol0wu/3Iykpid0r9Q" + "3zer0sHkZdLMJ5W9NOYi0tLREnokajgcPhgMViCTtIkR5IJMWzcHGSOzmTu9x075iTcVUms/ioTU80mEymcfVwtzMe1t3dPWHyheJmkw03UC1ftDGiutTpssT8fj+6urqwY8cOvP/+++OsC4/Hg4ULF+L++++flFRkpghMqMonz4i6n6SmpqK8vByZmZnYtm0bE0srlUqUl5fDbDZHdPtJMaBWq9HS0oL8/Hx4PB44HA50dHSgr68v7Dr8v//7v4gxy/7+fvT39yMmJoa13yGBq9PphF6vZ4F9KiSfEcU+mdfRerNrtVrs2rULNTU1k7YKvF4vrl+/HlYnNlOuElXQU00Y7WjTFVOSyWRsx4q0uCiDWVlZOaH7bbVaw5rqwok9b96879QeZ7rQ398fNZEhlUrx9ddfo729fdJzIxAIoK6uLupnp9dNx5yw2Wy4fv06tm3bhh07doSNacpkMly5cgVms5m1tLmdoK6oSqWSzV+j0cjKjiQSCXQ6HfLz80" + "MIDAAOHDiAAwcOTPgcP/vss7C/e/XVV5GZmYmWlhbEx8ejoKBgnEwjnGGjVqvR29uLlJQUphOjMyspRjr2WLgZscSoOHd0dDTiQhGLxWhoaMDVq1envOhnavEFAgGMjo6yoL/NZmP9oOx2O2vIR6Uy07EgZDIZCgoKoFAoIgb3g8EgTpw4gXXr1iE1NTWqBdXV1RXVWnU4HFiyZMn31tWBVPrhMtZCdHR0oLm5+Y6ZG0LL2e/348CBA2htbcXJkycjWr4SiYSdKJ6cnAyTyXTbrV+hKyaRSFhwnCyZtLQ0WCwWFBQU4ObNmxGtru8SMqAOJElJSSgvL5+QxEZHR9Hc3AyxWMzKr6ioXFjHS7WTwkNKZoTErFYrq3CPFseYrsZvtxrTaG9vR0dHBzo7O9HV1YXOzk40NTVheHgYIyMjzA0hf5yaut0qxGIxysvLERsbG5F8gsEg6urqcPDgQaxfvz4iARG5RqokoELw8vLyGU/vTzTeE1lMd8LciEbEb7" + "/9NjsBPRrkcjm2b9+O0tJSrFq1asZU+dHcbOFp39Q0gIqzVSoViouLUV9fH3G88/PzsXTpUjQ1NSE2NhaXL18Oq/0UgpoUxMTEID09HR6PBw899BD27NkT1Yvw+/0oLCxkB4bQGNIp4sJ4Gp1rOSOWGPmsE1kq4RoP3iomK+KkAtMLFy7g6tWrqKurQ01NDfr7+1nLHcqCKJXKGVv0YrEYubm5ePDBB/Huu+9GHA+73Y4tW7ZAr9dj+fLlYUukLBYLrl+/HjXGuGHDBqSnp39vriRJTyaK283E3LjV1jZjXZ/Jwmq1YuvWrSgoKEB+fv5ttcaEqn06kIMaD9L/0XFskZ7Jxo0bsXr1aly6dIklzp5//nl88MEHmDdvHlJTU/HGG2+E/M25c+fQ1tYGuVyOnJwcLFmyBCUlJSgpKUFvby/ef//9ce8TExODnJwcpKSkMK+HLDFhQwbhwbpR3enpILFoD0skEuHv//7vcffdd09L2xEhkpKSolpJIyMjqK" + "6uxsGDB3HmzBm0t7ezBx5ucgp7t48dyOmAWq3GI488gpqaGpw8eTLiAmxqasI777yDxsZGVFRUIC0tjYn+LBYLTp48iYsXL4aKXQI8AAAa20lEQVS9L5/Ph1/96ldYunTplBbgTIA690azHv7u7/4OCxYsmNaurGRBT6c1JJVKkZaWBrvdHjUGfOnSJezcuRO/+MUvJt3ldjpAGzF5EdQfn8IXMTEx8Pl8KCsrw7p16zAwMACTyQSVSoWenh588sknKCkpQUFBAbq6unD+/HlYLBZcvHgRQ0NDaG5uDqsj27ZtGwAgNzcX2dnZWLJkCbv2119/HfZedTodEhMTWRss6pFHWUmKi1M9JT3TGSGxiYLrtCPm5+dj/vz5005iwg859n17e3uxe/dubN++HS0tLczEHvvgVSoV1Go1a9eblpaGzMxMFhBvaGjAtm3bpuW+KQbw61//GsFgEGfPng27KwYCAdy8eZPVWpLi3ufzYXR0FO3t7eOsMCqT2rBhA9" + "avXz+uC8b34YpNJAPx+/3Izc1lqvbpmhu0CU1XgF2n0+Ghhx7Cxo0bcfXqVbz66qsRY31utxsHDhxAaWkpqqqqbqslLNyAybIRlkHJZDIYjUYkJSXB6/XCYDBArVbD4XCw1ljkOlutVla4L5VK0d7ejosXL0YleWqbPjg4iMHBQXY9av1DaGhowI4dO+D3+7Fo0SIYDIaQeUNERvN3onlxW0REVOZwO7I2dKjF559/jj/+8Y8YGhoad2qKTCZDeno6CgsLUV5ejtmzZyM5OZk9SLpPn8+H6upqNuDTFYAtLi7GP//zP2PLli04dOhQxBS13W6fMCFCu25eXh7Wrl2L1atXs+4Bdzqo/xWpzO9EJCUl4cknn8Sjjz6KuLg4xMXF4cKFC9i+fXvYMQ4Gg2hvb8euXbuQn5+P3Nzc2zaW1KyQOkdoNBrY7XbIZDLWMTU1NRULFy6E3+9nPeHcbjdMJhN8Ph88Hg8yMzPxwAMPsBbWcXFxsNls+N3vfhfVy6" + "D+dzqdDpWVlUhMTIRGo0FNTU1IBpQO66FzKmUyGVQqFSudstlsrOyQRLwzqtifjMs5WWHmdMDhcODIkSN4++232VHsY62vefPm4Ze//CVKSkqYjirc8VBk4k43IchkMhQVFeEf/uEfMHv2bLz33ntoa2tjD2misQoGg1AqlTCZTMjIyEBZWRmqqqpQVFQ06bKl22kdRPvd7Zwb3yVY/vOf/xwPP/wwDAYDRCIRTCYT1q9fj0uXLqGxsTHswqKawr179+KnP/3pbXHricBIGkT1h3q9HqOjo8ytpP+z2+3YvHkzAoEAnE4nurq6WFdY8kyo46rL5cLly5cBABkZGVAqlWhvb2cH9GZnZyM9PR3JyckIBoOIj4/H4OAgSktLAfw5A11UVMRO7woEAtizZw/uuusuLFy4kAll1Wo1bDYbvF4vC/BTsiJauOGWSSyauUwN2sIdEDJTweSuri68//77YQkM+PMBCVVVVVi8ePFt1/OMJSJSKdN9BINBZGdnIy" + "srC06nk53ORONMrYb1ej0rJ7nrrruQlZUVtdb0+yKviU6toflxJ5JYMBiEWq1GaWlpiAKfpDJPPvkkfvvb34ZtLwT8Wel++PBhlJSUYOnSpTM616hUhwLj1BlVp9OxVtSUoTQYDKyffV9fX0iGm7KGVLhN9adUOSMWi7Fq1SqkpaXhyJEjOHToEKRSKe655x6UlpZCq9WyInS9Xg+fz4fKykpIpVLU19djx44dOH36NHs/m80Gi8XCjt6jBph00hg9BwpDzYjYlVrQTrRDDA8PM1NxJuHxeHDq1Clcv3494qTR6/VTaic9U2Tb09OD3bt346233mIq/bKyMjz11FMoKSkJObqM3C6qc4uNjYVer//eNGCTJTFq/x1JZiEWi9Hd3T2jVRe3SmThLHStVovKykpcuXIFW7duDZvRFolEuHjxIvbt24ecnBxkZGTM2H1S7aRwM6QgOWUjqU+9yWRCa2srhoaGxukV6YxX6oOWkZHBsswAsHnzZqSlpaGoqA" + "g9PT04dOgQOzuTevvRe1O1gM/nw3333QeTyYRvv/025P1u3ryJq1evsvbmUqk0pO+/MCY2Y2VHcrkcGo0maoZQLpeju7sbdrt9xrM1drsdR48ejbrraTQa1p75+1oYPT09+Pzzz/Haa6+xNrw5OTl4/vnn8cADD9z203pmAhKJBHFxcawdcqTXXLt2jVkLPxRQX7NHHnmEdXAJF9MTiUQ4ePAgiouLsXbt2hlzK4VF6PSdPB+hy07F1FqtFgkJCeP0ij6fj204QguIDJDOzk52buyRI0eY4ZCbm4v4+HjWA1AYIqCDRgKBAObPn4/6+nq0tLQA+LPUQq1WsxPQ6LRxiuvROp7Iir0lc0SlUiE2NhZGozGiS6BWq3Ht2rWIwszptG6Gh4ejBsJFIhEj3e+rnnB4eBi7d+/Gf/7nf7KHI5fL8Td/8zdYtmzZHUtgUx0vkUiE9PT0qAtXJBKhvr6etTf+IUEul6OkpARr166NGK8RiUQwm83Yu3cvrl+/fl" + "vqfMlyJOtF+J2ylmq1GiaTCb/5zW8wb968cZ4VdZOgmDAdqfbiiy8iLi4OZrOZkd1zzz3HTpgXKu3pO1ljfr8fxcXFIWdbkLXmdrsZ0dHf0f1OJk4svtWBS0xMRE5OTsQ3kUqlOH36NBobGycsQZkOgphIIS7MPk73wp0IXq8Xp06dYoWxdBry8uXLsXTp0u+leHgyY0CC5qnErujouYmsj6GhIVRXV0/YZ+1OhMlkwrJly1BVVRWxRlQul+PIkSM4cOAALBbLjLmTwu90IjcRk1gshlwuZ7/XaDSoqqrCo48+iqysrJC1Si296QAPoQi8srISKpUKmzZtQlNTE1avXo17770XarWabb4k5aDvZPmlp6dDoVDgvvvuY6di9fb2MheXOsUS8Qld0onW4i0HhjIyMjBr1qyIOymdiLJ//35YLJYZDeJOpljb7XZPesH4fD60t7dPWzGx2WzG1q1bmeyD3iMxMfF76zZBuqBoMYeRkRE4nc4pj0NKSgpmzZ" + "oVVT4RCASwd+9etLe337FZymhEnZeXh6qqKhQUFEQcH5lMhi+++AIXLlyYkY1c6CqO7S9G+kiKmZFoOjs7e9wBMeROKpVKFpui11NHFOE8IT2Y3++Hy+UKEdxSTI6ObVOpVNDpdEhOTkZhYSF+//vf45e//CWKiorYGaOUmKBeYpM97eiWSSwpKQnFxcVR40wKhQIHDx7EwYMH2WnOM2XiT9TA0Gq1YnR0dMIF4/F4cPz4cezatWtaSCwQCODcuXPj3F2lUomzZ89i3759uHLlCpqamtDS0hL1q62tDd3d3RgcHBx3PNhUoVAoJnWgxuDgYMS+YJGgVqtx//33R42FBoNBXL9+HV988cW4NsY/BCgUCixevBgPPPBARLdSLBbDbDZjx44daG1tnXbXWajUp5gUWdB0+AZZ/R6PBwqFAhaLBWq1OsT6l0ql7BRumUwGp9PJ4mHDw8MsAE84c+YME5zTKd/UeJHOj3Q6nawmUiaTMX1YbGwsiouLkZCQwN" + "6L3G3KtAqPcIuGW5ZYyGQyLFy4ECdPnsTBgwfDLiiRSAS3242PPvoIcrkcf/VXfzWllsQ02SnIaLfbodVqQ7JCpOGZSDQ5NDSEq1evIjs7O6JY0Wq14uDBg/j000+ZPmYy9zaRBXj+/PlxQW6JRIKGhgb88Y9/RHJy8qTidTRxaHeLiYlBVlYWcnJykJ6eztrBTMayk8lk0Gg0bPcNB6PRiPPnz6OysjIiIYVLgUskEixcuBDz5s3D4cOHI05Gl8uFnTt3Qq1W44knnkBcXNyUrFIaf6/Xi8HBQSa6jBYEp0Uymc1H2BAgHOLj47Fy5UrU1dVFLCdTKBQ4duwYysrKkJCQAKPRGPWaU7XEhEedAWDta8iqoV5jIpEIIyMjiImJQWtrK1QqFf71X/8VmzdvZjoylUrFBKfAn7tOkOBVuOao+zL19ouNjUUgEGDWHx3xNjIywjRlCxYsgF6vR05ODtOVCYP31KaaVA+T2aAlv/nNb35zq4NIRcpNTU0RA/" + "gikQijo6O4ceMG+vv7Q8xTYVaFvmjyeL1e2Gw2NDc34+TJk/jss8/Q3NyMnJyccQvK7/fj9OnTMJvNUcnE5/Nhzpw5bBei9/N6vWhubsZHH32ELVu24MaNG+wE5WhugF6vR2lpaQgBjZ2gTqcTu3fvRnNzc9gHMzo6iq6uLrS1taG1tTXqV0tLC5qbm9HY2Ii6ujrU1tbi8uXLqK6uRnV1NQYGBmAwGNjhp9EWikQiQXd3N65duxaxoFwikaCjowMlJSWsnbTwOXk8HvT19cHj8YTIPiieEh8fjwsXLkS1wh0OB27evIne3l7o9fpxm9zYuSHs99bW1obTp09j27ZtOHr0KMrLy0MOZaVSFqvVis7OTly+fBn79u3DqVOnInYUoVY8wsNiqcaPel0JXxsbGwu73Y6GhoaoLZJaW1vhdrvhdDpZtcJkzkuYbFB/rHVGandhyZ9SqYTT6YROp0NnZycOHTqErKwsVFZWIicnh/UhE76exmJ0dBRbtmwB8O" + "ce+gsXLkRpaSmSk5PZ+5IrSC4iWX50Xujdd9+N7Oxs6PV6Nj8phiZssy3sZDGjtZNkhi5fvhxmsxmbN29Gd3d3RAbt7u7G1q1bceLECZSUlGDBggXIzMwMaSbn8XgwMDCA7u5utLS0oLa2Fr29vRgdHUVvby+efvrpcbsoFf2uXLkSly9fjpgJ8vl8OHHiBABg7dq1yM7OBgD09fXhwoULOH78OBoaGuByuZCRkYHVq1dDq9Xit7/9bVgrLxgM4tq1a3j55ZeRlpaG0tJSFBYWYu7cuezBksUTFxcXto3vrbioRL52ux1dXV2oq6vDxYsXsXv3bqxfvx4rVqxAfHx8xGQG1bZmZ2ejo6Mj4mvsdjt+//vfo6OjA/Pnz2diRrPZjIsXL+LatWv4xS9+wYK2wrlx11134YUXXsDbb7+Njo6OiBZwX18fvvzyS1RXV6OsrAzz589HdnY2jEYjG3uPx4ORkRF0dHSgvb0dtbW1MJvNsFqtGB4eRmlp6bi54X" + "a7UV1djU2bNsFsNsNms2F0dHTCppsikQifffYZvvrqK1a0vHLlSjz22GPjtGEKhQIrV67ElStX8PXXX4d1velw448//hhffvklYmJiUFJSgmeffRZFRUXT4laOXXdj5RfCnylbT38XyYsS1qLSPFq2bBkyMjJQWlrKqhmEmdGx7ynUylHGU/j7sXNiKhbqtJUd6XQ6PPHEExCLxdi1axeuX78e8WacTidu3ryJlpYW7Nu3D3K5fFwLDuqySt9pB3Y4HBGb4lH24+jRozh+/HjEhet0OnHo0CFUV1ezyUilDm63GyKRCCUlJXj00Ufx8MMPo6enB1u2bEF7e3vY9yULrrW1FdXV1dDpdHjttdeQlJQUcgjCkiVLcOTIEXR3d89YEJ9aM4+OjuJ3v/sdamtr8cILLyArKyvibp+bm4u7774bNTU1UQ+lbW1txZtvvgmVSsV2W4/HA6fTieTk5IjkrNFosHr1aohEInz66aeora2NqMB2uVxobW1FR0cH9u" + "/fz+aGMH0vnBderzfEchc21RMuWpvNhp07d8JkMk1pPO12O+x2O3p6etDV1YWCgoKIzy4pKQnr1q3DjRs3UF9fH3Ejt9lssNls6OnpYY0LpyuwL5wH5NKR4JhixnRASG9vLxITEzF//nxs2bKFNTiUy+UsZENWslwux+joKPx+PxYuXIif/vSnjMD0ej1cLhcjJgrQe71eVgsplG5QDFZ4yA49Q7FYzP6O/l+YtJhREiO38sknn0R6ejoz1zs7OxnpjL0Jv98Ph8MRcUekD+nz+WAwGJCfn4/Zs2dj0aJFYWMzYrEY6enp+NnPfsa6pAr97bHvTZNJSJxpaWksbV5RUQGVSgW/349Vq1bhv//7v6NKBugamZmZISfC0L0tWrQIP/nJT/D555+zHkwzRWbBYBAOhwM7d+6ERCLBSy+9FDH5olKpsHr1anR1deGLL75grk6k+BXJCYTuZGFhYdT6NoPBgIceegiJiYnYu3cvqqur2dkMkeYGlV5NNDc0Gg" + "3mzJmDwsJCLFq0KMSVpJ3fYDBEbQ0+GahUKqSkpESMt4nFYtx9991Ys2YN2traJjwngor3w/WM+y4WmPA7PQuKLQndfJPJhJ6eHhiNRoyMjGD//v1sPqrValitVtaskO7RarUyly8jIwPp6elIS0uDwWCAw+GARqNhr6dsN1nPRHLkPpOrTqRFMUciMGEs77acdhRu1125ciXy8/NRUVGBK1euoKamBteuXcPAwADkcjn7kMKJRjupx+OB2+2GXq9Heno6Zs2ahZycHGRnZyMnJwd5eXlITEyMuMgUCgUWLlwIpVKJgoICnDhxAjU1Ncw3F/4dpYZlMhnmzJmDefPmYf78+Vi0aFFIQ0GtVov58+ezBAUtILIG6IGQWLCgoGDcxBSJRDAajXj66aeRkZGB6upqnD17Fl1dXSHjMJnj3+h64RZ/OCtx//79KC4uxuOPPx6RaLKzs/Hss88iPj4e3377Lc6fP88Cs8K4GhE1dT4oLS3FvHnzMHfuXKSnp0" + "84N5YuXYrs7GwsXrwYV65cwaVLl1BfX4+enh4m9xgbxxO6zW63G2q1GhkZGcjJycGsWbOQmZmJ3NxczJo1C0lJSePcfqlUCqPRiIULF2J0dPQ7bxwmkykkRBAOSqUSa9aswfXr13HlypUJn2FiYmKIAHQ642LRXpuQkIDu7m4AwD/+4z/i+vXr0Gq18Hg8rOaSepK53W4YDAbY7XZoNBrk5uYiLS0NRqMRXq+XxQ0VCgWzlMcSvVKpZLFM6psv1IURWVFgn/5+MhILUXAGxTlerxc9PT3o7OxEd3c3LBYL+vr60NPTw4SpVBeoVqthNBpZ5sZkMrHWJwkJCYiNjZ1SG2OqT2xsbERLSwtrRd3f38+yJwkJCUhPT0dqairS09ORlZWF1NTUcQ8gGAyiubkZb7/9Ngua63Q66PV6KJVKRswkFkxJSUFJSUlIOnrsuNTX1+Ozzz7DRx99xIjF4/GgqKhoQoGo3+9np1zX19dDIpHAaDRGtRCWLl2Kf//3f0" + "dKSkrUa/f397PSEBozCtpTd9DU1FQkJSUhKSkJqampyMjIYH3SJwufz4fe3l50dHSwk3b6+/thNpuZW0P3Tqn9sXMjNjYWSUlJrLnfRFlpOnvxu0IikbCOpBN9tvr6egwMDEx4Ta1Wi7vuuuu2NyMgGQXV5w4NDSE2NhaxsbHs1CEhKZJO8OzZs/jwww/xyiuvoLi4OMRlFc63scQj7G1GRDbWDSZyGyvenYicZ5TExi5cii84HA54PJ6Q5mcSiQQKhYKpf1Uq1bT0Xqc2u1arlXXUoMFTKpWMjCaSNjidTnR3d7NdQi6Xs6OmKOBJX8IYTjhYrVacOXMGX3zxBfbs2cNOq/nZz36GqqqqCQu7yRK02WwYGRlBV1cXzpw5g8OHD497+IT8/Hz8y7/8C5YuXTqpcXM4HGzMXC4XM/lJkqHVaqHRaKalqN/n87G5Ybfbw84NcnWEc+OH0DPt+4BwSRMpENFQmQ+51XSoCB1yTfOTxpsSI7QG2tvbcenSJS" + "xbtgy5ublMviEs2g43/8jVJIuaYqrCLP7Y7OodR2Ic/69h4969e7F161ZcvHiRNYP767/+a7z44ovIy8ubdLqdTHdqmVxdXY133nkHZrN53DUSExPxq1/9Chs3buSL/0c6t4TPVZhtHKt1E/6brB/aNAKBANvoqbsxhUwoQUAaMq1WO2kLkkiMAv/kgQl1YtG6Vsy4xIJjcpNscHAQn332GZOhUNKgvLwcGzZsQE5OzpT0QlQTJ5fLERMTA6PRCI/Hg1dffXXcdUjIyPHjRDSJArl3RBjCwDllMYWlSkJyoUA9NSaUyWQsuzjZzVBocQm7U9A9CX8vJLDJXl/MH//tgd1ux44dO/DJJ5/AYrGwB+n3+/HEE0+gsLDwllo0i0QixMfHo6ysDLNnzx4nd5gudTjHD88yo+9EZmRVkUsplDdQkJ2sNLKcqGssvWYqAl3hXAynVxMmqKZKYJzEbhMCgQBOnjyJL7/8MuSkHK/Xi6VLl6KsrGzaeq3pdDqkpa" + "WNIzGlUomYmBhOZH9BltlYIiOrhzRcwsaDwt+PJRXhwbzkFk7GjSQCFFqBdF3hKUZj7yGcaDcauDt5G9DX14e9e/eOKzlyOp2YO3cu4uLippUwSbArRExMDKtO4PjLcjHHumnkQgoJayzJjH09ySfIgpvobE+y7sIduUbXFXaiDXfPnMTuINTX1+PmzZvj0vukXp7Ok37sdvu4wL5EIkF6evqMtkjm+GEQmpBEwv0uHMZ2WJ2MFRbNWruVEiPuTn5P6OjoCNtmRqVS4caNG+jr65uWXlpOpxOdnZ24ceNGyAQymUyszzkHx48N3BK7DYh05qZCocA333yD2bNnQywWIzExESqVakKdmdCS83g8cLlcsNvtaG1txbFjx0LiYSKRCA8++CAqKyu/19OdODg4if2AQQcpUJmHkGD8fj/+4z/+AzU1NVi0aBGSkpKg0+mYkFTYOYDiB1SsTp0bzGYz6urqcPr0aSbdoKDqk08+iQ0bNkxr3I2D445ylbnYde" + "ZhtVqxadMmvPPOO7DZbGGtLLfbjdHRUbhcLqSlpSE3NxdGo3Fc5UIgEIDVakV3dzfq6upYsa5arWYF5S6XC4mJiXj22WexZs2aKQloOTg4iXGERVdXF/bs2YNNmzahpaUFCoUiIrEIW8uE6/MUTqdDWUmVSoU1a9ZgzZo1mDt3LhISErisgoOTGMf0YHBwEE1NTTh+/Di+/fZb1NTUAAgtuZgM4QibzpHyurCwEPfccw8qKiqQl5eHhISEsIe6cnBwEuO4JVCt48jICLq7u9HW1oabN29iYGAAFosFPT09zK0cK8mQyWRQqVSse0RcXBzrypqamsoOI53pk9Y5ODiJcYQ09aN+ZG63m50BQL2XhK+nDhl0QpGwa4awMy4HBycxju+N2ML9HPLAvoOimYODkxgHBwfHHQqed+fg4OAkxsHBwcFJjIODg4OTGAcHBycxDg4ODk5iHBwcHJzEODg4ODiJcXBwcBLj4ODg4CTGwcHBwUmMg4ODg5MYBwcHJz" + "EODg4OTmIcHBwcnMQ4ODg4iXFwcHBwEuPg4ODgJMbBwcHBSYyDg+MvCv8foPuErXNuO3cAAAAASUVORK5CYII=", "Failed to query GPU info!\n", "webgl.version = ", "webgl.renderer = ", "webgl.vendor = ", " [masked]", "\nwebgl.anisotropicGlitch = ", "false", "true", "No GL_RENDERER string could be queried", "oak", "spruce", "birch", "jungle", "deadbush", "tallgrass", "fern", "stone", "cobble", "brick", "skin_brown", "skin_red", "normal", "mossy", "UTF-8", "pulling_0", "pulling_1", "pulling_2", "BIG_ENDIAN", "LITTLE_ENDIAN", "IGNORE", "REPLACE", "REPORT", "\\", "tile.bed.notValid", "gameMode.changed", "PRE", "INIT", "SENT_ICE_CANDIDATE", "SENT_DESCRIPTION", "interface ", "class ", "[]", "", "", ": ", "String is null", "String is empty", "String contains invalid digits: ", "String contains digits out of radix ", "The value is too big for integer type", "The value is too big for int type: ", "Illegal radix: ", " at ", " [character ", " line ", "A JSONObject text must begin with \'{\'", "A JSONObject text must end with \'}\'", "A JSON Object can not directly nest another JSON Object or JSON Array.", "Expected a \':\' after a key", "Duplicate key \"", "Null key.", "Expected a \',\' or \'}\'", "Stepping back two steps is not supported", "Boolean", "Null pointer", "0", ".", "getClass", "getDeclaringClass", "get", "is", "\\t", "\\n", "\\f", "\\r", "\\u", "0000", "\\b", "\"\"", "-0", "val [", "] is not a valid number.", "java.", "javax.", "JSONArray initial value should be a string or collection or array.", "Unable to write JSONObject value for key: ", "JavaBean object contains recursively defined member variable of key ", "-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?", "hide_down", "serverListTitle", "serverListLink", "mainMenu", "itemLink", "itemLine0", "itemLine1", "itemLine2", "splashes", "servers", "default", "wss://relay.deev.is/", "lax1dude relay #1", "wss://relay.lax1dude.net/", "lax1dude relay #2", "wss://relay.shhnowisnottheti.me/", "ayunami relay #1", "hideDownServers", "eaglerLogo", "JSONArray[", "String", "JSONObject", "serverName", "serverAddress", "hideAddress", "relays", "url", "address", "addr", "name", "Default Relay", "comment", "primary", "ip", "g", "Empty string not allowed", "ws://", "wss://", "https", "MOTD", "#version 300 es", "/", "overflow-x:hidden;overflow-y:hidden;", "Mouse cursor lock is not available on this device!", "WebGL 2.0 is not supported on this device!", "WebGL 2.0 is not supported in your browser (", "mousemove", "wheel", "Already waiting for vsync!", "Main thread is already waiting for an immediate continue callback!", "screenshot_", ".png", "_eaglercraft.", "http://", "https://", "blob:", "data:", "Unknown voice signal packet \'", "\'!", "IPC", "Tried to enable existing channel \'", "\' again", "[Client][ENABLE][", "Tried to disable unknown channel \'", "[Client][DISABLE][", "Tried to read from unknown channel \'", "not ", " - the sequence FF000000 was ", "big endian.", "little endian.", " - the sequence 000000FF was ", "yyyy-MM-dd_HH.mm.ss", "NONE", "ESCAPE", "1", "2", "3", "4", "5", "6", "7", "8", "9", "MINUS", "EQUALS", "BACK", "TAB", "Q", "W", "E", "R", "T", "Y", "U", "I", "O", "P", "LBRACKET", "RBRACKET", "RETURN", "LCONTROL", "A", "S", "D", "F", "G", "H", "J", "K", "L", "SEMICOLON", "APOSTROPHE", "GRAVE", "LSHIFT", "BACKSLASH", "Z", "X", "C", "V", "B", "N", "M", "COMMA", "PERIOD", "SLASH", "RSHIFT", "MULTIPLY", "LMENU", "SPACE", "CAPITAL", "F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "NUMLOCK", "SCROLL", "NUMPAD7", "NUMPAD8", "NUMPAD9", "SUBTRACT", "NUMPAD4", "NUMPAD5", "NUMPAD6", "ADD", "NUMPAD1", "NUMPAD2", "NUMPAD3", "NUMPAD0", "DECIMAL", "F11", "F12", "F13", "F14", "F15", "F16", "F17", "F18", "KANA", "F19", "CONVERT", "NOCONVERT", "YEN", "NUMPADEQUALS", "CIRCUMFLEX", "AT", "COLON", "UNDERLINE", "KANJI", "STOP", "AX", "UNLABELED", "NUMPADENTER", "RCONTROL", "SECTION", "NUMPADCOMMA", "DIVIDE", "SYSRQ", "RMENU", "FUNCTION", "PAUSE", "HOME", "UP", "PRIOR", "LEFT", "RIGHT", "END", "DOWN", "NEXT", "INSERT", "DELETE", "CLEAR", "LMETA", "RMETA", "APPS", "POWER", "SLEEP", "a", "p", "Substring bounds error", "Unterminated string", "Illegal escape.", "JSON Array or Object depth too large to process.", ",:]}/\\\"[{;=#", "Missing value", "assetOverrides", ".mp3", "EAGPKG$$", "EPK file is incomplete", "EPK file is missing EOF code (:::YEE:>)", "EAGPKG!!", "invalid epk file type \'", "ver2.", "Unknown or invalid EPK version: ", "Invalid or unsupported EPK compression: ", "EPK missing END$ object", "Unexpected END when there are still ", " files remaining", "File \'", "\' is incomplete", "\' has an invalid checksum", "title/eagtek.png", "Object \'", "\' did not have a file-type block as the first entry in the file", "file-type", "epk/resources", "EPK is not of file-type \'epk/resources\'!", "", " end", "invalid epk file", "invalid file hash for ", "", "object", "function", "number", "undefined", "symbol", "bigint", "boolean", "Native Browser Exception\n", "----------------------------------\n", " Line: ", "unknown", " Type: ", "generic", " Desc: ", "----------------------------------\n\n", "No stack trace is available", "Unable to allocate array size: ", "Should never been thrown", "Input array too big, the output array would be bigger (", ") than the specified maximum size of ", "lineSeparator must not contain base64 characters: [", "Strict decoding: Last encoded character (before the paddings if any) is a valid base 64 alphabet but not a possible encoding. Expected the discarded bits from the character to be zero.", "Impossible modulus ", "Strict decoding: Last encoded character (before the paddings if any) is a valid base 64 alphabet but not a possible encoding. Decoding requires at least two trailing 6-bit characters to create bytes.", "Root tag must be a named compound tag", "UTF Error", "Darviglet!", "eaglerenophile!", "You Eagler!", "Yeeeeeee!", "yeee", "EEEEEEEEE!", "You Darvig!", "You Vigg!", ":>", "|>", "You Yumpster!", "No longer on Gitpod", "MiG Mad Marine", "Wild Weasel", "YGBSM", "Union Aerospace Corporation", "(this Collection)", "BYTE", "SHORT", "INT", "LONG", "FLOAT", "DOUBLE", "BYTE[]", "STRING", "LIST", "COMPOUND", "INT[]", "Tried to read NBT tag with too high complexity, depth > 512", ":[", "1.6.4", "motd", "online", "int", "max", "players", "JSONArray", "icon", "Your IP is banned for DoS\n", "Try again in an hour", "Query Was Blocked\n", "Try again in a minute", "Connection Blocked\n", "Either src or dest is null", "root", "/font/default.png", "/font/alternate.png", "/misc/grasscolor.png", "/misc/foliagecolor.png", "Pre startup", "Startup", "Post startup", "Eaglercraft Server", "adderall", "matrix is not supported while recording display list use tessellator class instead", "\n", "%clamp%/title/eagtek.png", "%blur%/title/mojang.png", "GL_INVALID_ENUM", "GL_INVALID_VALUE", "GL_INVALID_OPERATION", "GL_OUT_OF_MEMORY", "Unknown Error", "CONTEXT_LOST_WEBGL", "@ ", "Pre render", "Post render", "lanServer.relayDisconnected", "[CHAT] ", "Notice: chunk loading may take a while in singleplayer.", "Especially in new worlds, if no chunks show give the game up to 5 straight minutes before \"giving up\" on a new world", "Redirecting to: ", "Quitting", "FORCING RELOAD!", "keyup", "manual crash", "mousedown", "reconnect", "saving world", "Connecting to ", "Loading world: ", "fancyGraphicsNote", "Note: ", "Warning: world loading may take a while, so you may need to wait for a few seconds for the world to load and the lag will stop.", "Note: use F+6 to show your coordinates on the screen", "Note: use F+6 to hide the coordinates off of the screen (if you\'re in public)", "iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAYAAABS3GwHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAHx0lEQVR42u3da27jIBRAYbfqFp1FuovM/GLEMIDBhsRJviNVapsYY8y5vPz4ut/v9wX4UL4VAQgAEAAgAEAAgAAAAQACAAQACAAQACAAQACAAAABAAIABAAIABAAIABAAIAAAAEAAgAEAAgAEAAgAEAAgAAAAQACAAQACAAQACAAQACAAAABAAIABAAIABAAIABAAIAAAAEAAgAEAAgAEAAgAAgAEAAgAEAAgAAAAQACAAQACAAQACAAQACAAMBr86MI3ovf39/i/9Z1XdZ1VUgEeN/Kf7vdqt8hgC7QW6OCE+CjK/+2bcv9fieCLtDjux9x/1t/u1xOveWSlisBXmQASoB/+fr6+vv7/X7vHteE8hxZrrpAkyo/2mU42soSgAAfN8YZ3aoSQOV/GNu2ZX9vGdjPEuBnVmXIVYqePly8famCne0T" + "tuS1tt/a9kfSbWnqZw2u9yQesc91XZv7/iO2a+I+iG3b7uu63pdl2f1Z17WaTksaaXrbtk3JaynvR/O5l6/WtPaON3d8tf3v7e9d+RkVPeIVyDRKpREtfL+nGdxL7/f3d9m2bTdS5VZL4/Rz0fcRszm32604jZrLUyi/UXlb1/WlunKhTE63iCMif0tkao1IaXqlqFWKlr2RsTUPpXRLrUnYpqVlircfdby9LUCpbHpa1lyeW8tgL51SmZ9N+2dE5GqJlrkI0xJxaumV0ixt0xrd07TDdrl+aDoeGNnfbzne0RE1HqSOaF3SljptyXP7qF3QN3zi4Yw9LdF0r5+Zs7u175mLirU85KJiLbK3pt2bj1qZ1CJaz356WoD0u2ejaq11XNf1708uf73jqqeOAXotbIlgZ/t0tfSPRulZ050j0jubRjz2CGU/clyRRvvwv1LPIR4X5r6TtlJPmwY9W5la54vfea5+Zhm2dnniyj+j3GtdxCsMzL+vWAmuyujK" + "2dLXnVGGYSZsduXPlV0625Vbk0nlnFlXhrYAezdjPFOa2sD4GRetlY5hdhnmpoHjKcXZlb927Llp4JCvWYHy8leDxpHgbCH0zBo9s3vyiLK8QiBIxwiPaHWnjwFGZbjl9r5RAtxut92Fp5GLTqPHP735qpXDrK5QbjFz27b/Wp802IXu2Yz6cGoadDmwCHV0enVJFpbCfkqLQ6Mvg9g7riPToEfyfrYMl4ZLOUadw1rZh33H/ytNjcbnunfavakeX02As3P1rZVoT4KeVdBXESDN05HV4pFXDaQrxqkE6TnISfC0dYAZA5PSSu3orkeYiSil/Sl3cm3b9t+NKbMHxHtTpenvcT7C33Gez+b1e3QFvvrUY2nhZ/Qi0KtMC+f6/KWpytnnsjWoXuKWyNaZkyud/HTh55mVvTYt++h8zDiXlTFnkwS1wfhlBZgxj917acNe9H9mZWuJvjPuez0azJ5RPj1T3kMe/zJyUNMzkMpdJts6MNybyckNXo/cwLI0" + "XtZ8ZkaldBwt2x65RHvGMRwZoO9dWLh3CfqofC0zZhtKU5fpiWkVIE4n3b423Zemf0SA5cQdVenxt9x70FJ+8TEfkbxUuXqDytnp0L2p0kewzJjeOnMSWtKKt92rQCNageXEDTot05xH1iZy5Xf2lsra9iMrZDjW2dG9ha/7wLuNS5ctpDevt9y2WBu0ptvnxh2l75YutOrtu+/1m+N8tw66022PlGHrcfVuP+NCwNrg+2ETFPcPI45yLSu8s1Yg8UY3xb8K6WP2WualrzJjhDl8f2Ll721iPeiWAG8hwMw+LQhw6co/cpWaPO/DR4wBchU23APQMiMy43EhuAZDp0FfaQxwRCJjAQK8xTigp0uk4hPgowbH+vkEAD4GL8gAAQACAAQACAAQACAAQACAAAABAAIABAAIABAAIABAAIAAAAEAAgAEAK7NJR6M9S6PLQzPHZr1sulSuXmCxQu3APHz+sNP6wOspr09/CL76ym3Tzr2t2sBHhk13+UYwgsm" + "nvFeXwI8qUtRinZxZNq27e/3tm3Lvg8gjWRpxc09Rj3eb2l/ufTiZ5CG78Sfn305eO7durX8tH4W8pB+Pz32vTQJcGAcED+0Nv5//Pbw9GTl+sKh8sVRMo2WoWkPJy0WpiRB6XVFpa5IvF28v3RfvX36mpylBwKXPktbkjiI1I69liYBTg6E4wqTkyOWolRB4nTSE5XuszaI3dvfngRppM1F+9auTG4fuW1raeXendYiWk+aBBjQf44jZW/TWoriV3gRddwi9L57IPfY9lA5Q3nF6YZyq33WIkLt/NTSJMCAcUD4/Wzhxt2o3Hjg0a3emSdPt7Q2t9vtn3KrfXY0L7U091rWo599xBggjSgh0pSa79aTl4ugaR8913qU9ld6vWlvd6bn+7mB+96MUHpcLULtHftemlqAAwKEwVd6MtNBbK4C7kWLuMkuDT5zA+za/nKzMC0VOu0CtXQhal2UeKCfG2PUPsvNZrUcey3NV8Dj0Z/cvctNQ77DmogWAM0S" + "7M0gQQvwluS6HFZ0CQA8DJdDgwAAAQACAAQACAAQACAAQACAAAABAAIABAAIABAAIABAAIAAAAEAAgAEAAgAEAAgAEAAgAAAAQACAAQACAAQACAAQACAAAABAAIABAAIABAAIABAAIAAAAEAAgAEAAgAEAAgAEAAgAAAAYBlWf4A1W4Hx65cJAoAAAAASUVORK5CYII=", "\nprecision lowp float; in vec2 a_pos; out vec2 v_pos; void main() { gl_Position = vec4(((v_pos = a_pos) - 0.5) * vec2(2.0, -2.0), 0.0, 1.0); }", "\nprecision lowp float; in vec2 v_pos; out vec4 fragColor; uniform sampler2D tex; uniform vec2 aspect; void main() { fragColor = vec4(texture(tex, clamp(v_pos * aspect - ((aspect - 1.0) * 0.5), 0.02, 0.98)).rgb, 1.0); }", "iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAACXBIWXMAAC4jAAAuIwF4pT92AAAEAklEQVR42u2dvXbjIBBG7T0+xw+gTp06v//LmE6dO/VR5a3wGZNh+BGSFeveJgkIBrDy8TGKds8/Pz/PExyW8/P55AY4MP9YgmNzmeeZVUABAA8AKADgAQAFADwAoACABwAUAPAAgAIAHgBQAMADAAoAeABAAY7LOI7fpQDX65VPtZCt18w5d7rdbigAbOgBxnE8DcPwJnnDMCTrNJlsUVcizTnj9HWxeVvINfN9y361OdTEk30551ZZt3PsvYDYxOSChoPQ6sJ21mRLBm61jY0lpy61gDKWNdfcNcv5wErWLbfPF88I9/s9WtayzopXS85YtPqcMeT23SqedV1pucal1V4iTUooV/IaWSfbWHU5JmkvpmzrsayaB9DqfJnVTpMff72sc869/WzVlcjjOI7mOOVYfBzfT05exLfT5pqae008a71L" + "y6tPASV79CfPylvFjpm+teLH+tXiF5nA2LOAUMpCibckWpPBUOJT20btFuDjyK8p+S45Z4fX+ti+LDb3pef62PosWbfkDbBW8mFPhB/gt8Vr7gG+kZK9+C/GM2+ArffnnKRHbT5gSdJoK0+ydrziGyCW115LolLxnHOr59q3lt89b6U8Czg4pgdI5bUtKY3VzfOclGBtTLVSmmqn1cdyC7Iud+5791KX1MLJDz3Mg2s59pK6sM/asdTmLrRx5pzjS+e+awWw9lstVeuv1/a10rqwT8sn5LQr8RzaMVfmKrR2qfnFjs57/puLS0nyoTZp0fL8XGq+ap8v4AES+3Msx74kN2/tmblewWoXPl9o+RykZH5/5hTQYv+y+vj084XcPHpJbHmt1s7yGbV1q+UBnHO/gnoZje2RmuzK/Vr2F3sWEF6TGkvutqH5CG08qTmk5u77tLyK5Qtq62rgxRA8AO8FHBkygQeHLQAFADwAoACABwAUAPAAgAIAHgBQAMAD" + "AAoAeABAAQAPACgA4AEABQA8AKAAgAcAFAC+3gNM03Tqum7VQSyN4dtvMdZDKcBWC9oqhr8JoIEHeDwep77vf5VJfL0vl9fLa/u+f+vPfx9eszSGNXZo5AH6vlcXW36gsqykrzViwAIPYL3r3nXd63v5m6i9J2+VaT8viWGNHZQbYE97+KdjHPIGKH0XPSyL7eXSjPk2YZlsN03Tq21OjLAs598ZggIT2MpMbW3IMICFN0Dsv4xpfUbfAvIAK9wAcOAtAMgDwJHzAIACAB4AUADAAwAKAHgAQAEADwAoAOABAAUAPACgAIAHABQA8ACAAgAeAFAAwAMACgB4AEABAA8AKADgAQAFADwAoACABwAUAPAAgAIAHgBQAMADAAoAeABAAQAPACgA4AEABQA8AKAAgAcAFADwANCe/0of1jQ8XY5YAAAAAElFTkSuQmCC", "ps", "cs", "pc", "cc", "nsi", "skins", "data", "slim", "capes", "Yeeish", "Yee", "Yeer", "Yeeler", "Eagler", "Eagl", "Darver", "Darvler", "Vool", "Vigg", "Deev", "Yigg", "Yeeg", "Patter is null", "End of stream reached", "Malformed UTF-8 sequence", "Stream is closed", "TAG_Byte", "TAG_Short", "TAG_Int", "TAG_Long", "TAG_Float", "TAG_Double", "TAG_Byte_Array", "TAG_String", "TAG_List", "TAG_Compound", "TAG_Int_Array", "UNKNOWN", "TAG_End", " entries of type ", "x", "/sounds/sounds.dat", "playbackOffset", "sounds", "e", "c", "/records/", "unregistered record: ", "!", "/sounds/", "unregistered sound effect: ", "/sounds/menu.mp3", "ambient.cave.cave", "!adl.b", "damage.hit", "!random.classic_hurt", "damage.hurtflesh", "mob.zombie.hurt", "adl.yee", "mob.zombie.say", "mob.zombiepig.zpig", "!adl.eee", "mob.zombiepig.zpigangry", "adl.eee", "mob.blaze.breathe", "mob.endermen.scream", "mob.endermen.stare", "!adl.l", "mob.pig.say", "mob.pig.death", "mob.silverfish.say", "mob.ghast.scream", "!adl.yee", "mob.slime.big", "mob.slime.small", "mob.slime.attack", "mob.spider.say", "mob.villager.default", "!adl.a", "mob.villager.defaulthurt", "Duplicate packet id:", "Duplicate packet class:", "Skipping packet with id ", "Bad packet id ", "String too big", "Received string length is less than zero! Weird string!", "Received string length longer than maximum allowed (", " > ", "(this Map)", "Zero length vector", "/glsl/occl.glsl", "\n#define CC_VERT\n", "\n#define CC_FRAG\n", "\n[/glsl/occl.glsl][VERT] ", "\n[/glsl/occl.glsl][FRAG] ", "\n[/glsl/occl.glsl][LINKER] ", "array size does not equal image size", "New position ", " is outside of range [0;", "New limit ", "The last int in dst ", " is outside of array of size ", "Length ", " must be non-negative", "Offset ", "The last int in src ", "WebGL 2 is not supported on this device!", "A JSONArray text must start with \'[\'", "Expected a \',\' or \']\'", "Unable to write JSONArray value at index: 0", "Unable to write JSONArray value at index: ", "und", "en", "CA", "fr", "zh", "CN", "FR", "de", "DE", "it", "IT", "ja", "JP", "ko", "KR", "TW", "GB", "US", "yee", "buffer size must be greater than 0", "Stream closed", "negative skip length", "footer is not found", "Unexpected end of ZLIB input stream", "textures/gui/options_background.png", "textures/gui/container/stats_icons.png", "textures/gui/icons.png", "random.click", "/gui/background.png", "Edit Profile", "profile.title", "gui.done", "profile.addSkin", "profile.clearSkin", "profile.screenname", "profile.playerSkin", "profile.capes", "s", " new skin", " have been added:", "Steve", "Alex", "1.8", "[^A-Za-z0-9\\-_]", "_", "/gui/gui.png", "Default Steve", "Default Alex", "Tennis Steve", "Tennis Alex", "Tuxedo Steve", "Tuxedo Alex", "Athlete Steve", "Athlete Alex", "Cyclist Steve", "Cyclist Alex", "Boxer Steve", "Boxer Alex", "Prisoner Steve", "Prisoner Alex", "Scottish Steve", "Scottish Alex", "Developer Steve", "Developer Alex", "Herobrine", "Enderman", "Skeleton", "Blaze", "Barney", "Slime", "Noob", "Trump", "Notch", "Creeper", "Zombie", "Pig", "Squid", "Mooshroom", "Villager", "charsetName is null", "The last byte in dst ", "The last byte in src ", " is not set", "[ByteBuffer position=", ", limit=", ", capacity=", ", mark ", "fSet", "\\Q", "\\E", "\\\\E\\Q", "Is", "In", "Index ", "could not load: ", "The last char in dst ", "The last char in src ", " is outside of string of size ", "Start ", " must be before end ", "NonCapFSet", "AheadFSet", "BehindFSet", "AtomicFSet", "FinalSet", "", "JointSet", "NonCapJointSet", "PosLookaheadJointSet", "NegLookaheadJointSet", "PosBehindJointSet", "NegBehindJointSet", "Can\'t compare ", " to ", "STRICT", "LENIANT", " bytes]", "Replacement preconditions do not hold", "001", "ERA=", "YEAR=", "MONTH=", "WEEK_OF_YEAR=", "WEEK_OF_MONTH=", "DAY_OF_MONTH=", "DAY_OF_YEAR=", "DAY_OF_WEEK=", "DAY_OF_WEEK_IN_MONTH=", "AM_PM=", "HOUR=", "HOUR_OF_DAY", "MINUTE=", "SECOND=", "MILLISECOND=", "ZONE_OFFSET=", "DST_OFFSET=", "US-ASCII", "ISO-8859-1", "UTF-16", "UTF-16BE", "UTF-16LE", "�", "averageCharsPerByte must be positive. Actual value is ", "maxCharsPerByte must be positive. Actual value is ", "newAction must be non-null", "Capacity is negative: ", "", "", "Lower", "Upper", "ASCII", "Alpha", "Digit", "Alnum", "Punct", "Graph", "Print", "Blank", "Cntrl", "XDigit", "javaLowerCase", "javaUpperCase", "javaWhitespace", "javaMirrored", "javaDefined", "javaDigit", "javaIdentifierIgnorable", "javaISOControl", "javaJavaIdentifierPart", "javaJavaIdentifierStart", "javaLetter", "javaLetterOrDigit", "javaSpaceChar", "javaTitleCase", "javaUnicodeIdentifierPart", "javaUnicodeIdentifierStart", "Space", "w", "d", "BasicLatin", "Latin-1Supplement", "LatinExtended-A", "LatinExtended-B", "IPAExtensions", "SpacingModifierLetters", "CombiningDiacriticalMarks", "Greek", "Cyrillic", "CyrillicSupplement", "Armenian", "Hebrew", "Arabic", "Syriac", "ArabicSupplement", "Thaana", "Devanagari", "Bengali", "Gurmukhi", "Gujarati", "Oriya", "Tamil", "Telugu", "Kannada", "Malayalam", "Sinhala", "Thai", "Lao", "Tibetan", "Myanmar", "Georgian", "HangulJamo", "Ethiopic", "EthiopicSupplement", "Cherokee", "UnifiedCanadianAboriginalSyllabics", "Ogham", "Runic", "Tagalog", "Hanunoo", "Buhid", "Tagbanwa", "Khmer", "Mongolian", "Limbu", "TaiLe", "NewTaiLue", "KhmerSymbols", "Buginese", "PhoneticExtensions", "PhoneticExtensionsSupplement", "CombiningDiacriticalMarksSupplement", "LatinExtendedAdditional", "GreekExtended", "GeneralPunctuation", "SuperscriptsandSubscripts", "CurrencySymbols", "CombiningMarksforSymbols", "LetterlikeSymbols", "NumberForms", "Arrows", "MathematicalOperators", "MiscellaneousTechnical", "ControlPictures", "OpticalCharacterRecognition", "EnclosedAlphanumerics", "BoxDrawing", "BlockElements", "GeometricShapes", "MiscellaneousSymbols", "Dingbats", "MiscellaneousMathematicalSymbols-A", "SupplementalArrows-A", "BraillePatterns", "SupplementalArrows-B", "MiscellaneousMathematicalSymbols-B", "SupplementalMathematicalOperators", "MiscellaneousSymbolsandArrows", "Glagolitic", "Coptic", "GeorgianSupplement", "Tifinagh", "EthiopicExtended", "SupplementalPunctuation", "CJKRadicalsSupplement", "KangxiRadicals", "IdeographicDescriptionCharacters", "CJKSymbolsandPunctuation", "Hiragana", "Katakana", "Bopomofo", "HangulCompatibilityJamo", "Kanbun", "BopomofoExtended", "CJKStrokes", "KatakanaPhoneticExtensions", "EnclosedCJKLettersandMonths", "CJKCompatibility", "CJKUnifiedIdeographsExtensionA", "YijingHexagramSymbols", "CJKUnifiedIdeographs", "YiSyllables", "YiRadicals", "ModifierToneLetters", "SylotiNagri", "HangulSyllables", "HighSurrogates", "HighPrivateUseSurrogates", "LowSurrogates", "PrivateUseArea", "CJKCompatibilityIdeographs", "AlphabeticPresentationForms", "ArabicPresentationForms-A", "VariationSelectors", "VerticalForms", "CombiningHalfMarks", "CJKCompatibilityForms", "SmallFormVariants", "ArabicPresentationForms-B", "HalfwidthandFullwidthForms", "all", "Specials", "Cn", "IsL", "Lu", "Ll", "Lt", "Lm", "Lo", "IsM", "Mn", "Me", "Mc", "Nd", "Nl", "No", "IsZ", "Zs", "Zl", "Zp", "IsC", "Cc", "Cf", "Co", "Cs", "IsP", "Pd", "Ps", "Pe", "Pc", "Po", "IsS", "Sm", "Sc", "Sk", "So", "Pi", "Pf", "posFSet", " ", "^ ", "range:", "CompositeRangeSet: ", " ", "UCI range:", "decomposed Hangul syllable:", "UCI ", "CI ", "decomposed char:", "", "", "", "WordBoundary", "PreviousMatch", "", "EOI", "^", "DotAll", "", "", "CI back reference: ", "back reference: ", "UCI back reference: ", "sequence: ", "UCI sequence: ", "CI sequence: ", "need dictionary", "incorrect header check", "unknown compression method", "invalid window size", "unknown header flags set", "incorrect data check", "incorrect length check", "bad extra field length", "header crc mismatch", "GMT", ":", "00", "invalid stored block lengths", "invalid block type", "too many length or distance symbols", "invalid bit length repeat", "oversubscribed dynamic bit lengths tree", "incomplete dynamic bit lengths tree", "oversubscribed distance tree", "incomplete distance tree", "empty distance tree with lengths", "oversubscribed literal/length tree", "incomplete literal/length tree", "invalid distance code", "invalid literal/length code", "Id must not be null", "GMT+00:00", "Unknown zone type: ", "The value is too big for long type", "The value is too big for long type: ", "*", "Unknown mode: ", "Malformed input of length ", "Unmappable characters of length ", "main", "box[", " -> ", "Server is in state ", " \'", "\' which is not the \'WORLD_NONE\' state for the requested IPC operation", "IPCPacket09RequestResponse was recieved but statusState was \'", "\' instead of \'WORLD_EXPORTING\'", "[Client][INIT][CLOSE][", "NET|", " is ", "% complete", "IntegratedServer: task \"", "IPC packet type 0x", " class \'", "\' was not handled", "\' contained invalid opCode ", " in state ", "Server signaled \'FAILURE\' response in state \'", "Integrated server signaled a successful boot", "IPC acknowledge packet type 0x", "Failed to process IPC packet type 0x", "Could not serialize IPC packet 0x", "[Client][INIT][OPEN][", "Default", "key.forward", "key.left", "key.back", "key.right", "key.jump", "key.inventory", "key.drop", "key.chat", "key.sneak", "key.attack", "key.use", "key.playerlist", "key.pickItem", "key.sprint", "key.zoom", "key.function", "en_US", "changing render distance in singleplayer may take a few seconds, this is not a glitch plz don\'t report", "options.sensitivity.min", "options.sensitivity.max", "options.fov.min", "options.fov.max", "options.gamma.min", "options.gamma.max", "px", "options.off", "options.on", "options.graphics.fast", "options.graphics.fancy", "musicVolume", "soundVolume", "sensitivity", "fov", "gamma", "invertMouse", "viewDistance", "guiScale", "particles", "viewBobbing", "anaglyph", "limitFramerate", "fancyGraphics", "ambientOcclusion", "clouds", "fog", "lastServer", "chatVisibility", "chatColours", "chatLinks", "chatLinksPrompt", "chatOpacity", "hideServerAddress", "advancedTooltips", "pauseOnLostFocus", "showCape", "touchscreen", "forceHeight", "forceWidth", "antialiasMode", "heldItemTooltips", "chatHeightFocused", "chatHeightUnfocused", "chatScale", "chatWidth", "showCoordinates", "showSkinJacket", "showSkinHat", "showSkinLeftArm", "showSkinRightArm", "showSkinLeftLeg", "showSkinRightLeg", "allowFNAWSkins", "showOtherCapes", "chunkUpdates", "voiceListenVolume", "voiceSpeakVolume", "voicePTTKey", "voiceListenRadius", "difficulty", "hideJoinCode", "relayTimeout", "skin", "enableVsync", "hideVsyncWarning", "EAG|SkinLayers", "Payload may not be larger than 32k", "options.renderDistance.far", "options.renderDistance.normal", "options.renderDistance.short", "options.renderDistance.tiny", "options.difficulty.peaceful", "options.difficulty.easy", "options.difficulty.normal", "options.difficulty.hard", "options.guiScale.auto", "options.guiScale.small", "options.guiScale.normal", "options.guiScale.large", "options.chat.visibility.full", "options.chat.visibility.system", "options.chat.visibility.hidden", "options.particles.all", "options.particles.decreased", "options.particles.minimal", "performance.max", "performance.balanced", "performance.powersaver", "options.ao.off", "options.ao.min", "options.ao.max", "options.framebufferAntialias.none", "options.framebufferAntialias.auto", "options.framebufferAntialias.fxaa", "options.framebufferAntialias.msaa4", "options.framebufferAntialias.msaa8", "inner", "bottom", "water_still", "piston_side", "cross", "line", "cross_overlay", "line_overlay", "grass_top", "grass_side", "hopper_outside", "hopper_inside", "Wrong number of repetitions of X pattern at ", "Scale out of range.", "Overflow", "Underflow", "0.", "Zero length BigInteger", "Radix out of range", "Negative bit address", "Negative exponent", "BigInteger divide by zero", "terrain", "textures/blocks/", "items", "textures/items/", "/terrain.png", "/gui/items.png", "%blur%", "%clamp%", "/font/glyph_sizes.bin", "Could not load PNG", "villages", "Relay [", "] relay provided duplicate client \'", "] relay sent IPacket03ICECandidate for unknown client \'", "] relay sent IPacket04Description for unknown client \'", "] relay sent IPacket05ClientSuccess for unknown client \'", "] unexpected packet: ", "] error code thrown: ", "): ", "] relay sent IPacket06ClientFailure for unknown client \'", "Packet type 0x", " doesn\'t exist", "\' was size ", " but only ", " bytes were read", "Failed to serialize minecraft packet \'", "\' for IPC channel \'NET|", "Could not deserialize a ", " byte long minecraft packet of type \'", "\' on channel \'NET|", "Recieved invalid \'-1\' packet", "Recieved invalid \'", "\' packet", "Could not process minecraft packet 0x", "[integrated]", "Integrated server exception: ", " at ", "Failed to read tag #", " in IPCPacket16NBTList", "WORLD_WORKER_BOOTING", "WORLD_NONE", "WORLD_LOADING", "WORLD_LOADED", "WORLD_UNLOADING", "WORLD_DELETING", "WORLD_RENAMING", "WORLD_DUPLICATING", "WORLD_PAUSED", "WORLD_LISTING", "WORLD_SAVING", "WORLD_IMPORTING", "WORLD_EXPORTING", "WORLD_GET_NBT", "WORLD_LIST_FILE", "WORLD_FILE_READ", "WORLD_FILE_WRITE", "WORLD_FILE_MOVE", "WORLD_FILE_COPY", "WORLD_CLEAR_PLAYERS", "WORLD_WORKER_NOT_RUNNING", "INVALID", "tilecrack_", "liquid.swim", "random.fizz", "liquid.splash", "splash", "bubble", "id", "Pos", "Motion", "Rotation", "FallDistance", "Fire", "Air", "OnGround", "Dimension", "Invulnerable", "PortalCooldown", "UUIDMost", "UUIDLeast", "Riding", "entity.", ".name", "~NULL~", "%s[\'%s\'/%d, l=\'%s\', x=%.2f, y=%.2f, z=%.2f]", "The entity \'", "\' isn\'t registered", "doMobLoot", "explode", "HealF", "Health", "HurtTime", "DeathTime", "AttackTime", "AbsorptionAmount", "Count", "Damage", "tag", "Equipment", "Id", "Amplifier", "Duration", "Ambient", "ActiveEffects", "DropChances", "CustomName", "CustomNameVisible", "Attributes", "mobSpell", "mobSpellAmbient", "random.break", "iconcrack_", "damage.fallsmall", "damage.fallbig", "662A6B8D-DA3E-4C1C-8813-96EA6097278D", "Sprinting speed boost", "Modifier name cannot be empty", "container.enderchest", "random.drink", "random.eat", "naturalRegeneration", "keepInventory", "Inventory", "SelectedItemSlot", "Sleeping", "SleepTimer", "XpP", "XpLevel", "XpTotal", "Score", "SpawnX", "SpawnY", "SpawnZ", "SpawnForced", "foodLevel", "foodTickTimer", "foodSaturationLevel", "foodExhaustionLevel", "EnderItems", "Slot", "player", "crit", "magicCrit", "random.levelup", "textures/gui/achievement/achievement_background.png", "ambient.weather.rain", "textures/environment/snow.png", "textures/environment/rain.png", "/glsl/core.glsl", "\n#define CC_a_color\n", "#define CC_a_normal\n", "#define CC_a_texture0\n", "#define CC_a_texture1\n", "#define CC_TEX_GEN_STRQ\n", "#define CC_lighting\n", "#define CC_fog\n", "#define CC_alphatest\n", "#define CC_unit0\n", "#define CC_unit1\n", "#define CC_patch_anisotropic\n", "#define CC_swap_rb\n", "\n[/glsl/core.glsl][CC_FRAG] ", "broken shader file", "\n[LINKER] ", "\n[/glsl/core.glsl][CC_VERT] ", "] connection failed!", "] failed: ", "Connecting: ", "Relay Server #", "Unknown packet type: ", "underflowed", "overflowed", "writePacket buffer for packet ", " by ", " bytes", "] unexpected IPacket03ICECandidate for \'", "] unexpected IPacket04Description for \'", "] unexpected IPacket05ClientSuccess for \'", "Client \'", "\' failed to connect", "] unexpected IPacket06ClientFailure for \'", "LAN client \'", "\' handshake timed out", "\' disconnected", "\' had an accident: ", " (state ", "TYPE_INTERNAL_ERROR", "TYPE_PROTOCOL_VERSION", "TYPE_INVALID_PACKET", "TYPE_ILLEGAL_OPERATION", "TYPE_CODE_LENGTH", "TYPE_INCORRECT_CODE", "TYPE_SERVER_DISCONNECTED", "TYPE_UNKNOWN_CLIENT", "power of ten too big", ",", " (while deserializing \'", "\')", "IPCInputStream buffer underflow", " no bytes remaining", " tried to read ", " when there are only ", " bytes remaining", "WARNING: Packet \'", "\' was supposed to be ", " bytes but buffer has grown by ", "0.0", "0.00", "0.000", "0.0000", "0.00000", "0.000000", "0E", "0E+", "2147483648", "Unknown/Unsupported Relay Type: \'", "TextureManager.createTexture: Skipping ", " because of broken aspect ratio and not animation", ".txt", "texturepacks", "texturepacks-mp-cache", "..", "/pack.png", "pack.txt", ":folder", "/font.txt", "#", "/font/glyph_%02X.png", "0123456789abcdefklmnor", "/achievement/map.txt", "stat.useItem", "stat.breakItem", "stat.craftItem", "stat.startGame", "stat.createWorld", "stat.loadWorld", "stat.joinMultiplayer", "stat.leaveGame", "stat.playOneMinute", "stat.walkOneCm", "stat.swimOneCm", "stat.fallOneCm", "stat.climbOneCm", "stat.flyOneCm", "stat.diveOneCm", "stat.minecartOneCm", "stat.boatOneCm", "stat.pigOneCm", "stat.jump", "stat.drop", "stat.damageDealt", "stat.damageTaken", "stat.deaths", "stat.mobKills", "stat.playerKills", "stat.fishCaught", "stat.mineBlock", "only two texture units implemented", "textures/misc/enchanted_item_glint.png", "textures/map/map_background.png", "textures/misc/underwater.png", "openInventory", "mineWood", "buildWorkBench", "buildPickaxe", "buildFurnace", "acquireIron", "buildHoe", "makeBread", "bakeCake", "buildBetterPickaxe", "cookFish", "onARail", "buildSword", "killEnemy", "killCow", "flyPig", "snipeSkeleton", "diamonds", "portal", "ghast", "blazeRod", "potion", "theEnd", "theEnd2", "enchantments", "overkill", "bookcase", "C: ", ". F: ", ", O: ", ", E: ", "fps | C: ", ", U: ", "E: ", ". B: ", ", I: ", "hugeexplosion", "largeexplode", "fireworksSpark", "suspended", "depthsuspend", "townaura", "smoke", "spell", "instantSpell", "witchMagic", "note", "enchantmenttable", "flame", "lava", "footstep", "largesmoke", "cloud", "reddust", "snowballpoof", "dripWater", "dripLava", "snowshovel", "slime", "heart", "angryVillager", "happyVillager", "mob.wither.spawn", "mob.enderdragon.end", "random.bow", "random.door_close", "random.door_open", "C418 - ", "Now playing: ", "mob.ghast.charge", "mob.ghast.fireball", "mob.zombie.wood", "mob.zombie.metal", "mob.zombie.woodbreak", "mob.wither.shoot", "mob.bat.takeoff", "mob.zombie.infect", "mob.zombie.unfect", "random.anvil_break", "random.anvil_use", "random.anvil_land", "random.glass", "destroy_stage_", "textures/environment/moon_phases.png", "textures/environment/sun.png", "textures/environment/clouds.png", "textures/environment/end_sky.png", "textures/particle/particles.png", "display", "Name", " fps, ", " chunk updates", "Minecraft 1.6.4 (", "x: ", ", y: ", ", z: ", "All: ", "P: ", ". T: ", "MultiplayerChunkCache: ", "Game is running in a browser (", "Player ", " using internal account", "[not connected]", "Using cracked server @ ", " (", ") // c: ", "y: ", ") (feet pos)", "z: ", "f: ", ") / ", "enable", "disable", "Press F+6 to ", " showing coords in ingame GUI", "IntegratedServer is running", "opengl emulator status - v1.0", "lists: ", ", upload: ", "mbps", "verts: ", "k, triangles: ", "opengl30", "webgl20", "rendering backend: ", "glsl ", ", 32 bytes/vert", "Bound Shaders:", "textures/misc/vignette.png", "textures/gui/widgets.png", "textures/misc/pumpkinblur.png", "/lang/", ".lang", "\n+", "Format error: ", "English (US)", "missingno", "eaglercraft javascript runtime", "eaglercraft debug runtime", "seenAcknowledgementsSP2", "menu.multiplayer", "menu.forkme", "menu.options", "menu.editprofile", "/title/no-pano-blur.flag", "/credits.txt", " ", "eaglercraft readme.txt", "debug console", "Options", "Select world", "lang/en_US.lang", "\r\n", "[\r\n]", "achievement/map.txt", "starting up integrated server", "Minecraft 1.6.4", "Eaglercraft 25w13a", " (cracked)", "copyright 2013 Mojang AB", "site resources are", "(BIG Endian)", "/title/bg/panorama0.png", "/title/bg/panorama1.png", "/title/bg/panorama2.png", "/title/bg/panorama3.png", "/title/bg/panorama4.png", "/title/bg/panorama5.png", "/title/mclogo.png", "/title/eag.png", "/gui/demo_bg.png", "/gui/beacon.png", "://", "connect.failed", "disconnect.genericReason", "invalid uri websocket protocol", "[", "wss", "invalid port number", "[GuiConnecting] - Sending packets", "EAG|MySkin", "EAG|MyCape", "disconnect.ipNowLocked", "disconnect.endOfStream", "disconnect.ipLocked", "disconnect.ipBlocked", "disconnect.ipFailedPossiblyLocked", "could not connect to ", "gui.cancel", "disconnect.closed", "connect.authorizing", "connect.connecting", "options.vsyncWarning.title", "options.vsyncWarning.0", "options.vsyncWarning.1", "options.vsyncWarning.2", "options.vsyncWarning.3", "options.vsyncWarning.4", "options.vsyncWarning.5", "options.vsyncWarning.6", "options.vsyncWarning.fixSettings", "options.vsyncWarning.continueAnyway", "options.vsyncWarning.doNotShowAgain", "BLACK", "DARK_BLUE", "DARK_GREEN", "DARK_AQUA", "DARK_RED", "DARK_PURPLE", "GOLD", "GRAY", "DARK_GRAY", "BLUE", "GREEN", "AQUA", "RED", "LIGHT_PURPLE", "YELLOW", "WHITE", "OBFUSCATED", "BOLD", "STRIKETHROUGH", "ITALIC", "RESET", "(?i)", "[0-9A-FK-OR]", "EAG|FetchSkin", "/skins/01.default_steve.png", "/skins/02.default_alex.png", "/skins/03.tennis_steve.png", "/skins/04.tennis_alex.png", "/skins/05.tuxedo_steve.png", "/skins/06.tuxedo_alex.png", "/skins/07.athlete_steve.png", "/skins/08.athlete_alex.png", "/skins/09.cyclist_steve.png", "/skins/10.cyclist_alex.png", "/skins/11.boxer_steve.png", "/skins/12.boxer_alex.png", "/skins/13.prisoner_steve.png", "/skins/14.prisoner_alex.png", "/skins/15.scottish_steve.png", "/skins/16.scottish_alex.png", "/skins/17.dev_steve.png", "/skins/18.dev_alex.png", "/skins/19.herobrine.png", "/textures/entity/enderman/enderman.png", "/textures/entity/skeleton/skeleton.png", "/textures/entity/blaze.png", "/skins/20.barney.png", "/skins/21.slime.png", "/skins/22.noob.png", "/skins/23.trump.png", "/skins/24.notch.png", "/skins/25.creeper.png", "/skins/26.zombie.png", "/skins/27.pig.png", "/skins/28.squid.png", "/skins/29.mooshroom.png", "/textures/entity/villager/villager.png", "/skins/c01.minecon_2011.png", "/skins/c02.minecon_2012.png", "/skins/c03.minecon_2013.png", "/skins/c04.minecon_2015.png", "/skins/c05.minecon_2016.png", "/skins/c06.microsoft_account.png", "/skins/c07.mapmaker.png", "/skins/c08.mojang_old.png", "/skins/c09.mojang_new.png", "/skins/c10.jira_mod.png", "/skins/c11.mojang_very_old.png", "/skins/c12.scrolls.png", "/skins/c13.cobalt.png", "/skins/c14.translator.png", "/skins/c15.millionth_account.png", "/skins/c16.prismarine.png", "/skins/c17.snowman.png", "/skins/c18.spade.png", "/skins/c19.birthday.png", "/skins/c20.db.png", "directConnect.lanWorldRelay", "selectServer.edit", "selectServer.delete", "selectServer.select", "selectServer.direct", "selectServer.add", "selectServer.refresh", "selectServer.defaultName", "selectServer.deleteQuestion", "selectServer.deleteWarning", "\' ", "selectServer.deleteButton", "multiplayer.title", "can you not", "Connecting to \'", "\'...", "ench", "MUSIC", "options.music", "SOUND", "options.sound", "INVERT_MOUSE", "options.invertMouse", "SENSITIVITY", "options.sensitivity", "FOV", "options.fov", "GAMMA", "options.gamma", "RENDER_DISTANCE", "options.renderDistance", "VIEW_BOBBING", "options.viewBobbing", "ANAGLYPH", "options.anaglyph", "FRAMERATE_LIMIT", "options.framerateLimit", "DIFFICULTY", "options.difficulty", "GRAPHICS", "options.graphics", "AMBIENT_OCCLUSION", "options.ao", "GUI_SCALE", "options.guiScale", "RENDER_CLOUDS", "options.renderClouds", "PARTICLES", "options.particles", "CHAT_VISIBILITY", "options.chat.visibility", "CHAT_COLOR", "options.chat.color", "CHAT_LINKS", "options.chat.links", "CHAT_OPACITY", "options.chat.opacity", "CHAT_LINKS_PROMPT", "options.chat.links.prompt", "USE_SERVER_TEXTURES", "options.serverTextures", "SNOOPER_ENABLED", "options.snooper", "ENABLE_FOG", "options.fog", "SHOW_CAPE", "options.showCape", "ANTIALIASING", "options.framebufferAntialias", "CHAT_SCALE", "options.chat.scale", "CHAT_WIDTH", "options.chat.width", "CHAT_HEIGHT_FOCUSED", "options.chat.height.focused", "CHAT_HEIGHT_UNFOCUSED", "options.chat.height.unfocused", "CHUNK_UPDATES", "options.chunkUpdates", "ADDERALL", "options.adderall", "VSYNC", "options.vsync", "textures/gui/container/inventory.png", " II", " III", " IV", "**:**", "container.crafting", "Exit Chat", "MpServer", "doDaylightCycle", "multiplayer.stopSleeping", " edg/", " opr/", " chrome/", " firefox/", " safari/", " trident/", " msie", " webkit/", " gecko/", " desktop/", "DESKTOP", "Desktop", "CHROME", "Chrome", "EDGE", "Edge", "IE", "FIREFOX", "Firefox", "SAFARI", "Safari", "OPERA", "Opera", "WEBKIT", "WebKit", "GECKO", "Gecko", "Unknown", "Action must be non-null", "Error, texture \'", "\' was registered with size ", ", the terrain texure map only supports size 1 and 2 (16px and 32px)", "Couldn\'t find premade icon for ", " doing ", "Found animation info for: ", "clock", "compass", ", the item texure map only supports size 1 (16px)", "Don\'t register null!", "CanPickUpLoot", "PersistenceRequired", "Leashed", "Leash", "mobGriefing", "Random spawn bonus", "E199AD21-BA8A-4C53-8D13-6182D5C69D3A", "Fleeing speed bonus", "mob", "mob.spider.death", "mob.spider.step", "textures/misc/shadow.png", "%clamp%/misc/shadow.png", "deadmau5", "textures/entity/spider_eyes.png", "textures/entity/spider/spider.png", "textures/entity/spider/cave_spider.png", "Age", "InLove", "Saddle", "mob.pig.step", "textures/entity/pig/pig_saddle.png", "textures/entity/pig/pig.png", "mob.sheep.shear", "Sheared", "Color", "mob.sheep.say", "mob.sheep.step", "textures/entity/sheep/sheep_fur.png", "textures/entity/sheep/sheep.png", "mob.cow.say", "mob.cow.hurt", "mob.cow.step", "textures/entity/cow/cow.png", "textures/entity/cow/mooshroom.png", "mob.wolf.step", "Owner", "Sitting", "Angry", "CollarColor", "mob.wolf.growl", "mob.wolf.bark", "mob.wolf.whine", "mob.wolf.panting", "mob.wolf.hurt", "mob.wolf.death", "mob.wolf.shake", "textures/entity/wolf/wolf.png", "textures/entity/wolf/wolf_tame.png", "textures/entity/wolf/wolf_angry.png", "textures/entity/wolf/wolf_collar.png", "mob.chicken.plop", "mob.chicken.say", "mob.chicken.hurt", "mob.chicken.step", "textures/entity/chicken.png", "CatType", "mob.cat.purr", "mob.cat.meow", "mob.cat.purreow", "mob.cat.hitt", "entity.Cat.name", "textures/entity/cat/black.png", "textures/entity/cat/ocelot.png", "textures/entity/cat/red.png", "textures/entity/cat/siamese.png", "head.main", "head.nose", "head.ear1", "head.ear2", "head", "nose", "ear1", "ear2", "mob.silverfish.hit", "mob.silverfish.kill", "mob.silverfish.step", "textures/entity/silverfish.png", "powered", "Fuse", "ExplosionRadius", "random.fuse", "mob.creeper.say", "mob.creeper.death", "textures/entity/creeper/creeper_armor.png", "textures/entity/creeper/creeper.png", "carried", "carriedData", "mob.endermen.portal", "mob.endermen.idle", "mob.endermen.hit", "mob.endermen.death", "020E0DFB-87AE-4653-9556-831010E291A0", "Attacking speed boost", "textures/entity/enderman/enderman_eyes.png", "textures/entity/enderman/enderman.png", "none", "ArrowAttackGoal requires Mob implements RangedAttackMob", "textures/entity/snowman.png", "mob.skeleton.say", "mob.skeleton.hurt", "mob.skeleton.death", "mob.skeleton.step", "SkeletonType", "_%s", "textures/models/armor/%s_layer_%d%s.png", "SkullOwner", "leather", "chainmail", "iron", "diamond", "gold", "textures/entity/skeleton/skeleton.png", "textures/entity/skeleton/wither_skeleton.png", "mob.witch.idle", "mob.witch.hurt", "mob.witch.death", "5CD17E52-A79A-43D3-A529-90FDE04B181E", "Drinking speed penalty", "textures/entity/witch.png", "mob.blaze.hit", "mob.blaze.death", "textures/entity/blaze.png", "Zombie reinforcement caller charge", "Zombie reinforcement callee charge", "mob.zombie.death", "mob.zombie.step", "IsBaby", "IsVillager", "ConversionTime", "Random zombie-spawn bonus", "Leader zombie bonus", "mob.zombie.remedy", "zombie.spawnReinforcements", "Spawn Reinforcements Chance", "B9766B59-9566-4402-BC1F-2EE2A276D836", "Baby speed boost", "textures/entity/zombie_pigman.png", "textures/entity/zombie/zombie.png", "textures/entity/zombie/zombie_villager.png", "Size", "small", "big", "mob.slime.", "textures/entity/slime/slime.png", "mob.magmacube.small", "mob.magmacube.big", "textures/entity/slime/magmacube.png", "overlay", "textures/entity/steve.png", "/mob/char.png", "fireball", "mob.ghast.moan", "mob.ghast.death", "ExplosionPower", "textures/entity/ghast/ghast.png", "textures/entity/ghast/ghast_shooting.png", "textures/entity/squid.png", "entity.Villager.name", "Profession", "Riches", "Recipes", "Offers", "mob.villager.idle", "mob.villager.haggle", "mob.villager.hit", "mob.villager.death", "mob.villager.yes", "mob.villager.no", "textures/entity/villager/villager.png", "textures/entity/villager/farmer.png", "textures/entity/villager/librarian.png", "textures/entity/villager/priest.png", "textures/entity/villager/smith.png", "textures/entity/villager/butcher.png", "PlayerCreated", "mob.irongolem.throw", "mob.irongolem.hit", "mob.irongolem.death", "mob.irongolem.walk", "textures/entity/iron_golem.png", "mob.bat.idle", "mob.bat.hurt", "mob.bat.death", "BatFlags", "textures/entity/bat.png", "body", "tail", "wing", "mob.enderdragon.wings", "explosion", "mob.enderdragon.growl", "mob.enderdragon.hit", "textures/entity/enderdragon/dragon_exploding.png", "textures/entity/endercrystal/endercrystal_beam.png", "textures/entity/enderdragon/dragon_eyes.png", "textures/entity/enderdragon/dragon.png", "textures/entity/endercrystal/endercrystal.png", "Invul", "mob.wither.idle", "mob.wither.hurt", "mob.wither.death", "textures/entity/wither/wither_invulnerable.png", "textures/entity/wither/wither.png", "Direction", "TileX", "TileY", "TileZ", "Dir", "Motive", "textures/painting/paintings_kristoffer_zetterstrand.png", "frame-", "Item", "ItemRotation", "ItemDropChance", "itemframe_background", "textures/entity/lead_knot.png", "arrow", "random.bowhit", "xTile", "yTile", "zTile", "inTile", "inData", "shake", "inGround", "pickup", "damage", "random.pop", "textures/entity/arrow.png", "ownerName", "thrown", "bottle_splash", "CONFLICT @ ", "item.", "MISSING_ICON_ITEM_", "CB3F55D3-645C-4F38-A497-9C13A33DB5CF", "shovelIron", "iron_shovel", "pickaxeIron", "iron_pickaxe", "hatchetIron", "iron_axe", "flintAndSteel", "flint_and_steel", "apple", "bow", "coal", "ingotIron", "iron_ingot", "ingotGold", "gold_ingot", "swordIron", "iron_sword", "swordWood", "wood_sword", "shovelWood", "wood_shovel", "pickaxeWood", "wood_pickaxe", "hatchetWood", "wood_axe", "swordStone", "stone_sword", "shovelStone", "stone_shovel", "pickaxeStone", "stone_pickaxe", "hatchetStone", "stone_axe", "swordDiamond", "diamond_sword", "shovelDiamond", "diamond_shovel", "pickaxeDiamond", "diamond_pickaxe", "hatchetDiamond", "diamond_axe", "stick", "bowl", "mushroomStew", "mushroom_stew", "swordGold", "gold_sword", "shovelGold", "gold_shovel", "pickaxeGold", "gold_pickaxe", "hatchetGold", "gold_axe", "feather", "sulphur", "gunpowder", "hoeWood", "wood_hoe", "hoeStone", "stone_hoe", "hoeIron", "iron_hoe", "hoeDiamond", "diamond_hoe", "hoeGold", "gold_hoe", "seeds", "seeds_wheat", "wheat", "bread", "helmetCloth", "leather_helmet", "chestplateCloth", "leather_chestplate", "leggingsCloth", "leather_leggings", "bootsCloth", "leather_boots", "helmetChain", "chainmail_helmet", "chestplateChain", "chainmail_chestplate", "leggingsChain", "chainmail_leggings", "bootsChain", "chainmail_boots", "helmetIron", "iron_helmet", "chestplateIron", "iron_chestplate", "leggingsIron", "iron_leggings", "bootsIron", "iron_boots", "helmetDiamond", "diamond_helmet", "chestplateDiamond", "diamond_chestplate", "leggingsDiamond", "diamond_leggings", "bootsDiamond", "diamond_boots", "helmetGold", "gold_helmet", "chestplateGold", "gold_chestplate", "leggingsGold", "gold_leggings", "bootsGold", "gold_boots", "flint", "porkchopRaw", "porkchop_raw", "porkchopCooked", "porkchop_cooked", "painting", "appleGold", "apple_golden", "sign", "doorWood", "door_wood", "bucket", "bucket_empty", "bucketWater", "bucket_water", "bucketLava", "bucket_lava", "minecart", "minecart_normal", "saddle", "doorIron", "door_iron", "redstone", "redstone_dust", "snowball", "boat", "milk", "bucket_milk", "clay", "clay_ball", "reeds", "paper", "book", "book_normal", "slimeball", "minecartChest", "minecart_chest", "minecartFurnace", "minecart_furnace", "egg", "fishingRod", "fishing_rod", "yellowDust", "glowstone_dust", "fishRaw", "fish_raw", "fishCooked", "fish_cooked", "dyePowder", "dye_powder", "bone", "sugar", "cake", "bed", "diode", "repeater", "cookie", "map", "map_filled", "shears", "melon", "seeds_pumpkin", "seeds_melon", "beefRaw", "beef_raw", "beefCooked", "beef_cooked", "chickenRaw", "chicken_raw", "chickenCooked", "chicken_cooked", "rottenFlesh", "rotten_flesh", "enderPearl", "ender_pearl", "blaze_rod", "ghastTear", "+0-1-2-3&4-4+13", "ghast_tear", "goldNugget", "gold_nugget", "netherStalkSeeds", "+4", "nether_wart", "glassBottle", "potion_bottle_empty", "spiderEye", "spider_eye", "fermentedSpiderEye", "spider_eye_fermented", "blazePowder", "blaze_powder", "magmaCream", "magma_cream", "brewingStand", "brewing_stand", "cauldron", "eyeOfEnder", "ender_eye", "speckledMelon", "melon_speckled", "monsterPlacer", "spawn_egg", "expBottle", "experience_bottle", "writingBook", "book_writable", "writtenBook", "book_written", "emerald", "frame", "item_frame", "flowerPot", "flower_pot", "carrots", "carrot", "potato", "potatoBaked", "potato_baked", "potatoPoisonous", "potato_poisonous", "emptyMap", "map_empty", "carrotGolden", "carrot_golden", "skull", "carrotOnAStick", "carrot_on_a_stick", "netherStar", "nether_star", "pumpkinPie", "pumpkin_pie", "fireworks", "fireworksCharge", "fireworks_charge", "enchantedBook", "book_enchanted", "comparator", "netherbrick", "netherquartz", "quartz", "minecartTnt", "minecart_tnt", "minecartHopper", "minecart_hopper", "horsearmormetal", "iron_horse_armor", "horsearmorgold", "gold_horse_armor", "horsearmordiamond", "diamond_horse_armor", "leash", "lead", "nameTag", "name_tag", "13", "record", "record_13", "cat", "record_cat", "blocks", "record_blocks", "chirp", "record_chirp", "far", "record_far", "mall", "record_mall", "mellohi", "record_mellohi", "stal", "record_stal", "strad", "record_strad", "ward", "record_ward", "11", "record_11", "wait", "record_wait", "Potion", "potionValue", "Fireworks", "Flight", "fireworks.launch", "Life", "LifeTime", "FireworksItem", "direction", "onFire", "Item entity ", " has no item?!", "Value", "random.orb", "textures/entity/experience_orb.png", "y", "z", "Tile", "TileID", "Data", "Time", "DropItem", "HurtEntities", "FallHurtAmount", "FallHurtMax", "TileEntityData", "CustomDisplayTile", "DisplayTile", "DisplayData", "DisplayOffset", "TNTFuse", "textures/entity/minecart.png", "textures/entity/boat.png", "random.splash", "entity.donkey.name", "entity.mule.name", "entity.zombiehorse.name", "entity.skeletonhorse.name", "entity.horse.name", "eating", "mob.horse.land", "HorseChest", "mob.horse.armor", "mob.horse.leather", "mob.horse.zombie.death", "mob.horse.skeleton.death", "mob.horse.death", "mob.horse.donkey.death", "mob.horse.zombie.hit", "mob.horse.skeleton.hit", "mob.horse.hit", "mob.horse.donkey.hit", "mob.horse.zombie.idle", "mob.horse.skeleton.idle", "mob.horse.idle", "mob.horse.donkey.idle", "mob.horse.angry", "mob.horse.donkey.angry", "mob.horse.gallop", "mob.horse.breathe", "mob.horse.wood", "mob.horse.soft", "horse/", "mob.chickenplop", "mob.horse.jump", "EatingHaystack", "ChestedHorse", "HasReproduced", "Bred", "Type", "Variant", "Temper", "Tame", "OwnerName", "Items", "ArmorItem", "SaddleItem", "Speed", "horse.jumpStrength", "Jump Strength", "textures/entity/horse/armor/horse_armor_iron.png", "textures/entity/horse/armor/horse_armor_gold.png", "textures/entity/horse/armor/horse_armor_diamond.png", "meo", "goo", "dio", "textures/entity/horse/horse_white.png", "textures/entity/horse/horse_creamy.png", "textures/entity/horse/horse_chestnut.png", "textures/entity/horse/horse_brown.png", "textures/entity/horse/horse_black.png", "textures/entity/horse/horse_gray.png", "textures/entity/horse/horse_darkbrown.png", "hwh", "hcr", "hch", "hbr", "hbl", "hgr", "hdb", "textures/entity/horse/horse_markings_white.png", "textures/entity/horse/horse_markings_whitefield.png", "textures/entity/horse/horse_markings_whitedots.png", "textures/entity/horse/horse_markings_blackdots.png", "wo_", "wmo", "wdo", "bdo", "textures/entity/horse/mule.png", "textures/entity/horse/donkey.png", "textures/entity/horse/horse_zombie.png", "textures/entity/horse/horse_skeleton.png", "doFireTick", "textures/map/map_icons.png", "Duplicate stat id: \"", "\" and \"", "\" at id ", "########0.00", "achievement.", ".desc", "portal.trigger", "achievement.get", "TILE", "ENTITY", " #", ")", "#%04d%s", "#%04d/%d%s", "lvl", "color", "item.dyed", "Color: #", "Lore", "Durability: ", " / ", "#.###", "invulnerable", "flying", "mayfly", "instabuild", "mayBuild", "flySpeed", "walkSpeed", "abilities", "Slot ", " is already occupied by ", " when adding ", "doTileDrops", "tile.", "MISSING_ICON_TILE_", "wood", "gravel", "grass", "cloth", "sand", "snow", "ladder", "anvil", "dirt", "stonebrick", "cobblestone", "planks", "sapling", "bedrock", "water", "water_flow", "lava_flow", "lava_still", "oreGold", "gold_ore", "oreIron", "iron_ore", "oreCoal", "coal_ore", "log", "leaves", "sponge", "glass", "oreLapis", "lapis_ore", "blockLapis", "lapis_block", "dispenser", "sandStone", "sandstone", "musicBlock", "noteblock", "goldenRail", "rail_golden", "detectorRail", "rail_detector", "pistonStickyBase", "web", "pistonBase", "wool_colored", "flower", "flower_dandelion", "rose", "flower_rose", "mushroom", "mushroom_brown", "mushroom_red", "blockGold", "gold_block", "blockIron", "iron_block", "stoneSlab", "tnt", "bookshelf", "stoneMoss", "cobblestone_mossy", "obsidian", "torch", "torch_on", "fire", "mobSpawner", "mob_spawner", "stairsWood", "chest", "redstoneDust", "oreDiamond", "diamond_ore", "blockDiamond", "diamond_block", "workbench", "crafting_table", "crops", "farmland", "furnace", "rail", "rail_normal", "stairsStone", "lever", "pressurePlate", "planks_oak", "oreRedstone", "redstone_ore", "notGate", "redstone_torch_off", "redstone_torch_on", "button", "ice", "cactus", "jukebox", "fence", "pumpkin", "hellrock", "netherrack", "hellsand", "soul_sand", "lightgem", "glowstone", "litpumpkin", "repeater_off", "repeater_on", "lockedchest", "trapdoor", "monsterStoneEgg", "stonebricksmooth", "mushroom_block", "iron_bars", "fenceIron", "glass_pane_top", "thinGlass", "pumpkinStem", "pumpkin_stem", "melon_stem", "vine", "fenceGate", "stairsBrick", "stairsStoneBrickSmooth", "mycel", "mycelium", "waterlily", "netherBrick", "nether_brick", "netherFence", "stairsNetherBrick", "netherStalk", "enchantmentTable", "enchanting_table", "endPortalFrame", "endframe", "whiteStone", "end_stone", "dragonEgg", "dragon_egg", "redstoneLight", "redstone_lamp_off", "redstone_lamp_on", "woodSlab", "cocoa", "stairsSandStone", "oreEmerald", "emerald_ore", "enderChest", "tripWireSource", "trip_wire_source", "tripWire", "trip_wire", "blockEmerald", "emerald_block", "stairsWoodSpruce", "stairsWoodBirch", "stairsWoodJungle", "commandBlock", "command_block", "beacon", "cobbleWall", "potatoes", "chestTrap", "weightedPlate_light", "weightedPlate_heavy", "comparator_off", "comparator_on", "daylightDetector", "daylight_detector", "blockRedstone", "redstone_block", "quartz_ore", "hopper", "quartzBlock", "quartz_block", "stairsQuartz", "activatorRail", "rail_activator", "dropper", "clayHardenedStained", "hardened_clay_stained", "hayBlock", "hay_block", "woolCarpet", "clayHardened", "hardened_clay", "blockCoal", "coal_block", "shrub", "Listener already listening", "XPOrb", "Painting", "Arrow", "Snowball", "Fireball", "SmallFireball", "ThrownEnderpearl", "EyeOfEnderSignal", "ThrownPotion", "ThrownExpBottle", "ItemFrame", "WitherSkull", "PrimedTnt", "FallingSand", "FireworksRocketEntity", "Boat", "MinecartRideable", "MinecartChest", "MinecartFurnace", "MinecartTNT", "MinecartHopper", "MinecartSpawner", "Spider", "Giant", "Ghast", "PigZombie", "CaveSpider", "Silverfish", "LavaSlime", "EnderDragon", "WitherBoss", "Bat", "Witch", "Sheep", "Cow", "Chicken", "Wolf", "MushroomCow", "SnowMan", "Ozelot", "VillagerGolem", "EntityHorse", "EnderCrystal", "/pack.txt", "/gui/unknown_pack.png", "The default look of Minecraft", "Size ", "px) is not supported on this texture map", "The last float in dst ", "body.body", "wing.skin", "wingtip.skin", "rearleg.main", "rearfoot.main", "rearlegtip.main", "head.upperhead", "wing.bone", "head.upperlip", "jaw.jaw", "frontleg.main", "wingtip.bone", "frontfoot.main", "neck.box", "frontlegtip.main", "body.scale", "head.scale", "neck.scale", "head.nostril", "upperlip", "upperhead", "scale", "nostril", "jaw", "neck", "box", "wingtip", "frontleg", "frontlegtip", "frontfoot", "rearleg", "rearlegtip", "rearfoot", "cube", "base", "Unknown data type: ", "Data value id is too big with ", "! (Max is 31)", "Duplicate id value for ", "0123456789ABCDEF", "UUID string too large", "Invalid UUID string: ", "AttributeModifier{amount=", ", operation=", ", name=\'", "\', id=", ", serialize=", "WOOD", "STONE", "IRON", "EMERALD", "random.burp", "_standby", "itemGroup.", "items.png", "buildingBlocks", "decorations", "transportation", "misc", "search", "item_search.png", "food", "tools", "combat", "brewing", "materials", "inventory", "inventory.png", "item.coal", "item.charcoal", "charcoal", "0 & !1 & !2 & !3 & 0+6", "-0+1-2-3&4-4+13", "!0 & 1 & !2 & !3 & 1+6", "+0+1-2-3&4-4+13", "0 & 1 & !2 & !3 & 0+6", "+0-1+2-3&4-4+13", "0 & !1 & 2 & !3", "-0-1+2-3&4-4+13", "!0 & !1 & 2 & !3 & 2+6", "-0+3-4+13", "!0 & !1 & !2 & 3 & 3+6", "!0 & !1 & 2 & 3", "!0 & 1 & !2 & 3 & 3+6", "+0-1-2+3&4-4+13", "0 & !1 & !2 & 3 & 3+6", "-0+1+2-3+13&4-4", "!0 & 1 & 2 & !3 & 2+6", "!0 & 1 & 2 & 3 & 2+6", "+5-6-7", "-5+6-7", "+14&13-13", "potion.prefix.mundane", "potion.prefix.uninteresting", "potion.prefix.bland", "potion.prefix.clear", "potion.prefix.milky", "potion.prefix.diffuse", "potion.prefix.artless", "potion.prefix.thin", "potion.prefix.awkward", "potion.prefix.flat", "potion.prefix.bulky", "potion.prefix.bungling", "potion.prefix.buttered", "potion.prefix.smooth", "potion.prefix.suave", "potion.prefix.debonair", "potion.prefix.thick", "potion.prefix.elegant", "potion.prefix.fancy", "potion.prefix.charming", "potion.prefix.dashing", "potion.prefix.refined", "potion.prefix.cordial", "potion.prefix.sparkling", "potion.prefix.potent", "potion.prefix.foul", "potion.prefix.odorless", "potion.prefix.rank", "potion.prefix.harsh", "potion.prefix.acrid", "potion.prefix.gross", "potion.prefix.stinky", "Can\'t dye non-leather!", "leather_helmet_overlay", "leather_chestplate_overlay", "leather_leggings_overlay", "leather_boots_overlay", "empty_armor_slot_helmet", "empty_armor_slot_chestplate", "empty_armor_slot_leggings", "empty_armor_slot_boots", "CLOTH", "CHAIN", "DIAMOND", "indirectMagic", "Invalid operation", "potion.moveSpeed", "91AEAA56-376B-4498-935B-2F7F68070635", "potion.moveSlowdown", "7107DE5E-7CE8-4030-940E-514C1F160890", "potion.digSpeed", "potion.digSlowDown", "potion.damageBoost", "648D7064-6A60-4F59-8ABE-C2C23A6DD7A9", "potion.heal", "potion.harm", "potion.jump", "potion.confusion", "potion.regeneration", "potion.resistance", "potion.fireResistance", "potion.waterBreathing", "potion.invisibility", "potion.blindness", "potion.nightVision", "potion.hunger", "potion.weakness", "22653B89-116E-49DC-9B6B-9971489B5BE5", "potion.poison", "potion.wither", "potion.healthBoost", "5D6F0BA2-1186-46AC-B896-C61C5CEE99CC", "potion.absorption", "potion.saturation", "Edit sign message:", "_uncast", "_cast", "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white", "light_blue", "map_", "map_is_scaling", "Unknown map", "Scaling at 1:", "(Level ", "/4)", "CustomPotionEffects", "item.emptyPotion.name", "potion.prefix.grenade", ".postfix", "potion.potency.", "potion.empty", "_bottle_drinkable", "_bottle_splash", "_overlay", "bottle_drinkable", "Skipping Entity with id ", "title", "author", "book.byAuthor", "item.skull.player.name", "skeleton", "wither", "zombie", "char", "creeper", "steve", "item.fireworks.flight", "Explosions", " ", "Explosion", "Colors", "item.fireworksCharge.type.", "item.fireworksCharge.type", "item.fireworksCharge.", "item.fireworksCharge.customColor", "FadeColors", "item.fireworksCharge.fadeTo", "Trail", "item.fireworksCharge.trail", "Flicker", "item.fireworksCharge.flicker", "StoredEnchantments", "dig.", "step.", "step.stone", "dig.wood", "dig.stone", "_side", "_top", "_side_snowed", "_side_overlay", "liquid.water", "liquid.lavapop", "liquid.lava", "leaves_oak", "leaves_spruce", "leaves_birch", "leaves_jungle", "leaves_oak_opaque", "leaves_spruce_opaque", "leaves_birch_opaque", "leaves_jungle_opaque", "furnace_side", "furnace_top", "_front_horizontal", "_front_vertical", "_bottom", "chiseled", "smooth", "carved", "harp", "bd", "snare", "hat", "bassattack", "note.", "tile.bed.occupied", "tile.bed.noSleep", "tile.bed.notSafe", "_feet_top", "_head_top", "_feet_end", "_head_end", "_feet_side", "_head_side", "_powered", "piston_top_normal", "piston_top_sticky", "piston_inner", "piston_bottom", "stone_slab_top", "stone_slab_side", "smoothStoneBrick", "fire.fire", "_layer_0", "_layer_1", "container.chestDouble", "_cross", "_line", "_cross_overlay", "_line_overlay", "_front", "_stage_", "_wet", "_dry", "furnace_front_off", "furnace_front_on", " is missing a mapping! This is a bug!", "Furnace", "Duplicate id: ", "Chest", "EnderChest", "RecordPlayer", "Trap", "Dropper", "Sign", "MobSpawner", "Music", "Piston", "Cauldron", "EnchantTable", "Airportal", "Control", "Beacon", "Skull", "DLDetector", "Hopper", "Comparator", "Text1", "Text2", "Text3", "Text4", "Text", "_upper", "_lower", "_turned", "everything", "mobs", "off", "on", "_face_", "portal.portal", "_inner", "cracked", "_inside", "_skin_stem", "_disconnected", "_connected", "grass_side_snowed", "container.enchant", "_base", "_eye", "@", "anvil_base", "intact", "slightlyDamaged", "veryDamaged", "anvil_top_damaged_0", "anvil_top_damaged_1", "anvil_top_damaged_2", "hopper_top", "_chiseled_top", "_lines_top", "lines", "side", "Currency not found: ", "-", "This exception should not been thrown", "Can\'t avoid rounding", "container.minecart", "PushX", "PushZ", "Fuel", "TransferCooldown", "Anger", "mob.zombiepig.zpighurt", "mob.zombiepig.zpigdeath", "49455A49-7EC5-45BA-B886-3B90B23A1718", "radix ", " less than Character.MIN_RADIX", " greater than Character.MAX_RADIX", "armor", "armor_feet", "armor_legs", "armor_torso", "armor_head", "weapon", "digger", "Ignoring unknown attribute \'", "Base", "Modifiers", "Amount", "Operation", "generic.maxHealth", "Max Health", "generic.followRange", "Follow Range", "generic.knockbackResistance", "Knockback Resistance", "generic.movementSpeed", "Movement Speed", "generic.attackDamage", "###", "#W#", "#X#", "~~ ", "~O ", " ~", "XXX", "##", "X#X", "# #", " X ", "AAA", "BEB", "CCC", " # ", "X X", "XRX", "XSX", " B ", "A ", " B", "# ", "## ", " #", " #X", "# X", "# ", " X", "III", "#R#", "TTT", "D#D", " i ", "iii", "GGG", "QQQ", "WWW", "I I", "ICI", " I ", "Invalid shapeless recipy!", "CEILING", "FLOOR", "HALF_UP", "HALF_DOWN", "HALF_EVEN", "UNNECESSARY", "Name cannot be null!", "Minimum value cannot be bigger than maximum value!", "Default value cannot be lower than minimum value!", "Default value cannot be bigger than maximum value!", "XX", "X#", "MMM", "#-", "#E#", " R ", "RGR", "GSG", "OOO", "NN", "SkullType", "Rot", "ExtraType", "deathScreen.respawn", "deathScreen.titleScreen", "deathScreen.leaveServer", "deathScreen.deleteWorld", "deathScreen.title", "deathScreen.title.hardcore", "deathScreen.hardcoreInfo", "deathScreen.score", "menu.returnToMenu", "menu.disconnect", "menu.returnToGame", "menu.shareToLan", "gui.achievements", "gui.stats", "survival", "Game menu", ", Pos (", "), RGBA (", "), Age ", "gui.killTask", "selectWorld.progress.cancelWarning", "MB", "kB", "s)", "selectWorld.progress.confirmCancel", "Server Crash: State \'", "eagStorage2", "Could not init filesystem: VFSHandle.vfs was null", "Positive number pattern not found in ", "Expected \';\' at ", " in ", "Prefix contains special character at ", "Quote opened at ", " was not closed in ", "Unexpected \'#\' at non-optional digit part at ", "Two group separators at ", "Pattern does not specify integer digits at ", "Group separator at the end of number at ", "Group separator found at fractional part at ", "Unexpected second decimal separator at ", "Unexpected \'0\' at optional digit part at ", "Unexpected char at exponent at ", "Pattern does not specify exponent digits at ", "Ocean", "Plains", "Desert", "Extreme Hills", "Forest", "Taiga", "Swampland", "River", "Hell", "Sky", "FrozenOcean", "FrozenRiver", "Ice Plains", "Ice Mountains", "MushroomIsland", "MushroomIslandShore", "Beach", "DesertHills", "ForestHills", "TaigaHills", "Extreme Hills Edge", "Jungle", "JungleHills", "\r", "texturePack.openFolder", "texturePack.title", "texturePack.folderInfo", "[^A-Za-z0-9_]", ".zip", "__LIST__", ", Duration: ", " x ", ", Splash: true", "--#+ 0,(<", "Illegal format flags ", " for conversion ", "Unknown format conversion: ", "Can\'t format argument of ", " using ", " conversion", "(", "+", "Illegal format flags: ", "+ ", "0-", "Missing format with for specifier ", "Illegal precision: ", "Can\'t convert code point ", " to char", "0x", "Duplicate format flags: ", "window.indexedDB was null or undefined", "*(", "):", "SIZE_1", "SIZE_2", "SIZE_3", "SIZE_4", "SIZE_5", "SIZE_6", "open error", "path", "public", "protected", "private", "abstract", "static", "final", "transient", "volatile", "synchronized", "native", "strictfp", "interface", "/gui/particles.png", "inventory.binSlot", "textures/gui/container/creative_inventory/tab_", "textures/gui/container/creative_inventory/tabs.png", "tmp", "SOUTH", "WEST", "NORTH", "EAST", "disconnect.ratelimit.ipNowLocked", "disconnect.ratelimit.ipLocked", "disconnect.ratelimit.ipBlocked", "disconnect.ratelimit.ipFailedPossiblyLocked", "RateLimit.", "disconnect.disconnected", "disconnect.kicked", "text", "translate", "using", "key.mouseButton", "mount.onboard", "Unable to locate sign at ", "random.successful_hit", "Unknown itemid: ", "MC|TrList", "EAG|UserSkin", "EAG|Voice", "EAG|Reconnect", "An objective with the name \'", "\' already exists!", "Name cannot be null", "Prefix cannot be null", "Suffix cannot be null", "Player is either on another team or not on any team. Cannot remove from team \'", "\'.", "Server tried to update attributes of a non-living entity (actually: ", "TextureHolder{width=", ", height=", "transferFromImage called with a BufferedImage with dimensions (", ") larger than the Texture dimensions (", "). Ignoring.", "Failed to read animation info for ", "Slot{originX=", ", originY=", ", width=", ", texture=", ", subSlots=", "disconnect.ratelimit", "disconnect.requiresAuth", ".title", ".description0", ".description1", ".tryAgain", "gui.toMenu", "Authentication Required", "$", "This server requires a paid Minecraft account to join", "You are running Eaglercraft ", " which does not", "support Xbox Live sign-in, so this server is inaccessable", "Please contact the owner of this site to update, or", "if you want to continue playing Eaglercraft without a", "real Minecraft account then please choose to play on", "an older server that does still you to play for free", "RandomSeed", "generatorName", "generatorVersion", "generatorOptions", "GameType", "MapFeatures", "DayTime", "LastPlayed", "SizeOnDisk", "LevelName", "version", "rainTime", "raining", "thunderTime", "thundering", "hardcore", "initialized", "allowCommands", "Player", "GameRules", "fail", "websocket to ", " failed", "FAILED", "BLOCKED", "FAILED_POSSIBLY_LOCKED", "LOCKED", "NOW_LOCKED", "enchantment.", "enchantment.level.", "Duplicate enchantment id!", "oxygen", "waterWorker", "thorns", "knockback", "lootBonus", "lootBonusDigger", "digging", "untouching", "durability", "arrowDamage", "arrowKnockback", "arrowFire", "arrowInfinite", ":0", "(?i)\\u00A7[0-9A-FK-OR]", "Unknown synced attribute modifier", "Bad compressed data format", "\u0000", "Key was smaller than nothing! Weird key!", "enchantment.protect.", "fall", "projectile", "damage.thorns", "enchantment.damage.", "undead", "arthropods", "okay", "inFire", "inWall", "drown", "starve", "outOfWorld", "magic", "fallingBlock", "COMPATIBLE", "CLIENT_OUTDATED", "RELAY_OUTDATED", "common", "Common", "uncommon", "Uncommon", "rare", "Rare", "epic", "Epic", "eat", "drink", "block", "type", "blocked", "locked", "vers", "brand", "time", "long", "explosion.player", "Select Cape", "profile.capeTitle", "profile.addCape", "Player Cape", "No Cape", "Minecon 2011", "Minecon 2012", "Minecon 2013", "Minecon 2015", "Minecon 2016", "Microsoft Account", "Realms Mapmaker", "Mojang Old", "Mojang New", "Jira Moderator", "Mojang Very Old", "Scrolls", "Cobalt", "Lang Translator", "Millionth Player", "Prismarine", "Snowman", "Spade", "Birthday", "dB", "chat.link.confirm", "chat.link.confirmTrusted", "gui.yes", "gui.no", "chat.link.open", "chat.copy", "chat.link.warning", "selectWorld.progress.continue", "An error occured while \'", "... ", " remaining ...", "^(?:(https?)://)?([-\\w_\\.]{2,}\\.[a-z]{2,4})(/\\S*)?$", "> ", " <", "textures/entity/sign.png", "blockId", "blockData", "facing", "progress", "extending", "container.chest", "textures/entity/chest/trapped_double.png", "textures/entity/chest/christmas_double.png", "textures/entity/chest/normal_double.png", "textures/entity/chest/trapped.png", "textures/entity/chest/christmas.png", "textures/entity/chest/normal.png", "textures/entity/chest/ender.png", "textures/entity/enchanting_table_book.png", "textures/entity/end_portal.png", "Primary", "Secondary", "Levels", "textures/entity/beacon_beam.png", "Minecart", "EntityId", "Delay", "SpawnPotentials", "SpawnData", "MinSpawnDelay", "MaxSpawnDelay", "SpawnCount", "MaxNearbyEntities", "RequiredPlayerRange", "SpawnRange", "Properties", "Weight", "options.title", "options.video", "options.controls", "options.language", "options.multiplayer.title", "options.resourcepack", "options.difficulty.hardcore", "Video Settings", "Controls", "selectWorld.title", "selectWorld.world", "selectWorld.conversion", "gameMode.survival", "gameMode.creative", "gameMode.adventure", "folderName", "selectWorld.select", "selectWorld.create", "selectWorld.rename", "selectWorld.delete", "selectWorld.backup", "World", "selectWorld.progress.deleting", "directConnect.lanWorld", "selectWorld.deleteQuestion", "selectWorld.deleteWarning", "selectWorld.deleteButton", "options.languageWarning", "lanServer.start", "selectWorld.gameMode", "selectWorld.allowCommands", "selectWorld.gameMode.", "creative", "adventure", "commands.publish.failed", "lanServer.title", "lanServer.otherPlayers", "Wrong location! ", "icon-", "BurnTime", "CookTime", "RecordItem", "Record", "container.dispenser", "container.dropper", "BrewTime", "Command", "SuccessCount", "container.hopper", "OutputSignal", "Worker Error: ", "Recieved IPC packet with unknown \'", "\' channel", "Recieved IPC packet with null buffer", "NOT_SET", "SURVIVAL", "CREATIVE", "ADVENTURE", "gameMode.hardcore", "selectWorld.cheats", "selectWorld.create.create", "selectWorld.create.import", "selectWorld.create.vanilla", "selectWorld.create.title", "selectWorld.create.create.tooltip", "selectWorld.create.import.tooltip", "selectWorld.create.vanilla.tooltip", "selectWorld.renameButton", "selectWorld.duplicateButton", "Copy of ", "renaming", "copying", "selectWorld.progress.", "renameTitle", "duplicateTitle", "selectWorld.", "selectWorld.enterName", "selectWorld.backup.recreate", "selectWorld.backup.duplicate", "selectWorld.backup.export", "selectWorld.backup.vanilla", "selectWorld.backup.clearPlayerData", "selectWorld.backup.title", "selectWorld.backup.seed", "selectWorld.backup.recreate.tooltip", "selectWorld.backup.duplicate.tooltip", "selectWorld.backup.export.tooltip", "selectWorld.backup.vanilla.tooltip", "selectWorld.backup.clearPlayerData.tooltip", "selectWorld.progress.exporting.1", "selectWorld.progress.exporting.2", "selectWorld.backup.clearPlayerData.warning1", "selectWorld.backup.clearPlayerData.warning2", "$world$", "$player$", "directConnect.lanWorldJoin", "directConnect.lanWorldCode", "directConnect.networkSettingsNote", "directConnect.ipGrabNote", "options.videoTitle", "options.farWarning1", "options.farWarning2", "controls.title", "??? ", "options.chat.title", "ar_SA", "he_IL", "selectServer.hiddenAddress", "lanServer.scanning", "noRelay.noRelay1", "o O o", "o o O", "O o o", "noRelay.noRelay2", "Server out of date!", "Client out of date!", "(no connection)", "ms", "Polling..", "/gui/icons.png", "directConnect.prompt", "directConnect.serverJoin", "noRelay.title", "addServer.add", "addServer.hideAddress", "addServer.title", "addServer.enterName", "addServer.enterIp", "flat", "largeBiomes", "default_1_1", "doMobSpawning", "commandBlockOutput", "lanServer.pleaseWait", "noRelay.worldNotFound1", "$code$", "noRelay.worldNotFound2", "noRelay.worldNotFound3", "noRelay.worldFail", "127.0.0.1", "could not create nethandler", "Kebab", "Aztec", "Alban", "Aztec2", "Bomb", "Plant", "Wasteland", "Pool", "Courbet", "Sea", "Sunset", "Creebet", "Wanderer", "Graham", "Match", "Bust", "Stage", "Void", "SkullAndRoses", "Wither", "Fighters", "Pointer", "Pigscene", "BurningSkull", "DonkeyKong", "Error occurred: ", "selectWorld.newWorld", "selectWorld.moreWorldOptions", "selectWorld.mapFeatures", "selectWorld.bonusItems", "selectWorld.mapType", "selectWorld.customizeType", ".line1", ".line2", "generator.", "[\\./\"]", "selectWorld.enterSeed", "selectWorld.resultFolder", "selectWorld.seedInfo", "selectWorld.mapFeatures.info", "selectWorld.allowCommands.info", "selectWorld.newWorld.copyOf", "CON", "COM", "PRN", "AUX", "CLOCK$", "NUL", "COM1", "COM2", "COM3", "COM4", "COM5", "COM6", "COM7", "COM8", "COM9", "LPT1", "LPT2", "LPT3", "LPT4", "LPT5", "LPT6", "LPT7", "LPT8", "LPT9", ".epk", "selectWorld.progress.importing.", "selectWorld.importName", "Reading: \'", "networkSettings.add", "networkSettings.delete", "networkSettings.default", "networkSettings.refresh", "networkSettings.loadDefaults", "networkSettings.downloadRelay", "relay_download.zip", "addRelay.removeText1", "\' (", "networkSettings.title", "networkSettings.relayTimeout", "networkSettings.relayTimeoutChange", "Block", "texturePack.wannaDelete", "texturePack.incompatible", " - ", "addServer.SSLWarn1", "addServer.SSLWarn2", "END$", "EPK file is missing END code (END$)", "FILE", "\' is incomplete (no crc)", "] recieved handshake, client id: ", "] provided ICE servers:", "] ", "] client sent description", "] recieved server description", "] client sent ICE candidate", "] unexpected packet: IPacket00Handshake in state ", "] unexpected packet: IPacket03ICECandidate in state ", "] recieved server ICE candidate", "] client opened data channel", "] connection failed: ", "] unexpected packet: IPacket04Description in state ", "] unexpected packet: IPacket01ICEServers in state ", "] client open data channel timeout", "] client provide ICE candidate timeout", "] client provide description timeout", "\' to remote LAN world", "\' from remote LAN world", "constructor", "classObject", "$id$", "[lan:", "yyyy-MM-dd \'at\' HH:mm:ss z", "Length out of bounds: ", "Offset out of bounds: ", "Pushback buffer full", "Accept: ", "Query response could not be parsed: ", "Relay World Query Error: ", "Unexpected packet \'", "outdated client", "client outdated", "outdated server", "server outdated", "outdated relay", "server relay", ": Recieved query error code ", "container.inventory", "MC|TrSel", "textures/gui/container/villager.png", "multiplayer.downloadingTerrain", "/title/win.txt", "PLAYERNAME", "XXXXXXXX", "/title/credits.txt", "\t", " ", "[C]", "textures/gui/title/minecraft.png", "%blur%/gui/background.png", "dummy", "deathCount", "playerKillCount", "totalKillCount", "health", "Kill Task", "No Connection", "Polling...", "Outdated Relay!", "Outdated Client!", "Incompatible Relay!", "createWorld.customize.flat.title", "createWorld.customize.flat.tile", "createWorld.customize.flat.height", "createWorld.customize.flat.addLayer", " (NYI)", "createWorld.customize.flat.editLayer", "createWorld.customize.flat.removeLayer", "createWorld.customize.presets", "addRelay.add", "addRelay.primary", "addRelay.title", "addRelay.address", "addRelay.name", "networkSettings.relayTimeoutTitle", "buy", "sell", "buyB", "uses", "maxUses", ";", "=", "\\(", "village", "vines", "minecart.base", "minecart.inside", "createWorld.customize.flat.layer.top", "createWorld.customize.flat.layer", "createWorld.customize.flat.layer.bottom", "createWorld.customize.presets.title", "createWorld.customize.presets.share", "createWorld.customize.presets.list", "createWorld.customize.presets.select", "Classic Flat", "biome_1", "dungeon", "decoration", "stronghold", "mineshaft", "Tunnelers\' Dream", "Water World", "lake", "lava_lake", "Overworld", "Snowy Kingdom", "Bottomless Pit", "Redstone Ready", "", "Relay connection error: ", "Relay Socket Error: ", "UNDEFINED", "UNDEAD", "ARTHROPOD", "OK", "NOT_POSSIBLE_HERE", "NOT_POSSIBLE_NOW", "TOO_FAR_AWAY", "OTHER_PROBLEM", "NOT_SAFE", "Attribute is already registered!", "Done", "MC|AdvCdm", "advMode.setCommand", "advMode.command", "advMode.nearestPlayer", "advMode.randomPlayer", "advMode.allPlayers", "textures/gui/container/generic_54.png", "textures/gui/container/crafting_table.png", "MC|Beacon", "tile.beacon.primary", "tile.beacon.secondary", "textures/gui/container/beacon.png", "container.repair", "container.repair.cost", "container.repair.expensive", "MC|ItemName", "textures/gui/container/anvil.png", "textures/gui/container/horse.png", "textures/gui/container/dispenser.png", "textures/gui/container/hopper.png", "container.brewing", "textures/gui/container/brewing_stand.png", "textures/gui/container/enchanting_table.png", "container.furnace", "textures/gui/container/furnace.png", "STUN", "TURN", "Repair", "RepairCost", "Enchant", "this query was rate limited", "lax1dude", "", "", "Relay Query Error: ", "finished", "failed to deflate", "stream end", "file error", "stream error", "data error", "insufficient memory", "buffer error", "incompatible version", "Modifier is already applied on this attribute!", "pages", "book.signButton", "book.finalizeButton", "MC|BEdit", "MC|BSign", "book.editTitle", "book.pageIndicator", "book.finalizeWarning", "textures/gui/book.png", "blast", "largeBlast", "_far", "fireworks.", "twinkle", "twinkle_far", "textures/particle/footprint.png", "textures/entity/explosion.png", "the elder scrolls klaatu berata niktu xyzzy bless curse light darkness fire air earth water hot dry cold wet ignite snuff embiggen twist shorten stretch fiddle destroy imbue galvanize enchant free limited range of towards inside sphere cube self other ball mental physical grow shrink demon elemental spirit animal creature beast humanoid undead fresh stale ", "OW KNOWS!"]); jl_String.prototype.toString = function() { return $rt_ustr(this); }; jl_String.prototype.valueOf = jl_String.prototype.toString; jl_Object.prototype.toString = function() { return $rt_ustr(jl_Object_toString(this)); }; jl_Object.prototype.__teavm_class__ = function() { return $dbg_class(this); }; let $rt_export_main = $rt_mainStarter(nle_Client_main); $rt_export_main.javaException = $rt_javaException; let $rt_jso_marker = Symbol('jsoClass'); (() => { let c; c = nle_Client$1.prototype; c[$rt_jso_marker] = true; c.call = c.$call$exported$0; c = nlea_EaglerAdapterImpl2$3.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$4.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$5.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$6.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$7.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$8.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$9.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$10.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$11.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$12.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$13.prototype; c[$rt_jso_marker] = true; c.onTimer = c.$onTimer$exported$0; c = nleat_SelfDefence$2.prototype; c[$rt_jso_marker] = true; c.call = c.$call$exported$00; c = nleat_SelfDefence$1.prototype; c[$rt_jso_marker] = true; c.onTimer = c.$onTimer$exported$0; c = otji_JSWrapper$_clinit_$lambda$_33_0.prototype; c[$rt_jso_marker] = true; c.accept = c.$accept$exported$0; c = otji_JSWrapper$_clinit_$lambda$_33_1.prototype; c[$rt_jso_marker] = true; c.accept = c.$accept$exported$0; c = nlea_EaglerAdapterImpl2$19.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$1.prototype; c[$rt_jso_marker] = true; c.stateChanged = c.$stateChanged$exported$0; c = nlea_EaglerAdapterImpl2$asyncRequestAnimationFrame$lambda$_198_0.prototype; c[$rt_jso_marker] = true; c.onAnimationFrame = c.$onAnimationFrame$exported$0; c = nlea_EaglerAdapterImpl2$asyncRequestAnimationFrame$lambda$_198_1.prototype; c[$rt_jso_marker] = true; c.onTimer = c.$onTimer$exported$0; c = nlea_EaglerAdapterImpl2$2.prototype; c[$rt_jso_marker] = true; c.stateChanged = c.$stateChanged$exported$0; c = nlea_EaglerAdapterImpl2$14.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$15.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$immediateContinueTeaVM0$lambda$_203_1.prototype; c[$rt_jso_marker] = true; c.onTimer = c.$onTimer$exported$0; c = nlea_EaglerAdapterImpl2$30.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$28.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$29.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$27.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$25.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$26.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$23.prototype; c[$rt_jso_marker] = true; c.onSuccess = c.$onSuccess$exported$0; c = nlea_EaglerAdapterImpl2$24.prototype; c[$rt_jso_marker] = true; c.onError = c.$onError$exported$0; c = nleav_VirtualFilesystem$AsyncHandlers$1.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleav_VirtualFilesystem$AsyncHandlers$2.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleav_VirtualFilesystem$AsyncHandlers$3.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleav_VirtualFilesystem$AsyncHandlers$4.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$18.prototype; c[$rt_jso_marker] = true; c.onTimer = c.$onTimer$exported$0; c = nleav_VirtualFilesystem$AsyncHandlers$11.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleav_VirtualFilesystem$AsyncHandlers$12.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nlea_EaglerAdapterImpl2$20.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$21.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$22.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$33.prototype; c[$rt_jso_marker] = true; c.resolveStr = c.$resolveStr$exported$0; c = nlea_EaglerAdapterImpl2$32.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$WorkerBinaryPacketHandlerImpl.prototype; c[$rt_jso_marker] = true; c.onMessage = c.$onMessage$exported$0; c = nleav_VirtualFilesystem$AsyncHandlers$13.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleav_VirtualFilesystem$AsyncHandlers$14.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleav_VirtualFilesystem$AsyncHandlers$7.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleav_VirtualFilesystem$AsyncHandlers$8.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nlea_EaglerAdapterImpl2$ServerQueryImpl$1.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$ServerQueryImpl$2.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$ServerQueryImpl$3.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$ServerQueryImpl$4.prototype; c[$rt_jso_marker] = true; c.onTimer = c.$onTimer$exported$0; c = nlea_EaglerAdapterImpl2$34.prototype; c[$rt_jso_marker] = true; c.call = c.$call$exported$00; c = nlea_EaglerAdapterImpl2$35.prototype; c[$rt_jso_marker] = true; c.call = c.$call$exported$00; c = nlea_EaglerAdapterImpl2$36.prototype; c[$rt_jso_marker] = true; c.call = c.$call$exported$01; c = nlea_EaglerAdapterImpl2$37.prototype; c[$rt_jso_marker] = true; c.call = c.$call$exported$00; c = nlea_EaglerAdapterImpl2$38.prototype; c[$rt_jso_marker] = true; c.call = c.$call$exported$01; c = nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$1.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$2.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$RelayWorldsQueryImpl$3.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$RelayServerSocketImpl$1.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$RelayServerSocketImpl$2.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$RelayServerSocketImpl$3.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$RelayServerSocketImpl$4.prototype; c[$rt_jso_marker] = true; c.onTimer = c.$onTimer$exported$0; c = nlea_EaglerAdapterImpl2$RelayQueryImpl$1.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$RelayQueryImpl$2.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nlea_EaglerAdapterImpl2$RelayQueryImpl$3.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$0; c = nleav_VirtualFilesystem$AsyncHandlers$15.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleav_VirtualFilesystem$AsyncHandlers$16.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleav_VirtualFilesystem$AsyncHandlers$5.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; c = nleav_VirtualFilesystem$AsyncHandlers$6.prototype; c[$rt_jso_marker] = true; c.handleEvent = c.$handleEvent$exported$00; })(); $rt_exports.main = $rt_export_main; })); //# sourceMappingURL=../classes.js.map